From a08153a89ec03508ed964fe8ca6847942532d485 Mon Sep 17 00:00:00 2001
From: zjj <3272660260@qq.com>
Date: 星期五, 15 八月 2025 16:56:03 +0800
Subject: [PATCH] #

---
 Monitor-APP/unpackage/dist/dev/app-plus/app-view.js           |  646 ++++++++--------
 Monitor-APP/unpackage/cache/wgt/__UNI__CA903B7/app-service.js |    4 
 Monitor-APP/unpackage/dist/build/app-plus/app-view.js         |    2 
 Monitor-APP/unpackage/cache/wgt/__UNI__CA903B7/app-view.js    |    2 
 Monitor-APP/unpackage/dist/build/app-plus/app-service.js      |    4 
 Monitor-APP/unpackage/dist/dev/app-plus/app-service.js        |  559 +++++++-------
 Monitor-APP/pages/home/home.vue                               |  997 ++++++++++----------------
 7 files changed, 974 insertions(+), 1,240 deletions(-)

diff --git a/Monitor-APP/pages/home/home.vue b/Monitor-APP/pages/home/home.vue
index 1409115..e28a24d 100644
--- a/Monitor-APP/pages/home/home.vue
+++ b/Monitor-APP/pages/home/home.vue
@@ -18,54 +18,63 @@
 								<view class="box-item">
 									<text class="item-title">鏅鸿兘澶у睆鏄剧ず绯荤粺</text>
 									<text class="item-subTitle">Intelligent LargeScreen Display System</text>
-									</view>
+								</view>
 								<view class="box-item">
 									<text class="item-title">浠撳簱鏁版嵁</text>
 									<text class="item-subTitle">warehouse data</text>
-									<view class="img-box">										
+									<view class="img-box">
 										<!-- swiper 涓�浜涜鏄�
 										circular 鏄惁閲囩敤琛旀帴婊戝姩锛屽嵆鎾斁鍒版湯灏惧悗閲嶆柊鍥炲埌寮�澶�
 										vertical 婊戝姩鏂瑰悜鏄惁涓虹旱鍚� 
 										display-multiple-items 鍚屾椂鏄剧ず鐨勬粦鍧楁暟閲� -->
-										
-											<view style="width: 100%;display: flex;" v-for="(item,i) in locList" :key="i">
-												
-												<view style="display: flex; justify-content: center;align-items: center;width: 48%; font-size: 1.3vw;">鐗╂枡鐮�: {{item.matnr}}</view>
-												<view style="display: flex; justify-content: center;align-items: center;width: 48%; font-size: 1.3vw;">鏁伴噺: {{item.matnrCount}}</view>
-												
-												
-												
-											</view>
-										
-										
-										
+
+										<view style="width: 100%;display: flex;" v-for="(item,i) in locList" :key="i">
+
+											<view
+												style="display: flex; justify-content: center;align-items: center;width: 48%; font-size: 1.3vw;">
+												鐗╂枡鐮�: {{item.matnr}}</view>
+											<view
+												style="display: flex; justify-content: center;align-items: center;width: 48%; font-size: 1.3vw;">
+												鏁伴噺: {{item.matnrCount}}</view>
+
+
+
+										</view>
+
+
+
 									</view>
 								</view>
 								<view class="box-item">
 									<view class="flex-row" style="width: 100%;">
 										<!-- 宸︿晶 -->
-										<view class="flex-col" style="align-items: flex-start;justify-content: flex-start;">
+										<view class="flex-col"
+											style="align-items: flex-start;justify-content: flex-start;">
 											<text class="item-title">搴撲綅浣跨敤鐜�</text>
 											<text class="item-subTitle">EQUIPMENT USAGE THIS MONTH</text>
 										</view>
 										<!-- 鍙充晶 -->
 										<view style="margin-left: auto;">
 											<!-- 鐧惧垎姣� -->
-											<view class="flex-col" style="align-items: flex-end;justify-content: flex-end;" >
+											<view class="flex-col"
+												style="align-items: flex-end;justify-content: flex-end;">
 												<!-- style="justify-content: flex-end;position: absolute;top: 0;right: 1vw;text-align: right;" -->
 												<text class="item-title">{{baseInfo.usedPr}}%</text>
 												<!-- <text class="item-subTitle">鍚屾瘮涓婃湀 + 5%</text> -->
 											</view>
 										</view>
 									</view>
-									
-									<view class="flex-col" style="width: 100%;align-items: flex-start;position: relative;font-size: 1vw">
+
+									<view class="flex-col"
+										style="width: 100%;align-items: flex-start;position: relative;font-size: 1vw">
 										<!-- 杩涘害鏉� -->
 										<view class="flex-row" style="width: 100%;position: relative;margin-top: 5%;">
 											<view class="progressBar" style="width: 80%;height: 2vw;">
 												<view class="progress" :style="'width:'+ baseInfo.usedPr + '%'"></view>
 											</view>
-											<view style="position: absolute;bottom: 0;right: 0;font-size: 2.5vw;color: #FF5722;;">{{baseInfo.used}}</view>
+											<view
+												style="position: absolute;bottom: 0;right: 0;font-size: 2.5vw;color: #FF5722;;">
+												{{baseInfo.used}}</view>
 										</view>
 									</view>
 								</view>
@@ -81,14 +90,16 @@
 										<view class="box-item">
 											<view class="flex-row" style="width: 100%;">
 												<!-- 宸︿晶 -->
-												<view class="flex-col" style="align-items: flex-start;justify-content: flex-start;">
+												<view class="flex-col"
+													style="align-items: flex-start;justify-content: flex-start;">
 													<text class="item-title">鍏ュ嚭搴撶粺璁�</text>
 													<text class="item-subTitle">ORDER STATISTICS</text>
 												</view>
 												<!-- 鍙充晶 -->
 												<view style="margin-left: auto;">
 													<!-- 鐧惧垎姣� -->
-													<view class="flex-col" style="align-items: flex-end;justify-content: flex-end;" >
+													<view class="flex-col"
+														style="align-items: flex-end;justify-content: flex-end;">
 														<!-- style="justify-content: flex-end;position: absolute;top: 0;right: 1vw;text-align: right;" -->
 														<!-- <text class="item-title">31</text>
 														<text class="item-subTitle">浠婃棩璁㈠崟鏁�</text> -->
@@ -96,31 +107,34 @@
 												</view>
 											</view>
 											<view class="charts-box">
-												<qiun-data-charts type="line" :chartData="chartsDataLine1" :echartsH5="true" :echartsApp="true"/>
+												<qiun-data-charts type="line" :chartData="chartsDataLine1"
+													:echartsH5="true" :echartsApp="true" />
 											</view>
 										</view>
 									</y-box>
 								</view>
-								
-								
+
+
 								<!-- null -->
 								<view style="height: 2%;"></view>
-								
-								
+
+
 								<view style="height: 43%;">
 									<y-box>
 										<view class="box-item">
 											<view class="flex-row" style="width: 100%;">
 												<!-- 宸︿晶 -->
-												<view class="flex-col" style="align-items: flex-start;justify-content: flex-start;">
+												<view class="flex-col"
+													style="align-items: flex-start;justify-content: flex-start;">
 													<text class="item-title">搴撳瓨绫诲瀷</text>
 													<text class="item-subTitle">INCOME DATE</text>
 												</view>
 												<!-- 鍙充晶 -->
 												<view style="margin-left: auto;">
 													<!-- 鐧惧垎姣� -->
-													<view class="flex-col" style="align-items: flex-end;justify-content: flex-end;" >
-														<text class="item-title">浠婂ぉ</text> 
+													<view class="flex-col"
+														style="align-items: flex-end;justify-content: flex-end;">
+														<text class="item-title">浠婂ぉ</text>
 														<text class="item-subTitle">Today</text>
 													</view>
 												</view>
@@ -128,45 +142,55 @@
 											<view class="flex-row" style="width: 100%;">
 												<!-- 宸� -->
 												<view class="charts-box-ring">
-													<qiun-data-charts type="ring" :opts="{legend:{position:'bottom'}}" :eopts="ringOpts" :chartData="chartsDataPie2" :echartsH5="true" :echartsApp="true"/>
+													<qiun-data-charts type="ring" :opts="{legend:{position:'bottom'}}"
+														:eopts="ringOpts" :chartData="chartsDataPie2" :echartsH5="true"
+														:echartsApp="true" />
 												</view>
 												<!-- 鍙� -->
 												<view>
 													<view class="flex-row sub-info">
 														<image src="../../static/g1.png" mode="aspectFit"></image>
 														<view style="width: 8vw;height: 4vw;line-height: 4vw;">鍦ㄥ簱</view>
-														<view style="width: 8vw;height: 4vw;line-height: 4vw;font-size: 2vw;">{{baseInfo.stockCount}}</view>
+														<view
+															style="width: 8vw;height: 4vw;line-height: 4vw;font-size: 2vw;">
+															{{baseInfo.stockCount}}</view>
 													</view>
 													<view class="flex-row sub-info" style="margin-top: 2vh;">
 														<image src="../../static/f1.png" mode="aspectFit"></image>
 														<view style="width: 8vw;height: 4vw;line-height: 4vw;">绌哄簱</view>
-														<view style="width: 8vw;height: 4vw;line-height: 4vw;font-size: 2vw;">{{baseInfo.emptyCount}}</view>
+														<view
+															style="width: 8vw;height: 4vw;line-height: 4vw;font-size: 2vw;">
+															{{baseInfo.emptyCount}}</view>
 													</view>
 													<view class="flex-row sub-info" style="margin-top: 2vh;">
 														<image src="../../static/e1.png" mode="aspectFit"></image>
 														<view style="width: 8vw;height: 4vw;line-height: 4vw;">閿佸畾</view>
-														<view style="width: 8vw;height: 4vw;line-height: 4vw;font-size: 2vw;">{{baseInfo.noneCount}}</view>
+														<view
+															style="width: 8vw;height: 4vw;line-height: 4vw;font-size: 2vw;">
+															{{baseInfo.noneCount}}</view>
 													</view>
 												</view>
 											</view>
 										</view>
-										
+
 									</y-box>
 								</view>
 								<view style="height: 2%;"></view>
-								<view style="height: 18%;display: flex;justify-content: space-around;align-items: center;">
+								<view
+									style="height: 18%;display: flex;justify-content: space-around;align-items: center;">
 									<!-- <view style="font-size: 4vh">
 										鑷姩浠撳簱WCS鐩戞帶骞冲彴
 									</view> -->
 									<view style="height: 50%;">
-										<image style="height: 100%;" src="../../static/img/logo-bai.png" mode="aspectFit"></image>
+										<image style="height: 100%;" src="../../static/img/logo-bai.png"
+											mode="aspectFit"></image>
 									</view>
 								</view>
 							</view>
 						</view>
 					</view>
 				</view>
-				
+
 			</view>
 		</uni-transition>
 		<!-- 鍏ㄦ澘/鎷f枡淇℃伅 -->
@@ -199,24 +223,23 @@
 									circular 鏄惁閲囩敤琛旀帴婊戝姩锛屽嵆鎾斁鍒版湯灏惧悗閲嶆柊鍥炲埌寮�澶�
 									vertical 婊戝姩鏂瑰悜鏄惁涓虹旱鍚� 
 									display-multiple-items 鍚屾椂鏄剧ず鐨勬粦鍧楁暟閲� -->
-									<swiper class="swiper-body-main" vertical="true" 
-									display-multiple-items="1"
-									circular="true" :autoplay="true" :interval="3000" :duration="2000">
+									<swiper class="swiper-body-main" vertical="true" display-multiple-items="1"
+										circular="true" :autoplay="true" :interval="3000" :duration="2000">
 										<swiper-item class="swiper-item" v-for="(item,i) in swiperList" :key="i">
 											<view style="width: 100%;">{{i+1}} / {{swiperList.length}}</view>
 											<!-- <view style="width: 30%;">鏂欏彿: {{item.matnr}}</view> -->
 											<view style="width: 50%; font-size: 3vw;">鐗╂枡缂栫爜: {{item.matnr}}</view>
 											<view style="width: 50%; font-size: 3vw;">鍚嶇О: {{item.maknx}}</view>
 											<!-- <view style="width: 33%; font-size: 3vw;">鐢熶骇鏃ユ湡: {{item.manuDate}}</view> -->
-											
-											
+
+
 											<view style="width: 50%; font-size: 3vw;">瑙勬牸: {{item.specs}}</view>
 											<view style="width: 50%; font-size: 3vw;">鎵规: {{item.batch}}</view>
 											<view style="width: 50%; font-size: 3vw;">閿�鍞崟鍙�: {{item.orderNo}}</view>
 											<view style="width: 50%; font-size: 3vw;">瀹㈡埛鍚嶇О: {{item.customer}}</view>
 											<view style="width: 33%; font-size: 3vw;">鏁伴噺: {{item.count}}</view>
-											
-											
+
+
 										</swiper-item>
 									</swiper>
 								</view>
@@ -237,7 +260,7 @@
 				<view class="button-left"></view>
 				<view class="button-right"></view>
 				<!-- 涓讳綋 -->
-				<view class="info-main" >
+				<view class="info-main">
 					<view class="info-box">
 						<y-box>
 							<view class="info-box-text">
@@ -248,7 +271,7 @@
 				</view>
 			</view>
 		</uni-transition>
-		
+
 		<!-- 鑷畾涔夊脊鍑哄眰 -->
 		<view class="eject-mask" v-show="ejectShow">
 			<view class="eject">
@@ -267,7 +290,7 @@
 						<view class="input">
 							<input type="text" v-model="basePort">
 						</view>
-					</view>										
+					</view>
 					<view class="item">
 						<view class="desc">WcsUrl锛�</view>
 						<view class="input">
@@ -308,7 +331,7 @@
 			</uni-popup>
 		</view>
 		<view style="color: #FFF;position: fixed;bottom: 10px;left: 10px;" v-show="timeOut">
-			杩炴帴瓒呮椂锛屾鍦ㄩ噸鏂板缓绔嬮摼鎺�:: {{times}} 
+			杩炴帴瓒呮椂锛屾鍦ㄩ噸鏂板缓绔嬮摼鎺�:: {{times}}
 		</view>
 	</view>
 </template>
@@ -316,7 +339,9 @@
 <script>
 	import demodata from '@/mockdata/demodata.json';
 	import ycqdata from '@/pages/index/data.json';
-	import {WebSocketClient} from "@/static/js/WebSocketClient"	
+	import {
+		WebSocketClient
+	} from "@/static/js/WebSocketClient"
 	import WebSocketUtil from './uniWebSocket';
 	let socket;
 	export default {
@@ -324,7 +349,7 @@
 			return {
 				series: [],
 				homeViewShow: true,
-				infoViewShow: false	,
+				infoViewShow: false,
 				errorInfoViewShow: false,
 				homeMode: [],
 				infoMode: [],
@@ -353,7 +378,7 @@
 				},
 				duration: 300,
 				calendar: '',
-				ringOpts:{},
+				ringOpts: {},
 				chartsDataLine1: {},
 				chartsDataPie2: {},
 				fontSize: '',
@@ -383,19 +408,21 @@
 				timeOut: false,
 				times: 0,
 				currDate: '',
-				locList:[],	
-				oldHours:'',
-				oldMin:'',
+				locList: [],
+				oldHours: '',
+				oldMin: '',
 				socketClient: null,
 				messages: [],
-				version:'',
-				socketUrl:'',
+				version: '',
+				socketUrl: '',
 				msgType: 'success',
 				filename: '',
 				dialogContent: '',
-				wmsUrl:'',
-				wmsPort:''
-				
+				wmsUrl: '',
+				wmsPort: '',
+				switchDebounceTimer: null,
+				viewSwitchInProgress: false
+
 			}
 		},
 		onShow() {
@@ -442,8 +469,8 @@
 			that.uniWebSocket();
 			// that.webSockerInit()
 		},
-		onLoad() {			
-			setInterval(()=>{
+		onLoad() {
+			setInterval(() => {
 				this.getServerData()
 				// this.initlineChart()
 				// this.initPieChart()
@@ -458,169 +485,114 @@
 				this.controller()
 				// this.statisticalModel()
 				// 娴嬭瘯鐢�
-				
-			},1000)
-			
-			setInterval(()=> {	
-				setTimeout(()=>{
+
+			}, 1000)
+
+			setInterval(() => {
+				setTimeout(() => {
 					plus.runtime.restart();
-				},100)
-				
-			},1000*60*60*4)
-			
+				}, 100)
+
+			}, 1000 * 60 * 60 * 4)
+
 			// 姣忓皬鏃惰Е鍙戜竴娆″瀮鍦惧洖鏀�
 			const memoryCleanerId = setInterval(() => {
-			
+
 				if (plus.os.name.toLowerCase() === 'android') {
 					// 寮哄埗瑙﹀彂 GC
 					plus.android.importClass('java.lang.System');
 					plus.android.invoke('java.lang.System', 'gc');
 					console.log('鎵嬪姩瑙﹀彂 GC');
 				}
-			
-			
+
+
 				// 娓呯悊涓嶅啀闇�瑕佺殑澶у瀷鏁版嵁瀵硅薄
 				if (this.oldData && this.oldData.length > 100) {
 					this.oldData = [];
 				}
-			}, 3000*10); // 姣忓皬鏃舵墽琛屼竴娆�
-			
-			// setInterval(()=> {
-			// 	setTimeout(()=>{
-			// 		var time = new Date();
-			// 		var hh = time.getHours();
-			// 		var mm = time.getMinutes();
-			// 		if(hh > this.oldHours && mm >this.oldMin && this.oldMin - mm < 55){
-			// 			plus.runtime.restart();
-			// 		}
-			// 		if(mm >this.oldMin && mm - this.oldMin >2){
-			// 			plus.runtime.restart();
-			// 		}
-			// 	},100)
-				
-			// },1000*30)
+
+			}, 30000 * 10); // 姣忓皬鏃舵墽琛屼竴娆�
+
 		},
 		methods: {
-			uniWebSocket(){
+			uniWebSocket() {
 				let that = this;
-				that.commonUrl = that.baseIP + ':' +that.basePort + "/" +that.baseUrl
-				that.socketUrl = "ws://"+that.commonUrl+"/led/"+that.baseLedId
+				that.commonUrl = that.baseIP + ':' + that.basePort + "/" + that.baseUrl
+				that.socketUrl = "ws://" + that.commonUrl + "/led/" + that.baseLedId
 				// 鍒涘缓WebSocket瀹炰緥
-				    that.socketClient = new WebSocketUtil(that.socketUrl, {
-				      // 蹇冭烦闂撮殧锛岄粯璁�30绉�
-				      heartbeatInterval: 30000,
-				      // 閲嶈繛闂撮殧锛岄粯璁�3绉�
-				      reconnectInterval: 3000,
-				      // 鏈�澶ч噸杩炴鏁帮紝-1琛ㄧず鏃犻檺閲嶈繛
-				      maxReconnectAttempts: -1,				      
-				      // 娑堟伅鍥炶皟
-				      onMessage: (res) => {
-				        try {
-				          const data = JSON.parse(res.data);				          
-				          that.showDate(data)
-				          // 澶勭悊娑堟伅...
-				        } catch (e) {
-				          console.error('瑙f瀽娑堟伅澶辫触', e);
-				        }
-				      },
-				      // 杩炴帴鎵撳紑鍥炶皟
-				      onOpen: (res) => {
-						  that.timeOut = false
-						  that.times = 0
-				        console.log('WebSocket宸茶繛鎺�', res);	
-				      },
-				      // 杩炴帴閿欒鍥炶皟
-				      onError: (error) => {
-				        console.error('WebSocket閿欒', error);
-				      },
-				      // 杩炴帴鍏抽棴鍥炶皟
-				      onClose: (res) => {
-						  that.timeOut = true
-						  that.times = that.times+1
-						  that.infoType = 0
-				        console.log('WebSocket宸插叧闂�', res);
-				      },
-				      // 閲嶈繛鍥炶皟
-				      onReconnect: (info) => {
-				        console.log(`WebSocket閲嶈繛(${info.attempts}/${info.maxAttempts})`);
-				      }
-				    });
-				    
-				    // 寤虹珛杩炴帴
-				    that.socketClient.connect();
+				that.socketClient = new WebSocketUtil(that.socketUrl, {
+					// 蹇冭烦闂撮殧锛岄粯璁�30绉�
+					heartbeatInterval: 30000,
+					// 閲嶈繛闂撮殧锛岄粯璁�3绉�
+					reconnectInterval: 3000,
+					// 鏈�澶ч噸杩炴鏁帮紝-1琛ㄧず鏃犻檺閲嶈繛
+					maxReconnectAttempts: -1,
+					// 娑堟伅鍥炶皟
+					onMessage: (res) => {
+						try {
+							const data = JSON.parse(res.data);
+							that.showDate(data)
+							// 澶勭悊娑堟伅...
+						} catch (e) {
+							console.error('瑙f瀽娑堟伅澶辫触', e);
+						}
+					},
+					// 杩炴帴鎵撳紑鍥炶皟
+					onOpen: (res) => {
+						that.timeOut = false
+						that.times = 0
+						console.log('WebSocket宸茶繛鎺�', res);
+					},
+					// 杩炴帴閿欒鍥炶皟
+					onError: (error) => {
+						console.error('WebSocket閿欒', error);
+					},
+					// 杩炴帴鍏抽棴鍥炶皟
+					onClose: (res) => {
+						that.timeOut = true
+						that.times = that.times + 1
+						that.infoType = 0
+						console.log('WebSocket宸插叧闂�', res);
+					},
+					// 閲嶈繛鍥炶皟
+					onReconnect: (info) => {
+						console.log(`WebSocket閲嶈繛(${info.attempts}/${info.maxAttempts})`);
+					}
+				});
+
+				// 寤虹珛杩炴帴
+				that.socketClient.connect();
 			},
-			// 鍙戦�佹秷鎭�
-			    sendMessage(content) {
-			      const message = {
-			        type: 'chat',
-			        content: content,
-			        timestamp: Date.now()
-			      };
-			      
-			      this.socketClient.send(message)
-			        .then(() => {
-			          console.log('娑堟伅鍙戦�佹垚鍔�');
-			        })
-			        .catch(error => {
-			          console.error('娑堟伅鍙戦�佸け璐�', error);
-			        });
-			    },
-			webSockerInit(){
-				let that = this;
-				
-				if(that.baseIP === '' && that.basePort === '' && that.baseUrl ==='' ){
-					that.timeOut = true
-					that.times = that.times+1
-					that.infoType = 0
-					return ;
-				}
-				
-				that.commonUrl = that.baseIP + ':' +that.basePort + "/" +that.baseUrl
-				let socketUrl = "ws://"+that.commonUrl+"/led/"+that.baseLedId
-						// socketUrl = "ws://10.0.100.150:8080/gtctu/led/113"
-				const ws = new WebSocketClient(socketUrl);
-				ws.connect()
-				
-				console.log(ws)		
-						
-				ws.onclose(() =>{
-					
-				})
-				
-				ws.onmessage((msg)=>{
-				 that.timeOut = false
-				 let data = JSON.parse(msg.data)
-				 that.showDate(data)
-				 
-				})
-				
-			},
-			showDate(data){
+
+			showDate(data) {
 				const that = this
-				if(data.type === "default"){
+				if (data.type === "default") {
 					that.chartsData.Pie.series[0].data = data.pie
 					that.baseInfo.stockCount = data.stockCunt
 					that.baseInfo.emptyCount = data.emptyCount
-					that.baseInfo.noneCount =data.noneCount
+					that.baseInfo.noneCount = data.noneCount
 					that.baseInfo.used = data.used
 					that.baseInfo.usedPr = data.usedPr
-					
+
 					that.chartsData.Line.categories = [
-						that.getDateFormat(-11),that.getDateFormat(-10),that.getDateFormat(-9),that.getDateFormat(-8),
-						that.getDateFormat(-7),that.getDateFormat(-6),that.getDateFormat(-5),that.getDateFormat(-4),
-						that.getDateFormat(-3),that.getDateFormat(-2),that.getDateFormat(-1),that.getDateFormat(0),]
+						that.getDateFormat(-11), that.getDateFormat(-10), that.getDateFormat(-9), that.getDateFormat(-
+							8),
+						that.getDateFormat(-7), that.getDateFormat(-6), that.getDateFormat(-5), that.getDateFormat(-4),
+						that.getDateFormat(-3), that.getDateFormat(-2), that.getDateFormat(-1), that.getDateFormat(0),
+					]
 					that.chartsData.Line.series = data.rows
-					that.calendar = data.year + "骞�" + data.month + "鏈�" + data.day + "鏃� " + data.hour + ":" + data.minute + ":" + data.second + " " + data.week
+					that.calendar = data.year + "骞�" + data.month + "鏈�" + data.day + "鏃� " + data.hour + ":" + data.minute +
+						":" + data.second + " " + data.week
 					that.currDate = data.year + "/" + data.month + "/" + data.day
 					that.locList = data.inventoryData
-									that.oldHours = data.hour
-									that.oldMin = data.minute
-				}else if(data.type === "error"){
+					that.oldHours = data.hour
+					that.oldMin = data.minute
+				} else if (data.type === "error") {
 					if (data.errMsg && data.errMsg !== "") {
 						var errorInfo = data.errMsg
 						if (that.infoType == 1) {
 							that.infoType = 3
-							that.infoText.title = "鍏朵粬淇℃伅" 
+							that.infoText.title = "鍏朵粬淇℃伅"
 							// that.infoText.title = "寮傚父"
 							that.infoText.error = errorInfo
 							return
@@ -635,52 +607,52 @@
 						}
 						that.infoType = 0
 					}
-				}else if(data.type === "task"){
-									 if (data.taskList && data.taskList !== "" && data.taskList.length !=0) {
-									 	if (that.infoType == 2 || that.infoType == 3) {
-									 		return;
-									 	}
-									 	// infoType1:鍙湁鎷f枡绛変俊鎭�
-									 	that.infoType = 1
-									 	if (data.taskList[0].ioType === 101) {
-									 		that.infoText.title = '鍏ㄦ澘鍑哄簱'
-									 	} else if(data.taskList[0].ioType === 103) {
-									 		that.infoText.title = '鎷f枡鍑哄簱'
-									 	} else if(data.taskList[0].ioType === 107) {
-									 		that.infoText.title = '鐩樼偣鍑哄簱'
-									 	} else if(data.taskList[0].ioType === 1) {
-									 		that.infoText.title = '鍏ュ簱'
-									 	} else if(data.taskList[0].ioType === 10) {
-									 		that.infoText.title = '绌烘墭鍏ュ簱'
-									 	} else if(data.taskList[0].ioType === 110) {
-									 		that.infoText.title = '绌烘墭鍑哄簱'
-									 	} else if(data.taskList[0].ioType === 104) {
-									 		that.infoText.title = '骞舵澘鍑哄簱'
-									 	}else if(data.taskList[0].ioType === 54) {
-									 		that.infoText.title = '骞舵澘鍏ュ簱'
-									 	}
-									 	that.infoText.barcode = data.taskList[0].barcode
-									 	that.infoText.workNo = data.taskList[0].workNo
-									 	that.infoText.sourceLocNo = data.taskList[0].sourceLocNo
-									 	that.infoText.staNo = data.taskList[0].staNo
-									 	that.swiperList = data.taskList[0].matDtos
-									 	// that.infoText.matnr = res.data[0].matDtos[0].matnr
-									 	// that.infoText.specs = res.data[0].matDtos[0].specs
-									 	// that.infoText.maknx = res.data[0].matDtos[0].maknx
-									 	// that.infoText.count = res.data[0].matDtos[0].count
-									 } else {
-									 	if (that.infoType == 2 || that.infoType == 3) {
-									 		return;
-									 	}
-									 	that.infoType = 0
-									 }
+				} else if (data.type === "task") {
+					if (data.taskList && data.taskList !== "" && data.taskList.length != 0) {
+						if (that.infoType == 2 || that.infoType == 3) {
+							return;
+						}
+						// infoType1:鍙湁鎷f枡绛変俊鎭�
+						that.infoType = 1
+						if (data.taskList[0].ioType === 101) {
+							that.infoText.title = '鍏ㄦ澘鍑哄簱'
+						} else if (data.taskList[0].ioType === 103) {
+							that.infoText.title = '鎷f枡鍑哄簱'
+						} else if (data.taskList[0].ioType === 107) {
+							that.infoText.title = '鐩樼偣鍑哄簱'
+						} else if (data.taskList[0].ioType === 1) {
+							that.infoText.title = '鍏ュ簱'
+						} else if (data.taskList[0].ioType === 10) {
+							that.infoText.title = '绌烘墭鍏ュ簱'
+						} else if (data.taskList[0].ioType === 110) {
+							that.infoText.title = '绌烘墭鍑哄簱'
+						} else if (data.taskList[0].ioType === 104) {
+							that.infoText.title = '骞舵澘鍑哄簱'
+						} else if (data.taskList[0].ioType === 54) {
+							that.infoText.title = '骞舵澘鍏ュ簱'
+						}
+						that.infoText.barcode = data.taskList[0].barcode
+						that.infoText.workNo = data.taskList[0].workNo
+						that.infoText.sourceLocNo = data.taskList[0].sourceLocNo
+						that.infoText.staNo = data.taskList[0].staNo
+						that.swiperList = data.taskList[0].matDtos
+						// that.infoText.matnr = res.data[0].matDtos[0].matnr
+						// that.infoText.specs = res.data[0].matDtos[0].specs
+						// that.infoText.maknx = res.data[0].matDtos[0].maknx
+						// that.infoText.count = res.data[0].matDtos[0].count
+					} else {
+						if (that.infoType == 2 || that.infoType == 3) {
+							return;
+						}
+						that.infoType = 0
+					}
 				}
 			},
 			statisticalModel() {
 				let that = this
 				uni.request({
 					url: that.commonUrl + "/monitor/locDetl/pda/statisticalModel",
-					method:'GET',
+					method: 'GET',
 					success(result) {
 						var res = result.data
 						if (res.code === 200) {
@@ -690,253 +662,85 @@
 					}
 				})
 			},
+			getDateFormat(value) {
+				var date = new Date(this.currDate); // 鑾峰彇褰撳墠鏃堕棿
+				date.setDate(date.getDate() + value); // 璁剧疆澶╂暟 -1 澶�
+				var m = date.getMonth() + 1
+				var d = date.getDate()
+				var newDate = m + '-' + d
+				return newDate
+			},
 			getUrl() {
-				this.commonUrl = this.baseHttp + this.baseIP + ':' +this.basePort + "/" +this.baseUrl				
+				this.commonUrl = this.baseHttp + this.baseIP + ':' + this.basePort + "/" + this.baseUrl
 			},
 			getServerData() {
-				this.chartsDataLine1=JSON.parse(JSON.stringify(this.chartsData.Line))
-				this.chartsDataPie2=JSON.parse(JSON.stringify(this.chartsData.Pie))
-			},
-			// 鑾峰彇閿欒淇℃伅
-			getInfo2() {
-				let that = this
-				var result = ycqdata.dataInfo2
-				var	res = result.data
-				if (res.data && res.data !== "") {
-					if (that.infoType == 2 || that.infoType == 3) {
-						return;
-					}
-					// infoType1:鍙湁鎷f枡绛変俊鎭�
-					that.infoType = 1
-					if (res.data[0].ioType === 101) {
-						that.infoText.title = '鍏ㄦ澘鍑哄簱'
-					} else if(res.data[0].ioType === 103) {
-						that.infoText.title = '妫�鏂欏嚭搴�'
-					} else if(res.data[0].ioType === 107) {
-						that.infoText.title = '鐩樼偣鍑哄簱'
-					} else if(res.data[0].ioType === 1) {
-						that.infoText.title = '鍏ュ簱'
-					} else if(res.data[0].ioType === 10) {
-						that.infoText.title = '绌烘墭鍏ュ簱'
-					} else if(res.data[0].ioType === 110) {
-						that.infoText.title = '绌烘墭鍑哄簱'
-					}
-					that.infoText.barcode = res.data[0].barcode
-					that.infoText.workNo = res.data[0].workNo
-					that.infoText.sourceLocNo = res.data[0].sourceLocNo
-					that.infoText.staNo = res.data[0].staNo
-					that.swiperList = res.data[0].matDtos
-					// that.infoText.matnr = res.data[0].matDtos[0].matnr
-					// that.infoText.specs = res.data[0].matDtos[0].specs
-					// that.infoText.maknx = res.data[0].matDtos[0].maknx
-					// that.infoText.count = res.data[0].matDtos[0].count
-				} else {
-					if (that.infoType == 2 || that.infoType == 3) {
-						return;
-					}
-					that.infoType = 0
-				}
-			},
-			getError2 () {
-				let that = this
-				let result = ycqdata.dataError2
-				var	res = result.data
-				if (res.data && res.data !== "") {
-					var errorInfo = res.data
-					if (that.infoType == 1) {
-						that.infoType = 3
-						that.infoText.title = "鍏朵粬淇℃伅" 
-						// that.infoText.title = "寮傚父"
-						that.infoText.error = errorInfo
-						return
-					}
-					that.infoType = 2
-					that.infoText.title = "鍏朵粬淇℃伅"
-					// that.infoText.title = "寮傚父"
-					that.infoText.error = errorInfo
-				} else {
-					if (that.infoType == 1) {
-						return
-					}
-					that.infoType = 0
-				}
-			},
-			getInfo() {
-				let that = this
-				uni.request({
-					url: that.commonUrl + "/monitor/led",
-					method:"GET",
-					data: {ledId:that.baseLedId},
-					success(result) {
-						that.timeOut = false
-						that.times = 0
-						var	res = result.data
-						if (res.data && res.data !== "") {
-							if (that.infoType == 2 || that.infoType == 3) {
-								return;
-							}
-							// infoType1:鍙湁鎷f枡绛変俊鎭�
-							that.infoType = 1
-							if (res.data[0].ioType === 101) {
-								that.infoText.title = '鍏ㄦ澘鍑哄簱'
-							} else if(res.data[0].ioType === 103) {
-								that.infoText.title = '妫�鏂欏嚭搴�'
-							} else if(res.data[0].ioType === 107) {
-								that.infoText.title = '鐩樼偣鍑哄簱'
-							} else if(res.data[0].ioType === 1) {
-								that.infoText.title = '鍏ュ簱'
-							} else if(res.data[0].ioType === 10) {
-								that.infoText.title = '绌烘墭鍏ュ簱'
-							} else if(res.data[0].ioType === 110) {
-								that.infoText.title = '绌烘墭鍑哄簱'
-							}
-							that.infoText.barcode = res.data[0].barcode
-							that.infoText.workNo = res.data[0].workNo
-							that.infoText.sourceLocNo = res.data[0].sourceLocNo
-							that.infoText.staNo = res.data[0].staNo
-							that.swiperList = res.data[0].matDtos
-							// that.infoText.matnr = res.data[0].matDtos[0].matnr
-							// that.infoText.specs = res.data[0].matDtos[0].specs
-							// that.infoText.maknx = res.data[0].matDtos[0].maknx
-							// that.infoText.count = res.data[0].matDtos[0].count
-						} else {
-							if (that.infoType == 2 || that.infoType == 3) {
-								return;
-							}
-							that.infoType = 0
-						}
-					},
-					fail(err) {
-						that.timeOut = true
-						that.times = that.times+1
-						that.infoType = 0
-					}
-				})
-				
-			},
-			getError() {
-				let that = this
-				uni.request({
-					url: that.commonUrl + "/monitor/led/error",
-					data: {ledId:that.baseLedId},
-					method:"GET",
-					success(result) {
-						that.timeOut = false
-						that.times = 0
-						var	res = result.data
-						if (res.data && res.data !== "") {
-							var errorInfo = res.data
-							if (that.infoType == 1) {
-								that.infoType = 3
-								that.infoText.title = "鍏朵粬淇℃伅" 
-								// that.infoText.title = "寮傚父"
-								that.infoText.error = errorInfo
-								return
-							}
-							that.infoType = 2
-							that.infoText.title = "鍏朵粬淇℃伅"
-							// that.infoText.title = "寮傚父"
-							that.infoText.error = errorInfo
-						} else {
-							if (that.infoType == 1) {
-								return
-							}
-							that.infoType = 0
-						}
-					},
-					fail(err) {
-						that.timeOut = true
-						that.infoType = 0
-					}
-				})
-				
+				this.chartsDataLine1 = JSON.parse(JSON.stringify(this.chartsData.Line))
+				this.chartsDataPie2 = JSON.parse(JSON.stringify(this.chartsData.Pie))
 			},
 			// 鎺у埗鍣�
 			controller() {
-				switch(this.infoType) {
-					// 鏈変俊鎭� 浣� 娌℃湁閿欒淇℃伅
-					case 0: 
-						if (this.errorInfoViewShow) {
-							this.errorInfoViewShow = false
-							this.errorInfoMode = ['fade', 'slide-bottom']
-							setTimeout(()=>{
-								this.homeViewShow = true
-								this.homeMode = ['fade', 'slide-bottom']
-							},1000)
-						} else if (this.infoViewShow) {
-							this.infoViewShow = false
-							this.infoMode = ['fade', 'slide-bottom']
-							setTimeout(()=>{
-								this.homeViewShow = true
-								this.homeMode = ['fade', 'slide-bottom']
-							},1000)
-						} else if (this.errorInfoViewShow && this.infoViewShow) {
-							this.errorInfoViewShow = false
-							this.infoViewShow = false
-							this.infoMode = ['fade', 'slide-bottom']
-							setTimeout(()=>{
-								this.homeViewShow = true
-								this.homeMode = ['fade', 'slide-bottom']
-							},1000)
-						}
-						return;
-					case 1: 
-						if (this.homeViewShow) {
-							this.homeViewShow = false
-							this.homeMode = ['fade', 'slide-bottom']
-							setTimeout(()=>{
-								this.infoViewShow = true
-								this.infoMode = ['fade', 'slide-bottom']
-							},1000)
-						} else if (this.errorInfoViewShow) {
-							this.errorInfoViewShow = false
-							this.errorInfoMode = ['fade', 'slide-bottom']
-							setTimeout(()=>{
-								this.infoViewShow = true
-								this.infoMode = ['fade', 'slide-bottom']
-							},1000)
-						}
-						
-						return;
-						// 鏈変俊鎭� 涓� 鏈夐敊璇俊鎭�
-					case 2:
-						if (this.homeViewShow) {
-							this.homeViewShow = false
-							this.homeMode = ['fade', 'slide-bottom']
-							setTimeout(()=>{
-								this.errorInfoViewShow = true
-								this.errorInfoMode = ['fade', 'slide-bottom']
-							},1000)
-						} else if (this.infoViewShow) {
-							this.infoViewShow = false
-							this.infoMode = ['fade', 'slide-bottom']
-							setTimeout(()=>{
-								this.errorInfoViewShow = true
-								this.errorInfoMode = ['fade', 'slide-bottom']
-							},1000)
-						}
-						return;
-					// 鏈変俊鎭� 涓� 鏈夐敊璇俊鎭�
-					case 3:
-						if (this.homeViewShow) {
-							this.homeViewShow = false
-							this.homeMode = ['fade', 'slide-bottom']
-							setTimeout(()=>{
-								this.errorInfoViewShow = true
-								this.errorInfoMode = ['fade', 'slide-bottom']
-							},1000)
-						} else if (this.infoViewShow) {
-							this.infoViewShow = false
-							this.infoMode = ['fade', 'slide-bottom']
-							setTimeout(()=>{
-								this.errorInfoViewShow = true
-								this.errorInfoMode = ['fade', 'slide-bottom']
-							},1000)
-						}
-						return;
-					
+				// 闃叉姈澶勭悊锛岄伩鍏嶉绻佸垏鎹�
+				if (this.switchDebounceTimer) {
+					clearTimeout(this.switchDebounceTimer)
 				}
-				
+
+				this.switchDebounceTimer = setTimeout(() => {
+					this.performViewSwitch()
+				}, 100)
+			},
+
+			performViewSwitch() {
+				// 浣跨敤鐘舵�佹満妯″紡绠�鍖栬鍥惧垏鎹�
+				const viewStates = {
+					0: () => this.showHomeView(),
+					1: () => this.showInfoView(),
+					2: () => this.showErrorView(),
+					3: () => this.showErrorView()
+				}
+
+				const switchAction = viewStates[this.infoType]
+				if (switchAction && !this.viewSwitchInProgress) {
+					this.viewSwitchInProgress = true
+					switchAction()
+
+					// 缁熶竴鐨勫垏鎹㈠畬鎴愬鐞�
+					setTimeout(() => {
+						this.viewSwitchInProgress = false
+					}, this.duration + 100)
+				}
+			},
+
+			showHomeView() {
+				this.infoViewShow = false
+				this.errorInfoViewShow = false
+				this.infoMode = ['fade', 'slide-bottom']
+				this.errorInfoMode = ['fade', 'slide-bottom']
+				setTimeout(() => {
+					this.homeViewShow = true
+					this.homeMode = ['fade', 'slide-bottom']
+				}, this.duration)
+			},
+
+			showInfoView() {
+				this.homeViewShow = false
+				this.errorInfoViewShow = false
+				this.homeMode = ['fade', 'slide-bottom']
+				this.errorInfoMode = ['fade', 'slide-bottom']
+				setTimeout(() => {
+					this.infoViewShow = true
+					this.infoMode = ['fade', 'slide-bottom']
+				}, this.duration)
+			},
+
+			showErrorView() {
+				this.homeViewShow = false
+				this.infoViewShow = false
+				this.homeMode = ['fade', 'slide-bottom']
+				this.infoMode = ['fade', 'slide-bottom']
+				setTimeout(() => {
+					this.errorInfoViewShow = true
+					this.errorInfoMode = ['fade', 'slide-bottom']
+				}, this.duration)
 			},
 			// 涓诲睆骞�
 			handle(type) {
@@ -954,7 +758,7 @@
 				this.modeClass = type
 			},
 			// 閰嶇疆
-			ejected () {
+			ejected() {
 				this.ejectShow = true
 			},
 			// 鍙栨秷閰嶇疆
@@ -965,113 +769,13 @@
 			ejectConfirm() {
 				uni.setStorageSync('BaseIp', this.baseIP);
 				uni.setStorageSync('BaseLedId', this.baseLedId);
-				uni.setStorageSync('BasePort',this.basePort);
-				uni.setStorageSync('BaseCrnId',this.baseCrnId);
-				uni.setStorageSync('UPROJ',this.baseUrl);
-				uni.setStorageSync('wmsUrl',this.wmsUrl);
-				uni.setStorageSync('wmsPort',this.wmsPort);
+				uni.setStorageSync('BasePort', this.basePort);
+				uni.setStorageSync('BaseCrnId', this.baseCrnId);
+				uni.setStorageSync('UPROJ', this.baseUrl);
+				uni.setStorageSync('wmsUrl', this.wmsUrl);
+				uni.setStorageSync('wmsPort', this.wmsPort);
 				this.getUrl()
 				this.ejectShow = false
-			},
-			// 鏃ュ巻 鏈嶅姟鍣�
-			getDate2() {
-				let that = this
-				uni.request({
-					url: that.commonUrl + "/monitor/date",
-					method:"GET",
-					success(result) {
-						var res = result.data.data
-						
-					}
-				})
-			},
-			
-			// 鏃ュ巻
-			getDate() {
-				var dt = new Date();
-				var year,month,day,hours,minutes,seconds,weeks
-				year = dt.getFullYear();
-				month = (dt.getMonth()+1) < 10 ? '0'+ (dt.getMonth()+1) : (dt.getMonth()+1);
-				day = dt.getDate() < 10 ? '0'+dt.getDate() : dt.getDate();
-				hours = dt.getHours() < 10 ? '0' + dt.getHours() : dt.getHours();
-				minutes = dt.getMinutes() < 10 ? '0' + dt.getMinutes() : dt.getMinutes();
-				seconds = dt.getSeconds() < 10 ? '0' + dt.getSeconds() : dt.getSeconds(); 
-				weeks = dt.getDay(); 
-				switch (weeks) {
-					case 0: weeks = "鏄熸湡鏃�"; break;
-					case 1: weeks = "鏄熸湡涓�"; break;
-					case 2: weeks = "鏄熸湡浜�"; break;
-					case 3: weeks = "鏄熸湡涓�"; break;
-					case 4: weeks = "鏄熸湡鍥�"; break;
-					case 5: weeks = "鏄熸湡浜�"; break;
-					default : weeks = "鏄熸湡鍏�";
-				}
-				this.calendar = year + "骞�" + month + "鏈�" + day + "鏃� " + hours + ":" + minutes + ":" + seconds + " " + weeks
-			},
-			getDateFormat(value) {
-				var date = new Date(this.currDate);// 鑾峰彇褰撳墠鏃堕棿
-				date.setDate(date.getDate() + value);// 璁剧疆澶╂暟 -1 澶�
-				var m = date.getMonth() + 1
-				var d = date.getDate()
-				var newDate = m + '-' + d
-				return newDate
-			},
-			/*************** 鎶樼嚎鍥� *****************************************************************************************************/
-			initlineChart() {
-				let that = this
-				uni.request({
-					url: that.commonUrl + "/monitor/line/charts",
-					method:'GET',
-					success(result) {
-						var res = result.data
-						if (res.code === 200) {
-							
-						}
-					}
-				})
-			},
-			/*************** 楗煎浘 *****************************************************************************************************/
-			initPieChart() {
-				let that = this
-				uni.request({
-					url: that.commonUrl + "/monitor/loc/rep",
-					method:'GET',
-					success(result) {
-						var res = result.data
-						if (res.code === 200) {
-							that.chartsData.Pie.series[0].data = res.data.pie
-							that.baseInfo.stockCount = res.data.stockCunt
-							that.baseInfo.emptyCount = res.data.emptyCount
-							that.baseInfo.noneCount = res.data.noneCount
-							that.baseInfo.used = res.data.used
-							that.baseInfo.usedPr = res.data.usedPr
-						}
-					}
-				})
-			},
-			getOther() {
-				let that = this
-				uni.request({
-					url: that.commonUrl + "/monitor/other",
-					data: {
-						crnId: that.baseCrnId, 
-						ledId: that.baseLedId,
-					},
-					success(result) {
-						// console.log(result);
-						var res = result.data
-						if (res.code === 200) {
-							that.baseInfo.xDistance = res.data.xDistance
-							that.baseInfo.yDistance = res.data.yDistance
-							that.baseInfo.xDuration = res.data.xDuration
-							that.baseInfo.yDuration = res.data.yDuration
-						} else if (res.code === 403) {
-							
-						} else {
-							
-						}
-					}
-				})
 			},
 			//妫�娴嬪綋鍓嶅钩鍙帮紝濡傛灉鏄畨鍗撳垯鍚姩瀹夊崜鏇存柊
 			getVersion() {
@@ -1081,8 +785,8 @@
 						if (res.platform == "android") {
 							that.AndroidCheckUpdate();
 						}
-							// that.AndroidCheckUpdate();
-						
+						// that.AndroidCheckUpdate();
+
 					}
 				})
 			},
@@ -1092,9 +796,9 @@
 				plus.runtime.getProperty(plus.runtime.appid, (wgtinfo) => {
 					that.version = wgtinfo.version //瀹㈡埛绔増鏈彿
 				})
-				setTimeout(()=>{
+				setTimeout(() => {
 					that.getUpdateVersion()
-				},100)
+				}, 100)
 			},
 			// 鏍¢獙鐗堟湰
 			getUpdateVersion() {
@@ -1103,7 +807,7 @@
 				if (that.baseUrl == 'http://undefined:undefined/undefined') {
 					return
 				}
-				const wms = 'http://'+ that.baseIP + ':' +that.wmsPort + "/" +that.wmsUrl
+				const wms = 'http://' + that.baseIP + ':' + that.wmsPort + "/" + that.wmsUrl
 				console.log(wms)
 				let url = wms + '/appVersion/checkUpdate/' + that.version + '/' + type
 				uni.request({
@@ -1123,7 +827,7 @@
 								position: 'top'
 							})
 						}
-						
+
 					}
 				})
 			},
@@ -1136,7 +840,7 @@
 			},
 			downWgt() {
 				let that = this;
-				const wms = 'http://'+ that.baseIP + ':' +that.wmsPort + "/" +that.wmsUrl
+				const wms = 'http://' + that.baseIP + ':' + that.wmsPort + "/" + that.wmsUrl
 				const downloadUrl = wms + "/appVersion/downloadApp/" + that.filename
 				uni.showLoading({
 					title: '鏇存柊涓�︹��'
@@ -1172,7 +876,7 @@
 							uni.hideLoading();
 							that.showdownLine = false
 							uni.showToast({
-								title:'璇峰厛涓婁紶瀹夎鍖�',
+								title: '璇峰厛涓婁紶瀹夎鍖�',
 								icon: 'error'
 							})
 						}
@@ -1183,11 +887,11 @@
 						that.$u.toast(downloadResult.errMsg)
 					},
 					complete: com => {
-						
+
 						console.log(com)
 					}
 				});
-			
+
 				// 涓嬭浇杩涘害
 				downloadTask.onProgressUpdate(res => {
 					that.downloadNum = res.progress
@@ -1195,32 +899,35 @@
 				});
 			},
 		}
-		
+
 	}
 </script>
 
 <style>
 	/* @import url("../../static/css/common.css"); */
 	@import url("home.css");
+
 	/* 鍒� */
 	.flex-col {
 		display: flex;
 		flex-direction: column;
 	}
+
 	/* 琛� */
 	.flex-row {
 		display: flex;
 		flex-direction: row;
 	}
-	
-	.container{
+
+	.container {
 		width: 100vw;
 		min-height: 100vh;
 		background-color: #00163E;
 		color: #fff;
 		text-align: center;
-		
+
 	}
+
 	/* 涓昏鍥� */
 	.home-view {
 		width: 100vw;
@@ -1228,32 +935,37 @@
 		background-image: url(../../static/background.png);
 		background-size: 100vw 100vh;
 	}
+
 	.home-right {
 		width: 50vw;
 		height: 89vh;
 		/* background-color: cadetblue; */
 	}
+
 	.home-right-box {
 		width: 98%;
 		height: 98%;
 	}
+
 	.head {
 		width: 100vw;
 		height: 11vh;
-		font-size:4vw;
+		font-size: 4vw;
 		font-weight: 700;
 		display: flex;
 		align-items: center;
 		justify-content: center;
 		transform: scale(0.7);
 	}
+
 	.time-tools {
 		position: absolute;
 		right: 2%;
 		top: 2%;
-		font-size:1vw;
+		font-size: 1vw;
 		transform: scale(0.8);
 	}
+
 	.button-left {
 		position: absolute;
 		background-image: url(../../static/right.png);
@@ -1264,6 +976,7 @@
 		height: 8.5%;
 		transform: scaleX(-1);
 	}
+
 	.button-right {
 		position: absolute;
 		background-image: url(../../static/right.png);
@@ -1273,6 +986,7 @@
 		width: 13.5%;
 		height: 8.5%;
 	}
+
 	.img-box {
 		height: 23vw;
 		width: 100%;
@@ -1283,6 +997,7 @@
 		flex-wrap: wrap;
 		font-size: 1vw;
 	}
+
 	.item-img {
 		width: 50%;
 		margin-top: 5%;
@@ -1292,13 +1007,14 @@
 		justify-content: flex-start;
 		align-items: flex-start;
 	}
-	.distance {
-		
-	}
+
+	.distance {}
+
 	.item-img image {
 		height: 5vw;
 		width: 5vw;
 	}
+
 	.progressBar {
 		margin-top: 9%;
 		/* width: 100%; */
@@ -1306,41 +1022,47 @@
 		background-color: #233751;
 		border-radius: 5vw;
 	}
+
 	.progress {
 		/* width: 90%; */
 		height: 100%;
 		background-color: #FF5722;
 		border-radius: 5vw;
 	}
+
 	.charts-box {
-	  width: 80%;
-	  height: 24vh;
-	  margin-left: 10%;
-	} 
+		width: 80%;
+		height: 24vh;
+		margin-left: 10%;
+	}
+
 	.charts-box-ring {
 		width: 60%;
 		height: 24vh;
 		/* background-color: #00ffff; */
 	}
+
 	.sub-info {
 		font-size: 1.5vw;
 	}
+
 	.sub-info image {
 		width: 3.5vw;
 		height: 3.5vw;
 	}
-	
-	
-	
-	
+
+
+
+
 	/* 鍏辩敤 */
 	.main {
 		width: 100vw;
 		height: 88vh;
 		margin-top: 1vh;
 		display: flex;
-		
+
 	}
+
 	.mian-item {
 		width: 50%;
 		height: 100%;
@@ -1349,10 +1071,12 @@
 		align-items: center;
 		justify-content: center;
 	}
+
 	.mian-item-box {
 		width: 98%;
 		height: 98%;
 	}
+
 	.box-item {
 		width: 100%;
 		margin-top: 4%;
@@ -1361,28 +1085,32 @@
 		align-items: flex-start;
 		justify-content: flex-start;
 	}
+
 	.item-title {
-		font-size:1.5vw;
+		font-size: 1.5vw;
 		font-weight: 700;
 	}
-	.version{
+
+	.version {
 		position: absolute;
 		left: 1%;
 		top: 1%;
-		font-size:1vw;
+		font-size: 1vw;
 		transform: scale(0.8);
 	}
+
 	.item-subTitle {
-		font-size:0.5vw;
+		font-size: 0.5vw;
 		text-indent: 0em;
 	}
+
 	.item-text {
 		font-size: 1vw;
 		text-indent: 2em;
 		letter-spacing: 1px;
 		line-height: 3vh;
 	}
-	
+
 	/* 鍏ㄦ澘/鎷f枡淇℃伅 */
 	.info-view {
 		width: 100vw;
@@ -1390,6 +1118,7 @@
 		background-image: url(../../static/background.png);
 		background-size: 100vw 100vh;
 	}
+
 	.info-main {
 		width: 100vw;
 		height: 88vh;
@@ -1397,10 +1126,12 @@
 		justify-content: center;
 		align-items: center;
 	}
+
 	.info-box {
 		width: 98%;
 		height: 98%;
 	}
+
 	/* 寮傚父淇℃伅 */
 	.error-info-view {
 		width: 100vw;
@@ -1408,7 +1139,7 @@
 		background-image: url(../../static/background.png);
 		background-size: 100vw 100vh;
 	}
-	
+
 	/* 寮瑰嚭:閰嶇疆鍖哄煙 */
 	.eject-mask {
 		width: 100%;
@@ -1420,30 +1151,37 @@
 		z-index: 999;
 		display: flex;
 		align-items: center;
-		justify-content: center;	
+		justify-content: center;
 	}
-	.eject{
+
+	.eject {
 		position: relative;
 		width: 45vw;
 		height: 45vh;
 		background-color: #fff;
 		border-radius: 2rem;
 	}
+
 	.eject-title {
 		width: 100%;
 		height: 5vh;
 		line-height: 6vh;
 		font-size: 3vh;
 		font-weight: 700;
-		color: 	#606266;
+		color: #606266;
 		text-align: center;
 	}
+
 	.eject-input {
 		margin-top: 2vh;
 		height: 25vh;
+
 		/* background-color: #00163E; */
-		::-webkit-scrollbar{display:none}
+		::-webkit-scrollbar {
+			display: none
+		}
 	}
+
 	.item {
 		display: flex;
 		align-items: center;
@@ -1451,13 +1189,15 @@
 		font-size: 1.5vw;
 		color: #363636;
 	}
+
 	.desc {
 		display: inline-block;
 		width: 40%;
 		text-align: right;
 		color: #606266;
-		
+
 	}
+
 	.input {
 		display: flex;
 		align-items: center;
@@ -1469,13 +1209,15 @@
 		margin-right: 20%;
 		text-align: start;
 	}
+
 	.eject-input input {
 		width: 100%;
 		height: 3vh;
 		font-size: 1vw;
-		
-		
+
+
 	}
+
 	.eject-button {
 		display: flex;
 		align-items: center;
@@ -1486,6 +1228,7 @@
 		width: 100%;
 		border-top: 1px solid #ccc;
 	}
+
 	.button-item {
 		width: 50%;
 		height: 100%;
@@ -1494,17 +1237,25 @@
 		text-align: center;
 		color: #909399;
 	}
+
 	.button-item:last-child {
 		color: #67C23A;
-		
+
 		border-left: 1px solid #ccc;
 	}
+
 	.info-box-text {
-		width: 100%;height: 100%;
-		display: flex;flex-direction: column;align-items: center;justify-content: center;
+		width: 100%;
+		height: 100%;
+		display: flex;
+		flex-direction: column;
+		align-items: center;
+		justify-content: center;
 	}
+
 	.info-box-text-item {
-		height: 20%;font-size: 8vh;
+		height: 20%;
+		font-size: 8vh;
 		justify-content: center;
 	}
 </style>
\ No newline at end of file
diff --git a/Monitor-APP/unpackage/cache/wgt/__UNI__CA903B7/app-service.js b/Monitor-APP/unpackage/cache/wgt/__UNI__CA903B7/app-service.js
index 9d4e1c8..692a83f 100644
--- a/Monitor-APP/unpackage/cache/wgt/__UNI__CA903B7/app-service.js
+++ b/Monitor-APP/unpackage/cache/wgt/__UNI__CA903B7/app-service.js
@@ -1,2 +1,2 @@
-(this["webpackJsonp"]=this["webpackJsonp"]||[]).push([["app-service"],{"011a":function(t,e){function i(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(t.exports=i=function(){return!!e},t.exports.__esModule=!0,t.exports["default"]=t.exports)()}t.exports=i,t.exports.__esModule=!0,t.exports["default"]=t.exports},"0477":function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return a})),i.d(e,"a",(function(){}));var n=function(){var t=this.$createElement,e=this._self._c||t;return e("view",{staticClass:this._$s(0,"sc","container loading1"),attrs:{_i:0}},[e("view",{staticClass:this._$s(1,"sc","shape shape1"),attrs:{_i:1}}),e("view",{staticClass:this._$s(2,"sc","shape shape2"),attrs:{_i:2}}),e("view",{staticClass:this._$s(3,"sc","shape shape3"),attrs:{_i:3}}),e("view",{staticClass:this._$s(4,"sc","shape shape4"),attrs:{_i:4}})])},a=[]},"0671":function(t,e,i){"use strict";i.r(e);var n=i("5e84"),a=i.n(n);for(var r in n)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(r);e["default"]=a.a},"078f":function(t,e,i){"use strict";i.r(e);var n=i("c681"),a=i.n(n);for(var r in n)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(r);e["default"]=a.a},"0bdb":function(t,e,i){var n=i("d551");function a(t,e){for(var i=0;i<e.length;i++){var a=e[i];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,n(a.key),a)}}t.exports=function(t,e,i){return e&&a(t.prototype,e),i&&a(t,i),Object.defineProperty(t,"prototype",{writable:!1}),t},t.exports.__esModule=!0,t.exports["default"]=t.exports},"0c2e":function(t,e,i){t.exports=i.p+"static/e1.png"},"0ee4":function(t,e){var i;i=function(){return this}();try{i=i||new Function("return this")()}catch(n){"object"===typeof window&&(i=window)}t.exports=i},"127e":function(t,e,i){var n=i("3b2d"),a=i("9fc1")();t.exports=a;try{regeneratorRuntime=a}catch(r){"object"===("undefined"===typeof globalThis?"undefined":n(globalThis))?globalThis.regeneratorRuntime=a:Function("r","regeneratorRuntime = r")(a)}},1511:function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return a})),i.d(e,"a",(function(){}));var n=function(){var t=this.$createElement,e=this._self._c||t;return e("view",{staticClass:this._$s(0,"sc","container loading2"),attrs:{_i:0}},[e("view",{staticClass:this._$s(1,"sc","shape shape1"),attrs:{_i:1}}),e("view",{staticClass:this._$s(2,"sc","shape shape2"),attrs:{_i:2}}),e("view",{staticClass:this._$s(3,"sc","shape shape3"),attrs:{_i:3}}),e("view",{staticClass:this._$s(4,"sc","shape shape4"),attrs:{_i:4}})])},a=[]},1611:function(t,e,i){"use strict";(function(t,n){var a=i("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=a(i("3b2d")),o=(a(i("17c3")),a(i("1a14"))),s=a(i("e235"));function c(){for(var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length,i=new Array(e>1?e-1:0),n=1;n<e;n++)i[n-1]=arguments[n];for(var a in i)for(var o in i[a])i[a].hasOwnProperty(o)&&(t[o]=i[a][o]&&"object"===(0,r.default)(i[a][o])?c(Array.isArray(i[a][o])?[]:{},t[o],i[a][o]):i[a][o]);return t}function l(t){var e=t.getFullYear(),i=t.getMonth()+1,n=t.getDate();i>=1&&i<=9&&(i="0"+i),n>=0&&n<=9&&(n="0"+n);var a=e+"-"+i+"-"+n;return a}var u={name:"qiun-data-charts",mixins:[t.mixinDatacom],props:{type:{type:String,default:null},canvasId:{type:String,default:"uchartsid"},canvas2d:{type:Boolean,default:!1},background:{type:String,default:"rgba(0,0,0,0)"},animation:{type:Boolean,default:!0},chartData:{type:Object,default:function(){return{categories:[],series:[]}}},opts:{type:Object,default:function(){return{}}},eopts:{type:Object,default:function(){return{}}},loadingType:{type:Number,default:2},errorShow:{type:Boolean,default:!0},errorReload:{type:Boolean,default:!0},errorMessage:{type:String,default:null},inScrollView:{type:Boolean,default:!1},reshow:{type:Boolean,default:!1},reload:{type:Boolean,default:!1},disableScroll:{type:Boolean,default:!1},optsWatch:{type:Boolean,default:!0},onzoom:{type:Boolean,default:!1},ontap:{type:Boolean,default:!0},ontouch:{type:Boolean,default:!1},onmouse:{type:Boolean,default:!0},onmovetip:{type:Boolean,default:!1},echartsH5:{type:Boolean,default:!1},echartsApp:{type:Boolean,default:!1},tooltipShow:{type:Boolean,default:!0},tooltipFormat:{type:String,default:void 0},tooltipCustom:{type:Object,default:void 0},startDate:{type:String,default:void 0},endDate:{type:String,default:void 0},textEnum:{type:Array,default:function(){return[]}},groupEnum:{type:Array,default:function(){return[]}},pageScrollTop:{type:Number,default:0},directory:{type:String,default:"/"},tapLegend:{type:Boolean,default:!0},menus:{type:Array,default:function(){return[]}}},data:function(){return{cid:"uchartsid",inWx:!1,inAli:!1,inTt:!1,inBd:!1,inH5:!1,inApp:!1,inWin:!1,type2d:!0,disScroll:!1,openmouse:!1,pixel:1,cWidth:375,cHeight:250,showchart:!1,echarts:!1,echartsResize:{state:!1},uchartsOpts:{},echartsOpts:{},drawData:{},lastDrawTime:null}},created:function(){if(this.cid=this.canvasId,"uchartsid"==this.canvasId||""==this.canvasId){for(var t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",e=t.length,i="",n=0;n<32;n++)i+=t.charAt(Math.floor(Math.random()*e));this.cid=i}var a=uni.getSystemInfoSync();"windows"!==a.platform&&"mac"!==a.platform||(this.inWin=!0),this.type2d=!1,this.disScroll=this.disableScroll},mounted:function(){var t=this;this.inApp=!0,!0===this.echartsApp&&(this.echarts=!0,this.openmouse=!1),this.$nextTick((function(){t.beforeInit()}))},destroyed:function(){!0===this.echarts?(delete s.default.option[this.cid],delete s.default.instance[this.cid]):(delete o.default.option[this.cid],delete o.default.instance[this.cid]),uni.offWindowResize((function(){}))},watch:{chartDataProps:{handler:function(t,e){"object"===(0,r.default)(t)?JSON.stringify(t)!==JSON.stringify(e)&&(this._clearChart(),t.series&&t.series.length>0?this.beforeInit():(this.mixinDatacomLoading=!0,this.showchart=!1,this.mixinDatacomErrorMessage=null)):(this.mixinDatacomLoading=!1,this._clearChart(),this.showchart=!1,this.mixinDatacomErrorMessage="\u53c2\u6570\u9519\u8bef\uff1achartData\u6570\u636e\u7c7b\u578b\u9519\u8bef")},immediate:!1,deep:!0},localdata:{handler:function(t,e){JSON.stringify(t)!==JSON.stringify(e)&&(t.length>0?this.beforeInit():(this.mixinDatacomLoading=!0,this._clearChart(),this.showchart=!1,this.mixinDatacomErrorMessage=null))},immediate:!1,deep:!0},optsProps:{handler:function(t,e){"object"===(0,r.default)(t)?JSON.stringify(t)!==JSON.stringify(e)&&!1===this.echarts&&1==this.optsWatch&&this.checkData(this.drawData):(this.mixinDatacomLoading=!1,this._clearChart(),this.showchart=!1,this.mixinDatacomErrorMessage="\u53c2\u6570\u9519\u8bef\uff1aopts\u6570\u636e\u7c7b\u578b\u9519\u8bef")},immediate:!1,deep:!0},eoptsProps:{handler:function(t,e){"object"===(0,r.default)(t)?JSON.stringify(t)!==JSON.stringify(e)&&!0===this.echarts&&this.checkData(this.drawData):(this.mixinDatacomLoading=!1,this.showchart=!1,this.mixinDatacomErrorMessage="\u53c2\u6570\u9519\u8bef\uff1aeopts\u6570\u636e\u7c7b\u578b\u9519\u8bef")},immediate:!1,deep:!0},reshow:function(t,e){var i=this;!0===t&&!1===this.mixinDatacomLoading&&setTimeout((function(){i.mixinDatacomErrorMessage=null,i.echartsResize.state=!i.echartsResize.state,i.checkData(i.drawData)}),200)},reload:function(t,e){!0===t&&(this.showchart=!1,this.mixinDatacomErrorMessage=null,this.reloading())},mixinDatacomErrorMessage:function(t,e){t&&(this.emitMsg({name:"error",params:{type:"error",errorShow:this.errorShow,msg:t,id:this.cid}}),this.errorShow&&n("log","[\u79cb\u4e91\u56fe\u8868\u7ec4\u4ef6]"+t," at uni_modules/qiun-data-charts/components/qiun-data-charts/qiun-data-charts.vue:611"))},errorMessage:function(t,e){t&&this.errorShow&&null!==t&&"null"!==t&&""!==t?(this.showchart=!1,this.mixinDatacomLoading=!1,this.mixinDatacomErrorMessage=t):(this.showchart=!1,this.mixinDatacomErrorMessage=null,this.reloading())}},computed:{optsProps:function(){return JSON.parse(JSON.stringify(this.opts))},eoptsProps:function(){return JSON.parse(JSON.stringify(this.eopts))},chartDataProps:function(){return JSON.parse(JSON.stringify(this.chartData))}},methods:{beforeInit:function(){this.mixinDatacomErrorMessage=null,"object"===(0,r.default)(this.chartData)&&null!=this.chartData&&void 0!==this.chartData.series&&this.chartData.series.length>0?(this.drawData=c({},this.chartData),this.mixinDatacomLoading=!1,this.showchart=!0,this.checkData(this.chartData)):this.localdata.length>0?(this.mixinDatacomLoading=!1,this.showchart=!0,this.localdataInit(this.localdata)):""!==this.collection?(this.mixinDatacomLoading=!1,this.getCloudData()):this.mixinDatacomLoading=!0},localdataInit:function(t){if(this.groupEnum.length>0)for(var e=0;e<t.length;e++)for(var i=0;i<this.groupEnum.length;i++)t[e].group===this.groupEnum[i].value&&(t[e].group=this.groupEnum[i].text);if(this.textEnum.length>0)for(var n=0;n<t.length;n++)for(var a=0;a<this.textEnum.length;a++)t[n].text===this.textEnum[a].value&&(t[n].text=this.textEnum[a].text);var r=!1,u={categories:[],series:[]},h=[],d=[];if(r=!0===this.echarts?s.default.categories.includes(this.type):o.default.categories.includes(this.type),!0===r){if(this.chartData&&this.chartData.categories&&this.chartData.categories.length>0)h=this.chartData.categories;else if(this.startDate&&this.endDate){var f=new Date(this.startDate),p=new Date(this.endDate);while(f<=p)h.push(l(f)),f=f.setDate(f.getDate()+1),f=new Date(f)}else{var g={};t.map((function(t,e){void 0==t.text||g[t.text]||(h.push(t.text),g[t.text]=!0)}))}u.categories=h}var v={};if(t.map((function(t,e){void 0==t.group||v[t.group]||(d.push({name:t.group,data:[]}),v[t.group]=!0)})),0==d.length)if(d=[{name:"\u9ed8\u8ba4\u5206\u7ec4",data:[]}],!0===r)for(var m=0;m<h.length;m++){for(var x=0,y=0;y<t.length;y++)t[y].text==h[m]&&(x=t[y].value);d[0].data.push(x)}else for(var _=0;_<t.length;_++)d[0].data.push({name:t[_].text,value:t[_].value});else for(var b=0;b<d.length;b++)if(h.length>0)for(var w=0;w<h.length;w++){for(var S=0,k=0;k<t.length;k++)d[b].name==t[k].group&&t[k].text==h[w]&&(S=t[k].value);d[b].data.push(S)}else for(var C=0;C<t.length;C++)d[b].name==t[C].group&&d[b].data.push(t[C].value);u.series=d,this.drawData=c({},u),this.checkData(u)},reloading:function(){!1!==this.errorReload&&(this.showchart=!1,this.mixinDatacomErrorMessage=null,""!==this.collection?(this.mixinDatacomLoading=!1,this.onMixinDatacomPropsChange(!0)):this.beforeInit())},checkData:function(t){var e=this,i=this.cid;!0===this.echarts?(s.default.option[i]=c({},this.eopts),s.default.option[i].id=i,s.default.option[i].type=this.type):this.type&&o.default.type.includes(this.type)?(o.default.option[i]=c({},o.default[this.type],this.opts),o.default.option[i].canvasId=i):(this.mixinDatacomLoading=!1,this.showchart=!1,this.mixinDatacomErrorMessage="\u53c2\u6570\u9519\u8bef\uff1aprops\u53c2\u6570\u4e2dtype\u7c7b\u578b\u4e0d\u6b63\u786e");var n=c({},t);void 0!==n.series&&n.series.length>0&&(this.mixinDatacomErrorMessage=null,!0===this.echarts?(s.default.option[i].chartData=n,this.$nextTick((function(){e.init()}))):(o.default.option[i].categories=n.categories,o.default.option[i].series=n.series,this.$nextTick((function(){e.init()}))))},resizeHandler:function(){var t=this,e=Date.now(),i=this.lastDrawTime?this.lastDrawTime:e-3e3,n=e-i;if(!(n<1e3))uni.createSelectorQuery().in(this).select("#ChartBoxId"+this.cid).boundingClientRect((function(e){t.showchart=!0,e.width>0&&e.height>0&&(e.width===t.cWidth&&e.height===t.cHeight||t.checkData(t.drawData))})).exec()},getCloudData:function(){var t=this;1!=this.mixinDatacomLoading&&(this.mixinDatacomLoading=!0,this.mixinDatacomGet().then((function(e){t.mixinDatacomResData=e.result.data,t.localdataInit(t.mixinDatacomResData)})).catch((function(e){t.mixinDatacomLoading=!1,t.showchart=!1,t.mixinDatacomErrorMessage="\u8bf7\u6c42\u9519\u8bef\uff1a"+e})))},onMixinDatacomPropsChange:function(t,e){1==t&&""!==this.collection&&(this.showchart=!1,this.mixinDatacomErrorMessage=null,this._clearChart(),this.getCloudData())},_clearChart:function(){var t=this.cid;if(!0!==this.echarts&&o.default.option[t]&&o.default.option[t].context){var e=o.default.option[t].context;"object"!==(0,r.default)(e)||o.default.option[t].update||(e.clearRect(0,0,this.cWidth*this.pixel,this.cHeight*this.pixel),e.draw())}},init:function(){var t=this,e=this.cid;uni.createSelectorQuery().in(this).select("#ChartBoxId"+e).boundingClientRect((function(i){i.width>0&&i.height>0?(t.mixinDatacomLoading=!1,t.showchart=!0,t.lastDrawTime=Date.now(),t.cWidth=i.width,t.cHeight=i.height,!0!==t.echarts&&(o.default.option[e].background="rgba(0,0,0,0)"==t.background?"#FFFFFF":t.background,o.default.option[e].canvas2d=t.type2d,o.default.option[e].pixelRatio=t.pixel,o.default.option[e].animation=t.animation,o.default.option[e].width=i.width*t.pixel,o.default.option[e].height=i.height*t.pixel,o.default.option[e].onzoom=t.onzoom,o.default.option[e].ontap=t.ontap,o.default.option[e].ontouch=t.ontouch,o.default.option[e].onmouse=t.openmouse,o.default.option[e].onmovetip=t.onmovetip,o.default.option[e].tooltipShow=t.tooltipShow,o.default.option[e].tooltipFormat=t.tooltipFormat,o.default.option[e].tooltipCustom=t.tooltipCustom,o.default.option[e].inScrollView=t.inScrollView,o.default.option[e].lastDrawTime=t.lastDrawTime,o.default.option[e].tapLegend=t.tapLegend),t.inH5||t.inApp?1==t.echarts?(s.default.option[e].ontap=t.ontap,s.default.option[e].onmouse=t.openmouse,s.default.option[e].tooltipShow=t.tooltipShow,s.default.option[e].tooltipFormat=t.tooltipFormat,s.default.option[e].tooltipCustom=t.tooltipCustom,s.default.option[e].lastDrawTime=t.lastDrawTime,t.echartsOpts=c({},s.default.option[e])):(o.default.option[e].rotateLock=o.default.option[e].rotate,t.uchartsOpts=c({},o.default.option[e])):(o.default.option[e]=function t(e,i){for(var n in e)e.hasOwnProperty(n)&&null!==e[n]&&"object"===(0,r.default)(e[n])?t(e[n],i):"format"===n&&"string"===typeof e[n]&&(e["formatter"]=i[e[n]]?i[e[n]]:void 0);return e}(o.default.option[e],o.default.formatter),t.mixinDatacomErrorMessage=null,t.mixinDatacomLoading=!1,t.showchart=!0,t.$nextTick((function(){if(!0===t.type2d){var n=uni.createSelectorQuery().in(t);n.select("#"+e).fields({node:!0,size:!0}).exec((function(n){if(n[0]){var a=n[0].node,r=a.getContext("2d");o.default.option[e].context=r,o.default.option[e].rotateLock=o.default.option[e].rotate,o.default.instance[e]&&o.default.option[e]&&!0===o.default.option[e].update?t._updataUChart(e):(a.width=i.width*t.pixel,a.height=i.height*t.pixel,a._width=i.width*t.pixel,a._height=i.height*t.pixel,setTimeout((function(){o.default.option[e].context.restore(),o.default.option[e].context.save(),t._newChart(e)}),100))}else t.showchart=!1,t.mixinDatacomErrorMessage="\u53c2\u6570\u9519\u8bef\uff1a\u5f00\u542f2d\u6a21\u5f0f\u540e\uff0c\u672a\u83b7\u53d6\u5230dom\u8282\u70b9\uff0ccanvas-id:"+e}))}else t.inAli&&(o.default.option[e].rotateLock=o.default.option[e].rotate),o.default.option[e].context=uni.createCanvasContext(e,t),o.default.instance[e]&&o.default.option[e]&&!0===o.default.option[e].update?t._updataUChart(e):setTimeout((function(){o.default.option[e].context.restore(),o.default.option[e].context.save(),t._newChart(e)}),100)})))):(t.mixinDatacomLoading=!1,t.showchart=!1,1==t.reshow&&(t.mixinDatacomErrorMessage="\u5e03\u5c40\u9519\u8bef\uff1a\u672a\u83b7\u53d6\u5230\u7236\u5143\u7d20\u5bbd\u9ad8\u5c3a\u5bf8\uff01canvas-id:"+e))})).exec()},saveImage:function(){uni.canvasToTempFilePath({canvasId:this.cid,success:function(t){uni.saveImageToPhotosAlbum({filePath:t.tempFilePath,success:function(){uni.showToast({title:"\u4fdd\u5b58\u6210\u529f",duration:2e3})}})}},this)},getImage:function(){var t=this;if(0==this.type2d)uni.canvasToTempFilePath({canvasId:this.cid,success:function(e){t.emitMsg({name:"getImage",params:{type:"getImage",base64:e.tempFilePath}})}},this);else{var e=uni.createSelectorQuery().in(this);e.select("#"+this.cid).fields({node:!0,size:!0}).exec((function(e){if(e[0]){var i=e[0].node;t.emitMsg({name:"getImage",params:{type:"getImage",base64:i.toDataURL("image/png")}})}}))}},_error:function(t){this.mixinDatacomErrorMessage=t.detail.errMsg},emitMsg:function(t){this.$emit(t.name,t.params)},getRenderType:function(){!0===this.echarts&&!1===this.mixinDatacomLoading&&this.beforeInit()},toJSON:function(){return this}}};e.default=u}).call(this,i("861b")["uniCloud"],i("f3b9")["default"])},"17c3":function(t,e,i){"use strict";(function(t){var n=i("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=n(i("34cf")),r=n(i("3b2d")),o={version:"v2.4.4-20221102",yAxisWidth:15,xAxisHeight:22,xAxisTextPadding:3,padding:[10,10,10,10],pixelRatio:1,rotate:!1,fontSize:13,fontColor:"#666666",dataPointShape:["circle","circle","circle","circle"],color:["#1890FF","#91CB74","#FAC858","#EE6666","#73C0DE","#3CA272","#FC8452","#9A60B4","#ea7ccc"],linearColor:["#0EE2F8","#2BDCA8","#FA7D8D","#EB88E2","#2AE3A0","#0EE2F8","#EB88E2","#6773E3","#F78A85"],pieChartLinePadding:15,pieChartTextPadding:5,titleFontSize:20,subtitleFontSize:15,toolTipPadding:3,toolTipBackground:"#000000",toolTipOpacity:.7,toolTipLineHeight:20,radarLabelTextMargin:13},s=function(t){for(var e=arguments.length,i=new Array(e>1?e-1:0),n=1;n<e;n++)i[n-1]=arguments[n];if(null==t)throw new TypeError("[uCharts] Cannot convert undefined or null to object");if(!i||i.length<=0)return t;function a(t,e){for(var i in e)t[i]=t[i]&&"[object Object]"===t[i].toString()?a(t[i],e[i]):t[i]=e[i];return t}return i.forEach((function(e){t=a(t,e)})),t},c={toFixed:function(t,e){return e=e||2,this.isFloat(t)&&(t=t.toFixed(e)),t},isFloat:function(t){return t%1!==0},approximatelyEqual:function(t,e){return Math.abs(t-e)<1e-10},isSameSign:function(t,e){return Math.abs(t)===t&&Math.abs(e)===e||Math.abs(t)!==t&&Math.abs(e)!==e},isSameXCoordinateArea:function(t,e){return this.isSameSign(t.x,e.x)},isCollision:function(t,e){t.end={},t.end.x=t.start.x+t.width,t.end.y=t.start.y-t.height,e.end={},e.end.x=e.start.x+e.width,e.end.y=e.start.y-e.height;var i=e.start.x>t.end.x||e.end.x<t.start.x||e.end.y>t.start.y||e.start.y<t.end.y;return!i}};function l(t,e){var i=t.replace(/^#?([a-f\d])([a-f\d])([a-f\d])$/i,(function(t,e,i,n){return e+e+i+i+n+n})),n=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(i),a=parseInt(n[1],16),r=parseInt(n[2],16),o=parseInt(n[3],16);return"rgba("+a+","+r+","+o+","+e+")"}function u(t,e,i){if(isNaN(t))throw new Error("[uCharts] series\u6570\u636e\u9700\u4e3aNumber\u683c\u5f0f");i=i||10,e=e||"upper";var n=1;while(i<1)i*=10,n*=10;t="upper"===e?Math.ceil(t*n):Math.floor(t*n);while(t%i!==0)if("upper"===e){if(t==t+1)break;t++}else t--;return t/n}function h(t,e,i,n,a){var r=a.width-a.area[1]-a.area[3],o=i.eachSpacing*(a.chartData.xAxisData.xAxisPoints.length-1);"mount"==a.type&&a.extra&&a.extra.mount&&a.extra.mount.widthRatio&&a.extra.mount.widthRatio>1&&(a.extra.mount.widthRatio>2&&(a.extra.mount.widthRatio=2),o+=(a.extra.mount.widthRatio-1)*i.eachSpacing);var s=e;return e>=0?(s=0,t.uevent.trigger("scrollLeft"),t.scrollOption.position="left",a.xAxis.scrollPosition="left"):Math.abs(e)>=o-r?(s=r-o,t.uevent.trigger("scrollRight"),t.scrollOption.position="right",a.xAxis.scrollPosition="right"):(t.scrollOption.position=e,a.xAxis.scrollPosition=e),s}function d(t,e,i){function n(t){while(t<0)t+=2*Math.PI;while(t>2*Math.PI)t-=2*Math.PI;return t}return t=n(t),e=n(e),i=n(i),e>i&&(i+=2*Math.PI,t<e&&(t+=2*Math.PI)),t>=e&&t<=i}function f(t,e){function i(t,e){return!(!t[e-1]||!t[e+1])&&(t[e].y>=Math.max(t[e-1].y,t[e+1].y)||t[e].y<=Math.min(t[e-1].y,t[e+1].y))}function n(t,e){return!(!t[e-1]||!t[e+1])&&(t[e].x>=Math.max(t[e-1].x,t[e+1].x)||t[e].x<=Math.min(t[e-1].x,t[e+1].x))}var a=.2,r=.2,o=null,s=null,c=null,l=null;if(e<1?(o=t[0].x+(t[1].x-t[0].x)*a,s=t[0].y+(t[1].y-t[0].y)*a):(o=t[e].x+(t[e+1].x-t[e-1].x)*a,s=t[e].y+(t[e+1].y-t[e-1].y)*a),e>t.length-3){var u=t.length-1;c=t[u].x-(t[u].x-t[u-1].x)*r,l=t[u].y-(t[u].y-t[u-1].y)*r}else c=t[e+1].x-(t[e+2].x-t[e].x)*r,l=t[e+1].y-(t[e+2].y-t[e].y)*r;return i(t,e+1)&&(l=t[e+1].y),i(t,e)&&(s=t[e].y),n(t,e+1)&&(c=t[e+1].x),n(t,e)&&(o=t[e].x),(s>=Math.max(t[e].y,t[e+1].y)||s<=Math.min(t[e].y,t[e+1].y))&&(s=t[e].y),(l>=Math.max(t[e].y,t[e+1].y)||l<=Math.min(t[e].y,t[e+1].y))&&(l=t[e+1].y),(o>=Math.max(t[e].x,t[e+1].x)||o<=Math.min(t[e].x,t[e+1].x))&&(o=t[e].x),(c>=Math.max(t[e].x,t[e+1].x)||c<=Math.min(t[e].x,t[e+1].x))&&(c=t[e+1].x),{ctrA:{x:o,y:s},ctrB:{x:c,y:l}}}function p(t,e,i){return{x:i.x+t,y:i.y-e}}function g(t,e){if(e)while(c.isCollision(t,e))t.start.x>0?t.start.y--:t.start.x<0||t.start.y>0?t.start.y++:t.start.y--;return t}function v(t,e,i){for(var n=0,a=0;a<t.length;a++){var r=t[a];if(r.color||(r.color=i.color[n],n=(n+1)%i.color.length),r.linearIndex||(r.linearIndex=a),r.index||(r.index=0),r.type||(r.type=e.type),"undefined"==typeof r.show&&(r.show=!0),r.type||(r.type=e.type),r.pointShape||(r.pointShape="circle"),!r.legendShape)switch(r.type){case"line":r.legendShape="line";break;case"column":case"bar":r.legendShape="rect";break;case"area":case"mount":r.legendShape="triangle";break;default:r.legendShape="circle"}}return t}function m(t,e,i,n){var a=e||[];if("custom"==t&&0==a.length&&(a=n.linearColor),"custom"==t&&a.length<i.length)for(var r=i.length-a.length,o=0;o<r;o++)a.push(n.linearColor[(o+1)%n.linearColor.length]);return a}function x(t,e){var i=0,n=e-t;return i=n>=1e4?1e3:n>=1e3?100:n>=100?10:n>=10?5:n>=1?1:n>=.1?.1:n>=.01?.01:n>=.001?.001:n>=1e-4?1e-4:n>=1e-5?1e-5:1e-6,{minRange:u(t,"lower",i),maxRange:u(e,"upper",i)}}function y(t,e,i){var n=0;if(t=String(t),!1!==i&&void 0!==i&&i.setFontSize&&i.measureText)return i.setFontSize(e),i.measureText(t).width;t=t.split("");for(var a=0;a<t.length;a++){var r=t[a];/[a-zA-Z]/.test(r)?n+=7:/[0-9]/.test(r)?n+=5.5:/\./.test(r)?n+=2.7:/-/.test(r)?n+=3.25:/:/.test(r)?n+=2.5:/[\u4e00-\u9fa5]/.test(r)?n+=10:/\(|\)/.test(r)?n+=3.73:/\s/.test(r)?n+=2.5:/%/.test(r)?n+=8:n+=10}return n*e/10}function _(t){return t.reduce((function(t,e){return(t.data?t.data:t).concat(e.data)}),[])}function b(t,e){for(var i=new Array(e),n=0;n<i.length;n++)i[n]=0;for(var a=0;a<t.length;a++)for(n=0;n<i.length;n++)i[n]+=t[a].data[n];return t.reduce((function(t,e){return(t.data?t.data:t).concat(e.data).concat(i)}),[])}function w(t,e,i){var n,a;return t.clientX?e.rotate?(a=e.height-t.clientX*e.pix,n=(t.pageY-i.currentTarget.offsetTop-e.height/e.pix/2*(e.pix-1))*e.pix):(n=t.clientX*e.pix,a=(t.pageY-i.currentTarget.offsetTop-e.height/e.pix/2*(e.pix-1))*e.pix):e.rotate?(a=e.height-t.x*e.pix,n=t.y*e.pix):(n=t.x*e.pix,a=t.y*e.pix),{x:n,y:a}}function S(t,e,i){var n=[],a=[],r=e.constructor.toString().indexOf("Array")>-1;if(r)for(var o=O(t),s=0;s<i.length;s++)a.push(o[i[s]]);else a=t;for(var c=0;c<a.length;c++){var l=a[c],u=-1;if(u=r?e[c]:e,null!==l.data[u]&&"undefined"!==typeof l.data[u]&&l.show){var h={};h.color=l.color,h.type=l.type,h.style=l.style,h.pointShape=l.pointShape,h.disableLegend=l.disableLegend,h.name=l.name,h.show=l.show,h.data=l.formatter?l.formatter(l.data[u]):l.data[u],n.push(h)}}return n}function k(t,e,i){var n=t.map((function(t){return y(t,e,i)}));return Math.max.apply(null,n)}function C(t){for(var e=2*Math.PI/t,i=[],n=0;n<t;n++)i.push(e*n);return i.map((function(t){return-1*t+Math.PI/2}))}function T(t,e,i,n,a){var r=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{},o=e.chartData.calPoints?e.chartData.calPoints:[],s={};if(n.length>0){for(var c=[],l=0;l<n.length;l++)c.push(o[n[l]]);s=c[0][i[0]]}else for(var u=0;u<o.length;u++)if(o[u][i]){s=o[u][i];break}var h=t.map((function(t){var n=null;return e.categories&&e.categories.length>0&&(n=a[i]),{text:r.formatter?r.formatter(t,n,i,e):t.name+": "+t.data,color:t.color}})),d={x:Math.round(s.x),y:Math.round(s.y)};return{textList:h,offset:d}}function P(t,e,i,n){var a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},r=e.chartData.xAxisPoints[i]+e.chartData.eachSpacing/2,o=t.map((function(t){return{text:a.formatter?a.formatter(t,n[i],i,e):t.name+": "+t.data,color:t.color,disableLegend:!!t.disableLegend}}));o=o.filter((function(t){if(!0!==t.disableLegend)return t}));var s={x:Math.round(r),y:0};return{textList:o,offset:s}}function A(t,e,i,n,a,r){var o=i.chartData.calPoints,s=r.color.upFill,c=r.color.downFill,l=[s,s,c,s],u=[];e.map((function(e){0==n?e.data[1]-e.data[0]<0?l[1]=c:l[1]=s:(e.data[0]<t[n-1][1]&&(l[0]=c),e.data[1]<e.data[0]&&(l[1]=c),e.data[2]>t[n-1][1]&&(l[2]=s),e.data[3]<t[n-1][1]&&(l[3]=c));var i={text:"\u5f00\u76d8\uff1a"+e.data[0],color:l[0]},a={text:"\u6536\u76d8\uff1a"+e.data[1],color:l[1]},r={text:"\u6700\u4f4e\uff1a"+e.data[2],color:l[2]},o={text:"\u6700\u9ad8\uff1a"+e.data[3],color:l[3]};u.push(i,a,r,o)}));for(var h=[],d={x:0,y:0},f=0;f<o.length;f++){var p=o[f];"undefined"!==typeof p[n]&&null!==p[n]&&h.push(p[n])}return d.x=Math.round(h[0][0].x),{textList:u,offset:d}}function O(t){for(var e=[],i=0;i<t.length;i++)1==t[i].show&&e.push(t[i]);return e}function I(t,e,i){return t.x<=e.width-e.area[1]+10&&t.x>=e.area[3]-10&&t.y>=e.area[0]&&t.y<=e.height-e.area[2]}function L(t,e,i){return Math.pow(t.x-e.x,2)+Math.pow(t.y-e.y,2)<=Math.pow(i,2)}function D(t,e){var i=[],n=[];return t.forEach((function(t,a){e.connectNulls?null!==t&&n.push(t):null!==t?n.push(t):(n.length&&i.push(n),n=[])})),n.length&&i.push(n),i}function M(t,e,i,n,a){var r={angle:0,xAxisHeight:i.xAxisHeight},o=e.xAxis.fontSize*e.pix||i.fontSize,s=t.map((function(t,i){var n=e.xAxis.formatter?e.xAxis.formatter(t,i,e):t;return y(String(n),o,a)})),c=Math.max.apply(this,s);if(1==e.xAxis.rotateLabel){r.angle=e.xAxis.rotateAngle*Math.PI/180;var l=2*i.xAxisTextPadding+Math.abs(c*Math.sin(r.angle));l=l<o+2*i.xAxisTextPadding?l+2*i.xAxisTextPadding:l,1==e.enableScroll&&1==e.xAxis.scrollShow&&(l+=12*e.pix),r.xAxisHeight=l}return e.xAxis.disabled&&(r.xAxisHeight=0),r}function E(t,e,i,n){var a=s({},{type:""},e.extra.bar),o={angle:0,xAxisHeight:i.xAxisHeight};o.ranges=function(t,e,i,n){var a,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:-1;a="stack"==n?b(t,e.categories.length):_(t);var s=[];a=a.filter((function(t){return"object"===(0,r.default)(t)&&null!==t?t.constructor.toString().indexOf("Array")>-1?null!==t:null!==t.value:null!==t})),a.map((function(t){"object"===(0,r.default)(t)?t.constructor.toString().indexOf("Array")>-1?"candle"==e.type?t.map((function(t){s.push(t)})):s.push(t[0]):s.push(t.value):s.push(t)}));var c=0,l=0;if(s.length>0&&(c=Math.min.apply(this,s),l=Math.max.apply(this,s)),o>-1?("number"===typeof e.xAxis.data[o].min&&(c=Math.min(e.xAxis.data[o].min,c)),"number"===typeof e.xAxis.data[o].max&&(l=Math.max(e.xAxis.data[o].max,l))):("number"===typeof e.xAxis.min&&(c=Math.min(e.xAxis.min,c)),"number"===typeof e.xAxis.max&&(l=Math.max(e.xAxis.max,l))),c===l){var u=l||10;l+=u}for(var h=c,d=l,f=[],p=(d-h)/e.xAxis.splitNumber,g=0;g<=e.xAxis.splitNumber;g++)f.push(h+p*g);return f}(t,e,i,a.type),o.rangesFormat=o.ranges.map((function(t){return t=c.toFixed(t,2),t}));var l=o.ranges.map((function(t){return t=c.toFixed(t,2),t}));o=Object.assign(o,V(l,e,i));var u=o.eachSpacing,h=l.map((function(t){return y(t,e.xAxis.fontSize*e.pix||i.fontSize,n)})),d=Math.max.apply(this,h);return d+2*i.xAxisTextPadding>u&&(o.angle=45*Math.PI/180,o.xAxisHeight=2*i.xAxisTextPadding+d*Math.sin(o.angle)),!0===e.xAxis.disabled&&(o.xAxisHeight=0),o}function F(t,e,i,n,a){var r=arguments.length>5&&void 0!==arguments[5]?arguments[5]:1,o=a.extra.radar||{};o.max=o.max||0;for(var s=Math.max(o.max,Math.max.apply(null,_(n))),c=[],l=function(a){var o=n[a],l={};l.color=o.color,l.legendShape=o.legendShape,l.pointShape=o.pointShape,l.data=[],o.data.forEach((function(n,a){var o={};o.angle=t[a],o.proportion=n/s,o.value=n,o.position=p(i*o.proportion*r*Math.cos(o.angle),i*o.proportion*r*Math.sin(o.angle),e),l.data.push(o)})),c.push(l)},u=0;u<n.length;u++)l(u);return c}function $(t,e){for(var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,n=0,a=0,r=0;r<t.length;r++){var o=t[r];o.data=null===o.data?0:o.data,n+=o.data}for(var s=0;s<t.length;s++){var c=t[s];c.data=null===c.data?0:c.data,c._proportion_=0===n?1/t.length*i:c.data/n*i,c._radius_=e}for(var l=0;l<t.length;l++){var u=t[l];u._start_=a,a+=2*u._proportion_*Math.PI}return t}function N(t,e,i,n){for(var a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,r=0;r<t.length;r++)"funnel"==i.type?t[r].radius=t[r].data/t[0].data*e*a:t[r].radius=n*(t.length-r)/(n*t.length)*e*a,t[r]._proportion_=t[r].data/t[0].data;return t}function R(t,e,i,n){for(var a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,r=0,o=0,s=[],c=0;c<t.length;c++){var l=t[c];l.data=null===l.data?0:l.data,r+=l.data,s.push(l.data)}for(var u=Math.min.apply(null,s),h=Math.max.apply(null,s),d=n-i,f=0;f<t.length;f++){var p=t[f];p.data=null===p.data?0:p.data,0===r?(p._proportion_=1/t.length*a,p._rose_proportion_=1/t.length*a):(p._proportion_=p.data/r*a,p._rose_proportion_="area"==e?1/t.length*a:p.data/r*a),p._radius_=i+d*((p.data-u)/(h-u))||n}for(var g=0;g<t.length;g++){var v=t[g];v._start_=o,o+=2*v._rose_proportion_*Math.PI}return t}function j(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;1==i&&(i=.999999);for(var n=0;n<t.length;n++){var a=t[n];a.data=null===a.data?0:a.data;var r=void 0;r="circle"==e.type?2:"ccw"==e.direction?e.startAngle<e.endAngle?2+e.startAngle-e.endAngle:e.startAngle-e.endAngle:e.endAngle<e.startAngle?2+e.endAngle-e.startAngle:e.startAngle-e.endAngle,a._proportion_=r*a.data*i+e.startAngle,"ccw"==e.direction&&(a._proportion_=e.startAngle-r*a.data*i),a._proportion_>=2&&(a._proportion_=a._proportion_%2)}return t}function U(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;1==i&&(i=.999999);for(var n=0;n<t.length;n++){var a=t[n];a.data=null===a.data?0:a.data;var r=void 0;r="circle"==e.type?2:e.endAngle<e.startAngle?2+e.endAngle-e.startAngle:e.startAngle-e.endAngle,a._proportion_=r*a.data*i+e.startAngle,a._proportion_>=2&&(a._proportion_=a._proportion_%2)}return t}function B(t,e,i){for(var n=e-i+1,a=e,r=0;r<t.length;r++)t[r].value=null===t[r].value?0:t[r].value,t[r]._startAngle_=a,t[r]._endAngle_=n*t[r].value+e,t[r]._endAngle_>=2&&(t[r]._endAngle_=t[r]._endAngle_%2),a=t[r]._endAngle_;return t}function z(t,e,i){for(var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1,a=0;a<t.length;a++){var r=t[a];if(r.data=null===r.data?0:r.data,"auto"==i.pointer.color){for(var o=0;o<e.length;o++)if(r.data<=e[o].value){r.color=e[o].color;break}}else r.color=i.pointer.color;var s=i.startAngle-i.endAngle+1;r._endAngle_=s*r.data+i.startAngle,r._oldAngle_=i.oldAngle,i.oldAngle<i.endAngle&&(r._oldAngle_+=2),r.data>=i.oldData?r._proportion_=(r._endAngle_-r._oldAngle_)*n+i.oldAngle:r._proportion_=r._oldAngle_-(r._oldAngle_-r._endAngle_)*n,r._proportion_>=2&&(r._proportion_=r._proportion_%2)}return t}function W(t,e,i,n,a,r){return t.map((function(t){if(null===t)return null;var a=0,o=0;return"mix"==r.type?(a=r.extra.mix.column.seriesGap*r.pix||0,o=r.extra.mix.column.categoryGap*r.pix||0):(a=r.extra.column.seriesGap*r.pix||0,o=r.extra.column.categoryGap*r.pix||0),a=Math.min(a,e/i),o=Math.min(o,e/i),t.width=Math.ceil((e-2*o-a*(i-1))/i),r.extra.mix&&r.extra.mix.column.width&&+r.extra.mix.column.width>0&&(t.width=Math.min(t.width,+r.extra.mix.column.width*r.pix)),r.extra.column&&r.extra.column.width&&+r.extra.column.width>0&&(t.width=Math.min(t.width,+r.extra.column.width*r.pix)),t.width<=0&&(t.width=1),t.x+=(n+.5-i/2)*(t.width+a),t}))}function q(t,e,i,n,a,r){return t.map((function(t){if(null===t)return null;var a=0,o=0;return a=r.extra.bar.seriesGap*r.pix||0,o=r.extra.bar.categoryGap*r.pix||0,a=Math.min(a,e/i),o=Math.min(o,e/i),t.width=Math.ceil((e-2*o-a*(i-1))/i),r.extra.bar&&r.extra.bar.width&&+r.extra.bar.width>0&&(t.width=Math.min(t.width,+r.extra.bar.width*r.pix)),t.width<=0&&(t.width=1),t.y+=(n+.5-i/2)*(t.width+a),t}))}function H(t,e,i,n,a,r,o){var s=r.extra.column.categoryGap*r.pix||0;return t.map((function(t){return null===t?null:(t.width=e-2*s,r.extra.column&&r.extra.column.width&&+r.extra.column.width>0&&(t.width=Math.min(t.width,+r.extra.column.width*r.pix)),n>0&&(t.width-=o),t)}))}function G(t,e,i,n,a,r,o){var s=r.extra.column.categoryGap*r.pix||0;return t.map((function(t,i){return null===t?null:(t.width=Math.ceil(e-2*s),r.extra.column&&r.extra.column.width&&+r.extra.column.width>0&&(t.width=Math.min(t.width,+r.extra.column.width*r.pix)),t.width<=0&&(t.width=1),t)}))}function J(t,e,i,n,a,r,o){var s=r.extra.bar.categoryGap*r.pix||0;return t.map((function(t,i){return null===t?null:(t.width=Math.ceil(e-2*s),r.extra.bar&&r.extra.bar.width&&+r.extra.bar.width>0&&(t.width=Math.min(t.width,+r.extra.bar.width*r.pix)),t.width<=0&&(t.width=1),t)}))}function V(t,e,i){var n=e.width-e.area[1]-e.area[3],a=e.enableScroll?Math.min(e.xAxis.itemCount,t.length):t.length;("line"==e.type||"area"==e.type||"scatter"==e.type||"bubble"==e.type||"bar"==e.type)&&a>1&&"justify"==e.xAxis.boundaryGap&&(a-=1);var r=0;"mount"==e.type&&e.extra&&e.extra.mount&&e.extra.mount.widthRatio&&e.extra.mount.widthRatio>1&&(e.extra.mount.widthRatio>2&&(e.extra.mount.widthRatio=2),r=e.extra.mount.widthRatio-1,a+=r);var o=n/a,s=[],c=e.area[3],l=e.width-e.area[1];return t.forEach((function(t,e){s.push(c+r/2*o+e*o)})),"justify"!==e.xAxis.boundaryGap&&(!0===e.enableScroll?s.push(c+r*o+t.length*o):s.push(l)),{xAxisPoints:s,startX:c,endX:l,eachSpacing:o}}function K(t,e,i,n,a,r,o){var s=arguments.length>7&&void 0!==arguments[7]?arguments[7]:1,c=[],l=r.height-r.area[0]-r.area[2];return t.forEach((function(t,o){if(null===t)c.push(null);else{var u=[];t.forEach((function(t,c){var h={};h.x=n[o]+Math.round(a/2);var d=t.value||t,f=l*(d-e)/(i-e);f*=s,h.y=r.height-Math.round(f)-r.area[2],u.push(h)})),c.push(u)}})),c}function X(t,e,i,n,a,o,s){var c=arguments.length>7&&void 0!==arguments[7]?arguments[7]:1,l="center";"line"!=o.type&&"area"!=o.type&&"scatter"!=o.type&&"bubble"!=o.type||(l=o.xAxis.boundaryGap);var u=[],h=o.height-o.area[0]-o.area[2],d=o.width-o.area[1]-o.area[3];return t.forEach((function(t,s){if(null===t)u.push(null);else{var f={};f.color=t.color,f.x=n[s];var p,g,v,m=t;if("object"===(0,r.default)(t)&&null!==t)if(t.constructor.toString().indexOf("Array")>-1)p=[].concat(o.chartData.xAxisData.ranges),g=p.shift(),v=p.pop(),m=t[1],f.x=o.area[3]+d*(t[0]-g)/(v-g),"bubble"==o.type&&(f.r=t[2],f.t=t[3]);else m=t.value;"center"==l&&(f.x+=a/2);var x=h*(m-e)/(i-e);x*=c,f.y=o.height-x-o.area[2],u.push(f)}})),u}function Y(t,e,i,n,a,r,o){var s=arguments.length>7&&void 0!==arguments[7]?arguments[7]:1,c=[],l=r.height-r.area[0]-r.area[2],u=(r.width,r.area[1],r.area[3],a*o.widthRatio);return t.forEach((function(t,o){if(null===t)c.push(null);else{var h={};h.color=t.color,h.x=n[o],h.x+=a/2;var d=t.data,f=l*(d-e)/(i-e);f*=s,h.y=r.height-f-r.area[2],h.value=d,h.width=u,c.push(h)}})),c}function Q(t,e,i,n,a,o,s){var c=arguments.length>7&&void 0!==arguments[7]?arguments[7]:1,l=[],u=(o.height,o.area[0],o.area[2],o.width-o.area[1]-o.area[3]);return t.forEach((function(t,a){if(null===t)l.push(null);else{var s={};s.color=t.color,s.y=n[a];var h=t;"object"===(0,r.default)(t)&&null!==t&&(h=t.value);var d=u*(h-e)/(i-e);d*=c,s.height=d,s.value=h,s.x=d+o.area[3],l.push(s)}})),l}function Z(t,e,i,n,a,o,s,c,l){var u=arguments.length>9&&void 0!==arguments[9]?arguments[9]:1,h=[],d=o.height-o.area[0]-o.area[2];return t.forEach((function(t,s){if(null===t)h.push(null);else{var f={};if(f.color=t.color,f.x=n[s]+Math.round(a/2),c>0){for(var p=0,g=0;g<=c;g++)p+=l[g].data[s];var v=p-t,m=d*(p-e)/(i-e),x=d*(v-e)/(i-e)}else{p=t;"object"===(0,r.default)(t)&&null!==t&&(p=t.value);m=d*(p-e)/(i-e),x=0}var y=x;m*=u,y*=u,f.y=o.height-Math.round(m)-o.area[2],f.y0=o.height-Math.round(y)-o.area[2],h.push(f)}})),h}function tt(t,e,i,n,a,o,s,c,l){var u=arguments.length>9&&void 0!==arguments[9]?arguments[9]:1,h=[],d=o.width-o.area[1]-o.area[3];return t.forEach((function(t,a){if(null===t)h.push(null);else{var s={};if(s.color=t.color,s.y=n[a],c>0){for(var f=0,p=0;p<=c;p++)f+=l[p].data[a];var g=f-t,v=d*(f-e)/(i-e),m=d*(g-e)/(i-e)}else{f=t;"object"===(0,r.default)(t)&&null!==t&&(f=t.value);v=d*(f-e)/(i-e),m=0}var x=m;v*=u,x*=u,s.height=v-x,s.x=o.area[3]+v,s.x0=o.area[3]+x,h.push(s)}})),h}function et(t,e,i,n,a){var o;o="stack"==n?b(t,e.categories.length):_(t);var s=[];o=o.filter((function(t){return"object"===(0,r.default)(t)&&null!==t?t.constructor.toString().indexOf("Array")>-1?null!==t:null!==t.value:null!==t})),o.map((function(t){"object"===(0,r.default)(t)?t.constructor.toString().indexOf("Array")>-1?"candle"==e.type?t.map((function(t){s.push(t)})):s.push(t[1]):s.push(t.value):s.push(t)}));var c=a.min||0,l=a.max||0;s.length>0&&(c=Math.min.apply(this,s),l=Math.max.apply(this,s)),c===l&&(0==l?l=10:c=0);for(var u=x(c,l),h=void 0===a.min||null===a.min?u.minRange:a.min,d=void 0===a.max||null===a.max?u.maxRange:a.max,f=(d-h)/e.yAxis.splitNumber,p=[],g=0;g<=e.yAxis.splitNumber;g++)p.push(h+f*g);return p.reverse()}function it(t,e,i,n){var a=s({},{type:""},e.extra.column),r=e.yAxis.data.length,o=new Array(r);if(r>0){for(var l=0;l<r;l++){o[l]=[];for(var u=0;u<t.length;u++)t[u].index==l&&o[l].push(t[u])}for(var h=new Array(r),d=new Array(r),f=new Array(r),p=function(t){var r=e.yAxis.data[t];1==e.yAxis.disabled&&(r.disabled=!0),"categories"===r.type?(r.formatter||(r.formatter=function(t,e,i){return t+(r.unit||"")}),r.categories=r.categories||e.categories,h[t]=r.categories):(r.formatter||(r.formatter=function(t,e,i){return c.toFixed(t,r.tofix||0)+(r.unit||"")}),h[t]=et(o[t],e,i,a.type,r,t));var s=r.fontSize*e.pix||i.fontSize;f[t]={position:r.position?r.position:"left",width:0},d[t]=h[t].map((function(i,a){return i=r.formatter(i,a,e),f[t].width=Math.max(f[t].width,y(i,s,n)+5),i}));var l=r.calibration?4*e.pix:0;f[t].width+=l+3*e.pix,!0===r.disabled&&(f[t].width=0)},g=0;g<r;g++)p(g)}else{h=new Array(1),d=new Array(1),f=new Array(1);"bar"===e.type?h[0]=e.categories:h[0]=et(t,e,i,a.type,{}),f[0]={position:"left",width:0},!0===e.yAxis.disabled?(f[0]={position:"left",width:0},e.yAxis.data[0]={disabled:!0}):(e.yAxis.data[0]={disabled:!1,position:"left",max:e.yAxis.max,min:e.yAxis.min,formatter:function(t,e,i){return t}},"bar"===e.type&&(e.yAxis.data[0].categories=e.categories,e.yAxis.data[0].type="categories"));var v=e.yAxis.fontSize*e.pix||i.fontSize;d[0]=h[0].map((function(t,i){return t=e.yAxis.data[0].formatter(t,i,e),f[0].width=Math.max(f[0].width,y(t,v,n)+5),t})),f[0].width+=3*e.pix}return{rangesFormat:d,ranges:h,yAxisWidth:f}}function nt(t,e){!0!==e.rotateLock?(t.translate(e.height,0),t.rotate(90*Math.PI/180)):!0!==e._rotate_&&(t.translate(e.height,0),t.rotate(90*Math.PI/180),e._rotate_=!0)}function at(t,e,i,n,a){if(n.beginPath(),"hollow"==a.dataPointShapeType?(n.setStrokeStyle(e),n.setFillStyle(a.background),n.setLineWidth(2*a.pix)):(n.setStrokeStyle("#ffffff"),n.setFillStyle(e),n.setLineWidth(1*a.pix)),"diamond"===i)t.forEach((function(t,e){null!==t&&(n.moveTo(t.x,t.y-4.5),n.lineTo(t.x-4.5,t.y),n.lineTo(t.x,t.y+4.5),n.lineTo(t.x+4.5,t.y),n.lineTo(t.x,t.y-4.5))}));else if("circle"===i)t.forEach((function(t,e){null!==t&&(n.moveTo(t.x+2.5*a.pix,t.y),n.arc(t.x,t.y,3*a.pix,0,2*Math.PI,!1))}));else if("square"===i)t.forEach((function(t,e){null!==t&&(n.moveTo(t.x-3.5,t.y-3.5),n.rect(t.x-3.5,t.y-3.5,7,7))}));else if("triangle"===i)t.forEach((function(t,e){null!==t&&(n.moveTo(t.x,t.y-4.5),n.lineTo(t.x-4.5,t.y+4.5),n.lineTo(t.x+4.5,t.y+4.5),n.lineTo(t.x,t.y-4.5))}));else if("none"===i)return;n.closePath(),n.fill(),n.stroke()}function rt(t,e,i,n){var a=t.title.fontSize||e.titleFontSize,r=t.subtitle.fontSize||e.subtitleFontSize,o=t.title.name||"",s=t.subtitle.name||"",c=t.title.color||t.fontColor,l=t.subtitle.color||t.fontColor,u=o?a:0,h=s?r:0;if(s){var d=y(s,r*t.pix,i),f=n.x-d/2+(t.subtitle.offsetX||0)*t.pix,p=n.y+r*t.pix/2+(t.subtitle.offsetY||0)*t.pix;o&&(p+=(u*t.pix+5)/2),i.beginPath(),i.setFontSize(r*t.pix),i.setFillStyle(l),i.fillText(s,f,p),i.closePath(),i.stroke()}if(o){var g=y(o,a*t.pix,i),v=n.x-g/2+(t.title.offsetX||0),m=n.y+a*t.pix/2+(t.title.offsetY||0)*t.pix;s&&(m-=(h*t.pix+5)/2),i.beginPath(),i.setFontSize(a*t.pix),i.setFillStyle(c),i.fillText(o,v,m),i.closePath(),i.stroke()}}function ot(t,e,i,n,a){var o=e.data,s=e.textOffset?e.textOffset:0;t.forEach((function(t,c){if(null!==t){n.beginPath();var l=e.textSize?e.textSize*a.pix:i.fontSize;n.setFontSize(l),n.setFillStyle(e.textColor||a.fontColor);var u=o[c];"object"===(0,r.default)(o[c])&&null!==o[c]&&(u=o[c].constructor.toString().indexOf("Array")>-1?o[c][1]:o[c].value);var h=e.formatter?e.formatter(u,c,e,a):u;n.setTextAlign("center"),n.fillText(String(h),t.x,t.y-4+s*a.pix),n.closePath(),n.stroke(),n.setTextAlign("left")}}))}function st(t,e,i,n,a){e.data;var r=e.textOffset?e.textOffset:0;t.forEach((function(t,o){if(null!==t){n.beginPath();var s=e[o].textSize?e[o].textSize*a.pix:i.fontSize;n.setFontSize(s),n.setFillStyle(e[o].textColor||a.fontColor);var c=t.value,l=e[o].formatter?e[o].formatter(c,o,e,a):c;n.setTextAlign("center"),n.fillText(String(l),t.x,t.y-4+r*a.pix),n.closePath(),n.stroke(),n.setTextAlign("left")}}))}function ct(t,e,i,n,a){var o=e.data;e.textOffset&&e.textOffset;t.forEach((function(t,s){if(null!==t){n.beginPath();var c=e.textSize?e.textSize*a.pix:i.fontSize;n.setFontSize(c),n.setFillStyle(e.textColor||a.fontColor);var l=o[s];"object"===(0,r.default)(o[s])&&null!==o[s]&&(l=o[s].value);var u=e.formatter?e.formatter(l,s,e,a):l;n.setTextAlign("left"),n.fillText(String(u),t.x+4*a.pix,t.y+c/2-3),n.closePath(),n.stroke()}}))}function lt(t,e,i,n,a,r){e-=t.width/2+t.labelOffset*n.pix,e=e<10?10:e;for(var o=t.startAngle-t.endAngle+1,s=o/t.splitLine.splitNumber,c=t.endNumber-t.startNumber,l=c/t.splitLine.splitNumber,u=t.startAngle,h=t.startNumber,d=0;d<t.splitLine.splitNumber+1;d++){var f={x:e*Math.cos(u*Math.PI),y:e*Math.sin(u*Math.PI)},p=t.formatter?t.formatter(h,d,n):h;f.x+=i.x-y(p,a.fontSize,r)/2,f.y+=i.y;var g=f.x,v=f.y;r.beginPath(),r.setFontSize(a.fontSize),r.setFillStyle(t.labelColor||n.fontColor),r.fillText(p,g,v+a.fontSize/2),r.closePath(),r.stroke(),u+=s,u>=2&&(u%=2),h+=l}}function ut(t,e,i,n,a,r){var o=n.extra.radar||{};t.forEach((function(t,s){if(!0===o.labelPointShow&&""!==n.categories[s]){var l={x:e*Math.cos(t),y:e*Math.sin(t)},u=p(l.x,l.y,i);r.setFillStyle(o.labelPointColor),r.beginPath(),r.arc(u.x,u.y,o.labelPointRadius*n.pix,0,2*Math.PI,!1),r.closePath(),r.fill()}var h={x:(e+a.radarLabelTextMargin*n.pix)*Math.cos(t),y:(e+a.radarLabelTextMargin*n.pix)*Math.sin(t)},d=p(h.x,h.y,i),f=d.x,g=d.y;c.approximatelyEqual(h.x,0)?f-=y(n.categories[s]||"",a.fontSize,r)/2:h.x<0&&(f-=y(n.categories[s]||"",a.fontSize,r)),r.beginPath(),r.setFontSize(a.fontSize),r.setFillStyle(o.labelColor||n.fontColor),r.fillText(n.categories[s]||"",f,g+a.fontSize/2),r.closePath(),r.stroke()}))}function ht(t,e,i,n,a,r){for(var o=i.pieChartLinePadding,s=[],l=null,u=t.map((function(i,n){var a=i.formatter?i.formatter(i,n,t,e):c.toFixed(100*i._proportion_.toFixed(4))+"%";a=i.labelText?i.labelText:a;var r=2*Math.PI-(i._start_+2*Math.PI*i._proportion_/2);i._rose_proportion_&&(r=2*Math.PI-(i._start_+2*Math.PI*i._rose_proportion_/2));var o=i.color,s=i._radius_;return{arc:r,text:a,color:o,radius:s,textColor:i.textColor,textSize:i.textSize,labelShow:i.labelShow}})),h=0;h<u.length;h++){var d=u[h],f=Math.cos(d.arc)*(d.radius+o),v=Math.sin(d.arc)*(d.radius+o),m=Math.cos(d.arc)*d.radius,x=Math.sin(d.arc)*d.radius,_=f>=0?f+i.pieChartTextPadding:f-i.pieChartTextPadding,b=v,w=y(d.text,d.textSize*e.pix||i.fontSize,n),S=b;l&&c.isSameXCoordinateArea(l.start,{x:_})&&(S=_>0?Math.min(b,l.start.y):f<0||b>0?Math.max(b,l.start.y):Math.min(b,l.start.y)),_<0&&(_-=w);var k={lineStart:{x:m,y:x},lineEnd:{x:f,y:v},start:{x:_,y:S},width:w,height:i.fontSize,text:d.text,color:d.color,textColor:d.textColor,textSize:d.textSize};l=g(k,l),s.push(l)}for(var C=0;C<s.length;C++)if(!1!==u[C].labelShow){var T=s[C],P=p(T.lineStart.x,T.lineStart.y,r),A=p(T.lineEnd.x,T.lineEnd.y,r),O=p(T.start.x,T.start.y,r);n.setLineWidth(1*e.pix),n.setFontSize(T.textSize*e.pix||i.fontSize),n.beginPath(),n.setStrokeStyle(T.color),n.setFillStyle(T.color),n.moveTo(P.x,P.y);var I=T.start.x<0?O.x+T.width:O.x,L=T.start.x<0?O.x-5:O.x+5;n.quadraticCurveTo(A.x,A.y,I,O.y),n.moveTo(P.x,P.y),n.stroke(),n.closePath(),n.beginPath(),n.moveTo(O.x+T.width,O.y),n.arc(I,O.y,2*e.pix,0,2*Math.PI),n.closePath(),n.fill(),n.beginPath(),n.setFontSize(T.textSize*e.pix||i.fontSize),n.setFillStyle(T.textColor||e.fontColor),n.fillText(T.text,L,O.y+3),n.closePath(),n.stroke(),n.closePath()}}function dt(t,e,i){for(var n=s({},{type:"solid",dashLength:4,data:[]},t.extra.markLine),a=t.area[3],r=t.width-t.area[1],o=function(t,e){for(var i,n,a=e.height-e.area[0]-e.area[2],r=0;r<t.length;r++){t[r].yAxisIndex=t[r].yAxisIndex?t[r].yAxisIndex:0;var o=[].concat(e.chartData.yAxisData.ranges[t[r].yAxisIndex]);i=o.pop(),n=o.shift();var s=a*(t[r].value-i)/(n-i);t[r].y=e.height-Math.round(s)-e.area[2]}return t}(n.data,t),c=0;c<o.length;c++){var u=s({},{lineColor:"#DE4A42",showLabel:!1,labelFontColor:"#666666",labelBgColor:"#DFE8FF",labelBgOpacity:.8,labelAlign:"left",labelOffsetX:0,labelOffsetY:0},o[c]);if("dash"==n.type&&i.setLineDash([n.dashLength,n.dashLength]),i.setStrokeStyle(u.lineColor),i.setLineWidth(1*t.pix),i.beginPath(),i.moveTo(a,u.y),i.lineTo(r,u.y),i.stroke(),i.setLineDash([]),u.showLabel){var h=u.labelText?u.labelText:u.value;i.setFontSize(e.fontSize);var d=y(h,e.fontSize,i),f=d+2*e.toolTipPadding,p="left"==u.labelAlign?t.area[3]-f:t.width-t.area[1];p+=u.labelOffsetX;var g=u.y-.5*e.fontSize-e.toolTipPadding;g+=u.labelOffsetY;var v=p+e.toolTipPadding;u.y;i.setFillStyle(l(u.labelBgColor,u.labelBgOpacity)),i.setStrokeStyle(u.labelBgColor),i.setLineWidth(1*t.pix),i.beginPath(),i.rect(p,g,f,e.fontSize+2*e.toolTipPadding),i.closePath(),i.stroke(),i.fill(),i.setFontSize(e.fontSize),i.setTextAlign("left"),i.setFillStyle(u.labelFontColor),i.fillText(String(h),v,g+e.fontSize+e.toolTipPadding/2),i.stroke(),i.setTextAlign("left")}}}function ft(t,e,i,n,a){var r=s({},{gridType:"solid",dashLength:4},t.extra.tooltip),o=t.area[3],c=t.width-t.area[1];if("dash"==r.gridType&&i.setLineDash([r.dashLength,r.dashLength]),i.setStrokeStyle(r.gridColor||"#cccccc"),i.setLineWidth(1*t.pix),i.beginPath(),i.moveTo(o,t.tooltip.offset.y),i.lineTo(c,t.tooltip.offset.y),i.stroke(),i.setLineDash([]),r.yAxisLabel)for(var u=function(t,e,i,n,a){for(var r=[].concat(i.chartData.yAxisData.ranges),o=i.height-i.area[0]-i.area[2],s=i.area[0],c=[],l=0;l<r.length;l++){var u=Math.max.apply(this,r[l]),h=Math.min.apply(this,r[l]),d=u-(u-h)*(t-s)/o;d=i.yAxis.data&&i.yAxis.data[l].formatter?i.yAxis.data[l].formatter(d,l,i):d.toFixed(0),c.push(String(d))}return c}(t.tooltip.offset.y,t.series,t),h=t.chartData.yAxisData.yAxisWidth,d=t.area[3],f=t.width-t.area[1],p=0;p<u.length;p++){i.setFontSize(e.fontSize);var g,v=y(u[p],e.fontSize,i),m=void 0,x=void 0;"left"==h[p].position?(m=d-(v+2*e.toolTipPadding)-2*t.pix,x=Math.max(m,m+v+2*e.toolTipPadding)):(m=f+2*t.pix,x=Math.max(m+h[p].width,m+v+2*e.toolTipPadding)),g=x-m;var _=m+(g-v)/2,b=t.tooltip.offset.y;i.beginPath(),i.setFillStyle(l(r.labelBgColor||e.toolTipBackground,r.labelBgOpacity||e.toolTipOpacity)),i.setStrokeStyle(r.labelBgColor||e.toolTipBackground),i.setLineWidth(1*t.pix),i.rect(m,b-.5*e.fontSize-e.toolTipPadding,g,e.fontSize+2*e.toolTipPadding),i.closePath(),i.stroke(),i.fill(),i.beginPath(),i.setFontSize(e.fontSize),i.setFillStyle(r.labelFontColor||t.fontColor),i.fillText(u[p],_,b+.5*e.fontSize),i.closePath(),i.stroke(),"left"==h[p].position?d-=h[p].width+t.yAxis.padding*t.pix:f+=h[p].width+t.yAxis.padding*t.pix}}function pt(t,e,i,n,a){var r=s({},{activeBgColor:"#000000",activeBgOpacity:.08,activeWidth:a},e.extra.column);r.activeWidth=r.activeWidth>a?a:r.activeWidth;var o=e.area[0],c=e.height-e.area[2];n.beginPath(),n.setFillStyle(l(r.activeBgColor,r.activeBgOpacity)),n.rect(t-r.activeWidth/2,o,r.activeWidth,c-o),n.closePath(),n.fill(),n.setFillStyle("#FFFFFF")}function gt(t,e,i,n,a){var r=s({},{activeBgColor:"#000000",activeBgOpacity:.08},e.extra.bar),o=e.area[3],c=e.width-e.area[1];n.beginPath(),n.setFillStyle(l(r.activeBgColor,r.activeBgOpacity)),n.rect(o,t-a/2,c-o,a),n.closePath(),n.fill(),n.setFillStyle("#FFFFFF")}function vt(t,e,i,n,a,r,o){var c=s({},{showBox:!0,showArrow:!0,showCategory:!1,bgColor:"#000000",bgOpacity:.7,borderColor:"#000000",borderWidth:0,borderRadius:0,borderOpacity:.7,fontColor:"#FFFFFF",splitLine:!0},i.extra.tooltip);1==c.showCategory&&i.categories&&t.unshift({text:i.categories[i.tooltip.index],color:null});var u=4*i.pix,h=5*i.pix,d=c.showArrow?8*i.pix:0,f=!1;"line"!=i.type&&"mount"!=i.type&&"area"!=i.type&&"candle"!=i.type&&"mix"!=i.type||1==c.splitLine&&function(t,e,i,n){var a=e.extra.tooltip||{};a.gridType=void 0==a.gridType?"solid":a.gridType,a.dashLength=void 0==a.dashLength?4:a.dashLength;var r=e.area[0],o=e.height-e.area[2];if("dash"==a.gridType&&n.setLineDash([a.dashLength,a.dashLength]),n.setStrokeStyle(a.gridColor||"#cccccc"),n.setLineWidth(1*e.pix),n.beginPath(),n.moveTo(t,r),n.lineTo(t,o),n.stroke(),n.setLineDash([]),a.xAxisLabel){var s=e.categories[e.tooltip.index];n.setFontSize(i.fontSize);var c=y(s,i.fontSize,n),u=t-.5*c,h=o+2*e.pix;n.beginPath(),n.setFillStyle(l(a.labelBgColor||i.toolTipBackground,a.labelBgOpacity||i.toolTipOpacity)),n.setStrokeStyle(a.labelBgColor||i.toolTipBackground),n.setLineWidth(1*e.pix),n.rect(u-i.toolTipPadding,h,c+2*i.toolTipPadding,i.fontSize+2*i.toolTipPadding),n.closePath(),n.stroke(),n.fill(),n.beginPath(),n.setFontSize(i.fontSize),n.setFillStyle(a.labelFontColor||e.fontColor),n.fillText(String(s),u,h+i.toolTipPadding+i.fontSize),n.closePath(),n.stroke()}}(i.tooltip.offset.x,i,n,a),e=s({x:0,y:0},e),e.y-=8*i.pix;var p=t.map((function(t){return y(t.text,n.fontSize,a)})),g=u+h+4*n.toolTipPadding+Math.max.apply(null,p),v=2*n.toolTipPadding+t.length*n.toolTipLineHeight;if(0!=c.showBox){e.x-Math.abs(i._scrollDistance_||0)+d+g>i.width&&(f=!0),v+e.y>i.height&&(e.y=i.height-v),a.beginPath(),a.setFillStyle(l(c.bgColor||n.toolTipBackground,c.bgOpacity||n.toolTipOpacity)),a.setLineWidth(c.borderWidth*i.pix),a.setStrokeStyle(l(c.borderColor,c.borderOpacity));var m=c.borderRadius;f?(g+d>i.width&&(e.x=i.width+Math.abs(i._scrollDistance_||0)+d+(g-i.width)),c.showArrow&&(a.moveTo(e.x,e.y+10*i.pix),a.lineTo(e.x-d,e.y+10*i.pix+5*i.pix)),a.arc(e.x-d-m,e.y+v-m,m,0,Math.PI/2,!1),a.arc(e.x-d-Math.round(g)+m,e.y+v-m,m,Math.PI/2,Math.PI,!1),a.arc(e.x-d-Math.round(g)+m,e.y+m,m,-Math.PI,-Math.PI/2,!1),a.arc(e.x-d-m,e.y+m,m,-Math.PI/2,0,!1),c.showArrow&&(a.lineTo(e.x-d,e.y+10*i.pix-5*i.pix),a.lineTo(e.x,e.y+10*i.pix))):(c.showArrow&&(a.moveTo(e.x,e.y+10*i.pix),a.lineTo(e.x+d,e.y+10*i.pix-5*i.pix)),a.arc(e.x+d+m,e.y+m,m,-Math.PI,-Math.PI/2,!1),a.arc(e.x+d+Math.round(g)-m,e.y+m,m,-Math.PI/2,0,!1),a.arc(e.x+d+Math.round(g)-m,e.y+v-m,m,0,Math.PI/2,!1),a.arc(e.x+d+m,e.y+v-m,m,Math.PI/2,Math.PI,!1),c.showArrow&&(a.lineTo(e.x+d,e.y+10*i.pix+5*i.pix),a.lineTo(e.x,e.y+10*i.pix))),a.closePath(),a.fill(),c.borderWidth>0&&a.stroke(),t.forEach((function(t,i){if(null!==t.color){a.beginPath(),a.setFillStyle(t.color);var r=e.x+d+2*n.toolTipPadding,o=e.y+(n.toolTipLineHeight-n.fontSize)/2+n.toolTipLineHeight*i+n.toolTipPadding+1;f&&(r=e.x-g-d+2*n.toolTipPadding),a.fillRect(r,o,u,n.fontSize),a.closePath(),a.fill()}})),t.forEach((function(t,i){var r=e.x+d+2*n.toolTipPadding+u+h;f&&(r=e.x-g-d+2*n.toolTipPadding+ +u+h);var o=e.y+(n.toolTipLineHeight-n.fontSize)/2+n.toolTipLineHeight*i+n.toolTipPadding;a.beginPath(),a.setFontSize(n.fontSize),a.setFillStyle(c.fontColor),a.fillText(t.text,r,o+n.fontSize),a.closePath(),a.stroke()}))}}function mt(t,e,i,n,a,r){var o=t.extra.tooltip||{};o.horizentalLine&&t.tooltip&&1===n&&("line"==t.type||"area"==t.type||"column"==t.type||"mount"==t.type||"candle"==t.type||"mix"==t.type)&&ft(t,e,i),i.save(),t._scrollDistance_&&0!==t._scrollDistance_&&!0===t.enableScroll&&i.translate(t._scrollDistance_,0),t.tooltip&&t.tooltip.textList&&t.tooltip.textList.length&&1===n&&vt(t.tooltip.textList,t.tooltip.offset,t,e,i),i.restore()}function xt(t,e,i,n){var a=e.chartData.xAxisData,r=a.xAxisPoints,o=a.startX,s=a.endX,c=a.eachSpacing,l="center";"bar"!=e.type&&"line"!=e.type&&"area"!=e.type&&"scatter"!=e.type&&"bubble"!=e.type||(l=e.xAxis.boundaryGap);var u=e.height-e.area[2],h=e.area[0];if(e.enableScroll&&e.xAxis.scrollShow){var d=e.height-e.area[2]+i.xAxisHeight,f=s-o,p=c*(r.length-1);"mount"==e.type&&e.extra&&e.extra.mount&&e.extra.mount.widthRatio&&e.extra.mount.widthRatio>1&&(e.extra.mount.widthRatio>2&&(e.extra.mount.widthRatio=2),p+=(e.extra.mount.widthRatio-1)*c);var g=f*f/p,v=0;e._scrollDistance_&&(v=-e._scrollDistance_*f/p),n.beginPath(),n.setLineCap("round"),n.setLineWidth(6*e.pix),n.setStrokeStyle(e.xAxis.scrollBackgroundColor||"#EFEBEF"),n.moveTo(o,d),n.lineTo(s,d),n.stroke(),n.closePath(),n.beginPath(),n.setLineCap("round"),n.setLineWidth(6*e.pix),n.setStrokeStyle(e.xAxis.scrollColor||"#A6A6A6"),n.moveTo(o+v,d),n.lineTo(o+v+g,d),n.stroke(),n.closePath(),n.setLineCap("butt")}if(n.save(),e._scrollDistance_&&0!==e._scrollDistance_&&n.translate(e._scrollDistance_,0),!0===e.xAxis.calibration&&(n.setStrokeStyle(e.xAxis.gridColor||"#cccccc"),n.setLineCap("butt"),n.setLineWidth(1*e.pix),r.forEach((function(t,i){i>0&&(n.beginPath(),n.moveTo(t-c/2,u),n.lineTo(t-c/2,u+3*e.pix),n.closePath(),n.stroke())}))),!0!==e.xAxis.disableGrid&&(n.setStrokeStyle(e.xAxis.gridColor||"#cccccc"),n.setLineCap("butt"),n.setLineWidth(1*e.pix),"dash"==e.xAxis.gridType&&n.setLineDash([e.xAxis.dashLength*e.pix,e.xAxis.dashLength*e.pix]),e.xAxis.gridEval=e.xAxis.gridEval||1,r.forEach((function(t,i){i%e.xAxis.gridEval==0&&(n.beginPath(),n.moveTo(t,u),n.lineTo(t,h),n.stroke())})),n.setLineDash([])),!0!==e.xAxis.disabled){var m=t.length;e.xAxis.labelCount&&(m=e.xAxis.itemCount?Math.ceil(t.length/e.xAxis.itemCount*e.xAxis.labelCount):e.xAxis.labelCount,m-=1);for(var x=Math.ceil(t.length/m),_=[],b=t.length,w=0;w<b;w++)w%x!==0?_.push(""):_.push(t[w]);_[b-1]=t[b-1];var S=e.xAxis.fontSize*e.pix||i.fontSize;0===i._xAxisTextAngle_?_.forEach((function(t,a){var o=e.xAxis.formatter?e.xAxis.formatter(t,a,e):t,s=-y(String(o),S,n)/2;"center"==l&&(s+=c/2);var h=0;e.xAxis.scrollShow&&(h=6*e.pix);var d=e._scrollDistance_||0,f="center"==l?r[a]+c/2:r[a];f-Math.abs(d)>=e.area[3]&&f-Math.abs(d)<=e.width-e.area[1]&&(n.beginPath(),n.setFontSize(S),n.setFillStyle(e.xAxis.fontColor||e.fontColor),n.fillText(String(o),r[a]+s,u+S+(i.xAxisHeight-h-S)/2),n.closePath(),n.stroke())})):_.forEach((function(t,a){var o=e.xAxis.formatter?e.xAxis.formatter(t):t,s=e._scrollDistance_||0,h="center"==l?r[a]+c/2:r[a];if(h-Math.abs(s)>=e.area[3]&&h-Math.abs(s)<=e.width-e.area[1]){n.save(),n.beginPath(),n.setFontSize(S),n.setFillStyle(e.xAxis.fontColor||e.fontColor);var d=y(String(o),S,n),f=r[a];"center"==l&&(f=r[a]+c/2);e.xAxis.scrollShow&&6*e.pix;var p=u+6*e.pix+S-S*Math.abs(Math.sin(i._xAxisTextAngle_));e.xAxis.rotateAngle<0?(f-=S/2,d=0):(f+=S/2,d=-d),n.translate(f,p),n.rotate(-1*i._xAxisTextAngle_),n.fillText(String(o),d,0),n.closePath(),n.stroke(),n.restore()}}))}n.restore(),e.xAxis.axisLine&&(n.beginPath(),n.setStrokeStyle(e.xAxis.axisLineColor),n.setLineWidth(1*e.pix),n.moveTo(o,e.height-e.area[2]),n.lineTo(s,e.height-e.area[2]),n.stroke())}function yt(t,e,i,n){if(!0!==e.yAxis.disableGrid){var a=e.height-e.area[0]-e.area[2],r=a/e.yAxis.splitNumber,o=e.area[3],s=e.chartData.xAxisData.xAxisPoints,c=e.chartData.xAxisData.eachSpacing,l=c*(s.length-1);"mount"==e.type&&e.extra&&e.extra.mount&&e.extra.mount.widthRatio&&e.extra.mount.widthRatio>1&&(e.extra.mount.widthRatio>2&&(e.extra.mount.widthRatio=2),l+=(e.extra.mount.widthRatio-1)*c);var u=o+l,h=[],d=1;!1===e.xAxis.axisLine&&(d=0);for(var f=d;f<e.yAxis.splitNumber+1;f++)h.push(e.height-e.area[2]-r*f);n.save(),e._scrollDistance_&&0!==e._scrollDistance_&&n.translate(e._scrollDistance_,0),"dash"==e.yAxis.gridType&&n.setLineDash([e.yAxis.dashLength*e.pix,e.yAxis.dashLength*e.pix]),n.setStrokeStyle(e.yAxis.gridColor),n.setLineWidth(1*e.pix),h.forEach((function(t,e){n.beginPath(),n.moveTo(o,t),n.lineTo(u,t),n.stroke()})),n.setLineDash([]),n.restore()}}function _t(t,e,i,n){if(!0!==e.yAxis.disabled){var a=e.height-e.area[0]-e.area[2],r=a/e.yAxis.splitNumber,o=e.area[3],s=e.width-e.area[1],c=e.height-e.area[2];n.beginPath(),n.setFillStyle(e.background),1==e.enableScroll&&e.xAxis.scrollPosition&&"left"!==e.xAxis.scrollPosition&&n.fillRect(0,0,o,c+2*e.pix),1==e.enableScroll&&e.xAxis.scrollPosition&&"right"!==e.xAxis.scrollPosition&&n.fillRect(s,0,e.width,c+2*e.pix),n.closePath(),n.stroke();var l=e.area[3],u=e.width-e.area[1],h=e.area[3]+(e.width-e.area[1]-e.area[3])/2;if(e.yAxis.data)for(var d=function(t){var o=e.yAxis.data[t];if(p=[],"categories"===o.type)for(var s=0;s<=o.categories.length;s++)p.push(e.area[0]+a/o.categories.length/2+a/o.categories.length*s);else for(var c=0;c<=e.yAxis.splitNumber;c++)p.push(e.area[0]+r*c);if(!0!==o.disabled){var d=e.chartData.yAxisData.rangesFormat[t],f=o.fontSize?o.fontSize*e.pix:i.fontSize,g=e.chartData.yAxisData.yAxisWidth[t],v=o.textAlign||"right";if(d.forEach((function(t,i){var a=p[i];n.beginPath(),n.setFontSize(f),n.setLineWidth(1*e.pix),n.setStrokeStyle(o.axisLineColor||"#cccccc"),n.setFillStyle(o.fontColor||e.fontColor);var r=0,s=4*e.pix;if("left"==g.position){switch(1==o.calibration&&(n.moveTo(l,a),n.lineTo(l-3*e.pix,a),s+=3*e.pix),v){case"left":n.setTextAlign("left"),r=l-g.width;break;case"right":n.setTextAlign("right"),r=l-s;break;default:n.setTextAlign("center"),r=l-g.width/2}n.fillText(String(t),r,a+f/2-3*e.pix)}else if("right"==g.position){switch(1==o.calibration&&(n.moveTo(u,a),n.lineTo(u+3*e.pix,a),s+=3*e.pix),v){case"left":n.setTextAlign("left"),r=u+s;break;case"right":n.setTextAlign("right"),r=u+g.width;break;default:n.setTextAlign("center"),r=u+g.width/2}n.fillText(String(t),r,a+f/2-3*e.pix)}else if("center"==g.position){switch(1==o.calibration&&(n.moveTo(h,a),n.lineTo(h-3*e.pix,a),s+=3*e.pix),v){case"left":n.setTextAlign("left"),r=h-g.width;break;case"right":n.setTextAlign("right"),r=h-s;break;default:n.setTextAlign("center"),r=h-g.width/2}n.fillText(String(t),r,a+f/2-3*e.pix)}n.closePath(),n.stroke(),n.setTextAlign("left")})),!1!==o.axisLine&&(n.beginPath(),n.setStrokeStyle(o.axisLineColor||"#cccccc"),n.setLineWidth(1*e.pix),"left"==g.position?(n.moveTo(l,e.height-e.area[2]),n.lineTo(l,e.area[0])):"right"==g.position?(n.moveTo(u,e.height-e.area[2]),n.lineTo(u,e.area[0])):"center"==g.position&&(n.moveTo(h,e.height-e.area[2]),n.lineTo(h,e.area[0])),n.stroke()),e.yAxis.showTitle){var m=o.titleFontSize*e.pix||i.fontSize,x=o.title;n.beginPath(),n.setFontSize(m),n.setFillStyle(o.titleFontColor||e.fontColor),"left"==g.position?n.fillText(x,l-y(x,m,n)/2+(o.titleOffsetX||0),e.area[0]-(10-(o.titleOffsetY||0))*e.pix):"right"==g.position?n.fillText(x,u-y(x,m,n)/2+(o.titleOffsetX||0),e.area[0]-(10-(o.titleOffsetY||0))*e.pix):"center"==g.position&&n.fillText(x,h-y(x,m,n)/2+(o.titleOffsetX||0),e.area[0]-(10-(o.titleOffsetY||0))*e.pix),n.closePath(),n.stroke()}"left"==g.position?l-=g.width+e.yAxis.padding*e.pix:u+=g.width+e.yAxis.padding*e.pix}},f=0;f<e.yAxis.data.length;f++){var p;d(f)}}}function bt(t,e,i,n,a){if(!1!==e.legend.show){var r=a.legendData,o=r.points,s=r.area,c=e.legend.padding*e.pix,l=e.legend.fontSize*e.pix,u=15*e.pix,h=5*e.pix,d=e.legend.itemGap*e.pix,f=Math.max(e.legend.lineHeight*e.pix,l);n.beginPath(),n.setLineWidth(e.legend.borderWidth*e.pix),n.setStrokeStyle(e.legend.borderColor),n.setFillStyle(e.legend.backgroundColor),n.moveTo(s.start.x,s.start.y),n.rect(s.start.x,s.start.y,s.width,s.height),n.closePath(),n.fill(),n.stroke(),o.forEach((function(t,a){var o,p=0;p=r.widthArr[a],o=r.heightArr[a];var g=0,v=0;if("top"==e.legend.position||"bottom"==e.legend.position){switch(e.legend.float){case"left":g=s.start.x+c;break;case"right":g=s.start.x+s.width-p;break;default:g=s.start.x+(s.width-p)/2}v=s.start.y+c+a*f}else p=0==a?0:r.widthArr[a-1],g=s.start.x+c+p,v=s.start.y+c+(s.height-o)/2;n.setFontSize(i.fontSize);for(var m=0;m<t.length;m++){var x=t[m];switch(x.area=[0,0,0,0],x.area[0]=g,x.area[1]=v,x.area[3]=v+f,n.beginPath(),n.setLineWidth(1*e.pix),n.setStrokeStyle(x.show?x.color:e.legend.hiddenColor),n.setFillStyle(x.show?x.color:e.legend.hiddenColor),x.legendShape){case"line":n.moveTo(g,v+.5*f-2*e.pix),n.fillRect(g,v+.5*f-2*e.pix,15*e.pix,4*e.pix);break;case"triangle":n.moveTo(g+7.5*e.pix,v+.5*f-5*e.pix),n.lineTo(g+2.5*e.pix,v+.5*f+5*e.pix),n.lineTo(g+12.5*e.pix,v+.5*f+5*e.pix),n.lineTo(g+7.5*e.pix,v+.5*f-5*e.pix);break;case"diamond":n.moveTo(g+7.5*e.pix,v+.5*f-5*e.pix),n.lineTo(g+2.5*e.pix,v+.5*f),n.lineTo(g+7.5*e.pix,v+.5*f+5*e.pix),n.lineTo(g+12.5*e.pix,v+.5*f),n.lineTo(g+7.5*e.pix,v+.5*f-5*e.pix);break;case"circle":n.moveTo(g+7.5*e.pix,v+.5*f),n.arc(g+7.5*e.pix,v+.5*f,5*e.pix,0,2*Math.PI);break;case"rect":n.moveTo(g,v+.5*f-5*e.pix),n.fillRect(g,v+.5*f-5*e.pix,15*e.pix,10*e.pix);break;case"square":n.moveTo(g+5*e.pix,v+.5*f-5*e.pix),n.fillRect(g+5*e.pix,v+.5*f-5*e.pix,10*e.pix,10*e.pix);break;case"none":break;default:n.moveTo(g,v+.5*f-5*e.pix),n.fillRect(g,v+.5*f-5*e.pix,15*e.pix,10*e.pix)}n.closePath(),n.fill(),n.stroke(),g+=u+h;var _=.5*f+.5*l-2,b=x.legendText?x.legendText:x.name;n.beginPath(),n.setFontSize(l),n.setFillStyle(x.show?e.legend.fontColor:e.legend.hiddenColor),n.fillText(b,g,v+_),n.closePath(),n.stroke(),"top"==e.legend.position||"bottom"==e.legend.position?(g+=y(b,l,n)+d,x.area[2]=g):(x.area[2]=g+y(b,l,n)+d,g-=u+h,v+=f)}}))}}function wt(t,e,i,n){var a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,r=s({},{activeOpacity:.5,activeRadius:10,offsetAngle:0,labelWidth:15,ringWidth:30,customRadius:0,border:!1,borderWidth:2,borderColor:"#FFFFFF",centerColor:"#FFFFFF",linearType:"none",customColor:[]},"pie"==e.type?e.extra.pie:e.extra.ring),o={x:e.area[3]+(e.width-e.area[1]-e.area[3])/2,y:e.area[0]+(e.height-e.area[0]-e.area[2])/2};0==i.pieChartLinePadding&&(i.pieChartLinePadding=r.activeRadius*e.pix);var c=Math.min((e.width-e.area[1]-e.area[3])/2-i.pieChartLinePadding-i.pieChartTextPadding-i._pieTextMaxLength_,(e.height-e.area[0]-e.area[2])/2-i.pieChartLinePadding-i.pieChartTextPadding);c=c<10?10:c,r.customRadius>0&&(c=r.customRadius*e.pix),t=$(t,c,a);var u=r.activeRadius*e.pix;if(r.customColor=m(r.linearType,r.customColor,t,i),t=t.map((function(t){return t._start_+=r.offsetAngle*Math.PI/180,t})),t.forEach((function(t,i){e.tooltip&&e.tooltip.index==i&&(n.beginPath(),n.setFillStyle(l(t.color,r.activeOpacity||.5)),n.moveTo(o.x,o.y),n.arc(o.x,o.y,t._radius_+u,t._start_,t._start_+2*t._proportion_*Math.PI),n.closePath(),n.fill()),n.beginPath(),n.setLineWidth(r.borderWidth*e.pix),n.lineJoin="round",n.setStrokeStyle(r.borderColor);var a,s=t.color;"custom"==r.linearType&&(a=n.createCircularGradient?n.createCircularGradient(o.x,o.y,t._radius_):n.createRadialGradient(o.x,o.y,0,o.x,o.y,t._radius_),a.addColorStop(0,l(r.customColor[t.linearIndex],1)),a.addColorStop(1,l(t.color,1)),s=a);n.setFillStyle(s),n.moveTo(o.x,o.y),n.arc(o.x,o.y,t._radius_,t._start_,t._start_+2*t._proportion_*Math.PI),n.closePath(),n.fill(),1==r.border&&n.stroke()})),"ring"===e.type){var h=.6*c;"number"===typeof r.ringWidth&&r.ringWidth>0&&(h=Math.max(0,c-r.ringWidth*e.pix)),n.beginPath(),n.setFillStyle(r.centerColor),n.moveTo(o.x,o.y),n.arc(o.x,o.y,h,0,2*Math.PI),n.closePath(),n.fill()}return!1!==e.dataLabel&&1===a&&ht(t,e,i,n,0,o),1===a&&"ring"===e.type&&rt(e,i,n,o),{center:o,radius:c,series:t}}function St(t,e){var i=Array(2),n=20037508.34*t/180,a=Math.log(Math.tan((90+e)*Math.PI/360))/(Math.PI/180);return a=20037508.34*a/180,i[0]=n,i[1]=a,i}function kt(t,e,i,n,a,r){return{x:(e-i.xMin)*n+a,y:(i.yMax-t)*n+r}}function Ct(t,e,i){if(e[1]==i[1])return!1;if(e[1]>t[1]&&i[1]>t[1])return!1;if(e[1]<t[1]&&i[1]<t[1])return!1;if(e[1]==t[1]&&i[1]>t[1])return!1;if(i[1]==t[1]&&e[1]>t[1])return!1;if(e[0]<t[0]&&i[1]<t[1])return!1;var n=i[0]-(i[0]-e[0])*(i[1]-t[1])/(i[1]-e[1]);return!(n<t[0])}function Tt(t,e,i){for(var n=0,a=0;a<e.length;a++){var r=e[a][0];1==e.length&&(r=e[a][0]);for(var o=0;o<r.length-1;o++){var s=r[o],c=r[o+1];i&&(s=St(r[o][0],r[o][1]),c=St(r[o+1][0],r[o+1][1])),Ct(t,s,c)&&(n+=1)}}return n%2==1}function Pt(t,e,i){i=0==i?1:i;for(var n=[],a=0;a<i;a++)n[a]=Math.random();return Math.floor(n.reduce((function(t,e){return t+e}))/i*(e-t))+t}function At(t,e,i,n){for(var a=!1,r=0;r<e.length;r++)if(e[r].area){if(!(t[3]<e[r].area[1]||t[0]>e[r].area[2]||t[1]>e[r].area[3]||t[2]<e[r].area[0])){a=!0;break}if(t[0]<0||t[1]<0||t[2]>i||t[3]>n){a=!0;break}a=!1}return a}function Ot(t,e,i){var n=t.series;switch(e){case"normal":for(var a=0;a<n.length;a++){var r=n[a].name,o=n[a].textSize*t.pix,s=y(r,o,i),c=void 0,l=void 0,u=void 0,h=0;while(1){h++,c=Pt(-t.width/2,t.width/2,5)-s/2,l=Pt(-t.height/2,t.height/2,5)+o/2,u=[c-5+t.width/2,l-5-o+t.height/2,c+s+5+t.width/2,l+5+t.height/2];var d=At(u,n,t.width,t.height);if(!d)break;if(1e3==h){u=[-100,-100,-100,-100];break}}n[a].area=u}break;case"vertical":for(var f=function(){return Math.random()>.7},p=0;p<n.length;p++){var g=n[p].name,v=n[p].textSize*t.pix,m=y(g,v,i),x=f(),_=void 0,b=void 0,w=void 0,S=void 0,k=0;while(1){k++;var C=void 0;if(x?(_=Pt(-t.width/2,t.width/2,5)-m/2,b=Pt(-t.height/2,t.height/2,5)+v/2,w=[b-5-m+t.width/2,-_-5+t.height/2,b+5+t.width/2,-_+v+5+t.height/2],S=[t.width-(t.width/2-t.height/2)-(-_+v+5+t.height/2)-5,t.height/2-t.width/2+(b-5-m+t.width/2)-5,t.width-(t.width/2-t.height/2)-(-_+v+5+t.height/2)+v,t.height/2-t.width/2+(b-5-m+t.width/2)+m+5],C=At(S,n,t.height,t.width)):(_=Pt(-t.width/2,t.width/2,5)-m/2,b=Pt(-t.height/2,t.height/2,5)+v/2,w=[_-5+t.width/2,b-5-v+t.height/2,_+m+5+t.width/2,b+5+t.height/2],C=At(w,n,t.width,t.height)),!C)break;if(1e3==k){w=[-1e3,-1e3,-1e3,-1e3];break}}x?(n[p].area=S,n[p].areav=w):n[p].area=w,n[p].rotate=x}break}return n}function It(t,e,i,n,a,r,o){for(var s=0;s<t.length;s++){var l=t[s];if(!1!==l.labelShow){var u=void 0,h=void 0,d=void 0,f=void 0,p=l.formatter?l.formatter(l,s,t,e):c.toFixed(100*l._proportion_)+"%";p=l.labelText?l.labelText:p,"right"==a&&(u=s==t.length-1?(l.funnelArea[2]+o.x)/2:(l.funnelArea[2]+t[s+1].funnelArea[2])/2,h=u+2*r,d=l.funnelArea[1]+n/2,f=l.textSize*e.pix||e.fontSize*e.pix,i.setLineWidth(1*e.pix),i.setStrokeStyle(l.color),i.setFillStyle(l.color),i.beginPath(),i.moveTo(u,d),i.lineTo(h,d),i.stroke(),i.closePath(),i.beginPath(),i.moveTo(h,d),i.arc(h,d,2*e.pix,0,2*Math.PI),i.closePath(),i.fill(),i.beginPath(),i.setFontSize(f),i.setFillStyle(l.textColor||e.fontColor),i.fillText(p,h+5,d+f/2-2),i.closePath(),i.stroke(),i.closePath()),"left"==a&&(u=s==t.length-1?(l.funnelArea[0]+o.x)/2:(l.funnelArea[0]+t[s+1].funnelArea[0])/2,h=u-2*r,d=l.funnelArea[1]+n/2,f=l.textSize*e.pix||e.fontSize*e.pix,i.setLineWidth(1*e.pix),i.setStrokeStyle(l.color),i.setFillStyle(l.color),i.beginPath(),i.moveTo(u,d),i.lineTo(h,d),i.stroke(),i.closePath(),i.beginPath(),i.moveTo(h,d),i.arc(h,d,2,0,2*Math.PI),i.closePath(),i.fill(),i.beginPath(),i.setFontSize(f),i.setFillStyle(l.textColor||e.fontColor),i.fillText(p,h-5-y(p,f,i),d+f/2-2),i.closePath(),i.stroke(),i.closePath())}}}function Lt(t,e,i,n,a,r,o){for(var s=0;s<t.length;s++){var c=t[s],l=void 0,u=void 0;c.centerText&&(l=c.funnelArea[1]+n/2,u=c.centerTextSize*e.pix||e.fontSize*e.pix,i.beginPath(),i.setFontSize(u),i.setFillStyle(c.centerTextColor||"#FFFFFF"),i.fillText(c.centerText,o.x-y(c.centerText,u,i)/2,l+u/2-2),i.closePath(),i.stroke(),i.closePath())}}function Dt(t,e){e.draw()}var Mt={easeIn:function(t){return Math.pow(t,3)},easeOut:function(t){return Math.pow(t-1,3)+1},easeInOut:function(t){return(t/=.5)<1?.5*Math.pow(t,3):.5*(Math.pow(t-2,3)+2)},linear:function(t){return t}};function Et(t){this.isStop=!1,t.duration="undefined"===typeof t.duration?1e3:t.duration,t.timing=t.timing||"easeInOut";var e=function(){return"undefined"!==typeof setTimeout?function(t,e){setTimeout((function(){var e=+new Date;t(e)}),e)}:"undefined"!==typeof requestAnimationFrame?requestAnimationFrame:function(t){t(null)}}(),i=null,n=function(a){if(null===a||!0===this.isStop)return t.onProcess&&t.onProcess(1),void(t.onAnimationFinish&&t.onAnimationFinish());if(null===i&&(i=a),a-i<t.duration){var r=(a-i)/t.duration,o=Mt[t.timing];r=o(r),t.onProcess&&t.onProcess(r),e(n,17)}else t.onProcess&&t.onProcess(1),t.onAnimationFinish&&t.onAnimationFinish()};n=n.bind(this),e(n,17)}function Ft(t,e,i,n){var r=this,o=this,u=e.series;"pie"!==t&&"ring"!==t&&"mount"!==t&&"rose"!==t&&"funnel"!==t||(u=function(t,e,i){var n=[];if(t.length>0&&t[0].data.constructor.toString().indexOf("Array")>-1){e._pieSeries_=t;for(var a=t[0].data,r=0;r<a.length;r++)a[r].formatter=t[0].formatter,a[r].data=a[r].value,n.push(a[r]);e.series=n}else n=t;return n}(u,e));var h=e.categories;if("mount"===t){h=[];for(var d=0;d<u.length;d++)!1!==u[d].show&&h.push(u[d].name);e.categories=h}u=v(u,e,i);var g=e.animation?e.duration:0;o.animationInstance&&o.animationInstance.stop();var x=null;if("candle"==t){var b=s({},e.extra.candle.average);b.show?(x=function(t,e,i,n){for(var a=[],r=0;r<t.length;r++){for(var o={data:[],name:e[r],color:i[r]},s=0,c=n.length;s<c;s++)if(s<t[r])o.data.push(null);else{for(var l=0,u=0;u<t[r];u++)l+=n[s-u][1];o.data.push(+(l/t[r]).toFixed(3))}a.push(o)}return a}(b.day,b.name,b.color,u[0].data),x=v(x,e,i),e.seriesMA=x):x=e.seriesMA?e.seriesMA=v(e.seriesMA,e,i):u}else x=u;e._series_=u=O(u),e.area=new Array(4);for(var w=0;w<4;w++)e.area[w]=e.padding[w]*e.pix;var S=function(t,e,i,n,a){var r={area:{start:{x:0,y:0},end:{x:0,y:0},width:0,height:0,wholeWidth:0,wholeHeight:0},points:[],widthArr:[],heightArr:[]};if(!1===e.legend.show)return n.legendData=r,r;var o=e.legend.padding*e.pix,s=e.legend.margin*e.pix,c=e.legend.fontSize?e.legend.fontSize*e.pix:i.fontSize,l=15*e.pix,u=5*e.pix,h=Math.max(e.legend.lineHeight*e.pix,c);if("top"==e.legend.position||"bottom"==e.legend.position){for(var d=[],f=0,p=[],g=[],v=0;v<t.length;v++){var m=t[v],x=m.legendText?m.legendText:m.name,_=l+u+y(x||"undefined",c,a)+e.legend.itemGap*e.pix;f+_>e.width-e.area[1]-e.area[3]?(d.push(g),p.push(f-e.legend.itemGap*e.pix),f=_,g=[m]):(f+=_,g.push(m))}if(g.length){d.push(g),p.push(f-e.legend.itemGap*e.pix),r.widthArr=p;var b=Math.max.apply(null,p);switch(e.legend.float){case"left":r.area.start.x=e.area[3],r.area.end.x=e.area[3]+b+2*o;break;case"right":r.area.start.x=e.width-e.area[1]-b-2*o,r.area.end.x=e.width-e.area[1];break;default:r.area.start.x=(e.width-b)/2-o,r.area.end.x=(e.width+b)/2+o}r.area.width=b+2*o,r.area.wholeWidth=b+2*o,r.area.height=d.length*h+2*o,r.area.wholeHeight=d.length*h+2*o+2*s,r.points=d}}else{var w=t.length,S=e.height-e.area[0]-e.area[2]-2*s-2*o,k=Math.min(Math.floor(S/h),w);switch(r.area.height=k*h+2*o,r.area.wholeHeight=k*h+2*o,e.legend.float){case"top":r.area.start.y=e.area[0]+s,r.area.end.y=e.area[0]+s+r.area.height;break;case"bottom":r.area.start.y=e.height-e.area[2]-s-r.area.height,r.area.end.y=e.height-e.area[2]-s;break;default:r.area.start.y=(e.height-r.area.height)/2,r.area.end.y=(e.height+r.area.height)/2}for(var C=w%k===0?w/k:Math.floor(w/k+1),T=[],P=0;P<C;P++){var A=t.slice(P*k,P*k+k);T.push(A)}if(r.points=T,T.length){for(var O=0;O<T.length;O++){for(var I=T[O],L=0,D=0;D<I.length;D++){var M=l+u+y(I[D].name||"undefined",c,a)+e.legend.itemGap*e.pix;M>L&&(L=M)}r.widthArr.push(L),r.heightArr.push(I.length*h+2*o)}for(var E=0,F=0;F<r.widthArr.length;F++)E+=r.widthArr[F];r.area.width=E-e.legend.itemGap*e.pix+2*o,r.area.wholeWidth=r.area.width+o}}switch(e.legend.position){case"top":r.area.start.y=e.area[0]+s,r.area.end.y=e.area[0]+s+r.area.height;break;case"bottom":r.area.start.y=e.height-e.area[2]-r.area.height-s,r.area.end.y=e.height-e.area[2]-s;break;case"left":r.area.start.x=e.area[3],r.area.end.x=e.area[3]+r.area.width;break;case"right":r.area.start.x=e.width-e.area[1]-r.area.width,r.area.end.x=e.width-e.area[1];break}return n.legendData=r,r}(x,e,i,e.chartData,n),T=S.area.wholeHeight,P=S.area.wholeWidth;switch(e.legend.position){case"top":e.area[0]+=T;break;case"bottom":e.area[2]+=T;break;case"left":e.area[3]+=P;break;case"right":e.area[1]+=P;break}var A={},I=0;if("line"===e.type||"column"===e.type||"mount"===e.type||"area"===e.type||"mix"===e.type||"candle"===e.type||"scatter"===e.type||"bubble"===e.type||"bar"===e.type){if(A=it(u,e,i,n),I=A.yAxisWidth,e.yAxis.showTitle){for(var L=0,et=0;et<e.yAxis.data.length;et++)L=Math.max(L,e.yAxis.data[et].titleFontSize?e.yAxis.data[et].titleFontSize*e.pix:i.fontSize);e.area[0]+=L}for(var ft=0,vt=0,Ct=0;Ct<I.length;Ct++)"left"==I[Ct].position?(e.area[3]+=vt>0?I[Ct].width+e.yAxis.padding*e.pix:I[Ct].width,vt+=1):"right"==I[Ct].position&&(e.area[1]+=ft>0?I[Ct].width+e.yAxis.padding*e.pix:I[Ct].width,ft+=1)}else i.yAxisWidth=I;if(e.chartData.yAxisData=A,e.categories&&e.categories.length&&"radar"!==e.type&&"gauge"!==e.type&&"bar"!==e.type){e.chartData.xAxisData=V(e.categories,e);var Tt=M(e.categories,e,i,e.chartData.xAxisData.eachSpacing,n),Pt=Tt.xAxisHeight,At=Tt.angle;i.xAxisHeight=Pt,i._xAxisTextAngle_=At,e.area[2]+=Pt,e.chartData.categoriesData=Tt}else if("line"===e.type||"area"===e.type||"scatter"===e.type||"bubble"===e.type||"bar"===e.type){e.chartData.xAxisData=E(u,e,i,n),h=e.chartData.xAxisData.rangesFormat;var Mt=M(h,e,i,e.chartData.xAxisData.eachSpacing,n),Ft=Mt.xAxisHeight,$t=Mt.angle;i.xAxisHeight=Ft,i._xAxisTextAngle_=$t,e.area[2]+=Ft,e.chartData.categoriesData=Mt}else e.chartData.xAxisData={xAxisPoints:[]};if(e.enableScroll&&"right"==e.xAxis.scrollAlign&&void 0===e._scrollDistance_){var Nt,Rt=e.chartData.xAxisData.xAxisPoints,jt=e.chartData.xAxisData.startX,Ut=e.chartData.xAxisData.endX,Bt=e.chartData.xAxisData.eachSpacing,zt=Bt*(Rt.length-1),Wt=Ut-jt;Nt=Wt-zt,o.scrollOption.currentOffset=Nt,o.scrollOption.startTouchX=Nt,o.scrollOption.distance=0,o.scrollOption.lastMoveTime=0,e._scrollDistance_=Nt}switch("pie"!==t&&"ring"!==t&&"rose"!==t||(i._pieTextMaxLength_=!1===e.dataLabel?0:function(t,e,i,n){t=$(t);for(var a=0,r=0;r<t.length;r++){var o=t[r],s=o.formatter?o.formatter(+o._proportion_.toFixed(2)):c.toFixed(100*o._proportion_)+"%";a=Math.max(a,y(s,o.textSize*n.pix||e.fontSize,i))}return a}(x,i,n,e)),t){case"word":this.animationInstance=new Et({timing:e.timing,duration:g,onProcess:function(t){n.clearRect(0,0,e.width,e.height),e.rotate&&nt(n,e),function(t,e,i,n){var a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,r=s({},{type:"normal",autoColors:!0},e.extra.word);e.chartData.wordCloudData||(e.chartData.wordCloudData=Ot(e,r.type,n)),n.beginPath(),n.setFillStyle(e.background),n.rect(0,0,e.width,e.height),n.fill(),n.save();var o=e.chartData.wordCloudData;n.translate(e.width/2,e.height/2);for(var c=0;c<o.length;c++){n.save(),o[c].rotate&&n.rotate(90*Math.PI/180);var l=o[c].name,u=o[c].textSize*e.pix,h=y(l,u,n);n.beginPath(),n.setStrokeStyle(o[c].color),n.setFillStyle(o[c].color),n.setFontSize(u),o[c].rotate?o[c].areav[0]>0&&(e.tooltip&&e.tooltip.index==c?n.strokeText(l,(o[c].areav[0]+5-e.width/2)*a-h*(1-a)/2,(o[c].areav[1]+5+u-e.height/2)*a):n.fillText(l,(o[c].areav[0]+5-e.width/2)*a-h*(1-a)/2,(o[c].areav[1]+5+u-e.height/2)*a)):o[c].area[0]>0&&(e.tooltip&&e.tooltip.index==c?n.strokeText(l,(o[c].area[0]+5-e.width/2)*a-h*(1-a)/2,(o[c].area[1]+5+u-e.height/2)*a):n.fillText(l,(o[c].area[0]+5-e.width/2)*a-h*(1-a)/2,(o[c].area[1]+5+u-e.height/2)*a)),n.stroke(),n.restore()}n.restore()}(u,e,i,n,t),Dt(0,n)},onAnimationFinish:function(){o.uevent.trigger("renderComplete")}});break;case"map":n.clearRect(0,0,e.width,e.height),function(t,e,i,n){var a,r,o=s({},{border:!0,mercator:!1,borderWidth:1,active:!0,borderColor:"#666666",fillOpacity:.6,activeBorderColor:"#f04864",activeFillColor:"#facc14",activeFillOpacity:1},e.extra.map),c=t,u=function(t){for(var e,i={xMin:180,xMax:0,yMin:90,yMax:0},n=0;n<t.length;n++)for(var a=t[n].geometry.coordinates,r=0;r<a.length;r++){e=a[r],1==e.length&&(e=e[0]);for(var o=0;o<e.length;o++){var s=e[o][0],c=e[o][1],l={x:s,y:c};i.xMin=i.xMin<l.x?i.xMin:l.x,i.xMax=i.xMax>l.x?i.xMax:l.x,i.yMin=i.yMin<l.y?i.yMin:l.y,i.yMax=i.yMax>l.y?i.yMax:l.y}}return i}(c);if(o.mercator){var h=St(u.xMax,u.yMax),d=St(u.xMin,u.yMin);u.xMax=h[0],u.yMax=h[1],u.xMin=d[0],u.yMin=d[1]}for(var f=e.width/Math.abs(u.xMax-u.xMin),p=e.height/Math.abs(u.yMax-u.yMin),g=f<p?f:p,v=e.width/2-Math.abs(u.xMax-u.xMin)/2*g,m=e.height/2-Math.abs(u.yMax-u.yMin)/2*g,x=0;x<c.length;x++){n.beginPath(),n.setLineWidth(o.borderWidth*e.pix),n.setStrokeStyle(o.borderColor),n.setFillStyle(l(t[x].color,t[x].fillOpacity||o.fillOpacity)),1==o.active&&e.tooltip&&e.tooltip.index==x&&(n.setStrokeStyle(o.activeBorderColor),n.setFillStyle(l(o.activeFillColor,o.activeFillOpacity)));for(var _=c[x].geometry.coordinates,b=0;b<_.length;b++){a=_[b],1==a.length&&(a=a[0]);for(var w=0;w<a.length;w++){var S=Array(2);S=o.mercator?St(a[w][0],a[w][1]):a[w],r=kt(S[1],S[0],u,g,v,m),0===w?(n.beginPath(),n.moveTo(r.x,r.y)):n.lineTo(r.x,r.y)}n.fill(),1==o.border&&n.stroke()}}if(1==e.dataLabel)for(x=0;x<c.length;x++){var k=c[x].properties.centroid;if(k){o.mercator&&(k=St(c[x].properties.centroid[0],c[x].properties.centroid[1])),r=kt(k[1],k[0],u,g,v,m);var C=c[x].textSize*e.pix||i.fontSize,T=c[x].textColor||e.fontColor;o.active&&o.activeTextColor&&e.tooltip&&e.tooltip.index==x&&(T=o.activeTextColor);var P=c[x].properties.name;n.beginPath(),n.setFontSize(C),n.setFillStyle(T),n.fillText(P,r.x-y(P,C,n)/2,r.y+C/2),n.closePath(),n.stroke()}}e.chartData.mapData={bounds:u,scale:g,xoffset:v,yoffset:m,mercator:o.mercator},mt(e,i,n,1),n.draw()}(u,e,i,n),setTimeout((function(){r.uevent.trigger("renderComplete")}),50);break;case"funnel":this.animationInstance=new Et({timing:e.timing,duration:g,onProcess:function(t){n.clearRect(0,0,e.width,e.height),e.rotate&&nt(n,e),e.chartData.funnelData=function(t,e,i,n){var a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,r=s({},{type:"funnel",activeWidth:10,activeOpacity:.3,border:!1,borderWidth:2,borderColor:"#FFFFFF",fillOpacity:1,minSize:0,labelAlign:"right",linearType:"none",customColor:[]},e.extra.funnel),o=(e.height-e.area[0]-e.area[2])/t.length,c={x:e.area[3]+(e.width-e.area[1]-e.area[3])/2,y:e.height-e.area[2]},u=r.activeWidth*e.pix,h=Math.min((e.width-e.area[1]-e.area[3])/2-u,(e.height-e.area[0]-e.area[2])/2-u),d=N(t,h,r,o,a);if(n.save(),n.translate(c.x,c.y),r.customColor=m(r.linearType,r.customColor,t,i),"pyramid"==r.type)for(var f=0;f<d.length;f++){if(f==d.length-1){e.tooltip&&e.tooltip.index==f&&(n.beginPath(),n.setFillStyle(l(d[f].color,r.activeOpacity)),n.moveTo(-u,-o),n.lineTo(-d[f].radius-u,0),n.lineTo(d[f].radius+u,0),n.lineTo(u,-o),n.lineTo(-u,-o),n.closePath(),n.fill()),d[f].funnelArea=[c.x-d[f].radius,c.y-o*(f+1),c.x+d[f].radius,c.y-o*f],n.beginPath(),n.setLineWidth(r.borderWidth*e.pix),n.setStrokeStyle(r.borderColor);var p=l(d[f].color,r.fillOpacity);if("custom"==r.linearType){var g=n.createLinearGradient(d[f].radius,-o,-d[f].radius,-o);g.addColorStop(0,l(d[f].color,r.fillOpacity)),g.addColorStop(.5,l(r.customColor[d[f].linearIndex],r.fillOpacity)),g.addColorStop(1,l(d[f].color,r.fillOpacity)),p=g}n.setFillStyle(p),n.moveTo(0,-o),n.lineTo(-d[f].radius,0),n.lineTo(d[f].radius,0),n.lineTo(0,-o),n.closePath(),n.fill(),1==r.border&&n.stroke()}else{e.tooltip&&e.tooltip.index==f&&(n.beginPath(),n.setFillStyle(l(d[f].color,r.activeOpacity)),n.moveTo(0,0),n.lineTo(-d[f].radius-u,0),n.lineTo(-d[f+1].radius-u,-o),n.lineTo(d[f+1].radius+u,-o),n.lineTo(d[f].radius+u,0),n.lineTo(0,0),n.closePath(),n.fill()),d[f].funnelArea=[c.x-d[f].radius,c.y-o*(f+1),c.x+d[f].radius,c.y-o*f],n.beginPath(),n.setLineWidth(r.borderWidth*e.pix),n.setStrokeStyle(r.borderColor);p=l(d[f].color,r.fillOpacity);if("custom"==r.linearType){g=n.createLinearGradient(d[f].radius,-o,-d[f].radius,-o);g.addColorStop(0,l(d[f].color,r.fillOpacity)),g.addColorStop(.5,l(r.customColor[d[f].linearIndex],r.fillOpacity)),g.addColorStop(1,l(d[f].color,r.fillOpacity)),p=g}n.setFillStyle(p),n.moveTo(0,0),n.lineTo(-d[f].radius,0),n.lineTo(-d[f+1].radius,-o),n.lineTo(d[f+1].radius,-o),n.lineTo(d[f].radius,0),n.lineTo(0,0),n.closePath(),n.fill(),1==r.border&&n.stroke()}n.translate(0,-o)}else{n.translate(0,-(d.length-1)*o);for(var v=0;v<d.length;v++){if(v==d.length-1){e.tooltip&&e.tooltip.index==v&&(n.beginPath(),n.setFillStyle(l(d[v].color,r.activeOpacity)),n.moveTo(-u-r.minSize/2,0),n.lineTo(-d[v].radius-u,-o),n.lineTo(d[v].radius+u,-o),n.lineTo(u+r.minSize/2,0),n.lineTo(-u-r.minSize/2,0),n.closePath(),n.fill()),d[v].funnelArea=[c.x-d[v].radius,c.y-o,c.x+d[v].radius,c.y],n.beginPath(),n.setLineWidth(r.borderWidth*e.pix),n.setStrokeStyle(r.borderColor);p=l(d[v].color,r.fillOpacity);if("custom"==r.linearType){g=n.createLinearGradient(d[v].radius,-o,-d[v].radius,-o);g.addColorStop(0,l(d[v].color,r.fillOpacity)),g.addColorStop(.5,l(r.customColor[d[v].linearIndex],r.fillOpacity)),g.addColorStop(1,l(d[v].color,r.fillOpacity)),p=g}n.setFillStyle(p),n.moveTo(0,0),n.lineTo(-r.minSize/2,0),n.lineTo(-d[v].radius,-o),n.lineTo(d[v].radius,-o),n.lineTo(r.minSize/2,0),n.lineTo(0,0),n.closePath(),n.fill(),1==r.border&&n.stroke()}else{e.tooltip&&e.tooltip.index==v&&(n.beginPath(),n.setFillStyle(l(d[v].color,r.activeOpacity)),n.moveTo(0,0),n.lineTo(-d[v+1].radius-u,0),n.lineTo(-d[v].radius-u,-o),n.lineTo(d[v].radius+u,-o),n.lineTo(d[v+1].radius+u,0),n.lineTo(0,0),n.closePath(),n.fill()),d[v].funnelArea=[c.x-d[v].radius,c.y-o*(d.length-v),c.x+d[v].radius,c.y-o*(d.length-v-1)],n.beginPath(),n.setLineWidth(r.borderWidth*e.pix),n.setStrokeStyle(r.borderColor);p=l(d[v].color,r.fillOpacity);if("custom"==r.linearType){g=n.createLinearGradient(d[v].radius,-o,-d[v].radius,-o);g.addColorStop(0,l(d[v].color,r.fillOpacity)),g.addColorStop(.5,l(r.customColor[d[v].linearIndex],r.fillOpacity)),g.addColorStop(1,l(d[v].color,r.fillOpacity)),p=g}n.setFillStyle(p),n.moveTo(0,0),n.lineTo(-d[v+1].radius,0),n.lineTo(-d[v].radius,-o),n.lineTo(d[v].radius,-o),n.lineTo(d[v+1].radius,0),n.lineTo(0,0),n.closePath(),n.fill(),1==r.border&&n.stroke()}n.translate(0,o)}}return n.restore(),!1!==e.dataLabel&&1===a&&It(d,e,n,o,r.labelAlign,u,c),1===a&&Lt(d,e,n,o,r.labelAlign,u,c),{center:c,radius:h,series:d}}(u,e,i,n,t),bt(e.series,e,i,n,e.chartData),mt(e,i,n,t),Dt(0,n)},onAnimationFinish:function(){o.uevent.trigger("renderComplete")}});break;case"line":this.animationInstance=new Et({timing:e.timing,duration:g,onProcess:function(t){n.clearRect(0,0,e.width,e.height),e.rotate&&nt(n,e),yt(0,e,0,n),xt(h,e,i,n);var a=function(t,e,i,n){var a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,r=s({},{type:"straight",width:2},e.extra.line);r.width*=e.pix;var o=e.chartData.xAxisData,c=o.xAxisPoints,l=o.eachSpacing,u=[];n.save();var h=0,d=e.width+l;return e._scrollDistance_&&0!==e._scrollDistance_&&!0===e.enableScroll&&(n.translate(e._scrollDistance_,0),h=-e._scrollDistance_-2*l+e.area[3],d=h+(e.xAxis.itemCount+4)*l),t.forEach((function(t,o){var s,p,g;s=[].concat(e.chartData.yAxisData.ranges[t.index]),p=s.pop(),g=s.shift();var v=t.data,m=X(v,p,g,c,l,e,i,a);u.push(m);var x=D(m,t);if("dash"==t.lineType){var y=t.dashLength?t.dashLength:8;y*=e.pix,n.setLineDash([y,y])}n.beginPath(),n.setStrokeStyle(t.color),n.setLineWidth(r.width),x.forEach((function(t,e){if(1===t.length)n.moveTo(t[0].x,t[0].y),n.arc(t[0].x,t[0].y,1,0,2*Math.PI);else{n.moveTo(t[0].x,t[0].y);var i=0;if("curve"===r.type)for(var a=0;a<t.length;a++){var o=t[a];if(0==i&&o.x>h&&(n.moveTo(o.x,o.y),i=1),a>0&&o.x>h&&o.x<d){var s=f(t,a-1);n.bezierCurveTo(s.ctrA.x,s.ctrA.y,s.ctrB.x,s.ctrB.y,o.x,o.y)}}if("straight"===r.type)for(var c=0;c<t.length;c++){var l=t[c];0==i&&l.x>h&&(n.moveTo(l.x,l.y),i=1),c>0&&l.x>h&&l.x<d&&n.lineTo(l.x,l.y)}if("step"===r.type)for(var u=0;u<t.length;u++){var p=t[u];0==i&&p.x>h&&(n.moveTo(p.x,p.y),i=1),u>0&&p.x>h&&p.x<d&&(n.lineTo(p.x,t[u-1].y),n.lineTo(p.x,p.y))}n.moveTo(t[0].x,t[0].y)}})),n.stroke(),n.setLineDash([]),!1!==e.dataPointShape&&at(m,t.color,t.pointShape,n,e)})),!1!==e.dataLabel&&1===a&&t.forEach((function(t,r){var o,s,u;o=[].concat(e.chartData.yAxisData.ranges[t.index]),s=o.pop(),u=o.shift();var h=t.data,d=X(h,s,u,c,l,e,i,a);ot(d,t,i,n,e)})),n.restore(),{xAxisPoints:c,calPoints:u,eachSpacing:l}}(u,e,i,n,t),r=a.xAxisPoints,o=a.calPoints,c=a.eachSpacing;e.chartData.xAxisPoints=r,e.chartData.calPoints=o,e.chartData.eachSpacing=c,_t(0,e,i,n),!1!==e.enableMarkLine&&1===t&&dt(e,i,n),bt(e.series,e,i,n,e.chartData),mt(e,i,n,t),Dt(0,n)},onAnimationFinish:function(){o.uevent.trigger("renderComplete")}});break;case"scatter":this.animationInstance=new Et({timing:e.timing,duration:g,onProcess:function(t){n.clearRect(0,0,e.width,e.height),e.rotate&&nt(n,e),yt(0,e,0,n),xt(h,e,i,n);var a=function(t,e,i,n){var a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,r=(s({},{type:"circle"},e.extra.scatter),e.chartData.xAxisData),o=r.xAxisPoints,c=r.eachSpacing,l=[];n.save();return e.width,e._scrollDistance_&&0!==e._scrollDistance_&&!0===e.enableScroll&&(n.translate(e._scrollDistance_,0),-e._scrollDistance_-2*c+e.area[3],e.xAxis.itemCount),t.forEach((function(t,r){var s,l,u;s=[].concat(e.chartData.yAxisData.ranges[t.index]),l=s.pop(),u=s.shift();var h=t.data,d=X(h,l,u,o,c,e,i,a);n.beginPath(),n.setStrokeStyle(t.color),n.setFillStyle(t.color),n.setLineWidth(1*e.pix);var f=t.pointShape;if("diamond"===f)d.forEach((function(t,e){null!==t&&(n.moveTo(t.x,t.y-4.5),n.lineTo(t.x-4.5,t.y),n.lineTo(t.x,t.y+4.5),n.lineTo(t.x+4.5,t.y),n.lineTo(t.x,t.y-4.5))}));else if("circle"===f)d.forEach((function(t,i){null!==t&&(n.moveTo(t.x+2.5*e.pix,t.y),n.arc(t.x,t.y,3*e.pix,0,2*Math.PI,!1))}));else if("square"===f)d.forEach((function(t,e){null!==t&&(n.moveTo(t.x-3.5,t.y-3.5),n.rect(t.x-3.5,t.y-3.5,7,7))}));else if("triangle"===f)d.forEach((function(t,e){null!==t&&(n.moveTo(t.x,t.y-4.5),n.lineTo(t.x-4.5,t.y+4.5),n.lineTo(t.x+4.5,t.y+4.5),n.lineTo(t.x,t.y-4.5))}));else if("triangle"===f)return;n.closePath(),n.fill(),n.stroke()})),!1!==e.dataLabel&&1===a&&t.forEach((function(t,r){var s,l,u;s=[].concat(e.chartData.yAxisData.ranges[t.index]),l=s.pop(),u=s.shift();var h=t.data,d=X(h,l,u,o,c,e,i,a);ot(d,t,i,n,e)})),n.restore(),{xAxisPoints:o,calPoints:l,eachSpacing:c}}(u,e,i,n,t),r=a.xAxisPoints,o=a.calPoints,c=a.eachSpacing;e.chartData.xAxisPoints=r,e.chartData.calPoints=o,e.chartData.eachSpacing=c,_t(0,e,i,n),!1!==e.enableMarkLine&&1===t&&dt(e,i,n),bt(e.series,e,i,n,e.chartData),mt(e,i,n,t),Dt(0,n)},onAnimationFinish:function(){o.uevent.trigger("renderComplete")}});break;case"bubble":this.animationInstance=new Et({timing:e.timing,duration:g,onProcess:function(t){n.clearRect(0,0,e.width,e.height),e.rotate&&nt(n,e),yt(0,e,0,n),xt(h,e,i,n);var a=function(t,e,i,n){var a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,r=s({},{opacity:1,border:2},e.extra.bubble),o=e.chartData.xAxisData,c=o.xAxisPoints,u=o.eachSpacing,h=[];n.save();return e.width,e._scrollDistance_&&0!==e._scrollDistance_&&!0===e.enableScroll&&(n.translate(e._scrollDistance_,0),-e._scrollDistance_-2*u+e.area[3],e.xAxis.itemCount),t.forEach((function(t,o){var s,h,d;s=[].concat(e.chartData.yAxisData.ranges[t.index]),h=s.pop(),d=s.shift();var f=t.data,p=X(f,h,d,c,u,e,i,a);n.beginPath(),n.setStrokeStyle(t.color),n.setLineWidth(r.border*e.pix),n.setFillStyle(l(t.color,r.opacity)),p.forEach((function(t,i){n.moveTo(t.x+t.r,t.y),n.arc(t.x,t.y,t.r*e.pix,0,2*Math.PI,!1)})),n.closePath(),n.fill(),n.stroke(),!1!==e.dataLabel&&1===a&&p.forEach((function(a,r){n.beginPath();var o=t.textSize*e.pix||i.fontSize;n.setFontSize(o),n.setFillStyle(t.textColor||"#FFFFFF"),n.setTextAlign("center"),n.fillText(String(a.t),a.x,a.y+o/2),n.closePath(),n.stroke(),n.setTextAlign("left")}))})),n.restore(),{xAxisPoints:c,calPoints:h,eachSpacing:u}}(u,e,i,n,t),r=a.xAxisPoints,o=a.calPoints,c=a.eachSpacing;e.chartData.xAxisPoints=r,e.chartData.calPoints=o,e.chartData.eachSpacing=c,_t(0,e,i,n),!1!==e.enableMarkLine&&1===t&&dt(e,i,n),bt(e.series,e,i,n,e.chartData),mt(e,i,n,t),Dt(0,n)},onAnimationFinish:function(){o.uevent.trigger("renderComplete")}});break;case"mix":this.animationInstance=new Et({timing:e.timing,duration:g,onProcess:function(t){n.clearRect(0,0,e.width,e.height),e.rotate&&nt(n,e),yt(0,e,0,n),xt(h,e,i,n);var r=function(t,e,i,n){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,o=e.chartData.xAxisData,c=o.xAxisPoints,u=o.eachSpacing,h=s({},{width:u/2,barBorderCircle:!1,barBorderRadius:[],seriesGap:2,linearType:"none",linearOpacity:1,customColor:[],colorStop:0},e.extra.mix.column),d=s({},{opacity:.2,gradient:!1},e.extra.mix.area),p=s({},{width:2},e.extra.mix.line),g=e.height-e.area[2],v=[],x=0,y=0;t.forEach((function(t,e){"column"==t.type&&(y+=1)})),n.save();var _=-2,b=c.length+2,w=0,S=e.width+u;if(e._scrollDistance_&&0!==e._scrollDistance_&&!0===e.enableScroll&&(n.translate(e._scrollDistance_,0),_=Math.floor(-e._scrollDistance_/u)-2,b=_+e.xAxis.itemCount+4,w=-e._scrollDistance_-2*u+e.area[3],S=w+(e.xAxis.itemCount+4)*u),h.customColor=m(h.linearType,h.customColor,t,i),t.forEach((function(t,o){var s,m,k;s=[].concat(e.chartData.yAxisData.ranges[t.index]),m=s.pop(),k=s.shift();var C=t.data,T=X(C,m,k,c,u,e,i,r);if(v.push(T),"column"==t.type){T=W(T,u,y,x,0,e);for(var P=0;P<T.length;P++){var A=T[P];if(null!==A&&P>_&&P<b){var O=A.x-A.width/2;e.height,A.y,e.area[2];n.beginPath();var I=A.color||t.color,L=A.color||t.color;if("none"!==h.linearType){var M=n.createLinearGradient(O,A.y,O,e.height-e.area[2]);"opacity"==h.linearType?(M.addColorStop(0,l(I,h.linearOpacity)),M.addColorStop(1,l(I,1))):(M.addColorStop(0,l(h.customColor[t.linearIndex],h.linearOpacity)),M.addColorStop(h.colorStop,l(h.customColor[t.linearIndex],h.linearOpacity)),M.addColorStop(1,l(I,1))),I=M}if(h.barBorderRadius&&4===h.barBorderRadius.length||h.barBorderCircle){var E=O,F=A.y,$=A.width,N=e.height-e.area[2]-A.y;h.barBorderCircle&&(h.barBorderRadius=[$/2,$/2,0,0]);var R=(0,a.default)(h.barBorderRadius,4),j=R[0],U=R[1],B=R[2],z=R[3],q=Math.min($/2,N/2);j=j>q?q:j,U=U>q?q:U,B=B>q?q:B,z=z>q?q:z,j=j<0?0:j,U=U<0?0:U,B=B<0?0:B,z=z<0?0:z,n.arc(E+j,F+j,j,-Math.PI,-Math.PI/2),n.arc(E+$-U,F+U,U,-Math.PI/2,0),n.arc(E+$-B,F+N-B,B,0,Math.PI/2),n.arc(E+z,F+N-z,z,Math.PI/2,Math.PI)}else n.moveTo(O,A.y),n.lineTo(O+A.width,A.y),n.lineTo(O+A.width,e.height-e.area[2]),n.lineTo(O,e.height-e.area[2]),n.lineTo(O,A.y),n.setLineWidth(1),n.setStrokeStyle(L);n.setFillStyle(I),n.closePath(),n.fill()}}x+=1}if("area"==t.type)for(var H=D(T,t),G=0;G<H.length;G++){var J=H[G];if(n.beginPath(),n.setStrokeStyle(t.color),n.setStrokeStyle(l(t.color,d.opacity)),d.gradient){var V=n.createLinearGradient(0,e.area[0],0,e.height-e.area[2]);V.addColorStop("0",l(t.color,d.opacity)),V.addColorStop("1.0",l("#FFFFFF",.1)),n.setFillStyle(V)}else n.setFillStyle(l(t.color,d.opacity));if(n.setLineWidth(2*e.pix),J.length>1){var K=J[0],Y=J[J.length-1];n.moveTo(K.x,K.y);var Q=0;if("curve"===t.style)for(var Z=0;Z<J.length;Z++){var tt=J[Z];if(0==Q&&tt.x>w&&(n.moveTo(tt.x,tt.y),Q=1),Z>0&&tt.x>w&&tt.x<S){var et=f(J,Z-1);n.bezierCurveTo(et.ctrA.x,et.ctrA.y,et.ctrB.x,et.ctrB.y,tt.x,tt.y)}}else for(var it=0;it<J.length;it++){var nt=J[it];0==Q&&nt.x>w&&(n.moveTo(nt.x,nt.y),Q=1),it>0&&nt.x>w&&nt.x<S&&n.lineTo(nt.x,nt.y)}n.lineTo(Y.x,g),n.lineTo(K.x,g),n.lineTo(K.x,K.y)}else{var rt=J[0];n.moveTo(rt.x-u/2,rt.y),n.lineTo(rt.x+u/2,rt.y),n.lineTo(rt.x+u/2,g),n.lineTo(rt.x-u/2,g),n.moveTo(rt.x-u/2,rt.y)}n.closePath(),n.fill()}if("line"==t.type){var ot=D(T,t);ot.forEach((function(i,a){if("dash"==t.lineType){var r=t.dashLength?t.dashLength:8;r*=e.pix,n.setLineDash([r,r])}if(n.beginPath(),n.setStrokeStyle(t.color),n.setLineWidth(p.width*e.pix),1===i.length)n.moveTo(i[0].x,i[0].y),n.arc(i[0].x,i[0].y,1,0,2*Math.PI);else{n.moveTo(i[0].x,i[0].y);var o=0;if("curve"==t.style)for(var s=0;s<i.length;s++){var c=i[s];if(0==o&&c.x>w&&(n.moveTo(c.x,c.y),o=1),s>0&&c.x>w&&c.x<S){var l=f(i,s-1);n.bezierCurveTo(l.ctrA.x,l.ctrA.y,l.ctrB.x,l.ctrB.y,c.x,c.y)}}else for(var u=0;u<i.length;u++){var h=i[u];0==o&&h.x>w&&(n.moveTo(h.x,h.y),o=1),u>0&&h.x>w&&h.x<S&&n.lineTo(h.x,h.y)}n.moveTo(i[0].x,i[0].y)}n.stroke(),n.setLineDash([])}))}"point"==t.type&&(t.addPoint=!0),1==t.addPoint&&"column"!==t.type&&at(T,t.color,t.pointShape,n,e)})),!1!==e.dataLabel&&1===r){x=0;t.forEach((function(t,a){var o,s,l;o=[].concat(e.chartData.yAxisData.ranges[t.index]),s=o.pop(),l=o.shift();var h=t.data,d=X(h,s,l,c,u,e,i,r);"column"!==t.type?ot(d,t,i,n,e):(d=W(d,u,y,x,0,e),ot(d,t,i,n,e),x+=1)}))}return n.restore(),{xAxisPoints:c,calPoints:v,eachSpacing:u}}(u,e,i,n,t),o=r.xAxisPoints,c=r.calPoints,d=r.eachSpacing;e.chartData.xAxisPoints=o,e.chartData.calPoints=c,e.chartData.eachSpacing=d,_t(0,e,i,n),!1!==e.enableMarkLine&&1===t&&dt(e,i,n),bt(e.series,e,i,n,e.chartData),mt(e,i,n,t),Dt(0,n)},onAnimationFinish:function(){o.uevent.trigger("renderComplete")}});break;case"column":this.animationInstance=new Et({timing:e.timing,duration:g,onProcess:function(t){n.clearRect(0,0,e.width,e.height),e.rotate&&nt(n,e),yt(0,e,0,n),xt(h,e,i,n);var r=function(t,e,i,n){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,o=e.chartData.xAxisData,c=o.xAxisPoints,u=o.eachSpacing,h=s({},{type:"group",width:u/2,meterBorder:4,meterFillColor:"#FFFFFF",barBorderCircle:!1,barBorderRadius:[],seriesGap:2,linearType:"none",linearOpacity:1,customColor:[],colorStop:0},e.extra.column),d=[];n.save();var f=-2,p=c.length+2;return e._scrollDistance_&&0!==e._scrollDistance_&&!0===e.enableScroll&&(n.translate(e._scrollDistance_,0),f=Math.floor(-e._scrollDistance_/u)-2,p=f+e.xAxis.itemCount+4),e.tooltip&&e.tooltip.textList&&e.tooltip.textList.length&&1===r&&pt(e.tooltip.offset.x,e,0,n,u),h.customColor=m(h.linearType,h.customColor,t,i),t.forEach((function(o,s){var g,v,m;g=[].concat(e.chartData.yAxisData.ranges[o.index]),v=g.pop(),m=g.shift();var x=o.data;switch(h.type){case"group":var y=X(x,v,m,c,u,e,i,r),_=Z(x,v,m,c,u,e,i,s,t,r);d.push(_),y=W(y,u,t.length,s,0,e);for(var b=0;b<y.length;b++){var w=y[b];if(null!==w&&b>f&&b<p){var S=w.x-w.width/2,k=e.height-w.y-e.area[2];n.beginPath();var C=w.color||o.color,T=w.color||o.color;if("none"!==h.linearType){var P=n.createLinearGradient(S,w.y,S,e.height-e.area[2]);"opacity"==h.linearType?(P.addColorStop(0,l(C,h.linearOpacity)),P.addColorStop(1,l(C,1))):(P.addColorStop(0,l(h.customColor[o.linearIndex],h.linearOpacity)),P.addColorStop(h.colorStop,l(h.customColor[o.linearIndex],h.linearOpacity)),P.addColorStop(1,l(C,1))),C=P}if(h.barBorderRadius&&4===h.barBorderRadius.length||!0===h.barBorderCircle){var A=S,O=w.y,I=w.width,L=e.height-e.area[2]-w.y;h.barBorderCircle&&(h.barBorderRadius=[I/2,I/2,0,0]);var D=(0,a.default)(h.barBorderRadius,4),M=D[0],E=D[1],F=D[2],$=D[3],N=Math.min(I/2,L/2);M=M>N?N:M,E=E>N?N:E,F=F>N?N:F,$=$>N?N:$,M=M<0?0:M,E=E<0?0:E,F=F<0?0:F,$=$<0?0:$,n.arc(A+M,O+M,M,-Math.PI,-Math.PI/2),n.arc(A+I-E,O+E,E,-Math.PI/2,0),n.arc(A+I-F,O+L-F,F,0,Math.PI/2),n.arc(A+$,O+L-$,$,Math.PI/2,Math.PI)}else n.moveTo(S,w.y),n.lineTo(S+w.width,w.y),n.lineTo(S+w.width,e.height-e.area[2]),n.lineTo(S,e.height-e.area[2]),n.lineTo(S,w.y),n.setLineWidth(1),n.setStrokeStyle(T);n.setFillStyle(C),n.closePath(),n.fill()}}break;case"stack":y=Z(x,v,m,c,u,e,i,s,t,r);d.push(y),y=G(y,u,t.length,0,0,e);for(var R=0;R<y.length;R++){var j=y[R];if(null!==j&&R>f&&R<p){n.beginPath();C=j.color||o.color,S=j.x-j.width/2+1,k=e.height-j.y-e.area[2];var U=e.height-j.y0-e.area[2];s>0&&(k-=U),n.setFillStyle(C),n.moveTo(S,j.y),n.fillRect(S,j.y,j.width,k),n.closePath(),n.fill()}}break;case"meter":y=X(x,v,m,c,u,e,i,r);d.push(y),y=H(y,u,t.length,s,0,e,h.meterBorder);for(var B=0;B<y.length;B++){var z=y[B];if(null!==z&&B>f&&B<p){n.beginPath(),0==s&&h.meterBorder>0&&(n.setStrokeStyle(o.color),n.setLineWidth(h.meterBorder*e.pix)),0==s?n.setFillStyle(h.meterFillColor):n.setFillStyle(z.color||o.color);S=z.x-z.width/2,k=e.height-z.y-e.area[2];if(h.barBorderRadius&&4===h.barBorderRadius.length||!0===h.barBorderCircle){var q=S,J=z.y,V=z.width,K=e.height-e.area[2]-z.y;h.barBorderCircle&&(h.barBorderRadius=[V/2,V/2,0,0]);var Y=(0,a.default)(h.barBorderRadius,4),Q=Y[0],tt=Y[1],et=Y[2],it=Y[3],nt=Math.min(V/2,K/2);Q=Q>nt?nt:Q,tt=tt>nt?nt:tt,et=et>nt?nt:et,it=it>nt?nt:it,Q=Q<0?0:Q,tt=tt<0?0:tt,et=et<0?0:et,it=it<0?0:it,n.arc(q+Q,J+Q,Q,-Math.PI,-Math.PI/2),n.arc(q+V-tt,J+tt,tt,-Math.PI/2,0),n.arc(q+V-et,J+K-et,et,0,Math.PI/2),n.arc(q+it,J+K-it,it,Math.PI/2,Math.PI),n.fill()}else n.moveTo(S,z.y),n.lineTo(S+z.width,z.y),n.lineTo(S+z.width,e.height-e.area[2]),n.lineTo(S,e.height-e.area[2]),n.lineTo(S,z.y),n.fill();0==s&&h.meterBorder>0&&(n.closePath(),n.stroke())}}break}})),!1!==e.dataLabel&&1===r&&t.forEach((function(a,o){var s,l,d;s=[].concat(e.chartData.yAxisData.ranges[a.index]),l=s.pop(),d=s.shift();var f=a.data;switch(h.type){case"group":var p=X(f,l,d,c,u,e,i,r);p=W(p,u,t.length,o,0,e),ot(p,a,i,n,e);break;case"stack":p=Z(f,l,d,c,u,e,i,o,t,r);ot(p,a,i,n,e);break;case"meter":p=X(f,l,d,c,u,e,i,r);ot(p,a,i,n,e);break}})),n.restore(),{xAxisPoints:c,calPoints:d,eachSpacing:u}}(u,e,i,n,t),o=r.xAxisPoints,c=r.calPoints,d=r.eachSpacing;e.chartData.xAxisPoints=o,e.chartData.calPoints=c,e.chartData.eachSpacing=d,_t(0,e,i,n),!1!==e.enableMarkLine&&1===t&&dt(e,i,n),bt(e.series,e,i,n,e.chartData),mt(e,i,n,t),Dt(0,n)},onAnimationFinish:function(){o.uevent.trigger("renderComplete")}});break;case"mount":this.animationInstance=new Et({timing:e.timing,duration:g,onProcess:function(t){n.clearRect(0,0,e.width,e.height),e.rotate&&nt(n,e),yt(0,e,0,n),xt(h,e,i,n);var r=function(t,e,i,n){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,o=e.chartData.xAxisData,c=o.xAxisPoints,u=o.eachSpacing,h=s({},{type:"mount",widthRatio:1,borderWidth:1,barBorderCircle:!1,barBorderRadius:[],linearType:"none",linearOpacity:1,customColor:[],colorStop:0},e.extra.mount);h.widthRatio=h.widthRatio<=0?0:h.widthRatio,h.widthRatio=h.widthRatio>=2?2:h.widthRatio,n.save();var d,f,p,g=-2,v=c.length+2;e._scrollDistance_&&0!==e._scrollDistance_&&!0===e.enableScroll&&(n.translate(e._scrollDistance_,0),g=Math.floor(-e._scrollDistance_/u)-2,v=g+e.xAxis.itemCount+4),h.customColor=m(h.linearType,h.customColor,t,i),d=[].concat(e.chartData.yAxisData.ranges[0]),f=d.pop(),p=d.shift();var x=Y(t,f,p,c,u,e,h,r);switch(h.type){case"bar":for(var y=0;y<x.length;y++){var _=x[y];if(null!==_&&y>g&&y<v){var b=_.x-u*h.widthRatio/2,w=e.height-_.y-e.area[2];n.beginPath();var S=_.color||t[y].color,k=_.color||t[y].color;if("none"!==h.linearType){var C=n.createLinearGradient(b,_.y,b,e.height-e.area[2]);"opacity"==h.linearType?(C.addColorStop(0,l(S,h.linearOpacity)),C.addColorStop(1,l(S,1))):(C.addColorStop(0,l(h.customColor[t[y].linearIndex],h.linearOpacity)),C.addColorStop(h.colorStop,l(h.customColor[t[y].linearIndex],h.linearOpacity)),C.addColorStop(1,l(S,1))),S=C}if(h.barBorderRadius&&4===h.barBorderRadius.length||!0===h.barBorderCircle){var T=b,P=_.y,A=_.width,O=e.height-e.area[2]-_.y-h.borderWidth*e.pix/2;h.barBorderCircle&&(h.barBorderRadius=[A/2,A/2,0,0]);var I=(0,a.default)(h.barBorderRadius,4),L=I[0],D=I[1],M=I[2],E=I[3],F=Math.min(A/2,O/2);L=L>F?F:L,D=D>F?F:D,M=M>F?F:M,E=E>F?F:E,L=L<0?0:L,D=D<0?0:D,M=M<0?0:M,E=E<0?0:E,n.arc(T+L,P+L,L,-Math.PI,-Math.PI/2),n.arc(T+A-D,P+D,D,-Math.PI/2,0),n.arc(T+A-M,P+O-M,M,0,Math.PI/2),n.arc(T+E,P+O-E,E,Math.PI/2,Math.PI)}else n.moveTo(b,_.y),n.lineTo(b+_.width,_.y),n.lineTo(b+_.width,e.height-e.area[2]),n.lineTo(b,e.height-e.area[2]),n.lineTo(b,_.y);n.setStrokeStyle(k),n.setFillStyle(S),h.borderWidth>0&&(n.setLineWidth(h.borderWidth*e.pix),n.closePath(),n.stroke()),n.fill()}}break;case"triangle":for(var $=0;$<x.length;$++){var N=x[$];if(null!==N&&$>g&&$<v){b=N.x-u*h.widthRatio/2,w=e.height-N.y-e.area[2];n.beginPath();S=N.color||t[$].color,k=N.color||t[$].color;if("none"!==h.linearType){C=n.createLinearGradient(b,N.y,b,e.height-e.area[2]);"opacity"==h.linearType?(C.addColorStop(0,l(S,h.linearOpacity)),C.addColorStop(1,l(S,1))):(C.addColorStop(0,l(h.customColor[t[$].linearIndex],h.linearOpacity)),C.addColorStop(h.colorStop,l(h.customColor[t[$].linearIndex],h.linearOpacity)),C.addColorStop(1,l(S,1))),S=C}n.moveTo(b,e.height-e.area[2]),n.lineTo(N.x,N.y),n.lineTo(b+N.width,e.height-e.area[2]),n.setStrokeStyle(k),n.setFillStyle(S),h.borderWidth>0&&(n.setLineWidth(h.borderWidth*e.pix),n.stroke()),n.fill()}}break;case"mount":for(var R=0;R<x.length;R++){var j=x[R];if(null!==j&&R>g&&R<v){b=j.x-u*h.widthRatio/2,w=e.height-j.y-e.area[2];n.beginPath();S=j.color||t[R].color,k=j.color||t[R].color;if("none"!==h.linearType){C=n.createLinearGradient(b,j.y,b,e.height-e.area[2]);"opacity"==h.linearType?(C.addColorStop(0,l(S,h.linearOpacity)),C.addColorStop(1,l(S,1))):(C.addColorStop(0,l(h.customColor[t[R].linearIndex],h.linearOpacity)),C.addColorStop(h.colorStop,l(h.customColor[t[R].linearIndex],h.linearOpacity)),C.addColorStop(1,l(S,1))),S=C}n.moveTo(b,e.height-e.area[2]),n.bezierCurveTo(j.x-j.width/4,e.height-e.area[2],j.x-j.width/4,j.y,j.x,j.y),n.bezierCurveTo(j.x+j.width/4,j.y,j.x+j.width/4,e.height-e.area[2],b+j.width,e.height-e.area[2]),n.setStrokeStyle(k),n.setFillStyle(S),h.borderWidth>0&&(n.setLineWidth(h.borderWidth*e.pix),n.stroke()),n.fill()}}break;case"sharp":for(var U=0;U<x.length;U++){var B=x[U];if(null!==B&&U>g&&U<v){b=B.x-u*h.widthRatio/2,w=e.height-B.y-e.area[2];n.beginPath();S=B.color||t[U].color,k=B.color||t[U].color;if("none"!==h.linearType){C=n.createLinearGradient(b,B.y,b,e.height-e.area[2]);"opacity"==h.linearType?(C.addColorStop(0,l(S,h.linearOpacity)),C.addColorStop(1,l(S,1))):(C.addColorStop(0,l(h.customColor[t[U].linearIndex],h.linearOpacity)),C.addColorStop(h.colorStop,l(h.customColor[t[U].linearIndex],h.linearOpacity)),C.addColorStop(1,l(S,1))),S=C}n.moveTo(b,e.height-e.area[2]),n.quadraticCurveTo(B.x-0,e.height-e.area[2]-w/4,B.x,B.y),n.quadraticCurveTo(B.x+0,e.height-e.area[2]-w/4,b+B.width,e.height-e.area[2]),n.setStrokeStyle(k),n.setFillStyle(S),h.borderWidth>0&&(n.setLineWidth(h.borderWidth*e.pix),n.stroke()),n.fill()}}break}if(!1!==e.dataLabel&&1===r){var z,W,q;z=[].concat(e.chartData.yAxisData.ranges[0]),W=z.pop(),q=z.shift();x=Y(t,W,q,c,u,e,h,r);st(x,t,i,n,e)}return n.restore(),{xAxisPoints:c,calPoints:x,eachSpacing:u}}(u,e,i,n,t),o=r.xAxisPoints,c=r.calPoints,d=r.eachSpacing;e.chartData.xAxisPoints=o,e.chartData.calPoints=c,e.chartData.eachSpacing=d,_t(0,e,i,n),!1!==e.enableMarkLine&&1===t&&dt(e,i,n),bt(e.series,e,i,n,e.chartData),mt(e,i,n,t),Dt(0,n)},onAnimationFinish:function(){o.uevent.trigger("renderComplete")}});break;case"bar":this.animationInstance=new Et({timing:e.timing,duration:g,onProcess:function(t){n.clearRect(0,0,e.width,e.height),e.rotate&&nt(n,e),xt(h,e,i,n);var r=function(t,e,i,n){for(var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,o=[],c=(e.height-e.area[0]-e.area[2])/e.categories.length,u=0;u<e.categories.length;u++)o.push(e.area[0]+c/2+c*u);var h=s({},{type:"group",width:c/2,meterBorder:4,meterFillColor:"#FFFFFF",barBorderCircle:!1,barBorderRadius:[],seriesGap:2,linearType:"none",linearOpacity:1,customColor:[],colorStop:0},e.extra.bar),d=[];n.save();var f=-2,p=o.length+2;return e.tooltip&&e.tooltip.textList&&e.tooltip.textList.length&&1===r&&gt(e.tooltip.offset.y,e,0,n,c),h.customColor=m(h.linearType,h.customColor,t,i),t.forEach((function(s,u){var g,v,m;g=[].concat(e.chartData.xAxisData.ranges),m=g.pop(),v=g.shift();var x=s.data;switch(h.type){case"group":var y=Q(x,v,m,o,c,e,i,r),_=tt(x,v,m,o,c,e,i,u,t,r);d.push(_),y=q(y,c,t.length,u,0,e);for(var b=0;b<y.length;b++){var w=y[b];if(null!==w&&b>f&&b<p){var S=e.area[3],k=w.y-w.width/2;w.height;n.beginPath();var C=w.color||s.color,T=w.color||s.color;if("none"!==h.linearType){var P=n.createLinearGradient(S,w.y,w.x,w.y);"opacity"==h.linearType?(P.addColorStop(0,l(C,h.linearOpacity)),P.addColorStop(1,l(C,1))):(P.addColorStop(0,l(h.customColor[s.linearIndex],h.linearOpacity)),P.addColorStop(h.colorStop,l(h.customColor[s.linearIndex],h.linearOpacity)),P.addColorStop(1,l(C,1))),C=P}if(h.barBorderRadius&&4===h.barBorderRadius.length||!0===h.barBorderCircle){var A=S,O=w.width,I=w.y-w.width/2,L=w.height;h.barBorderCircle&&(h.barBorderRadius=[O/2,O/2,0,0]);var D=(0,a.default)(h.barBorderRadius,4),M=D[0],E=D[1],F=D[2],$=D[3],N=Math.min(O/2,L/2);M=M>N?N:M,E=E>N?N:E,F=F>N?N:F,$=$>N?N:$,M=M<0?0:M,E=E<0?0:E,F=F<0?0:F,$=$<0?0:$,n.arc(A+$,I+$,$,-Math.PI,-Math.PI/2),n.arc(w.x-M,I+M,M,-Math.PI/2,0),n.arc(w.x-E,I+O-E,E,0,Math.PI/2),n.arc(A+F,I+O-F,F,Math.PI/2,Math.PI)}else n.moveTo(S,k),n.lineTo(w.x,k),n.lineTo(w.x,k+w.width),n.lineTo(S,k+w.width),n.lineTo(S,k),n.setLineWidth(1),n.setStrokeStyle(T);n.setFillStyle(C),n.closePath(),n.fill()}}break;case"stack":y=tt(x,v,m,o,c,e,i,u,t,r);d.push(y),y=J(y,c,t.length,0,0,e);for(var R=0;R<y.length;R++){var j=y[R];if(null!==j&&R>f&&R<p){n.beginPath();C=j.color||s.color,S=j.x0;n.setFillStyle(C),n.moveTo(S,j.y-j.width/2),n.fillRect(S,j.y-j.width/2,j.height,j.width),n.closePath(),n.fill()}}break}})),!1!==e.dataLabel&&1===r&&t.forEach((function(a,s){var l,u,d;l=[].concat(e.chartData.xAxisData.ranges),d=l.pop(),u=l.shift();var f=a.data;switch(h.type){case"group":var p=Q(f,u,d,o,c,e,i,r);p=q(p,c,t.length,s,0,e),ct(p,a,i,n,e);break;case"stack":p=tt(f,u,d,o,c,e,i,s,t,r);ct(p,a,i,n,e);break}})),{yAxisPoints:o,calPoints:d,eachSpacing:c}}(u,e,i,n,t),o=r.yAxisPoints,c=r.calPoints,d=r.eachSpacing;e.chartData.yAxisPoints=o,e.chartData.xAxisPoints=e.chartData.xAxisData.xAxisPoints,e.chartData.calPoints=c,e.chartData.eachSpacing=d,_t(0,e,i,n),!1!==e.enableMarkLine&&1===t&&dt(e,i,n),bt(e.series,e,i,n,e.chartData),mt(e,i,n,t),Dt(0,n)},onAnimationFinish:function(){o.uevent.trigger("renderComplete")}});break;case"area":this.animationInstance=new Et({timing:e.timing,duration:g,onProcess:function(t){n.clearRect(0,0,e.width,e.height),e.rotate&&nt(n,e),yt(0,e,0,n),xt(h,e,i,n);var a=function(t,e,i,n){var a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,r=s({},{type:"straight",opacity:.2,addLine:!1,width:2,gradient:!1},e.extra.area),o=e.chartData.xAxisData,c=o.xAxisPoints,u=o.eachSpacing,h=e.height-e.area[2],d=[];n.save();var p=0,g=e.width+u;return e._scrollDistance_&&0!==e._scrollDistance_&&!0===e.enableScroll&&(n.translate(e._scrollDistance_,0),p=-e._scrollDistance_-2*u+e.area[3],g=p+(e.xAxis.itemCount+4)*u),t.forEach((function(t,o){var s,v,m;s=[].concat(e.chartData.yAxisData.ranges[t.index]),v=s.pop(),m=s.shift();var x=t.data,y=X(x,v,m,c,u,e,i,a);d.push(y);for(var _=D(y,t),b=0;b<_.length;b++){var w=_[b];if(n.beginPath(),n.setStrokeStyle(l(t.color,r.opacity)),r.gradient){var S=n.createLinearGradient(0,e.area[0],0,e.height-e.area[2]);S.addColorStop("0",l(t.color,r.opacity)),S.addColorStop("1.0",l("#FFFFFF",.1)),n.setFillStyle(S)}else n.setFillStyle(l(t.color,r.opacity));if(n.setLineWidth(r.width*e.pix),w.length>1){var k=w[0],C=w[w.length-1];n.moveTo(k.x,k.y);var T=0;if("curve"===r.type)for(var P=0;P<w.length;P++){var A=w[P];if(0==T&&A.x>p&&(n.moveTo(A.x,A.y),T=1),P>0&&A.x>p&&A.x<g){var O=f(w,P-1);n.bezierCurveTo(O.ctrA.x,O.ctrA.y,O.ctrB.x,O.ctrB.y,A.x,A.y)}}if("straight"===r.type)for(var I=0;I<w.length;I++){var L=w[I];0==T&&L.x>p&&(n.moveTo(L.x,L.y),T=1),I>0&&L.x>p&&L.x<g&&n.lineTo(L.x,L.y)}if("step"===r.type)for(var M=0;M<w.length;M++){var E=w[M];0==T&&E.x>p&&(n.moveTo(E.x,E.y),T=1),M>0&&E.x>p&&E.x<g&&(n.lineTo(E.x,w[M-1].y),n.lineTo(E.x,E.y))}n.lineTo(C.x,h),n.lineTo(k.x,h),n.lineTo(k.x,k.y)}else{var F=w[0];n.moveTo(F.x-u/2,F.y),n.lineTo(F.x+u/2,F.y),n.lineTo(F.x+u/2,h),n.lineTo(F.x-u/2,h),n.moveTo(F.x-u/2,F.y)}if(n.closePath(),n.fill(),r.addLine){if("dash"==t.lineType){var $=t.dashLength?t.dashLength:8;$*=e.pix,n.setLineDash([$,$])}if(n.beginPath(),n.setStrokeStyle(t.color),n.setLineWidth(r.width*e.pix),1===w.length)n.moveTo(w[0].x,w[0].y),n.arc(w[0].x,w[0].y,1,0,2*Math.PI);else{n.moveTo(w[0].x,w[0].y);var N=0;if("curve"===r.type)for(var R=0;R<w.length;R++){var j=w[R];if(0==N&&j.x>p&&(n.moveTo(j.x,j.y),N=1),R>0&&j.x>p&&j.x<g){var U=f(w,R-1);n.bezierCurveTo(U.ctrA.x,U.ctrA.y,U.ctrB.x,U.ctrB.y,j.x,j.y)}}if("straight"===r.type)for(var B=0;B<w.length;B++){var z=w[B];0==N&&z.x>p&&(n.moveTo(z.x,z.y),N=1),B>0&&z.x>p&&z.x<g&&n.lineTo(z.x,z.y)}if("step"===r.type)for(var W=0;W<w.length;W++){var q=w[W];0==N&&q.x>p&&(n.moveTo(q.x,q.y),N=1),W>0&&q.x>p&&q.x<g&&(n.lineTo(q.x,w[W-1].y),n.lineTo(q.x,q.y))}n.moveTo(w[0].x,w[0].y)}n.stroke(),n.setLineDash([])}}!1!==e.dataPointShape&&at(y,t.color,t.pointShape,n,e)})),!1!==e.dataLabel&&1===a&&t.forEach((function(t,r){var o,s,l;o=[].concat(e.chartData.yAxisData.ranges[t.index]),s=o.pop(),l=o.shift();var h=t.data,d=X(h,s,l,c,u,e,i,a);ot(d,t,i,n,e)})),n.restore(),{xAxisPoints:c,calPoints:d,eachSpacing:u}}(u,e,i,n,t),r=a.xAxisPoints,o=a.calPoints,c=a.eachSpacing;e.chartData.xAxisPoints=r,e.chartData.calPoints=o,e.chartData.eachSpacing=c,_t(0,e,i,n),!1!==e.enableMarkLine&&1===t&&dt(e,i,n),bt(e.series,e,i,n,e.chartData),mt(e,i,n,t),Dt(0,n)},onAnimationFinish:function(){o.uevent.trigger("renderComplete")}});break;case"ring":this.animationInstance=new Et({timing:e.timing,duration:g,onProcess:function(t){n.clearRect(0,0,e.width,e.height),e.rotate&&nt(n,e),e.chartData.pieData=wt(u,e,i,n,t),bt(e.series,e,i,n,e.chartData),mt(e,i,n,t),Dt(0,n)},onAnimationFinish:function(){o.uevent.trigger("renderComplete")}});break;case"pie":this.animationInstance=new Et({timing:e.timing,duration:g,onProcess:function(t){n.clearRect(0,0,e.width,e.height),e.rotate&&nt(n,e),e.chartData.pieData=wt(u,e,i,n,t),bt(e.series,e,i,n,e.chartData),mt(e,i,n,t),Dt(0,n)},onAnimationFinish:function(){o.uevent.trigger("renderComplete")}});break;case"rose":this.animationInstance=new Et({timing:e.timing,duration:g,onProcess:function(t){n.clearRect(0,0,e.width,e.height),e.rotate&&nt(n,e),e.chartData.pieData=function(t,e,i,n){var a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,r=s({},{type:"area",activeOpacity:.5,activeRadius:10,offsetAngle:0,labelWidth:15,border:!1,borderWidth:2,borderColor:"#FFFFFF",linearType:"none",customColor:[]},e.extra.rose);0==i.pieChartLinePadding&&(i.pieChartLinePadding=r.activeRadius*e.pix);var o={x:e.area[3]+(e.width-e.area[1]-e.area[3])/2,y:e.area[0]+(e.height-e.area[0]-e.area[2])/2},c=Math.min((e.width-e.area[1]-e.area[3])/2-i.pieChartLinePadding-i.pieChartTextPadding-i._pieTextMaxLength_,(e.height-e.area[0]-e.area[2])/2-i.pieChartLinePadding-i.pieChartTextPadding);c=c<10?10:c;var u=r.minRadius||.5*c;t=R(t,r.type,u,c,a);var h=r.activeRadius*e.pix;return r.customColor=m(r.linearType,r.customColor,t,i),t=t.map((function(t){return t._start_+=(r.offsetAngle||0)*Math.PI/180,t})),t.forEach((function(t,i){e.tooltip&&e.tooltip.index==i&&(n.beginPath(),n.setFillStyle(l(t.color,r.activeOpacity||.5)),n.moveTo(o.x,o.y),n.arc(o.x,o.y,h+t._radius_,t._start_,t._start_+2*t._rose_proportion_*Math.PI),n.closePath(),n.fill()),n.beginPath(),n.setLineWidth(r.borderWidth*e.pix),n.lineJoin="round",n.setStrokeStyle(r.borderColor);var a,s=t.color;"custom"==r.linearType&&(a=n.createCircularGradient?n.createCircularGradient(o.x,o.y,t._radius_):n.createRadialGradient(o.x,o.y,0,o.x,o.y,t._radius_),a.addColorStop(0,l(r.customColor[t.linearIndex],1)),a.addColorStop(1,l(t.color,1)),s=a);n.setFillStyle(s),n.moveTo(o.x,o.y),n.arc(o.x,o.y,t._radius_,t._start_,t._start_+2*t._rose_proportion_*Math.PI),n.closePath(),n.fill(),1==r.border&&n.stroke()})),!1!==e.dataLabel&&1===a&&ht(t,e,i,n,0,o),{center:o,radius:c,series:t}}(u,e,i,n,t),bt(e.series,e,i,n,e.chartData),mt(e,i,n,t),Dt(0,n)},onAnimationFinish:function(){o.uevent.trigger("renderComplete")}});break;case"radar":this.animationInstance=new Et({timing:e.timing,duration:g,onProcess:function(t){n.clearRect(0,0,e.width,e.height),e.rotate&&nt(n,e),e.chartData.radarData=function(t,e,i,n){var a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,r=s({},{gridColor:"#cccccc",gridType:"radar",gridEval:1,axisLabel:!1,axisLabelTofix:0,labelColor:"#666666",labelPointShow:!1,labelPointRadius:3,labelPointColor:"#cccccc",opacity:.2,gridCount:3,border:!1,borderWidth:2,linearType:"none",customColor:[]},e.extra.radar),o=C(e.categories.length),c={x:e.area[3]+(e.width-e.area[1]-e.area[3])/2,y:e.area[0]+(e.height-e.area[0]-e.area[2])/2},u=(e.width-e.area[1]-e.area[3])/2,h=(e.height-e.area[0]-e.area[2])/2,d=Math.min(u-(k(e.categories,i.fontSize,n)+i.radarLabelTextMargin),h-i.radarLabelTextMargin);d-=i.radarLabelTextMargin*e.pix,d=d<10?10:d,n.beginPath(),n.setLineWidth(1*e.pix),n.setStrokeStyle(r.gridColor),o.forEach((function(t,e){var i=p(d*Math.cos(t),d*Math.sin(t),c);n.moveTo(c.x,c.y),e%r.gridEval==0&&n.lineTo(i.x,i.y)})),n.stroke(),n.closePath();for(var f=function(t){var i={};if(n.beginPath(),n.setLineWidth(1*e.pix),n.setStrokeStyle(r.gridColor),"radar"==r.gridType)o.forEach((function(e,a){var o=p(d/r.gridCount*t*Math.cos(e),d/r.gridCount*t*Math.sin(e),c);0===a?(i=o,n.moveTo(o.x,o.y)):n.lineTo(o.x,o.y)})),n.lineTo(i.x,i.y);else{var a=p(d/r.gridCount*t*Math.cos(1.5),d/r.gridCount*t*Math.sin(1.5),c);n.arc(c.x,c.y,c.y-a.y,0,2*Math.PI,!1)}n.stroke(),n.closePath()},g=1;g<=r.gridCount;g++)f(g);r.customColor=m(r.linearType,r.customColor,t,i);var v=F(o,c,d,t,e,a);if(v.forEach((function(i,a){n.beginPath(),n.setLineWidth(r.borderWidth*e.pix),n.setStrokeStyle(i.color);var o,s=l(i.color,r.opacity);"custom"==r.linearType&&(o=n.createCircularGradient?n.createCircularGradient(c.x,c.y,d):n.createRadialGradient(c.x,c.y,0,c.x,c.y,d),o.addColorStop(0,l(r.customColor[t[a].linearIndex],r.opacity)),o.addColorStop(1,l(i.color,r.opacity)),s=o);if(n.setFillStyle(s),i.data.forEach((function(t,e){0===e?n.moveTo(t.position.x,t.position.y):n.lineTo(t.position.x,t.position.y)})),n.closePath(),n.fill(),!0===r.border&&n.stroke(),n.closePath(),!1!==e.dataPointShape){var u=i.data.map((function(t){return t.position}));at(u,i.color,i.pointShape,n,e)}})),!0===r.axisLabel){var x=Math.max(r.max,Math.max.apply(null,_(t))),y=d/r.gridCount,b=e.fontSize*e.pix;n.setFontSize(b),n.setFillStyle(e.fontColor),n.setTextAlign("left");for(g=0;g<r.gridCount+1;g++){var w=g*x/r.gridCount;w=w.toFixed(r.axisLabelTofix),n.fillText(String(w),c.x+3*e.pix,c.y-g*y+b/2)}}return ut(o,d,c,e,i,n),!1!==e.dataLabel&&1===a&&(v.forEach((function(t,a){n.beginPath();var r=t.textSize*e.pix||i.fontSize;n.setFontSize(r),n.setFillStyle(t.textColor||e.fontColor),t.data.forEach((function(t,e){Math.abs(t.position.x-c.x)<2?t.position.y<c.y?(n.setTextAlign("center"),n.fillText(t.value,t.position.x,t.position.y-4)):(n.setTextAlign("center"),n.fillText(t.value,t.position.x,t.position.y+r+2)):t.position.x<c.x?(n.setTextAlign("right"),n.fillText(t.value,t.position.x-4,t.position.y+r/2-2)):(n.setTextAlign("left"),n.fillText(t.value,t.position.x+4,t.position.y+r/2-2))})),n.closePath(),n.stroke()})),n.setTextAlign("left")),{center:c,radius:d,angleList:o}}(u,e,i,n,t),bt(e.series,e,i,n,e.chartData),mt(e,i,n,t),Dt(0,n)},onAnimationFinish:function(){o.uevent.trigger("renderComplete")}});break;case"arcbar":this.animationInstance=new Et({timing:e.timing,duration:g,onProcess:function(t){n.clearRect(0,0,e.width,e.height),e.rotate&&nt(n,e),e.chartData.arcbarData=function(t,e,i,n){var a,r,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,c=s({},{startAngle:.75,endAngle:.25,type:"default",direction:"cw",lineCap:"round",width:12,gap:2,linearType:"none",customColor:[]},e.extra.arcbar);t=j(t,c,o),a=c.centerX||c.centerY?{x:c.centerX?c.centerX:e.width/2,y:c.centerY?c.centerY:e.height/2}:{x:e.width/2,y:e.height/2},c.radius?r=c.radius:(r=Math.min(a.x,a.y),r-=5*e.pix,r-=c.width/2),r=r<10?10:r,c.customColor=m(c.linearType,c.customColor,t,i);for(var u=0;u<t.length;u++){var h=t[u];n.setLineWidth(c.width*e.pix),n.setStrokeStyle(c.backgroundColor||"#E9E9E9"),n.setLineCap(c.lineCap),n.beginPath(),"default"==c.type?n.arc(a.x,a.y,r-(c.width*e.pix+c.gap*e.pix)*u,c.startAngle*Math.PI,c.endAngle*Math.PI,"ccw"==c.direction):n.arc(a.x,a.y,r-(c.width*e.pix+c.gap*e.pix)*u,0,2*Math.PI,"ccw"==c.direction),n.stroke();var d=h.color;if("custom"==c.linearType){var f=n.createLinearGradient(a.x-r,a.y,a.x+r,a.y);f.addColorStop(1,l(c.customColor[h.linearIndex],1)),f.addColorStop(0,l(h.color,1)),d=f}n.setLineWidth(c.width*e.pix),n.setStrokeStyle(d),n.setLineCap(c.lineCap),n.beginPath(),n.arc(a.x,a.y,r-(c.width*e.pix+c.gap*e.pix)*u,c.startAngle*Math.PI,h._proportion_*Math.PI,"ccw"==c.direction),n.stroke()}return rt(e,i,n,a),{center:a,radius:r,series:t}}(u,e,i,n,t),Dt(0,n)},onAnimationFinish:function(){o.uevent.trigger("renderComplete")}});break;case"gauge":this.animationInstance=new Et({timing:e.timing,duration:g,onProcess:function(t){n.clearRect(0,0,e.width,e.height),e.rotate&&nt(n,e),e.chartData.gaugeData=function(t,e,i,n,a){var r=arguments.length>5&&void 0!==arguments[5]?arguments[5]:1,o=s({},{type:"default",startAngle:.75,endAngle:.25,width:15,labelOffset:13,splitLine:{fixRadius:0,splitNumber:10,width:15,color:"#FFFFFF",childNumber:5,childWidth:5},pointer:{width:15,color:"auto"}},i.extra.gauge);void 0==o.oldAngle&&(o.oldAngle=o.startAngle),void 0==o.oldData&&(o.oldData=0),t=B(t,o.startAngle,o.endAngle);var c={x:i.width/2,y:i.height/2},u=Math.min(c.x,c.y);u-=5*i.pix,u-=o.width/2,u=u<10?10:u;var h=u-o.width,d=0;if("progress"==o.type){var f=u-3*o.width;a.beginPath();var p=a.createLinearGradient(c.x,c.y-f,c.x,c.y+f);p.addColorStop("0",l(e[0].color,.3)),p.addColorStop("1.0",l("#FFFFFF",.1)),a.setFillStyle(p),a.arc(c.x,c.y,f,0,2*Math.PI,!1),a.fill(),a.setLineWidth(o.width),a.setStrokeStyle(l(e[0].color,.3)),a.setLineCap("round"),a.beginPath(),a.arc(c.x,c.y,h,o.startAngle*Math.PI,o.endAngle*Math.PI,!1),a.stroke(),d=o.startAngle-o.endAngle+1;o.splitLine.splitNumber;var g=d/o.splitLine.splitNumber/o.splitLine.childNumber,v=-u-.5*o.width-o.splitLine.fixRadius,m=-u-o.width-o.splitLine.fixRadius+o.splitLine.width;a.save(),a.translate(c.x,c.y),a.rotate((o.startAngle-1)*Math.PI);for(var x=o.splitLine.splitNumber*o.splitLine.childNumber+1,y=e[0].data*r,_=0;_<x;_++)a.beginPath(),y>_/x?a.setStrokeStyle(l(e[0].color,1)):a.setStrokeStyle(l(e[0].color,.3)),a.setLineWidth(3*i.pix),a.moveTo(v,0),a.lineTo(m,0),a.stroke(),a.rotate(g*Math.PI);a.restore(),e=U(e,o,r),a.setLineWidth(o.width),a.setStrokeStyle(e[0].color),a.setLineCap("round"),a.beginPath(),a.arc(c.x,c.y,h,o.startAngle*Math.PI,e[0]._proportion_*Math.PI,!1),a.stroke();var b=u-2.5*o.width;a.save(),a.translate(c.x,c.y),a.rotate((e[0]._proportion_-1)*Math.PI),a.beginPath(),a.setLineWidth(o.width/3);var w=a.createLinearGradient(0,.6*-b,0,.6*b);w.addColorStop("0",l("#FFFFFF",0)),w.addColorStop("0.5",l(e[0].color,1)),w.addColorStop("1.0",l("#FFFFFF",0)),a.setStrokeStyle(w),a.arc(0,0,b,.85*Math.PI,1.15*Math.PI,!1),a.stroke(),a.beginPath(),a.setLineWidth(1),a.setStrokeStyle(e[0].color),a.setFillStyle(e[0].color),a.moveTo(-b-o.width/3/2,-4),a.lineTo(-b-o.width/3/2-4,0),a.lineTo(-b-o.width/3/2,4),a.lineTo(-b-o.width/3/2,-4),a.stroke(),a.fill(),a.restore()}else{a.setLineWidth(o.width),a.setLineCap("butt");for(var S=0;S<t.length;S++){var k=t[S];a.beginPath(),a.setStrokeStyle(k.color),a.arc(c.x,c.y,u,k._startAngle_*Math.PI,k._endAngle_*Math.PI,!1),a.stroke()}a.save(),d=o.startAngle-o.endAngle+1;var C=d/o.splitLine.splitNumber,T=d/o.splitLine.splitNumber/o.splitLine.childNumber,P=-u-.5*o.width-o.splitLine.fixRadius,A=-u-.5*o.width-o.splitLine.fixRadius+o.splitLine.width,O=-u-.5*o.width-o.splitLine.fixRadius+o.splitLine.childWidth;a.translate(c.x,c.y),a.rotate((o.startAngle-1)*Math.PI);for(var I=0;I<o.splitLine.splitNumber+1;I++)a.beginPath(),a.setStrokeStyle(o.splitLine.color),a.setLineWidth(2*i.pix),a.moveTo(P,0),a.lineTo(A,0),a.stroke(),a.rotate(C*Math.PI);a.restore(),a.save(),a.translate(c.x,c.y),a.rotate((o.startAngle-1)*Math.PI);for(var L=0;L<o.splitLine.splitNumber*o.splitLine.childNumber+1;L++)a.beginPath(),a.setStrokeStyle(o.splitLine.color),a.setLineWidth(1*i.pix),a.moveTo(P,0),a.lineTo(O,0),a.stroke(),a.rotate(T*Math.PI);a.restore(),e=z(e,t,o,r);for(var D=0;D<e.length;D++){var M=e[D];a.save(),a.translate(c.x,c.y),a.rotate((M._proportion_-1)*Math.PI),a.beginPath(),a.setFillStyle(M.color),a.moveTo(o.pointer.width,0),a.lineTo(0,-o.pointer.width/2),a.lineTo(-h,0),a.lineTo(0,o.pointer.width/2),a.lineTo(o.pointer.width,0),a.closePath(),a.fill(),a.beginPath(),a.setFillStyle("#FFFFFF"),a.arc(0,0,o.pointer.width/6,0,2*Math.PI,!1),a.fill(),a.restore()}!1!==i.dataLabel&&lt(o,u,c,i,n,a)}return rt(i,n,a,c),1===r&&"gauge"===i.type&&(i.extra.gauge.oldAngle=e[0]._proportion_,i.extra.gauge.oldData=e[0].data),{center:c,radius:u,innerRadius:h,categories:t,totalAngle:d}}(h,u,e,i,n,t),Dt(0,n)},onAnimationFinish:function(){o.uevent.trigger("renderComplete")}});break;case"candle":this.animationInstance=new Et({timing:e.timing,duration:g,onProcess:function(t){n.clearRect(0,0,e.width,e.height),e.rotate&&nt(n,e),yt(0,e,0,n),xt(h,e,i,n);var a=function(t,e,i,n,a){var r=arguments.length>5&&void 0!==arguments[5]?arguments[5]:1,o=s({},{color:{},average:{}},i.extra.candle);o.color=s({},{upLine:"#f04864",upFill:"#f04864",downLine:"#2fc25b",downFill:"#2fc25b"},o.color),o.average=s({},{show:!1,name:[],day:[],color:n.color},o.average),i.extra.candle=o;var c=i.chartData.xAxisData,l=c.xAxisPoints,u=c.eachSpacing,h=[];a.save();var d=-2,p=l.length+2,g=0,v=i.width+u;return i._scrollDistance_&&0!==i._scrollDistance_&&!0===i.enableScroll&&(a.translate(i._scrollDistance_,0),d=Math.floor(-i._scrollDistance_/u)-2,p=d+i.xAxis.itemCount+4,g=-i._scrollDistance_-2*u+i.area[3],v=g+(i.xAxis.itemCount+4)*u),(o.average.show||e)&&e.forEach((function(t,e){var o,s,c;o=[].concat(i.chartData.yAxisData.ranges[t.index]),s=o.pop(),c=o.shift();for(var h=t.data,d=X(h,s,c,l,u,i,n,r),p=D(d,t),m=0;m<p.length;m++){var x=p[m];if(a.beginPath(),a.setStrokeStyle(t.color),a.setLineWidth(1),1===x.length)a.moveTo(x[0].x,x[0].y),a.arc(x[0].x,x[0].y,1,0,2*Math.PI);else{a.moveTo(x[0].x,x[0].y);for(var y=0,_=0;_<x.length;_++){var b=x[_];if(0==y&&b.x>g&&(a.moveTo(b.x,b.y),y=1),_>0&&b.x>g&&b.x<v){var w=f(x,_-1);a.bezierCurveTo(w.ctrA.x,w.ctrA.y,w.ctrB.x,w.ctrB.y,b.x,b.y)}}a.moveTo(x[0].x,x[0].y)}a.closePath(),a.stroke()}})),t.forEach((function(t,e){var s,c,f;s=[].concat(i.chartData.yAxisData.ranges[t.index]),c=s.pop(),f=s.shift();var g=t.data,v=K(g,c,f,l,u,i,n,r);h.push(v);for(var m=D(v,t),x=0;x<m[0].length;x++)if(x>d&&x<p){var y=m[0][x];a.beginPath(),g[x][1]-g[x][0]>0?(a.setStrokeStyle(o.color.upLine),a.setFillStyle(o.color.upFill),a.setLineWidth(1*i.pix),a.moveTo(y[3].x,y[3].y),a.lineTo(y[1].x,y[1].y),a.lineTo(y[1].x-u/4,y[1].y),a.lineTo(y[0].x-u/4,y[0].y),a.lineTo(y[0].x,y[0].y),a.lineTo(y[2].x,y[2].y),a.lineTo(y[0].x,y[0].y),a.lineTo(y[0].x+u/4,y[0].y),a.lineTo(y[1].x+u/4,y[1].y),a.lineTo(y[1].x,y[1].y),a.moveTo(y[3].x,y[3].y)):(a.setStrokeStyle(o.color.downLine),a.setFillStyle(o.color.downFill),a.setLineWidth(1*i.pix),a.moveTo(y[3].x,y[3].y),a.lineTo(y[0].x,y[0].y),a.lineTo(y[0].x-u/4,y[0].y),a.lineTo(y[1].x-u/4,y[1].y),a.lineTo(y[1].x,y[1].y),a.lineTo(y[2].x,y[2].y),a.lineTo(y[1].x,y[1].y),a.lineTo(y[1].x+u/4,y[1].y),a.lineTo(y[0].x+u/4,y[0].y),a.lineTo(y[0].x,y[0].y),a.moveTo(y[3].x,y[3].y)),a.closePath(),a.fill(),a.stroke()}})),a.restore(),{xAxisPoints:l,calPoints:h,eachSpacing:u}}(u,x,e,i,n,t),r=a.xAxisPoints,o=a.calPoints,c=a.eachSpacing;e.chartData.xAxisPoints=r,e.chartData.calPoints=o,e.chartData.eachSpacing=c,_t(0,e,i,n),!1!==e.enableMarkLine&&1===t&&dt(e,i,n),bt(x?0:e.series,e,i,n,e.chartData),mt(e,i,n,t),Dt(0,n)},onAnimationFinish:function(){o.uevent.trigger("renderComplete")}});break}}function $t(){this.events={}}Et.prototype.stop=function(){this.isStop=!0},$t.prototype.addEventListener=function(t,e){this.events[t]=this.events[t]||[],this.events[t].push(e)},$t.prototype.delEventListener=function(t){this.events[t]=[]},$t.prototype.trigger=function(){for(var t=arguments.length,e=Array(t),i=0;i<t;i++)e[i]=arguments[i];var n=e[0],a=e.slice(1);this.events[n]&&this.events[n].forEach((function(t){try{t.apply(null,a)}catch(e){}}))};var Nt=function(t){t.pix=t.pixelRatio?t.pixelRatio:1,t.fontSize=t.fontSize?t.fontSize:13,t.fontColor=t.fontColor?t.fontColor:o.fontColor,""!=t.background&&"none"!=t.background||(t.background="#FFFFFF"),t.title=s({},t.title),t.subtitle=s({},t.subtitle),t.duration=t.duration?t.duration:1e3,t.yAxis=s({},{data:[],showTitle:!1,disabled:!1,disableGrid:!1,gridSet:"number",splitNumber:5,gridType:"solid",dashLength:4*t.pix,gridColor:"#cccccc",padding:10,fontColor:"#666666"},t.yAxis),t.xAxis=s({},{rotateLabel:!1,rotateAngle:45,disabled:!1,disableGrid:!1,splitNumber:5,calibration:!1,gridType:"solid",dashLength:4,scrollAlign:"left",boundaryGap:"center",axisLine:!0,axisLineColor:"#cccccc"},t.xAxis),t.xAxis.scrollPosition=t.xAxis.scrollAlign,t.legend=s({},{show:!0,position:"bottom",float:"center",backgroundColor:"rgba(0,0,0,0)",borderColor:"rgba(0,0,0,0)",borderWidth:0,padding:5,margin:5,itemGap:10,fontSize:t.fontSize,lineHeight:t.fontSize,fontColor:t.fontColor,formatter:{},hiddenColor:"#CECECE"},t.legend),t.extra=s({},t.extra),t.rotate=!!t.rotate,t.animation=!!t.animation,t.rotate=!!t.rotate,t.canvas2d=!!t.canvas2d;var e=s({},o);if(e.color=t.color?t.color:e.color,"pie"==t.type&&(e.pieChartLinePadding=!1===t.dataLabel?0:t.extra.pie.labelWidth*t.pix||e.pieChartLinePadding*t.pix),"ring"==t.type&&(e.pieChartLinePadding=!1===t.dataLabel?0:t.extra.ring.labelWidth*t.pix||e.pieChartLinePadding*t.pix),"rose"==t.type&&(e.pieChartLinePadding=!1===t.dataLabel?0:t.extra.rose.labelWidth*t.pix||e.pieChartLinePadding*t.pix),e.pieChartTextPadding=!1===t.dataLabel?0:e.pieChartTextPadding*t.pix,e.rotate=t.rotate,t.rotate){var i=t.width,n=t.height;t.width=n,t.height=i}if(t.padding=t.padding?t.padding:e.padding,e.yAxisWidth=o.yAxisWidth*t.pix,e.xAxisHeight=o.xAxisHeight*t.pix,t.enableScroll&&t.xAxis.scrollShow&&(e.xAxisHeight+=6*t.pix),e.fontSize=t.fontSize*t.pix,e.titleFontSize=o.titleFontSize*t.pix,e.subtitleFontSize=o.subtitleFontSize*t.pix,e.toolTipPadding=o.toolTipPadding*t.pix,e.toolTipLineHeight=o.toolTipLineHeight*t.pix,!t.context)throw new Error("[uCharts] \u672a\u83b7\u53d6\u5230context\uff01\u6ce8\u610f\uff1av2.0\u7248\u672c\u540e\uff0c\u9700\u8981\u81ea\u884c\u83b7\u53d6canvas\u7684\u7ed8\u56fe\u4e0a\u4e0b\u6587\u5e76\u4f20\u5165opts.context\uff01");this.context=t.context,this.context.setTextAlign||(this.context.setStrokeStyle=function(t){return this.strokeStyle=t},this.context.setLineWidth=function(t){return this.lineWidth=t},this.context.setLineCap=function(t){return this.lineCap=t},this.context.setFontSize=function(t){return this.font=t+"px sans-serif"},this.context.setFillStyle=function(t){return this.fillStyle=t},this.context.setTextAlign=function(t){return this.textAlign=t},this.context.draw=function(){}),this.context.setLineDash||(this.context.setLineDash=function(t){}),t.chartData={},this.uevent=new $t,this.scrollOption={currentOffset:0,startTouchX:0,distance:0,lastMoveTime:0},this.opts=t,this.config=e,Ft.call(this,t.type,t,e,this.context)};Nt.prototype.updateData=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.opts=s({},this.opts,t),this.opts.updateData=!0;var e=t.scrollPosition||"current";switch(e){case"current":this.opts._scrollDistance_=this.scrollOption.currentOffset;break;case"left":this.opts._scrollDistance_=0,this.scrollOption={currentOffset:0,startTouchX:0,distance:0,lastMoveTime:0};break;case"right":var i=it(this.opts.series,this.opts,this.config,this.context),n=i.yAxisWidth;this.config.yAxisWidth=n;var a=0,r=V(this.opts.categories,this.opts,this.config),o=r.xAxisPoints,c=r.startX,l=r.endX,u=r.eachSpacing,h=u*(o.length-1),d=l-c;a=d-h,this.scrollOption={currentOffset:a,startTouchX:a,distance:0,lastMoveTime:0},this.opts._scrollDistance_=a;break}Ft.call(this,this.opts.type,this.opts,this.config,this.context)},Nt.prototype.zoom=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.opts.xAxis.itemCount;if(!0===this.opts.enableScroll){var i=Math.round(Math.abs(this.scrollOption.currentOffset)/this.opts.chartData.eachSpacing)+Math.round(this.opts.xAxis.itemCount/2);this.opts.animation=!1,this.opts.xAxis.itemCount=e.itemCount;var n=it(this.opts.series,this.opts,this.config,this.context),a=n.yAxisWidth;this.config.yAxisWidth=a;var r=0,o=V(this.opts.categories,this.opts,this.config),s=o.xAxisPoints,c=o.startX,l=o.endX,u=o.eachSpacing,d=u*i,f=l-c,p=f-u*(s.length-1);r=f/2-d,r>0&&(r=0),r<p&&(r=p),this.scrollOption={currentOffset:r,startTouchX:0,distance:0,lastMoveTime:0},h(this,r,this.opts.chartData,this.config,this.opts),this.opts._scrollDistance_=r,Ft.call(this,this.opts.type,this.opts,this.config,this.context)}else t("log","[uCharts] \u8bf7\u542f\u7528\u6eda\u52a8\u6761\u540e\u4f7f\u7528"," at uni_modules/qiun-data-charts/js_sdk/u-charts/u-charts.js:6828")},Nt.prototype.dobuleZoom=function(e){if(!0===this.opts.enableScroll){var i=e.changedTouches;if(!(i.length<2)){for(var n=0;n<i.length;n++)i[n].x=i[n].x?i[n].x:i[n].clientX,i[n].y=i[n].y?i[n].y:i[n].clientY;var a=[w(i[0],this.opts,e),w(i[1],this.opts,e)],r=Math.abs(a[0].x-a[1].x);if(!this.scrollOption.moveCount){var o={changedTouches:[{x:i[0].x,y:this.opts.area[0]/this.opts.pix+2}]},s={changedTouches:[{x:i[1].x,y:this.opts.area[0]/this.opts.pix+2}]};this.opts.rotate&&(o={changedTouches:[{x:this.opts.height/this.opts.pix-this.opts.area[0]/this.opts.pix-2,y:i[0].y}]},s={changedTouches:[{x:this.opts.height/this.opts.pix-this.opts.area[0]/this.opts.pix-2,y:i[1].y}]});var c=this.getCurrentDataIndex(o).index,l=this.getCurrentDataIndex(s).index,u=Math.abs(c-l);return this.scrollOption.moveCount=u,this.scrollOption.moveCurrent1=Math.min(c,l),void(this.scrollOption.moveCurrent2=Math.max(c,l))}var d=r/this.scrollOption.moveCount,f=(this.opts.width-this.opts.area[1]-this.opts.area[3])/d;f=f<=2?2:f,f=f>=this.opts.categories.length?this.opts.categories.length:f,this.opts.animation=!1,this.opts.xAxis.itemCount=f;var p=0,g=V(this.opts.categories,this.opts,this.config),v=g.xAxisPoints,m=g.startX,x=g.endX,y=g.eachSpacing,_=y*this.scrollOption.moveCurrent1,b=x-m,S=b-y*(v.length-1);p=-_+Math.min(a[0].x,a[1].x)-this.opts.area[3]-y,p>0&&(p=0),p<S&&(p=S),this.scrollOption.currentOffset=p,this.scrollOption.startTouchX=0,this.scrollOption.distance=0,h(this,p,this.opts.chartData,this.config,this.opts),this.opts._scrollDistance_=p,Ft.call(this,this.opts.type,this.opts,this.config,this.context)}}else t("log","[uCharts] \u8bf7\u542f\u7528\u6eda\u52a8\u6761\u540e\u4f7f\u7528"," at uni_modules/qiun-data-charts/js_sdk/u-charts/u-charts.js:6868")},Nt.prototype.stopAnimation=function(){this.animationInstance&&this.animationInstance.stop()},Nt.prototype.addEventListener=function(t,e){this.uevent.addEventListener(t,e)},Nt.prototype.delEventListener=function(t){this.uevent.delEventListener(t)},Nt.prototype.getCurrentDataIndex=function(t){var e=null;if(e=t.changedTouches?t.changedTouches[0]:t.mp.changedTouches[0],e){var i=w(e,this.opts,t);return"pie"===this.opts.type||"ring"===this.opts.type?function(t,e,i){var n=-1,a=$(e.series);if(e&&e.center&&L(t,e.center,e.radius)){var r=Math.atan2(e.center.y-t.y,t.x-e.center.x);r=-r,i.extra.pie&&i.extra.pie.offsetAngle&&(r-=i.extra.pie.offsetAngle*Math.PI/180),i.extra.ring&&i.extra.ring.offsetAngle&&(r-=i.extra.ring.offsetAngle*Math.PI/180);for(var o=0,s=a.length;o<s;o++)if(d(r,a[o]._start_,a[o]._start_+2*a[o]._proportion_*Math.PI)){n=o;break}}return n}({x:i.x,y:i.y},this.opts.chartData.pieData,this.opts):"rose"===this.opts.type?function(t,e,i){var n=-1,a=R(i._series_,i.extra.rose.type,e.radius,e.radius);if(e&&e.center&&L(t,e.center,e.radius)){var r=Math.atan2(e.center.y-t.y,t.x-e.center.x);r=-r,i.extra.rose&&i.extra.rose.offsetAngle&&(r-=i.extra.rose.offsetAngle*Math.PI/180);for(var o=0,s=a.length;o<s;o++)if(d(r,a[o]._start_,a[o]._start_+2*a[o]._rose_proportion_*Math.PI)){n=o;break}}return n}({x:i.x,y:i.y},this.opts.chartData.pieData,this.opts):"radar"===this.opts.type?function(t,e,i){var n=2*Math.PI/i,a=-1;if(L(t,e.center,e.radius)){var r=function(t){return t<0&&(t+=2*Math.PI),t>2*Math.PI&&(t-=2*Math.PI),t},o=Math.atan2(e.center.y-t.y,t.x-e.center.x);o*=-1,o<0&&(o+=2*Math.PI);var s=e.angleList.map((function(t){return t=r(-1*t),t}));s.forEach((function(t,e){var i=r(t-n/2),s=r(t+n/2);s<i&&(s+=2*Math.PI),(o>=i&&o<=s||o+2*Math.PI>=i&&o+2*Math.PI<=s)&&(a=e)}))}return a}({x:i.x,y:i.y},this.opts.chartData.radarData,this.opts.categories.length):"funnel"===this.opts.type?function(t,e){for(var i=-1,n=0,a=e.series.length;n<a;n++){var r=e.series[n];if(t.x>r.funnelArea[0]&&t.x<r.funnelArea[2]&&t.y>r.funnelArea[1]&&t.y<r.funnelArea[3]){i=n;break}}return i}({x:i.x,y:i.y},this.opts.chartData.funnelData):"map"===this.opts.type?function(t,e){for(var i=-1,n=e.chartData.mapData,a=e.series,r=function(t,e,i,n,a,r){return{x:(e-a)/n+i.xMin,y:i.yMax-(t-r)/n}}(t.y,t.x,n.bounds,n.scale,n.xoffset,n.yoffset),o=[r.x,r.y],s=0,c=a.length;s<c;s++){var l=a[s].geometry.coordinates;if(Tt(o,l,e.chartData.mapData.mercator)){i=s;break}}return i}({x:i.x,y:i.y},this.opts):"word"===this.opts.type?function(t,e){for(var i=-1,n=0,a=e.length;n<a;n++){var r=e[n];if(t.x>r.area[0]&&t.x<r.area[2]&&t.y>r.area[1]&&t.y<r.area[3]){i=n;break}}return i}({x:i.x,y:i.y},this.opts.chartData.wordCloudData):"bar"===this.opts.type?function(t,e,i,n){var a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,r={index:-1,group:[]},o=i.chartData.eachSpacing/2,s=i.chartData.yAxisPoints;return e&&e.length>0&&I(t,i,n)&&s.forEach((function(e,i){t.y+a+o>e&&(r.index=i)})),r}({x:i.x,y:i.y},this.opts.chartData.calPoints,this.opts,this.config,Math.abs(this.scrollOption.currentOffset)):function(t,e,i,n){var a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,r={index:-1,group:[]},o=i.chartData.eachSpacing/2,s=[];if(e&&e.length>0){if(i.categories){for(var c=1;c<i.chartData.xAxisPoints.length;c++)s.push(i.chartData.xAxisPoints[c]-o);"line"!=i.type&&"area"!=i.type||"justify"!=i.xAxis.boundaryGap||(s=i.chartData.xAxisPoints)}else o=0;if(I(t,i,n))if(i.categories)s.forEach((function(e,i){t.x+a+o>e&&(r.index=i)}));else{for(var l=Array(e.length),u=0;u<e.length;u++){l[u]=Array(e[u].length);for(var h=0;h<e[u].length;h++)l[u][h]=Math.abs(e[u][h].x-t.x)}for(var d=Array(l.length),f=Array(l.length),p=0;p<l.length;p++)d[p]=Math.min.apply(null,l[p]),f[p]=l[p].indexOf(d[p]);var g=Math.min.apply(null,d);r.index=[];for(var v=0;v<d.length;v++)d[v]==g&&(r.group.push(v),r.index.push(f[v]))}}return r}({x:i.x,y:i.y},this.opts.chartData.calPoints,this.opts,this.config,Math.abs(this.scrollOption.currentOffset))}return-1},Nt.prototype.getLegendDataIndex=function(t){var e=null;if(e=t.changedTouches?t.changedTouches[0]:t.mp.changedTouches[0],e){var i=w(e,this.opts,t);return function(t,e,i){var n=-1;if(function(t,e){return t.x>e.start.x&&t.x<e.end.x&&t.y>e.start.y&&t.y<e.end.y}(t,e.area)){for(var a=e.points,r=-1,o=0,s=a.length;o<s;o++)for(var c=a[o],l=0;l<c.length;l++){r+=1;var u=c[l]["area"];if(u&&t.x>u[0]-0&&t.x<u[2]+0&&t.y>u[1]-0&&t.y<u[3]+0){n=r;break}}return n}return n}({x:i.x,y:i.y},this.opts.chartData.legendData)}return-1},Nt.prototype.touchLegend=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=null;if(i=t.changedTouches?t.changedTouches[0]:t.mp.changedTouches[0],i){w(i,this.opts,t);var n=this.getLegendDataIndex(t);n>=0&&("candle"==this.opts.type?this.opts.seriesMA[n].show=!this.opts.seriesMA[n].show:this.opts.series[n].show=!this.opts.series[n].show,this.opts.animation=!!e.animation,this.opts._scrollDistance_=this.scrollOption.currentOffset,Ft.call(this,this.opts.type,this.opts,this.config,this.context))}},Nt.prototype.showToolTip=function(e){var i=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=null;a=e.changedTouches?e.changedTouches[0]:e.mp.changedTouches[0],a||t("log","[uCharts] \u672a\u83b7\u53d6\u5230event\u5750\u6807\u4fe1\u606f"," at uni_modules/qiun-data-charts/js_sdk/u-charts/u-charts.js:7046");var r=w(a,this.opts,e),o=this.scrollOption.currentOffset,c=s({},this.opts,{_scrollDistance_:o,animation:!1});if("line"===this.opts.type||"area"===this.opts.type||"column"===this.opts.type||"scatter"===this.opts.type||"bubble"===this.opts.type){var l=this.getCurrentDataIndex(e),u=void 0==n.index?l.index:n.index;if(u>-1||u.length>0){var h=S(this.opts.series,u,l.group);if(0!==h.length){var d=T(h,this.opts,u,l.group,this.opts.categories,n),f=d.textList,p=d.offset;p.y=r.y,c.tooltip={textList:void 0!==n.textList?n.textList:f,offset:void 0!==n.offset?n.offset:p,option:n,index:u}}}Ft.call(this,c.type,c,this.config,this.context)}if("mount"===this.opts.type){u=void 0==n.index?this.getCurrentDataIndex(e).index:n.index;if(u>-1){c=s({},this.opts,{animation:!1}),h=s({},c._series_[u]),f=[{text:n.formatter?n.formatter(h,void 0,u,c):h.name+": "+h.data,color:h.color}],p={x:c.chartData.calPoints[u].x,y:r.y};c.tooltip={textList:n.textList?n.textList:f,offset:void 0!==n.offset?n.offset:p,option:n,index:u}}Ft.call(this,c.type,c,this.config,this.context)}if("bar"===this.opts.type){l=this.getCurrentDataIndex(e),u=void 0==n.index?l.index:n.index;if(u>-1||u.length>0){h=S(this.opts.series,u,l.group);if(0!==h.length){d=T(h,this.opts,u,l.group,this.opts.categories,n),f=d.textList,p=d.offset;p.x=r.x,c.tooltip={textList:void 0!==n.textList?n.textList:f,offset:void 0!==n.offset?n.offset:p,option:n,index:u}}}Ft.call(this,c.type,c,this.config,this.context)}if("mix"===this.opts.type){l=this.getCurrentDataIndex(e),u=void 0==n.index?l.index:n.index;if(u>-1){o=this.scrollOption.currentOffset,c=s({},this.opts,{_scrollDistance_:o,animation:!1}),h=S(this.opts.series,u);if(0!==h.length){var g=P(h,this.opts,u,this.opts.categories,n);f=g.textList,p=g.offset;p.y=r.y,c.tooltip={textList:n.textList?n.textList:f,offset:void 0!==n.offset?n.offset:p,option:n,index:u}}}Ft.call(this,c.type,c,this.config,this.context)}if("candle"===this.opts.type){l=this.getCurrentDataIndex(e),u=void 0==n.index?l.index:n.index;if(u>-1){o=this.scrollOption.currentOffset,c=s({},this.opts,{_scrollDistance_:o,animation:!1}),h=S(this.opts.series,u);if(0!==h.length){d=A(this.opts.series[0].data,h,this.opts,u,this.opts.categories,this.opts.extra.candle,n),f=d.textList,p=d.offset;p.y=r.y,c.tooltip={textList:n.textList?n.textList:f,offset:void 0!==n.offset?n.offset:p,option:n,index:u}}}Ft.call(this,c.type,c,this.config,this.context)}if("pie"===this.opts.type||"ring"===this.opts.type||"rose"===this.opts.type||"funnel"===this.opts.type){u=void 0==n.index?this.getCurrentDataIndex(e):n.index;if(u>-1){c=s({},this.opts,{animation:!1}),h=s({},c._series_[u]),f=[{text:n.formatter?n.formatter(h,void 0,u,c):h.name+": "+h.data,color:h.color}],p={x:r.x,y:r.y};c.tooltip={textList:n.textList?n.textList:f,offset:void 0!==n.offset?n.offset:p,option:n,index:u}}Ft.call(this,c.type,c,this.config,this.context)}if("map"===this.opts.type){u=void 0==n.index?this.getCurrentDataIndex(e):n.index;if(u>-1){c=s({},this.opts,{animation:!1}),h=s({},this.opts.series[u]);h.name=h.properties.name;f=[{text:n.formatter?n.formatter(h,void 0,u,this.opts):h.name,color:h.color}],p={x:r.x,y:r.y};c.tooltip={textList:n.textList?n.textList:f,offset:void 0!==n.offset?n.offset:p,option:n,index:u}}c.updateData=!1,Ft.call(this,c.type,c,this.config,this.context)}if("word"===this.opts.type){u=void 0==n.index?this.getCurrentDataIndex(e):n.index;if(u>-1){c=s({},this.opts,{animation:!1}),h=s({},this.opts.series[u]),f=[{text:n.formatter?n.formatter(h,void 0,u,this.opts):h.name,color:h.color}],p={x:r.x,y:r.y};c.tooltip={textList:n.textList?n.textList:f,offset:void 0!==n.offset?n.offset:p,option:n,index:u}}c.updateData=!1,Ft.call(this,c.type,c,this.config,this.context)}if("radar"===this.opts.type){u=void 0==n.index?this.getCurrentDataIndex(e):n.index;if(u>-1){c=s({},this.opts,{animation:!1}),h=S(this.opts.series,u);if(0!==h.length){f=h.map((function(t){return{text:n.formatter?n.formatter(t,i.opts.categories[u],u,i.opts):t.name+": "+t.data,color:t.color}})),p={x:r.x,y:r.y};c.tooltip={textList:n.textList?n.textList:f,offset:void 0!==n.offset?n.offset:p,option:n,index:u}}}Ft.call(this,c.type,c,this.config,this.context)}},Nt.prototype.translate=function(t){this.scrollOption={currentOffset:t,startTouchX:t,distance:0,lastMoveTime:0};var e=s({},this.opts,{_scrollDistance_:t,animation:!1});Ft.call(this,this.opts.type,e,this.config,this.context)},Nt.prototype.scrollStart=function(t){var e=null;e=t.changedTouches?t.changedTouches[0]:t.mp.changedTouches[0];var i=w(e,this.opts,t);e&&!0===this.opts.enableScroll&&(this.scrollOption.startTouchX=i.x)},Nt.prototype.scroll=function(t){0===this.scrollOption.lastMoveTime&&(this.scrollOption.lastMoveTime=Date.now());var e=this.opts.touchMoveLimit||60,i=Date.now(),n=i-this.scrollOption.lastMoveTime;if(!(n<Math.floor(1e3/e))&&0!=this.scrollOption.startTouchX){this.scrollOption.lastMoveTime=i;var a=null;if(a=t.changedTouches?t.changedTouches[0]:t.mp.changedTouches[0],a&&!0===this.opts.enableScroll){var r,o=w(a,this.opts,t);r=o.x-this.scrollOption.startTouchX;var c=this.scrollOption.currentOffset,l=h(this,c+r,this.opts.chartData,this.config,this.opts);this.scrollOption.distance=r=l-c;var u=s({},this.opts,{_scrollDistance_:c+r,animation:!1});return this.opts=u,Ft.call(this,u.type,u,this.config,this.context),c+r}}},Nt.prototype.scrollEnd=function(t){if(!0===this.opts.enableScroll){var e=this.scrollOption,i=e.currentOffset,n=e.distance;this.scrollOption.currentOffset=i+n,this.scrollOption.distance=0,this.scrollOption.moveCount=0}};var Rt=Nt;e.default=Rt}).call(this,i("f3b9")["default"])},"1a14":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=["#1890FF","#91CB74","#FAC858","#EE6666","#73C0DE","#3CA272","#FC8452","#9A60B4","#ea7ccc"],a={type:["pie","ring","rose","word","funnel","map","arcbar","line","column","mount","bar","area","radar","gauge","candle","mix","tline","tarea","scatter","bubble","demotype"],range:["\u997c\u72b6\u56fe","\u5706\u73af\u56fe","\u73ab\u7470\u56fe","\u8bcd\u4e91\u56fe","\u6f0f\u6597\u56fe","\u5730\u56fe","\u5706\u5f27\u8fdb\u5ea6\u6761","\u6298\u7ebf\u56fe","\u67f1\u72b6\u56fe","\u5c71\u5cf0\u56fe","\u6761\u72b6\u56fe","\u533a\u57df\u56fe","\u96f7\u8fbe\u56fe","\u4eea\u8868\u76d8","K\u7ebf\u56fe","\u6df7\u5408\u56fe","\u65f6\u95f4\u8f74\u6298\u7ebf","\u65f6\u95f4\u8f74\u533a\u57df","\u6563\u70b9\u56fe","\u6c14\u6ce1\u56fe","\u81ea\u5b9a\u4e49\u7c7b\u578b"],categories:["line","column","mount","bar","area","radar","gauge","candle","mix","demotype"],instance:{},option:{},formatter:{yAxisDemo1:function(t,e,i){return t+"\u5143"},yAxisDemo2:function(t,e,i){return t.toFixed(2)},xAxisDemo1:function(t,e,i){return t+"\u5e74"},xAxisDemo2:function(t,e,i){return function(t,e){var i=new Date;i.setTime(1e3*t);var n=i.getFullYear(),a=i.getMonth()+1;a=a<10?"0"+a:a;var r=i.getDate();r=r<10?"0"+r:r;var o=i.getHours();o=o<10?"0"+o:o;var s=i.getMinutes(),c=i.getSeconds();return s=s<10?"0"+s:s,c=c<10?"0"+c:c,"full"==e?n+"-"+a+"-"+r+" "+o+":"+s+":"+c:"y-m-d"==e?n+"-"+a+"-"+r:"h:m"==e?o+":"+s:"h:m:s"==e?o+":"+s+":"+c:[n,a,r,o,s,c]}(t,"h:m")},seriesDemo1:function(t,e,i,n){return t+"\u5143"},tooltipDemo1:function(t,e,i,n){return 0==i?"\u968f\u4fbf\u7528"+t.data+"\u5e74":"\u5176\u4ed6\u6211\u6ca1\u6539"+t.data+"\u5929"},pieDemo:function(t,e,i,n){if(void 0!==e)return i[e].name+"\uff1a"+i[e].data+"\u5143"}},demotype:{type:"line",color:n,padding:[15,10,0,15],xAxis:{disableGrid:!0},yAxis:{gridType:"dash",dashLength:2},legend:{},extra:{line:{type:"curve",width:2}}},pie:{type:"pie",color:n,padding:[5,5,5,5],extra:{pie:{activeOpacity:.5,activeRadius:10,offsetAngle:0,labelWidth:15,border:!0,borderWidth:3,borderColor:"#FFFFFF"}}},ring:{type:"ring",color:n,padding:[5,5,5,5],rotate:!1,dataLabel:!1,legend:{show:!1,position:"right",lineHeight:25},title:{name:"\u6536\u76ca\u7387",fontSize:15,color:"#666666"},subtitle:{name:"70%",fontSize:25,color:"#7cb5ec"},extra:{ring:{ringWidth:30,activeOpacity:.5,activeRadius:10,offsetAngle:0,labelWidth:15,border:!0,borderWidth:3,borderColor:"#FFFFFF"}}},rose:{type:"rose",color:n,padding:[5,5,5,5],legend:{show:!0,position:"left",lineHeight:25},extra:{rose:{type:"area",minRadius:50,activeOpacity:.5,activeRadius:10,offsetAngle:0,labelWidth:15,border:!1,borderWidth:2,borderColor:"#FFFFFF"}}},word:{type:"word",color:n,extra:{word:{type:"normal",autoColors:!1}}},funnel:{type:"funnel",color:n,padding:[15,15,0,15],extra:{funnel:{activeOpacity:.3,activeWidth:10,border:!0,borderWidth:2,borderColor:"#FFFFFF",fillOpacity:1,labelAlign:"right"}}},map:{type:"map",color:n,padding:[0,0,0,0],dataLabel:!0,extra:{map:{border:!0,borderWidth:1,borderColor:"#666666",fillOpacity:.6,activeBorderColor:"#F04864",activeFillColor:"#FACC14",activeFillOpacity:1}}},arcbar:{type:"arcbar",color:n,title:{name:"\u767e\u5206\u6bd4",fontSize:25,color:"#00FF00"},subtitle:{name:"\u9ed8\u8ba4\u6807\u9898",fontSize:15,color:"#666666"},extra:{arcbar:{type:"default",width:12,backgroundColor:"#E9E9E9",startAngle:.75,endAngle:.25,gap:2}}},line:{type:"line",color:n,padding:[15,10,0,15],xAxis:{disableGrid:!0},yAxis:{gridType:"dash",dashLength:2},legend:{},extra:{line:{type:"straight",width:2}}},tline:{type:"line",color:n,padding:[15,10,0,15],xAxis:{disableGrid:!1,boundaryGap:"justify"},yAxis:{gridType:"dash",dashLength:2,data:[{min:0,max:80}]},legend:{},extra:{line:{type:"curve",width:2}}},tarea:{type:"area",color:n,padding:[15,10,0,15],xAxis:{disableGrid:!0,boundaryGap:"justify"},yAxis:{gridType:"dash",dashLength:2,data:[{min:0,max:80}]},legend:{},extra:{area:{type:"curve",opacity:.2,addLine:!0,width:2,gradient:!0}}},column:{type:"column",color:n,padding:[15,15,0,5],xAxis:{disableGrid:!0},yAxis:{data:[{min:0}]},legend:{},extra:{column:{type:"group",width:30,activeBgColor:"#000000",activeBgOpacity:.08}}},mount:{type:"mount",color:n,padding:[15,15,0,5],xAxis:{disableGrid:!0},yAxis:{data:[{min:0}]},legend:{},extra:{mount:{type:"mount",widthRatio:1.5}}},bar:{type:"bar",color:n,padding:[15,30,0,5],xAxis:{boundaryGap:"justify",disableGrid:!1,min:0,axisLine:!1},yAxis:{},legend:{},extra:{bar:{type:"group",width:30,meterBorde:1,meterFillColor:"#FFFFFF",activeBgColor:"#000000",activeBgOpacity:.08}}},area:{type:"area",color:n,padding:[15,15,0,15],xAxis:{disableGrid:!0},yAxis:{gridType:"dash",dashLength:2},legend:{},extra:{area:{type:"straight",opacity:.2,addLine:!0,width:2,gradient:!1}}},radar:{type:"radar",color:n,padding:[5,5,5,5],dataLabel:!1,legend:{show:!0,position:"right",lineHeight:25},extra:{radar:{gridType:"radar",gridColor:"#CCCCCC",gridCount:3,opacity:.2,max:200}}},gauge:{type:"gauge",color:n,title:{name:"66Km/H",fontSize:25,color:"#2fc25b",offsetY:50},subtitle:{name:"\u5b9e\u65f6\u901f\u5ea6",fontSize:15,color:"#1890ff",offsetY:-50},extra:{gauge:{type:"default",width:30,labelColor:"#666666",startAngle:.75,endAngle:.25,startNumber:0,endNumber:100,labelFormat:"",splitLine:{fixRadius:0,splitNumber:10,width:30,color:"#FFFFFF",childNumber:5,childWidth:12},pointer:{width:24,color:"auto"}}}},candle:{type:"candle",color:n,padding:[15,15,0,15],enableScroll:!0,enableMarkLine:!0,dataLabel:!1,xAxis:{labelCount:4,itemCount:40,disableGrid:!0,gridColor:"#CCCCCC",gridType:"solid",dashLength:4,scrollShow:!0,scrollAlign:"left",scrollColor:"#A6A6A6",scrollBackgroundColor:"#EFEBEF"},yAxis:{},legend:{},extra:{candle:{color:{upLine:"#f04864",upFill:"#f04864",downLine:"#2fc25b",downFill:"#2fc25b"},average:{show:!0,name:["MA5","MA10","MA30"],day:[5,10,20],color:["#1890ff","#2fc25b","#facc14"]}},markLine:{type:"dash",dashLength:5,data:[{value:2150,lineColor:"#f04864",showLabel:!0},{value:2350,lineColor:"#f04864",showLabel:!0}]}}},mix:{type:"mix",color:n,padding:[15,15,0,15],xAxis:{disableGrid:!0},yAxis:{disabled:!1,disableGrid:!1,splitNumber:5,gridType:"dash",dashLength:4,gridColor:"#CCCCCC",padding:10,showTitle:!0,data:[]},legend:{},extra:{mix:{column:{width:20}}}},scatter:{type:"scatter",color:n,padding:[15,15,0,15],dataLabel:!1,xAxis:{disableGrid:!1,gridType:"dash",splitNumber:5,boundaryGap:"justify",min:0},yAxis:{disableGrid:!1,gridType:"dash"},legend:{},extra:{scatter:{}}},bubble:{type:"bubble",color:n,padding:[15,15,0,15],xAxis:{disableGrid:!1,gridType:"dash",splitNumber:5,boundaryGap:"justify",min:0,max:250},yAxis:{disableGrid:!1,gridType:"dash",data:[{min:0,max:150}]},legend:{},extra:{bubble:{border:2,opacity:.5}}}},r=a;e.default=r},"1b21":function(t,e,i){t.exports=i.p+"static/f1.png"},"1efb":function(t,e,i){"use strict";i.r(e);var n=i("22a2"),a=i.n(n);for(var r in n)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(r);e["default"]=a.a},"20f7":function(t,e,i){t.exports=i.p+"static/a1.png"},"21fd":function(t,e,i){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i={name:"uniPopup",components:{},emits:["change","maskClick"],props:{animation:{type:Boolean,default:!0},type:{type:String,default:"center"},isMaskClick:{type:Boolean,default:null},maskClick:{type:Boolean,default:null},backgroundColor:{type:String,default:"none"},safeArea:{type:Boolean,default:!0},maskBackgroundColor:{type:String,default:"rgba(0, 0, 0, 0.4)"}},watch:{type:{handler:function(t){this.config[t]&&this[this.config[t]](!0)},immediate:!0},isDesktop:{handler:function(t){this.config[t]&&this[this.config[this.type]](!0)},immediate:!0},maskClick:{handler:function(t){this.mkclick=t},immediate:!0},isMaskClick:{handler:function(t){this.mkclick=t},immediate:!0},showPopup:function(t){}},data:function(){return{duration:300,ani:[],showPopup:!1,showTrans:!1,popupWidth:0,popupHeight:0,config:{top:"top",bottom:"bottom",center:"center",left:"left",right:"right",message:"top",dialog:"center",share:"bottom"},maskClass:{position:"fixed",bottom:0,top:0,left:0,right:0,backgroundColor:"rgba(0, 0, 0, 0.4)"},transClass:{position:"fixed",left:0,right:0},maskShow:!0,mkclick:!0,popupstyle:this.isDesktop?"fixforpc-top":"top"}},computed:{isDesktop:function(){return this.popupWidth>=500&&this.popupHeight>=500},bg:function(){return""===this.backgroundColor||"none"===this.backgroundColor?"transparent":this.backgroundColor}},mounted:function(){var t=this;(function(){var e=uni.getSystemInfoSync(),i=e.windowWidth,n=e.windowHeight,a=e.windowTop,r=e.safeArea,o=(e.screenHeight,e.safeAreaInsets);t.popupWidth=i,t.popupHeight=n+a,t.safeAreaInsets=r?o.bottom:0})()},created:function(){null===this.isMaskClick&&null===this.maskClick?this.mkclick=!0:this.mkclick=null!==this.isMaskClick?this.isMaskClick:this.maskClick,this.animation?this.duration=300:this.duration=0,this.messageChild=null,this.clearPropagation=!1,this.maskClass.backgroundColor=this.maskBackgroundColor},methods:{closeMask:function(){this.maskShow=!1},disableMask:function(){this.mkclick=!1},clear:function(t){t.stopPropagation(),this.clearPropagation=!0},open:function(e){e&&-1!==["top","center","bottom","left","right","message","dialog","share"].indexOf(e)||(e=this.type),this.config[e]?(this[this.config[e]](),this.$emit("change",{show:!0,type:e})):t("error","\u7f3a\u5c11\u7c7b\u578b\uff1a",e," at uni_modules/uni-popup/components/uni-popup/uni-popup.vue:246")},close:function(t){var e=this;this.showTrans=!1,this.$emit("change",{show:!1,type:this.type}),clearTimeout(this.timer),this.timer=setTimeout((function(){e.showPopup=!1}),300)},touchstart:function(){this.clearPropagation=!1},onTap:function(){this.clearPropagation?this.clearPropagation=!1:(this.$emit("maskClick"),this.mkclick&&this.close())},top:function(t){var e=this;this.popupstyle=this.isDesktop?"fixforpc-top":"top",this.ani=["slide-top"],this.transClass={position:"fixed",left:0,right:0,backgroundColor:this.bg},t||(this.showPopup=!0,this.showTrans=!0,this.$nextTick((function(){e.messageChild&&"message"===e.type&&e.messageChild.timerClose()})))},bottom:function(t){this.popupstyle="bottom",this.ani=["slide-bottom"],this.transClass={position:"fixed",left:0,right:0,bottom:0,paddingBottom:this.safeAreaInsets+"px",backgroundColor:this.bg},t||(this.showPopup=!0,this.showTrans=!0)},center:function(t){this.popupstyle="center",this.ani=["zoom-out","fade"],this.transClass={position:"fixed",display:"flex",flexDirection:"column",bottom:0,left:0,right:0,top:0,justifyContent:"center",alignItems:"center"},t||(this.showPopup=!0,this.showTrans=!0)},left:function(t){this.popupstyle="left",this.ani=["slide-left"],this.transClass={position:"fixed",left:0,bottom:0,top:0,backgroundColor:this.bg,display:"flex",flexDirection:"column"},t||(this.showPopup=!0,this.showTrans=!0)},right:function(t){this.popupstyle="right",this.ani=["slide-right"],this.transClass={position:"fixed",bottom:0,right:0,top:0,backgroundColor:this.bg,display:"flex",flexDirection:"column"},t||(this.showPopup=!0,this.showTrans=!0)}}};e.default=i}).call(this,i("f3b9")["default"])},"22a2":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n={props:{title:{type:[String,Number],default:"\u6807\u9898"}},computed:{titleText:function(){return this.title}},data:function(){return{}}};e.default=n},"28cf":function(t,e,i){"use strict";i.r(e);var n=i("7d36"),a=i("b9a5");for(var r in a)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(r);var o=i("828b"),s=Object(o["a"])(a["default"],n["b"],n["c"],!1,null,null,null,!1,n["a"],void 0);e["default"]=s.exports},"297d":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n={data:function(){return{}},created:function(){this.popup=this.getParent()},methods:{getParent:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"uniPopup",e=this.$parent,i=e.$options.name;while(i!==t){if(e=e.$parent,!e)return!1;i=e.$options.name}return e}}};e.default=n},"2c9f":function(t,e,i){"use strict";(function(t){var n=i("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=n(i("5ddc")),r=n(i("bf04")),o={data:function(){return{commonUrl:null,show:!0,modeClass:"fade",styles:{},baseIP:"",baseLedId:"",basePort:"",crnId:"",value:"",xDistance:0,yDistance:0,xDuration:0,yDuration:0,used:317,usedPr:90,stockCount:0,emptyCount:0,noneCount:0,chartsData:{Line:{categories:[],series:[]},Pie:{series:[{data:[]}]}},chartsDataLine1:{},chartsDataPie2:{},ringOpts:{},year:2022,month:4,day:14,hours:13,minutes:38,seconds:13,week:"\u661f\u671f\u56db",ani:"",move:!1,topMove:"topUp",floorMove:"",version:"",newspaper:"",errorPaper:"",title:"",staNo:"",matnr:"",maknx:"",specs:"",count:"",orderNo:null,doneOfTray:"",totalOfTray:"",doneOfUnit:"",totalOfUnit:"",errorMsg:null,width:"full-width",errorShow:"",pakinShow:"",pakinGun:"",orderShow:!1,swiper:"swiper-here",autoplay:!0,interval:1e3,duration:8e3,matList:[],ejectShow:!1}},mounted:function(){var t=uni.getStorageSync("BaseIp"),e=uni.getStorageSync("BaseLedId"),i=uni.getStorageSync("BasePort"),n=uni.getStorageSync("BaseCrnId");this.baseIP=t,this.baseLedId=e,this.basePort=i,this.baseCrnId=n,this.getUrl()},onLoad:function(){},onReady:function(){var t=this;setInterval((function(){t.initlineChart(),t.initPieChart(),t.getServerData(),t.getOther(),t.getDate(),t.getPakin(),t.getError(),t.animation(),t.getUrl()}),1e3)},methods:{getUrl:function(){this.commonUrl=this.baseHttp+this.baseIP+":"+this.basePort+this.baseUrl,this.chartsDataLine1=JSON.parse(JSON.stringify(r.default.Line))},getYYY:function(){var t=a.default.dataEEE,e=t.data;if(e.data&&""!==e.data)this.errorMsg=e.data,this.errorShow=!0,this.move=!1;else{if(this.errorPaper="",this.errorShow=!1,this.pakinShow)return;this.move=!0}},getEEE:function(){var t=a.default.dataYYY,e=t.data;if(e.data&&null!==e.data){if(101===e.data[0].ioType?this.title="\u5168\u677f\u51fa\u5e93":103===e.data[0].ioType&&(this.title="\u68c0\u6599\u51fa\u5e93"),this.staNo="\u76ee\u6807\u7ad9:"+e.data[0].staNo,this.matnr="\u5546\u54c1\u7f16\u53f7\uff1a"+e.data[0].matDtos[0].matnr,this.maknx="\u5546\u54c1\u540d\u79f0\uff1a"+e.data[0].matDtos[0].maknx,this.count="\u51fa\u5e93\u6570\u91cf\uff1a"+e.data[0].matDtos[0].count,e.data[0].orderNo?(this.orderNo="\u8ba2\u5355\u53f7\uff1a"+e.data[0].orderNo,this.orderShow=!0,this.width="half-width"):(this.orderNo=null,this.orderShow=!1,this.width="full-width"),this.doneOfTray="\u5df2\u51fa\u6258\u76d8\u6570:"+e.data[0].doneOfTray,this.totalOfTray="\u6258\u76d8\u603b\u6570\u91cf\uff1a"+e.data[0].totalOfTray,this.doneOfUnit="\u5df2\u51fa\u7bb1\u6570\uff1a"+e.data[0].doneOfUnit,this.totalOfUnit="\u603b\u7bb1\u6570\uff1a"+e.data[0].totalOfUnit,this.errorShow)return;this.newspaper="",this.move=!1}else this.move=!0},getError:function(){var t,e=this;uni.request({url:e.commonUrl+"/monitor/led/error",data:{ledId:e.baseLedId},method:"GET",success:function(i){t=i.data,t.data&&""!==t.data?(e.errorMsg=t.data,e.errorShow=!0,e.move=!1):e.errorShow=!1}})},getPakin:function(){var t=this;t.matList=[];var e;uni.request({url:t.commonUrl+"/monitor/led",data:{ledId:t.baseLedId},method:"GET",success:function(i){e=i.data,t.errorShow||(e.data&&null!==e.data?(101===e.data[0].ioType?t.title="\u5168\u677f\u51fa\u5e93":103===e.data[0].ioType?t.title="\u68c0\u6599\u51fa\u5e93":t.title=e.data[0].title,t.staNo="\u76ee\u6807\u7ad9:"+e.data[0].staNo,t.matnr="\u5546\u54c1\u7f16\u53f7\uff1a"+e.data[0].matDtos[0].matnr,t.maknx="\u5546\u54c1\u540d\u79f0\uff1a"+e.data[0].matDtos[0].maknx,t.specs="\u89c4\u683c\uff1a"+e.data[0].matDtos[0].specs,t.count="\u51fa\u5e93\u6570\u91cf\uff1a"+e.data[0].matDtos[0].count,e.data[0].orderNo?(t.orderNo="\u8ba2\u5355\u53f7\uff1a"+e.data[0].orderNo,t.orderShow=!0,t.width="half-width"):(t.orderNo=null,t.orderShow=!1,t.width="full-width"),t.doneOfTray="\u5df2\u51fa\u6258\u76d8\u6570:"+e.data[0].doneOfTray,t.totalOfTray="\u6258\u76d8\u603b\u6570\u91cf\uff1a"+e.data[0].totalOfTray,t.doneOfUnit="\u5df2\u51fa\u7bb1\u6570\uff1a"+e.data[0].doneOfUnit,t.totalOfUnit="\u603b\u7bb1\u6570\uff1a"+e.data[0].totalOfUnit,t.newspaper="",t.move=!1):t.move=!0)}})},animation:function(){this.move?(this.topMove="topUp",this.floorMove="floorUp"):(this.topMove="topDown",this.floorMove="floorDown")},getDateFormat:function(t){var e=new Date;e.setDate(e.getDate()+t);var i=e.getMonth()+1,n=e.getDate(),a=i+"-"+n;return a},initlineChart:function(){var e=this;uni.request({url:e.commonUrl+"/monitor/line/charts",method:"GET",success:function(i){var n=i.data;t("log",i," at pages/index/index.vue:586"),200===n.code&&(e.chartsData.Line.categories=[e.getDateFormat(-11),e.getDateFormat(-10),e.getDateFormat(-9),e.getDateFormat(-8),e.getDateFormat(-7),e.getDateFormat(-6),e.getDateFormat(-5),e.getDateFormat(-4),e.getDateFormat(-3),e.getDateFormat(-2),e.getDateFormat(-1),e.getDateFormat(0)],e.chartsData.Line.series=n.data.rows)}})},initPieChart:function(){var t=this;uni.request({url:t.commonUrl+"/monitor/loc/rep",method:"GET",success:function(e){var i=e.data;200===i.code&&(t.chartsData.Pie.series[0].data=i.data.pie,t.stockCount=i.data.stockCunt,t.emptyCount=i.data.emptyCount,t.noneCount=i.data.noneCount,t.used=i.data.used,t.usedPr=i.data.usedPr)}})},getOther:function(){var e=this;uni.request({url:e.commonUrl+"/monitor/other",data:{crnId:e.baseCrnId,ledId:1},success:function(i){t("log",i," at pages/index/index.vue:626");var n=i.data;200===n.code?(e.xDistance=n.data.xDistance,e.yDistance=n.data.yDistance,e.xDuration=n.data.xDuration,e.yDuration=n.data.yDuration):n.code}})},ejected:function(){this.ejectShow=!0},ejectConfirm:function(){uni.setStorageSync("BaseIp",this.baseIP),uni.setStorageSync("BaseLedId",this.baseLedId),uni.setStorageSync("BasePort",this.basePort),uni.setStorageSync("BaseCrnId",this.baseCrnId),this.getUrl(),this.ejectShow=!1},ejectClose:function(){this.ejectShow=!1},getServerData:function(){this.chartsDataLine1=JSON.parse(JSON.stringify(this.chartsData.Line)),this.chartsDataPie2=JSON.parse(JSON.stringify(this.chartsData.Pie))},complete:function(e){t("log","\u6e32\u67d3\u5b8c\u6210\u4e8b\u4ef6",e," at pages/index/index.vue:662")},getDate:function(){var t=new Date;switch(this.year=t.getFullYear(),this.month=t.getMonth()+1<10?"0"+(t.getMonth()+1):t.getMonth()+1,this.day=t.getDate()<10?"0"+t.getDate():t.getDate(),this.hours=t.getHours()<10?"0"+t.getHours():t.getHours(),this.minutes=t.getMinutes()<10?"0"+t.getMinutes():t.getMinutes(),this.seconds=t.getSeconds()<10?"0"+t.getSeconds():t.getSeconds(),this.weeks=t.getDay(),this.weeks){case 0:this.week="\u661f\u671f\u65e5";break;case 1:this.week="\u661f\u671f\u4e00";break;case 2:this.week="\u661f\u671f\u4e8c";break;case 3:this.week="\u661f\u671f\u4e09";break;case 4:this.week="\u661f\u671f\u56db";break;case 5:this.week="\u661f\u671f\u4e94";break;default:this.week="\u661f\u671f\u516d"}}}};e.default=o}).call(this,i("f3b9")["default"])},"2f40":function(t){t.exports=JSON.parse('{"uni-popup.cancel":"cancel","uni-popup.ok":"ok","uni-popup.placeholder":"pleace enter","uni-popup.title":"Hint","uni-popup.shareTitle":"Share to"}')},"2f51":function(t){t.exports=JSON.parse('{"uni-popup.cancel":"\u53d6\u6d88","uni-popup.ok":"\u78ba\u5b9a","uni-popup.placeholder":"\u8acb\u8f38\u5165","uni-popup.title":"\u63d0\u793a","uni-popup.shareTitle":"\u5206\u4eab\u5230"}')},"2fe5":function(t){t.exports=JSON.parse('{"uni-popup.cancel":"\u53d6\u6d88","uni-popup.ok":"\u786e\u5b9a","uni-popup.placeholder":"\u8bf7\u8f93\u5165","uni-popup.title":"\u63d0\u793a","uni-popup.shareTitle":"\u5206\u4eab\u5230"}')},3352:function(t,e){t.exports=function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t},t.exports.__esModule=!0,t.exports["default"]=t.exports},3400:function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return a})),i.d(e,"a",(function(){}));var n=function(){var t=this.$createElement,e=this._self._c||t;return e("view",{staticClass:this._$s(0,"sc","container loading6"),attrs:{_i:0}},[e("view",{staticClass:this._$s(1,"sc","shape shape1"),attrs:{_i:1}}),e("view",{staticClass:this._$s(2,"sc","shape shape2"),attrs:{_i:2}}),e("view",{staticClass:this._$s(3,"sc","shape shape3"),attrs:{_i:3}}),e("view",{staticClass:this._$s(4,"sc","shape shape4"),attrs:{_i:4}})])},a=[]},"34cf":function(t,e,i){var n=i("ed45"),a=i("7172"),r=i("6382"),o=i("dd3e");t.exports=function(t,e){return n(t)||a(t,e)||r(t,e)||o()},t.exports.__esModule=!0,t.exports["default"]=t.exports},"357c":function(t,e,i){"use strict";i.r(e);var n=i("e286"),a=i("1efb");for(var r in a)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(r);var o=i("828b"),s=Object(o["a"])(a["default"],n["b"],n["c"],!1,null,null,null,!1,n["a"],void 0);e["default"]=s.exports},"3b29":function(t,e,i){"use strict";i.r(e);var n=i("ac5c"),a=i("0671");for(var r in a)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(r);var o=i("828b"),s=Object(o["a"])(a["default"],n["b"],n["c"],!1,null,null,null,!1,n["a"],void 0);e["default"]=s.exports},"3b2d":function(t,e){function i(e){return t.exports=i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t.exports.__esModule=!0,t.exports["default"]=t.exports,i(e)}t.exports=i,t.exports.__esModule=!0,t.exports["default"]=t.exports},"3c26":function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return a})),i.d(e,"a",(function(){}));var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("view",[i("view",[i("swiper",{attrs:{autoplay:t._$s(2,"a-autoplay",t.autoplay),interval:t._$s(2,"a-interval",t.interval),duration:t._$s(2,"a-duration",t.duration),_i:2}},t._l(t._$s(3,"f",{forItems:t.list}),(function(e,n,a,r){return i("swiper-item",{key:t._$s(3,"f",{forIndex:a,key:n})},[i("view",[t._v(t._$s("4-"+r,"t0-0",t._s(e)))])])})),0)])])},a=[]},"3c8c":function(t,e,i){"use strict";i.r(e);var n=i("96e5"),a=i("c547");for(var r in a)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(r);var o=i("828b"),s=Object(o["a"])(a["default"],n["b"],n["c"],!1,null,"28993e7f",null,!1,n["a"],void 0);e["default"]=s.exports},"3d72":function(t,e,i){"use strict";i.r(e);var n=i("1611"),a=i.n(n);for(var r in n)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(r);e["default"]=a.a},"3f60":function(t,e,i){"use strict";i.r(e);var n=i("ebd2"),a=i.n(n);for(var r in n)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(r);e["default"]=a.a},"3f6f":function(t,e,i){"use strict";i.r(e);var n=i("6a1e"),a=i.n(n);for(var r in n)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(r);e["default"]=a.a},"451d":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={pages:[{path:"pages/home/home",style:{navigationStyle:"custom","app-plus":{titleNView:!1}}},{path:"pages/test/test",style:{navigationStyle:"custom","app-plus":{titleNView:!1}}},{path:"pages/index",style:{navigationStyle:"custom","app-plus":{titleNView:!1}}},{path:"pages/index/index",style:{navigationStyle:"custom","app-plus":{titleNView:!1}}},{path:"pages/index/monitor",style:{navigationStyle:"custom"}},{path:"pages/test/test",style:{navigationStyle:"custom","app-plus":{titleNView:!1}}}],globalStyle:{navigationBarTextStyle:"black",navigationBarTitleText:"uni-app",navigationBarBackgroundColor:"#F8F8F8",backgroundColor:"#F8F8F8",pageOrientation:"landscape"}}},"468a":function(t,e,i){"use strict";i.r(e);var n=i("1511"),a=i("a9ce");for(var r in a)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(r);var o=i("828b"),s=Object(o["a"])(a["default"],n["b"],n["c"],!1,null,"0f7e34c8",null,!1,n["a"],void 0);e["default"]=s.exports},"47a9":function(t,e){t.exports=function(t){return t&&t.__esModule?t:{default:t}},t.exports.__esModule=!0,t.exports["default"]=t.exports},4965:function(t,e){t.exports=function(t){try{return-1!==Function.toString.call(t).indexOf("[native code]")}catch(e){return"function"===typeof t}},t.exports.__esModule=!0,t.exports["default"]=t.exports},4969:function(t,e,i){"use strict";i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return r})),i.d(e,"a",(function(){return n}));var n={uniTransition:i("997e").default},a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return t._$s(0,"i",t.showPopup)?i("view",{staticClass:t._$s(0,"sc","uni-popup"),class:t._$s(0,"c",[t.popupstyle,t.isDesktop?"fixforpc-z-index":""]),attrs:{_i:0},on:{touchmove:function(e){return e.stopPropagation(),e.preventDefault(),t.clear(e)}}},[i("view",{attrs:{_i:1},on:{touchstart:t.touchstart}},[t._$s(2,"i",t.maskShow)?i("uni-transition",{key:"1",attrs:{name:"mask","mode-class":"fade",styles:t.maskClass,duration:t.duration,show:t.showTrans,_i:2},on:{click:t.onTap}}):t._e(),i("uni-transition",{key:"2",attrs:{"mode-class":t.ani,name:"content",styles:t.transClass,duration:t.duration,show:t.showTrans,_i:3},on:{click:t.onTap}},[i("view",{staticClass:t._$s(4,"sc","uni-popup__wrapper"),class:t._$s(4,"c",[t.popupstyle]),style:t._$s(4,"s",{backgroundColor:t.bg}),attrs:{_i:4},on:{click:t.clear}},[t._t("default",null,{_i:5})],2)])],1)]):t._e()},r=[]},"4c4f":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n={data:function(){return{data:"",url:"http://10.10.10.120:9090/wcs/h5/index.html"}},onShow:function(){var t=this;uni.getStorage({key:"data",success:function(e){t.data=e.data}})},methods:{setUrl:function(){""!=this.url&&(uni.setStorage({key:"data",data:this.url}),this.data=this.url)},clearUrl:function(){this.data="",this.url="http://10.10.10.120:9090/wcs/h5/index.html",uni.removeStorage({key:"data"})}}};e.default=n},"4c8c":function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return a})),i.d(e,"a",(function(){}));var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return t._$s(0,"i",t.isShow)?i("view",{ref:"ani",class:t._$s(0,"c",t.customClass),style:t._$s(0,"s",t.transformStyles),attrs:{animation:t._$s(0,"a-animation",t.animationData),_i:0},on:{click:t.onClick}},[t._t("default",null,{_i:1})],2):t._e()},a=[]},"4ffb":function(t,e,i){var n=i("3b2d")["default"],a=i("3352");t.exports=function(t,e){if(e&&("object"===n(e)||"function"===typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return a(t)},t.exports.__esModule=!0,t.exports["default"]=t.exports},5607:function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return a})),i.d(e,"a",(function(){}));var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("view",[t._$s(1,"i",1==t.loadingType)?i("Loading1",{attrs:{_i:1}}):t._e(),t._$s(2,"i",2==t.loadingType)?i("Loading2",{attrs:{_i:2}}):t._e(),t._$s(3,"i",3==t.loadingType)?i("Loading3",{attrs:{_i:3}}):t._e(),t._$s(4,"i",4==t.loadingType)?i("Loading4",{attrs:{_i:4}}):t._e(),t._$s(5,"i",5==t.loadingType)?i("Loading5",{attrs:{_i:5}}):t._e()],1)},a=[]},"5ddc":function(t){t.exports=JSON.parse('{"dataInfo2":{"data":{"msg":"\u64cd\u4f5c\u6210\u529f","code":200,"data":[{"title":"\u5168\u677f\u51fa\u5e93","workNo":8046,"staNo":200,"sourceStaNo":null,"locNo":null,"sourceLocNo":"1500502","barcode":"80009901","matDtos":[{"orderNo":"ck11111111111","brand":"ck11111111111","number":"100","weight":"123.568","matnr":"020101000001","maknx":"63-90\u578b\u5355\u7acb\u67f1","batch":null,"count":40,"specs":"gcslxwt","info":"\u6d59\u6c5f\u4e2d\u626c","bz":"\u7ea2\u8272","total":200},{"orderNo":"ck11111111111","matnr":"LPJ.SLJ.XG.037","maknx":"\u5de5\u7a0b\u5851\u6599\u4e0b\u5f2f\u5934","batch":null,"count":40,"specs":"gcslxwt","info":"\u6d59\u6c5f\u4e2d\u626c","bz":"\u6682\u5b58","total":200},{"orderNo":"ck11111111111","matnr":"LPJ.SLJ.XG.037","maknx":"\u5de5\u7a0b\u5851\u6599\u4e0b\u5f2f\u5934","batch":null,"count":40,"specs":"gcslxwt","info":"\u6d59\u6c5f\u4e2d\u626c","bz":"\u7ea2\u8272","total":200},{"matnr":"LPJ.SLJ.XG.037","maknx":"\u5de5\u7a0b\u5851\u6599\u4e0b\u5f2f\u5934","batch":null,"count":40,"specs":"gcslxwt","info":"\u6d59\u6c5f\u4e2d\u626c","bz":"","total":200},{"matnr":"LPJ.SLJ.XG.037","maknx":"\u5de5\u7a0b\u5851\u6599\u4e0b\u5f2f\u5934","batch":null,"count":40,"specs":"gcslxwt","info":"\u6d59\u6c5f\u4e2d\u626c","bz":"","total":200},{"matnr":"LPJ.SLJ.XG.037","maknx":"\u5de5\u7a0b\u5851\u6599\u4e0b\u5f2f\u5934","batch":null,"count":40,"specs":"gcslxwt","info":"\u6d59\u6c5f\u4e2d\u626c","bz":"","total":200},{"matnr":"LPJ.SLJ.XG.037","maknx":"\u5de5\u7a0b\u5851\u6599\u4e0b\u5f2f\u5934","batch":null,"count":40,"specs":"gcslxwt","info":"\u6d59\u6c5f\u4e2d\u626c","bz":"17\u53f7\u6846","total":200}],"emptyMk":false,"ioType":101}]}},"dataError2":{"data":{"msg":"\u64cd\u4f5c\u6210\u529f","code":200,"data":""}},"lineData":{"msg":"\u64cd\u4f5c\u6210\u529f","code":200,"data":{"rows":[{"name":"\u5165\u5e93\u6570\u91cf","data":[0,0,0,0,1,1,0,0,4,4,0,4]},{"name":"\u51fa\u5e93\u6570\u91cf","data":[0,0,0,0,0,0,0,0,3,4,0,1]}]}},"pieData":{"msg":"\u64cd\u4f5c\u6210\u529f","code":200,"data":{"emptyCount":3582,"noneCount":256,"total":3840,"stockCunt":2,"usedPr":0.1,"used":2,"pie":[{"name":"\u5728\u5e93","value":2},{"name":"\u7a7a","value":3582},{"name":"\u4f7f\u7528","value":0},{"name":"\u7981\u7528","value":256}]}},"other":{"msg":"\u64cd\u4f5c\u6210\u529f","code":200,"data":{"xDistance":15651,"xSpeed":32704,"zSpeed":32704,"yDistance":15,"yDuration":0,"ySpeed":32704,"xDuration":0,"content":"","forkPos":1,"isShow":false}}}')},"5e2e":function(t,e,i){"use strict";i.r(e);var n=i("7b96"),a=i("3f6f");for(var r in a)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(r);var o=i("828b"),s=Object(o["a"])(a["default"],n["b"],n["c"],!1,null,"cc06004c",null,!1,n["a"],void 0);e["default"]=s.exports},"5e84":function(t,e,i){"use strict";(function(t){var n=i("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=n(i("5ddc")),r=n(i("9e36")),o={data:function(){return{series:[],homeViewShow:!0,infoViewShow:!1,errorInfoViewShow:!1,homeMode:[],infoMode:[],errorInfoMode:[],needUpdateCharts:!1,viewSwitchTimer:null,viewSwitchInProgress:!1,timerIds:[],baseInfo:{xDistance:1,yDistance:2,xDuration:3,yDuration:4,usedPr:50,used:3537,stockCount:"",emptyCount:"",noneCount:""},chartsData:{Line:{categories:[],series:[]},Pie:{series:[{data:[]}]}},duration:1e3,calendar:"",ringOpts:{},chartsDataLine1:{},chartsDataPie2:{},fontSize:"",height:"",showCharts:!1,ejectShow:!1,baseIP:"",basePort:"",baseLedId:"",baseCrnId:"",baseUrl:"",info:null,error:null,infoType:0,text:"",infoText:{title:"",staNo:"",matnr:"",maknx:"",specs:"",count:"",error:"",barcode:""},swiperList:[],timeOut:!1,times:0,currDate:"",locList:[],oldHours:"",oldMin:"",socketClient:null,messages:[],version:"",socketUrl:"",msgType:"success",filename:"",dialogContent:"",wmsUrl:"",wmsPort:""}},onShow:function(){plus.navigator.setFullscreen(!0),this.getVersion()},mounted:function(){var t=uni.getStorageSync("BaseIp"),e=uni.getStorageSync("BaseLedId"),i=uni.getStorageSync("BasePort"),n=uni.getStorageSync("BaseCrnId"),a=uni.getStorageSync("UPROJ"),r=uni.getStorageSync("wmsUrl"),o=uni.getStorageSync("wmsPort");this.baseUrl=a,this.baseIP=t,this.baseLedId=e,this.basePort=i,this.baseCrnId=n,this.wmsUrl=r,this.wmsPort=o},created:function(){var t=uni.getStorageSync("BaseIp"),e=uni.getStorageSync("BaseLedId"),i=uni.getStorageSync("BasePort"),n=uni.getStorageSync("BaseCrnId"),a=uni.getStorageSync("UPROJ"),r=uni.getStorageSync("wmsUrl"),o=uni.getStorageSync("wmsPort");this.baseUrl=a,this.baseIP=t,this.baseLedId=e,this.basePort=i,this.baseCrnId=n,this.wmsUrl=r,this.wmsPort=o,this.uniWebSocket()},onLoad:function(){var t=this,e=setInterval((function(){t.getServerData(),t.controller()}),1e3);this.timerIds.push(e);var i=setInterval((function(){setTimeout((function(){plus.runtime.restart()}),100)}),144e5);this.timerIds.push(i)},onUnload:function(){this.timerIds.forEach((function(t){return clearInterval(t)})),this.timerIds=[]},beforeDestroy:function(){this.socketClient&&(this.socketClient.close(),this.socketClient=null),this.timerIds.forEach((function(t){return clearInterval(t)})),this.timerIds=[],this.viewSwitchTimer&&(clearTimeout(this.viewSwitchTimer),this.viewSwitchTimer=null)},methods:{uniWebSocket:function(){var e=this;e.commonUrl=e.baseIP+":"+e.basePort+"/"+e.baseUrl,e.socketUrl="ws://"+e.commonUrl+"/led/"+e.baseLedId,e.socketClient=new r.default(e.socketUrl,{heartbeatInterval:3e4,reconnectInterval:3e3,maxReconnectAttempts:-1,onMessage:function(i){try{var n=JSON.parse(i.data);e.showDate(n)}catch(a){t("error","\u89e3\u6790\u6d88\u606f\u5931\u8d25",a," at pages/home/home.vue:534")}},onOpen:function(i){e.timeOut=!1,e.times=0,t("log","WebSocket\u5df2\u8fde\u63a5",i," at pages/home/home.vue:541")},onError:function(e){t("error","WebSocket\u9519\u8bef",e," at pages/home/home.vue:545")},onClose:function(i){e.timeOut=!0,e.times=e.times+1,e.infoType=0,t("log","WebSocket\u5df2\u5173\u95ed",i," at pages/home/home.vue:552")},onReconnect:function(e){t("log","WebSocket\u91cd\u8fde(".concat(e.attempts,"/").concat(e.maxAttempts,")")," at pages/home/home.vue:556")}}),e.socketClient.connect()},sendMessage:function(e){var i={type:"chat",content:e,timestamp:Date.now()};this.socketClient.send(i).then((function(){t("log","\u6d88\u606f\u53d1\u9001\u6210\u529f"," at pages/home/home.vue:573")})).catch((function(e){t("error","\u6d88\u606f\u53d1\u9001\u5931\u8d25",e," at pages/home/home.vue:576")}))},webSockerInit:function(){var e=this;if(""===e.baseIP&&""===e.basePort&&""===e.baseUrl)return e.timeOut=!0,e.times=e.times+1,void(e.infoType=0);e.commonUrl=e.baseIP+":"+e.basePort+"/"+e.baseUrl;var i="ws://"+e.commonUrl+"/led/"+e.baseLedId,n=new WebSocketClient(i);n.connect(),t("log",n," at pages/home/home.vue:595"),n.onclose((function(){})),n.onmessage((function(t){e.timeOut=!1;var i=JSON.parse(t.data);e.showDate(i)}))},showDate:function(t){if("default"===t.type)this.needUpdateCharts=!0,this.chartsData.Pie.series[0].data=t.pie,this.baseInfo.stockCount=t.stockCunt,this.baseInfo.emptyCount=t.emptyCount,this.baseInfo.noneCount=t.noneCount,this.baseInfo.used=t.used,this.baseInfo.usedPr=t.usedPr,this.chartsData.Line.categories=[this.getDateFormat(-11),this.getDateFormat(-10),this.getDateFormat(-9),this.getDateFormat(-8),this.getDateFormat(-7),this.getDateFormat(-6),this.getDateFormat(-5),this.getDateFormat(-4),this.getDateFormat(-3),this.getDateFormat(-2),this.getDateFormat(-1),this.getDateFormat(0)],this.chartsData.Line.series=t.rows,this.calendar=t.year+"\u5e74"+t.month+"\u6708"+t.day+"\u65e5 "+t.hour+":"+t.minute+":"+t.second+" "+t.week,this.currDate=t.year+"/"+t.month+"/"+t.day,this.locList=t.inventoryData,this.oldHours=t.hour,this.oldMin=t.minute;else if("error"===t.type)if(t.errMsg&&""!==t.errMsg){var e=t.errMsg;if(1==this.infoType)return this.infoType=3,this.infoText.title="\u5176\u4ed6\u4fe1\u606f",void(this.infoText.error=e);this.infoType=2,this.infoText.title="\u5176\u4ed6\u4fe1\u606f",this.infoText.error=e}else{if(1==this.infoType)return;this.infoType=0}else if("task"===t.type)if(t.taskList&&""!==t.taskList&&0!=t.taskList.length){if(2==this.infoType||3==this.infoType)return;this.infoType=1,101===t.taskList[0].ioType?this.infoText.title="\u5168\u677f\u51fa\u5e93":103===t.taskList[0].ioType?this.infoText.title="\u62e3\u6599\u51fa\u5e93":107===t.taskList[0].ioType?this.infoText.title="\u76d8\u70b9\u51fa\u5e93":1===t.taskList[0].ioType?this.infoText.title="\u5165\u5e93":10===t.taskList[0].ioType?this.infoText.title="\u7a7a\u6258\u5165\u5e93":110===t.taskList[0].ioType?this.infoText.title="\u7a7a\u6258\u51fa\u5e93":104===t.taskList[0].ioType?this.infoText.title="\u5e76\u677f\u51fa\u5e93":54===t.taskList[0].ioType&&(this.infoText.title="\u5e76\u677f\u5165\u5e93"),this.infoText.barcode=t.taskList[0].barcode,this.infoText.workNo=t.taskList[0].workNo,this.infoText.sourceLocNo=t.taskList[0].sourceLocNo,this.infoText.staNo=t.taskList[0].staNo,this.swiperList=t.taskList[0].matDtos}else{if(2==this.infoType||3==this.infoType)return;this.infoType=0}},statisticalModel:function(){var e=this;uni.request({url:e.commonUrl+"/monitor/locDetl/pda/statisticalModel",method:"GET",success:function(i){var n=i.data;200===n.code&&(t("log",n.data," at pages/home/home.vue:700"),e.locList=n.data)}})},getUrl:function(){this.commonUrl=this.baseHttp+this.baseIP+":"+this.basePort+"/"+this.baseUrl},getServerData:function(){this.needUpdateCharts&&(this.chartsDataLine1=JSON.parse(JSON.stringify(this.chartsData.Line)),this.chartsDataPie2=JSON.parse(JSON.stringify(this.chartsData.Pie)),this.needUpdateCharts=!1)},getInfo2:function(){var t=a.default.dataInfo2,e=t.data;if(e.data&&""!==e.data){if(2==this.infoType||3==this.infoType)return;this.infoType=1,101===e.data[0].ioType?this.infoText.title="\u5168\u677f\u51fa\u5e93":103===e.data[0].ioType?this.infoText.title="\u68c0\u6599\u51fa\u5e93":107===e.data[0].ioType?this.infoText.title="\u76d8\u70b9\u51fa\u5e93":1===e.data[0].ioType?this.infoText.title="\u5165\u5e93":10===e.data[0].ioType?this.infoText.title="\u7a7a\u6258\u5165\u5e93":110===e.data[0].ioType&&(this.infoText.title="\u7a7a\u6258\u51fa\u5e93"),this.infoText.barcode=e.data[0].barcode,this.infoText.workNo=e.data[0].workNo,this.infoText.sourceLocNo=e.data[0].sourceLocNo,this.infoText.staNo=e.data[0].staNo,this.swiperList=e.data[0].matDtos}else{if(2==this.infoType||3==this.infoType)return;this.infoType=0}},getError2:function(){var t=a.default.dataError2,e=t.data;if(e.data&&""!==e.data){var i=e.data;if(1==this.infoType)return this.infoType=3,this.infoText.title="\u5176\u4ed6\u4fe1\u606f",void(this.infoText.error=i);this.infoType=2,this.infoText.title="\u5176\u4ed6\u4fe1\u606f",this.infoText.error=i}else{if(1==this.infoType)return;this.infoType=0}},getInfo:function(){var t=this;uni.request({url:t.commonUrl+"/monitor/led",method:"GET",data:{ledId:t.baseLedId},success:function(e){t.timeOut=!1,t.times=0;var i=e.data;if(i.data&&""!==i.data){if(2==t.infoType||3==t.infoType)return;t.infoType=1,101===i.data[0].ioType?t.infoText.title="\u5168\u677f\u51fa\u5e93":103===i.data[0].ioType?t.infoText.title="\u68c0\u6599\u51fa\u5e93":107===i.data[0].ioType?t.infoText.title="\u76d8\u70b9\u51fa\u5e93":1===i.data[0].ioType?t.infoText.title="\u5165\u5e93":10===i.data[0].ioType?t.infoText.title="\u7a7a\u6258\u5165\u5e93":110===i.data[0].ioType&&(t.infoText.title="\u7a7a\u6258\u51fa\u5e93"),t.infoText.barcode=i.data[0].barcode,t.infoText.workNo=i.data[0].workNo,t.infoText.sourceLocNo=i.data[0].sourceLocNo,t.infoText.staNo=i.data[0].staNo,t.swiperList=i.data[0].matDtos}else{if(2==t.infoType||3==t.infoType)return;t.infoType=0}},fail:function(e){t.timeOut=!0,t.times=t.times+1,t.infoType=0}})},getError:function(){var t=this;uni.request({url:t.commonUrl+"/monitor/led/error",data:{ledId:t.baseLedId},method:"GET",success:function(e){t.timeOut=!1,t.times=0;var i=e.data;if(i.data&&""!==i.data){var n=i.data;if(1==t.infoType)return t.infoType=3,t.infoText.title="\u5176\u4ed6\u4fe1\u606f",void(t.infoText.error=n);t.infoType=2,t.infoText.title="\u5176\u4ed6\u4fe1\u606f",t.infoText.error=n}else{if(1==t.infoType)return;t.infoType=0}},fail:function(e){t.timeOut=!0,t.infoType=0}})},controller:function(){var t=this;if(!this.viewSwitchInProgress)switch(this.viewSwitchTimer&&(clearTimeout(this.viewSwitchTimer),this.viewSwitchTimer=null),this.infoType){case 0:return void(this.errorInfoViewShow?(this.viewSwitchInProgress=!0,this.errorInfoViewShow=!1,this.errorInfoMode=["fade","slide-bottom"],this.viewSwitchTimer=setTimeout((function(){t.homeViewShow=!0,t.homeMode=["fade","slide-bottom"],setTimeout((function(){t.viewSwitchInProgress=!1}),1e3)}),1e3)):this.infoViewShow?(this.viewSwitchInProgress=!0,this.infoViewShow=!1,this.infoMode=["fade","slide-bottom"],this.viewSwitchTimer=setTimeout((function(){t.homeViewShow=!0,t.homeMode=["fade","slide-bottom"],setTimeout((function(){t.viewSwitchInProgress=!1}),1e3)}),1e3)):this.errorInfoViewShow&&this.infoViewShow&&(this.viewSwitchInProgress=!0,this.errorInfoViewShow=!1,this.infoViewShow=!1,this.infoMode=["fade","slide-bottom"],this.viewSwitchTimer=setTimeout((function(){t.homeViewShow=!0,t.homeMode=["fade","slide-bottom"],setTimeout((function(){t.viewSwitchInProgress=!1}),1e3)}),1e3)));case 1:return void(this.homeViewShow?(this.viewSwitchInProgress=!0,this.homeViewShow=!1,this.homeMode=["fade","slide-bottom"],this.viewSwitchTimer=setTimeout((function(){t.infoViewShow=!0,t.infoMode=["fade","slide-bottom"],setTimeout((function(){t.viewSwitchInProgress=!1}),1e3)}),1e3)):this.errorInfoViewShow&&(this.viewSwitchInProgress=!0,this.errorInfoViewShow=!1,this.errorInfoMode=["fade","slide-bottom"],this.viewSwitchTimer=setTimeout((function(){t.infoViewShow=!0,t.infoMode=["fade","slide-bottom"],setTimeout((function(){t.viewSwitchInProgress=!1}),1e3)}),1e3)));case 2:return void(this.homeViewShow?(this.viewSwitchInProgress=!0,this.homeViewShow=!1,this.homeMode=["fade","slide-bottom"],this.viewSwitchTimer=setTimeout((function(){t.errorInfoViewShow=!0,t.errorInfoMode=["fade","slide-bottom"],setTimeout((function(){t.viewSwitchInProgress=!1}),1e3)}),1e3)):this.infoViewShow&&(this.viewSwitchInProgress=!0,this.infoViewShow=!1,this.infoMode=["fade","slide-bottom"],this.viewSwitchTimer=setTimeout((function(){t.errorInfoViewShow=!0,t.errorInfoMode=["fade","slide-bottom"],setTimeout((function(){t.viewSwitchInProgress=!1}),1e3)}),1e3)));case 3:return void(this.homeViewShow?(this.viewSwitchInProgress=!0,this.homeViewShow=!1,this.homeMode=["fade","slide-bottom"],this.viewSwitchTimer=setTimeout((function(){t.errorInfoViewShow=!0,t.errorInfoMode=["fade","slide-bottom"],setTimeout((function(){t.viewSwitchInProgress=!1}),1e3)}),1e3)):this.infoViewShow&&(this.viewSwitchInProgress=!0,this.infoViewShow=!1,this.infoMode=["fade","slide-bottom"],this.viewSwitchTimer=setTimeout((function(){t.errorInfoViewShow=!0,t.errorInfoMode=["fade","slide-bottom"],setTimeout((function(){t.viewSwitchInProgress=!1}),1e3)}),1e3)))}},handle:function(t){this.homeViewShow=!this.homeViewShow,this.modeClass=t},handle1:function(t){this.infoViewShow=!this.infoViewShow,this.modeClass=t},handle2:function(t){this.errorInfoViewShow=!this.errorInfoViewShow,this.modeClass=t},ejected:function(){this.ejectShow=!0},ejectClose:function(){this.ejectShow=!1},ejectConfirm:function(){uni.setStorageSync("BaseIp",this.baseIP),uni.setStorageSync("BaseLedId",this.baseLedId),uni.setStorageSync("BasePort",this.basePort),uni.setStorageSync("BaseCrnId",this.baseCrnId),uni.setStorageSync("UPROJ",this.baseUrl),uni.setStorageSync("wmsUrl",this.wmsUrl),uni.setStorageSync("wmsPort",this.wmsPort),this.getUrl(),this.ejectShow=!1},getDate2:function(){uni.request({url:this.commonUrl+"/monitor/date",method:"GET",success:function(t){t.data.data}})},getDate:function(){var t,e,i,n,a,r,o,s=new Date;switch(t=s.getFullYear(),e=s.getMonth()+1<10?"0"+(s.getMonth()+1):s.getMonth()+1,i=s.getDate()<10?"0"+s.getDate():s.getDate(),n=s.getHours()<10?"0"+s.getHours():s.getHours(),a=s.getMinutes()<10?"0"+s.getMinutes():s.getMinutes(),r=s.getSeconds()<10?"0"+s.getSeconds():s.getSeconds(),o=s.getDay(),o){case 0:o="\u661f\u671f\u65e5";break;case 1:o="\u661f\u671f\u4e00";break;case 2:o="\u661f\u671f\u4e8c";break;case 3:o="\u661f\u671f\u4e09";break;case 4:o="\u661f\u671f\u56db";break;case 5:o="\u661f\u671f\u4e94";break;default:o="\u661f\u671f\u516d"}this.calendar=t+"\u5e74"+e+"\u6708"+i+"\u65e5 "+n+":"+a+":"+r+" "+o},getDateFormat:function(t){var e=new Date(this.currDate);e.setDate(e.getDate()+t);var i=e.getMonth()+1,n=e.getDate(),a=i+"-"+n;return a},initlineChart:function(){uni.request({url:this.commonUrl+"/monitor/line/charts",method:"GET",success:function(t){var e=t.data;e.code}})},initPieChart:function(){var t=this;uni.request({url:t.commonUrl+"/monitor/loc/rep",method:"GET",success:function(e){var i=e.data;200===i.code&&(t.chartsData.Pie.series[0].data=i.data.pie,t.baseInfo.stockCount=i.data.stockCunt,t.baseInfo.emptyCount=i.data.emptyCount,t.baseInfo.noneCount=i.data.noneCount,t.baseInfo.used=i.data.used,t.baseInfo.usedPr=i.data.usedPr)}})},getOther:function(){var t=this;uni.request({url:t.commonUrl+"/monitor/other",data:{crnId:t.baseCrnId,ledId:t.baseLedId},success:function(e){var i=e.data;200===i.code?(t.baseInfo.xDistance=i.data.xDistance,t.baseInfo.yDistance=i.data.yDistance,t.baseInfo.xDuration=i.data.xDuration,t.baseInfo.yDuration=i.data.yDuration):i.code}})},getVersion:function(){var t=this;uni.getSystemInfo({success:function(e){"android"==e.platform&&t.AndroidCheckUpdate()}})},AndroidCheckUpdate:function(){var t=this;plus.runtime.getProperty(plus.runtime.appid,(function(e){t.version=e.version})),setTimeout((function(){t.getUpdateVersion()}),100)},getUpdateVersion:function(){var e=this;if("http://undefined:undefined/undefined"!=e.baseUrl){var i="http://"+e.baseIP+":"+e.wmsPort+"/"+e.wmsUrl;t("log",i," at pages/home/home.vue:1180");var n=i+"/appVersion/checkUpdate/"+e.version+"/1";uni.request({url:n,method:"GET",success:function(i){t("log",i," at pages/home/home.vue:1186");i=i.data;i.data?(e.filename=i.data.path,e.dialogContent="\u53d1\u73b0\u65b0\u7248\u672c:"+i.data.version+", \u662f\u5426\u7acb\u5373\u66f4\u65b0",e.$refs.upVersion.open()):uni.showToast({title:i.msg,icon:"none",position:"top"})}})}},dialogConfirm:function(){this.$refs.upVersion.close(),this.downWgt()},dialogClose:function(){this.$refs.upVersion.close()},downWgt:function(){var e=this,i="http://"+e.baseIP+":"+e.wmsPort+"/"+e.wmsUrl,n=i+"/appVersion/downloadApp/"+e.filename;uni.showLoading({title:"\u66f4\u65b0\u4e2d\u2026\u2026"});var a=uni.downloadFile({url:n,timeout:3e4,success:function(i){t("log",i," at pages/home/home.vue:1221"),e.showdownLine=!1,uni.hideLoading(),200==i.statusCode?uni.showModal({title:"",content:"\u66f4\u65b0\u6210\u529f\uff0c\u786e\u5b9a\u73b0\u5728\u91cd\u542f\u5417\uff1f",confirmText:"\u91cd\u542f",confirmColor:"#EE8F57",success:function(t){1==t.confirm&&plus.runtime.install(i.tempFilePath,{force:!0},(function(t){utils.showToast("\u66f4\u65b0\u6210\u529f\uff0c\u91cd\u542f\u4e2d"),plus.runtime.restart()}))}}):(uni.hideLoading(),e.showdownLine=!1,uni.showToast({title:"\u8bf7\u5148\u4e0a\u4f20\u5b89\u88c5\u5305",icon:"error"}))},fail:function(t){uni.hideLoading(),e.showdownLine=!1,e.$u.toast(downloadResult.errMsg)},complete:function(e){t("log",e," at pages/home/home.vue:1260")}});a.onProgressUpdate((function(i){e.downloadNum=i.progress,t("log","\u4e0b\u8f7d\u8fdb\u5ea6"+e.downloadNum," at pages/home/home.vue:1267")}))}}};e.default=o}).call(this,i("f3b9")["default"])},"5f21":function(t,e,i){"use strict";i.r(e);var n=i("5607"),a=i("3f60");for(var r in a)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(r);var o=i("828b"),s=Object(o["a"])(a["default"],n["b"],n["c"],!1,null,null,null,!1,n["a"],void 0);e["default"]=s.exports},"62d4":function(t,e,i){"use strict";i.r(e);var n=i("ea8b");for(var a in n)["default"].indexOf(a)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(a);var r=i("828b"),o=Object(r["a"])(n["default"],void 0,void 0,!1,null,null,null,!1,void 0,void 0);e["default"]=o.exports},6382:function(t,e,i){var n=i("6454");t.exports=function(t,e){if(t){if("string"===typeof t)return n(t,e);var i=Object.prototype.toString.call(t).slice(8,-1);return"Object"===i&&t.constructor&&(i=t.constructor.name),"Map"===i||"Set"===i?Array.from(t):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?n(t,e):void 0}},t.exports.__esModule=!0,t.exports["default"]=t.exports},"63c1":function(t,e,i){"use strict";i.r(e);var n=i("2c9f"),a=i.n(n);for(var r in n)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(r);e["default"]=a.a},6454:function(t,e){t.exports=function(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,n=new Array(e);i<e;i++)n[i]=t[i];return n},t.exports.__esModule=!0,t.exports["default"]=t.exports},6597:function(t,e,i){t.exports=i.p+"static/img/logo-bai.png"},6620:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={appid:"__UNI__CA903B7"}},"67ad":function(t,e){t.exports=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},t.exports.__esModule=!0,t.exports["default"]=t.exports},6808:function(t,e,i){t.exports=i.p+"static/c1.png"},"6a1e":function(t,e,i){},"6cb1":function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return a})),i.d(e,"a",(function(){}));var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("view",{staticClass:t._$s(0,"sc","uni-popup-dialog"),attrs:{_i:0}},[i("view",{staticClass:t._$s(1,"sc","uni-dialog-title"),attrs:{_i:1}},[i("text",{staticClass:t._$s(2,"sc","uni-dialog-title-text"),class:t._$s(2,"c",["uni-popup__"+t.dialogType]),attrs:{_i:2}},[t._v(t._$s(2,"t0-0",t._s(t.titleText)))])]),t._$s(3,"i","base"===t.mode)?i("view",{staticClass:t._$s(3,"sc","uni-dialog-content"),attrs:{_i:3}},[t._t("default",[i("text",{staticClass:t._$s(5,"sc","uni-dialog-content-text"),attrs:{_i:5}},[t._v(t._$s(5,"t0-0",t._s(t.content)))])],{_i:4})],2):i("view",{staticClass:t._$s(6,"sc","uni-dialog-content"),attrs:{_i:6}},[t._t("default",[i("input",{directives:[{name:"model",rawName:"v-model",value:t.val,expression:"val"}],staticClass:t._$s(8,"sc","uni-dialog-input"),attrs:{placeholder:t._$s(8,"a-placeholder",t.placeholderText),focus:t._$s(8,"a-focus",t.focus),_i:8},domProps:{value:t._$s(8,"v-model",t.val)},on:{input:function(e){e.target.composing||(t.val=e.target.value)}}})],{_i:7})],2),i("view",{staticClass:t._$s(9,"sc","uni-dialog-button-group"),attrs:{_i:9}},[i("view",{staticClass:t._$s(10,"sc","uni-dialog-button"),attrs:{_i:10},on:{click:t.closeDialog}},[i("text",{staticClass:t._$s(11,"sc","uni-dialog-button-text"),attrs:{_i:11}},[t._v(t._$s(11,"t0-0",t._s(t.closeText)))])]),i("view",{staticClass:t._$s(12,"sc","uni-dialog-button uni-border-left"),attrs:{_i:12},on:{click:t.onOk}},[i("text",{staticClass:t._$s(13,"sc","uni-dialog-button-text uni-button-color"),attrs:{_i:13}},[t._v(t._$s(13,"t0-0",t._s(t.okText)))])])])])},a=[]},"6f0f":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={name:"loading6",data:function(){return{}}}},7172:function(t,e){t.exports=function(t,e){var i=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=i){var n,a,r,o,s=[],c=!0,l=!1;try{if(r=(i=i.call(t)).next,0===e){if(Object(i)!==i)return;c=!1}else for(;!(c=(n=r.call(i)).done)&&(s.push(n.value),s.length!==e);c=!0);}catch(t){l=!0,a=t}finally{try{if(!c&&null!=i["return"]&&(o=i["return"](),Object(o)!==o))return}finally{if(l)throw a}}return s}},t.exports.__esModule=!0,t.exports["default"]=t.exports},7543:function(t,e,i){"use strict";i.r(e);var n=i("d2a0"),a=i.n(n);for(var r in n)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(r);e["default"]=a.a},7584:function(t,e,i){t.exports=i.p+"static/b1.png"},7647:function(t,e){function i(e,n){return t.exports=i=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},t.exports.__esModule=!0,t.exports["default"]=t.exports,i(e,n)}t.exports=i,t.exports.__esModule=!0,t.exports["default"]=t.exports},7996:function(t,e,i){"use strict";i.r(e);var n=i("0477"),a=i("9399");for(var r in a)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(r);var o=i("828b"),s=Object(o["a"])(a["default"],n["b"],n["c"],!1,null,"f4e86178",null,!1,n["a"],void 0);e["default"]=s.exports},"7b82":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={name:"loading5",data:function(){return{}}}},"7b96":function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return a})),i.d(e,"a",(function(){}));var n=function(){var t=this.$createElement,e=this._self._c||t;return e("view",{staticClass:this._$s(0,"sc","container"),attrs:{_i:0}})},a=[]},"7c9c":function(t,e,i){"use strict";i.r(e);var n=i("21fd"),a=i.n(n);for(var r in n)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(r);e["default"]=a.a},"7ca3":function(t,e,i){var n=i("d551");t.exports=function(t,e,i){return e=n(e),e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t},t.exports.__esModule=!0,t.exports["default"]=t.exports},"7ce1":function(t,e,i){var n=i("b4d2"),a=i("7647"),r=i("4965"),o=i("931d");function s(e){var i="function"===typeof Map?new Map:void 0;return t.exports=s=function(t){if(null===t||!r(t))return t;if("function"!==typeof t)throw new TypeError("Super expression must either be null or a function");if("undefined"!==typeof i){if(i.has(t))return i.get(t);i.set(t,e)}function e(){return o(t,arguments,n(this).constructor)}return e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),a(e,t)},t.exports.__esModule=!0,t.exports["default"]=t.exports,s(e)}t.exports=s,t.exports.__esModule=!0,t.exports["default"]=t.exports},"7d36":function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return a})),i.d(e,"a",(function(){}));var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("view",[i("button",{staticClass:t._$s(1,"sc","clear"),attrs:{_i:1},on:{click:t.clearUrl}}),t._$s(2,"i",""!=t.data)?i("web-view",{attrs:{src:t._$s(2,"a-src",t.data),_i:2}}):t._e(),t._$s(3,"i",""==t.data)?i("view",{attrs:{_i:3}},[i("input",{directives:[{name:"model",rawName:"v-model",value:t.url,expression:"url"}],attrs:{_i:4},domProps:{value:t._$s(4,"v-model",t.url)},on:{input:function(e){e.target.composing||(t.url=e.target.value)}}}),i("button",{attrs:{_i:5},on:{click:t.setUrl}})]):t._e()])},a=[]},"828b":function(t,e,i){"use strict";function n(t,e,i,n,a,r,o,s,c,l){var u,h="function"===typeof t?t.options:t;if(c){h.components||(h.components={});var d=Object.prototype.hasOwnProperty;for(var f in c)d.call(c,f)&&!d.call(h.components,f)&&(h.components[f]=c[f])}if(l&&("function"===typeof l.beforeCreate&&(l.beforeCreate=[l.beforeCreate]),(l.beforeCreate||(l.beforeCreate=[])).unshift((function(){this[l.__module]=this})),(h.mixins||(h.mixins=[])).push(l)),e&&(h.render=e,h.staticRenderFns=i,h._compiled=!0),n&&(h.functional=!0),r&&(h._scopeId="data-v-"+r),o?(u=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"===typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),a&&a.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(o)},h._ssrRegister=u):a&&(u=s?function(){a.call(this,this.$root.$options.shadowRoot)}:a),u)if(h.functional){h._injectStyles=u;var p=h.render;h.render=function(t,e){return u.call(e),p(t,e)}}else{var g=h.beforeCreate;h.beforeCreate=g?[].concat(g,u):[u]}return{exports:t,options:h}}i.d(e,"a",(function(){return n}))},8325:function(t,e,i){"use strict";i.r(e);var n=i("ee34"),a=i("3d72");for(var r in a)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(r);var o=i("828b"),s=Object(o["a"])(a["default"],n["b"],n["c"],!1,null,"4606611e",null,!1,n["a"],void 0);e["default"]=s.exports},"858a":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={name:"loading1",data:function(){return{}}}},"861b":function(t,e,i){"use strict";(function(t,n){var a=i("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.uniCloud=e.default=e.UniCloudError=void 0;var r=a(i("127e")),o=a(i("3352")),s=a(i("34cf")),c=a(i("3b2d")),l=a(i("af34")),u=a(i("ee10")),h=a(i("7ca3")),d=a(i("8ffa")),f=a(i("4ffb")),p=a(i("b4d2")),g=a(i("7ce1")),v=a(i("67ad")),m=a(i("0bdb")),x=a(i("451d"));function y(t,e){var i="undefined"!==typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!i){if(Array.isArray(t)||(i=function(t,e){if(!t)return;if("string"===typeof t)return _(t,e);var i=Object.prototype.toString.call(t).slice(8,-1);"Object"===i&&t.constructor&&(i=t.constructor.name);if("Map"===i||"Set"===i)return Array.from(t);if("Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return _(t,e)}(t))||e&&t&&"number"===typeof t.length){i&&(t=i);var n=0,a=function(){};return{s:a,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var r,o=!0,s=!1;return{s:function(){i=i.call(t)},n:function(){var t=i.next();return o=t.done,t},e:function(t){s=!0,r=t},f:function(){try{o||null==i.return||i.return()}finally{if(s)throw r}}}}function _(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,n=new Array(e);i<e;i++)n[i]=t[i];return n}function b(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.push.apply(i,n)}return i}function w(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?b(Object(i),!0).forEach((function(e){(0,h.default)(t,e,i[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):b(Object(i)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))}))}return t}function S(t){var e=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var i,n=(0,p.default)(t);if(e){var a=(0,p.default)(this).constructor;i=Reflect.construct(n,arguments,a)}else i=n.apply(this,arguments);return(0,f.default)(this,i)}}function k(t,e,i){return t(i={path:e,exports:{},require:function(t,e){return function(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}(null==e&&i.path)}},i.exports),i.exports}"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof t||"undefined"!=typeof self&&self;var C=k((function(t,e){var i;t.exports=(i=i||function(t,e){var i=Object.create||function(){function t(){}return function(e){var i;return t.prototype=e,i=new t,t.prototype=null,i}}(),n={},a=n.lib={},r=a.Base={extend:function(t){var e=i(this);return t&&e.mixIn(t),e.hasOwnProperty("init")&&this.init!==e.init||(e.init=function(){e.$super.init.apply(this,arguments)}),e.init.prototype=e,e.$super=this,e},create:function(){var t=this.extend();return t.init.apply(t,arguments),t},init:function(){},mixIn:function(t){for(var e in t)t.hasOwnProperty(e)&&(this[e]=t[e]);t.hasOwnProperty("toString")&&(this.toString=t.toString)},clone:function(){return this.init.prototype.extend(this)}},o=a.WordArray=r.extend({init:function(t,e){t=this.words=t||[],this.sigBytes=void 0!=e?e:4*t.length},toString:function(t){return(t||c).stringify(this)},concat:function(t){var e=this.words,i=t.words,n=this.sigBytes,a=t.sigBytes;if(this.clamp(),n%4)for(var r=0;r<a;r++){var o=i[r>>>2]>>>24-r%4*8&255;e[n+r>>>2]|=o<<24-(n+r)%4*8}else for(r=0;r<a;r+=4)e[n+r>>>2]=i[r>>>2];return this.sigBytes+=a,this},clamp:function(){var e=this.words,i=this.sigBytes;e[i>>>2]&=4294967295<<32-i%4*8,e.length=t.ceil(i/4)},clone:function(){var t=r.clone.call(this);return t.words=this.words.slice(0),t},random:function(e){for(var i,n=[],a=function(e){var i=987654321,n=4294967295;return function(){var a=((i=36969*(65535&i)+(i>>16)&n)<<16)+(e=18e3*(65535&e)+(e>>16)&n)&n;return a/=4294967296,(a+=.5)*(t.random()>.5?1:-1)}},r=0;r<e;r+=4){var s=a(4294967296*(i||t.random()));i=987654071*s(),n.push(4294967296*s()|0)}return new o.init(n,e)}}),s=n.enc={},c=s.Hex={stringify:function(t){for(var e=t.words,i=t.sigBytes,n=[],a=0;a<i;a++){var r=e[a>>>2]>>>24-a%4*8&255;n.push((r>>>4).toString(16)),n.push((15&r).toString(16))}return n.join("")},parse:function(t){for(var e=t.length,i=[],n=0;n<e;n+=2)i[n>>>3]|=parseInt(t.substr(n,2),16)<<24-n%8*4;return new o.init(i,e/2)}},l=s.Latin1={stringify:function(t){for(var e=t.words,i=t.sigBytes,n=[],a=0;a<i;a++){var r=e[a>>>2]>>>24-a%4*8&255;n.push(String.fromCharCode(r))}return n.join("")},parse:function(t){for(var e=t.length,i=[],n=0;n<e;n++)i[n>>>2]|=(255&t.charCodeAt(n))<<24-n%4*8;return new o.init(i,e)}},u=s.Utf8={stringify:function(t){try{return decodeURIComponent(escape(l.stringify(t)))}catch(t){throw new Error("Malformed UTF-8 data")}},parse:function(t){return l.parse(unescape(encodeURIComponent(t)))}},h=a.BufferedBlockAlgorithm=r.extend({reset:function(){this._data=new o.init,this._nDataBytes=0},_append:function(t){"string"==typeof t&&(t=u.parse(t)),this._data.concat(t),this._nDataBytes+=t.sigBytes},_process:function(e){var i=this._data,n=i.words,a=i.sigBytes,r=this.blockSize,s=a/(4*r),c=(s=e?t.ceil(s):t.max((0|s)-this._minBufferSize,0))*r,l=t.min(4*c,a);if(c){for(var u=0;u<c;u+=r)this._doProcessBlock(n,u);var h=n.splice(0,c);i.sigBytes-=l}return new o.init(h,l)},clone:function(){var t=r.clone.call(this);return t._data=this._data.clone(),t},_minBufferSize:0});a.Hasher=h.extend({cfg:r.extend(),init:function(t){this.cfg=this.cfg.extend(t),this.reset()},reset:function(){h.reset.call(this),this._doReset()},update:function(t){return this._append(t),this._process(),this},finalize:function(t){return t&&this._append(t),this._doFinalize()},blockSize:16,_createHelper:function(t){return function(e,i){return new t.init(i).finalize(e)}},_createHmacHelper:function(t){return function(e,i){return new d.HMAC.init(t,i).finalize(e)}}});var d=n.algo={};return n}(Math),i)})),T=C,P=(k((function(t,e){var i;t.exports=(i=T,function(t){var e=i,n=e.lib,a=n.WordArray,r=n.Hasher,o=e.algo,s=[];!function(){for(var e=0;e<64;e++)s[e]=4294967296*t.abs(t.sin(e+1))|0}();var c=o.MD5=r.extend({_doReset:function(){this._hash=new a.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(t,e){for(var i=0;i<16;i++){var n=e+i,a=t[n];t[n]=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8)}var r=this._hash.words,o=t[e+0],c=t[e+1],f=t[e+2],p=t[e+3],g=t[e+4],v=t[e+5],m=t[e+6],x=t[e+7],y=t[e+8],_=t[e+9],b=t[e+10],w=t[e+11],S=t[e+12],k=t[e+13],C=t[e+14],T=t[e+15],P=r[0],A=r[1],O=r[2],I=r[3];P=l(P,A,O,I,o,7,s[0]),I=l(I,P,A,O,c,12,s[1]),O=l(O,I,P,A,f,17,s[2]),A=l(A,O,I,P,p,22,s[3]),P=l(P,A,O,I,g,7,s[4]),I=l(I,P,A,O,v,12,s[5]),O=l(O,I,P,A,m,17,s[6]),A=l(A,O,I,P,x,22,s[7]),P=l(P,A,O,I,y,7,s[8]),I=l(I,P,A,O,_,12,s[9]),O=l(O,I,P,A,b,17,s[10]),A=l(A,O,I,P,w,22,s[11]),P=l(P,A,O,I,S,7,s[12]),I=l(I,P,A,O,k,12,s[13]),O=l(O,I,P,A,C,17,s[14]),P=u(P,A=l(A,O,I,P,T,22,s[15]),O,I,c,5,s[16]),I=u(I,P,A,O,m,9,s[17]),O=u(O,I,P,A,w,14,s[18]),A=u(A,O,I,P,o,20,s[19]),P=u(P,A,O,I,v,5,s[20]),I=u(I,P,A,O,b,9,s[21]),O=u(O,I,P,A,T,14,s[22]),A=u(A,O,I,P,g,20,s[23]),P=u(P,A,O,I,_,5,s[24]),I=u(I,P,A,O,C,9,s[25]),O=u(O,I,P,A,p,14,s[26]),A=u(A,O,I,P,y,20,s[27]),P=u(P,A,O,I,k,5,s[28]),I=u(I,P,A,O,f,9,s[29]),O=u(O,I,P,A,x,14,s[30]),P=h(P,A=u(A,O,I,P,S,20,s[31]),O,I,v,4,s[32]),I=h(I,P,A,O,y,11,s[33]),O=h(O,I,P,A,w,16,s[34]),A=h(A,O,I,P,C,23,s[35]),P=h(P,A,O,I,c,4,s[36]),I=h(I,P,A,O,g,11,s[37]),O=h(O,I,P,A,x,16,s[38]),A=h(A,O,I,P,b,23,s[39]),P=h(P,A,O,I,k,4,s[40]),I=h(I,P,A,O,o,11,s[41]),O=h(O,I,P,A,p,16,s[42]),A=h(A,O,I,P,m,23,s[43]),P=h(P,A,O,I,_,4,s[44]),I=h(I,P,A,O,S,11,s[45]),O=h(O,I,P,A,T,16,s[46]),P=d(P,A=h(A,O,I,P,f,23,s[47]),O,I,o,6,s[48]),I=d(I,P,A,O,x,10,s[49]),O=d(O,I,P,A,C,15,s[50]),A=d(A,O,I,P,v,21,s[51]),P=d(P,A,O,I,S,6,s[52]),I=d(I,P,A,O,p,10,s[53]),O=d(O,I,P,A,b,15,s[54]),A=d(A,O,I,P,c,21,s[55]),P=d(P,A,O,I,y,6,s[56]),I=d(I,P,A,O,T,10,s[57]),O=d(O,I,P,A,m,15,s[58]),A=d(A,O,I,P,k,21,s[59]),P=d(P,A,O,I,g,6,s[60]),I=d(I,P,A,O,w,10,s[61]),O=d(O,I,P,A,f,15,s[62]),A=d(A,O,I,P,_,21,s[63]),r[0]=r[0]+P|0,r[1]=r[1]+A|0,r[2]=r[2]+O|0,r[3]=r[3]+I|0},_doFinalize:function(){var e=this._data,i=e.words,n=8*this._nDataBytes,a=8*e.sigBytes;i[a>>>5]|=128<<24-a%32;var r=t.floor(n/4294967296),o=n;i[15+(a+64>>>9<<4)]=16711935&(r<<8|r>>>24)|4278255360&(r<<24|r>>>8),i[14+(a+64>>>9<<4)]=16711935&(o<<8|o>>>24)|4278255360&(o<<24|o>>>8),e.sigBytes=4*(i.length+1),this._process();for(var s=this._hash,c=s.words,l=0;l<4;l++){var u=c[l];c[l]=16711935&(u<<8|u>>>24)|4278255360&(u<<24|u>>>8)}return s},clone:function(){var t=r.clone.call(this);return t._hash=this._hash.clone(),t}});function l(t,e,i,n,a,r,o){var s=t+(e&i|~e&n)+a+o;return(s<<r|s>>>32-r)+e}function u(t,e,i,n,a,r,o){var s=t+(e&n|i&~n)+a+o;return(s<<r|s>>>32-r)+e}function h(t,e,i,n,a,r,o){var s=t+(e^i^n)+a+o;return(s<<r|s>>>32-r)+e}function d(t,e,i,n,a,r,o){var s=t+(i^(e|~n))+a+o;return(s<<r|s>>>32-r)+e}e.MD5=r._createHelper(c),e.HmacMD5=r._createHmacHelper(c)}(Math),i.MD5)})),k((function(t,e){var i;t.exports=(i=T,void function(){var t=i,e=t.lib.Base,n=t.enc.Utf8;t.algo.HMAC=e.extend({init:function(t,e){t=this._hasher=new t.init,"string"==typeof e&&(e=n.parse(e));var i=t.blockSize,a=4*i;e.sigBytes>a&&(e=t.finalize(e)),e.clamp();for(var r=this._oKey=e.clone(),o=this._iKey=e.clone(),s=r.words,c=o.words,l=0;l<i;l++)s[l]^=1549556828,c[l]^=909522486;r.sigBytes=o.sigBytes=a,this.reset()},reset:function(){var t=this._hasher;t.reset(),t.update(this._iKey)},update:function(t){return this._hasher.update(t),this},finalize:function(t){var e=this._hasher,i=e.finalize(t);return e.reset(),e.finalize(this._oKey.clone().concat(i))}})}())})),k((function(t,e){t.exports=T.HmacMD5}))),A=k((function(t,e){t.exports=T.enc.Utf8})),O=k((function(t,e){var i;t.exports=(i=T,function(){var t=i,e=t.lib.WordArray;function n(t,i,n){for(var a=[],r=0,o=0;o<i;o++)if(o%4){var s=n[t.charCodeAt(o-1)]<<o%4*2,c=n[t.charCodeAt(o)]>>>6-o%4*2;a[r>>>2]|=(s|c)<<24-r%4*8,r++}return e.create(a,r)}t.enc.Base64={stringify:function(t){var e=t.words,i=t.sigBytes,n=this._map;t.clamp();for(var a=[],r=0;r<i;r+=3)for(var o=(e[r>>>2]>>>24-r%4*8&255)<<16|(e[r+1>>>2]>>>24-(r+1)%4*8&255)<<8|e[r+2>>>2]>>>24-(r+2)%4*8&255,s=0;s<4&&r+.75*s<i;s++)a.push(n.charAt(o>>>6*(3-s)&63));var c=n.charAt(64);if(c)for(;a.length%4;)a.push(c);return a.join("")},parse:function(t){var e=t.length,i=this._map,a=this._reverseMap;if(!a){a=this._reverseMap=[];for(var r=0;r<i.length;r++)a[i.charCodeAt(r)]=r}var o=i.charAt(64);if(o){var s=t.indexOf(o);-1!==s&&(e=s)}return n(t,e,a)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="}}(),i.enc.Base64)})),I="uni_id_token",L="uni_id_token_expired",D={DEFAULT:"FUNCTION",FUNCTION:"FUNCTION",OBJECT:"OBJECT",CLIENT_DB:"CLIENT_DB"},M="pending",E="fulfilled",F="rejected";function $(t){return Object.prototype.toString.call(t).slice(8,-1).toLowerCase()}function N(t){return"object"===$(t)}function R(t){return"function"==typeof t}function j(t){return function(){try{return t.apply(t,arguments)}catch(t){console.error(t)}}}var U="REJECTED",B="NOT_PENDING",z=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=e.createPromise,n=e.retryRule,a=void 0===n?U:n;(0,v.default)(this,t),this.createPromise=i,this.status=null,this.promise=null,this.retryRule=a}return(0,m.default)(t,[{key:"needRetry",get:function(){if(!this.status)return!0;switch(this.retryRule){case U:return this.status===F;case B:return this.status!==M}}},{key:"exec",value:function(){var t=this;return this.needRetry?(this.status=M,this.promise=this.createPromise().then((function(e){return t.status=E,Promise.resolve(e)}),(function(e){return t.status=F,Promise.reject(e)})),this.promise):this.promise}}]),t}(),W=function(){function t(){(0,v.default)(this,t),this._callback={}}return(0,m.default)(t,[{key:"addListener",value:function(t,e){this._callback[t]||(this._callback[t]=[]),this._callback[t].push(e)}},{key:"on",value:function(t,e){return this.addListener(t,e)}},{key:"removeListener",value:function(t,e){if(!e)throw new Error('The "listener" argument must be of type function. Received undefined');var i=this._callback[t];if(i){var n=function(t,e){for(var i=t.length-1;i>=0;i--)if(t[i]===e)return i;return-1}(i,e);i.splice(n,1)}}},{key:"off",value:function(t,e){return this.removeListener(t,e)}},{key:"removeAllListener",value:function(t){delete this._callback[t]}},{key:"emit",value:function(t){for(var e=this._callback[t],i=arguments.length,n=new Array(i>1?i-1:0),a=1;a<i;a++)n[a-1]=arguments[a];if(e)for(var r=0;r<e.length;r++)e[r].apply(e,n)}}]),t}();function q(t){return t&&"string"==typeof t?JSON.parse(t):t}var H=q([]),G="app",J=(q(void 0),q([])||[]);try{(i("6620").default||i("6620")).appid}catch(kn){}var V,K={};function X(t){var e,i,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return e=K,i=t,Object.prototype.hasOwnProperty.call(e,i)||(K[t]=n),K[t]}"app"===G&&(K=uni._globalUniCloudObj?uni._globalUniCloudObj:uni._globalUniCloudObj={});var Y=["invoke","success","fail","complete"],Q=X("_globalUniCloudInterceptor");function Z(t,e){Q[t]||(Q[t]={}),N(e)&&Object.keys(e).forEach((function(i){Y.indexOf(i)>-1&&function(t,e,i){var n=Q[t][e];n||(n=Q[t][e]=[]),-1===n.indexOf(i)&&R(i)&&n.push(i)}(t,i,e[i])}))}function tt(t,e){Q[t]||(Q[t]={}),N(e)?Object.keys(e).forEach((function(i){Y.indexOf(i)>-1&&function(t,e,i){var n=Q[t][e];if(n){var a=n.indexOf(i);a>-1&&n.splice(a,1)}}(t,i,e[i])})):delete Q[t]}function et(t,e){return t&&0!==t.length?t.reduce((function(t,i){return t.then((function(){return i(e)}))}),Promise.resolve()):Promise.resolve()}function it(t,e){return Q[t]&&Q[t][e]||[]}function nt(t){Z("callObject",t)}var at=X("_globalUniCloudListener"),rt={RESPONSE:"response",NEED_LOGIN:"needLogin",REFRESH_TOKEN:"refreshToken"},ot={CLIENT_DB:"clientdb",CLOUD_FUNCTION:"cloudfunction",CLOUD_OBJECT:"cloudobject"};function st(t){return at[t]||(at[t]=[]),at[t]}function ct(t,e){var i=st(t);i.includes(e)||i.push(e)}function lt(t,e){var i=st(t),n=i.indexOf(e);-1!==n&&i.splice(n,1)}function ut(t,e){for(var i=st(t),n=0;n<i.length;n++)(0,i[n])(e)}var ht,dt=!1;function ft(){return ht||(ht=new Promise((function(t){dt&&t(),function e(){if("function"==typeof getCurrentPages){var i=getCurrentPages();i&&i[0]&&(dt=!0,t())}dt||setTimeout((function(){e()}),30)}()})),ht)}function pt(t){var e={};for(var i in t){var n=t[i];R(n)&&(e[i]=j(n))}return e}var gt=function(t){(0,d.default)(i,t);var e=S(i);function i(t){var n;return(0,v.default)(this,i),n=e.call(this,t.message),n.errMsg=t.message||t.errMsg||"unknown system error",n.code=n.errCode=t.code||t.errCode||"SYSTEM_ERROR",n.errSubject=n.subject=t.subject||t.errSubject,n.cause=t.cause,n.requestId=t.requestId,n}return(0,m.default)(i,[{key:"toJson",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;if(!(t>=10))return t++,{errCode:this.errCode,errMsg:this.errMsg,errSubject:this.errSubject,cause:this.cause&&this.cause.toJson?this.cause.toJson(t):this.cause}}}]),i}((0,g.default)(Error));e.UniCloudError=gt;var vt,mt,xt={request:function(t){return uni.request(t)},uploadFile:function(t){return uni.uploadFile(t)},setStorageSync:function(t,e){return uni.setStorageSync(t,e)},getStorageSync:function(t){return uni.getStorageSync(t)},removeStorageSync:function(t){return uni.removeStorageSync(t)},clearStorageSync:function(){return uni.clearStorageSync()},connectSocket:function(t){return uni.connectSocket(t)}};function yt(){return{token:xt.getStorageSync(I)||xt.getStorageSync("uniIdToken"),tokenExpired:xt.getStorageSync(L)}}function _t(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.token,i=t.tokenExpired;e&&xt.setStorageSync(I,e),i&&xt.setStorageSync(L,i)}function bt(){return vt||(vt=uni.getSystemInfoSync()),vt}var wt={};function St(){var t=uni.getLocale&&uni.getLocale()||"en";if(mt)return w(w(w({},wt),mt),{},{locale:t,LOCALE:t});var e=bt(),i=e.deviceId,n=e.osName,a=e.uniPlatform,r=e.appId,o=["appId","appLanguage","appName","appVersion","appVersionCode","appWgtVersion","browserName","browserVersion","deviceBrand","deviceId","deviceModel","deviceType","osName","osVersion","romName","romVersion","ua","hostName","hostVersion","uniPlatform","uniRuntimeVersion","uniRuntimeVersionCode","uniCompilerVersion","uniCompilerVersionCode"];for(var s in e)Object.hasOwnProperty.call(e,s)&&-1===o.indexOf(s)&&delete e[s];return mt=w(w({PLATFORM:a,OS:n,APPID:r,DEVICEID:i},function(){var t,e;try{if(uni.getLaunchOptionsSync){if(uni.getLaunchOptionsSync.toString().indexOf("not yet implemented")>-1)return;var i=uni.getLaunchOptionsSync(),n=i.scene,a=i.channel;t=a,e=n}}catch(t){}return{channel:t,scene:e}}()),e),w(w(w({},wt),mt),{},{locale:t,LOCALE:t})}var kt,Ct={sign:function(t,e){var i="";return Object.keys(t).sort().forEach((function(e){t[e]&&(i=i+"&"+e+"="+t[e])})),i=i.slice(1),P(i,e).toString()},wrappedRequest:function(t,e){return new Promise((function(i,n){e(Object.assign(t,{complete:function(t){t||(t={});var e=t.data&&t.data.header&&t.data.header["x-serverless-request-id"]||t.header&&t.header["request-id"];if(!t.statusCode||t.statusCode>=400){var a=t.data&&t.data.error&&t.data.error.code||"SYS_ERR",r=t.data&&t.data.error&&t.data.error.message||t.errMsg||"request:fail";return n(new gt({code:a,message:r,requestId:e}))}var o=t.data;if(o.error)return n(new gt({code:o.error.code,message:o.error.message,requestId:e}));o.result=o.data,o.requestId=e,delete o.data,i(o)}}))}))},toBase64:function(t){return O.stringify(A.parse(t))}},Tt=function(){function t(e){var i=this;(0,v.default)(this,t),["spaceId","clientSecret"].forEach((function(t){if(!Object.prototype.hasOwnProperty.call(e,t))throw new Error("".concat(t," required"))})),this.config=Object.assign({},{endpoint:0===e.spaceId.indexOf("mp-")?"https://api.next.bspapp.com":"https://api.bspapp.com"},e),this.config.provider="aliyun",this.config.requestUrl=this.config.endpoint+"/client",this.config.envType=this.config.envType||"public",this.config.accessTokenKey="access_token_"+this.config.spaceId,this.adapter=xt,this._getAccessTokenPromiseHub=new z({createPromise:function(){return i.requestAuth(i.setupRequest({method:"serverless.auth.user.anonymousAuthorize",params:"{}"},"auth")).then((function(t){if(!t.result||!t.result.accessToken)throw new gt({code:"AUTH_FAILED",message:"\u83b7\u53d6accessToken\u5931\u8d25"});i.setAccessToken(t.result.accessToken)}))},retryRule:B})}return(0,m.default)(t,[{key:"hasAccessToken",get:function(){return!!this.accessToken}},{key:"setAccessToken",value:function(t){this.accessToken=t}},{key:"requestWrapped",value:function(t){return Ct.wrappedRequest(t,this.adapter.request)}},{key:"requestAuth",value:function(t){return this.requestWrapped(t)}},{key:"request",value:function(t,e){var i=this;return Promise.resolve().then((function(){return i.hasAccessToken?e?i.requestWrapped(t):i.requestWrapped(t).catch((function(e){return new Promise((function(t,i){!e||"GATEWAY_INVALID_TOKEN"!==e.code&&"InvalidParameter.InvalidToken"!==e.code?i(e):t()})).then((function(){return i.getAccessToken()})).then((function(){var e=i.rebuildRequest(t);return i.request(e,!0)}))})):i.getAccessToken().then((function(){var e=i.rebuildRequest(t);return i.request(e,!0)}))}))}},{key:"rebuildRequest",value:function(t){var e=Object.assign({},t);return e.data.token=this.accessToken,e.header["x-basement-token"]=this.accessToken,e.header["x-serverless-sign"]=Ct.sign(e.data,this.config.clientSecret),e}},{key:"setupRequest",value:function(t,e){var i=Object.assign({},t,{spaceId:this.config.spaceId,timestamp:Date.now()}),n={"Content-Type":"application/json"};return"auth"!==e&&(i.token=this.accessToken,n["x-basement-token"]=this.accessToken),n["x-serverless-sign"]=Ct.sign(i,this.config.clientSecret),{url:this.config.requestUrl,method:"POST",data:i,dataType:"json",header:n}}},{key:"getAccessToken",value:function(){return this._getAccessTokenPromiseHub.exec()}},{key:"authorize",value:function(){var t=(0,u.default)(r.default.mark((function t(){return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,this.getAccessToken();case 2:case"end":return t.stop()}}),t,this)})));return function(){return t.apply(this,arguments)}}()},{key:"callFunction",value:function(t){var e={method:"serverless.function.runtime.invoke",params:JSON.stringify({functionTarget:t.name,functionArgs:t.data||{}})};return this.request(w(w({},this.setupRequest(e)),{},{timeout:t.timeout}))}},{key:"getOSSUploadOptionsFromPath",value:function(t){var e={method:"serverless.file.resource.generateProximalSign",params:JSON.stringify(t)};return this.request(this.setupRequest(e))}},{key:"uploadFileToOSS",value:function(t){var e=this,i=t.url,n=t.formData,a=t.name,r=t.filePath,o=t.fileType,s=t.onUploadProgress;return new Promise((function(t,c){var l=e.adapter.uploadFile({url:i,formData:n,name:a,filePath:r,fileType:o,header:{"X-OSS-server-side-encrpytion":"AES256"},success:function(e){e&&e.statusCode<400?t(e):c(new gt({code:"UPLOAD_FAILED",message:"\u6587\u4ef6\u4e0a\u4f20\u5931\u8d25"}))},fail:function(t){c(new gt({code:t.code||"UPLOAD_FAILED",message:t.message||t.errMsg||"\u6587\u4ef6\u4e0a\u4f20\u5931\u8d25"}))}});"function"==typeof s&&l&&"function"==typeof l.onProgressUpdate&&l.onProgressUpdate((function(t){s({loaded:t.totalBytesSent,total:t.totalBytesExpectedToSend})}))}))}},{key:"reportOSSUpload",value:function(t){var e={method:"serverless.file.resource.report",params:JSON.stringify(t)};return this.request(this.setupRequest(e))}},{key:"uploadFile",value:function(){var t=(0,u.default)(r.default.mark((function t(e){var i,n,a,o,s,c,l,u,h,d,f,p,g,v,m,x,y,_,b,w,S,k;return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(i=e.filePath,n=e.cloudPath,a=e.fileType,o=void 0===a?"image":a,s=e.cloudPathAsRealPath,c=void 0!==s&&s,l=e.onUploadProgress,u=e.config,"string"===$(n)){t.next=3;break}throw new gt({code:"INVALID_PARAM",message:"cloudPath\u5fc5\u987b\u4e3a\u5b57\u7b26\u4e32\u7c7b\u578b"});case 3:if(n=n.trim()){t.next=5;break}throw new gt({code:"INVALID_PARAM",message:"cloudPath\u4e0d\u53ef\u4e3a\u7a7a"});case 5:if(!/:\/\//.test(n)){t.next=7;break}throw new gt({code:"INVALID_PARAM",message:"cloudPath\u4e0d\u5408\u6cd5"});case 7:if(h=u&&u.envType||this.config.envType,!(c&&("/"!==n[0]&&(n="/"+n),n.indexOf("\\")>-1))){t.next=10;break}throw new gt({code:"INVALID_PARAM",message:"\u4f7f\u7528cloudPath\u4f5c\u4e3a\u8def\u5f84\u65f6\uff0ccloudPath\u4e0d\u53ef\u5305\u542b\u201c\\\u201d"});case 10:return t.next=12,this.getOSSUploadOptionsFromPath({env:h,filename:c?n.split("/").pop():n,fileId:c?n:void 0});case 12:return d=t.sent.result,f="https://"+d.cdnDomain+"/"+d.ossPath,p=d.securityToken,g=d.accessKeyId,v=d.signature,m=d.host,x=d.ossPath,y=d.id,_=d.policy,b=d.ossCallbackUrl,w={"Cache-Control":"max-age=2592000","Content-Disposition":"attachment",OSSAccessKeyId:g,Signature:v,host:m,id:y,key:x,policy:_,success_action_status:200},p&&(w["x-oss-security-token"]=p),b&&(S=JSON.stringify({callbackUrl:b,callbackBody:JSON.stringify({fileId:y,spaceId:this.config.spaceId}),callbackBodyType:"application/json"}),w.callback=Ct.toBase64(S)),k={url:"https://"+d.host,formData:w,fileName:"file",name:"file",filePath:i,fileType:o},t.next=27,this.uploadFileToOSS(Object.assign({},k,{onUploadProgress:l}));case 27:if(!b){t.next=29;break}return t.abrupt("return",{success:!0,filePath:i,fileID:f});case 29:return t.next=31,this.reportOSSUpload({id:y});case 31:if(!t.sent.success){t.next=33;break}return t.abrupt("return",{success:!0,filePath:i,fileID:f});case 33:throw new gt({code:"UPLOAD_FAILED",message:"\u6587\u4ef6\u4e0a\u4f20\u5931\u8d25"});case 34:case"end":return t.stop()}}),t,this)})));return function(e){return t.apply(this,arguments)}}()},{key:"getTempFileURL",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.fileList;return new Promise((function(t,i){Array.isArray(e)&&0!==e.length||i(new gt({code:"INVALID_PARAM",message:"fileList\u7684\u5143\u7d20\u5fc5\u987b\u662f\u975e\u7a7a\u7684\u5b57\u7b26\u4e32"})),t({fileList:e.map((function(t){return{fileID:t,tempFileURL:t}}))})}))}},{key:"getFileInfo",value:function(){var t=(0,u.default)(r.default.mark((function t(){var e,i,n,a=arguments;return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(e=a.length>0&&void 0!==a[0]?a[0]:{},i=e.fileList,Array.isArray(i)&&0!==i.length){t.next=3;break}throw new gt({code:"INVALID_PARAM",message:"fileList\u7684\u5143\u7d20\u5fc5\u987b\u662f\u975e\u7a7a\u7684\u5b57\u7b26\u4e32"});case 3:return n={method:"serverless.file.resource.info",params:JSON.stringify({id:i.map((function(t){return t.split("?")[0]})).join(",")})},t.next=6,this.request(this.setupRequest(n));case 6:return t.t0=t.sent.result,t.abrupt("return",{fileList:t.t0});case 8:case"end":return t.stop()}}),t,this)})));return function(){return t.apply(this,arguments)}}()}]),t}(),Pt={init:function(t){var e=new Tt(t),i={signInAnonymously:function(){return e.authorize()},getLoginState:function(){return Promise.resolve(!1)}};return e.auth=function(){return i},e.customAuth=e.auth,e}},At="undefined"!=typeof location&&"http:"===location.protocol?"http:":"https:";!function(t){t.local="local",t.none="none",t.session="session"}(kt||(kt={}));var Ot,It=function(){},Lt=k((function(t,e){var i;t.exports=(i=T,function(t){var e=i,n=e.lib,a=n.WordArray,r=n.Hasher,o=e.algo,s=[],c=[];!function(){function e(e){for(var i=t.sqrt(e),n=2;n<=i;n++)if(!(e%n))return!1;return!0}function i(t){return 4294967296*(t-(0|t))|0}for(var n=2,a=0;a<64;)e(n)&&(a<8&&(s[a]=i(t.pow(n,.5))),c[a]=i(t.pow(n,1/3)),a++),n++}();var l=[],u=o.SHA256=r.extend({_doReset:function(){this._hash=new a.init(s.slice(0))},_doProcessBlock:function(t,e){for(var i=this._hash.words,n=i[0],a=i[1],r=i[2],o=i[3],s=i[4],u=i[5],h=i[6],d=i[7],f=0;f<64;f++){if(f<16)l[f]=0|t[e+f];else{var p=l[f-15],g=(p<<25|p>>>7)^(p<<14|p>>>18)^p>>>3,v=l[f-2],m=(v<<15|v>>>17)^(v<<13|v>>>19)^v>>>10;l[f]=g+l[f-7]+m+l[f-16]}var x=n&a^n&r^a&r,y=(n<<30|n>>>2)^(n<<19|n>>>13)^(n<<10|n>>>22),_=d+((s<<26|s>>>6)^(s<<21|s>>>11)^(s<<7|s>>>25))+(s&u^~s&h)+c[f]+l[f];d=h,h=u,u=s,s=o+_|0,o=r,r=a,a=n,n=_+(y+x)|0}i[0]=i[0]+n|0,i[1]=i[1]+a|0,i[2]=i[2]+r|0,i[3]=i[3]+o|0,i[4]=i[4]+s|0,i[5]=i[5]+u|0,i[6]=i[6]+h|0,i[7]=i[7]+d|0},_doFinalize:function(){var e=this._data,i=e.words,n=8*this._nDataBytes,a=8*e.sigBytes;return i[a>>>5]|=128<<24-a%32,i[14+(a+64>>>9<<4)]=t.floor(n/4294967296),i[15+(a+64>>>9<<4)]=n,e.sigBytes=4*i.length,this._process(),this._hash},clone:function(){var t=r.clone.call(this);return t._hash=this._hash.clone(),t}});e.SHA256=r._createHelper(u),e.HmacSHA256=r._createHmacHelper(u)}(Math),i.SHA256)})),Dt=Lt,Mt=k((function(t,e){t.exports=T.HmacSHA256})),Et=function(){var t;if(!Promise){t=function(){},t.promise={};var e=function(){throw new gt({message:'Your Node runtime does support ES6 Promises. Set "global.Promise" to your preferred implementation of promises.'})};return Object.defineProperty(t.promise,"then",{get:e}),Object.defineProperty(t.promise,"catch",{get:e}),t}var i=new Promise((function(e,i){t=function(t,n){return t?i(t):e(n)}}));return t.promise=i,t};function Ft(t){return void 0===t}function $t(t){return"[object Null]"===Object.prototype.toString.call(t)}function Nt(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return t.replace(/([\s\S]+)\s+(\u8bf7\u524d\u5f80\u4e91\u5f00\u53d1AI\u5c0f\u52a9\u624b\u67e5\u770b\u95ee\u9898\uff1a.*)/,"$1")}function Rt(){for(var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:32,e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",i="",n=0;n<t;n++)i+=e.charAt(Math.floor(62*Math.random()));return i}!function(t){t.WEB="web",t.WX_MP="wx_mp"}(Ot||(Ot={}));var jt={adapter:null,runtime:void 0},Ut=["anonymousUuidKey"],Bt=function(t){(0,d.default)(i,t);var e=S(i);function i(){var t;return(0,v.default)(this,i),t=e.call(this),jt.adapter.root.tcbObject||(jt.adapter.root.tcbObject={}),t}return(0,m.default)(i,[{key:"setItem",value:function(t,e){jt.adapter.root.tcbObject[t]=e}},{key:"getItem",value:function(t){return jt.adapter.root.tcbObject[t]}},{key:"removeItem",value:function(t){delete jt.adapter.root.tcbObject[t]}},{key:"clear",value:function(){delete jt.adapter.root.tcbObject}}]),i}(It);function zt(t,e){switch(t){case"local":return e.localStorage||new Bt;case"none":return new Bt;default:return e.sessionStorage||new Bt}}var Wt=function(){function t(e){if((0,v.default)(this,t),!this._storage){this._persistence=jt.adapter.primaryStorage||e.persistence,this._storage=zt(this._persistence,jt.adapter);var i="access_token_".concat(e.env),n="access_token_expire_".concat(e.env),a="refresh_token_".concat(e.env),r="anonymous_uuid_".concat(e.env),o="login_type_".concat(e.env),s="token_type_".concat(e.env),c="user_info_".concat(e.env);this.keys={accessTokenKey:i,accessTokenExpireKey:n,refreshTokenKey:a,anonymousUuidKey:r,loginTypeKey:o,userInfoKey:c,deviceIdKey:"device_id",tokenTypeKey:s}}}return(0,m.default)(t,[{key:"updatePersistence",value:function(t){if(t!==this._persistence){var e="local"===this._persistence;this._persistence=t;var i=zt(t,jt.adapter);for(var n in this.keys){var a=this.keys[n];if(!e||!Ut.includes(n)){var r=this._storage.getItem(a);Ft(r)||$t(r)||(i.setItem(a,r),this._storage.removeItem(a))}}this._storage=i}}},{key:"setStore",value:function(t,e,i){if(this._storage){var n={version:i||"localCachev1",content:e},a=JSON.stringify(n);try{this._storage.setItem(t,a)}catch(t){throw t}}}},{key:"getStore",value:function(t,e){try{if(!this._storage)return}catch(t){return""}e=e||"localCachev1";var i=this._storage.getItem(t);return i&&i.indexOf(e)>=0?JSON.parse(i).content:""}},{key:"removeStore",value:function(t){this._storage.removeItem(t)}}]),t}(),qt={},Ht={};function Gt(t){return qt[t]}var Jt=(0,m.default)((function t(e,i){(0,v.default)(this,t),this.data=i||null,this.name=e})),Vt=function(t){(0,d.default)(i,t);var e=S(i);function i(t,n){var a;return(0,v.default)(this,i),a=e.call(this,"error",{error:t,data:n}),a.error=t,a}return(0,m.default)(i)}(Jt),Kt=new(function(){function t(){(0,v.default)(this,t),this._listeners={}}return(0,m.default)(t,[{key:"on",value:function(t,e){return function(t,e,i){i[t]=i[t]||[],i[t].push(e)}(t,e,this._listeners),this}},{key:"off",value:function(t,e){return function(t,e,i){if(i&&i[t]){var n=i[t].indexOf(e);-1!==n&&i[t].splice(n,1)}}(t,e,this._listeners),this}},{key:"fire",value:function(t,e){if(t instanceof Vt)return console.error(t.error),this;var i="string"==typeof t?new Jt(t,e||{}):t,n=i.name;if(this._listens(n)){i.target=this;var a,r=this._listeners[n]?(0,l.default)(this._listeners[n]):[],o=y(r);try{for(o.s();!(a=o.n()).done;){var s=a.value;s.call(this,i)}}catch(c){o.e(c)}finally{o.f()}}return this}},{key:"_listens",value:function(t){return this._listeners[t]&&this._listeners[t].length>0}}]),t}());function Xt(t,e){Kt.on(t,e)}function Yt(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};Kt.fire(t,e)}function Qt(t,e){Kt.off(t,e)}var Zt,te="loginStateChanged",ee="loginStateExpire",ie="loginTypeChanged",ne="anonymousConverted",ae="refreshAccessToken";!function(t){t.ANONYMOUS="ANONYMOUS",t.WECHAT="WECHAT",t.WECHAT_PUBLIC="WECHAT-PUBLIC",t.WECHAT_OPEN="WECHAT-OPEN",t.CUSTOM="CUSTOM",t.EMAIL="EMAIL",t.USERNAME="USERNAME",t.NULL="NULL"}(Zt||(Zt={}));var re=function(){function t(){(0,v.default)(this,t),this._fnPromiseMap=new Map}return(0,m.default)(t,[{key:"run",value:function(){var t=(0,u.default)(r.default.mark((function t(e,i){var n,a=this;return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return n=this._fnPromiseMap.get(e),t.abrupt("return",(n||(n=new Promise(function(){var t=(0,u.default)(r.default.mark((function t(n,o){var s;return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,a._runIdlePromise();case 3:return s=i(),t.t0=n,t.next=7,s;case 7:t.t1=t.sent,(0,t.t0)(t.t1),t.next=14;break;case 11:t.prev=11,t.t2=t["catch"](0),o(t.t2);case 14:return t.prev=14,a._fnPromiseMap.delete(e),t.finish(14);case 17:case"end":return t.stop()}}),t,null,[[0,11,14,17]])})));return function(e,i){return t.apply(this,arguments)}}()),this._fnPromiseMap.set(e,n)),n));case 2:case"end":return t.stop()}}),t,this)})));return function(e,i){return t.apply(this,arguments)}}()},{key:"_runIdlePromise",value:function(){return Promise.resolve()}}]),t}(),oe=function(){function t(e){(0,v.default)(this,t),this._singlePromise=new re,this._cache=Gt(e.env),this._baseURL="https://".concat(e.env,".ap-shanghai.tcb-api.tencentcloudapi.com"),this._reqClass=new jt.adapter.reqClass({timeout:e.timeout,timeoutMsg:"\u8bf7\u6c42\u5728".concat(e.timeout/1e3,"s\u5185\u672a\u5b8c\u6210\uff0c\u5df2\u4e2d\u65ad"),restrictedMethods:["post"]})}return(0,m.default)(t,[{key:"_getDeviceId",value:function(){if(this._deviceID)return this._deviceID;var t=this._cache.keys.deviceIdKey,e=this._cache.getStore(t);return"string"==typeof e&&e.length>=16&&e.length<=48||(e=Rt(),this._cache.setStore(t,e)),this._deviceID=e,e}},{key:"_request",value:function(){var t=(0,u.default)(r.default.mark((function t(e,i){var n,a,o,s,c,l=arguments;return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(n=l.length>2&&void 0!==l[2]?l[2]:{},a={"x-request-id":Rt(),"x-device-id":this._getDeviceId()},!n.withAccessToken){t.next=9;break}return o=this._cache.keys.tokenTypeKey,t.next=6,this.getAccessToken();case 6:s=t.sent,c=this._cache.getStore(o),a.authorization="".concat(c," ").concat(s);case 9:return t.abrupt("return",this._reqClass["get"===n.method?"get":"post"]({url:"".concat(this._baseURL).concat(e),data:i,headers:a}));case 10:case"end":return t.stop()}}),t,this)})));return function(e,i){return t.apply(this,arguments)}}()},{key:"_fetchAccessToken",value:function(){var t=(0,u.default)(r.default.mark((function t(){var e,i,n,a,o,s,c,l,h,d,f=this;return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(e=this._cache.keys,i=e.loginTypeKey,n=e.accessTokenKey,a=e.accessTokenExpireKey,o=e.tokenTypeKey,s=this._cache.getStore(i),!s||s===Zt.ANONYMOUS){t.next=3;break}throw new gt({code:"INVALID_OPERATION",message:"\u975e\u533f\u540d\u767b\u5f55\u4e0d\u652f\u6301\u5237\u65b0 access token"});case 3:return t.next=5,this._singlePromise.run("fetchAccessToken",(0,u.default)(r.default.mark((function t(){return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,f._request("/auth/v1/signin/anonymously",{},{method:"post"});case 2:return t.abrupt("return",t.sent.data);case 3:case"end":return t.stop()}}),t)}))));case 5:return c=t.sent,l=c.access_token,h=c.expires_in,d=c.token_type,t.abrupt("return",(this._cache.setStore(o,d),this._cache.setStore(n,l),this._cache.setStore(a,Date.now()+1e3*h),l));case 10:case"end":return t.stop()}}),t,this)})));return function(){return t.apply(this,arguments)}}()},{key:"isAccessTokenExpired",value:function(t,e){var i=!0;return t&&e&&(i=e<Date.now()),i}},{key:"getAccessToken",value:function(){var t=(0,u.default)(r.default.mark((function t(){var e,i,n,a,o;return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return e=this._cache.keys,i=e.accessTokenKey,n=e.accessTokenExpireKey,a=this._cache.getStore(i),o=this._cache.getStore(n),t.abrupt("return",this.isAccessTokenExpired(a,o)?this._fetchAccessToken():a);case 2:case"end":return t.stop()}}),t,this)})));return function(){return t.apply(this,arguments)}}()},{key:"refreshAccessToken",value:function(){var t=(0,u.default)(r.default.mark((function t(){var e,i,n,a;return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return e=this._cache.keys,i=e.accessTokenKey,n=e.accessTokenExpireKey,a=e.loginTypeKey,t.abrupt("return",(this._cache.removeStore(i),this._cache.removeStore(n),this._cache.setStore(a,Zt.ANONYMOUS),this.getAccessToken()));case 2:case"end":return t.stop()}}),t,this)})));return function(){return t.apply(this,arguments)}}()},{key:"getUserInfo",value:function(){var t=(0,u.default)(r.default.mark((function t(){var e=this;return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.abrupt("return",this._singlePromise.run("getUserInfo",(0,u.default)(r.default.mark((function t(){return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,e._request("/auth/v1/user/me",{},{withAccessToken:!0,method:"get"});case 2:return t.abrupt("return",t.sent.data);case 3:case"end":return t.stop()}}),t)})))));case 1:case"end":return t.stop()}}),t,this)})));return function(){return t.apply(this,arguments)}}()}]),t}(),se=["auth.getJwt","auth.logout","auth.signInWithTicket","auth.signInAnonymously","auth.signIn","auth.fetchAccessTokenWithRefreshToken","auth.signUpWithEmailAndPassword","auth.activateEndUserMail","auth.sendPasswordResetEmail","auth.resetPasswordWithToken","auth.isUsernameRegistered"],ce={"X-SDK-Version":"1.3.5"};function le(t,e,i){var n=t[e];t[e]=function(e){var a={},r={};i.forEach((function(i){var n=i.call(t,e),o=n.data,s=n.headers;Object.assign(a,o),Object.assign(r,s)}));var o=e.data;return o&&function(){var t;if(t=o,"[object FormData]"!==Object.prototype.toString.call(t))e.data=w(w({},o),a);else for(var i in a)o.append(i,a[i])}(),e.headers=w(w({},e.headers||{}),r),n.call(t,e)}}function ue(){var t=Math.random().toString(16).slice(2);return{data:{seqId:t},headers:w(w({},ce),{},{"x-seqid":t})}}var he=function(){function t(){var e,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(0,v.default)(this,t),this.config=i,this._reqClass=new jt.adapter.reqClass({timeout:this.config.timeout,timeoutMsg:"\u8bf7\u6c42\u5728".concat(this.config.timeout/1e3,"s\u5185\u672a\u5b8c\u6210\uff0c\u5df2\u4e2d\u65ad"),restrictedMethods:["post"]}),this._cache=Gt(this.config.env),this._localCache=(e=this.config.env,Ht[e]),this.oauth=new oe(this.config),le(this._reqClass,"post",[ue]),le(this._reqClass,"upload",[ue]),le(this._reqClass,"download",[ue])}return(0,m.default)(t,[{key:"post",value:function(){var t=(0,u.default)(r.default.mark((function t(e){return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,this._reqClass.post(e);case 2:return t.abrupt("return",t.sent);case 3:case"end":return t.stop()}}),t,this)})));return function(e){return t.apply(this,arguments)}}()},{key:"upload",value:function(){var t=(0,u.default)(r.default.mark((function t(e){return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,this._reqClass.upload(e);case 2:return t.abrupt("return",t.sent);case 3:case"end":return t.stop()}}),t,this)})));return function(e){return t.apply(this,arguments)}}()},{key:"download",value:function(){var t=(0,u.default)(r.default.mark((function t(e){return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,this._reqClass.download(e);case 2:return t.abrupt("return",t.sent);case 3:case"end":return t.stop()}}),t,this)})));return function(e){return t.apply(this,arguments)}}()},{key:"refreshAccessToken",value:function(){var t=(0,u.default)(r.default.mark((function t(){var e,i;return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return this._refreshAccessTokenPromise||(this._refreshAccessTokenPromise=this._refreshAccessToken()),t.prev=1,t.next=4,this._refreshAccessTokenPromise;case 4:e=t.sent,t.next=10;break;case 7:t.prev=7,t.t0=t["catch"](1),i=t.t0;case 10:if(this._refreshAccessTokenPromise=null,this._shouldRefreshAccessTokenHook=null,!i){t.next=12;break}throw i;case 12:return t.abrupt("return",e);case 13:case"end":return t.stop()}}),t,this,[[1,7]])})));return function(){return t.apply(this,arguments)}}()},{key:"_refreshAccessToken",value:function(){var t=(0,u.default)(r.default.mark((function t(){var e,i,n,a,o,s,c,l,u,h,d,f,p;return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(e=this._cache.keys,i=e.accessTokenKey,n=e.accessTokenExpireKey,a=e.refreshTokenKey,o=e.loginTypeKey,s=e.anonymousUuidKey,this._cache.removeStore(i),this._cache.removeStore(n),c=this._cache.getStore(a),c){t.next=5;break}throw new gt({message:"\u672a\u767b\u5f55CloudBase"});case 5:return l={refresh_token:c},t.next=8,this.request("auth.fetchAccessTokenWithRefreshToken",l);case 8:if(u=t.sent,!u.data.code){t.next=21;break}if(h=u.data.code,"SIGN_PARAM_INVALID"!==h&&"REFRESH_TOKEN_EXPIRED"!==h&&"INVALID_REFRESH_TOKEN"!==h){t.next=20;break}if(this._cache.getStore(o)!==Zt.ANONYMOUS||"INVALID_REFRESH_TOKEN"!==h){t.next=19;break}return d=this._cache.getStore(s),f=this._cache.getStore(a),t.next=17,this.send("auth.signInAnonymously",{anonymous_uuid:d,refresh_token:f});case 17:return p=t.sent,t.abrupt("return",(this.setRefreshToken(p.refresh_token),this._refreshAccessToken()));case 19:Yt(ee),this._cache.removeStore(a);case 20:throw new gt({code:u.data.code,message:"\u5237\u65b0access token\u5931\u8d25\uff1a".concat(u.data.code)});case 21:if(!u.data.access_token){t.next=23;break}return t.abrupt("return",(Yt(ae),this._cache.setStore(i,u.data.access_token),this._cache.setStore(n,u.data.access_token_expire+Date.now()),{accessToken:u.data.access_token,accessTokenExpire:u.data.access_token_expire}));case 23:u.data.refresh_token&&(this._cache.removeStore(a),this._cache.setStore(a,u.data.refresh_token),this._refreshAccessToken());case 24:case"end":return t.stop()}}),t,this)})));return function(){return t.apply(this,arguments)}}()},{key:"getAccessToken",value:function(){var t=(0,u.default)(r.default.mark((function t(){var e,i,n,a,o,s,c;return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(e=this._cache.keys,i=e.accessTokenKey,n=e.accessTokenExpireKey,a=e.refreshTokenKey,this._cache.getStore(a)){t.next=3;break}throw new gt({message:"refresh token\u4e0d\u5b58\u5728\uff0c\u767b\u5f55\u72b6\u6001\u5f02\u5e38"});case 3:if(o=this._cache.getStore(i),s=this._cache.getStore(n),c=!0,t.t0=this._shouldRefreshAccessTokenHook,!t.t0){t.next=9;break}return t.next=8,this._shouldRefreshAccessTokenHook(o,s);case 8:t.t0=!t.sent;case 9:if(t.t1=t.t0,!t.t1){t.next=12;break}c=!1;case 12:return t.abrupt("return",(!o||!s||s<Date.now())&&c?this.refreshAccessToken():{accessToken:o,accessTokenExpire:s});case 13:case"end":return t.stop()}}),t,this)})));return function(){return t.apply(this,arguments)}}()},{key:"request",value:function(){var t=(0,u.default)(r.default.mark((function t(e,i,n){var a,o,s,c,l,u,h,d,f,p,g,v,m,x,y;return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(a="x-tcb-trace_".concat(this.config.env),o="application/x-www-form-urlencoded",s=w({action:e,env:this.config.env,dataVersion:"2019-08-16"},i),t.t0=-1===se.indexOf(e),!t.t0){t.next=9;break}return this._cache.keys,t.next=8,this.oauth.getAccessToken();case 8:s.access_token=t.sent;case 9:if("storage.uploadFile"!==e){t.next=15;break}for(l in c=new FormData,c)c.hasOwnProperty(l)&&void 0!==c[l]&&c.append(l,s[l]);o="multipart/form-data",t.next=17;break;case 15:for(u in o="application/json",c={},s)void 0!==s[u]&&(c[u]=s[u]);case 17:return h={headers:{"content-type":o}},n&&n.timeout&&(h.timeout=n.timeout),n&&n.onUploadProgress&&(h.onUploadProgress=n.onUploadProgress),d=this._localCache.getStore(a),d&&(h.headers["X-TCB-Trace"]=d),f=i.parse,p=i.inQuery,g=i.search,v={env:this.config.env},f&&(v.parse=!0),p&&(v=w(w({},p),v)),m=function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=/\?/.test(e),a="";for(var r in i)""===a?!n&&(e+="?"):a+="&",a+="".concat(r,"=").concat(encodeURIComponent(i[r]));return/^http(s)?\:\/\//.test(e+=a)?e:"".concat(t).concat(e)}(At,"//tcb-api.tencentcloudapi.com/web",v),g&&(m+=g),t.next=28,this.post(w({url:m,data:c},h));case 28:if(x=t.sent,y=x.header&&x.header["x-tcb-trace"],y&&this._localCache.setStore(a,y),(200===Number(x.status)||200===Number(x.statusCode))&&x.data){t.next=32;break}throw new gt({code:"NETWORK_ERROR",message:"network request error"});case 32:return t.abrupt("return",x);case 33:case"end":return t.stop()}}),t,this)})));return function(e,i,n){return t.apply(this,arguments)}}()},{key:"send",value:function(){var t=(0,u.default)(r.default.mark((function t(e){var i,n,a,o,s=arguments;return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return i=s.length>1&&void 0!==s[1]?s[1]:{},n=s.length>2&&void 0!==s[2]?s[2]:{},t.next=4,this.request(e,i,w(w({},n),{},{onUploadProgress:i.onUploadProgress}));case 4:if(a=t.sent,"ACCESS_TOKEN_DISABLED"!==a.data.code&&"ACCESS_TOKEN_EXPIRED"!==a.data.code||-1!==se.indexOf(e)){t.next=14;break}return t.next=8,this.oauth.refreshAccessToken();case 8:return t.next=10,this.request(e,i,w(w({},n),{},{onUploadProgress:i.onUploadProgress}));case 10:if(o=t.sent,!o.data.code){t.next=13;break}throw new gt({code:o.data.code,message:Nt(o.data.message)});case 13:return t.abrupt("return",o.data);case 14:if(!a.data.code){t.next=16;break}throw new gt({code:a.data.code,message:Nt(a.data.message)});case 16:return t.abrupt("return",a.data);case 17:case"end":return t.stop()}}),t,this)})));return function(e){return t.apply(this,arguments)}}()},{key:"setRefreshToken",value:function(t){var e=this._cache.keys,i=e.accessTokenKey,n=e.accessTokenExpireKey,a=e.refreshTokenKey;this._cache.removeStore(i),this._cache.removeStore(n),this._cache.setStore(a,t)}}]),t}(),de={};function fe(t){return de[t]}var pe=function(){function t(e){(0,v.default)(this,t),this.config=e,this._cache=Gt(e.env),this._request=fe(e.env)}return(0,m.default)(t,[{key:"setRefreshToken",value:function(t){var e=this._cache.keys,i=e.accessTokenKey,n=e.accessTokenExpireKey,a=e.refreshTokenKey;this._cache.removeStore(i),this._cache.removeStore(n),this._cache.setStore(a,t)}},{key:"setAccessToken",value:function(t,e){var i=this._cache.keys,n=i.accessTokenKey,a=i.accessTokenExpireKey;this._cache.setStore(n,t),this._cache.setStore(a,e)}},{key:"refreshUserInfo",value:function(){var t=(0,u.default)(r.default.mark((function t(){var e,i;return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,this._request.send("auth.getUserInfo",{});case 2:return e=t.sent,i=e.data,t.abrupt("return",(this.setLocalUserInfo(i),i));case 5:case"end":return t.stop()}}),t,this)})));return function(){return t.apply(this,arguments)}}()},{key:"setLocalUserInfo",value:function(t){var e=this._cache.keys.userInfoKey;this._cache.setStore(e,t)}}]),t}(),ge=function(){function t(e){if((0,v.default)(this,t),!e)throw new gt({code:"PARAM_ERROR",message:"envId is not defined"});this._envId=e,this._cache=Gt(this._envId),this._request=fe(this._envId),this.setUserInfo()}return(0,m.default)(t,[{key:"linkWithTicket",value:function(t){if("string"!=typeof t)throw new gt({code:"PARAM_ERROR",message:"ticket must be string"});return this._request.send("auth.linkWithTicket",{ticket:t})}},{key:"linkWithRedirect",value:function(t){t.signInWithRedirect()}},{key:"updatePassword",value:function(t,e){return this._request.send("auth.updatePassword",{oldPassword:e,newPassword:t})}},{key:"updateEmail",value:function(t){return this._request.send("auth.updateEmail",{newEmail:t})}},{key:"updateUsername",value:function(t){if("string"!=typeof t)throw new gt({code:"PARAM_ERROR",message:"username must be a string"});return this._request.send("auth.updateUsername",{username:t})}},{key:"getLinkedUidList",value:function(){var t=(0,u.default)(r.default.mark((function t(){var e,i,n,a;return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,this._request.send("auth.getLinkedUidList",{});case 2:return e=t.sent,i=e.data,n=!1,a=i.users,t.abrupt("return",(a.forEach((function(t){t.wxOpenId&&t.wxPublicId&&(n=!0)})),{users:a,hasPrimaryUid:n}));case 7:case"end":return t.stop()}}),t,this)})));return function(){return t.apply(this,arguments)}}()},{key:"setPrimaryUid",value:function(t){return this._request.send("auth.setPrimaryUid",{uid:t})}},{key:"unlink",value:function(t){return this._request.send("auth.unlink",{platform:t})}},{key:"update",value:function(){var t=(0,u.default)(r.default.mark((function t(e){var i,n,a,o,s,c,l,u;return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return i=e.nickName,n=e.gender,a=e.avatarUrl,o=e.province,s=e.country,c=e.city,t.next=8,this._request.send("auth.updateUserInfo",{nickName:i,gender:n,avatarUrl:a,province:o,country:s,city:c});case 8:l=t.sent,u=l.data,this.setLocalUserInfo(u);case 11:case"end":return t.stop()}}),t,this)})));return function(e){return t.apply(this,arguments)}}()},{key:"refresh",value:function(){var t=(0,u.default)(r.default.mark((function t(){var e;return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,this._request.oauth.getUserInfo();case 2:return e=t.sent,t.abrupt("return",(this.setLocalUserInfo(e),e));case 4:case"end":return t.stop()}}),t,this)})));return function(){return t.apply(this,arguments)}}()},{key:"setUserInfo",value:function(){var t=this,e=this._cache.keys.userInfoKey,i=this._cache.getStore(e);["uid","loginType","openid","wxOpenId","wxPublicId","unionId","qqMiniOpenId","email","hasPassword","customUserId","nickName","gender","avatarUrl"].forEach((function(e){t[e]=i[e]})),this.location={country:i.country,province:i.province,city:i.city}}},{key:"setLocalUserInfo",value:function(t){var e=this._cache.keys.userInfoKey;this._cache.setStore(e,t),this.setUserInfo()}}]),t}(),ve=function(){function t(e){if((0,v.default)(this,t),!e)throw new gt({code:"PARAM_ERROR",message:"envId is not defined"});this._cache=Gt(e);var i=this._cache.keys,n=i.refreshTokenKey,a=i.accessTokenKey,r=i.accessTokenExpireKey,o=this._cache.getStore(n),s=this._cache.getStore(a),c=this._cache.getStore(r);this.credential={refreshToken:o,accessToken:s,accessTokenExpire:c},this.user=new ge(e)}return(0,m.default)(t,[{key:"isAnonymousAuth",get:function(){return this.loginType===Zt.ANONYMOUS}},{key:"isCustomAuth",get:function(){return this.loginType===Zt.CUSTOM}},{key:"isWeixinAuth",get:function(){return this.loginType===Zt.WECHAT||this.loginType===Zt.WECHAT_OPEN||this.loginType===Zt.WECHAT_PUBLIC}},{key:"loginType",get:function(){return this._cache.getStore(this._cache.keys.loginTypeKey)}}]),t}(),me=function(t){(0,d.default)(i,t);var e=S(i);function i(){return(0,v.default)(this,i),e.apply(this,arguments)}return(0,m.default)(i,[{key:"signIn",value:function(){var t=(0,u.default)(r.default.mark((function t(){var e;return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return this._cache.updatePersistence("local"),t.next=3,this._request.oauth.getAccessToken();case 3:return Yt(te),Yt(ie,{env:this.config.env,loginType:Zt.ANONYMOUS,persistence:"local"}),e=new ve(this.config.env),t.next=8,e.user.refresh();case 8:return t.abrupt("return",e);case 9:case"end":return t.stop()}}),t,this)})));return function(){return t.apply(this,arguments)}}()},{key:"linkAndRetrieveDataWithTicket",value:function(){var t=(0,u.default)(r.default.mark((function t(e){var i,n,a,o,s,c;return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return i=this._cache.keys,n=i.anonymousUuidKey,a=i.refreshTokenKey,o=this._cache.getStore(n),s=this._cache.getStore(a),t.next=7,this._request.send("auth.linkAndRetrieveDataWithTicket",{anonymous_uuid:o,refresh_token:s,ticket:e});case 7:if(c=t.sent,!c.refresh_token){t.next=16;break}return this._clearAnonymousUUID(),this.setRefreshToken(c.refresh_token),t.next=13,this._request.refreshAccessToken();case 13:return Yt(ne,{env:this.config.env}),Yt(ie,{loginType:Zt.CUSTOM,persistence:"local"}),t.abrupt("return",{credential:{refreshToken:c.refresh_token}});case 16:throw new gt({message:"\u533f\u540d\u8f6c\u5316\u5931\u8d25"});case 17:case"end":return t.stop()}}),t,this)})));return function(e){return t.apply(this,arguments)}}()},{key:"_setAnonymousUUID",value:function(t){var e=this._cache.keys,i=e.anonymousUuidKey,n=e.loginTypeKey;this._cache.removeStore(i),this._cache.setStore(i,t),this._cache.setStore(n,Zt.ANONYMOUS)}},{key:"_clearAnonymousUUID",value:function(){this._cache.removeStore(this._cache.keys.anonymousUuidKey)}}]),i}(pe),xe=function(t){(0,d.default)(i,t);var e=S(i);function i(){return(0,v.default)(this,i),e.apply(this,arguments)}return(0,m.default)(i,[{key:"signIn",value:function(){var t=(0,u.default)(r.default.mark((function t(e){var i,n;return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if("string"==typeof e){t.next=2;break}throw new gt({code:"PARAM_ERROR",message:"ticket must be a string"});case 2:return i=this._cache.keys.refreshTokenKey,t.next=5,this._request.send("auth.signInWithTicket",{ticket:e,refresh_token:this._cache.getStore(i)||""});case 5:if(n=t.sent,!n.refresh_token){t.next=15;break}return this.setRefreshToken(n.refresh_token),t.next=10,this._request.refreshAccessToken();case 10:return Yt(te),Yt(ie,{env:this.config.env,loginType:Zt.CUSTOM,persistence:this.config.persistence}),t.next=14,this.refreshUserInfo();case 14:return t.abrupt("return",new ve(this.config.env));case 15:throw new gt({message:"\u81ea\u5b9a\u4e49\u767b\u5f55\u5931\u8d25"});case 16:case"end":return t.stop()}}),t,this)})));return function(e){return t.apply(this,arguments)}}()}]),i}(pe),ye=function(t){(0,d.default)(i,t);var e=S(i);function i(){return(0,v.default)(this,i),e.apply(this,arguments)}return(0,m.default)(i,[{key:"signIn",value:function(){var t=(0,u.default)(r.default.mark((function t(e,i){var n,a,o,s,c;return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if("string"==typeof e){t.next=2;break}throw new gt({code:"PARAM_ERROR",message:"email must be a string"});case 2:return n=this._cache.keys.refreshTokenKey,t.next=5,this._request.send("auth.signIn",{loginType:"EMAIL",email:e,password:i,refresh_token:this._cache.getStore(n)||""});case 5:if(a=t.sent,o=a.refresh_token,s=a.access_token,c=a.access_token_expire,!o){t.next=22;break}if(this.setRefreshToken(o),!s||!c){t.next=15;break}this.setAccessToken(s,c),t.next=17;break;case 15:return t.next=17,this._request.refreshAccessToken();case 17:return t.next=19,this.refreshUserInfo();case 19:return Yt(te),Yt(ie,{env:this.config.env,loginType:Zt.EMAIL,persistence:this.config.persistence}),t.abrupt("return",new ve(this.config.env));case 22:throw a.code?new gt({code:a.code,message:"\u90ae\u7bb1\u767b\u5f55\u5931\u8d25: ".concat(a.message)}):new gt({message:"\u90ae\u7bb1\u767b\u5f55\u5931\u8d25"});case 23:case"end":return t.stop()}}),t,this)})));return function(e,i){return t.apply(this,arguments)}}()},{key:"activate",value:function(){var t=(0,u.default)(r.default.mark((function t(e){return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.abrupt("return",this._request.send("auth.activateEndUserMail",{token:e}));case 1:case"end":return t.stop()}}),t,this)})));return function(e){return t.apply(this,arguments)}}()},{key:"resetPasswordWithToken",value:function(){var t=(0,u.default)(r.default.mark((function t(e,i){return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.abrupt("return",this._request.send("auth.resetPasswordWithToken",{token:e,newPassword:i}));case 1:case"end":return t.stop()}}),t,this)})));return function(e,i){return t.apply(this,arguments)}}()}]),i}(pe),_e=function(t){(0,d.default)(i,t);var e=S(i);function i(){return(0,v.default)(this,i),e.apply(this,arguments)}return(0,m.default)(i,[{key:"signIn",value:function(){var t=(0,u.default)(r.default.mark((function t(e,i){var n,a,o,s,c;return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if("string"==typeof e){t.next=2;break}throw new gt({code:"PARAM_ERROR",message:"username must be a string"});case 2:return"string"!=typeof i&&(i="",console.warn("password is empty")),n=this._cache.keys.refreshTokenKey,t.next=6,this._request.send("auth.signIn",{loginType:Zt.USERNAME,username:e,password:i,refresh_token:this._cache.getStore(n)||""});case 6:if(a=t.sent,o=a.refresh_token,s=a.access_token_expire,c=a.access_token,!o){t.next=23;break}if(this.setRefreshToken(o),!c||!s){t.next=16;break}this.setAccessToken(c,s),t.next=18;break;case 16:return t.next=18,this._request.refreshAccessToken();case 18:return t.next=20,this.refreshUserInfo();case 20:return Yt(te),Yt(ie,{env:this.config.env,loginType:Zt.USERNAME,persistence:this.config.persistence}),t.abrupt("return",new ve(this.config.env));case 23:throw a.code?new gt({code:a.code,message:"\u7528\u6237\u540d\u5bc6\u7801\u767b\u5f55\u5931\u8d25: ".concat(a.message)}):new gt({message:"\u7528\u6237\u540d\u5bc6\u7801\u767b\u5f55\u5931\u8d25"});case 24:case"end":return t.stop()}}),t,this)})));return function(e,i){return t.apply(this,arguments)}}()}]),i}(pe),be=function(){function t(e){(0,v.default)(this,t),this.config=e,this._cache=Gt(e.env),this._request=fe(e.env),this._onAnonymousConverted=this._onAnonymousConverted.bind(this),this._onLoginTypeChanged=this._onLoginTypeChanged.bind(this),Xt(ie,this._onLoginTypeChanged)}return(0,m.default)(t,[{key:"currentUser",get:function(){var t=this.hasLoginState();return t&&t.user||null}},{key:"loginType",get:function(){return this._cache.getStore(this._cache.keys.loginTypeKey)}},{key:"anonymousAuthProvider",value:function(){return new me(this.config)}},{key:"customAuthProvider",value:function(){return new xe(this.config)}},{key:"emailAuthProvider",value:function(){return new ye(this.config)}},{key:"usernameAuthProvider",value:function(){return new _e(this.config)}},{key:"signInAnonymously",value:function(){var t=(0,u.default)(r.default.mark((function t(){return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.abrupt("return",new me(this.config).signIn());case 1:case"end":return t.stop()}}),t,this)})));return function(){return t.apply(this,arguments)}}()},{key:"signInWithEmailAndPassword",value:function(){var t=(0,u.default)(r.default.mark((function t(e,i){return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.abrupt("return",new ye(this.config).signIn(e,i));case 1:case"end":return t.stop()}}),t,this)})));return function(e,i){return t.apply(this,arguments)}}()},{key:"signInWithUsernameAndPassword",value:function(t,e){return new _e(this.config).signIn(t,e)}},{key:"linkAndRetrieveDataWithTicket",value:function(){var t=(0,u.default)(r.default.mark((function t(e){return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return this._anonymousAuthProvider||(this._anonymousAuthProvider=new me(this.config)),Xt(ne,this._onAnonymousConverted),t.next=3,this._anonymousAuthProvider.linkAndRetrieveDataWithTicket(e);case 3:return t.abrupt("return",t.sent);case 4:case"end":return t.stop()}}),t,this)})));return function(e){return t.apply(this,arguments)}}()},{key:"signOut",value:function(){var t=(0,u.default)(r.default.mark((function t(){var e,i,n,a,o,s;return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(this.loginType!==Zt.ANONYMOUS){t.next=2;break}throw new gt({message:"\u533f\u540d\u7528\u6237\u4e0d\u652f\u6301\u767b\u51fa\u64cd\u4f5c"});case 2:if(e=this._cache.keys,i=e.refreshTokenKey,n=e.accessTokenKey,a=e.accessTokenExpireKey,o=this._cache.getStore(i),o){t.next=5;break}return t.abrupt("return");case 5:return t.next=7,this._request.send("auth.logout",{refresh_token:o});case 7:return s=t.sent,t.abrupt("return",(this._cache.removeStore(i),this._cache.removeStore(n),this._cache.removeStore(a),Yt(te),Yt(ie,{env:this.config.env,loginType:Zt.NULL,persistence:this.config.persistence}),s));case 9:case"end":return t.stop()}}),t,this)})));return function(){return t.apply(this,arguments)}}()},{key:"signUpWithEmailAndPassword",value:function(){var t=(0,u.default)(r.default.mark((function t(e,i){return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.abrupt("return",this._request.send("auth.signUpWithEmailAndPassword",{email:e,password:i}));case 1:case"end":return t.stop()}}),t,this)})));return function(e,i){return t.apply(this,arguments)}}()},{key:"sendPasswordResetEmail",value:function(){var t=(0,u.default)(r.default.mark((function t(e){return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.abrupt("return",this._request.send("auth.sendPasswordResetEmail",{email:e}));case 1:case"end":return t.stop()}}),t,this)})));return function(e){return t.apply(this,arguments)}}()},{key:"onLoginStateChanged",value:function(t){var e=this;Xt(te,(function(){var i=e.hasLoginState();t.call(e,i)}));var i=this.hasLoginState();t.call(this,i)}},{key:"onLoginStateExpired",value:function(t){Xt(ee,t.bind(this))}},{key:"onAccessTokenRefreshed",value:function(t){Xt(ae,t.bind(this))}},{key:"onAnonymousConverted",value:function(t){Xt(ne,t.bind(this))}},{key:"onLoginTypeChanged",value:function(t){var e=this;Xt(ie,(function(){var i=e.hasLoginState();t.call(e,i)}))}},{key:"getAccessToken",value:function(){var t=(0,u.default)(r.default.mark((function t(){return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,this._request.getAccessToken();case 2:return t.t0=t.sent.accessToken,t.t1=this.config.env,t.abrupt("return",{accessToken:t.t0,env:t.t1});case 5:case"end":return t.stop()}}),t,this)})));return function(){return t.apply(this,arguments)}}()},{key:"hasLoginState",value:function(){var t=this._cache.keys,e=t.accessTokenKey,i=t.accessTokenExpireKey,n=this._cache.getStore(e),a=this._cache.getStore(i);return this._request.oauth.isAccessTokenExpired(n,a)?null:new ve(this.config.env)}},{key:"isUsernameRegistered",value:function(){var t=(0,u.default)(r.default.mark((function t(e){var i,n;return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if("string"==typeof e){t.next=2;break}throw new gt({code:"PARAM_ERROR",message:"username must be a string"});case 2:return t.next=4,this._request.send("auth.isUsernameRegistered",{username:e});case 4:return i=t.sent,n=i.data,t.abrupt("return",n&&n.isRegistered);case 7:case"end":return t.stop()}}),t,this)})));return function(e){return t.apply(this,arguments)}}()},{key:"getLoginState",value:function(){return Promise.resolve(this.hasLoginState())}},{key:"signInWithTicket",value:function(){var t=(0,u.default)(r.default.mark((function t(e){return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.abrupt("return",new xe(this.config).signIn(e));case 1:case"end":return t.stop()}}),t,this)})));return function(e){return t.apply(this,arguments)}}()},{key:"shouldRefreshAccessToken",value:function(t){this._request._shouldRefreshAccessTokenHook=t.bind(this)}},{key:"getUserInfo",value:function(){return this._request.send("auth.getUserInfo",{}).then((function(t){return t.code?t:w(w({},t.data),{},{requestId:t.seqId})}))}},{key:"getAuthHeader",value:function(){var t=this._cache.keys,e=t.refreshTokenKey,i=t.accessTokenKey,n=this._cache.getStore(e);return{"x-cloudbase-credentials":this._cache.getStore(i)+"/@@/"+n}}},{key:"_onAnonymousConverted",value:function(t){var e=t.data.env;e===this.config.env&&this._cache.updatePersistence(this.config.persistence)}},{key:"_onLoginTypeChanged",value:function(t){var e=t.data,i=e.loginType,n=e.persistence,a=e.env;a===this.config.env&&(this._cache.updatePersistence(n),this._cache.setStore(this._cache.keys.loginTypeKey,i))}}]),t}(),we=function(t,e){e=e||Et();var i=fe(this.config.env),n=t.cloudPath,a=t.filePath,r=t.onUploadProgress,o=t.fileType,s=void 0===o?"image":o;return i.send("storage.getUploadMetadata",{path:n}).then((function(t){var o=t.data,c=o.url,l=o.authorization,u=o.token,h=o.fileId,d=o.cosFileId,f=t.requestId,p={key:n,signature:l,"x-cos-meta-fileid":d,success_action_status:"201","x-cos-security-token":u};i.upload({url:c,data:p,file:a,name:n,fileType:s,onUploadProgress:r}).then((function(t){201===t.statusCode?e(null,{fileID:h,requestId:f}):e(new gt({code:"STORAGE_REQUEST_FAIL",message:"STORAGE_REQUEST_FAIL: ".concat(t.data)}))})).catch((function(t){e(t)}))})).catch((function(t){e(t)})),e.promise},Se=function(t,e){e=e||Et();var i=fe(this.config.env),n=t.cloudPath;return i.send("storage.getUploadMetadata",{path:n}).then((function(t){e(null,t)})).catch((function(t){e(t)})),e.promise},ke=function(t,e){var i=t.fileList;if(e=e||Et(),!i||!Array.isArray(i))return{code:"INVALID_PARAM",message:"fileList\u5fc5\u987b\u662f\u975e\u7a7a\u7684\u6570\u7ec4"};var n,a=y(i);try{for(a.s();!(n=a.n()).done;){var r=n.value;if(!r||"string"!=typeof r)return{code:"INVALID_PARAM",message:"fileList\u7684\u5143\u7d20\u5fc5\u987b\u662f\u975e\u7a7a\u7684\u5b57\u7b26\u4e32"}}}catch(s){a.e(s)}finally{a.f()}var o={fileid_list:i};return fe(this.config.env).send("storage.batchDeleteFile",o).then((function(t){t.code?e(null,t):e(null,{fileList:t.data.delete_list,requestId:t.requestId})})).catch((function(t){e(t)})),e.promise},Ce=function(t,e){var i=t.fileList;e=e||Et(),i&&Array.isArray(i)||e(null,{code:"INVALID_PARAM",message:"fileList\u5fc5\u987b\u662f\u975e\u7a7a\u7684\u6570\u7ec4"});var n,a=[],r=y(i);try{for(r.s();!(n=r.n()).done;){var o=n.value;"object"==(0,c.default)(o)?(o.hasOwnProperty("fileID")&&o.hasOwnProperty("maxAge")||e(null,{code:"INVALID_PARAM",message:"fileList\u7684\u5143\u7d20\u5fc5\u987b\u662f\u5305\u542bfileID\u548cmaxAge\u7684\u5bf9\u8c61"}),a.push({fileid:o.fileID,max_age:o.maxAge})):"string"==typeof o?a.push({fileid:o}):e(null,{code:"INVALID_PARAM",message:"fileList\u7684\u5143\u7d20\u5fc5\u987b\u662f\u5b57\u7b26\u4e32"})}}catch(l){r.e(l)}finally{r.f()}var s={file_list:a};return fe(this.config.env).send("storage.batchGetDownloadUrl",s).then((function(t){t.code?e(null,t):e(null,{fileList:t.data.download_list,requestId:t.requestId})})).catch((function(t){e(t)})),e.promise},Te=function(){var t=(0,u.default)(r.default.mark((function t(e,i){var n,a,o,s;return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return n=e.fileID,t.next=3,Ce.call(this,{fileList:[{fileID:n,maxAge:600}]});case 3:if(a=t.sent.fileList[0],"SUCCESS"===a.code){t.next=6;break}return t.abrupt("return",i?i(a):new Promise((function(t){t(a)})));case 6:if(o=fe(this.config.env),s=a.download_url,s=encodeURI(s),i){t.next=10;break}return t.abrupt("return",o.download({url:s}));case 10:return t.t0=i,t.next=13,o.download({url:s});case 13:t.t1=t.sent,(0,t.t0)(t.t1);case 15:case"end":return t.stop()}}),t,this)})));return function(e,i){return t.apply(this,arguments)}}(),Pe=function(t,e){var i,n=t.name,a=t.data,r=t.query,o=t.parse,s=t.search,c=t.timeout,l=e||Et();try{i=a?JSON.stringify(a):""}catch(n){return Promise.reject(n)}if(!n)return Promise.reject(new gt({code:"PARAM_ERROR",message:"\u51fd\u6570\u540d\u4e0d\u80fd\u4e3a\u7a7a"}));var u={inQuery:r,parse:o,search:s,function_name:n,request_data:i};return fe(this.config.env).send("functions.invokeFunction",u,{timeout:c}).then((function(t){if(t.code)l(null,t);else{var e=t.data.response_data;if(o)l(null,{result:e,requestId:t.requestId});else try{e=JSON.parse(t.data.response_data),l(null,{result:e,requestId:t.requestId})}catch(t){l(new gt({message:"response data must be json"}))}}return l.promise})).catch((function(t){l(t)})),l.promise},Ae={timeout:15e3,persistence:"session"},Oe={},Ie=function(){function t(e){(0,v.default)(this,t),this.config=e||this.config,this.authObj=void 0}return(0,m.default)(t,[{key:"init",value:function(e){switch(jt.adapter||(this.requestClient=new jt.adapter.reqClass({timeout:e.timeout||5e3,timeoutMsg:"\u8bf7\u6c42\u5728".concat((e.timeout||5e3)/1e3,"s\u5185\u672a\u5b8c\u6210\uff0c\u5df2\u4e2d\u65ad")})),this.config=w(w({},Ae),e),!0){case this.config.timeout>6e5:console.warn("timeout\u5927\u4e8e\u53ef\u914d\u7f6e\u4e0a\u9650[10\u5206\u949f]\uff0c\u5df2\u91cd\u7f6e\u4e3a\u4e0a\u9650\u6570\u503c"),this.config.timeout=6e5;break;case this.config.timeout<100:console.warn("timeout\u5c0f\u4e8e\u53ef\u914d\u7f6e\u4e0b\u9650[100ms]\uff0c\u5df2\u91cd\u7f6e\u4e3a\u4e0b\u9650\u6570\u503c"),this.config.timeout=100}return new t(this.config)}},{key:"auth",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.persistence;if(this.authObj)return this.authObj;var i,n=e||jt.adapter.primaryStorage||Ae.persistence;return n!==this.config.persistence&&(this.config.persistence=n),function(t){var e=t.env;qt[e]=new Wt(t),Ht[e]=new Wt(w(w({},t),{},{persistence:"local"}))}(this.config),i=this.config,de[i.env]=new he(i),this.authObj=new be(this.config),this.authObj}},{key:"on",value:function(t,e){return Xt.apply(this,[t,e])}},{key:"off",value:function(t,e){return Qt.apply(this,[t,e])}},{key:"callFunction",value:function(t,e){return Pe.apply(this,[t,e])}},{key:"deleteFile",value:function(t,e){return ke.apply(this,[t,e])}},{key:"getTempFileURL",value:function(t,e){return Ce.apply(this,[t,e])}},{key:"downloadFile",value:function(t,e){return Te.apply(this,[t,e])}},{key:"uploadFile",value:function(t,e){return we.apply(this,[t,e])}},{key:"getUploadMetadata",value:function(t,e){return Se.apply(this,[t,e])}},{key:"registerExtension",value:function(t){Oe[t.name]=t}},{key:"invokeExtension",value:function(){var t=(0,u.default)(r.default.mark((function t(e,i){var n;return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(n=Oe[e],n){t.next=3;break}throw new gt({message:"\u6269\u5c55".concat(e," \u5fc5\u987b\u5148\u6ce8\u518c")});case 3:return t.next=5,n.invoke(i,this);case 5:return t.abrupt("return",t.sent);case 6:case"end":return t.stop()}}),t,this)})));return function(e,i){return t.apply(this,arguments)}}()},{key:"useAdapters",value:function(t){var e=function(t){var e,i,n=(e=t,"[object Array]"===Object.prototype.toString.call(e)?t:[t]),a=y(n);try{for(a.s();!(i=a.n()).done;){var r=i.value,o=r.isMatch,s=r.genAdapter,c=r.runtime;if(o())return{adapter:s(),runtime:c}}}catch(l){a.e(l)}finally{a.f()}}(t)||{},i=e.adapter,n=e.runtime;i&&(jt.adapter=i),n&&(jt.runtime=n)}}]),t}(),Le=new Ie;function De(t,e,i){void 0===i&&(i={});var n=/\?/.test(e),a="";for(var r in i)""===a?!n&&(e+="?"):a+="&",a+=r+"="+encodeURIComponent(i[r]);return/^http(s)?:\/\//.test(e+=a)?e:""+t+e}var Me=function(){function t(){(0,v.default)(this,t)}return(0,m.default)(t,[{key:"get",value:function(t){var e=t.url,i=t.data,n=t.headers,a=t.timeout;return new Promise((function(t,r){xt.request({url:De("https:",e),data:i,method:"GET",header:n,timeout:a,success:function(e){t(e)},fail:function(t){r(t)}})}))}},{key:"post",value:function(t){var e=t.url,i=t.data,n=t.headers,a=t.timeout;return new Promise((function(t,r){xt.request({url:De("https:",e),data:i,method:"POST",header:n,timeout:a,success:function(e){t(e)},fail:function(t){r(t)}})}))}},{key:"upload",value:function(t){return new Promise((function(e,i){var n=t.url,a=t.file,r=t.data,o=t.headers,s=t.fileType,c=xt.uploadFile({url:De("https:",n),name:"file",formData:Object.assign({},r),filePath:a,fileType:s,header:o,success:function(t){var i={statusCode:t.statusCode,data:t.data||{}};200===t.statusCode&&r.success_action_status&&(i.statusCode=parseInt(r.success_action_status,10)),e(i)},fail:function(t){i(new Error(t.errMsg||"uploadFile:fail"))}});"function"==typeof t.onUploadProgress&&c&&"function"==typeof c.onProgressUpdate&&c.onProgressUpdate((function(e){t.onUploadProgress({loaded:e.totalBytesSent,total:e.totalBytesExpectedToSend})}))}))}}]),t}(),Ee={setItem:function(t,e){xt.setStorageSync(t,e)},getItem:function(t){return xt.getStorageSync(t)},removeItem:function(t){xt.removeStorageSync(t)},clear:function(){xt.clearStorageSync()}},Fe={genAdapter:function(){return{root:{},reqClass:Me,localStorage:Ee,primaryStorage:"local"}},isMatch:function(){return!0},runtime:"uni_app"};Le.useAdapters(Fe);var $e=Le,Ne=$e.init;$e.init=function(t){t.env=t.spaceId;var e=Ne.call(this,t);e.config.provider="tencent",e.config.spaceId=t.spaceId;var i=e.auth;return e.auth=function(t){var e=i.call(this,t);return["linkAndRetrieveDataWithTicket","signInAnonymously","signOut","getAccessToken","getLoginState","signInWithTicket","getUserInfo"].forEach((function(t){var i;e[t]=(i=e[t],function(t){t=t||{};var e=pt(t),n=e.success,a=e.fail,r=e.complete;if(!(n||a||r))return i.call(this,t);i.call(this,t).then((function(t){n&&n(t),r&&r(t)}),(function(t){a&&a(t),r&&r(t)}))}).bind(e)})),e},e.customAuth=e.auth,e};var Re=$e;function je(t,e){return Ue.apply(this,arguments)}function Ue(){return Ue=(0,u.default)(r.default.mark((function t(e,i){var n,a,o;return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return n="http://".concat(e,":").concat(i,"/system/ping"),t.prev=1,t.next=4,o={url:n,timeout:500},new Promise((function(t,e){xt.request(w(w({},o),{},{success:function(e){t(e)},fail:function(t){e(t)}}))}));case 4:return a=t.sent,t.abrupt("return",!(!a.data||0!==a.data.code));case 8:return t.prev=8,t.t0=t["catch"](1),t.abrupt("return",!1);case 11:case"end":return t.stop()}}),t,null,[[1,8]])}))),Ue.apply(this,arguments)}function Be(t,e){return ze.apply(this,arguments)}function ze(){return ze=(0,u.default)(r.default.mark((function t(e,i){var n,a,o;return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:a=0;case 1:if(!(a<e.length)){t.next=11;break}return o=e[a],t.next=5,je(o,i);case 5:if(!t.sent){t.next=8;break}return n=o,t.abrupt("break",11);case 8:a++,t.next=1;break;case 11:return t.abrupt("return",{address:n,port:i});case 12:case"end":return t.stop()}}),t)}))),ze.apply(this,arguments)}var We={"serverless.file.resource.generateProximalSign":"storage/generate-proximal-sign","serverless.file.resource.report":"storage/report","serverless.file.resource.delete":"storage/delete","serverless.file.resource.getTempFileURL":"storage/get-temp-file-url"},qe=function(){function t(e){if((0,v.default)(this,t),["spaceId","clientSecret"].forEach((function(t){if(!Object.prototype.hasOwnProperty.call(e,t))throw new Error("".concat(t," required"))})),!e.endpoint)throw new Error("\u96c6\u7fa4\u7a7a\u95f4\u672a\u914d\u7f6eApiEndpoint\uff0c\u914d\u7f6e\u540e\u9700\u8981\u91cd\u65b0\u5173\u8054\u670d\u52a1\u7a7a\u95f4\u540e\u751f\u6548");this.config=Object.assign({},e),this.config.provider="dcloud",this.config.requestUrl=this.config.endpoint+"/client",this.config.envType=this.config.envType||"public",this.adapter=xt}return(0,m.default)(t,[{key:"request",value:function(){var t=(0,u.default)(r.default.mark((function t(e){var i,n=this,a=arguments;return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(!(a.length>1&&void 0!==a[1])||a[1],i=!1,!i){t.next=8;break}return t.next=5,this.setupLocalRequest(e);case 5:t.t0=t.sent,t.next=9;break;case 8:t.t0=this.setupRequest(e);case 9:return e=t.t0,t.abrupt("return",Promise.resolve().then((function(){return i?n.requestLocal(e):Ct.wrappedRequest(e,n.adapter.request)})));case 11:case"end":return t.stop()}}),t,this)})));return function(e){return t.apply(this,arguments)}}()},{key:"requestLocal",value:function(t){var e=this;return new Promise((function(i,n){e.adapter.request(Object.assign(t,{complete:function(t){if(t||(t={}),!t.statusCode||t.statusCode>=400){var e=t.data&&t.data.code||"SYS_ERR",a=t.data&&t.data.message||"request:fail";return n(new gt({code:e,message:a}))}i({success:!0,result:t.data})}}))}))}},{key:"setupRequest",value:function(t){var e=Object.assign({},t,{spaceId:this.config.spaceId,timestamp:Date.now()}),i={"Content-Type":"application/json"};i["x-serverless-sign"]=Ct.sign(e,this.config.clientSecret);var n=St();i["x-client-info"]=encodeURIComponent(JSON.stringify(n));var a=yt(),r=a.token;return i["x-client-token"]=r,{url:this.config.requestUrl,method:"POST",data:e,dataType:"json",header:JSON.parse(JSON.stringify(i))}}},{key:"setupLocalRequest",value:function(){var t=(0,u.default)(r.default.mark((function t(e){var i,n,a,o,s,c,l,u,h;return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return i=St(),n=yt(),a=n.token,o=Object.assign({},e,{spaceId:this.config.spaceId,timestamp:Date.now(),clientInfo:i,token:a}),s=this.__dev__&&this.__dev__.debugInfo||{},c=s.address,l=s.servePort,t.next=9,Be(c,l);case 9:return u=t.sent,h=u.address,t.abrupt("return",{url:"http://".concat(h,":").concat(l,"/").concat(We[e.method]),method:"POST",data:o,dataType:"json",header:JSON.parse(JSON.stringify({"Content-Type":"application/json"}))});case 12:case"end":return t.stop()}}),t,this)})));return function(e){return t.apply(this,arguments)}}()},{key:"callFunction",value:function(t){var e={method:"serverless.function.runtime.invoke",params:JSON.stringify({functionTarget:t.name,functionArgs:t.data||{}})};return this.request(e,!1)}},{key:"getUploadFileOptions",value:function(t){var e={method:"serverless.file.resource.generateProximalSign",params:JSON.stringify(t)};return this.request(e)}},{key:"reportUploadFile",value:function(t){var e={method:"serverless.file.resource.report",params:JSON.stringify(t)};return this.request(e)}},{key:"uploadFile",value:function(t){var e,i=this,n=t.filePath,a=t.cloudPath,r=t.fileType,o=void 0===r?"image":r,s=t.onUploadProgress;if(!a)throw new gt({code:"CLOUDPATH_REQUIRED",message:"cloudPath\u4e0d\u53ef\u4e3a\u7a7a"});return this.getUploadFileOptions({cloudPath:a}).then((function(t){var a=t.result,r=a.url,c=a.formData,l=a.name;return e=t.result.fileUrl,new Promise((function(t,e){var a=i.adapter.uploadFile({url:r,formData:c,name:l,filePath:n,fileType:o,success:function(i){i&&i.statusCode<400?t(i):e(new gt({code:"UPLOAD_FAILED",message:"\u6587\u4ef6\u4e0a\u4f20\u5931\u8d25"}))},fail:function(t){e(new gt({code:t.code||"UPLOAD_FAILED",message:t.message||t.errMsg||"\u6587\u4ef6\u4e0a\u4f20\u5931\u8d25"}))}});"function"==typeof s&&a&&"function"==typeof a.onProgressUpdate&&a.onProgressUpdate((function(t){s({loaded:t.totalBytesSent,total:t.totalBytesExpectedToSend})}))}))})).then((function(){return i.reportUploadFile({cloudPath:a})})).then((function(t){return new Promise((function(i,a){t.success?i({success:!0,filePath:n,fileID:e}):a(new gt({code:"UPLOAD_FAILED",message:"\u6587\u4ef6\u4e0a\u4f20\u5931\u8d25"}))}))}))}},{key:"deleteFile",value:function(t){var e=t.fileList,i={method:"serverless.file.resource.delete",params:JSON.stringify({fileList:e})};return this.request(i).then((function(t){if(t.success)return t.result;throw new gt({code:"DELETE_FILE_FAILED",message:"\u5220\u9664\u6587\u4ef6\u5931\u8d25"})}))}},{key:"getTempFileURL",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.fileList,i=t.maxAge;if(!Array.isArray(e)||0===e.length)throw new gt({code:"INVALID_PARAM",message:"fileList\u7684\u5143\u7d20\u5fc5\u987b\u662f\u975e\u7a7a\u7684\u5b57\u7b26\u4e32"});var n={method:"serverless.file.resource.getTempFileURL",params:JSON.stringify({fileList:e,maxAge:i})};return this.request(n).then((function(t){if(t.success)return{fileList:t.result.fileList.map((function(t){return{fileID:t.fileID,tempFileURL:t.tempFileURL}}))};throw new gt({code:"GET_TEMP_FILE_URL_FAILED",message:"\u83b7\u53d6\u4e34\u65f6\u6587\u4ef6\u94fe\u63a5\u5931\u8d25"})}))}}]),t}(),He={init:function(t){var e=new qe(t),i={signInAnonymously:function(){return Promise.resolve()},getLoginState:function(){return Promise.resolve(!1)}};return e.auth=function(){return i},e.customAuth=e.auth,e}},Ge=k((function(t,e){t.exports=T.enc.Hex}));function Je(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(t){var e=16*Math.random()|0;return("x"===t?e:3&e|8).toString(16)}))}function Ve(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=e.data,n=e.functionName,a=e.method,r=e.headers,o=e.signHeaderKeys,c=void 0===o?[]:o,l=e.config,u=String(Date.now()),h=Je(),d=Object.assign({},r,{"x-from-app-id":l.spaceAppId,"x-from-env-id":l.spaceId,"x-to-env-id":l.spaceId,"x-from-instance-id":u,"x-from-function-name":n,"x-client-timestamp":u,"x-alipay-source":"client","x-request-id":h,"x-alipay-callid":h,"x-trace-id":h}),f=["x-from-app-id","x-from-env-id","x-to-env-id","x-from-instance-id","x-from-function-name","x-client-timestamp"].concat(c),p=t.split("?")||[],g=(0,s.default)(p,2),v=g[0],m=void 0===v?"":v,x=g[1],y=void 0===x?"":x,_=function(t){var e="HMAC-SHA256",i=t.signedHeaders.join(";"),n=t.signedHeaders.map((function(e){return"".concat(e.toLowerCase(),":").concat(t.headers[e],"\n")})).join(""),a=Dt(t.body).toString(Ge),r="".concat(t.method.toUpperCase(),"\n").concat(t.path,"\n").concat(t.query,"\n").concat(n,"\n").concat(i,"\n").concat(a,"\n"),o=Dt(r).toString(Ge),s="".concat(e,"\n").concat(t.timestamp,"\n").concat(o,"\n"),c=Mt(s,t.secretKey).toString(Ge);return"".concat(e," Credential=").concat(t.secretId,", SignedHeaders=").concat(i,", Signature=").concat(c)}({path:m,query:y,method:a,headers:d,timestamp:u,body:JSON.stringify(i),secretId:l.accessKey,secretKey:l.secretKey,signedHeaders:f.sort()});return{url:"".concat(l.endpoint).concat(t),headers:Object.assign({},d,{Authorization:_})}}function Ke(t){var e=t.url,i=t.data,n=t.method,a=void 0===n?"POST":n,r=t.headers,o=void 0===r?{}:r,s=t.timeout;return new Promise((function(t,n){xt.request({url:e,method:a,data:"object"==(0,c.default)(i)?JSON.stringify(i):i,header:o,dataType:"json",timeout:s,complete:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=o["x-trace-id"]||"";if(!e.statusCode||e.statusCode>=400){var a=e.data||{},r=a.message,s=a.errMsg,c=a.trace_id;return n(new gt({code:"SYS_ERR",message:r||s||"request:fail",requestId:c||i}))}t({status:e.statusCode,data:e.data,headers:e.header,requestId:i})}})}))}function Xe(t,e){var i=t.path,n=t.data,a=t.method,r=void 0===a?"GET":a,o=Ve(i,{functionName:"",data:n,method:r,headers:{"x-alipay-cloud-mode":"oss","x-data-api-type":"oss","x-expire-timestamp":Date.now()+6e4},signHeaderKeys:["x-data-api-type","x-expire-timestamp"],config:e}),s=o.url,c=o.headers;return Ke({url:s,data:n,method:r,headers:c}).then((function(t){var e=t.data||{};if(!e.success)throw new gt({code:t.errCode,message:t.errMsg,requestId:t.requestId});return e.data||{}})).catch((function(t){throw new gt({code:t.errCode,message:t.errMsg,requestId:t.requestId})}))}function Ye(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=t.trim().replace(/^cloud:\/\//,""),i=e.indexOf("/");if(i<=0)throw new gt({code:"INVALID_PARAM",message:"fileID\u4e0d\u5408\u6cd5"});var n=e.substring(0,i),a=e.substring(i+1);return n!==this.config.spaceId&&console.warn("file ".concat(t," does not belong to env ").concat(this.config.spaceId)),a}function Qe(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return"cloud://".concat(this.config.spaceId,"/").concat(t.replace(/^\/+/,""))}var Ze=function(){function t(e){(0,v.default)(this,t),this.config=e}return(0,m.default)(t,[{key:"signedURL",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i="/ws/function/".concat(t),n=this.config.wsEndpoint.replace(/^ws(s)?:\/\//,""),a=Object.assign({},e,{accessKeyId:this.config.accessKey,signatureNonce:Je(),timestamp:""+Date.now()}),r=[i,["accessKeyId","authorization","signatureNonce","timestamp"].sort().map((function(t){return a[t]?"".concat(t,"=").concat(a[t]):null})).filter(Boolean).join("&"),"host:".concat(n)].join("\n"),o=["HMAC-SHA256",Dt(r).toString(Ge)].join("\n"),s=Mt(o,this.config.secretKey).toString(Ge),c=Object.keys(a).map((function(t){return"".concat(t,"=").concat(encodeURIComponent(a[t]))})).join("&");return"".concat(this.config.wsEndpoint).concat(i,"?").concat(c,"&signature=").concat(s)}}]),t}(),ti=function(){function t(e){if((0,v.default)(this,t),["spaceId","spaceAppId","accessKey","secretKey"].forEach((function(t){if(!Object.prototype.hasOwnProperty.call(e,t))throw new Error("".concat(t," required"))})),e.endpoint){if("string"!=typeof e.endpoint)throw new Error("endpoint must be string");if(!/^https:\/\//.test(e.endpoint))throw new Error("endpoint must start with https://");e.endpoint=e.endpoint.replace(/\/$/,"")}this.config=Object.assign({},e,{endpoint:e.endpoint||"https://".concat(e.spaceId,".api-hz.cloudbasefunction.cn"),wsEndpoint:e.wsEndpoint||"wss://".concat(e.spaceId,".api-hz.cloudbasefunction.cn")}),this._websocket=new Ze(this.config)}return(0,m.default)(t,[{key:"callFunction",value:function(t){return function(t,e){var i=t.name,n=t.data,a=t.async,r=void 0!==a&&a,o=t.timeout,s="POST",c={"x-to-function-name":i};r&&(c["x-function-invoke-type"]="async");var l=Ve("/functions/invokeFunction",{functionName:i,data:n,method:s,headers:c,signHeaderKeys:["x-to-function-name"],config:e}),u=l.url,h=l.headers;return Ke({url:u,data:n,method:s,headers:h,timeout:o}).then((function(t){var e=0;if(r){var i=t.data||{};e="200"===i.errCode?0:i.errCode,t.data=i.data||{},t.errMsg=i.errMsg}if(0!==e)throw new gt({code:e,message:t.errMsg,requestId:t.requestId});return{errCode:e,success:0===e,requestId:t.requestId,result:t.data}})).catch((function(t){throw new gt({code:t.errCode,message:t.errMsg,requestId:t.requestId})}))}(t,this.config)}},{key:"uploadFileToOSS",value:function(t){var e=t.url,i=t.filePath,n=t.fileType,a=t.formData,r=t.onUploadProgress;return new Promise((function(t,o){var s=xt.uploadFile({url:e,filePath:i,fileType:n,formData:a,name:"file",success:function(e){e&&e.statusCode<400?t(e):o(new gt({code:"UPLOAD_FAILED",message:"\u6587\u4ef6\u4e0a\u4f20\u5931\u8d25"}))},fail:function(t){o(new gt({code:t.code||"UPLOAD_FAILED",message:t.message||t.errMsg||"\u6587\u4ef6\u4e0a\u4f20\u5931\u8d25"}))}});"function"==typeof r&&s&&"function"==typeof s.onProgressUpdate&&s.onProgressUpdate((function(t){r({loaded:t.totalBytesSent,total:t.totalBytesExpectedToSend})}))}))}},{key:"uploadFile",value:function(){var t=(0,u.default)(r.default.mark((function t(e){var i,n,a,o,s,c,l,u,h,d,f;return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(i=e.filePath,n=e.cloudPath,a=void 0===n?"":n,o=e.fileType,s=void 0===o?"image":o,c=e.onUploadProgress,"string"===$(a)){t.next=3;break}throw new gt({code:"INVALID_PARAM",message:"cloudPath\u5fc5\u987b\u4e3a\u5b57\u7b26\u4e32\u7c7b\u578b"});case 3:if(a=a.trim()){t.next=5;break}throw new gt({code:"INVALID_PARAM",message:"cloudPath\u4e0d\u53ef\u4e3a\u7a7a"});case 5:if(!/:\/\//.test(a)){t.next=7;break}throw new gt({code:"INVALID_PARAM",message:"cloudPath\u4e0d\u5408\u6cd5"});case 7:return t.next=9,Xe({path:"/".concat(a.replace(/^\//,""),"?post_url")},this.config);case 9:return l=t.sent,u=l.file_id,h=l.upload_url,d=l.form_data,f=d&&d.reduce((function(t,e){return t[e.key]=e.value,t}),{}),t.abrupt("return",this.uploadFileToOSS({url:h,filePath:i,fileType:s,formData:f,onUploadProgress:c}).then((function(){return{fileID:u}})));case 15:case"end":return t.stop()}}),t,this)})));return function(e){return t.apply(this,arguments)}}()},{key:"getTempFileURL",value:function(){var t=(0,u.default)(r.default.mark((function t(e){var i,n=this;return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return i=e.fileList,t.abrupt("return",new Promise((function(t,e){(!i||i.length<0)&&t({code:"INVALID_PARAM",message:"fileList\u4e0d\u80fd\u4e3a\u7a7a\u6570\u7ec4"}),i.length>50&&t({code:"INVALID_PARAM",message:"fileList\u6570\u7ec4\u957f\u5ea6\u4e0d\u80fd\u8d85\u8fc750"});var a,r=[],o=y(i);try{for(o.s();!(a=o.n()).done;){var s=a.value,c=void 0;"string"!==$(s)&&t({code:"INVALID_PARAM",message:"fileList\u7684\u5143\u7d20\u5fc5\u987b\u662f\u975e\u7a7a\u7684\u5b57\u7b26\u4e32"});try{c=Ye.call(n,s)}catch(t){console.warn(t.errCode,t.errMsg),c=s}r.push({file_id:c,expire:600})}}catch(l){o.e(l)}finally{o.f()}Xe({path:"/?download_url",data:{file_list:r},method:"POST"},n.config).then((function(e){var i=e.file_list,a=void 0===i?[]:i;t({fileList:a.map((function(t){return{fileID:Qe.call(n,t.file_id),tempFileURL:t.download_url}}))})})).catch((function(t){return e(t)}))})));case 2:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()},{key:"connectWebSocket",value:function(){var t=(0,u.default)(r.default.mark((function t(e){var i,n;return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return i=e.name,n=e.query,t.abrupt("return",xt.connectSocket({url:this._websocket.signedURL(i,n),complete:function(){}}));case 2:case"end":return t.stop()}}),t,this)})));return function(e){return t.apply(this,arguments)}}()}]),t}(),ei={init:function(t){t.provider="alipay";var e=new ti(t);return e.auth=function(){return{signInAnonymously:function(){return Promise.resolve()},getLoginState:function(){return Promise.resolve(!0)}}},e}};function ii(t){var e,i=t.data;e=St();var n=JSON.parse(JSON.stringify(i||{}));if(Object.assign(n,{clientInfo:e}),!n.uniIdToken){var a=yt(),r=a.token;r&&(n.uniIdToken=r)}return n}var ni=[{rule:/fc_function_not_found|FUNCTION_NOT_FOUND/,content:"\uff0c\u4e91\u51fd\u6570[{functionName}]\u5728\u4e91\u7aef\u4e0d\u5b58\u5728\uff0c\u8bf7\u68c0\u67e5\u6b64\u4e91\u51fd\u6570\u540d\u79f0\u662f\u5426\u6b63\u786e\u4ee5\u53ca\u8be5\u4e91\u51fd\u6570\u662f\u5426\u5df2\u4e0a\u4f20\u5230\u670d\u52a1\u7a7a\u95f4",mode:"append"}],ai=/[\\^$.*+?()[\]{}|]/g,ri=RegExp(ai.source);function oi(t,e,i){return t.replace(new RegExp((n=e)&&ri.test(n)?n.replace(ai,"\\$&"):n,"g"),i);var n}var si={NONE:"none",REQUEST:"request",RESPONSE:"response",BOTH:"both"},ci="_globalUniCloudStatus",li="_globalUniCloudSecureNetworkCache__{spaceId}";var ui;ui="0123456789abcdef";var hi="uni-secure-network",di={SYSTEM_ERROR:{code:2e4,message:"System error"},APP_INFO_INVALID:{code:20101,message:"Invalid client"},GET_ENCRYPT_KEY_FAILED:{code:20102,message:"Get encrypt key failed"}};function fi(t){var e=t||{},i=e.errSubject,n=e.subject,a=e.errCode,r=e.errMsg,o=e.code,s=e.message,c=e.cause;return new gt({subject:i||n||hi,code:a||o||di.SYSTEM_ERROR.code,message:r||s,cause:c})}var pi;function gi(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.secretType;return e===si.REQUEST||e===si.RESPONSE||e===si.BOTH}function vi(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.name,i=t.data,n=void 0===i?{}:i;return"app"===G&&"DCloud-clientDB"===e&&"encryption"===n.redirectTo&&"getAppClientKey"===n.action}function mi(t){t.functionName,t.result,t.logPvd}function xi(t){var e=t.callFunction,i=function(i){var n=this,a=i.name;i.data=ii.call(t,{data:i.data});var r={aliyun:"aliyun",tencent:"tcb",tcb:"tcb",alipay:"alipay",dcloud:"dcloud"}[this.config.provider],o=gi(i),s=vi(i),c=o||s;return e.call(this,i).then((function(t){return t.errCode=0,!c&&mi.call(n,{functionName:a,result:t,logPvd:r}),Promise.resolve(t)}),(function(t){return!c&&mi.call(n,{functionName:a,result:t,logPvd:r}),t&&t.message&&(t.message=function(){for(var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.message,i=void 0===e?"":e,n=t.extraInfo,a=void 0===n?{}:n,r=t.formatter,o=void 0===r?[]:r,s=0;s<o.length;s++){var c=o[s],l=c.rule,u=c.content,h=c.mode,d=i.match(l);if(d){for(var f=u,p=1;p<d.length;p++)f=oi(f,"{$".concat(p,"}"),d[p]);for(var g in a)f=oi(f,"{".concat(g,"}"),a[g]);return"replace"===h?f:i+f}}return i}({message:"[".concat(i.name,"]: ").concat(t.message),formatter:ni,extraInfo:{functionName:a}})),Promise.reject(t)}))};t.callFunction=function(e){var n,a,r=t.config,o=r.provider,s=r.spaceId,c=e.name;return e.data=e.data||{},n=i,n=n.bind(t),a=vi(e)?i.call(t,e):function(t){var e=t.name,i=t.data,n=void 0===i?{}:i;return"mp-weixin"===G&&"uni-id-co"===e&&"secureNetworkHandshakeByWeixin"===n.method}(e)?n.call(t,e):gi(e)?new pi({secretType:e.secretType,uniCloudIns:t}).wrapEncryptDataCallFunction(i.bind(t))(e):function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.provider,i=t.spaceId,n=t.functionName,a=bt(),r=a.appId,o=a.uniPlatform,s=a.osName,c=o;"app"===o&&(c=s);var l=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.provider,i=t.spaceId,n=H;if(!n)return{};e=function(t){return"tencent"===t?"tcb":t}(e);var a=n.find((function(t){return t.provider===e&&t.spaceId===i}));return a&&a.config}({provider:e,spaceId:i});if(!l||!l.accessControl||!l.accessControl.enable)return!1;var u=l.accessControl.function||{},h=Object.keys(u);if(0===h.length)return!0;var d=function(t,e){for(var i,n,a,r=0;r<t.length;r++){var o=t[r];o!==e?"*"!==o?o.split(",").map((function(t){return t.trim()})).indexOf(e)>-1&&(n=o):a=o:i=o}return i||n||a}(h,n);if(!d)return!1;if((u[d]||[]).find((function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return t.appId===r&&(t.platform||"").toLowerCase()===c.toLowerCase()})))return!0;throw console.error("\u6b64\u5e94\u7528[appId: ".concat(r,", platform: ").concat(c,"]\u4e0d\u5728\u4e91\u7aef\u914d\u7f6e\u7684\u5141\u8bb8\u8bbf\u95ee\u7684\u5e94\u7528\u5217\u8868\u5185\uff0c\u53c2\u8003\uff1ahttps://uniapp.dcloud.net.cn/uniCloud/secure-network.html#verify-client")),fi(di.APP_INFO_INVALID)}({provider:o,spaceId:s,functionName:c})?new pi({secretType:e.secretType,uniCloudIns:t}).wrapVerifyClientCallFunction(i.bind(t))(e):n(e),Object.defineProperty(a,"result",{get:function(){return console.warn("\u5f53\u524d\u8fd4\u56de\u7ed3\u679c\u4e3aPromise\u7c7b\u578b\uff0c\u4e0d\u53ef\u76f4\u63a5\u8bbf\u95ee\u5176result\u5c5e\u6027\uff0c\u8be6\u60c5\u8bf7\u53c2\u8003\uff1ahttps://uniapp.dcloud.net.cn/uniCloud/faq?id=promise"),{}}}),a.then((function(t){return"undefined"!=typeof UTSJSONObject&&(t.result=new UTSJSONObject(t.result)),t}))}}pi="mp-weixin"!==G&&"app"!==G?function(){return(0,m.default)((function t(){throw(0,v.default)(this,t),fi({message:"Platform ".concat(G," is not supported by secure network")})}))}():function(){return(0,m.default)((function t(){throw(0,v.default)(this,t),fi({message:"Platform ".concat(G," is not enabled, please check whether secure network module is enabled in your manifest.json")})}))}();var yi=Symbol("CLIENT_DB_INTERNAL");function _i(t,e){return t.then="DoNotReturnProxyWithAFunctionNamedThen",t._internalType=yi,t.inspect=null,t.__ob__=void 0,new Proxy(t,{get:function(t,i,n){if("_uniClient"===i)return null;if("symbol"==(0,c.default)(i))return t[i];if(i in t||"string"!=typeof i){var a=t[i];return"function"==typeof a?a.bind(t):a}return e.get(t,i,n)}})}function bi(t){return{on:function(e,i){t[e]=t[e]||[],t[e].indexOf(i)>-1||t[e].push(i)},off:function(e,i){t[e]=t[e]||[];var n=t[e].indexOf(i);-1!==n&&t[e].splice(n,1)}}}var wi=["db.Geo","db.command","command.aggregate"];function Si(t,e){return wi.indexOf("".concat(t,".").concat(e))>-1}function ki(t){switch($(t)){case"array":return t.map((function(t){return ki(t)}));case"object":return t._internalType===yi||Object.keys(t).forEach((function(e){t[e]=ki(t[e])})),t;case"regexp":return{$regexp:{source:t.source,flags:t.flags}};case"date":return{$date:t.toISOString()};default:return t}}function Ci(t){return t&&t.content&&t.content.$method}var Ti=function(){function t(e,i,n){(0,v.default)(this,t),this.content=e,this.prevStage=i||null,this.udb=null,this._database=n}return(0,m.default)(t,[{key:"toJSON",value:function(){for(var t=this,e=[t.content];t.prevStage;)t=t.prevStage,e.push(t.content);return{$db:e.reverse().map((function(t){return{$method:t.$method,$param:ki(t.$param)}}))}}},{key:"toString",value:function(){return JSON.stringify(this.toJSON())}},{key:"getAction",value:function(){var t=this.toJSON().$db.find((function(t){return"action"===t.$method}));return t&&t.$param&&t.$param[0]}},{key:"getCommand",value:function(){return{$db:this.toJSON().$db.filter((function(t){return"action"!==t.$method}))}}},{key:"isAggregate",get:function(){for(var t=this;t;){var e=Ci(t),i=Ci(t.prevStage);if("aggregate"===e&&"collection"===i||"pipeline"===e)return!0;t=t.prevStage}return!1}},{key:"isCommand",get:function(){for(var t=this;t;){if("command"===Ci(t))return!0;t=t.prevStage}return!1}},{key:"isAggregateCommand",get:function(){for(var t=this;t;){var e=Ci(t),i=Ci(t.prevStage);if("aggregate"===e&&"command"===i)return!0;t=t.prevStage}return!1}},{key:"getNextStageFn",value:function(t){var e=this;return function(){return Pi({$method:t,$param:ki(Array.from(arguments))},e,e._database)}}},{key:"count",get:function(){return this.isAggregate?this.getNextStageFn("count"):function(){return this._send("count",Array.from(arguments))}}},{key:"remove",get:function(){return this.isCommand?this.getNextStageFn("remove"):function(){return this._send("remove",Array.from(arguments))}}},{key:"get",value:function(){return this._send("get",Array.from(arguments))}},{key:"add",get:function(){return this.isCommand?this.getNextStageFn("add"):function(){return this._send("add",Array.from(arguments))}}},{key:"update",value:function(){return this._send("update",Array.from(arguments))}},{key:"end",value:function(){return this._send("end",Array.from(arguments))}},{key:"set",get:function(){return this.isCommand?this.getNextStageFn("set"):function(){throw new Error("JQL\u7981\u6b62\u4f7f\u7528set\u65b9\u6cd5")}}},{key:"_send",value:function(t,e){var i=this.getAction(),n=this.getCommand();return n.$db.push({$method:t,$param:ki(e)}),this._database._callCloudFunction({action:i,command:n})}}]),t}();function Pi(t,e,i){return _i(new Ti(t,e,i),{get:function(t,e){var n="db";return t&&t.content&&(n=t.content.$method),Si(n,e)?Pi({$method:e},t,i):function(){return Pi({$method:e,$param:ki(Array.from(arguments))},t,i)}}})}function Ai(t){var e=t.path,i=t.method;return function(){function t(){(0,v.default)(this,t),this.param=Array.from(arguments)}return(0,m.default)(t,[{key:"toJSON",value:function(){return{$newDb:[].concat((0,l.default)(e.map((function(t){return{$method:t}}))),[{$method:i,$param:this.param}])}}},{key:"toString",value:function(){return JSON.stringify(this.toJSON())}}]),t}()}var Oi=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=e.uniClient,n=void 0===i?{}:i,a=e.isJQL,r=void 0!==a&&a;(0,v.default)(this,t),this._uniClient=n,this._authCallBacks={},this._dbCallBacks={},n._isDefault&&(this._dbCallBacks=X("_globalUniCloudDatabaseCallback")),r||(this.auth=bi(this._authCallBacks)),this._isJQL=r,Object.assign(this,bi(this._dbCallBacks)),this.env=_i({},{get:function(t,e){return{$env:e}}}),this.Geo=_i({},{get:function(t,e){return Ai({path:["Geo"],method:e})}}),this.serverDate=Ai({path:[],method:"serverDate"}),this.RegExp=Ai({path:[],method:"RegExp"})}return(0,m.default)(t,[{key:"getCloudEnv",value:function(t){if("string"!=typeof t||!t.trim())throw new Error("getCloudEnv\u53c2\u6570\u9519\u8bef");return{$env:t.replace("$cloudEnv_","")}}},{key:"_callback",value:function(t,e){var i=this._dbCallBacks;i[t]&&i[t].forEach((function(t){t.apply(void 0,(0,l.default)(e))}))}},{key:"_callbackAuth",value:function(t,e){var i=this._authCallBacks;i[t]&&i[t].forEach((function(t){t.apply(void 0,(0,l.default)(e))}))}},{key:"multiSend",value:function(){var t=Array.from(arguments),e=t.map((function(t){var e=t.getAction(),i=t.getCommand();if("getTemp"!==i.$db[i.$db.length-1].$method)throw new Error("multiSend\u53ea\u652f\u6301\u5b50\u547d\u4ee4\u5185\u4f7f\u7528getTemp");return{action:e,command:i}}));return this._callCloudFunction({multiCommand:e,queryList:t})}}]),t}();function Ii(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return _i(new t(e),{get:function(t,e){return Si("db",e)?Pi({$method:e},null,t):function(){return Pi({$method:e,$param:ki(Array.from(arguments))},null,t)}}})}var Li=function(t){(0,d.default)(i,t);var e=S(i);function i(){return(0,v.default)(this,i),e.apply(this,arguments)}return(0,m.default)(i,[{key:"_parseResult",value:function(t){return this._isJQL?t.result:t}},{key:"_callCloudFunction",value:function(t){var e=this,i=t.action,n=t.command,a=t.multiCommand,r=t.queryList;function o(t,e){if(a&&r)for(var i=0;i<r.length;i++){var n=r[i];n.udb&&"function"==typeof n.udb.setResult&&(e?n.udb.setResult(e):n.udb.setResult(t.result.dataList[i]))}}var s=this,c=this._isJQL?"databaseForJQL":"database";function l(t){return s._callback("error",[t]),et(it(c,"fail"),t).then((function(){return et(it(c,"complete"),t)})).then((function(){return o(null,t),ut(rt.RESPONSE,{type:ot.CLIENT_DB,content:t}),Promise.reject(t)}))}var u=et(it(c,"invoke")),h=this._uniClient;return u.then((function(){return h.callFunction({name:"DCloud-clientDB",type:D.CLIENT_DB,data:{action:i,command:n,multiCommand:a}})})).then((function(t){var i=t.result,n=i.code,a=i.message,r=i.token,u=i.tokenExpired,h=i.systemInfo,d=void 0===h?[]:h;if(d)for(var f=0;f<d.length;f++){var p=d[f],g=p.level,v=p.message,m=p.detail,x="[System Info]"+v;m&&(x="".concat(x,"\n\u8be6\u7ec6\u4fe1\u606f\uff1a").concat(m)),(console["app"===G&&"warn"===g?"error":g]||console.log)(x)}if(n)return l(new gt({code:n,message:a,requestId:t.requestId}));t.result.errCode=t.result.errCode||t.result.code,t.result.errMsg=t.result.errMsg||t.result.message,r&&u&&(_t({token:r,tokenExpired:u}),e._callbackAuth("refreshToken",[{token:r,tokenExpired:u}]),e._callback("refreshToken",[{token:r,tokenExpired:u}]),ut(rt.REFRESH_TOKEN,{token:r,tokenExpired:u}));for(var y=[{prop:"affectedDocs",tips:"affectedDocs\u4e0d\u518d\u63a8\u8350\u4f7f\u7528\uff0c\u8bf7\u4f7f\u7528inserted/deleted/updated/data.length\u66ff\u4ee3"},{prop:"code",tips:"code\u4e0d\u518d\u63a8\u8350\u4f7f\u7528\uff0c\u8bf7\u4f7f\u7528errCode\u66ff\u4ee3"},{prop:"message",tips:"message\u4e0d\u518d\u63a8\u8350\u4f7f\u7528\uff0c\u8bf7\u4f7f\u7528errMsg\u66ff\u4ee3"}],_=function(e){var i=y[e],n=i.prop,a=i.tips;if(n in t.result){var r=t.result[n];Object.defineProperty(t.result,n,{get:function(){return console.warn(a),r}})}},b=0;b<y.length;b++)_(b);return function(t){return et(it(c,"success"),t).then((function(){return et(it(c,"complete"),t)})).then((function(){o(t,null);var e=s._parseResult(t);return ut(rt.RESPONSE,{type:ot.CLIENT_DB,content:e}),Promise.resolve(e)}))}(t)}),(function(t){return/fc_function_not_found|FUNCTION_NOT_FOUND/g.test(t.message)&&console.warn("clientDB\u672a\u521d\u59cb\u5316\uff0c\u8bf7\u5728web\u63a7\u5236\u53f0\u4fdd\u5b58\u4e00\u6b21schema\u4ee5\u5f00\u542fclientDB"),l(new gt({code:t.code||"SYSTEM_ERROR",message:t.message,requestId:t.requestId}))}))}}]),i}(Oi),Di="token\u65e0\u6548\uff0c\u8df3\u8f6c\u767b\u5f55\u9875\u9762",Mi="token\u8fc7\u671f\uff0c\u8df3\u8f6c\u767b\u5f55\u9875\u9762",Ei={TOKEN_INVALID_TOKEN_EXPIRED:Mi,TOKEN_INVALID_INVALID_CLIENTID:Di,TOKEN_INVALID:Di,TOKEN_INVALID_WRONG_TOKEN:Di,TOKEN_INVALID_ANONYMOUS_USER:Di},Fi={"uni-id-token-expired":Mi,"uni-id-check-token-failed":Di,"uni-id-token-not-exist":Di,"uni-id-check-device-feature-failed":Di};function $i(t,e){var i="";return i=t?"".concat(t,"/").concat(e):e,i.replace(/^\//,"")}function Ni(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",i=[],n=[];return t.forEach((function(t){!0===t.needLogin?i.push($i(e,t.path)):!1===t.needLogin&&n.push($i(e,t.path))})),{needLoginPage:i,notNeedLoginPage:n}}function Ri(t){return t.split("?")[0].replace(/^\//,"")}function ji(){return function(t){var e=t&&t.$page&&t.$page.fullPath||"";return e?("/"!==e.charAt(0)&&(e="/"+e),e):e}(function(){var t=getCurrentPages();return t[t.length-1]}())}function Ui(){return Ri(ji())}function Bi(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!t)return!1;if(!(e&&e.list&&e.list.length))return!1;var i=e.list,n=Ri(t);return i.some((function(t){return t.pagePath===n}))}var zi,Wi=!!x.default.uniIdRouter,qi=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:x.default,e=t.pages,i=void 0===e?[]:e,n=t.subPackages,a=void 0===n?[]:n,r=t.uniIdRouter,o=void 0===r?{}:r,s=t.tabBar,c=void 0===s?{}:s,u=o.loginPage,h=o.needLogin,d=void 0===h?[]:h,f=o.resToLogin,p=void 0===f||f,g=Ni(i),v=g.needLoginPage,m=g.notNeedLoginPage,y=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],e=[],i=[];return t.forEach((function(t){var n=t.root,a=t.pages,r=void 0===a?[]:a,o=Ni(r,n),s=o.needLoginPage,c=o.notNeedLoginPage;e.push.apply(e,(0,l.default)(s)),i.push.apply(i,(0,l.default)(c))})),{needLoginPage:e,notNeedLoginPage:i}}(a),_=y.needLoginPage,b=y.notNeedLoginPage;return{loginPage:u,routerNeedLogin:d,resToLogin:p,needLoginPage:[].concat((0,l.default)(v),(0,l.default)(_)),notNeedLoginPage:[].concat((0,l.default)(m),(0,l.default)(b)),loginPageInTabBar:Bi(u,c)}}(),Hi=qi.loginPage,Gi=qi.routerNeedLogin,Ji=qi.resToLogin,Vi=qi.needLoginPage,Ki=qi.notNeedLoginPage,Xi=qi.loginPageInTabBar;if(Vi.indexOf(Hi)>-1)throw new Error("Login page [".concat(Hi,'] should not be "needLogin", please check your pages.json'));function Yi(t){var e=Ui();if("/"===t.charAt(0))return t;var i=t.split("?"),n=(0,s.default)(i,2),a=n[0],r=n[1],o=a.replace(/^\//,"").split("/"),c=e.split("/");c.pop();for(var l=0;l<o.length;l++){var u=o[l];".."===u?c.pop():"."!==u&&c.push(u)}return""===c[0]&&c.shift(),"/"+c.join("/")+(r?"?"+r:"")}function Qi(t){var e=Ri(Yi(t));return!(Ki.indexOf(e)>-1)&&(Vi.indexOf(e)>-1||Gi.some((function(e){return function(t,e){return new RegExp(e).test(t)}(t,e)})))}function Zi(t){var e=t.redirect,i=Ri(e),n=Ri(Hi);return Ui()!==n&&i!==n}function tn(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.api,i=t.redirect;if(i&&Zi({redirect:i})){var n=function(t,e){return"/"!==t.charAt(0)&&(t="/"+t),e?t.indexOf("?")>-1?t+"&uniIdRedirectUrl=".concat(encodeURIComponent(e)):t+"?uniIdRedirectUrl=".concat(encodeURIComponent(e)):t}(Hi,i);Xi?"navigateTo"!==e&&"redirectTo"!==e||(e="switchTab"):"switchTab"===e&&(e="navigateTo");var a={navigateTo:uni.navigateTo,redirectTo:uni.redirectTo,switchTab:uni.switchTab,reLaunch:uni.reLaunch};setTimeout((function(){a[e]({url:n})}),0)}}function en(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.url,i={abortLoginPageJump:!1,autoToLoginPage:!1},n=function(){var t,e=yt(),i=e.token,n=e.tokenExpired;if(i){if(n<Date.now()){var a="uni-id-token-expired";t={errCode:a,errMsg:Fi[a]}}}else{var r="uni-id-check-token-failed";t={errCode:r,errMsg:Fi[r]}}return t}();if(Qi(e)&&n){if(n.uniIdRedirectUrl=e,st(rt.NEED_LOGIN).length>0)return setTimeout((function(){ut(rt.NEED_LOGIN,n)}),0),i.abortLoginPageJump=!0,i;i.autoToLoginPage=!0}return i}function nn(){!function(){var t=ji(),e=en({url:t}),i=e.abortLoginPageJump,n=e.autoToLoginPage;i||n&&tn({api:"redirectTo",redirect:t})}();for(var t=["navigateTo","redirectTo","reLaunch","switchTab"],e=function(e){var i=t[e];uni.addInterceptor(i,{invoke:function(t){var e=en({url:t.url}),n=e.abortLoginPageJump,a=e.autoToLoginPage;return n?t:a?(tn({api:i,redirect:Yi(t.url)}),!1):t}})},i=0;i<t.length;i++)e(i)}function an(){this.onResponse((function(t){var e=t.type,i=t.content,n=!1;switch(e){case"cloudobject":n=function(t){if("object"!=(0,c.default)(t))return!1;var e=t||{},i=e.errCode;return i in Fi}(i);break;case"clientdb":n=function(t){if("object"!=(0,c.default)(t))return!1;var e=t||{},i=e.errCode;return i in Ei}(i)}n&&function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=st(rt.NEED_LOGIN);ft().then((function(){var i=ji();if(i&&Zi({redirect:i}))return e.length>0?ut(rt.NEED_LOGIN,Object.assign({uniIdRedirectUrl:i},t)):void(Hi&&tn({api:"navigateTo",redirect:i}))}))}(i)}))}function rn(t){!function(t){t.onResponse=function(t){ct(rt.RESPONSE,t)},t.offResponse=function(t){lt(rt.RESPONSE,t)}}(t),function(t){t.onNeedLogin=function(t){ct(rt.NEED_LOGIN,t)},t.offNeedLogin=function(t){lt(rt.NEED_LOGIN,t)},Wi&&(X(ci).needLoginInit||(X(ci).needLoginInit=!0,ft().then((function(){nn.call(t)})),Ji&&an.call(t)))}(t),function(t){t.onRefreshToken=function(t){ct(rt.REFRESH_TOKEN,t)},t.offRefreshToken=function(t){lt(rt.REFRESH_TOKEN,t)}}(t)}var on="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",sn=/^(?:[A-Za-z\d+/]{4})*?(?:[A-Za-z\d+/]{2}(?:==)?|[A-Za-z\d+/]{3}=?)?$/;function cn(){var t,e,i=yt().token||"",n=i.split(".");if(!i||3!==n.length)return{uid:null,role:[],permission:[],tokenExpired:0};try{t=JSON.parse((e=n[1],decodeURIComponent(zi(e).split("").map((function(t){return"%"+("00"+t.charCodeAt(0).toString(16)).slice(-2)})).join(""))))}catch(i){throw new Error("\u83b7\u53d6\u5f53\u524d\u7528\u6237\u4fe1\u606f\u51fa\u9519\uff0c\u8be6\u7ec6\u9519\u8bef\u4fe1\u606f\u4e3a\uff1a"+i.message)}return t.tokenExpired=1e3*t.exp,delete t.exp,delete t.iat,t}zi="function"!=typeof atob?function(t){if(t=String(t).replace(/[\t\n\f\r ]+/g,""),!sn.test(t))throw new Error("Failed to execute 'atob' on 'Window': The string to be decoded is not correctly encoded.");var e;t+="==".slice(2-(3&t.length));for(var i,n,a="",r=0;r<t.length;)e=on.indexOf(t.charAt(r++))<<18|on.indexOf(t.charAt(r++))<<12|(i=on.indexOf(t.charAt(r++)))<<6|(n=on.indexOf(t.charAt(r++))),a+=64===i?String.fromCharCode(e>>16&255):64===n?String.fromCharCode(e>>16&255,e>>8&255):String.fromCharCode(e>>16&255,e>>8&255,255&e);return a}:atob;var ln=k((function(t,e){Object.defineProperty(e,"__esModule",{value:!0});var i="chooseAndUploadFile:ok",a="chooseAndUploadFile:fail";function r(t,e){return t.tempFiles.forEach((function(t,i){t.name||(t.name=t.path.substring(t.path.lastIndexOf("/")+1)),e&&(t.fileType=e),t.cloudPath=Date.now()+"_"+i+t.name.substring(t.name.lastIndexOf("."))})),t.tempFilePaths||(t.tempFilePaths=t.tempFiles.map((function(t){return t.path}))),t}function o(t,e,n){var a=n.onChooseFile,r=n.onUploadProgress;return e.then((function(t){if(a){var e=a(t);if(void 0!==e)return Promise.resolve(e).then((function(e){return void 0===e?t:e}))}return t})).then((function(e){return!1===e?{errMsg:i,tempFilePaths:[],tempFiles:[]}:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:5,a=arguments.length>3?arguments[3]:void 0;(e=Object.assign({},e)).errMsg=i;var r=e.tempFiles,o=r.length,s=0;return new Promise((function(i){for(;s<n;)c();function c(){var n=s++;if(n>=o)!r.find((function(t){return!t.url&&!t.errMsg}))&&i(e);else{var l=r[n];t.uploadFile({provider:l.provider,filePath:l.path,cloudPath:l.cloudPath,fileType:l.fileType,cloudPathAsRealPath:l.cloudPathAsRealPath,onUploadProgress:function(t){t.index=n,t.tempFile=l,t.tempFilePath=l.path,a&&a(t)}}).then((function(t){l.url=t.fileID,n<o&&c()})).catch((function(t){l.errMsg=t.errMsg||t.message,n<o&&c()}))}}}))}(t,e,5,r)}))}e.initChooseAndUploadFile=function(t){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{type:"all"};return"image"===e.type?o(t,function(t){var e=t.count,i=t.sizeType,n=t.sourceType,o=void 0===n?["album","camera"]:n,s=t.extension;return new Promise((function(t,n){uni.chooseImage({count:e,sizeType:i,sourceType:o,extension:s,success:function(e){t(r(e,"image"))},fail:function(t){n({errMsg:t.errMsg.replace("chooseImage:fail",a)})}})}))}(e),e):"video"===e.type?o(t,function(t){var e=t.camera,i=t.compressed,n=t.maxDuration,o=t.sourceType,s=void 0===o?["album","camera"]:o,c=t.extension;return new Promise((function(t,o){uni.chooseVideo({camera:e,compressed:i,maxDuration:n,sourceType:s,extension:c,success:function(e){var i=e.tempFilePath,n=e.duration,a=e.size,o=e.height,s=e.width;t(r({errMsg:"chooseVideo:ok",tempFilePaths:[i],tempFiles:[{name:e.tempFile&&e.tempFile.name||"",path:i,size:a,type:e.tempFile&&e.tempFile.type||"",width:s,height:o,duration:n,fileType:"video",cloudPath:""}]},"video"))},fail:function(t){o({errMsg:t.errMsg.replace("chooseVideo:fail",a)})}})}))}(e),e):o(t,function(t){var e=t.count,i=t.extension;return new Promise((function(t,o){var s=uni.chooseFile;if("undefined"!=typeof n&&"function"==typeof n.chooseMessageFile&&(s=n.chooseMessageFile),"function"!=typeof s)return o({errMsg:a+" \u8bf7\u6307\u5b9a type \u7c7b\u578b\uff0c\u8be5\u5e73\u53f0\u4ec5\u652f\u6301\u9009\u62e9 image \u6216 video\u3002"});s({type:"all",count:e,extension:i,success:function(e){t(r(e))},fail:function(t){o({errMsg:t.errMsg.replace("chooseFile:fail",a)})}})}))}(e),e)}}})),un=function(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}(ln),hn={auto:"auto",onready:"onready",manual:"manual"};function dn(t){return{props:{localdata:{type:Array,default:function(){return[]}},options:{type:[Object,Array],default:function(){return{}}},spaceInfo:{type:Object,default:function(){return{}}},collection:{type:[String,Array],default:""},action:{type:String,default:""},field:{type:String,default:""},orderby:{type:String,default:""},where:{type:[String,Object],default:""},pageData:{type:String,default:"add"},pageCurrent:{type:Number,default:1},pageSize:{type:Number,default:20},getcount:{type:[Boolean,String],default:!1},gettree:{type:[Boolean,String],default:!1},gettreepath:{type:[Boolean,String],default:!1},startwith:{type:String,default:""},limitlevel:{type:Number,default:10},groupby:{type:String,default:""},groupField:{type:String,default:""},distinct:{type:[Boolean,String],default:!1},foreignKey:{type:String,default:""},loadtime:{type:String,default:"auto"},manual:{type:Boolean,default:!1}},data:function(){return{mixinDatacomLoading:!1,mixinDatacomHasMore:!1,mixinDatacomResData:[],mixinDatacomErrorMessage:"",mixinDatacomPage:{},mixinDatacomError:null}},created:function(){var t=this;this.mixinDatacomPage={current:this.pageCurrent,size:this.pageSize,count:0},this.$watch((function(){var e=[];return["pageCurrent","pageSize","localdata","collection","action","field","orderby","where","getont","getcount","gettree","groupby","groupField","distinct"].forEach((function(i){e.push(t[i])})),e}),(function(e,i){if(t.loadtime!==hn.manual){for(var n=!1,a=[],r=2;r<e.length;r++)e[r]!==i[r]&&(a.push(e[r]),n=!0);e[0]!==i[0]&&(t.mixinDatacomPage.current=t.pageCurrent),t.mixinDatacomPage.size=t.pageSize,t.onMixinDatacomPropsChange(n,a)}}))},methods:{onMixinDatacomPropsChange:function(t,e){},mixinDatacomEasyGet:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=e.getone,n=void 0!==i&&i,a=e.success,r=e.fail;this.mixinDatacomLoading||(this.mixinDatacomLoading=!0,this.mixinDatacomErrorMessage="",this.mixinDatacomError=null,this.mixinDatacomGet().then((function(e){t.mixinDatacomLoading=!1;var i=e.result,r=i.data,o=i.count;t.getcount&&(t.mixinDatacomPage.count=o),t.mixinDatacomHasMore=r.length<t.pageSize;var s=n?r.length?r[0]:void 0:r;t.mixinDatacomResData=s,a&&a(s)})).catch((function(e){t.mixinDatacomLoading=!1,t.mixinDatacomErrorMessage=e,t.mixinDatacomError=e,r&&r(e)})))},mixinDatacomGet:function(){var e,i,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};n=n||{},i="undefined"!=typeof __uniX&&__uniX?t.databaseForJQL(this.spaceInfo):t.database(this.spaceInfo);var a=n.action||this.action;a&&(i=i.action(a));var r=n.collection||this.collection;i=Array.isArray(r)?(e=i).collection.apply(e,(0,l.default)(r)):i.collection(r);var o=n.where||this.where;o&&Object.keys(o).length&&(i=i.where(o));var s=n.field||this.field;s&&(i=i.field(s));var c=n.foreignKey||this.foreignKey;c&&(i=i.foreignKey(c));var u=n.groupby||this.groupby;u&&(i=i.groupBy(u));var h=n.groupField||this.groupField;h&&(i=i.groupField(h)),!0===(void 0!==n.distinct?n.distinct:this.distinct)&&(i=i.distinct());var d=n.orderby||this.orderby;d&&(i=i.orderBy(d));var f=void 0!==n.pageCurrent?n.pageCurrent:this.mixinDatacomPage.current,p=void 0!==n.pageSize?n.pageSize:this.mixinDatacomPage.size,g=void 0!==n.getcount?n.getcount:this.getcount,v=void 0!==n.gettree?n.gettree:this.gettree,m=void 0!==n.gettreepath?n.gettreepath:this.gettreepath,x={getCount:g},y={limitLevel:void 0!==n.limitlevel?n.limitlevel:this.limitlevel,startWith:void 0!==n.startwith?n.startwith:this.startwith};return v&&(x.getTree=y),m&&(x.getTreePath=y),i=i.skip(p*(f-1)).limit(p).get(x),i}}}}function fn(t){return X(li.replace("{spaceId}",t.config.spaceId))}function pn(){return gn.apply(this,arguments)}function gn(){return gn=(0,u.default)(r.default.mark((function t(){var e,i,n,a,o,s,c,l=arguments;return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(e=l.length>0&&void 0!==l[0]?l[0]:{},i=e.openid,n=e.callLoginByWeixin,a=void 0!==n&&n,o=fn(this),"mp-weixin"===G){t.next=4;break}throw new Error("[SecureNetwork] API `initSecureNetworkByWeixin` is not supported on platform `".concat(G,"`"));case 4:if(!i||!a){t.next=6;break}throw new Error("[SecureNetwork] openid and callLoginByWeixin cannot be passed at the same time");case 6:if(!i){t.next=8;break}return t.abrupt("return",(o.mpWeixinOpenid=i,{}));case 8:return t.next=10,new Promise((function(t,e){uni.login({success:function(e){t(e.code)},fail:function(t){e(new Error(t.errMsg))}})}));case 10:return s=t.sent,c=this.importObject("uni-id-co",{customUI:!0}),t.next=14,c.secureNetworkHandshakeByWeixin({code:s,callLoginByWeixin:a});case 14:return o.mpWeixinCode=s,t.abrupt("return",{code:s});case 16:case"end":return t.stop()}}),t,this)}))),gn.apply(this,arguments)}function vn(t){return mn.apply(this,arguments)}function mn(){return mn=(0,u.default)(r.default.mark((function t(e){var i;return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return i=fn(this),t.abrupt("return",(i.initPromise||(i.initPromise=pn.call(this,e).then((function(t){return t})).catch((function(t){throw delete i.initPromise,t}))),i.initPromise));case 2:case"end":return t.stop()}}),t,this)}))),mn.apply(this,arguments)}function xn(t){!function(t){wt=t}(t)}function yn(t){var e={getSystemInfo:uni.getSystemInfo,getPushClientId:uni.getPushClientId};return function(i){return new Promise((function(n,a){e[t](w(w({},i),{},{success:function(t){n(t)},fail:function(t){a(t)}}))}))}}var _n=function(t){(0,d.default)(i,t);var e=S(i);function i(){var t;return(0,v.default)(this,i),t=e.call(this),t._uniPushMessageCallback=t._receivePushMessage.bind((0,o.default)(t)),t._currentMessageId=-1,t._payloadQueue=[],t}return(0,m.default)(i,[{key:"init",value:function(){var t=this;return Promise.all([yn("getSystemInfo")(),yn("getPushClientId")()]).then((function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],i=(0,s.default)(e,2),n=i[0];n=void 0===n?{}:n;var a=n.appId,r=i[1];r=void 0===r?{}:r;var o=r.cid;if(!a)throw new Error("Invalid appId, please check the manifest.json file");if(!o)throw new Error("Invalid push client id");t._appId=a,t._pushClientId=o,t._seqId=Date.now()+"-"+Math.floor(9e5*Math.random()+1e5),t.emit("open"),t._initMessageListener()}),(function(e){throw t.emit("error",e),t.close(),e}))}},{key:"open",value:function(){var t=(0,u.default)(r.default.mark((function t(){return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.abrupt("return",this.init());case 1:case"end":return t.stop()}}),t,this)})));return function(){return t.apply(this,arguments)}}()},{key:"_isUniCloudSSE",value:function(t){if("receive"!==t.type)return!1;var e=t&&t.data&&t.data.payload;return!(!e||"UNI_CLOUD_SSE"!==e.channel||e.seqId!==this._seqId)}},{key:"_receivePushMessage",value:function(t){if(this._isUniCloudSSE(t)){var e=t&&t.data&&t.data.payload,i=e.action,n=e.messageId,a=e.message;this._payloadQueue.push({action:i,messageId:n,message:a}),this._consumMessage()}}},{key:"_consumMessage",value:function(){for(var t=this;;){var e=this._payloadQueue.find((function(e){return e.messageId===t._currentMessageId+1}));if(!e)break;this._currentMessageId++,this._parseMessagePayload(e)}}},{key:"_parseMessagePayload",value:function(t){var e=t.action,i=t.messageId,n=t.message;"end"===e?this._end({messageId:i,message:n}):"message"===e&&this._appendMessage({messageId:i,message:n})}},{key:"_appendMessage",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=(t.messageId,t.message);this.emit("message",e)}},{key:"_end",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=(t.messageId,t.message);this.emit("end",e),this.close()}},{key:"_initMessageListener",value:function(){uni.onPushMessage(this._uniPushMessageCallback)}},{key:"_destroy",value:function(){uni.offPushMessage(this._uniPushMessageCallback)}},{key:"toJSON",value:function(){return{appId:this._appId,pushClientId:this._pushClientId,seqId:this._seqId}}},{key:"close",value:function(){this._destroy(),this.emit("close")}}]),i}(W);var bn={tcb:Re,tencent:Re,aliyun:Pt,private:He,dcloud:He,alipay:ei},wn=new(function(){function t(){(0,v.default)(this,t)}return(0,m.default)(t,[{key:"init",value:function(t){var e={},i=bn[t.provider];if(!i)throw new Error("\u672a\u63d0\u4f9b\u6b63\u786e\u7684provider\u53c2\u6570");return e=i.init(t),function(t){t._initPromiseHub||(t._initPromiseHub=new z({createPromise:function(){var e=Promise.resolve();e=new Promise((function(t){setTimeout((function(){t()}),1)}));var i=t.auth();return e.then((function(){return i.getLoginState()})).then((function(t){return t?Promise.resolve():i.signInAnonymously()}))}}))}(e),xi(e),function(t){var e=t.uploadFile;t.uploadFile=function(t){return e.call(this,t)}}(e),function(t){t.database=function(e){if(e&&Object.keys(e).length>0)return t.init(e).database();if(this._database)return this._database;var i=Ii(Li,{uniClient:t});return this._database=i,i},t.databaseForJQL=function(e){if(e&&Object.keys(e).length>0)return t.init(e).databaseForJQL();if(this._databaseForJQL)return this._databaseForJQL;var i=Ii(Li,{uniClient:t,isJQL:!0});return this._databaseForJQL=i,i}}(e),function(t){t.getCurrentUserInfo=cn,t.chooseAndUploadFile=un.initChooseAndUploadFile(t),Object.assign(t,{get mixinDatacom(){return dn(t)}}),t.SSEChannel=_n,t.initSecureNetworkByWeixin=function(t){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=e.openid,n=e.callLoginByWeixin,a=void 0!==n&&n;return vn.call(t,{openid:i,callLoginByWeixin:a})}}(t),t.setCustomClientInfo=xn,t.importObject=function(t){return function(e){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};i=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return t.customUI=e.customUI||t.customUI,t.parseSystemError=e.parseSystemError||t.parseSystemError,Object.assign(t.loadingOptions,e.loadingOptions),Object.assign(t.errorOptions,e.errorOptions),"object"==(0,c.default)(e.secretMethods)&&(t.secretMethods=e.secretMethods),t}({customUI:!1,loadingOptions:{title:"\u52a0\u8f7d\u4e2d...",mask:!0},errorOptions:{type:"modal",retry:!1}},i);var n=i,a=n.customUI,o=n.loadingOptions,s=n.errorOptions,l=n.parseSystemError,h=!a;return new Proxy({},{get:function(n,a){switch(a){case"toString":return"[object UniCloudObject]";case"toJSON":return{}}return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.fn,i=t.interceptorName,n=t.getCallbackArgs;return(0,u.default)(r.default.mark((function t(){var a,o,s,c,l,u,h=arguments;return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:for(a=h.length,o=new Array(a),s=0;s<a;s++)o[s]=h[s];return c=n?n({params:o}):{},t.prev=2,t.next=5,et(it(i,"invoke"),w({},c));case 5:return t.next=7,e.apply(void 0,o);case 7:return l=t.sent,t.next=10,et(it(i,"success"),w(w({},c),{},{result:l}));case 10:return t.abrupt("return",l);case 13:return t.prev=13,t.t0=t["catch"](2),u=t.t0,t.next=18,et(it(i,"fail"),w(w({},c),{},{error:u}));case 18:throw u;case 19:return t.prev=19,t.next=22,et(it(i,"complete"),w(w({},c),{},u?{error:u}:{result:l}));case 22:return t.finish(19);case 23:case"end":return t.stop()}}),t,null,[[2,13,19,23]])})))}({fn:function(){var n=(0,u.default)(r.default.mark((function n(){var f,p,g,v,m,x,y,_,b,S,k,C,T,P,A,O=arguments;return r.default.wrap((function(n){while(1)switch(n.prev=n.next){case 0:for(h&&uni.showLoading({title:o.title,mask:o.mask}),p=O.length,g=new Array(p),v=0;v<p;v++)g[v]=O[v];return m={name:e,type:D.OBJECT,data:{method:a,params:g}},"object"==(0,c.default)(i.secretMethods)&&function(t,e){var i=e.data.method,n=t.secretMethods||{},a=n[i]||n["*"];a&&(e.secretType=a)}(i,m),x=!1,n.prev=5,n.next=8,t.callFunction(m);case 8:f=n.sent,n.next=14;break;case 11:n.prev=11,n.t0=n["catch"](5),x=!0,f={result:new gt(n.t0)};case 14:if(y=f.result||{},_=y.errSubject,b=y.errCode,S=y.errMsg,k=y.newToken,h&&uni.hideLoading(),k&&k.token&&k.tokenExpired&&(_t(k),ut(rt.REFRESH_TOKEN,w({},k))),!b){n.next=39;break}if(C=S,!x||!l){n.next=24;break}return n.next=20,l({objectName:e,methodName:a,params:g,errSubject:_,errCode:b,errMsg:S});case 20:if(n.t1=n.sent.errMsg,n.t1){n.next=23;break}n.t1=S;case 23:C=n.t1;case 24:if(!h){n.next=37;break}if("toast"!==s.type){n.next=29;break}uni.showToast({title:C,icon:"none"}),n.next=37;break;case 29:if("modal"===s.type){n.next=31;break}throw new Error("Invalid errorOptions.type: ".concat(s.type));case 31:return n.next=33,(0,u.default)(r.default.mark((function t(){var e,i,n,a,o,s,c=arguments;return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return e=c.length>0&&void 0!==c[0]?c[0]:{},i=e.title,n=e.content,a=e.showCancel,o=e.cancelText,s=e.confirmText,t.abrupt("return",new Promise((function(t,e){uni.showModal({title:i,content:n,showCancel:a,cancelText:o,confirmText:s,success:function(e){t(e)},fail:function(){t({confirm:!1,cancel:!0})}})})));case 2:case"end":return t.stop()}}),t)})))({title:"\u63d0\u793a",content:C,showCancel:s.retry,cancelText:"\u53d6\u6d88",confirmText:s.retry?"\u91cd\u8bd5":"\u786e\u5b9a"});case 33:if(T=n.sent,P=T.confirm,!s.retry||!P){n.next=37;break}return n.abrupt("return",d.apply(void 0,g));case 37:throw A=new gt({subject:_,code:b,message:S,requestId:f.requestId}),A.detail=f.result,ut(rt.RESPONSE,{type:ot.CLOUD_OBJECT,content:A}),A;case 39:return n.abrupt("return",(ut(rt.RESPONSE,{type:ot.CLOUD_OBJECT,content:f.result}),f.result));case 40:case"end":return n.stop()}}),n,null,[[5,11]])})));function d(){return n.apply(this,arguments)}return d}(),interceptorName:"callObject",getCallbackArgs:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=t.params;return{objectName:e,methodName:a,params:i}}})}})}}(t)}(e),["callFunction","uploadFile","deleteFile","getTempFileURL","downloadFile","chooseAndUploadFile"].forEach((function(t){if(e[t]){var i=e[t];e[t]=function(){return i.apply(e,Array.from(arguments))},e[t]=function(t,e){return function(i){var n=this,a=!1;if("callFunction"===e){var r=i&&i.type||D.DEFAULT;a=r!==D.DEFAULT}var o="callFunction"===e&&!a,s=this._initPromiseHub.exec();i=i||{};var c=pt(i),l=c.success,u=c.fail,h=c.complete,d=s.then((function(){return a?Promise.resolve():et(it(e,"invoke"),i)})).then((function(){return t.call(n,i)})).then((function(t){return a?Promise.resolve(t):et(it(e,"success"),t).then((function(){return et(it(e,"complete"),t)})).then((function(){return o&&ut(rt.RESPONSE,{type:ot.CLOUD_FUNCTION,content:t}),Promise.resolve(t)}))}),(function(t){return a?Promise.reject(t):et(it(e,"fail"),t).then((function(){return et(it(e,"complete"),t)})).then((function(){return ut(rt.RESPONSE,{type:ot.CLOUD_FUNCTION,content:t}),Promise.reject(t)}))}));if(!(l||u||h))return d;d.then((function(t){l&&l(t),h&&h(t),o&&ut(rt.RESPONSE,{type:ot.CLOUD_FUNCTION,content:t})}),(function(t){u&&u(t),h&&h(t),o&&ut(rt.RESPONSE,{type:ot.CLOUD_FUNCTION,content:t})}))}}(e[t],t).bind(e)}})),e.init=this.init,e}}]),t}());e.uniCloud=wn,function(){var t=J,i={};if(t&&1===t.length)i=t[0],e.uniCloud=wn=wn.init(i),wn._isDefault=!0;else{var n;n=t&&t.length>0?"\u5e94\u7528\u6709\u591a\u4e2a\u670d\u52a1\u7a7a\u95f4\uff0c\u8bf7\u901a\u8fc7uniCloud.init\u65b9\u6cd5\u6307\u5b9a\u8981\u4f7f\u7528\u7684\u670d\u52a1\u7a7a\u95f4":"\u5e94\u7528\u672a\u5173\u8054\u670d\u52a1\u7a7a\u95f4\uff0c\u8bf7\u5728uniCloud\u76ee\u5f55\u53f3\u952e\u5173\u8054\u670d\u52a1\u7a7a\u95f4",["auth","callFunction","uploadFile","deleteFile","getTempFileURL","downloadFile","database","getCurrentUSerInfo","importObject"].forEach((function(t){wn[t]=function(){return console.error(n),Promise.reject(new gt({code:"SYS_ERR",message:n}))}}))}if(Object.assign(wn,{get mixinDatacom(){return dn(wn)}}),rn(wn),wn.addInterceptor=Z,wn.removeInterceptor=tt,wn.interceptObject=nt,"app"===G&&(uni.__uniCloud=wn),"app"===G||"web"===G){var a=function(){return V||(V=function(){if("undefined"!=typeof globalThis)return globalThis;if("undefined"!=typeof self)return self;if("undefined"!=typeof window)return window;function t(){return this}return void 0!==t()?t():new Function("return this")()}(),V)}();a.uniCloud=wn,a.UniCloudError=gt}}();var Sn=wn;e.default=Sn}).call(this,i("0ee4"),i("ed83")["default"])},"862a":function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return a})),i.d(e,"a",(function(){}));var n=function(){var t=this.$createElement,e=this._self._c||t;return e("view",{staticClass:this._$s(0,"sc","container loading3"),attrs:{_i:0}},[e("view",{staticClass:this._$s(1,"sc","shape shape1"),attrs:{_i:1}}),e("view",{staticClass:this._$s(2,"sc","shape shape2"),attrs:{_i:2}}),e("view",{staticClass:this._$s(3,"sc","shape shape3"),attrs:{_i:3}}),e("view",{staticClass:this._$s(4,"sc","shape shape4"),attrs:{_i:4}})])},a=[]},"8a5a":function(t,e,i){"use strict";i.r(e);var n=i("3400"),a=i("e9e1");for(var r in a)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(r);var o=i("828b"),s=Object(o["a"])(a["default"],n["b"],n["c"],!1,null,"39559fc8",null,!1,n["a"],void 0);e["default"]=s.exports},"8b6b":function(t,e,i){"use strict";i.r(e);var n=i("f92d"),a=i.n(n);for(var r in n)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(r);e["default"]=a.a},"8d12":function(t,e,i){t.exports=i.p+"static/g1.png"},"8ffa":function(t,e,i){var n=i("7647");t.exports=function(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&n(t,e)},t.exports.__esModule=!0,t.exports["default"]=t.exports},9008:function(t,e){t.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},t.exports.__esModule=!0,t.exports["default"]=t.exports},"925e":function(t,e,i){"use strict";i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return r})),i.d(e,"a",(function(){return n}));var n={qiunDataCharts:i("8325").default,uniPopup:i("a640").default,uniPopupDialog:i("ed43").default},a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("view",{staticClass:t._$s(0,"sc","container"),attrs:{_i:0}},[n("view",{staticClass:t._$s(1,"sc","floor-screen"),class:t._$s(1,"c",t.floorMove),attrs:{_i:1}},[n("view",{staticClass:t._$s(2,"sc","head"),attrs:{_i:2}},[n("text",{attrs:{_i:3},on:{click:function(e){return t.port()}}}),n("view",{staticClass:t._$s(4,"sc","time-tools"),attrs:{_i:4}},[t._v(t._$s(4,"t0-0",t._s(t.year))+t._$s(4,"t0-1",t._s(t.month))+t._$s(4,"t0-2",t._s(t.day))+t._$s(4,"t0-3",t._s(t.hours))+t._$s(4,"t0-4",t._s(t.minutes))+t._$s(4,"t0-5",t._s(t.seconds))+t._$s(4,"t0-6",t._s(t.week)))]),n("view",{staticClass:t._$s(5,"sc","button-left"),attrs:{_i:5},on:{click:function(e){return t.ejected()}}}),n("view",{staticClass:t._$s(6,"sc","button-right"),attrs:{_i:6},on:{click:function(e){return t.ledId()}}})]),n("view",{staticClass:t._$s(7,"sc","main"),attrs:{_i:7}},[n("view",{staticClass:t._$s(8,"sc","main-sides"),attrs:{_i:8}},[n("view",{staticClass:t._$s(9,"sc","box"),attrs:{_i:9}},[n("view",{staticClass:t._$s(10,"sc","box-border box-border1"),attrs:{_i:10}}),n("view",{staticClass:t._$s(11,"sc","box-border box-border2"),attrs:{_i:11}}),n("view",{staticClass:t._$s(12,"sc","box-border box-border3"),attrs:{_i:12}}),n("view",{staticClass:t._$s(13,"sc","box-border box-border4"),attrs:{_i:13}}),n("view",{directives:[{name:"show",rawName:"v-show",value:t._$s(14,"v-show",!t.errorShow),expression:"_$s(14,'v-show',!errorShow)"}],attrs:{_i:14}},[n("view",{class:t._$s(15,"c",t.width),attrs:{_i:15}},[n("view",{staticClass:t._$s(16,"sc","box-items"),attrs:{_i:16}},[t._v(t._$s(16,"t0-0",t._s(t.title)))]),n("view",{staticClass:t._$s(17,"sc","box-items"),attrs:{_i:17}},[t._v(t._$s(17,"t0-0",t._s(t.staNo)))]),n("view",{staticClass:t._$s(18,"sc","box-items"),attrs:{_i:18}},[t._v(t._$s(18,"t0-0",t._s(t.maknx)))]),n("view",{staticClass:t._$s(19,"sc","box-items"),attrs:{_i:19}},[t._v(t._$s(19,"t0-0",t._s(t.specs)))]),n("view",{staticClass:t._$s(20,"sc","box-items"),attrs:{_i:20}},[t._v(t._$s(20,"t0-0",t._s(t.count)))])]),n("view",{directives:[{name:"show",rawName:"v-show",value:t._$s(21,"v-show",t.orderShow),expression:"_$s(21,'v-show',orderShow)"}],attrs:{_i:21}},[n("view",{staticClass:t._$s(22,"sc","box-items"),attrs:{_i:22}},[t._v(t._$s(22,"t0-0",t._s(t.orderNo)))]),n("view",{staticClass:t._$s(23,"sc","box-items"),attrs:{_i:23}},[t._v(t._$s(23,"t0-0",t._s(t.doneOfTray)))]),n("view",{staticClass:t._$s(24,"sc","box-items"),attrs:{_i:24}},[t._v(t._$s(24,"t0-0",t._s(t.totalOfTray)))]),n("view",{staticClass:t._$s(25,"sc","box-items"),attrs:{_i:25}},[t._v(t._$s(25,"t0-0",t._s(t.doneOfUnit)))]),n("view",{staticClass:t._$s(26,"sc","box-items"),attrs:{_i:26}},[t._v(t._$s(26,"t0-0",t._s(t.totalOfUnit)))])])]),n("view",{directives:[{name:"show",rawName:"v-show",value:t._$s(27,"v-show",t.errorShow),expression:"_$s(27,'v-show',errorShow)"}],attrs:{_i:27}},[n("view",[t._v(t._$s(28,"t0-0",t._s(t.errorMsg)))])])])])])]),n("view",{staticClass:t._$s(29,"sc","top-screen"),class:t._$s(29,"c",t.topMove),attrs:{_i:29}},[n("view",{staticClass:t._$s(30,"sc","head"),attrs:{_i:30}},[n("text",{attrs:{_i:31},on:{click:function(e){return t.port()}}}),n("view",{staticClass:t._$s(32,"sc","time-tools"),attrs:{_i:32}},[t._v(t._$s(32,"t0-0",t._s(t.year))+t._$s(32,"t0-1",t._s(t.month))+t._$s(32,"t0-2",t._s(t.day))+t._$s(32,"t0-3",t._s(t.hours))+t._$s(32,"t0-4",t._s(t.minutes))+t._$s(32,"t0-5",t._s(t.seconds))+t._$s(32,"t0-6",t._s(t.week)))]),n("view",{staticClass:t._$s(33,"sc","button-left"),attrs:{_i:33},on:{click:function(e){return t.ejected()}}}),n("view",{staticClass:t._$s(34,"sc","button-right"),attrs:{_i:34},on:{click:function(e){return t.ledId()}}})]),n("view",{staticClass:t._$s(35,"sc","main"),attrs:{_i:35}},[n("view",{staticClass:t._$s(36,"sc","main-sides"),attrs:{_i:36}},[n("view",{staticClass:t._$s(37,"sc","box box-lg"),attrs:{_i:37}},[n("view",{staticClass:t._$s(38,"sc","box-border box-border1"),attrs:{_i:38}}),n("view",{staticClass:t._$s(39,"sc","box-border box-border2"),attrs:{_i:39}}),n("view",{staticClass:t._$s(40,"sc","box-border box-border3"),attrs:{_i:40}}),n("view",{staticClass:t._$s(41,"sc","box-border box-border4"),attrs:{_i:41}}),n("view",{staticClass:t._$s(42,"sc","box-item introduce"),attrs:{_i:42}},[n("h3"),n("p",{staticClass:t._$s(44,"sc","english"),attrs:{_i:44}}),n("p",{staticClass:t._$s(45,"sc","introduce-content"),attrs:{_i:45}})]),n("view",{staticClass:t._$s(46,"sc","box-item charge-info"),attrs:{_i:46}},[n("h3"),n("p",{staticClass:t._$s(48,"sc","english"),attrs:{_i:48}}),n("view",{staticClass:t._$s(49,"sc","charge-info-item"),attrs:{_i:49}},[n("image",{attrs:{src:t._$s(50,"a-src",i("20f7")),_i:50}}),n("view",[n("text",{staticClass:t._$s(52,"sc","count"),attrs:{_i:52}},[t._v(t._$s(52,"t0-0",t._s(t.xDistance)))]),n("text",{staticClass:t._$s(53,"sc","unit"),attrs:{_i:53}})]),n("view")]),n("view",{staticClass:t._$s(55,"sc","charge-info-item"),attrs:{_i:55}},[n("image",{attrs:{src:t._$s(56,"a-src",i("7584")),_i:56}}),n("view",[n("text",{staticClass:t._$s(58,"sc","count"),attrs:{_i:58}},[t._v(t._$s(58,"t0-0",t._s(t.yDistance)))]),n("text",{staticClass:t._$s(59,"sc","unit"),attrs:{_i:59}})]),n("view")]),n("view",{staticClass:t._$s(61,"sc","charge-info-item"),attrs:{_i:61}},[n("image",{attrs:{src:t._$s(62,"a-src",i("6808")),_i:62}}),n("view",[n("text",{staticClass:t._$s(64,"sc","count"),attrs:{_i:64}},[t._v(t._$s(64,"t0-0",t._s(t.xDuration)))]),n("text",{staticClass:t._$s(65,"sc","unit"),attrs:{_i:65}})]),n("view")]),n("view",{staticClass:t._$s(67,"sc","charge-info-item"),attrs:{_i:67}},[n("image",{attrs:{src:t._$s(68,"a-src",i("a4cb")),_i:68}}),n("view",[n("text",{staticClass:t._$s(70,"sc","count"),attrs:{_i:70}},[t._v(t._$s(70,"t0-0",t._s(t.yDuration)))]),n("text",{staticClass:t._$s(71,"sc","unit"),attrs:{_i:71}})]),n("view")])]),n("view",{staticClass:t._$s(73,"sc","box-item use-info"),attrs:{_i:73}},[n("view",{staticClass:t._$s(74,"sc","use-left"),attrs:{_i:74}},[n("h3"),n("p",{staticClass:t._$s(76,"sc","english"),attrs:{_i:76}})]),n("view",{staticClass:t._$s(77,"sc","use-right"),attrs:{_i:77}},[n("h3",[t._v(t._$s(78,"t0-0",t._s(t.usedPr)))]),n("p",{staticClass:t._$s(79,"sc","english"),attrs:{_i:79}})]),n("view",{staticClass:t._$s(80,"sc","use-main"),attrs:{_i:80}},[n("view",{staticClass:t._$s(81,"sc","left"),attrs:{_i:81}},[n("view",{staticClass:t._$s(82,"sc","progressBar"),attrs:{_i:82}},[n("view",{staticClass:t._$s(83,"sc","progress"),style:t._$s(83,"s","width:"+t.usedPr+"%"),attrs:{_i:83}})])]),n("view",{staticClass:t._$s(84,"sc","right"),attrs:{_i:84}},[t._v(t._$s(84,"t0-0",t._s(t.used)))])])])])]),n("view",{staticClass:t._$s(85,"sc","main-sides"),attrs:{_i:85}},[n("view",{staticClass:t._$s(86,"sc","box box-tp"),attrs:{_i:86}},[n("view",{staticClass:t._$s(87,"sc","box-border box-border1"),attrs:{_i:87}}),n("view",{staticClass:t._$s(88,"sc","box-border box-border2"),attrs:{_i:88}}),n("view",{staticClass:t._$s(89,"sc","box-border box-border3"),attrs:{_i:89}}),n("view",{staticClass:t._$s(90,"sc","box-border box-border4"),attrs:{_i:90}}),n("view",{staticClass:t._$s(91,"sc","box-item right-item"),attrs:{_i:91}},[n("view",{staticClass:t._$s(92,"sc","sub-left"),attrs:{_i:92}},[n("h3"),n("p",{staticClass:t._$s(94,"sc","english"),attrs:{_i:94}})]),n("view",{staticClass:t._$s(95,"sc","sub-right"),attrs:{_i:95}},[n("h3"),n("p",{staticClass:t._$s(97,"sc","english"),attrs:{_i:97}})]),n("view",{staticClass:t._$s(98,"sc","sub-main"),attrs:{_i:98}},[n("view",{staticClass:t._$s(99,"sc","charts-box"),attrs:{_i:99}},[n("qiun-data-charts",{attrs:{type:"line",chartData:t.chartsDataLine1,echartsH5:!0,echartsApp:!0,_i:100}})],1)])])]),n("view",{staticClass:t._$s(101,"sc","box box-md"),attrs:{_i:101}},[n("view",{staticClass:t._$s(102,"sc","box-border box-border1"),attrs:{_i:102}}),n("view",{staticClass:t._$s(103,"sc","box-border box-border2"),attrs:{_i:103}}),n("view",{staticClass:t._$s(104,"sc","box-border box-border3"),attrs:{_i:104}}),n("view",{staticClass:t._$s(105,"sc","box-border box-border4"),attrs:{_i:105}}),n("view",{staticClass:t._$s(106,"sc","box-item right-item"),attrs:{_i:106}},[n("view",{staticClass:t._$s(107,"sc","sub-left"),attrs:{_i:107}},[n("h3"),n("p",{staticClass:t._$s(109,"sc","english"),attrs:{_i:109}})]),n("view",{staticClass:t._$s(110,"sc","sub-right"),attrs:{_i:110}},[n("h3"),n("p",{staticClass:t._$s(112,"sc","english"),attrs:{_i:112}})]),n("view",{staticClass:t._$s(113,"sc","sub-main"),attrs:{_i:113}},[n("view",{staticClass:t._$s(114,"sc","charts-box ring"),attrs:{_i:114}},[n("qiun-data-charts",{attrs:{type:"ring",opts:{legend:{position:"bottom"}},eopts:t.ringOpts,chartData:t.chartsDataPie2,echartsH5:!0,echartsApp:!0,_i:115}})],1),n("view",{staticClass:t._$s(116,"sc","sub-main-right"),attrs:{_i:116}},[n("view",{staticClass:t._$s(117,"sc","sub-info"),attrs:{_i:117}},[n("image",{attrs:{src:t._$s(118,"a-src",i("8d12")),_i:118}}),n("text"),n("text",[t._v(t._$s(120,"t0-0",t._s(t.stockCount)))])]),n("view",{staticClass:t._$s(121,"sc","sub-info"),attrs:{_i:121}},[n("image",{attrs:{src:t._$s(122,"a-src",i("1b21")),_i:122}}),n("text"),n("text",[t._v(t._$s(124,"t0-0",t._s(t.emptyCount)))])]),n("view",{staticClass:t._$s(125,"sc","sub-info"),attrs:{_i:125}},[n("image",{attrs:{src:t._$s(126,"a-src",i("0c2e")),_i:126}}),n("text"),n("text",[t._v(t._$s(128,"t0-0",t._s(t.noneCount)))])])])])])]),n("view",{staticClass:t._$s(129,"sc","box box-bt"),attrs:{_i:129}},[n("view",{staticClass:t._$s(130,"sc","box-border box-border1"),attrs:{_i:130}}),n("view",{staticClass:t._$s(131,"sc","box-border box-border2"),attrs:{_i:131}}),n("view",{staticClass:t._$s(132,"sc","box-border box-border3"),attrs:{_i:132}}),n("view",{staticClass:t._$s(133,"sc","box-border box-border4"),attrs:{_i:133}}),n("view",{attrs:{_i:134},on:{click:function(e){return t.crn()}}})])])])]),n("view",[n("uni-popup",{ref:"url",attrs:{type:"dialog",_i:136}},[n("uni-popup-dialog",{ref:"inputClose",attrs:{mode:"input",title:"\u914d\u7f6eurl",value:t.baseIP,placeholder:"\u793a\u4f8b:192.168.1.1",_i:137},on:{confirm:t.baseUrlConfirm}})],1)],1),n("view",[n("uni-popup",{ref:"ledId",attrs:{type:"dialog",_i:139}},[n("uni-popup-dialog",{ref:"inputClose",attrs:{mode:"input",title:"\u914d\u7f6eledId",value:t.baseLedId,placeholder:"\u793a\u4f8b:188",_i:140},on:{confirm:t.ledIdConfirm}})],1)],1),n("view",[n("uni-popup",{ref:"port",attrs:{type:"dialog",_i:142}},[n("uni-popup-dialog",{ref:"inputClose",attrs:{mode:"input",title:"\u914d\u7f6e\u7aef\u53e3\u53f7",value:t.basePort,placeholder:"\u793a\u4f8b:9090",_i:143},on:{confirm:t.portConfirm}})],1)],1),n("view",[n("uni-popup",{ref:"crnId",attrs:{type:"dialog",_i:145}},[n("uni-popup-dialog",{ref:"inputClose",attrs:{mode:"input",title:"\u914d\u7f6e\u5806\u579b\u673a",value:t.crnId,placeholder:"\u793a\u4f8b:1",_i:146},on:{confirm:t.crnConfirm}})],1)],1),n("view",{directives:[{name:"show",rawName:"v-show",value:t._$s(147,"v-show",t.ejectShow),expression:"_$s(147,'v-show',ejectShow)"}],staticClass:t._$s(147,"sc","eject-mask"),attrs:{_i:147}},[n("view",{staticClass:t._$s(148,"sc","eject"),attrs:{_i:148}},[n("view",{staticClass:t._$s(149,"sc","eject-title"),attrs:{_i:149}}),n("view",{staticClass:t._$s(150,"sc","eject-input"),attrs:{_i:150}},[n("view",{staticClass:t._$s(151,"sc","item"),attrs:{_i:151}},[n("view",{staticClass:t._$s(152,"sc","desc"),attrs:{_i:152}}),n("view",{staticClass:t._$s(153,"sc","input"),attrs:{_i:153}},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.baseIP,expression:"baseIP"}],attrs:{_i:154},domProps:{value:t._$s(154,"v-model",t.baseIP)},on:{input:function(e){e.target.composing||(t.baseIP=e.target.value)}}})])]),n("view",{staticClass:t._$s(155,"sc","item"),attrs:{_i:155}},[n("view",{staticClass:t._$s(156,"sc","desc"),attrs:{_i:156}}),n("view",{staticClass:t._$s(157,"sc","input"),attrs:{_i:157}},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.basePort,expression:"basePort"}],attrs:{_i:158},domProps:{value:t._$s(158,"v-model",t.basePort)},on:{input:function(e){e.target.composing||(t.basePort=e.target.value)}}})])]),n("view",{staticClass:t._$s(159,"sc","item"),attrs:{_i:159}},[n("view",{staticClass:t._$s(160,"sc","desc"),attrs:{_i:160}}),n("view",{staticClass:t._$s(161,"sc","input"),attrs:{_i:161}},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.baseLedId,expression:"baseLedId"}],attrs:{_i:162},domProps:{value:t._$s(162,"v-model",t.baseLedId)},on:{input:function(e){e.target.composing||(t.baseLedId=e.target.value)}}})])]),n("view",{staticClass:t._$s(163,"sc","item"),attrs:{_i:163}},[n("view",{staticClass:t._$s(164,"sc","desc"),attrs:{_i:164}}),n("view",{staticClass:t._$s(165,"sc","input"),attrs:{_i:165}},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.baseCrnId,expression:"baseCrnId"}],attrs:{_i:166},domProps:{value:t._$s(166,"v-model",t.baseCrnId)},on:{input:function(e){e.target.composing||(t.baseCrnId=e.target.value)}}})])])]),n("view",{staticClass:t._$s(167,"sc","eject-button"),attrs:{_i:167}},[n("view",{staticClass:t._$s(168,"sc","button-item"),attrs:{_i:168},on:{click:t.ejectClose}}),n("view",{staticClass:t._$s(169,"sc","button-item"),attrs:{_i:169},on:{click:t.ejectConfirm}})])])])])},r=[]},"931d":function(t,e,i){var n=i("7647"),a=i("011a");t.exports=function(t,e,i){if(a())return Reflect.construct.apply(null,arguments);var r=[null];r.push.apply(r,e);var o=new(t.bind.apply(t,r));return i&&n(o,i.prototype),o},t.exports.__esModule=!0,t.exports["default"]=t.exports},9399:function(t,e,i){"use strict";i.r(e);var n=i("858a"),a=i.n(n);for(var r in n)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(r);e["default"]=a.a},"951c":function(t,e){t.exports=Vue},"96bc":function(t,e,i){if("undefined"===typeof Promise||Promise.prototype.finally||(Promise.prototype.finally=function(t){var e=this.constructor;return this.then((function(i){return e.resolve(t()).then((function(){return i}))}),(function(i){return e.resolve(t()).then((function(){throw i}))}))}),"undefined"!==typeof uni&&uni&&uni.requireGlobal){var n=uni.requireGlobal();ArrayBuffer=n.ArrayBuffer,Int8Array=n.Int8Array,Uint8Array=n.Uint8Array,Uint8ClampedArray=n.Uint8ClampedArray,Int16Array=n.Int16Array,Uint16Array=n.Uint16Array,Int32Array=n.Int32Array,Uint32Array=n.Uint32Array,Float32Array=n.Float32Array,Float64Array=n.Float64Array,BigInt64Array=n.BigInt64Array,BigUint64Array=n.BigUint64Array}uni.restoreGlobal&&uni.restoreGlobal(weex,plus,setTimeout,clearTimeout,setInterval,clearInterval),__definePage("pages/home/home",(function(){return Vue.extend(i("3b29").default)})),__definePage("pages/test/test",(function(){return Vue.extend(i("28cf").default)})),__definePage("pages/index",(function(){return Vue.extend(i("5e2e").default)})),__definePage("pages/index/index",(function(){return Vue.extend(i("e4d6").default)})),__definePage("pages/index/monitor",(function(){return Vue.extend(i("bfff").default)})),__definePage("pages/test/test",(function(){return Vue.extend(i("28cf").default)}))},"96e5":function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return a})),i.d(e,"a",(function(){}));var n=function(){var t=this.$createElement,e=this._self._c||t;return e("view",{staticClass:this._$s(0,"sc","container loading5"),attrs:{_i:0}},[e("view",{staticClass:this._$s(1,"sc","shape shape1"),attrs:{_i:1}}),e("view",{staticClass:this._$s(2,"sc","shape shape2"),attrs:{_i:2}}),e("view",{staticClass:this._$s(3,"sc","shape shape3"),attrs:{_i:3}}),e("view",{staticClass:this._$s(4,"sc","shape shape4"),attrs:{_i:4}})])},a=[]},"997e":function(t,e,i){"use strict";i.r(e);var n=i("4c8c"),a=i("8b6b");for(var r in a)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(r);var o=i("828b"),s=Object(o["a"])(a["default"],n["b"],n["c"],!1,null,null,null,!1,n["a"],void 0);e["default"]=s.exports},"9e36":function(t,e,i){"use strict";(function(t){var n=i("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=n(i("af34")),r=n(i("3b2d")),o=n(i("67ad")),s=n(i("0bdb")),c=function(){function e(t){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};(0,o.default)(this,e),this.url=t,this.options=Object.assign({heartbeatInterval:3e4,reconnectInterval:3e3,maxReconnectAttempts:-1,heartbeatMessage:JSON.stringify({to:"heartbeat"}),onMessage:null,onOpen:null,onClose:null,onError:null,onReconnect:null},i),this.socketTask=null,this.isConnected=!1,this.isConnecting=!1,this.reconnectAttempts=0,this.heartbeatTimer=null,this.reconnectTimer=null,this.messageQueue=[],this.isManualClose=!1}return(0,s.default)(e,[{key:"connect",value:function(){var e=this;this.isConnecting||(this.isConnecting=!0,this.socketTask=uni.connectSocket({url:this.url,header:this.options.header||{},protocols:this.options.protocols||[],success:function(){t("log","WebSocket\u8fde\u63a5\u521b\u5efa\u6210\u529f"," at pages/home/uniWebSocket.js:60")},fail:function(i){t("error","WebSocket\u8fde\u63a5\u521b\u5efa\u5931\u8d25",i," at pages/home/uniWebSocket.js:63"),e.reconnect()},complete:function(){e.isConnecting=!1}}),this.socketTask.onOpen((function(i){t("log","WebSocket\u8fde\u63a5\u5df2\u6253\u5f00",i," at pages/home/uniWebSocket.js:73"),e.isConnected=!0,e.reconnectAttempts=0,e.reconnectTimer&&(clearTimeout(e.reconnectTimer),e.reconnectTimer=null),e.startHeartbeat(),e.flushMessageQueue(),"function"===typeof e.options.onOpen&&e.options.onOpen(i)})),this.socketTask.onMessage((function(t){"function"===typeof e.options.onMessage&&e.options.onMessage(t)})),this.socketTask.onError((function(i){t("error","WebSocket\u53d1\u751f\u9519\u8bef",i," at pages/home/uniWebSocket.js:105"),e.isConnected=!1,"function"===typeof e.options.onError&&e.options.onError(i),e.isManualClose||e.reconnect()})),this.socketTask.onClose((function(i){t("log","WebSocket\u8fde\u63a5\u5df2\u5173\u95ed",i," at pages/home/uniWebSocket.js:121"),e.isConnected=!1,e.stopHeartbeat(),"function"===typeof e.options.onClose&&e.options.onClose(i),e.isManualClose||e.reconnect()})))}},{key:"reconnect",value:function(){var e=this;this.isManualClose||-1!==this.options.maxReconnectAttempts&&this.reconnectAttempts>=this.options.maxReconnectAttempts||(this.reconnectTimer&&clearTimeout(this.reconnectTimer),this.reconnectAttempts++,t("log","WebSocket\u5c1d\u8bd5\u7b2c".concat(this.reconnectAttempts,"\u6b21\u91cd\u8fde...")," at pages/home/uniWebSocket.js:160"),this.reconnectTimer=setTimeout((function(){e.connect()}),this.options.reconnectInterval),"function"===typeof this.options.onReconnect&&this.options.onReconnect({attempts:this.reconnectAttempts,maxAttempts:this.options.maxReconnectAttempts}))}},{key:"startHeartbeat",value:function(){var e=this;this.stopHeartbeat(),this.heartbeatTimer=setInterval((function(){e.isConnected&&e.socketTask&&1===e.socketTask.readyState&&(t("log","WebSocket\u53d1\u9001\u5fc3\u8df3"," at pages/home/uniWebSocket.js:186"),e.send(e.options.heartbeatMessage))}),this.options.heartbeatInterval)}},{key:"stopHeartbeat",value:function(){this.heartbeatTimer&&(clearInterval(this.heartbeatTimer),this.heartbeatTimer=null)}},{key:"send",value:function(e){var i=this;return new Promise((function(n,a){"object"===(0,r.default)(e)&&(e=JSON.stringify(e)),i.isConnected&&i.socketTask?i.socketTask.send({data:e,success:function(i){t("log","WebSocket\u6d88\u606f\u53d1\u9001\u6210\u529f",e," at pages/home/uniWebSocket.js:219"),n(i)},fail:function(e){t("error","WebSocket\u6d88\u606f\u53d1\u9001\u5931\u8d25",e," at pages/home/uniWebSocket.js:223"),a(e)}}):(t("log","WebSocket\u8fde\u63a5\u672a\u6253\u5f00\uff0c\u6d88\u606f\u52a0\u5165\u961f\u5217",e," at pages/home/uniWebSocket.js:229"),i.messageQueue.push({data:e,resolve:n,reject:a}),i.isConnected||i.isConnecting||i.connect())}))}},{key:"flushMessageQueue",value:function(){var e=this;if(0!==this.messageQueue.length){t("log","WebSocket\u53d1\u9001\u961f\u5217\u4e2d\u7684".concat(this.messageQueue.length,"\u6761\u6d88\u606f")," at pages/home/uniWebSocket.js:250");var i=(0,a.default)(this.messageQueue);this.messageQueue=[],i.forEach((function(i){e.socketTask.send({data:i.data,success:function(e){t("log","WebSocket\u961f\u5217\u6d88\u606f\u53d1\u9001\u6210\u529f",i.data," at pages/home/uniWebSocket.js:261"),i.resolve(e)},fail:function(e){t("error","WebSocket\u961f\u5217\u6d88\u606f\u53d1\u9001\u5931\u8d25",e," at pages/home/uniWebSocket.js:265"),i.reject(e)}})}))}}},{key:"close",value:function(){this.isManualClose=!0,this.stopHeartbeat(),this.reconnectTimer&&(clearTimeout(this.reconnectTimer),this.reconnectTimer=null),this.socketTask&&this.isConnected&&this.socketTask.close({code:1e3,reason:"Manual close",success:function(){t("log","WebSocket\u8fde\u63a5\u5df2\u624b\u52a8\u5173\u95ed"," at pages/home/uniWebSocket.js:293")},fail:function(e){t("error","WebSocket\u5173\u95ed\u5931\u8d25",e," at pages/home/uniWebSocket.js:296")}})}},{key:"reset",value:function(){this.isManualClose=!1,this.reconnectAttempts=0,this.isConnected||this.connect()}}]),e}(),l=c;e.default=l}).call(this,i("f3b9")["default"])},"9eba":function(t,e,i){"use strict";i.r(e);var n=i("dffb"),a=i("b854");for(var r in a)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(r);var o=i("828b"),s=Object(o["a"])(a["default"],n["b"],n["c"],!1,null,null,null,!1,n["a"],void 0);e["default"]=s.exports},"9fc1":function(t,e,i){var n=i("3b2d")["default"];function a(){"use strict";
-/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */t.exports=a=function(){return i},t.exports.__esModule=!0,t.exports["default"]=t.exports;var e,i={},r=Object.prototype,o=r.hasOwnProperty,s=Object.defineProperty||function(t,e,i){t[e]=i.value},c="function"==typeof Symbol?Symbol:{},l=c.iterator||"@@iterator",u=c.asyncIterator||"@@asyncIterator",h=c.toStringTag||"@@toStringTag";function d(t,e,i){return Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{d({},"")}catch(e){d=function(t,e,i){return t[e]=i}}function f(t,e,i,n){var a=e&&e.prototype instanceof y?e:y,r=Object.create(a.prototype),o=new D(n||[]);return s(r,"_invoke",{value:A(t,i,o)}),r}function p(t,e,i){try{return{type:"normal",arg:t.call(e,i)}}catch(t){return{type:"throw",arg:t}}}i.wrap=f;var g="suspendedStart",v="executing",m="completed",x={};function y(){}function _(){}function b(){}var w={};d(w,l,(function(){return this}));var S=Object.getPrototypeOf,k=S&&S(S(M([])));k&&k!==r&&o.call(k,l)&&(w=k);var C=b.prototype=y.prototype=Object.create(w);function T(t){["next","throw","return"].forEach((function(e){d(t,e,(function(t){return this._invoke(e,t)}))}))}function P(t,e){function i(a,r,s,c){var l=p(t[a],t,r);if("throw"!==l.type){var u=l.arg,h=u.value;return h&&"object"==n(h)&&o.call(h,"__await")?e.resolve(h.__await).then((function(t){i("next",t,s,c)}),(function(t){i("throw",t,s,c)})):e.resolve(h).then((function(t){u.value=t,s(u)}),(function(t){return i("throw",t,s,c)}))}c(l.arg)}var a;s(this,"_invoke",{value:function(t,n){function r(){return new e((function(e,a){i(t,n,e,a)}))}return a=a?a.then(r,r):r()}})}function A(t,i,n){var a=g;return function(r,o){if(a===v)throw Error("Generator is already running");if(a===m){if("throw"===r)throw o;return{value:e,done:!0}}for(n.method=r,n.arg=o;;){var s=n.delegate;if(s){var c=O(s,n);if(c){if(c===x)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(a===g)throw a=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);a=v;var l=p(t,i,n);if("normal"===l.type){if(a=n.done?m:"suspendedYield",l.arg===x)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(a=m,n.method="throw",n.arg=l.arg)}}}function O(t,i){var n=i.method,a=t.iterator[n];if(a===e)return i.delegate=null,"throw"===n&&t.iterator["return"]&&(i.method="return",i.arg=e,O(t,i),"throw"===i.method)||"return"!==n&&(i.method="throw",i.arg=new TypeError("The iterator does not provide a '"+n+"' method")),x;var r=p(a,t.iterator,i.arg);if("throw"===r.type)return i.method="throw",i.arg=r.arg,i.delegate=null,x;var o=r.arg;return o?o.done?(i[t.resultName]=o.value,i.next=t.nextLoc,"return"!==i.method&&(i.method="next",i.arg=e),i.delegate=null,x):o:(i.method="throw",i.arg=new TypeError("iterator result is not an object"),i.delegate=null,x)}function I(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function L(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function D(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(I,this),this.reset(!0)}function M(t){if(t||""===t){var i=t[l];if(i)return i.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var a=-1,r=function i(){for(;++a<t.length;)if(o.call(t,a))return i.value=t[a],i.done=!1,i;return i.value=e,i.done=!0,i};return r.next=r}}throw new TypeError(n(t)+" is not iterable")}return _.prototype=b,s(C,"constructor",{value:b,configurable:!0}),s(b,"constructor",{value:_,configurable:!0}),_.displayName=d(b,h,"GeneratorFunction"),i.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===_||"GeneratorFunction"===(e.displayName||e.name))},i.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,b):(t.__proto__=b,d(t,h,"GeneratorFunction")),t.prototype=Object.create(C),t},i.awrap=function(t){return{__await:t}},T(P.prototype),d(P.prototype,u,(function(){return this})),i.AsyncIterator=P,i.async=function(t,e,n,a,r){void 0===r&&(r=Promise);var o=new P(f(t,e,n,a),r);return i.isGeneratorFunction(e)?o:o.next().then((function(t){return t.done?t.value:o.next()}))},T(C),d(C,h,"Generator"),d(C,l,(function(){return this})),d(C,"toString",(function(){return"[object Generator]"})),i.keys=function(t){var e=Object(t),i=[];for(var n in e)i.push(n);return i.reverse(),function t(){for(;i.length;){var n=i.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},i.values=M,D.prototype={constructor:D,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(L),!t)for(var i in this)"t"===i.charAt(0)&&o.call(this,i)&&!isNaN(+i.slice(1))&&(this[i]=e)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var i=this;function n(n,a){return s.type="throw",s.arg=t,i.next=n,a&&(i.method="next",i.arg=e),!!a}for(var a=this.tryEntries.length-1;a>=0;--a){var r=this.tryEntries[a],s=r.completion;if("root"===r.tryLoc)return n("end");if(r.tryLoc<=this.prev){var c=o.call(r,"catchLoc"),l=o.call(r,"finallyLoc");if(c&&l){if(this.prev<r.catchLoc)return n(r.catchLoc,!0);if(this.prev<r.finallyLoc)return n(r.finallyLoc)}else if(c){if(this.prev<r.catchLoc)return n(r.catchLoc,!0)}else{if(!l)throw Error("try statement without catch or finally");if(this.prev<r.finallyLoc)return n(r.finallyLoc)}}}},abrupt:function(t,e){for(var i=this.tryEntries.length-1;i>=0;--i){var n=this.tryEntries[i];if(n.tryLoc<=this.prev&&o.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var a=n;break}}a&&("break"===t||"continue"===t)&&a.tryLoc<=e&&e<=a.finallyLoc&&(a=null);var r=a?a.completion:{};return r.type=t,r.arg=e,a?(this.method="next",this.next=a.finallyLoc,x):this.complete(r)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),x},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var i=this.tryEntries[e];if(i.finallyLoc===t)return this.complete(i.completion,i.afterLoc),L(i),x}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var i=this.tryEntries[e];if(i.tryLoc===t){var n=i.completion;if("throw"===n.type){var a=n.arg;L(i)}return a}}throw Error("illegal catch attempt")},delegateYield:function(t,i,n){return this.delegate={iterator:M(t),resultName:i,nextLoc:n},"next"===this.method&&(this.arg=e),x}},i}t.exports=a,t.exports.__esModule=!0,t.exports["default"]=t.exports},a4cb:function(t,e,i){t.exports=i.p+"static/d1.png"},a640:function(t,e,i){"use strict";i.r(e);var n=i("4969"),a=i("7c9c");for(var r in a)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(r);var o=i("828b"),s=Object(o["a"])(a["default"],n["b"],n["c"],!1,null,null,null,!1,n["a"],void 0);e["default"]=s.exports},a708:function(t,e,i){var n=i("6454");t.exports=function(t){if(Array.isArray(t))return n(t)},t.exports.__esModule=!0,t.exports["default"]=t.exports},a9ce:function(t,e,i){"use strict";i.r(e);var n=i("bc8e"),a=i.n(n);for(var r in n)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(r);e["default"]=a.a},ac5c:function(t,e,i){"use strict";i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return r})),i.d(e,"a",(function(){return n}));var n={uniTransition:i("997e").default,yBox:i("357c").default,qiunDataCharts:i("8325").default,uniPopup:i("a640").default,uniPopupDialog:i("ed43").default},a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("view",{staticClass:t._$s(0,"sc","container"),attrs:{_i:0}},[n("uni-transition",{attrs:{duration:t.duration,"mode-class":t.homeMode,show:t.homeViewShow,_i:1}},[n("view",{staticClass:t._$s(2,"sc","home-view"),attrs:{_i:2}},[n("view",{staticClass:t._$s(3,"sc","head"),attrs:{_i:3}},[n("text")]),n("view",{staticClass:t._$s(5,"sc","time-tools"),attrs:{_i:5}},[t._v(t._$s(5,"t0-0",t._s(t.calendar)))]),n("view",{staticClass:t._$s(6,"sc","version"),attrs:{_i:6}},[t._v(t._$s(6,"t0-0",t._s(t.version)))]),n("view",{staticClass:t._$s(7,"sc","button-left"),attrs:{_i:7},on:{click:function(e){return t.ejected()}}}),n("view",{staticClass:t._$s(8,"sc","button-right"),attrs:{_i:8},on:{click:function(e){return t.ejected()}}}),n("view",{staticClass:t._$s(9,"sc","main"),attrs:{_i:9}},[n("view",{staticClass:t._$s(10,"sc","mian-item"),attrs:{_i:10}},[n("view",{staticClass:t._$s(11,"sc","mian-item-box"),attrs:{_i:11}},[n("y-box",{attrs:{_i:12}},[n("view",{staticClass:t._$s(13,"sc","box-item"),attrs:{_i:13}},[n("text",{staticClass:t._$s(14,"sc","item-title"),attrs:{_i:14}}),n("text",{staticClass:t._$s(15,"sc","item-subTitle"),attrs:{_i:15}})]),n("view",{staticClass:t._$s(16,"sc","box-item"),attrs:{_i:16}},[n("text",{staticClass:t._$s(17,"sc","item-title"),attrs:{_i:17}}),n("text",{staticClass:t._$s(18,"sc","item-subTitle"),attrs:{_i:18}}),n("view",{staticClass:t._$s(19,"sc","img-box"),attrs:{_i:19}},[n("swiper",{staticClass:t._$s(20,"sc","swiper-body-main"),attrs:{_i:20}},t._l(t._$s(21,"f",{forItems:t.locList}),(function(e,i,a,r){return n("swiper-item",{key:t._$s(21,"f",{forIndex:a,key:i}),staticClass:t._$s("21-"+r,"sc","swiper-item"),attrs:{_i:"21-"+r}},[n("view",[t._v(t._$s("22-"+r,"t0-0",t._s(e.matnr)))]),n("view",[t._v(t._$s("23-"+r,"t0-0",t._s(e.matnrCount)))])])})),0)])]),n("view",{staticClass:t._$s(24,"sc","box-item"),attrs:{_i:24}},[n("view",{staticClass:t._$s(25,"sc","flex-row"),attrs:{_i:25}},[n("view",{staticClass:t._$s(26,"sc","flex-col"),attrs:{_i:26}},[n("text",{staticClass:t._$s(27,"sc","item-title"),attrs:{_i:27}}),n("text",{staticClass:t._$s(28,"sc","item-subTitle"),attrs:{_i:28}})]),n("view",[n("view",{staticClass:t._$s(30,"sc","flex-col"),attrs:{_i:30}},[n("text",{staticClass:t._$s(31,"sc","item-title"),attrs:{_i:31}},[t._v(t._$s(31,"t0-0",t._s(t.baseInfo.usedPr)))])])])]),n("view",{staticClass:t._$s(32,"sc","flex-col"),attrs:{_i:32}},[n("view",{staticClass:t._$s(33,"sc","flex-row"),attrs:{_i:33}},[n("view",{staticClass:t._$s(34,"sc","progressBar"),attrs:{_i:34}},[n("view",{staticClass:t._$s(35,"sc","progress"),style:t._$s(35,"s","width:"+t.baseInfo.usedPr+"%"),attrs:{_i:35}})]),n("view",[t._v(t._$s(36,"t0-0",t._s(t.baseInfo.used)))])])])])])],1)]),n("view",{staticClass:t._$s(37,"sc","mian-item"),attrs:{_i:37}},[n("view",{staticClass:t._$s(38,"sc","mian-item-box"),attrs:{_i:38}},[n("view",[n("view",[n("y-box",{attrs:{_i:41}},[n("view",{staticClass:t._$s(42,"sc","box-item"),attrs:{_i:42}},[n("view",{staticClass:t._$s(43,"sc","flex-row"),attrs:{_i:43}},[n("view",{staticClass:t._$s(44,"sc","flex-col"),attrs:{_i:44}},[n("text",{staticClass:t._$s(45,"sc","item-title"),attrs:{_i:45}}),n("text",{staticClass:t._$s(46,"sc","item-subTitle"),attrs:{_i:46}})]),n("view",[n("view",{staticClass:t._$s(48,"sc","flex-col"),attrs:{_i:48}})])]),n("view",{staticClass:t._$s(49,"sc","charts-box"),attrs:{_i:49}},[n("qiun-data-charts",{attrs:{type:"line",chartData:t.chartsDataLine1,echartsH5:!0,echartsApp:!0,_i:50}})],1)])])],1),n("view"),n("view",[n("y-box",{attrs:{_i:53}},[n("view",{staticClass:t._$s(54,"sc","box-item"),attrs:{_i:54}},[n("view",{staticClass:t._$s(55,"sc","flex-row"),attrs:{_i:55}},[n("view",{staticClass:t._$s(56,"sc","flex-col"),attrs:{_i:56}},[n("text",{staticClass:t._$s(57,"sc","item-title"),attrs:{_i:57}}),n("text",{staticClass:t._$s(58,"sc","item-subTitle"),attrs:{_i:58}})]),n("view",[n("view",{staticClass:t._$s(60,"sc","flex-col"),attrs:{_i:60}},[n("text",{staticClass:t._$s(61,"sc","item-title"),attrs:{_i:61}}),n("text",{staticClass:t._$s(62,"sc","item-subTitle"),attrs:{_i:62}})])])]),n("view",{staticClass:t._$s(63,"sc","flex-row"),attrs:{_i:63}},[n("view",{staticClass:t._$s(64,"sc","charts-box-ring"),attrs:{_i:64}},[n("qiun-data-charts",{attrs:{type:"ring",opts:{legend:{position:"bottom"}},eopts:t.ringOpts,chartData:t.chartsDataPie2,echartsH5:!0,echartsApp:!0,_i:65}})],1),n("view",[n("view",{staticClass:t._$s(67,"sc","flex-row sub-info"),attrs:{_i:67}},[n("image",{attrs:{src:t._$s(68,"a-src",i("8d12")),_i:68}}),n("view"),n("view",[t._v(t._$s(70,"t0-0",t._s(t.baseInfo.stockCount)))])]),n("view",{staticClass:t._$s(71,"sc","flex-row sub-info"),attrs:{_i:71}},[n("image",{attrs:{src:t._$s(72,"a-src",i("1b21")),_i:72}}),n("view"),n("view",[t._v(t._$s(74,"t0-0",t._s(t.baseInfo.emptyCount)))])]),n("view",{staticClass:t._$s(75,"sc","flex-row sub-info"),attrs:{_i:75}},[n("image",{attrs:{src:t._$s(76,"a-src",i("0c2e")),_i:76}}),n("view"),n("view",[t._v(t._$s(78,"t0-0",t._s(t.baseInfo.noneCount)))])])])])])])],1),n("view"),n("view",[n("view",[n("image",{attrs:{src:t._$s(82,"a-src",i("6597")),_i:82}})])])])])])])])]),n("uni-transition",{attrs:{duration:t.duration,"mode-class":t.infoMode,show:t.infoViewShow,_i:83}},[n("view",{staticClass:t._$s(84,"sc","home-view"),attrs:{_i:84}},[n("view",{staticClass:t._$s(85,"sc","head"),attrs:{_i:85}},[n("text",[t._v(t._$s(86,"t0-0",t._s(t.infoText.title)))])]),n("view",{staticClass:t._$s(87,"sc","time-tools"),attrs:{_i:87}},[t._v(t._$s(87,"t0-0",t._s(t.calendar)))]),n("view",{staticClass:t._$s(88,"sc","button-left"),attrs:{_i:88},on:{click:function(e){return t.ejected()}}}),n("view",{staticClass:t._$s(89,"sc","button-right"),attrs:{_i:89},on:{click:function(e){return t.ejected()}}}),n("view",{staticClass:t._$s(90,"sc","info-main"),attrs:{_i:90}},[n("view",{staticClass:t._$s(91,"sc","info-box"),attrs:{_i:91}},[n("y-box",{attrs:{_i:92}},[n("view",{staticClass:t._$s(93,"sc","text-content"),attrs:{_i:93}},[n("view",{staticClass:t._$s(94,"sc","swiper-head"),attrs:{_i:94}},[n("view",[t._v(t._$s(95,"t0-0",t._s(t.infoText.barcode)))]),n("view",[t._v(t._$s(96,"t0-0",t._s(t.infoText.workNo)))]),n("view",[t._v(t._$s(97,"t0-0",t._s(t.infoText.sourceLocNo)))]),n("view",[t._v(t._$s(98,"t0-0",t._s(t.infoText.staNo)))])]),n("view",{staticClass:t._$s(99,"sc","swiper-body"),attrs:{_i:99}},[n("swiper",{staticClass:t._$s(100,"sc","swiper-body-main"),attrs:{_i:100}},t._l(t._$s(101,"f",{forItems:t.swiperList}),(function(e,i,a,r){return n("swiper-item",{key:t._$s(101,"f",{forIndex:a,key:i}),staticClass:t._$s("101-"+r,"sc","swiper-item"),attrs:{_i:"101-"+r}},[n("view",[t._v(t._$s("102-"+r,"t0-0",t._s(i+1))+t._$s("102-"+r,"t0-1",t._s(t.swiperList.length)))]),n("view",[t._v(t._$s("103-"+r,"t0-0",t._s(e.matnr)))]),n("view",[t._v(t._$s("104-"+r,"t0-0",t._s(e.maknx)))]),n("view",[t._v(t._$s("105-"+r,"t0-0",t._s(e.specs)))]),n("view",[t._v(t._$s("106-"+r,"t0-0",t._s(e.batch)))]),n("view",[t._v(t._$s("107-"+r,"t0-0",t._s(e.orderNo)))]),n("view",[t._v(t._$s("108-"+r,"t0-0",t._s(e.customer)))]),n("view",[t._v(t._$s("109-"+r,"t0-0",t._s(e.count)))])])})),0)])])])],1)])])]),n("uni-transition",{attrs:{duration:t.duration,"mode-class":t.errorInfoMode,show:t.errorInfoViewShow,_i:110}},[n("view",{staticClass:t._$s(111,"sc","error-info-view"),attrs:{_i:111}},[n("view",{staticClass:t._$s(112,"sc","head"),attrs:{_i:112}},[n("text",[t._v(t._$s(113,"t0-0",t._s(t.infoText.title)))])]),n("view",{staticClass:t._$s(114,"sc","time-tools"),attrs:{_i:114}},[t._v(t._$s(114,"t0-0",t._s(t.calendar)))]),n("view",{staticClass:t._$s(115,"sc","button-left"),attrs:{_i:115}}),n("view",{staticClass:t._$s(116,"sc","button-right"),attrs:{_i:116}}),n("view",{staticClass:t._$s(117,"sc","info-main"),attrs:{_i:117}},[n("view",{staticClass:t._$s(118,"sc","info-box"),attrs:{_i:118}},[n("y-box",{attrs:{_i:119}},[n("view",{staticClass:t._$s(120,"sc","info-box-text"),attrs:{_i:120}},[n("view",{staticClass:t._$s(121,"sc","flex-col info-box-text-item"),attrs:{_i:121}},[t._v(t._$s(121,"t0-0",t._s(t.infoText.error)))])])])],1)])])]),n("view",{directives:[{name:"show",rawName:"v-show",value:t._$s(122,"v-show",t.ejectShow),expression:"_$s(122,'v-show',ejectShow)"}],staticClass:t._$s(122,"sc","eject-mask"),attrs:{_i:122}},[n("view",{staticClass:t._$s(123,"sc","eject"),attrs:{_i:123}},[n("view",{staticClass:t._$s(124,"sc","eject-title"),attrs:{_i:124}}),n("scroll-view",{staticClass:t._$s(125,"sc","eject-input"),attrs:{_i:125}},[n("view",{staticClass:t._$s(126,"sc","item"),attrs:{_i:126}},[n("view",{staticClass:t._$s(127,"sc","desc"),attrs:{_i:127}}),n("view",{staticClass:t._$s(128,"sc","input"),attrs:{_i:128}},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.baseIP,expression:"baseIP"}],attrs:{_i:129},domProps:{value:t._$s(129,"v-model",t.baseIP)},on:{input:function(e){e.target.composing||(t.baseIP=e.target.value)}}})])]),n("view",{staticClass:t._$s(130,"sc","item"),attrs:{_i:130}},[n("view",{staticClass:t._$s(131,"sc","desc"),attrs:{_i:131}}),n("view",{staticClass:t._$s(132,"sc","input"),attrs:{_i:132}},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.basePort,expression:"basePort"}],attrs:{_i:133},domProps:{value:t._$s(133,"v-model",t.basePort)},on:{input:function(e){e.target.composing||(t.basePort=e.target.value)}}})])]),n("view",{staticClass:t._$s(134,"sc","item"),attrs:{_i:134}},[n("view",{staticClass:t._$s(135,"sc","desc"),attrs:{_i:135}}),n("view",{staticClass:t._$s(136,"sc","input"),attrs:{_i:136}},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.baseUrl,expression:"baseUrl"}],attrs:{_i:137},domProps:{value:t._$s(137,"v-model",t.baseUrl)},on:{input:function(e){e.target.composing||(t.baseUrl=e.target.value)}}})])]),n("view",{staticClass:t._$s(138,"sc","item"),attrs:{_i:138}},[n("view",{staticClass:t._$s(139,"sc","desc"),attrs:{_i:139}}),n("view",{staticClass:t._$s(140,"sc","input"),attrs:{_i:140}},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.wmsPort,expression:"wmsPort"}],attrs:{_i:141},domProps:{value:t._$s(141,"v-model",t.wmsPort)},on:{input:function(e){e.target.composing||(t.wmsPort=e.target.value)}}})])]),n("view",{staticClass:t._$s(142,"sc","item"),attrs:{_i:142}},[n("view",{staticClass:t._$s(143,"sc","desc"),attrs:{_i:143}}),n("view",{staticClass:t._$s(144,"sc","input"),attrs:{_i:144}},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.wmsUrl,expression:"wmsUrl"}],attrs:{_i:145},domProps:{value:t._$s(145,"v-model",t.wmsUrl)},on:{input:function(e){e.target.composing||(t.wmsUrl=e.target.value)}}})])]),n("view",{staticClass:t._$s(146,"sc","item"),attrs:{_i:146}},[n("view",{staticClass:t._$s(147,"sc","desc"),attrs:{_i:147}}),n("view",{staticClass:t._$s(148,"sc","input"),attrs:{_i:148}},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.baseLedId,expression:"baseLedId"}],attrs:{_i:149},domProps:{value:t._$s(149,"v-model",t.baseLedId)},on:{input:function(e){e.target.composing||(t.baseLedId=e.target.value)}}})])])]),n("view",{staticClass:t._$s(150,"sc","eject-button"),attrs:{_i:150}},[n("view",{staticClass:t._$s(151,"sc","button-item"),attrs:{_i:151},on:{click:t.ejectClose}}),n("view",{staticClass:t._$s(152,"sc","button-item"),attrs:{_i:152},on:{click:t.ejectConfirm}})])])]),n("view",[n("uni-popup",{ref:"upVersion",attrs:{type:"dialog",_i:154}},[n("uni-popup-dialog",{attrs:{type:t.msgType,title:"\u901a\u77e5",content:t.dialogContent,_i:155},on:{confirm:t.dialogConfirm,close:t.dialogClose}})],1)],1),n("view",{directives:[{name:"show",rawName:"v-show",value:t._$s(156,"v-show",t.timeOut),expression:"_$s(156,'v-show',timeOut)"}],attrs:{_i:156}},[t._v(t._$s(156,"t0-0",t._s(t.times)))])],1)},r=[]},af34:function(t,e,i){var n=i("a708"),a=i("b893"),r=i("6382"),o=i("9008");t.exports=function(t){return n(t)||a(t)||r(t)||o()},t.exports.__esModule=!0,t.exports["default"]=t.exports},b4d2:function(t,e){function i(e){return t.exports=i=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},t.exports.__esModule=!0,t.exports["default"]=t.exports,i(e)}t.exports=i,t.exports.__esModule=!0,t.exports["default"]=t.exports},b854:function(t,e,i){"use strict";i.r(e);var n=i("c7a2"),a=i.n(n);for(var r in n)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(r);e["default"]=a.a},b893:function(t,e){t.exports=function(t){if("undefined"!==typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)},t.exports.__esModule=!0,t.exports["default"]=t.exports},b8d4:function(t,e,i){"use strict";i.r(e);var n=i("cad3"),a=i.n(n);for(var r in n)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(r);e["default"]=a.a},b9a5:function(t,e,i){"use strict";i.r(e);var n=i("4c4f"),a=i.n(n);for(var r in n)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(r);e["default"]=a.a},bc8e:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={name:"loading2",data:function(){return{}}}},bf04:function(t){t.exports=JSON.parse('{"localdata":[{"value":35,"text":"2016","group":"\u76ee\u6807\u503c"},{"value":18,"text":"2016","group":"\u5b8c\u6210\u91cf"},{"value":36,"text":"2017","group":"\u76ee\u6807\u503c"},{"value":27,"text":"2017","group":"\u5b8c\u6210\u91cf"},{"value":31,"text":"2018","group":"\u76ee\u6807\u503c"},{"value":21,"text":"2018","group":"\u5b8c\u6210\u91cf"},{"value":33,"text":"2019","group":"\u76ee\u6807\u503c"},{"value":24,"text":"2019","group":"\u5b8c\u6210\u91cf"},{"value":13,"text":"2020","group":"\u76ee\u6807\u503c"},{"value":6,"text":"2020","group":"\u5b8c\u6210\u91cf"},{"value":34,"text":"2021","group":"\u76ee\u6807\u503c"},{"value":28,"text":"2021","group":"\u5b8c\u6210\u91cf"}],"localdataB":[{"value":50,"text":"\u4e00\u73ed"},{"value":30,"text":"\u4e8c\u73ed"},{"value":20,"text":"\u4e09\u73ed"},{"value":18,"text":"\u56db\u73ed"},{"value":8,"text":"\u4e94\u73ed"}],"TLine":{"series":[{"name":"\u65f6\u95f4\u8f741","data":[[10000,55],[30000,25],[50000,55],[70000,25],[90000,55]]},{"name":"\u65f6\u95f4\u8f742","data":[[0,25],[20000,55],[40000,25],[60000,55],[80000,25]]},{"name":"\u65f6\u95f4\u8f743","data":[[0,55],[15000,25],[30000,55],[45000,25],[60000,55]]}]},"Scatter":{"series":[{"name":"\u6563\u70b9\u4e00","data":[[10,8.04],[8.07,6.95],[13,7.58],[9.05,8.81],[11,8.33],[14,7.66],[13.4,6.81],[10,6.33],[14,8.96],[12.5,6.82]]},{"name":"\u6563\u70b9\u4e8c","data":[[9.15,7.2],[11.5,7.2],[3.03,4.23],[12.2,7.83],[2.02,4.47],[1.05,3.33],[4.05,4.96],[6.03,7.24],[12,6.26],[12,8.84],[7.08,5.82],[5.02,5.68]]}]},"Bubble":{"series":[{"name":"\u6c14\u6ce1\u4e00","data":[[95,95,23,"\u6807\u98981"],[30,55,33,"\u6807\u98982"]]},{"name":"\u6c14\u6ce1\u4e8c","data":[[130,30,30,"\u6807\u98983"],[200,90,40,"\u6807\u98984"]]}]},"Column":{"categories":["2016","2017","2018","2019","2020","2021"],"series":[{"name":"\u76ee\u6807\u503c","data":[35,36,31,33,13,34]},{"name":"\u5b8c\u6210\u91cf","data":[18,27,21,24,6,28]}]},"ColumnA":{"categories":["2016","2017","2018","2019","2020","2021"],"series":[{"name":"\u6210\u4ea4\u91cf1","data":[15,{"value":20,"color":"#f04864"},45,37,43,34]},{"name":"\u6210\u4ea4\u91cf2","data":[30,{"value":40,"color":"#facc14"},25,14,34,18]}]},"Mix":{"categories":["2016","2017","2018","2019","2020","2021"],"series":[{"name":"\u66f2\u9762","data":[70,50,85,130,64,88],"type":"area","style":"curve"},{"name":"\u67f11","index":1,"data":[40,{"value":30,"color":"#f04864"},55,110,24,58],"type":"column"},{"name":"\u67f12","index":1,"data":[50,20,75,60,34,38],"type":"column"},{"name":"\u66f2\u7ebf","data":[70,50,85,130,64,88],"type":"line","style":"curve","color":"#1890ff","disableLegend":true},{"name":"\u6298\u7ebf","data":[120,140,105,170,95,160],"type":"line","color":"#2fc25b"},{"name":"\u70b9","index":2,"data":[100,80,125,150,112,132],"type":"point","color":"#f04864"}]},"Line":{"categories":["2016","2017","2018","2019","2020","2021"],"series":[{"name":"\u6210\u4ea4\u91cfA","data":[35,8,25,37,4,20]},{"name":"\u6210\u4ea4\u91cfB","data":[70,40,65,100,44,68]}]},"Pie":{"series":[{"name":"\u4e00\u73ed","data":50},{"name":"\u4e8c\u73ed","data":30},{"name":"\u4e09\u73ed","data":20},{"name":"\u56db\u73ed","data":18},{"name":"\u4e94\u73ed","data":8}]},"PieA":{"series":[{"data":[{"name":"\u5728\u5e93","value":314},{"name":"\u7a7a","value":1175},{"name":"\u7981\u7528","value":96}]}]},"Radar":{"categories":["\u7ef4\u5ea61","\u7ef4\u5ea62","\u7ef4\u5ea63","\u7ef4\u5ea64","\u7ef4\u5ea65","\u7ef4\u5ea66"],"series":[{"name":"\u6210\u4ea4\u91cf1","data":[90,110,165,195,187,172]},{"name":"\u6210\u4ea4\u91cf2","data":[190,210,105,35,27,102]}]},"Arcbar1":{"series":[{"name":"\u6b63\u786e\u7387","data":0.8,"color":"#2fc25b"}]},"Arcbar2":{"series":[{"name":"\u4e00\u73ed","data":0.8},{"name":"\u4e8c\u73ed","data":0.6},{"name":"\u4e09\u73ed","data":0.45},{"name":"\u56db\u73ed","data":0.3},{"name":"\u4e94\u73ed","data":0.15}]},"Gauge":{"categories":[{"value":0.2,"color":"#1890ff"},{"value":0.8,"color":"#2fc25b"},{"value":1,"color":"#f04864"}],"series":[{"name":"\u5b8c\u6210\u7387","data":0.66}]},"Candle":{"categories":["2020/1/24","2020/1/25","2020/1/28","2020/1/29","2020/1/30","2020/1/31","2020/2/1","2020/2/4","2020/2/5","2020/2/6","2020/2/7","2020/2/8","2020/2/18","2020/2/19","2020/2/20","2020/2/21","2020/2/22","2020/2/25","2020/2/26","2020/2/27","2020/2/28","2020/3/1","2020/3/4","2020/3/5","2020/3/6","2020/3/7","2020/3/8","2020/3/11","2020/3/12","2020/3/13","2020/3/14","2020/3/15","2020/3/18","2020/3/19","2020/3/20","2020/3/21","2020/3/22","2020/3/25","2020/3/26","2020/3/27","2020/3/28","2020/3/29","2020/4/1","2020/4/2","2020/4/3","2020/4/8","2020/4/9","2020/4/10","2020/4/11","2020/4/12","2020/4/15","2020/4/16","2020/4/17","2020/4/18","2020/4/19","2020/4/22","2020/4/23","2020/4/24","2020/4/25","2020/4/26","2020/5/2","2020/5/3","2020/5/6","2020/5/7","2020/5/8","2020/5/9","2020/5/10","2020/5/13","2020/5/14","2020/5/15","2020/5/16","2020/5/17","2020/5/20","2020/5/21","2020/5/22","2020/5/23","2020/5/24","2020/5/27","2020/5/28","2020/5/29","2020/5/30","2020/5/31","2020/6/3","2020/6/4","2020/6/5","2020/6/6","2020/6/7","2020/6/13"],"series":[{"name":"\u4e0a\u8bc1\u6307\u6570","data":[[2320.26,2302.6,2287.3,2362.94],[2300,2291.3,2288.26,2308.38],[2295.35,2346.5,2295.35,2346.92],[2347.22,2358.98,2337.35,2363.8],[2360.75,2382.48,2347.89,2383.76],[2383.43,2385.42,2371.23,2391.82],[2377.41,2419.02,2369.57,2421.15],[2425.92,2428.15,2417.58,2440.38],[2411,2433.13,2403.3,2437.42],[2432.68,2434.48,2427.7,2441.73],[2430.69,2418.53,2394.22,2433.89],[2416.62,2432.4,2414.4,2443.03],[2441.91,2421.56,2415.43,2444.8],[2420.26,2382.91,2373.53,2427.07],[2383.49,2397.18,2370.61,2397.94],[2378.82,2325.95,2309.17,2378.82],[2322.94,2314.16,2308.76,2330.88],[2320.62,2325.82,2315.01,2338.78],[2313.74,2293.34,2289.89,2340.71],[2297.77,2313.22,2292.03,2324.63],[2322.32,2365.59,2308.92,2366.16],[2364.54,2359.51,2330.86,2369.65],[2332.08,2273.4,2259.25,2333.54],[2274.81,2326.31,2270.1,2328.14],[2333.61,2347.18,2321.6,2351.44],[2340.44,2324.29,2304.27,2352.02],[2326.42,2318.61,2314.59,2333.67],[2314.68,2310.59,2296.58,2320.96],[2309.16,2286.6,2264.83,2333.29],[2282.17,2263.97,2253.25,2286.33],[2255.77,2270.28,2253.31,2276.22],[2269.31,2278.4,2250,2312.08],[2267.29,2240.02,2239.21,2276.05],[2244.26,2257.43,2232.02,2261.31],[2257.74,2317.37,2257.42,2317.86],[2318.21,2324.24,2311.6,2330.81],[2321.4,2328.28,2314.97,2332],[2334.74,2326.72,2319.91,2344.89],[2318.58,2297.67,2281.12,2319.99],[2299.38,2301.26,2289,2323.48],[2273.55,2236.3,2232.91,2273.55],[2238.49,2236.62,2228.81,2246.87],[2229.46,2234.4,2227.31,2243.95],[2234.9,2227.74,2220.44,2253.42],[2232.69,2225.29,2217.25,2241.34],[2196.24,2211.59,2180.67,2212.59],[2215.47,2225.77,2215.47,2234.73],[2224.93,2226.13,2212.56,2233.04],[2236.98,2219.55,2217.26,2242.48],[2218.09,2206.78,2204.44,2226.26],[2199.91,2181.94,2177.39,2204.99],[2169.63,2194.85,2165.78,2196.43],[2195.03,2193.8,2178.47,2197.51],[2181.82,2197.6,2175.44,2206.03],[2201.12,2244.64,2200.58,2250.11],[2236.4,2242.17,2232.26,2245.12],[2242.62,2184.54,2182.81,2242.62],[2187.35,2218.32,2184.11,2226.12],[2213.19,2199.31,2191.85,2224.63],[2203.89,2177.91,2173.86,2210.58],[2170.78,2174.12,2161.14,2179.65],[2179.05,2205.5,2179.05,2222.81],[2212.5,2231.17,2212.5,2236.07],[2227.86,2235.57,2219.44,2240.26],[2242.39,2246.3,2235.42,2255.21],[2246.96,2232.97,2221.38,2247.86],[2228.82,2246.83,2225.81,2247.67],[2247.68,2241.92,2231.36,2250.85],[2238.9,2217.01,2205.87,2239.93],[2217.09,2224.8,2213.58,2225.19],[2221.34,2251.81,2210.77,2252.87],[2249.81,2282.87,2248.41,2288.09],[2286.33,2299.99,2281.9,2309.39],[2297.11,2305.11,2290.12,2305.3],[2303.75,2302.4,2292.43,2314.18],[2293.81,2275.67,2274.1,2304.95],[2281.45,2288.53,2270.25,2292.59],[2286.66,2293.08,2283.94,2301.7],[2293.4,2321.32,2281.47,2322.1],[2323.54,2324.02,2321.17,2334.33],[2316.25,2317.75,2310.49,2325.72],[2320.74,2300.59,2299.37,2325.53],[2300.21,2299.25,2294.11,2313.43],[2297.1,2272.42,2264.76,2297.1],[2270.71,2270.93,2260.87,2276.86],[2264.43,2242.11,2240.07,2266.69],[2242.26,2210.9,2205.07,2250.63],[2190.1,2148.35,2126.22,2190.1]]}]},"CandleColumn":{"categories":["2020/1/24","2020/1/25","2020/1/28","2020/1/29","2020/1/30","2020/1/31","2020/2/1","2020/2/4","2020/2/5","2020/2/6","2020/2/7","2020/2/8","2020/2/18","2020/2/19","2020/2/20","2020/2/21","2020/2/22","2020/2/25","2020/2/26","2020/2/27","2020/2/28","2020/3/1","2020/3/4","2020/3/5","2020/3/6","2020/3/7","2020/3/8","2020/3/11","2020/3/12","2020/3/13","2020/3/14","2020/3/15","2020/3/18","2020/3/19","2020/3/20","2020/3/21","2020/3/22","2020/3/25","2020/3/26","2020/3/27","2020/3/28","2020/3/29","2020/4/1","2020/4/2","2020/4/3","2020/4/8","2020/4/9","2020/4/10","2020/4/11","2020/4/12","2020/4/15","2020/4/16","2020/4/17","2020/4/18","2020/4/19","2020/4/22","2020/4/23","2020/4/24","2020/4/25","2020/4/26","2020/5/2","2020/5/3","2020/5/6","2020/5/7","2020/5/8","2020/5/9","2020/5/10","2020/5/13","2020/5/14","2020/5/15","2020/5/16","2020/5/17","2020/5/20","2020/5/21","2020/5/22","2020/5/23","2020/5/24","2020/5/27","2020/5/28","2020/5/29","2020/5/30","2020/5/31","2020/6/3","2020/6/4","2020/6/5","2020/6/6","2020/6/7","2020/6/13"],"series":[{"name":"\u6210\u4ea4\u91cf1","data":[15,20,45,37,43,15,20,45,37,43,15,20,45,37,43,15,20,45,37,43,15,20,45,37,43,15,20,45,37,43,15,20,45,37,43,15,20,45,37,43,15,20,45,37,43,15,20,45,37,43,15,20,45,37,43,15,20,45,37,43,15,20,45,37,43,15,20,45,37,43,15,20,45,37,43,15,20,45,37,43,15,20,45,37,43,15,20,45]}]},"Word":{"series":[{"name":"\u8de8\u5168\u7aef\u56fe\u8868","textSize":25},{"name":"\u5fae\u4fe1\u5c0f\u7a0b\u5e8f","textSize":20},{"name":"\u652f\u4ed8\u5b9d\u5c0f\u7a0b\u5e8f","textSize":20},{"name":"\u767e\u5ea6\u5c0f\u7a0b\u5e8f","textSize":20},{"name":"QQ\u5c0f\u7a0b\u5e8f","textSize":20},{"name":"\u5934\u6761\u5c0f\u7a0b\u5e8f","textSize":20},{"name":"\u6296\u97f3\u5c0f\u7a0b\u5e8f","textSize":20},{"name":"360\u5c0f\u7a0b\u5e8f","textSize":20},{"name":"\u8de8\u5168\u7aef","textSize":10},{"name":"\u8de8\u5168\u7aef","textSize":12},{"name":"\u8de8\u5168\u7aef","textSize":10},{"name":"\u8de8\u5168\u7aef","textSize":12},{"name":"\u8de8\u5168\u7aef","textSize":10},{"name":"\u8de8\u5168\u7aef","textSize":12},{"name":"\u8de8\u5168\u7aef","textSize":10},{"name":"\u8de8\u5168\u7aef","textSize":12}]}}')},bfff:function(t,e,i){"use strict";i.r(e);var n=i("3c26"),a=i("b8d4");for(var r in a)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(r);var o=i("828b"),s=Object(o["a"])(a["default"],n["b"],n["c"],!1,null,"43f30b7e",null,!1,n["a"],void 0);e["default"]=s.exports},c547:function(t,e,i){"use strict";i.r(e);var n=i("7b82"),a=i.n(n);for(var r in n)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(r);e["default"]=a.a},c552:function(t,e,i){"use strict";var n=i("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.createAnimation=function(t,e){if(!e)return;return clearTimeout(e.timer),new l(t,e)};var a=n(i("7ca3")),r=n(i("67ad")),o=n(i("0bdb"));function s(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.push.apply(i,n)}return i}function c(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?s(Object(i),!0).forEach((function(e){(0,a.default)(t,e,i[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):s(Object(i)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))}))}return t}var l=function(){function t(e,i){(0,r.default)(this,t),this.options=e,this.animation=uni.createAnimation(e),this.currentStepAnimates={},this.next=0,this.$=i}return(0,o.default)(t,[{key:"_nvuePushAnimates",value:function(t,e){var i=this.currentStepAnimates[this.next],n={};if(n=i||{styles:{},config:{}},u.includes(t)){n.styles.transform||(n.styles.transform="");var a="";"rotate"===t&&(a="deg"),n.styles.transform+="".concat(t,"(").concat(e+a,") ")}else n.styles[t]="".concat(e);this.currentStepAnimates[this.next]=n}},{key:"_animateRun",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=this.$.$refs["ani"].ref;if(i)return new Promise((function(n,a){nvueAnimation.transition(i,c({styles:t},e),(function(t){n()}))}))}},{key:"_nvueNextAnimate",value:function(t){var e=this,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2?arguments[2]:void 0,a=t[i];if(a){var r=a.styles,o=a.config;this._animateRun(r,o).then((function(){i+=1,e._nvueNextAnimate(t,i,n)}))}else this.currentStepAnimates={},"function"===typeof n&&n(),this.isEnd=!0}},{key:"step",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.animation.step(t),this}},{key:"run",value:function(t){this.$.animationData=this.animation.export(),this.$.timer=setTimeout((function(){"function"===typeof t&&t()}),this.$.durationTime)}}]),t}(),u=["matrix","matrix3d","rotate","rotate3d","rotateX","rotateY","rotateZ","scale","scale3d","scaleX","scaleY","scaleZ","skew","skewX","skewY","translate","translate3d","translateX","translateY","translateZ"];u.concat(["opacity","backgroundColor"],["width","height","left","right","top","bottom"]).forEach((function(t){l.prototype[t]=function(){var e;return(e=this.animation)[t].apply(e,arguments),this}}))},c681:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={name:"loading3",data:function(){return{}}}},c7a2:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n={name:"qiun-error",props:{errorMessage:{type:String,default:null}},data:function(){return{}}};e.default=n},c959:function(t,e,i){"use strict";i.r(e);var n=i("862a"),a=i("078f");for(var r in a)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(r);var o=i("828b"),s=Object(o["a"])(a["default"],n["b"],n["c"],!1,null,"fcb66c2c",null,!1,n["a"],void 0);e["default"]=s.exports},cad3:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={name:"",data:function(){return{autoplay:!0,interval:1e3,duration:1e3,list:["\u8bf7\u70b9\u51fb\u53d1\u884c\u83dc\u5355\u8fdb\u884c\u53d1\u5e03","1","\u4f53\u79ef\u8f83\u5927\uff1b\u82e5\u8981\u6b63\u5f0f\u53d1\u5e03","2","\u8fd0\u884c\u6a21\u5f0f\u4e0b\u4e0d\u538b\u7f29\u4ee3\u7801\u4e14\u542b\u6709sourcemap","3","\u68c0\u67e5\u662f\u5426\u542f\u52a8\u591a\u4e2a\u5fae\u4fe1\u5f00\u53d1\u8005\u5de5\u5177\uff0c\u5982\u679c\u662f\u5219\u5173\u95ed\u6240\u6709\u6253\u5f00\u7684\u5fae\u4fe1\u5f00\u53d1\u8005\u5de5\u5177\uff0c","4","\u7136\u540e\u518d\u91cd\u65b0\u8fd0\u884c","5","\u5982\u679c\u51fa\u73b0\u5fae\u4fe1\u5f00\u53d1\u8005\u5de5\u5177\u542f\u52a8\u540e\u767d\u5c4f\u7684\u95ee\u9898","6","\u6216\u8005\u5173\u95ed\u5fae\u4fe1\u5f00\u53d1\u8005\u5de5\u5177\uff0c\u7136\u540e\u518d\u4eceHBuilderX\u4e2d\u542f\u52a8\u6307\u5b9a\u9875\u9762","7","\u53ef\u4ee5\u901a\u8fc7\u5fae\u4fe1\u5f00\u53d1\u8005\u5de5\u5177\u5207\u6362pages.json\u4e2dcondition\u914d\u7f6e\u7684\u9875\u9762","8","\u4e2d\u4fee\u6539\u6587\u4ef6\u5e76\u4fdd\u5b58\uff0c\u4f1a\u81ea\u52a8\u5237\u65b0\u5fae\u4fe1\u6a21\u62df\u5668","9","\u5fae\u4fe1\u5f00\u53d1\u8005\u5de5\u5177\u5df2\u542f\u52a8\uff0c\u5728HBuilderX","10"]}}}},ce0e:function(t,e,i){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i={onLaunch:function(){t("log","App Launch"," at App.vue:4")},onShow:function(){t("log","App Show"," at App.vue:7")},onHide:function(){t("log","App Hide"," at App.vue:10")}};e.default=i}).call(this,i("f3b9")["default"])},d2a0:function(t,e,i){"use strict";var n=i("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=n(i("297d")),r=i("d3b4"),o=n(i("e7b9")),s=(0,r.initVueI18n)(o.default),c=s.t,l={name:"uniPopupDialog",mixins:[a.default],emits:["confirm","close"],props:{value:{type:[String,Number],default:""},placeholder:{type:[String,Number],default:""},type:{type:String,default:"error"},mode:{type:String,default:"base"},title:{type:String,default:""},content:{type:String,default:""},beforeClose:{type:Boolean,default:!1},cancelText:{type:String,default:""},confirmText:{type:String,default:""}},data:function(){return{dialogType:"error",focus:!1,val:""}},computed:{okText:function(){return this.confirmText||c("uni-popup.ok")},closeText:function(){return this.cancelText||c("uni-popup.cancel")},placeholderText:function(){return this.placeholder||c("uni-popup.placeholder")},titleText:function(){return this.title||c("uni-popup.title")}},watch:{type:function(t){this.dialogType=t},mode:function(t){"input"===t&&(this.dialogType="info")},value:function(t){this.val=t}},created:function(){this.popup.disableMask(),"input"===this.mode?(this.dialogType="info",this.val=this.value):this.dialogType=this.type},mounted:function(){this.focus=!0},methods:{onOk:function(){"input"===this.mode?this.$emit("confirm",this.val):this.$emit("confirm"),this.beforeClose||this.popup.close()},closeDialog:function(){this.$emit("close"),this.beforeClose||this.popup.close()},close:function(){this.popup.close()}}};e.default=l},d3b4:function(t,e,i){"use strict";(function(t){var n=i("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.LOCALE_ZH_HANT=e.LOCALE_ZH_HANS=e.LOCALE_FR=e.LOCALE_ES=e.LOCALE_EN=e.I18n=e.Formatter=void 0,e.compileI18nJsonStr=function(t,e){var i=e.locale,n=e.locales,a=e.delimiters;if(!k(t,a))return t;w||(w=new u);var r=[];Object.keys(n).forEach((function(t){t!==i&&r.push({locale:t,values:n[t]})})),r.unshift({locale:i,values:n[i]});try{return JSON.stringify(T(JSON.parse(t),r,a),null,2)}catch(o){}return t},e.hasI18nJson=function t(e,i){w||(w=new u);return P(e,(function(e,n){var a=e[n];return S(a)?!!k(a,i)||void 0:t(a,i)}))},e.initVueI18n=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=arguments.length>2?arguments[2]:void 0,n=arguments.length>3?arguments[3]:void 0;if("string"!==typeof t){var a=[e,t];t=a[0],e=a[1]}"string"!==typeof t&&(t=b());"string"!==typeof i&&(i="undefined"!==typeof __uniConfig&&__uniConfig.fallbackLocale||"en");var r=new y({locale:t,fallbackLocale:i,messages:e,watcher:n}),o=function(t,e){if("function"!==typeof getApp)o=function(t,e){return r.t(t,e)};else{var i=!1;o=function(t,e){var n=getApp().$vm;return n&&(n.$locale,i||(i=!0,_(n,r))),r.t(t,e)}}return o(t,e)};return{i18n:r,f:function(t,e,i){return r.f(t,e,i)},t:function(t,e){return o(t,e)},add:function(t,e){var i=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return r.add(t,e,i)},watch:function(t){return r.watchLocale(t)},getLocale:function(){return r.getLocale()},setLocale:function(t){return r.setLocale(t)}}},e.isI18nStr=k,e.isString=void 0,e.normalizeLocale=x,e.parseI18nJson=function t(e,i,n){w||(w=new u);return P(e,(function(e,a){var r=e[a];S(r)?k(r,n)&&(e[a]=C(r,i,n)):t(r,i,n)})),e},e.resolveLocale=function(t){return function(e){return e?(e=x(e)||e,function(t){var e=[],i=t.split("-");while(i.length)e.push(i.join("-")),i.pop();return e}(e).find((function(e){return t.indexOf(e)>-1}))):e}};var a=n(i("34cf")),r=n(i("67ad")),o=n(i("0bdb")),s=n(i("3b2d")),c=function(t){return null!==t&&"object"===(0,s.default)(t)},l=["{","}"],u=function(){function t(){(0,r.default)(this,t),this._caches=Object.create(null)}return(0,o.default)(t,[{key:"interpolate",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:l;if(!e)return[t];var n=this._caches[t];return n||(n=f(t,i),this._caches[t]=n),p(n,e)}}]),t}();e.Formatter=u;var h=/^(?:\d)+/,d=/^(?:\w)+/;function f(t,e){var i=(0,a.default)(e,2),n=i[0],r=i[1],o=[],s=0,c="";while(s<t.length){var l=t[s++];if(l===n){c&&o.push({type:"text",value:c}),c="";var u="";l=t[s++];while(void 0!==l&&l!==r)u+=l,l=t[s++];var f=l===r,p=h.test(u)?"list":f&&d.test(u)?"named":"unknown";o.push({value:u,type:p})}else c+=l}return c&&o.push({type:"text",value:c}),o}function p(t,e){var i=[],n=0,a=Array.isArray(e)?"list":c(e)?"named":"unknown";if("unknown"===a)return i;while(n<t.length){var r=t[n];switch(r.type){case"text":i.push(r.value);break;case"list":i.push(e[parseInt(r.value,10)]);break;case"named":"named"===a&&i.push(e[r.value]);break;case"unknown":0;break}n++}return i}e.LOCALE_ZH_HANS="zh-Hans";e.LOCALE_ZH_HANT="zh-Hant";e.LOCALE_EN="en";e.LOCALE_FR="fr";e.LOCALE_ES="es";var g=Object.prototype.hasOwnProperty,v=function(t,e){return g.call(t,e)},m=new u;function x(t,e){if(t){if(t=t.trim().replace(/_/g,"-"),e&&e[t])return t;if(t=t.toLowerCase(),"chinese"===t)return"zh-Hans";if(0===t.indexOf("zh"))return t.indexOf("-hans")>-1?"zh-Hans":t.indexOf("-hant")>-1||function(t,e){return!!e.find((function(e){return-1!==t.indexOf(e)}))}(t,["-tw","-hk","-mo","-cht"])?"zh-Hant":"zh-Hans";var i=["en","fr","es"];e&&Object.keys(e).length>0&&(i=Object.keys(e));var n=function(t,e){return e.find((function(e){return 0===t.indexOf(e)}))}(t,i);return n||void 0}}var y=function(){function t(e){var i=e.locale,n=e.fallbackLocale,a=e.messages,o=e.watcher,s=e.formater;(0,r.default)(this,t),this.locale="en",this.fallbackLocale="en",this.message={},this.messages={},this.watchers=[],n&&(this.fallbackLocale=n),this.formater=s||m,this.messages=a||{},this.setLocale(i||"en"),o&&this.watchLocale(o)}return(0,o.default)(t,[{key:"setLocale",value:function(t){var e=this,i=this.locale;this.locale=x(t,this.messages)||this.fallbackLocale,this.messages[this.locale]||(this.messages[this.locale]={}),this.message=this.messages[this.locale],i!==this.locale&&this.watchers.forEach((function(t){t(e.locale,i)}))}},{key:"getLocale",value:function(){return this.locale}},{key:"watchLocale",value:function(t){var e=this,i=this.watchers.push(t)-1;return function(){e.watchers.splice(i,1)}}},{key:"add",value:function(t,e){var i=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],n=this.messages[t];n?i?Object.assign(n,e):Object.keys(e).forEach((function(t){v(n,t)||(n[t]=e[t])})):this.messages[t]=e}},{key:"f",value:function(t,e,i){return this.formater.interpolate(t,e,i).join("")}},{key:"t",value:function(t,e,i){var n=this.message;return"string"===typeof e?(e=x(e,this.messages),e&&(n=this.messages[e])):i=e,v(n,t)?this.formater.interpolate(n[t],i).join(""):(console.warn("Cannot translate the value of keypath ".concat(t,". Use the value of keypath as default.")),t)}}]),t}();function _(t,e){t.$watchLocale?t.$watchLocale((function(t){e.setLocale(t)})):t.$watch((function(){return t.$locale}),(function(t){e.setLocale(t)}))}function b(){return"undefined"!==typeof uni&&uni.getLocale?uni.getLocale():"undefined"!==typeof t&&t.getLocale?t.getLocale():"en"}e.I18n=y;var w,S=function(t){return"string"===typeof t};function k(t,e){return t.indexOf(e[0])>-1}function C(t,e,i){return w.interpolate(t,e,i).join("")}function T(t,e,i){return P(t,(function(t,n){(function(t,e,i,n){var a=t[e];if(S(a)){if(k(a,n)&&(t[e]=C(a,i[0].values,n),i.length>1)){var r=t[e+"Locales"]={};i.forEach((function(t){r[t.locale]=C(a,t.values,n)}))}}else T(a,i,n)})(t,n,e,i)})),t}function P(t,e){if(Array.isArray(t)){for(var i=0;i<t.length;i++)if(e(t,i))return!0}else if(c(t))for(var n in t)if(e(t,n))return!0;return!1}e.isString=S}).call(this,i("0ee4"))},d551:function(t,e,i){var n=i("3b2d")["default"],a=i("e6db");t.exports=function(t){var e=a(t,"string");return"symbol"==n(e)?e:e+""},t.exports.__esModule=!0,t.exports["default"]=t.exports},dd3e:function(t,e){t.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},t.exports.__esModule=!0,t.exports["default"]=t.exports},dd49:function(t,e,i){"use strict";var n=i("47a9"),a=n(i("7ca3"));i("96bc");var r=n(i("62d4")),o=n(i("951c"));function s(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.push.apply(i,n)}return i}o.default.config.productionTip=!1,o.default.prototype.baseHttp="http://",r.default.mpType="app";var c=new o.default(function(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?s(Object(i),!0).forEach((function(e){(0,a.default)(t,e,i[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):s(Object(i)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))}))}return t}({},r.default));c.$mount()},dffb:function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return a})),i.d(e,"a",(function(){}));var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("view",{staticClass:t._$s(0,"sc","chartsview"),attrs:{_i:0}},[i("view",{staticClass:t._$s(1,"sc","charts-error"),attrs:{_i:1}}),i("view",{staticClass:t._$s(2,"sc","charts-font"),attrs:{_i:2}},[t._v(t._$s(2,"t0-0",t._s(null==t.errorMessage?"\u8bf7\u70b9\u51fb\u91cd\u8bd5":t.errorMessage)))])])},a=[]},e235:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=["#1890FF","#91CB74","#FAC858","#EE6666","#73C0DE","#3CA272","#FC8452","#9A60B4","#ea7ccc"],a={type:["pie","ring","rose","funnel","line","column","area","radar","gauge","candle","demotype"],categories:["line","column","area","radar","gauge","candle","demotype"],instance:{},option:{},formatter:{tooltipDemo1:function(t){var e="";for(var i in t){0==i&&(e+=t[i].axisValueLabel+"\u5e74\u9500\u552e\u989d");var n="--";null!==t[i].data&&(n=t[i].data),e+="<br/>"+t[i].marker+t[i].seriesName+"\uff1a"+n+" \u4e07\u5143"}return e},legendFormat:function(t){return"\u81ea\u5b9a\u4e49\u56fe\u4f8b+"+t},yAxisFormatDemo:function(t,e){return t+"\u5143"},seriesFormatDemo:function(t){return t.name+"\u5e74"+t.value+"\u5143"}},demotype:{color:n},column:{color:n,title:{text:""},tooltip:{trigger:"axis"},grid:{top:30,bottom:50,right:15,left:40},legend:{bottom:"left"},toolbox:{show:!1},xAxis:{type:"category",axisLabel:{color:"#666666"},axisLine:{lineStyle:{color:"#CCCCCC"}},boundaryGap:!0,data:[]},yAxis:{type:"value",axisTick:{show:!1},axisLabel:{color:"#666666"},axisLine:{lineStyle:{color:"#CCCCCC"}}},seriesTemplate:{name:"",type:"bar",data:[],barwidth:20,label:{show:!0,color:"#666666",position:"top"}}},line:{color:n,title:{text:""},tooltip:{trigger:"axis"},grid:{top:30,bottom:50,right:15,left:40},legend:{top:"left",textStyle:{color:"#cccccc"}},toolbox:{show:!1},xAxis:{type:"category",axisLabel:{color:"#CCCCCC"},axisLine:{lineStyle:{color:"#CCCCCC"}},boundaryGap:!1,data:[]},yAxis:{type:"value",axisTick:{show:!1},axisLabel:{color:"#CCCCCC"},axisLine:{lineStyle:{color:"#CCCCCC"}}},seriesTemplate:{name:"",type:"line",data:[],barwidth:20,label:{show:!1,color:"#666666",position:"top"}}},area:{color:n,title:{text:""},tooltip:{trigger:"axis"},grid:{top:30,bottom:50,right:15,left:40},legend:{bottom:"left"},toolbox:{show:!1},xAxis:{type:"category",axisLabel:{color:"#666666"},axisLine:{lineStyle:{color:"#CCCCCC"}},boundaryGap:!0,data:[]},yAxis:{type:"value",axisTick:{show:!1},axisLabel:{color:"#666666"},axisLine:{lineStyle:{color:"#CCCCCC"}}},seriesTemplate:{name:"",type:"line",data:[],areaStyle:{},label:{show:!0,color:"#666666",position:"top"}}},pie:{color:n,title:{text:""},tooltip:{trigger:"item"},grid:{top:40,bottom:30,right:15,left:15},legend:{bottom:"left"},seriesTemplate:{name:"",type:"pie",data:[],radius:"50%",label:{show:!0,color:"#666666",position:"top"}}},ring:{color:n,title:{text:""},tooltip:{trigger:"item"},grid:{top:40,bottom:30,right:15,left:15},legend:{bottom:"left",textStyle:{color:"#cccccc"}},seriesTemplate:{name:"",type:"pie",data:[],radius:["30%","60%"],avoidLabelOverlap:!1,label:{show:!1,color:"#FFF",position:"top"},labelLine:{show:!1}}},rose:{color:n,title:{text:""},tooltip:{trigger:"item"},legend:{top:"bottom"},seriesTemplate:{name:"",type:"pie",data:[],radius:"55%",center:["50%","50%"],roseType:"area"}},funnel:{color:n,title:{text:""},tooltip:{trigger:"item",formatter:"{b} : {c}%"},legend:{top:"bottom"},seriesTemplate:{name:"",type:"funnel",left:"10%",top:60,bottom:60,width:"80%",min:0,max:100,minSize:"0%",maxSize:"100%",sort:"descending",gap:2,label:{show:!0,position:"inside"},labelLine:{length:10,lineStyle:{width:1,type:"solid"}},itemStyle:{bordercolor:"#fff",borderwidth:1},emphasis:{label:{fontSize:20}},data:[]}},gauge:{color:n,tooltip:{formatter:"{a} <br/>{b} : {c}%"},seriesTemplate:{name:"\u4e1a\u52a1\u6307\u6807",type:"gauge",detail:{formatter:"{value}%"},data:[{value:50,name:"\u5b8c\u6210\u7387"}]}},candle:{xAxis:{data:[]},yAxis:{},color:n,title:{text:""},dataZoom:[{type:"inside",xAxisIndex:[0,1],start:10,end:100},{show:!0,xAxisIndex:[0,1],type:"slider",bottom:10,start:10,end:100}],seriesTemplate:{name:"",type:"k",data:[]}}},r=a;e.default=r},e286:function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return a})),i.d(e,"a",(function(){}));var n=function(){var t=this.$createElement,e=this._self._c||t;return e("view",{staticClass:this._$s(0,"sc","box"),attrs:{_i:0}},[e("view",{staticClass:this._$s(1,"sc","box-border box-border1"),attrs:{_i:1}}),e("view",{staticClass:this._$s(2,"sc","box-border box-border2"),attrs:{_i:2}}),e("view",{staticClass:this._$s(3,"sc","box-border box-border3"),attrs:{_i:3}}),e("view",{staticClass:this._$s(4,"sc","box-border box-border4"),attrs:{_i:4}}),e("view",{staticClass:this._$s(5,"sc","box-main"),attrs:{_i:5}},[this._t("default",null,{_i:6})],2)])},a=[]},e4d6:function(t,e,i){"use strict";i.r(e);var n=i("925e"),a=i("63c1");for(var r in a)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(r);var o=i("828b"),s=Object(o["a"])(a["default"],n["b"],n["c"],!1,null,null,null,!1,n["a"],void 0);e["default"]=s.exports},e6db:function(t,e,i){var n=i("3b2d")["default"];t.exports=function(t,e){if("object"!=n(t)||!t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var a=i.call(t,e||"default");if("object"!=n(a))return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)},t.exports.__esModule=!0,t.exports["default"]=t.exports},e7b9:function(t,e,i){"use strict";var n=i("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=n(i("2f40")),r=n(i("2fe5")),o=n(i("2f51")),s={en:a.default,"zh-Hans":r.default,"zh-Hant":o.default};e.default=s},e9e1:function(t,e,i){"use strict";i.r(e);var n=i("6f0f"),a=i.n(n);for(var r in n)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(r);e["default"]=a.a},ea8b:function(t,e,i){"use strict";i.r(e);var n=i("ce0e"),a=i.n(n);for(var r in n)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(r);e["default"]=a.a},ebd2:function(t,e,i){"use strict";var n=i("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=n(i("7996")),r=n(i("468a")),o=n(i("c959")),s=n(i("3c8c")),c=n(i("8a5a")),l={components:{Loading1:a.default,Loading2:r.default,Loading3:o.default,Loading4:s.default,Loading5:c.default},name:"qiun-loading",props:{loadingType:{type:Number,default:2}},data:function(){return{}}};e.default=l},ed43:function(t,e,i){"use strict";i.r(e);var n=i("6cb1"),a=i("7543");for(var r in a)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(r);var o=i("828b"),s=Object(o["a"])(a["default"],n["b"],n["c"],!1,null,null,null,!1,n["a"],void 0);e["default"]=s.exports},ed45:function(t,e){t.exports=function(t){if(Array.isArray(t))return t},t.exports.__esModule=!0,t.exports["default"]=t.exports},ed83:function(t,e,i){"use strict";(function(t){var n=i("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.Behavior=function(t){return t},e.Component=function(e){var i=function(e){var i=e.data,n=e.options,a=e.methods,r=e.behaviors,o=e.lifetimes,s=e.observers,u=e.relations,h=e.properties,f=e.pageLifetimes,p=e.externalClasses,g={mixins:[],props:{},watch:{},mpOptions:{mpObservers:[]}};return l(g),c(i,g),function(t,e){if(!t)return;e.mpOptions.options=t}(n,g),k(a,g),O(r,g),function(t,e){if(!t)return;C(t,e)}(o,g),function(t,e){if(!t)return;var i=e.mpOptions.mpObservers;Object.keys(t).forEach((function(e){i.push({paths:I(e),observer:t[e]})}))}(s,g),function(e,i){if(!e)return;Object.keys(e).forEach((function(i){var n=e[i];n.name=i,n.target=n.target?String(n.target):function(t,e){0===e.indexOf("/")&&(t="");var i=t.split("/"),n=e.split("/");i.pop();while(n.length){var a=n.shift();""!==a&&"."!==a&&(".."!==a?i.push(a):i.pop())}return i.join("/")}(t.__wxRoute,i)})),i.mpOptions.relations=e}(u,g),S(h,g),function(t,e){if(!t)return;b.forEach((function(i){var n=t[i];d(n)&&(e[_[i]]=n)}))}(f,g),function(t,e){if(!t)return;Array.isArray(t)||(t=[t]);e.mpOptions.externalClasses=t,e.mpOptions.properties||(e.mpOptions.properties=Object.create(null));t.forEach((function(t){e.mpOptions.properties[m(t)]={type:String,value:""}}))}(p,g),C(e,g),P(e),g}(e);i.mixins.unshift(Y),i.mpOptions.path=t.__wxRoute,function(t){t.onServiceAttached||(t.onServiceAttached=[]);t.onServiceAttached.push((function(){N(this,"linked")}))}(i),t.__wxComponents[t.__wxRoute]=i},e.Page=function(e){var i=function(t){var e={mixins:[],mpOptions:{}};return l(e),c(t.data,e),function(t,e){var i=Object.create(null);Object.keys(t).forEach((function(e){var n=t[e];d(n)&&-1===w.indexOf(e)&&(i[e]=n)})),e.methods=i}(t,e),function(t,e){Object.keys(t).forEach((function(i){-1!==w.indexOf(i)&&(e[i]=t[i])}))}(t,e),e}(e);i.mixins.unshift(Y),i.mpOptions.path=t.__wxRoute,t.__wxComponents[t.__wxRoute]=i},e.nextTick=e.default=void 0;var a,r=n(i("7ca3")),o=n(i("34cf")),s=n(i("951c"));function c(t,e){t&&(e.mpOptions.data=t)}function l(e){e.components=t.__wxVueOptions.components}var u=Object.prototype.toString,h=Object.prototype.hasOwnProperty;function d(t){return"function"===typeof t}function f(t){return"[object Object]"===u.call(t)}function p(t,e){return h.call(t,e)}function g(){}var v=/-(\w)/g,m=function(t){var e=Object.create(null);return function(i){var n=e[i];return n||(e[i]=t(i))}}((function(t){return t.replace(v,(function(t,e){return e?e.toUpperCase():""}))})),x={created:"onServiceCreated",attached:"onServiceAttached",ready:"mounted",moved:"moved",detached:"destroyed"},y=Object.keys(x),_={show:"onPageShow",hide:"onPageHide",resize:"onPageResize"},b=Object.keys(_),w=["onLoad","onShow","onReady","onHide","onUnload","onPullDownRefresh","onReachBottom","onShareAppMessage","onPageScroll","onResize","onTabItemTap"];function S(t,e){t&&(e.mpOptions.properties=t)}function k(t,e){t&&(t.$emit&&(console.warn('Method "$emit" conflicts with an existing Vue instance method'),delete t.$emit),e.methods=t)}function C(t,e){y.forEach((function(i){p(t,i)&&(e[x[i]]||(e[x[i]]=[])).push(t[i])}))}var T={"wx://form-field":{},"wx://component-export":{}};function P(t,e){(function(t){var e=t.behaviors,i=t.definitionFilter,n=[];if(Array.isArray(e)&&e.forEach((function(e){e="string"===typeof e?T[e]:e,e.definitionFilter&&(n.push(e.definitionFilter),e.definitionFilter.call(null,t,[]))})),d(i));})(t)}var A={"wx://form-field":{beforeCreate:function(){var t=this.$options.mpOptions;t.properties||(t.properties=Object.create(null));var e=t.properties;p(e,"name")||(e.name={type:String}),p(e,"value")||(e.value={type:String})}}};function O(t,e){t&&t.forEach((function(t){"string"===typeof t?A[t]&&e.mixins.push(A[t]):e.mixins.push(function(t){var e=t.data,i=t.methods,n=t.behaviors,a=t.properties,r={watch:{},mpOptions:{mpObservers:[]}};return c(e,r),k(i,r),O(n,r),S(a,r),C(t,r),P(t),r}(t))}))}function I(t){return t.split(",").map((function(t){return function(t){return t.split(".")}(t)}))}function L(t,e,i,n){if(e){var a="_$".concat(t,"Handlers");(n[a]||(n[a]=[])).push((function(){e.call(n,i)}))}}function D(t,e,i){var n=t.name,a=i._$relationNodes||(i._$relationNodes=Object.create(null));(a[n]||(a[n]=[])).push(e),L("linked",t["linked"],e,i)}function M(t,e,i){L("unlinked",t["unlinked"],e,i)}function E(t,e,i){var n=t&&t.$options.mpOptions&&t.$options.mpOptions.relations;if(!n)return[];var a=Object.keys(n).find((function(t){var a=n[t];return a.target===e&&a.type===i}));return a?[n[a],t]:[]}function F(t,e,i){var n=i(t,t.$options.mpOptions.path),a=(0,o.default)(n,2),r=a[0],s=a[1];r&&(D(r,t,s),D(e,s,t),M(r,t,s),M(e,s,t))}function $(t){var e=t.$options.mpOptions||{},i=e.relations;i&&Object.keys(i).forEach((function(e){(function(t,e){var i=t.type;"parent"===i?F(e,t,(function(t,e){return E(t.$parent,e,"child")})):"ancestor"===i&&F(e,t,(function(t,e){var i=t.$parent;while(i){var n=E(i,e,"descendant");if(n.length)return n;i=i.$parent}return[]}))})(i[e],t)}))}function N(t,e){var i=t["_$".concat(e,"Handlers")];i&&i.forEach((function(t){return t()}))}var R={enumerable:!0,configurable:!0,get:g,set:g};function j(t,e,i){R.get=function(){return this[e][i]},R.set=function(t){this[e][i]=t},Object.defineProperty(t,i,R)}function U(t,e){var i=this;f(t)&&(Object.keys(t).forEach((function(e){(function(t,e,i){var n=t.replace(/\[(\d+?)\]/g,".$1").split(".");return n.reduce((function(t,i,a){if(a!==n.length-1)return"undefined"===typeof t[i]&&(t[i]={}),t[i];t[i]=e}),i),1===n.length})(e,t[e],i.data)&&!p(i,e)&&j(i,"__data__",e)})),this.$forceUpdate(),d(e)&&this.$nextTick(e))}var B=Object.prototype.toString,z=function(t){return function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=arguments.length>1?arguments[1]:void 0,n=B.call(i);if("[object Array]"===n)return e=i.slice(0),e;if("[object Object]"===n){for(var a in i)e[a]=t(e[a],i[a]);return e}if("[object Date]"===n)return new Date(i.getTime());if("[object RegExp]"===n){var r=String(i),o=r.lastIndexOf("/");return new RegExp(r.slice(1,o),r.slice(o+1))}return i}("[object Array]"===B.call(t)?[]:{},t)},W=(a={},(0,r.default)(a,String,""),(0,r.default)(a,Number,0),(0,r.default)(a,Boolean,!1),(0,r.default)(a,Object,null),(0,r.default)(a,Array,[]),(0,r.default)(a,null,null),a);function q(t){return W[t]}function H(t){return f(t)?t.type:t}function G(t,e,i,n){var a=i[t];if(void 0!==a){var r=e[t],o=H(r);a=J(a,o);var s=r&&r.observer;return s&&setTimeout((function(){V(s,n,a)}),4),a}return function(t){return f(t)?p(t,"value")?t.value:q(t.type):q(t)}(e[t])}function J(t,e){return e===Boolean?!!t:e===String?String(t):t}function V(t,e,i,n){try{"function"===typeof t?t.call(e,i,n):"string"===typeof t&&"function"===typeof e[t]&&e[t](i,n)}catch(a){console.error("execute observer ".concat(t," callback fail! err: ").concat(a))}}function K(t){var e=t.$options.mpOptions&&t.$options.mpOptions.properties,i=t.$options.propsData;i&&e&&Object.keys(e).forEach((function(n){p(i,n)&&(t[n]=J(i[n],H(e[n])))}))}function X(t){var e=JSON.parse(JSON.stringify(t.$options.mpOptions.data||{}));t["__data__"]=e;var i={get:function(){return t["__data__"]},set:function(e){t["__data__"]=e}};Object.defineProperties(t,{data:i,properties:i}),t.setData=U,function(t,e){var i=t.$options.mpOptions.properties;if(i){var n=z(t.$options.propsData)||{},a=function(a){var r=!!f(i[a])&&i[a].observer,o=G(a,i,n,t);Object.defineProperty(e,a,{enumerable:!0,configurable:!0,get:function(){return o},set:function(e){var i=o;e===o||e!==e&&o!==o||(o=Array.isArray(e)?e.slice(0):e,r&&V(r,t,e,i),t.$forceUpdate())}})};for(var r in i)a(r)}}(t,e),Object.keys(e).forEach((function(e){j(t,"__data__",e)}))}var Y={beforeCreate:function(){this._renderProxy=this,this._$self=this,this._$noop=g},created:function(){X(this),function(t){var e=t.$emit;t.triggerEvent=function(i,n,a){var r={dataset:t.$el.dataset},o={target:r,currentTarget:r,detail:n,preventDefault:g,stopPropagation:g};e.call(t,i,o)},t.$emit=function(){t.triggerEvent.apply(t,arguments)},t.getRelationNodes=function(e){return(t._$relationNodes&&t._$relationNodes[e]||[]).filter((function(t){return!t._isDestroyed}))},t._$updateProperties=K}(this),$(this)},mounted:function(){(function(t){var e=t.$options.watch;e&&Object.keys(e).forEach((function(i){var n=e[i];if(n.mounted){var a=t[i],r=n.handler;"string"===typeof r&&(r=t[r]),r&&r.call(t,a,a)}}))})(this)},destroyed:function(){N(this,"unlinked")}};t.__wxRoute="",t.__wxComponents=Object.create(null),t.__wxVueOptions=Object.create(null);var Q=s.default.nextTick;e.nextTick=Q;var Z=uni.__$wx__,tt=Z;e.default=tt}).call(this,i("0ee4"))},ee10:function(t,e){function i(t,e,i,n,a,r,o){try{var s=t[r](o),c=s.value}catch(l){return void i(l)}s.done?e(c):Promise.resolve(c).then(n,a)}t.exports=function(t){return function(){var e=this,n=arguments;return new Promise((function(a,r){var o=t.apply(e,n);function s(t){i(o,a,r,s,c,"next",t)}function c(t){i(o,a,r,s,c,"throw",t)}s(void 0)}))}},t.exports.__esModule=!0,t.exports["default"]=t.exports},ee34:function(t,e,i){"use strict";i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return r})),i.d(e,"a",(function(){return n}));var n={qiunLoading:i("5f21").default,qiunError:i("9eba").default},a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("view",{staticClass:t._$s(0,"sc","chartsview"),attrs:{id:t._$s(0,"a-id","ChartBoxId"+t.cid),_i:0}},[t._$s(1,"i",t.mixinDatacomLoading)?i("view",{attrs:{_i:1}},[i("qiun-loading",{attrs:{loadingType:t.loadingType,_i:2}})],1):t._e(),t._$s(3,"i",t.mixinDatacomErrorMessage&&t.errorShow)?i("view",{attrs:{_i:3},on:{click:t.reloading}},[i("qiun-error",{attrs:{errorMessage:t.errorMessage,_i:4}})],1):t._e(),t._$s(5,"i",t.echarts)?[i("view",{directives:[{name:"show",rawName:"v-show",value:t._$s(6,"v-show",t.showchart),expression:"_$s(6,'v-show',showchart)"}],wxsProps:{"change:resize":"echartsResize","change:prop":"echartsOpts"},style:t._$s(6,"s",{background:t.background}),attrs:{"data-directory":t._$s(6,"a-data-directory",t.directory),id:t._$s(6,"a-id","EC"+t.cid),prop:t._$s(6,"change:echartsOpts",t.echartsOpts),resize:t._$s(6,"change:echartsResize",t.echartsResize),_i:6}})]:[i("view",{wxsProps:{"change:prop":"uchartsOpts"},attrs:{id:t._$s(8,"a-id","UC"+t.cid),prop:t._$s(8,"change:uchartsOpts",t.uchartsOpts),_i:8},on:{}},[i("canvas",{directives:[{name:"show",rawName:"v-show",value:t._$s(9,"v-show",t.showchart),expression:"_$s(9,'v-show',showchart)"}],style:t._$s(9,"s",{width:t.cWidth+"px",height:t.cHeight+"px",background:t.background}),attrs:{id:t._$s(9,"a-id",t.cid),canvasId:t._$s(9,"a-canvasId",t.cid),"disable-scroll":t._$s(9,"a-disable-scroll",t.disableScroll),_i:9},on:{error:t._error}})])]],2)},r=[]},f3b9:function(t,e,i){"use strict";function n(t){var e=Object.prototype.toString.call(t);return e.substring(8,e.length-1)}function a(){return"string"===typeof __channelId__&&__channelId__}function r(t,e){switch(n(e)){case"Function":return"function() { [native code] }";default:return e}}function o(t){for(var e=arguments.length,i=new Array(e>1?e-1:0),n=1;n<e;n++)i[n-1]=arguments[n];console[t].apply(console,i)}function s(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];var o=e.shift();if(a())return e.push(e.pop().replace("at ","uni-app:///")),console[o].apply(console,e);var s=e.map((function(t){var e=Object.prototype.toString.call(t).toLowerCase();if("[object object]"===e||"[object array]"===e)try{t="---BEGIN:JSON---"+JSON.stringify(t,r)+"---END:JSON---"}catch(a){t=e}else if(null===t)t="---NULL---";else if(void 0===t)t="---UNDEFINED---";else{var i=n(t).toUpperCase();t="NUMBER"===i||"BOOLEAN"===i?"---BEGIN:"+i+"---"+t+"---END:"+i+"---":String(t)}return t})),c="";if(s.length>1){var l=s.pop();c=s.join("---COMMA---"),0===l.indexOf(" at ")?c+=l:c+="---COMMA---"+l}else c=s[0];console[o](c)}i.r(e),i.d(e,"log",(function(){return o})),i.d(e,"default",(function(){return s}))},f92d:function(t,e,i){"use strict";(function(t){var n=i("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=n(i("af34")),r=n(i("3b2d")),o=n(i("7ca3")),s=i("c552");function c(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.push.apply(i,n)}return i}function l(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?c(Object(i),!0).forEach((function(e){(0,o.default)(t,e,i[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):c(Object(i)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))}))}return t}var u={name:"uniTransition",emits:["click","change"],props:{show:{type:Boolean,default:!1},modeClass:{type:[Array,String],default:function(){return"fade"}},duration:{type:Number,default:300},styles:{type:Object,default:function(){return{}}},customClass:{type:String,default:""}},data:function(){return{isShow:!1,transform:"",opacity:1,animationData:{},durationTime:300,config:{}}},watch:{show:{handler:function(t){t?this.open():this.isShow&&this.close()},immediate:!0}},computed:{stylesObject:function(){var t=l(l({},this.styles),{},{"transition-duration":this.duration/1e3+"s"}),e="";for(var i in t){var n=this.toLine(i);e+=n+":"+t[i]+";"}return e},transformStyles:function(){return"transform:"+this.transform+";opacity:"+this.opacity+";"+this.stylesObject}},created:function(){this.config={duration:this.duration,timingFunction:"ease",transformOrigin:"50% 50%",delay:0},this.durationTime=this.duration},methods:{init:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};t.duration&&(this.durationTime=t.duration),this.animation=(0,s.createAnimation)(Object.assign(this.config,t),this)},onClick:function(){this.$emit("click",{detail:this.isShow})},step:function(e){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(this.animation){for(var n in e)try{var o;if("object"===(0,r.default)(e[n]))(o=this.animation)[n].apply(o,(0,a.default)(e[n]));else this.animation[n](e[n])}catch(s){t("error","\u65b9\u6cd5 ".concat(n," \u4e0d\u5b58\u5728")," at uni_modules/uni-transition/components/uni-transition/uni-transition.vue:139")}return this.animation.step(i),this}},run:function(t){this.animation&&this.animation.run(t)},open:function(){var t=this;clearTimeout(this.timer),this.transform="",this.isShow=!0;var e=this.styleInit(!1),i=e.opacity,n=e.transform;"undefined"!==typeof i&&(this.opacity=i),this.transform=n,this.$nextTick((function(){t.timer=setTimeout((function(){t.animation=(0,s.createAnimation)(t.config,t),t.tranfromInit(!1).step(),t.animation.run(),t.$emit("change",{detail:t.isShow})}),20)}))},close:function(t){var e=this;this.animation&&this.tranfromInit(!0).step().run((function(){e.isShow=!1,e.animationData=null,e.animation=null;var t=e.styleInit(!1),i=t.opacity,n=t.transform;e.opacity=i||1,e.transform=n,e.$emit("change",{detail:e.isShow})}))},styleInit:function(t){var e=this,i={transform:""},n=function(t,n){"fade"===n?i.opacity=e.animationType(t)[n]:i.transform+=e.animationType(t)[n]+" "};return"string"===typeof this.modeClass?n(t,this.modeClass):this.modeClass.forEach((function(e){n(t,e)})),i},tranfromInit:function(t){var e=this,i=function(t,i){var n=null;"fade"===i?n=t?0:1:(n=t?"-100%":"0","zoom-in"===i&&(n=t?.8:1),"zoom-out"===i&&(n=t?1.2:1),"slide-right"===i&&(n=t?"100%":"0"),"slide-bottom"===i&&(n=t?"100%":"0")),e.animation[e.animationMode()[i]](n)};return"string"===typeof this.modeClass?i(t,this.modeClass):this.modeClass.forEach((function(e){i(t,e)})),this.animation},animationType:function(t){return{fade:t?1:0,"slide-top":"translateY(".concat(t?"0":"-100%",")"),"slide-right":"translateX(".concat(t?"0":"100%",")"),"slide-bottom":"translateY(".concat(t?"0":"100%",")"),"slide-left":"translateX(".concat(t?"0":"-100%",")"),"zoom-in":"scaleX(".concat(t?1:.8,") scaleY(").concat(t?1:.8,")"),"zoom-out":"scaleX(".concat(t?1:1.2,") scaleY(").concat(t?1:1.2,")")}},animationMode:function(){return{fade:"opacity","slide-top":"translateY","slide-right":"translateX","slide-bottom":"translateY","slide-left":"translateX","zoom-in":"scale","zoom-out":"scale"}},toLine:function(t){return t.replace(/([A-Z])/g,"-$1").toLowerCase()}}};e.default=u}).call(this,i("f3b9")["default"])}},[["dd49","app-config"]]]);
\ No newline at end of file
+(this["webpackJsonp"]=this["webpackJsonp"]||[]).push([["app-service"],{"011a":function(t,e){function i(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(t.exports=i=function(){return!!e},t.exports.__esModule=!0,t.exports["default"]=t.exports)()}t.exports=i,t.exports.__esModule=!0,t.exports["default"]=t.exports},"0477":function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return a})),i.d(e,"a",(function(){}));var n=function(){var t=this.$createElement,e=this._self._c||t;return e("view",{staticClass:this._$s(0,"sc","container loading1"),attrs:{_i:0}},[e("view",{staticClass:this._$s(1,"sc","shape shape1"),attrs:{_i:1}}),e("view",{staticClass:this._$s(2,"sc","shape shape2"),attrs:{_i:2}}),e("view",{staticClass:this._$s(3,"sc","shape shape3"),attrs:{_i:3}}),e("view",{staticClass:this._$s(4,"sc","shape shape4"),attrs:{_i:4}})])},a=[]},"0671":function(t,e,i){"use strict";i.r(e);var n=i("5e84"),a=i.n(n);for(var r in n)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(r);e["default"]=a.a},"078f":function(t,e,i){"use strict";i.r(e);var n=i("c681"),a=i.n(n);for(var r in n)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(r);e["default"]=a.a},"0bdb":function(t,e,i){var n=i("d551");function a(t,e){for(var i=0;i<e.length;i++){var a=e[i];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,n(a.key),a)}}t.exports=function(t,e,i){return e&&a(t.prototype,e),i&&a(t,i),Object.defineProperty(t,"prototype",{writable:!1}),t},t.exports.__esModule=!0,t.exports["default"]=t.exports},"0c2e":function(t,e,i){t.exports=i.p+"static/e1.png"},"0ee4":function(t,e){var i;i=function(){return this}();try{i=i||new Function("return this")()}catch(n){"object"===typeof window&&(i=window)}t.exports=i},"127e":function(t,e,i){var n=i("3b2d"),a=i("9fc1")();t.exports=a;try{regeneratorRuntime=a}catch(r){"object"===("undefined"===typeof globalThis?"undefined":n(globalThis))?globalThis.regeneratorRuntime=a:Function("r","regeneratorRuntime = r")(a)}},1511:function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return a})),i.d(e,"a",(function(){}));var n=function(){var t=this.$createElement,e=this._self._c||t;return e("view",{staticClass:this._$s(0,"sc","container loading2"),attrs:{_i:0}},[e("view",{staticClass:this._$s(1,"sc","shape shape1"),attrs:{_i:1}}),e("view",{staticClass:this._$s(2,"sc","shape shape2"),attrs:{_i:2}}),e("view",{staticClass:this._$s(3,"sc","shape shape3"),attrs:{_i:3}}),e("view",{staticClass:this._$s(4,"sc","shape shape4"),attrs:{_i:4}})])},a=[]},1611:function(t,e,i){"use strict";(function(t,n){var a=i("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=a(i("3b2d")),o=(a(i("17c3")),a(i("1a14"))),s=a(i("e235"));function c(){for(var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length,i=new Array(e>1?e-1:0),n=1;n<e;n++)i[n-1]=arguments[n];for(var a in i)for(var o in i[a])i[a].hasOwnProperty(o)&&(t[o]=i[a][o]&&"object"===(0,r.default)(i[a][o])?c(Array.isArray(i[a][o])?[]:{},t[o],i[a][o]):i[a][o]);return t}function l(t){var e=t.getFullYear(),i=t.getMonth()+1,n=t.getDate();i>=1&&i<=9&&(i="0"+i),n>=0&&n<=9&&(n="0"+n);var a=e+"-"+i+"-"+n;return a}var u={name:"qiun-data-charts",mixins:[t.mixinDatacom],props:{type:{type:String,default:null},canvasId:{type:String,default:"uchartsid"},canvas2d:{type:Boolean,default:!1},background:{type:String,default:"rgba(0,0,0,0)"},animation:{type:Boolean,default:!0},chartData:{type:Object,default:function(){return{categories:[],series:[]}}},opts:{type:Object,default:function(){return{}}},eopts:{type:Object,default:function(){return{}}},loadingType:{type:Number,default:2},errorShow:{type:Boolean,default:!0},errorReload:{type:Boolean,default:!0},errorMessage:{type:String,default:null},inScrollView:{type:Boolean,default:!1},reshow:{type:Boolean,default:!1},reload:{type:Boolean,default:!1},disableScroll:{type:Boolean,default:!1},optsWatch:{type:Boolean,default:!0},onzoom:{type:Boolean,default:!1},ontap:{type:Boolean,default:!0},ontouch:{type:Boolean,default:!1},onmouse:{type:Boolean,default:!0},onmovetip:{type:Boolean,default:!1},echartsH5:{type:Boolean,default:!1},echartsApp:{type:Boolean,default:!1},tooltipShow:{type:Boolean,default:!0},tooltipFormat:{type:String,default:void 0},tooltipCustom:{type:Object,default:void 0},startDate:{type:String,default:void 0},endDate:{type:String,default:void 0},textEnum:{type:Array,default:function(){return[]}},groupEnum:{type:Array,default:function(){return[]}},pageScrollTop:{type:Number,default:0},directory:{type:String,default:"/"},tapLegend:{type:Boolean,default:!0},menus:{type:Array,default:function(){return[]}}},data:function(){return{cid:"uchartsid",inWx:!1,inAli:!1,inTt:!1,inBd:!1,inH5:!1,inApp:!1,inWin:!1,type2d:!0,disScroll:!1,openmouse:!1,pixel:1,cWidth:375,cHeight:250,showchart:!1,echarts:!1,echartsResize:{state:!1},uchartsOpts:{},echartsOpts:{},drawData:{},lastDrawTime:null}},created:function(){if(this.cid=this.canvasId,"uchartsid"==this.canvasId||""==this.canvasId){for(var t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",e=t.length,i="",n=0;n<32;n++)i+=t.charAt(Math.floor(Math.random()*e));this.cid=i}var a=uni.getSystemInfoSync();"windows"!==a.platform&&"mac"!==a.platform||(this.inWin=!0),this.type2d=!1,this.disScroll=this.disableScroll},mounted:function(){var t=this;this.inApp=!0,!0===this.echartsApp&&(this.echarts=!0,this.openmouse=!1),this.$nextTick((function(){t.beforeInit()}))},destroyed:function(){!0===this.echarts?(delete s.default.option[this.cid],delete s.default.instance[this.cid]):(delete o.default.option[this.cid],delete o.default.instance[this.cid]),uni.offWindowResize((function(){}))},watch:{chartDataProps:{handler:function(t,e){"object"===(0,r.default)(t)?JSON.stringify(t)!==JSON.stringify(e)&&(this._clearChart(),t.series&&t.series.length>0?this.beforeInit():(this.mixinDatacomLoading=!0,this.showchart=!1,this.mixinDatacomErrorMessage=null)):(this.mixinDatacomLoading=!1,this._clearChart(),this.showchart=!1,this.mixinDatacomErrorMessage="\u53c2\u6570\u9519\u8bef\uff1achartData\u6570\u636e\u7c7b\u578b\u9519\u8bef")},immediate:!1,deep:!0},localdata:{handler:function(t,e){JSON.stringify(t)!==JSON.stringify(e)&&(t.length>0?this.beforeInit():(this.mixinDatacomLoading=!0,this._clearChart(),this.showchart=!1,this.mixinDatacomErrorMessage=null))},immediate:!1,deep:!0},optsProps:{handler:function(t,e){"object"===(0,r.default)(t)?JSON.stringify(t)!==JSON.stringify(e)&&!1===this.echarts&&1==this.optsWatch&&this.checkData(this.drawData):(this.mixinDatacomLoading=!1,this._clearChart(),this.showchart=!1,this.mixinDatacomErrorMessage="\u53c2\u6570\u9519\u8bef\uff1aopts\u6570\u636e\u7c7b\u578b\u9519\u8bef")},immediate:!1,deep:!0},eoptsProps:{handler:function(t,e){"object"===(0,r.default)(t)?JSON.stringify(t)!==JSON.stringify(e)&&!0===this.echarts&&this.checkData(this.drawData):(this.mixinDatacomLoading=!1,this.showchart=!1,this.mixinDatacomErrorMessage="\u53c2\u6570\u9519\u8bef\uff1aeopts\u6570\u636e\u7c7b\u578b\u9519\u8bef")},immediate:!1,deep:!0},reshow:function(t,e){var i=this;!0===t&&!1===this.mixinDatacomLoading&&setTimeout((function(){i.mixinDatacomErrorMessage=null,i.echartsResize.state=!i.echartsResize.state,i.checkData(i.drawData)}),200)},reload:function(t,e){!0===t&&(this.showchart=!1,this.mixinDatacomErrorMessage=null,this.reloading())},mixinDatacomErrorMessage:function(t,e){t&&(this.emitMsg({name:"error",params:{type:"error",errorShow:this.errorShow,msg:t,id:this.cid}}),this.errorShow&&n("log","[\u79cb\u4e91\u56fe\u8868\u7ec4\u4ef6]"+t," at uni_modules/qiun-data-charts/components/qiun-data-charts/qiun-data-charts.vue:611"))},errorMessage:function(t,e){t&&this.errorShow&&null!==t&&"null"!==t&&""!==t?(this.showchart=!1,this.mixinDatacomLoading=!1,this.mixinDatacomErrorMessage=t):(this.showchart=!1,this.mixinDatacomErrorMessage=null,this.reloading())}},computed:{optsProps:function(){return JSON.parse(JSON.stringify(this.opts))},eoptsProps:function(){return JSON.parse(JSON.stringify(this.eopts))},chartDataProps:function(){return JSON.parse(JSON.stringify(this.chartData))}},methods:{beforeInit:function(){this.mixinDatacomErrorMessage=null,"object"===(0,r.default)(this.chartData)&&null!=this.chartData&&void 0!==this.chartData.series&&this.chartData.series.length>0?(this.drawData=c({},this.chartData),this.mixinDatacomLoading=!1,this.showchart=!0,this.checkData(this.chartData)):this.localdata.length>0?(this.mixinDatacomLoading=!1,this.showchart=!0,this.localdataInit(this.localdata)):""!==this.collection?(this.mixinDatacomLoading=!1,this.getCloudData()):this.mixinDatacomLoading=!0},localdataInit:function(t){if(this.groupEnum.length>0)for(var e=0;e<t.length;e++)for(var i=0;i<this.groupEnum.length;i++)t[e].group===this.groupEnum[i].value&&(t[e].group=this.groupEnum[i].text);if(this.textEnum.length>0)for(var n=0;n<t.length;n++)for(var a=0;a<this.textEnum.length;a++)t[n].text===this.textEnum[a].value&&(t[n].text=this.textEnum[a].text);var r=!1,u={categories:[],series:[]},h=[],d=[];if(r=!0===this.echarts?s.default.categories.includes(this.type):o.default.categories.includes(this.type),!0===r){if(this.chartData&&this.chartData.categories&&this.chartData.categories.length>0)h=this.chartData.categories;else if(this.startDate&&this.endDate){var f=new Date(this.startDate),p=new Date(this.endDate);while(f<=p)h.push(l(f)),f=f.setDate(f.getDate()+1),f=new Date(f)}else{var g={};t.map((function(t,e){void 0==t.text||g[t.text]||(h.push(t.text),g[t.text]=!0)}))}u.categories=h}var v={};if(t.map((function(t,e){void 0==t.group||v[t.group]||(d.push({name:t.group,data:[]}),v[t.group]=!0)})),0==d.length)if(d=[{name:"\u9ed8\u8ba4\u5206\u7ec4",data:[]}],!0===r)for(var m=0;m<h.length;m++){for(var x=0,y=0;y<t.length;y++)t[y].text==h[m]&&(x=t[y].value);d[0].data.push(x)}else for(var _=0;_<t.length;_++)d[0].data.push({name:t[_].text,value:t[_].value});else for(var b=0;b<d.length;b++)if(h.length>0)for(var w=0;w<h.length;w++){for(var S=0,k=0;k<t.length;k++)d[b].name==t[k].group&&t[k].text==h[w]&&(S=t[k].value);d[b].data.push(S)}else for(var C=0;C<t.length;C++)d[b].name==t[C].group&&d[b].data.push(t[C].value);u.series=d,this.drawData=c({},u),this.checkData(u)},reloading:function(){!1!==this.errorReload&&(this.showchart=!1,this.mixinDatacomErrorMessage=null,""!==this.collection?(this.mixinDatacomLoading=!1,this.onMixinDatacomPropsChange(!0)):this.beforeInit())},checkData:function(t){var e=this,i=this.cid;!0===this.echarts?(s.default.option[i]=c({},this.eopts),s.default.option[i].id=i,s.default.option[i].type=this.type):this.type&&o.default.type.includes(this.type)?(o.default.option[i]=c({},o.default[this.type],this.opts),o.default.option[i].canvasId=i):(this.mixinDatacomLoading=!1,this.showchart=!1,this.mixinDatacomErrorMessage="\u53c2\u6570\u9519\u8bef\uff1aprops\u53c2\u6570\u4e2dtype\u7c7b\u578b\u4e0d\u6b63\u786e");var n=c({},t);void 0!==n.series&&n.series.length>0&&(this.mixinDatacomErrorMessage=null,!0===this.echarts?(s.default.option[i].chartData=n,this.$nextTick((function(){e.init()}))):(o.default.option[i].categories=n.categories,o.default.option[i].series=n.series,this.$nextTick((function(){e.init()}))))},resizeHandler:function(){var t=this,e=Date.now(),i=this.lastDrawTime?this.lastDrawTime:e-3e3,n=e-i;if(!(n<1e3))uni.createSelectorQuery().in(this).select("#ChartBoxId"+this.cid).boundingClientRect((function(e){t.showchart=!0,e.width>0&&e.height>0&&(e.width===t.cWidth&&e.height===t.cHeight||t.checkData(t.drawData))})).exec()},getCloudData:function(){var t=this;1!=this.mixinDatacomLoading&&(this.mixinDatacomLoading=!0,this.mixinDatacomGet().then((function(e){t.mixinDatacomResData=e.result.data,t.localdataInit(t.mixinDatacomResData)})).catch((function(e){t.mixinDatacomLoading=!1,t.showchart=!1,t.mixinDatacomErrorMessage="\u8bf7\u6c42\u9519\u8bef\uff1a"+e})))},onMixinDatacomPropsChange:function(t,e){1==t&&""!==this.collection&&(this.showchart=!1,this.mixinDatacomErrorMessage=null,this._clearChart(),this.getCloudData())},_clearChart:function(){var t=this.cid;if(!0!==this.echarts&&o.default.option[t]&&o.default.option[t].context){var e=o.default.option[t].context;"object"!==(0,r.default)(e)||o.default.option[t].update||(e.clearRect(0,0,this.cWidth*this.pixel,this.cHeight*this.pixel),e.draw())}},init:function(){var t=this,e=this.cid;uni.createSelectorQuery().in(this).select("#ChartBoxId"+e).boundingClientRect((function(i){i.width>0&&i.height>0?(t.mixinDatacomLoading=!1,t.showchart=!0,t.lastDrawTime=Date.now(),t.cWidth=i.width,t.cHeight=i.height,!0!==t.echarts&&(o.default.option[e].background="rgba(0,0,0,0)"==t.background?"#FFFFFF":t.background,o.default.option[e].canvas2d=t.type2d,o.default.option[e].pixelRatio=t.pixel,o.default.option[e].animation=t.animation,o.default.option[e].width=i.width*t.pixel,o.default.option[e].height=i.height*t.pixel,o.default.option[e].onzoom=t.onzoom,o.default.option[e].ontap=t.ontap,o.default.option[e].ontouch=t.ontouch,o.default.option[e].onmouse=t.openmouse,o.default.option[e].onmovetip=t.onmovetip,o.default.option[e].tooltipShow=t.tooltipShow,o.default.option[e].tooltipFormat=t.tooltipFormat,o.default.option[e].tooltipCustom=t.tooltipCustom,o.default.option[e].inScrollView=t.inScrollView,o.default.option[e].lastDrawTime=t.lastDrawTime,o.default.option[e].tapLegend=t.tapLegend),t.inH5||t.inApp?1==t.echarts?(s.default.option[e].ontap=t.ontap,s.default.option[e].onmouse=t.openmouse,s.default.option[e].tooltipShow=t.tooltipShow,s.default.option[e].tooltipFormat=t.tooltipFormat,s.default.option[e].tooltipCustom=t.tooltipCustom,s.default.option[e].lastDrawTime=t.lastDrawTime,t.echartsOpts=c({},s.default.option[e])):(o.default.option[e].rotateLock=o.default.option[e].rotate,t.uchartsOpts=c({},o.default.option[e])):(o.default.option[e]=function t(e,i){for(var n in e)e.hasOwnProperty(n)&&null!==e[n]&&"object"===(0,r.default)(e[n])?t(e[n],i):"format"===n&&"string"===typeof e[n]&&(e["formatter"]=i[e[n]]?i[e[n]]:void 0);return e}(o.default.option[e],o.default.formatter),t.mixinDatacomErrorMessage=null,t.mixinDatacomLoading=!1,t.showchart=!0,t.$nextTick((function(){if(!0===t.type2d){var n=uni.createSelectorQuery().in(t);n.select("#"+e).fields({node:!0,size:!0}).exec((function(n){if(n[0]){var a=n[0].node,r=a.getContext("2d");o.default.option[e].context=r,o.default.option[e].rotateLock=o.default.option[e].rotate,o.default.instance[e]&&o.default.option[e]&&!0===o.default.option[e].update?t._updataUChart(e):(a.width=i.width*t.pixel,a.height=i.height*t.pixel,a._width=i.width*t.pixel,a._height=i.height*t.pixel,setTimeout((function(){o.default.option[e].context.restore(),o.default.option[e].context.save(),t._newChart(e)}),100))}else t.showchart=!1,t.mixinDatacomErrorMessage="\u53c2\u6570\u9519\u8bef\uff1a\u5f00\u542f2d\u6a21\u5f0f\u540e\uff0c\u672a\u83b7\u53d6\u5230dom\u8282\u70b9\uff0ccanvas-id:"+e}))}else t.inAli&&(o.default.option[e].rotateLock=o.default.option[e].rotate),o.default.option[e].context=uni.createCanvasContext(e,t),o.default.instance[e]&&o.default.option[e]&&!0===o.default.option[e].update?t._updataUChart(e):setTimeout((function(){o.default.option[e].context.restore(),o.default.option[e].context.save(),t._newChart(e)}),100)})))):(t.mixinDatacomLoading=!1,t.showchart=!1,1==t.reshow&&(t.mixinDatacomErrorMessage="\u5e03\u5c40\u9519\u8bef\uff1a\u672a\u83b7\u53d6\u5230\u7236\u5143\u7d20\u5bbd\u9ad8\u5c3a\u5bf8\uff01canvas-id:"+e))})).exec()},saveImage:function(){uni.canvasToTempFilePath({canvasId:this.cid,success:function(t){uni.saveImageToPhotosAlbum({filePath:t.tempFilePath,success:function(){uni.showToast({title:"\u4fdd\u5b58\u6210\u529f",duration:2e3})}})}},this)},getImage:function(){var t=this;if(0==this.type2d)uni.canvasToTempFilePath({canvasId:this.cid,success:function(e){t.emitMsg({name:"getImage",params:{type:"getImage",base64:e.tempFilePath}})}},this);else{var e=uni.createSelectorQuery().in(this);e.select("#"+this.cid).fields({node:!0,size:!0}).exec((function(e){if(e[0]){var i=e[0].node;t.emitMsg({name:"getImage",params:{type:"getImage",base64:i.toDataURL("image/png")}})}}))}},_error:function(t){this.mixinDatacomErrorMessage=t.detail.errMsg},emitMsg:function(t){this.$emit(t.name,t.params)},getRenderType:function(){!0===this.echarts&&!1===this.mixinDatacomLoading&&this.beforeInit()},toJSON:function(){return this}}};e.default=u}).call(this,i("861b")["uniCloud"],i("f3b9")["default"])},"17c3":function(t,e,i){"use strict";(function(t){var n=i("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=n(i("34cf")),r=n(i("3b2d")),o={version:"v2.4.4-20221102",yAxisWidth:15,xAxisHeight:22,xAxisTextPadding:3,padding:[10,10,10,10],pixelRatio:1,rotate:!1,fontSize:13,fontColor:"#666666",dataPointShape:["circle","circle","circle","circle"],color:["#1890FF","#91CB74","#FAC858","#EE6666","#73C0DE","#3CA272","#FC8452","#9A60B4","#ea7ccc"],linearColor:["#0EE2F8","#2BDCA8","#FA7D8D","#EB88E2","#2AE3A0","#0EE2F8","#EB88E2","#6773E3","#F78A85"],pieChartLinePadding:15,pieChartTextPadding:5,titleFontSize:20,subtitleFontSize:15,toolTipPadding:3,toolTipBackground:"#000000",toolTipOpacity:.7,toolTipLineHeight:20,radarLabelTextMargin:13},s=function(t){for(var e=arguments.length,i=new Array(e>1?e-1:0),n=1;n<e;n++)i[n-1]=arguments[n];if(null==t)throw new TypeError("[uCharts] Cannot convert undefined or null to object");if(!i||i.length<=0)return t;function a(t,e){for(var i in e)t[i]=t[i]&&"[object Object]"===t[i].toString()?a(t[i],e[i]):t[i]=e[i];return t}return i.forEach((function(e){t=a(t,e)})),t},c={toFixed:function(t,e){return e=e||2,this.isFloat(t)&&(t=t.toFixed(e)),t},isFloat:function(t){return t%1!==0},approximatelyEqual:function(t,e){return Math.abs(t-e)<1e-10},isSameSign:function(t,e){return Math.abs(t)===t&&Math.abs(e)===e||Math.abs(t)!==t&&Math.abs(e)!==e},isSameXCoordinateArea:function(t,e){return this.isSameSign(t.x,e.x)},isCollision:function(t,e){t.end={},t.end.x=t.start.x+t.width,t.end.y=t.start.y-t.height,e.end={},e.end.x=e.start.x+e.width,e.end.y=e.start.y-e.height;var i=e.start.x>t.end.x||e.end.x<t.start.x||e.end.y>t.start.y||e.start.y<t.end.y;return!i}};function l(t,e){var i=t.replace(/^#?([a-f\d])([a-f\d])([a-f\d])$/i,(function(t,e,i,n){return e+e+i+i+n+n})),n=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(i),a=parseInt(n[1],16),r=parseInt(n[2],16),o=parseInt(n[3],16);return"rgba("+a+","+r+","+o+","+e+")"}function u(t,e,i){if(isNaN(t))throw new Error("[uCharts] series\u6570\u636e\u9700\u4e3aNumber\u683c\u5f0f");i=i||10,e=e||"upper";var n=1;while(i<1)i*=10,n*=10;t="upper"===e?Math.ceil(t*n):Math.floor(t*n);while(t%i!==0)if("upper"===e){if(t==t+1)break;t++}else t--;return t/n}function h(t,e,i,n,a){var r=a.width-a.area[1]-a.area[3],o=i.eachSpacing*(a.chartData.xAxisData.xAxisPoints.length-1);"mount"==a.type&&a.extra&&a.extra.mount&&a.extra.mount.widthRatio&&a.extra.mount.widthRatio>1&&(a.extra.mount.widthRatio>2&&(a.extra.mount.widthRatio=2),o+=(a.extra.mount.widthRatio-1)*i.eachSpacing);var s=e;return e>=0?(s=0,t.uevent.trigger("scrollLeft"),t.scrollOption.position="left",a.xAxis.scrollPosition="left"):Math.abs(e)>=o-r?(s=r-o,t.uevent.trigger("scrollRight"),t.scrollOption.position="right",a.xAxis.scrollPosition="right"):(t.scrollOption.position=e,a.xAxis.scrollPosition=e),s}function d(t,e,i){function n(t){while(t<0)t+=2*Math.PI;while(t>2*Math.PI)t-=2*Math.PI;return t}return t=n(t),e=n(e),i=n(i),e>i&&(i+=2*Math.PI,t<e&&(t+=2*Math.PI)),t>=e&&t<=i}function f(t,e){function i(t,e){return!(!t[e-1]||!t[e+1])&&(t[e].y>=Math.max(t[e-1].y,t[e+1].y)||t[e].y<=Math.min(t[e-1].y,t[e+1].y))}function n(t,e){return!(!t[e-1]||!t[e+1])&&(t[e].x>=Math.max(t[e-1].x,t[e+1].x)||t[e].x<=Math.min(t[e-1].x,t[e+1].x))}var a=.2,r=.2,o=null,s=null,c=null,l=null;if(e<1?(o=t[0].x+(t[1].x-t[0].x)*a,s=t[0].y+(t[1].y-t[0].y)*a):(o=t[e].x+(t[e+1].x-t[e-1].x)*a,s=t[e].y+(t[e+1].y-t[e-1].y)*a),e>t.length-3){var u=t.length-1;c=t[u].x-(t[u].x-t[u-1].x)*r,l=t[u].y-(t[u].y-t[u-1].y)*r}else c=t[e+1].x-(t[e+2].x-t[e].x)*r,l=t[e+1].y-(t[e+2].y-t[e].y)*r;return i(t,e+1)&&(l=t[e+1].y),i(t,e)&&(s=t[e].y),n(t,e+1)&&(c=t[e+1].x),n(t,e)&&(o=t[e].x),(s>=Math.max(t[e].y,t[e+1].y)||s<=Math.min(t[e].y,t[e+1].y))&&(s=t[e].y),(l>=Math.max(t[e].y,t[e+1].y)||l<=Math.min(t[e].y,t[e+1].y))&&(l=t[e+1].y),(o>=Math.max(t[e].x,t[e+1].x)||o<=Math.min(t[e].x,t[e+1].x))&&(o=t[e].x),(c>=Math.max(t[e].x,t[e+1].x)||c<=Math.min(t[e].x,t[e+1].x))&&(c=t[e+1].x),{ctrA:{x:o,y:s},ctrB:{x:c,y:l}}}function p(t,e,i){return{x:i.x+t,y:i.y-e}}function g(t,e){if(e)while(c.isCollision(t,e))t.start.x>0?t.start.y--:t.start.x<0||t.start.y>0?t.start.y++:t.start.y--;return t}function v(t,e,i){for(var n=0,a=0;a<t.length;a++){var r=t[a];if(r.color||(r.color=i.color[n],n=(n+1)%i.color.length),r.linearIndex||(r.linearIndex=a),r.index||(r.index=0),r.type||(r.type=e.type),"undefined"==typeof r.show&&(r.show=!0),r.type||(r.type=e.type),r.pointShape||(r.pointShape="circle"),!r.legendShape)switch(r.type){case"line":r.legendShape="line";break;case"column":case"bar":r.legendShape="rect";break;case"area":case"mount":r.legendShape="triangle";break;default:r.legendShape="circle"}}return t}function m(t,e,i,n){var a=e||[];if("custom"==t&&0==a.length&&(a=n.linearColor),"custom"==t&&a.length<i.length)for(var r=i.length-a.length,o=0;o<r;o++)a.push(n.linearColor[(o+1)%n.linearColor.length]);return a}function x(t,e){var i=0,n=e-t;return i=n>=1e4?1e3:n>=1e3?100:n>=100?10:n>=10?5:n>=1?1:n>=.1?.1:n>=.01?.01:n>=.001?.001:n>=1e-4?1e-4:n>=1e-5?1e-5:1e-6,{minRange:u(t,"lower",i),maxRange:u(e,"upper",i)}}function y(t,e,i){var n=0;if(t=String(t),!1!==i&&void 0!==i&&i.setFontSize&&i.measureText)return i.setFontSize(e),i.measureText(t).width;t=t.split("");for(var a=0;a<t.length;a++){var r=t[a];/[a-zA-Z]/.test(r)?n+=7:/[0-9]/.test(r)?n+=5.5:/\./.test(r)?n+=2.7:/-/.test(r)?n+=3.25:/:/.test(r)?n+=2.5:/[\u4e00-\u9fa5]/.test(r)?n+=10:/\(|\)/.test(r)?n+=3.73:/\s/.test(r)?n+=2.5:/%/.test(r)?n+=8:n+=10}return n*e/10}function _(t){return t.reduce((function(t,e){return(t.data?t.data:t).concat(e.data)}),[])}function b(t,e){for(var i=new Array(e),n=0;n<i.length;n++)i[n]=0;for(var a=0;a<t.length;a++)for(n=0;n<i.length;n++)i[n]+=t[a].data[n];return t.reduce((function(t,e){return(t.data?t.data:t).concat(e.data).concat(i)}),[])}function w(t,e,i){var n,a;return t.clientX?e.rotate?(a=e.height-t.clientX*e.pix,n=(t.pageY-i.currentTarget.offsetTop-e.height/e.pix/2*(e.pix-1))*e.pix):(n=t.clientX*e.pix,a=(t.pageY-i.currentTarget.offsetTop-e.height/e.pix/2*(e.pix-1))*e.pix):e.rotate?(a=e.height-t.x*e.pix,n=t.y*e.pix):(n=t.x*e.pix,a=t.y*e.pix),{x:n,y:a}}function S(t,e,i){var n=[],a=[],r=e.constructor.toString().indexOf("Array")>-1;if(r)for(var o=O(t),s=0;s<i.length;s++)a.push(o[i[s]]);else a=t;for(var c=0;c<a.length;c++){var l=a[c],u=-1;if(u=r?e[c]:e,null!==l.data[u]&&"undefined"!==typeof l.data[u]&&l.show){var h={};h.color=l.color,h.type=l.type,h.style=l.style,h.pointShape=l.pointShape,h.disableLegend=l.disableLegend,h.name=l.name,h.show=l.show,h.data=l.formatter?l.formatter(l.data[u]):l.data[u],n.push(h)}}return n}function k(t,e,i){var n=t.map((function(t){return y(t,e,i)}));return Math.max.apply(null,n)}function C(t){for(var e=2*Math.PI/t,i=[],n=0;n<t;n++)i.push(e*n);return i.map((function(t){return-1*t+Math.PI/2}))}function T(t,e,i,n,a){var r=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{},o=e.chartData.calPoints?e.chartData.calPoints:[],s={};if(n.length>0){for(var c=[],l=0;l<n.length;l++)c.push(o[n[l]]);s=c[0][i[0]]}else for(var u=0;u<o.length;u++)if(o[u][i]){s=o[u][i];break}var h=t.map((function(t){var n=null;return e.categories&&e.categories.length>0&&(n=a[i]),{text:r.formatter?r.formatter(t,n,i,e):t.name+": "+t.data,color:t.color}})),d={x:Math.round(s.x),y:Math.round(s.y)};return{textList:h,offset:d}}function P(t,e,i,n){var a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},r=e.chartData.xAxisPoints[i]+e.chartData.eachSpacing/2,o=t.map((function(t){return{text:a.formatter?a.formatter(t,n[i],i,e):t.name+": "+t.data,color:t.color,disableLegend:!!t.disableLegend}}));o=o.filter((function(t){if(!0!==t.disableLegend)return t}));var s={x:Math.round(r),y:0};return{textList:o,offset:s}}function A(t,e,i,n,a,r){var o=i.chartData.calPoints,s=r.color.upFill,c=r.color.downFill,l=[s,s,c,s],u=[];e.map((function(e){0==n?e.data[1]-e.data[0]<0?l[1]=c:l[1]=s:(e.data[0]<t[n-1][1]&&(l[0]=c),e.data[1]<e.data[0]&&(l[1]=c),e.data[2]>t[n-1][1]&&(l[2]=s),e.data[3]<t[n-1][1]&&(l[3]=c));var i={text:"\u5f00\u76d8\uff1a"+e.data[0],color:l[0]},a={text:"\u6536\u76d8\uff1a"+e.data[1],color:l[1]},r={text:"\u6700\u4f4e\uff1a"+e.data[2],color:l[2]},o={text:"\u6700\u9ad8\uff1a"+e.data[3],color:l[3]};u.push(i,a,r,o)}));for(var h=[],d={x:0,y:0},f=0;f<o.length;f++){var p=o[f];"undefined"!==typeof p[n]&&null!==p[n]&&h.push(p[n])}return d.x=Math.round(h[0][0].x),{textList:u,offset:d}}function O(t){for(var e=[],i=0;i<t.length;i++)1==t[i].show&&e.push(t[i]);return e}function L(t,e,i){return t.x<=e.width-e.area[1]+10&&t.x>=e.area[3]-10&&t.y>=e.area[0]&&t.y<=e.height-e.area[2]}function D(t,e,i){return Math.pow(t.x-e.x,2)+Math.pow(t.y-e.y,2)<=Math.pow(i,2)}function I(t,e){var i=[],n=[];return t.forEach((function(t,a){e.connectNulls?null!==t&&n.push(t):null!==t?n.push(t):(n.length&&i.push(n),n=[])})),n.length&&i.push(n),i}function M(t,e,i,n,a){var r={angle:0,xAxisHeight:i.xAxisHeight},o=e.xAxis.fontSize*e.pix||i.fontSize,s=t.map((function(t,i){var n=e.xAxis.formatter?e.xAxis.formatter(t,i,e):t;return y(String(n),o,a)})),c=Math.max.apply(this,s);if(1==e.xAxis.rotateLabel){r.angle=e.xAxis.rotateAngle*Math.PI/180;var l=2*i.xAxisTextPadding+Math.abs(c*Math.sin(r.angle));l=l<o+2*i.xAxisTextPadding?l+2*i.xAxisTextPadding:l,1==e.enableScroll&&1==e.xAxis.scrollShow&&(l+=12*e.pix),r.xAxisHeight=l}return e.xAxis.disabled&&(r.xAxisHeight=0),r}function E(t,e,i,n){var a=s({},{type:""},e.extra.bar),o={angle:0,xAxisHeight:i.xAxisHeight};o.ranges=function(t,e,i,n){var a,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:-1;a="stack"==n?b(t,e.categories.length):_(t);var s=[];a=a.filter((function(t){return"object"===(0,r.default)(t)&&null!==t?t.constructor.toString().indexOf("Array")>-1?null!==t:null!==t.value:null!==t})),a.map((function(t){"object"===(0,r.default)(t)?t.constructor.toString().indexOf("Array")>-1?"candle"==e.type?t.map((function(t){s.push(t)})):s.push(t[0]):s.push(t.value):s.push(t)}));var c=0,l=0;if(s.length>0&&(c=Math.min.apply(this,s),l=Math.max.apply(this,s)),o>-1?("number"===typeof e.xAxis.data[o].min&&(c=Math.min(e.xAxis.data[o].min,c)),"number"===typeof e.xAxis.data[o].max&&(l=Math.max(e.xAxis.data[o].max,l))):("number"===typeof e.xAxis.min&&(c=Math.min(e.xAxis.min,c)),"number"===typeof e.xAxis.max&&(l=Math.max(e.xAxis.max,l))),c===l){var u=l||10;l+=u}for(var h=c,d=l,f=[],p=(d-h)/e.xAxis.splitNumber,g=0;g<=e.xAxis.splitNumber;g++)f.push(h+p*g);return f}(t,e,i,a.type),o.rangesFormat=o.ranges.map((function(t){return t=c.toFixed(t,2),t}));var l=o.ranges.map((function(t){return t=c.toFixed(t,2),t}));o=Object.assign(o,V(l,e,i));var u=o.eachSpacing,h=l.map((function(t){return y(t,e.xAxis.fontSize*e.pix||i.fontSize,n)})),d=Math.max.apply(this,h);return d+2*i.xAxisTextPadding>u&&(o.angle=45*Math.PI/180,o.xAxisHeight=2*i.xAxisTextPadding+d*Math.sin(o.angle)),!0===e.xAxis.disabled&&(o.xAxisHeight=0),o}function F(t,e,i,n,a){var r=arguments.length>5&&void 0!==arguments[5]?arguments[5]:1,o=a.extra.radar||{};o.max=o.max||0;for(var s=Math.max(o.max,Math.max.apply(null,_(n))),c=[],l=function(a){var o=n[a],l={};l.color=o.color,l.legendShape=o.legendShape,l.pointShape=o.pointShape,l.data=[],o.data.forEach((function(n,a){var o={};o.angle=t[a],o.proportion=n/s,o.value=n,o.position=p(i*o.proportion*r*Math.cos(o.angle),i*o.proportion*r*Math.sin(o.angle),e),l.data.push(o)})),c.push(l)},u=0;u<n.length;u++)l(u);return c}function $(t,e){for(var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,n=0,a=0,r=0;r<t.length;r++){var o=t[r];o.data=null===o.data?0:o.data,n+=o.data}for(var s=0;s<t.length;s++){var c=t[s];c.data=null===c.data?0:c.data,c._proportion_=0===n?1/t.length*i:c.data/n*i,c._radius_=e}for(var l=0;l<t.length;l++){var u=t[l];u._start_=a,a+=2*u._proportion_*Math.PI}return t}function R(t,e,i,n){for(var a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,r=0;r<t.length;r++)"funnel"==i.type?t[r].radius=t[r].data/t[0].data*e*a:t[r].radius=n*(t.length-r)/(n*t.length)*e*a,t[r]._proportion_=t[r].data/t[0].data;return t}function N(t,e,i,n){for(var a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,r=0,o=0,s=[],c=0;c<t.length;c++){var l=t[c];l.data=null===l.data?0:l.data,r+=l.data,s.push(l.data)}for(var u=Math.min.apply(null,s),h=Math.max.apply(null,s),d=n-i,f=0;f<t.length;f++){var p=t[f];p.data=null===p.data?0:p.data,0===r?(p._proportion_=1/t.length*a,p._rose_proportion_=1/t.length*a):(p._proportion_=p.data/r*a,p._rose_proportion_="area"==e?1/t.length*a:p.data/r*a),p._radius_=i+d*((p.data-u)/(h-u))||n}for(var g=0;g<t.length;g++){var v=t[g];v._start_=o,o+=2*v._rose_proportion_*Math.PI}return t}function j(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;1==i&&(i=.999999);for(var n=0;n<t.length;n++){var a=t[n];a.data=null===a.data?0:a.data;var r=void 0;r="circle"==e.type?2:"ccw"==e.direction?e.startAngle<e.endAngle?2+e.startAngle-e.endAngle:e.startAngle-e.endAngle:e.endAngle<e.startAngle?2+e.endAngle-e.startAngle:e.startAngle-e.endAngle,a._proportion_=r*a.data*i+e.startAngle,"ccw"==e.direction&&(a._proportion_=e.startAngle-r*a.data*i),a._proportion_>=2&&(a._proportion_=a._proportion_%2)}return t}function U(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;1==i&&(i=.999999);for(var n=0;n<t.length;n++){var a=t[n];a.data=null===a.data?0:a.data;var r=void 0;r="circle"==e.type?2:e.endAngle<e.startAngle?2+e.endAngle-e.startAngle:e.startAngle-e.endAngle,a._proportion_=r*a.data*i+e.startAngle,a._proportion_>=2&&(a._proportion_=a._proportion_%2)}return t}function B(t,e,i){for(var n=e-i+1,a=e,r=0;r<t.length;r++)t[r].value=null===t[r].value?0:t[r].value,t[r]._startAngle_=a,t[r]._endAngle_=n*t[r].value+e,t[r]._endAngle_>=2&&(t[r]._endAngle_=t[r]._endAngle_%2),a=t[r]._endAngle_;return t}function z(t,e,i){for(var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1,a=0;a<t.length;a++){var r=t[a];if(r.data=null===r.data?0:r.data,"auto"==i.pointer.color){for(var o=0;o<e.length;o++)if(r.data<=e[o].value){r.color=e[o].color;break}}else r.color=i.pointer.color;var s=i.startAngle-i.endAngle+1;r._endAngle_=s*r.data+i.startAngle,r._oldAngle_=i.oldAngle,i.oldAngle<i.endAngle&&(r._oldAngle_+=2),r.data>=i.oldData?r._proportion_=(r._endAngle_-r._oldAngle_)*n+i.oldAngle:r._proportion_=r._oldAngle_-(r._oldAngle_-r._endAngle_)*n,r._proportion_>=2&&(r._proportion_=r._proportion_%2)}return t}function W(t,e,i,n,a,r){return t.map((function(t){if(null===t)return null;var a=0,o=0;return"mix"==r.type?(a=r.extra.mix.column.seriesGap*r.pix||0,o=r.extra.mix.column.categoryGap*r.pix||0):(a=r.extra.column.seriesGap*r.pix||0,o=r.extra.column.categoryGap*r.pix||0),a=Math.min(a,e/i),o=Math.min(o,e/i),t.width=Math.ceil((e-2*o-a*(i-1))/i),r.extra.mix&&r.extra.mix.column.width&&+r.extra.mix.column.width>0&&(t.width=Math.min(t.width,+r.extra.mix.column.width*r.pix)),r.extra.column&&r.extra.column.width&&+r.extra.column.width>0&&(t.width=Math.min(t.width,+r.extra.column.width*r.pix)),t.width<=0&&(t.width=1),t.x+=(n+.5-i/2)*(t.width+a),t}))}function q(t,e,i,n,a,r){return t.map((function(t){if(null===t)return null;var a=0,o=0;return a=r.extra.bar.seriesGap*r.pix||0,o=r.extra.bar.categoryGap*r.pix||0,a=Math.min(a,e/i),o=Math.min(o,e/i),t.width=Math.ceil((e-2*o-a*(i-1))/i),r.extra.bar&&r.extra.bar.width&&+r.extra.bar.width>0&&(t.width=Math.min(t.width,+r.extra.bar.width*r.pix)),t.width<=0&&(t.width=1),t.y+=(n+.5-i/2)*(t.width+a),t}))}function H(t,e,i,n,a,r,o){var s=r.extra.column.categoryGap*r.pix||0;return t.map((function(t){return null===t?null:(t.width=e-2*s,r.extra.column&&r.extra.column.width&&+r.extra.column.width>0&&(t.width=Math.min(t.width,+r.extra.column.width*r.pix)),n>0&&(t.width-=o),t)}))}function G(t,e,i,n,a,r,o){var s=r.extra.column.categoryGap*r.pix||0;return t.map((function(t,i){return null===t?null:(t.width=Math.ceil(e-2*s),r.extra.column&&r.extra.column.width&&+r.extra.column.width>0&&(t.width=Math.min(t.width,+r.extra.column.width*r.pix)),t.width<=0&&(t.width=1),t)}))}function J(t,e,i,n,a,r,o){var s=r.extra.bar.categoryGap*r.pix||0;return t.map((function(t,i){return null===t?null:(t.width=Math.ceil(e-2*s),r.extra.bar&&r.extra.bar.width&&+r.extra.bar.width>0&&(t.width=Math.min(t.width,+r.extra.bar.width*r.pix)),t.width<=0&&(t.width=1),t)}))}function V(t,e,i){var n=e.width-e.area[1]-e.area[3],a=e.enableScroll?Math.min(e.xAxis.itemCount,t.length):t.length;("line"==e.type||"area"==e.type||"scatter"==e.type||"bubble"==e.type||"bar"==e.type)&&a>1&&"justify"==e.xAxis.boundaryGap&&(a-=1);var r=0;"mount"==e.type&&e.extra&&e.extra.mount&&e.extra.mount.widthRatio&&e.extra.mount.widthRatio>1&&(e.extra.mount.widthRatio>2&&(e.extra.mount.widthRatio=2),r=e.extra.mount.widthRatio-1,a+=r);var o=n/a,s=[],c=e.area[3],l=e.width-e.area[1];return t.forEach((function(t,e){s.push(c+r/2*o+e*o)})),"justify"!==e.xAxis.boundaryGap&&(!0===e.enableScroll?s.push(c+r*o+t.length*o):s.push(l)),{xAxisPoints:s,startX:c,endX:l,eachSpacing:o}}function K(t,e,i,n,a,r,o){var s=arguments.length>7&&void 0!==arguments[7]?arguments[7]:1,c=[],l=r.height-r.area[0]-r.area[2];return t.forEach((function(t,o){if(null===t)c.push(null);else{var u=[];t.forEach((function(t,c){var h={};h.x=n[o]+Math.round(a/2);var d=t.value||t,f=l*(d-e)/(i-e);f*=s,h.y=r.height-Math.round(f)-r.area[2],u.push(h)})),c.push(u)}})),c}function X(t,e,i,n,a,o,s){var c=arguments.length>7&&void 0!==arguments[7]?arguments[7]:1,l="center";"line"!=o.type&&"area"!=o.type&&"scatter"!=o.type&&"bubble"!=o.type||(l=o.xAxis.boundaryGap);var u=[],h=o.height-o.area[0]-o.area[2],d=o.width-o.area[1]-o.area[3];return t.forEach((function(t,s){if(null===t)u.push(null);else{var f={};f.color=t.color,f.x=n[s];var p,g,v,m=t;if("object"===(0,r.default)(t)&&null!==t)if(t.constructor.toString().indexOf("Array")>-1)p=[].concat(o.chartData.xAxisData.ranges),g=p.shift(),v=p.pop(),m=t[1],f.x=o.area[3]+d*(t[0]-g)/(v-g),"bubble"==o.type&&(f.r=t[2],f.t=t[3]);else m=t.value;"center"==l&&(f.x+=a/2);var x=h*(m-e)/(i-e);x*=c,f.y=o.height-x-o.area[2],u.push(f)}})),u}function Y(t,e,i,n,a,r,o){var s=arguments.length>7&&void 0!==arguments[7]?arguments[7]:1,c=[],l=r.height-r.area[0]-r.area[2],u=(r.width,r.area[1],r.area[3],a*o.widthRatio);return t.forEach((function(t,o){if(null===t)c.push(null);else{var h={};h.color=t.color,h.x=n[o],h.x+=a/2;var d=t.data,f=l*(d-e)/(i-e);f*=s,h.y=r.height-f-r.area[2],h.value=d,h.width=u,c.push(h)}})),c}function Q(t,e,i,n,a,o,s){var c=arguments.length>7&&void 0!==arguments[7]?arguments[7]:1,l=[],u=(o.height,o.area[0],o.area[2],o.width-o.area[1]-o.area[3]);return t.forEach((function(t,a){if(null===t)l.push(null);else{var s={};s.color=t.color,s.y=n[a];var h=t;"object"===(0,r.default)(t)&&null!==t&&(h=t.value);var d=u*(h-e)/(i-e);d*=c,s.height=d,s.value=h,s.x=d+o.area[3],l.push(s)}})),l}function Z(t,e,i,n,a,o,s,c,l){var u=arguments.length>9&&void 0!==arguments[9]?arguments[9]:1,h=[],d=o.height-o.area[0]-o.area[2];return t.forEach((function(t,s){if(null===t)h.push(null);else{var f={};if(f.color=t.color,f.x=n[s]+Math.round(a/2),c>0){for(var p=0,g=0;g<=c;g++)p+=l[g].data[s];var v=p-t,m=d*(p-e)/(i-e),x=d*(v-e)/(i-e)}else{p=t;"object"===(0,r.default)(t)&&null!==t&&(p=t.value);m=d*(p-e)/(i-e),x=0}var y=x;m*=u,y*=u,f.y=o.height-Math.round(m)-o.area[2],f.y0=o.height-Math.round(y)-o.area[2],h.push(f)}})),h}function tt(t,e,i,n,a,o,s,c,l){var u=arguments.length>9&&void 0!==arguments[9]?arguments[9]:1,h=[],d=o.width-o.area[1]-o.area[3];return t.forEach((function(t,a){if(null===t)h.push(null);else{var s={};if(s.color=t.color,s.y=n[a],c>0){for(var f=0,p=0;p<=c;p++)f+=l[p].data[a];var g=f-t,v=d*(f-e)/(i-e),m=d*(g-e)/(i-e)}else{f=t;"object"===(0,r.default)(t)&&null!==t&&(f=t.value);v=d*(f-e)/(i-e),m=0}var x=m;v*=u,x*=u,s.height=v-x,s.x=o.area[3]+v,s.x0=o.area[3]+x,h.push(s)}})),h}function et(t,e,i,n,a){var o;o="stack"==n?b(t,e.categories.length):_(t);var s=[];o=o.filter((function(t){return"object"===(0,r.default)(t)&&null!==t?t.constructor.toString().indexOf("Array")>-1?null!==t:null!==t.value:null!==t})),o.map((function(t){"object"===(0,r.default)(t)?t.constructor.toString().indexOf("Array")>-1?"candle"==e.type?t.map((function(t){s.push(t)})):s.push(t[1]):s.push(t.value):s.push(t)}));var c=a.min||0,l=a.max||0;s.length>0&&(c=Math.min.apply(this,s),l=Math.max.apply(this,s)),c===l&&(0==l?l=10:c=0);for(var u=x(c,l),h=void 0===a.min||null===a.min?u.minRange:a.min,d=void 0===a.max||null===a.max?u.maxRange:a.max,f=(d-h)/e.yAxis.splitNumber,p=[],g=0;g<=e.yAxis.splitNumber;g++)p.push(h+f*g);return p.reverse()}function it(t,e,i,n){var a=s({},{type:""},e.extra.column),r=e.yAxis.data.length,o=new Array(r);if(r>0){for(var l=0;l<r;l++){o[l]=[];for(var u=0;u<t.length;u++)t[u].index==l&&o[l].push(t[u])}for(var h=new Array(r),d=new Array(r),f=new Array(r),p=function(t){var r=e.yAxis.data[t];1==e.yAxis.disabled&&(r.disabled=!0),"categories"===r.type?(r.formatter||(r.formatter=function(t,e,i){return t+(r.unit||"")}),r.categories=r.categories||e.categories,h[t]=r.categories):(r.formatter||(r.formatter=function(t,e,i){return c.toFixed(t,r.tofix||0)+(r.unit||"")}),h[t]=et(o[t],e,i,a.type,r,t));var s=r.fontSize*e.pix||i.fontSize;f[t]={position:r.position?r.position:"left",width:0},d[t]=h[t].map((function(i,a){return i=r.formatter(i,a,e),f[t].width=Math.max(f[t].width,y(i,s,n)+5),i}));var l=r.calibration?4*e.pix:0;f[t].width+=l+3*e.pix,!0===r.disabled&&(f[t].width=0)},g=0;g<r;g++)p(g)}else{h=new Array(1),d=new Array(1),f=new Array(1);"bar"===e.type?h[0]=e.categories:h[0]=et(t,e,i,a.type,{}),f[0]={position:"left",width:0},!0===e.yAxis.disabled?(f[0]={position:"left",width:0},e.yAxis.data[0]={disabled:!0}):(e.yAxis.data[0]={disabled:!1,position:"left",max:e.yAxis.max,min:e.yAxis.min,formatter:function(t,e,i){return t}},"bar"===e.type&&(e.yAxis.data[0].categories=e.categories,e.yAxis.data[0].type="categories"));var v=e.yAxis.fontSize*e.pix||i.fontSize;d[0]=h[0].map((function(t,i){return t=e.yAxis.data[0].formatter(t,i,e),f[0].width=Math.max(f[0].width,y(t,v,n)+5),t})),f[0].width+=3*e.pix}return{rangesFormat:d,ranges:h,yAxisWidth:f}}function nt(t,e){!0!==e.rotateLock?(t.translate(e.height,0),t.rotate(90*Math.PI/180)):!0!==e._rotate_&&(t.translate(e.height,0),t.rotate(90*Math.PI/180),e._rotate_=!0)}function at(t,e,i,n,a){if(n.beginPath(),"hollow"==a.dataPointShapeType?(n.setStrokeStyle(e),n.setFillStyle(a.background),n.setLineWidth(2*a.pix)):(n.setStrokeStyle("#ffffff"),n.setFillStyle(e),n.setLineWidth(1*a.pix)),"diamond"===i)t.forEach((function(t,e){null!==t&&(n.moveTo(t.x,t.y-4.5),n.lineTo(t.x-4.5,t.y),n.lineTo(t.x,t.y+4.5),n.lineTo(t.x+4.5,t.y),n.lineTo(t.x,t.y-4.5))}));else if("circle"===i)t.forEach((function(t,e){null!==t&&(n.moveTo(t.x+2.5*a.pix,t.y),n.arc(t.x,t.y,3*a.pix,0,2*Math.PI,!1))}));else if("square"===i)t.forEach((function(t,e){null!==t&&(n.moveTo(t.x-3.5,t.y-3.5),n.rect(t.x-3.5,t.y-3.5,7,7))}));else if("triangle"===i)t.forEach((function(t,e){null!==t&&(n.moveTo(t.x,t.y-4.5),n.lineTo(t.x-4.5,t.y+4.5),n.lineTo(t.x+4.5,t.y+4.5),n.lineTo(t.x,t.y-4.5))}));else if("none"===i)return;n.closePath(),n.fill(),n.stroke()}function rt(t,e,i,n){var a=t.title.fontSize||e.titleFontSize,r=t.subtitle.fontSize||e.subtitleFontSize,o=t.title.name||"",s=t.subtitle.name||"",c=t.title.color||t.fontColor,l=t.subtitle.color||t.fontColor,u=o?a:0,h=s?r:0;if(s){var d=y(s,r*t.pix,i),f=n.x-d/2+(t.subtitle.offsetX||0)*t.pix,p=n.y+r*t.pix/2+(t.subtitle.offsetY||0)*t.pix;o&&(p+=(u*t.pix+5)/2),i.beginPath(),i.setFontSize(r*t.pix),i.setFillStyle(l),i.fillText(s,f,p),i.closePath(),i.stroke()}if(o){var g=y(o,a*t.pix,i),v=n.x-g/2+(t.title.offsetX||0),m=n.y+a*t.pix/2+(t.title.offsetY||0)*t.pix;s&&(m-=(h*t.pix+5)/2),i.beginPath(),i.setFontSize(a*t.pix),i.setFillStyle(c),i.fillText(o,v,m),i.closePath(),i.stroke()}}function ot(t,e,i,n,a){var o=e.data,s=e.textOffset?e.textOffset:0;t.forEach((function(t,c){if(null!==t){n.beginPath();var l=e.textSize?e.textSize*a.pix:i.fontSize;n.setFontSize(l),n.setFillStyle(e.textColor||a.fontColor);var u=o[c];"object"===(0,r.default)(o[c])&&null!==o[c]&&(u=o[c].constructor.toString().indexOf("Array")>-1?o[c][1]:o[c].value);var h=e.formatter?e.formatter(u,c,e,a):u;n.setTextAlign("center"),n.fillText(String(h),t.x,t.y-4+s*a.pix),n.closePath(),n.stroke(),n.setTextAlign("left")}}))}function st(t,e,i,n,a){e.data;var r=e.textOffset?e.textOffset:0;t.forEach((function(t,o){if(null!==t){n.beginPath();var s=e[o].textSize?e[o].textSize*a.pix:i.fontSize;n.setFontSize(s),n.setFillStyle(e[o].textColor||a.fontColor);var c=t.value,l=e[o].formatter?e[o].formatter(c,o,e,a):c;n.setTextAlign("center"),n.fillText(String(l),t.x,t.y-4+r*a.pix),n.closePath(),n.stroke(),n.setTextAlign("left")}}))}function ct(t,e,i,n,a){var o=e.data;e.textOffset&&e.textOffset;t.forEach((function(t,s){if(null!==t){n.beginPath();var c=e.textSize?e.textSize*a.pix:i.fontSize;n.setFontSize(c),n.setFillStyle(e.textColor||a.fontColor);var l=o[s];"object"===(0,r.default)(o[s])&&null!==o[s]&&(l=o[s].value);var u=e.formatter?e.formatter(l,s,e,a):l;n.setTextAlign("left"),n.fillText(String(u),t.x+4*a.pix,t.y+c/2-3),n.closePath(),n.stroke()}}))}function lt(t,e,i,n,a,r){e-=t.width/2+t.labelOffset*n.pix,e=e<10?10:e;for(var o=t.startAngle-t.endAngle+1,s=o/t.splitLine.splitNumber,c=t.endNumber-t.startNumber,l=c/t.splitLine.splitNumber,u=t.startAngle,h=t.startNumber,d=0;d<t.splitLine.splitNumber+1;d++){var f={x:e*Math.cos(u*Math.PI),y:e*Math.sin(u*Math.PI)},p=t.formatter?t.formatter(h,d,n):h;f.x+=i.x-y(p,a.fontSize,r)/2,f.y+=i.y;var g=f.x,v=f.y;r.beginPath(),r.setFontSize(a.fontSize),r.setFillStyle(t.labelColor||n.fontColor),r.fillText(p,g,v+a.fontSize/2),r.closePath(),r.stroke(),u+=s,u>=2&&(u%=2),h+=l}}function ut(t,e,i,n,a,r){var o=n.extra.radar||{};t.forEach((function(t,s){if(!0===o.labelPointShow&&""!==n.categories[s]){var l={x:e*Math.cos(t),y:e*Math.sin(t)},u=p(l.x,l.y,i);r.setFillStyle(o.labelPointColor),r.beginPath(),r.arc(u.x,u.y,o.labelPointRadius*n.pix,0,2*Math.PI,!1),r.closePath(),r.fill()}var h={x:(e+a.radarLabelTextMargin*n.pix)*Math.cos(t),y:(e+a.radarLabelTextMargin*n.pix)*Math.sin(t)},d=p(h.x,h.y,i),f=d.x,g=d.y;c.approximatelyEqual(h.x,0)?f-=y(n.categories[s]||"",a.fontSize,r)/2:h.x<0&&(f-=y(n.categories[s]||"",a.fontSize,r)),r.beginPath(),r.setFontSize(a.fontSize),r.setFillStyle(o.labelColor||n.fontColor),r.fillText(n.categories[s]||"",f,g+a.fontSize/2),r.closePath(),r.stroke()}))}function ht(t,e,i,n,a,r){for(var o=i.pieChartLinePadding,s=[],l=null,u=t.map((function(i,n){var a=i.formatter?i.formatter(i,n,t,e):c.toFixed(100*i._proportion_.toFixed(4))+"%";a=i.labelText?i.labelText:a;var r=2*Math.PI-(i._start_+2*Math.PI*i._proportion_/2);i._rose_proportion_&&(r=2*Math.PI-(i._start_+2*Math.PI*i._rose_proportion_/2));var o=i.color,s=i._radius_;return{arc:r,text:a,color:o,radius:s,textColor:i.textColor,textSize:i.textSize,labelShow:i.labelShow}})),h=0;h<u.length;h++){var d=u[h],f=Math.cos(d.arc)*(d.radius+o),v=Math.sin(d.arc)*(d.radius+o),m=Math.cos(d.arc)*d.radius,x=Math.sin(d.arc)*d.radius,_=f>=0?f+i.pieChartTextPadding:f-i.pieChartTextPadding,b=v,w=y(d.text,d.textSize*e.pix||i.fontSize,n),S=b;l&&c.isSameXCoordinateArea(l.start,{x:_})&&(S=_>0?Math.min(b,l.start.y):f<0||b>0?Math.max(b,l.start.y):Math.min(b,l.start.y)),_<0&&(_-=w);var k={lineStart:{x:m,y:x},lineEnd:{x:f,y:v},start:{x:_,y:S},width:w,height:i.fontSize,text:d.text,color:d.color,textColor:d.textColor,textSize:d.textSize};l=g(k,l),s.push(l)}for(var C=0;C<s.length;C++)if(!1!==u[C].labelShow){var T=s[C],P=p(T.lineStart.x,T.lineStart.y,r),A=p(T.lineEnd.x,T.lineEnd.y,r),O=p(T.start.x,T.start.y,r);n.setLineWidth(1*e.pix),n.setFontSize(T.textSize*e.pix||i.fontSize),n.beginPath(),n.setStrokeStyle(T.color),n.setFillStyle(T.color),n.moveTo(P.x,P.y);var L=T.start.x<0?O.x+T.width:O.x,D=T.start.x<0?O.x-5:O.x+5;n.quadraticCurveTo(A.x,A.y,L,O.y),n.moveTo(P.x,P.y),n.stroke(),n.closePath(),n.beginPath(),n.moveTo(O.x+T.width,O.y),n.arc(L,O.y,2*e.pix,0,2*Math.PI),n.closePath(),n.fill(),n.beginPath(),n.setFontSize(T.textSize*e.pix||i.fontSize),n.setFillStyle(T.textColor||e.fontColor),n.fillText(T.text,D,O.y+3),n.closePath(),n.stroke(),n.closePath()}}function dt(t,e,i){for(var n=s({},{type:"solid",dashLength:4,data:[]},t.extra.markLine),a=t.area[3],r=t.width-t.area[1],o=function(t,e){for(var i,n,a=e.height-e.area[0]-e.area[2],r=0;r<t.length;r++){t[r].yAxisIndex=t[r].yAxisIndex?t[r].yAxisIndex:0;var o=[].concat(e.chartData.yAxisData.ranges[t[r].yAxisIndex]);i=o.pop(),n=o.shift();var s=a*(t[r].value-i)/(n-i);t[r].y=e.height-Math.round(s)-e.area[2]}return t}(n.data,t),c=0;c<o.length;c++){var u=s({},{lineColor:"#DE4A42",showLabel:!1,labelFontColor:"#666666",labelBgColor:"#DFE8FF",labelBgOpacity:.8,labelAlign:"left",labelOffsetX:0,labelOffsetY:0},o[c]);if("dash"==n.type&&i.setLineDash([n.dashLength,n.dashLength]),i.setStrokeStyle(u.lineColor),i.setLineWidth(1*t.pix),i.beginPath(),i.moveTo(a,u.y),i.lineTo(r,u.y),i.stroke(),i.setLineDash([]),u.showLabel){var h=u.labelText?u.labelText:u.value;i.setFontSize(e.fontSize);var d=y(h,e.fontSize,i),f=d+2*e.toolTipPadding,p="left"==u.labelAlign?t.area[3]-f:t.width-t.area[1];p+=u.labelOffsetX;var g=u.y-.5*e.fontSize-e.toolTipPadding;g+=u.labelOffsetY;var v=p+e.toolTipPadding;u.y;i.setFillStyle(l(u.labelBgColor,u.labelBgOpacity)),i.setStrokeStyle(u.labelBgColor),i.setLineWidth(1*t.pix),i.beginPath(),i.rect(p,g,f,e.fontSize+2*e.toolTipPadding),i.closePath(),i.stroke(),i.fill(),i.setFontSize(e.fontSize),i.setTextAlign("left"),i.setFillStyle(u.labelFontColor),i.fillText(String(h),v,g+e.fontSize+e.toolTipPadding/2),i.stroke(),i.setTextAlign("left")}}}function ft(t,e,i,n,a){var r=s({},{gridType:"solid",dashLength:4},t.extra.tooltip),o=t.area[3],c=t.width-t.area[1];if("dash"==r.gridType&&i.setLineDash([r.dashLength,r.dashLength]),i.setStrokeStyle(r.gridColor||"#cccccc"),i.setLineWidth(1*t.pix),i.beginPath(),i.moveTo(o,t.tooltip.offset.y),i.lineTo(c,t.tooltip.offset.y),i.stroke(),i.setLineDash([]),r.yAxisLabel)for(var u=function(t,e,i,n,a){for(var r=[].concat(i.chartData.yAxisData.ranges),o=i.height-i.area[0]-i.area[2],s=i.area[0],c=[],l=0;l<r.length;l++){var u=Math.max.apply(this,r[l]),h=Math.min.apply(this,r[l]),d=u-(u-h)*(t-s)/o;d=i.yAxis.data&&i.yAxis.data[l].formatter?i.yAxis.data[l].formatter(d,l,i):d.toFixed(0),c.push(String(d))}return c}(t.tooltip.offset.y,t.series,t),h=t.chartData.yAxisData.yAxisWidth,d=t.area[3],f=t.width-t.area[1],p=0;p<u.length;p++){i.setFontSize(e.fontSize);var g,v=y(u[p],e.fontSize,i),m=void 0,x=void 0;"left"==h[p].position?(m=d-(v+2*e.toolTipPadding)-2*t.pix,x=Math.max(m,m+v+2*e.toolTipPadding)):(m=f+2*t.pix,x=Math.max(m+h[p].width,m+v+2*e.toolTipPadding)),g=x-m;var _=m+(g-v)/2,b=t.tooltip.offset.y;i.beginPath(),i.setFillStyle(l(r.labelBgColor||e.toolTipBackground,r.labelBgOpacity||e.toolTipOpacity)),i.setStrokeStyle(r.labelBgColor||e.toolTipBackground),i.setLineWidth(1*t.pix),i.rect(m,b-.5*e.fontSize-e.toolTipPadding,g,e.fontSize+2*e.toolTipPadding),i.closePath(),i.stroke(),i.fill(),i.beginPath(),i.setFontSize(e.fontSize),i.setFillStyle(r.labelFontColor||t.fontColor),i.fillText(u[p],_,b+.5*e.fontSize),i.closePath(),i.stroke(),"left"==h[p].position?d-=h[p].width+t.yAxis.padding*t.pix:f+=h[p].width+t.yAxis.padding*t.pix}}function pt(t,e,i,n,a){var r=s({},{activeBgColor:"#000000",activeBgOpacity:.08,activeWidth:a},e.extra.column);r.activeWidth=r.activeWidth>a?a:r.activeWidth;var o=e.area[0],c=e.height-e.area[2];n.beginPath(),n.setFillStyle(l(r.activeBgColor,r.activeBgOpacity)),n.rect(t-r.activeWidth/2,o,r.activeWidth,c-o),n.closePath(),n.fill(),n.setFillStyle("#FFFFFF")}function gt(t,e,i,n,a){var r=s({},{activeBgColor:"#000000",activeBgOpacity:.08},e.extra.bar),o=e.area[3],c=e.width-e.area[1];n.beginPath(),n.setFillStyle(l(r.activeBgColor,r.activeBgOpacity)),n.rect(o,t-a/2,c-o,a),n.closePath(),n.fill(),n.setFillStyle("#FFFFFF")}function vt(t,e,i,n,a,r,o){var c=s({},{showBox:!0,showArrow:!0,showCategory:!1,bgColor:"#000000",bgOpacity:.7,borderColor:"#000000",borderWidth:0,borderRadius:0,borderOpacity:.7,fontColor:"#FFFFFF",splitLine:!0},i.extra.tooltip);1==c.showCategory&&i.categories&&t.unshift({text:i.categories[i.tooltip.index],color:null});var u=4*i.pix,h=5*i.pix,d=c.showArrow?8*i.pix:0,f=!1;"line"!=i.type&&"mount"!=i.type&&"area"!=i.type&&"candle"!=i.type&&"mix"!=i.type||1==c.splitLine&&function(t,e,i,n){var a=e.extra.tooltip||{};a.gridType=void 0==a.gridType?"solid":a.gridType,a.dashLength=void 0==a.dashLength?4:a.dashLength;var r=e.area[0],o=e.height-e.area[2];if("dash"==a.gridType&&n.setLineDash([a.dashLength,a.dashLength]),n.setStrokeStyle(a.gridColor||"#cccccc"),n.setLineWidth(1*e.pix),n.beginPath(),n.moveTo(t,r),n.lineTo(t,o),n.stroke(),n.setLineDash([]),a.xAxisLabel){var s=e.categories[e.tooltip.index];n.setFontSize(i.fontSize);var c=y(s,i.fontSize,n),u=t-.5*c,h=o+2*e.pix;n.beginPath(),n.setFillStyle(l(a.labelBgColor||i.toolTipBackground,a.labelBgOpacity||i.toolTipOpacity)),n.setStrokeStyle(a.labelBgColor||i.toolTipBackground),n.setLineWidth(1*e.pix),n.rect(u-i.toolTipPadding,h,c+2*i.toolTipPadding,i.fontSize+2*i.toolTipPadding),n.closePath(),n.stroke(),n.fill(),n.beginPath(),n.setFontSize(i.fontSize),n.setFillStyle(a.labelFontColor||e.fontColor),n.fillText(String(s),u,h+i.toolTipPadding+i.fontSize),n.closePath(),n.stroke()}}(i.tooltip.offset.x,i,n,a),e=s({x:0,y:0},e),e.y-=8*i.pix;var p=t.map((function(t){return y(t.text,n.fontSize,a)})),g=u+h+4*n.toolTipPadding+Math.max.apply(null,p),v=2*n.toolTipPadding+t.length*n.toolTipLineHeight;if(0!=c.showBox){e.x-Math.abs(i._scrollDistance_||0)+d+g>i.width&&(f=!0),v+e.y>i.height&&(e.y=i.height-v),a.beginPath(),a.setFillStyle(l(c.bgColor||n.toolTipBackground,c.bgOpacity||n.toolTipOpacity)),a.setLineWidth(c.borderWidth*i.pix),a.setStrokeStyle(l(c.borderColor,c.borderOpacity));var m=c.borderRadius;f?(g+d>i.width&&(e.x=i.width+Math.abs(i._scrollDistance_||0)+d+(g-i.width)),c.showArrow&&(a.moveTo(e.x,e.y+10*i.pix),a.lineTo(e.x-d,e.y+10*i.pix+5*i.pix)),a.arc(e.x-d-m,e.y+v-m,m,0,Math.PI/2,!1),a.arc(e.x-d-Math.round(g)+m,e.y+v-m,m,Math.PI/2,Math.PI,!1),a.arc(e.x-d-Math.round(g)+m,e.y+m,m,-Math.PI,-Math.PI/2,!1),a.arc(e.x-d-m,e.y+m,m,-Math.PI/2,0,!1),c.showArrow&&(a.lineTo(e.x-d,e.y+10*i.pix-5*i.pix),a.lineTo(e.x,e.y+10*i.pix))):(c.showArrow&&(a.moveTo(e.x,e.y+10*i.pix),a.lineTo(e.x+d,e.y+10*i.pix-5*i.pix)),a.arc(e.x+d+m,e.y+m,m,-Math.PI,-Math.PI/2,!1),a.arc(e.x+d+Math.round(g)-m,e.y+m,m,-Math.PI/2,0,!1),a.arc(e.x+d+Math.round(g)-m,e.y+v-m,m,0,Math.PI/2,!1),a.arc(e.x+d+m,e.y+v-m,m,Math.PI/2,Math.PI,!1),c.showArrow&&(a.lineTo(e.x+d,e.y+10*i.pix+5*i.pix),a.lineTo(e.x,e.y+10*i.pix))),a.closePath(),a.fill(),c.borderWidth>0&&a.stroke(),t.forEach((function(t,i){if(null!==t.color){a.beginPath(),a.setFillStyle(t.color);var r=e.x+d+2*n.toolTipPadding,o=e.y+(n.toolTipLineHeight-n.fontSize)/2+n.toolTipLineHeight*i+n.toolTipPadding+1;f&&(r=e.x-g-d+2*n.toolTipPadding),a.fillRect(r,o,u,n.fontSize),a.closePath(),a.fill()}})),t.forEach((function(t,i){var r=e.x+d+2*n.toolTipPadding+u+h;f&&(r=e.x-g-d+2*n.toolTipPadding+ +u+h);var o=e.y+(n.toolTipLineHeight-n.fontSize)/2+n.toolTipLineHeight*i+n.toolTipPadding;a.beginPath(),a.setFontSize(n.fontSize),a.setFillStyle(c.fontColor),a.fillText(t.text,r,o+n.fontSize),a.closePath(),a.stroke()}))}}function mt(t,e,i,n,a,r){var o=t.extra.tooltip||{};o.horizentalLine&&t.tooltip&&1===n&&("line"==t.type||"area"==t.type||"column"==t.type||"mount"==t.type||"candle"==t.type||"mix"==t.type)&&ft(t,e,i),i.save(),t._scrollDistance_&&0!==t._scrollDistance_&&!0===t.enableScroll&&i.translate(t._scrollDistance_,0),t.tooltip&&t.tooltip.textList&&t.tooltip.textList.length&&1===n&&vt(t.tooltip.textList,t.tooltip.offset,t,e,i),i.restore()}function xt(t,e,i,n){var a=e.chartData.xAxisData,r=a.xAxisPoints,o=a.startX,s=a.endX,c=a.eachSpacing,l="center";"bar"!=e.type&&"line"!=e.type&&"area"!=e.type&&"scatter"!=e.type&&"bubble"!=e.type||(l=e.xAxis.boundaryGap);var u=e.height-e.area[2],h=e.area[0];if(e.enableScroll&&e.xAxis.scrollShow){var d=e.height-e.area[2]+i.xAxisHeight,f=s-o,p=c*(r.length-1);"mount"==e.type&&e.extra&&e.extra.mount&&e.extra.mount.widthRatio&&e.extra.mount.widthRatio>1&&(e.extra.mount.widthRatio>2&&(e.extra.mount.widthRatio=2),p+=(e.extra.mount.widthRatio-1)*c);var g=f*f/p,v=0;e._scrollDistance_&&(v=-e._scrollDistance_*f/p),n.beginPath(),n.setLineCap("round"),n.setLineWidth(6*e.pix),n.setStrokeStyle(e.xAxis.scrollBackgroundColor||"#EFEBEF"),n.moveTo(o,d),n.lineTo(s,d),n.stroke(),n.closePath(),n.beginPath(),n.setLineCap("round"),n.setLineWidth(6*e.pix),n.setStrokeStyle(e.xAxis.scrollColor||"#A6A6A6"),n.moveTo(o+v,d),n.lineTo(o+v+g,d),n.stroke(),n.closePath(),n.setLineCap("butt")}if(n.save(),e._scrollDistance_&&0!==e._scrollDistance_&&n.translate(e._scrollDistance_,0),!0===e.xAxis.calibration&&(n.setStrokeStyle(e.xAxis.gridColor||"#cccccc"),n.setLineCap("butt"),n.setLineWidth(1*e.pix),r.forEach((function(t,i){i>0&&(n.beginPath(),n.moveTo(t-c/2,u),n.lineTo(t-c/2,u+3*e.pix),n.closePath(),n.stroke())}))),!0!==e.xAxis.disableGrid&&(n.setStrokeStyle(e.xAxis.gridColor||"#cccccc"),n.setLineCap("butt"),n.setLineWidth(1*e.pix),"dash"==e.xAxis.gridType&&n.setLineDash([e.xAxis.dashLength*e.pix,e.xAxis.dashLength*e.pix]),e.xAxis.gridEval=e.xAxis.gridEval||1,r.forEach((function(t,i){i%e.xAxis.gridEval==0&&(n.beginPath(),n.moveTo(t,u),n.lineTo(t,h),n.stroke())})),n.setLineDash([])),!0!==e.xAxis.disabled){var m=t.length;e.xAxis.labelCount&&(m=e.xAxis.itemCount?Math.ceil(t.length/e.xAxis.itemCount*e.xAxis.labelCount):e.xAxis.labelCount,m-=1);for(var x=Math.ceil(t.length/m),_=[],b=t.length,w=0;w<b;w++)w%x!==0?_.push(""):_.push(t[w]);_[b-1]=t[b-1];var S=e.xAxis.fontSize*e.pix||i.fontSize;0===i._xAxisTextAngle_?_.forEach((function(t,a){var o=e.xAxis.formatter?e.xAxis.formatter(t,a,e):t,s=-y(String(o),S,n)/2;"center"==l&&(s+=c/2);var h=0;e.xAxis.scrollShow&&(h=6*e.pix);var d=e._scrollDistance_||0,f="center"==l?r[a]+c/2:r[a];f-Math.abs(d)>=e.area[3]&&f-Math.abs(d)<=e.width-e.area[1]&&(n.beginPath(),n.setFontSize(S),n.setFillStyle(e.xAxis.fontColor||e.fontColor),n.fillText(String(o),r[a]+s,u+S+(i.xAxisHeight-h-S)/2),n.closePath(),n.stroke())})):_.forEach((function(t,a){var o=e.xAxis.formatter?e.xAxis.formatter(t):t,s=e._scrollDistance_||0,h="center"==l?r[a]+c/2:r[a];if(h-Math.abs(s)>=e.area[3]&&h-Math.abs(s)<=e.width-e.area[1]){n.save(),n.beginPath(),n.setFontSize(S),n.setFillStyle(e.xAxis.fontColor||e.fontColor);var d=y(String(o),S,n),f=r[a];"center"==l&&(f=r[a]+c/2);e.xAxis.scrollShow&&6*e.pix;var p=u+6*e.pix+S-S*Math.abs(Math.sin(i._xAxisTextAngle_));e.xAxis.rotateAngle<0?(f-=S/2,d=0):(f+=S/2,d=-d),n.translate(f,p),n.rotate(-1*i._xAxisTextAngle_),n.fillText(String(o),d,0),n.closePath(),n.stroke(),n.restore()}}))}n.restore(),e.xAxis.axisLine&&(n.beginPath(),n.setStrokeStyle(e.xAxis.axisLineColor),n.setLineWidth(1*e.pix),n.moveTo(o,e.height-e.area[2]),n.lineTo(s,e.height-e.area[2]),n.stroke())}function yt(t,e,i,n){if(!0!==e.yAxis.disableGrid){var a=e.height-e.area[0]-e.area[2],r=a/e.yAxis.splitNumber,o=e.area[3],s=e.chartData.xAxisData.xAxisPoints,c=e.chartData.xAxisData.eachSpacing,l=c*(s.length-1);"mount"==e.type&&e.extra&&e.extra.mount&&e.extra.mount.widthRatio&&e.extra.mount.widthRatio>1&&(e.extra.mount.widthRatio>2&&(e.extra.mount.widthRatio=2),l+=(e.extra.mount.widthRatio-1)*c);var u=o+l,h=[],d=1;!1===e.xAxis.axisLine&&(d=0);for(var f=d;f<e.yAxis.splitNumber+1;f++)h.push(e.height-e.area[2]-r*f);n.save(),e._scrollDistance_&&0!==e._scrollDistance_&&n.translate(e._scrollDistance_,0),"dash"==e.yAxis.gridType&&n.setLineDash([e.yAxis.dashLength*e.pix,e.yAxis.dashLength*e.pix]),n.setStrokeStyle(e.yAxis.gridColor),n.setLineWidth(1*e.pix),h.forEach((function(t,e){n.beginPath(),n.moveTo(o,t),n.lineTo(u,t),n.stroke()})),n.setLineDash([]),n.restore()}}function _t(t,e,i,n){if(!0!==e.yAxis.disabled){var a=e.height-e.area[0]-e.area[2],r=a/e.yAxis.splitNumber,o=e.area[3],s=e.width-e.area[1],c=e.height-e.area[2];n.beginPath(),n.setFillStyle(e.background),1==e.enableScroll&&e.xAxis.scrollPosition&&"left"!==e.xAxis.scrollPosition&&n.fillRect(0,0,o,c+2*e.pix),1==e.enableScroll&&e.xAxis.scrollPosition&&"right"!==e.xAxis.scrollPosition&&n.fillRect(s,0,e.width,c+2*e.pix),n.closePath(),n.stroke();var l=e.area[3],u=e.width-e.area[1],h=e.area[3]+(e.width-e.area[1]-e.area[3])/2;if(e.yAxis.data)for(var d=function(t){var o=e.yAxis.data[t];if(p=[],"categories"===o.type)for(var s=0;s<=o.categories.length;s++)p.push(e.area[0]+a/o.categories.length/2+a/o.categories.length*s);else for(var c=0;c<=e.yAxis.splitNumber;c++)p.push(e.area[0]+r*c);if(!0!==o.disabled){var d=e.chartData.yAxisData.rangesFormat[t],f=o.fontSize?o.fontSize*e.pix:i.fontSize,g=e.chartData.yAxisData.yAxisWidth[t],v=o.textAlign||"right";if(d.forEach((function(t,i){var a=p[i];n.beginPath(),n.setFontSize(f),n.setLineWidth(1*e.pix),n.setStrokeStyle(o.axisLineColor||"#cccccc"),n.setFillStyle(o.fontColor||e.fontColor);var r=0,s=4*e.pix;if("left"==g.position){switch(1==o.calibration&&(n.moveTo(l,a),n.lineTo(l-3*e.pix,a),s+=3*e.pix),v){case"left":n.setTextAlign("left"),r=l-g.width;break;case"right":n.setTextAlign("right"),r=l-s;break;default:n.setTextAlign("center"),r=l-g.width/2}n.fillText(String(t),r,a+f/2-3*e.pix)}else if("right"==g.position){switch(1==o.calibration&&(n.moveTo(u,a),n.lineTo(u+3*e.pix,a),s+=3*e.pix),v){case"left":n.setTextAlign("left"),r=u+s;break;case"right":n.setTextAlign("right"),r=u+g.width;break;default:n.setTextAlign("center"),r=u+g.width/2}n.fillText(String(t),r,a+f/2-3*e.pix)}else if("center"==g.position){switch(1==o.calibration&&(n.moveTo(h,a),n.lineTo(h-3*e.pix,a),s+=3*e.pix),v){case"left":n.setTextAlign("left"),r=h-g.width;break;case"right":n.setTextAlign("right"),r=h-s;break;default:n.setTextAlign("center"),r=h-g.width/2}n.fillText(String(t),r,a+f/2-3*e.pix)}n.closePath(),n.stroke(),n.setTextAlign("left")})),!1!==o.axisLine&&(n.beginPath(),n.setStrokeStyle(o.axisLineColor||"#cccccc"),n.setLineWidth(1*e.pix),"left"==g.position?(n.moveTo(l,e.height-e.area[2]),n.lineTo(l,e.area[0])):"right"==g.position?(n.moveTo(u,e.height-e.area[2]),n.lineTo(u,e.area[0])):"center"==g.position&&(n.moveTo(h,e.height-e.area[2]),n.lineTo(h,e.area[0])),n.stroke()),e.yAxis.showTitle){var m=o.titleFontSize*e.pix||i.fontSize,x=o.title;n.beginPath(),n.setFontSize(m),n.setFillStyle(o.titleFontColor||e.fontColor),"left"==g.position?n.fillText(x,l-y(x,m,n)/2+(o.titleOffsetX||0),e.area[0]-(10-(o.titleOffsetY||0))*e.pix):"right"==g.position?n.fillText(x,u-y(x,m,n)/2+(o.titleOffsetX||0),e.area[0]-(10-(o.titleOffsetY||0))*e.pix):"center"==g.position&&n.fillText(x,h-y(x,m,n)/2+(o.titleOffsetX||0),e.area[0]-(10-(o.titleOffsetY||0))*e.pix),n.closePath(),n.stroke()}"left"==g.position?l-=g.width+e.yAxis.padding*e.pix:u+=g.width+e.yAxis.padding*e.pix}},f=0;f<e.yAxis.data.length;f++){var p;d(f)}}}function bt(t,e,i,n,a){if(!1!==e.legend.show){var r=a.legendData,o=r.points,s=r.area,c=e.legend.padding*e.pix,l=e.legend.fontSize*e.pix,u=15*e.pix,h=5*e.pix,d=e.legend.itemGap*e.pix,f=Math.max(e.legend.lineHeight*e.pix,l);n.beginPath(),n.setLineWidth(e.legend.borderWidth*e.pix),n.setStrokeStyle(e.legend.borderColor),n.setFillStyle(e.legend.backgroundColor),n.moveTo(s.start.x,s.start.y),n.rect(s.start.x,s.start.y,s.width,s.height),n.closePath(),n.fill(),n.stroke(),o.forEach((function(t,a){var o,p=0;p=r.widthArr[a],o=r.heightArr[a];var g=0,v=0;if("top"==e.legend.position||"bottom"==e.legend.position){switch(e.legend.float){case"left":g=s.start.x+c;break;case"right":g=s.start.x+s.width-p;break;default:g=s.start.x+(s.width-p)/2}v=s.start.y+c+a*f}else p=0==a?0:r.widthArr[a-1],g=s.start.x+c+p,v=s.start.y+c+(s.height-o)/2;n.setFontSize(i.fontSize);for(var m=0;m<t.length;m++){var x=t[m];switch(x.area=[0,0,0,0],x.area[0]=g,x.area[1]=v,x.area[3]=v+f,n.beginPath(),n.setLineWidth(1*e.pix),n.setStrokeStyle(x.show?x.color:e.legend.hiddenColor),n.setFillStyle(x.show?x.color:e.legend.hiddenColor),x.legendShape){case"line":n.moveTo(g,v+.5*f-2*e.pix),n.fillRect(g,v+.5*f-2*e.pix,15*e.pix,4*e.pix);break;case"triangle":n.moveTo(g+7.5*e.pix,v+.5*f-5*e.pix),n.lineTo(g+2.5*e.pix,v+.5*f+5*e.pix),n.lineTo(g+12.5*e.pix,v+.5*f+5*e.pix),n.lineTo(g+7.5*e.pix,v+.5*f-5*e.pix);break;case"diamond":n.moveTo(g+7.5*e.pix,v+.5*f-5*e.pix),n.lineTo(g+2.5*e.pix,v+.5*f),n.lineTo(g+7.5*e.pix,v+.5*f+5*e.pix),n.lineTo(g+12.5*e.pix,v+.5*f),n.lineTo(g+7.5*e.pix,v+.5*f-5*e.pix);break;case"circle":n.moveTo(g+7.5*e.pix,v+.5*f),n.arc(g+7.5*e.pix,v+.5*f,5*e.pix,0,2*Math.PI);break;case"rect":n.moveTo(g,v+.5*f-5*e.pix),n.fillRect(g,v+.5*f-5*e.pix,15*e.pix,10*e.pix);break;case"square":n.moveTo(g+5*e.pix,v+.5*f-5*e.pix),n.fillRect(g+5*e.pix,v+.5*f-5*e.pix,10*e.pix,10*e.pix);break;case"none":break;default:n.moveTo(g,v+.5*f-5*e.pix),n.fillRect(g,v+.5*f-5*e.pix,15*e.pix,10*e.pix)}n.closePath(),n.fill(),n.stroke(),g+=u+h;var _=.5*f+.5*l-2,b=x.legendText?x.legendText:x.name;n.beginPath(),n.setFontSize(l),n.setFillStyle(x.show?e.legend.fontColor:e.legend.hiddenColor),n.fillText(b,g,v+_),n.closePath(),n.stroke(),"top"==e.legend.position||"bottom"==e.legend.position?(g+=y(b,l,n)+d,x.area[2]=g):(x.area[2]=g+y(b,l,n)+d,g-=u+h,v+=f)}}))}}function wt(t,e,i,n){var a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,r=s({},{activeOpacity:.5,activeRadius:10,offsetAngle:0,labelWidth:15,ringWidth:30,customRadius:0,border:!1,borderWidth:2,borderColor:"#FFFFFF",centerColor:"#FFFFFF",linearType:"none",customColor:[]},"pie"==e.type?e.extra.pie:e.extra.ring),o={x:e.area[3]+(e.width-e.area[1]-e.area[3])/2,y:e.area[0]+(e.height-e.area[0]-e.area[2])/2};0==i.pieChartLinePadding&&(i.pieChartLinePadding=r.activeRadius*e.pix);var c=Math.min((e.width-e.area[1]-e.area[3])/2-i.pieChartLinePadding-i.pieChartTextPadding-i._pieTextMaxLength_,(e.height-e.area[0]-e.area[2])/2-i.pieChartLinePadding-i.pieChartTextPadding);c=c<10?10:c,r.customRadius>0&&(c=r.customRadius*e.pix),t=$(t,c,a);var u=r.activeRadius*e.pix;if(r.customColor=m(r.linearType,r.customColor,t,i),t=t.map((function(t){return t._start_+=r.offsetAngle*Math.PI/180,t})),t.forEach((function(t,i){e.tooltip&&e.tooltip.index==i&&(n.beginPath(),n.setFillStyle(l(t.color,r.activeOpacity||.5)),n.moveTo(o.x,o.y),n.arc(o.x,o.y,t._radius_+u,t._start_,t._start_+2*t._proportion_*Math.PI),n.closePath(),n.fill()),n.beginPath(),n.setLineWidth(r.borderWidth*e.pix),n.lineJoin="round",n.setStrokeStyle(r.borderColor);var a,s=t.color;"custom"==r.linearType&&(a=n.createCircularGradient?n.createCircularGradient(o.x,o.y,t._radius_):n.createRadialGradient(o.x,o.y,0,o.x,o.y,t._radius_),a.addColorStop(0,l(r.customColor[t.linearIndex],1)),a.addColorStop(1,l(t.color,1)),s=a);n.setFillStyle(s),n.moveTo(o.x,o.y),n.arc(o.x,o.y,t._radius_,t._start_,t._start_+2*t._proportion_*Math.PI),n.closePath(),n.fill(),1==r.border&&n.stroke()})),"ring"===e.type){var h=.6*c;"number"===typeof r.ringWidth&&r.ringWidth>0&&(h=Math.max(0,c-r.ringWidth*e.pix)),n.beginPath(),n.setFillStyle(r.centerColor),n.moveTo(o.x,o.y),n.arc(o.x,o.y,h,0,2*Math.PI),n.closePath(),n.fill()}return!1!==e.dataLabel&&1===a&&ht(t,e,i,n,0,o),1===a&&"ring"===e.type&&rt(e,i,n,o),{center:o,radius:c,series:t}}function St(t,e){var i=Array(2),n=20037508.34*t/180,a=Math.log(Math.tan((90+e)*Math.PI/360))/(Math.PI/180);return a=20037508.34*a/180,i[0]=n,i[1]=a,i}function kt(t,e,i,n,a,r){return{x:(e-i.xMin)*n+a,y:(i.yMax-t)*n+r}}function Ct(t,e,i){if(e[1]==i[1])return!1;if(e[1]>t[1]&&i[1]>t[1])return!1;if(e[1]<t[1]&&i[1]<t[1])return!1;if(e[1]==t[1]&&i[1]>t[1])return!1;if(i[1]==t[1]&&e[1]>t[1])return!1;if(e[0]<t[0]&&i[1]<t[1])return!1;var n=i[0]-(i[0]-e[0])*(i[1]-t[1])/(i[1]-e[1]);return!(n<t[0])}function Tt(t,e,i){for(var n=0,a=0;a<e.length;a++){var r=e[a][0];1==e.length&&(r=e[a][0]);for(var o=0;o<r.length-1;o++){var s=r[o],c=r[o+1];i&&(s=St(r[o][0],r[o][1]),c=St(r[o+1][0],r[o+1][1])),Ct(t,s,c)&&(n+=1)}}return n%2==1}function Pt(t,e,i){i=0==i?1:i;for(var n=[],a=0;a<i;a++)n[a]=Math.random();return Math.floor(n.reduce((function(t,e){return t+e}))/i*(e-t))+t}function At(t,e,i,n){for(var a=!1,r=0;r<e.length;r++)if(e[r].area){if(!(t[3]<e[r].area[1]||t[0]>e[r].area[2]||t[1]>e[r].area[3]||t[2]<e[r].area[0])){a=!0;break}if(t[0]<0||t[1]<0||t[2]>i||t[3]>n){a=!0;break}a=!1}return a}function Ot(t,e,i){var n=t.series;switch(e){case"normal":for(var a=0;a<n.length;a++){var r=n[a].name,o=n[a].textSize*t.pix,s=y(r,o,i),c=void 0,l=void 0,u=void 0,h=0;while(1){h++,c=Pt(-t.width/2,t.width/2,5)-s/2,l=Pt(-t.height/2,t.height/2,5)+o/2,u=[c-5+t.width/2,l-5-o+t.height/2,c+s+5+t.width/2,l+5+t.height/2];var d=At(u,n,t.width,t.height);if(!d)break;if(1e3==h){u=[-100,-100,-100,-100];break}}n[a].area=u}break;case"vertical":for(var f=function(){return Math.random()>.7},p=0;p<n.length;p++){var g=n[p].name,v=n[p].textSize*t.pix,m=y(g,v,i),x=f(),_=void 0,b=void 0,w=void 0,S=void 0,k=0;while(1){k++;var C=void 0;if(x?(_=Pt(-t.width/2,t.width/2,5)-m/2,b=Pt(-t.height/2,t.height/2,5)+v/2,w=[b-5-m+t.width/2,-_-5+t.height/2,b+5+t.width/2,-_+v+5+t.height/2],S=[t.width-(t.width/2-t.height/2)-(-_+v+5+t.height/2)-5,t.height/2-t.width/2+(b-5-m+t.width/2)-5,t.width-(t.width/2-t.height/2)-(-_+v+5+t.height/2)+v,t.height/2-t.width/2+(b-5-m+t.width/2)+m+5],C=At(S,n,t.height,t.width)):(_=Pt(-t.width/2,t.width/2,5)-m/2,b=Pt(-t.height/2,t.height/2,5)+v/2,w=[_-5+t.width/2,b-5-v+t.height/2,_+m+5+t.width/2,b+5+t.height/2],C=At(w,n,t.width,t.height)),!C)break;if(1e3==k){w=[-1e3,-1e3,-1e3,-1e3];break}}x?(n[p].area=S,n[p].areav=w):n[p].area=w,n[p].rotate=x}break}return n}function Lt(t,e,i,n,a,r,o){for(var s=0;s<t.length;s++){var l=t[s];if(!1!==l.labelShow){var u=void 0,h=void 0,d=void 0,f=void 0,p=l.formatter?l.formatter(l,s,t,e):c.toFixed(100*l._proportion_)+"%";p=l.labelText?l.labelText:p,"right"==a&&(u=s==t.length-1?(l.funnelArea[2]+o.x)/2:(l.funnelArea[2]+t[s+1].funnelArea[2])/2,h=u+2*r,d=l.funnelArea[1]+n/2,f=l.textSize*e.pix||e.fontSize*e.pix,i.setLineWidth(1*e.pix),i.setStrokeStyle(l.color),i.setFillStyle(l.color),i.beginPath(),i.moveTo(u,d),i.lineTo(h,d),i.stroke(),i.closePath(),i.beginPath(),i.moveTo(h,d),i.arc(h,d,2*e.pix,0,2*Math.PI),i.closePath(),i.fill(),i.beginPath(),i.setFontSize(f),i.setFillStyle(l.textColor||e.fontColor),i.fillText(p,h+5,d+f/2-2),i.closePath(),i.stroke(),i.closePath()),"left"==a&&(u=s==t.length-1?(l.funnelArea[0]+o.x)/2:(l.funnelArea[0]+t[s+1].funnelArea[0])/2,h=u-2*r,d=l.funnelArea[1]+n/2,f=l.textSize*e.pix||e.fontSize*e.pix,i.setLineWidth(1*e.pix),i.setStrokeStyle(l.color),i.setFillStyle(l.color),i.beginPath(),i.moveTo(u,d),i.lineTo(h,d),i.stroke(),i.closePath(),i.beginPath(),i.moveTo(h,d),i.arc(h,d,2,0,2*Math.PI),i.closePath(),i.fill(),i.beginPath(),i.setFontSize(f),i.setFillStyle(l.textColor||e.fontColor),i.fillText(p,h-5-y(p,f,i),d+f/2-2),i.closePath(),i.stroke(),i.closePath())}}}function Dt(t,e,i,n,a,r,o){for(var s=0;s<t.length;s++){var c=t[s],l=void 0,u=void 0;c.centerText&&(l=c.funnelArea[1]+n/2,u=c.centerTextSize*e.pix||e.fontSize*e.pix,i.beginPath(),i.setFontSize(u),i.setFillStyle(c.centerTextColor||"#FFFFFF"),i.fillText(c.centerText,o.x-y(c.centerText,u,i)/2,l+u/2-2),i.closePath(),i.stroke(),i.closePath())}}function It(t,e){e.draw()}var Mt={easeIn:function(t){return Math.pow(t,3)},easeOut:function(t){return Math.pow(t-1,3)+1},easeInOut:function(t){return(t/=.5)<1?.5*Math.pow(t,3):.5*(Math.pow(t-2,3)+2)},linear:function(t){return t}};function Et(t){this.isStop=!1,t.duration="undefined"===typeof t.duration?1e3:t.duration,t.timing=t.timing||"easeInOut";var e=function(){return"undefined"!==typeof setTimeout?function(t,e){setTimeout((function(){var e=+new Date;t(e)}),e)}:"undefined"!==typeof requestAnimationFrame?requestAnimationFrame:function(t){t(null)}}(),i=null,n=function(a){if(null===a||!0===this.isStop)return t.onProcess&&t.onProcess(1),void(t.onAnimationFinish&&t.onAnimationFinish());if(null===i&&(i=a),a-i<t.duration){var r=(a-i)/t.duration,o=Mt[t.timing];r=o(r),t.onProcess&&t.onProcess(r),e(n,17)}else t.onProcess&&t.onProcess(1),t.onAnimationFinish&&t.onAnimationFinish()};n=n.bind(this),e(n,17)}function Ft(t,e,i,n){var r=this,o=this,u=e.series;"pie"!==t&&"ring"!==t&&"mount"!==t&&"rose"!==t&&"funnel"!==t||(u=function(t,e,i){var n=[];if(t.length>0&&t[0].data.constructor.toString().indexOf("Array")>-1){e._pieSeries_=t;for(var a=t[0].data,r=0;r<a.length;r++)a[r].formatter=t[0].formatter,a[r].data=a[r].value,n.push(a[r]);e.series=n}else n=t;return n}(u,e));var h=e.categories;if("mount"===t){h=[];for(var d=0;d<u.length;d++)!1!==u[d].show&&h.push(u[d].name);e.categories=h}u=v(u,e,i);var g=e.animation?e.duration:0;o.animationInstance&&o.animationInstance.stop();var x=null;if("candle"==t){var b=s({},e.extra.candle.average);b.show?(x=function(t,e,i,n){for(var a=[],r=0;r<t.length;r++){for(var o={data:[],name:e[r],color:i[r]},s=0,c=n.length;s<c;s++)if(s<t[r])o.data.push(null);else{for(var l=0,u=0;u<t[r];u++)l+=n[s-u][1];o.data.push(+(l/t[r]).toFixed(3))}a.push(o)}return a}(b.day,b.name,b.color,u[0].data),x=v(x,e,i),e.seriesMA=x):x=e.seriesMA?e.seriesMA=v(e.seriesMA,e,i):u}else x=u;e._series_=u=O(u),e.area=new Array(4);for(var w=0;w<4;w++)e.area[w]=e.padding[w]*e.pix;var S=function(t,e,i,n,a){var r={area:{start:{x:0,y:0},end:{x:0,y:0},width:0,height:0,wholeWidth:0,wholeHeight:0},points:[],widthArr:[],heightArr:[]};if(!1===e.legend.show)return n.legendData=r,r;var o=e.legend.padding*e.pix,s=e.legend.margin*e.pix,c=e.legend.fontSize?e.legend.fontSize*e.pix:i.fontSize,l=15*e.pix,u=5*e.pix,h=Math.max(e.legend.lineHeight*e.pix,c);if("top"==e.legend.position||"bottom"==e.legend.position){for(var d=[],f=0,p=[],g=[],v=0;v<t.length;v++){var m=t[v],x=m.legendText?m.legendText:m.name,_=l+u+y(x||"undefined",c,a)+e.legend.itemGap*e.pix;f+_>e.width-e.area[1]-e.area[3]?(d.push(g),p.push(f-e.legend.itemGap*e.pix),f=_,g=[m]):(f+=_,g.push(m))}if(g.length){d.push(g),p.push(f-e.legend.itemGap*e.pix),r.widthArr=p;var b=Math.max.apply(null,p);switch(e.legend.float){case"left":r.area.start.x=e.area[3],r.area.end.x=e.area[3]+b+2*o;break;case"right":r.area.start.x=e.width-e.area[1]-b-2*o,r.area.end.x=e.width-e.area[1];break;default:r.area.start.x=(e.width-b)/2-o,r.area.end.x=(e.width+b)/2+o}r.area.width=b+2*o,r.area.wholeWidth=b+2*o,r.area.height=d.length*h+2*o,r.area.wholeHeight=d.length*h+2*o+2*s,r.points=d}}else{var w=t.length,S=e.height-e.area[0]-e.area[2]-2*s-2*o,k=Math.min(Math.floor(S/h),w);switch(r.area.height=k*h+2*o,r.area.wholeHeight=k*h+2*o,e.legend.float){case"top":r.area.start.y=e.area[0]+s,r.area.end.y=e.area[0]+s+r.area.height;break;case"bottom":r.area.start.y=e.height-e.area[2]-s-r.area.height,r.area.end.y=e.height-e.area[2]-s;break;default:r.area.start.y=(e.height-r.area.height)/2,r.area.end.y=(e.height+r.area.height)/2}for(var C=w%k===0?w/k:Math.floor(w/k+1),T=[],P=0;P<C;P++){var A=t.slice(P*k,P*k+k);T.push(A)}if(r.points=T,T.length){for(var O=0;O<T.length;O++){for(var L=T[O],D=0,I=0;I<L.length;I++){var M=l+u+y(L[I].name||"undefined",c,a)+e.legend.itemGap*e.pix;M>D&&(D=M)}r.widthArr.push(D),r.heightArr.push(L.length*h+2*o)}for(var E=0,F=0;F<r.widthArr.length;F++)E+=r.widthArr[F];r.area.width=E-e.legend.itemGap*e.pix+2*o,r.area.wholeWidth=r.area.width+o}}switch(e.legend.position){case"top":r.area.start.y=e.area[0]+s,r.area.end.y=e.area[0]+s+r.area.height;break;case"bottom":r.area.start.y=e.height-e.area[2]-r.area.height-s,r.area.end.y=e.height-e.area[2]-s;break;case"left":r.area.start.x=e.area[3],r.area.end.x=e.area[3]+r.area.width;break;case"right":r.area.start.x=e.width-e.area[1]-r.area.width,r.area.end.x=e.width-e.area[1];break}return n.legendData=r,r}(x,e,i,e.chartData,n),T=S.area.wholeHeight,P=S.area.wholeWidth;switch(e.legend.position){case"top":e.area[0]+=T;break;case"bottom":e.area[2]+=T;break;case"left":e.area[3]+=P;break;case"right":e.area[1]+=P;break}var A={},L=0;if("line"===e.type||"column"===e.type||"mount"===e.type||"area"===e.type||"mix"===e.type||"candle"===e.type||"scatter"===e.type||"bubble"===e.type||"bar"===e.type){if(A=it(u,e,i,n),L=A.yAxisWidth,e.yAxis.showTitle){for(var D=0,et=0;et<e.yAxis.data.length;et++)D=Math.max(D,e.yAxis.data[et].titleFontSize?e.yAxis.data[et].titleFontSize*e.pix:i.fontSize);e.area[0]+=D}for(var ft=0,vt=0,Ct=0;Ct<L.length;Ct++)"left"==L[Ct].position?(e.area[3]+=vt>0?L[Ct].width+e.yAxis.padding*e.pix:L[Ct].width,vt+=1):"right"==L[Ct].position&&(e.area[1]+=ft>0?L[Ct].width+e.yAxis.padding*e.pix:L[Ct].width,ft+=1)}else i.yAxisWidth=L;if(e.chartData.yAxisData=A,e.categories&&e.categories.length&&"radar"!==e.type&&"gauge"!==e.type&&"bar"!==e.type){e.chartData.xAxisData=V(e.categories,e);var Tt=M(e.categories,e,i,e.chartData.xAxisData.eachSpacing,n),Pt=Tt.xAxisHeight,At=Tt.angle;i.xAxisHeight=Pt,i._xAxisTextAngle_=At,e.area[2]+=Pt,e.chartData.categoriesData=Tt}else if("line"===e.type||"area"===e.type||"scatter"===e.type||"bubble"===e.type||"bar"===e.type){e.chartData.xAxisData=E(u,e,i,n),h=e.chartData.xAxisData.rangesFormat;var Mt=M(h,e,i,e.chartData.xAxisData.eachSpacing,n),Ft=Mt.xAxisHeight,$t=Mt.angle;i.xAxisHeight=Ft,i._xAxisTextAngle_=$t,e.area[2]+=Ft,e.chartData.categoriesData=Mt}else e.chartData.xAxisData={xAxisPoints:[]};if(e.enableScroll&&"right"==e.xAxis.scrollAlign&&void 0===e._scrollDistance_){var Rt,Nt=e.chartData.xAxisData.xAxisPoints,jt=e.chartData.xAxisData.startX,Ut=e.chartData.xAxisData.endX,Bt=e.chartData.xAxisData.eachSpacing,zt=Bt*(Nt.length-1),Wt=Ut-jt;Rt=Wt-zt,o.scrollOption.currentOffset=Rt,o.scrollOption.startTouchX=Rt,o.scrollOption.distance=0,o.scrollOption.lastMoveTime=0,e._scrollDistance_=Rt}switch("pie"!==t&&"ring"!==t&&"rose"!==t||(i._pieTextMaxLength_=!1===e.dataLabel?0:function(t,e,i,n){t=$(t);for(var a=0,r=0;r<t.length;r++){var o=t[r],s=o.formatter?o.formatter(+o._proportion_.toFixed(2)):c.toFixed(100*o._proportion_)+"%";a=Math.max(a,y(s,o.textSize*n.pix||e.fontSize,i))}return a}(x,i,n,e)),t){case"word":this.animationInstance=new Et({timing:e.timing,duration:g,onProcess:function(t){n.clearRect(0,0,e.width,e.height),e.rotate&&nt(n,e),function(t,e,i,n){var a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,r=s({},{type:"normal",autoColors:!0},e.extra.word);e.chartData.wordCloudData||(e.chartData.wordCloudData=Ot(e,r.type,n)),n.beginPath(),n.setFillStyle(e.background),n.rect(0,0,e.width,e.height),n.fill(),n.save();var o=e.chartData.wordCloudData;n.translate(e.width/2,e.height/2);for(var c=0;c<o.length;c++){n.save(),o[c].rotate&&n.rotate(90*Math.PI/180);var l=o[c].name,u=o[c].textSize*e.pix,h=y(l,u,n);n.beginPath(),n.setStrokeStyle(o[c].color),n.setFillStyle(o[c].color),n.setFontSize(u),o[c].rotate?o[c].areav[0]>0&&(e.tooltip&&e.tooltip.index==c?n.strokeText(l,(o[c].areav[0]+5-e.width/2)*a-h*(1-a)/2,(o[c].areav[1]+5+u-e.height/2)*a):n.fillText(l,(o[c].areav[0]+5-e.width/2)*a-h*(1-a)/2,(o[c].areav[1]+5+u-e.height/2)*a)):o[c].area[0]>0&&(e.tooltip&&e.tooltip.index==c?n.strokeText(l,(o[c].area[0]+5-e.width/2)*a-h*(1-a)/2,(o[c].area[1]+5+u-e.height/2)*a):n.fillText(l,(o[c].area[0]+5-e.width/2)*a-h*(1-a)/2,(o[c].area[1]+5+u-e.height/2)*a)),n.stroke(),n.restore()}n.restore()}(u,e,i,n,t),It(0,n)},onAnimationFinish:function(){o.uevent.trigger("renderComplete")}});break;case"map":n.clearRect(0,0,e.width,e.height),function(t,e,i,n){var a,r,o=s({},{border:!0,mercator:!1,borderWidth:1,active:!0,borderColor:"#666666",fillOpacity:.6,activeBorderColor:"#f04864",activeFillColor:"#facc14",activeFillOpacity:1},e.extra.map),c=t,u=function(t){for(var e,i={xMin:180,xMax:0,yMin:90,yMax:0},n=0;n<t.length;n++)for(var a=t[n].geometry.coordinates,r=0;r<a.length;r++){e=a[r],1==e.length&&(e=e[0]);for(var o=0;o<e.length;o++){var s=e[o][0],c=e[o][1],l={x:s,y:c};i.xMin=i.xMin<l.x?i.xMin:l.x,i.xMax=i.xMax>l.x?i.xMax:l.x,i.yMin=i.yMin<l.y?i.yMin:l.y,i.yMax=i.yMax>l.y?i.yMax:l.y}}return i}(c);if(o.mercator){var h=St(u.xMax,u.yMax),d=St(u.xMin,u.yMin);u.xMax=h[0],u.yMax=h[1],u.xMin=d[0],u.yMin=d[1]}for(var f=e.width/Math.abs(u.xMax-u.xMin),p=e.height/Math.abs(u.yMax-u.yMin),g=f<p?f:p,v=e.width/2-Math.abs(u.xMax-u.xMin)/2*g,m=e.height/2-Math.abs(u.yMax-u.yMin)/2*g,x=0;x<c.length;x++){n.beginPath(),n.setLineWidth(o.borderWidth*e.pix),n.setStrokeStyle(o.borderColor),n.setFillStyle(l(t[x].color,t[x].fillOpacity||o.fillOpacity)),1==o.active&&e.tooltip&&e.tooltip.index==x&&(n.setStrokeStyle(o.activeBorderColor),n.setFillStyle(l(o.activeFillColor,o.activeFillOpacity)));for(var _=c[x].geometry.coordinates,b=0;b<_.length;b++){a=_[b],1==a.length&&(a=a[0]);for(var w=0;w<a.length;w++){var S=Array(2);S=o.mercator?St(a[w][0],a[w][1]):a[w],r=kt(S[1],S[0],u,g,v,m),0===w?(n.beginPath(),n.moveTo(r.x,r.y)):n.lineTo(r.x,r.y)}n.fill(),1==o.border&&n.stroke()}}if(1==e.dataLabel)for(x=0;x<c.length;x++){var k=c[x].properties.centroid;if(k){o.mercator&&(k=St(c[x].properties.centroid[0],c[x].properties.centroid[1])),r=kt(k[1],k[0],u,g,v,m);var C=c[x].textSize*e.pix||i.fontSize,T=c[x].textColor||e.fontColor;o.active&&o.activeTextColor&&e.tooltip&&e.tooltip.index==x&&(T=o.activeTextColor);var P=c[x].properties.name;n.beginPath(),n.setFontSize(C),n.setFillStyle(T),n.fillText(P,r.x-y(P,C,n)/2,r.y+C/2),n.closePath(),n.stroke()}}e.chartData.mapData={bounds:u,scale:g,xoffset:v,yoffset:m,mercator:o.mercator},mt(e,i,n,1),n.draw()}(u,e,i,n),setTimeout((function(){r.uevent.trigger("renderComplete")}),50);break;case"funnel":this.animationInstance=new Et({timing:e.timing,duration:g,onProcess:function(t){n.clearRect(0,0,e.width,e.height),e.rotate&&nt(n,e),e.chartData.funnelData=function(t,e,i,n){var a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,r=s({},{type:"funnel",activeWidth:10,activeOpacity:.3,border:!1,borderWidth:2,borderColor:"#FFFFFF",fillOpacity:1,minSize:0,labelAlign:"right",linearType:"none",customColor:[]},e.extra.funnel),o=(e.height-e.area[0]-e.area[2])/t.length,c={x:e.area[3]+(e.width-e.area[1]-e.area[3])/2,y:e.height-e.area[2]},u=r.activeWidth*e.pix,h=Math.min((e.width-e.area[1]-e.area[3])/2-u,(e.height-e.area[0]-e.area[2])/2-u),d=R(t,h,r,o,a);if(n.save(),n.translate(c.x,c.y),r.customColor=m(r.linearType,r.customColor,t,i),"pyramid"==r.type)for(var f=0;f<d.length;f++){if(f==d.length-1){e.tooltip&&e.tooltip.index==f&&(n.beginPath(),n.setFillStyle(l(d[f].color,r.activeOpacity)),n.moveTo(-u,-o),n.lineTo(-d[f].radius-u,0),n.lineTo(d[f].radius+u,0),n.lineTo(u,-o),n.lineTo(-u,-o),n.closePath(),n.fill()),d[f].funnelArea=[c.x-d[f].radius,c.y-o*(f+1),c.x+d[f].radius,c.y-o*f],n.beginPath(),n.setLineWidth(r.borderWidth*e.pix),n.setStrokeStyle(r.borderColor);var p=l(d[f].color,r.fillOpacity);if("custom"==r.linearType){var g=n.createLinearGradient(d[f].radius,-o,-d[f].radius,-o);g.addColorStop(0,l(d[f].color,r.fillOpacity)),g.addColorStop(.5,l(r.customColor[d[f].linearIndex],r.fillOpacity)),g.addColorStop(1,l(d[f].color,r.fillOpacity)),p=g}n.setFillStyle(p),n.moveTo(0,-o),n.lineTo(-d[f].radius,0),n.lineTo(d[f].radius,0),n.lineTo(0,-o),n.closePath(),n.fill(),1==r.border&&n.stroke()}else{e.tooltip&&e.tooltip.index==f&&(n.beginPath(),n.setFillStyle(l(d[f].color,r.activeOpacity)),n.moveTo(0,0),n.lineTo(-d[f].radius-u,0),n.lineTo(-d[f+1].radius-u,-o),n.lineTo(d[f+1].radius+u,-o),n.lineTo(d[f].radius+u,0),n.lineTo(0,0),n.closePath(),n.fill()),d[f].funnelArea=[c.x-d[f].radius,c.y-o*(f+1),c.x+d[f].radius,c.y-o*f],n.beginPath(),n.setLineWidth(r.borderWidth*e.pix),n.setStrokeStyle(r.borderColor);p=l(d[f].color,r.fillOpacity);if("custom"==r.linearType){g=n.createLinearGradient(d[f].radius,-o,-d[f].radius,-o);g.addColorStop(0,l(d[f].color,r.fillOpacity)),g.addColorStop(.5,l(r.customColor[d[f].linearIndex],r.fillOpacity)),g.addColorStop(1,l(d[f].color,r.fillOpacity)),p=g}n.setFillStyle(p),n.moveTo(0,0),n.lineTo(-d[f].radius,0),n.lineTo(-d[f+1].radius,-o),n.lineTo(d[f+1].radius,-o),n.lineTo(d[f].radius,0),n.lineTo(0,0),n.closePath(),n.fill(),1==r.border&&n.stroke()}n.translate(0,-o)}else{n.translate(0,-(d.length-1)*o);for(var v=0;v<d.length;v++){if(v==d.length-1){e.tooltip&&e.tooltip.index==v&&(n.beginPath(),n.setFillStyle(l(d[v].color,r.activeOpacity)),n.moveTo(-u-r.minSize/2,0),n.lineTo(-d[v].radius-u,-o),n.lineTo(d[v].radius+u,-o),n.lineTo(u+r.minSize/2,0),n.lineTo(-u-r.minSize/2,0),n.closePath(),n.fill()),d[v].funnelArea=[c.x-d[v].radius,c.y-o,c.x+d[v].radius,c.y],n.beginPath(),n.setLineWidth(r.borderWidth*e.pix),n.setStrokeStyle(r.borderColor);p=l(d[v].color,r.fillOpacity);if("custom"==r.linearType){g=n.createLinearGradient(d[v].radius,-o,-d[v].radius,-o);g.addColorStop(0,l(d[v].color,r.fillOpacity)),g.addColorStop(.5,l(r.customColor[d[v].linearIndex],r.fillOpacity)),g.addColorStop(1,l(d[v].color,r.fillOpacity)),p=g}n.setFillStyle(p),n.moveTo(0,0),n.lineTo(-r.minSize/2,0),n.lineTo(-d[v].radius,-o),n.lineTo(d[v].radius,-o),n.lineTo(r.minSize/2,0),n.lineTo(0,0),n.closePath(),n.fill(),1==r.border&&n.stroke()}else{e.tooltip&&e.tooltip.index==v&&(n.beginPath(),n.setFillStyle(l(d[v].color,r.activeOpacity)),n.moveTo(0,0),n.lineTo(-d[v+1].radius-u,0),n.lineTo(-d[v].radius-u,-o),n.lineTo(d[v].radius+u,-o),n.lineTo(d[v+1].radius+u,0),n.lineTo(0,0),n.closePath(),n.fill()),d[v].funnelArea=[c.x-d[v].radius,c.y-o*(d.length-v),c.x+d[v].radius,c.y-o*(d.length-v-1)],n.beginPath(),n.setLineWidth(r.borderWidth*e.pix),n.setStrokeStyle(r.borderColor);p=l(d[v].color,r.fillOpacity);if("custom"==r.linearType){g=n.createLinearGradient(d[v].radius,-o,-d[v].radius,-o);g.addColorStop(0,l(d[v].color,r.fillOpacity)),g.addColorStop(.5,l(r.customColor[d[v].linearIndex],r.fillOpacity)),g.addColorStop(1,l(d[v].color,r.fillOpacity)),p=g}n.setFillStyle(p),n.moveTo(0,0),n.lineTo(-d[v+1].radius,0),n.lineTo(-d[v].radius,-o),n.lineTo(d[v].radius,-o),n.lineTo(d[v+1].radius,0),n.lineTo(0,0),n.closePath(),n.fill(),1==r.border&&n.stroke()}n.translate(0,o)}}return n.restore(),!1!==e.dataLabel&&1===a&&Lt(d,e,n,o,r.labelAlign,u,c),1===a&&Dt(d,e,n,o,r.labelAlign,u,c),{center:c,radius:h,series:d}}(u,e,i,n,t),bt(e.series,e,i,n,e.chartData),mt(e,i,n,t),It(0,n)},onAnimationFinish:function(){o.uevent.trigger("renderComplete")}});break;case"line":this.animationInstance=new Et({timing:e.timing,duration:g,onProcess:function(t){n.clearRect(0,0,e.width,e.height),e.rotate&&nt(n,e),yt(0,e,0,n),xt(h,e,i,n);var a=function(t,e,i,n){var a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,r=s({},{type:"straight",width:2},e.extra.line);r.width*=e.pix;var o=e.chartData.xAxisData,c=o.xAxisPoints,l=o.eachSpacing,u=[];n.save();var h=0,d=e.width+l;return e._scrollDistance_&&0!==e._scrollDistance_&&!0===e.enableScroll&&(n.translate(e._scrollDistance_,0),h=-e._scrollDistance_-2*l+e.area[3],d=h+(e.xAxis.itemCount+4)*l),t.forEach((function(t,o){var s,p,g;s=[].concat(e.chartData.yAxisData.ranges[t.index]),p=s.pop(),g=s.shift();var v=t.data,m=X(v,p,g,c,l,e,i,a);u.push(m);var x=I(m,t);if("dash"==t.lineType){var y=t.dashLength?t.dashLength:8;y*=e.pix,n.setLineDash([y,y])}n.beginPath(),n.setStrokeStyle(t.color),n.setLineWidth(r.width),x.forEach((function(t,e){if(1===t.length)n.moveTo(t[0].x,t[0].y),n.arc(t[0].x,t[0].y,1,0,2*Math.PI);else{n.moveTo(t[0].x,t[0].y);var i=0;if("curve"===r.type)for(var a=0;a<t.length;a++){var o=t[a];if(0==i&&o.x>h&&(n.moveTo(o.x,o.y),i=1),a>0&&o.x>h&&o.x<d){var s=f(t,a-1);n.bezierCurveTo(s.ctrA.x,s.ctrA.y,s.ctrB.x,s.ctrB.y,o.x,o.y)}}if("straight"===r.type)for(var c=0;c<t.length;c++){var l=t[c];0==i&&l.x>h&&(n.moveTo(l.x,l.y),i=1),c>0&&l.x>h&&l.x<d&&n.lineTo(l.x,l.y)}if("step"===r.type)for(var u=0;u<t.length;u++){var p=t[u];0==i&&p.x>h&&(n.moveTo(p.x,p.y),i=1),u>0&&p.x>h&&p.x<d&&(n.lineTo(p.x,t[u-1].y),n.lineTo(p.x,p.y))}n.moveTo(t[0].x,t[0].y)}})),n.stroke(),n.setLineDash([]),!1!==e.dataPointShape&&at(m,t.color,t.pointShape,n,e)})),!1!==e.dataLabel&&1===a&&t.forEach((function(t,r){var o,s,u;o=[].concat(e.chartData.yAxisData.ranges[t.index]),s=o.pop(),u=o.shift();var h=t.data,d=X(h,s,u,c,l,e,i,a);ot(d,t,i,n,e)})),n.restore(),{xAxisPoints:c,calPoints:u,eachSpacing:l}}(u,e,i,n,t),r=a.xAxisPoints,o=a.calPoints,c=a.eachSpacing;e.chartData.xAxisPoints=r,e.chartData.calPoints=o,e.chartData.eachSpacing=c,_t(0,e,i,n),!1!==e.enableMarkLine&&1===t&&dt(e,i,n),bt(e.series,e,i,n,e.chartData),mt(e,i,n,t),It(0,n)},onAnimationFinish:function(){o.uevent.trigger("renderComplete")}});break;case"scatter":this.animationInstance=new Et({timing:e.timing,duration:g,onProcess:function(t){n.clearRect(0,0,e.width,e.height),e.rotate&&nt(n,e),yt(0,e,0,n),xt(h,e,i,n);var a=function(t,e,i,n){var a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,r=(s({},{type:"circle"},e.extra.scatter),e.chartData.xAxisData),o=r.xAxisPoints,c=r.eachSpacing,l=[];n.save();return e.width,e._scrollDistance_&&0!==e._scrollDistance_&&!0===e.enableScroll&&(n.translate(e._scrollDistance_,0),-e._scrollDistance_-2*c+e.area[3],e.xAxis.itemCount),t.forEach((function(t,r){var s,l,u;s=[].concat(e.chartData.yAxisData.ranges[t.index]),l=s.pop(),u=s.shift();var h=t.data,d=X(h,l,u,o,c,e,i,a);n.beginPath(),n.setStrokeStyle(t.color),n.setFillStyle(t.color),n.setLineWidth(1*e.pix);var f=t.pointShape;if("diamond"===f)d.forEach((function(t,e){null!==t&&(n.moveTo(t.x,t.y-4.5),n.lineTo(t.x-4.5,t.y),n.lineTo(t.x,t.y+4.5),n.lineTo(t.x+4.5,t.y),n.lineTo(t.x,t.y-4.5))}));else if("circle"===f)d.forEach((function(t,i){null!==t&&(n.moveTo(t.x+2.5*e.pix,t.y),n.arc(t.x,t.y,3*e.pix,0,2*Math.PI,!1))}));else if("square"===f)d.forEach((function(t,e){null!==t&&(n.moveTo(t.x-3.5,t.y-3.5),n.rect(t.x-3.5,t.y-3.5,7,7))}));else if("triangle"===f)d.forEach((function(t,e){null!==t&&(n.moveTo(t.x,t.y-4.5),n.lineTo(t.x-4.5,t.y+4.5),n.lineTo(t.x+4.5,t.y+4.5),n.lineTo(t.x,t.y-4.5))}));else if("triangle"===f)return;n.closePath(),n.fill(),n.stroke()})),!1!==e.dataLabel&&1===a&&t.forEach((function(t,r){var s,l,u;s=[].concat(e.chartData.yAxisData.ranges[t.index]),l=s.pop(),u=s.shift();var h=t.data,d=X(h,l,u,o,c,e,i,a);ot(d,t,i,n,e)})),n.restore(),{xAxisPoints:o,calPoints:l,eachSpacing:c}}(u,e,i,n,t),r=a.xAxisPoints,o=a.calPoints,c=a.eachSpacing;e.chartData.xAxisPoints=r,e.chartData.calPoints=o,e.chartData.eachSpacing=c,_t(0,e,i,n),!1!==e.enableMarkLine&&1===t&&dt(e,i,n),bt(e.series,e,i,n,e.chartData),mt(e,i,n,t),It(0,n)},onAnimationFinish:function(){o.uevent.trigger("renderComplete")}});break;case"bubble":this.animationInstance=new Et({timing:e.timing,duration:g,onProcess:function(t){n.clearRect(0,0,e.width,e.height),e.rotate&&nt(n,e),yt(0,e,0,n),xt(h,e,i,n);var a=function(t,e,i,n){var a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,r=s({},{opacity:1,border:2},e.extra.bubble),o=e.chartData.xAxisData,c=o.xAxisPoints,u=o.eachSpacing,h=[];n.save();return e.width,e._scrollDistance_&&0!==e._scrollDistance_&&!0===e.enableScroll&&(n.translate(e._scrollDistance_,0),-e._scrollDistance_-2*u+e.area[3],e.xAxis.itemCount),t.forEach((function(t,o){var s,h,d;s=[].concat(e.chartData.yAxisData.ranges[t.index]),h=s.pop(),d=s.shift();var f=t.data,p=X(f,h,d,c,u,e,i,a);n.beginPath(),n.setStrokeStyle(t.color),n.setLineWidth(r.border*e.pix),n.setFillStyle(l(t.color,r.opacity)),p.forEach((function(t,i){n.moveTo(t.x+t.r,t.y),n.arc(t.x,t.y,t.r*e.pix,0,2*Math.PI,!1)})),n.closePath(),n.fill(),n.stroke(),!1!==e.dataLabel&&1===a&&p.forEach((function(a,r){n.beginPath();var o=t.textSize*e.pix||i.fontSize;n.setFontSize(o),n.setFillStyle(t.textColor||"#FFFFFF"),n.setTextAlign("center"),n.fillText(String(a.t),a.x,a.y+o/2),n.closePath(),n.stroke(),n.setTextAlign("left")}))})),n.restore(),{xAxisPoints:c,calPoints:h,eachSpacing:u}}(u,e,i,n,t),r=a.xAxisPoints,o=a.calPoints,c=a.eachSpacing;e.chartData.xAxisPoints=r,e.chartData.calPoints=o,e.chartData.eachSpacing=c,_t(0,e,i,n),!1!==e.enableMarkLine&&1===t&&dt(e,i,n),bt(e.series,e,i,n,e.chartData),mt(e,i,n,t),It(0,n)},onAnimationFinish:function(){o.uevent.trigger("renderComplete")}});break;case"mix":this.animationInstance=new Et({timing:e.timing,duration:g,onProcess:function(t){n.clearRect(0,0,e.width,e.height),e.rotate&&nt(n,e),yt(0,e,0,n),xt(h,e,i,n);var r=function(t,e,i,n){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,o=e.chartData.xAxisData,c=o.xAxisPoints,u=o.eachSpacing,h=s({},{width:u/2,barBorderCircle:!1,barBorderRadius:[],seriesGap:2,linearType:"none",linearOpacity:1,customColor:[],colorStop:0},e.extra.mix.column),d=s({},{opacity:.2,gradient:!1},e.extra.mix.area),p=s({},{width:2},e.extra.mix.line),g=e.height-e.area[2],v=[],x=0,y=0;t.forEach((function(t,e){"column"==t.type&&(y+=1)})),n.save();var _=-2,b=c.length+2,w=0,S=e.width+u;if(e._scrollDistance_&&0!==e._scrollDistance_&&!0===e.enableScroll&&(n.translate(e._scrollDistance_,0),_=Math.floor(-e._scrollDistance_/u)-2,b=_+e.xAxis.itemCount+4,w=-e._scrollDistance_-2*u+e.area[3],S=w+(e.xAxis.itemCount+4)*u),h.customColor=m(h.linearType,h.customColor,t,i),t.forEach((function(t,o){var s,m,k;s=[].concat(e.chartData.yAxisData.ranges[t.index]),m=s.pop(),k=s.shift();var C=t.data,T=X(C,m,k,c,u,e,i,r);if(v.push(T),"column"==t.type){T=W(T,u,y,x,0,e);for(var P=0;P<T.length;P++){var A=T[P];if(null!==A&&P>_&&P<b){var O=A.x-A.width/2;e.height,A.y,e.area[2];n.beginPath();var L=A.color||t.color,D=A.color||t.color;if("none"!==h.linearType){var M=n.createLinearGradient(O,A.y,O,e.height-e.area[2]);"opacity"==h.linearType?(M.addColorStop(0,l(L,h.linearOpacity)),M.addColorStop(1,l(L,1))):(M.addColorStop(0,l(h.customColor[t.linearIndex],h.linearOpacity)),M.addColorStop(h.colorStop,l(h.customColor[t.linearIndex],h.linearOpacity)),M.addColorStop(1,l(L,1))),L=M}if(h.barBorderRadius&&4===h.barBorderRadius.length||h.barBorderCircle){var E=O,F=A.y,$=A.width,R=e.height-e.area[2]-A.y;h.barBorderCircle&&(h.barBorderRadius=[$/2,$/2,0,0]);var N=(0,a.default)(h.barBorderRadius,4),j=N[0],U=N[1],B=N[2],z=N[3],q=Math.min($/2,R/2);j=j>q?q:j,U=U>q?q:U,B=B>q?q:B,z=z>q?q:z,j=j<0?0:j,U=U<0?0:U,B=B<0?0:B,z=z<0?0:z,n.arc(E+j,F+j,j,-Math.PI,-Math.PI/2),n.arc(E+$-U,F+U,U,-Math.PI/2,0),n.arc(E+$-B,F+R-B,B,0,Math.PI/2),n.arc(E+z,F+R-z,z,Math.PI/2,Math.PI)}else n.moveTo(O,A.y),n.lineTo(O+A.width,A.y),n.lineTo(O+A.width,e.height-e.area[2]),n.lineTo(O,e.height-e.area[2]),n.lineTo(O,A.y),n.setLineWidth(1),n.setStrokeStyle(D);n.setFillStyle(L),n.closePath(),n.fill()}}x+=1}if("area"==t.type)for(var H=I(T,t),G=0;G<H.length;G++){var J=H[G];if(n.beginPath(),n.setStrokeStyle(t.color),n.setStrokeStyle(l(t.color,d.opacity)),d.gradient){var V=n.createLinearGradient(0,e.area[0],0,e.height-e.area[2]);V.addColorStop("0",l(t.color,d.opacity)),V.addColorStop("1.0",l("#FFFFFF",.1)),n.setFillStyle(V)}else n.setFillStyle(l(t.color,d.opacity));if(n.setLineWidth(2*e.pix),J.length>1){var K=J[0],Y=J[J.length-1];n.moveTo(K.x,K.y);var Q=0;if("curve"===t.style)for(var Z=0;Z<J.length;Z++){var tt=J[Z];if(0==Q&&tt.x>w&&(n.moveTo(tt.x,tt.y),Q=1),Z>0&&tt.x>w&&tt.x<S){var et=f(J,Z-1);n.bezierCurveTo(et.ctrA.x,et.ctrA.y,et.ctrB.x,et.ctrB.y,tt.x,tt.y)}}else for(var it=0;it<J.length;it++){var nt=J[it];0==Q&&nt.x>w&&(n.moveTo(nt.x,nt.y),Q=1),it>0&&nt.x>w&&nt.x<S&&n.lineTo(nt.x,nt.y)}n.lineTo(Y.x,g),n.lineTo(K.x,g),n.lineTo(K.x,K.y)}else{var rt=J[0];n.moveTo(rt.x-u/2,rt.y),n.lineTo(rt.x+u/2,rt.y),n.lineTo(rt.x+u/2,g),n.lineTo(rt.x-u/2,g),n.moveTo(rt.x-u/2,rt.y)}n.closePath(),n.fill()}if("line"==t.type){var ot=I(T,t);ot.forEach((function(i,a){if("dash"==t.lineType){var r=t.dashLength?t.dashLength:8;r*=e.pix,n.setLineDash([r,r])}if(n.beginPath(),n.setStrokeStyle(t.color),n.setLineWidth(p.width*e.pix),1===i.length)n.moveTo(i[0].x,i[0].y),n.arc(i[0].x,i[0].y,1,0,2*Math.PI);else{n.moveTo(i[0].x,i[0].y);var o=0;if("curve"==t.style)for(var s=0;s<i.length;s++){var c=i[s];if(0==o&&c.x>w&&(n.moveTo(c.x,c.y),o=1),s>0&&c.x>w&&c.x<S){var l=f(i,s-1);n.bezierCurveTo(l.ctrA.x,l.ctrA.y,l.ctrB.x,l.ctrB.y,c.x,c.y)}}else for(var u=0;u<i.length;u++){var h=i[u];0==o&&h.x>w&&(n.moveTo(h.x,h.y),o=1),u>0&&h.x>w&&h.x<S&&n.lineTo(h.x,h.y)}n.moveTo(i[0].x,i[0].y)}n.stroke(),n.setLineDash([])}))}"point"==t.type&&(t.addPoint=!0),1==t.addPoint&&"column"!==t.type&&at(T,t.color,t.pointShape,n,e)})),!1!==e.dataLabel&&1===r){x=0;t.forEach((function(t,a){var o,s,l;o=[].concat(e.chartData.yAxisData.ranges[t.index]),s=o.pop(),l=o.shift();var h=t.data,d=X(h,s,l,c,u,e,i,r);"column"!==t.type?ot(d,t,i,n,e):(d=W(d,u,y,x,0,e),ot(d,t,i,n,e),x+=1)}))}return n.restore(),{xAxisPoints:c,calPoints:v,eachSpacing:u}}(u,e,i,n,t),o=r.xAxisPoints,c=r.calPoints,d=r.eachSpacing;e.chartData.xAxisPoints=o,e.chartData.calPoints=c,e.chartData.eachSpacing=d,_t(0,e,i,n),!1!==e.enableMarkLine&&1===t&&dt(e,i,n),bt(e.series,e,i,n,e.chartData),mt(e,i,n,t),It(0,n)},onAnimationFinish:function(){o.uevent.trigger("renderComplete")}});break;case"column":this.animationInstance=new Et({timing:e.timing,duration:g,onProcess:function(t){n.clearRect(0,0,e.width,e.height),e.rotate&&nt(n,e),yt(0,e,0,n),xt(h,e,i,n);var r=function(t,e,i,n){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,o=e.chartData.xAxisData,c=o.xAxisPoints,u=o.eachSpacing,h=s({},{type:"group",width:u/2,meterBorder:4,meterFillColor:"#FFFFFF",barBorderCircle:!1,barBorderRadius:[],seriesGap:2,linearType:"none",linearOpacity:1,customColor:[],colorStop:0},e.extra.column),d=[];n.save();var f=-2,p=c.length+2;return e._scrollDistance_&&0!==e._scrollDistance_&&!0===e.enableScroll&&(n.translate(e._scrollDistance_,0),f=Math.floor(-e._scrollDistance_/u)-2,p=f+e.xAxis.itemCount+4),e.tooltip&&e.tooltip.textList&&e.tooltip.textList.length&&1===r&&pt(e.tooltip.offset.x,e,0,n,u),h.customColor=m(h.linearType,h.customColor,t,i),t.forEach((function(o,s){var g,v,m;g=[].concat(e.chartData.yAxisData.ranges[o.index]),v=g.pop(),m=g.shift();var x=o.data;switch(h.type){case"group":var y=X(x,v,m,c,u,e,i,r),_=Z(x,v,m,c,u,e,i,s,t,r);d.push(_),y=W(y,u,t.length,s,0,e);for(var b=0;b<y.length;b++){var w=y[b];if(null!==w&&b>f&&b<p){var S=w.x-w.width/2,k=e.height-w.y-e.area[2];n.beginPath();var C=w.color||o.color,T=w.color||o.color;if("none"!==h.linearType){var P=n.createLinearGradient(S,w.y,S,e.height-e.area[2]);"opacity"==h.linearType?(P.addColorStop(0,l(C,h.linearOpacity)),P.addColorStop(1,l(C,1))):(P.addColorStop(0,l(h.customColor[o.linearIndex],h.linearOpacity)),P.addColorStop(h.colorStop,l(h.customColor[o.linearIndex],h.linearOpacity)),P.addColorStop(1,l(C,1))),C=P}if(h.barBorderRadius&&4===h.barBorderRadius.length||!0===h.barBorderCircle){var A=S,O=w.y,L=w.width,D=e.height-e.area[2]-w.y;h.barBorderCircle&&(h.barBorderRadius=[L/2,L/2,0,0]);var I=(0,a.default)(h.barBorderRadius,4),M=I[0],E=I[1],F=I[2],$=I[3],R=Math.min(L/2,D/2);M=M>R?R:M,E=E>R?R:E,F=F>R?R:F,$=$>R?R:$,M=M<0?0:M,E=E<0?0:E,F=F<0?0:F,$=$<0?0:$,n.arc(A+M,O+M,M,-Math.PI,-Math.PI/2),n.arc(A+L-E,O+E,E,-Math.PI/2,0),n.arc(A+L-F,O+D-F,F,0,Math.PI/2),n.arc(A+$,O+D-$,$,Math.PI/2,Math.PI)}else n.moveTo(S,w.y),n.lineTo(S+w.width,w.y),n.lineTo(S+w.width,e.height-e.area[2]),n.lineTo(S,e.height-e.area[2]),n.lineTo(S,w.y),n.setLineWidth(1),n.setStrokeStyle(T);n.setFillStyle(C),n.closePath(),n.fill()}}break;case"stack":y=Z(x,v,m,c,u,e,i,s,t,r);d.push(y),y=G(y,u,t.length,0,0,e);for(var N=0;N<y.length;N++){var j=y[N];if(null!==j&&N>f&&N<p){n.beginPath();C=j.color||o.color,S=j.x-j.width/2+1,k=e.height-j.y-e.area[2];var U=e.height-j.y0-e.area[2];s>0&&(k-=U),n.setFillStyle(C),n.moveTo(S,j.y),n.fillRect(S,j.y,j.width,k),n.closePath(),n.fill()}}break;case"meter":y=X(x,v,m,c,u,e,i,r);d.push(y),y=H(y,u,t.length,s,0,e,h.meterBorder);for(var B=0;B<y.length;B++){var z=y[B];if(null!==z&&B>f&&B<p){n.beginPath(),0==s&&h.meterBorder>0&&(n.setStrokeStyle(o.color),n.setLineWidth(h.meterBorder*e.pix)),0==s?n.setFillStyle(h.meterFillColor):n.setFillStyle(z.color||o.color);S=z.x-z.width/2,k=e.height-z.y-e.area[2];if(h.barBorderRadius&&4===h.barBorderRadius.length||!0===h.barBorderCircle){var q=S,J=z.y,V=z.width,K=e.height-e.area[2]-z.y;h.barBorderCircle&&(h.barBorderRadius=[V/2,V/2,0,0]);var Y=(0,a.default)(h.barBorderRadius,4),Q=Y[0],tt=Y[1],et=Y[2],it=Y[3],nt=Math.min(V/2,K/2);Q=Q>nt?nt:Q,tt=tt>nt?nt:tt,et=et>nt?nt:et,it=it>nt?nt:it,Q=Q<0?0:Q,tt=tt<0?0:tt,et=et<0?0:et,it=it<0?0:it,n.arc(q+Q,J+Q,Q,-Math.PI,-Math.PI/2),n.arc(q+V-tt,J+tt,tt,-Math.PI/2,0),n.arc(q+V-et,J+K-et,et,0,Math.PI/2),n.arc(q+it,J+K-it,it,Math.PI/2,Math.PI),n.fill()}else n.moveTo(S,z.y),n.lineTo(S+z.width,z.y),n.lineTo(S+z.width,e.height-e.area[2]),n.lineTo(S,e.height-e.area[2]),n.lineTo(S,z.y),n.fill();0==s&&h.meterBorder>0&&(n.closePath(),n.stroke())}}break}})),!1!==e.dataLabel&&1===r&&t.forEach((function(a,o){var s,l,d;s=[].concat(e.chartData.yAxisData.ranges[a.index]),l=s.pop(),d=s.shift();var f=a.data;switch(h.type){case"group":var p=X(f,l,d,c,u,e,i,r);p=W(p,u,t.length,o,0,e),ot(p,a,i,n,e);break;case"stack":p=Z(f,l,d,c,u,e,i,o,t,r);ot(p,a,i,n,e);break;case"meter":p=X(f,l,d,c,u,e,i,r);ot(p,a,i,n,e);break}})),n.restore(),{xAxisPoints:c,calPoints:d,eachSpacing:u}}(u,e,i,n,t),o=r.xAxisPoints,c=r.calPoints,d=r.eachSpacing;e.chartData.xAxisPoints=o,e.chartData.calPoints=c,e.chartData.eachSpacing=d,_t(0,e,i,n),!1!==e.enableMarkLine&&1===t&&dt(e,i,n),bt(e.series,e,i,n,e.chartData),mt(e,i,n,t),It(0,n)},onAnimationFinish:function(){o.uevent.trigger("renderComplete")}});break;case"mount":this.animationInstance=new Et({timing:e.timing,duration:g,onProcess:function(t){n.clearRect(0,0,e.width,e.height),e.rotate&&nt(n,e),yt(0,e,0,n),xt(h,e,i,n);var r=function(t,e,i,n){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,o=e.chartData.xAxisData,c=o.xAxisPoints,u=o.eachSpacing,h=s({},{type:"mount",widthRatio:1,borderWidth:1,barBorderCircle:!1,barBorderRadius:[],linearType:"none",linearOpacity:1,customColor:[],colorStop:0},e.extra.mount);h.widthRatio=h.widthRatio<=0?0:h.widthRatio,h.widthRatio=h.widthRatio>=2?2:h.widthRatio,n.save();var d,f,p,g=-2,v=c.length+2;e._scrollDistance_&&0!==e._scrollDistance_&&!0===e.enableScroll&&(n.translate(e._scrollDistance_,0),g=Math.floor(-e._scrollDistance_/u)-2,v=g+e.xAxis.itemCount+4),h.customColor=m(h.linearType,h.customColor,t,i),d=[].concat(e.chartData.yAxisData.ranges[0]),f=d.pop(),p=d.shift();var x=Y(t,f,p,c,u,e,h,r);switch(h.type){case"bar":for(var y=0;y<x.length;y++){var _=x[y];if(null!==_&&y>g&&y<v){var b=_.x-u*h.widthRatio/2,w=e.height-_.y-e.area[2];n.beginPath();var S=_.color||t[y].color,k=_.color||t[y].color;if("none"!==h.linearType){var C=n.createLinearGradient(b,_.y,b,e.height-e.area[2]);"opacity"==h.linearType?(C.addColorStop(0,l(S,h.linearOpacity)),C.addColorStop(1,l(S,1))):(C.addColorStop(0,l(h.customColor[t[y].linearIndex],h.linearOpacity)),C.addColorStop(h.colorStop,l(h.customColor[t[y].linearIndex],h.linearOpacity)),C.addColorStop(1,l(S,1))),S=C}if(h.barBorderRadius&&4===h.barBorderRadius.length||!0===h.barBorderCircle){var T=b,P=_.y,A=_.width,O=e.height-e.area[2]-_.y-h.borderWidth*e.pix/2;h.barBorderCircle&&(h.barBorderRadius=[A/2,A/2,0,0]);var L=(0,a.default)(h.barBorderRadius,4),D=L[0],I=L[1],M=L[2],E=L[3],F=Math.min(A/2,O/2);D=D>F?F:D,I=I>F?F:I,M=M>F?F:M,E=E>F?F:E,D=D<0?0:D,I=I<0?0:I,M=M<0?0:M,E=E<0?0:E,n.arc(T+D,P+D,D,-Math.PI,-Math.PI/2),n.arc(T+A-I,P+I,I,-Math.PI/2,0),n.arc(T+A-M,P+O-M,M,0,Math.PI/2),n.arc(T+E,P+O-E,E,Math.PI/2,Math.PI)}else n.moveTo(b,_.y),n.lineTo(b+_.width,_.y),n.lineTo(b+_.width,e.height-e.area[2]),n.lineTo(b,e.height-e.area[2]),n.lineTo(b,_.y);n.setStrokeStyle(k),n.setFillStyle(S),h.borderWidth>0&&(n.setLineWidth(h.borderWidth*e.pix),n.closePath(),n.stroke()),n.fill()}}break;case"triangle":for(var $=0;$<x.length;$++){var R=x[$];if(null!==R&&$>g&&$<v){b=R.x-u*h.widthRatio/2,w=e.height-R.y-e.area[2];n.beginPath();S=R.color||t[$].color,k=R.color||t[$].color;if("none"!==h.linearType){C=n.createLinearGradient(b,R.y,b,e.height-e.area[2]);"opacity"==h.linearType?(C.addColorStop(0,l(S,h.linearOpacity)),C.addColorStop(1,l(S,1))):(C.addColorStop(0,l(h.customColor[t[$].linearIndex],h.linearOpacity)),C.addColorStop(h.colorStop,l(h.customColor[t[$].linearIndex],h.linearOpacity)),C.addColorStop(1,l(S,1))),S=C}n.moveTo(b,e.height-e.area[2]),n.lineTo(R.x,R.y),n.lineTo(b+R.width,e.height-e.area[2]),n.setStrokeStyle(k),n.setFillStyle(S),h.borderWidth>0&&(n.setLineWidth(h.borderWidth*e.pix),n.stroke()),n.fill()}}break;case"mount":for(var N=0;N<x.length;N++){var j=x[N];if(null!==j&&N>g&&N<v){b=j.x-u*h.widthRatio/2,w=e.height-j.y-e.area[2];n.beginPath();S=j.color||t[N].color,k=j.color||t[N].color;if("none"!==h.linearType){C=n.createLinearGradient(b,j.y,b,e.height-e.area[2]);"opacity"==h.linearType?(C.addColorStop(0,l(S,h.linearOpacity)),C.addColorStop(1,l(S,1))):(C.addColorStop(0,l(h.customColor[t[N].linearIndex],h.linearOpacity)),C.addColorStop(h.colorStop,l(h.customColor[t[N].linearIndex],h.linearOpacity)),C.addColorStop(1,l(S,1))),S=C}n.moveTo(b,e.height-e.area[2]),n.bezierCurveTo(j.x-j.width/4,e.height-e.area[2],j.x-j.width/4,j.y,j.x,j.y),n.bezierCurveTo(j.x+j.width/4,j.y,j.x+j.width/4,e.height-e.area[2],b+j.width,e.height-e.area[2]),n.setStrokeStyle(k),n.setFillStyle(S),h.borderWidth>0&&(n.setLineWidth(h.borderWidth*e.pix),n.stroke()),n.fill()}}break;case"sharp":for(var U=0;U<x.length;U++){var B=x[U];if(null!==B&&U>g&&U<v){b=B.x-u*h.widthRatio/2,w=e.height-B.y-e.area[2];n.beginPath();S=B.color||t[U].color,k=B.color||t[U].color;if("none"!==h.linearType){C=n.createLinearGradient(b,B.y,b,e.height-e.area[2]);"opacity"==h.linearType?(C.addColorStop(0,l(S,h.linearOpacity)),C.addColorStop(1,l(S,1))):(C.addColorStop(0,l(h.customColor[t[U].linearIndex],h.linearOpacity)),C.addColorStop(h.colorStop,l(h.customColor[t[U].linearIndex],h.linearOpacity)),C.addColorStop(1,l(S,1))),S=C}n.moveTo(b,e.height-e.area[2]),n.quadraticCurveTo(B.x-0,e.height-e.area[2]-w/4,B.x,B.y),n.quadraticCurveTo(B.x+0,e.height-e.area[2]-w/4,b+B.width,e.height-e.area[2]),n.setStrokeStyle(k),n.setFillStyle(S),h.borderWidth>0&&(n.setLineWidth(h.borderWidth*e.pix),n.stroke()),n.fill()}}break}if(!1!==e.dataLabel&&1===r){var z,W,q;z=[].concat(e.chartData.yAxisData.ranges[0]),W=z.pop(),q=z.shift();x=Y(t,W,q,c,u,e,h,r);st(x,t,i,n,e)}return n.restore(),{xAxisPoints:c,calPoints:x,eachSpacing:u}}(u,e,i,n,t),o=r.xAxisPoints,c=r.calPoints,d=r.eachSpacing;e.chartData.xAxisPoints=o,e.chartData.calPoints=c,e.chartData.eachSpacing=d,_t(0,e,i,n),!1!==e.enableMarkLine&&1===t&&dt(e,i,n),bt(e.series,e,i,n,e.chartData),mt(e,i,n,t),It(0,n)},onAnimationFinish:function(){o.uevent.trigger("renderComplete")}});break;case"bar":this.animationInstance=new Et({timing:e.timing,duration:g,onProcess:function(t){n.clearRect(0,0,e.width,e.height),e.rotate&&nt(n,e),xt(h,e,i,n);var r=function(t,e,i,n){for(var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,o=[],c=(e.height-e.area[0]-e.area[2])/e.categories.length,u=0;u<e.categories.length;u++)o.push(e.area[0]+c/2+c*u);var h=s({},{type:"group",width:c/2,meterBorder:4,meterFillColor:"#FFFFFF",barBorderCircle:!1,barBorderRadius:[],seriesGap:2,linearType:"none",linearOpacity:1,customColor:[],colorStop:0},e.extra.bar),d=[];n.save();var f=-2,p=o.length+2;return e.tooltip&&e.tooltip.textList&&e.tooltip.textList.length&&1===r&&gt(e.tooltip.offset.y,e,0,n,c),h.customColor=m(h.linearType,h.customColor,t,i),t.forEach((function(s,u){var g,v,m;g=[].concat(e.chartData.xAxisData.ranges),m=g.pop(),v=g.shift();var x=s.data;switch(h.type){case"group":var y=Q(x,v,m,o,c,e,i,r),_=tt(x,v,m,o,c,e,i,u,t,r);d.push(_),y=q(y,c,t.length,u,0,e);for(var b=0;b<y.length;b++){var w=y[b];if(null!==w&&b>f&&b<p){var S=e.area[3],k=w.y-w.width/2;w.height;n.beginPath();var C=w.color||s.color,T=w.color||s.color;if("none"!==h.linearType){var P=n.createLinearGradient(S,w.y,w.x,w.y);"opacity"==h.linearType?(P.addColorStop(0,l(C,h.linearOpacity)),P.addColorStop(1,l(C,1))):(P.addColorStop(0,l(h.customColor[s.linearIndex],h.linearOpacity)),P.addColorStop(h.colorStop,l(h.customColor[s.linearIndex],h.linearOpacity)),P.addColorStop(1,l(C,1))),C=P}if(h.barBorderRadius&&4===h.barBorderRadius.length||!0===h.barBorderCircle){var A=S,O=w.width,L=w.y-w.width/2,D=w.height;h.barBorderCircle&&(h.barBorderRadius=[O/2,O/2,0,0]);var I=(0,a.default)(h.barBorderRadius,4),M=I[0],E=I[1],F=I[2],$=I[3],R=Math.min(O/2,D/2);M=M>R?R:M,E=E>R?R:E,F=F>R?R:F,$=$>R?R:$,M=M<0?0:M,E=E<0?0:E,F=F<0?0:F,$=$<0?0:$,n.arc(A+$,L+$,$,-Math.PI,-Math.PI/2),n.arc(w.x-M,L+M,M,-Math.PI/2,0),n.arc(w.x-E,L+O-E,E,0,Math.PI/2),n.arc(A+F,L+O-F,F,Math.PI/2,Math.PI)}else n.moveTo(S,k),n.lineTo(w.x,k),n.lineTo(w.x,k+w.width),n.lineTo(S,k+w.width),n.lineTo(S,k),n.setLineWidth(1),n.setStrokeStyle(T);n.setFillStyle(C),n.closePath(),n.fill()}}break;case"stack":y=tt(x,v,m,o,c,e,i,u,t,r);d.push(y),y=J(y,c,t.length,0,0,e);for(var N=0;N<y.length;N++){var j=y[N];if(null!==j&&N>f&&N<p){n.beginPath();C=j.color||s.color,S=j.x0;n.setFillStyle(C),n.moveTo(S,j.y-j.width/2),n.fillRect(S,j.y-j.width/2,j.height,j.width),n.closePath(),n.fill()}}break}})),!1!==e.dataLabel&&1===r&&t.forEach((function(a,s){var l,u,d;l=[].concat(e.chartData.xAxisData.ranges),d=l.pop(),u=l.shift();var f=a.data;switch(h.type){case"group":var p=Q(f,u,d,o,c,e,i,r);p=q(p,c,t.length,s,0,e),ct(p,a,i,n,e);break;case"stack":p=tt(f,u,d,o,c,e,i,s,t,r);ct(p,a,i,n,e);break}})),{yAxisPoints:o,calPoints:d,eachSpacing:c}}(u,e,i,n,t),o=r.yAxisPoints,c=r.calPoints,d=r.eachSpacing;e.chartData.yAxisPoints=o,e.chartData.xAxisPoints=e.chartData.xAxisData.xAxisPoints,e.chartData.calPoints=c,e.chartData.eachSpacing=d,_t(0,e,i,n),!1!==e.enableMarkLine&&1===t&&dt(e,i,n),bt(e.series,e,i,n,e.chartData),mt(e,i,n,t),It(0,n)},onAnimationFinish:function(){o.uevent.trigger("renderComplete")}});break;case"area":this.animationInstance=new Et({timing:e.timing,duration:g,onProcess:function(t){n.clearRect(0,0,e.width,e.height),e.rotate&&nt(n,e),yt(0,e,0,n),xt(h,e,i,n);var a=function(t,e,i,n){var a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,r=s({},{type:"straight",opacity:.2,addLine:!1,width:2,gradient:!1},e.extra.area),o=e.chartData.xAxisData,c=o.xAxisPoints,u=o.eachSpacing,h=e.height-e.area[2],d=[];n.save();var p=0,g=e.width+u;return e._scrollDistance_&&0!==e._scrollDistance_&&!0===e.enableScroll&&(n.translate(e._scrollDistance_,0),p=-e._scrollDistance_-2*u+e.area[3],g=p+(e.xAxis.itemCount+4)*u),t.forEach((function(t,o){var s,v,m;s=[].concat(e.chartData.yAxisData.ranges[t.index]),v=s.pop(),m=s.shift();var x=t.data,y=X(x,v,m,c,u,e,i,a);d.push(y);for(var _=I(y,t),b=0;b<_.length;b++){var w=_[b];if(n.beginPath(),n.setStrokeStyle(l(t.color,r.opacity)),r.gradient){var S=n.createLinearGradient(0,e.area[0],0,e.height-e.area[2]);S.addColorStop("0",l(t.color,r.opacity)),S.addColorStop("1.0",l("#FFFFFF",.1)),n.setFillStyle(S)}else n.setFillStyle(l(t.color,r.opacity));if(n.setLineWidth(r.width*e.pix),w.length>1){var k=w[0],C=w[w.length-1];n.moveTo(k.x,k.y);var T=0;if("curve"===r.type)for(var P=0;P<w.length;P++){var A=w[P];if(0==T&&A.x>p&&(n.moveTo(A.x,A.y),T=1),P>0&&A.x>p&&A.x<g){var O=f(w,P-1);n.bezierCurveTo(O.ctrA.x,O.ctrA.y,O.ctrB.x,O.ctrB.y,A.x,A.y)}}if("straight"===r.type)for(var L=0;L<w.length;L++){var D=w[L];0==T&&D.x>p&&(n.moveTo(D.x,D.y),T=1),L>0&&D.x>p&&D.x<g&&n.lineTo(D.x,D.y)}if("step"===r.type)for(var M=0;M<w.length;M++){var E=w[M];0==T&&E.x>p&&(n.moveTo(E.x,E.y),T=1),M>0&&E.x>p&&E.x<g&&(n.lineTo(E.x,w[M-1].y),n.lineTo(E.x,E.y))}n.lineTo(C.x,h),n.lineTo(k.x,h),n.lineTo(k.x,k.y)}else{var F=w[0];n.moveTo(F.x-u/2,F.y),n.lineTo(F.x+u/2,F.y),n.lineTo(F.x+u/2,h),n.lineTo(F.x-u/2,h),n.moveTo(F.x-u/2,F.y)}if(n.closePath(),n.fill(),r.addLine){if("dash"==t.lineType){var $=t.dashLength?t.dashLength:8;$*=e.pix,n.setLineDash([$,$])}if(n.beginPath(),n.setStrokeStyle(t.color),n.setLineWidth(r.width*e.pix),1===w.length)n.moveTo(w[0].x,w[0].y),n.arc(w[0].x,w[0].y,1,0,2*Math.PI);else{n.moveTo(w[0].x,w[0].y);var R=0;if("curve"===r.type)for(var N=0;N<w.length;N++){var j=w[N];if(0==R&&j.x>p&&(n.moveTo(j.x,j.y),R=1),N>0&&j.x>p&&j.x<g){var U=f(w,N-1);n.bezierCurveTo(U.ctrA.x,U.ctrA.y,U.ctrB.x,U.ctrB.y,j.x,j.y)}}if("straight"===r.type)for(var B=0;B<w.length;B++){var z=w[B];0==R&&z.x>p&&(n.moveTo(z.x,z.y),R=1),B>0&&z.x>p&&z.x<g&&n.lineTo(z.x,z.y)}if("step"===r.type)for(var W=0;W<w.length;W++){var q=w[W];0==R&&q.x>p&&(n.moveTo(q.x,q.y),R=1),W>0&&q.x>p&&q.x<g&&(n.lineTo(q.x,w[W-1].y),n.lineTo(q.x,q.y))}n.moveTo(w[0].x,w[0].y)}n.stroke(),n.setLineDash([])}}!1!==e.dataPointShape&&at(y,t.color,t.pointShape,n,e)})),!1!==e.dataLabel&&1===a&&t.forEach((function(t,r){var o,s,l;o=[].concat(e.chartData.yAxisData.ranges[t.index]),s=o.pop(),l=o.shift();var h=t.data,d=X(h,s,l,c,u,e,i,a);ot(d,t,i,n,e)})),n.restore(),{xAxisPoints:c,calPoints:d,eachSpacing:u}}(u,e,i,n,t),r=a.xAxisPoints,o=a.calPoints,c=a.eachSpacing;e.chartData.xAxisPoints=r,e.chartData.calPoints=o,e.chartData.eachSpacing=c,_t(0,e,i,n),!1!==e.enableMarkLine&&1===t&&dt(e,i,n),bt(e.series,e,i,n,e.chartData),mt(e,i,n,t),It(0,n)},onAnimationFinish:function(){o.uevent.trigger("renderComplete")}});break;case"ring":this.animationInstance=new Et({timing:e.timing,duration:g,onProcess:function(t){n.clearRect(0,0,e.width,e.height),e.rotate&&nt(n,e),e.chartData.pieData=wt(u,e,i,n,t),bt(e.series,e,i,n,e.chartData),mt(e,i,n,t),It(0,n)},onAnimationFinish:function(){o.uevent.trigger("renderComplete")}});break;case"pie":this.animationInstance=new Et({timing:e.timing,duration:g,onProcess:function(t){n.clearRect(0,0,e.width,e.height),e.rotate&&nt(n,e),e.chartData.pieData=wt(u,e,i,n,t),bt(e.series,e,i,n,e.chartData),mt(e,i,n,t),It(0,n)},onAnimationFinish:function(){o.uevent.trigger("renderComplete")}});break;case"rose":this.animationInstance=new Et({timing:e.timing,duration:g,onProcess:function(t){n.clearRect(0,0,e.width,e.height),e.rotate&&nt(n,e),e.chartData.pieData=function(t,e,i,n){var a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,r=s({},{type:"area",activeOpacity:.5,activeRadius:10,offsetAngle:0,labelWidth:15,border:!1,borderWidth:2,borderColor:"#FFFFFF",linearType:"none",customColor:[]},e.extra.rose);0==i.pieChartLinePadding&&(i.pieChartLinePadding=r.activeRadius*e.pix);var o={x:e.area[3]+(e.width-e.area[1]-e.area[3])/2,y:e.area[0]+(e.height-e.area[0]-e.area[2])/2},c=Math.min((e.width-e.area[1]-e.area[3])/2-i.pieChartLinePadding-i.pieChartTextPadding-i._pieTextMaxLength_,(e.height-e.area[0]-e.area[2])/2-i.pieChartLinePadding-i.pieChartTextPadding);c=c<10?10:c;var u=r.minRadius||.5*c;t=N(t,r.type,u,c,a);var h=r.activeRadius*e.pix;return r.customColor=m(r.linearType,r.customColor,t,i),t=t.map((function(t){return t._start_+=(r.offsetAngle||0)*Math.PI/180,t})),t.forEach((function(t,i){e.tooltip&&e.tooltip.index==i&&(n.beginPath(),n.setFillStyle(l(t.color,r.activeOpacity||.5)),n.moveTo(o.x,o.y),n.arc(o.x,o.y,h+t._radius_,t._start_,t._start_+2*t._rose_proportion_*Math.PI),n.closePath(),n.fill()),n.beginPath(),n.setLineWidth(r.borderWidth*e.pix),n.lineJoin="round",n.setStrokeStyle(r.borderColor);var a,s=t.color;"custom"==r.linearType&&(a=n.createCircularGradient?n.createCircularGradient(o.x,o.y,t._radius_):n.createRadialGradient(o.x,o.y,0,o.x,o.y,t._radius_),a.addColorStop(0,l(r.customColor[t.linearIndex],1)),a.addColorStop(1,l(t.color,1)),s=a);n.setFillStyle(s),n.moveTo(o.x,o.y),n.arc(o.x,o.y,t._radius_,t._start_,t._start_+2*t._rose_proportion_*Math.PI),n.closePath(),n.fill(),1==r.border&&n.stroke()})),!1!==e.dataLabel&&1===a&&ht(t,e,i,n,0,o),{center:o,radius:c,series:t}}(u,e,i,n,t),bt(e.series,e,i,n,e.chartData),mt(e,i,n,t),It(0,n)},onAnimationFinish:function(){o.uevent.trigger("renderComplete")}});break;case"radar":this.animationInstance=new Et({timing:e.timing,duration:g,onProcess:function(t){n.clearRect(0,0,e.width,e.height),e.rotate&&nt(n,e),e.chartData.radarData=function(t,e,i,n){var a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,r=s({},{gridColor:"#cccccc",gridType:"radar",gridEval:1,axisLabel:!1,axisLabelTofix:0,labelColor:"#666666",labelPointShow:!1,labelPointRadius:3,labelPointColor:"#cccccc",opacity:.2,gridCount:3,border:!1,borderWidth:2,linearType:"none",customColor:[]},e.extra.radar),o=C(e.categories.length),c={x:e.area[3]+(e.width-e.area[1]-e.area[3])/2,y:e.area[0]+(e.height-e.area[0]-e.area[2])/2},u=(e.width-e.area[1]-e.area[3])/2,h=(e.height-e.area[0]-e.area[2])/2,d=Math.min(u-(k(e.categories,i.fontSize,n)+i.radarLabelTextMargin),h-i.radarLabelTextMargin);d-=i.radarLabelTextMargin*e.pix,d=d<10?10:d,n.beginPath(),n.setLineWidth(1*e.pix),n.setStrokeStyle(r.gridColor),o.forEach((function(t,e){var i=p(d*Math.cos(t),d*Math.sin(t),c);n.moveTo(c.x,c.y),e%r.gridEval==0&&n.lineTo(i.x,i.y)})),n.stroke(),n.closePath();for(var f=function(t){var i={};if(n.beginPath(),n.setLineWidth(1*e.pix),n.setStrokeStyle(r.gridColor),"radar"==r.gridType)o.forEach((function(e,a){var o=p(d/r.gridCount*t*Math.cos(e),d/r.gridCount*t*Math.sin(e),c);0===a?(i=o,n.moveTo(o.x,o.y)):n.lineTo(o.x,o.y)})),n.lineTo(i.x,i.y);else{var a=p(d/r.gridCount*t*Math.cos(1.5),d/r.gridCount*t*Math.sin(1.5),c);n.arc(c.x,c.y,c.y-a.y,0,2*Math.PI,!1)}n.stroke(),n.closePath()},g=1;g<=r.gridCount;g++)f(g);r.customColor=m(r.linearType,r.customColor,t,i);var v=F(o,c,d,t,e,a);if(v.forEach((function(i,a){n.beginPath(),n.setLineWidth(r.borderWidth*e.pix),n.setStrokeStyle(i.color);var o,s=l(i.color,r.opacity);"custom"==r.linearType&&(o=n.createCircularGradient?n.createCircularGradient(c.x,c.y,d):n.createRadialGradient(c.x,c.y,0,c.x,c.y,d),o.addColorStop(0,l(r.customColor[t[a].linearIndex],r.opacity)),o.addColorStop(1,l(i.color,r.opacity)),s=o);if(n.setFillStyle(s),i.data.forEach((function(t,e){0===e?n.moveTo(t.position.x,t.position.y):n.lineTo(t.position.x,t.position.y)})),n.closePath(),n.fill(),!0===r.border&&n.stroke(),n.closePath(),!1!==e.dataPointShape){var u=i.data.map((function(t){return t.position}));at(u,i.color,i.pointShape,n,e)}})),!0===r.axisLabel){var x=Math.max(r.max,Math.max.apply(null,_(t))),y=d/r.gridCount,b=e.fontSize*e.pix;n.setFontSize(b),n.setFillStyle(e.fontColor),n.setTextAlign("left");for(g=0;g<r.gridCount+1;g++){var w=g*x/r.gridCount;w=w.toFixed(r.axisLabelTofix),n.fillText(String(w),c.x+3*e.pix,c.y-g*y+b/2)}}return ut(o,d,c,e,i,n),!1!==e.dataLabel&&1===a&&(v.forEach((function(t,a){n.beginPath();var r=t.textSize*e.pix||i.fontSize;n.setFontSize(r),n.setFillStyle(t.textColor||e.fontColor),t.data.forEach((function(t,e){Math.abs(t.position.x-c.x)<2?t.position.y<c.y?(n.setTextAlign("center"),n.fillText(t.value,t.position.x,t.position.y-4)):(n.setTextAlign("center"),n.fillText(t.value,t.position.x,t.position.y+r+2)):t.position.x<c.x?(n.setTextAlign("right"),n.fillText(t.value,t.position.x-4,t.position.y+r/2-2)):(n.setTextAlign("left"),n.fillText(t.value,t.position.x+4,t.position.y+r/2-2))})),n.closePath(),n.stroke()})),n.setTextAlign("left")),{center:c,radius:d,angleList:o}}(u,e,i,n,t),bt(e.series,e,i,n,e.chartData),mt(e,i,n,t),It(0,n)},onAnimationFinish:function(){o.uevent.trigger("renderComplete")}});break;case"arcbar":this.animationInstance=new Et({timing:e.timing,duration:g,onProcess:function(t){n.clearRect(0,0,e.width,e.height),e.rotate&&nt(n,e),e.chartData.arcbarData=function(t,e,i,n){var a,r,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,c=s({},{startAngle:.75,endAngle:.25,type:"default",direction:"cw",lineCap:"round",width:12,gap:2,linearType:"none",customColor:[]},e.extra.arcbar);t=j(t,c,o),a=c.centerX||c.centerY?{x:c.centerX?c.centerX:e.width/2,y:c.centerY?c.centerY:e.height/2}:{x:e.width/2,y:e.height/2},c.radius?r=c.radius:(r=Math.min(a.x,a.y),r-=5*e.pix,r-=c.width/2),r=r<10?10:r,c.customColor=m(c.linearType,c.customColor,t,i);for(var u=0;u<t.length;u++){var h=t[u];n.setLineWidth(c.width*e.pix),n.setStrokeStyle(c.backgroundColor||"#E9E9E9"),n.setLineCap(c.lineCap),n.beginPath(),"default"==c.type?n.arc(a.x,a.y,r-(c.width*e.pix+c.gap*e.pix)*u,c.startAngle*Math.PI,c.endAngle*Math.PI,"ccw"==c.direction):n.arc(a.x,a.y,r-(c.width*e.pix+c.gap*e.pix)*u,0,2*Math.PI,"ccw"==c.direction),n.stroke();var d=h.color;if("custom"==c.linearType){var f=n.createLinearGradient(a.x-r,a.y,a.x+r,a.y);f.addColorStop(1,l(c.customColor[h.linearIndex],1)),f.addColorStop(0,l(h.color,1)),d=f}n.setLineWidth(c.width*e.pix),n.setStrokeStyle(d),n.setLineCap(c.lineCap),n.beginPath(),n.arc(a.x,a.y,r-(c.width*e.pix+c.gap*e.pix)*u,c.startAngle*Math.PI,h._proportion_*Math.PI,"ccw"==c.direction),n.stroke()}return rt(e,i,n,a),{center:a,radius:r,series:t}}(u,e,i,n,t),It(0,n)},onAnimationFinish:function(){o.uevent.trigger("renderComplete")}});break;case"gauge":this.animationInstance=new Et({timing:e.timing,duration:g,onProcess:function(t){n.clearRect(0,0,e.width,e.height),e.rotate&&nt(n,e),e.chartData.gaugeData=function(t,e,i,n,a){var r=arguments.length>5&&void 0!==arguments[5]?arguments[5]:1,o=s({},{type:"default",startAngle:.75,endAngle:.25,width:15,labelOffset:13,splitLine:{fixRadius:0,splitNumber:10,width:15,color:"#FFFFFF",childNumber:5,childWidth:5},pointer:{width:15,color:"auto"}},i.extra.gauge);void 0==o.oldAngle&&(o.oldAngle=o.startAngle),void 0==o.oldData&&(o.oldData=0),t=B(t,o.startAngle,o.endAngle);var c={x:i.width/2,y:i.height/2},u=Math.min(c.x,c.y);u-=5*i.pix,u-=o.width/2,u=u<10?10:u;var h=u-o.width,d=0;if("progress"==o.type){var f=u-3*o.width;a.beginPath();var p=a.createLinearGradient(c.x,c.y-f,c.x,c.y+f);p.addColorStop("0",l(e[0].color,.3)),p.addColorStop("1.0",l("#FFFFFF",.1)),a.setFillStyle(p),a.arc(c.x,c.y,f,0,2*Math.PI,!1),a.fill(),a.setLineWidth(o.width),a.setStrokeStyle(l(e[0].color,.3)),a.setLineCap("round"),a.beginPath(),a.arc(c.x,c.y,h,o.startAngle*Math.PI,o.endAngle*Math.PI,!1),a.stroke(),d=o.startAngle-o.endAngle+1;o.splitLine.splitNumber;var g=d/o.splitLine.splitNumber/o.splitLine.childNumber,v=-u-.5*o.width-o.splitLine.fixRadius,m=-u-o.width-o.splitLine.fixRadius+o.splitLine.width;a.save(),a.translate(c.x,c.y),a.rotate((o.startAngle-1)*Math.PI);for(var x=o.splitLine.splitNumber*o.splitLine.childNumber+1,y=e[0].data*r,_=0;_<x;_++)a.beginPath(),y>_/x?a.setStrokeStyle(l(e[0].color,1)):a.setStrokeStyle(l(e[0].color,.3)),a.setLineWidth(3*i.pix),a.moveTo(v,0),a.lineTo(m,0),a.stroke(),a.rotate(g*Math.PI);a.restore(),e=U(e,o,r),a.setLineWidth(o.width),a.setStrokeStyle(e[0].color),a.setLineCap("round"),a.beginPath(),a.arc(c.x,c.y,h,o.startAngle*Math.PI,e[0]._proportion_*Math.PI,!1),a.stroke();var b=u-2.5*o.width;a.save(),a.translate(c.x,c.y),a.rotate((e[0]._proportion_-1)*Math.PI),a.beginPath(),a.setLineWidth(o.width/3);var w=a.createLinearGradient(0,.6*-b,0,.6*b);w.addColorStop("0",l("#FFFFFF",0)),w.addColorStop("0.5",l(e[0].color,1)),w.addColorStop("1.0",l("#FFFFFF",0)),a.setStrokeStyle(w),a.arc(0,0,b,.85*Math.PI,1.15*Math.PI,!1),a.stroke(),a.beginPath(),a.setLineWidth(1),a.setStrokeStyle(e[0].color),a.setFillStyle(e[0].color),a.moveTo(-b-o.width/3/2,-4),a.lineTo(-b-o.width/3/2-4,0),a.lineTo(-b-o.width/3/2,4),a.lineTo(-b-o.width/3/2,-4),a.stroke(),a.fill(),a.restore()}else{a.setLineWidth(o.width),a.setLineCap("butt");for(var S=0;S<t.length;S++){var k=t[S];a.beginPath(),a.setStrokeStyle(k.color),a.arc(c.x,c.y,u,k._startAngle_*Math.PI,k._endAngle_*Math.PI,!1),a.stroke()}a.save(),d=o.startAngle-o.endAngle+1;var C=d/o.splitLine.splitNumber,T=d/o.splitLine.splitNumber/o.splitLine.childNumber,P=-u-.5*o.width-o.splitLine.fixRadius,A=-u-.5*o.width-o.splitLine.fixRadius+o.splitLine.width,O=-u-.5*o.width-o.splitLine.fixRadius+o.splitLine.childWidth;a.translate(c.x,c.y),a.rotate((o.startAngle-1)*Math.PI);for(var L=0;L<o.splitLine.splitNumber+1;L++)a.beginPath(),a.setStrokeStyle(o.splitLine.color),a.setLineWidth(2*i.pix),a.moveTo(P,0),a.lineTo(A,0),a.stroke(),a.rotate(C*Math.PI);a.restore(),a.save(),a.translate(c.x,c.y),a.rotate((o.startAngle-1)*Math.PI);for(var D=0;D<o.splitLine.splitNumber*o.splitLine.childNumber+1;D++)a.beginPath(),a.setStrokeStyle(o.splitLine.color),a.setLineWidth(1*i.pix),a.moveTo(P,0),a.lineTo(O,0),a.stroke(),a.rotate(T*Math.PI);a.restore(),e=z(e,t,o,r);for(var I=0;I<e.length;I++){var M=e[I];a.save(),a.translate(c.x,c.y),a.rotate((M._proportion_-1)*Math.PI),a.beginPath(),a.setFillStyle(M.color),a.moveTo(o.pointer.width,0),a.lineTo(0,-o.pointer.width/2),a.lineTo(-h,0),a.lineTo(0,o.pointer.width/2),a.lineTo(o.pointer.width,0),a.closePath(),a.fill(),a.beginPath(),a.setFillStyle("#FFFFFF"),a.arc(0,0,o.pointer.width/6,0,2*Math.PI,!1),a.fill(),a.restore()}!1!==i.dataLabel&&lt(o,u,c,i,n,a)}return rt(i,n,a,c),1===r&&"gauge"===i.type&&(i.extra.gauge.oldAngle=e[0]._proportion_,i.extra.gauge.oldData=e[0].data),{center:c,radius:u,innerRadius:h,categories:t,totalAngle:d}}(h,u,e,i,n,t),It(0,n)},onAnimationFinish:function(){o.uevent.trigger("renderComplete")}});break;case"candle":this.animationInstance=new Et({timing:e.timing,duration:g,onProcess:function(t){n.clearRect(0,0,e.width,e.height),e.rotate&&nt(n,e),yt(0,e,0,n),xt(h,e,i,n);var a=function(t,e,i,n,a){var r=arguments.length>5&&void 0!==arguments[5]?arguments[5]:1,o=s({},{color:{},average:{}},i.extra.candle);o.color=s({},{upLine:"#f04864",upFill:"#f04864",downLine:"#2fc25b",downFill:"#2fc25b"},o.color),o.average=s({},{show:!1,name:[],day:[],color:n.color},o.average),i.extra.candle=o;var c=i.chartData.xAxisData,l=c.xAxisPoints,u=c.eachSpacing,h=[];a.save();var d=-2,p=l.length+2,g=0,v=i.width+u;return i._scrollDistance_&&0!==i._scrollDistance_&&!0===i.enableScroll&&(a.translate(i._scrollDistance_,0),d=Math.floor(-i._scrollDistance_/u)-2,p=d+i.xAxis.itemCount+4,g=-i._scrollDistance_-2*u+i.area[3],v=g+(i.xAxis.itemCount+4)*u),(o.average.show||e)&&e.forEach((function(t,e){var o,s,c;o=[].concat(i.chartData.yAxisData.ranges[t.index]),s=o.pop(),c=o.shift();for(var h=t.data,d=X(h,s,c,l,u,i,n,r),p=I(d,t),m=0;m<p.length;m++){var x=p[m];if(a.beginPath(),a.setStrokeStyle(t.color),a.setLineWidth(1),1===x.length)a.moveTo(x[0].x,x[0].y),a.arc(x[0].x,x[0].y,1,0,2*Math.PI);else{a.moveTo(x[0].x,x[0].y);for(var y=0,_=0;_<x.length;_++){var b=x[_];if(0==y&&b.x>g&&(a.moveTo(b.x,b.y),y=1),_>0&&b.x>g&&b.x<v){var w=f(x,_-1);a.bezierCurveTo(w.ctrA.x,w.ctrA.y,w.ctrB.x,w.ctrB.y,b.x,b.y)}}a.moveTo(x[0].x,x[0].y)}a.closePath(),a.stroke()}})),t.forEach((function(t,e){var s,c,f;s=[].concat(i.chartData.yAxisData.ranges[t.index]),c=s.pop(),f=s.shift();var g=t.data,v=K(g,c,f,l,u,i,n,r);h.push(v);for(var m=I(v,t),x=0;x<m[0].length;x++)if(x>d&&x<p){var y=m[0][x];a.beginPath(),g[x][1]-g[x][0]>0?(a.setStrokeStyle(o.color.upLine),a.setFillStyle(o.color.upFill),a.setLineWidth(1*i.pix),a.moveTo(y[3].x,y[3].y),a.lineTo(y[1].x,y[1].y),a.lineTo(y[1].x-u/4,y[1].y),a.lineTo(y[0].x-u/4,y[0].y),a.lineTo(y[0].x,y[0].y),a.lineTo(y[2].x,y[2].y),a.lineTo(y[0].x,y[0].y),a.lineTo(y[0].x+u/4,y[0].y),a.lineTo(y[1].x+u/4,y[1].y),a.lineTo(y[1].x,y[1].y),a.moveTo(y[3].x,y[3].y)):(a.setStrokeStyle(o.color.downLine),a.setFillStyle(o.color.downFill),a.setLineWidth(1*i.pix),a.moveTo(y[3].x,y[3].y),a.lineTo(y[0].x,y[0].y),a.lineTo(y[0].x-u/4,y[0].y),a.lineTo(y[1].x-u/4,y[1].y),a.lineTo(y[1].x,y[1].y),a.lineTo(y[2].x,y[2].y),a.lineTo(y[1].x,y[1].y),a.lineTo(y[1].x+u/4,y[1].y),a.lineTo(y[0].x+u/4,y[0].y),a.lineTo(y[0].x,y[0].y),a.moveTo(y[3].x,y[3].y)),a.closePath(),a.fill(),a.stroke()}})),a.restore(),{xAxisPoints:l,calPoints:h,eachSpacing:u}}(u,x,e,i,n,t),r=a.xAxisPoints,o=a.calPoints,c=a.eachSpacing;e.chartData.xAxisPoints=r,e.chartData.calPoints=o,e.chartData.eachSpacing=c,_t(0,e,i,n),!1!==e.enableMarkLine&&1===t&&dt(e,i,n),bt(x?0:e.series,e,i,n,e.chartData),mt(e,i,n,t),It(0,n)},onAnimationFinish:function(){o.uevent.trigger("renderComplete")}});break}}function $t(){this.events={}}Et.prototype.stop=function(){this.isStop=!0},$t.prototype.addEventListener=function(t,e){this.events[t]=this.events[t]||[],this.events[t].push(e)},$t.prototype.delEventListener=function(t){this.events[t]=[]},$t.prototype.trigger=function(){for(var t=arguments.length,e=Array(t),i=0;i<t;i++)e[i]=arguments[i];var n=e[0],a=e.slice(1);this.events[n]&&this.events[n].forEach((function(t){try{t.apply(null,a)}catch(e){}}))};var Rt=function(t){t.pix=t.pixelRatio?t.pixelRatio:1,t.fontSize=t.fontSize?t.fontSize:13,t.fontColor=t.fontColor?t.fontColor:o.fontColor,""!=t.background&&"none"!=t.background||(t.background="#FFFFFF"),t.title=s({},t.title),t.subtitle=s({},t.subtitle),t.duration=t.duration?t.duration:1e3,t.yAxis=s({},{data:[],showTitle:!1,disabled:!1,disableGrid:!1,gridSet:"number",splitNumber:5,gridType:"solid",dashLength:4*t.pix,gridColor:"#cccccc",padding:10,fontColor:"#666666"},t.yAxis),t.xAxis=s({},{rotateLabel:!1,rotateAngle:45,disabled:!1,disableGrid:!1,splitNumber:5,calibration:!1,gridType:"solid",dashLength:4,scrollAlign:"left",boundaryGap:"center",axisLine:!0,axisLineColor:"#cccccc"},t.xAxis),t.xAxis.scrollPosition=t.xAxis.scrollAlign,t.legend=s({},{show:!0,position:"bottom",float:"center",backgroundColor:"rgba(0,0,0,0)",borderColor:"rgba(0,0,0,0)",borderWidth:0,padding:5,margin:5,itemGap:10,fontSize:t.fontSize,lineHeight:t.fontSize,fontColor:t.fontColor,formatter:{},hiddenColor:"#CECECE"},t.legend),t.extra=s({},t.extra),t.rotate=!!t.rotate,t.animation=!!t.animation,t.rotate=!!t.rotate,t.canvas2d=!!t.canvas2d;var e=s({},o);if(e.color=t.color?t.color:e.color,"pie"==t.type&&(e.pieChartLinePadding=!1===t.dataLabel?0:t.extra.pie.labelWidth*t.pix||e.pieChartLinePadding*t.pix),"ring"==t.type&&(e.pieChartLinePadding=!1===t.dataLabel?0:t.extra.ring.labelWidth*t.pix||e.pieChartLinePadding*t.pix),"rose"==t.type&&(e.pieChartLinePadding=!1===t.dataLabel?0:t.extra.rose.labelWidth*t.pix||e.pieChartLinePadding*t.pix),e.pieChartTextPadding=!1===t.dataLabel?0:e.pieChartTextPadding*t.pix,e.rotate=t.rotate,t.rotate){var i=t.width,n=t.height;t.width=n,t.height=i}if(t.padding=t.padding?t.padding:e.padding,e.yAxisWidth=o.yAxisWidth*t.pix,e.xAxisHeight=o.xAxisHeight*t.pix,t.enableScroll&&t.xAxis.scrollShow&&(e.xAxisHeight+=6*t.pix),e.fontSize=t.fontSize*t.pix,e.titleFontSize=o.titleFontSize*t.pix,e.subtitleFontSize=o.subtitleFontSize*t.pix,e.toolTipPadding=o.toolTipPadding*t.pix,e.toolTipLineHeight=o.toolTipLineHeight*t.pix,!t.context)throw new Error("[uCharts] \u672a\u83b7\u53d6\u5230context\uff01\u6ce8\u610f\uff1av2.0\u7248\u672c\u540e\uff0c\u9700\u8981\u81ea\u884c\u83b7\u53d6canvas\u7684\u7ed8\u56fe\u4e0a\u4e0b\u6587\u5e76\u4f20\u5165opts.context\uff01");this.context=t.context,this.context.setTextAlign||(this.context.setStrokeStyle=function(t){return this.strokeStyle=t},this.context.setLineWidth=function(t){return this.lineWidth=t},this.context.setLineCap=function(t){return this.lineCap=t},this.context.setFontSize=function(t){return this.font=t+"px sans-serif"},this.context.setFillStyle=function(t){return this.fillStyle=t},this.context.setTextAlign=function(t){return this.textAlign=t},this.context.draw=function(){}),this.context.setLineDash||(this.context.setLineDash=function(t){}),t.chartData={},this.uevent=new $t,this.scrollOption={currentOffset:0,startTouchX:0,distance:0,lastMoveTime:0},this.opts=t,this.config=e,Ft.call(this,t.type,t,e,this.context)};Rt.prototype.updateData=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.opts=s({},this.opts,t),this.opts.updateData=!0;var e=t.scrollPosition||"current";switch(e){case"current":this.opts._scrollDistance_=this.scrollOption.currentOffset;break;case"left":this.opts._scrollDistance_=0,this.scrollOption={currentOffset:0,startTouchX:0,distance:0,lastMoveTime:0};break;case"right":var i=it(this.opts.series,this.opts,this.config,this.context),n=i.yAxisWidth;this.config.yAxisWidth=n;var a=0,r=V(this.opts.categories,this.opts,this.config),o=r.xAxisPoints,c=r.startX,l=r.endX,u=r.eachSpacing,h=u*(o.length-1),d=l-c;a=d-h,this.scrollOption={currentOffset:a,startTouchX:a,distance:0,lastMoveTime:0},this.opts._scrollDistance_=a;break}Ft.call(this,this.opts.type,this.opts,this.config,this.context)},Rt.prototype.zoom=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.opts.xAxis.itemCount;if(!0===this.opts.enableScroll){var i=Math.round(Math.abs(this.scrollOption.currentOffset)/this.opts.chartData.eachSpacing)+Math.round(this.opts.xAxis.itemCount/2);this.opts.animation=!1,this.opts.xAxis.itemCount=e.itemCount;var n=it(this.opts.series,this.opts,this.config,this.context),a=n.yAxisWidth;this.config.yAxisWidth=a;var r=0,o=V(this.opts.categories,this.opts,this.config),s=o.xAxisPoints,c=o.startX,l=o.endX,u=o.eachSpacing,d=u*i,f=l-c,p=f-u*(s.length-1);r=f/2-d,r>0&&(r=0),r<p&&(r=p),this.scrollOption={currentOffset:r,startTouchX:0,distance:0,lastMoveTime:0},h(this,r,this.opts.chartData,this.config,this.opts),this.opts._scrollDistance_=r,Ft.call(this,this.opts.type,this.opts,this.config,this.context)}else t("log","[uCharts] \u8bf7\u542f\u7528\u6eda\u52a8\u6761\u540e\u4f7f\u7528"," at uni_modules/qiun-data-charts/js_sdk/u-charts/u-charts.js:6828")},Rt.prototype.dobuleZoom=function(e){if(!0===this.opts.enableScroll){var i=e.changedTouches;if(!(i.length<2)){for(var n=0;n<i.length;n++)i[n].x=i[n].x?i[n].x:i[n].clientX,i[n].y=i[n].y?i[n].y:i[n].clientY;var a=[w(i[0],this.opts,e),w(i[1],this.opts,e)],r=Math.abs(a[0].x-a[1].x);if(!this.scrollOption.moveCount){var o={changedTouches:[{x:i[0].x,y:this.opts.area[0]/this.opts.pix+2}]},s={changedTouches:[{x:i[1].x,y:this.opts.area[0]/this.opts.pix+2}]};this.opts.rotate&&(o={changedTouches:[{x:this.opts.height/this.opts.pix-this.opts.area[0]/this.opts.pix-2,y:i[0].y}]},s={changedTouches:[{x:this.opts.height/this.opts.pix-this.opts.area[0]/this.opts.pix-2,y:i[1].y}]});var c=this.getCurrentDataIndex(o).index,l=this.getCurrentDataIndex(s).index,u=Math.abs(c-l);return this.scrollOption.moveCount=u,this.scrollOption.moveCurrent1=Math.min(c,l),void(this.scrollOption.moveCurrent2=Math.max(c,l))}var d=r/this.scrollOption.moveCount,f=(this.opts.width-this.opts.area[1]-this.opts.area[3])/d;f=f<=2?2:f,f=f>=this.opts.categories.length?this.opts.categories.length:f,this.opts.animation=!1,this.opts.xAxis.itemCount=f;var p=0,g=V(this.opts.categories,this.opts,this.config),v=g.xAxisPoints,m=g.startX,x=g.endX,y=g.eachSpacing,_=y*this.scrollOption.moveCurrent1,b=x-m,S=b-y*(v.length-1);p=-_+Math.min(a[0].x,a[1].x)-this.opts.area[3]-y,p>0&&(p=0),p<S&&(p=S),this.scrollOption.currentOffset=p,this.scrollOption.startTouchX=0,this.scrollOption.distance=0,h(this,p,this.opts.chartData,this.config,this.opts),this.opts._scrollDistance_=p,Ft.call(this,this.opts.type,this.opts,this.config,this.context)}}else t("log","[uCharts] \u8bf7\u542f\u7528\u6eda\u52a8\u6761\u540e\u4f7f\u7528"," at uni_modules/qiun-data-charts/js_sdk/u-charts/u-charts.js:6868")},Rt.prototype.stopAnimation=function(){this.animationInstance&&this.animationInstance.stop()},Rt.prototype.addEventListener=function(t,e){this.uevent.addEventListener(t,e)},Rt.prototype.delEventListener=function(t){this.uevent.delEventListener(t)},Rt.prototype.getCurrentDataIndex=function(t){var e=null;if(e=t.changedTouches?t.changedTouches[0]:t.mp.changedTouches[0],e){var i=w(e,this.opts,t);return"pie"===this.opts.type||"ring"===this.opts.type?function(t,e,i){var n=-1,a=$(e.series);if(e&&e.center&&D(t,e.center,e.radius)){var r=Math.atan2(e.center.y-t.y,t.x-e.center.x);r=-r,i.extra.pie&&i.extra.pie.offsetAngle&&(r-=i.extra.pie.offsetAngle*Math.PI/180),i.extra.ring&&i.extra.ring.offsetAngle&&(r-=i.extra.ring.offsetAngle*Math.PI/180);for(var o=0,s=a.length;o<s;o++)if(d(r,a[o]._start_,a[o]._start_+2*a[o]._proportion_*Math.PI)){n=o;break}}return n}({x:i.x,y:i.y},this.opts.chartData.pieData,this.opts):"rose"===this.opts.type?function(t,e,i){var n=-1,a=N(i._series_,i.extra.rose.type,e.radius,e.radius);if(e&&e.center&&D(t,e.center,e.radius)){var r=Math.atan2(e.center.y-t.y,t.x-e.center.x);r=-r,i.extra.rose&&i.extra.rose.offsetAngle&&(r-=i.extra.rose.offsetAngle*Math.PI/180);for(var o=0,s=a.length;o<s;o++)if(d(r,a[o]._start_,a[o]._start_+2*a[o]._rose_proportion_*Math.PI)){n=o;break}}return n}({x:i.x,y:i.y},this.opts.chartData.pieData,this.opts):"radar"===this.opts.type?function(t,e,i){var n=2*Math.PI/i,a=-1;if(D(t,e.center,e.radius)){var r=function(t){return t<0&&(t+=2*Math.PI),t>2*Math.PI&&(t-=2*Math.PI),t},o=Math.atan2(e.center.y-t.y,t.x-e.center.x);o*=-1,o<0&&(o+=2*Math.PI);var s=e.angleList.map((function(t){return t=r(-1*t),t}));s.forEach((function(t,e){var i=r(t-n/2),s=r(t+n/2);s<i&&(s+=2*Math.PI),(o>=i&&o<=s||o+2*Math.PI>=i&&o+2*Math.PI<=s)&&(a=e)}))}return a}({x:i.x,y:i.y},this.opts.chartData.radarData,this.opts.categories.length):"funnel"===this.opts.type?function(t,e){for(var i=-1,n=0,a=e.series.length;n<a;n++){var r=e.series[n];if(t.x>r.funnelArea[0]&&t.x<r.funnelArea[2]&&t.y>r.funnelArea[1]&&t.y<r.funnelArea[3]){i=n;break}}return i}({x:i.x,y:i.y},this.opts.chartData.funnelData):"map"===this.opts.type?function(t,e){for(var i=-1,n=e.chartData.mapData,a=e.series,r=function(t,e,i,n,a,r){return{x:(e-a)/n+i.xMin,y:i.yMax-(t-r)/n}}(t.y,t.x,n.bounds,n.scale,n.xoffset,n.yoffset),o=[r.x,r.y],s=0,c=a.length;s<c;s++){var l=a[s].geometry.coordinates;if(Tt(o,l,e.chartData.mapData.mercator)){i=s;break}}return i}({x:i.x,y:i.y},this.opts):"word"===this.opts.type?function(t,e){for(var i=-1,n=0,a=e.length;n<a;n++){var r=e[n];if(t.x>r.area[0]&&t.x<r.area[2]&&t.y>r.area[1]&&t.y<r.area[3]){i=n;break}}return i}({x:i.x,y:i.y},this.opts.chartData.wordCloudData):"bar"===this.opts.type?function(t,e,i,n){var a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,r={index:-1,group:[]},o=i.chartData.eachSpacing/2,s=i.chartData.yAxisPoints;return e&&e.length>0&&L(t,i,n)&&s.forEach((function(e,i){t.y+a+o>e&&(r.index=i)})),r}({x:i.x,y:i.y},this.opts.chartData.calPoints,this.opts,this.config,Math.abs(this.scrollOption.currentOffset)):function(t,e,i,n){var a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,r={index:-1,group:[]},o=i.chartData.eachSpacing/2,s=[];if(e&&e.length>0){if(i.categories){for(var c=1;c<i.chartData.xAxisPoints.length;c++)s.push(i.chartData.xAxisPoints[c]-o);"line"!=i.type&&"area"!=i.type||"justify"!=i.xAxis.boundaryGap||(s=i.chartData.xAxisPoints)}else o=0;if(L(t,i,n))if(i.categories)s.forEach((function(e,i){t.x+a+o>e&&(r.index=i)}));else{for(var l=Array(e.length),u=0;u<e.length;u++){l[u]=Array(e[u].length);for(var h=0;h<e[u].length;h++)l[u][h]=Math.abs(e[u][h].x-t.x)}for(var d=Array(l.length),f=Array(l.length),p=0;p<l.length;p++)d[p]=Math.min.apply(null,l[p]),f[p]=l[p].indexOf(d[p]);var g=Math.min.apply(null,d);r.index=[];for(var v=0;v<d.length;v++)d[v]==g&&(r.group.push(v),r.index.push(f[v]))}}return r}({x:i.x,y:i.y},this.opts.chartData.calPoints,this.opts,this.config,Math.abs(this.scrollOption.currentOffset))}return-1},Rt.prototype.getLegendDataIndex=function(t){var e=null;if(e=t.changedTouches?t.changedTouches[0]:t.mp.changedTouches[0],e){var i=w(e,this.opts,t);return function(t,e,i){var n=-1;if(function(t,e){return t.x>e.start.x&&t.x<e.end.x&&t.y>e.start.y&&t.y<e.end.y}(t,e.area)){for(var a=e.points,r=-1,o=0,s=a.length;o<s;o++)for(var c=a[o],l=0;l<c.length;l++){r+=1;var u=c[l]["area"];if(u&&t.x>u[0]-0&&t.x<u[2]+0&&t.y>u[1]-0&&t.y<u[3]+0){n=r;break}}return n}return n}({x:i.x,y:i.y},this.opts.chartData.legendData)}return-1},Rt.prototype.touchLegend=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=null;if(i=t.changedTouches?t.changedTouches[0]:t.mp.changedTouches[0],i){w(i,this.opts,t);var n=this.getLegendDataIndex(t);n>=0&&("candle"==this.opts.type?this.opts.seriesMA[n].show=!this.opts.seriesMA[n].show:this.opts.series[n].show=!this.opts.series[n].show,this.opts.animation=!!e.animation,this.opts._scrollDistance_=this.scrollOption.currentOffset,Ft.call(this,this.opts.type,this.opts,this.config,this.context))}},Rt.prototype.showToolTip=function(e){var i=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=null;a=e.changedTouches?e.changedTouches[0]:e.mp.changedTouches[0],a||t("log","[uCharts] \u672a\u83b7\u53d6\u5230event\u5750\u6807\u4fe1\u606f"," at uni_modules/qiun-data-charts/js_sdk/u-charts/u-charts.js:7046");var r=w(a,this.opts,e),o=this.scrollOption.currentOffset,c=s({},this.opts,{_scrollDistance_:o,animation:!1});if("line"===this.opts.type||"area"===this.opts.type||"column"===this.opts.type||"scatter"===this.opts.type||"bubble"===this.opts.type){var l=this.getCurrentDataIndex(e),u=void 0==n.index?l.index:n.index;if(u>-1||u.length>0){var h=S(this.opts.series,u,l.group);if(0!==h.length){var d=T(h,this.opts,u,l.group,this.opts.categories,n),f=d.textList,p=d.offset;p.y=r.y,c.tooltip={textList:void 0!==n.textList?n.textList:f,offset:void 0!==n.offset?n.offset:p,option:n,index:u}}}Ft.call(this,c.type,c,this.config,this.context)}if("mount"===this.opts.type){u=void 0==n.index?this.getCurrentDataIndex(e).index:n.index;if(u>-1){c=s({},this.opts,{animation:!1}),h=s({},c._series_[u]),f=[{text:n.formatter?n.formatter(h,void 0,u,c):h.name+": "+h.data,color:h.color}],p={x:c.chartData.calPoints[u].x,y:r.y};c.tooltip={textList:n.textList?n.textList:f,offset:void 0!==n.offset?n.offset:p,option:n,index:u}}Ft.call(this,c.type,c,this.config,this.context)}if("bar"===this.opts.type){l=this.getCurrentDataIndex(e),u=void 0==n.index?l.index:n.index;if(u>-1||u.length>0){h=S(this.opts.series,u,l.group);if(0!==h.length){d=T(h,this.opts,u,l.group,this.opts.categories,n),f=d.textList,p=d.offset;p.x=r.x,c.tooltip={textList:void 0!==n.textList?n.textList:f,offset:void 0!==n.offset?n.offset:p,option:n,index:u}}}Ft.call(this,c.type,c,this.config,this.context)}if("mix"===this.opts.type){l=this.getCurrentDataIndex(e),u=void 0==n.index?l.index:n.index;if(u>-1){o=this.scrollOption.currentOffset,c=s({},this.opts,{_scrollDistance_:o,animation:!1}),h=S(this.opts.series,u);if(0!==h.length){var g=P(h,this.opts,u,this.opts.categories,n);f=g.textList,p=g.offset;p.y=r.y,c.tooltip={textList:n.textList?n.textList:f,offset:void 0!==n.offset?n.offset:p,option:n,index:u}}}Ft.call(this,c.type,c,this.config,this.context)}if("candle"===this.opts.type){l=this.getCurrentDataIndex(e),u=void 0==n.index?l.index:n.index;if(u>-1){o=this.scrollOption.currentOffset,c=s({},this.opts,{_scrollDistance_:o,animation:!1}),h=S(this.opts.series,u);if(0!==h.length){d=A(this.opts.series[0].data,h,this.opts,u,this.opts.categories,this.opts.extra.candle,n),f=d.textList,p=d.offset;p.y=r.y,c.tooltip={textList:n.textList?n.textList:f,offset:void 0!==n.offset?n.offset:p,option:n,index:u}}}Ft.call(this,c.type,c,this.config,this.context)}if("pie"===this.opts.type||"ring"===this.opts.type||"rose"===this.opts.type||"funnel"===this.opts.type){u=void 0==n.index?this.getCurrentDataIndex(e):n.index;if(u>-1){c=s({},this.opts,{animation:!1}),h=s({},c._series_[u]),f=[{text:n.formatter?n.formatter(h,void 0,u,c):h.name+": "+h.data,color:h.color}],p={x:r.x,y:r.y};c.tooltip={textList:n.textList?n.textList:f,offset:void 0!==n.offset?n.offset:p,option:n,index:u}}Ft.call(this,c.type,c,this.config,this.context)}if("map"===this.opts.type){u=void 0==n.index?this.getCurrentDataIndex(e):n.index;if(u>-1){c=s({},this.opts,{animation:!1}),h=s({},this.opts.series[u]);h.name=h.properties.name;f=[{text:n.formatter?n.formatter(h,void 0,u,this.opts):h.name,color:h.color}],p={x:r.x,y:r.y};c.tooltip={textList:n.textList?n.textList:f,offset:void 0!==n.offset?n.offset:p,option:n,index:u}}c.updateData=!1,Ft.call(this,c.type,c,this.config,this.context)}if("word"===this.opts.type){u=void 0==n.index?this.getCurrentDataIndex(e):n.index;if(u>-1){c=s({},this.opts,{animation:!1}),h=s({},this.opts.series[u]),f=[{text:n.formatter?n.formatter(h,void 0,u,this.opts):h.name,color:h.color}],p={x:r.x,y:r.y};c.tooltip={textList:n.textList?n.textList:f,offset:void 0!==n.offset?n.offset:p,option:n,index:u}}c.updateData=!1,Ft.call(this,c.type,c,this.config,this.context)}if("radar"===this.opts.type){u=void 0==n.index?this.getCurrentDataIndex(e):n.index;if(u>-1){c=s({},this.opts,{animation:!1}),h=S(this.opts.series,u);if(0!==h.length){f=h.map((function(t){return{text:n.formatter?n.formatter(t,i.opts.categories[u],u,i.opts):t.name+": "+t.data,color:t.color}})),p={x:r.x,y:r.y};c.tooltip={textList:n.textList?n.textList:f,offset:void 0!==n.offset?n.offset:p,option:n,index:u}}}Ft.call(this,c.type,c,this.config,this.context)}},Rt.prototype.translate=function(t){this.scrollOption={currentOffset:t,startTouchX:t,distance:0,lastMoveTime:0};var e=s({},this.opts,{_scrollDistance_:t,animation:!1});Ft.call(this,this.opts.type,e,this.config,this.context)},Rt.prototype.scrollStart=function(t){var e=null;e=t.changedTouches?t.changedTouches[0]:t.mp.changedTouches[0];var i=w(e,this.opts,t);e&&!0===this.opts.enableScroll&&(this.scrollOption.startTouchX=i.x)},Rt.prototype.scroll=function(t){0===this.scrollOption.lastMoveTime&&(this.scrollOption.lastMoveTime=Date.now());var e=this.opts.touchMoveLimit||60,i=Date.now(),n=i-this.scrollOption.lastMoveTime;if(!(n<Math.floor(1e3/e))&&0!=this.scrollOption.startTouchX){this.scrollOption.lastMoveTime=i;var a=null;if(a=t.changedTouches?t.changedTouches[0]:t.mp.changedTouches[0],a&&!0===this.opts.enableScroll){var r,o=w(a,this.opts,t);r=o.x-this.scrollOption.startTouchX;var c=this.scrollOption.currentOffset,l=h(this,c+r,this.opts.chartData,this.config,this.opts);this.scrollOption.distance=r=l-c;var u=s({},this.opts,{_scrollDistance_:c+r,animation:!1});return this.opts=u,Ft.call(this,u.type,u,this.config,this.context),c+r}}},Rt.prototype.scrollEnd=function(t){if(!0===this.opts.enableScroll){var e=this.scrollOption,i=e.currentOffset,n=e.distance;this.scrollOption.currentOffset=i+n,this.scrollOption.distance=0,this.scrollOption.moveCount=0}};var Nt=Rt;e.default=Nt}).call(this,i("f3b9")["default"])},"1a14":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=["#1890FF","#91CB74","#FAC858","#EE6666","#73C0DE","#3CA272","#FC8452","#9A60B4","#ea7ccc"],a={type:["pie","ring","rose","word","funnel","map","arcbar","line","column","mount","bar","area","radar","gauge","candle","mix","tline","tarea","scatter","bubble","demotype"],range:["\u997c\u72b6\u56fe","\u5706\u73af\u56fe","\u73ab\u7470\u56fe","\u8bcd\u4e91\u56fe","\u6f0f\u6597\u56fe","\u5730\u56fe","\u5706\u5f27\u8fdb\u5ea6\u6761","\u6298\u7ebf\u56fe","\u67f1\u72b6\u56fe","\u5c71\u5cf0\u56fe","\u6761\u72b6\u56fe","\u533a\u57df\u56fe","\u96f7\u8fbe\u56fe","\u4eea\u8868\u76d8","K\u7ebf\u56fe","\u6df7\u5408\u56fe","\u65f6\u95f4\u8f74\u6298\u7ebf","\u65f6\u95f4\u8f74\u533a\u57df","\u6563\u70b9\u56fe","\u6c14\u6ce1\u56fe","\u81ea\u5b9a\u4e49\u7c7b\u578b"],categories:["line","column","mount","bar","area","radar","gauge","candle","mix","demotype"],instance:{},option:{},formatter:{yAxisDemo1:function(t,e,i){return t+"\u5143"},yAxisDemo2:function(t,e,i){return t.toFixed(2)},xAxisDemo1:function(t,e,i){return t+"\u5e74"},xAxisDemo2:function(t,e,i){return function(t,e){var i=new Date;i.setTime(1e3*t);var n=i.getFullYear(),a=i.getMonth()+1;a=a<10?"0"+a:a;var r=i.getDate();r=r<10?"0"+r:r;var o=i.getHours();o=o<10?"0"+o:o;var s=i.getMinutes(),c=i.getSeconds();return s=s<10?"0"+s:s,c=c<10?"0"+c:c,"full"==e?n+"-"+a+"-"+r+" "+o+":"+s+":"+c:"y-m-d"==e?n+"-"+a+"-"+r:"h:m"==e?o+":"+s:"h:m:s"==e?o+":"+s+":"+c:[n,a,r,o,s,c]}(t,"h:m")},seriesDemo1:function(t,e,i,n){return t+"\u5143"},tooltipDemo1:function(t,e,i,n){return 0==i?"\u968f\u4fbf\u7528"+t.data+"\u5e74":"\u5176\u4ed6\u6211\u6ca1\u6539"+t.data+"\u5929"},pieDemo:function(t,e,i,n){if(void 0!==e)return i[e].name+"\uff1a"+i[e].data+"\u5143"}},demotype:{type:"line",color:n,padding:[15,10,0,15],xAxis:{disableGrid:!0},yAxis:{gridType:"dash",dashLength:2},legend:{},extra:{line:{type:"curve",width:2}}},pie:{type:"pie",color:n,padding:[5,5,5,5],extra:{pie:{activeOpacity:.5,activeRadius:10,offsetAngle:0,labelWidth:15,border:!0,borderWidth:3,borderColor:"#FFFFFF"}}},ring:{type:"ring",color:n,padding:[5,5,5,5],rotate:!1,dataLabel:!1,legend:{show:!1,position:"right",lineHeight:25},title:{name:"\u6536\u76ca\u7387",fontSize:15,color:"#666666"},subtitle:{name:"70%",fontSize:25,color:"#7cb5ec"},extra:{ring:{ringWidth:30,activeOpacity:.5,activeRadius:10,offsetAngle:0,labelWidth:15,border:!0,borderWidth:3,borderColor:"#FFFFFF"}}},rose:{type:"rose",color:n,padding:[5,5,5,5],legend:{show:!0,position:"left",lineHeight:25},extra:{rose:{type:"area",minRadius:50,activeOpacity:.5,activeRadius:10,offsetAngle:0,labelWidth:15,border:!1,borderWidth:2,borderColor:"#FFFFFF"}}},word:{type:"word",color:n,extra:{word:{type:"normal",autoColors:!1}}},funnel:{type:"funnel",color:n,padding:[15,15,0,15],extra:{funnel:{activeOpacity:.3,activeWidth:10,border:!0,borderWidth:2,borderColor:"#FFFFFF",fillOpacity:1,labelAlign:"right"}}},map:{type:"map",color:n,padding:[0,0,0,0],dataLabel:!0,extra:{map:{border:!0,borderWidth:1,borderColor:"#666666",fillOpacity:.6,activeBorderColor:"#F04864",activeFillColor:"#FACC14",activeFillOpacity:1}}},arcbar:{type:"arcbar",color:n,title:{name:"\u767e\u5206\u6bd4",fontSize:25,color:"#00FF00"},subtitle:{name:"\u9ed8\u8ba4\u6807\u9898",fontSize:15,color:"#666666"},extra:{arcbar:{type:"default",width:12,backgroundColor:"#E9E9E9",startAngle:.75,endAngle:.25,gap:2}}},line:{type:"line",color:n,padding:[15,10,0,15],xAxis:{disableGrid:!0},yAxis:{gridType:"dash",dashLength:2},legend:{},extra:{line:{type:"straight",width:2}}},tline:{type:"line",color:n,padding:[15,10,0,15],xAxis:{disableGrid:!1,boundaryGap:"justify"},yAxis:{gridType:"dash",dashLength:2,data:[{min:0,max:80}]},legend:{},extra:{line:{type:"curve",width:2}}},tarea:{type:"area",color:n,padding:[15,10,0,15],xAxis:{disableGrid:!0,boundaryGap:"justify"},yAxis:{gridType:"dash",dashLength:2,data:[{min:0,max:80}]},legend:{},extra:{area:{type:"curve",opacity:.2,addLine:!0,width:2,gradient:!0}}},column:{type:"column",color:n,padding:[15,15,0,5],xAxis:{disableGrid:!0},yAxis:{data:[{min:0}]},legend:{},extra:{column:{type:"group",width:30,activeBgColor:"#000000",activeBgOpacity:.08}}},mount:{type:"mount",color:n,padding:[15,15,0,5],xAxis:{disableGrid:!0},yAxis:{data:[{min:0}]},legend:{},extra:{mount:{type:"mount",widthRatio:1.5}}},bar:{type:"bar",color:n,padding:[15,30,0,5],xAxis:{boundaryGap:"justify",disableGrid:!1,min:0,axisLine:!1},yAxis:{},legend:{},extra:{bar:{type:"group",width:30,meterBorde:1,meterFillColor:"#FFFFFF",activeBgColor:"#000000",activeBgOpacity:.08}}},area:{type:"area",color:n,padding:[15,15,0,15],xAxis:{disableGrid:!0},yAxis:{gridType:"dash",dashLength:2},legend:{},extra:{area:{type:"straight",opacity:.2,addLine:!0,width:2,gradient:!1}}},radar:{type:"radar",color:n,padding:[5,5,5,5],dataLabel:!1,legend:{show:!0,position:"right",lineHeight:25},extra:{radar:{gridType:"radar",gridColor:"#CCCCCC",gridCount:3,opacity:.2,max:200}}},gauge:{type:"gauge",color:n,title:{name:"66Km/H",fontSize:25,color:"#2fc25b",offsetY:50},subtitle:{name:"\u5b9e\u65f6\u901f\u5ea6",fontSize:15,color:"#1890ff",offsetY:-50},extra:{gauge:{type:"default",width:30,labelColor:"#666666",startAngle:.75,endAngle:.25,startNumber:0,endNumber:100,labelFormat:"",splitLine:{fixRadius:0,splitNumber:10,width:30,color:"#FFFFFF",childNumber:5,childWidth:12},pointer:{width:24,color:"auto"}}}},candle:{type:"candle",color:n,padding:[15,15,0,15],enableScroll:!0,enableMarkLine:!0,dataLabel:!1,xAxis:{labelCount:4,itemCount:40,disableGrid:!0,gridColor:"#CCCCCC",gridType:"solid",dashLength:4,scrollShow:!0,scrollAlign:"left",scrollColor:"#A6A6A6",scrollBackgroundColor:"#EFEBEF"},yAxis:{},legend:{},extra:{candle:{color:{upLine:"#f04864",upFill:"#f04864",downLine:"#2fc25b",downFill:"#2fc25b"},average:{show:!0,name:["MA5","MA10","MA30"],day:[5,10,20],color:["#1890ff","#2fc25b","#facc14"]}},markLine:{type:"dash",dashLength:5,data:[{value:2150,lineColor:"#f04864",showLabel:!0},{value:2350,lineColor:"#f04864",showLabel:!0}]}}},mix:{type:"mix",color:n,padding:[15,15,0,15],xAxis:{disableGrid:!0},yAxis:{disabled:!1,disableGrid:!1,splitNumber:5,gridType:"dash",dashLength:4,gridColor:"#CCCCCC",padding:10,showTitle:!0,data:[]},legend:{},extra:{mix:{column:{width:20}}}},scatter:{type:"scatter",color:n,padding:[15,15,0,15],dataLabel:!1,xAxis:{disableGrid:!1,gridType:"dash",splitNumber:5,boundaryGap:"justify",min:0},yAxis:{disableGrid:!1,gridType:"dash"},legend:{},extra:{scatter:{}}},bubble:{type:"bubble",color:n,padding:[15,15,0,15],xAxis:{disableGrid:!1,gridType:"dash",splitNumber:5,boundaryGap:"justify",min:0,max:250},yAxis:{disableGrid:!1,gridType:"dash",data:[{min:0,max:150}]},legend:{},extra:{bubble:{border:2,opacity:.5}}}},r=a;e.default=r},"1b21":function(t,e,i){t.exports=i.p+"static/f1.png"},"1efb":function(t,e,i){"use strict";i.r(e);var n=i("22a2"),a=i.n(n);for(var r in n)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(r);e["default"]=a.a},"20f7":function(t,e,i){t.exports=i.p+"static/a1.png"},"21fd":function(t,e,i){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i={name:"uniPopup",components:{},emits:["change","maskClick"],props:{animation:{type:Boolean,default:!0},type:{type:String,default:"center"},isMaskClick:{type:Boolean,default:null},maskClick:{type:Boolean,default:null},backgroundColor:{type:String,default:"none"},safeArea:{type:Boolean,default:!0},maskBackgroundColor:{type:String,default:"rgba(0, 0, 0, 0.4)"}},watch:{type:{handler:function(t){this.config[t]&&this[this.config[t]](!0)},immediate:!0},isDesktop:{handler:function(t){this.config[t]&&this[this.config[this.type]](!0)},immediate:!0},maskClick:{handler:function(t){this.mkclick=t},immediate:!0},isMaskClick:{handler:function(t){this.mkclick=t},immediate:!0},showPopup:function(t){}},data:function(){return{duration:300,ani:[],showPopup:!1,showTrans:!1,popupWidth:0,popupHeight:0,config:{top:"top",bottom:"bottom",center:"center",left:"left",right:"right",message:"top",dialog:"center",share:"bottom"},maskClass:{position:"fixed",bottom:0,top:0,left:0,right:0,backgroundColor:"rgba(0, 0, 0, 0.4)"},transClass:{position:"fixed",left:0,right:0},maskShow:!0,mkclick:!0,popupstyle:this.isDesktop?"fixforpc-top":"top"}},computed:{isDesktop:function(){return this.popupWidth>=500&&this.popupHeight>=500},bg:function(){return""===this.backgroundColor||"none"===this.backgroundColor?"transparent":this.backgroundColor}},mounted:function(){var t=this;(function(){var e=uni.getSystemInfoSync(),i=e.windowWidth,n=e.windowHeight,a=e.windowTop,r=e.safeArea,o=(e.screenHeight,e.safeAreaInsets);t.popupWidth=i,t.popupHeight=n+a,t.safeAreaInsets=r?o.bottom:0})()},created:function(){null===this.isMaskClick&&null===this.maskClick?this.mkclick=!0:this.mkclick=null!==this.isMaskClick?this.isMaskClick:this.maskClick,this.animation?this.duration=300:this.duration=0,this.messageChild=null,this.clearPropagation=!1,this.maskClass.backgroundColor=this.maskBackgroundColor},methods:{closeMask:function(){this.maskShow=!1},disableMask:function(){this.mkclick=!1},clear:function(t){t.stopPropagation(),this.clearPropagation=!0},open:function(e){e&&-1!==["top","center","bottom","left","right","message","dialog","share"].indexOf(e)||(e=this.type),this.config[e]?(this[this.config[e]](),this.$emit("change",{show:!0,type:e})):t("error","\u7f3a\u5c11\u7c7b\u578b\uff1a",e," at uni_modules/uni-popup/components/uni-popup/uni-popup.vue:246")},close:function(t){var e=this;this.showTrans=!1,this.$emit("change",{show:!1,type:this.type}),clearTimeout(this.timer),this.timer=setTimeout((function(){e.showPopup=!1}),300)},touchstart:function(){this.clearPropagation=!1},onTap:function(){this.clearPropagation?this.clearPropagation=!1:(this.$emit("maskClick"),this.mkclick&&this.close())},top:function(t){var e=this;this.popupstyle=this.isDesktop?"fixforpc-top":"top",this.ani=["slide-top"],this.transClass={position:"fixed",left:0,right:0,backgroundColor:this.bg},t||(this.showPopup=!0,this.showTrans=!0,this.$nextTick((function(){e.messageChild&&"message"===e.type&&e.messageChild.timerClose()})))},bottom:function(t){this.popupstyle="bottom",this.ani=["slide-bottom"],this.transClass={position:"fixed",left:0,right:0,bottom:0,paddingBottom:this.safeAreaInsets+"px",backgroundColor:this.bg},t||(this.showPopup=!0,this.showTrans=!0)},center:function(t){this.popupstyle="center",this.ani=["zoom-out","fade"],this.transClass={position:"fixed",display:"flex",flexDirection:"column",bottom:0,left:0,right:0,top:0,justifyContent:"center",alignItems:"center"},t||(this.showPopup=!0,this.showTrans=!0)},left:function(t){this.popupstyle="left",this.ani=["slide-left"],this.transClass={position:"fixed",left:0,bottom:0,top:0,backgroundColor:this.bg,display:"flex",flexDirection:"column"},t||(this.showPopup=!0,this.showTrans=!0)},right:function(t){this.popupstyle="right",this.ani=["slide-right"],this.transClass={position:"fixed",bottom:0,right:0,top:0,backgroundColor:this.bg,display:"flex",flexDirection:"column"},t||(this.showPopup=!0,this.showTrans=!0)}}};e.default=i}).call(this,i("f3b9")["default"])},"22a2":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n={props:{title:{type:[String,Number],default:"\u6807\u9898"}},computed:{titleText:function(){return this.title}},data:function(){return{}}};e.default=n},"28cf":function(t,e,i){"use strict";i.r(e);var n=i("7d36"),a=i("b9a5");for(var r in a)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(r);var o=i("828b"),s=Object(o["a"])(a["default"],n["b"],n["c"],!1,null,null,null,!1,n["a"],void 0);e["default"]=s.exports},"297d":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n={data:function(){return{}},created:function(){this.popup=this.getParent()},methods:{getParent:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"uniPopup",e=this.$parent,i=e.$options.name;while(i!==t){if(e=e.$parent,!e)return!1;i=e.$options.name}return e}}};e.default=n},"2c54":function(t,e,i){"use strict";(function(t){var n=i("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.WebSocketClient=void 0;var a=n(i("67ad")),r=n(i("0bdb")),o=n(i("3352")),s=n(i("8ffa")),c=n(i("4ffb")),l=n(i("b4d2")),u=n(i("7ca3")),h=i("f545");function d(t){var e=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var i,n=(0,l.default)(t);if(e){var a=(0,l.default)(this).constructor;i=Reflect.construct(n,arguments,a)}else i=n.apply(this,arguments);return(0,c.default)(this,i)}}var f=function(e){(0,s.default)(n,e);var i=d(n);function n(t){var e;return(0,a.default)(this,n),e=i.call(this),(0,u.default)((0,o.default)(e),"url",""),(0,u.default)((0,o.default)(e),"socket",null),(0,u.default)((0,o.default)(e),"reconnectAttempts",0),(0,u.default)((0,o.default)(e),"maxReconnectAttempts",20),(0,u.default)((0,o.default)(e),"reconnectInterval",6e4),(0,u.default)((0,o.default)(e),"heartbeatInterval",3e4),(0,u.default)((0,o.default)(e),"heartbeatTimer",void 0),(0,u.default)((0,o.default)(e),"stopWs",!1),e.url=t,e}return(0,r.default)(n,[{key:"onopen",value:function(t){this.addEventListener("open",t)}},{key:"onmessage",value:function(t){this.addEventListener("message",t)}},{key:"onclose",value:function(t){this.addEventListener("close",t)}},{key:"onerror",value:function(t){this.addEventListener("error",t)}},{key:"send",value:function(e){this.socket&&this.socket.readyState===WebSocket.OPEN?this.socket.send({data:e}):t("error","[WebSocket] \u672a\u8fde\u63a5"," at static/js/WebSocketClient.js:45")}},{key:"connect",value:function(){var t=this;0===this.reconnectAttempts&&this.log("WebSocket","\u521d\u59cb\u5316\u8fde\u63a5\u4e2d...          ".concat(this.url)),this.socket&&this.socket.readyState===WebSocket.OPEN||(this.socket=uni.connectSocket({url:this.url,complete:function(){}}),this.socket.onOpen((function(e){t.stopWs=!1,t.reconnectAttempts=0,t.startHeartbeat(),t.log("WebSocket","\u8fde\u63a5\u6210\u529f,\u7b49\u5f85\u670d\u52a1\u7aef\u6570\u636e\u63a8\u9001[onopen]...     ".concat(t.url)),t.dispatchEvent("open",e)})),this.socket.onMessage((function(e){t.dispatchEvent("message",e),t.startHeartbeat()})),this.socket.onClose((function(e){0===t.reconnectAttempts&&t.log("WebSocket","\u8fde\u63a5\u65ad\u5f00[onclose]...    ".concat(t.url)),t.stopWs||t.handleReconnect(),t.dispatchEvent("close",e)})),this.socket.onError((function(e){0===t.reconnectAttempts&&t.log("WebSocket","\u8fde\u63a5\u5f02\u5e38[onerror]...    ".concat(t.url)),t.stopWs||t.handleReconnect(),t.closeHeartbeat(),t.dispatchEvent("error",e)})))}},{key:"handleReconnect",value:function(){var t=this;this.reconnectAttempts<this.maxReconnectAttempts?(this.reconnectAttempts++,this.log("WebSocket","\u5c1d\u8bd5\u91cd\u8fde... (".concat(this.reconnectAttempts,"/").concat(this.maxReconnectAttempts,")       ").concat(this.url)),setTimeout((function(){t.connect()}),this.reconnectInterval)):plus.runtime.restart()}},{key:"close",value:function(){this.socket&&(this.stopWs=!0,this.socket.close(),this.socket=null,this.removeEventListener("open"),this.removeEventListener("message"),this.removeEventListener("close"),this.removeEventListener("error")),this.closeHeartbeat()}},{key:"startHeartbeat",value:function(){var e=this;this.stopWs||(this.heartbeatTimer&&this.closeHeartbeat(),this.heartbeatTimer=setInterval((function(){e.socket?(e.socket.send({data:JSON.stringify({type:"heartBeat",data:{}})}),e.log("WebSocket","\u9001\u5fc3\u8df3\u6570\u636e...")):t("error","[WebSocket] \u672a\u8fde\u63a5"," at static/js/WebSocketClient.js:181")}),this.heartbeatInterval))}},{key:"closeHeartbeat",value:function(){clearInterval(this.heartbeatTimer),this.heartbeatTimer=void 0}}]),n}(h.EventDispatcher);e.WebSocketClient=f}).call(this,i("f3b9")["default"])},"2c9f":function(t,e,i){"use strict";(function(t){var n=i("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=n(i("5ddc")),r=n(i("bf04")),o={data:function(){return{commonUrl:null,show:!0,modeClass:"fade",styles:{},baseIP:"",baseLedId:"",basePort:"",crnId:"",value:"",xDistance:0,yDistance:0,xDuration:0,yDuration:0,used:317,usedPr:90,stockCount:0,emptyCount:0,noneCount:0,chartsData:{Line:{categories:[],series:[]},Pie:{series:[{data:[]}]}},chartsDataLine1:{},chartsDataPie2:{},ringOpts:{},year:2022,month:4,day:14,hours:13,minutes:38,seconds:13,week:"\u661f\u671f\u56db",ani:"",move:!1,topMove:"topUp",floorMove:"",version:"",newspaper:"",errorPaper:"",title:"",staNo:"",matnr:"",maknx:"",specs:"",count:"",orderNo:null,doneOfTray:"",totalOfTray:"",doneOfUnit:"",totalOfUnit:"",errorMsg:null,width:"full-width",errorShow:"",pakinShow:"",pakinGun:"",orderShow:!1,swiper:"swiper-here",autoplay:!0,interval:1e3,duration:8e3,matList:[],ejectShow:!1}},mounted:function(){var t=uni.getStorageSync("BaseIp"),e=uni.getStorageSync("BaseLedId"),i=uni.getStorageSync("BasePort"),n=uni.getStorageSync("BaseCrnId");this.baseIP=t,this.baseLedId=e,this.basePort=i,this.baseCrnId=n,this.getUrl()},onLoad:function(){},onReady:function(){var t=this;setInterval((function(){t.initlineChart(),t.initPieChart(),t.getServerData(),t.getOther(),t.getDate(),t.getPakin(),t.getError(),t.animation(),t.getUrl()}),1e3)},methods:{getUrl:function(){this.commonUrl=this.baseHttp+this.baseIP+":"+this.basePort+this.baseUrl,this.chartsDataLine1=JSON.parse(JSON.stringify(r.default.Line))},getYYY:function(){var t=a.default.dataEEE,e=t.data;if(e.data&&""!==e.data)this.errorMsg=e.data,this.errorShow=!0,this.move=!1;else{if(this.errorPaper="",this.errorShow=!1,this.pakinShow)return;this.move=!0}},getEEE:function(){var t=a.default.dataYYY,e=t.data;if(e.data&&null!==e.data){if(101===e.data[0].ioType?this.title="\u5168\u677f\u51fa\u5e93":103===e.data[0].ioType&&(this.title="\u68c0\u6599\u51fa\u5e93"),this.staNo="\u76ee\u6807\u7ad9:"+e.data[0].staNo,this.matnr="\u5546\u54c1\u7f16\u53f7\uff1a"+e.data[0].matDtos[0].matnr,this.maknx="\u5546\u54c1\u540d\u79f0\uff1a"+e.data[0].matDtos[0].maknx,this.count="\u51fa\u5e93\u6570\u91cf\uff1a"+e.data[0].matDtos[0].count,e.data[0].orderNo?(this.orderNo="\u8ba2\u5355\u53f7\uff1a"+e.data[0].orderNo,this.orderShow=!0,this.width="half-width"):(this.orderNo=null,this.orderShow=!1,this.width="full-width"),this.doneOfTray="\u5df2\u51fa\u6258\u76d8\u6570:"+e.data[0].doneOfTray,this.totalOfTray="\u6258\u76d8\u603b\u6570\u91cf\uff1a"+e.data[0].totalOfTray,this.doneOfUnit="\u5df2\u51fa\u7bb1\u6570\uff1a"+e.data[0].doneOfUnit,this.totalOfUnit="\u603b\u7bb1\u6570\uff1a"+e.data[0].totalOfUnit,this.errorShow)return;this.newspaper="",this.move=!1}else this.move=!0},getError:function(){var t,e=this;uni.request({url:e.commonUrl+"/monitor/led/error",data:{ledId:e.baseLedId},method:"GET",success:function(i){t=i.data,t.data&&""!==t.data?(e.errorMsg=t.data,e.errorShow=!0,e.move=!1):e.errorShow=!1}})},getPakin:function(){var t=this;t.matList=[];var e;uni.request({url:t.commonUrl+"/monitor/led",data:{ledId:t.baseLedId},method:"GET",success:function(i){e=i.data,t.errorShow||(e.data&&null!==e.data?(101===e.data[0].ioType?t.title="\u5168\u677f\u51fa\u5e93":103===e.data[0].ioType?t.title="\u68c0\u6599\u51fa\u5e93":t.title=e.data[0].title,t.staNo="\u76ee\u6807\u7ad9:"+e.data[0].staNo,t.matnr="\u5546\u54c1\u7f16\u53f7\uff1a"+e.data[0].matDtos[0].matnr,t.maknx="\u5546\u54c1\u540d\u79f0\uff1a"+e.data[0].matDtos[0].maknx,t.specs="\u89c4\u683c\uff1a"+e.data[0].matDtos[0].specs,t.count="\u51fa\u5e93\u6570\u91cf\uff1a"+e.data[0].matDtos[0].count,e.data[0].orderNo?(t.orderNo="\u8ba2\u5355\u53f7\uff1a"+e.data[0].orderNo,t.orderShow=!0,t.width="half-width"):(t.orderNo=null,t.orderShow=!1,t.width="full-width"),t.doneOfTray="\u5df2\u51fa\u6258\u76d8\u6570:"+e.data[0].doneOfTray,t.totalOfTray="\u6258\u76d8\u603b\u6570\u91cf\uff1a"+e.data[0].totalOfTray,t.doneOfUnit="\u5df2\u51fa\u7bb1\u6570\uff1a"+e.data[0].doneOfUnit,t.totalOfUnit="\u603b\u7bb1\u6570\uff1a"+e.data[0].totalOfUnit,t.newspaper="",t.move=!1):t.move=!0)}})},animation:function(){this.move?(this.topMove="topUp",this.floorMove="floorUp"):(this.topMove="topDown",this.floorMove="floorDown")},getDateFormat:function(t){var e=new Date;e.setDate(e.getDate()+t);var i=e.getMonth()+1,n=e.getDate(),a=i+"-"+n;return a},initlineChart:function(){var e=this;uni.request({url:e.commonUrl+"/monitor/line/charts",method:"GET",success:function(i){var n=i.data;t("log",i," at pages/index/index.vue:586"),200===n.code&&(e.chartsData.Line.categories=[e.getDateFormat(-11),e.getDateFormat(-10),e.getDateFormat(-9),e.getDateFormat(-8),e.getDateFormat(-7),e.getDateFormat(-6),e.getDateFormat(-5),e.getDateFormat(-4),e.getDateFormat(-3),e.getDateFormat(-2),e.getDateFormat(-1),e.getDateFormat(0)],e.chartsData.Line.series=n.data.rows)}})},initPieChart:function(){var t=this;uni.request({url:t.commonUrl+"/monitor/loc/rep",method:"GET",success:function(e){var i=e.data;200===i.code&&(t.chartsData.Pie.series[0].data=i.data.pie,t.stockCount=i.data.stockCunt,t.emptyCount=i.data.emptyCount,t.noneCount=i.data.noneCount,t.used=i.data.used,t.usedPr=i.data.usedPr)}})},getOther:function(){var e=this;uni.request({url:e.commonUrl+"/monitor/other",data:{crnId:e.baseCrnId,ledId:1},success:function(i){t("log",i," at pages/index/index.vue:626");var n=i.data;200===n.code?(e.xDistance=n.data.xDistance,e.yDistance=n.data.yDistance,e.xDuration=n.data.xDuration,e.yDuration=n.data.yDuration):n.code}})},ejected:function(){this.ejectShow=!0},ejectConfirm:function(){uni.setStorageSync("BaseIp",this.baseIP),uni.setStorageSync("BaseLedId",this.baseLedId),uni.setStorageSync("BasePort",this.basePort),uni.setStorageSync("BaseCrnId",this.baseCrnId),this.getUrl(),this.ejectShow=!1},ejectClose:function(){this.ejectShow=!1},getServerData:function(){this.chartsDataLine1=JSON.parse(JSON.stringify(this.chartsData.Line)),this.chartsDataPie2=JSON.parse(JSON.stringify(this.chartsData.Pie))},complete:function(e){t("log","\u6e32\u67d3\u5b8c\u6210\u4e8b\u4ef6",e," at pages/index/index.vue:662")},getDate:function(){var t=new Date;switch(this.year=t.getFullYear(),this.month=t.getMonth()+1<10?"0"+(t.getMonth()+1):t.getMonth()+1,this.day=t.getDate()<10?"0"+t.getDate():t.getDate(),this.hours=t.getHours()<10?"0"+t.getHours():t.getHours(),this.minutes=t.getMinutes()<10?"0"+t.getMinutes():t.getMinutes(),this.seconds=t.getSeconds()<10?"0"+t.getSeconds():t.getSeconds(),this.weeks=t.getDay(),this.weeks){case 0:this.week="\u661f\u671f\u65e5";break;case 1:this.week="\u661f\u671f\u4e00";break;case 2:this.week="\u661f\u671f\u4e8c";break;case 3:this.week="\u661f\u671f\u4e09";break;case 4:this.week="\u661f\u671f\u56db";break;case 5:this.week="\u661f\u671f\u4e94";break;default:this.week="\u661f\u671f\u516d"}}}};e.default=o}).call(this,i("f3b9")["default"])},"2f40":function(t){t.exports=JSON.parse('{"uni-popup.cancel":"cancel","uni-popup.ok":"ok","uni-popup.placeholder":"pleace enter","uni-popup.title":"Hint","uni-popup.shareTitle":"Share to"}')},"2f51":function(t){t.exports=JSON.parse('{"uni-popup.cancel":"\u53d6\u6d88","uni-popup.ok":"\u78ba\u5b9a","uni-popup.placeholder":"\u8acb\u8f38\u5165","uni-popup.title":"\u63d0\u793a","uni-popup.shareTitle":"\u5206\u4eab\u5230"}')},"2fe5":function(t){t.exports=JSON.parse('{"uni-popup.cancel":"\u53d6\u6d88","uni-popup.ok":"\u786e\u5b9a","uni-popup.placeholder":"\u8bf7\u8f93\u5165","uni-popup.title":"\u63d0\u793a","uni-popup.shareTitle":"\u5206\u4eab\u5230"}')},3352:function(t,e){t.exports=function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t},t.exports.__esModule=!0,t.exports["default"]=t.exports},3400:function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return a})),i.d(e,"a",(function(){}));var n=function(){var t=this.$createElement,e=this._self._c||t;return e("view",{staticClass:this._$s(0,"sc","container loading6"),attrs:{_i:0}},[e("view",{staticClass:this._$s(1,"sc","shape shape1"),attrs:{_i:1}}),e("view",{staticClass:this._$s(2,"sc","shape shape2"),attrs:{_i:2}}),e("view",{staticClass:this._$s(3,"sc","shape shape3"),attrs:{_i:3}}),e("view",{staticClass:this._$s(4,"sc","shape shape4"),attrs:{_i:4}})])},a=[]},"34cf":function(t,e,i){var n=i("ed45"),a=i("7172"),r=i("6382"),o=i("dd3e");t.exports=function(t,e){return n(t)||a(t,e)||r(t,e)||o()},t.exports.__esModule=!0,t.exports["default"]=t.exports},"357c":function(t,e,i){"use strict";i.r(e);var n=i("e286"),a=i("1efb");for(var r in a)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(r);var o=i("828b"),s=Object(o["a"])(a["default"],n["b"],n["c"],!1,null,null,null,!1,n["a"],void 0);e["default"]=s.exports},"3b29":function(t,e,i){"use strict";i.r(e);var n=i("907f"),a=i("0671");for(var r in a)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(r);var o=i("828b"),s=Object(o["a"])(a["default"],n["b"],n["c"],!1,null,null,null,!1,n["a"],void 0);e["default"]=s.exports},"3b2d":function(t,e){function i(e){return t.exports=i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t.exports.__esModule=!0,t.exports["default"]=t.exports,i(e)}t.exports=i,t.exports.__esModule=!0,t.exports["default"]=t.exports},"3c26":function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return a})),i.d(e,"a",(function(){}));var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("view",[i("view",[i("swiper",{attrs:{autoplay:t._$s(2,"a-autoplay",t.autoplay),interval:t._$s(2,"a-interval",t.interval),duration:t._$s(2,"a-duration",t.duration),_i:2}},t._l(t._$s(3,"f",{forItems:t.list}),(function(e,n,a,r){return i("swiper-item",{key:t._$s(3,"f",{forIndex:a,key:n})},[i("view",[t._v(t._$s("4-"+r,"t0-0",t._s(e)))])])})),0)])])},a=[]},"3c8c":function(t,e,i){"use strict";i.r(e);var n=i("96e5"),a=i("c547");for(var r in a)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(r);var o=i("828b"),s=Object(o["a"])(a["default"],n["b"],n["c"],!1,null,"28993e7f",null,!1,n["a"],void 0);e["default"]=s.exports},"3d72":function(t,e,i){"use strict";i.r(e);var n=i("1611"),a=i.n(n);for(var r in n)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(r);e["default"]=a.a},"3f60":function(t,e,i){"use strict";i.r(e);var n=i("ebd2"),a=i.n(n);for(var r in n)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(r);e["default"]=a.a},"3f6f":function(t,e,i){"use strict";i.r(e);var n=i("6a1e"),a=i.n(n);for(var r in n)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(r);e["default"]=a.a},"451d":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={pages:[{path:"pages/home/home",style:{navigationStyle:"custom","app-plus":{titleNView:!1}}},{path:"pages/test/test",style:{navigationStyle:"custom","app-plus":{titleNView:!1}}},{path:"pages/index",style:{navigationStyle:"custom","app-plus":{titleNView:!1}}},{path:"pages/index/index",style:{navigationStyle:"custom","app-plus":{titleNView:!1}}},{path:"pages/index/monitor",style:{navigationStyle:"custom"}},{path:"pages/test/test",style:{navigationStyle:"custom","app-plus":{titleNView:!1}}}],globalStyle:{navigationBarTextStyle:"black",navigationBarTitleText:"uni-app",navigationBarBackgroundColor:"#F8F8F8",backgroundColor:"#F8F8F8",pageOrientation:"landscape"}}},"468a":function(t,e,i){"use strict";i.r(e);var n=i("1511"),a=i("a9ce");for(var r in a)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(r);var o=i("828b"),s=Object(o["a"])(a["default"],n["b"],n["c"],!1,null,"0f7e34c8",null,!1,n["a"],void 0);e["default"]=s.exports},"47a9":function(t,e){t.exports=function(t){return t&&t.__esModule?t:{default:t}},t.exports.__esModule=!0,t.exports["default"]=t.exports},4965:function(t,e){t.exports=function(t){try{return-1!==Function.toString.call(t).indexOf("[native code]")}catch(e){return"function"===typeof t}},t.exports.__esModule=!0,t.exports["default"]=t.exports},4969:function(t,e,i){"use strict";i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return r})),i.d(e,"a",(function(){return n}));var n={uniTransition:i("997e").default},a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return t._$s(0,"i",t.showPopup)?i("view",{staticClass:t._$s(0,"sc","uni-popup"),class:t._$s(0,"c",[t.popupstyle,t.isDesktop?"fixforpc-z-index":""]),attrs:{_i:0},on:{touchmove:function(e){return e.stopPropagation(),e.preventDefault(),t.clear(e)}}},[i("view",{attrs:{_i:1},on:{touchstart:t.touchstart}},[t._$s(2,"i",t.maskShow)?i("uni-transition",{key:"1",attrs:{name:"mask","mode-class":"fade",styles:t.maskClass,duration:t.duration,show:t.showTrans,_i:2},on:{click:t.onTap}}):t._e(),i("uni-transition",{key:"2",attrs:{"mode-class":t.ani,name:"content",styles:t.transClass,duration:t.duration,show:t.showTrans,_i:3},on:{click:t.onTap}},[i("view",{staticClass:t._$s(4,"sc","uni-popup__wrapper"),class:t._$s(4,"c",[t.popupstyle]),style:t._$s(4,"s",{backgroundColor:t.bg}),attrs:{_i:4},on:{click:t.clear}},[t._t("default",null,{_i:5})],2)])],1)]):t._e()},r=[]},"4c4f":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n={data:function(){return{data:"",url:"http://10.10.10.120:9090/wcs/h5/index.html"}},onShow:function(){var t=this;uni.getStorage({key:"data",success:function(e){t.data=e.data}})},methods:{setUrl:function(){""!=this.url&&(uni.setStorage({key:"data",data:this.url}),this.data=this.url)},clearUrl:function(){this.data="",this.url="http://10.10.10.120:9090/wcs/h5/index.html",uni.removeStorage({key:"data"})}}};e.default=n},"4c8c":function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return a})),i.d(e,"a",(function(){}));var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return t._$s(0,"i",t.isShow)?i("view",{ref:"ani",class:t._$s(0,"c",t.customClass),style:t._$s(0,"s",t.transformStyles),attrs:{animation:t._$s(0,"a-animation",t.animationData),_i:0},on:{click:t.onClick}},[t._t("default",null,{_i:1})],2):t._e()},a=[]},"4ffb":function(t,e,i){var n=i("3b2d")["default"],a=i("3352");t.exports=function(t,e){if(e&&("object"===n(e)||"function"===typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return a(t)},t.exports.__esModule=!0,t.exports["default"]=t.exports},5607:function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return a})),i.d(e,"a",(function(){}));var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("view",[t._$s(1,"i",1==t.loadingType)?i("Loading1",{attrs:{_i:1}}):t._e(),t._$s(2,"i",2==t.loadingType)?i("Loading2",{attrs:{_i:2}}):t._e(),t._$s(3,"i",3==t.loadingType)?i("Loading3",{attrs:{_i:3}}):t._e(),t._$s(4,"i",4==t.loadingType)?i("Loading4",{attrs:{_i:4}}):t._e(),t._$s(5,"i",5==t.loadingType)?i("Loading5",{attrs:{_i:5}}):t._e()],1)},a=[]},"5ddc":function(t){t.exports=JSON.parse('{"dataInfo2":{"data":{"msg":"\u64cd\u4f5c\u6210\u529f","code":200,"data":[{"title":"\u5168\u677f\u51fa\u5e93","workNo":8046,"staNo":200,"sourceStaNo":null,"locNo":null,"sourceLocNo":"1500502","barcode":"80009901","matDtos":[{"orderNo":"ck11111111111","brand":"ck11111111111","number":"100","weight":"123.568","matnr":"020101000001","maknx":"63-90\u578b\u5355\u7acb\u67f1","batch":null,"count":40,"specs":"gcslxwt","info":"\u6d59\u6c5f\u4e2d\u626c","bz":"\u7ea2\u8272","total":200},{"orderNo":"ck11111111111","matnr":"LPJ.SLJ.XG.037","maknx":"\u5de5\u7a0b\u5851\u6599\u4e0b\u5f2f\u5934","batch":null,"count":40,"specs":"gcslxwt","info":"\u6d59\u6c5f\u4e2d\u626c","bz":"\u6682\u5b58","total":200},{"orderNo":"ck11111111111","matnr":"LPJ.SLJ.XG.037","maknx":"\u5de5\u7a0b\u5851\u6599\u4e0b\u5f2f\u5934","batch":null,"count":40,"specs":"gcslxwt","info":"\u6d59\u6c5f\u4e2d\u626c","bz":"\u7ea2\u8272","total":200},{"matnr":"LPJ.SLJ.XG.037","maknx":"\u5de5\u7a0b\u5851\u6599\u4e0b\u5f2f\u5934","batch":null,"count":40,"specs":"gcslxwt","info":"\u6d59\u6c5f\u4e2d\u626c","bz":"","total":200},{"matnr":"LPJ.SLJ.XG.037","maknx":"\u5de5\u7a0b\u5851\u6599\u4e0b\u5f2f\u5934","batch":null,"count":40,"specs":"gcslxwt","info":"\u6d59\u6c5f\u4e2d\u626c","bz":"","total":200},{"matnr":"LPJ.SLJ.XG.037","maknx":"\u5de5\u7a0b\u5851\u6599\u4e0b\u5f2f\u5934","batch":null,"count":40,"specs":"gcslxwt","info":"\u6d59\u6c5f\u4e2d\u626c","bz":"","total":200},{"matnr":"LPJ.SLJ.XG.037","maknx":"\u5de5\u7a0b\u5851\u6599\u4e0b\u5f2f\u5934","batch":null,"count":40,"specs":"gcslxwt","info":"\u6d59\u6c5f\u4e2d\u626c","bz":"17\u53f7\u6846","total":200}],"emptyMk":false,"ioType":101}]}},"dataError2":{"data":{"msg":"\u64cd\u4f5c\u6210\u529f","code":200,"data":""}},"lineData":{"msg":"\u64cd\u4f5c\u6210\u529f","code":200,"data":{"rows":[{"name":"\u5165\u5e93\u6570\u91cf","data":[0,0,0,0,1,1,0,0,4,4,0,4]},{"name":"\u51fa\u5e93\u6570\u91cf","data":[0,0,0,0,0,0,0,0,3,4,0,1]}]}},"pieData":{"msg":"\u64cd\u4f5c\u6210\u529f","code":200,"data":{"emptyCount":3582,"noneCount":256,"total":3840,"stockCunt":2,"usedPr":0.1,"used":2,"pie":[{"name":"\u5728\u5e93","value":2},{"name":"\u7a7a","value":3582},{"name":"\u4f7f\u7528","value":0},{"name":"\u7981\u7528","value":256}]}},"other":{"msg":"\u64cd\u4f5c\u6210\u529f","code":200,"data":{"xDistance":15651,"xSpeed":32704,"zSpeed":32704,"yDistance":15,"yDuration":0,"ySpeed":32704,"xDuration":0,"content":"","forkPos":1,"isShow":false}}}')},"5e2e":function(t,e,i){"use strict";i.r(e);var n=i("7b96"),a=i("3f6f");for(var r in a)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(r);var o=i("828b"),s=Object(o["a"])(a["default"],n["b"],n["c"],!1,null,"cc06004c",null,!1,n["a"],void 0);e["default"]=s.exports},"5e84":function(t,e,i){"use strict";(function(t){var n=i("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;n(i("bf04")),n(i("5ddc")),i("2c54");var a=n(i("9e36")),r={data:function(){return{series:[],homeViewShow:!0,infoViewShow:!1,errorInfoViewShow:!1,homeMode:[],infoMode:[],errorInfoMode:[],baseInfo:{xDistance:1,yDistance:2,xDuration:3,yDuration:4,usedPr:50,used:3537,stockCount:"",emptyCount:"",noneCount:""},chartsData:{Line:{categories:[],series:[]},Pie:{series:[{data:[]}]}},duration:300,calendar:"",ringOpts:{},chartsDataLine1:{},chartsDataPie2:{},fontSize:"",height:"",showCharts:!1,ejectShow:!1,baseIP:"",basePort:"",baseLedId:"",baseCrnId:"",baseUrl:"",info:null,error:null,infoType:0,text:"",infoText:{title:"",staNo:"",matnr:"",maknx:"",specs:"",count:"",error:"",barcode:""},swiperList:[],timeOut:!1,times:0,currDate:"",locList:[],oldHours:"",oldMin:"",socketClient:null,messages:[],version:"",socketUrl:"",msgType:"success",filename:"",dialogContent:"",wmsUrl:"",wmsPort:"",switchDebounceTimer:null,viewSwitchInProgress:!1}},onShow:function(){plus.navigator.setFullscreen(!0),this.getVersion()},mounted:function(){var t=uni.getStorageSync("BaseIp"),e=uni.getStorageSync("BaseLedId"),i=uni.getStorageSync("BasePort"),n=uni.getStorageSync("BaseCrnId"),a=uni.getStorageSync("UPROJ"),r=uni.getStorageSync("wmsUrl"),o=uni.getStorageSync("wmsPort");this.baseUrl=a,this.baseIP=t,this.baseLedId=e,this.basePort=i,this.baseCrnId=n,this.wmsUrl=r,this.wmsPort=o},created:function(){var t=uni.getStorageSync("BaseIp"),e=uni.getStorageSync("BaseLedId"),i=uni.getStorageSync("BasePort"),n=uni.getStorageSync("BaseCrnId"),a=uni.getStorageSync("UPROJ"),r=uni.getStorageSync("wmsUrl"),o=uni.getStorageSync("wmsPort");this.baseUrl=a,this.baseIP=t,this.baseLedId=e,this.basePort=i,this.baseCrnId=n,this.wmsUrl=r,this.wmsPort=o,this.uniWebSocket()},onLoad:function(){var e=this;setInterval((function(){e.getServerData(),e.controller()}),1e3),setInterval((function(){setTimeout((function(){plus.runtime.restart()}),100)}),144e5);setInterval((function(){"android"===plus.os.name.toLowerCase()&&(plus.android.importClass("java.lang.System"),plus.android.invoke("java.lang.System","gc"),t("log","\u624b\u52a8\u89e6\u53d1 GC"," at pages/home/home.vue:505")),e.oldData&&e.oldData.length>100&&(e.oldData=[])}),3e5)},methods:{uniWebSocket:function(){var e=this;e.commonUrl=e.baseIP+":"+e.basePort+"/"+e.baseUrl,e.socketUrl="ws://"+e.commonUrl+"/led/"+e.baseLedId,e.socketClient=new a.default(e.socketUrl,{heartbeatInterval:3e4,reconnectInterval:3e3,maxReconnectAttempts:-1,onMessage:function(i){try{var n=JSON.parse(i.data);e.showDate(n)}catch(a){t("error","\u89e3\u6790\u6d88\u606f\u5931\u8d25",a," at pages/home/home.vue:537")}},onOpen:function(i){e.timeOut=!1,e.times=0,t("log","WebSocket\u5df2\u8fde\u63a5",i," at pages/home/home.vue:544")},onError:function(e){t("error","WebSocket\u9519\u8bef",e," at pages/home/home.vue:548")},onClose:function(i){e.timeOut=!0,e.times=e.times+1,e.infoType=0,t("log","WebSocket\u5df2\u5173\u95ed",i," at pages/home/home.vue:555")},onReconnect:function(e){t("log","WebSocket\u91cd\u8fde(".concat(e.attempts,"/").concat(e.maxAttempts,")")," at pages/home/home.vue:559")}}),e.socketClient.connect()},showDate:function(t){if("default"===t.type)this.chartsData.Pie.series[0].data=t.pie,this.baseInfo.stockCount=t.stockCunt,this.baseInfo.emptyCount=t.emptyCount,this.baseInfo.noneCount=t.noneCount,this.baseInfo.used=t.used,this.baseInfo.usedPr=t.usedPr,this.chartsData.Line.categories=[this.getDateFormat(-11),this.getDateFormat(-10),this.getDateFormat(-9),this.getDateFormat(-8),this.getDateFormat(-7),this.getDateFormat(-6),this.getDateFormat(-5),this.getDateFormat(-4),this.getDateFormat(-3),this.getDateFormat(-2),this.getDateFormat(-1),this.getDateFormat(0)],this.chartsData.Line.series=t.rows,this.calendar=t.year+"\u5e74"+t.month+"\u6708"+t.day+"\u65e5 "+t.hour+":"+t.minute+":"+t.second+" "+t.week,this.currDate=t.year+"/"+t.month+"/"+t.day,this.locList=t.inventoryData,this.oldHours=t.hour,this.oldMin=t.minute;else if("error"===t.type)if(t.errMsg&&""!==t.errMsg){var e=t.errMsg;if(1==this.infoType)return this.infoType=3,this.infoText.title="\u5176\u4ed6\u4fe1\u606f",void(this.infoText.error=e);this.infoType=2,this.infoText.title="\u5176\u4ed6\u4fe1\u606f",this.infoText.error=e}else{if(1==this.infoType)return;this.infoType=0}else if("task"===t.type)if(t.taskList&&""!==t.taskList&&0!=t.taskList.length){if(2==this.infoType||3==this.infoType)return;this.infoType=1,101===t.taskList[0].ioType?this.infoText.title="\u5168\u677f\u51fa\u5e93":103===t.taskList[0].ioType?this.infoText.title="\u62e3\u6599\u51fa\u5e93":107===t.taskList[0].ioType?this.infoText.title="\u76d8\u70b9\u51fa\u5e93":1===t.taskList[0].ioType?this.infoText.title="\u5165\u5e93":10===t.taskList[0].ioType?this.infoText.title="\u7a7a\u6258\u5165\u5e93":110===t.taskList[0].ioType?this.infoText.title="\u7a7a\u6258\u51fa\u5e93":104===t.taskList[0].ioType?this.infoText.title="\u5e76\u677f\u51fa\u5e93":54===t.taskList[0].ioType&&(this.infoText.title="\u5e76\u677f\u5165\u5e93"),this.infoText.barcode=t.taskList[0].barcode,this.infoText.workNo=t.taskList[0].workNo,this.infoText.sourceLocNo=t.taskList[0].sourceLocNo,this.infoText.staNo=t.taskList[0].staNo,this.swiperList=t.taskList[0].matDtos}else{if(2==this.infoType||3==this.infoType)return;this.infoType=0}},statisticalModel:function(){var e=this;uni.request({url:e.commonUrl+"/monitor/locDetl/pda/statisticalModel",method:"GET",success:function(i){var n=i.data;200===n.code&&(t("log",n.data," at pages/home/home.vue:659"),e.locList=n.data)}})},getDateFormat:function(t){var e=new Date(this.currDate);e.setDate(e.getDate()+t);var i=e.getMonth()+1,n=e.getDate(),a=i+"-"+n;return a},getUrl:function(){this.commonUrl=this.baseHttp+this.baseIP+":"+this.basePort+"/"+this.baseUrl},getServerData:function(){this.chartsDataLine1=JSON.parse(JSON.stringify(this.chartsData.Line)),this.chartsDataPie2=JSON.parse(JSON.stringify(this.chartsData.Pie))},controller:function(){var t=this;this.switchDebounceTimer&&clearTimeout(this.switchDebounceTimer),this.switchDebounceTimer=setTimeout((function(){t.performViewSwitch()}),100)},performViewSwitch:function(){var t=this,e={0:function(){return t.showHomeView()},1:function(){return t.showInfoView()},2:function(){return t.showErrorView()},3:function(){return t.showErrorView()}},i=e[this.infoType];i&&!this.viewSwitchInProgress&&(this.viewSwitchInProgress=!0,i(),setTimeout((function(){t.viewSwitchInProgress=!1}),this.duration+100))},showHomeView:function(){var t=this;this.infoViewShow=!1,this.errorInfoViewShow=!1,this.infoMode=["fade","slide-bottom"],this.errorInfoMode=["fade","slide-bottom"],setTimeout((function(){t.homeViewShow=!0,t.homeMode=["fade","slide-bottom"]}),this.duration)},showInfoView:function(){var t=this;this.homeViewShow=!1,this.errorInfoViewShow=!1,this.homeMode=["fade","slide-bottom"],this.errorInfoMode=["fade","slide-bottom"],setTimeout((function(){t.infoViewShow=!0,t.infoMode=["fade","slide-bottom"]}),this.duration)},showErrorView:function(){var t=this;this.homeViewShow=!1,this.infoViewShow=!1,this.homeMode=["fade","slide-bottom"],this.infoMode=["fade","slide-bottom"],setTimeout((function(){t.errorInfoViewShow=!0,t.errorInfoMode=["fade","slide-bottom"]}),this.duration)},handle:function(t){this.homeViewShow=!this.homeViewShow,this.modeClass=t},handle1:function(t){this.infoViewShow=!this.infoViewShow,this.modeClass=t},handle2:function(t){this.errorInfoViewShow=!this.errorInfoViewShow,this.modeClass=t},ejected:function(){this.ejectShow=!0},ejectClose:function(){this.ejectShow=!1},ejectConfirm:function(){uni.setStorageSync("BaseIp",this.baseIP),uni.setStorageSync("BaseLedId",this.baseLedId),uni.setStorageSync("BasePort",this.basePort),uni.setStorageSync("BaseCrnId",this.baseCrnId),uni.setStorageSync("UPROJ",this.baseUrl),uni.setStorageSync("wmsUrl",this.wmsUrl),uni.setStorageSync("wmsPort",this.wmsPort),this.getUrl(),this.ejectShow=!1},getVersion:function(){var t=this;uni.getSystemInfo({success:function(e){"android"==e.platform&&t.AndroidCheckUpdate()}})},AndroidCheckUpdate:function(){var t=this;plus.runtime.getProperty(plus.runtime.appid,(function(e){t.version=e.version})),setTimeout((function(){t.getUpdateVersion()}),100)},getUpdateVersion:function(){var e=this;if("http://undefined:undefined/undefined"!=e.baseUrl){var i="http://"+e.baseIP+":"+e.wmsPort+"/"+e.wmsUrl;t("log",i," at pages/home/home.vue:811");var n=i+"/appVersion/checkUpdate/"+e.version+"/1";uni.request({url:n,method:"GET",success:function(i){t("log",i," at pages/home/home.vue:817");i=i.data;i.data?(e.filename=i.data.path,e.dialogContent="\u53d1\u73b0\u65b0\u7248\u672c:"+i.data.version+", \u662f\u5426\u7acb\u5373\u66f4\u65b0",e.$refs.upVersion.open()):uni.showToast({title:i.msg,icon:"none",position:"top"})}})}},dialogConfirm:function(){this.$refs.upVersion.close(),this.downWgt()},dialogClose:function(){this.$refs.upVersion.close()},downWgt:function(){var e=this,i="http://"+e.baseIP+":"+e.wmsPort+"/"+e.wmsUrl,n=i+"/appVersion/downloadApp/"+e.filename;uni.showLoading({title:"\u66f4\u65b0\u4e2d\u2026\u2026"});var a=uni.downloadFile({url:n,timeout:3e4,success:function(i){t("log",i," at pages/home/home.vue:852"),e.showdownLine=!1,uni.hideLoading(),200==i.statusCode?uni.showModal({title:"",content:"\u66f4\u65b0\u6210\u529f\uff0c\u786e\u5b9a\u73b0\u5728\u91cd\u542f\u5417\uff1f",confirmText:"\u91cd\u542f",confirmColor:"#EE8F57",success:function(t){1==t.confirm&&plus.runtime.install(i.tempFilePath,{force:!0},(function(t){utils.showToast("\u66f4\u65b0\u6210\u529f\uff0c\u91cd\u542f\u4e2d"),plus.runtime.restart()}))}}):(uni.hideLoading(),e.showdownLine=!1,uni.showToast({title:"\u8bf7\u5148\u4e0a\u4f20\u5b89\u88c5\u5305",icon:"error"}))},fail:function(t){uni.hideLoading(),e.showdownLine=!1,e.$u.toast(downloadResult.errMsg)},complete:function(e){t("log",e," at pages/home/home.vue:891")}});a.onProgressUpdate((function(i){e.downloadNum=i.progress,t("log","\u4e0b\u8f7d\u8fdb\u5ea6"+e.downloadNum," at pages/home/home.vue:898")}))}}};e.default=r}).call(this,i("f3b9")["default"])},"5f21":function(t,e,i){"use strict";i.r(e);var n=i("5607"),a=i("3f60");for(var r in a)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(r);var o=i("828b"),s=Object(o["a"])(a["default"],n["b"],n["c"],!1,null,null,null,!1,n["a"],void 0);e["default"]=s.exports},"62d4":function(t,e,i){"use strict";i.r(e);var n=i("ea8b");for(var a in n)["default"].indexOf(a)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(a);var r=i("828b"),o=Object(r["a"])(n["default"],void 0,void 0,!1,null,null,null,!1,void 0,void 0);e["default"]=o.exports},6382:function(t,e,i){var n=i("6454");t.exports=function(t,e){if(t){if("string"===typeof t)return n(t,e);var i=Object.prototype.toString.call(t).slice(8,-1);return"Object"===i&&t.constructor&&(i=t.constructor.name),"Map"===i||"Set"===i?Array.from(t):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?n(t,e):void 0}},t.exports.__esModule=!0,t.exports["default"]=t.exports},"63c1":function(t,e,i){"use strict";i.r(e);var n=i("2c9f"),a=i.n(n);for(var r in n)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(r);e["default"]=a.a},6454:function(t,e){t.exports=function(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,n=new Array(e);i<e;i++)n[i]=t[i];return n},t.exports.__esModule=!0,t.exports["default"]=t.exports},6597:function(t,e,i){t.exports=i.p+"static/img/logo-bai.png"},6620:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={appid:"__UNI__CA903B7"}},"67ad":function(t,e){t.exports=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},t.exports.__esModule=!0,t.exports["default"]=t.exports},6808:function(t,e,i){t.exports=i.p+"static/c1.png"},"6a1e":function(t,e,i){},"6cb1":function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return a})),i.d(e,"a",(function(){}));var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("view",{staticClass:t._$s(0,"sc","uni-popup-dialog"),attrs:{_i:0}},[i("view",{staticClass:t._$s(1,"sc","uni-dialog-title"),attrs:{_i:1}},[i("text",{staticClass:t._$s(2,"sc","uni-dialog-title-text"),class:t._$s(2,"c",["uni-popup__"+t.dialogType]),attrs:{_i:2}},[t._v(t._$s(2,"t0-0",t._s(t.titleText)))])]),t._$s(3,"i","base"===t.mode)?i("view",{staticClass:t._$s(3,"sc","uni-dialog-content"),attrs:{_i:3}},[t._t("default",[i("text",{staticClass:t._$s(5,"sc","uni-dialog-content-text"),attrs:{_i:5}},[t._v(t._$s(5,"t0-0",t._s(t.content)))])],{_i:4})],2):i("view",{staticClass:t._$s(6,"sc","uni-dialog-content"),attrs:{_i:6}},[t._t("default",[i("input",{directives:[{name:"model",rawName:"v-model",value:t.val,expression:"val"}],staticClass:t._$s(8,"sc","uni-dialog-input"),attrs:{placeholder:t._$s(8,"a-placeholder",t.placeholderText),focus:t._$s(8,"a-focus",t.focus),_i:8},domProps:{value:t._$s(8,"v-model",t.val)},on:{input:function(e){e.target.composing||(t.val=e.target.value)}}})],{_i:7})],2),i("view",{staticClass:t._$s(9,"sc","uni-dialog-button-group"),attrs:{_i:9}},[i("view",{staticClass:t._$s(10,"sc","uni-dialog-button"),attrs:{_i:10},on:{click:t.closeDialog}},[i("text",{staticClass:t._$s(11,"sc","uni-dialog-button-text"),attrs:{_i:11}},[t._v(t._$s(11,"t0-0",t._s(t.closeText)))])]),i("view",{staticClass:t._$s(12,"sc","uni-dialog-button uni-border-left"),attrs:{_i:12},on:{click:t.onOk}},[i("text",{staticClass:t._$s(13,"sc","uni-dialog-button-text uni-button-color"),attrs:{_i:13}},[t._v(t._$s(13,"t0-0",t._s(t.okText)))])])])])},a=[]},"6f0f":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={name:"loading6",data:function(){return{}}}},7172:function(t,e){t.exports=function(t,e){var i=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=i){var n,a,r,o,s=[],c=!0,l=!1;try{if(r=(i=i.call(t)).next,0===e){if(Object(i)!==i)return;c=!1}else for(;!(c=(n=r.call(i)).done)&&(s.push(n.value),s.length!==e);c=!0);}catch(t){l=!0,a=t}finally{try{if(!c&&null!=i["return"]&&(o=i["return"](),Object(o)!==o))return}finally{if(l)throw a}}return s}},t.exports.__esModule=!0,t.exports["default"]=t.exports},7543:function(t,e,i){"use strict";i.r(e);var n=i("d2a0"),a=i.n(n);for(var r in n)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(r);e["default"]=a.a},7584:function(t,e,i){t.exports=i.p+"static/b1.png"},7647:function(t,e){function i(e,n){return t.exports=i=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},t.exports.__esModule=!0,t.exports["default"]=t.exports,i(e,n)}t.exports=i,t.exports.__esModule=!0,t.exports["default"]=t.exports},7996:function(t,e,i){"use strict";i.r(e);var n=i("0477"),a=i("9399");for(var r in a)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(r);var o=i("828b"),s=Object(o["a"])(a["default"],n["b"],n["c"],!1,null,"f4e86178",null,!1,n["a"],void 0);e["default"]=s.exports},"7b82":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={name:"loading5",data:function(){return{}}}},"7b96":function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return a})),i.d(e,"a",(function(){}));var n=function(){var t=this.$createElement,e=this._self._c||t;return e("view",{staticClass:this._$s(0,"sc","container"),attrs:{_i:0}})},a=[]},"7c9c":function(t,e,i){"use strict";i.r(e);var n=i("21fd"),a=i.n(n);for(var r in n)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(r);e["default"]=a.a},"7ca3":function(t,e,i){var n=i("d551");t.exports=function(t,e,i){return e=n(e),e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t},t.exports.__esModule=!0,t.exports["default"]=t.exports},"7ce1":function(t,e,i){var n=i("b4d2"),a=i("7647"),r=i("4965"),o=i("931d");function s(e){var i="function"===typeof Map?new Map:void 0;return t.exports=s=function(t){if(null===t||!r(t))return t;if("function"!==typeof t)throw new TypeError("Super expression must either be null or a function");if("undefined"!==typeof i){if(i.has(t))return i.get(t);i.set(t,e)}function e(){return o(t,arguments,n(this).constructor)}return e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),a(e,t)},t.exports.__esModule=!0,t.exports["default"]=t.exports,s(e)}t.exports=s,t.exports.__esModule=!0,t.exports["default"]=t.exports},"7d36":function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return a})),i.d(e,"a",(function(){}));var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("view",[i("button",{staticClass:t._$s(1,"sc","clear"),attrs:{_i:1},on:{click:t.clearUrl}}),t._$s(2,"i",""!=t.data)?i("web-view",{attrs:{src:t._$s(2,"a-src",t.data),_i:2}}):t._e(),t._$s(3,"i",""==t.data)?i("view",{attrs:{_i:3}},[i("input",{directives:[{name:"model",rawName:"v-model",value:t.url,expression:"url"}],attrs:{_i:4},domProps:{value:t._$s(4,"v-model",t.url)},on:{input:function(e){e.target.composing||(t.url=e.target.value)}}}),i("button",{attrs:{_i:5},on:{click:t.setUrl}})]):t._e()])},a=[]},"828b":function(t,e,i){"use strict";function n(t,e,i,n,a,r,o,s,c,l){var u,h="function"===typeof t?t.options:t;if(c){h.components||(h.components={});var d=Object.prototype.hasOwnProperty;for(var f in c)d.call(c,f)&&!d.call(h.components,f)&&(h.components[f]=c[f])}if(l&&("function"===typeof l.beforeCreate&&(l.beforeCreate=[l.beforeCreate]),(l.beforeCreate||(l.beforeCreate=[])).unshift((function(){this[l.__module]=this})),(h.mixins||(h.mixins=[])).push(l)),e&&(h.render=e,h.staticRenderFns=i,h._compiled=!0),n&&(h.functional=!0),r&&(h._scopeId="data-v-"+r),o?(u=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"===typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),a&&a.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(o)},h._ssrRegister=u):a&&(u=s?function(){a.call(this,this.$root.$options.shadowRoot)}:a),u)if(h.functional){h._injectStyles=u;var p=h.render;h.render=function(t,e){return u.call(e),p(t,e)}}else{var g=h.beforeCreate;h.beforeCreate=g?[].concat(g,u):[u]}return{exports:t,options:h}}i.d(e,"a",(function(){return n}))},8325:function(t,e,i){"use strict";i.r(e);var n=i("ee34"),a=i("3d72");for(var r in a)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(r);var o=i("828b"),s=Object(o["a"])(a["default"],n["b"],n["c"],!1,null,"4606611e",null,!1,n["a"],void 0);e["default"]=s.exports},"858a":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={name:"loading1",data:function(){return{}}}},"861b":function(t,e,i){"use strict";(function(t,n){var a=i("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.uniCloud=e.default=e.UniCloudError=void 0;var r=a(i("127e")),o=a(i("3352")),s=a(i("34cf")),c=a(i("3b2d")),l=a(i("af34")),u=a(i("ee10")),h=a(i("7ca3")),d=a(i("8ffa")),f=a(i("4ffb")),p=a(i("b4d2")),g=a(i("7ce1")),v=a(i("67ad")),m=a(i("0bdb")),x=a(i("451d"));function y(t,e){var i="undefined"!==typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!i){if(Array.isArray(t)||(i=function(t,e){if(!t)return;if("string"===typeof t)return _(t,e);var i=Object.prototype.toString.call(t).slice(8,-1);"Object"===i&&t.constructor&&(i=t.constructor.name);if("Map"===i||"Set"===i)return Array.from(t);if("Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return _(t,e)}(t))||e&&t&&"number"===typeof t.length){i&&(t=i);var n=0,a=function(){};return{s:a,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var r,o=!0,s=!1;return{s:function(){i=i.call(t)},n:function(){var t=i.next();return o=t.done,t},e:function(t){s=!0,r=t},f:function(){try{o||null==i.return||i.return()}finally{if(s)throw r}}}}function _(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,n=new Array(e);i<e;i++)n[i]=t[i];return n}function b(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.push.apply(i,n)}return i}function w(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?b(Object(i),!0).forEach((function(e){(0,h.default)(t,e,i[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):b(Object(i)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))}))}return t}function S(t){var e=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var i,n=(0,p.default)(t);if(e){var a=(0,p.default)(this).constructor;i=Reflect.construct(n,arguments,a)}else i=n.apply(this,arguments);return(0,f.default)(this,i)}}function k(t,e,i){return t(i={path:e,exports:{},require:function(t,e){return function(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}(null==e&&i.path)}},i.exports),i.exports}"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof t||"undefined"!=typeof self&&self;var C=k((function(t,e){var i;t.exports=(i=i||function(t,e){var i=Object.create||function(){function t(){}return function(e){var i;return t.prototype=e,i=new t,t.prototype=null,i}}(),n={},a=n.lib={},r=a.Base={extend:function(t){var e=i(this);return t&&e.mixIn(t),e.hasOwnProperty("init")&&this.init!==e.init||(e.init=function(){e.$super.init.apply(this,arguments)}),e.init.prototype=e,e.$super=this,e},create:function(){var t=this.extend();return t.init.apply(t,arguments),t},init:function(){},mixIn:function(t){for(var e in t)t.hasOwnProperty(e)&&(this[e]=t[e]);t.hasOwnProperty("toString")&&(this.toString=t.toString)},clone:function(){return this.init.prototype.extend(this)}},o=a.WordArray=r.extend({init:function(t,e){t=this.words=t||[],this.sigBytes=void 0!=e?e:4*t.length},toString:function(t){return(t||c).stringify(this)},concat:function(t){var e=this.words,i=t.words,n=this.sigBytes,a=t.sigBytes;if(this.clamp(),n%4)for(var r=0;r<a;r++){var o=i[r>>>2]>>>24-r%4*8&255;e[n+r>>>2]|=o<<24-(n+r)%4*8}else for(r=0;r<a;r+=4)e[n+r>>>2]=i[r>>>2];return this.sigBytes+=a,this},clamp:function(){var e=this.words,i=this.sigBytes;e[i>>>2]&=4294967295<<32-i%4*8,e.length=t.ceil(i/4)},clone:function(){var t=r.clone.call(this);return t.words=this.words.slice(0),t},random:function(e){for(var i,n=[],a=function(e){var i=987654321,n=4294967295;return function(){var a=((i=36969*(65535&i)+(i>>16)&n)<<16)+(e=18e3*(65535&e)+(e>>16)&n)&n;return a/=4294967296,(a+=.5)*(t.random()>.5?1:-1)}},r=0;r<e;r+=4){var s=a(4294967296*(i||t.random()));i=987654071*s(),n.push(4294967296*s()|0)}return new o.init(n,e)}}),s=n.enc={},c=s.Hex={stringify:function(t){for(var e=t.words,i=t.sigBytes,n=[],a=0;a<i;a++){var r=e[a>>>2]>>>24-a%4*8&255;n.push((r>>>4).toString(16)),n.push((15&r).toString(16))}return n.join("")},parse:function(t){for(var e=t.length,i=[],n=0;n<e;n+=2)i[n>>>3]|=parseInt(t.substr(n,2),16)<<24-n%8*4;return new o.init(i,e/2)}},l=s.Latin1={stringify:function(t){for(var e=t.words,i=t.sigBytes,n=[],a=0;a<i;a++){var r=e[a>>>2]>>>24-a%4*8&255;n.push(String.fromCharCode(r))}return n.join("")},parse:function(t){for(var e=t.length,i=[],n=0;n<e;n++)i[n>>>2]|=(255&t.charCodeAt(n))<<24-n%4*8;return new o.init(i,e)}},u=s.Utf8={stringify:function(t){try{return decodeURIComponent(escape(l.stringify(t)))}catch(t){throw new Error("Malformed UTF-8 data")}},parse:function(t){return l.parse(unescape(encodeURIComponent(t)))}},h=a.BufferedBlockAlgorithm=r.extend({reset:function(){this._data=new o.init,this._nDataBytes=0},_append:function(t){"string"==typeof t&&(t=u.parse(t)),this._data.concat(t),this._nDataBytes+=t.sigBytes},_process:function(e){var i=this._data,n=i.words,a=i.sigBytes,r=this.blockSize,s=a/(4*r),c=(s=e?t.ceil(s):t.max((0|s)-this._minBufferSize,0))*r,l=t.min(4*c,a);if(c){for(var u=0;u<c;u+=r)this._doProcessBlock(n,u);var h=n.splice(0,c);i.sigBytes-=l}return new o.init(h,l)},clone:function(){var t=r.clone.call(this);return t._data=this._data.clone(),t},_minBufferSize:0});a.Hasher=h.extend({cfg:r.extend(),init:function(t){this.cfg=this.cfg.extend(t),this.reset()},reset:function(){h.reset.call(this),this._doReset()},update:function(t){return this._append(t),this._process(),this},finalize:function(t){return t&&this._append(t),this._doFinalize()},blockSize:16,_createHelper:function(t){return function(e,i){return new t.init(i).finalize(e)}},_createHmacHelper:function(t){return function(e,i){return new d.HMAC.init(t,i).finalize(e)}}});var d=n.algo={};return n}(Math),i)})),T=C,P=(k((function(t,e){var i;t.exports=(i=T,function(t){var e=i,n=e.lib,a=n.WordArray,r=n.Hasher,o=e.algo,s=[];!function(){for(var e=0;e<64;e++)s[e]=4294967296*t.abs(t.sin(e+1))|0}();var c=o.MD5=r.extend({_doReset:function(){this._hash=new a.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(t,e){for(var i=0;i<16;i++){var n=e+i,a=t[n];t[n]=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8)}var r=this._hash.words,o=t[e+0],c=t[e+1],f=t[e+2],p=t[e+3],g=t[e+4],v=t[e+5],m=t[e+6],x=t[e+7],y=t[e+8],_=t[e+9],b=t[e+10],w=t[e+11],S=t[e+12],k=t[e+13],C=t[e+14],T=t[e+15],P=r[0],A=r[1],O=r[2],L=r[3];P=l(P,A,O,L,o,7,s[0]),L=l(L,P,A,O,c,12,s[1]),O=l(O,L,P,A,f,17,s[2]),A=l(A,O,L,P,p,22,s[3]),P=l(P,A,O,L,g,7,s[4]),L=l(L,P,A,O,v,12,s[5]),O=l(O,L,P,A,m,17,s[6]),A=l(A,O,L,P,x,22,s[7]),P=l(P,A,O,L,y,7,s[8]),L=l(L,P,A,O,_,12,s[9]),O=l(O,L,P,A,b,17,s[10]),A=l(A,O,L,P,w,22,s[11]),P=l(P,A,O,L,S,7,s[12]),L=l(L,P,A,O,k,12,s[13]),O=l(O,L,P,A,C,17,s[14]),P=u(P,A=l(A,O,L,P,T,22,s[15]),O,L,c,5,s[16]),L=u(L,P,A,O,m,9,s[17]),O=u(O,L,P,A,w,14,s[18]),A=u(A,O,L,P,o,20,s[19]),P=u(P,A,O,L,v,5,s[20]),L=u(L,P,A,O,b,9,s[21]),O=u(O,L,P,A,T,14,s[22]),A=u(A,O,L,P,g,20,s[23]),P=u(P,A,O,L,_,5,s[24]),L=u(L,P,A,O,C,9,s[25]),O=u(O,L,P,A,p,14,s[26]),A=u(A,O,L,P,y,20,s[27]),P=u(P,A,O,L,k,5,s[28]),L=u(L,P,A,O,f,9,s[29]),O=u(O,L,P,A,x,14,s[30]),P=h(P,A=u(A,O,L,P,S,20,s[31]),O,L,v,4,s[32]),L=h(L,P,A,O,y,11,s[33]),O=h(O,L,P,A,w,16,s[34]),A=h(A,O,L,P,C,23,s[35]),P=h(P,A,O,L,c,4,s[36]),L=h(L,P,A,O,g,11,s[37]),O=h(O,L,P,A,x,16,s[38]),A=h(A,O,L,P,b,23,s[39]),P=h(P,A,O,L,k,4,s[40]),L=h(L,P,A,O,o,11,s[41]),O=h(O,L,P,A,p,16,s[42]),A=h(A,O,L,P,m,23,s[43]),P=h(P,A,O,L,_,4,s[44]),L=h(L,P,A,O,S,11,s[45]),O=h(O,L,P,A,T,16,s[46]),P=d(P,A=h(A,O,L,P,f,23,s[47]),O,L,o,6,s[48]),L=d(L,P,A,O,x,10,s[49]),O=d(O,L,P,A,C,15,s[50]),A=d(A,O,L,P,v,21,s[51]),P=d(P,A,O,L,S,6,s[52]),L=d(L,P,A,O,p,10,s[53]),O=d(O,L,P,A,b,15,s[54]),A=d(A,O,L,P,c,21,s[55]),P=d(P,A,O,L,y,6,s[56]),L=d(L,P,A,O,T,10,s[57]),O=d(O,L,P,A,m,15,s[58]),A=d(A,O,L,P,k,21,s[59]),P=d(P,A,O,L,g,6,s[60]),L=d(L,P,A,O,w,10,s[61]),O=d(O,L,P,A,f,15,s[62]),A=d(A,O,L,P,_,21,s[63]),r[0]=r[0]+P|0,r[1]=r[1]+A|0,r[2]=r[2]+O|0,r[3]=r[3]+L|0},_doFinalize:function(){var e=this._data,i=e.words,n=8*this._nDataBytes,a=8*e.sigBytes;i[a>>>5]|=128<<24-a%32;var r=t.floor(n/4294967296),o=n;i[15+(a+64>>>9<<4)]=16711935&(r<<8|r>>>24)|4278255360&(r<<24|r>>>8),i[14+(a+64>>>9<<4)]=16711935&(o<<8|o>>>24)|4278255360&(o<<24|o>>>8),e.sigBytes=4*(i.length+1),this._process();for(var s=this._hash,c=s.words,l=0;l<4;l++){var u=c[l];c[l]=16711935&(u<<8|u>>>24)|4278255360&(u<<24|u>>>8)}return s},clone:function(){var t=r.clone.call(this);return t._hash=this._hash.clone(),t}});function l(t,e,i,n,a,r,o){var s=t+(e&i|~e&n)+a+o;return(s<<r|s>>>32-r)+e}function u(t,e,i,n,a,r,o){var s=t+(e&n|i&~n)+a+o;return(s<<r|s>>>32-r)+e}function h(t,e,i,n,a,r,o){var s=t+(e^i^n)+a+o;return(s<<r|s>>>32-r)+e}function d(t,e,i,n,a,r,o){var s=t+(i^(e|~n))+a+o;return(s<<r|s>>>32-r)+e}e.MD5=r._createHelper(c),e.HmacMD5=r._createHmacHelper(c)}(Math),i.MD5)})),k((function(t,e){var i;t.exports=(i=T,void function(){var t=i,e=t.lib.Base,n=t.enc.Utf8;t.algo.HMAC=e.extend({init:function(t,e){t=this._hasher=new t.init,"string"==typeof e&&(e=n.parse(e));var i=t.blockSize,a=4*i;e.sigBytes>a&&(e=t.finalize(e)),e.clamp();for(var r=this._oKey=e.clone(),o=this._iKey=e.clone(),s=r.words,c=o.words,l=0;l<i;l++)s[l]^=1549556828,c[l]^=909522486;r.sigBytes=o.sigBytes=a,this.reset()},reset:function(){var t=this._hasher;t.reset(),t.update(this._iKey)},update:function(t){return this._hasher.update(t),this},finalize:function(t){var e=this._hasher,i=e.finalize(t);return e.reset(),e.finalize(this._oKey.clone().concat(i))}})}())})),k((function(t,e){t.exports=T.HmacMD5}))),A=k((function(t,e){t.exports=T.enc.Utf8})),O=k((function(t,e){var i;t.exports=(i=T,function(){var t=i,e=t.lib.WordArray;function n(t,i,n){for(var a=[],r=0,o=0;o<i;o++)if(o%4){var s=n[t.charCodeAt(o-1)]<<o%4*2,c=n[t.charCodeAt(o)]>>>6-o%4*2;a[r>>>2]|=(s|c)<<24-r%4*8,r++}return e.create(a,r)}t.enc.Base64={stringify:function(t){var e=t.words,i=t.sigBytes,n=this._map;t.clamp();for(var a=[],r=0;r<i;r+=3)for(var o=(e[r>>>2]>>>24-r%4*8&255)<<16|(e[r+1>>>2]>>>24-(r+1)%4*8&255)<<8|e[r+2>>>2]>>>24-(r+2)%4*8&255,s=0;s<4&&r+.75*s<i;s++)a.push(n.charAt(o>>>6*(3-s)&63));var c=n.charAt(64);if(c)for(;a.length%4;)a.push(c);return a.join("")},parse:function(t){var e=t.length,i=this._map,a=this._reverseMap;if(!a){a=this._reverseMap=[];for(var r=0;r<i.length;r++)a[i.charCodeAt(r)]=r}var o=i.charAt(64);if(o){var s=t.indexOf(o);-1!==s&&(e=s)}return n(t,e,a)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="}}(),i.enc.Base64)})),L="uni_id_token",D="uni_id_token_expired",I={DEFAULT:"FUNCTION",FUNCTION:"FUNCTION",OBJECT:"OBJECT",CLIENT_DB:"CLIENT_DB"},M="pending",E="fulfilled",F="rejected";function $(t){return Object.prototype.toString.call(t).slice(8,-1).toLowerCase()}function R(t){return"object"===$(t)}function N(t){return"function"==typeof t}function j(t){return function(){try{return t.apply(t,arguments)}catch(t){console.error(t)}}}var U="REJECTED",B="NOT_PENDING",z=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=e.createPromise,n=e.retryRule,a=void 0===n?U:n;(0,v.default)(this,t),this.createPromise=i,this.status=null,this.promise=null,this.retryRule=a}return(0,m.default)(t,[{key:"needRetry",get:function(){if(!this.status)return!0;switch(this.retryRule){case U:return this.status===F;case B:return this.status!==M}}},{key:"exec",value:function(){var t=this;return this.needRetry?(this.status=M,this.promise=this.createPromise().then((function(e){return t.status=E,Promise.resolve(e)}),(function(e){return t.status=F,Promise.reject(e)})),this.promise):this.promise}}]),t}(),W=function(){function t(){(0,v.default)(this,t),this._callback={}}return(0,m.default)(t,[{key:"addListener",value:function(t,e){this._callback[t]||(this._callback[t]=[]),this._callback[t].push(e)}},{key:"on",value:function(t,e){return this.addListener(t,e)}},{key:"removeListener",value:function(t,e){if(!e)throw new Error('The "listener" argument must be of type function. Received undefined');var i=this._callback[t];if(i){var n=function(t,e){for(var i=t.length-1;i>=0;i--)if(t[i]===e)return i;return-1}(i,e);i.splice(n,1)}}},{key:"off",value:function(t,e){return this.removeListener(t,e)}},{key:"removeAllListener",value:function(t){delete this._callback[t]}},{key:"emit",value:function(t){for(var e=this._callback[t],i=arguments.length,n=new Array(i>1?i-1:0),a=1;a<i;a++)n[a-1]=arguments[a];if(e)for(var r=0;r<e.length;r++)e[r].apply(e,n)}}]),t}();function q(t){return t&&"string"==typeof t?JSON.parse(t):t}var H=q([]),G="app",J=(q(void 0),q([])||[]);try{(i("6620").default||i("6620")).appid}catch(kn){}var V,K={};function X(t){var e,i,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return e=K,i=t,Object.prototype.hasOwnProperty.call(e,i)||(K[t]=n),K[t]}"app"===G&&(K=uni._globalUniCloudObj?uni._globalUniCloudObj:uni._globalUniCloudObj={});var Y=["invoke","success","fail","complete"],Q=X("_globalUniCloudInterceptor");function Z(t,e){Q[t]||(Q[t]={}),R(e)&&Object.keys(e).forEach((function(i){Y.indexOf(i)>-1&&function(t,e,i){var n=Q[t][e];n||(n=Q[t][e]=[]),-1===n.indexOf(i)&&N(i)&&n.push(i)}(t,i,e[i])}))}function tt(t,e){Q[t]||(Q[t]={}),R(e)?Object.keys(e).forEach((function(i){Y.indexOf(i)>-1&&function(t,e,i){var n=Q[t][e];if(n){var a=n.indexOf(i);a>-1&&n.splice(a,1)}}(t,i,e[i])})):delete Q[t]}function et(t,e){return t&&0!==t.length?t.reduce((function(t,i){return t.then((function(){return i(e)}))}),Promise.resolve()):Promise.resolve()}function it(t,e){return Q[t]&&Q[t][e]||[]}function nt(t){Z("callObject",t)}var at=X("_globalUniCloudListener"),rt={RESPONSE:"response",NEED_LOGIN:"needLogin",REFRESH_TOKEN:"refreshToken"},ot={CLIENT_DB:"clientdb",CLOUD_FUNCTION:"cloudfunction",CLOUD_OBJECT:"cloudobject"};function st(t){return at[t]||(at[t]=[]),at[t]}function ct(t,e){var i=st(t);i.includes(e)||i.push(e)}function lt(t,e){var i=st(t),n=i.indexOf(e);-1!==n&&i.splice(n,1)}function ut(t,e){for(var i=st(t),n=0;n<i.length;n++)(0,i[n])(e)}var ht,dt=!1;function ft(){return ht||(ht=new Promise((function(t){dt&&t(),function e(){if("function"==typeof getCurrentPages){var i=getCurrentPages();i&&i[0]&&(dt=!0,t())}dt||setTimeout((function(){e()}),30)}()})),ht)}function pt(t){var e={};for(var i in t){var n=t[i];N(n)&&(e[i]=j(n))}return e}var gt=function(t){(0,d.default)(i,t);var e=S(i);function i(t){var n;return(0,v.default)(this,i),n=e.call(this,t.message),n.errMsg=t.message||t.errMsg||"unknown system error",n.code=n.errCode=t.code||t.errCode||"SYSTEM_ERROR",n.errSubject=n.subject=t.subject||t.errSubject,n.cause=t.cause,n.requestId=t.requestId,n}return(0,m.default)(i,[{key:"toJson",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;if(!(t>=10))return t++,{errCode:this.errCode,errMsg:this.errMsg,errSubject:this.errSubject,cause:this.cause&&this.cause.toJson?this.cause.toJson(t):this.cause}}}]),i}((0,g.default)(Error));e.UniCloudError=gt;var vt,mt,xt={request:function(t){return uni.request(t)},uploadFile:function(t){return uni.uploadFile(t)},setStorageSync:function(t,e){return uni.setStorageSync(t,e)},getStorageSync:function(t){return uni.getStorageSync(t)},removeStorageSync:function(t){return uni.removeStorageSync(t)},clearStorageSync:function(){return uni.clearStorageSync()},connectSocket:function(t){return uni.connectSocket(t)}};function yt(){return{token:xt.getStorageSync(L)||xt.getStorageSync("uniIdToken"),tokenExpired:xt.getStorageSync(D)}}function _t(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.token,i=t.tokenExpired;e&&xt.setStorageSync(L,e),i&&xt.setStorageSync(D,i)}function bt(){return vt||(vt=uni.getSystemInfoSync()),vt}var wt={};function St(){var t=uni.getLocale&&uni.getLocale()||"en";if(mt)return w(w(w({},wt),mt),{},{locale:t,LOCALE:t});var e=bt(),i=e.deviceId,n=e.osName,a=e.uniPlatform,r=e.appId,o=["appId","appLanguage","appName","appVersion","appVersionCode","appWgtVersion","browserName","browserVersion","deviceBrand","deviceId","deviceModel","deviceType","osName","osVersion","romName","romVersion","ua","hostName","hostVersion","uniPlatform","uniRuntimeVersion","uniRuntimeVersionCode","uniCompilerVersion","uniCompilerVersionCode"];for(var s in e)Object.hasOwnProperty.call(e,s)&&-1===o.indexOf(s)&&delete e[s];return mt=w(w({PLATFORM:a,OS:n,APPID:r,DEVICEID:i},function(){var t,e;try{if(uni.getLaunchOptionsSync){if(uni.getLaunchOptionsSync.toString().indexOf("not yet implemented")>-1)return;var i=uni.getLaunchOptionsSync(),n=i.scene,a=i.channel;t=a,e=n}}catch(t){}return{channel:t,scene:e}}()),e),w(w(w({},wt),mt),{},{locale:t,LOCALE:t})}var kt,Ct={sign:function(t,e){var i="";return Object.keys(t).sort().forEach((function(e){t[e]&&(i=i+"&"+e+"="+t[e])})),i=i.slice(1),P(i,e).toString()},wrappedRequest:function(t,e){return new Promise((function(i,n){e(Object.assign(t,{complete:function(t){t||(t={});var e=t.data&&t.data.header&&t.data.header["x-serverless-request-id"]||t.header&&t.header["request-id"];if(!t.statusCode||t.statusCode>=400){var a=t.data&&t.data.error&&t.data.error.code||"SYS_ERR",r=t.data&&t.data.error&&t.data.error.message||t.errMsg||"request:fail";return n(new gt({code:a,message:r,requestId:e}))}var o=t.data;if(o.error)return n(new gt({code:o.error.code,message:o.error.message,requestId:e}));o.result=o.data,o.requestId=e,delete o.data,i(o)}}))}))},toBase64:function(t){return O.stringify(A.parse(t))}},Tt=function(){function t(e){var i=this;(0,v.default)(this,t),["spaceId","clientSecret"].forEach((function(t){if(!Object.prototype.hasOwnProperty.call(e,t))throw new Error("".concat(t," required"))})),this.config=Object.assign({},{endpoint:0===e.spaceId.indexOf("mp-")?"https://api.next.bspapp.com":"https://api.bspapp.com"},e),this.config.provider="aliyun",this.config.requestUrl=this.config.endpoint+"/client",this.config.envType=this.config.envType||"public",this.config.accessTokenKey="access_token_"+this.config.spaceId,this.adapter=xt,this._getAccessTokenPromiseHub=new z({createPromise:function(){return i.requestAuth(i.setupRequest({method:"serverless.auth.user.anonymousAuthorize",params:"{}"},"auth")).then((function(t){if(!t.result||!t.result.accessToken)throw new gt({code:"AUTH_FAILED",message:"\u83b7\u53d6accessToken\u5931\u8d25"});i.setAccessToken(t.result.accessToken)}))},retryRule:B})}return(0,m.default)(t,[{key:"hasAccessToken",get:function(){return!!this.accessToken}},{key:"setAccessToken",value:function(t){this.accessToken=t}},{key:"requestWrapped",value:function(t){return Ct.wrappedRequest(t,this.adapter.request)}},{key:"requestAuth",value:function(t){return this.requestWrapped(t)}},{key:"request",value:function(t,e){var i=this;return Promise.resolve().then((function(){return i.hasAccessToken?e?i.requestWrapped(t):i.requestWrapped(t).catch((function(e){return new Promise((function(t,i){!e||"GATEWAY_INVALID_TOKEN"!==e.code&&"InvalidParameter.InvalidToken"!==e.code?i(e):t()})).then((function(){return i.getAccessToken()})).then((function(){var e=i.rebuildRequest(t);return i.request(e,!0)}))})):i.getAccessToken().then((function(){var e=i.rebuildRequest(t);return i.request(e,!0)}))}))}},{key:"rebuildRequest",value:function(t){var e=Object.assign({},t);return e.data.token=this.accessToken,e.header["x-basement-token"]=this.accessToken,e.header["x-serverless-sign"]=Ct.sign(e.data,this.config.clientSecret),e}},{key:"setupRequest",value:function(t,e){var i=Object.assign({},t,{spaceId:this.config.spaceId,timestamp:Date.now()}),n={"Content-Type":"application/json"};return"auth"!==e&&(i.token=this.accessToken,n["x-basement-token"]=this.accessToken),n["x-serverless-sign"]=Ct.sign(i,this.config.clientSecret),{url:this.config.requestUrl,method:"POST",data:i,dataType:"json",header:n}}},{key:"getAccessToken",value:function(){return this._getAccessTokenPromiseHub.exec()}},{key:"authorize",value:function(){var t=(0,u.default)(r.default.mark((function t(){return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,this.getAccessToken();case 2:case"end":return t.stop()}}),t,this)})));return function(){return t.apply(this,arguments)}}()},{key:"callFunction",value:function(t){var e={method:"serverless.function.runtime.invoke",params:JSON.stringify({functionTarget:t.name,functionArgs:t.data||{}})};return this.request(w(w({},this.setupRequest(e)),{},{timeout:t.timeout}))}},{key:"getOSSUploadOptionsFromPath",value:function(t){var e={method:"serverless.file.resource.generateProximalSign",params:JSON.stringify(t)};return this.request(this.setupRequest(e))}},{key:"uploadFileToOSS",value:function(t){var e=this,i=t.url,n=t.formData,a=t.name,r=t.filePath,o=t.fileType,s=t.onUploadProgress;return new Promise((function(t,c){var l=e.adapter.uploadFile({url:i,formData:n,name:a,filePath:r,fileType:o,header:{"X-OSS-server-side-encrpytion":"AES256"},success:function(e){e&&e.statusCode<400?t(e):c(new gt({code:"UPLOAD_FAILED",message:"\u6587\u4ef6\u4e0a\u4f20\u5931\u8d25"}))},fail:function(t){c(new gt({code:t.code||"UPLOAD_FAILED",message:t.message||t.errMsg||"\u6587\u4ef6\u4e0a\u4f20\u5931\u8d25"}))}});"function"==typeof s&&l&&"function"==typeof l.onProgressUpdate&&l.onProgressUpdate((function(t){s({loaded:t.totalBytesSent,total:t.totalBytesExpectedToSend})}))}))}},{key:"reportOSSUpload",value:function(t){var e={method:"serverless.file.resource.report",params:JSON.stringify(t)};return this.request(this.setupRequest(e))}},{key:"uploadFile",value:function(){var t=(0,u.default)(r.default.mark((function t(e){var i,n,a,o,s,c,l,u,h,d,f,p,g,v,m,x,y,_,b,w,S,k;return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(i=e.filePath,n=e.cloudPath,a=e.fileType,o=void 0===a?"image":a,s=e.cloudPathAsRealPath,c=void 0!==s&&s,l=e.onUploadProgress,u=e.config,"string"===$(n)){t.next=3;break}throw new gt({code:"INVALID_PARAM",message:"cloudPath\u5fc5\u987b\u4e3a\u5b57\u7b26\u4e32\u7c7b\u578b"});case 3:if(n=n.trim()){t.next=5;break}throw new gt({code:"INVALID_PARAM",message:"cloudPath\u4e0d\u53ef\u4e3a\u7a7a"});case 5:if(!/:\/\//.test(n)){t.next=7;break}throw new gt({code:"INVALID_PARAM",message:"cloudPath\u4e0d\u5408\u6cd5"});case 7:if(h=u&&u.envType||this.config.envType,!(c&&("/"!==n[0]&&(n="/"+n),n.indexOf("\\")>-1))){t.next=10;break}throw new gt({code:"INVALID_PARAM",message:"\u4f7f\u7528cloudPath\u4f5c\u4e3a\u8def\u5f84\u65f6\uff0ccloudPath\u4e0d\u53ef\u5305\u542b\u201c\\\u201d"});case 10:return t.next=12,this.getOSSUploadOptionsFromPath({env:h,filename:c?n.split("/").pop():n,fileId:c?n:void 0});case 12:return d=t.sent.result,f="https://"+d.cdnDomain+"/"+d.ossPath,p=d.securityToken,g=d.accessKeyId,v=d.signature,m=d.host,x=d.ossPath,y=d.id,_=d.policy,b=d.ossCallbackUrl,w={"Cache-Control":"max-age=2592000","Content-Disposition":"attachment",OSSAccessKeyId:g,Signature:v,host:m,id:y,key:x,policy:_,success_action_status:200},p&&(w["x-oss-security-token"]=p),b&&(S=JSON.stringify({callbackUrl:b,callbackBody:JSON.stringify({fileId:y,spaceId:this.config.spaceId}),callbackBodyType:"application/json"}),w.callback=Ct.toBase64(S)),k={url:"https://"+d.host,formData:w,fileName:"file",name:"file",filePath:i,fileType:o},t.next=27,this.uploadFileToOSS(Object.assign({},k,{onUploadProgress:l}));case 27:if(!b){t.next=29;break}return t.abrupt("return",{success:!0,filePath:i,fileID:f});case 29:return t.next=31,this.reportOSSUpload({id:y});case 31:if(!t.sent.success){t.next=33;break}return t.abrupt("return",{success:!0,filePath:i,fileID:f});case 33:throw new gt({code:"UPLOAD_FAILED",message:"\u6587\u4ef6\u4e0a\u4f20\u5931\u8d25"});case 34:case"end":return t.stop()}}),t,this)})));return function(e){return t.apply(this,arguments)}}()},{key:"getTempFileURL",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.fileList;return new Promise((function(t,i){Array.isArray(e)&&0!==e.length||i(new gt({code:"INVALID_PARAM",message:"fileList\u7684\u5143\u7d20\u5fc5\u987b\u662f\u975e\u7a7a\u7684\u5b57\u7b26\u4e32"})),t({fileList:e.map((function(t){return{fileID:t,tempFileURL:t}}))})}))}},{key:"getFileInfo",value:function(){var t=(0,u.default)(r.default.mark((function t(){var e,i,n,a=arguments;return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(e=a.length>0&&void 0!==a[0]?a[0]:{},i=e.fileList,Array.isArray(i)&&0!==i.length){t.next=3;break}throw new gt({code:"INVALID_PARAM",message:"fileList\u7684\u5143\u7d20\u5fc5\u987b\u662f\u975e\u7a7a\u7684\u5b57\u7b26\u4e32"});case 3:return n={method:"serverless.file.resource.info",params:JSON.stringify({id:i.map((function(t){return t.split("?")[0]})).join(",")})},t.next=6,this.request(this.setupRequest(n));case 6:return t.t0=t.sent.result,t.abrupt("return",{fileList:t.t0});case 8:case"end":return t.stop()}}),t,this)})));return function(){return t.apply(this,arguments)}}()}]),t}(),Pt={init:function(t){var e=new Tt(t),i={signInAnonymously:function(){return e.authorize()},getLoginState:function(){return Promise.resolve(!1)}};return e.auth=function(){return i},e.customAuth=e.auth,e}},At="undefined"!=typeof location&&"http:"===location.protocol?"http:":"https:";!function(t){t.local="local",t.none="none",t.session="session"}(kt||(kt={}));var Ot,Lt=function(){},Dt=k((function(t,e){var i;t.exports=(i=T,function(t){var e=i,n=e.lib,a=n.WordArray,r=n.Hasher,o=e.algo,s=[],c=[];!function(){function e(e){for(var i=t.sqrt(e),n=2;n<=i;n++)if(!(e%n))return!1;return!0}function i(t){return 4294967296*(t-(0|t))|0}for(var n=2,a=0;a<64;)e(n)&&(a<8&&(s[a]=i(t.pow(n,.5))),c[a]=i(t.pow(n,1/3)),a++),n++}();var l=[],u=o.SHA256=r.extend({_doReset:function(){this._hash=new a.init(s.slice(0))},_doProcessBlock:function(t,e){for(var i=this._hash.words,n=i[0],a=i[1],r=i[2],o=i[3],s=i[4],u=i[5],h=i[6],d=i[7],f=0;f<64;f++){if(f<16)l[f]=0|t[e+f];else{var p=l[f-15],g=(p<<25|p>>>7)^(p<<14|p>>>18)^p>>>3,v=l[f-2],m=(v<<15|v>>>17)^(v<<13|v>>>19)^v>>>10;l[f]=g+l[f-7]+m+l[f-16]}var x=n&a^n&r^a&r,y=(n<<30|n>>>2)^(n<<19|n>>>13)^(n<<10|n>>>22),_=d+((s<<26|s>>>6)^(s<<21|s>>>11)^(s<<7|s>>>25))+(s&u^~s&h)+c[f]+l[f];d=h,h=u,u=s,s=o+_|0,o=r,r=a,a=n,n=_+(y+x)|0}i[0]=i[0]+n|0,i[1]=i[1]+a|0,i[2]=i[2]+r|0,i[3]=i[3]+o|0,i[4]=i[4]+s|0,i[5]=i[5]+u|0,i[6]=i[6]+h|0,i[7]=i[7]+d|0},_doFinalize:function(){var e=this._data,i=e.words,n=8*this._nDataBytes,a=8*e.sigBytes;return i[a>>>5]|=128<<24-a%32,i[14+(a+64>>>9<<4)]=t.floor(n/4294967296),i[15+(a+64>>>9<<4)]=n,e.sigBytes=4*i.length,this._process(),this._hash},clone:function(){var t=r.clone.call(this);return t._hash=this._hash.clone(),t}});e.SHA256=r._createHelper(u),e.HmacSHA256=r._createHmacHelper(u)}(Math),i.SHA256)})),It=Dt,Mt=k((function(t,e){t.exports=T.HmacSHA256})),Et=function(){var t;if(!Promise){t=function(){},t.promise={};var e=function(){throw new gt({message:'Your Node runtime does support ES6 Promises. Set "global.Promise" to your preferred implementation of promises.'})};return Object.defineProperty(t.promise,"then",{get:e}),Object.defineProperty(t.promise,"catch",{get:e}),t}var i=new Promise((function(e,i){t=function(t,n){return t?i(t):e(n)}}));return t.promise=i,t};function Ft(t){return void 0===t}function $t(t){return"[object Null]"===Object.prototype.toString.call(t)}function Rt(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return t.replace(/([\s\S]+)\s+(\u8bf7\u524d\u5f80\u4e91\u5f00\u53d1AI\u5c0f\u52a9\u624b\u67e5\u770b\u95ee\u9898\uff1a.*)/,"$1")}function Nt(){for(var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:32,e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",i="",n=0;n<t;n++)i+=e.charAt(Math.floor(62*Math.random()));return i}!function(t){t.WEB="web",t.WX_MP="wx_mp"}(Ot||(Ot={}));var jt={adapter:null,runtime:void 0},Ut=["anonymousUuidKey"],Bt=function(t){(0,d.default)(i,t);var e=S(i);function i(){var t;return(0,v.default)(this,i),t=e.call(this),jt.adapter.root.tcbObject||(jt.adapter.root.tcbObject={}),t}return(0,m.default)(i,[{key:"setItem",value:function(t,e){jt.adapter.root.tcbObject[t]=e}},{key:"getItem",value:function(t){return jt.adapter.root.tcbObject[t]}},{key:"removeItem",value:function(t){delete jt.adapter.root.tcbObject[t]}},{key:"clear",value:function(){delete jt.adapter.root.tcbObject}}]),i}(Lt);function zt(t,e){switch(t){case"local":return e.localStorage||new Bt;case"none":return new Bt;default:return e.sessionStorage||new Bt}}var Wt=function(){function t(e){if((0,v.default)(this,t),!this._storage){this._persistence=jt.adapter.primaryStorage||e.persistence,this._storage=zt(this._persistence,jt.adapter);var i="access_token_".concat(e.env),n="access_token_expire_".concat(e.env),a="refresh_token_".concat(e.env),r="anonymous_uuid_".concat(e.env),o="login_type_".concat(e.env),s="token_type_".concat(e.env),c="user_info_".concat(e.env);this.keys={accessTokenKey:i,accessTokenExpireKey:n,refreshTokenKey:a,anonymousUuidKey:r,loginTypeKey:o,userInfoKey:c,deviceIdKey:"device_id",tokenTypeKey:s}}}return(0,m.default)(t,[{key:"updatePersistence",value:function(t){if(t!==this._persistence){var e="local"===this._persistence;this._persistence=t;var i=zt(t,jt.adapter);for(var n in this.keys){var a=this.keys[n];if(!e||!Ut.includes(n)){var r=this._storage.getItem(a);Ft(r)||$t(r)||(i.setItem(a,r),this._storage.removeItem(a))}}this._storage=i}}},{key:"setStore",value:function(t,e,i){if(this._storage){var n={version:i||"localCachev1",content:e},a=JSON.stringify(n);try{this._storage.setItem(t,a)}catch(t){throw t}}}},{key:"getStore",value:function(t,e){try{if(!this._storage)return}catch(t){return""}e=e||"localCachev1";var i=this._storage.getItem(t);return i&&i.indexOf(e)>=0?JSON.parse(i).content:""}},{key:"removeStore",value:function(t){this._storage.removeItem(t)}}]),t}(),qt={},Ht={};function Gt(t){return qt[t]}var Jt=(0,m.default)((function t(e,i){(0,v.default)(this,t),this.data=i||null,this.name=e})),Vt=function(t){(0,d.default)(i,t);var e=S(i);function i(t,n){var a;return(0,v.default)(this,i),a=e.call(this,"error",{error:t,data:n}),a.error=t,a}return(0,m.default)(i)}(Jt),Kt=new(function(){function t(){(0,v.default)(this,t),this._listeners={}}return(0,m.default)(t,[{key:"on",value:function(t,e){return function(t,e,i){i[t]=i[t]||[],i[t].push(e)}(t,e,this._listeners),this}},{key:"off",value:function(t,e){return function(t,e,i){if(i&&i[t]){var n=i[t].indexOf(e);-1!==n&&i[t].splice(n,1)}}(t,e,this._listeners),this}},{key:"fire",value:function(t,e){if(t instanceof Vt)return console.error(t.error),this;var i="string"==typeof t?new Jt(t,e||{}):t,n=i.name;if(this._listens(n)){i.target=this;var a,r=this._listeners[n]?(0,l.default)(this._listeners[n]):[],o=y(r);try{for(o.s();!(a=o.n()).done;){var s=a.value;s.call(this,i)}}catch(c){o.e(c)}finally{o.f()}}return this}},{key:"_listens",value:function(t){return this._listeners[t]&&this._listeners[t].length>0}}]),t}());function Xt(t,e){Kt.on(t,e)}function Yt(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};Kt.fire(t,e)}function Qt(t,e){Kt.off(t,e)}var Zt,te="loginStateChanged",ee="loginStateExpire",ie="loginTypeChanged",ne="anonymousConverted",ae="refreshAccessToken";!function(t){t.ANONYMOUS="ANONYMOUS",t.WECHAT="WECHAT",t.WECHAT_PUBLIC="WECHAT-PUBLIC",t.WECHAT_OPEN="WECHAT-OPEN",t.CUSTOM="CUSTOM",t.EMAIL="EMAIL",t.USERNAME="USERNAME",t.NULL="NULL"}(Zt||(Zt={}));var re=function(){function t(){(0,v.default)(this,t),this._fnPromiseMap=new Map}return(0,m.default)(t,[{key:"run",value:function(){var t=(0,u.default)(r.default.mark((function t(e,i){var n,a=this;return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return n=this._fnPromiseMap.get(e),t.abrupt("return",(n||(n=new Promise(function(){var t=(0,u.default)(r.default.mark((function t(n,o){var s;return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,a._runIdlePromise();case 3:return s=i(),t.t0=n,t.next=7,s;case 7:t.t1=t.sent,(0,t.t0)(t.t1),t.next=14;break;case 11:t.prev=11,t.t2=t["catch"](0),o(t.t2);case 14:return t.prev=14,a._fnPromiseMap.delete(e),t.finish(14);case 17:case"end":return t.stop()}}),t,null,[[0,11,14,17]])})));return function(e,i){return t.apply(this,arguments)}}()),this._fnPromiseMap.set(e,n)),n));case 2:case"end":return t.stop()}}),t,this)})));return function(e,i){return t.apply(this,arguments)}}()},{key:"_runIdlePromise",value:function(){return Promise.resolve()}}]),t}(),oe=function(){function t(e){(0,v.default)(this,t),this._singlePromise=new re,this._cache=Gt(e.env),this._baseURL="https://".concat(e.env,".ap-shanghai.tcb-api.tencentcloudapi.com"),this._reqClass=new jt.adapter.reqClass({timeout:e.timeout,timeoutMsg:"\u8bf7\u6c42\u5728".concat(e.timeout/1e3,"s\u5185\u672a\u5b8c\u6210\uff0c\u5df2\u4e2d\u65ad"),restrictedMethods:["post"]})}return(0,m.default)(t,[{key:"_getDeviceId",value:function(){if(this._deviceID)return this._deviceID;var t=this._cache.keys.deviceIdKey,e=this._cache.getStore(t);return"string"==typeof e&&e.length>=16&&e.length<=48||(e=Nt(),this._cache.setStore(t,e)),this._deviceID=e,e}},{key:"_request",value:function(){var t=(0,u.default)(r.default.mark((function t(e,i){var n,a,o,s,c,l=arguments;return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(n=l.length>2&&void 0!==l[2]?l[2]:{},a={"x-request-id":Nt(),"x-device-id":this._getDeviceId()},!n.withAccessToken){t.next=9;break}return o=this._cache.keys.tokenTypeKey,t.next=6,this.getAccessToken();case 6:s=t.sent,c=this._cache.getStore(o),a.authorization="".concat(c," ").concat(s);case 9:return t.abrupt("return",this._reqClass["get"===n.method?"get":"post"]({url:"".concat(this._baseURL).concat(e),data:i,headers:a}));case 10:case"end":return t.stop()}}),t,this)})));return function(e,i){return t.apply(this,arguments)}}()},{key:"_fetchAccessToken",value:function(){var t=(0,u.default)(r.default.mark((function t(){var e,i,n,a,o,s,c,l,h,d,f=this;return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(e=this._cache.keys,i=e.loginTypeKey,n=e.accessTokenKey,a=e.accessTokenExpireKey,o=e.tokenTypeKey,s=this._cache.getStore(i),!s||s===Zt.ANONYMOUS){t.next=3;break}throw new gt({code:"INVALID_OPERATION",message:"\u975e\u533f\u540d\u767b\u5f55\u4e0d\u652f\u6301\u5237\u65b0 access token"});case 3:return t.next=5,this._singlePromise.run("fetchAccessToken",(0,u.default)(r.default.mark((function t(){return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,f._request("/auth/v1/signin/anonymously",{},{method:"post"});case 2:return t.abrupt("return",t.sent.data);case 3:case"end":return t.stop()}}),t)}))));case 5:return c=t.sent,l=c.access_token,h=c.expires_in,d=c.token_type,t.abrupt("return",(this._cache.setStore(o,d),this._cache.setStore(n,l),this._cache.setStore(a,Date.now()+1e3*h),l));case 10:case"end":return t.stop()}}),t,this)})));return function(){return t.apply(this,arguments)}}()},{key:"isAccessTokenExpired",value:function(t,e){var i=!0;return t&&e&&(i=e<Date.now()),i}},{key:"getAccessToken",value:function(){var t=(0,u.default)(r.default.mark((function t(){var e,i,n,a,o;return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return e=this._cache.keys,i=e.accessTokenKey,n=e.accessTokenExpireKey,a=this._cache.getStore(i),o=this._cache.getStore(n),t.abrupt("return",this.isAccessTokenExpired(a,o)?this._fetchAccessToken():a);case 2:case"end":return t.stop()}}),t,this)})));return function(){return t.apply(this,arguments)}}()},{key:"refreshAccessToken",value:function(){var t=(0,u.default)(r.default.mark((function t(){var e,i,n,a;return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return e=this._cache.keys,i=e.accessTokenKey,n=e.accessTokenExpireKey,a=e.loginTypeKey,t.abrupt("return",(this._cache.removeStore(i),this._cache.removeStore(n),this._cache.setStore(a,Zt.ANONYMOUS),this.getAccessToken()));case 2:case"end":return t.stop()}}),t,this)})));return function(){return t.apply(this,arguments)}}()},{key:"getUserInfo",value:function(){var t=(0,u.default)(r.default.mark((function t(){var e=this;return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.abrupt("return",this._singlePromise.run("getUserInfo",(0,u.default)(r.default.mark((function t(){return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,e._request("/auth/v1/user/me",{},{withAccessToken:!0,method:"get"});case 2:return t.abrupt("return",t.sent.data);case 3:case"end":return t.stop()}}),t)})))));case 1:case"end":return t.stop()}}),t,this)})));return function(){return t.apply(this,arguments)}}()}]),t}(),se=["auth.getJwt","auth.logout","auth.signInWithTicket","auth.signInAnonymously","auth.signIn","auth.fetchAccessTokenWithRefreshToken","auth.signUpWithEmailAndPassword","auth.activateEndUserMail","auth.sendPasswordResetEmail","auth.resetPasswordWithToken","auth.isUsernameRegistered"],ce={"X-SDK-Version":"1.3.5"};function le(t,e,i){var n=t[e];t[e]=function(e){var a={},r={};i.forEach((function(i){var n=i.call(t,e),o=n.data,s=n.headers;Object.assign(a,o),Object.assign(r,s)}));var o=e.data;return o&&function(){var t;if(t=o,"[object FormData]"!==Object.prototype.toString.call(t))e.data=w(w({},o),a);else for(var i in a)o.append(i,a[i])}(),e.headers=w(w({},e.headers||{}),r),n.call(t,e)}}function ue(){var t=Math.random().toString(16).slice(2);return{data:{seqId:t},headers:w(w({},ce),{},{"x-seqid":t})}}var he=function(){function t(){var e,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(0,v.default)(this,t),this.config=i,this._reqClass=new jt.adapter.reqClass({timeout:this.config.timeout,timeoutMsg:"\u8bf7\u6c42\u5728".concat(this.config.timeout/1e3,"s\u5185\u672a\u5b8c\u6210\uff0c\u5df2\u4e2d\u65ad"),restrictedMethods:["post"]}),this._cache=Gt(this.config.env),this._localCache=(e=this.config.env,Ht[e]),this.oauth=new oe(this.config),le(this._reqClass,"post",[ue]),le(this._reqClass,"upload",[ue]),le(this._reqClass,"download",[ue])}return(0,m.default)(t,[{key:"post",value:function(){var t=(0,u.default)(r.default.mark((function t(e){return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,this._reqClass.post(e);case 2:return t.abrupt("return",t.sent);case 3:case"end":return t.stop()}}),t,this)})));return function(e){return t.apply(this,arguments)}}()},{key:"upload",value:function(){var t=(0,u.default)(r.default.mark((function t(e){return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,this._reqClass.upload(e);case 2:return t.abrupt("return",t.sent);case 3:case"end":return t.stop()}}),t,this)})));return function(e){return t.apply(this,arguments)}}()},{key:"download",value:function(){var t=(0,u.default)(r.default.mark((function t(e){return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,this._reqClass.download(e);case 2:return t.abrupt("return",t.sent);case 3:case"end":return t.stop()}}),t,this)})));return function(e){return t.apply(this,arguments)}}()},{key:"refreshAccessToken",value:function(){var t=(0,u.default)(r.default.mark((function t(){var e,i;return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return this._refreshAccessTokenPromise||(this._refreshAccessTokenPromise=this._refreshAccessToken()),t.prev=1,t.next=4,this._refreshAccessTokenPromise;case 4:e=t.sent,t.next=10;break;case 7:t.prev=7,t.t0=t["catch"](1),i=t.t0;case 10:if(this._refreshAccessTokenPromise=null,this._shouldRefreshAccessTokenHook=null,!i){t.next=12;break}throw i;case 12:return t.abrupt("return",e);case 13:case"end":return t.stop()}}),t,this,[[1,7]])})));return function(){return t.apply(this,arguments)}}()},{key:"_refreshAccessToken",value:function(){var t=(0,u.default)(r.default.mark((function t(){var e,i,n,a,o,s,c,l,u,h,d,f,p;return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(e=this._cache.keys,i=e.accessTokenKey,n=e.accessTokenExpireKey,a=e.refreshTokenKey,o=e.loginTypeKey,s=e.anonymousUuidKey,this._cache.removeStore(i),this._cache.removeStore(n),c=this._cache.getStore(a),c){t.next=5;break}throw new gt({message:"\u672a\u767b\u5f55CloudBase"});case 5:return l={refresh_token:c},t.next=8,this.request("auth.fetchAccessTokenWithRefreshToken",l);case 8:if(u=t.sent,!u.data.code){t.next=21;break}if(h=u.data.code,"SIGN_PARAM_INVALID"!==h&&"REFRESH_TOKEN_EXPIRED"!==h&&"INVALID_REFRESH_TOKEN"!==h){t.next=20;break}if(this._cache.getStore(o)!==Zt.ANONYMOUS||"INVALID_REFRESH_TOKEN"!==h){t.next=19;break}return d=this._cache.getStore(s),f=this._cache.getStore(a),t.next=17,this.send("auth.signInAnonymously",{anonymous_uuid:d,refresh_token:f});case 17:return p=t.sent,t.abrupt("return",(this.setRefreshToken(p.refresh_token),this._refreshAccessToken()));case 19:Yt(ee),this._cache.removeStore(a);case 20:throw new gt({code:u.data.code,message:"\u5237\u65b0access token\u5931\u8d25\uff1a".concat(u.data.code)});case 21:if(!u.data.access_token){t.next=23;break}return t.abrupt("return",(Yt(ae),this._cache.setStore(i,u.data.access_token),this._cache.setStore(n,u.data.access_token_expire+Date.now()),{accessToken:u.data.access_token,accessTokenExpire:u.data.access_token_expire}));case 23:u.data.refresh_token&&(this._cache.removeStore(a),this._cache.setStore(a,u.data.refresh_token),this._refreshAccessToken());case 24:case"end":return t.stop()}}),t,this)})));return function(){return t.apply(this,arguments)}}()},{key:"getAccessToken",value:function(){var t=(0,u.default)(r.default.mark((function t(){var e,i,n,a,o,s,c;return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(e=this._cache.keys,i=e.accessTokenKey,n=e.accessTokenExpireKey,a=e.refreshTokenKey,this._cache.getStore(a)){t.next=3;break}throw new gt({message:"refresh token\u4e0d\u5b58\u5728\uff0c\u767b\u5f55\u72b6\u6001\u5f02\u5e38"});case 3:if(o=this._cache.getStore(i),s=this._cache.getStore(n),c=!0,t.t0=this._shouldRefreshAccessTokenHook,!t.t0){t.next=9;break}return t.next=8,this._shouldRefreshAccessTokenHook(o,s);case 8:t.t0=!t.sent;case 9:if(t.t1=t.t0,!t.t1){t.next=12;break}c=!1;case 12:return t.abrupt("return",(!o||!s||s<Date.now())&&c?this.refreshAccessToken():{accessToken:o,accessTokenExpire:s});case 13:case"end":return t.stop()}}),t,this)})));return function(){return t.apply(this,arguments)}}()},{key:"request",value:function(){var t=(0,u.default)(r.default.mark((function t(e,i,n){var a,o,s,c,l,u,h,d,f,p,g,v,m,x,y;return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(a="x-tcb-trace_".concat(this.config.env),o="application/x-www-form-urlencoded",s=w({action:e,env:this.config.env,dataVersion:"2019-08-16"},i),t.t0=-1===se.indexOf(e),!t.t0){t.next=9;break}return this._cache.keys,t.next=8,this.oauth.getAccessToken();case 8:s.access_token=t.sent;case 9:if("storage.uploadFile"!==e){t.next=15;break}for(l in c=new FormData,c)c.hasOwnProperty(l)&&void 0!==c[l]&&c.append(l,s[l]);o="multipart/form-data",t.next=17;break;case 15:for(u in o="application/json",c={},s)void 0!==s[u]&&(c[u]=s[u]);case 17:return h={headers:{"content-type":o}},n&&n.timeout&&(h.timeout=n.timeout),n&&n.onUploadProgress&&(h.onUploadProgress=n.onUploadProgress),d=this._localCache.getStore(a),d&&(h.headers["X-TCB-Trace"]=d),f=i.parse,p=i.inQuery,g=i.search,v={env:this.config.env},f&&(v.parse=!0),p&&(v=w(w({},p),v)),m=function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=/\?/.test(e),a="";for(var r in i)""===a?!n&&(e+="?"):a+="&",a+="".concat(r,"=").concat(encodeURIComponent(i[r]));return/^http(s)?\:\/\//.test(e+=a)?e:"".concat(t).concat(e)}(At,"//tcb-api.tencentcloudapi.com/web",v),g&&(m+=g),t.next=28,this.post(w({url:m,data:c},h));case 28:if(x=t.sent,y=x.header&&x.header["x-tcb-trace"],y&&this._localCache.setStore(a,y),(200===Number(x.status)||200===Number(x.statusCode))&&x.data){t.next=32;break}throw new gt({code:"NETWORK_ERROR",message:"network request error"});case 32:return t.abrupt("return",x);case 33:case"end":return t.stop()}}),t,this)})));return function(e,i,n){return t.apply(this,arguments)}}()},{key:"send",value:function(){var t=(0,u.default)(r.default.mark((function t(e){var i,n,a,o,s=arguments;return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return i=s.length>1&&void 0!==s[1]?s[1]:{},n=s.length>2&&void 0!==s[2]?s[2]:{},t.next=4,this.request(e,i,w(w({},n),{},{onUploadProgress:i.onUploadProgress}));case 4:if(a=t.sent,"ACCESS_TOKEN_DISABLED"!==a.data.code&&"ACCESS_TOKEN_EXPIRED"!==a.data.code||-1!==se.indexOf(e)){t.next=14;break}return t.next=8,this.oauth.refreshAccessToken();case 8:return t.next=10,this.request(e,i,w(w({},n),{},{onUploadProgress:i.onUploadProgress}));case 10:if(o=t.sent,!o.data.code){t.next=13;break}throw new gt({code:o.data.code,message:Rt(o.data.message)});case 13:return t.abrupt("return",o.data);case 14:if(!a.data.code){t.next=16;break}throw new gt({code:a.data.code,message:Rt(a.data.message)});case 16:return t.abrupt("return",a.data);case 17:case"end":return t.stop()}}),t,this)})));return function(e){return t.apply(this,arguments)}}()},{key:"setRefreshToken",value:function(t){var e=this._cache.keys,i=e.accessTokenKey,n=e.accessTokenExpireKey,a=e.refreshTokenKey;this._cache.removeStore(i),this._cache.removeStore(n),this._cache.setStore(a,t)}}]),t}(),de={};function fe(t){return de[t]}var pe=function(){function t(e){(0,v.default)(this,t),this.config=e,this._cache=Gt(e.env),this._request=fe(e.env)}return(0,m.default)(t,[{key:"setRefreshToken",value:function(t){var e=this._cache.keys,i=e.accessTokenKey,n=e.accessTokenExpireKey,a=e.refreshTokenKey;this._cache.removeStore(i),this._cache.removeStore(n),this._cache.setStore(a,t)}},{key:"setAccessToken",value:function(t,e){var i=this._cache.keys,n=i.accessTokenKey,a=i.accessTokenExpireKey;this._cache.setStore(n,t),this._cache.setStore(a,e)}},{key:"refreshUserInfo",value:function(){var t=(0,u.default)(r.default.mark((function t(){var e,i;return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,this._request.send("auth.getUserInfo",{});case 2:return e=t.sent,i=e.data,t.abrupt("return",(this.setLocalUserInfo(i),i));case 5:case"end":return t.stop()}}),t,this)})));return function(){return t.apply(this,arguments)}}()},{key:"setLocalUserInfo",value:function(t){var e=this._cache.keys.userInfoKey;this._cache.setStore(e,t)}}]),t}(),ge=function(){function t(e){if((0,v.default)(this,t),!e)throw new gt({code:"PARAM_ERROR",message:"envId is not defined"});this._envId=e,this._cache=Gt(this._envId),this._request=fe(this._envId),this.setUserInfo()}return(0,m.default)(t,[{key:"linkWithTicket",value:function(t){if("string"!=typeof t)throw new gt({code:"PARAM_ERROR",message:"ticket must be string"});return this._request.send("auth.linkWithTicket",{ticket:t})}},{key:"linkWithRedirect",value:function(t){t.signInWithRedirect()}},{key:"updatePassword",value:function(t,e){return this._request.send("auth.updatePassword",{oldPassword:e,newPassword:t})}},{key:"updateEmail",value:function(t){return this._request.send("auth.updateEmail",{newEmail:t})}},{key:"updateUsername",value:function(t){if("string"!=typeof t)throw new gt({code:"PARAM_ERROR",message:"username must be a string"});return this._request.send("auth.updateUsername",{username:t})}},{key:"getLinkedUidList",value:function(){var t=(0,u.default)(r.default.mark((function t(){var e,i,n,a;return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,this._request.send("auth.getLinkedUidList",{});case 2:return e=t.sent,i=e.data,n=!1,a=i.users,t.abrupt("return",(a.forEach((function(t){t.wxOpenId&&t.wxPublicId&&(n=!0)})),{users:a,hasPrimaryUid:n}));case 7:case"end":return t.stop()}}),t,this)})));return function(){return t.apply(this,arguments)}}()},{key:"setPrimaryUid",value:function(t){return this._request.send("auth.setPrimaryUid",{uid:t})}},{key:"unlink",value:function(t){return this._request.send("auth.unlink",{platform:t})}},{key:"update",value:function(){var t=(0,u.default)(r.default.mark((function t(e){var i,n,a,o,s,c,l,u;return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return i=e.nickName,n=e.gender,a=e.avatarUrl,o=e.province,s=e.country,c=e.city,t.next=8,this._request.send("auth.updateUserInfo",{nickName:i,gender:n,avatarUrl:a,province:o,country:s,city:c});case 8:l=t.sent,u=l.data,this.setLocalUserInfo(u);case 11:case"end":return t.stop()}}),t,this)})));return function(e){return t.apply(this,arguments)}}()},{key:"refresh",value:function(){var t=(0,u.default)(r.default.mark((function t(){var e;return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,this._request.oauth.getUserInfo();case 2:return e=t.sent,t.abrupt("return",(this.setLocalUserInfo(e),e));case 4:case"end":return t.stop()}}),t,this)})));return function(){return t.apply(this,arguments)}}()},{key:"setUserInfo",value:function(){var t=this,e=this._cache.keys.userInfoKey,i=this._cache.getStore(e);["uid","loginType","openid","wxOpenId","wxPublicId","unionId","qqMiniOpenId","email","hasPassword","customUserId","nickName","gender","avatarUrl"].forEach((function(e){t[e]=i[e]})),this.location={country:i.country,province:i.province,city:i.city}}},{key:"setLocalUserInfo",value:function(t){var e=this._cache.keys.userInfoKey;this._cache.setStore(e,t),this.setUserInfo()}}]),t}(),ve=function(){function t(e){if((0,v.default)(this,t),!e)throw new gt({code:"PARAM_ERROR",message:"envId is not defined"});this._cache=Gt(e);var i=this._cache.keys,n=i.refreshTokenKey,a=i.accessTokenKey,r=i.accessTokenExpireKey,o=this._cache.getStore(n),s=this._cache.getStore(a),c=this._cache.getStore(r);this.credential={refreshToken:o,accessToken:s,accessTokenExpire:c},this.user=new ge(e)}return(0,m.default)(t,[{key:"isAnonymousAuth",get:function(){return this.loginType===Zt.ANONYMOUS}},{key:"isCustomAuth",get:function(){return this.loginType===Zt.CUSTOM}},{key:"isWeixinAuth",get:function(){return this.loginType===Zt.WECHAT||this.loginType===Zt.WECHAT_OPEN||this.loginType===Zt.WECHAT_PUBLIC}},{key:"loginType",get:function(){return this._cache.getStore(this._cache.keys.loginTypeKey)}}]),t}(),me=function(t){(0,d.default)(i,t);var e=S(i);function i(){return(0,v.default)(this,i),e.apply(this,arguments)}return(0,m.default)(i,[{key:"signIn",value:function(){var t=(0,u.default)(r.default.mark((function t(){var e;return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return this._cache.updatePersistence("local"),t.next=3,this._request.oauth.getAccessToken();case 3:return Yt(te),Yt(ie,{env:this.config.env,loginType:Zt.ANONYMOUS,persistence:"local"}),e=new ve(this.config.env),t.next=8,e.user.refresh();case 8:return t.abrupt("return",e);case 9:case"end":return t.stop()}}),t,this)})));return function(){return t.apply(this,arguments)}}()},{key:"linkAndRetrieveDataWithTicket",value:function(){var t=(0,u.default)(r.default.mark((function t(e){var i,n,a,o,s,c;return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return i=this._cache.keys,n=i.anonymousUuidKey,a=i.refreshTokenKey,o=this._cache.getStore(n),s=this._cache.getStore(a),t.next=7,this._request.send("auth.linkAndRetrieveDataWithTicket",{anonymous_uuid:o,refresh_token:s,ticket:e});case 7:if(c=t.sent,!c.refresh_token){t.next=16;break}return this._clearAnonymousUUID(),this.setRefreshToken(c.refresh_token),t.next=13,this._request.refreshAccessToken();case 13:return Yt(ne,{env:this.config.env}),Yt(ie,{loginType:Zt.CUSTOM,persistence:"local"}),t.abrupt("return",{credential:{refreshToken:c.refresh_token}});case 16:throw new gt({message:"\u533f\u540d\u8f6c\u5316\u5931\u8d25"});case 17:case"end":return t.stop()}}),t,this)})));return function(e){return t.apply(this,arguments)}}()},{key:"_setAnonymousUUID",value:function(t){var e=this._cache.keys,i=e.anonymousUuidKey,n=e.loginTypeKey;this._cache.removeStore(i),this._cache.setStore(i,t),this._cache.setStore(n,Zt.ANONYMOUS)}},{key:"_clearAnonymousUUID",value:function(){this._cache.removeStore(this._cache.keys.anonymousUuidKey)}}]),i}(pe),xe=function(t){(0,d.default)(i,t);var e=S(i);function i(){return(0,v.default)(this,i),e.apply(this,arguments)}return(0,m.default)(i,[{key:"signIn",value:function(){var t=(0,u.default)(r.default.mark((function t(e){var i,n;return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if("string"==typeof e){t.next=2;break}throw new gt({code:"PARAM_ERROR",message:"ticket must be a string"});case 2:return i=this._cache.keys.refreshTokenKey,t.next=5,this._request.send("auth.signInWithTicket",{ticket:e,refresh_token:this._cache.getStore(i)||""});case 5:if(n=t.sent,!n.refresh_token){t.next=15;break}return this.setRefreshToken(n.refresh_token),t.next=10,this._request.refreshAccessToken();case 10:return Yt(te),Yt(ie,{env:this.config.env,loginType:Zt.CUSTOM,persistence:this.config.persistence}),t.next=14,this.refreshUserInfo();case 14:return t.abrupt("return",new ve(this.config.env));case 15:throw new gt({message:"\u81ea\u5b9a\u4e49\u767b\u5f55\u5931\u8d25"});case 16:case"end":return t.stop()}}),t,this)})));return function(e){return t.apply(this,arguments)}}()}]),i}(pe),ye=function(t){(0,d.default)(i,t);var e=S(i);function i(){return(0,v.default)(this,i),e.apply(this,arguments)}return(0,m.default)(i,[{key:"signIn",value:function(){var t=(0,u.default)(r.default.mark((function t(e,i){var n,a,o,s,c;return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if("string"==typeof e){t.next=2;break}throw new gt({code:"PARAM_ERROR",message:"email must be a string"});case 2:return n=this._cache.keys.refreshTokenKey,t.next=5,this._request.send("auth.signIn",{loginType:"EMAIL",email:e,password:i,refresh_token:this._cache.getStore(n)||""});case 5:if(a=t.sent,o=a.refresh_token,s=a.access_token,c=a.access_token_expire,!o){t.next=22;break}if(this.setRefreshToken(o),!s||!c){t.next=15;break}this.setAccessToken(s,c),t.next=17;break;case 15:return t.next=17,this._request.refreshAccessToken();case 17:return t.next=19,this.refreshUserInfo();case 19:return Yt(te),Yt(ie,{env:this.config.env,loginType:Zt.EMAIL,persistence:this.config.persistence}),t.abrupt("return",new ve(this.config.env));case 22:throw a.code?new gt({code:a.code,message:"\u90ae\u7bb1\u767b\u5f55\u5931\u8d25: ".concat(a.message)}):new gt({message:"\u90ae\u7bb1\u767b\u5f55\u5931\u8d25"});case 23:case"end":return t.stop()}}),t,this)})));return function(e,i){return t.apply(this,arguments)}}()},{key:"activate",value:function(){var t=(0,u.default)(r.default.mark((function t(e){return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.abrupt("return",this._request.send("auth.activateEndUserMail",{token:e}));case 1:case"end":return t.stop()}}),t,this)})));return function(e){return t.apply(this,arguments)}}()},{key:"resetPasswordWithToken",value:function(){var t=(0,u.default)(r.default.mark((function t(e,i){return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.abrupt("return",this._request.send("auth.resetPasswordWithToken",{token:e,newPassword:i}));case 1:case"end":return t.stop()}}),t,this)})));return function(e,i){return t.apply(this,arguments)}}()}]),i}(pe),_e=function(t){(0,d.default)(i,t);var e=S(i);function i(){return(0,v.default)(this,i),e.apply(this,arguments)}return(0,m.default)(i,[{key:"signIn",value:function(){var t=(0,u.default)(r.default.mark((function t(e,i){var n,a,o,s,c;return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if("string"==typeof e){t.next=2;break}throw new gt({code:"PARAM_ERROR",message:"username must be a string"});case 2:return"string"!=typeof i&&(i="",console.warn("password is empty")),n=this._cache.keys.refreshTokenKey,t.next=6,this._request.send("auth.signIn",{loginType:Zt.USERNAME,username:e,password:i,refresh_token:this._cache.getStore(n)||""});case 6:if(a=t.sent,o=a.refresh_token,s=a.access_token_expire,c=a.access_token,!o){t.next=23;break}if(this.setRefreshToken(o),!c||!s){t.next=16;break}this.setAccessToken(c,s),t.next=18;break;case 16:return t.next=18,this._request.refreshAccessToken();case 18:return t.next=20,this.refreshUserInfo();case 20:return Yt(te),Yt(ie,{env:this.config.env,loginType:Zt.USERNAME,persistence:this.config.persistence}),t.abrupt("return",new ve(this.config.env));case 23:throw a.code?new gt({code:a.code,message:"\u7528\u6237\u540d\u5bc6\u7801\u767b\u5f55\u5931\u8d25: ".concat(a.message)}):new gt({message:"\u7528\u6237\u540d\u5bc6\u7801\u767b\u5f55\u5931\u8d25"});case 24:case"end":return t.stop()}}),t,this)})));return function(e,i){return t.apply(this,arguments)}}()}]),i}(pe),be=function(){function t(e){(0,v.default)(this,t),this.config=e,this._cache=Gt(e.env),this._request=fe(e.env),this._onAnonymousConverted=this._onAnonymousConverted.bind(this),this._onLoginTypeChanged=this._onLoginTypeChanged.bind(this),Xt(ie,this._onLoginTypeChanged)}return(0,m.default)(t,[{key:"currentUser",get:function(){var t=this.hasLoginState();return t&&t.user||null}},{key:"loginType",get:function(){return this._cache.getStore(this._cache.keys.loginTypeKey)}},{key:"anonymousAuthProvider",value:function(){return new me(this.config)}},{key:"customAuthProvider",value:function(){return new xe(this.config)}},{key:"emailAuthProvider",value:function(){return new ye(this.config)}},{key:"usernameAuthProvider",value:function(){return new _e(this.config)}},{key:"signInAnonymously",value:function(){var t=(0,u.default)(r.default.mark((function t(){return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.abrupt("return",new me(this.config).signIn());case 1:case"end":return t.stop()}}),t,this)})));return function(){return t.apply(this,arguments)}}()},{key:"signInWithEmailAndPassword",value:function(){var t=(0,u.default)(r.default.mark((function t(e,i){return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.abrupt("return",new ye(this.config).signIn(e,i));case 1:case"end":return t.stop()}}),t,this)})));return function(e,i){return t.apply(this,arguments)}}()},{key:"signInWithUsernameAndPassword",value:function(t,e){return new _e(this.config).signIn(t,e)}},{key:"linkAndRetrieveDataWithTicket",value:function(){var t=(0,u.default)(r.default.mark((function t(e){return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return this._anonymousAuthProvider||(this._anonymousAuthProvider=new me(this.config)),Xt(ne,this._onAnonymousConverted),t.next=3,this._anonymousAuthProvider.linkAndRetrieveDataWithTicket(e);case 3:return t.abrupt("return",t.sent);case 4:case"end":return t.stop()}}),t,this)})));return function(e){return t.apply(this,arguments)}}()},{key:"signOut",value:function(){var t=(0,u.default)(r.default.mark((function t(){var e,i,n,a,o,s;return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(this.loginType!==Zt.ANONYMOUS){t.next=2;break}throw new gt({message:"\u533f\u540d\u7528\u6237\u4e0d\u652f\u6301\u767b\u51fa\u64cd\u4f5c"});case 2:if(e=this._cache.keys,i=e.refreshTokenKey,n=e.accessTokenKey,a=e.accessTokenExpireKey,o=this._cache.getStore(i),o){t.next=5;break}return t.abrupt("return");case 5:return t.next=7,this._request.send("auth.logout",{refresh_token:o});case 7:return s=t.sent,t.abrupt("return",(this._cache.removeStore(i),this._cache.removeStore(n),this._cache.removeStore(a),Yt(te),Yt(ie,{env:this.config.env,loginType:Zt.NULL,persistence:this.config.persistence}),s));case 9:case"end":return t.stop()}}),t,this)})));return function(){return t.apply(this,arguments)}}()},{key:"signUpWithEmailAndPassword",value:function(){var t=(0,u.default)(r.default.mark((function t(e,i){return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.abrupt("return",this._request.send("auth.signUpWithEmailAndPassword",{email:e,password:i}));case 1:case"end":return t.stop()}}),t,this)})));return function(e,i){return t.apply(this,arguments)}}()},{key:"sendPasswordResetEmail",value:function(){var t=(0,u.default)(r.default.mark((function t(e){return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.abrupt("return",this._request.send("auth.sendPasswordResetEmail",{email:e}));case 1:case"end":return t.stop()}}),t,this)})));return function(e){return t.apply(this,arguments)}}()},{key:"onLoginStateChanged",value:function(t){var e=this;Xt(te,(function(){var i=e.hasLoginState();t.call(e,i)}));var i=this.hasLoginState();t.call(this,i)}},{key:"onLoginStateExpired",value:function(t){Xt(ee,t.bind(this))}},{key:"onAccessTokenRefreshed",value:function(t){Xt(ae,t.bind(this))}},{key:"onAnonymousConverted",value:function(t){Xt(ne,t.bind(this))}},{key:"onLoginTypeChanged",value:function(t){var e=this;Xt(ie,(function(){var i=e.hasLoginState();t.call(e,i)}))}},{key:"getAccessToken",value:function(){var t=(0,u.default)(r.default.mark((function t(){return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,this._request.getAccessToken();case 2:return t.t0=t.sent.accessToken,t.t1=this.config.env,t.abrupt("return",{accessToken:t.t0,env:t.t1});case 5:case"end":return t.stop()}}),t,this)})));return function(){return t.apply(this,arguments)}}()},{key:"hasLoginState",value:function(){var t=this._cache.keys,e=t.accessTokenKey,i=t.accessTokenExpireKey,n=this._cache.getStore(e),a=this._cache.getStore(i);return this._request.oauth.isAccessTokenExpired(n,a)?null:new ve(this.config.env)}},{key:"isUsernameRegistered",value:function(){var t=(0,u.default)(r.default.mark((function t(e){var i,n;return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if("string"==typeof e){t.next=2;break}throw new gt({code:"PARAM_ERROR",message:"username must be a string"});case 2:return t.next=4,this._request.send("auth.isUsernameRegistered",{username:e});case 4:return i=t.sent,n=i.data,t.abrupt("return",n&&n.isRegistered);case 7:case"end":return t.stop()}}),t,this)})));return function(e){return t.apply(this,arguments)}}()},{key:"getLoginState",value:function(){return Promise.resolve(this.hasLoginState())}},{key:"signInWithTicket",value:function(){var t=(0,u.default)(r.default.mark((function t(e){return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.abrupt("return",new xe(this.config).signIn(e));case 1:case"end":return t.stop()}}),t,this)})));return function(e){return t.apply(this,arguments)}}()},{key:"shouldRefreshAccessToken",value:function(t){this._request._shouldRefreshAccessTokenHook=t.bind(this)}},{key:"getUserInfo",value:function(){return this._request.send("auth.getUserInfo",{}).then((function(t){return t.code?t:w(w({},t.data),{},{requestId:t.seqId})}))}},{key:"getAuthHeader",value:function(){var t=this._cache.keys,e=t.refreshTokenKey,i=t.accessTokenKey,n=this._cache.getStore(e);return{"x-cloudbase-credentials":this._cache.getStore(i)+"/@@/"+n}}},{key:"_onAnonymousConverted",value:function(t){var e=t.data.env;e===this.config.env&&this._cache.updatePersistence(this.config.persistence)}},{key:"_onLoginTypeChanged",value:function(t){var e=t.data,i=e.loginType,n=e.persistence,a=e.env;a===this.config.env&&(this._cache.updatePersistence(n),this._cache.setStore(this._cache.keys.loginTypeKey,i))}}]),t}(),we=function(t,e){e=e||Et();var i=fe(this.config.env),n=t.cloudPath,a=t.filePath,r=t.onUploadProgress,o=t.fileType,s=void 0===o?"image":o;return i.send("storage.getUploadMetadata",{path:n}).then((function(t){var o=t.data,c=o.url,l=o.authorization,u=o.token,h=o.fileId,d=o.cosFileId,f=t.requestId,p={key:n,signature:l,"x-cos-meta-fileid":d,success_action_status:"201","x-cos-security-token":u};i.upload({url:c,data:p,file:a,name:n,fileType:s,onUploadProgress:r}).then((function(t){201===t.statusCode?e(null,{fileID:h,requestId:f}):e(new gt({code:"STORAGE_REQUEST_FAIL",message:"STORAGE_REQUEST_FAIL: ".concat(t.data)}))})).catch((function(t){e(t)}))})).catch((function(t){e(t)})),e.promise},Se=function(t,e){e=e||Et();var i=fe(this.config.env),n=t.cloudPath;return i.send("storage.getUploadMetadata",{path:n}).then((function(t){e(null,t)})).catch((function(t){e(t)})),e.promise},ke=function(t,e){var i=t.fileList;if(e=e||Et(),!i||!Array.isArray(i))return{code:"INVALID_PARAM",message:"fileList\u5fc5\u987b\u662f\u975e\u7a7a\u7684\u6570\u7ec4"};var n,a=y(i);try{for(a.s();!(n=a.n()).done;){var r=n.value;if(!r||"string"!=typeof r)return{code:"INVALID_PARAM",message:"fileList\u7684\u5143\u7d20\u5fc5\u987b\u662f\u975e\u7a7a\u7684\u5b57\u7b26\u4e32"}}}catch(s){a.e(s)}finally{a.f()}var o={fileid_list:i};return fe(this.config.env).send("storage.batchDeleteFile",o).then((function(t){t.code?e(null,t):e(null,{fileList:t.data.delete_list,requestId:t.requestId})})).catch((function(t){e(t)})),e.promise},Ce=function(t,e){var i=t.fileList;e=e||Et(),i&&Array.isArray(i)||e(null,{code:"INVALID_PARAM",message:"fileList\u5fc5\u987b\u662f\u975e\u7a7a\u7684\u6570\u7ec4"});var n,a=[],r=y(i);try{for(r.s();!(n=r.n()).done;){var o=n.value;"object"==(0,c.default)(o)?(o.hasOwnProperty("fileID")&&o.hasOwnProperty("maxAge")||e(null,{code:"INVALID_PARAM",message:"fileList\u7684\u5143\u7d20\u5fc5\u987b\u662f\u5305\u542bfileID\u548cmaxAge\u7684\u5bf9\u8c61"}),a.push({fileid:o.fileID,max_age:o.maxAge})):"string"==typeof o?a.push({fileid:o}):e(null,{code:"INVALID_PARAM",message:"fileList\u7684\u5143\u7d20\u5fc5\u987b\u662f\u5b57\u7b26\u4e32"})}}catch(l){r.e(l)}finally{r.f()}var s={file_list:a};return fe(this.config.env).send("storage.batchGetDownloadUrl",s).then((function(t){t.code?e(null,t):e(null,{fileList:t.data.download_list,requestId:t.requestId})})).catch((function(t){e(t)})),e.promise},Te=function(){var t=(0,u.default)(r.default.mark((function t(e,i){var n,a,o,s;return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return n=e.fileID,t.next=3,Ce.call(this,{fileList:[{fileID:n,maxAge:600}]});case 3:if(a=t.sent.fileList[0],"SUCCESS"===a.code){t.next=6;break}return t.abrupt("return",i?i(a):new Promise((function(t){t(a)})));case 6:if(o=fe(this.config.env),s=a.download_url,s=encodeURI(s),i){t.next=10;break}return t.abrupt("return",o.download({url:s}));case 10:return t.t0=i,t.next=13,o.download({url:s});case 13:t.t1=t.sent,(0,t.t0)(t.t1);case 15:case"end":return t.stop()}}),t,this)})));return function(e,i){return t.apply(this,arguments)}}(),Pe=function(t,e){var i,n=t.name,a=t.data,r=t.query,o=t.parse,s=t.search,c=t.timeout,l=e||Et();try{i=a?JSON.stringify(a):""}catch(n){return Promise.reject(n)}if(!n)return Promise.reject(new gt({code:"PARAM_ERROR",message:"\u51fd\u6570\u540d\u4e0d\u80fd\u4e3a\u7a7a"}));var u={inQuery:r,parse:o,search:s,function_name:n,request_data:i};return fe(this.config.env).send("functions.invokeFunction",u,{timeout:c}).then((function(t){if(t.code)l(null,t);else{var e=t.data.response_data;if(o)l(null,{result:e,requestId:t.requestId});else try{e=JSON.parse(t.data.response_data),l(null,{result:e,requestId:t.requestId})}catch(t){l(new gt({message:"response data must be json"}))}}return l.promise})).catch((function(t){l(t)})),l.promise},Ae={timeout:15e3,persistence:"session"},Oe={},Le=function(){function t(e){(0,v.default)(this,t),this.config=e||this.config,this.authObj=void 0}return(0,m.default)(t,[{key:"init",value:function(e){switch(jt.adapter||(this.requestClient=new jt.adapter.reqClass({timeout:e.timeout||5e3,timeoutMsg:"\u8bf7\u6c42\u5728".concat((e.timeout||5e3)/1e3,"s\u5185\u672a\u5b8c\u6210\uff0c\u5df2\u4e2d\u65ad")})),this.config=w(w({},Ae),e),!0){case this.config.timeout>6e5:console.warn("timeout\u5927\u4e8e\u53ef\u914d\u7f6e\u4e0a\u9650[10\u5206\u949f]\uff0c\u5df2\u91cd\u7f6e\u4e3a\u4e0a\u9650\u6570\u503c"),this.config.timeout=6e5;break;case this.config.timeout<100:console.warn("timeout\u5c0f\u4e8e\u53ef\u914d\u7f6e\u4e0b\u9650[100ms]\uff0c\u5df2\u91cd\u7f6e\u4e3a\u4e0b\u9650\u6570\u503c"),this.config.timeout=100}return new t(this.config)}},{key:"auth",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.persistence;if(this.authObj)return this.authObj;var i,n=e||jt.adapter.primaryStorage||Ae.persistence;return n!==this.config.persistence&&(this.config.persistence=n),function(t){var e=t.env;qt[e]=new Wt(t),Ht[e]=new Wt(w(w({},t),{},{persistence:"local"}))}(this.config),i=this.config,de[i.env]=new he(i),this.authObj=new be(this.config),this.authObj}},{key:"on",value:function(t,e){return Xt.apply(this,[t,e])}},{key:"off",value:function(t,e){return Qt.apply(this,[t,e])}},{key:"callFunction",value:function(t,e){return Pe.apply(this,[t,e])}},{key:"deleteFile",value:function(t,e){return ke.apply(this,[t,e])}},{key:"getTempFileURL",value:function(t,e){return Ce.apply(this,[t,e])}},{key:"downloadFile",value:function(t,e){return Te.apply(this,[t,e])}},{key:"uploadFile",value:function(t,e){return we.apply(this,[t,e])}},{key:"getUploadMetadata",value:function(t,e){return Se.apply(this,[t,e])}},{key:"registerExtension",value:function(t){Oe[t.name]=t}},{key:"invokeExtension",value:function(){var t=(0,u.default)(r.default.mark((function t(e,i){var n;return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(n=Oe[e],n){t.next=3;break}throw new gt({message:"\u6269\u5c55".concat(e," \u5fc5\u987b\u5148\u6ce8\u518c")});case 3:return t.next=5,n.invoke(i,this);case 5:return t.abrupt("return",t.sent);case 6:case"end":return t.stop()}}),t,this)})));return function(e,i){return t.apply(this,arguments)}}()},{key:"useAdapters",value:function(t){var e=function(t){var e,i,n=(e=t,"[object Array]"===Object.prototype.toString.call(e)?t:[t]),a=y(n);try{for(a.s();!(i=a.n()).done;){var r=i.value,o=r.isMatch,s=r.genAdapter,c=r.runtime;if(o())return{adapter:s(),runtime:c}}}catch(l){a.e(l)}finally{a.f()}}(t)||{},i=e.adapter,n=e.runtime;i&&(jt.adapter=i),n&&(jt.runtime=n)}}]),t}(),De=new Le;function Ie(t,e,i){void 0===i&&(i={});var n=/\?/.test(e),a="";for(var r in i)""===a?!n&&(e+="?"):a+="&",a+=r+"="+encodeURIComponent(i[r]);return/^http(s)?:\/\//.test(e+=a)?e:""+t+e}var Me=function(){function t(){(0,v.default)(this,t)}return(0,m.default)(t,[{key:"get",value:function(t){var e=t.url,i=t.data,n=t.headers,a=t.timeout;return new Promise((function(t,r){xt.request({url:Ie("https:",e),data:i,method:"GET",header:n,timeout:a,success:function(e){t(e)},fail:function(t){r(t)}})}))}},{key:"post",value:function(t){var e=t.url,i=t.data,n=t.headers,a=t.timeout;return new Promise((function(t,r){xt.request({url:Ie("https:",e),data:i,method:"POST",header:n,timeout:a,success:function(e){t(e)},fail:function(t){r(t)}})}))}},{key:"upload",value:function(t){return new Promise((function(e,i){var n=t.url,a=t.file,r=t.data,o=t.headers,s=t.fileType,c=xt.uploadFile({url:Ie("https:",n),name:"file",formData:Object.assign({},r),filePath:a,fileType:s,header:o,success:function(t){var i={statusCode:t.statusCode,data:t.data||{}};200===t.statusCode&&r.success_action_status&&(i.statusCode=parseInt(r.success_action_status,10)),e(i)},fail:function(t){i(new Error(t.errMsg||"uploadFile:fail"))}});"function"==typeof t.onUploadProgress&&c&&"function"==typeof c.onProgressUpdate&&c.onProgressUpdate((function(e){t.onUploadProgress({loaded:e.totalBytesSent,total:e.totalBytesExpectedToSend})}))}))}}]),t}(),Ee={setItem:function(t,e){xt.setStorageSync(t,e)},getItem:function(t){return xt.getStorageSync(t)},removeItem:function(t){xt.removeStorageSync(t)},clear:function(){xt.clearStorageSync()}},Fe={genAdapter:function(){return{root:{},reqClass:Me,localStorage:Ee,primaryStorage:"local"}},isMatch:function(){return!0},runtime:"uni_app"};De.useAdapters(Fe);var $e=De,Re=$e.init;$e.init=function(t){t.env=t.spaceId;var e=Re.call(this,t);e.config.provider="tencent",e.config.spaceId=t.spaceId;var i=e.auth;return e.auth=function(t){var e=i.call(this,t);return["linkAndRetrieveDataWithTicket","signInAnonymously","signOut","getAccessToken","getLoginState","signInWithTicket","getUserInfo"].forEach((function(t){var i;e[t]=(i=e[t],function(t){t=t||{};var e=pt(t),n=e.success,a=e.fail,r=e.complete;if(!(n||a||r))return i.call(this,t);i.call(this,t).then((function(t){n&&n(t),r&&r(t)}),(function(t){a&&a(t),r&&r(t)}))}).bind(e)})),e},e.customAuth=e.auth,e};var Ne=$e;function je(t,e){return Ue.apply(this,arguments)}function Ue(){return Ue=(0,u.default)(r.default.mark((function t(e,i){var n,a,o;return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return n="http://".concat(e,":").concat(i,"/system/ping"),t.prev=1,t.next=4,o={url:n,timeout:500},new Promise((function(t,e){xt.request(w(w({},o),{},{success:function(e){t(e)},fail:function(t){e(t)}}))}));case 4:return a=t.sent,t.abrupt("return",!(!a.data||0!==a.data.code));case 8:return t.prev=8,t.t0=t["catch"](1),t.abrupt("return",!1);case 11:case"end":return t.stop()}}),t,null,[[1,8]])}))),Ue.apply(this,arguments)}function Be(t,e){return ze.apply(this,arguments)}function ze(){return ze=(0,u.default)(r.default.mark((function t(e,i){var n,a,o;return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:a=0;case 1:if(!(a<e.length)){t.next=11;break}return o=e[a],t.next=5,je(o,i);case 5:if(!t.sent){t.next=8;break}return n=o,t.abrupt("break",11);case 8:a++,t.next=1;break;case 11:return t.abrupt("return",{address:n,port:i});case 12:case"end":return t.stop()}}),t)}))),ze.apply(this,arguments)}var We={"serverless.file.resource.generateProximalSign":"storage/generate-proximal-sign","serverless.file.resource.report":"storage/report","serverless.file.resource.delete":"storage/delete","serverless.file.resource.getTempFileURL":"storage/get-temp-file-url"},qe=function(){function t(e){if((0,v.default)(this,t),["spaceId","clientSecret"].forEach((function(t){if(!Object.prototype.hasOwnProperty.call(e,t))throw new Error("".concat(t," required"))})),!e.endpoint)throw new Error("\u96c6\u7fa4\u7a7a\u95f4\u672a\u914d\u7f6eApiEndpoint\uff0c\u914d\u7f6e\u540e\u9700\u8981\u91cd\u65b0\u5173\u8054\u670d\u52a1\u7a7a\u95f4\u540e\u751f\u6548");this.config=Object.assign({},e),this.config.provider="dcloud",this.config.requestUrl=this.config.endpoint+"/client",this.config.envType=this.config.envType||"public",this.adapter=xt}return(0,m.default)(t,[{key:"request",value:function(){var t=(0,u.default)(r.default.mark((function t(e){var i,n=this,a=arguments;return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(!(a.length>1&&void 0!==a[1])||a[1],i=!1,!i){t.next=8;break}return t.next=5,this.setupLocalRequest(e);case 5:t.t0=t.sent,t.next=9;break;case 8:t.t0=this.setupRequest(e);case 9:return e=t.t0,t.abrupt("return",Promise.resolve().then((function(){return i?n.requestLocal(e):Ct.wrappedRequest(e,n.adapter.request)})));case 11:case"end":return t.stop()}}),t,this)})));return function(e){return t.apply(this,arguments)}}()},{key:"requestLocal",value:function(t){var e=this;return new Promise((function(i,n){e.adapter.request(Object.assign(t,{complete:function(t){if(t||(t={}),!t.statusCode||t.statusCode>=400){var e=t.data&&t.data.code||"SYS_ERR",a=t.data&&t.data.message||"request:fail";return n(new gt({code:e,message:a}))}i({success:!0,result:t.data})}}))}))}},{key:"setupRequest",value:function(t){var e=Object.assign({},t,{spaceId:this.config.spaceId,timestamp:Date.now()}),i={"Content-Type":"application/json"};i["x-serverless-sign"]=Ct.sign(e,this.config.clientSecret);var n=St();i["x-client-info"]=encodeURIComponent(JSON.stringify(n));var a=yt(),r=a.token;return i["x-client-token"]=r,{url:this.config.requestUrl,method:"POST",data:e,dataType:"json",header:JSON.parse(JSON.stringify(i))}}},{key:"setupLocalRequest",value:function(){var t=(0,u.default)(r.default.mark((function t(e){var i,n,a,o,s,c,l,u,h;return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return i=St(),n=yt(),a=n.token,o=Object.assign({},e,{spaceId:this.config.spaceId,timestamp:Date.now(),clientInfo:i,token:a}),s=this.__dev__&&this.__dev__.debugInfo||{},c=s.address,l=s.servePort,t.next=9,Be(c,l);case 9:return u=t.sent,h=u.address,t.abrupt("return",{url:"http://".concat(h,":").concat(l,"/").concat(We[e.method]),method:"POST",data:o,dataType:"json",header:JSON.parse(JSON.stringify({"Content-Type":"application/json"}))});case 12:case"end":return t.stop()}}),t,this)})));return function(e){return t.apply(this,arguments)}}()},{key:"callFunction",value:function(t){var e={method:"serverless.function.runtime.invoke",params:JSON.stringify({functionTarget:t.name,functionArgs:t.data||{}})};return this.request(e,!1)}},{key:"getUploadFileOptions",value:function(t){var e={method:"serverless.file.resource.generateProximalSign",params:JSON.stringify(t)};return this.request(e)}},{key:"reportUploadFile",value:function(t){var e={method:"serverless.file.resource.report",params:JSON.stringify(t)};return this.request(e)}},{key:"uploadFile",value:function(t){var e,i=this,n=t.filePath,a=t.cloudPath,r=t.fileType,o=void 0===r?"image":r,s=t.onUploadProgress;if(!a)throw new gt({code:"CLOUDPATH_REQUIRED",message:"cloudPath\u4e0d\u53ef\u4e3a\u7a7a"});return this.getUploadFileOptions({cloudPath:a}).then((function(t){var a=t.result,r=a.url,c=a.formData,l=a.name;return e=t.result.fileUrl,new Promise((function(t,e){var a=i.adapter.uploadFile({url:r,formData:c,name:l,filePath:n,fileType:o,success:function(i){i&&i.statusCode<400?t(i):e(new gt({code:"UPLOAD_FAILED",message:"\u6587\u4ef6\u4e0a\u4f20\u5931\u8d25"}))},fail:function(t){e(new gt({code:t.code||"UPLOAD_FAILED",message:t.message||t.errMsg||"\u6587\u4ef6\u4e0a\u4f20\u5931\u8d25"}))}});"function"==typeof s&&a&&"function"==typeof a.onProgressUpdate&&a.onProgressUpdate((function(t){s({loaded:t.totalBytesSent,total:t.totalBytesExpectedToSend})}))}))})).then((function(){return i.reportUploadFile({cloudPath:a})})).then((function(t){return new Promise((function(i,a){t.success?i({success:!0,filePath:n,fileID:e}):a(new gt({code:"UPLOAD_FAILED",message:"\u6587\u4ef6\u4e0a\u4f20\u5931\u8d25"}))}))}))}},{key:"deleteFile",value:function(t){var e=t.fileList,i={method:"serverless.file.resource.delete",params:JSON.stringify({fileList:e})};return this.request(i).then((function(t){if(t.success)return t.result;throw new gt({code:"DELETE_FILE_FAILED",message:"\u5220\u9664\u6587\u4ef6\u5931\u8d25"})}))}},{key:"getTempFileURL",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.fileList,i=t.maxAge;if(!Array.isArray(e)||0===e.length)throw new gt({code:"INVALID_PARAM",message:"fileList\u7684\u5143\u7d20\u5fc5\u987b\u662f\u975e\u7a7a\u7684\u5b57\u7b26\u4e32"});var n={method:"serverless.file.resource.getTempFileURL",params:JSON.stringify({fileList:e,maxAge:i})};return this.request(n).then((function(t){if(t.success)return{fileList:t.result.fileList.map((function(t){return{fileID:t.fileID,tempFileURL:t.tempFileURL}}))};throw new gt({code:"GET_TEMP_FILE_URL_FAILED",message:"\u83b7\u53d6\u4e34\u65f6\u6587\u4ef6\u94fe\u63a5\u5931\u8d25"})}))}}]),t}(),He={init:function(t){var e=new qe(t),i={signInAnonymously:function(){return Promise.resolve()},getLoginState:function(){return Promise.resolve(!1)}};return e.auth=function(){return i},e.customAuth=e.auth,e}},Ge=k((function(t,e){t.exports=T.enc.Hex}));function Je(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(t){var e=16*Math.random()|0;return("x"===t?e:3&e|8).toString(16)}))}function Ve(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=e.data,n=e.functionName,a=e.method,r=e.headers,o=e.signHeaderKeys,c=void 0===o?[]:o,l=e.config,u=String(Date.now()),h=Je(),d=Object.assign({},r,{"x-from-app-id":l.spaceAppId,"x-from-env-id":l.spaceId,"x-to-env-id":l.spaceId,"x-from-instance-id":u,"x-from-function-name":n,"x-client-timestamp":u,"x-alipay-source":"client","x-request-id":h,"x-alipay-callid":h,"x-trace-id":h}),f=["x-from-app-id","x-from-env-id","x-to-env-id","x-from-instance-id","x-from-function-name","x-client-timestamp"].concat(c),p=t.split("?")||[],g=(0,s.default)(p,2),v=g[0],m=void 0===v?"":v,x=g[1],y=void 0===x?"":x,_=function(t){var e="HMAC-SHA256",i=t.signedHeaders.join(";"),n=t.signedHeaders.map((function(e){return"".concat(e.toLowerCase(),":").concat(t.headers[e],"\n")})).join(""),a=It(t.body).toString(Ge),r="".concat(t.method.toUpperCase(),"\n").concat(t.path,"\n").concat(t.query,"\n").concat(n,"\n").concat(i,"\n").concat(a,"\n"),o=It(r).toString(Ge),s="".concat(e,"\n").concat(t.timestamp,"\n").concat(o,"\n"),c=Mt(s,t.secretKey).toString(Ge);return"".concat(e," Credential=").concat(t.secretId,", SignedHeaders=").concat(i,", Signature=").concat(c)}({path:m,query:y,method:a,headers:d,timestamp:u,body:JSON.stringify(i),secretId:l.accessKey,secretKey:l.secretKey,signedHeaders:f.sort()});return{url:"".concat(l.endpoint).concat(t),headers:Object.assign({},d,{Authorization:_})}}function Ke(t){var e=t.url,i=t.data,n=t.method,a=void 0===n?"POST":n,r=t.headers,o=void 0===r?{}:r,s=t.timeout;return new Promise((function(t,n){xt.request({url:e,method:a,data:"object"==(0,c.default)(i)?JSON.stringify(i):i,header:o,dataType:"json",timeout:s,complete:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=o["x-trace-id"]||"";if(!e.statusCode||e.statusCode>=400){var a=e.data||{},r=a.message,s=a.errMsg,c=a.trace_id;return n(new gt({code:"SYS_ERR",message:r||s||"request:fail",requestId:c||i}))}t({status:e.statusCode,data:e.data,headers:e.header,requestId:i})}})}))}function Xe(t,e){var i=t.path,n=t.data,a=t.method,r=void 0===a?"GET":a,o=Ve(i,{functionName:"",data:n,method:r,headers:{"x-alipay-cloud-mode":"oss","x-data-api-type":"oss","x-expire-timestamp":Date.now()+6e4},signHeaderKeys:["x-data-api-type","x-expire-timestamp"],config:e}),s=o.url,c=o.headers;return Ke({url:s,data:n,method:r,headers:c}).then((function(t){var e=t.data||{};if(!e.success)throw new gt({code:t.errCode,message:t.errMsg,requestId:t.requestId});return e.data||{}})).catch((function(t){throw new gt({code:t.errCode,message:t.errMsg,requestId:t.requestId})}))}function Ye(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=t.trim().replace(/^cloud:\/\//,""),i=e.indexOf("/");if(i<=0)throw new gt({code:"INVALID_PARAM",message:"fileID\u4e0d\u5408\u6cd5"});var n=e.substring(0,i),a=e.substring(i+1);return n!==this.config.spaceId&&console.warn("file ".concat(t," does not belong to env ").concat(this.config.spaceId)),a}function Qe(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return"cloud://".concat(this.config.spaceId,"/").concat(t.replace(/^\/+/,""))}var Ze=function(){function t(e){(0,v.default)(this,t),this.config=e}return(0,m.default)(t,[{key:"signedURL",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i="/ws/function/".concat(t),n=this.config.wsEndpoint.replace(/^ws(s)?:\/\//,""),a=Object.assign({},e,{accessKeyId:this.config.accessKey,signatureNonce:Je(),timestamp:""+Date.now()}),r=[i,["accessKeyId","authorization","signatureNonce","timestamp"].sort().map((function(t){return a[t]?"".concat(t,"=").concat(a[t]):null})).filter(Boolean).join("&"),"host:".concat(n)].join("\n"),o=["HMAC-SHA256",It(r).toString(Ge)].join("\n"),s=Mt(o,this.config.secretKey).toString(Ge),c=Object.keys(a).map((function(t){return"".concat(t,"=").concat(encodeURIComponent(a[t]))})).join("&");return"".concat(this.config.wsEndpoint).concat(i,"?").concat(c,"&signature=").concat(s)}}]),t}(),ti=function(){function t(e){if((0,v.default)(this,t),["spaceId","spaceAppId","accessKey","secretKey"].forEach((function(t){if(!Object.prototype.hasOwnProperty.call(e,t))throw new Error("".concat(t," required"))})),e.endpoint){if("string"!=typeof e.endpoint)throw new Error("endpoint must be string");if(!/^https:\/\//.test(e.endpoint))throw new Error("endpoint must start with https://");e.endpoint=e.endpoint.replace(/\/$/,"")}this.config=Object.assign({},e,{endpoint:e.endpoint||"https://".concat(e.spaceId,".api-hz.cloudbasefunction.cn"),wsEndpoint:e.wsEndpoint||"wss://".concat(e.spaceId,".api-hz.cloudbasefunction.cn")}),this._websocket=new Ze(this.config)}return(0,m.default)(t,[{key:"callFunction",value:function(t){return function(t,e){var i=t.name,n=t.data,a=t.async,r=void 0!==a&&a,o=t.timeout,s="POST",c={"x-to-function-name":i};r&&(c["x-function-invoke-type"]="async");var l=Ve("/functions/invokeFunction",{functionName:i,data:n,method:s,headers:c,signHeaderKeys:["x-to-function-name"],config:e}),u=l.url,h=l.headers;return Ke({url:u,data:n,method:s,headers:h,timeout:o}).then((function(t){var e=0;if(r){var i=t.data||{};e="200"===i.errCode?0:i.errCode,t.data=i.data||{},t.errMsg=i.errMsg}if(0!==e)throw new gt({code:e,message:t.errMsg,requestId:t.requestId});return{errCode:e,success:0===e,requestId:t.requestId,result:t.data}})).catch((function(t){throw new gt({code:t.errCode,message:t.errMsg,requestId:t.requestId})}))}(t,this.config)}},{key:"uploadFileToOSS",value:function(t){var e=t.url,i=t.filePath,n=t.fileType,a=t.formData,r=t.onUploadProgress;return new Promise((function(t,o){var s=xt.uploadFile({url:e,filePath:i,fileType:n,formData:a,name:"file",success:function(e){e&&e.statusCode<400?t(e):o(new gt({code:"UPLOAD_FAILED",message:"\u6587\u4ef6\u4e0a\u4f20\u5931\u8d25"}))},fail:function(t){o(new gt({code:t.code||"UPLOAD_FAILED",message:t.message||t.errMsg||"\u6587\u4ef6\u4e0a\u4f20\u5931\u8d25"}))}});"function"==typeof r&&s&&"function"==typeof s.onProgressUpdate&&s.onProgressUpdate((function(t){r({loaded:t.totalBytesSent,total:t.totalBytesExpectedToSend})}))}))}},{key:"uploadFile",value:function(){var t=(0,u.default)(r.default.mark((function t(e){var i,n,a,o,s,c,l,u,h,d,f;return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(i=e.filePath,n=e.cloudPath,a=void 0===n?"":n,o=e.fileType,s=void 0===o?"image":o,c=e.onUploadProgress,"string"===$(a)){t.next=3;break}throw new gt({code:"INVALID_PARAM",message:"cloudPath\u5fc5\u987b\u4e3a\u5b57\u7b26\u4e32\u7c7b\u578b"});case 3:if(a=a.trim()){t.next=5;break}throw new gt({code:"INVALID_PARAM",message:"cloudPath\u4e0d\u53ef\u4e3a\u7a7a"});case 5:if(!/:\/\//.test(a)){t.next=7;break}throw new gt({code:"INVALID_PARAM",message:"cloudPath\u4e0d\u5408\u6cd5"});case 7:return t.next=9,Xe({path:"/".concat(a.replace(/^\//,""),"?post_url")},this.config);case 9:return l=t.sent,u=l.file_id,h=l.upload_url,d=l.form_data,f=d&&d.reduce((function(t,e){return t[e.key]=e.value,t}),{}),t.abrupt("return",this.uploadFileToOSS({url:h,filePath:i,fileType:s,formData:f,onUploadProgress:c}).then((function(){return{fileID:u}})));case 15:case"end":return t.stop()}}),t,this)})));return function(e){return t.apply(this,arguments)}}()},{key:"getTempFileURL",value:function(){var t=(0,u.default)(r.default.mark((function t(e){var i,n=this;return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return i=e.fileList,t.abrupt("return",new Promise((function(t,e){(!i||i.length<0)&&t({code:"INVALID_PARAM",message:"fileList\u4e0d\u80fd\u4e3a\u7a7a\u6570\u7ec4"}),i.length>50&&t({code:"INVALID_PARAM",message:"fileList\u6570\u7ec4\u957f\u5ea6\u4e0d\u80fd\u8d85\u8fc750"});var a,r=[],o=y(i);try{for(o.s();!(a=o.n()).done;){var s=a.value,c=void 0;"string"!==$(s)&&t({code:"INVALID_PARAM",message:"fileList\u7684\u5143\u7d20\u5fc5\u987b\u662f\u975e\u7a7a\u7684\u5b57\u7b26\u4e32"});try{c=Ye.call(n,s)}catch(t){console.warn(t.errCode,t.errMsg),c=s}r.push({file_id:c,expire:600})}}catch(l){o.e(l)}finally{o.f()}Xe({path:"/?download_url",data:{file_list:r},method:"POST"},n.config).then((function(e){var i=e.file_list,a=void 0===i?[]:i;t({fileList:a.map((function(t){return{fileID:Qe.call(n,t.file_id),tempFileURL:t.download_url}}))})})).catch((function(t){return e(t)}))})));case 2:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()},{key:"connectWebSocket",value:function(){var t=(0,u.default)(r.default.mark((function t(e){var i,n;return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return i=e.name,n=e.query,t.abrupt("return",xt.connectSocket({url:this._websocket.signedURL(i,n),complete:function(){}}));case 2:case"end":return t.stop()}}),t,this)})));return function(e){return t.apply(this,arguments)}}()}]),t}(),ei={init:function(t){t.provider="alipay";var e=new ti(t);return e.auth=function(){return{signInAnonymously:function(){return Promise.resolve()},getLoginState:function(){return Promise.resolve(!0)}}},e}};function ii(t){var e,i=t.data;e=St();var n=JSON.parse(JSON.stringify(i||{}));if(Object.assign(n,{clientInfo:e}),!n.uniIdToken){var a=yt(),r=a.token;r&&(n.uniIdToken=r)}return n}var ni=[{rule:/fc_function_not_found|FUNCTION_NOT_FOUND/,content:"\uff0c\u4e91\u51fd\u6570[{functionName}]\u5728\u4e91\u7aef\u4e0d\u5b58\u5728\uff0c\u8bf7\u68c0\u67e5\u6b64\u4e91\u51fd\u6570\u540d\u79f0\u662f\u5426\u6b63\u786e\u4ee5\u53ca\u8be5\u4e91\u51fd\u6570\u662f\u5426\u5df2\u4e0a\u4f20\u5230\u670d\u52a1\u7a7a\u95f4",mode:"append"}],ai=/[\\^$.*+?()[\]{}|]/g,ri=RegExp(ai.source);function oi(t,e,i){return t.replace(new RegExp((n=e)&&ri.test(n)?n.replace(ai,"\\$&"):n,"g"),i);var n}var si={NONE:"none",REQUEST:"request",RESPONSE:"response",BOTH:"both"},ci="_globalUniCloudStatus",li="_globalUniCloudSecureNetworkCache__{spaceId}";var ui;ui="0123456789abcdef";var hi="uni-secure-network",di={SYSTEM_ERROR:{code:2e4,message:"System error"},APP_INFO_INVALID:{code:20101,message:"Invalid client"},GET_ENCRYPT_KEY_FAILED:{code:20102,message:"Get encrypt key failed"}};function fi(t){var e=t||{},i=e.errSubject,n=e.subject,a=e.errCode,r=e.errMsg,o=e.code,s=e.message,c=e.cause;return new gt({subject:i||n||hi,code:a||o||di.SYSTEM_ERROR.code,message:r||s,cause:c})}var pi;function gi(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.secretType;return e===si.REQUEST||e===si.RESPONSE||e===si.BOTH}function vi(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.name,i=t.data,n=void 0===i?{}:i;return"app"===G&&"DCloud-clientDB"===e&&"encryption"===n.redirectTo&&"getAppClientKey"===n.action}function mi(t){t.functionName,t.result,t.logPvd}function xi(t){var e=t.callFunction,i=function(i){var n=this,a=i.name;i.data=ii.call(t,{data:i.data});var r={aliyun:"aliyun",tencent:"tcb",tcb:"tcb",alipay:"alipay",dcloud:"dcloud"}[this.config.provider],o=gi(i),s=vi(i),c=o||s;return e.call(this,i).then((function(t){return t.errCode=0,!c&&mi.call(n,{functionName:a,result:t,logPvd:r}),Promise.resolve(t)}),(function(t){return!c&&mi.call(n,{functionName:a,result:t,logPvd:r}),t&&t.message&&(t.message=function(){for(var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.message,i=void 0===e?"":e,n=t.extraInfo,a=void 0===n?{}:n,r=t.formatter,o=void 0===r?[]:r,s=0;s<o.length;s++){var c=o[s],l=c.rule,u=c.content,h=c.mode,d=i.match(l);if(d){for(var f=u,p=1;p<d.length;p++)f=oi(f,"{$".concat(p,"}"),d[p]);for(var g in a)f=oi(f,"{".concat(g,"}"),a[g]);return"replace"===h?f:i+f}}return i}({message:"[".concat(i.name,"]: ").concat(t.message),formatter:ni,extraInfo:{functionName:a}})),Promise.reject(t)}))};t.callFunction=function(e){var n,a,r=t.config,o=r.provider,s=r.spaceId,c=e.name;return e.data=e.data||{},n=i,n=n.bind(t),a=vi(e)?i.call(t,e):function(t){var e=t.name,i=t.data,n=void 0===i?{}:i;return"mp-weixin"===G&&"uni-id-co"===e&&"secureNetworkHandshakeByWeixin"===n.method}(e)?n.call(t,e):gi(e)?new pi({secretType:e.secretType,uniCloudIns:t}).wrapEncryptDataCallFunction(i.bind(t))(e):function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.provider,i=t.spaceId,n=t.functionName,a=bt(),r=a.appId,o=a.uniPlatform,s=a.osName,c=o;"app"===o&&(c=s);var l=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.provider,i=t.spaceId,n=H;if(!n)return{};e=function(t){return"tencent"===t?"tcb":t}(e);var a=n.find((function(t){return t.provider===e&&t.spaceId===i}));return a&&a.config}({provider:e,spaceId:i});if(!l||!l.accessControl||!l.accessControl.enable)return!1;var u=l.accessControl.function||{},h=Object.keys(u);if(0===h.length)return!0;var d=function(t,e){for(var i,n,a,r=0;r<t.length;r++){var o=t[r];o!==e?"*"!==o?o.split(",").map((function(t){return t.trim()})).indexOf(e)>-1&&(n=o):a=o:i=o}return i||n||a}(h,n);if(!d)return!1;if((u[d]||[]).find((function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return t.appId===r&&(t.platform||"").toLowerCase()===c.toLowerCase()})))return!0;throw console.error("\u6b64\u5e94\u7528[appId: ".concat(r,", platform: ").concat(c,"]\u4e0d\u5728\u4e91\u7aef\u914d\u7f6e\u7684\u5141\u8bb8\u8bbf\u95ee\u7684\u5e94\u7528\u5217\u8868\u5185\uff0c\u53c2\u8003\uff1ahttps://uniapp.dcloud.net.cn/uniCloud/secure-network.html#verify-client")),fi(di.APP_INFO_INVALID)}({provider:o,spaceId:s,functionName:c})?new pi({secretType:e.secretType,uniCloudIns:t}).wrapVerifyClientCallFunction(i.bind(t))(e):n(e),Object.defineProperty(a,"result",{get:function(){return console.warn("\u5f53\u524d\u8fd4\u56de\u7ed3\u679c\u4e3aPromise\u7c7b\u578b\uff0c\u4e0d\u53ef\u76f4\u63a5\u8bbf\u95ee\u5176result\u5c5e\u6027\uff0c\u8be6\u60c5\u8bf7\u53c2\u8003\uff1ahttps://uniapp.dcloud.net.cn/uniCloud/faq?id=promise"),{}}}),a.then((function(t){return"undefined"!=typeof UTSJSONObject&&(t.result=new UTSJSONObject(t.result)),t}))}}pi="mp-weixin"!==G&&"app"!==G?function(){return(0,m.default)((function t(){throw(0,v.default)(this,t),fi({message:"Platform ".concat(G," is not supported by secure network")})}))}():function(){return(0,m.default)((function t(){throw(0,v.default)(this,t),fi({message:"Platform ".concat(G," is not enabled, please check whether secure network module is enabled in your manifest.json")})}))}();var yi=Symbol("CLIENT_DB_INTERNAL");function _i(t,e){return t.then="DoNotReturnProxyWithAFunctionNamedThen",t._internalType=yi,t.inspect=null,t.__ob__=void 0,new Proxy(t,{get:function(t,i,n){if("_uniClient"===i)return null;if("symbol"==(0,c.default)(i))return t[i];if(i in t||"string"!=typeof i){var a=t[i];return"function"==typeof a?a.bind(t):a}return e.get(t,i,n)}})}function bi(t){return{on:function(e,i){t[e]=t[e]||[],t[e].indexOf(i)>-1||t[e].push(i)},off:function(e,i){t[e]=t[e]||[];var n=t[e].indexOf(i);-1!==n&&t[e].splice(n,1)}}}var wi=["db.Geo","db.command","command.aggregate"];function Si(t,e){return wi.indexOf("".concat(t,".").concat(e))>-1}function ki(t){switch($(t)){case"array":return t.map((function(t){return ki(t)}));case"object":return t._internalType===yi||Object.keys(t).forEach((function(e){t[e]=ki(t[e])})),t;case"regexp":return{$regexp:{source:t.source,flags:t.flags}};case"date":return{$date:t.toISOString()};default:return t}}function Ci(t){return t&&t.content&&t.content.$method}var Ti=function(){function t(e,i,n){(0,v.default)(this,t),this.content=e,this.prevStage=i||null,this.udb=null,this._database=n}return(0,m.default)(t,[{key:"toJSON",value:function(){for(var t=this,e=[t.content];t.prevStage;)t=t.prevStage,e.push(t.content);return{$db:e.reverse().map((function(t){return{$method:t.$method,$param:ki(t.$param)}}))}}},{key:"toString",value:function(){return JSON.stringify(this.toJSON())}},{key:"getAction",value:function(){var t=this.toJSON().$db.find((function(t){return"action"===t.$method}));return t&&t.$param&&t.$param[0]}},{key:"getCommand",value:function(){return{$db:this.toJSON().$db.filter((function(t){return"action"!==t.$method}))}}},{key:"isAggregate",get:function(){for(var t=this;t;){var e=Ci(t),i=Ci(t.prevStage);if("aggregate"===e&&"collection"===i||"pipeline"===e)return!0;t=t.prevStage}return!1}},{key:"isCommand",get:function(){for(var t=this;t;){if("command"===Ci(t))return!0;t=t.prevStage}return!1}},{key:"isAggregateCommand",get:function(){for(var t=this;t;){var e=Ci(t),i=Ci(t.prevStage);if("aggregate"===e&&"command"===i)return!0;t=t.prevStage}return!1}},{key:"getNextStageFn",value:function(t){var e=this;return function(){return Pi({$method:t,$param:ki(Array.from(arguments))},e,e._database)}}},{key:"count",get:function(){return this.isAggregate?this.getNextStageFn("count"):function(){return this._send("count",Array.from(arguments))}}},{key:"remove",get:function(){return this.isCommand?this.getNextStageFn("remove"):function(){return this._send("remove",Array.from(arguments))}}},{key:"get",value:function(){return this._send("get",Array.from(arguments))}},{key:"add",get:function(){return this.isCommand?this.getNextStageFn("add"):function(){return this._send("add",Array.from(arguments))}}},{key:"update",value:function(){return this._send("update",Array.from(arguments))}},{key:"end",value:function(){return this._send("end",Array.from(arguments))}},{key:"set",get:function(){return this.isCommand?this.getNextStageFn("set"):function(){throw new Error("JQL\u7981\u6b62\u4f7f\u7528set\u65b9\u6cd5")}}},{key:"_send",value:function(t,e){var i=this.getAction(),n=this.getCommand();return n.$db.push({$method:t,$param:ki(e)}),this._database._callCloudFunction({action:i,command:n})}}]),t}();function Pi(t,e,i){return _i(new Ti(t,e,i),{get:function(t,e){var n="db";return t&&t.content&&(n=t.content.$method),Si(n,e)?Pi({$method:e},t,i):function(){return Pi({$method:e,$param:ki(Array.from(arguments))},t,i)}}})}function Ai(t){var e=t.path,i=t.method;return function(){function t(){(0,v.default)(this,t),this.param=Array.from(arguments)}return(0,m.default)(t,[{key:"toJSON",value:function(){return{$newDb:[].concat((0,l.default)(e.map((function(t){return{$method:t}}))),[{$method:i,$param:this.param}])}}},{key:"toString",value:function(){return JSON.stringify(this.toJSON())}}]),t}()}var Oi=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=e.uniClient,n=void 0===i?{}:i,a=e.isJQL,r=void 0!==a&&a;(0,v.default)(this,t),this._uniClient=n,this._authCallBacks={},this._dbCallBacks={},n._isDefault&&(this._dbCallBacks=X("_globalUniCloudDatabaseCallback")),r||(this.auth=bi(this._authCallBacks)),this._isJQL=r,Object.assign(this,bi(this._dbCallBacks)),this.env=_i({},{get:function(t,e){return{$env:e}}}),this.Geo=_i({},{get:function(t,e){return Ai({path:["Geo"],method:e})}}),this.serverDate=Ai({path:[],method:"serverDate"}),this.RegExp=Ai({path:[],method:"RegExp"})}return(0,m.default)(t,[{key:"getCloudEnv",value:function(t){if("string"!=typeof t||!t.trim())throw new Error("getCloudEnv\u53c2\u6570\u9519\u8bef");return{$env:t.replace("$cloudEnv_","")}}},{key:"_callback",value:function(t,e){var i=this._dbCallBacks;i[t]&&i[t].forEach((function(t){t.apply(void 0,(0,l.default)(e))}))}},{key:"_callbackAuth",value:function(t,e){var i=this._authCallBacks;i[t]&&i[t].forEach((function(t){t.apply(void 0,(0,l.default)(e))}))}},{key:"multiSend",value:function(){var t=Array.from(arguments),e=t.map((function(t){var e=t.getAction(),i=t.getCommand();if("getTemp"!==i.$db[i.$db.length-1].$method)throw new Error("multiSend\u53ea\u652f\u6301\u5b50\u547d\u4ee4\u5185\u4f7f\u7528getTemp");return{action:e,command:i}}));return this._callCloudFunction({multiCommand:e,queryList:t})}}]),t}();function Li(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return _i(new t(e),{get:function(t,e){return Si("db",e)?Pi({$method:e},null,t):function(){return Pi({$method:e,$param:ki(Array.from(arguments))},null,t)}}})}var Di=function(t){(0,d.default)(i,t);var e=S(i);function i(){return(0,v.default)(this,i),e.apply(this,arguments)}return(0,m.default)(i,[{key:"_parseResult",value:function(t){return this._isJQL?t.result:t}},{key:"_callCloudFunction",value:function(t){var e=this,i=t.action,n=t.command,a=t.multiCommand,r=t.queryList;function o(t,e){if(a&&r)for(var i=0;i<r.length;i++){var n=r[i];n.udb&&"function"==typeof n.udb.setResult&&(e?n.udb.setResult(e):n.udb.setResult(t.result.dataList[i]))}}var s=this,c=this._isJQL?"databaseForJQL":"database";function l(t){return s._callback("error",[t]),et(it(c,"fail"),t).then((function(){return et(it(c,"complete"),t)})).then((function(){return o(null,t),ut(rt.RESPONSE,{type:ot.CLIENT_DB,content:t}),Promise.reject(t)}))}var u=et(it(c,"invoke")),h=this._uniClient;return u.then((function(){return h.callFunction({name:"DCloud-clientDB",type:I.CLIENT_DB,data:{action:i,command:n,multiCommand:a}})})).then((function(t){var i=t.result,n=i.code,a=i.message,r=i.token,u=i.tokenExpired,h=i.systemInfo,d=void 0===h?[]:h;if(d)for(var f=0;f<d.length;f++){var p=d[f],g=p.level,v=p.message,m=p.detail,x="[System Info]"+v;m&&(x="".concat(x,"\n\u8be6\u7ec6\u4fe1\u606f\uff1a").concat(m)),(console["app"===G&&"warn"===g?"error":g]||console.log)(x)}if(n)return l(new gt({code:n,message:a,requestId:t.requestId}));t.result.errCode=t.result.errCode||t.result.code,t.result.errMsg=t.result.errMsg||t.result.message,r&&u&&(_t({token:r,tokenExpired:u}),e._callbackAuth("refreshToken",[{token:r,tokenExpired:u}]),e._callback("refreshToken",[{token:r,tokenExpired:u}]),ut(rt.REFRESH_TOKEN,{token:r,tokenExpired:u}));for(var y=[{prop:"affectedDocs",tips:"affectedDocs\u4e0d\u518d\u63a8\u8350\u4f7f\u7528\uff0c\u8bf7\u4f7f\u7528inserted/deleted/updated/data.length\u66ff\u4ee3"},{prop:"code",tips:"code\u4e0d\u518d\u63a8\u8350\u4f7f\u7528\uff0c\u8bf7\u4f7f\u7528errCode\u66ff\u4ee3"},{prop:"message",tips:"message\u4e0d\u518d\u63a8\u8350\u4f7f\u7528\uff0c\u8bf7\u4f7f\u7528errMsg\u66ff\u4ee3"}],_=function(e){var i=y[e],n=i.prop,a=i.tips;if(n in t.result){var r=t.result[n];Object.defineProperty(t.result,n,{get:function(){return console.warn(a),r}})}},b=0;b<y.length;b++)_(b);return function(t){return et(it(c,"success"),t).then((function(){return et(it(c,"complete"),t)})).then((function(){o(t,null);var e=s._parseResult(t);return ut(rt.RESPONSE,{type:ot.CLIENT_DB,content:e}),Promise.resolve(e)}))}(t)}),(function(t){return/fc_function_not_found|FUNCTION_NOT_FOUND/g.test(t.message)&&console.warn("clientDB\u672a\u521d\u59cb\u5316\uff0c\u8bf7\u5728web\u63a7\u5236\u53f0\u4fdd\u5b58\u4e00\u6b21schema\u4ee5\u5f00\u542fclientDB"),l(new gt({code:t.code||"SYSTEM_ERROR",message:t.message,requestId:t.requestId}))}))}}]),i}(Oi),Ii="token\u65e0\u6548\uff0c\u8df3\u8f6c\u767b\u5f55\u9875\u9762",Mi="token\u8fc7\u671f\uff0c\u8df3\u8f6c\u767b\u5f55\u9875\u9762",Ei={TOKEN_INVALID_TOKEN_EXPIRED:Mi,TOKEN_INVALID_INVALID_CLIENTID:Ii,TOKEN_INVALID:Ii,TOKEN_INVALID_WRONG_TOKEN:Ii,TOKEN_INVALID_ANONYMOUS_USER:Ii},Fi={"uni-id-token-expired":Mi,"uni-id-check-token-failed":Ii,"uni-id-token-not-exist":Ii,"uni-id-check-device-feature-failed":Ii};function $i(t,e){var i="";return i=t?"".concat(t,"/").concat(e):e,i.replace(/^\//,"")}function Ri(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",i=[],n=[];return t.forEach((function(t){!0===t.needLogin?i.push($i(e,t.path)):!1===t.needLogin&&n.push($i(e,t.path))})),{needLoginPage:i,notNeedLoginPage:n}}function Ni(t){return t.split("?")[0].replace(/^\//,"")}function ji(){return function(t){var e=t&&t.$page&&t.$page.fullPath||"";return e?("/"!==e.charAt(0)&&(e="/"+e),e):e}(function(){var t=getCurrentPages();return t[t.length-1]}())}function Ui(){return Ni(ji())}function Bi(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!t)return!1;if(!(e&&e.list&&e.list.length))return!1;var i=e.list,n=Ni(t);return i.some((function(t){return t.pagePath===n}))}var zi,Wi=!!x.default.uniIdRouter,qi=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:x.default,e=t.pages,i=void 0===e?[]:e,n=t.subPackages,a=void 0===n?[]:n,r=t.uniIdRouter,o=void 0===r?{}:r,s=t.tabBar,c=void 0===s?{}:s,u=o.loginPage,h=o.needLogin,d=void 0===h?[]:h,f=o.resToLogin,p=void 0===f||f,g=Ri(i),v=g.needLoginPage,m=g.notNeedLoginPage,y=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],e=[],i=[];return t.forEach((function(t){var n=t.root,a=t.pages,r=void 0===a?[]:a,o=Ri(r,n),s=o.needLoginPage,c=o.notNeedLoginPage;e.push.apply(e,(0,l.default)(s)),i.push.apply(i,(0,l.default)(c))})),{needLoginPage:e,notNeedLoginPage:i}}(a),_=y.needLoginPage,b=y.notNeedLoginPage;return{loginPage:u,routerNeedLogin:d,resToLogin:p,needLoginPage:[].concat((0,l.default)(v),(0,l.default)(_)),notNeedLoginPage:[].concat((0,l.default)(m),(0,l.default)(b)),loginPageInTabBar:Bi(u,c)}}(),Hi=qi.loginPage,Gi=qi.routerNeedLogin,Ji=qi.resToLogin,Vi=qi.needLoginPage,Ki=qi.notNeedLoginPage,Xi=qi.loginPageInTabBar;if(Vi.indexOf(Hi)>-1)throw new Error("Login page [".concat(Hi,'] should not be "needLogin", please check your pages.json'));function Yi(t){var e=Ui();if("/"===t.charAt(0))return t;var i=t.split("?"),n=(0,s.default)(i,2),a=n[0],r=n[1],o=a.replace(/^\//,"").split("/"),c=e.split("/");c.pop();for(var l=0;l<o.length;l++){var u=o[l];".."===u?c.pop():"."!==u&&c.push(u)}return""===c[0]&&c.shift(),"/"+c.join("/")+(r?"?"+r:"")}function Qi(t){var e=Ni(Yi(t));return!(Ki.indexOf(e)>-1)&&(Vi.indexOf(e)>-1||Gi.some((function(e){return function(t,e){return new RegExp(e).test(t)}(t,e)})))}function Zi(t){var e=t.redirect,i=Ni(e),n=Ni(Hi);return Ui()!==n&&i!==n}function tn(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.api,i=t.redirect;if(i&&Zi({redirect:i})){var n=function(t,e){return"/"!==t.charAt(0)&&(t="/"+t),e?t.indexOf("?")>-1?t+"&uniIdRedirectUrl=".concat(encodeURIComponent(e)):t+"?uniIdRedirectUrl=".concat(encodeURIComponent(e)):t}(Hi,i);Xi?"navigateTo"!==e&&"redirectTo"!==e||(e="switchTab"):"switchTab"===e&&(e="navigateTo");var a={navigateTo:uni.navigateTo,redirectTo:uni.redirectTo,switchTab:uni.switchTab,reLaunch:uni.reLaunch};setTimeout((function(){a[e]({url:n})}),0)}}function en(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.url,i={abortLoginPageJump:!1,autoToLoginPage:!1},n=function(){var t,e=yt(),i=e.token,n=e.tokenExpired;if(i){if(n<Date.now()){var a="uni-id-token-expired";t={errCode:a,errMsg:Fi[a]}}}else{var r="uni-id-check-token-failed";t={errCode:r,errMsg:Fi[r]}}return t}();if(Qi(e)&&n){if(n.uniIdRedirectUrl=e,st(rt.NEED_LOGIN).length>0)return setTimeout((function(){ut(rt.NEED_LOGIN,n)}),0),i.abortLoginPageJump=!0,i;i.autoToLoginPage=!0}return i}function nn(){!function(){var t=ji(),e=en({url:t}),i=e.abortLoginPageJump,n=e.autoToLoginPage;i||n&&tn({api:"redirectTo",redirect:t})}();for(var t=["navigateTo","redirectTo","reLaunch","switchTab"],e=function(e){var i=t[e];uni.addInterceptor(i,{invoke:function(t){var e=en({url:t.url}),n=e.abortLoginPageJump,a=e.autoToLoginPage;return n?t:a?(tn({api:i,redirect:Yi(t.url)}),!1):t}})},i=0;i<t.length;i++)e(i)}function an(){this.onResponse((function(t){var e=t.type,i=t.content,n=!1;switch(e){case"cloudobject":n=function(t){if("object"!=(0,c.default)(t))return!1;var e=t||{},i=e.errCode;return i in Fi}(i);break;case"clientdb":n=function(t){if("object"!=(0,c.default)(t))return!1;var e=t||{},i=e.errCode;return i in Ei}(i)}n&&function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=st(rt.NEED_LOGIN);ft().then((function(){var i=ji();if(i&&Zi({redirect:i}))return e.length>0?ut(rt.NEED_LOGIN,Object.assign({uniIdRedirectUrl:i},t)):void(Hi&&tn({api:"navigateTo",redirect:i}))}))}(i)}))}function rn(t){!function(t){t.onResponse=function(t){ct(rt.RESPONSE,t)},t.offResponse=function(t){lt(rt.RESPONSE,t)}}(t),function(t){t.onNeedLogin=function(t){ct(rt.NEED_LOGIN,t)},t.offNeedLogin=function(t){lt(rt.NEED_LOGIN,t)},Wi&&(X(ci).needLoginInit||(X(ci).needLoginInit=!0,ft().then((function(){nn.call(t)})),Ji&&an.call(t)))}(t),function(t){t.onRefreshToken=function(t){ct(rt.REFRESH_TOKEN,t)},t.offRefreshToken=function(t){lt(rt.REFRESH_TOKEN,t)}}(t)}var on="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",sn=/^(?:[A-Za-z\d+/]{4})*?(?:[A-Za-z\d+/]{2}(?:==)?|[A-Za-z\d+/]{3}=?)?$/;function cn(){var t,e,i=yt().token||"",n=i.split(".");if(!i||3!==n.length)return{uid:null,role:[],permission:[],tokenExpired:0};try{t=JSON.parse((e=n[1],decodeURIComponent(zi(e).split("").map((function(t){return"%"+("00"+t.charCodeAt(0).toString(16)).slice(-2)})).join(""))))}catch(i){throw new Error("\u83b7\u53d6\u5f53\u524d\u7528\u6237\u4fe1\u606f\u51fa\u9519\uff0c\u8be6\u7ec6\u9519\u8bef\u4fe1\u606f\u4e3a\uff1a"+i.message)}return t.tokenExpired=1e3*t.exp,delete t.exp,delete t.iat,t}zi="function"!=typeof atob?function(t){if(t=String(t).replace(/[\t\n\f\r ]+/g,""),!sn.test(t))throw new Error("Failed to execute 'atob' on 'Window': The string to be decoded is not correctly encoded.");var e;t+="==".slice(2-(3&t.length));for(var i,n,a="",r=0;r<t.length;)e=on.indexOf(t.charAt(r++))<<18|on.indexOf(t.charAt(r++))<<12|(i=on.indexOf(t.charAt(r++)))<<6|(n=on.indexOf(t.charAt(r++))),a+=64===i?String.fromCharCode(e>>16&255):64===n?String.fromCharCode(e>>16&255,e>>8&255):String.fromCharCode(e>>16&255,e>>8&255,255&e);return a}:atob;var ln=k((function(t,e){Object.defineProperty(e,"__esModule",{value:!0});var i="chooseAndUploadFile:ok",a="chooseAndUploadFile:fail";function r(t,e){return t.tempFiles.forEach((function(t,i){t.name||(t.name=t.path.substring(t.path.lastIndexOf("/")+1)),e&&(t.fileType=e),t.cloudPath=Date.now()+"_"+i+t.name.substring(t.name.lastIndexOf("."))})),t.tempFilePaths||(t.tempFilePaths=t.tempFiles.map((function(t){return t.path}))),t}function o(t,e,n){var a=n.onChooseFile,r=n.onUploadProgress;return e.then((function(t){if(a){var e=a(t);if(void 0!==e)return Promise.resolve(e).then((function(e){return void 0===e?t:e}))}return t})).then((function(e){return!1===e?{errMsg:i,tempFilePaths:[],tempFiles:[]}:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:5,a=arguments.length>3?arguments[3]:void 0;(e=Object.assign({},e)).errMsg=i;var r=e.tempFiles,o=r.length,s=0;return new Promise((function(i){for(;s<n;)c();function c(){var n=s++;if(n>=o)!r.find((function(t){return!t.url&&!t.errMsg}))&&i(e);else{var l=r[n];t.uploadFile({provider:l.provider,filePath:l.path,cloudPath:l.cloudPath,fileType:l.fileType,cloudPathAsRealPath:l.cloudPathAsRealPath,onUploadProgress:function(t){t.index=n,t.tempFile=l,t.tempFilePath=l.path,a&&a(t)}}).then((function(t){l.url=t.fileID,n<o&&c()})).catch((function(t){l.errMsg=t.errMsg||t.message,n<o&&c()}))}}}))}(t,e,5,r)}))}e.initChooseAndUploadFile=function(t){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{type:"all"};return"image"===e.type?o(t,function(t){var e=t.count,i=t.sizeType,n=t.sourceType,o=void 0===n?["album","camera"]:n,s=t.extension;return new Promise((function(t,n){uni.chooseImage({count:e,sizeType:i,sourceType:o,extension:s,success:function(e){t(r(e,"image"))},fail:function(t){n({errMsg:t.errMsg.replace("chooseImage:fail",a)})}})}))}(e),e):"video"===e.type?o(t,function(t){var e=t.camera,i=t.compressed,n=t.maxDuration,o=t.sourceType,s=void 0===o?["album","camera"]:o,c=t.extension;return new Promise((function(t,o){uni.chooseVideo({camera:e,compressed:i,maxDuration:n,sourceType:s,extension:c,success:function(e){var i=e.tempFilePath,n=e.duration,a=e.size,o=e.height,s=e.width;t(r({errMsg:"chooseVideo:ok",tempFilePaths:[i],tempFiles:[{name:e.tempFile&&e.tempFile.name||"",path:i,size:a,type:e.tempFile&&e.tempFile.type||"",width:s,height:o,duration:n,fileType:"video",cloudPath:""}]},"video"))},fail:function(t){o({errMsg:t.errMsg.replace("chooseVideo:fail",a)})}})}))}(e),e):o(t,function(t){var e=t.count,i=t.extension;return new Promise((function(t,o){var s=uni.chooseFile;if("undefined"!=typeof n&&"function"==typeof n.chooseMessageFile&&(s=n.chooseMessageFile),"function"!=typeof s)return o({errMsg:a+" \u8bf7\u6307\u5b9a type \u7c7b\u578b\uff0c\u8be5\u5e73\u53f0\u4ec5\u652f\u6301\u9009\u62e9 image \u6216 video\u3002"});s({type:"all",count:e,extension:i,success:function(e){t(r(e))},fail:function(t){o({errMsg:t.errMsg.replace("chooseFile:fail",a)})}})}))}(e),e)}}})),un=function(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}(ln),hn={auto:"auto",onready:"onready",manual:"manual"};function dn(t){return{props:{localdata:{type:Array,default:function(){return[]}},options:{type:[Object,Array],default:function(){return{}}},spaceInfo:{type:Object,default:function(){return{}}},collection:{type:[String,Array],default:""},action:{type:String,default:""},field:{type:String,default:""},orderby:{type:String,default:""},where:{type:[String,Object],default:""},pageData:{type:String,default:"add"},pageCurrent:{type:Number,default:1},pageSize:{type:Number,default:20},getcount:{type:[Boolean,String],default:!1},gettree:{type:[Boolean,String],default:!1},gettreepath:{type:[Boolean,String],default:!1},startwith:{type:String,default:""},limitlevel:{type:Number,default:10},groupby:{type:String,default:""},groupField:{type:String,default:""},distinct:{type:[Boolean,String],default:!1},foreignKey:{type:String,default:""},loadtime:{type:String,default:"auto"},manual:{type:Boolean,default:!1}},data:function(){return{mixinDatacomLoading:!1,mixinDatacomHasMore:!1,mixinDatacomResData:[],mixinDatacomErrorMessage:"",mixinDatacomPage:{},mixinDatacomError:null}},created:function(){var t=this;this.mixinDatacomPage={current:this.pageCurrent,size:this.pageSize,count:0},this.$watch((function(){var e=[];return["pageCurrent","pageSize","localdata","collection","action","field","orderby","where","getont","getcount","gettree","groupby","groupField","distinct"].forEach((function(i){e.push(t[i])})),e}),(function(e,i){if(t.loadtime!==hn.manual){for(var n=!1,a=[],r=2;r<e.length;r++)e[r]!==i[r]&&(a.push(e[r]),n=!0);e[0]!==i[0]&&(t.mixinDatacomPage.current=t.pageCurrent),t.mixinDatacomPage.size=t.pageSize,t.onMixinDatacomPropsChange(n,a)}}))},methods:{onMixinDatacomPropsChange:function(t,e){},mixinDatacomEasyGet:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=e.getone,n=void 0!==i&&i,a=e.success,r=e.fail;this.mixinDatacomLoading||(this.mixinDatacomLoading=!0,this.mixinDatacomErrorMessage="",this.mixinDatacomError=null,this.mixinDatacomGet().then((function(e){t.mixinDatacomLoading=!1;var i=e.result,r=i.data,o=i.count;t.getcount&&(t.mixinDatacomPage.count=o),t.mixinDatacomHasMore=r.length<t.pageSize;var s=n?r.length?r[0]:void 0:r;t.mixinDatacomResData=s,a&&a(s)})).catch((function(e){t.mixinDatacomLoading=!1,t.mixinDatacomErrorMessage=e,t.mixinDatacomError=e,r&&r(e)})))},mixinDatacomGet:function(){var e,i,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};n=n||{},i="undefined"!=typeof __uniX&&__uniX?t.databaseForJQL(this.spaceInfo):t.database(this.spaceInfo);var a=n.action||this.action;a&&(i=i.action(a));var r=n.collection||this.collection;i=Array.isArray(r)?(e=i).collection.apply(e,(0,l.default)(r)):i.collection(r);var o=n.where||this.where;o&&Object.keys(o).length&&(i=i.where(o));var s=n.field||this.field;s&&(i=i.field(s));var c=n.foreignKey||this.foreignKey;c&&(i=i.foreignKey(c));var u=n.groupby||this.groupby;u&&(i=i.groupBy(u));var h=n.groupField||this.groupField;h&&(i=i.groupField(h)),!0===(void 0!==n.distinct?n.distinct:this.distinct)&&(i=i.distinct());var d=n.orderby||this.orderby;d&&(i=i.orderBy(d));var f=void 0!==n.pageCurrent?n.pageCurrent:this.mixinDatacomPage.current,p=void 0!==n.pageSize?n.pageSize:this.mixinDatacomPage.size,g=void 0!==n.getcount?n.getcount:this.getcount,v=void 0!==n.gettree?n.gettree:this.gettree,m=void 0!==n.gettreepath?n.gettreepath:this.gettreepath,x={getCount:g},y={limitLevel:void 0!==n.limitlevel?n.limitlevel:this.limitlevel,startWith:void 0!==n.startwith?n.startwith:this.startwith};return v&&(x.getTree=y),m&&(x.getTreePath=y),i=i.skip(p*(f-1)).limit(p).get(x),i}}}}function fn(t){return X(li.replace("{spaceId}",t.config.spaceId))}function pn(){return gn.apply(this,arguments)}function gn(){return gn=(0,u.default)(r.default.mark((function t(){var e,i,n,a,o,s,c,l=arguments;return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(e=l.length>0&&void 0!==l[0]?l[0]:{},i=e.openid,n=e.callLoginByWeixin,a=void 0!==n&&n,o=fn(this),"mp-weixin"===G){t.next=4;break}throw new Error("[SecureNetwork] API `initSecureNetworkByWeixin` is not supported on platform `".concat(G,"`"));case 4:if(!i||!a){t.next=6;break}throw new Error("[SecureNetwork] openid and callLoginByWeixin cannot be passed at the same time");case 6:if(!i){t.next=8;break}return t.abrupt("return",(o.mpWeixinOpenid=i,{}));case 8:return t.next=10,new Promise((function(t,e){uni.login({success:function(e){t(e.code)},fail:function(t){e(new Error(t.errMsg))}})}));case 10:return s=t.sent,c=this.importObject("uni-id-co",{customUI:!0}),t.next=14,c.secureNetworkHandshakeByWeixin({code:s,callLoginByWeixin:a});case 14:return o.mpWeixinCode=s,t.abrupt("return",{code:s});case 16:case"end":return t.stop()}}),t,this)}))),gn.apply(this,arguments)}function vn(t){return mn.apply(this,arguments)}function mn(){return mn=(0,u.default)(r.default.mark((function t(e){var i;return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return i=fn(this),t.abrupt("return",(i.initPromise||(i.initPromise=pn.call(this,e).then((function(t){return t})).catch((function(t){throw delete i.initPromise,t}))),i.initPromise));case 2:case"end":return t.stop()}}),t,this)}))),mn.apply(this,arguments)}function xn(t){!function(t){wt=t}(t)}function yn(t){var e={getSystemInfo:uni.getSystemInfo,getPushClientId:uni.getPushClientId};return function(i){return new Promise((function(n,a){e[t](w(w({},i),{},{success:function(t){n(t)},fail:function(t){a(t)}}))}))}}var _n=function(t){(0,d.default)(i,t);var e=S(i);function i(){var t;return(0,v.default)(this,i),t=e.call(this),t._uniPushMessageCallback=t._receivePushMessage.bind((0,o.default)(t)),t._currentMessageId=-1,t._payloadQueue=[],t}return(0,m.default)(i,[{key:"init",value:function(){var t=this;return Promise.all([yn("getSystemInfo")(),yn("getPushClientId")()]).then((function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],i=(0,s.default)(e,2),n=i[0];n=void 0===n?{}:n;var a=n.appId,r=i[1];r=void 0===r?{}:r;var o=r.cid;if(!a)throw new Error("Invalid appId, please check the manifest.json file");if(!o)throw new Error("Invalid push client id");t._appId=a,t._pushClientId=o,t._seqId=Date.now()+"-"+Math.floor(9e5*Math.random()+1e5),t.emit("open"),t._initMessageListener()}),(function(e){throw t.emit("error",e),t.close(),e}))}},{key:"open",value:function(){var t=(0,u.default)(r.default.mark((function t(){return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.abrupt("return",this.init());case 1:case"end":return t.stop()}}),t,this)})));return function(){return t.apply(this,arguments)}}()},{key:"_isUniCloudSSE",value:function(t){if("receive"!==t.type)return!1;var e=t&&t.data&&t.data.payload;return!(!e||"UNI_CLOUD_SSE"!==e.channel||e.seqId!==this._seqId)}},{key:"_receivePushMessage",value:function(t){if(this._isUniCloudSSE(t)){var e=t&&t.data&&t.data.payload,i=e.action,n=e.messageId,a=e.message;this._payloadQueue.push({action:i,messageId:n,message:a}),this._consumMessage()}}},{key:"_consumMessage",value:function(){for(var t=this;;){var e=this._payloadQueue.find((function(e){return e.messageId===t._currentMessageId+1}));if(!e)break;this._currentMessageId++,this._parseMessagePayload(e)}}},{key:"_parseMessagePayload",value:function(t){var e=t.action,i=t.messageId,n=t.message;"end"===e?this._end({messageId:i,message:n}):"message"===e&&this._appendMessage({messageId:i,message:n})}},{key:"_appendMessage",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=(t.messageId,t.message);this.emit("message",e)}},{key:"_end",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=(t.messageId,t.message);this.emit("end",e),this.close()}},{key:"_initMessageListener",value:function(){uni.onPushMessage(this._uniPushMessageCallback)}},{key:"_destroy",value:function(){uni.offPushMessage(this._uniPushMessageCallback)}},{key:"toJSON",value:function(){return{appId:this._appId,pushClientId:this._pushClientId,seqId:this._seqId}}},{key:"close",value:function(){this._destroy(),this.emit("close")}}]),i}(W);var bn={tcb:Ne,tencent:Ne,aliyun:Pt,private:He,dcloud:He,alipay:ei},wn=new(function(){function t(){(0,v.default)(this,t)}return(0,m.default)(t,[{key:"init",value:function(t){var e={},i=bn[t.provider];if(!i)throw new Error("\u672a\u63d0\u4f9b\u6b63\u786e\u7684provider\u53c2\u6570");return e=i.init(t),function(t){t._initPromiseHub||(t._initPromiseHub=new z({createPromise:function(){var e=Promise.resolve();e=new Promise((function(t){setTimeout((function(){t()}),1)}));var i=t.auth();return e.then((function(){return i.getLoginState()})).then((function(t){return t?Promise.resolve():i.signInAnonymously()}))}}))}(e),xi(e),function(t){var e=t.uploadFile;t.uploadFile=function(t){return e.call(this,t)}}(e),function(t){t.database=function(e){if(e&&Object.keys(e).length>0)return t.init(e).database();if(this._database)return this._database;var i=Li(Di,{uniClient:t});return this._database=i,i},t.databaseForJQL=function(e){if(e&&Object.keys(e).length>0)return t.init(e).databaseForJQL();if(this._databaseForJQL)return this._databaseForJQL;var i=Li(Di,{uniClient:t,isJQL:!0});return this._databaseForJQL=i,i}}(e),function(t){t.getCurrentUserInfo=cn,t.chooseAndUploadFile=un.initChooseAndUploadFile(t),Object.assign(t,{get mixinDatacom(){return dn(t)}}),t.SSEChannel=_n,t.initSecureNetworkByWeixin=function(t){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=e.openid,n=e.callLoginByWeixin,a=void 0!==n&&n;return vn.call(t,{openid:i,callLoginByWeixin:a})}}(t),t.setCustomClientInfo=xn,t.importObject=function(t){return function(e){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};i=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return t.customUI=e.customUI||t.customUI,t.parseSystemError=e.parseSystemError||t.parseSystemError,Object.assign(t.loadingOptions,e.loadingOptions),Object.assign(t.errorOptions,e.errorOptions),"object"==(0,c.default)(e.secretMethods)&&(t.secretMethods=e.secretMethods),t}({customUI:!1,loadingOptions:{title:"\u52a0\u8f7d\u4e2d...",mask:!0},errorOptions:{type:"modal",retry:!1}},i);var n=i,a=n.customUI,o=n.loadingOptions,s=n.errorOptions,l=n.parseSystemError,h=!a;return new Proxy({},{get:function(n,a){switch(a){case"toString":return"[object UniCloudObject]";case"toJSON":return{}}return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.fn,i=t.interceptorName,n=t.getCallbackArgs;return(0,u.default)(r.default.mark((function t(){var a,o,s,c,l,u,h=arguments;return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:for(a=h.length,o=new Array(a),s=0;s<a;s++)o[s]=h[s];return c=n?n({params:o}):{},t.prev=2,t.next=5,et(it(i,"invoke"),w({},c));case 5:return t.next=7,e.apply(void 0,o);case 7:return l=t.sent,t.next=10,et(it(i,"success"),w(w({},c),{},{result:l}));case 10:return t.abrupt("return",l);case 13:return t.prev=13,t.t0=t["catch"](2),u=t.t0,t.next=18,et(it(i,"fail"),w(w({},c),{},{error:u}));case 18:throw u;case 19:return t.prev=19,t.next=22,et(it(i,"complete"),w(w({},c),{},u?{error:u}:{result:l}));case 22:return t.finish(19);case 23:case"end":return t.stop()}}),t,null,[[2,13,19,23]])})))}({fn:function(){var n=(0,u.default)(r.default.mark((function n(){var f,p,g,v,m,x,y,_,b,S,k,C,T,P,A,O=arguments;return r.default.wrap((function(n){while(1)switch(n.prev=n.next){case 0:for(h&&uni.showLoading({title:o.title,mask:o.mask}),p=O.length,g=new Array(p),v=0;v<p;v++)g[v]=O[v];return m={name:e,type:I.OBJECT,data:{method:a,params:g}},"object"==(0,c.default)(i.secretMethods)&&function(t,e){var i=e.data.method,n=t.secretMethods||{},a=n[i]||n["*"];a&&(e.secretType=a)}(i,m),x=!1,n.prev=5,n.next=8,t.callFunction(m);case 8:f=n.sent,n.next=14;break;case 11:n.prev=11,n.t0=n["catch"](5),x=!0,f={result:new gt(n.t0)};case 14:if(y=f.result||{},_=y.errSubject,b=y.errCode,S=y.errMsg,k=y.newToken,h&&uni.hideLoading(),k&&k.token&&k.tokenExpired&&(_t(k),ut(rt.REFRESH_TOKEN,w({},k))),!b){n.next=39;break}if(C=S,!x||!l){n.next=24;break}return n.next=20,l({objectName:e,methodName:a,params:g,errSubject:_,errCode:b,errMsg:S});case 20:if(n.t1=n.sent.errMsg,n.t1){n.next=23;break}n.t1=S;case 23:C=n.t1;case 24:if(!h){n.next=37;break}if("toast"!==s.type){n.next=29;break}uni.showToast({title:C,icon:"none"}),n.next=37;break;case 29:if("modal"===s.type){n.next=31;break}throw new Error("Invalid errorOptions.type: ".concat(s.type));case 31:return n.next=33,(0,u.default)(r.default.mark((function t(){var e,i,n,a,o,s,c=arguments;return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return e=c.length>0&&void 0!==c[0]?c[0]:{},i=e.title,n=e.content,a=e.showCancel,o=e.cancelText,s=e.confirmText,t.abrupt("return",new Promise((function(t,e){uni.showModal({title:i,content:n,showCancel:a,cancelText:o,confirmText:s,success:function(e){t(e)},fail:function(){t({confirm:!1,cancel:!0})}})})));case 2:case"end":return t.stop()}}),t)})))({title:"\u63d0\u793a",content:C,showCancel:s.retry,cancelText:"\u53d6\u6d88",confirmText:s.retry?"\u91cd\u8bd5":"\u786e\u5b9a"});case 33:if(T=n.sent,P=T.confirm,!s.retry||!P){n.next=37;break}return n.abrupt("return",d.apply(void 0,g));case 37:throw A=new gt({subject:_,code:b,message:S,requestId:f.requestId}),A.detail=f.result,ut(rt.RESPONSE,{type:ot.CLOUD_OBJECT,content:A}),A;case 39:return n.abrupt("return",(ut(rt.RESPONSE,{type:ot.CLOUD_OBJECT,content:f.result}),f.result));case 40:case"end":return n.stop()}}),n,null,[[5,11]])})));function d(){return n.apply(this,arguments)}return d}(),interceptorName:"callObject",getCallbackArgs:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=t.params;return{objectName:e,methodName:a,params:i}}})}})}}(t)}(e),["callFunction","uploadFile","deleteFile","getTempFileURL","downloadFile","chooseAndUploadFile"].forEach((function(t){if(e[t]){var i=e[t];e[t]=function(){return i.apply(e,Array.from(arguments))},e[t]=function(t,e){return function(i){var n=this,a=!1;if("callFunction"===e){var r=i&&i.type||I.DEFAULT;a=r!==I.DEFAULT}var o="callFunction"===e&&!a,s=this._initPromiseHub.exec();i=i||{};var c=pt(i),l=c.success,u=c.fail,h=c.complete,d=s.then((function(){return a?Promise.resolve():et(it(e,"invoke"),i)})).then((function(){return t.call(n,i)})).then((function(t){return a?Promise.resolve(t):et(it(e,"success"),t).then((function(){return et(it(e,"complete"),t)})).then((function(){return o&&ut(rt.RESPONSE,{type:ot.CLOUD_FUNCTION,content:t}),Promise.resolve(t)}))}),(function(t){return a?Promise.reject(t):et(it(e,"fail"),t).then((function(){return et(it(e,"complete"),t)})).then((function(){return ut(rt.RESPONSE,{type:ot.CLOUD_FUNCTION,content:t}),Promise.reject(t)}))}));if(!(l||u||h))return d;d.then((function(t){l&&l(t),h&&h(t),o&&ut(rt.RESPONSE,{type:ot.CLOUD_FUNCTION,content:t})}),(function(t){u&&u(t),h&&h(t),o&&ut(rt.RESPONSE,{type:ot.CLOUD_FUNCTION,content:t})}))}}(e[t],t).bind(e)}})),e.init=this.init,e}}]),t}());e.uniCloud=wn,function(){var t=J,i={};if(t&&1===t.length)i=t[0],e.uniCloud=wn=wn.init(i),wn._isDefault=!0;else{var n;n=t&&t.length>0?"\u5e94\u7528\u6709\u591a\u4e2a\u670d\u52a1\u7a7a\u95f4\uff0c\u8bf7\u901a\u8fc7uniCloud.init\u65b9\u6cd5\u6307\u5b9a\u8981\u4f7f\u7528\u7684\u670d\u52a1\u7a7a\u95f4":"\u5e94\u7528\u672a\u5173\u8054\u670d\u52a1\u7a7a\u95f4\uff0c\u8bf7\u5728uniCloud\u76ee\u5f55\u53f3\u952e\u5173\u8054\u670d\u52a1\u7a7a\u95f4",["auth","callFunction","uploadFile","deleteFile","getTempFileURL","downloadFile","database","getCurrentUSerInfo","importObject"].forEach((function(t){wn[t]=function(){return console.error(n),Promise.reject(new gt({code:"SYS_ERR",message:n}))}}))}if(Object.assign(wn,{get mixinDatacom(){return dn(wn)}}),rn(wn),wn.addInterceptor=Z,wn.removeInterceptor=tt,wn.interceptObject=nt,"app"===G&&(uni.__uniCloud=wn),"app"===G||"web"===G){var a=function(){return V||(V=function(){if("undefined"!=typeof globalThis)return globalThis;if("undefined"!=typeof self)return self;if("undefined"!=typeof window)return window;function t(){return this}return void 0!==t()?t():new Function("return this")()}(),V)}();a.uniCloud=wn,a.UniCloudError=gt}}();var Sn=wn;e.default=Sn}).call(this,i("0ee4"),i("ed83")["default"])},"862a":function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return a})),i.d(e,"a",(function(){}));var n=function(){var t=this.$createElement,e=this._self._c||t;return e("view",{staticClass:this._$s(0,"sc","container loading3"),attrs:{_i:0}},[e("view",{staticClass:this._$s(1,"sc","shape shape1"),attrs:{_i:1}}),e("view",{staticClass:this._$s(2,"sc","shape shape2"),attrs:{_i:2}}),e("view",{staticClass:this._$s(3,"sc","shape shape3"),attrs:{_i:3}}),e("view",{staticClass:this._$s(4,"sc","shape shape4"),attrs:{_i:4}})])},a=[]},"8a5a":function(t,e,i){"use strict";i.r(e);var n=i("3400"),a=i("e9e1");for(var r in a)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(r);var o=i("828b"),s=Object(o["a"])(a["default"],n["b"],n["c"],!1,null,"39559fc8",null,!1,n["a"],void 0);e["default"]=s.exports},"8b6b":function(t,e,i){"use strict";i.r(e);var n=i("f92d"),a=i.n(n);for(var r in n)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(r);e["default"]=a.a},"8d12":function(t,e,i){t.exports=i.p+"static/g1.png"},"8ffa":function(t,e,i){var n=i("7647");t.exports=function(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&n(t,e)},t.exports.__esModule=!0,t.exports["default"]=t.exports},9008:function(t,e){t.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},t.exports.__esModule=!0,t.exports["default"]=t.exports},"907f":function(t,e,i){"use strict";i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return r})),i.d(e,"a",(function(){return n}));var n={uniTransition:i("997e").default,yBox:i("357c").default,qiunDataCharts:i("8325").default,uniPopup:i("a640").default,uniPopupDialog:i("ed43").default},a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("view",{staticClass:t._$s(0,"sc","container"),attrs:{_i:0}},[n("uni-transition",{attrs:{duration:t.duration,"mode-class":t.homeMode,show:t.homeViewShow,_i:1}},[n("view",{staticClass:t._$s(2,"sc","home-view"),attrs:{_i:2}},[n("view",{staticClass:t._$s(3,"sc","head"),attrs:{_i:3}},[n("text")]),n("view",{staticClass:t._$s(5,"sc","time-tools"),attrs:{_i:5}},[t._v(t._$s(5,"t0-0",t._s(t.calendar)))]),n("view",{staticClass:t._$s(6,"sc","version"),attrs:{_i:6}},[t._v(t._$s(6,"t0-0",t._s(t.version)))]),n("view",{staticClass:t._$s(7,"sc","button-left"),attrs:{_i:7},on:{click:function(e){return t.ejected()}}}),n("view",{staticClass:t._$s(8,"sc","button-right"),attrs:{_i:8},on:{click:function(e){return t.ejected()}}}),n("view",{staticClass:t._$s(9,"sc","main"),attrs:{_i:9}},[n("view",{staticClass:t._$s(10,"sc","mian-item"),attrs:{_i:10}},[n("view",{staticClass:t._$s(11,"sc","mian-item-box"),attrs:{_i:11}},[n("y-box",{attrs:{_i:12}},[n("view",{staticClass:t._$s(13,"sc","box-item"),attrs:{_i:13}},[n("text",{staticClass:t._$s(14,"sc","item-title"),attrs:{_i:14}}),n("text",{staticClass:t._$s(15,"sc","item-subTitle"),attrs:{_i:15}})]),n("view",{staticClass:t._$s(16,"sc","box-item"),attrs:{_i:16}},[n("text",{staticClass:t._$s(17,"sc","item-title"),attrs:{_i:17}}),n("text",{staticClass:t._$s(18,"sc","item-subTitle"),attrs:{_i:18}}),n("view",{staticClass:t._$s(19,"sc","img-box"),attrs:{_i:19}},t._l(t._$s(20,"f",{forItems:t.locList}),(function(e,i,a,r){return n("view",{key:t._$s(20,"f",{forIndex:a,key:i})},[n("view",[t._v(t._$s("21-"+r,"t0-0",t._s(e.matnr)))]),n("view",[t._v(t._$s("22-"+r,"t0-0",t._s(e.matnrCount)))])])})),0)]),n("view",{staticClass:t._$s(23,"sc","box-item"),attrs:{_i:23}},[n("view",{staticClass:t._$s(24,"sc","flex-row"),attrs:{_i:24}},[n("view",{staticClass:t._$s(25,"sc","flex-col"),attrs:{_i:25}},[n("text",{staticClass:t._$s(26,"sc","item-title"),attrs:{_i:26}}),n("text",{staticClass:t._$s(27,"sc","item-subTitle"),attrs:{_i:27}})]),n("view",[n("view",{staticClass:t._$s(29,"sc","flex-col"),attrs:{_i:29}},[n("text",{staticClass:t._$s(30,"sc","item-title"),attrs:{_i:30}},[t._v(t._$s(30,"t0-0",t._s(t.baseInfo.usedPr)))])])])]),n("view",{staticClass:t._$s(31,"sc","flex-col"),attrs:{_i:31}},[n("view",{staticClass:t._$s(32,"sc","flex-row"),attrs:{_i:32}},[n("view",{staticClass:t._$s(33,"sc","progressBar"),attrs:{_i:33}},[n("view",{staticClass:t._$s(34,"sc","progress"),style:t._$s(34,"s","width:"+t.baseInfo.usedPr+"%"),attrs:{_i:34}})]),n("view",[t._v(t._$s(35,"t0-0",t._s(t.baseInfo.used)))])])])])])],1)]),n("view",{staticClass:t._$s(36,"sc","mian-item"),attrs:{_i:36}},[n("view",{staticClass:t._$s(37,"sc","mian-item-box"),attrs:{_i:37}},[n("view",[n("view",[n("y-box",{attrs:{_i:40}},[n("view",{staticClass:t._$s(41,"sc","box-item"),attrs:{_i:41}},[n("view",{staticClass:t._$s(42,"sc","flex-row"),attrs:{_i:42}},[n("view",{staticClass:t._$s(43,"sc","flex-col"),attrs:{_i:43}},[n("text",{staticClass:t._$s(44,"sc","item-title"),attrs:{_i:44}}),n("text",{staticClass:t._$s(45,"sc","item-subTitle"),attrs:{_i:45}})]),n("view",[n("view",{staticClass:t._$s(47,"sc","flex-col"),attrs:{_i:47}})])]),n("view",{staticClass:t._$s(48,"sc","charts-box"),attrs:{_i:48}},[n("qiun-data-charts",{attrs:{type:"line",chartData:t.chartsDataLine1,echartsH5:!0,echartsApp:!0,_i:49}})],1)])])],1),n("view"),n("view",[n("y-box",{attrs:{_i:52}},[n("view",{staticClass:t._$s(53,"sc","box-item"),attrs:{_i:53}},[n("view",{staticClass:t._$s(54,"sc","flex-row"),attrs:{_i:54}},[n("view",{staticClass:t._$s(55,"sc","flex-col"),attrs:{_i:55}},[n("text",{staticClass:t._$s(56,"sc","item-title"),attrs:{_i:56}}),n("text",{staticClass:t._$s(57,"sc","item-subTitle"),attrs:{_i:57}})]),n("view",[n("view",{staticClass:t._$s(59,"sc","flex-col"),attrs:{_i:59}},[n("text",{staticClass:t._$s(60,"sc","item-title"),attrs:{_i:60}}),n("text",{staticClass:t._$s(61,"sc","item-subTitle"),attrs:{_i:61}})])])]),n("view",{staticClass:t._$s(62,"sc","flex-row"),attrs:{_i:62}},[n("view",{staticClass:t._$s(63,"sc","charts-box-ring"),attrs:{_i:63}},[n("qiun-data-charts",{attrs:{type:"ring",opts:{legend:{position:"bottom"}},eopts:t.ringOpts,chartData:t.chartsDataPie2,echartsH5:!0,echartsApp:!0,_i:64}})],1),n("view",[n("view",{staticClass:t._$s(66,"sc","flex-row sub-info"),attrs:{_i:66}},[n("image",{attrs:{src:t._$s(67,"a-src",i("8d12")),_i:67}}),n("view"),n("view",[t._v(t._$s(69,"t0-0",t._s(t.baseInfo.stockCount)))])]),n("view",{staticClass:t._$s(70,"sc","flex-row sub-info"),attrs:{_i:70}},[n("image",{attrs:{src:t._$s(71,"a-src",i("1b21")),_i:71}}),n("view"),n("view",[t._v(t._$s(73,"t0-0",t._s(t.baseInfo.emptyCount)))])]),n("view",{staticClass:t._$s(74,"sc","flex-row sub-info"),attrs:{_i:74}},[n("image",{attrs:{src:t._$s(75,"a-src",i("0c2e")),_i:75}}),n("view"),n("view",[t._v(t._$s(77,"t0-0",t._s(t.baseInfo.noneCount)))])])])])])])],1),n("view"),n("view",[n("view",[n("image",{attrs:{src:t._$s(81,"a-src",i("6597")),_i:81}})])])])])])])])]),n("uni-transition",{attrs:{duration:t.duration,"mode-class":t.infoMode,show:t.infoViewShow,_i:82}},[n("view",{staticClass:t._$s(83,"sc","home-view"),attrs:{_i:83}},[n("view",{staticClass:t._$s(84,"sc","head"),attrs:{_i:84}},[n("text",[t._v(t._$s(85,"t0-0",t._s(t.infoText.title)))])]),n("view",{staticClass:t._$s(86,"sc","time-tools"),attrs:{_i:86}},[t._v(t._$s(86,"t0-0",t._s(t.calendar)))]),n("view",{staticClass:t._$s(87,"sc","button-left"),attrs:{_i:87},on:{click:function(e){return t.ejected()}}}),n("view",{staticClass:t._$s(88,"sc","button-right"),attrs:{_i:88},on:{click:function(e){return t.ejected()}}}),n("view",{staticClass:t._$s(89,"sc","info-main"),attrs:{_i:89}},[n("view",{staticClass:t._$s(90,"sc","info-box"),attrs:{_i:90}},[n("y-box",{attrs:{_i:91}},[n("view",{staticClass:t._$s(92,"sc","text-content"),attrs:{_i:92}},[n("view",{staticClass:t._$s(93,"sc","swiper-head"),attrs:{_i:93}},[n("view",[t._v(t._$s(94,"t0-0",t._s(t.infoText.barcode)))]),n("view",[t._v(t._$s(95,"t0-0",t._s(t.infoText.workNo)))]),n("view",[t._v(t._$s(96,"t0-0",t._s(t.infoText.sourceLocNo)))]),n("view",[t._v(t._$s(97,"t0-0",t._s(t.infoText.staNo)))])]),n("view",{staticClass:t._$s(98,"sc","swiper-body"),attrs:{_i:98}},[n("swiper",{staticClass:t._$s(99,"sc","swiper-body-main"),attrs:{_i:99}},t._l(t._$s(100,"f",{forItems:t.swiperList}),(function(e,i,a,r){return n("swiper-item",{key:t._$s(100,"f",{forIndex:a,key:i}),staticClass:t._$s("100-"+r,"sc","swiper-item"),attrs:{_i:"100-"+r}},[n("view",[t._v(t._$s("101-"+r,"t0-0",t._s(i+1))+t._$s("101-"+r,"t0-1",t._s(t.swiperList.length)))]),n("view",[t._v(t._$s("102-"+r,"t0-0",t._s(e.matnr)))]),n("view",[t._v(t._$s("103-"+r,"t0-0",t._s(e.maknx)))]),n("view",[t._v(t._$s("104-"+r,"t0-0",t._s(e.specs)))]),n("view",[t._v(t._$s("105-"+r,"t0-0",t._s(e.batch)))]),n("view",[t._v(t._$s("106-"+r,"t0-0",t._s(e.orderNo)))]),n("view",[t._v(t._$s("107-"+r,"t0-0",t._s(e.customer)))]),n("view",[t._v(t._$s("108-"+r,"t0-0",t._s(e.count)))])])})),0)])])])],1)])])]),n("uni-transition",{attrs:{duration:t.duration,"mode-class":t.errorInfoMode,show:t.errorInfoViewShow,_i:109}},[n("view",{staticClass:t._$s(110,"sc","error-info-view"),attrs:{_i:110}},[n("view",{staticClass:t._$s(111,"sc","head"),attrs:{_i:111}},[n("text",[t._v(t._$s(112,"t0-0",t._s(t.infoText.title)))])]),n("view",{staticClass:t._$s(113,"sc","time-tools"),attrs:{_i:113}},[t._v(t._$s(113,"t0-0",t._s(t.calendar)))]),n("view",{staticClass:t._$s(114,"sc","button-left"),attrs:{_i:114}}),n("view",{staticClass:t._$s(115,"sc","button-right"),attrs:{_i:115}}),n("view",{staticClass:t._$s(116,"sc","info-main"),attrs:{_i:116}},[n("view",{staticClass:t._$s(117,"sc","info-box"),attrs:{_i:117}},[n("y-box",{attrs:{_i:118}},[n("view",{staticClass:t._$s(119,"sc","info-box-text"),attrs:{_i:119}},[n("view",{staticClass:t._$s(120,"sc","flex-col info-box-text-item"),attrs:{_i:120}},[t._v(t._$s(120,"t0-0",t._s(t.infoText.error)))])])])],1)])])]),n("view",{directives:[{name:"show",rawName:"v-show",value:t._$s(121,"v-show",t.ejectShow),expression:"_$s(121,'v-show',ejectShow)"}],staticClass:t._$s(121,"sc","eject-mask"),attrs:{_i:121}},[n("view",{staticClass:t._$s(122,"sc","eject"),attrs:{_i:122}},[n("view",{staticClass:t._$s(123,"sc","eject-title"),attrs:{_i:123}}),n("scroll-view",{staticClass:t._$s(124,"sc","eject-input"),attrs:{_i:124}},[n("view",{staticClass:t._$s(125,"sc","item"),attrs:{_i:125}},[n("view",{staticClass:t._$s(126,"sc","desc"),attrs:{_i:126}}),n("view",{staticClass:t._$s(127,"sc","input"),attrs:{_i:127}},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.baseIP,expression:"baseIP"}],attrs:{_i:128},domProps:{value:t._$s(128,"v-model",t.baseIP)},on:{input:function(e){e.target.composing||(t.baseIP=e.target.value)}}})])]),n("view",{staticClass:t._$s(129,"sc","item"),attrs:{_i:129}},[n("view",{staticClass:t._$s(130,"sc","desc"),attrs:{_i:130}}),n("view",{staticClass:t._$s(131,"sc","input"),attrs:{_i:131}},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.basePort,expression:"basePort"}],attrs:{_i:132},domProps:{value:t._$s(132,"v-model",t.basePort)},on:{input:function(e){e.target.composing||(t.basePort=e.target.value)}}})])]),n("view",{staticClass:t._$s(133,"sc","item"),attrs:{_i:133}},[n("view",{staticClass:t._$s(134,"sc","desc"),attrs:{_i:134}}),n("view",{staticClass:t._$s(135,"sc","input"),attrs:{_i:135}},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.baseUrl,expression:"baseUrl"}],attrs:{_i:136},domProps:{value:t._$s(136,"v-model",t.baseUrl)},on:{input:function(e){e.target.composing||(t.baseUrl=e.target.value)}}})])]),n("view",{staticClass:t._$s(137,"sc","item"),attrs:{_i:137}},[n("view",{staticClass:t._$s(138,"sc","desc"),attrs:{_i:138}}),n("view",{staticClass:t._$s(139,"sc","input"),attrs:{_i:139}},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.wmsPort,expression:"wmsPort"}],attrs:{_i:140},domProps:{value:t._$s(140,"v-model",t.wmsPort)},on:{input:function(e){e.target.composing||(t.wmsPort=e.target.value)}}})])]),n("view",{staticClass:t._$s(141,"sc","item"),attrs:{_i:141}},[n("view",{staticClass:t._$s(142,"sc","desc"),attrs:{_i:142}}),n("view",{staticClass:t._$s(143,"sc","input"),attrs:{_i:143}},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.wmsUrl,expression:"wmsUrl"}],attrs:{_i:144},domProps:{value:t._$s(144,"v-model",t.wmsUrl)},on:{input:function(e){e.target.composing||(t.wmsUrl=e.target.value)}}})])]),n("view",{staticClass:t._$s(145,"sc","item"),attrs:{_i:145}},[n("view",{staticClass:t._$s(146,"sc","desc"),attrs:{_i:146}}),n("view",{staticClass:t._$s(147,"sc","input"),attrs:{_i:147}},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.baseLedId,expression:"baseLedId"}],attrs:{_i:148},domProps:{value:t._$s(148,"v-model",t.baseLedId)},on:{input:function(e){e.target.composing||(t.baseLedId=e.target.value)}}})])])]),n("view",{staticClass:t._$s(149,"sc","eject-button"),attrs:{_i:149}},[n("view",{staticClass:t._$s(150,"sc","button-item"),attrs:{_i:150},on:{click:t.ejectClose}}),n("view",{staticClass:t._$s(151,"sc","button-item"),attrs:{_i:151},on:{click:t.ejectConfirm}})])])]),n("view",[n("uni-popup",{ref:"upVersion",attrs:{type:"dialog",_i:153}},[n("uni-popup-dialog",{attrs:{type:t.msgType,title:"\u901a\u77e5",content:t.dialogContent,_i:154},on:{confirm:t.dialogConfirm,close:t.dialogClose}})],1)],1),n("view",{directives:[{name:"show",rawName:"v-show",value:t._$s(155,"v-show",t.timeOut),expression:"_$s(155,'v-show',timeOut)"}],attrs:{_i:155}},[t._v(t._$s(155,"t0-0",t._s(t.times)))])],1)},r=[]},"925e":function(t,e,i){"use strict";i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return r})),i.d(e,"a",(function(){return n}));var n={qiunDataCharts:i("8325").default,uniPopup:i("a640").default,uniPopupDialog:i("ed43").default},a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("view",{staticClass:t._$s(0,"sc","container"),attrs:{_i:0}},[n("view",{staticClass:t._$s(1,"sc","floor-screen"),class:t._$s(1,"c",t.floorMove),attrs:{_i:1}},[n("view",{staticClass:t._$s(2,"sc","head"),attrs:{_i:2}},[n("text",{attrs:{_i:3},on:{click:function(e){return t.port()}}}),n("view",{staticClass:t._$s(4,"sc","time-tools"),attrs:{_i:4}},[t._v(t._$s(4,"t0-0",t._s(t.year))+t._$s(4,"t0-1",t._s(t.month))+t._$s(4,"t0-2",t._s(t.day))+t._$s(4,"t0-3",t._s(t.hours))+t._$s(4,"t0-4",t._s(t.minutes))+t._$s(4,"t0-5",t._s(t.seconds))+t._$s(4,"t0-6",t._s(t.week)))]),n("view",{staticClass:t._$s(5,"sc","button-left"),attrs:{_i:5},on:{click:function(e){return t.ejected()}}}),n("view",{staticClass:t._$s(6,"sc","button-right"),attrs:{_i:6},on:{click:function(e){return t.ledId()}}})]),n("view",{staticClass:t._$s(7,"sc","main"),attrs:{_i:7}},[n("view",{staticClass:t._$s(8,"sc","main-sides"),attrs:{_i:8}},[n("view",{staticClass:t._$s(9,"sc","box"),attrs:{_i:9}},[n("view",{staticClass:t._$s(10,"sc","box-border box-border1"),attrs:{_i:10}}),n("view",{staticClass:t._$s(11,"sc","box-border box-border2"),attrs:{_i:11}}),n("view",{staticClass:t._$s(12,"sc","box-border box-border3"),attrs:{_i:12}}),n("view",{staticClass:t._$s(13,"sc","box-border box-border4"),attrs:{_i:13}}),n("view",{directives:[{name:"show",rawName:"v-show",value:t._$s(14,"v-show",!t.errorShow),expression:"_$s(14,'v-show',!errorShow)"}],attrs:{_i:14}},[n("view",{class:t._$s(15,"c",t.width),attrs:{_i:15}},[n("view",{staticClass:t._$s(16,"sc","box-items"),attrs:{_i:16}},[t._v(t._$s(16,"t0-0",t._s(t.title)))]),n("view",{staticClass:t._$s(17,"sc","box-items"),attrs:{_i:17}},[t._v(t._$s(17,"t0-0",t._s(t.staNo)))]),n("view",{staticClass:t._$s(18,"sc","box-items"),attrs:{_i:18}},[t._v(t._$s(18,"t0-0",t._s(t.maknx)))]),n("view",{staticClass:t._$s(19,"sc","box-items"),attrs:{_i:19}},[t._v(t._$s(19,"t0-0",t._s(t.specs)))]),n("view",{staticClass:t._$s(20,"sc","box-items"),attrs:{_i:20}},[t._v(t._$s(20,"t0-0",t._s(t.count)))])]),n("view",{directives:[{name:"show",rawName:"v-show",value:t._$s(21,"v-show",t.orderShow),expression:"_$s(21,'v-show',orderShow)"}],attrs:{_i:21}},[n("view",{staticClass:t._$s(22,"sc","box-items"),attrs:{_i:22}},[t._v(t._$s(22,"t0-0",t._s(t.orderNo)))]),n("view",{staticClass:t._$s(23,"sc","box-items"),attrs:{_i:23}},[t._v(t._$s(23,"t0-0",t._s(t.doneOfTray)))]),n("view",{staticClass:t._$s(24,"sc","box-items"),attrs:{_i:24}},[t._v(t._$s(24,"t0-0",t._s(t.totalOfTray)))]),n("view",{staticClass:t._$s(25,"sc","box-items"),attrs:{_i:25}},[t._v(t._$s(25,"t0-0",t._s(t.doneOfUnit)))]),n("view",{staticClass:t._$s(26,"sc","box-items"),attrs:{_i:26}},[t._v(t._$s(26,"t0-0",t._s(t.totalOfUnit)))])])]),n("view",{directives:[{name:"show",rawName:"v-show",value:t._$s(27,"v-show",t.errorShow),expression:"_$s(27,'v-show',errorShow)"}],attrs:{_i:27}},[n("view",[t._v(t._$s(28,"t0-0",t._s(t.errorMsg)))])])])])])]),n("view",{staticClass:t._$s(29,"sc","top-screen"),class:t._$s(29,"c",t.topMove),attrs:{_i:29}},[n("view",{staticClass:t._$s(30,"sc","head"),attrs:{_i:30}},[n("text",{attrs:{_i:31},on:{click:function(e){return t.port()}}}),n("view",{staticClass:t._$s(32,"sc","time-tools"),attrs:{_i:32}},[t._v(t._$s(32,"t0-0",t._s(t.year))+t._$s(32,"t0-1",t._s(t.month))+t._$s(32,"t0-2",t._s(t.day))+t._$s(32,"t0-3",t._s(t.hours))+t._$s(32,"t0-4",t._s(t.minutes))+t._$s(32,"t0-5",t._s(t.seconds))+t._$s(32,"t0-6",t._s(t.week)))]),n("view",{staticClass:t._$s(33,"sc","button-left"),attrs:{_i:33},on:{click:function(e){return t.ejected()}}}),n("view",{staticClass:t._$s(34,"sc","button-right"),attrs:{_i:34},on:{click:function(e){return t.ledId()}}})]),n("view",{staticClass:t._$s(35,"sc","main"),attrs:{_i:35}},[n("view",{staticClass:t._$s(36,"sc","main-sides"),attrs:{_i:36}},[n("view",{staticClass:t._$s(37,"sc","box box-lg"),attrs:{_i:37}},[n("view",{staticClass:t._$s(38,"sc","box-border box-border1"),attrs:{_i:38}}),n("view",{staticClass:t._$s(39,"sc","box-border box-border2"),attrs:{_i:39}}),n("view",{staticClass:t._$s(40,"sc","box-border box-border3"),attrs:{_i:40}}),n("view",{staticClass:t._$s(41,"sc","box-border box-border4"),attrs:{_i:41}}),n("view",{staticClass:t._$s(42,"sc","box-item introduce"),attrs:{_i:42}},[n("h3"),n("p",{staticClass:t._$s(44,"sc","english"),attrs:{_i:44}}),n("p",{staticClass:t._$s(45,"sc","introduce-content"),attrs:{_i:45}})]),n("view",{staticClass:t._$s(46,"sc","box-item charge-info"),attrs:{_i:46}},[n("h3"),n("p",{staticClass:t._$s(48,"sc","english"),attrs:{_i:48}}),n("view",{staticClass:t._$s(49,"sc","charge-info-item"),attrs:{_i:49}},[n("image",{attrs:{src:t._$s(50,"a-src",i("20f7")),_i:50}}),n("view",[n("text",{staticClass:t._$s(52,"sc","count"),attrs:{_i:52}},[t._v(t._$s(52,"t0-0",t._s(t.xDistance)))]),n("text",{staticClass:t._$s(53,"sc","unit"),attrs:{_i:53}})]),n("view")]),n("view",{staticClass:t._$s(55,"sc","charge-info-item"),attrs:{_i:55}},[n("image",{attrs:{src:t._$s(56,"a-src",i("7584")),_i:56}}),n("view",[n("text",{staticClass:t._$s(58,"sc","count"),attrs:{_i:58}},[t._v(t._$s(58,"t0-0",t._s(t.yDistance)))]),n("text",{staticClass:t._$s(59,"sc","unit"),attrs:{_i:59}})]),n("view")]),n("view",{staticClass:t._$s(61,"sc","charge-info-item"),attrs:{_i:61}},[n("image",{attrs:{src:t._$s(62,"a-src",i("6808")),_i:62}}),n("view",[n("text",{staticClass:t._$s(64,"sc","count"),attrs:{_i:64}},[t._v(t._$s(64,"t0-0",t._s(t.xDuration)))]),n("text",{staticClass:t._$s(65,"sc","unit"),attrs:{_i:65}})]),n("view")]),n("view",{staticClass:t._$s(67,"sc","charge-info-item"),attrs:{_i:67}},[n("image",{attrs:{src:t._$s(68,"a-src",i("a4cb")),_i:68}}),n("view",[n("text",{staticClass:t._$s(70,"sc","count"),attrs:{_i:70}},[t._v(t._$s(70,"t0-0",t._s(t.yDuration)))]),n("text",{staticClass:t._$s(71,"sc","unit"),attrs:{_i:71}})]),n("view")])]),n("view",{staticClass:t._$s(73,"sc","box-item use-info"),attrs:{_i:73}},[n("view",{staticClass:t._$s(74,"sc","use-left"),attrs:{_i:74}},[n("h3"),n("p",{staticClass:t._$s(76,"sc","english"),attrs:{_i:76}})]),n("view",{staticClass:t._$s(77,"sc","use-right"),attrs:{_i:77}},[n("h3",[t._v(t._$s(78,"t0-0",t._s(t.usedPr)))]),n("p",{staticClass:t._$s(79,"sc","english"),attrs:{_i:79}})]),n("view",{staticClass:t._$s(80,"sc","use-main"),attrs:{_i:80}},[n("view",{staticClass:t._$s(81,"sc","left"),attrs:{_i:81}},[n("view",{staticClass:t._$s(82,"sc","progressBar"),attrs:{_i:82}},[n("view",{staticClass:t._$s(83,"sc","progress"),style:t._$s(83,"s","width:"+t.usedPr+"%"),attrs:{_i:83}})])]),n("view",{staticClass:t._$s(84,"sc","right"),attrs:{_i:84}},[t._v(t._$s(84,"t0-0",t._s(t.used)))])])])])]),n("view",{staticClass:t._$s(85,"sc","main-sides"),attrs:{_i:85}},[n("view",{staticClass:t._$s(86,"sc","box box-tp"),attrs:{_i:86}},[n("view",{staticClass:t._$s(87,"sc","box-border box-border1"),attrs:{_i:87}}),n("view",{staticClass:t._$s(88,"sc","box-border box-border2"),attrs:{_i:88}}),n("view",{staticClass:t._$s(89,"sc","box-border box-border3"),attrs:{_i:89}}),n("view",{staticClass:t._$s(90,"sc","box-border box-border4"),attrs:{_i:90}}),n("view",{staticClass:t._$s(91,"sc","box-item right-item"),attrs:{_i:91}},[n("view",{staticClass:t._$s(92,"sc","sub-left"),attrs:{_i:92}},[n("h3"),n("p",{staticClass:t._$s(94,"sc","english"),attrs:{_i:94}})]),n("view",{staticClass:t._$s(95,"sc","sub-right"),attrs:{_i:95}},[n("h3"),n("p",{staticClass:t._$s(97,"sc","english"),attrs:{_i:97}})]),n("view",{staticClass:t._$s(98,"sc","sub-main"),attrs:{_i:98}},[n("view",{staticClass:t._$s(99,"sc","charts-box"),attrs:{_i:99}},[n("qiun-data-charts",{attrs:{type:"line",chartData:t.chartsDataLine1,echartsH5:!0,echartsApp:!0,_i:100}})],1)])])]),n("view",{staticClass:t._$s(101,"sc","box box-md"),attrs:{_i:101}},[n("view",{staticClass:t._$s(102,"sc","box-border box-border1"),attrs:{_i:102}}),n("view",{staticClass:t._$s(103,"sc","box-border box-border2"),attrs:{_i:103}}),n("view",{staticClass:t._$s(104,"sc","box-border box-border3"),attrs:{_i:104}}),n("view",{staticClass:t._$s(105,"sc","box-border box-border4"),attrs:{_i:105}}),n("view",{staticClass:t._$s(106,"sc","box-item right-item"),attrs:{_i:106}},[n("view",{staticClass:t._$s(107,"sc","sub-left"),attrs:{_i:107}},[n("h3"),n("p",{staticClass:t._$s(109,"sc","english"),attrs:{_i:109}})]),n("view",{staticClass:t._$s(110,"sc","sub-right"),attrs:{_i:110}},[n("h3"),n("p",{staticClass:t._$s(112,"sc","english"),attrs:{_i:112}})]),n("view",{staticClass:t._$s(113,"sc","sub-main"),attrs:{_i:113}},[n("view",{staticClass:t._$s(114,"sc","charts-box ring"),attrs:{_i:114}},[n("qiun-data-charts",{attrs:{type:"ring",opts:{legend:{position:"bottom"}},eopts:t.ringOpts,chartData:t.chartsDataPie2,echartsH5:!0,echartsApp:!0,_i:115}})],1),n("view",{staticClass:t._$s(116,"sc","sub-main-right"),attrs:{_i:116}},[n("view",{staticClass:t._$s(117,"sc","sub-info"),attrs:{_i:117}},[n("image",{attrs:{src:t._$s(118,"a-src",i("8d12")),_i:118}}),n("text"),n("text",[t._v(t._$s(120,"t0-0",t._s(t.stockCount)))])]),n("view",{staticClass:t._$s(121,"sc","sub-info"),attrs:{_i:121}},[n("image",{attrs:{src:t._$s(122,"a-src",i("1b21")),_i:122}}),n("text"),n("text",[t._v(t._$s(124,"t0-0",t._s(t.emptyCount)))])]),n("view",{staticClass:t._$s(125,"sc","sub-info"),attrs:{_i:125}},[n("image",{attrs:{src:t._$s(126,"a-src",i("0c2e")),_i:126}}),n("text"),n("text",[t._v(t._$s(128,"t0-0",t._s(t.noneCount)))])])])])])]),n("view",{staticClass:t._$s(129,"sc","box box-bt"),attrs:{_i:129}},[n("view",{staticClass:t._$s(130,"sc","box-border box-border1"),attrs:{_i:130}}),n("view",{staticClass:t._$s(131,"sc","box-border box-border2"),attrs:{_i:131}}),n("view",{staticClass:t._$s(132,"sc","box-border box-border3"),attrs:{_i:132}}),n("view",{staticClass:t._$s(133,"sc","box-border box-border4"),attrs:{_i:133}}),n("view",{attrs:{_i:134},on:{click:function(e){return t.crn()}}})])])])]),n("view",[n("uni-popup",{ref:"url",attrs:{type:"dialog",_i:136}},[n("uni-popup-dialog",{ref:"inputClose",attrs:{mode:"input",title:"\u914d\u7f6eurl",value:t.baseIP,placeholder:"\u793a\u4f8b:192.168.1.1",_i:137},on:{confirm:t.baseUrlConfirm}})],1)],1),n("view",[n("uni-popup",{ref:"ledId",attrs:{type:"dialog",_i:139}},[n("uni-popup-dialog",{ref:"inputClose",attrs:{mode:"input",title:"\u914d\u7f6eledId",value:t.baseLedId,placeholder:"\u793a\u4f8b:188",_i:140},on:{confirm:t.ledIdConfirm}})],1)],1),n("view",[n("uni-popup",{ref:"port",attrs:{type:"dialog",_i:142}},[n("uni-popup-dialog",{ref:"inputClose",attrs:{mode:"input",title:"\u914d\u7f6e\u7aef\u53e3\u53f7",value:t.basePort,placeholder:"\u793a\u4f8b:9090",_i:143},on:{confirm:t.portConfirm}})],1)],1),n("view",[n("uni-popup",{ref:"crnId",attrs:{type:"dialog",_i:145}},[n("uni-popup-dialog",{ref:"inputClose",attrs:{mode:"input",title:"\u914d\u7f6e\u5806\u579b\u673a",value:t.crnId,placeholder:"\u793a\u4f8b:1",_i:146},on:{confirm:t.crnConfirm}})],1)],1),n("view",{directives:[{name:"show",rawName:"v-show",value:t._$s(147,"v-show",t.ejectShow),expression:"_$s(147,'v-show',ejectShow)"}],staticClass:t._$s(147,"sc","eject-mask"),attrs:{_i:147}},[n("view",{staticClass:t._$s(148,"sc","eject"),attrs:{_i:148}},[n("view",{staticClass:t._$s(149,"sc","eject-title"),attrs:{_i:149}}),n("view",{staticClass:t._$s(150,"sc","eject-input"),attrs:{_i:150}},[n("view",{staticClass:t._$s(151,"sc","item"),attrs:{_i:151}},[n("view",{staticClass:t._$s(152,"sc","desc"),attrs:{_i:152}}),n("view",{staticClass:t._$s(153,"sc","input"),attrs:{_i:153}},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.baseIP,expression:"baseIP"}],attrs:{_i:154},domProps:{value:t._$s(154,"v-model",t.baseIP)},on:{input:function(e){e.target.composing||(t.baseIP=e.target.value)}}})])]),n("view",{staticClass:t._$s(155,"sc","item"),attrs:{_i:155}},[n("view",{staticClass:t._$s(156,"sc","desc"),attrs:{_i:156}}),n("view",{staticClass:t._$s(157,"sc","input"),attrs:{_i:157}},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.basePort,expression:"basePort"}],attrs:{_i:158},domProps:{value:t._$s(158,"v-model",t.basePort)},on:{input:function(e){e.target.composing||(t.basePort=e.target.value)}}})])]),n("view",{staticClass:t._$s(159,"sc","item"),attrs:{_i:159}},[n("view",{staticClass:t._$s(160,"sc","desc"),attrs:{_i:160}}),n("view",{staticClass:t._$s(161,"sc","input"),attrs:{_i:161}},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.baseLedId,expression:"baseLedId"}],attrs:{_i:162},domProps:{value:t._$s(162,"v-model",t.baseLedId)},on:{input:function(e){e.target.composing||(t.baseLedId=e.target.value)}}})])]),n("view",{staticClass:t._$s(163,"sc","item"),attrs:{_i:163}},[n("view",{staticClass:t._$s(164,"sc","desc"),attrs:{_i:164}}),n("view",{staticClass:t._$s(165,"sc","input"),attrs:{_i:165}},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.baseCrnId,expression:"baseCrnId"}],attrs:{_i:166},domProps:{value:t._$s(166,"v-model",t.baseCrnId)},on:{input:function(e){e.target.composing||(t.baseCrnId=e.target.value)}}})])])]),n("view",{staticClass:t._$s(167,"sc","eject-button"),attrs:{_i:167}},[n("view",{staticClass:t._$s(168,"sc","button-item"),attrs:{_i:168},on:{click:t.ejectClose}}),n("view",{staticClass:t._$s(169,"sc","button-item"),attrs:{_i:169},on:{click:t.ejectConfirm}})])])])])},r=[]},"931d":function(t,e,i){var n=i("7647"),a=i("011a");t.exports=function(t,e,i){if(a())return Reflect.construct.apply(null,arguments);var r=[null];r.push.apply(r,e);var o=new(t.bind.apply(t,r));return i&&n(o,i.prototype),o},t.exports.__esModule=!0,t.exports["default"]=t.exports},9399:function(t,e,i){"use strict";i.r(e);var n=i("858a"),a=i.n(n);for(var r in n)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(r);e["default"]=a.a},"951c":function(t,e){t.exports=Vue},"96bc":function(t,e,i){if("undefined"===typeof Promise||Promise.prototype.finally||(Promise.prototype.finally=function(t){var e=this.constructor;return this.then((function(i){return e.resolve(t()).then((function(){return i}))}),(function(i){return e.resolve(t()).then((function(){throw i}))}))}),"undefined"!==typeof uni&&uni&&uni.requireGlobal){var n=uni.requireGlobal();ArrayBuffer=n.ArrayBuffer,Int8Array=n.Int8Array,Uint8Array=n.Uint8Array,Uint8ClampedArray=n.Uint8ClampedArray,Int16Array=n.Int16Array,Uint16Array=n.Uint16Array,Int32Array=n.Int32Array,Uint32Array=n.Uint32Array,Float32Array=n.Float32Array,Float64Array=n.Float64Array,BigInt64Array=n.BigInt64Array,BigUint64Array=n.BigUint64Array}uni.restoreGlobal&&uni.restoreGlobal(weex,plus,setTimeout,clearTimeout,setInterval,clearInterval),__definePage("pages/home/home",(function(){return Vue.extend(i("3b29").default)})),__definePage("pages/test/test",(function(){return Vue.extend(i("28cf").default)})),__definePage("pages/index",(function(){return Vue.extend(i("5e2e").default)})),__definePage("pages/index/index",(function(){return Vue.extend(i("e4d6").default)})),__definePage("pages/index/monitor",(function(){return Vue.extend(i("bfff").default)})),__definePage("pages/test/test",(function(){return Vue.extend(i("28cf").default)}))},"96e5":function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return a})),i.d(e,"a",(function(){}));var n=function(){var t=this.$createElement,e=this._self._c||t;return e("view",{staticClass:this._$s(0,"sc","container loading5"),attrs:{_i:0}},[e("view",{staticClass:this._$s(1,"sc","shape shape1"),attrs:{_i:1}}),e("view",{staticClass:this._$s(2,"sc","shape shape2"),attrs:{_i:2}}),e("view",{staticClass:this._$s(3,"sc","shape shape3"),attrs:{_i:3}}),e("view",{staticClass:this._$s(4,"sc","shape shape4"),attrs:{_i:4}})])},a=[]},"997e":function(t,e,i){"use strict";i.r(e);var n=i("4c8c"),a=i("8b6b");for(var r in a)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(r);var o=i("828b"),s=Object(o["a"])(a["default"],n["b"],n["c"],!1,null,null,null,!1,n["a"],void 0);e["default"]=s.exports},"9e36":function(t,e,i){"use strict";(function(t){var n=i("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=n(i("af34")),r=n(i("3b2d")),o=n(i("67ad")),s=n(i("0bdb")),c=function(){function e(t){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};(0,o.default)(this,e),this.url=t,this.options=Object.assign({heartbeatInterval:3e4,reconnectInterval:3e3,maxReconnectAttempts:-1,heartbeatMessage:JSON.stringify({to:"heartbeat"}),onMessage:null,onOpen:null,onClose:null,onError:null,onReconnect:null},i),this.socketTask=null,this.isConnected=!1,this.isConnecting=!1,this.reconnectAttempts=0,this.heartbeatTimer=null,this.reconnectTimer=null,this.messageQueue=[],this.isManualClose=!1}return(0,s.default)(e,[{key:"connect",value:function(){var e=this;this.isConnecting||(this.isConnecting=!0,this.socketTask=uni.connectSocket({url:this.url,header:this.options.header||{},protocols:this.options.protocols||[],success:function(){t("log","WebSocket\u8fde\u63a5\u521b\u5efa\u6210\u529f"," at pages/home/uniWebSocket.js:60")},fail:function(i){t("error","WebSocket\u8fde\u63a5\u521b\u5efa\u5931\u8d25",i," at pages/home/uniWebSocket.js:63"),e.reconnect()},complete:function(){e.isConnecting=!1}}),this.socketTask.onOpen((function(i){t("log","WebSocket\u8fde\u63a5\u5df2\u6253\u5f00",i," at pages/home/uniWebSocket.js:73"),e.isConnected=!0,e.reconnectAttempts=0,e.reconnectTimer&&(clearTimeout(e.reconnectTimer),e.reconnectTimer=null),e.startHeartbeat(),e.flushMessageQueue(),"function"===typeof e.options.onOpen&&e.options.onOpen(i)})),this.socketTask.onMessage((function(t){"function"===typeof e.options.onMessage&&e.options.onMessage(t)})),this.socketTask.onError((function(i){t("error","WebSocket\u53d1\u751f\u9519\u8bef",i," at pages/home/uniWebSocket.js:105"),e.isConnected=!1,"function"===typeof e.options.onError&&e.options.onError(i),e.isManualClose||e.reconnect()})),this.socketTask.onClose((function(i){t("log","WebSocket\u8fde\u63a5\u5df2\u5173\u95ed",i," at pages/home/uniWebSocket.js:121"),e.isConnected=!1,e.stopHeartbeat(),"function"===typeof e.options.onClose&&e.options.onClose(i),e.isManualClose||e.reconnect()})))}},{key:"reconnect",value:function(){var e=this;this.isManualClose||-1!==this.options.maxReconnectAttempts&&this.reconnectAttempts>=this.options.maxReconnectAttempts||(this.reconnectTimer&&clearTimeout(this.reconnectTimer),this.reconnectAttempts++,t("log","WebSocket\u5c1d\u8bd5\u7b2c".concat(this.reconnectAttempts,"\u6b21\u91cd\u8fde...")," at pages/home/uniWebSocket.js:160"),this.reconnectTimer=setTimeout((function(){e.connect()}),this.options.reconnectInterval),"function"===typeof this.options.onReconnect&&this.options.onReconnect({attempts:this.reconnectAttempts,maxAttempts:this.options.maxReconnectAttempts}))}},{key:"startHeartbeat",value:function(){var e=this;this.stopHeartbeat(),this.heartbeatTimer=setInterval((function(){e.isConnected&&e.socketTask&&1===e.socketTask.readyState&&(t("log","WebSocket\u53d1\u9001\u5fc3\u8df3"," at pages/home/uniWebSocket.js:186"),e.send(e.options.heartbeatMessage))}),this.options.heartbeatInterval)}},{key:"stopHeartbeat",value:function(){this.heartbeatTimer&&(clearInterval(this.heartbeatTimer),this.heartbeatTimer=null)}},{key:"send",value:function(e){var i=this;return new Promise((function(n,a){"object"===(0,r.default)(e)&&(e=JSON.stringify(e)),i.isConnected&&i.socketTask?i.socketTask.send({data:e,success:function(i){t("log","WebSocket\u6d88\u606f\u53d1\u9001\u6210\u529f",e," at pages/home/uniWebSocket.js:219"),n(i)},fail:function(e){t("error","WebSocket\u6d88\u606f\u53d1\u9001\u5931\u8d25",e," at pages/home/uniWebSocket.js:223"),a(e)}}):(t("log","WebSocket\u8fde\u63a5\u672a\u6253\u5f00\uff0c\u6d88\u606f\u52a0\u5165\u961f\u5217",e," at pages/home/uniWebSocket.js:229"),i.messageQueue.push({data:e,resolve:n,reject:a}),i.isConnected||i.isConnecting||i.connect())}))}},{key:"flushMessageQueue",value:function(){var e=this;if(0!==this.messageQueue.length){t("log","WebSocket\u53d1\u9001\u961f\u5217\u4e2d\u7684".concat(this.messageQueue.length,"\u6761\u6d88\u606f")," at pages/home/uniWebSocket.js:250");var i=(0,a.default)(this.messageQueue);this.messageQueue=[],i.forEach((function(i){e.socketTask.send({data:i.data,success:function(e){t("log","WebSocket\u961f\u5217\u6d88\u606f\u53d1\u9001\u6210\u529f",i.data," at pages/home/uniWebSocket.js:261"),i.resolve(e)},fail:function(e){t("error","WebSocket\u961f\u5217\u6d88\u606f\u53d1\u9001\u5931\u8d25",e," at pages/home/uniWebSocket.js:265"),i.reject(e)}})}))}}},{key:"close",value:function(){this.isManualClose=!0,this.stopHeartbeat(),this.reconnectTimer&&(clearTimeout(this.reconnectTimer),this.reconnectTimer=null),this.socketTask&&this.isConnected&&this.socketTask.close({code:1e3,reason:"Manual close",success:function(){t("log","WebSocket\u8fde\u63a5\u5df2\u624b\u52a8\u5173\u95ed"," at pages/home/uniWebSocket.js:293")},fail:function(e){t("error","WebSocket\u5173\u95ed\u5931\u8d25",e," at pages/home/uniWebSocket.js:296")}})}},{key:"reset",value:function(){this.isManualClose=!1,this.reconnectAttempts=0,this.isConnected||this.connect()}}]),e}(),l=c;e.default=l}).call(this,i("f3b9")["default"])},"9eba":function(t,e,i){"use strict";i.r(e);var n=i("dffb"),a=i("b854");for(var r in a)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(r);var o=i("828b"),s=Object(o["a"])(a["default"],n["b"],n["c"],!1,null,null,null,!1,n["a"],void 0);e["default"]=s.exports},"9fc1":function(t,e,i){var n=i("3b2d")["default"];function a(){"use strict";
+/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */t.exports=a=function(){return i},t.exports.__esModule=!0,t.exports["default"]=t.exports;var e,i={},r=Object.prototype,o=r.hasOwnProperty,s=Object.defineProperty||function(t,e,i){t[e]=i.value},c="function"==typeof Symbol?Symbol:{},l=c.iterator||"@@iterator",u=c.asyncIterator||"@@asyncIterator",h=c.toStringTag||"@@toStringTag";function d(t,e,i){return Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{d({},"")}catch(e){d=function(t,e,i){return t[e]=i}}function f(t,e,i,n){var a=e&&e.prototype instanceof y?e:y,r=Object.create(a.prototype),o=new I(n||[]);return s(r,"_invoke",{value:A(t,i,o)}),r}function p(t,e,i){try{return{type:"normal",arg:t.call(e,i)}}catch(t){return{type:"throw",arg:t}}}i.wrap=f;var g="suspendedStart",v="executing",m="completed",x={};function y(){}function _(){}function b(){}var w={};d(w,l,(function(){return this}));var S=Object.getPrototypeOf,k=S&&S(S(M([])));k&&k!==r&&o.call(k,l)&&(w=k);var C=b.prototype=y.prototype=Object.create(w);function T(t){["next","throw","return"].forEach((function(e){d(t,e,(function(t){return this._invoke(e,t)}))}))}function P(t,e){function i(a,r,s,c){var l=p(t[a],t,r);if("throw"!==l.type){var u=l.arg,h=u.value;return h&&"object"==n(h)&&o.call(h,"__await")?e.resolve(h.__await).then((function(t){i("next",t,s,c)}),(function(t){i("throw",t,s,c)})):e.resolve(h).then((function(t){u.value=t,s(u)}),(function(t){return i("throw",t,s,c)}))}c(l.arg)}var a;s(this,"_invoke",{value:function(t,n){function r(){return new e((function(e,a){i(t,n,e,a)}))}return a=a?a.then(r,r):r()}})}function A(t,i,n){var a=g;return function(r,o){if(a===v)throw Error("Generator is already running");if(a===m){if("throw"===r)throw o;return{value:e,done:!0}}for(n.method=r,n.arg=o;;){var s=n.delegate;if(s){var c=O(s,n);if(c){if(c===x)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(a===g)throw a=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);a=v;var l=p(t,i,n);if("normal"===l.type){if(a=n.done?m:"suspendedYield",l.arg===x)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(a=m,n.method="throw",n.arg=l.arg)}}}function O(t,i){var n=i.method,a=t.iterator[n];if(a===e)return i.delegate=null,"throw"===n&&t.iterator["return"]&&(i.method="return",i.arg=e,O(t,i),"throw"===i.method)||"return"!==n&&(i.method="throw",i.arg=new TypeError("The iterator does not provide a '"+n+"' method")),x;var r=p(a,t.iterator,i.arg);if("throw"===r.type)return i.method="throw",i.arg=r.arg,i.delegate=null,x;var o=r.arg;return o?o.done?(i[t.resultName]=o.value,i.next=t.nextLoc,"return"!==i.method&&(i.method="next",i.arg=e),i.delegate=null,x):o:(i.method="throw",i.arg=new TypeError("iterator result is not an object"),i.delegate=null,x)}function L(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function D(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function I(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(L,this),this.reset(!0)}function M(t){if(t||""===t){var i=t[l];if(i)return i.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var a=-1,r=function i(){for(;++a<t.length;)if(o.call(t,a))return i.value=t[a],i.done=!1,i;return i.value=e,i.done=!0,i};return r.next=r}}throw new TypeError(n(t)+" is not iterable")}return _.prototype=b,s(C,"constructor",{value:b,configurable:!0}),s(b,"constructor",{value:_,configurable:!0}),_.displayName=d(b,h,"GeneratorFunction"),i.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===_||"GeneratorFunction"===(e.displayName||e.name))},i.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,b):(t.__proto__=b,d(t,h,"GeneratorFunction")),t.prototype=Object.create(C),t},i.awrap=function(t){return{__await:t}},T(P.prototype),d(P.prototype,u,(function(){return this})),i.AsyncIterator=P,i.async=function(t,e,n,a,r){void 0===r&&(r=Promise);var o=new P(f(t,e,n,a),r);return i.isGeneratorFunction(e)?o:o.next().then((function(t){return t.done?t.value:o.next()}))},T(C),d(C,h,"Generator"),d(C,l,(function(){return this})),d(C,"toString",(function(){return"[object Generator]"})),i.keys=function(t){var e=Object(t),i=[];for(var n in e)i.push(n);return i.reverse(),function t(){for(;i.length;){var n=i.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},i.values=M,I.prototype={constructor:I,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(D),!t)for(var i in this)"t"===i.charAt(0)&&o.call(this,i)&&!isNaN(+i.slice(1))&&(this[i]=e)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var i=this;function n(n,a){return s.type="throw",s.arg=t,i.next=n,a&&(i.method="next",i.arg=e),!!a}for(var a=this.tryEntries.length-1;a>=0;--a){var r=this.tryEntries[a],s=r.completion;if("root"===r.tryLoc)return n("end");if(r.tryLoc<=this.prev){var c=o.call(r,"catchLoc"),l=o.call(r,"finallyLoc");if(c&&l){if(this.prev<r.catchLoc)return n(r.catchLoc,!0);if(this.prev<r.finallyLoc)return n(r.finallyLoc)}else if(c){if(this.prev<r.catchLoc)return n(r.catchLoc,!0)}else{if(!l)throw Error("try statement without catch or finally");if(this.prev<r.finallyLoc)return n(r.finallyLoc)}}}},abrupt:function(t,e){for(var i=this.tryEntries.length-1;i>=0;--i){var n=this.tryEntries[i];if(n.tryLoc<=this.prev&&o.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var a=n;break}}a&&("break"===t||"continue"===t)&&a.tryLoc<=e&&e<=a.finallyLoc&&(a=null);var r=a?a.completion:{};return r.type=t,r.arg=e,a?(this.method="next",this.next=a.finallyLoc,x):this.complete(r)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),x},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var i=this.tryEntries[e];if(i.finallyLoc===t)return this.complete(i.completion,i.afterLoc),D(i),x}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var i=this.tryEntries[e];if(i.tryLoc===t){var n=i.completion;if("throw"===n.type){var a=n.arg;D(i)}return a}}throw Error("illegal catch attempt")},delegateYield:function(t,i,n){return this.delegate={iterator:M(t),resultName:i,nextLoc:n},"next"===this.method&&(this.arg=e),x}},i}t.exports=a,t.exports.__esModule=!0,t.exports["default"]=t.exports},a4cb:function(t,e,i){t.exports=i.p+"static/d1.png"},a640:function(t,e,i){"use strict";i.r(e);var n=i("4969"),a=i("7c9c");for(var r in a)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(r);var o=i("828b"),s=Object(o["a"])(a["default"],n["b"],n["c"],!1,null,null,null,!1,n["a"],void 0);e["default"]=s.exports},a708:function(t,e,i){var n=i("6454");t.exports=function(t){if(Array.isArray(t))return n(t)},t.exports.__esModule=!0,t.exports["default"]=t.exports},a9ce:function(t,e,i){"use strict";i.r(e);var n=i("bc8e"),a=i.n(n);for(var r in n)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(r);e["default"]=a.a},af34:function(t,e,i){var n=i("a708"),a=i("b893"),r=i("6382"),o=i("9008");t.exports=function(t){return n(t)||a(t)||r(t)||o()},t.exports.__esModule=!0,t.exports["default"]=t.exports},b4d2:function(t,e){function i(e){return t.exports=i=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},t.exports.__esModule=!0,t.exports["default"]=t.exports,i(e)}t.exports=i,t.exports.__esModule=!0,t.exports["default"]=t.exports},b854:function(t,e,i){"use strict";i.r(e);var n=i("c7a2"),a=i.n(n);for(var r in n)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(r);e["default"]=a.a},b893:function(t,e){t.exports=function(t){if("undefined"!==typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)},t.exports.__esModule=!0,t.exports["default"]=t.exports},b8d4:function(t,e,i){"use strict";i.r(e);var n=i("cad3"),a=i.n(n);for(var r in n)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(r);e["default"]=a.a},b9a5:function(t,e,i){"use strict";i.r(e);var n=i("4c4f"),a=i.n(n);for(var r in n)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(r);e["default"]=a.a},bc8e:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={name:"loading2",data:function(){return{}}}},bf04:function(t){t.exports=JSON.parse('{"localdata":[{"value":35,"text":"2016","group":"\u76ee\u6807\u503c"},{"value":18,"text":"2016","group":"\u5b8c\u6210\u91cf"},{"value":36,"text":"2017","group":"\u76ee\u6807\u503c"},{"value":27,"text":"2017","group":"\u5b8c\u6210\u91cf"},{"value":31,"text":"2018","group":"\u76ee\u6807\u503c"},{"value":21,"text":"2018","group":"\u5b8c\u6210\u91cf"},{"value":33,"text":"2019","group":"\u76ee\u6807\u503c"},{"value":24,"text":"2019","group":"\u5b8c\u6210\u91cf"},{"value":13,"text":"2020","group":"\u76ee\u6807\u503c"},{"value":6,"text":"2020","group":"\u5b8c\u6210\u91cf"},{"value":34,"text":"2021","group":"\u76ee\u6807\u503c"},{"value":28,"text":"2021","group":"\u5b8c\u6210\u91cf"}],"localdataB":[{"value":50,"text":"\u4e00\u73ed"},{"value":30,"text":"\u4e8c\u73ed"},{"value":20,"text":"\u4e09\u73ed"},{"value":18,"text":"\u56db\u73ed"},{"value":8,"text":"\u4e94\u73ed"}],"TLine":{"series":[{"name":"\u65f6\u95f4\u8f741","data":[[10000,55],[30000,25],[50000,55],[70000,25],[90000,55]]},{"name":"\u65f6\u95f4\u8f742","data":[[0,25],[20000,55],[40000,25],[60000,55],[80000,25]]},{"name":"\u65f6\u95f4\u8f743","data":[[0,55],[15000,25],[30000,55],[45000,25],[60000,55]]}]},"Scatter":{"series":[{"name":"\u6563\u70b9\u4e00","data":[[10,8.04],[8.07,6.95],[13,7.58],[9.05,8.81],[11,8.33],[14,7.66],[13.4,6.81],[10,6.33],[14,8.96],[12.5,6.82]]},{"name":"\u6563\u70b9\u4e8c","data":[[9.15,7.2],[11.5,7.2],[3.03,4.23],[12.2,7.83],[2.02,4.47],[1.05,3.33],[4.05,4.96],[6.03,7.24],[12,6.26],[12,8.84],[7.08,5.82],[5.02,5.68]]}]},"Bubble":{"series":[{"name":"\u6c14\u6ce1\u4e00","data":[[95,95,23,"\u6807\u98981"],[30,55,33,"\u6807\u98982"]]},{"name":"\u6c14\u6ce1\u4e8c","data":[[130,30,30,"\u6807\u98983"],[200,90,40,"\u6807\u98984"]]}]},"Column":{"categories":["2016","2017","2018","2019","2020","2021"],"series":[{"name":"\u76ee\u6807\u503c","data":[35,36,31,33,13,34]},{"name":"\u5b8c\u6210\u91cf","data":[18,27,21,24,6,28]}]},"ColumnA":{"categories":["2016","2017","2018","2019","2020","2021"],"series":[{"name":"\u6210\u4ea4\u91cf1","data":[15,{"value":20,"color":"#f04864"},45,37,43,34]},{"name":"\u6210\u4ea4\u91cf2","data":[30,{"value":40,"color":"#facc14"},25,14,34,18]}]},"Mix":{"categories":["2016","2017","2018","2019","2020","2021"],"series":[{"name":"\u66f2\u9762","data":[70,50,85,130,64,88],"type":"area","style":"curve"},{"name":"\u67f11","index":1,"data":[40,{"value":30,"color":"#f04864"},55,110,24,58],"type":"column"},{"name":"\u67f12","index":1,"data":[50,20,75,60,34,38],"type":"column"},{"name":"\u66f2\u7ebf","data":[70,50,85,130,64,88],"type":"line","style":"curve","color":"#1890ff","disableLegend":true},{"name":"\u6298\u7ebf","data":[120,140,105,170,95,160],"type":"line","color":"#2fc25b"},{"name":"\u70b9","index":2,"data":[100,80,125,150,112,132],"type":"point","color":"#f04864"}]},"Line":{"categories":["2016","2017","2018","2019","2020","2021"],"series":[{"name":"\u6210\u4ea4\u91cfA","data":[35,8,25,37,4,20]},{"name":"\u6210\u4ea4\u91cfB","data":[70,40,65,100,44,68]}]},"Pie":{"series":[{"name":"\u4e00\u73ed","data":50},{"name":"\u4e8c\u73ed","data":30},{"name":"\u4e09\u73ed","data":20},{"name":"\u56db\u73ed","data":18},{"name":"\u4e94\u73ed","data":8}]},"PieA":{"series":[{"data":[{"name":"\u5728\u5e93","value":314},{"name":"\u7a7a","value":1175},{"name":"\u7981\u7528","value":96}]}]},"Radar":{"categories":["\u7ef4\u5ea61","\u7ef4\u5ea62","\u7ef4\u5ea63","\u7ef4\u5ea64","\u7ef4\u5ea65","\u7ef4\u5ea66"],"series":[{"name":"\u6210\u4ea4\u91cf1","data":[90,110,165,195,187,172]},{"name":"\u6210\u4ea4\u91cf2","data":[190,210,105,35,27,102]}]},"Arcbar1":{"series":[{"name":"\u6b63\u786e\u7387","data":0.8,"color":"#2fc25b"}]},"Arcbar2":{"series":[{"name":"\u4e00\u73ed","data":0.8},{"name":"\u4e8c\u73ed","data":0.6},{"name":"\u4e09\u73ed","data":0.45},{"name":"\u56db\u73ed","data":0.3},{"name":"\u4e94\u73ed","data":0.15}]},"Gauge":{"categories":[{"value":0.2,"color":"#1890ff"},{"value":0.8,"color":"#2fc25b"},{"value":1,"color":"#f04864"}],"series":[{"name":"\u5b8c\u6210\u7387","data":0.66}]},"Candle":{"categories":["2020/1/24","2020/1/25","2020/1/28","2020/1/29","2020/1/30","2020/1/31","2020/2/1","2020/2/4","2020/2/5","2020/2/6","2020/2/7","2020/2/8","2020/2/18","2020/2/19","2020/2/20","2020/2/21","2020/2/22","2020/2/25","2020/2/26","2020/2/27","2020/2/28","2020/3/1","2020/3/4","2020/3/5","2020/3/6","2020/3/7","2020/3/8","2020/3/11","2020/3/12","2020/3/13","2020/3/14","2020/3/15","2020/3/18","2020/3/19","2020/3/20","2020/3/21","2020/3/22","2020/3/25","2020/3/26","2020/3/27","2020/3/28","2020/3/29","2020/4/1","2020/4/2","2020/4/3","2020/4/8","2020/4/9","2020/4/10","2020/4/11","2020/4/12","2020/4/15","2020/4/16","2020/4/17","2020/4/18","2020/4/19","2020/4/22","2020/4/23","2020/4/24","2020/4/25","2020/4/26","2020/5/2","2020/5/3","2020/5/6","2020/5/7","2020/5/8","2020/5/9","2020/5/10","2020/5/13","2020/5/14","2020/5/15","2020/5/16","2020/5/17","2020/5/20","2020/5/21","2020/5/22","2020/5/23","2020/5/24","2020/5/27","2020/5/28","2020/5/29","2020/5/30","2020/5/31","2020/6/3","2020/6/4","2020/6/5","2020/6/6","2020/6/7","2020/6/13"],"series":[{"name":"\u4e0a\u8bc1\u6307\u6570","data":[[2320.26,2302.6,2287.3,2362.94],[2300,2291.3,2288.26,2308.38],[2295.35,2346.5,2295.35,2346.92],[2347.22,2358.98,2337.35,2363.8],[2360.75,2382.48,2347.89,2383.76],[2383.43,2385.42,2371.23,2391.82],[2377.41,2419.02,2369.57,2421.15],[2425.92,2428.15,2417.58,2440.38],[2411,2433.13,2403.3,2437.42],[2432.68,2434.48,2427.7,2441.73],[2430.69,2418.53,2394.22,2433.89],[2416.62,2432.4,2414.4,2443.03],[2441.91,2421.56,2415.43,2444.8],[2420.26,2382.91,2373.53,2427.07],[2383.49,2397.18,2370.61,2397.94],[2378.82,2325.95,2309.17,2378.82],[2322.94,2314.16,2308.76,2330.88],[2320.62,2325.82,2315.01,2338.78],[2313.74,2293.34,2289.89,2340.71],[2297.77,2313.22,2292.03,2324.63],[2322.32,2365.59,2308.92,2366.16],[2364.54,2359.51,2330.86,2369.65],[2332.08,2273.4,2259.25,2333.54],[2274.81,2326.31,2270.1,2328.14],[2333.61,2347.18,2321.6,2351.44],[2340.44,2324.29,2304.27,2352.02],[2326.42,2318.61,2314.59,2333.67],[2314.68,2310.59,2296.58,2320.96],[2309.16,2286.6,2264.83,2333.29],[2282.17,2263.97,2253.25,2286.33],[2255.77,2270.28,2253.31,2276.22],[2269.31,2278.4,2250,2312.08],[2267.29,2240.02,2239.21,2276.05],[2244.26,2257.43,2232.02,2261.31],[2257.74,2317.37,2257.42,2317.86],[2318.21,2324.24,2311.6,2330.81],[2321.4,2328.28,2314.97,2332],[2334.74,2326.72,2319.91,2344.89],[2318.58,2297.67,2281.12,2319.99],[2299.38,2301.26,2289,2323.48],[2273.55,2236.3,2232.91,2273.55],[2238.49,2236.62,2228.81,2246.87],[2229.46,2234.4,2227.31,2243.95],[2234.9,2227.74,2220.44,2253.42],[2232.69,2225.29,2217.25,2241.34],[2196.24,2211.59,2180.67,2212.59],[2215.47,2225.77,2215.47,2234.73],[2224.93,2226.13,2212.56,2233.04],[2236.98,2219.55,2217.26,2242.48],[2218.09,2206.78,2204.44,2226.26],[2199.91,2181.94,2177.39,2204.99],[2169.63,2194.85,2165.78,2196.43],[2195.03,2193.8,2178.47,2197.51],[2181.82,2197.6,2175.44,2206.03],[2201.12,2244.64,2200.58,2250.11],[2236.4,2242.17,2232.26,2245.12],[2242.62,2184.54,2182.81,2242.62],[2187.35,2218.32,2184.11,2226.12],[2213.19,2199.31,2191.85,2224.63],[2203.89,2177.91,2173.86,2210.58],[2170.78,2174.12,2161.14,2179.65],[2179.05,2205.5,2179.05,2222.81],[2212.5,2231.17,2212.5,2236.07],[2227.86,2235.57,2219.44,2240.26],[2242.39,2246.3,2235.42,2255.21],[2246.96,2232.97,2221.38,2247.86],[2228.82,2246.83,2225.81,2247.67],[2247.68,2241.92,2231.36,2250.85],[2238.9,2217.01,2205.87,2239.93],[2217.09,2224.8,2213.58,2225.19],[2221.34,2251.81,2210.77,2252.87],[2249.81,2282.87,2248.41,2288.09],[2286.33,2299.99,2281.9,2309.39],[2297.11,2305.11,2290.12,2305.3],[2303.75,2302.4,2292.43,2314.18],[2293.81,2275.67,2274.1,2304.95],[2281.45,2288.53,2270.25,2292.59],[2286.66,2293.08,2283.94,2301.7],[2293.4,2321.32,2281.47,2322.1],[2323.54,2324.02,2321.17,2334.33],[2316.25,2317.75,2310.49,2325.72],[2320.74,2300.59,2299.37,2325.53],[2300.21,2299.25,2294.11,2313.43],[2297.1,2272.42,2264.76,2297.1],[2270.71,2270.93,2260.87,2276.86],[2264.43,2242.11,2240.07,2266.69],[2242.26,2210.9,2205.07,2250.63],[2190.1,2148.35,2126.22,2190.1]]}]},"CandleColumn":{"categories":["2020/1/24","2020/1/25","2020/1/28","2020/1/29","2020/1/30","2020/1/31","2020/2/1","2020/2/4","2020/2/5","2020/2/6","2020/2/7","2020/2/8","2020/2/18","2020/2/19","2020/2/20","2020/2/21","2020/2/22","2020/2/25","2020/2/26","2020/2/27","2020/2/28","2020/3/1","2020/3/4","2020/3/5","2020/3/6","2020/3/7","2020/3/8","2020/3/11","2020/3/12","2020/3/13","2020/3/14","2020/3/15","2020/3/18","2020/3/19","2020/3/20","2020/3/21","2020/3/22","2020/3/25","2020/3/26","2020/3/27","2020/3/28","2020/3/29","2020/4/1","2020/4/2","2020/4/3","2020/4/8","2020/4/9","2020/4/10","2020/4/11","2020/4/12","2020/4/15","2020/4/16","2020/4/17","2020/4/18","2020/4/19","2020/4/22","2020/4/23","2020/4/24","2020/4/25","2020/4/26","2020/5/2","2020/5/3","2020/5/6","2020/5/7","2020/5/8","2020/5/9","2020/5/10","2020/5/13","2020/5/14","2020/5/15","2020/5/16","2020/5/17","2020/5/20","2020/5/21","2020/5/22","2020/5/23","2020/5/24","2020/5/27","2020/5/28","2020/5/29","2020/5/30","2020/5/31","2020/6/3","2020/6/4","2020/6/5","2020/6/6","2020/6/7","2020/6/13"],"series":[{"name":"\u6210\u4ea4\u91cf1","data":[15,20,45,37,43,15,20,45,37,43,15,20,45,37,43,15,20,45,37,43,15,20,45,37,43,15,20,45,37,43,15,20,45,37,43,15,20,45,37,43,15,20,45,37,43,15,20,45,37,43,15,20,45,37,43,15,20,45,37,43,15,20,45,37,43,15,20,45,37,43,15,20,45,37,43,15,20,45,37,43,15,20,45,37,43,15,20,45]}]},"Word":{"series":[{"name":"\u8de8\u5168\u7aef\u56fe\u8868","textSize":25},{"name":"\u5fae\u4fe1\u5c0f\u7a0b\u5e8f","textSize":20},{"name":"\u652f\u4ed8\u5b9d\u5c0f\u7a0b\u5e8f","textSize":20},{"name":"\u767e\u5ea6\u5c0f\u7a0b\u5e8f","textSize":20},{"name":"QQ\u5c0f\u7a0b\u5e8f","textSize":20},{"name":"\u5934\u6761\u5c0f\u7a0b\u5e8f","textSize":20},{"name":"\u6296\u97f3\u5c0f\u7a0b\u5e8f","textSize":20},{"name":"360\u5c0f\u7a0b\u5e8f","textSize":20},{"name":"\u8de8\u5168\u7aef","textSize":10},{"name":"\u8de8\u5168\u7aef","textSize":12},{"name":"\u8de8\u5168\u7aef","textSize":10},{"name":"\u8de8\u5168\u7aef","textSize":12},{"name":"\u8de8\u5168\u7aef","textSize":10},{"name":"\u8de8\u5168\u7aef","textSize":12},{"name":"\u8de8\u5168\u7aef","textSize":10},{"name":"\u8de8\u5168\u7aef","textSize":12}]}}')},bfff:function(t,e,i){"use strict";i.r(e);var n=i("3c26"),a=i("b8d4");for(var r in a)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(r);var o=i("828b"),s=Object(o["a"])(a["default"],n["b"],n["c"],!1,null,"43f30b7e",null,!1,n["a"],void 0);e["default"]=s.exports},c547:function(t,e,i){"use strict";i.r(e);var n=i("7b82"),a=i.n(n);for(var r in n)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(r);e["default"]=a.a},c552:function(t,e,i){"use strict";var n=i("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.createAnimation=function(t,e){if(!e)return;return clearTimeout(e.timer),new l(t,e)};var a=n(i("7ca3")),r=n(i("67ad")),o=n(i("0bdb"));function s(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.push.apply(i,n)}return i}function c(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?s(Object(i),!0).forEach((function(e){(0,a.default)(t,e,i[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):s(Object(i)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))}))}return t}var l=function(){function t(e,i){(0,r.default)(this,t),this.options=e,this.animation=uni.createAnimation(e),this.currentStepAnimates={},this.next=0,this.$=i}return(0,o.default)(t,[{key:"_nvuePushAnimates",value:function(t,e){var i=this.currentStepAnimates[this.next],n={};if(n=i||{styles:{},config:{}},u.includes(t)){n.styles.transform||(n.styles.transform="");var a="";"rotate"===t&&(a="deg"),n.styles.transform+="".concat(t,"(").concat(e+a,") ")}else n.styles[t]="".concat(e);this.currentStepAnimates[this.next]=n}},{key:"_animateRun",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=this.$.$refs["ani"].ref;if(i)return new Promise((function(n,a){nvueAnimation.transition(i,c({styles:t},e),(function(t){n()}))}))}},{key:"_nvueNextAnimate",value:function(t){var e=this,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2?arguments[2]:void 0,a=t[i];if(a){var r=a.styles,o=a.config;this._animateRun(r,o).then((function(){i+=1,e._nvueNextAnimate(t,i,n)}))}else this.currentStepAnimates={},"function"===typeof n&&n(),this.isEnd=!0}},{key:"step",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.animation.step(t),this}},{key:"run",value:function(t){this.$.animationData=this.animation.export(),this.$.timer=setTimeout((function(){"function"===typeof t&&t()}),this.$.durationTime)}}]),t}(),u=["matrix","matrix3d","rotate","rotate3d","rotateX","rotateY","rotateZ","scale","scale3d","scaleX","scaleY","scaleZ","skew","skewX","skewY","translate","translate3d","translateX","translateY","translateZ"];u.concat(["opacity","backgroundColor"],["width","height","left","right","top","bottom"]).forEach((function(t){l.prototype[t]=function(){var e;return(e=this.animation)[t].apply(e,arguments),this}}))},c681:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={name:"loading3",data:function(){return{}}}},c7a2:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n={name:"qiun-error",props:{errorMessage:{type:String,default:null}},data:function(){return{}}};e.default=n},c959:function(t,e,i){"use strict";i.r(e);var n=i("862a"),a=i("078f");for(var r in a)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(r);var o=i("828b"),s=Object(o["a"])(a["default"],n["b"],n["c"],!1,null,"fcb66c2c",null,!1,n["a"],void 0);e["default"]=s.exports},cad3:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={name:"",data:function(){return{autoplay:!0,interval:1e3,duration:1e3,list:["\u8bf7\u70b9\u51fb\u53d1\u884c\u83dc\u5355\u8fdb\u884c\u53d1\u5e03","1","\u4f53\u79ef\u8f83\u5927\uff1b\u82e5\u8981\u6b63\u5f0f\u53d1\u5e03","2","\u8fd0\u884c\u6a21\u5f0f\u4e0b\u4e0d\u538b\u7f29\u4ee3\u7801\u4e14\u542b\u6709sourcemap","3","\u68c0\u67e5\u662f\u5426\u542f\u52a8\u591a\u4e2a\u5fae\u4fe1\u5f00\u53d1\u8005\u5de5\u5177\uff0c\u5982\u679c\u662f\u5219\u5173\u95ed\u6240\u6709\u6253\u5f00\u7684\u5fae\u4fe1\u5f00\u53d1\u8005\u5de5\u5177\uff0c","4","\u7136\u540e\u518d\u91cd\u65b0\u8fd0\u884c","5","\u5982\u679c\u51fa\u73b0\u5fae\u4fe1\u5f00\u53d1\u8005\u5de5\u5177\u542f\u52a8\u540e\u767d\u5c4f\u7684\u95ee\u9898","6","\u6216\u8005\u5173\u95ed\u5fae\u4fe1\u5f00\u53d1\u8005\u5de5\u5177\uff0c\u7136\u540e\u518d\u4eceHBuilderX\u4e2d\u542f\u52a8\u6307\u5b9a\u9875\u9762","7","\u53ef\u4ee5\u901a\u8fc7\u5fae\u4fe1\u5f00\u53d1\u8005\u5de5\u5177\u5207\u6362pages.json\u4e2dcondition\u914d\u7f6e\u7684\u9875\u9762","8","\u4e2d\u4fee\u6539\u6587\u4ef6\u5e76\u4fdd\u5b58\uff0c\u4f1a\u81ea\u52a8\u5237\u65b0\u5fae\u4fe1\u6a21\u62df\u5668","9","\u5fae\u4fe1\u5f00\u53d1\u8005\u5de5\u5177\u5df2\u542f\u52a8\uff0c\u5728HBuilderX","10"]}}}},ce0e:function(t,e,i){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i={onLaunch:function(){t("log","App Launch"," at App.vue:4")},onShow:function(){t("log","App Show"," at App.vue:7")},onHide:function(){t("log","App Hide"," at App.vue:10")}};e.default=i}).call(this,i("f3b9")["default"])},d2a0:function(t,e,i){"use strict";var n=i("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=n(i("297d")),r=i("d3b4"),o=n(i("e7b9")),s=(0,r.initVueI18n)(o.default),c=s.t,l={name:"uniPopupDialog",mixins:[a.default],emits:["confirm","close"],props:{value:{type:[String,Number],default:""},placeholder:{type:[String,Number],default:""},type:{type:String,default:"error"},mode:{type:String,default:"base"},title:{type:String,default:""},content:{type:String,default:""},beforeClose:{type:Boolean,default:!1},cancelText:{type:String,default:""},confirmText:{type:String,default:""}},data:function(){return{dialogType:"error",focus:!1,val:""}},computed:{okText:function(){return this.confirmText||c("uni-popup.ok")},closeText:function(){return this.cancelText||c("uni-popup.cancel")},placeholderText:function(){return this.placeholder||c("uni-popup.placeholder")},titleText:function(){return this.title||c("uni-popup.title")}},watch:{type:function(t){this.dialogType=t},mode:function(t){"input"===t&&(this.dialogType="info")},value:function(t){this.val=t}},created:function(){this.popup.disableMask(),"input"===this.mode?(this.dialogType="info",this.val=this.value):this.dialogType=this.type},mounted:function(){this.focus=!0},methods:{onOk:function(){"input"===this.mode?this.$emit("confirm",this.val):this.$emit("confirm"),this.beforeClose||this.popup.close()},closeDialog:function(){this.$emit("close"),this.beforeClose||this.popup.close()},close:function(){this.popup.close()}}};e.default=l},d3b4:function(t,e,i){"use strict";(function(t){var n=i("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.LOCALE_ZH_HANT=e.LOCALE_ZH_HANS=e.LOCALE_FR=e.LOCALE_ES=e.LOCALE_EN=e.I18n=e.Formatter=void 0,e.compileI18nJsonStr=function(t,e){var i=e.locale,n=e.locales,a=e.delimiters;if(!k(t,a))return t;w||(w=new u);var r=[];Object.keys(n).forEach((function(t){t!==i&&r.push({locale:t,values:n[t]})})),r.unshift({locale:i,values:n[i]});try{return JSON.stringify(T(JSON.parse(t),r,a),null,2)}catch(o){}return t},e.hasI18nJson=function t(e,i){w||(w=new u);return P(e,(function(e,n){var a=e[n];return S(a)?!!k(a,i)||void 0:t(a,i)}))},e.initVueI18n=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=arguments.length>2?arguments[2]:void 0,n=arguments.length>3?arguments[3]:void 0;if("string"!==typeof t){var a=[e,t];t=a[0],e=a[1]}"string"!==typeof t&&(t=b());"string"!==typeof i&&(i="undefined"!==typeof __uniConfig&&__uniConfig.fallbackLocale||"en");var r=new y({locale:t,fallbackLocale:i,messages:e,watcher:n}),o=function(t,e){if("function"!==typeof getApp)o=function(t,e){return r.t(t,e)};else{var i=!1;o=function(t,e){var n=getApp().$vm;return n&&(n.$locale,i||(i=!0,_(n,r))),r.t(t,e)}}return o(t,e)};return{i18n:r,f:function(t,e,i){return r.f(t,e,i)},t:function(t,e){return o(t,e)},add:function(t,e){var i=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return r.add(t,e,i)},watch:function(t){return r.watchLocale(t)},getLocale:function(){return r.getLocale()},setLocale:function(t){return r.setLocale(t)}}},e.isI18nStr=k,e.isString=void 0,e.normalizeLocale=x,e.parseI18nJson=function t(e,i,n){w||(w=new u);return P(e,(function(e,a){var r=e[a];S(r)?k(r,n)&&(e[a]=C(r,i,n)):t(r,i,n)})),e},e.resolveLocale=function(t){return function(e){return e?(e=x(e)||e,function(t){var e=[],i=t.split("-");while(i.length)e.push(i.join("-")),i.pop();return e}(e).find((function(e){return t.indexOf(e)>-1}))):e}};var a=n(i("34cf")),r=n(i("67ad")),o=n(i("0bdb")),s=n(i("3b2d")),c=function(t){return null!==t&&"object"===(0,s.default)(t)},l=["{","}"],u=function(){function t(){(0,r.default)(this,t),this._caches=Object.create(null)}return(0,o.default)(t,[{key:"interpolate",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:l;if(!e)return[t];var n=this._caches[t];return n||(n=f(t,i),this._caches[t]=n),p(n,e)}}]),t}();e.Formatter=u;var h=/^(?:\d)+/,d=/^(?:\w)+/;function f(t,e){var i=(0,a.default)(e,2),n=i[0],r=i[1],o=[],s=0,c="";while(s<t.length){var l=t[s++];if(l===n){c&&o.push({type:"text",value:c}),c="";var u="";l=t[s++];while(void 0!==l&&l!==r)u+=l,l=t[s++];var f=l===r,p=h.test(u)?"list":f&&d.test(u)?"named":"unknown";o.push({value:u,type:p})}else c+=l}return c&&o.push({type:"text",value:c}),o}function p(t,e){var i=[],n=0,a=Array.isArray(e)?"list":c(e)?"named":"unknown";if("unknown"===a)return i;while(n<t.length){var r=t[n];switch(r.type){case"text":i.push(r.value);break;case"list":i.push(e[parseInt(r.value,10)]);break;case"named":"named"===a&&i.push(e[r.value]);break;case"unknown":0;break}n++}return i}e.LOCALE_ZH_HANS="zh-Hans";e.LOCALE_ZH_HANT="zh-Hant";e.LOCALE_EN="en";e.LOCALE_FR="fr";e.LOCALE_ES="es";var g=Object.prototype.hasOwnProperty,v=function(t,e){return g.call(t,e)},m=new u;function x(t,e){if(t){if(t=t.trim().replace(/_/g,"-"),e&&e[t])return t;if(t=t.toLowerCase(),"chinese"===t)return"zh-Hans";if(0===t.indexOf("zh"))return t.indexOf("-hans")>-1?"zh-Hans":t.indexOf("-hant")>-1||function(t,e){return!!e.find((function(e){return-1!==t.indexOf(e)}))}(t,["-tw","-hk","-mo","-cht"])?"zh-Hant":"zh-Hans";var i=["en","fr","es"];e&&Object.keys(e).length>0&&(i=Object.keys(e));var n=function(t,e){return e.find((function(e){return 0===t.indexOf(e)}))}(t,i);return n||void 0}}var y=function(){function t(e){var i=e.locale,n=e.fallbackLocale,a=e.messages,o=e.watcher,s=e.formater;(0,r.default)(this,t),this.locale="en",this.fallbackLocale="en",this.message={},this.messages={},this.watchers=[],n&&(this.fallbackLocale=n),this.formater=s||m,this.messages=a||{},this.setLocale(i||"en"),o&&this.watchLocale(o)}return(0,o.default)(t,[{key:"setLocale",value:function(t){var e=this,i=this.locale;this.locale=x(t,this.messages)||this.fallbackLocale,this.messages[this.locale]||(this.messages[this.locale]={}),this.message=this.messages[this.locale],i!==this.locale&&this.watchers.forEach((function(t){t(e.locale,i)}))}},{key:"getLocale",value:function(){return this.locale}},{key:"watchLocale",value:function(t){var e=this,i=this.watchers.push(t)-1;return function(){e.watchers.splice(i,1)}}},{key:"add",value:function(t,e){var i=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],n=this.messages[t];n?i?Object.assign(n,e):Object.keys(e).forEach((function(t){v(n,t)||(n[t]=e[t])})):this.messages[t]=e}},{key:"f",value:function(t,e,i){return this.formater.interpolate(t,e,i).join("")}},{key:"t",value:function(t,e,i){var n=this.message;return"string"===typeof e?(e=x(e,this.messages),e&&(n=this.messages[e])):i=e,v(n,t)?this.formater.interpolate(n[t],i).join(""):(console.warn("Cannot translate the value of keypath ".concat(t,". Use the value of keypath as default.")),t)}}]),t}();function _(t,e){t.$watchLocale?t.$watchLocale((function(t){e.setLocale(t)})):t.$watch((function(){return t.$locale}),(function(t){e.setLocale(t)}))}function b(){return"undefined"!==typeof uni&&uni.getLocale?uni.getLocale():"undefined"!==typeof t&&t.getLocale?t.getLocale():"en"}e.I18n=y;var w,S=function(t){return"string"===typeof t};function k(t,e){return t.indexOf(e[0])>-1}function C(t,e,i){return w.interpolate(t,e,i).join("")}function T(t,e,i){return P(t,(function(t,n){(function(t,e,i,n){var a=t[e];if(S(a)){if(k(a,n)&&(t[e]=C(a,i[0].values,n),i.length>1)){var r=t[e+"Locales"]={};i.forEach((function(t){r[t.locale]=C(a,t.values,n)}))}}else T(a,i,n)})(t,n,e,i)})),t}function P(t,e){if(Array.isArray(t)){for(var i=0;i<t.length;i++)if(e(t,i))return!0}else if(c(t))for(var n in t)if(e(t,n))return!0;return!1}e.isString=S}).call(this,i("0ee4"))},d551:function(t,e,i){var n=i("3b2d")["default"],a=i("e6db");t.exports=function(t){var e=a(t,"string");return"symbol"==n(e)?e:e+""},t.exports.__esModule=!0,t.exports["default"]=t.exports},dd3e:function(t,e){t.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},t.exports.__esModule=!0,t.exports["default"]=t.exports},dd49:function(t,e,i){"use strict";var n=i("47a9"),a=n(i("7ca3"));i("96bc");var r=n(i("62d4")),o=n(i("951c"));function s(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.push.apply(i,n)}return i}o.default.config.productionTip=!1,o.default.prototype.baseHttp="http://",r.default.mpType="app";var c=new o.default(function(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?s(Object(i),!0).forEach((function(e){(0,a.default)(t,e,i[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):s(Object(i)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))}))}return t}({},r.default));c.$mount()},dffb:function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return a})),i.d(e,"a",(function(){}));var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("view",{staticClass:t._$s(0,"sc","chartsview"),attrs:{_i:0}},[i("view",{staticClass:t._$s(1,"sc","charts-error"),attrs:{_i:1}}),i("view",{staticClass:t._$s(2,"sc","charts-font"),attrs:{_i:2}},[t._v(t._$s(2,"t0-0",t._s(null==t.errorMessage?"\u8bf7\u70b9\u51fb\u91cd\u8bd5":t.errorMessage)))])])},a=[]},e235:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=["#1890FF","#91CB74","#FAC858","#EE6666","#73C0DE","#3CA272","#FC8452","#9A60B4","#ea7ccc"],a={type:["pie","ring","rose","funnel","line","column","area","radar","gauge","candle","demotype"],categories:["line","column","area","radar","gauge","candle","demotype"],instance:{},option:{},formatter:{tooltipDemo1:function(t){var e="";for(var i in t){0==i&&(e+=t[i].axisValueLabel+"\u5e74\u9500\u552e\u989d");var n="--";null!==t[i].data&&(n=t[i].data),e+="<br/>"+t[i].marker+t[i].seriesName+"\uff1a"+n+" \u4e07\u5143"}return e},legendFormat:function(t){return"\u81ea\u5b9a\u4e49\u56fe\u4f8b+"+t},yAxisFormatDemo:function(t,e){return t+"\u5143"},seriesFormatDemo:function(t){return t.name+"\u5e74"+t.value+"\u5143"}},demotype:{color:n},column:{color:n,title:{text:""},tooltip:{trigger:"axis"},grid:{top:30,bottom:50,right:15,left:40},legend:{bottom:"left"},toolbox:{show:!1},xAxis:{type:"category",axisLabel:{color:"#666666"},axisLine:{lineStyle:{color:"#CCCCCC"}},boundaryGap:!0,data:[]},yAxis:{type:"value",axisTick:{show:!1},axisLabel:{color:"#666666"},axisLine:{lineStyle:{color:"#CCCCCC"}}},seriesTemplate:{name:"",type:"bar",data:[],barwidth:20,label:{show:!0,color:"#666666",position:"top"}}},line:{color:n,title:{text:""},tooltip:{trigger:"axis"},grid:{top:30,bottom:50,right:15,left:40},legend:{top:"left",textStyle:{color:"#cccccc"}},toolbox:{show:!1},xAxis:{type:"category",axisLabel:{color:"#CCCCCC"},axisLine:{lineStyle:{color:"#CCCCCC"}},boundaryGap:!1,data:[]},yAxis:{type:"value",axisTick:{show:!1},axisLabel:{color:"#CCCCCC"},axisLine:{lineStyle:{color:"#CCCCCC"}}},seriesTemplate:{name:"",type:"line",data:[],barwidth:20,label:{show:!1,color:"#666666",position:"top"}}},area:{color:n,title:{text:""},tooltip:{trigger:"axis"},grid:{top:30,bottom:50,right:15,left:40},legend:{bottom:"left"},toolbox:{show:!1},xAxis:{type:"category",axisLabel:{color:"#666666"},axisLine:{lineStyle:{color:"#CCCCCC"}},boundaryGap:!0,data:[]},yAxis:{type:"value",axisTick:{show:!1},axisLabel:{color:"#666666"},axisLine:{lineStyle:{color:"#CCCCCC"}}},seriesTemplate:{name:"",type:"line",data:[],areaStyle:{},label:{show:!0,color:"#666666",position:"top"}}},pie:{color:n,title:{text:""},tooltip:{trigger:"item"},grid:{top:40,bottom:30,right:15,left:15},legend:{bottom:"left"},seriesTemplate:{name:"",type:"pie",data:[],radius:"50%",label:{show:!0,color:"#666666",position:"top"}}},ring:{color:n,title:{text:""},tooltip:{trigger:"item"},grid:{top:40,bottom:30,right:15,left:15},legend:{bottom:"left",textStyle:{color:"#cccccc"}},seriesTemplate:{name:"",type:"pie",data:[],radius:["30%","60%"],avoidLabelOverlap:!1,label:{show:!1,color:"#FFF",position:"top"},labelLine:{show:!1}}},rose:{color:n,title:{text:""},tooltip:{trigger:"item"},legend:{top:"bottom"},seriesTemplate:{name:"",type:"pie",data:[],radius:"55%",center:["50%","50%"],roseType:"area"}},funnel:{color:n,title:{text:""},tooltip:{trigger:"item",formatter:"{b} : {c}%"},legend:{top:"bottom"},seriesTemplate:{name:"",type:"funnel",left:"10%",top:60,bottom:60,width:"80%",min:0,max:100,minSize:"0%",maxSize:"100%",sort:"descending",gap:2,label:{show:!0,position:"inside"},labelLine:{length:10,lineStyle:{width:1,type:"solid"}},itemStyle:{bordercolor:"#fff",borderwidth:1},emphasis:{label:{fontSize:20}},data:[]}},gauge:{color:n,tooltip:{formatter:"{a} <br/>{b} : {c}%"},seriesTemplate:{name:"\u4e1a\u52a1\u6307\u6807",type:"gauge",detail:{formatter:"{value}%"},data:[{value:50,name:"\u5b8c\u6210\u7387"}]}},candle:{xAxis:{data:[]},yAxis:{},color:n,title:{text:""},dataZoom:[{type:"inside",xAxisIndex:[0,1],start:10,end:100},{show:!0,xAxisIndex:[0,1],type:"slider",bottom:10,start:10,end:100}],seriesTemplate:{name:"",type:"k",data:[]}}},r=a;e.default=r},e286:function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return a})),i.d(e,"a",(function(){}));var n=function(){var t=this.$createElement,e=this._self._c||t;return e("view",{staticClass:this._$s(0,"sc","box"),attrs:{_i:0}},[e("view",{staticClass:this._$s(1,"sc","box-border box-border1"),attrs:{_i:1}}),e("view",{staticClass:this._$s(2,"sc","box-border box-border2"),attrs:{_i:2}}),e("view",{staticClass:this._$s(3,"sc","box-border box-border3"),attrs:{_i:3}}),e("view",{staticClass:this._$s(4,"sc","box-border box-border4"),attrs:{_i:4}}),e("view",{staticClass:this._$s(5,"sc","box-main"),attrs:{_i:5}},[this._t("default",null,{_i:6})],2)])},a=[]},e4d6:function(t,e,i){"use strict";i.r(e);var n=i("925e"),a=i("63c1");for(var r in a)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(r);var o=i("828b"),s=Object(o["a"])(a["default"],n["b"],n["c"],!1,null,null,null,!1,n["a"],void 0);e["default"]=s.exports},e6db:function(t,e,i){var n=i("3b2d")["default"];t.exports=function(t,e){if("object"!=n(t)||!t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var a=i.call(t,e||"default");if("object"!=n(a))return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)},t.exports.__esModule=!0,t.exports["default"]=t.exports},e7b9:function(t,e,i){"use strict";var n=i("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=n(i("2f40")),r=n(i("2fe5")),o=n(i("2f51")),s={en:a.default,"zh-Hans":r.default,"zh-Hant":o.default};e.default=s},e9e1:function(t,e,i){"use strict";i.r(e);var n=i("6f0f"),a=i.n(n);for(var r in n)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(r);e["default"]=a.a},ea8b:function(t,e,i){"use strict";i.r(e);var n=i("ce0e"),a=i.n(n);for(var r in n)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(r);e["default"]=a.a},ebd2:function(t,e,i){"use strict";var n=i("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=n(i("7996")),r=n(i("468a")),o=n(i("c959")),s=n(i("3c8c")),c=n(i("8a5a")),l={components:{Loading1:a.default,Loading2:r.default,Loading3:o.default,Loading4:s.default,Loading5:c.default},name:"qiun-loading",props:{loadingType:{type:Number,default:2}},data:function(){return{}}};e.default=l},ed43:function(t,e,i){"use strict";i.r(e);var n=i("6cb1"),a=i("7543");for(var r in a)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(r);var o=i("828b"),s=Object(o["a"])(a["default"],n["b"],n["c"],!1,null,null,null,!1,n["a"],void 0);e["default"]=s.exports},ed45:function(t,e){t.exports=function(t){if(Array.isArray(t))return t},t.exports.__esModule=!0,t.exports["default"]=t.exports},ed83:function(t,e,i){"use strict";(function(t){var n=i("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.Behavior=function(t){return t},e.Component=function(e){var i=function(e){var i=e.data,n=e.options,a=e.methods,r=e.behaviors,o=e.lifetimes,s=e.observers,u=e.relations,h=e.properties,f=e.pageLifetimes,p=e.externalClasses,g={mixins:[],props:{},watch:{},mpOptions:{mpObservers:[]}};return l(g),c(i,g),function(t,e){if(!t)return;e.mpOptions.options=t}(n,g),k(a,g),O(r,g),function(t,e){if(!t)return;C(t,e)}(o,g),function(t,e){if(!t)return;var i=e.mpOptions.mpObservers;Object.keys(t).forEach((function(e){i.push({paths:L(e),observer:t[e]})}))}(s,g),function(e,i){if(!e)return;Object.keys(e).forEach((function(i){var n=e[i];n.name=i,n.target=n.target?String(n.target):function(t,e){0===e.indexOf("/")&&(t="");var i=t.split("/"),n=e.split("/");i.pop();while(n.length){var a=n.shift();""!==a&&"."!==a&&(".."!==a?i.push(a):i.pop())}return i.join("/")}(t.__wxRoute,i)})),i.mpOptions.relations=e}(u,g),S(h,g),function(t,e){if(!t)return;b.forEach((function(i){var n=t[i];d(n)&&(e[_[i]]=n)}))}(f,g),function(t,e){if(!t)return;Array.isArray(t)||(t=[t]);e.mpOptions.externalClasses=t,e.mpOptions.properties||(e.mpOptions.properties=Object.create(null));t.forEach((function(t){e.mpOptions.properties[m(t)]={type:String,value:""}}))}(p,g),C(e,g),P(e),g}(e);i.mixins.unshift(Y),i.mpOptions.path=t.__wxRoute,function(t){t.onServiceAttached||(t.onServiceAttached=[]);t.onServiceAttached.push((function(){R(this,"linked")}))}(i),t.__wxComponents[t.__wxRoute]=i},e.Page=function(e){var i=function(t){var e={mixins:[],mpOptions:{}};return l(e),c(t.data,e),function(t,e){var i=Object.create(null);Object.keys(t).forEach((function(e){var n=t[e];d(n)&&-1===w.indexOf(e)&&(i[e]=n)})),e.methods=i}(t,e),function(t,e){Object.keys(t).forEach((function(i){-1!==w.indexOf(i)&&(e[i]=t[i])}))}(t,e),e}(e);i.mixins.unshift(Y),i.mpOptions.path=t.__wxRoute,t.__wxComponents[t.__wxRoute]=i},e.nextTick=e.default=void 0;var a,r=n(i("7ca3")),o=n(i("34cf")),s=n(i("951c"));function c(t,e){t&&(e.mpOptions.data=t)}function l(e){e.components=t.__wxVueOptions.components}var u=Object.prototype.toString,h=Object.prototype.hasOwnProperty;function d(t){return"function"===typeof t}function f(t){return"[object Object]"===u.call(t)}function p(t,e){return h.call(t,e)}function g(){}var v=/-(\w)/g,m=function(t){var e=Object.create(null);return function(i){var n=e[i];return n||(e[i]=t(i))}}((function(t){return t.replace(v,(function(t,e){return e?e.toUpperCase():""}))})),x={created:"onServiceCreated",attached:"onServiceAttached",ready:"mounted",moved:"moved",detached:"destroyed"},y=Object.keys(x),_={show:"onPageShow",hide:"onPageHide",resize:"onPageResize"},b=Object.keys(_),w=["onLoad","onShow","onReady","onHide","onUnload","onPullDownRefresh","onReachBottom","onShareAppMessage","onPageScroll","onResize","onTabItemTap"];function S(t,e){t&&(e.mpOptions.properties=t)}function k(t,e){t&&(t.$emit&&(console.warn('Method "$emit" conflicts with an existing Vue instance method'),delete t.$emit),e.methods=t)}function C(t,e){y.forEach((function(i){p(t,i)&&(e[x[i]]||(e[x[i]]=[])).push(t[i])}))}var T={"wx://form-field":{},"wx://component-export":{}};function P(t,e){(function(t){var e=t.behaviors,i=t.definitionFilter,n=[];if(Array.isArray(e)&&e.forEach((function(e){e="string"===typeof e?T[e]:e,e.definitionFilter&&(n.push(e.definitionFilter),e.definitionFilter.call(null,t,[]))})),d(i));})(t)}var A={"wx://form-field":{beforeCreate:function(){var t=this.$options.mpOptions;t.properties||(t.properties=Object.create(null));var e=t.properties;p(e,"name")||(e.name={type:String}),p(e,"value")||(e.value={type:String})}}};function O(t,e){t&&t.forEach((function(t){"string"===typeof t?A[t]&&e.mixins.push(A[t]):e.mixins.push(function(t){var e=t.data,i=t.methods,n=t.behaviors,a=t.properties,r={watch:{},mpOptions:{mpObservers:[]}};return c(e,r),k(i,r),O(n,r),S(a,r),C(t,r),P(t),r}(t))}))}function L(t){return t.split(",").map((function(t){return function(t){return t.split(".")}(t)}))}function D(t,e,i,n){if(e){var a="_$".concat(t,"Handlers");(n[a]||(n[a]=[])).push((function(){e.call(n,i)}))}}function I(t,e,i){var n=t.name,a=i._$relationNodes||(i._$relationNodes=Object.create(null));(a[n]||(a[n]=[])).push(e),D("linked",t["linked"],e,i)}function M(t,e,i){D("unlinked",t["unlinked"],e,i)}function E(t,e,i){var n=t&&t.$options.mpOptions&&t.$options.mpOptions.relations;if(!n)return[];var a=Object.keys(n).find((function(t){var a=n[t];return a.target===e&&a.type===i}));return a?[n[a],t]:[]}function F(t,e,i){var n=i(t,t.$options.mpOptions.path),a=(0,o.default)(n,2),r=a[0],s=a[1];r&&(I(r,t,s),I(e,s,t),M(r,t,s),M(e,s,t))}function $(t){var e=t.$options.mpOptions||{},i=e.relations;i&&Object.keys(i).forEach((function(e){(function(t,e){var i=t.type;"parent"===i?F(e,t,(function(t,e){return E(t.$parent,e,"child")})):"ancestor"===i&&F(e,t,(function(t,e){var i=t.$parent;while(i){var n=E(i,e,"descendant");if(n.length)return n;i=i.$parent}return[]}))})(i[e],t)}))}function R(t,e){var i=t["_$".concat(e,"Handlers")];i&&i.forEach((function(t){return t()}))}var N={enumerable:!0,configurable:!0,get:g,set:g};function j(t,e,i){N.get=function(){return this[e][i]},N.set=function(t){this[e][i]=t},Object.defineProperty(t,i,N)}function U(t,e){var i=this;f(t)&&(Object.keys(t).forEach((function(e){(function(t,e,i){var n=t.replace(/\[(\d+?)\]/g,".$1").split(".");return n.reduce((function(t,i,a){if(a!==n.length-1)return"undefined"===typeof t[i]&&(t[i]={}),t[i];t[i]=e}),i),1===n.length})(e,t[e],i.data)&&!p(i,e)&&j(i,"__data__",e)})),this.$forceUpdate(),d(e)&&this.$nextTick(e))}var B=Object.prototype.toString,z=function(t){return function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=arguments.length>1?arguments[1]:void 0,n=B.call(i);if("[object Array]"===n)return e=i.slice(0),e;if("[object Object]"===n){for(var a in i)e[a]=t(e[a],i[a]);return e}if("[object Date]"===n)return new Date(i.getTime());if("[object RegExp]"===n){var r=String(i),o=r.lastIndexOf("/");return new RegExp(r.slice(1,o),r.slice(o+1))}return i}("[object Array]"===B.call(t)?[]:{},t)},W=(a={},(0,r.default)(a,String,""),(0,r.default)(a,Number,0),(0,r.default)(a,Boolean,!1),(0,r.default)(a,Object,null),(0,r.default)(a,Array,[]),(0,r.default)(a,null,null),a);function q(t){return W[t]}function H(t){return f(t)?t.type:t}function G(t,e,i,n){var a=i[t];if(void 0!==a){var r=e[t],o=H(r);a=J(a,o);var s=r&&r.observer;return s&&setTimeout((function(){V(s,n,a)}),4),a}return function(t){return f(t)?p(t,"value")?t.value:q(t.type):q(t)}(e[t])}function J(t,e){return e===Boolean?!!t:e===String?String(t):t}function V(t,e,i,n){try{"function"===typeof t?t.call(e,i,n):"string"===typeof t&&"function"===typeof e[t]&&e[t](i,n)}catch(a){console.error("execute observer ".concat(t," callback fail! err: ").concat(a))}}function K(t){var e=t.$options.mpOptions&&t.$options.mpOptions.properties,i=t.$options.propsData;i&&e&&Object.keys(e).forEach((function(n){p(i,n)&&(t[n]=J(i[n],H(e[n])))}))}function X(t){var e=JSON.parse(JSON.stringify(t.$options.mpOptions.data||{}));t["__data__"]=e;var i={get:function(){return t["__data__"]},set:function(e){t["__data__"]=e}};Object.defineProperties(t,{data:i,properties:i}),t.setData=U,function(t,e){var i=t.$options.mpOptions.properties;if(i){var n=z(t.$options.propsData)||{},a=function(a){var r=!!f(i[a])&&i[a].observer,o=G(a,i,n,t);Object.defineProperty(e,a,{enumerable:!0,configurable:!0,get:function(){return o},set:function(e){var i=o;e===o||e!==e&&o!==o||(o=Array.isArray(e)?e.slice(0):e,r&&V(r,t,e,i),t.$forceUpdate())}})};for(var r in i)a(r)}}(t,e),Object.keys(e).forEach((function(e){j(t,"__data__",e)}))}var Y={beforeCreate:function(){this._renderProxy=this,this._$self=this,this._$noop=g},created:function(){X(this),function(t){var e=t.$emit;t.triggerEvent=function(i,n,a){var r={dataset:t.$el.dataset},o={target:r,currentTarget:r,detail:n,preventDefault:g,stopPropagation:g};e.call(t,i,o)},t.$emit=function(){t.triggerEvent.apply(t,arguments)},t.getRelationNodes=function(e){return(t._$relationNodes&&t._$relationNodes[e]||[]).filter((function(t){return!t._isDestroyed}))},t._$updateProperties=K}(this),$(this)},mounted:function(){(function(t){var e=t.$options.watch;e&&Object.keys(e).forEach((function(i){var n=e[i];if(n.mounted){var a=t[i],r=n.handler;"string"===typeof r&&(r=t[r]),r&&r.call(t,a,a)}}))})(this)},destroyed:function(){R(this,"unlinked")}};t.__wxRoute="",t.__wxComponents=Object.create(null),t.__wxVueOptions=Object.create(null);var Q=s.default.nextTick;e.nextTick=Q;var Z=uni.__$wx__,tt=Z;e.default=tt}).call(this,i("0ee4"))},ee10:function(t,e){function i(t,e,i,n,a,r,o){try{var s=t[r](o),c=s.value}catch(l){return void i(l)}s.done?e(c):Promise.resolve(c).then(n,a)}t.exports=function(t){return function(){var e=this,n=arguments;return new Promise((function(a,r){var o=t.apply(e,n);function s(t){i(o,a,r,s,c,"next",t)}function c(t){i(o,a,r,s,c,"throw",t)}s(void 0)}))}},t.exports.__esModule=!0,t.exports["default"]=t.exports},ee34:function(t,e,i){"use strict";i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return r})),i.d(e,"a",(function(){return n}));var n={qiunLoading:i("5f21").default,qiunError:i("9eba").default},a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("view",{staticClass:t._$s(0,"sc","chartsview"),attrs:{id:t._$s(0,"a-id","ChartBoxId"+t.cid),_i:0}},[t._$s(1,"i",t.mixinDatacomLoading)?i("view",{attrs:{_i:1}},[i("qiun-loading",{attrs:{loadingType:t.loadingType,_i:2}})],1):t._e(),t._$s(3,"i",t.mixinDatacomErrorMessage&&t.errorShow)?i("view",{attrs:{_i:3},on:{click:t.reloading}},[i("qiun-error",{attrs:{errorMessage:t.errorMessage,_i:4}})],1):t._e(),t._$s(5,"i",t.echarts)?[i("view",{directives:[{name:"show",rawName:"v-show",value:t._$s(6,"v-show",t.showchart),expression:"_$s(6,'v-show',showchart)"}],wxsProps:{"change:resize":"echartsResize","change:prop":"echartsOpts"},style:t._$s(6,"s",{background:t.background}),attrs:{"data-directory":t._$s(6,"a-data-directory",t.directory),id:t._$s(6,"a-id","EC"+t.cid),prop:t._$s(6,"change:echartsOpts",t.echartsOpts),resize:t._$s(6,"change:echartsResize",t.echartsResize),_i:6}})]:[i("view",{wxsProps:{"change:prop":"uchartsOpts"},attrs:{id:t._$s(8,"a-id","UC"+t.cid),prop:t._$s(8,"change:uchartsOpts",t.uchartsOpts),_i:8},on:{}},[i("canvas",{directives:[{name:"show",rawName:"v-show",value:t._$s(9,"v-show",t.showchart),expression:"_$s(9,'v-show',showchart)"}],style:t._$s(9,"s",{width:t.cWidth+"px",height:t.cHeight+"px",background:t.background}),attrs:{id:t._$s(9,"a-id",t.cid),canvasId:t._$s(9,"a-canvasId",t.cid),"disable-scroll":t._$s(9,"a-disable-scroll",t.disableScroll),_i:9},on:{error:t._error}})])]],2)},r=[]},f3b9:function(t,e,i){"use strict";function n(t){var e=Object.prototype.toString.call(t);return e.substring(8,e.length-1)}function a(){return"string"===typeof __channelId__&&__channelId__}function r(t,e){switch(n(e)){case"Function":return"function() { [native code] }";default:return e}}function o(t){for(var e=arguments.length,i=new Array(e>1?e-1:0),n=1;n<e;n++)i[n-1]=arguments[n];console[t].apply(console,i)}function s(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];var o=e.shift();if(a())return e.push(e.pop().replace("at ","uni-app:///")),console[o].apply(console,e);var s=e.map((function(t){var e=Object.prototype.toString.call(t).toLowerCase();if("[object object]"===e||"[object array]"===e)try{t="---BEGIN:JSON---"+JSON.stringify(t,r)+"---END:JSON---"}catch(a){t=e}else if(null===t)t="---NULL---";else if(void 0===t)t="---UNDEFINED---";else{var i=n(t).toUpperCase();t="NUMBER"===i||"BOOLEAN"===i?"---BEGIN:"+i+"---"+t+"---END:"+i+"---":String(t)}return t})),c="";if(s.length>1){var l=s.pop();c=s.join("---COMMA---"),0===l.indexOf(" at ")?c+=l:c+="---COMMA---"+l}else c=s[0];console[o](c)}i.r(e),i.d(e,"log",(function(){return o})),i.d(e,"default",(function(){return s}))},f545:function(t,e,i){"use strict";(function(t){var n=i("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.EventDispatcher=void 0;var a=n(i("3352")),r=n(i("8ffa")),o=n(i("4ffb")),s=n(i("b4d2")),c=n(i("67ad")),l=n(i("0bdb")),u=n(i("7ca3"));function h(t){var e=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var i,n=(0,s.default)(t);if(e){var a=(0,s.default)(this).constructor;i=Reflect.construct(n,arguments,a)}else i=n.apply(this,arguments);return(0,o.default)(this,i)}}var d=function(){function e(){(0,c.default)(this,e)}return(0,l.default)(e,[{key:"log",value:function(e,i){t("log","%c ".concat(e," %c ").concat(i," %c"),"background:".concat("#ff4d4f",";border:1px solid ").concat("#ff4d4f","; padding: 1px; border-radius: 2px 0 0 2px; color: #fff;"),"border:1px solid ".concat("#ff4d4f","; padding: 1px; border-radius: 0 2px 2px 0; color: ").concat("#ff4d4f",";"),"background:transparent"," at static/js/dispatcher.js:7")}},{key:"closeConsole",value:function(){e.console=!1}}]),e}();(0,u.default)(d,"console",!0);var f=function(t){(0,r.default)(i,t);var e=h(i);function i(){var t;(0,c.default)(this,i);for(var n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return t=e.call.apply(e,[this].concat(r)),(0,u.default)((0,a.default)(t),"listeners",{}),t}return(0,l.default)(i,[{key:"addEventListener",value:function(t,e){this.listeners[t]||(this.listeners[t]=[]),-1===this.listeners[t].indexOf(e)&&this.listeners[t].push(e)}},{key:"removeEventListener",value:function(t){this.listeners[t]=[]}},{key:"dispatchEvent",value:function(t,e){var i=this,n=this.listeners[t]||[];0!==n.length&&n.forEach((function(t){t.call(i,e)}))}}]),i}(d);e.EventDispatcher=f}).call(this,i("f3b9")["default"])},f92d:function(t,e,i){"use strict";(function(t){var n=i("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=n(i("af34")),r=n(i("3b2d")),o=n(i("7ca3")),s=i("c552");function c(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.push.apply(i,n)}return i}function l(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?c(Object(i),!0).forEach((function(e){(0,o.default)(t,e,i[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):c(Object(i)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))}))}return t}var u={name:"uniTransition",emits:["click","change"],props:{show:{type:Boolean,default:!1},modeClass:{type:[Array,String],default:function(){return"fade"}},duration:{type:Number,default:300},styles:{type:Object,default:function(){return{}}},customClass:{type:String,default:""}},data:function(){return{isShow:!1,transform:"",opacity:1,animationData:{},durationTime:300,config:{}}},watch:{show:{handler:function(t){t?this.open():this.isShow&&this.close()},immediate:!0}},computed:{stylesObject:function(){var t=l(l({},this.styles),{},{"transition-duration":this.duration/1e3+"s"}),e="";for(var i in t){var n=this.toLine(i);e+=n+":"+t[i]+";"}return e},transformStyles:function(){return"transform:"+this.transform+";opacity:"+this.opacity+";"+this.stylesObject}},created:function(){this.config={duration:this.duration,timingFunction:"ease",transformOrigin:"50% 50%",delay:0},this.durationTime=this.duration},methods:{init:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};t.duration&&(this.durationTime=t.duration),this.animation=(0,s.createAnimation)(Object.assign(this.config,t),this)},onClick:function(){this.$emit("click",{detail:this.isShow})},step:function(e){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(this.animation){for(var n in e)try{var o;if("object"===(0,r.default)(e[n]))(o=this.animation)[n].apply(o,(0,a.default)(e[n]));else this.animation[n](e[n])}catch(s){t("error","\u65b9\u6cd5 ".concat(n," \u4e0d\u5b58\u5728")," at uni_modules/uni-transition/components/uni-transition/uni-transition.vue:139")}return this.animation.step(i),this}},run:function(t){this.animation&&this.animation.run(t)},open:function(){var t=this;clearTimeout(this.timer),this.transform="",this.isShow=!0;var e=this.styleInit(!1),i=e.opacity,n=e.transform;"undefined"!==typeof i&&(this.opacity=i),this.transform=n,this.$nextTick((function(){t.timer=setTimeout((function(){t.animation=(0,s.createAnimation)(t.config,t),t.tranfromInit(!1).step(),t.animation.run(),t.$emit("change",{detail:t.isShow})}),20)}))},close:function(t){var e=this;this.animation&&this.tranfromInit(!0).step().run((function(){e.isShow=!1,e.animationData=null,e.animation=null;var t=e.styleInit(!1),i=t.opacity,n=t.transform;e.opacity=i||1,e.transform=n,e.$emit("change",{detail:e.isShow})}))},styleInit:function(t){var e=this,i={transform:""},n=function(t,n){"fade"===n?i.opacity=e.animationType(t)[n]:i.transform+=e.animationType(t)[n]+" "};return"string"===typeof this.modeClass?n(t,this.modeClass):this.modeClass.forEach((function(e){n(t,e)})),i},tranfromInit:function(t){var e=this,i=function(t,i){var n=null;"fade"===i?n=t?0:1:(n=t?"-100%":"0","zoom-in"===i&&(n=t?.8:1),"zoom-out"===i&&(n=t?1.2:1),"slide-right"===i&&(n=t?"100%":"0"),"slide-bottom"===i&&(n=t?"100%":"0")),e.animation[e.animationMode()[i]](n)};return"string"===typeof this.modeClass?i(t,this.modeClass):this.modeClass.forEach((function(e){i(t,e)})),this.animation},animationType:function(t){return{fade:t?1:0,"slide-top":"translateY(".concat(t?"0":"-100%",")"),"slide-right":"translateX(".concat(t?"0":"100%",")"),"slide-bottom":"translateY(".concat(t?"0":"100%",")"),"slide-left":"translateX(".concat(t?"0":"-100%",")"),"zoom-in":"scaleX(".concat(t?1:.8,") scaleY(").concat(t?1:.8,")"),"zoom-out":"scaleX(".concat(t?1:1.2,") scaleY(").concat(t?1:1.2,")")}},animationMode:function(){return{fade:"opacity","slide-top":"translateY","slide-right":"translateX","slide-bottom":"translateY","slide-left":"translateX","zoom-in":"scale","zoom-out":"scale"}},toLine:function(t){return t.replace(/([A-Z])/g,"-$1").toLowerCase()}}};e.default=u}).call(this,i("f3b9")["default"])}},[["dd49","app-config"]]]);
\ No newline at end of file
diff --git a/Monitor-APP/unpackage/cache/wgt/__UNI__CA903B7/app-view.js b/Monitor-APP/unpackage/cache/wgt/__UNI__CA903B7/app-view.js
index b2d5e23..3e9b0cc 100644
--- a/Monitor-APP/unpackage/cache/wgt/__UNI__CA903B7/app-view.js
+++ b/Monitor-APP/unpackage/cache/wgt/__UNI__CA903B7/app-view.js
@@ -1 +1 @@
-(function(t){var e={};function a(n){if(e[n])return e[n].exports;var i=e[n]={i:n,l:!1,exports:{}};return t[n].call(i.exports,i,i.exports,a),i.l=!0,i.exports}a.m=t,a.c=e,a.d=function(t,e,n){a.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},a.r=function(t){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},a.t=function(t,e){if(1&e&&(t=a(t)),8&e)return t;if(4&e&&"object"===typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(a.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)a.d(n,i,function(e){return t[e]}.bind(null,i));return n},a.n=function(t){var e=t&&t.__esModule?function(){return t["default"]}:function(){return t};return a.d(e,"a",e),e},a.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},a.p="./",a(a.s="dd49")})({"02c7":function(t,e,a){var n=a("7ec4");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var i=a("b49c").default;i("303990ea",n,!0,{sourceMap:!1,shadowMode:!1})},"02de":function(t,e,a){"use strict";var n=a("e924"),i=a.n(n);i.a},"04cd":function(t,e,a){"use strict";a.r(e);var n=a("675d"),i=a.n(n);for(var r in n)["default"].indexOf(r)<0&&function(t){a.d(e,t,(function(){return n[t]}))}(r);e["default"]=i.a},"0671":function(t,e,a){"use strict";a.r(e);var n=a("cc61"),i=a.n(n);for(var r in n)["default"].indexOf(r)<0&&function(t){a.d(e,t,(function(){return n[t]}))}(r);e["default"]=i.a},"078f":function(t,e,a){"use strict";a.r(e);var n=a("21fb"),i=a.n(n);for(var r in n)["default"].indexOf(r)<0&&function(t){a.d(e,t,(function(){return n[t]}))}(r);e["default"]=i.a},"0cb4":function(t,e,a){"use strict";var n=a("dd22"),i=a.n(n);i.a},"17c3":function(t,e,a){"use strict";(function(t){var n=a("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(a("34cf")),r=n(a("3b2d")),o={version:"v2.4.4-20221102",yAxisWidth:15,xAxisHeight:22,xAxisTextPadding:3,padding:[10,10,10,10],pixelRatio:1,rotate:!1,fontSize:13,fontColor:"#666666",dataPointShape:["circle","circle","circle","circle"],color:["#1890FF","#91CB74","#FAC858","#EE6666","#73C0DE","#3CA272","#FC8452","#9A60B4","#ea7ccc"],linearColor:["#0EE2F8","#2BDCA8","#FA7D8D","#EB88E2","#2AE3A0","#0EE2F8","#EB88E2","#6773E3","#F78A85"],pieChartLinePadding:15,pieChartTextPadding:5,titleFontSize:20,subtitleFontSize:15,toolTipPadding:3,toolTipBackground:"#000000",toolTipOpacity:.7,toolTipLineHeight:20,radarLabelTextMargin:13},s=function(t){for(var e=arguments.length,a=new Array(e>1?e-1:0),n=1;n<e;n++)a[n-1]=arguments[n];if(null==t)throw new TypeError("[uCharts] Cannot convert undefined or null to object");if(!a||a.length<=0)return t;function i(t,e){for(var a in e)t[a]=t[a]&&"[object Object]"===t[a].toString()?i(t[a],e[a]):t[a]=e[a];return t}return a.forEach((function(e){t=i(t,e)})),t},l={toFixed:function(t,e){return e=e||2,this.isFloat(t)&&(t=t.toFixed(e)),t},isFloat:function(t){return t%1!==0},approximatelyEqual:function(t,e){return Math.abs(t-e)<1e-10},isSameSign:function(t,e){return Math.abs(t)===t&&Math.abs(e)===e||Math.abs(t)!==t&&Math.abs(e)!==e},isSameXCoordinateArea:function(t,e){return this.isSameSign(t.x,e.x)},isCollision:function(t,e){t.end={},t.end.x=t.start.x+t.width,t.end.y=t.start.y-t.height,e.end={},e.end.x=e.start.x+e.width,e.end.y=e.start.y-e.height;var a=e.start.x>t.end.x||e.end.x<t.start.x||e.end.y>t.start.y||e.start.y<t.end.y;return!a}};function c(t,e){var a=t.replace(/^#?([a-f\d])([a-f\d])([a-f\d])$/i,(function(t,e,a,n){return e+e+a+a+n+n})),n=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(a),i=parseInt(n[1],16),r=parseInt(n[2],16),o=parseInt(n[3],16);return"rgba("+i+","+r+","+o+","+e+")"}function d(t,e,a){if(isNaN(t))throw new Error("[uCharts] series\u6570\u636e\u9700\u4e3aNumber\u683c\u5f0f");a=a||10,e=e||"upper";var n=1;while(a<1)a*=10,n*=10;t="upper"===e?Math.ceil(t*n):Math.floor(t*n);while(t%a!==0)if("upper"===e){if(t==t+1)break;t++}else t--;return t/n}function h(t,e,a,n,i){var r=i.width-i.area[1]-i.area[3],o=a.eachSpacing*(i.chartData.xAxisData.xAxisPoints.length-1);"mount"==i.type&&i.extra&&i.extra.mount&&i.extra.mount.widthRatio&&i.extra.mount.widthRatio>1&&(i.extra.mount.widthRatio>2&&(i.extra.mount.widthRatio=2),o+=(i.extra.mount.widthRatio-1)*a.eachSpacing);var s=e;return e>=0?(s=0,t.uevent.trigger("scrollLeft"),t.scrollOption.position="left",i.xAxis.scrollPosition="left"):Math.abs(e)>=o-r?(s=r-o,t.uevent.trigger("scrollRight"),t.scrollOption.position="right",i.xAxis.scrollPosition="right"):(t.scrollOption.position=e,i.xAxis.scrollPosition=e),s}function u(t,e,a){function n(t){while(t<0)t+=2*Math.PI;while(t>2*Math.PI)t-=2*Math.PI;return t}return t=n(t),e=n(e),a=n(a),e>a&&(a+=2*Math.PI,t<e&&(t+=2*Math.PI)),t>=e&&t<=a}function f(t,e){function a(t,e){return!(!t[e-1]||!t[e+1])&&(t[e].y>=Math.max(t[e-1].y,t[e+1].y)||t[e].y<=Math.min(t[e-1].y,t[e+1].y))}function n(t,e){return!(!t[e-1]||!t[e+1])&&(t[e].x>=Math.max(t[e-1].x,t[e+1].x)||t[e].x<=Math.min(t[e-1].x,t[e+1].x))}var i=.2,r=.2,o=null,s=null,l=null,c=null;if(e<1?(o=t[0].x+(t[1].x-t[0].x)*i,s=t[0].y+(t[1].y-t[0].y)*i):(o=t[e].x+(t[e+1].x-t[e-1].x)*i,s=t[e].y+(t[e+1].y-t[e-1].y)*i),e>t.length-3){var d=t.length-1;l=t[d].x-(t[d].x-t[d-1].x)*r,c=t[d].y-(t[d].y-t[d-1].y)*r}else l=t[e+1].x-(t[e+2].x-t[e].x)*r,c=t[e+1].y-(t[e+2].y-t[e].y)*r;return a(t,e+1)&&(c=t[e+1].y),a(t,e)&&(s=t[e].y),n(t,e+1)&&(l=t[e+1].x),n(t,e)&&(o=t[e].x),(s>=Math.max(t[e].y,t[e+1].y)||s<=Math.min(t[e].y,t[e+1].y))&&(s=t[e].y),(c>=Math.max(t[e].y,t[e+1].y)||c<=Math.min(t[e].y,t[e+1].y))&&(c=t[e+1].y),(o>=Math.max(t[e].x,t[e+1].x)||o<=Math.min(t[e].x,t[e+1].x))&&(o=t[e].x),(l>=Math.max(t[e].x,t[e+1].x)||l<=Math.min(t[e].x,t[e+1].x))&&(l=t[e+1].x),{ctrA:{x:o,y:s},ctrB:{x:l,y:c}}}function p(t,e,a){return{x:a.x+t,y:a.y-e}}function x(t,e){if(e)while(l.isCollision(t,e))t.start.x>0?t.start.y--:t.start.x<0||t.start.y>0?t.start.y++:t.start.y--;return t}function g(t,e,a){for(var n=0,i=0;i<t.length;i++){var r=t[i];if(r.color||(r.color=a.color[n],n=(n+1)%a.color.length),r.linearIndex||(r.linearIndex=i),r.index||(r.index=0),r.type||(r.type=e.type),"undefined"==typeof r.show&&(r.show=!0),r.type||(r.type=e.type),r.pointShape||(r.pointShape="circle"),!r.legendShape)switch(r.type){case"line":r.legendShape="line";break;case"column":case"bar":r.legendShape="rect";break;case"area":case"mount":r.legendShape="triangle";break;default:r.legendShape="circle"}}return t}function v(t,e,a,n){var i=e||[];if("custom"==t&&0==i.length&&(i=n.linearColor),"custom"==t&&i.length<a.length)for(var r=a.length-i.length,o=0;o<r;o++)i.push(n.linearColor[(o+1)%n.linearColor.length]);return i}function m(t,e){var a=0,n=e-t;return a=n>=1e4?1e3:n>=1e3?100:n>=100?10:n>=10?5:n>=1?1:n>=.1?.1:n>=.01?.01:n>=.001?.001:n>=1e-4?1e-4:n>=1e-5?1e-5:1e-6,{minRange:d(t,"lower",a),maxRange:d(e,"upper",a)}}function y(t,e,a){var n=0;if(t=String(t),!1!==a&&void 0!==a&&a.setFontSize&&a.measureText)return a.setFontSize(e),a.measureText(t).width;t=t.split("");for(var i=0;i<t.length;i++){var r=t[i];/[a-zA-Z]/.test(r)?n+=7:/[0-9]/.test(r)?n+=5.5:/\./.test(r)?n+=2.7:/-/.test(r)?n+=3.25:/:/.test(r)?n+=2.5:/[\u4e00-\u9fa5]/.test(r)?n+=10:/\(|\)/.test(r)?n+=3.73:/\s/.test(r)?n+=2.5:/%/.test(r)?n+=8:n+=10}return n*e/10}function b(t){return t.reduce((function(t,e){return(t.data?t.data:t).concat(e.data)}),[])}function w(t,e){for(var a=new Array(e),n=0;n<a.length;n++)a[n]=0;for(var i=0;i<t.length;i++)for(n=0;n<a.length;n++)a[n]+=t[i].data[n];return t.reduce((function(t,e){return(t.data?t.data:t).concat(e.data).concat(a)}),[])}function _(t,e,a){var n,i;return t.clientX?e.rotate?(i=e.height-t.clientX*e.pix,n=(t.pageY-a.currentTarget.offsetTop-e.height/e.pix/2*(e.pix-1))*e.pix):(n=t.clientX*e.pix,i=(t.pageY-a.currentTarget.offsetTop-e.height/e.pix/2*(e.pix-1))*e.pix):e.rotate?(i=e.height-t.x*e.pix,n=t.y*e.pix):(n=t.x*e.pix,i=t.y*e.pix),{x:n,y:i}}function C(t,e,a){var n=[],i=[],r=e.constructor.toString().indexOf("Array")>-1;if(r)for(var o=M(t),s=0;s<a.length;s++)i.push(o[a[s]]);else i=t;for(var l=0;l<i.length;l++){var c=i[l],d=-1;if(d=r?e[l]:e,null!==c.data[d]&&"undefined"!==typeof c.data[d]&&c.show){var h={};h.color=c.color,h.type=c.type,h.style=c.style,h.pointShape=c.pointShape,h.disableLegend=c.disableLegend,h.name=c.name,h.show=c.show,h.data=c.formatter?c.formatter(c.data[d]):c.data[d],n.push(h)}}return n}function A(t,e,a){var n=t.map((function(t){return y(t,e,a)}));return Math.max.apply(null,n)}function S(t){for(var e=2*Math.PI/t,a=[],n=0;n<t;n++)a.push(e*n);return a.map((function(t){return-1*t+Math.PI/2}))}function T(t,e,a,n,i){var r=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{},o=e.chartData.calPoints?e.chartData.calPoints:[],s={};if(n.length>0){for(var l=[],c=0;c<n.length;c++)l.push(o[n[c]]);s=l[0][a[0]]}else for(var d=0;d<o.length;d++)if(o[d][a]){s=o[d][a];break}var h=t.map((function(t){var n=null;return e.categories&&e.categories.length>0&&(n=i[a]),{text:r.formatter?r.formatter(t,n,a,e):t.name+": "+t.data,color:t.color}})),u={x:Math.round(s.x),y:Math.round(s.y)};return{textList:h,offset:u}}function k(t,e,a,n){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},r=e.chartData.xAxisPoints[a]+e.chartData.eachSpacing/2,o=t.map((function(t){return{text:i.formatter?i.formatter(t,n[a],a,e):t.name+": "+t.data,color:t.color,disableLegend:!!t.disableLegend}}));o=o.filter((function(t){if(!0!==t.disableLegend)return t}));var s={x:Math.round(r),y:0};return{textList:o,offset:s}}function P(t,e,a,n,i,r){var o=a.chartData.calPoints,s=r.color.upFill,l=r.color.downFill,c=[s,s,l,s],d=[];e.map((function(e){0==n?e.data[1]-e.data[0]<0?c[1]=l:c[1]=s:(e.data[0]<t[n-1][1]&&(c[0]=l),e.data[1]<e.data[0]&&(c[1]=l),e.data[2]>t[n-1][1]&&(c[2]=s),e.data[3]<t[n-1][1]&&(c[3]=l));var a={text:"\u5f00\u76d8\uff1a"+e.data[0],color:c[0]},i={text:"\u6536\u76d8\uff1a"+e.data[1],color:c[1]},r={text:"\u6700\u4f4e\uff1a"+e.data[2],color:c[2]},o={text:"\u6700\u9ad8\uff1a"+e.data[3],color:c[3]};d.push(a,i,r,o)}));for(var h=[],u={x:0,y:0},f=0;f<o.length;f++){var p=o[f];"undefined"!==typeof p[n]&&null!==p[n]&&h.push(p[n])}return u.x=Math.round(h[0][0].x),{textList:d,offset:u}}function M(t){for(var e=[],a=0;a<t.length;a++)1==t[a].show&&e.push(t[a]);return e}function D(t,e,a){return t.x<=e.width-e.area[1]+10&&t.x>=e.area[3]-10&&t.y>=e.area[0]&&t.y<=e.height-e.area[2]}function F(t,e,a){return Math.pow(t.x-e.x,2)+Math.pow(t.y-e.y,2)<=Math.pow(a,2)}function $(t,e){var a=[],n=[];return t.forEach((function(t,i){e.connectNulls?null!==t&&n.push(t):null!==t?n.push(t):(n.length&&a.push(n),n=[])})),n.length&&a.push(n),a}function L(t,e,a,n,i){var r={angle:0,xAxisHeight:a.xAxisHeight},o=e.xAxis.fontSize*e.pix||a.fontSize,s=t.map((function(t,a){var n=e.xAxis.formatter?e.xAxis.formatter(t,a,e):t;return y(String(n),o,i)})),l=Math.max.apply(this,s);if(1==e.xAxis.rotateLabel){r.angle=e.xAxis.rotateAngle*Math.PI/180;var c=2*a.xAxisTextPadding+Math.abs(l*Math.sin(r.angle));c=c<o+2*a.xAxisTextPadding?c+2*a.xAxisTextPadding:c,1==e.enableScroll&&1==e.xAxis.scrollShow&&(c+=12*e.pix),r.xAxisHeight=c}return e.xAxis.disabled&&(r.xAxisHeight=0),r}function O(t,e,a,n){var i=s({},{type:""},e.extra.bar),o={angle:0,xAxisHeight:a.xAxisHeight};o.ranges=function(t,e,a,n){var i,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:-1;i="stack"==n?w(t,e.categories.length):b(t);var s=[];i=i.filter((function(t){return"object"===(0,r.default)(t)&&null!==t?t.constructor.toString().indexOf("Array")>-1?null!==t:null!==t.value:null!==t})),i.map((function(t){"object"===(0,r.default)(t)?t.constructor.toString().indexOf("Array")>-1?"candle"==e.type?t.map((function(t){s.push(t)})):s.push(t[0]):s.push(t.value):s.push(t)}));var l=0,c=0;if(s.length>0&&(l=Math.min.apply(this,s),c=Math.max.apply(this,s)),o>-1?("number"===typeof e.xAxis.data[o].min&&(l=Math.min(e.xAxis.data[o].min,l)),"number"===typeof e.xAxis.data[o].max&&(c=Math.max(e.xAxis.data[o].max,c))):("number"===typeof e.xAxis.min&&(l=Math.min(e.xAxis.min,l)),"number"===typeof e.xAxis.max&&(c=Math.max(e.xAxis.max,c))),l===c){var d=c||10;c+=d}for(var h=l,u=c,f=[],p=(u-h)/e.xAxis.splitNumber,x=0;x<=e.xAxis.splitNumber;x++)f.push(h+p*x);return f}(t,e,a,i.type),o.rangesFormat=o.ranges.map((function(t){return t=l.toFixed(t,2),t}));var c=o.ranges.map((function(t){return t=l.toFixed(t,2),t}));o=Object.assign(o,X(c,e,a));var d=o.eachSpacing,h=c.map((function(t){return y(t,e.xAxis.fontSize*e.pix||a.fontSize,n)})),u=Math.max.apply(this,h);return u+2*a.xAxisTextPadding>d&&(o.angle=45*Math.PI/180,o.xAxisHeight=2*a.xAxisTextPadding+u*Math.sin(o.angle)),!0===e.xAxis.disabled&&(o.xAxisHeight=0),o}function I(t,e,a,n,i){var r=arguments.length>5&&void 0!==arguments[5]?arguments[5]:1,o=i.extra.radar||{};o.max=o.max||0;for(var s=Math.max(o.max,Math.max.apply(null,b(n))),l=[],c=function(i){var o=n[i],c={};c.color=o.color,c.legendShape=o.legendShape,c.pointShape=o.pointShape,c.data=[],o.data.forEach((function(n,i){var o={};o.angle=t[i],o.proportion=n/s,o.value=n,o.position=p(a*o.proportion*r*Math.cos(o.angle),a*o.proportion*r*Math.sin(o.angle),e),c.data.push(o)})),l.push(c)},d=0;d<n.length;d++)c(d);return l}function E(t,e){for(var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,n=0,i=0,r=0;r<t.length;r++){var o=t[r];o.data=null===o.data?0:o.data,n+=o.data}for(var s=0;s<t.length;s++){var l=t[s];l.data=null===l.data?0:l.data,l._proportion_=0===n?1/t.length*a:l.data/n*a,l._radius_=e}for(var c=0;c<t.length;c++){var d=t[c];d._start_=i,i+=2*d._proportion_*Math.PI}return t}function z(t,e,a,n){for(var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,r=0;r<t.length;r++)"funnel"==a.type?t[r].radius=t[r].data/t[0].data*e*i:t[r].radius=n*(t.length-r)/(n*t.length)*e*i,t[r]._proportion_=t[r].data/t[0].data;return t}function B(t,e,a,n){for(var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,r=0,o=0,s=[],l=0;l<t.length;l++){var c=t[l];c.data=null===c.data?0:c.data,r+=c.data,s.push(c.data)}for(var d=Math.min.apply(null,s),h=Math.max.apply(null,s),u=n-a,f=0;f<t.length;f++){var p=t[f];p.data=null===p.data?0:p.data,0===r?(p._proportion_=1/t.length*i,p._rose_proportion_=1/t.length*i):(p._proportion_=p.data/r*i,p._rose_proportion_="area"==e?1/t.length*i:p.data/r*i),p._radius_=a+u*((p.data-d)/(h-d))||n}for(var x=0;x<t.length;x++){var g=t[x];g._start_=o,o+=2*g._rose_proportion_*Math.PI}return t}function W(t,e){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;1==a&&(a=.999999);for(var n=0;n<t.length;n++){var i=t[n];i.data=null===i.data?0:i.data;var r=void 0;r="circle"==e.type?2:"ccw"==e.direction?e.startAngle<e.endAngle?2+e.startAngle-e.endAngle:e.startAngle-e.endAngle:e.endAngle<e.startAngle?2+e.endAngle-e.startAngle:e.startAngle-e.endAngle,i._proportion_=r*i.data*a+e.startAngle,"ccw"==e.direction&&(i._proportion_=e.startAngle-r*i.data*a),i._proportion_>=2&&(i._proportion_=i._proportion_%2)}return t}function R(t,e){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;1==a&&(a=.999999);for(var n=0;n<t.length;n++){var i=t[n];i.data=null===i.data?0:i.data;var r=void 0;r="circle"==e.type?2:e.endAngle<e.startAngle?2+e.endAngle-e.startAngle:e.startAngle-e.endAngle,i._proportion_=r*i.data*a+e.startAngle,i._proportion_>=2&&(i._proportion_=i._proportion_%2)}return t}function j(t,e,a){for(var n=e-a+1,i=e,r=0;r<t.length;r++)t[r].value=null===t[r].value?0:t[r].value,t[r]._startAngle_=i,t[r]._endAngle_=n*t[r].value+e,t[r]._endAngle_>=2&&(t[r]._endAngle_=t[r]._endAngle_%2),i=t[r]._endAngle_;return t}function G(t,e,a){for(var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1,i=0;i<t.length;i++){var r=t[i];if(r.data=null===r.data?0:r.data,"auto"==a.pointer.color){for(var o=0;o<e.length;o++)if(r.data<=e[o].value){r.color=e[o].color;break}}else r.color=a.pointer.color;var s=a.startAngle-a.endAngle+1;r._endAngle_=s*r.data+a.startAngle,r._oldAngle_=a.oldAngle,a.oldAngle<a.endAngle&&(r._oldAngle_+=2),r.data>=a.oldData?r._proportion_=(r._endAngle_-r._oldAngle_)*n+a.oldAngle:r._proportion_=r._oldAngle_-(r._oldAngle_-r._endAngle_)*n,r._proportion_>=2&&(r._proportion_=r._proportion_%2)}return t}function N(t,e,a,n,i,r){return t.map((function(t){if(null===t)return null;var i=0,o=0;return"mix"==r.type?(i=r.extra.mix.column.seriesGap*r.pix||0,o=r.extra.mix.column.categoryGap*r.pix||0):(i=r.extra.column.seriesGap*r.pix||0,o=r.extra.column.categoryGap*r.pix||0),i=Math.min(i,e/a),o=Math.min(o,e/a),t.width=Math.ceil((e-2*o-i*(a-1))/a),r.extra.mix&&r.extra.mix.column.width&&+r.extra.mix.column.width>0&&(t.width=Math.min(t.width,+r.extra.mix.column.width*r.pix)),r.extra.column&&r.extra.column.width&&+r.extra.column.width>0&&(t.width=Math.min(t.width,+r.extra.column.width*r.pix)),t.width<=0&&(t.width=1),t.x+=(n+.5-a/2)*(t.width+i),t}))}function Y(t,e,a,n,i,r){return t.map((function(t){if(null===t)return null;var i=0,o=0;return i=r.extra.bar.seriesGap*r.pix||0,o=r.extra.bar.categoryGap*r.pix||0,i=Math.min(i,e/a),o=Math.min(o,e/a),t.width=Math.ceil((e-2*o-i*(a-1))/a),r.extra.bar&&r.extra.bar.width&&+r.extra.bar.width>0&&(t.width=Math.min(t.width,+r.extra.bar.width*r.pix)),t.width<=0&&(t.width=1),t.y+=(n+.5-a/2)*(t.width+i),t}))}function U(t,e,a,n,i,r,o){var s=r.extra.column.categoryGap*r.pix||0;return t.map((function(t){return null===t?null:(t.width=e-2*s,r.extra.column&&r.extra.column.width&&+r.extra.column.width>0&&(t.width=Math.min(t.width,+r.extra.column.width*r.pix)),n>0&&(t.width-=o),t)}))}function V(t,e,a,n,i,r,o){var s=r.extra.column.categoryGap*r.pix||0;return t.map((function(t,a){return null===t?null:(t.width=Math.ceil(e-2*s),r.extra.column&&r.extra.column.width&&+r.extra.column.width>0&&(t.width=Math.min(t.width,+r.extra.column.width*r.pix)),t.width<=0&&(t.width=1),t)}))}function H(t,e,a,n,i,r,o){var s=r.extra.bar.categoryGap*r.pix||0;return t.map((function(t,a){return null===t?null:(t.width=Math.ceil(e-2*s),r.extra.bar&&r.extra.bar.width&&+r.extra.bar.width>0&&(t.width=Math.min(t.width,+r.extra.bar.width*r.pix)),t.width<=0&&(t.width=1),t)}))}function X(t,e,a){var n=e.width-e.area[1]-e.area[3],i=e.enableScroll?Math.min(e.xAxis.itemCount,t.length):t.length;("line"==e.type||"area"==e.type||"scatter"==e.type||"bubble"==e.type||"bar"==e.type)&&i>1&&"justify"==e.xAxis.boundaryGap&&(i-=1);var r=0;"mount"==e.type&&e.extra&&e.extra.mount&&e.extra.mount.widthRatio&&e.extra.mount.widthRatio>1&&(e.extra.mount.widthRatio>2&&(e.extra.mount.widthRatio=2),r=e.extra.mount.widthRatio-1,i+=r);var o=n/i,s=[],l=e.area[3],c=e.width-e.area[1];return t.forEach((function(t,e){s.push(l+r/2*o+e*o)})),"justify"!==e.xAxis.boundaryGap&&(!0===e.enableScroll?s.push(l+r*o+t.length*o):s.push(c)),{xAxisPoints:s,startX:l,endX:c,eachSpacing:o}}function q(t,e,a,n,i,r,o){var s=arguments.length>7&&void 0!==arguments[7]?arguments[7]:1,l=[],c=r.height-r.area[0]-r.area[2];return t.forEach((function(t,o){if(null===t)l.push(null);else{var d=[];t.forEach((function(t,l){var h={};h.x=n[o]+Math.round(i/2);var u=t.value||t,f=c*(u-e)/(a-e);f*=s,h.y=r.height-Math.round(f)-r.area[2],d.push(h)})),l.push(d)}})),l}function J(t,e,a,n,i,o,s){var l=arguments.length>7&&void 0!==arguments[7]?arguments[7]:1,c="center";"line"!=o.type&&"area"!=o.type&&"scatter"!=o.type&&"bubble"!=o.type||(c=o.xAxis.boundaryGap);var d=[],h=o.height-o.area[0]-o.area[2],u=o.width-o.area[1]-o.area[3];return t.forEach((function(t,s){if(null===t)d.push(null);else{var f={};f.color=t.color,f.x=n[s];var p,x,g,v=t;if("object"===(0,r.default)(t)&&null!==t)if(t.constructor.toString().indexOf("Array")>-1)p=[].concat(o.chartData.xAxisData.ranges),x=p.shift(),g=p.pop(),v=t[1],f.x=o.area[3]+u*(t[0]-x)/(g-x),"bubble"==o.type&&(f.r=t[2],f.t=t[3]);else v=t.value;"center"==c&&(f.x+=i/2);var m=h*(v-e)/(a-e);m*=l,f.y=o.height-m-o.area[2],d.push(f)}})),d}function Q(t,e,a,n,i,r,o){var s=arguments.length>7&&void 0!==arguments[7]?arguments[7]:1,l=[],c=r.height-r.area[0]-r.area[2],d=(r.width,r.area[1],r.area[3],i*o.widthRatio);return t.forEach((function(t,o){if(null===t)l.push(null);else{var h={};h.color=t.color,h.x=n[o],h.x+=i/2;var u=t.data,f=c*(u-e)/(a-e);f*=s,h.y=r.height-f-r.area[2],h.value=u,h.width=d,l.push(h)}})),l}function Z(t,e,a,n,i,o,s){var l=arguments.length>7&&void 0!==arguments[7]?arguments[7]:1,c=[],d=(o.height,o.area[0],o.area[2],o.width-o.area[1]-o.area[3]);return t.forEach((function(t,i){if(null===t)c.push(null);else{var s={};s.color=t.color,s.y=n[i];var h=t;"object"===(0,r.default)(t)&&null!==t&&(h=t.value);var u=d*(h-e)/(a-e);u*=l,s.height=u,s.value=h,s.x=u+o.area[3],c.push(s)}})),c}function K(t,e,a,n,i,o,s,l,c){var d=arguments.length>9&&void 0!==arguments[9]?arguments[9]:1,h=[],u=o.height-o.area[0]-o.area[2];return t.forEach((function(t,s){if(null===t)h.push(null);else{var f={};if(f.color=t.color,f.x=n[s]+Math.round(i/2),l>0){for(var p=0,x=0;x<=l;x++)p+=c[x].data[s];var g=p-t,v=u*(p-e)/(a-e),m=u*(g-e)/(a-e)}else{p=t;"object"===(0,r.default)(t)&&null!==t&&(p=t.value);v=u*(p-e)/(a-e),m=0}var y=m;v*=d,y*=d,f.y=o.height-Math.round(v)-o.area[2],f.y0=o.height-Math.round(y)-o.area[2],h.push(f)}})),h}function tt(t,e,a,n,i,o,s,l,c){var d=arguments.length>9&&void 0!==arguments[9]?arguments[9]:1,h=[],u=o.width-o.area[1]-o.area[3];return t.forEach((function(t,i){if(null===t)h.push(null);else{var s={};if(s.color=t.color,s.y=n[i],l>0){for(var f=0,p=0;p<=l;p++)f+=c[p].data[i];var x=f-t,g=u*(f-e)/(a-e),v=u*(x-e)/(a-e)}else{f=t;"object"===(0,r.default)(t)&&null!==t&&(f=t.value);g=u*(f-e)/(a-e),v=0}var m=v;g*=d,m*=d,s.height=g-m,s.x=o.area[3]+g,s.x0=o.area[3]+m,h.push(s)}})),h}function et(t,e,a,n,i){var o;o="stack"==n?w(t,e.categories.length):b(t);var s=[];o=o.filter((function(t){return"object"===(0,r.default)(t)&&null!==t?t.constructor.toString().indexOf("Array")>-1?null!==t:null!==t.value:null!==t})),o.map((function(t){"object"===(0,r.default)(t)?t.constructor.toString().indexOf("Array")>-1?"candle"==e.type?t.map((function(t){s.push(t)})):s.push(t[1]):s.push(t.value):s.push(t)}));var l=i.min||0,c=i.max||0;s.length>0&&(l=Math.min.apply(this,s),c=Math.max.apply(this,s)),l===c&&(0==c?c=10:l=0);for(var d=m(l,c),h=void 0===i.min||null===i.min?d.minRange:i.min,u=void 0===i.max||null===i.max?d.maxRange:i.max,f=(u-h)/e.yAxis.splitNumber,p=[],x=0;x<=e.yAxis.splitNumber;x++)p.push(h+f*x);return p.reverse()}function at(t,e,a,n){var i=s({},{type:""},e.extra.column),r=e.yAxis.data.length,o=new Array(r);if(r>0){for(var c=0;c<r;c++){o[c]=[];for(var d=0;d<t.length;d++)t[d].index==c&&o[c].push(t[d])}for(var h=new Array(r),u=new Array(r),f=new Array(r),p=function(t){var r=e.yAxis.data[t];1==e.yAxis.disabled&&(r.disabled=!0),"categories"===r.type?(r.formatter||(r.formatter=function(t,e,a){return t+(r.unit||"")}),r.categories=r.categories||e.categories,h[t]=r.categories):(r.formatter||(r.formatter=function(t,e,a){return l.toFixed(t,r.tofix||0)+(r.unit||"")}),h[t]=et(o[t],e,a,i.type,r,t));var s=r.fontSize*e.pix||a.fontSize;f[t]={position:r.position?r.position:"left",width:0},u[t]=h[t].map((function(a,i){return a=r.formatter(a,i,e),f[t].width=Math.max(f[t].width,y(a,s,n)+5),a}));var c=r.calibration?4*e.pix:0;f[t].width+=c+3*e.pix,!0===r.disabled&&(f[t].width=0)},x=0;x<r;x++)p(x)}else{h=new Array(1),u=new Array(1),f=new Array(1);"bar"===e.type?h[0]=e.categories:h[0]=et(t,e,a,i.type,{}),f[0]={position:"left",width:0},!0===e.yAxis.disabled?(f[0]={position:"left",width:0},e.yAxis.data[0]={disabled:!0}):(e.yAxis.data[0]={disabled:!1,position:"left",max:e.yAxis.max,min:e.yAxis.min,formatter:function(t,e,a){return t}},"bar"===e.type&&(e.yAxis.data[0].categories=e.categories,e.yAxis.data[0].type="categories"));var g=e.yAxis.fontSize*e.pix||a.fontSize;u[0]=h[0].map((function(t,a){return t=e.yAxis.data[0].formatter(t,a,e),f[0].width=Math.max(f[0].width,y(t,g,n)+5),t})),f[0].width+=3*e.pix}return{rangesFormat:u,ranges:h,yAxisWidth:f}}function nt(t,e){!0!==e.rotateLock?(t.translate(e.height,0),t.rotate(90*Math.PI/180)):!0!==e._rotate_&&(t.translate(e.height,0),t.rotate(90*Math.PI/180),e._rotate_=!0)}function it(t,e,a,n,i){if(n.beginPath(),"hollow"==i.dataPointShapeType?(n.setStrokeStyle(e),n.setFillStyle(i.background),n.setLineWidth(2*i.pix)):(n.setStrokeStyle("#ffffff"),n.setFillStyle(e),n.setLineWidth(1*i.pix)),"diamond"===a)t.forEach((function(t,e){null!==t&&(n.moveTo(t.x,t.y-4.5),n.lineTo(t.x-4.5,t.y),n.lineTo(t.x,t.y+4.5),n.lineTo(t.x+4.5,t.y),n.lineTo(t.x,t.y-4.5))}));else if("circle"===a)t.forEach((function(t,e){null!==t&&(n.moveTo(t.x+2.5*i.pix,t.y),n.arc(t.x,t.y,3*i.pix,0,2*Math.PI,!1))}));else if("square"===a)t.forEach((function(t,e){null!==t&&(n.moveTo(t.x-3.5,t.y-3.5),n.rect(t.x-3.5,t.y-3.5,7,7))}));else if("triangle"===a)t.forEach((function(t,e){null!==t&&(n.moveTo(t.x,t.y-4.5),n.lineTo(t.x-4.5,t.y+4.5),n.lineTo(t.x+4.5,t.y+4.5),n.lineTo(t.x,t.y-4.5))}));else if("none"===a)return;n.closePath(),n.fill(),n.stroke()}function rt(t,e,a,n){var i=t.title.fontSize||e.titleFontSize,r=t.subtitle.fontSize||e.subtitleFontSize,o=t.title.name||"",s=t.subtitle.name||"",l=t.title.color||t.fontColor,c=t.subtitle.color||t.fontColor,d=o?i:0,h=s?r:0;if(s){var u=y(s,r*t.pix,a),f=n.x-u/2+(t.subtitle.offsetX||0)*t.pix,p=n.y+r*t.pix/2+(t.subtitle.offsetY||0)*t.pix;o&&(p+=(d*t.pix+5)/2),a.beginPath(),a.setFontSize(r*t.pix),a.setFillStyle(c),a.fillText(s,f,p),a.closePath(),a.stroke()}if(o){var x=y(o,i*t.pix,a),g=n.x-x/2+(t.title.offsetX||0),v=n.y+i*t.pix/2+(t.title.offsetY||0)*t.pix;s&&(v-=(h*t.pix+5)/2),a.beginPath(),a.setFontSize(i*t.pix),a.setFillStyle(l),a.fillText(o,g,v),a.closePath(),a.stroke()}}function ot(t,e,a,n,i){var o=e.data,s=e.textOffset?e.textOffset:0;t.forEach((function(t,l){if(null!==t){n.beginPath();var c=e.textSize?e.textSize*i.pix:a.fontSize;n.setFontSize(c),n.setFillStyle(e.textColor||i.fontColor);var d=o[l];"object"===(0,r.default)(o[l])&&null!==o[l]&&(d=o[l].constructor.toString().indexOf("Array")>-1?o[l][1]:o[l].value);var h=e.formatter?e.formatter(d,l,e,i):d;n.setTextAlign("center"),n.fillText(String(h),t.x,t.y-4+s*i.pix),n.closePath(),n.stroke(),n.setTextAlign("left")}}))}function st(t,e,a,n,i){e.data;var r=e.textOffset?e.textOffset:0;t.forEach((function(t,o){if(null!==t){n.beginPath();var s=e[o].textSize?e[o].textSize*i.pix:a.fontSize;n.setFontSize(s),n.setFillStyle(e[o].textColor||i.fontColor);var l=t.value,c=e[o].formatter?e[o].formatter(l,o,e,i):l;n.setTextAlign("center"),n.fillText(String(c),t.x,t.y-4+r*i.pix),n.closePath(),n.stroke(),n.setTextAlign("left")}}))}function lt(t,e,a,n,i){var o=e.data;e.textOffset&&e.textOffset;t.forEach((function(t,s){if(null!==t){n.beginPath();var l=e.textSize?e.textSize*i.pix:a.fontSize;n.setFontSize(l),n.setFillStyle(e.textColor||i.fontColor);var c=o[s];"object"===(0,r.default)(o[s])&&null!==o[s]&&(c=o[s].value);var d=e.formatter?e.formatter(c,s,e,i):c;n.setTextAlign("left"),n.fillText(String(d),t.x+4*i.pix,t.y+l/2-3),n.closePath(),n.stroke()}}))}function ct(t,e,a,n,i,r){e-=t.width/2+t.labelOffset*n.pix,e=e<10?10:e;for(var o=t.startAngle-t.endAngle+1,s=o/t.splitLine.splitNumber,l=t.endNumber-t.startNumber,c=l/t.splitLine.splitNumber,d=t.startAngle,h=t.startNumber,u=0;u<t.splitLine.splitNumber+1;u++){var f={x:e*Math.cos(d*Math.PI),y:e*Math.sin(d*Math.PI)},p=t.formatter?t.formatter(h,u,n):h;f.x+=a.x-y(p,i.fontSize,r)/2,f.y+=a.y;var x=f.x,g=f.y;r.beginPath(),r.setFontSize(i.fontSize),r.setFillStyle(t.labelColor||n.fontColor),r.fillText(p,x,g+i.fontSize/2),r.closePath(),r.stroke(),d+=s,d>=2&&(d%=2),h+=c}}function dt(t,e,a,n,i,r){var o=n.extra.radar||{};t.forEach((function(t,s){if(!0===o.labelPointShow&&""!==n.categories[s]){var c={x:e*Math.cos(t),y:e*Math.sin(t)},d=p(c.x,c.y,a);r.setFillStyle(o.labelPointColor),r.beginPath(),r.arc(d.x,d.y,o.labelPointRadius*n.pix,0,2*Math.PI,!1),r.closePath(),r.fill()}var h={x:(e+i.radarLabelTextMargin*n.pix)*Math.cos(t),y:(e+i.radarLabelTextMargin*n.pix)*Math.sin(t)},u=p(h.x,h.y,a),f=u.x,x=u.y;l.approximatelyEqual(h.x,0)?f-=y(n.categories[s]||"",i.fontSize,r)/2:h.x<0&&(f-=y(n.categories[s]||"",i.fontSize,r)),r.beginPath(),r.setFontSize(i.fontSize),r.setFillStyle(o.labelColor||n.fontColor),r.fillText(n.categories[s]||"",f,x+i.fontSize/2),r.closePath(),r.stroke()}))}function ht(t,e,a,n,i,r){for(var o=a.pieChartLinePadding,s=[],c=null,d=t.map((function(a,n){var i=a.formatter?a.formatter(a,n,t,e):l.toFixed(100*a._proportion_.toFixed(4))+"%";i=a.labelText?a.labelText:i;var r=2*Math.PI-(a._start_+2*Math.PI*a._proportion_/2);a._rose_proportion_&&(r=2*Math.PI-(a._start_+2*Math.PI*a._rose_proportion_/2));var o=a.color,s=a._radius_;return{arc:r,text:i,color:o,radius:s,textColor:a.textColor,textSize:a.textSize,labelShow:a.labelShow}})),h=0;h<d.length;h++){var u=d[h],f=Math.cos(u.arc)*(u.radius+o),g=Math.sin(u.arc)*(u.radius+o),v=Math.cos(u.arc)*u.radius,m=Math.sin(u.arc)*u.radius,b=f>=0?f+a.pieChartTextPadding:f-a.pieChartTextPadding,w=g,_=y(u.text,u.textSize*e.pix||a.fontSize,n),C=w;c&&l.isSameXCoordinateArea(c.start,{x:b})&&(C=b>0?Math.min(w,c.start.y):f<0||w>0?Math.max(w,c.start.y):Math.min(w,c.start.y)),b<0&&(b-=_);var A={lineStart:{x:v,y:m},lineEnd:{x:f,y:g},start:{x:b,y:C},width:_,height:a.fontSize,text:u.text,color:u.color,textColor:u.textColor,textSize:u.textSize};c=x(A,c),s.push(c)}for(var S=0;S<s.length;S++)if(!1!==d[S].labelShow){var T=s[S],k=p(T.lineStart.x,T.lineStart.y,r),P=p(T.lineEnd.x,T.lineEnd.y,r),M=p(T.start.x,T.start.y,r);n.setLineWidth(1*e.pix),n.setFontSize(T.textSize*e.pix||a.fontSize),n.beginPath(),n.setStrokeStyle(T.color),n.setFillStyle(T.color),n.moveTo(k.x,k.y);var D=T.start.x<0?M.x+T.width:M.x,F=T.start.x<0?M.x-5:M.x+5;n.quadraticCurveTo(P.x,P.y,D,M.y),n.moveTo(k.x,k.y),n.stroke(),n.closePath(),n.beginPath(),n.moveTo(M.x+T.width,M.y),n.arc(D,M.y,2*e.pix,0,2*Math.PI),n.closePath(),n.fill(),n.beginPath(),n.setFontSize(T.textSize*e.pix||a.fontSize),n.setFillStyle(T.textColor||e.fontColor),n.fillText(T.text,F,M.y+3),n.closePath(),n.stroke(),n.closePath()}}function ut(t,e,a){for(var n=s({},{type:"solid",dashLength:4,data:[]},t.extra.markLine),i=t.area[3],r=t.width-t.area[1],o=function(t,e){for(var a,n,i=e.height-e.area[0]-e.area[2],r=0;r<t.length;r++){t[r].yAxisIndex=t[r].yAxisIndex?t[r].yAxisIndex:0;var o=[].concat(e.chartData.yAxisData.ranges[t[r].yAxisIndex]);a=o.pop(),n=o.shift();var s=i*(t[r].value-a)/(n-a);t[r].y=e.height-Math.round(s)-e.area[2]}return t}(n.data,t),l=0;l<o.length;l++){var d=s({},{lineColor:"#DE4A42",showLabel:!1,labelFontColor:"#666666",labelBgColor:"#DFE8FF",labelBgOpacity:.8,labelAlign:"left",labelOffsetX:0,labelOffsetY:0},o[l]);if("dash"==n.type&&a.setLineDash([n.dashLength,n.dashLength]),a.setStrokeStyle(d.lineColor),a.setLineWidth(1*t.pix),a.beginPath(),a.moveTo(i,d.y),a.lineTo(r,d.y),a.stroke(),a.setLineDash([]),d.showLabel){var h=d.labelText?d.labelText:d.value;a.setFontSize(e.fontSize);var u=y(h,e.fontSize,a),f=u+2*e.toolTipPadding,p="left"==d.labelAlign?t.area[3]-f:t.width-t.area[1];p+=d.labelOffsetX;var x=d.y-.5*e.fontSize-e.toolTipPadding;x+=d.labelOffsetY;var g=p+e.toolTipPadding;d.y;a.setFillStyle(c(d.labelBgColor,d.labelBgOpacity)),a.setStrokeStyle(d.labelBgColor),a.setLineWidth(1*t.pix),a.beginPath(),a.rect(p,x,f,e.fontSize+2*e.toolTipPadding),a.closePath(),a.stroke(),a.fill(),a.setFontSize(e.fontSize),a.setTextAlign("left"),a.setFillStyle(d.labelFontColor),a.fillText(String(h),g,x+e.fontSize+e.toolTipPadding/2),a.stroke(),a.setTextAlign("left")}}}function ft(t,e,a,n,i){var r=s({},{gridType:"solid",dashLength:4},t.extra.tooltip),o=t.area[3],l=t.width-t.area[1];if("dash"==r.gridType&&a.setLineDash([r.dashLength,r.dashLength]),a.setStrokeStyle(r.gridColor||"#cccccc"),a.setLineWidth(1*t.pix),a.beginPath(),a.moveTo(o,t.tooltip.offset.y),a.lineTo(l,t.tooltip.offset.y),a.stroke(),a.setLineDash([]),r.yAxisLabel)for(var d=function(t,e,a,n,i){for(var r=[].concat(a.chartData.yAxisData.ranges),o=a.height-a.area[0]-a.area[2],s=a.area[0],l=[],c=0;c<r.length;c++){var d=Math.max.apply(this,r[c]),h=Math.min.apply(this,r[c]),u=d-(d-h)*(t-s)/o;u=a.yAxis.data&&a.yAxis.data[c].formatter?a.yAxis.data[c].formatter(u,c,a):u.toFixed(0),l.push(String(u))}return l}(t.tooltip.offset.y,t.series,t),h=t.chartData.yAxisData.yAxisWidth,u=t.area[3],f=t.width-t.area[1],p=0;p<d.length;p++){a.setFontSize(e.fontSize);var x,g=y(d[p],e.fontSize,a),v=void 0,m=void 0;"left"==h[p].position?(v=u-(g+2*e.toolTipPadding)-2*t.pix,m=Math.max(v,v+g+2*e.toolTipPadding)):(v=f+2*t.pix,m=Math.max(v+h[p].width,v+g+2*e.toolTipPadding)),x=m-v;var b=v+(x-g)/2,w=t.tooltip.offset.y;a.beginPath(),a.setFillStyle(c(r.labelBgColor||e.toolTipBackground,r.labelBgOpacity||e.toolTipOpacity)),a.setStrokeStyle(r.labelBgColor||e.toolTipBackground),a.setLineWidth(1*t.pix),a.rect(v,w-.5*e.fontSize-e.toolTipPadding,x,e.fontSize+2*e.toolTipPadding),a.closePath(),a.stroke(),a.fill(),a.beginPath(),a.setFontSize(e.fontSize),a.setFillStyle(r.labelFontColor||t.fontColor),a.fillText(d[p],b,w+.5*e.fontSize),a.closePath(),a.stroke(),"left"==h[p].position?u-=h[p].width+t.yAxis.padding*t.pix:f+=h[p].width+t.yAxis.padding*t.pix}}function pt(t,e,a,n,i){var r=s({},{activeBgColor:"#000000",activeBgOpacity:.08,activeWidth:i},e.extra.column);r.activeWidth=r.activeWidth>i?i:r.activeWidth;var o=e.area[0],l=e.height-e.area[2];n.beginPath(),n.setFillStyle(c(r.activeBgColor,r.activeBgOpacity)),n.rect(t-r.activeWidth/2,o,r.activeWidth,l-o),n.closePath(),n.fill(),n.setFillStyle("#FFFFFF")}function xt(t,e,a,n,i){var r=s({},{activeBgColor:"#000000",activeBgOpacity:.08},e.extra.bar),o=e.area[3],l=e.width-e.area[1];n.beginPath(),n.setFillStyle(c(r.activeBgColor,r.activeBgOpacity)),n.rect(o,t-i/2,l-o,i),n.closePath(),n.fill(),n.setFillStyle("#FFFFFF")}function gt(t,e,a,n,i,r,o){var l=s({},{showBox:!0,showArrow:!0,showCategory:!1,bgColor:"#000000",bgOpacity:.7,borderColor:"#000000",borderWidth:0,borderRadius:0,borderOpacity:.7,fontColor:"#FFFFFF",splitLine:!0},a.extra.tooltip);1==l.showCategory&&a.categories&&t.unshift({text:a.categories[a.tooltip.index],color:null});var d=4*a.pix,h=5*a.pix,u=l.showArrow?8*a.pix:0,f=!1;"line"!=a.type&&"mount"!=a.type&&"area"!=a.type&&"candle"!=a.type&&"mix"!=a.type||1==l.splitLine&&function(t,e,a,n){var i=e.extra.tooltip||{};i.gridType=void 0==i.gridType?"solid":i.gridType,i.dashLength=void 0==i.dashLength?4:i.dashLength;var r=e.area[0],o=e.height-e.area[2];if("dash"==i.gridType&&n.setLineDash([i.dashLength,i.dashLength]),n.setStrokeStyle(i.gridColor||"#cccccc"),n.setLineWidth(1*e.pix),n.beginPath(),n.moveTo(t,r),n.lineTo(t,o),n.stroke(),n.setLineDash([]),i.xAxisLabel){var s=e.categories[e.tooltip.index];n.setFontSize(a.fontSize);var l=y(s,a.fontSize,n),d=t-.5*l,h=o+2*e.pix;n.beginPath(),n.setFillStyle(c(i.labelBgColor||a.toolTipBackground,i.labelBgOpacity||a.toolTipOpacity)),n.setStrokeStyle(i.labelBgColor||a.toolTipBackground),n.setLineWidth(1*e.pix),n.rect(d-a.toolTipPadding,h,l+2*a.toolTipPadding,a.fontSize+2*a.toolTipPadding),n.closePath(),n.stroke(),n.fill(),n.beginPath(),n.setFontSize(a.fontSize),n.setFillStyle(i.labelFontColor||e.fontColor),n.fillText(String(s),d,h+a.toolTipPadding+a.fontSize),n.closePath(),n.stroke()}}(a.tooltip.offset.x,a,n,i),e=s({x:0,y:0},e),e.y-=8*a.pix;var p=t.map((function(t){return y(t.text,n.fontSize,i)})),x=d+h+4*n.toolTipPadding+Math.max.apply(null,p),g=2*n.toolTipPadding+t.length*n.toolTipLineHeight;if(0!=l.showBox){e.x-Math.abs(a._scrollDistance_||0)+u+x>a.width&&(f=!0),g+e.y>a.height&&(e.y=a.height-g),i.beginPath(),i.setFillStyle(c(l.bgColor||n.toolTipBackground,l.bgOpacity||n.toolTipOpacity)),i.setLineWidth(l.borderWidth*a.pix),i.setStrokeStyle(c(l.borderColor,l.borderOpacity));var v=l.borderRadius;f?(x+u>a.width&&(e.x=a.width+Math.abs(a._scrollDistance_||0)+u+(x-a.width)),l.showArrow&&(i.moveTo(e.x,e.y+10*a.pix),i.lineTo(e.x-u,e.y+10*a.pix+5*a.pix)),i.arc(e.x-u-v,e.y+g-v,v,0,Math.PI/2,!1),i.arc(e.x-u-Math.round(x)+v,e.y+g-v,v,Math.PI/2,Math.PI,!1),i.arc(e.x-u-Math.round(x)+v,e.y+v,v,-Math.PI,-Math.PI/2,!1),i.arc(e.x-u-v,e.y+v,v,-Math.PI/2,0,!1),l.showArrow&&(i.lineTo(e.x-u,e.y+10*a.pix-5*a.pix),i.lineTo(e.x,e.y+10*a.pix))):(l.showArrow&&(i.moveTo(e.x,e.y+10*a.pix),i.lineTo(e.x+u,e.y+10*a.pix-5*a.pix)),i.arc(e.x+u+v,e.y+v,v,-Math.PI,-Math.PI/2,!1),i.arc(e.x+u+Math.round(x)-v,e.y+v,v,-Math.PI/2,0,!1),i.arc(e.x+u+Math.round(x)-v,e.y+g-v,v,0,Math.PI/2,!1),i.arc(e.x+u+v,e.y+g-v,v,Math.PI/2,Math.PI,!1),l.showArrow&&(i.lineTo(e.x+u,e.y+10*a.pix+5*a.pix),i.lineTo(e.x,e.y+10*a.pix))),i.closePath(),i.fill(),l.borderWidth>0&&i.stroke(),t.forEach((function(t,a){if(null!==t.color){i.beginPath(),i.setFillStyle(t.color);var r=e.x+u+2*n.toolTipPadding,o=e.y+(n.toolTipLineHeight-n.fontSize)/2+n.toolTipLineHeight*a+n.toolTipPadding+1;f&&(r=e.x-x-u+2*n.toolTipPadding),i.fillRect(r,o,d,n.fontSize),i.closePath(),i.fill()}})),t.forEach((function(t,a){var r=e.x+u+2*n.toolTipPadding+d+h;f&&(r=e.x-x-u+2*n.toolTipPadding+ +d+h);var o=e.y+(n.toolTipLineHeight-n.fontSize)/2+n.toolTipLineHeight*a+n.toolTipPadding;i.beginPath(),i.setFontSize(n.fontSize),i.setFillStyle(l.fontColor),i.fillText(t.text,r,o+n.fontSize),i.closePath(),i.stroke()}))}}function vt(t,e,a,n,i,r){var o=t.extra.tooltip||{};o.horizentalLine&&t.tooltip&&1===n&&("line"==t.type||"area"==t.type||"column"==t.type||"mount"==t.type||"candle"==t.type||"mix"==t.type)&&ft(t,e,a),a.save(),t._scrollDistance_&&0!==t._scrollDistance_&&!0===t.enableScroll&&a.translate(t._scrollDistance_,0),t.tooltip&&t.tooltip.textList&&t.tooltip.textList.length&&1===n&&gt(t.tooltip.textList,t.tooltip.offset,t,e,a),a.restore()}function mt(t,e,a,n){var i=e.chartData.xAxisData,r=i.xAxisPoints,o=i.startX,s=i.endX,l=i.eachSpacing,c="center";"bar"!=e.type&&"line"!=e.type&&"area"!=e.type&&"scatter"!=e.type&&"bubble"!=e.type||(c=e.xAxis.boundaryGap);var d=e.height-e.area[2],h=e.area[0];if(e.enableScroll&&e.xAxis.scrollShow){var u=e.height-e.area[2]+a.xAxisHeight,f=s-o,p=l*(r.length-1);"mount"==e.type&&e.extra&&e.extra.mount&&e.extra.mount.widthRatio&&e.extra.mount.widthRatio>1&&(e.extra.mount.widthRatio>2&&(e.extra.mount.widthRatio=2),p+=(e.extra.mount.widthRatio-1)*l);var x=f*f/p,g=0;e._scrollDistance_&&(g=-e._scrollDistance_*f/p),n.beginPath(),n.setLineCap("round"),n.setLineWidth(6*e.pix),n.setStrokeStyle(e.xAxis.scrollBackgroundColor||"#EFEBEF"),n.moveTo(o,u),n.lineTo(s,u),n.stroke(),n.closePath(),n.beginPath(),n.setLineCap("round"),n.setLineWidth(6*e.pix),n.setStrokeStyle(e.xAxis.scrollColor||"#A6A6A6"),n.moveTo(o+g,u),n.lineTo(o+g+x,u),n.stroke(),n.closePath(),n.setLineCap("butt")}if(n.save(),e._scrollDistance_&&0!==e._scrollDistance_&&n.translate(e._scrollDistance_,0),!0===e.xAxis.calibration&&(n.setStrokeStyle(e.xAxis.gridColor||"#cccccc"),n.setLineCap("butt"),n.setLineWidth(1*e.pix),r.forEach((function(t,a){a>0&&(n.beginPath(),n.moveTo(t-l/2,d),n.lineTo(t-l/2,d+3*e.pix),n.closePath(),n.stroke())}))),!0!==e.xAxis.disableGrid&&(n.setStrokeStyle(e.xAxis.gridColor||"#cccccc"),n.setLineCap("butt"),n.setLineWidth(1*e.pix),"dash"==e.xAxis.gridType&&n.setLineDash([e.xAxis.dashLength*e.pix,e.xAxis.dashLength*e.pix]),e.xAxis.gridEval=e.xAxis.gridEval||1,r.forEach((function(t,a){a%e.xAxis.gridEval==0&&(n.beginPath(),n.moveTo(t,d),n.lineTo(t,h),n.stroke())})),n.setLineDash([])),!0!==e.xAxis.disabled){var v=t.length;e.xAxis.labelCount&&(v=e.xAxis.itemCount?Math.ceil(t.length/e.xAxis.itemCount*e.xAxis.labelCount):e.xAxis.labelCount,v-=1);for(var m=Math.ceil(t.length/v),b=[],w=t.length,_=0;_<w;_++)_%m!==0?b.push(""):b.push(t[_]);b[w-1]=t[w-1];var C=e.xAxis.fontSize*e.pix||a.fontSize;0===a._xAxisTextAngle_?b.forEach((function(t,i){var o=e.xAxis.formatter?e.xAxis.formatter(t,i,e):t,s=-y(String(o),C,n)/2;"center"==c&&(s+=l/2);var h=0;e.xAxis.scrollShow&&(h=6*e.pix);var u=e._scrollDistance_||0,f="center"==c?r[i]+l/2:r[i];f-Math.abs(u)>=e.area[3]&&f-Math.abs(u)<=e.width-e.area[1]&&(n.beginPath(),n.setFontSize(C),n.setFillStyle(e.xAxis.fontColor||e.fontColor),n.fillText(String(o),r[i]+s,d+C+(a.xAxisHeight-h-C)/2),n.closePath(),n.stroke())})):b.forEach((function(t,i){var o=e.xAxis.formatter?e.xAxis.formatter(t):t,s=e._scrollDistance_||0,h="center"==c?r[i]+l/2:r[i];if(h-Math.abs(s)>=e.area[3]&&h-Math.abs(s)<=e.width-e.area[1]){n.save(),n.beginPath(),n.setFontSize(C),n.setFillStyle(e.xAxis.fontColor||e.fontColor);var u=y(String(o),C,n),f=r[i];"center"==c&&(f=r[i]+l/2);e.xAxis.scrollShow&&6*e.pix;var p=d+6*e.pix+C-C*Math.abs(Math.sin(a._xAxisTextAngle_));e.xAxis.rotateAngle<0?(f-=C/2,u=0):(f+=C/2,u=-u),n.translate(f,p),n.rotate(-1*a._xAxisTextAngle_),n.fillText(String(o),u,0),n.closePath(),n.stroke(),n.restore()}}))}n.restore(),e.xAxis.axisLine&&(n.beginPath(),n.setStrokeStyle(e.xAxis.axisLineColor),n.setLineWidth(1*e.pix),n.moveTo(o,e.height-e.area[2]),n.lineTo(s,e.height-e.area[2]),n.stroke())}function yt(t,e,a,n){if(!0!==e.yAxis.disableGrid){var i=e.height-e.area[0]-e.area[2],r=i/e.yAxis.splitNumber,o=e.area[3],s=e.chartData.xAxisData.xAxisPoints,l=e.chartData.xAxisData.eachSpacing,c=l*(s.length-1);"mount"==e.type&&e.extra&&e.extra.mount&&e.extra.mount.widthRatio&&e.extra.mount.widthRatio>1&&(e.extra.mount.widthRatio>2&&(e.extra.mount.widthRatio=2),c+=(e.extra.mount.widthRatio-1)*l);var d=o+c,h=[],u=1;!1===e.xAxis.axisLine&&(u=0);for(var f=u;f<e.yAxis.splitNumber+1;f++)h.push(e.height-e.area[2]-r*f);n.save(),e._scrollDistance_&&0!==e._scrollDistance_&&n.translate(e._scrollDistance_,0),"dash"==e.yAxis.gridType&&n.setLineDash([e.yAxis.dashLength*e.pix,e.yAxis.dashLength*e.pix]),n.setStrokeStyle(e.yAxis.gridColor),n.setLineWidth(1*e.pix),h.forEach((function(t,e){n.beginPath(),n.moveTo(o,t),n.lineTo(d,t),n.stroke()})),n.setLineDash([]),n.restore()}}function bt(t,e,a,n){if(!0!==e.yAxis.disabled){var i=e.height-e.area[0]-e.area[2],r=i/e.yAxis.splitNumber,o=e.area[3],s=e.width-e.area[1],l=e.height-e.area[2];n.beginPath(),n.setFillStyle(e.background),1==e.enableScroll&&e.xAxis.scrollPosition&&"left"!==e.xAxis.scrollPosition&&n.fillRect(0,0,o,l+2*e.pix),1==e.enableScroll&&e.xAxis.scrollPosition&&"right"!==e.xAxis.scrollPosition&&n.fillRect(s,0,e.width,l+2*e.pix),n.closePath(),n.stroke();var c=e.area[3],d=e.width-e.area[1],h=e.area[3]+(e.width-e.area[1]-e.area[3])/2;if(e.yAxis.data)for(var u=function(t){var o=e.yAxis.data[t];if(p=[],"categories"===o.type)for(var s=0;s<=o.categories.length;s++)p.push(e.area[0]+i/o.categories.length/2+i/o.categories.length*s);else for(var l=0;l<=e.yAxis.splitNumber;l++)p.push(e.area[0]+r*l);if(!0!==o.disabled){var u=e.chartData.yAxisData.rangesFormat[t],f=o.fontSize?o.fontSize*e.pix:a.fontSize,x=e.chartData.yAxisData.yAxisWidth[t],g=o.textAlign||"right";if(u.forEach((function(t,a){var i=p[a];n.beginPath(),n.setFontSize(f),n.setLineWidth(1*e.pix),n.setStrokeStyle(o.axisLineColor||"#cccccc"),n.setFillStyle(o.fontColor||e.fontColor);var r=0,s=4*e.pix;if("left"==x.position){switch(1==o.calibration&&(n.moveTo(c,i),n.lineTo(c-3*e.pix,i),s+=3*e.pix),g){case"left":n.setTextAlign("left"),r=c-x.width;break;case"right":n.setTextAlign("right"),r=c-s;break;default:n.setTextAlign("center"),r=c-x.width/2}n.fillText(String(t),r,i+f/2-3*e.pix)}else if("right"==x.position){switch(1==o.calibration&&(n.moveTo(d,i),n.lineTo(d+3*e.pix,i),s+=3*e.pix),g){case"left":n.setTextAlign("left"),r=d+s;break;case"right":n.setTextAlign("right"),r=d+x.width;break;default:n.setTextAlign("center"),r=d+x.width/2}n.fillText(String(t),r,i+f/2-3*e.pix)}else if("center"==x.position){switch(1==o.calibration&&(n.moveTo(h,i),n.lineTo(h-3*e.pix,i),s+=3*e.pix),g){case"left":n.setTextAlign("left"),r=h-x.width;break;case"right":n.setTextAlign("right"),r=h-s;break;default:n.setTextAlign("center"),r=h-x.width/2}n.fillText(String(t),r,i+f/2-3*e.pix)}n.closePath(),n.stroke(),n.setTextAlign("left")})),!1!==o.axisLine&&(n.beginPath(),n.setStrokeStyle(o.axisLineColor||"#cccccc"),n.setLineWidth(1*e.pix),"left"==x.position?(n.moveTo(c,e.height-e.area[2]),n.lineTo(c,e.area[0])):"right"==x.position?(n.moveTo(d,e.height-e.area[2]),n.lineTo(d,e.area[0])):"center"==x.position&&(n.moveTo(h,e.height-e.area[2]),n.lineTo(h,e.area[0])),n.stroke()),e.yAxis.showTitle){var v=o.titleFontSize*e.pix||a.fontSize,m=o.title;n.beginPath(),n.setFontSize(v),n.setFillStyle(o.titleFontColor||e.fontColor),"left"==x.position?n.fillText(m,c-y(m,v,n)/2+(o.titleOffsetX||0),e.area[0]-(10-(o.titleOffsetY||0))*e.pix):"right"==x.position?n.fillText(m,d-y(m,v,n)/2+(o.titleOffsetX||0),e.area[0]-(10-(o.titleOffsetY||0))*e.pix):"center"==x.position&&n.fillText(m,h-y(m,v,n)/2+(o.titleOffsetX||0),e.area[0]-(10-(o.titleOffsetY||0))*e.pix),n.closePath(),n.stroke()}"left"==x.position?c-=x.width+e.yAxis.padding*e.pix:d+=x.width+e.yAxis.padding*e.pix}},f=0;f<e.yAxis.data.length;f++){var p;u(f)}}}function wt(t,e,a,n,i){if(!1!==e.legend.show){var r=i.legendData,o=r.points,s=r.area,l=e.legend.padding*e.pix,c=e.legend.fontSize*e.pix,d=15*e.pix,h=5*e.pix,u=e.legend.itemGap*e.pix,f=Math.max(e.legend.lineHeight*e.pix,c);n.beginPath(),n.setLineWidth(e.legend.borderWidth*e.pix),n.setStrokeStyle(e.legend.borderColor),n.setFillStyle(e.legend.backgroundColor),n.moveTo(s.start.x,s.start.y),n.rect(s.start.x,s.start.y,s.width,s.height),n.closePath(),n.fill(),n.stroke(),o.forEach((function(t,i){var o,p=0;p=r.widthArr[i],o=r.heightArr[i];var x=0,g=0;if("top"==e.legend.position||"bottom"==e.legend.position){switch(e.legend.float){case"left":x=s.start.x+l;break;case"right":x=s.start.x+s.width-p;break;default:x=s.start.x+(s.width-p)/2}g=s.start.y+l+i*f}else p=0==i?0:r.widthArr[i-1],x=s.start.x+l+p,g=s.start.y+l+(s.height-o)/2;n.setFontSize(a.fontSize);for(var v=0;v<t.length;v++){var m=t[v];switch(m.area=[0,0,0,0],m.area[0]=x,m.area[1]=g,m.area[3]=g+f,n.beginPath(),n.setLineWidth(1*e.pix),n.setStrokeStyle(m.show?m.color:e.legend.hiddenColor),n.setFillStyle(m.show?m.color:e.legend.hiddenColor),m.legendShape){case"line":n.moveTo(x,g+.5*f-2*e.pix),n.fillRect(x,g+.5*f-2*e.pix,15*e.pix,4*e.pix);break;case"triangle":n.moveTo(x+7.5*e.pix,g+.5*f-5*e.pix),n.lineTo(x+2.5*e.pix,g+.5*f+5*e.pix),n.lineTo(x+12.5*e.pix,g+.5*f+5*e.pix),n.lineTo(x+7.5*e.pix,g+.5*f-5*e.pix);break;case"diamond":n.moveTo(x+7.5*e.pix,g+.5*f-5*e.pix),n.lineTo(x+2.5*e.pix,g+.5*f),n.lineTo(x+7.5*e.pix,g+.5*f+5*e.pix),n.lineTo(x+12.5*e.pix,g+.5*f),n.lineTo(x+7.5*e.pix,g+.5*f-5*e.pix);break;case"circle":n.moveTo(x+7.5*e.pix,g+.5*f),n.arc(x+7.5*e.pix,g+.5*f,5*e.pix,0,2*Math.PI);break;case"rect":n.moveTo(x,g+.5*f-5*e.pix),n.fillRect(x,g+.5*f-5*e.pix,15*e.pix,10*e.pix);break;case"square":n.moveTo(x+5*e.pix,g+.5*f-5*e.pix),n.fillRect(x+5*e.pix,g+.5*f-5*e.pix,10*e.pix,10*e.pix);break;case"none":break;default:n.moveTo(x,g+.5*f-5*e.pix),n.fillRect(x,g+.5*f-5*e.pix,15*e.pix,10*e.pix)}n.closePath(),n.fill(),n.stroke(),x+=d+h;var b=.5*f+.5*c-2,w=m.legendText?m.legendText:m.name;n.beginPath(),n.setFontSize(c),n.setFillStyle(m.show?e.legend.fontColor:e.legend.hiddenColor),n.fillText(w,x,g+b),n.closePath(),n.stroke(),"top"==e.legend.position||"bottom"==e.legend.position?(x+=y(w,c,n)+u,m.area[2]=x):(m.area[2]=x+y(w,c,n)+u,x-=d+h,g+=f)}}))}}function _t(t,e,a,n){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,r=s({},{activeOpacity:.5,activeRadius:10,offsetAngle:0,labelWidth:15,ringWidth:30,customRadius:0,border:!1,borderWidth:2,borderColor:"#FFFFFF",centerColor:"#FFFFFF",linearType:"none",customColor:[]},"pie"==e.type?e.extra.pie:e.extra.ring),o={x:e.area[3]+(e.width-e.area[1]-e.area[3])/2,y:e.area[0]+(e.height-e.area[0]-e.area[2])/2};0==a.pieChartLinePadding&&(a.pieChartLinePadding=r.activeRadius*e.pix);var l=Math.min((e.width-e.area[1]-e.area[3])/2-a.pieChartLinePadding-a.pieChartTextPadding-a._pieTextMaxLength_,(e.height-e.area[0]-e.area[2])/2-a.pieChartLinePadding-a.pieChartTextPadding);l=l<10?10:l,r.customRadius>0&&(l=r.customRadius*e.pix),t=E(t,l,i);var d=r.activeRadius*e.pix;if(r.customColor=v(r.linearType,r.customColor,t,a),t=t.map((function(t){return t._start_+=r.offsetAngle*Math.PI/180,t})),t.forEach((function(t,a){e.tooltip&&e.tooltip.index==a&&(n.beginPath(),n.setFillStyle(c(t.color,r.activeOpacity||.5)),n.moveTo(o.x,o.y),n.arc(o.x,o.y,t._radius_+d,t._start_,t._start_+2*t._proportion_*Math.PI),n.closePath(),n.fill()),n.beginPath(),n.setLineWidth(r.borderWidth*e.pix),n.lineJoin="round",n.setStrokeStyle(r.borderColor);var i,s=t.color;"custom"==r.linearType&&(i=n.createCircularGradient?n.createCircularGradient(o.x,o.y,t._radius_):n.createRadialGradient(o.x,o.y,0,o.x,o.y,t._radius_),i.addColorStop(0,c(r.customColor[t.linearIndex],1)),i.addColorStop(1,c(t.color,1)),s=i);n.setFillStyle(s),n.moveTo(o.x,o.y),n.arc(o.x,o.y,t._radius_,t._start_,t._start_+2*t._proportion_*Math.PI),n.closePath(),n.fill(),1==r.border&&n.stroke()})),"ring"===e.type){var h=.6*l;"number"===typeof r.ringWidth&&r.ringWidth>0&&(h=Math.max(0,l-r.ringWidth*e.pix)),n.beginPath(),n.setFillStyle(r.centerColor),n.moveTo(o.x,o.y),n.arc(o.x,o.y,h,0,2*Math.PI),n.closePath(),n.fill()}return!1!==e.dataLabel&&1===i&&ht(t,e,a,n,0,o),1===i&&"ring"===e.type&&rt(e,a,n,o),{center:o,radius:l,series:t}}function Ct(t,e){var a=Array(2),n=20037508.34*t/180,i=Math.log(Math.tan((90+e)*Math.PI/360))/(Math.PI/180);return i=20037508.34*i/180,a[0]=n,a[1]=i,a}function At(t,e,a,n,i,r){return{x:(e-a.xMin)*n+i,y:(a.yMax-t)*n+r}}function St(t,e,a){if(e[1]==a[1])return!1;if(e[1]>t[1]&&a[1]>t[1])return!1;if(e[1]<t[1]&&a[1]<t[1])return!1;if(e[1]==t[1]&&a[1]>t[1])return!1;if(a[1]==t[1]&&e[1]>t[1])return!1;if(e[0]<t[0]&&a[1]<t[1])return!1;var n=a[0]-(a[0]-e[0])*(a[1]-t[1])/(a[1]-e[1]);return!(n<t[0])}function Tt(t,e,a){for(var n=0,i=0;i<e.length;i++){var r=e[i][0];1==e.length&&(r=e[i][0]);for(var o=0;o<r.length-1;o++){var s=r[o],l=r[o+1];a&&(s=Ct(r[o][0],r[o][1]),l=Ct(r[o+1][0],r[o+1][1])),St(t,s,l)&&(n+=1)}}return n%2==1}function kt(t,e,a){a=0==a?1:a;for(var n=[],i=0;i<a;i++)n[i]=Math.random();return Math.floor(n.reduce((function(t,e){return t+e}))/a*(e-t))+t}function Pt(t,e,a,n){for(var i=!1,r=0;r<e.length;r++)if(e[r].area){if(!(t[3]<e[r].area[1]||t[0]>e[r].area[2]||t[1]>e[r].area[3]||t[2]<e[r].area[0])){i=!0;break}if(t[0]<0||t[1]<0||t[2]>a||t[3]>n){i=!0;break}i=!1}return i}function Mt(t,e,a){var n=t.series;switch(e){case"normal":for(var i=0;i<n.length;i++){var r=n[i].name,o=n[i].textSize*t.pix,s=y(r,o,a),l=void 0,c=void 0,d=void 0,h=0;while(1){h++,l=kt(-t.width/2,t.width/2,5)-s/2,c=kt(-t.height/2,t.height/2,5)+o/2,d=[l-5+t.width/2,c-5-o+t.height/2,l+s+5+t.width/2,c+5+t.height/2];var u=Pt(d,n,t.width,t.height);if(!u)break;if(1e3==h){d=[-100,-100,-100,-100];break}}n[i].area=d}break;case"vertical":for(var f=function(){return Math.random()>.7},p=0;p<n.length;p++){var x=n[p].name,g=n[p].textSize*t.pix,v=y(x,g,a),m=f(),b=void 0,w=void 0,_=void 0,C=void 0,A=0;while(1){A++;var S=void 0;if(m?(b=kt(-t.width/2,t.width/2,5)-v/2,w=kt(-t.height/2,t.height/2,5)+g/2,_=[w-5-v+t.width/2,-b-5+t.height/2,w+5+t.width/2,-b+g+5+t.height/2],C=[t.width-(t.width/2-t.height/2)-(-b+g+5+t.height/2)-5,t.height/2-t.width/2+(w-5-v+t.width/2)-5,t.width-(t.width/2-t.height/2)-(-b+g+5+t.height/2)+g,t.height/2-t.width/2+(w-5-v+t.width/2)+v+5],S=Pt(C,n,t.height,t.width)):(b=kt(-t.width/2,t.width/2,5)-v/2,w=kt(-t.height/2,t.height/2,5)+g/2,_=[b-5+t.width/2,w-5-g+t.height/2,b+v+5+t.width/2,w+5+t.height/2],S=Pt(_,n,t.width,t.height)),!S)break;if(1e3==A){_=[-1e3,-1e3,-1e3,-1e3];break}}m?(n[p].area=C,n[p].areav=_):n[p].area=_,n[p].rotate=m}break}return n}function Dt(t,e,a,n,i,r,o){for(var s=0;s<t.length;s++){var c=t[s];if(!1!==c.labelShow){var d=void 0,h=void 0,u=void 0,f=void 0,p=c.formatter?c.formatter(c,s,t,e):l.toFixed(100*c._proportion_)+"%";p=c.labelText?c.labelText:p,"right"==i&&(d=s==t.length-1?(c.funnelArea[2]+o.x)/2:(c.funnelArea[2]+t[s+1].funnelArea[2])/2,h=d+2*r,u=c.funnelArea[1]+n/2,f=c.textSize*e.pix||e.fontSize*e.pix,a.setLineWidth(1*e.pix),a.setStrokeStyle(c.color),a.setFillStyle(c.color),a.beginPath(),a.moveTo(d,u),a.lineTo(h,u),a.stroke(),a.closePath(),a.beginPath(),a.moveTo(h,u),a.arc(h,u,2*e.pix,0,2*Math.PI),a.closePath(),a.fill(),a.beginPath(),a.setFontSize(f),a.setFillStyle(c.textColor||e.fontColor),a.fillText(p,h+5,u+f/2-2),a.closePath(),a.stroke(),a.closePath()),"left"==i&&(d=s==t.length-1?(c.funnelArea[0]+o.x)/2:(c.funnelArea[0]+t[s+1].funnelArea[0])/2,h=d-2*r,u=c.funnelArea[1]+n/2,f=c.textSize*e.pix||e.fontSize*e.pix,a.setLineWidth(1*e.pix),a.setStrokeStyle(c.color),a.setFillStyle(c.color),a.beginPath(),a.moveTo(d,u),a.lineTo(h,u),a.stroke(),a.closePath(),a.beginPath(),a.moveTo(h,u),a.arc(h,u,2,0,2*Math.PI),a.closePath(),a.fill(),a.beginPath(),a.setFontSize(f),a.setFillStyle(c.textColor||e.fontColor),a.fillText(p,h-5-y(p,f,a),u+f/2-2),a.closePath(),a.stroke(),a.closePath())}}}function Ft(t,e,a,n,i,r,o){for(var s=0;s<t.length;s++){var l=t[s],c=void 0,d=void 0;l.centerText&&(c=l.funnelArea[1]+n/2,d=l.centerTextSize*e.pix||e.fontSize*e.pix,a.beginPath(),a.setFontSize(d),a.setFillStyle(l.centerTextColor||"#FFFFFF"),a.fillText(l.centerText,o.x-y(l.centerText,d,a)/2,c+d/2-2),a.closePath(),a.stroke(),a.closePath())}}function $t(t,e){e.draw()}var Lt={easeIn:function(t){return Math.pow(t,3)},easeOut:function(t){return Math.pow(t-1,3)+1},easeInOut:function(t){return(t/=.5)<1?.5*Math.pow(t,3):.5*(Math.pow(t-2,3)+2)},linear:function(t){return t}};function Ot(t){this.isStop=!1,t.duration="undefined"===typeof t.duration?1e3:t.duration,t.timing=t.timing||"easeInOut";var e=function(){return"undefined"!==typeof setTimeout?function(t,e){setTimeout((function(){var e=+new Date;t(e)}),e)}:"undefined"!==typeof requestAnimationFrame?requestAnimationFrame:function(t){t(null)}}(),a=null,n=function(i){if(null===i||!0===this.isStop)return t.onProcess&&t.onProcess(1),void(t.onAnimationFinish&&t.onAnimationFinish());if(null===a&&(a=i),i-a<t.duration){var r=(i-a)/t.duration,o=Lt[t.timing];r=o(r),t.onProcess&&t.onProcess(r),e(n,17)}else t.onProcess&&t.onProcess(1),t.onAnimationFinish&&t.onAnimationFinish()};n=n.bind(this),e(n,17)}function It(t,e,a,n){var r=this,o=this,d=e.series;"pie"!==t&&"ring"!==t&&"mount"!==t&&"rose"!==t&&"funnel"!==t||(d=function(t,e,a){var n=[];if(t.length>0&&t[0].data.constructor.toString().indexOf("Array")>-1){e._pieSeries_=t;for(var i=t[0].data,r=0;r<i.length;r++)i[r].formatter=t[0].formatter,i[r].data=i[r].value,n.push(i[r]);e.series=n}else n=t;return n}(d,e));var h=e.categories;if("mount"===t){h=[];for(var u=0;u<d.length;u++)!1!==d[u].show&&h.push(d[u].name);e.categories=h}d=g(d,e,a);var x=e.animation?e.duration:0;o.animationInstance&&o.animationInstance.stop();var m=null;if("candle"==t){var w=s({},e.extra.candle.average);w.show?(m=function(t,e,a,n){for(var i=[],r=0;r<t.length;r++){for(var o={data:[],name:e[r],color:a[r]},s=0,l=n.length;s<l;s++)if(s<t[r])o.data.push(null);else{for(var c=0,d=0;d<t[r];d++)c+=n[s-d][1];o.data.push(+(c/t[r]).toFixed(3))}i.push(o)}return i}(w.day,w.name,w.color,d[0].data),m=g(m,e,a),e.seriesMA=m):m=e.seriesMA?e.seriesMA=g(e.seriesMA,e,a):d}else m=d;e._series_=d=M(d),e.area=new Array(4);for(var _=0;_<4;_++)e.area[_]=e.padding[_]*e.pix;var C=function(t,e,a,n,i){var r={area:{start:{x:0,y:0},end:{x:0,y:0},width:0,height:0,wholeWidth:0,wholeHeight:0},points:[],widthArr:[],heightArr:[]};if(!1===e.legend.show)return n.legendData=r,r;var o=e.legend.padding*e.pix,s=e.legend.margin*e.pix,l=e.legend.fontSize?e.legend.fontSize*e.pix:a.fontSize,c=15*e.pix,d=5*e.pix,h=Math.max(e.legend.lineHeight*e.pix,l);if("top"==e.legend.position||"bottom"==e.legend.position){for(var u=[],f=0,p=[],x=[],g=0;g<t.length;g++){var v=t[g],m=v.legendText?v.legendText:v.name,b=c+d+y(m||"undefined",l,i)+e.legend.itemGap*e.pix;f+b>e.width-e.area[1]-e.area[3]?(u.push(x),p.push(f-e.legend.itemGap*e.pix),f=b,x=[v]):(f+=b,x.push(v))}if(x.length){u.push(x),p.push(f-e.legend.itemGap*e.pix),r.widthArr=p;var w=Math.max.apply(null,p);switch(e.legend.float){case"left":r.area.start.x=e.area[3],r.area.end.x=e.area[3]+w+2*o;break;case"right":r.area.start.x=e.width-e.area[1]-w-2*o,r.area.end.x=e.width-e.area[1];break;default:r.area.start.x=(e.width-w)/2-o,r.area.end.x=(e.width+w)/2+o}r.area.width=w+2*o,r.area.wholeWidth=w+2*o,r.area.height=u.length*h+2*o,r.area.wholeHeight=u.length*h+2*o+2*s,r.points=u}}else{var _=t.length,C=e.height-e.area[0]-e.area[2]-2*s-2*o,A=Math.min(Math.floor(C/h),_);switch(r.area.height=A*h+2*o,r.area.wholeHeight=A*h+2*o,e.legend.float){case"top":r.area.start.y=e.area[0]+s,r.area.end.y=e.area[0]+s+r.area.height;break;case"bottom":r.area.start.y=e.height-e.area[2]-s-r.area.height,r.area.end.y=e.height-e.area[2]-s;break;default:r.area.start.y=(e.height-r.area.height)/2,r.area.end.y=(e.height+r.area.height)/2}for(var S=_%A===0?_/A:Math.floor(_/A+1),T=[],k=0;k<S;k++){var P=t.slice(k*A,k*A+A);T.push(P)}if(r.points=T,T.length){for(var M=0;M<T.length;M++){for(var D=T[M],F=0,$=0;$<D.length;$++){var L=c+d+y(D[$].name||"undefined",l,i)+e.legend.itemGap*e.pix;L>F&&(F=L)}r.widthArr.push(F),r.heightArr.push(D.length*h+2*o)}for(var O=0,I=0;I<r.widthArr.length;I++)O+=r.widthArr[I];r.area.width=O-e.legend.itemGap*e.pix+2*o,r.area.wholeWidth=r.area.width+o}}switch(e.legend.position){case"top":r.area.start.y=e.area[0]+s,r.area.end.y=e.area[0]+s+r.area.height;break;case"bottom":r.area.start.y=e.height-e.area[2]-r.area.height-s,r.area.end.y=e.height-e.area[2]-s;break;case"left":r.area.start.x=e.area[3],r.area.end.x=e.area[3]+r.area.width;break;case"right":r.area.start.x=e.width-e.area[1]-r.area.width,r.area.end.x=e.width-e.area[1];break}return n.legendData=r,r}(m,e,a,e.chartData,n),T=C.area.wholeHeight,k=C.area.wholeWidth;switch(e.legend.position){case"top":e.area[0]+=T;break;case"bottom":e.area[2]+=T;break;case"left":e.area[3]+=k;break;case"right":e.area[1]+=k;break}var P={},D=0;if("line"===e.type||"column"===e.type||"mount"===e.type||"area"===e.type||"mix"===e.type||"candle"===e.type||"scatter"===e.type||"bubble"===e.type||"bar"===e.type){if(P=at(d,e,a,n),D=P.yAxisWidth,e.yAxis.showTitle){for(var F=0,et=0;et<e.yAxis.data.length;et++)F=Math.max(F,e.yAxis.data[et].titleFontSize?e.yAxis.data[et].titleFontSize*e.pix:a.fontSize);e.area[0]+=F}for(var ft=0,gt=0,St=0;St<D.length;St++)"left"==D[St].position?(e.area[3]+=gt>0?D[St].width+e.yAxis.padding*e.pix:D[St].width,gt+=1):"right"==D[St].position&&(e.area[1]+=ft>0?D[St].width+e.yAxis.padding*e.pix:D[St].width,ft+=1)}else a.yAxisWidth=D;if(e.chartData.yAxisData=P,e.categories&&e.categories.length&&"radar"!==e.type&&"gauge"!==e.type&&"bar"!==e.type){e.chartData.xAxisData=X(e.categories,e);var Tt=L(e.categories,e,a,e.chartData.xAxisData.eachSpacing,n),kt=Tt.xAxisHeight,Pt=Tt.angle;a.xAxisHeight=kt,a._xAxisTextAngle_=Pt,e.area[2]+=kt,e.chartData.categoriesData=Tt}else if("line"===e.type||"area"===e.type||"scatter"===e.type||"bubble"===e.type||"bar"===e.type){e.chartData.xAxisData=O(d,e,a,n),h=e.chartData.xAxisData.rangesFormat;var Lt=L(h,e,a,e.chartData.xAxisData.eachSpacing,n),It=Lt.xAxisHeight,Et=Lt.angle;a.xAxisHeight=It,a._xAxisTextAngle_=Et,e.area[2]+=It,e.chartData.categoriesData=Lt}else e.chartData.xAxisData={xAxisPoints:[]};if(e.enableScroll&&"right"==e.xAxis.scrollAlign&&void 0===e._scrollDistance_){var zt,Bt=e.chartData.xAxisData.xAxisPoints,Wt=e.chartData.xAxisData.startX,Rt=e.chartData.xAxisData.endX,jt=e.chartData.xAxisData.eachSpacing,Gt=jt*(Bt.length-1),Nt=Rt-Wt;zt=Nt-Gt,o.scrollOption.currentOffset=zt,o.scrollOption.startTouchX=zt,o.scrollOption.distance=0,o.scrollOption.lastMoveTime=0,e._scrollDistance_=zt}switch("pie"!==t&&"ring"!==t&&"rose"!==t||(a._pieTextMaxLength_=!1===e.dataLabel?0:function(t,e,a,n){t=E(t);for(var i=0,r=0;r<t.length;r++){var o=t[r],s=o.formatter?o.formatter(+o._proportion_.toFixed(2)):l.toFixed(100*o._proportion_)+"%";i=Math.max(i,y(s,o.textSize*n.pix||e.fontSize,a))}return i}(m,a,n,e)),t){case"word":this.animationInstance=new Ot({timing:e.timing,duration:x,onProcess:function(t){n.clearRect(0,0,e.width,e.height),e.rotate&&nt(n,e),function(t,e,a,n){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,r=s({},{type:"normal",autoColors:!0},e.extra.word);e.chartData.wordCloudData||(e.chartData.wordCloudData=Mt(e,r.type,n)),n.beginPath(),n.setFillStyle(e.background),n.rect(0,0,e.width,e.height),n.fill(),n.save();var o=e.chartData.wordCloudData;n.translate(e.width/2,e.height/2);for(var l=0;l<o.length;l++){n.save(),o[l].rotate&&n.rotate(90*Math.PI/180);var c=o[l].name,d=o[l].textSize*e.pix,h=y(c,d,n);n.beginPath(),n.setStrokeStyle(o[l].color),n.setFillStyle(o[l].color),n.setFontSize(d),o[l].rotate?o[l].areav[0]>0&&(e.tooltip&&e.tooltip.index==l?n.strokeText(c,(o[l].areav[0]+5-e.width/2)*i-h*(1-i)/2,(o[l].areav[1]+5+d-e.height/2)*i):n.fillText(c,(o[l].areav[0]+5-e.width/2)*i-h*(1-i)/2,(o[l].areav[1]+5+d-e.height/2)*i)):o[l].area[0]>0&&(e.tooltip&&e.tooltip.index==l?n.strokeText(c,(o[l].area[0]+5-e.width/2)*i-h*(1-i)/2,(o[l].area[1]+5+d-e.height/2)*i):n.fillText(c,(o[l].area[0]+5-e.width/2)*i-h*(1-i)/2,(o[l].area[1]+5+d-e.height/2)*i)),n.stroke(),n.restore()}n.restore()}(d,e,a,n,t),$t(0,n)},onAnimationFinish:function(){o.uevent.trigger("renderComplete")}});break;case"map":n.clearRect(0,0,e.width,e.height),function(t,e,a,n){var i,r,o=s({},{border:!0,mercator:!1,borderWidth:1,active:!0,borderColor:"#666666",fillOpacity:.6,activeBorderColor:"#f04864",activeFillColor:"#facc14",activeFillOpacity:1},e.extra.map),l=t,d=function(t){for(var e,a={xMin:180,xMax:0,yMin:90,yMax:0},n=0;n<t.length;n++)for(var i=t[n].geometry.coordinates,r=0;r<i.length;r++){e=i[r],1==e.length&&(e=e[0]);for(var o=0;o<e.length;o++){var s=e[o][0],l=e[o][1],c={x:s,y:l};a.xMin=a.xMin<c.x?a.xMin:c.x,a.xMax=a.xMax>c.x?a.xMax:c.x,a.yMin=a.yMin<c.y?a.yMin:c.y,a.yMax=a.yMax>c.y?a.yMax:c.y}}return a}(l);if(o.mercator){var h=Ct(d.xMax,d.yMax),u=Ct(d.xMin,d.yMin);d.xMax=h[0],d.yMax=h[1],d.xMin=u[0],d.yMin=u[1]}for(var f=e.width/Math.abs(d.xMax-d.xMin),p=e.height/Math.abs(d.yMax-d.yMin),x=f<p?f:p,g=e.width/2-Math.abs(d.xMax-d.xMin)/2*x,v=e.height/2-Math.abs(d.yMax-d.yMin)/2*x,m=0;m<l.length;m++){n.beginPath(),n.setLineWidth(o.borderWidth*e.pix),n.setStrokeStyle(o.borderColor),n.setFillStyle(c(t[m].color,t[m].fillOpacity||o.fillOpacity)),1==o.active&&e.tooltip&&e.tooltip.index==m&&(n.setStrokeStyle(o.activeBorderColor),n.setFillStyle(c(o.activeFillColor,o.activeFillOpacity)));for(var b=l[m].geometry.coordinates,w=0;w<b.length;w++){i=b[w],1==i.length&&(i=i[0]);for(var _=0;_<i.length;_++){var C=Array(2);C=o.mercator?Ct(i[_][0],i[_][1]):i[_],r=At(C[1],C[0],d,x,g,v),0===_?(n.beginPath(),n.moveTo(r.x,r.y)):n.lineTo(r.x,r.y)}n.fill(),1==o.border&&n.stroke()}}if(1==e.dataLabel)for(m=0;m<l.length;m++){var A=l[m].properties.centroid;if(A){o.mercator&&(A=Ct(l[m].properties.centroid[0],l[m].properties.centroid[1])),r=At(A[1],A[0],d,x,g,v);var S=l[m].textSize*e.pix||a.fontSize,T=l[m].textColor||e.fontColor;o.active&&o.activeTextColor&&e.tooltip&&e.tooltip.index==m&&(T=o.activeTextColor);var k=l[m].properties.name;n.beginPath(),n.setFontSize(S),n.setFillStyle(T),n.fillText(k,r.x-y(k,S,n)/2,r.y+S/2),n.closePath(),n.stroke()}}e.chartData.mapData={bounds:d,scale:x,xoffset:g,yoffset:v,mercator:o.mercator},vt(e,a,n,1),n.draw()}(d,e,a,n),setTimeout((function(){r.uevent.trigger("renderComplete")}),50);break;case"funnel":this.animationInstance=new Ot({timing:e.timing,duration:x,onProcess:function(t){n.clearRect(0,0,e.width,e.height),e.rotate&&nt(n,e),e.chartData.funnelData=function(t,e,a,n){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,r=s({},{type:"funnel",activeWidth:10,activeOpacity:.3,border:!1,borderWidth:2,borderColor:"#FFFFFF",fillOpacity:1,minSize:0,labelAlign:"right",linearType:"none",customColor:[]},e.extra.funnel),o=(e.height-e.area[0]-e.area[2])/t.length,l={x:e.area[3]+(e.width-e.area[1]-e.area[3])/2,y:e.height-e.area[2]},d=r.activeWidth*e.pix,h=Math.min((e.width-e.area[1]-e.area[3])/2-d,(e.height-e.area[0]-e.area[2])/2-d),u=z(t,h,r,o,i);if(n.save(),n.translate(l.x,l.y),r.customColor=v(r.linearType,r.customColor,t,a),"pyramid"==r.type)for(var f=0;f<u.length;f++){if(f==u.length-1){e.tooltip&&e.tooltip.index==f&&(n.beginPath(),n.setFillStyle(c(u[f].color,r.activeOpacity)),n.moveTo(-d,-o),n.lineTo(-u[f].radius-d,0),n.lineTo(u[f].radius+d,0),n.lineTo(d,-o),n.lineTo(-d,-o),n.closePath(),n.fill()),u[f].funnelArea=[l.x-u[f].radius,l.y-o*(f+1),l.x+u[f].radius,l.y-o*f],n.beginPath(),n.setLineWidth(r.borderWidth*e.pix),n.setStrokeStyle(r.borderColor);var p=c(u[f].color,r.fillOpacity);if("custom"==r.linearType){var x=n.createLinearGradient(u[f].radius,-o,-u[f].radius,-o);x.addColorStop(0,c(u[f].color,r.fillOpacity)),x.addColorStop(.5,c(r.customColor[u[f].linearIndex],r.fillOpacity)),x.addColorStop(1,c(u[f].color,r.fillOpacity)),p=x}n.setFillStyle(p),n.moveTo(0,-o),n.lineTo(-u[f].radius,0),n.lineTo(u[f].radius,0),n.lineTo(0,-o),n.closePath(),n.fill(),1==r.border&&n.stroke()}else{e.tooltip&&e.tooltip.index==f&&(n.beginPath(),n.setFillStyle(c(u[f].color,r.activeOpacity)),n.moveTo(0,0),n.lineTo(-u[f].radius-d,0),n.lineTo(-u[f+1].radius-d,-o),n.lineTo(u[f+1].radius+d,-o),n.lineTo(u[f].radius+d,0),n.lineTo(0,0),n.closePath(),n.fill()),u[f].funnelArea=[l.x-u[f].radius,l.y-o*(f+1),l.x+u[f].radius,l.y-o*f],n.beginPath(),n.setLineWidth(r.borderWidth*e.pix),n.setStrokeStyle(r.borderColor);p=c(u[f].color,r.fillOpacity);if("custom"==r.linearType){x=n.createLinearGradient(u[f].radius,-o,-u[f].radius,-o);x.addColorStop(0,c(u[f].color,r.fillOpacity)),x.addColorStop(.5,c(r.customColor[u[f].linearIndex],r.fillOpacity)),x.addColorStop(1,c(u[f].color,r.fillOpacity)),p=x}n.setFillStyle(p),n.moveTo(0,0),n.lineTo(-u[f].radius,0),n.lineTo(-u[f+1].radius,-o),n.lineTo(u[f+1].radius,-o),n.lineTo(u[f].radius,0),n.lineTo(0,0),n.closePath(),n.fill(),1==r.border&&n.stroke()}n.translate(0,-o)}else{n.translate(0,-(u.length-1)*o);for(var g=0;g<u.length;g++){if(g==u.length-1){e.tooltip&&e.tooltip.index==g&&(n.beginPath(),n.setFillStyle(c(u[g].color,r.activeOpacity)),n.moveTo(-d-r.minSize/2,0),n.lineTo(-u[g].radius-d,-o),n.lineTo(u[g].radius+d,-o),n.lineTo(d+r.minSize/2,0),n.lineTo(-d-r.minSize/2,0),n.closePath(),n.fill()),u[g].funnelArea=[l.x-u[g].radius,l.y-o,l.x+u[g].radius,l.y],n.beginPath(),n.setLineWidth(r.borderWidth*e.pix),n.setStrokeStyle(r.borderColor);p=c(u[g].color,r.fillOpacity);if("custom"==r.linearType){x=n.createLinearGradient(u[g].radius,-o,-u[g].radius,-o);x.addColorStop(0,c(u[g].color,r.fillOpacity)),x.addColorStop(.5,c(r.customColor[u[g].linearIndex],r.fillOpacity)),x.addColorStop(1,c(u[g].color,r.fillOpacity)),p=x}n.setFillStyle(p),n.moveTo(0,0),n.lineTo(-r.minSize/2,0),n.lineTo(-u[g].radius,-o),n.lineTo(u[g].radius,-o),n.lineTo(r.minSize/2,0),n.lineTo(0,0),n.closePath(),n.fill(),1==r.border&&n.stroke()}else{e.tooltip&&e.tooltip.index==g&&(n.beginPath(),n.setFillStyle(c(u[g].color,r.activeOpacity)),n.moveTo(0,0),n.lineTo(-u[g+1].radius-d,0),n.lineTo(-u[g].radius-d,-o),n.lineTo(u[g].radius+d,-o),n.lineTo(u[g+1].radius+d,0),n.lineTo(0,0),n.closePath(),n.fill()),u[g].funnelArea=[l.x-u[g].radius,l.y-o*(u.length-g),l.x+u[g].radius,l.y-o*(u.length-g-1)],n.beginPath(),n.setLineWidth(r.borderWidth*e.pix),n.setStrokeStyle(r.borderColor);p=c(u[g].color,r.fillOpacity);if("custom"==r.linearType){x=n.createLinearGradient(u[g].radius,-o,-u[g].radius,-o);x.addColorStop(0,c(u[g].color,r.fillOpacity)),x.addColorStop(.5,c(r.customColor[u[g].linearIndex],r.fillOpacity)),x.addColorStop(1,c(u[g].color,r.fillOpacity)),p=x}n.setFillStyle(p),n.moveTo(0,0),n.lineTo(-u[g+1].radius,0),n.lineTo(-u[g].radius,-o),n.lineTo(u[g].radius,-o),n.lineTo(u[g+1].radius,0),n.lineTo(0,0),n.closePath(),n.fill(),1==r.border&&n.stroke()}n.translate(0,o)}}return n.restore(),!1!==e.dataLabel&&1===i&&Dt(u,e,n,o,r.labelAlign,d,l),1===i&&Ft(u,e,n,o,r.labelAlign,d,l),{center:l,radius:h,series:u}}(d,e,a,n,t),wt(e.series,e,a,n,e.chartData),vt(e,a,n,t),$t(0,n)},onAnimationFinish:function(){o.uevent.trigger("renderComplete")}});break;case"line":this.animationInstance=new Ot({timing:e.timing,duration:x,onProcess:function(t){n.clearRect(0,0,e.width,e.height),e.rotate&&nt(n,e),yt(0,e,0,n),mt(h,e,a,n);var i=function(t,e,a,n){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,r=s({},{type:"straight",width:2},e.extra.line);r.width*=e.pix;var o=e.chartData.xAxisData,l=o.xAxisPoints,c=o.eachSpacing,d=[];n.save();var h=0,u=e.width+c;return e._scrollDistance_&&0!==e._scrollDistance_&&!0===e.enableScroll&&(n.translate(e._scrollDistance_,0),h=-e._scrollDistance_-2*c+e.area[3],u=h+(e.xAxis.itemCount+4)*c),t.forEach((function(t,o){var s,p,x;s=[].concat(e.chartData.yAxisData.ranges[t.index]),p=s.pop(),x=s.shift();var g=t.data,v=J(g,p,x,l,c,e,a,i);d.push(v);var m=$(v,t);if("dash"==t.lineType){var y=t.dashLength?t.dashLength:8;y*=e.pix,n.setLineDash([y,y])}n.beginPath(),n.setStrokeStyle(t.color),n.setLineWidth(r.width),m.forEach((function(t,e){if(1===t.length)n.moveTo(t[0].x,t[0].y),n.arc(t[0].x,t[0].y,1,0,2*Math.PI);else{n.moveTo(t[0].x,t[0].y);var a=0;if("curve"===r.type)for(var i=0;i<t.length;i++){var o=t[i];if(0==a&&o.x>h&&(n.moveTo(o.x,o.y),a=1),i>0&&o.x>h&&o.x<u){var s=f(t,i-1);n.bezierCurveTo(s.ctrA.x,s.ctrA.y,s.ctrB.x,s.ctrB.y,o.x,o.y)}}if("straight"===r.type)for(var l=0;l<t.length;l++){var c=t[l];0==a&&c.x>h&&(n.moveTo(c.x,c.y),a=1),l>0&&c.x>h&&c.x<u&&n.lineTo(c.x,c.y)}if("step"===r.type)for(var d=0;d<t.length;d++){var p=t[d];0==a&&p.x>h&&(n.moveTo(p.x,p.y),a=1),d>0&&p.x>h&&p.x<u&&(n.lineTo(p.x,t[d-1].y),n.lineTo(p.x,p.y))}n.moveTo(t[0].x,t[0].y)}})),n.stroke(),n.setLineDash([]),!1!==e.dataPointShape&&it(v,t.color,t.pointShape,n,e)})),!1!==e.dataLabel&&1===i&&t.forEach((function(t,r){var o,s,d;o=[].concat(e.chartData.yAxisData.ranges[t.index]),s=o.pop(),d=o.shift();var h=t.data,u=J(h,s,d,l,c,e,a,i);ot(u,t,a,n,e)})),n.restore(),{xAxisPoints:l,calPoints:d,eachSpacing:c}}(d,e,a,n,t),r=i.xAxisPoints,o=i.calPoints,l=i.eachSpacing;e.chartData.xAxisPoints=r,e.chartData.calPoints=o,e.chartData.eachSpacing=l,bt(0,e,a,n),!1!==e.enableMarkLine&&1===t&&ut(e,a,n),wt(e.series,e,a,n,e.chartData),vt(e,a,n,t),$t(0,n)},onAnimationFinish:function(){o.uevent.trigger("renderComplete")}});break;case"scatter":this.animationInstance=new Ot({timing:e.timing,duration:x,onProcess:function(t){n.clearRect(0,0,e.width,e.height),e.rotate&&nt(n,e),yt(0,e,0,n),mt(h,e,a,n);var i=function(t,e,a,n){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,r=(s({},{type:"circle"},e.extra.scatter),e.chartData.xAxisData),o=r.xAxisPoints,l=r.eachSpacing,c=[];n.save();return e.width,e._scrollDistance_&&0!==e._scrollDistance_&&!0===e.enableScroll&&(n.translate(e._scrollDistance_,0),-e._scrollDistance_-2*l+e.area[3],e.xAxis.itemCount),t.forEach((function(t,r){var s,c,d;s=[].concat(e.chartData.yAxisData.ranges[t.index]),c=s.pop(),d=s.shift();var h=t.data,u=J(h,c,d,o,l,e,a,i);n.beginPath(),n.setStrokeStyle(t.color),n.setFillStyle(t.color),n.setLineWidth(1*e.pix);var f=t.pointShape;if("diamond"===f)u.forEach((function(t,e){null!==t&&(n.moveTo(t.x,t.y-4.5),n.lineTo(t.x-4.5,t.y),n.lineTo(t.x,t.y+4.5),n.lineTo(t.x+4.5,t.y),n.lineTo(t.x,t.y-4.5))}));else if("circle"===f)u.forEach((function(t,a){null!==t&&(n.moveTo(t.x+2.5*e.pix,t.y),n.arc(t.x,t.y,3*e.pix,0,2*Math.PI,!1))}));else if("square"===f)u.forEach((function(t,e){null!==t&&(n.moveTo(t.x-3.5,t.y-3.5),n.rect(t.x-3.5,t.y-3.5,7,7))}));else if("triangle"===f)u.forEach((function(t,e){null!==t&&(n.moveTo(t.x,t.y-4.5),n.lineTo(t.x-4.5,t.y+4.5),n.lineTo(t.x+4.5,t.y+4.5),n.lineTo(t.x,t.y-4.5))}));else if("triangle"===f)return;n.closePath(),n.fill(),n.stroke()})),!1!==e.dataLabel&&1===i&&t.forEach((function(t,r){var s,c,d;s=[].concat(e.chartData.yAxisData.ranges[t.index]),c=s.pop(),d=s.shift();var h=t.data,u=J(h,c,d,o,l,e,a,i);ot(u,t,a,n,e)})),n.restore(),{xAxisPoints:o,calPoints:c,eachSpacing:l}}(d,e,a,n,t),r=i.xAxisPoints,o=i.calPoints,l=i.eachSpacing;e.chartData.xAxisPoints=r,e.chartData.calPoints=o,e.chartData.eachSpacing=l,bt(0,e,a,n),!1!==e.enableMarkLine&&1===t&&ut(e,a,n),wt(e.series,e,a,n,e.chartData),vt(e,a,n,t),$t(0,n)},onAnimationFinish:function(){o.uevent.trigger("renderComplete")}});break;case"bubble":this.animationInstance=new Ot({timing:e.timing,duration:x,onProcess:function(t){n.clearRect(0,0,e.width,e.height),e.rotate&&nt(n,e),yt(0,e,0,n),mt(h,e,a,n);var i=function(t,e,a,n){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,r=s({},{opacity:1,border:2},e.extra.bubble),o=e.chartData.xAxisData,l=o.xAxisPoints,d=o.eachSpacing,h=[];n.save();return e.width,e._scrollDistance_&&0!==e._scrollDistance_&&!0===e.enableScroll&&(n.translate(e._scrollDistance_,0),-e._scrollDistance_-2*d+e.area[3],e.xAxis.itemCount),t.forEach((function(t,o){var s,h,u;s=[].concat(e.chartData.yAxisData.ranges[t.index]),h=s.pop(),u=s.shift();var f=t.data,p=J(f,h,u,l,d,e,a,i);n.beginPath(),n.setStrokeStyle(t.color),n.setLineWidth(r.border*e.pix),n.setFillStyle(c(t.color,r.opacity)),p.forEach((function(t,a){n.moveTo(t.x+t.r,t.y),n.arc(t.x,t.y,t.r*e.pix,0,2*Math.PI,!1)})),n.closePath(),n.fill(),n.stroke(),!1!==e.dataLabel&&1===i&&p.forEach((function(i,r){n.beginPath();var o=t.textSize*e.pix||a.fontSize;n.setFontSize(o),n.setFillStyle(t.textColor||"#FFFFFF"),n.setTextAlign("center"),n.fillText(String(i.t),i.x,i.y+o/2),n.closePath(),n.stroke(),n.setTextAlign("left")}))})),n.restore(),{xAxisPoints:l,calPoints:h,eachSpacing:d}}(d,e,a,n,t),r=i.xAxisPoints,o=i.calPoints,l=i.eachSpacing;e.chartData.xAxisPoints=r,e.chartData.calPoints=o,e.chartData.eachSpacing=l,bt(0,e,a,n),!1!==e.enableMarkLine&&1===t&&ut(e,a,n),wt(e.series,e,a,n,e.chartData),vt(e,a,n,t),$t(0,n)},onAnimationFinish:function(){o.uevent.trigger("renderComplete")}});break;case"mix":this.animationInstance=new Ot({timing:e.timing,duration:x,onProcess:function(t){n.clearRect(0,0,e.width,e.height),e.rotate&&nt(n,e),yt(0,e,0,n),mt(h,e,a,n);var r=function(t,e,a,n){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,o=e.chartData.xAxisData,l=o.xAxisPoints,d=o.eachSpacing,h=s({},{width:d/2,barBorderCircle:!1,barBorderRadius:[],seriesGap:2,linearType:"none",linearOpacity:1,customColor:[],colorStop:0},e.extra.mix.column),u=s({},{opacity:.2,gradient:!1},e.extra.mix.area),p=s({},{width:2},e.extra.mix.line),x=e.height-e.area[2],g=[],m=0,y=0;t.forEach((function(t,e){"column"==t.type&&(y+=1)})),n.save();var b=-2,w=l.length+2,_=0,C=e.width+d;if(e._scrollDistance_&&0!==e._scrollDistance_&&!0===e.enableScroll&&(n.translate(e._scrollDistance_,0),b=Math.floor(-e._scrollDistance_/d)-2,w=b+e.xAxis.itemCount+4,_=-e._scrollDistance_-2*d+e.area[3],C=_+(e.xAxis.itemCount+4)*d),h.customColor=v(h.linearType,h.customColor,t,a),t.forEach((function(t,o){var s,v,A;s=[].concat(e.chartData.yAxisData.ranges[t.index]),v=s.pop(),A=s.shift();var S=t.data,T=J(S,v,A,l,d,e,a,r);if(g.push(T),"column"==t.type){T=N(T,d,y,m,0,e);for(var k=0;k<T.length;k++){var P=T[k];if(null!==P&&k>b&&k<w){var M=P.x-P.width/2;e.height,P.y,e.area[2];n.beginPath();var D=P.color||t.color,F=P.color||t.color;if("none"!==h.linearType){var L=n.createLinearGradient(M,P.y,M,e.height-e.area[2]);"opacity"==h.linearType?(L.addColorStop(0,c(D,h.linearOpacity)),L.addColorStop(1,c(D,1))):(L.addColorStop(0,c(h.customColor[t.linearIndex],h.linearOpacity)),L.addColorStop(h.colorStop,c(h.customColor[t.linearIndex],h.linearOpacity)),L.addColorStop(1,c(D,1))),D=L}if(h.barBorderRadius&&4===h.barBorderRadius.length||h.barBorderCircle){var O=M,I=P.y,E=P.width,z=e.height-e.area[2]-P.y;h.barBorderCircle&&(h.barBorderRadius=[E/2,E/2,0,0]);var B=(0,i.default)(h.barBorderRadius,4),W=B[0],R=B[1],j=B[2],G=B[3],Y=Math.min(E/2,z/2);W=W>Y?Y:W,R=R>Y?Y:R,j=j>Y?Y:j,G=G>Y?Y:G,W=W<0?0:W,R=R<0?0:R,j=j<0?0:j,G=G<0?0:G,n.arc(O+W,I+W,W,-Math.PI,-Math.PI/2),n.arc(O+E-R,I+R,R,-Math.PI/2,0),n.arc(O+E-j,I+z-j,j,0,Math.PI/2),n.arc(O+G,I+z-G,G,Math.PI/2,Math.PI)}else n.moveTo(M,P.y),n.lineTo(M+P.width,P.y),n.lineTo(M+P.width,e.height-e.area[2]),n.lineTo(M,e.height-e.area[2]),n.lineTo(M,P.y),n.setLineWidth(1),n.setStrokeStyle(F);n.setFillStyle(D),n.closePath(),n.fill()}}m+=1}if("area"==t.type)for(var U=$(T,t),V=0;V<U.length;V++){var H=U[V];if(n.beginPath(),n.setStrokeStyle(t.color),n.setStrokeStyle(c(t.color,u.opacity)),u.gradient){var X=n.createLinearGradient(0,e.area[0],0,e.height-e.area[2]);X.addColorStop("0",c(t.color,u.opacity)),X.addColorStop("1.0",c("#FFFFFF",.1)),n.setFillStyle(X)}else n.setFillStyle(c(t.color,u.opacity));if(n.setLineWidth(2*e.pix),H.length>1){var q=H[0],Q=H[H.length-1];n.moveTo(q.x,q.y);var Z=0;if("curve"===t.style)for(var K=0;K<H.length;K++){var tt=H[K];if(0==Z&&tt.x>_&&(n.moveTo(tt.x,tt.y),Z=1),K>0&&tt.x>_&&tt.x<C){var et=f(H,K-1);n.bezierCurveTo(et.ctrA.x,et.ctrA.y,et.ctrB.x,et.ctrB.y,tt.x,tt.y)}}else for(var at=0;at<H.length;at++){var nt=H[at];0==Z&&nt.x>_&&(n.moveTo(nt.x,nt.y),Z=1),at>0&&nt.x>_&&nt.x<C&&n.lineTo(nt.x,nt.y)}n.lineTo(Q.x,x),n.lineTo(q.x,x),n.lineTo(q.x,q.y)}else{var rt=H[0];n.moveTo(rt.x-d/2,rt.y),n.lineTo(rt.x+d/2,rt.y),n.lineTo(rt.x+d/2,x),n.lineTo(rt.x-d/2,x),n.moveTo(rt.x-d/2,rt.y)}n.closePath(),n.fill()}if("line"==t.type){var ot=$(T,t);ot.forEach((function(a,i){if("dash"==t.lineType){var r=t.dashLength?t.dashLength:8;r*=e.pix,n.setLineDash([r,r])}if(n.beginPath(),n.setStrokeStyle(t.color),n.setLineWidth(p.width*e.pix),1===a.length)n.moveTo(a[0].x,a[0].y),n.arc(a[0].x,a[0].y,1,0,2*Math.PI);else{n.moveTo(a[0].x,a[0].y);var o=0;if("curve"==t.style)for(var s=0;s<a.length;s++){var l=a[s];if(0==o&&l.x>_&&(n.moveTo(l.x,l.y),o=1),s>0&&l.x>_&&l.x<C){var c=f(a,s-1);n.bezierCurveTo(c.ctrA.x,c.ctrA.y,c.ctrB.x,c.ctrB.y,l.x,l.y)}}else for(var d=0;d<a.length;d++){var h=a[d];0==o&&h.x>_&&(n.moveTo(h.x,h.y),o=1),d>0&&h.x>_&&h.x<C&&n.lineTo(h.x,h.y)}n.moveTo(a[0].x,a[0].y)}n.stroke(),n.setLineDash([])}))}"point"==t.type&&(t.addPoint=!0),1==t.addPoint&&"column"!==t.type&&it(T,t.color,t.pointShape,n,e)})),!1!==e.dataLabel&&1===r){m=0;t.forEach((function(t,i){var o,s,c;o=[].concat(e.chartData.yAxisData.ranges[t.index]),s=o.pop(),c=o.shift();var h=t.data,u=J(h,s,c,l,d,e,a,r);"column"!==t.type?ot(u,t,a,n,e):(u=N(u,d,y,m,0,e),ot(u,t,a,n,e),m+=1)}))}return n.restore(),{xAxisPoints:l,calPoints:g,eachSpacing:d}}(d,e,a,n,t),o=r.xAxisPoints,l=r.calPoints,u=r.eachSpacing;e.chartData.xAxisPoints=o,e.chartData.calPoints=l,e.chartData.eachSpacing=u,bt(0,e,a,n),!1!==e.enableMarkLine&&1===t&&ut(e,a,n),wt(e.series,e,a,n,e.chartData),vt(e,a,n,t),$t(0,n)},onAnimationFinish:function(){o.uevent.trigger("renderComplete")}});break;case"column":this.animationInstance=new Ot({timing:e.timing,duration:x,onProcess:function(t){n.clearRect(0,0,e.width,e.height),e.rotate&&nt(n,e),yt(0,e,0,n),mt(h,e,a,n);var r=function(t,e,a,n){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,o=e.chartData.xAxisData,l=o.xAxisPoints,d=o.eachSpacing,h=s({},{type:"group",width:d/2,meterBorder:4,meterFillColor:"#FFFFFF",barBorderCircle:!1,barBorderRadius:[],seriesGap:2,linearType:"none",linearOpacity:1,customColor:[],colorStop:0},e.extra.column),u=[];n.save();var f=-2,p=l.length+2;return e._scrollDistance_&&0!==e._scrollDistance_&&!0===e.enableScroll&&(n.translate(e._scrollDistance_,0),f=Math.floor(-e._scrollDistance_/d)-2,p=f+e.xAxis.itemCount+4),e.tooltip&&e.tooltip.textList&&e.tooltip.textList.length&&1===r&&pt(e.tooltip.offset.x,e,0,n,d),h.customColor=v(h.linearType,h.customColor,t,a),t.forEach((function(o,s){var x,g,v;x=[].concat(e.chartData.yAxisData.ranges[o.index]),g=x.pop(),v=x.shift();var m=o.data;switch(h.type){case"group":var y=J(m,g,v,l,d,e,a,r),b=K(m,g,v,l,d,e,a,s,t,r);u.push(b),y=N(y,d,t.length,s,0,e);for(var w=0;w<y.length;w++){var _=y[w];if(null!==_&&w>f&&w<p){var C=_.x-_.width/2,A=e.height-_.y-e.area[2];n.beginPath();var S=_.color||o.color,T=_.color||o.color;if("none"!==h.linearType){var k=n.createLinearGradient(C,_.y,C,e.height-e.area[2]);"opacity"==h.linearType?(k.addColorStop(0,c(S,h.linearOpacity)),k.addColorStop(1,c(S,1))):(k.addColorStop(0,c(h.customColor[o.linearIndex],h.linearOpacity)),k.addColorStop(h.colorStop,c(h.customColor[o.linearIndex],h.linearOpacity)),k.addColorStop(1,c(S,1))),S=k}if(h.barBorderRadius&&4===h.barBorderRadius.length||!0===h.barBorderCircle){var P=C,M=_.y,D=_.width,F=e.height-e.area[2]-_.y;h.barBorderCircle&&(h.barBorderRadius=[D/2,D/2,0,0]);var $=(0,i.default)(h.barBorderRadius,4),L=$[0],O=$[1],I=$[2],E=$[3],z=Math.min(D/2,F/2);L=L>z?z:L,O=O>z?z:O,I=I>z?z:I,E=E>z?z:E,L=L<0?0:L,O=O<0?0:O,I=I<0?0:I,E=E<0?0:E,n.arc(P+L,M+L,L,-Math.PI,-Math.PI/2),n.arc(P+D-O,M+O,O,-Math.PI/2,0),n.arc(P+D-I,M+F-I,I,0,Math.PI/2),n.arc(P+E,M+F-E,E,Math.PI/2,Math.PI)}else n.moveTo(C,_.y),n.lineTo(C+_.width,_.y),n.lineTo(C+_.width,e.height-e.area[2]),n.lineTo(C,e.height-e.area[2]),n.lineTo(C,_.y),n.setLineWidth(1),n.setStrokeStyle(T);n.setFillStyle(S),n.closePath(),n.fill()}}break;case"stack":y=K(m,g,v,l,d,e,a,s,t,r);u.push(y),y=V(y,d,t.length,0,0,e);for(var B=0;B<y.length;B++){var W=y[B];if(null!==W&&B>f&&B<p){n.beginPath();S=W.color||o.color,C=W.x-W.width/2+1,A=e.height-W.y-e.area[2];var R=e.height-W.y0-e.area[2];s>0&&(A-=R),n.setFillStyle(S),n.moveTo(C,W.y),n.fillRect(C,W.y,W.width,A),n.closePath(),n.fill()}}break;case"meter":y=J(m,g,v,l,d,e,a,r);u.push(y),y=U(y,d,t.length,s,0,e,h.meterBorder);for(var j=0;j<y.length;j++){var G=y[j];if(null!==G&&j>f&&j<p){n.beginPath(),0==s&&h.meterBorder>0&&(n.setStrokeStyle(o.color),n.setLineWidth(h.meterBorder*e.pix)),0==s?n.setFillStyle(h.meterFillColor):n.setFillStyle(G.color||o.color);C=G.x-G.width/2,A=e.height-G.y-e.area[2];if(h.barBorderRadius&&4===h.barBorderRadius.length||!0===h.barBorderCircle){var Y=C,H=G.y,X=G.width,q=e.height-e.area[2]-G.y;h.barBorderCircle&&(h.barBorderRadius=[X/2,X/2,0,0]);var Q=(0,i.default)(h.barBorderRadius,4),Z=Q[0],tt=Q[1],et=Q[2],at=Q[3],nt=Math.min(X/2,q/2);Z=Z>nt?nt:Z,tt=tt>nt?nt:tt,et=et>nt?nt:et,at=at>nt?nt:at,Z=Z<0?0:Z,tt=tt<0?0:tt,et=et<0?0:et,at=at<0?0:at,n.arc(Y+Z,H+Z,Z,-Math.PI,-Math.PI/2),n.arc(Y+X-tt,H+tt,tt,-Math.PI/2,0),n.arc(Y+X-et,H+q-et,et,0,Math.PI/2),n.arc(Y+at,H+q-at,at,Math.PI/2,Math.PI),n.fill()}else n.moveTo(C,G.y),n.lineTo(C+G.width,G.y),n.lineTo(C+G.width,e.height-e.area[2]),n.lineTo(C,e.height-e.area[2]),n.lineTo(C,G.y),n.fill();0==s&&h.meterBorder>0&&(n.closePath(),n.stroke())}}break}})),!1!==e.dataLabel&&1===r&&t.forEach((function(i,o){var s,c,u;s=[].concat(e.chartData.yAxisData.ranges[i.index]),c=s.pop(),u=s.shift();var f=i.data;switch(h.type){case"group":var p=J(f,c,u,l,d,e,a,r);p=N(p,d,t.length,o,0,e),ot(p,i,a,n,e);break;case"stack":p=K(f,c,u,l,d,e,a,o,t,r);ot(p,i,a,n,e);break;case"meter":p=J(f,c,u,l,d,e,a,r);ot(p,i,a,n,e);break}})),n.restore(),{xAxisPoints:l,calPoints:u,eachSpacing:d}}(d,e,a,n,t),o=r.xAxisPoints,l=r.calPoints,u=r.eachSpacing;e.chartData.xAxisPoints=o,e.chartData.calPoints=l,e.chartData.eachSpacing=u,bt(0,e,a,n),!1!==e.enableMarkLine&&1===t&&ut(e,a,n),wt(e.series,e,a,n,e.chartData),vt(e,a,n,t),$t(0,n)},onAnimationFinish:function(){o.uevent.trigger("renderComplete")}});break;case"mount":this.animationInstance=new Ot({timing:e.timing,duration:x,onProcess:function(t){n.clearRect(0,0,e.width,e.height),e.rotate&&nt(n,e),yt(0,e,0,n),mt(h,e,a,n);var r=function(t,e,a,n){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,o=e.chartData.xAxisData,l=o.xAxisPoints,d=o.eachSpacing,h=s({},{type:"mount",widthRatio:1,borderWidth:1,barBorderCircle:!1,barBorderRadius:[],linearType:"none",linearOpacity:1,customColor:[],colorStop:0},e.extra.mount);h.widthRatio=h.widthRatio<=0?0:h.widthRatio,h.widthRatio=h.widthRatio>=2?2:h.widthRatio,n.save();var u,f,p,x=-2,g=l.length+2;e._scrollDistance_&&0!==e._scrollDistance_&&!0===e.enableScroll&&(n.translate(e._scrollDistance_,0),x=Math.floor(-e._scrollDistance_/d)-2,g=x+e.xAxis.itemCount+4),h.customColor=v(h.linearType,h.customColor,t,a),u=[].concat(e.chartData.yAxisData.ranges[0]),f=u.pop(),p=u.shift();var m=Q(t,f,p,l,d,e,h,r);switch(h.type){case"bar":for(var y=0;y<m.length;y++){var b=m[y];if(null!==b&&y>x&&y<g){var w=b.x-d*h.widthRatio/2,_=e.height-b.y-e.area[2];n.beginPath();var C=b.color||t[y].color,A=b.color||t[y].color;if("none"!==h.linearType){var S=n.createLinearGradient(w,b.y,w,e.height-e.area[2]);"opacity"==h.linearType?(S.addColorStop(0,c(C,h.linearOpacity)),S.addColorStop(1,c(C,1))):(S.addColorStop(0,c(h.customColor[t[y].linearIndex],h.linearOpacity)),S.addColorStop(h.colorStop,c(h.customColor[t[y].linearIndex],h.linearOpacity)),S.addColorStop(1,c(C,1))),C=S}if(h.barBorderRadius&&4===h.barBorderRadius.length||!0===h.barBorderCircle){var T=w,k=b.y,P=b.width,M=e.height-e.area[2]-b.y-h.borderWidth*e.pix/2;h.barBorderCircle&&(h.barBorderRadius=[P/2,P/2,0,0]);var D=(0,i.default)(h.barBorderRadius,4),F=D[0],$=D[1],L=D[2],O=D[3],I=Math.min(P/2,M/2);F=F>I?I:F,$=$>I?I:$,L=L>I?I:L,O=O>I?I:O,F=F<0?0:F,$=$<0?0:$,L=L<0?0:L,O=O<0?0:O,n.arc(T+F,k+F,F,-Math.PI,-Math.PI/2),n.arc(T+P-$,k+$,$,-Math.PI/2,0),n.arc(T+P-L,k+M-L,L,0,Math.PI/2),n.arc(T+O,k+M-O,O,Math.PI/2,Math.PI)}else n.moveTo(w,b.y),n.lineTo(w+b.width,b.y),n.lineTo(w+b.width,e.height-e.area[2]),n.lineTo(w,e.height-e.area[2]),n.lineTo(w,b.y);n.setStrokeStyle(A),n.setFillStyle(C),h.borderWidth>0&&(n.setLineWidth(h.borderWidth*e.pix),n.closePath(),n.stroke()),n.fill()}}break;case"triangle":for(var E=0;E<m.length;E++){var z=m[E];if(null!==z&&E>x&&E<g){w=z.x-d*h.widthRatio/2,_=e.height-z.y-e.area[2];n.beginPath();C=z.color||t[E].color,A=z.color||t[E].color;if("none"!==h.linearType){S=n.createLinearGradient(w,z.y,w,e.height-e.area[2]);"opacity"==h.linearType?(S.addColorStop(0,c(C,h.linearOpacity)),S.addColorStop(1,c(C,1))):(S.addColorStop(0,c(h.customColor[t[E].linearIndex],h.linearOpacity)),S.addColorStop(h.colorStop,c(h.customColor[t[E].linearIndex],h.linearOpacity)),S.addColorStop(1,c(C,1))),C=S}n.moveTo(w,e.height-e.area[2]),n.lineTo(z.x,z.y),n.lineTo(w+z.width,e.height-e.area[2]),n.setStrokeStyle(A),n.setFillStyle(C),h.borderWidth>0&&(n.setLineWidth(h.borderWidth*e.pix),n.stroke()),n.fill()}}break;case"mount":for(var B=0;B<m.length;B++){var W=m[B];if(null!==W&&B>x&&B<g){w=W.x-d*h.widthRatio/2,_=e.height-W.y-e.area[2];n.beginPath();C=W.color||t[B].color,A=W.color||t[B].color;if("none"!==h.linearType){S=n.createLinearGradient(w,W.y,w,e.height-e.area[2]);"opacity"==h.linearType?(S.addColorStop(0,c(C,h.linearOpacity)),S.addColorStop(1,c(C,1))):(S.addColorStop(0,c(h.customColor[t[B].linearIndex],h.linearOpacity)),S.addColorStop(h.colorStop,c(h.customColor[t[B].linearIndex],h.linearOpacity)),S.addColorStop(1,c(C,1))),C=S}n.moveTo(w,e.height-e.area[2]),n.bezierCurveTo(W.x-W.width/4,e.height-e.area[2],W.x-W.width/4,W.y,W.x,W.y),n.bezierCurveTo(W.x+W.width/4,W.y,W.x+W.width/4,e.height-e.area[2],w+W.width,e.height-e.area[2]),n.setStrokeStyle(A),n.setFillStyle(C),h.borderWidth>0&&(n.setLineWidth(h.borderWidth*e.pix),n.stroke()),n.fill()}}break;case"sharp":for(var R=0;R<m.length;R++){var j=m[R];if(null!==j&&R>x&&R<g){w=j.x-d*h.widthRatio/2,_=e.height-j.y-e.area[2];n.beginPath();C=j.color||t[R].color,A=j.color||t[R].color;if("none"!==h.linearType){S=n.createLinearGradient(w,j.y,w,e.height-e.area[2]);"opacity"==h.linearType?(S.addColorStop(0,c(C,h.linearOpacity)),S.addColorStop(1,c(C,1))):(S.addColorStop(0,c(h.customColor[t[R].linearIndex],h.linearOpacity)),S.addColorStop(h.colorStop,c(h.customColor[t[R].linearIndex],h.linearOpacity)),S.addColorStop(1,c(C,1))),C=S}n.moveTo(w,e.height-e.area[2]),n.quadraticCurveTo(j.x-0,e.height-e.area[2]-_/4,j.x,j.y),n.quadraticCurveTo(j.x+0,e.height-e.area[2]-_/4,w+j.width,e.height-e.area[2]),n.setStrokeStyle(A),n.setFillStyle(C),h.borderWidth>0&&(n.setLineWidth(h.borderWidth*e.pix),n.stroke()),n.fill()}}break}if(!1!==e.dataLabel&&1===r){var G,N,Y;G=[].concat(e.chartData.yAxisData.ranges[0]),N=G.pop(),Y=G.shift();m=Q(t,N,Y,l,d,e,h,r);st(m,t,a,n,e)}return n.restore(),{xAxisPoints:l,calPoints:m,eachSpacing:d}}(d,e,a,n,t),o=r.xAxisPoints,l=r.calPoints,u=r.eachSpacing;e.chartData.xAxisPoints=o,e.chartData.calPoints=l,e.chartData.eachSpacing=u,bt(0,e,a,n),!1!==e.enableMarkLine&&1===t&&ut(e,a,n),wt(e.series,e,a,n,e.chartData),vt(e,a,n,t),$t(0,n)},onAnimationFinish:function(){o.uevent.trigger("renderComplete")}});break;case"bar":this.animationInstance=new Ot({timing:e.timing,duration:x,onProcess:function(t){n.clearRect(0,0,e.width,e.height),e.rotate&&nt(n,e),mt(h,e,a,n);var r=function(t,e,a,n){for(var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,o=[],l=(e.height-e.area[0]-e.area[2])/e.categories.length,d=0;d<e.categories.length;d++)o.push(e.area[0]+l/2+l*d);var h=s({},{type:"group",width:l/2,meterBorder:4,meterFillColor:"#FFFFFF",barBorderCircle:!1,barBorderRadius:[],seriesGap:2,linearType:"none",linearOpacity:1,customColor:[],colorStop:0},e.extra.bar),u=[];n.save();var f=-2,p=o.length+2;return e.tooltip&&e.tooltip.textList&&e.tooltip.textList.length&&1===r&&xt(e.tooltip.offset.y,e,0,n,l),h.customColor=v(h.linearType,h.customColor,t,a),t.forEach((function(s,d){var x,g,v;x=[].concat(e.chartData.xAxisData.ranges),v=x.pop(),g=x.shift();var m=s.data;switch(h.type){case"group":var y=Z(m,g,v,o,l,e,a,r),b=tt(m,g,v,o,l,e,a,d,t,r);u.push(b),y=Y(y,l,t.length,d,0,e);for(var w=0;w<y.length;w++){var _=y[w];if(null!==_&&w>f&&w<p){var C=e.area[3],A=_.y-_.width/2;_.height;n.beginPath();var S=_.color||s.color,T=_.color||s.color;if("none"!==h.linearType){var k=n.createLinearGradient(C,_.y,_.x,_.y);"opacity"==h.linearType?(k.addColorStop(0,c(S,h.linearOpacity)),k.addColorStop(1,c(S,1))):(k.addColorStop(0,c(h.customColor[s.linearIndex],h.linearOpacity)),k.addColorStop(h.colorStop,c(h.customColor[s.linearIndex],h.linearOpacity)),k.addColorStop(1,c(S,1))),S=k}if(h.barBorderRadius&&4===h.barBorderRadius.length||!0===h.barBorderCircle){var P=C,M=_.width,D=_.y-_.width/2,F=_.height;h.barBorderCircle&&(h.barBorderRadius=[M/2,M/2,0,0]);var $=(0,i.default)(h.barBorderRadius,4),L=$[0],O=$[1],I=$[2],E=$[3],z=Math.min(M/2,F/2);L=L>z?z:L,O=O>z?z:O,I=I>z?z:I,E=E>z?z:E,L=L<0?0:L,O=O<0?0:O,I=I<0?0:I,E=E<0?0:E,n.arc(P+E,D+E,E,-Math.PI,-Math.PI/2),n.arc(_.x-L,D+L,L,-Math.PI/2,0),n.arc(_.x-O,D+M-O,O,0,Math.PI/2),n.arc(P+I,D+M-I,I,Math.PI/2,Math.PI)}else n.moveTo(C,A),n.lineTo(_.x,A),n.lineTo(_.x,A+_.width),n.lineTo(C,A+_.width),n.lineTo(C,A),n.setLineWidth(1),n.setStrokeStyle(T);n.setFillStyle(S),n.closePath(),n.fill()}}break;case"stack":y=tt(m,g,v,o,l,e,a,d,t,r);u.push(y),y=H(y,l,t.length,0,0,e);for(var B=0;B<y.length;B++){var W=y[B];if(null!==W&&B>f&&B<p){n.beginPath();S=W.color||s.color,C=W.x0;n.setFillStyle(S),n.moveTo(C,W.y-W.width/2),n.fillRect(C,W.y-W.width/2,W.height,W.width),n.closePath(),n.fill()}}break}})),!1!==e.dataLabel&&1===r&&t.forEach((function(i,s){var c,d,u;c=[].concat(e.chartData.xAxisData.ranges),u=c.pop(),d=c.shift();var f=i.data;switch(h.type){case"group":var p=Z(f,d,u,o,l,e,a,r);p=Y(p,l,t.length,s,0,e),lt(p,i,a,n,e);break;case"stack":p=tt(f,d,u,o,l,e,a,s,t,r);lt(p,i,a,n,e);break}})),{yAxisPoints:o,calPoints:u,eachSpacing:l}}(d,e,a,n,t),o=r.yAxisPoints,l=r.calPoints,u=r.eachSpacing;e.chartData.yAxisPoints=o,e.chartData.xAxisPoints=e.chartData.xAxisData.xAxisPoints,e.chartData.calPoints=l,e.chartData.eachSpacing=u,bt(0,e,a,n),!1!==e.enableMarkLine&&1===t&&ut(e,a,n),wt(e.series,e,a,n,e.chartData),vt(e,a,n,t),$t(0,n)},onAnimationFinish:function(){o.uevent.trigger("renderComplete")}});break;case"area":this.animationInstance=new Ot({timing:e.timing,duration:x,onProcess:function(t){n.clearRect(0,0,e.width,e.height),e.rotate&&nt(n,e),yt(0,e,0,n),mt(h,e,a,n);var i=function(t,e,a,n){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,r=s({},{type:"straight",opacity:.2,addLine:!1,width:2,gradient:!1},e.extra.area),o=e.chartData.xAxisData,l=o.xAxisPoints,d=o.eachSpacing,h=e.height-e.area[2],u=[];n.save();var p=0,x=e.width+d;return e._scrollDistance_&&0!==e._scrollDistance_&&!0===e.enableScroll&&(n.translate(e._scrollDistance_,0),p=-e._scrollDistance_-2*d+e.area[3],x=p+(e.xAxis.itemCount+4)*d),t.forEach((function(t,o){var s,g,v;s=[].concat(e.chartData.yAxisData.ranges[t.index]),g=s.pop(),v=s.shift();var m=t.data,y=J(m,g,v,l,d,e,a,i);u.push(y);for(var b=$(y,t),w=0;w<b.length;w++){var _=b[w];if(n.beginPath(),n.setStrokeStyle(c(t.color,r.opacity)),r.gradient){var C=n.createLinearGradient(0,e.area[0],0,e.height-e.area[2]);C.addColorStop("0",c(t.color,r.opacity)),C.addColorStop("1.0",c("#FFFFFF",.1)),n.setFillStyle(C)}else n.setFillStyle(c(t.color,r.opacity));if(n.setLineWidth(r.width*e.pix),_.length>1){var A=_[0],S=_[_.length-1];n.moveTo(A.x,A.y);var T=0;if("curve"===r.type)for(var k=0;k<_.length;k++){var P=_[k];if(0==T&&P.x>p&&(n.moveTo(P.x,P.y),T=1),k>0&&P.x>p&&P.x<x){var M=f(_,k-1);n.bezierCurveTo(M.ctrA.x,M.ctrA.y,M.ctrB.x,M.ctrB.y,P.x,P.y)}}if("straight"===r.type)for(var D=0;D<_.length;D++){var F=_[D];0==T&&F.x>p&&(n.moveTo(F.x,F.y),T=1),D>0&&F.x>p&&F.x<x&&n.lineTo(F.x,F.y)}if("step"===r.type)for(var L=0;L<_.length;L++){var O=_[L];0==T&&O.x>p&&(n.moveTo(O.x,O.y),T=1),L>0&&O.x>p&&O.x<x&&(n.lineTo(O.x,_[L-1].y),n.lineTo(O.x,O.y))}n.lineTo(S.x,h),n.lineTo(A.x,h),n.lineTo(A.x,A.y)}else{var I=_[0];n.moveTo(I.x-d/2,I.y),n.lineTo(I.x+d/2,I.y),n.lineTo(I.x+d/2,h),n.lineTo(I.x-d/2,h),n.moveTo(I.x-d/2,I.y)}if(n.closePath(),n.fill(),r.addLine){if("dash"==t.lineType){var E=t.dashLength?t.dashLength:8;E*=e.pix,n.setLineDash([E,E])}if(n.beginPath(),n.setStrokeStyle(t.color),n.setLineWidth(r.width*e.pix),1===_.length)n.moveTo(_[0].x,_[0].y),n.arc(_[0].x,_[0].y,1,0,2*Math.PI);else{n.moveTo(_[0].x,_[0].y);var z=0;if("curve"===r.type)for(var B=0;B<_.length;B++){var W=_[B];if(0==z&&W.x>p&&(n.moveTo(W.x,W.y),z=1),B>0&&W.x>p&&W.x<x){var R=f(_,B-1);n.bezierCurveTo(R.ctrA.x,R.ctrA.y,R.ctrB.x,R.ctrB.y,W.x,W.y)}}if("straight"===r.type)for(var j=0;j<_.length;j++){var G=_[j];0==z&&G.x>p&&(n.moveTo(G.x,G.y),z=1),j>0&&G.x>p&&G.x<x&&n.lineTo(G.x,G.y)}if("step"===r.type)for(var N=0;N<_.length;N++){var Y=_[N];0==z&&Y.x>p&&(n.moveTo(Y.x,Y.y),z=1),N>0&&Y.x>p&&Y.x<x&&(n.lineTo(Y.x,_[N-1].y),n.lineTo(Y.x,Y.y))}n.moveTo(_[0].x,_[0].y)}n.stroke(),n.setLineDash([])}}!1!==e.dataPointShape&&it(y,t.color,t.pointShape,n,e)})),!1!==e.dataLabel&&1===i&&t.forEach((function(t,r){var o,s,c;o=[].concat(e.chartData.yAxisData.ranges[t.index]),s=o.pop(),c=o.shift();var h=t.data,u=J(h,s,c,l,d,e,a,i);ot(u,t,a,n,e)})),n.restore(),{xAxisPoints:l,calPoints:u,eachSpacing:d}}(d,e,a,n,t),r=i.xAxisPoints,o=i.calPoints,l=i.eachSpacing;e.chartData.xAxisPoints=r,e.chartData.calPoints=o,e.chartData.eachSpacing=l,bt(0,e,a,n),!1!==e.enableMarkLine&&1===t&&ut(e,a,n),wt(e.series,e,a,n,e.chartData),vt(e,a,n,t),$t(0,n)},onAnimationFinish:function(){o.uevent.trigger("renderComplete")}});break;case"ring":this.animationInstance=new Ot({timing:e.timing,duration:x,onProcess:function(t){n.clearRect(0,0,e.width,e.height),e.rotate&&nt(n,e),e.chartData.pieData=_t(d,e,a,n,t),wt(e.series,e,a,n,e.chartData),vt(e,a,n,t),$t(0,n)},onAnimationFinish:function(){o.uevent.trigger("renderComplete")}});break;case"pie":this.animationInstance=new Ot({timing:e.timing,duration:x,onProcess:function(t){n.clearRect(0,0,e.width,e.height),e.rotate&&nt(n,e),e.chartData.pieData=_t(d,e,a,n,t),wt(e.series,e,a,n,e.chartData),vt(e,a,n,t),$t(0,n)},onAnimationFinish:function(){o.uevent.trigger("renderComplete")}});break;case"rose":this.animationInstance=new Ot({timing:e.timing,duration:x,onProcess:function(t){n.clearRect(0,0,e.width,e.height),e.rotate&&nt(n,e),e.chartData.pieData=function(t,e,a,n){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,r=s({},{type:"area",activeOpacity:.5,activeRadius:10,offsetAngle:0,labelWidth:15,border:!1,borderWidth:2,borderColor:"#FFFFFF",linearType:"none",customColor:[]},e.extra.rose);0==a.pieChartLinePadding&&(a.pieChartLinePadding=r.activeRadius*e.pix);var o={x:e.area[3]+(e.width-e.area[1]-e.area[3])/2,y:e.area[0]+(e.height-e.area[0]-e.area[2])/2},l=Math.min((e.width-e.area[1]-e.area[3])/2-a.pieChartLinePadding-a.pieChartTextPadding-a._pieTextMaxLength_,(e.height-e.area[0]-e.area[2])/2-a.pieChartLinePadding-a.pieChartTextPadding);l=l<10?10:l;var d=r.minRadius||.5*l;t=B(t,r.type,d,l,i);var h=r.activeRadius*e.pix;return r.customColor=v(r.linearType,r.customColor,t,a),t=t.map((function(t){return t._start_+=(r.offsetAngle||0)*Math.PI/180,t})),t.forEach((function(t,a){e.tooltip&&e.tooltip.index==a&&(n.beginPath(),n.setFillStyle(c(t.color,r.activeOpacity||.5)),n.moveTo(o.x,o.y),n.arc(o.x,o.y,h+t._radius_,t._start_,t._start_+2*t._rose_proportion_*Math.PI),n.closePath(),n.fill()),n.beginPath(),n.setLineWidth(r.borderWidth*e.pix),n.lineJoin="round",n.setStrokeStyle(r.borderColor);var i,s=t.color;"custom"==r.linearType&&(i=n.createCircularGradient?n.createCircularGradient(o.x,o.y,t._radius_):n.createRadialGradient(o.x,o.y,0,o.x,o.y,t._radius_),i.addColorStop(0,c(r.customColor[t.linearIndex],1)),i.addColorStop(1,c(t.color,1)),s=i);n.setFillStyle(s),n.moveTo(o.x,o.y),n.arc(o.x,o.y,t._radius_,t._start_,t._start_+2*t._rose_proportion_*Math.PI),n.closePath(),n.fill(),1==r.border&&n.stroke()})),!1!==e.dataLabel&&1===i&&ht(t,e,a,n,0,o),{center:o,radius:l,series:t}}(d,e,a,n,t),wt(e.series,e,a,n,e.chartData),vt(e,a,n,t),$t(0,n)},onAnimationFinish:function(){o.uevent.trigger("renderComplete")}});break;case"radar":this.animationInstance=new Ot({timing:e.timing,duration:x,onProcess:function(t){n.clearRect(0,0,e.width,e.height),e.rotate&&nt(n,e),e.chartData.radarData=function(t,e,a,n){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,r=s({},{gridColor:"#cccccc",gridType:"radar",gridEval:1,axisLabel:!1,axisLabelTofix:0,labelColor:"#666666",labelPointShow:!1,labelPointRadius:3,labelPointColor:"#cccccc",opacity:.2,gridCount:3,border:!1,borderWidth:2,linearType:"none",customColor:[]},e.extra.radar),o=S(e.categories.length),l={x:e.area[3]+(e.width-e.area[1]-e.area[3])/2,y:e.area[0]+(e.height-e.area[0]-e.area[2])/2},d=(e.width-e.area[1]-e.area[3])/2,h=(e.height-e.area[0]-e.area[2])/2,u=Math.min(d-(A(e.categories,a.fontSize,n)+a.radarLabelTextMargin),h-a.radarLabelTextMargin);u-=a.radarLabelTextMargin*e.pix,u=u<10?10:u,n.beginPath(),n.setLineWidth(1*e.pix),n.setStrokeStyle(r.gridColor),o.forEach((function(t,e){var a=p(u*Math.cos(t),u*Math.sin(t),l);n.moveTo(l.x,l.y),e%r.gridEval==0&&n.lineTo(a.x,a.y)})),n.stroke(),n.closePath();for(var f=function(t){var a={};if(n.beginPath(),n.setLineWidth(1*e.pix),n.setStrokeStyle(r.gridColor),"radar"==r.gridType)o.forEach((function(e,i){var o=p(u/r.gridCount*t*Math.cos(e),u/r.gridCount*t*Math.sin(e),l);0===i?(a=o,n.moveTo(o.x,o.y)):n.lineTo(o.x,o.y)})),n.lineTo(a.x,a.y);else{var i=p(u/r.gridCount*t*Math.cos(1.5),u/r.gridCount*t*Math.sin(1.5),l);n.arc(l.x,l.y,l.y-i.y,0,2*Math.PI,!1)}n.stroke(),n.closePath()},x=1;x<=r.gridCount;x++)f(x);r.customColor=v(r.linearType,r.customColor,t,a);var g=I(o,l,u,t,e,i);if(g.forEach((function(a,i){n.beginPath(),n.setLineWidth(r.borderWidth*e.pix),n.setStrokeStyle(a.color);var o,s=c(a.color,r.opacity);"custom"==r.linearType&&(o=n.createCircularGradient?n.createCircularGradient(l.x,l.y,u):n.createRadialGradient(l.x,l.y,0,l.x,l.y,u),o.addColorStop(0,c(r.customColor[t[i].linearIndex],r.opacity)),o.addColorStop(1,c(a.color,r.opacity)),s=o);if(n.setFillStyle(s),a.data.forEach((function(t,e){0===e?n.moveTo(t.position.x,t.position.y):n.lineTo(t.position.x,t.position.y)})),n.closePath(),n.fill(),!0===r.border&&n.stroke(),n.closePath(),!1!==e.dataPointShape){var d=a.data.map((function(t){return t.position}));it(d,a.color,a.pointShape,n,e)}})),!0===r.axisLabel){var m=Math.max(r.max,Math.max.apply(null,b(t))),y=u/r.gridCount,w=e.fontSize*e.pix;n.setFontSize(w),n.setFillStyle(e.fontColor),n.setTextAlign("left");for(x=0;x<r.gridCount+1;x++){var _=x*m/r.gridCount;_=_.toFixed(r.axisLabelTofix),n.fillText(String(_),l.x+3*e.pix,l.y-x*y+w/2)}}return dt(o,u,l,e,a,n),!1!==e.dataLabel&&1===i&&(g.forEach((function(t,i){n.beginPath();var r=t.textSize*e.pix||a.fontSize;n.setFontSize(r),n.setFillStyle(t.textColor||e.fontColor),t.data.forEach((function(t,e){Math.abs(t.position.x-l.x)<2?t.position.y<l.y?(n.setTextAlign("center"),n.fillText(t.value,t.position.x,t.position.y-4)):(n.setTextAlign("center"),n.fillText(t.value,t.position.x,t.position.y+r+2)):t.position.x<l.x?(n.setTextAlign("right"),n.fillText(t.value,t.position.x-4,t.position.y+r/2-2)):(n.setTextAlign("left"),n.fillText(t.value,t.position.x+4,t.position.y+r/2-2))})),n.closePath(),n.stroke()})),n.setTextAlign("left")),{center:l,radius:u,angleList:o}}(d,e,a,n,t),wt(e.series,e,a,n,e.chartData),vt(e,a,n,t),$t(0,n)},onAnimationFinish:function(){o.uevent.trigger("renderComplete")}});break;case"arcbar":this.animationInstance=new Ot({timing:e.timing,duration:x,onProcess:function(t){n.clearRect(0,0,e.width,e.height),e.rotate&&nt(n,e),e.chartData.arcbarData=function(t,e,a,n){var i,r,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,l=s({},{startAngle:.75,endAngle:.25,type:"default",direction:"cw",lineCap:"round",width:12,gap:2,linearType:"none",customColor:[]},e.extra.arcbar);t=W(t,l,o),i=l.centerX||l.centerY?{x:l.centerX?l.centerX:e.width/2,y:l.centerY?l.centerY:e.height/2}:{x:e.width/2,y:e.height/2},l.radius?r=l.radius:(r=Math.min(i.x,i.y),r-=5*e.pix,r-=l.width/2),r=r<10?10:r,l.customColor=v(l.linearType,l.customColor,t,a);for(var d=0;d<t.length;d++){var h=t[d];n.setLineWidth(l.width*e.pix),n.setStrokeStyle(l.backgroundColor||"#E9E9E9"),n.setLineCap(l.lineCap),n.beginPath(),"default"==l.type?n.arc(i.x,i.y,r-(l.width*e.pix+l.gap*e.pix)*d,l.startAngle*Math.PI,l.endAngle*Math.PI,"ccw"==l.direction):n.arc(i.x,i.y,r-(l.width*e.pix+l.gap*e.pix)*d,0,2*Math.PI,"ccw"==l.direction),n.stroke();var u=h.color;if("custom"==l.linearType){var f=n.createLinearGradient(i.x-r,i.y,i.x+r,i.y);f.addColorStop(1,c(l.customColor[h.linearIndex],1)),f.addColorStop(0,c(h.color,1)),u=f}n.setLineWidth(l.width*e.pix),n.setStrokeStyle(u),n.setLineCap(l.lineCap),n.beginPath(),n.arc(i.x,i.y,r-(l.width*e.pix+l.gap*e.pix)*d,l.startAngle*Math.PI,h._proportion_*Math.PI,"ccw"==l.direction),n.stroke()}return rt(e,a,n,i),{center:i,radius:r,series:t}}(d,e,a,n,t),$t(0,n)},onAnimationFinish:function(){o.uevent.trigger("renderComplete")}});break;case"gauge":this.animationInstance=new Ot({timing:e.timing,duration:x,onProcess:function(t){n.clearRect(0,0,e.width,e.height),e.rotate&&nt(n,e),e.chartData.gaugeData=function(t,e,a,n,i){var r=arguments.length>5&&void 0!==arguments[5]?arguments[5]:1,o=s({},{type:"default",startAngle:.75,endAngle:.25,width:15,labelOffset:13,splitLine:{fixRadius:0,splitNumber:10,width:15,color:"#FFFFFF",childNumber:5,childWidth:5},pointer:{width:15,color:"auto"}},a.extra.gauge);void 0==o.oldAngle&&(o.oldAngle=o.startAngle),void 0==o.oldData&&(o.oldData=0),t=j(t,o.startAngle,o.endAngle);var l={x:a.width/2,y:a.height/2},d=Math.min(l.x,l.y);d-=5*a.pix,d-=o.width/2,d=d<10?10:d;var h=d-o.width,u=0;if("progress"==o.type){var f=d-3*o.width;i.beginPath();var p=i.createLinearGradient(l.x,l.y-f,l.x,l.y+f);p.addColorStop("0",c(e[0].color,.3)),p.addColorStop("1.0",c("#FFFFFF",.1)),i.setFillStyle(p),i.arc(l.x,l.y,f,0,2*Math.PI,!1),i.fill(),i.setLineWidth(o.width),i.setStrokeStyle(c(e[0].color,.3)),i.setLineCap("round"),i.beginPath(),i.arc(l.x,l.y,h,o.startAngle*Math.PI,o.endAngle*Math.PI,!1),i.stroke(),u=o.startAngle-o.endAngle+1;o.splitLine.splitNumber;var x=u/o.splitLine.splitNumber/o.splitLine.childNumber,g=-d-.5*o.width-o.splitLine.fixRadius,v=-d-o.width-o.splitLine.fixRadius+o.splitLine.width;i.save(),i.translate(l.x,l.y),i.rotate((o.startAngle-1)*Math.PI);for(var m=o.splitLine.splitNumber*o.splitLine.childNumber+1,y=e[0].data*r,b=0;b<m;b++)i.beginPath(),y>b/m?i.setStrokeStyle(c(e[0].color,1)):i.setStrokeStyle(c(e[0].color,.3)),i.setLineWidth(3*a.pix),i.moveTo(g,0),i.lineTo(v,0),i.stroke(),i.rotate(x*Math.PI);i.restore(),e=R(e,o,r),i.setLineWidth(o.width),i.setStrokeStyle(e[0].color),i.setLineCap("round"),i.beginPath(),i.arc(l.x,l.y,h,o.startAngle*Math.PI,e[0]._proportion_*Math.PI,!1),i.stroke();var w=d-2.5*o.width;i.save(),i.translate(l.x,l.y),i.rotate((e[0]._proportion_-1)*Math.PI),i.beginPath(),i.setLineWidth(o.width/3);var _=i.createLinearGradient(0,.6*-w,0,.6*w);_.addColorStop("0",c("#FFFFFF",0)),_.addColorStop("0.5",c(e[0].color,1)),_.addColorStop("1.0",c("#FFFFFF",0)),i.setStrokeStyle(_),i.arc(0,0,w,.85*Math.PI,1.15*Math.PI,!1),i.stroke(),i.beginPath(),i.setLineWidth(1),i.setStrokeStyle(e[0].color),i.setFillStyle(e[0].color),i.moveTo(-w-o.width/3/2,-4),i.lineTo(-w-o.width/3/2-4,0),i.lineTo(-w-o.width/3/2,4),i.lineTo(-w-o.width/3/2,-4),i.stroke(),i.fill(),i.restore()}else{i.setLineWidth(o.width),i.setLineCap("butt");for(var C=0;C<t.length;C++){var A=t[C];i.beginPath(),i.setStrokeStyle(A.color),i.arc(l.x,l.y,d,A._startAngle_*Math.PI,A._endAngle_*Math.PI,!1),i.stroke()}i.save(),u=o.startAngle-o.endAngle+1;var S=u/o.splitLine.splitNumber,T=u/o.splitLine.splitNumber/o.splitLine.childNumber,k=-d-.5*o.width-o.splitLine.fixRadius,P=-d-.5*o.width-o.splitLine.fixRadius+o.splitLine.width,M=-d-.5*o.width-o.splitLine.fixRadius+o.splitLine.childWidth;i.translate(l.x,l.y),i.rotate((o.startAngle-1)*Math.PI);for(var D=0;D<o.splitLine.splitNumber+1;D++)i.beginPath(),i.setStrokeStyle(o.splitLine.color),i.setLineWidth(2*a.pix),i.moveTo(k,0),i.lineTo(P,0),i.stroke(),i.rotate(S*Math.PI);i.restore(),i.save(),i.translate(l.x,l.y),i.rotate((o.startAngle-1)*Math.PI);for(var F=0;F<o.splitLine.splitNumber*o.splitLine.childNumber+1;F++)i.beginPath(),i.setStrokeStyle(o.splitLine.color),i.setLineWidth(1*a.pix),i.moveTo(k,0),i.lineTo(M,0),i.stroke(),i.rotate(T*Math.PI);i.restore(),e=G(e,t,o,r);for(var $=0;$<e.length;$++){var L=e[$];i.save(),i.translate(l.x,l.y),i.rotate((L._proportion_-1)*Math.PI),i.beginPath(),i.setFillStyle(L.color),i.moveTo(o.pointer.width,0),i.lineTo(0,-o.pointer.width/2),i.lineTo(-h,0),i.lineTo(0,o.pointer.width/2),i.lineTo(o.pointer.width,0),i.closePath(),i.fill(),i.beginPath(),i.setFillStyle("#FFFFFF"),i.arc(0,0,o.pointer.width/6,0,2*Math.PI,!1),i.fill(),i.restore()}!1!==a.dataLabel&&ct(o,d,l,a,n,i)}return rt(a,n,i,l),1===r&&"gauge"===a.type&&(a.extra.gauge.oldAngle=e[0]._proportion_,a.extra.gauge.oldData=e[0].data),{center:l,radius:d,innerRadius:h,categories:t,totalAngle:u}}(h,d,e,a,n,t),$t(0,n)},onAnimationFinish:function(){o.uevent.trigger("renderComplete")}});break;case"candle":this.animationInstance=new Ot({timing:e.timing,duration:x,onProcess:function(t){n.clearRect(0,0,e.width,e.height),e.rotate&&nt(n,e),yt(0,e,0,n),mt(h,e,a,n);var i=function(t,e,a,n,i){var r=arguments.length>5&&void 0!==arguments[5]?arguments[5]:1,o=s({},{color:{},average:{}},a.extra.candle);o.color=s({},{upLine:"#f04864",upFill:"#f04864",downLine:"#2fc25b",downFill:"#2fc25b"},o.color),o.average=s({},{show:!1,name:[],day:[],color:n.color},o.average),a.extra.candle=o;var l=a.chartData.xAxisData,c=l.xAxisPoints,d=l.eachSpacing,h=[];i.save();var u=-2,p=c.length+2,x=0,g=a.width+d;return a._scrollDistance_&&0!==a._scrollDistance_&&!0===a.enableScroll&&(i.translate(a._scrollDistance_,0),u=Math.floor(-a._scrollDistance_/d)-2,p=u+a.xAxis.itemCount+4,x=-a._scrollDistance_-2*d+a.area[3],g=x+(a.xAxis.itemCount+4)*d),(o.average.show||e)&&e.forEach((function(t,e){var o,s,l;o=[].concat(a.chartData.yAxisData.ranges[t.index]),s=o.pop(),l=o.shift();for(var h=t.data,u=J(h,s,l,c,d,a,n,r),p=$(u,t),v=0;v<p.length;v++){var m=p[v];if(i.beginPath(),i.setStrokeStyle(t.color),i.setLineWidth(1),1===m.length)i.moveTo(m[0].x,m[0].y),i.arc(m[0].x,m[0].y,1,0,2*Math.PI);else{i.moveTo(m[0].x,m[0].y);for(var y=0,b=0;b<m.length;b++){var w=m[b];if(0==y&&w.x>x&&(i.moveTo(w.x,w.y),y=1),b>0&&w.x>x&&w.x<g){var _=f(m,b-1);i.bezierCurveTo(_.ctrA.x,_.ctrA.y,_.ctrB.x,_.ctrB.y,w.x,w.y)}}i.moveTo(m[0].x,m[0].y)}i.closePath(),i.stroke()}})),t.forEach((function(t,e){var s,l,f;s=[].concat(a.chartData.yAxisData.ranges[t.index]),l=s.pop(),f=s.shift();var x=t.data,g=q(x,l,f,c,d,a,n,r);h.push(g);for(var v=$(g,t),m=0;m<v[0].length;m++)if(m>u&&m<p){var y=v[0][m];i.beginPath(),x[m][1]-x[m][0]>0?(i.setStrokeStyle(o.color.upLine),i.setFillStyle(o.color.upFill),i.setLineWidth(1*a.pix),i.moveTo(y[3].x,y[3].y),i.lineTo(y[1].x,y[1].y),i.lineTo(y[1].x-d/4,y[1].y),i.lineTo(y[0].x-d/4,y[0].y),i.lineTo(y[0].x,y[0].y),i.lineTo(y[2].x,y[2].y),i.lineTo(y[0].x,y[0].y),i.lineTo(y[0].x+d/4,y[0].y),i.lineTo(y[1].x+d/4,y[1].y),i.lineTo(y[1].x,y[1].y),i.moveTo(y[3].x,y[3].y)):(i.setStrokeStyle(o.color.downLine),i.setFillStyle(o.color.downFill),i.setLineWidth(1*a.pix),i.moveTo(y[3].x,y[3].y),i.lineTo(y[0].x,y[0].y),i.lineTo(y[0].x-d/4,y[0].y),i.lineTo(y[1].x-d/4,y[1].y),i.lineTo(y[1].x,y[1].y),i.lineTo(y[2].x,y[2].y),i.lineTo(y[1].x,y[1].y),i.lineTo(y[1].x+d/4,y[1].y),i.lineTo(y[0].x+d/4,y[0].y),i.lineTo(y[0].x,y[0].y),i.moveTo(y[3].x,y[3].y)),i.closePath(),i.fill(),i.stroke()}})),i.restore(),{xAxisPoints:c,calPoints:h,eachSpacing:d}}(d,m,e,a,n,t),r=i.xAxisPoints,o=i.calPoints,l=i.eachSpacing;e.chartData.xAxisPoints=r,e.chartData.calPoints=o,e.chartData.eachSpacing=l,bt(0,e,a,n),!1!==e.enableMarkLine&&1===t&&ut(e,a,n),wt(m?0:e.series,e,a,n,e.chartData),vt(e,a,n,t),$t(0,n)},onAnimationFinish:function(){o.uevent.trigger("renderComplete")}});break}}function Et(){this.events={}}Ot.prototype.stop=function(){this.isStop=!0},Et.prototype.addEventListener=function(t,e){this.events[t]=this.events[t]||[],this.events[t].push(e)},Et.prototype.delEventListener=function(t){this.events[t]=[]},Et.prototype.trigger=function(){for(var t=arguments.length,e=Array(t),a=0;a<t;a++)e[a]=arguments[a];var n=e[0],i=e.slice(1);this.events[n]&&this.events[n].forEach((function(t){try{t.apply(null,i)}catch(e){}}))};var zt=function(t){t.pix=t.pixelRatio?t.pixelRatio:1,t.fontSize=t.fontSize?t.fontSize:13,t.fontColor=t.fontColor?t.fontColor:o.fontColor,""!=t.background&&"none"!=t.background||(t.background="#FFFFFF"),t.title=s({},t.title),t.subtitle=s({},t.subtitle),t.duration=t.duration?t.duration:1e3,t.yAxis=s({},{data:[],showTitle:!1,disabled:!1,disableGrid:!1,gridSet:"number",splitNumber:5,gridType:"solid",dashLength:4*t.pix,gridColor:"#cccccc",padding:10,fontColor:"#666666"},t.yAxis),t.xAxis=s({},{rotateLabel:!1,rotateAngle:45,disabled:!1,disableGrid:!1,splitNumber:5,calibration:!1,gridType:"solid",dashLength:4,scrollAlign:"left",boundaryGap:"center",axisLine:!0,axisLineColor:"#cccccc"},t.xAxis),t.xAxis.scrollPosition=t.xAxis.scrollAlign,t.legend=s({},{show:!0,position:"bottom",float:"center",backgroundColor:"rgba(0,0,0,0)",borderColor:"rgba(0,0,0,0)",borderWidth:0,padding:5,margin:5,itemGap:10,fontSize:t.fontSize,lineHeight:t.fontSize,fontColor:t.fontColor,formatter:{},hiddenColor:"#CECECE"},t.legend),t.extra=s({},t.extra),t.rotate=!!t.rotate,t.animation=!!t.animation,t.rotate=!!t.rotate,t.canvas2d=!!t.canvas2d;var e=s({},o);if(e.color=t.color?t.color:e.color,"pie"==t.type&&(e.pieChartLinePadding=!1===t.dataLabel?0:t.extra.pie.labelWidth*t.pix||e.pieChartLinePadding*t.pix),"ring"==t.type&&(e.pieChartLinePadding=!1===t.dataLabel?0:t.extra.ring.labelWidth*t.pix||e.pieChartLinePadding*t.pix),"rose"==t.type&&(e.pieChartLinePadding=!1===t.dataLabel?0:t.extra.rose.labelWidth*t.pix||e.pieChartLinePadding*t.pix),e.pieChartTextPadding=!1===t.dataLabel?0:e.pieChartTextPadding*t.pix,e.rotate=t.rotate,t.rotate){var a=t.width,n=t.height;t.width=n,t.height=a}if(t.padding=t.padding?t.padding:e.padding,e.yAxisWidth=o.yAxisWidth*t.pix,e.xAxisHeight=o.xAxisHeight*t.pix,t.enableScroll&&t.xAxis.scrollShow&&(e.xAxisHeight+=6*t.pix),e.fontSize=t.fontSize*t.pix,e.titleFontSize=o.titleFontSize*t.pix,e.subtitleFontSize=o.subtitleFontSize*t.pix,e.toolTipPadding=o.toolTipPadding*t.pix,e.toolTipLineHeight=o.toolTipLineHeight*t.pix,!t.context)throw new Error("[uCharts] \u672a\u83b7\u53d6\u5230context\uff01\u6ce8\u610f\uff1av2.0\u7248\u672c\u540e\uff0c\u9700\u8981\u81ea\u884c\u83b7\u53d6canvas\u7684\u7ed8\u56fe\u4e0a\u4e0b\u6587\u5e76\u4f20\u5165opts.context\uff01");this.context=t.context,this.context.setTextAlign||(this.context.setStrokeStyle=function(t){return this.strokeStyle=t},this.context.setLineWidth=function(t){return this.lineWidth=t},this.context.setLineCap=function(t){return this.lineCap=t},this.context.setFontSize=function(t){return this.font=t+"px sans-serif"},this.context.setFillStyle=function(t){return this.fillStyle=t},this.context.setTextAlign=function(t){return this.textAlign=t},this.context.draw=function(){}),this.context.setLineDash||(this.context.setLineDash=function(t){}),t.chartData={},this.uevent=new Et,this.scrollOption={currentOffset:0,startTouchX:0,distance:0,lastMoveTime:0},this.opts=t,this.config=e,It.call(this,t.type,t,e,this.context)};zt.prototype.updateData=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.opts=s({},this.opts,t),this.opts.updateData=!0;var e=t.scrollPosition||"current";switch(e){case"current":this.opts._scrollDistance_=this.scrollOption.currentOffset;break;case"left":this.opts._scrollDistance_=0,this.scrollOption={currentOffset:0,startTouchX:0,distance:0,lastMoveTime:0};break;case"right":var a=at(this.opts.series,this.opts,this.config,this.context),n=a.yAxisWidth;this.config.yAxisWidth=n;var i=0,r=X(this.opts.categories,this.opts,this.config),o=r.xAxisPoints,l=r.startX,c=r.endX,d=r.eachSpacing,h=d*(o.length-1),u=c-l;i=u-h,this.scrollOption={currentOffset:i,startTouchX:i,distance:0,lastMoveTime:0},this.opts._scrollDistance_=i;break}It.call(this,this.opts.type,this.opts,this.config,this.context)},zt.prototype.zoom=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.opts.xAxis.itemCount;if(!0===this.opts.enableScroll){var a=Math.round(Math.abs(this.scrollOption.currentOffset)/this.opts.chartData.eachSpacing)+Math.round(this.opts.xAxis.itemCount/2);this.opts.animation=!1,this.opts.xAxis.itemCount=e.itemCount;var n=at(this.opts.series,this.opts,this.config,this.context),i=n.yAxisWidth;this.config.yAxisWidth=i;var r=0,o=X(this.opts.categories,this.opts,this.config),s=o.xAxisPoints,l=o.startX,c=o.endX,d=o.eachSpacing,u=d*a,f=c-l,p=f-d*(s.length-1);r=f/2-u,r>0&&(r=0),r<p&&(r=p),this.scrollOption={currentOffset:r,startTouchX:0,distance:0,lastMoveTime:0},h(this,r,this.opts.chartData,this.config,this.opts),this.opts._scrollDistance_=r,It.call(this,this.opts.type,this.opts,this.config,this.context)}else t("log","[uCharts] \u8bf7\u542f\u7528\u6eda\u52a8\u6761\u540e\u4f7f\u7528"," at uni_modules/qiun-data-charts/js_sdk/u-charts/u-charts.js:6828")},zt.prototype.dobuleZoom=function(e){if(!0===this.opts.enableScroll){var a=e.changedTouches;if(!(a.length<2)){for(var n=0;n<a.length;n++)a[n].x=a[n].x?a[n].x:a[n].clientX,a[n].y=a[n].y?a[n].y:a[n].clientY;var i=[_(a[0],this.opts,e),_(a[1],this.opts,e)],r=Math.abs(i[0].x-i[1].x);if(!this.scrollOption.moveCount){var o={changedTouches:[{x:a[0].x,y:this.opts.area[0]/this.opts.pix+2}]},s={changedTouches:[{x:a[1].x,y:this.opts.area[0]/this.opts.pix+2}]};this.opts.rotate&&(o={changedTouches:[{x:this.opts.height/this.opts.pix-this.opts.area[0]/this.opts.pix-2,y:a[0].y}]},s={changedTouches:[{x:this.opts.height/this.opts.pix-this.opts.area[0]/this.opts.pix-2,y:a[1].y}]});var l=this.getCurrentDataIndex(o).index,c=this.getCurrentDataIndex(s).index,d=Math.abs(l-c);return this.scrollOption.moveCount=d,this.scrollOption.moveCurrent1=Math.min(l,c),void(this.scrollOption.moveCurrent2=Math.max(l,c))}var u=r/this.scrollOption.moveCount,f=(this.opts.width-this.opts.area[1]-this.opts.area[3])/u;f=f<=2?2:f,f=f>=this.opts.categories.length?this.opts.categories.length:f,this.opts.animation=!1,this.opts.xAxis.itemCount=f;var p=0,x=X(this.opts.categories,this.opts,this.config),g=x.xAxisPoints,v=x.startX,m=x.endX,y=x.eachSpacing,b=y*this.scrollOption.moveCurrent1,w=m-v,C=w-y*(g.length-1);p=-b+Math.min(i[0].x,i[1].x)-this.opts.area[3]-y,p>0&&(p=0),p<C&&(p=C),this.scrollOption.currentOffset=p,this.scrollOption.startTouchX=0,this.scrollOption.distance=0,h(this,p,this.opts.chartData,this.config,this.opts),this.opts._scrollDistance_=p,It.call(this,this.opts.type,this.opts,this.config,this.context)}}else t("log","[uCharts] \u8bf7\u542f\u7528\u6eda\u52a8\u6761\u540e\u4f7f\u7528"," at uni_modules/qiun-data-charts/js_sdk/u-charts/u-charts.js:6868")},zt.prototype.stopAnimation=function(){this.animationInstance&&this.animationInstance.stop()},zt.prototype.addEventListener=function(t,e){this.uevent.addEventListener(t,e)},zt.prototype.delEventListener=function(t){this.uevent.delEventListener(t)},zt.prototype.getCurrentDataIndex=function(t){var e=null;if(e=t.changedTouches?t.changedTouches[0]:t.mp.changedTouches[0],e){var a=_(e,this.opts,t);return"pie"===this.opts.type||"ring"===this.opts.type?function(t,e,a){var n=-1,i=E(e.series);if(e&&e.center&&F(t,e.center,e.radius)){var r=Math.atan2(e.center.y-t.y,t.x-e.center.x);r=-r,a.extra.pie&&a.extra.pie.offsetAngle&&(r-=a.extra.pie.offsetAngle*Math.PI/180),a.extra.ring&&a.extra.ring.offsetAngle&&(r-=a.extra.ring.offsetAngle*Math.PI/180);for(var o=0,s=i.length;o<s;o++)if(u(r,i[o]._start_,i[o]._start_+2*i[o]._proportion_*Math.PI)){n=o;break}}return n}({x:a.x,y:a.y},this.opts.chartData.pieData,this.opts):"rose"===this.opts.type?function(t,e,a){var n=-1,i=B(a._series_,a.extra.rose.type,e.radius,e.radius);if(e&&e.center&&F(t,e.center,e.radius)){var r=Math.atan2(e.center.y-t.y,t.x-e.center.x);r=-r,a.extra.rose&&a.extra.rose.offsetAngle&&(r-=a.extra.rose.offsetAngle*Math.PI/180);for(var o=0,s=i.length;o<s;o++)if(u(r,i[o]._start_,i[o]._start_+2*i[o]._rose_proportion_*Math.PI)){n=o;break}}return n}({x:a.x,y:a.y},this.opts.chartData.pieData,this.opts):"radar"===this.opts.type?function(t,e,a){var n=2*Math.PI/a,i=-1;if(F(t,e.center,e.radius)){var r=function(t){return t<0&&(t+=2*Math.PI),t>2*Math.PI&&(t-=2*Math.PI),t},o=Math.atan2(e.center.y-t.y,t.x-e.center.x);o*=-1,o<0&&(o+=2*Math.PI);var s=e.angleList.map((function(t){return t=r(-1*t),t}));s.forEach((function(t,e){var a=r(t-n/2),s=r(t+n/2);s<a&&(s+=2*Math.PI),(o>=a&&o<=s||o+2*Math.PI>=a&&o+2*Math.PI<=s)&&(i=e)}))}return i}({x:a.x,y:a.y},this.opts.chartData.radarData,this.opts.categories.length):"funnel"===this.opts.type?function(t,e){for(var a=-1,n=0,i=e.series.length;n<i;n++){var r=e.series[n];if(t.x>r.funnelArea[0]&&t.x<r.funnelArea[2]&&t.y>r.funnelArea[1]&&t.y<r.funnelArea[3]){a=n;break}}return a}({x:a.x,y:a.y},this.opts.chartData.funnelData):"map"===this.opts.type?function(t,e){for(var a=-1,n=e.chartData.mapData,i=e.series,r=function(t,e,a,n,i,r){return{x:(e-i)/n+a.xMin,y:a.yMax-(t-r)/n}}(t.y,t.x,n.bounds,n.scale,n.xoffset,n.yoffset),o=[r.x,r.y],s=0,l=i.length;s<l;s++){var c=i[s].geometry.coordinates;if(Tt(o,c,e.chartData.mapData.mercator)){a=s;break}}return a}({x:a.x,y:a.y},this.opts):"word"===this.opts.type?function(t,e){for(var a=-1,n=0,i=e.length;n<i;n++){var r=e[n];if(t.x>r.area[0]&&t.x<r.area[2]&&t.y>r.area[1]&&t.y<r.area[3]){a=n;break}}return a}({x:a.x,y:a.y},this.opts.chartData.wordCloudData):"bar"===this.opts.type?function(t,e,a,n){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,r={index:-1,group:[]},o=a.chartData.eachSpacing/2,s=a.chartData.yAxisPoints;return e&&e.length>0&&D(t,a,n)&&s.forEach((function(e,a){t.y+i+o>e&&(r.index=a)})),r}({x:a.x,y:a.y},this.opts.chartData.calPoints,this.opts,this.config,Math.abs(this.scrollOption.currentOffset)):function(t,e,a,n){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,r={index:-1,group:[]},o=a.chartData.eachSpacing/2,s=[];if(e&&e.length>0){if(a.categories){for(var l=1;l<a.chartData.xAxisPoints.length;l++)s.push(a.chartData.xAxisPoints[l]-o);"line"!=a.type&&"area"!=a.type||"justify"!=a.xAxis.boundaryGap||(s=a.chartData.xAxisPoints)}else o=0;if(D(t,a,n))if(a.categories)s.forEach((function(e,a){t.x+i+o>e&&(r.index=a)}));else{for(var c=Array(e.length),d=0;d<e.length;d++){c[d]=Array(e[d].length);for(var h=0;h<e[d].length;h++)c[d][h]=Math.abs(e[d][h].x-t.x)}for(var u=Array(c.length),f=Array(c.length),p=0;p<c.length;p++)u[p]=Math.min.apply(null,c[p]),f[p]=c[p].indexOf(u[p]);var x=Math.min.apply(null,u);r.index=[];for(var g=0;g<u.length;g++)u[g]==x&&(r.group.push(g),r.index.push(f[g]))}}return r}({x:a.x,y:a.y},this.opts.chartData.calPoints,this.opts,this.config,Math.abs(this.scrollOption.currentOffset))}return-1},zt.prototype.getLegendDataIndex=function(t){var e=null;if(e=t.changedTouches?t.changedTouches[0]:t.mp.changedTouches[0],e){var a=_(e,this.opts,t);return function(t,e,a){var n=-1;if(function(t,e){return t.x>e.start.x&&t.x<e.end.x&&t.y>e.start.y&&t.y<e.end.y}(t,e.area)){for(var i=e.points,r=-1,o=0,s=i.length;o<s;o++)for(var l=i[o],c=0;c<l.length;c++){r+=1;var d=l[c]["area"];if(d&&t.x>d[0]-0&&t.x<d[2]+0&&t.y>d[1]-0&&t.y<d[3]+0){n=r;break}}return n}return n}({x:a.x,y:a.y},this.opts.chartData.legendData)}return-1},zt.prototype.touchLegend=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=null;if(a=t.changedTouches?t.changedTouches[0]:t.mp.changedTouches[0],a){_(a,this.opts,t);var n=this.getLegendDataIndex(t);n>=0&&("candle"==this.opts.type?this.opts.seriesMA[n].show=!this.opts.seriesMA[n].show:this.opts.series[n].show=!this.opts.series[n].show,this.opts.animation=!!e.animation,this.opts._scrollDistance_=this.scrollOption.currentOffset,It.call(this,this.opts.type,this.opts,this.config,this.context))}},zt.prototype.showToolTip=function(e){var a=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=null;i=e.changedTouches?e.changedTouches[0]:e.mp.changedTouches[0],i||t("log","[uCharts] \u672a\u83b7\u53d6\u5230event\u5750\u6807\u4fe1\u606f"," at uni_modules/qiun-data-charts/js_sdk/u-charts/u-charts.js:7046");var r=_(i,this.opts,e),o=this.scrollOption.currentOffset,l=s({},this.opts,{_scrollDistance_:o,animation:!1});if("line"===this.opts.type||"area"===this.opts.type||"column"===this.opts.type||"scatter"===this.opts.type||"bubble"===this.opts.type){var c=this.getCurrentDataIndex(e),d=void 0==n.index?c.index:n.index;if(d>-1||d.length>0){var h=C(this.opts.series,d,c.group);if(0!==h.length){var u=T(h,this.opts,d,c.group,this.opts.categories,n),f=u.textList,p=u.offset;p.y=r.y,l.tooltip={textList:void 0!==n.textList?n.textList:f,offset:void 0!==n.offset?n.offset:p,option:n,index:d}}}It.call(this,l.type,l,this.config,this.context)}if("mount"===this.opts.type){d=void 0==n.index?this.getCurrentDataIndex(e).index:n.index;if(d>-1){l=s({},this.opts,{animation:!1}),h=s({},l._series_[d]),f=[{text:n.formatter?n.formatter(h,void 0,d,l):h.name+": "+h.data,color:h.color}],p={x:l.chartData.calPoints[d].x,y:r.y};l.tooltip={textList:n.textList?n.textList:f,offset:void 0!==n.offset?n.offset:p,option:n,index:d}}It.call(this,l.type,l,this.config,this.context)}if("bar"===this.opts.type){c=this.getCurrentDataIndex(e),d=void 0==n.index?c.index:n.index;if(d>-1||d.length>0){h=C(this.opts.series,d,c.group);if(0!==h.length){u=T(h,this.opts,d,c.group,this.opts.categories,n),f=u.textList,p=u.offset;p.x=r.x,l.tooltip={textList:void 0!==n.textList?n.textList:f,offset:void 0!==n.offset?n.offset:p,option:n,index:d}}}It.call(this,l.type,l,this.config,this.context)}if("mix"===this.opts.type){c=this.getCurrentDataIndex(e),d=void 0==n.index?c.index:n.index;if(d>-1){o=this.scrollOption.currentOffset,l=s({},this.opts,{_scrollDistance_:o,animation:!1}),h=C(this.opts.series,d);if(0!==h.length){var x=k(h,this.opts,d,this.opts.categories,n);f=x.textList,p=x.offset;p.y=r.y,l.tooltip={textList:n.textList?n.textList:f,offset:void 0!==n.offset?n.offset:p,option:n,index:d}}}It.call(this,l.type,l,this.config,this.context)}if("candle"===this.opts.type){c=this.getCurrentDataIndex(e),d=void 0==n.index?c.index:n.index;if(d>-1){o=this.scrollOption.currentOffset,l=s({},this.opts,{_scrollDistance_:o,animation:!1}),h=C(this.opts.series,d);if(0!==h.length){u=P(this.opts.series[0].data,h,this.opts,d,this.opts.categories,this.opts.extra.candle,n),f=u.textList,p=u.offset;p.y=r.y,l.tooltip={textList:n.textList?n.textList:f,offset:void 0!==n.offset?n.offset:p,option:n,index:d}}}It.call(this,l.type,l,this.config,this.context)}if("pie"===this.opts.type||"ring"===this.opts.type||"rose"===this.opts.type||"funnel"===this.opts.type){d=void 0==n.index?this.getCurrentDataIndex(e):n.index;if(d>-1){l=s({},this.opts,{animation:!1}),h=s({},l._series_[d]),f=[{text:n.formatter?n.formatter(h,void 0,d,l):h.name+": "+h.data,color:h.color}],p={x:r.x,y:r.y};l.tooltip={textList:n.textList?n.textList:f,offset:void 0!==n.offset?n.offset:p,option:n,index:d}}It.call(this,l.type,l,this.config,this.context)}if("map"===this.opts.type){d=void 0==n.index?this.getCurrentDataIndex(e):n.index;if(d>-1){l=s({},this.opts,{animation:!1}),h=s({},this.opts.series[d]);h.name=h.properties.name;f=[{text:n.formatter?n.formatter(h,void 0,d,this.opts):h.name,color:h.color}],p={x:r.x,y:r.y};l.tooltip={textList:n.textList?n.textList:f,offset:void 0!==n.offset?n.offset:p,option:n,index:d}}l.updateData=!1,It.call(this,l.type,l,this.config,this.context)}if("word"===this.opts.type){d=void 0==n.index?this.getCurrentDataIndex(e):n.index;if(d>-1){l=s({},this.opts,{animation:!1}),h=s({},this.opts.series[d]),f=[{text:n.formatter?n.formatter(h,void 0,d,this.opts):h.name,color:h.color}],p={x:r.x,y:r.y};l.tooltip={textList:n.textList?n.textList:f,offset:void 0!==n.offset?n.offset:p,option:n,index:d}}l.updateData=!1,It.call(this,l.type,l,this.config,this.context)}if("radar"===this.opts.type){d=void 0==n.index?this.getCurrentDataIndex(e):n.index;if(d>-1){l=s({},this.opts,{animation:!1}),h=C(this.opts.series,d);if(0!==h.length){f=h.map((function(t){return{text:n.formatter?n.formatter(t,a.opts.categories[d],d,a.opts):t.name+": "+t.data,color:t.color}})),p={x:r.x,y:r.y};l.tooltip={textList:n.textList?n.textList:f,offset:void 0!==n.offset?n.offset:p,option:n,index:d}}}It.call(this,l.type,l,this.config,this.context)}},zt.prototype.translate=function(t){this.scrollOption={currentOffset:t,startTouchX:t,distance:0,lastMoveTime:0};var e=s({},this.opts,{_scrollDistance_:t,animation:!1});It.call(this,this.opts.type,e,this.config,this.context)},zt.prototype.scrollStart=function(t){var e=null;e=t.changedTouches?t.changedTouches[0]:t.mp.changedTouches[0];var a=_(e,this.opts,t);e&&!0===this.opts.enableScroll&&(this.scrollOption.startTouchX=a.x)},zt.prototype.scroll=function(t){0===this.scrollOption.lastMoveTime&&(this.scrollOption.lastMoveTime=Date.now());var e=this.opts.touchMoveLimit||60,a=Date.now(),n=a-this.scrollOption.lastMoveTime;if(!(n<Math.floor(1e3/e))&&0!=this.scrollOption.startTouchX){this.scrollOption.lastMoveTime=a;var i=null;if(i=t.changedTouches?t.changedTouches[0]:t.mp.changedTouches[0],i&&!0===this.opts.enableScroll){var r,o=_(i,this.opts,t);r=o.x-this.scrollOption.startTouchX;var l=this.scrollOption.currentOffset,c=h(this,l+r,this.opts.chartData,this.config,this.opts);this.scrollOption.distance=r=c-l;var d=s({},this.opts,{_scrollDistance_:l+r,animation:!1});return this.opts=d,It.call(this,d.type,d,this.config,this.context),l+r}}},zt.prototype.scrollEnd=function(t){if(!0===this.opts.enableScroll){var e=this.scrollOption,a=e.currentOffset,n=e.distance;this.scrollOption.currentOffset=a+n,this.scrollOption.distance=0,this.scrollOption.moveCount=0}};var Bt=zt;e.default=Bt}).call(this,a("f3b9")["default"])},1995:function(t,e,a){var n=a("c86c");e=n(!1),e.push([t.i,'@charset "UTF-8";.uni-popup[data-v-58e7869c]{position:fixed;z-index:99}.uni-popup.top[data-v-58e7869c], .uni-popup.left[data-v-58e7869c], .uni-popup.right[data-v-58e7869c]{top:0}.uni-popup .uni-popup__wrapper[data-v-58e7869c]{display:block;position:relative}.uni-popup .uni-popup__wrapper.left[data-v-58e7869c], .uni-popup .uni-popup__wrapper.right[data-v-58e7869c]{padding-top:0;flex:1}.fixforpc-z-index[data-v-58e7869c]{z-index:999}.fixforpc-top[data-v-58e7869c]{top:0}',""]),t.exports=e},"1a14":function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=["#1890FF","#91CB74","#FAC858","#EE6666","#73C0DE","#3CA272","#FC8452","#9A60B4","#ea7ccc"],i={type:["pie","ring","rose","word","funnel","map","arcbar","line","column","mount","bar","area","radar","gauge","candle","mix","tline","tarea","scatter","bubble","demotype"],range:["\u997c\u72b6\u56fe","\u5706\u73af\u56fe","\u73ab\u7470\u56fe","\u8bcd\u4e91\u56fe","\u6f0f\u6597\u56fe","\u5730\u56fe","\u5706\u5f27\u8fdb\u5ea6\u6761","\u6298\u7ebf\u56fe","\u67f1\u72b6\u56fe","\u5c71\u5cf0\u56fe","\u6761\u72b6\u56fe","\u533a\u57df\u56fe","\u96f7\u8fbe\u56fe","\u4eea\u8868\u76d8","K\u7ebf\u56fe","\u6df7\u5408\u56fe","\u65f6\u95f4\u8f74\u6298\u7ebf","\u65f6\u95f4\u8f74\u533a\u57df","\u6563\u70b9\u56fe","\u6c14\u6ce1\u56fe","\u81ea\u5b9a\u4e49\u7c7b\u578b"],categories:["line","column","mount","bar","area","radar","gauge","candle","mix","demotype"],instance:{},option:{},formatter:{yAxisDemo1:function(t,e,a){return t+"\u5143"},yAxisDemo2:function(t,e,a){return t.toFixed(2)},xAxisDemo1:function(t,e,a){return t+"\u5e74"},xAxisDemo2:function(t,e,a){return function(t,e){var a=new Date;a.setTime(1e3*t);var n=a.getFullYear(),i=a.getMonth()+1;i=i<10?"0"+i:i;var r=a.getDate();r=r<10?"0"+r:r;var o=a.getHours();o=o<10?"0"+o:o;var s=a.getMinutes(),l=a.getSeconds();return s=s<10?"0"+s:s,l=l<10?"0"+l:l,"full"==e?n+"-"+i+"-"+r+" "+o+":"+s+":"+l:"y-m-d"==e?n+"-"+i+"-"+r:"h:m"==e?o+":"+s:"h:m:s"==e?o+":"+s+":"+l:[n,i,r,o,s,l]}(t,"h:m")},seriesDemo1:function(t,e,a,n){return t+"\u5143"},tooltipDemo1:function(t,e,a,n){return 0==a?"\u968f\u4fbf\u7528"+t.data+"\u5e74":"\u5176\u4ed6\u6211\u6ca1\u6539"+t.data+"\u5929"},pieDemo:function(t,e,a,n){if(void 0!==e)return a[e].name+"\uff1a"+a[e].data+"\u5143"}},demotype:{type:"line",color:n,padding:[15,10,0,15],xAxis:{disableGrid:!0},yAxis:{gridType:"dash",dashLength:2},legend:{},extra:{line:{type:"curve",width:2}}},pie:{type:"pie",color:n,padding:[5,5,5,5],extra:{pie:{activeOpacity:.5,activeRadius:10,offsetAngle:0,labelWidth:15,border:!0,borderWidth:3,borderColor:"#FFFFFF"}}},ring:{type:"ring",color:n,padding:[5,5,5,5],rotate:!1,dataLabel:!1,legend:{show:!1,position:"right",lineHeight:25},title:{name:"\u6536\u76ca\u7387",fontSize:15,color:"#666666"},subtitle:{name:"70%",fontSize:25,color:"#7cb5ec"},extra:{ring:{ringWidth:30,activeOpacity:.5,activeRadius:10,offsetAngle:0,labelWidth:15,border:!0,borderWidth:3,borderColor:"#FFFFFF"}}},rose:{type:"rose",color:n,padding:[5,5,5,5],legend:{show:!0,position:"left",lineHeight:25},extra:{rose:{type:"area",minRadius:50,activeOpacity:.5,activeRadius:10,offsetAngle:0,labelWidth:15,border:!1,borderWidth:2,borderColor:"#FFFFFF"}}},word:{type:"word",color:n,extra:{word:{type:"normal",autoColors:!1}}},funnel:{type:"funnel",color:n,padding:[15,15,0,15],extra:{funnel:{activeOpacity:.3,activeWidth:10,border:!0,borderWidth:2,borderColor:"#FFFFFF",fillOpacity:1,labelAlign:"right"}}},map:{type:"map",color:n,padding:[0,0,0,0],dataLabel:!0,extra:{map:{border:!0,borderWidth:1,borderColor:"#666666",fillOpacity:.6,activeBorderColor:"#F04864",activeFillColor:"#FACC14",activeFillOpacity:1}}},arcbar:{type:"arcbar",color:n,title:{name:"\u767e\u5206\u6bd4",fontSize:25,color:"#00FF00"},subtitle:{name:"\u9ed8\u8ba4\u6807\u9898",fontSize:15,color:"#666666"},extra:{arcbar:{type:"default",width:12,backgroundColor:"#E9E9E9",startAngle:.75,endAngle:.25,gap:2}}},line:{type:"line",color:n,padding:[15,10,0,15],xAxis:{disableGrid:!0},yAxis:{gridType:"dash",dashLength:2},legend:{},extra:{line:{type:"straight",width:2}}},tline:{type:"line",color:n,padding:[15,10,0,15],xAxis:{disableGrid:!1,boundaryGap:"justify"},yAxis:{gridType:"dash",dashLength:2,data:[{min:0,max:80}]},legend:{},extra:{line:{type:"curve",width:2}}},tarea:{type:"area",color:n,padding:[15,10,0,15],xAxis:{disableGrid:!0,boundaryGap:"justify"},yAxis:{gridType:"dash",dashLength:2,data:[{min:0,max:80}]},legend:{},extra:{area:{type:"curve",opacity:.2,addLine:!0,width:2,gradient:!0}}},column:{type:"column",color:n,padding:[15,15,0,5],xAxis:{disableGrid:!0},yAxis:{data:[{min:0}]},legend:{},extra:{column:{type:"group",width:30,activeBgColor:"#000000",activeBgOpacity:.08}}},mount:{type:"mount",color:n,padding:[15,15,0,5],xAxis:{disableGrid:!0},yAxis:{data:[{min:0}]},legend:{},extra:{mount:{type:"mount",widthRatio:1.5}}},bar:{type:"bar",color:n,padding:[15,30,0,5],xAxis:{boundaryGap:"justify",disableGrid:!1,min:0,axisLine:!1},yAxis:{},legend:{},extra:{bar:{type:"group",width:30,meterBorde:1,meterFillColor:"#FFFFFF",activeBgColor:"#000000",activeBgOpacity:.08}}},area:{type:"area",color:n,padding:[15,15,0,15],xAxis:{disableGrid:!0},yAxis:{gridType:"dash",dashLength:2},legend:{},extra:{area:{type:"straight",opacity:.2,addLine:!0,width:2,gradient:!1}}},radar:{type:"radar",color:n,padding:[5,5,5,5],dataLabel:!1,legend:{show:!0,position:"right",lineHeight:25},extra:{radar:{gridType:"radar",gridColor:"#CCCCCC",gridCount:3,opacity:.2,max:200}}},gauge:{type:"gauge",color:n,title:{name:"66Km/H",fontSize:25,color:"#2fc25b",offsetY:50},subtitle:{name:"\u5b9e\u65f6\u901f\u5ea6",fontSize:15,color:"#1890ff",offsetY:-50},extra:{gauge:{type:"default",width:30,labelColor:"#666666",startAngle:.75,endAngle:.25,startNumber:0,endNumber:100,labelFormat:"",splitLine:{fixRadius:0,splitNumber:10,width:30,color:"#FFFFFF",childNumber:5,childWidth:12},pointer:{width:24,color:"auto"}}}},candle:{type:"candle",color:n,padding:[15,15,0,15],enableScroll:!0,enableMarkLine:!0,dataLabel:!1,xAxis:{labelCount:4,itemCount:40,disableGrid:!0,gridColor:"#CCCCCC",gridType:"solid",dashLength:4,scrollShow:!0,scrollAlign:"left",scrollColor:"#A6A6A6",scrollBackgroundColor:"#EFEBEF"},yAxis:{},legend:{},extra:{candle:{color:{upLine:"#f04864",upFill:"#f04864",downLine:"#2fc25b",downFill:"#2fc25b"},average:{show:!0,name:["MA5","MA10","MA30"],day:[5,10,20],color:["#1890ff","#2fc25b","#facc14"]}},markLine:{type:"dash",dashLength:5,data:[{value:2150,lineColor:"#f04864",showLabel:!0},{value:2350,lineColor:"#f04864",showLabel:!0}]}}},mix:{type:"mix",color:n,padding:[15,15,0,15],xAxis:{disableGrid:!0},yAxis:{disabled:!1,disableGrid:!1,splitNumber:5,gridType:"dash",dashLength:4,gridColor:"#CCCCCC",padding:10,showTitle:!0,data:[]},legend:{},extra:{mix:{column:{width:20}}}},scatter:{type:"scatter",color:n,padding:[15,15,0,15],dataLabel:!1,xAxis:{disableGrid:!1,gridType:"dash",splitNumber:5,boundaryGap:"justify",min:0},yAxis:{disableGrid:!1,gridType:"dash"},legend:{},extra:{scatter:{}}},bubble:{type:"bubble",color:n,padding:[15,15,0,15],xAxis:{disableGrid:!1,gridType:"dash",splitNumber:5,boundaryGap:"justify",min:0,max:250},yAxis:{disableGrid:!1,gridType:"dash",data:[{min:0,max:150}]},legend:{},extra:{bubble:{border:2,opacity:.5}}}},r=i;e.default=r},"1ad7":function(t,e,a){var n=a("c86c");e=n(!1),e.push([t.i,"",""]),t.exports=e},"1c5b":function(t,e,a){if("undefined"===typeof Promise||Promise.prototype.finally||(Promise.prototype.finally=function(t){var e=this.constructor;return this.then((function(a){return e.resolve(t()).then((function(){return a}))}),(function(a){return e.resolve(t()).then((function(){throw a}))}))}),"undefined"!==typeof uni&&uni&&uni.requireGlobal){var n=uni.requireGlobal();ArrayBuffer=n.ArrayBuffer,Int8Array=n.Int8Array,Uint8Array=n.Uint8Array,Uint8ClampedArray=n.Uint8ClampedArray,Int16Array=n.Int16Array,Uint16Array=n.Uint16Array,Int32Array=n.Int32Array,Uint32Array=n.Uint32Array,Float32Array=n.Float32Array,Float64Array=n.Float64Array,BigInt64Array=n.BigInt64Array,BigUint64Array=n.BigUint64Array}window.__uniConfig={window:{navigationBarTextStyle:"black",navigationBarTitleText:"uni-app",navigationBarBackgroundColor:"#F8F8F8",backgroundColor:"#F8F8F8",pageOrientation:"landscape"},darkmode:!1},uni.restoreGlobal&&uni.restoreGlobal(weex,plus,setTimeout,clearTimeout,setInterval,clearInterval),__definePage("pages/home/home",(function(){return Vue.extend(a("3b29").default)})),__definePage("pages/test/test",(function(){return Vue.extend(a("28cf").default)})),__definePage("pages/index",(function(){return Vue.extend(a("5e2e").default)})),__definePage("pages/index/index",(function(){return Vue.extend(a("e4d6").default)})),__definePage("pages/index/monitor",(function(){return Vue.extend(a("bfff").default)})),__definePage("pages/test/test",(function(){return Vue.extend(a("28cf").default)}))},"1e40":function(t,e,a){var n=a("c86c");e=n(!1),e.push([t.i,".chartsview[data-v-3f29adb2]{width:100%;height:100%;display:flex;flex:1;justify-content:center;align-items:center}",""]),t.exports=e},"1efb":function(t,e,a){"use strict";a.r(e);var n=a("8729"),i=a.n(n);for(var r in n)["default"].indexOf(r)<0&&function(t){a.d(e,t,(function(){return n[t]}))}(r);e["default"]=i.a},2021:function(t,e,a){t.exports=a.p+"static/background.png"},"21c9":function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={name:"loading1",data:function(){return{wxsProps:{}}},components:{}}},"21fb":function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={name:"loading3",data:function(){return{wxsProps:{}}},components:{}}},2527:function(t,e,a){var n=a("c86c");e=n(!1),e.push([t.i,'.chartsview[data-v-06f9c5d4]{width:100%;height:100%;display:flex;flex-direction:column;flex:1;justify-content:center;align-items:center}.charts-font[data-v-06f9c5d4]{font-size:14px;color:#ccc;margin-top:10px}.charts-error[data-v-06f9c5d4]{width:128px;height:128px;background:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAYAAADDPmHLAAAUz0lEQVR4Xu1de3Bc1X3+zmp3jYVWfkPAgCWwY8zLEglNQCSW0yT9o2SQaDKdNulUykwfM+k09p+J3ImYIPJXi9yZzDSZZiwyaZuZBCwnNG1DMogEmUAAy7xs/MAyNhCMjWWtsK1deU/n23OvtLu6j3Pv3t29d71nxjOSde455/5+3/m9z7kCjRY4BR7eK7fkcmhrasLT37hbTAY+QYADigDHagwFYGhc7gZwHMAUgG4hMPzNe8RoWInTAECAnHl4r+yREt0DXWIbhx3cJ5fHP8TYjntFR4DTBDqUIwBmMrJDCtyPHDoQw0Q8jkeXinCLtECp43Gwh56R22IxTBbu+KFxOTbQJbo9DlW17rYASGdlNySeKl2JADpbkmKiait0mWhoXHZkmzE52CkocmvavvOsbMvl8MhAl+jlQrg2CQzu6BI9NV2Yw+T2AJiVo+DuL2kSeLQ1KfrC8kLcYbkYBv/pbjEWhjUNjUvSpk9KSAicm2tGXxjAaUcbewBkJAm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BQ1a4NV8P51u8zTQ6eynT+AA8LOIxjO1o0ADALWjfShmjhwACgNPoaCgsnWOO+VLwrJOq3VEDgCGLrbMjdeK0EEGZqr9DpEDgFXgqdpEK50vlsPUQJf/nHwt1///89bqDjCPWPAAAAAASUVORK5CYII=");background-position:50%}',""]),t.exports=e},"269a":function(t,e,a){var n=a("c86c");e=n(!1),e.push([t.i,".container[data-v-6e5d9c90]{width:30px;height:30px;position:relative}.container.loading6[data-v-6e5d9c90]{-webkit-animation:rotation 1s infinite;animation:rotation 1s infinite}.container.loading6 .shape[data-v-6e5d9c90]{width:12px;height:12px;border-radius:2px}.container .shape[data-v-6e5d9c90]{position:absolute;width:10px;height:10px;border-radius:1px}.container .shape.shape1[data-v-6e5d9c90]{left:0;background-color:#1890ff}.container .shape.shape2[data-v-6e5d9c90]{right:0;background-color:#91cb74}.container .shape.shape3[data-v-6e5d9c90]{bottom:0;background-color:#fac858}.container .shape.shape4[data-v-6e5d9c90]{bottom:0;right:0;background-color:#e66}.loading6 .shape1[data-v-6e5d9c90]{-webkit-animation:animation6shape1-data-v-6e5d9c90 2s linear 0s infinite normal;animation:animation6shape1-data-v-6e5d9c90 2s linear 0s infinite normal}@-webkit-keyframes animation6shape1-data-v-6e5d9c90{0%{-webkit-transform:translate(0);transform:translate(0)}25%{-webkit-transform:translateY(18px);transform:translateY(18px)}50%{-webkit-transform:translate(18px,18px);transform:translate(18px,18px)}75%{-webkit-transform:translate(18px);transform:translate(18px)}}@keyframes animation6shape1-data-v-6e5d9c90{0%{-webkit-transform:translate(0);transform:translate(0)}25%{-webkit-transform:translateY(18px);transform:translateY(18px)}50%{-webkit-transform:translate(18px,18px);transform:translate(18px,18px)}75%{-webkit-transform:translate(18px);transform:translate(18px)}}.loading6 .shape2[data-v-6e5d9c90]{-webkit-animation:animation6shape2-data-v-6e5d9c90 2s linear 0s infinite normal;animation:animation6shape2-data-v-6e5d9c90 2s linear 0s infinite normal}@-webkit-keyframes animation6shape2-data-v-6e5d9c90{0%{-webkit-transform:translate(0);transform:translate(0)}25%{-webkit-transform:translate(-18px);transform:translate(-18px)}50%{-webkit-transform:translate(-18px,18px);transform:translate(-18px,18px)}75%{-webkit-transform:translateY(18px);transform:translateY(18px)}}@keyframes animation6shape2-data-v-6e5d9c90{0%{-webkit-transform:translate(0);transform:translate(0)}25%{-webkit-transform:translate(-18px);transform:translate(-18px)}50%{-webkit-transform:translate(-18px,18px);transform:translate(-18px,18px)}75%{-webkit-transform:translateY(18px);transform:translateY(18px)}}.loading6 .shape3[data-v-6e5d9c90]{-webkit-animation:animation6shape3-data-v-6e5d9c90 2s linear 0s infinite normal;animation:animation6shape3-data-v-6e5d9c90 2s linear 0s infinite normal}@-webkit-keyframes animation6shape3-data-v-6e5d9c90{0%{-webkit-transform:translate(0);transform:translate(0)}25%{-webkit-transform:translate(18px);transform:translate(18px)}50%{-webkit-transform:translate(18px,-18px);transform:translate(18px,-18px)}75%{-webkit-transform:translateY(-18px);transform:translateY(-18px)}}@keyframes animation6shape3-data-v-6e5d9c90{0%{-webkit-transform:translate(0);transform:translate(0)}25%{-webkit-transform:translate(18px);transform:translate(18px)}50%{-webkit-transform:translate(18px,-18px);transform:translate(18px,-18px)}75%{-webkit-transform:translateY(-18px);transform:translateY(-18px)}}.loading6 .shape4[data-v-6e5d9c90]{-webkit-animation:animation6shape4-data-v-6e5d9c90 2s linear 0s infinite normal;animation:animation6shape4-data-v-6e5d9c90 2s linear 0s infinite normal}@-webkit-keyframes animation6shape4-data-v-6e5d9c90{0%{-webkit-transform:translate(0);transform:translate(0)}25%{-webkit-transform:translateY(-18px);transform:translateY(-18px)}50%{-webkit-transform:translate(-18px,-18px);transform:translate(-18px,-18px)}75%{-webkit-transform:translate(-18px);transform:translate(-18px)}}@keyframes animation6shape4-data-v-6e5d9c90{0%{-webkit-transform:translate(0);transform:translate(0)}25%{-webkit-transform:translateY(-18px);transform:translateY(-18px)}50%{-webkit-transform:translate(-18px,-18px);transform:translate(-18px,-18px)}75%{-webkit-transform:translate(-18px);transform:translate(-18px)}}",""]),t.exports=e},2880:function(t,e,a){"use strict";var n=a("60d5"),i=a.n(n);i.a},"28cf":function(t,e,a){"use strict";a.r(e);var n=a("7d36"),i=a("b9a5");for(var r in i)["default"].indexOf(r)<0&&function(t){a.d(e,t,(function(){return i[t]}))}(r);a("8804");var o=a("828b"),s=Object(o["a"])(i["default"],n["b"],n["c"],!1,null,null,null,!1,n["a"],void 0);e["default"]=s.exports},"2e13":function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={name:"loading2",data:function(){return{wxsProps:{}}},components:{}}},"34cf":function(t,e,a){var n=a("ed45"),i=a("7172"),r=a("6382"),o=a("dd3e");t.exports=function(t,e){return n(t)||i(t,e)||r(t,e)||o()},t.exports.__esModule=!0,t.exports["default"]=t.exports},"357c":function(t,e,a){"use strict";a.r(e);var n=a("9b65"),i=a("1efb");for(var r in i)["default"].indexOf(r)<0&&function(t){a.d(e,t,(function(){return i[t]}))}(r);a("f9c6");var o=a("828b"),s=Object(o["a"])(i["default"],n["b"],n["c"],!1,null,"71f2edbe",null,!1,n["a"],void 0);e["default"]=s.exports},"368e":function(t,e,a){var n=a("c86c");e=n(!1),e.push([t.i,".clear{position:fixed;top:0;left:0;z-index:9999;background:transparent;border:none}.clear:hover{background:#fff}",""]),t.exports=e},"3b29":function(t,e,a){"use strict";a.r(e);var n=a("ac5c"),i=a("0671");for(var r in i)["default"].indexOf(r)<0&&function(t){a.d(e,t,(function(){return i[t]}))}(r);a("02de");var o=a("828b"),s=Object(o["a"])(i["default"],n["b"],n["c"],!1,null,null,null,!1,n["a"],void 0);e["default"]=s.exports},"3b2d":function(t,e){function a(e){return t.exports=a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t.exports.__esModule=!0,t.exports["default"]=t.exports,a(e)}t.exports=a,t.exports.__esModule=!0,t.exports["default"]=t.exports},"3b3c":function(t,e,a){"use strict";var n=a("4f76"),i=a.n(n);i.a},"3bcd":function(t,e,a){"use strict";var n=a("5a89"),i=a.n(n);i.a},"3c26":function(t,e,a){"use strict";a.d(e,"b",(function(){return n})),a.d(e,"c",(function(){return i})),a.d(e,"a",(function(){}));var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("uni-view",{attrs:{_i:0}},[a("uni-view",{attrs:{_i:1}},[a("v-uni-swiper",{staticStyle:{height:"500px"},attrs:{circular:"true",vertical:"true","display-multiple-items":"16",autoplay:t._$g(2,"a-autoplay"),interval:t._$g(2,"a-interval"),duration:t._$g(2,"a-duration"),_i:2}},t._l(t._$g(3,"f"),(function(e,n,i,r){return a("v-uni-swiper-item",{key:e,attrs:{_i:"3-"+r}},[a("uni-view",{attrs:{_i:"4-"+r}},[t._v(t._$g("4-"+r,"t0-0"))])],1)})),1)],1)],1)},i=[]},"3c8c":function(t,e,a){"use strict";a.r(e);var n=a("f6e5"),i=a("c547");for(var r in i)["default"].indexOf(r)<0&&function(t){a.d(e,t,(function(){return i[t]}))}(r);a("f01f");var o=a("828b"),s=Object(o["a"])(i["default"],n["b"],n["c"],!1,null,"37562626",null,!1,n["a"],void 0);e["default"]=s.exports},"3d5d":function(t,e,a){"use strict";a.d(e,"b",(function(){return n})),a.d(e,"c",(function(){return i})),a.d(e,"a",(function(){}));var n=function(){var t=this.$createElement,e=this._self._c||t;return e("uni-view",{staticClass:this._$g(0,"sc"),attrs:{_i:0}},[e("uni-view",{staticClass:this._$g(1,"sc"),attrs:{_i:1}}),e("uni-view",{staticClass:this._$g(2,"sc"),attrs:{_i:2}}),e("uni-view",{staticClass:this._$g(3,"sc"),attrs:{_i:3}}),e("uni-view",{staticClass:this._$g(4,"sc"),attrs:{_i:4}})],1)},i=[]},"3d72":function(t,e,a){"use strict";a.r(e);var n=a("ea54"),i=a.n(n);for(var r in n)["default"].indexOf(r)<0&&function(t){a.d(e,t,(function(){return n[t]}))}(r);e["default"]=i.a},"3d8c":function(t,e,a){"use strict";a.d(e,"b",(function(){return n})),a.d(e,"c",(function(){return i})),a.d(e,"a",(function(){}));var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return t._$g(0,"i")?a("uni-view",{ref:"ani",class:t._$g(0,"c"),style:t._$g(0,"s"),attrs:{animation:t._$g(0,"a-animation"),_i:0},on:{click:function(e){return t.$handleViewEvent(e)}}},[t._t("default",null,{_i:1})],2):t._e()},i=[]},"3f18":function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={name:"qiun-error",props:["errorMessage"],data:function(){return{wxsProps:{}}},components:{}}},"3f60":function(t,e,a){"use strict";a.r(e);var n=a("8412"),i=a.n(n);for(var r in n)["default"].indexOf(r)<0&&function(t){a.d(e,t,(function(){return n[t]}))}(r);e["default"]=i.a},"3f6f":function(t,e,a){"use strict";a.r(e);var n=a("93d8"),i=a.n(n);for(var r in n)["default"].indexOf(r)<0&&function(t){a.d(e,t,(function(){return n[t]}))}(r);e["default"]=i.a},"3fb1":function(t,e,a){"use strict";a.d(e,"b",(function(){return n})),a.d(e,"c",(function(){return i})),a.d(e,"a",(function(){}));var n=function(){var t=this.$createElement,e=this._self._c||t;return e("uni-view",{staticClass:this._$g(0,"sc"),attrs:{_i:0}},[e("uni-view",{staticClass:this._$g(1,"sc"),attrs:{_i:1}}),e("uni-view",{staticClass:this._$g(2,"sc"),attrs:{_i:2}}),e("uni-view",{staticClass:this._$g(3,"sc"),attrs:{_i:3}}),e("uni-view",{staticClass:this._$g(4,"sc"),attrs:{_i:4}})],1)},i=[]},"402a":function(t,e,a){var n=a("c86c");e=n(!1),e.push([t.i,'@charset "UTF-8";.scroll_box[data-v-43f30b7e]{background:#fff;margin:30rpx;border-radius:10rpx}.scroll_box .swiper[data-v-43f30b7e]{margin-top:200px;height:70px}',""]),t.exports=e},4052:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={name:"uniPopupDialog",props:["value","placeholder","type","mode","title","content","beforeClose","cancelText","confirmText"],data:function(){return{wxsProps:{}}},components:{}}},"40dd":function(t,e,a){"use strict";a.d(e,"b",(function(){return n})),a.d(e,"c",(function(){return i})),a.d(e,"a",(function(){}));var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("uni-view",{staticClass:t._$g(0,"sc"),attrs:{_i:0}},[a("uni-view",{staticClass:t._$g(1,"sc"),attrs:{_i:1}},[a("v-uni-text",{staticClass:t._$g(2,"sc"),class:t._$g(2,"c"),attrs:{_i:2}},[t._v(t._$g(2,"t0-0"))])],1),t._$g(3,"i")?a("uni-view",{staticClass:t._$g(3,"sc"),attrs:{_i:3}},[t._t("default",[a("v-uni-text",{staticClass:t._$g(5,"sc"),attrs:{_i:5}},[t._v(t._$g(5,"t0-0"))])],{_i:4})],2):a("uni-view",{staticClass:t._$g(6,"sc"),attrs:{_i:6}},[t._t("default",[a("v-uni-input",{staticClass:t._$g(8,"sc"),attrs:{type:"text",placeholder:t._$g(8,"a-placeholder"),focus:t._$g(8,"a-focus"),_i:8},model:{value:t._$g(8,"v-model"),callback:function(e){t.$handleVModelEvent(8,e)},expression:"val"}})],{_i:7})],2),a("uni-view",{staticClass:t._$g(9,"sc"),attrs:{_i:9}},[a("uni-view",{staticClass:t._$g(10,"sc"),attrs:{_i:10},on:{click:function(e){return t.$handleViewEvent(e)}}},[a("v-uni-text",{staticClass:t._$g(11,"sc"),attrs:{_i:11}},[t._v(t._$g(11,"t0-0"))])],1),a("uni-view",{staticClass:t._$g(12,"sc"),attrs:{_i:12},on:{click:function(e){return t.$handleViewEvent(e)}}},[a("v-uni-text",{staticClass:t._$g(13,"sc"),attrs:{_i:13}},[t._v(t._$g(13,"t0-0"))])],1)],1)],1)},i=[]},4604:function(t,e,a){var n=a("c86c");e=n(!1),e.push([t.i,".container[data-v-37562626]{width:30px;height:30px;position:relative}.container.loading5 .shape[data-v-37562626]{width:15px;height:15px}.container .shape[data-v-37562626]{position:absolute;width:10px;height:10px;border-radius:1px}.container .shape.shape1[data-v-37562626]{left:0;background-color:#1890ff}.container .shape.shape2[data-v-37562626]{right:0;background-color:#91cb74}.container .shape.shape3[data-v-37562626]{bottom:0;background-color:#fac858}.container .shape.shape4[data-v-37562626]{bottom:0;right:0;background-color:#e66}.loading5 .shape1[data-v-37562626]{animation:animation5shape1-data-v-37562626 2s ease 0s infinite reverse}@-webkit-keyframes animation5shape1-data-v-37562626{0%{-webkit-transform:translate(0);transform:translate(0)}25%{-webkit-transform:translateY(15px);transform:translateY(15px)}50%{-webkit-transform:translate(15px,15px);transform:translate(15px,15px)}75%{-webkit-transform:translate(15px);transform:translate(15px)}}@keyframes animation5shape1-data-v-37562626{0%{-webkit-transform:translate(0);transform:translate(0)}25%{-webkit-transform:translateY(15px);transform:translateY(15px)}50%{-webkit-transform:translate(15px,15px);transform:translate(15px,15px)}75%{-webkit-transform:translate(15px);transform:translate(15px)}}.loading5 .shape2[data-v-37562626]{animation:animation5shape2-data-v-37562626 2s ease 0s infinite reverse}@-webkit-keyframes animation5shape2-data-v-37562626{0%{-webkit-transform:translate(0);transform:translate(0)}25%{-webkit-transform:translate(-15px);transform:translate(-15px)}50%{-webkit-transform:translate(-15px,15px);transform:translate(-15px,15px)}75%{-webkit-transform:translateY(15px);transform:translateY(15px)}}@keyframes animation5shape2-data-v-37562626{0%{-webkit-transform:translate(0);transform:translate(0)}25%{-webkit-transform:translate(-15px);transform:translate(-15px)}50%{-webkit-transform:translate(-15px,15px);transform:translate(-15px,15px)}75%{-webkit-transform:translateY(15px);transform:translateY(15px)}}.loading5 .shape3[data-v-37562626]{animation:animation5shape3-data-v-37562626 2s ease 0s infinite reverse}@-webkit-keyframes animation5shape3-data-v-37562626{0%{-webkit-transform:translate(0);transform:translate(0)}25%{-webkit-transform:translate(15px);transform:translate(15px)}50%{-webkit-transform:translate(15px,-15px);transform:translate(15px,-15px)}75%{-webkit-transform:translateY(-15px);transform:translateY(-15px)}}@keyframes animation5shape3-data-v-37562626{0%{-webkit-transform:translate(0);transform:translate(0)}25%{-webkit-transform:translate(15px);transform:translate(15px)}50%{-webkit-transform:translate(15px,-15px);transform:translate(15px,-15px)}75%{-webkit-transform:translateY(-15px);transform:translateY(-15px)}}.loading5 .shape4[data-v-37562626]{animation:animation5shape4-data-v-37562626 2s ease 0s infinite reverse}@-webkit-keyframes animation5shape4-data-v-37562626{0%{-webkit-transform:translate(0);transform:translate(0)}25%{-webkit-transform:translateY(-15px);transform:translateY(-15px)}50%{-webkit-transform:translate(-15px,-15px);transform:translate(-15px,-15px)}75%{-webkit-transform:translate(-15px);transform:translate(-15px)}}@keyframes animation5shape4-data-v-37562626{0%{-webkit-transform:translate(0);transform:translate(0)}25%{-webkit-transform:translateY(-15px);transform:translateY(-15px)}50%{-webkit-transform:translate(-15px,-15px);transform:translate(-15px,-15px)}75%{-webkit-transform:translate(-15px);transform:translate(-15px)}}",""]),t.exports=e},"468a":function(t,e,a){"use strict";a.r(e);var n=a("3d5d"),i=a("a9ce");for(var r in i)["default"].indexOf(r)<0&&function(t){a.d(e,t,(function(){return i[t]}))}(r);a("e199");var o=a("828b"),s=Object(o["a"])(i["default"],n["b"],n["c"],!1,null,"2ef93b2c",null,!1,n["a"],void 0);e["default"]=s.exports},"47a9":function(t,e){t.exports=function(t){return t&&t.__esModule?t:{default:t}},t.exports.__esModule=!0,t.exports["default"]=t.exports},"4f76":function(t,e,a){var n=a("402a");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var i=a("b49c").default;i("addd57ae",n,!0,{sourceMap:!1,shadowMode:!1})},"59cf":function(t,e,a){"use strict";a.d(e,"b",(function(){return n})),a.d(e,"c",(function(){return i})),a.d(e,"a",(function(){}));var n=function(){var t=this.$createElement,e=this._self._c||t;return e("uni-view",{staticClass:this._$g(0,"sc"),attrs:{_i:0}},[e("uni-view",{staticClass:this._$g(1,"sc"),attrs:{_i:1}}),e("uni-view",{staticClass:this._$g(2,"sc"),attrs:{_i:2}},[this._v(this._$g(2,"t0-0"))])],1)},i=[]},"5a89":function(t,e,a){var n=a("1995");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var i=a("b49c").default;i("47efc986",n,!0,{sourceMap:!1,shadowMode:!1})},"5e2e":function(t,e,a){"use strict";a.r(e);var n=a("7b96"),i=a("3f6f");for(var r in i)["default"].indexOf(r)<0&&function(t){a.d(e,t,(function(){return i[t]}))}(r);a("2880");var o=a("828b"),s=Object(o["a"])(i["default"],n["b"],n["c"],!1,null,"cc06004c",null,!1,n["a"],void 0);e["default"]=s.exports},"5f21":function(t,e,a){"use strict";a.r(e);var n=a("af4f"),i=a("3f60");for(var r in i)["default"].indexOf(r)<0&&function(t){a.d(e,t,(function(){return i[t]}))}(r);var o=a("828b"),s=Object(o["a"])(i["default"],n["b"],n["c"],!1,null,"24ee7f38",null,!1,n["a"],void 0);e["default"]=s.exports},6064:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={name:"",data:function(){return{wxsProps:{}}},components:{}}},6075:function(t,e,a){var n=a("c86c");e=n(!1),e.push([t.i,".container[data-v-4e1c1bfa]{width:30px;height:30px;position:relative}.container.loading3[data-v-4e1c1bfa]{-webkit-animation:rotation 1s infinite;animation:rotation 1s infinite}.container.loading3 .shape1[data-v-4e1c1bfa]{border-top-left-radius:10px}.container.loading3 .shape2[data-v-4e1c1bfa]{border-top-right-radius:10px}.container.loading3 .shape3[data-v-4e1c1bfa]{border-bottom-left-radius:10px}.container.loading3 .shape4[data-v-4e1c1bfa]{border-bottom-right-radius:10px}.container .shape[data-v-4e1c1bfa]{position:absolute;width:10px;height:10px;border-radius:1px}.container .shape.shape1[data-v-4e1c1bfa]{left:0;background-color:#1890ff}.container .shape.shape2[data-v-4e1c1bfa]{right:0;background-color:#91cb74}.container .shape.shape3[data-v-4e1c1bfa]{bottom:0;background-color:#fac858}.container .shape.shape4[data-v-4e1c1bfa]{bottom:0;right:0;background-color:#e66}.loading3 .shape1[data-v-4e1c1bfa]{-webkit-animation:animation3shape1-data-v-4e1c1bfa .5s ease 0s infinite alternate;animation:animation3shape1-data-v-4e1c1bfa .5s ease 0s infinite alternate}@-webkit-keyframes animation3shape1-data-v-4e1c1bfa{from{-webkit-transform:translate(0);transform:translate(0)}to{-webkit-transform:translate(5px,5px);transform:translate(5px,5px)}}@keyframes animation3shape1-data-v-4e1c1bfa{from{-webkit-transform:translate(0);transform:translate(0)}to{-webkit-transform:translate(5px,5px);transform:translate(5px,5px)}}.loading3 .shape2[data-v-4e1c1bfa]{-webkit-animation:animation3shape2-data-v-4e1c1bfa .5s ease 0s infinite alternate;animation:animation3shape2-data-v-4e1c1bfa .5s ease 0s infinite alternate}@-webkit-keyframes animation3shape2-data-v-4e1c1bfa{from{-webkit-transform:translate(0);transform:translate(0)}to{-webkit-transform:translate(-5px,5px);transform:translate(-5px,5px)}}@keyframes animation3shape2-data-v-4e1c1bfa{from{-webkit-transform:translate(0);transform:translate(0)}to{-webkit-transform:translate(-5px,5px);transform:translate(-5px,5px)}}.loading3 .shape3[data-v-4e1c1bfa]{-webkit-animation:animation3shape3-data-v-4e1c1bfa .5s ease 0s infinite alternate;animation:animation3shape3-data-v-4e1c1bfa .5s ease 0s infinite alternate}@-webkit-keyframes animation3shape3-data-v-4e1c1bfa{from{-webkit-transform:translate(0);transform:translate(0)}to{-webkit-transform:translate(5px,-5px);transform:translate(5px,-5px)}}@keyframes animation3shape3-data-v-4e1c1bfa{from{-webkit-transform:translate(0);transform:translate(0)}to{-webkit-transform:translate(5px,-5px);transform:translate(5px,-5px)}}.loading3 .shape4[data-v-4e1c1bfa]{-webkit-animation:animation3shape4-data-v-4e1c1bfa .5s ease 0s infinite alternate;animation:animation3shape4-data-v-4e1c1bfa .5s ease 0s infinite alternate}@-webkit-keyframes animation3shape4-data-v-4e1c1bfa{from{-webkit-transform:translate(0);transform:translate(0)}to{-webkit-transform:translate(-5px,-5px);transform:translate(-5px,-5px)}}@keyframes animation3shape4-data-v-4e1c1bfa{from{-webkit-transform:translate(0);transform:translate(0)}to{-webkit-transform:translate(-5px,-5px);transform:translate(-5px,-5px)}}",""]),t.exports=e},"60d5":function(t,e,a){var n=a("a7ad");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var i=a("b49c").default;i("7d39d56f",n,!0,{sourceMap:!1,shadowMode:!1})},6382:function(t,e,a){var n=a("6454");t.exports=function(t,e){if(t){if("string"===typeof t)return n(t,e);var a=Object.prototype.toString.call(t).slice(8,-1);return"Object"===a&&t.constructor&&(a=t.constructor.name),"Map"===a||"Set"===a?Array.from(t):"Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?n(t,e):void 0}},t.exports.__esModule=!0,t.exports["default"]=t.exports},"63c1":function(t,e,a){"use strict";a.r(e);var n=a("ba9b"),i=a.n(n);for(var r in n)["default"].indexOf(r)<0&&function(t){a.d(e,t,(function(){return n[t]}))}(r);e["default"]=i.a},6454:function(t,e){t.exports=function(t,e){(null==e||e>t.length)&&(e=t.length);for(var a=0,n=new Array(e);a<e;a++)n[a]=t[a];return n},t.exports.__esModule=!0,t.exports["default"]=t.exports},"65fd":function(t,e,a){var n=a("e631");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var i=a("b49c").default;i("675dcda4",n,!0,{sourceMap:!1,shadowMode:!1})},6642:function(t,e,a){var n=a("c86c"),i=a("ac93"),r=a("2021"),o=a("9ffd");e=n(!1);var s=i(r),l=i(o);e.push([t.i,"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n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\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n.eject-mask{width:100%;height:100%;background-color:rgba(0,0,0,.5);position:fixed;top:0;left:0;z-index:999;display:flex;align-items:center;justify-content:center}.eject{position:relative;width:600px;height:350px;background-color:#eaeaea;border-radius:25rpx}.eject-title{width:100%;height:100px;line-height:100px;font-size:20px;font-weight:700;color:#606266;text-align:center}.item{display:flex;align-items:center;margin:10px 0 0 0}.desc{display:inline-block;width:40%;text-align:right;color:#606266;font-size:18px}.input{display:flex;align-items:center;padding-left:5px;padding-right:5px;width:100%;height:30px;border:1px solid #c0c4cc;margin-right:50px}.eject-input uni-input{width:100%}.eject-button{display:flex;align-items:center;position:absolute;bottom:0;height:60px;line-height:60px;width:100%;border-top:1px solid #ccc}.button-item{width:50%;height:100%;font-size:20px;font-weight:700;text-align:center;color:#909399}.button-item:last-child{color:#67c23a;border-left:1px solid #ccc}.full-width{width:100%;height:100%;display:inline-block;float:left}.half-width{width:50%;height:100%;display:inline-block;float:left}.box-items{height:20%;width:100%;line-height:300rpx}.swiper-here{display:inline-block;margin:0 auto;width:100%;height:100%}.swiper-here-oN{display:inline-block;margin:0 auto;width:100%;height:90%}.swiper-here-error{display:inline-block;margin-top:20%;width:100%;height:100%}.animate{display:inline-block;-webkit-animation:25s wordsLoop linear infinite normal;animation:25s wordsLoop linear infinite normal}@keyframes wordsLoop{0%{transform:translateY(100px);-webkit-transform:translateY(100px)}100%{transform:translateY(-100%);-webkit-transform:translateY(-100%)}}@-webkit-keyframes wordsLoop{0%{transform:translateY(100px);-webkit-transform:translateY(100px)}100%{transform:translateY(-100%);-webkit-transform:translateY(-100%)}}.topUp{-webkit-animation:topUp 1.5s 1;animation:topUp 1.5s 1;-webkit-animation-fill-mode:both;animation-fill-mode:both}@-webkit-keyframes topUp{from{opacity:.5;top:-1080px}to{opacity:1;top:0}}@keyframes topUp{from{opacity:.5;top:-1080px}to{opacity:1;top:0}}.topDown{-webkit-animation:topDown 1.5s 1;animation:topDown 1.5s 1;-webkit-animation-fill-mode:both;animation-fill-mode:both}@-webkit-keyframes topDown{from{opacity:1;top:0}to{opacity:.5;top:-1080px}}@keyframes topDown{from{opacity:1;top:0}to{opacity:.5;top:-1080px}}.floorUp{-webkit-animation:floorUp 1.5s 1;animation:floorUp 1.5s 1;-webkit-animation-fill-mode:both;animation-fill-mode:both}@-webkit-keyframes floorUp{from{opacity:.5;top:0}to{opacity:1;top:1080px}}@keyframes floorUp{from{opacity:.5;top:0}to{opacity:1;top:1080px}}.floorDown{-webkit-animation:floorDown 1.5s 1;animation:floorDown 1.5s 1;-webkit-animation-fill-mode:both;animation-fill-mode:both}@-webkit-keyframes floorDown{from{opacity:.5;top:1080px}to{opacity:1;top:0}}@keyframes floorDown{from{opacity:.5;top:1080px}to{opacity:1;top:0}}.top-screen{position:fixed;width:1920px;height:1080px;background-image:url("+s+");z-index:999}.floor-screen{width:1920px;height:1080px;position:relative;color:#fff;text-align:center;font-size:120rpx;letter-spacing:5rpx;background-image:url("+s+")}.container{width:1920px;height:1080px;position:relative}.head{width:100%;height:10%;text-align:center;line-height:110px;color:#fff;font-size:40px;font-weight:700;letter-spacing:5px}.head uni-text{-webkit-transform:scaleY(.9);transform:scaleY(.9)}.time-tools{height:5%;position:absolute;top:0;float:right;right:50px;font-size:16px;font-weight:400;line-height:70px;letter-spacing:1px}.button-left{position:absolute;background-image:url("+l+");background-size:100% 100%;top:1.8%;left:21.3%;width:13.5%;height:8.5%;-webkit-transform:scaleX(-1);transform:scaleX(-1)}.button-right{position:absolute;background-image:url("+l+");background-size:100% 100%;top:1.8%;left:65%;width:13.5%;height:8.5%}.main{position:relative;width:100%;height:90%}.main-sides{position:relative;display:inline-block;float:left;width:50%;height:100%}.box{position:relative;margin:3% 2% 0 2%;width:96%;height:30%;border:1px solid #145088;overflow:hidden}.box-lg{height:94%}.box-border{position:absolute;width:10px;height:10px}.box-border1{top:0;left:0;border-left:2px solid #31c4c4;border-top:2px solid #31c4c4}.box-border2{top:0;right:0;border-right:2px solid #31c4c4;border-top:2px solid #31c4c4}.box-border3{bottom:0;left:0;border-bottom:2px solid #31c4c4;border-left:2px solid #31c4c4}.box-border4{bottom:0;right:0;border-right:2px solid #31c4c4;border-bottom:2px solid #31c4c4}.content{display:flex;flex-direction:column;flex:1}.charts-box{width:80%;height:230px;margin-left:10%}.ring{display:inline-block;float:left;width:60%;height:300px;margin-left:-10%}.box-item{width:92%;height:20%;margin-left:4%;padding-top:1em;color:#fff}.introduce{height:30%}.introduce h2{letter-spacing:5px}.english{font-size:14px}.introduce-content{font-size:20px;padding-top:2em;text-indent:2em;line-height:2em}.charge-info{height:45%}.charge-info-item{display:inline-block;width:50%;height:40%}.charge-info-item uni-image{display:inline-block;float:left;height:100%;width:20%}.charge-info-item uni-view{display:inline-block;position:relative;margin-left:10%;width:70%;height:49%}.charge-info-item .count, .charge-info-item .unit{position:absolute;display:inline-block;font-size:32px;bottom:0;padding-left:5%}.charge-info-item .unit{font-size:16px;float:right;right:20%}.footer{position:absolute;border:1px solid #145088;height:15%}.use-info{}.use-left{display:inline-block;width:40%}.use-right{display:inline-block;float:right;width:20%}.use-main{width:100%;height:75%}.use-main .left{display:inline-block;float:left;height:100%;width:70%;line-height:20px}.left .progressBar{margin-top:9%;width:100%;height:20%;background-color:#233751;border-radius:20px}.left .progress{height:100%;background-color:#ff5722;border-radius:20px}.left uni-progress{margin-left:10%;margin-top:10%;display:block}.use-main .right{display:inline-block;float:right;height:100%;width:20%;font-size:40px;color:#ff5722;line-height:130px}.box-tp{height:30%}.box-tp .sub-main{}.box-md{height:43%}.sub-main-right{display:inline-block;height:100%;width:50%}.sub-info{width:100%;height:33%}.sub-info uni-image{display:inline-block;float:left;height:100%;width:15%}.sub-info uni-text{display:inline-block;width:40%;height:100%;text-align:center;line-height:120px;font-size:20px}.box-bt{background-color:#063a7b;border:none;height:15%;color:#fff}.box-bt uni-image{position:absolute;float:right;right:0;top:0;width:20%;height:100%}.box-bt{font-size:36px;line-height:140px;text-indent:5em}.right-item{height:94%}.sub-left{display:inline-block;float:left;width:40%}.sub-right{display:inline-block;float:right;width:20%}.sub-main{position:absolute;width:92%;height:80%;bottom:0}",""]),t.exports=e},"675d":function(t,e,a){var n=a("1ad7");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var i=a("b49c").default;i("0ac72776",n,!0,{sourceMap:!1,shadowMode:!1})},7172:function(t,e){t.exports=function(t,e){var a=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=a){var n,i,r,o,s=[],l=!0,c=!1;try{if(r=(a=a.call(t)).next,0===e){if(Object(a)!==a)return;l=!1}else for(;!(l=(n=r.call(a)).done)&&(s.push(n.value),s.length!==e);l=!0);}catch(t){c=!0,i=t}finally{try{if(!l&&null!=a["return"]&&(o=a["return"](),Object(o)!==o))return}finally{if(c)throw i}}return s}},t.exports.__esModule=!0,t.exports["default"]=t.exports},"73fb":function(t,e,a){var n=a("c86c");e=n(!1),e.push([t.i,'@charset "UTF-8";.uni-popup-dialog[data-v-99b3946c]{width:300px;border-radius:11px;background-color:#fff}.uni-dialog-title[data-v-99b3946c]{display:flex;flex-direction:row;justify-content:center;padding-top:25px}.uni-dialog-title-text[data-v-99b3946c]{font-size:16px;font-weight:500}.uni-dialog-content[data-v-99b3946c]{display:flex;flex-direction:row;justify-content:center;align-items:center;padding:20px}.uni-dialog-content-text[data-v-99b3946c]{font-size:14px;color:#6c6c6c}.uni-dialog-button-group[data-v-99b3946c]{display:flex;flex-direction:row;border-top-color:#f5f5f5;border-top-style:solid;border-top-width:1px}.uni-dialog-button[data-v-99b3946c]{display:flex;flex:1;flex-direction:row;justify-content:center;align-items:center;height:45px}.uni-border-left[data-v-99b3946c]{border-left-color:#f0f0f0;border-left-style:solid;border-left-width:1px}.uni-dialog-button-text[data-v-99b3946c]{font-size:16px;color:#333}.uni-button-color[data-v-99b3946c]{color:#007aff}.uni-dialog-input[data-v-99b3946c]{flex:1;font-size:14px;border:1px #eee solid;height:40px;padding:0 10px;border-radius:5px;color:#555}.uni-popup__success[data-v-99b3946c]{color:#4cd964}.uni-popup__warn[data-v-99b3946c]{color:#f0ad4e}.uni-popup__error[data-v-99b3946c]{color:#dd524d}.uni-popup__info[data-v-99b3946c]{color:#909399}',""]),t.exports=e},7543:function(t,e,a){"use strict";a.r(e);var n=a("4052"),i=a.n(n);for(var r in n)["default"].indexOf(r)<0&&function(t){a.d(e,t,(function(){return n[t]}))}(r);e["default"]=i.a},7996:function(t,e,a){"use strict";a.r(e);var n=a("f5de"),i=a("9399");for(var r in i)["default"].indexOf(r)<0&&function(t){a.d(e,t,(function(){return i[t]}))}(r);a("7d31");var o=a("828b"),s=Object(o["a"])(i["default"],n["b"],n["c"],!1,null,"fe0925d0",null,!1,n["a"],void 0);e["default"]=s.exports},"7b49":function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={name:"uniPopup",props:["animation","type","isMaskClick","maskClick","backgroundColor","safeArea","maskBackgroundColor"],data:function(){return{wxsProps:{}}},components:{}}},"7b96":function(t,e,a){"use strict";a.d(e,"b",(function(){return n})),a.d(e,"c",(function(){return i})),a.d(e,"a",(function(){}));var n=function(){var t=this.$createElement,e=this._self._c||t;return e("uni-view",{staticClass:this._$g(0,"sc"),attrs:{_i:0}})},i=[]},"7c9c":function(t,e,a){"use strict";a.r(e);var n=a("7b49"),i=a.n(n);for(var r in n)["default"].indexOf(r)<0&&function(t){a.d(e,t,(function(){return n[t]}))}(r);e["default"]=i.a},"7d31":function(t,e,a){"use strict";var n=a("02c7"),i=a.n(n);i.a},"7d36":function(t,e,a){"use strict";a.d(e,"b",(function(){return n})),a.d(e,"c",(function(){return i})),a.d(e,"a",(function(){}));var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("uni-view",{attrs:{_i:0}},[a("v-uni-button",{staticClass:t._$g(1,"sc"),attrs:{_i:1},on:{click:function(e){return t.$handleViewEvent(e)}}},[t._v("Clear")]),t._$g(2,"i")?a("v-uni-web-view",{attrs:{src:t._$g(2,"a-src"),_i:2}}):t._e(),t._$g(3,"i")?a("uni-view",{staticStyle:{"margin-top":"100px"},attrs:{_i:3}},[a("v-uni-input",{attrs:{type:"text",placeholder:"\u8f93\u5165URL",_i:4},model:{value:t._$g(4,"v-model"),callback:function(e){t.$handleVModelEvent(4,e)},expression:"url"}}),a("v-uni-button",{attrs:{_i:5},on:{click:function(e){return t.$handleViewEvent(e)}}},[t._v("\u8bbe\u7f6e")])],1):t._e()],1)},i=[]},"7ec4":function(t,e,a){var n=a("c86c");e=n(!1),e.push([t.i,".container[data-v-fe0925d0]{width:30px;height:30px;position:relative}.container.loading1[data-v-fe0925d0]{-webkit-transform:rotate(45deg);transform:rotate(45deg)}.container .shape[data-v-fe0925d0]{position:absolute;width:10px;height:10px;border-radius:1px}.container .shape.shape1[data-v-fe0925d0]{left:0;background-color:#1890ff}.container .shape.shape2[data-v-fe0925d0]{right:0;background-color:#91cb74}.container .shape.shape3[data-v-fe0925d0]{bottom:0;background-color:#fac858}.container .shape.shape4[data-v-fe0925d0]{bottom:0;right:0;background-color:#e66}.loading1 .shape1[data-v-fe0925d0]{-webkit-animation:animation1shape1-data-v-fe0925d0 .5s ease 0s infinite alternate;animation:animation1shape1-data-v-fe0925d0 .5s ease 0s infinite alternate}@-webkit-keyframes animation1shape1-data-v-fe0925d0{from{-webkit-transform:translate(0);transform:translate(0)}to{-webkit-transform:translate(16px,16px);transform:translate(16px,16px)}}@keyframes animation1shape1-data-v-fe0925d0{from{-webkit-transform:translate(0);transform:translate(0)}to{-webkit-transform:translate(16px,16px);transform:translate(16px,16px)}}.loading1 .shape2[data-v-fe0925d0]{-webkit-animation:animation1shape2-data-v-fe0925d0 .5s ease 0s infinite alternate;animation:animation1shape2-data-v-fe0925d0 .5s ease 0s infinite alternate}@-webkit-keyframes animation1shape2-data-v-fe0925d0{from{-webkit-transform:translate(0);transform:translate(0)}to{-webkit-transform:translate(-16px,16px);transform:translate(-16px,16px)}}@keyframes animation1shape2-data-v-fe0925d0{from{-webkit-transform:translate(0);transform:translate(0)}to{-webkit-transform:translate(-16px,16px);transform:translate(-16px,16px)}}.loading1 .shape3[data-v-fe0925d0]{-webkit-animation:animation1shape3-data-v-fe0925d0 .5s ease 0s infinite alternate;animation:animation1shape3-data-v-fe0925d0 .5s ease 0s infinite alternate}@-webkit-keyframes animation1shape3-data-v-fe0925d0{from{-webkit-transform:translate(0);transform:translate(0)}to{-webkit-transform:translate(16px,-16px);transform:translate(16px,-16px)}}@keyframes animation1shape3-data-v-fe0925d0{from{-webkit-transform:translate(0);transform:translate(0)}to{-webkit-transform:translate(16px,-16px);transform:translate(16px,-16px)}}.loading1 .shape4[data-v-fe0925d0]{-webkit-animation:animation1shape4-data-v-fe0925d0 .5s ease 0s infinite alternate;animation:animation1shape4-data-v-fe0925d0 .5s ease 0s infinite alternate}@-webkit-keyframes animation1shape4-data-v-fe0925d0{from{-webkit-transform:translate(0);transform:translate(0)}to{-webkit-transform:translate(-16px,-16px);transform:translate(-16px,-16px)}}@keyframes animation1shape4-data-v-fe0925d0{from{-webkit-transform:translate(0);transform:translate(0)}to{-webkit-transform:translate(-16px,-16px);transform:translate(-16px,-16px)}}",""]),t.exports=e},"7edb":function(t,e,a){"use strict";a.r(e);var n=a("898b"),i=a.n(n);for(var r in n)["default"].indexOf(r)<0&&function(t){a.d(e,t,(function(){return n[t]}))}(r);e["default"]=i.a},8042:function(t,e,a){"use strict";a.d(e,"b",(function(){return i})),a.d(e,"c",(function(){return r})),a.d(e,"a",(function(){return n}));var n={uniTransition:a("997e").default},i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return t._$g(0,"i")?a("uni-view",{staticClass:t._$g(0,"sc"),class:t._$g(0,"c"),attrs:{_i:0},on:{touchmove:function(e){return t.$handleViewEvent(e,{stop:!0,prevent:!0})}}},[a("uni-view",{attrs:{_i:1},on:{touchstart:function(e){return t.$handleViewEvent(e)}}},[t._$g(2,"i")?a("uni-transition",{key:"1",attrs:{_i:2},on:{click:function(e){return t.$handleViewEvent(e)}}}):t._e(),a("uni-transition",{key:"2",attrs:{_i:3},on:{click:function(e){return t.$handleViewEvent(e)}}},[a("uni-view",{staticClass:t._$g(4,"sc"),class:t._$g(4,"c"),style:t._$g(4,"s"),attrs:{_i:4},on:{click:function(e){return t.$handleViewEvent(e)}}},[t._t("default",null,{_i:5})],2)],1)],1)],1):t._e()},r=[]},"828b":function(t,e,a){"use strict";function n(t,e,a,n,i,r,o,s,l,c){var d,h="function"===typeof t?t.options:t;if(l){h.components||(h.components={});var u=Object.prototype.hasOwnProperty;for(var f in l)u.call(l,f)&&!u.call(h.components,f)&&(h.components[f]=l[f])}if(c&&("function"===typeof c.beforeCreate&&(c.beforeCreate=[c.beforeCreate]),(c.beforeCreate||(c.beforeCreate=[])).unshift((function(){this[c.__module]=this})),(h.mixins||(h.mixins=[])).push(c)),e&&(h.render=e,h.staticRenderFns=a,h._compiled=!0),n&&(h.functional=!0),r&&(h._scopeId="data-v-"+r),o?(d=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"===typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),i&&i.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(o)},h._ssrRegister=d):i&&(d=s?function(){i.call(this,this.$root.$options.shadowRoot)}:i),d)if(h.functional){h._injectStyles=d;var p=h.render;h.render=function(t,e){return d.call(e),p(t,e)}}else{var x=h.beforeCreate;h.beforeCreate=x?[].concat(x,d):[d]}return{exports:t,options:h}}a.d(e,"a",(function(){return n}))},8325:function(t,e,a){"use strict";a.r(e);var n=a("8ab6"),i=a("7edb");for(var r in i)["default"].indexOf(r)<0&&function(t){a.d(e,t,(function(){return i[t]}))}(r);var o=a("3d72");for(var r in o)["default"].indexOf(r)<0&&function(t){a.d(e,t,(function(){return o[t]}))}(r);a("c781");var s=a("828b");i["default"].__module="rdcharts";var l=Object(s["a"])(o["default"],n["b"],n["c"],!1,null,"3f29adb2",null,!1,n["a"],i["default"]);e["default"]=l.exports},8412:function(t,e,a){"use strict";var n=a("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(a("7996")),r=n(a("468a")),o=n(a("c959")),s=n(a("3c8c")),l=n(a("8a5a")),c={name:"qiun-loading",props:["loadingType"],data:function(){return{wxsProps:{}}},components:{Loading1:i.default,Loading2:r.default,Loading3:o.default,Loading4:s.default,Loading5:l.default}};e.default=c},"84d1":function(t,e,a){var n=a("1e40");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var i=a("b49c").default;i("ff6c9cb4",n,!0,{sourceMap:!1,shadowMode:!1})},8729:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={props:["title"],data:function(){return{wxsProps:{}}},components:{}}},8804:function(t,e,a){"use strict";var n=a("be93"),i=a.n(n);i.a},"88ff":function(t,e,a){var n=a("269a");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var i=a("b49c").default;i("093554ea",n,!0,{sourceMap:!1,shadowMode:!1})},"898b":function(t,e,a){"use strict";var n=a("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(a("3b2d")),r=n(a("17c3")),o=n(a("1a14")),s=n(a("e235")),l={},c=null;function d(){for(var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length,a=new Array(e>1?e-1:0),n=1;n<e;n++)a[n-1]=arguments[n];for(var r in a)for(var o in a[r])a[r].hasOwnProperty(o)&&(t[o]=a[r][o]&&"object"===(0,i.default)(a[r][o])?d(Array.isArray(a[r][o])?[]:{},t[o],a[r][o]):a[r][o]);return t}function h(t,e){for(var a in t)t.hasOwnProperty(a)&&null!==t[a]&&"object"===(0,i.default)(t[a])?h(t[a],e):"format"===a&&"string"===typeof t[a]&&(t["formatter"]=e[t[a]]?e[t[a]]:void 0);return t}var u={data:function(){return{rid:null}},mounted:function(){var t=this;c={top:0,left:0},setTimeout((function(){null===t.rid&&t.$ownerInstance&&t.$ownerInstance.callMethod("getRenderType")}),200)},destroyed:function(){delete o.default.option[this.rid],delete o.default.instance[this.rid],delete s.default.option[this.rid],delete s.default.instance[this.rid]},methods:{ecinit:function(t,e,a,n){var r=JSON.stringify(t.id);this.rid=r,l[r]=this.$ownerInstance||n;var o=JSON.parse(JSON.stringify(t)),c=o.type;c&&s.default.type.includes(c)?s.default.option[r]=d({},s.default[c],o):s.default.option[r]=d({},o);var h=o.chartData;if(h){s.default.option[r].xAxis&&s.default.option[r].xAxis.type&&"category"===s.default.option[r].xAxis.type&&(s.default.option[r].xAxis.data=h.categories),s.default.option[r].yAxis&&s.default.option[r].yAxis.type&&"category"===s.default.option[r].yAxis.type&&(s.default.option[r].yAxis.data=h.categories),s.default.option[r].series=[];for(var u=0;u<h.series.length;u++){s.default.option[r].seriesTemplate=s.default.option[r].seriesTemplate?s.default.option[r].seriesTemplate:{};var f=d({},s.default.option[r].seriesTemplate,h.series[u]);s.default.option[r].series.push(f)}}if("object"===(0,i.default)(window.echarts))this.newEChart();else{var p=document.createElement("script");p.src="./uni_modules/qiun-data-charts/static/app-plus/echarts.min.js",p.onload=this.newEChart,document.head.appendChild(p)}},ecresize:function(t,e,a,n){s.default.instance[this.rid]&&s.default.instance[this.rid].resize()},newEChart:function(){var t=this.rid;void 0===s.default.instance[t]?(s.default.instance[t]=echarts.init(l[t].$el.children[0]),!0===s.default.option[t].ontap&&(s.default.instance[t].on("click",(function(e){var a=JSON.parse(JSON.stringify({x:e.event.offsetX,y:e.event.offsetY}));l[t].callMethod("emitMsg",{name:"getIndex",params:{type:"getIndex",event:a,currentIndex:e.dataIndex,value:e.data,seriesName:e.seriesName,id:t}})})),s.default.instance[t].on("highlight",(function(e){l[t].callMethod("emitMsg",{name:"getHighlight",params:{type:"highlight",res:e,id:t}})}))),this.updataEChart(t,s.default.option[t])):this.updataEChart(t,s.default.option[t])},updataEChart:function(t,e){if(e=h(e,s.default.formatter),e.tooltip&&(e.tooltip.show=!!e.tooltipShow,e.tooltip.position=this.tooltipPosition(),"string"===typeof e.tooltipFormat&&s.default.formatter[e.tooltipFormat]&&(e.tooltip.formatter=e.tooltip.formatter?e.tooltip.formatter:s.default.formatter[e.tooltipFormat])),e.series)for(var a in e.series){var n=e.series[a].linearGradient;n&&(e.series[a].color=new echarts.graphic.LinearGradient(n[0],n[1],n[2],n[3],n[4]))}s.default.instance[t].setOption(e,e.notMerge),s.default.instance[t].on("finished",(function(){l[t].callMethod("emitMsg",{name:"complete",params:{type:"complete",complete:!0,id:t}}),s.default.instance[t]&&s.default.instance[t].off("finished")})),"undefined"!=typeof l[t].$el.children[0].clientWidth&&(Math.abs(l[t].$el.children[0].clientWidth-s.default.instance[t].getWidth())>3||Math.abs(l[t].$el.children[0].clientHeight-s.default.instance[t].getHeight())>3)&&this.ecresize()},tooltipPosition:function(){return function(t,e,a,n,i){var r=t[0],o=t[1],s=i.viewSize[0],l=i.viewSize[1],c=i.contentSize[0],d=i.contentSize[1],h=r+30,u=o+30;return h+c>s&&(h=r-c-30),u+d>l&&(u=o-d-30),[h,u]}},ucinit:function(t,e,a,n){var i=this;if(JSON.stringify(t)!=JSON.stringify(e)&&t.canvasId){var r=JSON.parse(JSON.stringify(t.canvasId));this.rid=r,l[r]=this.$ownerInstance||n,o.default.option[r]=JSON.parse(JSON.stringify(t)),o.default.option[r]=h(o.default.option[r],o.default.formatter);var s=document.getElementById(r);s&&s.children[0]&&(o.default.option[r].context=s.children[0].getContext("2d"),o.default.instance[r]&&o.default.option[r]&&!0===o.default.option[r].update?this.updataUChart():setTimeout((function(){o.default.option[r].context.restore(),o.default.option[r].context.save(),i.newUChart()}),100))}},newUChart:function(){var t=this.rid;o.default.instance[t]=new r.default(o.default.option[t]),o.default.instance[t].addEventListener("renderComplete",(function(){l[t].callMethod("emitMsg",{name:"complete",params:{type:"complete",complete:!0,id:t,opts:o.default.instance[t].opts}}),o.default.instance[t].delEventListener("renderComplete")})),o.default.instance[t].addEventListener("scrollLeft",(function(){l[t].callMethod("emitMsg",{name:"scrollLeft",params:{type:"scrollLeft",scrollLeft:!0,id:t,opts:o.default.instance[t].opts}})})),o.default.instance[t].addEventListener("scrollRight",(function(){l[t].callMethod("emitMsg",{name:"scrollRight",params:{type:"scrollRight",scrollRight:!0,id:t,opts:o.default.instance[t].opts}})}))},updataUChart:function(){var t=this.rid;o.default.instance[t].updateData(o.default.option[t])},tooltipDefault:function(t,e,a,n){if(e){var r=t.data;return"object"===(0,i.default)(t.data)&&(r=t.data.value),e+" "+t.name+":"+r}return t.properties&&t.properties.name?t.properties.name:t.name+":"+t.data},showTooltip:function(t,e){var a=this,n=o.default.option[e].tooltipCustom;if(n&&void 0!==n&&null!==n){var i=void 0;n.x>=0&&n.y>=0&&(i={x:n.x,y:n.y+10}),o.default.instance[e].showToolTip(t,{index:n.index,offset:i,textList:n.textList,formatter:function(t,n,i,r){return"string"===typeof o.default.option[e].tooltipFormat&&o.default.formatter[o.default.option[e].tooltipFormat]?o.default.formatter[o.default.option[e].tooltipFormat](t,n,i,r):a.tooltipDefault(t,n,i,r)}})}else o.default.instance[e].showToolTip(t,{formatter:function(t,n,i,r){return"string"===typeof o.default.option[e].tooltipFormat&&o.default.formatter[o.default.option[e].tooltipFormat]?o.default.formatter[o.default.option[e].tooltipFormat](t,n,i,r):a.tooltipDefault(t,n,i,r)}})},tap:function(t){var e=this.rid,a=o.default.option[e].ontap,n=o.default.option[e].tooltipShow,i=o.default.option[e].tapLegend;if(0!=a){var r,s,d=document.getElementById("UC"+e).getBoundingClientRect(),h={};h=t.detail.x?{x:t.detail.x-d.left,y:t.detail.y-d.top+c.top}:{x:t.clientX-d.left,y:t.clientY-d.top+c.top},t.changedTouches=[],t.changedTouches.unshift(h),r=o.default.instance[e].getCurrentDataIndex(t),s=o.default.instance[e].getLegendDataIndex(t),!0===i&&o.default.instance[e].touchLegend(t),1==n&&this.showTooltip(t,e),l[e].callMethod("emitMsg",{name:"getIndex",params:{type:"getIndex",event:h,currentIndex:r,legendIndex:s,id:e,opts:o.default.instance[e].opts}})}},touchStart:function(t){var e=this.rid,a=o.default.option[e].ontouch;0!=a&&(!0===o.default.option[e].enableScroll&&1==t.touches.length&&o.default.instance[e].scrollStart(t),l[e].callMethod("emitMsg",{name:"getTouchStart",params:{type:"touchStart",event:t.changedTouches[0],id:e,opts:o.default.instance[e].opts}}))},touchMove:function(t){var e=this.rid,a=o.default.option[e].ontouch;if(0!=a){if(!0===o.default.option[e].enableScroll&&1==t.changedTouches.length&&o.default.instance[e].scroll(t),!0===o.default.option[e].ontap&&!1===o.default.option[e].enableScroll&&!0===o.default.option[e].onmovetip){var n=document.getElementById("UC"+e).getBoundingClientRect(),i={x:t.changedTouches[0].clientX-n.left,y:t.changedTouches[0].clientY-n.top+c.top};t.changedTouches.unshift(i),!0===o.default.option[e].tooltipShow&&this.showTooltip(t,e)}!0===a&&!0===o.default.option[e].enableScroll&&!0===o.default.option[e].onzoom&&2==t.changedTouches.length&&o.default.instance[e].dobuleZoom(t),l[e].callMethod("emitMsg",{name:"getTouchMove",params:{type:"touchMove",event:t.changedTouches[0],id:e,opts:o.default.instance[e].opts}})}},touchEnd:function(t){var e=this.rid,a=o.default.option[e].ontouch;0!=a&&(!0===o.default.option[e].enableScroll&&0==t.touches.length&&o.default.instance[e].scrollEnd(t),l[e].callMethod("emitMsg",{name:"getTouchEnd",params:{type:"touchEnd",event:t.changedTouches[0],id:e,opts:o.default.instance[e].opts}}))},mouseDown:function(t){var e=this.rid,a=o.default.option[e].onmouse;if(0!=a){var n,i=document.getElementById("UC"+e).getBoundingClientRect();n={x:t.clientX-i.left,y:t.clientY-i.top+c.top},t.changedTouches=[],t.changedTouches.unshift(n),o.default.instance[e].scrollStart(t),o.default.option[e].mousedown=!0,l[e].callMethod("emitMsg",{name:"getTouchStart",params:{type:"mouseDown",event:n,id:e,opts:o.default.instance[e].opts}})}},mouseMove:function(t){var e=this.rid,a=o.default.option[e].onmouse,n=o.default.option[e].tooltipShow;if(0!=a){var i,r=document.getElementById("UC"+e).getBoundingClientRect();i={x:t.clientX-r.left,y:t.clientY-r.top+c.top},t.changedTouches=[],t.changedTouches.unshift(i),o.default.option[e].mousedown?(o.default.instance[e].scroll(t),l[e].callMethod("emitMsg",{name:"getTouchMove",params:{type:"mouseMove",event:i,id:e,opts:o.default.instance[e].opts}})):o.default.instance[e]&&1==n&&this.showTooltip(t,e)}},mouseUp:function(t){var e=this.rid,a=o.default.option[e].onmouse;if(0!=a){var n,i=document.getElementById("UC"+e).getBoundingClientRect();n={x:t.clientX-i.left,y:t.clientY-i.top+c.top},t.changedTouches=[],t.changedTouches.unshift(n),o.default.instance[e].scrollEnd(t),o.default.option[e].mousedown=!1,l[e].callMethod("emitMsg",{name:"getTouchEnd",params:{type:"mouseUp",event:n,id:e,opts:o.default.instance[e].opts}})}}}};e.default=u},"8a5a":function(t,e,a){"use strict";a.r(e);var n=a("3fb1"),i=a("e9e1");for(var r in i)["default"].indexOf(r)<0&&function(t){a.d(e,t,(function(){return i[t]}))}(r);a("f1e8");var o=a("828b"),s=Object(o["a"])(i["default"],n["b"],n["c"],!1,null,"6e5d9c90",null,!1,n["a"],void 0);e["default"]=s.exports},"8ab6":function(t,e,a){"use strict";a.d(e,"b",(function(){return i})),a.d(e,"c",(function(){return r})),a.d(e,"a",(function(){return n}));var n={qiunLoading:a("5f21").default,qiunError:a("9eba").default},i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("uni-view",{staticClass:t._$g(0,"sc"),attrs:{id:t._$g(0,"a-id"),_i:0}},[t._$g(1,"i")?a("uni-view",{attrs:{_i:1}},[a("qiun-loading",{attrs:{_i:2}})],1):t._e(),t._$g(3,"i")?a("uni-view",{attrs:{_i:3},on:{click:function(e){return t.$handleViewEvent(e)}}},[a("qiun-error",{attrs:{_i:4}})],1):t._e(),t._$g(5,"i")?[a("uni-view",{directives:[{name:"show",rawName:"v-show",value:t._$g(6,"v-show"),expression:"_$g(6,'v-show')"}],wxsProps:{"change:resize":"echartsResize","change:prop":"echartsOpts"},staticStyle:{width:"100%",height:"100%"},style:t._$g(6,"s"),attrs:{"data-directory":t._$g(6,"a-data-directory"),id:t._$g(6,"a-id"),prop:t._$gc(6,"change:echartsOpts"),"change:prop":t.rdcharts.ecinit,resize:t._$gc(6,"change:echartsResize"),"change:resize":t.rdcharts.ecresize,_i:6}})]:[a("uni-view",{wxsProps:{"change:prop":"uchartsOpts"},attrs:{id:t._$g(8,"a-id"),prop:t._$gc(8,"change:uchartsOpts"),"change:prop":t.rdcharts.ucinit,_i:8},on:{mousemove:function(e){e=t.$handleWxsEvent(e),t.rdcharts.mouseMove(e,t.$getComponentDescriptor())},mousedown:function(e){e=t.$handleWxsEvent(e),t.rdcharts.mouseDown(e,t.$getComponentDescriptor())},mouseup:function(e){e=t.$handleWxsEvent(e),t.rdcharts.mouseUp(e,t.$getComponentDescriptor())},touchstart:function(e){e=t.$handleWxsEvent(e),t.rdcharts.touchStart(e,t.$getComponentDescriptor())},touchmove:function(e){e=t.$handleWxsEvent(e),t.rdcharts.touchMove(e,t.$getComponentDescriptor())},touchend:function(e){e=t.$handleWxsEvent(e),t.rdcharts.touchEnd(e,t.$getComponentDescriptor())},click:function(e){e=t.$handleWxsEvent(e),t.rdcharts.tap(e,t.$getComponentDescriptor())}}},[a("v-uni-canvas",{directives:[{name:"show",rawName:"v-show",value:t._$g(9,"v-show"),expression:"_$g(9,'v-show')"}],style:t._$g(9,"s"),attrs:{id:t._$g(9,"a-id"),canvasId:t._$g(9,"a-canvasId"),"disable-scroll":t._$g(9,"a-disable-scroll"),_i:9},on:{error:function(e){return t.$handleViewEvent(e)}}})],1)]],2)},r=[]},"8b6b":function(t,e,a){"use strict";a.r(e);var n=a("d9bb"),i=a.n(n);for(var r in n)["default"].indexOf(r)<0&&function(t){a.d(e,t,(function(){return n[t]}))}(r);e["default"]=i.a},"925e":function(t,e,a){"use strict";a.d(e,"b",(function(){return i})),a.d(e,"c",(function(){return r})),a.d(e,"a",(function(){return n}));var n={qiunDataCharts:a("8325").default,uniPopup:a("a640").default,uniPopupDialog:a("ed43").default},i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("uni-view",{staticClass:t._$g(0,"sc"),attrs:{_i:0}},[a("uni-view",{staticClass:t._$g(1,"sc"),class:t._$g(1,"c"),attrs:{_i:1}},[a("uni-view",{staticClass:t._$g(2,"sc"),attrs:{_i:2}},[a("v-uni-text",{attrs:{_i:3},on:{click:function(e){return t.$handleViewEvent(e)}}},[t._v("\u81ea\u52a8\u4ed3\u5e93WCS\u76d1\u63a7\u5e73\u53f0")]),a("uni-view",{staticClass:t._$g(4,"sc"),attrs:{_i:4}},[t._v(t._$g(4,"t0-0")+"-"+t._$g(4,"t0-1")+"-"+t._$g(4,"t0-2")+"\xa0"+t._$g(4,"t0-3")+":"+t._$g(4,"t0-4")+":"+t._$g(4,"t0-5")+"\xa0"+t._$g(4,"t0-6"))]),a("uni-view",{staticClass:t._$g(5,"sc"),attrs:{_i:5},on:{click:function(e){return t.$handleViewEvent(e)}}}),a("uni-view",{staticClass:t._$g(6,"sc"),attrs:{_i:6},on:{click:function(e){return t.$handleViewEvent(e)}}})],1),a("uni-view",{staticClass:t._$g(7,"sc"),attrs:{_i:7}},[a("uni-view",{staticClass:t._$g(8,"sc"),staticStyle:{width:"100%"},attrs:{_i:8}},[a("uni-view",{staticClass:t._$g(9,"sc"),staticStyle:{height:"90%"},attrs:{_i:9}},[a("uni-view",{staticClass:t._$g(10,"sc"),attrs:{_i:10}}),a("uni-view",{staticClass:t._$g(11,"sc"),attrs:{_i:11}}),a("uni-view",{staticClass:t._$g(12,"sc"),attrs:{_i:12}}),a("uni-view",{staticClass:t._$g(13,"sc"),attrs:{_i:13}}),a("uni-view",{directives:[{name:"show",rawName:"v-show",value:t._$g(14,"v-show"),expression:"_$g(14,'v-show')"}],staticStyle:{width:"100%",height:"100%"},attrs:{_i:14}},[a("uni-view",{class:t._$g(15,"c"),attrs:{_i:15}},[a("uni-view",{staticClass:t._$g(16,"sc"),attrs:{_i:16}},[t._v(t._$g(16,"t0-0"))]),a("uni-view",{staticClass:t._$g(17,"sc"),attrs:{_i:17}},[t._v(t._$g(17,"t0-0"))]),a("uni-view",{staticClass:t._$g(18,"sc"),attrs:{_i:18}},[t._v(t._$g(18,"t0-0"))]),a("uni-view",{staticClass:t._$g(19,"sc"),attrs:{_i:19}},[t._v(t._$g(19,"t0-0"))]),a("uni-view",{staticClass:t._$g(20,"sc"),attrs:{_i:20}},[t._v(t._$g(20,"t0-0"))])],1),a("uni-view",{directives:[{name:"show",rawName:"v-show",value:t._$g(21,"v-show"),expression:"_$g(21,'v-show')"}],staticStyle:{width:"50%",height:"100%",display:"inline-block",float:"left"},attrs:{_i:21}},[a("uni-view",{staticClass:t._$g(22,"sc"),attrs:{_i:22}},[t._v(t._$g(22,"t0-0"))]),a("uni-view",{staticClass:t._$g(23,"sc"),attrs:{_i:23}},[t._v(t._$g(23,"t0-0"))]),a("uni-view",{staticClass:t._$g(24,"sc"),attrs:{_i:24}},[t._v(t._$g(24,"t0-0"))]),a("uni-view",{staticClass:t._$g(25,"sc"),attrs:{_i:25}},[t._v(t._$g(25,"t0-0"))]),a("uni-view",{staticClass:t._$g(26,"sc"),attrs:{_i:26}},[t._v(t._$g(26,"t0-0"))])],1)],1),a("uni-view",{directives:[{name:"show",rawName:"v-show",value:t._$g(27,"v-show"),expression:"_$g(27,'v-show')"}],staticStyle:{width:"100%",height:"100%"},attrs:{_i:27}},[a("uni-view",{staticStyle:{"line-height":"700px","font-size":"175rpx"},attrs:{_i:28}},[t._v(t._$g(28,"t0-0"))])],1)],1)],1)],1)],1),a("uni-view",{staticClass:t._$g(29,"sc"),class:t._$g(29,"c"),attrs:{_i:29}},[a("uni-view",{staticClass:t._$g(30,"sc"),attrs:{_i:30}},[a("v-uni-text",{attrs:{_i:31},on:{click:function(e){return t.$handleViewEvent(e)}}},[t._v("\u81ea\u52a8\u4ed3\u5e93WCS\u76d1\u63a7\u5e73\u53f0")]),a("uni-view",{staticClass:t._$g(32,"sc"),attrs:{_i:32}},[t._v(t._$g(32,"t0-0")+"-"+t._$g(32,"t0-1")+"-"+t._$g(32,"t0-2")+"\xa0"+t._$g(32,"t0-3")+":"+t._$g(32,"t0-4")+":"+t._$g(32,"t0-5")+"\xa0"+t._$g(32,"t0-6"))]),a("uni-view",{staticClass:t._$g(33,"sc"),attrs:{_i:33},on:{click:function(e){return t.$handleViewEvent(e)}}}),a("uni-view",{staticClass:t._$g(34,"sc"),attrs:{_i:34},on:{click:function(e){return t.$handleViewEvent(e)}}})],1),a("uni-view",{staticClass:t._$g(35,"sc"),attrs:{_i:35}},[a("uni-view",{staticClass:t._$g(36,"sc"),attrs:{_i:36}},[a("uni-view",{staticClass:t._$g(37,"sc"),attrs:{_i:37}},[a("uni-view",{staticClass:t._$g(38,"sc"),attrs:{_i:38}}),a("uni-view",{staticClass:t._$g(39,"sc"),attrs:{_i:39}}),a("uni-view",{staticClass:t._$g(40,"sc"),attrs:{_i:40}}),a("uni-view",{staticClass:t._$g(41,"sc"),attrs:{_i:41}}),a("uni-view",{staticClass:t._$g(42,"sc"),attrs:{_i:42}},[a("h3",{attrs:{_i:43}},[t._v("\u81ea\u52a8\u5316\u7acb\u4f53\u4ed3\u5e93")]),a("p",{staticClass:t._$g(44,"sc"),attrs:{_i:44}},[t._v("Automatic Storageand Retrieval System")]),a("p",{staticClass:t._$g(45,"sc"),attrs:{_i:45}},[t._v("\u5229\u7528\u7acb\u4f53\u4ed3\u5e93\u8bbe\u5907\u53ef\u5b9e\u73b0\u4ed3\u5e93\u9ad8\u5c42\u5408\u7406\u5316\u3001\u5b58\u53d6\u81ea\u52a8\u5316\u3001\u64cd\u4f5c\u7b80\u4fbf\u5316\uff1b\u81ea\u52a8\u5316\u7acb\u4f53\u4ed3\u5e93\u662f\u5f53\u524d\u6280\u672f\u6c34\u5e73\u8f83\u9ad8\u7684\u5f62\u5f0f\u3002\n\t\t\t\t\t\t\u81ea\u52a8\u5316\u7acb\u4f53\u4ed3\u5e93\u7684\u4e3b\u4f53\u7531\u8d27\u67b6\u3001\u5df7\u9053\u5f0f\u5806\u579b\u8d77\u91cd\u673a\u3001\u5165\uff08\u51fa\uff09\u5e93\u5de5\u4f5c\u53f0\u548c\u81ea\u52a8\u8fd0\u8fdb\uff08\u51fa\uff09\u53ca\u64cd\u4f5c\u63a7\u5236\u7cfb\u7edf\u7ec4\u6210\u3002\n\t\t\t\t\t\t\u8d27\u67b6\u662f\u94a2\u7ed3\u6784\u6216\u94a2\u7b4b\u6df7\u51dd\u571f\u7ed3\u6784\u7684\u5efa\u7b51\u7269\u6216\u7ed3\u6784\u4f53\uff0c\u8d27\u67b6\u5185\u662f\u6807\u51c6\u5c3a\u5bf8\u7684\u8d27\u4f4d\u7a7a\u95f4\uff0c\u5df7\u9053\u5806\u579b\u8d77\u91cd\u673a\u7a7f\u884c\u4e8e\u8d27\u67b6\u4e4b\u95f4\u7684\u5df7\u9053\u4e2d\uff0c\u5b8c\u6210\u5b58\u3001\u53d6\u8d27\u7684\u5de5\u4f5c\u3002\u7ba1\u7406\u4e0a\u91c7\u7528\u8ba1\u7b97\u673a\u53ca\u6761\u5f62\u7801\u6280\u672f\u3002")])],1),a("uni-view",{staticClass:t._$g(46,"sc"),attrs:{_i:46}},[a("h3",{attrs:{_i:47}},[t._v("\u4ed3\u5e93\u6570\u636e")]),a("p",{staticClass:t._$g(48,"sc"),attrs:{_i:48}},[t._v("warehouse data")]),a("uni-view",{staticClass:t._$g(49,"sc"),attrs:{_i:49}},[a("v-uni-image",{attrs:{src:t._$g(50,"a-src"),mode:"aspectFit",_i:50}}),a("uni-view",{attrs:{_i:51}},[a("v-uni-text",{staticClass:t._$g(52,"sc"),attrs:{_i:52}},[t._v(t._$g(52,"t0-0"))]),a("v-uni-text",{staticClass:t._$g(53,"sc"),attrs:{_i:53}},[t._v("m")])],1),a("uni-view",{attrs:{_i:54}},[t._v("\u7d2f\u8ba1\u8d70\u884c\u8ddd\u79bb(\u7c73)")])],1),a("uni-view",{staticClass:t._$g(55,"sc"),attrs:{_i:55}},[a("v-uni-image",{attrs:{src:t._$g(56,"a-src"),mode:"aspectFit",_i:56}}),a("uni-view",{attrs:{_i:57}},[a("v-uni-text",{staticClass:t._$g(58,"sc"),attrs:{_i:58}},[t._v(t._$g(58,"t0-0"))]),a("v-uni-text",{staticClass:t._$g(59,"sc"),attrs:{_i:59}},[t._v("m")])],1),a("uni-view",{attrs:{_i:60}},[t._v("\u7d2f\u8ba1\u5347\u964d\u8ddd\u79bb(\u7c73)")])],1),a("uni-view",{staticClass:t._$g(61,"sc"),attrs:{_i:61}},[a("v-uni-image",{attrs:{src:t._$g(62,"a-src"),mode:"aspectFit",_i:62}}),a("uni-view",{attrs:{_i:63}},[a("v-uni-text",{staticClass:t._$g(64,"sc"),attrs:{_i:64}},[t._v(t._$g(64,"t0-0"))]),a("v-uni-text",{staticClass:t._$g(65,"sc"),attrs:{_i:65}},[t._v("m")])],1),a("uni-view",{attrs:{_i:66}},[t._v("\u7d2f\u8ba1\u8d70\u884c\u65f6\u957f(\u79d2)")])],1),a("uni-view",{staticClass:t._$g(67,"sc"),attrs:{_i:67}},[a("v-uni-image",{attrs:{src:t._$g(68,"a-src"),mode:"aspectFit",_i:68}}),a("uni-view",{attrs:{_i:69}},[a("v-uni-text",{staticClass:t._$g(70,"sc"),attrs:{_i:70}},[t._v(t._$g(70,"t0-0"))]),a("v-uni-text",{staticClass:t._$g(71,"sc"),attrs:{_i:71}},[t._v("m")])],1),a("uni-view",{attrs:{_i:72}},[t._v("\u7d2f\u8ba1\u5347\u964d\u65f6\u957f(\u79d2)")])],1)],1),a("uni-view",{staticClass:t._$g(73,"sc"),attrs:{_i:73}},[a("uni-view",{staticClass:t._$g(74,"sc"),attrs:{_i:74}},[a("h3",{attrs:{_i:75}},[t._v("\u5e93\u4f4d\u4f7f\u7528\u7387")]),a("p",{staticClass:t._$g(76,"sc"),attrs:{_i:76}},[t._v("EQUIPMENT USAGE THIS MONTH")])],1),a("uni-view",{staticClass:t._$g(77,"sc"),attrs:{_i:77}},[a("h3",{attrs:{_i:78}},[t._v(t._$g(78,"t0-0")+"%")]),a("p",{staticClass:t._$g(79,"sc"),attrs:{_i:79}},[t._v("\u540c\u6bd4\u4e0a\u6708 + 5%")])],1),a("uni-view",{staticClass:t._$g(80,"sc"),attrs:{_i:80}},[a("uni-view",{staticClass:t._$g(81,"sc"),attrs:{_i:81}},[a("uni-view",{staticClass:t._$g(82,"sc"),attrs:{_i:82}},[a("uni-view",{staticClass:t._$g(83,"sc"),style:t._$g(83,"s"),attrs:{_i:83}})],1)],1),a("uni-view",{staticClass:t._$g(84,"sc"),attrs:{_i:84}},[t._v(t._$g(84,"t0-0"))])],1)],1)],1)],1),a("uni-view",{staticClass:t._$g(85,"sc"),attrs:{_i:85}},[a("uni-view",{staticClass:t._$g(86,"sc"),attrs:{_i:86}},[a("uni-view",{staticClass:t._$g(87,"sc"),attrs:{_i:87}}),a("uni-view",{staticClass:t._$g(88,"sc"),attrs:{_i:88}}),a("uni-view",{staticClass:t._$g(89,"sc"),attrs:{_i:89}}),a("uni-view",{staticClass:t._$g(90,"sc"),attrs:{_i:90}}),a("uni-view",{staticClass:t._$g(91,"sc"),attrs:{_i:91}},[a("uni-view",{staticClass:t._$g(92,"sc"),attrs:{_i:92}},[a("h3",{attrs:{_i:93}},[t._v("\u5165\u51fa\u5e93\u7edf\u8ba1")]),a("p",{staticClass:t._$g(94,"sc"),attrs:{_i:94}},[t._v("ORDER STATISTICS")])],1),a("uni-view",{staticClass:t._$g(95,"sc"),attrs:{_i:95}},[a("h3",{attrs:{_i:96}},[t._v("31")]),a("p",{staticClass:t._$g(97,"sc"),attrs:{_i:97}},[t._v("\u4eca\u65e5\u8ba2\u5355\u6570")])],1),a("uni-view",{staticClass:t._$g(98,"sc"),attrs:{_i:98}},[a("uni-view",{staticClass:t._$g(99,"sc"),attrs:{_i:99}},[a("qiun-data-charts",{attrs:{_i:100}})],1)],1)],1)],1),a("uni-view",{staticClass:t._$g(101,"sc"),attrs:{_i:101}},[a("uni-view",{staticClass:t._$g(102,"sc"),attrs:{_i:102}}),a("uni-view",{staticClass:t._$g(103,"sc"),attrs:{_i:103}}),a("uni-view",{staticClass:t._$g(104,"sc"),attrs:{_i:104}}),a("uni-view",{staticClass:t._$g(105,"sc"),attrs:{_i:105}}),a("uni-view",{staticClass:t._$g(106,"sc"),attrs:{_i:106}},[a("uni-view",{staticClass:t._$g(107,"sc"),attrs:{_i:107}},[a("h3",{attrs:{_i:108}},[t._v("\u5e93\u5b58\u7c7b\u578b")]),a("p",{staticClass:t._$g(109,"sc"),attrs:{_i:109}},[t._v("INCOME DATE")])],1),a("uni-view",{staticClass:t._$g(110,"sc"),attrs:{_i:110}},[a("h3",{attrs:{_i:111}},[t._v("\u4eca\u5929")]),a("p",{staticClass:t._$g(112,"sc"),attrs:{_i:112}},[t._v("Today")])],1),a("uni-view",{staticClass:t._$g(113,"sc"),attrs:{_i:113}},[a("uni-view",{staticClass:t._$g(114,"sc"),attrs:{_i:114}},[a("qiun-data-charts",{attrs:{_i:115}})],1),a("uni-view",{staticClass:t._$g(116,"sc"),attrs:{_i:116}},[a("uni-view",{staticClass:t._$g(117,"sc"),attrs:{_i:117}},[a("v-uni-image",{attrs:{src:t._$g(118,"a-src"),mode:"aspectFit",_i:118}}),a("v-uni-text",{attrs:{_i:119}},[t._v("\u5728\u5e93")]),a("v-uni-text",{attrs:{_i:120}},[t._v(t._$g(120,"t0-0"))])],1),a("uni-view",{staticClass:t._$g(121,"sc"),attrs:{_i:121}},[a("v-uni-image",{attrs:{src:t._$g(122,"a-src"),mode:"aspectFit",_i:122}}),a("v-uni-text",{attrs:{_i:123}},[t._v("\u7a7a\u5e93")]),a("v-uni-text",{attrs:{_i:124}},[t._v(t._$g(124,"t0-0"))])],1),a("uni-view",{staticClass:t._$g(125,"sc"),attrs:{_i:125}},[a("v-uni-image",{attrs:{src:t._$g(126,"a-src"),mode:"aspectFit",_i:126}}),a("v-uni-text",{attrs:{_i:127}},[t._v("\u7981\u7528")]),a("v-uni-text",{attrs:{_i:128}},[t._v(t._$g(128,"t0-0"))])],1)],1)],1)],1)],1),a("uni-view",{staticClass:t._$g(129,"sc"),attrs:{_i:129}},[a("uni-view",{staticClass:t._$g(130,"sc"),attrs:{_i:130}}),a("uni-view",{staticClass:t._$g(131,"sc"),attrs:{_i:131}}),a("uni-view",{staticClass:t._$g(132,"sc"),attrs:{_i:132}}),a("uni-view",{staticClass:t._$g(133,"sc"),attrs:{_i:133}}),a("uni-view",{attrs:{_i:134},on:{click:function(e){return t.$handleViewEvent(e)}}},[t._v("\u5609\u5584\u8fb9\u950b\u673a\u68b0\u80a1\u4efd\u6709\u9650\u516c\u53f8")])],1)],1)],1)],1),a("uni-view",{attrs:{_i:135}},[a("uni-popup",{ref:"url",attrs:{_i:136}},[a("uni-popup-dialog",{ref:"inputClose",attrs:{_i:137},on:{confirm:function(e){return t.$handleViewEvent(e)}}})],1)],1),a("uni-view",{attrs:{_i:138}},[a("uni-popup",{ref:"ledId",attrs:{_i:139}},[a("uni-popup-dialog",{ref:"inputClose",attrs:{_i:140},on:{confirm:function(e){return t.$handleViewEvent(e)}}})],1)],1),a("uni-view",{attrs:{_i:141}},[a("uni-popup",{ref:"port",attrs:{_i:142}},[a("uni-popup-dialog",{ref:"inputClose",attrs:{_i:143},on:{confirm:function(e){return t.$handleViewEvent(e)}}})],1)],1),a("uni-view",{attrs:{_i:144}},[a("uni-popup",{ref:"crnId",attrs:{_i:145}},[a("uni-popup-dialog",{ref:"inputClose",attrs:{_i:146},on:{confirm:function(e){return t.$handleViewEvent(e)}}})],1)],1),a("uni-view",{directives:[{name:"show",rawName:"v-show",value:t._$g(147,"v-show"),expression:"_$g(147,'v-show')"}],staticClass:t._$g(147,"sc"),attrs:{_i:147}},[a("uni-view",{staticClass:t._$g(148,"sc"),attrs:{_i:148}},[a("uni-view",{staticClass:t._$g(149,"sc"),attrs:{_i:149}},[t._v("\u4fee\u6539 / \u914d\u7f6e")]),a("uni-view",{staticClass:t._$g(150,"sc"),attrs:{_i:150}},[a("uni-view",{staticClass:t._$g(151,"sc"),attrs:{_i:151}},[a("uni-view",{staticClass:t._$g(152,"sc"),attrs:{_i:152}},[t._v("ip\uff1a")]),a("uni-view",{staticClass:t._$g(153,"sc"),attrs:{_i:153}},[a("v-uni-input",{attrs:{type:"text",_i:154},model:{value:t._$g(154,"v-model"),callback:function(e){t.$handleVModelEvent(154,e)},expression:"baseIP"}})],1)],1),a("uni-view",{staticClass:t._$g(155,"sc"),attrs:{_i:155}},[a("uni-view",{staticClass:t._$g(156,"sc"),attrs:{_i:156}},[t._v("port\uff1a")]),a("uni-view",{staticClass:t._$g(157,"sc"),attrs:{_i:157}},[a("v-uni-input",{attrs:{type:"text",_i:158},model:{value:t._$g(158,"v-model"),callback:function(e){t.$handleVModelEvent(158,e)},expression:"basePort"}})],1)],1),a("uni-view",{staticClass:t._$g(159,"sc"),attrs:{_i:159}},[a("uni-view",{staticClass:t._$g(160,"sc"),attrs:{_i:160}},[t._v("ledId\uff1a")]),a("uni-view",{staticClass:t._$g(161,"sc"),attrs:{_i:161}},[a("v-uni-input",{attrs:{type:"text",_i:162},model:{value:t._$g(162,"v-model"),callback:function(e){t.$handleVModelEvent(162,e)},expression:"baseLedId"}})],1)],1),a("uni-view",{staticClass:t._$g(163,"sc"),attrs:{_i:163}},[a("uni-view",{staticClass:t._$g(164,"sc"),attrs:{_i:164}},[t._v("CrnId\uff1a")]),a("uni-view",{staticClass:t._$g(165,"sc"),attrs:{_i:165}},[a("v-uni-input",{attrs:{type:"text",_i:166},model:{value:t._$g(166,"v-model"),callback:function(e){t.$handleVModelEvent(166,e)},expression:"baseCrnId"}})],1)],1)],1),a("uni-view",{staticClass:t._$g(167,"sc"),attrs:{_i:167}},[a("uni-view",{staticClass:t._$g(168,"sc"),attrs:{_i:168},on:{click:function(e){return t.$handleViewEvent(e)}}},[t._v("\u53d6 \u6d88")]),a("uni-view",{staticClass:t._$g(169,"sc"),attrs:{_i:169},on:{click:function(e){return t.$handleViewEvent(e)}}},[t._v("\u786e \u8ba4")])],1)],1)],1)],1)},r=[]},9399:function(t,e,a){"use strict";a.r(e);var n=a("21c9"),i=a.n(n);for(var r in n)["default"].indexOf(r)<0&&function(t){a.d(e,t,(function(){return n[t]}))}(r);e["default"]=i.a},"93d8":function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={data:function(){return{wxsProps:{}}},components:{}}},"997e":function(t,e,a){"use strict";a.r(e);var n=a("3d8c"),i=a("8b6b");for(var r in i)["default"].indexOf(r)<0&&function(t){a.d(e,t,(function(){return i[t]}))}(r);var o=a("828b"),s=Object(o["a"])(i["default"],n["b"],n["c"],!1,null,"acf5fb64",null,!1,n["a"],void 0);e["default"]=s.exports},"9b65":function(t,e,a){"use strict";a.d(e,"b",(function(){return n})),a.d(e,"c",(function(){return i})),a.d(e,"a",(function(){}));var n=function(){var t=this.$createElement,e=this._self._c||t;return e("uni-view",{staticClass:this._$g(0,"sc"),attrs:{_i:0}},[e("uni-view",{staticClass:this._$g(1,"sc"),attrs:{_i:1}}),e("uni-view",{staticClass:this._$g(2,"sc"),attrs:{_i:2}}),e("uni-view",{staticClass:this._$g(3,"sc"),attrs:{_i:3}}),e("uni-view",{staticClass:this._$g(4,"sc"),attrs:{_i:4}}),e("uni-view",{staticClass:this._$g(5,"sc"),attrs:{_i:5}},[this._t("default",null,{_i:6})],2)],1)},i=[]},"9b97":function(t,e,a){var n=a("2527");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var i=a("b49c").default;i("deea66f0",n,!0,{sourceMap:!1,shadowMode:!1})},"9eba":function(t,e,a){"use strict";a.r(e);var n=a("59cf"),i=a("b854");for(var r in i)["default"].indexOf(r)<0&&function(t){a.d(e,t,(function(){return i[t]}))}(r);a("e7b7");var o=a("828b"),s=Object(o["a"])(i["default"],n["b"],n["c"],!1,null,"06f9c5d4",null,!1,n["a"],void 0);e["default"]=s.exports},"9fee":function(t,e,a){"use strict";var n=a("b90f"),i=a.n(n);i.a},"9ffd":function(t,e,a){t.exports=a.p+"static/right.png"},a640:function(t,e,a){"use strict";a.r(e);var n=a("8042"),i=a("7c9c");for(var r in i)["default"].indexOf(r)<0&&function(t){a.d(e,t,(function(){return i[t]}))}(r);a("3bcd");var o=a("828b"),s=Object(o["a"])(i["default"],n["b"],n["c"],!1,null,"58e7869c",null,!1,n["a"],void 0);e["default"]=s.exports},a7ad:function(t,e,a){var n=a("c86c"),i=a("ac93"),r=a("2021");e=n(!1);var o=i(r);e.push([t.i,"body[data-v-cc06004c]{width:100%;height:100%}.container[data-v-cc06004c]{height:100%;width:100%;background-image:url("+o+");background-size:100% 100%}",""]),t.exports=e},a818:function(t,e,a){"use strict";a.d(e,"b",(function(){return n})),a.d(e,"c",(function(){return i})),a.d(e,"a",(function(){}));var n=function(){var t=this.$createElement,e=this._self._c||t;return e("uni-view",{staticClass:this._$g(0,"sc"),attrs:{_i:0}},[e("uni-view",{staticClass:this._$g(1,"sc"),attrs:{_i:1}}),e("uni-view",{staticClass:this._$g(2,"sc"),attrs:{_i:2}}),e("uni-view",{staticClass:this._$g(3,"sc"),attrs:{_i:3}}),e("uni-view",{staticClass:this._$g(4,"sc"),attrs:{_i:4}})],1)},i=[]},a9ce:function(t,e,a){"use strict";a.r(e);var n=a("2e13"),i=a.n(n);for(var r in n)["default"].indexOf(r)<0&&function(t){a.d(e,t,(function(){return n[t]}))}(r);e["default"]=i.a},aad1:function(t,e,a){var n=a("c86c");e=n(!1),e.push([t.i,".container[data-v-2ef93b2c]{width:30px;height:30px;position:relative}.container.loading2[data-v-2ef93b2c]{-webkit-transform:rotate(10deg);transform:rotate(10deg)}.container.loading2 .shape[data-v-2ef93b2c]{border-radius:5px}.container.loading2[data-v-2ef93b2c]{-webkit-animation:rotation 1s infinite;animation:rotation 1s infinite}.container .shape[data-v-2ef93b2c]{position:absolute;width:10px;height:10px;border-radius:1px}.container .shape.shape1[data-v-2ef93b2c]{left:0;background-color:#1890ff}.container .shape.shape2[data-v-2ef93b2c]{right:0;background-color:#91cb74}.container .shape.shape3[data-v-2ef93b2c]{bottom:0;background-color:#fac858}.container .shape.shape4[data-v-2ef93b2c]{bottom:0;right:0;background-color:#e66}.loading2 .shape1[data-v-2ef93b2c]{-webkit-animation:animation2shape1-data-v-2ef93b2c .5s ease 0s infinite alternate;animation:animation2shape1-data-v-2ef93b2c .5s ease 0s infinite alternate}@-webkit-keyframes animation2shape1-data-v-2ef93b2c{from{-webkit-transform:translate(0);transform:translate(0)}to{-webkit-transform:translate(20px,20px);transform:translate(20px,20px)}}@keyframes animation2shape1-data-v-2ef93b2c{from{-webkit-transform:translate(0);transform:translate(0)}to{-webkit-transform:translate(20px,20px);transform:translate(20px,20px)}}.loading2 .shape2[data-v-2ef93b2c]{-webkit-animation:animation2shape2-data-v-2ef93b2c .5s ease 0s infinite alternate;animation:animation2shape2-data-v-2ef93b2c .5s ease 0s infinite alternate}@-webkit-keyframes animation2shape2-data-v-2ef93b2c{from{-webkit-transform:translate(0);transform:translate(0)}to{-webkit-transform:translate(-20px,20px);transform:translate(-20px,20px)}}@keyframes animation2shape2-data-v-2ef93b2c{from{-webkit-transform:translate(0);transform:translate(0)}to{-webkit-transform:translate(-20px,20px);transform:translate(-20px,20px)}}.loading2 .shape3[data-v-2ef93b2c]{-webkit-animation:animation2shape3-data-v-2ef93b2c .5s ease 0s infinite alternate;animation:animation2shape3-data-v-2ef93b2c .5s ease 0s infinite alternate}@-webkit-keyframes animation2shape3-data-v-2ef93b2c{from{-webkit-transform:translate(0);transform:translate(0)}to{-webkit-transform:translate(20px,-20px);transform:translate(20px,-20px)}}@keyframes animation2shape3-data-v-2ef93b2c{from{-webkit-transform:translate(0);transform:translate(0)}to{-webkit-transform:translate(20px,-20px);transform:translate(20px,-20px)}}.loading2 .shape4[data-v-2ef93b2c]{-webkit-animation:animation2shape4-data-v-2ef93b2c .5s ease 0s infinite alternate;animation:animation2shape4-data-v-2ef93b2c .5s ease 0s infinite alternate}@-webkit-keyframes animation2shape4-data-v-2ef93b2c{from{-webkit-transform:translate(0);transform:translate(0)}to{-webkit-transform:translate(-20px,-20px);transform:translate(-20px,-20px)}}@keyframes animation2shape4-data-v-2ef93b2c{from{-webkit-transform:translate(0);transform:translate(0)}to{-webkit-transform:translate(-20px,-20px);transform:translate(-20px,-20px)}}",""]),t.exports=e},ac5c:function(t,e,a){"use strict";a.d(e,"b",(function(){return i})),a.d(e,"c",(function(){return r})),a.d(e,"a",(function(){return n}));var n={uniTransition:a("997e").default,yBox:a("357c").default,qiunDataCharts:a("8325").default,uniPopup:a("a640").default,uniPopupDialog:a("ed43").default},i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("uni-view",{staticClass:t._$g(0,"sc"),attrs:{_i:0}},[a("uni-transition",{attrs:{_i:1}},[a("uni-view",{staticClass:t._$g(2,"sc"),attrs:{_i:2}},[a("uni-view",{staticClass:t._$g(3,"sc"),attrs:{_i:3}},[a("v-uni-text",{attrs:{_i:4}},[t._v("\u667a\u80fd\u5927\u5c4f\u663e\u793a\u7cfb\u7edf")])],1),a("uni-view",{staticClass:t._$g(5,"sc"),attrs:{_i:5}},[t._v(t._$g(5,"t0-0"))]),a("uni-view",{staticClass:t._$g(6,"sc"),attrs:{_i:6}},[t._v("V:"+t._$g(6,"t0-0"))]),a("uni-view",{staticClass:t._$g(7,"sc"),attrs:{_i:7},on:{click:function(e){return t.$handleViewEvent(e)}}}),a("uni-view",{staticClass:t._$g(8,"sc"),attrs:{_i:8},on:{click:function(e){return t.$handleViewEvent(e)}}}),a("uni-view",{staticClass:t._$g(9,"sc"),attrs:{_i:9}},[a("uni-view",{staticClass:t._$g(10,"sc"),attrs:{_i:10}},[a("uni-view",{staticClass:t._$g(11,"sc"),attrs:{_i:11}},[a("y-box",{attrs:{_i:12}},[a("uni-view",{staticClass:t._$g(13,"sc"),attrs:{_i:13}},[a("v-uni-text",{staticClass:t._$g(14,"sc"),attrs:{_i:14}},[t._v("\u667a\u80fd\u5927\u5c4f\u663e\u793a\u7cfb\u7edf")]),a("v-uni-text",{staticClass:t._$g(15,"sc"),attrs:{_i:15}},[t._v("Intelligent LargeScreen Display System")])],1),a("uni-view",{staticClass:t._$g(16,"sc"),attrs:{_i:16}},[a("v-uni-text",{staticClass:t._$g(17,"sc"),attrs:{_i:17}},[t._v("\u4ed3\u5e93\u6570\u636e")]),a("v-uni-text",{staticClass:t._$g(18,"sc"),attrs:{_i:18}},[t._v("warehouse data")]),a("uni-view",{staticClass:t._$g(19,"sc"),attrs:{_i:19}},[a("v-uni-swiper",{staticClass:t._$g(20,"sc"),attrs:{vertical:"true","display-multiple-items":"5",circular:"true",autoplay:!0,interval:3e3,duration:2e3,_i:20}},t._l(t._$g(21,"f"),(function(e,n,i,r){return a("v-uni-swiper-item",{key:e,staticClass:t._$g("21-"+r,"sc"),attrs:{_i:"21-"+r}},[a("uni-view",{staticStyle:{width:"50%","font-size":"1vw"},attrs:{_i:"22-"+r}},[t._v("\u7269\u6599\u7801: "+t._$g("22-"+r,"t0-0"))]),a("uni-view",{staticStyle:{width:"50%","font-size":"1vw"},attrs:{_i:"23-"+r}},[t._v("\u6570\u91cf: "+t._$g("23-"+r,"t0-0"))])],1)})),1)],1)],1),a("uni-view",{staticClass:t._$g(24,"sc"),attrs:{_i:24}},[a("uni-view",{staticClass:t._$g(25,"sc"),staticStyle:{width:"100%"},attrs:{_i:25}},[a("uni-view",{staticClass:t._$g(26,"sc"),staticStyle:{"align-items":"flex-start","justify-content":"flex-start"},attrs:{_i:26}},[a("v-uni-text",{staticClass:t._$g(27,"sc"),attrs:{_i:27}},[t._v("\u5e93\u4f4d\u4f7f\u7528\u7387")]),a("v-uni-text",{staticClass:t._$g(28,"sc"),attrs:{_i:28}},[t._v("EQUIPMENT USAGE THIS MONTH")])],1),a("uni-view",{staticStyle:{"margin-left":"auto"},attrs:{_i:29}},[a("uni-view",{staticClass:t._$g(30,"sc"),staticStyle:{"align-items":"flex-end","justify-content":"flex-end"},attrs:{_i:30}},[a("v-uni-text",{staticClass:t._$g(31,"sc"),attrs:{_i:31}},[t._v(t._$g(31,"t0-0")+"%")])],1)],1)],1),a("uni-view",{staticClass:t._$g(32,"sc"),staticStyle:{width:"100%","align-items":"flex-start",position:"relative","font-size":"1vw"},attrs:{_i:32}},[a("uni-view",{staticClass:t._$g(33,"sc"),staticStyle:{width:"100%",position:"relative","margin-top":"5%"},attrs:{_i:33}},[a("uni-view",{staticClass:t._$g(34,"sc"),staticStyle:{width:"80%",height:"2vw"},attrs:{_i:34}},[a("uni-view",{staticClass:t._$g(35,"sc"),style:t._$g(35,"s"),attrs:{_i:35}})],1),a("uni-view",{staticStyle:{position:"absolute",bottom:"0",right:"0","font-size":"2.5vw",color:"#FF5722"},attrs:{_i:36}},[t._v(t._$g(36,"t0-0"))])],1)],1)],1)],1)],1)],1),a("uni-view",{staticClass:t._$g(37,"sc"),attrs:{_i:37}},[a("uni-view",{staticClass:t._$g(38,"sc"),attrs:{_i:38}},[a("uni-view",{staticStyle:{width:"100%",height:"100%"},attrs:{_i:39}},[a("uni-view",{staticStyle:{height:"35%"},attrs:{_i:40}},[a("y-box",{attrs:{_i:41}},[a("uni-view",{staticClass:t._$g(42,"sc"),attrs:{_i:42}},[a("uni-view",{staticClass:t._$g(43,"sc"),staticStyle:{width:"100%"},attrs:{_i:43}},[a("uni-view",{staticClass:t._$g(44,"sc"),staticStyle:{"align-items":"flex-start","justify-content":"flex-start"},attrs:{_i:44}},[a("v-uni-text",{staticClass:t._$g(45,"sc"),attrs:{_i:45}},[t._v("\u5165\u51fa\u5e93\u7edf\u8ba1")]),a("v-uni-text",{staticClass:t._$g(46,"sc"),attrs:{_i:46}},[t._v("ORDER STATISTICS")])],1),a("uni-view",{staticStyle:{"margin-left":"auto"},attrs:{_i:47}},[a("uni-view",{staticClass:t._$g(48,"sc"),staticStyle:{"align-items":"flex-end","justify-content":"flex-end"},attrs:{_i:48}})],1)],1),a("uni-view",{staticClass:t._$g(49,"sc"),attrs:{_i:49}},[a("qiun-data-charts",{attrs:{_i:50}})],1)],1)],1)],1),a("uni-view",{staticStyle:{height:"2%"},attrs:{_i:51}}),a("uni-view",{staticStyle:{height:"43%"},attrs:{_i:52}},[a("y-box",{attrs:{_i:53}},[a("uni-view",{staticClass:t._$g(54,"sc"),attrs:{_i:54}},[a("uni-view",{staticClass:t._$g(55,"sc"),staticStyle:{width:"100%"},attrs:{_i:55}},[a("uni-view",{staticClass:t._$g(56,"sc"),staticStyle:{"align-items":"flex-start","justify-content":"flex-start"},attrs:{_i:56}},[a("v-uni-text",{staticClass:t._$g(57,"sc"),attrs:{_i:57}},[t._v("\u5e93\u5b58\u7c7b\u578b")]),a("v-uni-text",{staticClass:t._$g(58,"sc"),attrs:{_i:58}},[t._v("INCOME DATE")])],1),a("uni-view",{staticStyle:{"margin-left":"auto"},attrs:{_i:59}},[a("uni-view",{staticClass:t._$g(60,"sc"),staticStyle:{"align-items":"flex-end","justify-content":"flex-end"},attrs:{_i:60}},[a("v-uni-text",{staticClass:t._$g(61,"sc"),attrs:{_i:61}},[t._v("\u4eca\u5929")]),a("v-uni-text",{staticClass:t._$g(62,"sc"),attrs:{_i:62}},[t._v("Today")])],1)],1)],1),a("uni-view",{staticClass:t._$g(63,"sc"),staticStyle:{width:"100%"},attrs:{_i:63}},[a("uni-view",{staticClass:t._$g(64,"sc"),attrs:{_i:64}},[a("qiun-data-charts",{attrs:{_i:65}})],1),a("uni-view",{attrs:{_i:66}},[a("uni-view",{staticClass:t._$g(67,"sc"),attrs:{_i:67}},[a("v-uni-image",{attrs:{src:t._$g(68,"a-src"),mode:"aspectFit",_i:68}}),a("uni-view",{staticStyle:{width:"8vw",height:"4vw","line-height":"4vw"},attrs:{_i:69}},[t._v("\u5728\u5e93")]),a("uni-view",{staticStyle:{width:"8vw",height:"4vw","line-height":"4vw","font-size":"2vw"},attrs:{_i:70}},[t._v(t._$g(70,"t0-0"))])],1),a("uni-view",{staticClass:t._$g(71,"sc"),staticStyle:{"margin-top":"2vh"},attrs:{_i:71}},[a("v-uni-image",{attrs:{src:t._$g(72,"a-src"),mode:"aspectFit",_i:72}}),a("uni-view",{staticStyle:{width:"8vw",height:"4vw","line-height":"4vw"},attrs:{_i:73}},[t._v("\u7a7a\u5e93")]),a("uni-view",{staticStyle:{width:"8vw",height:"4vw","line-height":"4vw","font-size":"2vw"},attrs:{_i:74}},[t._v(t._$g(74,"t0-0"))])],1),a("uni-view",{staticClass:t._$g(75,"sc"),staticStyle:{"margin-top":"2vh"},attrs:{_i:75}},[a("v-uni-image",{attrs:{src:t._$g(76,"a-src"),mode:"aspectFit",_i:76}}),a("uni-view",{staticStyle:{width:"8vw",height:"4vw","line-height":"4vw"},attrs:{_i:77}},[t._v("\u9501\u5b9a")]),a("uni-view",{staticStyle:{width:"8vw",height:"4vw","line-height":"4vw","font-size":"2vw"},attrs:{_i:78}},[t._v(t._$g(78,"t0-0"))])],1)],1)],1)],1)],1)],1),a("uni-view",{staticStyle:{height:"2%"},attrs:{_i:79}}),a("uni-view",{staticStyle:{height:"18%",display:"flex","justify-content":"space-around","align-items":"center"},attrs:{_i:80}},[a("uni-view",{staticStyle:{height:"50%"},attrs:{_i:81}},[a("v-uni-image",{staticStyle:{height:"100%"},attrs:{src:t._$g(82,"a-src"),mode:"aspectFit",_i:82}})],1)],1)],1)],1)],1)],1)],1)],1),a("uni-transition",{attrs:{_i:83}},[a("uni-view",{staticClass:t._$g(84,"sc"),attrs:{_i:84}},[a("uni-view",{staticClass:t._$g(85,"sc"),attrs:{_i:85}},[a("v-uni-text",{attrs:{_i:86}},[t._v(t._$g(86,"t0-0"))])],1),a("uni-view",{staticClass:t._$g(87,"sc"),attrs:{_i:87}},[t._v(t._$g(87,"t0-0"))]),a("uni-view",{staticClass:t._$g(88,"sc"),attrs:{_i:88},on:{click:function(e){return t.$handleViewEvent(e)}}}),a("uni-view",{staticClass:t._$g(89,"sc"),attrs:{_i:89},on:{click:function(e){return t.$handleViewEvent(e)}}}),a("uni-view",{staticClass:t._$g(90,"sc"),attrs:{_i:90}},[a("uni-view",{staticClass:t._$g(91,"sc"),attrs:{_i:91}},[a("y-box",{attrs:{_i:92}},[a("uni-view",{staticClass:t._$g(93,"sc"),attrs:{_i:93}},[a("uni-view",{staticClass:t._$g(94,"sc"),attrs:{_i:94}},[a("uni-view",{staticStyle:{width:"30%"},attrs:{_i:95}},[t._v("\u6258\u76d8\u7801: "+t._$g(95,"t0-0"))]),a("uni-view",{staticStyle:{width:"20%"},attrs:{_i:96}},[t._v("\u5de5\u4f5c\u53f7: "+t._$g(96,"t0-0"))]),a("uni-view",{staticStyle:{width:"30%"},attrs:{_i:97}},[t._v("\u6e90\u5e93\u4f4d: "+t._$g(97,"t0-0"))]),a("uni-view",{staticStyle:{width:"20%"},attrs:{_i:98}},[t._v("\u76ee\u6807\u7ad9: "+t._$g(98,"t0-0"))])],1),a("uni-view",{staticClass:t._$g(99,"sc"),attrs:{_i:99}},[a("v-uni-swiper",{staticClass:t._$g(100,"sc"),attrs:{vertical:"true","display-multiple-items":"1",circular:"true",autoplay:!0,interval:3e3,duration:2e3,_i:100}},t._l(t._$g(101,"f"),(function(e,n,i,r){return a("v-uni-swiper-item",{key:e,staticClass:t._$g("101-"+r,"sc"),attrs:{_i:"101-"+r}},[a("uni-view",{staticStyle:{width:"100%"},attrs:{_i:"102-"+r}},[t._v(t._$g("102-"+r,"t0-0")+" / "+t._$g("102-"+r,"t0-1"))]),a("uni-view",{staticStyle:{width:"50%","font-size":"3vw"},attrs:{_i:"103-"+r}},[t._v("\u7269\u6599\u7f16\u7801: "+t._$g("103-"+r,"t0-0"))]),a("uni-view",{staticStyle:{width:"50%","font-size":"3vw"},attrs:{_i:"104-"+r}},[t._v("\u540d\u79f0: "+t._$g("104-"+r,"t0-0"))]),a("uni-view",{staticStyle:{width:"50%","font-size":"3vw"},attrs:{_i:"105-"+r}},[t._v("\u89c4\u683c: "+t._$g("105-"+r,"t0-0"))]),a("uni-view",{staticStyle:{width:"50%","font-size":"3vw"},attrs:{_i:"106-"+r}},[t._v("\u6279\u6b21: "+t._$g("106-"+r,"t0-0"))]),a("uni-view",{staticStyle:{width:"50%","font-size":"3vw"},attrs:{_i:"107-"+r}},[t._v("\u9500\u552e\u5355\u53f7: "+t._$g("107-"+r,"t0-0"))]),a("uni-view",{staticStyle:{width:"50%","font-size":"3vw"},attrs:{_i:"108-"+r}},[t._v("\u5ba2\u6237\u540d\u79f0: "+t._$g("108-"+r,"t0-0"))]),a("uni-view",{staticStyle:{width:"33%","font-size":"3vw"},attrs:{_i:"109-"+r}},[t._v("\u6570\u91cf: "+t._$g("109-"+r,"t0-0"))])],1)})),1)],1)],1)],1)],1)],1)],1)],1),a("uni-transition",{attrs:{_i:110}},[a("uni-view",{staticClass:t._$g(111,"sc"),attrs:{_i:111}},[a("uni-view",{staticClass:t._$g(112,"sc"),attrs:{_i:112}},[a("v-uni-text",{attrs:{_i:113}},[t._v(t._$g(113,"t0-0"))])],1),a("uni-view",{staticClass:t._$g(114,"sc"),attrs:{_i:114}},[t._v(t._$g(114,"t0-0"))]),a("uni-view",{staticClass:t._$g(115,"sc"),attrs:{_i:115}}),a("uni-view",{staticClass:t._$g(116,"sc"),attrs:{_i:116}}),a("uni-view",{staticClass:t._$g(117,"sc"),attrs:{_i:117}},[a("uni-view",{staticClass:t._$g(118,"sc"),attrs:{_i:118}},[a("y-box",{attrs:{_i:119}},[a("uni-view",{staticClass:t._$g(120,"sc"),attrs:{_i:120}},[a("uni-view",{staticClass:t._$g(121,"sc"),attrs:{_i:121}},[t._v(t._$g(121,"t0-0"))])],1)],1)],1)],1)],1)],1),a("uni-view",{directives:[{name:"show",rawName:"v-show",value:t._$g(122,"v-show"),expression:"_$g(122,'v-show')"}],staticClass:t._$g(122,"sc"),attrs:{_i:122}},[a("uni-view",{staticClass:t._$g(123,"sc"),attrs:{_i:123}},[a("uni-view",{staticClass:t._$g(124,"sc"),attrs:{_i:124}},[t._v("\u4fee\u6539 / \u914d\u7f6e")]),a("v-uni-scroll-view",{staticClass:t._$g(125,"sc"),attrs:{"scroll-y":!0,_i:125}},[a("uni-view",{staticClass:t._$g(126,"sc"),attrs:{_i:126}},[a("uni-view",{staticClass:t._$g(127,"sc"),attrs:{_i:127}},[t._v("ip\uff1a")]),a("uni-view",{staticClass:t._$g(128,"sc"),attrs:{_i:128}},[a("v-uni-input",{attrs:{type:"text",_i:129},model:{value:t._$g(129,"v-model"),callback:function(e){t.$handleVModelEvent(129,e)},expression:"baseIP"}})],1)],1),a("uni-view",{staticClass:t._$g(130,"sc"),attrs:{_i:130}},[a("uni-view",{staticClass:t._$g(131,"sc"),attrs:{_i:131}},[t._v("Wcsport\uff1a")]),a("uni-view",{staticClass:t._$g(132,"sc"),attrs:{_i:132}},[a("v-uni-input",{attrs:{type:"text",_i:133},model:{value:t._$g(133,"v-model"),callback:function(e){t.$handleVModelEvent(133,e)},expression:"basePort"}})],1)],1),a("uni-view",{staticClass:t._$g(134,"sc"),attrs:{_i:134}},[a("uni-view",{staticClass:t._$g(135,"sc"),attrs:{_i:135}},[t._v("WcsUrl\uff1a")]),a("uni-view",{staticClass:t._$g(136,"sc"),attrs:{_i:136}},[a("v-uni-input",{attrs:{type:"text",_i:137},model:{value:t._$g(137,"v-model"),callback:function(e){t.$handleVModelEvent(137,e)},expression:"baseUrl"}})],1)],1),a("uni-view",{staticClass:t._$g(138,"sc"),attrs:{_i:138}},[a("uni-view",{staticClass:t._$g(139,"sc"),attrs:{_i:139}},[t._v("Wmsport\uff1a")]),a("uni-view",{staticClass:t._$g(140,"sc"),attrs:{_i:140}},[a("v-uni-input",{attrs:{type:"text",_i:141},model:{value:t._$g(141,"v-model"),callback:function(e){t.$handleVModelEvent(141,e)},expression:"wmsPort"}})],1)],1),a("uni-view",{staticClass:t._$g(142,"sc"),attrs:{_i:142}},[a("uni-view",{staticClass:t._$g(143,"sc"),attrs:{_i:143}},[t._v("WmsUrl\uff1a")]),a("uni-view",{staticClass:t._$g(144,"sc"),attrs:{_i:144}},[a("v-uni-input",{attrs:{type:"text",_i:145},model:{value:t._$g(145,"v-model"),callback:function(e){t.$handleVModelEvent(145,e)},expression:"wmsUrl"}})],1)],1),a("uni-view",{staticClass:t._$g(146,"sc"),attrs:{_i:146}},[a("uni-view",{staticClass:t._$g(147,"sc"),attrs:{_i:147}},[t._v("ledId\uff1a")]),a("uni-view",{staticClass:t._$g(148,"sc"),attrs:{_i:148}},[a("v-uni-input",{attrs:{type:"text",_i:149},model:{value:t._$g(149,"v-model"),callback:function(e){t.$handleVModelEvent(149,e)},expression:"baseLedId"}})],1)],1)],1),a("uni-view",{staticClass:t._$g(150,"sc"),attrs:{_i:150}},[a("uni-view",{staticClass:t._$g(151,"sc"),attrs:{_i:151},on:{click:function(e){return t.$handleViewEvent(e)}}},[t._v("\u53d6 \u6d88")]),a("uni-view",{staticClass:t._$g(152,"sc"),attrs:{_i:152},on:{click:function(e){return t.$handleViewEvent(e)}}},[t._v("\u786e \u8ba4")])],1)],1)],1),a("uni-view",{attrs:{_i:153}},[a("uni-popup",{ref:"upVersion",attrs:{_i:154}},[a("uni-popup-dialog",{attrs:{_i:155},on:{confirm:function(e){return t.$handleViewEvent(e)},close:function(e){return t.$handleViewEvent(e)}}})],1)],1),a("uni-view",{directives:[{name:"show",rawName:"v-show",value:t._$g(156,"v-show"),expression:"_$g(156,'v-show')"}],staticStyle:{color:"#FFF",position:"fixed",bottom:"10px",left:"10px"},attrs:{_i:156}},[t._v("\u8fde\u63a5\u8d85\u65f6\uff0c\u6b63\u5728\u91cd\u65b0\u5efa\u7acb\u94fe\u63a5:: "+t._$g(156,"t0-0"))])],1)},r=[]},ac83:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={name:"loading6",data:function(){return{wxsProps:{}}},components:{}}},ac93:function(t,e,a){"use strict";t.exports=function(t,e){e||(e={}),t=t&&t.__esModule?t.default:t;var a=!1;if("string"!==typeof t){if(!t.protocol||"file:"!==t.protocol||!t.pathname)return t;a=!0,t=t.pathname}return/^['"].*['"]$/.test(t)&&(t=t.slice(1,-1)),e.hash&&(t+=e.hash),/["'() \t\n]/.test(t)||e.needQuotes?'"'.concat(t.replace(/"/g,'\\"').replace(/\n/g,"\\n"),'"'):a?t:0===t.indexOf("/")?t.substr(1):t}},af4f:function(t,e,a){"use strict";a.d(e,"b",(function(){return n})),a.d(e,"c",(function(){return i})),a.d(e,"a",(function(){}));var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("uni-view",{attrs:{_i:0}},[t._$g(1,"i")?a("Loading1",{attrs:{_i:1}}):t._e(),t._$g(2,"i")?a("Loading2",{attrs:{_i:2}}):t._e(),t._$g(3,"i")?a("Loading3",{attrs:{_i:3}}):t._e(),t._$g(4,"i")?a("Loading4",{attrs:{_i:4}}):t._e(),t._$g(5,"i")?a("Loading5",{attrs:{_i:5}}):t._e()],1)},i=[]},b49c:function(t,e,a){"use strict";function n(t,e){for(var a=[],n={},i=0;i<e.length;i++){var r=e[i],o=r[0],s=r[1],l=r[2],c=r[3],d={id:t+":"+i,css:s,media:l,sourceMap:c};n[o]?n[o].parts.push(d):a.push(n[o]={id:o,parts:[d]})}return a}a.r(e),a.d(e,"default",(function(){return f}));var i="undefined"!==typeof document;if("undefined"!==typeof DEBUG&&DEBUG&&!i)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var r={},o=i&&(document.head||document.getElementsByTagName("head")[0]),s=null,l=0,c=!1,d=function(){},h=null,u="undefined"!==typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());function f(t,e,a,i){c=a,h=i||{};var o=n(t,e);return p(o),function(e){for(var a=[],i=0;i<o.length;i++){var s=o[i],l=r[s.id];l.refs--,a.push(l)}e?(o=n(t,e),p(o)):o=[];for(i=0;i<a.length;i++){l=a[i];if(0===l.refs){for(var c=0;c<l.parts.length;c++)l.parts[c]();delete r[l.id]}}}}function p(t){for(var e=0;e<t.length;e++){var a=t[e],n=r[a.id];if(n){n.refs++;for(var i=0;i<n.parts.length;i++)n.parts[i](a.parts[i]);for(;i<a.parts.length;i++)n.parts.push(g(a.parts[i]));n.parts.length>a.parts.length&&(n.parts.length=a.parts.length)}else{var o=[];for(i=0;i<a.parts.length;i++)o.push(g(a.parts[i]));r[a.id]={id:a.id,refs:1,parts:o}}}}function x(){var t=document.createElement("style");return t.type="text/css",o.appendChild(t),t}function g(t){var e,a,n=document.querySelector('style[data-vue-ssr-id~="'+t.id+'"]');if(n){if(c)return d;n.parentNode.removeChild(n)}if(u){var i=l++;n=s||(s=x()),e=m.bind(null,n,i,!1),a=m.bind(null,n,i,!0)}else n=x(),e=y.bind(null,n),a=function(){n.parentNode.removeChild(n)};return e(t),function(n){if(n){if(n.css===t.css&&n.media===t.media&&n.sourceMap===t.sourceMap)return;e(t=n)}else a()}}var v=function(){var t=[];return function(e,a){return t[e]=a,t.filter(Boolean).join("\n")}}();function m(t,e,a,n){var i=a?"":k(n.css);if(t.styleSheet)t.styleSheet.cssText=v(e,i);else{var r=document.createTextNode(i),o=t.childNodes;o[e]&&t.removeChild(o[e]),o.length?t.insertBefore(r,o[e]):t.appendChild(r)}}function y(t,e){var a=k(e.css),n=e.media,i=e.sourceMap;if(n&&t.setAttribute("media",n),h.ssrId&&t.setAttribute("data-vue-ssr-id",e.id),i&&(a+="\n/*# sourceURL="+i.sources[0]+" */",a+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(i))))+" */"),t.styleSheet)t.styleSheet.cssText=a;else{while(t.firstChild)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(a))}}var b=/\b([+-]?\d+(\.\d+)?)[r|u]px\b/g,w=/var\(--status-bar-height\)/gi,_=/var\(--window-top\)/gi,C=/var\(--window-bottom\)/gi,A=/var\(--window-left\)/gi,S=/var\(--window-right\)/gi,T=!1;function k(t){if(!uni.canIUse("css.var")){!1===T&&(T=plus.navigator.getStatusbarHeight());var e={statusBarHeight:T,top:window.__WINDOW_TOP||0,bottom:window.__WINDOW_BOTTOM||0};t=t.replace(w,e.statusBarHeight+"px").replace(_,e.top+"px").replace(C,e.bottom+"px").replace(A,"0px").replace(S,"0px")}return t.replace(/\{[\s\S]+?\}|@media.+?\{/g,(function(t){return t.replace(b,(function(t,e){return uni.upx2px(e)+"px"}))}))}},b854:function(t,e,a){"use strict";a.r(e);var n=a("3f18"),i=a.n(n);for(var r in n)["default"].indexOf(r)<0&&function(t){a.d(e,t,(function(){return n[t]}))}(r);e["default"]=i.a},b8d4:function(t,e,a){"use strict";a.r(e);var n=a("6064"),i=a.n(n);for(var r in n)["default"].indexOf(r)<0&&function(t){a.d(e,t,(function(){return n[t]}))}(r);e["default"]=i.a},b908:function(t,e,a){"use strict";var n=a("cf84"),i=a.n(n);i.a},b90f:function(t,e,a){var n=a("73fb");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var i=a("b49c").default;i("746a5862",n,!0,{sourceMap:!1,shadowMode:!1})},b9a5:function(t,e,a){"use strict";a.r(e);var n=a("db9f"),i=a.n(n);for(var r in n)["default"].indexOf(r)<0&&function(t){a.d(e,t,(function(){return n[t]}))}(r);e["default"]=i.a},ba9b:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={data:function(){return{wxsProps:{}}},components:{}}},be93:function(t,e,a){var n=a("368e");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var i=a("b49c").default;i("f77ae3d2",n,!0,{sourceMap:!1,shadowMode:!1})},bfff:function(t,e,a){"use strict";a.r(e);var n=a("3c26"),i=a("b8d4");for(var r in i)["default"].indexOf(r)<0&&function(t){a.d(e,t,(function(){return i[t]}))}(r);a("3b3c");var o=a("828b"),s=Object(o["a"])(i["default"],n["b"],n["c"],!1,null,"43f30b7e",null,!1,n["a"],void 0);e["default"]=s.exports},c547:function(t,e,a){"use strict";a.r(e);var n=a("e189"),i=a.n(n);for(var r in n)["default"].indexOf(r)<0&&function(t){a.d(e,t,(function(){return n[t]}))}(r);e["default"]=i.a},c781:function(t,e,a){"use strict";var n=a("84d1"),i=a.n(n);i.a},c86c:function(t,e,a){"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var a=function(t,e){var a=t[1]||"",n=t[3];if(!n)return a;if(e&&"function"===typeof btoa){var i=function(t){var e=btoa(unescape(encodeURIComponent(JSON.stringify(t)))),a="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(e);return"/*# ".concat(a," */")}(n),r=n.sources.map((function(t){return"/*# sourceURL=".concat(n.sourceRoot||"").concat(t," */")}));return[a].concat(r).concat([i]).join("\n")}return[a].join("\n")}(e,t);return e[2]?"@media ".concat(e[2]," {").concat(a,"}"):a})).join("")},e.i=function(t,a,n){"string"===typeof t&&(t=[[null,t,""]]);var i={};if(n)for(var r=0;r<this.length;r++){var o=this[r][0];null!=o&&(i[o]=!0)}for(var s=0;s<t.length;s++){var l=[].concat(t[s]);n&&i[l[0]]||(a&&(l[2]?l[2]="".concat(a," and ").concat(l[2]):l[2]=a),e.push(l))}},e}},c959:function(t,e,a){"use strict";a.r(e);var n=a("a818"),i=a("078f");for(var r in i)["default"].indexOf(r)<0&&function(t){a.d(e,t,(function(){return i[t]}))}(r);a("0cb4");var o=a("828b"),s=Object(o["a"])(i["default"],n["b"],n["c"],!1,null,"4e1c1bfa",null,!1,n["a"],void 0);e["default"]=s.exports},cc61:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={data:function(){return{wxsProps:{}}},components:{}}},cf84:function(t,e,a){var n=a("6642");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var i=a("b49c").default;i("cede38c2",n,!0,{sourceMap:!1,shadowMode:!1})},d168:function(t,e,a){var n=a("c86c"),i=a("ac93"),r=a("2021"),o=a("9ffd");e=n(!1);var s=i(r),l=i(o);e.push([t.i,"\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\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r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n.text-content{width:100%;height:100%;font-size:2vw}.swiper-head{width:100%;height:10%;background-color:rgba(54,94,226,.5);display:flex;align-items:center}.swiper-body{width:100%;height:90%}.swiper-body-main{width:100%;height:100%}.swiper-item{display:flex;flex-wrap:wrap;align-items:center;text-align:start;border-bottom:2px solid #000;background-color:rgba(0,0,0,.2);margin-left:10rpx}.swiper-item:nth-child(2n-1){background-color:hsla(0,0%,100%,.1)}.flex-col{display:flex;flex-direction:column}.flex-row{display:flex;flex-direction:row}.container{width:100vw;min-height:100vh;background-color:#00163e;color:#fff;text-align:center}.home-view{width:100vw;min-height:100vh;background-image:url("+s+");background-size:100vw 100vh}.home-right{width:50vw;height:89vh}.home-right-box{width:98%;height:98%}.head{width:100vw;height:11vh;font-size:4vw;font-weight:700;display:flex;align-items:center;justify-content:center;-webkit-transform:scale(.7);transform:scale(.7)}.time-tools{position:absolute;right:2%;top:2%;font-size:1vw;-webkit-transform:scale(.8);transform:scale(.8)}.button-left{position:absolute;background-image:url("+l+");background-size:100% 100%;top:1.8%;left:21.3%;width:13.5%;height:8.5%;-webkit-transform:scaleX(-1);transform:scaleX(-1)}.button-right{position:absolute;background-image:url("+l+");background-size:100% 100%;top:1.8%;left:65%;width:13.5%;height:8.5%}.img-box{height:23vw;width:100%;display:flex;flex-direction:row;justify-content:flex-start;flex-wrap:wrap;font-size:1vw}.item-img{width:50%;margin-top:5%;display:flex;flex-direction:row;justify-content:flex-start;align-items:flex-start}.item-img uni-image{height:5vw;width:5vw}.progressBar{margin-top:9%;height:20%;background-color:#233751;border-radius:5vw}.progress{height:100%;background-color:#ff5722;border-radius:5vw}.charts-box{width:80%;height:24vh;margin-left:10%}.charts-box-ring{width:60%;height:24vh}.sub-info{font-size:1.5vw}.sub-info uni-image{width:3.5vw;height:3.5vw}.main{width:100vw;height:88vh;margin-top:1vh;display:flex}.mian-item{width:50%;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center}.mian-item-box{width:98%;height:98%}.box-item{width:100%;margin-top:4%;display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start}.item-title{font-size:1.5vw;font-weight:700}.version{position:absolute;left:1%;top:1%;font-size:1vw;-webkit-transform:scale(.8);transform:scale(.8)}.item-subTitle{font-size:.5vw;text-indent:0}.item-text{font-size:1vw;text-indent:2em;letter-spacing:1px;line-height:3vh}.info-view{width:100vw;min-height:100vh;background-image:url("+s+");background-size:100vw 100vh}.info-main{width:100vw;height:88vh;display:flex;justify-content:center;align-items:center}.info-box{width:98%;height:98%}.error-info-view{width:100vw;min-height:100vh;background-image:url("+s+");background-size:100vw 100vh}.eject-mask{width:100%;height:100%;background-color:rgba(0,0,0,.5);position:fixed;top:0;left:0;z-index:999;display:flex;align-items:center;justify-content:center}.eject{position:relative;width:45vw;height:45vh;background-color:#fff;border-radius:2rem}.eject-title{width:100%;height:5vh;line-height:6vh;font-size:3vh;font-weight:700;color:#606266;text-align:center}.eject-input{margin-top:2vh;height:25vh;::-webkit-scrollbar{display:none}}.item{display:flex;align-items:center;margin:1vh 0 0 0;font-size:1.5vw;color:#363636}.desc{display:inline-block;width:40%;text-align:right;color:#606266}.input{display:flex;align-items:center;padding-left:5px;padding-right:5px;width:100%;height:3vh;border:.1vh solid #cfd4dc;margin-right:20%;text-align:start}.eject-input uni-input{width:100%;height:3vh;font-size:1vw}.eject-button{display:flex;align-items:center;position:absolute;bottom:0;height:6vh;line-height:6vh;width:100%;border-top:1px solid #ccc}.button-item{width:50%;height:100%;font-size:1.5vw;font-weight:700;text-align:center;color:#909399}.button-item:last-child{color:#67c23a;border-left:1px solid #ccc}.info-box-text{width:100%;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center}.info-box-text-item{height:20%;font-size:8vh;justify-content:center}",""]),t.exports=e},d9bb:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={name:"uniTransition",props:["show","modeClass","duration","styles","customClass"],data:function(){return{wxsProps:{}}},components:{}}},db9f:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={data:function(){return{wxsProps:{}}},components:{}}},dd22:function(t,e,a){var n=a("6075");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var i=a("b49c").default;i("1e6f7836",n,!0,{sourceMap:!1,shadowMode:!1})},dd3e:function(t,e){t.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},t.exports.__esModule=!0,t.exports["default"]=t.exports},dd49:function(t,e,a){"use strict";function n(){function t(t){var e=a("04cd");e.__inject__&&e.__inject__(t)}"function"===typeof t&&t(),UniViewJSBridge.publishHandler("webviewReady")}a("1c5b"),"undefined"!==typeof plus?n():document.addEventListener("plusready",n)},ddb2:function(t,e,a){var n=a("aad1");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var i=a("b49c").default;i("4e72501d",n,!0,{sourceMap:!1,shadowMode:!1})},e189:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={name:"loading5",data:function(){return{wxsProps:{}}},components:{}}},e199:function(t,e,a){"use strict";var n=a("ddb2"),i=a.n(n);i.a},e235:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=["#1890FF","#91CB74","#FAC858","#EE6666","#73C0DE","#3CA272","#FC8452","#9A60B4","#ea7ccc"],i={type:["pie","ring","rose","funnel","line","column","area","radar","gauge","candle","demotype"],categories:["line","column","area","radar","gauge","candle","demotype"],instance:{},option:{},formatter:{tooltipDemo1:function(t){var e="";for(var a in t){0==a&&(e+=t[a].axisValueLabel+"\u5e74\u9500\u552e\u989d");var n="--";null!==t[a].data&&(n=t[a].data),e+="<br/>"+t[a].marker+t[a].seriesName+"\uff1a"+n+" \u4e07\u5143"}return e},legendFormat:function(t){return"\u81ea\u5b9a\u4e49\u56fe\u4f8b+"+t},yAxisFormatDemo:function(t,e){return t+"\u5143"},seriesFormatDemo:function(t){return t.name+"\u5e74"+t.value+"\u5143"}},demotype:{color:n},column:{color:n,title:{text:""},tooltip:{trigger:"axis"},grid:{top:30,bottom:50,right:15,left:40},legend:{bottom:"left"},toolbox:{show:!1},xAxis:{type:"category",axisLabel:{color:"#666666"},axisLine:{lineStyle:{color:"#CCCCCC"}},boundaryGap:!0,data:[]},yAxis:{type:"value",axisTick:{show:!1},axisLabel:{color:"#666666"},axisLine:{lineStyle:{color:"#CCCCCC"}}},seriesTemplate:{name:"",type:"bar",data:[],barwidth:20,label:{show:!0,color:"#666666",position:"top"}}},line:{color:n,title:{text:""},tooltip:{trigger:"axis"},grid:{top:30,bottom:50,right:15,left:40},legend:{top:"left",textStyle:{color:"#cccccc"}},toolbox:{show:!1},xAxis:{type:"category",axisLabel:{color:"#CCCCCC"},axisLine:{lineStyle:{color:"#CCCCCC"}},boundaryGap:!1,data:[]},yAxis:{type:"value",axisTick:{show:!1},axisLabel:{color:"#CCCCCC"},axisLine:{lineStyle:{color:"#CCCCCC"}}},seriesTemplate:{name:"",type:"line",data:[],barwidth:20,label:{show:!1,color:"#666666",position:"top"}}},area:{color:n,title:{text:""},tooltip:{trigger:"axis"},grid:{top:30,bottom:50,right:15,left:40},legend:{bottom:"left"},toolbox:{show:!1},xAxis:{type:"category",axisLabel:{color:"#666666"},axisLine:{lineStyle:{color:"#CCCCCC"}},boundaryGap:!0,data:[]},yAxis:{type:"value",axisTick:{show:!1},axisLabel:{color:"#666666"},axisLine:{lineStyle:{color:"#CCCCCC"}}},seriesTemplate:{name:"",type:"line",data:[],areaStyle:{},label:{show:!0,color:"#666666",position:"top"}}},pie:{color:n,title:{text:""},tooltip:{trigger:"item"},grid:{top:40,bottom:30,right:15,left:15},legend:{bottom:"left"},seriesTemplate:{name:"",type:"pie",data:[],radius:"50%",label:{show:!0,color:"#666666",position:"top"}}},ring:{color:n,title:{text:""},tooltip:{trigger:"item"},grid:{top:40,bottom:30,right:15,left:15},legend:{bottom:"left",textStyle:{color:"#cccccc"}},seriesTemplate:{name:"",type:"pie",data:[],radius:["30%","60%"],avoidLabelOverlap:!1,label:{show:!1,color:"#FFF",position:"top"},labelLine:{show:!1}}},rose:{color:n,title:{text:""},tooltip:{trigger:"item"},legend:{top:"bottom"},seriesTemplate:{name:"",type:"pie",data:[],radius:"55%",center:["50%","50%"],roseType:"area"}},funnel:{color:n,title:{text:""},tooltip:{trigger:"item",formatter:"{b} : {c}%"},legend:{top:"bottom"},seriesTemplate:{name:"",type:"funnel",left:"10%",top:60,bottom:60,width:"80%",min:0,max:100,minSize:"0%",maxSize:"100%",sort:"descending",gap:2,label:{show:!0,position:"inside"},labelLine:{length:10,lineStyle:{width:1,type:"solid"}},itemStyle:{bordercolor:"#fff",borderwidth:1},emphasis:{label:{fontSize:20}},data:[]}},gauge:{color:n,tooltip:{formatter:"{a} <br/>{b} : {c}%"},seriesTemplate:{name:"\u4e1a\u52a1\u6307\u6807",type:"gauge",detail:{formatter:"{value}%"},data:[{value:50,name:"\u5b8c\u6210\u7387"}]}},candle:{xAxis:{data:[]},yAxis:{},color:n,title:{text:""},dataZoom:[{type:"inside",xAxisIndex:[0,1],start:10,end:100},{show:!0,xAxisIndex:[0,1],type:"slider",bottom:10,start:10,end:100}],seriesTemplate:{name:"",type:"k",data:[]}}},r=i;e.default=r},e4d6:function(t,e,a){"use strict";a.r(e);var n=a("925e"),i=a("63c1");for(var r in i)["default"].indexOf(r)<0&&function(t){a.d(e,t,(function(){return i[t]}))}(r);a("b908");var o=a("828b"),s=Object(o["a"])(i["default"],n["b"],n["c"],!1,null,null,null,!1,n["a"],void 0);e["default"]=s.exports},e631:function(t,e,a){var n=a("c86c");e=n(!1),e.push([t.i,".box[data-v-71f2edbe]{width:calc(100% - .2vh);height:calc(100% - .2vh);position:relative;border:.1vh solid #145088;display:flex;justify-content:center}.box-main[data-v-71f2edbe]{width:96%;height:100%;display:flex;flex-direction:column;justify-content:flex-start;align-items:flex-start}.box-border[data-v-71f2edbe]{position:absolute;width:1.5vh;height:1.5vh}.box-border1[data-v-71f2edbe]{top:0;left:0;border-left:.1vh solid #31c4c4;border-top:.1vh solid #31c4c4}.box-border2[data-v-71f2edbe]{top:0;right:0;border-right:.1vh solid #31c4c4;border-top:.1vh solid #31c4c4}.box-border3[data-v-71f2edbe]{bottom:0;left:0;border-bottom:.1vh solid #31c4c4;border-left:.1vh solid #31c4c4}.box-border4[data-v-71f2edbe]{bottom:0;right:0;border-right:.1vh solid #31c4c4;border-bottom:.1vh solid #31c4c4}",""]),t.exports=e},e7b7:function(t,e,a){"use strict";var n=a("9b97"),i=a.n(n);i.a},e924:function(t,e,a){var n=a("d168");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var i=a("b49c").default;i("2a57666c",n,!0,{sourceMap:!1,shadowMode:!1})},e9e1:function(t,e,a){"use strict";a.r(e);var n=a("ac83"),i=a.n(n);for(var r in n)["default"].indexOf(r)<0&&function(t){a.d(e,t,(function(){return n[t]}))}(r);e["default"]=i.a},ea54:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={name:"qiun-data-charts",props:["type","canvasId","canvas2d","background","animation","chartData","opts","eopts","loadingType","errorShow","errorReload","errorMessage","inScrollView","reshow","reload","disableScroll","optsWatch","onzoom","ontap","ontouch","onmouse","onmovetip","echartsH5","echartsApp","tooltipShow","tooltipFormat","tooltipCustom","startDate","endDate","textEnum","groupEnum","pageScrollTop","directory","tapLegend","menus"],data:function(){return{wxsProps:{}}},components:{}}},ed43:function(t,e,a){"use strict";a.r(e);var n=a("40dd"),i=a("7543");for(var r in i)["default"].indexOf(r)<0&&function(t){a.d(e,t,(function(){return i[t]}))}(r);a("9fee");var o=a("828b"),s=Object(o["a"])(i["default"],n["b"],n["c"],!1,null,"99b3946c",null,!1,n["a"],void 0);e["default"]=s.exports},ed45:function(t,e){t.exports=function(t){if(Array.isArray(t))return t},t.exports.__esModule=!0,t.exports["default"]=t.exports},f01f:function(t,e,a){"use strict";var n=a("f247"),i=a.n(n);i.a},f1e8:function(t,e,a){"use strict";var n=a("88ff"),i=a.n(n);i.a},f247:function(t,e,a){var n=a("4604");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var i=a("b49c").default;i("7605153a",n,!0,{sourceMap:!1,shadowMode:!1})},f3b9:function(t,e,a){"use strict";function n(t){var e=Object.prototype.toString.call(t);return e.substring(8,e.length-1)}function i(){return"string"===typeof __channelId__&&__channelId__}function r(t,e){switch(n(e)){case"Function":return"function() { [native code] }";default:return e}}function o(t){for(var e=arguments.length,a=new Array(e>1?e-1:0),n=1;n<e;n++)a[n-1]=arguments[n];console[t].apply(console,a)}function s(){for(var t=arguments.length,e=new Array(t),a=0;a<t;a++)e[a]=arguments[a];var o=e.shift();if(i())return e.push(e.pop().replace("at ","uni-app:///")),console[o].apply(console,e);var s=e.map((function(t){var e=Object.prototype.toString.call(t).toLowerCase();if("[object object]"===e||"[object array]"===e)try{t="---BEGIN:JSON---"+JSON.stringify(t,r)+"---END:JSON---"}catch(i){t=e}else if(null===t)t="---NULL---";else if(void 0===t)t="---UNDEFINED---";else{var a=n(t).toUpperCase();t="NUMBER"===a||"BOOLEAN"===a?"---BEGIN:"+a+"---"+t+"---END:"+a+"---":String(t)}return t})),l="";if(s.length>1){var c=s.pop();l=s.join("---COMMA---"),0===c.indexOf(" at ")?l+=c:l+="---COMMA---"+c}else l=s[0];console[o](l)}a.r(e),a.d(e,"log",(function(){return o})),a.d(e,"default",(function(){return s}))},f5de:function(t,e,a){"use strict";a.d(e,"b",(function(){return n})),a.d(e,"c",(function(){return i})),a.d(e,"a",(function(){}));var n=function(){var t=this.$createElement,e=this._self._c||t;return e("uni-view",{staticClass:this._$g(0,"sc"),attrs:{_i:0}},[e("uni-view",{staticClass:this._$g(1,"sc"),attrs:{_i:1}}),e("uni-view",{staticClass:this._$g(2,"sc"),attrs:{_i:2}}),e("uni-view",{staticClass:this._$g(3,"sc"),attrs:{_i:3}}),e("uni-view",{staticClass:this._$g(4,"sc"),attrs:{_i:4}})],1)},i=[]},f6e5:function(t,e,a){"use strict";a.d(e,"b",(function(){return n})),a.d(e,"c",(function(){return i})),a.d(e,"a",(function(){}));var n=function(){var t=this.$createElement,e=this._self._c||t;return e("uni-view",{staticClass:this._$g(0,"sc"),attrs:{_i:0}},[e("uni-view",{staticClass:this._$g(1,"sc"),attrs:{_i:1}}),e("uni-view",{staticClass:this._$g(2,"sc"),attrs:{_i:2}}),e("uni-view",{staticClass:this._$g(3,"sc"),attrs:{_i:3}}),e("uni-view",{staticClass:this._$g(4,"sc"),attrs:{_i:4}})],1)},i=[]},f9c6:function(t,e,a){"use strict";var n=a("65fd"),i=a.n(n);i.a}});
\ No newline at end of file
+(function(t){var e={};function a(i){if(e[i])return e[i].exports;var n=e[i]={i:i,l:!1,exports:{}};return t[i].call(n.exports,n,n.exports,a),n.l=!0,n.exports}a.m=t,a.c=e,a.d=function(t,e,i){a.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},a.r=function(t){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},a.t=function(t,e){if(1&e&&(t=a(t)),8&e)return t;if(4&e&&"object"===typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(a.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var n in t)a.d(i,n,function(e){return t[e]}.bind(null,n));return i},a.n=function(t){var e=t&&t.__esModule?function(){return t["default"]}:function(){return t};return a.d(e,"a",e),e},a.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},a.p="./",a(a.s="dd49")})({"02c7":function(t,e,a){var i=a("7ec4");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var n=a("b49c").default;n("303990ea",i,!0,{sourceMap:!1,shadowMode:!1})},"02de":function(t,e,a){"use strict";var i=a("e924"),n=a.n(i);n.a},"04cd":function(t,e,a){"use strict";a.r(e);var i=a("675d"),n=a.n(i);for(var r in i)["default"].indexOf(r)<0&&function(t){a.d(e,t,(function(){return i[t]}))}(r);e["default"]=n.a},"0671":function(t,e,a){"use strict";a.r(e);var i=a("cc61"),n=a.n(i);for(var r in i)["default"].indexOf(r)<0&&function(t){a.d(e,t,(function(){return i[t]}))}(r);e["default"]=n.a},"078f":function(t,e,a){"use strict";a.r(e);var i=a("21fb"),n=a.n(i);for(var r in i)["default"].indexOf(r)<0&&function(t){a.d(e,t,(function(){return i[t]}))}(r);e["default"]=n.a},"0cb4":function(t,e,a){"use strict";var i=a("dd22"),n=a.n(i);n.a},"17c3":function(t,e,a){"use strict";(function(t){var i=a("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=i(a("34cf")),r=i(a("3b2d")),o={version:"v2.4.4-20221102",yAxisWidth:15,xAxisHeight:22,xAxisTextPadding:3,padding:[10,10,10,10],pixelRatio:1,rotate:!1,fontSize:13,fontColor:"#666666",dataPointShape:["circle","circle","circle","circle"],color:["#1890FF","#91CB74","#FAC858","#EE6666","#73C0DE","#3CA272","#FC8452","#9A60B4","#ea7ccc"],linearColor:["#0EE2F8","#2BDCA8","#FA7D8D","#EB88E2","#2AE3A0","#0EE2F8","#EB88E2","#6773E3","#F78A85"],pieChartLinePadding:15,pieChartTextPadding:5,titleFontSize:20,subtitleFontSize:15,toolTipPadding:3,toolTipBackground:"#000000",toolTipOpacity:.7,toolTipLineHeight:20,radarLabelTextMargin:13},s=function(t){for(var e=arguments.length,a=new Array(e>1?e-1:0),i=1;i<e;i++)a[i-1]=arguments[i];if(null==t)throw new TypeError("[uCharts] Cannot convert undefined or null to object");if(!a||a.length<=0)return t;function n(t,e){for(var a in e)t[a]=t[a]&&"[object Object]"===t[a].toString()?n(t[a],e[a]):t[a]=e[a];return t}return a.forEach((function(e){t=n(t,e)})),t},l={toFixed:function(t,e){return e=e||2,this.isFloat(t)&&(t=t.toFixed(e)),t},isFloat:function(t){return t%1!==0},approximatelyEqual:function(t,e){return Math.abs(t-e)<1e-10},isSameSign:function(t,e){return Math.abs(t)===t&&Math.abs(e)===e||Math.abs(t)!==t&&Math.abs(e)!==e},isSameXCoordinateArea:function(t,e){return this.isSameSign(t.x,e.x)},isCollision:function(t,e){t.end={},t.end.x=t.start.x+t.width,t.end.y=t.start.y-t.height,e.end={},e.end.x=e.start.x+e.width,e.end.y=e.start.y-e.height;var a=e.start.x>t.end.x||e.end.x<t.start.x||e.end.y>t.start.y||e.start.y<t.end.y;return!a}};function c(t,e){var a=t.replace(/^#?([a-f\d])([a-f\d])([a-f\d])$/i,(function(t,e,a,i){return e+e+a+a+i+i})),i=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(a),n=parseInt(i[1],16),r=parseInt(i[2],16),o=parseInt(i[3],16);return"rgba("+n+","+r+","+o+","+e+")"}function d(t,e,a){if(isNaN(t))throw new Error("[uCharts] series\u6570\u636e\u9700\u4e3aNumber\u683c\u5f0f");a=a||10,e=e||"upper";var i=1;while(a<1)a*=10,i*=10;t="upper"===e?Math.ceil(t*i):Math.floor(t*i);while(t%a!==0)if("upper"===e){if(t==t+1)break;t++}else t--;return t/i}function h(t,e,a,i,n){var r=n.width-n.area[1]-n.area[3],o=a.eachSpacing*(n.chartData.xAxisData.xAxisPoints.length-1);"mount"==n.type&&n.extra&&n.extra.mount&&n.extra.mount.widthRatio&&n.extra.mount.widthRatio>1&&(n.extra.mount.widthRatio>2&&(n.extra.mount.widthRatio=2),o+=(n.extra.mount.widthRatio-1)*a.eachSpacing);var s=e;return e>=0?(s=0,t.uevent.trigger("scrollLeft"),t.scrollOption.position="left",n.xAxis.scrollPosition="left"):Math.abs(e)>=o-r?(s=r-o,t.uevent.trigger("scrollRight"),t.scrollOption.position="right",n.xAxis.scrollPosition="right"):(t.scrollOption.position=e,n.xAxis.scrollPosition=e),s}function u(t,e,a){function i(t){while(t<0)t+=2*Math.PI;while(t>2*Math.PI)t-=2*Math.PI;return t}return t=i(t),e=i(e),a=i(a),e>a&&(a+=2*Math.PI,t<e&&(t+=2*Math.PI)),t>=e&&t<=a}function f(t,e){function a(t,e){return!(!t[e-1]||!t[e+1])&&(t[e].y>=Math.max(t[e-1].y,t[e+1].y)||t[e].y<=Math.min(t[e-1].y,t[e+1].y))}function i(t,e){return!(!t[e-1]||!t[e+1])&&(t[e].x>=Math.max(t[e-1].x,t[e+1].x)||t[e].x<=Math.min(t[e-1].x,t[e+1].x))}var n=.2,r=.2,o=null,s=null,l=null,c=null;if(e<1?(o=t[0].x+(t[1].x-t[0].x)*n,s=t[0].y+(t[1].y-t[0].y)*n):(o=t[e].x+(t[e+1].x-t[e-1].x)*n,s=t[e].y+(t[e+1].y-t[e-1].y)*n),e>t.length-3){var d=t.length-1;l=t[d].x-(t[d].x-t[d-1].x)*r,c=t[d].y-(t[d].y-t[d-1].y)*r}else l=t[e+1].x-(t[e+2].x-t[e].x)*r,c=t[e+1].y-(t[e+2].y-t[e].y)*r;return a(t,e+1)&&(c=t[e+1].y),a(t,e)&&(s=t[e].y),i(t,e+1)&&(l=t[e+1].x),i(t,e)&&(o=t[e].x),(s>=Math.max(t[e].y,t[e+1].y)||s<=Math.min(t[e].y,t[e+1].y))&&(s=t[e].y),(c>=Math.max(t[e].y,t[e+1].y)||c<=Math.min(t[e].y,t[e+1].y))&&(c=t[e+1].y),(o>=Math.max(t[e].x,t[e+1].x)||o<=Math.min(t[e].x,t[e+1].x))&&(o=t[e].x),(l>=Math.max(t[e].x,t[e+1].x)||l<=Math.min(t[e].x,t[e+1].x))&&(l=t[e+1].x),{ctrA:{x:o,y:s},ctrB:{x:l,y:c}}}function p(t,e,a){return{x:a.x+t,y:a.y-e}}function x(t,e){if(e)while(l.isCollision(t,e))t.start.x>0?t.start.y--:t.start.x<0||t.start.y>0?t.start.y++:t.start.y--;return t}function g(t,e,a){for(var i=0,n=0;n<t.length;n++){var r=t[n];if(r.color||(r.color=a.color[i],i=(i+1)%a.color.length),r.linearIndex||(r.linearIndex=n),r.index||(r.index=0),r.type||(r.type=e.type),"undefined"==typeof r.show&&(r.show=!0),r.type||(r.type=e.type),r.pointShape||(r.pointShape="circle"),!r.legendShape)switch(r.type){case"line":r.legendShape="line";break;case"column":case"bar":r.legendShape="rect";break;case"area":case"mount":r.legendShape="triangle";break;default:r.legendShape="circle"}}return t}function v(t,e,a,i){var n=e||[];if("custom"==t&&0==n.length&&(n=i.linearColor),"custom"==t&&n.length<a.length)for(var r=a.length-n.length,o=0;o<r;o++)n.push(i.linearColor[(o+1)%i.linearColor.length]);return n}function m(t,e){var a=0,i=e-t;return a=i>=1e4?1e3:i>=1e3?100:i>=100?10:i>=10?5:i>=1?1:i>=.1?.1:i>=.01?.01:i>=.001?.001:i>=1e-4?1e-4:i>=1e-5?1e-5:1e-6,{minRange:d(t,"lower",a),maxRange:d(e,"upper",a)}}function y(t,e,a){var i=0;if(t=String(t),!1!==a&&void 0!==a&&a.setFontSize&&a.measureText)return a.setFontSize(e),a.measureText(t).width;t=t.split("");for(var n=0;n<t.length;n++){var r=t[n];/[a-zA-Z]/.test(r)?i+=7:/[0-9]/.test(r)?i+=5.5:/\./.test(r)?i+=2.7:/-/.test(r)?i+=3.25:/:/.test(r)?i+=2.5:/[\u4e00-\u9fa5]/.test(r)?i+=10:/\(|\)/.test(r)?i+=3.73:/\s/.test(r)?i+=2.5:/%/.test(r)?i+=8:i+=10}return i*e/10}function b(t){return t.reduce((function(t,e){return(t.data?t.data:t).concat(e.data)}),[])}function w(t,e){for(var a=new Array(e),i=0;i<a.length;i++)a[i]=0;for(var n=0;n<t.length;n++)for(i=0;i<a.length;i++)a[i]+=t[n].data[i];return t.reduce((function(t,e){return(t.data?t.data:t).concat(e.data).concat(a)}),[])}function _(t,e,a){var i,n;return t.clientX?e.rotate?(n=e.height-t.clientX*e.pix,i=(t.pageY-a.currentTarget.offsetTop-e.height/e.pix/2*(e.pix-1))*e.pix):(i=t.clientX*e.pix,n=(t.pageY-a.currentTarget.offsetTop-e.height/e.pix/2*(e.pix-1))*e.pix):e.rotate?(n=e.height-t.x*e.pix,i=t.y*e.pix):(i=t.x*e.pix,n=t.y*e.pix),{x:i,y:n}}function C(t,e,a){var i=[],n=[],r=e.constructor.toString().indexOf("Array")>-1;if(r)for(var o=M(t),s=0;s<a.length;s++)n.push(o[a[s]]);else n=t;for(var l=0;l<n.length;l++){var c=n[l],d=-1;if(d=r?e[l]:e,null!==c.data[d]&&"undefined"!==typeof c.data[d]&&c.show){var h={};h.color=c.color,h.type=c.type,h.style=c.style,h.pointShape=c.pointShape,h.disableLegend=c.disableLegend,h.name=c.name,h.show=c.show,h.data=c.formatter?c.formatter(c.data[d]):c.data[d],i.push(h)}}return i}function A(t,e,a){var i=t.map((function(t){return y(t,e,a)}));return Math.max.apply(null,i)}function S(t){for(var e=2*Math.PI/t,a=[],i=0;i<t;i++)a.push(e*i);return a.map((function(t){return-1*t+Math.PI/2}))}function T(t,e,a,i,n){var r=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{},o=e.chartData.calPoints?e.chartData.calPoints:[],s={};if(i.length>0){for(var l=[],c=0;c<i.length;c++)l.push(o[i[c]]);s=l[0][a[0]]}else for(var d=0;d<o.length;d++)if(o[d][a]){s=o[d][a];break}var h=t.map((function(t){var i=null;return e.categories&&e.categories.length>0&&(i=n[a]),{text:r.formatter?r.formatter(t,i,a,e):t.name+": "+t.data,color:t.color}})),u={x:Math.round(s.x),y:Math.round(s.y)};return{textList:h,offset:u}}function k(t,e,a,i){var n=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},r=e.chartData.xAxisPoints[a]+e.chartData.eachSpacing/2,o=t.map((function(t){return{text:n.formatter?n.formatter(t,i[a],a,e):t.name+": "+t.data,color:t.color,disableLegend:!!t.disableLegend}}));o=o.filter((function(t){if(!0!==t.disableLegend)return t}));var s={x:Math.round(r),y:0};return{textList:o,offset:s}}function P(t,e,a,i,n,r){var o=a.chartData.calPoints,s=r.color.upFill,l=r.color.downFill,c=[s,s,l,s],d=[];e.map((function(e){0==i?e.data[1]-e.data[0]<0?c[1]=l:c[1]=s:(e.data[0]<t[i-1][1]&&(c[0]=l),e.data[1]<e.data[0]&&(c[1]=l),e.data[2]>t[i-1][1]&&(c[2]=s),e.data[3]<t[i-1][1]&&(c[3]=l));var a={text:"\u5f00\u76d8\uff1a"+e.data[0],color:c[0]},n={text:"\u6536\u76d8\uff1a"+e.data[1],color:c[1]},r={text:"\u6700\u4f4e\uff1a"+e.data[2],color:c[2]},o={text:"\u6700\u9ad8\uff1a"+e.data[3],color:c[3]};d.push(a,n,r,o)}));for(var h=[],u={x:0,y:0},f=0;f<o.length;f++){var p=o[f];"undefined"!==typeof p[i]&&null!==p[i]&&h.push(p[i])}return u.x=Math.round(h[0][0].x),{textList:d,offset:u}}function M(t){for(var e=[],a=0;a<t.length;a++)1==t[a].show&&e.push(t[a]);return e}function D(t,e,a){return t.x<=e.width-e.area[1]+10&&t.x>=e.area[3]-10&&t.y>=e.area[0]&&t.y<=e.height-e.area[2]}function F(t,e,a){return Math.pow(t.x-e.x,2)+Math.pow(t.y-e.y,2)<=Math.pow(a,2)}function $(t,e){var a=[],i=[];return t.forEach((function(t,n){e.connectNulls?null!==t&&i.push(t):null!==t?i.push(t):(i.length&&a.push(i),i=[])})),i.length&&a.push(i),a}function L(t,e,a,i,n){var r={angle:0,xAxisHeight:a.xAxisHeight},o=e.xAxis.fontSize*e.pix||a.fontSize,s=t.map((function(t,a){var i=e.xAxis.formatter?e.xAxis.formatter(t,a,e):t;return y(String(i),o,n)})),l=Math.max.apply(this,s);if(1==e.xAxis.rotateLabel){r.angle=e.xAxis.rotateAngle*Math.PI/180;var c=2*a.xAxisTextPadding+Math.abs(l*Math.sin(r.angle));c=c<o+2*a.xAxisTextPadding?c+2*a.xAxisTextPadding:c,1==e.enableScroll&&1==e.xAxis.scrollShow&&(c+=12*e.pix),r.xAxisHeight=c}return e.xAxis.disabled&&(r.xAxisHeight=0),r}function O(t,e,a,i){var n=s({},{type:""},e.extra.bar),o={angle:0,xAxisHeight:a.xAxisHeight};o.ranges=function(t,e,a,i){var n,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:-1;n="stack"==i?w(t,e.categories.length):b(t);var s=[];n=n.filter((function(t){return"object"===(0,r.default)(t)&&null!==t?t.constructor.toString().indexOf("Array")>-1?null!==t:null!==t.value:null!==t})),n.map((function(t){"object"===(0,r.default)(t)?t.constructor.toString().indexOf("Array")>-1?"candle"==e.type?t.map((function(t){s.push(t)})):s.push(t[0]):s.push(t.value):s.push(t)}));var l=0,c=0;if(s.length>0&&(l=Math.min.apply(this,s),c=Math.max.apply(this,s)),o>-1?("number"===typeof e.xAxis.data[o].min&&(l=Math.min(e.xAxis.data[o].min,l)),"number"===typeof e.xAxis.data[o].max&&(c=Math.max(e.xAxis.data[o].max,c))):("number"===typeof e.xAxis.min&&(l=Math.min(e.xAxis.min,l)),"number"===typeof e.xAxis.max&&(c=Math.max(e.xAxis.max,c))),l===c){var d=c||10;c+=d}for(var h=l,u=c,f=[],p=(u-h)/e.xAxis.splitNumber,x=0;x<=e.xAxis.splitNumber;x++)f.push(h+p*x);return f}(t,e,a,n.type),o.rangesFormat=o.ranges.map((function(t){return t=l.toFixed(t,2),t}));var c=o.ranges.map((function(t){return t=l.toFixed(t,2),t}));o=Object.assign(o,X(c,e,a));var d=o.eachSpacing,h=c.map((function(t){return y(t,e.xAxis.fontSize*e.pix||a.fontSize,i)})),u=Math.max.apply(this,h);return u+2*a.xAxisTextPadding>d&&(o.angle=45*Math.PI/180,o.xAxisHeight=2*a.xAxisTextPadding+u*Math.sin(o.angle)),!0===e.xAxis.disabled&&(o.xAxisHeight=0),o}function I(t,e,a,i,n){var r=arguments.length>5&&void 0!==arguments[5]?arguments[5]:1,o=n.extra.radar||{};o.max=o.max||0;for(var s=Math.max(o.max,Math.max.apply(null,b(i))),l=[],c=function(n){var o=i[n],c={};c.color=o.color,c.legendShape=o.legendShape,c.pointShape=o.pointShape,c.data=[],o.data.forEach((function(i,n){var o={};o.angle=t[n],o.proportion=i/s,o.value=i,o.position=p(a*o.proportion*r*Math.cos(o.angle),a*o.proportion*r*Math.sin(o.angle),e),c.data.push(o)})),l.push(c)},d=0;d<i.length;d++)c(d);return l}function E(t,e){for(var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,i=0,n=0,r=0;r<t.length;r++){var o=t[r];o.data=null===o.data?0:o.data,i+=o.data}for(var s=0;s<t.length;s++){var l=t[s];l.data=null===l.data?0:l.data,l._proportion_=0===i?1/t.length*a:l.data/i*a,l._radius_=e}for(var c=0;c<t.length;c++){var d=t[c];d._start_=n,n+=2*d._proportion_*Math.PI}return t}function z(t,e,a,i){for(var n=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,r=0;r<t.length;r++)"funnel"==a.type?t[r].radius=t[r].data/t[0].data*e*n:t[r].radius=i*(t.length-r)/(i*t.length)*e*n,t[r]._proportion_=t[r].data/t[0].data;return t}function B(t,e,a,i){for(var n=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,r=0,o=0,s=[],l=0;l<t.length;l++){var c=t[l];c.data=null===c.data?0:c.data,r+=c.data,s.push(c.data)}for(var d=Math.min.apply(null,s),h=Math.max.apply(null,s),u=i-a,f=0;f<t.length;f++){var p=t[f];p.data=null===p.data?0:p.data,0===r?(p._proportion_=1/t.length*n,p._rose_proportion_=1/t.length*n):(p._proportion_=p.data/r*n,p._rose_proportion_="area"==e?1/t.length*n:p.data/r*n),p._radius_=a+u*((p.data-d)/(h-d))||i}for(var x=0;x<t.length;x++){var g=t[x];g._start_=o,o+=2*g._rose_proportion_*Math.PI}return t}function W(t,e){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;1==a&&(a=.999999);for(var i=0;i<t.length;i++){var n=t[i];n.data=null===n.data?0:n.data;var r=void 0;r="circle"==e.type?2:"ccw"==e.direction?e.startAngle<e.endAngle?2+e.startAngle-e.endAngle:e.startAngle-e.endAngle:e.endAngle<e.startAngle?2+e.endAngle-e.startAngle:e.startAngle-e.endAngle,n._proportion_=r*n.data*a+e.startAngle,"ccw"==e.direction&&(n._proportion_=e.startAngle-r*n.data*a),n._proportion_>=2&&(n._proportion_=n._proportion_%2)}return t}function R(t,e){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;1==a&&(a=.999999);for(var i=0;i<t.length;i++){var n=t[i];n.data=null===n.data?0:n.data;var r=void 0;r="circle"==e.type?2:e.endAngle<e.startAngle?2+e.endAngle-e.startAngle:e.startAngle-e.endAngle,n._proportion_=r*n.data*a+e.startAngle,n._proportion_>=2&&(n._proportion_=n._proportion_%2)}return t}function j(t,e,a){for(var i=e-a+1,n=e,r=0;r<t.length;r++)t[r].value=null===t[r].value?0:t[r].value,t[r]._startAngle_=n,t[r]._endAngle_=i*t[r].value+e,t[r]._endAngle_>=2&&(t[r]._endAngle_=t[r]._endAngle_%2),n=t[r]._endAngle_;return t}function G(t,e,a){for(var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1,n=0;n<t.length;n++){var r=t[n];if(r.data=null===r.data?0:r.data,"auto"==a.pointer.color){for(var o=0;o<e.length;o++)if(r.data<=e[o].value){r.color=e[o].color;break}}else r.color=a.pointer.color;var s=a.startAngle-a.endAngle+1;r._endAngle_=s*r.data+a.startAngle,r._oldAngle_=a.oldAngle,a.oldAngle<a.endAngle&&(r._oldAngle_+=2),r.data>=a.oldData?r._proportion_=(r._endAngle_-r._oldAngle_)*i+a.oldAngle:r._proportion_=r._oldAngle_-(r._oldAngle_-r._endAngle_)*i,r._proportion_>=2&&(r._proportion_=r._proportion_%2)}return t}function N(t,e,a,i,n,r){return t.map((function(t){if(null===t)return null;var n=0,o=0;return"mix"==r.type?(n=r.extra.mix.column.seriesGap*r.pix||0,o=r.extra.mix.column.categoryGap*r.pix||0):(n=r.extra.column.seriesGap*r.pix||0,o=r.extra.column.categoryGap*r.pix||0),n=Math.min(n,e/a),o=Math.min(o,e/a),t.width=Math.ceil((e-2*o-n*(a-1))/a),r.extra.mix&&r.extra.mix.column.width&&+r.extra.mix.column.width>0&&(t.width=Math.min(t.width,+r.extra.mix.column.width*r.pix)),r.extra.column&&r.extra.column.width&&+r.extra.column.width>0&&(t.width=Math.min(t.width,+r.extra.column.width*r.pix)),t.width<=0&&(t.width=1),t.x+=(i+.5-a/2)*(t.width+n),t}))}function Y(t,e,a,i,n,r){return t.map((function(t){if(null===t)return null;var n=0,o=0;return n=r.extra.bar.seriesGap*r.pix||0,o=r.extra.bar.categoryGap*r.pix||0,n=Math.min(n,e/a),o=Math.min(o,e/a),t.width=Math.ceil((e-2*o-n*(a-1))/a),r.extra.bar&&r.extra.bar.width&&+r.extra.bar.width>0&&(t.width=Math.min(t.width,+r.extra.bar.width*r.pix)),t.width<=0&&(t.width=1),t.y+=(i+.5-a/2)*(t.width+n),t}))}function U(t,e,a,i,n,r,o){var s=r.extra.column.categoryGap*r.pix||0;return t.map((function(t){return null===t?null:(t.width=e-2*s,r.extra.column&&r.extra.column.width&&+r.extra.column.width>0&&(t.width=Math.min(t.width,+r.extra.column.width*r.pix)),i>0&&(t.width-=o),t)}))}function V(t,e,a,i,n,r,o){var s=r.extra.column.categoryGap*r.pix||0;return t.map((function(t,a){return null===t?null:(t.width=Math.ceil(e-2*s),r.extra.column&&r.extra.column.width&&+r.extra.column.width>0&&(t.width=Math.min(t.width,+r.extra.column.width*r.pix)),t.width<=0&&(t.width=1),t)}))}function H(t,e,a,i,n,r,o){var s=r.extra.bar.categoryGap*r.pix||0;return t.map((function(t,a){return null===t?null:(t.width=Math.ceil(e-2*s),r.extra.bar&&r.extra.bar.width&&+r.extra.bar.width>0&&(t.width=Math.min(t.width,+r.extra.bar.width*r.pix)),t.width<=0&&(t.width=1),t)}))}function X(t,e,a){var i=e.width-e.area[1]-e.area[3],n=e.enableScroll?Math.min(e.xAxis.itemCount,t.length):t.length;("line"==e.type||"area"==e.type||"scatter"==e.type||"bubble"==e.type||"bar"==e.type)&&n>1&&"justify"==e.xAxis.boundaryGap&&(n-=1);var r=0;"mount"==e.type&&e.extra&&e.extra.mount&&e.extra.mount.widthRatio&&e.extra.mount.widthRatio>1&&(e.extra.mount.widthRatio>2&&(e.extra.mount.widthRatio=2),r=e.extra.mount.widthRatio-1,n+=r);var o=i/n,s=[],l=e.area[3],c=e.width-e.area[1];return t.forEach((function(t,e){s.push(l+r/2*o+e*o)})),"justify"!==e.xAxis.boundaryGap&&(!0===e.enableScroll?s.push(l+r*o+t.length*o):s.push(c)),{xAxisPoints:s,startX:l,endX:c,eachSpacing:o}}function q(t,e,a,i,n,r,o){var s=arguments.length>7&&void 0!==arguments[7]?arguments[7]:1,l=[],c=r.height-r.area[0]-r.area[2];return t.forEach((function(t,o){if(null===t)l.push(null);else{var d=[];t.forEach((function(t,l){var h={};h.x=i[o]+Math.round(n/2);var u=t.value||t,f=c*(u-e)/(a-e);f*=s,h.y=r.height-Math.round(f)-r.area[2],d.push(h)})),l.push(d)}})),l}function J(t,e,a,i,n,o,s){var l=arguments.length>7&&void 0!==arguments[7]?arguments[7]:1,c="center";"line"!=o.type&&"area"!=o.type&&"scatter"!=o.type&&"bubble"!=o.type||(c=o.xAxis.boundaryGap);var d=[],h=o.height-o.area[0]-o.area[2],u=o.width-o.area[1]-o.area[3];return t.forEach((function(t,s){if(null===t)d.push(null);else{var f={};f.color=t.color,f.x=i[s];var p,x,g,v=t;if("object"===(0,r.default)(t)&&null!==t)if(t.constructor.toString().indexOf("Array")>-1)p=[].concat(o.chartData.xAxisData.ranges),x=p.shift(),g=p.pop(),v=t[1],f.x=o.area[3]+u*(t[0]-x)/(g-x),"bubble"==o.type&&(f.r=t[2],f.t=t[3]);else v=t.value;"center"==c&&(f.x+=n/2);var m=h*(v-e)/(a-e);m*=l,f.y=o.height-m-o.area[2],d.push(f)}})),d}function Q(t,e,a,i,n,r,o){var s=arguments.length>7&&void 0!==arguments[7]?arguments[7]:1,l=[],c=r.height-r.area[0]-r.area[2],d=(r.width,r.area[1],r.area[3],n*o.widthRatio);return t.forEach((function(t,o){if(null===t)l.push(null);else{var h={};h.color=t.color,h.x=i[o],h.x+=n/2;var u=t.data,f=c*(u-e)/(a-e);f*=s,h.y=r.height-f-r.area[2],h.value=u,h.width=d,l.push(h)}})),l}function Z(t,e,a,i,n,o,s){var l=arguments.length>7&&void 0!==arguments[7]?arguments[7]:1,c=[],d=(o.height,o.area[0],o.area[2],o.width-o.area[1]-o.area[3]);return t.forEach((function(t,n){if(null===t)c.push(null);else{var s={};s.color=t.color,s.y=i[n];var h=t;"object"===(0,r.default)(t)&&null!==t&&(h=t.value);var u=d*(h-e)/(a-e);u*=l,s.height=u,s.value=h,s.x=u+o.area[3],c.push(s)}})),c}function K(t,e,a,i,n,o,s,l,c){var d=arguments.length>9&&void 0!==arguments[9]?arguments[9]:1,h=[],u=o.height-o.area[0]-o.area[2];return t.forEach((function(t,s){if(null===t)h.push(null);else{var f={};if(f.color=t.color,f.x=i[s]+Math.round(n/2),l>0){for(var p=0,x=0;x<=l;x++)p+=c[x].data[s];var g=p-t,v=u*(p-e)/(a-e),m=u*(g-e)/(a-e)}else{p=t;"object"===(0,r.default)(t)&&null!==t&&(p=t.value);v=u*(p-e)/(a-e),m=0}var y=m;v*=d,y*=d,f.y=o.height-Math.round(v)-o.area[2],f.y0=o.height-Math.round(y)-o.area[2],h.push(f)}})),h}function tt(t,e,a,i,n,o,s,l,c){var d=arguments.length>9&&void 0!==arguments[9]?arguments[9]:1,h=[],u=o.width-o.area[1]-o.area[3];return t.forEach((function(t,n){if(null===t)h.push(null);else{var s={};if(s.color=t.color,s.y=i[n],l>0){for(var f=0,p=0;p<=l;p++)f+=c[p].data[n];var x=f-t,g=u*(f-e)/(a-e),v=u*(x-e)/(a-e)}else{f=t;"object"===(0,r.default)(t)&&null!==t&&(f=t.value);g=u*(f-e)/(a-e),v=0}var m=v;g*=d,m*=d,s.height=g-m,s.x=o.area[3]+g,s.x0=o.area[3]+m,h.push(s)}})),h}function et(t,e,a,i,n){var o;o="stack"==i?w(t,e.categories.length):b(t);var s=[];o=o.filter((function(t){return"object"===(0,r.default)(t)&&null!==t?t.constructor.toString().indexOf("Array")>-1?null!==t:null!==t.value:null!==t})),o.map((function(t){"object"===(0,r.default)(t)?t.constructor.toString().indexOf("Array")>-1?"candle"==e.type?t.map((function(t){s.push(t)})):s.push(t[1]):s.push(t.value):s.push(t)}));var l=n.min||0,c=n.max||0;s.length>0&&(l=Math.min.apply(this,s),c=Math.max.apply(this,s)),l===c&&(0==c?c=10:l=0);for(var d=m(l,c),h=void 0===n.min||null===n.min?d.minRange:n.min,u=void 0===n.max||null===n.max?d.maxRange:n.max,f=(u-h)/e.yAxis.splitNumber,p=[],x=0;x<=e.yAxis.splitNumber;x++)p.push(h+f*x);return p.reverse()}function at(t,e,a,i){var n=s({},{type:""},e.extra.column),r=e.yAxis.data.length,o=new Array(r);if(r>0){for(var c=0;c<r;c++){o[c]=[];for(var d=0;d<t.length;d++)t[d].index==c&&o[c].push(t[d])}for(var h=new Array(r),u=new Array(r),f=new Array(r),p=function(t){var r=e.yAxis.data[t];1==e.yAxis.disabled&&(r.disabled=!0),"categories"===r.type?(r.formatter||(r.formatter=function(t,e,a){return t+(r.unit||"")}),r.categories=r.categories||e.categories,h[t]=r.categories):(r.formatter||(r.formatter=function(t,e,a){return l.toFixed(t,r.tofix||0)+(r.unit||"")}),h[t]=et(o[t],e,a,n.type,r,t));var s=r.fontSize*e.pix||a.fontSize;f[t]={position:r.position?r.position:"left",width:0},u[t]=h[t].map((function(a,n){return a=r.formatter(a,n,e),f[t].width=Math.max(f[t].width,y(a,s,i)+5),a}));var c=r.calibration?4*e.pix:0;f[t].width+=c+3*e.pix,!0===r.disabled&&(f[t].width=0)},x=0;x<r;x++)p(x)}else{h=new Array(1),u=new Array(1),f=new Array(1);"bar"===e.type?h[0]=e.categories:h[0]=et(t,e,a,n.type,{}),f[0]={position:"left",width:0},!0===e.yAxis.disabled?(f[0]={position:"left",width:0},e.yAxis.data[0]={disabled:!0}):(e.yAxis.data[0]={disabled:!1,position:"left",max:e.yAxis.max,min:e.yAxis.min,formatter:function(t,e,a){return t}},"bar"===e.type&&(e.yAxis.data[0].categories=e.categories,e.yAxis.data[0].type="categories"));var g=e.yAxis.fontSize*e.pix||a.fontSize;u[0]=h[0].map((function(t,a){return t=e.yAxis.data[0].formatter(t,a,e),f[0].width=Math.max(f[0].width,y(t,g,i)+5),t})),f[0].width+=3*e.pix}return{rangesFormat:u,ranges:h,yAxisWidth:f}}function it(t,e){!0!==e.rotateLock?(t.translate(e.height,0),t.rotate(90*Math.PI/180)):!0!==e._rotate_&&(t.translate(e.height,0),t.rotate(90*Math.PI/180),e._rotate_=!0)}function nt(t,e,a,i,n){if(i.beginPath(),"hollow"==n.dataPointShapeType?(i.setStrokeStyle(e),i.setFillStyle(n.background),i.setLineWidth(2*n.pix)):(i.setStrokeStyle("#ffffff"),i.setFillStyle(e),i.setLineWidth(1*n.pix)),"diamond"===a)t.forEach((function(t,e){null!==t&&(i.moveTo(t.x,t.y-4.5),i.lineTo(t.x-4.5,t.y),i.lineTo(t.x,t.y+4.5),i.lineTo(t.x+4.5,t.y),i.lineTo(t.x,t.y-4.5))}));else if("circle"===a)t.forEach((function(t,e){null!==t&&(i.moveTo(t.x+2.5*n.pix,t.y),i.arc(t.x,t.y,3*n.pix,0,2*Math.PI,!1))}));else if("square"===a)t.forEach((function(t,e){null!==t&&(i.moveTo(t.x-3.5,t.y-3.5),i.rect(t.x-3.5,t.y-3.5,7,7))}));else if("triangle"===a)t.forEach((function(t,e){null!==t&&(i.moveTo(t.x,t.y-4.5),i.lineTo(t.x-4.5,t.y+4.5),i.lineTo(t.x+4.5,t.y+4.5),i.lineTo(t.x,t.y-4.5))}));else if("none"===a)return;i.closePath(),i.fill(),i.stroke()}function rt(t,e,a,i){var n=t.title.fontSize||e.titleFontSize,r=t.subtitle.fontSize||e.subtitleFontSize,o=t.title.name||"",s=t.subtitle.name||"",l=t.title.color||t.fontColor,c=t.subtitle.color||t.fontColor,d=o?n:0,h=s?r:0;if(s){var u=y(s,r*t.pix,a),f=i.x-u/2+(t.subtitle.offsetX||0)*t.pix,p=i.y+r*t.pix/2+(t.subtitle.offsetY||0)*t.pix;o&&(p+=(d*t.pix+5)/2),a.beginPath(),a.setFontSize(r*t.pix),a.setFillStyle(c),a.fillText(s,f,p),a.closePath(),a.stroke()}if(o){var x=y(o,n*t.pix,a),g=i.x-x/2+(t.title.offsetX||0),v=i.y+n*t.pix/2+(t.title.offsetY||0)*t.pix;s&&(v-=(h*t.pix+5)/2),a.beginPath(),a.setFontSize(n*t.pix),a.setFillStyle(l),a.fillText(o,g,v),a.closePath(),a.stroke()}}function ot(t,e,a,i,n){var o=e.data,s=e.textOffset?e.textOffset:0;t.forEach((function(t,l){if(null!==t){i.beginPath();var c=e.textSize?e.textSize*n.pix:a.fontSize;i.setFontSize(c),i.setFillStyle(e.textColor||n.fontColor);var d=o[l];"object"===(0,r.default)(o[l])&&null!==o[l]&&(d=o[l].constructor.toString().indexOf("Array")>-1?o[l][1]:o[l].value);var h=e.formatter?e.formatter(d,l,e,n):d;i.setTextAlign("center"),i.fillText(String(h),t.x,t.y-4+s*n.pix),i.closePath(),i.stroke(),i.setTextAlign("left")}}))}function st(t,e,a,i,n){e.data;var r=e.textOffset?e.textOffset:0;t.forEach((function(t,o){if(null!==t){i.beginPath();var s=e[o].textSize?e[o].textSize*n.pix:a.fontSize;i.setFontSize(s),i.setFillStyle(e[o].textColor||n.fontColor);var l=t.value,c=e[o].formatter?e[o].formatter(l,o,e,n):l;i.setTextAlign("center"),i.fillText(String(c),t.x,t.y-4+r*n.pix),i.closePath(),i.stroke(),i.setTextAlign("left")}}))}function lt(t,e,a,i,n){var o=e.data;e.textOffset&&e.textOffset;t.forEach((function(t,s){if(null!==t){i.beginPath();var l=e.textSize?e.textSize*n.pix:a.fontSize;i.setFontSize(l),i.setFillStyle(e.textColor||n.fontColor);var c=o[s];"object"===(0,r.default)(o[s])&&null!==o[s]&&(c=o[s].value);var d=e.formatter?e.formatter(c,s,e,n):c;i.setTextAlign("left"),i.fillText(String(d),t.x+4*n.pix,t.y+l/2-3),i.closePath(),i.stroke()}}))}function ct(t,e,a,i,n,r){e-=t.width/2+t.labelOffset*i.pix,e=e<10?10:e;for(var o=t.startAngle-t.endAngle+1,s=o/t.splitLine.splitNumber,l=t.endNumber-t.startNumber,c=l/t.splitLine.splitNumber,d=t.startAngle,h=t.startNumber,u=0;u<t.splitLine.splitNumber+1;u++){var f={x:e*Math.cos(d*Math.PI),y:e*Math.sin(d*Math.PI)},p=t.formatter?t.formatter(h,u,i):h;f.x+=a.x-y(p,n.fontSize,r)/2,f.y+=a.y;var x=f.x,g=f.y;r.beginPath(),r.setFontSize(n.fontSize),r.setFillStyle(t.labelColor||i.fontColor),r.fillText(p,x,g+n.fontSize/2),r.closePath(),r.stroke(),d+=s,d>=2&&(d%=2),h+=c}}function dt(t,e,a,i,n,r){var o=i.extra.radar||{};t.forEach((function(t,s){if(!0===o.labelPointShow&&""!==i.categories[s]){var c={x:e*Math.cos(t),y:e*Math.sin(t)},d=p(c.x,c.y,a);r.setFillStyle(o.labelPointColor),r.beginPath(),r.arc(d.x,d.y,o.labelPointRadius*i.pix,0,2*Math.PI,!1),r.closePath(),r.fill()}var h={x:(e+n.radarLabelTextMargin*i.pix)*Math.cos(t),y:(e+n.radarLabelTextMargin*i.pix)*Math.sin(t)},u=p(h.x,h.y,a),f=u.x,x=u.y;l.approximatelyEqual(h.x,0)?f-=y(i.categories[s]||"",n.fontSize,r)/2:h.x<0&&(f-=y(i.categories[s]||"",n.fontSize,r)),r.beginPath(),r.setFontSize(n.fontSize),r.setFillStyle(o.labelColor||i.fontColor),r.fillText(i.categories[s]||"",f,x+n.fontSize/2),r.closePath(),r.stroke()}))}function ht(t,e,a,i,n,r){for(var o=a.pieChartLinePadding,s=[],c=null,d=t.map((function(a,i){var n=a.formatter?a.formatter(a,i,t,e):l.toFixed(100*a._proportion_.toFixed(4))+"%";n=a.labelText?a.labelText:n;var r=2*Math.PI-(a._start_+2*Math.PI*a._proportion_/2);a._rose_proportion_&&(r=2*Math.PI-(a._start_+2*Math.PI*a._rose_proportion_/2));var o=a.color,s=a._radius_;return{arc:r,text:n,color:o,radius:s,textColor:a.textColor,textSize:a.textSize,labelShow:a.labelShow}})),h=0;h<d.length;h++){var u=d[h],f=Math.cos(u.arc)*(u.radius+o),g=Math.sin(u.arc)*(u.radius+o),v=Math.cos(u.arc)*u.radius,m=Math.sin(u.arc)*u.radius,b=f>=0?f+a.pieChartTextPadding:f-a.pieChartTextPadding,w=g,_=y(u.text,u.textSize*e.pix||a.fontSize,i),C=w;c&&l.isSameXCoordinateArea(c.start,{x:b})&&(C=b>0?Math.min(w,c.start.y):f<0||w>0?Math.max(w,c.start.y):Math.min(w,c.start.y)),b<0&&(b-=_);var A={lineStart:{x:v,y:m},lineEnd:{x:f,y:g},start:{x:b,y:C},width:_,height:a.fontSize,text:u.text,color:u.color,textColor:u.textColor,textSize:u.textSize};c=x(A,c),s.push(c)}for(var S=0;S<s.length;S++)if(!1!==d[S].labelShow){var T=s[S],k=p(T.lineStart.x,T.lineStart.y,r),P=p(T.lineEnd.x,T.lineEnd.y,r),M=p(T.start.x,T.start.y,r);i.setLineWidth(1*e.pix),i.setFontSize(T.textSize*e.pix||a.fontSize),i.beginPath(),i.setStrokeStyle(T.color),i.setFillStyle(T.color),i.moveTo(k.x,k.y);var D=T.start.x<0?M.x+T.width:M.x,F=T.start.x<0?M.x-5:M.x+5;i.quadraticCurveTo(P.x,P.y,D,M.y),i.moveTo(k.x,k.y),i.stroke(),i.closePath(),i.beginPath(),i.moveTo(M.x+T.width,M.y),i.arc(D,M.y,2*e.pix,0,2*Math.PI),i.closePath(),i.fill(),i.beginPath(),i.setFontSize(T.textSize*e.pix||a.fontSize),i.setFillStyle(T.textColor||e.fontColor),i.fillText(T.text,F,M.y+3),i.closePath(),i.stroke(),i.closePath()}}function ut(t,e,a){for(var i=s({},{type:"solid",dashLength:4,data:[]},t.extra.markLine),n=t.area[3],r=t.width-t.area[1],o=function(t,e){for(var a,i,n=e.height-e.area[0]-e.area[2],r=0;r<t.length;r++){t[r].yAxisIndex=t[r].yAxisIndex?t[r].yAxisIndex:0;var o=[].concat(e.chartData.yAxisData.ranges[t[r].yAxisIndex]);a=o.pop(),i=o.shift();var s=n*(t[r].value-a)/(i-a);t[r].y=e.height-Math.round(s)-e.area[2]}return t}(i.data,t),l=0;l<o.length;l++){var d=s({},{lineColor:"#DE4A42",showLabel:!1,labelFontColor:"#666666",labelBgColor:"#DFE8FF",labelBgOpacity:.8,labelAlign:"left",labelOffsetX:0,labelOffsetY:0},o[l]);if("dash"==i.type&&a.setLineDash([i.dashLength,i.dashLength]),a.setStrokeStyle(d.lineColor),a.setLineWidth(1*t.pix),a.beginPath(),a.moveTo(n,d.y),a.lineTo(r,d.y),a.stroke(),a.setLineDash([]),d.showLabel){var h=d.labelText?d.labelText:d.value;a.setFontSize(e.fontSize);var u=y(h,e.fontSize,a),f=u+2*e.toolTipPadding,p="left"==d.labelAlign?t.area[3]-f:t.width-t.area[1];p+=d.labelOffsetX;var x=d.y-.5*e.fontSize-e.toolTipPadding;x+=d.labelOffsetY;var g=p+e.toolTipPadding;d.y;a.setFillStyle(c(d.labelBgColor,d.labelBgOpacity)),a.setStrokeStyle(d.labelBgColor),a.setLineWidth(1*t.pix),a.beginPath(),a.rect(p,x,f,e.fontSize+2*e.toolTipPadding),a.closePath(),a.stroke(),a.fill(),a.setFontSize(e.fontSize),a.setTextAlign("left"),a.setFillStyle(d.labelFontColor),a.fillText(String(h),g,x+e.fontSize+e.toolTipPadding/2),a.stroke(),a.setTextAlign("left")}}}function ft(t,e,a,i,n){var r=s({},{gridType:"solid",dashLength:4},t.extra.tooltip),o=t.area[3],l=t.width-t.area[1];if("dash"==r.gridType&&a.setLineDash([r.dashLength,r.dashLength]),a.setStrokeStyle(r.gridColor||"#cccccc"),a.setLineWidth(1*t.pix),a.beginPath(),a.moveTo(o,t.tooltip.offset.y),a.lineTo(l,t.tooltip.offset.y),a.stroke(),a.setLineDash([]),r.yAxisLabel)for(var d=function(t,e,a,i,n){for(var r=[].concat(a.chartData.yAxisData.ranges),o=a.height-a.area[0]-a.area[2],s=a.area[0],l=[],c=0;c<r.length;c++){var d=Math.max.apply(this,r[c]),h=Math.min.apply(this,r[c]),u=d-(d-h)*(t-s)/o;u=a.yAxis.data&&a.yAxis.data[c].formatter?a.yAxis.data[c].formatter(u,c,a):u.toFixed(0),l.push(String(u))}return l}(t.tooltip.offset.y,t.series,t),h=t.chartData.yAxisData.yAxisWidth,u=t.area[3],f=t.width-t.area[1],p=0;p<d.length;p++){a.setFontSize(e.fontSize);var x,g=y(d[p],e.fontSize,a),v=void 0,m=void 0;"left"==h[p].position?(v=u-(g+2*e.toolTipPadding)-2*t.pix,m=Math.max(v,v+g+2*e.toolTipPadding)):(v=f+2*t.pix,m=Math.max(v+h[p].width,v+g+2*e.toolTipPadding)),x=m-v;var b=v+(x-g)/2,w=t.tooltip.offset.y;a.beginPath(),a.setFillStyle(c(r.labelBgColor||e.toolTipBackground,r.labelBgOpacity||e.toolTipOpacity)),a.setStrokeStyle(r.labelBgColor||e.toolTipBackground),a.setLineWidth(1*t.pix),a.rect(v,w-.5*e.fontSize-e.toolTipPadding,x,e.fontSize+2*e.toolTipPadding),a.closePath(),a.stroke(),a.fill(),a.beginPath(),a.setFontSize(e.fontSize),a.setFillStyle(r.labelFontColor||t.fontColor),a.fillText(d[p],b,w+.5*e.fontSize),a.closePath(),a.stroke(),"left"==h[p].position?u-=h[p].width+t.yAxis.padding*t.pix:f+=h[p].width+t.yAxis.padding*t.pix}}function pt(t,e,a,i,n){var r=s({},{activeBgColor:"#000000",activeBgOpacity:.08,activeWidth:n},e.extra.column);r.activeWidth=r.activeWidth>n?n:r.activeWidth;var o=e.area[0],l=e.height-e.area[2];i.beginPath(),i.setFillStyle(c(r.activeBgColor,r.activeBgOpacity)),i.rect(t-r.activeWidth/2,o,r.activeWidth,l-o),i.closePath(),i.fill(),i.setFillStyle("#FFFFFF")}function xt(t,e,a,i,n){var r=s({},{activeBgColor:"#000000",activeBgOpacity:.08},e.extra.bar),o=e.area[3],l=e.width-e.area[1];i.beginPath(),i.setFillStyle(c(r.activeBgColor,r.activeBgOpacity)),i.rect(o,t-n/2,l-o,n),i.closePath(),i.fill(),i.setFillStyle("#FFFFFF")}function gt(t,e,a,i,n,r,o){var l=s({},{showBox:!0,showArrow:!0,showCategory:!1,bgColor:"#000000",bgOpacity:.7,borderColor:"#000000",borderWidth:0,borderRadius:0,borderOpacity:.7,fontColor:"#FFFFFF",splitLine:!0},a.extra.tooltip);1==l.showCategory&&a.categories&&t.unshift({text:a.categories[a.tooltip.index],color:null});var d=4*a.pix,h=5*a.pix,u=l.showArrow?8*a.pix:0,f=!1;"line"!=a.type&&"mount"!=a.type&&"area"!=a.type&&"candle"!=a.type&&"mix"!=a.type||1==l.splitLine&&function(t,e,a,i){var n=e.extra.tooltip||{};n.gridType=void 0==n.gridType?"solid":n.gridType,n.dashLength=void 0==n.dashLength?4:n.dashLength;var r=e.area[0],o=e.height-e.area[2];if("dash"==n.gridType&&i.setLineDash([n.dashLength,n.dashLength]),i.setStrokeStyle(n.gridColor||"#cccccc"),i.setLineWidth(1*e.pix),i.beginPath(),i.moveTo(t,r),i.lineTo(t,o),i.stroke(),i.setLineDash([]),n.xAxisLabel){var s=e.categories[e.tooltip.index];i.setFontSize(a.fontSize);var l=y(s,a.fontSize,i),d=t-.5*l,h=o+2*e.pix;i.beginPath(),i.setFillStyle(c(n.labelBgColor||a.toolTipBackground,n.labelBgOpacity||a.toolTipOpacity)),i.setStrokeStyle(n.labelBgColor||a.toolTipBackground),i.setLineWidth(1*e.pix),i.rect(d-a.toolTipPadding,h,l+2*a.toolTipPadding,a.fontSize+2*a.toolTipPadding),i.closePath(),i.stroke(),i.fill(),i.beginPath(),i.setFontSize(a.fontSize),i.setFillStyle(n.labelFontColor||e.fontColor),i.fillText(String(s),d,h+a.toolTipPadding+a.fontSize),i.closePath(),i.stroke()}}(a.tooltip.offset.x,a,i,n),e=s({x:0,y:0},e),e.y-=8*a.pix;var p=t.map((function(t){return y(t.text,i.fontSize,n)})),x=d+h+4*i.toolTipPadding+Math.max.apply(null,p),g=2*i.toolTipPadding+t.length*i.toolTipLineHeight;if(0!=l.showBox){e.x-Math.abs(a._scrollDistance_||0)+u+x>a.width&&(f=!0),g+e.y>a.height&&(e.y=a.height-g),n.beginPath(),n.setFillStyle(c(l.bgColor||i.toolTipBackground,l.bgOpacity||i.toolTipOpacity)),n.setLineWidth(l.borderWidth*a.pix),n.setStrokeStyle(c(l.borderColor,l.borderOpacity));var v=l.borderRadius;f?(x+u>a.width&&(e.x=a.width+Math.abs(a._scrollDistance_||0)+u+(x-a.width)),l.showArrow&&(n.moveTo(e.x,e.y+10*a.pix),n.lineTo(e.x-u,e.y+10*a.pix+5*a.pix)),n.arc(e.x-u-v,e.y+g-v,v,0,Math.PI/2,!1),n.arc(e.x-u-Math.round(x)+v,e.y+g-v,v,Math.PI/2,Math.PI,!1),n.arc(e.x-u-Math.round(x)+v,e.y+v,v,-Math.PI,-Math.PI/2,!1),n.arc(e.x-u-v,e.y+v,v,-Math.PI/2,0,!1),l.showArrow&&(n.lineTo(e.x-u,e.y+10*a.pix-5*a.pix),n.lineTo(e.x,e.y+10*a.pix))):(l.showArrow&&(n.moveTo(e.x,e.y+10*a.pix),n.lineTo(e.x+u,e.y+10*a.pix-5*a.pix)),n.arc(e.x+u+v,e.y+v,v,-Math.PI,-Math.PI/2,!1),n.arc(e.x+u+Math.round(x)-v,e.y+v,v,-Math.PI/2,0,!1),n.arc(e.x+u+Math.round(x)-v,e.y+g-v,v,0,Math.PI/2,!1),n.arc(e.x+u+v,e.y+g-v,v,Math.PI/2,Math.PI,!1),l.showArrow&&(n.lineTo(e.x+u,e.y+10*a.pix+5*a.pix),n.lineTo(e.x,e.y+10*a.pix))),n.closePath(),n.fill(),l.borderWidth>0&&n.stroke(),t.forEach((function(t,a){if(null!==t.color){n.beginPath(),n.setFillStyle(t.color);var r=e.x+u+2*i.toolTipPadding,o=e.y+(i.toolTipLineHeight-i.fontSize)/2+i.toolTipLineHeight*a+i.toolTipPadding+1;f&&(r=e.x-x-u+2*i.toolTipPadding),n.fillRect(r,o,d,i.fontSize),n.closePath(),n.fill()}})),t.forEach((function(t,a){var r=e.x+u+2*i.toolTipPadding+d+h;f&&(r=e.x-x-u+2*i.toolTipPadding+ +d+h);var o=e.y+(i.toolTipLineHeight-i.fontSize)/2+i.toolTipLineHeight*a+i.toolTipPadding;n.beginPath(),n.setFontSize(i.fontSize),n.setFillStyle(l.fontColor),n.fillText(t.text,r,o+i.fontSize),n.closePath(),n.stroke()}))}}function vt(t,e,a,i,n,r){var o=t.extra.tooltip||{};o.horizentalLine&&t.tooltip&&1===i&&("line"==t.type||"area"==t.type||"column"==t.type||"mount"==t.type||"candle"==t.type||"mix"==t.type)&&ft(t,e,a),a.save(),t._scrollDistance_&&0!==t._scrollDistance_&&!0===t.enableScroll&&a.translate(t._scrollDistance_,0),t.tooltip&&t.tooltip.textList&&t.tooltip.textList.length&&1===i&&gt(t.tooltip.textList,t.tooltip.offset,t,e,a),a.restore()}function mt(t,e,a,i){var n=e.chartData.xAxisData,r=n.xAxisPoints,o=n.startX,s=n.endX,l=n.eachSpacing,c="center";"bar"!=e.type&&"line"!=e.type&&"area"!=e.type&&"scatter"!=e.type&&"bubble"!=e.type||(c=e.xAxis.boundaryGap);var d=e.height-e.area[2],h=e.area[0];if(e.enableScroll&&e.xAxis.scrollShow){var u=e.height-e.area[2]+a.xAxisHeight,f=s-o,p=l*(r.length-1);"mount"==e.type&&e.extra&&e.extra.mount&&e.extra.mount.widthRatio&&e.extra.mount.widthRatio>1&&(e.extra.mount.widthRatio>2&&(e.extra.mount.widthRatio=2),p+=(e.extra.mount.widthRatio-1)*l);var x=f*f/p,g=0;e._scrollDistance_&&(g=-e._scrollDistance_*f/p),i.beginPath(),i.setLineCap("round"),i.setLineWidth(6*e.pix),i.setStrokeStyle(e.xAxis.scrollBackgroundColor||"#EFEBEF"),i.moveTo(o,u),i.lineTo(s,u),i.stroke(),i.closePath(),i.beginPath(),i.setLineCap("round"),i.setLineWidth(6*e.pix),i.setStrokeStyle(e.xAxis.scrollColor||"#A6A6A6"),i.moveTo(o+g,u),i.lineTo(o+g+x,u),i.stroke(),i.closePath(),i.setLineCap("butt")}if(i.save(),e._scrollDistance_&&0!==e._scrollDistance_&&i.translate(e._scrollDistance_,0),!0===e.xAxis.calibration&&(i.setStrokeStyle(e.xAxis.gridColor||"#cccccc"),i.setLineCap("butt"),i.setLineWidth(1*e.pix),r.forEach((function(t,a){a>0&&(i.beginPath(),i.moveTo(t-l/2,d),i.lineTo(t-l/2,d+3*e.pix),i.closePath(),i.stroke())}))),!0!==e.xAxis.disableGrid&&(i.setStrokeStyle(e.xAxis.gridColor||"#cccccc"),i.setLineCap("butt"),i.setLineWidth(1*e.pix),"dash"==e.xAxis.gridType&&i.setLineDash([e.xAxis.dashLength*e.pix,e.xAxis.dashLength*e.pix]),e.xAxis.gridEval=e.xAxis.gridEval||1,r.forEach((function(t,a){a%e.xAxis.gridEval==0&&(i.beginPath(),i.moveTo(t,d),i.lineTo(t,h),i.stroke())})),i.setLineDash([])),!0!==e.xAxis.disabled){var v=t.length;e.xAxis.labelCount&&(v=e.xAxis.itemCount?Math.ceil(t.length/e.xAxis.itemCount*e.xAxis.labelCount):e.xAxis.labelCount,v-=1);for(var m=Math.ceil(t.length/v),b=[],w=t.length,_=0;_<w;_++)_%m!==0?b.push(""):b.push(t[_]);b[w-1]=t[w-1];var C=e.xAxis.fontSize*e.pix||a.fontSize;0===a._xAxisTextAngle_?b.forEach((function(t,n){var o=e.xAxis.formatter?e.xAxis.formatter(t,n,e):t,s=-y(String(o),C,i)/2;"center"==c&&(s+=l/2);var h=0;e.xAxis.scrollShow&&(h=6*e.pix);var u=e._scrollDistance_||0,f="center"==c?r[n]+l/2:r[n];f-Math.abs(u)>=e.area[3]&&f-Math.abs(u)<=e.width-e.area[1]&&(i.beginPath(),i.setFontSize(C),i.setFillStyle(e.xAxis.fontColor||e.fontColor),i.fillText(String(o),r[n]+s,d+C+(a.xAxisHeight-h-C)/2),i.closePath(),i.stroke())})):b.forEach((function(t,n){var o=e.xAxis.formatter?e.xAxis.formatter(t):t,s=e._scrollDistance_||0,h="center"==c?r[n]+l/2:r[n];if(h-Math.abs(s)>=e.area[3]&&h-Math.abs(s)<=e.width-e.area[1]){i.save(),i.beginPath(),i.setFontSize(C),i.setFillStyle(e.xAxis.fontColor||e.fontColor);var u=y(String(o),C,i),f=r[n];"center"==c&&(f=r[n]+l/2);e.xAxis.scrollShow&&6*e.pix;var p=d+6*e.pix+C-C*Math.abs(Math.sin(a._xAxisTextAngle_));e.xAxis.rotateAngle<0?(f-=C/2,u=0):(f+=C/2,u=-u),i.translate(f,p),i.rotate(-1*a._xAxisTextAngle_),i.fillText(String(o),u,0),i.closePath(),i.stroke(),i.restore()}}))}i.restore(),e.xAxis.axisLine&&(i.beginPath(),i.setStrokeStyle(e.xAxis.axisLineColor),i.setLineWidth(1*e.pix),i.moveTo(o,e.height-e.area[2]),i.lineTo(s,e.height-e.area[2]),i.stroke())}function yt(t,e,a,i){if(!0!==e.yAxis.disableGrid){var n=e.height-e.area[0]-e.area[2],r=n/e.yAxis.splitNumber,o=e.area[3],s=e.chartData.xAxisData.xAxisPoints,l=e.chartData.xAxisData.eachSpacing,c=l*(s.length-1);"mount"==e.type&&e.extra&&e.extra.mount&&e.extra.mount.widthRatio&&e.extra.mount.widthRatio>1&&(e.extra.mount.widthRatio>2&&(e.extra.mount.widthRatio=2),c+=(e.extra.mount.widthRatio-1)*l);var d=o+c,h=[],u=1;!1===e.xAxis.axisLine&&(u=0);for(var f=u;f<e.yAxis.splitNumber+1;f++)h.push(e.height-e.area[2]-r*f);i.save(),e._scrollDistance_&&0!==e._scrollDistance_&&i.translate(e._scrollDistance_,0),"dash"==e.yAxis.gridType&&i.setLineDash([e.yAxis.dashLength*e.pix,e.yAxis.dashLength*e.pix]),i.setStrokeStyle(e.yAxis.gridColor),i.setLineWidth(1*e.pix),h.forEach((function(t,e){i.beginPath(),i.moveTo(o,t),i.lineTo(d,t),i.stroke()})),i.setLineDash([]),i.restore()}}function bt(t,e,a,i){if(!0!==e.yAxis.disabled){var n=e.height-e.area[0]-e.area[2],r=n/e.yAxis.splitNumber,o=e.area[3],s=e.width-e.area[1],l=e.height-e.area[2];i.beginPath(),i.setFillStyle(e.background),1==e.enableScroll&&e.xAxis.scrollPosition&&"left"!==e.xAxis.scrollPosition&&i.fillRect(0,0,o,l+2*e.pix),1==e.enableScroll&&e.xAxis.scrollPosition&&"right"!==e.xAxis.scrollPosition&&i.fillRect(s,0,e.width,l+2*e.pix),i.closePath(),i.stroke();var c=e.area[3],d=e.width-e.area[1],h=e.area[3]+(e.width-e.area[1]-e.area[3])/2;if(e.yAxis.data)for(var u=function(t){var o=e.yAxis.data[t];if(p=[],"categories"===o.type)for(var s=0;s<=o.categories.length;s++)p.push(e.area[0]+n/o.categories.length/2+n/o.categories.length*s);else for(var l=0;l<=e.yAxis.splitNumber;l++)p.push(e.area[0]+r*l);if(!0!==o.disabled){var u=e.chartData.yAxisData.rangesFormat[t],f=o.fontSize?o.fontSize*e.pix:a.fontSize,x=e.chartData.yAxisData.yAxisWidth[t],g=o.textAlign||"right";if(u.forEach((function(t,a){var n=p[a];i.beginPath(),i.setFontSize(f),i.setLineWidth(1*e.pix),i.setStrokeStyle(o.axisLineColor||"#cccccc"),i.setFillStyle(o.fontColor||e.fontColor);var r=0,s=4*e.pix;if("left"==x.position){switch(1==o.calibration&&(i.moveTo(c,n),i.lineTo(c-3*e.pix,n),s+=3*e.pix),g){case"left":i.setTextAlign("left"),r=c-x.width;break;case"right":i.setTextAlign("right"),r=c-s;break;default:i.setTextAlign("center"),r=c-x.width/2}i.fillText(String(t),r,n+f/2-3*e.pix)}else if("right"==x.position){switch(1==o.calibration&&(i.moveTo(d,n),i.lineTo(d+3*e.pix,n),s+=3*e.pix),g){case"left":i.setTextAlign("left"),r=d+s;break;case"right":i.setTextAlign("right"),r=d+x.width;break;default:i.setTextAlign("center"),r=d+x.width/2}i.fillText(String(t),r,n+f/2-3*e.pix)}else if("center"==x.position){switch(1==o.calibration&&(i.moveTo(h,n),i.lineTo(h-3*e.pix,n),s+=3*e.pix),g){case"left":i.setTextAlign("left"),r=h-x.width;break;case"right":i.setTextAlign("right"),r=h-s;break;default:i.setTextAlign("center"),r=h-x.width/2}i.fillText(String(t),r,n+f/2-3*e.pix)}i.closePath(),i.stroke(),i.setTextAlign("left")})),!1!==o.axisLine&&(i.beginPath(),i.setStrokeStyle(o.axisLineColor||"#cccccc"),i.setLineWidth(1*e.pix),"left"==x.position?(i.moveTo(c,e.height-e.area[2]),i.lineTo(c,e.area[0])):"right"==x.position?(i.moveTo(d,e.height-e.area[2]),i.lineTo(d,e.area[0])):"center"==x.position&&(i.moveTo(h,e.height-e.area[2]),i.lineTo(h,e.area[0])),i.stroke()),e.yAxis.showTitle){var v=o.titleFontSize*e.pix||a.fontSize,m=o.title;i.beginPath(),i.setFontSize(v),i.setFillStyle(o.titleFontColor||e.fontColor),"left"==x.position?i.fillText(m,c-y(m,v,i)/2+(o.titleOffsetX||0),e.area[0]-(10-(o.titleOffsetY||0))*e.pix):"right"==x.position?i.fillText(m,d-y(m,v,i)/2+(o.titleOffsetX||0),e.area[0]-(10-(o.titleOffsetY||0))*e.pix):"center"==x.position&&i.fillText(m,h-y(m,v,i)/2+(o.titleOffsetX||0),e.area[0]-(10-(o.titleOffsetY||0))*e.pix),i.closePath(),i.stroke()}"left"==x.position?c-=x.width+e.yAxis.padding*e.pix:d+=x.width+e.yAxis.padding*e.pix}},f=0;f<e.yAxis.data.length;f++){var p;u(f)}}}function wt(t,e,a,i,n){if(!1!==e.legend.show){var r=n.legendData,o=r.points,s=r.area,l=e.legend.padding*e.pix,c=e.legend.fontSize*e.pix,d=15*e.pix,h=5*e.pix,u=e.legend.itemGap*e.pix,f=Math.max(e.legend.lineHeight*e.pix,c);i.beginPath(),i.setLineWidth(e.legend.borderWidth*e.pix),i.setStrokeStyle(e.legend.borderColor),i.setFillStyle(e.legend.backgroundColor),i.moveTo(s.start.x,s.start.y),i.rect(s.start.x,s.start.y,s.width,s.height),i.closePath(),i.fill(),i.stroke(),o.forEach((function(t,n){var o,p=0;p=r.widthArr[n],o=r.heightArr[n];var x=0,g=0;if("top"==e.legend.position||"bottom"==e.legend.position){switch(e.legend.float){case"left":x=s.start.x+l;break;case"right":x=s.start.x+s.width-p;break;default:x=s.start.x+(s.width-p)/2}g=s.start.y+l+n*f}else p=0==n?0:r.widthArr[n-1],x=s.start.x+l+p,g=s.start.y+l+(s.height-o)/2;i.setFontSize(a.fontSize);for(var v=0;v<t.length;v++){var m=t[v];switch(m.area=[0,0,0,0],m.area[0]=x,m.area[1]=g,m.area[3]=g+f,i.beginPath(),i.setLineWidth(1*e.pix),i.setStrokeStyle(m.show?m.color:e.legend.hiddenColor),i.setFillStyle(m.show?m.color:e.legend.hiddenColor),m.legendShape){case"line":i.moveTo(x,g+.5*f-2*e.pix),i.fillRect(x,g+.5*f-2*e.pix,15*e.pix,4*e.pix);break;case"triangle":i.moveTo(x+7.5*e.pix,g+.5*f-5*e.pix),i.lineTo(x+2.5*e.pix,g+.5*f+5*e.pix),i.lineTo(x+12.5*e.pix,g+.5*f+5*e.pix),i.lineTo(x+7.5*e.pix,g+.5*f-5*e.pix);break;case"diamond":i.moveTo(x+7.5*e.pix,g+.5*f-5*e.pix),i.lineTo(x+2.5*e.pix,g+.5*f),i.lineTo(x+7.5*e.pix,g+.5*f+5*e.pix),i.lineTo(x+12.5*e.pix,g+.5*f),i.lineTo(x+7.5*e.pix,g+.5*f-5*e.pix);break;case"circle":i.moveTo(x+7.5*e.pix,g+.5*f),i.arc(x+7.5*e.pix,g+.5*f,5*e.pix,0,2*Math.PI);break;case"rect":i.moveTo(x,g+.5*f-5*e.pix),i.fillRect(x,g+.5*f-5*e.pix,15*e.pix,10*e.pix);break;case"square":i.moveTo(x+5*e.pix,g+.5*f-5*e.pix),i.fillRect(x+5*e.pix,g+.5*f-5*e.pix,10*e.pix,10*e.pix);break;case"none":break;default:i.moveTo(x,g+.5*f-5*e.pix),i.fillRect(x,g+.5*f-5*e.pix,15*e.pix,10*e.pix)}i.closePath(),i.fill(),i.stroke(),x+=d+h;var b=.5*f+.5*c-2,w=m.legendText?m.legendText:m.name;i.beginPath(),i.setFontSize(c),i.setFillStyle(m.show?e.legend.fontColor:e.legend.hiddenColor),i.fillText(w,x,g+b),i.closePath(),i.stroke(),"top"==e.legend.position||"bottom"==e.legend.position?(x+=y(w,c,i)+u,m.area[2]=x):(m.area[2]=x+y(w,c,i)+u,x-=d+h,g+=f)}}))}}function _t(t,e,a,i){var n=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,r=s({},{activeOpacity:.5,activeRadius:10,offsetAngle:0,labelWidth:15,ringWidth:30,customRadius:0,border:!1,borderWidth:2,borderColor:"#FFFFFF",centerColor:"#FFFFFF",linearType:"none",customColor:[]},"pie"==e.type?e.extra.pie:e.extra.ring),o={x:e.area[3]+(e.width-e.area[1]-e.area[3])/2,y:e.area[0]+(e.height-e.area[0]-e.area[2])/2};0==a.pieChartLinePadding&&(a.pieChartLinePadding=r.activeRadius*e.pix);var l=Math.min((e.width-e.area[1]-e.area[3])/2-a.pieChartLinePadding-a.pieChartTextPadding-a._pieTextMaxLength_,(e.height-e.area[0]-e.area[2])/2-a.pieChartLinePadding-a.pieChartTextPadding);l=l<10?10:l,r.customRadius>0&&(l=r.customRadius*e.pix),t=E(t,l,n);var d=r.activeRadius*e.pix;if(r.customColor=v(r.linearType,r.customColor,t,a),t=t.map((function(t){return t._start_+=r.offsetAngle*Math.PI/180,t})),t.forEach((function(t,a){e.tooltip&&e.tooltip.index==a&&(i.beginPath(),i.setFillStyle(c(t.color,r.activeOpacity||.5)),i.moveTo(o.x,o.y),i.arc(o.x,o.y,t._radius_+d,t._start_,t._start_+2*t._proportion_*Math.PI),i.closePath(),i.fill()),i.beginPath(),i.setLineWidth(r.borderWidth*e.pix),i.lineJoin="round",i.setStrokeStyle(r.borderColor);var n,s=t.color;"custom"==r.linearType&&(n=i.createCircularGradient?i.createCircularGradient(o.x,o.y,t._radius_):i.createRadialGradient(o.x,o.y,0,o.x,o.y,t._radius_),n.addColorStop(0,c(r.customColor[t.linearIndex],1)),n.addColorStop(1,c(t.color,1)),s=n);i.setFillStyle(s),i.moveTo(o.x,o.y),i.arc(o.x,o.y,t._radius_,t._start_,t._start_+2*t._proportion_*Math.PI),i.closePath(),i.fill(),1==r.border&&i.stroke()})),"ring"===e.type){var h=.6*l;"number"===typeof r.ringWidth&&r.ringWidth>0&&(h=Math.max(0,l-r.ringWidth*e.pix)),i.beginPath(),i.setFillStyle(r.centerColor),i.moveTo(o.x,o.y),i.arc(o.x,o.y,h,0,2*Math.PI),i.closePath(),i.fill()}return!1!==e.dataLabel&&1===n&&ht(t,e,a,i,0,o),1===n&&"ring"===e.type&&rt(e,a,i,o),{center:o,radius:l,series:t}}function Ct(t,e){var a=Array(2),i=20037508.34*t/180,n=Math.log(Math.tan((90+e)*Math.PI/360))/(Math.PI/180);return n=20037508.34*n/180,a[0]=i,a[1]=n,a}function At(t,e,a,i,n,r){return{x:(e-a.xMin)*i+n,y:(a.yMax-t)*i+r}}function St(t,e,a){if(e[1]==a[1])return!1;if(e[1]>t[1]&&a[1]>t[1])return!1;if(e[1]<t[1]&&a[1]<t[1])return!1;if(e[1]==t[1]&&a[1]>t[1])return!1;if(a[1]==t[1]&&e[1]>t[1])return!1;if(e[0]<t[0]&&a[1]<t[1])return!1;var i=a[0]-(a[0]-e[0])*(a[1]-t[1])/(a[1]-e[1]);return!(i<t[0])}function Tt(t,e,a){for(var i=0,n=0;n<e.length;n++){var r=e[n][0];1==e.length&&(r=e[n][0]);for(var o=0;o<r.length-1;o++){var s=r[o],l=r[o+1];a&&(s=Ct(r[o][0],r[o][1]),l=Ct(r[o+1][0],r[o+1][1])),St(t,s,l)&&(i+=1)}}return i%2==1}function kt(t,e,a){a=0==a?1:a;for(var i=[],n=0;n<a;n++)i[n]=Math.random();return Math.floor(i.reduce((function(t,e){return t+e}))/a*(e-t))+t}function Pt(t,e,a,i){for(var n=!1,r=0;r<e.length;r++)if(e[r].area){if(!(t[3]<e[r].area[1]||t[0]>e[r].area[2]||t[1]>e[r].area[3]||t[2]<e[r].area[0])){n=!0;break}if(t[0]<0||t[1]<0||t[2]>a||t[3]>i){n=!0;break}n=!1}return n}function Mt(t,e,a){var i=t.series;switch(e){case"normal":for(var n=0;n<i.length;n++){var r=i[n].name,o=i[n].textSize*t.pix,s=y(r,o,a),l=void 0,c=void 0,d=void 0,h=0;while(1){h++,l=kt(-t.width/2,t.width/2,5)-s/2,c=kt(-t.height/2,t.height/2,5)+o/2,d=[l-5+t.width/2,c-5-o+t.height/2,l+s+5+t.width/2,c+5+t.height/2];var u=Pt(d,i,t.width,t.height);if(!u)break;if(1e3==h){d=[-100,-100,-100,-100];break}}i[n].area=d}break;case"vertical":for(var f=function(){return Math.random()>.7},p=0;p<i.length;p++){var x=i[p].name,g=i[p].textSize*t.pix,v=y(x,g,a),m=f(),b=void 0,w=void 0,_=void 0,C=void 0,A=0;while(1){A++;var S=void 0;if(m?(b=kt(-t.width/2,t.width/2,5)-v/2,w=kt(-t.height/2,t.height/2,5)+g/2,_=[w-5-v+t.width/2,-b-5+t.height/2,w+5+t.width/2,-b+g+5+t.height/2],C=[t.width-(t.width/2-t.height/2)-(-b+g+5+t.height/2)-5,t.height/2-t.width/2+(w-5-v+t.width/2)-5,t.width-(t.width/2-t.height/2)-(-b+g+5+t.height/2)+g,t.height/2-t.width/2+(w-5-v+t.width/2)+v+5],S=Pt(C,i,t.height,t.width)):(b=kt(-t.width/2,t.width/2,5)-v/2,w=kt(-t.height/2,t.height/2,5)+g/2,_=[b-5+t.width/2,w-5-g+t.height/2,b+v+5+t.width/2,w+5+t.height/2],S=Pt(_,i,t.width,t.height)),!S)break;if(1e3==A){_=[-1e3,-1e3,-1e3,-1e3];break}}m?(i[p].area=C,i[p].areav=_):i[p].area=_,i[p].rotate=m}break}return i}function Dt(t,e,a,i,n,r,o){for(var s=0;s<t.length;s++){var c=t[s];if(!1!==c.labelShow){var d=void 0,h=void 0,u=void 0,f=void 0,p=c.formatter?c.formatter(c,s,t,e):l.toFixed(100*c._proportion_)+"%";p=c.labelText?c.labelText:p,"right"==n&&(d=s==t.length-1?(c.funnelArea[2]+o.x)/2:(c.funnelArea[2]+t[s+1].funnelArea[2])/2,h=d+2*r,u=c.funnelArea[1]+i/2,f=c.textSize*e.pix||e.fontSize*e.pix,a.setLineWidth(1*e.pix),a.setStrokeStyle(c.color),a.setFillStyle(c.color),a.beginPath(),a.moveTo(d,u),a.lineTo(h,u),a.stroke(),a.closePath(),a.beginPath(),a.moveTo(h,u),a.arc(h,u,2*e.pix,0,2*Math.PI),a.closePath(),a.fill(),a.beginPath(),a.setFontSize(f),a.setFillStyle(c.textColor||e.fontColor),a.fillText(p,h+5,u+f/2-2),a.closePath(),a.stroke(),a.closePath()),"left"==n&&(d=s==t.length-1?(c.funnelArea[0]+o.x)/2:(c.funnelArea[0]+t[s+1].funnelArea[0])/2,h=d-2*r,u=c.funnelArea[1]+i/2,f=c.textSize*e.pix||e.fontSize*e.pix,a.setLineWidth(1*e.pix),a.setStrokeStyle(c.color),a.setFillStyle(c.color),a.beginPath(),a.moveTo(d,u),a.lineTo(h,u),a.stroke(),a.closePath(),a.beginPath(),a.moveTo(h,u),a.arc(h,u,2,0,2*Math.PI),a.closePath(),a.fill(),a.beginPath(),a.setFontSize(f),a.setFillStyle(c.textColor||e.fontColor),a.fillText(p,h-5-y(p,f,a),u+f/2-2),a.closePath(),a.stroke(),a.closePath())}}}function Ft(t,e,a,i,n,r,o){for(var s=0;s<t.length;s++){var l=t[s],c=void 0,d=void 0;l.centerText&&(c=l.funnelArea[1]+i/2,d=l.centerTextSize*e.pix||e.fontSize*e.pix,a.beginPath(),a.setFontSize(d),a.setFillStyle(l.centerTextColor||"#FFFFFF"),a.fillText(l.centerText,o.x-y(l.centerText,d,a)/2,c+d/2-2),a.closePath(),a.stroke(),a.closePath())}}function $t(t,e){e.draw()}var Lt={easeIn:function(t){return Math.pow(t,3)},easeOut:function(t){return Math.pow(t-1,3)+1},easeInOut:function(t){return(t/=.5)<1?.5*Math.pow(t,3):.5*(Math.pow(t-2,3)+2)},linear:function(t){return t}};function Ot(t){this.isStop=!1,t.duration="undefined"===typeof t.duration?1e3:t.duration,t.timing=t.timing||"easeInOut";var e=function(){return"undefined"!==typeof setTimeout?function(t,e){setTimeout((function(){var e=+new Date;t(e)}),e)}:"undefined"!==typeof requestAnimationFrame?requestAnimationFrame:function(t){t(null)}}(),a=null,i=function(n){if(null===n||!0===this.isStop)return t.onProcess&&t.onProcess(1),void(t.onAnimationFinish&&t.onAnimationFinish());if(null===a&&(a=n),n-a<t.duration){var r=(n-a)/t.duration,o=Lt[t.timing];r=o(r),t.onProcess&&t.onProcess(r),e(i,17)}else t.onProcess&&t.onProcess(1),t.onAnimationFinish&&t.onAnimationFinish()};i=i.bind(this),e(i,17)}function It(t,e,a,i){var r=this,o=this,d=e.series;"pie"!==t&&"ring"!==t&&"mount"!==t&&"rose"!==t&&"funnel"!==t||(d=function(t,e,a){var i=[];if(t.length>0&&t[0].data.constructor.toString().indexOf("Array")>-1){e._pieSeries_=t;for(var n=t[0].data,r=0;r<n.length;r++)n[r].formatter=t[0].formatter,n[r].data=n[r].value,i.push(n[r]);e.series=i}else i=t;return i}(d,e));var h=e.categories;if("mount"===t){h=[];for(var u=0;u<d.length;u++)!1!==d[u].show&&h.push(d[u].name);e.categories=h}d=g(d,e,a);var x=e.animation?e.duration:0;o.animationInstance&&o.animationInstance.stop();var m=null;if("candle"==t){var w=s({},e.extra.candle.average);w.show?(m=function(t,e,a,i){for(var n=[],r=0;r<t.length;r++){for(var o={data:[],name:e[r],color:a[r]},s=0,l=i.length;s<l;s++)if(s<t[r])o.data.push(null);else{for(var c=0,d=0;d<t[r];d++)c+=i[s-d][1];o.data.push(+(c/t[r]).toFixed(3))}n.push(o)}return n}(w.day,w.name,w.color,d[0].data),m=g(m,e,a),e.seriesMA=m):m=e.seriesMA?e.seriesMA=g(e.seriesMA,e,a):d}else m=d;e._series_=d=M(d),e.area=new Array(4);for(var _=0;_<4;_++)e.area[_]=e.padding[_]*e.pix;var C=function(t,e,a,i,n){var r={area:{start:{x:0,y:0},end:{x:0,y:0},width:0,height:0,wholeWidth:0,wholeHeight:0},points:[],widthArr:[],heightArr:[]};if(!1===e.legend.show)return i.legendData=r,r;var o=e.legend.padding*e.pix,s=e.legend.margin*e.pix,l=e.legend.fontSize?e.legend.fontSize*e.pix:a.fontSize,c=15*e.pix,d=5*e.pix,h=Math.max(e.legend.lineHeight*e.pix,l);if("top"==e.legend.position||"bottom"==e.legend.position){for(var u=[],f=0,p=[],x=[],g=0;g<t.length;g++){var v=t[g],m=v.legendText?v.legendText:v.name,b=c+d+y(m||"undefined",l,n)+e.legend.itemGap*e.pix;f+b>e.width-e.area[1]-e.area[3]?(u.push(x),p.push(f-e.legend.itemGap*e.pix),f=b,x=[v]):(f+=b,x.push(v))}if(x.length){u.push(x),p.push(f-e.legend.itemGap*e.pix),r.widthArr=p;var w=Math.max.apply(null,p);switch(e.legend.float){case"left":r.area.start.x=e.area[3],r.area.end.x=e.area[3]+w+2*o;break;case"right":r.area.start.x=e.width-e.area[1]-w-2*o,r.area.end.x=e.width-e.area[1];break;default:r.area.start.x=(e.width-w)/2-o,r.area.end.x=(e.width+w)/2+o}r.area.width=w+2*o,r.area.wholeWidth=w+2*o,r.area.height=u.length*h+2*o,r.area.wholeHeight=u.length*h+2*o+2*s,r.points=u}}else{var _=t.length,C=e.height-e.area[0]-e.area[2]-2*s-2*o,A=Math.min(Math.floor(C/h),_);switch(r.area.height=A*h+2*o,r.area.wholeHeight=A*h+2*o,e.legend.float){case"top":r.area.start.y=e.area[0]+s,r.area.end.y=e.area[0]+s+r.area.height;break;case"bottom":r.area.start.y=e.height-e.area[2]-s-r.area.height,r.area.end.y=e.height-e.area[2]-s;break;default:r.area.start.y=(e.height-r.area.height)/2,r.area.end.y=(e.height+r.area.height)/2}for(var S=_%A===0?_/A:Math.floor(_/A+1),T=[],k=0;k<S;k++){var P=t.slice(k*A,k*A+A);T.push(P)}if(r.points=T,T.length){for(var M=0;M<T.length;M++){for(var D=T[M],F=0,$=0;$<D.length;$++){var L=c+d+y(D[$].name||"undefined",l,n)+e.legend.itemGap*e.pix;L>F&&(F=L)}r.widthArr.push(F),r.heightArr.push(D.length*h+2*o)}for(var O=0,I=0;I<r.widthArr.length;I++)O+=r.widthArr[I];r.area.width=O-e.legend.itemGap*e.pix+2*o,r.area.wholeWidth=r.area.width+o}}switch(e.legend.position){case"top":r.area.start.y=e.area[0]+s,r.area.end.y=e.area[0]+s+r.area.height;break;case"bottom":r.area.start.y=e.height-e.area[2]-r.area.height-s,r.area.end.y=e.height-e.area[2]-s;break;case"left":r.area.start.x=e.area[3],r.area.end.x=e.area[3]+r.area.width;break;case"right":r.area.start.x=e.width-e.area[1]-r.area.width,r.area.end.x=e.width-e.area[1];break}return i.legendData=r,r}(m,e,a,e.chartData,i),T=C.area.wholeHeight,k=C.area.wholeWidth;switch(e.legend.position){case"top":e.area[0]+=T;break;case"bottom":e.area[2]+=T;break;case"left":e.area[3]+=k;break;case"right":e.area[1]+=k;break}var P={},D=0;if("line"===e.type||"column"===e.type||"mount"===e.type||"area"===e.type||"mix"===e.type||"candle"===e.type||"scatter"===e.type||"bubble"===e.type||"bar"===e.type){if(P=at(d,e,a,i),D=P.yAxisWidth,e.yAxis.showTitle){for(var F=0,et=0;et<e.yAxis.data.length;et++)F=Math.max(F,e.yAxis.data[et].titleFontSize?e.yAxis.data[et].titleFontSize*e.pix:a.fontSize);e.area[0]+=F}for(var ft=0,gt=0,St=0;St<D.length;St++)"left"==D[St].position?(e.area[3]+=gt>0?D[St].width+e.yAxis.padding*e.pix:D[St].width,gt+=1):"right"==D[St].position&&(e.area[1]+=ft>0?D[St].width+e.yAxis.padding*e.pix:D[St].width,ft+=1)}else a.yAxisWidth=D;if(e.chartData.yAxisData=P,e.categories&&e.categories.length&&"radar"!==e.type&&"gauge"!==e.type&&"bar"!==e.type){e.chartData.xAxisData=X(e.categories,e);var Tt=L(e.categories,e,a,e.chartData.xAxisData.eachSpacing,i),kt=Tt.xAxisHeight,Pt=Tt.angle;a.xAxisHeight=kt,a._xAxisTextAngle_=Pt,e.area[2]+=kt,e.chartData.categoriesData=Tt}else if("line"===e.type||"area"===e.type||"scatter"===e.type||"bubble"===e.type||"bar"===e.type){e.chartData.xAxisData=O(d,e,a,i),h=e.chartData.xAxisData.rangesFormat;var Lt=L(h,e,a,e.chartData.xAxisData.eachSpacing,i),It=Lt.xAxisHeight,Et=Lt.angle;a.xAxisHeight=It,a._xAxisTextAngle_=Et,e.area[2]+=It,e.chartData.categoriesData=Lt}else e.chartData.xAxisData={xAxisPoints:[]};if(e.enableScroll&&"right"==e.xAxis.scrollAlign&&void 0===e._scrollDistance_){var zt,Bt=e.chartData.xAxisData.xAxisPoints,Wt=e.chartData.xAxisData.startX,Rt=e.chartData.xAxisData.endX,jt=e.chartData.xAxisData.eachSpacing,Gt=jt*(Bt.length-1),Nt=Rt-Wt;zt=Nt-Gt,o.scrollOption.currentOffset=zt,o.scrollOption.startTouchX=zt,o.scrollOption.distance=0,o.scrollOption.lastMoveTime=0,e._scrollDistance_=zt}switch("pie"!==t&&"ring"!==t&&"rose"!==t||(a._pieTextMaxLength_=!1===e.dataLabel?0:function(t,e,a,i){t=E(t);for(var n=0,r=0;r<t.length;r++){var o=t[r],s=o.formatter?o.formatter(+o._proportion_.toFixed(2)):l.toFixed(100*o._proportion_)+"%";n=Math.max(n,y(s,o.textSize*i.pix||e.fontSize,a))}return n}(m,a,i,e)),t){case"word":this.animationInstance=new Ot({timing:e.timing,duration:x,onProcess:function(t){i.clearRect(0,0,e.width,e.height),e.rotate&&it(i,e),function(t,e,a,i){var n=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,r=s({},{type:"normal",autoColors:!0},e.extra.word);e.chartData.wordCloudData||(e.chartData.wordCloudData=Mt(e,r.type,i)),i.beginPath(),i.setFillStyle(e.background),i.rect(0,0,e.width,e.height),i.fill(),i.save();var o=e.chartData.wordCloudData;i.translate(e.width/2,e.height/2);for(var l=0;l<o.length;l++){i.save(),o[l].rotate&&i.rotate(90*Math.PI/180);var c=o[l].name,d=o[l].textSize*e.pix,h=y(c,d,i);i.beginPath(),i.setStrokeStyle(o[l].color),i.setFillStyle(o[l].color),i.setFontSize(d),o[l].rotate?o[l].areav[0]>0&&(e.tooltip&&e.tooltip.index==l?i.strokeText(c,(o[l].areav[0]+5-e.width/2)*n-h*(1-n)/2,(o[l].areav[1]+5+d-e.height/2)*n):i.fillText(c,(o[l].areav[0]+5-e.width/2)*n-h*(1-n)/2,(o[l].areav[1]+5+d-e.height/2)*n)):o[l].area[0]>0&&(e.tooltip&&e.tooltip.index==l?i.strokeText(c,(o[l].area[0]+5-e.width/2)*n-h*(1-n)/2,(o[l].area[1]+5+d-e.height/2)*n):i.fillText(c,(o[l].area[0]+5-e.width/2)*n-h*(1-n)/2,(o[l].area[1]+5+d-e.height/2)*n)),i.stroke(),i.restore()}i.restore()}(d,e,a,i,t),$t(0,i)},onAnimationFinish:function(){o.uevent.trigger("renderComplete")}});break;case"map":i.clearRect(0,0,e.width,e.height),function(t,e,a,i){var n,r,o=s({},{border:!0,mercator:!1,borderWidth:1,active:!0,borderColor:"#666666",fillOpacity:.6,activeBorderColor:"#f04864",activeFillColor:"#facc14",activeFillOpacity:1},e.extra.map),l=t,d=function(t){for(var e,a={xMin:180,xMax:0,yMin:90,yMax:0},i=0;i<t.length;i++)for(var n=t[i].geometry.coordinates,r=0;r<n.length;r++){e=n[r],1==e.length&&(e=e[0]);for(var o=0;o<e.length;o++){var s=e[o][0],l=e[o][1],c={x:s,y:l};a.xMin=a.xMin<c.x?a.xMin:c.x,a.xMax=a.xMax>c.x?a.xMax:c.x,a.yMin=a.yMin<c.y?a.yMin:c.y,a.yMax=a.yMax>c.y?a.yMax:c.y}}return a}(l);if(o.mercator){var h=Ct(d.xMax,d.yMax),u=Ct(d.xMin,d.yMin);d.xMax=h[0],d.yMax=h[1],d.xMin=u[0],d.yMin=u[1]}for(var f=e.width/Math.abs(d.xMax-d.xMin),p=e.height/Math.abs(d.yMax-d.yMin),x=f<p?f:p,g=e.width/2-Math.abs(d.xMax-d.xMin)/2*x,v=e.height/2-Math.abs(d.yMax-d.yMin)/2*x,m=0;m<l.length;m++){i.beginPath(),i.setLineWidth(o.borderWidth*e.pix),i.setStrokeStyle(o.borderColor),i.setFillStyle(c(t[m].color,t[m].fillOpacity||o.fillOpacity)),1==o.active&&e.tooltip&&e.tooltip.index==m&&(i.setStrokeStyle(o.activeBorderColor),i.setFillStyle(c(o.activeFillColor,o.activeFillOpacity)));for(var b=l[m].geometry.coordinates,w=0;w<b.length;w++){n=b[w],1==n.length&&(n=n[0]);for(var _=0;_<n.length;_++){var C=Array(2);C=o.mercator?Ct(n[_][0],n[_][1]):n[_],r=At(C[1],C[0],d,x,g,v),0===_?(i.beginPath(),i.moveTo(r.x,r.y)):i.lineTo(r.x,r.y)}i.fill(),1==o.border&&i.stroke()}}if(1==e.dataLabel)for(m=0;m<l.length;m++){var A=l[m].properties.centroid;if(A){o.mercator&&(A=Ct(l[m].properties.centroid[0],l[m].properties.centroid[1])),r=At(A[1],A[0],d,x,g,v);var S=l[m].textSize*e.pix||a.fontSize,T=l[m].textColor||e.fontColor;o.active&&o.activeTextColor&&e.tooltip&&e.tooltip.index==m&&(T=o.activeTextColor);var k=l[m].properties.name;i.beginPath(),i.setFontSize(S),i.setFillStyle(T),i.fillText(k,r.x-y(k,S,i)/2,r.y+S/2),i.closePath(),i.stroke()}}e.chartData.mapData={bounds:d,scale:x,xoffset:g,yoffset:v,mercator:o.mercator},vt(e,a,i,1),i.draw()}(d,e,a,i),setTimeout((function(){r.uevent.trigger("renderComplete")}),50);break;case"funnel":this.animationInstance=new Ot({timing:e.timing,duration:x,onProcess:function(t){i.clearRect(0,0,e.width,e.height),e.rotate&&it(i,e),e.chartData.funnelData=function(t,e,a,i){var n=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,r=s({},{type:"funnel",activeWidth:10,activeOpacity:.3,border:!1,borderWidth:2,borderColor:"#FFFFFF",fillOpacity:1,minSize:0,labelAlign:"right",linearType:"none",customColor:[]},e.extra.funnel),o=(e.height-e.area[0]-e.area[2])/t.length,l={x:e.area[3]+(e.width-e.area[1]-e.area[3])/2,y:e.height-e.area[2]},d=r.activeWidth*e.pix,h=Math.min((e.width-e.area[1]-e.area[3])/2-d,(e.height-e.area[0]-e.area[2])/2-d),u=z(t,h,r,o,n);if(i.save(),i.translate(l.x,l.y),r.customColor=v(r.linearType,r.customColor,t,a),"pyramid"==r.type)for(var f=0;f<u.length;f++){if(f==u.length-1){e.tooltip&&e.tooltip.index==f&&(i.beginPath(),i.setFillStyle(c(u[f].color,r.activeOpacity)),i.moveTo(-d,-o),i.lineTo(-u[f].radius-d,0),i.lineTo(u[f].radius+d,0),i.lineTo(d,-o),i.lineTo(-d,-o),i.closePath(),i.fill()),u[f].funnelArea=[l.x-u[f].radius,l.y-o*(f+1),l.x+u[f].radius,l.y-o*f],i.beginPath(),i.setLineWidth(r.borderWidth*e.pix),i.setStrokeStyle(r.borderColor);var p=c(u[f].color,r.fillOpacity);if("custom"==r.linearType){var x=i.createLinearGradient(u[f].radius,-o,-u[f].radius,-o);x.addColorStop(0,c(u[f].color,r.fillOpacity)),x.addColorStop(.5,c(r.customColor[u[f].linearIndex],r.fillOpacity)),x.addColorStop(1,c(u[f].color,r.fillOpacity)),p=x}i.setFillStyle(p),i.moveTo(0,-o),i.lineTo(-u[f].radius,0),i.lineTo(u[f].radius,0),i.lineTo(0,-o),i.closePath(),i.fill(),1==r.border&&i.stroke()}else{e.tooltip&&e.tooltip.index==f&&(i.beginPath(),i.setFillStyle(c(u[f].color,r.activeOpacity)),i.moveTo(0,0),i.lineTo(-u[f].radius-d,0),i.lineTo(-u[f+1].radius-d,-o),i.lineTo(u[f+1].radius+d,-o),i.lineTo(u[f].radius+d,0),i.lineTo(0,0),i.closePath(),i.fill()),u[f].funnelArea=[l.x-u[f].radius,l.y-o*(f+1),l.x+u[f].radius,l.y-o*f],i.beginPath(),i.setLineWidth(r.borderWidth*e.pix),i.setStrokeStyle(r.borderColor);p=c(u[f].color,r.fillOpacity);if("custom"==r.linearType){x=i.createLinearGradient(u[f].radius,-o,-u[f].radius,-o);x.addColorStop(0,c(u[f].color,r.fillOpacity)),x.addColorStop(.5,c(r.customColor[u[f].linearIndex],r.fillOpacity)),x.addColorStop(1,c(u[f].color,r.fillOpacity)),p=x}i.setFillStyle(p),i.moveTo(0,0),i.lineTo(-u[f].radius,0),i.lineTo(-u[f+1].radius,-o),i.lineTo(u[f+1].radius,-o),i.lineTo(u[f].radius,0),i.lineTo(0,0),i.closePath(),i.fill(),1==r.border&&i.stroke()}i.translate(0,-o)}else{i.translate(0,-(u.length-1)*o);for(var g=0;g<u.length;g++){if(g==u.length-1){e.tooltip&&e.tooltip.index==g&&(i.beginPath(),i.setFillStyle(c(u[g].color,r.activeOpacity)),i.moveTo(-d-r.minSize/2,0),i.lineTo(-u[g].radius-d,-o),i.lineTo(u[g].radius+d,-o),i.lineTo(d+r.minSize/2,0),i.lineTo(-d-r.minSize/2,0),i.closePath(),i.fill()),u[g].funnelArea=[l.x-u[g].radius,l.y-o,l.x+u[g].radius,l.y],i.beginPath(),i.setLineWidth(r.borderWidth*e.pix),i.setStrokeStyle(r.borderColor);p=c(u[g].color,r.fillOpacity);if("custom"==r.linearType){x=i.createLinearGradient(u[g].radius,-o,-u[g].radius,-o);x.addColorStop(0,c(u[g].color,r.fillOpacity)),x.addColorStop(.5,c(r.customColor[u[g].linearIndex],r.fillOpacity)),x.addColorStop(1,c(u[g].color,r.fillOpacity)),p=x}i.setFillStyle(p),i.moveTo(0,0),i.lineTo(-r.minSize/2,0),i.lineTo(-u[g].radius,-o),i.lineTo(u[g].radius,-o),i.lineTo(r.minSize/2,0),i.lineTo(0,0),i.closePath(),i.fill(),1==r.border&&i.stroke()}else{e.tooltip&&e.tooltip.index==g&&(i.beginPath(),i.setFillStyle(c(u[g].color,r.activeOpacity)),i.moveTo(0,0),i.lineTo(-u[g+1].radius-d,0),i.lineTo(-u[g].radius-d,-o),i.lineTo(u[g].radius+d,-o),i.lineTo(u[g+1].radius+d,0),i.lineTo(0,0),i.closePath(),i.fill()),u[g].funnelArea=[l.x-u[g].radius,l.y-o*(u.length-g),l.x+u[g].radius,l.y-o*(u.length-g-1)],i.beginPath(),i.setLineWidth(r.borderWidth*e.pix),i.setStrokeStyle(r.borderColor);p=c(u[g].color,r.fillOpacity);if("custom"==r.linearType){x=i.createLinearGradient(u[g].radius,-o,-u[g].radius,-o);x.addColorStop(0,c(u[g].color,r.fillOpacity)),x.addColorStop(.5,c(r.customColor[u[g].linearIndex],r.fillOpacity)),x.addColorStop(1,c(u[g].color,r.fillOpacity)),p=x}i.setFillStyle(p),i.moveTo(0,0),i.lineTo(-u[g+1].radius,0),i.lineTo(-u[g].radius,-o),i.lineTo(u[g].radius,-o),i.lineTo(u[g+1].radius,0),i.lineTo(0,0),i.closePath(),i.fill(),1==r.border&&i.stroke()}i.translate(0,o)}}return i.restore(),!1!==e.dataLabel&&1===n&&Dt(u,e,i,o,r.labelAlign,d,l),1===n&&Ft(u,e,i,o,r.labelAlign,d,l),{center:l,radius:h,series:u}}(d,e,a,i,t),wt(e.series,e,a,i,e.chartData),vt(e,a,i,t),$t(0,i)},onAnimationFinish:function(){o.uevent.trigger("renderComplete")}});break;case"line":this.animationInstance=new Ot({timing:e.timing,duration:x,onProcess:function(t){i.clearRect(0,0,e.width,e.height),e.rotate&&it(i,e),yt(0,e,0,i),mt(h,e,a,i);var n=function(t,e,a,i){var n=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,r=s({},{type:"straight",width:2},e.extra.line);r.width*=e.pix;var o=e.chartData.xAxisData,l=o.xAxisPoints,c=o.eachSpacing,d=[];i.save();var h=0,u=e.width+c;return e._scrollDistance_&&0!==e._scrollDistance_&&!0===e.enableScroll&&(i.translate(e._scrollDistance_,0),h=-e._scrollDistance_-2*c+e.area[3],u=h+(e.xAxis.itemCount+4)*c),t.forEach((function(t,o){var s,p,x;s=[].concat(e.chartData.yAxisData.ranges[t.index]),p=s.pop(),x=s.shift();var g=t.data,v=J(g,p,x,l,c,e,a,n);d.push(v);var m=$(v,t);if("dash"==t.lineType){var y=t.dashLength?t.dashLength:8;y*=e.pix,i.setLineDash([y,y])}i.beginPath(),i.setStrokeStyle(t.color),i.setLineWidth(r.width),m.forEach((function(t,e){if(1===t.length)i.moveTo(t[0].x,t[0].y),i.arc(t[0].x,t[0].y,1,0,2*Math.PI);else{i.moveTo(t[0].x,t[0].y);var a=0;if("curve"===r.type)for(var n=0;n<t.length;n++){var o=t[n];if(0==a&&o.x>h&&(i.moveTo(o.x,o.y),a=1),n>0&&o.x>h&&o.x<u){var s=f(t,n-1);i.bezierCurveTo(s.ctrA.x,s.ctrA.y,s.ctrB.x,s.ctrB.y,o.x,o.y)}}if("straight"===r.type)for(var l=0;l<t.length;l++){var c=t[l];0==a&&c.x>h&&(i.moveTo(c.x,c.y),a=1),l>0&&c.x>h&&c.x<u&&i.lineTo(c.x,c.y)}if("step"===r.type)for(var d=0;d<t.length;d++){var p=t[d];0==a&&p.x>h&&(i.moveTo(p.x,p.y),a=1),d>0&&p.x>h&&p.x<u&&(i.lineTo(p.x,t[d-1].y),i.lineTo(p.x,p.y))}i.moveTo(t[0].x,t[0].y)}})),i.stroke(),i.setLineDash([]),!1!==e.dataPointShape&&nt(v,t.color,t.pointShape,i,e)})),!1!==e.dataLabel&&1===n&&t.forEach((function(t,r){var o,s,d;o=[].concat(e.chartData.yAxisData.ranges[t.index]),s=o.pop(),d=o.shift();var h=t.data,u=J(h,s,d,l,c,e,a,n);ot(u,t,a,i,e)})),i.restore(),{xAxisPoints:l,calPoints:d,eachSpacing:c}}(d,e,a,i,t),r=n.xAxisPoints,o=n.calPoints,l=n.eachSpacing;e.chartData.xAxisPoints=r,e.chartData.calPoints=o,e.chartData.eachSpacing=l,bt(0,e,a,i),!1!==e.enableMarkLine&&1===t&&ut(e,a,i),wt(e.series,e,a,i,e.chartData),vt(e,a,i,t),$t(0,i)},onAnimationFinish:function(){o.uevent.trigger("renderComplete")}});break;case"scatter":this.animationInstance=new Ot({timing:e.timing,duration:x,onProcess:function(t){i.clearRect(0,0,e.width,e.height),e.rotate&&it(i,e),yt(0,e,0,i),mt(h,e,a,i);var n=function(t,e,a,i){var n=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,r=(s({},{type:"circle"},e.extra.scatter),e.chartData.xAxisData),o=r.xAxisPoints,l=r.eachSpacing,c=[];i.save();return e.width,e._scrollDistance_&&0!==e._scrollDistance_&&!0===e.enableScroll&&(i.translate(e._scrollDistance_,0),-e._scrollDistance_-2*l+e.area[3],e.xAxis.itemCount),t.forEach((function(t,r){var s,c,d;s=[].concat(e.chartData.yAxisData.ranges[t.index]),c=s.pop(),d=s.shift();var h=t.data,u=J(h,c,d,o,l,e,a,n);i.beginPath(),i.setStrokeStyle(t.color),i.setFillStyle(t.color),i.setLineWidth(1*e.pix);var f=t.pointShape;if("diamond"===f)u.forEach((function(t,e){null!==t&&(i.moveTo(t.x,t.y-4.5),i.lineTo(t.x-4.5,t.y),i.lineTo(t.x,t.y+4.5),i.lineTo(t.x+4.5,t.y),i.lineTo(t.x,t.y-4.5))}));else if("circle"===f)u.forEach((function(t,a){null!==t&&(i.moveTo(t.x+2.5*e.pix,t.y),i.arc(t.x,t.y,3*e.pix,0,2*Math.PI,!1))}));else if("square"===f)u.forEach((function(t,e){null!==t&&(i.moveTo(t.x-3.5,t.y-3.5),i.rect(t.x-3.5,t.y-3.5,7,7))}));else if("triangle"===f)u.forEach((function(t,e){null!==t&&(i.moveTo(t.x,t.y-4.5),i.lineTo(t.x-4.5,t.y+4.5),i.lineTo(t.x+4.5,t.y+4.5),i.lineTo(t.x,t.y-4.5))}));else if("triangle"===f)return;i.closePath(),i.fill(),i.stroke()})),!1!==e.dataLabel&&1===n&&t.forEach((function(t,r){var s,c,d;s=[].concat(e.chartData.yAxisData.ranges[t.index]),c=s.pop(),d=s.shift();var h=t.data,u=J(h,c,d,o,l,e,a,n);ot(u,t,a,i,e)})),i.restore(),{xAxisPoints:o,calPoints:c,eachSpacing:l}}(d,e,a,i,t),r=n.xAxisPoints,o=n.calPoints,l=n.eachSpacing;e.chartData.xAxisPoints=r,e.chartData.calPoints=o,e.chartData.eachSpacing=l,bt(0,e,a,i),!1!==e.enableMarkLine&&1===t&&ut(e,a,i),wt(e.series,e,a,i,e.chartData),vt(e,a,i,t),$t(0,i)},onAnimationFinish:function(){o.uevent.trigger("renderComplete")}});break;case"bubble":this.animationInstance=new Ot({timing:e.timing,duration:x,onProcess:function(t){i.clearRect(0,0,e.width,e.height),e.rotate&&it(i,e),yt(0,e,0,i),mt(h,e,a,i);var n=function(t,e,a,i){var n=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,r=s({},{opacity:1,border:2},e.extra.bubble),o=e.chartData.xAxisData,l=o.xAxisPoints,d=o.eachSpacing,h=[];i.save();return e.width,e._scrollDistance_&&0!==e._scrollDistance_&&!0===e.enableScroll&&(i.translate(e._scrollDistance_,0),-e._scrollDistance_-2*d+e.area[3],e.xAxis.itemCount),t.forEach((function(t,o){var s,h,u;s=[].concat(e.chartData.yAxisData.ranges[t.index]),h=s.pop(),u=s.shift();var f=t.data,p=J(f,h,u,l,d,e,a,n);i.beginPath(),i.setStrokeStyle(t.color),i.setLineWidth(r.border*e.pix),i.setFillStyle(c(t.color,r.opacity)),p.forEach((function(t,a){i.moveTo(t.x+t.r,t.y),i.arc(t.x,t.y,t.r*e.pix,0,2*Math.PI,!1)})),i.closePath(),i.fill(),i.stroke(),!1!==e.dataLabel&&1===n&&p.forEach((function(n,r){i.beginPath();var o=t.textSize*e.pix||a.fontSize;i.setFontSize(o),i.setFillStyle(t.textColor||"#FFFFFF"),i.setTextAlign("center"),i.fillText(String(n.t),n.x,n.y+o/2),i.closePath(),i.stroke(),i.setTextAlign("left")}))})),i.restore(),{xAxisPoints:l,calPoints:h,eachSpacing:d}}(d,e,a,i,t),r=n.xAxisPoints,o=n.calPoints,l=n.eachSpacing;e.chartData.xAxisPoints=r,e.chartData.calPoints=o,e.chartData.eachSpacing=l,bt(0,e,a,i),!1!==e.enableMarkLine&&1===t&&ut(e,a,i),wt(e.series,e,a,i,e.chartData),vt(e,a,i,t),$t(0,i)},onAnimationFinish:function(){o.uevent.trigger("renderComplete")}});break;case"mix":this.animationInstance=new Ot({timing:e.timing,duration:x,onProcess:function(t){i.clearRect(0,0,e.width,e.height),e.rotate&&it(i,e),yt(0,e,0,i),mt(h,e,a,i);var r=function(t,e,a,i){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,o=e.chartData.xAxisData,l=o.xAxisPoints,d=o.eachSpacing,h=s({},{width:d/2,barBorderCircle:!1,barBorderRadius:[],seriesGap:2,linearType:"none",linearOpacity:1,customColor:[],colorStop:0},e.extra.mix.column),u=s({},{opacity:.2,gradient:!1},e.extra.mix.area),p=s({},{width:2},e.extra.mix.line),x=e.height-e.area[2],g=[],m=0,y=0;t.forEach((function(t,e){"column"==t.type&&(y+=1)})),i.save();var b=-2,w=l.length+2,_=0,C=e.width+d;if(e._scrollDistance_&&0!==e._scrollDistance_&&!0===e.enableScroll&&(i.translate(e._scrollDistance_,0),b=Math.floor(-e._scrollDistance_/d)-2,w=b+e.xAxis.itemCount+4,_=-e._scrollDistance_-2*d+e.area[3],C=_+(e.xAxis.itemCount+4)*d),h.customColor=v(h.linearType,h.customColor,t,a),t.forEach((function(t,o){var s,v,A;s=[].concat(e.chartData.yAxisData.ranges[t.index]),v=s.pop(),A=s.shift();var S=t.data,T=J(S,v,A,l,d,e,a,r);if(g.push(T),"column"==t.type){T=N(T,d,y,m,0,e);for(var k=0;k<T.length;k++){var P=T[k];if(null!==P&&k>b&&k<w){var M=P.x-P.width/2;e.height,P.y,e.area[2];i.beginPath();var D=P.color||t.color,F=P.color||t.color;if("none"!==h.linearType){var L=i.createLinearGradient(M,P.y,M,e.height-e.area[2]);"opacity"==h.linearType?(L.addColorStop(0,c(D,h.linearOpacity)),L.addColorStop(1,c(D,1))):(L.addColorStop(0,c(h.customColor[t.linearIndex],h.linearOpacity)),L.addColorStop(h.colorStop,c(h.customColor[t.linearIndex],h.linearOpacity)),L.addColorStop(1,c(D,1))),D=L}if(h.barBorderRadius&&4===h.barBorderRadius.length||h.barBorderCircle){var O=M,I=P.y,E=P.width,z=e.height-e.area[2]-P.y;h.barBorderCircle&&(h.barBorderRadius=[E/2,E/2,0,0]);var B=(0,n.default)(h.barBorderRadius,4),W=B[0],R=B[1],j=B[2],G=B[3],Y=Math.min(E/2,z/2);W=W>Y?Y:W,R=R>Y?Y:R,j=j>Y?Y:j,G=G>Y?Y:G,W=W<0?0:W,R=R<0?0:R,j=j<0?0:j,G=G<0?0:G,i.arc(O+W,I+W,W,-Math.PI,-Math.PI/2),i.arc(O+E-R,I+R,R,-Math.PI/2,0),i.arc(O+E-j,I+z-j,j,0,Math.PI/2),i.arc(O+G,I+z-G,G,Math.PI/2,Math.PI)}else i.moveTo(M,P.y),i.lineTo(M+P.width,P.y),i.lineTo(M+P.width,e.height-e.area[2]),i.lineTo(M,e.height-e.area[2]),i.lineTo(M,P.y),i.setLineWidth(1),i.setStrokeStyle(F);i.setFillStyle(D),i.closePath(),i.fill()}}m+=1}if("area"==t.type)for(var U=$(T,t),V=0;V<U.length;V++){var H=U[V];if(i.beginPath(),i.setStrokeStyle(t.color),i.setStrokeStyle(c(t.color,u.opacity)),u.gradient){var X=i.createLinearGradient(0,e.area[0],0,e.height-e.area[2]);X.addColorStop("0",c(t.color,u.opacity)),X.addColorStop("1.0",c("#FFFFFF",.1)),i.setFillStyle(X)}else i.setFillStyle(c(t.color,u.opacity));if(i.setLineWidth(2*e.pix),H.length>1){var q=H[0],Q=H[H.length-1];i.moveTo(q.x,q.y);var Z=0;if("curve"===t.style)for(var K=0;K<H.length;K++){var tt=H[K];if(0==Z&&tt.x>_&&(i.moveTo(tt.x,tt.y),Z=1),K>0&&tt.x>_&&tt.x<C){var et=f(H,K-1);i.bezierCurveTo(et.ctrA.x,et.ctrA.y,et.ctrB.x,et.ctrB.y,tt.x,tt.y)}}else for(var at=0;at<H.length;at++){var it=H[at];0==Z&&it.x>_&&(i.moveTo(it.x,it.y),Z=1),at>0&&it.x>_&&it.x<C&&i.lineTo(it.x,it.y)}i.lineTo(Q.x,x),i.lineTo(q.x,x),i.lineTo(q.x,q.y)}else{var rt=H[0];i.moveTo(rt.x-d/2,rt.y),i.lineTo(rt.x+d/2,rt.y),i.lineTo(rt.x+d/2,x),i.lineTo(rt.x-d/2,x),i.moveTo(rt.x-d/2,rt.y)}i.closePath(),i.fill()}if("line"==t.type){var ot=$(T,t);ot.forEach((function(a,n){if("dash"==t.lineType){var r=t.dashLength?t.dashLength:8;r*=e.pix,i.setLineDash([r,r])}if(i.beginPath(),i.setStrokeStyle(t.color),i.setLineWidth(p.width*e.pix),1===a.length)i.moveTo(a[0].x,a[0].y),i.arc(a[0].x,a[0].y,1,0,2*Math.PI);else{i.moveTo(a[0].x,a[0].y);var o=0;if("curve"==t.style)for(var s=0;s<a.length;s++){var l=a[s];if(0==o&&l.x>_&&(i.moveTo(l.x,l.y),o=1),s>0&&l.x>_&&l.x<C){var c=f(a,s-1);i.bezierCurveTo(c.ctrA.x,c.ctrA.y,c.ctrB.x,c.ctrB.y,l.x,l.y)}}else for(var d=0;d<a.length;d++){var h=a[d];0==o&&h.x>_&&(i.moveTo(h.x,h.y),o=1),d>0&&h.x>_&&h.x<C&&i.lineTo(h.x,h.y)}i.moveTo(a[0].x,a[0].y)}i.stroke(),i.setLineDash([])}))}"point"==t.type&&(t.addPoint=!0),1==t.addPoint&&"column"!==t.type&&nt(T,t.color,t.pointShape,i,e)})),!1!==e.dataLabel&&1===r){m=0;t.forEach((function(t,n){var o,s,c;o=[].concat(e.chartData.yAxisData.ranges[t.index]),s=o.pop(),c=o.shift();var h=t.data,u=J(h,s,c,l,d,e,a,r);"column"!==t.type?ot(u,t,a,i,e):(u=N(u,d,y,m,0,e),ot(u,t,a,i,e),m+=1)}))}return i.restore(),{xAxisPoints:l,calPoints:g,eachSpacing:d}}(d,e,a,i,t),o=r.xAxisPoints,l=r.calPoints,u=r.eachSpacing;e.chartData.xAxisPoints=o,e.chartData.calPoints=l,e.chartData.eachSpacing=u,bt(0,e,a,i),!1!==e.enableMarkLine&&1===t&&ut(e,a,i),wt(e.series,e,a,i,e.chartData),vt(e,a,i,t),$t(0,i)},onAnimationFinish:function(){o.uevent.trigger("renderComplete")}});break;case"column":this.animationInstance=new Ot({timing:e.timing,duration:x,onProcess:function(t){i.clearRect(0,0,e.width,e.height),e.rotate&&it(i,e),yt(0,e,0,i),mt(h,e,a,i);var r=function(t,e,a,i){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,o=e.chartData.xAxisData,l=o.xAxisPoints,d=o.eachSpacing,h=s({},{type:"group",width:d/2,meterBorder:4,meterFillColor:"#FFFFFF",barBorderCircle:!1,barBorderRadius:[],seriesGap:2,linearType:"none",linearOpacity:1,customColor:[],colorStop:0},e.extra.column),u=[];i.save();var f=-2,p=l.length+2;return e._scrollDistance_&&0!==e._scrollDistance_&&!0===e.enableScroll&&(i.translate(e._scrollDistance_,0),f=Math.floor(-e._scrollDistance_/d)-2,p=f+e.xAxis.itemCount+4),e.tooltip&&e.tooltip.textList&&e.tooltip.textList.length&&1===r&&pt(e.tooltip.offset.x,e,0,i,d),h.customColor=v(h.linearType,h.customColor,t,a),t.forEach((function(o,s){var x,g,v;x=[].concat(e.chartData.yAxisData.ranges[o.index]),g=x.pop(),v=x.shift();var m=o.data;switch(h.type){case"group":var y=J(m,g,v,l,d,e,a,r),b=K(m,g,v,l,d,e,a,s,t,r);u.push(b),y=N(y,d,t.length,s,0,e);for(var w=0;w<y.length;w++){var _=y[w];if(null!==_&&w>f&&w<p){var C=_.x-_.width/2,A=e.height-_.y-e.area[2];i.beginPath();var S=_.color||o.color,T=_.color||o.color;if("none"!==h.linearType){var k=i.createLinearGradient(C,_.y,C,e.height-e.area[2]);"opacity"==h.linearType?(k.addColorStop(0,c(S,h.linearOpacity)),k.addColorStop(1,c(S,1))):(k.addColorStop(0,c(h.customColor[o.linearIndex],h.linearOpacity)),k.addColorStop(h.colorStop,c(h.customColor[o.linearIndex],h.linearOpacity)),k.addColorStop(1,c(S,1))),S=k}if(h.barBorderRadius&&4===h.barBorderRadius.length||!0===h.barBorderCircle){var P=C,M=_.y,D=_.width,F=e.height-e.area[2]-_.y;h.barBorderCircle&&(h.barBorderRadius=[D/2,D/2,0,0]);var $=(0,n.default)(h.barBorderRadius,4),L=$[0],O=$[1],I=$[2],E=$[3],z=Math.min(D/2,F/2);L=L>z?z:L,O=O>z?z:O,I=I>z?z:I,E=E>z?z:E,L=L<0?0:L,O=O<0?0:O,I=I<0?0:I,E=E<0?0:E,i.arc(P+L,M+L,L,-Math.PI,-Math.PI/2),i.arc(P+D-O,M+O,O,-Math.PI/2,0),i.arc(P+D-I,M+F-I,I,0,Math.PI/2),i.arc(P+E,M+F-E,E,Math.PI/2,Math.PI)}else i.moveTo(C,_.y),i.lineTo(C+_.width,_.y),i.lineTo(C+_.width,e.height-e.area[2]),i.lineTo(C,e.height-e.area[2]),i.lineTo(C,_.y),i.setLineWidth(1),i.setStrokeStyle(T);i.setFillStyle(S),i.closePath(),i.fill()}}break;case"stack":y=K(m,g,v,l,d,e,a,s,t,r);u.push(y),y=V(y,d,t.length,0,0,e);for(var B=0;B<y.length;B++){var W=y[B];if(null!==W&&B>f&&B<p){i.beginPath();S=W.color||o.color,C=W.x-W.width/2+1,A=e.height-W.y-e.area[2];var R=e.height-W.y0-e.area[2];s>0&&(A-=R),i.setFillStyle(S),i.moveTo(C,W.y),i.fillRect(C,W.y,W.width,A),i.closePath(),i.fill()}}break;case"meter":y=J(m,g,v,l,d,e,a,r);u.push(y),y=U(y,d,t.length,s,0,e,h.meterBorder);for(var j=0;j<y.length;j++){var G=y[j];if(null!==G&&j>f&&j<p){i.beginPath(),0==s&&h.meterBorder>0&&(i.setStrokeStyle(o.color),i.setLineWidth(h.meterBorder*e.pix)),0==s?i.setFillStyle(h.meterFillColor):i.setFillStyle(G.color||o.color);C=G.x-G.width/2,A=e.height-G.y-e.area[2];if(h.barBorderRadius&&4===h.barBorderRadius.length||!0===h.barBorderCircle){var Y=C,H=G.y,X=G.width,q=e.height-e.area[2]-G.y;h.barBorderCircle&&(h.barBorderRadius=[X/2,X/2,0,0]);var Q=(0,n.default)(h.barBorderRadius,4),Z=Q[0],tt=Q[1],et=Q[2],at=Q[3],it=Math.min(X/2,q/2);Z=Z>it?it:Z,tt=tt>it?it:tt,et=et>it?it:et,at=at>it?it:at,Z=Z<0?0:Z,tt=tt<0?0:tt,et=et<0?0:et,at=at<0?0:at,i.arc(Y+Z,H+Z,Z,-Math.PI,-Math.PI/2),i.arc(Y+X-tt,H+tt,tt,-Math.PI/2,0),i.arc(Y+X-et,H+q-et,et,0,Math.PI/2),i.arc(Y+at,H+q-at,at,Math.PI/2,Math.PI),i.fill()}else i.moveTo(C,G.y),i.lineTo(C+G.width,G.y),i.lineTo(C+G.width,e.height-e.area[2]),i.lineTo(C,e.height-e.area[2]),i.lineTo(C,G.y),i.fill();0==s&&h.meterBorder>0&&(i.closePath(),i.stroke())}}break}})),!1!==e.dataLabel&&1===r&&t.forEach((function(n,o){var s,c,u;s=[].concat(e.chartData.yAxisData.ranges[n.index]),c=s.pop(),u=s.shift();var f=n.data;switch(h.type){case"group":var p=J(f,c,u,l,d,e,a,r);p=N(p,d,t.length,o,0,e),ot(p,n,a,i,e);break;case"stack":p=K(f,c,u,l,d,e,a,o,t,r);ot(p,n,a,i,e);break;case"meter":p=J(f,c,u,l,d,e,a,r);ot(p,n,a,i,e);break}})),i.restore(),{xAxisPoints:l,calPoints:u,eachSpacing:d}}(d,e,a,i,t),o=r.xAxisPoints,l=r.calPoints,u=r.eachSpacing;e.chartData.xAxisPoints=o,e.chartData.calPoints=l,e.chartData.eachSpacing=u,bt(0,e,a,i),!1!==e.enableMarkLine&&1===t&&ut(e,a,i),wt(e.series,e,a,i,e.chartData),vt(e,a,i,t),$t(0,i)},onAnimationFinish:function(){o.uevent.trigger("renderComplete")}});break;case"mount":this.animationInstance=new Ot({timing:e.timing,duration:x,onProcess:function(t){i.clearRect(0,0,e.width,e.height),e.rotate&&it(i,e),yt(0,e,0,i),mt(h,e,a,i);var r=function(t,e,a,i){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,o=e.chartData.xAxisData,l=o.xAxisPoints,d=o.eachSpacing,h=s({},{type:"mount",widthRatio:1,borderWidth:1,barBorderCircle:!1,barBorderRadius:[],linearType:"none",linearOpacity:1,customColor:[],colorStop:0},e.extra.mount);h.widthRatio=h.widthRatio<=0?0:h.widthRatio,h.widthRatio=h.widthRatio>=2?2:h.widthRatio,i.save();var u,f,p,x=-2,g=l.length+2;e._scrollDistance_&&0!==e._scrollDistance_&&!0===e.enableScroll&&(i.translate(e._scrollDistance_,0),x=Math.floor(-e._scrollDistance_/d)-2,g=x+e.xAxis.itemCount+4),h.customColor=v(h.linearType,h.customColor,t,a),u=[].concat(e.chartData.yAxisData.ranges[0]),f=u.pop(),p=u.shift();var m=Q(t,f,p,l,d,e,h,r);switch(h.type){case"bar":for(var y=0;y<m.length;y++){var b=m[y];if(null!==b&&y>x&&y<g){var w=b.x-d*h.widthRatio/2,_=e.height-b.y-e.area[2];i.beginPath();var C=b.color||t[y].color,A=b.color||t[y].color;if("none"!==h.linearType){var S=i.createLinearGradient(w,b.y,w,e.height-e.area[2]);"opacity"==h.linearType?(S.addColorStop(0,c(C,h.linearOpacity)),S.addColorStop(1,c(C,1))):(S.addColorStop(0,c(h.customColor[t[y].linearIndex],h.linearOpacity)),S.addColorStop(h.colorStop,c(h.customColor[t[y].linearIndex],h.linearOpacity)),S.addColorStop(1,c(C,1))),C=S}if(h.barBorderRadius&&4===h.barBorderRadius.length||!0===h.barBorderCircle){var T=w,k=b.y,P=b.width,M=e.height-e.area[2]-b.y-h.borderWidth*e.pix/2;h.barBorderCircle&&(h.barBorderRadius=[P/2,P/2,0,0]);var D=(0,n.default)(h.barBorderRadius,4),F=D[0],$=D[1],L=D[2],O=D[3],I=Math.min(P/2,M/2);F=F>I?I:F,$=$>I?I:$,L=L>I?I:L,O=O>I?I:O,F=F<0?0:F,$=$<0?0:$,L=L<0?0:L,O=O<0?0:O,i.arc(T+F,k+F,F,-Math.PI,-Math.PI/2),i.arc(T+P-$,k+$,$,-Math.PI/2,0),i.arc(T+P-L,k+M-L,L,0,Math.PI/2),i.arc(T+O,k+M-O,O,Math.PI/2,Math.PI)}else i.moveTo(w,b.y),i.lineTo(w+b.width,b.y),i.lineTo(w+b.width,e.height-e.area[2]),i.lineTo(w,e.height-e.area[2]),i.lineTo(w,b.y);i.setStrokeStyle(A),i.setFillStyle(C),h.borderWidth>0&&(i.setLineWidth(h.borderWidth*e.pix),i.closePath(),i.stroke()),i.fill()}}break;case"triangle":for(var E=0;E<m.length;E++){var z=m[E];if(null!==z&&E>x&&E<g){w=z.x-d*h.widthRatio/2,_=e.height-z.y-e.area[2];i.beginPath();C=z.color||t[E].color,A=z.color||t[E].color;if("none"!==h.linearType){S=i.createLinearGradient(w,z.y,w,e.height-e.area[2]);"opacity"==h.linearType?(S.addColorStop(0,c(C,h.linearOpacity)),S.addColorStop(1,c(C,1))):(S.addColorStop(0,c(h.customColor[t[E].linearIndex],h.linearOpacity)),S.addColorStop(h.colorStop,c(h.customColor[t[E].linearIndex],h.linearOpacity)),S.addColorStop(1,c(C,1))),C=S}i.moveTo(w,e.height-e.area[2]),i.lineTo(z.x,z.y),i.lineTo(w+z.width,e.height-e.area[2]),i.setStrokeStyle(A),i.setFillStyle(C),h.borderWidth>0&&(i.setLineWidth(h.borderWidth*e.pix),i.stroke()),i.fill()}}break;case"mount":for(var B=0;B<m.length;B++){var W=m[B];if(null!==W&&B>x&&B<g){w=W.x-d*h.widthRatio/2,_=e.height-W.y-e.area[2];i.beginPath();C=W.color||t[B].color,A=W.color||t[B].color;if("none"!==h.linearType){S=i.createLinearGradient(w,W.y,w,e.height-e.area[2]);"opacity"==h.linearType?(S.addColorStop(0,c(C,h.linearOpacity)),S.addColorStop(1,c(C,1))):(S.addColorStop(0,c(h.customColor[t[B].linearIndex],h.linearOpacity)),S.addColorStop(h.colorStop,c(h.customColor[t[B].linearIndex],h.linearOpacity)),S.addColorStop(1,c(C,1))),C=S}i.moveTo(w,e.height-e.area[2]),i.bezierCurveTo(W.x-W.width/4,e.height-e.area[2],W.x-W.width/4,W.y,W.x,W.y),i.bezierCurveTo(W.x+W.width/4,W.y,W.x+W.width/4,e.height-e.area[2],w+W.width,e.height-e.area[2]),i.setStrokeStyle(A),i.setFillStyle(C),h.borderWidth>0&&(i.setLineWidth(h.borderWidth*e.pix),i.stroke()),i.fill()}}break;case"sharp":for(var R=0;R<m.length;R++){var j=m[R];if(null!==j&&R>x&&R<g){w=j.x-d*h.widthRatio/2,_=e.height-j.y-e.area[2];i.beginPath();C=j.color||t[R].color,A=j.color||t[R].color;if("none"!==h.linearType){S=i.createLinearGradient(w,j.y,w,e.height-e.area[2]);"opacity"==h.linearType?(S.addColorStop(0,c(C,h.linearOpacity)),S.addColorStop(1,c(C,1))):(S.addColorStop(0,c(h.customColor[t[R].linearIndex],h.linearOpacity)),S.addColorStop(h.colorStop,c(h.customColor[t[R].linearIndex],h.linearOpacity)),S.addColorStop(1,c(C,1))),C=S}i.moveTo(w,e.height-e.area[2]),i.quadraticCurveTo(j.x-0,e.height-e.area[2]-_/4,j.x,j.y),i.quadraticCurveTo(j.x+0,e.height-e.area[2]-_/4,w+j.width,e.height-e.area[2]),i.setStrokeStyle(A),i.setFillStyle(C),h.borderWidth>0&&(i.setLineWidth(h.borderWidth*e.pix),i.stroke()),i.fill()}}break}if(!1!==e.dataLabel&&1===r){var G,N,Y;G=[].concat(e.chartData.yAxisData.ranges[0]),N=G.pop(),Y=G.shift();m=Q(t,N,Y,l,d,e,h,r);st(m,t,a,i,e)}return i.restore(),{xAxisPoints:l,calPoints:m,eachSpacing:d}}(d,e,a,i,t),o=r.xAxisPoints,l=r.calPoints,u=r.eachSpacing;e.chartData.xAxisPoints=o,e.chartData.calPoints=l,e.chartData.eachSpacing=u,bt(0,e,a,i),!1!==e.enableMarkLine&&1===t&&ut(e,a,i),wt(e.series,e,a,i,e.chartData),vt(e,a,i,t),$t(0,i)},onAnimationFinish:function(){o.uevent.trigger("renderComplete")}});break;case"bar":this.animationInstance=new Ot({timing:e.timing,duration:x,onProcess:function(t){i.clearRect(0,0,e.width,e.height),e.rotate&&it(i,e),mt(h,e,a,i);var r=function(t,e,a,i){for(var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,o=[],l=(e.height-e.area[0]-e.area[2])/e.categories.length,d=0;d<e.categories.length;d++)o.push(e.area[0]+l/2+l*d);var h=s({},{type:"group",width:l/2,meterBorder:4,meterFillColor:"#FFFFFF",barBorderCircle:!1,barBorderRadius:[],seriesGap:2,linearType:"none",linearOpacity:1,customColor:[],colorStop:0},e.extra.bar),u=[];i.save();var f=-2,p=o.length+2;return e.tooltip&&e.tooltip.textList&&e.tooltip.textList.length&&1===r&&xt(e.tooltip.offset.y,e,0,i,l),h.customColor=v(h.linearType,h.customColor,t,a),t.forEach((function(s,d){var x,g,v;x=[].concat(e.chartData.xAxisData.ranges),v=x.pop(),g=x.shift();var m=s.data;switch(h.type){case"group":var y=Z(m,g,v,o,l,e,a,r),b=tt(m,g,v,o,l,e,a,d,t,r);u.push(b),y=Y(y,l,t.length,d,0,e);for(var w=0;w<y.length;w++){var _=y[w];if(null!==_&&w>f&&w<p){var C=e.area[3],A=_.y-_.width/2;_.height;i.beginPath();var S=_.color||s.color,T=_.color||s.color;if("none"!==h.linearType){var k=i.createLinearGradient(C,_.y,_.x,_.y);"opacity"==h.linearType?(k.addColorStop(0,c(S,h.linearOpacity)),k.addColorStop(1,c(S,1))):(k.addColorStop(0,c(h.customColor[s.linearIndex],h.linearOpacity)),k.addColorStop(h.colorStop,c(h.customColor[s.linearIndex],h.linearOpacity)),k.addColorStop(1,c(S,1))),S=k}if(h.barBorderRadius&&4===h.barBorderRadius.length||!0===h.barBorderCircle){var P=C,M=_.width,D=_.y-_.width/2,F=_.height;h.barBorderCircle&&(h.barBorderRadius=[M/2,M/2,0,0]);var $=(0,n.default)(h.barBorderRadius,4),L=$[0],O=$[1],I=$[2],E=$[3],z=Math.min(M/2,F/2);L=L>z?z:L,O=O>z?z:O,I=I>z?z:I,E=E>z?z:E,L=L<0?0:L,O=O<0?0:O,I=I<0?0:I,E=E<0?0:E,i.arc(P+E,D+E,E,-Math.PI,-Math.PI/2),i.arc(_.x-L,D+L,L,-Math.PI/2,0),i.arc(_.x-O,D+M-O,O,0,Math.PI/2),i.arc(P+I,D+M-I,I,Math.PI/2,Math.PI)}else i.moveTo(C,A),i.lineTo(_.x,A),i.lineTo(_.x,A+_.width),i.lineTo(C,A+_.width),i.lineTo(C,A),i.setLineWidth(1),i.setStrokeStyle(T);i.setFillStyle(S),i.closePath(),i.fill()}}break;case"stack":y=tt(m,g,v,o,l,e,a,d,t,r);u.push(y),y=H(y,l,t.length,0,0,e);for(var B=0;B<y.length;B++){var W=y[B];if(null!==W&&B>f&&B<p){i.beginPath();S=W.color||s.color,C=W.x0;i.setFillStyle(S),i.moveTo(C,W.y-W.width/2),i.fillRect(C,W.y-W.width/2,W.height,W.width),i.closePath(),i.fill()}}break}})),!1!==e.dataLabel&&1===r&&t.forEach((function(n,s){var c,d,u;c=[].concat(e.chartData.xAxisData.ranges),u=c.pop(),d=c.shift();var f=n.data;switch(h.type){case"group":var p=Z(f,d,u,o,l,e,a,r);p=Y(p,l,t.length,s,0,e),lt(p,n,a,i,e);break;case"stack":p=tt(f,d,u,o,l,e,a,s,t,r);lt(p,n,a,i,e);break}})),{yAxisPoints:o,calPoints:u,eachSpacing:l}}(d,e,a,i,t),o=r.yAxisPoints,l=r.calPoints,u=r.eachSpacing;e.chartData.yAxisPoints=o,e.chartData.xAxisPoints=e.chartData.xAxisData.xAxisPoints,e.chartData.calPoints=l,e.chartData.eachSpacing=u,bt(0,e,a,i),!1!==e.enableMarkLine&&1===t&&ut(e,a,i),wt(e.series,e,a,i,e.chartData),vt(e,a,i,t),$t(0,i)},onAnimationFinish:function(){o.uevent.trigger("renderComplete")}});break;case"area":this.animationInstance=new Ot({timing:e.timing,duration:x,onProcess:function(t){i.clearRect(0,0,e.width,e.height),e.rotate&&it(i,e),yt(0,e,0,i),mt(h,e,a,i);var n=function(t,e,a,i){var n=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,r=s({},{type:"straight",opacity:.2,addLine:!1,width:2,gradient:!1},e.extra.area),o=e.chartData.xAxisData,l=o.xAxisPoints,d=o.eachSpacing,h=e.height-e.area[2],u=[];i.save();var p=0,x=e.width+d;return e._scrollDistance_&&0!==e._scrollDistance_&&!0===e.enableScroll&&(i.translate(e._scrollDistance_,0),p=-e._scrollDistance_-2*d+e.area[3],x=p+(e.xAxis.itemCount+4)*d),t.forEach((function(t,o){var s,g,v;s=[].concat(e.chartData.yAxisData.ranges[t.index]),g=s.pop(),v=s.shift();var m=t.data,y=J(m,g,v,l,d,e,a,n);u.push(y);for(var b=$(y,t),w=0;w<b.length;w++){var _=b[w];if(i.beginPath(),i.setStrokeStyle(c(t.color,r.opacity)),r.gradient){var C=i.createLinearGradient(0,e.area[0],0,e.height-e.area[2]);C.addColorStop("0",c(t.color,r.opacity)),C.addColorStop("1.0",c("#FFFFFF",.1)),i.setFillStyle(C)}else i.setFillStyle(c(t.color,r.opacity));if(i.setLineWidth(r.width*e.pix),_.length>1){var A=_[0],S=_[_.length-1];i.moveTo(A.x,A.y);var T=0;if("curve"===r.type)for(var k=0;k<_.length;k++){var P=_[k];if(0==T&&P.x>p&&(i.moveTo(P.x,P.y),T=1),k>0&&P.x>p&&P.x<x){var M=f(_,k-1);i.bezierCurveTo(M.ctrA.x,M.ctrA.y,M.ctrB.x,M.ctrB.y,P.x,P.y)}}if("straight"===r.type)for(var D=0;D<_.length;D++){var F=_[D];0==T&&F.x>p&&(i.moveTo(F.x,F.y),T=1),D>0&&F.x>p&&F.x<x&&i.lineTo(F.x,F.y)}if("step"===r.type)for(var L=0;L<_.length;L++){var O=_[L];0==T&&O.x>p&&(i.moveTo(O.x,O.y),T=1),L>0&&O.x>p&&O.x<x&&(i.lineTo(O.x,_[L-1].y),i.lineTo(O.x,O.y))}i.lineTo(S.x,h),i.lineTo(A.x,h),i.lineTo(A.x,A.y)}else{var I=_[0];i.moveTo(I.x-d/2,I.y),i.lineTo(I.x+d/2,I.y),i.lineTo(I.x+d/2,h),i.lineTo(I.x-d/2,h),i.moveTo(I.x-d/2,I.y)}if(i.closePath(),i.fill(),r.addLine){if("dash"==t.lineType){var E=t.dashLength?t.dashLength:8;E*=e.pix,i.setLineDash([E,E])}if(i.beginPath(),i.setStrokeStyle(t.color),i.setLineWidth(r.width*e.pix),1===_.length)i.moveTo(_[0].x,_[0].y),i.arc(_[0].x,_[0].y,1,0,2*Math.PI);else{i.moveTo(_[0].x,_[0].y);var z=0;if("curve"===r.type)for(var B=0;B<_.length;B++){var W=_[B];if(0==z&&W.x>p&&(i.moveTo(W.x,W.y),z=1),B>0&&W.x>p&&W.x<x){var R=f(_,B-1);i.bezierCurveTo(R.ctrA.x,R.ctrA.y,R.ctrB.x,R.ctrB.y,W.x,W.y)}}if("straight"===r.type)for(var j=0;j<_.length;j++){var G=_[j];0==z&&G.x>p&&(i.moveTo(G.x,G.y),z=1),j>0&&G.x>p&&G.x<x&&i.lineTo(G.x,G.y)}if("step"===r.type)for(var N=0;N<_.length;N++){var Y=_[N];0==z&&Y.x>p&&(i.moveTo(Y.x,Y.y),z=1),N>0&&Y.x>p&&Y.x<x&&(i.lineTo(Y.x,_[N-1].y),i.lineTo(Y.x,Y.y))}i.moveTo(_[0].x,_[0].y)}i.stroke(),i.setLineDash([])}}!1!==e.dataPointShape&&nt(y,t.color,t.pointShape,i,e)})),!1!==e.dataLabel&&1===n&&t.forEach((function(t,r){var o,s,c;o=[].concat(e.chartData.yAxisData.ranges[t.index]),s=o.pop(),c=o.shift();var h=t.data,u=J(h,s,c,l,d,e,a,n);ot(u,t,a,i,e)})),i.restore(),{xAxisPoints:l,calPoints:u,eachSpacing:d}}(d,e,a,i,t),r=n.xAxisPoints,o=n.calPoints,l=n.eachSpacing;e.chartData.xAxisPoints=r,e.chartData.calPoints=o,e.chartData.eachSpacing=l,bt(0,e,a,i),!1!==e.enableMarkLine&&1===t&&ut(e,a,i),wt(e.series,e,a,i,e.chartData),vt(e,a,i,t),$t(0,i)},onAnimationFinish:function(){o.uevent.trigger("renderComplete")}});break;case"ring":this.animationInstance=new Ot({timing:e.timing,duration:x,onProcess:function(t){i.clearRect(0,0,e.width,e.height),e.rotate&&it(i,e),e.chartData.pieData=_t(d,e,a,i,t),wt(e.series,e,a,i,e.chartData),vt(e,a,i,t),$t(0,i)},onAnimationFinish:function(){o.uevent.trigger("renderComplete")}});break;case"pie":this.animationInstance=new Ot({timing:e.timing,duration:x,onProcess:function(t){i.clearRect(0,0,e.width,e.height),e.rotate&&it(i,e),e.chartData.pieData=_t(d,e,a,i,t),wt(e.series,e,a,i,e.chartData),vt(e,a,i,t),$t(0,i)},onAnimationFinish:function(){o.uevent.trigger("renderComplete")}});break;case"rose":this.animationInstance=new Ot({timing:e.timing,duration:x,onProcess:function(t){i.clearRect(0,0,e.width,e.height),e.rotate&&it(i,e),e.chartData.pieData=function(t,e,a,i){var n=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,r=s({},{type:"area",activeOpacity:.5,activeRadius:10,offsetAngle:0,labelWidth:15,border:!1,borderWidth:2,borderColor:"#FFFFFF",linearType:"none",customColor:[]},e.extra.rose);0==a.pieChartLinePadding&&(a.pieChartLinePadding=r.activeRadius*e.pix);var o={x:e.area[3]+(e.width-e.area[1]-e.area[3])/2,y:e.area[0]+(e.height-e.area[0]-e.area[2])/2},l=Math.min((e.width-e.area[1]-e.area[3])/2-a.pieChartLinePadding-a.pieChartTextPadding-a._pieTextMaxLength_,(e.height-e.area[0]-e.area[2])/2-a.pieChartLinePadding-a.pieChartTextPadding);l=l<10?10:l;var d=r.minRadius||.5*l;t=B(t,r.type,d,l,n);var h=r.activeRadius*e.pix;return r.customColor=v(r.linearType,r.customColor,t,a),t=t.map((function(t){return t._start_+=(r.offsetAngle||0)*Math.PI/180,t})),t.forEach((function(t,a){e.tooltip&&e.tooltip.index==a&&(i.beginPath(),i.setFillStyle(c(t.color,r.activeOpacity||.5)),i.moveTo(o.x,o.y),i.arc(o.x,o.y,h+t._radius_,t._start_,t._start_+2*t._rose_proportion_*Math.PI),i.closePath(),i.fill()),i.beginPath(),i.setLineWidth(r.borderWidth*e.pix),i.lineJoin="round",i.setStrokeStyle(r.borderColor);var n,s=t.color;"custom"==r.linearType&&(n=i.createCircularGradient?i.createCircularGradient(o.x,o.y,t._radius_):i.createRadialGradient(o.x,o.y,0,o.x,o.y,t._radius_),n.addColorStop(0,c(r.customColor[t.linearIndex],1)),n.addColorStop(1,c(t.color,1)),s=n);i.setFillStyle(s),i.moveTo(o.x,o.y),i.arc(o.x,o.y,t._radius_,t._start_,t._start_+2*t._rose_proportion_*Math.PI),i.closePath(),i.fill(),1==r.border&&i.stroke()})),!1!==e.dataLabel&&1===n&&ht(t,e,a,i,0,o),{center:o,radius:l,series:t}}(d,e,a,i,t),wt(e.series,e,a,i,e.chartData),vt(e,a,i,t),$t(0,i)},onAnimationFinish:function(){o.uevent.trigger("renderComplete")}});break;case"radar":this.animationInstance=new Ot({timing:e.timing,duration:x,onProcess:function(t){i.clearRect(0,0,e.width,e.height),e.rotate&&it(i,e),e.chartData.radarData=function(t,e,a,i){var n=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,r=s({},{gridColor:"#cccccc",gridType:"radar",gridEval:1,axisLabel:!1,axisLabelTofix:0,labelColor:"#666666",labelPointShow:!1,labelPointRadius:3,labelPointColor:"#cccccc",opacity:.2,gridCount:3,border:!1,borderWidth:2,linearType:"none",customColor:[]},e.extra.radar),o=S(e.categories.length),l={x:e.area[3]+(e.width-e.area[1]-e.area[3])/2,y:e.area[0]+(e.height-e.area[0]-e.area[2])/2},d=(e.width-e.area[1]-e.area[3])/2,h=(e.height-e.area[0]-e.area[2])/2,u=Math.min(d-(A(e.categories,a.fontSize,i)+a.radarLabelTextMargin),h-a.radarLabelTextMargin);u-=a.radarLabelTextMargin*e.pix,u=u<10?10:u,i.beginPath(),i.setLineWidth(1*e.pix),i.setStrokeStyle(r.gridColor),o.forEach((function(t,e){var a=p(u*Math.cos(t),u*Math.sin(t),l);i.moveTo(l.x,l.y),e%r.gridEval==0&&i.lineTo(a.x,a.y)})),i.stroke(),i.closePath();for(var f=function(t){var a={};if(i.beginPath(),i.setLineWidth(1*e.pix),i.setStrokeStyle(r.gridColor),"radar"==r.gridType)o.forEach((function(e,n){var o=p(u/r.gridCount*t*Math.cos(e),u/r.gridCount*t*Math.sin(e),l);0===n?(a=o,i.moveTo(o.x,o.y)):i.lineTo(o.x,o.y)})),i.lineTo(a.x,a.y);else{var n=p(u/r.gridCount*t*Math.cos(1.5),u/r.gridCount*t*Math.sin(1.5),l);i.arc(l.x,l.y,l.y-n.y,0,2*Math.PI,!1)}i.stroke(),i.closePath()},x=1;x<=r.gridCount;x++)f(x);r.customColor=v(r.linearType,r.customColor,t,a);var g=I(o,l,u,t,e,n);if(g.forEach((function(a,n){i.beginPath(),i.setLineWidth(r.borderWidth*e.pix),i.setStrokeStyle(a.color);var o,s=c(a.color,r.opacity);"custom"==r.linearType&&(o=i.createCircularGradient?i.createCircularGradient(l.x,l.y,u):i.createRadialGradient(l.x,l.y,0,l.x,l.y,u),o.addColorStop(0,c(r.customColor[t[n].linearIndex],r.opacity)),o.addColorStop(1,c(a.color,r.opacity)),s=o);if(i.setFillStyle(s),a.data.forEach((function(t,e){0===e?i.moveTo(t.position.x,t.position.y):i.lineTo(t.position.x,t.position.y)})),i.closePath(),i.fill(),!0===r.border&&i.stroke(),i.closePath(),!1!==e.dataPointShape){var d=a.data.map((function(t){return t.position}));nt(d,a.color,a.pointShape,i,e)}})),!0===r.axisLabel){var m=Math.max(r.max,Math.max.apply(null,b(t))),y=u/r.gridCount,w=e.fontSize*e.pix;i.setFontSize(w),i.setFillStyle(e.fontColor),i.setTextAlign("left");for(x=0;x<r.gridCount+1;x++){var _=x*m/r.gridCount;_=_.toFixed(r.axisLabelTofix),i.fillText(String(_),l.x+3*e.pix,l.y-x*y+w/2)}}return dt(o,u,l,e,a,i),!1!==e.dataLabel&&1===n&&(g.forEach((function(t,n){i.beginPath();var r=t.textSize*e.pix||a.fontSize;i.setFontSize(r),i.setFillStyle(t.textColor||e.fontColor),t.data.forEach((function(t,e){Math.abs(t.position.x-l.x)<2?t.position.y<l.y?(i.setTextAlign("center"),i.fillText(t.value,t.position.x,t.position.y-4)):(i.setTextAlign("center"),i.fillText(t.value,t.position.x,t.position.y+r+2)):t.position.x<l.x?(i.setTextAlign("right"),i.fillText(t.value,t.position.x-4,t.position.y+r/2-2)):(i.setTextAlign("left"),i.fillText(t.value,t.position.x+4,t.position.y+r/2-2))})),i.closePath(),i.stroke()})),i.setTextAlign("left")),{center:l,radius:u,angleList:o}}(d,e,a,i,t),wt(e.series,e,a,i,e.chartData),vt(e,a,i,t),$t(0,i)},onAnimationFinish:function(){o.uevent.trigger("renderComplete")}});break;case"arcbar":this.animationInstance=new Ot({timing:e.timing,duration:x,onProcess:function(t){i.clearRect(0,0,e.width,e.height),e.rotate&&it(i,e),e.chartData.arcbarData=function(t,e,a,i){var n,r,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,l=s({},{startAngle:.75,endAngle:.25,type:"default",direction:"cw",lineCap:"round",width:12,gap:2,linearType:"none",customColor:[]},e.extra.arcbar);t=W(t,l,o),n=l.centerX||l.centerY?{x:l.centerX?l.centerX:e.width/2,y:l.centerY?l.centerY:e.height/2}:{x:e.width/2,y:e.height/2},l.radius?r=l.radius:(r=Math.min(n.x,n.y),r-=5*e.pix,r-=l.width/2),r=r<10?10:r,l.customColor=v(l.linearType,l.customColor,t,a);for(var d=0;d<t.length;d++){var h=t[d];i.setLineWidth(l.width*e.pix),i.setStrokeStyle(l.backgroundColor||"#E9E9E9"),i.setLineCap(l.lineCap),i.beginPath(),"default"==l.type?i.arc(n.x,n.y,r-(l.width*e.pix+l.gap*e.pix)*d,l.startAngle*Math.PI,l.endAngle*Math.PI,"ccw"==l.direction):i.arc(n.x,n.y,r-(l.width*e.pix+l.gap*e.pix)*d,0,2*Math.PI,"ccw"==l.direction),i.stroke();var u=h.color;if("custom"==l.linearType){var f=i.createLinearGradient(n.x-r,n.y,n.x+r,n.y);f.addColorStop(1,c(l.customColor[h.linearIndex],1)),f.addColorStop(0,c(h.color,1)),u=f}i.setLineWidth(l.width*e.pix),i.setStrokeStyle(u),i.setLineCap(l.lineCap),i.beginPath(),i.arc(n.x,n.y,r-(l.width*e.pix+l.gap*e.pix)*d,l.startAngle*Math.PI,h._proportion_*Math.PI,"ccw"==l.direction),i.stroke()}return rt(e,a,i,n),{center:n,radius:r,series:t}}(d,e,a,i,t),$t(0,i)},onAnimationFinish:function(){o.uevent.trigger("renderComplete")}});break;case"gauge":this.animationInstance=new Ot({timing:e.timing,duration:x,onProcess:function(t){i.clearRect(0,0,e.width,e.height),e.rotate&&it(i,e),e.chartData.gaugeData=function(t,e,a,i,n){var r=arguments.length>5&&void 0!==arguments[5]?arguments[5]:1,o=s({},{type:"default",startAngle:.75,endAngle:.25,width:15,labelOffset:13,splitLine:{fixRadius:0,splitNumber:10,width:15,color:"#FFFFFF",childNumber:5,childWidth:5},pointer:{width:15,color:"auto"}},a.extra.gauge);void 0==o.oldAngle&&(o.oldAngle=o.startAngle),void 0==o.oldData&&(o.oldData=0),t=j(t,o.startAngle,o.endAngle);var l={x:a.width/2,y:a.height/2},d=Math.min(l.x,l.y);d-=5*a.pix,d-=o.width/2,d=d<10?10:d;var h=d-o.width,u=0;if("progress"==o.type){var f=d-3*o.width;n.beginPath();var p=n.createLinearGradient(l.x,l.y-f,l.x,l.y+f);p.addColorStop("0",c(e[0].color,.3)),p.addColorStop("1.0",c("#FFFFFF",.1)),n.setFillStyle(p),n.arc(l.x,l.y,f,0,2*Math.PI,!1),n.fill(),n.setLineWidth(o.width),n.setStrokeStyle(c(e[0].color,.3)),n.setLineCap("round"),n.beginPath(),n.arc(l.x,l.y,h,o.startAngle*Math.PI,o.endAngle*Math.PI,!1),n.stroke(),u=o.startAngle-o.endAngle+1;o.splitLine.splitNumber;var x=u/o.splitLine.splitNumber/o.splitLine.childNumber,g=-d-.5*o.width-o.splitLine.fixRadius,v=-d-o.width-o.splitLine.fixRadius+o.splitLine.width;n.save(),n.translate(l.x,l.y),n.rotate((o.startAngle-1)*Math.PI);for(var m=o.splitLine.splitNumber*o.splitLine.childNumber+1,y=e[0].data*r,b=0;b<m;b++)n.beginPath(),y>b/m?n.setStrokeStyle(c(e[0].color,1)):n.setStrokeStyle(c(e[0].color,.3)),n.setLineWidth(3*a.pix),n.moveTo(g,0),n.lineTo(v,0),n.stroke(),n.rotate(x*Math.PI);n.restore(),e=R(e,o,r),n.setLineWidth(o.width),n.setStrokeStyle(e[0].color),n.setLineCap("round"),n.beginPath(),n.arc(l.x,l.y,h,o.startAngle*Math.PI,e[0]._proportion_*Math.PI,!1),n.stroke();var w=d-2.5*o.width;n.save(),n.translate(l.x,l.y),n.rotate((e[0]._proportion_-1)*Math.PI),n.beginPath(),n.setLineWidth(o.width/3);var _=n.createLinearGradient(0,.6*-w,0,.6*w);_.addColorStop("0",c("#FFFFFF",0)),_.addColorStop("0.5",c(e[0].color,1)),_.addColorStop("1.0",c("#FFFFFF",0)),n.setStrokeStyle(_),n.arc(0,0,w,.85*Math.PI,1.15*Math.PI,!1),n.stroke(),n.beginPath(),n.setLineWidth(1),n.setStrokeStyle(e[0].color),n.setFillStyle(e[0].color),n.moveTo(-w-o.width/3/2,-4),n.lineTo(-w-o.width/3/2-4,0),n.lineTo(-w-o.width/3/2,4),n.lineTo(-w-o.width/3/2,-4),n.stroke(),n.fill(),n.restore()}else{n.setLineWidth(o.width),n.setLineCap("butt");for(var C=0;C<t.length;C++){var A=t[C];n.beginPath(),n.setStrokeStyle(A.color),n.arc(l.x,l.y,d,A._startAngle_*Math.PI,A._endAngle_*Math.PI,!1),n.stroke()}n.save(),u=o.startAngle-o.endAngle+1;var S=u/o.splitLine.splitNumber,T=u/o.splitLine.splitNumber/o.splitLine.childNumber,k=-d-.5*o.width-o.splitLine.fixRadius,P=-d-.5*o.width-o.splitLine.fixRadius+o.splitLine.width,M=-d-.5*o.width-o.splitLine.fixRadius+o.splitLine.childWidth;n.translate(l.x,l.y),n.rotate((o.startAngle-1)*Math.PI);for(var D=0;D<o.splitLine.splitNumber+1;D++)n.beginPath(),n.setStrokeStyle(o.splitLine.color),n.setLineWidth(2*a.pix),n.moveTo(k,0),n.lineTo(P,0),n.stroke(),n.rotate(S*Math.PI);n.restore(),n.save(),n.translate(l.x,l.y),n.rotate((o.startAngle-1)*Math.PI);for(var F=0;F<o.splitLine.splitNumber*o.splitLine.childNumber+1;F++)n.beginPath(),n.setStrokeStyle(o.splitLine.color),n.setLineWidth(1*a.pix),n.moveTo(k,0),n.lineTo(M,0),n.stroke(),n.rotate(T*Math.PI);n.restore(),e=G(e,t,o,r);for(var $=0;$<e.length;$++){var L=e[$];n.save(),n.translate(l.x,l.y),n.rotate((L._proportion_-1)*Math.PI),n.beginPath(),n.setFillStyle(L.color),n.moveTo(o.pointer.width,0),n.lineTo(0,-o.pointer.width/2),n.lineTo(-h,0),n.lineTo(0,o.pointer.width/2),n.lineTo(o.pointer.width,0),n.closePath(),n.fill(),n.beginPath(),n.setFillStyle("#FFFFFF"),n.arc(0,0,o.pointer.width/6,0,2*Math.PI,!1),n.fill(),n.restore()}!1!==a.dataLabel&&ct(o,d,l,a,i,n)}return rt(a,i,n,l),1===r&&"gauge"===a.type&&(a.extra.gauge.oldAngle=e[0]._proportion_,a.extra.gauge.oldData=e[0].data),{center:l,radius:d,innerRadius:h,categories:t,totalAngle:u}}(h,d,e,a,i,t),$t(0,i)},onAnimationFinish:function(){o.uevent.trigger("renderComplete")}});break;case"candle":this.animationInstance=new Ot({timing:e.timing,duration:x,onProcess:function(t){i.clearRect(0,0,e.width,e.height),e.rotate&&it(i,e),yt(0,e,0,i),mt(h,e,a,i);var n=function(t,e,a,i,n){var r=arguments.length>5&&void 0!==arguments[5]?arguments[5]:1,o=s({},{color:{},average:{}},a.extra.candle);o.color=s({},{upLine:"#f04864",upFill:"#f04864",downLine:"#2fc25b",downFill:"#2fc25b"},o.color),o.average=s({},{show:!1,name:[],day:[],color:i.color},o.average),a.extra.candle=o;var l=a.chartData.xAxisData,c=l.xAxisPoints,d=l.eachSpacing,h=[];n.save();var u=-2,p=c.length+2,x=0,g=a.width+d;return a._scrollDistance_&&0!==a._scrollDistance_&&!0===a.enableScroll&&(n.translate(a._scrollDistance_,0),u=Math.floor(-a._scrollDistance_/d)-2,p=u+a.xAxis.itemCount+4,x=-a._scrollDistance_-2*d+a.area[3],g=x+(a.xAxis.itemCount+4)*d),(o.average.show||e)&&e.forEach((function(t,e){var o,s,l;o=[].concat(a.chartData.yAxisData.ranges[t.index]),s=o.pop(),l=o.shift();for(var h=t.data,u=J(h,s,l,c,d,a,i,r),p=$(u,t),v=0;v<p.length;v++){var m=p[v];if(n.beginPath(),n.setStrokeStyle(t.color),n.setLineWidth(1),1===m.length)n.moveTo(m[0].x,m[0].y),n.arc(m[0].x,m[0].y,1,0,2*Math.PI);else{n.moveTo(m[0].x,m[0].y);for(var y=0,b=0;b<m.length;b++){var w=m[b];if(0==y&&w.x>x&&(n.moveTo(w.x,w.y),y=1),b>0&&w.x>x&&w.x<g){var _=f(m,b-1);n.bezierCurveTo(_.ctrA.x,_.ctrA.y,_.ctrB.x,_.ctrB.y,w.x,w.y)}}n.moveTo(m[0].x,m[0].y)}n.closePath(),n.stroke()}})),t.forEach((function(t,e){var s,l,f;s=[].concat(a.chartData.yAxisData.ranges[t.index]),l=s.pop(),f=s.shift();var x=t.data,g=q(x,l,f,c,d,a,i,r);h.push(g);for(var v=$(g,t),m=0;m<v[0].length;m++)if(m>u&&m<p){var y=v[0][m];n.beginPath(),x[m][1]-x[m][0]>0?(n.setStrokeStyle(o.color.upLine),n.setFillStyle(o.color.upFill),n.setLineWidth(1*a.pix),n.moveTo(y[3].x,y[3].y),n.lineTo(y[1].x,y[1].y),n.lineTo(y[1].x-d/4,y[1].y),n.lineTo(y[0].x-d/4,y[0].y),n.lineTo(y[0].x,y[0].y),n.lineTo(y[2].x,y[2].y),n.lineTo(y[0].x,y[0].y),n.lineTo(y[0].x+d/4,y[0].y),n.lineTo(y[1].x+d/4,y[1].y),n.lineTo(y[1].x,y[1].y),n.moveTo(y[3].x,y[3].y)):(n.setStrokeStyle(o.color.downLine),n.setFillStyle(o.color.downFill),n.setLineWidth(1*a.pix),n.moveTo(y[3].x,y[3].y),n.lineTo(y[0].x,y[0].y),n.lineTo(y[0].x-d/4,y[0].y),n.lineTo(y[1].x-d/4,y[1].y),n.lineTo(y[1].x,y[1].y),n.lineTo(y[2].x,y[2].y),n.lineTo(y[1].x,y[1].y),n.lineTo(y[1].x+d/4,y[1].y),n.lineTo(y[0].x+d/4,y[0].y),n.lineTo(y[0].x,y[0].y),n.moveTo(y[3].x,y[3].y)),n.closePath(),n.fill(),n.stroke()}})),n.restore(),{xAxisPoints:c,calPoints:h,eachSpacing:d}}(d,m,e,a,i,t),r=n.xAxisPoints,o=n.calPoints,l=n.eachSpacing;e.chartData.xAxisPoints=r,e.chartData.calPoints=o,e.chartData.eachSpacing=l,bt(0,e,a,i),!1!==e.enableMarkLine&&1===t&&ut(e,a,i),wt(m?0:e.series,e,a,i,e.chartData),vt(e,a,i,t),$t(0,i)},onAnimationFinish:function(){o.uevent.trigger("renderComplete")}});break}}function Et(){this.events={}}Ot.prototype.stop=function(){this.isStop=!0},Et.prototype.addEventListener=function(t,e){this.events[t]=this.events[t]||[],this.events[t].push(e)},Et.prototype.delEventListener=function(t){this.events[t]=[]},Et.prototype.trigger=function(){for(var t=arguments.length,e=Array(t),a=0;a<t;a++)e[a]=arguments[a];var i=e[0],n=e.slice(1);this.events[i]&&this.events[i].forEach((function(t){try{t.apply(null,n)}catch(e){}}))};var zt=function(t){t.pix=t.pixelRatio?t.pixelRatio:1,t.fontSize=t.fontSize?t.fontSize:13,t.fontColor=t.fontColor?t.fontColor:o.fontColor,""!=t.background&&"none"!=t.background||(t.background="#FFFFFF"),t.title=s({},t.title),t.subtitle=s({},t.subtitle),t.duration=t.duration?t.duration:1e3,t.yAxis=s({},{data:[],showTitle:!1,disabled:!1,disableGrid:!1,gridSet:"number",splitNumber:5,gridType:"solid",dashLength:4*t.pix,gridColor:"#cccccc",padding:10,fontColor:"#666666"},t.yAxis),t.xAxis=s({},{rotateLabel:!1,rotateAngle:45,disabled:!1,disableGrid:!1,splitNumber:5,calibration:!1,gridType:"solid",dashLength:4,scrollAlign:"left",boundaryGap:"center",axisLine:!0,axisLineColor:"#cccccc"},t.xAxis),t.xAxis.scrollPosition=t.xAxis.scrollAlign,t.legend=s({},{show:!0,position:"bottom",float:"center",backgroundColor:"rgba(0,0,0,0)",borderColor:"rgba(0,0,0,0)",borderWidth:0,padding:5,margin:5,itemGap:10,fontSize:t.fontSize,lineHeight:t.fontSize,fontColor:t.fontColor,formatter:{},hiddenColor:"#CECECE"},t.legend),t.extra=s({},t.extra),t.rotate=!!t.rotate,t.animation=!!t.animation,t.rotate=!!t.rotate,t.canvas2d=!!t.canvas2d;var e=s({},o);if(e.color=t.color?t.color:e.color,"pie"==t.type&&(e.pieChartLinePadding=!1===t.dataLabel?0:t.extra.pie.labelWidth*t.pix||e.pieChartLinePadding*t.pix),"ring"==t.type&&(e.pieChartLinePadding=!1===t.dataLabel?0:t.extra.ring.labelWidth*t.pix||e.pieChartLinePadding*t.pix),"rose"==t.type&&(e.pieChartLinePadding=!1===t.dataLabel?0:t.extra.rose.labelWidth*t.pix||e.pieChartLinePadding*t.pix),e.pieChartTextPadding=!1===t.dataLabel?0:e.pieChartTextPadding*t.pix,e.rotate=t.rotate,t.rotate){var a=t.width,i=t.height;t.width=i,t.height=a}if(t.padding=t.padding?t.padding:e.padding,e.yAxisWidth=o.yAxisWidth*t.pix,e.xAxisHeight=o.xAxisHeight*t.pix,t.enableScroll&&t.xAxis.scrollShow&&(e.xAxisHeight+=6*t.pix),e.fontSize=t.fontSize*t.pix,e.titleFontSize=o.titleFontSize*t.pix,e.subtitleFontSize=o.subtitleFontSize*t.pix,e.toolTipPadding=o.toolTipPadding*t.pix,e.toolTipLineHeight=o.toolTipLineHeight*t.pix,!t.context)throw new Error("[uCharts] \u672a\u83b7\u53d6\u5230context\uff01\u6ce8\u610f\uff1av2.0\u7248\u672c\u540e\uff0c\u9700\u8981\u81ea\u884c\u83b7\u53d6canvas\u7684\u7ed8\u56fe\u4e0a\u4e0b\u6587\u5e76\u4f20\u5165opts.context\uff01");this.context=t.context,this.context.setTextAlign||(this.context.setStrokeStyle=function(t){return this.strokeStyle=t},this.context.setLineWidth=function(t){return this.lineWidth=t},this.context.setLineCap=function(t){return this.lineCap=t},this.context.setFontSize=function(t){return this.font=t+"px sans-serif"},this.context.setFillStyle=function(t){return this.fillStyle=t},this.context.setTextAlign=function(t){return this.textAlign=t},this.context.draw=function(){}),this.context.setLineDash||(this.context.setLineDash=function(t){}),t.chartData={},this.uevent=new Et,this.scrollOption={currentOffset:0,startTouchX:0,distance:0,lastMoveTime:0},this.opts=t,this.config=e,It.call(this,t.type,t,e,this.context)};zt.prototype.updateData=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.opts=s({},this.opts,t),this.opts.updateData=!0;var e=t.scrollPosition||"current";switch(e){case"current":this.opts._scrollDistance_=this.scrollOption.currentOffset;break;case"left":this.opts._scrollDistance_=0,this.scrollOption={currentOffset:0,startTouchX:0,distance:0,lastMoveTime:0};break;case"right":var a=at(this.opts.series,this.opts,this.config,this.context),i=a.yAxisWidth;this.config.yAxisWidth=i;var n=0,r=X(this.opts.categories,this.opts,this.config),o=r.xAxisPoints,l=r.startX,c=r.endX,d=r.eachSpacing,h=d*(o.length-1),u=c-l;n=u-h,this.scrollOption={currentOffset:n,startTouchX:n,distance:0,lastMoveTime:0},this.opts._scrollDistance_=n;break}It.call(this,this.opts.type,this.opts,this.config,this.context)},zt.prototype.zoom=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.opts.xAxis.itemCount;if(!0===this.opts.enableScroll){var a=Math.round(Math.abs(this.scrollOption.currentOffset)/this.opts.chartData.eachSpacing)+Math.round(this.opts.xAxis.itemCount/2);this.opts.animation=!1,this.opts.xAxis.itemCount=e.itemCount;var i=at(this.opts.series,this.opts,this.config,this.context),n=i.yAxisWidth;this.config.yAxisWidth=n;var r=0,o=X(this.opts.categories,this.opts,this.config),s=o.xAxisPoints,l=o.startX,c=o.endX,d=o.eachSpacing,u=d*a,f=c-l,p=f-d*(s.length-1);r=f/2-u,r>0&&(r=0),r<p&&(r=p),this.scrollOption={currentOffset:r,startTouchX:0,distance:0,lastMoveTime:0},h(this,r,this.opts.chartData,this.config,this.opts),this.opts._scrollDistance_=r,It.call(this,this.opts.type,this.opts,this.config,this.context)}else t("log","[uCharts] \u8bf7\u542f\u7528\u6eda\u52a8\u6761\u540e\u4f7f\u7528"," at uni_modules/qiun-data-charts/js_sdk/u-charts/u-charts.js:6828")},zt.prototype.dobuleZoom=function(e){if(!0===this.opts.enableScroll){var a=e.changedTouches;if(!(a.length<2)){for(var i=0;i<a.length;i++)a[i].x=a[i].x?a[i].x:a[i].clientX,a[i].y=a[i].y?a[i].y:a[i].clientY;var n=[_(a[0],this.opts,e),_(a[1],this.opts,e)],r=Math.abs(n[0].x-n[1].x);if(!this.scrollOption.moveCount){var o={changedTouches:[{x:a[0].x,y:this.opts.area[0]/this.opts.pix+2}]},s={changedTouches:[{x:a[1].x,y:this.opts.area[0]/this.opts.pix+2}]};this.opts.rotate&&(o={changedTouches:[{x:this.opts.height/this.opts.pix-this.opts.area[0]/this.opts.pix-2,y:a[0].y}]},s={changedTouches:[{x:this.opts.height/this.opts.pix-this.opts.area[0]/this.opts.pix-2,y:a[1].y}]});var l=this.getCurrentDataIndex(o).index,c=this.getCurrentDataIndex(s).index,d=Math.abs(l-c);return this.scrollOption.moveCount=d,this.scrollOption.moveCurrent1=Math.min(l,c),void(this.scrollOption.moveCurrent2=Math.max(l,c))}var u=r/this.scrollOption.moveCount,f=(this.opts.width-this.opts.area[1]-this.opts.area[3])/u;f=f<=2?2:f,f=f>=this.opts.categories.length?this.opts.categories.length:f,this.opts.animation=!1,this.opts.xAxis.itemCount=f;var p=0,x=X(this.opts.categories,this.opts,this.config),g=x.xAxisPoints,v=x.startX,m=x.endX,y=x.eachSpacing,b=y*this.scrollOption.moveCurrent1,w=m-v,C=w-y*(g.length-1);p=-b+Math.min(n[0].x,n[1].x)-this.opts.area[3]-y,p>0&&(p=0),p<C&&(p=C),this.scrollOption.currentOffset=p,this.scrollOption.startTouchX=0,this.scrollOption.distance=0,h(this,p,this.opts.chartData,this.config,this.opts),this.opts._scrollDistance_=p,It.call(this,this.opts.type,this.opts,this.config,this.context)}}else t("log","[uCharts] \u8bf7\u542f\u7528\u6eda\u52a8\u6761\u540e\u4f7f\u7528"," at uni_modules/qiun-data-charts/js_sdk/u-charts/u-charts.js:6868")},zt.prototype.stopAnimation=function(){this.animationInstance&&this.animationInstance.stop()},zt.prototype.addEventListener=function(t,e){this.uevent.addEventListener(t,e)},zt.prototype.delEventListener=function(t){this.uevent.delEventListener(t)},zt.prototype.getCurrentDataIndex=function(t){var e=null;if(e=t.changedTouches?t.changedTouches[0]:t.mp.changedTouches[0],e){var a=_(e,this.opts,t);return"pie"===this.opts.type||"ring"===this.opts.type?function(t,e,a){var i=-1,n=E(e.series);if(e&&e.center&&F(t,e.center,e.radius)){var r=Math.atan2(e.center.y-t.y,t.x-e.center.x);r=-r,a.extra.pie&&a.extra.pie.offsetAngle&&(r-=a.extra.pie.offsetAngle*Math.PI/180),a.extra.ring&&a.extra.ring.offsetAngle&&(r-=a.extra.ring.offsetAngle*Math.PI/180);for(var o=0,s=n.length;o<s;o++)if(u(r,n[o]._start_,n[o]._start_+2*n[o]._proportion_*Math.PI)){i=o;break}}return i}({x:a.x,y:a.y},this.opts.chartData.pieData,this.opts):"rose"===this.opts.type?function(t,e,a){var i=-1,n=B(a._series_,a.extra.rose.type,e.radius,e.radius);if(e&&e.center&&F(t,e.center,e.radius)){var r=Math.atan2(e.center.y-t.y,t.x-e.center.x);r=-r,a.extra.rose&&a.extra.rose.offsetAngle&&(r-=a.extra.rose.offsetAngle*Math.PI/180);for(var o=0,s=n.length;o<s;o++)if(u(r,n[o]._start_,n[o]._start_+2*n[o]._rose_proportion_*Math.PI)){i=o;break}}return i}({x:a.x,y:a.y},this.opts.chartData.pieData,this.opts):"radar"===this.opts.type?function(t,e,a){var i=2*Math.PI/a,n=-1;if(F(t,e.center,e.radius)){var r=function(t){return t<0&&(t+=2*Math.PI),t>2*Math.PI&&(t-=2*Math.PI),t},o=Math.atan2(e.center.y-t.y,t.x-e.center.x);o*=-1,o<0&&(o+=2*Math.PI);var s=e.angleList.map((function(t){return t=r(-1*t),t}));s.forEach((function(t,e){var a=r(t-i/2),s=r(t+i/2);s<a&&(s+=2*Math.PI),(o>=a&&o<=s||o+2*Math.PI>=a&&o+2*Math.PI<=s)&&(n=e)}))}return n}({x:a.x,y:a.y},this.opts.chartData.radarData,this.opts.categories.length):"funnel"===this.opts.type?function(t,e){for(var a=-1,i=0,n=e.series.length;i<n;i++){var r=e.series[i];if(t.x>r.funnelArea[0]&&t.x<r.funnelArea[2]&&t.y>r.funnelArea[1]&&t.y<r.funnelArea[3]){a=i;break}}return a}({x:a.x,y:a.y},this.opts.chartData.funnelData):"map"===this.opts.type?function(t,e){for(var a=-1,i=e.chartData.mapData,n=e.series,r=function(t,e,a,i,n,r){return{x:(e-n)/i+a.xMin,y:a.yMax-(t-r)/i}}(t.y,t.x,i.bounds,i.scale,i.xoffset,i.yoffset),o=[r.x,r.y],s=0,l=n.length;s<l;s++){var c=n[s].geometry.coordinates;if(Tt(o,c,e.chartData.mapData.mercator)){a=s;break}}return a}({x:a.x,y:a.y},this.opts):"word"===this.opts.type?function(t,e){for(var a=-1,i=0,n=e.length;i<n;i++){var r=e[i];if(t.x>r.area[0]&&t.x<r.area[2]&&t.y>r.area[1]&&t.y<r.area[3]){a=i;break}}return a}({x:a.x,y:a.y},this.opts.chartData.wordCloudData):"bar"===this.opts.type?function(t,e,a,i){var n=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,r={index:-1,group:[]},o=a.chartData.eachSpacing/2,s=a.chartData.yAxisPoints;return e&&e.length>0&&D(t,a,i)&&s.forEach((function(e,a){t.y+n+o>e&&(r.index=a)})),r}({x:a.x,y:a.y},this.opts.chartData.calPoints,this.opts,this.config,Math.abs(this.scrollOption.currentOffset)):function(t,e,a,i){var n=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,r={index:-1,group:[]},o=a.chartData.eachSpacing/2,s=[];if(e&&e.length>0){if(a.categories){for(var l=1;l<a.chartData.xAxisPoints.length;l++)s.push(a.chartData.xAxisPoints[l]-o);"line"!=a.type&&"area"!=a.type||"justify"!=a.xAxis.boundaryGap||(s=a.chartData.xAxisPoints)}else o=0;if(D(t,a,i))if(a.categories)s.forEach((function(e,a){t.x+n+o>e&&(r.index=a)}));else{for(var c=Array(e.length),d=0;d<e.length;d++){c[d]=Array(e[d].length);for(var h=0;h<e[d].length;h++)c[d][h]=Math.abs(e[d][h].x-t.x)}for(var u=Array(c.length),f=Array(c.length),p=0;p<c.length;p++)u[p]=Math.min.apply(null,c[p]),f[p]=c[p].indexOf(u[p]);var x=Math.min.apply(null,u);r.index=[];for(var g=0;g<u.length;g++)u[g]==x&&(r.group.push(g),r.index.push(f[g]))}}return r}({x:a.x,y:a.y},this.opts.chartData.calPoints,this.opts,this.config,Math.abs(this.scrollOption.currentOffset))}return-1},zt.prototype.getLegendDataIndex=function(t){var e=null;if(e=t.changedTouches?t.changedTouches[0]:t.mp.changedTouches[0],e){var a=_(e,this.opts,t);return function(t,e,a){var i=-1;if(function(t,e){return t.x>e.start.x&&t.x<e.end.x&&t.y>e.start.y&&t.y<e.end.y}(t,e.area)){for(var n=e.points,r=-1,o=0,s=n.length;o<s;o++)for(var l=n[o],c=0;c<l.length;c++){r+=1;var d=l[c]["area"];if(d&&t.x>d[0]-0&&t.x<d[2]+0&&t.y>d[1]-0&&t.y<d[3]+0){i=r;break}}return i}return i}({x:a.x,y:a.y},this.opts.chartData.legendData)}return-1},zt.prototype.touchLegend=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=null;if(a=t.changedTouches?t.changedTouches[0]:t.mp.changedTouches[0],a){_(a,this.opts,t);var i=this.getLegendDataIndex(t);i>=0&&("candle"==this.opts.type?this.opts.seriesMA[i].show=!this.opts.seriesMA[i].show:this.opts.series[i].show=!this.opts.series[i].show,this.opts.animation=!!e.animation,this.opts._scrollDistance_=this.scrollOption.currentOffset,It.call(this,this.opts.type,this.opts,this.config,this.context))}},zt.prototype.showToolTip=function(e){var a=this,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=null;n=e.changedTouches?e.changedTouches[0]:e.mp.changedTouches[0],n||t("log","[uCharts] \u672a\u83b7\u53d6\u5230event\u5750\u6807\u4fe1\u606f"," at uni_modules/qiun-data-charts/js_sdk/u-charts/u-charts.js:7046");var r=_(n,this.opts,e),o=this.scrollOption.currentOffset,l=s({},this.opts,{_scrollDistance_:o,animation:!1});if("line"===this.opts.type||"area"===this.opts.type||"column"===this.opts.type||"scatter"===this.opts.type||"bubble"===this.opts.type){var c=this.getCurrentDataIndex(e),d=void 0==i.index?c.index:i.index;if(d>-1||d.length>0){var h=C(this.opts.series,d,c.group);if(0!==h.length){var u=T(h,this.opts,d,c.group,this.opts.categories,i),f=u.textList,p=u.offset;p.y=r.y,l.tooltip={textList:void 0!==i.textList?i.textList:f,offset:void 0!==i.offset?i.offset:p,option:i,index:d}}}It.call(this,l.type,l,this.config,this.context)}if("mount"===this.opts.type){d=void 0==i.index?this.getCurrentDataIndex(e).index:i.index;if(d>-1){l=s({},this.opts,{animation:!1}),h=s({},l._series_[d]),f=[{text:i.formatter?i.formatter(h,void 0,d,l):h.name+": "+h.data,color:h.color}],p={x:l.chartData.calPoints[d].x,y:r.y};l.tooltip={textList:i.textList?i.textList:f,offset:void 0!==i.offset?i.offset:p,option:i,index:d}}It.call(this,l.type,l,this.config,this.context)}if("bar"===this.opts.type){c=this.getCurrentDataIndex(e),d=void 0==i.index?c.index:i.index;if(d>-1||d.length>0){h=C(this.opts.series,d,c.group);if(0!==h.length){u=T(h,this.opts,d,c.group,this.opts.categories,i),f=u.textList,p=u.offset;p.x=r.x,l.tooltip={textList:void 0!==i.textList?i.textList:f,offset:void 0!==i.offset?i.offset:p,option:i,index:d}}}It.call(this,l.type,l,this.config,this.context)}if("mix"===this.opts.type){c=this.getCurrentDataIndex(e),d=void 0==i.index?c.index:i.index;if(d>-1){o=this.scrollOption.currentOffset,l=s({},this.opts,{_scrollDistance_:o,animation:!1}),h=C(this.opts.series,d);if(0!==h.length){var x=k(h,this.opts,d,this.opts.categories,i);f=x.textList,p=x.offset;p.y=r.y,l.tooltip={textList:i.textList?i.textList:f,offset:void 0!==i.offset?i.offset:p,option:i,index:d}}}It.call(this,l.type,l,this.config,this.context)}if("candle"===this.opts.type){c=this.getCurrentDataIndex(e),d=void 0==i.index?c.index:i.index;if(d>-1){o=this.scrollOption.currentOffset,l=s({},this.opts,{_scrollDistance_:o,animation:!1}),h=C(this.opts.series,d);if(0!==h.length){u=P(this.opts.series[0].data,h,this.opts,d,this.opts.categories,this.opts.extra.candle,i),f=u.textList,p=u.offset;p.y=r.y,l.tooltip={textList:i.textList?i.textList:f,offset:void 0!==i.offset?i.offset:p,option:i,index:d}}}It.call(this,l.type,l,this.config,this.context)}if("pie"===this.opts.type||"ring"===this.opts.type||"rose"===this.opts.type||"funnel"===this.opts.type){d=void 0==i.index?this.getCurrentDataIndex(e):i.index;if(d>-1){l=s({},this.opts,{animation:!1}),h=s({},l._series_[d]),f=[{text:i.formatter?i.formatter(h,void 0,d,l):h.name+": "+h.data,color:h.color}],p={x:r.x,y:r.y};l.tooltip={textList:i.textList?i.textList:f,offset:void 0!==i.offset?i.offset:p,option:i,index:d}}It.call(this,l.type,l,this.config,this.context)}if("map"===this.opts.type){d=void 0==i.index?this.getCurrentDataIndex(e):i.index;if(d>-1){l=s({},this.opts,{animation:!1}),h=s({},this.opts.series[d]);h.name=h.properties.name;f=[{text:i.formatter?i.formatter(h,void 0,d,this.opts):h.name,color:h.color}],p={x:r.x,y:r.y};l.tooltip={textList:i.textList?i.textList:f,offset:void 0!==i.offset?i.offset:p,option:i,index:d}}l.updateData=!1,It.call(this,l.type,l,this.config,this.context)}if("word"===this.opts.type){d=void 0==i.index?this.getCurrentDataIndex(e):i.index;if(d>-1){l=s({},this.opts,{animation:!1}),h=s({},this.opts.series[d]),f=[{text:i.formatter?i.formatter(h,void 0,d,this.opts):h.name,color:h.color}],p={x:r.x,y:r.y};l.tooltip={textList:i.textList?i.textList:f,offset:void 0!==i.offset?i.offset:p,option:i,index:d}}l.updateData=!1,It.call(this,l.type,l,this.config,this.context)}if("radar"===this.opts.type){d=void 0==i.index?this.getCurrentDataIndex(e):i.index;if(d>-1){l=s({},this.opts,{animation:!1}),h=C(this.opts.series,d);if(0!==h.length){f=h.map((function(t){return{text:i.formatter?i.formatter(t,a.opts.categories[d],d,a.opts):t.name+": "+t.data,color:t.color}})),p={x:r.x,y:r.y};l.tooltip={textList:i.textList?i.textList:f,offset:void 0!==i.offset?i.offset:p,option:i,index:d}}}It.call(this,l.type,l,this.config,this.context)}},zt.prototype.translate=function(t){this.scrollOption={currentOffset:t,startTouchX:t,distance:0,lastMoveTime:0};var e=s({},this.opts,{_scrollDistance_:t,animation:!1});It.call(this,this.opts.type,e,this.config,this.context)},zt.prototype.scrollStart=function(t){var e=null;e=t.changedTouches?t.changedTouches[0]:t.mp.changedTouches[0];var a=_(e,this.opts,t);e&&!0===this.opts.enableScroll&&(this.scrollOption.startTouchX=a.x)},zt.prototype.scroll=function(t){0===this.scrollOption.lastMoveTime&&(this.scrollOption.lastMoveTime=Date.now());var e=this.opts.touchMoveLimit||60,a=Date.now(),i=a-this.scrollOption.lastMoveTime;if(!(i<Math.floor(1e3/e))&&0!=this.scrollOption.startTouchX){this.scrollOption.lastMoveTime=a;var n=null;if(n=t.changedTouches?t.changedTouches[0]:t.mp.changedTouches[0],n&&!0===this.opts.enableScroll){var r,o=_(n,this.opts,t);r=o.x-this.scrollOption.startTouchX;var l=this.scrollOption.currentOffset,c=h(this,l+r,this.opts.chartData,this.config,this.opts);this.scrollOption.distance=r=c-l;var d=s({},this.opts,{_scrollDistance_:l+r,animation:!1});return this.opts=d,It.call(this,d.type,d,this.config,this.context),l+r}}},zt.prototype.scrollEnd=function(t){if(!0===this.opts.enableScroll){var e=this.scrollOption,a=e.currentOffset,i=e.distance;this.scrollOption.currentOffset=a+i,this.scrollOption.distance=0,this.scrollOption.moveCount=0}};var Bt=zt;e.default=Bt}).call(this,a("f3b9")["default"])},1995:function(t,e,a){var i=a("c86c");e=i(!1),e.push([t.i,'@charset "UTF-8";.uni-popup[data-v-58e7869c]{position:fixed;z-index:99}.uni-popup.top[data-v-58e7869c], .uni-popup.left[data-v-58e7869c], .uni-popup.right[data-v-58e7869c]{top:0}.uni-popup .uni-popup__wrapper[data-v-58e7869c]{display:block;position:relative}.uni-popup .uni-popup__wrapper.left[data-v-58e7869c], .uni-popup .uni-popup__wrapper.right[data-v-58e7869c]{padding-top:0;flex:1}.fixforpc-z-index[data-v-58e7869c]{z-index:999}.fixforpc-top[data-v-58e7869c]{top:0}',""]),t.exports=e},"1a14":function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=["#1890FF","#91CB74","#FAC858","#EE6666","#73C0DE","#3CA272","#FC8452","#9A60B4","#ea7ccc"],n={type:["pie","ring","rose","word","funnel","map","arcbar","line","column","mount","bar","area","radar","gauge","candle","mix","tline","tarea","scatter","bubble","demotype"],range:["\u997c\u72b6\u56fe","\u5706\u73af\u56fe","\u73ab\u7470\u56fe","\u8bcd\u4e91\u56fe","\u6f0f\u6597\u56fe","\u5730\u56fe","\u5706\u5f27\u8fdb\u5ea6\u6761","\u6298\u7ebf\u56fe","\u67f1\u72b6\u56fe","\u5c71\u5cf0\u56fe","\u6761\u72b6\u56fe","\u533a\u57df\u56fe","\u96f7\u8fbe\u56fe","\u4eea\u8868\u76d8","K\u7ebf\u56fe","\u6df7\u5408\u56fe","\u65f6\u95f4\u8f74\u6298\u7ebf","\u65f6\u95f4\u8f74\u533a\u57df","\u6563\u70b9\u56fe","\u6c14\u6ce1\u56fe","\u81ea\u5b9a\u4e49\u7c7b\u578b"],categories:["line","column","mount","bar","area","radar","gauge","candle","mix","demotype"],instance:{},option:{},formatter:{yAxisDemo1:function(t,e,a){return t+"\u5143"},yAxisDemo2:function(t,e,a){return t.toFixed(2)},xAxisDemo1:function(t,e,a){return t+"\u5e74"},xAxisDemo2:function(t,e,a){return function(t,e){var a=new Date;a.setTime(1e3*t);var i=a.getFullYear(),n=a.getMonth()+1;n=n<10?"0"+n:n;var r=a.getDate();r=r<10?"0"+r:r;var o=a.getHours();o=o<10?"0"+o:o;var s=a.getMinutes(),l=a.getSeconds();return s=s<10?"0"+s:s,l=l<10?"0"+l:l,"full"==e?i+"-"+n+"-"+r+" "+o+":"+s+":"+l:"y-m-d"==e?i+"-"+n+"-"+r:"h:m"==e?o+":"+s:"h:m:s"==e?o+":"+s+":"+l:[i,n,r,o,s,l]}(t,"h:m")},seriesDemo1:function(t,e,a,i){return t+"\u5143"},tooltipDemo1:function(t,e,a,i){return 0==a?"\u968f\u4fbf\u7528"+t.data+"\u5e74":"\u5176\u4ed6\u6211\u6ca1\u6539"+t.data+"\u5929"},pieDemo:function(t,e,a,i){if(void 0!==e)return a[e].name+"\uff1a"+a[e].data+"\u5143"}},demotype:{type:"line",color:i,padding:[15,10,0,15],xAxis:{disableGrid:!0},yAxis:{gridType:"dash",dashLength:2},legend:{},extra:{line:{type:"curve",width:2}}},pie:{type:"pie",color:i,padding:[5,5,5,5],extra:{pie:{activeOpacity:.5,activeRadius:10,offsetAngle:0,labelWidth:15,border:!0,borderWidth:3,borderColor:"#FFFFFF"}}},ring:{type:"ring",color:i,padding:[5,5,5,5],rotate:!1,dataLabel:!1,legend:{show:!1,position:"right",lineHeight:25},title:{name:"\u6536\u76ca\u7387",fontSize:15,color:"#666666"},subtitle:{name:"70%",fontSize:25,color:"#7cb5ec"},extra:{ring:{ringWidth:30,activeOpacity:.5,activeRadius:10,offsetAngle:0,labelWidth:15,border:!0,borderWidth:3,borderColor:"#FFFFFF"}}},rose:{type:"rose",color:i,padding:[5,5,5,5],legend:{show:!0,position:"left",lineHeight:25},extra:{rose:{type:"area",minRadius:50,activeOpacity:.5,activeRadius:10,offsetAngle:0,labelWidth:15,border:!1,borderWidth:2,borderColor:"#FFFFFF"}}},word:{type:"word",color:i,extra:{word:{type:"normal",autoColors:!1}}},funnel:{type:"funnel",color:i,padding:[15,15,0,15],extra:{funnel:{activeOpacity:.3,activeWidth:10,border:!0,borderWidth:2,borderColor:"#FFFFFF",fillOpacity:1,labelAlign:"right"}}},map:{type:"map",color:i,padding:[0,0,0,0],dataLabel:!0,extra:{map:{border:!0,borderWidth:1,borderColor:"#666666",fillOpacity:.6,activeBorderColor:"#F04864",activeFillColor:"#FACC14",activeFillOpacity:1}}},arcbar:{type:"arcbar",color:i,title:{name:"\u767e\u5206\u6bd4",fontSize:25,color:"#00FF00"},subtitle:{name:"\u9ed8\u8ba4\u6807\u9898",fontSize:15,color:"#666666"},extra:{arcbar:{type:"default",width:12,backgroundColor:"#E9E9E9",startAngle:.75,endAngle:.25,gap:2}}},line:{type:"line",color:i,padding:[15,10,0,15],xAxis:{disableGrid:!0},yAxis:{gridType:"dash",dashLength:2},legend:{},extra:{line:{type:"straight",width:2}}},tline:{type:"line",color:i,padding:[15,10,0,15],xAxis:{disableGrid:!1,boundaryGap:"justify"},yAxis:{gridType:"dash",dashLength:2,data:[{min:0,max:80}]},legend:{},extra:{line:{type:"curve",width:2}}},tarea:{type:"area",color:i,padding:[15,10,0,15],xAxis:{disableGrid:!0,boundaryGap:"justify"},yAxis:{gridType:"dash",dashLength:2,data:[{min:0,max:80}]},legend:{},extra:{area:{type:"curve",opacity:.2,addLine:!0,width:2,gradient:!0}}},column:{type:"column",color:i,padding:[15,15,0,5],xAxis:{disableGrid:!0},yAxis:{data:[{min:0}]},legend:{},extra:{column:{type:"group",width:30,activeBgColor:"#000000",activeBgOpacity:.08}}},mount:{type:"mount",color:i,padding:[15,15,0,5],xAxis:{disableGrid:!0},yAxis:{data:[{min:0}]},legend:{},extra:{mount:{type:"mount",widthRatio:1.5}}},bar:{type:"bar",color:i,padding:[15,30,0,5],xAxis:{boundaryGap:"justify",disableGrid:!1,min:0,axisLine:!1},yAxis:{},legend:{},extra:{bar:{type:"group",width:30,meterBorde:1,meterFillColor:"#FFFFFF",activeBgColor:"#000000",activeBgOpacity:.08}}},area:{type:"area",color:i,padding:[15,15,0,15],xAxis:{disableGrid:!0},yAxis:{gridType:"dash",dashLength:2},legend:{},extra:{area:{type:"straight",opacity:.2,addLine:!0,width:2,gradient:!1}}},radar:{type:"radar",color:i,padding:[5,5,5,5],dataLabel:!1,legend:{show:!0,position:"right",lineHeight:25},extra:{radar:{gridType:"radar",gridColor:"#CCCCCC",gridCount:3,opacity:.2,max:200}}},gauge:{type:"gauge",color:i,title:{name:"66Km/H",fontSize:25,color:"#2fc25b",offsetY:50},subtitle:{name:"\u5b9e\u65f6\u901f\u5ea6",fontSize:15,color:"#1890ff",offsetY:-50},extra:{gauge:{type:"default",width:30,labelColor:"#666666",startAngle:.75,endAngle:.25,startNumber:0,endNumber:100,labelFormat:"",splitLine:{fixRadius:0,splitNumber:10,width:30,color:"#FFFFFF",childNumber:5,childWidth:12},pointer:{width:24,color:"auto"}}}},candle:{type:"candle",color:i,padding:[15,15,0,15],enableScroll:!0,enableMarkLine:!0,dataLabel:!1,xAxis:{labelCount:4,itemCount:40,disableGrid:!0,gridColor:"#CCCCCC",gridType:"solid",dashLength:4,scrollShow:!0,scrollAlign:"left",scrollColor:"#A6A6A6",scrollBackgroundColor:"#EFEBEF"},yAxis:{},legend:{},extra:{candle:{color:{upLine:"#f04864",upFill:"#f04864",downLine:"#2fc25b",downFill:"#2fc25b"},average:{show:!0,name:["MA5","MA10","MA30"],day:[5,10,20],color:["#1890ff","#2fc25b","#facc14"]}},markLine:{type:"dash",dashLength:5,data:[{value:2150,lineColor:"#f04864",showLabel:!0},{value:2350,lineColor:"#f04864",showLabel:!0}]}}},mix:{type:"mix",color:i,padding:[15,15,0,15],xAxis:{disableGrid:!0},yAxis:{disabled:!1,disableGrid:!1,splitNumber:5,gridType:"dash",dashLength:4,gridColor:"#CCCCCC",padding:10,showTitle:!0,data:[]},legend:{},extra:{mix:{column:{width:20}}}},scatter:{type:"scatter",color:i,padding:[15,15,0,15],dataLabel:!1,xAxis:{disableGrid:!1,gridType:"dash",splitNumber:5,boundaryGap:"justify",min:0},yAxis:{disableGrid:!1,gridType:"dash"},legend:{},extra:{scatter:{}}},bubble:{type:"bubble",color:i,padding:[15,15,0,15],xAxis:{disableGrid:!1,gridType:"dash",splitNumber:5,boundaryGap:"justify",min:0,max:250},yAxis:{disableGrid:!1,gridType:"dash",data:[{min:0,max:150}]},legend:{},extra:{bubble:{border:2,opacity:.5}}}},r=n;e.default=r},"1ad7":function(t,e,a){var i=a("c86c");e=i(!1),e.push([t.i,"",""]),t.exports=e},"1c5b":function(t,e,a){if("undefined"===typeof Promise||Promise.prototype.finally||(Promise.prototype.finally=function(t){var e=this.constructor;return this.then((function(a){return e.resolve(t()).then((function(){return a}))}),(function(a){return e.resolve(t()).then((function(){throw a}))}))}),"undefined"!==typeof uni&&uni&&uni.requireGlobal){var i=uni.requireGlobal();ArrayBuffer=i.ArrayBuffer,Int8Array=i.Int8Array,Uint8Array=i.Uint8Array,Uint8ClampedArray=i.Uint8ClampedArray,Int16Array=i.Int16Array,Uint16Array=i.Uint16Array,Int32Array=i.Int32Array,Uint32Array=i.Uint32Array,Float32Array=i.Float32Array,Float64Array=i.Float64Array,BigInt64Array=i.BigInt64Array,BigUint64Array=i.BigUint64Array}window.__uniConfig={window:{navigationBarTextStyle:"black",navigationBarTitleText:"uni-app",navigationBarBackgroundColor:"#F8F8F8",backgroundColor:"#F8F8F8",pageOrientation:"landscape"},darkmode:!1},uni.restoreGlobal&&uni.restoreGlobal(weex,plus,setTimeout,clearTimeout,setInterval,clearInterval),__definePage("pages/home/home",(function(){return Vue.extend(a("3b29").default)})),__definePage("pages/test/test",(function(){return Vue.extend(a("28cf").default)})),__definePage("pages/index",(function(){return Vue.extend(a("5e2e").default)})),__definePage("pages/index/index",(function(){return Vue.extend(a("e4d6").default)})),__definePage("pages/index/monitor",(function(){return Vue.extend(a("bfff").default)})),__definePage("pages/test/test",(function(){return Vue.extend(a("28cf").default)}))},"1e40":function(t,e,a){var i=a("c86c");e=i(!1),e.push([t.i,".chartsview[data-v-3f29adb2]{width:100%;height:100%;display:flex;flex:1;justify-content:center;align-items:center}",""]),t.exports=e},"1efb":function(t,e,a){"use strict";a.r(e);var i=a("8729"),n=a.n(i);for(var r in i)["default"].indexOf(r)<0&&function(t){a.d(e,t,(function(){return i[t]}))}(r);e["default"]=n.a},2021:function(t,e,a){t.exports=a.p+"static/background.png"},"21c9":function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={name:"loading1",data:function(){return{wxsProps:{}}},components:{}}},"21fb":function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={name:"loading3",data:function(){return{wxsProps:{}}},components:{}}},2527:function(t,e,a){var i=a("c86c");e=i(!1),e.push([t.i,'.chartsview[data-v-06f9c5d4]{width:100%;height:100%;display:flex;flex-direction:column;flex:1;justify-content:center;align-items:center}.charts-font[data-v-06f9c5d4]{font-size:14px;color:#ccc;margin-top:10px}.charts-error[data-v-06f9c5d4]{width:128px;height:128px;background:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAYAAADDPmHLAAAUz0lEQVR4Xu1de3Bc1X3+zmp3jYVWfkPAgCWwY8zLEglNQCSW0yT9o2SQaDKdNulUykwfM+k09p+J3ImYIPJXi9yZzDSZZiwyaZuZBCwnNG1DMogEmUAAy7xs/MAyNhCMjWWtsK1deU/n23OvtLu6j3Pv3t29d71nxjOSde455/5+3/m9z7kCjRY4BR7eK7fkcmhrasLT37hbTAY+QYADigDHagwFYGhc7gZwHMAUgG4hMP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HSYhaIdJid2lhJESUzvu1f80nBNhywYA3cY5oOhI8uqlaLk+hfWXPUc1CHAijSOnL2CGXePAZKHBzd0PgEG50jZR6pZrTGXZpWwA+J248Vw4KNAAQDj4ULNVBA6Abz8ru8Ul9SVyITCVbUY/DRsjxLxLSmhdYSYEHh3oEiMch2rm0iXssqHSxI57xfZKU/ChZ+QjAOb1c6XnM+g3T4NKzRc4AIbGZR8TSeaCYzH0Ua8ZIeY8QzXbSBEAcvlSZyvwBKYPndb10LjkBQ1a4NV8P51u8zTQ6eynT+AA8LOIxjO1o0ADALWjfShmjhwACgNPoaCgsnWOO+VLwrJOq3VEDgCGLrbMjdeK0EEGZqr9DpEDgFXgqdpEK50vlsPUQJf/nHwt1///89bqDjCPWPAAAAAASUVORK5CYII=");background-position:50%}',""]),t.exports=e},"269a":function(t,e,a){var i=a("c86c");e=i(!1),e.push([t.i,".container[data-v-6e5d9c90]{width:30px;height:30px;position:relative}.container.loading6[data-v-6e5d9c90]{-webkit-animation:rotation 1s infinite;animation:rotation 1s infinite}.container.loading6 .shape[data-v-6e5d9c90]{width:12px;height:12px;border-radius:2px}.container .shape[data-v-6e5d9c90]{position:absolute;width:10px;height:10px;border-radius:1px}.container .shape.shape1[data-v-6e5d9c90]{left:0;background-color:#1890ff}.container .shape.shape2[data-v-6e5d9c90]{right:0;background-color:#91cb74}.container .shape.shape3[data-v-6e5d9c90]{bottom:0;background-color:#fac858}.container .shape.shape4[data-v-6e5d9c90]{bottom:0;right:0;background-color:#e66}.loading6 .shape1[data-v-6e5d9c90]{-webkit-animation:animation6shape1-data-v-6e5d9c90 2s linear 0s infinite normal;animation:animation6shape1-data-v-6e5d9c90 2s linear 0s infinite normal}@-webkit-keyframes animation6shape1-data-v-6e5d9c90{0%{-webkit-transform:translate(0);transform:translate(0)}25%{-webkit-transform:translateY(18px);transform:translateY(18px)}50%{-webkit-transform:translate(18px,18px);transform:translate(18px,18px)}75%{-webkit-transform:translate(18px);transform:translate(18px)}}@keyframes animation6shape1-data-v-6e5d9c90{0%{-webkit-transform:translate(0);transform:translate(0)}25%{-webkit-transform:translateY(18px);transform:translateY(18px)}50%{-webkit-transform:translate(18px,18px);transform:translate(18px,18px)}75%{-webkit-transform:translate(18px);transform:translate(18px)}}.loading6 .shape2[data-v-6e5d9c90]{-webkit-animation:animation6shape2-data-v-6e5d9c90 2s linear 0s infinite normal;animation:animation6shape2-data-v-6e5d9c90 2s linear 0s infinite normal}@-webkit-keyframes animation6shape2-data-v-6e5d9c90{0%{-webkit-transform:translate(0);transform:translate(0)}25%{-webkit-transform:translate(-18px);transform:translate(-18px)}50%{-webkit-transform:translate(-18px,18px);transform:translate(-18px,18px)}75%{-webkit-transform:translateY(18px);transform:translateY(18px)}}@keyframes animation6shape2-data-v-6e5d9c90{0%{-webkit-transform:translate(0);transform:translate(0)}25%{-webkit-transform:translate(-18px);transform:translate(-18px)}50%{-webkit-transform:translate(-18px,18px);transform:translate(-18px,18px)}75%{-webkit-transform:translateY(18px);transform:translateY(18px)}}.loading6 .shape3[data-v-6e5d9c90]{-webkit-animation:animation6shape3-data-v-6e5d9c90 2s linear 0s infinite normal;animation:animation6shape3-data-v-6e5d9c90 2s linear 0s infinite normal}@-webkit-keyframes animation6shape3-data-v-6e5d9c90{0%{-webkit-transform:translate(0);transform:translate(0)}25%{-webkit-transform:translate(18px);transform:translate(18px)}50%{-webkit-transform:translate(18px,-18px);transform:translate(18px,-18px)}75%{-webkit-transform:translateY(-18px);transform:translateY(-18px)}}@keyframes animation6shape3-data-v-6e5d9c90{0%{-webkit-transform:translate(0);transform:translate(0)}25%{-webkit-transform:translate(18px);transform:translate(18px)}50%{-webkit-transform:translate(18px,-18px);transform:translate(18px,-18px)}75%{-webkit-transform:translateY(-18px);transform:translateY(-18px)}}.loading6 .shape4[data-v-6e5d9c90]{-webkit-animation:animation6shape4-data-v-6e5d9c90 2s linear 0s infinite normal;animation:animation6shape4-data-v-6e5d9c90 2s linear 0s infinite normal}@-webkit-keyframes animation6shape4-data-v-6e5d9c90{0%{-webkit-transform:translate(0);transform:translate(0)}25%{-webkit-transform:translateY(-18px);transform:translateY(-18px)}50%{-webkit-transform:translate(-18px,-18px);transform:translate(-18px,-18px)}75%{-webkit-transform:translate(-18px);transform:translate(-18px)}}@keyframes animation6shape4-data-v-6e5d9c90{0%{-webkit-transform:translate(0);transform:translate(0)}25%{-webkit-transform:translateY(-18px);transform:translateY(-18px)}50%{-webkit-transform:translate(-18px,-18px);transform:translate(-18px,-18px)}75%{-webkit-transform:translate(-18px);transform:translate(-18px)}}",""]),t.exports=e},2880:function(t,e,a){"use strict";var i=a("60d5"),n=a.n(i);n.a},"28cf":function(t,e,a){"use strict";a.r(e);var i=a("7d36"),n=a("b9a5");for(var r in n)["default"].indexOf(r)<0&&function(t){a.d(e,t,(function(){return n[t]}))}(r);a("8804");var o=a("828b"),s=Object(o["a"])(n["default"],i["b"],i["c"],!1,null,null,null,!1,i["a"],void 0);e["default"]=s.exports},"2e13":function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={name:"loading2",data:function(){return{wxsProps:{}}},components:{}}},"34cf":function(t,e,a){var i=a("ed45"),n=a("7172"),r=a("6382"),o=a("dd3e");t.exports=function(t,e){return i(t)||n(t,e)||r(t,e)||o()},t.exports.__esModule=!0,t.exports["default"]=t.exports},"357c":function(t,e,a){"use strict";a.r(e);var i=a("9b65"),n=a("1efb");for(var r in n)["default"].indexOf(r)<0&&function(t){a.d(e,t,(function(){return n[t]}))}(r);a("f9c6");var o=a("828b"),s=Object(o["a"])(n["default"],i["b"],i["c"],!1,null,"71f2edbe",null,!1,i["a"],void 0);e["default"]=s.exports},"368e":function(t,e,a){var i=a("c86c");e=i(!1),e.push([t.i,".clear{position:fixed;top:0;left:0;z-index:9999;background:transparent;border:none}.clear:hover{background:#fff}",""]),t.exports=e},"3b29":function(t,e,a){"use strict";a.r(e);var i=a("907f"),n=a("0671");for(var r in n)["default"].indexOf(r)<0&&function(t){a.d(e,t,(function(){return n[t]}))}(r);a("02de");var o=a("828b"),s=Object(o["a"])(n["default"],i["b"],i["c"],!1,null,null,null,!1,i["a"],void 0);e["default"]=s.exports},"3b2d":function(t,e){function a(e){return t.exports=a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t.exports.__esModule=!0,t.exports["default"]=t.exports,a(e)}t.exports=a,t.exports.__esModule=!0,t.exports["default"]=t.exports},"3b3c":function(t,e,a){"use strict";var i=a("4f76"),n=a.n(i);n.a},"3bcd":function(t,e,a){"use strict";var i=a("5a89"),n=a.n(i);n.a},"3c26":function(t,e,a){"use strict";a.d(e,"b",(function(){return i})),a.d(e,"c",(function(){return n})),a.d(e,"a",(function(){}));var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("uni-view",{attrs:{_i:0}},[a("uni-view",{attrs:{_i:1}},[a("v-uni-swiper",{staticStyle:{height:"500px"},attrs:{circular:"true",vertical:"true","display-multiple-items":"16",autoplay:t._$g(2,"a-autoplay"),interval:t._$g(2,"a-interval"),duration:t._$g(2,"a-duration"),_i:2}},t._l(t._$g(3,"f"),(function(e,i,n,r){return a("v-uni-swiper-item",{key:e,attrs:{_i:"3-"+r}},[a("uni-view",{attrs:{_i:"4-"+r}},[t._v(t._$g("4-"+r,"t0-0"))])],1)})),1)],1)],1)},n=[]},"3c8c":function(t,e,a){"use strict";a.r(e);var i=a("f6e5"),n=a("c547");for(var r in n)["default"].indexOf(r)<0&&function(t){a.d(e,t,(function(){return n[t]}))}(r);a("f01f");var o=a("828b"),s=Object(o["a"])(n["default"],i["b"],i["c"],!1,null,"37562626",null,!1,i["a"],void 0);e["default"]=s.exports},"3d5d":function(t,e,a){"use strict";a.d(e,"b",(function(){return i})),a.d(e,"c",(function(){return n})),a.d(e,"a",(function(){}));var i=function(){var t=this.$createElement,e=this._self._c||t;return e("uni-view",{staticClass:this._$g(0,"sc"),attrs:{_i:0}},[e("uni-view",{staticClass:this._$g(1,"sc"),attrs:{_i:1}}),e("uni-view",{staticClass:this._$g(2,"sc"),attrs:{_i:2}}),e("uni-view",{staticClass:this._$g(3,"sc"),attrs:{_i:3}}),e("uni-view",{staticClass:this._$g(4,"sc"),attrs:{_i:4}})],1)},n=[]},"3d72":function(t,e,a){"use strict";a.r(e);var i=a("ea54"),n=a.n(i);for(var r in i)["default"].indexOf(r)<0&&function(t){a.d(e,t,(function(){return i[t]}))}(r);e["default"]=n.a},"3d8c":function(t,e,a){"use strict";a.d(e,"b",(function(){return i})),a.d(e,"c",(function(){return n})),a.d(e,"a",(function(){}));var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return t._$g(0,"i")?a("uni-view",{ref:"ani",class:t._$g(0,"c"),style:t._$g(0,"s"),attrs:{animation:t._$g(0,"a-animation"),_i:0},on:{click:function(e){return t.$handleViewEvent(e)}}},[t._t("default",null,{_i:1})],2):t._e()},n=[]},"3f18":function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={name:"qiun-error",props:["errorMessage"],data:function(){return{wxsProps:{}}},components:{}}},"3f60":function(t,e,a){"use strict";a.r(e);var i=a("8412"),n=a.n(i);for(var r in i)["default"].indexOf(r)<0&&function(t){a.d(e,t,(function(){return i[t]}))}(r);e["default"]=n.a},"3f6f":function(t,e,a){"use strict";a.r(e);var i=a("93d8"),n=a.n(i);for(var r in i)["default"].indexOf(r)<0&&function(t){a.d(e,t,(function(){return i[t]}))}(r);e["default"]=n.a},"3fb1":function(t,e,a){"use strict";a.d(e,"b",(function(){return i})),a.d(e,"c",(function(){return n})),a.d(e,"a",(function(){}));var i=function(){var t=this.$createElement,e=this._self._c||t;return e("uni-view",{staticClass:this._$g(0,"sc"),attrs:{_i:0}},[e("uni-view",{staticClass:this._$g(1,"sc"),attrs:{_i:1}}),e("uni-view",{staticClass:this._$g(2,"sc"),attrs:{_i:2}}),e("uni-view",{staticClass:this._$g(3,"sc"),attrs:{_i:3}}),e("uni-view",{staticClass:this._$g(4,"sc"),attrs:{_i:4}})],1)},n=[]},"402a":function(t,e,a){var i=a("c86c");e=i(!1),e.push([t.i,'@charset "UTF-8";.scroll_box[data-v-43f30b7e]{background:#fff;margin:30rpx;border-radius:10rpx}.scroll_box .swiper[data-v-43f30b7e]{margin-top:200px;height:70px}',""]),t.exports=e},4052:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={name:"uniPopupDialog",props:["value","placeholder","type","mode","title","content","beforeClose","cancelText","confirmText"],data:function(){return{wxsProps:{}}},components:{}}},"40dd":function(t,e,a){"use strict";a.d(e,"b",(function(){return i})),a.d(e,"c",(function(){return n})),a.d(e,"a",(function(){}));var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("uni-view",{staticClass:t._$g(0,"sc"),attrs:{_i:0}},[a("uni-view",{staticClass:t._$g(1,"sc"),attrs:{_i:1}},[a("v-uni-text",{staticClass:t._$g(2,"sc"),class:t._$g(2,"c"),attrs:{_i:2}},[t._v(t._$g(2,"t0-0"))])],1),t._$g(3,"i")?a("uni-view",{staticClass:t._$g(3,"sc"),attrs:{_i:3}},[t._t("default",[a("v-uni-text",{staticClass:t._$g(5,"sc"),attrs:{_i:5}},[t._v(t._$g(5,"t0-0"))])],{_i:4})],2):a("uni-view",{staticClass:t._$g(6,"sc"),attrs:{_i:6}},[t._t("default",[a("v-uni-input",{staticClass:t._$g(8,"sc"),attrs:{type:"text",placeholder:t._$g(8,"a-placeholder"),focus:t._$g(8,"a-focus"),_i:8},model:{value:t._$g(8,"v-model"),callback:function(e){t.$handleVModelEvent(8,e)},expression:"val"}})],{_i:7})],2),a("uni-view",{staticClass:t._$g(9,"sc"),attrs:{_i:9}},[a("uni-view",{staticClass:t._$g(10,"sc"),attrs:{_i:10},on:{click:function(e){return t.$handleViewEvent(e)}}},[a("v-uni-text",{staticClass:t._$g(11,"sc"),attrs:{_i:11}},[t._v(t._$g(11,"t0-0"))])],1),a("uni-view",{staticClass:t._$g(12,"sc"),attrs:{_i:12},on:{click:function(e){return t.$handleViewEvent(e)}}},[a("v-uni-text",{staticClass:t._$g(13,"sc"),attrs:{_i:13}},[t._v(t._$g(13,"t0-0"))])],1)],1)],1)},n=[]},4604:function(t,e,a){var i=a("c86c");e=i(!1),e.push([t.i,".container[data-v-37562626]{width:30px;height:30px;position:relative}.container.loading5 .shape[data-v-37562626]{width:15px;height:15px}.container .shape[data-v-37562626]{position:absolute;width:10px;height:10px;border-radius:1px}.container .shape.shape1[data-v-37562626]{left:0;background-color:#1890ff}.container .shape.shape2[data-v-37562626]{right:0;background-color:#91cb74}.container .shape.shape3[data-v-37562626]{bottom:0;background-color:#fac858}.container .shape.shape4[data-v-37562626]{bottom:0;right:0;background-color:#e66}.loading5 .shape1[data-v-37562626]{animation:animation5shape1-data-v-37562626 2s ease 0s infinite reverse}@-webkit-keyframes animation5shape1-data-v-37562626{0%{-webkit-transform:translate(0);transform:translate(0)}25%{-webkit-transform:translateY(15px);transform:translateY(15px)}50%{-webkit-transform:translate(15px,15px);transform:translate(15px,15px)}75%{-webkit-transform:translate(15px);transform:translate(15px)}}@keyframes animation5shape1-data-v-37562626{0%{-webkit-transform:translate(0);transform:translate(0)}25%{-webkit-transform:translateY(15px);transform:translateY(15px)}50%{-webkit-transform:translate(15px,15px);transform:translate(15px,15px)}75%{-webkit-transform:translate(15px);transform:translate(15px)}}.loading5 .shape2[data-v-37562626]{animation:animation5shape2-data-v-37562626 2s ease 0s infinite reverse}@-webkit-keyframes animation5shape2-data-v-37562626{0%{-webkit-transform:translate(0);transform:translate(0)}25%{-webkit-transform:translate(-15px);transform:translate(-15px)}50%{-webkit-transform:translate(-15px,15px);transform:translate(-15px,15px)}75%{-webkit-transform:translateY(15px);transform:translateY(15px)}}@keyframes animation5shape2-data-v-37562626{0%{-webkit-transform:translate(0);transform:translate(0)}25%{-webkit-transform:translate(-15px);transform:translate(-15px)}50%{-webkit-transform:translate(-15px,15px);transform:translate(-15px,15px)}75%{-webkit-transform:translateY(15px);transform:translateY(15px)}}.loading5 .shape3[data-v-37562626]{animation:animation5shape3-data-v-37562626 2s ease 0s infinite reverse}@-webkit-keyframes animation5shape3-data-v-37562626{0%{-webkit-transform:translate(0);transform:translate(0)}25%{-webkit-transform:translate(15px);transform:translate(15px)}50%{-webkit-transform:translate(15px,-15px);transform:translate(15px,-15px)}75%{-webkit-transform:translateY(-15px);transform:translateY(-15px)}}@keyframes animation5shape3-data-v-37562626{0%{-webkit-transform:translate(0);transform:translate(0)}25%{-webkit-transform:translate(15px);transform:translate(15px)}50%{-webkit-transform:translate(15px,-15px);transform:translate(15px,-15px)}75%{-webkit-transform:translateY(-15px);transform:translateY(-15px)}}.loading5 .shape4[data-v-37562626]{animation:animation5shape4-data-v-37562626 2s ease 0s infinite reverse}@-webkit-keyframes animation5shape4-data-v-37562626{0%{-webkit-transform:translate(0);transform:translate(0)}25%{-webkit-transform:translateY(-15px);transform:translateY(-15px)}50%{-webkit-transform:translate(-15px,-15px);transform:translate(-15px,-15px)}75%{-webkit-transform:translate(-15px);transform:translate(-15px)}}@keyframes animation5shape4-data-v-37562626{0%{-webkit-transform:translate(0);transform:translate(0)}25%{-webkit-transform:translateY(-15px);transform:translateY(-15px)}50%{-webkit-transform:translate(-15px,-15px);transform:translate(-15px,-15px)}75%{-webkit-transform:translate(-15px);transform:translate(-15px)}}",""]),t.exports=e},"468a":function(t,e,a){"use strict";a.r(e);var i=a("3d5d"),n=a("a9ce");for(var r in n)["default"].indexOf(r)<0&&function(t){a.d(e,t,(function(){return n[t]}))}(r);a("e199");var o=a("828b"),s=Object(o["a"])(n["default"],i["b"],i["c"],!1,null,"2ef93b2c",null,!1,i["a"],void 0);e["default"]=s.exports},"47a9":function(t,e){t.exports=function(t){return t&&t.__esModule?t:{default:t}},t.exports.__esModule=!0,t.exports["default"]=t.exports},"4f76":function(t,e,a){var i=a("402a");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var n=a("b49c").default;n("addd57ae",i,!0,{sourceMap:!1,shadowMode:!1})},"59cf":function(t,e,a){"use strict";a.d(e,"b",(function(){return i})),a.d(e,"c",(function(){return n})),a.d(e,"a",(function(){}));var i=function(){var t=this.$createElement,e=this._self._c||t;return e("uni-view",{staticClass:this._$g(0,"sc"),attrs:{_i:0}},[e("uni-view",{staticClass:this._$g(1,"sc"),attrs:{_i:1}}),e("uni-view",{staticClass:this._$g(2,"sc"),attrs:{_i:2}},[this._v(this._$g(2,"t0-0"))])],1)},n=[]},"5a89":function(t,e,a){var i=a("1995");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var n=a("b49c").default;n("47efc986",i,!0,{sourceMap:!1,shadowMode:!1})},"5e2e":function(t,e,a){"use strict";a.r(e);var i=a("7b96"),n=a("3f6f");for(var r in n)["default"].indexOf(r)<0&&function(t){a.d(e,t,(function(){return n[t]}))}(r);a("2880");var o=a("828b"),s=Object(o["a"])(n["default"],i["b"],i["c"],!1,null,"cc06004c",null,!1,i["a"],void 0);e["default"]=s.exports},"5f21":function(t,e,a){"use strict";a.r(e);var i=a("af4f"),n=a("3f60");for(var r in n)["default"].indexOf(r)<0&&function(t){a.d(e,t,(function(){return n[t]}))}(r);var o=a("828b"),s=Object(o["a"])(n["default"],i["b"],i["c"],!1,null,"24ee7f38",null,!1,i["a"],void 0);e["default"]=s.exports},6064:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={name:"",data:function(){return{wxsProps:{}}},components:{}}},6075:function(t,e,a){var i=a("c86c");e=i(!1),e.push([t.i,".container[data-v-4e1c1bfa]{width:30px;height:30px;position:relative}.container.loading3[data-v-4e1c1bfa]{-webkit-animation:rotation 1s infinite;animation:rotation 1s infinite}.container.loading3 .shape1[data-v-4e1c1bfa]{border-top-left-radius:10px}.container.loading3 .shape2[data-v-4e1c1bfa]{border-top-right-radius:10px}.container.loading3 .shape3[data-v-4e1c1bfa]{border-bottom-left-radius:10px}.container.loading3 .shape4[data-v-4e1c1bfa]{border-bottom-right-radius:10px}.container .shape[data-v-4e1c1bfa]{position:absolute;width:10px;height:10px;border-radius:1px}.container .shape.shape1[data-v-4e1c1bfa]{left:0;background-color:#1890ff}.container .shape.shape2[data-v-4e1c1bfa]{right:0;background-color:#91cb74}.container .shape.shape3[data-v-4e1c1bfa]{bottom:0;background-color:#fac858}.container .shape.shape4[data-v-4e1c1bfa]{bottom:0;right:0;background-color:#e66}.loading3 .shape1[data-v-4e1c1bfa]{-webkit-animation:animation3shape1-data-v-4e1c1bfa .5s ease 0s infinite alternate;animation:animation3shape1-data-v-4e1c1bfa .5s ease 0s infinite alternate}@-webkit-keyframes animation3shape1-data-v-4e1c1bfa{from{-webkit-transform:translate(0);transform:translate(0)}to{-webkit-transform:translate(5px,5px);transform:translate(5px,5px)}}@keyframes animation3shape1-data-v-4e1c1bfa{from{-webkit-transform:translate(0);transform:translate(0)}to{-webkit-transform:translate(5px,5px);transform:translate(5px,5px)}}.loading3 .shape2[data-v-4e1c1bfa]{-webkit-animation:animation3shape2-data-v-4e1c1bfa .5s ease 0s infinite alternate;animation:animation3shape2-data-v-4e1c1bfa .5s ease 0s infinite alternate}@-webkit-keyframes animation3shape2-data-v-4e1c1bfa{from{-webkit-transform:translate(0);transform:translate(0)}to{-webkit-transform:translate(-5px,5px);transform:translate(-5px,5px)}}@keyframes animation3shape2-data-v-4e1c1bfa{from{-webkit-transform:translate(0);transform:translate(0)}to{-webkit-transform:translate(-5px,5px);transform:translate(-5px,5px)}}.loading3 .shape3[data-v-4e1c1bfa]{-webkit-animation:animation3shape3-data-v-4e1c1bfa .5s ease 0s infinite alternate;animation:animation3shape3-data-v-4e1c1bfa .5s ease 0s infinite alternate}@-webkit-keyframes animation3shape3-data-v-4e1c1bfa{from{-webkit-transform:translate(0);transform:translate(0)}to{-webkit-transform:translate(5px,-5px);transform:translate(5px,-5px)}}@keyframes animation3shape3-data-v-4e1c1bfa{from{-webkit-transform:translate(0);transform:translate(0)}to{-webkit-transform:translate(5px,-5px);transform:translate(5px,-5px)}}.loading3 .shape4[data-v-4e1c1bfa]{-webkit-animation:animation3shape4-data-v-4e1c1bfa .5s ease 0s infinite alternate;animation:animation3shape4-data-v-4e1c1bfa .5s ease 0s infinite alternate}@-webkit-keyframes animation3shape4-data-v-4e1c1bfa{from{-webkit-transform:translate(0);transform:translate(0)}to{-webkit-transform:translate(-5px,-5px);transform:translate(-5px,-5px)}}@keyframes animation3shape4-data-v-4e1c1bfa{from{-webkit-transform:translate(0);transform:translate(0)}to{-webkit-transform:translate(-5px,-5px);transform:translate(-5px,-5px)}}",""]),t.exports=e},"60d5":function(t,e,a){var i=a("a7ad");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var n=a("b49c").default;n("7d39d56f",i,!0,{sourceMap:!1,shadowMode:!1})},6382:function(t,e,a){var i=a("6454");t.exports=function(t,e){if(t){if("string"===typeof t)return i(t,e);var a=Object.prototype.toString.call(t).slice(8,-1);return"Object"===a&&t.constructor&&(a=t.constructor.name),"Map"===a||"Set"===a?Array.from(t):"Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?i(t,e):void 0}},t.exports.__esModule=!0,t.exports["default"]=t.exports},"63c1":function(t,e,a){"use strict";a.r(e);var i=a("ba9b"),n=a.n(i);for(var r in i)["default"].indexOf(r)<0&&function(t){a.d(e,t,(function(){return i[t]}))}(r);e["default"]=n.a},6454:function(t,e){t.exports=function(t,e){(null==e||e>t.length)&&(e=t.length);for(var a=0,i=new Array(e);a<e;a++)i[a]=t[a];return i},t.exports.__esModule=!0,t.exports["default"]=t.exports},"65fd":function(t,e,a){var i=a("e631");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var n=a("b49c").default;n("675dc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\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n.eject-mask{width:100%;height:100%;background-color:rgba(0,0,0,.5);position:fixed;top:0;left:0;z-index:999;display:flex;align-items:center;justify-content:center}.eject{position:relative;width:600px;height:350px;background-color:#eaeaea;border-radius:25rpx}.eject-title{width:100%;height:100px;line-height:100px;font-size:20px;font-weight:700;color:#606266;text-align:center}.item{display:flex;align-items:center;margin:10px 0 0 0}.desc{display:inline-block;width:40%;text-align:right;color:#606266;font-size:18px}.input{display:flex;align-items:center;padding-left:5px;padding-right:5px;width:100%;height:30px;border:1px solid #c0c4cc;margin-right:50px}.eject-input uni-input{width:100%}.eject-button{display:flex;align-items:center;position:absolute;bottom:0;height:60px;line-height:60px;width:100%;border-top:1px solid #ccc}.button-item{width:50%;height:100%;font-size:20px;font-weight:700;text-align:center;color:#909399}.button-item:last-child{color:#67c23a;border-left:1px solid #ccc}.full-width{width:100%;height:100%;display:inline-block;float:left}.half-width{width:50%;height:100%;display:inline-block;float:left}.box-items{height:20%;width:100%;line-height:300rpx}.swiper-here{display:inline-block;margin:0 auto;width:100%;height:100%}.swiper-here-oN{display:inline-block;margin:0 auto;width:100%;height:90%}.swiper-here-error{display:inline-block;margin-top:20%;width:100%;height:100%}.animate{display:inline-block;-webkit-animation:25s wordsLoop linear infinite normal;animation:25s wordsLoop linear infinite normal}@keyframes wordsLoop{0%{transform:translateY(100px);-webkit-transform:translateY(100px)}100%{transform:translateY(-100%);-webkit-transform:translateY(-100%)}}@-webkit-keyframes wordsLoop{0%{transform:translateY(100px);-webkit-transform:translateY(100px)}100%{transform:translateY(-100%);-webkit-transform:translateY(-100%)}}.topUp{-webkit-animation:topUp 1.5s 1;animation:topUp 1.5s 1;-webkit-animation-fill-mode:both;animation-fill-mode:both}@-webkit-keyframes topUp{from{opacity:.5;top:-1080px}to{opacity:1;top:0}}@keyframes topUp{from{opacity:.5;top:-1080px}to{opacity:1;top:0}}.topDown{-webkit-animation:topDown 1.5s 1;animation:topDown 1.5s 1;-webkit-animation-fill-mode:both;animation-fill-mode:both}@-webkit-keyframes topDown{from{opacity:1;top:0}to{opacity:.5;top:-1080px}}@keyframes topDown{from{opacity:1;top:0}to{opacity:.5;top:-1080px}}.floorUp{-webkit-animation:floorUp 1.5s 1;animation:floorUp 1.5s 1;-webkit-animation-fill-mode:both;animation-fill-mode:both}@-webkit-keyframes floorUp{from{opacity:.5;top:0}to{opacity:1;top:1080px}}@keyframes floorUp{from{opacity:.5;top:0}to{opacity:1;top:1080px}}.floorDown{-webkit-animation:floorDown 1.5s 1;animation:floorDown 1.5s 1;-webkit-animation-fill-mode:both;animation-fill-mode:both}@-webkit-keyframes floorDown{from{opacity:.5;top:1080px}to{opacity:1;top:0}}@keyframes floorDown{from{opacity:.5;top:1080px}to{opacity:1;top:0}}.top-screen{position:fixed;width:1920px;height:1080px;background-image:url("+s+");z-index:999}.floor-screen{width:1920px;height:1080px;position:relative;color:#fff;text-align:center;font-size:120rpx;letter-spacing:5rpx;background-image:url("+s+")}.container{width:1920px;height:1080px;position:relative}.head{width:100%;height:10%;text-align:center;line-height:110px;color:#fff;font-size:40px;font-weight:700;letter-spacing:5px}.head uni-text{-webkit-transform:scaleY(.9);transform:scaleY(.9)}.time-tools{height:5%;position:absolute;top:0;float:right;right:50px;font-size:16px;font-weight:400;line-height:70px;letter-spacing:1px}.button-left{position:absolute;background-image:url("+l+");background-size:100% 100%;top:1.8%;left:21.3%;width:13.5%;height:8.5%;-webkit-transform:scaleX(-1);transform:scaleX(-1)}.button-right{position:absolute;background-image:url("+l+");background-size:100% 100%;top:1.8%;left:65%;width:13.5%;height:8.5%}.main{position:relative;width:100%;height:90%}.main-sides{position:relative;display:inline-block;float:left;width:50%;height:100%}.box{position:relative;margin:3% 2% 0 2%;width:96%;height:30%;border:1px solid #145088;overflow:hidden}.box-lg{height:94%}.box-border{position:absolute;width:10px;height:10px}.box-border1{top:0;left:0;border-left:2px solid #31c4c4;border-top:2px solid #31c4c4}.box-border2{top:0;right:0;border-right:2px solid #31c4c4;border-top:2px solid #31c4c4}.box-border3{bottom:0;left:0;border-bottom:2px solid #31c4c4;border-left:2px solid #31c4c4}.box-border4{bottom:0;right:0;border-right:2px solid #31c4c4;border-bottom:2px solid #31c4c4}.content{display:flex;flex-direction:column;flex:1}.charts-box{width:80%;height:230px;margin-left:10%}.ring{display:inline-block;float:left;width:60%;height:300px;margin-left:-10%}.box-item{width:92%;height:20%;margin-left:4%;padding-top:1em;color:#fff}.introduce{height:30%}.introduce h2{letter-spacing:5px}.english{font-size:14px}.introduce-content{font-size:20px;padding-top:2em;text-indent:2em;line-height:2em}.charge-info{height:45%}.charge-info-item{display:inline-block;width:50%;height:40%}.charge-info-item uni-image{display:inline-block;float:left;height:100%;width:20%}.charge-info-item uni-view{display:inline-block;position:relative;margin-left:10%;width:70%;height:49%}.charge-info-item .count, .charge-info-item .unit{position:absolute;display:inline-block;font-size:32px;bottom:0;padding-left:5%}.charge-info-item .unit{font-size:16px;float:right;right:20%}.footer{position:absolute;border:1px solid #145088;height:15%}.use-info{}.use-left{display:inline-block;width:40%}.use-right{display:inline-block;float:right;width:20%}.use-main{width:100%;height:75%}.use-main .left{display:inline-block;float:left;height:100%;width:70%;line-height:20px}.left .progressBar{margin-top:9%;width:100%;height:20%;background-color:#233751;border-radius:20px}.left .progress{height:100%;background-color:#ff5722;border-radius:20px}.left uni-progress{margin-left:10%;margin-top:10%;display:block}.use-main .right{display:inline-block;float:right;height:100%;width:20%;font-size:40px;color:#ff5722;line-height:130px}.box-tp{height:30%}.box-tp .sub-main{}.box-md{height:43%}.sub-main-right{display:inline-block;height:100%;width:50%}.sub-info{width:100%;height:33%}.sub-info uni-image{display:inline-block;float:left;height:100%;width:15%}.sub-info uni-text{display:inline-block;width:40%;height:100%;text-align:center;line-height:120px;font-size:20px}.box-bt{background-color:#063a7b;border:none;height:15%;color:#fff}.box-bt uni-image{position:absolute;float:right;right:0;top:0;width:20%;height:100%}.box-bt{font-size:36px;line-height:140px;text-indent:5em}.right-item{height:94%}.sub-left{display:inline-block;float:left;width:40%}.sub-right{display:inline-block;float:right;width:20%}.sub-main{position:absolute;width:92%;height:80%;bottom:0}",""]),t.exports=e},"675d":function(t,e,a){var i=a("1ad7");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var n=a("b49c").default;n("0ac72776",i,!0,{sourceMap:!1,shadowMode:!1})},7172:function(t,e){t.exports=function(t,e){var a=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=a){var i,n,r,o,s=[],l=!0,c=!1;try{if(r=(a=a.call(t)).next,0===e){if(Object(a)!==a)return;l=!1}else for(;!(l=(i=r.call(a)).done)&&(s.push(i.value),s.length!==e);l=!0);}catch(t){c=!0,n=t}finally{try{if(!l&&null!=a["return"]&&(o=a["return"](),Object(o)!==o))return}finally{if(c)throw n}}return s}},t.exports.__esModule=!0,t.exports["default"]=t.exports},"73fb":function(t,e,a){var i=a("c86c");e=i(!1),e.push([t.i,'@charset "UTF-8";.uni-popup-dialog[data-v-99b3946c]{width:300px;border-radius:11px;background-color:#fff}.uni-dialog-title[data-v-99b3946c]{display:flex;flex-direction:row;justify-content:center;padding-top:25px}.uni-dialog-title-text[data-v-99b3946c]{font-size:16px;font-weight:500}.uni-dialog-content[data-v-99b3946c]{display:flex;flex-direction:row;justify-content:center;align-items:center;padding:20px}.uni-dialog-content-text[data-v-99b3946c]{font-size:14px;color:#6c6c6c}.uni-dialog-button-group[data-v-99b3946c]{display:flex;flex-direction:row;border-top-color:#f5f5f5;border-top-style:solid;border-top-width:1px}.uni-dialog-button[data-v-99b3946c]{display:flex;flex:1;flex-direction:row;justify-content:center;align-items:center;height:45px}.uni-border-left[data-v-99b3946c]{border-left-color:#f0f0f0;border-left-style:solid;border-left-width:1px}.uni-dialog-button-text[data-v-99b3946c]{font-size:16px;color:#333}.uni-button-color[data-v-99b3946c]{color:#007aff}.uni-dialog-input[data-v-99b3946c]{flex:1;font-size:14px;border:1px #eee solid;height:40px;padding:0 10px;border-radius:5px;color:#555}.uni-popup__success[data-v-99b3946c]{color:#4cd964}.uni-popup__warn[data-v-99b3946c]{color:#f0ad4e}.uni-popup__error[data-v-99b3946c]{color:#dd524d}.uni-popup__info[data-v-99b3946c]{color:#909399}',""]),t.exports=e},7543:function(t,e,a){"use strict";a.r(e);var i=a("4052"),n=a.n(i);for(var r in i)["default"].indexOf(r)<0&&function(t){a.d(e,t,(function(){return i[t]}))}(r);e["default"]=n.a},7996:function(t,e,a){"use strict";a.r(e);var i=a("f5de"),n=a("9399");for(var r in n)["default"].indexOf(r)<0&&function(t){a.d(e,t,(function(){return n[t]}))}(r);a("7d31");var o=a("828b"),s=Object(o["a"])(n["default"],i["b"],i["c"],!1,null,"fe0925d0",null,!1,i["a"],void 0);e["default"]=s.exports},"7b49":function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={name:"uniPopup",props:["animation","type","isMaskClick","maskClick","backgroundColor","safeArea","maskBackgroundColor"],data:function(){return{wxsProps:{}}},components:{}}},"7b96":function(t,e,a){"use strict";a.d(e,"b",(function(){return i})),a.d(e,"c",(function(){return n})),a.d(e,"a",(function(){}));var i=function(){var t=this.$createElement,e=this._self._c||t;return e("uni-view",{staticClass:this._$g(0,"sc"),attrs:{_i:0}})},n=[]},"7c9c":function(t,e,a){"use strict";a.r(e);var i=a("7b49"),n=a.n(i);for(var r in i)["default"].indexOf(r)<0&&function(t){a.d(e,t,(function(){return i[t]}))}(r);e["default"]=n.a},"7d31":function(t,e,a){"use strict";var i=a("02c7"),n=a.n(i);n.a},"7d36":function(t,e,a){"use strict";a.d(e,"b",(function(){return i})),a.d(e,"c",(function(){return n})),a.d(e,"a",(function(){}));var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("uni-view",{attrs:{_i:0}},[a("v-uni-button",{staticClass:t._$g(1,"sc"),attrs:{_i:1},on:{click:function(e){return t.$handleViewEvent(e)}}},[t._v("Clear")]),t._$g(2,"i")?a("v-uni-web-view",{attrs:{src:t._$g(2,"a-src"),_i:2}}):t._e(),t._$g(3,"i")?a("uni-view",{staticStyle:{"margin-top":"100px"},attrs:{_i:3}},[a("v-uni-input",{attrs:{type:"text",placeholder:"\u8f93\u5165URL",_i:4},model:{value:t._$g(4,"v-model"),callback:function(e){t.$handleVModelEvent(4,e)},expression:"url"}}),a("v-uni-button",{attrs:{_i:5},on:{click:function(e){return t.$handleViewEvent(e)}}},[t._v("\u8bbe\u7f6e")])],1):t._e()],1)},n=[]},"7ec4":function(t,e,a){var i=a("c86c");e=i(!1),e.push([t.i,".container[data-v-fe0925d0]{width:30px;height:30px;position:relative}.container.loading1[data-v-fe0925d0]{-webkit-transform:rotate(45deg);transform:rotate(45deg)}.container .shape[data-v-fe0925d0]{position:absolute;width:10px;height:10px;border-radius:1px}.container .shape.shape1[data-v-fe0925d0]{left:0;background-color:#1890ff}.container .shape.shape2[data-v-fe0925d0]{right:0;background-color:#91cb74}.container .shape.shape3[data-v-fe0925d0]{bottom:0;background-color:#fac858}.container .shape.shape4[data-v-fe0925d0]{bottom:0;right:0;background-color:#e66}.loading1 .shape1[data-v-fe0925d0]{-webkit-animation:animation1shape1-data-v-fe0925d0 .5s ease 0s infinite alternate;animation:animation1shape1-data-v-fe0925d0 .5s ease 0s infinite alternate}@-webkit-keyframes animation1shape1-data-v-fe0925d0{from{-webkit-transform:translate(0);transform:translate(0)}to{-webkit-transform:translate(16px,16px);transform:translate(16px,16px)}}@keyframes animation1shape1-data-v-fe0925d0{from{-webkit-transform:translate(0);transform:translate(0)}to{-webkit-transform:translate(16px,16px);transform:translate(16px,16px)}}.loading1 .shape2[data-v-fe0925d0]{-webkit-animation:animation1shape2-data-v-fe0925d0 .5s ease 0s infinite alternate;animation:animation1shape2-data-v-fe0925d0 .5s ease 0s infinite alternate}@-webkit-keyframes animation1shape2-data-v-fe0925d0{from{-webkit-transform:translate(0);transform:translate(0)}to{-webkit-transform:translate(-16px,16px);transform:translate(-16px,16px)}}@keyframes animation1shape2-data-v-fe0925d0{from{-webkit-transform:translate(0);transform:translate(0)}to{-webkit-transform:translate(-16px,16px);transform:translate(-16px,16px)}}.loading1 .shape3[data-v-fe0925d0]{-webkit-animation:animation1shape3-data-v-fe0925d0 .5s ease 0s infinite alternate;animation:animation1shape3-data-v-fe0925d0 .5s ease 0s infinite alternate}@-webkit-keyframes animation1shape3-data-v-fe0925d0{from{-webkit-transform:translate(0);transform:translate(0)}to{-webkit-transform:translate(16px,-16px);transform:translate(16px,-16px)}}@keyframes animation1shape3-data-v-fe0925d0{from{-webkit-transform:translate(0);transform:translate(0)}to{-webkit-transform:translate(16px,-16px);transform:translate(16px,-16px)}}.loading1 .shape4[data-v-fe0925d0]{-webkit-animation:animation1shape4-data-v-fe0925d0 .5s ease 0s infinite alternate;animation:animation1shape4-data-v-fe0925d0 .5s ease 0s infinite alternate}@-webkit-keyframes animation1shape4-data-v-fe0925d0{from{-webkit-transform:translate(0);transform:translate(0)}to{-webkit-transform:translate(-16px,-16px);transform:translate(-16px,-16px)}}@keyframes animation1shape4-data-v-fe0925d0{from{-webkit-transform:translate(0);transform:translate(0)}to{-webkit-transform:translate(-16px,-16px);transform:translate(-16px,-16px)}}",""]),t.exports=e},"7edb":function(t,e,a){"use strict";a.r(e);var i=a("898b"),n=a.n(i);for(var r in i)["default"].indexOf(r)<0&&function(t){a.d(e,t,(function(){return i[t]}))}(r);e["default"]=n.a},8042:function(t,e,a){"use strict";a.d(e,"b",(function(){return n})),a.d(e,"c",(function(){return r})),a.d(e,"a",(function(){return i}));var i={uniTransition:a("997e").default},n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return t._$g(0,"i")?a("uni-view",{staticClass:t._$g(0,"sc"),class:t._$g(0,"c"),attrs:{_i:0},on:{touchmove:function(e){return t.$handleViewEvent(e,{stop:!0,prevent:!0})}}},[a("uni-view",{attrs:{_i:1},on:{touchstart:function(e){return t.$handleViewEvent(e)}}},[t._$g(2,"i")?a("uni-transition",{key:"1",attrs:{_i:2},on:{click:function(e){return t.$handleViewEvent(e)}}}):t._e(),a("uni-transition",{key:"2",attrs:{_i:3},on:{click:function(e){return t.$handleViewEvent(e)}}},[a("uni-view",{staticClass:t._$g(4,"sc"),class:t._$g(4,"c"),style:t._$g(4,"s"),attrs:{_i:4},on:{click:function(e){return t.$handleViewEvent(e)}}},[t._t("default",null,{_i:5})],2)],1)],1)],1):t._e()},r=[]},"828b":function(t,e,a){"use strict";function i(t,e,a,i,n,r,o,s,l,c){var d,h="function"===typeof t?t.options:t;if(l){h.components||(h.components={});var u=Object.prototype.hasOwnProperty;for(var f in l)u.call(l,f)&&!u.call(h.components,f)&&(h.components[f]=l[f])}if(c&&("function"===typeof c.beforeCreate&&(c.beforeCreate=[c.beforeCreate]),(c.beforeCreate||(c.beforeCreate=[])).unshift((function(){this[c.__module]=this})),(h.mixins||(h.mixins=[])).push(c)),e&&(h.render=e,h.staticRenderFns=a,h._compiled=!0),i&&(h.functional=!0),r&&(h._scopeId="data-v-"+r),o?(d=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"===typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),n&&n.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(o)},h._ssrRegister=d):n&&(d=s?function(){n.call(this,this.$root.$options.shadowRoot)}:n),d)if(h.functional){h._injectStyles=d;var p=h.render;h.render=function(t,e){return d.call(e),p(t,e)}}else{var x=h.beforeCreate;h.beforeCreate=x?[].concat(x,d):[d]}return{exports:t,options:h}}a.d(e,"a",(function(){return i}))},8325:function(t,e,a){"use strict";a.r(e);var i=a("8ab6"),n=a("7edb");for(var r in n)["default"].indexOf(r)<0&&function(t){a.d(e,t,(function(){return n[t]}))}(r);var o=a("3d72");for(var r in o)["default"].indexOf(r)<0&&function(t){a.d(e,t,(function(){return o[t]}))}(r);a("c781");var s=a("828b");n["default"].__module="rdcharts";var l=Object(s["a"])(o["default"],i["b"],i["c"],!1,null,"3f29adb2",null,!1,i["a"],n["default"]);e["default"]=l.exports},8412:function(t,e,a){"use strict";var i=a("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=i(a("7996")),r=i(a("468a")),o=i(a("c959")),s=i(a("3c8c")),l=i(a("8a5a")),c={name:"qiun-loading",props:["loadingType"],data:function(){return{wxsProps:{}}},components:{Loading1:n.default,Loading2:r.default,Loading3:o.default,Loading4:s.default,Loading5:l.default}};e.default=c},"84d1":function(t,e,a){var i=a("1e40");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var n=a("b49c").default;n("ff6c9cb4",i,!0,{sourceMap:!1,shadowMode:!1})},8729:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={props:["title"],data:function(){return{wxsProps:{}}},components:{}}},8804:function(t,e,a){"use strict";var i=a("be93"),n=a.n(i);n.a},"88ff":function(t,e,a){var i=a("269a");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var n=a("b49c").default;n("093554ea",i,!0,{sourceMap:!1,shadowMode:!1})},"898b":function(t,e,a){"use strict";var i=a("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=i(a("3b2d")),r=i(a("17c3")),o=i(a("1a14")),s=i(a("e235")),l={},c=null;function d(){for(var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length,a=new Array(e>1?e-1:0),i=1;i<e;i++)a[i-1]=arguments[i];for(var r in a)for(var o in a[r])a[r].hasOwnProperty(o)&&(t[o]=a[r][o]&&"object"===(0,n.default)(a[r][o])?d(Array.isArray(a[r][o])?[]:{},t[o],a[r][o]):a[r][o]);return t}function h(t,e){for(var a in t)t.hasOwnProperty(a)&&null!==t[a]&&"object"===(0,n.default)(t[a])?h(t[a],e):"format"===a&&"string"===typeof t[a]&&(t["formatter"]=e[t[a]]?e[t[a]]:void 0);return t}var u={data:function(){return{rid:null}},mounted:function(){var t=this;c={top:0,left:0},setTimeout((function(){null===t.rid&&t.$ownerInstance&&t.$ownerInstance.callMethod("getRenderType")}),200)},destroyed:function(){delete o.default.option[this.rid],delete o.default.instance[this.rid],delete s.default.option[this.rid],delete s.default.instance[this.rid]},methods:{ecinit:function(t,e,a,i){var r=JSON.stringify(t.id);this.rid=r,l[r]=this.$ownerInstance||i;var o=JSON.parse(JSON.stringify(t)),c=o.type;c&&s.default.type.includes(c)?s.default.option[r]=d({},s.default[c],o):s.default.option[r]=d({},o);var h=o.chartData;if(h){s.default.option[r].xAxis&&s.default.option[r].xAxis.type&&"category"===s.default.option[r].xAxis.type&&(s.default.option[r].xAxis.data=h.categories),s.default.option[r].yAxis&&s.default.option[r].yAxis.type&&"category"===s.default.option[r].yAxis.type&&(s.default.option[r].yAxis.data=h.categories),s.default.option[r].series=[];for(var u=0;u<h.series.length;u++){s.default.option[r].seriesTemplate=s.default.option[r].seriesTemplate?s.default.option[r].seriesTemplate:{};var f=d({},s.default.option[r].seriesTemplate,h.series[u]);s.default.option[r].series.push(f)}}if("object"===(0,n.default)(window.echarts))this.newEChart();else{var p=document.createElement("script");p.src="./uni_modules/qiun-data-charts/static/app-plus/echarts.min.js",p.onload=this.newEChart,document.head.appendChild(p)}},ecresize:function(t,e,a,i){s.default.instance[this.rid]&&s.default.instance[this.rid].resize()},newEChart:function(){var t=this.rid;void 0===s.default.instance[t]?(s.default.instance[t]=echarts.init(l[t].$el.children[0]),!0===s.default.option[t].ontap&&(s.default.instance[t].on("click",(function(e){var a=JSON.parse(JSON.stringify({x:e.event.offsetX,y:e.event.offsetY}));l[t].callMethod("emitMsg",{name:"getIndex",params:{type:"getIndex",event:a,currentIndex:e.dataIndex,value:e.data,seriesName:e.seriesName,id:t}})})),s.default.instance[t].on("highlight",(function(e){l[t].callMethod("emitMsg",{name:"getHighlight",params:{type:"highlight",res:e,id:t}})}))),this.updataEChart(t,s.default.option[t])):this.updataEChart(t,s.default.option[t])},updataEChart:function(t,e){if(e=h(e,s.default.formatter),e.tooltip&&(e.tooltip.show=!!e.tooltipShow,e.tooltip.position=this.tooltipPosition(),"string"===typeof e.tooltipFormat&&s.default.formatter[e.tooltipFormat]&&(e.tooltip.formatter=e.tooltip.formatter?e.tooltip.formatter:s.default.formatter[e.tooltipFormat])),e.series)for(var a in e.series){var i=e.series[a].linearGradient;i&&(e.series[a].color=new echarts.graphic.LinearGradient(i[0],i[1],i[2],i[3],i[4]))}s.default.instance[t].setOption(e,e.notMerge),s.default.instance[t].on("finished",(function(){l[t].callMethod("emitMsg",{name:"complete",params:{type:"complete",complete:!0,id:t}}),s.default.instance[t]&&s.default.instance[t].off("finished")})),"undefined"!=typeof l[t].$el.children[0].clientWidth&&(Math.abs(l[t].$el.children[0].clientWidth-s.default.instance[t].getWidth())>3||Math.abs(l[t].$el.children[0].clientHeight-s.default.instance[t].getHeight())>3)&&this.ecresize()},tooltipPosition:function(){return function(t,e,a,i,n){var r=t[0],o=t[1],s=n.viewSize[0],l=n.viewSize[1],c=n.contentSize[0],d=n.contentSize[1],h=r+30,u=o+30;return h+c>s&&(h=r-c-30),u+d>l&&(u=o-d-30),[h,u]}},ucinit:function(t,e,a,i){var n=this;if(JSON.stringify(t)!=JSON.stringify(e)&&t.canvasId){var r=JSON.parse(JSON.stringify(t.canvasId));this.rid=r,l[r]=this.$ownerInstance||i,o.default.option[r]=JSON.parse(JSON.stringify(t)),o.default.option[r]=h(o.default.option[r],o.default.formatter);var s=document.getElementById(r);s&&s.children[0]&&(o.default.option[r].context=s.children[0].getContext("2d"),o.default.instance[r]&&o.default.option[r]&&!0===o.default.option[r].update?this.updataUChart():setTimeout((function(){o.default.option[r].context.restore(),o.default.option[r].context.save(),n.newUChart()}),100))}},newUChart:function(){var t=this.rid;o.default.instance[t]=new r.default(o.default.option[t]),o.default.instance[t].addEventListener("renderComplete",(function(){l[t].callMethod("emitMsg",{name:"complete",params:{type:"complete",complete:!0,id:t,opts:o.default.instance[t].opts}}),o.default.instance[t].delEventListener("renderComplete")})),o.default.instance[t].addEventListener("scrollLeft",(function(){l[t].callMethod("emitMsg",{name:"scrollLeft",params:{type:"scrollLeft",scrollLeft:!0,id:t,opts:o.default.instance[t].opts}})})),o.default.instance[t].addEventListener("scrollRight",(function(){l[t].callMethod("emitMsg",{name:"scrollRight",params:{type:"scrollRight",scrollRight:!0,id:t,opts:o.default.instance[t].opts}})}))},updataUChart:function(){var t=this.rid;o.default.instance[t].updateData(o.default.option[t])},tooltipDefault:function(t,e,a,i){if(e){var r=t.data;return"object"===(0,n.default)(t.data)&&(r=t.data.value),e+" "+t.name+":"+r}return t.properties&&t.properties.name?t.properties.name:t.name+":"+t.data},showTooltip:function(t,e){var a=this,i=o.default.option[e].tooltipCustom;if(i&&void 0!==i&&null!==i){var n=void 0;i.x>=0&&i.y>=0&&(n={x:i.x,y:i.y+10}),o.default.instance[e].showToolTip(t,{index:i.index,offset:n,textList:i.textList,formatter:function(t,i,n,r){return"string"===typeof o.default.option[e].tooltipFormat&&o.default.formatter[o.default.option[e].tooltipFormat]?o.default.formatter[o.default.option[e].tooltipFormat](t,i,n,r):a.tooltipDefault(t,i,n,r)}})}else o.default.instance[e].showToolTip(t,{formatter:function(t,i,n,r){return"string"===typeof o.default.option[e].tooltipFormat&&o.default.formatter[o.default.option[e].tooltipFormat]?o.default.formatter[o.default.option[e].tooltipFormat](t,i,n,r):a.tooltipDefault(t,i,n,r)}})},tap:function(t){var e=this.rid,a=o.default.option[e].ontap,i=o.default.option[e].tooltipShow,n=o.default.option[e].tapLegend;if(0!=a){var r,s,d=document.getElementById("UC"+e).getBoundingClientRect(),h={};h=t.detail.x?{x:t.detail.x-d.left,y:t.detail.y-d.top+c.top}:{x:t.clientX-d.left,y:t.clientY-d.top+c.top},t.changedTouches=[],t.changedTouches.unshift(h),r=o.default.instance[e].getCurrentDataIndex(t),s=o.default.instance[e].getLegendDataIndex(t),!0===n&&o.default.instance[e].touchLegend(t),1==i&&this.showTooltip(t,e),l[e].callMethod("emitMsg",{name:"getIndex",params:{type:"getIndex",event:h,currentIndex:r,legendIndex:s,id:e,opts:o.default.instance[e].opts}})}},touchStart:function(t){var e=this.rid,a=o.default.option[e].ontouch;0!=a&&(!0===o.default.option[e].enableScroll&&1==t.touches.length&&o.default.instance[e].scrollStart(t),l[e].callMethod("emitMsg",{name:"getTouchStart",params:{type:"touchStart",event:t.changedTouches[0],id:e,opts:o.default.instance[e].opts}}))},touchMove:function(t){var e=this.rid,a=o.default.option[e].ontouch;if(0!=a){if(!0===o.default.option[e].enableScroll&&1==t.changedTouches.length&&o.default.instance[e].scroll(t),!0===o.default.option[e].ontap&&!1===o.default.option[e].enableScroll&&!0===o.default.option[e].onmovetip){var i=document.getElementById("UC"+e).getBoundingClientRect(),n={x:t.changedTouches[0].clientX-i.left,y:t.changedTouches[0].clientY-i.top+c.top};t.changedTouches.unshift(n),!0===o.default.option[e].tooltipShow&&this.showTooltip(t,e)}!0===a&&!0===o.default.option[e].enableScroll&&!0===o.default.option[e].onzoom&&2==t.changedTouches.length&&o.default.instance[e].dobuleZoom(t),l[e].callMethod("emitMsg",{name:"getTouchMove",params:{type:"touchMove",event:t.changedTouches[0],id:e,opts:o.default.instance[e].opts}})}},touchEnd:function(t){var e=this.rid,a=o.default.option[e].ontouch;0!=a&&(!0===o.default.option[e].enableScroll&&0==t.touches.length&&o.default.instance[e].scrollEnd(t),l[e].callMethod("emitMsg",{name:"getTouchEnd",params:{type:"touchEnd",event:t.changedTouches[0],id:e,opts:o.default.instance[e].opts}}))},mouseDown:function(t){var e=this.rid,a=o.default.option[e].onmouse;if(0!=a){var i,n=document.getElementById("UC"+e).getBoundingClientRect();i={x:t.clientX-n.left,y:t.clientY-n.top+c.top},t.changedTouches=[],t.changedTouches.unshift(i),o.default.instance[e].scrollStart(t),o.default.option[e].mousedown=!0,l[e].callMethod("emitMsg",{name:"getTouchStart",params:{type:"mouseDown",event:i,id:e,opts:o.default.instance[e].opts}})}},mouseMove:function(t){var e=this.rid,a=o.default.option[e].onmouse,i=o.default.option[e].tooltipShow;if(0!=a){var n,r=document.getElementById("UC"+e).getBoundingClientRect();n={x:t.clientX-r.left,y:t.clientY-r.top+c.top},t.changedTouches=[],t.changedTouches.unshift(n),o.default.option[e].mousedown?(o.default.instance[e].scroll(t),l[e].callMethod("emitMsg",{name:"getTouchMove",params:{type:"mouseMove",event:n,id:e,opts:o.default.instance[e].opts}})):o.default.instance[e]&&1==i&&this.showTooltip(t,e)}},mouseUp:function(t){var e=this.rid,a=o.default.option[e].onmouse;if(0!=a){var i,n=document.getElementById("UC"+e).getBoundingClientRect();i={x:t.clientX-n.left,y:t.clientY-n.top+c.top},t.changedTouches=[],t.changedTouches.unshift(i),o.default.instance[e].scrollEnd(t),o.default.option[e].mousedown=!1,l[e].callMethod("emitMsg",{name:"getTouchEnd",params:{type:"mouseUp",event:i,id:e,opts:o.default.instance[e].opts}})}}}};e.default=u},"8a5a":function(t,e,a){"use strict";a.r(e);var i=a("3fb1"),n=a("e9e1");for(var r in n)["default"].indexOf(r)<0&&function(t){a.d(e,t,(function(){return n[t]}))}(r);a("f1e8");var o=a("828b"),s=Object(o["a"])(n["default"],i["b"],i["c"],!1,null,"6e5d9c90",null,!1,i["a"],void 0);e["default"]=s.exports},"8ab6":function(t,e,a){"use strict";a.d(e,"b",(function(){return n})),a.d(e,"c",(function(){return r})),a.d(e,"a",(function(){return i}));var i={qiunLoading:a("5f21").default,qiunError:a("9eba").default},n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("uni-view",{staticClass:t._$g(0,"sc"),attrs:{id:t._$g(0,"a-id"),_i:0}},[t._$g(1,"i")?a("uni-view",{attrs:{_i:1}},[a("qiun-loading",{attrs:{_i:2}})],1):t._e(),t._$g(3,"i")?a("uni-view",{attrs:{_i:3},on:{click:function(e){return t.$handleViewEvent(e)}}},[a("qiun-error",{attrs:{_i:4}})],1):t._e(),t._$g(5,"i")?[a("uni-view",{directives:[{name:"show",rawName:"v-show",value:t._$g(6,"v-show"),expression:"_$g(6,'v-show')"}],wxsProps:{"change:resize":"echartsResize","change:prop":"echartsOpts"},staticStyle:{width:"100%",height:"100%"},style:t._$g(6,"s"),attrs:{"data-directory":t._$g(6,"a-data-directory"),id:t._$g(6,"a-id"),prop:t._$gc(6,"change:echartsOpts"),"change:prop":t.rdcharts.ecinit,resize:t._$gc(6,"change:echartsResize"),"change:resize":t.rdcharts.ecresize,_i:6}})]:[a("uni-view",{wxsProps:{"change:prop":"uchartsOpts"},attrs:{id:t._$g(8,"a-id"),prop:t._$gc(8,"change:uchartsOpts"),"change:prop":t.rdcharts.ucinit,_i:8},on:{mousemove:function(e){e=t.$handleWxsEvent(e),t.rdcharts.mouseMove(e,t.$getComponentDescriptor())},mousedown:function(e){e=t.$handleWxsEvent(e),t.rdcharts.mouseDown(e,t.$getComponentDescriptor())},mouseup:function(e){e=t.$handleWxsEvent(e),t.rdcharts.mouseUp(e,t.$getComponentDescriptor())},touchstart:function(e){e=t.$handleWxsEvent(e),t.rdcharts.touchStart(e,t.$getComponentDescriptor())},touchmove:function(e){e=t.$handleWxsEvent(e),t.rdcharts.touchMove(e,t.$getComponentDescriptor())},touchend:function(e){e=t.$handleWxsEvent(e),t.rdcharts.touchEnd(e,t.$getComponentDescriptor())},click:function(e){e=t.$handleWxsEvent(e),t.rdcharts.tap(e,t.$getComponentDescriptor())}}},[a("v-uni-canvas",{directives:[{name:"show",rawName:"v-show",value:t._$g(9,"v-show"),expression:"_$g(9,'v-show')"}],style:t._$g(9,"s"),attrs:{id:t._$g(9,"a-id"),canvasId:t._$g(9,"a-canvasId"),"disable-scroll":t._$g(9,"a-disable-scroll"),_i:9},on:{error:function(e){return t.$handleViewEvent(e)}}})],1)]],2)},r=[]},"8b6b":function(t,e,a){"use strict";a.r(e);var i=a("d9bb"),n=a.n(i);for(var r in i)["default"].indexOf(r)<0&&function(t){a.d(e,t,(function(){return i[t]}))}(r);e["default"]=n.a},"907f":function(t,e,a){"use strict";a.d(e,"b",(function(){return n})),a.d(e,"c",(function(){return r})),a.d(e,"a",(function(){return i}));var i={uniTransition:a("997e").default,yBox:a("357c").default,qiunDataCharts:a("8325").default,uniPopup:a("a640").default,uniPopupDialog:a("ed43").default},n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("uni-view",{staticClass:t._$g(0,"sc"),attrs:{_i:0}},[a("uni-transition",{attrs:{_i:1}},[a("uni-view",{staticClass:t._$g(2,"sc"),attrs:{_i:2}},[a("uni-view",{staticClass:t._$g(3,"sc"),attrs:{_i:3}},[a("v-uni-text",{attrs:{_i:4}},[t._v("\u667a\u80fd\u5927\u5c4f\u663e\u793a\u7cfb\u7edf")])],1),a("uni-view",{staticClass:t._$g(5,"sc"),attrs:{_i:5}},[t._v(t._$g(5,"t0-0"))]),a("uni-view",{staticClass:t._$g(6,"sc"),attrs:{_i:6}},[t._v("V:"+t._$g(6,"t0-0"))]),a("uni-view",{staticClass:t._$g(7,"sc"),attrs:{_i:7},on:{click:function(e){return t.$handleViewEvent(e)}}}),a("uni-view",{staticClass:t._$g(8,"sc"),attrs:{_i:8},on:{click:function(e){return t.$handleViewEvent(e)}}}),a("uni-view",{staticClass:t._$g(9,"sc"),attrs:{_i:9}},[a("uni-view",{staticClass:t._$g(10,"sc"),attrs:{_i:10}},[a("uni-view",{staticClass:t._$g(11,"sc"),attrs:{_i:11}},[a("y-box",{attrs:{_i:12}},[a("uni-view",{staticClass:t._$g(13,"sc"),attrs:{_i:13}},[a("v-uni-text",{staticClass:t._$g(14,"sc"),attrs:{_i:14}},[t._v("\u667a\u80fd\u5927\u5c4f\u663e\u793a\u7cfb\u7edf")]),a("v-uni-text",{staticClass:t._$g(15,"sc"),attrs:{_i:15}},[t._v("Intelligent LargeScreen Display System")])],1),a("uni-view",{staticClass:t._$g(16,"sc"),attrs:{_i:16}},[a("v-uni-text",{staticClass:t._$g(17,"sc"),attrs:{_i:17}},[t._v("\u4ed3\u5e93\u6570\u636e")]),a("v-uni-text",{staticClass:t._$g(18,"sc"),attrs:{_i:18}},[t._v("warehouse data")]),a("uni-view",{staticClass:t._$g(19,"sc"),attrs:{_i:19}},t._l(t._$g(20,"f"),(function(e,i,n,r){return a("uni-view",{key:e,staticStyle:{width:"100%",display:"flex"},attrs:{_i:"20-"+r}},[a("uni-view",{staticStyle:{display:"flex","justify-content":"center","align-items":"center",width:"48%","font-size":"1.3vw"},attrs:{_i:"21-"+r}},[t._v("\u7269\u6599\u7801: "+t._$g("21-"+r,"t0-0"))]),a("uni-view",{staticStyle:{display:"flex","justify-content":"center","align-items":"center",width:"48%","font-size":"1.3vw"},attrs:{_i:"22-"+r}},[t._v("\u6570\u91cf: "+t._$g("22-"+r,"t0-0"))])],1)})),1)],1),a("uni-view",{staticClass:t._$g(23,"sc"),attrs:{_i:23}},[a("uni-view",{staticClass:t._$g(24,"sc"),staticStyle:{width:"100%"},attrs:{_i:24}},[a("uni-view",{staticClass:t._$g(25,"sc"),staticStyle:{"align-items":"flex-start","justify-content":"flex-start"},attrs:{_i:25}},[a("v-uni-text",{staticClass:t._$g(26,"sc"),attrs:{_i:26}},[t._v("\u5e93\u4f4d\u4f7f\u7528\u7387")]),a("v-uni-text",{staticClass:t._$g(27,"sc"),attrs:{_i:27}},[t._v("EQUIPMENT USAGE THIS MONTH")])],1),a("uni-view",{staticStyle:{"margin-left":"auto"},attrs:{_i:28}},[a("uni-view",{staticClass:t._$g(29,"sc"),staticStyle:{"align-items":"flex-end","justify-content":"flex-end"},attrs:{_i:29}},[a("v-uni-text",{staticClass:t._$g(30,"sc"),attrs:{_i:30}},[t._v(t._$g(30,"t0-0")+"%")])],1)],1)],1),a("uni-view",{staticClass:t._$g(31,"sc"),staticStyle:{width:"100%","align-items":"flex-start",position:"relative","font-size":"1vw"},attrs:{_i:31}},[a("uni-view",{staticClass:t._$g(32,"sc"),staticStyle:{width:"100%",position:"relative","margin-top":"5%"},attrs:{_i:32}},[a("uni-view",{staticClass:t._$g(33,"sc"),staticStyle:{width:"80%",height:"2vw"},attrs:{_i:33}},[a("uni-view",{staticClass:t._$g(34,"sc"),style:t._$g(34,"s"),attrs:{_i:34}})],1),a("uni-view",{staticStyle:{position:"absolute",bottom:"0",right:"0","font-size":"2.5vw",color:"#FF5722"},attrs:{_i:35}},[t._v(t._$g(35,"t0-0"))])],1)],1)],1)],1)],1)],1),a("uni-view",{staticClass:t._$g(36,"sc"),attrs:{_i:36}},[a("uni-view",{staticClass:t._$g(37,"sc"),attrs:{_i:37}},[a("uni-view",{staticStyle:{width:"100%",height:"100%"},attrs:{_i:38}},[a("uni-view",{staticStyle:{height:"35%"},attrs:{_i:39}},[a("y-box",{attrs:{_i:40}},[a("uni-view",{staticClass:t._$g(41,"sc"),attrs:{_i:41}},[a("uni-view",{staticClass:t._$g(42,"sc"),staticStyle:{width:"100%"},attrs:{_i:42}},[a("uni-view",{staticClass:t._$g(43,"sc"),staticStyle:{"align-items":"flex-start","justify-content":"flex-start"},attrs:{_i:43}},[a("v-uni-text",{staticClass:t._$g(44,"sc"),attrs:{_i:44}},[t._v("\u5165\u51fa\u5e93\u7edf\u8ba1")]),a("v-uni-text",{staticClass:t._$g(45,"sc"),attrs:{_i:45}},[t._v("ORDER STATISTICS")])],1),a("uni-view",{staticStyle:{"margin-left":"auto"},attrs:{_i:46}},[a("uni-view",{staticClass:t._$g(47,"sc"),staticStyle:{"align-items":"flex-end","justify-content":"flex-end"},attrs:{_i:47}})],1)],1),a("uni-view",{staticClass:t._$g(48,"sc"),attrs:{_i:48}},[a("qiun-data-charts",{attrs:{_i:49}})],1)],1)],1)],1),a("uni-view",{staticStyle:{height:"2%"},attrs:{_i:50}}),a("uni-view",{staticStyle:{height:"43%"},attrs:{_i:51}},[a("y-box",{attrs:{_i:52}},[a("uni-view",{staticClass:t._$g(53,"sc"),attrs:{_i:53}},[a("uni-view",{staticClass:t._$g(54,"sc"),staticStyle:{width:"100%"},attrs:{_i:54}},[a("uni-view",{staticClass:t._$g(55,"sc"),staticStyle:{"align-items":"flex-start","justify-content":"flex-start"},attrs:{_i:55}},[a("v-uni-text",{staticClass:t._$g(56,"sc"),attrs:{_i:56}},[t._v("\u5e93\u5b58\u7c7b\u578b")]),a("v-uni-text",{staticClass:t._$g(57,"sc"),attrs:{_i:57}},[t._v("INCOME DATE")])],1),a("uni-view",{staticStyle:{"margin-left":"auto"},attrs:{_i:58}},[a("uni-view",{staticClass:t._$g(59,"sc"),staticStyle:{"align-items":"flex-end","justify-content":"flex-end"},attrs:{_i:59}},[a("v-uni-text",{staticClass:t._$g(60,"sc"),attrs:{_i:60}},[t._v("\u4eca\u5929")]),a("v-uni-text",{staticClass:t._$g(61,"sc"),attrs:{_i:61}},[t._v("Today")])],1)],1)],1),a("uni-view",{staticClass:t._$g(62,"sc"),staticStyle:{width:"100%"},attrs:{_i:62}},[a("uni-view",{staticClass:t._$g(63,"sc"),attrs:{_i:63}},[a("qiun-data-charts",{attrs:{_i:64}})],1),a("uni-view",{attrs:{_i:65}},[a("uni-view",{staticClass:t._$g(66,"sc"),attrs:{_i:66}},[a("v-uni-image",{attrs:{src:t._$g(67,"a-src"),mode:"aspectFit",_i:67}}),a("uni-view",{staticStyle:{width:"8vw",height:"4vw","line-height":"4vw"},attrs:{_i:68}},[t._v("\u5728\u5e93")]),a("uni-view",{staticStyle:{width:"8vw",height:"4vw","line-height":"4vw","font-size":"2vw"},attrs:{_i:69}},[t._v(t._$g(69,"t0-0"))])],1),a("uni-view",{staticClass:t._$g(70,"sc"),staticStyle:{"margin-top":"2vh"},attrs:{_i:70}},[a("v-uni-image",{attrs:{src:t._$g(71,"a-src"),mode:"aspectFit",_i:71}}),a("uni-view",{staticStyle:{width:"8vw",height:"4vw","line-height":"4vw"},attrs:{_i:72}},[t._v("\u7a7a\u5e93")]),a("uni-view",{staticStyle:{width:"8vw",height:"4vw","line-height":"4vw","font-size":"2vw"},attrs:{_i:73}},[t._v(t._$g(73,"t0-0"))])],1),a("uni-view",{staticClass:t._$g(74,"sc"),staticStyle:{"margin-top":"2vh"},attrs:{_i:74}},[a("v-uni-image",{attrs:{src:t._$g(75,"a-src"),mode:"aspectFit",_i:75}}),a("uni-view",{staticStyle:{width:"8vw",height:"4vw","line-height":"4vw"},attrs:{_i:76}},[t._v("\u9501\u5b9a")]),a("uni-view",{staticStyle:{width:"8vw",height:"4vw","line-height":"4vw","font-size":"2vw"},attrs:{_i:77}},[t._v(t._$g(77,"t0-0"))])],1)],1)],1)],1)],1)],1),a("uni-view",{staticStyle:{height:"2%"},attrs:{_i:78}}),a("uni-view",{staticStyle:{height:"18%",display:"flex","justify-content":"space-around","align-items":"center"},attrs:{_i:79}},[a("uni-view",{staticStyle:{height:"50%"},attrs:{_i:80}},[a("v-uni-image",{staticStyle:{height:"100%"},attrs:{src:t._$g(81,"a-src"),mode:"aspectFit",_i:81}})],1)],1)],1)],1)],1)],1)],1)],1),a("uni-transition",{attrs:{_i:82}},[a("uni-view",{staticClass:t._$g(83,"sc"),attrs:{_i:83}},[a("uni-view",{staticClass:t._$g(84,"sc"),attrs:{_i:84}},[a("v-uni-text",{attrs:{_i:85}},[t._v(t._$g(85,"t0-0"))])],1),a("uni-view",{staticClass:t._$g(86,"sc"),attrs:{_i:86}},[t._v(t._$g(86,"t0-0"))]),a("uni-view",{staticClass:t._$g(87,"sc"),attrs:{_i:87},on:{click:function(e){return t.$handleViewEvent(e)}}}),a("uni-view",{staticClass:t._$g(88,"sc"),attrs:{_i:88},on:{click:function(e){return t.$handleViewEvent(e)}}}),a("uni-view",{staticClass:t._$g(89,"sc"),attrs:{_i:89}},[a("uni-view",{staticClass:t._$g(90,"sc"),attrs:{_i:90}},[a("y-box",{attrs:{_i:91}},[a("uni-view",{staticClass:t._$g(92,"sc"),attrs:{_i:92}},[a("uni-view",{staticClass:t._$g(93,"sc"),attrs:{_i:93}},[a("uni-view",{staticStyle:{width:"30%"},attrs:{_i:94}},[t._v("\u6258\u76d8\u7801: "+t._$g(94,"t0-0"))]),a("uni-view",{staticStyle:{width:"20%"},attrs:{_i:95}},[t._v("\u5de5\u4f5c\u53f7: "+t._$g(95,"t0-0"))]),a("uni-view",{staticStyle:{width:"30%"},attrs:{_i:96}},[t._v("\u6e90\u5e93\u4f4d: "+t._$g(96,"t0-0"))]),a("uni-view",{staticStyle:{width:"20%"},attrs:{_i:97}},[t._v("\u76ee\u6807\u7ad9: "+t._$g(97,"t0-0"))])],1),a("uni-view",{staticClass:t._$g(98,"sc"),attrs:{_i:98}},[a("v-uni-swiper",{staticClass:t._$g(99,"sc"),attrs:{vertical:"true","display-multiple-items":"1",circular:"true",autoplay:!0,interval:3e3,duration:2e3,_i:99}},t._l(t._$g(100,"f"),(function(e,i,n,r){return a("v-uni-swiper-item",{key:e,staticClass:t._$g("100-"+r,"sc"),attrs:{_i:"100-"+r}},[a("uni-view",{staticStyle:{width:"100%"},attrs:{_i:"101-"+r}},[t._v(t._$g("101-"+r,"t0-0")+" / "+t._$g("101-"+r,"t0-1"))]),a("uni-view",{staticStyle:{width:"50%","font-size":"3vw"},attrs:{_i:"102-"+r}},[t._v("\u7269\u6599\u7f16\u7801: "+t._$g("102-"+r,"t0-0"))]),a("uni-view",{staticStyle:{width:"50%","font-size":"3vw"},attrs:{_i:"103-"+r}},[t._v("\u540d\u79f0: "+t._$g("103-"+r,"t0-0"))]),a("uni-view",{staticStyle:{width:"50%","font-size":"3vw"},attrs:{_i:"104-"+r}},[t._v("\u89c4\u683c: "+t._$g("104-"+r,"t0-0"))]),a("uni-view",{staticStyle:{width:"50%","font-size":"3vw"},attrs:{_i:"105-"+r}},[t._v("\u6279\u6b21: "+t._$g("105-"+r,"t0-0"))]),a("uni-view",{staticStyle:{width:"50%","font-size":"3vw"},attrs:{_i:"106-"+r}},[t._v("\u9500\u552e\u5355\u53f7: "+t._$g("106-"+r,"t0-0"))]),a("uni-view",{staticStyle:{width:"50%","font-size":"3vw"},attrs:{_i:"107-"+r}},[t._v("\u5ba2\u6237\u540d\u79f0: "+t._$g("107-"+r,"t0-0"))]),a("uni-view",{staticStyle:{width:"33%","font-size":"3vw"},attrs:{_i:"108-"+r}},[t._v("\u6570\u91cf: "+t._$g("108-"+r,"t0-0"))])],1)})),1)],1)],1)],1)],1)],1)],1)],1),a("uni-transition",{attrs:{_i:109}},[a("uni-view",{staticClass:t._$g(110,"sc"),attrs:{_i:110}},[a("uni-view",{staticClass:t._$g(111,"sc"),attrs:{_i:111}},[a("v-uni-text",{attrs:{_i:112}},[t._v(t._$g(112,"t0-0"))])],1),a("uni-view",{staticClass:t._$g(113,"sc"),attrs:{_i:113}},[t._v(t._$g(113,"t0-0"))]),a("uni-view",{staticClass:t._$g(114,"sc"),attrs:{_i:114}}),a("uni-view",{staticClass:t._$g(115,"sc"),attrs:{_i:115}}),a("uni-view",{staticClass:t._$g(116,"sc"),attrs:{_i:116}},[a("uni-view",{staticClass:t._$g(117,"sc"),attrs:{_i:117}},[a("y-box",{attrs:{_i:118}},[a("uni-view",{staticClass:t._$g(119,"sc"),attrs:{_i:119}},[a("uni-view",{staticClass:t._$g(120,"sc"),attrs:{_i:120}},[t._v(t._$g(120,"t0-0"))])],1)],1)],1)],1)],1)],1),a("uni-view",{directives:[{name:"show",rawName:"v-show",value:t._$g(121,"v-show"),expression:"_$g(121,'v-show')"}],staticClass:t._$g(121,"sc"),attrs:{_i:121}},[a("uni-view",{staticClass:t._$g(122,"sc"),attrs:{_i:122}},[a("uni-view",{staticClass:t._$g(123,"sc"),attrs:{_i:123}},[t._v("\u4fee\u6539 / \u914d\u7f6e")]),a("v-uni-scroll-view",{staticClass:t._$g(124,"sc"),attrs:{"scroll-y":!0,_i:124}},[a("uni-view",{staticClass:t._$g(125,"sc"),attrs:{_i:125}},[a("uni-view",{staticClass:t._$g(126,"sc"),attrs:{_i:126}},[t._v("ip\uff1a")]),a("uni-view",{staticClass:t._$g(127,"sc"),attrs:{_i:127}},[a("v-uni-input",{attrs:{type:"text",_i:128},model:{value:t._$g(128,"v-model"),callback:function(e){t.$handleVModelEvent(128,e)},expression:"baseIP"}})],1)],1),a("uni-view",{staticClass:t._$g(129,"sc"),attrs:{_i:129}},[a("uni-view",{staticClass:t._$g(130,"sc"),attrs:{_i:130}},[t._v("Wcsport\uff1a")]),a("uni-view",{staticClass:t._$g(131,"sc"),attrs:{_i:131}},[a("v-uni-input",{attrs:{type:"text",_i:132},model:{value:t._$g(132,"v-model"),callback:function(e){t.$handleVModelEvent(132,e)},expression:"basePort"}})],1)],1),a("uni-view",{staticClass:t._$g(133,"sc"),attrs:{_i:133}},[a("uni-view",{staticClass:t._$g(134,"sc"),attrs:{_i:134}},[t._v("WcsUrl\uff1a")]),a("uni-view",{staticClass:t._$g(135,"sc"),attrs:{_i:135}},[a("v-uni-input",{attrs:{type:"text",_i:136},model:{value:t._$g(136,"v-model"),callback:function(e){t.$handleVModelEvent(136,e)},expression:"baseUrl"}})],1)],1),a("uni-view",{staticClass:t._$g(137,"sc"),attrs:{_i:137}},[a("uni-view",{staticClass:t._$g(138,"sc"),attrs:{_i:138}},[t._v("Wmsport\uff1a")]),a("uni-view",{staticClass:t._$g(139,"sc"),attrs:{_i:139}},[a("v-uni-input",{attrs:{type:"text",_i:140},model:{value:t._$g(140,"v-model"),callback:function(e){t.$handleVModelEvent(140,e)},expression:"wmsPort"}})],1)],1),a("uni-view",{staticClass:t._$g(141,"sc"),attrs:{_i:141}},[a("uni-view",{staticClass:t._$g(142,"sc"),attrs:{_i:142}},[t._v("WmsUrl\uff1a")]),a("uni-view",{staticClass:t._$g(143,"sc"),attrs:{_i:143}},[a("v-uni-input",{attrs:{type:"text",_i:144},model:{value:t._$g(144,"v-model"),callback:function(e){t.$handleVModelEvent(144,e)},expression:"wmsUrl"}})],1)],1),a("uni-view",{staticClass:t._$g(145,"sc"),attrs:{_i:145}},[a("uni-view",{staticClass:t._$g(146,"sc"),attrs:{_i:146}},[t._v("ledId\uff1a")]),a("uni-view",{staticClass:t._$g(147,"sc"),attrs:{_i:147}},[a("v-uni-input",{attrs:{type:"text",_i:148},model:{value:t._$g(148,"v-model"),callback:function(e){t.$handleVModelEvent(148,e)},expression:"baseLedId"}})],1)],1)],1),a("uni-view",{staticClass:t._$g(149,"sc"),attrs:{_i:149}},[a("uni-view",{staticClass:t._$g(150,"sc"),attrs:{_i:150},on:{click:function(e){return t.$handleViewEvent(e)}}},[t._v("\u53d6 \u6d88")]),a("uni-view",{staticClass:t._$g(151,"sc"),attrs:{_i:151},on:{click:function(e){return t.$handleViewEvent(e)}}},[t._v("\u786e \u8ba4")])],1)],1)],1),a("uni-view",{attrs:{_i:152}},[a("uni-popup",{ref:"upVersion",attrs:{_i:153}},[a("uni-popup-dialog",{attrs:{_i:154},on:{confirm:function(e){return t.$handleViewEvent(e)},close:function(e){return t.$handleViewEvent(e)}}})],1)],1),a("uni-view",{directives:[{name:"show",rawName:"v-show",value:t._$g(155,"v-show"),expression:"_$g(155,'v-show')"}],staticStyle:{color:"#FFF",position:"fixed",bottom:"10px",left:"10px"},attrs:{_i:155}},[t._v("\u8fde\u63a5\u8d85\u65f6\uff0c\u6b63\u5728\u91cd\u65b0\u5efa\u7acb\u94fe\u63a5:: "+t._$g(155,"t0-0"))])],1)},r=[]},"925e":function(t,e,a){"use strict";a.d(e,"b",(function(){return n})),a.d(e,"c",(function(){return r})),a.d(e,"a",(function(){return i}));var i={qiunDataCharts:a("8325").default,uniPopup:a("a640").default,uniPopupDialog:a("ed43").default},n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("uni-view",{staticClass:t._$g(0,"sc"),attrs:{_i:0}},[a("uni-view",{staticClass:t._$g(1,"sc"),class:t._$g(1,"c"),attrs:{_i:1}},[a("uni-view",{staticClass:t._$g(2,"sc"),attrs:{_i:2}},[a("v-uni-text",{attrs:{_i:3},on:{click:function(e){return t.$handleViewEvent(e)}}},[t._v("\u81ea\u52a8\u4ed3\u5e93WCS\u76d1\u63a7\u5e73\u53f0")]),a("uni-view",{staticClass:t._$g(4,"sc"),attrs:{_i:4}},[t._v(t._$g(4,"t0-0")+"-"+t._$g(4,"t0-1")+"-"+t._$g(4,"t0-2")+"\xa0"+t._$g(4,"t0-3")+":"+t._$g(4,"t0-4")+":"+t._$g(4,"t0-5")+"\xa0"+t._$g(4,"t0-6"))]),a("uni-view",{staticClass:t._$g(5,"sc"),attrs:{_i:5},on:{click:function(e){return t.$handleViewEvent(e)}}}),a("uni-view",{staticClass:t._$g(6,"sc"),attrs:{_i:6},on:{click:function(e){return t.$handleViewEvent(e)}}})],1),a("uni-view",{staticClass:t._$g(7,"sc"),attrs:{_i:7}},[a("uni-view",{staticClass:t._$g(8,"sc"),staticStyle:{width:"100%"},attrs:{_i:8}},[a("uni-view",{staticClass:t._$g(9,"sc"),staticStyle:{height:"90%"},attrs:{_i:9}},[a("uni-view",{staticClass:t._$g(10,"sc"),attrs:{_i:10}}),a("uni-view",{staticClass:t._$g(11,"sc"),attrs:{_i:11}}),a("uni-view",{staticClass:t._$g(12,"sc"),attrs:{_i:12}}),a("uni-view",{staticClass:t._$g(13,"sc"),attrs:{_i:13}}),a("uni-view",{directives:[{name:"show",rawName:"v-show",value:t._$g(14,"v-show"),expression:"_$g(14,'v-show')"}],staticStyle:{width:"100%",height:"100%"},attrs:{_i:14}},[a("uni-view",{class:t._$g(15,"c"),attrs:{_i:15}},[a("uni-view",{staticClass:t._$g(16,"sc"),attrs:{_i:16}},[t._v(t._$g(16,"t0-0"))]),a("uni-view",{staticClass:t._$g(17,"sc"),attrs:{_i:17}},[t._v(t._$g(17,"t0-0"))]),a("uni-view",{staticClass:t._$g(18,"sc"),attrs:{_i:18}},[t._v(t._$g(18,"t0-0"))]),a("uni-view",{staticClass:t._$g(19,"sc"),attrs:{_i:19}},[t._v(t._$g(19,"t0-0"))]),a("uni-view",{staticClass:t._$g(20,"sc"),attrs:{_i:20}},[t._v(t._$g(20,"t0-0"))])],1),a("uni-view",{directives:[{name:"show",rawName:"v-show",value:t._$g(21,"v-show"),expression:"_$g(21,'v-show')"}],staticStyle:{width:"50%",height:"100%",display:"inline-block",float:"left"},attrs:{_i:21}},[a("uni-view",{staticClass:t._$g(22,"sc"),attrs:{_i:22}},[t._v(t._$g(22,"t0-0"))]),a("uni-view",{staticClass:t._$g(23,"sc"),attrs:{_i:23}},[t._v(t._$g(23,"t0-0"))]),a("uni-view",{staticClass:t._$g(24,"sc"),attrs:{_i:24}},[t._v(t._$g(24,"t0-0"))]),a("uni-view",{staticClass:t._$g(25,"sc"),attrs:{_i:25}},[t._v(t._$g(25,"t0-0"))]),a("uni-view",{staticClass:t._$g(26,"sc"),attrs:{_i:26}},[t._v(t._$g(26,"t0-0"))])],1)],1),a("uni-view",{directives:[{name:"show",rawName:"v-show",value:t._$g(27,"v-show"),expression:"_$g(27,'v-show')"}],staticStyle:{width:"100%",height:"100%"},attrs:{_i:27}},[a("uni-view",{staticStyle:{"line-height":"700px","font-size":"175rpx"},attrs:{_i:28}},[t._v(t._$g(28,"t0-0"))])],1)],1)],1)],1)],1),a("uni-view",{staticClass:t._$g(29,"sc"),class:t._$g(29,"c"),attrs:{_i:29}},[a("uni-view",{staticClass:t._$g(30,"sc"),attrs:{_i:30}},[a("v-uni-text",{attrs:{_i:31},on:{click:function(e){return t.$handleViewEvent(e)}}},[t._v("\u81ea\u52a8\u4ed3\u5e93WCS\u76d1\u63a7\u5e73\u53f0")]),a("uni-view",{staticClass:t._$g(32,"sc"),attrs:{_i:32}},[t._v(t._$g(32,"t0-0")+"-"+t._$g(32,"t0-1")+"-"+t._$g(32,"t0-2")+"\xa0"+t._$g(32,"t0-3")+":"+t._$g(32,"t0-4")+":"+t._$g(32,"t0-5")+"\xa0"+t._$g(32,"t0-6"))]),a("uni-view",{staticClass:t._$g(33,"sc"),attrs:{_i:33},on:{click:function(e){return t.$handleViewEvent(e)}}}),a("uni-view",{staticClass:t._$g(34,"sc"),attrs:{_i:34},on:{click:function(e){return t.$handleViewEvent(e)}}})],1),a("uni-view",{staticClass:t._$g(35,"sc"),attrs:{_i:35}},[a("uni-view",{staticClass:t._$g(36,"sc"),attrs:{_i:36}},[a("uni-view",{staticClass:t._$g(37,"sc"),attrs:{_i:37}},[a("uni-view",{staticClass:t._$g(38,"sc"),attrs:{_i:38}}),a("uni-view",{staticClass:t._$g(39,"sc"),attrs:{_i:39}}),a("uni-view",{staticClass:t._$g(40,"sc"),attrs:{_i:40}}),a("uni-view",{staticClass:t._$g(41,"sc"),attrs:{_i:41}}),a("uni-view",{staticClass:t._$g(42,"sc"),attrs:{_i:42}},[a("h3",{attrs:{_i:43}},[t._v("\u81ea\u52a8\u5316\u7acb\u4f53\u4ed3\u5e93")]),a("p",{staticClass:t._$g(44,"sc"),attrs:{_i:44}},[t._v("Automatic Storageand Retrieval System")]),a("p",{staticClass:t._$g(45,"sc"),attrs:{_i:45}},[t._v("\u5229\u7528\u7acb\u4f53\u4ed3\u5e93\u8bbe\u5907\u53ef\u5b9e\u73b0\u4ed3\u5e93\u9ad8\u5c42\u5408\u7406\u5316\u3001\u5b58\u53d6\u81ea\u52a8\u5316\u3001\u64cd\u4f5c\u7b80\u4fbf\u5316\uff1b\u81ea\u52a8\u5316\u7acb\u4f53\u4ed3\u5e93\u662f\u5f53\u524d\u6280\u672f\u6c34\u5e73\u8f83\u9ad8\u7684\u5f62\u5f0f\u3002\n\t\t\t\t\t\t\u81ea\u52a8\u5316\u7acb\u4f53\u4ed3\u5e93\u7684\u4e3b\u4f53\u7531\u8d27\u67b6\u3001\u5df7\u9053\u5f0f\u5806\u579b\u8d77\u91cd\u673a\u3001\u5165\uff08\u51fa\uff09\u5e93\u5de5\u4f5c\u53f0\u548c\u81ea\u52a8\u8fd0\u8fdb\uff08\u51fa\uff09\u53ca\u64cd\u4f5c\u63a7\u5236\u7cfb\u7edf\u7ec4\u6210\u3002\n\t\t\t\t\t\t\u8d27\u67b6\u662f\u94a2\u7ed3\u6784\u6216\u94a2\u7b4b\u6df7\u51dd\u571f\u7ed3\u6784\u7684\u5efa\u7b51\u7269\u6216\u7ed3\u6784\u4f53\uff0c\u8d27\u67b6\u5185\u662f\u6807\u51c6\u5c3a\u5bf8\u7684\u8d27\u4f4d\u7a7a\u95f4\uff0c\u5df7\u9053\u5806\u579b\u8d77\u91cd\u673a\u7a7f\u884c\u4e8e\u8d27\u67b6\u4e4b\u95f4\u7684\u5df7\u9053\u4e2d\uff0c\u5b8c\u6210\u5b58\u3001\u53d6\u8d27\u7684\u5de5\u4f5c\u3002\u7ba1\u7406\u4e0a\u91c7\u7528\u8ba1\u7b97\u673a\u53ca\u6761\u5f62\u7801\u6280\u672f\u3002")])],1),a("uni-view",{staticClass:t._$g(46,"sc"),attrs:{_i:46}},[a("h3",{attrs:{_i:47}},[t._v("\u4ed3\u5e93\u6570\u636e")]),a("p",{staticClass:t._$g(48,"sc"),attrs:{_i:48}},[t._v("warehouse data")]),a("uni-view",{staticClass:t._$g(49,"sc"),attrs:{_i:49}},[a("v-uni-image",{attrs:{src:t._$g(50,"a-src"),mode:"aspectFit",_i:50}}),a("uni-view",{attrs:{_i:51}},[a("v-uni-text",{staticClass:t._$g(52,"sc"),attrs:{_i:52}},[t._v(t._$g(52,"t0-0"))]),a("v-uni-text",{staticClass:t._$g(53,"sc"),attrs:{_i:53}},[t._v("m")])],1),a("uni-view",{attrs:{_i:54}},[t._v("\u7d2f\u8ba1\u8d70\u884c\u8ddd\u79bb(\u7c73)")])],1),a("uni-view",{staticClass:t._$g(55,"sc"),attrs:{_i:55}},[a("v-uni-image",{attrs:{src:t._$g(56,"a-src"),mode:"aspectFit",_i:56}}),a("uni-view",{attrs:{_i:57}},[a("v-uni-text",{staticClass:t._$g(58,"sc"),attrs:{_i:58}},[t._v(t._$g(58,"t0-0"))]),a("v-uni-text",{staticClass:t._$g(59,"sc"),attrs:{_i:59}},[t._v("m")])],1),a("uni-view",{attrs:{_i:60}},[t._v("\u7d2f\u8ba1\u5347\u964d\u8ddd\u79bb(\u7c73)")])],1),a("uni-view",{staticClass:t._$g(61,"sc"),attrs:{_i:61}},[a("v-uni-image",{attrs:{src:t._$g(62,"a-src"),mode:"aspectFit",_i:62}}),a("uni-view",{attrs:{_i:63}},[a("v-uni-text",{staticClass:t._$g(64,"sc"),attrs:{_i:64}},[t._v(t._$g(64,"t0-0"))]),a("v-uni-text",{staticClass:t._$g(65,"sc"),attrs:{_i:65}},[t._v("m")])],1),a("uni-view",{attrs:{_i:66}},[t._v("\u7d2f\u8ba1\u8d70\u884c\u65f6\u957f(\u79d2)")])],1),a("uni-view",{staticClass:t._$g(67,"sc"),attrs:{_i:67}},[a("v-uni-image",{attrs:{src:t._$g(68,"a-src"),mode:"aspectFit",_i:68}}),a("uni-view",{attrs:{_i:69}},[a("v-uni-text",{staticClass:t._$g(70,"sc"),attrs:{_i:70}},[t._v(t._$g(70,"t0-0"))]),a("v-uni-text",{staticClass:t._$g(71,"sc"),attrs:{_i:71}},[t._v("m")])],1),a("uni-view",{attrs:{_i:72}},[t._v("\u7d2f\u8ba1\u5347\u964d\u65f6\u957f(\u79d2)")])],1)],1),a("uni-view",{staticClass:t._$g(73,"sc"),attrs:{_i:73}},[a("uni-view",{staticClass:t._$g(74,"sc"),attrs:{_i:74}},[a("h3",{attrs:{_i:75}},[t._v("\u5e93\u4f4d\u4f7f\u7528\u7387")]),a("p",{staticClass:t._$g(76,"sc"),attrs:{_i:76}},[t._v("EQUIPMENT USAGE THIS MONTH")])],1),a("uni-view",{staticClass:t._$g(77,"sc"),attrs:{_i:77}},[a("h3",{attrs:{_i:78}},[t._v(t._$g(78,"t0-0")+"%")]),a("p",{staticClass:t._$g(79,"sc"),attrs:{_i:79}},[t._v("\u540c\u6bd4\u4e0a\u6708 + 5%")])],1),a("uni-view",{staticClass:t._$g(80,"sc"),attrs:{_i:80}},[a("uni-view",{staticClass:t._$g(81,"sc"),attrs:{_i:81}},[a("uni-view",{staticClass:t._$g(82,"sc"),attrs:{_i:82}},[a("uni-view",{staticClass:t._$g(83,"sc"),style:t._$g(83,"s"),attrs:{_i:83}})],1)],1),a("uni-view",{staticClass:t._$g(84,"sc"),attrs:{_i:84}},[t._v(t._$g(84,"t0-0"))])],1)],1)],1)],1),a("uni-view",{staticClass:t._$g(85,"sc"),attrs:{_i:85}},[a("uni-view",{staticClass:t._$g(86,"sc"),attrs:{_i:86}},[a("uni-view",{staticClass:t._$g(87,"sc"),attrs:{_i:87}}),a("uni-view",{staticClass:t._$g(88,"sc"),attrs:{_i:88}}),a("uni-view",{staticClass:t._$g(89,"sc"),attrs:{_i:89}}),a("uni-view",{staticClass:t._$g(90,"sc"),attrs:{_i:90}}),a("uni-view",{staticClass:t._$g(91,"sc"),attrs:{_i:91}},[a("uni-view",{staticClass:t._$g(92,"sc"),attrs:{_i:92}},[a("h3",{attrs:{_i:93}},[t._v("\u5165\u51fa\u5e93\u7edf\u8ba1")]),a("p",{staticClass:t._$g(94,"sc"),attrs:{_i:94}},[t._v("ORDER STATISTICS")])],1),a("uni-view",{staticClass:t._$g(95,"sc"),attrs:{_i:95}},[a("h3",{attrs:{_i:96}},[t._v("31")]),a("p",{staticClass:t._$g(97,"sc"),attrs:{_i:97}},[t._v("\u4eca\u65e5\u8ba2\u5355\u6570")])],1),a("uni-view",{staticClass:t._$g(98,"sc"),attrs:{_i:98}},[a("uni-view",{staticClass:t._$g(99,"sc"),attrs:{_i:99}},[a("qiun-data-charts",{attrs:{_i:100}})],1)],1)],1)],1),a("uni-view",{staticClass:t._$g(101,"sc"),attrs:{_i:101}},[a("uni-view",{staticClass:t._$g(102,"sc"),attrs:{_i:102}}),a("uni-view",{staticClass:t._$g(103,"sc"),attrs:{_i:103}}),a("uni-view",{staticClass:t._$g(104,"sc"),attrs:{_i:104}}),a("uni-view",{staticClass:t._$g(105,"sc"),attrs:{_i:105}}),a("uni-view",{staticClass:t._$g(106,"sc"),attrs:{_i:106}},[a("uni-view",{staticClass:t._$g(107,"sc"),attrs:{_i:107}},[a("h3",{attrs:{_i:108}},[t._v("\u5e93\u5b58\u7c7b\u578b")]),a("p",{staticClass:t._$g(109,"sc"),attrs:{_i:109}},[t._v("INCOME DATE")])],1),a("uni-view",{staticClass:t._$g(110,"sc"),attrs:{_i:110}},[a("h3",{attrs:{_i:111}},[t._v("\u4eca\u5929")]),a("p",{staticClass:t._$g(112,"sc"),attrs:{_i:112}},[t._v("Today")])],1),a("uni-view",{staticClass:t._$g(113,"sc"),attrs:{_i:113}},[a("uni-view",{staticClass:t._$g(114,"sc"),attrs:{_i:114}},[a("qiun-data-charts",{attrs:{_i:115}})],1),a("uni-view",{staticClass:t._$g(116,"sc"),attrs:{_i:116}},[a("uni-view",{staticClass:t._$g(117,"sc"),attrs:{_i:117}},[a("v-uni-image",{attrs:{src:t._$g(118,"a-src"),mode:"aspectFit",_i:118}}),a("v-uni-text",{attrs:{_i:119}},[t._v("\u5728\u5e93")]),a("v-uni-text",{attrs:{_i:120}},[t._v(t._$g(120,"t0-0"))])],1),a("uni-view",{staticClass:t._$g(121,"sc"),attrs:{_i:121}},[a("v-uni-image",{attrs:{src:t._$g(122,"a-src"),mode:"aspectFit",_i:122}}),a("v-uni-text",{attrs:{_i:123}},[t._v("\u7a7a\u5e93")]),a("v-uni-text",{attrs:{_i:124}},[t._v(t._$g(124,"t0-0"))])],1),a("uni-view",{staticClass:t._$g(125,"sc"),attrs:{_i:125}},[a("v-uni-image",{attrs:{src:t._$g(126,"a-src"),mode:"aspectFit",_i:126}}),a("v-uni-text",{attrs:{_i:127}},[t._v("\u7981\u7528")]),a("v-uni-text",{attrs:{_i:128}},[t._v(t._$g(128,"t0-0"))])],1)],1)],1)],1)],1),a("uni-view",{staticClass:t._$g(129,"sc"),attrs:{_i:129}},[a("uni-view",{staticClass:t._$g(130,"sc"),attrs:{_i:130}}),a("uni-view",{staticClass:t._$g(131,"sc"),attrs:{_i:131}}),a("uni-view",{staticClass:t._$g(132,"sc"),attrs:{_i:132}}),a("uni-view",{staticClass:t._$g(133,"sc"),attrs:{_i:133}}),a("uni-view",{attrs:{_i:134},on:{click:function(e){return t.$handleViewEvent(e)}}},[t._v("\u5609\u5584\u8fb9\u950b\u673a\u68b0\u80a1\u4efd\u6709\u9650\u516c\u53f8")])],1)],1)],1)],1),a("uni-view",{attrs:{_i:135}},[a("uni-popup",{ref:"url",attrs:{_i:136}},[a("uni-popup-dialog",{ref:"inputClose",attrs:{_i:137},on:{confirm:function(e){return t.$handleViewEvent(e)}}})],1)],1),a("uni-view",{attrs:{_i:138}},[a("uni-popup",{ref:"ledId",attrs:{_i:139}},[a("uni-popup-dialog",{ref:"inputClose",attrs:{_i:140},on:{confirm:function(e){return t.$handleViewEvent(e)}}})],1)],1),a("uni-view",{attrs:{_i:141}},[a("uni-popup",{ref:"port",attrs:{_i:142}},[a("uni-popup-dialog",{ref:"inputClose",attrs:{_i:143},on:{confirm:function(e){return t.$handleViewEvent(e)}}})],1)],1),a("uni-view",{attrs:{_i:144}},[a("uni-popup",{ref:"crnId",attrs:{_i:145}},[a("uni-popup-dialog",{ref:"inputClose",attrs:{_i:146},on:{confirm:function(e){return t.$handleViewEvent(e)}}})],1)],1),a("uni-view",{directives:[{name:"show",rawName:"v-show",value:t._$g(147,"v-show"),expression:"_$g(147,'v-show')"}],staticClass:t._$g(147,"sc"),attrs:{_i:147}},[a("uni-view",{staticClass:t._$g(148,"sc"),attrs:{_i:148}},[a("uni-view",{staticClass:t._$g(149,"sc"),attrs:{_i:149}},[t._v("\u4fee\u6539 / \u914d\u7f6e")]),a("uni-view",{staticClass:t._$g(150,"sc"),attrs:{_i:150}},[a("uni-view",{staticClass:t._$g(151,"sc"),attrs:{_i:151}},[a("uni-view",{staticClass:t._$g(152,"sc"),attrs:{_i:152}},[t._v("ip\uff1a")]),a("uni-view",{staticClass:t._$g(153,"sc"),attrs:{_i:153}},[a("v-uni-input",{attrs:{type:"text",_i:154},model:{value:t._$g(154,"v-model"),callback:function(e){t.$handleVModelEvent(154,e)},expression:"baseIP"}})],1)],1),a("uni-view",{staticClass:t._$g(155,"sc"),attrs:{_i:155}},[a("uni-view",{staticClass:t._$g(156,"sc"),attrs:{_i:156}},[t._v("port\uff1a")]),a("uni-view",{staticClass:t._$g(157,"sc"),attrs:{_i:157}},[a("v-uni-input",{attrs:{type:"text",_i:158},model:{value:t._$g(158,"v-model"),callback:function(e){t.$handleVModelEvent(158,e)},expression:"basePort"}})],1)],1),a("uni-view",{staticClass:t._$g(159,"sc"),attrs:{_i:159}},[a("uni-view",{staticClass:t._$g(160,"sc"),attrs:{_i:160}},[t._v("ledId\uff1a")]),a("uni-view",{staticClass:t._$g(161,"sc"),attrs:{_i:161}},[a("v-uni-input",{attrs:{type:"text",_i:162},model:{value:t._$g(162,"v-model"),callback:function(e){t.$handleVModelEvent(162,e)},expression:"baseLedId"}})],1)],1),a("uni-view",{staticClass:t._$g(163,"sc"),attrs:{_i:163}},[a("uni-view",{staticClass:t._$g(164,"sc"),attrs:{_i:164}},[t._v("CrnId\uff1a")]),a("uni-view",{staticClass:t._$g(165,"sc"),attrs:{_i:165}},[a("v-uni-input",{attrs:{type:"text",_i:166},model:{value:t._$g(166,"v-model"),callback:function(e){t.$handleVModelEvent(166,e)},expression:"baseCrnId"}})],1)],1)],1),a("uni-view",{staticClass:t._$g(167,"sc"),attrs:{_i:167}},[a("uni-view",{staticClass:t._$g(168,"sc"),attrs:{_i:168},on:{click:function(e){return t.$handleViewEvent(e)}}},[t._v("\u53d6 \u6d88")]),a("uni-view",{staticClass:t._$g(169,"sc"),attrs:{_i:169},on:{click:function(e){return t.$handleViewEvent(e)}}},[t._v("\u786e \u8ba4")])],1)],1)],1)],1)},r=[]},9399:function(t,e,a){"use strict";a.r(e);var i=a("21c9"),n=a.n(i);for(var r in i)["default"].indexOf(r)<0&&function(t){a.d(e,t,(function(){return i[t]}))}(r);e["default"]=n.a},"93d8":function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={data:function(){return{wxsProps:{}}},components:{}}},"997e":function(t,e,a){"use strict";a.r(e);var i=a("3d8c"),n=a("8b6b");for(var r in n)["default"].indexOf(r)<0&&function(t){a.d(e,t,(function(){return n[t]}))}(r);var o=a("828b"),s=Object(o["a"])(n["default"],i["b"],i["c"],!1,null,"acf5fb64",null,!1,i["a"],void 0);e["default"]=s.exports},"9b65":function(t,e,a){"use strict";a.d(e,"b",(function(){return i})),a.d(e,"c",(function(){return n})),a.d(e,"a",(function(){}));var i=function(){var t=this.$createElement,e=this._self._c||t;return e("uni-view",{staticClass:this._$g(0,"sc"),attrs:{_i:0}},[e("uni-view",{staticClass:this._$g(1,"sc"),attrs:{_i:1}}),e("uni-view",{staticClass:this._$g(2,"sc"),attrs:{_i:2}}),e("uni-view",{staticClass:this._$g(3,"sc"),attrs:{_i:3}}),e("uni-view",{staticClass:this._$g(4,"sc"),attrs:{_i:4}}),e("uni-view",{staticClass:this._$g(5,"sc"),attrs:{_i:5}},[this._t("default",null,{_i:6})],2)],1)},n=[]},"9b97":function(t,e,a){var i=a("2527");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var n=a("b49c").default;n("deea66f0",i,!0,{sourceMap:!1,shadowMode:!1})},"9eba":function(t,e,a){"use strict";a.r(e);var i=a("59cf"),n=a("b854");for(var r in n)["default"].indexOf(r)<0&&function(t){a.d(e,t,(function(){return n[t]}))}(r);a("e7b7");var o=a("828b"),s=Object(o["a"])(n["default"],i["b"],i["c"],!1,null,"06f9c5d4",null,!1,i["a"],void 0);e["default"]=s.exports},"9fee":function(t,e,a){"use strict";var i=a("b90f"),n=a.n(i);n.a},"9ffd":function(t,e,a){t.exports=a.p+"static/right.png"},a640:function(t,e,a){"use strict";a.r(e);var i=a("8042"),n=a("7c9c");for(var r in n)["default"].indexOf(r)<0&&function(t){a.d(e,t,(function(){return n[t]}))}(r);a("3bcd");var o=a("828b"),s=Object(o["a"])(n["default"],i["b"],i["c"],!1,null,"58e7869c",null,!1,i["a"],void 0);e["default"]=s.exports},a7ad:function(t,e,a){var i=a("c86c"),n=a("ac93"),r=a("2021");e=i(!1);var o=n(r);e.push([t.i,"body[data-v-cc06004c]{width:100%;height:100%}.container[data-v-cc06004c]{height:100%;width:100%;background-image:url("+o+");background-size:100% 100%}",""]),t.exports=e},a818:function(t,e,a){"use strict";a.d(e,"b",(function(){return i})),a.d(e,"c",(function(){return n})),a.d(e,"a",(function(){}));var i=function(){var t=this.$createElement,e=this._self._c||t;return e("uni-view",{staticClass:this._$g(0,"sc"),attrs:{_i:0}},[e("uni-view",{staticClass:this._$g(1,"sc"),attrs:{_i:1}}),e("uni-view",{staticClass:this._$g(2,"sc"),attrs:{_i:2}}),e("uni-view",{staticClass:this._$g(3,"sc"),attrs:{_i:3}}),e("uni-view",{staticClass:this._$g(4,"sc"),attrs:{_i:4}})],1)},n=[]},a9ce:function(t,e,a){"use strict";a.r(e);var i=a("2e13"),n=a.n(i);for(var r in i)["default"].indexOf(r)<0&&function(t){a.d(e,t,(function(){return i[t]}))}(r);e["default"]=n.a},aad1:function(t,e,a){var i=a("c86c");e=i(!1),e.push([t.i,".container[data-v-2ef93b2c]{width:30px;height:30px;position:relative}.container.loading2[data-v-2ef93b2c]{-webkit-transform:rotate(10deg);transform:rotate(10deg)}.container.loading2 .shape[data-v-2ef93b2c]{border-radius:5px}.container.loading2[data-v-2ef93b2c]{-webkit-animation:rotation 1s infinite;animation:rotation 1s infinite}.container .shape[data-v-2ef93b2c]{position:absolute;width:10px;height:10px;border-radius:1px}.container .shape.shape1[data-v-2ef93b2c]{left:0;background-color:#1890ff}.container .shape.shape2[data-v-2ef93b2c]{right:0;background-color:#91cb74}.container .shape.shape3[data-v-2ef93b2c]{bottom:0;background-color:#fac858}.container .shape.shape4[data-v-2ef93b2c]{bottom:0;right:0;background-color:#e66}.loading2 .shape1[data-v-2ef93b2c]{-webkit-animation:animation2shape1-data-v-2ef93b2c .5s ease 0s infinite alternate;animation:animation2shape1-data-v-2ef93b2c .5s ease 0s infinite alternate}@-webkit-keyframes animation2shape1-data-v-2ef93b2c{from{-webkit-transform:translate(0);transform:translate(0)}to{-webkit-transform:translate(20px,20px);transform:translate(20px,20px)}}@keyframes animation2shape1-data-v-2ef93b2c{from{-webkit-transform:translate(0);transform:translate(0)}to{-webkit-transform:translate(20px,20px);transform:translate(20px,20px)}}.loading2 .shape2[data-v-2ef93b2c]{-webkit-animation:animation2shape2-data-v-2ef93b2c .5s ease 0s infinite alternate;animation:animation2shape2-data-v-2ef93b2c .5s ease 0s infinite alternate}@-webkit-keyframes animation2shape2-data-v-2ef93b2c{from{-webkit-transform:translate(0);transform:translate(0)}to{-webkit-transform:translate(-20px,20px);transform:translate(-20px,20px)}}@keyframes animation2shape2-data-v-2ef93b2c{from{-webkit-transform:translate(0);transform:translate(0)}to{-webkit-transform:translate(-20px,20px);transform:translate(-20px,20px)}}.loading2 .shape3[data-v-2ef93b2c]{-webkit-animation:animation2shape3-data-v-2ef93b2c .5s ease 0s infinite alternate;animation:animation2shape3-data-v-2ef93b2c .5s ease 0s infinite alternate}@-webkit-keyframes animation2shape3-data-v-2ef93b2c{from{-webkit-transform:translate(0);transform:translate(0)}to{-webkit-transform:translate(20px,-20px);transform:translate(20px,-20px)}}@keyframes animation2shape3-data-v-2ef93b2c{from{-webkit-transform:translate(0);transform:translate(0)}to{-webkit-transform:translate(20px,-20px);transform:translate(20px,-20px)}}.loading2 .shape4[data-v-2ef93b2c]{-webkit-animation:animation2shape4-data-v-2ef93b2c .5s ease 0s infinite alternate;animation:animation2shape4-data-v-2ef93b2c .5s ease 0s infinite alternate}@-webkit-keyframes animation2shape4-data-v-2ef93b2c{from{-webkit-transform:translate(0);transform:translate(0)}to{-webkit-transform:translate(-20px,-20px);transform:translate(-20px,-20px)}}@keyframes animation2shape4-data-v-2ef93b2c{from{-webkit-transform:translate(0);transform:translate(0)}to{-webkit-transform:translate(-20px,-20px);transform:translate(-20px,-20px)}}",""]),t.exports=e},ac83:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={name:"loading6",data:function(){return{wxsProps:{}}},components:{}}},ac93:function(t,e,a){"use strict";t.exports=function(t,e){e||(e={}),t=t&&t.__esModule?t.default:t;var a=!1;if("string"!==typeof t){if(!t.protocol||"file:"!==t.protocol||!t.pathname)return t;a=!0,t=t.pathname}return/^['"].*['"]$/.test(t)&&(t=t.slice(1,-1)),e.hash&&(t+=e.hash),/["'() \t\n]/.test(t)||e.needQuotes?'"'.concat(t.replace(/"/g,'\\"').replace(/\n/g,"\\n"),'"'):a?t:0===t.indexOf("/")?t.substr(1):t}},af4f:function(t,e,a){"use strict";a.d(e,"b",(function(){return i})),a.d(e,"c",(function(){return n})),a.d(e,"a",(function(){}));var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("uni-view",{attrs:{_i:0}},[t._$g(1,"i")?a("Loading1",{attrs:{_i:1}}):t._e(),t._$g(2,"i")?a("Loading2",{attrs:{_i:2}}):t._e(),t._$g(3,"i")?a("Loading3",{attrs:{_i:3}}):t._e(),t._$g(4,"i")?a("Loading4",{attrs:{_i:4}}):t._e(),t._$g(5,"i")?a("Loading5",{attrs:{_i:5}}):t._e()],1)},n=[]},b49c:function(t,e,a){"use strict";function i(t,e){for(var a=[],i={},n=0;n<e.length;n++){var r=e[n],o=r[0],s=r[1],l=r[2],c=r[3],d={id:t+":"+n,css:s,media:l,sourceMap:c};i[o]?i[o].parts.push(d):a.push(i[o]={id:o,parts:[d]})}return a}a.r(e),a.d(e,"default",(function(){return f}));var n="undefined"!==typeof document;if("undefined"!==typeof DEBUG&&DEBUG&&!n)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var r={},o=n&&(document.head||document.getElementsByTagName("head")[0]),s=null,l=0,c=!1,d=function(){},h=null,u="undefined"!==typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());function f(t,e,a,n){c=a,h=n||{};var o=i(t,e);return p(o),function(e){for(var a=[],n=0;n<o.length;n++){var s=o[n],l=r[s.id];l.refs--,a.push(l)}e?(o=i(t,e),p(o)):o=[];for(n=0;n<a.length;n++){l=a[n];if(0===l.refs){for(var c=0;c<l.parts.length;c++)l.parts[c]();delete r[l.id]}}}}function p(t){for(var e=0;e<t.length;e++){var a=t[e],i=r[a.id];if(i){i.refs++;for(var n=0;n<i.parts.length;n++)i.parts[n](a.parts[n]);for(;n<a.parts.length;n++)i.parts.push(g(a.parts[n]));i.parts.length>a.parts.length&&(i.parts.length=a.parts.length)}else{var o=[];for(n=0;n<a.parts.length;n++)o.push(g(a.parts[n]));r[a.id]={id:a.id,refs:1,parts:o}}}}function x(){var t=document.createElement("style");return t.type="text/css",o.appendChild(t),t}function g(t){var e,a,i=document.querySelector('style[data-vue-ssr-id~="'+t.id+'"]');if(i){if(c)return d;i.parentNode.removeChild(i)}if(u){var n=l++;i=s||(s=x()),e=m.bind(null,i,n,!1),a=m.bind(null,i,n,!0)}else i=x(),e=y.bind(null,i),a=function(){i.parentNode.removeChild(i)};return e(t),function(i){if(i){if(i.css===t.css&&i.media===t.media&&i.sourceMap===t.sourceMap)return;e(t=i)}else a()}}var v=function(){var t=[];return function(e,a){return t[e]=a,t.filter(Boolean).join("\n")}}();function m(t,e,a,i){var n=a?"":k(i.css);if(t.styleSheet)t.styleSheet.cssText=v(e,n);else{var r=document.createTextNode(n),o=t.childNodes;o[e]&&t.removeChild(o[e]),o.length?t.insertBefore(r,o[e]):t.appendChild(r)}}function y(t,e){var a=k(e.css),i=e.media,n=e.sourceMap;if(i&&t.setAttribute("media",i),h.ssrId&&t.setAttribute("data-vue-ssr-id",e.id),n&&(a+="\n/*# sourceURL="+n.sources[0]+" */",a+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(n))))+" */"),t.styleSheet)t.styleSheet.cssText=a;else{while(t.firstChild)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(a))}}var b=/\b([+-]?\d+(\.\d+)?)[r|u]px\b/g,w=/var\(--status-bar-height\)/gi,_=/var\(--window-top\)/gi,C=/var\(--window-bottom\)/gi,A=/var\(--window-left\)/gi,S=/var\(--window-right\)/gi,T=!1;function k(t){if(!uni.canIUse("css.var")){!1===T&&(T=plus.navigator.getStatusbarHeight());var e={statusBarHeight:T,top:window.__WINDOW_TOP||0,bottom:window.__WINDOW_BOTTOM||0};t=t.replace(w,e.statusBarHeight+"px").replace(_,e.top+"px").replace(C,e.bottom+"px").replace(A,"0px").replace(S,"0px")}return t.replace(/\{[\s\S]+?\}|@media.+?\{/g,(function(t){return t.replace(b,(function(t,e){return uni.upx2px(e)+"px"}))}))}},b854:function(t,e,a){"use strict";a.r(e);var i=a("3f18"),n=a.n(i);for(var r in i)["default"].indexOf(r)<0&&function(t){a.d(e,t,(function(){return i[t]}))}(r);e["default"]=n.a},b8d4:function(t,e,a){"use strict";a.r(e);var i=a("6064"),n=a.n(i);for(var r in i)["default"].indexOf(r)<0&&function(t){a.d(e,t,(function(){return i[t]}))}(r);e["default"]=n.a},b908:function(t,e,a){"use strict";var i=a("cf84"),n=a.n(i);n.a},b90f:function(t,e,a){var i=a("73fb");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var n=a("b49c").default;n("746a5862",i,!0,{sourceMap:!1,shadowMode:!1})},b9a5:function(t,e,a){"use strict";a.r(e);var i=a("db9f"),n=a.n(i);for(var r in i)["default"].indexOf(r)<0&&function(t){a.d(e,t,(function(){return i[t]}))}(r);e["default"]=n.a},ba9b:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={data:function(){return{wxsProps:{}}},components:{}}},be93:function(t,e,a){var i=a("368e");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var n=a("b49c").default;n("f77ae3d2",i,!0,{sourceMap:!1,shadowMode:!1})},bfff:function(t,e,a){"use strict";a.r(e);var i=a("3c26"),n=a("b8d4");for(var r in n)["default"].indexOf(r)<0&&function(t){a.d(e,t,(function(){return n[t]}))}(r);a("3b3c");var o=a("828b"),s=Object(o["a"])(n["default"],i["b"],i["c"],!1,null,"43f30b7e",null,!1,i["a"],void 0);e["default"]=s.exports},c547:function(t,e,a){"use strict";a.r(e);var i=a("e189"),n=a.n(i);for(var r in i)["default"].indexOf(r)<0&&function(t){a.d(e,t,(function(){return i[t]}))}(r);e["default"]=n.a},c781:function(t,e,a){"use strict";var i=a("84d1"),n=a.n(i);n.a},c86c:function(t,e,a){"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var a=function(t,e){var a=t[1]||"",i=t[3];if(!i)return a;if(e&&"function"===typeof btoa){var n=function(t){var e=btoa(unescape(encodeURIComponent(JSON.stringify(t)))),a="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(e);return"/*# ".concat(a," */")}(i),r=i.sources.map((function(t){return"/*# sourceURL=".concat(i.sourceRoot||"").concat(t," */")}));return[a].concat(r).concat([n]).join("\n")}return[a].join("\n")}(e,t);return e[2]?"@media ".concat(e[2]," {").concat(a,"}"):a})).join("")},e.i=function(t,a,i){"string"===typeof t&&(t=[[null,t,""]]);var n={};if(i)for(var r=0;r<this.length;r++){var o=this[r][0];null!=o&&(n[o]=!0)}for(var s=0;s<t.length;s++){var l=[].concat(t[s]);i&&n[l[0]]||(a&&(l[2]?l[2]="".concat(a," and ").concat(l[2]):l[2]=a),e.push(l))}},e}},c959:function(t,e,a){"use strict";a.r(e);var i=a("a818"),n=a("078f");for(var r in n)["default"].indexOf(r)<0&&function(t){a.d(e,t,(function(){return n[t]}))}(r);a("0cb4");var o=a("828b"),s=Object(o["a"])(n["default"],i["b"],i["c"],!1,null,"4e1c1bfa",null,!1,i["a"],void 0);e["default"]=s.exports},cc61:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={data:function(){return{wxsProps:{}}},components:{}}},cf84:function(t,e,a){var i=a("6642");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var n=a("b49c").default;n("cede38c2",i,!0,{sourceMap:!1,shadowMode:!1})},d168:function(t,e,a){var i=a("c86c"),n=a("ac93"),r=a("2021"),o=a("9ffd");e=i(!1);var s=n(r),l=n(o);e.push([t.i,"\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\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r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n.text-content{width:100%;height:100%;font-size:2vw}.swiper-head{width:100%;height:10%;background-color:rgba(54,94,226,.5);display:flex;align-items:center}.swiper-body{width:100%;height:90%}.swiper-body-main{width:100%;height:100%}.swiper-item{display:flex;flex-wrap:wrap;align-items:center;text-align:start;border-bottom:2px solid #000;background-color:rgba(0,0,0,.2);margin-left:10rpx}.flex-col{display:flex;flex-direction:column}.flex-row{display:flex;flex-direction:row}.container{width:100vw;min-height:100vh;background-color:#00163e;color:#fff;text-align:center}.home-view{width:100vw;min-height:100vh;background-image:url("+s+");background-size:100vw 100vh}.home-right{width:50vw;height:89vh}.home-right-box{width:98%;height:98%}.head{width:100vw;height:11vh;font-size:4vw;font-weight:700;display:flex;align-items:center;justify-content:center;-webkit-transform:scale(.7);transform:scale(.7)}.time-tools{position:absolute;right:2%;top:2%;font-size:1vw;-webkit-transform:scale(.8);transform:scale(.8)}.button-left{position:absolute;background-image:url("+l+");background-size:100% 100%;top:1.8%;left:21.3%;width:13.5%;height:8.5%;-webkit-transform:scaleX(-1);transform:scaleX(-1)}.button-right{position:absolute;background-image:url("+l+");background-size:100% 100%;top:1.8%;left:65%;width:13.5%;height:8.5%}.img-box{height:23vw;width:100%;display:flex;flex-direction:row;justify-content:flex-start;flex-wrap:wrap;font-size:1vw}.item-img{width:50%;margin-top:5%;display:flex;flex-direction:row;justify-content:flex-start;align-items:flex-start}.item-img uni-image{height:5vw;width:5vw}.progressBar{margin-top:9%;height:20%;background-color:#233751;border-radius:5vw}.progress{height:100%;background-color:#ff5722;border-radius:5vw}.charts-box{width:80%;height:24vh;margin-left:10%}.charts-box-ring{width:60%;height:24vh}.sub-info{font-size:1.5vw}.sub-info uni-image{width:3.5vw;height:3.5vw}.main{width:100vw;height:88vh;margin-top:1vh;display:flex}.mian-item{width:50%;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center}.mian-item-box{width:98%;height:98%}.box-item{width:100%;margin-top:4%;display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start}.item-title{font-size:1.5vw;font-weight:700}.version{position:absolute;left:1%;top:1%;font-size:1vw;-webkit-transform:scale(.8);transform:scale(.8)}.item-subTitle{font-size:.5vw;text-indent:0}.item-text{font-size:1vw;text-indent:2em;letter-spacing:1px;line-height:3vh}.info-view{width:100vw;min-height:100vh;background-image:url("+s+");background-size:100vw 100vh}.info-main{width:100vw;height:88vh;display:flex;justify-content:center;align-items:center}.info-box{width:98%;height:98%}.error-info-view{width:100vw;min-height:100vh;background-image:url("+s+");background-size:100vw 100vh}.eject-mask{width:100%;height:100%;background-color:rgba(0,0,0,.5);position:fixed;top:0;left:0;z-index:999;display:flex;align-items:center;justify-content:center}.eject{position:relative;width:45vw;height:45vh;background-color:#fff;border-radius:2rem}.eject-title{width:100%;height:5vh;line-height:6vh;font-size:3vh;font-weight:700;color:#606266;text-align:center}.eject-input{margin-top:2vh;height:25vh;::-webkit-scrollbar{display:none}}.item{display:flex;align-items:center;margin:1vh 0 0 0;font-size:1.5vw;color:#363636}.desc{display:inline-block;width:40%;text-align:right;color:#606266}.input{display:flex;align-items:center;padding-left:5px;padding-right:5px;width:100%;height:3vh;border:.1vh solid #cfd4dc;margin-right:20%;text-align:start}.eject-input uni-input{width:100%;height:3vh;font-size:1vw}.eject-button{display:flex;align-items:center;position:absolute;bottom:0;height:6vh;line-height:6vh;width:100%;border-top:1px solid #ccc}.button-item{width:50%;height:100%;font-size:1.5vw;font-weight:700;text-align:center;color:#909399}.button-item:last-child{color:#67c23a;border-left:1px solid #ccc}.info-box-text{width:100%;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center}.info-box-text-item{height:20%;font-size:8vh;justify-content:center}",""]),t.exports=e},d9bb:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={name:"uniTransition",props:["show","modeClass","duration","styles","customClass"],data:function(){return{wxsProps:{}}},components:{}}},db9f:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={data:function(){return{wxsProps:{}}},components:{}}},dd22:function(t,e,a){var i=a("6075");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var n=a("b49c").default;n("1e6f7836",i,!0,{sourceMap:!1,shadowMode:!1})},dd3e:function(t,e){t.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},t.exports.__esModule=!0,t.exports["default"]=t.exports},dd49:function(t,e,a){"use strict";function i(){function t(t){var e=a("04cd");e.__inject__&&e.__inject__(t)}"function"===typeof t&&t(),UniViewJSBridge.publishHandler("webviewReady")}a("1c5b"),"undefined"!==typeof plus?i():document.addEventListener("plusready",i)},ddb2:function(t,e,a){var i=a("aad1");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var n=a("b49c").default;n("4e72501d",i,!0,{sourceMap:!1,shadowMode:!1})},e189:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={name:"loading5",data:function(){return{wxsProps:{}}},components:{}}},e199:function(t,e,a){"use strict";var i=a("ddb2"),n=a.n(i);n.a},e235:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=["#1890FF","#91CB74","#FAC858","#EE6666","#73C0DE","#3CA272","#FC8452","#9A60B4","#ea7ccc"],n={type:["pie","ring","rose","funnel","line","column","area","radar","gauge","candle","demotype"],categories:["line","column","area","radar","gauge","candle","demotype"],instance:{},option:{},formatter:{tooltipDemo1:function(t){var e="";for(var a in t){0==a&&(e+=t[a].axisValueLabel+"\u5e74\u9500\u552e\u989d");var i="--";null!==t[a].data&&(i=t[a].data),e+="<br/>"+t[a].marker+t[a].seriesName+"\uff1a"+i+" \u4e07\u5143"}return e},legendFormat:function(t){return"\u81ea\u5b9a\u4e49\u56fe\u4f8b+"+t},yAxisFormatDemo:function(t,e){return t+"\u5143"},seriesFormatDemo:function(t){return t.name+"\u5e74"+t.value+"\u5143"}},demotype:{color:i},column:{color:i,title:{text:""},tooltip:{trigger:"axis"},grid:{top:30,bottom:50,right:15,left:40},legend:{bottom:"left"},toolbox:{show:!1},xAxis:{type:"category",axisLabel:{color:"#666666"},axisLine:{lineStyle:{color:"#CCCCCC"}},boundaryGap:!0,data:[]},yAxis:{type:"value",axisTick:{show:!1},axisLabel:{color:"#666666"},axisLine:{lineStyle:{color:"#CCCCCC"}}},seriesTemplate:{name:"",type:"bar",data:[],barwidth:20,label:{show:!0,color:"#666666",position:"top"}}},line:{color:i,title:{text:""},tooltip:{trigger:"axis"},grid:{top:30,bottom:50,right:15,left:40},legend:{top:"left",textStyle:{color:"#cccccc"}},toolbox:{show:!1},xAxis:{type:"category",axisLabel:{color:"#CCCCCC"},axisLine:{lineStyle:{color:"#CCCCCC"}},boundaryGap:!1,data:[]},yAxis:{type:"value",axisTick:{show:!1},axisLabel:{color:"#CCCCCC"},axisLine:{lineStyle:{color:"#CCCCCC"}}},seriesTemplate:{name:"",type:"line",data:[],barwidth:20,label:{show:!1,color:"#666666",position:"top"}}},area:{color:i,title:{text:""},tooltip:{trigger:"axis"},grid:{top:30,bottom:50,right:15,left:40},legend:{bottom:"left"},toolbox:{show:!1},xAxis:{type:"category",axisLabel:{color:"#666666"},axisLine:{lineStyle:{color:"#CCCCCC"}},boundaryGap:!0,data:[]},yAxis:{type:"value",axisTick:{show:!1},axisLabel:{color:"#666666"},axisLine:{lineStyle:{color:"#CCCCCC"}}},seriesTemplate:{name:"",type:"line",data:[],areaStyle:{},label:{show:!0,color:"#666666",position:"top"}}},pie:{color:i,title:{text:""},tooltip:{trigger:"item"},grid:{top:40,bottom:30,right:15,left:15},legend:{bottom:"left"},seriesTemplate:{name:"",type:"pie",data:[],radius:"50%",label:{show:!0,color:"#666666",position:"top"}}},ring:{color:i,title:{text:""},tooltip:{trigger:"item"},grid:{top:40,bottom:30,right:15,left:15},legend:{bottom:"left",textStyle:{color:"#cccccc"}},seriesTemplate:{name:"",type:"pie",data:[],radius:["30%","60%"],avoidLabelOverlap:!1,label:{show:!1,color:"#FFF",position:"top"},labelLine:{show:!1}}},rose:{color:i,title:{text:""},tooltip:{trigger:"item"},legend:{top:"bottom"},seriesTemplate:{name:"",type:"pie",data:[],radius:"55%",center:["50%","50%"],roseType:"area"}},funnel:{color:i,title:{text:""},tooltip:{trigger:"item",formatter:"{b} : {c}%"},legend:{top:"bottom"},seriesTemplate:{name:"",type:"funnel",left:"10%",top:60,bottom:60,width:"80%",min:0,max:100,minSize:"0%",maxSize:"100%",sort:"descending",gap:2,label:{show:!0,position:"inside"},labelLine:{length:10,lineStyle:{width:1,type:"solid"}},itemStyle:{bordercolor:"#fff",borderwidth:1},emphasis:{label:{fontSize:20}},data:[]}},gauge:{color:i,tooltip:{formatter:"{a} <br/>{b} : {c}%"},seriesTemplate:{name:"\u4e1a\u52a1\u6307\u6807",type:"gauge",detail:{formatter:"{value}%"},data:[{value:50,name:"\u5b8c\u6210\u7387"}]}},candle:{xAxis:{data:[]},yAxis:{},color:i,title:{text:""},dataZoom:[{type:"inside",xAxisIndex:[0,1],start:10,end:100},{show:!0,xAxisIndex:[0,1],type:"slider",bottom:10,start:10,end:100}],seriesTemplate:{name:"",type:"k",data:[]}}},r=n;e.default=r},e4d6:function(t,e,a){"use strict";a.r(e);var i=a("925e"),n=a("63c1");for(var r in n)["default"].indexOf(r)<0&&function(t){a.d(e,t,(function(){return n[t]}))}(r);a("b908");var o=a("828b"),s=Object(o["a"])(n["default"],i["b"],i["c"],!1,null,null,null,!1,i["a"],void 0);e["default"]=s.exports},e631:function(t,e,a){var i=a("c86c");e=i(!1),e.push([t.i,".box[data-v-71f2edbe]{width:calc(100% - .2vh);height:calc(100% - .2vh);position:relative;border:.1vh solid #145088;display:flex;justify-content:center}.box-main[data-v-71f2edbe]{width:96%;height:100%;display:flex;flex-direction:column;justify-content:flex-start;align-items:flex-start}.box-border[data-v-71f2edbe]{position:absolute;width:1.5vh;height:1.5vh}.box-border1[data-v-71f2edbe]{top:0;left:0;border-left:.1vh solid #31c4c4;border-top:.1vh solid #31c4c4}.box-border2[data-v-71f2edbe]{top:0;right:0;border-right:.1vh solid #31c4c4;border-top:.1vh solid #31c4c4}.box-border3[data-v-71f2edbe]{bottom:0;left:0;border-bottom:.1vh solid #31c4c4;border-left:.1vh solid #31c4c4}.box-border4[data-v-71f2edbe]{bottom:0;right:0;border-right:.1vh solid #31c4c4;border-bottom:.1vh solid #31c4c4}",""]),t.exports=e},e7b7:function(t,e,a){"use strict";var i=a("9b97"),n=a.n(i);n.a},e924:function(t,e,a){var i=a("d168");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var n=a("b49c").default;n("2a57666c",i,!0,{sourceMap:!1,shadowMode:!1})},e9e1:function(t,e,a){"use strict";a.r(e);var i=a("ac83"),n=a.n(i);for(var r in i)["default"].indexOf(r)<0&&function(t){a.d(e,t,(function(){return i[t]}))}(r);e["default"]=n.a},ea54:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={name:"qiun-data-charts",props:["type","canvasId","canvas2d","background","animation","chartData","opts","eopts","loadingType","errorShow","errorReload","errorMessage","inScrollView","reshow","reload","disableScroll","optsWatch","onzoom","ontap","ontouch","onmouse","onmovetip","echartsH5","echartsApp","tooltipShow","tooltipFormat","tooltipCustom","startDate","endDate","textEnum","groupEnum","pageScrollTop","directory","tapLegend","menus"],data:function(){return{wxsProps:{}}},components:{}}},ed43:function(t,e,a){"use strict";a.r(e);var i=a("40dd"),n=a("7543");for(var r in n)["default"].indexOf(r)<0&&function(t){a.d(e,t,(function(){return n[t]}))}(r);a("9fee");var o=a("828b"),s=Object(o["a"])(n["default"],i["b"],i["c"],!1,null,"99b3946c",null,!1,i["a"],void 0);e["default"]=s.exports},ed45:function(t,e){t.exports=function(t){if(Array.isArray(t))return t},t.exports.__esModule=!0,t.exports["default"]=t.exports},f01f:function(t,e,a){"use strict";var i=a("f247"),n=a.n(i);n.a},f1e8:function(t,e,a){"use strict";var i=a("88ff"),n=a.n(i);n.a},f247:function(t,e,a){var i=a("4604");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var n=a("b49c").default;n("7605153a",i,!0,{sourceMap:!1,shadowMode:!1})},f3b9:function(t,e,a){"use strict";function i(t){var e=Object.prototype.toString.call(t);return e.substring(8,e.length-1)}function n(){return"string"===typeof __channelId__&&__channelId__}function r(t,e){switch(i(e)){case"Function":return"function() { [native code] }";default:return e}}function o(t){for(var e=arguments.length,a=new Array(e>1?e-1:0),i=1;i<e;i++)a[i-1]=arguments[i];console[t].apply(console,a)}function s(){for(var t=arguments.length,e=new Array(t),a=0;a<t;a++)e[a]=arguments[a];var o=e.shift();if(n())return e.push(e.pop().replace("at ","uni-app:///")),console[o].apply(console,e);var s=e.map((function(t){var e=Object.prototype.toString.call(t).toLowerCase();if("[object object]"===e||"[object array]"===e)try{t="---BEGIN:JSON---"+JSON.stringify(t,r)+"---END:JSON---"}catch(n){t=e}else if(null===t)t="---NULL---";else if(void 0===t)t="---UNDEFINED---";else{var a=i(t).toUpperCase();t="NUMBER"===a||"BOOLEAN"===a?"---BEGIN:"+a+"---"+t+"---END:"+a+"---":String(t)}return t})),l="";if(s.length>1){var c=s.pop();l=s.join("---COMMA---"),0===c.indexOf(" at ")?l+=c:l+="---COMMA---"+c}else l=s[0];console[o](l)}a.r(e),a.d(e,"log",(function(){return o})),a.d(e,"default",(function(){return s}))},f5de:function(t,e,a){"use strict";a.d(e,"b",(function(){return i})),a.d(e,"c",(function(){return n})),a.d(e,"a",(function(){}));var i=function(){var t=this.$createElement,e=this._self._c||t;return e("uni-view",{staticClass:this._$g(0,"sc"),attrs:{_i:0}},[e("uni-view",{staticClass:this._$g(1,"sc"),attrs:{_i:1}}),e("uni-view",{staticClass:this._$g(2,"sc"),attrs:{_i:2}}),e("uni-view",{staticClass:this._$g(3,"sc"),attrs:{_i:3}}),e("uni-view",{staticClass:this._$g(4,"sc"),attrs:{_i:4}})],1)},n=[]},f6e5:function(t,e,a){"use strict";a.d(e,"b",(function(){return i})),a.d(e,"c",(function(){return n})),a.d(e,"a",(function(){}));var i=function(){var t=this.$createElement,e=this._self._c||t;return e("uni-view",{staticClass:this._$g(0,"sc"),attrs:{_i:0}},[e("uni-view",{staticClass:this._$g(1,"sc"),attrs:{_i:1}}),e("uni-view",{staticClass:this._$g(2,"sc"),attrs:{_i:2}}),e("uni-view",{staticClass:this._$g(3,"sc"),attrs:{_i:3}}),e("uni-view",{staticClass:this._$g(4,"sc"),attrs:{_i:4}})],1)},n=[]},f9c6:function(t,e,a){"use strict";var i=a("65fd"),n=a.n(i);n.a}});
\ No newline at end of file
diff --git a/Monitor-APP/unpackage/dist/build/app-plus/app-service.js b/Monitor-APP/unpackage/dist/build/app-plus/app-service.js
index 9d4e1c8..692a83f 100644
--- a/Monitor-APP/unpackage/dist/build/app-plus/app-service.js
+++ b/Monitor-APP/unpackage/dist/build/app-plus/app-service.js
@@ -1,2 +1,2 @@
-(this["webpackJsonp"]=this["webpackJsonp"]||[]).push([["app-service"],{"011a":function(t,e){function i(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(t.exports=i=function(){return!!e},t.exports.__esModule=!0,t.exports["default"]=t.exports)()}t.exports=i,t.exports.__esModule=!0,t.exports["default"]=t.exports},"0477":function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return a})),i.d(e,"a",(function(){}));var n=function(){var t=this.$createElement,e=this._self._c||t;return e("view",{staticClass:this._$s(0,"sc","container loading1"),attrs:{_i:0}},[e("view",{staticClass:this._$s(1,"sc","shape shape1"),attrs:{_i:1}}),e("view",{staticClass:this._$s(2,"sc","shape shape2"),attrs:{_i:2}}),e("view",{staticClass:this._$s(3,"sc","shape shape3"),attrs:{_i:3}}),e("view",{staticClass:this._$s(4,"sc","shape shape4"),attrs:{_i:4}})])},a=[]},"0671":function(t,e,i){"use strict";i.r(e);var n=i("5e84"),a=i.n(n);for(var r in n)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(r);e["default"]=a.a},"078f":function(t,e,i){"use strict";i.r(e);var n=i("c681"),a=i.n(n);for(var r in n)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(r);e["default"]=a.a},"0bdb":function(t,e,i){var n=i("d551");function a(t,e){for(var i=0;i<e.length;i++){var a=e[i];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,n(a.key),a)}}t.exports=function(t,e,i){return e&&a(t.prototype,e),i&&a(t,i),Object.defineProperty(t,"prototype",{writable:!1}),t},t.exports.__esModule=!0,t.exports["default"]=t.exports},"0c2e":function(t,e,i){t.exports=i.p+"static/e1.png"},"0ee4":function(t,e){var i;i=function(){return this}();try{i=i||new Function("return this")()}catch(n){"object"===typeof window&&(i=window)}t.exports=i},"127e":function(t,e,i){var n=i("3b2d"),a=i("9fc1")();t.exports=a;try{regeneratorRuntime=a}catch(r){"object"===("undefined"===typeof globalThis?"undefined":n(globalThis))?globalThis.regeneratorRuntime=a:Function("r","regeneratorRuntime = r")(a)}},1511:function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return a})),i.d(e,"a",(function(){}));var n=function(){var t=this.$createElement,e=this._self._c||t;return e("view",{staticClass:this._$s(0,"sc","container loading2"),attrs:{_i:0}},[e("view",{staticClass:this._$s(1,"sc","shape shape1"),attrs:{_i:1}}),e("view",{staticClass:this._$s(2,"sc","shape shape2"),attrs:{_i:2}}),e("view",{staticClass:this._$s(3,"sc","shape shape3"),attrs:{_i:3}}),e("view",{staticClass:this._$s(4,"sc","shape shape4"),attrs:{_i:4}})])},a=[]},1611:function(t,e,i){"use strict";(function(t,n){var a=i("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=a(i("3b2d")),o=(a(i("17c3")),a(i("1a14"))),s=a(i("e235"));function c(){for(var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length,i=new Array(e>1?e-1:0),n=1;n<e;n++)i[n-1]=arguments[n];for(var a in i)for(var o in i[a])i[a].hasOwnProperty(o)&&(t[o]=i[a][o]&&"object"===(0,r.default)(i[a][o])?c(Array.isArray(i[a][o])?[]:{},t[o],i[a][o]):i[a][o]);return t}function l(t){var e=t.getFullYear(),i=t.getMonth()+1,n=t.getDate();i>=1&&i<=9&&(i="0"+i),n>=0&&n<=9&&(n="0"+n);var a=e+"-"+i+"-"+n;return a}var u={name:"qiun-data-charts",mixins:[t.mixinDatacom],props:{type:{type:String,default:null},canvasId:{type:String,default:"uchartsid"},canvas2d:{type:Boolean,default:!1},background:{type:String,default:"rgba(0,0,0,0)"},animation:{type:Boolean,default:!0},chartData:{type:Object,default:function(){return{categories:[],series:[]}}},opts:{type:Object,default:function(){return{}}},eopts:{type:Object,default:function(){return{}}},loadingType:{type:Number,default:2},errorShow:{type:Boolean,default:!0},errorReload:{type:Boolean,default:!0},errorMessage:{type:String,default:null},inScrollView:{type:Boolean,default:!1},reshow:{type:Boolean,default:!1},reload:{type:Boolean,default:!1},disableScroll:{type:Boolean,default:!1},optsWatch:{type:Boolean,default:!0},onzoom:{type:Boolean,default:!1},ontap:{type:Boolean,default:!0},ontouch:{type:Boolean,default:!1},onmouse:{type:Boolean,default:!0},onmovetip:{type:Boolean,default:!1},echartsH5:{type:Boolean,default:!1},echartsApp:{type:Boolean,default:!1},tooltipShow:{type:Boolean,default:!0},tooltipFormat:{type:String,default:void 0},tooltipCustom:{type:Object,default:void 0},startDate:{type:String,default:void 0},endDate:{type:String,default:void 0},textEnum:{type:Array,default:function(){return[]}},groupEnum:{type:Array,default:function(){return[]}},pageScrollTop:{type:Number,default:0},directory:{type:String,default:"/"},tapLegend:{type:Boolean,default:!0},menus:{type:Array,default:function(){return[]}}},data:function(){return{cid:"uchartsid",inWx:!1,inAli:!1,inTt:!1,inBd:!1,inH5:!1,inApp:!1,inWin:!1,type2d:!0,disScroll:!1,openmouse:!1,pixel:1,cWidth:375,cHeight:250,showchart:!1,echarts:!1,echartsResize:{state:!1},uchartsOpts:{},echartsOpts:{},drawData:{},lastDrawTime:null}},created:function(){if(this.cid=this.canvasId,"uchartsid"==this.canvasId||""==this.canvasId){for(var t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",e=t.length,i="",n=0;n<32;n++)i+=t.charAt(Math.floor(Math.random()*e));this.cid=i}var a=uni.getSystemInfoSync();"windows"!==a.platform&&"mac"!==a.platform||(this.inWin=!0),this.type2d=!1,this.disScroll=this.disableScroll},mounted:function(){var t=this;this.inApp=!0,!0===this.echartsApp&&(this.echarts=!0,this.openmouse=!1),this.$nextTick((function(){t.beforeInit()}))},destroyed:function(){!0===this.echarts?(delete s.default.option[this.cid],delete s.default.instance[this.cid]):(delete o.default.option[this.cid],delete o.default.instance[this.cid]),uni.offWindowResize((function(){}))},watch:{chartDataProps:{handler:function(t,e){"object"===(0,r.default)(t)?JSON.stringify(t)!==JSON.stringify(e)&&(this._clearChart(),t.series&&t.series.length>0?this.beforeInit():(this.mixinDatacomLoading=!0,this.showchart=!1,this.mixinDatacomErrorMessage=null)):(this.mixinDatacomLoading=!1,this._clearChart(),this.showchart=!1,this.mixinDatacomErrorMessage="\u53c2\u6570\u9519\u8bef\uff1achartData\u6570\u636e\u7c7b\u578b\u9519\u8bef")},immediate:!1,deep:!0},localdata:{handler:function(t,e){JSON.stringify(t)!==JSON.stringify(e)&&(t.length>0?this.beforeInit():(this.mixinDatacomLoading=!0,this._clearChart(),this.showchart=!1,this.mixinDatacomErrorMessage=null))},immediate:!1,deep:!0},optsProps:{handler:function(t,e){"object"===(0,r.default)(t)?JSON.stringify(t)!==JSON.stringify(e)&&!1===this.echarts&&1==this.optsWatch&&this.checkData(this.drawData):(this.mixinDatacomLoading=!1,this._clearChart(),this.showchart=!1,this.mixinDatacomErrorMessage="\u53c2\u6570\u9519\u8bef\uff1aopts\u6570\u636e\u7c7b\u578b\u9519\u8bef")},immediate:!1,deep:!0},eoptsProps:{handler:function(t,e){"object"===(0,r.default)(t)?JSON.stringify(t)!==JSON.stringify(e)&&!0===this.echarts&&this.checkData(this.drawData):(this.mixinDatacomLoading=!1,this.showchart=!1,this.mixinDatacomErrorMessage="\u53c2\u6570\u9519\u8bef\uff1aeopts\u6570\u636e\u7c7b\u578b\u9519\u8bef")},immediate:!1,deep:!0},reshow:function(t,e){var i=this;!0===t&&!1===this.mixinDatacomLoading&&setTimeout((function(){i.mixinDatacomErrorMessage=null,i.echartsResize.state=!i.echartsResize.state,i.checkData(i.drawData)}),200)},reload:function(t,e){!0===t&&(this.showchart=!1,this.mixinDatacomErrorMessage=null,this.reloading())},mixinDatacomErrorMessage:function(t,e){t&&(this.emitMsg({name:"error",params:{type:"error",errorShow:this.errorShow,msg:t,id:this.cid}}),this.errorShow&&n("log","[\u79cb\u4e91\u56fe\u8868\u7ec4\u4ef6]"+t," at uni_modules/qiun-data-charts/components/qiun-data-charts/qiun-data-charts.vue:611"))},errorMessage:function(t,e){t&&this.errorShow&&null!==t&&"null"!==t&&""!==t?(this.showchart=!1,this.mixinDatacomLoading=!1,this.mixinDatacomErrorMessage=t):(this.showchart=!1,this.mixinDatacomErrorMessage=null,this.reloading())}},computed:{optsProps:function(){return JSON.parse(JSON.stringify(this.opts))},eoptsProps:function(){return JSON.parse(JSON.stringify(this.eopts))},chartDataProps:function(){return JSON.parse(JSON.stringify(this.chartData))}},methods:{beforeInit:function(){this.mixinDatacomErrorMessage=null,"object"===(0,r.default)(this.chartData)&&null!=this.chartData&&void 0!==this.chartData.series&&this.chartData.series.length>0?(this.drawData=c({},this.chartData),this.mixinDatacomLoading=!1,this.showchart=!0,this.checkData(this.chartData)):this.localdata.length>0?(this.mixinDatacomLoading=!1,this.showchart=!0,this.localdataInit(this.localdata)):""!==this.collection?(this.mixinDatacomLoading=!1,this.getCloudData()):this.mixinDatacomLoading=!0},localdataInit:function(t){if(this.groupEnum.length>0)for(var e=0;e<t.length;e++)for(var i=0;i<this.groupEnum.length;i++)t[e].group===this.groupEnum[i].value&&(t[e].group=this.groupEnum[i].text);if(this.textEnum.length>0)for(var n=0;n<t.length;n++)for(var a=0;a<this.textEnum.length;a++)t[n].text===this.textEnum[a].value&&(t[n].text=this.textEnum[a].text);var r=!1,u={categories:[],series:[]},h=[],d=[];if(r=!0===this.echarts?s.default.categories.includes(this.type):o.default.categories.includes(this.type),!0===r){if(this.chartData&&this.chartData.categories&&this.chartData.categories.length>0)h=this.chartData.categories;else if(this.startDate&&this.endDate){var f=new Date(this.startDate),p=new Date(this.endDate);while(f<=p)h.push(l(f)),f=f.setDate(f.getDate()+1),f=new Date(f)}else{var g={};t.map((function(t,e){void 0==t.text||g[t.text]||(h.push(t.text),g[t.text]=!0)}))}u.categories=h}var v={};if(t.map((function(t,e){void 0==t.group||v[t.group]||(d.push({name:t.group,data:[]}),v[t.group]=!0)})),0==d.length)if(d=[{name:"\u9ed8\u8ba4\u5206\u7ec4",data:[]}],!0===r)for(var m=0;m<h.length;m++){for(var x=0,y=0;y<t.length;y++)t[y].text==h[m]&&(x=t[y].value);d[0].data.push(x)}else for(var _=0;_<t.length;_++)d[0].data.push({name:t[_].text,value:t[_].value});else for(var b=0;b<d.length;b++)if(h.length>0)for(var w=0;w<h.length;w++){for(var S=0,k=0;k<t.length;k++)d[b].name==t[k].group&&t[k].text==h[w]&&(S=t[k].value);d[b].data.push(S)}else for(var C=0;C<t.length;C++)d[b].name==t[C].group&&d[b].data.push(t[C].value);u.series=d,this.drawData=c({},u),this.checkData(u)},reloading:function(){!1!==this.errorReload&&(this.showchart=!1,this.mixinDatacomErrorMessage=null,""!==this.collection?(this.mixinDatacomLoading=!1,this.onMixinDatacomPropsChange(!0)):this.beforeInit())},checkData:function(t){var e=this,i=this.cid;!0===this.echarts?(s.default.option[i]=c({},this.eopts),s.default.option[i].id=i,s.default.option[i].type=this.type):this.type&&o.default.type.includes(this.type)?(o.default.option[i]=c({},o.default[this.type],this.opts),o.default.option[i].canvasId=i):(this.mixinDatacomLoading=!1,this.showchart=!1,this.mixinDatacomErrorMessage="\u53c2\u6570\u9519\u8bef\uff1aprops\u53c2\u6570\u4e2dtype\u7c7b\u578b\u4e0d\u6b63\u786e");var n=c({},t);void 0!==n.series&&n.series.length>0&&(this.mixinDatacomErrorMessage=null,!0===this.echarts?(s.default.option[i].chartData=n,this.$nextTick((function(){e.init()}))):(o.default.option[i].categories=n.categories,o.default.option[i].series=n.series,this.$nextTick((function(){e.init()}))))},resizeHandler:function(){var t=this,e=Date.now(),i=this.lastDrawTime?this.lastDrawTime:e-3e3,n=e-i;if(!(n<1e3))uni.createSelectorQuery().in(this).select("#ChartBoxId"+this.cid).boundingClientRect((function(e){t.showchart=!0,e.width>0&&e.height>0&&(e.width===t.cWidth&&e.height===t.cHeight||t.checkData(t.drawData))})).exec()},getCloudData:function(){var t=this;1!=this.mixinDatacomLoading&&(this.mixinDatacomLoading=!0,this.mixinDatacomGet().then((function(e){t.mixinDatacomResData=e.result.data,t.localdataInit(t.mixinDatacomResData)})).catch((function(e){t.mixinDatacomLoading=!1,t.showchart=!1,t.mixinDatacomErrorMessage="\u8bf7\u6c42\u9519\u8bef\uff1a"+e})))},onMixinDatacomPropsChange:function(t,e){1==t&&""!==this.collection&&(this.showchart=!1,this.mixinDatacomErrorMessage=null,this._clearChart(),this.getCloudData())},_clearChart:function(){var t=this.cid;if(!0!==this.echarts&&o.default.option[t]&&o.default.option[t].context){var e=o.default.option[t].context;"object"!==(0,r.default)(e)||o.default.option[t].update||(e.clearRect(0,0,this.cWidth*this.pixel,this.cHeight*this.pixel),e.draw())}},init:function(){var t=this,e=this.cid;uni.createSelectorQuery().in(this).select("#ChartBoxId"+e).boundingClientRect((function(i){i.width>0&&i.height>0?(t.mixinDatacomLoading=!1,t.showchart=!0,t.lastDrawTime=Date.now(),t.cWidth=i.width,t.cHeight=i.height,!0!==t.echarts&&(o.default.option[e].background="rgba(0,0,0,0)"==t.background?"#FFFFFF":t.background,o.default.option[e].canvas2d=t.type2d,o.default.option[e].pixelRatio=t.pixel,o.default.option[e].animation=t.animation,o.default.option[e].width=i.width*t.pixel,o.default.option[e].height=i.height*t.pixel,o.default.option[e].onzoom=t.onzoom,o.default.option[e].ontap=t.ontap,o.default.option[e].ontouch=t.ontouch,o.default.option[e].onmouse=t.openmouse,o.default.option[e].onmovetip=t.onmovetip,o.default.option[e].tooltipShow=t.tooltipShow,o.default.option[e].tooltipFormat=t.tooltipFormat,o.default.option[e].tooltipCustom=t.tooltipCustom,o.default.option[e].inScrollView=t.inScrollView,o.default.option[e].lastDrawTime=t.lastDrawTime,o.default.option[e].tapLegend=t.tapLegend),t.inH5||t.inApp?1==t.echarts?(s.default.option[e].ontap=t.ontap,s.default.option[e].onmouse=t.openmouse,s.default.option[e].tooltipShow=t.tooltipShow,s.default.option[e].tooltipFormat=t.tooltipFormat,s.default.option[e].tooltipCustom=t.tooltipCustom,s.default.option[e].lastDrawTime=t.lastDrawTime,t.echartsOpts=c({},s.default.option[e])):(o.default.option[e].rotateLock=o.default.option[e].rotate,t.uchartsOpts=c({},o.default.option[e])):(o.default.option[e]=function t(e,i){for(var n in e)e.hasOwnProperty(n)&&null!==e[n]&&"object"===(0,r.default)(e[n])?t(e[n],i):"format"===n&&"string"===typeof e[n]&&(e["formatter"]=i[e[n]]?i[e[n]]:void 0);return e}(o.default.option[e],o.default.formatter),t.mixinDatacomErrorMessage=null,t.mixinDatacomLoading=!1,t.showchart=!0,t.$nextTick((function(){if(!0===t.type2d){var n=uni.createSelectorQuery().in(t);n.select("#"+e).fields({node:!0,size:!0}).exec((function(n){if(n[0]){var a=n[0].node,r=a.getContext("2d");o.default.option[e].context=r,o.default.option[e].rotateLock=o.default.option[e].rotate,o.default.instance[e]&&o.default.option[e]&&!0===o.default.option[e].update?t._updataUChart(e):(a.width=i.width*t.pixel,a.height=i.height*t.pixel,a._width=i.width*t.pixel,a._height=i.height*t.pixel,setTimeout((function(){o.default.option[e].context.restore(),o.default.option[e].context.save(),t._newChart(e)}),100))}else t.showchart=!1,t.mixinDatacomErrorMessage="\u53c2\u6570\u9519\u8bef\uff1a\u5f00\u542f2d\u6a21\u5f0f\u540e\uff0c\u672a\u83b7\u53d6\u5230dom\u8282\u70b9\uff0ccanvas-id:"+e}))}else t.inAli&&(o.default.option[e].rotateLock=o.default.option[e].rotate),o.default.option[e].context=uni.createCanvasContext(e,t),o.default.instance[e]&&o.default.option[e]&&!0===o.default.option[e].update?t._updataUChart(e):setTimeout((function(){o.default.option[e].context.restore(),o.default.option[e].context.save(),t._newChart(e)}),100)})))):(t.mixinDatacomLoading=!1,t.showchart=!1,1==t.reshow&&(t.mixinDatacomErrorMessage="\u5e03\u5c40\u9519\u8bef\uff1a\u672a\u83b7\u53d6\u5230\u7236\u5143\u7d20\u5bbd\u9ad8\u5c3a\u5bf8\uff01canvas-id:"+e))})).exec()},saveImage:function(){uni.canvasToTempFilePath({canvasId:this.cid,success:function(t){uni.saveImageToPhotosAlbum({filePath:t.tempFilePath,success:function(){uni.showToast({title:"\u4fdd\u5b58\u6210\u529f",duration:2e3})}})}},this)},getImage:function(){var t=this;if(0==this.type2d)uni.canvasToTempFilePath({canvasId:this.cid,success:function(e){t.emitMsg({name:"getImage",params:{type:"getImage",base64:e.tempFilePath}})}},this);else{var e=uni.createSelectorQuery().in(this);e.select("#"+this.cid).fields({node:!0,size:!0}).exec((function(e){if(e[0]){var i=e[0].node;t.emitMsg({name:"getImage",params:{type:"getImage",base64:i.toDataURL("image/png")}})}}))}},_error:function(t){this.mixinDatacomErrorMessage=t.detail.errMsg},emitMsg:function(t){this.$emit(t.name,t.params)},getRenderType:function(){!0===this.echarts&&!1===this.mixinDatacomLoading&&this.beforeInit()},toJSON:function(){return this}}};e.default=u}).call(this,i("861b")["uniCloud"],i("f3b9")["default"])},"17c3":function(t,e,i){"use strict";(function(t){var n=i("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=n(i("34cf")),r=n(i("3b2d")),o={version:"v2.4.4-20221102",yAxisWidth:15,xAxisHeight:22,xAxisTextPadding:3,padding:[10,10,10,10],pixelRatio:1,rotate:!1,fontSize:13,fontColor:"#666666",dataPointShape:["circle","circle","circle","circle"],color:["#1890FF","#91CB74","#FAC858","#EE6666","#73C0DE","#3CA272","#FC8452","#9A60B4","#ea7ccc"],linearColor:["#0EE2F8","#2BDCA8","#FA7D8D","#EB88E2","#2AE3A0","#0EE2F8","#EB88E2","#6773E3","#F78A85"],pieChartLinePadding:15,pieChartTextPadding:5,titleFontSize:20,subtitleFontSize:15,toolTipPadding:3,toolTipBackground:"#000000",toolTipOpacity:.7,toolTipLineHeight:20,radarLabelTextMargin:13},s=function(t){for(var e=arguments.length,i=new Array(e>1?e-1:0),n=1;n<e;n++)i[n-1]=arguments[n];if(null==t)throw new TypeError("[uCharts] Cannot convert undefined or null to object");if(!i||i.length<=0)return t;function a(t,e){for(var i in e)t[i]=t[i]&&"[object Object]"===t[i].toString()?a(t[i],e[i]):t[i]=e[i];return t}return i.forEach((function(e){t=a(t,e)})),t},c={toFixed:function(t,e){return e=e||2,this.isFloat(t)&&(t=t.toFixed(e)),t},isFloat:function(t){return t%1!==0},approximatelyEqual:function(t,e){return Math.abs(t-e)<1e-10},isSameSign:function(t,e){return Math.abs(t)===t&&Math.abs(e)===e||Math.abs(t)!==t&&Math.abs(e)!==e},isSameXCoordinateArea:function(t,e){return this.isSameSign(t.x,e.x)},isCollision:function(t,e){t.end={},t.end.x=t.start.x+t.width,t.end.y=t.start.y-t.height,e.end={},e.end.x=e.start.x+e.width,e.end.y=e.start.y-e.height;var i=e.start.x>t.end.x||e.end.x<t.start.x||e.end.y>t.start.y||e.start.y<t.end.y;return!i}};function l(t,e){var i=t.replace(/^#?([a-f\d])([a-f\d])([a-f\d])$/i,(function(t,e,i,n){return e+e+i+i+n+n})),n=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(i),a=parseInt(n[1],16),r=parseInt(n[2],16),o=parseInt(n[3],16);return"rgba("+a+","+r+","+o+","+e+")"}function u(t,e,i){if(isNaN(t))throw new Error("[uCharts] series\u6570\u636e\u9700\u4e3aNumber\u683c\u5f0f");i=i||10,e=e||"upper";var n=1;while(i<1)i*=10,n*=10;t="upper"===e?Math.ceil(t*n):Math.floor(t*n);while(t%i!==0)if("upper"===e){if(t==t+1)break;t++}else t--;return t/n}function h(t,e,i,n,a){var r=a.width-a.area[1]-a.area[3],o=i.eachSpacing*(a.chartData.xAxisData.xAxisPoints.length-1);"mount"==a.type&&a.extra&&a.extra.mount&&a.extra.mount.widthRatio&&a.extra.mount.widthRatio>1&&(a.extra.mount.widthRatio>2&&(a.extra.mount.widthRatio=2),o+=(a.extra.mount.widthRatio-1)*i.eachSpacing);var s=e;return e>=0?(s=0,t.uevent.trigger("scrollLeft"),t.scrollOption.position="left",a.xAxis.scrollPosition="left"):Math.abs(e)>=o-r?(s=r-o,t.uevent.trigger("scrollRight"),t.scrollOption.position="right",a.xAxis.scrollPosition="right"):(t.scrollOption.position=e,a.xAxis.scrollPosition=e),s}function d(t,e,i){function n(t){while(t<0)t+=2*Math.PI;while(t>2*Math.PI)t-=2*Math.PI;return t}return t=n(t),e=n(e),i=n(i),e>i&&(i+=2*Math.PI,t<e&&(t+=2*Math.PI)),t>=e&&t<=i}function f(t,e){function i(t,e){return!(!t[e-1]||!t[e+1])&&(t[e].y>=Math.max(t[e-1].y,t[e+1].y)||t[e].y<=Math.min(t[e-1].y,t[e+1].y))}function n(t,e){return!(!t[e-1]||!t[e+1])&&(t[e].x>=Math.max(t[e-1].x,t[e+1].x)||t[e].x<=Math.min(t[e-1].x,t[e+1].x))}var a=.2,r=.2,o=null,s=null,c=null,l=null;if(e<1?(o=t[0].x+(t[1].x-t[0].x)*a,s=t[0].y+(t[1].y-t[0].y)*a):(o=t[e].x+(t[e+1].x-t[e-1].x)*a,s=t[e].y+(t[e+1].y-t[e-1].y)*a),e>t.length-3){var u=t.length-1;c=t[u].x-(t[u].x-t[u-1].x)*r,l=t[u].y-(t[u].y-t[u-1].y)*r}else c=t[e+1].x-(t[e+2].x-t[e].x)*r,l=t[e+1].y-(t[e+2].y-t[e].y)*r;return i(t,e+1)&&(l=t[e+1].y),i(t,e)&&(s=t[e].y),n(t,e+1)&&(c=t[e+1].x),n(t,e)&&(o=t[e].x),(s>=Math.max(t[e].y,t[e+1].y)||s<=Math.min(t[e].y,t[e+1].y))&&(s=t[e].y),(l>=Math.max(t[e].y,t[e+1].y)||l<=Math.min(t[e].y,t[e+1].y))&&(l=t[e+1].y),(o>=Math.max(t[e].x,t[e+1].x)||o<=Math.min(t[e].x,t[e+1].x))&&(o=t[e].x),(c>=Math.max(t[e].x,t[e+1].x)||c<=Math.min(t[e].x,t[e+1].x))&&(c=t[e+1].x),{ctrA:{x:o,y:s},ctrB:{x:c,y:l}}}function p(t,e,i){return{x:i.x+t,y:i.y-e}}function g(t,e){if(e)while(c.isCollision(t,e))t.start.x>0?t.start.y--:t.start.x<0||t.start.y>0?t.start.y++:t.start.y--;return t}function v(t,e,i){for(var n=0,a=0;a<t.length;a++){var r=t[a];if(r.color||(r.color=i.color[n],n=(n+1)%i.color.length),r.linearIndex||(r.linearIndex=a),r.index||(r.index=0),r.type||(r.type=e.type),"undefined"==typeof r.show&&(r.show=!0),r.type||(r.type=e.type),r.pointShape||(r.pointShape="circle"),!r.legendShape)switch(r.type){case"line":r.legendShape="line";break;case"column":case"bar":r.legendShape="rect";break;case"area":case"mount":r.legendShape="triangle";break;default:r.legendShape="circle"}}return t}function m(t,e,i,n){var a=e||[];if("custom"==t&&0==a.length&&(a=n.linearColor),"custom"==t&&a.length<i.length)for(var r=i.length-a.length,o=0;o<r;o++)a.push(n.linearColor[(o+1)%n.linearColor.length]);return a}function x(t,e){var i=0,n=e-t;return i=n>=1e4?1e3:n>=1e3?100:n>=100?10:n>=10?5:n>=1?1:n>=.1?.1:n>=.01?.01:n>=.001?.001:n>=1e-4?1e-4:n>=1e-5?1e-5:1e-6,{minRange:u(t,"lower",i),maxRange:u(e,"upper",i)}}function y(t,e,i){var n=0;if(t=String(t),!1!==i&&void 0!==i&&i.setFontSize&&i.measureText)return i.setFontSize(e),i.measureText(t).width;t=t.split("");for(var a=0;a<t.length;a++){var r=t[a];/[a-zA-Z]/.test(r)?n+=7:/[0-9]/.test(r)?n+=5.5:/\./.test(r)?n+=2.7:/-/.test(r)?n+=3.25:/:/.test(r)?n+=2.5:/[\u4e00-\u9fa5]/.test(r)?n+=10:/\(|\)/.test(r)?n+=3.73:/\s/.test(r)?n+=2.5:/%/.test(r)?n+=8:n+=10}return n*e/10}function _(t){return t.reduce((function(t,e){return(t.data?t.data:t).concat(e.data)}),[])}function b(t,e){for(var i=new Array(e),n=0;n<i.length;n++)i[n]=0;for(var a=0;a<t.length;a++)for(n=0;n<i.length;n++)i[n]+=t[a].data[n];return t.reduce((function(t,e){return(t.data?t.data:t).concat(e.data).concat(i)}),[])}function w(t,e,i){var n,a;return t.clientX?e.rotate?(a=e.height-t.clientX*e.pix,n=(t.pageY-i.currentTarget.offsetTop-e.height/e.pix/2*(e.pix-1))*e.pix):(n=t.clientX*e.pix,a=(t.pageY-i.currentTarget.offsetTop-e.height/e.pix/2*(e.pix-1))*e.pix):e.rotate?(a=e.height-t.x*e.pix,n=t.y*e.pix):(n=t.x*e.pix,a=t.y*e.pix),{x:n,y:a}}function S(t,e,i){var n=[],a=[],r=e.constructor.toString().indexOf("Array")>-1;if(r)for(var o=O(t),s=0;s<i.length;s++)a.push(o[i[s]]);else a=t;for(var c=0;c<a.length;c++){var l=a[c],u=-1;if(u=r?e[c]:e,null!==l.data[u]&&"undefined"!==typeof l.data[u]&&l.show){var h={};h.color=l.color,h.type=l.type,h.style=l.style,h.pointShape=l.pointShape,h.disableLegend=l.disableLegend,h.name=l.name,h.show=l.show,h.data=l.formatter?l.formatter(l.data[u]):l.data[u],n.push(h)}}return n}function k(t,e,i){var n=t.map((function(t){return y(t,e,i)}));return Math.max.apply(null,n)}function C(t){for(var e=2*Math.PI/t,i=[],n=0;n<t;n++)i.push(e*n);return i.map((function(t){return-1*t+Math.PI/2}))}function T(t,e,i,n,a){var r=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{},o=e.chartData.calPoints?e.chartData.calPoints:[],s={};if(n.length>0){for(var c=[],l=0;l<n.length;l++)c.push(o[n[l]]);s=c[0][i[0]]}else for(var u=0;u<o.length;u++)if(o[u][i]){s=o[u][i];break}var h=t.map((function(t){var n=null;return e.categories&&e.categories.length>0&&(n=a[i]),{text:r.formatter?r.formatter(t,n,i,e):t.name+": "+t.data,color:t.color}})),d={x:Math.round(s.x),y:Math.round(s.y)};return{textList:h,offset:d}}function P(t,e,i,n){var a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},r=e.chartData.xAxisPoints[i]+e.chartData.eachSpacing/2,o=t.map((function(t){return{text:a.formatter?a.formatter(t,n[i],i,e):t.name+": "+t.data,color:t.color,disableLegend:!!t.disableLegend}}));o=o.filter((function(t){if(!0!==t.disableLegend)return t}));var s={x:Math.round(r),y:0};return{textList:o,offset:s}}function A(t,e,i,n,a,r){var o=i.chartData.calPoints,s=r.color.upFill,c=r.color.downFill,l=[s,s,c,s],u=[];e.map((function(e){0==n?e.data[1]-e.data[0]<0?l[1]=c:l[1]=s:(e.data[0]<t[n-1][1]&&(l[0]=c),e.data[1]<e.data[0]&&(l[1]=c),e.data[2]>t[n-1][1]&&(l[2]=s),e.data[3]<t[n-1][1]&&(l[3]=c));var i={text:"\u5f00\u76d8\uff1a"+e.data[0],color:l[0]},a={text:"\u6536\u76d8\uff1a"+e.data[1],color:l[1]},r={text:"\u6700\u4f4e\uff1a"+e.data[2],color:l[2]},o={text:"\u6700\u9ad8\uff1a"+e.data[3],color:l[3]};u.push(i,a,r,o)}));for(var h=[],d={x:0,y:0},f=0;f<o.length;f++){var p=o[f];"undefined"!==typeof p[n]&&null!==p[n]&&h.push(p[n])}return d.x=Math.round(h[0][0].x),{textList:u,offset:d}}function O(t){for(var e=[],i=0;i<t.length;i++)1==t[i].show&&e.push(t[i]);return e}function I(t,e,i){return t.x<=e.width-e.area[1]+10&&t.x>=e.area[3]-10&&t.y>=e.area[0]&&t.y<=e.height-e.area[2]}function L(t,e,i){return Math.pow(t.x-e.x,2)+Math.pow(t.y-e.y,2)<=Math.pow(i,2)}function D(t,e){var i=[],n=[];return t.forEach((function(t,a){e.connectNulls?null!==t&&n.push(t):null!==t?n.push(t):(n.length&&i.push(n),n=[])})),n.length&&i.push(n),i}function M(t,e,i,n,a){var r={angle:0,xAxisHeight:i.xAxisHeight},o=e.xAxis.fontSize*e.pix||i.fontSize,s=t.map((function(t,i){var n=e.xAxis.formatter?e.xAxis.formatter(t,i,e):t;return y(String(n),o,a)})),c=Math.max.apply(this,s);if(1==e.xAxis.rotateLabel){r.angle=e.xAxis.rotateAngle*Math.PI/180;var l=2*i.xAxisTextPadding+Math.abs(c*Math.sin(r.angle));l=l<o+2*i.xAxisTextPadding?l+2*i.xAxisTextPadding:l,1==e.enableScroll&&1==e.xAxis.scrollShow&&(l+=12*e.pix),r.xAxisHeight=l}return e.xAxis.disabled&&(r.xAxisHeight=0),r}function E(t,e,i,n){var a=s({},{type:""},e.extra.bar),o={angle:0,xAxisHeight:i.xAxisHeight};o.ranges=function(t,e,i,n){var a,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:-1;a="stack"==n?b(t,e.categories.length):_(t);var s=[];a=a.filter((function(t){return"object"===(0,r.default)(t)&&null!==t?t.constructor.toString().indexOf("Array")>-1?null!==t:null!==t.value:null!==t})),a.map((function(t){"object"===(0,r.default)(t)?t.constructor.toString().indexOf("Array")>-1?"candle"==e.type?t.map((function(t){s.push(t)})):s.push(t[0]):s.push(t.value):s.push(t)}));var c=0,l=0;if(s.length>0&&(c=Math.min.apply(this,s),l=Math.max.apply(this,s)),o>-1?("number"===typeof e.xAxis.data[o].min&&(c=Math.min(e.xAxis.data[o].min,c)),"number"===typeof e.xAxis.data[o].max&&(l=Math.max(e.xAxis.data[o].max,l))):("number"===typeof e.xAxis.min&&(c=Math.min(e.xAxis.min,c)),"number"===typeof e.xAxis.max&&(l=Math.max(e.xAxis.max,l))),c===l){var u=l||10;l+=u}for(var h=c,d=l,f=[],p=(d-h)/e.xAxis.splitNumber,g=0;g<=e.xAxis.splitNumber;g++)f.push(h+p*g);return f}(t,e,i,a.type),o.rangesFormat=o.ranges.map((function(t){return t=c.toFixed(t,2),t}));var l=o.ranges.map((function(t){return t=c.toFixed(t,2),t}));o=Object.assign(o,V(l,e,i));var u=o.eachSpacing,h=l.map((function(t){return y(t,e.xAxis.fontSize*e.pix||i.fontSize,n)})),d=Math.max.apply(this,h);return d+2*i.xAxisTextPadding>u&&(o.angle=45*Math.PI/180,o.xAxisHeight=2*i.xAxisTextPadding+d*Math.sin(o.angle)),!0===e.xAxis.disabled&&(o.xAxisHeight=0),o}function F(t,e,i,n,a){var r=arguments.length>5&&void 0!==arguments[5]?arguments[5]:1,o=a.extra.radar||{};o.max=o.max||0;for(var s=Math.max(o.max,Math.max.apply(null,_(n))),c=[],l=function(a){var o=n[a],l={};l.color=o.color,l.legendShape=o.legendShape,l.pointShape=o.pointShape,l.data=[],o.data.forEach((function(n,a){var o={};o.angle=t[a],o.proportion=n/s,o.value=n,o.position=p(i*o.proportion*r*Math.cos(o.angle),i*o.proportion*r*Math.sin(o.angle),e),l.data.push(o)})),c.push(l)},u=0;u<n.length;u++)l(u);return c}function $(t,e){for(var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,n=0,a=0,r=0;r<t.length;r++){var o=t[r];o.data=null===o.data?0:o.data,n+=o.data}for(var s=0;s<t.length;s++){var c=t[s];c.data=null===c.data?0:c.data,c._proportion_=0===n?1/t.length*i:c.data/n*i,c._radius_=e}for(var l=0;l<t.length;l++){var u=t[l];u._start_=a,a+=2*u._proportion_*Math.PI}return t}function N(t,e,i,n){for(var a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,r=0;r<t.length;r++)"funnel"==i.type?t[r].radius=t[r].data/t[0].data*e*a:t[r].radius=n*(t.length-r)/(n*t.length)*e*a,t[r]._proportion_=t[r].data/t[0].data;return t}function R(t,e,i,n){for(var a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,r=0,o=0,s=[],c=0;c<t.length;c++){var l=t[c];l.data=null===l.data?0:l.data,r+=l.data,s.push(l.data)}for(var u=Math.min.apply(null,s),h=Math.max.apply(null,s),d=n-i,f=0;f<t.length;f++){var p=t[f];p.data=null===p.data?0:p.data,0===r?(p._proportion_=1/t.length*a,p._rose_proportion_=1/t.length*a):(p._proportion_=p.data/r*a,p._rose_proportion_="area"==e?1/t.length*a:p.data/r*a),p._radius_=i+d*((p.data-u)/(h-u))||n}for(var g=0;g<t.length;g++){var v=t[g];v._start_=o,o+=2*v._rose_proportion_*Math.PI}return t}function j(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;1==i&&(i=.999999);for(var n=0;n<t.length;n++){var a=t[n];a.data=null===a.data?0:a.data;var r=void 0;r="circle"==e.type?2:"ccw"==e.direction?e.startAngle<e.endAngle?2+e.startAngle-e.endAngle:e.startAngle-e.endAngle:e.endAngle<e.startAngle?2+e.endAngle-e.startAngle:e.startAngle-e.endAngle,a._proportion_=r*a.data*i+e.startAngle,"ccw"==e.direction&&(a._proportion_=e.startAngle-r*a.data*i),a._proportion_>=2&&(a._proportion_=a._proportion_%2)}return t}function U(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;1==i&&(i=.999999);for(var n=0;n<t.length;n++){var a=t[n];a.data=null===a.data?0:a.data;var r=void 0;r="circle"==e.type?2:e.endAngle<e.startAngle?2+e.endAngle-e.startAngle:e.startAngle-e.endAngle,a._proportion_=r*a.data*i+e.startAngle,a._proportion_>=2&&(a._proportion_=a._proportion_%2)}return t}function B(t,e,i){for(var n=e-i+1,a=e,r=0;r<t.length;r++)t[r].value=null===t[r].value?0:t[r].value,t[r]._startAngle_=a,t[r]._endAngle_=n*t[r].value+e,t[r]._endAngle_>=2&&(t[r]._endAngle_=t[r]._endAngle_%2),a=t[r]._endAngle_;return t}function z(t,e,i){for(var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1,a=0;a<t.length;a++){var r=t[a];if(r.data=null===r.data?0:r.data,"auto"==i.pointer.color){for(var o=0;o<e.length;o++)if(r.data<=e[o].value){r.color=e[o].color;break}}else r.color=i.pointer.color;var s=i.startAngle-i.endAngle+1;r._endAngle_=s*r.data+i.startAngle,r._oldAngle_=i.oldAngle,i.oldAngle<i.endAngle&&(r._oldAngle_+=2),r.data>=i.oldData?r._proportion_=(r._endAngle_-r._oldAngle_)*n+i.oldAngle:r._proportion_=r._oldAngle_-(r._oldAngle_-r._endAngle_)*n,r._proportion_>=2&&(r._proportion_=r._proportion_%2)}return t}function W(t,e,i,n,a,r){return t.map((function(t){if(null===t)return null;var a=0,o=0;return"mix"==r.type?(a=r.extra.mix.column.seriesGap*r.pix||0,o=r.extra.mix.column.categoryGap*r.pix||0):(a=r.extra.column.seriesGap*r.pix||0,o=r.extra.column.categoryGap*r.pix||0),a=Math.min(a,e/i),o=Math.min(o,e/i),t.width=Math.ceil((e-2*o-a*(i-1))/i),r.extra.mix&&r.extra.mix.column.width&&+r.extra.mix.column.width>0&&(t.width=Math.min(t.width,+r.extra.mix.column.width*r.pix)),r.extra.column&&r.extra.column.width&&+r.extra.column.width>0&&(t.width=Math.min(t.width,+r.extra.column.width*r.pix)),t.width<=0&&(t.width=1),t.x+=(n+.5-i/2)*(t.width+a),t}))}function q(t,e,i,n,a,r){return t.map((function(t){if(null===t)return null;var a=0,o=0;return a=r.extra.bar.seriesGap*r.pix||0,o=r.extra.bar.categoryGap*r.pix||0,a=Math.min(a,e/i),o=Math.min(o,e/i),t.width=Math.ceil((e-2*o-a*(i-1))/i),r.extra.bar&&r.extra.bar.width&&+r.extra.bar.width>0&&(t.width=Math.min(t.width,+r.extra.bar.width*r.pix)),t.width<=0&&(t.width=1),t.y+=(n+.5-i/2)*(t.width+a),t}))}function H(t,e,i,n,a,r,o){var s=r.extra.column.categoryGap*r.pix||0;return t.map((function(t){return null===t?null:(t.width=e-2*s,r.extra.column&&r.extra.column.width&&+r.extra.column.width>0&&(t.width=Math.min(t.width,+r.extra.column.width*r.pix)),n>0&&(t.width-=o),t)}))}function G(t,e,i,n,a,r,o){var s=r.extra.column.categoryGap*r.pix||0;return t.map((function(t,i){return null===t?null:(t.width=Math.ceil(e-2*s),r.extra.column&&r.extra.column.width&&+r.extra.column.width>0&&(t.width=Math.min(t.width,+r.extra.column.width*r.pix)),t.width<=0&&(t.width=1),t)}))}function J(t,e,i,n,a,r,o){var s=r.extra.bar.categoryGap*r.pix||0;return t.map((function(t,i){return null===t?null:(t.width=Math.ceil(e-2*s),r.extra.bar&&r.extra.bar.width&&+r.extra.bar.width>0&&(t.width=Math.min(t.width,+r.extra.bar.width*r.pix)),t.width<=0&&(t.width=1),t)}))}function V(t,e,i){var n=e.width-e.area[1]-e.area[3],a=e.enableScroll?Math.min(e.xAxis.itemCount,t.length):t.length;("line"==e.type||"area"==e.type||"scatter"==e.type||"bubble"==e.type||"bar"==e.type)&&a>1&&"justify"==e.xAxis.boundaryGap&&(a-=1);var r=0;"mount"==e.type&&e.extra&&e.extra.mount&&e.extra.mount.widthRatio&&e.extra.mount.widthRatio>1&&(e.extra.mount.widthRatio>2&&(e.extra.mount.widthRatio=2),r=e.extra.mount.widthRatio-1,a+=r);var o=n/a,s=[],c=e.area[3],l=e.width-e.area[1];return t.forEach((function(t,e){s.push(c+r/2*o+e*o)})),"justify"!==e.xAxis.boundaryGap&&(!0===e.enableScroll?s.push(c+r*o+t.length*o):s.push(l)),{xAxisPoints:s,startX:c,endX:l,eachSpacing:o}}function K(t,e,i,n,a,r,o){var s=arguments.length>7&&void 0!==arguments[7]?arguments[7]:1,c=[],l=r.height-r.area[0]-r.area[2];return t.forEach((function(t,o){if(null===t)c.push(null);else{var u=[];t.forEach((function(t,c){var h={};h.x=n[o]+Math.round(a/2);var d=t.value||t,f=l*(d-e)/(i-e);f*=s,h.y=r.height-Math.round(f)-r.area[2],u.push(h)})),c.push(u)}})),c}function X(t,e,i,n,a,o,s){var c=arguments.length>7&&void 0!==arguments[7]?arguments[7]:1,l="center";"line"!=o.type&&"area"!=o.type&&"scatter"!=o.type&&"bubble"!=o.type||(l=o.xAxis.boundaryGap);var u=[],h=o.height-o.area[0]-o.area[2],d=o.width-o.area[1]-o.area[3];return t.forEach((function(t,s){if(null===t)u.push(null);else{var f={};f.color=t.color,f.x=n[s];var p,g,v,m=t;if("object"===(0,r.default)(t)&&null!==t)if(t.constructor.toString().indexOf("Array")>-1)p=[].concat(o.chartData.xAxisData.ranges),g=p.shift(),v=p.pop(),m=t[1],f.x=o.area[3]+d*(t[0]-g)/(v-g),"bubble"==o.type&&(f.r=t[2],f.t=t[3]);else m=t.value;"center"==l&&(f.x+=a/2);var x=h*(m-e)/(i-e);x*=c,f.y=o.height-x-o.area[2],u.push(f)}})),u}function Y(t,e,i,n,a,r,o){var s=arguments.length>7&&void 0!==arguments[7]?arguments[7]:1,c=[],l=r.height-r.area[0]-r.area[2],u=(r.width,r.area[1],r.area[3],a*o.widthRatio);return t.forEach((function(t,o){if(null===t)c.push(null);else{var h={};h.color=t.color,h.x=n[o],h.x+=a/2;var d=t.data,f=l*(d-e)/(i-e);f*=s,h.y=r.height-f-r.area[2],h.value=d,h.width=u,c.push(h)}})),c}function Q(t,e,i,n,a,o,s){var c=arguments.length>7&&void 0!==arguments[7]?arguments[7]:1,l=[],u=(o.height,o.area[0],o.area[2],o.width-o.area[1]-o.area[3]);return t.forEach((function(t,a){if(null===t)l.push(null);else{var s={};s.color=t.color,s.y=n[a];var h=t;"object"===(0,r.default)(t)&&null!==t&&(h=t.value);var d=u*(h-e)/(i-e);d*=c,s.height=d,s.value=h,s.x=d+o.area[3],l.push(s)}})),l}function Z(t,e,i,n,a,o,s,c,l){var u=arguments.length>9&&void 0!==arguments[9]?arguments[9]:1,h=[],d=o.height-o.area[0]-o.area[2];return t.forEach((function(t,s){if(null===t)h.push(null);else{var f={};if(f.color=t.color,f.x=n[s]+Math.round(a/2),c>0){for(var p=0,g=0;g<=c;g++)p+=l[g].data[s];var v=p-t,m=d*(p-e)/(i-e),x=d*(v-e)/(i-e)}else{p=t;"object"===(0,r.default)(t)&&null!==t&&(p=t.value);m=d*(p-e)/(i-e),x=0}var y=x;m*=u,y*=u,f.y=o.height-Math.round(m)-o.area[2],f.y0=o.height-Math.round(y)-o.area[2],h.push(f)}})),h}function tt(t,e,i,n,a,o,s,c,l){var u=arguments.length>9&&void 0!==arguments[9]?arguments[9]:1,h=[],d=o.width-o.area[1]-o.area[3];return t.forEach((function(t,a){if(null===t)h.push(null);else{var s={};if(s.color=t.color,s.y=n[a],c>0){for(var f=0,p=0;p<=c;p++)f+=l[p].data[a];var g=f-t,v=d*(f-e)/(i-e),m=d*(g-e)/(i-e)}else{f=t;"object"===(0,r.default)(t)&&null!==t&&(f=t.value);v=d*(f-e)/(i-e),m=0}var x=m;v*=u,x*=u,s.height=v-x,s.x=o.area[3]+v,s.x0=o.area[3]+x,h.push(s)}})),h}function et(t,e,i,n,a){var o;o="stack"==n?b(t,e.categories.length):_(t);var s=[];o=o.filter((function(t){return"object"===(0,r.default)(t)&&null!==t?t.constructor.toString().indexOf("Array")>-1?null!==t:null!==t.value:null!==t})),o.map((function(t){"object"===(0,r.default)(t)?t.constructor.toString().indexOf("Array")>-1?"candle"==e.type?t.map((function(t){s.push(t)})):s.push(t[1]):s.push(t.value):s.push(t)}));var c=a.min||0,l=a.max||0;s.length>0&&(c=Math.min.apply(this,s),l=Math.max.apply(this,s)),c===l&&(0==l?l=10:c=0);for(var u=x(c,l),h=void 0===a.min||null===a.min?u.minRange:a.min,d=void 0===a.max||null===a.max?u.maxRange:a.max,f=(d-h)/e.yAxis.splitNumber,p=[],g=0;g<=e.yAxis.splitNumber;g++)p.push(h+f*g);return p.reverse()}function it(t,e,i,n){var a=s({},{type:""},e.extra.column),r=e.yAxis.data.length,o=new Array(r);if(r>0){for(var l=0;l<r;l++){o[l]=[];for(var u=0;u<t.length;u++)t[u].index==l&&o[l].push(t[u])}for(var h=new Array(r),d=new Array(r),f=new Array(r),p=function(t){var r=e.yAxis.data[t];1==e.yAxis.disabled&&(r.disabled=!0),"categories"===r.type?(r.formatter||(r.formatter=function(t,e,i){return t+(r.unit||"")}),r.categories=r.categories||e.categories,h[t]=r.categories):(r.formatter||(r.formatter=function(t,e,i){return c.toFixed(t,r.tofix||0)+(r.unit||"")}),h[t]=et(o[t],e,i,a.type,r,t));var s=r.fontSize*e.pix||i.fontSize;f[t]={position:r.position?r.position:"left",width:0},d[t]=h[t].map((function(i,a){return i=r.formatter(i,a,e),f[t].width=Math.max(f[t].width,y(i,s,n)+5),i}));var l=r.calibration?4*e.pix:0;f[t].width+=l+3*e.pix,!0===r.disabled&&(f[t].width=0)},g=0;g<r;g++)p(g)}else{h=new Array(1),d=new Array(1),f=new Array(1);"bar"===e.type?h[0]=e.categories:h[0]=et(t,e,i,a.type,{}),f[0]={position:"left",width:0},!0===e.yAxis.disabled?(f[0]={position:"left",width:0},e.yAxis.data[0]={disabled:!0}):(e.yAxis.data[0]={disabled:!1,position:"left",max:e.yAxis.max,min:e.yAxis.min,formatter:function(t,e,i){return t}},"bar"===e.type&&(e.yAxis.data[0].categories=e.categories,e.yAxis.data[0].type="categories"));var v=e.yAxis.fontSize*e.pix||i.fontSize;d[0]=h[0].map((function(t,i){return t=e.yAxis.data[0].formatter(t,i,e),f[0].width=Math.max(f[0].width,y(t,v,n)+5),t})),f[0].width+=3*e.pix}return{rangesFormat:d,ranges:h,yAxisWidth:f}}function nt(t,e){!0!==e.rotateLock?(t.translate(e.height,0),t.rotate(90*Math.PI/180)):!0!==e._rotate_&&(t.translate(e.height,0),t.rotate(90*Math.PI/180),e._rotate_=!0)}function at(t,e,i,n,a){if(n.beginPath(),"hollow"==a.dataPointShapeType?(n.setStrokeStyle(e),n.setFillStyle(a.background),n.setLineWidth(2*a.pix)):(n.setStrokeStyle("#ffffff"),n.setFillStyle(e),n.setLineWidth(1*a.pix)),"diamond"===i)t.forEach((function(t,e){null!==t&&(n.moveTo(t.x,t.y-4.5),n.lineTo(t.x-4.5,t.y),n.lineTo(t.x,t.y+4.5),n.lineTo(t.x+4.5,t.y),n.lineTo(t.x,t.y-4.5))}));else if("circle"===i)t.forEach((function(t,e){null!==t&&(n.moveTo(t.x+2.5*a.pix,t.y),n.arc(t.x,t.y,3*a.pix,0,2*Math.PI,!1))}));else if("square"===i)t.forEach((function(t,e){null!==t&&(n.moveTo(t.x-3.5,t.y-3.5),n.rect(t.x-3.5,t.y-3.5,7,7))}));else if("triangle"===i)t.forEach((function(t,e){null!==t&&(n.moveTo(t.x,t.y-4.5),n.lineTo(t.x-4.5,t.y+4.5),n.lineTo(t.x+4.5,t.y+4.5),n.lineTo(t.x,t.y-4.5))}));else if("none"===i)return;n.closePath(),n.fill(),n.stroke()}function rt(t,e,i,n){var a=t.title.fontSize||e.titleFontSize,r=t.subtitle.fontSize||e.subtitleFontSize,o=t.title.name||"",s=t.subtitle.name||"",c=t.title.color||t.fontColor,l=t.subtitle.color||t.fontColor,u=o?a:0,h=s?r:0;if(s){var d=y(s,r*t.pix,i),f=n.x-d/2+(t.subtitle.offsetX||0)*t.pix,p=n.y+r*t.pix/2+(t.subtitle.offsetY||0)*t.pix;o&&(p+=(u*t.pix+5)/2),i.beginPath(),i.setFontSize(r*t.pix),i.setFillStyle(l),i.fillText(s,f,p),i.closePath(),i.stroke()}if(o){var g=y(o,a*t.pix,i),v=n.x-g/2+(t.title.offsetX||0),m=n.y+a*t.pix/2+(t.title.offsetY||0)*t.pix;s&&(m-=(h*t.pix+5)/2),i.beginPath(),i.setFontSize(a*t.pix),i.setFillStyle(c),i.fillText(o,v,m),i.closePath(),i.stroke()}}function ot(t,e,i,n,a){var o=e.data,s=e.textOffset?e.textOffset:0;t.forEach((function(t,c){if(null!==t){n.beginPath();var l=e.textSize?e.textSize*a.pix:i.fontSize;n.setFontSize(l),n.setFillStyle(e.textColor||a.fontColor);var u=o[c];"object"===(0,r.default)(o[c])&&null!==o[c]&&(u=o[c].constructor.toString().indexOf("Array")>-1?o[c][1]:o[c].value);var h=e.formatter?e.formatter(u,c,e,a):u;n.setTextAlign("center"),n.fillText(String(h),t.x,t.y-4+s*a.pix),n.closePath(),n.stroke(),n.setTextAlign("left")}}))}function st(t,e,i,n,a){e.data;var r=e.textOffset?e.textOffset:0;t.forEach((function(t,o){if(null!==t){n.beginPath();var s=e[o].textSize?e[o].textSize*a.pix:i.fontSize;n.setFontSize(s),n.setFillStyle(e[o].textColor||a.fontColor);var c=t.value,l=e[o].formatter?e[o].formatter(c,o,e,a):c;n.setTextAlign("center"),n.fillText(String(l),t.x,t.y-4+r*a.pix),n.closePath(),n.stroke(),n.setTextAlign("left")}}))}function ct(t,e,i,n,a){var o=e.data;e.textOffset&&e.textOffset;t.forEach((function(t,s){if(null!==t){n.beginPath();var c=e.textSize?e.textSize*a.pix:i.fontSize;n.setFontSize(c),n.setFillStyle(e.textColor||a.fontColor);var l=o[s];"object"===(0,r.default)(o[s])&&null!==o[s]&&(l=o[s].value);var u=e.formatter?e.formatter(l,s,e,a):l;n.setTextAlign("left"),n.fillText(String(u),t.x+4*a.pix,t.y+c/2-3),n.closePath(),n.stroke()}}))}function lt(t,e,i,n,a,r){e-=t.width/2+t.labelOffset*n.pix,e=e<10?10:e;for(var o=t.startAngle-t.endAngle+1,s=o/t.splitLine.splitNumber,c=t.endNumber-t.startNumber,l=c/t.splitLine.splitNumber,u=t.startAngle,h=t.startNumber,d=0;d<t.splitLine.splitNumber+1;d++){var f={x:e*Math.cos(u*Math.PI),y:e*Math.sin(u*Math.PI)},p=t.formatter?t.formatter(h,d,n):h;f.x+=i.x-y(p,a.fontSize,r)/2,f.y+=i.y;var g=f.x,v=f.y;r.beginPath(),r.setFontSize(a.fontSize),r.setFillStyle(t.labelColor||n.fontColor),r.fillText(p,g,v+a.fontSize/2),r.closePath(),r.stroke(),u+=s,u>=2&&(u%=2),h+=l}}function ut(t,e,i,n,a,r){var o=n.extra.radar||{};t.forEach((function(t,s){if(!0===o.labelPointShow&&""!==n.categories[s]){var l={x:e*Math.cos(t),y:e*Math.sin(t)},u=p(l.x,l.y,i);r.setFillStyle(o.labelPointColor),r.beginPath(),r.arc(u.x,u.y,o.labelPointRadius*n.pix,0,2*Math.PI,!1),r.closePath(),r.fill()}var h={x:(e+a.radarLabelTextMargin*n.pix)*Math.cos(t),y:(e+a.radarLabelTextMargin*n.pix)*Math.sin(t)},d=p(h.x,h.y,i),f=d.x,g=d.y;c.approximatelyEqual(h.x,0)?f-=y(n.categories[s]||"",a.fontSize,r)/2:h.x<0&&(f-=y(n.categories[s]||"",a.fontSize,r)),r.beginPath(),r.setFontSize(a.fontSize),r.setFillStyle(o.labelColor||n.fontColor),r.fillText(n.categories[s]||"",f,g+a.fontSize/2),r.closePath(),r.stroke()}))}function ht(t,e,i,n,a,r){for(var o=i.pieChartLinePadding,s=[],l=null,u=t.map((function(i,n){var a=i.formatter?i.formatter(i,n,t,e):c.toFixed(100*i._proportion_.toFixed(4))+"%";a=i.labelText?i.labelText:a;var r=2*Math.PI-(i._start_+2*Math.PI*i._proportion_/2);i._rose_proportion_&&(r=2*Math.PI-(i._start_+2*Math.PI*i._rose_proportion_/2));var o=i.color,s=i._radius_;return{arc:r,text:a,color:o,radius:s,textColor:i.textColor,textSize:i.textSize,labelShow:i.labelShow}})),h=0;h<u.length;h++){var d=u[h],f=Math.cos(d.arc)*(d.radius+o),v=Math.sin(d.arc)*(d.radius+o),m=Math.cos(d.arc)*d.radius,x=Math.sin(d.arc)*d.radius,_=f>=0?f+i.pieChartTextPadding:f-i.pieChartTextPadding,b=v,w=y(d.text,d.textSize*e.pix||i.fontSize,n),S=b;l&&c.isSameXCoordinateArea(l.start,{x:_})&&(S=_>0?Math.min(b,l.start.y):f<0||b>0?Math.max(b,l.start.y):Math.min(b,l.start.y)),_<0&&(_-=w);var k={lineStart:{x:m,y:x},lineEnd:{x:f,y:v},start:{x:_,y:S},width:w,height:i.fontSize,text:d.text,color:d.color,textColor:d.textColor,textSize:d.textSize};l=g(k,l),s.push(l)}for(var C=0;C<s.length;C++)if(!1!==u[C].labelShow){var T=s[C],P=p(T.lineStart.x,T.lineStart.y,r),A=p(T.lineEnd.x,T.lineEnd.y,r),O=p(T.start.x,T.start.y,r);n.setLineWidth(1*e.pix),n.setFontSize(T.textSize*e.pix||i.fontSize),n.beginPath(),n.setStrokeStyle(T.color),n.setFillStyle(T.color),n.moveTo(P.x,P.y);var I=T.start.x<0?O.x+T.width:O.x,L=T.start.x<0?O.x-5:O.x+5;n.quadraticCurveTo(A.x,A.y,I,O.y),n.moveTo(P.x,P.y),n.stroke(),n.closePath(),n.beginPath(),n.moveTo(O.x+T.width,O.y),n.arc(I,O.y,2*e.pix,0,2*Math.PI),n.closePath(),n.fill(),n.beginPath(),n.setFontSize(T.textSize*e.pix||i.fontSize),n.setFillStyle(T.textColor||e.fontColor),n.fillText(T.text,L,O.y+3),n.closePath(),n.stroke(),n.closePath()}}function dt(t,e,i){for(var n=s({},{type:"solid",dashLength:4,data:[]},t.extra.markLine),a=t.area[3],r=t.width-t.area[1],o=function(t,e){for(var i,n,a=e.height-e.area[0]-e.area[2],r=0;r<t.length;r++){t[r].yAxisIndex=t[r].yAxisIndex?t[r].yAxisIndex:0;var o=[].concat(e.chartData.yAxisData.ranges[t[r].yAxisIndex]);i=o.pop(),n=o.shift();var s=a*(t[r].value-i)/(n-i);t[r].y=e.height-Math.round(s)-e.area[2]}return t}(n.data,t),c=0;c<o.length;c++){var u=s({},{lineColor:"#DE4A42",showLabel:!1,labelFontColor:"#666666",labelBgColor:"#DFE8FF",labelBgOpacity:.8,labelAlign:"left",labelOffsetX:0,labelOffsetY:0},o[c]);if("dash"==n.type&&i.setLineDash([n.dashLength,n.dashLength]),i.setStrokeStyle(u.lineColor),i.setLineWidth(1*t.pix),i.beginPath(),i.moveTo(a,u.y),i.lineTo(r,u.y),i.stroke(),i.setLineDash([]),u.showLabel){var h=u.labelText?u.labelText:u.value;i.setFontSize(e.fontSize);var d=y(h,e.fontSize,i),f=d+2*e.toolTipPadding,p="left"==u.labelAlign?t.area[3]-f:t.width-t.area[1];p+=u.labelOffsetX;var g=u.y-.5*e.fontSize-e.toolTipPadding;g+=u.labelOffsetY;var v=p+e.toolTipPadding;u.y;i.setFillStyle(l(u.labelBgColor,u.labelBgOpacity)),i.setStrokeStyle(u.labelBgColor),i.setLineWidth(1*t.pix),i.beginPath(),i.rect(p,g,f,e.fontSize+2*e.toolTipPadding),i.closePath(),i.stroke(),i.fill(),i.setFontSize(e.fontSize),i.setTextAlign("left"),i.setFillStyle(u.labelFontColor),i.fillText(String(h),v,g+e.fontSize+e.toolTipPadding/2),i.stroke(),i.setTextAlign("left")}}}function ft(t,e,i,n,a){var r=s({},{gridType:"solid",dashLength:4},t.extra.tooltip),o=t.area[3],c=t.width-t.area[1];if("dash"==r.gridType&&i.setLineDash([r.dashLength,r.dashLength]),i.setStrokeStyle(r.gridColor||"#cccccc"),i.setLineWidth(1*t.pix),i.beginPath(),i.moveTo(o,t.tooltip.offset.y),i.lineTo(c,t.tooltip.offset.y),i.stroke(),i.setLineDash([]),r.yAxisLabel)for(var u=function(t,e,i,n,a){for(var r=[].concat(i.chartData.yAxisData.ranges),o=i.height-i.area[0]-i.area[2],s=i.area[0],c=[],l=0;l<r.length;l++){var u=Math.max.apply(this,r[l]),h=Math.min.apply(this,r[l]),d=u-(u-h)*(t-s)/o;d=i.yAxis.data&&i.yAxis.data[l].formatter?i.yAxis.data[l].formatter(d,l,i):d.toFixed(0),c.push(String(d))}return c}(t.tooltip.offset.y,t.series,t),h=t.chartData.yAxisData.yAxisWidth,d=t.area[3],f=t.width-t.area[1],p=0;p<u.length;p++){i.setFontSize(e.fontSize);var g,v=y(u[p],e.fontSize,i),m=void 0,x=void 0;"left"==h[p].position?(m=d-(v+2*e.toolTipPadding)-2*t.pix,x=Math.max(m,m+v+2*e.toolTipPadding)):(m=f+2*t.pix,x=Math.max(m+h[p].width,m+v+2*e.toolTipPadding)),g=x-m;var _=m+(g-v)/2,b=t.tooltip.offset.y;i.beginPath(),i.setFillStyle(l(r.labelBgColor||e.toolTipBackground,r.labelBgOpacity||e.toolTipOpacity)),i.setStrokeStyle(r.labelBgColor||e.toolTipBackground),i.setLineWidth(1*t.pix),i.rect(m,b-.5*e.fontSize-e.toolTipPadding,g,e.fontSize+2*e.toolTipPadding),i.closePath(),i.stroke(),i.fill(),i.beginPath(),i.setFontSize(e.fontSize),i.setFillStyle(r.labelFontColor||t.fontColor),i.fillText(u[p],_,b+.5*e.fontSize),i.closePath(),i.stroke(),"left"==h[p].position?d-=h[p].width+t.yAxis.padding*t.pix:f+=h[p].width+t.yAxis.padding*t.pix}}function pt(t,e,i,n,a){var r=s({},{activeBgColor:"#000000",activeBgOpacity:.08,activeWidth:a},e.extra.column);r.activeWidth=r.activeWidth>a?a:r.activeWidth;var o=e.area[0],c=e.height-e.area[2];n.beginPath(),n.setFillStyle(l(r.activeBgColor,r.activeBgOpacity)),n.rect(t-r.activeWidth/2,o,r.activeWidth,c-o),n.closePath(),n.fill(),n.setFillStyle("#FFFFFF")}function gt(t,e,i,n,a){var r=s({},{activeBgColor:"#000000",activeBgOpacity:.08},e.extra.bar),o=e.area[3],c=e.width-e.area[1];n.beginPath(),n.setFillStyle(l(r.activeBgColor,r.activeBgOpacity)),n.rect(o,t-a/2,c-o,a),n.closePath(),n.fill(),n.setFillStyle("#FFFFFF")}function vt(t,e,i,n,a,r,o){var c=s({},{showBox:!0,showArrow:!0,showCategory:!1,bgColor:"#000000",bgOpacity:.7,borderColor:"#000000",borderWidth:0,borderRadius:0,borderOpacity:.7,fontColor:"#FFFFFF",splitLine:!0},i.extra.tooltip);1==c.showCategory&&i.categories&&t.unshift({text:i.categories[i.tooltip.index],color:null});var u=4*i.pix,h=5*i.pix,d=c.showArrow?8*i.pix:0,f=!1;"line"!=i.type&&"mount"!=i.type&&"area"!=i.type&&"candle"!=i.type&&"mix"!=i.type||1==c.splitLine&&function(t,e,i,n){var a=e.extra.tooltip||{};a.gridType=void 0==a.gridType?"solid":a.gridType,a.dashLength=void 0==a.dashLength?4:a.dashLength;var r=e.area[0],o=e.height-e.area[2];if("dash"==a.gridType&&n.setLineDash([a.dashLength,a.dashLength]),n.setStrokeStyle(a.gridColor||"#cccccc"),n.setLineWidth(1*e.pix),n.beginPath(),n.moveTo(t,r),n.lineTo(t,o),n.stroke(),n.setLineDash([]),a.xAxisLabel){var s=e.categories[e.tooltip.index];n.setFontSize(i.fontSize);var c=y(s,i.fontSize,n),u=t-.5*c,h=o+2*e.pix;n.beginPath(),n.setFillStyle(l(a.labelBgColor||i.toolTipBackground,a.labelBgOpacity||i.toolTipOpacity)),n.setStrokeStyle(a.labelBgColor||i.toolTipBackground),n.setLineWidth(1*e.pix),n.rect(u-i.toolTipPadding,h,c+2*i.toolTipPadding,i.fontSize+2*i.toolTipPadding),n.closePath(),n.stroke(),n.fill(),n.beginPath(),n.setFontSize(i.fontSize),n.setFillStyle(a.labelFontColor||e.fontColor),n.fillText(String(s),u,h+i.toolTipPadding+i.fontSize),n.closePath(),n.stroke()}}(i.tooltip.offset.x,i,n,a),e=s({x:0,y:0},e),e.y-=8*i.pix;var p=t.map((function(t){return y(t.text,n.fontSize,a)})),g=u+h+4*n.toolTipPadding+Math.max.apply(null,p),v=2*n.toolTipPadding+t.length*n.toolTipLineHeight;if(0!=c.showBox){e.x-Math.abs(i._scrollDistance_||0)+d+g>i.width&&(f=!0),v+e.y>i.height&&(e.y=i.height-v),a.beginPath(),a.setFillStyle(l(c.bgColor||n.toolTipBackground,c.bgOpacity||n.toolTipOpacity)),a.setLineWidth(c.borderWidth*i.pix),a.setStrokeStyle(l(c.borderColor,c.borderOpacity));var m=c.borderRadius;f?(g+d>i.width&&(e.x=i.width+Math.abs(i._scrollDistance_||0)+d+(g-i.width)),c.showArrow&&(a.moveTo(e.x,e.y+10*i.pix),a.lineTo(e.x-d,e.y+10*i.pix+5*i.pix)),a.arc(e.x-d-m,e.y+v-m,m,0,Math.PI/2,!1),a.arc(e.x-d-Math.round(g)+m,e.y+v-m,m,Math.PI/2,Math.PI,!1),a.arc(e.x-d-Math.round(g)+m,e.y+m,m,-Math.PI,-Math.PI/2,!1),a.arc(e.x-d-m,e.y+m,m,-Math.PI/2,0,!1),c.showArrow&&(a.lineTo(e.x-d,e.y+10*i.pix-5*i.pix),a.lineTo(e.x,e.y+10*i.pix))):(c.showArrow&&(a.moveTo(e.x,e.y+10*i.pix),a.lineTo(e.x+d,e.y+10*i.pix-5*i.pix)),a.arc(e.x+d+m,e.y+m,m,-Math.PI,-Math.PI/2,!1),a.arc(e.x+d+Math.round(g)-m,e.y+m,m,-Math.PI/2,0,!1),a.arc(e.x+d+Math.round(g)-m,e.y+v-m,m,0,Math.PI/2,!1),a.arc(e.x+d+m,e.y+v-m,m,Math.PI/2,Math.PI,!1),c.showArrow&&(a.lineTo(e.x+d,e.y+10*i.pix+5*i.pix),a.lineTo(e.x,e.y+10*i.pix))),a.closePath(),a.fill(),c.borderWidth>0&&a.stroke(),t.forEach((function(t,i){if(null!==t.color){a.beginPath(),a.setFillStyle(t.color);var r=e.x+d+2*n.toolTipPadding,o=e.y+(n.toolTipLineHeight-n.fontSize)/2+n.toolTipLineHeight*i+n.toolTipPadding+1;f&&(r=e.x-g-d+2*n.toolTipPadding),a.fillRect(r,o,u,n.fontSize),a.closePath(),a.fill()}})),t.forEach((function(t,i){var r=e.x+d+2*n.toolTipPadding+u+h;f&&(r=e.x-g-d+2*n.toolTipPadding+ +u+h);var o=e.y+(n.toolTipLineHeight-n.fontSize)/2+n.toolTipLineHeight*i+n.toolTipPadding;a.beginPath(),a.setFontSize(n.fontSize),a.setFillStyle(c.fontColor),a.fillText(t.text,r,o+n.fontSize),a.closePath(),a.stroke()}))}}function mt(t,e,i,n,a,r){var o=t.extra.tooltip||{};o.horizentalLine&&t.tooltip&&1===n&&("line"==t.type||"area"==t.type||"column"==t.type||"mount"==t.type||"candle"==t.type||"mix"==t.type)&&ft(t,e,i),i.save(),t._scrollDistance_&&0!==t._scrollDistance_&&!0===t.enableScroll&&i.translate(t._scrollDistance_,0),t.tooltip&&t.tooltip.textList&&t.tooltip.textList.length&&1===n&&vt(t.tooltip.textList,t.tooltip.offset,t,e,i),i.restore()}function xt(t,e,i,n){var a=e.chartData.xAxisData,r=a.xAxisPoints,o=a.startX,s=a.endX,c=a.eachSpacing,l="center";"bar"!=e.type&&"line"!=e.type&&"area"!=e.type&&"scatter"!=e.type&&"bubble"!=e.type||(l=e.xAxis.boundaryGap);var u=e.height-e.area[2],h=e.area[0];if(e.enableScroll&&e.xAxis.scrollShow){var d=e.height-e.area[2]+i.xAxisHeight,f=s-o,p=c*(r.length-1);"mount"==e.type&&e.extra&&e.extra.mount&&e.extra.mount.widthRatio&&e.extra.mount.widthRatio>1&&(e.extra.mount.widthRatio>2&&(e.extra.mount.widthRatio=2),p+=(e.extra.mount.widthRatio-1)*c);var g=f*f/p,v=0;e._scrollDistance_&&(v=-e._scrollDistance_*f/p),n.beginPath(),n.setLineCap("round"),n.setLineWidth(6*e.pix),n.setStrokeStyle(e.xAxis.scrollBackgroundColor||"#EFEBEF"),n.moveTo(o,d),n.lineTo(s,d),n.stroke(),n.closePath(),n.beginPath(),n.setLineCap("round"),n.setLineWidth(6*e.pix),n.setStrokeStyle(e.xAxis.scrollColor||"#A6A6A6"),n.moveTo(o+v,d),n.lineTo(o+v+g,d),n.stroke(),n.closePath(),n.setLineCap("butt")}if(n.save(),e._scrollDistance_&&0!==e._scrollDistance_&&n.translate(e._scrollDistance_,0),!0===e.xAxis.calibration&&(n.setStrokeStyle(e.xAxis.gridColor||"#cccccc"),n.setLineCap("butt"),n.setLineWidth(1*e.pix),r.forEach((function(t,i){i>0&&(n.beginPath(),n.moveTo(t-c/2,u),n.lineTo(t-c/2,u+3*e.pix),n.closePath(),n.stroke())}))),!0!==e.xAxis.disableGrid&&(n.setStrokeStyle(e.xAxis.gridColor||"#cccccc"),n.setLineCap("butt"),n.setLineWidth(1*e.pix),"dash"==e.xAxis.gridType&&n.setLineDash([e.xAxis.dashLength*e.pix,e.xAxis.dashLength*e.pix]),e.xAxis.gridEval=e.xAxis.gridEval||1,r.forEach((function(t,i){i%e.xAxis.gridEval==0&&(n.beginPath(),n.moveTo(t,u),n.lineTo(t,h),n.stroke())})),n.setLineDash([])),!0!==e.xAxis.disabled){var m=t.length;e.xAxis.labelCount&&(m=e.xAxis.itemCount?Math.ceil(t.length/e.xAxis.itemCount*e.xAxis.labelCount):e.xAxis.labelCount,m-=1);for(var x=Math.ceil(t.length/m),_=[],b=t.length,w=0;w<b;w++)w%x!==0?_.push(""):_.push(t[w]);_[b-1]=t[b-1];var S=e.xAxis.fontSize*e.pix||i.fontSize;0===i._xAxisTextAngle_?_.forEach((function(t,a){var o=e.xAxis.formatter?e.xAxis.formatter(t,a,e):t,s=-y(String(o),S,n)/2;"center"==l&&(s+=c/2);var h=0;e.xAxis.scrollShow&&(h=6*e.pix);var d=e._scrollDistance_||0,f="center"==l?r[a]+c/2:r[a];f-Math.abs(d)>=e.area[3]&&f-Math.abs(d)<=e.width-e.area[1]&&(n.beginPath(),n.setFontSize(S),n.setFillStyle(e.xAxis.fontColor||e.fontColor),n.fillText(String(o),r[a]+s,u+S+(i.xAxisHeight-h-S)/2),n.closePath(),n.stroke())})):_.forEach((function(t,a){var o=e.xAxis.formatter?e.xAxis.formatter(t):t,s=e._scrollDistance_||0,h="center"==l?r[a]+c/2:r[a];if(h-Math.abs(s)>=e.area[3]&&h-Math.abs(s)<=e.width-e.area[1]){n.save(),n.beginPath(),n.setFontSize(S),n.setFillStyle(e.xAxis.fontColor||e.fontColor);var d=y(String(o),S,n),f=r[a];"center"==l&&(f=r[a]+c/2);e.xAxis.scrollShow&&6*e.pix;var p=u+6*e.pix+S-S*Math.abs(Math.sin(i._xAxisTextAngle_));e.xAxis.rotateAngle<0?(f-=S/2,d=0):(f+=S/2,d=-d),n.translate(f,p),n.rotate(-1*i._xAxisTextAngle_),n.fillText(String(o),d,0),n.closePath(),n.stroke(),n.restore()}}))}n.restore(),e.xAxis.axisLine&&(n.beginPath(),n.setStrokeStyle(e.xAxis.axisLineColor),n.setLineWidth(1*e.pix),n.moveTo(o,e.height-e.area[2]),n.lineTo(s,e.height-e.area[2]),n.stroke())}function yt(t,e,i,n){if(!0!==e.yAxis.disableGrid){var a=e.height-e.area[0]-e.area[2],r=a/e.yAxis.splitNumber,o=e.area[3],s=e.chartData.xAxisData.xAxisPoints,c=e.chartData.xAxisData.eachSpacing,l=c*(s.length-1);"mount"==e.type&&e.extra&&e.extra.mount&&e.extra.mount.widthRatio&&e.extra.mount.widthRatio>1&&(e.extra.mount.widthRatio>2&&(e.extra.mount.widthRatio=2),l+=(e.extra.mount.widthRatio-1)*c);var u=o+l,h=[],d=1;!1===e.xAxis.axisLine&&(d=0);for(var f=d;f<e.yAxis.splitNumber+1;f++)h.push(e.height-e.area[2]-r*f);n.save(),e._scrollDistance_&&0!==e._scrollDistance_&&n.translate(e._scrollDistance_,0),"dash"==e.yAxis.gridType&&n.setLineDash([e.yAxis.dashLength*e.pix,e.yAxis.dashLength*e.pix]),n.setStrokeStyle(e.yAxis.gridColor),n.setLineWidth(1*e.pix),h.forEach((function(t,e){n.beginPath(),n.moveTo(o,t),n.lineTo(u,t),n.stroke()})),n.setLineDash([]),n.restore()}}function _t(t,e,i,n){if(!0!==e.yAxis.disabled){var a=e.height-e.area[0]-e.area[2],r=a/e.yAxis.splitNumber,o=e.area[3],s=e.width-e.area[1],c=e.height-e.area[2];n.beginPath(),n.setFillStyle(e.background),1==e.enableScroll&&e.xAxis.scrollPosition&&"left"!==e.xAxis.scrollPosition&&n.fillRect(0,0,o,c+2*e.pix),1==e.enableScroll&&e.xAxis.scrollPosition&&"right"!==e.xAxis.scrollPosition&&n.fillRect(s,0,e.width,c+2*e.pix),n.closePath(),n.stroke();var l=e.area[3],u=e.width-e.area[1],h=e.area[3]+(e.width-e.area[1]-e.area[3])/2;if(e.yAxis.data)for(var d=function(t){var o=e.yAxis.data[t];if(p=[],"categories"===o.type)for(var s=0;s<=o.categories.length;s++)p.push(e.area[0]+a/o.categories.length/2+a/o.categories.length*s);else for(var c=0;c<=e.yAxis.splitNumber;c++)p.push(e.area[0]+r*c);if(!0!==o.disabled){var d=e.chartData.yAxisData.rangesFormat[t],f=o.fontSize?o.fontSize*e.pix:i.fontSize,g=e.chartData.yAxisData.yAxisWidth[t],v=o.textAlign||"right";if(d.forEach((function(t,i){var a=p[i];n.beginPath(),n.setFontSize(f),n.setLineWidth(1*e.pix),n.setStrokeStyle(o.axisLineColor||"#cccccc"),n.setFillStyle(o.fontColor||e.fontColor);var r=0,s=4*e.pix;if("left"==g.position){switch(1==o.calibration&&(n.moveTo(l,a),n.lineTo(l-3*e.pix,a),s+=3*e.pix),v){case"left":n.setTextAlign("left"),r=l-g.width;break;case"right":n.setTextAlign("right"),r=l-s;break;default:n.setTextAlign("center"),r=l-g.width/2}n.fillText(String(t),r,a+f/2-3*e.pix)}else if("right"==g.position){switch(1==o.calibration&&(n.moveTo(u,a),n.lineTo(u+3*e.pix,a),s+=3*e.pix),v){case"left":n.setTextAlign("left"),r=u+s;break;case"right":n.setTextAlign("right"),r=u+g.width;break;default:n.setTextAlign("center"),r=u+g.width/2}n.fillText(String(t),r,a+f/2-3*e.pix)}else if("center"==g.position){switch(1==o.calibration&&(n.moveTo(h,a),n.lineTo(h-3*e.pix,a),s+=3*e.pix),v){case"left":n.setTextAlign("left"),r=h-g.width;break;case"right":n.setTextAlign("right"),r=h-s;break;default:n.setTextAlign("center"),r=h-g.width/2}n.fillText(String(t),r,a+f/2-3*e.pix)}n.closePath(),n.stroke(),n.setTextAlign("left")})),!1!==o.axisLine&&(n.beginPath(),n.setStrokeStyle(o.axisLineColor||"#cccccc"),n.setLineWidth(1*e.pix),"left"==g.position?(n.moveTo(l,e.height-e.area[2]),n.lineTo(l,e.area[0])):"right"==g.position?(n.moveTo(u,e.height-e.area[2]),n.lineTo(u,e.area[0])):"center"==g.position&&(n.moveTo(h,e.height-e.area[2]),n.lineTo(h,e.area[0])),n.stroke()),e.yAxis.showTitle){var m=o.titleFontSize*e.pix||i.fontSize,x=o.title;n.beginPath(),n.setFontSize(m),n.setFillStyle(o.titleFontColor||e.fontColor),"left"==g.position?n.fillText(x,l-y(x,m,n)/2+(o.titleOffsetX||0),e.area[0]-(10-(o.titleOffsetY||0))*e.pix):"right"==g.position?n.fillText(x,u-y(x,m,n)/2+(o.titleOffsetX||0),e.area[0]-(10-(o.titleOffsetY||0))*e.pix):"center"==g.position&&n.fillText(x,h-y(x,m,n)/2+(o.titleOffsetX||0),e.area[0]-(10-(o.titleOffsetY||0))*e.pix),n.closePath(),n.stroke()}"left"==g.position?l-=g.width+e.yAxis.padding*e.pix:u+=g.width+e.yAxis.padding*e.pix}},f=0;f<e.yAxis.data.length;f++){var p;d(f)}}}function bt(t,e,i,n,a){if(!1!==e.legend.show){var r=a.legendData,o=r.points,s=r.area,c=e.legend.padding*e.pix,l=e.legend.fontSize*e.pix,u=15*e.pix,h=5*e.pix,d=e.legend.itemGap*e.pix,f=Math.max(e.legend.lineHeight*e.pix,l);n.beginPath(),n.setLineWidth(e.legend.borderWidth*e.pix),n.setStrokeStyle(e.legend.borderColor),n.setFillStyle(e.legend.backgroundColor),n.moveTo(s.start.x,s.start.y),n.rect(s.start.x,s.start.y,s.width,s.height),n.closePath(),n.fill(),n.stroke(),o.forEach((function(t,a){var o,p=0;p=r.widthArr[a],o=r.heightArr[a];var g=0,v=0;if("top"==e.legend.position||"bottom"==e.legend.position){switch(e.legend.float){case"left":g=s.start.x+c;break;case"right":g=s.start.x+s.width-p;break;default:g=s.start.x+(s.width-p)/2}v=s.start.y+c+a*f}else p=0==a?0:r.widthArr[a-1],g=s.start.x+c+p,v=s.start.y+c+(s.height-o)/2;n.setFontSize(i.fontSize);for(var m=0;m<t.length;m++){var x=t[m];switch(x.area=[0,0,0,0],x.area[0]=g,x.area[1]=v,x.area[3]=v+f,n.beginPath(),n.setLineWidth(1*e.pix),n.setStrokeStyle(x.show?x.color:e.legend.hiddenColor),n.setFillStyle(x.show?x.color:e.legend.hiddenColor),x.legendShape){case"line":n.moveTo(g,v+.5*f-2*e.pix),n.fillRect(g,v+.5*f-2*e.pix,15*e.pix,4*e.pix);break;case"triangle":n.moveTo(g+7.5*e.pix,v+.5*f-5*e.pix),n.lineTo(g+2.5*e.pix,v+.5*f+5*e.pix),n.lineTo(g+12.5*e.pix,v+.5*f+5*e.pix),n.lineTo(g+7.5*e.pix,v+.5*f-5*e.pix);break;case"diamond":n.moveTo(g+7.5*e.pix,v+.5*f-5*e.pix),n.lineTo(g+2.5*e.pix,v+.5*f),n.lineTo(g+7.5*e.pix,v+.5*f+5*e.pix),n.lineTo(g+12.5*e.pix,v+.5*f),n.lineTo(g+7.5*e.pix,v+.5*f-5*e.pix);break;case"circle":n.moveTo(g+7.5*e.pix,v+.5*f),n.arc(g+7.5*e.pix,v+.5*f,5*e.pix,0,2*Math.PI);break;case"rect":n.moveTo(g,v+.5*f-5*e.pix),n.fillRect(g,v+.5*f-5*e.pix,15*e.pix,10*e.pix);break;case"square":n.moveTo(g+5*e.pix,v+.5*f-5*e.pix),n.fillRect(g+5*e.pix,v+.5*f-5*e.pix,10*e.pix,10*e.pix);break;case"none":break;default:n.moveTo(g,v+.5*f-5*e.pix),n.fillRect(g,v+.5*f-5*e.pix,15*e.pix,10*e.pix)}n.closePath(),n.fill(),n.stroke(),g+=u+h;var _=.5*f+.5*l-2,b=x.legendText?x.legendText:x.name;n.beginPath(),n.setFontSize(l),n.setFillStyle(x.show?e.legend.fontColor:e.legend.hiddenColor),n.fillText(b,g,v+_),n.closePath(),n.stroke(),"top"==e.legend.position||"bottom"==e.legend.position?(g+=y(b,l,n)+d,x.area[2]=g):(x.area[2]=g+y(b,l,n)+d,g-=u+h,v+=f)}}))}}function wt(t,e,i,n){var a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,r=s({},{activeOpacity:.5,activeRadius:10,offsetAngle:0,labelWidth:15,ringWidth:30,customRadius:0,border:!1,borderWidth:2,borderColor:"#FFFFFF",centerColor:"#FFFFFF",linearType:"none",customColor:[]},"pie"==e.type?e.extra.pie:e.extra.ring),o={x:e.area[3]+(e.width-e.area[1]-e.area[3])/2,y:e.area[0]+(e.height-e.area[0]-e.area[2])/2};0==i.pieChartLinePadding&&(i.pieChartLinePadding=r.activeRadius*e.pix);var c=Math.min((e.width-e.area[1]-e.area[3])/2-i.pieChartLinePadding-i.pieChartTextPadding-i._pieTextMaxLength_,(e.height-e.area[0]-e.area[2])/2-i.pieChartLinePadding-i.pieChartTextPadding);c=c<10?10:c,r.customRadius>0&&(c=r.customRadius*e.pix),t=$(t,c,a);var u=r.activeRadius*e.pix;if(r.customColor=m(r.linearType,r.customColor,t,i),t=t.map((function(t){return t._start_+=r.offsetAngle*Math.PI/180,t})),t.forEach((function(t,i){e.tooltip&&e.tooltip.index==i&&(n.beginPath(),n.setFillStyle(l(t.color,r.activeOpacity||.5)),n.moveTo(o.x,o.y),n.arc(o.x,o.y,t._radius_+u,t._start_,t._start_+2*t._proportion_*Math.PI),n.closePath(),n.fill()),n.beginPath(),n.setLineWidth(r.borderWidth*e.pix),n.lineJoin="round",n.setStrokeStyle(r.borderColor);var a,s=t.color;"custom"==r.linearType&&(a=n.createCircularGradient?n.createCircularGradient(o.x,o.y,t._radius_):n.createRadialGradient(o.x,o.y,0,o.x,o.y,t._radius_),a.addColorStop(0,l(r.customColor[t.linearIndex],1)),a.addColorStop(1,l(t.color,1)),s=a);n.setFillStyle(s),n.moveTo(o.x,o.y),n.arc(o.x,o.y,t._radius_,t._start_,t._start_+2*t._proportion_*Math.PI),n.closePath(),n.fill(),1==r.border&&n.stroke()})),"ring"===e.type){var h=.6*c;"number"===typeof r.ringWidth&&r.ringWidth>0&&(h=Math.max(0,c-r.ringWidth*e.pix)),n.beginPath(),n.setFillStyle(r.centerColor),n.moveTo(o.x,o.y),n.arc(o.x,o.y,h,0,2*Math.PI),n.closePath(),n.fill()}return!1!==e.dataLabel&&1===a&&ht(t,e,i,n,0,o),1===a&&"ring"===e.type&&rt(e,i,n,o),{center:o,radius:c,series:t}}function St(t,e){var i=Array(2),n=20037508.34*t/180,a=Math.log(Math.tan((90+e)*Math.PI/360))/(Math.PI/180);return a=20037508.34*a/180,i[0]=n,i[1]=a,i}function kt(t,e,i,n,a,r){return{x:(e-i.xMin)*n+a,y:(i.yMax-t)*n+r}}function Ct(t,e,i){if(e[1]==i[1])return!1;if(e[1]>t[1]&&i[1]>t[1])return!1;if(e[1]<t[1]&&i[1]<t[1])return!1;if(e[1]==t[1]&&i[1]>t[1])return!1;if(i[1]==t[1]&&e[1]>t[1])return!1;if(e[0]<t[0]&&i[1]<t[1])return!1;var n=i[0]-(i[0]-e[0])*(i[1]-t[1])/(i[1]-e[1]);return!(n<t[0])}function Tt(t,e,i){for(var n=0,a=0;a<e.length;a++){var r=e[a][0];1==e.length&&(r=e[a][0]);for(var o=0;o<r.length-1;o++){var s=r[o],c=r[o+1];i&&(s=St(r[o][0],r[o][1]),c=St(r[o+1][0],r[o+1][1])),Ct(t,s,c)&&(n+=1)}}return n%2==1}function Pt(t,e,i){i=0==i?1:i;for(var n=[],a=0;a<i;a++)n[a]=Math.random();return Math.floor(n.reduce((function(t,e){return t+e}))/i*(e-t))+t}function At(t,e,i,n){for(var a=!1,r=0;r<e.length;r++)if(e[r].area){if(!(t[3]<e[r].area[1]||t[0]>e[r].area[2]||t[1]>e[r].area[3]||t[2]<e[r].area[0])){a=!0;break}if(t[0]<0||t[1]<0||t[2]>i||t[3]>n){a=!0;break}a=!1}return a}function Ot(t,e,i){var n=t.series;switch(e){case"normal":for(var a=0;a<n.length;a++){var r=n[a].name,o=n[a].textSize*t.pix,s=y(r,o,i),c=void 0,l=void 0,u=void 0,h=0;while(1){h++,c=Pt(-t.width/2,t.width/2,5)-s/2,l=Pt(-t.height/2,t.height/2,5)+o/2,u=[c-5+t.width/2,l-5-o+t.height/2,c+s+5+t.width/2,l+5+t.height/2];var d=At(u,n,t.width,t.height);if(!d)break;if(1e3==h){u=[-100,-100,-100,-100];break}}n[a].area=u}break;case"vertical":for(var f=function(){return Math.random()>.7},p=0;p<n.length;p++){var g=n[p].name,v=n[p].textSize*t.pix,m=y(g,v,i),x=f(),_=void 0,b=void 0,w=void 0,S=void 0,k=0;while(1){k++;var C=void 0;if(x?(_=Pt(-t.width/2,t.width/2,5)-m/2,b=Pt(-t.height/2,t.height/2,5)+v/2,w=[b-5-m+t.width/2,-_-5+t.height/2,b+5+t.width/2,-_+v+5+t.height/2],S=[t.width-(t.width/2-t.height/2)-(-_+v+5+t.height/2)-5,t.height/2-t.width/2+(b-5-m+t.width/2)-5,t.width-(t.width/2-t.height/2)-(-_+v+5+t.height/2)+v,t.height/2-t.width/2+(b-5-m+t.width/2)+m+5],C=At(S,n,t.height,t.width)):(_=Pt(-t.width/2,t.width/2,5)-m/2,b=Pt(-t.height/2,t.height/2,5)+v/2,w=[_-5+t.width/2,b-5-v+t.height/2,_+m+5+t.width/2,b+5+t.height/2],C=At(w,n,t.width,t.height)),!C)break;if(1e3==k){w=[-1e3,-1e3,-1e3,-1e3];break}}x?(n[p].area=S,n[p].areav=w):n[p].area=w,n[p].rotate=x}break}return n}function It(t,e,i,n,a,r,o){for(var s=0;s<t.length;s++){var l=t[s];if(!1!==l.labelShow){var u=void 0,h=void 0,d=void 0,f=void 0,p=l.formatter?l.formatter(l,s,t,e):c.toFixed(100*l._proportion_)+"%";p=l.labelText?l.labelText:p,"right"==a&&(u=s==t.length-1?(l.funnelArea[2]+o.x)/2:(l.funnelArea[2]+t[s+1].funnelArea[2])/2,h=u+2*r,d=l.funnelArea[1]+n/2,f=l.textSize*e.pix||e.fontSize*e.pix,i.setLineWidth(1*e.pix),i.setStrokeStyle(l.color),i.setFillStyle(l.color),i.beginPath(),i.moveTo(u,d),i.lineTo(h,d),i.stroke(),i.closePath(),i.beginPath(),i.moveTo(h,d),i.arc(h,d,2*e.pix,0,2*Math.PI),i.closePath(),i.fill(),i.beginPath(),i.setFontSize(f),i.setFillStyle(l.textColor||e.fontColor),i.fillText(p,h+5,d+f/2-2),i.closePath(),i.stroke(),i.closePath()),"left"==a&&(u=s==t.length-1?(l.funnelArea[0]+o.x)/2:(l.funnelArea[0]+t[s+1].funnelArea[0])/2,h=u-2*r,d=l.funnelArea[1]+n/2,f=l.textSize*e.pix||e.fontSize*e.pix,i.setLineWidth(1*e.pix),i.setStrokeStyle(l.color),i.setFillStyle(l.color),i.beginPath(),i.moveTo(u,d),i.lineTo(h,d),i.stroke(),i.closePath(),i.beginPath(),i.moveTo(h,d),i.arc(h,d,2,0,2*Math.PI),i.closePath(),i.fill(),i.beginPath(),i.setFontSize(f),i.setFillStyle(l.textColor||e.fontColor),i.fillText(p,h-5-y(p,f,i),d+f/2-2),i.closePath(),i.stroke(),i.closePath())}}}function Lt(t,e,i,n,a,r,o){for(var s=0;s<t.length;s++){var c=t[s],l=void 0,u=void 0;c.centerText&&(l=c.funnelArea[1]+n/2,u=c.centerTextSize*e.pix||e.fontSize*e.pix,i.beginPath(),i.setFontSize(u),i.setFillStyle(c.centerTextColor||"#FFFFFF"),i.fillText(c.centerText,o.x-y(c.centerText,u,i)/2,l+u/2-2),i.closePath(),i.stroke(),i.closePath())}}function Dt(t,e){e.draw()}var Mt={easeIn:function(t){return Math.pow(t,3)},easeOut:function(t){return Math.pow(t-1,3)+1},easeInOut:function(t){return(t/=.5)<1?.5*Math.pow(t,3):.5*(Math.pow(t-2,3)+2)},linear:function(t){return t}};function Et(t){this.isStop=!1,t.duration="undefined"===typeof t.duration?1e3:t.duration,t.timing=t.timing||"easeInOut";var e=function(){return"undefined"!==typeof setTimeout?function(t,e){setTimeout((function(){var e=+new Date;t(e)}),e)}:"undefined"!==typeof requestAnimationFrame?requestAnimationFrame:function(t){t(null)}}(),i=null,n=function(a){if(null===a||!0===this.isStop)return t.onProcess&&t.onProcess(1),void(t.onAnimationFinish&&t.onAnimationFinish());if(null===i&&(i=a),a-i<t.duration){var r=(a-i)/t.duration,o=Mt[t.timing];r=o(r),t.onProcess&&t.onProcess(r),e(n,17)}else t.onProcess&&t.onProcess(1),t.onAnimationFinish&&t.onAnimationFinish()};n=n.bind(this),e(n,17)}function Ft(t,e,i,n){var r=this,o=this,u=e.series;"pie"!==t&&"ring"!==t&&"mount"!==t&&"rose"!==t&&"funnel"!==t||(u=function(t,e,i){var n=[];if(t.length>0&&t[0].data.constructor.toString().indexOf("Array")>-1){e._pieSeries_=t;for(var a=t[0].data,r=0;r<a.length;r++)a[r].formatter=t[0].formatter,a[r].data=a[r].value,n.push(a[r]);e.series=n}else n=t;return n}(u,e));var h=e.categories;if("mount"===t){h=[];for(var d=0;d<u.length;d++)!1!==u[d].show&&h.push(u[d].name);e.categories=h}u=v(u,e,i);var g=e.animation?e.duration:0;o.animationInstance&&o.animationInstance.stop();var x=null;if("candle"==t){var b=s({},e.extra.candle.average);b.show?(x=function(t,e,i,n){for(var a=[],r=0;r<t.length;r++){for(var o={data:[],name:e[r],color:i[r]},s=0,c=n.length;s<c;s++)if(s<t[r])o.data.push(null);else{for(var l=0,u=0;u<t[r];u++)l+=n[s-u][1];o.data.push(+(l/t[r]).toFixed(3))}a.push(o)}return a}(b.day,b.name,b.color,u[0].data),x=v(x,e,i),e.seriesMA=x):x=e.seriesMA?e.seriesMA=v(e.seriesMA,e,i):u}else x=u;e._series_=u=O(u),e.area=new Array(4);for(var w=0;w<4;w++)e.area[w]=e.padding[w]*e.pix;var S=function(t,e,i,n,a){var r={area:{start:{x:0,y:0},end:{x:0,y:0},width:0,height:0,wholeWidth:0,wholeHeight:0},points:[],widthArr:[],heightArr:[]};if(!1===e.legend.show)return n.legendData=r,r;var o=e.legend.padding*e.pix,s=e.legend.margin*e.pix,c=e.legend.fontSize?e.legend.fontSize*e.pix:i.fontSize,l=15*e.pix,u=5*e.pix,h=Math.max(e.legend.lineHeight*e.pix,c);if("top"==e.legend.position||"bottom"==e.legend.position){for(var d=[],f=0,p=[],g=[],v=0;v<t.length;v++){var m=t[v],x=m.legendText?m.legendText:m.name,_=l+u+y(x||"undefined",c,a)+e.legend.itemGap*e.pix;f+_>e.width-e.area[1]-e.area[3]?(d.push(g),p.push(f-e.legend.itemGap*e.pix),f=_,g=[m]):(f+=_,g.push(m))}if(g.length){d.push(g),p.push(f-e.legend.itemGap*e.pix),r.widthArr=p;var b=Math.max.apply(null,p);switch(e.legend.float){case"left":r.area.start.x=e.area[3],r.area.end.x=e.area[3]+b+2*o;break;case"right":r.area.start.x=e.width-e.area[1]-b-2*o,r.area.end.x=e.width-e.area[1];break;default:r.area.start.x=(e.width-b)/2-o,r.area.end.x=(e.width+b)/2+o}r.area.width=b+2*o,r.area.wholeWidth=b+2*o,r.area.height=d.length*h+2*o,r.area.wholeHeight=d.length*h+2*o+2*s,r.points=d}}else{var w=t.length,S=e.height-e.area[0]-e.area[2]-2*s-2*o,k=Math.min(Math.floor(S/h),w);switch(r.area.height=k*h+2*o,r.area.wholeHeight=k*h+2*o,e.legend.float){case"top":r.area.start.y=e.area[0]+s,r.area.end.y=e.area[0]+s+r.area.height;break;case"bottom":r.area.start.y=e.height-e.area[2]-s-r.area.height,r.area.end.y=e.height-e.area[2]-s;break;default:r.area.start.y=(e.height-r.area.height)/2,r.area.end.y=(e.height+r.area.height)/2}for(var C=w%k===0?w/k:Math.floor(w/k+1),T=[],P=0;P<C;P++){var A=t.slice(P*k,P*k+k);T.push(A)}if(r.points=T,T.length){for(var O=0;O<T.length;O++){for(var I=T[O],L=0,D=0;D<I.length;D++){var M=l+u+y(I[D].name||"undefined",c,a)+e.legend.itemGap*e.pix;M>L&&(L=M)}r.widthArr.push(L),r.heightArr.push(I.length*h+2*o)}for(var E=0,F=0;F<r.widthArr.length;F++)E+=r.widthArr[F];r.area.width=E-e.legend.itemGap*e.pix+2*o,r.area.wholeWidth=r.area.width+o}}switch(e.legend.position){case"top":r.area.start.y=e.area[0]+s,r.area.end.y=e.area[0]+s+r.area.height;break;case"bottom":r.area.start.y=e.height-e.area[2]-r.area.height-s,r.area.end.y=e.height-e.area[2]-s;break;case"left":r.area.start.x=e.area[3],r.area.end.x=e.area[3]+r.area.width;break;case"right":r.area.start.x=e.width-e.area[1]-r.area.width,r.area.end.x=e.width-e.area[1];break}return n.legendData=r,r}(x,e,i,e.chartData,n),T=S.area.wholeHeight,P=S.area.wholeWidth;switch(e.legend.position){case"top":e.area[0]+=T;break;case"bottom":e.area[2]+=T;break;case"left":e.area[3]+=P;break;case"right":e.area[1]+=P;break}var A={},I=0;if("line"===e.type||"column"===e.type||"mount"===e.type||"area"===e.type||"mix"===e.type||"candle"===e.type||"scatter"===e.type||"bubble"===e.type||"bar"===e.type){if(A=it(u,e,i,n),I=A.yAxisWidth,e.yAxis.showTitle){for(var L=0,et=0;et<e.yAxis.data.length;et++)L=Math.max(L,e.yAxis.data[et].titleFontSize?e.yAxis.data[et].titleFontSize*e.pix:i.fontSize);e.area[0]+=L}for(var ft=0,vt=0,Ct=0;Ct<I.length;Ct++)"left"==I[Ct].position?(e.area[3]+=vt>0?I[Ct].width+e.yAxis.padding*e.pix:I[Ct].width,vt+=1):"right"==I[Ct].position&&(e.area[1]+=ft>0?I[Ct].width+e.yAxis.padding*e.pix:I[Ct].width,ft+=1)}else i.yAxisWidth=I;if(e.chartData.yAxisData=A,e.categories&&e.categories.length&&"radar"!==e.type&&"gauge"!==e.type&&"bar"!==e.type){e.chartData.xAxisData=V(e.categories,e);var Tt=M(e.categories,e,i,e.chartData.xAxisData.eachSpacing,n),Pt=Tt.xAxisHeight,At=Tt.angle;i.xAxisHeight=Pt,i._xAxisTextAngle_=At,e.area[2]+=Pt,e.chartData.categoriesData=Tt}else if("line"===e.type||"area"===e.type||"scatter"===e.type||"bubble"===e.type||"bar"===e.type){e.chartData.xAxisData=E(u,e,i,n),h=e.chartData.xAxisData.rangesFormat;var Mt=M(h,e,i,e.chartData.xAxisData.eachSpacing,n),Ft=Mt.xAxisHeight,$t=Mt.angle;i.xAxisHeight=Ft,i._xAxisTextAngle_=$t,e.area[2]+=Ft,e.chartData.categoriesData=Mt}else e.chartData.xAxisData={xAxisPoints:[]};if(e.enableScroll&&"right"==e.xAxis.scrollAlign&&void 0===e._scrollDistance_){var Nt,Rt=e.chartData.xAxisData.xAxisPoints,jt=e.chartData.xAxisData.startX,Ut=e.chartData.xAxisData.endX,Bt=e.chartData.xAxisData.eachSpacing,zt=Bt*(Rt.length-1),Wt=Ut-jt;Nt=Wt-zt,o.scrollOption.currentOffset=Nt,o.scrollOption.startTouchX=Nt,o.scrollOption.distance=0,o.scrollOption.lastMoveTime=0,e._scrollDistance_=Nt}switch("pie"!==t&&"ring"!==t&&"rose"!==t||(i._pieTextMaxLength_=!1===e.dataLabel?0:function(t,e,i,n){t=$(t);for(var a=0,r=0;r<t.length;r++){var o=t[r],s=o.formatter?o.formatter(+o._proportion_.toFixed(2)):c.toFixed(100*o._proportion_)+"%";a=Math.max(a,y(s,o.textSize*n.pix||e.fontSize,i))}return a}(x,i,n,e)),t){case"word":this.animationInstance=new Et({timing:e.timing,duration:g,onProcess:function(t){n.clearRect(0,0,e.width,e.height),e.rotate&&nt(n,e),function(t,e,i,n){var a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,r=s({},{type:"normal",autoColors:!0},e.extra.word);e.chartData.wordCloudData||(e.chartData.wordCloudData=Ot(e,r.type,n)),n.beginPath(),n.setFillStyle(e.background),n.rect(0,0,e.width,e.height),n.fill(),n.save();var o=e.chartData.wordCloudData;n.translate(e.width/2,e.height/2);for(var c=0;c<o.length;c++){n.save(),o[c].rotate&&n.rotate(90*Math.PI/180);var l=o[c].name,u=o[c].textSize*e.pix,h=y(l,u,n);n.beginPath(),n.setStrokeStyle(o[c].color),n.setFillStyle(o[c].color),n.setFontSize(u),o[c].rotate?o[c].areav[0]>0&&(e.tooltip&&e.tooltip.index==c?n.strokeText(l,(o[c].areav[0]+5-e.width/2)*a-h*(1-a)/2,(o[c].areav[1]+5+u-e.height/2)*a):n.fillText(l,(o[c].areav[0]+5-e.width/2)*a-h*(1-a)/2,(o[c].areav[1]+5+u-e.height/2)*a)):o[c].area[0]>0&&(e.tooltip&&e.tooltip.index==c?n.strokeText(l,(o[c].area[0]+5-e.width/2)*a-h*(1-a)/2,(o[c].area[1]+5+u-e.height/2)*a):n.fillText(l,(o[c].area[0]+5-e.width/2)*a-h*(1-a)/2,(o[c].area[1]+5+u-e.height/2)*a)),n.stroke(),n.restore()}n.restore()}(u,e,i,n,t),Dt(0,n)},onAnimationFinish:function(){o.uevent.trigger("renderComplete")}});break;case"map":n.clearRect(0,0,e.width,e.height),function(t,e,i,n){var a,r,o=s({},{border:!0,mercator:!1,borderWidth:1,active:!0,borderColor:"#666666",fillOpacity:.6,activeBorderColor:"#f04864",activeFillColor:"#facc14",activeFillOpacity:1},e.extra.map),c=t,u=function(t){for(var e,i={xMin:180,xMax:0,yMin:90,yMax:0},n=0;n<t.length;n++)for(var a=t[n].geometry.coordinates,r=0;r<a.length;r++){e=a[r],1==e.length&&(e=e[0]);for(var o=0;o<e.length;o++){var s=e[o][0],c=e[o][1],l={x:s,y:c};i.xMin=i.xMin<l.x?i.xMin:l.x,i.xMax=i.xMax>l.x?i.xMax:l.x,i.yMin=i.yMin<l.y?i.yMin:l.y,i.yMax=i.yMax>l.y?i.yMax:l.y}}return i}(c);if(o.mercator){var h=St(u.xMax,u.yMax),d=St(u.xMin,u.yMin);u.xMax=h[0],u.yMax=h[1],u.xMin=d[0],u.yMin=d[1]}for(var f=e.width/Math.abs(u.xMax-u.xMin),p=e.height/Math.abs(u.yMax-u.yMin),g=f<p?f:p,v=e.width/2-Math.abs(u.xMax-u.xMin)/2*g,m=e.height/2-Math.abs(u.yMax-u.yMin)/2*g,x=0;x<c.length;x++){n.beginPath(),n.setLineWidth(o.borderWidth*e.pix),n.setStrokeStyle(o.borderColor),n.setFillStyle(l(t[x].color,t[x].fillOpacity||o.fillOpacity)),1==o.active&&e.tooltip&&e.tooltip.index==x&&(n.setStrokeStyle(o.activeBorderColor),n.setFillStyle(l(o.activeFillColor,o.activeFillOpacity)));for(var _=c[x].geometry.coordinates,b=0;b<_.length;b++){a=_[b],1==a.length&&(a=a[0]);for(var w=0;w<a.length;w++){var S=Array(2);S=o.mercator?St(a[w][0],a[w][1]):a[w],r=kt(S[1],S[0],u,g,v,m),0===w?(n.beginPath(),n.moveTo(r.x,r.y)):n.lineTo(r.x,r.y)}n.fill(),1==o.border&&n.stroke()}}if(1==e.dataLabel)for(x=0;x<c.length;x++){var k=c[x].properties.centroid;if(k){o.mercator&&(k=St(c[x].properties.centroid[0],c[x].properties.centroid[1])),r=kt(k[1],k[0],u,g,v,m);var C=c[x].textSize*e.pix||i.fontSize,T=c[x].textColor||e.fontColor;o.active&&o.activeTextColor&&e.tooltip&&e.tooltip.index==x&&(T=o.activeTextColor);var P=c[x].properties.name;n.beginPath(),n.setFontSize(C),n.setFillStyle(T),n.fillText(P,r.x-y(P,C,n)/2,r.y+C/2),n.closePath(),n.stroke()}}e.chartData.mapData={bounds:u,scale:g,xoffset:v,yoffset:m,mercator:o.mercator},mt(e,i,n,1),n.draw()}(u,e,i,n),setTimeout((function(){r.uevent.trigger("renderComplete")}),50);break;case"funnel":this.animationInstance=new Et({timing:e.timing,duration:g,onProcess:function(t){n.clearRect(0,0,e.width,e.height),e.rotate&&nt(n,e),e.chartData.funnelData=function(t,e,i,n){var a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,r=s({},{type:"funnel",activeWidth:10,activeOpacity:.3,border:!1,borderWidth:2,borderColor:"#FFFFFF",fillOpacity:1,minSize:0,labelAlign:"right",linearType:"none",customColor:[]},e.extra.funnel),o=(e.height-e.area[0]-e.area[2])/t.length,c={x:e.area[3]+(e.width-e.area[1]-e.area[3])/2,y:e.height-e.area[2]},u=r.activeWidth*e.pix,h=Math.min((e.width-e.area[1]-e.area[3])/2-u,(e.height-e.area[0]-e.area[2])/2-u),d=N(t,h,r,o,a);if(n.save(),n.translate(c.x,c.y),r.customColor=m(r.linearType,r.customColor,t,i),"pyramid"==r.type)for(var f=0;f<d.length;f++){if(f==d.length-1){e.tooltip&&e.tooltip.index==f&&(n.beginPath(),n.setFillStyle(l(d[f].color,r.activeOpacity)),n.moveTo(-u,-o),n.lineTo(-d[f].radius-u,0),n.lineTo(d[f].radius+u,0),n.lineTo(u,-o),n.lineTo(-u,-o),n.closePath(),n.fill()),d[f].funnelArea=[c.x-d[f].radius,c.y-o*(f+1),c.x+d[f].radius,c.y-o*f],n.beginPath(),n.setLineWidth(r.borderWidth*e.pix),n.setStrokeStyle(r.borderColor);var p=l(d[f].color,r.fillOpacity);if("custom"==r.linearType){var g=n.createLinearGradient(d[f].radius,-o,-d[f].radius,-o);g.addColorStop(0,l(d[f].color,r.fillOpacity)),g.addColorStop(.5,l(r.customColor[d[f].linearIndex],r.fillOpacity)),g.addColorStop(1,l(d[f].color,r.fillOpacity)),p=g}n.setFillStyle(p),n.moveTo(0,-o),n.lineTo(-d[f].radius,0),n.lineTo(d[f].radius,0),n.lineTo(0,-o),n.closePath(),n.fill(),1==r.border&&n.stroke()}else{e.tooltip&&e.tooltip.index==f&&(n.beginPath(),n.setFillStyle(l(d[f].color,r.activeOpacity)),n.moveTo(0,0),n.lineTo(-d[f].radius-u,0),n.lineTo(-d[f+1].radius-u,-o),n.lineTo(d[f+1].radius+u,-o),n.lineTo(d[f].radius+u,0),n.lineTo(0,0),n.closePath(),n.fill()),d[f].funnelArea=[c.x-d[f].radius,c.y-o*(f+1),c.x+d[f].radius,c.y-o*f],n.beginPath(),n.setLineWidth(r.borderWidth*e.pix),n.setStrokeStyle(r.borderColor);p=l(d[f].color,r.fillOpacity);if("custom"==r.linearType){g=n.createLinearGradient(d[f].radius,-o,-d[f].radius,-o);g.addColorStop(0,l(d[f].color,r.fillOpacity)),g.addColorStop(.5,l(r.customColor[d[f].linearIndex],r.fillOpacity)),g.addColorStop(1,l(d[f].color,r.fillOpacity)),p=g}n.setFillStyle(p),n.moveTo(0,0),n.lineTo(-d[f].radius,0),n.lineTo(-d[f+1].radius,-o),n.lineTo(d[f+1].radius,-o),n.lineTo(d[f].radius,0),n.lineTo(0,0),n.closePath(),n.fill(),1==r.border&&n.stroke()}n.translate(0,-o)}else{n.translate(0,-(d.length-1)*o);for(var v=0;v<d.length;v++){if(v==d.length-1){e.tooltip&&e.tooltip.index==v&&(n.beginPath(),n.setFillStyle(l(d[v].color,r.activeOpacity)),n.moveTo(-u-r.minSize/2,0),n.lineTo(-d[v].radius-u,-o),n.lineTo(d[v].radius+u,-o),n.lineTo(u+r.minSize/2,0),n.lineTo(-u-r.minSize/2,0),n.closePath(),n.fill()),d[v].funnelArea=[c.x-d[v].radius,c.y-o,c.x+d[v].radius,c.y],n.beginPath(),n.setLineWidth(r.borderWidth*e.pix),n.setStrokeStyle(r.borderColor);p=l(d[v].color,r.fillOpacity);if("custom"==r.linearType){g=n.createLinearGradient(d[v].radius,-o,-d[v].radius,-o);g.addColorStop(0,l(d[v].color,r.fillOpacity)),g.addColorStop(.5,l(r.customColor[d[v].linearIndex],r.fillOpacity)),g.addColorStop(1,l(d[v].color,r.fillOpacity)),p=g}n.setFillStyle(p),n.moveTo(0,0),n.lineTo(-r.minSize/2,0),n.lineTo(-d[v].radius,-o),n.lineTo(d[v].radius,-o),n.lineTo(r.minSize/2,0),n.lineTo(0,0),n.closePath(),n.fill(),1==r.border&&n.stroke()}else{e.tooltip&&e.tooltip.index==v&&(n.beginPath(),n.setFillStyle(l(d[v].color,r.activeOpacity)),n.moveTo(0,0),n.lineTo(-d[v+1].radius-u,0),n.lineTo(-d[v].radius-u,-o),n.lineTo(d[v].radius+u,-o),n.lineTo(d[v+1].radius+u,0),n.lineTo(0,0),n.closePath(),n.fill()),d[v].funnelArea=[c.x-d[v].radius,c.y-o*(d.length-v),c.x+d[v].radius,c.y-o*(d.length-v-1)],n.beginPath(),n.setLineWidth(r.borderWidth*e.pix),n.setStrokeStyle(r.borderColor);p=l(d[v].color,r.fillOpacity);if("custom"==r.linearType){g=n.createLinearGradient(d[v].radius,-o,-d[v].radius,-o);g.addColorStop(0,l(d[v].color,r.fillOpacity)),g.addColorStop(.5,l(r.customColor[d[v].linearIndex],r.fillOpacity)),g.addColorStop(1,l(d[v].color,r.fillOpacity)),p=g}n.setFillStyle(p),n.moveTo(0,0),n.lineTo(-d[v+1].radius,0),n.lineTo(-d[v].radius,-o),n.lineTo(d[v].radius,-o),n.lineTo(d[v+1].radius,0),n.lineTo(0,0),n.closePath(),n.fill(),1==r.border&&n.stroke()}n.translate(0,o)}}return n.restore(),!1!==e.dataLabel&&1===a&&It(d,e,n,o,r.labelAlign,u,c),1===a&&Lt(d,e,n,o,r.labelAlign,u,c),{center:c,radius:h,series:d}}(u,e,i,n,t),bt(e.series,e,i,n,e.chartData),mt(e,i,n,t),Dt(0,n)},onAnimationFinish:function(){o.uevent.trigger("renderComplete")}});break;case"line":this.animationInstance=new Et({timing:e.timing,duration:g,onProcess:function(t){n.clearRect(0,0,e.width,e.height),e.rotate&&nt(n,e),yt(0,e,0,n),xt(h,e,i,n);var a=function(t,e,i,n){var a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,r=s({},{type:"straight",width:2},e.extra.line);r.width*=e.pix;var o=e.chartData.xAxisData,c=o.xAxisPoints,l=o.eachSpacing,u=[];n.save();var h=0,d=e.width+l;return e._scrollDistance_&&0!==e._scrollDistance_&&!0===e.enableScroll&&(n.translate(e._scrollDistance_,0),h=-e._scrollDistance_-2*l+e.area[3],d=h+(e.xAxis.itemCount+4)*l),t.forEach((function(t,o){var s,p,g;s=[].concat(e.chartData.yAxisData.ranges[t.index]),p=s.pop(),g=s.shift();var v=t.data,m=X(v,p,g,c,l,e,i,a);u.push(m);var x=D(m,t);if("dash"==t.lineType){var y=t.dashLength?t.dashLength:8;y*=e.pix,n.setLineDash([y,y])}n.beginPath(),n.setStrokeStyle(t.color),n.setLineWidth(r.width),x.forEach((function(t,e){if(1===t.length)n.moveTo(t[0].x,t[0].y),n.arc(t[0].x,t[0].y,1,0,2*Math.PI);else{n.moveTo(t[0].x,t[0].y);var i=0;if("curve"===r.type)for(var a=0;a<t.length;a++){var o=t[a];if(0==i&&o.x>h&&(n.moveTo(o.x,o.y),i=1),a>0&&o.x>h&&o.x<d){var s=f(t,a-1);n.bezierCurveTo(s.ctrA.x,s.ctrA.y,s.ctrB.x,s.ctrB.y,o.x,o.y)}}if("straight"===r.type)for(var c=0;c<t.length;c++){var l=t[c];0==i&&l.x>h&&(n.moveTo(l.x,l.y),i=1),c>0&&l.x>h&&l.x<d&&n.lineTo(l.x,l.y)}if("step"===r.type)for(var u=0;u<t.length;u++){var p=t[u];0==i&&p.x>h&&(n.moveTo(p.x,p.y),i=1),u>0&&p.x>h&&p.x<d&&(n.lineTo(p.x,t[u-1].y),n.lineTo(p.x,p.y))}n.moveTo(t[0].x,t[0].y)}})),n.stroke(),n.setLineDash([]),!1!==e.dataPointShape&&at(m,t.color,t.pointShape,n,e)})),!1!==e.dataLabel&&1===a&&t.forEach((function(t,r){var o,s,u;o=[].concat(e.chartData.yAxisData.ranges[t.index]),s=o.pop(),u=o.shift();var h=t.data,d=X(h,s,u,c,l,e,i,a);ot(d,t,i,n,e)})),n.restore(),{xAxisPoints:c,calPoints:u,eachSpacing:l}}(u,e,i,n,t),r=a.xAxisPoints,o=a.calPoints,c=a.eachSpacing;e.chartData.xAxisPoints=r,e.chartData.calPoints=o,e.chartData.eachSpacing=c,_t(0,e,i,n),!1!==e.enableMarkLine&&1===t&&dt(e,i,n),bt(e.series,e,i,n,e.chartData),mt(e,i,n,t),Dt(0,n)},onAnimationFinish:function(){o.uevent.trigger("renderComplete")}});break;case"scatter":this.animationInstance=new Et({timing:e.timing,duration:g,onProcess:function(t){n.clearRect(0,0,e.width,e.height),e.rotate&&nt(n,e),yt(0,e,0,n),xt(h,e,i,n);var a=function(t,e,i,n){var a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,r=(s({},{type:"circle"},e.extra.scatter),e.chartData.xAxisData),o=r.xAxisPoints,c=r.eachSpacing,l=[];n.save();return e.width,e._scrollDistance_&&0!==e._scrollDistance_&&!0===e.enableScroll&&(n.translate(e._scrollDistance_,0),-e._scrollDistance_-2*c+e.area[3],e.xAxis.itemCount),t.forEach((function(t,r){var s,l,u;s=[].concat(e.chartData.yAxisData.ranges[t.index]),l=s.pop(),u=s.shift();var h=t.data,d=X(h,l,u,o,c,e,i,a);n.beginPath(),n.setStrokeStyle(t.color),n.setFillStyle(t.color),n.setLineWidth(1*e.pix);var f=t.pointShape;if("diamond"===f)d.forEach((function(t,e){null!==t&&(n.moveTo(t.x,t.y-4.5),n.lineTo(t.x-4.5,t.y),n.lineTo(t.x,t.y+4.5),n.lineTo(t.x+4.5,t.y),n.lineTo(t.x,t.y-4.5))}));else if("circle"===f)d.forEach((function(t,i){null!==t&&(n.moveTo(t.x+2.5*e.pix,t.y),n.arc(t.x,t.y,3*e.pix,0,2*Math.PI,!1))}));else if("square"===f)d.forEach((function(t,e){null!==t&&(n.moveTo(t.x-3.5,t.y-3.5),n.rect(t.x-3.5,t.y-3.5,7,7))}));else if("triangle"===f)d.forEach((function(t,e){null!==t&&(n.moveTo(t.x,t.y-4.5),n.lineTo(t.x-4.5,t.y+4.5),n.lineTo(t.x+4.5,t.y+4.5),n.lineTo(t.x,t.y-4.5))}));else if("triangle"===f)return;n.closePath(),n.fill(),n.stroke()})),!1!==e.dataLabel&&1===a&&t.forEach((function(t,r){var s,l,u;s=[].concat(e.chartData.yAxisData.ranges[t.index]),l=s.pop(),u=s.shift();var h=t.data,d=X(h,l,u,o,c,e,i,a);ot(d,t,i,n,e)})),n.restore(),{xAxisPoints:o,calPoints:l,eachSpacing:c}}(u,e,i,n,t),r=a.xAxisPoints,o=a.calPoints,c=a.eachSpacing;e.chartData.xAxisPoints=r,e.chartData.calPoints=o,e.chartData.eachSpacing=c,_t(0,e,i,n),!1!==e.enableMarkLine&&1===t&&dt(e,i,n),bt(e.series,e,i,n,e.chartData),mt(e,i,n,t),Dt(0,n)},onAnimationFinish:function(){o.uevent.trigger("renderComplete")}});break;case"bubble":this.animationInstance=new Et({timing:e.timing,duration:g,onProcess:function(t){n.clearRect(0,0,e.width,e.height),e.rotate&&nt(n,e),yt(0,e,0,n),xt(h,e,i,n);var a=function(t,e,i,n){var a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,r=s({},{opacity:1,border:2},e.extra.bubble),o=e.chartData.xAxisData,c=o.xAxisPoints,u=o.eachSpacing,h=[];n.save();return e.width,e._scrollDistance_&&0!==e._scrollDistance_&&!0===e.enableScroll&&(n.translate(e._scrollDistance_,0),-e._scrollDistance_-2*u+e.area[3],e.xAxis.itemCount),t.forEach((function(t,o){var s,h,d;s=[].concat(e.chartData.yAxisData.ranges[t.index]),h=s.pop(),d=s.shift();var f=t.data,p=X(f,h,d,c,u,e,i,a);n.beginPath(),n.setStrokeStyle(t.color),n.setLineWidth(r.border*e.pix),n.setFillStyle(l(t.color,r.opacity)),p.forEach((function(t,i){n.moveTo(t.x+t.r,t.y),n.arc(t.x,t.y,t.r*e.pix,0,2*Math.PI,!1)})),n.closePath(),n.fill(),n.stroke(),!1!==e.dataLabel&&1===a&&p.forEach((function(a,r){n.beginPath();var o=t.textSize*e.pix||i.fontSize;n.setFontSize(o),n.setFillStyle(t.textColor||"#FFFFFF"),n.setTextAlign("center"),n.fillText(String(a.t),a.x,a.y+o/2),n.closePath(),n.stroke(),n.setTextAlign("left")}))})),n.restore(),{xAxisPoints:c,calPoints:h,eachSpacing:u}}(u,e,i,n,t),r=a.xAxisPoints,o=a.calPoints,c=a.eachSpacing;e.chartData.xAxisPoints=r,e.chartData.calPoints=o,e.chartData.eachSpacing=c,_t(0,e,i,n),!1!==e.enableMarkLine&&1===t&&dt(e,i,n),bt(e.series,e,i,n,e.chartData),mt(e,i,n,t),Dt(0,n)},onAnimationFinish:function(){o.uevent.trigger("renderComplete")}});break;case"mix":this.animationInstance=new Et({timing:e.timing,duration:g,onProcess:function(t){n.clearRect(0,0,e.width,e.height),e.rotate&&nt(n,e),yt(0,e,0,n),xt(h,e,i,n);var r=function(t,e,i,n){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,o=e.chartData.xAxisData,c=o.xAxisPoints,u=o.eachSpacing,h=s({},{width:u/2,barBorderCircle:!1,barBorderRadius:[],seriesGap:2,linearType:"none",linearOpacity:1,customColor:[],colorStop:0},e.extra.mix.column),d=s({},{opacity:.2,gradient:!1},e.extra.mix.area),p=s({},{width:2},e.extra.mix.line),g=e.height-e.area[2],v=[],x=0,y=0;t.forEach((function(t,e){"column"==t.type&&(y+=1)})),n.save();var _=-2,b=c.length+2,w=0,S=e.width+u;if(e._scrollDistance_&&0!==e._scrollDistance_&&!0===e.enableScroll&&(n.translate(e._scrollDistance_,0),_=Math.floor(-e._scrollDistance_/u)-2,b=_+e.xAxis.itemCount+4,w=-e._scrollDistance_-2*u+e.area[3],S=w+(e.xAxis.itemCount+4)*u),h.customColor=m(h.linearType,h.customColor,t,i),t.forEach((function(t,o){var s,m,k;s=[].concat(e.chartData.yAxisData.ranges[t.index]),m=s.pop(),k=s.shift();var C=t.data,T=X(C,m,k,c,u,e,i,r);if(v.push(T),"column"==t.type){T=W(T,u,y,x,0,e);for(var P=0;P<T.length;P++){var A=T[P];if(null!==A&&P>_&&P<b){var O=A.x-A.width/2;e.height,A.y,e.area[2];n.beginPath();var I=A.color||t.color,L=A.color||t.color;if("none"!==h.linearType){var M=n.createLinearGradient(O,A.y,O,e.height-e.area[2]);"opacity"==h.linearType?(M.addColorStop(0,l(I,h.linearOpacity)),M.addColorStop(1,l(I,1))):(M.addColorStop(0,l(h.customColor[t.linearIndex],h.linearOpacity)),M.addColorStop(h.colorStop,l(h.customColor[t.linearIndex],h.linearOpacity)),M.addColorStop(1,l(I,1))),I=M}if(h.barBorderRadius&&4===h.barBorderRadius.length||h.barBorderCircle){var E=O,F=A.y,$=A.width,N=e.height-e.area[2]-A.y;h.barBorderCircle&&(h.barBorderRadius=[$/2,$/2,0,0]);var R=(0,a.default)(h.barBorderRadius,4),j=R[0],U=R[1],B=R[2],z=R[3],q=Math.min($/2,N/2);j=j>q?q:j,U=U>q?q:U,B=B>q?q:B,z=z>q?q:z,j=j<0?0:j,U=U<0?0:U,B=B<0?0:B,z=z<0?0:z,n.arc(E+j,F+j,j,-Math.PI,-Math.PI/2),n.arc(E+$-U,F+U,U,-Math.PI/2,0),n.arc(E+$-B,F+N-B,B,0,Math.PI/2),n.arc(E+z,F+N-z,z,Math.PI/2,Math.PI)}else n.moveTo(O,A.y),n.lineTo(O+A.width,A.y),n.lineTo(O+A.width,e.height-e.area[2]),n.lineTo(O,e.height-e.area[2]),n.lineTo(O,A.y),n.setLineWidth(1),n.setStrokeStyle(L);n.setFillStyle(I),n.closePath(),n.fill()}}x+=1}if("area"==t.type)for(var H=D(T,t),G=0;G<H.length;G++){var J=H[G];if(n.beginPath(),n.setStrokeStyle(t.color),n.setStrokeStyle(l(t.color,d.opacity)),d.gradient){var V=n.createLinearGradient(0,e.area[0],0,e.height-e.area[2]);V.addColorStop("0",l(t.color,d.opacity)),V.addColorStop("1.0",l("#FFFFFF",.1)),n.setFillStyle(V)}else n.setFillStyle(l(t.color,d.opacity));if(n.setLineWidth(2*e.pix),J.length>1){var K=J[0],Y=J[J.length-1];n.moveTo(K.x,K.y);var Q=0;if("curve"===t.style)for(var Z=0;Z<J.length;Z++){var tt=J[Z];if(0==Q&&tt.x>w&&(n.moveTo(tt.x,tt.y),Q=1),Z>0&&tt.x>w&&tt.x<S){var et=f(J,Z-1);n.bezierCurveTo(et.ctrA.x,et.ctrA.y,et.ctrB.x,et.ctrB.y,tt.x,tt.y)}}else for(var it=0;it<J.length;it++){var nt=J[it];0==Q&&nt.x>w&&(n.moveTo(nt.x,nt.y),Q=1),it>0&&nt.x>w&&nt.x<S&&n.lineTo(nt.x,nt.y)}n.lineTo(Y.x,g),n.lineTo(K.x,g),n.lineTo(K.x,K.y)}else{var rt=J[0];n.moveTo(rt.x-u/2,rt.y),n.lineTo(rt.x+u/2,rt.y),n.lineTo(rt.x+u/2,g),n.lineTo(rt.x-u/2,g),n.moveTo(rt.x-u/2,rt.y)}n.closePath(),n.fill()}if("line"==t.type){var ot=D(T,t);ot.forEach((function(i,a){if("dash"==t.lineType){var r=t.dashLength?t.dashLength:8;r*=e.pix,n.setLineDash([r,r])}if(n.beginPath(),n.setStrokeStyle(t.color),n.setLineWidth(p.width*e.pix),1===i.length)n.moveTo(i[0].x,i[0].y),n.arc(i[0].x,i[0].y,1,0,2*Math.PI);else{n.moveTo(i[0].x,i[0].y);var o=0;if("curve"==t.style)for(var s=0;s<i.length;s++){var c=i[s];if(0==o&&c.x>w&&(n.moveTo(c.x,c.y),o=1),s>0&&c.x>w&&c.x<S){var l=f(i,s-1);n.bezierCurveTo(l.ctrA.x,l.ctrA.y,l.ctrB.x,l.ctrB.y,c.x,c.y)}}else for(var u=0;u<i.length;u++){var h=i[u];0==o&&h.x>w&&(n.moveTo(h.x,h.y),o=1),u>0&&h.x>w&&h.x<S&&n.lineTo(h.x,h.y)}n.moveTo(i[0].x,i[0].y)}n.stroke(),n.setLineDash([])}))}"point"==t.type&&(t.addPoint=!0),1==t.addPoint&&"column"!==t.type&&at(T,t.color,t.pointShape,n,e)})),!1!==e.dataLabel&&1===r){x=0;t.forEach((function(t,a){var o,s,l;o=[].concat(e.chartData.yAxisData.ranges[t.index]),s=o.pop(),l=o.shift();var h=t.data,d=X(h,s,l,c,u,e,i,r);"column"!==t.type?ot(d,t,i,n,e):(d=W(d,u,y,x,0,e),ot(d,t,i,n,e),x+=1)}))}return n.restore(),{xAxisPoints:c,calPoints:v,eachSpacing:u}}(u,e,i,n,t),o=r.xAxisPoints,c=r.calPoints,d=r.eachSpacing;e.chartData.xAxisPoints=o,e.chartData.calPoints=c,e.chartData.eachSpacing=d,_t(0,e,i,n),!1!==e.enableMarkLine&&1===t&&dt(e,i,n),bt(e.series,e,i,n,e.chartData),mt(e,i,n,t),Dt(0,n)},onAnimationFinish:function(){o.uevent.trigger("renderComplete")}});break;case"column":this.animationInstance=new Et({timing:e.timing,duration:g,onProcess:function(t){n.clearRect(0,0,e.width,e.height),e.rotate&&nt(n,e),yt(0,e,0,n),xt(h,e,i,n);var r=function(t,e,i,n){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,o=e.chartData.xAxisData,c=o.xAxisPoints,u=o.eachSpacing,h=s({},{type:"group",width:u/2,meterBorder:4,meterFillColor:"#FFFFFF",barBorderCircle:!1,barBorderRadius:[],seriesGap:2,linearType:"none",linearOpacity:1,customColor:[],colorStop:0},e.extra.column),d=[];n.save();var f=-2,p=c.length+2;return e._scrollDistance_&&0!==e._scrollDistance_&&!0===e.enableScroll&&(n.translate(e._scrollDistance_,0),f=Math.floor(-e._scrollDistance_/u)-2,p=f+e.xAxis.itemCount+4),e.tooltip&&e.tooltip.textList&&e.tooltip.textList.length&&1===r&&pt(e.tooltip.offset.x,e,0,n,u),h.customColor=m(h.linearType,h.customColor,t,i),t.forEach((function(o,s){var g,v,m;g=[].concat(e.chartData.yAxisData.ranges[o.index]),v=g.pop(),m=g.shift();var x=o.data;switch(h.type){case"group":var y=X(x,v,m,c,u,e,i,r),_=Z(x,v,m,c,u,e,i,s,t,r);d.push(_),y=W(y,u,t.length,s,0,e);for(var b=0;b<y.length;b++){var w=y[b];if(null!==w&&b>f&&b<p){var S=w.x-w.width/2,k=e.height-w.y-e.area[2];n.beginPath();var C=w.color||o.color,T=w.color||o.color;if("none"!==h.linearType){var P=n.createLinearGradient(S,w.y,S,e.height-e.area[2]);"opacity"==h.linearType?(P.addColorStop(0,l(C,h.linearOpacity)),P.addColorStop(1,l(C,1))):(P.addColorStop(0,l(h.customColor[o.linearIndex],h.linearOpacity)),P.addColorStop(h.colorStop,l(h.customColor[o.linearIndex],h.linearOpacity)),P.addColorStop(1,l(C,1))),C=P}if(h.barBorderRadius&&4===h.barBorderRadius.length||!0===h.barBorderCircle){var A=S,O=w.y,I=w.width,L=e.height-e.area[2]-w.y;h.barBorderCircle&&(h.barBorderRadius=[I/2,I/2,0,0]);var D=(0,a.default)(h.barBorderRadius,4),M=D[0],E=D[1],F=D[2],$=D[3],N=Math.min(I/2,L/2);M=M>N?N:M,E=E>N?N:E,F=F>N?N:F,$=$>N?N:$,M=M<0?0:M,E=E<0?0:E,F=F<0?0:F,$=$<0?0:$,n.arc(A+M,O+M,M,-Math.PI,-Math.PI/2),n.arc(A+I-E,O+E,E,-Math.PI/2,0),n.arc(A+I-F,O+L-F,F,0,Math.PI/2),n.arc(A+$,O+L-$,$,Math.PI/2,Math.PI)}else n.moveTo(S,w.y),n.lineTo(S+w.width,w.y),n.lineTo(S+w.width,e.height-e.area[2]),n.lineTo(S,e.height-e.area[2]),n.lineTo(S,w.y),n.setLineWidth(1),n.setStrokeStyle(T);n.setFillStyle(C),n.closePath(),n.fill()}}break;case"stack":y=Z(x,v,m,c,u,e,i,s,t,r);d.push(y),y=G(y,u,t.length,0,0,e);for(var R=0;R<y.length;R++){var j=y[R];if(null!==j&&R>f&&R<p){n.beginPath();C=j.color||o.color,S=j.x-j.width/2+1,k=e.height-j.y-e.area[2];var U=e.height-j.y0-e.area[2];s>0&&(k-=U),n.setFillStyle(C),n.moveTo(S,j.y),n.fillRect(S,j.y,j.width,k),n.closePath(),n.fill()}}break;case"meter":y=X(x,v,m,c,u,e,i,r);d.push(y),y=H(y,u,t.length,s,0,e,h.meterBorder);for(var B=0;B<y.length;B++){var z=y[B];if(null!==z&&B>f&&B<p){n.beginPath(),0==s&&h.meterBorder>0&&(n.setStrokeStyle(o.color),n.setLineWidth(h.meterBorder*e.pix)),0==s?n.setFillStyle(h.meterFillColor):n.setFillStyle(z.color||o.color);S=z.x-z.width/2,k=e.height-z.y-e.area[2];if(h.barBorderRadius&&4===h.barBorderRadius.length||!0===h.barBorderCircle){var q=S,J=z.y,V=z.width,K=e.height-e.area[2]-z.y;h.barBorderCircle&&(h.barBorderRadius=[V/2,V/2,0,0]);var Y=(0,a.default)(h.barBorderRadius,4),Q=Y[0],tt=Y[1],et=Y[2],it=Y[3],nt=Math.min(V/2,K/2);Q=Q>nt?nt:Q,tt=tt>nt?nt:tt,et=et>nt?nt:et,it=it>nt?nt:it,Q=Q<0?0:Q,tt=tt<0?0:tt,et=et<0?0:et,it=it<0?0:it,n.arc(q+Q,J+Q,Q,-Math.PI,-Math.PI/2),n.arc(q+V-tt,J+tt,tt,-Math.PI/2,0),n.arc(q+V-et,J+K-et,et,0,Math.PI/2),n.arc(q+it,J+K-it,it,Math.PI/2,Math.PI),n.fill()}else n.moveTo(S,z.y),n.lineTo(S+z.width,z.y),n.lineTo(S+z.width,e.height-e.area[2]),n.lineTo(S,e.height-e.area[2]),n.lineTo(S,z.y),n.fill();0==s&&h.meterBorder>0&&(n.closePath(),n.stroke())}}break}})),!1!==e.dataLabel&&1===r&&t.forEach((function(a,o){var s,l,d;s=[].concat(e.chartData.yAxisData.ranges[a.index]),l=s.pop(),d=s.shift();var f=a.data;switch(h.type){case"group":var p=X(f,l,d,c,u,e,i,r);p=W(p,u,t.length,o,0,e),ot(p,a,i,n,e);break;case"stack":p=Z(f,l,d,c,u,e,i,o,t,r);ot(p,a,i,n,e);break;case"meter":p=X(f,l,d,c,u,e,i,r);ot(p,a,i,n,e);break}})),n.restore(),{xAxisPoints:c,calPoints:d,eachSpacing:u}}(u,e,i,n,t),o=r.xAxisPoints,c=r.calPoints,d=r.eachSpacing;e.chartData.xAxisPoints=o,e.chartData.calPoints=c,e.chartData.eachSpacing=d,_t(0,e,i,n),!1!==e.enableMarkLine&&1===t&&dt(e,i,n),bt(e.series,e,i,n,e.chartData),mt(e,i,n,t),Dt(0,n)},onAnimationFinish:function(){o.uevent.trigger("renderComplete")}});break;case"mount":this.animationInstance=new Et({timing:e.timing,duration:g,onProcess:function(t){n.clearRect(0,0,e.width,e.height),e.rotate&&nt(n,e),yt(0,e,0,n),xt(h,e,i,n);var r=function(t,e,i,n){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,o=e.chartData.xAxisData,c=o.xAxisPoints,u=o.eachSpacing,h=s({},{type:"mount",widthRatio:1,borderWidth:1,barBorderCircle:!1,barBorderRadius:[],linearType:"none",linearOpacity:1,customColor:[],colorStop:0},e.extra.mount);h.widthRatio=h.widthRatio<=0?0:h.widthRatio,h.widthRatio=h.widthRatio>=2?2:h.widthRatio,n.save();var d,f,p,g=-2,v=c.length+2;e._scrollDistance_&&0!==e._scrollDistance_&&!0===e.enableScroll&&(n.translate(e._scrollDistance_,0),g=Math.floor(-e._scrollDistance_/u)-2,v=g+e.xAxis.itemCount+4),h.customColor=m(h.linearType,h.customColor,t,i),d=[].concat(e.chartData.yAxisData.ranges[0]),f=d.pop(),p=d.shift();var x=Y(t,f,p,c,u,e,h,r);switch(h.type){case"bar":for(var y=0;y<x.length;y++){var _=x[y];if(null!==_&&y>g&&y<v){var b=_.x-u*h.widthRatio/2,w=e.height-_.y-e.area[2];n.beginPath();var S=_.color||t[y].color,k=_.color||t[y].color;if("none"!==h.linearType){var C=n.createLinearGradient(b,_.y,b,e.height-e.area[2]);"opacity"==h.linearType?(C.addColorStop(0,l(S,h.linearOpacity)),C.addColorStop(1,l(S,1))):(C.addColorStop(0,l(h.customColor[t[y].linearIndex],h.linearOpacity)),C.addColorStop(h.colorStop,l(h.customColor[t[y].linearIndex],h.linearOpacity)),C.addColorStop(1,l(S,1))),S=C}if(h.barBorderRadius&&4===h.barBorderRadius.length||!0===h.barBorderCircle){var T=b,P=_.y,A=_.width,O=e.height-e.area[2]-_.y-h.borderWidth*e.pix/2;h.barBorderCircle&&(h.barBorderRadius=[A/2,A/2,0,0]);var I=(0,a.default)(h.barBorderRadius,4),L=I[0],D=I[1],M=I[2],E=I[3],F=Math.min(A/2,O/2);L=L>F?F:L,D=D>F?F:D,M=M>F?F:M,E=E>F?F:E,L=L<0?0:L,D=D<0?0:D,M=M<0?0:M,E=E<0?0:E,n.arc(T+L,P+L,L,-Math.PI,-Math.PI/2),n.arc(T+A-D,P+D,D,-Math.PI/2,0),n.arc(T+A-M,P+O-M,M,0,Math.PI/2),n.arc(T+E,P+O-E,E,Math.PI/2,Math.PI)}else n.moveTo(b,_.y),n.lineTo(b+_.width,_.y),n.lineTo(b+_.width,e.height-e.area[2]),n.lineTo(b,e.height-e.area[2]),n.lineTo(b,_.y);n.setStrokeStyle(k),n.setFillStyle(S),h.borderWidth>0&&(n.setLineWidth(h.borderWidth*e.pix),n.closePath(),n.stroke()),n.fill()}}break;case"triangle":for(var $=0;$<x.length;$++){var N=x[$];if(null!==N&&$>g&&$<v){b=N.x-u*h.widthRatio/2,w=e.height-N.y-e.area[2];n.beginPath();S=N.color||t[$].color,k=N.color||t[$].color;if("none"!==h.linearType){C=n.createLinearGradient(b,N.y,b,e.height-e.area[2]);"opacity"==h.linearType?(C.addColorStop(0,l(S,h.linearOpacity)),C.addColorStop(1,l(S,1))):(C.addColorStop(0,l(h.customColor[t[$].linearIndex],h.linearOpacity)),C.addColorStop(h.colorStop,l(h.customColor[t[$].linearIndex],h.linearOpacity)),C.addColorStop(1,l(S,1))),S=C}n.moveTo(b,e.height-e.area[2]),n.lineTo(N.x,N.y),n.lineTo(b+N.width,e.height-e.area[2]),n.setStrokeStyle(k),n.setFillStyle(S),h.borderWidth>0&&(n.setLineWidth(h.borderWidth*e.pix),n.stroke()),n.fill()}}break;case"mount":for(var R=0;R<x.length;R++){var j=x[R];if(null!==j&&R>g&&R<v){b=j.x-u*h.widthRatio/2,w=e.height-j.y-e.area[2];n.beginPath();S=j.color||t[R].color,k=j.color||t[R].color;if("none"!==h.linearType){C=n.createLinearGradient(b,j.y,b,e.height-e.area[2]);"opacity"==h.linearType?(C.addColorStop(0,l(S,h.linearOpacity)),C.addColorStop(1,l(S,1))):(C.addColorStop(0,l(h.customColor[t[R].linearIndex],h.linearOpacity)),C.addColorStop(h.colorStop,l(h.customColor[t[R].linearIndex],h.linearOpacity)),C.addColorStop(1,l(S,1))),S=C}n.moveTo(b,e.height-e.area[2]),n.bezierCurveTo(j.x-j.width/4,e.height-e.area[2],j.x-j.width/4,j.y,j.x,j.y),n.bezierCurveTo(j.x+j.width/4,j.y,j.x+j.width/4,e.height-e.area[2],b+j.width,e.height-e.area[2]),n.setStrokeStyle(k),n.setFillStyle(S),h.borderWidth>0&&(n.setLineWidth(h.borderWidth*e.pix),n.stroke()),n.fill()}}break;case"sharp":for(var U=0;U<x.length;U++){var B=x[U];if(null!==B&&U>g&&U<v){b=B.x-u*h.widthRatio/2,w=e.height-B.y-e.area[2];n.beginPath();S=B.color||t[U].color,k=B.color||t[U].color;if("none"!==h.linearType){C=n.createLinearGradient(b,B.y,b,e.height-e.area[2]);"opacity"==h.linearType?(C.addColorStop(0,l(S,h.linearOpacity)),C.addColorStop(1,l(S,1))):(C.addColorStop(0,l(h.customColor[t[U].linearIndex],h.linearOpacity)),C.addColorStop(h.colorStop,l(h.customColor[t[U].linearIndex],h.linearOpacity)),C.addColorStop(1,l(S,1))),S=C}n.moveTo(b,e.height-e.area[2]),n.quadraticCurveTo(B.x-0,e.height-e.area[2]-w/4,B.x,B.y),n.quadraticCurveTo(B.x+0,e.height-e.area[2]-w/4,b+B.width,e.height-e.area[2]),n.setStrokeStyle(k),n.setFillStyle(S),h.borderWidth>0&&(n.setLineWidth(h.borderWidth*e.pix),n.stroke()),n.fill()}}break}if(!1!==e.dataLabel&&1===r){var z,W,q;z=[].concat(e.chartData.yAxisData.ranges[0]),W=z.pop(),q=z.shift();x=Y(t,W,q,c,u,e,h,r);st(x,t,i,n,e)}return n.restore(),{xAxisPoints:c,calPoints:x,eachSpacing:u}}(u,e,i,n,t),o=r.xAxisPoints,c=r.calPoints,d=r.eachSpacing;e.chartData.xAxisPoints=o,e.chartData.calPoints=c,e.chartData.eachSpacing=d,_t(0,e,i,n),!1!==e.enableMarkLine&&1===t&&dt(e,i,n),bt(e.series,e,i,n,e.chartData),mt(e,i,n,t),Dt(0,n)},onAnimationFinish:function(){o.uevent.trigger("renderComplete")}});break;case"bar":this.animationInstance=new Et({timing:e.timing,duration:g,onProcess:function(t){n.clearRect(0,0,e.width,e.height),e.rotate&&nt(n,e),xt(h,e,i,n);var r=function(t,e,i,n){for(var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,o=[],c=(e.height-e.area[0]-e.area[2])/e.categories.length,u=0;u<e.categories.length;u++)o.push(e.area[0]+c/2+c*u);var h=s({},{type:"group",width:c/2,meterBorder:4,meterFillColor:"#FFFFFF",barBorderCircle:!1,barBorderRadius:[],seriesGap:2,linearType:"none",linearOpacity:1,customColor:[],colorStop:0},e.extra.bar),d=[];n.save();var f=-2,p=o.length+2;return e.tooltip&&e.tooltip.textList&&e.tooltip.textList.length&&1===r&&gt(e.tooltip.offset.y,e,0,n,c),h.customColor=m(h.linearType,h.customColor,t,i),t.forEach((function(s,u){var g,v,m;g=[].concat(e.chartData.xAxisData.ranges),m=g.pop(),v=g.shift();var x=s.data;switch(h.type){case"group":var y=Q(x,v,m,o,c,e,i,r),_=tt(x,v,m,o,c,e,i,u,t,r);d.push(_),y=q(y,c,t.length,u,0,e);for(var b=0;b<y.length;b++){var w=y[b];if(null!==w&&b>f&&b<p){var S=e.area[3],k=w.y-w.width/2;w.height;n.beginPath();var C=w.color||s.color,T=w.color||s.color;if("none"!==h.linearType){var P=n.createLinearGradient(S,w.y,w.x,w.y);"opacity"==h.linearType?(P.addColorStop(0,l(C,h.linearOpacity)),P.addColorStop(1,l(C,1))):(P.addColorStop(0,l(h.customColor[s.linearIndex],h.linearOpacity)),P.addColorStop(h.colorStop,l(h.customColor[s.linearIndex],h.linearOpacity)),P.addColorStop(1,l(C,1))),C=P}if(h.barBorderRadius&&4===h.barBorderRadius.length||!0===h.barBorderCircle){var A=S,O=w.width,I=w.y-w.width/2,L=w.height;h.barBorderCircle&&(h.barBorderRadius=[O/2,O/2,0,0]);var D=(0,a.default)(h.barBorderRadius,4),M=D[0],E=D[1],F=D[2],$=D[3],N=Math.min(O/2,L/2);M=M>N?N:M,E=E>N?N:E,F=F>N?N:F,$=$>N?N:$,M=M<0?0:M,E=E<0?0:E,F=F<0?0:F,$=$<0?0:$,n.arc(A+$,I+$,$,-Math.PI,-Math.PI/2),n.arc(w.x-M,I+M,M,-Math.PI/2,0),n.arc(w.x-E,I+O-E,E,0,Math.PI/2),n.arc(A+F,I+O-F,F,Math.PI/2,Math.PI)}else n.moveTo(S,k),n.lineTo(w.x,k),n.lineTo(w.x,k+w.width),n.lineTo(S,k+w.width),n.lineTo(S,k),n.setLineWidth(1),n.setStrokeStyle(T);n.setFillStyle(C),n.closePath(),n.fill()}}break;case"stack":y=tt(x,v,m,o,c,e,i,u,t,r);d.push(y),y=J(y,c,t.length,0,0,e);for(var R=0;R<y.length;R++){var j=y[R];if(null!==j&&R>f&&R<p){n.beginPath();C=j.color||s.color,S=j.x0;n.setFillStyle(C),n.moveTo(S,j.y-j.width/2),n.fillRect(S,j.y-j.width/2,j.height,j.width),n.closePath(),n.fill()}}break}})),!1!==e.dataLabel&&1===r&&t.forEach((function(a,s){var l,u,d;l=[].concat(e.chartData.xAxisData.ranges),d=l.pop(),u=l.shift();var f=a.data;switch(h.type){case"group":var p=Q(f,u,d,o,c,e,i,r);p=q(p,c,t.length,s,0,e),ct(p,a,i,n,e);break;case"stack":p=tt(f,u,d,o,c,e,i,s,t,r);ct(p,a,i,n,e);break}})),{yAxisPoints:o,calPoints:d,eachSpacing:c}}(u,e,i,n,t),o=r.yAxisPoints,c=r.calPoints,d=r.eachSpacing;e.chartData.yAxisPoints=o,e.chartData.xAxisPoints=e.chartData.xAxisData.xAxisPoints,e.chartData.calPoints=c,e.chartData.eachSpacing=d,_t(0,e,i,n),!1!==e.enableMarkLine&&1===t&&dt(e,i,n),bt(e.series,e,i,n,e.chartData),mt(e,i,n,t),Dt(0,n)},onAnimationFinish:function(){o.uevent.trigger("renderComplete")}});break;case"area":this.animationInstance=new Et({timing:e.timing,duration:g,onProcess:function(t){n.clearRect(0,0,e.width,e.height),e.rotate&&nt(n,e),yt(0,e,0,n),xt(h,e,i,n);var a=function(t,e,i,n){var a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,r=s({},{type:"straight",opacity:.2,addLine:!1,width:2,gradient:!1},e.extra.area),o=e.chartData.xAxisData,c=o.xAxisPoints,u=o.eachSpacing,h=e.height-e.area[2],d=[];n.save();var p=0,g=e.width+u;return e._scrollDistance_&&0!==e._scrollDistance_&&!0===e.enableScroll&&(n.translate(e._scrollDistance_,0),p=-e._scrollDistance_-2*u+e.area[3],g=p+(e.xAxis.itemCount+4)*u),t.forEach((function(t,o){var s,v,m;s=[].concat(e.chartData.yAxisData.ranges[t.index]),v=s.pop(),m=s.shift();var x=t.data,y=X(x,v,m,c,u,e,i,a);d.push(y);for(var _=D(y,t),b=0;b<_.length;b++){var w=_[b];if(n.beginPath(),n.setStrokeStyle(l(t.color,r.opacity)),r.gradient){var S=n.createLinearGradient(0,e.area[0],0,e.height-e.area[2]);S.addColorStop("0",l(t.color,r.opacity)),S.addColorStop("1.0",l("#FFFFFF",.1)),n.setFillStyle(S)}else n.setFillStyle(l(t.color,r.opacity));if(n.setLineWidth(r.width*e.pix),w.length>1){var k=w[0],C=w[w.length-1];n.moveTo(k.x,k.y);var T=0;if("curve"===r.type)for(var P=0;P<w.length;P++){var A=w[P];if(0==T&&A.x>p&&(n.moveTo(A.x,A.y),T=1),P>0&&A.x>p&&A.x<g){var O=f(w,P-1);n.bezierCurveTo(O.ctrA.x,O.ctrA.y,O.ctrB.x,O.ctrB.y,A.x,A.y)}}if("straight"===r.type)for(var I=0;I<w.length;I++){var L=w[I];0==T&&L.x>p&&(n.moveTo(L.x,L.y),T=1),I>0&&L.x>p&&L.x<g&&n.lineTo(L.x,L.y)}if("step"===r.type)for(var M=0;M<w.length;M++){var E=w[M];0==T&&E.x>p&&(n.moveTo(E.x,E.y),T=1),M>0&&E.x>p&&E.x<g&&(n.lineTo(E.x,w[M-1].y),n.lineTo(E.x,E.y))}n.lineTo(C.x,h),n.lineTo(k.x,h),n.lineTo(k.x,k.y)}else{var F=w[0];n.moveTo(F.x-u/2,F.y),n.lineTo(F.x+u/2,F.y),n.lineTo(F.x+u/2,h),n.lineTo(F.x-u/2,h),n.moveTo(F.x-u/2,F.y)}if(n.closePath(),n.fill(),r.addLine){if("dash"==t.lineType){var $=t.dashLength?t.dashLength:8;$*=e.pix,n.setLineDash([$,$])}if(n.beginPath(),n.setStrokeStyle(t.color),n.setLineWidth(r.width*e.pix),1===w.length)n.moveTo(w[0].x,w[0].y),n.arc(w[0].x,w[0].y,1,0,2*Math.PI);else{n.moveTo(w[0].x,w[0].y);var N=0;if("curve"===r.type)for(var R=0;R<w.length;R++){var j=w[R];if(0==N&&j.x>p&&(n.moveTo(j.x,j.y),N=1),R>0&&j.x>p&&j.x<g){var U=f(w,R-1);n.bezierCurveTo(U.ctrA.x,U.ctrA.y,U.ctrB.x,U.ctrB.y,j.x,j.y)}}if("straight"===r.type)for(var B=0;B<w.length;B++){var z=w[B];0==N&&z.x>p&&(n.moveTo(z.x,z.y),N=1),B>0&&z.x>p&&z.x<g&&n.lineTo(z.x,z.y)}if("step"===r.type)for(var W=0;W<w.length;W++){var q=w[W];0==N&&q.x>p&&(n.moveTo(q.x,q.y),N=1),W>0&&q.x>p&&q.x<g&&(n.lineTo(q.x,w[W-1].y),n.lineTo(q.x,q.y))}n.moveTo(w[0].x,w[0].y)}n.stroke(),n.setLineDash([])}}!1!==e.dataPointShape&&at(y,t.color,t.pointShape,n,e)})),!1!==e.dataLabel&&1===a&&t.forEach((function(t,r){var o,s,l;o=[].concat(e.chartData.yAxisData.ranges[t.index]),s=o.pop(),l=o.shift();var h=t.data,d=X(h,s,l,c,u,e,i,a);ot(d,t,i,n,e)})),n.restore(),{xAxisPoints:c,calPoints:d,eachSpacing:u}}(u,e,i,n,t),r=a.xAxisPoints,o=a.calPoints,c=a.eachSpacing;e.chartData.xAxisPoints=r,e.chartData.calPoints=o,e.chartData.eachSpacing=c,_t(0,e,i,n),!1!==e.enableMarkLine&&1===t&&dt(e,i,n),bt(e.series,e,i,n,e.chartData),mt(e,i,n,t),Dt(0,n)},onAnimationFinish:function(){o.uevent.trigger("renderComplete")}});break;case"ring":this.animationInstance=new Et({timing:e.timing,duration:g,onProcess:function(t){n.clearRect(0,0,e.width,e.height),e.rotate&&nt(n,e),e.chartData.pieData=wt(u,e,i,n,t),bt(e.series,e,i,n,e.chartData),mt(e,i,n,t),Dt(0,n)},onAnimationFinish:function(){o.uevent.trigger("renderComplete")}});break;case"pie":this.animationInstance=new Et({timing:e.timing,duration:g,onProcess:function(t){n.clearRect(0,0,e.width,e.height),e.rotate&&nt(n,e),e.chartData.pieData=wt(u,e,i,n,t),bt(e.series,e,i,n,e.chartData),mt(e,i,n,t),Dt(0,n)},onAnimationFinish:function(){o.uevent.trigger("renderComplete")}});break;case"rose":this.animationInstance=new Et({timing:e.timing,duration:g,onProcess:function(t){n.clearRect(0,0,e.width,e.height),e.rotate&&nt(n,e),e.chartData.pieData=function(t,e,i,n){var a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,r=s({},{type:"area",activeOpacity:.5,activeRadius:10,offsetAngle:0,labelWidth:15,border:!1,borderWidth:2,borderColor:"#FFFFFF",linearType:"none",customColor:[]},e.extra.rose);0==i.pieChartLinePadding&&(i.pieChartLinePadding=r.activeRadius*e.pix);var o={x:e.area[3]+(e.width-e.area[1]-e.area[3])/2,y:e.area[0]+(e.height-e.area[0]-e.area[2])/2},c=Math.min((e.width-e.area[1]-e.area[3])/2-i.pieChartLinePadding-i.pieChartTextPadding-i._pieTextMaxLength_,(e.height-e.area[0]-e.area[2])/2-i.pieChartLinePadding-i.pieChartTextPadding);c=c<10?10:c;var u=r.minRadius||.5*c;t=R(t,r.type,u,c,a);var h=r.activeRadius*e.pix;return r.customColor=m(r.linearType,r.customColor,t,i),t=t.map((function(t){return t._start_+=(r.offsetAngle||0)*Math.PI/180,t})),t.forEach((function(t,i){e.tooltip&&e.tooltip.index==i&&(n.beginPath(),n.setFillStyle(l(t.color,r.activeOpacity||.5)),n.moveTo(o.x,o.y),n.arc(o.x,o.y,h+t._radius_,t._start_,t._start_+2*t._rose_proportion_*Math.PI),n.closePath(),n.fill()),n.beginPath(),n.setLineWidth(r.borderWidth*e.pix),n.lineJoin="round",n.setStrokeStyle(r.borderColor);var a,s=t.color;"custom"==r.linearType&&(a=n.createCircularGradient?n.createCircularGradient(o.x,o.y,t._radius_):n.createRadialGradient(o.x,o.y,0,o.x,o.y,t._radius_),a.addColorStop(0,l(r.customColor[t.linearIndex],1)),a.addColorStop(1,l(t.color,1)),s=a);n.setFillStyle(s),n.moveTo(o.x,o.y),n.arc(o.x,o.y,t._radius_,t._start_,t._start_+2*t._rose_proportion_*Math.PI),n.closePath(),n.fill(),1==r.border&&n.stroke()})),!1!==e.dataLabel&&1===a&&ht(t,e,i,n,0,o),{center:o,radius:c,series:t}}(u,e,i,n,t),bt(e.series,e,i,n,e.chartData),mt(e,i,n,t),Dt(0,n)},onAnimationFinish:function(){o.uevent.trigger("renderComplete")}});break;case"radar":this.animationInstance=new Et({timing:e.timing,duration:g,onProcess:function(t){n.clearRect(0,0,e.width,e.height),e.rotate&&nt(n,e),e.chartData.radarData=function(t,e,i,n){var a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,r=s({},{gridColor:"#cccccc",gridType:"radar",gridEval:1,axisLabel:!1,axisLabelTofix:0,labelColor:"#666666",labelPointShow:!1,labelPointRadius:3,labelPointColor:"#cccccc",opacity:.2,gridCount:3,border:!1,borderWidth:2,linearType:"none",customColor:[]},e.extra.radar),o=C(e.categories.length),c={x:e.area[3]+(e.width-e.area[1]-e.area[3])/2,y:e.area[0]+(e.height-e.area[0]-e.area[2])/2},u=(e.width-e.area[1]-e.area[3])/2,h=(e.height-e.area[0]-e.area[2])/2,d=Math.min(u-(k(e.categories,i.fontSize,n)+i.radarLabelTextMargin),h-i.radarLabelTextMargin);d-=i.radarLabelTextMargin*e.pix,d=d<10?10:d,n.beginPath(),n.setLineWidth(1*e.pix),n.setStrokeStyle(r.gridColor),o.forEach((function(t,e){var i=p(d*Math.cos(t),d*Math.sin(t),c);n.moveTo(c.x,c.y),e%r.gridEval==0&&n.lineTo(i.x,i.y)})),n.stroke(),n.closePath();for(var f=function(t){var i={};if(n.beginPath(),n.setLineWidth(1*e.pix),n.setStrokeStyle(r.gridColor),"radar"==r.gridType)o.forEach((function(e,a){var o=p(d/r.gridCount*t*Math.cos(e),d/r.gridCount*t*Math.sin(e),c);0===a?(i=o,n.moveTo(o.x,o.y)):n.lineTo(o.x,o.y)})),n.lineTo(i.x,i.y);else{var a=p(d/r.gridCount*t*Math.cos(1.5),d/r.gridCount*t*Math.sin(1.5),c);n.arc(c.x,c.y,c.y-a.y,0,2*Math.PI,!1)}n.stroke(),n.closePath()},g=1;g<=r.gridCount;g++)f(g);r.customColor=m(r.linearType,r.customColor,t,i);var v=F(o,c,d,t,e,a);if(v.forEach((function(i,a){n.beginPath(),n.setLineWidth(r.borderWidth*e.pix),n.setStrokeStyle(i.color);var o,s=l(i.color,r.opacity);"custom"==r.linearType&&(o=n.createCircularGradient?n.createCircularGradient(c.x,c.y,d):n.createRadialGradient(c.x,c.y,0,c.x,c.y,d),o.addColorStop(0,l(r.customColor[t[a].linearIndex],r.opacity)),o.addColorStop(1,l(i.color,r.opacity)),s=o);if(n.setFillStyle(s),i.data.forEach((function(t,e){0===e?n.moveTo(t.position.x,t.position.y):n.lineTo(t.position.x,t.position.y)})),n.closePath(),n.fill(),!0===r.border&&n.stroke(),n.closePath(),!1!==e.dataPointShape){var u=i.data.map((function(t){return t.position}));at(u,i.color,i.pointShape,n,e)}})),!0===r.axisLabel){var x=Math.max(r.max,Math.max.apply(null,_(t))),y=d/r.gridCount,b=e.fontSize*e.pix;n.setFontSize(b),n.setFillStyle(e.fontColor),n.setTextAlign("left");for(g=0;g<r.gridCount+1;g++){var w=g*x/r.gridCount;w=w.toFixed(r.axisLabelTofix),n.fillText(String(w),c.x+3*e.pix,c.y-g*y+b/2)}}return ut(o,d,c,e,i,n),!1!==e.dataLabel&&1===a&&(v.forEach((function(t,a){n.beginPath();var r=t.textSize*e.pix||i.fontSize;n.setFontSize(r),n.setFillStyle(t.textColor||e.fontColor),t.data.forEach((function(t,e){Math.abs(t.position.x-c.x)<2?t.position.y<c.y?(n.setTextAlign("center"),n.fillText(t.value,t.position.x,t.position.y-4)):(n.setTextAlign("center"),n.fillText(t.value,t.position.x,t.position.y+r+2)):t.position.x<c.x?(n.setTextAlign("right"),n.fillText(t.value,t.position.x-4,t.position.y+r/2-2)):(n.setTextAlign("left"),n.fillText(t.value,t.position.x+4,t.position.y+r/2-2))})),n.closePath(),n.stroke()})),n.setTextAlign("left")),{center:c,radius:d,angleList:o}}(u,e,i,n,t),bt(e.series,e,i,n,e.chartData),mt(e,i,n,t),Dt(0,n)},onAnimationFinish:function(){o.uevent.trigger("renderComplete")}});break;case"arcbar":this.animationInstance=new Et({timing:e.timing,duration:g,onProcess:function(t){n.clearRect(0,0,e.width,e.height),e.rotate&&nt(n,e),e.chartData.arcbarData=function(t,e,i,n){var a,r,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,c=s({},{startAngle:.75,endAngle:.25,type:"default",direction:"cw",lineCap:"round",width:12,gap:2,linearType:"none",customColor:[]},e.extra.arcbar);t=j(t,c,o),a=c.centerX||c.centerY?{x:c.centerX?c.centerX:e.width/2,y:c.centerY?c.centerY:e.height/2}:{x:e.width/2,y:e.height/2},c.radius?r=c.radius:(r=Math.min(a.x,a.y),r-=5*e.pix,r-=c.width/2),r=r<10?10:r,c.customColor=m(c.linearType,c.customColor,t,i);for(var u=0;u<t.length;u++){var h=t[u];n.setLineWidth(c.width*e.pix),n.setStrokeStyle(c.backgroundColor||"#E9E9E9"),n.setLineCap(c.lineCap),n.beginPath(),"default"==c.type?n.arc(a.x,a.y,r-(c.width*e.pix+c.gap*e.pix)*u,c.startAngle*Math.PI,c.endAngle*Math.PI,"ccw"==c.direction):n.arc(a.x,a.y,r-(c.width*e.pix+c.gap*e.pix)*u,0,2*Math.PI,"ccw"==c.direction),n.stroke();var d=h.color;if("custom"==c.linearType){var f=n.createLinearGradient(a.x-r,a.y,a.x+r,a.y);f.addColorStop(1,l(c.customColor[h.linearIndex],1)),f.addColorStop(0,l(h.color,1)),d=f}n.setLineWidth(c.width*e.pix),n.setStrokeStyle(d),n.setLineCap(c.lineCap),n.beginPath(),n.arc(a.x,a.y,r-(c.width*e.pix+c.gap*e.pix)*u,c.startAngle*Math.PI,h._proportion_*Math.PI,"ccw"==c.direction),n.stroke()}return rt(e,i,n,a),{center:a,radius:r,series:t}}(u,e,i,n,t),Dt(0,n)},onAnimationFinish:function(){o.uevent.trigger("renderComplete")}});break;case"gauge":this.animationInstance=new Et({timing:e.timing,duration:g,onProcess:function(t){n.clearRect(0,0,e.width,e.height),e.rotate&&nt(n,e),e.chartData.gaugeData=function(t,e,i,n,a){var r=arguments.length>5&&void 0!==arguments[5]?arguments[5]:1,o=s({},{type:"default",startAngle:.75,endAngle:.25,width:15,labelOffset:13,splitLine:{fixRadius:0,splitNumber:10,width:15,color:"#FFFFFF",childNumber:5,childWidth:5},pointer:{width:15,color:"auto"}},i.extra.gauge);void 0==o.oldAngle&&(o.oldAngle=o.startAngle),void 0==o.oldData&&(o.oldData=0),t=B(t,o.startAngle,o.endAngle);var c={x:i.width/2,y:i.height/2},u=Math.min(c.x,c.y);u-=5*i.pix,u-=o.width/2,u=u<10?10:u;var h=u-o.width,d=0;if("progress"==o.type){var f=u-3*o.width;a.beginPath();var p=a.createLinearGradient(c.x,c.y-f,c.x,c.y+f);p.addColorStop("0",l(e[0].color,.3)),p.addColorStop("1.0",l("#FFFFFF",.1)),a.setFillStyle(p),a.arc(c.x,c.y,f,0,2*Math.PI,!1),a.fill(),a.setLineWidth(o.width),a.setStrokeStyle(l(e[0].color,.3)),a.setLineCap("round"),a.beginPath(),a.arc(c.x,c.y,h,o.startAngle*Math.PI,o.endAngle*Math.PI,!1),a.stroke(),d=o.startAngle-o.endAngle+1;o.splitLine.splitNumber;var g=d/o.splitLine.splitNumber/o.splitLine.childNumber,v=-u-.5*o.width-o.splitLine.fixRadius,m=-u-o.width-o.splitLine.fixRadius+o.splitLine.width;a.save(),a.translate(c.x,c.y),a.rotate((o.startAngle-1)*Math.PI);for(var x=o.splitLine.splitNumber*o.splitLine.childNumber+1,y=e[0].data*r,_=0;_<x;_++)a.beginPath(),y>_/x?a.setStrokeStyle(l(e[0].color,1)):a.setStrokeStyle(l(e[0].color,.3)),a.setLineWidth(3*i.pix),a.moveTo(v,0),a.lineTo(m,0),a.stroke(),a.rotate(g*Math.PI);a.restore(),e=U(e,o,r),a.setLineWidth(o.width),a.setStrokeStyle(e[0].color),a.setLineCap("round"),a.beginPath(),a.arc(c.x,c.y,h,o.startAngle*Math.PI,e[0]._proportion_*Math.PI,!1),a.stroke();var b=u-2.5*o.width;a.save(),a.translate(c.x,c.y),a.rotate((e[0]._proportion_-1)*Math.PI),a.beginPath(),a.setLineWidth(o.width/3);var w=a.createLinearGradient(0,.6*-b,0,.6*b);w.addColorStop("0",l("#FFFFFF",0)),w.addColorStop("0.5",l(e[0].color,1)),w.addColorStop("1.0",l("#FFFFFF",0)),a.setStrokeStyle(w),a.arc(0,0,b,.85*Math.PI,1.15*Math.PI,!1),a.stroke(),a.beginPath(),a.setLineWidth(1),a.setStrokeStyle(e[0].color),a.setFillStyle(e[0].color),a.moveTo(-b-o.width/3/2,-4),a.lineTo(-b-o.width/3/2-4,0),a.lineTo(-b-o.width/3/2,4),a.lineTo(-b-o.width/3/2,-4),a.stroke(),a.fill(),a.restore()}else{a.setLineWidth(o.width),a.setLineCap("butt");for(var S=0;S<t.length;S++){var k=t[S];a.beginPath(),a.setStrokeStyle(k.color),a.arc(c.x,c.y,u,k._startAngle_*Math.PI,k._endAngle_*Math.PI,!1),a.stroke()}a.save(),d=o.startAngle-o.endAngle+1;var C=d/o.splitLine.splitNumber,T=d/o.splitLine.splitNumber/o.splitLine.childNumber,P=-u-.5*o.width-o.splitLine.fixRadius,A=-u-.5*o.width-o.splitLine.fixRadius+o.splitLine.width,O=-u-.5*o.width-o.splitLine.fixRadius+o.splitLine.childWidth;a.translate(c.x,c.y),a.rotate((o.startAngle-1)*Math.PI);for(var I=0;I<o.splitLine.splitNumber+1;I++)a.beginPath(),a.setStrokeStyle(o.splitLine.color),a.setLineWidth(2*i.pix),a.moveTo(P,0),a.lineTo(A,0),a.stroke(),a.rotate(C*Math.PI);a.restore(),a.save(),a.translate(c.x,c.y),a.rotate((o.startAngle-1)*Math.PI);for(var L=0;L<o.splitLine.splitNumber*o.splitLine.childNumber+1;L++)a.beginPath(),a.setStrokeStyle(o.splitLine.color),a.setLineWidth(1*i.pix),a.moveTo(P,0),a.lineTo(O,0),a.stroke(),a.rotate(T*Math.PI);a.restore(),e=z(e,t,o,r);for(var D=0;D<e.length;D++){var M=e[D];a.save(),a.translate(c.x,c.y),a.rotate((M._proportion_-1)*Math.PI),a.beginPath(),a.setFillStyle(M.color),a.moveTo(o.pointer.width,0),a.lineTo(0,-o.pointer.width/2),a.lineTo(-h,0),a.lineTo(0,o.pointer.width/2),a.lineTo(o.pointer.width,0),a.closePath(),a.fill(),a.beginPath(),a.setFillStyle("#FFFFFF"),a.arc(0,0,o.pointer.width/6,0,2*Math.PI,!1),a.fill(),a.restore()}!1!==i.dataLabel&&lt(o,u,c,i,n,a)}return rt(i,n,a,c),1===r&&"gauge"===i.type&&(i.extra.gauge.oldAngle=e[0]._proportion_,i.extra.gauge.oldData=e[0].data),{center:c,radius:u,innerRadius:h,categories:t,totalAngle:d}}(h,u,e,i,n,t),Dt(0,n)},onAnimationFinish:function(){o.uevent.trigger("renderComplete")}});break;case"candle":this.animationInstance=new Et({timing:e.timing,duration:g,onProcess:function(t){n.clearRect(0,0,e.width,e.height),e.rotate&&nt(n,e),yt(0,e,0,n),xt(h,e,i,n);var a=function(t,e,i,n,a){var r=arguments.length>5&&void 0!==arguments[5]?arguments[5]:1,o=s({},{color:{},average:{}},i.extra.candle);o.color=s({},{upLine:"#f04864",upFill:"#f04864",downLine:"#2fc25b",downFill:"#2fc25b"},o.color),o.average=s({},{show:!1,name:[],day:[],color:n.color},o.average),i.extra.candle=o;var c=i.chartData.xAxisData,l=c.xAxisPoints,u=c.eachSpacing,h=[];a.save();var d=-2,p=l.length+2,g=0,v=i.width+u;return i._scrollDistance_&&0!==i._scrollDistance_&&!0===i.enableScroll&&(a.translate(i._scrollDistance_,0),d=Math.floor(-i._scrollDistance_/u)-2,p=d+i.xAxis.itemCount+4,g=-i._scrollDistance_-2*u+i.area[3],v=g+(i.xAxis.itemCount+4)*u),(o.average.show||e)&&e.forEach((function(t,e){var o,s,c;o=[].concat(i.chartData.yAxisData.ranges[t.index]),s=o.pop(),c=o.shift();for(var h=t.data,d=X(h,s,c,l,u,i,n,r),p=D(d,t),m=0;m<p.length;m++){var x=p[m];if(a.beginPath(),a.setStrokeStyle(t.color),a.setLineWidth(1),1===x.length)a.moveTo(x[0].x,x[0].y),a.arc(x[0].x,x[0].y,1,0,2*Math.PI);else{a.moveTo(x[0].x,x[0].y);for(var y=0,_=0;_<x.length;_++){var b=x[_];if(0==y&&b.x>g&&(a.moveTo(b.x,b.y),y=1),_>0&&b.x>g&&b.x<v){var w=f(x,_-1);a.bezierCurveTo(w.ctrA.x,w.ctrA.y,w.ctrB.x,w.ctrB.y,b.x,b.y)}}a.moveTo(x[0].x,x[0].y)}a.closePath(),a.stroke()}})),t.forEach((function(t,e){var s,c,f;s=[].concat(i.chartData.yAxisData.ranges[t.index]),c=s.pop(),f=s.shift();var g=t.data,v=K(g,c,f,l,u,i,n,r);h.push(v);for(var m=D(v,t),x=0;x<m[0].length;x++)if(x>d&&x<p){var y=m[0][x];a.beginPath(),g[x][1]-g[x][0]>0?(a.setStrokeStyle(o.color.upLine),a.setFillStyle(o.color.upFill),a.setLineWidth(1*i.pix),a.moveTo(y[3].x,y[3].y),a.lineTo(y[1].x,y[1].y),a.lineTo(y[1].x-u/4,y[1].y),a.lineTo(y[0].x-u/4,y[0].y),a.lineTo(y[0].x,y[0].y),a.lineTo(y[2].x,y[2].y),a.lineTo(y[0].x,y[0].y),a.lineTo(y[0].x+u/4,y[0].y),a.lineTo(y[1].x+u/4,y[1].y),a.lineTo(y[1].x,y[1].y),a.moveTo(y[3].x,y[3].y)):(a.setStrokeStyle(o.color.downLine),a.setFillStyle(o.color.downFill),a.setLineWidth(1*i.pix),a.moveTo(y[3].x,y[3].y),a.lineTo(y[0].x,y[0].y),a.lineTo(y[0].x-u/4,y[0].y),a.lineTo(y[1].x-u/4,y[1].y),a.lineTo(y[1].x,y[1].y),a.lineTo(y[2].x,y[2].y),a.lineTo(y[1].x,y[1].y),a.lineTo(y[1].x+u/4,y[1].y),a.lineTo(y[0].x+u/4,y[0].y),a.lineTo(y[0].x,y[0].y),a.moveTo(y[3].x,y[3].y)),a.closePath(),a.fill(),a.stroke()}})),a.restore(),{xAxisPoints:l,calPoints:h,eachSpacing:u}}(u,x,e,i,n,t),r=a.xAxisPoints,o=a.calPoints,c=a.eachSpacing;e.chartData.xAxisPoints=r,e.chartData.calPoints=o,e.chartData.eachSpacing=c,_t(0,e,i,n),!1!==e.enableMarkLine&&1===t&&dt(e,i,n),bt(x?0:e.series,e,i,n,e.chartData),mt(e,i,n,t),Dt(0,n)},onAnimationFinish:function(){o.uevent.trigger("renderComplete")}});break}}function $t(){this.events={}}Et.prototype.stop=function(){this.isStop=!0},$t.prototype.addEventListener=function(t,e){this.events[t]=this.events[t]||[],this.events[t].push(e)},$t.prototype.delEventListener=function(t){this.events[t]=[]},$t.prototype.trigger=function(){for(var t=arguments.length,e=Array(t),i=0;i<t;i++)e[i]=arguments[i];var n=e[0],a=e.slice(1);this.events[n]&&this.events[n].forEach((function(t){try{t.apply(null,a)}catch(e){}}))};var Nt=function(t){t.pix=t.pixelRatio?t.pixelRatio:1,t.fontSize=t.fontSize?t.fontSize:13,t.fontColor=t.fontColor?t.fontColor:o.fontColor,""!=t.background&&"none"!=t.background||(t.background="#FFFFFF"),t.title=s({},t.title),t.subtitle=s({},t.subtitle),t.duration=t.duration?t.duration:1e3,t.yAxis=s({},{data:[],showTitle:!1,disabled:!1,disableGrid:!1,gridSet:"number",splitNumber:5,gridType:"solid",dashLength:4*t.pix,gridColor:"#cccccc",padding:10,fontColor:"#666666"},t.yAxis),t.xAxis=s({},{rotateLabel:!1,rotateAngle:45,disabled:!1,disableGrid:!1,splitNumber:5,calibration:!1,gridType:"solid",dashLength:4,scrollAlign:"left",boundaryGap:"center",axisLine:!0,axisLineColor:"#cccccc"},t.xAxis),t.xAxis.scrollPosition=t.xAxis.scrollAlign,t.legend=s({},{show:!0,position:"bottom",float:"center",backgroundColor:"rgba(0,0,0,0)",borderColor:"rgba(0,0,0,0)",borderWidth:0,padding:5,margin:5,itemGap:10,fontSize:t.fontSize,lineHeight:t.fontSize,fontColor:t.fontColor,formatter:{},hiddenColor:"#CECECE"},t.legend),t.extra=s({},t.extra),t.rotate=!!t.rotate,t.animation=!!t.animation,t.rotate=!!t.rotate,t.canvas2d=!!t.canvas2d;var e=s({},o);if(e.color=t.color?t.color:e.color,"pie"==t.type&&(e.pieChartLinePadding=!1===t.dataLabel?0:t.extra.pie.labelWidth*t.pix||e.pieChartLinePadding*t.pix),"ring"==t.type&&(e.pieChartLinePadding=!1===t.dataLabel?0:t.extra.ring.labelWidth*t.pix||e.pieChartLinePadding*t.pix),"rose"==t.type&&(e.pieChartLinePadding=!1===t.dataLabel?0:t.extra.rose.labelWidth*t.pix||e.pieChartLinePadding*t.pix),e.pieChartTextPadding=!1===t.dataLabel?0:e.pieChartTextPadding*t.pix,e.rotate=t.rotate,t.rotate){var i=t.width,n=t.height;t.width=n,t.height=i}if(t.padding=t.padding?t.padding:e.padding,e.yAxisWidth=o.yAxisWidth*t.pix,e.xAxisHeight=o.xAxisHeight*t.pix,t.enableScroll&&t.xAxis.scrollShow&&(e.xAxisHeight+=6*t.pix),e.fontSize=t.fontSize*t.pix,e.titleFontSize=o.titleFontSize*t.pix,e.subtitleFontSize=o.subtitleFontSize*t.pix,e.toolTipPadding=o.toolTipPadding*t.pix,e.toolTipLineHeight=o.toolTipLineHeight*t.pix,!t.context)throw new Error("[uCharts] \u672a\u83b7\u53d6\u5230context\uff01\u6ce8\u610f\uff1av2.0\u7248\u672c\u540e\uff0c\u9700\u8981\u81ea\u884c\u83b7\u53d6canvas\u7684\u7ed8\u56fe\u4e0a\u4e0b\u6587\u5e76\u4f20\u5165opts.context\uff01");this.context=t.context,this.context.setTextAlign||(this.context.setStrokeStyle=function(t){return this.strokeStyle=t},this.context.setLineWidth=function(t){return this.lineWidth=t},this.context.setLineCap=function(t){return this.lineCap=t},this.context.setFontSize=function(t){return this.font=t+"px sans-serif"},this.context.setFillStyle=function(t){return this.fillStyle=t},this.context.setTextAlign=function(t){return this.textAlign=t},this.context.draw=function(){}),this.context.setLineDash||(this.context.setLineDash=function(t){}),t.chartData={},this.uevent=new $t,this.scrollOption={currentOffset:0,startTouchX:0,distance:0,lastMoveTime:0},this.opts=t,this.config=e,Ft.call(this,t.type,t,e,this.context)};Nt.prototype.updateData=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.opts=s({},this.opts,t),this.opts.updateData=!0;var e=t.scrollPosition||"current";switch(e){case"current":this.opts._scrollDistance_=this.scrollOption.currentOffset;break;case"left":this.opts._scrollDistance_=0,this.scrollOption={currentOffset:0,startTouchX:0,distance:0,lastMoveTime:0};break;case"right":var i=it(this.opts.series,this.opts,this.config,this.context),n=i.yAxisWidth;this.config.yAxisWidth=n;var a=0,r=V(this.opts.categories,this.opts,this.config),o=r.xAxisPoints,c=r.startX,l=r.endX,u=r.eachSpacing,h=u*(o.length-1),d=l-c;a=d-h,this.scrollOption={currentOffset:a,startTouchX:a,distance:0,lastMoveTime:0},this.opts._scrollDistance_=a;break}Ft.call(this,this.opts.type,this.opts,this.config,this.context)},Nt.prototype.zoom=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.opts.xAxis.itemCount;if(!0===this.opts.enableScroll){var i=Math.round(Math.abs(this.scrollOption.currentOffset)/this.opts.chartData.eachSpacing)+Math.round(this.opts.xAxis.itemCount/2);this.opts.animation=!1,this.opts.xAxis.itemCount=e.itemCount;var n=it(this.opts.series,this.opts,this.config,this.context),a=n.yAxisWidth;this.config.yAxisWidth=a;var r=0,o=V(this.opts.categories,this.opts,this.config),s=o.xAxisPoints,c=o.startX,l=o.endX,u=o.eachSpacing,d=u*i,f=l-c,p=f-u*(s.length-1);r=f/2-d,r>0&&(r=0),r<p&&(r=p),this.scrollOption={currentOffset:r,startTouchX:0,distance:0,lastMoveTime:0},h(this,r,this.opts.chartData,this.config,this.opts),this.opts._scrollDistance_=r,Ft.call(this,this.opts.type,this.opts,this.config,this.context)}else t("log","[uCharts] \u8bf7\u542f\u7528\u6eda\u52a8\u6761\u540e\u4f7f\u7528"," at uni_modules/qiun-data-charts/js_sdk/u-charts/u-charts.js:6828")},Nt.prototype.dobuleZoom=function(e){if(!0===this.opts.enableScroll){var i=e.changedTouches;if(!(i.length<2)){for(var n=0;n<i.length;n++)i[n].x=i[n].x?i[n].x:i[n].clientX,i[n].y=i[n].y?i[n].y:i[n].clientY;var a=[w(i[0],this.opts,e),w(i[1],this.opts,e)],r=Math.abs(a[0].x-a[1].x);if(!this.scrollOption.moveCount){var o={changedTouches:[{x:i[0].x,y:this.opts.area[0]/this.opts.pix+2}]},s={changedTouches:[{x:i[1].x,y:this.opts.area[0]/this.opts.pix+2}]};this.opts.rotate&&(o={changedTouches:[{x:this.opts.height/this.opts.pix-this.opts.area[0]/this.opts.pix-2,y:i[0].y}]},s={changedTouches:[{x:this.opts.height/this.opts.pix-this.opts.area[0]/this.opts.pix-2,y:i[1].y}]});var c=this.getCurrentDataIndex(o).index,l=this.getCurrentDataIndex(s).index,u=Math.abs(c-l);return this.scrollOption.moveCount=u,this.scrollOption.moveCurrent1=Math.min(c,l),void(this.scrollOption.moveCurrent2=Math.max(c,l))}var d=r/this.scrollOption.moveCount,f=(this.opts.width-this.opts.area[1]-this.opts.area[3])/d;f=f<=2?2:f,f=f>=this.opts.categories.length?this.opts.categories.length:f,this.opts.animation=!1,this.opts.xAxis.itemCount=f;var p=0,g=V(this.opts.categories,this.opts,this.config),v=g.xAxisPoints,m=g.startX,x=g.endX,y=g.eachSpacing,_=y*this.scrollOption.moveCurrent1,b=x-m,S=b-y*(v.length-1);p=-_+Math.min(a[0].x,a[1].x)-this.opts.area[3]-y,p>0&&(p=0),p<S&&(p=S),this.scrollOption.currentOffset=p,this.scrollOption.startTouchX=0,this.scrollOption.distance=0,h(this,p,this.opts.chartData,this.config,this.opts),this.opts._scrollDistance_=p,Ft.call(this,this.opts.type,this.opts,this.config,this.context)}}else t("log","[uCharts] \u8bf7\u542f\u7528\u6eda\u52a8\u6761\u540e\u4f7f\u7528"," at uni_modules/qiun-data-charts/js_sdk/u-charts/u-charts.js:6868")},Nt.prototype.stopAnimation=function(){this.animationInstance&&this.animationInstance.stop()},Nt.prototype.addEventListener=function(t,e){this.uevent.addEventListener(t,e)},Nt.prototype.delEventListener=function(t){this.uevent.delEventListener(t)},Nt.prototype.getCurrentDataIndex=function(t){var e=null;if(e=t.changedTouches?t.changedTouches[0]:t.mp.changedTouches[0],e){var i=w(e,this.opts,t);return"pie"===this.opts.type||"ring"===this.opts.type?function(t,e,i){var n=-1,a=$(e.series);if(e&&e.center&&L(t,e.center,e.radius)){var r=Math.atan2(e.center.y-t.y,t.x-e.center.x);r=-r,i.extra.pie&&i.extra.pie.offsetAngle&&(r-=i.extra.pie.offsetAngle*Math.PI/180),i.extra.ring&&i.extra.ring.offsetAngle&&(r-=i.extra.ring.offsetAngle*Math.PI/180);for(var o=0,s=a.length;o<s;o++)if(d(r,a[o]._start_,a[o]._start_+2*a[o]._proportion_*Math.PI)){n=o;break}}return n}({x:i.x,y:i.y},this.opts.chartData.pieData,this.opts):"rose"===this.opts.type?function(t,e,i){var n=-1,a=R(i._series_,i.extra.rose.type,e.radius,e.radius);if(e&&e.center&&L(t,e.center,e.radius)){var r=Math.atan2(e.center.y-t.y,t.x-e.center.x);r=-r,i.extra.rose&&i.extra.rose.offsetAngle&&(r-=i.extra.rose.offsetAngle*Math.PI/180);for(var o=0,s=a.length;o<s;o++)if(d(r,a[o]._start_,a[o]._start_+2*a[o]._rose_proportion_*Math.PI)){n=o;break}}return n}({x:i.x,y:i.y},this.opts.chartData.pieData,this.opts):"radar"===this.opts.type?function(t,e,i){var n=2*Math.PI/i,a=-1;if(L(t,e.center,e.radius)){var r=function(t){return t<0&&(t+=2*Math.PI),t>2*Math.PI&&(t-=2*Math.PI),t},o=Math.atan2(e.center.y-t.y,t.x-e.center.x);o*=-1,o<0&&(o+=2*Math.PI);var s=e.angleList.map((function(t){return t=r(-1*t),t}));s.forEach((function(t,e){var i=r(t-n/2),s=r(t+n/2);s<i&&(s+=2*Math.PI),(o>=i&&o<=s||o+2*Math.PI>=i&&o+2*Math.PI<=s)&&(a=e)}))}return a}({x:i.x,y:i.y},this.opts.chartData.radarData,this.opts.categories.length):"funnel"===this.opts.type?function(t,e){for(var i=-1,n=0,a=e.series.length;n<a;n++){var r=e.series[n];if(t.x>r.funnelArea[0]&&t.x<r.funnelArea[2]&&t.y>r.funnelArea[1]&&t.y<r.funnelArea[3]){i=n;break}}return i}({x:i.x,y:i.y},this.opts.chartData.funnelData):"map"===this.opts.type?function(t,e){for(var i=-1,n=e.chartData.mapData,a=e.series,r=function(t,e,i,n,a,r){return{x:(e-a)/n+i.xMin,y:i.yMax-(t-r)/n}}(t.y,t.x,n.bounds,n.scale,n.xoffset,n.yoffset),o=[r.x,r.y],s=0,c=a.length;s<c;s++){var l=a[s].geometry.coordinates;if(Tt(o,l,e.chartData.mapData.mercator)){i=s;break}}return i}({x:i.x,y:i.y},this.opts):"word"===this.opts.type?function(t,e){for(var i=-1,n=0,a=e.length;n<a;n++){var r=e[n];if(t.x>r.area[0]&&t.x<r.area[2]&&t.y>r.area[1]&&t.y<r.area[3]){i=n;break}}return i}({x:i.x,y:i.y},this.opts.chartData.wordCloudData):"bar"===this.opts.type?function(t,e,i,n){var a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,r={index:-1,group:[]},o=i.chartData.eachSpacing/2,s=i.chartData.yAxisPoints;return e&&e.length>0&&I(t,i,n)&&s.forEach((function(e,i){t.y+a+o>e&&(r.index=i)})),r}({x:i.x,y:i.y},this.opts.chartData.calPoints,this.opts,this.config,Math.abs(this.scrollOption.currentOffset)):function(t,e,i,n){var a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,r={index:-1,group:[]},o=i.chartData.eachSpacing/2,s=[];if(e&&e.length>0){if(i.categories){for(var c=1;c<i.chartData.xAxisPoints.length;c++)s.push(i.chartData.xAxisPoints[c]-o);"line"!=i.type&&"area"!=i.type||"justify"!=i.xAxis.boundaryGap||(s=i.chartData.xAxisPoints)}else o=0;if(I(t,i,n))if(i.categories)s.forEach((function(e,i){t.x+a+o>e&&(r.index=i)}));else{for(var l=Array(e.length),u=0;u<e.length;u++){l[u]=Array(e[u].length);for(var h=0;h<e[u].length;h++)l[u][h]=Math.abs(e[u][h].x-t.x)}for(var d=Array(l.length),f=Array(l.length),p=0;p<l.length;p++)d[p]=Math.min.apply(null,l[p]),f[p]=l[p].indexOf(d[p]);var g=Math.min.apply(null,d);r.index=[];for(var v=0;v<d.length;v++)d[v]==g&&(r.group.push(v),r.index.push(f[v]))}}return r}({x:i.x,y:i.y},this.opts.chartData.calPoints,this.opts,this.config,Math.abs(this.scrollOption.currentOffset))}return-1},Nt.prototype.getLegendDataIndex=function(t){var e=null;if(e=t.changedTouches?t.changedTouches[0]:t.mp.changedTouches[0],e){var i=w(e,this.opts,t);return function(t,e,i){var n=-1;if(function(t,e){return t.x>e.start.x&&t.x<e.end.x&&t.y>e.start.y&&t.y<e.end.y}(t,e.area)){for(var a=e.points,r=-1,o=0,s=a.length;o<s;o++)for(var c=a[o],l=0;l<c.length;l++){r+=1;var u=c[l]["area"];if(u&&t.x>u[0]-0&&t.x<u[2]+0&&t.y>u[1]-0&&t.y<u[3]+0){n=r;break}}return n}return n}({x:i.x,y:i.y},this.opts.chartData.legendData)}return-1},Nt.prototype.touchLegend=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=null;if(i=t.changedTouches?t.changedTouches[0]:t.mp.changedTouches[0],i){w(i,this.opts,t);var n=this.getLegendDataIndex(t);n>=0&&("candle"==this.opts.type?this.opts.seriesMA[n].show=!this.opts.seriesMA[n].show:this.opts.series[n].show=!this.opts.series[n].show,this.opts.animation=!!e.animation,this.opts._scrollDistance_=this.scrollOption.currentOffset,Ft.call(this,this.opts.type,this.opts,this.config,this.context))}},Nt.prototype.showToolTip=function(e){var i=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=null;a=e.changedTouches?e.changedTouches[0]:e.mp.changedTouches[0],a||t("log","[uCharts] \u672a\u83b7\u53d6\u5230event\u5750\u6807\u4fe1\u606f"," at uni_modules/qiun-data-charts/js_sdk/u-charts/u-charts.js:7046");var r=w(a,this.opts,e),o=this.scrollOption.currentOffset,c=s({},this.opts,{_scrollDistance_:o,animation:!1});if("line"===this.opts.type||"area"===this.opts.type||"column"===this.opts.type||"scatter"===this.opts.type||"bubble"===this.opts.type){var l=this.getCurrentDataIndex(e),u=void 0==n.index?l.index:n.index;if(u>-1||u.length>0){var h=S(this.opts.series,u,l.group);if(0!==h.length){var d=T(h,this.opts,u,l.group,this.opts.categories,n),f=d.textList,p=d.offset;p.y=r.y,c.tooltip={textList:void 0!==n.textList?n.textList:f,offset:void 0!==n.offset?n.offset:p,option:n,index:u}}}Ft.call(this,c.type,c,this.config,this.context)}if("mount"===this.opts.type){u=void 0==n.index?this.getCurrentDataIndex(e).index:n.index;if(u>-1){c=s({},this.opts,{animation:!1}),h=s({},c._series_[u]),f=[{text:n.formatter?n.formatter(h,void 0,u,c):h.name+": "+h.data,color:h.color}],p={x:c.chartData.calPoints[u].x,y:r.y};c.tooltip={textList:n.textList?n.textList:f,offset:void 0!==n.offset?n.offset:p,option:n,index:u}}Ft.call(this,c.type,c,this.config,this.context)}if("bar"===this.opts.type){l=this.getCurrentDataIndex(e),u=void 0==n.index?l.index:n.index;if(u>-1||u.length>0){h=S(this.opts.series,u,l.group);if(0!==h.length){d=T(h,this.opts,u,l.group,this.opts.categories,n),f=d.textList,p=d.offset;p.x=r.x,c.tooltip={textList:void 0!==n.textList?n.textList:f,offset:void 0!==n.offset?n.offset:p,option:n,index:u}}}Ft.call(this,c.type,c,this.config,this.context)}if("mix"===this.opts.type){l=this.getCurrentDataIndex(e),u=void 0==n.index?l.index:n.index;if(u>-1){o=this.scrollOption.currentOffset,c=s({},this.opts,{_scrollDistance_:o,animation:!1}),h=S(this.opts.series,u);if(0!==h.length){var g=P(h,this.opts,u,this.opts.categories,n);f=g.textList,p=g.offset;p.y=r.y,c.tooltip={textList:n.textList?n.textList:f,offset:void 0!==n.offset?n.offset:p,option:n,index:u}}}Ft.call(this,c.type,c,this.config,this.context)}if("candle"===this.opts.type){l=this.getCurrentDataIndex(e),u=void 0==n.index?l.index:n.index;if(u>-1){o=this.scrollOption.currentOffset,c=s({},this.opts,{_scrollDistance_:o,animation:!1}),h=S(this.opts.series,u);if(0!==h.length){d=A(this.opts.series[0].data,h,this.opts,u,this.opts.categories,this.opts.extra.candle,n),f=d.textList,p=d.offset;p.y=r.y,c.tooltip={textList:n.textList?n.textList:f,offset:void 0!==n.offset?n.offset:p,option:n,index:u}}}Ft.call(this,c.type,c,this.config,this.context)}if("pie"===this.opts.type||"ring"===this.opts.type||"rose"===this.opts.type||"funnel"===this.opts.type){u=void 0==n.index?this.getCurrentDataIndex(e):n.index;if(u>-1){c=s({},this.opts,{animation:!1}),h=s({},c._series_[u]),f=[{text:n.formatter?n.formatter(h,void 0,u,c):h.name+": "+h.data,color:h.color}],p={x:r.x,y:r.y};c.tooltip={textList:n.textList?n.textList:f,offset:void 0!==n.offset?n.offset:p,option:n,index:u}}Ft.call(this,c.type,c,this.config,this.context)}if("map"===this.opts.type){u=void 0==n.index?this.getCurrentDataIndex(e):n.index;if(u>-1){c=s({},this.opts,{animation:!1}),h=s({},this.opts.series[u]);h.name=h.properties.name;f=[{text:n.formatter?n.formatter(h,void 0,u,this.opts):h.name,color:h.color}],p={x:r.x,y:r.y};c.tooltip={textList:n.textList?n.textList:f,offset:void 0!==n.offset?n.offset:p,option:n,index:u}}c.updateData=!1,Ft.call(this,c.type,c,this.config,this.context)}if("word"===this.opts.type){u=void 0==n.index?this.getCurrentDataIndex(e):n.index;if(u>-1){c=s({},this.opts,{animation:!1}),h=s({},this.opts.series[u]),f=[{text:n.formatter?n.formatter(h,void 0,u,this.opts):h.name,color:h.color}],p={x:r.x,y:r.y};c.tooltip={textList:n.textList?n.textList:f,offset:void 0!==n.offset?n.offset:p,option:n,index:u}}c.updateData=!1,Ft.call(this,c.type,c,this.config,this.context)}if("radar"===this.opts.type){u=void 0==n.index?this.getCurrentDataIndex(e):n.index;if(u>-1){c=s({},this.opts,{animation:!1}),h=S(this.opts.series,u);if(0!==h.length){f=h.map((function(t){return{text:n.formatter?n.formatter(t,i.opts.categories[u],u,i.opts):t.name+": "+t.data,color:t.color}})),p={x:r.x,y:r.y};c.tooltip={textList:n.textList?n.textList:f,offset:void 0!==n.offset?n.offset:p,option:n,index:u}}}Ft.call(this,c.type,c,this.config,this.context)}},Nt.prototype.translate=function(t){this.scrollOption={currentOffset:t,startTouchX:t,distance:0,lastMoveTime:0};var e=s({},this.opts,{_scrollDistance_:t,animation:!1});Ft.call(this,this.opts.type,e,this.config,this.context)},Nt.prototype.scrollStart=function(t){var e=null;e=t.changedTouches?t.changedTouches[0]:t.mp.changedTouches[0];var i=w(e,this.opts,t);e&&!0===this.opts.enableScroll&&(this.scrollOption.startTouchX=i.x)},Nt.prototype.scroll=function(t){0===this.scrollOption.lastMoveTime&&(this.scrollOption.lastMoveTime=Date.now());var e=this.opts.touchMoveLimit||60,i=Date.now(),n=i-this.scrollOption.lastMoveTime;if(!(n<Math.floor(1e3/e))&&0!=this.scrollOption.startTouchX){this.scrollOption.lastMoveTime=i;var a=null;if(a=t.changedTouches?t.changedTouches[0]:t.mp.changedTouches[0],a&&!0===this.opts.enableScroll){var r,o=w(a,this.opts,t);r=o.x-this.scrollOption.startTouchX;var c=this.scrollOption.currentOffset,l=h(this,c+r,this.opts.chartData,this.config,this.opts);this.scrollOption.distance=r=l-c;var u=s({},this.opts,{_scrollDistance_:c+r,animation:!1});return this.opts=u,Ft.call(this,u.type,u,this.config,this.context),c+r}}},Nt.prototype.scrollEnd=function(t){if(!0===this.opts.enableScroll){var e=this.scrollOption,i=e.currentOffset,n=e.distance;this.scrollOption.currentOffset=i+n,this.scrollOption.distance=0,this.scrollOption.moveCount=0}};var Rt=Nt;e.default=Rt}).call(this,i("f3b9")["default"])},"1a14":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=["#1890FF","#91CB74","#FAC858","#EE6666","#73C0DE","#3CA272","#FC8452","#9A60B4","#ea7ccc"],a={type:["pie","ring","rose","word","funnel","map","arcbar","line","column","mount","bar","area","radar","gauge","candle","mix","tline","tarea","scatter","bubble","demotype"],range:["\u997c\u72b6\u56fe","\u5706\u73af\u56fe","\u73ab\u7470\u56fe","\u8bcd\u4e91\u56fe","\u6f0f\u6597\u56fe","\u5730\u56fe","\u5706\u5f27\u8fdb\u5ea6\u6761","\u6298\u7ebf\u56fe","\u67f1\u72b6\u56fe","\u5c71\u5cf0\u56fe","\u6761\u72b6\u56fe","\u533a\u57df\u56fe","\u96f7\u8fbe\u56fe","\u4eea\u8868\u76d8","K\u7ebf\u56fe","\u6df7\u5408\u56fe","\u65f6\u95f4\u8f74\u6298\u7ebf","\u65f6\u95f4\u8f74\u533a\u57df","\u6563\u70b9\u56fe","\u6c14\u6ce1\u56fe","\u81ea\u5b9a\u4e49\u7c7b\u578b"],categories:["line","column","mount","bar","area","radar","gauge","candle","mix","demotype"],instance:{},option:{},formatter:{yAxisDemo1:function(t,e,i){return t+"\u5143"},yAxisDemo2:function(t,e,i){return t.toFixed(2)},xAxisDemo1:function(t,e,i){return t+"\u5e74"},xAxisDemo2:function(t,e,i){return function(t,e){var i=new Date;i.setTime(1e3*t);var n=i.getFullYear(),a=i.getMonth()+1;a=a<10?"0"+a:a;var r=i.getDate();r=r<10?"0"+r:r;var o=i.getHours();o=o<10?"0"+o:o;var s=i.getMinutes(),c=i.getSeconds();return s=s<10?"0"+s:s,c=c<10?"0"+c:c,"full"==e?n+"-"+a+"-"+r+" "+o+":"+s+":"+c:"y-m-d"==e?n+"-"+a+"-"+r:"h:m"==e?o+":"+s:"h:m:s"==e?o+":"+s+":"+c:[n,a,r,o,s,c]}(t,"h:m")},seriesDemo1:function(t,e,i,n){return t+"\u5143"},tooltipDemo1:function(t,e,i,n){return 0==i?"\u968f\u4fbf\u7528"+t.data+"\u5e74":"\u5176\u4ed6\u6211\u6ca1\u6539"+t.data+"\u5929"},pieDemo:function(t,e,i,n){if(void 0!==e)return i[e].name+"\uff1a"+i[e].data+"\u5143"}},demotype:{type:"line",color:n,padding:[15,10,0,15],xAxis:{disableGrid:!0},yAxis:{gridType:"dash",dashLength:2},legend:{},extra:{line:{type:"curve",width:2}}},pie:{type:"pie",color:n,padding:[5,5,5,5],extra:{pie:{activeOpacity:.5,activeRadius:10,offsetAngle:0,labelWidth:15,border:!0,borderWidth:3,borderColor:"#FFFFFF"}}},ring:{type:"ring",color:n,padding:[5,5,5,5],rotate:!1,dataLabel:!1,legend:{show:!1,position:"right",lineHeight:25},title:{name:"\u6536\u76ca\u7387",fontSize:15,color:"#666666"},subtitle:{name:"70%",fontSize:25,color:"#7cb5ec"},extra:{ring:{ringWidth:30,activeOpacity:.5,activeRadius:10,offsetAngle:0,labelWidth:15,border:!0,borderWidth:3,borderColor:"#FFFFFF"}}},rose:{type:"rose",color:n,padding:[5,5,5,5],legend:{show:!0,position:"left",lineHeight:25},extra:{rose:{type:"area",minRadius:50,activeOpacity:.5,activeRadius:10,offsetAngle:0,labelWidth:15,border:!1,borderWidth:2,borderColor:"#FFFFFF"}}},word:{type:"word",color:n,extra:{word:{type:"normal",autoColors:!1}}},funnel:{type:"funnel",color:n,padding:[15,15,0,15],extra:{funnel:{activeOpacity:.3,activeWidth:10,border:!0,borderWidth:2,borderColor:"#FFFFFF",fillOpacity:1,labelAlign:"right"}}},map:{type:"map",color:n,padding:[0,0,0,0],dataLabel:!0,extra:{map:{border:!0,borderWidth:1,borderColor:"#666666",fillOpacity:.6,activeBorderColor:"#F04864",activeFillColor:"#FACC14",activeFillOpacity:1}}},arcbar:{type:"arcbar",color:n,title:{name:"\u767e\u5206\u6bd4",fontSize:25,color:"#00FF00"},subtitle:{name:"\u9ed8\u8ba4\u6807\u9898",fontSize:15,color:"#666666"},extra:{arcbar:{type:"default",width:12,backgroundColor:"#E9E9E9",startAngle:.75,endAngle:.25,gap:2}}},line:{type:"line",color:n,padding:[15,10,0,15],xAxis:{disableGrid:!0},yAxis:{gridType:"dash",dashLength:2},legend:{},extra:{line:{type:"straight",width:2}}},tline:{type:"line",color:n,padding:[15,10,0,15],xAxis:{disableGrid:!1,boundaryGap:"justify"},yAxis:{gridType:"dash",dashLength:2,data:[{min:0,max:80}]},legend:{},extra:{line:{type:"curve",width:2}}},tarea:{type:"area",color:n,padding:[15,10,0,15],xAxis:{disableGrid:!0,boundaryGap:"justify"},yAxis:{gridType:"dash",dashLength:2,data:[{min:0,max:80}]},legend:{},extra:{area:{type:"curve",opacity:.2,addLine:!0,width:2,gradient:!0}}},column:{type:"column",color:n,padding:[15,15,0,5],xAxis:{disableGrid:!0},yAxis:{data:[{min:0}]},legend:{},extra:{column:{type:"group",width:30,activeBgColor:"#000000",activeBgOpacity:.08}}},mount:{type:"mount",color:n,padding:[15,15,0,5],xAxis:{disableGrid:!0},yAxis:{data:[{min:0}]},legend:{},extra:{mount:{type:"mount",widthRatio:1.5}}},bar:{type:"bar",color:n,padding:[15,30,0,5],xAxis:{boundaryGap:"justify",disableGrid:!1,min:0,axisLine:!1},yAxis:{},legend:{},extra:{bar:{type:"group",width:30,meterBorde:1,meterFillColor:"#FFFFFF",activeBgColor:"#000000",activeBgOpacity:.08}}},area:{type:"area",color:n,padding:[15,15,0,15],xAxis:{disableGrid:!0},yAxis:{gridType:"dash",dashLength:2},legend:{},extra:{area:{type:"straight",opacity:.2,addLine:!0,width:2,gradient:!1}}},radar:{type:"radar",color:n,padding:[5,5,5,5],dataLabel:!1,legend:{show:!0,position:"right",lineHeight:25},extra:{radar:{gridType:"radar",gridColor:"#CCCCCC",gridCount:3,opacity:.2,max:200}}},gauge:{type:"gauge",color:n,title:{name:"66Km/H",fontSize:25,color:"#2fc25b",offsetY:50},subtitle:{name:"\u5b9e\u65f6\u901f\u5ea6",fontSize:15,color:"#1890ff",offsetY:-50},extra:{gauge:{type:"default",width:30,labelColor:"#666666",startAngle:.75,endAngle:.25,startNumber:0,endNumber:100,labelFormat:"",splitLine:{fixRadius:0,splitNumber:10,width:30,color:"#FFFFFF",childNumber:5,childWidth:12},pointer:{width:24,color:"auto"}}}},candle:{type:"candle",color:n,padding:[15,15,0,15],enableScroll:!0,enableMarkLine:!0,dataLabel:!1,xAxis:{labelCount:4,itemCount:40,disableGrid:!0,gridColor:"#CCCCCC",gridType:"solid",dashLength:4,scrollShow:!0,scrollAlign:"left",scrollColor:"#A6A6A6",scrollBackgroundColor:"#EFEBEF"},yAxis:{},legend:{},extra:{candle:{color:{upLine:"#f04864",upFill:"#f04864",downLine:"#2fc25b",downFill:"#2fc25b"},average:{show:!0,name:["MA5","MA10","MA30"],day:[5,10,20],color:["#1890ff","#2fc25b","#facc14"]}},markLine:{type:"dash",dashLength:5,data:[{value:2150,lineColor:"#f04864",showLabel:!0},{value:2350,lineColor:"#f04864",showLabel:!0}]}}},mix:{type:"mix",color:n,padding:[15,15,0,15],xAxis:{disableGrid:!0},yAxis:{disabled:!1,disableGrid:!1,splitNumber:5,gridType:"dash",dashLength:4,gridColor:"#CCCCCC",padding:10,showTitle:!0,data:[]},legend:{},extra:{mix:{column:{width:20}}}},scatter:{type:"scatter",color:n,padding:[15,15,0,15],dataLabel:!1,xAxis:{disableGrid:!1,gridType:"dash",splitNumber:5,boundaryGap:"justify",min:0},yAxis:{disableGrid:!1,gridType:"dash"},legend:{},extra:{scatter:{}}},bubble:{type:"bubble",color:n,padding:[15,15,0,15],xAxis:{disableGrid:!1,gridType:"dash",splitNumber:5,boundaryGap:"justify",min:0,max:250},yAxis:{disableGrid:!1,gridType:"dash",data:[{min:0,max:150}]},legend:{},extra:{bubble:{border:2,opacity:.5}}}},r=a;e.default=r},"1b21":function(t,e,i){t.exports=i.p+"static/f1.png"},"1efb":function(t,e,i){"use strict";i.r(e);var n=i("22a2"),a=i.n(n);for(var r in n)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(r);e["default"]=a.a},"20f7":function(t,e,i){t.exports=i.p+"static/a1.png"},"21fd":function(t,e,i){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i={name:"uniPopup",components:{},emits:["change","maskClick"],props:{animation:{type:Boolean,default:!0},type:{type:String,default:"center"},isMaskClick:{type:Boolean,default:null},maskClick:{type:Boolean,default:null},backgroundColor:{type:String,default:"none"},safeArea:{type:Boolean,default:!0},maskBackgroundColor:{type:String,default:"rgba(0, 0, 0, 0.4)"}},watch:{type:{handler:function(t){this.config[t]&&this[this.config[t]](!0)},immediate:!0},isDesktop:{handler:function(t){this.config[t]&&this[this.config[this.type]](!0)},immediate:!0},maskClick:{handler:function(t){this.mkclick=t},immediate:!0},isMaskClick:{handler:function(t){this.mkclick=t},immediate:!0},showPopup:function(t){}},data:function(){return{duration:300,ani:[],showPopup:!1,showTrans:!1,popupWidth:0,popupHeight:0,config:{top:"top",bottom:"bottom",center:"center",left:"left",right:"right",message:"top",dialog:"center",share:"bottom"},maskClass:{position:"fixed",bottom:0,top:0,left:0,right:0,backgroundColor:"rgba(0, 0, 0, 0.4)"},transClass:{position:"fixed",left:0,right:0},maskShow:!0,mkclick:!0,popupstyle:this.isDesktop?"fixforpc-top":"top"}},computed:{isDesktop:function(){return this.popupWidth>=500&&this.popupHeight>=500},bg:function(){return""===this.backgroundColor||"none"===this.backgroundColor?"transparent":this.backgroundColor}},mounted:function(){var t=this;(function(){var e=uni.getSystemInfoSync(),i=e.windowWidth,n=e.windowHeight,a=e.windowTop,r=e.safeArea,o=(e.screenHeight,e.safeAreaInsets);t.popupWidth=i,t.popupHeight=n+a,t.safeAreaInsets=r?o.bottom:0})()},created:function(){null===this.isMaskClick&&null===this.maskClick?this.mkclick=!0:this.mkclick=null!==this.isMaskClick?this.isMaskClick:this.maskClick,this.animation?this.duration=300:this.duration=0,this.messageChild=null,this.clearPropagation=!1,this.maskClass.backgroundColor=this.maskBackgroundColor},methods:{closeMask:function(){this.maskShow=!1},disableMask:function(){this.mkclick=!1},clear:function(t){t.stopPropagation(),this.clearPropagation=!0},open:function(e){e&&-1!==["top","center","bottom","left","right","message","dialog","share"].indexOf(e)||(e=this.type),this.config[e]?(this[this.config[e]](),this.$emit("change",{show:!0,type:e})):t("error","\u7f3a\u5c11\u7c7b\u578b\uff1a",e," at uni_modules/uni-popup/components/uni-popup/uni-popup.vue:246")},close:function(t){var e=this;this.showTrans=!1,this.$emit("change",{show:!1,type:this.type}),clearTimeout(this.timer),this.timer=setTimeout((function(){e.showPopup=!1}),300)},touchstart:function(){this.clearPropagation=!1},onTap:function(){this.clearPropagation?this.clearPropagation=!1:(this.$emit("maskClick"),this.mkclick&&this.close())},top:function(t){var e=this;this.popupstyle=this.isDesktop?"fixforpc-top":"top",this.ani=["slide-top"],this.transClass={position:"fixed",left:0,right:0,backgroundColor:this.bg},t||(this.showPopup=!0,this.showTrans=!0,this.$nextTick((function(){e.messageChild&&"message"===e.type&&e.messageChild.timerClose()})))},bottom:function(t){this.popupstyle="bottom",this.ani=["slide-bottom"],this.transClass={position:"fixed",left:0,right:0,bottom:0,paddingBottom:this.safeAreaInsets+"px",backgroundColor:this.bg},t||(this.showPopup=!0,this.showTrans=!0)},center:function(t){this.popupstyle="center",this.ani=["zoom-out","fade"],this.transClass={position:"fixed",display:"flex",flexDirection:"column",bottom:0,left:0,right:0,top:0,justifyContent:"center",alignItems:"center"},t||(this.showPopup=!0,this.showTrans=!0)},left:function(t){this.popupstyle="left",this.ani=["slide-left"],this.transClass={position:"fixed",left:0,bottom:0,top:0,backgroundColor:this.bg,display:"flex",flexDirection:"column"},t||(this.showPopup=!0,this.showTrans=!0)},right:function(t){this.popupstyle="right",this.ani=["slide-right"],this.transClass={position:"fixed",bottom:0,right:0,top:0,backgroundColor:this.bg,display:"flex",flexDirection:"column"},t||(this.showPopup=!0,this.showTrans=!0)}}};e.default=i}).call(this,i("f3b9")["default"])},"22a2":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n={props:{title:{type:[String,Number],default:"\u6807\u9898"}},computed:{titleText:function(){return this.title}},data:function(){return{}}};e.default=n},"28cf":function(t,e,i){"use strict";i.r(e);var n=i("7d36"),a=i("b9a5");for(var r in a)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(r);var o=i("828b"),s=Object(o["a"])(a["default"],n["b"],n["c"],!1,null,null,null,!1,n["a"],void 0);e["default"]=s.exports},"297d":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n={data:function(){return{}},created:function(){this.popup=this.getParent()},methods:{getParent:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"uniPopup",e=this.$parent,i=e.$options.name;while(i!==t){if(e=e.$parent,!e)return!1;i=e.$options.name}return e}}};e.default=n},"2c9f":function(t,e,i){"use strict";(function(t){var n=i("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=n(i("5ddc")),r=n(i("bf04")),o={data:function(){return{commonUrl:null,show:!0,modeClass:"fade",styles:{},baseIP:"",baseLedId:"",basePort:"",crnId:"",value:"",xDistance:0,yDistance:0,xDuration:0,yDuration:0,used:317,usedPr:90,stockCount:0,emptyCount:0,noneCount:0,chartsData:{Line:{categories:[],series:[]},Pie:{series:[{data:[]}]}},chartsDataLine1:{},chartsDataPie2:{},ringOpts:{},year:2022,month:4,day:14,hours:13,minutes:38,seconds:13,week:"\u661f\u671f\u56db",ani:"",move:!1,topMove:"topUp",floorMove:"",version:"",newspaper:"",errorPaper:"",title:"",staNo:"",matnr:"",maknx:"",specs:"",count:"",orderNo:null,doneOfTray:"",totalOfTray:"",doneOfUnit:"",totalOfUnit:"",errorMsg:null,width:"full-width",errorShow:"",pakinShow:"",pakinGun:"",orderShow:!1,swiper:"swiper-here",autoplay:!0,interval:1e3,duration:8e3,matList:[],ejectShow:!1}},mounted:function(){var t=uni.getStorageSync("BaseIp"),e=uni.getStorageSync("BaseLedId"),i=uni.getStorageSync("BasePort"),n=uni.getStorageSync("BaseCrnId");this.baseIP=t,this.baseLedId=e,this.basePort=i,this.baseCrnId=n,this.getUrl()},onLoad:function(){},onReady:function(){var t=this;setInterval((function(){t.initlineChart(),t.initPieChart(),t.getServerData(),t.getOther(),t.getDate(),t.getPakin(),t.getError(),t.animation(),t.getUrl()}),1e3)},methods:{getUrl:function(){this.commonUrl=this.baseHttp+this.baseIP+":"+this.basePort+this.baseUrl,this.chartsDataLine1=JSON.parse(JSON.stringify(r.default.Line))},getYYY:function(){var t=a.default.dataEEE,e=t.data;if(e.data&&""!==e.data)this.errorMsg=e.data,this.errorShow=!0,this.move=!1;else{if(this.errorPaper="",this.errorShow=!1,this.pakinShow)return;this.move=!0}},getEEE:function(){var t=a.default.dataYYY,e=t.data;if(e.data&&null!==e.data){if(101===e.data[0].ioType?this.title="\u5168\u677f\u51fa\u5e93":103===e.data[0].ioType&&(this.title="\u68c0\u6599\u51fa\u5e93"),this.staNo="\u76ee\u6807\u7ad9:"+e.data[0].staNo,this.matnr="\u5546\u54c1\u7f16\u53f7\uff1a"+e.data[0].matDtos[0].matnr,this.maknx="\u5546\u54c1\u540d\u79f0\uff1a"+e.data[0].matDtos[0].maknx,this.count="\u51fa\u5e93\u6570\u91cf\uff1a"+e.data[0].matDtos[0].count,e.data[0].orderNo?(this.orderNo="\u8ba2\u5355\u53f7\uff1a"+e.data[0].orderNo,this.orderShow=!0,this.width="half-width"):(this.orderNo=null,this.orderShow=!1,this.width="full-width"),this.doneOfTray="\u5df2\u51fa\u6258\u76d8\u6570:"+e.data[0].doneOfTray,this.totalOfTray="\u6258\u76d8\u603b\u6570\u91cf\uff1a"+e.data[0].totalOfTray,this.doneOfUnit="\u5df2\u51fa\u7bb1\u6570\uff1a"+e.data[0].doneOfUnit,this.totalOfUnit="\u603b\u7bb1\u6570\uff1a"+e.data[0].totalOfUnit,this.errorShow)return;this.newspaper="",this.move=!1}else this.move=!0},getError:function(){var t,e=this;uni.request({url:e.commonUrl+"/monitor/led/error",data:{ledId:e.baseLedId},method:"GET",success:function(i){t=i.data,t.data&&""!==t.data?(e.errorMsg=t.data,e.errorShow=!0,e.move=!1):e.errorShow=!1}})},getPakin:function(){var t=this;t.matList=[];var e;uni.request({url:t.commonUrl+"/monitor/led",data:{ledId:t.baseLedId},method:"GET",success:function(i){e=i.data,t.errorShow||(e.data&&null!==e.data?(101===e.data[0].ioType?t.title="\u5168\u677f\u51fa\u5e93":103===e.data[0].ioType?t.title="\u68c0\u6599\u51fa\u5e93":t.title=e.data[0].title,t.staNo="\u76ee\u6807\u7ad9:"+e.data[0].staNo,t.matnr="\u5546\u54c1\u7f16\u53f7\uff1a"+e.data[0].matDtos[0].matnr,t.maknx="\u5546\u54c1\u540d\u79f0\uff1a"+e.data[0].matDtos[0].maknx,t.specs="\u89c4\u683c\uff1a"+e.data[0].matDtos[0].specs,t.count="\u51fa\u5e93\u6570\u91cf\uff1a"+e.data[0].matDtos[0].count,e.data[0].orderNo?(t.orderNo="\u8ba2\u5355\u53f7\uff1a"+e.data[0].orderNo,t.orderShow=!0,t.width="half-width"):(t.orderNo=null,t.orderShow=!1,t.width="full-width"),t.doneOfTray="\u5df2\u51fa\u6258\u76d8\u6570:"+e.data[0].doneOfTray,t.totalOfTray="\u6258\u76d8\u603b\u6570\u91cf\uff1a"+e.data[0].totalOfTray,t.doneOfUnit="\u5df2\u51fa\u7bb1\u6570\uff1a"+e.data[0].doneOfUnit,t.totalOfUnit="\u603b\u7bb1\u6570\uff1a"+e.data[0].totalOfUnit,t.newspaper="",t.move=!1):t.move=!0)}})},animation:function(){this.move?(this.topMove="topUp",this.floorMove="floorUp"):(this.topMove="topDown",this.floorMove="floorDown")},getDateFormat:function(t){var e=new Date;e.setDate(e.getDate()+t);var i=e.getMonth()+1,n=e.getDate(),a=i+"-"+n;return a},initlineChart:function(){var e=this;uni.request({url:e.commonUrl+"/monitor/line/charts",method:"GET",success:function(i){var n=i.data;t("log",i," at pages/index/index.vue:586"),200===n.code&&(e.chartsData.Line.categories=[e.getDateFormat(-11),e.getDateFormat(-10),e.getDateFormat(-9),e.getDateFormat(-8),e.getDateFormat(-7),e.getDateFormat(-6),e.getDateFormat(-5),e.getDateFormat(-4),e.getDateFormat(-3),e.getDateFormat(-2),e.getDateFormat(-1),e.getDateFormat(0)],e.chartsData.Line.series=n.data.rows)}})},initPieChart:function(){var t=this;uni.request({url:t.commonUrl+"/monitor/loc/rep",method:"GET",success:function(e){var i=e.data;200===i.code&&(t.chartsData.Pie.series[0].data=i.data.pie,t.stockCount=i.data.stockCunt,t.emptyCount=i.data.emptyCount,t.noneCount=i.data.noneCount,t.used=i.data.used,t.usedPr=i.data.usedPr)}})},getOther:function(){var e=this;uni.request({url:e.commonUrl+"/monitor/other",data:{crnId:e.baseCrnId,ledId:1},success:function(i){t("log",i," at pages/index/index.vue:626");var n=i.data;200===n.code?(e.xDistance=n.data.xDistance,e.yDistance=n.data.yDistance,e.xDuration=n.data.xDuration,e.yDuration=n.data.yDuration):n.code}})},ejected:function(){this.ejectShow=!0},ejectConfirm:function(){uni.setStorageSync("BaseIp",this.baseIP),uni.setStorageSync("BaseLedId",this.baseLedId),uni.setStorageSync("BasePort",this.basePort),uni.setStorageSync("BaseCrnId",this.baseCrnId),this.getUrl(),this.ejectShow=!1},ejectClose:function(){this.ejectShow=!1},getServerData:function(){this.chartsDataLine1=JSON.parse(JSON.stringify(this.chartsData.Line)),this.chartsDataPie2=JSON.parse(JSON.stringify(this.chartsData.Pie))},complete:function(e){t("log","\u6e32\u67d3\u5b8c\u6210\u4e8b\u4ef6",e," at pages/index/index.vue:662")},getDate:function(){var t=new Date;switch(this.year=t.getFullYear(),this.month=t.getMonth()+1<10?"0"+(t.getMonth()+1):t.getMonth()+1,this.day=t.getDate()<10?"0"+t.getDate():t.getDate(),this.hours=t.getHours()<10?"0"+t.getHours():t.getHours(),this.minutes=t.getMinutes()<10?"0"+t.getMinutes():t.getMinutes(),this.seconds=t.getSeconds()<10?"0"+t.getSeconds():t.getSeconds(),this.weeks=t.getDay(),this.weeks){case 0:this.week="\u661f\u671f\u65e5";break;case 1:this.week="\u661f\u671f\u4e00";break;case 2:this.week="\u661f\u671f\u4e8c";break;case 3:this.week="\u661f\u671f\u4e09";break;case 4:this.week="\u661f\u671f\u56db";break;case 5:this.week="\u661f\u671f\u4e94";break;default:this.week="\u661f\u671f\u516d"}}}};e.default=o}).call(this,i("f3b9")["default"])},"2f40":function(t){t.exports=JSON.parse('{"uni-popup.cancel":"cancel","uni-popup.ok":"ok","uni-popup.placeholder":"pleace enter","uni-popup.title":"Hint","uni-popup.shareTitle":"Share to"}')},"2f51":function(t){t.exports=JSON.parse('{"uni-popup.cancel":"\u53d6\u6d88","uni-popup.ok":"\u78ba\u5b9a","uni-popup.placeholder":"\u8acb\u8f38\u5165","uni-popup.title":"\u63d0\u793a","uni-popup.shareTitle":"\u5206\u4eab\u5230"}')},"2fe5":function(t){t.exports=JSON.parse('{"uni-popup.cancel":"\u53d6\u6d88","uni-popup.ok":"\u786e\u5b9a","uni-popup.placeholder":"\u8bf7\u8f93\u5165","uni-popup.title":"\u63d0\u793a","uni-popup.shareTitle":"\u5206\u4eab\u5230"}')},3352:function(t,e){t.exports=function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t},t.exports.__esModule=!0,t.exports["default"]=t.exports},3400:function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return a})),i.d(e,"a",(function(){}));var n=function(){var t=this.$createElement,e=this._self._c||t;return e("view",{staticClass:this._$s(0,"sc","container loading6"),attrs:{_i:0}},[e("view",{staticClass:this._$s(1,"sc","shape shape1"),attrs:{_i:1}}),e("view",{staticClass:this._$s(2,"sc","shape shape2"),attrs:{_i:2}}),e("view",{staticClass:this._$s(3,"sc","shape shape3"),attrs:{_i:3}}),e("view",{staticClass:this._$s(4,"sc","shape shape4"),attrs:{_i:4}})])},a=[]},"34cf":function(t,e,i){var n=i("ed45"),a=i("7172"),r=i("6382"),o=i("dd3e");t.exports=function(t,e){return n(t)||a(t,e)||r(t,e)||o()},t.exports.__esModule=!0,t.exports["default"]=t.exports},"357c":function(t,e,i){"use strict";i.r(e);var n=i("e286"),a=i("1efb");for(var r in a)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(r);var o=i("828b"),s=Object(o["a"])(a["default"],n["b"],n["c"],!1,null,null,null,!1,n["a"],void 0);e["default"]=s.exports},"3b29":function(t,e,i){"use strict";i.r(e);var n=i("ac5c"),a=i("0671");for(var r in a)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(r);var o=i("828b"),s=Object(o["a"])(a["default"],n["b"],n["c"],!1,null,null,null,!1,n["a"],void 0);e["default"]=s.exports},"3b2d":function(t,e){function i(e){return t.exports=i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t.exports.__esModule=!0,t.exports["default"]=t.exports,i(e)}t.exports=i,t.exports.__esModule=!0,t.exports["default"]=t.exports},"3c26":function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return a})),i.d(e,"a",(function(){}));var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("view",[i("view",[i("swiper",{attrs:{autoplay:t._$s(2,"a-autoplay",t.autoplay),interval:t._$s(2,"a-interval",t.interval),duration:t._$s(2,"a-duration",t.duration),_i:2}},t._l(t._$s(3,"f",{forItems:t.list}),(function(e,n,a,r){return i("swiper-item",{key:t._$s(3,"f",{forIndex:a,key:n})},[i("view",[t._v(t._$s("4-"+r,"t0-0",t._s(e)))])])})),0)])])},a=[]},"3c8c":function(t,e,i){"use strict";i.r(e);var n=i("96e5"),a=i("c547");for(var r in a)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(r);var o=i("828b"),s=Object(o["a"])(a["default"],n["b"],n["c"],!1,null,"28993e7f",null,!1,n["a"],void 0);e["default"]=s.exports},"3d72":function(t,e,i){"use strict";i.r(e);var n=i("1611"),a=i.n(n);for(var r in n)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(r);e["default"]=a.a},"3f60":function(t,e,i){"use strict";i.r(e);var n=i("ebd2"),a=i.n(n);for(var r in n)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(r);e["default"]=a.a},"3f6f":function(t,e,i){"use strict";i.r(e);var n=i("6a1e"),a=i.n(n);for(var r in n)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(r);e["default"]=a.a},"451d":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={pages:[{path:"pages/home/home",style:{navigationStyle:"custom","app-plus":{titleNView:!1}}},{path:"pages/test/test",style:{navigationStyle:"custom","app-plus":{titleNView:!1}}},{path:"pages/index",style:{navigationStyle:"custom","app-plus":{titleNView:!1}}},{path:"pages/index/index",style:{navigationStyle:"custom","app-plus":{titleNView:!1}}},{path:"pages/index/monitor",style:{navigationStyle:"custom"}},{path:"pages/test/test",style:{navigationStyle:"custom","app-plus":{titleNView:!1}}}],globalStyle:{navigationBarTextStyle:"black",navigationBarTitleText:"uni-app",navigationBarBackgroundColor:"#F8F8F8",backgroundColor:"#F8F8F8",pageOrientation:"landscape"}}},"468a":function(t,e,i){"use strict";i.r(e);var n=i("1511"),a=i("a9ce");for(var r in a)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(r);var o=i("828b"),s=Object(o["a"])(a["default"],n["b"],n["c"],!1,null,"0f7e34c8",null,!1,n["a"],void 0);e["default"]=s.exports},"47a9":function(t,e){t.exports=function(t){return t&&t.__esModule?t:{default:t}},t.exports.__esModule=!0,t.exports["default"]=t.exports},4965:function(t,e){t.exports=function(t){try{return-1!==Function.toString.call(t).indexOf("[native code]")}catch(e){return"function"===typeof t}},t.exports.__esModule=!0,t.exports["default"]=t.exports},4969:function(t,e,i){"use strict";i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return r})),i.d(e,"a",(function(){return n}));var n={uniTransition:i("997e").default},a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return t._$s(0,"i",t.showPopup)?i("view",{staticClass:t._$s(0,"sc","uni-popup"),class:t._$s(0,"c",[t.popupstyle,t.isDesktop?"fixforpc-z-index":""]),attrs:{_i:0},on:{touchmove:function(e){return e.stopPropagation(),e.preventDefault(),t.clear(e)}}},[i("view",{attrs:{_i:1},on:{touchstart:t.touchstart}},[t._$s(2,"i",t.maskShow)?i("uni-transition",{key:"1",attrs:{name:"mask","mode-class":"fade",styles:t.maskClass,duration:t.duration,show:t.showTrans,_i:2},on:{click:t.onTap}}):t._e(),i("uni-transition",{key:"2",attrs:{"mode-class":t.ani,name:"content",styles:t.transClass,duration:t.duration,show:t.showTrans,_i:3},on:{click:t.onTap}},[i("view",{staticClass:t._$s(4,"sc","uni-popup__wrapper"),class:t._$s(4,"c",[t.popupstyle]),style:t._$s(4,"s",{backgroundColor:t.bg}),attrs:{_i:4},on:{click:t.clear}},[t._t("default",null,{_i:5})],2)])],1)]):t._e()},r=[]},"4c4f":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n={data:function(){return{data:"",url:"http://10.10.10.120:9090/wcs/h5/index.html"}},onShow:function(){var t=this;uni.getStorage({key:"data",success:function(e){t.data=e.data}})},methods:{setUrl:function(){""!=this.url&&(uni.setStorage({key:"data",data:this.url}),this.data=this.url)},clearUrl:function(){this.data="",this.url="http://10.10.10.120:9090/wcs/h5/index.html",uni.removeStorage({key:"data"})}}};e.default=n},"4c8c":function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return a})),i.d(e,"a",(function(){}));var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return t._$s(0,"i",t.isShow)?i("view",{ref:"ani",class:t._$s(0,"c",t.customClass),style:t._$s(0,"s",t.transformStyles),attrs:{animation:t._$s(0,"a-animation",t.animationData),_i:0},on:{click:t.onClick}},[t._t("default",null,{_i:1})],2):t._e()},a=[]},"4ffb":function(t,e,i){var n=i("3b2d")["default"],a=i("3352");t.exports=function(t,e){if(e&&("object"===n(e)||"function"===typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return a(t)},t.exports.__esModule=!0,t.exports["default"]=t.exports},5607:function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return a})),i.d(e,"a",(function(){}));var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("view",[t._$s(1,"i",1==t.loadingType)?i("Loading1",{attrs:{_i:1}}):t._e(),t._$s(2,"i",2==t.loadingType)?i("Loading2",{attrs:{_i:2}}):t._e(),t._$s(3,"i",3==t.loadingType)?i("Loading3",{attrs:{_i:3}}):t._e(),t._$s(4,"i",4==t.loadingType)?i("Loading4",{attrs:{_i:4}}):t._e(),t._$s(5,"i",5==t.loadingType)?i("Loading5",{attrs:{_i:5}}):t._e()],1)},a=[]},"5ddc":function(t){t.exports=JSON.parse('{"dataInfo2":{"data":{"msg":"\u64cd\u4f5c\u6210\u529f","code":200,"data":[{"title":"\u5168\u677f\u51fa\u5e93","workNo":8046,"staNo":200,"sourceStaNo":null,"locNo":null,"sourceLocNo":"1500502","barcode":"80009901","matDtos":[{"orderNo":"ck11111111111","brand":"ck11111111111","number":"100","weight":"123.568","matnr":"020101000001","maknx":"63-90\u578b\u5355\u7acb\u67f1","batch":null,"count":40,"specs":"gcslxwt","info":"\u6d59\u6c5f\u4e2d\u626c","bz":"\u7ea2\u8272","total":200},{"orderNo":"ck11111111111","matnr":"LPJ.SLJ.XG.037","maknx":"\u5de5\u7a0b\u5851\u6599\u4e0b\u5f2f\u5934","batch":null,"count":40,"specs":"gcslxwt","info":"\u6d59\u6c5f\u4e2d\u626c","bz":"\u6682\u5b58","total":200},{"orderNo":"ck11111111111","matnr":"LPJ.SLJ.XG.037","maknx":"\u5de5\u7a0b\u5851\u6599\u4e0b\u5f2f\u5934","batch":null,"count":40,"specs":"gcslxwt","info":"\u6d59\u6c5f\u4e2d\u626c","bz":"\u7ea2\u8272","total":200},{"matnr":"LPJ.SLJ.XG.037","maknx":"\u5de5\u7a0b\u5851\u6599\u4e0b\u5f2f\u5934","batch":null,"count":40,"specs":"gcslxwt","info":"\u6d59\u6c5f\u4e2d\u626c","bz":"","total":200},{"matnr":"LPJ.SLJ.XG.037","maknx":"\u5de5\u7a0b\u5851\u6599\u4e0b\u5f2f\u5934","batch":null,"count":40,"specs":"gcslxwt","info":"\u6d59\u6c5f\u4e2d\u626c","bz":"","total":200},{"matnr":"LPJ.SLJ.XG.037","maknx":"\u5de5\u7a0b\u5851\u6599\u4e0b\u5f2f\u5934","batch":null,"count":40,"specs":"gcslxwt","info":"\u6d59\u6c5f\u4e2d\u626c","bz":"","total":200},{"matnr":"LPJ.SLJ.XG.037","maknx":"\u5de5\u7a0b\u5851\u6599\u4e0b\u5f2f\u5934","batch":null,"count":40,"specs":"gcslxwt","info":"\u6d59\u6c5f\u4e2d\u626c","bz":"17\u53f7\u6846","total":200}],"emptyMk":false,"ioType":101}]}},"dataError2":{"data":{"msg":"\u64cd\u4f5c\u6210\u529f","code":200,"data":""}},"lineData":{"msg":"\u64cd\u4f5c\u6210\u529f","code":200,"data":{"rows":[{"name":"\u5165\u5e93\u6570\u91cf","data":[0,0,0,0,1,1,0,0,4,4,0,4]},{"name":"\u51fa\u5e93\u6570\u91cf","data":[0,0,0,0,0,0,0,0,3,4,0,1]}]}},"pieData":{"msg":"\u64cd\u4f5c\u6210\u529f","code":200,"data":{"emptyCount":3582,"noneCount":256,"total":3840,"stockCunt":2,"usedPr":0.1,"used":2,"pie":[{"name":"\u5728\u5e93","value":2},{"name":"\u7a7a","value":3582},{"name":"\u4f7f\u7528","value":0},{"name":"\u7981\u7528","value":256}]}},"other":{"msg":"\u64cd\u4f5c\u6210\u529f","code":200,"data":{"xDistance":15651,"xSpeed":32704,"zSpeed":32704,"yDistance":15,"yDuration":0,"ySpeed":32704,"xDuration":0,"content":"","forkPos":1,"isShow":false}}}')},"5e2e":function(t,e,i){"use strict";i.r(e);var n=i("7b96"),a=i("3f6f");for(var r in a)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(r);var o=i("828b"),s=Object(o["a"])(a["default"],n["b"],n["c"],!1,null,"cc06004c",null,!1,n["a"],void 0);e["default"]=s.exports},"5e84":function(t,e,i){"use strict";(function(t){var n=i("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=n(i("5ddc")),r=n(i("9e36")),o={data:function(){return{series:[],homeViewShow:!0,infoViewShow:!1,errorInfoViewShow:!1,homeMode:[],infoMode:[],errorInfoMode:[],needUpdateCharts:!1,viewSwitchTimer:null,viewSwitchInProgress:!1,timerIds:[],baseInfo:{xDistance:1,yDistance:2,xDuration:3,yDuration:4,usedPr:50,used:3537,stockCount:"",emptyCount:"",noneCount:""},chartsData:{Line:{categories:[],series:[]},Pie:{series:[{data:[]}]}},duration:1e3,calendar:"",ringOpts:{},chartsDataLine1:{},chartsDataPie2:{},fontSize:"",height:"",showCharts:!1,ejectShow:!1,baseIP:"",basePort:"",baseLedId:"",baseCrnId:"",baseUrl:"",info:null,error:null,infoType:0,text:"",infoText:{title:"",staNo:"",matnr:"",maknx:"",specs:"",count:"",error:"",barcode:""},swiperList:[],timeOut:!1,times:0,currDate:"",locList:[],oldHours:"",oldMin:"",socketClient:null,messages:[],version:"",socketUrl:"",msgType:"success",filename:"",dialogContent:"",wmsUrl:"",wmsPort:""}},onShow:function(){plus.navigator.setFullscreen(!0),this.getVersion()},mounted:function(){var t=uni.getStorageSync("BaseIp"),e=uni.getStorageSync("BaseLedId"),i=uni.getStorageSync("BasePort"),n=uni.getStorageSync("BaseCrnId"),a=uni.getStorageSync("UPROJ"),r=uni.getStorageSync("wmsUrl"),o=uni.getStorageSync("wmsPort");this.baseUrl=a,this.baseIP=t,this.baseLedId=e,this.basePort=i,this.baseCrnId=n,this.wmsUrl=r,this.wmsPort=o},created:function(){var t=uni.getStorageSync("BaseIp"),e=uni.getStorageSync("BaseLedId"),i=uni.getStorageSync("BasePort"),n=uni.getStorageSync("BaseCrnId"),a=uni.getStorageSync("UPROJ"),r=uni.getStorageSync("wmsUrl"),o=uni.getStorageSync("wmsPort");this.baseUrl=a,this.baseIP=t,this.baseLedId=e,this.basePort=i,this.baseCrnId=n,this.wmsUrl=r,this.wmsPort=o,this.uniWebSocket()},onLoad:function(){var t=this,e=setInterval((function(){t.getServerData(),t.controller()}),1e3);this.timerIds.push(e);var i=setInterval((function(){setTimeout((function(){plus.runtime.restart()}),100)}),144e5);this.timerIds.push(i)},onUnload:function(){this.timerIds.forEach((function(t){return clearInterval(t)})),this.timerIds=[]},beforeDestroy:function(){this.socketClient&&(this.socketClient.close(),this.socketClient=null),this.timerIds.forEach((function(t){return clearInterval(t)})),this.timerIds=[],this.viewSwitchTimer&&(clearTimeout(this.viewSwitchTimer),this.viewSwitchTimer=null)},methods:{uniWebSocket:function(){var e=this;e.commonUrl=e.baseIP+":"+e.basePort+"/"+e.baseUrl,e.socketUrl="ws://"+e.commonUrl+"/led/"+e.baseLedId,e.socketClient=new r.default(e.socketUrl,{heartbeatInterval:3e4,reconnectInterval:3e3,maxReconnectAttempts:-1,onMessage:function(i){try{var n=JSON.parse(i.data);e.showDate(n)}catch(a){t("error","\u89e3\u6790\u6d88\u606f\u5931\u8d25",a," at pages/home/home.vue:534")}},onOpen:function(i){e.timeOut=!1,e.times=0,t("log","WebSocket\u5df2\u8fde\u63a5",i," at pages/home/home.vue:541")},onError:function(e){t("error","WebSocket\u9519\u8bef",e," at pages/home/home.vue:545")},onClose:function(i){e.timeOut=!0,e.times=e.times+1,e.infoType=0,t("log","WebSocket\u5df2\u5173\u95ed",i," at pages/home/home.vue:552")},onReconnect:function(e){t("log","WebSocket\u91cd\u8fde(".concat(e.attempts,"/").concat(e.maxAttempts,")")," at pages/home/home.vue:556")}}),e.socketClient.connect()},sendMessage:function(e){var i={type:"chat",content:e,timestamp:Date.now()};this.socketClient.send(i).then((function(){t("log","\u6d88\u606f\u53d1\u9001\u6210\u529f"," at pages/home/home.vue:573")})).catch((function(e){t("error","\u6d88\u606f\u53d1\u9001\u5931\u8d25",e," at pages/home/home.vue:576")}))},webSockerInit:function(){var e=this;if(""===e.baseIP&&""===e.basePort&&""===e.baseUrl)return e.timeOut=!0,e.times=e.times+1,void(e.infoType=0);e.commonUrl=e.baseIP+":"+e.basePort+"/"+e.baseUrl;var i="ws://"+e.commonUrl+"/led/"+e.baseLedId,n=new WebSocketClient(i);n.connect(),t("log",n," at pages/home/home.vue:595"),n.onclose((function(){})),n.onmessage((function(t){e.timeOut=!1;var i=JSON.parse(t.data);e.showDate(i)}))},showDate:function(t){if("default"===t.type)this.needUpdateCharts=!0,this.chartsData.Pie.series[0].data=t.pie,this.baseInfo.stockCount=t.stockCunt,this.baseInfo.emptyCount=t.emptyCount,this.baseInfo.noneCount=t.noneCount,this.baseInfo.used=t.used,this.baseInfo.usedPr=t.usedPr,this.chartsData.Line.categories=[this.getDateFormat(-11),this.getDateFormat(-10),this.getDateFormat(-9),this.getDateFormat(-8),this.getDateFormat(-7),this.getDateFormat(-6),this.getDateFormat(-5),this.getDateFormat(-4),this.getDateFormat(-3),this.getDateFormat(-2),this.getDateFormat(-1),this.getDateFormat(0)],this.chartsData.Line.series=t.rows,this.calendar=t.year+"\u5e74"+t.month+"\u6708"+t.day+"\u65e5 "+t.hour+":"+t.minute+":"+t.second+" "+t.week,this.currDate=t.year+"/"+t.month+"/"+t.day,this.locList=t.inventoryData,this.oldHours=t.hour,this.oldMin=t.minute;else if("error"===t.type)if(t.errMsg&&""!==t.errMsg){var e=t.errMsg;if(1==this.infoType)return this.infoType=3,this.infoText.title="\u5176\u4ed6\u4fe1\u606f",void(this.infoText.error=e);this.infoType=2,this.infoText.title="\u5176\u4ed6\u4fe1\u606f",this.infoText.error=e}else{if(1==this.infoType)return;this.infoType=0}else if("task"===t.type)if(t.taskList&&""!==t.taskList&&0!=t.taskList.length){if(2==this.infoType||3==this.infoType)return;this.infoType=1,101===t.taskList[0].ioType?this.infoText.title="\u5168\u677f\u51fa\u5e93":103===t.taskList[0].ioType?this.infoText.title="\u62e3\u6599\u51fa\u5e93":107===t.taskList[0].ioType?this.infoText.title="\u76d8\u70b9\u51fa\u5e93":1===t.taskList[0].ioType?this.infoText.title="\u5165\u5e93":10===t.taskList[0].ioType?this.infoText.title="\u7a7a\u6258\u5165\u5e93":110===t.taskList[0].ioType?this.infoText.title="\u7a7a\u6258\u51fa\u5e93":104===t.taskList[0].ioType?this.infoText.title="\u5e76\u677f\u51fa\u5e93":54===t.taskList[0].ioType&&(this.infoText.title="\u5e76\u677f\u5165\u5e93"),this.infoText.barcode=t.taskList[0].barcode,this.infoText.workNo=t.taskList[0].workNo,this.infoText.sourceLocNo=t.taskList[0].sourceLocNo,this.infoText.staNo=t.taskList[0].staNo,this.swiperList=t.taskList[0].matDtos}else{if(2==this.infoType||3==this.infoType)return;this.infoType=0}},statisticalModel:function(){var e=this;uni.request({url:e.commonUrl+"/monitor/locDetl/pda/statisticalModel",method:"GET",success:function(i){var n=i.data;200===n.code&&(t("log",n.data," at pages/home/home.vue:700"),e.locList=n.data)}})},getUrl:function(){this.commonUrl=this.baseHttp+this.baseIP+":"+this.basePort+"/"+this.baseUrl},getServerData:function(){this.needUpdateCharts&&(this.chartsDataLine1=JSON.parse(JSON.stringify(this.chartsData.Line)),this.chartsDataPie2=JSON.parse(JSON.stringify(this.chartsData.Pie)),this.needUpdateCharts=!1)},getInfo2:function(){var t=a.default.dataInfo2,e=t.data;if(e.data&&""!==e.data){if(2==this.infoType||3==this.infoType)return;this.infoType=1,101===e.data[0].ioType?this.infoText.title="\u5168\u677f\u51fa\u5e93":103===e.data[0].ioType?this.infoText.title="\u68c0\u6599\u51fa\u5e93":107===e.data[0].ioType?this.infoText.title="\u76d8\u70b9\u51fa\u5e93":1===e.data[0].ioType?this.infoText.title="\u5165\u5e93":10===e.data[0].ioType?this.infoText.title="\u7a7a\u6258\u5165\u5e93":110===e.data[0].ioType&&(this.infoText.title="\u7a7a\u6258\u51fa\u5e93"),this.infoText.barcode=e.data[0].barcode,this.infoText.workNo=e.data[0].workNo,this.infoText.sourceLocNo=e.data[0].sourceLocNo,this.infoText.staNo=e.data[0].staNo,this.swiperList=e.data[0].matDtos}else{if(2==this.infoType||3==this.infoType)return;this.infoType=0}},getError2:function(){var t=a.default.dataError2,e=t.data;if(e.data&&""!==e.data){var i=e.data;if(1==this.infoType)return this.infoType=3,this.infoText.title="\u5176\u4ed6\u4fe1\u606f",void(this.infoText.error=i);this.infoType=2,this.infoText.title="\u5176\u4ed6\u4fe1\u606f",this.infoText.error=i}else{if(1==this.infoType)return;this.infoType=0}},getInfo:function(){var t=this;uni.request({url:t.commonUrl+"/monitor/led",method:"GET",data:{ledId:t.baseLedId},success:function(e){t.timeOut=!1,t.times=0;var i=e.data;if(i.data&&""!==i.data){if(2==t.infoType||3==t.infoType)return;t.infoType=1,101===i.data[0].ioType?t.infoText.title="\u5168\u677f\u51fa\u5e93":103===i.data[0].ioType?t.infoText.title="\u68c0\u6599\u51fa\u5e93":107===i.data[0].ioType?t.infoText.title="\u76d8\u70b9\u51fa\u5e93":1===i.data[0].ioType?t.infoText.title="\u5165\u5e93":10===i.data[0].ioType?t.infoText.title="\u7a7a\u6258\u5165\u5e93":110===i.data[0].ioType&&(t.infoText.title="\u7a7a\u6258\u51fa\u5e93"),t.infoText.barcode=i.data[0].barcode,t.infoText.workNo=i.data[0].workNo,t.infoText.sourceLocNo=i.data[0].sourceLocNo,t.infoText.staNo=i.data[0].staNo,t.swiperList=i.data[0].matDtos}else{if(2==t.infoType||3==t.infoType)return;t.infoType=0}},fail:function(e){t.timeOut=!0,t.times=t.times+1,t.infoType=0}})},getError:function(){var t=this;uni.request({url:t.commonUrl+"/monitor/led/error",data:{ledId:t.baseLedId},method:"GET",success:function(e){t.timeOut=!1,t.times=0;var i=e.data;if(i.data&&""!==i.data){var n=i.data;if(1==t.infoType)return t.infoType=3,t.infoText.title="\u5176\u4ed6\u4fe1\u606f",void(t.infoText.error=n);t.infoType=2,t.infoText.title="\u5176\u4ed6\u4fe1\u606f",t.infoText.error=n}else{if(1==t.infoType)return;t.infoType=0}},fail:function(e){t.timeOut=!0,t.infoType=0}})},controller:function(){var t=this;if(!this.viewSwitchInProgress)switch(this.viewSwitchTimer&&(clearTimeout(this.viewSwitchTimer),this.viewSwitchTimer=null),this.infoType){case 0:return void(this.errorInfoViewShow?(this.viewSwitchInProgress=!0,this.errorInfoViewShow=!1,this.errorInfoMode=["fade","slide-bottom"],this.viewSwitchTimer=setTimeout((function(){t.homeViewShow=!0,t.homeMode=["fade","slide-bottom"],setTimeout((function(){t.viewSwitchInProgress=!1}),1e3)}),1e3)):this.infoViewShow?(this.viewSwitchInProgress=!0,this.infoViewShow=!1,this.infoMode=["fade","slide-bottom"],this.viewSwitchTimer=setTimeout((function(){t.homeViewShow=!0,t.homeMode=["fade","slide-bottom"],setTimeout((function(){t.viewSwitchInProgress=!1}),1e3)}),1e3)):this.errorInfoViewShow&&this.infoViewShow&&(this.viewSwitchInProgress=!0,this.errorInfoViewShow=!1,this.infoViewShow=!1,this.infoMode=["fade","slide-bottom"],this.viewSwitchTimer=setTimeout((function(){t.homeViewShow=!0,t.homeMode=["fade","slide-bottom"],setTimeout((function(){t.viewSwitchInProgress=!1}),1e3)}),1e3)));case 1:return void(this.homeViewShow?(this.viewSwitchInProgress=!0,this.homeViewShow=!1,this.homeMode=["fade","slide-bottom"],this.viewSwitchTimer=setTimeout((function(){t.infoViewShow=!0,t.infoMode=["fade","slide-bottom"],setTimeout((function(){t.viewSwitchInProgress=!1}),1e3)}),1e3)):this.errorInfoViewShow&&(this.viewSwitchInProgress=!0,this.errorInfoViewShow=!1,this.errorInfoMode=["fade","slide-bottom"],this.viewSwitchTimer=setTimeout((function(){t.infoViewShow=!0,t.infoMode=["fade","slide-bottom"],setTimeout((function(){t.viewSwitchInProgress=!1}),1e3)}),1e3)));case 2:return void(this.homeViewShow?(this.viewSwitchInProgress=!0,this.homeViewShow=!1,this.homeMode=["fade","slide-bottom"],this.viewSwitchTimer=setTimeout((function(){t.errorInfoViewShow=!0,t.errorInfoMode=["fade","slide-bottom"],setTimeout((function(){t.viewSwitchInProgress=!1}),1e3)}),1e3)):this.infoViewShow&&(this.viewSwitchInProgress=!0,this.infoViewShow=!1,this.infoMode=["fade","slide-bottom"],this.viewSwitchTimer=setTimeout((function(){t.errorInfoViewShow=!0,t.errorInfoMode=["fade","slide-bottom"],setTimeout((function(){t.viewSwitchInProgress=!1}),1e3)}),1e3)));case 3:return void(this.homeViewShow?(this.viewSwitchInProgress=!0,this.homeViewShow=!1,this.homeMode=["fade","slide-bottom"],this.viewSwitchTimer=setTimeout((function(){t.errorInfoViewShow=!0,t.errorInfoMode=["fade","slide-bottom"],setTimeout((function(){t.viewSwitchInProgress=!1}),1e3)}),1e3)):this.infoViewShow&&(this.viewSwitchInProgress=!0,this.infoViewShow=!1,this.infoMode=["fade","slide-bottom"],this.viewSwitchTimer=setTimeout((function(){t.errorInfoViewShow=!0,t.errorInfoMode=["fade","slide-bottom"],setTimeout((function(){t.viewSwitchInProgress=!1}),1e3)}),1e3)))}},handle:function(t){this.homeViewShow=!this.homeViewShow,this.modeClass=t},handle1:function(t){this.infoViewShow=!this.infoViewShow,this.modeClass=t},handle2:function(t){this.errorInfoViewShow=!this.errorInfoViewShow,this.modeClass=t},ejected:function(){this.ejectShow=!0},ejectClose:function(){this.ejectShow=!1},ejectConfirm:function(){uni.setStorageSync("BaseIp",this.baseIP),uni.setStorageSync("BaseLedId",this.baseLedId),uni.setStorageSync("BasePort",this.basePort),uni.setStorageSync("BaseCrnId",this.baseCrnId),uni.setStorageSync("UPROJ",this.baseUrl),uni.setStorageSync("wmsUrl",this.wmsUrl),uni.setStorageSync("wmsPort",this.wmsPort),this.getUrl(),this.ejectShow=!1},getDate2:function(){uni.request({url:this.commonUrl+"/monitor/date",method:"GET",success:function(t){t.data.data}})},getDate:function(){var t,e,i,n,a,r,o,s=new Date;switch(t=s.getFullYear(),e=s.getMonth()+1<10?"0"+(s.getMonth()+1):s.getMonth()+1,i=s.getDate()<10?"0"+s.getDate():s.getDate(),n=s.getHours()<10?"0"+s.getHours():s.getHours(),a=s.getMinutes()<10?"0"+s.getMinutes():s.getMinutes(),r=s.getSeconds()<10?"0"+s.getSeconds():s.getSeconds(),o=s.getDay(),o){case 0:o="\u661f\u671f\u65e5";break;case 1:o="\u661f\u671f\u4e00";break;case 2:o="\u661f\u671f\u4e8c";break;case 3:o="\u661f\u671f\u4e09";break;case 4:o="\u661f\u671f\u56db";break;case 5:o="\u661f\u671f\u4e94";break;default:o="\u661f\u671f\u516d"}this.calendar=t+"\u5e74"+e+"\u6708"+i+"\u65e5 "+n+":"+a+":"+r+" "+o},getDateFormat:function(t){var e=new Date(this.currDate);e.setDate(e.getDate()+t);var i=e.getMonth()+1,n=e.getDate(),a=i+"-"+n;return a},initlineChart:function(){uni.request({url:this.commonUrl+"/monitor/line/charts",method:"GET",success:function(t){var e=t.data;e.code}})},initPieChart:function(){var t=this;uni.request({url:t.commonUrl+"/monitor/loc/rep",method:"GET",success:function(e){var i=e.data;200===i.code&&(t.chartsData.Pie.series[0].data=i.data.pie,t.baseInfo.stockCount=i.data.stockCunt,t.baseInfo.emptyCount=i.data.emptyCount,t.baseInfo.noneCount=i.data.noneCount,t.baseInfo.used=i.data.used,t.baseInfo.usedPr=i.data.usedPr)}})},getOther:function(){var t=this;uni.request({url:t.commonUrl+"/monitor/other",data:{crnId:t.baseCrnId,ledId:t.baseLedId},success:function(e){var i=e.data;200===i.code?(t.baseInfo.xDistance=i.data.xDistance,t.baseInfo.yDistance=i.data.yDistance,t.baseInfo.xDuration=i.data.xDuration,t.baseInfo.yDuration=i.data.yDuration):i.code}})},getVersion:function(){var t=this;uni.getSystemInfo({success:function(e){"android"==e.platform&&t.AndroidCheckUpdate()}})},AndroidCheckUpdate:function(){var t=this;plus.runtime.getProperty(plus.runtime.appid,(function(e){t.version=e.version})),setTimeout((function(){t.getUpdateVersion()}),100)},getUpdateVersion:function(){var e=this;if("http://undefined:undefined/undefined"!=e.baseUrl){var i="http://"+e.baseIP+":"+e.wmsPort+"/"+e.wmsUrl;t("log",i," at pages/home/home.vue:1180");var n=i+"/appVersion/checkUpdate/"+e.version+"/1";uni.request({url:n,method:"GET",success:function(i){t("log",i," at pages/home/home.vue:1186");i=i.data;i.data?(e.filename=i.data.path,e.dialogContent="\u53d1\u73b0\u65b0\u7248\u672c:"+i.data.version+", \u662f\u5426\u7acb\u5373\u66f4\u65b0",e.$refs.upVersion.open()):uni.showToast({title:i.msg,icon:"none",position:"top"})}})}},dialogConfirm:function(){this.$refs.upVersion.close(),this.downWgt()},dialogClose:function(){this.$refs.upVersion.close()},downWgt:function(){var e=this,i="http://"+e.baseIP+":"+e.wmsPort+"/"+e.wmsUrl,n=i+"/appVersion/downloadApp/"+e.filename;uni.showLoading({title:"\u66f4\u65b0\u4e2d\u2026\u2026"});var a=uni.downloadFile({url:n,timeout:3e4,success:function(i){t("log",i," at pages/home/home.vue:1221"),e.showdownLine=!1,uni.hideLoading(),200==i.statusCode?uni.showModal({title:"",content:"\u66f4\u65b0\u6210\u529f\uff0c\u786e\u5b9a\u73b0\u5728\u91cd\u542f\u5417\uff1f",confirmText:"\u91cd\u542f",confirmColor:"#EE8F57",success:function(t){1==t.confirm&&plus.runtime.install(i.tempFilePath,{force:!0},(function(t){utils.showToast("\u66f4\u65b0\u6210\u529f\uff0c\u91cd\u542f\u4e2d"),plus.runtime.restart()}))}}):(uni.hideLoading(),e.showdownLine=!1,uni.showToast({title:"\u8bf7\u5148\u4e0a\u4f20\u5b89\u88c5\u5305",icon:"error"}))},fail:function(t){uni.hideLoading(),e.showdownLine=!1,e.$u.toast(downloadResult.errMsg)},complete:function(e){t("log",e," at pages/home/home.vue:1260")}});a.onProgressUpdate((function(i){e.downloadNum=i.progress,t("log","\u4e0b\u8f7d\u8fdb\u5ea6"+e.downloadNum," at pages/home/home.vue:1267")}))}}};e.default=o}).call(this,i("f3b9")["default"])},"5f21":function(t,e,i){"use strict";i.r(e);var n=i("5607"),a=i("3f60");for(var r in a)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(r);var o=i("828b"),s=Object(o["a"])(a["default"],n["b"],n["c"],!1,null,null,null,!1,n["a"],void 0);e["default"]=s.exports},"62d4":function(t,e,i){"use strict";i.r(e);var n=i("ea8b");for(var a in n)["default"].indexOf(a)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(a);var r=i("828b"),o=Object(r["a"])(n["default"],void 0,void 0,!1,null,null,null,!1,void 0,void 0);e["default"]=o.exports},6382:function(t,e,i){var n=i("6454");t.exports=function(t,e){if(t){if("string"===typeof t)return n(t,e);var i=Object.prototype.toString.call(t).slice(8,-1);return"Object"===i&&t.constructor&&(i=t.constructor.name),"Map"===i||"Set"===i?Array.from(t):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?n(t,e):void 0}},t.exports.__esModule=!0,t.exports["default"]=t.exports},"63c1":function(t,e,i){"use strict";i.r(e);var n=i("2c9f"),a=i.n(n);for(var r in n)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(r);e["default"]=a.a},6454:function(t,e){t.exports=function(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,n=new Array(e);i<e;i++)n[i]=t[i];return n},t.exports.__esModule=!0,t.exports["default"]=t.exports},6597:function(t,e,i){t.exports=i.p+"static/img/logo-bai.png"},6620:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={appid:"__UNI__CA903B7"}},"67ad":function(t,e){t.exports=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},t.exports.__esModule=!0,t.exports["default"]=t.exports},6808:function(t,e,i){t.exports=i.p+"static/c1.png"},"6a1e":function(t,e,i){},"6cb1":function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return a})),i.d(e,"a",(function(){}));var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("view",{staticClass:t._$s(0,"sc","uni-popup-dialog"),attrs:{_i:0}},[i("view",{staticClass:t._$s(1,"sc","uni-dialog-title"),attrs:{_i:1}},[i("text",{staticClass:t._$s(2,"sc","uni-dialog-title-text"),class:t._$s(2,"c",["uni-popup__"+t.dialogType]),attrs:{_i:2}},[t._v(t._$s(2,"t0-0",t._s(t.titleText)))])]),t._$s(3,"i","base"===t.mode)?i("view",{staticClass:t._$s(3,"sc","uni-dialog-content"),attrs:{_i:3}},[t._t("default",[i("text",{staticClass:t._$s(5,"sc","uni-dialog-content-text"),attrs:{_i:5}},[t._v(t._$s(5,"t0-0",t._s(t.content)))])],{_i:4})],2):i("view",{staticClass:t._$s(6,"sc","uni-dialog-content"),attrs:{_i:6}},[t._t("default",[i("input",{directives:[{name:"model",rawName:"v-model",value:t.val,expression:"val"}],staticClass:t._$s(8,"sc","uni-dialog-input"),attrs:{placeholder:t._$s(8,"a-placeholder",t.placeholderText),focus:t._$s(8,"a-focus",t.focus),_i:8},domProps:{value:t._$s(8,"v-model",t.val)},on:{input:function(e){e.target.composing||(t.val=e.target.value)}}})],{_i:7})],2),i("view",{staticClass:t._$s(9,"sc","uni-dialog-button-group"),attrs:{_i:9}},[i("view",{staticClass:t._$s(10,"sc","uni-dialog-button"),attrs:{_i:10},on:{click:t.closeDialog}},[i("text",{staticClass:t._$s(11,"sc","uni-dialog-button-text"),attrs:{_i:11}},[t._v(t._$s(11,"t0-0",t._s(t.closeText)))])]),i("view",{staticClass:t._$s(12,"sc","uni-dialog-button uni-border-left"),attrs:{_i:12},on:{click:t.onOk}},[i("text",{staticClass:t._$s(13,"sc","uni-dialog-button-text uni-button-color"),attrs:{_i:13}},[t._v(t._$s(13,"t0-0",t._s(t.okText)))])])])])},a=[]},"6f0f":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={name:"loading6",data:function(){return{}}}},7172:function(t,e){t.exports=function(t,e){var i=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=i){var n,a,r,o,s=[],c=!0,l=!1;try{if(r=(i=i.call(t)).next,0===e){if(Object(i)!==i)return;c=!1}else for(;!(c=(n=r.call(i)).done)&&(s.push(n.value),s.length!==e);c=!0);}catch(t){l=!0,a=t}finally{try{if(!c&&null!=i["return"]&&(o=i["return"](),Object(o)!==o))return}finally{if(l)throw a}}return s}},t.exports.__esModule=!0,t.exports["default"]=t.exports},7543:function(t,e,i){"use strict";i.r(e);var n=i("d2a0"),a=i.n(n);for(var r in n)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(r);e["default"]=a.a},7584:function(t,e,i){t.exports=i.p+"static/b1.png"},7647:function(t,e){function i(e,n){return t.exports=i=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},t.exports.__esModule=!0,t.exports["default"]=t.exports,i(e,n)}t.exports=i,t.exports.__esModule=!0,t.exports["default"]=t.exports},7996:function(t,e,i){"use strict";i.r(e);var n=i("0477"),a=i("9399");for(var r in a)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(r);var o=i("828b"),s=Object(o["a"])(a["default"],n["b"],n["c"],!1,null,"f4e86178",null,!1,n["a"],void 0);e["default"]=s.exports},"7b82":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={name:"loading5",data:function(){return{}}}},"7b96":function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return a})),i.d(e,"a",(function(){}));var n=function(){var t=this.$createElement,e=this._self._c||t;return e("view",{staticClass:this._$s(0,"sc","container"),attrs:{_i:0}})},a=[]},"7c9c":function(t,e,i){"use strict";i.r(e);var n=i("21fd"),a=i.n(n);for(var r in n)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(r);e["default"]=a.a},"7ca3":function(t,e,i){var n=i("d551");t.exports=function(t,e,i){return e=n(e),e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t},t.exports.__esModule=!0,t.exports["default"]=t.exports},"7ce1":function(t,e,i){var n=i("b4d2"),a=i("7647"),r=i("4965"),o=i("931d");function s(e){var i="function"===typeof Map?new Map:void 0;return t.exports=s=function(t){if(null===t||!r(t))return t;if("function"!==typeof t)throw new TypeError("Super expression must either be null or a function");if("undefined"!==typeof i){if(i.has(t))return i.get(t);i.set(t,e)}function e(){return o(t,arguments,n(this).constructor)}return e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),a(e,t)},t.exports.__esModule=!0,t.exports["default"]=t.exports,s(e)}t.exports=s,t.exports.__esModule=!0,t.exports["default"]=t.exports},"7d36":function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return a})),i.d(e,"a",(function(){}));var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("view",[i("button",{staticClass:t._$s(1,"sc","clear"),attrs:{_i:1},on:{click:t.clearUrl}}),t._$s(2,"i",""!=t.data)?i("web-view",{attrs:{src:t._$s(2,"a-src",t.data),_i:2}}):t._e(),t._$s(3,"i",""==t.data)?i("view",{attrs:{_i:3}},[i("input",{directives:[{name:"model",rawName:"v-model",value:t.url,expression:"url"}],attrs:{_i:4},domProps:{value:t._$s(4,"v-model",t.url)},on:{input:function(e){e.target.composing||(t.url=e.target.value)}}}),i("button",{attrs:{_i:5},on:{click:t.setUrl}})]):t._e()])},a=[]},"828b":function(t,e,i){"use strict";function n(t,e,i,n,a,r,o,s,c,l){var u,h="function"===typeof t?t.options:t;if(c){h.components||(h.components={});var d=Object.prototype.hasOwnProperty;for(var f in c)d.call(c,f)&&!d.call(h.components,f)&&(h.components[f]=c[f])}if(l&&("function"===typeof l.beforeCreate&&(l.beforeCreate=[l.beforeCreate]),(l.beforeCreate||(l.beforeCreate=[])).unshift((function(){this[l.__module]=this})),(h.mixins||(h.mixins=[])).push(l)),e&&(h.render=e,h.staticRenderFns=i,h._compiled=!0),n&&(h.functional=!0),r&&(h._scopeId="data-v-"+r),o?(u=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"===typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),a&&a.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(o)},h._ssrRegister=u):a&&(u=s?function(){a.call(this,this.$root.$options.shadowRoot)}:a),u)if(h.functional){h._injectStyles=u;var p=h.render;h.render=function(t,e){return u.call(e),p(t,e)}}else{var g=h.beforeCreate;h.beforeCreate=g?[].concat(g,u):[u]}return{exports:t,options:h}}i.d(e,"a",(function(){return n}))},8325:function(t,e,i){"use strict";i.r(e);var n=i("ee34"),a=i("3d72");for(var r in a)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(r);var o=i("828b"),s=Object(o["a"])(a["default"],n["b"],n["c"],!1,null,"4606611e",null,!1,n["a"],void 0);e["default"]=s.exports},"858a":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={name:"loading1",data:function(){return{}}}},"861b":function(t,e,i){"use strict";(function(t,n){var a=i("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.uniCloud=e.default=e.UniCloudError=void 0;var r=a(i("127e")),o=a(i("3352")),s=a(i("34cf")),c=a(i("3b2d")),l=a(i("af34")),u=a(i("ee10")),h=a(i("7ca3")),d=a(i("8ffa")),f=a(i("4ffb")),p=a(i("b4d2")),g=a(i("7ce1")),v=a(i("67ad")),m=a(i("0bdb")),x=a(i("451d"));function y(t,e){var i="undefined"!==typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!i){if(Array.isArray(t)||(i=function(t,e){if(!t)return;if("string"===typeof t)return _(t,e);var i=Object.prototype.toString.call(t).slice(8,-1);"Object"===i&&t.constructor&&(i=t.constructor.name);if("Map"===i||"Set"===i)return Array.from(t);if("Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return _(t,e)}(t))||e&&t&&"number"===typeof t.length){i&&(t=i);var n=0,a=function(){};return{s:a,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var r,o=!0,s=!1;return{s:function(){i=i.call(t)},n:function(){var t=i.next();return o=t.done,t},e:function(t){s=!0,r=t},f:function(){try{o||null==i.return||i.return()}finally{if(s)throw r}}}}function _(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,n=new Array(e);i<e;i++)n[i]=t[i];return n}function b(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.push.apply(i,n)}return i}function w(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?b(Object(i),!0).forEach((function(e){(0,h.default)(t,e,i[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):b(Object(i)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))}))}return t}function S(t){var e=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var i,n=(0,p.default)(t);if(e){var a=(0,p.default)(this).constructor;i=Reflect.construct(n,arguments,a)}else i=n.apply(this,arguments);return(0,f.default)(this,i)}}function k(t,e,i){return t(i={path:e,exports:{},require:function(t,e){return function(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}(null==e&&i.path)}},i.exports),i.exports}"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof t||"undefined"!=typeof self&&self;var C=k((function(t,e){var i;t.exports=(i=i||function(t,e){var i=Object.create||function(){function t(){}return function(e){var i;return t.prototype=e,i=new t,t.prototype=null,i}}(),n={},a=n.lib={},r=a.Base={extend:function(t){var e=i(this);return t&&e.mixIn(t),e.hasOwnProperty("init")&&this.init!==e.init||(e.init=function(){e.$super.init.apply(this,arguments)}),e.init.prototype=e,e.$super=this,e},create:function(){var t=this.extend();return t.init.apply(t,arguments),t},init:function(){},mixIn:function(t){for(var e in t)t.hasOwnProperty(e)&&(this[e]=t[e]);t.hasOwnProperty("toString")&&(this.toString=t.toString)},clone:function(){return this.init.prototype.extend(this)}},o=a.WordArray=r.extend({init:function(t,e){t=this.words=t||[],this.sigBytes=void 0!=e?e:4*t.length},toString:function(t){return(t||c).stringify(this)},concat:function(t){var e=this.words,i=t.words,n=this.sigBytes,a=t.sigBytes;if(this.clamp(),n%4)for(var r=0;r<a;r++){var o=i[r>>>2]>>>24-r%4*8&255;e[n+r>>>2]|=o<<24-(n+r)%4*8}else for(r=0;r<a;r+=4)e[n+r>>>2]=i[r>>>2];return this.sigBytes+=a,this},clamp:function(){var e=this.words,i=this.sigBytes;e[i>>>2]&=4294967295<<32-i%4*8,e.length=t.ceil(i/4)},clone:function(){var t=r.clone.call(this);return t.words=this.words.slice(0),t},random:function(e){for(var i,n=[],a=function(e){var i=987654321,n=4294967295;return function(){var a=((i=36969*(65535&i)+(i>>16)&n)<<16)+(e=18e3*(65535&e)+(e>>16)&n)&n;return a/=4294967296,(a+=.5)*(t.random()>.5?1:-1)}},r=0;r<e;r+=4){var s=a(4294967296*(i||t.random()));i=987654071*s(),n.push(4294967296*s()|0)}return new o.init(n,e)}}),s=n.enc={},c=s.Hex={stringify:function(t){for(var e=t.words,i=t.sigBytes,n=[],a=0;a<i;a++){var r=e[a>>>2]>>>24-a%4*8&255;n.push((r>>>4).toString(16)),n.push((15&r).toString(16))}return n.join("")},parse:function(t){for(var e=t.length,i=[],n=0;n<e;n+=2)i[n>>>3]|=parseInt(t.substr(n,2),16)<<24-n%8*4;return new o.init(i,e/2)}},l=s.Latin1={stringify:function(t){for(var e=t.words,i=t.sigBytes,n=[],a=0;a<i;a++){var r=e[a>>>2]>>>24-a%4*8&255;n.push(String.fromCharCode(r))}return n.join("")},parse:function(t){for(var e=t.length,i=[],n=0;n<e;n++)i[n>>>2]|=(255&t.charCodeAt(n))<<24-n%4*8;return new o.init(i,e)}},u=s.Utf8={stringify:function(t){try{return decodeURIComponent(escape(l.stringify(t)))}catch(t){throw new Error("Malformed UTF-8 data")}},parse:function(t){return l.parse(unescape(encodeURIComponent(t)))}},h=a.BufferedBlockAlgorithm=r.extend({reset:function(){this._data=new o.init,this._nDataBytes=0},_append:function(t){"string"==typeof t&&(t=u.parse(t)),this._data.concat(t),this._nDataBytes+=t.sigBytes},_process:function(e){var i=this._data,n=i.words,a=i.sigBytes,r=this.blockSize,s=a/(4*r),c=(s=e?t.ceil(s):t.max((0|s)-this._minBufferSize,0))*r,l=t.min(4*c,a);if(c){for(var u=0;u<c;u+=r)this._doProcessBlock(n,u);var h=n.splice(0,c);i.sigBytes-=l}return new o.init(h,l)},clone:function(){var t=r.clone.call(this);return t._data=this._data.clone(),t},_minBufferSize:0});a.Hasher=h.extend({cfg:r.extend(),init:function(t){this.cfg=this.cfg.extend(t),this.reset()},reset:function(){h.reset.call(this),this._doReset()},update:function(t){return this._append(t),this._process(),this},finalize:function(t){return t&&this._append(t),this._doFinalize()},blockSize:16,_createHelper:function(t){return function(e,i){return new t.init(i).finalize(e)}},_createHmacHelper:function(t){return function(e,i){return new d.HMAC.init(t,i).finalize(e)}}});var d=n.algo={};return n}(Math),i)})),T=C,P=(k((function(t,e){var i;t.exports=(i=T,function(t){var e=i,n=e.lib,a=n.WordArray,r=n.Hasher,o=e.algo,s=[];!function(){for(var e=0;e<64;e++)s[e]=4294967296*t.abs(t.sin(e+1))|0}();var c=o.MD5=r.extend({_doReset:function(){this._hash=new a.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(t,e){for(var i=0;i<16;i++){var n=e+i,a=t[n];t[n]=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8)}var r=this._hash.words,o=t[e+0],c=t[e+1],f=t[e+2],p=t[e+3],g=t[e+4],v=t[e+5],m=t[e+6],x=t[e+7],y=t[e+8],_=t[e+9],b=t[e+10],w=t[e+11],S=t[e+12],k=t[e+13],C=t[e+14],T=t[e+15],P=r[0],A=r[1],O=r[2],I=r[3];P=l(P,A,O,I,o,7,s[0]),I=l(I,P,A,O,c,12,s[1]),O=l(O,I,P,A,f,17,s[2]),A=l(A,O,I,P,p,22,s[3]),P=l(P,A,O,I,g,7,s[4]),I=l(I,P,A,O,v,12,s[5]),O=l(O,I,P,A,m,17,s[6]),A=l(A,O,I,P,x,22,s[7]),P=l(P,A,O,I,y,7,s[8]),I=l(I,P,A,O,_,12,s[9]),O=l(O,I,P,A,b,17,s[10]),A=l(A,O,I,P,w,22,s[11]),P=l(P,A,O,I,S,7,s[12]),I=l(I,P,A,O,k,12,s[13]),O=l(O,I,P,A,C,17,s[14]),P=u(P,A=l(A,O,I,P,T,22,s[15]),O,I,c,5,s[16]),I=u(I,P,A,O,m,9,s[17]),O=u(O,I,P,A,w,14,s[18]),A=u(A,O,I,P,o,20,s[19]),P=u(P,A,O,I,v,5,s[20]),I=u(I,P,A,O,b,9,s[21]),O=u(O,I,P,A,T,14,s[22]),A=u(A,O,I,P,g,20,s[23]),P=u(P,A,O,I,_,5,s[24]),I=u(I,P,A,O,C,9,s[25]),O=u(O,I,P,A,p,14,s[26]),A=u(A,O,I,P,y,20,s[27]),P=u(P,A,O,I,k,5,s[28]),I=u(I,P,A,O,f,9,s[29]),O=u(O,I,P,A,x,14,s[30]),P=h(P,A=u(A,O,I,P,S,20,s[31]),O,I,v,4,s[32]),I=h(I,P,A,O,y,11,s[33]),O=h(O,I,P,A,w,16,s[34]),A=h(A,O,I,P,C,23,s[35]),P=h(P,A,O,I,c,4,s[36]),I=h(I,P,A,O,g,11,s[37]),O=h(O,I,P,A,x,16,s[38]),A=h(A,O,I,P,b,23,s[39]),P=h(P,A,O,I,k,4,s[40]),I=h(I,P,A,O,o,11,s[41]),O=h(O,I,P,A,p,16,s[42]),A=h(A,O,I,P,m,23,s[43]),P=h(P,A,O,I,_,4,s[44]),I=h(I,P,A,O,S,11,s[45]),O=h(O,I,P,A,T,16,s[46]),P=d(P,A=h(A,O,I,P,f,23,s[47]),O,I,o,6,s[48]),I=d(I,P,A,O,x,10,s[49]),O=d(O,I,P,A,C,15,s[50]),A=d(A,O,I,P,v,21,s[51]),P=d(P,A,O,I,S,6,s[52]),I=d(I,P,A,O,p,10,s[53]),O=d(O,I,P,A,b,15,s[54]),A=d(A,O,I,P,c,21,s[55]),P=d(P,A,O,I,y,6,s[56]),I=d(I,P,A,O,T,10,s[57]),O=d(O,I,P,A,m,15,s[58]),A=d(A,O,I,P,k,21,s[59]),P=d(P,A,O,I,g,6,s[60]),I=d(I,P,A,O,w,10,s[61]),O=d(O,I,P,A,f,15,s[62]),A=d(A,O,I,P,_,21,s[63]),r[0]=r[0]+P|0,r[1]=r[1]+A|0,r[2]=r[2]+O|0,r[3]=r[3]+I|0},_doFinalize:function(){var e=this._data,i=e.words,n=8*this._nDataBytes,a=8*e.sigBytes;i[a>>>5]|=128<<24-a%32;var r=t.floor(n/4294967296),o=n;i[15+(a+64>>>9<<4)]=16711935&(r<<8|r>>>24)|4278255360&(r<<24|r>>>8),i[14+(a+64>>>9<<4)]=16711935&(o<<8|o>>>24)|4278255360&(o<<24|o>>>8),e.sigBytes=4*(i.length+1),this._process();for(var s=this._hash,c=s.words,l=0;l<4;l++){var u=c[l];c[l]=16711935&(u<<8|u>>>24)|4278255360&(u<<24|u>>>8)}return s},clone:function(){var t=r.clone.call(this);return t._hash=this._hash.clone(),t}});function l(t,e,i,n,a,r,o){var s=t+(e&i|~e&n)+a+o;return(s<<r|s>>>32-r)+e}function u(t,e,i,n,a,r,o){var s=t+(e&n|i&~n)+a+o;return(s<<r|s>>>32-r)+e}function h(t,e,i,n,a,r,o){var s=t+(e^i^n)+a+o;return(s<<r|s>>>32-r)+e}function d(t,e,i,n,a,r,o){var s=t+(i^(e|~n))+a+o;return(s<<r|s>>>32-r)+e}e.MD5=r._createHelper(c),e.HmacMD5=r._createHmacHelper(c)}(Math),i.MD5)})),k((function(t,e){var i;t.exports=(i=T,void function(){var t=i,e=t.lib.Base,n=t.enc.Utf8;t.algo.HMAC=e.extend({init:function(t,e){t=this._hasher=new t.init,"string"==typeof e&&(e=n.parse(e));var i=t.blockSize,a=4*i;e.sigBytes>a&&(e=t.finalize(e)),e.clamp();for(var r=this._oKey=e.clone(),o=this._iKey=e.clone(),s=r.words,c=o.words,l=0;l<i;l++)s[l]^=1549556828,c[l]^=909522486;r.sigBytes=o.sigBytes=a,this.reset()},reset:function(){var t=this._hasher;t.reset(),t.update(this._iKey)},update:function(t){return this._hasher.update(t),this},finalize:function(t){var e=this._hasher,i=e.finalize(t);return e.reset(),e.finalize(this._oKey.clone().concat(i))}})}())})),k((function(t,e){t.exports=T.HmacMD5}))),A=k((function(t,e){t.exports=T.enc.Utf8})),O=k((function(t,e){var i;t.exports=(i=T,function(){var t=i,e=t.lib.WordArray;function n(t,i,n){for(var a=[],r=0,o=0;o<i;o++)if(o%4){var s=n[t.charCodeAt(o-1)]<<o%4*2,c=n[t.charCodeAt(o)]>>>6-o%4*2;a[r>>>2]|=(s|c)<<24-r%4*8,r++}return e.create(a,r)}t.enc.Base64={stringify:function(t){var e=t.words,i=t.sigBytes,n=this._map;t.clamp();for(var a=[],r=0;r<i;r+=3)for(var o=(e[r>>>2]>>>24-r%4*8&255)<<16|(e[r+1>>>2]>>>24-(r+1)%4*8&255)<<8|e[r+2>>>2]>>>24-(r+2)%4*8&255,s=0;s<4&&r+.75*s<i;s++)a.push(n.charAt(o>>>6*(3-s)&63));var c=n.charAt(64);if(c)for(;a.length%4;)a.push(c);return a.join("")},parse:function(t){var e=t.length,i=this._map,a=this._reverseMap;if(!a){a=this._reverseMap=[];for(var r=0;r<i.length;r++)a[i.charCodeAt(r)]=r}var o=i.charAt(64);if(o){var s=t.indexOf(o);-1!==s&&(e=s)}return n(t,e,a)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="}}(),i.enc.Base64)})),I="uni_id_token",L="uni_id_token_expired",D={DEFAULT:"FUNCTION",FUNCTION:"FUNCTION",OBJECT:"OBJECT",CLIENT_DB:"CLIENT_DB"},M="pending",E="fulfilled",F="rejected";function $(t){return Object.prototype.toString.call(t).slice(8,-1).toLowerCase()}function N(t){return"object"===$(t)}function R(t){return"function"==typeof t}function j(t){return function(){try{return t.apply(t,arguments)}catch(t){console.error(t)}}}var U="REJECTED",B="NOT_PENDING",z=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=e.createPromise,n=e.retryRule,a=void 0===n?U:n;(0,v.default)(this,t),this.createPromise=i,this.status=null,this.promise=null,this.retryRule=a}return(0,m.default)(t,[{key:"needRetry",get:function(){if(!this.status)return!0;switch(this.retryRule){case U:return this.status===F;case B:return this.status!==M}}},{key:"exec",value:function(){var t=this;return this.needRetry?(this.status=M,this.promise=this.createPromise().then((function(e){return t.status=E,Promise.resolve(e)}),(function(e){return t.status=F,Promise.reject(e)})),this.promise):this.promise}}]),t}(),W=function(){function t(){(0,v.default)(this,t),this._callback={}}return(0,m.default)(t,[{key:"addListener",value:function(t,e){this._callback[t]||(this._callback[t]=[]),this._callback[t].push(e)}},{key:"on",value:function(t,e){return this.addListener(t,e)}},{key:"removeListener",value:function(t,e){if(!e)throw new Error('The "listener" argument must be of type function. Received undefined');var i=this._callback[t];if(i){var n=function(t,e){for(var i=t.length-1;i>=0;i--)if(t[i]===e)return i;return-1}(i,e);i.splice(n,1)}}},{key:"off",value:function(t,e){return this.removeListener(t,e)}},{key:"removeAllListener",value:function(t){delete this._callback[t]}},{key:"emit",value:function(t){for(var e=this._callback[t],i=arguments.length,n=new Array(i>1?i-1:0),a=1;a<i;a++)n[a-1]=arguments[a];if(e)for(var r=0;r<e.length;r++)e[r].apply(e,n)}}]),t}();function q(t){return t&&"string"==typeof t?JSON.parse(t):t}var H=q([]),G="app",J=(q(void 0),q([])||[]);try{(i("6620").default||i("6620")).appid}catch(kn){}var V,K={};function X(t){var e,i,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return e=K,i=t,Object.prototype.hasOwnProperty.call(e,i)||(K[t]=n),K[t]}"app"===G&&(K=uni._globalUniCloudObj?uni._globalUniCloudObj:uni._globalUniCloudObj={});var Y=["invoke","success","fail","complete"],Q=X("_globalUniCloudInterceptor");function Z(t,e){Q[t]||(Q[t]={}),N(e)&&Object.keys(e).forEach((function(i){Y.indexOf(i)>-1&&function(t,e,i){var n=Q[t][e];n||(n=Q[t][e]=[]),-1===n.indexOf(i)&&R(i)&&n.push(i)}(t,i,e[i])}))}function tt(t,e){Q[t]||(Q[t]={}),N(e)?Object.keys(e).forEach((function(i){Y.indexOf(i)>-1&&function(t,e,i){var n=Q[t][e];if(n){var a=n.indexOf(i);a>-1&&n.splice(a,1)}}(t,i,e[i])})):delete Q[t]}function et(t,e){return t&&0!==t.length?t.reduce((function(t,i){return t.then((function(){return i(e)}))}),Promise.resolve()):Promise.resolve()}function it(t,e){return Q[t]&&Q[t][e]||[]}function nt(t){Z("callObject",t)}var at=X("_globalUniCloudListener"),rt={RESPONSE:"response",NEED_LOGIN:"needLogin",REFRESH_TOKEN:"refreshToken"},ot={CLIENT_DB:"clientdb",CLOUD_FUNCTION:"cloudfunction",CLOUD_OBJECT:"cloudobject"};function st(t){return at[t]||(at[t]=[]),at[t]}function ct(t,e){var i=st(t);i.includes(e)||i.push(e)}function lt(t,e){var i=st(t),n=i.indexOf(e);-1!==n&&i.splice(n,1)}function ut(t,e){for(var i=st(t),n=0;n<i.length;n++)(0,i[n])(e)}var ht,dt=!1;function ft(){return ht||(ht=new Promise((function(t){dt&&t(),function e(){if("function"==typeof getCurrentPages){var i=getCurrentPages();i&&i[0]&&(dt=!0,t())}dt||setTimeout((function(){e()}),30)}()})),ht)}function pt(t){var e={};for(var i in t){var n=t[i];R(n)&&(e[i]=j(n))}return e}var gt=function(t){(0,d.default)(i,t);var e=S(i);function i(t){var n;return(0,v.default)(this,i),n=e.call(this,t.message),n.errMsg=t.message||t.errMsg||"unknown system error",n.code=n.errCode=t.code||t.errCode||"SYSTEM_ERROR",n.errSubject=n.subject=t.subject||t.errSubject,n.cause=t.cause,n.requestId=t.requestId,n}return(0,m.default)(i,[{key:"toJson",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;if(!(t>=10))return t++,{errCode:this.errCode,errMsg:this.errMsg,errSubject:this.errSubject,cause:this.cause&&this.cause.toJson?this.cause.toJson(t):this.cause}}}]),i}((0,g.default)(Error));e.UniCloudError=gt;var vt,mt,xt={request:function(t){return uni.request(t)},uploadFile:function(t){return uni.uploadFile(t)},setStorageSync:function(t,e){return uni.setStorageSync(t,e)},getStorageSync:function(t){return uni.getStorageSync(t)},removeStorageSync:function(t){return uni.removeStorageSync(t)},clearStorageSync:function(){return uni.clearStorageSync()},connectSocket:function(t){return uni.connectSocket(t)}};function yt(){return{token:xt.getStorageSync(I)||xt.getStorageSync("uniIdToken"),tokenExpired:xt.getStorageSync(L)}}function _t(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.token,i=t.tokenExpired;e&&xt.setStorageSync(I,e),i&&xt.setStorageSync(L,i)}function bt(){return vt||(vt=uni.getSystemInfoSync()),vt}var wt={};function St(){var t=uni.getLocale&&uni.getLocale()||"en";if(mt)return w(w(w({},wt),mt),{},{locale:t,LOCALE:t});var e=bt(),i=e.deviceId,n=e.osName,a=e.uniPlatform,r=e.appId,o=["appId","appLanguage","appName","appVersion","appVersionCode","appWgtVersion","browserName","browserVersion","deviceBrand","deviceId","deviceModel","deviceType","osName","osVersion","romName","romVersion","ua","hostName","hostVersion","uniPlatform","uniRuntimeVersion","uniRuntimeVersionCode","uniCompilerVersion","uniCompilerVersionCode"];for(var s in e)Object.hasOwnProperty.call(e,s)&&-1===o.indexOf(s)&&delete e[s];return mt=w(w({PLATFORM:a,OS:n,APPID:r,DEVICEID:i},function(){var t,e;try{if(uni.getLaunchOptionsSync){if(uni.getLaunchOptionsSync.toString().indexOf("not yet implemented")>-1)return;var i=uni.getLaunchOptionsSync(),n=i.scene,a=i.channel;t=a,e=n}}catch(t){}return{channel:t,scene:e}}()),e),w(w(w({},wt),mt),{},{locale:t,LOCALE:t})}var kt,Ct={sign:function(t,e){var i="";return Object.keys(t).sort().forEach((function(e){t[e]&&(i=i+"&"+e+"="+t[e])})),i=i.slice(1),P(i,e).toString()},wrappedRequest:function(t,e){return new Promise((function(i,n){e(Object.assign(t,{complete:function(t){t||(t={});var e=t.data&&t.data.header&&t.data.header["x-serverless-request-id"]||t.header&&t.header["request-id"];if(!t.statusCode||t.statusCode>=400){var a=t.data&&t.data.error&&t.data.error.code||"SYS_ERR",r=t.data&&t.data.error&&t.data.error.message||t.errMsg||"request:fail";return n(new gt({code:a,message:r,requestId:e}))}var o=t.data;if(o.error)return n(new gt({code:o.error.code,message:o.error.message,requestId:e}));o.result=o.data,o.requestId=e,delete o.data,i(o)}}))}))},toBase64:function(t){return O.stringify(A.parse(t))}},Tt=function(){function t(e){var i=this;(0,v.default)(this,t),["spaceId","clientSecret"].forEach((function(t){if(!Object.prototype.hasOwnProperty.call(e,t))throw new Error("".concat(t," required"))})),this.config=Object.assign({},{endpoint:0===e.spaceId.indexOf("mp-")?"https://api.next.bspapp.com":"https://api.bspapp.com"},e),this.config.provider="aliyun",this.config.requestUrl=this.config.endpoint+"/client",this.config.envType=this.config.envType||"public",this.config.accessTokenKey="access_token_"+this.config.spaceId,this.adapter=xt,this._getAccessTokenPromiseHub=new z({createPromise:function(){return i.requestAuth(i.setupRequest({method:"serverless.auth.user.anonymousAuthorize",params:"{}"},"auth")).then((function(t){if(!t.result||!t.result.accessToken)throw new gt({code:"AUTH_FAILED",message:"\u83b7\u53d6accessToken\u5931\u8d25"});i.setAccessToken(t.result.accessToken)}))},retryRule:B})}return(0,m.default)(t,[{key:"hasAccessToken",get:function(){return!!this.accessToken}},{key:"setAccessToken",value:function(t){this.accessToken=t}},{key:"requestWrapped",value:function(t){return Ct.wrappedRequest(t,this.adapter.request)}},{key:"requestAuth",value:function(t){return this.requestWrapped(t)}},{key:"request",value:function(t,e){var i=this;return Promise.resolve().then((function(){return i.hasAccessToken?e?i.requestWrapped(t):i.requestWrapped(t).catch((function(e){return new Promise((function(t,i){!e||"GATEWAY_INVALID_TOKEN"!==e.code&&"InvalidParameter.InvalidToken"!==e.code?i(e):t()})).then((function(){return i.getAccessToken()})).then((function(){var e=i.rebuildRequest(t);return i.request(e,!0)}))})):i.getAccessToken().then((function(){var e=i.rebuildRequest(t);return i.request(e,!0)}))}))}},{key:"rebuildRequest",value:function(t){var e=Object.assign({},t);return e.data.token=this.accessToken,e.header["x-basement-token"]=this.accessToken,e.header["x-serverless-sign"]=Ct.sign(e.data,this.config.clientSecret),e}},{key:"setupRequest",value:function(t,e){var i=Object.assign({},t,{spaceId:this.config.spaceId,timestamp:Date.now()}),n={"Content-Type":"application/json"};return"auth"!==e&&(i.token=this.accessToken,n["x-basement-token"]=this.accessToken),n["x-serverless-sign"]=Ct.sign(i,this.config.clientSecret),{url:this.config.requestUrl,method:"POST",data:i,dataType:"json",header:n}}},{key:"getAccessToken",value:function(){return this._getAccessTokenPromiseHub.exec()}},{key:"authorize",value:function(){var t=(0,u.default)(r.default.mark((function t(){return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,this.getAccessToken();case 2:case"end":return t.stop()}}),t,this)})));return function(){return t.apply(this,arguments)}}()},{key:"callFunction",value:function(t){var e={method:"serverless.function.runtime.invoke",params:JSON.stringify({functionTarget:t.name,functionArgs:t.data||{}})};return this.request(w(w({},this.setupRequest(e)),{},{timeout:t.timeout}))}},{key:"getOSSUploadOptionsFromPath",value:function(t){var e={method:"serverless.file.resource.generateProximalSign",params:JSON.stringify(t)};return this.request(this.setupRequest(e))}},{key:"uploadFileToOSS",value:function(t){var e=this,i=t.url,n=t.formData,a=t.name,r=t.filePath,o=t.fileType,s=t.onUploadProgress;return new Promise((function(t,c){var l=e.adapter.uploadFile({url:i,formData:n,name:a,filePath:r,fileType:o,header:{"X-OSS-server-side-encrpytion":"AES256"},success:function(e){e&&e.statusCode<400?t(e):c(new gt({code:"UPLOAD_FAILED",message:"\u6587\u4ef6\u4e0a\u4f20\u5931\u8d25"}))},fail:function(t){c(new gt({code:t.code||"UPLOAD_FAILED",message:t.message||t.errMsg||"\u6587\u4ef6\u4e0a\u4f20\u5931\u8d25"}))}});"function"==typeof s&&l&&"function"==typeof l.onProgressUpdate&&l.onProgressUpdate((function(t){s({loaded:t.totalBytesSent,total:t.totalBytesExpectedToSend})}))}))}},{key:"reportOSSUpload",value:function(t){var e={method:"serverless.file.resource.report",params:JSON.stringify(t)};return this.request(this.setupRequest(e))}},{key:"uploadFile",value:function(){var t=(0,u.default)(r.default.mark((function t(e){var i,n,a,o,s,c,l,u,h,d,f,p,g,v,m,x,y,_,b,w,S,k;return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(i=e.filePath,n=e.cloudPath,a=e.fileType,o=void 0===a?"image":a,s=e.cloudPathAsRealPath,c=void 0!==s&&s,l=e.onUploadProgress,u=e.config,"string"===$(n)){t.next=3;break}throw new gt({code:"INVALID_PARAM",message:"cloudPath\u5fc5\u987b\u4e3a\u5b57\u7b26\u4e32\u7c7b\u578b"});case 3:if(n=n.trim()){t.next=5;break}throw new gt({code:"INVALID_PARAM",message:"cloudPath\u4e0d\u53ef\u4e3a\u7a7a"});case 5:if(!/:\/\//.test(n)){t.next=7;break}throw new gt({code:"INVALID_PARAM",message:"cloudPath\u4e0d\u5408\u6cd5"});case 7:if(h=u&&u.envType||this.config.envType,!(c&&("/"!==n[0]&&(n="/"+n),n.indexOf("\\")>-1))){t.next=10;break}throw new gt({code:"INVALID_PARAM",message:"\u4f7f\u7528cloudPath\u4f5c\u4e3a\u8def\u5f84\u65f6\uff0ccloudPath\u4e0d\u53ef\u5305\u542b\u201c\\\u201d"});case 10:return t.next=12,this.getOSSUploadOptionsFromPath({env:h,filename:c?n.split("/").pop():n,fileId:c?n:void 0});case 12:return d=t.sent.result,f="https://"+d.cdnDomain+"/"+d.ossPath,p=d.securityToken,g=d.accessKeyId,v=d.signature,m=d.host,x=d.ossPath,y=d.id,_=d.policy,b=d.ossCallbackUrl,w={"Cache-Control":"max-age=2592000","Content-Disposition":"attachment",OSSAccessKeyId:g,Signature:v,host:m,id:y,key:x,policy:_,success_action_status:200},p&&(w["x-oss-security-token"]=p),b&&(S=JSON.stringify({callbackUrl:b,callbackBody:JSON.stringify({fileId:y,spaceId:this.config.spaceId}),callbackBodyType:"application/json"}),w.callback=Ct.toBase64(S)),k={url:"https://"+d.host,formData:w,fileName:"file",name:"file",filePath:i,fileType:o},t.next=27,this.uploadFileToOSS(Object.assign({},k,{onUploadProgress:l}));case 27:if(!b){t.next=29;break}return t.abrupt("return",{success:!0,filePath:i,fileID:f});case 29:return t.next=31,this.reportOSSUpload({id:y});case 31:if(!t.sent.success){t.next=33;break}return t.abrupt("return",{success:!0,filePath:i,fileID:f});case 33:throw new gt({code:"UPLOAD_FAILED",message:"\u6587\u4ef6\u4e0a\u4f20\u5931\u8d25"});case 34:case"end":return t.stop()}}),t,this)})));return function(e){return t.apply(this,arguments)}}()},{key:"getTempFileURL",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.fileList;return new Promise((function(t,i){Array.isArray(e)&&0!==e.length||i(new gt({code:"INVALID_PARAM",message:"fileList\u7684\u5143\u7d20\u5fc5\u987b\u662f\u975e\u7a7a\u7684\u5b57\u7b26\u4e32"})),t({fileList:e.map((function(t){return{fileID:t,tempFileURL:t}}))})}))}},{key:"getFileInfo",value:function(){var t=(0,u.default)(r.default.mark((function t(){var e,i,n,a=arguments;return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(e=a.length>0&&void 0!==a[0]?a[0]:{},i=e.fileList,Array.isArray(i)&&0!==i.length){t.next=3;break}throw new gt({code:"INVALID_PARAM",message:"fileList\u7684\u5143\u7d20\u5fc5\u987b\u662f\u975e\u7a7a\u7684\u5b57\u7b26\u4e32"});case 3:return n={method:"serverless.file.resource.info",params:JSON.stringify({id:i.map((function(t){return t.split("?")[0]})).join(",")})},t.next=6,this.request(this.setupRequest(n));case 6:return t.t0=t.sent.result,t.abrupt("return",{fileList:t.t0});case 8:case"end":return t.stop()}}),t,this)})));return function(){return t.apply(this,arguments)}}()}]),t}(),Pt={init:function(t){var e=new Tt(t),i={signInAnonymously:function(){return e.authorize()},getLoginState:function(){return Promise.resolve(!1)}};return e.auth=function(){return i},e.customAuth=e.auth,e}},At="undefined"!=typeof location&&"http:"===location.protocol?"http:":"https:";!function(t){t.local="local",t.none="none",t.session="session"}(kt||(kt={}));var Ot,It=function(){},Lt=k((function(t,e){var i;t.exports=(i=T,function(t){var e=i,n=e.lib,a=n.WordArray,r=n.Hasher,o=e.algo,s=[],c=[];!function(){function e(e){for(var i=t.sqrt(e),n=2;n<=i;n++)if(!(e%n))return!1;return!0}function i(t){return 4294967296*(t-(0|t))|0}for(var n=2,a=0;a<64;)e(n)&&(a<8&&(s[a]=i(t.pow(n,.5))),c[a]=i(t.pow(n,1/3)),a++),n++}();var l=[],u=o.SHA256=r.extend({_doReset:function(){this._hash=new a.init(s.slice(0))},_doProcessBlock:function(t,e){for(var i=this._hash.words,n=i[0],a=i[1],r=i[2],o=i[3],s=i[4],u=i[5],h=i[6],d=i[7],f=0;f<64;f++){if(f<16)l[f]=0|t[e+f];else{var p=l[f-15],g=(p<<25|p>>>7)^(p<<14|p>>>18)^p>>>3,v=l[f-2],m=(v<<15|v>>>17)^(v<<13|v>>>19)^v>>>10;l[f]=g+l[f-7]+m+l[f-16]}var x=n&a^n&r^a&r,y=(n<<30|n>>>2)^(n<<19|n>>>13)^(n<<10|n>>>22),_=d+((s<<26|s>>>6)^(s<<21|s>>>11)^(s<<7|s>>>25))+(s&u^~s&h)+c[f]+l[f];d=h,h=u,u=s,s=o+_|0,o=r,r=a,a=n,n=_+(y+x)|0}i[0]=i[0]+n|0,i[1]=i[1]+a|0,i[2]=i[2]+r|0,i[3]=i[3]+o|0,i[4]=i[4]+s|0,i[5]=i[5]+u|0,i[6]=i[6]+h|0,i[7]=i[7]+d|0},_doFinalize:function(){var e=this._data,i=e.words,n=8*this._nDataBytes,a=8*e.sigBytes;return i[a>>>5]|=128<<24-a%32,i[14+(a+64>>>9<<4)]=t.floor(n/4294967296),i[15+(a+64>>>9<<4)]=n,e.sigBytes=4*i.length,this._process(),this._hash},clone:function(){var t=r.clone.call(this);return t._hash=this._hash.clone(),t}});e.SHA256=r._createHelper(u),e.HmacSHA256=r._createHmacHelper(u)}(Math),i.SHA256)})),Dt=Lt,Mt=k((function(t,e){t.exports=T.HmacSHA256})),Et=function(){var t;if(!Promise){t=function(){},t.promise={};var e=function(){throw new gt({message:'Your Node runtime does support ES6 Promises. Set "global.Promise" to your preferred implementation of promises.'})};return Object.defineProperty(t.promise,"then",{get:e}),Object.defineProperty(t.promise,"catch",{get:e}),t}var i=new Promise((function(e,i){t=function(t,n){return t?i(t):e(n)}}));return t.promise=i,t};function Ft(t){return void 0===t}function $t(t){return"[object Null]"===Object.prototype.toString.call(t)}function Nt(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return t.replace(/([\s\S]+)\s+(\u8bf7\u524d\u5f80\u4e91\u5f00\u53d1AI\u5c0f\u52a9\u624b\u67e5\u770b\u95ee\u9898\uff1a.*)/,"$1")}function Rt(){for(var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:32,e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",i="",n=0;n<t;n++)i+=e.charAt(Math.floor(62*Math.random()));return i}!function(t){t.WEB="web",t.WX_MP="wx_mp"}(Ot||(Ot={}));var jt={adapter:null,runtime:void 0},Ut=["anonymousUuidKey"],Bt=function(t){(0,d.default)(i,t);var e=S(i);function i(){var t;return(0,v.default)(this,i),t=e.call(this),jt.adapter.root.tcbObject||(jt.adapter.root.tcbObject={}),t}return(0,m.default)(i,[{key:"setItem",value:function(t,e){jt.adapter.root.tcbObject[t]=e}},{key:"getItem",value:function(t){return jt.adapter.root.tcbObject[t]}},{key:"removeItem",value:function(t){delete jt.adapter.root.tcbObject[t]}},{key:"clear",value:function(){delete jt.adapter.root.tcbObject}}]),i}(It);function zt(t,e){switch(t){case"local":return e.localStorage||new Bt;case"none":return new Bt;default:return e.sessionStorage||new Bt}}var Wt=function(){function t(e){if((0,v.default)(this,t),!this._storage){this._persistence=jt.adapter.primaryStorage||e.persistence,this._storage=zt(this._persistence,jt.adapter);var i="access_token_".concat(e.env),n="access_token_expire_".concat(e.env),a="refresh_token_".concat(e.env),r="anonymous_uuid_".concat(e.env),o="login_type_".concat(e.env),s="token_type_".concat(e.env),c="user_info_".concat(e.env);this.keys={accessTokenKey:i,accessTokenExpireKey:n,refreshTokenKey:a,anonymousUuidKey:r,loginTypeKey:o,userInfoKey:c,deviceIdKey:"device_id",tokenTypeKey:s}}}return(0,m.default)(t,[{key:"updatePersistence",value:function(t){if(t!==this._persistence){var e="local"===this._persistence;this._persistence=t;var i=zt(t,jt.adapter);for(var n in this.keys){var a=this.keys[n];if(!e||!Ut.includes(n)){var r=this._storage.getItem(a);Ft(r)||$t(r)||(i.setItem(a,r),this._storage.removeItem(a))}}this._storage=i}}},{key:"setStore",value:function(t,e,i){if(this._storage){var n={version:i||"localCachev1",content:e},a=JSON.stringify(n);try{this._storage.setItem(t,a)}catch(t){throw t}}}},{key:"getStore",value:function(t,e){try{if(!this._storage)return}catch(t){return""}e=e||"localCachev1";var i=this._storage.getItem(t);return i&&i.indexOf(e)>=0?JSON.parse(i).content:""}},{key:"removeStore",value:function(t){this._storage.removeItem(t)}}]),t}(),qt={},Ht={};function Gt(t){return qt[t]}var Jt=(0,m.default)((function t(e,i){(0,v.default)(this,t),this.data=i||null,this.name=e})),Vt=function(t){(0,d.default)(i,t);var e=S(i);function i(t,n){var a;return(0,v.default)(this,i),a=e.call(this,"error",{error:t,data:n}),a.error=t,a}return(0,m.default)(i)}(Jt),Kt=new(function(){function t(){(0,v.default)(this,t),this._listeners={}}return(0,m.default)(t,[{key:"on",value:function(t,e){return function(t,e,i){i[t]=i[t]||[],i[t].push(e)}(t,e,this._listeners),this}},{key:"off",value:function(t,e){return function(t,e,i){if(i&&i[t]){var n=i[t].indexOf(e);-1!==n&&i[t].splice(n,1)}}(t,e,this._listeners),this}},{key:"fire",value:function(t,e){if(t instanceof Vt)return console.error(t.error),this;var i="string"==typeof t?new Jt(t,e||{}):t,n=i.name;if(this._listens(n)){i.target=this;var a,r=this._listeners[n]?(0,l.default)(this._listeners[n]):[],o=y(r);try{for(o.s();!(a=o.n()).done;){var s=a.value;s.call(this,i)}}catch(c){o.e(c)}finally{o.f()}}return this}},{key:"_listens",value:function(t){return this._listeners[t]&&this._listeners[t].length>0}}]),t}());function Xt(t,e){Kt.on(t,e)}function Yt(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};Kt.fire(t,e)}function Qt(t,e){Kt.off(t,e)}var Zt,te="loginStateChanged",ee="loginStateExpire",ie="loginTypeChanged",ne="anonymousConverted",ae="refreshAccessToken";!function(t){t.ANONYMOUS="ANONYMOUS",t.WECHAT="WECHAT",t.WECHAT_PUBLIC="WECHAT-PUBLIC",t.WECHAT_OPEN="WECHAT-OPEN",t.CUSTOM="CUSTOM",t.EMAIL="EMAIL",t.USERNAME="USERNAME",t.NULL="NULL"}(Zt||(Zt={}));var re=function(){function t(){(0,v.default)(this,t),this._fnPromiseMap=new Map}return(0,m.default)(t,[{key:"run",value:function(){var t=(0,u.default)(r.default.mark((function t(e,i){var n,a=this;return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return n=this._fnPromiseMap.get(e),t.abrupt("return",(n||(n=new Promise(function(){var t=(0,u.default)(r.default.mark((function t(n,o){var s;return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,a._runIdlePromise();case 3:return s=i(),t.t0=n,t.next=7,s;case 7:t.t1=t.sent,(0,t.t0)(t.t1),t.next=14;break;case 11:t.prev=11,t.t2=t["catch"](0),o(t.t2);case 14:return t.prev=14,a._fnPromiseMap.delete(e),t.finish(14);case 17:case"end":return t.stop()}}),t,null,[[0,11,14,17]])})));return function(e,i){return t.apply(this,arguments)}}()),this._fnPromiseMap.set(e,n)),n));case 2:case"end":return t.stop()}}),t,this)})));return function(e,i){return t.apply(this,arguments)}}()},{key:"_runIdlePromise",value:function(){return Promise.resolve()}}]),t}(),oe=function(){function t(e){(0,v.default)(this,t),this._singlePromise=new re,this._cache=Gt(e.env),this._baseURL="https://".concat(e.env,".ap-shanghai.tcb-api.tencentcloudapi.com"),this._reqClass=new jt.adapter.reqClass({timeout:e.timeout,timeoutMsg:"\u8bf7\u6c42\u5728".concat(e.timeout/1e3,"s\u5185\u672a\u5b8c\u6210\uff0c\u5df2\u4e2d\u65ad"),restrictedMethods:["post"]})}return(0,m.default)(t,[{key:"_getDeviceId",value:function(){if(this._deviceID)return this._deviceID;var t=this._cache.keys.deviceIdKey,e=this._cache.getStore(t);return"string"==typeof e&&e.length>=16&&e.length<=48||(e=Rt(),this._cache.setStore(t,e)),this._deviceID=e,e}},{key:"_request",value:function(){var t=(0,u.default)(r.default.mark((function t(e,i){var n,a,o,s,c,l=arguments;return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(n=l.length>2&&void 0!==l[2]?l[2]:{},a={"x-request-id":Rt(),"x-device-id":this._getDeviceId()},!n.withAccessToken){t.next=9;break}return o=this._cache.keys.tokenTypeKey,t.next=6,this.getAccessToken();case 6:s=t.sent,c=this._cache.getStore(o),a.authorization="".concat(c," ").concat(s);case 9:return t.abrupt("return",this._reqClass["get"===n.method?"get":"post"]({url:"".concat(this._baseURL).concat(e),data:i,headers:a}));case 10:case"end":return t.stop()}}),t,this)})));return function(e,i){return t.apply(this,arguments)}}()},{key:"_fetchAccessToken",value:function(){var t=(0,u.default)(r.default.mark((function t(){var e,i,n,a,o,s,c,l,h,d,f=this;return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(e=this._cache.keys,i=e.loginTypeKey,n=e.accessTokenKey,a=e.accessTokenExpireKey,o=e.tokenTypeKey,s=this._cache.getStore(i),!s||s===Zt.ANONYMOUS){t.next=3;break}throw new gt({code:"INVALID_OPERATION",message:"\u975e\u533f\u540d\u767b\u5f55\u4e0d\u652f\u6301\u5237\u65b0 access token"});case 3:return t.next=5,this._singlePromise.run("fetchAccessToken",(0,u.default)(r.default.mark((function t(){return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,f._request("/auth/v1/signin/anonymously",{},{method:"post"});case 2:return t.abrupt("return",t.sent.data);case 3:case"end":return t.stop()}}),t)}))));case 5:return c=t.sent,l=c.access_token,h=c.expires_in,d=c.token_type,t.abrupt("return",(this._cache.setStore(o,d),this._cache.setStore(n,l),this._cache.setStore(a,Date.now()+1e3*h),l));case 10:case"end":return t.stop()}}),t,this)})));return function(){return t.apply(this,arguments)}}()},{key:"isAccessTokenExpired",value:function(t,e){var i=!0;return t&&e&&(i=e<Date.now()),i}},{key:"getAccessToken",value:function(){var t=(0,u.default)(r.default.mark((function t(){var e,i,n,a,o;return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return e=this._cache.keys,i=e.accessTokenKey,n=e.accessTokenExpireKey,a=this._cache.getStore(i),o=this._cache.getStore(n),t.abrupt("return",this.isAccessTokenExpired(a,o)?this._fetchAccessToken():a);case 2:case"end":return t.stop()}}),t,this)})));return function(){return t.apply(this,arguments)}}()},{key:"refreshAccessToken",value:function(){var t=(0,u.default)(r.default.mark((function t(){var e,i,n,a;return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return e=this._cache.keys,i=e.accessTokenKey,n=e.accessTokenExpireKey,a=e.loginTypeKey,t.abrupt("return",(this._cache.removeStore(i),this._cache.removeStore(n),this._cache.setStore(a,Zt.ANONYMOUS),this.getAccessToken()));case 2:case"end":return t.stop()}}),t,this)})));return function(){return t.apply(this,arguments)}}()},{key:"getUserInfo",value:function(){var t=(0,u.default)(r.default.mark((function t(){var e=this;return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.abrupt("return",this._singlePromise.run("getUserInfo",(0,u.default)(r.default.mark((function t(){return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,e._request("/auth/v1/user/me",{},{withAccessToken:!0,method:"get"});case 2:return t.abrupt("return",t.sent.data);case 3:case"end":return t.stop()}}),t)})))));case 1:case"end":return t.stop()}}),t,this)})));return function(){return t.apply(this,arguments)}}()}]),t}(),se=["auth.getJwt","auth.logout","auth.signInWithTicket","auth.signInAnonymously","auth.signIn","auth.fetchAccessTokenWithRefreshToken","auth.signUpWithEmailAndPassword","auth.activateEndUserMail","auth.sendPasswordResetEmail","auth.resetPasswordWithToken","auth.isUsernameRegistered"],ce={"X-SDK-Version":"1.3.5"};function le(t,e,i){var n=t[e];t[e]=function(e){var a={},r={};i.forEach((function(i){var n=i.call(t,e),o=n.data,s=n.headers;Object.assign(a,o),Object.assign(r,s)}));var o=e.data;return o&&function(){var t;if(t=o,"[object FormData]"!==Object.prototype.toString.call(t))e.data=w(w({},o),a);else for(var i in a)o.append(i,a[i])}(),e.headers=w(w({},e.headers||{}),r),n.call(t,e)}}function ue(){var t=Math.random().toString(16).slice(2);return{data:{seqId:t},headers:w(w({},ce),{},{"x-seqid":t})}}var he=function(){function t(){var e,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(0,v.default)(this,t),this.config=i,this._reqClass=new jt.adapter.reqClass({timeout:this.config.timeout,timeoutMsg:"\u8bf7\u6c42\u5728".concat(this.config.timeout/1e3,"s\u5185\u672a\u5b8c\u6210\uff0c\u5df2\u4e2d\u65ad"),restrictedMethods:["post"]}),this._cache=Gt(this.config.env),this._localCache=(e=this.config.env,Ht[e]),this.oauth=new oe(this.config),le(this._reqClass,"post",[ue]),le(this._reqClass,"upload",[ue]),le(this._reqClass,"download",[ue])}return(0,m.default)(t,[{key:"post",value:function(){var t=(0,u.default)(r.default.mark((function t(e){return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,this._reqClass.post(e);case 2:return t.abrupt("return",t.sent);case 3:case"end":return t.stop()}}),t,this)})));return function(e){return t.apply(this,arguments)}}()},{key:"upload",value:function(){var t=(0,u.default)(r.default.mark((function t(e){return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,this._reqClass.upload(e);case 2:return t.abrupt("return",t.sent);case 3:case"end":return t.stop()}}),t,this)})));return function(e){return t.apply(this,arguments)}}()},{key:"download",value:function(){var t=(0,u.default)(r.default.mark((function t(e){return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,this._reqClass.download(e);case 2:return t.abrupt("return",t.sent);case 3:case"end":return t.stop()}}),t,this)})));return function(e){return t.apply(this,arguments)}}()},{key:"refreshAccessToken",value:function(){var t=(0,u.default)(r.default.mark((function t(){var e,i;return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return this._refreshAccessTokenPromise||(this._refreshAccessTokenPromise=this._refreshAccessToken()),t.prev=1,t.next=4,this._refreshAccessTokenPromise;case 4:e=t.sent,t.next=10;break;case 7:t.prev=7,t.t0=t["catch"](1),i=t.t0;case 10:if(this._refreshAccessTokenPromise=null,this._shouldRefreshAccessTokenHook=null,!i){t.next=12;break}throw i;case 12:return t.abrupt("return",e);case 13:case"end":return t.stop()}}),t,this,[[1,7]])})));return function(){return t.apply(this,arguments)}}()},{key:"_refreshAccessToken",value:function(){var t=(0,u.default)(r.default.mark((function t(){var e,i,n,a,o,s,c,l,u,h,d,f,p;return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(e=this._cache.keys,i=e.accessTokenKey,n=e.accessTokenExpireKey,a=e.refreshTokenKey,o=e.loginTypeKey,s=e.anonymousUuidKey,this._cache.removeStore(i),this._cache.removeStore(n),c=this._cache.getStore(a),c){t.next=5;break}throw new gt({message:"\u672a\u767b\u5f55CloudBase"});case 5:return l={refresh_token:c},t.next=8,this.request("auth.fetchAccessTokenWithRefreshToken",l);case 8:if(u=t.sent,!u.data.code){t.next=21;break}if(h=u.data.code,"SIGN_PARAM_INVALID"!==h&&"REFRESH_TOKEN_EXPIRED"!==h&&"INVALID_REFRESH_TOKEN"!==h){t.next=20;break}if(this._cache.getStore(o)!==Zt.ANONYMOUS||"INVALID_REFRESH_TOKEN"!==h){t.next=19;break}return d=this._cache.getStore(s),f=this._cache.getStore(a),t.next=17,this.send("auth.signInAnonymously",{anonymous_uuid:d,refresh_token:f});case 17:return p=t.sent,t.abrupt("return",(this.setRefreshToken(p.refresh_token),this._refreshAccessToken()));case 19:Yt(ee),this._cache.removeStore(a);case 20:throw new gt({code:u.data.code,message:"\u5237\u65b0access token\u5931\u8d25\uff1a".concat(u.data.code)});case 21:if(!u.data.access_token){t.next=23;break}return t.abrupt("return",(Yt(ae),this._cache.setStore(i,u.data.access_token),this._cache.setStore(n,u.data.access_token_expire+Date.now()),{accessToken:u.data.access_token,accessTokenExpire:u.data.access_token_expire}));case 23:u.data.refresh_token&&(this._cache.removeStore(a),this._cache.setStore(a,u.data.refresh_token),this._refreshAccessToken());case 24:case"end":return t.stop()}}),t,this)})));return function(){return t.apply(this,arguments)}}()},{key:"getAccessToken",value:function(){var t=(0,u.default)(r.default.mark((function t(){var e,i,n,a,o,s,c;return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(e=this._cache.keys,i=e.accessTokenKey,n=e.accessTokenExpireKey,a=e.refreshTokenKey,this._cache.getStore(a)){t.next=3;break}throw new gt({message:"refresh token\u4e0d\u5b58\u5728\uff0c\u767b\u5f55\u72b6\u6001\u5f02\u5e38"});case 3:if(o=this._cache.getStore(i),s=this._cache.getStore(n),c=!0,t.t0=this._shouldRefreshAccessTokenHook,!t.t0){t.next=9;break}return t.next=8,this._shouldRefreshAccessTokenHook(o,s);case 8:t.t0=!t.sent;case 9:if(t.t1=t.t0,!t.t1){t.next=12;break}c=!1;case 12:return t.abrupt("return",(!o||!s||s<Date.now())&&c?this.refreshAccessToken():{accessToken:o,accessTokenExpire:s});case 13:case"end":return t.stop()}}),t,this)})));return function(){return t.apply(this,arguments)}}()},{key:"request",value:function(){var t=(0,u.default)(r.default.mark((function t(e,i,n){var a,o,s,c,l,u,h,d,f,p,g,v,m,x,y;return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(a="x-tcb-trace_".concat(this.config.env),o="application/x-www-form-urlencoded",s=w({action:e,env:this.config.env,dataVersion:"2019-08-16"},i),t.t0=-1===se.indexOf(e),!t.t0){t.next=9;break}return this._cache.keys,t.next=8,this.oauth.getAccessToken();case 8:s.access_token=t.sent;case 9:if("storage.uploadFile"!==e){t.next=15;break}for(l in c=new FormData,c)c.hasOwnProperty(l)&&void 0!==c[l]&&c.append(l,s[l]);o="multipart/form-data",t.next=17;break;case 15:for(u in o="application/json",c={},s)void 0!==s[u]&&(c[u]=s[u]);case 17:return h={headers:{"content-type":o}},n&&n.timeout&&(h.timeout=n.timeout),n&&n.onUploadProgress&&(h.onUploadProgress=n.onUploadProgress),d=this._localCache.getStore(a),d&&(h.headers["X-TCB-Trace"]=d),f=i.parse,p=i.inQuery,g=i.search,v={env:this.config.env},f&&(v.parse=!0),p&&(v=w(w({},p),v)),m=function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=/\?/.test(e),a="";for(var r in i)""===a?!n&&(e+="?"):a+="&",a+="".concat(r,"=").concat(encodeURIComponent(i[r]));return/^http(s)?\:\/\//.test(e+=a)?e:"".concat(t).concat(e)}(At,"//tcb-api.tencentcloudapi.com/web",v),g&&(m+=g),t.next=28,this.post(w({url:m,data:c},h));case 28:if(x=t.sent,y=x.header&&x.header["x-tcb-trace"],y&&this._localCache.setStore(a,y),(200===Number(x.status)||200===Number(x.statusCode))&&x.data){t.next=32;break}throw new gt({code:"NETWORK_ERROR",message:"network request error"});case 32:return t.abrupt("return",x);case 33:case"end":return t.stop()}}),t,this)})));return function(e,i,n){return t.apply(this,arguments)}}()},{key:"send",value:function(){var t=(0,u.default)(r.default.mark((function t(e){var i,n,a,o,s=arguments;return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return i=s.length>1&&void 0!==s[1]?s[1]:{},n=s.length>2&&void 0!==s[2]?s[2]:{},t.next=4,this.request(e,i,w(w({},n),{},{onUploadProgress:i.onUploadProgress}));case 4:if(a=t.sent,"ACCESS_TOKEN_DISABLED"!==a.data.code&&"ACCESS_TOKEN_EXPIRED"!==a.data.code||-1!==se.indexOf(e)){t.next=14;break}return t.next=8,this.oauth.refreshAccessToken();case 8:return t.next=10,this.request(e,i,w(w({},n),{},{onUploadProgress:i.onUploadProgress}));case 10:if(o=t.sent,!o.data.code){t.next=13;break}throw new gt({code:o.data.code,message:Nt(o.data.message)});case 13:return t.abrupt("return",o.data);case 14:if(!a.data.code){t.next=16;break}throw new gt({code:a.data.code,message:Nt(a.data.message)});case 16:return t.abrupt("return",a.data);case 17:case"end":return t.stop()}}),t,this)})));return function(e){return t.apply(this,arguments)}}()},{key:"setRefreshToken",value:function(t){var e=this._cache.keys,i=e.accessTokenKey,n=e.accessTokenExpireKey,a=e.refreshTokenKey;this._cache.removeStore(i),this._cache.removeStore(n),this._cache.setStore(a,t)}}]),t}(),de={};function fe(t){return de[t]}var pe=function(){function t(e){(0,v.default)(this,t),this.config=e,this._cache=Gt(e.env),this._request=fe(e.env)}return(0,m.default)(t,[{key:"setRefreshToken",value:function(t){var e=this._cache.keys,i=e.accessTokenKey,n=e.accessTokenExpireKey,a=e.refreshTokenKey;this._cache.removeStore(i),this._cache.removeStore(n),this._cache.setStore(a,t)}},{key:"setAccessToken",value:function(t,e){var i=this._cache.keys,n=i.accessTokenKey,a=i.accessTokenExpireKey;this._cache.setStore(n,t),this._cache.setStore(a,e)}},{key:"refreshUserInfo",value:function(){var t=(0,u.default)(r.default.mark((function t(){var e,i;return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,this._request.send("auth.getUserInfo",{});case 2:return e=t.sent,i=e.data,t.abrupt("return",(this.setLocalUserInfo(i),i));case 5:case"end":return t.stop()}}),t,this)})));return function(){return t.apply(this,arguments)}}()},{key:"setLocalUserInfo",value:function(t){var e=this._cache.keys.userInfoKey;this._cache.setStore(e,t)}}]),t}(),ge=function(){function t(e){if((0,v.default)(this,t),!e)throw new gt({code:"PARAM_ERROR",message:"envId is not defined"});this._envId=e,this._cache=Gt(this._envId),this._request=fe(this._envId),this.setUserInfo()}return(0,m.default)(t,[{key:"linkWithTicket",value:function(t){if("string"!=typeof t)throw new gt({code:"PARAM_ERROR",message:"ticket must be string"});return this._request.send("auth.linkWithTicket",{ticket:t})}},{key:"linkWithRedirect",value:function(t){t.signInWithRedirect()}},{key:"updatePassword",value:function(t,e){return this._request.send("auth.updatePassword",{oldPassword:e,newPassword:t})}},{key:"updateEmail",value:function(t){return this._request.send("auth.updateEmail",{newEmail:t})}},{key:"updateUsername",value:function(t){if("string"!=typeof t)throw new gt({code:"PARAM_ERROR",message:"username must be a string"});return this._request.send("auth.updateUsername",{username:t})}},{key:"getLinkedUidList",value:function(){var t=(0,u.default)(r.default.mark((function t(){var e,i,n,a;return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,this._request.send("auth.getLinkedUidList",{});case 2:return e=t.sent,i=e.data,n=!1,a=i.users,t.abrupt("return",(a.forEach((function(t){t.wxOpenId&&t.wxPublicId&&(n=!0)})),{users:a,hasPrimaryUid:n}));case 7:case"end":return t.stop()}}),t,this)})));return function(){return t.apply(this,arguments)}}()},{key:"setPrimaryUid",value:function(t){return this._request.send("auth.setPrimaryUid",{uid:t})}},{key:"unlink",value:function(t){return this._request.send("auth.unlink",{platform:t})}},{key:"update",value:function(){var t=(0,u.default)(r.default.mark((function t(e){var i,n,a,o,s,c,l,u;return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return i=e.nickName,n=e.gender,a=e.avatarUrl,o=e.province,s=e.country,c=e.city,t.next=8,this._request.send("auth.updateUserInfo",{nickName:i,gender:n,avatarUrl:a,province:o,country:s,city:c});case 8:l=t.sent,u=l.data,this.setLocalUserInfo(u);case 11:case"end":return t.stop()}}),t,this)})));return function(e){return t.apply(this,arguments)}}()},{key:"refresh",value:function(){var t=(0,u.default)(r.default.mark((function t(){var e;return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,this._request.oauth.getUserInfo();case 2:return e=t.sent,t.abrupt("return",(this.setLocalUserInfo(e),e));case 4:case"end":return t.stop()}}),t,this)})));return function(){return t.apply(this,arguments)}}()},{key:"setUserInfo",value:function(){var t=this,e=this._cache.keys.userInfoKey,i=this._cache.getStore(e);["uid","loginType","openid","wxOpenId","wxPublicId","unionId","qqMiniOpenId","email","hasPassword","customUserId","nickName","gender","avatarUrl"].forEach((function(e){t[e]=i[e]})),this.location={country:i.country,province:i.province,city:i.city}}},{key:"setLocalUserInfo",value:function(t){var e=this._cache.keys.userInfoKey;this._cache.setStore(e,t),this.setUserInfo()}}]),t}(),ve=function(){function t(e){if((0,v.default)(this,t),!e)throw new gt({code:"PARAM_ERROR",message:"envId is not defined"});this._cache=Gt(e);var i=this._cache.keys,n=i.refreshTokenKey,a=i.accessTokenKey,r=i.accessTokenExpireKey,o=this._cache.getStore(n),s=this._cache.getStore(a),c=this._cache.getStore(r);this.credential={refreshToken:o,accessToken:s,accessTokenExpire:c},this.user=new ge(e)}return(0,m.default)(t,[{key:"isAnonymousAuth",get:function(){return this.loginType===Zt.ANONYMOUS}},{key:"isCustomAuth",get:function(){return this.loginType===Zt.CUSTOM}},{key:"isWeixinAuth",get:function(){return this.loginType===Zt.WECHAT||this.loginType===Zt.WECHAT_OPEN||this.loginType===Zt.WECHAT_PUBLIC}},{key:"loginType",get:function(){return this._cache.getStore(this._cache.keys.loginTypeKey)}}]),t}(),me=function(t){(0,d.default)(i,t);var e=S(i);function i(){return(0,v.default)(this,i),e.apply(this,arguments)}return(0,m.default)(i,[{key:"signIn",value:function(){var t=(0,u.default)(r.default.mark((function t(){var e;return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return this._cache.updatePersistence("local"),t.next=3,this._request.oauth.getAccessToken();case 3:return Yt(te),Yt(ie,{env:this.config.env,loginType:Zt.ANONYMOUS,persistence:"local"}),e=new ve(this.config.env),t.next=8,e.user.refresh();case 8:return t.abrupt("return",e);case 9:case"end":return t.stop()}}),t,this)})));return function(){return t.apply(this,arguments)}}()},{key:"linkAndRetrieveDataWithTicket",value:function(){var t=(0,u.default)(r.default.mark((function t(e){var i,n,a,o,s,c;return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return i=this._cache.keys,n=i.anonymousUuidKey,a=i.refreshTokenKey,o=this._cache.getStore(n),s=this._cache.getStore(a),t.next=7,this._request.send("auth.linkAndRetrieveDataWithTicket",{anonymous_uuid:o,refresh_token:s,ticket:e});case 7:if(c=t.sent,!c.refresh_token){t.next=16;break}return this._clearAnonymousUUID(),this.setRefreshToken(c.refresh_token),t.next=13,this._request.refreshAccessToken();case 13:return Yt(ne,{env:this.config.env}),Yt(ie,{loginType:Zt.CUSTOM,persistence:"local"}),t.abrupt("return",{credential:{refreshToken:c.refresh_token}});case 16:throw new gt({message:"\u533f\u540d\u8f6c\u5316\u5931\u8d25"});case 17:case"end":return t.stop()}}),t,this)})));return function(e){return t.apply(this,arguments)}}()},{key:"_setAnonymousUUID",value:function(t){var e=this._cache.keys,i=e.anonymousUuidKey,n=e.loginTypeKey;this._cache.removeStore(i),this._cache.setStore(i,t),this._cache.setStore(n,Zt.ANONYMOUS)}},{key:"_clearAnonymousUUID",value:function(){this._cache.removeStore(this._cache.keys.anonymousUuidKey)}}]),i}(pe),xe=function(t){(0,d.default)(i,t);var e=S(i);function i(){return(0,v.default)(this,i),e.apply(this,arguments)}return(0,m.default)(i,[{key:"signIn",value:function(){var t=(0,u.default)(r.default.mark((function t(e){var i,n;return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if("string"==typeof e){t.next=2;break}throw new gt({code:"PARAM_ERROR",message:"ticket must be a string"});case 2:return i=this._cache.keys.refreshTokenKey,t.next=5,this._request.send("auth.signInWithTicket",{ticket:e,refresh_token:this._cache.getStore(i)||""});case 5:if(n=t.sent,!n.refresh_token){t.next=15;break}return this.setRefreshToken(n.refresh_token),t.next=10,this._request.refreshAccessToken();case 10:return Yt(te),Yt(ie,{env:this.config.env,loginType:Zt.CUSTOM,persistence:this.config.persistence}),t.next=14,this.refreshUserInfo();case 14:return t.abrupt("return",new ve(this.config.env));case 15:throw new gt({message:"\u81ea\u5b9a\u4e49\u767b\u5f55\u5931\u8d25"});case 16:case"end":return t.stop()}}),t,this)})));return function(e){return t.apply(this,arguments)}}()}]),i}(pe),ye=function(t){(0,d.default)(i,t);var e=S(i);function i(){return(0,v.default)(this,i),e.apply(this,arguments)}return(0,m.default)(i,[{key:"signIn",value:function(){var t=(0,u.default)(r.default.mark((function t(e,i){var n,a,o,s,c;return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if("string"==typeof e){t.next=2;break}throw new gt({code:"PARAM_ERROR",message:"email must be a string"});case 2:return n=this._cache.keys.refreshTokenKey,t.next=5,this._request.send("auth.signIn",{loginType:"EMAIL",email:e,password:i,refresh_token:this._cache.getStore(n)||""});case 5:if(a=t.sent,o=a.refresh_token,s=a.access_token,c=a.access_token_expire,!o){t.next=22;break}if(this.setRefreshToken(o),!s||!c){t.next=15;break}this.setAccessToken(s,c),t.next=17;break;case 15:return t.next=17,this._request.refreshAccessToken();case 17:return t.next=19,this.refreshUserInfo();case 19:return Yt(te),Yt(ie,{env:this.config.env,loginType:Zt.EMAIL,persistence:this.config.persistence}),t.abrupt("return",new ve(this.config.env));case 22:throw a.code?new gt({code:a.code,message:"\u90ae\u7bb1\u767b\u5f55\u5931\u8d25: ".concat(a.message)}):new gt({message:"\u90ae\u7bb1\u767b\u5f55\u5931\u8d25"});case 23:case"end":return t.stop()}}),t,this)})));return function(e,i){return t.apply(this,arguments)}}()},{key:"activate",value:function(){var t=(0,u.default)(r.default.mark((function t(e){return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.abrupt("return",this._request.send("auth.activateEndUserMail",{token:e}));case 1:case"end":return t.stop()}}),t,this)})));return function(e){return t.apply(this,arguments)}}()},{key:"resetPasswordWithToken",value:function(){var t=(0,u.default)(r.default.mark((function t(e,i){return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.abrupt("return",this._request.send("auth.resetPasswordWithToken",{token:e,newPassword:i}));case 1:case"end":return t.stop()}}),t,this)})));return function(e,i){return t.apply(this,arguments)}}()}]),i}(pe),_e=function(t){(0,d.default)(i,t);var e=S(i);function i(){return(0,v.default)(this,i),e.apply(this,arguments)}return(0,m.default)(i,[{key:"signIn",value:function(){var t=(0,u.default)(r.default.mark((function t(e,i){var n,a,o,s,c;return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if("string"==typeof e){t.next=2;break}throw new gt({code:"PARAM_ERROR",message:"username must be a string"});case 2:return"string"!=typeof i&&(i="",console.warn("password is empty")),n=this._cache.keys.refreshTokenKey,t.next=6,this._request.send("auth.signIn",{loginType:Zt.USERNAME,username:e,password:i,refresh_token:this._cache.getStore(n)||""});case 6:if(a=t.sent,o=a.refresh_token,s=a.access_token_expire,c=a.access_token,!o){t.next=23;break}if(this.setRefreshToken(o),!c||!s){t.next=16;break}this.setAccessToken(c,s),t.next=18;break;case 16:return t.next=18,this._request.refreshAccessToken();case 18:return t.next=20,this.refreshUserInfo();case 20:return Yt(te),Yt(ie,{env:this.config.env,loginType:Zt.USERNAME,persistence:this.config.persistence}),t.abrupt("return",new ve(this.config.env));case 23:throw a.code?new gt({code:a.code,message:"\u7528\u6237\u540d\u5bc6\u7801\u767b\u5f55\u5931\u8d25: ".concat(a.message)}):new gt({message:"\u7528\u6237\u540d\u5bc6\u7801\u767b\u5f55\u5931\u8d25"});case 24:case"end":return t.stop()}}),t,this)})));return function(e,i){return t.apply(this,arguments)}}()}]),i}(pe),be=function(){function t(e){(0,v.default)(this,t),this.config=e,this._cache=Gt(e.env),this._request=fe(e.env),this._onAnonymousConverted=this._onAnonymousConverted.bind(this),this._onLoginTypeChanged=this._onLoginTypeChanged.bind(this),Xt(ie,this._onLoginTypeChanged)}return(0,m.default)(t,[{key:"currentUser",get:function(){var t=this.hasLoginState();return t&&t.user||null}},{key:"loginType",get:function(){return this._cache.getStore(this._cache.keys.loginTypeKey)}},{key:"anonymousAuthProvider",value:function(){return new me(this.config)}},{key:"customAuthProvider",value:function(){return new xe(this.config)}},{key:"emailAuthProvider",value:function(){return new ye(this.config)}},{key:"usernameAuthProvider",value:function(){return new _e(this.config)}},{key:"signInAnonymously",value:function(){var t=(0,u.default)(r.default.mark((function t(){return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.abrupt("return",new me(this.config).signIn());case 1:case"end":return t.stop()}}),t,this)})));return function(){return t.apply(this,arguments)}}()},{key:"signInWithEmailAndPassword",value:function(){var t=(0,u.default)(r.default.mark((function t(e,i){return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.abrupt("return",new ye(this.config).signIn(e,i));case 1:case"end":return t.stop()}}),t,this)})));return function(e,i){return t.apply(this,arguments)}}()},{key:"signInWithUsernameAndPassword",value:function(t,e){return new _e(this.config).signIn(t,e)}},{key:"linkAndRetrieveDataWithTicket",value:function(){var t=(0,u.default)(r.default.mark((function t(e){return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return this._anonymousAuthProvider||(this._anonymousAuthProvider=new me(this.config)),Xt(ne,this._onAnonymousConverted),t.next=3,this._anonymousAuthProvider.linkAndRetrieveDataWithTicket(e);case 3:return t.abrupt("return",t.sent);case 4:case"end":return t.stop()}}),t,this)})));return function(e){return t.apply(this,arguments)}}()},{key:"signOut",value:function(){var t=(0,u.default)(r.default.mark((function t(){var e,i,n,a,o,s;return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(this.loginType!==Zt.ANONYMOUS){t.next=2;break}throw new gt({message:"\u533f\u540d\u7528\u6237\u4e0d\u652f\u6301\u767b\u51fa\u64cd\u4f5c"});case 2:if(e=this._cache.keys,i=e.refreshTokenKey,n=e.accessTokenKey,a=e.accessTokenExpireKey,o=this._cache.getStore(i),o){t.next=5;break}return t.abrupt("return");case 5:return t.next=7,this._request.send("auth.logout",{refresh_token:o});case 7:return s=t.sent,t.abrupt("return",(this._cache.removeStore(i),this._cache.removeStore(n),this._cache.removeStore(a),Yt(te),Yt(ie,{env:this.config.env,loginType:Zt.NULL,persistence:this.config.persistence}),s));case 9:case"end":return t.stop()}}),t,this)})));return function(){return t.apply(this,arguments)}}()},{key:"signUpWithEmailAndPassword",value:function(){var t=(0,u.default)(r.default.mark((function t(e,i){return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.abrupt("return",this._request.send("auth.signUpWithEmailAndPassword",{email:e,password:i}));case 1:case"end":return t.stop()}}),t,this)})));return function(e,i){return t.apply(this,arguments)}}()},{key:"sendPasswordResetEmail",value:function(){var t=(0,u.default)(r.default.mark((function t(e){return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.abrupt("return",this._request.send("auth.sendPasswordResetEmail",{email:e}));case 1:case"end":return t.stop()}}),t,this)})));return function(e){return t.apply(this,arguments)}}()},{key:"onLoginStateChanged",value:function(t){var e=this;Xt(te,(function(){var i=e.hasLoginState();t.call(e,i)}));var i=this.hasLoginState();t.call(this,i)}},{key:"onLoginStateExpired",value:function(t){Xt(ee,t.bind(this))}},{key:"onAccessTokenRefreshed",value:function(t){Xt(ae,t.bind(this))}},{key:"onAnonymousConverted",value:function(t){Xt(ne,t.bind(this))}},{key:"onLoginTypeChanged",value:function(t){var e=this;Xt(ie,(function(){var i=e.hasLoginState();t.call(e,i)}))}},{key:"getAccessToken",value:function(){var t=(0,u.default)(r.default.mark((function t(){return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,this._request.getAccessToken();case 2:return t.t0=t.sent.accessToken,t.t1=this.config.env,t.abrupt("return",{accessToken:t.t0,env:t.t1});case 5:case"end":return t.stop()}}),t,this)})));return function(){return t.apply(this,arguments)}}()},{key:"hasLoginState",value:function(){var t=this._cache.keys,e=t.accessTokenKey,i=t.accessTokenExpireKey,n=this._cache.getStore(e),a=this._cache.getStore(i);return this._request.oauth.isAccessTokenExpired(n,a)?null:new ve(this.config.env)}},{key:"isUsernameRegistered",value:function(){var t=(0,u.default)(r.default.mark((function t(e){var i,n;return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if("string"==typeof e){t.next=2;break}throw new gt({code:"PARAM_ERROR",message:"username must be a string"});case 2:return t.next=4,this._request.send("auth.isUsernameRegistered",{username:e});case 4:return i=t.sent,n=i.data,t.abrupt("return",n&&n.isRegistered);case 7:case"end":return t.stop()}}),t,this)})));return function(e){return t.apply(this,arguments)}}()},{key:"getLoginState",value:function(){return Promise.resolve(this.hasLoginState())}},{key:"signInWithTicket",value:function(){var t=(0,u.default)(r.default.mark((function t(e){return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.abrupt("return",new xe(this.config).signIn(e));case 1:case"end":return t.stop()}}),t,this)})));return function(e){return t.apply(this,arguments)}}()},{key:"shouldRefreshAccessToken",value:function(t){this._request._shouldRefreshAccessTokenHook=t.bind(this)}},{key:"getUserInfo",value:function(){return this._request.send("auth.getUserInfo",{}).then((function(t){return t.code?t:w(w({},t.data),{},{requestId:t.seqId})}))}},{key:"getAuthHeader",value:function(){var t=this._cache.keys,e=t.refreshTokenKey,i=t.accessTokenKey,n=this._cache.getStore(e);return{"x-cloudbase-credentials":this._cache.getStore(i)+"/@@/"+n}}},{key:"_onAnonymousConverted",value:function(t){var e=t.data.env;e===this.config.env&&this._cache.updatePersistence(this.config.persistence)}},{key:"_onLoginTypeChanged",value:function(t){var e=t.data,i=e.loginType,n=e.persistence,a=e.env;a===this.config.env&&(this._cache.updatePersistence(n),this._cache.setStore(this._cache.keys.loginTypeKey,i))}}]),t}(),we=function(t,e){e=e||Et();var i=fe(this.config.env),n=t.cloudPath,a=t.filePath,r=t.onUploadProgress,o=t.fileType,s=void 0===o?"image":o;return i.send("storage.getUploadMetadata",{path:n}).then((function(t){var o=t.data,c=o.url,l=o.authorization,u=o.token,h=o.fileId,d=o.cosFileId,f=t.requestId,p={key:n,signature:l,"x-cos-meta-fileid":d,success_action_status:"201","x-cos-security-token":u};i.upload({url:c,data:p,file:a,name:n,fileType:s,onUploadProgress:r}).then((function(t){201===t.statusCode?e(null,{fileID:h,requestId:f}):e(new gt({code:"STORAGE_REQUEST_FAIL",message:"STORAGE_REQUEST_FAIL: ".concat(t.data)}))})).catch((function(t){e(t)}))})).catch((function(t){e(t)})),e.promise},Se=function(t,e){e=e||Et();var i=fe(this.config.env),n=t.cloudPath;return i.send("storage.getUploadMetadata",{path:n}).then((function(t){e(null,t)})).catch((function(t){e(t)})),e.promise},ke=function(t,e){var i=t.fileList;if(e=e||Et(),!i||!Array.isArray(i))return{code:"INVALID_PARAM",message:"fileList\u5fc5\u987b\u662f\u975e\u7a7a\u7684\u6570\u7ec4"};var n,a=y(i);try{for(a.s();!(n=a.n()).done;){var r=n.value;if(!r||"string"!=typeof r)return{code:"INVALID_PARAM",message:"fileList\u7684\u5143\u7d20\u5fc5\u987b\u662f\u975e\u7a7a\u7684\u5b57\u7b26\u4e32"}}}catch(s){a.e(s)}finally{a.f()}var o={fileid_list:i};return fe(this.config.env).send("storage.batchDeleteFile",o).then((function(t){t.code?e(null,t):e(null,{fileList:t.data.delete_list,requestId:t.requestId})})).catch((function(t){e(t)})),e.promise},Ce=function(t,e){var i=t.fileList;e=e||Et(),i&&Array.isArray(i)||e(null,{code:"INVALID_PARAM",message:"fileList\u5fc5\u987b\u662f\u975e\u7a7a\u7684\u6570\u7ec4"});var n,a=[],r=y(i);try{for(r.s();!(n=r.n()).done;){var o=n.value;"object"==(0,c.default)(o)?(o.hasOwnProperty("fileID")&&o.hasOwnProperty("maxAge")||e(null,{code:"INVALID_PARAM",message:"fileList\u7684\u5143\u7d20\u5fc5\u987b\u662f\u5305\u542bfileID\u548cmaxAge\u7684\u5bf9\u8c61"}),a.push({fileid:o.fileID,max_age:o.maxAge})):"string"==typeof o?a.push({fileid:o}):e(null,{code:"INVALID_PARAM",message:"fileList\u7684\u5143\u7d20\u5fc5\u987b\u662f\u5b57\u7b26\u4e32"})}}catch(l){r.e(l)}finally{r.f()}var s={file_list:a};return fe(this.config.env).send("storage.batchGetDownloadUrl",s).then((function(t){t.code?e(null,t):e(null,{fileList:t.data.download_list,requestId:t.requestId})})).catch((function(t){e(t)})),e.promise},Te=function(){var t=(0,u.default)(r.default.mark((function t(e,i){var n,a,o,s;return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return n=e.fileID,t.next=3,Ce.call(this,{fileList:[{fileID:n,maxAge:600}]});case 3:if(a=t.sent.fileList[0],"SUCCESS"===a.code){t.next=6;break}return t.abrupt("return",i?i(a):new Promise((function(t){t(a)})));case 6:if(o=fe(this.config.env),s=a.download_url,s=encodeURI(s),i){t.next=10;break}return t.abrupt("return",o.download({url:s}));case 10:return t.t0=i,t.next=13,o.download({url:s});case 13:t.t1=t.sent,(0,t.t0)(t.t1);case 15:case"end":return t.stop()}}),t,this)})));return function(e,i){return t.apply(this,arguments)}}(),Pe=function(t,e){var i,n=t.name,a=t.data,r=t.query,o=t.parse,s=t.search,c=t.timeout,l=e||Et();try{i=a?JSON.stringify(a):""}catch(n){return Promise.reject(n)}if(!n)return Promise.reject(new gt({code:"PARAM_ERROR",message:"\u51fd\u6570\u540d\u4e0d\u80fd\u4e3a\u7a7a"}));var u={inQuery:r,parse:o,search:s,function_name:n,request_data:i};return fe(this.config.env).send("functions.invokeFunction",u,{timeout:c}).then((function(t){if(t.code)l(null,t);else{var e=t.data.response_data;if(o)l(null,{result:e,requestId:t.requestId});else try{e=JSON.parse(t.data.response_data),l(null,{result:e,requestId:t.requestId})}catch(t){l(new gt({message:"response data must be json"}))}}return l.promise})).catch((function(t){l(t)})),l.promise},Ae={timeout:15e3,persistence:"session"},Oe={},Ie=function(){function t(e){(0,v.default)(this,t),this.config=e||this.config,this.authObj=void 0}return(0,m.default)(t,[{key:"init",value:function(e){switch(jt.adapter||(this.requestClient=new jt.adapter.reqClass({timeout:e.timeout||5e3,timeoutMsg:"\u8bf7\u6c42\u5728".concat((e.timeout||5e3)/1e3,"s\u5185\u672a\u5b8c\u6210\uff0c\u5df2\u4e2d\u65ad")})),this.config=w(w({},Ae),e),!0){case this.config.timeout>6e5:console.warn("timeout\u5927\u4e8e\u53ef\u914d\u7f6e\u4e0a\u9650[10\u5206\u949f]\uff0c\u5df2\u91cd\u7f6e\u4e3a\u4e0a\u9650\u6570\u503c"),this.config.timeout=6e5;break;case this.config.timeout<100:console.warn("timeout\u5c0f\u4e8e\u53ef\u914d\u7f6e\u4e0b\u9650[100ms]\uff0c\u5df2\u91cd\u7f6e\u4e3a\u4e0b\u9650\u6570\u503c"),this.config.timeout=100}return new t(this.config)}},{key:"auth",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.persistence;if(this.authObj)return this.authObj;var i,n=e||jt.adapter.primaryStorage||Ae.persistence;return n!==this.config.persistence&&(this.config.persistence=n),function(t){var e=t.env;qt[e]=new Wt(t),Ht[e]=new Wt(w(w({},t),{},{persistence:"local"}))}(this.config),i=this.config,de[i.env]=new he(i),this.authObj=new be(this.config),this.authObj}},{key:"on",value:function(t,e){return Xt.apply(this,[t,e])}},{key:"off",value:function(t,e){return Qt.apply(this,[t,e])}},{key:"callFunction",value:function(t,e){return Pe.apply(this,[t,e])}},{key:"deleteFile",value:function(t,e){return ke.apply(this,[t,e])}},{key:"getTempFileURL",value:function(t,e){return Ce.apply(this,[t,e])}},{key:"downloadFile",value:function(t,e){return Te.apply(this,[t,e])}},{key:"uploadFile",value:function(t,e){return we.apply(this,[t,e])}},{key:"getUploadMetadata",value:function(t,e){return Se.apply(this,[t,e])}},{key:"registerExtension",value:function(t){Oe[t.name]=t}},{key:"invokeExtension",value:function(){var t=(0,u.default)(r.default.mark((function t(e,i){var n;return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(n=Oe[e],n){t.next=3;break}throw new gt({message:"\u6269\u5c55".concat(e," \u5fc5\u987b\u5148\u6ce8\u518c")});case 3:return t.next=5,n.invoke(i,this);case 5:return t.abrupt("return",t.sent);case 6:case"end":return t.stop()}}),t,this)})));return function(e,i){return t.apply(this,arguments)}}()},{key:"useAdapters",value:function(t){var e=function(t){var e,i,n=(e=t,"[object Array]"===Object.prototype.toString.call(e)?t:[t]),a=y(n);try{for(a.s();!(i=a.n()).done;){var r=i.value,o=r.isMatch,s=r.genAdapter,c=r.runtime;if(o())return{adapter:s(),runtime:c}}}catch(l){a.e(l)}finally{a.f()}}(t)||{},i=e.adapter,n=e.runtime;i&&(jt.adapter=i),n&&(jt.runtime=n)}}]),t}(),Le=new Ie;function De(t,e,i){void 0===i&&(i={});var n=/\?/.test(e),a="";for(var r in i)""===a?!n&&(e+="?"):a+="&",a+=r+"="+encodeURIComponent(i[r]);return/^http(s)?:\/\//.test(e+=a)?e:""+t+e}var Me=function(){function t(){(0,v.default)(this,t)}return(0,m.default)(t,[{key:"get",value:function(t){var e=t.url,i=t.data,n=t.headers,a=t.timeout;return new Promise((function(t,r){xt.request({url:De("https:",e),data:i,method:"GET",header:n,timeout:a,success:function(e){t(e)},fail:function(t){r(t)}})}))}},{key:"post",value:function(t){var e=t.url,i=t.data,n=t.headers,a=t.timeout;return new Promise((function(t,r){xt.request({url:De("https:",e),data:i,method:"POST",header:n,timeout:a,success:function(e){t(e)},fail:function(t){r(t)}})}))}},{key:"upload",value:function(t){return new Promise((function(e,i){var n=t.url,a=t.file,r=t.data,o=t.headers,s=t.fileType,c=xt.uploadFile({url:De("https:",n),name:"file",formData:Object.assign({},r),filePath:a,fileType:s,header:o,success:function(t){var i={statusCode:t.statusCode,data:t.data||{}};200===t.statusCode&&r.success_action_status&&(i.statusCode=parseInt(r.success_action_status,10)),e(i)},fail:function(t){i(new Error(t.errMsg||"uploadFile:fail"))}});"function"==typeof t.onUploadProgress&&c&&"function"==typeof c.onProgressUpdate&&c.onProgressUpdate((function(e){t.onUploadProgress({loaded:e.totalBytesSent,total:e.totalBytesExpectedToSend})}))}))}}]),t}(),Ee={setItem:function(t,e){xt.setStorageSync(t,e)},getItem:function(t){return xt.getStorageSync(t)},removeItem:function(t){xt.removeStorageSync(t)},clear:function(){xt.clearStorageSync()}},Fe={genAdapter:function(){return{root:{},reqClass:Me,localStorage:Ee,primaryStorage:"local"}},isMatch:function(){return!0},runtime:"uni_app"};Le.useAdapters(Fe);var $e=Le,Ne=$e.init;$e.init=function(t){t.env=t.spaceId;var e=Ne.call(this,t);e.config.provider="tencent",e.config.spaceId=t.spaceId;var i=e.auth;return e.auth=function(t){var e=i.call(this,t);return["linkAndRetrieveDataWithTicket","signInAnonymously","signOut","getAccessToken","getLoginState","signInWithTicket","getUserInfo"].forEach((function(t){var i;e[t]=(i=e[t],function(t){t=t||{};var e=pt(t),n=e.success,a=e.fail,r=e.complete;if(!(n||a||r))return i.call(this,t);i.call(this,t).then((function(t){n&&n(t),r&&r(t)}),(function(t){a&&a(t),r&&r(t)}))}).bind(e)})),e},e.customAuth=e.auth,e};var Re=$e;function je(t,e){return Ue.apply(this,arguments)}function Ue(){return Ue=(0,u.default)(r.default.mark((function t(e,i){var n,a,o;return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return n="http://".concat(e,":").concat(i,"/system/ping"),t.prev=1,t.next=4,o={url:n,timeout:500},new Promise((function(t,e){xt.request(w(w({},o),{},{success:function(e){t(e)},fail:function(t){e(t)}}))}));case 4:return a=t.sent,t.abrupt("return",!(!a.data||0!==a.data.code));case 8:return t.prev=8,t.t0=t["catch"](1),t.abrupt("return",!1);case 11:case"end":return t.stop()}}),t,null,[[1,8]])}))),Ue.apply(this,arguments)}function Be(t,e){return ze.apply(this,arguments)}function ze(){return ze=(0,u.default)(r.default.mark((function t(e,i){var n,a,o;return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:a=0;case 1:if(!(a<e.length)){t.next=11;break}return o=e[a],t.next=5,je(o,i);case 5:if(!t.sent){t.next=8;break}return n=o,t.abrupt("break",11);case 8:a++,t.next=1;break;case 11:return t.abrupt("return",{address:n,port:i});case 12:case"end":return t.stop()}}),t)}))),ze.apply(this,arguments)}var We={"serverless.file.resource.generateProximalSign":"storage/generate-proximal-sign","serverless.file.resource.report":"storage/report","serverless.file.resource.delete":"storage/delete","serverless.file.resource.getTempFileURL":"storage/get-temp-file-url"},qe=function(){function t(e){if((0,v.default)(this,t),["spaceId","clientSecret"].forEach((function(t){if(!Object.prototype.hasOwnProperty.call(e,t))throw new Error("".concat(t," required"))})),!e.endpoint)throw new Error("\u96c6\u7fa4\u7a7a\u95f4\u672a\u914d\u7f6eApiEndpoint\uff0c\u914d\u7f6e\u540e\u9700\u8981\u91cd\u65b0\u5173\u8054\u670d\u52a1\u7a7a\u95f4\u540e\u751f\u6548");this.config=Object.assign({},e),this.config.provider="dcloud",this.config.requestUrl=this.config.endpoint+"/client",this.config.envType=this.config.envType||"public",this.adapter=xt}return(0,m.default)(t,[{key:"request",value:function(){var t=(0,u.default)(r.default.mark((function t(e){var i,n=this,a=arguments;return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(!(a.length>1&&void 0!==a[1])||a[1],i=!1,!i){t.next=8;break}return t.next=5,this.setupLocalRequest(e);case 5:t.t0=t.sent,t.next=9;break;case 8:t.t0=this.setupRequest(e);case 9:return e=t.t0,t.abrupt("return",Promise.resolve().then((function(){return i?n.requestLocal(e):Ct.wrappedRequest(e,n.adapter.request)})));case 11:case"end":return t.stop()}}),t,this)})));return function(e){return t.apply(this,arguments)}}()},{key:"requestLocal",value:function(t){var e=this;return new Promise((function(i,n){e.adapter.request(Object.assign(t,{complete:function(t){if(t||(t={}),!t.statusCode||t.statusCode>=400){var e=t.data&&t.data.code||"SYS_ERR",a=t.data&&t.data.message||"request:fail";return n(new gt({code:e,message:a}))}i({success:!0,result:t.data})}}))}))}},{key:"setupRequest",value:function(t){var e=Object.assign({},t,{spaceId:this.config.spaceId,timestamp:Date.now()}),i={"Content-Type":"application/json"};i["x-serverless-sign"]=Ct.sign(e,this.config.clientSecret);var n=St();i["x-client-info"]=encodeURIComponent(JSON.stringify(n));var a=yt(),r=a.token;return i["x-client-token"]=r,{url:this.config.requestUrl,method:"POST",data:e,dataType:"json",header:JSON.parse(JSON.stringify(i))}}},{key:"setupLocalRequest",value:function(){var t=(0,u.default)(r.default.mark((function t(e){var i,n,a,o,s,c,l,u,h;return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return i=St(),n=yt(),a=n.token,o=Object.assign({},e,{spaceId:this.config.spaceId,timestamp:Date.now(),clientInfo:i,token:a}),s=this.__dev__&&this.__dev__.debugInfo||{},c=s.address,l=s.servePort,t.next=9,Be(c,l);case 9:return u=t.sent,h=u.address,t.abrupt("return",{url:"http://".concat(h,":").concat(l,"/").concat(We[e.method]),method:"POST",data:o,dataType:"json",header:JSON.parse(JSON.stringify({"Content-Type":"application/json"}))});case 12:case"end":return t.stop()}}),t,this)})));return function(e){return t.apply(this,arguments)}}()},{key:"callFunction",value:function(t){var e={method:"serverless.function.runtime.invoke",params:JSON.stringify({functionTarget:t.name,functionArgs:t.data||{}})};return this.request(e,!1)}},{key:"getUploadFileOptions",value:function(t){var e={method:"serverless.file.resource.generateProximalSign",params:JSON.stringify(t)};return this.request(e)}},{key:"reportUploadFile",value:function(t){var e={method:"serverless.file.resource.report",params:JSON.stringify(t)};return this.request(e)}},{key:"uploadFile",value:function(t){var e,i=this,n=t.filePath,a=t.cloudPath,r=t.fileType,o=void 0===r?"image":r,s=t.onUploadProgress;if(!a)throw new gt({code:"CLOUDPATH_REQUIRED",message:"cloudPath\u4e0d\u53ef\u4e3a\u7a7a"});return this.getUploadFileOptions({cloudPath:a}).then((function(t){var a=t.result,r=a.url,c=a.formData,l=a.name;return e=t.result.fileUrl,new Promise((function(t,e){var a=i.adapter.uploadFile({url:r,formData:c,name:l,filePath:n,fileType:o,success:function(i){i&&i.statusCode<400?t(i):e(new gt({code:"UPLOAD_FAILED",message:"\u6587\u4ef6\u4e0a\u4f20\u5931\u8d25"}))},fail:function(t){e(new gt({code:t.code||"UPLOAD_FAILED",message:t.message||t.errMsg||"\u6587\u4ef6\u4e0a\u4f20\u5931\u8d25"}))}});"function"==typeof s&&a&&"function"==typeof a.onProgressUpdate&&a.onProgressUpdate((function(t){s({loaded:t.totalBytesSent,total:t.totalBytesExpectedToSend})}))}))})).then((function(){return i.reportUploadFile({cloudPath:a})})).then((function(t){return new Promise((function(i,a){t.success?i({success:!0,filePath:n,fileID:e}):a(new gt({code:"UPLOAD_FAILED",message:"\u6587\u4ef6\u4e0a\u4f20\u5931\u8d25"}))}))}))}},{key:"deleteFile",value:function(t){var e=t.fileList,i={method:"serverless.file.resource.delete",params:JSON.stringify({fileList:e})};return this.request(i).then((function(t){if(t.success)return t.result;throw new gt({code:"DELETE_FILE_FAILED",message:"\u5220\u9664\u6587\u4ef6\u5931\u8d25"})}))}},{key:"getTempFileURL",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.fileList,i=t.maxAge;if(!Array.isArray(e)||0===e.length)throw new gt({code:"INVALID_PARAM",message:"fileList\u7684\u5143\u7d20\u5fc5\u987b\u662f\u975e\u7a7a\u7684\u5b57\u7b26\u4e32"});var n={method:"serverless.file.resource.getTempFileURL",params:JSON.stringify({fileList:e,maxAge:i})};return this.request(n).then((function(t){if(t.success)return{fileList:t.result.fileList.map((function(t){return{fileID:t.fileID,tempFileURL:t.tempFileURL}}))};throw new gt({code:"GET_TEMP_FILE_URL_FAILED",message:"\u83b7\u53d6\u4e34\u65f6\u6587\u4ef6\u94fe\u63a5\u5931\u8d25"})}))}}]),t}(),He={init:function(t){var e=new qe(t),i={signInAnonymously:function(){return Promise.resolve()},getLoginState:function(){return Promise.resolve(!1)}};return e.auth=function(){return i},e.customAuth=e.auth,e}},Ge=k((function(t,e){t.exports=T.enc.Hex}));function Je(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(t){var e=16*Math.random()|0;return("x"===t?e:3&e|8).toString(16)}))}function Ve(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=e.data,n=e.functionName,a=e.method,r=e.headers,o=e.signHeaderKeys,c=void 0===o?[]:o,l=e.config,u=String(Date.now()),h=Je(),d=Object.assign({},r,{"x-from-app-id":l.spaceAppId,"x-from-env-id":l.spaceId,"x-to-env-id":l.spaceId,"x-from-instance-id":u,"x-from-function-name":n,"x-client-timestamp":u,"x-alipay-source":"client","x-request-id":h,"x-alipay-callid":h,"x-trace-id":h}),f=["x-from-app-id","x-from-env-id","x-to-env-id","x-from-instance-id","x-from-function-name","x-client-timestamp"].concat(c),p=t.split("?")||[],g=(0,s.default)(p,2),v=g[0],m=void 0===v?"":v,x=g[1],y=void 0===x?"":x,_=function(t){var e="HMAC-SHA256",i=t.signedHeaders.join(";"),n=t.signedHeaders.map((function(e){return"".concat(e.toLowerCase(),":").concat(t.headers[e],"\n")})).join(""),a=Dt(t.body).toString(Ge),r="".concat(t.method.toUpperCase(),"\n").concat(t.path,"\n").concat(t.query,"\n").concat(n,"\n").concat(i,"\n").concat(a,"\n"),o=Dt(r).toString(Ge),s="".concat(e,"\n").concat(t.timestamp,"\n").concat(o,"\n"),c=Mt(s,t.secretKey).toString(Ge);return"".concat(e," Credential=").concat(t.secretId,", SignedHeaders=").concat(i,", Signature=").concat(c)}({path:m,query:y,method:a,headers:d,timestamp:u,body:JSON.stringify(i),secretId:l.accessKey,secretKey:l.secretKey,signedHeaders:f.sort()});return{url:"".concat(l.endpoint).concat(t),headers:Object.assign({},d,{Authorization:_})}}function Ke(t){var e=t.url,i=t.data,n=t.method,a=void 0===n?"POST":n,r=t.headers,o=void 0===r?{}:r,s=t.timeout;return new Promise((function(t,n){xt.request({url:e,method:a,data:"object"==(0,c.default)(i)?JSON.stringify(i):i,header:o,dataType:"json",timeout:s,complete:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=o["x-trace-id"]||"";if(!e.statusCode||e.statusCode>=400){var a=e.data||{},r=a.message,s=a.errMsg,c=a.trace_id;return n(new gt({code:"SYS_ERR",message:r||s||"request:fail",requestId:c||i}))}t({status:e.statusCode,data:e.data,headers:e.header,requestId:i})}})}))}function Xe(t,e){var i=t.path,n=t.data,a=t.method,r=void 0===a?"GET":a,o=Ve(i,{functionName:"",data:n,method:r,headers:{"x-alipay-cloud-mode":"oss","x-data-api-type":"oss","x-expire-timestamp":Date.now()+6e4},signHeaderKeys:["x-data-api-type","x-expire-timestamp"],config:e}),s=o.url,c=o.headers;return Ke({url:s,data:n,method:r,headers:c}).then((function(t){var e=t.data||{};if(!e.success)throw new gt({code:t.errCode,message:t.errMsg,requestId:t.requestId});return e.data||{}})).catch((function(t){throw new gt({code:t.errCode,message:t.errMsg,requestId:t.requestId})}))}function Ye(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=t.trim().replace(/^cloud:\/\//,""),i=e.indexOf("/");if(i<=0)throw new gt({code:"INVALID_PARAM",message:"fileID\u4e0d\u5408\u6cd5"});var n=e.substring(0,i),a=e.substring(i+1);return n!==this.config.spaceId&&console.warn("file ".concat(t," does not belong to env ").concat(this.config.spaceId)),a}function Qe(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return"cloud://".concat(this.config.spaceId,"/").concat(t.replace(/^\/+/,""))}var Ze=function(){function t(e){(0,v.default)(this,t),this.config=e}return(0,m.default)(t,[{key:"signedURL",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i="/ws/function/".concat(t),n=this.config.wsEndpoint.replace(/^ws(s)?:\/\//,""),a=Object.assign({},e,{accessKeyId:this.config.accessKey,signatureNonce:Je(),timestamp:""+Date.now()}),r=[i,["accessKeyId","authorization","signatureNonce","timestamp"].sort().map((function(t){return a[t]?"".concat(t,"=").concat(a[t]):null})).filter(Boolean).join("&"),"host:".concat(n)].join("\n"),o=["HMAC-SHA256",Dt(r).toString(Ge)].join("\n"),s=Mt(o,this.config.secretKey).toString(Ge),c=Object.keys(a).map((function(t){return"".concat(t,"=").concat(encodeURIComponent(a[t]))})).join("&");return"".concat(this.config.wsEndpoint).concat(i,"?").concat(c,"&signature=").concat(s)}}]),t}(),ti=function(){function t(e){if((0,v.default)(this,t),["spaceId","spaceAppId","accessKey","secretKey"].forEach((function(t){if(!Object.prototype.hasOwnProperty.call(e,t))throw new Error("".concat(t," required"))})),e.endpoint){if("string"!=typeof e.endpoint)throw new Error("endpoint must be string");if(!/^https:\/\//.test(e.endpoint))throw new Error("endpoint must start with https://");e.endpoint=e.endpoint.replace(/\/$/,"")}this.config=Object.assign({},e,{endpoint:e.endpoint||"https://".concat(e.spaceId,".api-hz.cloudbasefunction.cn"),wsEndpoint:e.wsEndpoint||"wss://".concat(e.spaceId,".api-hz.cloudbasefunction.cn")}),this._websocket=new Ze(this.config)}return(0,m.default)(t,[{key:"callFunction",value:function(t){return function(t,e){var i=t.name,n=t.data,a=t.async,r=void 0!==a&&a,o=t.timeout,s="POST",c={"x-to-function-name":i};r&&(c["x-function-invoke-type"]="async");var l=Ve("/functions/invokeFunction",{functionName:i,data:n,method:s,headers:c,signHeaderKeys:["x-to-function-name"],config:e}),u=l.url,h=l.headers;return Ke({url:u,data:n,method:s,headers:h,timeout:o}).then((function(t){var e=0;if(r){var i=t.data||{};e="200"===i.errCode?0:i.errCode,t.data=i.data||{},t.errMsg=i.errMsg}if(0!==e)throw new gt({code:e,message:t.errMsg,requestId:t.requestId});return{errCode:e,success:0===e,requestId:t.requestId,result:t.data}})).catch((function(t){throw new gt({code:t.errCode,message:t.errMsg,requestId:t.requestId})}))}(t,this.config)}},{key:"uploadFileToOSS",value:function(t){var e=t.url,i=t.filePath,n=t.fileType,a=t.formData,r=t.onUploadProgress;return new Promise((function(t,o){var s=xt.uploadFile({url:e,filePath:i,fileType:n,formData:a,name:"file",success:function(e){e&&e.statusCode<400?t(e):o(new gt({code:"UPLOAD_FAILED",message:"\u6587\u4ef6\u4e0a\u4f20\u5931\u8d25"}))},fail:function(t){o(new gt({code:t.code||"UPLOAD_FAILED",message:t.message||t.errMsg||"\u6587\u4ef6\u4e0a\u4f20\u5931\u8d25"}))}});"function"==typeof r&&s&&"function"==typeof s.onProgressUpdate&&s.onProgressUpdate((function(t){r({loaded:t.totalBytesSent,total:t.totalBytesExpectedToSend})}))}))}},{key:"uploadFile",value:function(){var t=(0,u.default)(r.default.mark((function t(e){var i,n,a,o,s,c,l,u,h,d,f;return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(i=e.filePath,n=e.cloudPath,a=void 0===n?"":n,o=e.fileType,s=void 0===o?"image":o,c=e.onUploadProgress,"string"===$(a)){t.next=3;break}throw new gt({code:"INVALID_PARAM",message:"cloudPath\u5fc5\u987b\u4e3a\u5b57\u7b26\u4e32\u7c7b\u578b"});case 3:if(a=a.trim()){t.next=5;break}throw new gt({code:"INVALID_PARAM",message:"cloudPath\u4e0d\u53ef\u4e3a\u7a7a"});case 5:if(!/:\/\//.test(a)){t.next=7;break}throw new gt({code:"INVALID_PARAM",message:"cloudPath\u4e0d\u5408\u6cd5"});case 7:return t.next=9,Xe({path:"/".concat(a.replace(/^\//,""),"?post_url")},this.config);case 9:return l=t.sent,u=l.file_id,h=l.upload_url,d=l.form_data,f=d&&d.reduce((function(t,e){return t[e.key]=e.value,t}),{}),t.abrupt("return",this.uploadFileToOSS({url:h,filePath:i,fileType:s,formData:f,onUploadProgress:c}).then((function(){return{fileID:u}})));case 15:case"end":return t.stop()}}),t,this)})));return function(e){return t.apply(this,arguments)}}()},{key:"getTempFileURL",value:function(){var t=(0,u.default)(r.default.mark((function t(e){var i,n=this;return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return i=e.fileList,t.abrupt("return",new Promise((function(t,e){(!i||i.length<0)&&t({code:"INVALID_PARAM",message:"fileList\u4e0d\u80fd\u4e3a\u7a7a\u6570\u7ec4"}),i.length>50&&t({code:"INVALID_PARAM",message:"fileList\u6570\u7ec4\u957f\u5ea6\u4e0d\u80fd\u8d85\u8fc750"});var a,r=[],o=y(i);try{for(o.s();!(a=o.n()).done;){var s=a.value,c=void 0;"string"!==$(s)&&t({code:"INVALID_PARAM",message:"fileList\u7684\u5143\u7d20\u5fc5\u987b\u662f\u975e\u7a7a\u7684\u5b57\u7b26\u4e32"});try{c=Ye.call(n,s)}catch(t){console.warn(t.errCode,t.errMsg),c=s}r.push({file_id:c,expire:600})}}catch(l){o.e(l)}finally{o.f()}Xe({path:"/?download_url",data:{file_list:r},method:"POST"},n.config).then((function(e){var i=e.file_list,a=void 0===i?[]:i;t({fileList:a.map((function(t){return{fileID:Qe.call(n,t.file_id),tempFileURL:t.download_url}}))})})).catch((function(t){return e(t)}))})));case 2:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()},{key:"connectWebSocket",value:function(){var t=(0,u.default)(r.default.mark((function t(e){var i,n;return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return i=e.name,n=e.query,t.abrupt("return",xt.connectSocket({url:this._websocket.signedURL(i,n),complete:function(){}}));case 2:case"end":return t.stop()}}),t,this)})));return function(e){return t.apply(this,arguments)}}()}]),t}(),ei={init:function(t){t.provider="alipay";var e=new ti(t);return e.auth=function(){return{signInAnonymously:function(){return Promise.resolve()},getLoginState:function(){return Promise.resolve(!0)}}},e}};function ii(t){var e,i=t.data;e=St();var n=JSON.parse(JSON.stringify(i||{}));if(Object.assign(n,{clientInfo:e}),!n.uniIdToken){var a=yt(),r=a.token;r&&(n.uniIdToken=r)}return n}var ni=[{rule:/fc_function_not_found|FUNCTION_NOT_FOUND/,content:"\uff0c\u4e91\u51fd\u6570[{functionName}]\u5728\u4e91\u7aef\u4e0d\u5b58\u5728\uff0c\u8bf7\u68c0\u67e5\u6b64\u4e91\u51fd\u6570\u540d\u79f0\u662f\u5426\u6b63\u786e\u4ee5\u53ca\u8be5\u4e91\u51fd\u6570\u662f\u5426\u5df2\u4e0a\u4f20\u5230\u670d\u52a1\u7a7a\u95f4",mode:"append"}],ai=/[\\^$.*+?()[\]{}|]/g,ri=RegExp(ai.source);function oi(t,e,i){return t.replace(new RegExp((n=e)&&ri.test(n)?n.replace(ai,"\\$&"):n,"g"),i);var n}var si={NONE:"none",REQUEST:"request",RESPONSE:"response",BOTH:"both"},ci="_globalUniCloudStatus",li="_globalUniCloudSecureNetworkCache__{spaceId}";var ui;ui="0123456789abcdef";var hi="uni-secure-network",di={SYSTEM_ERROR:{code:2e4,message:"System error"},APP_INFO_INVALID:{code:20101,message:"Invalid client"},GET_ENCRYPT_KEY_FAILED:{code:20102,message:"Get encrypt key failed"}};function fi(t){var e=t||{},i=e.errSubject,n=e.subject,a=e.errCode,r=e.errMsg,o=e.code,s=e.message,c=e.cause;return new gt({subject:i||n||hi,code:a||o||di.SYSTEM_ERROR.code,message:r||s,cause:c})}var pi;function gi(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.secretType;return e===si.REQUEST||e===si.RESPONSE||e===si.BOTH}function vi(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.name,i=t.data,n=void 0===i?{}:i;return"app"===G&&"DCloud-clientDB"===e&&"encryption"===n.redirectTo&&"getAppClientKey"===n.action}function mi(t){t.functionName,t.result,t.logPvd}function xi(t){var e=t.callFunction,i=function(i){var n=this,a=i.name;i.data=ii.call(t,{data:i.data});var r={aliyun:"aliyun",tencent:"tcb",tcb:"tcb",alipay:"alipay",dcloud:"dcloud"}[this.config.provider],o=gi(i),s=vi(i),c=o||s;return e.call(this,i).then((function(t){return t.errCode=0,!c&&mi.call(n,{functionName:a,result:t,logPvd:r}),Promise.resolve(t)}),(function(t){return!c&&mi.call(n,{functionName:a,result:t,logPvd:r}),t&&t.message&&(t.message=function(){for(var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.message,i=void 0===e?"":e,n=t.extraInfo,a=void 0===n?{}:n,r=t.formatter,o=void 0===r?[]:r,s=0;s<o.length;s++){var c=o[s],l=c.rule,u=c.content,h=c.mode,d=i.match(l);if(d){for(var f=u,p=1;p<d.length;p++)f=oi(f,"{$".concat(p,"}"),d[p]);for(var g in a)f=oi(f,"{".concat(g,"}"),a[g]);return"replace"===h?f:i+f}}return i}({message:"[".concat(i.name,"]: ").concat(t.message),formatter:ni,extraInfo:{functionName:a}})),Promise.reject(t)}))};t.callFunction=function(e){var n,a,r=t.config,o=r.provider,s=r.spaceId,c=e.name;return e.data=e.data||{},n=i,n=n.bind(t),a=vi(e)?i.call(t,e):function(t){var e=t.name,i=t.data,n=void 0===i?{}:i;return"mp-weixin"===G&&"uni-id-co"===e&&"secureNetworkHandshakeByWeixin"===n.method}(e)?n.call(t,e):gi(e)?new pi({secretType:e.secretType,uniCloudIns:t}).wrapEncryptDataCallFunction(i.bind(t))(e):function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.provider,i=t.spaceId,n=t.functionName,a=bt(),r=a.appId,o=a.uniPlatform,s=a.osName,c=o;"app"===o&&(c=s);var l=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.provider,i=t.spaceId,n=H;if(!n)return{};e=function(t){return"tencent"===t?"tcb":t}(e);var a=n.find((function(t){return t.provider===e&&t.spaceId===i}));return a&&a.config}({provider:e,spaceId:i});if(!l||!l.accessControl||!l.accessControl.enable)return!1;var u=l.accessControl.function||{},h=Object.keys(u);if(0===h.length)return!0;var d=function(t,e){for(var i,n,a,r=0;r<t.length;r++){var o=t[r];o!==e?"*"!==o?o.split(",").map((function(t){return t.trim()})).indexOf(e)>-1&&(n=o):a=o:i=o}return i||n||a}(h,n);if(!d)return!1;if((u[d]||[]).find((function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return t.appId===r&&(t.platform||"").toLowerCase()===c.toLowerCase()})))return!0;throw console.error("\u6b64\u5e94\u7528[appId: ".concat(r,", platform: ").concat(c,"]\u4e0d\u5728\u4e91\u7aef\u914d\u7f6e\u7684\u5141\u8bb8\u8bbf\u95ee\u7684\u5e94\u7528\u5217\u8868\u5185\uff0c\u53c2\u8003\uff1ahttps://uniapp.dcloud.net.cn/uniCloud/secure-network.html#verify-client")),fi(di.APP_INFO_INVALID)}({provider:o,spaceId:s,functionName:c})?new pi({secretType:e.secretType,uniCloudIns:t}).wrapVerifyClientCallFunction(i.bind(t))(e):n(e),Object.defineProperty(a,"result",{get:function(){return console.warn("\u5f53\u524d\u8fd4\u56de\u7ed3\u679c\u4e3aPromise\u7c7b\u578b\uff0c\u4e0d\u53ef\u76f4\u63a5\u8bbf\u95ee\u5176result\u5c5e\u6027\uff0c\u8be6\u60c5\u8bf7\u53c2\u8003\uff1ahttps://uniapp.dcloud.net.cn/uniCloud/faq?id=promise"),{}}}),a.then((function(t){return"undefined"!=typeof UTSJSONObject&&(t.result=new UTSJSONObject(t.result)),t}))}}pi="mp-weixin"!==G&&"app"!==G?function(){return(0,m.default)((function t(){throw(0,v.default)(this,t),fi({message:"Platform ".concat(G," is not supported by secure network")})}))}():function(){return(0,m.default)((function t(){throw(0,v.default)(this,t),fi({message:"Platform ".concat(G," is not enabled, please check whether secure network module is enabled in your manifest.json")})}))}();var yi=Symbol("CLIENT_DB_INTERNAL");function _i(t,e){return t.then="DoNotReturnProxyWithAFunctionNamedThen",t._internalType=yi,t.inspect=null,t.__ob__=void 0,new Proxy(t,{get:function(t,i,n){if("_uniClient"===i)return null;if("symbol"==(0,c.default)(i))return t[i];if(i in t||"string"!=typeof i){var a=t[i];return"function"==typeof a?a.bind(t):a}return e.get(t,i,n)}})}function bi(t){return{on:function(e,i){t[e]=t[e]||[],t[e].indexOf(i)>-1||t[e].push(i)},off:function(e,i){t[e]=t[e]||[];var n=t[e].indexOf(i);-1!==n&&t[e].splice(n,1)}}}var wi=["db.Geo","db.command","command.aggregate"];function Si(t,e){return wi.indexOf("".concat(t,".").concat(e))>-1}function ki(t){switch($(t)){case"array":return t.map((function(t){return ki(t)}));case"object":return t._internalType===yi||Object.keys(t).forEach((function(e){t[e]=ki(t[e])})),t;case"regexp":return{$regexp:{source:t.source,flags:t.flags}};case"date":return{$date:t.toISOString()};default:return t}}function Ci(t){return t&&t.content&&t.content.$method}var Ti=function(){function t(e,i,n){(0,v.default)(this,t),this.content=e,this.prevStage=i||null,this.udb=null,this._database=n}return(0,m.default)(t,[{key:"toJSON",value:function(){for(var t=this,e=[t.content];t.prevStage;)t=t.prevStage,e.push(t.content);return{$db:e.reverse().map((function(t){return{$method:t.$method,$param:ki(t.$param)}}))}}},{key:"toString",value:function(){return JSON.stringify(this.toJSON())}},{key:"getAction",value:function(){var t=this.toJSON().$db.find((function(t){return"action"===t.$method}));return t&&t.$param&&t.$param[0]}},{key:"getCommand",value:function(){return{$db:this.toJSON().$db.filter((function(t){return"action"!==t.$method}))}}},{key:"isAggregate",get:function(){for(var t=this;t;){var e=Ci(t),i=Ci(t.prevStage);if("aggregate"===e&&"collection"===i||"pipeline"===e)return!0;t=t.prevStage}return!1}},{key:"isCommand",get:function(){for(var t=this;t;){if("command"===Ci(t))return!0;t=t.prevStage}return!1}},{key:"isAggregateCommand",get:function(){for(var t=this;t;){var e=Ci(t),i=Ci(t.prevStage);if("aggregate"===e&&"command"===i)return!0;t=t.prevStage}return!1}},{key:"getNextStageFn",value:function(t){var e=this;return function(){return Pi({$method:t,$param:ki(Array.from(arguments))},e,e._database)}}},{key:"count",get:function(){return this.isAggregate?this.getNextStageFn("count"):function(){return this._send("count",Array.from(arguments))}}},{key:"remove",get:function(){return this.isCommand?this.getNextStageFn("remove"):function(){return this._send("remove",Array.from(arguments))}}},{key:"get",value:function(){return this._send("get",Array.from(arguments))}},{key:"add",get:function(){return this.isCommand?this.getNextStageFn("add"):function(){return this._send("add",Array.from(arguments))}}},{key:"update",value:function(){return this._send("update",Array.from(arguments))}},{key:"end",value:function(){return this._send("end",Array.from(arguments))}},{key:"set",get:function(){return this.isCommand?this.getNextStageFn("set"):function(){throw new Error("JQL\u7981\u6b62\u4f7f\u7528set\u65b9\u6cd5")}}},{key:"_send",value:function(t,e){var i=this.getAction(),n=this.getCommand();return n.$db.push({$method:t,$param:ki(e)}),this._database._callCloudFunction({action:i,command:n})}}]),t}();function Pi(t,e,i){return _i(new Ti(t,e,i),{get:function(t,e){var n="db";return t&&t.content&&(n=t.content.$method),Si(n,e)?Pi({$method:e},t,i):function(){return Pi({$method:e,$param:ki(Array.from(arguments))},t,i)}}})}function Ai(t){var e=t.path,i=t.method;return function(){function t(){(0,v.default)(this,t),this.param=Array.from(arguments)}return(0,m.default)(t,[{key:"toJSON",value:function(){return{$newDb:[].concat((0,l.default)(e.map((function(t){return{$method:t}}))),[{$method:i,$param:this.param}])}}},{key:"toString",value:function(){return JSON.stringify(this.toJSON())}}]),t}()}var Oi=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=e.uniClient,n=void 0===i?{}:i,a=e.isJQL,r=void 0!==a&&a;(0,v.default)(this,t),this._uniClient=n,this._authCallBacks={},this._dbCallBacks={},n._isDefault&&(this._dbCallBacks=X("_globalUniCloudDatabaseCallback")),r||(this.auth=bi(this._authCallBacks)),this._isJQL=r,Object.assign(this,bi(this._dbCallBacks)),this.env=_i({},{get:function(t,e){return{$env:e}}}),this.Geo=_i({},{get:function(t,e){return Ai({path:["Geo"],method:e})}}),this.serverDate=Ai({path:[],method:"serverDate"}),this.RegExp=Ai({path:[],method:"RegExp"})}return(0,m.default)(t,[{key:"getCloudEnv",value:function(t){if("string"!=typeof t||!t.trim())throw new Error("getCloudEnv\u53c2\u6570\u9519\u8bef");return{$env:t.replace("$cloudEnv_","")}}},{key:"_callback",value:function(t,e){var i=this._dbCallBacks;i[t]&&i[t].forEach((function(t){t.apply(void 0,(0,l.default)(e))}))}},{key:"_callbackAuth",value:function(t,e){var i=this._authCallBacks;i[t]&&i[t].forEach((function(t){t.apply(void 0,(0,l.default)(e))}))}},{key:"multiSend",value:function(){var t=Array.from(arguments),e=t.map((function(t){var e=t.getAction(),i=t.getCommand();if("getTemp"!==i.$db[i.$db.length-1].$method)throw new Error("multiSend\u53ea\u652f\u6301\u5b50\u547d\u4ee4\u5185\u4f7f\u7528getTemp");return{action:e,command:i}}));return this._callCloudFunction({multiCommand:e,queryList:t})}}]),t}();function Ii(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return _i(new t(e),{get:function(t,e){return Si("db",e)?Pi({$method:e},null,t):function(){return Pi({$method:e,$param:ki(Array.from(arguments))},null,t)}}})}var Li=function(t){(0,d.default)(i,t);var e=S(i);function i(){return(0,v.default)(this,i),e.apply(this,arguments)}return(0,m.default)(i,[{key:"_parseResult",value:function(t){return this._isJQL?t.result:t}},{key:"_callCloudFunction",value:function(t){var e=this,i=t.action,n=t.command,a=t.multiCommand,r=t.queryList;function o(t,e){if(a&&r)for(var i=0;i<r.length;i++){var n=r[i];n.udb&&"function"==typeof n.udb.setResult&&(e?n.udb.setResult(e):n.udb.setResult(t.result.dataList[i]))}}var s=this,c=this._isJQL?"databaseForJQL":"database";function l(t){return s._callback("error",[t]),et(it(c,"fail"),t).then((function(){return et(it(c,"complete"),t)})).then((function(){return o(null,t),ut(rt.RESPONSE,{type:ot.CLIENT_DB,content:t}),Promise.reject(t)}))}var u=et(it(c,"invoke")),h=this._uniClient;return u.then((function(){return h.callFunction({name:"DCloud-clientDB",type:D.CLIENT_DB,data:{action:i,command:n,multiCommand:a}})})).then((function(t){var i=t.result,n=i.code,a=i.message,r=i.token,u=i.tokenExpired,h=i.systemInfo,d=void 0===h?[]:h;if(d)for(var f=0;f<d.length;f++){var p=d[f],g=p.level,v=p.message,m=p.detail,x="[System Info]"+v;m&&(x="".concat(x,"\n\u8be6\u7ec6\u4fe1\u606f\uff1a").concat(m)),(console["app"===G&&"warn"===g?"error":g]||console.log)(x)}if(n)return l(new gt({code:n,message:a,requestId:t.requestId}));t.result.errCode=t.result.errCode||t.result.code,t.result.errMsg=t.result.errMsg||t.result.message,r&&u&&(_t({token:r,tokenExpired:u}),e._callbackAuth("refreshToken",[{token:r,tokenExpired:u}]),e._callback("refreshToken",[{token:r,tokenExpired:u}]),ut(rt.REFRESH_TOKEN,{token:r,tokenExpired:u}));for(var y=[{prop:"affectedDocs",tips:"affectedDocs\u4e0d\u518d\u63a8\u8350\u4f7f\u7528\uff0c\u8bf7\u4f7f\u7528inserted/deleted/updated/data.length\u66ff\u4ee3"},{prop:"code",tips:"code\u4e0d\u518d\u63a8\u8350\u4f7f\u7528\uff0c\u8bf7\u4f7f\u7528errCode\u66ff\u4ee3"},{prop:"message",tips:"message\u4e0d\u518d\u63a8\u8350\u4f7f\u7528\uff0c\u8bf7\u4f7f\u7528errMsg\u66ff\u4ee3"}],_=function(e){var i=y[e],n=i.prop,a=i.tips;if(n in t.result){var r=t.result[n];Object.defineProperty(t.result,n,{get:function(){return console.warn(a),r}})}},b=0;b<y.length;b++)_(b);return function(t){return et(it(c,"success"),t).then((function(){return et(it(c,"complete"),t)})).then((function(){o(t,null);var e=s._parseResult(t);return ut(rt.RESPONSE,{type:ot.CLIENT_DB,content:e}),Promise.resolve(e)}))}(t)}),(function(t){return/fc_function_not_found|FUNCTION_NOT_FOUND/g.test(t.message)&&console.warn("clientDB\u672a\u521d\u59cb\u5316\uff0c\u8bf7\u5728web\u63a7\u5236\u53f0\u4fdd\u5b58\u4e00\u6b21schema\u4ee5\u5f00\u542fclientDB"),l(new gt({code:t.code||"SYSTEM_ERROR",message:t.message,requestId:t.requestId}))}))}}]),i}(Oi),Di="token\u65e0\u6548\uff0c\u8df3\u8f6c\u767b\u5f55\u9875\u9762",Mi="token\u8fc7\u671f\uff0c\u8df3\u8f6c\u767b\u5f55\u9875\u9762",Ei={TOKEN_INVALID_TOKEN_EXPIRED:Mi,TOKEN_INVALID_INVALID_CLIENTID:Di,TOKEN_INVALID:Di,TOKEN_INVALID_WRONG_TOKEN:Di,TOKEN_INVALID_ANONYMOUS_USER:Di},Fi={"uni-id-token-expired":Mi,"uni-id-check-token-failed":Di,"uni-id-token-not-exist":Di,"uni-id-check-device-feature-failed":Di};function $i(t,e){var i="";return i=t?"".concat(t,"/").concat(e):e,i.replace(/^\//,"")}function Ni(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",i=[],n=[];return t.forEach((function(t){!0===t.needLogin?i.push($i(e,t.path)):!1===t.needLogin&&n.push($i(e,t.path))})),{needLoginPage:i,notNeedLoginPage:n}}function Ri(t){return t.split("?")[0].replace(/^\//,"")}function ji(){return function(t){var e=t&&t.$page&&t.$page.fullPath||"";return e?("/"!==e.charAt(0)&&(e="/"+e),e):e}(function(){var t=getCurrentPages();return t[t.length-1]}())}function Ui(){return Ri(ji())}function Bi(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!t)return!1;if(!(e&&e.list&&e.list.length))return!1;var i=e.list,n=Ri(t);return i.some((function(t){return t.pagePath===n}))}var zi,Wi=!!x.default.uniIdRouter,qi=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:x.default,e=t.pages,i=void 0===e?[]:e,n=t.subPackages,a=void 0===n?[]:n,r=t.uniIdRouter,o=void 0===r?{}:r,s=t.tabBar,c=void 0===s?{}:s,u=o.loginPage,h=o.needLogin,d=void 0===h?[]:h,f=o.resToLogin,p=void 0===f||f,g=Ni(i),v=g.needLoginPage,m=g.notNeedLoginPage,y=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],e=[],i=[];return t.forEach((function(t){var n=t.root,a=t.pages,r=void 0===a?[]:a,o=Ni(r,n),s=o.needLoginPage,c=o.notNeedLoginPage;e.push.apply(e,(0,l.default)(s)),i.push.apply(i,(0,l.default)(c))})),{needLoginPage:e,notNeedLoginPage:i}}(a),_=y.needLoginPage,b=y.notNeedLoginPage;return{loginPage:u,routerNeedLogin:d,resToLogin:p,needLoginPage:[].concat((0,l.default)(v),(0,l.default)(_)),notNeedLoginPage:[].concat((0,l.default)(m),(0,l.default)(b)),loginPageInTabBar:Bi(u,c)}}(),Hi=qi.loginPage,Gi=qi.routerNeedLogin,Ji=qi.resToLogin,Vi=qi.needLoginPage,Ki=qi.notNeedLoginPage,Xi=qi.loginPageInTabBar;if(Vi.indexOf(Hi)>-1)throw new Error("Login page [".concat(Hi,'] should not be "needLogin", please check your pages.json'));function Yi(t){var e=Ui();if("/"===t.charAt(0))return t;var i=t.split("?"),n=(0,s.default)(i,2),a=n[0],r=n[1],o=a.replace(/^\//,"").split("/"),c=e.split("/");c.pop();for(var l=0;l<o.length;l++){var u=o[l];".."===u?c.pop():"."!==u&&c.push(u)}return""===c[0]&&c.shift(),"/"+c.join("/")+(r?"?"+r:"")}function Qi(t){var e=Ri(Yi(t));return!(Ki.indexOf(e)>-1)&&(Vi.indexOf(e)>-1||Gi.some((function(e){return function(t,e){return new RegExp(e).test(t)}(t,e)})))}function Zi(t){var e=t.redirect,i=Ri(e),n=Ri(Hi);return Ui()!==n&&i!==n}function tn(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.api,i=t.redirect;if(i&&Zi({redirect:i})){var n=function(t,e){return"/"!==t.charAt(0)&&(t="/"+t),e?t.indexOf("?")>-1?t+"&uniIdRedirectUrl=".concat(encodeURIComponent(e)):t+"?uniIdRedirectUrl=".concat(encodeURIComponent(e)):t}(Hi,i);Xi?"navigateTo"!==e&&"redirectTo"!==e||(e="switchTab"):"switchTab"===e&&(e="navigateTo");var a={navigateTo:uni.navigateTo,redirectTo:uni.redirectTo,switchTab:uni.switchTab,reLaunch:uni.reLaunch};setTimeout((function(){a[e]({url:n})}),0)}}function en(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.url,i={abortLoginPageJump:!1,autoToLoginPage:!1},n=function(){var t,e=yt(),i=e.token,n=e.tokenExpired;if(i){if(n<Date.now()){var a="uni-id-token-expired";t={errCode:a,errMsg:Fi[a]}}}else{var r="uni-id-check-token-failed";t={errCode:r,errMsg:Fi[r]}}return t}();if(Qi(e)&&n){if(n.uniIdRedirectUrl=e,st(rt.NEED_LOGIN).length>0)return setTimeout((function(){ut(rt.NEED_LOGIN,n)}),0),i.abortLoginPageJump=!0,i;i.autoToLoginPage=!0}return i}function nn(){!function(){var t=ji(),e=en({url:t}),i=e.abortLoginPageJump,n=e.autoToLoginPage;i||n&&tn({api:"redirectTo",redirect:t})}();for(var t=["navigateTo","redirectTo","reLaunch","switchTab"],e=function(e){var i=t[e];uni.addInterceptor(i,{invoke:function(t){var e=en({url:t.url}),n=e.abortLoginPageJump,a=e.autoToLoginPage;return n?t:a?(tn({api:i,redirect:Yi(t.url)}),!1):t}})},i=0;i<t.length;i++)e(i)}function an(){this.onResponse((function(t){var e=t.type,i=t.content,n=!1;switch(e){case"cloudobject":n=function(t){if("object"!=(0,c.default)(t))return!1;var e=t||{},i=e.errCode;return i in Fi}(i);break;case"clientdb":n=function(t){if("object"!=(0,c.default)(t))return!1;var e=t||{},i=e.errCode;return i in Ei}(i)}n&&function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=st(rt.NEED_LOGIN);ft().then((function(){var i=ji();if(i&&Zi({redirect:i}))return e.length>0?ut(rt.NEED_LOGIN,Object.assign({uniIdRedirectUrl:i},t)):void(Hi&&tn({api:"navigateTo",redirect:i}))}))}(i)}))}function rn(t){!function(t){t.onResponse=function(t){ct(rt.RESPONSE,t)},t.offResponse=function(t){lt(rt.RESPONSE,t)}}(t),function(t){t.onNeedLogin=function(t){ct(rt.NEED_LOGIN,t)},t.offNeedLogin=function(t){lt(rt.NEED_LOGIN,t)},Wi&&(X(ci).needLoginInit||(X(ci).needLoginInit=!0,ft().then((function(){nn.call(t)})),Ji&&an.call(t)))}(t),function(t){t.onRefreshToken=function(t){ct(rt.REFRESH_TOKEN,t)},t.offRefreshToken=function(t){lt(rt.REFRESH_TOKEN,t)}}(t)}var on="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",sn=/^(?:[A-Za-z\d+/]{4})*?(?:[A-Za-z\d+/]{2}(?:==)?|[A-Za-z\d+/]{3}=?)?$/;function cn(){var t,e,i=yt().token||"",n=i.split(".");if(!i||3!==n.length)return{uid:null,role:[],permission:[],tokenExpired:0};try{t=JSON.parse((e=n[1],decodeURIComponent(zi(e).split("").map((function(t){return"%"+("00"+t.charCodeAt(0).toString(16)).slice(-2)})).join(""))))}catch(i){throw new Error("\u83b7\u53d6\u5f53\u524d\u7528\u6237\u4fe1\u606f\u51fa\u9519\uff0c\u8be6\u7ec6\u9519\u8bef\u4fe1\u606f\u4e3a\uff1a"+i.message)}return t.tokenExpired=1e3*t.exp,delete t.exp,delete t.iat,t}zi="function"!=typeof atob?function(t){if(t=String(t).replace(/[\t\n\f\r ]+/g,""),!sn.test(t))throw new Error("Failed to execute 'atob' on 'Window': The string to be decoded is not correctly encoded.");var e;t+="==".slice(2-(3&t.length));for(var i,n,a="",r=0;r<t.length;)e=on.indexOf(t.charAt(r++))<<18|on.indexOf(t.charAt(r++))<<12|(i=on.indexOf(t.charAt(r++)))<<6|(n=on.indexOf(t.charAt(r++))),a+=64===i?String.fromCharCode(e>>16&255):64===n?String.fromCharCode(e>>16&255,e>>8&255):String.fromCharCode(e>>16&255,e>>8&255,255&e);return a}:atob;var ln=k((function(t,e){Object.defineProperty(e,"__esModule",{value:!0});var i="chooseAndUploadFile:ok",a="chooseAndUploadFile:fail";function r(t,e){return t.tempFiles.forEach((function(t,i){t.name||(t.name=t.path.substring(t.path.lastIndexOf("/")+1)),e&&(t.fileType=e),t.cloudPath=Date.now()+"_"+i+t.name.substring(t.name.lastIndexOf("."))})),t.tempFilePaths||(t.tempFilePaths=t.tempFiles.map((function(t){return t.path}))),t}function o(t,e,n){var a=n.onChooseFile,r=n.onUploadProgress;return e.then((function(t){if(a){var e=a(t);if(void 0!==e)return Promise.resolve(e).then((function(e){return void 0===e?t:e}))}return t})).then((function(e){return!1===e?{errMsg:i,tempFilePaths:[],tempFiles:[]}:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:5,a=arguments.length>3?arguments[3]:void 0;(e=Object.assign({},e)).errMsg=i;var r=e.tempFiles,o=r.length,s=0;return new Promise((function(i){for(;s<n;)c();function c(){var n=s++;if(n>=o)!r.find((function(t){return!t.url&&!t.errMsg}))&&i(e);else{var l=r[n];t.uploadFile({provider:l.provider,filePath:l.path,cloudPath:l.cloudPath,fileType:l.fileType,cloudPathAsRealPath:l.cloudPathAsRealPath,onUploadProgress:function(t){t.index=n,t.tempFile=l,t.tempFilePath=l.path,a&&a(t)}}).then((function(t){l.url=t.fileID,n<o&&c()})).catch((function(t){l.errMsg=t.errMsg||t.message,n<o&&c()}))}}}))}(t,e,5,r)}))}e.initChooseAndUploadFile=function(t){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{type:"all"};return"image"===e.type?o(t,function(t){var e=t.count,i=t.sizeType,n=t.sourceType,o=void 0===n?["album","camera"]:n,s=t.extension;return new Promise((function(t,n){uni.chooseImage({count:e,sizeType:i,sourceType:o,extension:s,success:function(e){t(r(e,"image"))},fail:function(t){n({errMsg:t.errMsg.replace("chooseImage:fail",a)})}})}))}(e),e):"video"===e.type?o(t,function(t){var e=t.camera,i=t.compressed,n=t.maxDuration,o=t.sourceType,s=void 0===o?["album","camera"]:o,c=t.extension;return new Promise((function(t,o){uni.chooseVideo({camera:e,compressed:i,maxDuration:n,sourceType:s,extension:c,success:function(e){var i=e.tempFilePath,n=e.duration,a=e.size,o=e.height,s=e.width;t(r({errMsg:"chooseVideo:ok",tempFilePaths:[i],tempFiles:[{name:e.tempFile&&e.tempFile.name||"",path:i,size:a,type:e.tempFile&&e.tempFile.type||"",width:s,height:o,duration:n,fileType:"video",cloudPath:""}]},"video"))},fail:function(t){o({errMsg:t.errMsg.replace("chooseVideo:fail",a)})}})}))}(e),e):o(t,function(t){var e=t.count,i=t.extension;return new Promise((function(t,o){var s=uni.chooseFile;if("undefined"!=typeof n&&"function"==typeof n.chooseMessageFile&&(s=n.chooseMessageFile),"function"!=typeof s)return o({errMsg:a+" \u8bf7\u6307\u5b9a type \u7c7b\u578b\uff0c\u8be5\u5e73\u53f0\u4ec5\u652f\u6301\u9009\u62e9 image \u6216 video\u3002"});s({type:"all",count:e,extension:i,success:function(e){t(r(e))},fail:function(t){o({errMsg:t.errMsg.replace("chooseFile:fail",a)})}})}))}(e),e)}}})),un=function(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}(ln),hn={auto:"auto",onready:"onready",manual:"manual"};function dn(t){return{props:{localdata:{type:Array,default:function(){return[]}},options:{type:[Object,Array],default:function(){return{}}},spaceInfo:{type:Object,default:function(){return{}}},collection:{type:[String,Array],default:""},action:{type:String,default:""},field:{type:String,default:""},orderby:{type:String,default:""},where:{type:[String,Object],default:""},pageData:{type:String,default:"add"},pageCurrent:{type:Number,default:1},pageSize:{type:Number,default:20},getcount:{type:[Boolean,String],default:!1},gettree:{type:[Boolean,String],default:!1},gettreepath:{type:[Boolean,String],default:!1},startwith:{type:String,default:""},limitlevel:{type:Number,default:10},groupby:{type:String,default:""},groupField:{type:String,default:""},distinct:{type:[Boolean,String],default:!1},foreignKey:{type:String,default:""},loadtime:{type:String,default:"auto"},manual:{type:Boolean,default:!1}},data:function(){return{mixinDatacomLoading:!1,mixinDatacomHasMore:!1,mixinDatacomResData:[],mixinDatacomErrorMessage:"",mixinDatacomPage:{},mixinDatacomError:null}},created:function(){var t=this;this.mixinDatacomPage={current:this.pageCurrent,size:this.pageSize,count:0},this.$watch((function(){var e=[];return["pageCurrent","pageSize","localdata","collection","action","field","orderby","where","getont","getcount","gettree","groupby","groupField","distinct"].forEach((function(i){e.push(t[i])})),e}),(function(e,i){if(t.loadtime!==hn.manual){for(var n=!1,a=[],r=2;r<e.length;r++)e[r]!==i[r]&&(a.push(e[r]),n=!0);e[0]!==i[0]&&(t.mixinDatacomPage.current=t.pageCurrent),t.mixinDatacomPage.size=t.pageSize,t.onMixinDatacomPropsChange(n,a)}}))},methods:{onMixinDatacomPropsChange:function(t,e){},mixinDatacomEasyGet:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=e.getone,n=void 0!==i&&i,a=e.success,r=e.fail;this.mixinDatacomLoading||(this.mixinDatacomLoading=!0,this.mixinDatacomErrorMessage="",this.mixinDatacomError=null,this.mixinDatacomGet().then((function(e){t.mixinDatacomLoading=!1;var i=e.result,r=i.data,o=i.count;t.getcount&&(t.mixinDatacomPage.count=o),t.mixinDatacomHasMore=r.length<t.pageSize;var s=n?r.length?r[0]:void 0:r;t.mixinDatacomResData=s,a&&a(s)})).catch((function(e){t.mixinDatacomLoading=!1,t.mixinDatacomErrorMessage=e,t.mixinDatacomError=e,r&&r(e)})))},mixinDatacomGet:function(){var e,i,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};n=n||{},i="undefined"!=typeof __uniX&&__uniX?t.databaseForJQL(this.spaceInfo):t.database(this.spaceInfo);var a=n.action||this.action;a&&(i=i.action(a));var r=n.collection||this.collection;i=Array.isArray(r)?(e=i).collection.apply(e,(0,l.default)(r)):i.collection(r);var o=n.where||this.where;o&&Object.keys(o).length&&(i=i.where(o));var s=n.field||this.field;s&&(i=i.field(s));var c=n.foreignKey||this.foreignKey;c&&(i=i.foreignKey(c));var u=n.groupby||this.groupby;u&&(i=i.groupBy(u));var h=n.groupField||this.groupField;h&&(i=i.groupField(h)),!0===(void 0!==n.distinct?n.distinct:this.distinct)&&(i=i.distinct());var d=n.orderby||this.orderby;d&&(i=i.orderBy(d));var f=void 0!==n.pageCurrent?n.pageCurrent:this.mixinDatacomPage.current,p=void 0!==n.pageSize?n.pageSize:this.mixinDatacomPage.size,g=void 0!==n.getcount?n.getcount:this.getcount,v=void 0!==n.gettree?n.gettree:this.gettree,m=void 0!==n.gettreepath?n.gettreepath:this.gettreepath,x={getCount:g},y={limitLevel:void 0!==n.limitlevel?n.limitlevel:this.limitlevel,startWith:void 0!==n.startwith?n.startwith:this.startwith};return v&&(x.getTree=y),m&&(x.getTreePath=y),i=i.skip(p*(f-1)).limit(p).get(x),i}}}}function fn(t){return X(li.replace("{spaceId}",t.config.spaceId))}function pn(){return gn.apply(this,arguments)}function gn(){return gn=(0,u.default)(r.default.mark((function t(){var e,i,n,a,o,s,c,l=arguments;return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(e=l.length>0&&void 0!==l[0]?l[0]:{},i=e.openid,n=e.callLoginByWeixin,a=void 0!==n&&n,o=fn(this),"mp-weixin"===G){t.next=4;break}throw new Error("[SecureNetwork] API `initSecureNetworkByWeixin` is not supported on platform `".concat(G,"`"));case 4:if(!i||!a){t.next=6;break}throw new Error("[SecureNetwork] openid and callLoginByWeixin cannot be passed at the same time");case 6:if(!i){t.next=8;break}return t.abrupt("return",(o.mpWeixinOpenid=i,{}));case 8:return t.next=10,new Promise((function(t,e){uni.login({success:function(e){t(e.code)},fail:function(t){e(new Error(t.errMsg))}})}));case 10:return s=t.sent,c=this.importObject("uni-id-co",{customUI:!0}),t.next=14,c.secureNetworkHandshakeByWeixin({code:s,callLoginByWeixin:a});case 14:return o.mpWeixinCode=s,t.abrupt("return",{code:s});case 16:case"end":return t.stop()}}),t,this)}))),gn.apply(this,arguments)}function vn(t){return mn.apply(this,arguments)}function mn(){return mn=(0,u.default)(r.default.mark((function t(e){var i;return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return i=fn(this),t.abrupt("return",(i.initPromise||(i.initPromise=pn.call(this,e).then((function(t){return t})).catch((function(t){throw delete i.initPromise,t}))),i.initPromise));case 2:case"end":return t.stop()}}),t,this)}))),mn.apply(this,arguments)}function xn(t){!function(t){wt=t}(t)}function yn(t){var e={getSystemInfo:uni.getSystemInfo,getPushClientId:uni.getPushClientId};return function(i){return new Promise((function(n,a){e[t](w(w({},i),{},{success:function(t){n(t)},fail:function(t){a(t)}}))}))}}var _n=function(t){(0,d.default)(i,t);var e=S(i);function i(){var t;return(0,v.default)(this,i),t=e.call(this),t._uniPushMessageCallback=t._receivePushMessage.bind((0,o.default)(t)),t._currentMessageId=-1,t._payloadQueue=[],t}return(0,m.default)(i,[{key:"init",value:function(){var t=this;return Promise.all([yn("getSystemInfo")(),yn("getPushClientId")()]).then((function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],i=(0,s.default)(e,2),n=i[0];n=void 0===n?{}:n;var a=n.appId,r=i[1];r=void 0===r?{}:r;var o=r.cid;if(!a)throw new Error("Invalid appId, please check the manifest.json file");if(!o)throw new Error("Invalid push client id");t._appId=a,t._pushClientId=o,t._seqId=Date.now()+"-"+Math.floor(9e5*Math.random()+1e5),t.emit("open"),t._initMessageListener()}),(function(e){throw t.emit("error",e),t.close(),e}))}},{key:"open",value:function(){var t=(0,u.default)(r.default.mark((function t(){return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.abrupt("return",this.init());case 1:case"end":return t.stop()}}),t,this)})));return function(){return t.apply(this,arguments)}}()},{key:"_isUniCloudSSE",value:function(t){if("receive"!==t.type)return!1;var e=t&&t.data&&t.data.payload;return!(!e||"UNI_CLOUD_SSE"!==e.channel||e.seqId!==this._seqId)}},{key:"_receivePushMessage",value:function(t){if(this._isUniCloudSSE(t)){var e=t&&t.data&&t.data.payload,i=e.action,n=e.messageId,a=e.message;this._payloadQueue.push({action:i,messageId:n,message:a}),this._consumMessage()}}},{key:"_consumMessage",value:function(){for(var t=this;;){var e=this._payloadQueue.find((function(e){return e.messageId===t._currentMessageId+1}));if(!e)break;this._currentMessageId++,this._parseMessagePayload(e)}}},{key:"_parseMessagePayload",value:function(t){var e=t.action,i=t.messageId,n=t.message;"end"===e?this._end({messageId:i,message:n}):"message"===e&&this._appendMessage({messageId:i,message:n})}},{key:"_appendMessage",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=(t.messageId,t.message);this.emit("message",e)}},{key:"_end",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=(t.messageId,t.message);this.emit("end",e),this.close()}},{key:"_initMessageListener",value:function(){uni.onPushMessage(this._uniPushMessageCallback)}},{key:"_destroy",value:function(){uni.offPushMessage(this._uniPushMessageCallback)}},{key:"toJSON",value:function(){return{appId:this._appId,pushClientId:this._pushClientId,seqId:this._seqId}}},{key:"close",value:function(){this._destroy(),this.emit("close")}}]),i}(W);var bn={tcb:Re,tencent:Re,aliyun:Pt,private:He,dcloud:He,alipay:ei},wn=new(function(){function t(){(0,v.default)(this,t)}return(0,m.default)(t,[{key:"init",value:function(t){var e={},i=bn[t.provider];if(!i)throw new Error("\u672a\u63d0\u4f9b\u6b63\u786e\u7684provider\u53c2\u6570");return e=i.init(t),function(t){t._initPromiseHub||(t._initPromiseHub=new z({createPromise:function(){var e=Promise.resolve();e=new Promise((function(t){setTimeout((function(){t()}),1)}));var i=t.auth();return e.then((function(){return i.getLoginState()})).then((function(t){return t?Promise.resolve():i.signInAnonymously()}))}}))}(e),xi(e),function(t){var e=t.uploadFile;t.uploadFile=function(t){return e.call(this,t)}}(e),function(t){t.database=function(e){if(e&&Object.keys(e).length>0)return t.init(e).database();if(this._database)return this._database;var i=Ii(Li,{uniClient:t});return this._database=i,i},t.databaseForJQL=function(e){if(e&&Object.keys(e).length>0)return t.init(e).databaseForJQL();if(this._databaseForJQL)return this._databaseForJQL;var i=Ii(Li,{uniClient:t,isJQL:!0});return this._databaseForJQL=i,i}}(e),function(t){t.getCurrentUserInfo=cn,t.chooseAndUploadFile=un.initChooseAndUploadFile(t),Object.assign(t,{get mixinDatacom(){return dn(t)}}),t.SSEChannel=_n,t.initSecureNetworkByWeixin=function(t){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=e.openid,n=e.callLoginByWeixin,a=void 0!==n&&n;return vn.call(t,{openid:i,callLoginByWeixin:a})}}(t),t.setCustomClientInfo=xn,t.importObject=function(t){return function(e){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};i=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return t.customUI=e.customUI||t.customUI,t.parseSystemError=e.parseSystemError||t.parseSystemError,Object.assign(t.loadingOptions,e.loadingOptions),Object.assign(t.errorOptions,e.errorOptions),"object"==(0,c.default)(e.secretMethods)&&(t.secretMethods=e.secretMethods),t}({customUI:!1,loadingOptions:{title:"\u52a0\u8f7d\u4e2d...",mask:!0},errorOptions:{type:"modal",retry:!1}},i);var n=i,a=n.customUI,o=n.loadingOptions,s=n.errorOptions,l=n.parseSystemError,h=!a;return new Proxy({},{get:function(n,a){switch(a){case"toString":return"[object UniCloudObject]";case"toJSON":return{}}return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.fn,i=t.interceptorName,n=t.getCallbackArgs;return(0,u.default)(r.default.mark((function t(){var a,o,s,c,l,u,h=arguments;return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:for(a=h.length,o=new Array(a),s=0;s<a;s++)o[s]=h[s];return c=n?n({params:o}):{},t.prev=2,t.next=5,et(it(i,"invoke"),w({},c));case 5:return t.next=7,e.apply(void 0,o);case 7:return l=t.sent,t.next=10,et(it(i,"success"),w(w({},c),{},{result:l}));case 10:return t.abrupt("return",l);case 13:return t.prev=13,t.t0=t["catch"](2),u=t.t0,t.next=18,et(it(i,"fail"),w(w({},c),{},{error:u}));case 18:throw u;case 19:return t.prev=19,t.next=22,et(it(i,"complete"),w(w({},c),{},u?{error:u}:{result:l}));case 22:return t.finish(19);case 23:case"end":return t.stop()}}),t,null,[[2,13,19,23]])})))}({fn:function(){var n=(0,u.default)(r.default.mark((function n(){var f,p,g,v,m,x,y,_,b,S,k,C,T,P,A,O=arguments;return r.default.wrap((function(n){while(1)switch(n.prev=n.next){case 0:for(h&&uni.showLoading({title:o.title,mask:o.mask}),p=O.length,g=new Array(p),v=0;v<p;v++)g[v]=O[v];return m={name:e,type:D.OBJECT,data:{method:a,params:g}},"object"==(0,c.default)(i.secretMethods)&&function(t,e){var i=e.data.method,n=t.secretMethods||{},a=n[i]||n["*"];a&&(e.secretType=a)}(i,m),x=!1,n.prev=5,n.next=8,t.callFunction(m);case 8:f=n.sent,n.next=14;break;case 11:n.prev=11,n.t0=n["catch"](5),x=!0,f={result:new gt(n.t0)};case 14:if(y=f.result||{},_=y.errSubject,b=y.errCode,S=y.errMsg,k=y.newToken,h&&uni.hideLoading(),k&&k.token&&k.tokenExpired&&(_t(k),ut(rt.REFRESH_TOKEN,w({},k))),!b){n.next=39;break}if(C=S,!x||!l){n.next=24;break}return n.next=20,l({objectName:e,methodName:a,params:g,errSubject:_,errCode:b,errMsg:S});case 20:if(n.t1=n.sent.errMsg,n.t1){n.next=23;break}n.t1=S;case 23:C=n.t1;case 24:if(!h){n.next=37;break}if("toast"!==s.type){n.next=29;break}uni.showToast({title:C,icon:"none"}),n.next=37;break;case 29:if("modal"===s.type){n.next=31;break}throw new Error("Invalid errorOptions.type: ".concat(s.type));case 31:return n.next=33,(0,u.default)(r.default.mark((function t(){var e,i,n,a,o,s,c=arguments;return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return e=c.length>0&&void 0!==c[0]?c[0]:{},i=e.title,n=e.content,a=e.showCancel,o=e.cancelText,s=e.confirmText,t.abrupt("return",new Promise((function(t,e){uni.showModal({title:i,content:n,showCancel:a,cancelText:o,confirmText:s,success:function(e){t(e)},fail:function(){t({confirm:!1,cancel:!0})}})})));case 2:case"end":return t.stop()}}),t)})))({title:"\u63d0\u793a",content:C,showCancel:s.retry,cancelText:"\u53d6\u6d88",confirmText:s.retry?"\u91cd\u8bd5":"\u786e\u5b9a"});case 33:if(T=n.sent,P=T.confirm,!s.retry||!P){n.next=37;break}return n.abrupt("return",d.apply(void 0,g));case 37:throw A=new gt({subject:_,code:b,message:S,requestId:f.requestId}),A.detail=f.result,ut(rt.RESPONSE,{type:ot.CLOUD_OBJECT,content:A}),A;case 39:return n.abrupt("return",(ut(rt.RESPONSE,{type:ot.CLOUD_OBJECT,content:f.result}),f.result));case 40:case"end":return n.stop()}}),n,null,[[5,11]])})));function d(){return n.apply(this,arguments)}return d}(),interceptorName:"callObject",getCallbackArgs:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=t.params;return{objectName:e,methodName:a,params:i}}})}})}}(t)}(e),["callFunction","uploadFile","deleteFile","getTempFileURL","downloadFile","chooseAndUploadFile"].forEach((function(t){if(e[t]){var i=e[t];e[t]=function(){return i.apply(e,Array.from(arguments))},e[t]=function(t,e){return function(i){var n=this,a=!1;if("callFunction"===e){var r=i&&i.type||D.DEFAULT;a=r!==D.DEFAULT}var o="callFunction"===e&&!a,s=this._initPromiseHub.exec();i=i||{};var c=pt(i),l=c.success,u=c.fail,h=c.complete,d=s.then((function(){return a?Promise.resolve():et(it(e,"invoke"),i)})).then((function(){return t.call(n,i)})).then((function(t){return a?Promise.resolve(t):et(it(e,"success"),t).then((function(){return et(it(e,"complete"),t)})).then((function(){return o&&ut(rt.RESPONSE,{type:ot.CLOUD_FUNCTION,content:t}),Promise.resolve(t)}))}),(function(t){return a?Promise.reject(t):et(it(e,"fail"),t).then((function(){return et(it(e,"complete"),t)})).then((function(){return ut(rt.RESPONSE,{type:ot.CLOUD_FUNCTION,content:t}),Promise.reject(t)}))}));if(!(l||u||h))return d;d.then((function(t){l&&l(t),h&&h(t),o&&ut(rt.RESPONSE,{type:ot.CLOUD_FUNCTION,content:t})}),(function(t){u&&u(t),h&&h(t),o&&ut(rt.RESPONSE,{type:ot.CLOUD_FUNCTION,content:t})}))}}(e[t],t).bind(e)}})),e.init=this.init,e}}]),t}());e.uniCloud=wn,function(){var t=J,i={};if(t&&1===t.length)i=t[0],e.uniCloud=wn=wn.init(i),wn._isDefault=!0;else{var n;n=t&&t.length>0?"\u5e94\u7528\u6709\u591a\u4e2a\u670d\u52a1\u7a7a\u95f4\uff0c\u8bf7\u901a\u8fc7uniCloud.init\u65b9\u6cd5\u6307\u5b9a\u8981\u4f7f\u7528\u7684\u670d\u52a1\u7a7a\u95f4":"\u5e94\u7528\u672a\u5173\u8054\u670d\u52a1\u7a7a\u95f4\uff0c\u8bf7\u5728uniCloud\u76ee\u5f55\u53f3\u952e\u5173\u8054\u670d\u52a1\u7a7a\u95f4",["auth","callFunction","uploadFile","deleteFile","getTempFileURL","downloadFile","database","getCurrentUSerInfo","importObject"].forEach((function(t){wn[t]=function(){return console.error(n),Promise.reject(new gt({code:"SYS_ERR",message:n}))}}))}if(Object.assign(wn,{get mixinDatacom(){return dn(wn)}}),rn(wn),wn.addInterceptor=Z,wn.removeInterceptor=tt,wn.interceptObject=nt,"app"===G&&(uni.__uniCloud=wn),"app"===G||"web"===G){var a=function(){return V||(V=function(){if("undefined"!=typeof globalThis)return globalThis;if("undefined"!=typeof self)return self;if("undefined"!=typeof window)return window;function t(){return this}return void 0!==t()?t():new Function("return this")()}(),V)}();a.uniCloud=wn,a.UniCloudError=gt}}();var Sn=wn;e.default=Sn}).call(this,i("0ee4"),i("ed83")["default"])},"862a":function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return a})),i.d(e,"a",(function(){}));var n=function(){var t=this.$createElement,e=this._self._c||t;return e("view",{staticClass:this._$s(0,"sc","container loading3"),attrs:{_i:0}},[e("view",{staticClass:this._$s(1,"sc","shape shape1"),attrs:{_i:1}}),e("view",{staticClass:this._$s(2,"sc","shape shape2"),attrs:{_i:2}}),e("view",{staticClass:this._$s(3,"sc","shape shape3"),attrs:{_i:3}}),e("view",{staticClass:this._$s(4,"sc","shape shape4"),attrs:{_i:4}})])},a=[]},"8a5a":function(t,e,i){"use strict";i.r(e);var n=i("3400"),a=i("e9e1");for(var r in a)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(r);var o=i("828b"),s=Object(o["a"])(a["default"],n["b"],n["c"],!1,null,"39559fc8",null,!1,n["a"],void 0);e["default"]=s.exports},"8b6b":function(t,e,i){"use strict";i.r(e);var n=i("f92d"),a=i.n(n);for(var r in n)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(r);e["default"]=a.a},"8d12":function(t,e,i){t.exports=i.p+"static/g1.png"},"8ffa":function(t,e,i){var n=i("7647");t.exports=function(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&n(t,e)},t.exports.__esModule=!0,t.exports["default"]=t.exports},9008:function(t,e){t.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},t.exports.__esModule=!0,t.exports["default"]=t.exports},"925e":function(t,e,i){"use strict";i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return r})),i.d(e,"a",(function(){return n}));var n={qiunDataCharts:i("8325").default,uniPopup:i("a640").default,uniPopupDialog:i("ed43").default},a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("view",{staticClass:t._$s(0,"sc","container"),attrs:{_i:0}},[n("view",{staticClass:t._$s(1,"sc","floor-screen"),class:t._$s(1,"c",t.floorMove),attrs:{_i:1}},[n("view",{staticClass:t._$s(2,"sc","head"),attrs:{_i:2}},[n("text",{attrs:{_i:3},on:{click:function(e){return t.port()}}}),n("view",{staticClass:t._$s(4,"sc","time-tools"),attrs:{_i:4}},[t._v(t._$s(4,"t0-0",t._s(t.year))+t._$s(4,"t0-1",t._s(t.month))+t._$s(4,"t0-2",t._s(t.day))+t._$s(4,"t0-3",t._s(t.hours))+t._$s(4,"t0-4",t._s(t.minutes))+t._$s(4,"t0-5",t._s(t.seconds))+t._$s(4,"t0-6",t._s(t.week)))]),n("view",{staticClass:t._$s(5,"sc","button-left"),attrs:{_i:5},on:{click:function(e){return t.ejected()}}}),n("view",{staticClass:t._$s(6,"sc","button-right"),attrs:{_i:6},on:{click:function(e){return t.ledId()}}})]),n("view",{staticClass:t._$s(7,"sc","main"),attrs:{_i:7}},[n("view",{staticClass:t._$s(8,"sc","main-sides"),attrs:{_i:8}},[n("view",{staticClass:t._$s(9,"sc","box"),attrs:{_i:9}},[n("view",{staticClass:t._$s(10,"sc","box-border box-border1"),attrs:{_i:10}}),n("view",{staticClass:t._$s(11,"sc","box-border box-border2"),attrs:{_i:11}}),n("view",{staticClass:t._$s(12,"sc","box-border box-border3"),attrs:{_i:12}}),n("view",{staticClass:t._$s(13,"sc","box-border box-border4"),attrs:{_i:13}}),n("view",{directives:[{name:"show",rawName:"v-show",value:t._$s(14,"v-show",!t.errorShow),expression:"_$s(14,'v-show',!errorShow)"}],attrs:{_i:14}},[n("view",{class:t._$s(15,"c",t.width),attrs:{_i:15}},[n("view",{staticClass:t._$s(16,"sc","box-items"),attrs:{_i:16}},[t._v(t._$s(16,"t0-0",t._s(t.title)))]),n("view",{staticClass:t._$s(17,"sc","box-items"),attrs:{_i:17}},[t._v(t._$s(17,"t0-0",t._s(t.staNo)))]),n("view",{staticClass:t._$s(18,"sc","box-items"),attrs:{_i:18}},[t._v(t._$s(18,"t0-0",t._s(t.maknx)))]),n("view",{staticClass:t._$s(19,"sc","box-items"),attrs:{_i:19}},[t._v(t._$s(19,"t0-0",t._s(t.specs)))]),n("view",{staticClass:t._$s(20,"sc","box-items"),attrs:{_i:20}},[t._v(t._$s(20,"t0-0",t._s(t.count)))])]),n("view",{directives:[{name:"show",rawName:"v-show",value:t._$s(21,"v-show",t.orderShow),expression:"_$s(21,'v-show',orderShow)"}],attrs:{_i:21}},[n("view",{staticClass:t._$s(22,"sc","box-items"),attrs:{_i:22}},[t._v(t._$s(22,"t0-0",t._s(t.orderNo)))]),n("view",{staticClass:t._$s(23,"sc","box-items"),attrs:{_i:23}},[t._v(t._$s(23,"t0-0",t._s(t.doneOfTray)))]),n("view",{staticClass:t._$s(24,"sc","box-items"),attrs:{_i:24}},[t._v(t._$s(24,"t0-0",t._s(t.totalOfTray)))]),n("view",{staticClass:t._$s(25,"sc","box-items"),attrs:{_i:25}},[t._v(t._$s(25,"t0-0",t._s(t.doneOfUnit)))]),n("view",{staticClass:t._$s(26,"sc","box-items"),attrs:{_i:26}},[t._v(t._$s(26,"t0-0",t._s(t.totalOfUnit)))])])]),n("view",{directives:[{name:"show",rawName:"v-show",value:t._$s(27,"v-show",t.errorShow),expression:"_$s(27,'v-show',errorShow)"}],attrs:{_i:27}},[n("view",[t._v(t._$s(28,"t0-0",t._s(t.errorMsg)))])])])])])]),n("view",{staticClass:t._$s(29,"sc","top-screen"),class:t._$s(29,"c",t.topMove),attrs:{_i:29}},[n("view",{staticClass:t._$s(30,"sc","head"),attrs:{_i:30}},[n("text",{attrs:{_i:31},on:{click:function(e){return t.port()}}}),n("view",{staticClass:t._$s(32,"sc","time-tools"),attrs:{_i:32}},[t._v(t._$s(32,"t0-0",t._s(t.year))+t._$s(32,"t0-1",t._s(t.month))+t._$s(32,"t0-2",t._s(t.day))+t._$s(32,"t0-3",t._s(t.hours))+t._$s(32,"t0-4",t._s(t.minutes))+t._$s(32,"t0-5",t._s(t.seconds))+t._$s(32,"t0-6",t._s(t.week)))]),n("view",{staticClass:t._$s(33,"sc","button-left"),attrs:{_i:33},on:{click:function(e){return t.ejected()}}}),n("view",{staticClass:t._$s(34,"sc","button-right"),attrs:{_i:34},on:{click:function(e){return t.ledId()}}})]),n("view",{staticClass:t._$s(35,"sc","main"),attrs:{_i:35}},[n("view",{staticClass:t._$s(36,"sc","main-sides"),attrs:{_i:36}},[n("view",{staticClass:t._$s(37,"sc","box box-lg"),attrs:{_i:37}},[n("view",{staticClass:t._$s(38,"sc","box-border box-border1"),attrs:{_i:38}}),n("view",{staticClass:t._$s(39,"sc","box-border box-border2"),attrs:{_i:39}}),n("view",{staticClass:t._$s(40,"sc","box-border box-border3"),attrs:{_i:40}}),n("view",{staticClass:t._$s(41,"sc","box-border box-border4"),attrs:{_i:41}}),n("view",{staticClass:t._$s(42,"sc","box-item introduce"),attrs:{_i:42}},[n("h3"),n("p",{staticClass:t._$s(44,"sc","english"),attrs:{_i:44}}),n("p",{staticClass:t._$s(45,"sc","introduce-content"),attrs:{_i:45}})]),n("view",{staticClass:t._$s(46,"sc","box-item charge-info"),attrs:{_i:46}},[n("h3"),n("p",{staticClass:t._$s(48,"sc","english"),attrs:{_i:48}}),n("view",{staticClass:t._$s(49,"sc","charge-info-item"),attrs:{_i:49}},[n("image",{attrs:{src:t._$s(50,"a-src",i("20f7")),_i:50}}),n("view",[n("text",{staticClass:t._$s(52,"sc","count"),attrs:{_i:52}},[t._v(t._$s(52,"t0-0",t._s(t.xDistance)))]),n("text",{staticClass:t._$s(53,"sc","unit"),attrs:{_i:53}})]),n("view")]),n("view",{staticClass:t._$s(55,"sc","charge-info-item"),attrs:{_i:55}},[n("image",{attrs:{src:t._$s(56,"a-src",i("7584")),_i:56}}),n("view",[n("text",{staticClass:t._$s(58,"sc","count"),attrs:{_i:58}},[t._v(t._$s(58,"t0-0",t._s(t.yDistance)))]),n("text",{staticClass:t._$s(59,"sc","unit"),attrs:{_i:59}})]),n("view")]),n("view",{staticClass:t._$s(61,"sc","charge-info-item"),attrs:{_i:61}},[n("image",{attrs:{src:t._$s(62,"a-src",i("6808")),_i:62}}),n("view",[n("text",{staticClass:t._$s(64,"sc","count"),attrs:{_i:64}},[t._v(t._$s(64,"t0-0",t._s(t.xDuration)))]),n("text",{staticClass:t._$s(65,"sc","unit"),attrs:{_i:65}})]),n("view")]),n("view",{staticClass:t._$s(67,"sc","charge-info-item"),attrs:{_i:67}},[n("image",{attrs:{src:t._$s(68,"a-src",i("a4cb")),_i:68}}),n("view",[n("text",{staticClass:t._$s(70,"sc","count"),attrs:{_i:70}},[t._v(t._$s(70,"t0-0",t._s(t.yDuration)))]),n("text",{staticClass:t._$s(71,"sc","unit"),attrs:{_i:71}})]),n("view")])]),n("view",{staticClass:t._$s(73,"sc","box-item use-info"),attrs:{_i:73}},[n("view",{staticClass:t._$s(74,"sc","use-left"),attrs:{_i:74}},[n("h3"),n("p",{staticClass:t._$s(76,"sc","english"),attrs:{_i:76}})]),n("view",{staticClass:t._$s(77,"sc","use-right"),attrs:{_i:77}},[n("h3",[t._v(t._$s(78,"t0-0",t._s(t.usedPr)))]),n("p",{staticClass:t._$s(79,"sc","english"),attrs:{_i:79}})]),n("view",{staticClass:t._$s(80,"sc","use-main"),attrs:{_i:80}},[n("view",{staticClass:t._$s(81,"sc","left"),attrs:{_i:81}},[n("view",{staticClass:t._$s(82,"sc","progressBar"),attrs:{_i:82}},[n("view",{staticClass:t._$s(83,"sc","progress"),style:t._$s(83,"s","width:"+t.usedPr+"%"),attrs:{_i:83}})])]),n("view",{staticClass:t._$s(84,"sc","right"),attrs:{_i:84}},[t._v(t._$s(84,"t0-0",t._s(t.used)))])])])])]),n("view",{staticClass:t._$s(85,"sc","main-sides"),attrs:{_i:85}},[n("view",{staticClass:t._$s(86,"sc","box box-tp"),attrs:{_i:86}},[n("view",{staticClass:t._$s(87,"sc","box-border box-border1"),attrs:{_i:87}}),n("view",{staticClass:t._$s(88,"sc","box-border box-border2"),attrs:{_i:88}}),n("view",{staticClass:t._$s(89,"sc","box-border box-border3"),attrs:{_i:89}}),n("view",{staticClass:t._$s(90,"sc","box-border box-border4"),attrs:{_i:90}}),n("view",{staticClass:t._$s(91,"sc","box-item right-item"),attrs:{_i:91}},[n("view",{staticClass:t._$s(92,"sc","sub-left"),attrs:{_i:92}},[n("h3"),n("p",{staticClass:t._$s(94,"sc","english"),attrs:{_i:94}})]),n("view",{staticClass:t._$s(95,"sc","sub-right"),attrs:{_i:95}},[n("h3"),n("p",{staticClass:t._$s(97,"sc","english"),attrs:{_i:97}})]),n("view",{staticClass:t._$s(98,"sc","sub-main"),attrs:{_i:98}},[n("view",{staticClass:t._$s(99,"sc","charts-box"),attrs:{_i:99}},[n("qiun-data-charts",{attrs:{type:"line",chartData:t.chartsDataLine1,echartsH5:!0,echartsApp:!0,_i:100}})],1)])])]),n("view",{staticClass:t._$s(101,"sc","box box-md"),attrs:{_i:101}},[n("view",{staticClass:t._$s(102,"sc","box-border box-border1"),attrs:{_i:102}}),n("view",{staticClass:t._$s(103,"sc","box-border box-border2"),attrs:{_i:103}}),n("view",{staticClass:t._$s(104,"sc","box-border box-border3"),attrs:{_i:104}}),n("view",{staticClass:t._$s(105,"sc","box-border box-border4"),attrs:{_i:105}}),n("view",{staticClass:t._$s(106,"sc","box-item right-item"),attrs:{_i:106}},[n("view",{staticClass:t._$s(107,"sc","sub-left"),attrs:{_i:107}},[n("h3"),n("p",{staticClass:t._$s(109,"sc","english"),attrs:{_i:109}})]),n("view",{staticClass:t._$s(110,"sc","sub-right"),attrs:{_i:110}},[n("h3"),n("p",{staticClass:t._$s(112,"sc","english"),attrs:{_i:112}})]),n("view",{staticClass:t._$s(113,"sc","sub-main"),attrs:{_i:113}},[n("view",{staticClass:t._$s(114,"sc","charts-box ring"),attrs:{_i:114}},[n("qiun-data-charts",{attrs:{type:"ring",opts:{legend:{position:"bottom"}},eopts:t.ringOpts,chartData:t.chartsDataPie2,echartsH5:!0,echartsApp:!0,_i:115}})],1),n("view",{staticClass:t._$s(116,"sc","sub-main-right"),attrs:{_i:116}},[n("view",{staticClass:t._$s(117,"sc","sub-info"),attrs:{_i:117}},[n("image",{attrs:{src:t._$s(118,"a-src",i("8d12")),_i:118}}),n("text"),n("text",[t._v(t._$s(120,"t0-0",t._s(t.stockCount)))])]),n("view",{staticClass:t._$s(121,"sc","sub-info"),attrs:{_i:121}},[n("image",{attrs:{src:t._$s(122,"a-src",i("1b21")),_i:122}}),n("text"),n("text",[t._v(t._$s(124,"t0-0",t._s(t.emptyCount)))])]),n("view",{staticClass:t._$s(125,"sc","sub-info"),attrs:{_i:125}},[n("image",{attrs:{src:t._$s(126,"a-src",i("0c2e")),_i:126}}),n("text"),n("text",[t._v(t._$s(128,"t0-0",t._s(t.noneCount)))])])])])])]),n("view",{staticClass:t._$s(129,"sc","box box-bt"),attrs:{_i:129}},[n("view",{staticClass:t._$s(130,"sc","box-border box-border1"),attrs:{_i:130}}),n("view",{staticClass:t._$s(131,"sc","box-border box-border2"),attrs:{_i:131}}),n("view",{staticClass:t._$s(132,"sc","box-border box-border3"),attrs:{_i:132}}),n("view",{staticClass:t._$s(133,"sc","box-border box-border4"),attrs:{_i:133}}),n("view",{attrs:{_i:134},on:{click:function(e){return t.crn()}}})])])])]),n("view",[n("uni-popup",{ref:"url",attrs:{type:"dialog",_i:136}},[n("uni-popup-dialog",{ref:"inputClose",attrs:{mode:"input",title:"\u914d\u7f6eurl",value:t.baseIP,placeholder:"\u793a\u4f8b:192.168.1.1",_i:137},on:{confirm:t.baseUrlConfirm}})],1)],1),n("view",[n("uni-popup",{ref:"ledId",attrs:{type:"dialog",_i:139}},[n("uni-popup-dialog",{ref:"inputClose",attrs:{mode:"input",title:"\u914d\u7f6eledId",value:t.baseLedId,placeholder:"\u793a\u4f8b:188",_i:140},on:{confirm:t.ledIdConfirm}})],1)],1),n("view",[n("uni-popup",{ref:"port",attrs:{type:"dialog",_i:142}},[n("uni-popup-dialog",{ref:"inputClose",attrs:{mode:"input",title:"\u914d\u7f6e\u7aef\u53e3\u53f7",value:t.basePort,placeholder:"\u793a\u4f8b:9090",_i:143},on:{confirm:t.portConfirm}})],1)],1),n("view",[n("uni-popup",{ref:"crnId",attrs:{type:"dialog",_i:145}},[n("uni-popup-dialog",{ref:"inputClose",attrs:{mode:"input",title:"\u914d\u7f6e\u5806\u579b\u673a",value:t.crnId,placeholder:"\u793a\u4f8b:1",_i:146},on:{confirm:t.crnConfirm}})],1)],1),n("view",{directives:[{name:"show",rawName:"v-show",value:t._$s(147,"v-show",t.ejectShow),expression:"_$s(147,'v-show',ejectShow)"}],staticClass:t._$s(147,"sc","eject-mask"),attrs:{_i:147}},[n("view",{staticClass:t._$s(148,"sc","eject"),attrs:{_i:148}},[n("view",{staticClass:t._$s(149,"sc","eject-title"),attrs:{_i:149}}),n("view",{staticClass:t._$s(150,"sc","eject-input"),attrs:{_i:150}},[n("view",{staticClass:t._$s(151,"sc","item"),attrs:{_i:151}},[n("view",{staticClass:t._$s(152,"sc","desc"),attrs:{_i:152}}),n("view",{staticClass:t._$s(153,"sc","input"),attrs:{_i:153}},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.baseIP,expression:"baseIP"}],attrs:{_i:154},domProps:{value:t._$s(154,"v-model",t.baseIP)},on:{input:function(e){e.target.composing||(t.baseIP=e.target.value)}}})])]),n("view",{staticClass:t._$s(155,"sc","item"),attrs:{_i:155}},[n("view",{staticClass:t._$s(156,"sc","desc"),attrs:{_i:156}}),n("view",{staticClass:t._$s(157,"sc","input"),attrs:{_i:157}},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.basePort,expression:"basePort"}],attrs:{_i:158},domProps:{value:t._$s(158,"v-model",t.basePort)},on:{input:function(e){e.target.composing||(t.basePort=e.target.value)}}})])]),n("view",{staticClass:t._$s(159,"sc","item"),attrs:{_i:159}},[n("view",{staticClass:t._$s(160,"sc","desc"),attrs:{_i:160}}),n("view",{staticClass:t._$s(161,"sc","input"),attrs:{_i:161}},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.baseLedId,expression:"baseLedId"}],attrs:{_i:162},domProps:{value:t._$s(162,"v-model",t.baseLedId)},on:{input:function(e){e.target.composing||(t.baseLedId=e.target.value)}}})])]),n("view",{staticClass:t._$s(163,"sc","item"),attrs:{_i:163}},[n("view",{staticClass:t._$s(164,"sc","desc"),attrs:{_i:164}}),n("view",{staticClass:t._$s(165,"sc","input"),attrs:{_i:165}},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.baseCrnId,expression:"baseCrnId"}],attrs:{_i:166},domProps:{value:t._$s(166,"v-model",t.baseCrnId)},on:{input:function(e){e.target.composing||(t.baseCrnId=e.target.value)}}})])])]),n("view",{staticClass:t._$s(167,"sc","eject-button"),attrs:{_i:167}},[n("view",{staticClass:t._$s(168,"sc","button-item"),attrs:{_i:168},on:{click:t.ejectClose}}),n("view",{staticClass:t._$s(169,"sc","button-item"),attrs:{_i:169},on:{click:t.ejectConfirm}})])])])])},r=[]},"931d":function(t,e,i){var n=i("7647"),a=i("011a");t.exports=function(t,e,i){if(a())return Reflect.construct.apply(null,arguments);var r=[null];r.push.apply(r,e);var o=new(t.bind.apply(t,r));return i&&n(o,i.prototype),o},t.exports.__esModule=!0,t.exports["default"]=t.exports},9399:function(t,e,i){"use strict";i.r(e);var n=i("858a"),a=i.n(n);for(var r in n)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(r);e["default"]=a.a},"951c":function(t,e){t.exports=Vue},"96bc":function(t,e,i){if("undefined"===typeof Promise||Promise.prototype.finally||(Promise.prototype.finally=function(t){var e=this.constructor;return this.then((function(i){return e.resolve(t()).then((function(){return i}))}),(function(i){return e.resolve(t()).then((function(){throw i}))}))}),"undefined"!==typeof uni&&uni&&uni.requireGlobal){var n=uni.requireGlobal();ArrayBuffer=n.ArrayBuffer,Int8Array=n.Int8Array,Uint8Array=n.Uint8Array,Uint8ClampedArray=n.Uint8ClampedArray,Int16Array=n.Int16Array,Uint16Array=n.Uint16Array,Int32Array=n.Int32Array,Uint32Array=n.Uint32Array,Float32Array=n.Float32Array,Float64Array=n.Float64Array,BigInt64Array=n.BigInt64Array,BigUint64Array=n.BigUint64Array}uni.restoreGlobal&&uni.restoreGlobal(weex,plus,setTimeout,clearTimeout,setInterval,clearInterval),__definePage("pages/home/home",(function(){return Vue.extend(i("3b29").default)})),__definePage("pages/test/test",(function(){return Vue.extend(i("28cf").default)})),__definePage("pages/index",(function(){return Vue.extend(i("5e2e").default)})),__definePage("pages/index/index",(function(){return Vue.extend(i("e4d6").default)})),__definePage("pages/index/monitor",(function(){return Vue.extend(i("bfff").default)})),__definePage("pages/test/test",(function(){return Vue.extend(i("28cf").default)}))},"96e5":function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return a})),i.d(e,"a",(function(){}));var n=function(){var t=this.$createElement,e=this._self._c||t;return e("view",{staticClass:this._$s(0,"sc","container loading5"),attrs:{_i:0}},[e("view",{staticClass:this._$s(1,"sc","shape shape1"),attrs:{_i:1}}),e("view",{staticClass:this._$s(2,"sc","shape shape2"),attrs:{_i:2}}),e("view",{staticClass:this._$s(3,"sc","shape shape3"),attrs:{_i:3}}),e("view",{staticClass:this._$s(4,"sc","shape shape4"),attrs:{_i:4}})])},a=[]},"997e":function(t,e,i){"use strict";i.r(e);var n=i("4c8c"),a=i("8b6b");for(var r in a)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(r);var o=i("828b"),s=Object(o["a"])(a["default"],n["b"],n["c"],!1,null,null,null,!1,n["a"],void 0);e["default"]=s.exports},"9e36":function(t,e,i){"use strict";(function(t){var n=i("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=n(i("af34")),r=n(i("3b2d")),o=n(i("67ad")),s=n(i("0bdb")),c=function(){function e(t){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};(0,o.default)(this,e),this.url=t,this.options=Object.assign({heartbeatInterval:3e4,reconnectInterval:3e3,maxReconnectAttempts:-1,heartbeatMessage:JSON.stringify({to:"heartbeat"}),onMessage:null,onOpen:null,onClose:null,onError:null,onReconnect:null},i),this.socketTask=null,this.isConnected=!1,this.isConnecting=!1,this.reconnectAttempts=0,this.heartbeatTimer=null,this.reconnectTimer=null,this.messageQueue=[],this.isManualClose=!1}return(0,s.default)(e,[{key:"connect",value:function(){var e=this;this.isConnecting||(this.isConnecting=!0,this.socketTask=uni.connectSocket({url:this.url,header:this.options.header||{},protocols:this.options.protocols||[],success:function(){t("log","WebSocket\u8fde\u63a5\u521b\u5efa\u6210\u529f"," at pages/home/uniWebSocket.js:60")},fail:function(i){t("error","WebSocket\u8fde\u63a5\u521b\u5efa\u5931\u8d25",i," at pages/home/uniWebSocket.js:63"),e.reconnect()},complete:function(){e.isConnecting=!1}}),this.socketTask.onOpen((function(i){t("log","WebSocket\u8fde\u63a5\u5df2\u6253\u5f00",i," at pages/home/uniWebSocket.js:73"),e.isConnected=!0,e.reconnectAttempts=0,e.reconnectTimer&&(clearTimeout(e.reconnectTimer),e.reconnectTimer=null),e.startHeartbeat(),e.flushMessageQueue(),"function"===typeof e.options.onOpen&&e.options.onOpen(i)})),this.socketTask.onMessage((function(t){"function"===typeof e.options.onMessage&&e.options.onMessage(t)})),this.socketTask.onError((function(i){t("error","WebSocket\u53d1\u751f\u9519\u8bef",i," at pages/home/uniWebSocket.js:105"),e.isConnected=!1,"function"===typeof e.options.onError&&e.options.onError(i),e.isManualClose||e.reconnect()})),this.socketTask.onClose((function(i){t("log","WebSocket\u8fde\u63a5\u5df2\u5173\u95ed",i," at pages/home/uniWebSocket.js:121"),e.isConnected=!1,e.stopHeartbeat(),"function"===typeof e.options.onClose&&e.options.onClose(i),e.isManualClose||e.reconnect()})))}},{key:"reconnect",value:function(){var e=this;this.isManualClose||-1!==this.options.maxReconnectAttempts&&this.reconnectAttempts>=this.options.maxReconnectAttempts||(this.reconnectTimer&&clearTimeout(this.reconnectTimer),this.reconnectAttempts++,t("log","WebSocket\u5c1d\u8bd5\u7b2c".concat(this.reconnectAttempts,"\u6b21\u91cd\u8fde...")," at pages/home/uniWebSocket.js:160"),this.reconnectTimer=setTimeout((function(){e.connect()}),this.options.reconnectInterval),"function"===typeof this.options.onReconnect&&this.options.onReconnect({attempts:this.reconnectAttempts,maxAttempts:this.options.maxReconnectAttempts}))}},{key:"startHeartbeat",value:function(){var e=this;this.stopHeartbeat(),this.heartbeatTimer=setInterval((function(){e.isConnected&&e.socketTask&&1===e.socketTask.readyState&&(t("log","WebSocket\u53d1\u9001\u5fc3\u8df3"," at pages/home/uniWebSocket.js:186"),e.send(e.options.heartbeatMessage))}),this.options.heartbeatInterval)}},{key:"stopHeartbeat",value:function(){this.heartbeatTimer&&(clearInterval(this.heartbeatTimer),this.heartbeatTimer=null)}},{key:"send",value:function(e){var i=this;return new Promise((function(n,a){"object"===(0,r.default)(e)&&(e=JSON.stringify(e)),i.isConnected&&i.socketTask?i.socketTask.send({data:e,success:function(i){t("log","WebSocket\u6d88\u606f\u53d1\u9001\u6210\u529f",e," at pages/home/uniWebSocket.js:219"),n(i)},fail:function(e){t("error","WebSocket\u6d88\u606f\u53d1\u9001\u5931\u8d25",e," at pages/home/uniWebSocket.js:223"),a(e)}}):(t("log","WebSocket\u8fde\u63a5\u672a\u6253\u5f00\uff0c\u6d88\u606f\u52a0\u5165\u961f\u5217",e," at pages/home/uniWebSocket.js:229"),i.messageQueue.push({data:e,resolve:n,reject:a}),i.isConnected||i.isConnecting||i.connect())}))}},{key:"flushMessageQueue",value:function(){var e=this;if(0!==this.messageQueue.length){t("log","WebSocket\u53d1\u9001\u961f\u5217\u4e2d\u7684".concat(this.messageQueue.length,"\u6761\u6d88\u606f")," at pages/home/uniWebSocket.js:250");var i=(0,a.default)(this.messageQueue);this.messageQueue=[],i.forEach((function(i){e.socketTask.send({data:i.data,success:function(e){t("log","WebSocket\u961f\u5217\u6d88\u606f\u53d1\u9001\u6210\u529f",i.data," at pages/home/uniWebSocket.js:261"),i.resolve(e)},fail:function(e){t("error","WebSocket\u961f\u5217\u6d88\u606f\u53d1\u9001\u5931\u8d25",e," at pages/home/uniWebSocket.js:265"),i.reject(e)}})}))}}},{key:"close",value:function(){this.isManualClose=!0,this.stopHeartbeat(),this.reconnectTimer&&(clearTimeout(this.reconnectTimer),this.reconnectTimer=null),this.socketTask&&this.isConnected&&this.socketTask.close({code:1e3,reason:"Manual close",success:function(){t("log","WebSocket\u8fde\u63a5\u5df2\u624b\u52a8\u5173\u95ed"," at pages/home/uniWebSocket.js:293")},fail:function(e){t("error","WebSocket\u5173\u95ed\u5931\u8d25",e," at pages/home/uniWebSocket.js:296")}})}},{key:"reset",value:function(){this.isManualClose=!1,this.reconnectAttempts=0,this.isConnected||this.connect()}}]),e}(),l=c;e.default=l}).call(this,i("f3b9")["default"])},"9eba":function(t,e,i){"use strict";i.r(e);var n=i("dffb"),a=i("b854");for(var r in a)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(r);var o=i("828b"),s=Object(o["a"])(a["default"],n["b"],n["c"],!1,null,null,null,!1,n["a"],void 0);e["default"]=s.exports},"9fc1":function(t,e,i){var n=i("3b2d")["default"];function a(){"use strict";
-/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */t.exports=a=function(){return i},t.exports.__esModule=!0,t.exports["default"]=t.exports;var e,i={},r=Object.prototype,o=r.hasOwnProperty,s=Object.defineProperty||function(t,e,i){t[e]=i.value},c="function"==typeof Symbol?Symbol:{},l=c.iterator||"@@iterator",u=c.asyncIterator||"@@asyncIterator",h=c.toStringTag||"@@toStringTag";function d(t,e,i){return Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{d({},"")}catch(e){d=function(t,e,i){return t[e]=i}}function f(t,e,i,n){var a=e&&e.prototype instanceof y?e:y,r=Object.create(a.prototype),o=new D(n||[]);return s(r,"_invoke",{value:A(t,i,o)}),r}function p(t,e,i){try{return{type:"normal",arg:t.call(e,i)}}catch(t){return{type:"throw",arg:t}}}i.wrap=f;var g="suspendedStart",v="executing",m="completed",x={};function y(){}function _(){}function b(){}var w={};d(w,l,(function(){return this}));var S=Object.getPrototypeOf,k=S&&S(S(M([])));k&&k!==r&&o.call(k,l)&&(w=k);var C=b.prototype=y.prototype=Object.create(w);function T(t){["next","throw","return"].forEach((function(e){d(t,e,(function(t){return this._invoke(e,t)}))}))}function P(t,e){function i(a,r,s,c){var l=p(t[a],t,r);if("throw"!==l.type){var u=l.arg,h=u.value;return h&&"object"==n(h)&&o.call(h,"__await")?e.resolve(h.__await).then((function(t){i("next",t,s,c)}),(function(t){i("throw",t,s,c)})):e.resolve(h).then((function(t){u.value=t,s(u)}),(function(t){return i("throw",t,s,c)}))}c(l.arg)}var a;s(this,"_invoke",{value:function(t,n){function r(){return new e((function(e,a){i(t,n,e,a)}))}return a=a?a.then(r,r):r()}})}function A(t,i,n){var a=g;return function(r,o){if(a===v)throw Error("Generator is already running");if(a===m){if("throw"===r)throw o;return{value:e,done:!0}}for(n.method=r,n.arg=o;;){var s=n.delegate;if(s){var c=O(s,n);if(c){if(c===x)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(a===g)throw a=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);a=v;var l=p(t,i,n);if("normal"===l.type){if(a=n.done?m:"suspendedYield",l.arg===x)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(a=m,n.method="throw",n.arg=l.arg)}}}function O(t,i){var n=i.method,a=t.iterator[n];if(a===e)return i.delegate=null,"throw"===n&&t.iterator["return"]&&(i.method="return",i.arg=e,O(t,i),"throw"===i.method)||"return"!==n&&(i.method="throw",i.arg=new TypeError("The iterator does not provide a '"+n+"' method")),x;var r=p(a,t.iterator,i.arg);if("throw"===r.type)return i.method="throw",i.arg=r.arg,i.delegate=null,x;var o=r.arg;return o?o.done?(i[t.resultName]=o.value,i.next=t.nextLoc,"return"!==i.method&&(i.method="next",i.arg=e),i.delegate=null,x):o:(i.method="throw",i.arg=new TypeError("iterator result is not an object"),i.delegate=null,x)}function I(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function L(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function D(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(I,this),this.reset(!0)}function M(t){if(t||""===t){var i=t[l];if(i)return i.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var a=-1,r=function i(){for(;++a<t.length;)if(o.call(t,a))return i.value=t[a],i.done=!1,i;return i.value=e,i.done=!0,i};return r.next=r}}throw new TypeError(n(t)+" is not iterable")}return _.prototype=b,s(C,"constructor",{value:b,configurable:!0}),s(b,"constructor",{value:_,configurable:!0}),_.displayName=d(b,h,"GeneratorFunction"),i.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===_||"GeneratorFunction"===(e.displayName||e.name))},i.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,b):(t.__proto__=b,d(t,h,"GeneratorFunction")),t.prototype=Object.create(C),t},i.awrap=function(t){return{__await:t}},T(P.prototype),d(P.prototype,u,(function(){return this})),i.AsyncIterator=P,i.async=function(t,e,n,a,r){void 0===r&&(r=Promise);var o=new P(f(t,e,n,a),r);return i.isGeneratorFunction(e)?o:o.next().then((function(t){return t.done?t.value:o.next()}))},T(C),d(C,h,"Generator"),d(C,l,(function(){return this})),d(C,"toString",(function(){return"[object Generator]"})),i.keys=function(t){var e=Object(t),i=[];for(var n in e)i.push(n);return i.reverse(),function t(){for(;i.length;){var n=i.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},i.values=M,D.prototype={constructor:D,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(L),!t)for(var i in this)"t"===i.charAt(0)&&o.call(this,i)&&!isNaN(+i.slice(1))&&(this[i]=e)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var i=this;function n(n,a){return s.type="throw",s.arg=t,i.next=n,a&&(i.method="next",i.arg=e),!!a}for(var a=this.tryEntries.length-1;a>=0;--a){var r=this.tryEntries[a],s=r.completion;if("root"===r.tryLoc)return n("end");if(r.tryLoc<=this.prev){var c=o.call(r,"catchLoc"),l=o.call(r,"finallyLoc");if(c&&l){if(this.prev<r.catchLoc)return n(r.catchLoc,!0);if(this.prev<r.finallyLoc)return n(r.finallyLoc)}else if(c){if(this.prev<r.catchLoc)return n(r.catchLoc,!0)}else{if(!l)throw Error("try statement without catch or finally");if(this.prev<r.finallyLoc)return n(r.finallyLoc)}}}},abrupt:function(t,e){for(var i=this.tryEntries.length-1;i>=0;--i){var n=this.tryEntries[i];if(n.tryLoc<=this.prev&&o.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var a=n;break}}a&&("break"===t||"continue"===t)&&a.tryLoc<=e&&e<=a.finallyLoc&&(a=null);var r=a?a.completion:{};return r.type=t,r.arg=e,a?(this.method="next",this.next=a.finallyLoc,x):this.complete(r)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),x},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var i=this.tryEntries[e];if(i.finallyLoc===t)return this.complete(i.completion,i.afterLoc),L(i),x}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var i=this.tryEntries[e];if(i.tryLoc===t){var n=i.completion;if("throw"===n.type){var a=n.arg;L(i)}return a}}throw Error("illegal catch attempt")},delegateYield:function(t,i,n){return this.delegate={iterator:M(t),resultName:i,nextLoc:n},"next"===this.method&&(this.arg=e),x}},i}t.exports=a,t.exports.__esModule=!0,t.exports["default"]=t.exports},a4cb:function(t,e,i){t.exports=i.p+"static/d1.png"},a640:function(t,e,i){"use strict";i.r(e);var n=i("4969"),a=i("7c9c");for(var r in a)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(r);var o=i("828b"),s=Object(o["a"])(a["default"],n["b"],n["c"],!1,null,null,null,!1,n["a"],void 0);e["default"]=s.exports},a708:function(t,e,i){var n=i("6454");t.exports=function(t){if(Array.isArray(t))return n(t)},t.exports.__esModule=!0,t.exports["default"]=t.exports},a9ce:function(t,e,i){"use strict";i.r(e);var n=i("bc8e"),a=i.n(n);for(var r in n)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(r);e["default"]=a.a},ac5c:function(t,e,i){"use strict";i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return r})),i.d(e,"a",(function(){return n}));var n={uniTransition:i("997e").default,yBox:i("357c").default,qiunDataCharts:i("8325").default,uniPopup:i("a640").default,uniPopupDialog:i("ed43").default},a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("view",{staticClass:t._$s(0,"sc","container"),attrs:{_i:0}},[n("uni-transition",{attrs:{duration:t.duration,"mode-class":t.homeMode,show:t.homeViewShow,_i:1}},[n("view",{staticClass:t._$s(2,"sc","home-view"),attrs:{_i:2}},[n("view",{staticClass:t._$s(3,"sc","head"),attrs:{_i:3}},[n("text")]),n("view",{staticClass:t._$s(5,"sc","time-tools"),attrs:{_i:5}},[t._v(t._$s(5,"t0-0",t._s(t.calendar)))]),n("view",{staticClass:t._$s(6,"sc","version"),attrs:{_i:6}},[t._v(t._$s(6,"t0-0",t._s(t.version)))]),n("view",{staticClass:t._$s(7,"sc","button-left"),attrs:{_i:7},on:{click:function(e){return t.ejected()}}}),n("view",{staticClass:t._$s(8,"sc","button-right"),attrs:{_i:8},on:{click:function(e){return t.ejected()}}}),n("view",{staticClass:t._$s(9,"sc","main"),attrs:{_i:9}},[n("view",{staticClass:t._$s(10,"sc","mian-item"),attrs:{_i:10}},[n("view",{staticClass:t._$s(11,"sc","mian-item-box"),attrs:{_i:11}},[n("y-box",{attrs:{_i:12}},[n("view",{staticClass:t._$s(13,"sc","box-item"),attrs:{_i:13}},[n("text",{staticClass:t._$s(14,"sc","item-title"),attrs:{_i:14}}),n("text",{staticClass:t._$s(15,"sc","item-subTitle"),attrs:{_i:15}})]),n("view",{staticClass:t._$s(16,"sc","box-item"),attrs:{_i:16}},[n("text",{staticClass:t._$s(17,"sc","item-title"),attrs:{_i:17}}),n("text",{staticClass:t._$s(18,"sc","item-subTitle"),attrs:{_i:18}}),n("view",{staticClass:t._$s(19,"sc","img-box"),attrs:{_i:19}},[n("swiper",{staticClass:t._$s(20,"sc","swiper-body-main"),attrs:{_i:20}},t._l(t._$s(21,"f",{forItems:t.locList}),(function(e,i,a,r){return n("swiper-item",{key:t._$s(21,"f",{forIndex:a,key:i}),staticClass:t._$s("21-"+r,"sc","swiper-item"),attrs:{_i:"21-"+r}},[n("view",[t._v(t._$s("22-"+r,"t0-0",t._s(e.matnr)))]),n("view",[t._v(t._$s("23-"+r,"t0-0",t._s(e.matnrCount)))])])})),0)])]),n("view",{staticClass:t._$s(24,"sc","box-item"),attrs:{_i:24}},[n("view",{staticClass:t._$s(25,"sc","flex-row"),attrs:{_i:25}},[n("view",{staticClass:t._$s(26,"sc","flex-col"),attrs:{_i:26}},[n("text",{staticClass:t._$s(27,"sc","item-title"),attrs:{_i:27}}),n("text",{staticClass:t._$s(28,"sc","item-subTitle"),attrs:{_i:28}})]),n("view",[n("view",{staticClass:t._$s(30,"sc","flex-col"),attrs:{_i:30}},[n("text",{staticClass:t._$s(31,"sc","item-title"),attrs:{_i:31}},[t._v(t._$s(31,"t0-0",t._s(t.baseInfo.usedPr)))])])])]),n("view",{staticClass:t._$s(32,"sc","flex-col"),attrs:{_i:32}},[n("view",{staticClass:t._$s(33,"sc","flex-row"),attrs:{_i:33}},[n("view",{staticClass:t._$s(34,"sc","progressBar"),attrs:{_i:34}},[n("view",{staticClass:t._$s(35,"sc","progress"),style:t._$s(35,"s","width:"+t.baseInfo.usedPr+"%"),attrs:{_i:35}})]),n("view",[t._v(t._$s(36,"t0-0",t._s(t.baseInfo.used)))])])])])])],1)]),n("view",{staticClass:t._$s(37,"sc","mian-item"),attrs:{_i:37}},[n("view",{staticClass:t._$s(38,"sc","mian-item-box"),attrs:{_i:38}},[n("view",[n("view",[n("y-box",{attrs:{_i:41}},[n("view",{staticClass:t._$s(42,"sc","box-item"),attrs:{_i:42}},[n("view",{staticClass:t._$s(43,"sc","flex-row"),attrs:{_i:43}},[n("view",{staticClass:t._$s(44,"sc","flex-col"),attrs:{_i:44}},[n("text",{staticClass:t._$s(45,"sc","item-title"),attrs:{_i:45}}),n("text",{staticClass:t._$s(46,"sc","item-subTitle"),attrs:{_i:46}})]),n("view",[n("view",{staticClass:t._$s(48,"sc","flex-col"),attrs:{_i:48}})])]),n("view",{staticClass:t._$s(49,"sc","charts-box"),attrs:{_i:49}},[n("qiun-data-charts",{attrs:{type:"line",chartData:t.chartsDataLine1,echartsH5:!0,echartsApp:!0,_i:50}})],1)])])],1),n("view"),n("view",[n("y-box",{attrs:{_i:53}},[n("view",{staticClass:t._$s(54,"sc","box-item"),attrs:{_i:54}},[n("view",{staticClass:t._$s(55,"sc","flex-row"),attrs:{_i:55}},[n("view",{staticClass:t._$s(56,"sc","flex-col"),attrs:{_i:56}},[n("text",{staticClass:t._$s(57,"sc","item-title"),attrs:{_i:57}}),n("text",{staticClass:t._$s(58,"sc","item-subTitle"),attrs:{_i:58}})]),n("view",[n("view",{staticClass:t._$s(60,"sc","flex-col"),attrs:{_i:60}},[n("text",{staticClass:t._$s(61,"sc","item-title"),attrs:{_i:61}}),n("text",{staticClass:t._$s(62,"sc","item-subTitle"),attrs:{_i:62}})])])]),n("view",{staticClass:t._$s(63,"sc","flex-row"),attrs:{_i:63}},[n("view",{staticClass:t._$s(64,"sc","charts-box-ring"),attrs:{_i:64}},[n("qiun-data-charts",{attrs:{type:"ring",opts:{legend:{position:"bottom"}},eopts:t.ringOpts,chartData:t.chartsDataPie2,echartsH5:!0,echartsApp:!0,_i:65}})],1),n("view",[n("view",{staticClass:t._$s(67,"sc","flex-row sub-info"),attrs:{_i:67}},[n("image",{attrs:{src:t._$s(68,"a-src",i("8d12")),_i:68}}),n("view"),n("view",[t._v(t._$s(70,"t0-0",t._s(t.baseInfo.stockCount)))])]),n("view",{staticClass:t._$s(71,"sc","flex-row sub-info"),attrs:{_i:71}},[n("image",{attrs:{src:t._$s(72,"a-src",i("1b21")),_i:72}}),n("view"),n("view",[t._v(t._$s(74,"t0-0",t._s(t.baseInfo.emptyCount)))])]),n("view",{staticClass:t._$s(75,"sc","flex-row sub-info"),attrs:{_i:75}},[n("image",{attrs:{src:t._$s(76,"a-src",i("0c2e")),_i:76}}),n("view"),n("view",[t._v(t._$s(78,"t0-0",t._s(t.baseInfo.noneCount)))])])])])])])],1),n("view"),n("view",[n("view",[n("image",{attrs:{src:t._$s(82,"a-src",i("6597")),_i:82}})])])])])])])])]),n("uni-transition",{attrs:{duration:t.duration,"mode-class":t.infoMode,show:t.infoViewShow,_i:83}},[n("view",{staticClass:t._$s(84,"sc","home-view"),attrs:{_i:84}},[n("view",{staticClass:t._$s(85,"sc","head"),attrs:{_i:85}},[n("text",[t._v(t._$s(86,"t0-0",t._s(t.infoText.title)))])]),n("view",{staticClass:t._$s(87,"sc","time-tools"),attrs:{_i:87}},[t._v(t._$s(87,"t0-0",t._s(t.calendar)))]),n("view",{staticClass:t._$s(88,"sc","button-left"),attrs:{_i:88},on:{click:function(e){return t.ejected()}}}),n("view",{staticClass:t._$s(89,"sc","button-right"),attrs:{_i:89},on:{click:function(e){return t.ejected()}}}),n("view",{staticClass:t._$s(90,"sc","info-main"),attrs:{_i:90}},[n("view",{staticClass:t._$s(91,"sc","info-box"),attrs:{_i:91}},[n("y-box",{attrs:{_i:92}},[n("view",{staticClass:t._$s(93,"sc","text-content"),attrs:{_i:93}},[n("view",{staticClass:t._$s(94,"sc","swiper-head"),attrs:{_i:94}},[n("view",[t._v(t._$s(95,"t0-0",t._s(t.infoText.barcode)))]),n("view",[t._v(t._$s(96,"t0-0",t._s(t.infoText.workNo)))]),n("view",[t._v(t._$s(97,"t0-0",t._s(t.infoText.sourceLocNo)))]),n("view",[t._v(t._$s(98,"t0-0",t._s(t.infoText.staNo)))])]),n("view",{staticClass:t._$s(99,"sc","swiper-body"),attrs:{_i:99}},[n("swiper",{staticClass:t._$s(100,"sc","swiper-body-main"),attrs:{_i:100}},t._l(t._$s(101,"f",{forItems:t.swiperList}),(function(e,i,a,r){return n("swiper-item",{key:t._$s(101,"f",{forIndex:a,key:i}),staticClass:t._$s("101-"+r,"sc","swiper-item"),attrs:{_i:"101-"+r}},[n("view",[t._v(t._$s("102-"+r,"t0-0",t._s(i+1))+t._$s("102-"+r,"t0-1",t._s(t.swiperList.length)))]),n("view",[t._v(t._$s("103-"+r,"t0-0",t._s(e.matnr)))]),n("view",[t._v(t._$s("104-"+r,"t0-0",t._s(e.maknx)))]),n("view",[t._v(t._$s("105-"+r,"t0-0",t._s(e.specs)))]),n("view",[t._v(t._$s("106-"+r,"t0-0",t._s(e.batch)))]),n("view",[t._v(t._$s("107-"+r,"t0-0",t._s(e.orderNo)))]),n("view",[t._v(t._$s("108-"+r,"t0-0",t._s(e.customer)))]),n("view",[t._v(t._$s("109-"+r,"t0-0",t._s(e.count)))])])})),0)])])])],1)])])]),n("uni-transition",{attrs:{duration:t.duration,"mode-class":t.errorInfoMode,show:t.errorInfoViewShow,_i:110}},[n("view",{staticClass:t._$s(111,"sc","error-info-view"),attrs:{_i:111}},[n("view",{staticClass:t._$s(112,"sc","head"),attrs:{_i:112}},[n("text",[t._v(t._$s(113,"t0-0",t._s(t.infoText.title)))])]),n("view",{staticClass:t._$s(114,"sc","time-tools"),attrs:{_i:114}},[t._v(t._$s(114,"t0-0",t._s(t.calendar)))]),n("view",{staticClass:t._$s(115,"sc","button-left"),attrs:{_i:115}}),n("view",{staticClass:t._$s(116,"sc","button-right"),attrs:{_i:116}}),n("view",{staticClass:t._$s(117,"sc","info-main"),attrs:{_i:117}},[n("view",{staticClass:t._$s(118,"sc","info-box"),attrs:{_i:118}},[n("y-box",{attrs:{_i:119}},[n("view",{staticClass:t._$s(120,"sc","info-box-text"),attrs:{_i:120}},[n("view",{staticClass:t._$s(121,"sc","flex-col info-box-text-item"),attrs:{_i:121}},[t._v(t._$s(121,"t0-0",t._s(t.infoText.error)))])])])],1)])])]),n("view",{directives:[{name:"show",rawName:"v-show",value:t._$s(122,"v-show",t.ejectShow),expression:"_$s(122,'v-show',ejectShow)"}],staticClass:t._$s(122,"sc","eject-mask"),attrs:{_i:122}},[n("view",{staticClass:t._$s(123,"sc","eject"),attrs:{_i:123}},[n("view",{staticClass:t._$s(124,"sc","eject-title"),attrs:{_i:124}}),n("scroll-view",{staticClass:t._$s(125,"sc","eject-input"),attrs:{_i:125}},[n("view",{staticClass:t._$s(126,"sc","item"),attrs:{_i:126}},[n("view",{staticClass:t._$s(127,"sc","desc"),attrs:{_i:127}}),n("view",{staticClass:t._$s(128,"sc","input"),attrs:{_i:128}},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.baseIP,expression:"baseIP"}],attrs:{_i:129},domProps:{value:t._$s(129,"v-model",t.baseIP)},on:{input:function(e){e.target.composing||(t.baseIP=e.target.value)}}})])]),n("view",{staticClass:t._$s(130,"sc","item"),attrs:{_i:130}},[n("view",{staticClass:t._$s(131,"sc","desc"),attrs:{_i:131}}),n("view",{staticClass:t._$s(132,"sc","input"),attrs:{_i:132}},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.basePort,expression:"basePort"}],attrs:{_i:133},domProps:{value:t._$s(133,"v-model",t.basePort)},on:{input:function(e){e.target.composing||(t.basePort=e.target.value)}}})])]),n("view",{staticClass:t._$s(134,"sc","item"),attrs:{_i:134}},[n("view",{staticClass:t._$s(135,"sc","desc"),attrs:{_i:135}}),n("view",{staticClass:t._$s(136,"sc","input"),attrs:{_i:136}},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.baseUrl,expression:"baseUrl"}],attrs:{_i:137},domProps:{value:t._$s(137,"v-model",t.baseUrl)},on:{input:function(e){e.target.composing||(t.baseUrl=e.target.value)}}})])]),n("view",{staticClass:t._$s(138,"sc","item"),attrs:{_i:138}},[n("view",{staticClass:t._$s(139,"sc","desc"),attrs:{_i:139}}),n("view",{staticClass:t._$s(140,"sc","input"),attrs:{_i:140}},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.wmsPort,expression:"wmsPort"}],attrs:{_i:141},domProps:{value:t._$s(141,"v-model",t.wmsPort)},on:{input:function(e){e.target.composing||(t.wmsPort=e.target.value)}}})])]),n("view",{staticClass:t._$s(142,"sc","item"),attrs:{_i:142}},[n("view",{staticClass:t._$s(143,"sc","desc"),attrs:{_i:143}}),n("view",{staticClass:t._$s(144,"sc","input"),attrs:{_i:144}},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.wmsUrl,expression:"wmsUrl"}],attrs:{_i:145},domProps:{value:t._$s(145,"v-model",t.wmsUrl)},on:{input:function(e){e.target.composing||(t.wmsUrl=e.target.value)}}})])]),n("view",{staticClass:t._$s(146,"sc","item"),attrs:{_i:146}},[n("view",{staticClass:t._$s(147,"sc","desc"),attrs:{_i:147}}),n("view",{staticClass:t._$s(148,"sc","input"),attrs:{_i:148}},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.baseLedId,expression:"baseLedId"}],attrs:{_i:149},domProps:{value:t._$s(149,"v-model",t.baseLedId)},on:{input:function(e){e.target.composing||(t.baseLedId=e.target.value)}}})])])]),n("view",{staticClass:t._$s(150,"sc","eject-button"),attrs:{_i:150}},[n("view",{staticClass:t._$s(151,"sc","button-item"),attrs:{_i:151},on:{click:t.ejectClose}}),n("view",{staticClass:t._$s(152,"sc","button-item"),attrs:{_i:152},on:{click:t.ejectConfirm}})])])]),n("view",[n("uni-popup",{ref:"upVersion",attrs:{type:"dialog",_i:154}},[n("uni-popup-dialog",{attrs:{type:t.msgType,title:"\u901a\u77e5",content:t.dialogContent,_i:155},on:{confirm:t.dialogConfirm,close:t.dialogClose}})],1)],1),n("view",{directives:[{name:"show",rawName:"v-show",value:t._$s(156,"v-show",t.timeOut),expression:"_$s(156,'v-show',timeOut)"}],attrs:{_i:156}},[t._v(t._$s(156,"t0-0",t._s(t.times)))])],1)},r=[]},af34:function(t,e,i){var n=i("a708"),a=i("b893"),r=i("6382"),o=i("9008");t.exports=function(t){return n(t)||a(t)||r(t)||o()},t.exports.__esModule=!0,t.exports["default"]=t.exports},b4d2:function(t,e){function i(e){return t.exports=i=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},t.exports.__esModule=!0,t.exports["default"]=t.exports,i(e)}t.exports=i,t.exports.__esModule=!0,t.exports["default"]=t.exports},b854:function(t,e,i){"use strict";i.r(e);var n=i("c7a2"),a=i.n(n);for(var r in n)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(r);e["default"]=a.a},b893:function(t,e){t.exports=function(t){if("undefined"!==typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)},t.exports.__esModule=!0,t.exports["default"]=t.exports},b8d4:function(t,e,i){"use strict";i.r(e);var n=i("cad3"),a=i.n(n);for(var r in n)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(r);e["default"]=a.a},b9a5:function(t,e,i){"use strict";i.r(e);var n=i("4c4f"),a=i.n(n);for(var r in n)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(r);e["default"]=a.a},bc8e:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={name:"loading2",data:function(){return{}}}},bf04:function(t){t.exports=JSON.parse('{"localdata":[{"value":35,"text":"2016","group":"\u76ee\u6807\u503c"},{"value":18,"text":"2016","group":"\u5b8c\u6210\u91cf"},{"value":36,"text":"2017","group":"\u76ee\u6807\u503c"},{"value":27,"text":"2017","group":"\u5b8c\u6210\u91cf"},{"value":31,"text":"2018","group":"\u76ee\u6807\u503c"},{"value":21,"text":"2018","group":"\u5b8c\u6210\u91cf"},{"value":33,"text":"2019","group":"\u76ee\u6807\u503c"},{"value":24,"text":"2019","group":"\u5b8c\u6210\u91cf"},{"value":13,"text":"2020","group":"\u76ee\u6807\u503c"},{"value":6,"text":"2020","group":"\u5b8c\u6210\u91cf"},{"value":34,"text":"2021","group":"\u76ee\u6807\u503c"},{"value":28,"text":"2021","group":"\u5b8c\u6210\u91cf"}],"localdataB":[{"value":50,"text":"\u4e00\u73ed"},{"value":30,"text":"\u4e8c\u73ed"},{"value":20,"text":"\u4e09\u73ed"},{"value":18,"text":"\u56db\u73ed"},{"value":8,"text":"\u4e94\u73ed"}],"TLine":{"series":[{"name":"\u65f6\u95f4\u8f741","data":[[10000,55],[30000,25],[50000,55],[70000,25],[90000,55]]},{"name":"\u65f6\u95f4\u8f742","data":[[0,25],[20000,55],[40000,25],[60000,55],[80000,25]]},{"name":"\u65f6\u95f4\u8f743","data":[[0,55],[15000,25],[30000,55],[45000,25],[60000,55]]}]},"Scatter":{"series":[{"name":"\u6563\u70b9\u4e00","data":[[10,8.04],[8.07,6.95],[13,7.58],[9.05,8.81],[11,8.33],[14,7.66],[13.4,6.81],[10,6.33],[14,8.96],[12.5,6.82]]},{"name":"\u6563\u70b9\u4e8c","data":[[9.15,7.2],[11.5,7.2],[3.03,4.23],[12.2,7.83],[2.02,4.47],[1.05,3.33],[4.05,4.96],[6.03,7.24],[12,6.26],[12,8.84],[7.08,5.82],[5.02,5.68]]}]},"Bubble":{"series":[{"name":"\u6c14\u6ce1\u4e00","data":[[95,95,23,"\u6807\u98981"],[30,55,33,"\u6807\u98982"]]},{"name":"\u6c14\u6ce1\u4e8c","data":[[130,30,30,"\u6807\u98983"],[200,90,40,"\u6807\u98984"]]}]},"Column":{"categories":["2016","2017","2018","2019","2020","2021"],"series":[{"name":"\u76ee\u6807\u503c","data":[35,36,31,33,13,34]},{"name":"\u5b8c\u6210\u91cf","data":[18,27,21,24,6,28]}]},"ColumnA":{"categories":["2016","2017","2018","2019","2020","2021"],"series":[{"name":"\u6210\u4ea4\u91cf1","data":[15,{"value":20,"color":"#f04864"},45,37,43,34]},{"name":"\u6210\u4ea4\u91cf2","data":[30,{"value":40,"color":"#facc14"},25,14,34,18]}]},"Mix":{"categories":["2016","2017","2018","2019","2020","2021"],"series":[{"name":"\u66f2\u9762","data":[70,50,85,130,64,88],"type":"area","style":"curve"},{"name":"\u67f11","index":1,"data":[40,{"value":30,"color":"#f04864"},55,110,24,58],"type":"column"},{"name":"\u67f12","index":1,"data":[50,20,75,60,34,38],"type":"column"},{"name":"\u66f2\u7ebf","data":[70,50,85,130,64,88],"type":"line","style":"curve","color":"#1890ff","disableLegend":true},{"name":"\u6298\u7ebf","data":[120,140,105,170,95,160],"type":"line","color":"#2fc25b"},{"name":"\u70b9","index":2,"data":[100,80,125,150,112,132],"type":"point","color":"#f04864"}]},"Line":{"categories":["2016","2017","2018","2019","2020","2021"],"series":[{"name":"\u6210\u4ea4\u91cfA","data":[35,8,25,37,4,20]},{"name":"\u6210\u4ea4\u91cfB","data":[70,40,65,100,44,68]}]},"Pie":{"series":[{"name":"\u4e00\u73ed","data":50},{"name":"\u4e8c\u73ed","data":30},{"name":"\u4e09\u73ed","data":20},{"name":"\u56db\u73ed","data":18},{"name":"\u4e94\u73ed","data":8}]},"PieA":{"series":[{"data":[{"name":"\u5728\u5e93","value":314},{"name":"\u7a7a","value":1175},{"name":"\u7981\u7528","value":96}]}]},"Radar":{"categories":["\u7ef4\u5ea61","\u7ef4\u5ea62","\u7ef4\u5ea63","\u7ef4\u5ea64","\u7ef4\u5ea65","\u7ef4\u5ea66"],"series":[{"name":"\u6210\u4ea4\u91cf1","data":[90,110,165,195,187,172]},{"name":"\u6210\u4ea4\u91cf2","data":[190,210,105,35,27,102]}]},"Arcbar1":{"series":[{"name":"\u6b63\u786e\u7387","data":0.8,"color":"#2fc25b"}]},"Arcbar2":{"series":[{"name":"\u4e00\u73ed","data":0.8},{"name":"\u4e8c\u73ed","data":0.6},{"name":"\u4e09\u73ed","data":0.45},{"name":"\u56db\u73ed","data":0.3},{"name":"\u4e94\u73ed","data":0.15}]},"Gauge":{"categories":[{"value":0.2,"color":"#1890ff"},{"value":0.8,"color":"#2fc25b"},{"value":1,"color":"#f04864"}],"series":[{"name":"\u5b8c\u6210\u7387","data":0.66}]},"Candle":{"categories":["2020/1/24","2020/1/25","2020/1/28","2020/1/29","2020/1/30","2020/1/31","2020/2/1","2020/2/4","2020/2/5","2020/2/6","2020/2/7","2020/2/8","2020/2/18","2020/2/19","2020/2/20","2020/2/21","2020/2/22","2020/2/25","2020/2/26","2020/2/27","2020/2/28","2020/3/1","2020/3/4","2020/3/5","2020/3/6","2020/3/7","2020/3/8","2020/3/11","2020/3/12","2020/3/13","2020/3/14","2020/3/15","2020/3/18","2020/3/19","2020/3/20","2020/3/21","2020/3/22","2020/3/25","2020/3/26","2020/3/27","2020/3/28","2020/3/29","2020/4/1","2020/4/2","2020/4/3","2020/4/8","2020/4/9","2020/4/10","2020/4/11","2020/4/12","2020/4/15","2020/4/16","2020/4/17","2020/4/18","2020/4/19","2020/4/22","2020/4/23","2020/4/24","2020/4/25","2020/4/26","2020/5/2","2020/5/3","2020/5/6","2020/5/7","2020/5/8","2020/5/9","2020/5/10","2020/5/13","2020/5/14","2020/5/15","2020/5/16","2020/5/17","2020/5/20","2020/5/21","2020/5/22","2020/5/23","2020/5/24","2020/5/27","2020/5/28","2020/5/29","2020/5/30","2020/5/31","2020/6/3","2020/6/4","2020/6/5","2020/6/6","2020/6/7","2020/6/13"],"series":[{"name":"\u4e0a\u8bc1\u6307\u6570","data":[[2320.26,2302.6,2287.3,2362.94],[2300,2291.3,2288.26,2308.38],[2295.35,2346.5,2295.35,2346.92],[2347.22,2358.98,2337.35,2363.8],[2360.75,2382.48,2347.89,2383.76],[2383.43,2385.42,2371.23,2391.82],[2377.41,2419.02,2369.57,2421.15],[2425.92,2428.15,2417.58,2440.38],[2411,2433.13,2403.3,2437.42],[2432.68,2434.48,2427.7,2441.73],[2430.69,2418.53,2394.22,2433.89],[2416.62,2432.4,2414.4,2443.03],[2441.91,2421.56,2415.43,2444.8],[2420.26,2382.91,2373.53,2427.07],[2383.49,2397.18,2370.61,2397.94],[2378.82,2325.95,2309.17,2378.82],[2322.94,2314.16,2308.76,2330.88],[2320.62,2325.82,2315.01,2338.78],[2313.74,2293.34,2289.89,2340.71],[2297.77,2313.22,2292.03,2324.63],[2322.32,2365.59,2308.92,2366.16],[2364.54,2359.51,2330.86,2369.65],[2332.08,2273.4,2259.25,2333.54],[2274.81,2326.31,2270.1,2328.14],[2333.61,2347.18,2321.6,2351.44],[2340.44,2324.29,2304.27,2352.02],[2326.42,2318.61,2314.59,2333.67],[2314.68,2310.59,2296.58,2320.96],[2309.16,2286.6,2264.83,2333.29],[2282.17,2263.97,2253.25,2286.33],[2255.77,2270.28,2253.31,2276.22],[2269.31,2278.4,2250,2312.08],[2267.29,2240.02,2239.21,2276.05],[2244.26,2257.43,2232.02,2261.31],[2257.74,2317.37,2257.42,2317.86],[2318.21,2324.24,2311.6,2330.81],[2321.4,2328.28,2314.97,2332],[2334.74,2326.72,2319.91,2344.89],[2318.58,2297.67,2281.12,2319.99],[2299.38,2301.26,2289,2323.48],[2273.55,2236.3,2232.91,2273.55],[2238.49,2236.62,2228.81,2246.87],[2229.46,2234.4,2227.31,2243.95],[2234.9,2227.74,2220.44,2253.42],[2232.69,2225.29,2217.25,2241.34],[2196.24,2211.59,2180.67,2212.59],[2215.47,2225.77,2215.47,2234.73],[2224.93,2226.13,2212.56,2233.04],[2236.98,2219.55,2217.26,2242.48],[2218.09,2206.78,2204.44,2226.26],[2199.91,2181.94,2177.39,2204.99],[2169.63,2194.85,2165.78,2196.43],[2195.03,2193.8,2178.47,2197.51],[2181.82,2197.6,2175.44,2206.03],[2201.12,2244.64,2200.58,2250.11],[2236.4,2242.17,2232.26,2245.12],[2242.62,2184.54,2182.81,2242.62],[2187.35,2218.32,2184.11,2226.12],[2213.19,2199.31,2191.85,2224.63],[2203.89,2177.91,2173.86,2210.58],[2170.78,2174.12,2161.14,2179.65],[2179.05,2205.5,2179.05,2222.81],[2212.5,2231.17,2212.5,2236.07],[2227.86,2235.57,2219.44,2240.26],[2242.39,2246.3,2235.42,2255.21],[2246.96,2232.97,2221.38,2247.86],[2228.82,2246.83,2225.81,2247.67],[2247.68,2241.92,2231.36,2250.85],[2238.9,2217.01,2205.87,2239.93],[2217.09,2224.8,2213.58,2225.19],[2221.34,2251.81,2210.77,2252.87],[2249.81,2282.87,2248.41,2288.09],[2286.33,2299.99,2281.9,2309.39],[2297.11,2305.11,2290.12,2305.3],[2303.75,2302.4,2292.43,2314.18],[2293.81,2275.67,2274.1,2304.95],[2281.45,2288.53,2270.25,2292.59],[2286.66,2293.08,2283.94,2301.7],[2293.4,2321.32,2281.47,2322.1],[2323.54,2324.02,2321.17,2334.33],[2316.25,2317.75,2310.49,2325.72],[2320.74,2300.59,2299.37,2325.53],[2300.21,2299.25,2294.11,2313.43],[2297.1,2272.42,2264.76,2297.1],[2270.71,2270.93,2260.87,2276.86],[2264.43,2242.11,2240.07,2266.69],[2242.26,2210.9,2205.07,2250.63],[2190.1,2148.35,2126.22,2190.1]]}]},"CandleColumn":{"categories":["2020/1/24","2020/1/25","2020/1/28","2020/1/29","2020/1/30","2020/1/31","2020/2/1","2020/2/4","2020/2/5","2020/2/6","2020/2/7","2020/2/8","2020/2/18","2020/2/19","2020/2/20","2020/2/21","2020/2/22","2020/2/25","2020/2/26","2020/2/27","2020/2/28","2020/3/1","2020/3/4","2020/3/5","2020/3/6","2020/3/7","2020/3/8","2020/3/11","2020/3/12","2020/3/13","2020/3/14","2020/3/15","2020/3/18","2020/3/19","2020/3/20","2020/3/21","2020/3/22","2020/3/25","2020/3/26","2020/3/27","2020/3/28","2020/3/29","2020/4/1","2020/4/2","2020/4/3","2020/4/8","2020/4/9","2020/4/10","2020/4/11","2020/4/12","2020/4/15","2020/4/16","2020/4/17","2020/4/18","2020/4/19","2020/4/22","2020/4/23","2020/4/24","2020/4/25","2020/4/26","2020/5/2","2020/5/3","2020/5/6","2020/5/7","2020/5/8","2020/5/9","2020/5/10","2020/5/13","2020/5/14","2020/5/15","2020/5/16","2020/5/17","2020/5/20","2020/5/21","2020/5/22","2020/5/23","2020/5/24","2020/5/27","2020/5/28","2020/5/29","2020/5/30","2020/5/31","2020/6/3","2020/6/4","2020/6/5","2020/6/6","2020/6/7","2020/6/13"],"series":[{"name":"\u6210\u4ea4\u91cf1","data":[15,20,45,37,43,15,20,45,37,43,15,20,45,37,43,15,20,45,37,43,15,20,45,37,43,15,20,45,37,43,15,20,45,37,43,15,20,45,37,43,15,20,45,37,43,15,20,45,37,43,15,20,45,37,43,15,20,45,37,43,15,20,45,37,43,15,20,45,37,43,15,20,45,37,43,15,20,45,37,43,15,20,45,37,43,15,20,45]}]},"Word":{"series":[{"name":"\u8de8\u5168\u7aef\u56fe\u8868","textSize":25},{"name":"\u5fae\u4fe1\u5c0f\u7a0b\u5e8f","textSize":20},{"name":"\u652f\u4ed8\u5b9d\u5c0f\u7a0b\u5e8f","textSize":20},{"name":"\u767e\u5ea6\u5c0f\u7a0b\u5e8f","textSize":20},{"name":"QQ\u5c0f\u7a0b\u5e8f","textSize":20},{"name":"\u5934\u6761\u5c0f\u7a0b\u5e8f","textSize":20},{"name":"\u6296\u97f3\u5c0f\u7a0b\u5e8f","textSize":20},{"name":"360\u5c0f\u7a0b\u5e8f","textSize":20},{"name":"\u8de8\u5168\u7aef","textSize":10},{"name":"\u8de8\u5168\u7aef","textSize":12},{"name":"\u8de8\u5168\u7aef","textSize":10},{"name":"\u8de8\u5168\u7aef","textSize":12},{"name":"\u8de8\u5168\u7aef","textSize":10},{"name":"\u8de8\u5168\u7aef","textSize":12},{"name":"\u8de8\u5168\u7aef","textSize":10},{"name":"\u8de8\u5168\u7aef","textSize":12}]}}')},bfff:function(t,e,i){"use strict";i.r(e);var n=i("3c26"),a=i("b8d4");for(var r in a)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(r);var o=i("828b"),s=Object(o["a"])(a["default"],n["b"],n["c"],!1,null,"43f30b7e",null,!1,n["a"],void 0);e["default"]=s.exports},c547:function(t,e,i){"use strict";i.r(e);var n=i("7b82"),a=i.n(n);for(var r in n)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(r);e["default"]=a.a},c552:function(t,e,i){"use strict";var n=i("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.createAnimation=function(t,e){if(!e)return;return clearTimeout(e.timer),new l(t,e)};var a=n(i("7ca3")),r=n(i("67ad")),o=n(i("0bdb"));function s(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.push.apply(i,n)}return i}function c(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?s(Object(i),!0).forEach((function(e){(0,a.default)(t,e,i[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):s(Object(i)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))}))}return t}var l=function(){function t(e,i){(0,r.default)(this,t),this.options=e,this.animation=uni.createAnimation(e),this.currentStepAnimates={},this.next=0,this.$=i}return(0,o.default)(t,[{key:"_nvuePushAnimates",value:function(t,e){var i=this.currentStepAnimates[this.next],n={};if(n=i||{styles:{},config:{}},u.includes(t)){n.styles.transform||(n.styles.transform="");var a="";"rotate"===t&&(a="deg"),n.styles.transform+="".concat(t,"(").concat(e+a,") ")}else n.styles[t]="".concat(e);this.currentStepAnimates[this.next]=n}},{key:"_animateRun",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=this.$.$refs["ani"].ref;if(i)return new Promise((function(n,a){nvueAnimation.transition(i,c({styles:t},e),(function(t){n()}))}))}},{key:"_nvueNextAnimate",value:function(t){var e=this,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2?arguments[2]:void 0,a=t[i];if(a){var r=a.styles,o=a.config;this._animateRun(r,o).then((function(){i+=1,e._nvueNextAnimate(t,i,n)}))}else this.currentStepAnimates={},"function"===typeof n&&n(),this.isEnd=!0}},{key:"step",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.animation.step(t),this}},{key:"run",value:function(t){this.$.animationData=this.animation.export(),this.$.timer=setTimeout((function(){"function"===typeof t&&t()}),this.$.durationTime)}}]),t}(),u=["matrix","matrix3d","rotate","rotate3d","rotateX","rotateY","rotateZ","scale","scale3d","scaleX","scaleY","scaleZ","skew","skewX","skewY","translate","translate3d","translateX","translateY","translateZ"];u.concat(["opacity","backgroundColor"],["width","height","left","right","top","bottom"]).forEach((function(t){l.prototype[t]=function(){var e;return(e=this.animation)[t].apply(e,arguments),this}}))},c681:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={name:"loading3",data:function(){return{}}}},c7a2:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n={name:"qiun-error",props:{errorMessage:{type:String,default:null}},data:function(){return{}}};e.default=n},c959:function(t,e,i){"use strict";i.r(e);var n=i("862a"),a=i("078f");for(var r in a)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(r);var o=i("828b"),s=Object(o["a"])(a["default"],n["b"],n["c"],!1,null,"fcb66c2c",null,!1,n["a"],void 0);e["default"]=s.exports},cad3:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={name:"",data:function(){return{autoplay:!0,interval:1e3,duration:1e3,list:["\u8bf7\u70b9\u51fb\u53d1\u884c\u83dc\u5355\u8fdb\u884c\u53d1\u5e03","1","\u4f53\u79ef\u8f83\u5927\uff1b\u82e5\u8981\u6b63\u5f0f\u53d1\u5e03","2","\u8fd0\u884c\u6a21\u5f0f\u4e0b\u4e0d\u538b\u7f29\u4ee3\u7801\u4e14\u542b\u6709sourcemap","3","\u68c0\u67e5\u662f\u5426\u542f\u52a8\u591a\u4e2a\u5fae\u4fe1\u5f00\u53d1\u8005\u5de5\u5177\uff0c\u5982\u679c\u662f\u5219\u5173\u95ed\u6240\u6709\u6253\u5f00\u7684\u5fae\u4fe1\u5f00\u53d1\u8005\u5de5\u5177\uff0c","4","\u7136\u540e\u518d\u91cd\u65b0\u8fd0\u884c","5","\u5982\u679c\u51fa\u73b0\u5fae\u4fe1\u5f00\u53d1\u8005\u5de5\u5177\u542f\u52a8\u540e\u767d\u5c4f\u7684\u95ee\u9898","6","\u6216\u8005\u5173\u95ed\u5fae\u4fe1\u5f00\u53d1\u8005\u5de5\u5177\uff0c\u7136\u540e\u518d\u4eceHBuilderX\u4e2d\u542f\u52a8\u6307\u5b9a\u9875\u9762","7","\u53ef\u4ee5\u901a\u8fc7\u5fae\u4fe1\u5f00\u53d1\u8005\u5de5\u5177\u5207\u6362pages.json\u4e2dcondition\u914d\u7f6e\u7684\u9875\u9762","8","\u4e2d\u4fee\u6539\u6587\u4ef6\u5e76\u4fdd\u5b58\uff0c\u4f1a\u81ea\u52a8\u5237\u65b0\u5fae\u4fe1\u6a21\u62df\u5668","9","\u5fae\u4fe1\u5f00\u53d1\u8005\u5de5\u5177\u5df2\u542f\u52a8\uff0c\u5728HBuilderX","10"]}}}},ce0e:function(t,e,i){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i={onLaunch:function(){t("log","App Launch"," at App.vue:4")},onShow:function(){t("log","App Show"," at App.vue:7")},onHide:function(){t("log","App Hide"," at App.vue:10")}};e.default=i}).call(this,i("f3b9")["default"])},d2a0:function(t,e,i){"use strict";var n=i("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=n(i("297d")),r=i("d3b4"),o=n(i("e7b9")),s=(0,r.initVueI18n)(o.default),c=s.t,l={name:"uniPopupDialog",mixins:[a.default],emits:["confirm","close"],props:{value:{type:[String,Number],default:""},placeholder:{type:[String,Number],default:""},type:{type:String,default:"error"},mode:{type:String,default:"base"},title:{type:String,default:""},content:{type:String,default:""},beforeClose:{type:Boolean,default:!1},cancelText:{type:String,default:""},confirmText:{type:String,default:""}},data:function(){return{dialogType:"error",focus:!1,val:""}},computed:{okText:function(){return this.confirmText||c("uni-popup.ok")},closeText:function(){return this.cancelText||c("uni-popup.cancel")},placeholderText:function(){return this.placeholder||c("uni-popup.placeholder")},titleText:function(){return this.title||c("uni-popup.title")}},watch:{type:function(t){this.dialogType=t},mode:function(t){"input"===t&&(this.dialogType="info")},value:function(t){this.val=t}},created:function(){this.popup.disableMask(),"input"===this.mode?(this.dialogType="info",this.val=this.value):this.dialogType=this.type},mounted:function(){this.focus=!0},methods:{onOk:function(){"input"===this.mode?this.$emit("confirm",this.val):this.$emit("confirm"),this.beforeClose||this.popup.close()},closeDialog:function(){this.$emit("close"),this.beforeClose||this.popup.close()},close:function(){this.popup.close()}}};e.default=l},d3b4:function(t,e,i){"use strict";(function(t){var n=i("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.LOCALE_ZH_HANT=e.LOCALE_ZH_HANS=e.LOCALE_FR=e.LOCALE_ES=e.LOCALE_EN=e.I18n=e.Formatter=void 0,e.compileI18nJsonStr=function(t,e){var i=e.locale,n=e.locales,a=e.delimiters;if(!k(t,a))return t;w||(w=new u);var r=[];Object.keys(n).forEach((function(t){t!==i&&r.push({locale:t,values:n[t]})})),r.unshift({locale:i,values:n[i]});try{return JSON.stringify(T(JSON.parse(t),r,a),null,2)}catch(o){}return t},e.hasI18nJson=function t(e,i){w||(w=new u);return P(e,(function(e,n){var a=e[n];return S(a)?!!k(a,i)||void 0:t(a,i)}))},e.initVueI18n=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=arguments.length>2?arguments[2]:void 0,n=arguments.length>3?arguments[3]:void 0;if("string"!==typeof t){var a=[e,t];t=a[0],e=a[1]}"string"!==typeof t&&(t=b());"string"!==typeof i&&(i="undefined"!==typeof __uniConfig&&__uniConfig.fallbackLocale||"en");var r=new y({locale:t,fallbackLocale:i,messages:e,watcher:n}),o=function(t,e){if("function"!==typeof getApp)o=function(t,e){return r.t(t,e)};else{var i=!1;o=function(t,e){var n=getApp().$vm;return n&&(n.$locale,i||(i=!0,_(n,r))),r.t(t,e)}}return o(t,e)};return{i18n:r,f:function(t,e,i){return r.f(t,e,i)},t:function(t,e){return o(t,e)},add:function(t,e){var i=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return r.add(t,e,i)},watch:function(t){return r.watchLocale(t)},getLocale:function(){return r.getLocale()},setLocale:function(t){return r.setLocale(t)}}},e.isI18nStr=k,e.isString=void 0,e.normalizeLocale=x,e.parseI18nJson=function t(e,i,n){w||(w=new u);return P(e,(function(e,a){var r=e[a];S(r)?k(r,n)&&(e[a]=C(r,i,n)):t(r,i,n)})),e},e.resolveLocale=function(t){return function(e){return e?(e=x(e)||e,function(t){var e=[],i=t.split("-");while(i.length)e.push(i.join("-")),i.pop();return e}(e).find((function(e){return t.indexOf(e)>-1}))):e}};var a=n(i("34cf")),r=n(i("67ad")),o=n(i("0bdb")),s=n(i("3b2d")),c=function(t){return null!==t&&"object"===(0,s.default)(t)},l=["{","}"],u=function(){function t(){(0,r.default)(this,t),this._caches=Object.create(null)}return(0,o.default)(t,[{key:"interpolate",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:l;if(!e)return[t];var n=this._caches[t];return n||(n=f(t,i),this._caches[t]=n),p(n,e)}}]),t}();e.Formatter=u;var h=/^(?:\d)+/,d=/^(?:\w)+/;function f(t,e){var i=(0,a.default)(e,2),n=i[0],r=i[1],o=[],s=0,c="";while(s<t.length){var l=t[s++];if(l===n){c&&o.push({type:"text",value:c}),c="";var u="";l=t[s++];while(void 0!==l&&l!==r)u+=l,l=t[s++];var f=l===r,p=h.test(u)?"list":f&&d.test(u)?"named":"unknown";o.push({value:u,type:p})}else c+=l}return c&&o.push({type:"text",value:c}),o}function p(t,e){var i=[],n=0,a=Array.isArray(e)?"list":c(e)?"named":"unknown";if("unknown"===a)return i;while(n<t.length){var r=t[n];switch(r.type){case"text":i.push(r.value);break;case"list":i.push(e[parseInt(r.value,10)]);break;case"named":"named"===a&&i.push(e[r.value]);break;case"unknown":0;break}n++}return i}e.LOCALE_ZH_HANS="zh-Hans";e.LOCALE_ZH_HANT="zh-Hant";e.LOCALE_EN="en";e.LOCALE_FR="fr";e.LOCALE_ES="es";var g=Object.prototype.hasOwnProperty,v=function(t,e){return g.call(t,e)},m=new u;function x(t,e){if(t){if(t=t.trim().replace(/_/g,"-"),e&&e[t])return t;if(t=t.toLowerCase(),"chinese"===t)return"zh-Hans";if(0===t.indexOf("zh"))return t.indexOf("-hans")>-1?"zh-Hans":t.indexOf("-hant")>-1||function(t,e){return!!e.find((function(e){return-1!==t.indexOf(e)}))}(t,["-tw","-hk","-mo","-cht"])?"zh-Hant":"zh-Hans";var i=["en","fr","es"];e&&Object.keys(e).length>0&&(i=Object.keys(e));var n=function(t,e){return e.find((function(e){return 0===t.indexOf(e)}))}(t,i);return n||void 0}}var y=function(){function t(e){var i=e.locale,n=e.fallbackLocale,a=e.messages,o=e.watcher,s=e.formater;(0,r.default)(this,t),this.locale="en",this.fallbackLocale="en",this.message={},this.messages={},this.watchers=[],n&&(this.fallbackLocale=n),this.formater=s||m,this.messages=a||{},this.setLocale(i||"en"),o&&this.watchLocale(o)}return(0,o.default)(t,[{key:"setLocale",value:function(t){var e=this,i=this.locale;this.locale=x(t,this.messages)||this.fallbackLocale,this.messages[this.locale]||(this.messages[this.locale]={}),this.message=this.messages[this.locale],i!==this.locale&&this.watchers.forEach((function(t){t(e.locale,i)}))}},{key:"getLocale",value:function(){return this.locale}},{key:"watchLocale",value:function(t){var e=this,i=this.watchers.push(t)-1;return function(){e.watchers.splice(i,1)}}},{key:"add",value:function(t,e){var i=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],n=this.messages[t];n?i?Object.assign(n,e):Object.keys(e).forEach((function(t){v(n,t)||(n[t]=e[t])})):this.messages[t]=e}},{key:"f",value:function(t,e,i){return this.formater.interpolate(t,e,i).join("")}},{key:"t",value:function(t,e,i){var n=this.message;return"string"===typeof e?(e=x(e,this.messages),e&&(n=this.messages[e])):i=e,v(n,t)?this.formater.interpolate(n[t],i).join(""):(console.warn("Cannot translate the value of keypath ".concat(t,". Use the value of keypath as default.")),t)}}]),t}();function _(t,e){t.$watchLocale?t.$watchLocale((function(t){e.setLocale(t)})):t.$watch((function(){return t.$locale}),(function(t){e.setLocale(t)}))}function b(){return"undefined"!==typeof uni&&uni.getLocale?uni.getLocale():"undefined"!==typeof t&&t.getLocale?t.getLocale():"en"}e.I18n=y;var w,S=function(t){return"string"===typeof t};function k(t,e){return t.indexOf(e[0])>-1}function C(t,e,i){return w.interpolate(t,e,i).join("")}function T(t,e,i){return P(t,(function(t,n){(function(t,e,i,n){var a=t[e];if(S(a)){if(k(a,n)&&(t[e]=C(a,i[0].values,n),i.length>1)){var r=t[e+"Locales"]={};i.forEach((function(t){r[t.locale]=C(a,t.values,n)}))}}else T(a,i,n)})(t,n,e,i)})),t}function P(t,e){if(Array.isArray(t)){for(var i=0;i<t.length;i++)if(e(t,i))return!0}else if(c(t))for(var n in t)if(e(t,n))return!0;return!1}e.isString=S}).call(this,i("0ee4"))},d551:function(t,e,i){var n=i("3b2d")["default"],a=i("e6db");t.exports=function(t){var e=a(t,"string");return"symbol"==n(e)?e:e+""},t.exports.__esModule=!0,t.exports["default"]=t.exports},dd3e:function(t,e){t.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},t.exports.__esModule=!0,t.exports["default"]=t.exports},dd49:function(t,e,i){"use strict";var n=i("47a9"),a=n(i("7ca3"));i("96bc");var r=n(i("62d4")),o=n(i("951c"));function s(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.push.apply(i,n)}return i}o.default.config.productionTip=!1,o.default.prototype.baseHttp="http://",r.default.mpType="app";var c=new o.default(function(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?s(Object(i),!0).forEach((function(e){(0,a.default)(t,e,i[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):s(Object(i)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))}))}return t}({},r.default));c.$mount()},dffb:function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return a})),i.d(e,"a",(function(){}));var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("view",{staticClass:t._$s(0,"sc","chartsview"),attrs:{_i:0}},[i("view",{staticClass:t._$s(1,"sc","charts-error"),attrs:{_i:1}}),i("view",{staticClass:t._$s(2,"sc","charts-font"),attrs:{_i:2}},[t._v(t._$s(2,"t0-0",t._s(null==t.errorMessage?"\u8bf7\u70b9\u51fb\u91cd\u8bd5":t.errorMessage)))])])},a=[]},e235:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=["#1890FF","#91CB74","#FAC858","#EE6666","#73C0DE","#3CA272","#FC8452","#9A60B4","#ea7ccc"],a={type:["pie","ring","rose","funnel","line","column","area","radar","gauge","candle","demotype"],categories:["line","column","area","radar","gauge","candle","demotype"],instance:{},option:{},formatter:{tooltipDemo1:function(t){var e="";for(var i in t){0==i&&(e+=t[i].axisValueLabel+"\u5e74\u9500\u552e\u989d");var n="--";null!==t[i].data&&(n=t[i].data),e+="<br/>"+t[i].marker+t[i].seriesName+"\uff1a"+n+" \u4e07\u5143"}return e},legendFormat:function(t){return"\u81ea\u5b9a\u4e49\u56fe\u4f8b+"+t},yAxisFormatDemo:function(t,e){return t+"\u5143"},seriesFormatDemo:function(t){return t.name+"\u5e74"+t.value+"\u5143"}},demotype:{color:n},column:{color:n,title:{text:""},tooltip:{trigger:"axis"},grid:{top:30,bottom:50,right:15,left:40},legend:{bottom:"left"},toolbox:{show:!1},xAxis:{type:"category",axisLabel:{color:"#666666"},axisLine:{lineStyle:{color:"#CCCCCC"}},boundaryGap:!0,data:[]},yAxis:{type:"value",axisTick:{show:!1},axisLabel:{color:"#666666"},axisLine:{lineStyle:{color:"#CCCCCC"}}},seriesTemplate:{name:"",type:"bar",data:[],barwidth:20,label:{show:!0,color:"#666666",position:"top"}}},line:{color:n,title:{text:""},tooltip:{trigger:"axis"},grid:{top:30,bottom:50,right:15,left:40},legend:{top:"left",textStyle:{color:"#cccccc"}},toolbox:{show:!1},xAxis:{type:"category",axisLabel:{color:"#CCCCCC"},axisLine:{lineStyle:{color:"#CCCCCC"}},boundaryGap:!1,data:[]},yAxis:{type:"value",axisTick:{show:!1},axisLabel:{color:"#CCCCCC"},axisLine:{lineStyle:{color:"#CCCCCC"}}},seriesTemplate:{name:"",type:"line",data:[],barwidth:20,label:{show:!1,color:"#666666",position:"top"}}},area:{color:n,title:{text:""},tooltip:{trigger:"axis"},grid:{top:30,bottom:50,right:15,left:40},legend:{bottom:"left"},toolbox:{show:!1},xAxis:{type:"category",axisLabel:{color:"#666666"},axisLine:{lineStyle:{color:"#CCCCCC"}},boundaryGap:!0,data:[]},yAxis:{type:"value",axisTick:{show:!1},axisLabel:{color:"#666666"},axisLine:{lineStyle:{color:"#CCCCCC"}}},seriesTemplate:{name:"",type:"line",data:[],areaStyle:{},label:{show:!0,color:"#666666",position:"top"}}},pie:{color:n,title:{text:""},tooltip:{trigger:"item"},grid:{top:40,bottom:30,right:15,left:15},legend:{bottom:"left"},seriesTemplate:{name:"",type:"pie",data:[],radius:"50%",label:{show:!0,color:"#666666",position:"top"}}},ring:{color:n,title:{text:""},tooltip:{trigger:"item"},grid:{top:40,bottom:30,right:15,left:15},legend:{bottom:"left",textStyle:{color:"#cccccc"}},seriesTemplate:{name:"",type:"pie",data:[],radius:["30%","60%"],avoidLabelOverlap:!1,label:{show:!1,color:"#FFF",position:"top"},labelLine:{show:!1}}},rose:{color:n,title:{text:""},tooltip:{trigger:"item"},legend:{top:"bottom"},seriesTemplate:{name:"",type:"pie",data:[],radius:"55%",center:["50%","50%"],roseType:"area"}},funnel:{color:n,title:{text:""},tooltip:{trigger:"item",formatter:"{b} : {c}%"},legend:{top:"bottom"},seriesTemplate:{name:"",type:"funnel",left:"10%",top:60,bottom:60,width:"80%",min:0,max:100,minSize:"0%",maxSize:"100%",sort:"descending",gap:2,label:{show:!0,position:"inside"},labelLine:{length:10,lineStyle:{width:1,type:"solid"}},itemStyle:{bordercolor:"#fff",borderwidth:1},emphasis:{label:{fontSize:20}},data:[]}},gauge:{color:n,tooltip:{formatter:"{a} <br/>{b} : {c}%"},seriesTemplate:{name:"\u4e1a\u52a1\u6307\u6807",type:"gauge",detail:{formatter:"{value}%"},data:[{value:50,name:"\u5b8c\u6210\u7387"}]}},candle:{xAxis:{data:[]},yAxis:{},color:n,title:{text:""},dataZoom:[{type:"inside",xAxisIndex:[0,1],start:10,end:100},{show:!0,xAxisIndex:[0,1],type:"slider",bottom:10,start:10,end:100}],seriesTemplate:{name:"",type:"k",data:[]}}},r=a;e.default=r},e286:function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return a})),i.d(e,"a",(function(){}));var n=function(){var t=this.$createElement,e=this._self._c||t;return e("view",{staticClass:this._$s(0,"sc","box"),attrs:{_i:0}},[e("view",{staticClass:this._$s(1,"sc","box-border box-border1"),attrs:{_i:1}}),e("view",{staticClass:this._$s(2,"sc","box-border box-border2"),attrs:{_i:2}}),e("view",{staticClass:this._$s(3,"sc","box-border box-border3"),attrs:{_i:3}}),e("view",{staticClass:this._$s(4,"sc","box-border box-border4"),attrs:{_i:4}}),e("view",{staticClass:this._$s(5,"sc","box-main"),attrs:{_i:5}},[this._t("default",null,{_i:6})],2)])},a=[]},e4d6:function(t,e,i){"use strict";i.r(e);var n=i("925e"),a=i("63c1");for(var r in a)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(r);var o=i("828b"),s=Object(o["a"])(a["default"],n["b"],n["c"],!1,null,null,null,!1,n["a"],void 0);e["default"]=s.exports},e6db:function(t,e,i){var n=i("3b2d")["default"];t.exports=function(t,e){if("object"!=n(t)||!t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var a=i.call(t,e||"default");if("object"!=n(a))return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)},t.exports.__esModule=!0,t.exports["default"]=t.exports},e7b9:function(t,e,i){"use strict";var n=i("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=n(i("2f40")),r=n(i("2fe5")),o=n(i("2f51")),s={en:a.default,"zh-Hans":r.default,"zh-Hant":o.default};e.default=s},e9e1:function(t,e,i){"use strict";i.r(e);var n=i("6f0f"),a=i.n(n);for(var r in n)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(r);e["default"]=a.a},ea8b:function(t,e,i){"use strict";i.r(e);var n=i("ce0e"),a=i.n(n);for(var r in n)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(r);e["default"]=a.a},ebd2:function(t,e,i){"use strict";var n=i("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=n(i("7996")),r=n(i("468a")),o=n(i("c959")),s=n(i("3c8c")),c=n(i("8a5a")),l={components:{Loading1:a.default,Loading2:r.default,Loading3:o.default,Loading4:s.default,Loading5:c.default},name:"qiun-loading",props:{loadingType:{type:Number,default:2}},data:function(){return{}}};e.default=l},ed43:function(t,e,i){"use strict";i.r(e);var n=i("6cb1"),a=i("7543");for(var r in a)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(r);var o=i("828b"),s=Object(o["a"])(a["default"],n["b"],n["c"],!1,null,null,null,!1,n["a"],void 0);e["default"]=s.exports},ed45:function(t,e){t.exports=function(t){if(Array.isArray(t))return t},t.exports.__esModule=!0,t.exports["default"]=t.exports},ed83:function(t,e,i){"use strict";(function(t){var n=i("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.Behavior=function(t){return t},e.Component=function(e){var i=function(e){var i=e.data,n=e.options,a=e.methods,r=e.behaviors,o=e.lifetimes,s=e.observers,u=e.relations,h=e.properties,f=e.pageLifetimes,p=e.externalClasses,g={mixins:[],props:{},watch:{},mpOptions:{mpObservers:[]}};return l(g),c(i,g),function(t,e){if(!t)return;e.mpOptions.options=t}(n,g),k(a,g),O(r,g),function(t,e){if(!t)return;C(t,e)}(o,g),function(t,e){if(!t)return;var i=e.mpOptions.mpObservers;Object.keys(t).forEach((function(e){i.push({paths:I(e),observer:t[e]})}))}(s,g),function(e,i){if(!e)return;Object.keys(e).forEach((function(i){var n=e[i];n.name=i,n.target=n.target?String(n.target):function(t,e){0===e.indexOf("/")&&(t="");var i=t.split("/"),n=e.split("/");i.pop();while(n.length){var a=n.shift();""!==a&&"."!==a&&(".."!==a?i.push(a):i.pop())}return i.join("/")}(t.__wxRoute,i)})),i.mpOptions.relations=e}(u,g),S(h,g),function(t,e){if(!t)return;b.forEach((function(i){var n=t[i];d(n)&&(e[_[i]]=n)}))}(f,g),function(t,e){if(!t)return;Array.isArray(t)||(t=[t]);e.mpOptions.externalClasses=t,e.mpOptions.properties||(e.mpOptions.properties=Object.create(null));t.forEach((function(t){e.mpOptions.properties[m(t)]={type:String,value:""}}))}(p,g),C(e,g),P(e),g}(e);i.mixins.unshift(Y),i.mpOptions.path=t.__wxRoute,function(t){t.onServiceAttached||(t.onServiceAttached=[]);t.onServiceAttached.push((function(){N(this,"linked")}))}(i),t.__wxComponents[t.__wxRoute]=i},e.Page=function(e){var i=function(t){var e={mixins:[],mpOptions:{}};return l(e),c(t.data,e),function(t,e){var i=Object.create(null);Object.keys(t).forEach((function(e){var n=t[e];d(n)&&-1===w.indexOf(e)&&(i[e]=n)})),e.methods=i}(t,e),function(t,e){Object.keys(t).forEach((function(i){-1!==w.indexOf(i)&&(e[i]=t[i])}))}(t,e),e}(e);i.mixins.unshift(Y),i.mpOptions.path=t.__wxRoute,t.__wxComponents[t.__wxRoute]=i},e.nextTick=e.default=void 0;var a,r=n(i("7ca3")),o=n(i("34cf")),s=n(i("951c"));function c(t,e){t&&(e.mpOptions.data=t)}function l(e){e.components=t.__wxVueOptions.components}var u=Object.prototype.toString,h=Object.prototype.hasOwnProperty;function d(t){return"function"===typeof t}function f(t){return"[object Object]"===u.call(t)}function p(t,e){return h.call(t,e)}function g(){}var v=/-(\w)/g,m=function(t){var e=Object.create(null);return function(i){var n=e[i];return n||(e[i]=t(i))}}((function(t){return t.replace(v,(function(t,e){return e?e.toUpperCase():""}))})),x={created:"onServiceCreated",attached:"onServiceAttached",ready:"mounted",moved:"moved",detached:"destroyed"},y=Object.keys(x),_={show:"onPageShow",hide:"onPageHide",resize:"onPageResize"},b=Object.keys(_),w=["onLoad","onShow","onReady","onHide","onUnload","onPullDownRefresh","onReachBottom","onShareAppMessage","onPageScroll","onResize","onTabItemTap"];function S(t,e){t&&(e.mpOptions.properties=t)}function k(t,e){t&&(t.$emit&&(console.warn('Method "$emit" conflicts with an existing Vue instance method'),delete t.$emit),e.methods=t)}function C(t,e){y.forEach((function(i){p(t,i)&&(e[x[i]]||(e[x[i]]=[])).push(t[i])}))}var T={"wx://form-field":{},"wx://component-export":{}};function P(t,e){(function(t){var e=t.behaviors,i=t.definitionFilter,n=[];if(Array.isArray(e)&&e.forEach((function(e){e="string"===typeof e?T[e]:e,e.definitionFilter&&(n.push(e.definitionFilter),e.definitionFilter.call(null,t,[]))})),d(i));})(t)}var A={"wx://form-field":{beforeCreate:function(){var t=this.$options.mpOptions;t.properties||(t.properties=Object.create(null));var e=t.properties;p(e,"name")||(e.name={type:String}),p(e,"value")||(e.value={type:String})}}};function O(t,e){t&&t.forEach((function(t){"string"===typeof t?A[t]&&e.mixins.push(A[t]):e.mixins.push(function(t){var e=t.data,i=t.methods,n=t.behaviors,a=t.properties,r={watch:{},mpOptions:{mpObservers:[]}};return c(e,r),k(i,r),O(n,r),S(a,r),C(t,r),P(t),r}(t))}))}function I(t){return t.split(",").map((function(t){return function(t){return t.split(".")}(t)}))}function L(t,e,i,n){if(e){var a="_$".concat(t,"Handlers");(n[a]||(n[a]=[])).push((function(){e.call(n,i)}))}}function D(t,e,i){var n=t.name,a=i._$relationNodes||(i._$relationNodes=Object.create(null));(a[n]||(a[n]=[])).push(e),L("linked",t["linked"],e,i)}function M(t,e,i){L("unlinked",t["unlinked"],e,i)}function E(t,e,i){var n=t&&t.$options.mpOptions&&t.$options.mpOptions.relations;if(!n)return[];var a=Object.keys(n).find((function(t){var a=n[t];return a.target===e&&a.type===i}));return a?[n[a],t]:[]}function F(t,e,i){var n=i(t,t.$options.mpOptions.path),a=(0,o.default)(n,2),r=a[0],s=a[1];r&&(D(r,t,s),D(e,s,t),M(r,t,s),M(e,s,t))}function $(t){var e=t.$options.mpOptions||{},i=e.relations;i&&Object.keys(i).forEach((function(e){(function(t,e){var i=t.type;"parent"===i?F(e,t,(function(t,e){return E(t.$parent,e,"child")})):"ancestor"===i&&F(e,t,(function(t,e){var i=t.$parent;while(i){var n=E(i,e,"descendant");if(n.length)return n;i=i.$parent}return[]}))})(i[e],t)}))}function N(t,e){var i=t["_$".concat(e,"Handlers")];i&&i.forEach((function(t){return t()}))}var R={enumerable:!0,configurable:!0,get:g,set:g};function j(t,e,i){R.get=function(){return this[e][i]},R.set=function(t){this[e][i]=t},Object.defineProperty(t,i,R)}function U(t,e){var i=this;f(t)&&(Object.keys(t).forEach((function(e){(function(t,e,i){var n=t.replace(/\[(\d+?)\]/g,".$1").split(".");return n.reduce((function(t,i,a){if(a!==n.length-1)return"undefined"===typeof t[i]&&(t[i]={}),t[i];t[i]=e}),i),1===n.length})(e,t[e],i.data)&&!p(i,e)&&j(i,"__data__",e)})),this.$forceUpdate(),d(e)&&this.$nextTick(e))}var B=Object.prototype.toString,z=function(t){return function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=arguments.length>1?arguments[1]:void 0,n=B.call(i);if("[object Array]"===n)return e=i.slice(0),e;if("[object Object]"===n){for(var a in i)e[a]=t(e[a],i[a]);return e}if("[object Date]"===n)return new Date(i.getTime());if("[object RegExp]"===n){var r=String(i),o=r.lastIndexOf("/");return new RegExp(r.slice(1,o),r.slice(o+1))}return i}("[object Array]"===B.call(t)?[]:{},t)},W=(a={},(0,r.default)(a,String,""),(0,r.default)(a,Number,0),(0,r.default)(a,Boolean,!1),(0,r.default)(a,Object,null),(0,r.default)(a,Array,[]),(0,r.default)(a,null,null),a);function q(t){return W[t]}function H(t){return f(t)?t.type:t}function G(t,e,i,n){var a=i[t];if(void 0!==a){var r=e[t],o=H(r);a=J(a,o);var s=r&&r.observer;return s&&setTimeout((function(){V(s,n,a)}),4),a}return function(t){return f(t)?p(t,"value")?t.value:q(t.type):q(t)}(e[t])}function J(t,e){return e===Boolean?!!t:e===String?String(t):t}function V(t,e,i,n){try{"function"===typeof t?t.call(e,i,n):"string"===typeof t&&"function"===typeof e[t]&&e[t](i,n)}catch(a){console.error("execute observer ".concat(t," callback fail! err: ").concat(a))}}function K(t){var e=t.$options.mpOptions&&t.$options.mpOptions.properties,i=t.$options.propsData;i&&e&&Object.keys(e).forEach((function(n){p(i,n)&&(t[n]=J(i[n],H(e[n])))}))}function X(t){var e=JSON.parse(JSON.stringify(t.$options.mpOptions.data||{}));t["__data__"]=e;var i={get:function(){return t["__data__"]},set:function(e){t["__data__"]=e}};Object.defineProperties(t,{data:i,properties:i}),t.setData=U,function(t,e){var i=t.$options.mpOptions.properties;if(i){var n=z(t.$options.propsData)||{},a=function(a){var r=!!f(i[a])&&i[a].observer,o=G(a,i,n,t);Object.defineProperty(e,a,{enumerable:!0,configurable:!0,get:function(){return o},set:function(e){var i=o;e===o||e!==e&&o!==o||(o=Array.isArray(e)?e.slice(0):e,r&&V(r,t,e,i),t.$forceUpdate())}})};for(var r in i)a(r)}}(t,e),Object.keys(e).forEach((function(e){j(t,"__data__",e)}))}var Y={beforeCreate:function(){this._renderProxy=this,this._$self=this,this._$noop=g},created:function(){X(this),function(t){var e=t.$emit;t.triggerEvent=function(i,n,a){var r={dataset:t.$el.dataset},o={target:r,currentTarget:r,detail:n,preventDefault:g,stopPropagation:g};e.call(t,i,o)},t.$emit=function(){t.triggerEvent.apply(t,arguments)},t.getRelationNodes=function(e){return(t._$relationNodes&&t._$relationNodes[e]||[]).filter((function(t){return!t._isDestroyed}))},t._$updateProperties=K}(this),$(this)},mounted:function(){(function(t){var e=t.$options.watch;e&&Object.keys(e).forEach((function(i){var n=e[i];if(n.mounted){var a=t[i],r=n.handler;"string"===typeof r&&(r=t[r]),r&&r.call(t,a,a)}}))})(this)},destroyed:function(){N(this,"unlinked")}};t.__wxRoute="",t.__wxComponents=Object.create(null),t.__wxVueOptions=Object.create(null);var Q=s.default.nextTick;e.nextTick=Q;var Z=uni.__$wx__,tt=Z;e.default=tt}).call(this,i("0ee4"))},ee10:function(t,e){function i(t,e,i,n,a,r,o){try{var s=t[r](o),c=s.value}catch(l){return void i(l)}s.done?e(c):Promise.resolve(c).then(n,a)}t.exports=function(t){return function(){var e=this,n=arguments;return new Promise((function(a,r){var o=t.apply(e,n);function s(t){i(o,a,r,s,c,"next",t)}function c(t){i(o,a,r,s,c,"throw",t)}s(void 0)}))}},t.exports.__esModule=!0,t.exports["default"]=t.exports},ee34:function(t,e,i){"use strict";i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return r})),i.d(e,"a",(function(){return n}));var n={qiunLoading:i("5f21").default,qiunError:i("9eba").default},a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("view",{staticClass:t._$s(0,"sc","chartsview"),attrs:{id:t._$s(0,"a-id","ChartBoxId"+t.cid),_i:0}},[t._$s(1,"i",t.mixinDatacomLoading)?i("view",{attrs:{_i:1}},[i("qiun-loading",{attrs:{loadingType:t.loadingType,_i:2}})],1):t._e(),t._$s(3,"i",t.mixinDatacomErrorMessage&&t.errorShow)?i("view",{attrs:{_i:3},on:{click:t.reloading}},[i("qiun-error",{attrs:{errorMessage:t.errorMessage,_i:4}})],1):t._e(),t._$s(5,"i",t.echarts)?[i("view",{directives:[{name:"show",rawName:"v-show",value:t._$s(6,"v-show",t.showchart),expression:"_$s(6,'v-show',showchart)"}],wxsProps:{"change:resize":"echartsResize","change:prop":"echartsOpts"},style:t._$s(6,"s",{background:t.background}),attrs:{"data-directory":t._$s(6,"a-data-directory",t.directory),id:t._$s(6,"a-id","EC"+t.cid),prop:t._$s(6,"change:echartsOpts",t.echartsOpts),resize:t._$s(6,"change:echartsResize",t.echartsResize),_i:6}})]:[i("view",{wxsProps:{"change:prop":"uchartsOpts"},attrs:{id:t._$s(8,"a-id","UC"+t.cid),prop:t._$s(8,"change:uchartsOpts",t.uchartsOpts),_i:8},on:{}},[i("canvas",{directives:[{name:"show",rawName:"v-show",value:t._$s(9,"v-show",t.showchart),expression:"_$s(9,'v-show',showchart)"}],style:t._$s(9,"s",{width:t.cWidth+"px",height:t.cHeight+"px",background:t.background}),attrs:{id:t._$s(9,"a-id",t.cid),canvasId:t._$s(9,"a-canvasId",t.cid),"disable-scroll":t._$s(9,"a-disable-scroll",t.disableScroll),_i:9},on:{error:t._error}})])]],2)},r=[]},f3b9:function(t,e,i){"use strict";function n(t){var e=Object.prototype.toString.call(t);return e.substring(8,e.length-1)}function a(){return"string"===typeof __channelId__&&__channelId__}function r(t,e){switch(n(e)){case"Function":return"function() { [native code] }";default:return e}}function o(t){for(var e=arguments.length,i=new Array(e>1?e-1:0),n=1;n<e;n++)i[n-1]=arguments[n];console[t].apply(console,i)}function s(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];var o=e.shift();if(a())return e.push(e.pop().replace("at ","uni-app:///")),console[o].apply(console,e);var s=e.map((function(t){var e=Object.prototype.toString.call(t).toLowerCase();if("[object object]"===e||"[object array]"===e)try{t="---BEGIN:JSON---"+JSON.stringify(t,r)+"---END:JSON---"}catch(a){t=e}else if(null===t)t="---NULL---";else if(void 0===t)t="---UNDEFINED---";else{var i=n(t).toUpperCase();t="NUMBER"===i||"BOOLEAN"===i?"---BEGIN:"+i+"---"+t+"---END:"+i+"---":String(t)}return t})),c="";if(s.length>1){var l=s.pop();c=s.join("---COMMA---"),0===l.indexOf(" at ")?c+=l:c+="---COMMA---"+l}else c=s[0];console[o](c)}i.r(e),i.d(e,"log",(function(){return o})),i.d(e,"default",(function(){return s}))},f92d:function(t,e,i){"use strict";(function(t){var n=i("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=n(i("af34")),r=n(i("3b2d")),o=n(i("7ca3")),s=i("c552");function c(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.push.apply(i,n)}return i}function l(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?c(Object(i),!0).forEach((function(e){(0,o.default)(t,e,i[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):c(Object(i)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))}))}return t}var u={name:"uniTransition",emits:["click","change"],props:{show:{type:Boolean,default:!1},modeClass:{type:[Array,String],default:function(){return"fade"}},duration:{type:Number,default:300},styles:{type:Object,default:function(){return{}}},customClass:{type:String,default:""}},data:function(){return{isShow:!1,transform:"",opacity:1,animationData:{},durationTime:300,config:{}}},watch:{show:{handler:function(t){t?this.open():this.isShow&&this.close()},immediate:!0}},computed:{stylesObject:function(){var t=l(l({},this.styles),{},{"transition-duration":this.duration/1e3+"s"}),e="";for(var i in t){var n=this.toLine(i);e+=n+":"+t[i]+";"}return e},transformStyles:function(){return"transform:"+this.transform+";opacity:"+this.opacity+";"+this.stylesObject}},created:function(){this.config={duration:this.duration,timingFunction:"ease",transformOrigin:"50% 50%",delay:0},this.durationTime=this.duration},methods:{init:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};t.duration&&(this.durationTime=t.duration),this.animation=(0,s.createAnimation)(Object.assign(this.config,t),this)},onClick:function(){this.$emit("click",{detail:this.isShow})},step:function(e){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(this.animation){for(var n in e)try{var o;if("object"===(0,r.default)(e[n]))(o=this.animation)[n].apply(o,(0,a.default)(e[n]));else this.animation[n](e[n])}catch(s){t("error","\u65b9\u6cd5 ".concat(n," \u4e0d\u5b58\u5728")," at uni_modules/uni-transition/components/uni-transition/uni-transition.vue:139")}return this.animation.step(i),this}},run:function(t){this.animation&&this.animation.run(t)},open:function(){var t=this;clearTimeout(this.timer),this.transform="",this.isShow=!0;var e=this.styleInit(!1),i=e.opacity,n=e.transform;"undefined"!==typeof i&&(this.opacity=i),this.transform=n,this.$nextTick((function(){t.timer=setTimeout((function(){t.animation=(0,s.createAnimation)(t.config,t),t.tranfromInit(!1).step(),t.animation.run(),t.$emit("change",{detail:t.isShow})}),20)}))},close:function(t){var e=this;this.animation&&this.tranfromInit(!0).step().run((function(){e.isShow=!1,e.animationData=null,e.animation=null;var t=e.styleInit(!1),i=t.opacity,n=t.transform;e.opacity=i||1,e.transform=n,e.$emit("change",{detail:e.isShow})}))},styleInit:function(t){var e=this,i={transform:""},n=function(t,n){"fade"===n?i.opacity=e.animationType(t)[n]:i.transform+=e.animationType(t)[n]+" "};return"string"===typeof this.modeClass?n(t,this.modeClass):this.modeClass.forEach((function(e){n(t,e)})),i},tranfromInit:function(t){var e=this,i=function(t,i){var n=null;"fade"===i?n=t?0:1:(n=t?"-100%":"0","zoom-in"===i&&(n=t?.8:1),"zoom-out"===i&&(n=t?1.2:1),"slide-right"===i&&(n=t?"100%":"0"),"slide-bottom"===i&&(n=t?"100%":"0")),e.animation[e.animationMode()[i]](n)};return"string"===typeof this.modeClass?i(t,this.modeClass):this.modeClass.forEach((function(e){i(t,e)})),this.animation},animationType:function(t){return{fade:t?1:0,"slide-top":"translateY(".concat(t?"0":"-100%",")"),"slide-right":"translateX(".concat(t?"0":"100%",")"),"slide-bottom":"translateY(".concat(t?"0":"100%",")"),"slide-left":"translateX(".concat(t?"0":"-100%",")"),"zoom-in":"scaleX(".concat(t?1:.8,") scaleY(").concat(t?1:.8,")"),"zoom-out":"scaleX(".concat(t?1:1.2,") scaleY(").concat(t?1:1.2,")")}},animationMode:function(){return{fade:"opacity","slide-top":"translateY","slide-right":"translateX","slide-bottom":"translateY","slide-left":"translateX","zoom-in":"scale","zoom-out":"scale"}},toLine:function(t){return t.replace(/([A-Z])/g,"-$1").toLowerCase()}}};e.default=u}).call(this,i("f3b9")["default"])}},[["dd49","app-config"]]]);
\ No newline at end of file
+(this["webpackJsonp"]=this["webpackJsonp"]||[]).push([["app-service"],{"011a":function(t,e){function i(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(t.exports=i=function(){return!!e},t.exports.__esModule=!0,t.exports["default"]=t.exports)()}t.exports=i,t.exports.__esModule=!0,t.exports["default"]=t.exports},"0477":function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return a})),i.d(e,"a",(function(){}));var n=function(){var t=this.$createElement,e=this._self._c||t;return e("view",{staticClass:this._$s(0,"sc","container loading1"),attrs:{_i:0}},[e("view",{staticClass:this._$s(1,"sc","shape shape1"),attrs:{_i:1}}),e("view",{staticClass:this._$s(2,"sc","shape shape2"),attrs:{_i:2}}),e("view",{staticClass:this._$s(3,"sc","shape shape3"),attrs:{_i:3}}),e("view",{staticClass:this._$s(4,"sc","shape shape4"),attrs:{_i:4}})])},a=[]},"0671":function(t,e,i){"use strict";i.r(e);var n=i("5e84"),a=i.n(n);for(var r in n)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(r);e["default"]=a.a},"078f":function(t,e,i){"use strict";i.r(e);var n=i("c681"),a=i.n(n);for(var r in n)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(r);e["default"]=a.a},"0bdb":function(t,e,i){var n=i("d551");function a(t,e){for(var i=0;i<e.length;i++){var a=e[i];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,n(a.key),a)}}t.exports=function(t,e,i){return e&&a(t.prototype,e),i&&a(t,i),Object.defineProperty(t,"prototype",{writable:!1}),t},t.exports.__esModule=!0,t.exports["default"]=t.exports},"0c2e":function(t,e,i){t.exports=i.p+"static/e1.png"},"0ee4":function(t,e){var i;i=function(){return this}();try{i=i||new Function("return this")()}catch(n){"object"===typeof window&&(i=window)}t.exports=i},"127e":function(t,e,i){var n=i("3b2d"),a=i("9fc1")();t.exports=a;try{regeneratorRuntime=a}catch(r){"object"===("undefined"===typeof globalThis?"undefined":n(globalThis))?globalThis.regeneratorRuntime=a:Function("r","regeneratorRuntime = r")(a)}},1511:function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return a})),i.d(e,"a",(function(){}));var n=function(){var t=this.$createElement,e=this._self._c||t;return e("view",{staticClass:this._$s(0,"sc","container loading2"),attrs:{_i:0}},[e("view",{staticClass:this._$s(1,"sc","shape shape1"),attrs:{_i:1}}),e("view",{staticClass:this._$s(2,"sc","shape shape2"),attrs:{_i:2}}),e("view",{staticClass:this._$s(3,"sc","shape shape3"),attrs:{_i:3}}),e("view",{staticClass:this._$s(4,"sc","shape shape4"),attrs:{_i:4}})])},a=[]},1611:function(t,e,i){"use strict";(function(t,n){var a=i("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=a(i("3b2d")),o=(a(i("17c3")),a(i("1a14"))),s=a(i("e235"));function c(){for(var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length,i=new Array(e>1?e-1:0),n=1;n<e;n++)i[n-1]=arguments[n];for(var a in i)for(var o in i[a])i[a].hasOwnProperty(o)&&(t[o]=i[a][o]&&"object"===(0,r.default)(i[a][o])?c(Array.isArray(i[a][o])?[]:{},t[o],i[a][o]):i[a][o]);return t}function l(t){var e=t.getFullYear(),i=t.getMonth()+1,n=t.getDate();i>=1&&i<=9&&(i="0"+i),n>=0&&n<=9&&(n="0"+n);var a=e+"-"+i+"-"+n;return a}var u={name:"qiun-data-charts",mixins:[t.mixinDatacom],props:{type:{type:String,default:null},canvasId:{type:String,default:"uchartsid"},canvas2d:{type:Boolean,default:!1},background:{type:String,default:"rgba(0,0,0,0)"},animation:{type:Boolean,default:!0},chartData:{type:Object,default:function(){return{categories:[],series:[]}}},opts:{type:Object,default:function(){return{}}},eopts:{type:Object,default:function(){return{}}},loadingType:{type:Number,default:2},errorShow:{type:Boolean,default:!0},errorReload:{type:Boolean,default:!0},errorMessage:{type:String,default:null},inScrollView:{type:Boolean,default:!1},reshow:{type:Boolean,default:!1},reload:{type:Boolean,default:!1},disableScroll:{type:Boolean,default:!1},optsWatch:{type:Boolean,default:!0},onzoom:{type:Boolean,default:!1},ontap:{type:Boolean,default:!0},ontouch:{type:Boolean,default:!1},onmouse:{type:Boolean,default:!0},onmovetip:{type:Boolean,default:!1},echartsH5:{type:Boolean,default:!1},echartsApp:{type:Boolean,default:!1},tooltipShow:{type:Boolean,default:!0},tooltipFormat:{type:String,default:void 0},tooltipCustom:{type:Object,default:void 0},startDate:{type:String,default:void 0},endDate:{type:String,default:void 0},textEnum:{type:Array,default:function(){return[]}},groupEnum:{type:Array,default:function(){return[]}},pageScrollTop:{type:Number,default:0},directory:{type:String,default:"/"},tapLegend:{type:Boolean,default:!0},menus:{type:Array,default:function(){return[]}}},data:function(){return{cid:"uchartsid",inWx:!1,inAli:!1,inTt:!1,inBd:!1,inH5:!1,inApp:!1,inWin:!1,type2d:!0,disScroll:!1,openmouse:!1,pixel:1,cWidth:375,cHeight:250,showchart:!1,echarts:!1,echartsResize:{state:!1},uchartsOpts:{},echartsOpts:{},drawData:{},lastDrawTime:null}},created:function(){if(this.cid=this.canvasId,"uchartsid"==this.canvasId||""==this.canvasId){for(var t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",e=t.length,i="",n=0;n<32;n++)i+=t.charAt(Math.floor(Math.random()*e));this.cid=i}var a=uni.getSystemInfoSync();"windows"!==a.platform&&"mac"!==a.platform||(this.inWin=!0),this.type2d=!1,this.disScroll=this.disableScroll},mounted:function(){var t=this;this.inApp=!0,!0===this.echartsApp&&(this.echarts=!0,this.openmouse=!1),this.$nextTick((function(){t.beforeInit()}))},destroyed:function(){!0===this.echarts?(delete s.default.option[this.cid],delete s.default.instance[this.cid]):(delete o.default.option[this.cid],delete o.default.instance[this.cid]),uni.offWindowResize((function(){}))},watch:{chartDataProps:{handler:function(t,e){"object"===(0,r.default)(t)?JSON.stringify(t)!==JSON.stringify(e)&&(this._clearChart(),t.series&&t.series.length>0?this.beforeInit():(this.mixinDatacomLoading=!0,this.showchart=!1,this.mixinDatacomErrorMessage=null)):(this.mixinDatacomLoading=!1,this._clearChart(),this.showchart=!1,this.mixinDatacomErrorMessage="\u53c2\u6570\u9519\u8bef\uff1achartData\u6570\u636e\u7c7b\u578b\u9519\u8bef")},immediate:!1,deep:!0},localdata:{handler:function(t,e){JSON.stringify(t)!==JSON.stringify(e)&&(t.length>0?this.beforeInit():(this.mixinDatacomLoading=!0,this._clearChart(),this.showchart=!1,this.mixinDatacomErrorMessage=null))},immediate:!1,deep:!0},optsProps:{handler:function(t,e){"object"===(0,r.default)(t)?JSON.stringify(t)!==JSON.stringify(e)&&!1===this.echarts&&1==this.optsWatch&&this.checkData(this.drawData):(this.mixinDatacomLoading=!1,this._clearChart(),this.showchart=!1,this.mixinDatacomErrorMessage="\u53c2\u6570\u9519\u8bef\uff1aopts\u6570\u636e\u7c7b\u578b\u9519\u8bef")},immediate:!1,deep:!0},eoptsProps:{handler:function(t,e){"object"===(0,r.default)(t)?JSON.stringify(t)!==JSON.stringify(e)&&!0===this.echarts&&this.checkData(this.drawData):(this.mixinDatacomLoading=!1,this.showchart=!1,this.mixinDatacomErrorMessage="\u53c2\u6570\u9519\u8bef\uff1aeopts\u6570\u636e\u7c7b\u578b\u9519\u8bef")},immediate:!1,deep:!0},reshow:function(t,e){var i=this;!0===t&&!1===this.mixinDatacomLoading&&setTimeout((function(){i.mixinDatacomErrorMessage=null,i.echartsResize.state=!i.echartsResize.state,i.checkData(i.drawData)}),200)},reload:function(t,e){!0===t&&(this.showchart=!1,this.mixinDatacomErrorMessage=null,this.reloading())},mixinDatacomErrorMessage:function(t,e){t&&(this.emitMsg({name:"error",params:{type:"error",errorShow:this.errorShow,msg:t,id:this.cid}}),this.errorShow&&n("log","[\u79cb\u4e91\u56fe\u8868\u7ec4\u4ef6]"+t," at uni_modules/qiun-data-charts/components/qiun-data-charts/qiun-data-charts.vue:611"))},errorMessage:function(t,e){t&&this.errorShow&&null!==t&&"null"!==t&&""!==t?(this.showchart=!1,this.mixinDatacomLoading=!1,this.mixinDatacomErrorMessage=t):(this.showchart=!1,this.mixinDatacomErrorMessage=null,this.reloading())}},computed:{optsProps:function(){return JSON.parse(JSON.stringify(this.opts))},eoptsProps:function(){return JSON.parse(JSON.stringify(this.eopts))},chartDataProps:function(){return JSON.parse(JSON.stringify(this.chartData))}},methods:{beforeInit:function(){this.mixinDatacomErrorMessage=null,"object"===(0,r.default)(this.chartData)&&null!=this.chartData&&void 0!==this.chartData.series&&this.chartData.series.length>0?(this.drawData=c({},this.chartData),this.mixinDatacomLoading=!1,this.showchart=!0,this.checkData(this.chartData)):this.localdata.length>0?(this.mixinDatacomLoading=!1,this.showchart=!0,this.localdataInit(this.localdata)):""!==this.collection?(this.mixinDatacomLoading=!1,this.getCloudData()):this.mixinDatacomLoading=!0},localdataInit:function(t){if(this.groupEnum.length>0)for(var e=0;e<t.length;e++)for(var i=0;i<this.groupEnum.length;i++)t[e].group===this.groupEnum[i].value&&(t[e].group=this.groupEnum[i].text);if(this.textEnum.length>0)for(var n=0;n<t.length;n++)for(var a=0;a<this.textEnum.length;a++)t[n].text===this.textEnum[a].value&&(t[n].text=this.textEnum[a].text);var r=!1,u={categories:[],series:[]},h=[],d=[];if(r=!0===this.echarts?s.default.categories.includes(this.type):o.default.categories.includes(this.type),!0===r){if(this.chartData&&this.chartData.categories&&this.chartData.categories.length>0)h=this.chartData.categories;else if(this.startDate&&this.endDate){var f=new Date(this.startDate),p=new Date(this.endDate);while(f<=p)h.push(l(f)),f=f.setDate(f.getDate()+1),f=new Date(f)}else{var g={};t.map((function(t,e){void 0==t.text||g[t.text]||(h.push(t.text),g[t.text]=!0)}))}u.categories=h}var v={};if(t.map((function(t,e){void 0==t.group||v[t.group]||(d.push({name:t.group,data:[]}),v[t.group]=!0)})),0==d.length)if(d=[{name:"\u9ed8\u8ba4\u5206\u7ec4",data:[]}],!0===r)for(var m=0;m<h.length;m++){for(var x=0,y=0;y<t.length;y++)t[y].text==h[m]&&(x=t[y].value);d[0].data.push(x)}else for(var _=0;_<t.length;_++)d[0].data.push({name:t[_].text,value:t[_].value});else for(var b=0;b<d.length;b++)if(h.length>0)for(var w=0;w<h.length;w++){for(var S=0,k=0;k<t.length;k++)d[b].name==t[k].group&&t[k].text==h[w]&&(S=t[k].value);d[b].data.push(S)}else for(var C=0;C<t.length;C++)d[b].name==t[C].group&&d[b].data.push(t[C].value);u.series=d,this.drawData=c({},u),this.checkData(u)},reloading:function(){!1!==this.errorReload&&(this.showchart=!1,this.mixinDatacomErrorMessage=null,""!==this.collection?(this.mixinDatacomLoading=!1,this.onMixinDatacomPropsChange(!0)):this.beforeInit())},checkData:function(t){var e=this,i=this.cid;!0===this.echarts?(s.default.option[i]=c({},this.eopts),s.default.option[i].id=i,s.default.option[i].type=this.type):this.type&&o.default.type.includes(this.type)?(o.default.option[i]=c({},o.default[this.type],this.opts),o.default.option[i].canvasId=i):(this.mixinDatacomLoading=!1,this.showchart=!1,this.mixinDatacomErrorMessage="\u53c2\u6570\u9519\u8bef\uff1aprops\u53c2\u6570\u4e2dtype\u7c7b\u578b\u4e0d\u6b63\u786e");var n=c({},t);void 0!==n.series&&n.series.length>0&&(this.mixinDatacomErrorMessage=null,!0===this.echarts?(s.default.option[i].chartData=n,this.$nextTick((function(){e.init()}))):(o.default.option[i].categories=n.categories,o.default.option[i].series=n.series,this.$nextTick((function(){e.init()}))))},resizeHandler:function(){var t=this,e=Date.now(),i=this.lastDrawTime?this.lastDrawTime:e-3e3,n=e-i;if(!(n<1e3))uni.createSelectorQuery().in(this).select("#ChartBoxId"+this.cid).boundingClientRect((function(e){t.showchart=!0,e.width>0&&e.height>0&&(e.width===t.cWidth&&e.height===t.cHeight||t.checkData(t.drawData))})).exec()},getCloudData:function(){var t=this;1!=this.mixinDatacomLoading&&(this.mixinDatacomLoading=!0,this.mixinDatacomGet().then((function(e){t.mixinDatacomResData=e.result.data,t.localdataInit(t.mixinDatacomResData)})).catch((function(e){t.mixinDatacomLoading=!1,t.showchart=!1,t.mixinDatacomErrorMessage="\u8bf7\u6c42\u9519\u8bef\uff1a"+e})))},onMixinDatacomPropsChange:function(t,e){1==t&&""!==this.collection&&(this.showchart=!1,this.mixinDatacomErrorMessage=null,this._clearChart(),this.getCloudData())},_clearChart:function(){var t=this.cid;if(!0!==this.echarts&&o.default.option[t]&&o.default.option[t].context){var e=o.default.option[t].context;"object"!==(0,r.default)(e)||o.default.option[t].update||(e.clearRect(0,0,this.cWidth*this.pixel,this.cHeight*this.pixel),e.draw())}},init:function(){var t=this,e=this.cid;uni.createSelectorQuery().in(this).select("#ChartBoxId"+e).boundingClientRect((function(i){i.width>0&&i.height>0?(t.mixinDatacomLoading=!1,t.showchart=!0,t.lastDrawTime=Date.now(),t.cWidth=i.width,t.cHeight=i.height,!0!==t.echarts&&(o.default.option[e].background="rgba(0,0,0,0)"==t.background?"#FFFFFF":t.background,o.default.option[e].canvas2d=t.type2d,o.default.option[e].pixelRatio=t.pixel,o.default.option[e].animation=t.animation,o.default.option[e].width=i.width*t.pixel,o.default.option[e].height=i.height*t.pixel,o.default.option[e].onzoom=t.onzoom,o.default.option[e].ontap=t.ontap,o.default.option[e].ontouch=t.ontouch,o.default.option[e].onmouse=t.openmouse,o.default.option[e].onmovetip=t.onmovetip,o.default.option[e].tooltipShow=t.tooltipShow,o.default.option[e].tooltipFormat=t.tooltipFormat,o.default.option[e].tooltipCustom=t.tooltipCustom,o.default.option[e].inScrollView=t.inScrollView,o.default.option[e].lastDrawTime=t.lastDrawTime,o.default.option[e].tapLegend=t.tapLegend),t.inH5||t.inApp?1==t.echarts?(s.default.option[e].ontap=t.ontap,s.default.option[e].onmouse=t.openmouse,s.default.option[e].tooltipShow=t.tooltipShow,s.default.option[e].tooltipFormat=t.tooltipFormat,s.default.option[e].tooltipCustom=t.tooltipCustom,s.default.option[e].lastDrawTime=t.lastDrawTime,t.echartsOpts=c({},s.default.option[e])):(o.default.option[e].rotateLock=o.default.option[e].rotate,t.uchartsOpts=c({},o.default.option[e])):(o.default.option[e]=function t(e,i){for(var n in e)e.hasOwnProperty(n)&&null!==e[n]&&"object"===(0,r.default)(e[n])?t(e[n],i):"format"===n&&"string"===typeof e[n]&&(e["formatter"]=i[e[n]]?i[e[n]]:void 0);return e}(o.default.option[e],o.default.formatter),t.mixinDatacomErrorMessage=null,t.mixinDatacomLoading=!1,t.showchart=!0,t.$nextTick((function(){if(!0===t.type2d){var n=uni.createSelectorQuery().in(t);n.select("#"+e).fields({node:!0,size:!0}).exec((function(n){if(n[0]){var a=n[0].node,r=a.getContext("2d");o.default.option[e].context=r,o.default.option[e].rotateLock=o.default.option[e].rotate,o.default.instance[e]&&o.default.option[e]&&!0===o.default.option[e].update?t._updataUChart(e):(a.width=i.width*t.pixel,a.height=i.height*t.pixel,a._width=i.width*t.pixel,a._height=i.height*t.pixel,setTimeout((function(){o.default.option[e].context.restore(),o.default.option[e].context.save(),t._newChart(e)}),100))}else t.showchart=!1,t.mixinDatacomErrorMessage="\u53c2\u6570\u9519\u8bef\uff1a\u5f00\u542f2d\u6a21\u5f0f\u540e\uff0c\u672a\u83b7\u53d6\u5230dom\u8282\u70b9\uff0ccanvas-id:"+e}))}else t.inAli&&(o.default.option[e].rotateLock=o.default.option[e].rotate),o.default.option[e].context=uni.createCanvasContext(e,t),o.default.instance[e]&&o.default.option[e]&&!0===o.default.option[e].update?t._updataUChart(e):setTimeout((function(){o.default.option[e].context.restore(),o.default.option[e].context.save(),t._newChart(e)}),100)})))):(t.mixinDatacomLoading=!1,t.showchart=!1,1==t.reshow&&(t.mixinDatacomErrorMessage="\u5e03\u5c40\u9519\u8bef\uff1a\u672a\u83b7\u53d6\u5230\u7236\u5143\u7d20\u5bbd\u9ad8\u5c3a\u5bf8\uff01canvas-id:"+e))})).exec()},saveImage:function(){uni.canvasToTempFilePath({canvasId:this.cid,success:function(t){uni.saveImageToPhotosAlbum({filePath:t.tempFilePath,success:function(){uni.showToast({title:"\u4fdd\u5b58\u6210\u529f",duration:2e3})}})}},this)},getImage:function(){var t=this;if(0==this.type2d)uni.canvasToTempFilePath({canvasId:this.cid,success:function(e){t.emitMsg({name:"getImage",params:{type:"getImage",base64:e.tempFilePath}})}},this);else{var e=uni.createSelectorQuery().in(this);e.select("#"+this.cid).fields({node:!0,size:!0}).exec((function(e){if(e[0]){var i=e[0].node;t.emitMsg({name:"getImage",params:{type:"getImage",base64:i.toDataURL("image/png")}})}}))}},_error:function(t){this.mixinDatacomErrorMessage=t.detail.errMsg},emitMsg:function(t){this.$emit(t.name,t.params)},getRenderType:function(){!0===this.echarts&&!1===this.mixinDatacomLoading&&this.beforeInit()},toJSON:function(){return this}}};e.default=u}).call(this,i("861b")["uniCloud"],i("f3b9")["default"])},"17c3":function(t,e,i){"use strict";(function(t){var n=i("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=n(i("34cf")),r=n(i("3b2d")),o={version:"v2.4.4-20221102",yAxisWidth:15,xAxisHeight:22,xAxisTextPadding:3,padding:[10,10,10,10],pixelRatio:1,rotate:!1,fontSize:13,fontColor:"#666666",dataPointShape:["circle","circle","circle","circle"],color:["#1890FF","#91CB74","#FAC858","#EE6666","#73C0DE","#3CA272","#FC8452","#9A60B4","#ea7ccc"],linearColor:["#0EE2F8","#2BDCA8","#FA7D8D","#EB88E2","#2AE3A0","#0EE2F8","#EB88E2","#6773E3","#F78A85"],pieChartLinePadding:15,pieChartTextPadding:5,titleFontSize:20,subtitleFontSize:15,toolTipPadding:3,toolTipBackground:"#000000",toolTipOpacity:.7,toolTipLineHeight:20,radarLabelTextMargin:13},s=function(t){for(var e=arguments.length,i=new Array(e>1?e-1:0),n=1;n<e;n++)i[n-1]=arguments[n];if(null==t)throw new TypeError("[uCharts] Cannot convert undefined or null to object");if(!i||i.length<=0)return t;function a(t,e){for(var i in e)t[i]=t[i]&&"[object Object]"===t[i].toString()?a(t[i],e[i]):t[i]=e[i];return t}return i.forEach((function(e){t=a(t,e)})),t},c={toFixed:function(t,e){return e=e||2,this.isFloat(t)&&(t=t.toFixed(e)),t},isFloat:function(t){return t%1!==0},approximatelyEqual:function(t,e){return Math.abs(t-e)<1e-10},isSameSign:function(t,e){return Math.abs(t)===t&&Math.abs(e)===e||Math.abs(t)!==t&&Math.abs(e)!==e},isSameXCoordinateArea:function(t,e){return this.isSameSign(t.x,e.x)},isCollision:function(t,e){t.end={},t.end.x=t.start.x+t.width,t.end.y=t.start.y-t.height,e.end={},e.end.x=e.start.x+e.width,e.end.y=e.start.y-e.height;var i=e.start.x>t.end.x||e.end.x<t.start.x||e.end.y>t.start.y||e.start.y<t.end.y;return!i}};function l(t,e){var i=t.replace(/^#?([a-f\d])([a-f\d])([a-f\d])$/i,(function(t,e,i,n){return e+e+i+i+n+n})),n=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(i),a=parseInt(n[1],16),r=parseInt(n[2],16),o=parseInt(n[3],16);return"rgba("+a+","+r+","+o+","+e+")"}function u(t,e,i){if(isNaN(t))throw new Error("[uCharts] series\u6570\u636e\u9700\u4e3aNumber\u683c\u5f0f");i=i||10,e=e||"upper";var n=1;while(i<1)i*=10,n*=10;t="upper"===e?Math.ceil(t*n):Math.floor(t*n);while(t%i!==0)if("upper"===e){if(t==t+1)break;t++}else t--;return t/n}function h(t,e,i,n,a){var r=a.width-a.area[1]-a.area[3],o=i.eachSpacing*(a.chartData.xAxisData.xAxisPoints.length-1);"mount"==a.type&&a.extra&&a.extra.mount&&a.extra.mount.widthRatio&&a.extra.mount.widthRatio>1&&(a.extra.mount.widthRatio>2&&(a.extra.mount.widthRatio=2),o+=(a.extra.mount.widthRatio-1)*i.eachSpacing);var s=e;return e>=0?(s=0,t.uevent.trigger("scrollLeft"),t.scrollOption.position="left",a.xAxis.scrollPosition="left"):Math.abs(e)>=o-r?(s=r-o,t.uevent.trigger("scrollRight"),t.scrollOption.position="right",a.xAxis.scrollPosition="right"):(t.scrollOption.position=e,a.xAxis.scrollPosition=e),s}function d(t,e,i){function n(t){while(t<0)t+=2*Math.PI;while(t>2*Math.PI)t-=2*Math.PI;return t}return t=n(t),e=n(e),i=n(i),e>i&&(i+=2*Math.PI,t<e&&(t+=2*Math.PI)),t>=e&&t<=i}function f(t,e){function i(t,e){return!(!t[e-1]||!t[e+1])&&(t[e].y>=Math.max(t[e-1].y,t[e+1].y)||t[e].y<=Math.min(t[e-1].y,t[e+1].y))}function n(t,e){return!(!t[e-1]||!t[e+1])&&(t[e].x>=Math.max(t[e-1].x,t[e+1].x)||t[e].x<=Math.min(t[e-1].x,t[e+1].x))}var a=.2,r=.2,o=null,s=null,c=null,l=null;if(e<1?(o=t[0].x+(t[1].x-t[0].x)*a,s=t[0].y+(t[1].y-t[0].y)*a):(o=t[e].x+(t[e+1].x-t[e-1].x)*a,s=t[e].y+(t[e+1].y-t[e-1].y)*a),e>t.length-3){var u=t.length-1;c=t[u].x-(t[u].x-t[u-1].x)*r,l=t[u].y-(t[u].y-t[u-1].y)*r}else c=t[e+1].x-(t[e+2].x-t[e].x)*r,l=t[e+1].y-(t[e+2].y-t[e].y)*r;return i(t,e+1)&&(l=t[e+1].y),i(t,e)&&(s=t[e].y),n(t,e+1)&&(c=t[e+1].x),n(t,e)&&(o=t[e].x),(s>=Math.max(t[e].y,t[e+1].y)||s<=Math.min(t[e].y,t[e+1].y))&&(s=t[e].y),(l>=Math.max(t[e].y,t[e+1].y)||l<=Math.min(t[e].y,t[e+1].y))&&(l=t[e+1].y),(o>=Math.max(t[e].x,t[e+1].x)||o<=Math.min(t[e].x,t[e+1].x))&&(o=t[e].x),(c>=Math.max(t[e].x,t[e+1].x)||c<=Math.min(t[e].x,t[e+1].x))&&(c=t[e+1].x),{ctrA:{x:o,y:s},ctrB:{x:c,y:l}}}function p(t,e,i){return{x:i.x+t,y:i.y-e}}function g(t,e){if(e)while(c.isCollision(t,e))t.start.x>0?t.start.y--:t.start.x<0||t.start.y>0?t.start.y++:t.start.y--;return t}function v(t,e,i){for(var n=0,a=0;a<t.length;a++){var r=t[a];if(r.color||(r.color=i.color[n],n=(n+1)%i.color.length),r.linearIndex||(r.linearIndex=a),r.index||(r.index=0),r.type||(r.type=e.type),"undefined"==typeof r.show&&(r.show=!0),r.type||(r.type=e.type),r.pointShape||(r.pointShape="circle"),!r.legendShape)switch(r.type){case"line":r.legendShape="line";break;case"column":case"bar":r.legendShape="rect";break;case"area":case"mount":r.legendShape="triangle";break;default:r.legendShape="circle"}}return t}function m(t,e,i,n){var a=e||[];if("custom"==t&&0==a.length&&(a=n.linearColor),"custom"==t&&a.length<i.length)for(var r=i.length-a.length,o=0;o<r;o++)a.push(n.linearColor[(o+1)%n.linearColor.length]);return a}function x(t,e){var i=0,n=e-t;return i=n>=1e4?1e3:n>=1e3?100:n>=100?10:n>=10?5:n>=1?1:n>=.1?.1:n>=.01?.01:n>=.001?.001:n>=1e-4?1e-4:n>=1e-5?1e-5:1e-6,{minRange:u(t,"lower",i),maxRange:u(e,"upper",i)}}function y(t,e,i){var n=0;if(t=String(t),!1!==i&&void 0!==i&&i.setFontSize&&i.measureText)return i.setFontSize(e),i.measureText(t).width;t=t.split("");for(var a=0;a<t.length;a++){var r=t[a];/[a-zA-Z]/.test(r)?n+=7:/[0-9]/.test(r)?n+=5.5:/\./.test(r)?n+=2.7:/-/.test(r)?n+=3.25:/:/.test(r)?n+=2.5:/[\u4e00-\u9fa5]/.test(r)?n+=10:/\(|\)/.test(r)?n+=3.73:/\s/.test(r)?n+=2.5:/%/.test(r)?n+=8:n+=10}return n*e/10}function _(t){return t.reduce((function(t,e){return(t.data?t.data:t).concat(e.data)}),[])}function b(t,e){for(var i=new Array(e),n=0;n<i.length;n++)i[n]=0;for(var a=0;a<t.length;a++)for(n=0;n<i.length;n++)i[n]+=t[a].data[n];return t.reduce((function(t,e){return(t.data?t.data:t).concat(e.data).concat(i)}),[])}function w(t,e,i){var n,a;return t.clientX?e.rotate?(a=e.height-t.clientX*e.pix,n=(t.pageY-i.currentTarget.offsetTop-e.height/e.pix/2*(e.pix-1))*e.pix):(n=t.clientX*e.pix,a=(t.pageY-i.currentTarget.offsetTop-e.height/e.pix/2*(e.pix-1))*e.pix):e.rotate?(a=e.height-t.x*e.pix,n=t.y*e.pix):(n=t.x*e.pix,a=t.y*e.pix),{x:n,y:a}}function S(t,e,i){var n=[],a=[],r=e.constructor.toString().indexOf("Array")>-1;if(r)for(var o=O(t),s=0;s<i.length;s++)a.push(o[i[s]]);else a=t;for(var c=0;c<a.length;c++){var l=a[c],u=-1;if(u=r?e[c]:e,null!==l.data[u]&&"undefined"!==typeof l.data[u]&&l.show){var h={};h.color=l.color,h.type=l.type,h.style=l.style,h.pointShape=l.pointShape,h.disableLegend=l.disableLegend,h.name=l.name,h.show=l.show,h.data=l.formatter?l.formatter(l.data[u]):l.data[u],n.push(h)}}return n}function k(t,e,i){var n=t.map((function(t){return y(t,e,i)}));return Math.max.apply(null,n)}function C(t){for(var e=2*Math.PI/t,i=[],n=0;n<t;n++)i.push(e*n);return i.map((function(t){return-1*t+Math.PI/2}))}function T(t,e,i,n,a){var r=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{},o=e.chartData.calPoints?e.chartData.calPoints:[],s={};if(n.length>0){for(var c=[],l=0;l<n.length;l++)c.push(o[n[l]]);s=c[0][i[0]]}else for(var u=0;u<o.length;u++)if(o[u][i]){s=o[u][i];break}var h=t.map((function(t){var n=null;return e.categories&&e.categories.length>0&&(n=a[i]),{text:r.formatter?r.formatter(t,n,i,e):t.name+": "+t.data,color:t.color}})),d={x:Math.round(s.x),y:Math.round(s.y)};return{textList:h,offset:d}}function P(t,e,i,n){var a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},r=e.chartData.xAxisPoints[i]+e.chartData.eachSpacing/2,o=t.map((function(t){return{text:a.formatter?a.formatter(t,n[i],i,e):t.name+": "+t.data,color:t.color,disableLegend:!!t.disableLegend}}));o=o.filter((function(t){if(!0!==t.disableLegend)return t}));var s={x:Math.round(r),y:0};return{textList:o,offset:s}}function A(t,e,i,n,a,r){var o=i.chartData.calPoints,s=r.color.upFill,c=r.color.downFill,l=[s,s,c,s],u=[];e.map((function(e){0==n?e.data[1]-e.data[0]<0?l[1]=c:l[1]=s:(e.data[0]<t[n-1][1]&&(l[0]=c),e.data[1]<e.data[0]&&(l[1]=c),e.data[2]>t[n-1][1]&&(l[2]=s),e.data[3]<t[n-1][1]&&(l[3]=c));var i={text:"\u5f00\u76d8\uff1a"+e.data[0],color:l[0]},a={text:"\u6536\u76d8\uff1a"+e.data[1],color:l[1]},r={text:"\u6700\u4f4e\uff1a"+e.data[2],color:l[2]},o={text:"\u6700\u9ad8\uff1a"+e.data[3],color:l[3]};u.push(i,a,r,o)}));for(var h=[],d={x:0,y:0},f=0;f<o.length;f++){var p=o[f];"undefined"!==typeof p[n]&&null!==p[n]&&h.push(p[n])}return d.x=Math.round(h[0][0].x),{textList:u,offset:d}}function O(t){for(var e=[],i=0;i<t.length;i++)1==t[i].show&&e.push(t[i]);return e}function L(t,e,i){return t.x<=e.width-e.area[1]+10&&t.x>=e.area[3]-10&&t.y>=e.area[0]&&t.y<=e.height-e.area[2]}function D(t,e,i){return Math.pow(t.x-e.x,2)+Math.pow(t.y-e.y,2)<=Math.pow(i,2)}function I(t,e){var i=[],n=[];return t.forEach((function(t,a){e.connectNulls?null!==t&&n.push(t):null!==t?n.push(t):(n.length&&i.push(n),n=[])})),n.length&&i.push(n),i}function M(t,e,i,n,a){var r={angle:0,xAxisHeight:i.xAxisHeight},o=e.xAxis.fontSize*e.pix||i.fontSize,s=t.map((function(t,i){var n=e.xAxis.formatter?e.xAxis.formatter(t,i,e):t;return y(String(n),o,a)})),c=Math.max.apply(this,s);if(1==e.xAxis.rotateLabel){r.angle=e.xAxis.rotateAngle*Math.PI/180;var l=2*i.xAxisTextPadding+Math.abs(c*Math.sin(r.angle));l=l<o+2*i.xAxisTextPadding?l+2*i.xAxisTextPadding:l,1==e.enableScroll&&1==e.xAxis.scrollShow&&(l+=12*e.pix),r.xAxisHeight=l}return e.xAxis.disabled&&(r.xAxisHeight=0),r}function E(t,e,i,n){var a=s({},{type:""},e.extra.bar),o={angle:0,xAxisHeight:i.xAxisHeight};o.ranges=function(t,e,i,n){var a,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:-1;a="stack"==n?b(t,e.categories.length):_(t);var s=[];a=a.filter((function(t){return"object"===(0,r.default)(t)&&null!==t?t.constructor.toString().indexOf("Array")>-1?null!==t:null!==t.value:null!==t})),a.map((function(t){"object"===(0,r.default)(t)?t.constructor.toString().indexOf("Array")>-1?"candle"==e.type?t.map((function(t){s.push(t)})):s.push(t[0]):s.push(t.value):s.push(t)}));var c=0,l=0;if(s.length>0&&(c=Math.min.apply(this,s),l=Math.max.apply(this,s)),o>-1?("number"===typeof e.xAxis.data[o].min&&(c=Math.min(e.xAxis.data[o].min,c)),"number"===typeof e.xAxis.data[o].max&&(l=Math.max(e.xAxis.data[o].max,l))):("number"===typeof e.xAxis.min&&(c=Math.min(e.xAxis.min,c)),"number"===typeof e.xAxis.max&&(l=Math.max(e.xAxis.max,l))),c===l){var u=l||10;l+=u}for(var h=c,d=l,f=[],p=(d-h)/e.xAxis.splitNumber,g=0;g<=e.xAxis.splitNumber;g++)f.push(h+p*g);return f}(t,e,i,a.type),o.rangesFormat=o.ranges.map((function(t){return t=c.toFixed(t,2),t}));var l=o.ranges.map((function(t){return t=c.toFixed(t,2),t}));o=Object.assign(o,V(l,e,i));var u=o.eachSpacing,h=l.map((function(t){return y(t,e.xAxis.fontSize*e.pix||i.fontSize,n)})),d=Math.max.apply(this,h);return d+2*i.xAxisTextPadding>u&&(o.angle=45*Math.PI/180,o.xAxisHeight=2*i.xAxisTextPadding+d*Math.sin(o.angle)),!0===e.xAxis.disabled&&(o.xAxisHeight=0),o}function F(t,e,i,n,a){var r=arguments.length>5&&void 0!==arguments[5]?arguments[5]:1,o=a.extra.radar||{};o.max=o.max||0;for(var s=Math.max(o.max,Math.max.apply(null,_(n))),c=[],l=function(a){var o=n[a],l={};l.color=o.color,l.legendShape=o.legendShape,l.pointShape=o.pointShape,l.data=[],o.data.forEach((function(n,a){var o={};o.angle=t[a],o.proportion=n/s,o.value=n,o.position=p(i*o.proportion*r*Math.cos(o.angle),i*o.proportion*r*Math.sin(o.angle),e),l.data.push(o)})),c.push(l)},u=0;u<n.length;u++)l(u);return c}function $(t,e){for(var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,n=0,a=0,r=0;r<t.length;r++){var o=t[r];o.data=null===o.data?0:o.data,n+=o.data}for(var s=0;s<t.length;s++){var c=t[s];c.data=null===c.data?0:c.data,c._proportion_=0===n?1/t.length*i:c.data/n*i,c._radius_=e}for(var l=0;l<t.length;l++){var u=t[l];u._start_=a,a+=2*u._proportion_*Math.PI}return t}function R(t,e,i,n){for(var a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,r=0;r<t.length;r++)"funnel"==i.type?t[r].radius=t[r].data/t[0].data*e*a:t[r].radius=n*(t.length-r)/(n*t.length)*e*a,t[r]._proportion_=t[r].data/t[0].data;return t}function N(t,e,i,n){for(var a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,r=0,o=0,s=[],c=0;c<t.length;c++){var l=t[c];l.data=null===l.data?0:l.data,r+=l.data,s.push(l.data)}for(var u=Math.min.apply(null,s),h=Math.max.apply(null,s),d=n-i,f=0;f<t.length;f++){var p=t[f];p.data=null===p.data?0:p.data,0===r?(p._proportion_=1/t.length*a,p._rose_proportion_=1/t.length*a):(p._proportion_=p.data/r*a,p._rose_proportion_="area"==e?1/t.length*a:p.data/r*a),p._radius_=i+d*((p.data-u)/(h-u))||n}for(var g=0;g<t.length;g++){var v=t[g];v._start_=o,o+=2*v._rose_proportion_*Math.PI}return t}function j(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;1==i&&(i=.999999);for(var n=0;n<t.length;n++){var a=t[n];a.data=null===a.data?0:a.data;var r=void 0;r="circle"==e.type?2:"ccw"==e.direction?e.startAngle<e.endAngle?2+e.startAngle-e.endAngle:e.startAngle-e.endAngle:e.endAngle<e.startAngle?2+e.endAngle-e.startAngle:e.startAngle-e.endAngle,a._proportion_=r*a.data*i+e.startAngle,"ccw"==e.direction&&(a._proportion_=e.startAngle-r*a.data*i),a._proportion_>=2&&(a._proportion_=a._proportion_%2)}return t}function U(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;1==i&&(i=.999999);for(var n=0;n<t.length;n++){var a=t[n];a.data=null===a.data?0:a.data;var r=void 0;r="circle"==e.type?2:e.endAngle<e.startAngle?2+e.endAngle-e.startAngle:e.startAngle-e.endAngle,a._proportion_=r*a.data*i+e.startAngle,a._proportion_>=2&&(a._proportion_=a._proportion_%2)}return t}function B(t,e,i){for(var n=e-i+1,a=e,r=0;r<t.length;r++)t[r].value=null===t[r].value?0:t[r].value,t[r]._startAngle_=a,t[r]._endAngle_=n*t[r].value+e,t[r]._endAngle_>=2&&(t[r]._endAngle_=t[r]._endAngle_%2),a=t[r]._endAngle_;return t}function z(t,e,i){for(var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1,a=0;a<t.length;a++){var r=t[a];if(r.data=null===r.data?0:r.data,"auto"==i.pointer.color){for(var o=0;o<e.length;o++)if(r.data<=e[o].value){r.color=e[o].color;break}}else r.color=i.pointer.color;var s=i.startAngle-i.endAngle+1;r._endAngle_=s*r.data+i.startAngle,r._oldAngle_=i.oldAngle,i.oldAngle<i.endAngle&&(r._oldAngle_+=2),r.data>=i.oldData?r._proportion_=(r._endAngle_-r._oldAngle_)*n+i.oldAngle:r._proportion_=r._oldAngle_-(r._oldAngle_-r._endAngle_)*n,r._proportion_>=2&&(r._proportion_=r._proportion_%2)}return t}function W(t,e,i,n,a,r){return t.map((function(t){if(null===t)return null;var a=0,o=0;return"mix"==r.type?(a=r.extra.mix.column.seriesGap*r.pix||0,o=r.extra.mix.column.categoryGap*r.pix||0):(a=r.extra.column.seriesGap*r.pix||0,o=r.extra.column.categoryGap*r.pix||0),a=Math.min(a,e/i),o=Math.min(o,e/i),t.width=Math.ceil((e-2*o-a*(i-1))/i),r.extra.mix&&r.extra.mix.column.width&&+r.extra.mix.column.width>0&&(t.width=Math.min(t.width,+r.extra.mix.column.width*r.pix)),r.extra.column&&r.extra.column.width&&+r.extra.column.width>0&&(t.width=Math.min(t.width,+r.extra.column.width*r.pix)),t.width<=0&&(t.width=1),t.x+=(n+.5-i/2)*(t.width+a),t}))}function q(t,e,i,n,a,r){return t.map((function(t){if(null===t)return null;var a=0,o=0;return a=r.extra.bar.seriesGap*r.pix||0,o=r.extra.bar.categoryGap*r.pix||0,a=Math.min(a,e/i),o=Math.min(o,e/i),t.width=Math.ceil((e-2*o-a*(i-1))/i),r.extra.bar&&r.extra.bar.width&&+r.extra.bar.width>0&&(t.width=Math.min(t.width,+r.extra.bar.width*r.pix)),t.width<=0&&(t.width=1),t.y+=(n+.5-i/2)*(t.width+a),t}))}function H(t,e,i,n,a,r,o){var s=r.extra.column.categoryGap*r.pix||0;return t.map((function(t){return null===t?null:(t.width=e-2*s,r.extra.column&&r.extra.column.width&&+r.extra.column.width>0&&(t.width=Math.min(t.width,+r.extra.column.width*r.pix)),n>0&&(t.width-=o),t)}))}function G(t,e,i,n,a,r,o){var s=r.extra.column.categoryGap*r.pix||0;return t.map((function(t,i){return null===t?null:(t.width=Math.ceil(e-2*s),r.extra.column&&r.extra.column.width&&+r.extra.column.width>0&&(t.width=Math.min(t.width,+r.extra.column.width*r.pix)),t.width<=0&&(t.width=1),t)}))}function J(t,e,i,n,a,r,o){var s=r.extra.bar.categoryGap*r.pix||0;return t.map((function(t,i){return null===t?null:(t.width=Math.ceil(e-2*s),r.extra.bar&&r.extra.bar.width&&+r.extra.bar.width>0&&(t.width=Math.min(t.width,+r.extra.bar.width*r.pix)),t.width<=0&&(t.width=1),t)}))}function V(t,e,i){var n=e.width-e.area[1]-e.area[3],a=e.enableScroll?Math.min(e.xAxis.itemCount,t.length):t.length;("line"==e.type||"area"==e.type||"scatter"==e.type||"bubble"==e.type||"bar"==e.type)&&a>1&&"justify"==e.xAxis.boundaryGap&&(a-=1);var r=0;"mount"==e.type&&e.extra&&e.extra.mount&&e.extra.mount.widthRatio&&e.extra.mount.widthRatio>1&&(e.extra.mount.widthRatio>2&&(e.extra.mount.widthRatio=2),r=e.extra.mount.widthRatio-1,a+=r);var o=n/a,s=[],c=e.area[3],l=e.width-e.area[1];return t.forEach((function(t,e){s.push(c+r/2*o+e*o)})),"justify"!==e.xAxis.boundaryGap&&(!0===e.enableScroll?s.push(c+r*o+t.length*o):s.push(l)),{xAxisPoints:s,startX:c,endX:l,eachSpacing:o}}function K(t,e,i,n,a,r,o){var s=arguments.length>7&&void 0!==arguments[7]?arguments[7]:1,c=[],l=r.height-r.area[0]-r.area[2];return t.forEach((function(t,o){if(null===t)c.push(null);else{var u=[];t.forEach((function(t,c){var h={};h.x=n[o]+Math.round(a/2);var d=t.value||t,f=l*(d-e)/(i-e);f*=s,h.y=r.height-Math.round(f)-r.area[2],u.push(h)})),c.push(u)}})),c}function X(t,e,i,n,a,o,s){var c=arguments.length>7&&void 0!==arguments[7]?arguments[7]:1,l="center";"line"!=o.type&&"area"!=o.type&&"scatter"!=o.type&&"bubble"!=o.type||(l=o.xAxis.boundaryGap);var u=[],h=o.height-o.area[0]-o.area[2],d=o.width-o.area[1]-o.area[3];return t.forEach((function(t,s){if(null===t)u.push(null);else{var f={};f.color=t.color,f.x=n[s];var p,g,v,m=t;if("object"===(0,r.default)(t)&&null!==t)if(t.constructor.toString().indexOf("Array")>-1)p=[].concat(o.chartData.xAxisData.ranges),g=p.shift(),v=p.pop(),m=t[1],f.x=o.area[3]+d*(t[0]-g)/(v-g),"bubble"==o.type&&(f.r=t[2],f.t=t[3]);else m=t.value;"center"==l&&(f.x+=a/2);var x=h*(m-e)/(i-e);x*=c,f.y=o.height-x-o.area[2],u.push(f)}})),u}function Y(t,e,i,n,a,r,o){var s=arguments.length>7&&void 0!==arguments[7]?arguments[7]:1,c=[],l=r.height-r.area[0]-r.area[2],u=(r.width,r.area[1],r.area[3],a*o.widthRatio);return t.forEach((function(t,o){if(null===t)c.push(null);else{var h={};h.color=t.color,h.x=n[o],h.x+=a/2;var d=t.data,f=l*(d-e)/(i-e);f*=s,h.y=r.height-f-r.area[2],h.value=d,h.width=u,c.push(h)}})),c}function Q(t,e,i,n,a,o,s){var c=arguments.length>7&&void 0!==arguments[7]?arguments[7]:1,l=[],u=(o.height,o.area[0],o.area[2],o.width-o.area[1]-o.area[3]);return t.forEach((function(t,a){if(null===t)l.push(null);else{var s={};s.color=t.color,s.y=n[a];var h=t;"object"===(0,r.default)(t)&&null!==t&&(h=t.value);var d=u*(h-e)/(i-e);d*=c,s.height=d,s.value=h,s.x=d+o.area[3],l.push(s)}})),l}function Z(t,e,i,n,a,o,s,c,l){var u=arguments.length>9&&void 0!==arguments[9]?arguments[9]:1,h=[],d=o.height-o.area[0]-o.area[2];return t.forEach((function(t,s){if(null===t)h.push(null);else{var f={};if(f.color=t.color,f.x=n[s]+Math.round(a/2),c>0){for(var p=0,g=0;g<=c;g++)p+=l[g].data[s];var v=p-t,m=d*(p-e)/(i-e),x=d*(v-e)/(i-e)}else{p=t;"object"===(0,r.default)(t)&&null!==t&&(p=t.value);m=d*(p-e)/(i-e),x=0}var y=x;m*=u,y*=u,f.y=o.height-Math.round(m)-o.area[2],f.y0=o.height-Math.round(y)-o.area[2],h.push(f)}})),h}function tt(t,e,i,n,a,o,s,c,l){var u=arguments.length>9&&void 0!==arguments[9]?arguments[9]:1,h=[],d=o.width-o.area[1]-o.area[3];return t.forEach((function(t,a){if(null===t)h.push(null);else{var s={};if(s.color=t.color,s.y=n[a],c>0){for(var f=0,p=0;p<=c;p++)f+=l[p].data[a];var g=f-t,v=d*(f-e)/(i-e),m=d*(g-e)/(i-e)}else{f=t;"object"===(0,r.default)(t)&&null!==t&&(f=t.value);v=d*(f-e)/(i-e),m=0}var x=m;v*=u,x*=u,s.height=v-x,s.x=o.area[3]+v,s.x0=o.area[3]+x,h.push(s)}})),h}function et(t,e,i,n,a){var o;o="stack"==n?b(t,e.categories.length):_(t);var s=[];o=o.filter((function(t){return"object"===(0,r.default)(t)&&null!==t?t.constructor.toString().indexOf("Array")>-1?null!==t:null!==t.value:null!==t})),o.map((function(t){"object"===(0,r.default)(t)?t.constructor.toString().indexOf("Array")>-1?"candle"==e.type?t.map((function(t){s.push(t)})):s.push(t[1]):s.push(t.value):s.push(t)}));var c=a.min||0,l=a.max||0;s.length>0&&(c=Math.min.apply(this,s),l=Math.max.apply(this,s)),c===l&&(0==l?l=10:c=0);for(var u=x(c,l),h=void 0===a.min||null===a.min?u.minRange:a.min,d=void 0===a.max||null===a.max?u.maxRange:a.max,f=(d-h)/e.yAxis.splitNumber,p=[],g=0;g<=e.yAxis.splitNumber;g++)p.push(h+f*g);return p.reverse()}function it(t,e,i,n){var a=s({},{type:""},e.extra.column),r=e.yAxis.data.length,o=new Array(r);if(r>0){for(var l=0;l<r;l++){o[l]=[];for(var u=0;u<t.length;u++)t[u].index==l&&o[l].push(t[u])}for(var h=new Array(r),d=new Array(r),f=new Array(r),p=function(t){var r=e.yAxis.data[t];1==e.yAxis.disabled&&(r.disabled=!0),"categories"===r.type?(r.formatter||(r.formatter=function(t,e,i){return t+(r.unit||"")}),r.categories=r.categories||e.categories,h[t]=r.categories):(r.formatter||(r.formatter=function(t,e,i){return c.toFixed(t,r.tofix||0)+(r.unit||"")}),h[t]=et(o[t],e,i,a.type,r,t));var s=r.fontSize*e.pix||i.fontSize;f[t]={position:r.position?r.position:"left",width:0},d[t]=h[t].map((function(i,a){return i=r.formatter(i,a,e),f[t].width=Math.max(f[t].width,y(i,s,n)+5),i}));var l=r.calibration?4*e.pix:0;f[t].width+=l+3*e.pix,!0===r.disabled&&(f[t].width=0)},g=0;g<r;g++)p(g)}else{h=new Array(1),d=new Array(1),f=new Array(1);"bar"===e.type?h[0]=e.categories:h[0]=et(t,e,i,a.type,{}),f[0]={position:"left",width:0},!0===e.yAxis.disabled?(f[0]={position:"left",width:0},e.yAxis.data[0]={disabled:!0}):(e.yAxis.data[0]={disabled:!1,position:"left",max:e.yAxis.max,min:e.yAxis.min,formatter:function(t,e,i){return t}},"bar"===e.type&&(e.yAxis.data[0].categories=e.categories,e.yAxis.data[0].type="categories"));var v=e.yAxis.fontSize*e.pix||i.fontSize;d[0]=h[0].map((function(t,i){return t=e.yAxis.data[0].formatter(t,i,e),f[0].width=Math.max(f[0].width,y(t,v,n)+5),t})),f[0].width+=3*e.pix}return{rangesFormat:d,ranges:h,yAxisWidth:f}}function nt(t,e){!0!==e.rotateLock?(t.translate(e.height,0),t.rotate(90*Math.PI/180)):!0!==e._rotate_&&(t.translate(e.height,0),t.rotate(90*Math.PI/180),e._rotate_=!0)}function at(t,e,i,n,a){if(n.beginPath(),"hollow"==a.dataPointShapeType?(n.setStrokeStyle(e),n.setFillStyle(a.background),n.setLineWidth(2*a.pix)):(n.setStrokeStyle("#ffffff"),n.setFillStyle(e),n.setLineWidth(1*a.pix)),"diamond"===i)t.forEach((function(t,e){null!==t&&(n.moveTo(t.x,t.y-4.5),n.lineTo(t.x-4.5,t.y),n.lineTo(t.x,t.y+4.5),n.lineTo(t.x+4.5,t.y),n.lineTo(t.x,t.y-4.5))}));else if("circle"===i)t.forEach((function(t,e){null!==t&&(n.moveTo(t.x+2.5*a.pix,t.y),n.arc(t.x,t.y,3*a.pix,0,2*Math.PI,!1))}));else if("square"===i)t.forEach((function(t,e){null!==t&&(n.moveTo(t.x-3.5,t.y-3.5),n.rect(t.x-3.5,t.y-3.5,7,7))}));else if("triangle"===i)t.forEach((function(t,e){null!==t&&(n.moveTo(t.x,t.y-4.5),n.lineTo(t.x-4.5,t.y+4.5),n.lineTo(t.x+4.5,t.y+4.5),n.lineTo(t.x,t.y-4.5))}));else if("none"===i)return;n.closePath(),n.fill(),n.stroke()}function rt(t,e,i,n){var a=t.title.fontSize||e.titleFontSize,r=t.subtitle.fontSize||e.subtitleFontSize,o=t.title.name||"",s=t.subtitle.name||"",c=t.title.color||t.fontColor,l=t.subtitle.color||t.fontColor,u=o?a:0,h=s?r:0;if(s){var d=y(s,r*t.pix,i),f=n.x-d/2+(t.subtitle.offsetX||0)*t.pix,p=n.y+r*t.pix/2+(t.subtitle.offsetY||0)*t.pix;o&&(p+=(u*t.pix+5)/2),i.beginPath(),i.setFontSize(r*t.pix),i.setFillStyle(l),i.fillText(s,f,p),i.closePath(),i.stroke()}if(o){var g=y(o,a*t.pix,i),v=n.x-g/2+(t.title.offsetX||0),m=n.y+a*t.pix/2+(t.title.offsetY||0)*t.pix;s&&(m-=(h*t.pix+5)/2),i.beginPath(),i.setFontSize(a*t.pix),i.setFillStyle(c),i.fillText(o,v,m),i.closePath(),i.stroke()}}function ot(t,e,i,n,a){var o=e.data,s=e.textOffset?e.textOffset:0;t.forEach((function(t,c){if(null!==t){n.beginPath();var l=e.textSize?e.textSize*a.pix:i.fontSize;n.setFontSize(l),n.setFillStyle(e.textColor||a.fontColor);var u=o[c];"object"===(0,r.default)(o[c])&&null!==o[c]&&(u=o[c].constructor.toString().indexOf("Array")>-1?o[c][1]:o[c].value);var h=e.formatter?e.formatter(u,c,e,a):u;n.setTextAlign("center"),n.fillText(String(h),t.x,t.y-4+s*a.pix),n.closePath(),n.stroke(),n.setTextAlign("left")}}))}function st(t,e,i,n,a){e.data;var r=e.textOffset?e.textOffset:0;t.forEach((function(t,o){if(null!==t){n.beginPath();var s=e[o].textSize?e[o].textSize*a.pix:i.fontSize;n.setFontSize(s),n.setFillStyle(e[o].textColor||a.fontColor);var c=t.value,l=e[o].formatter?e[o].formatter(c,o,e,a):c;n.setTextAlign("center"),n.fillText(String(l),t.x,t.y-4+r*a.pix),n.closePath(),n.stroke(),n.setTextAlign("left")}}))}function ct(t,e,i,n,a){var o=e.data;e.textOffset&&e.textOffset;t.forEach((function(t,s){if(null!==t){n.beginPath();var c=e.textSize?e.textSize*a.pix:i.fontSize;n.setFontSize(c),n.setFillStyle(e.textColor||a.fontColor);var l=o[s];"object"===(0,r.default)(o[s])&&null!==o[s]&&(l=o[s].value);var u=e.formatter?e.formatter(l,s,e,a):l;n.setTextAlign("left"),n.fillText(String(u),t.x+4*a.pix,t.y+c/2-3),n.closePath(),n.stroke()}}))}function lt(t,e,i,n,a,r){e-=t.width/2+t.labelOffset*n.pix,e=e<10?10:e;for(var o=t.startAngle-t.endAngle+1,s=o/t.splitLine.splitNumber,c=t.endNumber-t.startNumber,l=c/t.splitLine.splitNumber,u=t.startAngle,h=t.startNumber,d=0;d<t.splitLine.splitNumber+1;d++){var f={x:e*Math.cos(u*Math.PI),y:e*Math.sin(u*Math.PI)},p=t.formatter?t.formatter(h,d,n):h;f.x+=i.x-y(p,a.fontSize,r)/2,f.y+=i.y;var g=f.x,v=f.y;r.beginPath(),r.setFontSize(a.fontSize),r.setFillStyle(t.labelColor||n.fontColor),r.fillText(p,g,v+a.fontSize/2),r.closePath(),r.stroke(),u+=s,u>=2&&(u%=2),h+=l}}function ut(t,e,i,n,a,r){var o=n.extra.radar||{};t.forEach((function(t,s){if(!0===o.labelPointShow&&""!==n.categories[s]){var l={x:e*Math.cos(t),y:e*Math.sin(t)},u=p(l.x,l.y,i);r.setFillStyle(o.labelPointColor),r.beginPath(),r.arc(u.x,u.y,o.labelPointRadius*n.pix,0,2*Math.PI,!1),r.closePath(),r.fill()}var h={x:(e+a.radarLabelTextMargin*n.pix)*Math.cos(t),y:(e+a.radarLabelTextMargin*n.pix)*Math.sin(t)},d=p(h.x,h.y,i),f=d.x,g=d.y;c.approximatelyEqual(h.x,0)?f-=y(n.categories[s]||"",a.fontSize,r)/2:h.x<0&&(f-=y(n.categories[s]||"",a.fontSize,r)),r.beginPath(),r.setFontSize(a.fontSize),r.setFillStyle(o.labelColor||n.fontColor),r.fillText(n.categories[s]||"",f,g+a.fontSize/2),r.closePath(),r.stroke()}))}function ht(t,e,i,n,a,r){for(var o=i.pieChartLinePadding,s=[],l=null,u=t.map((function(i,n){var a=i.formatter?i.formatter(i,n,t,e):c.toFixed(100*i._proportion_.toFixed(4))+"%";a=i.labelText?i.labelText:a;var r=2*Math.PI-(i._start_+2*Math.PI*i._proportion_/2);i._rose_proportion_&&(r=2*Math.PI-(i._start_+2*Math.PI*i._rose_proportion_/2));var o=i.color,s=i._radius_;return{arc:r,text:a,color:o,radius:s,textColor:i.textColor,textSize:i.textSize,labelShow:i.labelShow}})),h=0;h<u.length;h++){var d=u[h],f=Math.cos(d.arc)*(d.radius+o),v=Math.sin(d.arc)*(d.radius+o),m=Math.cos(d.arc)*d.radius,x=Math.sin(d.arc)*d.radius,_=f>=0?f+i.pieChartTextPadding:f-i.pieChartTextPadding,b=v,w=y(d.text,d.textSize*e.pix||i.fontSize,n),S=b;l&&c.isSameXCoordinateArea(l.start,{x:_})&&(S=_>0?Math.min(b,l.start.y):f<0||b>0?Math.max(b,l.start.y):Math.min(b,l.start.y)),_<0&&(_-=w);var k={lineStart:{x:m,y:x},lineEnd:{x:f,y:v},start:{x:_,y:S},width:w,height:i.fontSize,text:d.text,color:d.color,textColor:d.textColor,textSize:d.textSize};l=g(k,l),s.push(l)}for(var C=0;C<s.length;C++)if(!1!==u[C].labelShow){var T=s[C],P=p(T.lineStart.x,T.lineStart.y,r),A=p(T.lineEnd.x,T.lineEnd.y,r),O=p(T.start.x,T.start.y,r);n.setLineWidth(1*e.pix),n.setFontSize(T.textSize*e.pix||i.fontSize),n.beginPath(),n.setStrokeStyle(T.color),n.setFillStyle(T.color),n.moveTo(P.x,P.y);var L=T.start.x<0?O.x+T.width:O.x,D=T.start.x<0?O.x-5:O.x+5;n.quadraticCurveTo(A.x,A.y,L,O.y),n.moveTo(P.x,P.y),n.stroke(),n.closePath(),n.beginPath(),n.moveTo(O.x+T.width,O.y),n.arc(L,O.y,2*e.pix,0,2*Math.PI),n.closePath(),n.fill(),n.beginPath(),n.setFontSize(T.textSize*e.pix||i.fontSize),n.setFillStyle(T.textColor||e.fontColor),n.fillText(T.text,D,O.y+3),n.closePath(),n.stroke(),n.closePath()}}function dt(t,e,i){for(var n=s({},{type:"solid",dashLength:4,data:[]},t.extra.markLine),a=t.area[3],r=t.width-t.area[1],o=function(t,e){for(var i,n,a=e.height-e.area[0]-e.area[2],r=0;r<t.length;r++){t[r].yAxisIndex=t[r].yAxisIndex?t[r].yAxisIndex:0;var o=[].concat(e.chartData.yAxisData.ranges[t[r].yAxisIndex]);i=o.pop(),n=o.shift();var s=a*(t[r].value-i)/(n-i);t[r].y=e.height-Math.round(s)-e.area[2]}return t}(n.data,t),c=0;c<o.length;c++){var u=s({},{lineColor:"#DE4A42",showLabel:!1,labelFontColor:"#666666",labelBgColor:"#DFE8FF",labelBgOpacity:.8,labelAlign:"left",labelOffsetX:0,labelOffsetY:0},o[c]);if("dash"==n.type&&i.setLineDash([n.dashLength,n.dashLength]),i.setStrokeStyle(u.lineColor),i.setLineWidth(1*t.pix),i.beginPath(),i.moveTo(a,u.y),i.lineTo(r,u.y),i.stroke(),i.setLineDash([]),u.showLabel){var h=u.labelText?u.labelText:u.value;i.setFontSize(e.fontSize);var d=y(h,e.fontSize,i),f=d+2*e.toolTipPadding,p="left"==u.labelAlign?t.area[3]-f:t.width-t.area[1];p+=u.labelOffsetX;var g=u.y-.5*e.fontSize-e.toolTipPadding;g+=u.labelOffsetY;var v=p+e.toolTipPadding;u.y;i.setFillStyle(l(u.labelBgColor,u.labelBgOpacity)),i.setStrokeStyle(u.labelBgColor),i.setLineWidth(1*t.pix),i.beginPath(),i.rect(p,g,f,e.fontSize+2*e.toolTipPadding),i.closePath(),i.stroke(),i.fill(),i.setFontSize(e.fontSize),i.setTextAlign("left"),i.setFillStyle(u.labelFontColor),i.fillText(String(h),v,g+e.fontSize+e.toolTipPadding/2),i.stroke(),i.setTextAlign("left")}}}function ft(t,e,i,n,a){var r=s({},{gridType:"solid",dashLength:4},t.extra.tooltip),o=t.area[3],c=t.width-t.area[1];if("dash"==r.gridType&&i.setLineDash([r.dashLength,r.dashLength]),i.setStrokeStyle(r.gridColor||"#cccccc"),i.setLineWidth(1*t.pix),i.beginPath(),i.moveTo(o,t.tooltip.offset.y),i.lineTo(c,t.tooltip.offset.y),i.stroke(),i.setLineDash([]),r.yAxisLabel)for(var u=function(t,e,i,n,a){for(var r=[].concat(i.chartData.yAxisData.ranges),o=i.height-i.area[0]-i.area[2],s=i.area[0],c=[],l=0;l<r.length;l++){var u=Math.max.apply(this,r[l]),h=Math.min.apply(this,r[l]),d=u-(u-h)*(t-s)/o;d=i.yAxis.data&&i.yAxis.data[l].formatter?i.yAxis.data[l].formatter(d,l,i):d.toFixed(0),c.push(String(d))}return c}(t.tooltip.offset.y,t.series,t),h=t.chartData.yAxisData.yAxisWidth,d=t.area[3],f=t.width-t.area[1],p=0;p<u.length;p++){i.setFontSize(e.fontSize);var g,v=y(u[p],e.fontSize,i),m=void 0,x=void 0;"left"==h[p].position?(m=d-(v+2*e.toolTipPadding)-2*t.pix,x=Math.max(m,m+v+2*e.toolTipPadding)):(m=f+2*t.pix,x=Math.max(m+h[p].width,m+v+2*e.toolTipPadding)),g=x-m;var _=m+(g-v)/2,b=t.tooltip.offset.y;i.beginPath(),i.setFillStyle(l(r.labelBgColor||e.toolTipBackground,r.labelBgOpacity||e.toolTipOpacity)),i.setStrokeStyle(r.labelBgColor||e.toolTipBackground),i.setLineWidth(1*t.pix),i.rect(m,b-.5*e.fontSize-e.toolTipPadding,g,e.fontSize+2*e.toolTipPadding),i.closePath(),i.stroke(),i.fill(),i.beginPath(),i.setFontSize(e.fontSize),i.setFillStyle(r.labelFontColor||t.fontColor),i.fillText(u[p],_,b+.5*e.fontSize),i.closePath(),i.stroke(),"left"==h[p].position?d-=h[p].width+t.yAxis.padding*t.pix:f+=h[p].width+t.yAxis.padding*t.pix}}function pt(t,e,i,n,a){var r=s({},{activeBgColor:"#000000",activeBgOpacity:.08,activeWidth:a},e.extra.column);r.activeWidth=r.activeWidth>a?a:r.activeWidth;var o=e.area[0],c=e.height-e.area[2];n.beginPath(),n.setFillStyle(l(r.activeBgColor,r.activeBgOpacity)),n.rect(t-r.activeWidth/2,o,r.activeWidth,c-o),n.closePath(),n.fill(),n.setFillStyle("#FFFFFF")}function gt(t,e,i,n,a){var r=s({},{activeBgColor:"#000000",activeBgOpacity:.08},e.extra.bar),o=e.area[3],c=e.width-e.area[1];n.beginPath(),n.setFillStyle(l(r.activeBgColor,r.activeBgOpacity)),n.rect(o,t-a/2,c-o,a),n.closePath(),n.fill(),n.setFillStyle("#FFFFFF")}function vt(t,e,i,n,a,r,o){var c=s({},{showBox:!0,showArrow:!0,showCategory:!1,bgColor:"#000000",bgOpacity:.7,borderColor:"#000000",borderWidth:0,borderRadius:0,borderOpacity:.7,fontColor:"#FFFFFF",splitLine:!0},i.extra.tooltip);1==c.showCategory&&i.categories&&t.unshift({text:i.categories[i.tooltip.index],color:null});var u=4*i.pix,h=5*i.pix,d=c.showArrow?8*i.pix:0,f=!1;"line"!=i.type&&"mount"!=i.type&&"area"!=i.type&&"candle"!=i.type&&"mix"!=i.type||1==c.splitLine&&function(t,e,i,n){var a=e.extra.tooltip||{};a.gridType=void 0==a.gridType?"solid":a.gridType,a.dashLength=void 0==a.dashLength?4:a.dashLength;var r=e.area[0],o=e.height-e.area[2];if("dash"==a.gridType&&n.setLineDash([a.dashLength,a.dashLength]),n.setStrokeStyle(a.gridColor||"#cccccc"),n.setLineWidth(1*e.pix),n.beginPath(),n.moveTo(t,r),n.lineTo(t,o),n.stroke(),n.setLineDash([]),a.xAxisLabel){var s=e.categories[e.tooltip.index];n.setFontSize(i.fontSize);var c=y(s,i.fontSize,n),u=t-.5*c,h=o+2*e.pix;n.beginPath(),n.setFillStyle(l(a.labelBgColor||i.toolTipBackground,a.labelBgOpacity||i.toolTipOpacity)),n.setStrokeStyle(a.labelBgColor||i.toolTipBackground),n.setLineWidth(1*e.pix),n.rect(u-i.toolTipPadding,h,c+2*i.toolTipPadding,i.fontSize+2*i.toolTipPadding),n.closePath(),n.stroke(),n.fill(),n.beginPath(),n.setFontSize(i.fontSize),n.setFillStyle(a.labelFontColor||e.fontColor),n.fillText(String(s),u,h+i.toolTipPadding+i.fontSize),n.closePath(),n.stroke()}}(i.tooltip.offset.x,i,n,a),e=s({x:0,y:0},e),e.y-=8*i.pix;var p=t.map((function(t){return y(t.text,n.fontSize,a)})),g=u+h+4*n.toolTipPadding+Math.max.apply(null,p),v=2*n.toolTipPadding+t.length*n.toolTipLineHeight;if(0!=c.showBox){e.x-Math.abs(i._scrollDistance_||0)+d+g>i.width&&(f=!0),v+e.y>i.height&&(e.y=i.height-v),a.beginPath(),a.setFillStyle(l(c.bgColor||n.toolTipBackground,c.bgOpacity||n.toolTipOpacity)),a.setLineWidth(c.borderWidth*i.pix),a.setStrokeStyle(l(c.borderColor,c.borderOpacity));var m=c.borderRadius;f?(g+d>i.width&&(e.x=i.width+Math.abs(i._scrollDistance_||0)+d+(g-i.width)),c.showArrow&&(a.moveTo(e.x,e.y+10*i.pix),a.lineTo(e.x-d,e.y+10*i.pix+5*i.pix)),a.arc(e.x-d-m,e.y+v-m,m,0,Math.PI/2,!1),a.arc(e.x-d-Math.round(g)+m,e.y+v-m,m,Math.PI/2,Math.PI,!1),a.arc(e.x-d-Math.round(g)+m,e.y+m,m,-Math.PI,-Math.PI/2,!1),a.arc(e.x-d-m,e.y+m,m,-Math.PI/2,0,!1),c.showArrow&&(a.lineTo(e.x-d,e.y+10*i.pix-5*i.pix),a.lineTo(e.x,e.y+10*i.pix))):(c.showArrow&&(a.moveTo(e.x,e.y+10*i.pix),a.lineTo(e.x+d,e.y+10*i.pix-5*i.pix)),a.arc(e.x+d+m,e.y+m,m,-Math.PI,-Math.PI/2,!1),a.arc(e.x+d+Math.round(g)-m,e.y+m,m,-Math.PI/2,0,!1),a.arc(e.x+d+Math.round(g)-m,e.y+v-m,m,0,Math.PI/2,!1),a.arc(e.x+d+m,e.y+v-m,m,Math.PI/2,Math.PI,!1),c.showArrow&&(a.lineTo(e.x+d,e.y+10*i.pix+5*i.pix),a.lineTo(e.x,e.y+10*i.pix))),a.closePath(),a.fill(),c.borderWidth>0&&a.stroke(),t.forEach((function(t,i){if(null!==t.color){a.beginPath(),a.setFillStyle(t.color);var r=e.x+d+2*n.toolTipPadding,o=e.y+(n.toolTipLineHeight-n.fontSize)/2+n.toolTipLineHeight*i+n.toolTipPadding+1;f&&(r=e.x-g-d+2*n.toolTipPadding),a.fillRect(r,o,u,n.fontSize),a.closePath(),a.fill()}})),t.forEach((function(t,i){var r=e.x+d+2*n.toolTipPadding+u+h;f&&(r=e.x-g-d+2*n.toolTipPadding+ +u+h);var o=e.y+(n.toolTipLineHeight-n.fontSize)/2+n.toolTipLineHeight*i+n.toolTipPadding;a.beginPath(),a.setFontSize(n.fontSize),a.setFillStyle(c.fontColor),a.fillText(t.text,r,o+n.fontSize),a.closePath(),a.stroke()}))}}function mt(t,e,i,n,a,r){var o=t.extra.tooltip||{};o.horizentalLine&&t.tooltip&&1===n&&("line"==t.type||"area"==t.type||"column"==t.type||"mount"==t.type||"candle"==t.type||"mix"==t.type)&&ft(t,e,i),i.save(),t._scrollDistance_&&0!==t._scrollDistance_&&!0===t.enableScroll&&i.translate(t._scrollDistance_,0),t.tooltip&&t.tooltip.textList&&t.tooltip.textList.length&&1===n&&vt(t.tooltip.textList,t.tooltip.offset,t,e,i),i.restore()}function xt(t,e,i,n){var a=e.chartData.xAxisData,r=a.xAxisPoints,o=a.startX,s=a.endX,c=a.eachSpacing,l="center";"bar"!=e.type&&"line"!=e.type&&"area"!=e.type&&"scatter"!=e.type&&"bubble"!=e.type||(l=e.xAxis.boundaryGap);var u=e.height-e.area[2],h=e.area[0];if(e.enableScroll&&e.xAxis.scrollShow){var d=e.height-e.area[2]+i.xAxisHeight,f=s-o,p=c*(r.length-1);"mount"==e.type&&e.extra&&e.extra.mount&&e.extra.mount.widthRatio&&e.extra.mount.widthRatio>1&&(e.extra.mount.widthRatio>2&&(e.extra.mount.widthRatio=2),p+=(e.extra.mount.widthRatio-1)*c);var g=f*f/p,v=0;e._scrollDistance_&&(v=-e._scrollDistance_*f/p),n.beginPath(),n.setLineCap("round"),n.setLineWidth(6*e.pix),n.setStrokeStyle(e.xAxis.scrollBackgroundColor||"#EFEBEF"),n.moveTo(o,d),n.lineTo(s,d),n.stroke(),n.closePath(),n.beginPath(),n.setLineCap("round"),n.setLineWidth(6*e.pix),n.setStrokeStyle(e.xAxis.scrollColor||"#A6A6A6"),n.moveTo(o+v,d),n.lineTo(o+v+g,d),n.stroke(),n.closePath(),n.setLineCap("butt")}if(n.save(),e._scrollDistance_&&0!==e._scrollDistance_&&n.translate(e._scrollDistance_,0),!0===e.xAxis.calibration&&(n.setStrokeStyle(e.xAxis.gridColor||"#cccccc"),n.setLineCap("butt"),n.setLineWidth(1*e.pix),r.forEach((function(t,i){i>0&&(n.beginPath(),n.moveTo(t-c/2,u),n.lineTo(t-c/2,u+3*e.pix),n.closePath(),n.stroke())}))),!0!==e.xAxis.disableGrid&&(n.setStrokeStyle(e.xAxis.gridColor||"#cccccc"),n.setLineCap("butt"),n.setLineWidth(1*e.pix),"dash"==e.xAxis.gridType&&n.setLineDash([e.xAxis.dashLength*e.pix,e.xAxis.dashLength*e.pix]),e.xAxis.gridEval=e.xAxis.gridEval||1,r.forEach((function(t,i){i%e.xAxis.gridEval==0&&(n.beginPath(),n.moveTo(t,u),n.lineTo(t,h),n.stroke())})),n.setLineDash([])),!0!==e.xAxis.disabled){var m=t.length;e.xAxis.labelCount&&(m=e.xAxis.itemCount?Math.ceil(t.length/e.xAxis.itemCount*e.xAxis.labelCount):e.xAxis.labelCount,m-=1);for(var x=Math.ceil(t.length/m),_=[],b=t.length,w=0;w<b;w++)w%x!==0?_.push(""):_.push(t[w]);_[b-1]=t[b-1];var S=e.xAxis.fontSize*e.pix||i.fontSize;0===i._xAxisTextAngle_?_.forEach((function(t,a){var o=e.xAxis.formatter?e.xAxis.formatter(t,a,e):t,s=-y(String(o),S,n)/2;"center"==l&&(s+=c/2);var h=0;e.xAxis.scrollShow&&(h=6*e.pix);var d=e._scrollDistance_||0,f="center"==l?r[a]+c/2:r[a];f-Math.abs(d)>=e.area[3]&&f-Math.abs(d)<=e.width-e.area[1]&&(n.beginPath(),n.setFontSize(S),n.setFillStyle(e.xAxis.fontColor||e.fontColor),n.fillText(String(o),r[a]+s,u+S+(i.xAxisHeight-h-S)/2),n.closePath(),n.stroke())})):_.forEach((function(t,a){var o=e.xAxis.formatter?e.xAxis.formatter(t):t,s=e._scrollDistance_||0,h="center"==l?r[a]+c/2:r[a];if(h-Math.abs(s)>=e.area[3]&&h-Math.abs(s)<=e.width-e.area[1]){n.save(),n.beginPath(),n.setFontSize(S),n.setFillStyle(e.xAxis.fontColor||e.fontColor);var d=y(String(o),S,n),f=r[a];"center"==l&&(f=r[a]+c/2);e.xAxis.scrollShow&&6*e.pix;var p=u+6*e.pix+S-S*Math.abs(Math.sin(i._xAxisTextAngle_));e.xAxis.rotateAngle<0?(f-=S/2,d=0):(f+=S/2,d=-d),n.translate(f,p),n.rotate(-1*i._xAxisTextAngle_),n.fillText(String(o),d,0),n.closePath(),n.stroke(),n.restore()}}))}n.restore(),e.xAxis.axisLine&&(n.beginPath(),n.setStrokeStyle(e.xAxis.axisLineColor),n.setLineWidth(1*e.pix),n.moveTo(o,e.height-e.area[2]),n.lineTo(s,e.height-e.area[2]),n.stroke())}function yt(t,e,i,n){if(!0!==e.yAxis.disableGrid){var a=e.height-e.area[0]-e.area[2],r=a/e.yAxis.splitNumber,o=e.area[3],s=e.chartData.xAxisData.xAxisPoints,c=e.chartData.xAxisData.eachSpacing,l=c*(s.length-1);"mount"==e.type&&e.extra&&e.extra.mount&&e.extra.mount.widthRatio&&e.extra.mount.widthRatio>1&&(e.extra.mount.widthRatio>2&&(e.extra.mount.widthRatio=2),l+=(e.extra.mount.widthRatio-1)*c);var u=o+l,h=[],d=1;!1===e.xAxis.axisLine&&(d=0);for(var f=d;f<e.yAxis.splitNumber+1;f++)h.push(e.height-e.area[2]-r*f);n.save(),e._scrollDistance_&&0!==e._scrollDistance_&&n.translate(e._scrollDistance_,0),"dash"==e.yAxis.gridType&&n.setLineDash([e.yAxis.dashLength*e.pix,e.yAxis.dashLength*e.pix]),n.setStrokeStyle(e.yAxis.gridColor),n.setLineWidth(1*e.pix),h.forEach((function(t,e){n.beginPath(),n.moveTo(o,t),n.lineTo(u,t),n.stroke()})),n.setLineDash([]),n.restore()}}function _t(t,e,i,n){if(!0!==e.yAxis.disabled){var a=e.height-e.area[0]-e.area[2],r=a/e.yAxis.splitNumber,o=e.area[3],s=e.width-e.area[1],c=e.height-e.area[2];n.beginPath(),n.setFillStyle(e.background),1==e.enableScroll&&e.xAxis.scrollPosition&&"left"!==e.xAxis.scrollPosition&&n.fillRect(0,0,o,c+2*e.pix),1==e.enableScroll&&e.xAxis.scrollPosition&&"right"!==e.xAxis.scrollPosition&&n.fillRect(s,0,e.width,c+2*e.pix),n.closePath(),n.stroke();var l=e.area[3],u=e.width-e.area[1],h=e.area[3]+(e.width-e.area[1]-e.area[3])/2;if(e.yAxis.data)for(var d=function(t){var o=e.yAxis.data[t];if(p=[],"categories"===o.type)for(var s=0;s<=o.categories.length;s++)p.push(e.area[0]+a/o.categories.length/2+a/o.categories.length*s);else for(var c=0;c<=e.yAxis.splitNumber;c++)p.push(e.area[0]+r*c);if(!0!==o.disabled){var d=e.chartData.yAxisData.rangesFormat[t],f=o.fontSize?o.fontSize*e.pix:i.fontSize,g=e.chartData.yAxisData.yAxisWidth[t],v=o.textAlign||"right";if(d.forEach((function(t,i){var a=p[i];n.beginPath(),n.setFontSize(f),n.setLineWidth(1*e.pix),n.setStrokeStyle(o.axisLineColor||"#cccccc"),n.setFillStyle(o.fontColor||e.fontColor);var r=0,s=4*e.pix;if("left"==g.position){switch(1==o.calibration&&(n.moveTo(l,a),n.lineTo(l-3*e.pix,a),s+=3*e.pix),v){case"left":n.setTextAlign("left"),r=l-g.width;break;case"right":n.setTextAlign("right"),r=l-s;break;default:n.setTextAlign("center"),r=l-g.width/2}n.fillText(String(t),r,a+f/2-3*e.pix)}else if("right"==g.position){switch(1==o.calibration&&(n.moveTo(u,a),n.lineTo(u+3*e.pix,a),s+=3*e.pix),v){case"left":n.setTextAlign("left"),r=u+s;break;case"right":n.setTextAlign("right"),r=u+g.width;break;default:n.setTextAlign("center"),r=u+g.width/2}n.fillText(String(t),r,a+f/2-3*e.pix)}else if("center"==g.position){switch(1==o.calibration&&(n.moveTo(h,a),n.lineTo(h-3*e.pix,a),s+=3*e.pix),v){case"left":n.setTextAlign("left"),r=h-g.width;break;case"right":n.setTextAlign("right"),r=h-s;break;default:n.setTextAlign("center"),r=h-g.width/2}n.fillText(String(t),r,a+f/2-3*e.pix)}n.closePath(),n.stroke(),n.setTextAlign("left")})),!1!==o.axisLine&&(n.beginPath(),n.setStrokeStyle(o.axisLineColor||"#cccccc"),n.setLineWidth(1*e.pix),"left"==g.position?(n.moveTo(l,e.height-e.area[2]),n.lineTo(l,e.area[0])):"right"==g.position?(n.moveTo(u,e.height-e.area[2]),n.lineTo(u,e.area[0])):"center"==g.position&&(n.moveTo(h,e.height-e.area[2]),n.lineTo(h,e.area[0])),n.stroke()),e.yAxis.showTitle){var m=o.titleFontSize*e.pix||i.fontSize,x=o.title;n.beginPath(),n.setFontSize(m),n.setFillStyle(o.titleFontColor||e.fontColor),"left"==g.position?n.fillText(x,l-y(x,m,n)/2+(o.titleOffsetX||0),e.area[0]-(10-(o.titleOffsetY||0))*e.pix):"right"==g.position?n.fillText(x,u-y(x,m,n)/2+(o.titleOffsetX||0),e.area[0]-(10-(o.titleOffsetY||0))*e.pix):"center"==g.position&&n.fillText(x,h-y(x,m,n)/2+(o.titleOffsetX||0),e.area[0]-(10-(o.titleOffsetY||0))*e.pix),n.closePath(),n.stroke()}"left"==g.position?l-=g.width+e.yAxis.padding*e.pix:u+=g.width+e.yAxis.padding*e.pix}},f=0;f<e.yAxis.data.length;f++){var p;d(f)}}}function bt(t,e,i,n,a){if(!1!==e.legend.show){var r=a.legendData,o=r.points,s=r.area,c=e.legend.padding*e.pix,l=e.legend.fontSize*e.pix,u=15*e.pix,h=5*e.pix,d=e.legend.itemGap*e.pix,f=Math.max(e.legend.lineHeight*e.pix,l);n.beginPath(),n.setLineWidth(e.legend.borderWidth*e.pix),n.setStrokeStyle(e.legend.borderColor),n.setFillStyle(e.legend.backgroundColor),n.moveTo(s.start.x,s.start.y),n.rect(s.start.x,s.start.y,s.width,s.height),n.closePath(),n.fill(),n.stroke(),o.forEach((function(t,a){var o,p=0;p=r.widthArr[a],o=r.heightArr[a];var g=0,v=0;if("top"==e.legend.position||"bottom"==e.legend.position){switch(e.legend.float){case"left":g=s.start.x+c;break;case"right":g=s.start.x+s.width-p;break;default:g=s.start.x+(s.width-p)/2}v=s.start.y+c+a*f}else p=0==a?0:r.widthArr[a-1],g=s.start.x+c+p,v=s.start.y+c+(s.height-o)/2;n.setFontSize(i.fontSize);for(var m=0;m<t.length;m++){var x=t[m];switch(x.area=[0,0,0,0],x.area[0]=g,x.area[1]=v,x.area[3]=v+f,n.beginPath(),n.setLineWidth(1*e.pix),n.setStrokeStyle(x.show?x.color:e.legend.hiddenColor),n.setFillStyle(x.show?x.color:e.legend.hiddenColor),x.legendShape){case"line":n.moveTo(g,v+.5*f-2*e.pix),n.fillRect(g,v+.5*f-2*e.pix,15*e.pix,4*e.pix);break;case"triangle":n.moveTo(g+7.5*e.pix,v+.5*f-5*e.pix),n.lineTo(g+2.5*e.pix,v+.5*f+5*e.pix),n.lineTo(g+12.5*e.pix,v+.5*f+5*e.pix),n.lineTo(g+7.5*e.pix,v+.5*f-5*e.pix);break;case"diamond":n.moveTo(g+7.5*e.pix,v+.5*f-5*e.pix),n.lineTo(g+2.5*e.pix,v+.5*f),n.lineTo(g+7.5*e.pix,v+.5*f+5*e.pix),n.lineTo(g+12.5*e.pix,v+.5*f),n.lineTo(g+7.5*e.pix,v+.5*f-5*e.pix);break;case"circle":n.moveTo(g+7.5*e.pix,v+.5*f),n.arc(g+7.5*e.pix,v+.5*f,5*e.pix,0,2*Math.PI);break;case"rect":n.moveTo(g,v+.5*f-5*e.pix),n.fillRect(g,v+.5*f-5*e.pix,15*e.pix,10*e.pix);break;case"square":n.moveTo(g+5*e.pix,v+.5*f-5*e.pix),n.fillRect(g+5*e.pix,v+.5*f-5*e.pix,10*e.pix,10*e.pix);break;case"none":break;default:n.moveTo(g,v+.5*f-5*e.pix),n.fillRect(g,v+.5*f-5*e.pix,15*e.pix,10*e.pix)}n.closePath(),n.fill(),n.stroke(),g+=u+h;var _=.5*f+.5*l-2,b=x.legendText?x.legendText:x.name;n.beginPath(),n.setFontSize(l),n.setFillStyle(x.show?e.legend.fontColor:e.legend.hiddenColor),n.fillText(b,g,v+_),n.closePath(),n.stroke(),"top"==e.legend.position||"bottom"==e.legend.position?(g+=y(b,l,n)+d,x.area[2]=g):(x.area[2]=g+y(b,l,n)+d,g-=u+h,v+=f)}}))}}function wt(t,e,i,n){var a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,r=s({},{activeOpacity:.5,activeRadius:10,offsetAngle:0,labelWidth:15,ringWidth:30,customRadius:0,border:!1,borderWidth:2,borderColor:"#FFFFFF",centerColor:"#FFFFFF",linearType:"none",customColor:[]},"pie"==e.type?e.extra.pie:e.extra.ring),o={x:e.area[3]+(e.width-e.area[1]-e.area[3])/2,y:e.area[0]+(e.height-e.area[0]-e.area[2])/2};0==i.pieChartLinePadding&&(i.pieChartLinePadding=r.activeRadius*e.pix);var c=Math.min((e.width-e.area[1]-e.area[3])/2-i.pieChartLinePadding-i.pieChartTextPadding-i._pieTextMaxLength_,(e.height-e.area[0]-e.area[2])/2-i.pieChartLinePadding-i.pieChartTextPadding);c=c<10?10:c,r.customRadius>0&&(c=r.customRadius*e.pix),t=$(t,c,a);var u=r.activeRadius*e.pix;if(r.customColor=m(r.linearType,r.customColor,t,i),t=t.map((function(t){return t._start_+=r.offsetAngle*Math.PI/180,t})),t.forEach((function(t,i){e.tooltip&&e.tooltip.index==i&&(n.beginPath(),n.setFillStyle(l(t.color,r.activeOpacity||.5)),n.moveTo(o.x,o.y),n.arc(o.x,o.y,t._radius_+u,t._start_,t._start_+2*t._proportion_*Math.PI),n.closePath(),n.fill()),n.beginPath(),n.setLineWidth(r.borderWidth*e.pix),n.lineJoin="round",n.setStrokeStyle(r.borderColor);var a,s=t.color;"custom"==r.linearType&&(a=n.createCircularGradient?n.createCircularGradient(o.x,o.y,t._radius_):n.createRadialGradient(o.x,o.y,0,o.x,o.y,t._radius_),a.addColorStop(0,l(r.customColor[t.linearIndex],1)),a.addColorStop(1,l(t.color,1)),s=a);n.setFillStyle(s),n.moveTo(o.x,o.y),n.arc(o.x,o.y,t._radius_,t._start_,t._start_+2*t._proportion_*Math.PI),n.closePath(),n.fill(),1==r.border&&n.stroke()})),"ring"===e.type){var h=.6*c;"number"===typeof r.ringWidth&&r.ringWidth>0&&(h=Math.max(0,c-r.ringWidth*e.pix)),n.beginPath(),n.setFillStyle(r.centerColor),n.moveTo(o.x,o.y),n.arc(o.x,o.y,h,0,2*Math.PI),n.closePath(),n.fill()}return!1!==e.dataLabel&&1===a&&ht(t,e,i,n,0,o),1===a&&"ring"===e.type&&rt(e,i,n,o),{center:o,radius:c,series:t}}function St(t,e){var i=Array(2),n=20037508.34*t/180,a=Math.log(Math.tan((90+e)*Math.PI/360))/(Math.PI/180);return a=20037508.34*a/180,i[0]=n,i[1]=a,i}function kt(t,e,i,n,a,r){return{x:(e-i.xMin)*n+a,y:(i.yMax-t)*n+r}}function Ct(t,e,i){if(e[1]==i[1])return!1;if(e[1]>t[1]&&i[1]>t[1])return!1;if(e[1]<t[1]&&i[1]<t[1])return!1;if(e[1]==t[1]&&i[1]>t[1])return!1;if(i[1]==t[1]&&e[1]>t[1])return!1;if(e[0]<t[0]&&i[1]<t[1])return!1;var n=i[0]-(i[0]-e[0])*(i[1]-t[1])/(i[1]-e[1]);return!(n<t[0])}function Tt(t,e,i){for(var n=0,a=0;a<e.length;a++){var r=e[a][0];1==e.length&&(r=e[a][0]);for(var o=0;o<r.length-1;o++){var s=r[o],c=r[o+1];i&&(s=St(r[o][0],r[o][1]),c=St(r[o+1][0],r[o+1][1])),Ct(t,s,c)&&(n+=1)}}return n%2==1}function Pt(t,e,i){i=0==i?1:i;for(var n=[],a=0;a<i;a++)n[a]=Math.random();return Math.floor(n.reduce((function(t,e){return t+e}))/i*(e-t))+t}function At(t,e,i,n){for(var a=!1,r=0;r<e.length;r++)if(e[r].area){if(!(t[3]<e[r].area[1]||t[0]>e[r].area[2]||t[1]>e[r].area[3]||t[2]<e[r].area[0])){a=!0;break}if(t[0]<0||t[1]<0||t[2]>i||t[3]>n){a=!0;break}a=!1}return a}function Ot(t,e,i){var n=t.series;switch(e){case"normal":for(var a=0;a<n.length;a++){var r=n[a].name,o=n[a].textSize*t.pix,s=y(r,o,i),c=void 0,l=void 0,u=void 0,h=0;while(1){h++,c=Pt(-t.width/2,t.width/2,5)-s/2,l=Pt(-t.height/2,t.height/2,5)+o/2,u=[c-5+t.width/2,l-5-o+t.height/2,c+s+5+t.width/2,l+5+t.height/2];var d=At(u,n,t.width,t.height);if(!d)break;if(1e3==h){u=[-100,-100,-100,-100];break}}n[a].area=u}break;case"vertical":for(var f=function(){return Math.random()>.7},p=0;p<n.length;p++){var g=n[p].name,v=n[p].textSize*t.pix,m=y(g,v,i),x=f(),_=void 0,b=void 0,w=void 0,S=void 0,k=0;while(1){k++;var C=void 0;if(x?(_=Pt(-t.width/2,t.width/2,5)-m/2,b=Pt(-t.height/2,t.height/2,5)+v/2,w=[b-5-m+t.width/2,-_-5+t.height/2,b+5+t.width/2,-_+v+5+t.height/2],S=[t.width-(t.width/2-t.height/2)-(-_+v+5+t.height/2)-5,t.height/2-t.width/2+(b-5-m+t.width/2)-5,t.width-(t.width/2-t.height/2)-(-_+v+5+t.height/2)+v,t.height/2-t.width/2+(b-5-m+t.width/2)+m+5],C=At(S,n,t.height,t.width)):(_=Pt(-t.width/2,t.width/2,5)-m/2,b=Pt(-t.height/2,t.height/2,5)+v/2,w=[_-5+t.width/2,b-5-v+t.height/2,_+m+5+t.width/2,b+5+t.height/2],C=At(w,n,t.width,t.height)),!C)break;if(1e3==k){w=[-1e3,-1e3,-1e3,-1e3];break}}x?(n[p].area=S,n[p].areav=w):n[p].area=w,n[p].rotate=x}break}return n}function Lt(t,e,i,n,a,r,o){for(var s=0;s<t.length;s++){var l=t[s];if(!1!==l.labelShow){var u=void 0,h=void 0,d=void 0,f=void 0,p=l.formatter?l.formatter(l,s,t,e):c.toFixed(100*l._proportion_)+"%";p=l.labelText?l.labelText:p,"right"==a&&(u=s==t.length-1?(l.funnelArea[2]+o.x)/2:(l.funnelArea[2]+t[s+1].funnelArea[2])/2,h=u+2*r,d=l.funnelArea[1]+n/2,f=l.textSize*e.pix||e.fontSize*e.pix,i.setLineWidth(1*e.pix),i.setStrokeStyle(l.color),i.setFillStyle(l.color),i.beginPath(),i.moveTo(u,d),i.lineTo(h,d),i.stroke(),i.closePath(),i.beginPath(),i.moveTo(h,d),i.arc(h,d,2*e.pix,0,2*Math.PI),i.closePath(),i.fill(),i.beginPath(),i.setFontSize(f),i.setFillStyle(l.textColor||e.fontColor),i.fillText(p,h+5,d+f/2-2),i.closePath(),i.stroke(),i.closePath()),"left"==a&&(u=s==t.length-1?(l.funnelArea[0]+o.x)/2:(l.funnelArea[0]+t[s+1].funnelArea[0])/2,h=u-2*r,d=l.funnelArea[1]+n/2,f=l.textSize*e.pix||e.fontSize*e.pix,i.setLineWidth(1*e.pix),i.setStrokeStyle(l.color),i.setFillStyle(l.color),i.beginPath(),i.moveTo(u,d),i.lineTo(h,d),i.stroke(),i.closePath(),i.beginPath(),i.moveTo(h,d),i.arc(h,d,2,0,2*Math.PI),i.closePath(),i.fill(),i.beginPath(),i.setFontSize(f),i.setFillStyle(l.textColor||e.fontColor),i.fillText(p,h-5-y(p,f,i),d+f/2-2),i.closePath(),i.stroke(),i.closePath())}}}function Dt(t,e,i,n,a,r,o){for(var s=0;s<t.length;s++){var c=t[s],l=void 0,u=void 0;c.centerText&&(l=c.funnelArea[1]+n/2,u=c.centerTextSize*e.pix||e.fontSize*e.pix,i.beginPath(),i.setFontSize(u),i.setFillStyle(c.centerTextColor||"#FFFFFF"),i.fillText(c.centerText,o.x-y(c.centerText,u,i)/2,l+u/2-2),i.closePath(),i.stroke(),i.closePath())}}function It(t,e){e.draw()}var Mt={easeIn:function(t){return Math.pow(t,3)},easeOut:function(t){return Math.pow(t-1,3)+1},easeInOut:function(t){return(t/=.5)<1?.5*Math.pow(t,3):.5*(Math.pow(t-2,3)+2)},linear:function(t){return t}};function Et(t){this.isStop=!1,t.duration="undefined"===typeof t.duration?1e3:t.duration,t.timing=t.timing||"easeInOut";var e=function(){return"undefined"!==typeof setTimeout?function(t,e){setTimeout((function(){var e=+new Date;t(e)}),e)}:"undefined"!==typeof requestAnimationFrame?requestAnimationFrame:function(t){t(null)}}(),i=null,n=function(a){if(null===a||!0===this.isStop)return t.onProcess&&t.onProcess(1),void(t.onAnimationFinish&&t.onAnimationFinish());if(null===i&&(i=a),a-i<t.duration){var r=(a-i)/t.duration,o=Mt[t.timing];r=o(r),t.onProcess&&t.onProcess(r),e(n,17)}else t.onProcess&&t.onProcess(1),t.onAnimationFinish&&t.onAnimationFinish()};n=n.bind(this),e(n,17)}function Ft(t,e,i,n){var r=this,o=this,u=e.series;"pie"!==t&&"ring"!==t&&"mount"!==t&&"rose"!==t&&"funnel"!==t||(u=function(t,e,i){var n=[];if(t.length>0&&t[0].data.constructor.toString().indexOf("Array")>-1){e._pieSeries_=t;for(var a=t[0].data,r=0;r<a.length;r++)a[r].formatter=t[0].formatter,a[r].data=a[r].value,n.push(a[r]);e.series=n}else n=t;return n}(u,e));var h=e.categories;if("mount"===t){h=[];for(var d=0;d<u.length;d++)!1!==u[d].show&&h.push(u[d].name);e.categories=h}u=v(u,e,i);var g=e.animation?e.duration:0;o.animationInstance&&o.animationInstance.stop();var x=null;if("candle"==t){var b=s({},e.extra.candle.average);b.show?(x=function(t,e,i,n){for(var a=[],r=0;r<t.length;r++){for(var o={data:[],name:e[r],color:i[r]},s=0,c=n.length;s<c;s++)if(s<t[r])o.data.push(null);else{for(var l=0,u=0;u<t[r];u++)l+=n[s-u][1];o.data.push(+(l/t[r]).toFixed(3))}a.push(o)}return a}(b.day,b.name,b.color,u[0].data),x=v(x,e,i),e.seriesMA=x):x=e.seriesMA?e.seriesMA=v(e.seriesMA,e,i):u}else x=u;e._series_=u=O(u),e.area=new Array(4);for(var w=0;w<4;w++)e.area[w]=e.padding[w]*e.pix;var S=function(t,e,i,n,a){var r={area:{start:{x:0,y:0},end:{x:0,y:0},width:0,height:0,wholeWidth:0,wholeHeight:0},points:[],widthArr:[],heightArr:[]};if(!1===e.legend.show)return n.legendData=r,r;var o=e.legend.padding*e.pix,s=e.legend.margin*e.pix,c=e.legend.fontSize?e.legend.fontSize*e.pix:i.fontSize,l=15*e.pix,u=5*e.pix,h=Math.max(e.legend.lineHeight*e.pix,c);if("top"==e.legend.position||"bottom"==e.legend.position){for(var d=[],f=0,p=[],g=[],v=0;v<t.length;v++){var m=t[v],x=m.legendText?m.legendText:m.name,_=l+u+y(x||"undefined",c,a)+e.legend.itemGap*e.pix;f+_>e.width-e.area[1]-e.area[3]?(d.push(g),p.push(f-e.legend.itemGap*e.pix),f=_,g=[m]):(f+=_,g.push(m))}if(g.length){d.push(g),p.push(f-e.legend.itemGap*e.pix),r.widthArr=p;var b=Math.max.apply(null,p);switch(e.legend.float){case"left":r.area.start.x=e.area[3],r.area.end.x=e.area[3]+b+2*o;break;case"right":r.area.start.x=e.width-e.area[1]-b-2*o,r.area.end.x=e.width-e.area[1];break;default:r.area.start.x=(e.width-b)/2-o,r.area.end.x=(e.width+b)/2+o}r.area.width=b+2*o,r.area.wholeWidth=b+2*o,r.area.height=d.length*h+2*o,r.area.wholeHeight=d.length*h+2*o+2*s,r.points=d}}else{var w=t.length,S=e.height-e.area[0]-e.area[2]-2*s-2*o,k=Math.min(Math.floor(S/h),w);switch(r.area.height=k*h+2*o,r.area.wholeHeight=k*h+2*o,e.legend.float){case"top":r.area.start.y=e.area[0]+s,r.area.end.y=e.area[0]+s+r.area.height;break;case"bottom":r.area.start.y=e.height-e.area[2]-s-r.area.height,r.area.end.y=e.height-e.area[2]-s;break;default:r.area.start.y=(e.height-r.area.height)/2,r.area.end.y=(e.height+r.area.height)/2}for(var C=w%k===0?w/k:Math.floor(w/k+1),T=[],P=0;P<C;P++){var A=t.slice(P*k,P*k+k);T.push(A)}if(r.points=T,T.length){for(var O=0;O<T.length;O++){for(var L=T[O],D=0,I=0;I<L.length;I++){var M=l+u+y(L[I].name||"undefined",c,a)+e.legend.itemGap*e.pix;M>D&&(D=M)}r.widthArr.push(D),r.heightArr.push(L.length*h+2*o)}for(var E=0,F=0;F<r.widthArr.length;F++)E+=r.widthArr[F];r.area.width=E-e.legend.itemGap*e.pix+2*o,r.area.wholeWidth=r.area.width+o}}switch(e.legend.position){case"top":r.area.start.y=e.area[0]+s,r.area.end.y=e.area[0]+s+r.area.height;break;case"bottom":r.area.start.y=e.height-e.area[2]-r.area.height-s,r.area.end.y=e.height-e.area[2]-s;break;case"left":r.area.start.x=e.area[3],r.area.end.x=e.area[3]+r.area.width;break;case"right":r.area.start.x=e.width-e.area[1]-r.area.width,r.area.end.x=e.width-e.area[1];break}return n.legendData=r,r}(x,e,i,e.chartData,n),T=S.area.wholeHeight,P=S.area.wholeWidth;switch(e.legend.position){case"top":e.area[0]+=T;break;case"bottom":e.area[2]+=T;break;case"left":e.area[3]+=P;break;case"right":e.area[1]+=P;break}var A={},L=0;if("line"===e.type||"column"===e.type||"mount"===e.type||"area"===e.type||"mix"===e.type||"candle"===e.type||"scatter"===e.type||"bubble"===e.type||"bar"===e.type){if(A=it(u,e,i,n),L=A.yAxisWidth,e.yAxis.showTitle){for(var D=0,et=0;et<e.yAxis.data.length;et++)D=Math.max(D,e.yAxis.data[et].titleFontSize?e.yAxis.data[et].titleFontSize*e.pix:i.fontSize);e.area[0]+=D}for(var ft=0,vt=0,Ct=0;Ct<L.length;Ct++)"left"==L[Ct].position?(e.area[3]+=vt>0?L[Ct].width+e.yAxis.padding*e.pix:L[Ct].width,vt+=1):"right"==L[Ct].position&&(e.area[1]+=ft>0?L[Ct].width+e.yAxis.padding*e.pix:L[Ct].width,ft+=1)}else i.yAxisWidth=L;if(e.chartData.yAxisData=A,e.categories&&e.categories.length&&"radar"!==e.type&&"gauge"!==e.type&&"bar"!==e.type){e.chartData.xAxisData=V(e.categories,e);var Tt=M(e.categories,e,i,e.chartData.xAxisData.eachSpacing,n),Pt=Tt.xAxisHeight,At=Tt.angle;i.xAxisHeight=Pt,i._xAxisTextAngle_=At,e.area[2]+=Pt,e.chartData.categoriesData=Tt}else if("line"===e.type||"area"===e.type||"scatter"===e.type||"bubble"===e.type||"bar"===e.type){e.chartData.xAxisData=E(u,e,i,n),h=e.chartData.xAxisData.rangesFormat;var Mt=M(h,e,i,e.chartData.xAxisData.eachSpacing,n),Ft=Mt.xAxisHeight,$t=Mt.angle;i.xAxisHeight=Ft,i._xAxisTextAngle_=$t,e.area[2]+=Ft,e.chartData.categoriesData=Mt}else e.chartData.xAxisData={xAxisPoints:[]};if(e.enableScroll&&"right"==e.xAxis.scrollAlign&&void 0===e._scrollDistance_){var Rt,Nt=e.chartData.xAxisData.xAxisPoints,jt=e.chartData.xAxisData.startX,Ut=e.chartData.xAxisData.endX,Bt=e.chartData.xAxisData.eachSpacing,zt=Bt*(Nt.length-1),Wt=Ut-jt;Rt=Wt-zt,o.scrollOption.currentOffset=Rt,o.scrollOption.startTouchX=Rt,o.scrollOption.distance=0,o.scrollOption.lastMoveTime=0,e._scrollDistance_=Rt}switch("pie"!==t&&"ring"!==t&&"rose"!==t||(i._pieTextMaxLength_=!1===e.dataLabel?0:function(t,e,i,n){t=$(t);for(var a=0,r=0;r<t.length;r++){var o=t[r],s=o.formatter?o.formatter(+o._proportion_.toFixed(2)):c.toFixed(100*o._proportion_)+"%";a=Math.max(a,y(s,o.textSize*n.pix||e.fontSize,i))}return a}(x,i,n,e)),t){case"word":this.animationInstance=new Et({timing:e.timing,duration:g,onProcess:function(t){n.clearRect(0,0,e.width,e.height),e.rotate&&nt(n,e),function(t,e,i,n){var a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,r=s({},{type:"normal",autoColors:!0},e.extra.word);e.chartData.wordCloudData||(e.chartData.wordCloudData=Ot(e,r.type,n)),n.beginPath(),n.setFillStyle(e.background),n.rect(0,0,e.width,e.height),n.fill(),n.save();var o=e.chartData.wordCloudData;n.translate(e.width/2,e.height/2);for(var c=0;c<o.length;c++){n.save(),o[c].rotate&&n.rotate(90*Math.PI/180);var l=o[c].name,u=o[c].textSize*e.pix,h=y(l,u,n);n.beginPath(),n.setStrokeStyle(o[c].color),n.setFillStyle(o[c].color),n.setFontSize(u),o[c].rotate?o[c].areav[0]>0&&(e.tooltip&&e.tooltip.index==c?n.strokeText(l,(o[c].areav[0]+5-e.width/2)*a-h*(1-a)/2,(o[c].areav[1]+5+u-e.height/2)*a):n.fillText(l,(o[c].areav[0]+5-e.width/2)*a-h*(1-a)/2,(o[c].areav[1]+5+u-e.height/2)*a)):o[c].area[0]>0&&(e.tooltip&&e.tooltip.index==c?n.strokeText(l,(o[c].area[0]+5-e.width/2)*a-h*(1-a)/2,(o[c].area[1]+5+u-e.height/2)*a):n.fillText(l,(o[c].area[0]+5-e.width/2)*a-h*(1-a)/2,(o[c].area[1]+5+u-e.height/2)*a)),n.stroke(),n.restore()}n.restore()}(u,e,i,n,t),It(0,n)},onAnimationFinish:function(){o.uevent.trigger("renderComplete")}});break;case"map":n.clearRect(0,0,e.width,e.height),function(t,e,i,n){var a,r,o=s({},{border:!0,mercator:!1,borderWidth:1,active:!0,borderColor:"#666666",fillOpacity:.6,activeBorderColor:"#f04864",activeFillColor:"#facc14",activeFillOpacity:1},e.extra.map),c=t,u=function(t){for(var e,i={xMin:180,xMax:0,yMin:90,yMax:0},n=0;n<t.length;n++)for(var a=t[n].geometry.coordinates,r=0;r<a.length;r++){e=a[r],1==e.length&&(e=e[0]);for(var o=0;o<e.length;o++){var s=e[o][0],c=e[o][1],l={x:s,y:c};i.xMin=i.xMin<l.x?i.xMin:l.x,i.xMax=i.xMax>l.x?i.xMax:l.x,i.yMin=i.yMin<l.y?i.yMin:l.y,i.yMax=i.yMax>l.y?i.yMax:l.y}}return i}(c);if(o.mercator){var h=St(u.xMax,u.yMax),d=St(u.xMin,u.yMin);u.xMax=h[0],u.yMax=h[1],u.xMin=d[0],u.yMin=d[1]}for(var f=e.width/Math.abs(u.xMax-u.xMin),p=e.height/Math.abs(u.yMax-u.yMin),g=f<p?f:p,v=e.width/2-Math.abs(u.xMax-u.xMin)/2*g,m=e.height/2-Math.abs(u.yMax-u.yMin)/2*g,x=0;x<c.length;x++){n.beginPath(),n.setLineWidth(o.borderWidth*e.pix),n.setStrokeStyle(o.borderColor),n.setFillStyle(l(t[x].color,t[x].fillOpacity||o.fillOpacity)),1==o.active&&e.tooltip&&e.tooltip.index==x&&(n.setStrokeStyle(o.activeBorderColor),n.setFillStyle(l(o.activeFillColor,o.activeFillOpacity)));for(var _=c[x].geometry.coordinates,b=0;b<_.length;b++){a=_[b],1==a.length&&(a=a[0]);for(var w=0;w<a.length;w++){var S=Array(2);S=o.mercator?St(a[w][0],a[w][1]):a[w],r=kt(S[1],S[0],u,g,v,m),0===w?(n.beginPath(),n.moveTo(r.x,r.y)):n.lineTo(r.x,r.y)}n.fill(),1==o.border&&n.stroke()}}if(1==e.dataLabel)for(x=0;x<c.length;x++){var k=c[x].properties.centroid;if(k){o.mercator&&(k=St(c[x].properties.centroid[0],c[x].properties.centroid[1])),r=kt(k[1],k[0],u,g,v,m);var C=c[x].textSize*e.pix||i.fontSize,T=c[x].textColor||e.fontColor;o.active&&o.activeTextColor&&e.tooltip&&e.tooltip.index==x&&(T=o.activeTextColor);var P=c[x].properties.name;n.beginPath(),n.setFontSize(C),n.setFillStyle(T),n.fillText(P,r.x-y(P,C,n)/2,r.y+C/2),n.closePath(),n.stroke()}}e.chartData.mapData={bounds:u,scale:g,xoffset:v,yoffset:m,mercator:o.mercator},mt(e,i,n,1),n.draw()}(u,e,i,n),setTimeout((function(){r.uevent.trigger("renderComplete")}),50);break;case"funnel":this.animationInstance=new Et({timing:e.timing,duration:g,onProcess:function(t){n.clearRect(0,0,e.width,e.height),e.rotate&&nt(n,e),e.chartData.funnelData=function(t,e,i,n){var a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,r=s({},{type:"funnel",activeWidth:10,activeOpacity:.3,border:!1,borderWidth:2,borderColor:"#FFFFFF",fillOpacity:1,minSize:0,labelAlign:"right",linearType:"none",customColor:[]},e.extra.funnel),o=(e.height-e.area[0]-e.area[2])/t.length,c={x:e.area[3]+(e.width-e.area[1]-e.area[3])/2,y:e.height-e.area[2]},u=r.activeWidth*e.pix,h=Math.min((e.width-e.area[1]-e.area[3])/2-u,(e.height-e.area[0]-e.area[2])/2-u),d=R(t,h,r,o,a);if(n.save(),n.translate(c.x,c.y),r.customColor=m(r.linearType,r.customColor,t,i),"pyramid"==r.type)for(var f=0;f<d.length;f++){if(f==d.length-1){e.tooltip&&e.tooltip.index==f&&(n.beginPath(),n.setFillStyle(l(d[f].color,r.activeOpacity)),n.moveTo(-u,-o),n.lineTo(-d[f].radius-u,0),n.lineTo(d[f].radius+u,0),n.lineTo(u,-o),n.lineTo(-u,-o),n.closePath(),n.fill()),d[f].funnelArea=[c.x-d[f].radius,c.y-o*(f+1),c.x+d[f].radius,c.y-o*f],n.beginPath(),n.setLineWidth(r.borderWidth*e.pix),n.setStrokeStyle(r.borderColor);var p=l(d[f].color,r.fillOpacity);if("custom"==r.linearType){var g=n.createLinearGradient(d[f].radius,-o,-d[f].radius,-o);g.addColorStop(0,l(d[f].color,r.fillOpacity)),g.addColorStop(.5,l(r.customColor[d[f].linearIndex],r.fillOpacity)),g.addColorStop(1,l(d[f].color,r.fillOpacity)),p=g}n.setFillStyle(p),n.moveTo(0,-o),n.lineTo(-d[f].radius,0),n.lineTo(d[f].radius,0),n.lineTo(0,-o),n.closePath(),n.fill(),1==r.border&&n.stroke()}else{e.tooltip&&e.tooltip.index==f&&(n.beginPath(),n.setFillStyle(l(d[f].color,r.activeOpacity)),n.moveTo(0,0),n.lineTo(-d[f].radius-u,0),n.lineTo(-d[f+1].radius-u,-o),n.lineTo(d[f+1].radius+u,-o),n.lineTo(d[f].radius+u,0),n.lineTo(0,0),n.closePath(),n.fill()),d[f].funnelArea=[c.x-d[f].radius,c.y-o*(f+1),c.x+d[f].radius,c.y-o*f],n.beginPath(),n.setLineWidth(r.borderWidth*e.pix),n.setStrokeStyle(r.borderColor);p=l(d[f].color,r.fillOpacity);if("custom"==r.linearType){g=n.createLinearGradient(d[f].radius,-o,-d[f].radius,-o);g.addColorStop(0,l(d[f].color,r.fillOpacity)),g.addColorStop(.5,l(r.customColor[d[f].linearIndex],r.fillOpacity)),g.addColorStop(1,l(d[f].color,r.fillOpacity)),p=g}n.setFillStyle(p),n.moveTo(0,0),n.lineTo(-d[f].radius,0),n.lineTo(-d[f+1].radius,-o),n.lineTo(d[f+1].radius,-o),n.lineTo(d[f].radius,0),n.lineTo(0,0),n.closePath(),n.fill(),1==r.border&&n.stroke()}n.translate(0,-o)}else{n.translate(0,-(d.length-1)*o);for(var v=0;v<d.length;v++){if(v==d.length-1){e.tooltip&&e.tooltip.index==v&&(n.beginPath(),n.setFillStyle(l(d[v].color,r.activeOpacity)),n.moveTo(-u-r.minSize/2,0),n.lineTo(-d[v].radius-u,-o),n.lineTo(d[v].radius+u,-o),n.lineTo(u+r.minSize/2,0),n.lineTo(-u-r.minSize/2,0),n.closePath(),n.fill()),d[v].funnelArea=[c.x-d[v].radius,c.y-o,c.x+d[v].radius,c.y],n.beginPath(),n.setLineWidth(r.borderWidth*e.pix),n.setStrokeStyle(r.borderColor);p=l(d[v].color,r.fillOpacity);if("custom"==r.linearType){g=n.createLinearGradient(d[v].radius,-o,-d[v].radius,-o);g.addColorStop(0,l(d[v].color,r.fillOpacity)),g.addColorStop(.5,l(r.customColor[d[v].linearIndex],r.fillOpacity)),g.addColorStop(1,l(d[v].color,r.fillOpacity)),p=g}n.setFillStyle(p),n.moveTo(0,0),n.lineTo(-r.minSize/2,0),n.lineTo(-d[v].radius,-o),n.lineTo(d[v].radius,-o),n.lineTo(r.minSize/2,0),n.lineTo(0,0),n.closePath(),n.fill(),1==r.border&&n.stroke()}else{e.tooltip&&e.tooltip.index==v&&(n.beginPath(),n.setFillStyle(l(d[v].color,r.activeOpacity)),n.moveTo(0,0),n.lineTo(-d[v+1].radius-u,0),n.lineTo(-d[v].radius-u,-o),n.lineTo(d[v].radius+u,-o),n.lineTo(d[v+1].radius+u,0),n.lineTo(0,0),n.closePath(),n.fill()),d[v].funnelArea=[c.x-d[v].radius,c.y-o*(d.length-v),c.x+d[v].radius,c.y-o*(d.length-v-1)],n.beginPath(),n.setLineWidth(r.borderWidth*e.pix),n.setStrokeStyle(r.borderColor);p=l(d[v].color,r.fillOpacity);if("custom"==r.linearType){g=n.createLinearGradient(d[v].radius,-o,-d[v].radius,-o);g.addColorStop(0,l(d[v].color,r.fillOpacity)),g.addColorStop(.5,l(r.customColor[d[v].linearIndex],r.fillOpacity)),g.addColorStop(1,l(d[v].color,r.fillOpacity)),p=g}n.setFillStyle(p),n.moveTo(0,0),n.lineTo(-d[v+1].radius,0),n.lineTo(-d[v].radius,-o),n.lineTo(d[v].radius,-o),n.lineTo(d[v+1].radius,0),n.lineTo(0,0),n.closePath(),n.fill(),1==r.border&&n.stroke()}n.translate(0,o)}}return n.restore(),!1!==e.dataLabel&&1===a&&Lt(d,e,n,o,r.labelAlign,u,c),1===a&&Dt(d,e,n,o,r.labelAlign,u,c),{center:c,radius:h,series:d}}(u,e,i,n,t),bt(e.series,e,i,n,e.chartData),mt(e,i,n,t),It(0,n)},onAnimationFinish:function(){o.uevent.trigger("renderComplete")}});break;case"line":this.animationInstance=new Et({timing:e.timing,duration:g,onProcess:function(t){n.clearRect(0,0,e.width,e.height),e.rotate&&nt(n,e),yt(0,e,0,n),xt(h,e,i,n);var a=function(t,e,i,n){var a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,r=s({},{type:"straight",width:2},e.extra.line);r.width*=e.pix;var o=e.chartData.xAxisData,c=o.xAxisPoints,l=o.eachSpacing,u=[];n.save();var h=0,d=e.width+l;return e._scrollDistance_&&0!==e._scrollDistance_&&!0===e.enableScroll&&(n.translate(e._scrollDistance_,0),h=-e._scrollDistance_-2*l+e.area[3],d=h+(e.xAxis.itemCount+4)*l),t.forEach((function(t,o){var s,p,g;s=[].concat(e.chartData.yAxisData.ranges[t.index]),p=s.pop(),g=s.shift();var v=t.data,m=X(v,p,g,c,l,e,i,a);u.push(m);var x=I(m,t);if("dash"==t.lineType){var y=t.dashLength?t.dashLength:8;y*=e.pix,n.setLineDash([y,y])}n.beginPath(),n.setStrokeStyle(t.color),n.setLineWidth(r.width),x.forEach((function(t,e){if(1===t.length)n.moveTo(t[0].x,t[0].y),n.arc(t[0].x,t[0].y,1,0,2*Math.PI);else{n.moveTo(t[0].x,t[0].y);var i=0;if("curve"===r.type)for(var a=0;a<t.length;a++){var o=t[a];if(0==i&&o.x>h&&(n.moveTo(o.x,o.y),i=1),a>0&&o.x>h&&o.x<d){var s=f(t,a-1);n.bezierCurveTo(s.ctrA.x,s.ctrA.y,s.ctrB.x,s.ctrB.y,o.x,o.y)}}if("straight"===r.type)for(var c=0;c<t.length;c++){var l=t[c];0==i&&l.x>h&&(n.moveTo(l.x,l.y),i=1),c>0&&l.x>h&&l.x<d&&n.lineTo(l.x,l.y)}if("step"===r.type)for(var u=0;u<t.length;u++){var p=t[u];0==i&&p.x>h&&(n.moveTo(p.x,p.y),i=1),u>0&&p.x>h&&p.x<d&&(n.lineTo(p.x,t[u-1].y),n.lineTo(p.x,p.y))}n.moveTo(t[0].x,t[0].y)}})),n.stroke(),n.setLineDash([]),!1!==e.dataPointShape&&at(m,t.color,t.pointShape,n,e)})),!1!==e.dataLabel&&1===a&&t.forEach((function(t,r){var o,s,u;o=[].concat(e.chartData.yAxisData.ranges[t.index]),s=o.pop(),u=o.shift();var h=t.data,d=X(h,s,u,c,l,e,i,a);ot(d,t,i,n,e)})),n.restore(),{xAxisPoints:c,calPoints:u,eachSpacing:l}}(u,e,i,n,t),r=a.xAxisPoints,o=a.calPoints,c=a.eachSpacing;e.chartData.xAxisPoints=r,e.chartData.calPoints=o,e.chartData.eachSpacing=c,_t(0,e,i,n),!1!==e.enableMarkLine&&1===t&&dt(e,i,n),bt(e.series,e,i,n,e.chartData),mt(e,i,n,t),It(0,n)},onAnimationFinish:function(){o.uevent.trigger("renderComplete")}});break;case"scatter":this.animationInstance=new Et({timing:e.timing,duration:g,onProcess:function(t){n.clearRect(0,0,e.width,e.height),e.rotate&&nt(n,e),yt(0,e,0,n),xt(h,e,i,n);var a=function(t,e,i,n){var a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,r=(s({},{type:"circle"},e.extra.scatter),e.chartData.xAxisData),o=r.xAxisPoints,c=r.eachSpacing,l=[];n.save();return e.width,e._scrollDistance_&&0!==e._scrollDistance_&&!0===e.enableScroll&&(n.translate(e._scrollDistance_,0),-e._scrollDistance_-2*c+e.area[3],e.xAxis.itemCount),t.forEach((function(t,r){var s,l,u;s=[].concat(e.chartData.yAxisData.ranges[t.index]),l=s.pop(),u=s.shift();var h=t.data,d=X(h,l,u,o,c,e,i,a);n.beginPath(),n.setStrokeStyle(t.color),n.setFillStyle(t.color),n.setLineWidth(1*e.pix);var f=t.pointShape;if("diamond"===f)d.forEach((function(t,e){null!==t&&(n.moveTo(t.x,t.y-4.5),n.lineTo(t.x-4.5,t.y),n.lineTo(t.x,t.y+4.5),n.lineTo(t.x+4.5,t.y),n.lineTo(t.x,t.y-4.5))}));else if("circle"===f)d.forEach((function(t,i){null!==t&&(n.moveTo(t.x+2.5*e.pix,t.y),n.arc(t.x,t.y,3*e.pix,0,2*Math.PI,!1))}));else if("square"===f)d.forEach((function(t,e){null!==t&&(n.moveTo(t.x-3.5,t.y-3.5),n.rect(t.x-3.5,t.y-3.5,7,7))}));else if("triangle"===f)d.forEach((function(t,e){null!==t&&(n.moveTo(t.x,t.y-4.5),n.lineTo(t.x-4.5,t.y+4.5),n.lineTo(t.x+4.5,t.y+4.5),n.lineTo(t.x,t.y-4.5))}));else if("triangle"===f)return;n.closePath(),n.fill(),n.stroke()})),!1!==e.dataLabel&&1===a&&t.forEach((function(t,r){var s,l,u;s=[].concat(e.chartData.yAxisData.ranges[t.index]),l=s.pop(),u=s.shift();var h=t.data,d=X(h,l,u,o,c,e,i,a);ot(d,t,i,n,e)})),n.restore(),{xAxisPoints:o,calPoints:l,eachSpacing:c}}(u,e,i,n,t),r=a.xAxisPoints,o=a.calPoints,c=a.eachSpacing;e.chartData.xAxisPoints=r,e.chartData.calPoints=o,e.chartData.eachSpacing=c,_t(0,e,i,n),!1!==e.enableMarkLine&&1===t&&dt(e,i,n),bt(e.series,e,i,n,e.chartData),mt(e,i,n,t),It(0,n)},onAnimationFinish:function(){o.uevent.trigger("renderComplete")}});break;case"bubble":this.animationInstance=new Et({timing:e.timing,duration:g,onProcess:function(t){n.clearRect(0,0,e.width,e.height),e.rotate&&nt(n,e),yt(0,e,0,n),xt(h,e,i,n);var a=function(t,e,i,n){var a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,r=s({},{opacity:1,border:2},e.extra.bubble),o=e.chartData.xAxisData,c=o.xAxisPoints,u=o.eachSpacing,h=[];n.save();return e.width,e._scrollDistance_&&0!==e._scrollDistance_&&!0===e.enableScroll&&(n.translate(e._scrollDistance_,0),-e._scrollDistance_-2*u+e.area[3],e.xAxis.itemCount),t.forEach((function(t,o){var s,h,d;s=[].concat(e.chartData.yAxisData.ranges[t.index]),h=s.pop(),d=s.shift();var f=t.data,p=X(f,h,d,c,u,e,i,a);n.beginPath(),n.setStrokeStyle(t.color),n.setLineWidth(r.border*e.pix),n.setFillStyle(l(t.color,r.opacity)),p.forEach((function(t,i){n.moveTo(t.x+t.r,t.y),n.arc(t.x,t.y,t.r*e.pix,0,2*Math.PI,!1)})),n.closePath(),n.fill(),n.stroke(),!1!==e.dataLabel&&1===a&&p.forEach((function(a,r){n.beginPath();var o=t.textSize*e.pix||i.fontSize;n.setFontSize(o),n.setFillStyle(t.textColor||"#FFFFFF"),n.setTextAlign("center"),n.fillText(String(a.t),a.x,a.y+o/2),n.closePath(),n.stroke(),n.setTextAlign("left")}))})),n.restore(),{xAxisPoints:c,calPoints:h,eachSpacing:u}}(u,e,i,n,t),r=a.xAxisPoints,o=a.calPoints,c=a.eachSpacing;e.chartData.xAxisPoints=r,e.chartData.calPoints=o,e.chartData.eachSpacing=c,_t(0,e,i,n),!1!==e.enableMarkLine&&1===t&&dt(e,i,n),bt(e.series,e,i,n,e.chartData),mt(e,i,n,t),It(0,n)},onAnimationFinish:function(){o.uevent.trigger("renderComplete")}});break;case"mix":this.animationInstance=new Et({timing:e.timing,duration:g,onProcess:function(t){n.clearRect(0,0,e.width,e.height),e.rotate&&nt(n,e),yt(0,e,0,n),xt(h,e,i,n);var r=function(t,e,i,n){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,o=e.chartData.xAxisData,c=o.xAxisPoints,u=o.eachSpacing,h=s({},{width:u/2,barBorderCircle:!1,barBorderRadius:[],seriesGap:2,linearType:"none",linearOpacity:1,customColor:[],colorStop:0},e.extra.mix.column),d=s({},{opacity:.2,gradient:!1},e.extra.mix.area),p=s({},{width:2},e.extra.mix.line),g=e.height-e.area[2],v=[],x=0,y=0;t.forEach((function(t,e){"column"==t.type&&(y+=1)})),n.save();var _=-2,b=c.length+2,w=0,S=e.width+u;if(e._scrollDistance_&&0!==e._scrollDistance_&&!0===e.enableScroll&&(n.translate(e._scrollDistance_,0),_=Math.floor(-e._scrollDistance_/u)-2,b=_+e.xAxis.itemCount+4,w=-e._scrollDistance_-2*u+e.area[3],S=w+(e.xAxis.itemCount+4)*u),h.customColor=m(h.linearType,h.customColor,t,i),t.forEach((function(t,o){var s,m,k;s=[].concat(e.chartData.yAxisData.ranges[t.index]),m=s.pop(),k=s.shift();var C=t.data,T=X(C,m,k,c,u,e,i,r);if(v.push(T),"column"==t.type){T=W(T,u,y,x,0,e);for(var P=0;P<T.length;P++){var A=T[P];if(null!==A&&P>_&&P<b){var O=A.x-A.width/2;e.height,A.y,e.area[2];n.beginPath();var L=A.color||t.color,D=A.color||t.color;if("none"!==h.linearType){var M=n.createLinearGradient(O,A.y,O,e.height-e.area[2]);"opacity"==h.linearType?(M.addColorStop(0,l(L,h.linearOpacity)),M.addColorStop(1,l(L,1))):(M.addColorStop(0,l(h.customColor[t.linearIndex],h.linearOpacity)),M.addColorStop(h.colorStop,l(h.customColor[t.linearIndex],h.linearOpacity)),M.addColorStop(1,l(L,1))),L=M}if(h.barBorderRadius&&4===h.barBorderRadius.length||h.barBorderCircle){var E=O,F=A.y,$=A.width,R=e.height-e.area[2]-A.y;h.barBorderCircle&&(h.barBorderRadius=[$/2,$/2,0,0]);var N=(0,a.default)(h.barBorderRadius,4),j=N[0],U=N[1],B=N[2],z=N[3],q=Math.min($/2,R/2);j=j>q?q:j,U=U>q?q:U,B=B>q?q:B,z=z>q?q:z,j=j<0?0:j,U=U<0?0:U,B=B<0?0:B,z=z<0?0:z,n.arc(E+j,F+j,j,-Math.PI,-Math.PI/2),n.arc(E+$-U,F+U,U,-Math.PI/2,0),n.arc(E+$-B,F+R-B,B,0,Math.PI/2),n.arc(E+z,F+R-z,z,Math.PI/2,Math.PI)}else n.moveTo(O,A.y),n.lineTo(O+A.width,A.y),n.lineTo(O+A.width,e.height-e.area[2]),n.lineTo(O,e.height-e.area[2]),n.lineTo(O,A.y),n.setLineWidth(1),n.setStrokeStyle(D);n.setFillStyle(L),n.closePath(),n.fill()}}x+=1}if("area"==t.type)for(var H=I(T,t),G=0;G<H.length;G++){var J=H[G];if(n.beginPath(),n.setStrokeStyle(t.color),n.setStrokeStyle(l(t.color,d.opacity)),d.gradient){var V=n.createLinearGradient(0,e.area[0],0,e.height-e.area[2]);V.addColorStop("0",l(t.color,d.opacity)),V.addColorStop("1.0",l("#FFFFFF",.1)),n.setFillStyle(V)}else n.setFillStyle(l(t.color,d.opacity));if(n.setLineWidth(2*e.pix),J.length>1){var K=J[0],Y=J[J.length-1];n.moveTo(K.x,K.y);var Q=0;if("curve"===t.style)for(var Z=0;Z<J.length;Z++){var tt=J[Z];if(0==Q&&tt.x>w&&(n.moveTo(tt.x,tt.y),Q=1),Z>0&&tt.x>w&&tt.x<S){var et=f(J,Z-1);n.bezierCurveTo(et.ctrA.x,et.ctrA.y,et.ctrB.x,et.ctrB.y,tt.x,tt.y)}}else for(var it=0;it<J.length;it++){var nt=J[it];0==Q&&nt.x>w&&(n.moveTo(nt.x,nt.y),Q=1),it>0&&nt.x>w&&nt.x<S&&n.lineTo(nt.x,nt.y)}n.lineTo(Y.x,g),n.lineTo(K.x,g),n.lineTo(K.x,K.y)}else{var rt=J[0];n.moveTo(rt.x-u/2,rt.y),n.lineTo(rt.x+u/2,rt.y),n.lineTo(rt.x+u/2,g),n.lineTo(rt.x-u/2,g),n.moveTo(rt.x-u/2,rt.y)}n.closePath(),n.fill()}if("line"==t.type){var ot=I(T,t);ot.forEach((function(i,a){if("dash"==t.lineType){var r=t.dashLength?t.dashLength:8;r*=e.pix,n.setLineDash([r,r])}if(n.beginPath(),n.setStrokeStyle(t.color),n.setLineWidth(p.width*e.pix),1===i.length)n.moveTo(i[0].x,i[0].y),n.arc(i[0].x,i[0].y,1,0,2*Math.PI);else{n.moveTo(i[0].x,i[0].y);var o=0;if("curve"==t.style)for(var s=0;s<i.length;s++){var c=i[s];if(0==o&&c.x>w&&(n.moveTo(c.x,c.y),o=1),s>0&&c.x>w&&c.x<S){var l=f(i,s-1);n.bezierCurveTo(l.ctrA.x,l.ctrA.y,l.ctrB.x,l.ctrB.y,c.x,c.y)}}else for(var u=0;u<i.length;u++){var h=i[u];0==o&&h.x>w&&(n.moveTo(h.x,h.y),o=1),u>0&&h.x>w&&h.x<S&&n.lineTo(h.x,h.y)}n.moveTo(i[0].x,i[0].y)}n.stroke(),n.setLineDash([])}))}"point"==t.type&&(t.addPoint=!0),1==t.addPoint&&"column"!==t.type&&at(T,t.color,t.pointShape,n,e)})),!1!==e.dataLabel&&1===r){x=0;t.forEach((function(t,a){var o,s,l;o=[].concat(e.chartData.yAxisData.ranges[t.index]),s=o.pop(),l=o.shift();var h=t.data,d=X(h,s,l,c,u,e,i,r);"column"!==t.type?ot(d,t,i,n,e):(d=W(d,u,y,x,0,e),ot(d,t,i,n,e),x+=1)}))}return n.restore(),{xAxisPoints:c,calPoints:v,eachSpacing:u}}(u,e,i,n,t),o=r.xAxisPoints,c=r.calPoints,d=r.eachSpacing;e.chartData.xAxisPoints=o,e.chartData.calPoints=c,e.chartData.eachSpacing=d,_t(0,e,i,n),!1!==e.enableMarkLine&&1===t&&dt(e,i,n),bt(e.series,e,i,n,e.chartData),mt(e,i,n,t),It(0,n)},onAnimationFinish:function(){o.uevent.trigger("renderComplete")}});break;case"column":this.animationInstance=new Et({timing:e.timing,duration:g,onProcess:function(t){n.clearRect(0,0,e.width,e.height),e.rotate&&nt(n,e),yt(0,e,0,n),xt(h,e,i,n);var r=function(t,e,i,n){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,o=e.chartData.xAxisData,c=o.xAxisPoints,u=o.eachSpacing,h=s({},{type:"group",width:u/2,meterBorder:4,meterFillColor:"#FFFFFF",barBorderCircle:!1,barBorderRadius:[],seriesGap:2,linearType:"none",linearOpacity:1,customColor:[],colorStop:0},e.extra.column),d=[];n.save();var f=-2,p=c.length+2;return e._scrollDistance_&&0!==e._scrollDistance_&&!0===e.enableScroll&&(n.translate(e._scrollDistance_,0),f=Math.floor(-e._scrollDistance_/u)-2,p=f+e.xAxis.itemCount+4),e.tooltip&&e.tooltip.textList&&e.tooltip.textList.length&&1===r&&pt(e.tooltip.offset.x,e,0,n,u),h.customColor=m(h.linearType,h.customColor,t,i),t.forEach((function(o,s){var g,v,m;g=[].concat(e.chartData.yAxisData.ranges[o.index]),v=g.pop(),m=g.shift();var x=o.data;switch(h.type){case"group":var y=X(x,v,m,c,u,e,i,r),_=Z(x,v,m,c,u,e,i,s,t,r);d.push(_),y=W(y,u,t.length,s,0,e);for(var b=0;b<y.length;b++){var w=y[b];if(null!==w&&b>f&&b<p){var S=w.x-w.width/2,k=e.height-w.y-e.area[2];n.beginPath();var C=w.color||o.color,T=w.color||o.color;if("none"!==h.linearType){var P=n.createLinearGradient(S,w.y,S,e.height-e.area[2]);"opacity"==h.linearType?(P.addColorStop(0,l(C,h.linearOpacity)),P.addColorStop(1,l(C,1))):(P.addColorStop(0,l(h.customColor[o.linearIndex],h.linearOpacity)),P.addColorStop(h.colorStop,l(h.customColor[o.linearIndex],h.linearOpacity)),P.addColorStop(1,l(C,1))),C=P}if(h.barBorderRadius&&4===h.barBorderRadius.length||!0===h.barBorderCircle){var A=S,O=w.y,L=w.width,D=e.height-e.area[2]-w.y;h.barBorderCircle&&(h.barBorderRadius=[L/2,L/2,0,0]);var I=(0,a.default)(h.barBorderRadius,4),M=I[0],E=I[1],F=I[2],$=I[3],R=Math.min(L/2,D/2);M=M>R?R:M,E=E>R?R:E,F=F>R?R:F,$=$>R?R:$,M=M<0?0:M,E=E<0?0:E,F=F<0?0:F,$=$<0?0:$,n.arc(A+M,O+M,M,-Math.PI,-Math.PI/2),n.arc(A+L-E,O+E,E,-Math.PI/2,0),n.arc(A+L-F,O+D-F,F,0,Math.PI/2),n.arc(A+$,O+D-$,$,Math.PI/2,Math.PI)}else n.moveTo(S,w.y),n.lineTo(S+w.width,w.y),n.lineTo(S+w.width,e.height-e.area[2]),n.lineTo(S,e.height-e.area[2]),n.lineTo(S,w.y),n.setLineWidth(1),n.setStrokeStyle(T);n.setFillStyle(C),n.closePath(),n.fill()}}break;case"stack":y=Z(x,v,m,c,u,e,i,s,t,r);d.push(y),y=G(y,u,t.length,0,0,e);for(var N=0;N<y.length;N++){var j=y[N];if(null!==j&&N>f&&N<p){n.beginPath();C=j.color||o.color,S=j.x-j.width/2+1,k=e.height-j.y-e.area[2];var U=e.height-j.y0-e.area[2];s>0&&(k-=U),n.setFillStyle(C),n.moveTo(S,j.y),n.fillRect(S,j.y,j.width,k),n.closePath(),n.fill()}}break;case"meter":y=X(x,v,m,c,u,e,i,r);d.push(y),y=H(y,u,t.length,s,0,e,h.meterBorder);for(var B=0;B<y.length;B++){var z=y[B];if(null!==z&&B>f&&B<p){n.beginPath(),0==s&&h.meterBorder>0&&(n.setStrokeStyle(o.color),n.setLineWidth(h.meterBorder*e.pix)),0==s?n.setFillStyle(h.meterFillColor):n.setFillStyle(z.color||o.color);S=z.x-z.width/2,k=e.height-z.y-e.area[2];if(h.barBorderRadius&&4===h.barBorderRadius.length||!0===h.barBorderCircle){var q=S,J=z.y,V=z.width,K=e.height-e.area[2]-z.y;h.barBorderCircle&&(h.barBorderRadius=[V/2,V/2,0,0]);var Y=(0,a.default)(h.barBorderRadius,4),Q=Y[0],tt=Y[1],et=Y[2],it=Y[3],nt=Math.min(V/2,K/2);Q=Q>nt?nt:Q,tt=tt>nt?nt:tt,et=et>nt?nt:et,it=it>nt?nt:it,Q=Q<0?0:Q,tt=tt<0?0:tt,et=et<0?0:et,it=it<0?0:it,n.arc(q+Q,J+Q,Q,-Math.PI,-Math.PI/2),n.arc(q+V-tt,J+tt,tt,-Math.PI/2,0),n.arc(q+V-et,J+K-et,et,0,Math.PI/2),n.arc(q+it,J+K-it,it,Math.PI/2,Math.PI),n.fill()}else n.moveTo(S,z.y),n.lineTo(S+z.width,z.y),n.lineTo(S+z.width,e.height-e.area[2]),n.lineTo(S,e.height-e.area[2]),n.lineTo(S,z.y),n.fill();0==s&&h.meterBorder>0&&(n.closePath(),n.stroke())}}break}})),!1!==e.dataLabel&&1===r&&t.forEach((function(a,o){var s,l,d;s=[].concat(e.chartData.yAxisData.ranges[a.index]),l=s.pop(),d=s.shift();var f=a.data;switch(h.type){case"group":var p=X(f,l,d,c,u,e,i,r);p=W(p,u,t.length,o,0,e),ot(p,a,i,n,e);break;case"stack":p=Z(f,l,d,c,u,e,i,o,t,r);ot(p,a,i,n,e);break;case"meter":p=X(f,l,d,c,u,e,i,r);ot(p,a,i,n,e);break}})),n.restore(),{xAxisPoints:c,calPoints:d,eachSpacing:u}}(u,e,i,n,t),o=r.xAxisPoints,c=r.calPoints,d=r.eachSpacing;e.chartData.xAxisPoints=o,e.chartData.calPoints=c,e.chartData.eachSpacing=d,_t(0,e,i,n),!1!==e.enableMarkLine&&1===t&&dt(e,i,n),bt(e.series,e,i,n,e.chartData),mt(e,i,n,t),It(0,n)},onAnimationFinish:function(){o.uevent.trigger("renderComplete")}});break;case"mount":this.animationInstance=new Et({timing:e.timing,duration:g,onProcess:function(t){n.clearRect(0,0,e.width,e.height),e.rotate&&nt(n,e),yt(0,e,0,n),xt(h,e,i,n);var r=function(t,e,i,n){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,o=e.chartData.xAxisData,c=o.xAxisPoints,u=o.eachSpacing,h=s({},{type:"mount",widthRatio:1,borderWidth:1,barBorderCircle:!1,barBorderRadius:[],linearType:"none",linearOpacity:1,customColor:[],colorStop:0},e.extra.mount);h.widthRatio=h.widthRatio<=0?0:h.widthRatio,h.widthRatio=h.widthRatio>=2?2:h.widthRatio,n.save();var d,f,p,g=-2,v=c.length+2;e._scrollDistance_&&0!==e._scrollDistance_&&!0===e.enableScroll&&(n.translate(e._scrollDistance_,0),g=Math.floor(-e._scrollDistance_/u)-2,v=g+e.xAxis.itemCount+4),h.customColor=m(h.linearType,h.customColor,t,i),d=[].concat(e.chartData.yAxisData.ranges[0]),f=d.pop(),p=d.shift();var x=Y(t,f,p,c,u,e,h,r);switch(h.type){case"bar":for(var y=0;y<x.length;y++){var _=x[y];if(null!==_&&y>g&&y<v){var b=_.x-u*h.widthRatio/2,w=e.height-_.y-e.area[2];n.beginPath();var S=_.color||t[y].color,k=_.color||t[y].color;if("none"!==h.linearType){var C=n.createLinearGradient(b,_.y,b,e.height-e.area[2]);"opacity"==h.linearType?(C.addColorStop(0,l(S,h.linearOpacity)),C.addColorStop(1,l(S,1))):(C.addColorStop(0,l(h.customColor[t[y].linearIndex],h.linearOpacity)),C.addColorStop(h.colorStop,l(h.customColor[t[y].linearIndex],h.linearOpacity)),C.addColorStop(1,l(S,1))),S=C}if(h.barBorderRadius&&4===h.barBorderRadius.length||!0===h.barBorderCircle){var T=b,P=_.y,A=_.width,O=e.height-e.area[2]-_.y-h.borderWidth*e.pix/2;h.barBorderCircle&&(h.barBorderRadius=[A/2,A/2,0,0]);var L=(0,a.default)(h.barBorderRadius,4),D=L[0],I=L[1],M=L[2],E=L[3],F=Math.min(A/2,O/2);D=D>F?F:D,I=I>F?F:I,M=M>F?F:M,E=E>F?F:E,D=D<0?0:D,I=I<0?0:I,M=M<0?0:M,E=E<0?0:E,n.arc(T+D,P+D,D,-Math.PI,-Math.PI/2),n.arc(T+A-I,P+I,I,-Math.PI/2,0),n.arc(T+A-M,P+O-M,M,0,Math.PI/2),n.arc(T+E,P+O-E,E,Math.PI/2,Math.PI)}else n.moveTo(b,_.y),n.lineTo(b+_.width,_.y),n.lineTo(b+_.width,e.height-e.area[2]),n.lineTo(b,e.height-e.area[2]),n.lineTo(b,_.y);n.setStrokeStyle(k),n.setFillStyle(S),h.borderWidth>0&&(n.setLineWidth(h.borderWidth*e.pix),n.closePath(),n.stroke()),n.fill()}}break;case"triangle":for(var $=0;$<x.length;$++){var R=x[$];if(null!==R&&$>g&&$<v){b=R.x-u*h.widthRatio/2,w=e.height-R.y-e.area[2];n.beginPath();S=R.color||t[$].color,k=R.color||t[$].color;if("none"!==h.linearType){C=n.createLinearGradient(b,R.y,b,e.height-e.area[2]);"opacity"==h.linearType?(C.addColorStop(0,l(S,h.linearOpacity)),C.addColorStop(1,l(S,1))):(C.addColorStop(0,l(h.customColor[t[$].linearIndex],h.linearOpacity)),C.addColorStop(h.colorStop,l(h.customColor[t[$].linearIndex],h.linearOpacity)),C.addColorStop(1,l(S,1))),S=C}n.moveTo(b,e.height-e.area[2]),n.lineTo(R.x,R.y),n.lineTo(b+R.width,e.height-e.area[2]),n.setStrokeStyle(k),n.setFillStyle(S),h.borderWidth>0&&(n.setLineWidth(h.borderWidth*e.pix),n.stroke()),n.fill()}}break;case"mount":for(var N=0;N<x.length;N++){var j=x[N];if(null!==j&&N>g&&N<v){b=j.x-u*h.widthRatio/2,w=e.height-j.y-e.area[2];n.beginPath();S=j.color||t[N].color,k=j.color||t[N].color;if("none"!==h.linearType){C=n.createLinearGradient(b,j.y,b,e.height-e.area[2]);"opacity"==h.linearType?(C.addColorStop(0,l(S,h.linearOpacity)),C.addColorStop(1,l(S,1))):(C.addColorStop(0,l(h.customColor[t[N].linearIndex],h.linearOpacity)),C.addColorStop(h.colorStop,l(h.customColor[t[N].linearIndex],h.linearOpacity)),C.addColorStop(1,l(S,1))),S=C}n.moveTo(b,e.height-e.area[2]),n.bezierCurveTo(j.x-j.width/4,e.height-e.area[2],j.x-j.width/4,j.y,j.x,j.y),n.bezierCurveTo(j.x+j.width/4,j.y,j.x+j.width/4,e.height-e.area[2],b+j.width,e.height-e.area[2]),n.setStrokeStyle(k),n.setFillStyle(S),h.borderWidth>0&&(n.setLineWidth(h.borderWidth*e.pix),n.stroke()),n.fill()}}break;case"sharp":for(var U=0;U<x.length;U++){var B=x[U];if(null!==B&&U>g&&U<v){b=B.x-u*h.widthRatio/2,w=e.height-B.y-e.area[2];n.beginPath();S=B.color||t[U].color,k=B.color||t[U].color;if("none"!==h.linearType){C=n.createLinearGradient(b,B.y,b,e.height-e.area[2]);"opacity"==h.linearType?(C.addColorStop(0,l(S,h.linearOpacity)),C.addColorStop(1,l(S,1))):(C.addColorStop(0,l(h.customColor[t[U].linearIndex],h.linearOpacity)),C.addColorStop(h.colorStop,l(h.customColor[t[U].linearIndex],h.linearOpacity)),C.addColorStop(1,l(S,1))),S=C}n.moveTo(b,e.height-e.area[2]),n.quadraticCurveTo(B.x-0,e.height-e.area[2]-w/4,B.x,B.y),n.quadraticCurveTo(B.x+0,e.height-e.area[2]-w/4,b+B.width,e.height-e.area[2]),n.setStrokeStyle(k),n.setFillStyle(S),h.borderWidth>0&&(n.setLineWidth(h.borderWidth*e.pix),n.stroke()),n.fill()}}break}if(!1!==e.dataLabel&&1===r){var z,W,q;z=[].concat(e.chartData.yAxisData.ranges[0]),W=z.pop(),q=z.shift();x=Y(t,W,q,c,u,e,h,r);st(x,t,i,n,e)}return n.restore(),{xAxisPoints:c,calPoints:x,eachSpacing:u}}(u,e,i,n,t),o=r.xAxisPoints,c=r.calPoints,d=r.eachSpacing;e.chartData.xAxisPoints=o,e.chartData.calPoints=c,e.chartData.eachSpacing=d,_t(0,e,i,n),!1!==e.enableMarkLine&&1===t&&dt(e,i,n),bt(e.series,e,i,n,e.chartData),mt(e,i,n,t),It(0,n)},onAnimationFinish:function(){o.uevent.trigger("renderComplete")}});break;case"bar":this.animationInstance=new Et({timing:e.timing,duration:g,onProcess:function(t){n.clearRect(0,0,e.width,e.height),e.rotate&&nt(n,e),xt(h,e,i,n);var r=function(t,e,i,n){for(var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,o=[],c=(e.height-e.area[0]-e.area[2])/e.categories.length,u=0;u<e.categories.length;u++)o.push(e.area[0]+c/2+c*u);var h=s({},{type:"group",width:c/2,meterBorder:4,meterFillColor:"#FFFFFF",barBorderCircle:!1,barBorderRadius:[],seriesGap:2,linearType:"none",linearOpacity:1,customColor:[],colorStop:0},e.extra.bar),d=[];n.save();var f=-2,p=o.length+2;return e.tooltip&&e.tooltip.textList&&e.tooltip.textList.length&&1===r&&gt(e.tooltip.offset.y,e,0,n,c),h.customColor=m(h.linearType,h.customColor,t,i),t.forEach((function(s,u){var g,v,m;g=[].concat(e.chartData.xAxisData.ranges),m=g.pop(),v=g.shift();var x=s.data;switch(h.type){case"group":var y=Q(x,v,m,o,c,e,i,r),_=tt(x,v,m,o,c,e,i,u,t,r);d.push(_),y=q(y,c,t.length,u,0,e);for(var b=0;b<y.length;b++){var w=y[b];if(null!==w&&b>f&&b<p){var S=e.area[3],k=w.y-w.width/2;w.height;n.beginPath();var C=w.color||s.color,T=w.color||s.color;if("none"!==h.linearType){var P=n.createLinearGradient(S,w.y,w.x,w.y);"opacity"==h.linearType?(P.addColorStop(0,l(C,h.linearOpacity)),P.addColorStop(1,l(C,1))):(P.addColorStop(0,l(h.customColor[s.linearIndex],h.linearOpacity)),P.addColorStop(h.colorStop,l(h.customColor[s.linearIndex],h.linearOpacity)),P.addColorStop(1,l(C,1))),C=P}if(h.barBorderRadius&&4===h.barBorderRadius.length||!0===h.barBorderCircle){var A=S,O=w.width,L=w.y-w.width/2,D=w.height;h.barBorderCircle&&(h.barBorderRadius=[O/2,O/2,0,0]);var I=(0,a.default)(h.barBorderRadius,4),M=I[0],E=I[1],F=I[2],$=I[3],R=Math.min(O/2,D/2);M=M>R?R:M,E=E>R?R:E,F=F>R?R:F,$=$>R?R:$,M=M<0?0:M,E=E<0?0:E,F=F<0?0:F,$=$<0?0:$,n.arc(A+$,L+$,$,-Math.PI,-Math.PI/2),n.arc(w.x-M,L+M,M,-Math.PI/2,0),n.arc(w.x-E,L+O-E,E,0,Math.PI/2),n.arc(A+F,L+O-F,F,Math.PI/2,Math.PI)}else n.moveTo(S,k),n.lineTo(w.x,k),n.lineTo(w.x,k+w.width),n.lineTo(S,k+w.width),n.lineTo(S,k),n.setLineWidth(1),n.setStrokeStyle(T);n.setFillStyle(C),n.closePath(),n.fill()}}break;case"stack":y=tt(x,v,m,o,c,e,i,u,t,r);d.push(y),y=J(y,c,t.length,0,0,e);for(var N=0;N<y.length;N++){var j=y[N];if(null!==j&&N>f&&N<p){n.beginPath();C=j.color||s.color,S=j.x0;n.setFillStyle(C),n.moveTo(S,j.y-j.width/2),n.fillRect(S,j.y-j.width/2,j.height,j.width),n.closePath(),n.fill()}}break}})),!1!==e.dataLabel&&1===r&&t.forEach((function(a,s){var l,u,d;l=[].concat(e.chartData.xAxisData.ranges),d=l.pop(),u=l.shift();var f=a.data;switch(h.type){case"group":var p=Q(f,u,d,o,c,e,i,r);p=q(p,c,t.length,s,0,e),ct(p,a,i,n,e);break;case"stack":p=tt(f,u,d,o,c,e,i,s,t,r);ct(p,a,i,n,e);break}})),{yAxisPoints:o,calPoints:d,eachSpacing:c}}(u,e,i,n,t),o=r.yAxisPoints,c=r.calPoints,d=r.eachSpacing;e.chartData.yAxisPoints=o,e.chartData.xAxisPoints=e.chartData.xAxisData.xAxisPoints,e.chartData.calPoints=c,e.chartData.eachSpacing=d,_t(0,e,i,n),!1!==e.enableMarkLine&&1===t&&dt(e,i,n),bt(e.series,e,i,n,e.chartData),mt(e,i,n,t),It(0,n)},onAnimationFinish:function(){o.uevent.trigger("renderComplete")}});break;case"area":this.animationInstance=new Et({timing:e.timing,duration:g,onProcess:function(t){n.clearRect(0,0,e.width,e.height),e.rotate&&nt(n,e),yt(0,e,0,n),xt(h,e,i,n);var a=function(t,e,i,n){var a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,r=s({},{type:"straight",opacity:.2,addLine:!1,width:2,gradient:!1},e.extra.area),o=e.chartData.xAxisData,c=o.xAxisPoints,u=o.eachSpacing,h=e.height-e.area[2],d=[];n.save();var p=0,g=e.width+u;return e._scrollDistance_&&0!==e._scrollDistance_&&!0===e.enableScroll&&(n.translate(e._scrollDistance_,0),p=-e._scrollDistance_-2*u+e.area[3],g=p+(e.xAxis.itemCount+4)*u),t.forEach((function(t,o){var s,v,m;s=[].concat(e.chartData.yAxisData.ranges[t.index]),v=s.pop(),m=s.shift();var x=t.data,y=X(x,v,m,c,u,e,i,a);d.push(y);for(var _=I(y,t),b=0;b<_.length;b++){var w=_[b];if(n.beginPath(),n.setStrokeStyle(l(t.color,r.opacity)),r.gradient){var S=n.createLinearGradient(0,e.area[0],0,e.height-e.area[2]);S.addColorStop("0",l(t.color,r.opacity)),S.addColorStop("1.0",l("#FFFFFF",.1)),n.setFillStyle(S)}else n.setFillStyle(l(t.color,r.opacity));if(n.setLineWidth(r.width*e.pix),w.length>1){var k=w[0],C=w[w.length-1];n.moveTo(k.x,k.y);var T=0;if("curve"===r.type)for(var P=0;P<w.length;P++){var A=w[P];if(0==T&&A.x>p&&(n.moveTo(A.x,A.y),T=1),P>0&&A.x>p&&A.x<g){var O=f(w,P-1);n.bezierCurveTo(O.ctrA.x,O.ctrA.y,O.ctrB.x,O.ctrB.y,A.x,A.y)}}if("straight"===r.type)for(var L=0;L<w.length;L++){var D=w[L];0==T&&D.x>p&&(n.moveTo(D.x,D.y),T=1),L>0&&D.x>p&&D.x<g&&n.lineTo(D.x,D.y)}if("step"===r.type)for(var M=0;M<w.length;M++){var E=w[M];0==T&&E.x>p&&(n.moveTo(E.x,E.y),T=1),M>0&&E.x>p&&E.x<g&&(n.lineTo(E.x,w[M-1].y),n.lineTo(E.x,E.y))}n.lineTo(C.x,h),n.lineTo(k.x,h),n.lineTo(k.x,k.y)}else{var F=w[0];n.moveTo(F.x-u/2,F.y),n.lineTo(F.x+u/2,F.y),n.lineTo(F.x+u/2,h),n.lineTo(F.x-u/2,h),n.moveTo(F.x-u/2,F.y)}if(n.closePath(),n.fill(),r.addLine){if("dash"==t.lineType){var $=t.dashLength?t.dashLength:8;$*=e.pix,n.setLineDash([$,$])}if(n.beginPath(),n.setStrokeStyle(t.color),n.setLineWidth(r.width*e.pix),1===w.length)n.moveTo(w[0].x,w[0].y),n.arc(w[0].x,w[0].y,1,0,2*Math.PI);else{n.moveTo(w[0].x,w[0].y);var R=0;if("curve"===r.type)for(var N=0;N<w.length;N++){var j=w[N];if(0==R&&j.x>p&&(n.moveTo(j.x,j.y),R=1),N>0&&j.x>p&&j.x<g){var U=f(w,N-1);n.bezierCurveTo(U.ctrA.x,U.ctrA.y,U.ctrB.x,U.ctrB.y,j.x,j.y)}}if("straight"===r.type)for(var B=0;B<w.length;B++){var z=w[B];0==R&&z.x>p&&(n.moveTo(z.x,z.y),R=1),B>0&&z.x>p&&z.x<g&&n.lineTo(z.x,z.y)}if("step"===r.type)for(var W=0;W<w.length;W++){var q=w[W];0==R&&q.x>p&&(n.moveTo(q.x,q.y),R=1),W>0&&q.x>p&&q.x<g&&(n.lineTo(q.x,w[W-1].y),n.lineTo(q.x,q.y))}n.moveTo(w[0].x,w[0].y)}n.stroke(),n.setLineDash([])}}!1!==e.dataPointShape&&at(y,t.color,t.pointShape,n,e)})),!1!==e.dataLabel&&1===a&&t.forEach((function(t,r){var o,s,l;o=[].concat(e.chartData.yAxisData.ranges[t.index]),s=o.pop(),l=o.shift();var h=t.data,d=X(h,s,l,c,u,e,i,a);ot(d,t,i,n,e)})),n.restore(),{xAxisPoints:c,calPoints:d,eachSpacing:u}}(u,e,i,n,t),r=a.xAxisPoints,o=a.calPoints,c=a.eachSpacing;e.chartData.xAxisPoints=r,e.chartData.calPoints=o,e.chartData.eachSpacing=c,_t(0,e,i,n),!1!==e.enableMarkLine&&1===t&&dt(e,i,n),bt(e.series,e,i,n,e.chartData),mt(e,i,n,t),It(0,n)},onAnimationFinish:function(){o.uevent.trigger("renderComplete")}});break;case"ring":this.animationInstance=new Et({timing:e.timing,duration:g,onProcess:function(t){n.clearRect(0,0,e.width,e.height),e.rotate&&nt(n,e),e.chartData.pieData=wt(u,e,i,n,t),bt(e.series,e,i,n,e.chartData),mt(e,i,n,t),It(0,n)},onAnimationFinish:function(){o.uevent.trigger("renderComplete")}});break;case"pie":this.animationInstance=new Et({timing:e.timing,duration:g,onProcess:function(t){n.clearRect(0,0,e.width,e.height),e.rotate&&nt(n,e),e.chartData.pieData=wt(u,e,i,n,t),bt(e.series,e,i,n,e.chartData),mt(e,i,n,t),It(0,n)},onAnimationFinish:function(){o.uevent.trigger("renderComplete")}});break;case"rose":this.animationInstance=new Et({timing:e.timing,duration:g,onProcess:function(t){n.clearRect(0,0,e.width,e.height),e.rotate&&nt(n,e),e.chartData.pieData=function(t,e,i,n){var a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,r=s({},{type:"area",activeOpacity:.5,activeRadius:10,offsetAngle:0,labelWidth:15,border:!1,borderWidth:2,borderColor:"#FFFFFF",linearType:"none",customColor:[]},e.extra.rose);0==i.pieChartLinePadding&&(i.pieChartLinePadding=r.activeRadius*e.pix);var o={x:e.area[3]+(e.width-e.area[1]-e.area[3])/2,y:e.area[0]+(e.height-e.area[0]-e.area[2])/2},c=Math.min((e.width-e.area[1]-e.area[3])/2-i.pieChartLinePadding-i.pieChartTextPadding-i._pieTextMaxLength_,(e.height-e.area[0]-e.area[2])/2-i.pieChartLinePadding-i.pieChartTextPadding);c=c<10?10:c;var u=r.minRadius||.5*c;t=N(t,r.type,u,c,a);var h=r.activeRadius*e.pix;return r.customColor=m(r.linearType,r.customColor,t,i),t=t.map((function(t){return t._start_+=(r.offsetAngle||0)*Math.PI/180,t})),t.forEach((function(t,i){e.tooltip&&e.tooltip.index==i&&(n.beginPath(),n.setFillStyle(l(t.color,r.activeOpacity||.5)),n.moveTo(o.x,o.y),n.arc(o.x,o.y,h+t._radius_,t._start_,t._start_+2*t._rose_proportion_*Math.PI),n.closePath(),n.fill()),n.beginPath(),n.setLineWidth(r.borderWidth*e.pix),n.lineJoin="round",n.setStrokeStyle(r.borderColor);var a,s=t.color;"custom"==r.linearType&&(a=n.createCircularGradient?n.createCircularGradient(o.x,o.y,t._radius_):n.createRadialGradient(o.x,o.y,0,o.x,o.y,t._radius_),a.addColorStop(0,l(r.customColor[t.linearIndex],1)),a.addColorStop(1,l(t.color,1)),s=a);n.setFillStyle(s),n.moveTo(o.x,o.y),n.arc(o.x,o.y,t._radius_,t._start_,t._start_+2*t._rose_proportion_*Math.PI),n.closePath(),n.fill(),1==r.border&&n.stroke()})),!1!==e.dataLabel&&1===a&&ht(t,e,i,n,0,o),{center:o,radius:c,series:t}}(u,e,i,n,t),bt(e.series,e,i,n,e.chartData),mt(e,i,n,t),It(0,n)},onAnimationFinish:function(){o.uevent.trigger("renderComplete")}});break;case"radar":this.animationInstance=new Et({timing:e.timing,duration:g,onProcess:function(t){n.clearRect(0,0,e.width,e.height),e.rotate&&nt(n,e),e.chartData.radarData=function(t,e,i,n){var a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,r=s({},{gridColor:"#cccccc",gridType:"radar",gridEval:1,axisLabel:!1,axisLabelTofix:0,labelColor:"#666666",labelPointShow:!1,labelPointRadius:3,labelPointColor:"#cccccc",opacity:.2,gridCount:3,border:!1,borderWidth:2,linearType:"none",customColor:[]},e.extra.radar),o=C(e.categories.length),c={x:e.area[3]+(e.width-e.area[1]-e.area[3])/2,y:e.area[0]+(e.height-e.area[0]-e.area[2])/2},u=(e.width-e.area[1]-e.area[3])/2,h=(e.height-e.area[0]-e.area[2])/2,d=Math.min(u-(k(e.categories,i.fontSize,n)+i.radarLabelTextMargin),h-i.radarLabelTextMargin);d-=i.radarLabelTextMargin*e.pix,d=d<10?10:d,n.beginPath(),n.setLineWidth(1*e.pix),n.setStrokeStyle(r.gridColor),o.forEach((function(t,e){var i=p(d*Math.cos(t),d*Math.sin(t),c);n.moveTo(c.x,c.y),e%r.gridEval==0&&n.lineTo(i.x,i.y)})),n.stroke(),n.closePath();for(var f=function(t){var i={};if(n.beginPath(),n.setLineWidth(1*e.pix),n.setStrokeStyle(r.gridColor),"radar"==r.gridType)o.forEach((function(e,a){var o=p(d/r.gridCount*t*Math.cos(e),d/r.gridCount*t*Math.sin(e),c);0===a?(i=o,n.moveTo(o.x,o.y)):n.lineTo(o.x,o.y)})),n.lineTo(i.x,i.y);else{var a=p(d/r.gridCount*t*Math.cos(1.5),d/r.gridCount*t*Math.sin(1.5),c);n.arc(c.x,c.y,c.y-a.y,0,2*Math.PI,!1)}n.stroke(),n.closePath()},g=1;g<=r.gridCount;g++)f(g);r.customColor=m(r.linearType,r.customColor,t,i);var v=F(o,c,d,t,e,a);if(v.forEach((function(i,a){n.beginPath(),n.setLineWidth(r.borderWidth*e.pix),n.setStrokeStyle(i.color);var o,s=l(i.color,r.opacity);"custom"==r.linearType&&(o=n.createCircularGradient?n.createCircularGradient(c.x,c.y,d):n.createRadialGradient(c.x,c.y,0,c.x,c.y,d),o.addColorStop(0,l(r.customColor[t[a].linearIndex],r.opacity)),o.addColorStop(1,l(i.color,r.opacity)),s=o);if(n.setFillStyle(s),i.data.forEach((function(t,e){0===e?n.moveTo(t.position.x,t.position.y):n.lineTo(t.position.x,t.position.y)})),n.closePath(),n.fill(),!0===r.border&&n.stroke(),n.closePath(),!1!==e.dataPointShape){var u=i.data.map((function(t){return t.position}));at(u,i.color,i.pointShape,n,e)}})),!0===r.axisLabel){var x=Math.max(r.max,Math.max.apply(null,_(t))),y=d/r.gridCount,b=e.fontSize*e.pix;n.setFontSize(b),n.setFillStyle(e.fontColor),n.setTextAlign("left");for(g=0;g<r.gridCount+1;g++){var w=g*x/r.gridCount;w=w.toFixed(r.axisLabelTofix),n.fillText(String(w),c.x+3*e.pix,c.y-g*y+b/2)}}return ut(o,d,c,e,i,n),!1!==e.dataLabel&&1===a&&(v.forEach((function(t,a){n.beginPath();var r=t.textSize*e.pix||i.fontSize;n.setFontSize(r),n.setFillStyle(t.textColor||e.fontColor),t.data.forEach((function(t,e){Math.abs(t.position.x-c.x)<2?t.position.y<c.y?(n.setTextAlign("center"),n.fillText(t.value,t.position.x,t.position.y-4)):(n.setTextAlign("center"),n.fillText(t.value,t.position.x,t.position.y+r+2)):t.position.x<c.x?(n.setTextAlign("right"),n.fillText(t.value,t.position.x-4,t.position.y+r/2-2)):(n.setTextAlign("left"),n.fillText(t.value,t.position.x+4,t.position.y+r/2-2))})),n.closePath(),n.stroke()})),n.setTextAlign("left")),{center:c,radius:d,angleList:o}}(u,e,i,n,t),bt(e.series,e,i,n,e.chartData),mt(e,i,n,t),It(0,n)},onAnimationFinish:function(){o.uevent.trigger("renderComplete")}});break;case"arcbar":this.animationInstance=new Et({timing:e.timing,duration:g,onProcess:function(t){n.clearRect(0,0,e.width,e.height),e.rotate&&nt(n,e),e.chartData.arcbarData=function(t,e,i,n){var a,r,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,c=s({},{startAngle:.75,endAngle:.25,type:"default",direction:"cw",lineCap:"round",width:12,gap:2,linearType:"none",customColor:[]},e.extra.arcbar);t=j(t,c,o),a=c.centerX||c.centerY?{x:c.centerX?c.centerX:e.width/2,y:c.centerY?c.centerY:e.height/2}:{x:e.width/2,y:e.height/2},c.radius?r=c.radius:(r=Math.min(a.x,a.y),r-=5*e.pix,r-=c.width/2),r=r<10?10:r,c.customColor=m(c.linearType,c.customColor,t,i);for(var u=0;u<t.length;u++){var h=t[u];n.setLineWidth(c.width*e.pix),n.setStrokeStyle(c.backgroundColor||"#E9E9E9"),n.setLineCap(c.lineCap),n.beginPath(),"default"==c.type?n.arc(a.x,a.y,r-(c.width*e.pix+c.gap*e.pix)*u,c.startAngle*Math.PI,c.endAngle*Math.PI,"ccw"==c.direction):n.arc(a.x,a.y,r-(c.width*e.pix+c.gap*e.pix)*u,0,2*Math.PI,"ccw"==c.direction),n.stroke();var d=h.color;if("custom"==c.linearType){var f=n.createLinearGradient(a.x-r,a.y,a.x+r,a.y);f.addColorStop(1,l(c.customColor[h.linearIndex],1)),f.addColorStop(0,l(h.color,1)),d=f}n.setLineWidth(c.width*e.pix),n.setStrokeStyle(d),n.setLineCap(c.lineCap),n.beginPath(),n.arc(a.x,a.y,r-(c.width*e.pix+c.gap*e.pix)*u,c.startAngle*Math.PI,h._proportion_*Math.PI,"ccw"==c.direction),n.stroke()}return rt(e,i,n,a),{center:a,radius:r,series:t}}(u,e,i,n,t),It(0,n)},onAnimationFinish:function(){o.uevent.trigger("renderComplete")}});break;case"gauge":this.animationInstance=new Et({timing:e.timing,duration:g,onProcess:function(t){n.clearRect(0,0,e.width,e.height),e.rotate&&nt(n,e),e.chartData.gaugeData=function(t,e,i,n,a){var r=arguments.length>5&&void 0!==arguments[5]?arguments[5]:1,o=s({},{type:"default",startAngle:.75,endAngle:.25,width:15,labelOffset:13,splitLine:{fixRadius:0,splitNumber:10,width:15,color:"#FFFFFF",childNumber:5,childWidth:5},pointer:{width:15,color:"auto"}},i.extra.gauge);void 0==o.oldAngle&&(o.oldAngle=o.startAngle),void 0==o.oldData&&(o.oldData=0),t=B(t,o.startAngle,o.endAngle);var c={x:i.width/2,y:i.height/2},u=Math.min(c.x,c.y);u-=5*i.pix,u-=o.width/2,u=u<10?10:u;var h=u-o.width,d=0;if("progress"==o.type){var f=u-3*o.width;a.beginPath();var p=a.createLinearGradient(c.x,c.y-f,c.x,c.y+f);p.addColorStop("0",l(e[0].color,.3)),p.addColorStop("1.0",l("#FFFFFF",.1)),a.setFillStyle(p),a.arc(c.x,c.y,f,0,2*Math.PI,!1),a.fill(),a.setLineWidth(o.width),a.setStrokeStyle(l(e[0].color,.3)),a.setLineCap("round"),a.beginPath(),a.arc(c.x,c.y,h,o.startAngle*Math.PI,o.endAngle*Math.PI,!1),a.stroke(),d=o.startAngle-o.endAngle+1;o.splitLine.splitNumber;var g=d/o.splitLine.splitNumber/o.splitLine.childNumber,v=-u-.5*o.width-o.splitLine.fixRadius,m=-u-o.width-o.splitLine.fixRadius+o.splitLine.width;a.save(),a.translate(c.x,c.y),a.rotate((o.startAngle-1)*Math.PI);for(var x=o.splitLine.splitNumber*o.splitLine.childNumber+1,y=e[0].data*r,_=0;_<x;_++)a.beginPath(),y>_/x?a.setStrokeStyle(l(e[0].color,1)):a.setStrokeStyle(l(e[0].color,.3)),a.setLineWidth(3*i.pix),a.moveTo(v,0),a.lineTo(m,0),a.stroke(),a.rotate(g*Math.PI);a.restore(),e=U(e,o,r),a.setLineWidth(o.width),a.setStrokeStyle(e[0].color),a.setLineCap("round"),a.beginPath(),a.arc(c.x,c.y,h,o.startAngle*Math.PI,e[0]._proportion_*Math.PI,!1),a.stroke();var b=u-2.5*o.width;a.save(),a.translate(c.x,c.y),a.rotate((e[0]._proportion_-1)*Math.PI),a.beginPath(),a.setLineWidth(o.width/3);var w=a.createLinearGradient(0,.6*-b,0,.6*b);w.addColorStop("0",l("#FFFFFF",0)),w.addColorStop("0.5",l(e[0].color,1)),w.addColorStop("1.0",l("#FFFFFF",0)),a.setStrokeStyle(w),a.arc(0,0,b,.85*Math.PI,1.15*Math.PI,!1),a.stroke(),a.beginPath(),a.setLineWidth(1),a.setStrokeStyle(e[0].color),a.setFillStyle(e[0].color),a.moveTo(-b-o.width/3/2,-4),a.lineTo(-b-o.width/3/2-4,0),a.lineTo(-b-o.width/3/2,4),a.lineTo(-b-o.width/3/2,-4),a.stroke(),a.fill(),a.restore()}else{a.setLineWidth(o.width),a.setLineCap("butt");for(var S=0;S<t.length;S++){var k=t[S];a.beginPath(),a.setStrokeStyle(k.color),a.arc(c.x,c.y,u,k._startAngle_*Math.PI,k._endAngle_*Math.PI,!1),a.stroke()}a.save(),d=o.startAngle-o.endAngle+1;var C=d/o.splitLine.splitNumber,T=d/o.splitLine.splitNumber/o.splitLine.childNumber,P=-u-.5*o.width-o.splitLine.fixRadius,A=-u-.5*o.width-o.splitLine.fixRadius+o.splitLine.width,O=-u-.5*o.width-o.splitLine.fixRadius+o.splitLine.childWidth;a.translate(c.x,c.y),a.rotate((o.startAngle-1)*Math.PI);for(var L=0;L<o.splitLine.splitNumber+1;L++)a.beginPath(),a.setStrokeStyle(o.splitLine.color),a.setLineWidth(2*i.pix),a.moveTo(P,0),a.lineTo(A,0),a.stroke(),a.rotate(C*Math.PI);a.restore(),a.save(),a.translate(c.x,c.y),a.rotate((o.startAngle-1)*Math.PI);for(var D=0;D<o.splitLine.splitNumber*o.splitLine.childNumber+1;D++)a.beginPath(),a.setStrokeStyle(o.splitLine.color),a.setLineWidth(1*i.pix),a.moveTo(P,0),a.lineTo(O,0),a.stroke(),a.rotate(T*Math.PI);a.restore(),e=z(e,t,o,r);for(var I=0;I<e.length;I++){var M=e[I];a.save(),a.translate(c.x,c.y),a.rotate((M._proportion_-1)*Math.PI),a.beginPath(),a.setFillStyle(M.color),a.moveTo(o.pointer.width,0),a.lineTo(0,-o.pointer.width/2),a.lineTo(-h,0),a.lineTo(0,o.pointer.width/2),a.lineTo(o.pointer.width,0),a.closePath(),a.fill(),a.beginPath(),a.setFillStyle("#FFFFFF"),a.arc(0,0,o.pointer.width/6,0,2*Math.PI,!1),a.fill(),a.restore()}!1!==i.dataLabel&&lt(o,u,c,i,n,a)}return rt(i,n,a,c),1===r&&"gauge"===i.type&&(i.extra.gauge.oldAngle=e[0]._proportion_,i.extra.gauge.oldData=e[0].data),{center:c,radius:u,innerRadius:h,categories:t,totalAngle:d}}(h,u,e,i,n,t),It(0,n)},onAnimationFinish:function(){o.uevent.trigger("renderComplete")}});break;case"candle":this.animationInstance=new Et({timing:e.timing,duration:g,onProcess:function(t){n.clearRect(0,0,e.width,e.height),e.rotate&&nt(n,e),yt(0,e,0,n),xt(h,e,i,n);var a=function(t,e,i,n,a){var r=arguments.length>5&&void 0!==arguments[5]?arguments[5]:1,o=s({},{color:{},average:{}},i.extra.candle);o.color=s({},{upLine:"#f04864",upFill:"#f04864",downLine:"#2fc25b",downFill:"#2fc25b"},o.color),o.average=s({},{show:!1,name:[],day:[],color:n.color},o.average),i.extra.candle=o;var c=i.chartData.xAxisData,l=c.xAxisPoints,u=c.eachSpacing,h=[];a.save();var d=-2,p=l.length+2,g=0,v=i.width+u;return i._scrollDistance_&&0!==i._scrollDistance_&&!0===i.enableScroll&&(a.translate(i._scrollDistance_,0),d=Math.floor(-i._scrollDistance_/u)-2,p=d+i.xAxis.itemCount+4,g=-i._scrollDistance_-2*u+i.area[3],v=g+(i.xAxis.itemCount+4)*u),(o.average.show||e)&&e.forEach((function(t,e){var o,s,c;o=[].concat(i.chartData.yAxisData.ranges[t.index]),s=o.pop(),c=o.shift();for(var h=t.data,d=X(h,s,c,l,u,i,n,r),p=I(d,t),m=0;m<p.length;m++){var x=p[m];if(a.beginPath(),a.setStrokeStyle(t.color),a.setLineWidth(1),1===x.length)a.moveTo(x[0].x,x[0].y),a.arc(x[0].x,x[0].y,1,0,2*Math.PI);else{a.moveTo(x[0].x,x[0].y);for(var y=0,_=0;_<x.length;_++){var b=x[_];if(0==y&&b.x>g&&(a.moveTo(b.x,b.y),y=1),_>0&&b.x>g&&b.x<v){var w=f(x,_-1);a.bezierCurveTo(w.ctrA.x,w.ctrA.y,w.ctrB.x,w.ctrB.y,b.x,b.y)}}a.moveTo(x[0].x,x[0].y)}a.closePath(),a.stroke()}})),t.forEach((function(t,e){var s,c,f;s=[].concat(i.chartData.yAxisData.ranges[t.index]),c=s.pop(),f=s.shift();var g=t.data,v=K(g,c,f,l,u,i,n,r);h.push(v);for(var m=I(v,t),x=0;x<m[0].length;x++)if(x>d&&x<p){var y=m[0][x];a.beginPath(),g[x][1]-g[x][0]>0?(a.setStrokeStyle(o.color.upLine),a.setFillStyle(o.color.upFill),a.setLineWidth(1*i.pix),a.moveTo(y[3].x,y[3].y),a.lineTo(y[1].x,y[1].y),a.lineTo(y[1].x-u/4,y[1].y),a.lineTo(y[0].x-u/4,y[0].y),a.lineTo(y[0].x,y[0].y),a.lineTo(y[2].x,y[2].y),a.lineTo(y[0].x,y[0].y),a.lineTo(y[0].x+u/4,y[0].y),a.lineTo(y[1].x+u/4,y[1].y),a.lineTo(y[1].x,y[1].y),a.moveTo(y[3].x,y[3].y)):(a.setStrokeStyle(o.color.downLine),a.setFillStyle(o.color.downFill),a.setLineWidth(1*i.pix),a.moveTo(y[3].x,y[3].y),a.lineTo(y[0].x,y[0].y),a.lineTo(y[0].x-u/4,y[0].y),a.lineTo(y[1].x-u/4,y[1].y),a.lineTo(y[1].x,y[1].y),a.lineTo(y[2].x,y[2].y),a.lineTo(y[1].x,y[1].y),a.lineTo(y[1].x+u/4,y[1].y),a.lineTo(y[0].x+u/4,y[0].y),a.lineTo(y[0].x,y[0].y),a.moveTo(y[3].x,y[3].y)),a.closePath(),a.fill(),a.stroke()}})),a.restore(),{xAxisPoints:l,calPoints:h,eachSpacing:u}}(u,x,e,i,n,t),r=a.xAxisPoints,o=a.calPoints,c=a.eachSpacing;e.chartData.xAxisPoints=r,e.chartData.calPoints=o,e.chartData.eachSpacing=c,_t(0,e,i,n),!1!==e.enableMarkLine&&1===t&&dt(e,i,n),bt(x?0:e.series,e,i,n,e.chartData),mt(e,i,n,t),It(0,n)},onAnimationFinish:function(){o.uevent.trigger("renderComplete")}});break}}function $t(){this.events={}}Et.prototype.stop=function(){this.isStop=!0},$t.prototype.addEventListener=function(t,e){this.events[t]=this.events[t]||[],this.events[t].push(e)},$t.prototype.delEventListener=function(t){this.events[t]=[]},$t.prototype.trigger=function(){for(var t=arguments.length,e=Array(t),i=0;i<t;i++)e[i]=arguments[i];var n=e[0],a=e.slice(1);this.events[n]&&this.events[n].forEach((function(t){try{t.apply(null,a)}catch(e){}}))};var Rt=function(t){t.pix=t.pixelRatio?t.pixelRatio:1,t.fontSize=t.fontSize?t.fontSize:13,t.fontColor=t.fontColor?t.fontColor:o.fontColor,""!=t.background&&"none"!=t.background||(t.background="#FFFFFF"),t.title=s({},t.title),t.subtitle=s({},t.subtitle),t.duration=t.duration?t.duration:1e3,t.yAxis=s({},{data:[],showTitle:!1,disabled:!1,disableGrid:!1,gridSet:"number",splitNumber:5,gridType:"solid",dashLength:4*t.pix,gridColor:"#cccccc",padding:10,fontColor:"#666666"},t.yAxis),t.xAxis=s({},{rotateLabel:!1,rotateAngle:45,disabled:!1,disableGrid:!1,splitNumber:5,calibration:!1,gridType:"solid",dashLength:4,scrollAlign:"left",boundaryGap:"center",axisLine:!0,axisLineColor:"#cccccc"},t.xAxis),t.xAxis.scrollPosition=t.xAxis.scrollAlign,t.legend=s({},{show:!0,position:"bottom",float:"center",backgroundColor:"rgba(0,0,0,0)",borderColor:"rgba(0,0,0,0)",borderWidth:0,padding:5,margin:5,itemGap:10,fontSize:t.fontSize,lineHeight:t.fontSize,fontColor:t.fontColor,formatter:{},hiddenColor:"#CECECE"},t.legend),t.extra=s({},t.extra),t.rotate=!!t.rotate,t.animation=!!t.animation,t.rotate=!!t.rotate,t.canvas2d=!!t.canvas2d;var e=s({},o);if(e.color=t.color?t.color:e.color,"pie"==t.type&&(e.pieChartLinePadding=!1===t.dataLabel?0:t.extra.pie.labelWidth*t.pix||e.pieChartLinePadding*t.pix),"ring"==t.type&&(e.pieChartLinePadding=!1===t.dataLabel?0:t.extra.ring.labelWidth*t.pix||e.pieChartLinePadding*t.pix),"rose"==t.type&&(e.pieChartLinePadding=!1===t.dataLabel?0:t.extra.rose.labelWidth*t.pix||e.pieChartLinePadding*t.pix),e.pieChartTextPadding=!1===t.dataLabel?0:e.pieChartTextPadding*t.pix,e.rotate=t.rotate,t.rotate){var i=t.width,n=t.height;t.width=n,t.height=i}if(t.padding=t.padding?t.padding:e.padding,e.yAxisWidth=o.yAxisWidth*t.pix,e.xAxisHeight=o.xAxisHeight*t.pix,t.enableScroll&&t.xAxis.scrollShow&&(e.xAxisHeight+=6*t.pix),e.fontSize=t.fontSize*t.pix,e.titleFontSize=o.titleFontSize*t.pix,e.subtitleFontSize=o.subtitleFontSize*t.pix,e.toolTipPadding=o.toolTipPadding*t.pix,e.toolTipLineHeight=o.toolTipLineHeight*t.pix,!t.context)throw new Error("[uCharts] \u672a\u83b7\u53d6\u5230context\uff01\u6ce8\u610f\uff1av2.0\u7248\u672c\u540e\uff0c\u9700\u8981\u81ea\u884c\u83b7\u53d6canvas\u7684\u7ed8\u56fe\u4e0a\u4e0b\u6587\u5e76\u4f20\u5165opts.context\uff01");this.context=t.context,this.context.setTextAlign||(this.context.setStrokeStyle=function(t){return this.strokeStyle=t},this.context.setLineWidth=function(t){return this.lineWidth=t},this.context.setLineCap=function(t){return this.lineCap=t},this.context.setFontSize=function(t){return this.font=t+"px sans-serif"},this.context.setFillStyle=function(t){return this.fillStyle=t},this.context.setTextAlign=function(t){return this.textAlign=t},this.context.draw=function(){}),this.context.setLineDash||(this.context.setLineDash=function(t){}),t.chartData={},this.uevent=new $t,this.scrollOption={currentOffset:0,startTouchX:0,distance:0,lastMoveTime:0},this.opts=t,this.config=e,Ft.call(this,t.type,t,e,this.context)};Rt.prototype.updateData=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.opts=s({},this.opts,t),this.opts.updateData=!0;var e=t.scrollPosition||"current";switch(e){case"current":this.opts._scrollDistance_=this.scrollOption.currentOffset;break;case"left":this.opts._scrollDistance_=0,this.scrollOption={currentOffset:0,startTouchX:0,distance:0,lastMoveTime:0};break;case"right":var i=it(this.opts.series,this.opts,this.config,this.context),n=i.yAxisWidth;this.config.yAxisWidth=n;var a=0,r=V(this.opts.categories,this.opts,this.config),o=r.xAxisPoints,c=r.startX,l=r.endX,u=r.eachSpacing,h=u*(o.length-1),d=l-c;a=d-h,this.scrollOption={currentOffset:a,startTouchX:a,distance:0,lastMoveTime:0},this.opts._scrollDistance_=a;break}Ft.call(this,this.opts.type,this.opts,this.config,this.context)},Rt.prototype.zoom=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.opts.xAxis.itemCount;if(!0===this.opts.enableScroll){var i=Math.round(Math.abs(this.scrollOption.currentOffset)/this.opts.chartData.eachSpacing)+Math.round(this.opts.xAxis.itemCount/2);this.opts.animation=!1,this.opts.xAxis.itemCount=e.itemCount;var n=it(this.opts.series,this.opts,this.config,this.context),a=n.yAxisWidth;this.config.yAxisWidth=a;var r=0,o=V(this.opts.categories,this.opts,this.config),s=o.xAxisPoints,c=o.startX,l=o.endX,u=o.eachSpacing,d=u*i,f=l-c,p=f-u*(s.length-1);r=f/2-d,r>0&&(r=0),r<p&&(r=p),this.scrollOption={currentOffset:r,startTouchX:0,distance:0,lastMoveTime:0},h(this,r,this.opts.chartData,this.config,this.opts),this.opts._scrollDistance_=r,Ft.call(this,this.opts.type,this.opts,this.config,this.context)}else t("log","[uCharts] \u8bf7\u542f\u7528\u6eda\u52a8\u6761\u540e\u4f7f\u7528"," at uni_modules/qiun-data-charts/js_sdk/u-charts/u-charts.js:6828")},Rt.prototype.dobuleZoom=function(e){if(!0===this.opts.enableScroll){var i=e.changedTouches;if(!(i.length<2)){for(var n=0;n<i.length;n++)i[n].x=i[n].x?i[n].x:i[n].clientX,i[n].y=i[n].y?i[n].y:i[n].clientY;var a=[w(i[0],this.opts,e),w(i[1],this.opts,e)],r=Math.abs(a[0].x-a[1].x);if(!this.scrollOption.moveCount){var o={changedTouches:[{x:i[0].x,y:this.opts.area[0]/this.opts.pix+2}]},s={changedTouches:[{x:i[1].x,y:this.opts.area[0]/this.opts.pix+2}]};this.opts.rotate&&(o={changedTouches:[{x:this.opts.height/this.opts.pix-this.opts.area[0]/this.opts.pix-2,y:i[0].y}]},s={changedTouches:[{x:this.opts.height/this.opts.pix-this.opts.area[0]/this.opts.pix-2,y:i[1].y}]});var c=this.getCurrentDataIndex(o).index,l=this.getCurrentDataIndex(s).index,u=Math.abs(c-l);return this.scrollOption.moveCount=u,this.scrollOption.moveCurrent1=Math.min(c,l),void(this.scrollOption.moveCurrent2=Math.max(c,l))}var d=r/this.scrollOption.moveCount,f=(this.opts.width-this.opts.area[1]-this.opts.area[3])/d;f=f<=2?2:f,f=f>=this.opts.categories.length?this.opts.categories.length:f,this.opts.animation=!1,this.opts.xAxis.itemCount=f;var p=0,g=V(this.opts.categories,this.opts,this.config),v=g.xAxisPoints,m=g.startX,x=g.endX,y=g.eachSpacing,_=y*this.scrollOption.moveCurrent1,b=x-m,S=b-y*(v.length-1);p=-_+Math.min(a[0].x,a[1].x)-this.opts.area[3]-y,p>0&&(p=0),p<S&&(p=S),this.scrollOption.currentOffset=p,this.scrollOption.startTouchX=0,this.scrollOption.distance=0,h(this,p,this.opts.chartData,this.config,this.opts),this.opts._scrollDistance_=p,Ft.call(this,this.opts.type,this.opts,this.config,this.context)}}else t("log","[uCharts] \u8bf7\u542f\u7528\u6eda\u52a8\u6761\u540e\u4f7f\u7528"," at uni_modules/qiun-data-charts/js_sdk/u-charts/u-charts.js:6868")},Rt.prototype.stopAnimation=function(){this.animationInstance&&this.animationInstance.stop()},Rt.prototype.addEventListener=function(t,e){this.uevent.addEventListener(t,e)},Rt.prototype.delEventListener=function(t){this.uevent.delEventListener(t)},Rt.prototype.getCurrentDataIndex=function(t){var e=null;if(e=t.changedTouches?t.changedTouches[0]:t.mp.changedTouches[0],e){var i=w(e,this.opts,t);return"pie"===this.opts.type||"ring"===this.opts.type?function(t,e,i){var n=-1,a=$(e.series);if(e&&e.center&&D(t,e.center,e.radius)){var r=Math.atan2(e.center.y-t.y,t.x-e.center.x);r=-r,i.extra.pie&&i.extra.pie.offsetAngle&&(r-=i.extra.pie.offsetAngle*Math.PI/180),i.extra.ring&&i.extra.ring.offsetAngle&&(r-=i.extra.ring.offsetAngle*Math.PI/180);for(var o=0,s=a.length;o<s;o++)if(d(r,a[o]._start_,a[o]._start_+2*a[o]._proportion_*Math.PI)){n=o;break}}return n}({x:i.x,y:i.y},this.opts.chartData.pieData,this.opts):"rose"===this.opts.type?function(t,e,i){var n=-1,a=N(i._series_,i.extra.rose.type,e.radius,e.radius);if(e&&e.center&&D(t,e.center,e.radius)){var r=Math.atan2(e.center.y-t.y,t.x-e.center.x);r=-r,i.extra.rose&&i.extra.rose.offsetAngle&&(r-=i.extra.rose.offsetAngle*Math.PI/180);for(var o=0,s=a.length;o<s;o++)if(d(r,a[o]._start_,a[o]._start_+2*a[o]._rose_proportion_*Math.PI)){n=o;break}}return n}({x:i.x,y:i.y},this.opts.chartData.pieData,this.opts):"radar"===this.opts.type?function(t,e,i){var n=2*Math.PI/i,a=-1;if(D(t,e.center,e.radius)){var r=function(t){return t<0&&(t+=2*Math.PI),t>2*Math.PI&&(t-=2*Math.PI),t},o=Math.atan2(e.center.y-t.y,t.x-e.center.x);o*=-1,o<0&&(o+=2*Math.PI);var s=e.angleList.map((function(t){return t=r(-1*t),t}));s.forEach((function(t,e){var i=r(t-n/2),s=r(t+n/2);s<i&&(s+=2*Math.PI),(o>=i&&o<=s||o+2*Math.PI>=i&&o+2*Math.PI<=s)&&(a=e)}))}return a}({x:i.x,y:i.y},this.opts.chartData.radarData,this.opts.categories.length):"funnel"===this.opts.type?function(t,e){for(var i=-1,n=0,a=e.series.length;n<a;n++){var r=e.series[n];if(t.x>r.funnelArea[0]&&t.x<r.funnelArea[2]&&t.y>r.funnelArea[1]&&t.y<r.funnelArea[3]){i=n;break}}return i}({x:i.x,y:i.y},this.opts.chartData.funnelData):"map"===this.opts.type?function(t,e){for(var i=-1,n=e.chartData.mapData,a=e.series,r=function(t,e,i,n,a,r){return{x:(e-a)/n+i.xMin,y:i.yMax-(t-r)/n}}(t.y,t.x,n.bounds,n.scale,n.xoffset,n.yoffset),o=[r.x,r.y],s=0,c=a.length;s<c;s++){var l=a[s].geometry.coordinates;if(Tt(o,l,e.chartData.mapData.mercator)){i=s;break}}return i}({x:i.x,y:i.y},this.opts):"word"===this.opts.type?function(t,e){for(var i=-1,n=0,a=e.length;n<a;n++){var r=e[n];if(t.x>r.area[0]&&t.x<r.area[2]&&t.y>r.area[1]&&t.y<r.area[3]){i=n;break}}return i}({x:i.x,y:i.y},this.opts.chartData.wordCloudData):"bar"===this.opts.type?function(t,e,i,n){var a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,r={index:-1,group:[]},o=i.chartData.eachSpacing/2,s=i.chartData.yAxisPoints;return e&&e.length>0&&L(t,i,n)&&s.forEach((function(e,i){t.y+a+o>e&&(r.index=i)})),r}({x:i.x,y:i.y},this.opts.chartData.calPoints,this.opts,this.config,Math.abs(this.scrollOption.currentOffset)):function(t,e,i,n){var a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,r={index:-1,group:[]},o=i.chartData.eachSpacing/2,s=[];if(e&&e.length>0){if(i.categories){for(var c=1;c<i.chartData.xAxisPoints.length;c++)s.push(i.chartData.xAxisPoints[c]-o);"line"!=i.type&&"area"!=i.type||"justify"!=i.xAxis.boundaryGap||(s=i.chartData.xAxisPoints)}else o=0;if(L(t,i,n))if(i.categories)s.forEach((function(e,i){t.x+a+o>e&&(r.index=i)}));else{for(var l=Array(e.length),u=0;u<e.length;u++){l[u]=Array(e[u].length);for(var h=0;h<e[u].length;h++)l[u][h]=Math.abs(e[u][h].x-t.x)}for(var d=Array(l.length),f=Array(l.length),p=0;p<l.length;p++)d[p]=Math.min.apply(null,l[p]),f[p]=l[p].indexOf(d[p]);var g=Math.min.apply(null,d);r.index=[];for(var v=0;v<d.length;v++)d[v]==g&&(r.group.push(v),r.index.push(f[v]))}}return r}({x:i.x,y:i.y},this.opts.chartData.calPoints,this.opts,this.config,Math.abs(this.scrollOption.currentOffset))}return-1},Rt.prototype.getLegendDataIndex=function(t){var e=null;if(e=t.changedTouches?t.changedTouches[0]:t.mp.changedTouches[0],e){var i=w(e,this.opts,t);return function(t,e,i){var n=-1;if(function(t,e){return t.x>e.start.x&&t.x<e.end.x&&t.y>e.start.y&&t.y<e.end.y}(t,e.area)){for(var a=e.points,r=-1,o=0,s=a.length;o<s;o++)for(var c=a[o],l=0;l<c.length;l++){r+=1;var u=c[l]["area"];if(u&&t.x>u[0]-0&&t.x<u[2]+0&&t.y>u[1]-0&&t.y<u[3]+0){n=r;break}}return n}return n}({x:i.x,y:i.y},this.opts.chartData.legendData)}return-1},Rt.prototype.touchLegend=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=null;if(i=t.changedTouches?t.changedTouches[0]:t.mp.changedTouches[0],i){w(i,this.opts,t);var n=this.getLegendDataIndex(t);n>=0&&("candle"==this.opts.type?this.opts.seriesMA[n].show=!this.opts.seriesMA[n].show:this.opts.series[n].show=!this.opts.series[n].show,this.opts.animation=!!e.animation,this.opts._scrollDistance_=this.scrollOption.currentOffset,Ft.call(this,this.opts.type,this.opts,this.config,this.context))}},Rt.prototype.showToolTip=function(e){var i=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=null;a=e.changedTouches?e.changedTouches[0]:e.mp.changedTouches[0],a||t("log","[uCharts] \u672a\u83b7\u53d6\u5230event\u5750\u6807\u4fe1\u606f"," at uni_modules/qiun-data-charts/js_sdk/u-charts/u-charts.js:7046");var r=w(a,this.opts,e),o=this.scrollOption.currentOffset,c=s({},this.opts,{_scrollDistance_:o,animation:!1});if("line"===this.opts.type||"area"===this.opts.type||"column"===this.opts.type||"scatter"===this.opts.type||"bubble"===this.opts.type){var l=this.getCurrentDataIndex(e),u=void 0==n.index?l.index:n.index;if(u>-1||u.length>0){var h=S(this.opts.series,u,l.group);if(0!==h.length){var d=T(h,this.opts,u,l.group,this.opts.categories,n),f=d.textList,p=d.offset;p.y=r.y,c.tooltip={textList:void 0!==n.textList?n.textList:f,offset:void 0!==n.offset?n.offset:p,option:n,index:u}}}Ft.call(this,c.type,c,this.config,this.context)}if("mount"===this.opts.type){u=void 0==n.index?this.getCurrentDataIndex(e).index:n.index;if(u>-1){c=s({},this.opts,{animation:!1}),h=s({},c._series_[u]),f=[{text:n.formatter?n.formatter(h,void 0,u,c):h.name+": "+h.data,color:h.color}],p={x:c.chartData.calPoints[u].x,y:r.y};c.tooltip={textList:n.textList?n.textList:f,offset:void 0!==n.offset?n.offset:p,option:n,index:u}}Ft.call(this,c.type,c,this.config,this.context)}if("bar"===this.opts.type){l=this.getCurrentDataIndex(e),u=void 0==n.index?l.index:n.index;if(u>-1||u.length>0){h=S(this.opts.series,u,l.group);if(0!==h.length){d=T(h,this.opts,u,l.group,this.opts.categories,n),f=d.textList,p=d.offset;p.x=r.x,c.tooltip={textList:void 0!==n.textList?n.textList:f,offset:void 0!==n.offset?n.offset:p,option:n,index:u}}}Ft.call(this,c.type,c,this.config,this.context)}if("mix"===this.opts.type){l=this.getCurrentDataIndex(e),u=void 0==n.index?l.index:n.index;if(u>-1){o=this.scrollOption.currentOffset,c=s({},this.opts,{_scrollDistance_:o,animation:!1}),h=S(this.opts.series,u);if(0!==h.length){var g=P(h,this.opts,u,this.opts.categories,n);f=g.textList,p=g.offset;p.y=r.y,c.tooltip={textList:n.textList?n.textList:f,offset:void 0!==n.offset?n.offset:p,option:n,index:u}}}Ft.call(this,c.type,c,this.config,this.context)}if("candle"===this.opts.type){l=this.getCurrentDataIndex(e),u=void 0==n.index?l.index:n.index;if(u>-1){o=this.scrollOption.currentOffset,c=s({},this.opts,{_scrollDistance_:o,animation:!1}),h=S(this.opts.series,u);if(0!==h.length){d=A(this.opts.series[0].data,h,this.opts,u,this.opts.categories,this.opts.extra.candle,n),f=d.textList,p=d.offset;p.y=r.y,c.tooltip={textList:n.textList?n.textList:f,offset:void 0!==n.offset?n.offset:p,option:n,index:u}}}Ft.call(this,c.type,c,this.config,this.context)}if("pie"===this.opts.type||"ring"===this.opts.type||"rose"===this.opts.type||"funnel"===this.opts.type){u=void 0==n.index?this.getCurrentDataIndex(e):n.index;if(u>-1){c=s({},this.opts,{animation:!1}),h=s({},c._series_[u]),f=[{text:n.formatter?n.formatter(h,void 0,u,c):h.name+": "+h.data,color:h.color}],p={x:r.x,y:r.y};c.tooltip={textList:n.textList?n.textList:f,offset:void 0!==n.offset?n.offset:p,option:n,index:u}}Ft.call(this,c.type,c,this.config,this.context)}if("map"===this.opts.type){u=void 0==n.index?this.getCurrentDataIndex(e):n.index;if(u>-1){c=s({},this.opts,{animation:!1}),h=s({},this.opts.series[u]);h.name=h.properties.name;f=[{text:n.formatter?n.formatter(h,void 0,u,this.opts):h.name,color:h.color}],p={x:r.x,y:r.y};c.tooltip={textList:n.textList?n.textList:f,offset:void 0!==n.offset?n.offset:p,option:n,index:u}}c.updateData=!1,Ft.call(this,c.type,c,this.config,this.context)}if("word"===this.opts.type){u=void 0==n.index?this.getCurrentDataIndex(e):n.index;if(u>-1){c=s({},this.opts,{animation:!1}),h=s({},this.opts.series[u]),f=[{text:n.formatter?n.formatter(h,void 0,u,this.opts):h.name,color:h.color}],p={x:r.x,y:r.y};c.tooltip={textList:n.textList?n.textList:f,offset:void 0!==n.offset?n.offset:p,option:n,index:u}}c.updateData=!1,Ft.call(this,c.type,c,this.config,this.context)}if("radar"===this.opts.type){u=void 0==n.index?this.getCurrentDataIndex(e):n.index;if(u>-1){c=s({},this.opts,{animation:!1}),h=S(this.opts.series,u);if(0!==h.length){f=h.map((function(t){return{text:n.formatter?n.formatter(t,i.opts.categories[u],u,i.opts):t.name+": "+t.data,color:t.color}})),p={x:r.x,y:r.y};c.tooltip={textList:n.textList?n.textList:f,offset:void 0!==n.offset?n.offset:p,option:n,index:u}}}Ft.call(this,c.type,c,this.config,this.context)}},Rt.prototype.translate=function(t){this.scrollOption={currentOffset:t,startTouchX:t,distance:0,lastMoveTime:0};var e=s({},this.opts,{_scrollDistance_:t,animation:!1});Ft.call(this,this.opts.type,e,this.config,this.context)},Rt.prototype.scrollStart=function(t){var e=null;e=t.changedTouches?t.changedTouches[0]:t.mp.changedTouches[0];var i=w(e,this.opts,t);e&&!0===this.opts.enableScroll&&(this.scrollOption.startTouchX=i.x)},Rt.prototype.scroll=function(t){0===this.scrollOption.lastMoveTime&&(this.scrollOption.lastMoveTime=Date.now());var e=this.opts.touchMoveLimit||60,i=Date.now(),n=i-this.scrollOption.lastMoveTime;if(!(n<Math.floor(1e3/e))&&0!=this.scrollOption.startTouchX){this.scrollOption.lastMoveTime=i;var a=null;if(a=t.changedTouches?t.changedTouches[0]:t.mp.changedTouches[0],a&&!0===this.opts.enableScroll){var r,o=w(a,this.opts,t);r=o.x-this.scrollOption.startTouchX;var c=this.scrollOption.currentOffset,l=h(this,c+r,this.opts.chartData,this.config,this.opts);this.scrollOption.distance=r=l-c;var u=s({},this.opts,{_scrollDistance_:c+r,animation:!1});return this.opts=u,Ft.call(this,u.type,u,this.config,this.context),c+r}}},Rt.prototype.scrollEnd=function(t){if(!0===this.opts.enableScroll){var e=this.scrollOption,i=e.currentOffset,n=e.distance;this.scrollOption.currentOffset=i+n,this.scrollOption.distance=0,this.scrollOption.moveCount=0}};var Nt=Rt;e.default=Nt}).call(this,i("f3b9")["default"])},"1a14":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=["#1890FF","#91CB74","#FAC858","#EE6666","#73C0DE","#3CA272","#FC8452","#9A60B4","#ea7ccc"],a={type:["pie","ring","rose","word","funnel","map","arcbar","line","column","mount","bar","area","radar","gauge","candle","mix","tline","tarea","scatter","bubble","demotype"],range:["\u997c\u72b6\u56fe","\u5706\u73af\u56fe","\u73ab\u7470\u56fe","\u8bcd\u4e91\u56fe","\u6f0f\u6597\u56fe","\u5730\u56fe","\u5706\u5f27\u8fdb\u5ea6\u6761","\u6298\u7ebf\u56fe","\u67f1\u72b6\u56fe","\u5c71\u5cf0\u56fe","\u6761\u72b6\u56fe","\u533a\u57df\u56fe","\u96f7\u8fbe\u56fe","\u4eea\u8868\u76d8","K\u7ebf\u56fe","\u6df7\u5408\u56fe","\u65f6\u95f4\u8f74\u6298\u7ebf","\u65f6\u95f4\u8f74\u533a\u57df","\u6563\u70b9\u56fe","\u6c14\u6ce1\u56fe","\u81ea\u5b9a\u4e49\u7c7b\u578b"],categories:["line","column","mount","bar","area","radar","gauge","candle","mix","demotype"],instance:{},option:{},formatter:{yAxisDemo1:function(t,e,i){return t+"\u5143"},yAxisDemo2:function(t,e,i){return t.toFixed(2)},xAxisDemo1:function(t,e,i){return t+"\u5e74"},xAxisDemo2:function(t,e,i){return function(t,e){var i=new Date;i.setTime(1e3*t);var n=i.getFullYear(),a=i.getMonth()+1;a=a<10?"0"+a:a;var r=i.getDate();r=r<10?"0"+r:r;var o=i.getHours();o=o<10?"0"+o:o;var s=i.getMinutes(),c=i.getSeconds();return s=s<10?"0"+s:s,c=c<10?"0"+c:c,"full"==e?n+"-"+a+"-"+r+" "+o+":"+s+":"+c:"y-m-d"==e?n+"-"+a+"-"+r:"h:m"==e?o+":"+s:"h:m:s"==e?o+":"+s+":"+c:[n,a,r,o,s,c]}(t,"h:m")},seriesDemo1:function(t,e,i,n){return t+"\u5143"},tooltipDemo1:function(t,e,i,n){return 0==i?"\u968f\u4fbf\u7528"+t.data+"\u5e74":"\u5176\u4ed6\u6211\u6ca1\u6539"+t.data+"\u5929"},pieDemo:function(t,e,i,n){if(void 0!==e)return i[e].name+"\uff1a"+i[e].data+"\u5143"}},demotype:{type:"line",color:n,padding:[15,10,0,15],xAxis:{disableGrid:!0},yAxis:{gridType:"dash",dashLength:2},legend:{},extra:{line:{type:"curve",width:2}}},pie:{type:"pie",color:n,padding:[5,5,5,5],extra:{pie:{activeOpacity:.5,activeRadius:10,offsetAngle:0,labelWidth:15,border:!0,borderWidth:3,borderColor:"#FFFFFF"}}},ring:{type:"ring",color:n,padding:[5,5,5,5],rotate:!1,dataLabel:!1,legend:{show:!1,position:"right",lineHeight:25},title:{name:"\u6536\u76ca\u7387",fontSize:15,color:"#666666"},subtitle:{name:"70%",fontSize:25,color:"#7cb5ec"},extra:{ring:{ringWidth:30,activeOpacity:.5,activeRadius:10,offsetAngle:0,labelWidth:15,border:!0,borderWidth:3,borderColor:"#FFFFFF"}}},rose:{type:"rose",color:n,padding:[5,5,5,5],legend:{show:!0,position:"left",lineHeight:25},extra:{rose:{type:"area",minRadius:50,activeOpacity:.5,activeRadius:10,offsetAngle:0,labelWidth:15,border:!1,borderWidth:2,borderColor:"#FFFFFF"}}},word:{type:"word",color:n,extra:{word:{type:"normal",autoColors:!1}}},funnel:{type:"funnel",color:n,padding:[15,15,0,15],extra:{funnel:{activeOpacity:.3,activeWidth:10,border:!0,borderWidth:2,borderColor:"#FFFFFF",fillOpacity:1,labelAlign:"right"}}},map:{type:"map",color:n,padding:[0,0,0,0],dataLabel:!0,extra:{map:{border:!0,borderWidth:1,borderColor:"#666666",fillOpacity:.6,activeBorderColor:"#F04864",activeFillColor:"#FACC14",activeFillOpacity:1}}},arcbar:{type:"arcbar",color:n,title:{name:"\u767e\u5206\u6bd4",fontSize:25,color:"#00FF00"},subtitle:{name:"\u9ed8\u8ba4\u6807\u9898",fontSize:15,color:"#666666"},extra:{arcbar:{type:"default",width:12,backgroundColor:"#E9E9E9",startAngle:.75,endAngle:.25,gap:2}}},line:{type:"line",color:n,padding:[15,10,0,15],xAxis:{disableGrid:!0},yAxis:{gridType:"dash",dashLength:2},legend:{},extra:{line:{type:"straight",width:2}}},tline:{type:"line",color:n,padding:[15,10,0,15],xAxis:{disableGrid:!1,boundaryGap:"justify"},yAxis:{gridType:"dash",dashLength:2,data:[{min:0,max:80}]},legend:{},extra:{line:{type:"curve",width:2}}},tarea:{type:"area",color:n,padding:[15,10,0,15],xAxis:{disableGrid:!0,boundaryGap:"justify"},yAxis:{gridType:"dash",dashLength:2,data:[{min:0,max:80}]},legend:{},extra:{area:{type:"curve",opacity:.2,addLine:!0,width:2,gradient:!0}}},column:{type:"column",color:n,padding:[15,15,0,5],xAxis:{disableGrid:!0},yAxis:{data:[{min:0}]},legend:{},extra:{column:{type:"group",width:30,activeBgColor:"#000000",activeBgOpacity:.08}}},mount:{type:"mount",color:n,padding:[15,15,0,5],xAxis:{disableGrid:!0},yAxis:{data:[{min:0}]},legend:{},extra:{mount:{type:"mount",widthRatio:1.5}}},bar:{type:"bar",color:n,padding:[15,30,0,5],xAxis:{boundaryGap:"justify",disableGrid:!1,min:0,axisLine:!1},yAxis:{},legend:{},extra:{bar:{type:"group",width:30,meterBorde:1,meterFillColor:"#FFFFFF",activeBgColor:"#000000",activeBgOpacity:.08}}},area:{type:"area",color:n,padding:[15,15,0,15],xAxis:{disableGrid:!0},yAxis:{gridType:"dash",dashLength:2},legend:{},extra:{area:{type:"straight",opacity:.2,addLine:!0,width:2,gradient:!1}}},radar:{type:"radar",color:n,padding:[5,5,5,5],dataLabel:!1,legend:{show:!0,position:"right",lineHeight:25},extra:{radar:{gridType:"radar",gridColor:"#CCCCCC",gridCount:3,opacity:.2,max:200}}},gauge:{type:"gauge",color:n,title:{name:"66Km/H",fontSize:25,color:"#2fc25b",offsetY:50},subtitle:{name:"\u5b9e\u65f6\u901f\u5ea6",fontSize:15,color:"#1890ff",offsetY:-50},extra:{gauge:{type:"default",width:30,labelColor:"#666666",startAngle:.75,endAngle:.25,startNumber:0,endNumber:100,labelFormat:"",splitLine:{fixRadius:0,splitNumber:10,width:30,color:"#FFFFFF",childNumber:5,childWidth:12},pointer:{width:24,color:"auto"}}}},candle:{type:"candle",color:n,padding:[15,15,0,15],enableScroll:!0,enableMarkLine:!0,dataLabel:!1,xAxis:{labelCount:4,itemCount:40,disableGrid:!0,gridColor:"#CCCCCC",gridType:"solid",dashLength:4,scrollShow:!0,scrollAlign:"left",scrollColor:"#A6A6A6",scrollBackgroundColor:"#EFEBEF"},yAxis:{},legend:{},extra:{candle:{color:{upLine:"#f04864",upFill:"#f04864",downLine:"#2fc25b",downFill:"#2fc25b"},average:{show:!0,name:["MA5","MA10","MA30"],day:[5,10,20],color:["#1890ff","#2fc25b","#facc14"]}},markLine:{type:"dash",dashLength:5,data:[{value:2150,lineColor:"#f04864",showLabel:!0},{value:2350,lineColor:"#f04864",showLabel:!0}]}}},mix:{type:"mix",color:n,padding:[15,15,0,15],xAxis:{disableGrid:!0},yAxis:{disabled:!1,disableGrid:!1,splitNumber:5,gridType:"dash",dashLength:4,gridColor:"#CCCCCC",padding:10,showTitle:!0,data:[]},legend:{},extra:{mix:{column:{width:20}}}},scatter:{type:"scatter",color:n,padding:[15,15,0,15],dataLabel:!1,xAxis:{disableGrid:!1,gridType:"dash",splitNumber:5,boundaryGap:"justify",min:0},yAxis:{disableGrid:!1,gridType:"dash"},legend:{},extra:{scatter:{}}},bubble:{type:"bubble",color:n,padding:[15,15,0,15],xAxis:{disableGrid:!1,gridType:"dash",splitNumber:5,boundaryGap:"justify",min:0,max:250},yAxis:{disableGrid:!1,gridType:"dash",data:[{min:0,max:150}]},legend:{},extra:{bubble:{border:2,opacity:.5}}}},r=a;e.default=r},"1b21":function(t,e,i){t.exports=i.p+"static/f1.png"},"1efb":function(t,e,i){"use strict";i.r(e);var n=i("22a2"),a=i.n(n);for(var r in n)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(r);e["default"]=a.a},"20f7":function(t,e,i){t.exports=i.p+"static/a1.png"},"21fd":function(t,e,i){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i={name:"uniPopup",components:{},emits:["change","maskClick"],props:{animation:{type:Boolean,default:!0},type:{type:String,default:"center"},isMaskClick:{type:Boolean,default:null},maskClick:{type:Boolean,default:null},backgroundColor:{type:String,default:"none"},safeArea:{type:Boolean,default:!0},maskBackgroundColor:{type:String,default:"rgba(0, 0, 0, 0.4)"}},watch:{type:{handler:function(t){this.config[t]&&this[this.config[t]](!0)},immediate:!0},isDesktop:{handler:function(t){this.config[t]&&this[this.config[this.type]](!0)},immediate:!0},maskClick:{handler:function(t){this.mkclick=t},immediate:!0},isMaskClick:{handler:function(t){this.mkclick=t},immediate:!0},showPopup:function(t){}},data:function(){return{duration:300,ani:[],showPopup:!1,showTrans:!1,popupWidth:0,popupHeight:0,config:{top:"top",bottom:"bottom",center:"center",left:"left",right:"right",message:"top",dialog:"center",share:"bottom"},maskClass:{position:"fixed",bottom:0,top:0,left:0,right:0,backgroundColor:"rgba(0, 0, 0, 0.4)"},transClass:{position:"fixed",left:0,right:0},maskShow:!0,mkclick:!0,popupstyle:this.isDesktop?"fixforpc-top":"top"}},computed:{isDesktop:function(){return this.popupWidth>=500&&this.popupHeight>=500},bg:function(){return""===this.backgroundColor||"none"===this.backgroundColor?"transparent":this.backgroundColor}},mounted:function(){var t=this;(function(){var e=uni.getSystemInfoSync(),i=e.windowWidth,n=e.windowHeight,a=e.windowTop,r=e.safeArea,o=(e.screenHeight,e.safeAreaInsets);t.popupWidth=i,t.popupHeight=n+a,t.safeAreaInsets=r?o.bottom:0})()},created:function(){null===this.isMaskClick&&null===this.maskClick?this.mkclick=!0:this.mkclick=null!==this.isMaskClick?this.isMaskClick:this.maskClick,this.animation?this.duration=300:this.duration=0,this.messageChild=null,this.clearPropagation=!1,this.maskClass.backgroundColor=this.maskBackgroundColor},methods:{closeMask:function(){this.maskShow=!1},disableMask:function(){this.mkclick=!1},clear:function(t){t.stopPropagation(),this.clearPropagation=!0},open:function(e){e&&-1!==["top","center","bottom","left","right","message","dialog","share"].indexOf(e)||(e=this.type),this.config[e]?(this[this.config[e]](),this.$emit("change",{show:!0,type:e})):t("error","\u7f3a\u5c11\u7c7b\u578b\uff1a",e," at uni_modules/uni-popup/components/uni-popup/uni-popup.vue:246")},close:function(t){var e=this;this.showTrans=!1,this.$emit("change",{show:!1,type:this.type}),clearTimeout(this.timer),this.timer=setTimeout((function(){e.showPopup=!1}),300)},touchstart:function(){this.clearPropagation=!1},onTap:function(){this.clearPropagation?this.clearPropagation=!1:(this.$emit("maskClick"),this.mkclick&&this.close())},top:function(t){var e=this;this.popupstyle=this.isDesktop?"fixforpc-top":"top",this.ani=["slide-top"],this.transClass={position:"fixed",left:0,right:0,backgroundColor:this.bg},t||(this.showPopup=!0,this.showTrans=!0,this.$nextTick((function(){e.messageChild&&"message"===e.type&&e.messageChild.timerClose()})))},bottom:function(t){this.popupstyle="bottom",this.ani=["slide-bottom"],this.transClass={position:"fixed",left:0,right:0,bottom:0,paddingBottom:this.safeAreaInsets+"px",backgroundColor:this.bg},t||(this.showPopup=!0,this.showTrans=!0)},center:function(t){this.popupstyle="center",this.ani=["zoom-out","fade"],this.transClass={position:"fixed",display:"flex",flexDirection:"column",bottom:0,left:0,right:0,top:0,justifyContent:"center",alignItems:"center"},t||(this.showPopup=!0,this.showTrans=!0)},left:function(t){this.popupstyle="left",this.ani=["slide-left"],this.transClass={position:"fixed",left:0,bottom:0,top:0,backgroundColor:this.bg,display:"flex",flexDirection:"column"},t||(this.showPopup=!0,this.showTrans=!0)},right:function(t){this.popupstyle="right",this.ani=["slide-right"],this.transClass={position:"fixed",bottom:0,right:0,top:0,backgroundColor:this.bg,display:"flex",flexDirection:"column"},t||(this.showPopup=!0,this.showTrans=!0)}}};e.default=i}).call(this,i("f3b9")["default"])},"22a2":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n={props:{title:{type:[String,Number],default:"\u6807\u9898"}},computed:{titleText:function(){return this.title}},data:function(){return{}}};e.default=n},"28cf":function(t,e,i){"use strict";i.r(e);var n=i("7d36"),a=i("b9a5");for(var r in a)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(r);var o=i("828b"),s=Object(o["a"])(a["default"],n["b"],n["c"],!1,null,null,null,!1,n["a"],void 0);e["default"]=s.exports},"297d":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n={data:function(){return{}},created:function(){this.popup=this.getParent()},methods:{getParent:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"uniPopup",e=this.$parent,i=e.$options.name;while(i!==t){if(e=e.$parent,!e)return!1;i=e.$options.name}return e}}};e.default=n},"2c54":function(t,e,i){"use strict";(function(t){var n=i("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.WebSocketClient=void 0;var a=n(i("67ad")),r=n(i("0bdb")),o=n(i("3352")),s=n(i("8ffa")),c=n(i("4ffb")),l=n(i("b4d2")),u=n(i("7ca3")),h=i("f545");function d(t){var e=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var i,n=(0,l.default)(t);if(e){var a=(0,l.default)(this).constructor;i=Reflect.construct(n,arguments,a)}else i=n.apply(this,arguments);return(0,c.default)(this,i)}}var f=function(e){(0,s.default)(n,e);var i=d(n);function n(t){var e;return(0,a.default)(this,n),e=i.call(this),(0,u.default)((0,o.default)(e),"url",""),(0,u.default)((0,o.default)(e),"socket",null),(0,u.default)((0,o.default)(e),"reconnectAttempts",0),(0,u.default)((0,o.default)(e),"maxReconnectAttempts",20),(0,u.default)((0,o.default)(e),"reconnectInterval",6e4),(0,u.default)((0,o.default)(e),"heartbeatInterval",3e4),(0,u.default)((0,o.default)(e),"heartbeatTimer",void 0),(0,u.default)((0,o.default)(e),"stopWs",!1),e.url=t,e}return(0,r.default)(n,[{key:"onopen",value:function(t){this.addEventListener("open",t)}},{key:"onmessage",value:function(t){this.addEventListener("message",t)}},{key:"onclose",value:function(t){this.addEventListener("close",t)}},{key:"onerror",value:function(t){this.addEventListener("error",t)}},{key:"send",value:function(e){this.socket&&this.socket.readyState===WebSocket.OPEN?this.socket.send({data:e}):t("error","[WebSocket] \u672a\u8fde\u63a5"," at static/js/WebSocketClient.js:45")}},{key:"connect",value:function(){var t=this;0===this.reconnectAttempts&&this.log("WebSocket","\u521d\u59cb\u5316\u8fde\u63a5\u4e2d...          ".concat(this.url)),this.socket&&this.socket.readyState===WebSocket.OPEN||(this.socket=uni.connectSocket({url:this.url,complete:function(){}}),this.socket.onOpen((function(e){t.stopWs=!1,t.reconnectAttempts=0,t.startHeartbeat(),t.log("WebSocket","\u8fde\u63a5\u6210\u529f,\u7b49\u5f85\u670d\u52a1\u7aef\u6570\u636e\u63a8\u9001[onopen]...     ".concat(t.url)),t.dispatchEvent("open",e)})),this.socket.onMessage((function(e){t.dispatchEvent("message",e),t.startHeartbeat()})),this.socket.onClose((function(e){0===t.reconnectAttempts&&t.log("WebSocket","\u8fde\u63a5\u65ad\u5f00[onclose]...    ".concat(t.url)),t.stopWs||t.handleReconnect(),t.dispatchEvent("close",e)})),this.socket.onError((function(e){0===t.reconnectAttempts&&t.log("WebSocket","\u8fde\u63a5\u5f02\u5e38[onerror]...    ".concat(t.url)),t.stopWs||t.handleReconnect(),t.closeHeartbeat(),t.dispatchEvent("error",e)})))}},{key:"handleReconnect",value:function(){var t=this;this.reconnectAttempts<this.maxReconnectAttempts?(this.reconnectAttempts++,this.log("WebSocket","\u5c1d\u8bd5\u91cd\u8fde... (".concat(this.reconnectAttempts,"/").concat(this.maxReconnectAttempts,")       ").concat(this.url)),setTimeout((function(){t.connect()}),this.reconnectInterval)):plus.runtime.restart()}},{key:"close",value:function(){this.socket&&(this.stopWs=!0,this.socket.close(),this.socket=null,this.removeEventListener("open"),this.removeEventListener("message"),this.removeEventListener("close"),this.removeEventListener("error")),this.closeHeartbeat()}},{key:"startHeartbeat",value:function(){var e=this;this.stopWs||(this.heartbeatTimer&&this.closeHeartbeat(),this.heartbeatTimer=setInterval((function(){e.socket?(e.socket.send({data:JSON.stringify({type:"heartBeat",data:{}})}),e.log("WebSocket","\u9001\u5fc3\u8df3\u6570\u636e...")):t("error","[WebSocket] \u672a\u8fde\u63a5"," at static/js/WebSocketClient.js:181")}),this.heartbeatInterval))}},{key:"closeHeartbeat",value:function(){clearInterval(this.heartbeatTimer),this.heartbeatTimer=void 0}}]),n}(h.EventDispatcher);e.WebSocketClient=f}).call(this,i("f3b9")["default"])},"2c9f":function(t,e,i){"use strict";(function(t){var n=i("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=n(i("5ddc")),r=n(i("bf04")),o={data:function(){return{commonUrl:null,show:!0,modeClass:"fade",styles:{},baseIP:"",baseLedId:"",basePort:"",crnId:"",value:"",xDistance:0,yDistance:0,xDuration:0,yDuration:0,used:317,usedPr:90,stockCount:0,emptyCount:0,noneCount:0,chartsData:{Line:{categories:[],series:[]},Pie:{series:[{data:[]}]}},chartsDataLine1:{},chartsDataPie2:{},ringOpts:{},year:2022,month:4,day:14,hours:13,minutes:38,seconds:13,week:"\u661f\u671f\u56db",ani:"",move:!1,topMove:"topUp",floorMove:"",version:"",newspaper:"",errorPaper:"",title:"",staNo:"",matnr:"",maknx:"",specs:"",count:"",orderNo:null,doneOfTray:"",totalOfTray:"",doneOfUnit:"",totalOfUnit:"",errorMsg:null,width:"full-width",errorShow:"",pakinShow:"",pakinGun:"",orderShow:!1,swiper:"swiper-here",autoplay:!0,interval:1e3,duration:8e3,matList:[],ejectShow:!1}},mounted:function(){var t=uni.getStorageSync("BaseIp"),e=uni.getStorageSync("BaseLedId"),i=uni.getStorageSync("BasePort"),n=uni.getStorageSync("BaseCrnId");this.baseIP=t,this.baseLedId=e,this.basePort=i,this.baseCrnId=n,this.getUrl()},onLoad:function(){},onReady:function(){var t=this;setInterval((function(){t.initlineChart(),t.initPieChart(),t.getServerData(),t.getOther(),t.getDate(),t.getPakin(),t.getError(),t.animation(),t.getUrl()}),1e3)},methods:{getUrl:function(){this.commonUrl=this.baseHttp+this.baseIP+":"+this.basePort+this.baseUrl,this.chartsDataLine1=JSON.parse(JSON.stringify(r.default.Line))},getYYY:function(){var t=a.default.dataEEE,e=t.data;if(e.data&&""!==e.data)this.errorMsg=e.data,this.errorShow=!0,this.move=!1;else{if(this.errorPaper="",this.errorShow=!1,this.pakinShow)return;this.move=!0}},getEEE:function(){var t=a.default.dataYYY,e=t.data;if(e.data&&null!==e.data){if(101===e.data[0].ioType?this.title="\u5168\u677f\u51fa\u5e93":103===e.data[0].ioType&&(this.title="\u68c0\u6599\u51fa\u5e93"),this.staNo="\u76ee\u6807\u7ad9:"+e.data[0].staNo,this.matnr="\u5546\u54c1\u7f16\u53f7\uff1a"+e.data[0].matDtos[0].matnr,this.maknx="\u5546\u54c1\u540d\u79f0\uff1a"+e.data[0].matDtos[0].maknx,this.count="\u51fa\u5e93\u6570\u91cf\uff1a"+e.data[0].matDtos[0].count,e.data[0].orderNo?(this.orderNo="\u8ba2\u5355\u53f7\uff1a"+e.data[0].orderNo,this.orderShow=!0,this.width="half-width"):(this.orderNo=null,this.orderShow=!1,this.width="full-width"),this.doneOfTray="\u5df2\u51fa\u6258\u76d8\u6570:"+e.data[0].doneOfTray,this.totalOfTray="\u6258\u76d8\u603b\u6570\u91cf\uff1a"+e.data[0].totalOfTray,this.doneOfUnit="\u5df2\u51fa\u7bb1\u6570\uff1a"+e.data[0].doneOfUnit,this.totalOfUnit="\u603b\u7bb1\u6570\uff1a"+e.data[0].totalOfUnit,this.errorShow)return;this.newspaper="",this.move=!1}else this.move=!0},getError:function(){var t,e=this;uni.request({url:e.commonUrl+"/monitor/led/error",data:{ledId:e.baseLedId},method:"GET",success:function(i){t=i.data,t.data&&""!==t.data?(e.errorMsg=t.data,e.errorShow=!0,e.move=!1):e.errorShow=!1}})},getPakin:function(){var t=this;t.matList=[];var e;uni.request({url:t.commonUrl+"/monitor/led",data:{ledId:t.baseLedId},method:"GET",success:function(i){e=i.data,t.errorShow||(e.data&&null!==e.data?(101===e.data[0].ioType?t.title="\u5168\u677f\u51fa\u5e93":103===e.data[0].ioType?t.title="\u68c0\u6599\u51fa\u5e93":t.title=e.data[0].title,t.staNo="\u76ee\u6807\u7ad9:"+e.data[0].staNo,t.matnr="\u5546\u54c1\u7f16\u53f7\uff1a"+e.data[0].matDtos[0].matnr,t.maknx="\u5546\u54c1\u540d\u79f0\uff1a"+e.data[0].matDtos[0].maknx,t.specs="\u89c4\u683c\uff1a"+e.data[0].matDtos[0].specs,t.count="\u51fa\u5e93\u6570\u91cf\uff1a"+e.data[0].matDtos[0].count,e.data[0].orderNo?(t.orderNo="\u8ba2\u5355\u53f7\uff1a"+e.data[0].orderNo,t.orderShow=!0,t.width="half-width"):(t.orderNo=null,t.orderShow=!1,t.width="full-width"),t.doneOfTray="\u5df2\u51fa\u6258\u76d8\u6570:"+e.data[0].doneOfTray,t.totalOfTray="\u6258\u76d8\u603b\u6570\u91cf\uff1a"+e.data[0].totalOfTray,t.doneOfUnit="\u5df2\u51fa\u7bb1\u6570\uff1a"+e.data[0].doneOfUnit,t.totalOfUnit="\u603b\u7bb1\u6570\uff1a"+e.data[0].totalOfUnit,t.newspaper="",t.move=!1):t.move=!0)}})},animation:function(){this.move?(this.topMove="topUp",this.floorMove="floorUp"):(this.topMove="topDown",this.floorMove="floorDown")},getDateFormat:function(t){var e=new Date;e.setDate(e.getDate()+t);var i=e.getMonth()+1,n=e.getDate(),a=i+"-"+n;return a},initlineChart:function(){var e=this;uni.request({url:e.commonUrl+"/monitor/line/charts",method:"GET",success:function(i){var n=i.data;t("log",i," at pages/index/index.vue:586"),200===n.code&&(e.chartsData.Line.categories=[e.getDateFormat(-11),e.getDateFormat(-10),e.getDateFormat(-9),e.getDateFormat(-8),e.getDateFormat(-7),e.getDateFormat(-6),e.getDateFormat(-5),e.getDateFormat(-4),e.getDateFormat(-3),e.getDateFormat(-2),e.getDateFormat(-1),e.getDateFormat(0)],e.chartsData.Line.series=n.data.rows)}})},initPieChart:function(){var t=this;uni.request({url:t.commonUrl+"/monitor/loc/rep",method:"GET",success:function(e){var i=e.data;200===i.code&&(t.chartsData.Pie.series[0].data=i.data.pie,t.stockCount=i.data.stockCunt,t.emptyCount=i.data.emptyCount,t.noneCount=i.data.noneCount,t.used=i.data.used,t.usedPr=i.data.usedPr)}})},getOther:function(){var e=this;uni.request({url:e.commonUrl+"/monitor/other",data:{crnId:e.baseCrnId,ledId:1},success:function(i){t("log",i," at pages/index/index.vue:626");var n=i.data;200===n.code?(e.xDistance=n.data.xDistance,e.yDistance=n.data.yDistance,e.xDuration=n.data.xDuration,e.yDuration=n.data.yDuration):n.code}})},ejected:function(){this.ejectShow=!0},ejectConfirm:function(){uni.setStorageSync("BaseIp",this.baseIP),uni.setStorageSync("BaseLedId",this.baseLedId),uni.setStorageSync("BasePort",this.basePort),uni.setStorageSync("BaseCrnId",this.baseCrnId),this.getUrl(),this.ejectShow=!1},ejectClose:function(){this.ejectShow=!1},getServerData:function(){this.chartsDataLine1=JSON.parse(JSON.stringify(this.chartsData.Line)),this.chartsDataPie2=JSON.parse(JSON.stringify(this.chartsData.Pie))},complete:function(e){t("log","\u6e32\u67d3\u5b8c\u6210\u4e8b\u4ef6",e," at pages/index/index.vue:662")},getDate:function(){var t=new Date;switch(this.year=t.getFullYear(),this.month=t.getMonth()+1<10?"0"+(t.getMonth()+1):t.getMonth()+1,this.day=t.getDate()<10?"0"+t.getDate():t.getDate(),this.hours=t.getHours()<10?"0"+t.getHours():t.getHours(),this.minutes=t.getMinutes()<10?"0"+t.getMinutes():t.getMinutes(),this.seconds=t.getSeconds()<10?"0"+t.getSeconds():t.getSeconds(),this.weeks=t.getDay(),this.weeks){case 0:this.week="\u661f\u671f\u65e5";break;case 1:this.week="\u661f\u671f\u4e00";break;case 2:this.week="\u661f\u671f\u4e8c";break;case 3:this.week="\u661f\u671f\u4e09";break;case 4:this.week="\u661f\u671f\u56db";break;case 5:this.week="\u661f\u671f\u4e94";break;default:this.week="\u661f\u671f\u516d"}}}};e.default=o}).call(this,i("f3b9")["default"])},"2f40":function(t){t.exports=JSON.parse('{"uni-popup.cancel":"cancel","uni-popup.ok":"ok","uni-popup.placeholder":"pleace enter","uni-popup.title":"Hint","uni-popup.shareTitle":"Share to"}')},"2f51":function(t){t.exports=JSON.parse('{"uni-popup.cancel":"\u53d6\u6d88","uni-popup.ok":"\u78ba\u5b9a","uni-popup.placeholder":"\u8acb\u8f38\u5165","uni-popup.title":"\u63d0\u793a","uni-popup.shareTitle":"\u5206\u4eab\u5230"}')},"2fe5":function(t){t.exports=JSON.parse('{"uni-popup.cancel":"\u53d6\u6d88","uni-popup.ok":"\u786e\u5b9a","uni-popup.placeholder":"\u8bf7\u8f93\u5165","uni-popup.title":"\u63d0\u793a","uni-popup.shareTitle":"\u5206\u4eab\u5230"}')},3352:function(t,e){t.exports=function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t},t.exports.__esModule=!0,t.exports["default"]=t.exports},3400:function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return a})),i.d(e,"a",(function(){}));var n=function(){var t=this.$createElement,e=this._self._c||t;return e("view",{staticClass:this._$s(0,"sc","container loading6"),attrs:{_i:0}},[e("view",{staticClass:this._$s(1,"sc","shape shape1"),attrs:{_i:1}}),e("view",{staticClass:this._$s(2,"sc","shape shape2"),attrs:{_i:2}}),e("view",{staticClass:this._$s(3,"sc","shape shape3"),attrs:{_i:3}}),e("view",{staticClass:this._$s(4,"sc","shape shape4"),attrs:{_i:4}})])},a=[]},"34cf":function(t,e,i){var n=i("ed45"),a=i("7172"),r=i("6382"),o=i("dd3e");t.exports=function(t,e){return n(t)||a(t,e)||r(t,e)||o()},t.exports.__esModule=!0,t.exports["default"]=t.exports},"357c":function(t,e,i){"use strict";i.r(e);var n=i("e286"),a=i("1efb");for(var r in a)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(r);var o=i("828b"),s=Object(o["a"])(a["default"],n["b"],n["c"],!1,null,null,null,!1,n["a"],void 0);e["default"]=s.exports},"3b29":function(t,e,i){"use strict";i.r(e);var n=i("907f"),a=i("0671");for(var r in a)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(r);var o=i("828b"),s=Object(o["a"])(a["default"],n["b"],n["c"],!1,null,null,null,!1,n["a"],void 0);e["default"]=s.exports},"3b2d":function(t,e){function i(e){return t.exports=i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t.exports.__esModule=!0,t.exports["default"]=t.exports,i(e)}t.exports=i,t.exports.__esModule=!0,t.exports["default"]=t.exports},"3c26":function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return a})),i.d(e,"a",(function(){}));var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("view",[i("view",[i("swiper",{attrs:{autoplay:t._$s(2,"a-autoplay",t.autoplay),interval:t._$s(2,"a-interval",t.interval),duration:t._$s(2,"a-duration",t.duration),_i:2}},t._l(t._$s(3,"f",{forItems:t.list}),(function(e,n,a,r){return i("swiper-item",{key:t._$s(3,"f",{forIndex:a,key:n})},[i("view",[t._v(t._$s("4-"+r,"t0-0",t._s(e)))])])})),0)])])},a=[]},"3c8c":function(t,e,i){"use strict";i.r(e);var n=i("96e5"),a=i("c547");for(var r in a)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(r);var o=i("828b"),s=Object(o["a"])(a["default"],n["b"],n["c"],!1,null,"28993e7f",null,!1,n["a"],void 0);e["default"]=s.exports},"3d72":function(t,e,i){"use strict";i.r(e);var n=i("1611"),a=i.n(n);for(var r in n)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(r);e["default"]=a.a},"3f60":function(t,e,i){"use strict";i.r(e);var n=i("ebd2"),a=i.n(n);for(var r in n)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(r);e["default"]=a.a},"3f6f":function(t,e,i){"use strict";i.r(e);var n=i("6a1e"),a=i.n(n);for(var r in n)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(r);e["default"]=a.a},"451d":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={pages:[{path:"pages/home/home",style:{navigationStyle:"custom","app-plus":{titleNView:!1}}},{path:"pages/test/test",style:{navigationStyle:"custom","app-plus":{titleNView:!1}}},{path:"pages/index",style:{navigationStyle:"custom","app-plus":{titleNView:!1}}},{path:"pages/index/index",style:{navigationStyle:"custom","app-plus":{titleNView:!1}}},{path:"pages/index/monitor",style:{navigationStyle:"custom"}},{path:"pages/test/test",style:{navigationStyle:"custom","app-plus":{titleNView:!1}}}],globalStyle:{navigationBarTextStyle:"black",navigationBarTitleText:"uni-app",navigationBarBackgroundColor:"#F8F8F8",backgroundColor:"#F8F8F8",pageOrientation:"landscape"}}},"468a":function(t,e,i){"use strict";i.r(e);var n=i("1511"),a=i("a9ce");for(var r in a)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(r);var o=i("828b"),s=Object(o["a"])(a["default"],n["b"],n["c"],!1,null,"0f7e34c8",null,!1,n["a"],void 0);e["default"]=s.exports},"47a9":function(t,e){t.exports=function(t){return t&&t.__esModule?t:{default:t}},t.exports.__esModule=!0,t.exports["default"]=t.exports},4965:function(t,e){t.exports=function(t){try{return-1!==Function.toString.call(t).indexOf("[native code]")}catch(e){return"function"===typeof t}},t.exports.__esModule=!0,t.exports["default"]=t.exports},4969:function(t,e,i){"use strict";i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return r})),i.d(e,"a",(function(){return n}));var n={uniTransition:i("997e").default},a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return t._$s(0,"i",t.showPopup)?i("view",{staticClass:t._$s(0,"sc","uni-popup"),class:t._$s(0,"c",[t.popupstyle,t.isDesktop?"fixforpc-z-index":""]),attrs:{_i:0},on:{touchmove:function(e){return e.stopPropagation(),e.preventDefault(),t.clear(e)}}},[i("view",{attrs:{_i:1},on:{touchstart:t.touchstart}},[t._$s(2,"i",t.maskShow)?i("uni-transition",{key:"1",attrs:{name:"mask","mode-class":"fade",styles:t.maskClass,duration:t.duration,show:t.showTrans,_i:2},on:{click:t.onTap}}):t._e(),i("uni-transition",{key:"2",attrs:{"mode-class":t.ani,name:"content",styles:t.transClass,duration:t.duration,show:t.showTrans,_i:3},on:{click:t.onTap}},[i("view",{staticClass:t._$s(4,"sc","uni-popup__wrapper"),class:t._$s(4,"c",[t.popupstyle]),style:t._$s(4,"s",{backgroundColor:t.bg}),attrs:{_i:4},on:{click:t.clear}},[t._t("default",null,{_i:5})],2)])],1)]):t._e()},r=[]},"4c4f":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n={data:function(){return{data:"",url:"http://10.10.10.120:9090/wcs/h5/index.html"}},onShow:function(){var t=this;uni.getStorage({key:"data",success:function(e){t.data=e.data}})},methods:{setUrl:function(){""!=this.url&&(uni.setStorage({key:"data",data:this.url}),this.data=this.url)},clearUrl:function(){this.data="",this.url="http://10.10.10.120:9090/wcs/h5/index.html",uni.removeStorage({key:"data"})}}};e.default=n},"4c8c":function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return a})),i.d(e,"a",(function(){}));var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return t._$s(0,"i",t.isShow)?i("view",{ref:"ani",class:t._$s(0,"c",t.customClass),style:t._$s(0,"s",t.transformStyles),attrs:{animation:t._$s(0,"a-animation",t.animationData),_i:0},on:{click:t.onClick}},[t._t("default",null,{_i:1})],2):t._e()},a=[]},"4ffb":function(t,e,i){var n=i("3b2d")["default"],a=i("3352");t.exports=function(t,e){if(e&&("object"===n(e)||"function"===typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return a(t)},t.exports.__esModule=!0,t.exports["default"]=t.exports},5607:function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return a})),i.d(e,"a",(function(){}));var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("view",[t._$s(1,"i",1==t.loadingType)?i("Loading1",{attrs:{_i:1}}):t._e(),t._$s(2,"i",2==t.loadingType)?i("Loading2",{attrs:{_i:2}}):t._e(),t._$s(3,"i",3==t.loadingType)?i("Loading3",{attrs:{_i:3}}):t._e(),t._$s(4,"i",4==t.loadingType)?i("Loading4",{attrs:{_i:4}}):t._e(),t._$s(5,"i",5==t.loadingType)?i("Loading5",{attrs:{_i:5}}):t._e()],1)},a=[]},"5ddc":function(t){t.exports=JSON.parse('{"dataInfo2":{"data":{"msg":"\u64cd\u4f5c\u6210\u529f","code":200,"data":[{"title":"\u5168\u677f\u51fa\u5e93","workNo":8046,"staNo":200,"sourceStaNo":null,"locNo":null,"sourceLocNo":"1500502","barcode":"80009901","matDtos":[{"orderNo":"ck11111111111","brand":"ck11111111111","number":"100","weight":"123.568","matnr":"020101000001","maknx":"63-90\u578b\u5355\u7acb\u67f1","batch":null,"count":40,"specs":"gcslxwt","info":"\u6d59\u6c5f\u4e2d\u626c","bz":"\u7ea2\u8272","total":200},{"orderNo":"ck11111111111","matnr":"LPJ.SLJ.XG.037","maknx":"\u5de5\u7a0b\u5851\u6599\u4e0b\u5f2f\u5934","batch":null,"count":40,"specs":"gcslxwt","info":"\u6d59\u6c5f\u4e2d\u626c","bz":"\u6682\u5b58","total":200},{"orderNo":"ck11111111111","matnr":"LPJ.SLJ.XG.037","maknx":"\u5de5\u7a0b\u5851\u6599\u4e0b\u5f2f\u5934","batch":null,"count":40,"specs":"gcslxwt","info":"\u6d59\u6c5f\u4e2d\u626c","bz":"\u7ea2\u8272","total":200},{"matnr":"LPJ.SLJ.XG.037","maknx":"\u5de5\u7a0b\u5851\u6599\u4e0b\u5f2f\u5934","batch":null,"count":40,"specs":"gcslxwt","info":"\u6d59\u6c5f\u4e2d\u626c","bz":"","total":200},{"matnr":"LPJ.SLJ.XG.037","maknx":"\u5de5\u7a0b\u5851\u6599\u4e0b\u5f2f\u5934","batch":null,"count":40,"specs":"gcslxwt","info":"\u6d59\u6c5f\u4e2d\u626c","bz":"","total":200},{"matnr":"LPJ.SLJ.XG.037","maknx":"\u5de5\u7a0b\u5851\u6599\u4e0b\u5f2f\u5934","batch":null,"count":40,"specs":"gcslxwt","info":"\u6d59\u6c5f\u4e2d\u626c","bz":"","total":200},{"matnr":"LPJ.SLJ.XG.037","maknx":"\u5de5\u7a0b\u5851\u6599\u4e0b\u5f2f\u5934","batch":null,"count":40,"specs":"gcslxwt","info":"\u6d59\u6c5f\u4e2d\u626c","bz":"17\u53f7\u6846","total":200}],"emptyMk":false,"ioType":101}]}},"dataError2":{"data":{"msg":"\u64cd\u4f5c\u6210\u529f","code":200,"data":""}},"lineData":{"msg":"\u64cd\u4f5c\u6210\u529f","code":200,"data":{"rows":[{"name":"\u5165\u5e93\u6570\u91cf","data":[0,0,0,0,1,1,0,0,4,4,0,4]},{"name":"\u51fa\u5e93\u6570\u91cf","data":[0,0,0,0,0,0,0,0,3,4,0,1]}]}},"pieData":{"msg":"\u64cd\u4f5c\u6210\u529f","code":200,"data":{"emptyCount":3582,"noneCount":256,"total":3840,"stockCunt":2,"usedPr":0.1,"used":2,"pie":[{"name":"\u5728\u5e93","value":2},{"name":"\u7a7a","value":3582},{"name":"\u4f7f\u7528","value":0},{"name":"\u7981\u7528","value":256}]}},"other":{"msg":"\u64cd\u4f5c\u6210\u529f","code":200,"data":{"xDistance":15651,"xSpeed":32704,"zSpeed":32704,"yDistance":15,"yDuration":0,"ySpeed":32704,"xDuration":0,"content":"","forkPos":1,"isShow":false}}}')},"5e2e":function(t,e,i){"use strict";i.r(e);var n=i("7b96"),a=i("3f6f");for(var r in a)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(r);var o=i("828b"),s=Object(o["a"])(a["default"],n["b"],n["c"],!1,null,"cc06004c",null,!1,n["a"],void 0);e["default"]=s.exports},"5e84":function(t,e,i){"use strict";(function(t){var n=i("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;n(i("bf04")),n(i("5ddc")),i("2c54");var a=n(i("9e36")),r={data:function(){return{series:[],homeViewShow:!0,infoViewShow:!1,errorInfoViewShow:!1,homeMode:[],infoMode:[],errorInfoMode:[],baseInfo:{xDistance:1,yDistance:2,xDuration:3,yDuration:4,usedPr:50,used:3537,stockCount:"",emptyCount:"",noneCount:""},chartsData:{Line:{categories:[],series:[]},Pie:{series:[{data:[]}]}},duration:300,calendar:"",ringOpts:{},chartsDataLine1:{},chartsDataPie2:{},fontSize:"",height:"",showCharts:!1,ejectShow:!1,baseIP:"",basePort:"",baseLedId:"",baseCrnId:"",baseUrl:"",info:null,error:null,infoType:0,text:"",infoText:{title:"",staNo:"",matnr:"",maknx:"",specs:"",count:"",error:"",barcode:""},swiperList:[],timeOut:!1,times:0,currDate:"",locList:[],oldHours:"",oldMin:"",socketClient:null,messages:[],version:"",socketUrl:"",msgType:"success",filename:"",dialogContent:"",wmsUrl:"",wmsPort:"",switchDebounceTimer:null,viewSwitchInProgress:!1}},onShow:function(){plus.navigator.setFullscreen(!0),this.getVersion()},mounted:function(){var t=uni.getStorageSync("BaseIp"),e=uni.getStorageSync("BaseLedId"),i=uni.getStorageSync("BasePort"),n=uni.getStorageSync("BaseCrnId"),a=uni.getStorageSync("UPROJ"),r=uni.getStorageSync("wmsUrl"),o=uni.getStorageSync("wmsPort");this.baseUrl=a,this.baseIP=t,this.baseLedId=e,this.basePort=i,this.baseCrnId=n,this.wmsUrl=r,this.wmsPort=o},created:function(){var t=uni.getStorageSync("BaseIp"),e=uni.getStorageSync("BaseLedId"),i=uni.getStorageSync("BasePort"),n=uni.getStorageSync("BaseCrnId"),a=uni.getStorageSync("UPROJ"),r=uni.getStorageSync("wmsUrl"),o=uni.getStorageSync("wmsPort");this.baseUrl=a,this.baseIP=t,this.baseLedId=e,this.basePort=i,this.baseCrnId=n,this.wmsUrl=r,this.wmsPort=o,this.uniWebSocket()},onLoad:function(){var e=this;setInterval((function(){e.getServerData(),e.controller()}),1e3),setInterval((function(){setTimeout((function(){plus.runtime.restart()}),100)}),144e5);setInterval((function(){"android"===plus.os.name.toLowerCase()&&(plus.android.importClass("java.lang.System"),plus.android.invoke("java.lang.System","gc"),t("log","\u624b\u52a8\u89e6\u53d1 GC"," at pages/home/home.vue:505")),e.oldData&&e.oldData.length>100&&(e.oldData=[])}),3e5)},methods:{uniWebSocket:function(){var e=this;e.commonUrl=e.baseIP+":"+e.basePort+"/"+e.baseUrl,e.socketUrl="ws://"+e.commonUrl+"/led/"+e.baseLedId,e.socketClient=new a.default(e.socketUrl,{heartbeatInterval:3e4,reconnectInterval:3e3,maxReconnectAttempts:-1,onMessage:function(i){try{var n=JSON.parse(i.data);e.showDate(n)}catch(a){t("error","\u89e3\u6790\u6d88\u606f\u5931\u8d25",a," at pages/home/home.vue:537")}},onOpen:function(i){e.timeOut=!1,e.times=0,t("log","WebSocket\u5df2\u8fde\u63a5",i," at pages/home/home.vue:544")},onError:function(e){t("error","WebSocket\u9519\u8bef",e," at pages/home/home.vue:548")},onClose:function(i){e.timeOut=!0,e.times=e.times+1,e.infoType=0,t("log","WebSocket\u5df2\u5173\u95ed",i," at pages/home/home.vue:555")},onReconnect:function(e){t("log","WebSocket\u91cd\u8fde(".concat(e.attempts,"/").concat(e.maxAttempts,")")," at pages/home/home.vue:559")}}),e.socketClient.connect()},showDate:function(t){if("default"===t.type)this.chartsData.Pie.series[0].data=t.pie,this.baseInfo.stockCount=t.stockCunt,this.baseInfo.emptyCount=t.emptyCount,this.baseInfo.noneCount=t.noneCount,this.baseInfo.used=t.used,this.baseInfo.usedPr=t.usedPr,this.chartsData.Line.categories=[this.getDateFormat(-11),this.getDateFormat(-10),this.getDateFormat(-9),this.getDateFormat(-8),this.getDateFormat(-7),this.getDateFormat(-6),this.getDateFormat(-5),this.getDateFormat(-4),this.getDateFormat(-3),this.getDateFormat(-2),this.getDateFormat(-1),this.getDateFormat(0)],this.chartsData.Line.series=t.rows,this.calendar=t.year+"\u5e74"+t.month+"\u6708"+t.day+"\u65e5 "+t.hour+":"+t.minute+":"+t.second+" "+t.week,this.currDate=t.year+"/"+t.month+"/"+t.day,this.locList=t.inventoryData,this.oldHours=t.hour,this.oldMin=t.minute;else if("error"===t.type)if(t.errMsg&&""!==t.errMsg){var e=t.errMsg;if(1==this.infoType)return this.infoType=3,this.infoText.title="\u5176\u4ed6\u4fe1\u606f",void(this.infoText.error=e);this.infoType=2,this.infoText.title="\u5176\u4ed6\u4fe1\u606f",this.infoText.error=e}else{if(1==this.infoType)return;this.infoType=0}else if("task"===t.type)if(t.taskList&&""!==t.taskList&&0!=t.taskList.length){if(2==this.infoType||3==this.infoType)return;this.infoType=1,101===t.taskList[0].ioType?this.infoText.title="\u5168\u677f\u51fa\u5e93":103===t.taskList[0].ioType?this.infoText.title="\u62e3\u6599\u51fa\u5e93":107===t.taskList[0].ioType?this.infoText.title="\u76d8\u70b9\u51fa\u5e93":1===t.taskList[0].ioType?this.infoText.title="\u5165\u5e93":10===t.taskList[0].ioType?this.infoText.title="\u7a7a\u6258\u5165\u5e93":110===t.taskList[0].ioType?this.infoText.title="\u7a7a\u6258\u51fa\u5e93":104===t.taskList[0].ioType?this.infoText.title="\u5e76\u677f\u51fa\u5e93":54===t.taskList[0].ioType&&(this.infoText.title="\u5e76\u677f\u5165\u5e93"),this.infoText.barcode=t.taskList[0].barcode,this.infoText.workNo=t.taskList[0].workNo,this.infoText.sourceLocNo=t.taskList[0].sourceLocNo,this.infoText.staNo=t.taskList[0].staNo,this.swiperList=t.taskList[0].matDtos}else{if(2==this.infoType||3==this.infoType)return;this.infoType=0}},statisticalModel:function(){var e=this;uni.request({url:e.commonUrl+"/monitor/locDetl/pda/statisticalModel",method:"GET",success:function(i){var n=i.data;200===n.code&&(t("log",n.data," at pages/home/home.vue:659"),e.locList=n.data)}})},getDateFormat:function(t){var e=new Date(this.currDate);e.setDate(e.getDate()+t);var i=e.getMonth()+1,n=e.getDate(),a=i+"-"+n;return a},getUrl:function(){this.commonUrl=this.baseHttp+this.baseIP+":"+this.basePort+"/"+this.baseUrl},getServerData:function(){this.chartsDataLine1=JSON.parse(JSON.stringify(this.chartsData.Line)),this.chartsDataPie2=JSON.parse(JSON.stringify(this.chartsData.Pie))},controller:function(){var t=this;this.switchDebounceTimer&&clearTimeout(this.switchDebounceTimer),this.switchDebounceTimer=setTimeout((function(){t.performViewSwitch()}),100)},performViewSwitch:function(){var t=this,e={0:function(){return t.showHomeView()},1:function(){return t.showInfoView()},2:function(){return t.showErrorView()},3:function(){return t.showErrorView()}},i=e[this.infoType];i&&!this.viewSwitchInProgress&&(this.viewSwitchInProgress=!0,i(),setTimeout((function(){t.viewSwitchInProgress=!1}),this.duration+100))},showHomeView:function(){var t=this;this.infoViewShow=!1,this.errorInfoViewShow=!1,this.infoMode=["fade","slide-bottom"],this.errorInfoMode=["fade","slide-bottom"],setTimeout((function(){t.homeViewShow=!0,t.homeMode=["fade","slide-bottom"]}),this.duration)},showInfoView:function(){var t=this;this.homeViewShow=!1,this.errorInfoViewShow=!1,this.homeMode=["fade","slide-bottom"],this.errorInfoMode=["fade","slide-bottom"],setTimeout((function(){t.infoViewShow=!0,t.infoMode=["fade","slide-bottom"]}),this.duration)},showErrorView:function(){var t=this;this.homeViewShow=!1,this.infoViewShow=!1,this.homeMode=["fade","slide-bottom"],this.infoMode=["fade","slide-bottom"],setTimeout((function(){t.errorInfoViewShow=!0,t.errorInfoMode=["fade","slide-bottom"]}),this.duration)},handle:function(t){this.homeViewShow=!this.homeViewShow,this.modeClass=t},handle1:function(t){this.infoViewShow=!this.infoViewShow,this.modeClass=t},handle2:function(t){this.errorInfoViewShow=!this.errorInfoViewShow,this.modeClass=t},ejected:function(){this.ejectShow=!0},ejectClose:function(){this.ejectShow=!1},ejectConfirm:function(){uni.setStorageSync("BaseIp",this.baseIP),uni.setStorageSync("BaseLedId",this.baseLedId),uni.setStorageSync("BasePort",this.basePort),uni.setStorageSync("BaseCrnId",this.baseCrnId),uni.setStorageSync("UPROJ",this.baseUrl),uni.setStorageSync("wmsUrl",this.wmsUrl),uni.setStorageSync("wmsPort",this.wmsPort),this.getUrl(),this.ejectShow=!1},getVersion:function(){var t=this;uni.getSystemInfo({success:function(e){"android"==e.platform&&t.AndroidCheckUpdate()}})},AndroidCheckUpdate:function(){var t=this;plus.runtime.getProperty(plus.runtime.appid,(function(e){t.version=e.version})),setTimeout((function(){t.getUpdateVersion()}),100)},getUpdateVersion:function(){var e=this;if("http://undefined:undefined/undefined"!=e.baseUrl){var i="http://"+e.baseIP+":"+e.wmsPort+"/"+e.wmsUrl;t("log",i," at pages/home/home.vue:811");var n=i+"/appVersion/checkUpdate/"+e.version+"/1";uni.request({url:n,method:"GET",success:function(i){t("log",i," at pages/home/home.vue:817");i=i.data;i.data?(e.filename=i.data.path,e.dialogContent="\u53d1\u73b0\u65b0\u7248\u672c:"+i.data.version+", \u662f\u5426\u7acb\u5373\u66f4\u65b0",e.$refs.upVersion.open()):uni.showToast({title:i.msg,icon:"none",position:"top"})}})}},dialogConfirm:function(){this.$refs.upVersion.close(),this.downWgt()},dialogClose:function(){this.$refs.upVersion.close()},downWgt:function(){var e=this,i="http://"+e.baseIP+":"+e.wmsPort+"/"+e.wmsUrl,n=i+"/appVersion/downloadApp/"+e.filename;uni.showLoading({title:"\u66f4\u65b0\u4e2d\u2026\u2026"});var a=uni.downloadFile({url:n,timeout:3e4,success:function(i){t("log",i," at pages/home/home.vue:852"),e.showdownLine=!1,uni.hideLoading(),200==i.statusCode?uni.showModal({title:"",content:"\u66f4\u65b0\u6210\u529f\uff0c\u786e\u5b9a\u73b0\u5728\u91cd\u542f\u5417\uff1f",confirmText:"\u91cd\u542f",confirmColor:"#EE8F57",success:function(t){1==t.confirm&&plus.runtime.install(i.tempFilePath,{force:!0},(function(t){utils.showToast("\u66f4\u65b0\u6210\u529f\uff0c\u91cd\u542f\u4e2d"),plus.runtime.restart()}))}}):(uni.hideLoading(),e.showdownLine=!1,uni.showToast({title:"\u8bf7\u5148\u4e0a\u4f20\u5b89\u88c5\u5305",icon:"error"}))},fail:function(t){uni.hideLoading(),e.showdownLine=!1,e.$u.toast(downloadResult.errMsg)},complete:function(e){t("log",e," at pages/home/home.vue:891")}});a.onProgressUpdate((function(i){e.downloadNum=i.progress,t("log","\u4e0b\u8f7d\u8fdb\u5ea6"+e.downloadNum," at pages/home/home.vue:898")}))}}};e.default=r}).call(this,i("f3b9")["default"])},"5f21":function(t,e,i){"use strict";i.r(e);var n=i("5607"),a=i("3f60");for(var r in a)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(r);var o=i("828b"),s=Object(o["a"])(a["default"],n["b"],n["c"],!1,null,null,null,!1,n["a"],void 0);e["default"]=s.exports},"62d4":function(t,e,i){"use strict";i.r(e);var n=i("ea8b");for(var a in n)["default"].indexOf(a)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(a);var r=i("828b"),o=Object(r["a"])(n["default"],void 0,void 0,!1,null,null,null,!1,void 0,void 0);e["default"]=o.exports},6382:function(t,e,i){var n=i("6454");t.exports=function(t,e){if(t){if("string"===typeof t)return n(t,e);var i=Object.prototype.toString.call(t).slice(8,-1);return"Object"===i&&t.constructor&&(i=t.constructor.name),"Map"===i||"Set"===i?Array.from(t):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?n(t,e):void 0}},t.exports.__esModule=!0,t.exports["default"]=t.exports},"63c1":function(t,e,i){"use strict";i.r(e);var n=i("2c9f"),a=i.n(n);for(var r in n)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(r);e["default"]=a.a},6454:function(t,e){t.exports=function(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,n=new Array(e);i<e;i++)n[i]=t[i];return n},t.exports.__esModule=!0,t.exports["default"]=t.exports},6597:function(t,e,i){t.exports=i.p+"static/img/logo-bai.png"},6620:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={appid:"__UNI__CA903B7"}},"67ad":function(t,e){t.exports=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},t.exports.__esModule=!0,t.exports["default"]=t.exports},6808:function(t,e,i){t.exports=i.p+"static/c1.png"},"6a1e":function(t,e,i){},"6cb1":function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return a})),i.d(e,"a",(function(){}));var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("view",{staticClass:t._$s(0,"sc","uni-popup-dialog"),attrs:{_i:0}},[i("view",{staticClass:t._$s(1,"sc","uni-dialog-title"),attrs:{_i:1}},[i("text",{staticClass:t._$s(2,"sc","uni-dialog-title-text"),class:t._$s(2,"c",["uni-popup__"+t.dialogType]),attrs:{_i:2}},[t._v(t._$s(2,"t0-0",t._s(t.titleText)))])]),t._$s(3,"i","base"===t.mode)?i("view",{staticClass:t._$s(3,"sc","uni-dialog-content"),attrs:{_i:3}},[t._t("default",[i("text",{staticClass:t._$s(5,"sc","uni-dialog-content-text"),attrs:{_i:5}},[t._v(t._$s(5,"t0-0",t._s(t.content)))])],{_i:4})],2):i("view",{staticClass:t._$s(6,"sc","uni-dialog-content"),attrs:{_i:6}},[t._t("default",[i("input",{directives:[{name:"model",rawName:"v-model",value:t.val,expression:"val"}],staticClass:t._$s(8,"sc","uni-dialog-input"),attrs:{placeholder:t._$s(8,"a-placeholder",t.placeholderText),focus:t._$s(8,"a-focus",t.focus),_i:8},domProps:{value:t._$s(8,"v-model",t.val)},on:{input:function(e){e.target.composing||(t.val=e.target.value)}}})],{_i:7})],2),i("view",{staticClass:t._$s(9,"sc","uni-dialog-button-group"),attrs:{_i:9}},[i("view",{staticClass:t._$s(10,"sc","uni-dialog-button"),attrs:{_i:10},on:{click:t.closeDialog}},[i("text",{staticClass:t._$s(11,"sc","uni-dialog-button-text"),attrs:{_i:11}},[t._v(t._$s(11,"t0-0",t._s(t.closeText)))])]),i("view",{staticClass:t._$s(12,"sc","uni-dialog-button uni-border-left"),attrs:{_i:12},on:{click:t.onOk}},[i("text",{staticClass:t._$s(13,"sc","uni-dialog-button-text uni-button-color"),attrs:{_i:13}},[t._v(t._$s(13,"t0-0",t._s(t.okText)))])])])])},a=[]},"6f0f":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={name:"loading6",data:function(){return{}}}},7172:function(t,e){t.exports=function(t,e){var i=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=i){var n,a,r,o,s=[],c=!0,l=!1;try{if(r=(i=i.call(t)).next,0===e){if(Object(i)!==i)return;c=!1}else for(;!(c=(n=r.call(i)).done)&&(s.push(n.value),s.length!==e);c=!0);}catch(t){l=!0,a=t}finally{try{if(!c&&null!=i["return"]&&(o=i["return"](),Object(o)!==o))return}finally{if(l)throw a}}return s}},t.exports.__esModule=!0,t.exports["default"]=t.exports},7543:function(t,e,i){"use strict";i.r(e);var n=i("d2a0"),a=i.n(n);for(var r in n)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(r);e["default"]=a.a},7584:function(t,e,i){t.exports=i.p+"static/b1.png"},7647:function(t,e){function i(e,n){return t.exports=i=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},t.exports.__esModule=!0,t.exports["default"]=t.exports,i(e,n)}t.exports=i,t.exports.__esModule=!0,t.exports["default"]=t.exports},7996:function(t,e,i){"use strict";i.r(e);var n=i("0477"),a=i("9399");for(var r in a)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(r);var o=i("828b"),s=Object(o["a"])(a["default"],n["b"],n["c"],!1,null,"f4e86178",null,!1,n["a"],void 0);e["default"]=s.exports},"7b82":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={name:"loading5",data:function(){return{}}}},"7b96":function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return a})),i.d(e,"a",(function(){}));var n=function(){var t=this.$createElement,e=this._self._c||t;return e("view",{staticClass:this._$s(0,"sc","container"),attrs:{_i:0}})},a=[]},"7c9c":function(t,e,i){"use strict";i.r(e);var n=i("21fd"),a=i.n(n);for(var r in n)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(r);e["default"]=a.a},"7ca3":function(t,e,i){var n=i("d551");t.exports=function(t,e,i){return e=n(e),e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t},t.exports.__esModule=!0,t.exports["default"]=t.exports},"7ce1":function(t,e,i){var n=i("b4d2"),a=i("7647"),r=i("4965"),o=i("931d");function s(e){var i="function"===typeof Map?new Map:void 0;return t.exports=s=function(t){if(null===t||!r(t))return t;if("function"!==typeof t)throw new TypeError("Super expression must either be null or a function");if("undefined"!==typeof i){if(i.has(t))return i.get(t);i.set(t,e)}function e(){return o(t,arguments,n(this).constructor)}return e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),a(e,t)},t.exports.__esModule=!0,t.exports["default"]=t.exports,s(e)}t.exports=s,t.exports.__esModule=!0,t.exports["default"]=t.exports},"7d36":function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return a})),i.d(e,"a",(function(){}));var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("view",[i("button",{staticClass:t._$s(1,"sc","clear"),attrs:{_i:1},on:{click:t.clearUrl}}),t._$s(2,"i",""!=t.data)?i("web-view",{attrs:{src:t._$s(2,"a-src",t.data),_i:2}}):t._e(),t._$s(3,"i",""==t.data)?i("view",{attrs:{_i:3}},[i("input",{directives:[{name:"model",rawName:"v-model",value:t.url,expression:"url"}],attrs:{_i:4},domProps:{value:t._$s(4,"v-model",t.url)},on:{input:function(e){e.target.composing||(t.url=e.target.value)}}}),i("button",{attrs:{_i:5},on:{click:t.setUrl}})]):t._e()])},a=[]},"828b":function(t,e,i){"use strict";function n(t,e,i,n,a,r,o,s,c,l){var u,h="function"===typeof t?t.options:t;if(c){h.components||(h.components={});var d=Object.prototype.hasOwnProperty;for(var f in c)d.call(c,f)&&!d.call(h.components,f)&&(h.components[f]=c[f])}if(l&&("function"===typeof l.beforeCreate&&(l.beforeCreate=[l.beforeCreate]),(l.beforeCreate||(l.beforeCreate=[])).unshift((function(){this[l.__module]=this})),(h.mixins||(h.mixins=[])).push(l)),e&&(h.render=e,h.staticRenderFns=i,h._compiled=!0),n&&(h.functional=!0),r&&(h._scopeId="data-v-"+r),o?(u=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"===typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),a&&a.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(o)},h._ssrRegister=u):a&&(u=s?function(){a.call(this,this.$root.$options.shadowRoot)}:a),u)if(h.functional){h._injectStyles=u;var p=h.render;h.render=function(t,e){return u.call(e),p(t,e)}}else{var g=h.beforeCreate;h.beforeCreate=g?[].concat(g,u):[u]}return{exports:t,options:h}}i.d(e,"a",(function(){return n}))},8325:function(t,e,i){"use strict";i.r(e);var n=i("ee34"),a=i("3d72");for(var r in a)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(r);var o=i("828b"),s=Object(o["a"])(a["default"],n["b"],n["c"],!1,null,"4606611e",null,!1,n["a"],void 0);e["default"]=s.exports},"858a":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={name:"loading1",data:function(){return{}}}},"861b":function(t,e,i){"use strict";(function(t,n){var a=i("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.uniCloud=e.default=e.UniCloudError=void 0;var r=a(i("127e")),o=a(i("3352")),s=a(i("34cf")),c=a(i("3b2d")),l=a(i("af34")),u=a(i("ee10")),h=a(i("7ca3")),d=a(i("8ffa")),f=a(i("4ffb")),p=a(i("b4d2")),g=a(i("7ce1")),v=a(i("67ad")),m=a(i("0bdb")),x=a(i("451d"));function y(t,e){var i="undefined"!==typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!i){if(Array.isArray(t)||(i=function(t,e){if(!t)return;if("string"===typeof t)return _(t,e);var i=Object.prototype.toString.call(t).slice(8,-1);"Object"===i&&t.constructor&&(i=t.constructor.name);if("Map"===i||"Set"===i)return Array.from(t);if("Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return _(t,e)}(t))||e&&t&&"number"===typeof t.length){i&&(t=i);var n=0,a=function(){};return{s:a,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var r,o=!0,s=!1;return{s:function(){i=i.call(t)},n:function(){var t=i.next();return o=t.done,t},e:function(t){s=!0,r=t},f:function(){try{o||null==i.return||i.return()}finally{if(s)throw r}}}}function _(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,n=new Array(e);i<e;i++)n[i]=t[i];return n}function b(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.push.apply(i,n)}return i}function w(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?b(Object(i),!0).forEach((function(e){(0,h.default)(t,e,i[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):b(Object(i)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))}))}return t}function S(t){var e=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var i,n=(0,p.default)(t);if(e){var a=(0,p.default)(this).constructor;i=Reflect.construct(n,arguments,a)}else i=n.apply(this,arguments);return(0,f.default)(this,i)}}function k(t,e,i){return t(i={path:e,exports:{},require:function(t,e){return function(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}(null==e&&i.path)}},i.exports),i.exports}"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof t||"undefined"!=typeof self&&self;var C=k((function(t,e){var i;t.exports=(i=i||function(t,e){var i=Object.create||function(){function t(){}return function(e){var i;return t.prototype=e,i=new t,t.prototype=null,i}}(),n={},a=n.lib={},r=a.Base={extend:function(t){var e=i(this);return t&&e.mixIn(t),e.hasOwnProperty("init")&&this.init!==e.init||(e.init=function(){e.$super.init.apply(this,arguments)}),e.init.prototype=e,e.$super=this,e},create:function(){var t=this.extend();return t.init.apply(t,arguments),t},init:function(){},mixIn:function(t){for(var e in t)t.hasOwnProperty(e)&&(this[e]=t[e]);t.hasOwnProperty("toString")&&(this.toString=t.toString)},clone:function(){return this.init.prototype.extend(this)}},o=a.WordArray=r.extend({init:function(t,e){t=this.words=t||[],this.sigBytes=void 0!=e?e:4*t.length},toString:function(t){return(t||c).stringify(this)},concat:function(t){var e=this.words,i=t.words,n=this.sigBytes,a=t.sigBytes;if(this.clamp(),n%4)for(var r=0;r<a;r++){var o=i[r>>>2]>>>24-r%4*8&255;e[n+r>>>2]|=o<<24-(n+r)%4*8}else for(r=0;r<a;r+=4)e[n+r>>>2]=i[r>>>2];return this.sigBytes+=a,this},clamp:function(){var e=this.words,i=this.sigBytes;e[i>>>2]&=4294967295<<32-i%4*8,e.length=t.ceil(i/4)},clone:function(){var t=r.clone.call(this);return t.words=this.words.slice(0),t},random:function(e){for(var i,n=[],a=function(e){var i=987654321,n=4294967295;return function(){var a=((i=36969*(65535&i)+(i>>16)&n)<<16)+(e=18e3*(65535&e)+(e>>16)&n)&n;return a/=4294967296,(a+=.5)*(t.random()>.5?1:-1)}},r=0;r<e;r+=4){var s=a(4294967296*(i||t.random()));i=987654071*s(),n.push(4294967296*s()|0)}return new o.init(n,e)}}),s=n.enc={},c=s.Hex={stringify:function(t){for(var e=t.words,i=t.sigBytes,n=[],a=0;a<i;a++){var r=e[a>>>2]>>>24-a%4*8&255;n.push((r>>>4).toString(16)),n.push((15&r).toString(16))}return n.join("")},parse:function(t){for(var e=t.length,i=[],n=0;n<e;n+=2)i[n>>>3]|=parseInt(t.substr(n,2),16)<<24-n%8*4;return new o.init(i,e/2)}},l=s.Latin1={stringify:function(t){for(var e=t.words,i=t.sigBytes,n=[],a=0;a<i;a++){var r=e[a>>>2]>>>24-a%4*8&255;n.push(String.fromCharCode(r))}return n.join("")},parse:function(t){for(var e=t.length,i=[],n=0;n<e;n++)i[n>>>2]|=(255&t.charCodeAt(n))<<24-n%4*8;return new o.init(i,e)}},u=s.Utf8={stringify:function(t){try{return decodeURIComponent(escape(l.stringify(t)))}catch(t){throw new Error("Malformed UTF-8 data")}},parse:function(t){return l.parse(unescape(encodeURIComponent(t)))}},h=a.BufferedBlockAlgorithm=r.extend({reset:function(){this._data=new o.init,this._nDataBytes=0},_append:function(t){"string"==typeof t&&(t=u.parse(t)),this._data.concat(t),this._nDataBytes+=t.sigBytes},_process:function(e){var i=this._data,n=i.words,a=i.sigBytes,r=this.blockSize,s=a/(4*r),c=(s=e?t.ceil(s):t.max((0|s)-this._minBufferSize,0))*r,l=t.min(4*c,a);if(c){for(var u=0;u<c;u+=r)this._doProcessBlock(n,u);var h=n.splice(0,c);i.sigBytes-=l}return new o.init(h,l)},clone:function(){var t=r.clone.call(this);return t._data=this._data.clone(),t},_minBufferSize:0});a.Hasher=h.extend({cfg:r.extend(),init:function(t){this.cfg=this.cfg.extend(t),this.reset()},reset:function(){h.reset.call(this),this._doReset()},update:function(t){return this._append(t),this._process(),this},finalize:function(t){return t&&this._append(t),this._doFinalize()},blockSize:16,_createHelper:function(t){return function(e,i){return new t.init(i).finalize(e)}},_createHmacHelper:function(t){return function(e,i){return new d.HMAC.init(t,i).finalize(e)}}});var d=n.algo={};return n}(Math),i)})),T=C,P=(k((function(t,e){var i;t.exports=(i=T,function(t){var e=i,n=e.lib,a=n.WordArray,r=n.Hasher,o=e.algo,s=[];!function(){for(var e=0;e<64;e++)s[e]=4294967296*t.abs(t.sin(e+1))|0}();var c=o.MD5=r.extend({_doReset:function(){this._hash=new a.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(t,e){for(var i=0;i<16;i++){var n=e+i,a=t[n];t[n]=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8)}var r=this._hash.words,o=t[e+0],c=t[e+1],f=t[e+2],p=t[e+3],g=t[e+4],v=t[e+5],m=t[e+6],x=t[e+7],y=t[e+8],_=t[e+9],b=t[e+10],w=t[e+11],S=t[e+12],k=t[e+13],C=t[e+14],T=t[e+15],P=r[0],A=r[1],O=r[2],L=r[3];P=l(P,A,O,L,o,7,s[0]),L=l(L,P,A,O,c,12,s[1]),O=l(O,L,P,A,f,17,s[2]),A=l(A,O,L,P,p,22,s[3]),P=l(P,A,O,L,g,7,s[4]),L=l(L,P,A,O,v,12,s[5]),O=l(O,L,P,A,m,17,s[6]),A=l(A,O,L,P,x,22,s[7]),P=l(P,A,O,L,y,7,s[8]),L=l(L,P,A,O,_,12,s[9]),O=l(O,L,P,A,b,17,s[10]),A=l(A,O,L,P,w,22,s[11]),P=l(P,A,O,L,S,7,s[12]),L=l(L,P,A,O,k,12,s[13]),O=l(O,L,P,A,C,17,s[14]),P=u(P,A=l(A,O,L,P,T,22,s[15]),O,L,c,5,s[16]),L=u(L,P,A,O,m,9,s[17]),O=u(O,L,P,A,w,14,s[18]),A=u(A,O,L,P,o,20,s[19]),P=u(P,A,O,L,v,5,s[20]),L=u(L,P,A,O,b,9,s[21]),O=u(O,L,P,A,T,14,s[22]),A=u(A,O,L,P,g,20,s[23]),P=u(P,A,O,L,_,5,s[24]),L=u(L,P,A,O,C,9,s[25]),O=u(O,L,P,A,p,14,s[26]),A=u(A,O,L,P,y,20,s[27]),P=u(P,A,O,L,k,5,s[28]),L=u(L,P,A,O,f,9,s[29]),O=u(O,L,P,A,x,14,s[30]),P=h(P,A=u(A,O,L,P,S,20,s[31]),O,L,v,4,s[32]),L=h(L,P,A,O,y,11,s[33]),O=h(O,L,P,A,w,16,s[34]),A=h(A,O,L,P,C,23,s[35]),P=h(P,A,O,L,c,4,s[36]),L=h(L,P,A,O,g,11,s[37]),O=h(O,L,P,A,x,16,s[38]),A=h(A,O,L,P,b,23,s[39]),P=h(P,A,O,L,k,4,s[40]),L=h(L,P,A,O,o,11,s[41]),O=h(O,L,P,A,p,16,s[42]),A=h(A,O,L,P,m,23,s[43]),P=h(P,A,O,L,_,4,s[44]),L=h(L,P,A,O,S,11,s[45]),O=h(O,L,P,A,T,16,s[46]),P=d(P,A=h(A,O,L,P,f,23,s[47]),O,L,o,6,s[48]),L=d(L,P,A,O,x,10,s[49]),O=d(O,L,P,A,C,15,s[50]),A=d(A,O,L,P,v,21,s[51]),P=d(P,A,O,L,S,6,s[52]),L=d(L,P,A,O,p,10,s[53]),O=d(O,L,P,A,b,15,s[54]),A=d(A,O,L,P,c,21,s[55]),P=d(P,A,O,L,y,6,s[56]),L=d(L,P,A,O,T,10,s[57]),O=d(O,L,P,A,m,15,s[58]),A=d(A,O,L,P,k,21,s[59]),P=d(P,A,O,L,g,6,s[60]),L=d(L,P,A,O,w,10,s[61]),O=d(O,L,P,A,f,15,s[62]),A=d(A,O,L,P,_,21,s[63]),r[0]=r[0]+P|0,r[1]=r[1]+A|0,r[2]=r[2]+O|0,r[3]=r[3]+L|0},_doFinalize:function(){var e=this._data,i=e.words,n=8*this._nDataBytes,a=8*e.sigBytes;i[a>>>5]|=128<<24-a%32;var r=t.floor(n/4294967296),o=n;i[15+(a+64>>>9<<4)]=16711935&(r<<8|r>>>24)|4278255360&(r<<24|r>>>8),i[14+(a+64>>>9<<4)]=16711935&(o<<8|o>>>24)|4278255360&(o<<24|o>>>8),e.sigBytes=4*(i.length+1),this._process();for(var s=this._hash,c=s.words,l=0;l<4;l++){var u=c[l];c[l]=16711935&(u<<8|u>>>24)|4278255360&(u<<24|u>>>8)}return s},clone:function(){var t=r.clone.call(this);return t._hash=this._hash.clone(),t}});function l(t,e,i,n,a,r,o){var s=t+(e&i|~e&n)+a+o;return(s<<r|s>>>32-r)+e}function u(t,e,i,n,a,r,o){var s=t+(e&n|i&~n)+a+o;return(s<<r|s>>>32-r)+e}function h(t,e,i,n,a,r,o){var s=t+(e^i^n)+a+o;return(s<<r|s>>>32-r)+e}function d(t,e,i,n,a,r,o){var s=t+(i^(e|~n))+a+o;return(s<<r|s>>>32-r)+e}e.MD5=r._createHelper(c),e.HmacMD5=r._createHmacHelper(c)}(Math),i.MD5)})),k((function(t,e){var i;t.exports=(i=T,void function(){var t=i,e=t.lib.Base,n=t.enc.Utf8;t.algo.HMAC=e.extend({init:function(t,e){t=this._hasher=new t.init,"string"==typeof e&&(e=n.parse(e));var i=t.blockSize,a=4*i;e.sigBytes>a&&(e=t.finalize(e)),e.clamp();for(var r=this._oKey=e.clone(),o=this._iKey=e.clone(),s=r.words,c=o.words,l=0;l<i;l++)s[l]^=1549556828,c[l]^=909522486;r.sigBytes=o.sigBytes=a,this.reset()},reset:function(){var t=this._hasher;t.reset(),t.update(this._iKey)},update:function(t){return this._hasher.update(t),this},finalize:function(t){var e=this._hasher,i=e.finalize(t);return e.reset(),e.finalize(this._oKey.clone().concat(i))}})}())})),k((function(t,e){t.exports=T.HmacMD5}))),A=k((function(t,e){t.exports=T.enc.Utf8})),O=k((function(t,e){var i;t.exports=(i=T,function(){var t=i,e=t.lib.WordArray;function n(t,i,n){for(var a=[],r=0,o=0;o<i;o++)if(o%4){var s=n[t.charCodeAt(o-1)]<<o%4*2,c=n[t.charCodeAt(o)]>>>6-o%4*2;a[r>>>2]|=(s|c)<<24-r%4*8,r++}return e.create(a,r)}t.enc.Base64={stringify:function(t){var e=t.words,i=t.sigBytes,n=this._map;t.clamp();for(var a=[],r=0;r<i;r+=3)for(var o=(e[r>>>2]>>>24-r%4*8&255)<<16|(e[r+1>>>2]>>>24-(r+1)%4*8&255)<<8|e[r+2>>>2]>>>24-(r+2)%4*8&255,s=0;s<4&&r+.75*s<i;s++)a.push(n.charAt(o>>>6*(3-s)&63));var c=n.charAt(64);if(c)for(;a.length%4;)a.push(c);return a.join("")},parse:function(t){var e=t.length,i=this._map,a=this._reverseMap;if(!a){a=this._reverseMap=[];for(var r=0;r<i.length;r++)a[i.charCodeAt(r)]=r}var o=i.charAt(64);if(o){var s=t.indexOf(o);-1!==s&&(e=s)}return n(t,e,a)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="}}(),i.enc.Base64)})),L="uni_id_token",D="uni_id_token_expired",I={DEFAULT:"FUNCTION",FUNCTION:"FUNCTION",OBJECT:"OBJECT",CLIENT_DB:"CLIENT_DB"},M="pending",E="fulfilled",F="rejected";function $(t){return Object.prototype.toString.call(t).slice(8,-1).toLowerCase()}function R(t){return"object"===$(t)}function N(t){return"function"==typeof t}function j(t){return function(){try{return t.apply(t,arguments)}catch(t){console.error(t)}}}var U="REJECTED",B="NOT_PENDING",z=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=e.createPromise,n=e.retryRule,a=void 0===n?U:n;(0,v.default)(this,t),this.createPromise=i,this.status=null,this.promise=null,this.retryRule=a}return(0,m.default)(t,[{key:"needRetry",get:function(){if(!this.status)return!0;switch(this.retryRule){case U:return this.status===F;case B:return this.status!==M}}},{key:"exec",value:function(){var t=this;return this.needRetry?(this.status=M,this.promise=this.createPromise().then((function(e){return t.status=E,Promise.resolve(e)}),(function(e){return t.status=F,Promise.reject(e)})),this.promise):this.promise}}]),t}(),W=function(){function t(){(0,v.default)(this,t),this._callback={}}return(0,m.default)(t,[{key:"addListener",value:function(t,e){this._callback[t]||(this._callback[t]=[]),this._callback[t].push(e)}},{key:"on",value:function(t,e){return this.addListener(t,e)}},{key:"removeListener",value:function(t,e){if(!e)throw new Error('The "listener" argument must be of type function. Received undefined');var i=this._callback[t];if(i){var n=function(t,e){for(var i=t.length-1;i>=0;i--)if(t[i]===e)return i;return-1}(i,e);i.splice(n,1)}}},{key:"off",value:function(t,e){return this.removeListener(t,e)}},{key:"removeAllListener",value:function(t){delete this._callback[t]}},{key:"emit",value:function(t){for(var e=this._callback[t],i=arguments.length,n=new Array(i>1?i-1:0),a=1;a<i;a++)n[a-1]=arguments[a];if(e)for(var r=0;r<e.length;r++)e[r].apply(e,n)}}]),t}();function q(t){return t&&"string"==typeof t?JSON.parse(t):t}var H=q([]),G="app",J=(q(void 0),q([])||[]);try{(i("6620").default||i("6620")).appid}catch(kn){}var V,K={};function X(t){var e,i,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return e=K,i=t,Object.prototype.hasOwnProperty.call(e,i)||(K[t]=n),K[t]}"app"===G&&(K=uni._globalUniCloudObj?uni._globalUniCloudObj:uni._globalUniCloudObj={});var Y=["invoke","success","fail","complete"],Q=X("_globalUniCloudInterceptor");function Z(t,e){Q[t]||(Q[t]={}),R(e)&&Object.keys(e).forEach((function(i){Y.indexOf(i)>-1&&function(t,e,i){var n=Q[t][e];n||(n=Q[t][e]=[]),-1===n.indexOf(i)&&N(i)&&n.push(i)}(t,i,e[i])}))}function tt(t,e){Q[t]||(Q[t]={}),R(e)?Object.keys(e).forEach((function(i){Y.indexOf(i)>-1&&function(t,e,i){var n=Q[t][e];if(n){var a=n.indexOf(i);a>-1&&n.splice(a,1)}}(t,i,e[i])})):delete Q[t]}function et(t,e){return t&&0!==t.length?t.reduce((function(t,i){return t.then((function(){return i(e)}))}),Promise.resolve()):Promise.resolve()}function it(t,e){return Q[t]&&Q[t][e]||[]}function nt(t){Z("callObject",t)}var at=X("_globalUniCloudListener"),rt={RESPONSE:"response",NEED_LOGIN:"needLogin",REFRESH_TOKEN:"refreshToken"},ot={CLIENT_DB:"clientdb",CLOUD_FUNCTION:"cloudfunction",CLOUD_OBJECT:"cloudobject"};function st(t){return at[t]||(at[t]=[]),at[t]}function ct(t,e){var i=st(t);i.includes(e)||i.push(e)}function lt(t,e){var i=st(t),n=i.indexOf(e);-1!==n&&i.splice(n,1)}function ut(t,e){for(var i=st(t),n=0;n<i.length;n++)(0,i[n])(e)}var ht,dt=!1;function ft(){return ht||(ht=new Promise((function(t){dt&&t(),function e(){if("function"==typeof getCurrentPages){var i=getCurrentPages();i&&i[0]&&(dt=!0,t())}dt||setTimeout((function(){e()}),30)}()})),ht)}function pt(t){var e={};for(var i in t){var n=t[i];N(n)&&(e[i]=j(n))}return e}var gt=function(t){(0,d.default)(i,t);var e=S(i);function i(t){var n;return(0,v.default)(this,i),n=e.call(this,t.message),n.errMsg=t.message||t.errMsg||"unknown system error",n.code=n.errCode=t.code||t.errCode||"SYSTEM_ERROR",n.errSubject=n.subject=t.subject||t.errSubject,n.cause=t.cause,n.requestId=t.requestId,n}return(0,m.default)(i,[{key:"toJson",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;if(!(t>=10))return t++,{errCode:this.errCode,errMsg:this.errMsg,errSubject:this.errSubject,cause:this.cause&&this.cause.toJson?this.cause.toJson(t):this.cause}}}]),i}((0,g.default)(Error));e.UniCloudError=gt;var vt,mt,xt={request:function(t){return uni.request(t)},uploadFile:function(t){return uni.uploadFile(t)},setStorageSync:function(t,e){return uni.setStorageSync(t,e)},getStorageSync:function(t){return uni.getStorageSync(t)},removeStorageSync:function(t){return uni.removeStorageSync(t)},clearStorageSync:function(){return uni.clearStorageSync()},connectSocket:function(t){return uni.connectSocket(t)}};function yt(){return{token:xt.getStorageSync(L)||xt.getStorageSync("uniIdToken"),tokenExpired:xt.getStorageSync(D)}}function _t(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.token,i=t.tokenExpired;e&&xt.setStorageSync(L,e),i&&xt.setStorageSync(D,i)}function bt(){return vt||(vt=uni.getSystemInfoSync()),vt}var wt={};function St(){var t=uni.getLocale&&uni.getLocale()||"en";if(mt)return w(w(w({},wt),mt),{},{locale:t,LOCALE:t});var e=bt(),i=e.deviceId,n=e.osName,a=e.uniPlatform,r=e.appId,o=["appId","appLanguage","appName","appVersion","appVersionCode","appWgtVersion","browserName","browserVersion","deviceBrand","deviceId","deviceModel","deviceType","osName","osVersion","romName","romVersion","ua","hostName","hostVersion","uniPlatform","uniRuntimeVersion","uniRuntimeVersionCode","uniCompilerVersion","uniCompilerVersionCode"];for(var s in e)Object.hasOwnProperty.call(e,s)&&-1===o.indexOf(s)&&delete e[s];return mt=w(w({PLATFORM:a,OS:n,APPID:r,DEVICEID:i},function(){var t,e;try{if(uni.getLaunchOptionsSync){if(uni.getLaunchOptionsSync.toString().indexOf("not yet implemented")>-1)return;var i=uni.getLaunchOptionsSync(),n=i.scene,a=i.channel;t=a,e=n}}catch(t){}return{channel:t,scene:e}}()),e),w(w(w({},wt),mt),{},{locale:t,LOCALE:t})}var kt,Ct={sign:function(t,e){var i="";return Object.keys(t).sort().forEach((function(e){t[e]&&(i=i+"&"+e+"="+t[e])})),i=i.slice(1),P(i,e).toString()},wrappedRequest:function(t,e){return new Promise((function(i,n){e(Object.assign(t,{complete:function(t){t||(t={});var e=t.data&&t.data.header&&t.data.header["x-serverless-request-id"]||t.header&&t.header["request-id"];if(!t.statusCode||t.statusCode>=400){var a=t.data&&t.data.error&&t.data.error.code||"SYS_ERR",r=t.data&&t.data.error&&t.data.error.message||t.errMsg||"request:fail";return n(new gt({code:a,message:r,requestId:e}))}var o=t.data;if(o.error)return n(new gt({code:o.error.code,message:o.error.message,requestId:e}));o.result=o.data,o.requestId=e,delete o.data,i(o)}}))}))},toBase64:function(t){return O.stringify(A.parse(t))}},Tt=function(){function t(e){var i=this;(0,v.default)(this,t),["spaceId","clientSecret"].forEach((function(t){if(!Object.prototype.hasOwnProperty.call(e,t))throw new Error("".concat(t," required"))})),this.config=Object.assign({},{endpoint:0===e.spaceId.indexOf("mp-")?"https://api.next.bspapp.com":"https://api.bspapp.com"},e),this.config.provider="aliyun",this.config.requestUrl=this.config.endpoint+"/client",this.config.envType=this.config.envType||"public",this.config.accessTokenKey="access_token_"+this.config.spaceId,this.adapter=xt,this._getAccessTokenPromiseHub=new z({createPromise:function(){return i.requestAuth(i.setupRequest({method:"serverless.auth.user.anonymousAuthorize",params:"{}"},"auth")).then((function(t){if(!t.result||!t.result.accessToken)throw new gt({code:"AUTH_FAILED",message:"\u83b7\u53d6accessToken\u5931\u8d25"});i.setAccessToken(t.result.accessToken)}))},retryRule:B})}return(0,m.default)(t,[{key:"hasAccessToken",get:function(){return!!this.accessToken}},{key:"setAccessToken",value:function(t){this.accessToken=t}},{key:"requestWrapped",value:function(t){return Ct.wrappedRequest(t,this.adapter.request)}},{key:"requestAuth",value:function(t){return this.requestWrapped(t)}},{key:"request",value:function(t,e){var i=this;return Promise.resolve().then((function(){return i.hasAccessToken?e?i.requestWrapped(t):i.requestWrapped(t).catch((function(e){return new Promise((function(t,i){!e||"GATEWAY_INVALID_TOKEN"!==e.code&&"InvalidParameter.InvalidToken"!==e.code?i(e):t()})).then((function(){return i.getAccessToken()})).then((function(){var e=i.rebuildRequest(t);return i.request(e,!0)}))})):i.getAccessToken().then((function(){var e=i.rebuildRequest(t);return i.request(e,!0)}))}))}},{key:"rebuildRequest",value:function(t){var e=Object.assign({},t);return e.data.token=this.accessToken,e.header["x-basement-token"]=this.accessToken,e.header["x-serverless-sign"]=Ct.sign(e.data,this.config.clientSecret),e}},{key:"setupRequest",value:function(t,e){var i=Object.assign({},t,{spaceId:this.config.spaceId,timestamp:Date.now()}),n={"Content-Type":"application/json"};return"auth"!==e&&(i.token=this.accessToken,n["x-basement-token"]=this.accessToken),n["x-serverless-sign"]=Ct.sign(i,this.config.clientSecret),{url:this.config.requestUrl,method:"POST",data:i,dataType:"json",header:n}}},{key:"getAccessToken",value:function(){return this._getAccessTokenPromiseHub.exec()}},{key:"authorize",value:function(){var t=(0,u.default)(r.default.mark((function t(){return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,this.getAccessToken();case 2:case"end":return t.stop()}}),t,this)})));return function(){return t.apply(this,arguments)}}()},{key:"callFunction",value:function(t){var e={method:"serverless.function.runtime.invoke",params:JSON.stringify({functionTarget:t.name,functionArgs:t.data||{}})};return this.request(w(w({},this.setupRequest(e)),{},{timeout:t.timeout}))}},{key:"getOSSUploadOptionsFromPath",value:function(t){var e={method:"serverless.file.resource.generateProximalSign",params:JSON.stringify(t)};return this.request(this.setupRequest(e))}},{key:"uploadFileToOSS",value:function(t){var e=this,i=t.url,n=t.formData,a=t.name,r=t.filePath,o=t.fileType,s=t.onUploadProgress;return new Promise((function(t,c){var l=e.adapter.uploadFile({url:i,formData:n,name:a,filePath:r,fileType:o,header:{"X-OSS-server-side-encrpytion":"AES256"},success:function(e){e&&e.statusCode<400?t(e):c(new gt({code:"UPLOAD_FAILED",message:"\u6587\u4ef6\u4e0a\u4f20\u5931\u8d25"}))},fail:function(t){c(new gt({code:t.code||"UPLOAD_FAILED",message:t.message||t.errMsg||"\u6587\u4ef6\u4e0a\u4f20\u5931\u8d25"}))}});"function"==typeof s&&l&&"function"==typeof l.onProgressUpdate&&l.onProgressUpdate((function(t){s({loaded:t.totalBytesSent,total:t.totalBytesExpectedToSend})}))}))}},{key:"reportOSSUpload",value:function(t){var e={method:"serverless.file.resource.report",params:JSON.stringify(t)};return this.request(this.setupRequest(e))}},{key:"uploadFile",value:function(){var t=(0,u.default)(r.default.mark((function t(e){var i,n,a,o,s,c,l,u,h,d,f,p,g,v,m,x,y,_,b,w,S,k;return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(i=e.filePath,n=e.cloudPath,a=e.fileType,o=void 0===a?"image":a,s=e.cloudPathAsRealPath,c=void 0!==s&&s,l=e.onUploadProgress,u=e.config,"string"===$(n)){t.next=3;break}throw new gt({code:"INVALID_PARAM",message:"cloudPath\u5fc5\u987b\u4e3a\u5b57\u7b26\u4e32\u7c7b\u578b"});case 3:if(n=n.trim()){t.next=5;break}throw new gt({code:"INVALID_PARAM",message:"cloudPath\u4e0d\u53ef\u4e3a\u7a7a"});case 5:if(!/:\/\//.test(n)){t.next=7;break}throw new gt({code:"INVALID_PARAM",message:"cloudPath\u4e0d\u5408\u6cd5"});case 7:if(h=u&&u.envType||this.config.envType,!(c&&("/"!==n[0]&&(n="/"+n),n.indexOf("\\")>-1))){t.next=10;break}throw new gt({code:"INVALID_PARAM",message:"\u4f7f\u7528cloudPath\u4f5c\u4e3a\u8def\u5f84\u65f6\uff0ccloudPath\u4e0d\u53ef\u5305\u542b\u201c\\\u201d"});case 10:return t.next=12,this.getOSSUploadOptionsFromPath({env:h,filename:c?n.split("/").pop():n,fileId:c?n:void 0});case 12:return d=t.sent.result,f="https://"+d.cdnDomain+"/"+d.ossPath,p=d.securityToken,g=d.accessKeyId,v=d.signature,m=d.host,x=d.ossPath,y=d.id,_=d.policy,b=d.ossCallbackUrl,w={"Cache-Control":"max-age=2592000","Content-Disposition":"attachment",OSSAccessKeyId:g,Signature:v,host:m,id:y,key:x,policy:_,success_action_status:200},p&&(w["x-oss-security-token"]=p),b&&(S=JSON.stringify({callbackUrl:b,callbackBody:JSON.stringify({fileId:y,spaceId:this.config.spaceId}),callbackBodyType:"application/json"}),w.callback=Ct.toBase64(S)),k={url:"https://"+d.host,formData:w,fileName:"file",name:"file",filePath:i,fileType:o},t.next=27,this.uploadFileToOSS(Object.assign({},k,{onUploadProgress:l}));case 27:if(!b){t.next=29;break}return t.abrupt("return",{success:!0,filePath:i,fileID:f});case 29:return t.next=31,this.reportOSSUpload({id:y});case 31:if(!t.sent.success){t.next=33;break}return t.abrupt("return",{success:!0,filePath:i,fileID:f});case 33:throw new gt({code:"UPLOAD_FAILED",message:"\u6587\u4ef6\u4e0a\u4f20\u5931\u8d25"});case 34:case"end":return t.stop()}}),t,this)})));return function(e){return t.apply(this,arguments)}}()},{key:"getTempFileURL",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.fileList;return new Promise((function(t,i){Array.isArray(e)&&0!==e.length||i(new gt({code:"INVALID_PARAM",message:"fileList\u7684\u5143\u7d20\u5fc5\u987b\u662f\u975e\u7a7a\u7684\u5b57\u7b26\u4e32"})),t({fileList:e.map((function(t){return{fileID:t,tempFileURL:t}}))})}))}},{key:"getFileInfo",value:function(){var t=(0,u.default)(r.default.mark((function t(){var e,i,n,a=arguments;return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(e=a.length>0&&void 0!==a[0]?a[0]:{},i=e.fileList,Array.isArray(i)&&0!==i.length){t.next=3;break}throw new gt({code:"INVALID_PARAM",message:"fileList\u7684\u5143\u7d20\u5fc5\u987b\u662f\u975e\u7a7a\u7684\u5b57\u7b26\u4e32"});case 3:return n={method:"serverless.file.resource.info",params:JSON.stringify({id:i.map((function(t){return t.split("?")[0]})).join(",")})},t.next=6,this.request(this.setupRequest(n));case 6:return t.t0=t.sent.result,t.abrupt("return",{fileList:t.t0});case 8:case"end":return t.stop()}}),t,this)})));return function(){return t.apply(this,arguments)}}()}]),t}(),Pt={init:function(t){var e=new Tt(t),i={signInAnonymously:function(){return e.authorize()},getLoginState:function(){return Promise.resolve(!1)}};return e.auth=function(){return i},e.customAuth=e.auth,e}},At="undefined"!=typeof location&&"http:"===location.protocol?"http:":"https:";!function(t){t.local="local",t.none="none",t.session="session"}(kt||(kt={}));var Ot,Lt=function(){},Dt=k((function(t,e){var i;t.exports=(i=T,function(t){var e=i,n=e.lib,a=n.WordArray,r=n.Hasher,o=e.algo,s=[],c=[];!function(){function e(e){for(var i=t.sqrt(e),n=2;n<=i;n++)if(!(e%n))return!1;return!0}function i(t){return 4294967296*(t-(0|t))|0}for(var n=2,a=0;a<64;)e(n)&&(a<8&&(s[a]=i(t.pow(n,.5))),c[a]=i(t.pow(n,1/3)),a++),n++}();var l=[],u=o.SHA256=r.extend({_doReset:function(){this._hash=new a.init(s.slice(0))},_doProcessBlock:function(t,e){for(var i=this._hash.words,n=i[0],a=i[1],r=i[2],o=i[3],s=i[4],u=i[5],h=i[6],d=i[7],f=0;f<64;f++){if(f<16)l[f]=0|t[e+f];else{var p=l[f-15],g=(p<<25|p>>>7)^(p<<14|p>>>18)^p>>>3,v=l[f-2],m=(v<<15|v>>>17)^(v<<13|v>>>19)^v>>>10;l[f]=g+l[f-7]+m+l[f-16]}var x=n&a^n&r^a&r,y=(n<<30|n>>>2)^(n<<19|n>>>13)^(n<<10|n>>>22),_=d+((s<<26|s>>>6)^(s<<21|s>>>11)^(s<<7|s>>>25))+(s&u^~s&h)+c[f]+l[f];d=h,h=u,u=s,s=o+_|0,o=r,r=a,a=n,n=_+(y+x)|0}i[0]=i[0]+n|0,i[1]=i[1]+a|0,i[2]=i[2]+r|0,i[3]=i[3]+o|0,i[4]=i[4]+s|0,i[5]=i[5]+u|0,i[6]=i[6]+h|0,i[7]=i[7]+d|0},_doFinalize:function(){var e=this._data,i=e.words,n=8*this._nDataBytes,a=8*e.sigBytes;return i[a>>>5]|=128<<24-a%32,i[14+(a+64>>>9<<4)]=t.floor(n/4294967296),i[15+(a+64>>>9<<4)]=n,e.sigBytes=4*i.length,this._process(),this._hash},clone:function(){var t=r.clone.call(this);return t._hash=this._hash.clone(),t}});e.SHA256=r._createHelper(u),e.HmacSHA256=r._createHmacHelper(u)}(Math),i.SHA256)})),It=Dt,Mt=k((function(t,e){t.exports=T.HmacSHA256})),Et=function(){var t;if(!Promise){t=function(){},t.promise={};var e=function(){throw new gt({message:'Your Node runtime does support ES6 Promises. Set "global.Promise" to your preferred implementation of promises.'})};return Object.defineProperty(t.promise,"then",{get:e}),Object.defineProperty(t.promise,"catch",{get:e}),t}var i=new Promise((function(e,i){t=function(t,n){return t?i(t):e(n)}}));return t.promise=i,t};function Ft(t){return void 0===t}function $t(t){return"[object Null]"===Object.prototype.toString.call(t)}function Rt(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return t.replace(/([\s\S]+)\s+(\u8bf7\u524d\u5f80\u4e91\u5f00\u53d1AI\u5c0f\u52a9\u624b\u67e5\u770b\u95ee\u9898\uff1a.*)/,"$1")}function Nt(){for(var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:32,e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",i="",n=0;n<t;n++)i+=e.charAt(Math.floor(62*Math.random()));return i}!function(t){t.WEB="web",t.WX_MP="wx_mp"}(Ot||(Ot={}));var jt={adapter:null,runtime:void 0},Ut=["anonymousUuidKey"],Bt=function(t){(0,d.default)(i,t);var e=S(i);function i(){var t;return(0,v.default)(this,i),t=e.call(this),jt.adapter.root.tcbObject||(jt.adapter.root.tcbObject={}),t}return(0,m.default)(i,[{key:"setItem",value:function(t,e){jt.adapter.root.tcbObject[t]=e}},{key:"getItem",value:function(t){return jt.adapter.root.tcbObject[t]}},{key:"removeItem",value:function(t){delete jt.adapter.root.tcbObject[t]}},{key:"clear",value:function(){delete jt.adapter.root.tcbObject}}]),i}(Lt);function zt(t,e){switch(t){case"local":return e.localStorage||new Bt;case"none":return new Bt;default:return e.sessionStorage||new Bt}}var Wt=function(){function t(e){if((0,v.default)(this,t),!this._storage){this._persistence=jt.adapter.primaryStorage||e.persistence,this._storage=zt(this._persistence,jt.adapter);var i="access_token_".concat(e.env),n="access_token_expire_".concat(e.env),a="refresh_token_".concat(e.env),r="anonymous_uuid_".concat(e.env),o="login_type_".concat(e.env),s="token_type_".concat(e.env),c="user_info_".concat(e.env);this.keys={accessTokenKey:i,accessTokenExpireKey:n,refreshTokenKey:a,anonymousUuidKey:r,loginTypeKey:o,userInfoKey:c,deviceIdKey:"device_id",tokenTypeKey:s}}}return(0,m.default)(t,[{key:"updatePersistence",value:function(t){if(t!==this._persistence){var e="local"===this._persistence;this._persistence=t;var i=zt(t,jt.adapter);for(var n in this.keys){var a=this.keys[n];if(!e||!Ut.includes(n)){var r=this._storage.getItem(a);Ft(r)||$t(r)||(i.setItem(a,r),this._storage.removeItem(a))}}this._storage=i}}},{key:"setStore",value:function(t,e,i){if(this._storage){var n={version:i||"localCachev1",content:e},a=JSON.stringify(n);try{this._storage.setItem(t,a)}catch(t){throw t}}}},{key:"getStore",value:function(t,e){try{if(!this._storage)return}catch(t){return""}e=e||"localCachev1";var i=this._storage.getItem(t);return i&&i.indexOf(e)>=0?JSON.parse(i).content:""}},{key:"removeStore",value:function(t){this._storage.removeItem(t)}}]),t}(),qt={},Ht={};function Gt(t){return qt[t]}var Jt=(0,m.default)((function t(e,i){(0,v.default)(this,t),this.data=i||null,this.name=e})),Vt=function(t){(0,d.default)(i,t);var e=S(i);function i(t,n){var a;return(0,v.default)(this,i),a=e.call(this,"error",{error:t,data:n}),a.error=t,a}return(0,m.default)(i)}(Jt),Kt=new(function(){function t(){(0,v.default)(this,t),this._listeners={}}return(0,m.default)(t,[{key:"on",value:function(t,e){return function(t,e,i){i[t]=i[t]||[],i[t].push(e)}(t,e,this._listeners),this}},{key:"off",value:function(t,e){return function(t,e,i){if(i&&i[t]){var n=i[t].indexOf(e);-1!==n&&i[t].splice(n,1)}}(t,e,this._listeners),this}},{key:"fire",value:function(t,e){if(t instanceof Vt)return console.error(t.error),this;var i="string"==typeof t?new Jt(t,e||{}):t,n=i.name;if(this._listens(n)){i.target=this;var a,r=this._listeners[n]?(0,l.default)(this._listeners[n]):[],o=y(r);try{for(o.s();!(a=o.n()).done;){var s=a.value;s.call(this,i)}}catch(c){o.e(c)}finally{o.f()}}return this}},{key:"_listens",value:function(t){return this._listeners[t]&&this._listeners[t].length>0}}]),t}());function Xt(t,e){Kt.on(t,e)}function Yt(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};Kt.fire(t,e)}function Qt(t,e){Kt.off(t,e)}var Zt,te="loginStateChanged",ee="loginStateExpire",ie="loginTypeChanged",ne="anonymousConverted",ae="refreshAccessToken";!function(t){t.ANONYMOUS="ANONYMOUS",t.WECHAT="WECHAT",t.WECHAT_PUBLIC="WECHAT-PUBLIC",t.WECHAT_OPEN="WECHAT-OPEN",t.CUSTOM="CUSTOM",t.EMAIL="EMAIL",t.USERNAME="USERNAME",t.NULL="NULL"}(Zt||(Zt={}));var re=function(){function t(){(0,v.default)(this,t),this._fnPromiseMap=new Map}return(0,m.default)(t,[{key:"run",value:function(){var t=(0,u.default)(r.default.mark((function t(e,i){var n,a=this;return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return n=this._fnPromiseMap.get(e),t.abrupt("return",(n||(n=new Promise(function(){var t=(0,u.default)(r.default.mark((function t(n,o){var s;return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,a._runIdlePromise();case 3:return s=i(),t.t0=n,t.next=7,s;case 7:t.t1=t.sent,(0,t.t0)(t.t1),t.next=14;break;case 11:t.prev=11,t.t2=t["catch"](0),o(t.t2);case 14:return t.prev=14,a._fnPromiseMap.delete(e),t.finish(14);case 17:case"end":return t.stop()}}),t,null,[[0,11,14,17]])})));return function(e,i){return t.apply(this,arguments)}}()),this._fnPromiseMap.set(e,n)),n));case 2:case"end":return t.stop()}}),t,this)})));return function(e,i){return t.apply(this,arguments)}}()},{key:"_runIdlePromise",value:function(){return Promise.resolve()}}]),t}(),oe=function(){function t(e){(0,v.default)(this,t),this._singlePromise=new re,this._cache=Gt(e.env),this._baseURL="https://".concat(e.env,".ap-shanghai.tcb-api.tencentcloudapi.com"),this._reqClass=new jt.adapter.reqClass({timeout:e.timeout,timeoutMsg:"\u8bf7\u6c42\u5728".concat(e.timeout/1e3,"s\u5185\u672a\u5b8c\u6210\uff0c\u5df2\u4e2d\u65ad"),restrictedMethods:["post"]})}return(0,m.default)(t,[{key:"_getDeviceId",value:function(){if(this._deviceID)return this._deviceID;var t=this._cache.keys.deviceIdKey,e=this._cache.getStore(t);return"string"==typeof e&&e.length>=16&&e.length<=48||(e=Nt(),this._cache.setStore(t,e)),this._deviceID=e,e}},{key:"_request",value:function(){var t=(0,u.default)(r.default.mark((function t(e,i){var n,a,o,s,c,l=arguments;return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(n=l.length>2&&void 0!==l[2]?l[2]:{},a={"x-request-id":Nt(),"x-device-id":this._getDeviceId()},!n.withAccessToken){t.next=9;break}return o=this._cache.keys.tokenTypeKey,t.next=6,this.getAccessToken();case 6:s=t.sent,c=this._cache.getStore(o),a.authorization="".concat(c," ").concat(s);case 9:return t.abrupt("return",this._reqClass["get"===n.method?"get":"post"]({url:"".concat(this._baseURL).concat(e),data:i,headers:a}));case 10:case"end":return t.stop()}}),t,this)})));return function(e,i){return t.apply(this,arguments)}}()},{key:"_fetchAccessToken",value:function(){var t=(0,u.default)(r.default.mark((function t(){var e,i,n,a,o,s,c,l,h,d,f=this;return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(e=this._cache.keys,i=e.loginTypeKey,n=e.accessTokenKey,a=e.accessTokenExpireKey,o=e.tokenTypeKey,s=this._cache.getStore(i),!s||s===Zt.ANONYMOUS){t.next=3;break}throw new gt({code:"INVALID_OPERATION",message:"\u975e\u533f\u540d\u767b\u5f55\u4e0d\u652f\u6301\u5237\u65b0 access token"});case 3:return t.next=5,this._singlePromise.run("fetchAccessToken",(0,u.default)(r.default.mark((function t(){return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,f._request("/auth/v1/signin/anonymously",{},{method:"post"});case 2:return t.abrupt("return",t.sent.data);case 3:case"end":return t.stop()}}),t)}))));case 5:return c=t.sent,l=c.access_token,h=c.expires_in,d=c.token_type,t.abrupt("return",(this._cache.setStore(o,d),this._cache.setStore(n,l),this._cache.setStore(a,Date.now()+1e3*h),l));case 10:case"end":return t.stop()}}),t,this)})));return function(){return t.apply(this,arguments)}}()},{key:"isAccessTokenExpired",value:function(t,e){var i=!0;return t&&e&&(i=e<Date.now()),i}},{key:"getAccessToken",value:function(){var t=(0,u.default)(r.default.mark((function t(){var e,i,n,a,o;return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return e=this._cache.keys,i=e.accessTokenKey,n=e.accessTokenExpireKey,a=this._cache.getStore(i),o=this._cache.getStore(n),t.abrupt("return",this.isAccessTokenExpired(a,o)?this._fetchAccessToken():a);case 2:case"end":return t.stop()}}),t,this)})));return function(){return t.apply(this,arguments)}}()},{key:"refreshAccessToken",value:function(){var t=(0,u.default)(r.default.mark((function t(){var e,i,n,a;return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return e=this._cache.keys,i=e.accessTokenKey,n=e.accessTokenExpireKey,a=e.loginTypeKey,t.abrupt("return",(this._cache.removeStore(i),this._cache.removeStore(n),this._cache.setStore(a,Zt.ANONYMOUS),this.getAccessToken()));case 2:case"end":return t.stop()}}),t,this)})));return function(){return t.apply(this,arguments)}}()},{key:"getUserInfo",value:function(){var t=(0,u.default)(r.default.mark((function t(){var e=this;return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.abrupt("return",this._singlePromise.run("getUserInfo",(0,u.default)(r.default.mark((function t(){return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,e._request("/auth/v1/user/me",{},{withAccessToken:!0,method:"get"});case 2:return t.abrupt("return",t.sent.data);case 3:case"end":return t.stop()}}),t)})))));case 1:case"end":return t.stop()}}),t,this)})));return function(){return t.apply(this,arguments)}}()}]),t}(),se=["auth.getJwt","auth.logout","auth.signInWithTicket","auth.signInAnonymously","auth.signIn","auth.fetchAccessTokenWithRefreshToken","auth.signUpWithEmailAndPassword","auth.activateEndUserMail","auth.sendPasswordResetEmail","auth.resetPasswordWithToken","auth.isUsernameRegistered"],ce={"X-SDK-Version":"1.3.5"};function le(t,e,i){var n=t[e];t[e]=function(e){var a={},r={};i.forEach((function(i){var n=i.call(t,e),o=n.data,s=n.headers;Object.assign(a,o),Object.assign(r,s)}));var o=e.data;return o&&function(){var t;if(t=o,"[object FormData]"!==Object.prototype.toString.call(t))e.data=w(w({},o),a);else for(var i in a)o.append(i,a[i])}(),e.headers=w(w({},e.headers||{}),r),n.call(t,e)}}function ue(){var t=Math.random().toString(16).slice(2);return{data:{seqId:t},headers:w(w({},ce),{},{"x-seqid":t})}}var he=function(){function t(){var e,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(0,v.default)(this,t),this.config=i,this._reqClass=new jt.adapter.reqClass({timeout:this.config.timeout,timeoutMsg:"\u8bf7\u6c42\u5728".concat(this.config.timeout/1e3,"s\u5185\u672a\u5b8c\u6210\uff0c\u5df2\u4e2d\u65ad"),restrictedMethods:["post"]}),this._cache=Gt(this.config.env),this._localCache=(e=this.config.env,Ht[e]),this.oauth=new oe(this.config),le(this._reqClass,"post",[ue]),le(this._reqClass,"upload",[ue]),le(this._reqClass,"download",[ue])}return(0,m.default)(t,[{key:"post",value:function(){var t=(0,u.default)(r.default.mark((function t(e){return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,this._reqClass.post(e);case 2:return t.abrupt("return",t.sent);case 3:case"end":return t.stop()}}),t,this)})));return function(e){return t.apply(this,arguments)}}()},{key:"upload",value:function(){var t=(0,u.default)(r.default.mark((function t(e){return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,this._reqClass.upload(e);case 2:return t.abrupt("return",t.sent);case 3:case"end":return t.stop()}}),t,this)})));return function(e){return t.apply(this,arguments)}}()},{key:"download",value:function(){var t=(0,u.default)(r.default.mark((function t(e){return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,this._reqClass.download(e);case 2:return t.abrupt("return",t.sent);case 3:case"end":return t.stop()}}),t,this)})));return function(e){return t.apply(this,arguments)}}()},{key:"refreshAccessToken",value:function(){var t=(0,u.default)(r.default.mark((function t(){var e,i;return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return this._refreshAccessTokenPromise||(this._refreshAccessTokenPromise=this._refreshAccessToken()),t.prev=1,t.next=4,this._refreshAccessTokenPromise;case 4:e=t.sent,t.next=10;break;case 7:t.prev=7,t.t0=t["catch"](1),i=t.t0;case 10:if(this._refreshAccessTokenPromise=null,this._shouldRefreshAccessTokenHook=null,!i){t.next=12;break}throw i;case 12:return t.abrupt("return",e);case 13:case"end":return t.stop()}}),t,this,[[1,7]])})));return function(){return t.apply(this,arguments)}}()},{key:"_refreshAccessToken",value:function(){var t=(0,u.default)(r.default.mark((function t(){var e,i,n,a,o,s,c,l,u,h,d,f,p;return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(e=this._cache.keys,i=e.accessTokenKey,n=e.accessTokenExpireKey,a=e.refreshTokenKey,o=e.loginTypeKey,s=e.anonymousUuidKey,this._cache.removeStore(i),this._cache.removeStore(n),c=this._cache.getStore(a),c){t.next=5;break}throw new gt({message:"\u672a\u767b\u5f55CloudBase"});case 5:return l={refresh_token:c},t.next=8,this.request("auth.fetchAccessTokenWithRefreshToken",l);case 8:if(u=t.sent,!u.data.code){t.next=21;break}if(h=u.data.code,"SIGN_PARAM_INVALID"!==h&&"REFRESH_TOKEN_EXPIRED"!==h&&"INVALID_REFRESH_TOKEN"!==h){t.next=20;break}if(this._cache.getStore(o)!==Zt.ANONYMOUS||"INVALID_REFRESH_TOKEN"!==h){t.next=19;break}return d=this._cache.getStore(s),f=this._cache.getStore(a),t.next=17,this.send("auth.signInAnonymously",{anonymous_uuid:d,refresh_token:f});case 17:return p=t.sent,t.abrupt("return",(this.setRefreshToken(p.refresh_token),this._refreshAccessToken()));case 19:Yt(ee),this._cache.removeStore(a);case 20:throw new gt({code:u.data.code,message:"\u5237\u65b0access token\u5931\u8d25\uff1a".concat(u.data.code)});case 21:if(!u.data.access_token){t.next=23;break}return t.abrupt("return",(Yt(ae),this._cache.setStore(i,u.data.access_token),this._cache.setStore(n,u.data.access_token_expire+Date.now()),{accessToken:u.data.access_token,accessTokenExpire:u.data.access_token_expire}));case 23:u.data.refresh_token&&(this._cache.removeStore(a),this._cache.setStore(a,u.data.refresh_token),this._refreshAccessToken());case 24:case"end":return t.stop()}}),t,this)})));return function(){return t.apply(this,arguments)}}()},{key:"getAccessToken",value:function(){var t=(0,u.default)(r.default.mark((function t(){var e,i,n,a,o,s,c;return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(e=this._cache.keys,i=e.accessTokenKey,n=e.accessTokenExpireKey,a=e.refreshTokenKey,this._cache.getStore(a)){t.next=3;break}throw new gt({message:"refresh token\u4e0d\u5b58\u5728\uff0c\u767b\u5f55\u72b6\u6001\u5f02\u5e38"});case 3:if(o=this._cache.getStore(i),s=this._cache.getStore(n),c=!0,t.t0=this._shouldRefreshAccessTokenHook,!t.t0){t.next=9;break}return t.next=8,this._shouldRefreshAccessTokenHook(o,s);case 8:t.t0=!t.sent;case 9:if(t.t1=t.t0,!t.t1){t.next=12;break}c=!1;case 12:return t.abrupt("return",(!o||!s||s<Date.now())&&c?this.refreshAccessToken():{accessToken:o,accessTokenExpire:s});case 13:case"end":return t.stop()}}),t,this)})));return function(){return t.apply(this,arguments)}}()},{key:"request",value:function(){var t=(0,u.default)(r.default.mark((function t(e,i,n){var a,o,s,c,l,u,h,d,f,p,g,v,m,x,y;return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(a="x-tcb-trace_".concat(this.config.env),o="application/x-www-form-urlencoded",s=w({action:e,env:this.config.env,dataVersion:"2019-08-16"},i),t.t0=-1===se.indexOf(e),!t.t0){t.next=9;break}return this._cache.keys,t.next=8,this.oauth.getAccessToken();case 8:s.access_token=t.sent;case 9:if("storage.uploadFile"!==e){t.next=15;break}for(l in c=new FormData,c)c.hasOwnProperty(l)&&void 0!==c[l]&&c.append(l,s[l]);o="multipart/form-data",t.next=17;break;case 15:for(u in o="application/json",c={},s)void 0!==s[u]&&(c[u]=s[u]);case 17:return h={headers:{"content-type":o}},n&&n.timeout&&(h.timeout=n.timeout),n&&n.onUploadProgress&&(h.onUploadProgress=n.onUploadProgress),d=this._localCache.getStore(a),d&&(h.headers["X-TCB-Trace"]=d),f=i.parse,p=i.inQuery,g=i.search,v={env:this.config.env},f&&(v.parse=!0),p&&(v=w(w({},p),v)),m=function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=/\?/.test(e),a="";for(var r in i)""===a?!n&&(e+="?"):a+="&",a+="".concat(r,"=").concat(encodeURIComponent(i[r]));return/^http(s)?\:\/\//.test(e+=a)?e:"".concat(t).concat(e)}(At,"//tcb-api.tencentcloudapi.com/web",v),g&&(m+=g),t.next=28,this.post(w({url:m,data:c},h));case 28:if(x=t.sent,y=x.header&&x.header["x-tcb-trace"],y&&this._localCache.setStore(a,y),(200===Number(x.status)||200===Number(x.statusCode))&&x.data){t.next=32;break}throw new gt({code:"NETWORK_ERROR",message:"network request error"});case 32:return t.abrupt("return",x);case 33:case"end":return t.stop()}}),t,this)})));return function(e,i,n){return t.apply(this,arguments)}}()},{key:"send",value:function(){var t=(0,u.default)(r.default.mark((function t(e){var i,n,a,o,s=arguments;return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return i=s.length>1&&void 0!==s[1]?s[1]:{},n=s.length>2&&void 0!==s[2]?s[2]:{},t.next=4,this.request(e,i,w(w({},n),{},{onUploadProgress:i.onUploadProgress}));case 4:if(a=t.sent,"ACCESS_TOKEN_DISABLED"!==a.data.code&&"ACCESS_TOKEN_EXPIRED"!==a.data.code||-1!==se.indexOf(e)){t.next=14;break}return t.next=8,this.oauth.refreshAccessToken();case 8:return t.next=10,this.request(e,i,w(w({},n),{},{onUploadProgress:i.onUploadProgress}));case 10:if(o=t.sent,!o.data.code){t.next=13;break}throw new gt({code:o.data.code,message:Rt(o.data.message)});case 13:return t.abrupt("return",o.data);case 14:if(!a.data.code){t.next=16;break}throw new gt({code:a.data.code,message:Rt(a.data.message)});case 16:return t.abrupt("return",a.data);case 17:case"end":return t.stop()}}),t,this)})));return function(e){return t.apply(this,arguments)}}()},{key:"setRefreshToken",value:function(t){var e=this._cache.keys,i=e.accessTokenKey,n=e.accessTokenExpireKey,a=e.refreshTokenKey;this._cache.removeStore(i),this._cache.removeStore(n),this._cache.setStore(a,t)}}]),t}(),de={};function fe(t){return de[t]}var pe=function(){function t(e){(0,v.default)(this,t),this.config=e,this._cache=Gt(e.env),this._request=fe(e.env)}return(0,m.default)(t,[{key:"setRefreshToken",value:function(t){var e=this._cache.keys,i=e.accessTokenKey,n=e.accessTokenExpireKey,a=e.refreshTokenKey;this._cache.removeStore(i),this._cache.removeStore(n),this._cache.setStore(a,t)}},{key:"setAccessToken",value:function(t,e){var i=this._cache.keys,n=i.accessTokenKey,a=i.accessTokenExpireKey;this._cache.setStore(n,t),this._cache.setStore(a,e)}},{key:"refreshUserInfo",value:function(){var t=(0,u.default)(r.default.mark((function t(){var e,i;return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,this._request.send("auth.getUserInfo",{});case 2:return e=t.sent,i=e.data,t.abrupt("return",(this.setLocalUserInfo(i),i));case 5:case"end":return t.stop()}}),t,this)})));return function(){return t.apply(this,arguments)}}()},{key:"setLocalUserInfo",value:function(t){var e=this._cache.keys.userInfoKey;this._cache.setStore(e,t)}}]),t}(),ge=function(){function t(e){if((0,v.default)(this,t),!e)throw new gt({code:"PARAM_ERROR",message:"envId is not defined"});this._envId=e,this._cache=Gt(this._envId),this._request=fe(this._envId),this.setUserInfo()}return(0,m.default)(t,[{key:"linkWithTicket",value:function(t){if("string"!=typeof t)throw new gt({code:"PARAM_ERROR",message:"ticket must be string"});return this._request.send("auth.linkWithTicket",{ticket:t})}},{key:"linkWithRedirect",value:function(t){t.signInWithRedirect()}},{key:"updatePassword",value:function(t,e){return this._request.send("auth.updatePassword",{oldPassword:e,newPassword:t})}},{key:"updateEmail",value:function(t){return this._request.send("auth.updateEmail",{newEmail:t})}},{key:"updateUsername",value:function(t){if("string"!=typeof t)throw new gt({code:"PARAM_ERROR",message:"username must be a string"});return this._request.send("auth.updateUsername",{username:t})}},{key:"getLinkedUidList",value:function(){var t=(0,u.default)(r.default.mark((function t(){var e,i,n,a;return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,this._request.send("auth.getLinkedUidList",{});case 2:return e=t.sent,i=e.data,n=!1,a=i.users,t.abrupt("return",(a.forEach((function(t){t.wxOpenId&&t.wxPublicId&&(n=!0)})),{users:a,hasPrimaryUid:n}));case 7:case"end":return t.stop()}}),t,this)})));return function(){return t.apply(this,arguments)}}()},{key:"setPrimaryUid",value:function(t){return this._request.send("auth.setPrimaryUid",{uid:t})}},{key:"unlink",value:function(t){return this._request.send("auth.unlink",{platform:t})}},{key:"update",value:function(){var t=(0,u.default)(r.default.mark((function t(e){var i,n,a,o,s,c,l,u;return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return i=e.nickName,n=e.gender,a=e.avatarUrl,o=e.province,s=e.country,c=e.city,t.next=8,this._request.send("auth.updateUserInfo",{nickName:i,gender:n,avatarUrl:a,province:o,country:s,city:c});case 8:l=t.sent,u=l.data,this.setLocalUserInfo(u);case 11:case"end":return t.stop()}}),t,this)})));return function(e){return t.apply(this,arguments)}}()},{key:"refresh",value:function(){var t=(0,u.default)(r.default.mark((function t(){var e;return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,this._request.oauth.getUserInfo();case 2:return e=t.sent,t.abrupt("return",(this.setLocalUserInfo(e),e));case 4:case"end":return t.stop()}}),t,this)})));return function(){return t.apply(this,arguments)}}()},{key:"setUserInfo",value:function(){var t=this,e=this._cache.keys.userInfoKey,i=this._cache.getStore(e);["uid","loginType","openid","wxOpenId","wxPublicId","unionId","qqMiniOpenId","email","hasPassword","customUserId","nickName","gender","avatarUrl"].forEach((function(e){t[e]=i[e]})),this.location={country:i.country,province:i.province,city:i.city}}},{key:"setLocalUserInfo",value:function(t){var e=this._cache.keys.userInfoKey;this._cache.setStore(e,t),this.setUserInfo()}}]),t}(),ve=function(){function t(e){if((0,v.default)(this,t),!e)throw new gt({code:"PARAM_ERROR",message:"envId is not defined"});this._cache=Gt(e);var i=this._cache.keys,n=i.refreshTokenKey,a=i.accessTokenKey,r=i.accessTokenExpireKey,o=this._cache.getStore(n),s=this._cache.getStore(a),c=this._cache.getStore(r);this.credential={refreshToken:o,accessToken:s,accessTokenExpire:c},this.user=new ge(e)}return(0,m.default)(t,[{key:"isAnonymousAuth",get:function(){return this.loginType===Zt.ANONYMOUS}},{key:"isCustomAuth",get:function(){return this.loginType===Zt.CUSTOM}},{key:"isWeixinAuth",get:function(){return this.loginType===Zt.WECHAT||this.loginType===Zt.WECHAT_OPEN||this.loginType===Zt.WECHAT_PUBLIC}},{key:"loginType",get:function(){return this._cache.getStore(this._cache.keys.loginTypeKey)}}]),t}(),me=function(t){(0,d.default)(i,t);var e=S(i);function i(){return(0,v.default)(this,i),e.apply(this,arguments)}return(0,m.default)(i,[{key:"signIn",value:function(){var t=(0,u.default)(r.default.mark((function t(){var e;return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return this._cache.updatePersistence("local"),t.next=3,this._request.oauth.getAccessToken();case 3:return Yt(te),Yt(ie,{env:this.config.env,loginType:Zt.ANONYMOUS,persistence:"local"}),e=new ve(this.config.env),t.next=8,e.user.refresh();case 8:return t.abrupt("return",e);case 9:case"end":return t.stop()}}),t,this)})));return function(){return t.apply(this,arguments)}}()},{key:"linkAndRetrieveDataWithTicket",value:function(){var t=(0,u.default)(r.default.mark((function t(e){var i,n,a,o,s,c;return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return i=this._cache.keys,n=i.anonymousUuidKey,a=i.refreshTokenKey,o=this._cache.getStore(n),s=this._cache.getStore(a),t.next=7,this._request.send("auth.linkAndRetrieveDataWithTicket",{anonymous_uuid:o,refresh_token:s,ticket:e});case 7:if(c=t.sent,!c.refresh_token){t.next=16;break}return this._clearAnonymousUUID(),this.setRefreshToken(c.refresh_token),t.next=13,this._request.refreshAccessToken();case 13:return Yt(ne,{env:this.config.env}),Yt(ie,{loginType:Zt.CUSTOM,persistence:"local"}),t.abrupt("return",{credential:{refreshToken:c.refresh_token}});case 16:throw new gt({message:"\u533f\u540d\u8f6c\u5316\u5931\u8d25"});case 17:case"end":return t.stop()}}),t,this)})));return function(e){return t.apply(this,arguments)}}()},{key:"_setAnonymousUUID",value:function(t){var e=this._cache.keys,i=e.anonymousUuidKey,n=e.loginTypeKey;this._cache.removeStore(i),this._cache.setStore(i,t),this._cache.setStore(n,Zt.ANONYMOUS)}},{key:"_clearAnonymousUUID",value:function(){this._cache.removeStore(this._cache.keys.anonymousUuidKey)}}]),i}(pe),xe=function(t){(0,d.default)(i,t);var e=S(i);function i(){return(0,v.default)(this,i),e.apply(this,arguments)}return(0,m.default)(i,[{key:"signIn",value:function(){var t=(0,u.default)(r.default.mark((function t(e){var i,n;return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if("string"==typeof e){t.next=2;break}throw new gt({code:"PARAM_ERROR",message:"ticket must be a string"});case 2:return i=this._cache.keys.refreshTokenKey,t.next=5,this._request.send("auth.signInWithTicket",{ticket:e,refresh_token:this._cache.getStore(i)||""});case 5:if(n=t.sent,!n.refresh_token){t.next=15;break}return this.setRefreshToken(n.refresh_token),t.next=10,this._request.refreshAccessToken();case 10:return Yt(te),Yt(ie,{env:this.config.env,loginType:Zt.CUSTOM,persistence:this.config.persistence}),t.next=14,this.refreshUserInfo();case 14:return t.abrupt("return",new ve(this.config.env));case 15:throw new gt({message:"\u81ea\u5b9a\u4e49\u767b\u5f55\u5931\u8d25"});case 16:case"end":return t.stop()}}),t,this)})));return function(e){return t.apply(this,arguments)}}()}]),i}(pe),ye=function(t){(0,d.default)(i,t);var e=S(i);function i(){return(0,v.default)(this,i),e.apply(this,arguments)}return(0,m.default)(i,[{key:"signIn",value:function(){var t=(0,u.default)(r.default.mark((function t(e,i){var n,a,o,s,c;return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if("string"==typeof e){t.next=2;break}throw new gt({code:"PARAM_ERROR",message:"email must be a string"});case 2:return n=this._cache.keys.refreshTokenKey,t.next=5,this._request.send("auth.signIn",{loginType:"EMAIL",email:e,password:i,refresh_token:this._cache.getStore(n)||""});case 5:if(a=t.sent,o=a.refresh_token,s=a.access_token,c=a.access_token_expire,!o){t.next=22;break}if(this.setRefreshToken(o),!s||!c){t.next=15;break}this.setAccessToken(s,c),t.next=17;break;case 15:return t.next=17,this._request.refreshAccessToken();case 17:return t.next=19,this.refreshUserInfo();case 19:return Yt(te),Yt(ie,{env:this.config.env,loginType:Zt.EMAIL,persistence:this.config.persistence}),t.abrupt("return",new ve(this.config.env));case 22:throw a.code?new gt({code:a.code,message:"\u90ae\u7bb1\u767b\u5f55\u5931\u8d25: ".concat(a.message)}):new gt({message:"\u90ae\u7bb1\u767b\u5f55\u5931\u8d25"});case 23:case"end":return t.stop()}}),t,this)})));return function(e,i){return t.apply(this,arguments)}}()},{key:"activate",value:function(){var t=(0,u.default)(r.default.mark((function t(e){return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.abrupt("return",this._request.send("auth.activateEndUserMail",{token:e}));case 1:case"end":return t.stop()}}),t,this)})));return function(e){return t.apply(this,arguments)}}()},{key:"resetPasswordWithToken",value:function(){var t=(0,u.default)(r.default.mark((function t(e,i){return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.abrupt("return",this._request.send("auth.resetPasswordWithToken",{token:e,newPassword:i}));case 1:case"end":return t.stop()}}),t,this)})));return function(e,i){return t.apply(this,arguments)}}()}]),i}(pe),_e=function(t){(0,d.default)(i,t);var e=S(i);function i(){return(0,v.default)(this,i),e.apply(this,arguments)}return(0,m.default)(i,[{key:"signIn",value:function(){var t=(0,u.default)(r.default.mark((function t(e,i){var n,a,o,s,c;return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if("string"==typeof e){t.next=2;break}throw new gt({code:"PARAM_ERROR",message:"username must be a string"});case 2:return"string"!=typeof i&&(i="",console.warn("password is empty")),n=this._cache.keys.refreshTokenKey,t.next=6,this._request.send("auth.signIn",{loginType:Zt.USERNAME,username:e,password:i,refresh_token:this._cache.getStore(n)||""});case 6:if(a=t.sent,o=a.refresh_token,s=a.access_token_expire,c=a.access_token,!o){t.next=23;break}if(this.setRefreshToken(o),!c||!s){t.next=16;break}this.setAccessToken(c,s),t.next=18;break;case 16:return t.next=18,this._request.refreshAccessToken();case 18:return t.next=20,this.refreshUserInfo();case 20:return Yt(te),Yt(ie,{env:this.config.env,loginType:Zt.USERNAME,persistence:this.config.persistence}),t.abrupt("return",new ve(this.config.env));case 23:throw a.code?new gt({code:a.code,message:"\u7528\u6237\u540d\u5bc6\u7801\u767b\u5f55\u5931\u8d25: ".concat(a.message)}):new gt({message:"\u7528\u6237\u540d\u5bc6\u7801\u767b\u5f55\u5931\u8d25"});case 24:case"end":return t.stop()}}),t,this)})));return function(e,i){return t.apply(this,arguments)}}()}]),i}(pe),be=function(){function t(e){(0,v.default)(this,t),this.config=e,this._cache=Gt(e.env),this._request=fe(e.env),this._onAnonymousConverted=this._onAnonymousConverted.bind(this),this._onLoginTypeChanged=this._onLoginTypeChanged.bind(this),Xt(ie,this._onLoginTypeChanged)}return(0,m.default)(t,[{key:"currentUser",get:function(){var t=this.hasLoginState();return t&&t.user||null}},{key:"loginType",get:function(){return this._cache.getStore(this._cache.keys.loginTypeKey)}},{key:"anonymousAuthProvider",value:function(){return new me(this.config)}},{key:"customAuthProvider",value:function(){return new xe(this.config)}},{key:"emailAuthProvider",value:function(){return new ye(this.config)}},{key:"usernameAuthProvider",value:function(){return new _e(this.config)}},{key:"signInAnonymously",value:function(){var t=(0,u.default)(r.default.mark((function t(){return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.abrupt("return",new me(this.config).signIn());case 1:case"end":return t.stop()}}),t,this)})));return function(){return t.apply(this,arguments)}}()},{key:"signInWithEmailAndPassword",value:function(){var t=(0,u.default)(r.default.mark((function t(e,i){return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.abrupt("return",new ye(this.config).signIn(e,i));case 1:case"end":return t.stop()}}),t,this)})));return function(e,i){return t.apply(this,arguments)}}()},{key:"signInWithUsernameAndPassword",value:function(t,e){return new _e(this.config).signIn(t,e)}},{key:"linkAndRetrieveDataWithTicket",value:function(){var t=(0,u.default)(r.default.mark((function t(e){return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return this._anonymousAuthProvider||(this._anonymousAuthProvider=new me(this.config)),Xt(ne,this._onAnonymousConverted),t.next=3,this._anonymousAuthProvider.linkAndRetrieveDataWithTicket(e);case 3:return t.abrupt("return",t.sent);case 4:case"end":return t.stop()}}),t,this)})));return function(e){return t.apply(this,arguments)}}()},{key:"signOut",value:function(){var t=(0,u.default)(r.default.mark((function t(){var e,i,n,a,o,s;return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(this.loginType!==Zt.ANONYMOUS){t.next=2;break}throw new gt({message:"\u533f\u540d\u7528\u6237\u4e0d\u652f\u6301\u767b\u51fa\u64cd\u4f5c"});case 2:if(e=this._cache.keys,i=e.refreshTokenKey,n=e.accessTokenKey,a=e.accessTokenExpireKey,o=this._cache.getStore(i),o){t.next=5;break}return t.abrupt("return");case 5:return t.next=7,this._request.send("auth.logout",{refresh_token:o});case 7:return s=t.sent,t.abrupt("return",(this._cache.removeStore(i),this._cache.removeStore(n),this._cache.removeStore(a),Yt(te),Yt(ie,{env:this.config.env,loginType:Zt.NULL,persistence:this.config.persistence}),s));case 9:case"end":return t.stop()}}),t,this)})));return function(){return t.apply(this,arguments)}}()},{key:"signUpWithEmailAndPassword",value:function(){var t=(0,u.default)(r.default.mark((function t(e,i){return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.abrupt("return",this._request.send("auth.signUpWithEmailAndPassword",{email:e,password:i}));case 1:case"end":return t.stop()}}),t,this)})));return function(e,i){return t.apply(this,arguments)}}()},{key:"sendPasswordResetEmail",value:function(){var t=(0,u.default)(r.default.mark((function t(e){return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.abrupt("return",this._request.send("auth.sendPasswordResetEmail",{email:e}));case 1:case"end":return t.stop()}}),t,this)})));return function(e){return t.apply(this,arguments)}}()},{key:"onLoginStateChanged",value:function(t){var e=this;Xt(te,(function(){var i=e.hasLoginState();t.call(e,i)}));var i=this.hasLoginState();t.call(this,i)}},{key:"onLoginStateExpired",value:function(t){Xt(ee,t.bind(this))}},{key:"onAccessTokenRefreshed",value:function(t){Xt(ae,t.bind(this))}},{key:"onAnonymousConverted",value:function(t){Xt(ne,t.bind(this))}},{key:"onLoginTypeChanged",value:function(t){var e=this;Xt(ie,(function(){var i=e.hasLoginState();t.call(e,i)}))}},{key:"getAccessToken",value:function(){var t=(0,u.default)(r.default.mark((function t(){return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,this._request.getAccessToken();case 2:return t.t0=t.sent.accessToken,t.t1=this.config.env,t.abrupt("return",{accessToken:t.t0,env:t.t1});case 5:case"end":return t.stop()}}),t,this)})));return function(){return t.apply(this,arguments)}}()},{key:"hasLoginState",value:function(){var t=this._cache.keys,e=t.accessTokenKey,i=t.accessTokenExpireKey,n=this._cache.getStore(e),a=this._cache.getStore(i);return this._request.oauth.isAccessTokenExpired(n,a)?null:new ve(this.config.env)}},{key:"isUsernameRegistered",value:function(){var t=(0,u.default)(r.default.mark((function t(e){var i,n;return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if("string"==typeof e){t.next=2;break}throw new gt({code:"PARAM_ERROR",message:"username must be a string"});case 2:return t.next=4,this._request.send("auth.isUsernameRegistered",{username:e});case 4:return i=t.sent,n=i.data,t.abrupt("return",n&&n.isRegistered);case 7:case"end":return t.stop()}}),t,this)})));return function(e){return t.apply(this,arguments)}}()},{key:"getLoginState",value:function(){return Promise.resolve(this.hasLoginState())}},{key:"signInWithTicket",value:function(){var t=(0,u.default)(r.default.mark((function t(e){return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.abrupt("return",new xe(this.config).signIn(e));case 1:case"end":return t.stop()}}),t,this)})));return function(e){return t.apply(this,arguments)}}()},{key:"shouldRefreshAccessToken",value:function(t){this._request._shouldRefreshAccessTokenHook=t.bind(this)}},{key:"getUserInfo",value:function(){return this._request.send("auth.getUserInfo",{}).then((function(t){return t.code?t:w(w({},t.data),{},{requestId:t.seqId})}))}},{key:"getAuthHeader",value:function(){var t=this._cache.keys,e=t.refreshTokenKey,i=t.accessTokenKey,n=this._cache.getStore(e);return{"x-cloudbase-credentials":this._cache.getStore(i)+"/@@/"+n}}},{key:"_onAnonymousConverted",value:function(t){var e=t.data.env;e===this.config.env&&this._cache.updatePersistence(this.config.persistence)}},{key:"_onLoginTypeChanged",value:function(t){var e=t.data,i=e.loginType,n=e.persistence,a=e.env;a===this.config.env&&(this._cache.updatePersistence(n),this._cache.setStore(this._cache.keys.loginTypeKey,i))}}]),t}(),we=function(t,e){e=e||Et();var i=fe(this.config.env),n=t.cloudPath,a=t.filePath,r=t.onUploadProgress,o=t.fileType,s=void 0===o?"image":o;return i.send("storage.getUploadMetadata",{path:n}).then((function(t){var o=t.data,c=o.url,l=o.authorization,u=o.token,h=o.fileId,d=o.cosFileId,f=t.requestId,p={key:n,signature:l,"x-cos-meta-fileid":d,success_action_status:"201","x-cos-security-token":u};i.upload({url:c,data:p,file:a,name:n,fileType:s,onUploadProgress:r}).then((function(t){201===t.statusCode?e(null,{fileID:h,requestId:f}):e(new gt({code:"STORAGE_REQUEST_FAIL",message:"STORAGE_REQUEST_FAIL: ".concat(t.data)}))})).catch((function(t){e(t)}))})).catch((function(t){e(t)})),e.promise},Se=function(t,e){e=e||Et();var i=fe(this.config.env),n=t.cloudPath;return i.send("storage.getUploadMetadata",{path:n}).then((function(t){e(null,t)})).catch((function(t){e(t)})),e.promise},ke=function(t,e){var i=t.fileList;if(e=e||Et(),!i||!Array.isArray(i))return{code:"INVALID_PARAM",message:"fileList\u5fc5\u987b\u662f\u975e\u7a7a\u7684\u6570\u7ec4"};var n,a=y(i);try{for(a.s();!(n=a.n()).done;){var r=n.value;if(!r||"string"!=typeof r)return{code:"INVALID_PARAM",message:"fileList\u7684\u5143\u7d20\u5fc5\u987b\u662f\u975e\u7a7a\u7684\u5b57\u7b26\u4e32"}}}catch(s){a.e(s)}finally{a.f()}var o={fileid_list:i};return fe(this.config.env).send("storage.batchDeleteFile",o).then((function(t){t.code?e(null,t):e(null,{fileList:t.data.delete_list,requestId:t.requestId})})).catch((function(t){e(t)})),e.promise},Ce=function(t,e){var i=t.fileList;e=e||Et(),i&&Array.isArray(i)||e(null,{code:"INVALID_PARAM",message:"fileList\u5fc5\u987b\u662f\u975e\u7a7a\u7684\u6570\u7ec4"});var n,a=[],r=y(i);try{for(r.s();!(n=r.n()).done;){var o=n.value;"object"==(0,c.default)(o)?(o.hasOwnProperty("fileID")&&o.hasOwnProperty("maxAge")||e(null,{code:"INVALID_PARAM",message:"fileList\u7684\u5143\u7d20\u5fc5\u987b\u662f\u5305\u542bfileID\u548cmaxAge\u7684\u5bf9\u8c61"}),a.push({fileid:o.fileID,max_age:o.maxAge})):"string"==typeof o?a.push({fileid:o}):e(null,{code:"INVALID_PARAM",message:"fileList\u7684\u5143\u7d20\u5fc5\u987b\u662f\u5b57\u7b26\u4e32"})}}catch(l){r.e(l)}finally{r.f()}var s={file_list:a};return fe(this.config.env).send("storage.batchGetDownloadUrl",s).then((function(t){t.code?e(null,t):e(null,{fileList:t.data.download_list,requestId:t.requestId})})).catch((function(t){e(t)})),e.promise},Te=function(){var t=(0,u.default)(r.default.mark((function t(e,i){var n,a,o,s;return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return n=e.fileID,t.next=3,Ce.call(this,{fileList:[{fileID:n,maxAge:600}]});case 3:if(a=t.sent.fileList[0],"SUCCESS"===a.code){t.next=6;break}return t.abrupt("return",i?i(a):new Promise((function(t){t(a)})));case 6:if(o=fe(this.config.env),s=a.download_url,s=encodeURI(s),i){t.next=10;break}return t.abrupt("return",o.download({url:s}));case 10:return t.t0=i,t.next=13,o.download({url:s});case 13:t.t1=t.sent,(0,t.t0)(t.t1);case 15:case"end":return t.stop()}}),t,this)})));return function(e,i){return t.apply(this,arguments)}}(),Pe=function(t,e){var i,n=t.name,a=t.data,r=t.query,o=t.parse,s=t.search,c=t.timeout,l=e||Et();try{i=a?JSON.stringify(a):""}catch(n){return Promise.reject(n)}if(!n)return Promise.reject(new gt({code:"PARAM_ERROR",message:"\u51fd\u6570\u540d\u4e0d\u80fd\u4e3a\u7a7a"}));var u={inQuery:r,parse:o,search:s,function_name:n,request_data:i};return fe(this.config.env).send("functions.invokeFunction",u,{timeout:c}).then((function(t){if(t.code)l(null,t);else{var e=t.data.response_data;if(o)l(null,{result:e,requestId:t.requestId});else try{e=JSON.parse(t.data.response_data),l(null,{result:e,requestId:t.requestId})}catch(t){l(new gt({message:"response data must be json"}))}}return l.promise})).catch((function(t){l(t)})),l.promise},Ae={timeout:15e3,persistence:"session"},Oe={},Le=function(){function t(e){(0,v.default)(this,t),this.config=e||this.config,this.authObj=void 0}return(0,m.default)(t,[{key:"init",value:function(e){switch(jt.adapter||(this.requestClient=new jt.adapter.reqClass({timeout:e.timeout||5e3,timeoutMsg:"\u8bf7\u6c42\u5728".concat((e.timeout||5e3)/1e3,"s\u5185\u672a\u5b8c\u6210\uff0c\u5df2\u4e2d\u65ad")})),this.config=w(w({},Ae),e),!0){case this.config.timeout>6e5:console.warn("timeout\u5927\u4e8e\u53ef\u914d\u7f6e\u4e0a\u9650[10\u5206\u949f]\uff0c\u5df2\u91cd\u7f6e\u4e3a\u4e0a\u9650\u6570\u503c"),this.config.timeout=6e5;break;case this.config.timeout<100:console.warn("timeout\u5c0f\u4e8e\u53ef\u914d\u7f6e\u4e0b\u9650[100ms]\uff0c\u5df2\u91cd\u7f6e\u4e3a\u4e0b\u9650\u6570\u503c"),this.config.timeout=100}return new t(this.config)}},{key:"auth",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.persistence;if(this.authObj)return this.authObj;var i,n=e||jt.adapter.primaryStorage||Ae.persistence;return n!==this.config.persistence&&(this.config.persistence=n),function(t){var e=t.env;qt[e]=new Wt(t),Ht[e]=new Wt(w(w({},t),{},{persistence:"local"}))}(this.config),i=this.config,de[i.env]=new he(i),this.authObj=new be(this.config),this.authObj}},{key:"on",value:function(t,e){return Xt.apply(this,[t,e])}},{key:"off",value:function(t,e){return Qt.apply(this,[t,e])}},{key:"callFunction",value:function(t,e){return Pe.apply(this,[t,e])}},{key:"deleteFile",value:function(t,e){return ke.apply(this,[t,e])}},{key:"getTempFileURL",value:function(t,e){return Ce.apply(this,[t,e])}},{key:"downloadFile",value:function(t,e){return Te.apply(this,[t,e])}},{key:"uploadFile",value:function(t,e){return we.apply(this,[t,e])}},{key:"getUploadMetadata",value:function(t,e){return Se.apply(this,[t,e])}},{key:"registerExtension",value:function(t){Oe[t.name]=t}},{key:"invokeExtension",value:function(){var t=(0,u.default)(r.default.mark((function t(e,i){var n;return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(n=Oe[e],n){t.next=3;break}throw new gt({message:"\u6269\u5c55".concat(e," \u5fc5\u987b\u5148\u6ce8\u518c")});case 3:return t.next=5,n.invoke(i,this);case 5:return t.abrupt("return",t.sent);case 6:case"end":return t.stop()}}),t,this)})));return function(e,i){return t.apply(this,arguments)}}()},{key:"useAdapters",value:function(t){var e=function(t){var e,i,n=(e=t,"[object Array]"===Object.prototype.toString.call(e)?t:[t]),a=y(n);try{for(a.s();!(i=a.n()).done;){var r=i.value,o=r.isMatch,s=r.genAdapter,c=r.runtime;if(o())return{adapter:s(),runtime:c}}}catch(l){a.e(l)}finally{a.f()}}(t)||{},i=e.adapter,n=e.runtime;i&&(jt.adapter=i),n&&(jt.runtime=n)}}]),t}(),De=new Le;function Ie(t,e,i){void 0===i&&(i={});var n=/\?/.test(e),a="";for(var r in i)""===a?!n&&(e+="?"):a+="&",a+=r+"="+encodeURIComponent(i[r]);return/^http(s)?:\/\//.test(e+=a)?e:""+t+e}var Me=function(){function t(){(0,v.default)(this,t)}return(0,m.default)(t,[{key:"get",value:function(t){var e=t.url,i=t.data,n=t.headers,a=t.timeout;return new Promise((function(t,r){xt.request({url:Ie("https:",e),data:i,method:"GET",header:n,timeout:a,success:function(e){t(e)},fail:function(t){r(t)}})}))}},{key:"post",value:function(t){var e=t.url,i=t.data,n=t.headers,a=t.timeout;return new Promise((function(t,r){xt.request({url:Ie("https:",e),data:i,method:"POST",header:n,timeout:a,success:function(e){t(e)},fail:function(t){r(t)}})}))}},{key:"upload",value:function(t){return new Promise((function(e,i){var n=t.url,a=t.file,r=t.data,o=t.headers,s=t.fileType,c=xt.uploadFile({url:Ie("https:",n),name:"file",formData:Object.assign({},r),filePath:a,fileType:s,header:o,success:function(t){var i={statusCode:t.statusCode,data:t.data||{}};200===t.statusCode&&r.success_action_status&&(i.statusCode=parseInt(r.success_action_status,10)),e(i)},fail:function(t){i(new Error(t.errMsg||"uploadFile:fail"))}});"function"==typeof t.onUploadProgress&&c&&"function"==typeof c.onProgressUpdate&&c.onProgressUpdate((function(e){t.onUploadProgress({loaded:e.totalBytesSent,total:e.totalBytesExpectedToSend})}))}))}}]),t}(),Ee={setItem:function(t,e){xt.setStorageSync(t,e)},getItem:function(t){return xt.getStorageSync(t)},removeItem:function(t){xt.removeStorageSync(t)},clear:function(){xt.clearStorageSync()}},Fe={genAdapter:function(){return{root:{},reqClass:Me,localStorage:Ee,primaryStorage:"local"}},isMatch:function(){return!0},runtime:"uni_app"};De.useAdapters(Fe);var $e=De,Re=$e.init;$e.init=function(t){t.env=t.spaceId;var e=Re.call(this,t);e.config.provider="tencent",e.config.spaceId=t.spaceId;var i=e.auth;return e.auth=function(t){var e=i.call(this,t);return["linkAndRetrieveDataWithTicket","signInAnonymously","signOut","getAccessToken","getLoginState","signInWithTicket","getUserInfo"].forEach((function(t){var i;e[t]=(i=e[t],function(t){t=t||{};var e=pt(t),n=e.success,a=e.fail,r=e.complete;if(!(n||a||r))return i.call(this,t);i.call(this,t).then((function(t){n&&n(t),r&&r(t)}),(function(t){a&&a(t),r&&r(t)}))}).bind(e)})),e},e.customAuth=e.auth,e};var Ne=$e;function je(t,e){return Ue.apply(this,arguments)}function Ue(){return Ue=(0,u.default)(r.default.mark((function t(e,i){var n,a,o;return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return n="http://".concat(e,":").concat(i,"/system/ping"),t.prev=1,t.next=4,o={url:n,timeout:500},new Promise((function(t,e){xt.request(w(w({},o),{},{success:function(e){t(e)},fail:function(t){e(t)}}))}));case 4:return a=t.sent,t.abrupt("return",!(!a.data||0!==a.data.code));case 8:return t.prev=8,t.t0=t["catch"](1),t.abrupt("return",!1);case 11:case"end":return t.stop()}}),t,null,[[1,8]])}))),Ue.apply(this,arguments)}function Be(t,e){return ze.apply(this,arguments)}function ze(){return ze=(0,u.default)(r.default.mark((function t(e,i){var n,a,o;return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:a=0;case 1:if(!(a<e.length)){t.next=11;break}return o=e[a],t.next=5,je(o,i);case 5:if(!t.sent){t.next=8;break}return n=o,t.abrupt("break",11);case 8:a++,t.next=1;break;case 11:return t.abrupt("return",{address:n,port:i});case 12:case"end":return t.stop()}}),t)}))),ze.apply(this,arguments)}var We={"serverless.file.resource.generateProximalSign":"storage/generate-proximal-sign","serverless.file.resource.report":"storage/report","serverless.file.resource.delete":"storage/delete","serverless.file.resource.getTempFileURL":"storage/get-temp-file-url"},qe=function(){function t(e){if((0,v.default)(this,t),["spaceId","clientSecret"].forEach((function(t){if(!Object.prototype.hasOwnProperty.call(e,t))throw new Error("".concat(t," required"))})),!e.endpoint)throw new Error("\u96c6\u7fa4\u7a7a\u95f4\u672a\u914d\u7f6eApiEndpoint\uff0c\u914d\u7f6e\u540e\u9700\u8981\u91cd\u65b0\u5173\u8054\u670d\u52a1\u7a7a\u95f4\u540e\u751f\u6548");this.config=Object.assign({},e),this.config.provider="dcloud",this.config.requestUrl=this.config.endpoint+"/client",this.config.envType=this.config.envType||"public",this.adapter=xt}return(0,m.default)(t,[{key:"request",value:function(){var t=(0,u.default)(r.default.mark((function t(e){var i,n=this,a=arguments;return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(!(a.length>1&&void 0!==a[1])||a[1],i=!1,!i){t.next=8;break}return t.next=5,this.setupLocalRequest(e);case 5:t.t0=t.sent,t.next=9;break;case 8:t.t0=this.setupRequest(e);case 9:return e=t.t0,t.abrupt("return",Promise.resolve().then((function(){return i?n.requestLocal(e):Ct.wrappedRequest(e,n.adapter.request)})));case 11:case"end":return t.stop()}}),t,this)})));return function(e){return t.apply(this,arguments)}}()},{key:"requestLocal",value:function(t){var e=this;return new Promise((function(i,n){e.adapter.request(Object.assign(t,{complete:function(t){if(t||(t={}),!t.statusCode||t.statusCode>=400){var e=t.data&&t.data.code||"SYS_ERR",a=t.data&&t.data.message||"request:fail";return n(new gt({code:e,message:a}))}i({success:!0,result:t.data})}}))}))}},{key:"setupRequest",value:function(t){var e=Object.assign({},t,{spaceId:this.config.spaceId,timestamp:Date.now()}),i={"Content-Type":"application/json"};i["x-serverless-sign"]=Ct.sign(e,this.config.clientSecret);var n=St();i["x-client-info"]=encodeURIComponent(JSON.stringify(n));var a=yt(),r=a.token;return i["x-client-token"]=r,{url:this.config.requestUrl,method:"POST",data:e,dataType:"json",header:JSON.parse(JSON.stringify(i))}}},{key:"setupLocalRequest",value:function(){var t=(0,u.default)(r.default.mark((function t(e){var i,n,a,o,s,c,l,u,h;return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return i=St(),n=yt(),a=n.token,o=Object.assign({},e,{spaceId:this.config.spaceId,timestamp:Date.now(),clientInfo:i,token:a}),s=this.__dev__&&this.__dev__.debugInfo||{},c=s.address,l=s.servePort,t.next=9,Be(c,l);case 9:return u=t.sent,h=u.address,t.abrupt("return",{url:"http://".concat(h,":").concat(l,"/").concat(We[e.method]),method:"POST",data:o,dataType:"json",header:JSON.parse(JSON.stringify({"Content-Type":"application/json"}))});case 12:case"end":return t.stop()}}),t,this)})));return function(e){return t.apply(this,arguments)}}()},{key:"callFunction",value:function(t){var e={method:"serverless.function.runtime.invoke",params:JSON.stringify({functionTarget:t.name,functionArgs:t.data||{}})};return this.request(e,!1)}},{key:"getUploadFileOptions",value:function(t){var e={method:"serverless.file.resource.generateProximalSign",params:JSON.stringify(t)};return this.request(e)}},{key:"reportUploadFile",value:function(t){var e={method:"serverless.file.resource.report",params:JSON.stringify(t)};return this.request(e)}},{key:"uploadFile",value:function(t){var e,i=this,n=t.filePath,a=t.cloudPath,r=t.fileType,o=void 0===r?"image":r,s=t.onUploadProgress;if(!a)throw new gt({code:"CLOUDPATH_REQUIRED",message:"cloudPath\u4e0d\u53ef\u4e3a\u7a7a"});return this.getUploadFileOptions({cloudPath:a}).then((function(t){var a=t.result,r=a.url,c=a.formData,l=a.name;return e=t.result.fileUrl,new Promise((function(t,e){var a=i.adapter.uploadFile({url:r,formData:c,name:l,filePath:n,fileType:o,success:function(i){i&&i.statusCode<400?t(i):e(new gt({code:"UPLOAD_FAILED",message:"\u6587\u4ef6\u4e0a\u4f20\u5931\u8d25"}))},fail:function(t){e(new gt({code:t.code||"UPLOAD_FAILED",message:t.message||t.errMsg||"\u6587\u4ef6\u4e0a\u4f20\u5931\u8d25"}))}});"function"==typeof s&&a&&"function"==typeof a.onProgressUpdate&&a.onProgressUpdate((function(t){s({loaded:t.totalBytesSent,total:t.totalBytesExpectedToSend})}))}))})).then((function(){return i.reportUploadFile({cloudPath:a})})).then((function(t){return new Promise((function(i,a){t.success?i({success:!0,filePath:n,fileID:e}):a(new gt({code:"UPLOAD_FAILED",message:"\u6587\u4ef6\u4e0a\u4f20\u5931\u8d25"}))}))}))}},{key:"deleteFile",value:function(t){var e=t.fileList,i={method:"serverless.file.resource.delete",params:JSON.stringify({fileList:e})};return this.request(i).then((function(t){if(t.success)return t.result;throw new gt({code:"DELETE_FILE_FAILED",message:"\u5220\u9664\u6587\u4ef6\u5931\u8d25"})}))}},{key:"getTempFileURL",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.fileList,i=t.maxAge;if(!Array.isArray(e)||0===e.length)throw new gt({code:"INVALID_PARAM",message:"fileList\u7684\u5143\u7d20\u5fc5\u987b\u662f\u975e\u7a7a\u7684\u5b57\u7b26\u4e32"});var n={method:"serverless.file.resource.getTempFileURL",params:JSON.stringify({fileList:e,maxAge:i})};return this.request(n).then((function(t){if(t.success)return{fileList:t.result.fileList.map((function(t){return{fileID:t.fileID,tempFileURL:t.tempFileURL}}))};throw new gt({code:"GET_TEMP_FILE_URL_FAILED",message:"\u83b7\u53d6\u4e34\u65f6\u6587\u4ef6\u94fe\u63a5\u5931\u8d25"})}))}}]),t}(),He={init:function(t){var e=new qe(t),i={signInAnonymously:function(){return Promise.resolve()},getLoginState:function(){return Promise.resolve(!1)}};return e.auth=function(){return i},e.customAuth=e.auth,e}},Ge=k((function(t,e){t.exports=T.enc.Hex}));function Je(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(t){var e=16*Math.random()|0;return("x"===t?e:3&e|8).toString(16)}))}function Ve(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=e.data,n=e.functionName,a=e.method,r=e.headers,o=e.signHeaderKeys,c=void 0===o?[]:o,l=e.config,u=String(Date.now()),h=Je(),d=Object.assign({},r,{"x-from-app-id":l.spaceAppId,"x-from-env-id":l.spaceId,"x-to-env-id":l.spaceId,"x-from-instance-id":u,"x-from-function-name":n,"x-client-timestamp":u,"x-alipay-source":"client","x-request-id":h,"x-alipay-callid":h,"x-trace-id":h}),f=["x-from-app-id","x-from-env-id","x-to-env-id","x-from-instance-id","x-from-function-name","x-client-timestamp"].concat(c),p=t.split("?")||[],g=(0,s.default)(p,2),v=g[0],m=void 0===v?"":v,x=g[1],y=void 0===x?"":x,_=function(t){var e="HMAC-SHA256",i=t.signedHeaders.join(";"),n=t.signedHeaders.map((function(e){return"".concat(e.toLowerCase(),":").concat(t.headers[e],"\n")})).join(""),a=It(t.body).toString(Ge),r="".concat(t.method.toUpperCase(),"\n").concat(t.path,"\n").concat(t.query,"\n").concat(n,"\n").concat(i,"\n").concat(a,"\n"),o=It(r).toString(Ge),s="".concat(e,"\n").concat(t.timestamp,"\n").concat(o,"\n"),c=Mt(s,t.secretKey).toString(Ge);return"".concat(e," Credential=").concat(t.secretId,", SignedHeaders=").concat(i,", Signature=").concat(c)}({path:m,query:y,method:a,headers:d,timestamp:u,body:JSON.stringify(i),secretId:l.accessKey,secretKey:l.secretKey,signedHeaders:f.sort()});return{url:"".concat(l.endpoint).concat(t),headers:Object.assign({},d,{Authorization:_})}}function Ke(t){var e=t.url,i=t.data,n=t.method,a=void 0===n?"POST":n,r=t.headers,o=void 0===r?{}:r,s=t.timeout;return new Promise((function(t,n){xt.request({url:e,method:a,data:"object"==(0,c.default)(i)?JSON.stringify(i):i,header:o,dataType:"json",timeout:s,complete:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=o["x-trace-id"]||"";if(!e.statusCode||e.statusCode>=400){var a=e.data||{},r=a.message,s=a.errMsg,c=a.trace_id;return n(new gt({code:"SYS_ERR",message:r||s||"request:fail",requestId:c||i}))}t({status:e.statusCode,data:e.data,headers:e.header,requestId:i})}})}))}function Xe(t,e){var i=t.path,n=t.data,a=t.method,r=void 0===a?"GET":a,o=Ve(i,{functionName:"",data:n,method:r,headers:{"x-alipay-cloud-mode":"oss","x-data-api-type":"oss","x-expire-timestamp":Date.now()+6e4},signHeaderKeys:["x-data-api-type","x-expire-timestamp"],config:e}),s=o.url,c=o.headers;return Ke({url:s,data:n,method:r,headers:c}).then((function(t){var e=t.data||{};if(!e.success)throw new gt({code:t.errCode,message:t.errMsg,requestId:t.requestId});return e.data||{}})).catch((function(t){throw new gt({code:t.errCode,message:t.errMsg,requestId:t.requestId})}))}function Ye(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=t.trim().replace(/^cloud:\/\//,""),i=e.indexOf("/");if(i<=0)throw new gt({code:"INVALID_PARAM",message:"fileID\u4e0d\u5408\u6cd5"});var n=e.substring(0,i),a=e.substring(i+1);return n!==this.config.spaceId&&console.warn("file ".concat(t," does not belong to env ").concat(this.config.spaceId)),a}function Qe(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return"cloud://".concat(this.config.spaceId,"/").concat(t.replace(/^\/+/,""))}var Ze=function(){function t(e){(0,v.default)(this,t),this.config=e}return(0,m.default)(t,[{key:"signedURL",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i="/ws/function/".concat(t),n=this.config.wsEndpoint.replace(/^ws(s)?:\/\//,""),a=Object.assign({},e,{accessKeyId:this.config.accessKey,signatureNonce:Je(),timestamp:""+Date.now()}),r=[i,["accessKeyId","authorization","signatureNonce","timestamp"].sort().map((function(t){return a[t]?"".concat(t,"=").concat(a[t]):null})).filter(Boolean).join("&"),"host:".concat(n)].join("\n"),o=["HMAC-SHA256",It(r).toString(Ge)].join("\n"),s=Mt(o,this.config.secretKey).toString(Ge),c=Object.keys(a).map((function(t){return"".concat(t,"=").concat(encodeURIComponent(a[t]))})).join("&");return"".concat(this.config.wsEndpoint).concat(i,"?").concat(c,"&signature=").concat(s)}}]),t}(),ti=function(){function t(e){if((0,v.default)(this,t),["spaceId","spaceAppId","accessKey","secretKey"].forEach((function(t){if(!Object.prototype.hasOwnProperty.call(e,t))throw new Error("".concat(t," required"))})),e.endpoint){if("string"!=typeof e.endpoint)throw new Error("endpoint must be string");if(!/^https:\/\//.test(e.endpoint))throw new Error("endpoint must start with https://");e.endpoint=e.endpoint.replace(/\/$/,"")}this.config=Object.assign({},e,{endpoint:e.endpoint||"https://".concat(e.spaceId,".api-hz.cloudbasefunction.cn"),wsEndpoint:e.wsEndpoint||"wss://".concat(e.spaceId,".api-hz.cloudbasefunction.cn")}),this._websocket=new Ze(this.config)}return(0,m.default)(t,[{key:"callFunction",value:function(t){return function(t,e){var i=t.name,n=t.data,a=t.async,r=void 0!==a&&a,o=t.timeout,s="POST",c={"x-to-function-name":i};r&&(c["x-function-invoke-type"]="async");var l=Ve("/functions/invokeFunction",{functionName:i,data:n,method:s,headers:c,signHeaderKeys:["x-to-function-name"],config:e}),u=l.url,h=l.headers;return Ke({url:u,data:n,method:s,headers:h,timeout:o}).then((function(t){var e=0;if(r){var i=t.data||{};e="200"===i.errCode?0:i.errCode,t.data=i.data||{},t.errMsg=i.errMsg}if(0!==e)throw new gt({code:e,message:t.errMsg,requestId:t.requestId});return{errCode:e,success:0===e,requestId:t.requestId,result:t.data}})).catch((function(t){throw new gt({code:t.errCode,message:t.errMsg,requestId:t.requestId})}))}(t,this.config)}},{key:"uploadFileToOSS",value:function(t){var e=t.url,i=t.filePath,n=t.fileType,a=t.formData,r=t.onUploadProgress;return new Promise((function(t,o){var s=xt.uploadFile({url:e,filePath:i,fileType:n,formData:a,name:"file",success:function(e){e&&e.statusCode<400?t(e):o(new gt({code:"UPLOAD_FAILED",message:"\u6587\u4ef6\u4e0a\u4f20\u5931\u8d25"}))},fail:function(t){o(new gt({code:t.code||"UPLOAD_FAILED",message:t.message||t.errMsg||"\u6587\u4ef6\u4e0a\u4f20\u5931\u8d25"}))}});"function"==typeof r&&s&&"function"==typeof s.onProgressUpdate&&s.onProgressUpdate((function(t){r({loaded:t.totalBytesSent,total:t.totalBytesExpectedToSend})}))}))}},{key:"uploadFile",value:function(){var t=(0,u.default)(r.default.mark((function t(e){var i,n,a,o,s,c,l,u,h,d,f;return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(i=e.filePath,n=e.cloudPath,a=void 0===n?"":n,o=e.fileType,s=void 0===o?"image":o,c=e.onUploadProgress,"string"===$(a)){t.next=3;break}throw new gt({code:"INVALID_PARAM",message:"cloudPath\u5fc5\u987b\u4e3a\u5b57\u7b26\u4e32\u7c7b\u578b"});case 3:if(a=a.trim()){t.next=5;break}throw new gt({code:"INVALID_PARAM",message:"cloudPath\u4e0d\u53ef\u4e3a\u7a7a"});case 5:if(!/:\/\//.test(a)){t.next=7;break}throw new gt({code:"INVALID_PARAM",message:"cloudPath\u4e0d\u5408\u6cd5"});case 7:return t.next=9,Xe({path:"/".concat(a.replace(/^\//,""),"?post_url")},this.config);case 9:return l=t.sent,u=l.file_id,h=l.upload_url,d=l.form_data,f=d&&d.reduce((function(t,e){return t[e.key]=e.value,t}),{}),t.abrupt("return",this.uploadFileToOSS({url:h,filePath:i,fileType:s,formData:f,onUploadProgress:c}).then((function(){return{fileID:u}})));case 15:case"end":return t.stop()}}),t,this)})));return function(e){return t.apply(this,arguments)}}()},{key:"getTempFileURL",value:function(){var t=(0,u.default)(r.default.mark((function t(e){var i,n=this;return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return i=e.fileList,t.abrupt("return",new Promise((function(t,e){(!i||i.length<0)&&t({code:"INVALID_PARAM",message:"fileList\u4e0d\u80fd\u4e3a\u7a7a\u6570\u7ec4"}),i.length>50&&t({code:"INVALID_PARAM",message:"fileList\u6570\u7ec4\u957f\u5ea6\u4e0d\u80fd\u8d85\u8fc750"});var a,r=[],o=y(i);try{for(o.s();!(a=o.n()).done;){var s=a.value,c=void 0;"string"!==$(s)&&t({code:"INVALID_PARAM",message:"fileList\u7684\u5143\u7d20\u5fc5\u987b\u662f\u975e\u7a7a\u7684\u5b57\u7b26\u4e32"});try{c=Ye.call(n,s)}catch(t){console.warn(t.errCode,t.errMsg),c=s}r.push({file_id:c,expire:600})}}catch(l){o.e(l)}finally{o.f()}Xe({path:"/?download_url",data:{file_list:r},method:"POST"},n.config).then((function(e){var i=e.file_list,a=void 0===i?[]:i;t({fileList:a.map((function(t){return{fileID:Qe.call(n,t.file_id),tempFileURL:t.download_url}}))})})).catch((function(t){return e(t)}))})));case 2:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()},{key:"connectWebSocket",value:function(){var t=(0,u.default)(r.default.mark((function t(e){var i,n;return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return i=e.name,n=e.query,t.abrupt("return",xt.connectSocket({url:this._websocket.signedURL(i,n),complete:function(){}}));case 2:case"end":return t.stop()}}),t,this)})));return function(e){return t.apply(this,arguments)}}()}]),t}(),ei={init:function(t){t.provider="alipay";var e=new ti(t);return e.auth=function(){return{signInAnonymously:function(){return Promise.resolve()},getLoginState:function(){return Promise.resolve(!0)}}},e}};function ii(t){var e,i=t.data;e=St();var n=JSON.parse(JSON.stringify(i||{}));if(Object.assign(n,{clientInfo:e}),!n.uniIdToken){var a=yt(),r=a.token;r&&(n.uniIdToken=r)}return n}var ni=[{rule:/fc_function_not_found|FUNCTION_NOT_FOUND/,content:"\uff0c\u4e91\u51fd\u6570[{functionName}]\u5728\u4e91\u7aef\u4e0d\u5b58\u5728\uff0c\u8bf7\u68c0\u67e5\u6b64\u4e91\u51fd\u6570\u540d\u79f0\u662f\u5426\u6b63\u786e\u4ee5\u53ca\u8be5\u4e91\u51fd\u6570\u662f\u5426\u5df2\u4e0a\u4f20\u5230\u670d\u52a1\u7a7a\u95f4",mode:"append"}],ai=/[\\^$.*+?()[\]{}|]/g,ri=RegExp(ai.source);function oi(t,e,i){return t.replace(new RegExp((n=e)&&ri.test(n)?n.replace(ai,"\\$&"):n,"g"),i);var n}var si={NONE:"none",REQUEST:"request",RESPONSE:"response",BOTH:"both"},ci="_globalUniCloudStatus",li="_globalUniCloudSecureNetworkCache__{spaceId}";var ui;ui="0123456789abcdef";var hi="uni-secure-network",di={SYSTEM_ERROR:{code:2e4,message:"System error"},APP_INFO_INVALID:{code:20101,message:"Invalid client"},GET_ENCRYPT_KEY_FAILED:{code:20102,message:"Get encrypt key failed"}};function fi(t){var e=t||{},i=e.errSubject,n=e.subject,a=e.errCode,r=e.errMsg,o=e.code,s=e.message,c=e.cause;return new gt({subject:i||n||hi,code:a||o||di.SYSTEM_ERROR.code,message:r||s,cause:c})}var pi;function gi(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.secretType;return e===si.REQUEST||e===si.RESPONSE||e===si.BOTH}function vi(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.name,i=t.data,n=void 0===i?{}:i;return"app"===G&&"DCloud-clientDB"===e&&"encryption"===n.redirectTo&&"getAppClientKey"===n.action}function mi(t){t.functionName,t.result,t.logPvd}function xi(t){var e=t.callFunction,i=function(i){var n=this,a=i.name;i.data=ii.call(t,{data:i.data});var r={aliyun:"aliyun",tencent:"tcb",tcb:"tcb",alipay:"alipay",dcloud:"dcloud"}[this.config.provider],o=gi(i),s=vi(i),c=o||s;return e.call(this,i).then((function(t){return t.errCode=0,!c&&mi.call(n,{functionName:a,result:t,logPvd:r}),Promise.resolve(t)}),(function(t){return!c&&mi.call(n,{functionName:a,result:t,logPvd:r}),t&&t.message&&(t.message=function(){for(var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.message,i=void 0===e?"":e,n=t.extraInfo,a=void 0===n?{}:n,r=t.formatter,o=void 0===r?[]:r,s=0;s<o.length;s++){var c=o[s],l=c.rule,u=c.content,h=c.mode,d=i.match(l);if(d){for(var f=u,p=1;p<d.length;p++)f=oi(f,"{$".concat(p,"}"),d[p]);for(var g in a)f=oi(f,"{".concat(g,"}"),a[g]);return"replace"===h?f:i+f}}return i}({message:"[".concat(i.name,"]: ").concat(t.message),formatter:ni,extraInfo:{functionName:a}})),Promise.reject(t)}))};t.callFunction=function(e){var n,a,r=t.config,o=r.provider,s=r.spaceId,c=e.name;return e.data=e.data||{},n=i,n=n.bind(t),a=vi(e)?i.call(t,e):function(t){var e=t.name,i=t.data,n=void 0===i?{}:i;return"mp-weixin"===G&&"uni-id-co"===e&&"secureNetworkHandshakeByWeixin"===n.method}(e)?n.call(t,e):gi(e)?new pi({secretType:e.secretType,uniCloudIns:t}).wrapEncryptDataCallFunction(i.bind(t))(e):function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.provider,i=t.spaceId,n=t.functionName,a=bt(),r=a.appId,o=a.uniPlatform,s=a.osName,c=o;"app"===o&&(c=s);var l=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.provider,i=t.spaceId,n=H;if(!n)return{};e=function(t){return"tencent"===t?"tcb":t}(e);var a=n.find((function(t){return t.provider===e&&t.spaceId===i}));return a&&a.config}({provider:e,spaceId:i});if(!l||!l.accessControl||!l.accessControl.enable)return!1;var u=l.accessControl.function||{},h=Object.keys(u);if(0===h.length)return!0;var d=function(t,e){for(var i,n,a,r=0;r<t.length;r++){var o=t[r];o!==e?"*"!==o?o.split(",").map((function(t){return t.trim()})).indexOf(e)>-1&&(n=o):a=o:i=o}return i||n||a}(h,n);if(!d)return!1;if((u[d]||[]).find((function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return t.appId===r&&(t.platform||"").toLowerCase()===c.toLowerCase()})))return!0;throw console.error("\u6b64\u5e94\u7528[appId: ".concat(r,", platform: ").concat(c,"]\u4e0d\u5728\u4e91\u7aef\u914d\u7f6e\u7684\u5141\u8bb8\u8bbf\u95ee\u7684\u5e94\u7528\u5217\u8868\u5185\uff0c\u53c2\u8003\uff1ahttps://uniapp.dcloud.net.cn/uniCloud/secure-network.html#verify-client")),fi(di.APP_INFO_INVALID)}({provider:o,spaceId:s,functionName:c})?new pi({secretType:e.secretType,uniCloudIns:t}).wrapVerifyClientCallFunction(i.bind(t))(e):n(e),Object.defineProperty(a,"result",{get:function(){return console.warn("\u5f53\u524d\u8fd4\u56de\u7ed3\u679c\u4e3aPromise\u7c7b\u578b\uff0c\u4e0d\u53ef\u76f4\u63a5\u8bbf\u95ee\u5176result\u5c5e\u6027\uff0c\u8be6\u60c5\u8bf7\u53c2\u8003\uff1ahttps://uniapp.dcloud.net.cn/uniCloud/faq?id=promise"),{}}}),a.then((function(t){return"undefined"!=typeof UTSJSONObject&&(t.result=new UTSJSONObject(t.result)),t}))}}pi="mp-weixin"!==G&&"app"!==G?function(){return(0,m.default)((function t(){throw(0,v.default)(this,t),fi({message:"Platform ".concat(G," is not supported by secure network")})}))}():function(){return(0,m.default)((function t(){throw(0,v.default)(this,t),fi({message:"Platform ".concat(G," is not enabled, please check whether secure network module is enabled in your manifest.json")})}))}();var yi=Symbol("CLIENT_DB_INTERNAL");function _i(t,e){return t.then="DoNotReturnProxyWithAFunctionNamedThen",t._internalType=yi,t.inspect=null,t.__ob__=void 0,new Proxy(t,{get:function(t,i,n){if("_uniClient"===i)return null;if("symbol"==(0,c.default)(i))return t[i];if(i in t||"string"!=typeof i){var a=t[i];return"function"==typeof a?a.bind(t):a}return e.get(t,i,n)}})}function bi(t){return{on:function(e,i){t[e]=t[e]||[],t[e].indexOf(i)>-1||t[e].push(i)},off:function(e,i){t[e]=t[e]||[];var n=t[e].indexOf(i);-1!==n&&t[e].splice(n,1)}}}var wi=["db.Geo","db.command","command.aggregate"];function Si(t,e){return wi.indexOf("".concat(t,".").concat(e))>-1}function ki(t){switch($(t)){case"array":return t.map((function(t){return ki(t)}));case"object":return t._internalType===yi||Object.keys(t).forEach((function(e){t[e]=ki(t[e])})),t;case"regexp":return{$regexp:{source:t.source,flags:t.flags}};case"date":return{$date:t.toISOString()};default:return t}}function Ci(t){return t&&t.content&&t.content.$method}var Ti=function(){function t(e,i,n){(0,v.default)(this,t),this.content=e,this.prevStage=i||null,this.udb=null,this._database=n}return(0,m.default)(t,[{key:"toJSON",value:function(){for(var t=this,e=[t.content];t.prevStage;)t=t.prevStage,e.push(t.content);return{$db:e.reverse().map((function(t){return{$method:t.$method,$param:ki(t.$param)}}))}}},{key:"toString",value:function(){return JSON.stringify(this.toJSON())}},{key:"getAction",value:function(){var t=this.toJSON().$db.find((function(t){return"action"===t.$method}));return t&&t.$param&&t.$param[0]}},{key:"getCommand",value:function(){return{$db:this.toJSON().$db.filter((function(t){return"action"!==t.$method}))}}},{key:"isAggregate",get:function(){for(var t=this;t;){var e=Ci(t),i=Ci(t.prevStage);if("aggregate"===e&&"collection"===i||"pipeline"===e)return!0;t=t.prevStage}return!1}},{key:"isCommand",get:function(){for(var t=this;t;){if("command"===Ci(t))return!0;t=t.prevStage}return!1}},{key:"isAggregateCommand",get:function(){for(var t=this;t;){var e=Ci(t),i=Ci(t.prevStage);if("aggregate"===e&&"command"===i)return!0;t=t.prevStage}return!1}},{key:"getNextStageFn",value:function(t){var e=this;return function(){return Pi({$method:t,$param:ki(Array.from(arguments))},e,e._database)}}},{key:"count",get:function(){return this.isAggregate?this.getNextStageFn("count"):function(){return this._send("count",Array.from(arguments))}}},{key:"remove",get:function(){return this.isCommand?this.getNextStageFn("remove"):function(){return this._send("remove",Array.from(arguments))}}},{key:"get",value:function(){return this._send("get",Array.from(arguments))}},{key:"add",get:function(){return this.isCommand?this.getNextStageFn("add"):function(){return this._send("add",Array.from(arguments))}}},{key:"update",value:function(){return this._send("update",Array.from(arguments))}},{key:"end",value:function(){return this._send("end",Array.from(arguments))}},{key:"set",get:function(){return this.isCommand?this.getNextStageFn("set"):function(){throw new Error("JQL\u7981\u6b62\u4f7f\u7528set\u65b9\u6cd5")}}},{key:"_send",value:function(t,e){var i=this.getAction(),n=this.getCommand();return n.$db.push({$method:t,$param:ki(e)}),this._database._callCloudFunction({action:i,command:n})}}]),t}();function Pi(t,e,i){return _i(new Ti(t,e,i),{get:function(t,e){var n="db";return t&&t.content&&(n=t.content.$method),Si(n,e)?Pi({$method:e},t,i):function(){return Pi({$method:e,$param:ki(Array.from(arguments))},t,i)}}})}function Ai(t){var e=t.path,i=t.method;return function(){function t(){(0,v.default)(this,t),this.param=Array.from(arguments)}return(0,m.default)(t,[{key:"toJSON",value:function(){return{$newDb:[].concat((0,l.default)(e.map((function(t){return{$method:t}}))),[{$method:i,$param:this.param}])}}},{key:"toString",value:function(){return JSON.stringify(this.toJSON())}}]),t}()}var Oi=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=e.uniClient,n=void 0===i?{}:i,a=e.isJQL,r=void 0!==a&&a;(0,v.default)(this,t),this._uniClient=n,this._authCallBacks={},this._dbCallBacks={},n._isDefault&&(this._dbCallBacks=X("_globalUniCloudDatabaseCallback")),r||(this.auth=bi(this._authCallBacks)),this._isJQL=r,Object.assign(this,bi(this._dbCallBacks)),this.env=_i({},{get:function(t,e){return{$env:e}}}),this.Geo=_i({},{get:function(t,e){return Ai({path:["Geo"],method:e})}}),this.serverDate=Ai({path:[],method:"serverDate"}),this.RegExp=Ai({path:[],method:"RegExp"})}return(0,m.default)(t,[{key:"getCloudEnv",value:function(t){if("string"!=typeof t||!t.trim())throw new Error("getCloudEnv\u53c2\u6570\u9519\u8bef");return{$env:t.replace("$cloudEnv_","")}}},{key:"_callback",value:function(t,e){var i=this._dbCallBacks;i[t]&&i[t].forEach((function(t){t.apply(void 0,(0,l.default)(e))}))}},{key:"_callbackAuth",value:function(t,e){var i=this._authCallBacks;i[t]&&i[t].forEach((function(t){t.apply(void 0,(0,l.default)(e))}))}},{key:"multiSend",value:function(){var t=Array.from(arguments),e=t.map((function(t){var e=t.getAction(),i=t.getCommand();if("getTemp"!==i.$db[i.$db.length-1].$method)throw new Error("multiSend\u53ea\u652f\u6301\u5b50\u547d\u4ee4\u5185\u4f7f\u7528getTemp");return{action:e,command:i}}));return this._callCloudFunction({multiCommand:e,queryList:t})}}]),t}();function Li(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return _i(new t(e),{get:function(t,e){return Si("db",e)?Pi({$method:e},null,t):function(){return Pi({$method:e,$param:ki(Array.from(arguments))},null,t)}}})}var Di=function(t){(0,d.default)(i,t);var e=S(i);function i(){return(0,v.default)(this,i),e.apply(this,arguments)}return(0,m.default)(i,[{key:"_parseResult",value:function(t){return this._isJQL?t.result:t}},{key:"_callCloudFunction",value:function(t){var e=this,i=t.action,n=t.command,a=t.multiCommand,r=t.queryList;function o(t,e){if(a&&r)for(var i=0;i<r.length;i++){var n=r[i];n.udb&&"function"==typeof n.udb.setResult&&(e?n.udb.setResult(e):n.udb.setResult(t.result.dataList[i]))}}var s=this,c=this._isJQL?"databaseForJQL":"database";function l(t){return s._callback("error",[t]),et(it(c,"fail"),t).then((function(){return et(it(c,"complete"),t)})).then((function(){return o(null,t),ut(rt.RESPONSE,{type:ot.CLIENT_DB,content:t}),Promise.reject(t)}))}var u=et(it(c,"invoke")),h=this._uniClient;return u.then((function(){return h.callFunction({name:"DCloud-clientDB",type:I.CLIENT_DB,data:{action:i,command:n,multiCommand:a}})})).then((function(t){var i=t.result,n=i.code,a=i.message,r=i.token,u=i.tokenExpired,h=i.systemInfo,d=void 0===h?[]:h;if(d)for(var f=0;f<d.length;f++){var p=d[f],g=p.level,v=p.message,m=p.detail,x="[System Info]"+v;m&&(x="".concat(x,"\n\u8be6\u7ec6\u4fe1\u606f\uff1a").concat(m)),(console["app"===G&&"warn"===g?"error":g]||console.log)(x)}if(n)return l(new gt({code:n,message:a,requestId:t.requestId}));t.result.errCode=t.result.errCode||t.result.code,t.result.errMsg=t.result.errMsg||t.result.message,r&&u&&(_t({token:r,tokenExpired:u}),e._callbackAuth("refreshToken",[{token:r,tokenExpired:u}]),e._callback("refreshToken",[{token:r,tokenExpired:u}]),ut(rt.REFRESH_TOKEN,{token:r,tokenExpired:u}));for(var y=[{prop:"affectedDocs",tips:"affectedDocs\u4e0d\u518d\u63a8\u8350\u4f7f\u7528\uff0c\u8bf7\u4f7f\u7528inserted/deleted/updated/data.length\u66ff\u4ee3"},{prop:"code",tips:"code\u4e0d\u518d\u63a8\u8350\u4f7f\u7528\uff0c\u8bf7\u4f7f\u7528errCode\u66ff\u4ee3"},{prop:"message",tips:"message\u4e0d\u518d\u63a8\u8350\u4f7f\u7528\uff0c\u8bf7\u4f7f\u7528errMsg\u66ff\u4ee3"}],_=function(e){var i=y[e],n=i.prop,a=i.tips;if(n in t.result){var r=t.result[n];Object.defineProperty(t.result,n,{get:function(){return console.warn(a),r}})}},b=0;b<y.length;b++)_(b);return function(t){return et(it(c,"success"),t).then((function(){return et(it(c,"complete"),t)})).then((function(){o(t,null);var e=s._parseResult(t);return ut(rt.RESPONSE,{type:ot.CLIENT_DB,content:e}),Promise.resolve(e)}))}(t)}),(function(t){return/fc_function_not_found|FUNCTION_NOT_FOUND/g.test(t.message)&&console.warn("clientDB\u672a\u521d\u59cb\u5316\uff0c\u8bf7\u5728web\u63a7\u5236\u53f0\u4fdd\u5b58\u4e00\u6b21schema\u4ee5\u5f00\u542fclientDB"),l(new gt({code:t.code||"SYSTEM_ERROR",message:t.message,requestId:t.requestId}))}))}}]),i}(Oi),Ii="token\u65e0\u6548\uff0c\u8df3\u8f6c\u767b\u5f55\u9875\u9762",Mi="token\u8fc7\u671f\uff0c\u8df3\u8f6c\u767b\u5f55\u9875\u9762",Ei={TOKEN_INVALID_TOKEN_EXPIRED:Mi,TOKEN_INVALID_INVALID_CLIENTID:Ii,TOKEN_INVALID:Ii,TOKEN_INVALID_WRONG_TOKEN:Ii,TOKEN_INVALID_ANONYMOUS_USER:Ii},Fi={"uni-id-token-expired":Mi,"uni-id-check-token-failed":Ii,"uni-id-token-not-exist":Ii,"uni-id-check-device-feature-failed":Ii};function $i(t,e){var i="";return i=t?"".concat(t,"/").concat(e):e,i.replace(/^\//,"")}function Ri(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",i=[],n=[];return t.forEach((function(t){!0===t.needLogin?i.push($i(e,t.path)):!1===t.needLogin&&n.push($i(e,t.path))})),{needLoginPage:i,notNeedLoginPage:n}}function Ni(t){return t.split("?")[0].replace(/^\//,"")}function ji(){return function(t){var e=t&&t.$page&&t.$page.fullPath||"";return e?("/"!==e.charAt(0)&&(e="/"+e),e):e}(function(){var t=getCurrentPages();return t[t.length-1]}())}function Ui(){return Ni(ji())}function Bi(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!t)return!1;if(!(e&&e.list&&e.list.length))return!1;var i=e.list,n=Ni(t);return i.some((function(t){return t.pagePath===n}))}var zi,Wi=!!x.default.uniIdRouter,qi=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:x.default,e=t.pages,i=void 0===e?[]:e,n=t.subPackages,a=void 0===n?[]:n,r=t.uniIdRouter,o=void 0===r?{}:r,s=t.tabBar,c=void 0===s?{}:s,u=o.loginPage,h=o.needLogin,d=void 0===h?[]:h,f=o.resToLogin,p=void 0===f||f,g=Ri(i),v=g.needLoginPage,m=g.notNeedLoginPage,y=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],e=[],i=[];return t.forEach((function(t){var n=t.root,a=t.pages,r=void 0===a?[]:a,o=Ri(r,n),s=o.needLoginPage,c=o.notNeedLoginPage;e.push.apply(e,(0,l.default)(s)),i.push.apply(i,(0,l.default)(c))})),{needLoginPage:e,notNeedLoginPage:i}}(a),_=y.needLoginPage,b=y.notNeedLoginPage;return{loginPage:u,routerNeedLogin:d,resToLogin:p,needLoginPage:[].concat((0,l.default)(v),(0,l.default)(_)),notNeedLoginPage:[].concat((0,l.default)(m),(0,l.default)(b)),loginPageInTabBar:Bi(u,c)}}(),Hi=qi.loginPage,Gi=qi.routerNeedLogin,Ji=qi.resToLogin,Vi=qi.needLoginPage,Ki=qi.notNeedLoginPage,Xi=qi.loginPageInTabBar;if(Vi.indexOf(Hi)>-1)throw new Error("Login page [".concat(Hi,'] should not be "needLogin", please check your pages.json'));function Yi(t){var e=Ui();if("/"===t.charAt(0))return t;var i=t.split("?"),n=(0,s.default)(i,2),a=n[0],r=n[1],o=a.replace(/^\//,"").split("/"),c=e.split("/");c.pop();for(var l=0;l<o.length;l++){var u=o[l];".."===u?c.pop():"."!==u&&c.push(u)}return""===c[0]&&c.shift(),"/"+c.join("/")+(r?"?"+r:"")}function Qi(t){var e=Ni(Yi(t));return!(Ki.indexOf(e)>-1)&&(Vi.indexOf(e)>-1||Gi.some((function(e){return function(t,e){return new RegExp(e).test(t)}(t,e)})))}function Zi(t){var e=t.redirect,i=Ni(e),n=Ni(Hi);return Ui()!==n&&i!==n}function tn(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.api,i=t.redirect;if(i&&Zi({redirect:i})){var n=function(t,e){return"/"!==t.charAt(0)&&(t="/"+t),e?t.indexOf("?")>-1?t+"&uniIdRedirectUrl=".concat(encodeURIComponent(e)):t+"?uniIdRedirectUrl=".concat(encodeURIComponent(e)):t}(Hi,i);Xi?"navigateTo"!==e&&"redirectTo"!==e||(e="switchTab"):"switchTab"===e&&(e="navigateTo");var a={navigateTo:uni.navigateTo,redirectTo:uni.redirectTo,switchTab:uni.switchTab,reLaunch:uni.reLaunch};setTimeout((function(){a[e]({url:n})}),0)}}function en(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.url,i={abortLoginPageJump:!1,autoToLoginPage:!1},n=function(){var t,e=yt(),i=e.token,n=e.tokenExpired;if(i){if(n<Date.now()){var a="uni-id-token-expired";t={errCode:a,errMsg:Fi[a]}}}else{var r="uni-id-check-token-failed";t={errCode:r,errMsg:Fi[r]}}return t}();if(Qi(e)&&n){if(n.uniIdRedirectUrl=e,st(rt.NEED_LOGIN).length>0)return setTimeout((function(){ut(rt.NEED_LOGIN,n)}),0),i.abortLoginPageJump=!0,i;i.autoToLoginPage=!0}return i}function nn(){!function(){var t=ji(),e=en({url:t}),i=e.abortLoginPageJump,n=e.autoToLoginPage;i||n&&tn({api:"redirectTo",redirect:t})}();for(var t=["navigateTo","redirectTo","reLaunch","switchTab"],e=function(e){var i=t[e];uni.addInterceptor(i,{invoke:function(t){var e=en({url:t.url}),n=e.abortLoginPageJump,a=e.autoToLoginPage;return n?t:a?(tn({api:i,redirect:Yi(t.url)}),!1):t}})},i=0;i<t.length;i++)e(i)}function an(){this.onResponse((function(t){var e=t.type,i=t.content,n=!1;switch(e){case"cloudobject":n=function(t){if("object"!=(0,c.default)(t))return!1;var e=t||{},i=e.errCode;return i in Fi}(i);break;case"clientdb":n=function(t){if("object"!=(0,c.default)(t))return!1;var e=t||{},i=e.errCode;return i in Ei}(i)}n&&function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=st(rt.NEED_LOGIN);ft().then((function(){var i=ji();if(i&&Zi({redirect:i}))return e.length>0?ut(rt.NEED_LOGIN,Object.assign({uniIdRedirectUrl:i},t)):void(Hi&&tn({api:"navigateTo",redirect:i}))}))}(i)}))}function rn(t){!function(t){t.onResponse=function(t){ct(rt.RESPONSE,t)},t.offResponse=function(t){lt(rt.RESPONSE,t)}}(t),function(t){t.onNeedLogin=function(t){ct(rt.NEED_LOGIN,t)},t.offNeedLogin=function(t){lt(rt.NEED_LOGIN,t)},Wi&&(X(ci).needLoginInit||(X(ci).needLoginInit=!0,ft().then((function(){nn.call(t)})),Ji&&an.call(t)))}(t),function(t){t.onRefreshToken=function(t){ct(rt.REFRESH_TOKEN,t)},t.offRefreshToken=function(t){lt(rt.REFRESH_TOKEN,t)}}(t)}var on="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",sn=/^(?:[A-Za-z\d+/]{4})*?(?:[A-Za-z\d+/]{2}(?:==)?|[A-Za-z\d+/]{3}=?)?$/;function cn(){var t,e,i=yt().token||"",n=i.split(".");if(!i||3!==n.length)return{uid:null,role:[],permission:[],tokenExpired:0};try{t=JSON.parse((e=n[1],decodeURIComponent(zi(e).split("").map((function(t){return"%"+("00"+t.charCodeAt(0).toString(16)).slice(-2)})).join(""))))}catch(i){throw new Error("\u83b7\u53d6\u5f53\u524d\u7528\u6237\u4fe1\u606f\u51fa\u9519\uff0c\u8be6\u7ec6\u9519\u8bef\u4fe1\u606f\u4e3a\uff1a"+i.message)}return t.tokenExpired=1e3*t.exp,delete t.exp,delete t.iat,t}zi="function"!=typeof atob?function(t){if(t=String(t).replace(/[\t\n\f\r ]+/g,""),!sn.test(t))throw new Error("Failed to execute 'atob' on 'Window': The string to be decoded is not correctly encoded.");var e;t+="==".slice(2-(3&t.length));for(var i,n,a="",r=0;r<t.length;)e=on.indexOf(t.charAt(r++))<<18|on.indexOf(t.charAt(r++))<<12|(i=on.indexOf(t.charAt(r++)))<<6|(n=on.indexOf(t.charAt(r++))),a+=64===i?String.fromCharCode(e>>16&255):64===n?String.fromCharCode(e>>16&255,e>>8&255):String.fromCharCode(e>>16&255,e>>8&255,255&e);return a}:atob;var ln=k((function(t,e){Object.defineProperty(e,"__esModule",{value:!0});var i="chooseAndUploadFile:ok",a="chooseAndUploadFile:fail";function r(t,e){return t.tempFiles.forEach((function(t,i){t.name||(t.name=t.path.substring(t.path.lastIndexOf("/")+1)),e&&(t.fileType=e),t.cloudPath=Date.now()+"_"+i+t.name.substring(t.name.lastIndexOf("."))})),t.tempFilePaths||(t.tempFilePaths=t.tempFiles.map((function(t){return t.path}))),t}function o(t,e,n){var a=n.onChooseFile,r=n.onUploadProgress;return e.then((function(t){if(a){var e=a(t);if(void 0!==e)return Promise.resolve(e).then((function(e){return void 0===e?t:e}))}return t})).then((function(e){return!1===e?{errMsg:i,tempFilePaths:[],tempFiles:[]}:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:5,a=arguments.length>3?arguments[3]:void 0;(e=Object.assign({},e)).errMsg=i;var r=e.tempFiles,o=r.length,s=0;return new Promise((function(i){for(;s<n;)c();function c(){var n=s++;if(n>=o)!r.find((function(t){return!t.url&&!t.errMsg}))&&i(e);else{var l=r[n];t.uploadFile({provider:l.provider,filePath:l.path,cloudPath:l.cloudPath,fileType:l.fileType,cloudPathAsRealPath:l.cloudPathAsRealPath,onUploadProgress:function(t){t.index=n,t.tempFile=l,t.tempFilePath=l.path,a&&a(t)}}).then((function(t){l.url=t.fileID,n<o&&c()})).catch((function(t){l.errMsg=t.errMsg||t.message,n<o&&c()}))}}}))}(t,e,5,r)}))}e.initChooseAndUploadFile=function(t){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{type:"all"};return"image"===e.type?o(t,function(t){var e=t.count,i=t.sizeType,n=t.sourceType,o=void 0===n?["album","camera"]:n,s=t.extension;return new Promise((function(t,n){uni.chooseImage({count:e,sizeType:i,sourceType:o,extension:s,success:function(e){t(r(e,"image"))},fail:function(t){n({errMsg:t.errMsg.replace("chooseImage:fail",a)})}})}))}(e),e):"video"===e.type?o(t,function(t){var e=t.camera,i=t.compressed,n=t.maxDuration,o=t.sourceType,s=void 0===o?["album","camera"]:o,c=t.extension;return new Promise((function(t,o){uni.chooseVideo({camera:e,compressed:i,maxDuration:n,sourceType:s,extension:c,success:function(e){var i=e.tempFilePath,n=e.duration,a=e.size,o=e.height,s=e.width;t(r({errMsg:"chooseVideo:ok",tempFilePaths:[i],tempFiles:[{name:e.tempFile&&e.tempFile.name||"",path:i,size:a,type:e.tempFile&&e.tempFile.type||"",width:s,height:o,duration:n,fileType:"video",cloudPath:""}]},"video"))},fail:function(t){o({errMsg:t.errMsg.replace("chooseVideo:fail",a)})}})}))}(e),e):o(t,function(t){var e=t.count,i=t.extension;return new Promise((function(t,o){var s=uni.chooseFile;if("undefined"!=typeof n&&"function"==typeof n.chooseMessageFile&&(s=n.chooseMessageFile),"function"!=typeof s)return o({errMsg:a+" \u8bf7\u6307\u5b9a type \u7c7b\u578b\uff0c\u8be5\u5e73\u53f0\u4ec5\u652f\u6301\u9009\u62e9 image \u6216 video\u3002"});s({type:"all",count:e,extension:i,success:function(e){t(r(e))},fail:function(t){o({errMsg:t.errMsg.replace("chooseFile:fail",a)})}})}))}(e),e)}}})),un=function(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}(ln),hn={auto:"auto",onready:"onready",manual:"manual"};function dn(t){return{props:{localdata:{type:Array,default:function(){return[]}},options:{type:[Object,Array],default:function(){return{}}},spaceInfo:{type:Object,default:function(){return{}}},collection:{type:[String,Array],default:""},action:{type:String,default:""},field:{type:String,default:""},orderby:{type:String,default:""},where:{type:[String,Object],default:""},pageData:{type:String,default:"add"},pageCurrent:{type:Number,default:1},pageSize:{type:Number,default:20},getcount:{type:[Boolean,String],default:!1},gettree:{type:[Boolean,String],default:!1},gettreepath:{type:[Boolean,String],default:!1},startwith:{type:String,default:""},limitlevel:{type:Number,default:10},groupby:{type:String,default:""},groupField:{type:String,default:""},distinct:{type:[Boolean,String],default:!1},foreignKey:{type:String,default:""},loadtime:{type:String,default:"auto"},manual:{type:Boolean,default:!1}},data:function(){return{mixinDatacomLoading:!1,mixinDatacomHasMore:!1,mixinDatacomResData:[],mixinDatacomErrorMessage:"",mixinDatacomPage:{},mixinDatacomError:null}},created:function(){var t=this;this.mixinDatacomPage={current:this.pageCurrent,size:this.pageSize,count:0},this.$watch((function(){var e=[];return["pageCurrent","pageSize","localdata","collection","action","field","orderby","where","getont","getcount","gettree","groupby","groupField","distinct"].forEach((function(i){e.push(t[i])})),e}),(function(e,i){if(t.loadtime!==hn.manual){for(var n=!1,a=[],r=2;r<e.length;r++)e[r]!==i[r]&&(a.push(e[r]),n=!0);e[0]!==i[0]&&(t.mixinDatacomPage.current=t.pageCurrent),t.mixinDatacomPage.size=t.pageSize,t.onMixinDatacomPropsChange(n,a)}}))},methods:{onMixinDatacomPropsChange:function(t,e){},mixinDatacomEasyGet:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=e.getone,n=void 0!==i&&i,a=e.success,r=e.fail;this.mixinDatacomLoading||(this.mixinDatacomLoading=!0,this.mixinDatacomErrorMessage="",this.mixinDatacomError=null,this.mixinDatacomGet().then((function(e){t.mixinDatacomLoading=!1;var i=e.result,r=i.data,o=i.count;t.getcount&&(t.mixinDatacomPage.count=o),t.mixinDatacomHasMore=r.length<t.pageSize;var s=n?r.length?r[0]:void 0:r;t.mixinDatacomResData=s,a&&a(s)})).catch((function(e){t.mixinDatacomLoading=!1,t.mixinDatacomErrorMessage=e,t.mixinDatacomError=e,r&&r(e)})))},mixinDatacomGet:function(){var e,i,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};n=n||{},i="undefined"!=typeof __uniX&&__uniX?t.databaseForJQL(this.spaceInfo):t.database(this.spaceInfo);var a=n.action||this.action;a&&(i=i.action(a));var r=n.collection||this.collection;i=Array.isArray(r)?(e=i).collection.apply(e,(0,l.default)(r)):i.collection(r);var o=n.where||this.where;o&&Object.keys(o).length&&(i=i.where(o));var s=n.field||this.field;s&&(i=i.field(s));var c=n.foreignKey||this.foreignKey;c&&(i=i.foreignKey(c));var u=n.groupby||this.groupby;u&&(i=i.groupBy(u));var h=n.groupField||this.groupField;h&&(i=i.groupField(h)),!0===(void 0!==n.distinct?n.distinct:this.distinct)&&(i=i.distinct());var d=n.orderby||this.orderby;d&&(i=i.orderBy(d));var f=void 0!==n.pageCurrent?n.pageCurrent:this.mixinDatacomPage.current,p=void 0!==n.pageSize?n.pageSize:this.mixinDatacomPage.size,g=void 0!==n.getcount?n.getcount:this.getcount,v=void 0!==n.gettree?n.gettree:this.gettree,m=void 0!==n.gettreepath?n.gettreepath:this.gettreepath,x={getCount:g},y={limitLevel:void 0!==n.limitlevel?n.limitlevel:this.limitlevel,startWith:void 0!==n.startwith?n.startwith:this.startwith};return v&&(x.getTree=y),m&&(x.getTreePath=y),i=i.skip(p*(f-1)).limit(p).get(x),i}}}}function fn(t){return X(li.replace("{spaceId}",t.config.spaceId))}function pn(){return gn.apply(this,arguments)}function gn(){return gn=(0,u.default)(r.default.mark((function t(){var e,i,n,a,o,s,c,l=arguments;return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(e=l.length>0&&void 0!==l[0]?l[0]:{},i=e.openid,n=e.callLoginByWeixin,a=void 0!==n&&n,o=fn(this),"mp-weixin"===G){t.next=4;break}throw new Error("[SecureNetwork] API `initSecureNetworkByWeixin` is not supported on platform `".concat(G,"`"));case 4:if(!i||!a){t.next=6;break}throw new Error("[SecureNetwork] openid and callLoginByWeixin cannot be passed at the same time");case 6:if(!i){t.next=8;break}return t.abrupt("return",(o.mpWeixinOpenid=i,{}));case 8:return t.next=10,new Promise((function(t,e){uni.login({success:function(e){t(e.code)},fail:function(t){e(new Error(t.errMsg))}})}));case 10:return s=t.sent,c=this.importObject("uni-id-co",{customUI:!0}),t.next=14,c.secureNetworkHandshakeByWeixin({code:s,callLoginByWeixin:a});case 14:return o.mpWeixinCode=s,t.abrupt("return",{code:s});case 16:case"end":return t.stop()}}),t,this)}))),gn.apply(this,arguments)}function vn(t){return mn.apply(this,arguments)}function mn(){return mn=(0,u.default)(r.default.mark((function t(e){var i;return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return i=fn(this),t.abrupt("return",(i.initPromise||(i.initPromise=pn.call(this,e).then((function(t){return t})).catch((function(t){throw delete i.initPromise,t}))),i.initPromise));case 2:case"end":return t.stop()}}),t,this)}))),mn.apply(this,arguments)}function xn(t){!function(t){wt=t}(t)}function yn(t){var e={getSystemInfo:uni.getSystemInfo,getPushClientId:uni.getPushClientId};return function(i){return new Promise((function(n,a){e[t](w(w({},i),{},{success:function(t){n(t)},fail:function(t){a(t)}}))}))}}var _n=function(t){(0,d.default)(i,t);var e=S(i);function i(){var t;return(0,v.default)(this,i),t=e.call(this),t._uniPushMessageCallback=t._receivePushMessage.bind((0,o.default)(t)),t._currentMessageId=-1,t._payloadQueue=[],t}return(0,m.default)(i,[{key:"init",value:function(){var t=this;return Promise.all([yn("getSystemInfo")(),yn("getPushClientId")()]).then((function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],i=(0,s.default)(e,2),n=i[0];n=void 0===n?{}:n;var a=n.appId,r=i[1];r=void 0===r?{}:r;var o=r.cid;if(!a)throw new Error("Invalid appId, please check the manifest.json file");if(!o)throw new Error("Invalid push client id");t._appId=a,t._pushClientId=o,t._seqId=Date.now()+"-"+Math.floor(9e5*Math.random()+1e5),t.emit("open"),t._initMessageListener()}),(function(e){throw t.emit("error",e),t.close(),e}))}},{key:"open",value:function(){var t=(0,u.default)(r.default.mark((function t(){return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.abrupt("return",this.init());case 1:case"end":return t.stop()}}),t,this)})));return function(){return t.apply(this,arguments)}}()},{key:"_isUniCloudSSE",value:function(t){if("receive"!==t.type)return!1;var e=t&&t.data&&t.data.payload;return!(!e||"UNI_CLOUD_SSE"!==e.channel||e.seqId!==this._seqId)}},{key:"_receivePushMessage",value:function(t){if(this._isUniCloudSSE(t)){var e=t&&t.data&&t.data.payload,i=e.action,n=e.messageId,a=e.message;this._payloadQueue.push({action:i,messageId:n,message:a}),this._consumMessage()}}},{key:"_consumMessage",value:function(){for(var t=this;;){var e=this._payloadQueue.find((function(e){return e.messageId===t._currentMessageId+1}));if(!e)break;this._currentMessageId++,this._parseMessagePayload(e)}}},{key:"_parseMessagePayload",value:function(t){var e=t.action,i=t.messageId,n=t.message;"end"===e?this._end({messageId:i,message:n}):"message"===e&&this._appendMessage({messageId:i,message:n})}},{key:"_appendMessage",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=(t.messageId,t.message);this.emit("message",e)}},{key:"_end",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=(t.messageId,t.message);this.emit("end",e),this.close()}},{key:"_initMessageListener",value:function(){uni.onPushMessage(this._uniPushMessageCallback)}},{key:"_destroy",value:function(){uni.offPushMessage(this._uniPushMessageCallback)}},{key:"toJSON",value:function(){return{appId:this._appId,pushClientId:this._pushClientId,seqId:this._seqId}}},{key:"close",value:function(){this._destroy(),this.emit("close")}}]),i}(W);var bn={tcb:Ne,tencent:Ne,aliyun:Pt,private:He,dcloud:He,alipay:ei},wn=new(function(){function t(){(0,v.default)(this,t)}return(0,m.default)(t,[{key:"init",value:function(t){var e={},i=bn[t.provider];if(!i)throw new Error("\u672a\u63d0\u4f9b\u6b63\u786e\u7684provider\u53c2\u6570");return e=i.init(t),function(t){t._initPromiseHub||(t._initPromiseHub=new z({createPromise:function(){var e=Promise.resolve();e=new Promise((function(t){setTimeout((function(){t()}),1)}));var i=t.auth();return e.then((function(){return i.getLoginState()})).then((function(t){return t?Promise.resolve():i.signInAnonymously()}))}}))}(e),xi(e),function(t){var e=t.uploadFile;t.uploadFile=function(t){return e.call(this,t)}}(e),function(t){t.database=function(e){if(e&&Object.keys(e).length>0)return t.init(e).database();if(this._database)return this._database;var i=Li(Di,{uniClient:t});return this._database=i,i},t.databaseForJQL=function(e){if(e&&Object.keys(e).length>0)return t.init(e).databaseForJQL();if(this._databaseForJQL)return this._databaseForJQL;var i=Li(Di,{uniClient:t,isJQL:!0});return this._databaseForJQL=i,i}}(e),function(t){t.getCurrentUserInfo=cn,t.chooseAndUploadFile=un.initChooseAndUploadFile(t),Object.assign(t,{get mixinDatacom(){return dn(t)}}),t.SSEChannel=_n,t.initSecureNetworkByWeixin=function(t){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=e.openid,n=e.callLoginByWeixin,a=void 0!==n&&n;return vn.call(t,{openid:i,callLoginByWeixin:a})}}(t),t.setCustomClientInfo=xn,t.importObject=function(t){return function(e){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};i=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return t.customUI=e.customUI||t.customUI,t.parseSystemError=e.parseSystemError||t.parseSystemError,Object.assign(t.loadingOptions,e.loadingOptions),Object.assign(t.errorOptions,e.errorOptions),"object"==(0,c.default)(e.secretMethods)&&(t.secretMethods=e.secretMethods),t}({customUI:!1,loadingOptions:{title:"\u52a0\u8f7d\u4e2d...",mask:!0},errorOptions:{type:"modal",retry:!1}},i);var n=i,a=n.customUI,o=n.loadingOptions,s=n.errorOptions,l=n.parseSystemError,h=!a;return new Proxy({},{get:function(n,a){switch(a){case"toString":return"[object UniCloudObject]";case"toJSON":return{}}return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.fn,i=t.interceptorName,n=t.getCallbackArgs;return(0,u.default)(r.default.mark((function t(){var a,o,s,c,l,u,h=arguments;return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:for(a=h.length,o=new Array(a),s=0;s<a;s++)o[s]=h[s];return c=n?n({params:o}):{},t.prev=2,t.next=5,et(it(i,"invoke"),w({},c));case 5:return t.next=7,e.apply(void 0,o);case 7:return l=t.sent,t.next=10,et(it(i,"success"),w(w({},c),{},{result:l}));case 10:return t.abrupt("return",l);case 13:return t.prev=13,t.t0=t["catch"](2),u=t.t0,t.next=18,et(it(i,"fail"),w(w({},c),{},{error:u}));case 18:throw u;case 19:return t.prev=19,t.next=22,et(it(i,"complete"),w(w({},c),{},u?{error:u}:{result:l}));case 22:return t.finish(19);case 23:case"end":return t.stop()}}),t,null,[[2,13,19,23]])})))}({fn:function(){var n=(0,u.default)(r.default.mark((function n(){var f,p,g,v,m,x,y,_,b,S,k,C,T,P,A,O=arguments;return r.default.wrap((function(n){while(1)switch(n.prev=n.next){case 0:for(h&&uni.showLoading({title:o.title,mask:o.mask}),p=O.length,g=new Array(p),v=0;v<p;v++)g[v]=O[v];return m={name:e,type:I.OBJECT,data:{method:a,params:g}},"object"==(0,c.default)(i.secretMethods)&&function(t,e){var i=e.data.method,n=t.secretMethods||{},a=n[i]||n["*"];a&&(e.secretType=a)}(i,m),x=!1,n.prev=5,n.next=8,t.callFunction(m);case 8:f=n.sent,n.next=14;break;case 11:n.prev=11,n.t0=n["catch"](5),x=!0,f={result:new gt(n.t0)};case 14:if(y=f.result||{},_=y.errSubject,b=y.errCode,S=y.errMsg,k=y.newToken,h&&uni.hideLoading(),k&&k.token&&k.tokenExpired&&(_t(k),ut(rt.REFRESH_TOKEN,w({},k))),!b){n.next=39;break}if(C=S,!x||!l){n.next=24;break}return n.next=20,l({objectName:e,methodName:a,params:g,errSubject:_,errCode:b,errMsg:S});case 20:if(n.t1=n.sent.errMsg,n.t1){n.next=23;break}n.t1=S;case 23:C=n.t1;case 24:if(!h){n.next=37;break}if("toast"!==s.type){n.next=29;break}uni.showToast({title:C,icon:"none"}),n.next=37;break;case 29:if("modal"===s.type){n.next=31;break}throw new Error("Invalid errorOptions.type: ".concat(s.type));case 31:return n.next=33,(0,u.default)(r.default.mark((function t(){var e,i,n,a,o,s,c=arguments;return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return e=c.length>0&&void 0!==c[0]?c[0]:{},i=e.title,n=e.content,a=e.showCancel,o=e.cancelText,s=e.confirmText,t.abrupt("return",new Promise((function(t,e){uni.showModal({title:i,content:n,showCancel:a,cancelText:o,confirmText:s,success:function(e){t(e)},fail:function(){t({confirm:!1,cancel:!0})}})})));case 2:case"end":return t.stop()}}),t)})))({title:"\u63d0\u793a",content:C,showCancel:s.retry,cancelText:"\u53d6\u6d88",confirmText:s.retry?"\u91cd\u8bd5":"\u786e\u5b9a"});case 33:if(T=n.sent,P=T.confirm,!s.retry||!P){n.next=37;break}return n.abrupt("return",d.apply(void 0,g));case 37:throw A=new gt({subject:_,code:b,message:S,requestId:f.requestId}),A.detail=f.result,ut(rt.RESPONSE,{type:ot.CLOUD_OBJECT,content:A}),A;case 39:return n.abrupt("return",(ut(rt.RESPONSE,{type:ot.CLOUD_OBJECT,content:f.result}),f.result));case 40:case"end":return n.stop()}}),n,null,[[5,11]])})));function d(){return n.apply(this,arguments)}return d}(),interceptorName:"callObject",getCallbackArgs:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=t.params;return{objectName:e,methodName:a,params:i}}})}})}}(t)}(e),["callFunction","uploadFile","deleteFile","getTempFileURL","downloadFile","chooseAndUploadFile"].forEach((function(t){if(e[t]){var i=e[t];e[t]=function(){return i.apply(e,Array.from(arguments))},e[t]=function(t,e){return function(i){var n=this,a=!1;if("callFunction"===e){var r=i&&i.type||I.DEFAULT;a=r!==I.DEFAULT}var o="callFunction"===e&&!a,s=this._initPromiseHub.exec();i=i||{};var c=pt(i),l=c.success,u=c.fail,h=c.complete,d=s.then((function(){return a?Promise.resolve():et(it(e,"invoke"),i)})).then((function(){return t.call(n,i)})).then((function(t){return a?Promise.resolve(t):et(it(e,"success"),t).then((function(){return et(it(e,"complete"),t)})).then((function(){return o&&ut(rt.RESPONSE,{type:ot.CLOUD_FUNCTION,content:t}),Promise.resolve(t)}))}),(function(t){return a?Promise.reject(t):et(it(e,"fail"),t).then((function(){return et(it(e,"complete"),t)})).then((function(){return ut(rt.RESPONSE,{type:ot.CLOUD_FUNCTION,content:t}),Promise.reject(t)}))}));if(!(l||u||h))return d;d.then((function(t){l&&l(t),h&&h(t),o&&ut(rt.RESPONSE,{type:ot.CLOUD_FUNCTION,content:t})}),(function(t){u&&u(t),h&&h(t),o&&ut(rt.RESPONSE,{type:ot.CLOUD_FUNCTION,content:t})}))}}(e[t],t).bind(e)}})),e.init=this.init,e}}]),t}());e.uniCloud=wn,function(){var t=J,i={};if(t&&1===t.length)i=t[0],e.uniCloud=wn=wn.init(i),wn._isDefault=!0;else{var n;n=t&&t.length>0?"\u5e94\u7528\u6709\u591a\u4e2a\u670d\u52a1\u7a7a\u95f4\uff0c\u8bf7\u901a\u8fc7uniCloud.init\u65b9\u6cd5\u6307\u5b9a\u8981\u4f7f\u7528\u7684\u670d\u52a1\u7a7a\u95f4":"\u5e94\u7528\u672a\u5173\u8054\u670d\u52a1\u7a7a\u95f4\uff0c\u8bf7\u5728uniCloud\u76ee\u5f55\u53f3\u952e\u5173\u8054\u670d\u52a1\u7a7a\u95f4",["auth","callFunction","uploadFile","deleteFile","getTempFileURL","downloadFile","database","getCurrentUSerInfo","importObject"].forEach((function(t){wn[t]=function(){return console.error(n),Promise.reject(new gt({code:"SYS_ERR",message:n}))}}))}if(Object.assign(wn,{get mixinDatacom(){return dn(wn)}}),rn(wn),wn.addInterceptor=Z,wn.removeInterceptor=tt,wn.interceptObject=nt,"app"===G&&(uni.__uniCloud=wn),"app"===G||"web"===G){var a=function(){return V||(V=function(){if("undefined"!=typeof globalThis)return globalThis;if("undefined"!=typeof self)return self;if("undefined"!=typeof window)return window;function t(){return this}return void 0!==t()?t():new Function("return this")()}(),V)}();a.uniCloud=wn,a.UniCloudError=gt}}();var Sn=wn;e.default=Sn}).call(this,i("0ee4"),i("ed83")["default"])},"862a":function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return a})),i.d(e,"a",(function(){}));var n=function(){var t=this.$createElement,e=this._self._c||t;return e("view",{staticClass:this._$s(0,"sc","container loading3"),attrs:{_i:0}},[e("view",{staticClass:this._$s(1,"sc","shape shape1"),attrs:{_i:1}}),e("view",{staticClass:this._$s(2,"sc","shape shape2"),attrs:{_i:2}}),e("view",{staticClass:this._$s(3,"sc","shape shape3"),attrs:{_i:3}}),e("view",{staticClass:this._$s(4,"sc","shape shape4"),attrs:{_i:4}})])},a=[]},"8a5a":function(t,e,i){"use strict";i.r(e);var n=i("3400"),a=i("e9e1");for(var r in a)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(r);var o=i("828b"),s=Object(o["a"])(a["default"],n["b"],n["c"],!1,null,"39559fc8",null,!1,n["a"],void 0);e["default"]=s.exports},"8b6b":function(t,e,i){"use strict";i.r(e);var n=i("f92d"),a=i.n(n);for(var r in n)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(r);e["default"]=a.a},"8d12":function(t,e,i){t.exports=i.p+"static/g1.png"},"8ffa":function(t,e,i){var n=i("7647");t.exports=function(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&n(t,e)},t.exports.__esModule=!0,t.exports["default"]=t.exports},9008:function(t,e){t.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},t.exports.__esModule=!0,t.exports["default"]=t.exports},"907f":function(t,e,i){"use strict";i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return r})),i.d(e,"a",(function(){return n}));var n={uniTransition:i("997e").default,yBox:i("357c").default,qiunDataCharts:i("8325").default,uniPopup:i("a640").default,uniPopupDialog:i("ed43").default},a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("view",{staticClass:t._$s(0,"sc","container"),attrs:{_i:0}},[n("uni-transition",{attrs:{duration:t.duration,"mode-class":t.homeMode,show:t.homeViewShow,_i:1}},[n("view",{staticClass:t._$s(2,"sc","home-view"),attrs:{_i:2}},[n("view",{staticClass:t._$s(3,"sc","head"),attrs:{_i:3}},[n("text")]),n("view",{staticClass:t._$s(5,"sc","time-tools"),attrs:{_i:5}},[t._v(t._$s(5,"t0-0",t._s(t.calendar)))]),n("view",{staticClass:t._$s(6,"sc","version"),attrs:{_i:6}},[t._v(t._$s(6,"t0-0",t._s(t.version)))]),n("view",{staticClass:t._$s(7,"sc","button-left"),attrs:{_i:7},on:{click:function(e){return t.ejected()}}}),n("view",{staticClass:t._$s(8,"sc","button-right"),attrs:{_i:8},on:{click:function(e){return t.ejected()}}}),n("view",{staticClass:t._$s(9,"sc","main"),attrs:{_i:9}},[n("view",{staticClass:t._$s(10,"sc","mian-item"),attrs:{_i:10}},[n("view",{staticClass:t._$s(11,"sc","mian-item-box"),attrs:{_i:11}},[n("y-box",{attrs:{_i:12}},[n("view",{staticClass:t._$s(13,"sc","box-item"),attrs:{_i:13}},[n("text",{staticClass:t._$s(14,"sc","item-title"),attrs:{_i:14}}),n("text",{staticClass:t._$s(15,"sc","item-subTitle"),attrs:{_i:15}})]),n("view",{staticClass:t._$s(16,"sc","box-item"),attrs:{_i:16}},[n("text",{staticClass:t._$s(17,"sc","item-title"),attrs:{_i:17}}),n("text",{staticClass:t._$s(18,"sc","item-subTitle"),attrs:{_i:18}}),n("view",{staticClass:t._$s(19,"sc","img-box"),attrs:{_i:19}},t._l(t._$s(20,"f",{forItems:t.locList}),(function(e,i,a,r){return n("view",{key:t._$s(20,"f",{forIndex:a,key:i})},[n("view",[t._v(t._$s("21-"+r,"t0-0",t._s(e.matnr)))]),n("view",[t._v(t._$s("22-"+r,"t0-0",t._s(e.matnrCount)))])])})),0)]),n("view",{staticClass:t._$s(23,"sc","box-item"),attrs:{_i:23}},[n("view",{staticClass:t._$s(24,"sc","flex-row"),attrs:{_i:24}},[n("view",{staticClass:t._$s(25,"sc","flex-col"),attrs:{_i:25}},[n("text",{staticClass:t._$s(26,"sc","item-title"),attrs:{_i:26}}),n("text",{staticClass:t._$s(27,"sc","item-subTitle"),attrs:{_i:27}})]),n("view",[n("view",{staticClass:t._$s(29,"sc","flex-col"),attrs:{_i:29}},[n("text",{staticClass:t._$s(30,"sc","item-title"),attrs:{_i:30}},[t._v(t._$s(30,"t0-0",t._s(t.baseInfo.usedPr)))])])])]),n("view",{staticClass:t._$s(31,"sc","flex-col"),attrs:{_i:31}},[n("view",{staticClass:t._$s(32,"sc","flex-row"),attrs:{_i:32}},[n("view",{staticClass:t._$s(33,"sc","progressBar"),attrs:{_i:33}},[n("view",{staticClass:t._$s(34,"sc","progress"),style:t._$s(34,"s","width:"+t.baseInfo.usedPr+"%"),attrs:{_i:34}})]),n("view",[t._v(t._$s(35,"t0-0",t._s(t.baseInfo.used)))])])])])])],1)]),n("view",{staticClass:t._$s(36,"sc","mian-item"),attrs:{_i:36}},[n("view",{staticClass:t._$s(37,"sc","mian-item-box"),attrs:{_i:37}},[n("view",[n("view",[n("y-box",{attrs:{_i:40}},[n("view",{staticClass:t._$s(41,"sc","box-item"),attrs:{_i:41}},[n("view",{staticClass:t._$s(42,"sc","flex-row"),attrs:{_i:42}},[n("view",{staticClass:t._$s(43,"sc","flex-col"),attrs:{_i:43}},[n("text",{staticClass:t._$s(44,"sc","item-title"),attrs:{_i:44}}),n("text",{staticClass:t._$s(45,"sc","item-subTitle"),attrs:{_i:45}})]),n("view",[n("view",{staticClass:t._$s(47,"sc","flex-col"),attrs:{_i:47}})])]),n("view",{staticClass:t._$s(48,"sc","charts-box"),attrs:{_i:48}},[n("qiun-data-charts",{attrs:{type:"line",chartData:t.chartsDataLine1,echartsH5:!0,echartsApp:!0,_i:49}})],1)])])],1),n("view"),n("view",[n("y-box",{attrs:{_i:52}},[n("view",{staticClass:t._$s(53,"sc","box-item"),attrs:{_i:53}},[n("view",{staticClass:t._$s(54,"sc","flex-row"),attrs:{_i:54}},[n("view",{staticClass:t._$s(55,"sc","flex-col"),attrs:{_i:55}},[n("text",{staticClass:t._$s(56,"sc","item-title"),attrs:{_i:56}}),n("text",{staticClass:t._$s(57,"sc","item-subTitle"),attrs:{_i:57}})]),n("view",[n("view",{staticClass:t._$s(59,"sc","flex-col"),attrs:{_i:59}},[n("text",{staticClass:t._$s(60,"sc","item-title"),attrs:{_i:60}}),n("text",{staticClass:t._$s(61,"sc","item-subTitle"),attrs:{_i:61}})])])]),n("view",{staticClass:t._$s(62,"sc","flex-row"),attrs:{_i:62}},[n("view",{staticClass:t._$s(63,"sc","charts-box-ring"),attrs:{_i:63}},[n("qiun-data-charts",{attrs:{type:"ring",opts:{legend:{position:"bottom"}},eopts:t.ringOpts,chartData:t.chartsDataPie2,echartsH5:!0,echartsApp:!0,_i:64}})],1),n("view",[n("view",{staticClass:t._$s(66,"sc","flex-row sub-info"),attrs:{_i:66}},[n("image",{attrs:{src:t._$s(67,"a-src",i("8d12")),_i:67}}),n("view"),n("view",[t._v(t._$s(69,"t0-0",t._s(t.baseInfo.stockCount)))])]),n("view",{staticClass:t._$s(70,"sc","flex-row sub-info"),attrs:{_i:70}},[n("image",{attrs:{src:t._$s(71,"a-src",i("1b21")),_i:71}}),n("view"),n("view",[t._v(t._$s(73,"t0-0",t._s(t.baseInfo.emptyCount)))])]),n("view",{staticClass:t._$s(74,"sc","flex-row sub-info"),attrs:{_i:74}},[n("image",{attrs:{src:t._$s(75,"a-src",i("0c2e")),_i:75}}),n("view"),n("view",[t._v(t._$s(77,"t0-0",t._s(t.baseInfo.noneCount)))])])])])])])],1),n("view"),n("view",[n("view",[n("image",{attrs:{src:t._$s(81,"a-src",i("6597")),_i:81}})])])])])])])])]),n("uni-transition",{attrs:{duration:t.duration,"mode-class":t.infoMode,show:t.infoViewShow,_i:82}},[n("view",{staticClass:t._$s(83,"sc","home-view"),attrs:{_i:83}},[n("view",{staticClass:t._$s(84,"sc","head"),attrs:{_i:84}},[n("text",[t._v(t._$s(85,"t0-0",t._s(t.infoText.title)))])]),n("view",{staticClass:t._$s(86,"sc","time-tools"),attrs:{_i:86}},[t._v(t._$s(86,"t0-0",t._s(t.calendar)))]),n("view",{staticClass:t._$s(87,"sc","button-left"),attrs:{_i:87},on:{click:function(e){return t.ejected()}}}),n("view",{staticClass:t._$s(88,"sc","button-right"),attrs:{_i:88},on:{click:function(e){return t.ejected()}}}),n("view",{staticClass:t._$s(89,"sc","info-main"),attrs:{_i:89}},[n("view",{staticClass:t._$s(90,"sc","info-box"),attrs:{_i:90}},[n("y-box",{attrs:{_i:91}},[n("view",{staticClass:t._$s(92,"sc","text-content"),attrs:{_i:92}},[n("view",{staticClass:t._$s(93,"sc","swiper-head"),attrs:{_i:93}},[n("view",[t._v(t._$s(94,"t0-0",t._s(t.infoText.barcode)))]),n("view",[t._v(t._$s(95,"t0-0",t._s(t.infoText.workNo)))]),n("view",[t._v(t._$s(96,"t0-0",t._s(t.infoText.sourceLocNo)))]),n("view",[t._v(t._$s(97,"t0-0",t._s(t.infoText.staNo)))])]),n("view",{staticClass:t._$s(98,"sc","swiper-body"),attrs:{_i:98}},[n("swiper",{staticClass:t._$s(99,"sc","swiper-body-main"),attrs:{_i:99}},t._l(t._$s(100,"f",{forItems:t.swiperList}),(function(e,i,a,r){return n("swiper-item",{key:t._$s(100,"f",{forIndex:a,key:i}),staticClass:t._$s("100-"+r,"sc","swiper-item"),attrs:{_i:"100-"+r}},[n("view",[t._v(t._$s("101-"+r,"t0-0",t._s(i+1))+t._$s("101-"+r,"t0-1",t._s(t.swiperList.length)))]),n("view",[t._v(t._$s("102-"+r,"t0-0",t._s(e.matnr)))]),n("view",[t._v(t._$s("103-"+r,"t0-0",t._s(e.maknx)))]),n("view",[t._v(t._$s("104-"+r,"t0-0",t._s(e.specs)))]),n("view",[t._v(t._$s("105-"+r,"t0-0",t._s(e.batch)))]),n("view",[t._v(t._$s("106-"+r,"t0-0",t._s(e.orderNo)))]),n("view",[t._v(t._$s("107-"+r,"t0-0",t._s(e.customer)))]),n("view",[t._v(t._$s("108-"+r,"t0-0",t._s(e.count)))])])})),0)])])])],1)])])]),n("uni-transition",{attrs:{duration:t.duration,"mode-class":t.errorInfoMode,show:t.errorInfoViewShow,_i:109}},[n("view",{staticClass:t._$s(110,"sc","error-info-view"),attrs:{_i:110}},[n("view",{staticClass:t._$s(111,"sc","head"),attrs:{_i:111}},[n("text",[t._v(t._$s(112,"t0-0",t._s(t.infoText.title)))])]),n("view",{staticClass:t._$s(113,"sc","time-tools"),attrs:{_i:113}},[t._v(t._$s(113,"t0-0",t._s(t.calendar)))]),n("view",{staticClass:t._$s(114,"sc","button-left"),attrs:{_i:114}}),n("view",{staticClass:t._$s(115,"sc","button-right"),attrs:{_i:115}}),n("view",{staticClass:t._$s(116,"sc","info-main"),attrs:{_i:116}},[n("view",{staticClass:t._$s(117,"sc","info-box"),attrs:{_i:117}},[n("y-box",{attrs:{_i:118}},[n("view",{staticClass:t._$s(119,"sc","info-box-text"),attrs:{_i:119}},[n("view",{staticClass:t._$s(120,"sc","flex-col info-box-text-item"),attrs:{_i:120}},[t._v(t._$s(120,"t0-0",t._s(t.infoText.error)))])])])],1)])])]),n("view",{directives:[{name:"show",rawName:"v-show",value:t._$s(121,"v-show",t.ejectShow),expression:"_$s(121,'v-show',ejectShow)"}],staticClass:t._$s(121,"sc","eject-mask"),attrs:{_i:121}},[n("view",{staticClass:t._$s(122,"sc","eject"),attrs:{_i:122}},[n("view",{staticClass:t._$s(123,"sc","eject-title"),attrs:{_i:123}}),n("scroll-view",{staticClass:t._$s(124,"sc","eject-input"),attrs:{_i:124}},[n("view",{staticClass:t._$s(125,"sc","item"),attrs:{_i:125}},[n("view",{staticClass:t._$s(126,"sc","desc"),attrs:{_i:126}}),n("view",{staticClass:t._$s(127,"sc","input"),attrs:{_i:127}},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.baseIP,expression:"baseIP"}],attrs:{_i:128},domProps:{value:t._$s(128,"v-model",t.baseIP)},on:{input:function(e){e.target.composing||(t.baseIP=e.target.value)}}})])]),n("view",{staticClass:t._$s(129,"sc","item"),attrs:{_i:129}},[n("view",{staticClass:t._$s(130,"sc","desc"),attrs:{_i:130}}),n("view",{staticClass:t._$s(131,"sc","input"),attrs:{_i:131}},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.basePort,expression:"basePort"}],attrs:{_i:132},domProps:{value:t._$s(132,"v-model",t.basePort)},on:{input:function(e){e.target.composing||(t.basePort=e.target.value)}}})])]),n("view",{staticClass:t._$s(133,"sc","item"),attrs:{_i:133}},[n("view",{staticClass:t._$s(134,"sc","desc"),attrs:{_i:134}}),n("view",{staticClass:t._$s(135,"sc","input"),attrs:{_i:135}},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.baseUrl,expression:"baseUrl"}],attrs:{_i:136},domProps:{value:t._$s(136,"v-model",t.baseUrl)},on:{input:function(e){e.target.composing||(t.baseUrl=e.target.value)}}})])]),n("view",{staticClass:t._$s(137,"sc","item"),attrs:{_i:137}},[n("view",{staticClass:t._$s(138,"sc","desc"),attrs:{_i:138}}),n("view",{staticClass:t._$s(139,"sc","input"),attrs:{_i:139}},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.wmsPort,expression:"wmsPort"}],attrs:{_i:140},domProps:{value:t._$s(140,"v-model",t.wmsPort)},on:{input:function(e){e.target.composing||(t.wmsPort=e.target.value)}}})])]),n("view",{staticClass:t._$s(141,"sc","item"),attrs:{_i:141}},[n("view",{staticClass:t._$s(142,"sc","desc"),attrs:{_i:142}}),n("view",{staticClass:t._$s(143,"sc","input"),attrs:{_i:143}},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.wmsUrl,expression:"wmsUrl"}],attrs:{_i:144},domProps:{value:t._$s(144,"v-model",t.wmsUrl)},on:{input:function(e){e.target.composing||(t.wmsUrl=e.target.value)}}})])]),n("view",{staticClass:t._$s(145,"sc","item"),attrs:{_i:145}},[n("view",{staticClass:t._$s(146,"sc","desc"),attrs:{_i:146}}),n("view",{staticClass:t._$s(147,"sc","input"),attrs:{_i:147}},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.baseLedId,expression:"baseLedId"}],attrs:{_i:148},domProps:{value:t._$s(148,"v-model",t.baseLedId)},on:{input:function(e){e.target.composing||(t.baseLedId=e.target.value)}}})])])]),n("view",{staticClass:t._$s(149,"sc","eject-button"),attrs:{_i:149}},[n("view",{staticClass:t._$s(150,"sc","button-item"),attrs:{_i:150},on:{click:t.ejectClose}}),n("view",{staticClass:t._$s(151,"sc","button-item"),attrs:{_i:151},on:{click:t.ejectConfirm}})])])]),n("view",[n("uni-popup",{ref:"upVersion",attrs:{type:"dialog",_i:153}},[n("uni-popup-dialog",{attrs:{type:t.msgType,title:"\u901a\u77e5",content:t.dialogContent,_i:154},on:{confirm:t.dialogConfirm,close:t.dialogClose}})],1)],1),n("view",{directives:[{name:"show",rawName:"v-show",value:t._$s(155,"v-show",t.timeOut),expression:"_$s(155,'v-show',timeOut)"}],attrs:{_i:155}},[t._v(t._$s(155,"t0-0",t._s(t.times)))])],1)},r=[]},"925e":function(t,e,i){"use strict";i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return r})),i.d(e,"a",(function(){return n}));var n={qiunDataCharts:i("8325").default,uniPopup:i("a640").default,uniPopupDialog:i("ed43").default},a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("view",{staticClass:t._$s(0,"sc","container"),attrs:{_i:0}},[n("view",{staticClass:t._$s(1,"sc","floor-screen"),class:t._$s(1,"c",t.floorMove),attrs:{_i:1}},[n("view",{staticClass:t._$s(2,"sc","head"),attrs:{_i:2}},[n("text",{attrs:{_i:3},on:{click:function(e){return t.port()}}}),n("view",{staticClass:t._$s(4,"sc","time-tools"),attrs:{_i:4}},[t._v(t._$s(4,"t0-0",t._s(t.year))+t._$s(4,"t0-1",t._s(t.month))+t._$s(4,"t0-2",t._s(t.day))+t._$s(4,"t0-3",t._s(t.hours))+t._$s(4,"t0-4",t._s(t.minutes))+t._$s(4,"t0-5",t._s(t.seconds))+t._$s(4,"t0-6",t._s(t.week)))]),n("view",{staticClass:t._$s(5,"sc","button-left"),attrs:{_i:5},on:{click:function(e){return t.ejected()}}}),n("view",{staticClass:t._$s(6,"sc","button-right"),attrs:{_i:6},on:{click:function(e){return t.ledId()}}})]),n("view",{staticClass:t._$s(7,"sc","main"),attrs:{_i:7}},[n("view",{staticClass:t._$s(8,"sc","main-sides"),attrs:{_i:8}},[n("view",{staticClass:t._$s(9,"sc","box"),attrs:{_i:9}},[n("view",{staticClass:t._$s(10,"sc","box-border box-border1"),attrs:{_i:10}}),n("view",{staticClass:t._$s(11,"sc","box-border box-border2"),attrs:{_i:11}}),n("view",{staticClass:t._$s(12,"sc","box-border box-border3"),attrs:{_i:12}}),n("view",{staticClass:t._$s(13,"sc","box-border box-border4"),attrs:{_i:13}}),n("view",{directives:[{name:"show",rawName:"v-show",value:t._$s(14,"v-show",!t.errorShow),expression:"_$s(14,'v-show',!errorShow)"}],attrs:{_i:14}},[n("view",{class:t._$s(15,"c",t.width),attrs:{_i:15}},[n("view",{staticClass:t._$s(16,"sc","box-items"),attrs:{_i:16}},[t._v(t._$s(16,"t0-0",t._s(t.title)))]),n("view",{staticClass:t._$s(17,"sc","box-items"),attrs:{_i:17}},[t._v(t._$s(17,"t0-0",t._s(t.staNo)))]),n("view",{staticClass:t._$s(18,"sc","box-items"),attrs:{_i:18}},[t._v(t._$s(18,"t0-0",t._s(t.maknx)))]),n("view",{staticClass:t._$s(19,"sc","box-items"),attrs:{_i:19}},[t._v(t._$s(19,"t0-0",t._s(t.specs)))]),n("view",{staticClass:t._$s(20,"sc","box-items"),attrs:{_i:20}},[t._v(t._$s(20,"t0-0",t._s(t.count)))])]),n("view",{directives:[{name:"show",rawName:"v-show",value:t._$s(21,"v-show",t.orderShow),expression:"_$s(21,'v-show',orderShow)"}],attrs:{_i:21}},[n("view",{staticClass:t._$s(22,"sc","box-items"),attrs:{_i:22}},[t._v(t._$s(22,"t0-0",t._s(t.orderNo)))]),n("view",{staticClass:t._$s(23,"sc","box-items"),attrs:{_i:23}},[t._v(t._$s(23,"t0-0",t._s(t.doneOfTray)))]),n("view",{staticClass:t._$s(24,"sc","box-items"),attrs:{_i:24}},[t._v(t._$s(24,"t0-0",t._s(t.totalOfTray)))]),n("view",{staticClass:t._$s(25,"sc","box-items"),attrs:{_i:25}},[t._v(t._$s(25,"t0-0",t._s(t.doneOfUnit)))]),n("view",{staticClass:t._$s(26,"sc","box-items"),attrs:{_i:26}},[t._v(t._$s(26,"t0-0",t._s(t.totalOfUnit)))])])]),n("view",{directives:[{name:"show",rawName:"v-show",value:t._$s(27,"v-show",t.errorShow),expression:"_$s(27,'v-show',errorShow)"}],attrs:{_i:27}},[n("view",[t._v(t._$s(28,"t0-0",t._s(t.errorMsg)))])])])])])]),n("view",{staticClass:t._$s(29,"sc","top-screen"),class:t._$s(29,"c",t.topMove),attrs:{_i:29}},[n("view",{staticClass:t._$s(30,"sc","head"),attrs:{_i:30}},[n("text",{attrs:{_i:31},on:{click:function(e){return t.port()}}}),n("view",{staticClass:t._$s(32,"sc","time-tools"),attrs:{_i:32}},[t._v(t._$s(32,"t0-0",t._s(t.year))+t._$s(32,"t0-1",t._s(t.month))+t._$s(32,"t0-2",t._s(t.day))+t._$s(32,"t0-3",t._s(t.hours))+t._$s(32,"t0-4",t._s(t.minutes))+t._$s(32,"t0-5",t._s(t.seconds))+t._$s(32,"t0-6",t._s(t.week)))]),n("view",{staticClass:t._$s(33,"sc","button-left"),attrs:{_i:33},on:{click:function(e){return t.ejected()}}}),n("view",{staticClass:t._$s(34,"sc","button-right"),attrs:{_i:34},on:{click:function(e){return t.ledId()}}})]),n("view",{staticClass:t._$s(35,"sc","main"),attrs:{_i:35}},[n("view",{staticClass:t._$s(36,"sc","main-sides"),attrs:{_i:36}},[n("view",{staticClass:t._$s(37,"sc","box box-lg"),attrs:{_i:37}},[n("view",{staticClass:t._$s(38,"sc","box-border box-border1"),attrs:{_i:38}}),n("view",{staticClass:t._$s(39,"sc","box-border box-border2"),attrs:{_i:39}}),n("view",{staticClass:t._$s(40,"sc","box-border box-border3"),attrs:{_i:40}}),n("view",{staticClass:t._$s(41,"sc","box-border box-border4"),attrs:{_i:41}}),n("view",{staticClass:t._$s(42,"sc","box-item introduce"),attrs:{_i:42}},[n("h3"),n("p",{staticClass:t._$s(44,"sc","english"),attrs:{_i:44}}),n("p",{staticClass:t._$s(45,"sc","introduce-content"),attrs:{_i:45}})]),n("view",{staticClass:t._$s(46,"sc","box-item charge-info"),attrs:{_i:46}},[n("h3"),n("p",{staticClass:t._$s(48,"sc","english"),attrs:{_i:48}}),n("view",{staticClass:t._$s(49,"sc","charge-info-item"),attrs:{_i:49}},[n("image",{attrs:{src:t._$s(50,"a-src",i("20f7")),_i:50}}),n("view",[n("text",{staticClass:t._$s(52,"sc","count"),attrs:{_i:52}},[t._v(t._$s(52,"t0-0",t._s(t.xDistance)))]),n("text",{staticClass:t._$s(53,"sc","unit"),attrs:{_i:53}})]),n("view")]),n("view",{staticClass:t._$s(55,"sc","charge-info-item"),attrs:{_i:55}},[n("image",{attrs:{src:t._$s(56,"a-src",i("7584")),_i:56}}),n("view",[n("text",{staticClass:t._$s(58,"sc","count"),attrs:{_i:58}},[t._v(t._$s(58,"t0-0",t._s(t.yDistance)))]),n("text",{staticClass:t._$s(59,"sc","unit"),attrs:{_i:59}})]),n("view")]),n("view",{staticClass:t._$s(61,"sc","charge-info-item"),attrs:{_i:61}},[n("image",{attrs:{src:t._$s(62,"a-src",i("6808")),_i:62}}),n("view",[n("text",{staticClass:t._$s(64,"sc","count"),attrs:{_i:64}},[t._v(t._$s(64,"t0-0",t._s(t.xDuration)))]),n("text",{staticClass:t._$s(65,"sc","unit"),attrs:{_i:65}})]),n("view")]),n("view",{staticClass:t._$s(67,"sc","charge-info-item"),attrs:{_i:67}},[n("image",{attrs:{src:t._$s(68,"a-src",i("a4cb")),_i:68}}),n("view",[n("text",{staticClass:t._$s(70,"sc","count"),attrs:{_i:70}},[t._v(t._$s(70,"t0-0",t._s(t.yDuration)))]),n("text",{staticClass:t._$s(71,"sc","unit"),attrs:{_i:71}})]),n("view")])]),n("view",{staticClass:t._$s(73,"sc","box-item use-info"),attrs:{_i:73}},[n("view",{staticClass:t._$s(74,"sc","use-left"),attrs:{_i:74}},[n("h3"),n("p",{staticClass:t._$s(76,"sc","english"),attrs:{_i:76}})]),n("view",{staticClass:t._$s(77,"sc","use-right"),attrs:{_i:77}},[n("h3",[t._v(t._$s(78,"t0-0",t._s(t.usedPr)))]),n("p",{staticClass:t._$s(79,"sc","english"),attrs:{_i:79}})]),n("view",{staticClass:t._$s(80,"sc","use-main"),attrs:{_i:80}},[n("view",{staticClass:t._$s(81,"sc","left"),attrs:{_i:81}},[n("view",{staticClass:t._$s(82,"sc","progressBar"),attrs:{_i:82}},[n("view",{staticClass:t._$s(83,"sc","progress"),style:t._$s(83,"s","width:"+t.usedPr+"%"),attrs:{_i:83}})])]),n("view",{staticClass:t._$s(84,"sc","right"),attrs:{_i:84}},[t._v(t._$s(84,"t0-0",t._s(t.used)))])])])])]),n("view",{staticClass:t._$s(85,"sc","main-sides"),attrs:{_i:85}},[n("view",{staticClass:t._$s(86,"sc","box box-tp"),attrs:{_i:86}},[n("view",{staticClass:t._$s(87,"sc","box-border box-border1"),attrs:{_i:87}}),n("view",{staticClass:t._$s(88,"sc","box-border box-border2"),attrs:{_i:88}}),n("view",{staticClass:t._$s(89,"sc","box-border box-border3"),attrs:{_i:89}}),n("view",{staticClass:t._$s(90,"sc","box-border box-border4"),attrs:{_i:90}}),n("view",{staticClass:t._$s(91,"sc","box-item right-item"),attrs:{_i:91}},[n("view",{staticClass:t._$s(92,"sc","sub-left"),attrs:{_i:92}},[n("h3"),n("p",{staticClass:t._$s(94,"sc","english"),attrs:{_i:94}})]),n("view",{staticClass:t._$s(95,"sc","sub-right"),attrs:{_i:95}},[n("h3"),n("p",{staticClass:t._$s(97,"sc","english"),attrs:{_i:97}})]),n("view",{staticClass:t._$s(98,"sc","sub-main"),attrs:{_i:98}},[n("view",{staticClass:t._$s(99,"sc","charts-box"),attrs:{_i:99}},[n("qiun-data-charts",{attrs:{type:"line",chartData:t.chartsDataLine1,echartsH5:!0,echartsApp:!0,_i:100}})],1)])])]),n("view",{staticClass:t._$s(101,"sc","box box-md"),attrs:{_i:101}},[n("view",{staticClass:t._$s(102,"sc","box-border box-border1"),attrs:{_i:102}}),n("view",{staticClass:t._$s(103,"sc","box-border box-border2"),attrs:{_i:103}}),n("view",{staticClass:t._$s(104,"sc","box-border box-border3"),attrs:{_i:104}}),n("view",{staticClass:t._$s(105,"sc","box-border box-border4"),attrs:{_i:105}}),n("view",{staticClass:t._$s(106,"sc","box-item right-item"),attrs:{_i:106}},[n("view",{staticClass:t._$s(107,"sc","sub-left"),attrs:{_i:107}},[n("h3"),n("p",{staticClass:t._$s(109,"sc","english"),attrs:{_i:109}})]),n("view",{staticClass:t._$s(110,"sc","sub-right"),attrs:{_i:110}},[n("h3"),n("p",{staticClass:t._$s(112,"sc","english"),attrs:{_i:112}})]),n("view",{staticClass:t._$s(113,"sc","sub-main"),attrs:{_i:113}},[n("view",{staticClass:t._$s(114,"sc","charts-box ring"),attrs:{_i:114}},[n("qiun-data-charts",{attrs:{type:"ring",opts:{legend:{position:"bottom"}},eopts:t.ringOpts,chartData:t.chartsDataPie2,echartsH5:!0,echartsApp:!0,_i:115}})],1),n("view",{staticClass:t._$s(116,"sc","sub-main-right"),attrs:{_i:116}},[n("view",{staticClass:t._$s(117,"sc","sub-info"),attrs:{_i:117}},[n("image",{attrs:{src:t._$s(118,"a-src",i("8d12")),_i:118}}),n("text"),n("text",[t._v(t._$s(120,"t0-0",t._s(t.stockCount)))])]),n("view",{staticClass:t._$s(121,"sc","sub-info"),attrs:{_i:121}},[n("image",{attrs:{src:t._$s(122,"a-src",i("1b21")),_i:122}}),n("text"),n("text",[t._v(t._$s(124,"t0-0",t._s(t.emptyCount)))])]),n("view",{staticClass:t._$s(125,"sc","sub-info"),attrs:{_i:125}},[n("image",{attrs:{src:t._$s(126,"a-src",i("0c2e")),_i:126}}),n("text"),n("text",[t._v(t._$s(128,"t0-0",t._s(t.noneCount)))])])])])])]),n("view",{staticClass:t._$s(129,"sc","box box-bt"),attrs:{_i:129}},[n("view",{staticClass:t._$s(130,"sc","box-border box-border1"),attrs:{_i:130}}),n("view",{staticClass:t._$s(131,"sc","box-border box-border2"),attrs:{_i:131}}),n("view",{staticClass:t._$s(132,"sc","box-border box-border3"),attrs:{_i:132}}),n("view",{staticClass:t._$s(133,"sc","box-border box-border4"),attrs:{_i:133}}),n("view",{attrs:{_i:134},on:{click:function(e){return t.crn()}}})])])])]),n("view",[n("uni-popup",{ref:"url",attrs:{type:"dialog",_i:136}},[n("uni-popup-dialog",{ref:"inputClose",attrs:{mode:"input",title:"\u914d\u7f6eurl",value:t.baseIP,placeholder:"\u793a\u4f8b:192.168.1.1",_i:137},on:{confirm:t.baseUrlConfirm}})],1)],1),n("view",[n("uni-popup",{ref:"ledId",attrs:{type:"dialog",_i:139}},[n("uni-popup-dialog",{ref:"inputClose",attrs:{mode:"input",title:"\u914d\u7f6eledId",value:t.baseLedId,placeholder:"\u793a\u4f8b:188",_i:140},on:{confirm:t.ledIdConfirm}})],1)],1),n("view",[n("uni-popup",{ref:"port",attrs:{type:"dialog",_i:142}},[n("uni-popup-dialog",{ref:"inputClose",attrs:{mode:"input",title:"\u914d\u7f6e\u7aef\u53e3\u53f7",value:t.basePort,placeholder:"\u793a\u4f8b:9090",_i:143},on:{confirm:t.portConfirm}})],1)],1),n("view",[n("uni-popup",{ref:"crnId",attrs:{type:"dialog",_i:145}},[n("uni-popup-dialog",{ref:"inputClose",attrs:{mode:"input",title:"\u914d\u7f6e\u5806\u579b\u673a",value:t.crnId,placeholder:"\u793a\u4f8b:1",_i:146},on:{confirm:t.crnConfirm}})],1)],1),n("view",{directives:[{name:"show",rawName:"v-show",value:t._$s(147,"v-show",t.ejectShow),expression:"_$s(147,'v-show',ejectShow)"}],staticClass:t._$s(147,"sc","eject-mask"),attrs:{_i:147}},[n("view",{staticClass:t._$s(148,"sc","eject"),attrs:{_i:148}},[n("view",{staticClass:t._$s(149,"sc","eject-title"),attrs:{_i:149}}),n("view",{staticClass:t._$s(150,"sc","eject-input"),attrs:{_i:150}},[n("view",{staticClass:t._$s(151,"sc","item"),attrs:{_i:151}},[n("view",{staticClass:t._$s(152,"sc","desc"),attrs:{_i:152}}),n("view",{staticClass:t._$s(153,"sc","input"),attrs:{_i:153}},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.baseIP,expression:"baseIP"}],attrs:{_i:154},domProps:{value:t._$s(154,"v-model",t.baseIP)},on:{input:function(e){e.target.composing||(t.baseIP=e.target.value)}}})])]),n("view",{staticClass:t._$s(155,"sc","item"),attrs:{_i:155}},[n("view",{staticClass:t._$s(156,"sc","desc"),attrs:{_i:156}}),n("view",{staticClass:t._$s(157,"sc","input"),attrs:{_i:157}},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.basePort,expression:"basePort"}],attrs:{_i:158},domProps:{value:t._$s(158,"v-model",t.basePort)},on:{input:function(e){e.target.composing||(t.basePort=e.target.value)}}})])]),n("view",{staticClass:t._$s(159,"sc","item"),attrs:{_i:159}},[n("view",{staticClass:t._$s(160,"sc","desc"),attrs:{_i:160}}),n("view",{staticClass:t._$s(161,"sc","input"),attrs:{_i:161}},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.baseLedId,expression:"baseLedId"}],attrs:{_i:162},domProps:{value:t._$s(162,"v-model",t.baseLedId)},on:{input:function(e){e.target.composing||(t.baseLedId=e.target.value)}}})])]),n("view",{staticClass:t._$s(163,"sc","item"),attrs:{_i:163}},[n("view",{staticClass:t._$s(164,"sc","desc"),attrs:{_i:164}}),n("view",{staticClass:t._$s(165,"sc","input"),attrs:{_i:165}},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.baseCrnId,expression:"baseCrnId"}],attrs:{_i:166},domProps:{value:t._$s(166,"v-model",t.baseCrnId)},on:{input:function(e){e.target.composing||(t.baseCrnId=e.target.value)}}})])])]),n("view",{staticClass:t._$s(167,"sc","eject-button"),attrs:{_i:167}},[n("view",{staticClass:t._$s(168,"sc","button-item"),attrs:{_i:168},on:{click:t.ejectClose}}),n("view",{staticClass:t._$s(169,"sc","button-item"),attrs:{_i:169},on:{click:t.ejectConfirm}})])])])])},r=[]},"931d":function(t,e,i){var n=i("7647"),a=i("011a");t.exports=function(t,e,i){if(a())return Reflect.construct.apply(null,arguments);var r=[null];r.push.apply(r,e);var o=new(t.bind.apply(t,r));return i&&n(o,i.prototype),o},t.exports.__esModule=!0,t.exports["default"]=t.exports},9399:function(t,e,i){"use strict";i.r(e);var n=i("858a"),a=i.n(n);for(var r in n)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(r);e["default"]=a.a},"951c":function(t,e){t.exports=Vue},"96bc":function(t,e,i){if("undefined"===typeof Promise||Promise.prototype.finally||(Promise.prototype.finally=function(t){var e=this.constructor;return this.then((function(i){return e.resolve(t()).then((function(){return i}))}),(function(i){return e.resolve(t()).then((function(){throw i}))}))}),"undefined"!==typeof uni&&uni&&uni.requireGlobal){var n=uni.requireGlobal();ArrayBuffer=n.ArrayBuffer,Int8Array=n.Int8Array,Uint8Array=n.Uint8Array,Uint8ClampedArray=n.Uint8ClampedArray,Int16Array=n.Int16Array,Uint16Array=n.Uint16Array,Int32Array=n.Int32Array,Uint32Array=n.Uint32Array,Float32Array=n.Float32Array,Float64Array=n.Float64Array,BigInt64Array=n.BigInt64Array,BigUint64Array=n.BigUint64Array}uni.restoreGlobal&&uni.restoreGlobal(weex,plus,setTimeout,clearTimeout,setInterval,clearInterval),__definePage("pages/home/home",(function(){return Vue.extend(i("3b29").default)})),__definePage("pages/test/test",(function(){return Vue.extend(i("28cf").default)})),__definePage("pages/index",(function(){return Vue.extend(i("5e2e").default)})),__definePage("pages/index/index",(function(){return Vue.extend(i("e4d6").default)})),__definePage("pages/index/monitor",(function(){return Vue.extend(i("bfff").default)})),__definePage("pages/test/test",(function(){return Vue.extend(i("28cf").default)}))},"96e5":function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return a})),i.d(e,"a",(function(){}));var n=function(){var t=this.$createElement,e=this._self._c||t;return e("view",{staticClass:this._$s(0,"sc","container loading5"),attrs:{_i:0}},[e("view",{staticClass:this._$s(1,"sc","shape shape1"),attrs:{_i:1}}),e("view",{staticClass:this._$s(2,"sc","shape shape2"),attrs:{_i:2}}),e("view",{staticClass:this._$s(3,"sc","shape shape3"),attrs:{_i:3}}),e("view",{staticClass:this._$s(4,"sc","shape shape4"),attrs:{_i:4}})])},a=[]},"997e":function(t,e,i){"use strict";i.r(e);var n=i("4c8c"),a=i("8b6b");for(var r in a)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(r);var o=i("828b"),s=Object(o["a"])(a["default"],n["b"],n["c"],!1,null,null,null,!1,n["a"],void 0);e["default"]=s.exports},"9e36":function(t,e,i){"use strict";(function(t){var n=i("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=n(i("af34")),r=n(i("3b2d")),o=n(i("67ad")),s=n(i("0bdb")),c=function(){function e(t){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};(0,o.default)(this,e),this.url=t,this.options=Object.assign({heartbeatInterval:3e4,reconnectInterval:3e3,maxReconnectAttempts:-1,heartbeatMessage:JSON.stringify({to:"heartbeat"}),onMessage:null,onOpen:null,onClose:null,onError:null,onReconnect:null},i),this.socketTask=null,this.isConnected=!1,this.isConnecting=!1,this.reconnectAttempts=0,this.heartbeatTimer=null,this.reconnectTimer=null,this.messageQueue=[],this.isManualClose=!1}return(0,s.default)(e,[{key:"connect",value:function(){var e=this;this.isConnecting||(this.isConnecting=!0,this.socketTask=uni.connectSocket({url:this.url,header:this.options.header||{},protocols:this.options.protocols||[],success:function(){t("log","WebSocket\u8fde\u63a5\u521b\u5efa\u6210\u529f"," at pages/home/uniWebSocket.js:60")},fail:function(i){t("error","WebSocket\u8fde\u63a5\u521b\u5efa\u5931\u8d25",i," at pages/home/uniWebSocket.js:63"),e.reconnect()},complete:function(){e.isConnecting=!1}}),this.socketTask.onOpen((function(i){t("log","WebSocket\u8fde\u63a5\u5df2\u6253\u5f00",i," at pages/home/uniWebSocket.js:73"),e.isConnected=!0,e.reconnectAttempts=0,e.reconnectTimer&&(clearTimeout(e.reconnectTimer),e.reconnectTimer=null),e.startHeartbeat(),e.flushMessageQueue(),"function"===typeof e.options.onOpen&&e.options.onOpen(i)})),this.socketTask.onMessage((function(t){"function"===typeof e.options.onMessage&&e.options.onMessage(t)})),this.socketTask.onError((function(i){t("error","WebSocket\u53d1\u751f\u9519\u8bef",i," at pages/home/uniWebSocket.js:105"),e.isConnected=!1,"function"===typeof e.options.onError&&e.options.onError(i),e.isManualClose||e.reconnect()})),this.socketTask.onClose((function(i){t("log","WebSocket\u8fde\u63a5\u5df2\u5173\u95ed",i," at pages/home/uniWebSocket.js:121"),e.isConnected=!1,e.stopHeartbeat(),"function"===typeof e.options.onClose&&e.options.onClose(i),e.isManualClose||e.reconnect()})))}},{key:"reconnect",value:function(){var e=this;this.isManualClose||-1!==this.options.maxReconnectAttempts&&this.reconnectAttempts>=this.options.maxReconnectAttempts||(this.reconnectTimer&&clearTimeout(this.reconnectTimer),this.reconnectAttempts++,t("log","WebSocket\u5c1d\u8bd5\u7b2c".concat(this.reconnectAttempts,"\u6b21\u91cd\u8fde...")," at pages/home/uniWebSocket.js:160"),this.reconnectTimer=setTimeout((function(){e.connect()}),this.options.reconnectInterval),"function"===typeof this.options.onReconnect&&this.options.onReconnect({attempts:this.reconnectAttempts,maxAttempts:this.options.maxReconnectAttempts}))}},{key:"startHeartbeat",value:function(){var e=this;this.stopHeartbeat(),this.heartbeatTimer=setInterval((function(){e.isConnected&&e.socketTask&&1===e.socketTask.readyState&&(t("log","WebSocket\u53d1\u9001\u5fc3\u8df3"," at pages/home/uniWebSocket.js:186"),e.send(e.options.heartbeatMessage))}),this.options.heartbeatInterval)}},{key:"stopHeartbeat",value:function(){this.heartbeatTimer&&(clearInterval(this.heartbeatTimer),this.heartbeatTimer=null)}},{key:"send",value:function(e){var i=this;return new Promise((function(n,a){"object"===(0,r.default)(e)&&(e=JSON.stringify(e)),i.isConnected&&i.socketTask?i.socketTask.send({data:e,success:function(i){t("log","WebSocket\u6d88\u606f\u53d1\u9001\u6210\u529f",e," at pages/home/uniWebSocket.js:219"),n(i)},fail:function(e){t("error","WebSocket\u6d88\u606f\u53d1\u9001\u5931\u8d25",e," at pages/home/uniWebSocket.js:223"),a(e)}}):(t("log","WebSocket\u8fde\u63a5\u672a\u6253\u5f00\uff0c\u6d88\u606f\u52a0\u5165\u961f\u5217",e," at pages/home/uniWebSocket.js:229"),i.messageQueue.push({data:e,resolve:n,reject:a}),i.isConnected||i.isConnecting||i.connect())}))}},{key:"flushMessageQueue",value:function(){var e=this;if(0!==this.messageQueue.length){t("log","WebSocket\u53d1\u9001\u961f\u5217\u4e2d\u7684".concat(this.messageQueue.length,"\u6761\u6d88\u606f")," at pages/home/uniWebSocket.js:250");var i=(0,a.default)(this.messageQueue);this.messageQueue=[],i.forEach((function(i){e.socketTask.send({data:i.data,success:function(e){t("log","WebSocket\u961f\u5217\u6d88\u606f\u53d1\u9001\u6210\u529f",i.data," at pages/home/uniWebSocket.js:261"),i.resolve(e)},fail:function(e){t("error","WebSocket\u961f\u5217\u6d88\u606f\u53d1\u9001\u5931\u8d25",e," at pages/home/uniWebSocket.js:265"),i.reject(e)}})}))}}},{key:"close",value:function(){this.isManualClose=!0,this.stopHeartbeat(),this.reconnectTimer&&(clearTimeout(this.reconnectTimer),this.reconnectTimer=null),this.socketTask&&this.isConnected&&this.socketTask.close({code:1e3,reason:"Manual close",success:function(){t("log","WebSocket\u8fde\u63a5\u5df2\u624b\u52a8\u5173\u95ed"," at pages/home/uniWebSocket.js:293")},fail:function(e){t("error","WebSocket\u5173\u95ed\u5931\u8d25",e," at pages/home/uniWebSocket.js:296")}})}},{key:"reset",value:function(){this.isManualClose=!1,this.reconnectAttempts=0,this.isConnected||this.connect()}}]),e}(),l=c;e.default=l}).call(this,i("f3b9")["default"])},"9eba":function(t,e,i){"use strict";i.r(e);var n=i("dffb"),a=i("b854");for(var r in a)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(r);var o=i("828b"),s=Object(o["a"])(a["default"],n["b"],n["c"],!1,null,null,null,!1,n["a"],void 0);e["default"]=s.exports},"9fc1":function(t,e,i){var n=i("3b2d")["default"];function a(){"use strict";
+/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */t.exports=a=function(){return i},t.exports.__esModule=!0,t.exports["default"]=t.exports;var e,i={},r=Object.prototype,o=r.hasOwnProperty,s=Object.defineProperty||function(t,e,i){t[e]=i.value},c="function"==typeof Symbol?Symbol:{},l=c.iterator||"@@iterator",u=c.asyncIterator||"@@asyncIterator",h=c.toStringTag||"@@toStringTag";function d(t,e,i){return Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{d({},"")}catch(e){d=function(t,e,i){return t[e]=i}}function f(t,e,i,n){var a=e&&e.prototype instanceof y?e:y,r=Object.create(a.prototype),o=new I(n||[]);return s(r,"_invoke",{value:A(t,i,o)}),r}function p(t,e,i){try{return{type:"normal",arg:t.call(e,i)}}catch(t){return{type:"throw",arg:t}}}i.wrap=f;var g="suspendedStart",v="executing",m="completed",x={};function y(){}function _(){}function b(){}var w={};d(w,l,(function(){return this}));var S=Object.getPrototypeOf,k=S&&S(S(M([])));k&&k!==r&&o.call(k,l)&&(w=k);var C=b.prototype=y.prototype=Object.create(w);function T(t){["next","throw","return"].forEach((function(e){d(t,e,(function(t){return this._invoke(e,t)}))}))}function P(t,e){function i(a,r,s,c){var l=p(t[a],t,r);if("throw"!==l.type){var u=l.arg,h=u.value;return h&&"object"==n(h)&&o.call(h,"__await")?e.resolve(h.__await).then((function(t){i("next",t,s,c)}),(function(t){i("throw",t,s,c)})):e.resolve(h).then((function(t){u.value=t,s(u)}),(function(t){return i("throw",t,s,c)}))}c(l.arg)}var a;s(this,"_invoke",{value:function(t,n){function r(){return new e((function(e,a){i(t,n,e,a)}))}return a=a?a.then(r,r):r()}})}function A(t,i,n){var a=g;return function(r,o){if(a===v)throw Error("Generator is already running");if(a===m){if("throw"===r)throw o;return{value:e,done:!0}}for(n.method=r,n.arg=o;;){var s=n.delegate;if(s){var c=O(s,n);if(c){if(c===x)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(a===g)throw a=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);a=v;var l=p(t,i,n);if("normal"===l.type){if(a=n.done?m:"suspendedYield",l.arg===x)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(a=m,n.method="throw",n.arg=l.arg)}}}function O(t,i){var n=i.method,a=t.iterator[n];if(a===e)return i.delegate=null,"throw"===n&&t.iterator["return"]&&(i.method="return",i.arg=e,O(t,i),"throw"===i.method)||"return"!==n&&(i.method="throw",i.arg=new TypeError("The iterator does not provide a '"+n+"' method")),x;var r=p(a,t.iterator,i.arg);if("throw"===r.type)return i.method="throw",i.arg=r.arg,i.delegate=null,x;var o=r.arg;return o?o.done?(i[t.resultName]=o.value,i.next=t.nextLoc,"return"!==i.method&&(i.method="next",i.arg=e),i.delegate=null,x):o:(i.method="throw",i.arg=new TypeError("iterator result is not an object"),i.delegate=null,x)}function L(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function D(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function I(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(L,this),this.reset(!0)}function M(t){if(t||""===t){var i=t[l];if(i)return i.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var a=-1,r=function i(){for(;++a<t.length;)if(o.call(t,a))return i.value=t[a],i.done=!1,i;return i.value=e,i.done=!0,i};return r.next=r}}throw new TypeError(n(t)+" is not iterable")}return _.prototype=b,s(C,"constructor",{value:b,configurable:!0}),s(b,"constructor",{value:_,configurable:!0}),_.displayName=d(b,h,"GeneratorFunction"),i.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===_||"GeneratorFunction"===(e.displayName||e.name))},i.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,b):(t.__proto__=b,d(t,h,"GeneratorFunction")),t.prototype=Object.create(C),t},i.awrap=function(t){return{__await:t}},T(P.prototype),d(P.prototype,u,(function(){return this})),i.AsyncIterator=P,i.async=function(t,e,n,a,r){void 0===r&&(r=Promise);var o=new P(f(t,e,n,a),r);return i.isGeneratorFunction(e)?o:o.next().then((function(t){return t.done?t.value:o.next()}))},T(C),d(C,h,"Generator"),d(C,l,(function(){return this})),d(C,"toString",(function(){return"[object Generator]"})),i.keys=function(t){var e=Object(t),i=[];for(var n in e)i.push(n);return i.reverse(),function t(){for(;i.length;){var n=i.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},i.values=M,I.prototype={constructor:I,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(D),!t)for(var i in this)"t"===i.charAt(0)&&o.call(this,i)&&!isNaN(+i.slice(1))&&(this[i]=e)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var i=this;function n(n,a){return s.type="throw",s.arg=t,i.next=n,a&&(i.method="next",i.arg=e),!!a}for(var a=this.tryEntries.length-1;a>=0;--a){var r=this.tryEntries[a],s=r.completion;if("root"===r.tryLoc)return n("end");if(r.tryLoc<=this.prev){var c=o.call(r,"catchLoc"),l=o.call(r,"finallyLoc");if(c&&l){if(this.prev<r.catchLoc)return n(r.catchLoc,!0);if(this.prev<r.finallyLoc)return n(r.finallyLoc)}else if(c){if(this.prev<r.catchLoc)return n(r.catchLoc,!0)}else{if(!l)throw Error("try statement without catch or finally");if(this.prev<r.finallyLoc)return n(r.finallyLoc)}}}},abrupt:function(t,e){for(var i=this.tryEntries.length-1;i>=0;--i){var n=this.tryEntries[i];if(n.tryLoc<=this.prev&&o.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var a=n;break}}a&&("break"===t||"continue"===t)&&a.tryLoc<=e&&e<=a.finallyLoc&&(a=null);var r=a?a.completion:{};return r.type=t,r.arg=e,a?(this.method="next",this.next=a.finallyLoc,x):this.complete(r)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),x},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var i=this.tryEntries[e];if(i.finallyLoc===t)return this.complete(i.completion,i.afterLoc),D(i),x}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var i=this.tryEntries[e];if(i.tryLoc===t){var n=i.completion;if("throw"===n.type){var a=n.arg;D(i)}return a}}throw Error("illegal catch attempt")},delegateYield:function(t,i,n){return this.delegate={iterator:M(t),resultName:i,nextLoc:n},"next"===this.method&&(this.arg=e),x}},i}t.exports=a,t.exports.__esModule=!0,t.exports["default"]=t.exports},a4cb:function(t,e,i){t.exports=i.p+"static/d1.png"},a640:function(t,e,i){"use strict";i.r(e);var n=i("4969"),a=i("7c9c");for(var r in a)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(r);var o=i("828b"),s=Object(o["a"])(a["default"],n["b"],n["c"],!1,null,null,null,!1,n["a"],void 0);e["default"]=s.exports},a708:function(t,e,i){var n=i("6454");t.exports=function(t){if(Array.isArray(t))return n(t)},t.exports.__esModule=!0,t.exports["default"]=t.exports},a9ce:function(t,e,i){"use strict";i.r(e);var n=i("bc8e"),a=i.n(n);for(var r in n)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(r);e["default"]=a.a},af34:function(t,e,i){var n=i("a708"),a=i("b893"),r=i("6382"),o=i("9008");t.exports=function(t){return n(t)||a(t)||r(t)||o()},t.exports.__esModule=!0,t.exports["default"]=t.exports},b4d2:function(t,e){function i(e){return t.exports=i=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},t.exports.__esModule=!0,t.exports["default"]=t.exports,i(e)}t.exports=i,t.exports.__esModule=!0,t.exports["default"]=t.exports},b854:function(t,e,i){"use strict";i.r(e);var n=i("c7a2"),a=i.n(n);for(var r in n)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(r);e["default"]=a.a},b893:function(t,e){t.exports=function(t){if("undefined"!==typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)},t.exports.__esModule=!0,t.exports["default"]=t.exports},b8d4:function(t,e,i){"use strict";i.r(e);var n=i("cad3"),a=i.n(n);for(var r in n)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(r);e["default"]=a.a},b9a5:function(t,e,i){"use strict";i.r(e);var n=i("4c4f"),a=i.n(n);for(var r in n)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(r);e["default"]=a.a},bc8e:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={name:"loading2",data:function(){return{}}}},bf04:function(t){t.exports=JSON.parse('{"localdata":[{"value":35,"text":"2016","group":"\u76ee\u6807\u503c"},{"value":18,"text":"2016","group":"\u5b8c\u6210\u91cf"},{"value":36,"text":"2017","group":"\u76ee\u6807\u503c"},{"value":27,"text":"2017","group":"\u5b8c\u6210\u91cf"},{"value":31,"text":"2018","group":"\u76ee\u6807\u503c"},{"value":21,"text":"2018","group":"\u5b8c\u6210\u91cf"},{"value":33,"text":"2019","group":"\u76ee\u6807\u503c"},{"value":24,"text":"2019","group":"\u5b8c\u6210\u91cf"},{"value":13,"text":"2020","group":"\u76ee\u6807\u503c"},{"value":6,"text":"2020","group":"\u5b8c\u6210\u91cf"},{"value":34,"text":"2021","group":"\u76ee\u6807\u503c"},{"value":28,"text":"2021","group":"\u5b8c\u6210\u91cf"}],"localdataB":[{"value":50,"text":"\u4e00\u73ed"},{"value":30,"text":"\u4e8c\u73ed"},{"value":20,"text":"\u4e09\u73ed"},{"value":18,"text":"\u56db\u73ed"},{"value":8,"text":"\u4e94\u73ed"}],"TLine":{"series":[{"name":"\u65f6\u95f4\u8f741","data":[[10000,55],[30000,25],[50000,55],[70000,25],[90000,55]]},{"name":"\u65f6\u95f4\u8f742","data":[[0,25],[20000,55],[40000,25],[60000,55],[80000,25]]},{"name":"\u65f6\u95f4\u8f743","data":[[0,55],[15000,25],[30000,55],[45000,25],[60000,55]]}]},"Scatter":{"series":[{"name":"\u6563\u70b9\u4e00","data":[[10,8.04],[8.07,6.95],[13,7.58],[9.05,8.81],[11,8.33],[14,7.66],[13.4,6.81],[10,6.33],[14,8.96],[12.5,6.82]]},{"name":"\u6563\u70b9\u4e8c","data":[[9.15,7.2],[11.5,7.2],[3.03,4.23],[12.2,7.83],[2.02,4.47],[1.05,3.33],[4.05,4.96],[6.03,7.24],[12,6.26],[12,8.84],[7.08,5.82],[5.02,5.68]]}]},"Bubble":{"series":[{"name":"\u6c14\u6ce1\u4e00","data":[[95,95,23,"\u6807\u98981"],[30,55,33,"\u6807\u98982"]]},{"name":"\u6c14\u6ce1\u4e8c","data":[[130,30,30,"\u6807\u98983"],[200,90,40,"\u6807\u98984"]]}]},"Column":{"categories":["2016","2017","2018","2019","2020","2021"],"series":[{"name":"\u76ee\u6807\u503c","data":[35,36,31,33,13,34]},{"name":"\u5b8c\u6210\u91cf","data":[18,27,21,24,6,28]}]},"ColumnA":{"categories":["2016","2017","2018","2019","2020","2021"],"series":[{"name":"\u6210\u4ea4\u91cf1","data":[15,{"value":20,"color":"#f04864"},45,37,43,34]},{"name":"\u6210\u4ea4\u91cf2","data":[30,{"value":40,"color":"#facc14"},25,14,34,18]}]},"Mix":{"categories":["2016","2017","2018","2019","2020","2021"],"series":[{"name":"\u66f2\u9762","data":[70,50,85,130,64,88],"type":"area","style":"curve"},{"name":"\u67f11","index":1,"data":[40,{"value":30,"color":"#f04864"},55,110,24,58],"type":"column"},{"name":"\u67f12","index":1,"data":[50,20,75,60,34,38],"type":"column"},{"name":"\u66f2\u7ebf","data":[70,50,85,130,64,88],"type":"line","style":"curve","color":"#1890ff","disableLegend":true},{"name":"\u6298\u7ebf","data":[120,140,105,170,95,160],"type":"line","color":"#2fc25b"},{"name":"\u70b9","index":2,"data":[100,80,125,150,112,132],"type":"point","color":"#f04864"}]},"Line":{"categories":["2016","2017","2018","2019","2020","2021"],"series":[{"name":"\u6210\u4ea4\u91cfA","data":[35,8,25,37,4,20]},{"name":"\u6210\u4ea4\u91cfB","data":[70,40,65,100,44,68]}]},"Pie":{"series":[{"name":"\u4e00\u73ed","data":50},{"name":"\u4e8c\u73ed","data":30},{"name":"\u4e09\u73ed","data":20},{"name":"\u56db\u73ed","data":18},{"name":"\u4e94\u73ed","data":8}]},"PieA":{"series":[{"data":[{"name":"\u5728\u5e93","value":314},{"name":"\u7a7a","value":1175},{"name":"\u7981\u7528","value":96}]}]},"Radar":{"categories":["\u7ef4\u5ea61","\u7ef4\u5ea62","\u7ef4\u5ea63","\u7ef4\u5ea64","\u7ef4\u5ea65","\u7ef4\u5ea66"],"series":[{"name":"\u6210\u4ea4\u91cf1","data":[90,110,165,195,187,172]},{"name":"\u6210\u4ea4\u91cf2","data":[190,210,105,35,27,102]}]},"Arcbar1":{"series":[{"name":"\u6b63\u786e\u7387","data":0.8,"color":"#2fc25b"}]},"Arcbar2":{"series":[{"name":"\u4e00\u73ed","data":0.8},{"name":"\u4e8c\u73ed","data":0.6},{"name":"\u4e09\u73ed","data":0.45},{"name":"\u56db\u73ed","data":0.3},{"name":"\u4e94\u73ed","data":0.15}]},"Gauge":{"categories":[{"value":0.2,"color":"#1890ff"},{"value":0.8,"color":"#2fc25b"},{"value":1,"color":"#f04864"}],"series":[{"name":"\u5b8c\u6210\u7387","data":0.66}]},"Candle":{"categories":["2020/1/24","2020/1/25","2020/1/28","2020/1/29","2020/1/30","2020/1/31","2020/2/1","2020/2/4","2020/2/5","2020/2/6","2020/2/7","2020/2/8","2020/2/18","2020/2/19","2020/2/20","2020/2/21","2020/2/22","2020/2/25","2020/2/26","2020/2/27","2020/2/28","2020/3/1","2020/3/4","2020/3/5","2020/3/6","2020/3/7","2020/3/8","2020/3/11","2020/3/12","2020/3/13","2020/3/14","2020/3/15","2020/3/18","2020/3/19","2020/3/20","2020/3/21","2020/3/22","2020/3/25","2020/3/26","2020/3/27","2020/3/28","2020/3/29","2020/4/1","2020/4/2","2020/4/3","2020/4/8","2020/4/9","2020/4/10","2020/4/11","2020/4/12","2020/4/15","2020/4/16","2020/4/17","2020/4/18","2020/4/19","2020/4/22","2020/4/23","2020/4/24","2020/4/25","2020/4/26","2020/5/2","2020/5/3","2020/5/6","2020/5/7","2020/5/8","2020/5/9","2020/5/10","2020/5/13","2020/5/14","2020/5/15","2020/5/16","2020/5/17","2020/5/20","2020/5/21","2020/5/22","2020/5/23","2020/5/24","2020/5/27","2020/5/28","2020/5/29","2020/5/30","2020/5/31","2020/6/3","2020/6/4","2020/6/5","2020/6/6","2020/6/7","2020/6/13"],"series":[{"name":"\u4e0a\u8bc1\u6307\u6570","data":[[2320.26,2302.6,2287.3,2362.94],[2300,2291.3,2288.26,2308.38],[2295.35,2346.5,2295.35,2346.92],[2347.22,2358.98,2337.35,2363.8],[2360.75,2382.48,2347.89,2383.76],[2383.43,2385.42,2371.23,2391.82],[2377.41,2419.02,2369.57,2421.15],[2425.92,2428.15,2417.58,2440.38],[2411,2433.13,2403.3,2437.42],[2432.68,2434.48,2427.7,2441.73],[2430.69,2418.53,2394.22,2433.89],[2416.62,2432.4,2414.4,2443.03],[2441.91,2421.56,2415.43,2444.8],[2420.26,2382.91,2373.53,2427.07],[2383.49,2397.18,2370.61,2397.94],[2378.82,2325.95,2309.17,2378.82],[2322.94,2314.16,2308.76,2330.88],[2320.62,2325.82,2315.01,2338.78],[2313.74,2293.34,2289.89,2340.71],[2297.77,2313.22,2292.03,2324.63],[2322.32,2365.59,2308.92,2366.16],[2364.54,2359.51,2330.86,2369.65],[2332.08,2273.4,2259.25,2333.54],[2274.81,2326.31,2270.1,2328.14],[2333.61,2347.18,2321.6,2351.44],[2340.44,2324.29,2304.27,2352.02],[2326.42,2318.61,2314.59,2333.67],[2314.68,2310.59,2296.58,2320.96],[2309.16,2286.6,2264.83,2333.29],[2282.17,2263.97,2253.25,2286.33],[2255.77,2270.28,2253.31,2276.22],[2269.31,2278.4,2250,2312.08],[2267.29,2240.02,2239.21,2276.05],[2244.26,2257.43,2232.02,2261.31],[2257.74,2317.37,2257.42,2317.86],[2318.21,2324.24,2311.6,2330.81],[2321.4,2328.28,2314.97,2332],[2334.74,2326.72,2319.91,2344.89],[2318.58,2297.67,2281.12,2319.99],[2299.38,2301.26,2289,2323.48],[2273.55,2236.3,2232.91,2273.55],[2238.49,2236.62,2228.81,2246.87],[2229.46,2234.4,2227.31,2243.95],[2234.9,2227.74,2220.44,2253.42],[2232.69,2225.29,2217.25,2241.34],[2196.24,2211.59,2180.67,2212.59],[2215.47,2225.77,2215.47,2234.73],[2224.93,2226.13,2212.56,2233.04],[2236.98,2219.55,2217.26,2242.48],[2218.09,2206.78,2204.44,2226.26],[2199.91,2181.94,2177.39,2204.99],[2169.63,2194.85,2165.78,2196.43],[2195.03,2193.8,2178.47,2197.51],[2181.82,2197.6,2175.44,2206.03],[2201.12,2244.64,2200.58,2250.11],[2236.4,2242.17,2232.26,2245.12],[2242.62,2184.54,2182.81,2242.62],[2187.35,2218.32,2184.11,2226.12],[2213.19,2199.31,2191.85,2224.63],[2203.89,2177.91,2173.86,2210.58],[2170.78,2174.12,2161.14,2179.65],[2179.05,2205.5,2179.05,2222.81],[2212.5,2231.17,2212.5,2236.07],[2227.86,2235.57,2219.44,2240.26],[2242.39,2246.3,2235.42,2255.21],[2246.96,2232.97,2221.38,2247.86],[2228.82,2246.83,2225.81,2247.67],[2247.68,2241.92,2231.36,2250.85],[2238.9,2217.01,2205.87,2239.93],[2217.09,2224.8,2213.58,2225.19],[2221.34,2251.81,2210.77,2252.87],[2249.81,2282.87,2248.41,2288.09],[2286.33,2299.99,2281.9,2309.39],[2297.11,2305.11,2290.12,2305.3],[2303.75,2302.4,2292.43,2314.18],[2293.81,2275.67,2274.1,2304.95],[2281.45,2288.53,2270.25,2292.59],[2286.66,2293.08,2283.94,2301.7],[2293.4,2321.32,2281.47,2322.1],[2323.54,2324.02,2321.17,2334.33],[2316.25,2317.75,2310.49,2325.72],[2320.74,2300.59,2299.37,2325.53],[2300.21,2299.25,2294.11,2313.43],[2297.1,2272.42,2264.76,2297.1],[2270.71,2270.93,2260.87,2276.86],[2264.43,2242.11,2240.07,2266.69],[2242.26,2210.9,2205.07,2250.63],[2190.1,2148.35,2126.22,2190.1]]}]},"CandleColumn":{"categories":["2020/1/24","2020/1/25","2020/1/28","2020/1/29","2020/1/30","2020/1/31","2020/2/1","2020/2/4","2020/2/5","2020/2/6","2020/2/7","2020/2/8","2020/2/18","2020/2/19","2020/2/20","2020/2/21","2020/2/22","2020/2/25","2020/2/26","2020/2/27","2020/2/28","2020/3/1","2020/3/4","2020/3/5","2020/3/6","2020/3/7","2020/3/8","2020/3/11","2020/3/12","2020/3/13","2020/3/14","2020/3/15","2020/3/18","2020/3/19","2020/3/20","2020/3/21","2020/3/22","2020/3/25","2020/3/26","2020/3/27","2020/3/28","2020/3/29","2020/4/1","2020/4/2","2020/4/3","2020/4/8","2020/4/9","2020/4/10","2020/4/11","2020/4/12","2020/4/15","2020/4/16","2020/4/17","2020/4/18","2020/4/19","2020/4/22","2020/4/23","2020/4/24","2020/4/25","2020/4/26","2020/5/2","2020/5/3","2020/5/6","2020/5/7","2020/5/8","2020/5/9","2020/5/10","2020/5/13","2020/5/14","2020/5/15","2020/5/16","2020/5/17","2020/5/20","2020/5/21","2020/5/22","2020/5/23","2020/5/24","2020/5/27","2020/5/28","2020/5/29","2020/5/30","2020/5/31","2020/6/3","2020/6/4","2020/6/5","2020/6/6","2020/6/7","2020/6/13"],"series":[{"name":"\u6210\u4ea4\u91cf1","data":[15,20,45,37,43,15,20,45,37,43,15,20,45,37,43,15,20,45,37,43,15,20,45,37,43,15,20,45,37,43,15,20,45,37,43,15,20,45,37,43,15,20,45,37,43,15,20,45,37,43,15,20,45,37,43,15,20,45,37,43,15,20,45,37,43,15,20,45,37,43,15,20,45,37,43,15,20,45,37,43,15,20,45,37,43,15,20,45]}]},"Word":{"series":[{"name":"\u8de8\u5168\u7aef\u56fe\u8868","textSize":25},{"name":"\u5fae\u4fe1\u5c0f\u7a0b\u5e8f","textSize":20},{"name":"\u652f\u4ed8\u5b9d\u5c0f\u7a0b\u5e8f","textSize":20},{"name":"\u767e\u5ea6\u5c0f\u7a0b\u5e8f","textSize":20},{"name":"QQ\u5c0f\u7a0b\u5e8f","textSize":20},{"name":"\u5934\u6761\u5c0f\u7a0b\u5e8f","textSize":20},{"name":"\u6296\u97f3\u5c0f\u7a0b\u5e8f","textSize":20},{"name":"360\u5c0f\u7a0b\u5e8f","textSize":20},{"name":"\u8de8\u5168\u7aef","textSize":10},{"name":"\u8de8\u5168\u7aef","textSize":12},{"name":"\u8de8\u5168\u7aef","textSize":10},{"name":"\u8de8\u5168\u7aef","textSize":12},{"name":"\u8de8\u5168\u7aef","textSize":10},{"name":"\u8de8\u5168\u7aef","textSize":12},{"name":"\u8de8\u5168\u7aef","textSize":10},{"name":"\u8de8\u5168\u7aef","textSize":12}]}}')},bfff:function(t,e,i){"use strict";i.r(e);var n=i("3c26"),a=i("b8d4");for(var r in a)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(r);var o=i("828b"),s=Object(o["a"])(a["default"],n["b"],n["c"],!1,null,"43f30b7e",null,!1,n["a"],void 0);e["default"]=s.exports},c547:function(t,e,i){"use strict";i.r(e);var n=i("7b82"),a=i.n(n);for(var r in n)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(r);e["default"]=a.a},c552:function(t,e,i){"use strict";var n=i("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.createAnimation=function(t,e){if(!e)return;return clearTimeout(e.timer),new l(t,e)};var a=n(i("7ca3")),r=n(i("67ad")),o=n(i("0bdb"));function s(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.push.apply(i,n)}return i}function c(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?s(Object(i),!0).forEach((function(e){(0,a.default)(t,e,i[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):s(Object(i)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))}))}return t}var l=function(){function t(e,i){(0,r.default)(this,t),this.options=e,this.animation=uni.createAnimation(e),this.currentStepAnimates={},this.next=0,this.$=i}return(0,o.default)(t,[{key:"_nvuePushAnimates",value:function(t,e){var i=this.currentStepAnimates[this.next],n={};if(n=i||{styles:{},config:{}},u.includes(t)){n.styles.transform||(n.styles.transform="");var a="";"rotate"===t&&(a="deg"),n.styles.transform+="".concat(t,"(").concat(e+a,") ")}else n.styles[t]="".concat(e);this.currentStepAnimates[this.next]=n}},{key:"_animateRun",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=this.$.$refs["ani"].ref;if(i)return new Promise((function(n,a){nvueAnimation.transition(i,c({styles:t},e),(function(t){n()}))}))}},{key:"_nvueNextAnimate",value:function(t){var e=this,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2?arguments[2]:void 0,a=t[i];if(a){var r=a.styles,o=a.config;this._animateRun(r,o).then((function(){i+=1,e._nvueNextAnimate(t,i,n)}))}else this.currentStepAnimates={},"function"===typeof n&&n(),this.isEnd=!0}},{key:"step",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.animation.step(t),this}},{key:"run",value:function(t){this.$.animationData=this.animation.export(),this.$.timer=setTimeout((function(){"function"===typeof t&&t()}),this.$.durationTime)}}]),t}(),u=["matrix","matrix3d","rotate","rotate3d","rotateX","rotateY","rotateZ","scale","scale3d","scaleX","scaleY","scaleZ","skew","skewX","skewY","translate","translate3d","translateX","translateY","translateZ"];u.concat(["opacity","backgroundColor"],["width","height","left","right","top","bottom"]).forEach((function(t){l.prototype[t]=function(){var e;return(e=this.animation)[t].apply(e,arguments),this}}))},c681:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={name:"loading3",data:function(){return{}}}},c7a2:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n={name:"qiun-error",props:{errorMessage:{type:String,default:null}},data:function(){return{}}};e.default=n},c959:function(t,e,i){"use strict";i.r(e);var n=i("862a"),a=i("078f");for(var r in a)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(r);var o=i("828b"),s=Object(o["a"])(a["default"],n["b"],n["c"],!1,null,"fcb66c2c",null,!1,n["a"],void 0);e["default"]=s.exports},cad3:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={name:"",data:function(){return{autoplay:!0,interval:1e3,duration:1e3,list:["\u8bf7\u70b9\u51fb\u53d1\u884c\u83dc\u5355\u8fdb\u884c\u53d1\u5e03","1","\u4f53\u79ef\u8f83\u5927\uff1b\u82e5\u8981\u6b63\u5f0f\u53d1\u5e03","2","\u8fd0\u884c\u6a21\u5f0f\u4e0b\u4e0d\u538b\u7f29\u4ee3\u7801\u4e14\u542b\u6709sourcemap","3","\u68c0\u67e5\u662f\u5426\u542f\u52a8\u591a\u4e2a\u5fae\u4fe1\u5f00\u53d1\u8005\u5de5\u5177\uff0c\u5982\u679c\u662f\u5219\u5173\u95ed\u6240\u6709\u6253\u5f00\u7684\u5fae\u4fe1\u5f00\u53d1\u8005\u5de5\u5177\uff0c","4","\u7136\u540e\u518d\u91cd\u65b0\u8fd0\u884c","5","\u5982\u679c\u51fa\u73b0\u5fae\u4fe1\u5f00\u53d1\u8005\u5de5\u5177\u542f\u52a8\u540e\u767d\u5c4f\u7684\u95ee\u9898","6","\u6216\u8005\u5173\u95ed\u5fae\u4fe1\u5f00\u53d1\u8005\u5de5\u5177\uff0c\u7136\u540e\u518d\u4eceHBuilderX\u4e2d\u542f\u52a8\u6307\u5b9a\u9875\u9762","7","\u53ef\u4ee5\u901a\u8fc7\u5fae\u4fe1\u5f00\u53d1\u8005\u5de5\u5177\u5207\u6362pages.json\u4e2dcondition\u914d\u7f6e\u7684\u9875\u9762","8","\u4e2d\u4fee\u6539\u6587\u4ef6\u5e76\u4fdd\u5b58\uff0c\u4f1a\u81ea\u52a8\u5237\u65b0\u5fae\u4fe1\u6a21\u62df\u5668","9","\u5fae\u4fe1\u5f00\u53d1\u8005\u5de5\u5177\u5df2\u542f\u52a8\uff0c\u5728HBuilderX","10"]}}}},ce0e:function(t,e,i){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i={onLaunch:function(){t("log","App Launch"," at App.vue:4")},onShow:function(){t("log","App Show"," at App.vue:7")},onHide:function(){t("log","App Hide"," at App.vue:10")}};e.default=i}).call(this,i("f3b9")["default"])},d2a0:function(t,e,i){"use strict";var n=i("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=n(i("297d")),r=i("d3b4"),o=n(i("e7b9")),s=(0,r.initVueI18n)(o.default),c=s.t,l={name:"uniPopupDialog",mixins:[a.default],emits:["confirm","close"],props:{value:{type:[String,Number],default:""},placeholder:{type:[String,Number],default:""},type:{type:String,default:"error"},mode:{type:String,default:"base"},title:{type:String,default:""},content:{type:String,default:""},beforeClose:{type:Boolean,default:!1},cancelText:{type:String,default:""},confirmText:{type:String,default:""}},data:function(){return{dialogType:"error",focus:!1,val:""}},computed:{okText:function(){return this.confirmText||c("uni-popup.ok")},closeText:function(){return this.cancelText||c("uni-popup.cancel")},placeholderText:function(){return this.placeholder||c("uni-popup.placeholder")},titleText:function(){return this.title||c("uni-popup.title")}},watch:{type:function(t){this.dialogType=t},mode:function(t){"input"===t&&(this.dialogType="info")},value:function(t){this.val=t}},created:function(){this.popup.disableMask(),"input"===this.mode?(this.dialogType="info",this.val=this.value):this.dialogType=this.type},mounted:function(){this.focus=!0},methods:{onOk:function(){"input"===this.mode?this.$emit("confirm",this.val):this.$emit("confirm"),this.beforeClose||this.popup.close()},closeDialog:function(){this.$emit("close"),this.beforeClose||this.popup.close()},close:function(){this.popup.close()}}};e.default=l},d3b4:function(t,e,i){"use strict";(function(t){var n=i("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.LOCALE_ZH_HANT=e.LOCALE_ZH_HANS=e.LOCALE_FR=e.LOCALE_ES=e.LOCALE_EN=e.I18n=e.Formatter=void 0,e.compileI18nJsonStr=function(t,e){var i=e.locale,n=e.locales,a=e.delimiters;if(!k(t,a))return t;w||(w=new u);var r=[];Object.keys(n).forEach((function(t){t!==i&&r.push({locale:t,values:n[t]})})),r.unshift({locale:i,values:n[i]});try{return JSON.stringify(T(JSON.parse(t),r,a),null,2)}catch(o){}return t},e.hasI18nJson=function t(e,i){w||(w=new u);return P(e,(function(e,n){var a=e[n];return S(a)?!!k(a,i)||void 0:t(a,i)}))},e.initVueI18n=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=arguments.length>2?arguments[2]:void 0,n=arguments.length>3?arguments[3]:void 0;if("string"!==typeof t){var a=[e,t];t=a[0],e=a[1]}"string"!==typeof t&&(t=b());"string"!==typeof i&&(i="undefined"!==typeof __uniConfig&&__uniConfig.fallbackLocale||"en");var r=new y({locale:t,fallbackLocale:i,messages:e,watcher:n}),o=function(t,e){if("function"!==typeof getApp)o=function(t,e){return r.t(t,e)};else{var i=!1;o=function(t,e){var n=getApp().$vm;return n&&(n.$locale,i||(i=!0,_(n,r))),r.t(t,e)}}return o(t,e)};return{i18n:r,f:function(t,e,i){return r.f(t,e,i)},t:function(t,e){return o(t,e)},add:function(t,e){var i=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return r.add(t,e,i)},watch:function(t){return r.watchLocale(t)},getLocale:function(){return r.getLocale()},setLocale:function(t){return r.setLocale(t)}}},e.isI18nStr=k,e.isString=void 0,e.normalizeLocale=x,e.parseI18nJson=function t(e,i,n){w||(w=new u);return P(e,(function(e,a){var r=e[a];S(r)?k(r,n)&&(e[a]=C(r,i,n)):t(r,i,n)})),e},e.resolveLocale=function(t){return function(e){return e?(e=x(e)||e,function(t){var e=[],i=t.split("-");while(i.length)e.push(i.join("-")),i.pop();return e}(e).find((function(e){return t.indexOf(e)>-1}))):e}};var a=n(i("34cf")),r=n(i("67ad")),o=n(i("0bdb")),s=n(i("3b2d")),c=function(t){return null!==t&&"object"===(0,s.default)(t)},l=["{","}"],u=function(){function t(){(0,r.default)(this,t),this._caches=Object.create(null)}return(0,o.default)(t,[{key:"interpolate",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:l;if(!e)return[t];var n=this._caches[t];return n||(n=f(t,i),this._caches[t]=n),p(n,e)}}]),t}();e.Formatter=u;var h=/^(?:\d)+/,d=/^(?:\w)+/;function f(t,e){var i=(0,a.default)(e,2),n=i[0],r=i[1],o=[],s=0,c="";while(s<t.length){var l=t[s++];if(l===n){c&&o.push({type:"text",value:c}),c="";var u="";l=t[s++];while(void 0!==l&&l!==r)u+=l,l=t[s++];var f=l===r,p=h.test(u)?"list":f&&d.test(u)?"named":"unknown";o.push({value:u,type:p})}else c+=l}return c&&o.push({type:"text",value:c}),o}function p(t,e){var i=[],n=0,a=Array.isArray(e)?"list":c(e)?"named":"unknown";if("unknown"===a)return i;while(n<t.length){var r=t[n];switch(r.type){case"text":i.push(r.value);break;case"list":i.push(e[parseInt(r.value,10)]);break;case"named":"named"===a&&i.push(e[r.value]);break;case"unknown":0;break}n++}return i}e.LOCALE_ZH_HANS="zh-Hans";e.LOCALE_ZH_HANT="zh-Hant";e.LOCALE_EN="en";e.LOCALE_FR="fr";e.LOCALE_ES="es";var g=Object.prototype.hasOwnProperty,v=function(t,e){return g.call(t,e)},m=new u;function x(t,e){if(t){if(t=t.trim().replace(/_/g,"-"),e&&e[t])return t;if(t=t.toLowerCase(),"chinese"===t)return"zh-Hans";if(0===t.indexOf("zh"))return t.indexOf("-hans")>-1?"zh-Hans":t.indexOf("-hant")>-1||function(t,e){return!!e.find((function(e){return-1!==t.indexOf(e)}))}(t,["-tw","-hk","-mo","-cht"])?"zh-Hant":"zh-Hans";var i=["en","fr","es"];e&&Object.keys(e).length>0&&(i=Object.keys(e));var n=function(t,e){return e.find((function(e){return 0===t.indexOf(e)}))}(t,i);return n||void 0}}var y=function(){function t(e){var i=e.locale,n=e.fallbackLocale,a=e.messages,o=e.watcher,s=e.formater;(0,r.default)(this,t),this.locale="en",this.fallbackLocale="en",this.message={},this.messages={},this.watchers=[],n&&(this.fallbackLocale=n),this.formater=s||m,this.messages=a||{},this.setLocale(i||"en"),o&&this.watchLocale(o)}return(0,o.default)(t,[{key:"setLocale",value:function(t){var e=this,i=this.locale;this.locale=x(t,this.messages)||this.fallbackLocale,this.messages[this.locale]||(this.messages[this.locale]={}),this.message=this.messages[this.locale],i!==this.locale&&this.watchers.forEach((function(t){t(e.locale,i)}))}},{key:"getLocale",value:function(){return this.locale}},{key:"watchLocale",value:function(t){var e=this,i=this.watchers.push(t)-1;return function(){e.watchers.splice(i,1)}}},{key:"add",value:function(t,e){var i=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],n=this.messages[t];n?i?Object.assign(n,e):Object.keys(e).forEach((function(t){v(n,t)||(n[t]=e[t])})):this.messages[t]=e}},{key:"f",value:function(t,e,i){return this.formater.interpolate(t,e,i).join("")}},{key:"t",value:function(t,e,i){var n=this.message;return"string"===typeof e?(e=x(e,this.messages),e&&(n=this.messages[e])):i=e,v(n,t)?this.formater.interpolate(n[t],i).join(""):(console.warn("Cannot translate the value of keypath ".concat(t,". Use the value of keypath as default.")),t)}}]),t}();function _(t,e){t.$watchLocale?t.$watchLocale((function(t){e.setLocale(t)})):t.$watch((function(){return t.$locale}),(function(t){e.setLocale(t)}))}function b(){return"undefined"!==typeof uni&&uni.getLocale?uni.getLocale():"undefined"!==typeof t&&t.getLocale?t.getLocale():"en"}e.I18n=y;var w,S=function(t){return"string"===typeof t};function k(t,e){return t.indexOf(e[0])>-1}function C(t,e,i){return w.interpolate(t,e,i).join("")}function T(t,e,i){return P(t,(function(t,n){(function(t,e,i,n){var a=t[e];if(S(a)){if(k(a,n)&&(t[e]=C(a,i[0].values,n),i.length>1)){var r=t[e+"Locales"]={};i.forEach((function(t){r[t.locale]=C(a,t.values,n)}))}}else T(a,i,n)})(t,n,e,i)})),t}function P(t,e){if(Array.isArray(t)){for(var i=0;i<t.length;i++)if(e(t,i))return!0}else if(c(t))for(var n in t)if(e(t,n))return!0;return!1}e.isString=S}).call(this,i("0ee4"))},d551:function(t,e,i){var n=i("3b2d")["default"],a=i("e6db");t.exports=function(t){var e=a(t,"string");return"symbol"==n(e)?e:e+""},t.exports.__esModule=!0,t.exports["default"]=t.exports},dd3e:function(t,e){t.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},t.exports.__esModule=!0,t.exports["default"]=t.exports},dd49:function(t,e,i){"use strict";var n=i("47a9"),a=n(i("7ca3"));i("96bc");var r=n(i("62d4")),o=n(i("951c"));function s(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.push.apply(i,n)}return i}o.default.config.productionTip=!1,o.default.prototype.baseHttp="http://",r.default.mpType="app";var c=new o.default(function(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?s(Object(i),!0).forEach((function(e){(0,a.default)(t,e,i[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):s(Object(i)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))}))}return t}({},r.default));c.$mount()},dffb:function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return a})),i.d(e,"a",(function(){}));var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("view",{staticClass:t._$s(0,"sc","chartsview"),attrs:{_i:0}},[i("view",{staticClass:t._$s(1,"sc","charts-error"),attrs:{_i:1}}),i("view",{staticClass:t._$s(2,"sc","charts-font"),attrs:{_i:2}},[t._v(t._$s(2,"t0-0",t._s(null==t.errorMessage?"\u8bf7\u70b9\u51fb\u91cd\u8bd5":t.errorMessage)))])])},a=[]},e235:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=["#1890FF","#91CB74","#FAC858","#EE6666","#73C0DE","#3CA272","#FC8452","#9A60B4","#ea7ccc"],a={type:["pie","ring","rose","funnel","line","column","area","radar","gauge","candle","demotype"],categories:["line","column","area","radar","gauge","candle","demotype"],instance:{},option:{},formatter:{tooltipDemo1:function(t){var e="";for(var i in t){0==i&&(e+=t[i].axisValueLabel+"\u5e74\u9500\u552e\u989d");var n="--";null!==t[i].data&&(n=t[i].data),e+="<br/>"+t[i].marker+t[i].seriesName+"\uff1a"+n+" \u4e07\u5143"}return e},legendFormat:function(t){return"\u81ea\u5b9a\u4e49\u56fe\u4f8b+"+t},yAxisFormatDemo:function(t,e){return t+"\u5143"},seriesFormatDemo:function(t){return t.name+"\u5e74"+t.value+"\u5143"}},demotype:{color:n},column:{color:n,title:{text:""},tooltip:{trigger:"axis"},grid:{top:30,bottom:50,right:15,left:40},legend:{bottom:"left"},toolbox:{show:!1},xAxis:{type:"category",axisLabel:{color:"#666666"},axisLine:{lineStyle:{color:"#CCCCCC"}},boundaryGap:!0,data:[]},yAxis:{type:"value",axisTick:{show:!1},axisLabel:{color:"#666666"},axisLine:{lineStyle:{color:"#CCCCCC"}}},seriesTemplate:{name:"",type:"bar",data:[],barwidth:20,label:{show:!0,color:"#666666",position:"top"}}},line:{color:n,title:{text:""},tooltip:{trigger:"axis"},grid:{top:30,bottom:50,right:15,left:40},legend:{top:"left",textStyle:{color:"#cccccc"}},toolbox:{show:!1},xAxis:{type:"category",axisLabel:{color:"#CCCCCC"},axisLine:{lineStyle:{color:"#CCCCCC"}},boundaryGap:!1,data:[]},yAxis:{type:"value",axisTick:{show:!1},axisLabel:{color:"#CCCCCC"},axisLine:{lineStyle:{color:"#CCCCCC"}}},seriesTemplate:{name:"",type:"line",data:[],barwidth:20,label:{show:!1,color:"#666666",position:"top"}}},area:{color:n,title:{text:""},tooltip:{trigger:"axis"},grid:{top:30,bottom:50,right:15,left:40},legend:{bottom:"left"},toolbox:{show:!1},xAxis:{type:"category",axisLabel:{color:"#666666"},axisLine:{lineStyle:{color:"#CCCCCC"}},boundaryGap:!0,data:[]},yAxis:{type:"value",axisTick:{show:!1},axisLabel:{color:"#666666"},axisLine:{lineStyle:{color:"#CCCCCC"}}},seriesTemplate:{name:"",type:"line",data:[],areaStyle:{},label:{show:!0,color:"#666666",position:"top"}}},pie:{color:n,title:{text:""},tooltip:{trigger:"item"},grid:{top:40,bottom:30,right:15,left:15},legend:{bottom:"left"},seriesTemplate:{name:"",type:"pie",data:[],radius:"50%",label:{show:!0,color:"#666666",position:"top"}}},ring:{color:n,title:{text:""},tooltip:{trigger:"item"},grid:{top:40,bottom:30,right:15,left:15},legend:{bottom:"left",textStyle:{color:"#cccccc"}},seriesTemplate:{name:"",type:"pie",data:[],radius:["30%","60%"],avoidLabelOverlap:!1,label:{show:!1,color:"#FFF",position:"top"},labelLine:{show:!1}}},rose:{color:n,title:{text:""},tooltip:{trigger:"item"},legend:{top:"bottom"},seriesTemplate:{name:"",type:"pie",data:[],radius:"55%",center:["50%","50%"],roseType:"area"}},funnel:{color:n,title:{text:""},tooltip:{trigger:"item",formatter:"{b} : {c}%"},legend:{top:"bottom"},seriesTemplate:{name:"",type:"funnel",left:"10%",top:60,bottom:60,width:"80%",min:0,max:100,minSize:"0%",maxSize:"100%",sort:"descending",gap:2,label:{show:!0,position:"inside"},labelLine:{length:10,lineStyle:{width:1,type:"solid"}},itemStyle:{bordercolor:"#fff",borderwidth:1},emphasis:{label:{fontSize:20}},data:[]}},gauge:{color:n,tooltip:{formatter:"{a} <br/>{b} : {c}%"},seriesTemplate:{name:"\u4e1a\u52a1\u6307\u6807",type:"gauge",detail:{formatter:"{value}%"},data:[{value:50,name:"\u5b8c\u6210\u7387"}]}},candle:{xAxis:{data:[]},yAxis:{},color:n,title:{text:""},dataZoom:[{type:"inside",xAxisIndex:[0,1],start:10,end:100},{show:!0,xAxisIndex:[0,1],type:"slider",bottom:10,start:10,end:100}],seriesTemplate:{name:"",type:"k",data:[]}}},r=a;e.default=r},e286:function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return a})),i.d(e,"a",(function(){}));var n=function(){var t=this.$createElement,e=this._self._c||t;return e("view",{staticClass:this._$s(0,"sc","box"),attrs:{_i:0}},[e("view",{staticClass:this._$s(1,"sc","box-border box-border1"),attrs:{_i:1}}),e("view",{staticClass:this._$s(2,"sc","box-border box-border2"),attrs:{_i:2}}),e("view",{staticClass:this._$s(3,"sc","box-border box-border3"),attrs:{_i:3}}),e("view",{staticClass:this._$s(4,"sc","box-border box-border4"),attrs:{_i:4}}),e("view",{staticClass:this._$s(5,"sc","box-main"),attrs:{_i:5}},[this._t("default",null,{_i:6})],2)])},a=[]},e4d6:function(t,e,i){"use strict";i.r(e);var n=i("925e"),a=i("63c1");for(var r in a)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(r);var o=i("828b"),s=Object(o["a"])(a["default"],n["b"],n["c"],!1,null,null,null,!1,n["a"],void 0);e["default"]=s.exports},e6db:function(t,e,i){var n=i("3b2d")["default"];t.exports=function(t,e){if("object"!=n(t)||!t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var a=i.call(t,e||"default");if("object"!=n(a))return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)},t.exports.__esModule=!0,t.exports["default"]=t.exports},e7b9:function(t,e,i){"use strict";var n=i("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=n(i("2f40")),r=n(i("2fe5")),o=n(i("2f51")),s={en:a.default,"zh-Hans":r.default,"zh-Hant":o.default};e.default=s},e9e1:function(t,e,i){"use strict";i.r(e);var n=i("6f0f"),a=i.n(n);for(var r in n)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(r);e["default"]=a.a},ea8b:function(t,e,i){"use strict";i.r(e);var n=i("ce0e"),a=i.n(n);for(var r in n)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(r);e["default"]=a.a},ebd2:function(t,e,i){"use strict";var n=i("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=n(i("7996")),r=n(i("468a")),o=n(i("c959")),s=n(i("3c8c")),c=n(i("8a5a")),l={components:{Loading1:a.default,Loading2:r.default,Loading3:o.default,Loading4:s.default,Loading5:c.default},name:"qiun-loading",props:{loadingType:{type:Number,default:2}},data:function(){return{}}};e.default=l},ed43:function(t,e,i){"use strict";i.r(e);var n=i("6cb1"),a=i("7543");for(var r in a)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(r);var o=i("828b"),s=Object(o["a"])(a["default"],n["b"],n["c"],!1,null,null,null,!1,n["a"],void 0);e["default"]=s.exports},ed45:function(t,e){t.exports=function(t){if(Array.isArray(t))return t},t.exports.__esModule=!0,t.exports["default"]=t.exports},ed83:function(t,e,i){"use strict";(function(t){var n=i("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.Behavior=function(t){return t},e.Component=function(e){var i=function(e){var i=e.data,n=e.options,a=e.methods,r=e.behaviors,o=e.lifetimes,s=e.observers,u=e.relations,h=e.properties,f=e.pageLifetimes,p=e.externalClasses,g={mixins:[],props:{},watch:{},mpOptions:{mpObservers:[]}};return l(g),c(i,g),function(t,e){if(!t)return;e.mpOptions.options=t}(n,g),k(a,g),O(r,g),function(t,e){if(!t)return;C(t,e)}(o,g),function(t,e){if(!t)return;var i=e.mpOptions.mpObservers;Object.keys(t).forEach((function(e){i.push({paths:L(e),observer:t[e]})}))}(s,g),function(e,i){if(!e)return;Object.keys(e).forEach((function(i){var n=e[i];n.name=i,n.target=n.target?String(n.target):function(t,e){0===e.indexOf("/")&&(t="");var i=t.split("/"),n=e.split("/");i.pop();while(n.length){var a=n.shift();""!==a&&"."!==a&&(".."!==a?i.push(a):i.pop())}return i.join("/")}(t.__wxRoute,i)})),i.mpOptions.relations=e}(u,g),S(h,g),function(t,e){if(!t)return;b.forEach((function(i){var n=t[i];d(n)&&(e[_[i]]=n)}))}(f,g),function(t,e){if(!t)return;Array.isArray(t)||(t=[t]);e.mpOptions.externalClasses=t,e.mpOptions.properties||(e.mpOptions.properties=Object.create(null));t.forEach((function(t){e.mpOptions.properties[m(t)]={type:String,value:""}}))}(p,g),C(e,g),P(e),g}(e);i.mixins.unshift(Y),i.mpOptions.path=t.__wxRoute,function(t){t.onServiceAttached||(t.onServiceAttached=[]);t.onServiceAttached.push((function(){R(this,"linked")}))}(i),t.__wxComponents[t.__wxRoute]=i},e.Page=function(e){var i=function(t){var e={mixins:[],mpOptions:{}};return l(e),c(t.data,e),function(t,e){var i=Object.create(null);Object.keys(t).forEach((function(e){var n=t[e];d(n)&&-1===w.indexOf(e)&&(i[e]=n)})),e.methods=i}(t,e),function(t,e){Object.keys(t).forEach((function(i){-1!==w.indexOf(i)&&(e[i]=t[i])}))}(t,e),e}(e);i.mixins.unshift(Y),i.mpOptions.path=t.__wxRoute,t.__wxComponents[t.__wxRoute]=i},e.nextTick=e.default=void 0;var a,r=n(i("7ca3")),o=n(i("34cf")),s=n(i("951c"));function c(t,e){t&&(e.mpOptions.data=t)}function l(e){e.components=t.__wxVueOptions.components}var u=Object.prototype.toString,h=Object.prototype.hasOwnProperty;function d(t){return"function"===typeof t}function f(t){return"[object Object]"===u.call(t)}function p(t,e){return h.call(t,e)}function g(){}var v=/-(\w)/g,m=function(t){var e=Object.create(null);return function(i){var n=e[i];return n||(e[i]=t(i))}}((function(t){return t.replace(v,(function(t,e){return e?e.toUpperCase():""}))})),x={created:"onServiceCreated",attached:"onServiceAttached",ready:"mounted",moved:"moved",detached:"destroyed"},y=Object.keys(x),_={show:"onPageShow",hide:"onPageHide",resize:"onPageResize"},b=Object.keys(_),w=["onLoad","onShow","onReady","onHide","onUnload","onPullDownRefresh","onReachBottom","onShareAppMessage","onPageScroll","onResize","onTabItemTap"];function S(t,e){t&&(e.mpOptions.properties=t)}function k(t,e){t&&(t.$emit&&(console.warn('Method "$emit" conflicts with an existing Vue instance method'),delete t.$emit),e.methods=t)}function C(t,e){y.forEach((function(i){p(t,i)&&(e[x[i]]||(e[x[i]]=[])).push(t[i])}))}var T={"wx://form-field":{},"wx://component-export":{}};function P(t,e){(function(t){var e=t.behaviors,i=t.definitionFilter,n=[];if(Array.isArray(e)&&e.forEach((function(e){e="string"===typeof e?T[e]:e,e.definitionFilter&&(n.push(e.definitionFilter),e.definitionFilter.call(null,t,[]))})),d(i));})(t)}var A={"wx://form-field":{beforeCreate:function(){var t=this.$options.mpOptions;t.properties||(t.properties=Object.create(null));var e=t.properties;p(e,"name")||(e.name={type:String}),p(e,"value")||(e.value={type:String})}}};function O(t,e){t&&t.forEach((function(t){"string"===typeof t?A[t]&&e.mixins.push(A[t]):e.mixins.push(function(t){var e=t.data,i=t.methods,n=t.behaviors,a=t.properties,r={watch:{},mpOptions:{mpObservers:[]}};return c(e,r),k(i,r),O(n,r),S(a,r),C(t,r),P(t),r}(t))}))}function L(t){return t.split(",").map((function(t){return function(t){return t.split(".")}(t)}))}function D(t,e,i,n){if(e){var a="_$".concat(t,"Handlers");(n[a]||(n[a]=[])).push((function(){e.call(n,i)}))}}function I(t,e,i){var n=t.name,a=i._$relationNodes||(i._$relationNodes=Object.create(null));(a[n]||(a[n]=[])).push(e),D("linked",t["linked"],e,i)}function M(t,e,i){D("unlinked",t["unlinked"],e,i)}function E(t,e,i){var n=t&&t.$options.mpOptions&&t.$options.mpOptions.relations;if(!n)return[];var a=Object.keys(n).find((function(t){var a=n[t];return a.target===e&&a.type===i}));return a?[n[a],t]:[]}function F(t,e,i){var n=i(t,t.$options.mpOptions.path),a=(0,o.default)(n,2),r=a[0],s=a[1];r&&(I(r,t,s),I(e,s,t),M(r,t,s),M(e,s,t))}function $(t){var e=t.$options.mpOptions||{},i=e.relations;i&&Object.keys(i).forEach((function(e){(function(t,e){var i=t.type;"parent"===i?F(e,t,(function(t,e){return E(t.$parent,e,"child")})):"ancestor"===i&&F(e,t,(function(t,e){var i=t.$parent;while(i){var n=E(i,e,"descendant");if(n.length)return n;i=i.$parent}return[]}))})(i[e],t)}))}function R(t,e){var i=t["_$".concat(e,"Handlers")];i&&i.forEach((function(t){return t()}))}var N={enumerable:!0,configurable:!0,get:g,set:g};function j(t,e,i){N.get=function(){return this[e][i]},N.set=function(t){this[e][i]=t},Object.defineProperty(t,i,N)}function U(t,e){var i=this;f(t)&&(Object.keys(t).forEach((function(e){(function(t,e,i){var n=t.replace(/\[(\d+?)\]/g,".$1").split(".");return n.reduce((function(t,i,a){if(a!==n.length-1)return"undefined"===typeof t[i]&&(t[i]={}),t[i];t[i]=e}),i),1===n.length})(e,t[e],i.data)&&!p(i,e)&&j(i,"__data__",e)})),this.$forceUpdate(),d(e)&&this.$nextTick(e))}var B=Object.prototype.toString,z=function(t){return function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=arguments.length>1?arguments[1]:void 0,n=B.call(i);if("[object Array]"===n)return e=i.slice(0),e;if("[object Object]"===n){for(var a in i)e[a]=t(e[a],i[a]);return e}if("[object Date]"===n)return new Date(i.getTime());if("[object RegExp]"===n){var r=String(i),o=r.lastIndexOf("/");return new RegExp(r.slice(1,o),r.slice(o+1))}return i}("[object Array]"===B.call(t)?[]:{},t)},W=(a={},(0,r.default)(a,String,""),(0,r.default)(a,Number,0),(0,r.default)(a,Boolean,!1),(0,r.default)(a,Object,null),(0,r.default)(a,Array,[]),(0,r.default)(a,null,null),a);function q(t){return W[t]}function H(t){return f(t)?t.type:t}function G(t,e,i,n){var a=i[t];if(void 0!==a){var r=e[t],o=H(r);a=J(a,o);var s=r&&r.observer;return s&&setTimeout((function(){V(s,n,a)}),4),a}return function(t){return f(t)?p(t,"value")?t.value:q(t.type):q(t)}(e[t])}function J(t,e){return e===Boolean?!!t:e===String?String(t):t}function V(t,e,i,n){try{"function"===typeof t?t.call(e,i,n):"string"===typeof t&&"function"===typeof e[t]&&e[t](i,n)}catch(a){console.error("execute observer ".concat(t," callback fail! err: ").concat(a))}}function K(t){var e=t.$options.mpOptions&&t.$options.mpOptions.properties,i=t.$options.propsData;i&&e&&Object.keys(e).forEach((function(n){p(i,n)&&(t[n]=J(i[n],H(e[n])))}))}function X(t){var e=JSON.parse(JSON.stringify(t.$options.mpOptions.data||{}));t["__data__"]=e;var i={get:function(){return t["__data__"]},set:function(e){t["__data__"]=e}};Object.defineProperties(t,{data:i,properties:i}),t.setData=U,function(t,e){var i=t.$options.mpOptions.properties;if(i){var n=z(t.$options.propsData)||{},a=function(a){var r=!!f(i[a])&&i[a].observer,o=G(a,i,n,t);Object.defineProperty(e,a,{enumerable:!0,configurable:!0,get:function(){return o},set:function(e){var i=o;e===o||e!==e&&o!==o||(o=Array.isArray(e)?e.slice(0):e,r&&V(r,t,e,i),t.$forceUpdate())}})};for(var r in i)a(r)}}(t,e),Object.keys(e).forEach((function(e){j(t,"__data__",e)}))}var Y={beforeCreate:function(){this._renderProxy=this,this._$self=this,this._$noop=g},created:function(){X(this),function(t){var e=t.$emit;t.triggerEvent=function(i,n,a){var r={dataset:t.$el.dataset},o={target:r,currentTarget:r,detail:n,preventDefault:g,stopPropagation:g};e.call(t,i,o)},t.$emit=function(){t.triggerEvent.apply(t,arguments)},t.getRelationNodes=function(e){return(t._$relationNodes&&t._$relationNodes[e]||[]).filter((function(t){return!t._isDestroyed}))},t._$updateProperties=K}(this),$(this)},mounted:function(){(function(t){var e=t.$options.watch;e&&Object.keys(e).forEach((function(i){var n=e[i];if(n.mounted){var a=t[i],r=n.handler;"string"===typeof r&&(r=t[r]),r&&r.call(t,a,a)}}))})(this)},destroyed:function(){R(this,"unlinked")}};t.__wxRoute="",t.__wxComponents=Object.create(null),t.__wxVueOptions=Object.create(null);var Q=s.default.nextTick;e.nextTick=Q;var Z=uni.__$wx__,tt=Z;e.default=tt}).call(this,i("0ee4"))},ee10:function(t,e){function i(t,e,i,n,a,r,o){try{var s=t[r](o),c=s.value}catch(l){return void i(l)}s.done?e(c):Promise.resolve(c).then(n,a)}t.exports=function(t){return function(){var e=this,n=arguments;return new Promise((function(a,r){var o=t.apply(e,n);function s(t){i(o,a,r,s,c,"next",t)}function c(t){i(o,a,r,s,c,"throw",t)}s(void 0)}))}},t.exports.__esModule=!0,t.exports["default"]=t.exports},ee34:function(t,e,i){"use strict";i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return r})),i.d(e,"a",(function(){return n}));var n={qiunLoading:i("5f21").default,qiunError:i("9eba").default},a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("view",{staticClass:t._$s(0,"sc","chartsview"),attrs:{id:t._$s(0,"a-id","ChartBoxId"+t.cid),_i:0}},[t._$s(1,"i",t.mixinDatacomLoading)?i("view",{attrs:{_i:1}},[i("qiun-loading",{attrs:{loadingType:t.loadingType,_i:2}})],1):t._e(),t._$s(3,"i",t.mixinDatacomErrorMessage&&t.errorShow)?i("view",{attrs:{_i:3},on:{click:t.reloading}},[i("qiun-error",{attrs:{errorMessage:t.errorMessage,_i:4}})],1):t._e(),t._$s(5,"i",t.echarts)?[i("view",{directives:[{name:"show",rawName:"v-show",value:t._$s(6,"v-show",t.showchart),expression:"_$s(6,'v-show',showchart)"}],wxsProps:{"change:resize":"echartsResize","change:prop":"echartsOpts"},style:t._$s(6,"s",{background:t.background}),attrs:{"data-directory":t._$s(6,"a-data-directory",t.directory),id:t._$s(6,"a-id","EC"+t.cid),prop:t._$s(6,"change:echartsOpts",t.echartsOpts),resize:t._$s(6,"change:echartsResize",t.echartsResize),_i:6}})]:[i("view",{wxsProps:{"change:prop":"uchartsOpts"},attrs:{id:t._$s(8,"a-id","UC"+t.cid),prop:t._$s(8,"change:uchartsOpts",t.uchartsOpts),_i:8},on:{}},[i("canvas",{directives:[{name:"show",rawName:"v-show",value:t._$s(9,"v-show",t.showchart),expression:"_$s(9,'v-show',showchart)"}],style:t._$s(9,"s",{width:t.cWidth+"px",height:t.cHeight+"px",background:t.background}),attrs:{id:t._$s(9,"a-id",t.cid),canvasId:t._$s(9,"a-canvasId",t.cid),"disable-scroll":t._$s(9,"a-disable-scroll",t.disableScroll),_i:9},on:{error:t._error}})])]],2)},r=[]},f3b9:function(t,e,i){"use strict";function n(t){var e=Object.prototype.toString.call(t);return e.substring(8,e.length-1)}function a(){return"string"===typeof __channelId__&&__channelId__}function r(t,e){switch(n(e)){case"Function":return"function() { [native code] }";default:return e}}function o(t){for(var e=arguments.length,i=new Array(e>1?e-1:0),n=1;n<e;n++)i[n-1]=arguments[n];console[t].apply(console,i)}function s(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];var o=e.shift();if(a())return e.push(e.pop().replace("at ","uni-app:///")),console[o].apply(console,e);var s=e.map((function(t){var e=Object.prototype.toString.call(t).toLowerCase();if("[object object]"===e||"[object array]"===e)try{t="---BEGIN:JSON---"+JSON.stringify(t,r)+"---END:JSON---"}catch(a){t=e}else if(null===t)t="---NULL---";else if(void 0===t)t="---UNDEFINED---";else{var i=n(t).toUpperCase();t="NUMBER"===i||"BOOLEAN"===i?"---BEGIN:"+i+"---"+t+"---END:"+i+"---":String(t)}return t})),c="";if(s.length>1){var l=s.pop();c=s.join("---COMMA---"),0===l.indexOf(" at ")?c+=l:c+="---COMMA---"+l}else c=s[0];console[o](c)}i.r(e),i.d(e,"log",(function(){return o})),i.d(e,"default",(function(){return s}))},f545:function(t,e,i){"use strict";(function(t){var n=i("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.EventDispatcher=void 0;var a=n(i("3352")),r=n(i("8ffa")),o=n(i("4ffb")),s=n(i("b4d2")),c=n(i("67ad")),l=n(i("0bdb")),u=n(i("7ca3"));function h(t){var e=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var i,n=(0,s.default)(t);if(e){var a=(0,s.default)(this).constructor;i=Reflect.construct(n,arguments,a)}else i=n.apply(this,arguments);return(0,o.default)(this,i)}}var d=function(){function e(){(0,c.default)(this,e)}return(0,l.default)(e,[{key:"log",value:function(e,i){t("log","%c ".concat(e," %c ").concat(i," %c"),"background:".concat("#ff4d4f",";border:1px solid ").concat("#ff4d4f","; padding: 1px; border-radius: 2px 0 0 2px; color: #fff;"),"border:1px solid ".concat("#ff4d4f","; padding: 1px; border-radius: 0 2px 2px 0; color: ").concat("#ff4d4f",";"),"background:transparent"," at static/js/dispatcher.js:7")}},{key:"closeConsole",value:function(){e.console=!1}}]),e}();(0,u.default)(d,"console",!0);var f=function(t){(0,r.default)(i,t);var e=h(i);function i(){var t;(0,c.default)(this,i);for(var n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return t=e.call.apply(e,[this].concat(r)),(0,u.default)((0,a.default)(t),"listeners",{}),t}return(0,l.default)(i,[{key:"addEventListener",value:function(t,e){this.listeners[t]||(this.listeners[t]=[]),-1===this.listeners[t].indexOf(e)&&this.listeners[t].push(e)}},{key:"removeEventListener",value:function(t){this.listeners[t]=[]}},{key:"dispatchEvent",value:function(t,e){var i=this,n=this.listeners[t]||[];0!==n.length&&n.forEach((function(t){t.call(i,e)}))}}]),i}(d);e.EventDispatcher=f}).call(this,i("f3b9")["default"])},f92d:function(t,e,i){"use strict";(function(t){var n=i("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=n(i("af34")),r=n(i("3b2d")),o=n(i("7ca3")),s=i("c552");function c(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.push.apply(i,n)}return i}function l(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?c(Object(i),!0).forEach((function(e){(0,o.default)(t,e,i[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):c(Object(i)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))}))}return t}var u={name:"uniTransition",emits:["click","change"],props:{show:{type:Boolean,default:!1},modeClass:{type:[Array,String],default:function(){return"fade"}},duration:{type:Number,default:300},styles:{type:Object,default:function(){return{}}},customClass:{type:String,default:""}},data:function(){return{isShow:!1,transform:"",opacity:1,animationData:{},durationTime:300,config:{}}},watch:{show:{handler:function(t){t?this.open():this.isShow&&this.close()},immediate:!0}},computed:{stylesObject:function(){var t=l(l({},this.styles),{},{"transition-duration":this.duration/1e3+"s"}),e="";for(var i in t){var n=this.toLine(i);e+=n+":"+t[i]+";"}return e},transformStyles:function(){return"transform:"+this.transform+";opacity:"+this.opacity+";"+this.stylesObject}},created:function(){this.config={duration:this.duration,timingFunction:"ease",transformOrigin:"50% 50%",delay:0},this.durationTime=this.duration},methods:{init:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};t.duration&&(this.durationTime=t.duration),this.animation=(0,s.createAnimation)(Object.assign(this.config,t),this)},onClick:function(){this.$emit("click",{detail:this.isShow})},step:function(e){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(this.animation){for(var n in e)try{var o;if("object"===(0,r.default)(e[n]))(o=this.animation)[n].apply(o,(0,a.default)(e[n]));else this.animation[n](e[n])}catch(s){t("error","\u65b9\u6cd5 ".concat(n," \u4e0d\u5b58\u5728")," at uni_modules/uni-transition/components/uni-transition/uni-transition.vue:139")}return this.animation.step(i),this}},run:function(t){this.animation&&this.animation.run(t)},open:function(){var t=this;clearTimeout(this.timer),this.transform="",this.isShow=!0;var e=this.styleInit(!1),i=e.opacity,n=e.transform;"undefined"!==typeof i&&(this.opacity=i),this.transform=n,this.$nextTick((function(){t.timer=setTimeout((function(){t.animation=(0,s.createAnimation)(t.config,t),t.tranfromInit(!1).step(),t.animation.run(),t.$emit("change",{detail:t.isShow})}),20)}))},close:function(t){var e=this;this.animation&&this.tranfromInit(!0).step().run((function(){e.isShow=!1,e.animationData=null,e.animation=null;var t=e.styleInit(!1),i=t.opacity,n=t.transform;e.opacity=i||1,e.transform=n,e.$emit("change",{detail:e.isShow})}))},styleInit:function(t){var e=this,i={transform:""},n=function(t,n){"fade"===n?i.opacity=e.animationType(t)[n]:i.transform+=e.animationType(t)[n]+" "};return"string"===typeof this.modeClass?n(t,this.modeClass):this.modeClass.forEach((function(e){n(t,e)})),i},tranfromInit:function(t){var e=this,i=function(t,i){var n=null;"fade"===i?n=t?0:1:(n=t?"-100%":"0","zoom-in"===i&&(n=t?.8:1),"zoom-out"===i&&(n=t?1.2:1),"slide-right"===i&&(n=t?"100%":"0"),"slide-bottom"===i&&(n=t?"100%":"0")),e.animation[e.animationMode()[i]](n)};return"string"===typeof this.modeClass?i(t,this.modeClass):this.modeClass.forEach((function(e){i(t,e)})),this.animation},animationType:function(t){return{fade:t?1:0,"slide-top":"translateY(".concat(t?"0":"-100%",")"),"slide-right":"translateX(".concat(t?"0":"100%",")"),"slide-bottom":"translateY(".concat(t?"0":"100%",")"),"slide-left":"translateX(".concat(t?"0":"-100%",")"),"zoom-in":"scaleX(".concat(t?1:.8,") scaleY(").concat(t?1:.8,")"),"zoom-out":"scaleX(".concat(t?1:1.2,") scaleY(").concat(t?1:1.2,")")}},animationMode:function(){return{fade:"opacity","slide-top":"translateY","slide-right":"translateX","slide-bottom":"translateY","slide-left":"translateX","zoom-in":"scale","zoom-out":"scale"}},toLine:function(t){return t.replace(/([A-Z])/g,"-$1").toLowerCase()}}};e.default=u}).call(this,i("f3b9")["default"])}},[["dd49","app-config"]]]);
\ No newline at end of file
diff --git a/Monitor-APP/unpackage/dist/build/app-plus/app-view.js b/Monitor-APP/unpackage/dist/build/app-plus/app-view.js
index b2d5e23..3e9b0cc 100644
--- a/Monitor-APP/unpackage/dist/build/app-plus/app-view.js
+++ b/Monitor-APP/unpackage/dist/build/app-plus/app-view.js
@@ -1 +1 @@
-(function(t){var e={};function a(n){if(e[n])return e[n].exports;var i=e[n]={i:n,l:!1,exports:{}};return t[n].call(i.exports,i,i.exports,a),i.l=!0,i.exports}a.m=t,a.c=e,a.d=function(t,e,n){a.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},a.r=function(t){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},a.t=function(t,e){if(1&e&&(t=a(t)),8&e)return t;if(4&e&&"object"===typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(a.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)a.d(n,i,function(e){return t[e]}.bind(null,i));return n},a.n=function(t){var e=t&&t.__esModule?function(){return t["default"]}:function(){return t};return a.d(e,"a",e),e},a.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},a.p="./",a(a.s="dd49")})({"02c7":function(t,e,a){var n=a("7ec4");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var i=a("b49c").default;i("303990ea",n,!0,{sourceMap:!1,shadowMode:!1})},"02de":function(t,e,a){"use strict";var n=a("e924"),i=a.n(n);i.a},"04cd":function(t,e,a){"use strict";a.r(e);var n=a("675d"),i=a.n(n);for(var r in n)["default"].indexOf(r)<0&&function(t){a.d(e,t,(function(){return n[t]}))}(r);e["default"]=i.a},"0671":function(t,e,a){"use strict";a.r(e);var n=a("cc61"),i=a.n(n);for(var r in n)["default"].indexOf(r)<0&&function(t){a.d(e,t,(function(){return n[t]}))}(r);e["default"]=i.a},"078f":function(t,e,a){"use strict";a.r(e);var n=a("21fb"),i=a.n(n);for(var r in n)["default"].indexOf(r)<0&&function(t){a.d(e,t,(function(){return n[t]}))}(r);e["default"]=i.a},"0cb4":function(t,e,a){"use strict";var n=a("dd22"),i=a.n(n);i.a},"17c3":function(t,e,a){"use strict";(function(t){var n=a("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(a("34cf")),r=n(a("3b2d")),o={version:"v2.4.4-20221102",yAxisWidth:15,xAxisHeight:22,xAxisTextPadding:3,padding:[10,10,10,10],pixelRatio:1,rotate:!1,fontSize:13,fontColor:"#666666",dataPointShape:["circle","circle","circle","circle"],color:["#1890FF","#91CB74","#FAC858","#EE6666","#73C0DE","#3CA272","#FC8452","#9A60B4","#ea7ccc"],linearColor:["#0EE2F8","#2BDCA8","#FA7D8D","#EB88E2","#2AE3A0","#0EE2F8","#EB88E2","#6773E3","#F78A85"],pieChartLinePadding:15,pieChartTextPadding:5,titleFontSize:20,subtitleFontSize:15,toolTipPadding:3,toolTipBackground:"#000000",toolTipOpacity:.7,toolTipLineHeight:20,radarLabelTextMargin:13},s=function(t){for(var e=arguments.length,a=new Array(e>1?e-1:0),n=1;n<e;n++)a[n-1]=arguments[n];if(null==t)throw new TypeError("[uCharts] Cannot convert undefined or null to object");if(!a||a.length<=0)return t;function i(t,e){for(var a in e)t[a]=t[a]&&"[object Object]"===t[a].toString()?i(t[a],e[a]):t[a]=e[a];return t}return a.forEach((function(e){t=i(t,e)})),t},l={toFixed:function(t,e){return e=e||2,this.isFloat(t)&&(t=t.toFixed(e)),t},isFloat:function(t){return t%1!==0},approximatelyEqual:function(t,e){return Math.abs(t-e)<1e-10},isSameSign:function(t,e){return Math.abs(t)===t&&Math.abs(e)===e||Math.abs(t)!==t&&Math.abs(e)!==e},isSameXCoordinateArea:function(t,e){return this.isSameSign(t.x,e.x)},isCollision:function(t,e){t.end={},t.end.x=t.start.x+t.width,t.end.y=t.start.y-t.height,e.end={},e.end.x=e.start.x+e.width,e.end.y=e.start.y-e.height;var a=e.start.x>t.end.x||e.end.x<t.start.x||e.end.y>t.start.y||e.start.y<t.end.y;return!a}};function c(t,e){var a=t.replace(/^#?([a-f\d])([a-f\d])([a-f\d])$/i,(function(t,e,a,n){return e+e+a+a+n+n})),n=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(a),i=parseInt(n[1],16),r=parseInt(n[2],16),o=parseInt(n[3],16);return"rgba("+i+","+r+","+o+","+e+")"}function d(t,e,a){if(isNaN(t))throw new Error("[uCharts] series\u6570\u636e\u9700\u4e3aNumber\u683c\u5f0f");a=a||10,e=e||"upper";var n=1;while(a<1)a*=10,n*=10;t="upper"===e?Math.ceil(t*n):Math.floor(t*n);while(t%a!==0)if("upper"===e){if(t==t+1)break;t++}else t--;return t/n}function h(t,e,a,n,i){var r=i.width-i.area[1]-i.area[3],o=a.eachSpacing*(i.chartData.xAxisData.xAxisPoints.length-1);"mount"==i.type&&i.extra&&i.extra.mount&&i.extra.mount.widthRatio&&i.extra.mount.widthRatio>1&&(i.extra.mount.widthRatio>2&&(i.extra.mount.widthRatio=2),o+=(i.extra.mount.widthRatio-1)*a.eachSpacing);var s=e;return e>=0?(s=0,t.uevent.trigger("scrollLeft"),t.scrollOption.position="left",i.xAxis.scrollPosition="left"):Math.abs(e)>=o-r?(s=r-o,t.uevent.trigger("scrollRight"),t.scrollOption.position="right",i.xAxis.scrollPosition="right"):(t.scrollOption.position=e,i.xAxis.scrollPosition=e),s}function u(t,e,a){function n(t){while(t<0)t+=2*Math.PI;while(t>2*Math.PI)t-=2*Math.PI;return t}return t=n(t),e=n(e),a=n(a),e>a&&(a+=2*Math.PI,t<e&&(t+=2*Math.PI)),t>=e&&t<=a}function f(t,e){function a(t,e){return!(!t[e-1]||!t[e+1])&&(t[e].y>=Math.max(t[e-1].y,t[e+1].y)||t[e].y<=Math.min(t[e-1].y,t[e+1].y))}function n(t,e){return!(!t[e-1]||!t[e+1])&&(t[e].x>=Math.max(t[e-1].x,t[e+1].x)||t[e].x<=Math.min(t[e-1].x,t[e+1].x))}var i=.2,r=.2,o=null,s=null,l=null,c=null;if(e<1?(o=t[0].x+(t[1].x-t[0].x)*i,s=t[0].y+(t[1].y-t[0].y)*i):(o=t[e].x+(t[e+1].x-t[e-1].x)*i,s=t[e].y+(t[e+1].y-t[e-1].y)*i),e>t.length-3){var d=t.length-1;l=t[d].x-(t[d].x-t[d-1].x)*r,c=t[d].y-(t[d].y-t[d-1].y)*r}else l=t[e+1].x-(t[e+2].x-t[e].x)*r,c=t[e+1].y-(t[e+2].y-t[e].y)*r;return a(t,e+1)&&(c=t[e+1].y),a(t,e)&&(s=t[e].y),n(t,e+1)&&(l=t[e+1].x),n(t,e)&&(o=t[e].x),(s>=Math.max(t[e].y,t[e+1].y)||s<=Math.min(t[e].y,t[e+1].y))&&(s=t[e].y),(c>=Math.max(t[e].y,t[e+1].y)||c<=Math.min(t[e].y,t[e+1].y))&&(c=t[e+1].y),(o>=Math.max(t[e].x,t[e+1].x)||o<=Math.min(t[e].x,t[e+1].x))&&(o=t[e].x),(l>=Math.max(t[e].x,t[e+1].x)||l<=Math.min(t[e].x,t[e+1].x))&&(l=t[e+1].x),{ctrA:{x:o,y:s},ctrB:{x:l,y:c}}}function p(t,e,a){return{x:a.x+t,y:a.y-e}}function x(t,e){if(e)while(l.isCollision(t,e))t.start.x>0?t.start.y--:t.start.x<0||t.start.y>0?t.start.y++:t.start.y--;return t}function g(t,e,a){for(var n=0,i=0;i<t.length;i++){var r=t[i];if(r.color||(r.color=a.color[n],n=(n+1)%a.color.length),r.linearIndex||(r.linearIndex=i),r.index||(r.index=0),r.type||(r.type=e.type),"undefined"==typeof r.show&&(r.show=!0),r.type||(r.type=e.type),r.pointShape||(r.pointShape="circle"),!r.legendShape)switch(r.type){case"line":r.legendShape="line";break;case"column":case"bar":r.legendShape="rect";break;case"area":case"mount":r.legendShape="triangle";break;default:r.legendShape="circle"}}return t}function v(t,e,a,n){var i=e||[];if("custom"==t&&0==i.length&&(i=n.linearColor),"custom"==t&&i.length<a.length)for(var r=a.length-i.length,o=0;o<r;o++)i.push(n.linearColor[(o+1)%n.linearColor.length]);return i}function m(t,e){var a=0,n=e-t;return a=n>=1e4?1e3:n>=1e3?100:n>=100?10:n>=10?5:n>=1?1:n>=.1?.1:n>=.01?.01:n>=.001?.001:n>=1e-4?1e-4:n>=1e-5?1e-5:1e-6,{minRange:d(t,"lower",a),maxRange:d(e,"upper",a)}}function y(t,e,a){var n=0;if(t=String(t),!1!==a&&void 0!==a&&a.setFontSize&&a.measureText)return a.setFontSize(e),a.measureText(t).width;t=t.split("");for(var i=0;i<t.length;i++){var r=t[i];/[a-zA-Z]/.test(r)?n+=7:/[0-9]/.test(r)?n+=5.5:/\./.test(r)?n+=2.7:/-/.test(r)?n+=3.25:/:/.test(r)?n+=2.5:/[\u4e00-\u9fa5]/.test(r)?n+=10:/\(|\)/.test(r)?n+=3.73:/\s/.test(r)?n+=2.5:/%/.test(r)?n+=8:n+=10}return n*e/10}function b(t){return t.reduce((function(t,e){return(t.data?t.data:t).concat(e.data)}),[])}function w(t,e){for(var a=new Array(e),n=0;n<a.length;n++)a[n]=0;for(var i=0;i<t.length;i++)for(n=0;n<a.length;n++)a[n]+=t[i].data[n];return t.reduce((function(t,e){return(t.data?t.data:t).concat(e.data).concat(a)}),[])}function _(t,e,a){var n,i;return t.clientX?e.rotate?(i=e.height-t.clientX*e.pix,n=(t.pageY-a.currentTarget.offsetTop-e.height/e.pix/2*(e.pix-1))*e.pix):(n=t.clientX*e.pix,i=(t.pageY-a.currentTarget.offsetTop-e.height/e.pix/2*(e.pix-1))*e.pix):e.rotate?(i=e.height-t.x*e.pix,n=t.y*e.pix):(n=t.x*e.pix,i=t.y*e.pix),{x:n,y:i}}function C(t,e,a){var n=[],i=[],r=e.constructor.toString().indexOf("Array")>-1;if(r)for(var o=M(t),s=0;s<a.length;s++)i.push(o[a[s]]);else i=t;for(var l=0;l<i.length;l++){var c=i[l],d=-1;if(d=r?e[l]:e,null!==c.data[d]&&"undefined"!==typeof c.data[d]&&c.show){var h={};h.color=c.color,h.type=c.type,h.style=c.style,h.pointShape=c.pointShape,h.disableLegend=c.disableLegend,h.name=c.name,h.show=c.show,h.data=c.formatter?c.formatter(c.data[d]):c.data[d],n.push(h)}}return n}function A(t,e,a){var n=t.map((function(t){return y(t,e,a)}));return Math.max.apply(null,n)}function S(t){for(var e=2*Math.PI/t,a=[],n=0;n<t;n++)a.push(e*n);return a.map((function(t){return-1*t+Math.PI/2}))}function T(t,e,a,n,i){var r=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{},o=e.chartData.calPoints?e.chartData.calPoints:[],s={};if(n.length>0){for(var l=[],c=0;c<n.length;c++)l.push(o[n[c]]);s=l[0][a[0]]}else for(var d=0;d<o.length;d++)if(o[d][a]){s=o[d][a];break}var h=t.map((function(t){var n=null;return e.categories&&e.categories.length>0&&(n=i[a]),{text:r.formatter?r.formatter(t,n,a,e):t.name+": "+t.data,color:t.color}})),u={x:Math.round(s.x),y:Math.round(s.y)};return{textList:h,offset:u}}function k(t,e,a,n){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},r=e.chartData.xAxisPoints[a]+e.chartData.eachSpacing/2,o=t.map((function(t){return{text:i.formatter?i.formatter(t,n[a],a,e):t.name+": "+t.data,color:t.color,disableLegend:!!t.disableLegend}}));o=o.filter((function(t){if(!0!==t.disableLegend)return t}));var s={x:Math.round(r),y:0};return{textList:o,offset:s}}function P(t,e,a,n,i,r){var o=a.chartData.calPoints,s=r.color.upFill,l=r.color.downFill,c=[s,s,l,s],d=[];e.map((function(e){0==n?e.data[1]-e.data[0]<0?c[1]=l:c[1]=s:(e.data[0]<t[n-1][1]&&(c[0]=l),e.data[1]<e.data[0]&&(c[1]=l),e.data[2]>t[n-1][1]&&(c[2]=s),e.data[3]<t[n-1][1]&&(c[3]=l));var a={text:"\u5f00\u76d8\uff1a"+e.data[0],color:c[0]},i={text:"\u6536\u76d8\uff1a"+e.data[1],color:c[1]},r={text:"\u6700\u4f4e\uff1a"+e.data[2],color:c[2]},o={text:"\u6700\u9ad8\uff1a"+e.data[3],color:c[3]};d.push(a,i,r,o)}));for(var h=[],u={x:0,y:0},f=0;f<o.length;f++){var p=o[f];"undefined"!==typeof p[n]&&null!==p[n]&&h.push(p[n])}return u.x=Math.round(h[0][0].x),{textList:d,offset:u}}function M(t){for(var e=[],a=0;a<t.length;a++)1==t[a].show&&e.push(t[a]);return e}function D(t,e,a){return t.x<=e.width-e.area[1]+10&&t.x>=e.area[3]-10&&t.y>=e.area[0]&&t.y<=e.height-e.area[2]}function F(t,e,a){return Math.pow(t.x-e.x,2)+Math.pow(t.y-e.y,2)<=Math.pow(a,2)}function $(t,e){var a=[],n=[];return t.forEach((function(t,i){e.connectNulls?null!==t&&n.push(t):null!==t?n.push(t):(n.length&&a.push(n),n=[])})),n.length&&a.push(n),a}function L(t,e,a,n,i){var r={angle:0,xAxisHeight:a.xAxisHeight},o=e.xAxis.fontSize*e.pix||a.fontSize,s=t.map((function(t,a){var n=e.xAxis.formatter?e.xAxis.formatter(t,a,e):t;return y(String(n),o,i)})),l=Math.max.apply(this,s);if(1==e.xAxis.rotateLabel){r.angle=e.xAxis.rotateAngle*Math.PI/180;var c=2*a.xAxisTextPadding+Math.abs(l*Math.sin(r.angle));c=c<o+2*a.xAxisTextPadding?c+2*a.xAxisTextPadding:c,1==e.enableScroll&&1==e.xAxis.scrollShow&&(c+=12*e.pix),r.xAxisHeight=c}return e.xAxis.disabled&&(r.xAxisHeight=0),r}function O(t,e,a,n){var i=s({},{type:""},e.extra.bar),o={angle:0,xAxisHeight:a.xAxisHeight};o.ranges=function(t,e,a,n){var i,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:-1;i="stack"==n?w(t,e.categories.length):b(t);var s=[];i=i.filter((function(t){return"object"===(0,r.default)(t)&&null!==t?t.constructor.toString().indexOf("Array")>-1?null!==t:null!==t.value:null!==t})),i.map((function(t){"object"===(0,r.default)(t)?t.constructor.toString().indexOf("Array")>-1?"candle"==e.type?t.map((function(t){s.push(t)})):s.push(t[0]):s.push(t.value):s.push(t)}));var l=0,c=0;if(s.length>0&&(l=Math.min.apply(this,s),c=Math.max.apply(this,s)),o>-1?("number"===typeof e.xAxis.data[o].min&&(l=Math.min(e.xAxis.data[o].min,l)),"number"===typeof e.xAxis.data[o].max&&(c=Math.max(e.xAxis.data[o].max,c))):("number"===typeof e.xAxis.min&&(l=Math.min(e.xAxis.min,l)),"number"===typeof e.xAxis.max&&(c=Math.max(e.xAxis.max,c))),l===c){var d=c||10;c+=d}for(var h=l,u=c,f=[],p=(u-h)/e.xAxis.splitNumber,x=0;x<=e.xAxis.splitNumber;x++)f.push(h+p*x);return f}(t,e,a,i.type),o.rangesFormat=o.ranges.map((function(t){return t=l.toFixed(t,2),t}));var c=o.ranges.map((function(t){return t=l.toFixed(t,2),t}));o=Object.assign(o,X(c,e,a));var d=o.eachSpacing,h=c.map((function(t){return y(t,e.xAxis.fontSize*e.pix||a.fontSize,n)})),u=Math.max.apply(this,h);return u+2*a.xAxisTextPadding>d&&(o.angle=45*Math.PI/180,o.xAxisHeight=2*a.xAxisTextPadding+u*Math.sin(o.angle)),!0===e.xAxis.disabled&&(o.xAxisHeight=0),o}function I(t,e,a,n,i){var r=arguments.length>5&&void 0!==arguments[5]?arguments[5]:1,o=i.extra.radar||{};o.max=o.max||0;for(var s=Math.max(o.max,Math.max.apply(null,b(n))),l=[],c=function(i){var o=n[i],c={};c.color=o.color,c.legendShape=o.legendShape,c.pointShape=o.pointShape,c.data=[],o.data.forEach((function(n,i){var o={};o.angle=t[i],o.proportion=n/s,o.value=n,o.position=p(a*o.proportion*r*Math.cos(o.angle),a*o.proportion*r*Math.sin(o.angle),e),c.data.push(o)})),l.push(c)},d=0;d<n.length;d++)c(d);return l}function E(t,e){for(var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,n=0,i=0,r=0;r<t.length;r++){var o=t[r];o.data=null===o.data?0:o.data,n+=o.data}for(var s=0;s<t.length;s++){var l=t[s];l.data=null===l.data?0:l.data,l._proportion_=0===n?1/t.length*a:l.data/n*a,l._radius_=e}for(var c=0;c<t.length;c++){var d=t[c];d._start_=i,i+=2*d._proportion_*Math.PI}return t}function z(t,e,a,n){for(var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,r=0;r<t.length;r++)"funnel"==a.type?t[r].radius=t[r].data/t[0].data*e*i:t[r].radius=n*(t.length-r)/(n*t.length)*e*i,t[r]._proportion_=t[r].data/t[0].data;return t}function B(t,e,a,n){for(var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,r=0,o=0,s=[],l=0;l<t.length;l++){var c=t[l];c.data=null===c.data?0:c.data,r+=c.data,s.push(c.data)}for(var d=Math.min.apply(null,s),h=Math.max.apply(null,s),u=n-a,f=0;f<t.length;f++){var p=t[f];p.data=null===p.data?0:p.data,0===r?(p._proportion_=1/t.length*i,p._rose_proportion_=1/t.length*i):(p._proportion_=p.data/r*i,p._rose_proportion_="area"==e?1/t.length*i:p.data/r*i),p._radius_=a+u*((p.data-d)/(h-d))||n}for(var x=0;x<t.length;x++){var g=t[x];g._start_=o,o+=2*g._rose_proportion_*Math.PI}return t}function W(t,e){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;1==a&&(a=.999999);for(var n=0;n<t.length;n++){var i=t[n];i.data=null===i.data?0:i.data;var r=void 0;r="circle"==e.type?2:"ccw"==e.direction?e.startAngle<e.endAngle?2+e.startAngle-e.endAngle:e.startAngle-e.endAngle:e.endAngle<e.startAngle?2+e.endAngle-e.startAngle:e.startAngle-e.endAngle,i._proportion_=r*i.data*a+e.startAngle,"ccw"==e.direction&&(i._proportion_=e.startAngle-r*i.data*a),i._proportion_>=2&&(i._proportion_=i._proportion_%2)}return t}function R(t,e){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;1==a&&(a=.999999);for(var n=0;n<t.length;n++){var i=t[n];i.data=null===i.data?0:i.data;var r=void 0;r="circle"==e.type?2:e.endAngle<e.startAngle?2+e.endAngle-e.startAngle:e.startAngle-e.endAngle,i._proportion_=r*i.data*a+e.startAngle,i._proportion_>=2&&(i._proportion_=i._proportion_%2)}return t}function j(t,e,a){for(var n=e-a+1,i=e,r=0;r<t.length;r++)t[r].value=null===t[r].value?0:t[r].value,t[r]._startAngle_=i,t[r]._endAngle_=n*t[r].value+e,t[r]._endAngle_>=2&&(t[r]._endAngle_=t[r]._endAngle_%2),i=t[r]._endAngle_;return t}function G(t,e,a){for(var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1,i=0;i<t.length;i++){var r=t[i];if(r.data=null===r.data?0:r.data,"auto"==a.pointer.color){for(var o=0;o<e.length;o++)if(r.data<=e[o].value){r.color=e[o].color;break}}else r.color=a.pointer.color;var s=a.startAngle-a.endAngle+1;r._endAngle_=s*r.data+a.startAngle,r._oldAngle_=a.oldAngle,a.oldAngle<a.endAngle&&(r._oldAngle_+=2),r.data>=a.oldData?r._proportion_=(r._endAngle_-r._oldAngle_)*n+a.oldAngle:r._proportion_=r._oldAngle_-(r._oldAngle_-r._endAngle_)*n,r._proportion_>=2&&(r._proportion_=r._proportion_%2)}return t}function N(t,e,a,n,i,r){return t.map((function(t){if(null===t)return null;var i=0,o=0;return"mix"==r.type?(i=r.extra.mix.column.seriesGap*r.pix||0,o=r.extra.mix.column.categoryGap*r.pix||0):(i=r.extra.column.seriesGap*r.pix||0,o=r.extra.column.categoryGap*r.pix||0),i=Math.min(i,e/a),o=Math.min(o,e/a),t.width=Math.ceil((e-2*o-i*(a-1))/a),r.extra.mix&&r.extra.mix.column.width&&+r.extra.mix.column.width>0&&(t.width=Math.min(t.width,+r.extra.mix.column.width*r.pix)),r.extra.column&&r.extra.column.width&&+r.extra.column.width>0&&(t.width=Math.min(t.width,+r.extra.column.width*r.pix)),t.width<=0&&(t.width=1),t.x+=(n+.5-a/2)*(t.width+i),t}))}function Y(t,e,a,n,i,r){return t.map((function(t){if(null===t)return null;var i=0,o=0;return i=r.extra.bar.seriesGap*r.pix||0,o=r.extra.bar.categoryGap*r.pix||0,i=Math.min(i,e/a),o=Math.min(o,e/a),t.width=Math.ceil((e-2*o-i*(a-1))/a),r.extra.bar&&r.extra.bar.width&&+r.extra.bar.width>0&&(t.width=Math.min(t.width,+r.extra.bar.width*r.pix)),t.width<=0&&(t.width=1),t.y+=(n+.5-a/2)*(t.width+i),t}))}function U(t,e,a,n,i,r,o){var s=r.extra.column.categoryGap*r.pix||0;return t.map((function(t){return null===t?null:(t.width=e-2*s,r.extra.column&&r.extra.column.width&&+r.extra.column.width>0&&(t.width=Math.min(t.width,+r.extra.column.width*r.pix)),n>0&&(t.width-=o),t)}))}function V(t,e,a,n,i,r,o){var s=r.extra.column.categoryGap*r.pix||0;return t.map((function(t,a){return null===t?null:(t.width=Math.ceil(e-2*s),r.extra.column&&r.extra.column.width&&+r.extra.column.width>0&&(t.width=Math.min(t.width,+r.extra.column.width*r.pix)),t.width<=0&&(t.width=1),t)}))}function H(t,e,a,n,i,r,o){var s=r.extra.bar.categoryGap*r.pix||0;return t.map((function(t,a){return null===t?null:(t.width=Math.ceil(e-2*s),r.extra.bar&&r.extra.bar.width&&+r.extra.bar.width>0&&(t.width=Math.min(t.width,+r.extra.bar.width*r.pix)),t.width<=0&&(t.width=1),t)}))}function X(t,e,a){var n=e.width-e.area[1]-e.area[3],i=e.enableScroll?Math.min(e.xAxis.itemCount,t.length):t.length;("line"==e.type||"area"==e.type||"scatter"==e.type||"bubble"==e.type||"bar"==e.type)&&i>1&&"justify"==e.xAxis.boundaryGap&&(i-=1);var r=0;"mount"==e.type&&e.extra&&e.extra.mount&&e.extra.mount.widthRatio&&e.extra.mount.widthRatio>1&&(e.extra.mount.widthRatio>2&&(e.extra.mount.widthRatio=2),r=e.extra.mount.widthRatio-1,i+=r);var o=n/i,s=[],l=e.area[3],c=e.width-e.area[1];return t.forEach((function(t,e){s.push(l+r/2*o+e*o)})),"justify"!==e.xAxis.boundaryGap&&(!0===e.enableScroll?s.push(l+r*o+t.length*o):s.push(c)),{xAxisPoints:s,startX:l,endX:c,eachSpacing:o}}function q(t,e,a,n,i,r,o){var s=arguments.length>7&&void 0!==arguments[7]?arguments[7]:1,l=[],c=r.height-r.area[0]-r.area[2];return t.forEach((function(t,o){if(null===t)l.push(null);else{var d=[];t.forEach((function(t,l){var h={};h.x=n[o]+Math.round(i/2);var u=t.value||t,f=c*(u-e)/(a-e);f*=s,h.y=r.height-Math.round(f)-r.area[2],d.push(h)})),l.push(d)}})),l}function J(t,e,a,n,i,o,s){var l=arguments.length>7&&void 0!==arguments[7]?arguments[7]:1,c="center";"line"!=o.type&&"area"!=o.type&&"scatter"!=o.type&&"bubble"!=o.type||(c=o.xAxis.boundaryGap);var d=[],h=o.height-o.area[0]-o.area[2],u=o.width-o.area[1]-o.area[3];return t.forEach((function(t,s){if(null===t)d.push(null);else{var f={};f.color=t.color,f.x=n[s];var p,x,g,v=t;if("object"===(0,r.default)(t)&&null!==t)if(t.constructor.toString().indexOf("Array")>-1)p=[].concat(o.chartData.xAxisData.ranges),x=p.shift(),g=p.pop(),v=t[1],f.x=o.area[3]+u*(t[0]-x)/(g-x),"bubble"==o.type&&(f.r=t[2],f.t=t[3]);else v=t.value;"center"==c&&(f.x+=i/2);var m=h*(v-e)/(a-e);m*=l,f.y=o.height-m-o.area[2],d.push(f)}})),d}function Q(t,e,a,n,i,r,o){var s=arguments.length>7&&void 0!==arguments[7]?arguments[7]:1,l=[],c=r.height-r.area[0]-r.area[2],d=(r.width,r.area[1],r.area[3],i*o.widthRatio);return t.forEach((function(t,o){if(null===t)l.push(null);else{var h={};h.color=t.color,h.x=n[o],h.x+=i/2;var u=t.data,f=c*(u-e)/(a-e);f*=s,h.y=r.height-f-r.area[2],h.value=u,h.width=d,l.push(h)}})),l}function Z(t,e,a,n,i,o,s){var l=arguments.length>7&&void 0!==arguments[7]?arguments[7]:1,c=[],d=(o.height,o.area[0],o.area[2],o.width-o.area[1]-o.area[3]);return t.forEach((function(t,i){if(null===t)c.push(null);else{var s={};s.color=t.color,s.y=n[i];var h=t;"object"===(0,r.default)(t)&&null!==t&&(h=t.value);var u=d*(h-e)/(a-e);u*=l,s.height=u,s.value=h,s.x=u+o.area[3],c.push(s)}})),c}function K(t,e,a,n,i,o,s,l,c){var d=arguments.length>9&&void 0!==arguments[9]?arguments[9]:1,h=[],u=o.height-o.area[0]-o.area[2];return t.forEach((function(t,s){if(null===t)h.push(null);else{var f={};if(f.color=t.color,f.x=n[s]+Math.round(i/2),l>0){for(var p=0,x=0;x<=l;x++)p+=c[x].data[s];var g=p-t,v=u*(p-e)/(a-e),m=u*(g-e)/(a-e)}else{p=t;"object"===(0,r.default)(t)&&null!==t&&(p=t.value);v=u*(p-e)/(a-e),m=0}var y=m;v*=d,y*=d,f.y=o.height-Math.round(v)-o.area[2],f.y0=o.height-Math.round(y)-o.area[2],h.push(f)}})),h}function tt(t,e,a,n,i,o,s,l,c){var d=arguments.length>9&&void 0!==arguments[9]?arguments[9]:1,h=[],u=o.width-o.area[1]-o.area[3];return t.forEach((function(t,i){if(null===t)h.push(null);else{var s={};if(s.color=t.color,s.y=n[i],l>0){for(var f=0,p=0;p<=l;p++)f+=c[p].data[i];var x=f-t,g=u*(f-e)/(a-e),v=u*(x-e)/(a-e)}else{f=t;"object"===(0,r.default)(t)&&null!==t&&(f=t.value);g=u*(f-e)/(a-e),v=0}var m=v;g*=d,m*=d,s.height=g-m,s.x=o.area[3]+g,s.x0=o.area[3]+m,h.push(s)}})),h}function et(t,e,a,n,i){var o;o="stack"==n?w(t,e.categories.length):b(t);var s=[];o=o.filter((function(t){return"object"===(0,r.default)(t)&&null!==t?t.constructor.toString().indexOf("Array")>-1?null!==t:null!==t.value:null!==t})),o.map((function(t){"object"===(0,r.default)(t)?t.constructor.toString().indexOf("Array")>-1?"candle"==e.type?t.map((function(t){s.push(t)})):s.push(t[1]):s.push(t.value):s.push(t)}));var l=i.min||0,c=i.max||0;s.length>0&&(l=Math.min.apply(this,s),c=Math.max.apply(this,s)),l===c&&(0==c?c=10:l=0);for(var d=m(l,c),h=void 0===i.min||null===i.min?d.minRange:i.min,u=void 0===i.max||null===i.max?d.maxRange:i.max,f=(u-h)/e.yAxis.splitNumber,p=[],x=0;x<=e.yAxis.splitNumber;x++)p.push(h+f*x);return p.reverse()}function at(t,e,a,n){var i=s({},{type:""},e.extra.column),r=e.yAxis.data.length,o=new Array(r);if(r>0){for(var c=0;c<r;c++){o[c]=[];for(var d=0;d<t.length;d++)t[d].index==c&&o[c].push(t[d])}for(var h=new Array(r),u=new Array(r),f=new Array(r),p=function(t){var r=e.yAxis.data[t];1==e.yAxis.disabled&&(r.disabled=!0),"categories"===r.type?(r.formatter||(r.formatter=function(t,e,a){return t+(r.unit||"")}),r.categories=r.categories||e.categories,h[t]=r.categories):(r.formatter||(r.formatter=function(t,e,a){return l.toFixed(t,r.tofix||0)+(r.unit||"")}),h[t]=et(o[t],e,a,i.type,r,t));var s=r.fontSize*e.pix||a.fontSize;f[t]={position:r.position?r.position:"left",width:0},u[t]=h[t].map((function(a,i){return a=r.formatter(a,i,e),f[t].width=Math.max(f[t].width,y(a,s,n)+5),a}));var c=r.calibration?4*e.pix:0;f[t].width+=c+3*e.pix,!0===r.disabled&&(f[t].width=0)},x=0;x<r;x++)p(x)}else{h=new Array(1),u=new Array(1),f=new Array(1);"bar"===e.type?h[0]=e.categories:h[0]=et(t,e,a,i.type,{}),f[0]={position:"left",width:0},!0===e.yAxis.disabled?(f[0]={position:"left",width:0},e.yAxis.data[0]={disabled:!0}):(e.yAxis.data[0]={disabled:!1,position:"left",max:e.yAxis.max,min:e.yAxis.min,formatter:function(t,e,a){return t}},"bar"===e.type&&(e.yAxis.data[0].categories=e.categories,e.yAxis.data[0].type="categories"));var g=e.yAxis.fontSize*e.pix||a.fontSize;u[0]=h[0].map((function(t,a){return t=e.yAxis.data[0].formatter(t,a,e),f[0].width=Math.max(f[0].width,y(t,g,n)+5),t})),f[0].width+=3*e.pix}return{rangesFormat:u,ranges:h,yAxisWidth:f}}function nt(t,e){!0!==e.rotateLock?(t.translate(e.height,0),t.rotate(90*Math.PI/180)):!0!==e._rotate_&&(t.translate(e.height,0),t.rotate(90*Math.PI/180),e._rotate_=!0)}function it(t,e,a,n,i){if(n.beginPath(),"hollow"==i.dataPointShapeType?(n.setStrokeStyle(e),n.setFillStyle(i.background),n.setLineWidth(2*i.pix)):(n.setStrokeStyle("#ffffff"),n.setFillStyle(e),n.setLineWidth(1*i.pix)),"diamond"===a)t.forEach((function(t,e){null!==t&&(n.moveTo(t.x,t.y-4.5),n.lineTo(t.x-4.5,t.y),n.lineTo(t.x,t.y+4.5),n.lineTo(t.x+4.5,t.y),n.lineTo(t.x,t.y-4.5))}));else if("circle"===a)t.forEach((function(t,e){null!==t&&(n.moveTo(t.x+2.5*i.pix,t.y),n.arc(t.x,t.y,3*i.pix,0,2*Math.PI,!1))}));else if("square"===a)t.forEach((function(t,e){null!==t&&(n.moveTo(t.x-3.5,t.y-3.5),n.rect(t.x-3.5,t.y-3.5,7,7))}));else if("triangle"===a)t.forEach((function(t,e){null!==t&&(n.moveTo(t.x,t.y-4.5),n.lineTo(t.x-4.5,t.y+4.5),n.lineTo(t.x+4.5,t.y+4.5),n.lineTo(t.x,t.y-4.5))}));else if("none"===a)return;n.closePath(),n.fill(),n.stroke()}function rt(t,e,a,n){var i=t.title.fontSize||e.titleFontSize,r=t.subtitle.fontSize||e.subtitleFontSize,o=t.title.name||"",s=t.subtitle.name||"",l=t.title.color||t.fontColor,c=t.subtitle.color||t.fontColor,d=o?i:0,h=s?r:0;if(s){var u=y(s,r*t.pix,a),f=n.x-u/2+(t.subtitle.offsetX||0)*t.pix,p=n.y+r*t.pix/2+(t.subtitle.offsetY||0)*t.pix;o&&(p+=(d*t.pix+5)/2),a.beginPath(),a.setFontSize(r*t.pix),a.setFillStyle(c),a.fillText(s,f,p),a.closePath(),a.stroke()}if(o){var x=y(o,i*t.pix,a),g=n.x-x/2+(t.title.offsetX||0),v=n.y+i*t.pix/2+(t.title.offsetY||0)*t.pix;s&&(v-=(h*t.pix+5)/2),a.beginPath(),a.setFontSize(i*t.pix),a.setFillStyle(l),a.fillText(o,g,v),a.closePath(),a.stroke()}}function ot(t,e,a,n,i){var o=e.data,s=e.textOffset?e.textOffset:0;t.forEach((function(t,l){if(null!==t){n.beginPath();var c=e.textSize?e.textSize*i.pix:a.fontSize;n.setFontSize(c),n.setFillStyle(e.textColor||i.fontColor);var d=o[l];"object"===(0,r.default)(o[l])&&null!==o[l]&&(d=o[l].constructor.toString().indexOf("Array")>-1?o[l][1]:o[l].value);var h=e.formatter?e.formatter(d,l,e,i):d;n.setTextAlign("center"),n.fillText(String(h),t.x,t.y-4+s*i.pix),n.closePath(),n.stroke(),n.setTextAlign("left")}}))}function st(t,e,a,n,i){e.data;var r=e.textOffset?e.textOffset:0;t.forEach((function(t,o){if(null!==t){n.beginPath();var s=e[o].textSize?e[o].textSize*i.pix:a.fontSize;n.setFontSize(s),n.setFillStyle(e[o].textColor||i.fontColor);var l=t.value,c=e[o].formatter?e[o].formatter(l,o,e,i):l;n.setTextAlign("center"),n.fillText(String(c),t.x,t.y-4+r*i.pix),n.closePath(),n.stroke(),n.setTextAlign("left")}}))}function lt(t,e,a,n,i){var o=e.data;e.textOffset&&e.textOffset;t.forEach((function(t,s){if(null!==t){n.beginPath();var l=e.textSize?e.textSize*i.pix:a.fontSize;n.setFontSize(l),n.setFillStyle(e.textColor||i.fontColor);var c=o[s];"object"===(0,r.default)(o[s])&&null!==o[s]&&(c=o[s].value);var d=e.formatter?e.formatter(c,s,e,i):c;n.setTextAlign("left"),n.fillText(String(d),t.x+4*i.pix,t.y+l/2-3),n.closePath(),n.stroke()}}))}function ct(t,e,a,n,i,r){e-=t.width/2+t.labelOffset*n.pix,e=e<10?10:e;for(var o=t.startAngle-t.endAngle+1,s=o/t.splitLine.splitNumber,l=t.endNumber-t.startNumber,c=l/t.splitLine.splitNumber,d=t.startAngle,h=t.startNumber,u=0;u<t.splitLine.splitNumber+1;u++){var f={x:e*Math.cos(d*Math.PI),y:e*Math.sin(d*Math.PI)},p=t.formatter?t.formatter(h,u,n):h;f.x+=a.x-y(p,i.fontSize,r)/2,f.y+=a.y;var x=f.x,g=f.y;r.beginPath(),r.setFontSize(i.fontSize),r.setFillStyle(t.labelColor||n.fontColor),r.fillText(p,x,g+i.fontSize/2),r.closePath(),r.stroke(),d+=s,d>=2&&(d%=2),h+=c}}function dt(t,e,a,n,i,r){var o=n.extra.radar||{};t.forEach((function(t,s){if(!0===o.labelPointShow&&""!==n.categories[s]){var c={x:e*Math.cos(t),y:e*Math.sin(t)},d=p(c.x,c.y,a);r.setFillStyle(o.labelPointColor),r.beginPath(),r.arc(d.x,d.y,o.labelPointRadius*n.pix,0,2*Math.PI,!1),r.closePath(),r.fill()}var h={x:(e+i.radarLabelTextMargin*n.pix)*Math.cos(t),y:(e+i.radarLabelTextMargin*n.pix)*Math.sin(t)},u=p(h.x,h.y,a),f=u.x,x=u.y;l.approximatelyEqual(h.x,0)?f-=y(n.categories[s]||"",i.fontSize,r)/2:h.x<0&&(f-=y(n.categories[s]||"",i.fontSize,r)),r.beginPath(),r.setFontSize(i.fontSize),r.setFillStyle(o.labelColor||n.fontColor),r.fillText(n.categories[s]||"",f,x+i.fontSize/2),r.closePath(),r.stroke()}))}function ht(t,e,a,n,i,r){for(var o=a.pieChartLinePadding,s=[],c=null,d=t.map((function(a,n){var i=a.formatter?a.formatter(a,n,t,e):l.toFixed(100*a._proportion_.toFixed(4))+"%";i=a.labelText?a.labelText:i;var r=2*Math.PI-(a._start_+2*Math.PI*a._proportion_/2);a._rose_proportion_&&(r=2*Math.PI-(a._start_+2*Math.PI*a._rose_proportion_/2));var o=a.color,s=a._radius_;return{arc:r,text:i,color:o,radius:s,textColor:a.textColor,textSize:a.textSize,labelShow:a.labelShow}})),h=0;h<d.length;h++){var u=d[h],f=Math.cos(u.arc)*(u.radius+o),g=Math.sin(u.arc)*(u.radius+o),v=Math.cos(u.arc)*u.radius,m=Math.sin(u.arc)*u.radius,b=f>=0?f+a.pieChartTextPadding:f-a.pieChartTextPadding,w=g,_=y(u.text,u.textSize*e.pix||a.fontSize,n),C=w;c&&l.isSameXCoordinateArea(c.start,{x:b})&&(C=b>0?Math.min(w,c.start.y):f<0||w>0?Math.max(w,c.start.y):Math.min(w,c.start.y)),b<0&&(b-=_);var A={lineStart:{x:v,y:m},lineEnd:{x:f,y:g},start:{x:b,y:C},width:_,height:a.fontSize,text:u.text,color:u.color,textColor:u.textColor,textSize:u.textSize};c=x(A,c),s.push(c)}for(var S=0;S<s.length;S++)if(!1!==d[S].labelShow){var T=s[S],k=p(T.lineStart.x,T.lineStart.y,r),P=p(T.lineEnd.x,T.lineEnd.y,r),M=p(T.start.x,T.start.y,r);n.setLineWidth(1*e.pix),n.setFontSize(T.textSize*e.pix||a.fontSize),n.beginPath(),n.setStrokeStyle(T.color),n.setFillStyle(T.color),n.moveTo(k.x,k.y);var D=T.start.x<0?M.x+T.width:M.x,F=T.start.x<0?M.x-5:M.x+5;n.quadraticCurveTo(P.x,P.y,D,M.y),n.moveTo(k.x,k.y),n.stroke(),n.closePath(),n.beginPath(),n.moveTo(M.x+T.width,M.y),n.arc(D,M.y,2*e.pix,0,2*Math.PI),n.closePath(),n.fill(),n.beginPath(),n.setFontSize(T.textSize*e.pix||a.fontSize),n.setFillStyle(T.textColor||e.fontColor),n.fillText(T.text,F,M.y+3),n.closePath(),n.stroke(),n.closePath()}}function ut(t,e,a){for(var n=s({},{type:"solid",dashLength:4,data:[]},t.extra.markLine),i=t.area[3],r=t.width-t.area[1],o=function(t,e){for(var a,n,i=e.height-e.area[0]-e.area[2],r=0;r<t.length;r++){t[r].yAxisIndex=t[r].yAxisIndex?t[r].yAxisIndex:0;var o=[].concat(e.chartData.yAxisData.ranges[t[r].yAxisIndex]);a=o.pop(),n=o.shift();var s=i*(t[r].value-a)/(n-a);t[r].y=e.height-Math.round(s)-e.area[2]}return t}(n.data,t),l=0;l<o.length;l++){var d=s({},{lineColor:"#DE4A42",showLabel:!1,labelFontColor:"#666666",labelBgColor:"#DFE8FF",labelBgOpacity:.8,labelAlign:"left",labelOffsetX:0,labelOffsetY:0},o[l]);if("dash"==n.type&&a.setLineDash([n.dashLength,n.dashLength]),a.setStrokeStyle(d.lineColor),a.setLineWidth(1*t.pix),a.beginPath(),a.moveTo(i,d.y),a.lineTo(r,d.y),a.stroke(),a.setLineDash([]),d.showLabel){var h=d.labelText?d.labelText:d.value;a.setFontSize(e.fontSize);var u=y(h,e.fontSize,a),f=u+2*e.toolTipPadding,p="left"==d.labelAlign?t.area[3]-f:t.width-t.area[1];p+=d.labelOffsetX;var x=d.y-.5*e.fontSize-e.toolTipPadding;x+=d.labelOffsetY;var g=p+e.toolTipPadding;d.y;a.setFillStyle(c(d.labelBgColor,d.labelBgOpacity)),a.setStrokeStyle(d.labelBgColor),a.setLineWidth(1*t.pix),a.beginPath(),a.rect(p,x,f,e.fontSize+2*e.toolTipPadding),a.closePath(),a.stroke(),a.fill(),a.setFontSize(e.fontSize),a.setTextAlign("left"),a.setFillStyle(d.labelFontColor),a.fillText(String(h),g,x+e.fontSize+e.toolTipPadding/2),a.stroke(),a.setTextAlign("left")}}}function ft(t,e,a,n,i){var r=s({},{gridType:"solid",dashLength:4},t.extra.tooltip),o=t.area[3],l=t.width-t.area[1];if("dash"==r.gridType&&a.setLineDash([r.dashLength,r.dashLength]),a.setStrokeStyle(r.gridColor||"#cccccc"),a.setLineWidth(1*t.pix),a.beginPath(),a.moveTo(o,t.tooltip.offset.y),a.lineTo(l,t.tooltip.offset.y),a.stroke(),a.setLineDash([]),r.yAxisLabel)for(var d=function(t,e,a,n,i){for(var r=[].concat(a.chartData.yAxisData.ranges),o=a.height-a.area[0]-a.area[2],s=a.area[0],l=[],c=0;c<r.length;c++){var d=Math.max.apply(this,r[c]),h=Math.min.apply(this,r[c]),u=d-(d-h)*(t-s)/o;u=a.yAxis.data&&a.yAxis.data[c].formatter?a.yAxis.data[c].formatter(u,c,a):u.toFixed(0),l.push(String(u))}return l}(t.tooltip.offset.y,t.series,t),h=t.chartData.yAxisData.yAxisWidth,u=t.area[3],f=t.width-t.area[1],p=0;p<d.length;p++){a.setFontSize(e.fontSize);var x,g=y(d[p],e.fontSize,a),v=void 0,m=void 0;"left"==h[p].position?(v=u-(g+2*e.toolTipPadding)-2*t.pix,m=Math.max(v,v+g+2*e.toolTipPadding)):(v=f+2*t.pix,m=Math.max(v+h[p].width,v+g+2*e.toolTipPadding)),x=m-v;var b=v+(x-g)/2,w=t.tooltip.offset.y;a.beginPath(),a.setFillStyle(c(r.labelBgColor||e.toolTipBackground,r.labelBgOpacity||e.toolTipOpacity)),a.setStrokeStyle(r.labelBgColor||e.toolTipBackground),a.setLineWidth(1*t.pix),a.rect(v,w-.5*e.fontSize-e.toolTipPadding,x,e.fontSize+2*e.toolTipPadding),a.closePath(),a.stroke(),a.fill(),a.beginPath(),a.setFontSize(e.fontSize),a.setFillStyle(r.labelFontColor||t.fontColor),a.fillText(d[p],b,w+.5*e.fontSize),a.closePath(),a.stroke(),"left"==h[p].position?u-=h[p].width+t.yAxis.padding*t.pix:f+=h[p].width+t.yAxis.padding*t.pix}}function pt(t,e,a,n,i){var r=s({},{activeBgColor:"#000000",activeBgOpacity:.08,activeWidth:i},e.extra.column);r.activeWidth=r.activeWidth>i?i:r.activeWidth;var o=e.area[0],l=e.height-e.area[2];n.beginPath(),n.setFillStyle(c(r.activeBgColor,r.activeBgOpacity)),n.rect(t-r.activeWidth/2,o,r.activeWidth,l-o),n.closePath(),n.fill(),n.setFillStyle("#FFFFFF")}function xt(t,e,a,n,i){var r=s({},{activeBgColor:"#000000",activeBgOpacity:.08},e.extra.bar),o=e.area[3],l=e.width-e.area[1];n.beginPath(),n.setFillStyle(c(r.activeBgColor,r.activeBgOpacity)),n.rect(o,t-i/2,l-o,i),n.closePath(),n.fill(),n.setFillStyle("#FFFFFF")}function gt(t,e,a,n,i,r,o){var l=s({},{showBox:!0,showArrow:!0,showCategory:!1,bgColor:"#000000",bgOpacity:.7,borderColor:"#000000",borderWidth:0,borderRadius:0,borderOpacity:.7,fontColor:"#FFFFFF",splitLine:!0},a.extra.tooltip);1==l.showCategory&&a.categories&&t.unshift({text:a.categories[a.tooltip.index],color:null});var d=4*a.pix,h=5*a.pix,u=l.showArrow?8*a.pix:0,f=!1;"line"!=a.type&&"mount"!=a.type&&"area"!=a.type&&"candle"!=a.type&&"mix"!=a.type||1==l.splitLine&&function(t,e,a,n){var i=e.extra.tooltip||{};i.gridType=void 0==i.gridType?"solid":i.gridType,i.dashLength=void 0==i.dashLength?4:i.dashLength;var r=e.area[0],o=e.height-e.area[2];if("dash"==i.gridType&&n.setLineDash([i.dashLength,i.dashLength]),n.setStrokeStyle(i.gridColor||"#cccccc"),n.setLineWidth(1*e.pix),n.beginPath(),n.moveTo(t,r),n.lineTo(t,o),n.stroke(),n.setLineDash([]),i.xAxisLabel){var s=e.categories[e.tooltip.index];n.setFontSize(a.fontSize);var l=y(s,a.fontSize,n),d=t-.5*l,h=o+2*e.pix;n.beginPath(),n.setFillStyle(c(i.labelBgColor||a.toolTipBackground,i.labelBgOpacity||a.toolTipOpacity)),n.setStrokeStyle(i.labelBgColor||a.toolTipBackground),n.setLineWidth(1*e.pix),n.rect(d-a.toolTipPadding,h,l+2*a.toolTipPadding,a.fontSize+2*a.toolTipPadding),n.closePath(),n.stroke(),n.fill(),n.beginPath(),n.setFontSize(a.fontSize),n.setFillStyle(i.labelFontColor||e.fontColor),n.fillText(String(s),d,h+a.toolTipPadding+a.fontSize),n.closePath(),n.stroke()}}(a.tooltip.offset.x,a,n,i),e=s({x:0,y:0},e),e.y-=8*a.pix;var p=t.map((function(t){return y(t.text,n.fontSize,i)})),x=d+h+4*n.toolTipPadding+Math.max.apply(null,p),g=2*n.toolTipPadding+t.length*n.toolTipLineHeight;if(0!=l.showBox){e.x-Math.abs(a._scrollDistance_||0)+u+x>a.width&&(f=!0),g+e.y>a.height&&(e.y=a.height-g),i.beginPath(),i.setFillStyle(c(l.bgColor||n.toolTipBackground,l.bgOpacity||n.toolTipOpacity)),i.setLineWidth(l.borderWidth*a.pix),i.setStrokeStyle(c(l.borderColor,l.borderOpacity));var v=l.borderRadius;f?(x+u>a.width&&(e.x=a.width+Math.abs(a._scrollDistance_||0)+u+(x-a.width)),l.showArrow&&(i.moveTo(e.x,e.y+10*a.pix),i.lineTo(e.x-u,e.y+10*a.pix+5*a.pix)),i.arc(e.x-u-v,e.y+g-v,v,0,Math.PI/2,!1),i.arc(e.x-u-Math.round(x)+v,e.y+g-v,v,Math.PI/2,Math.PI,!1),i.arc(e.x-u-Math.round(x)+v,e.y+v,v,-Math.PI,-Math.PI/2,!1),i.arc(e.x-u-v,e.y+v,v,-Math.PI/2,0,!1),l.showArrow&&(i.lineTo(e.x-u,e.y+10*a.pix-5*a.pix),i.lineTo(e.x,e.y+10*a.pix))):(l.showArrow&&(i.moveTo(e.x,e.y+10*a.pix),i.lineTo(e.x+u,e.y+10*a.pix-5*a.pix)),i.arc(e.x+u+v,e.y+v,v,-Math.PI,-Math.PI/2,!1),i.arc(e.x+u+Math.round(x)-v,e.y+v,v,-Math.PI/2,0,!1),i.arc(e.x+u+Math.round(x)-v,e.y+g-v,v,0,Math.PI/2,!1),i.arc(e.x+u+v,e.y+g-v,v,Math.PI/2,Math.PI,!1),l.showArrow&&(i.lineTo(e.x+u,e.y+10*a.pix+5*a.pix),i.lineTo(e.x,e.y+10*a.pix))),i.closePath(),i.fill(),l.borderWidth>0&&i.stroke(),t.forEach((function(t,a){if(null!==t.color){i.beginPath(),i.setFillStyle(t.color);var r=e.x+u+2*n.toolTipPadding,o=e.y+(n.toolTipLineHeight-n.fontSize)/2+n.toolTipLineHeight*a+n.toolTipPadding+1;f&&(r=e.x-x-u+2*n.toolTipPadding),i.fillRect(r,o,d,n.fontSize),i.closePath(),i.fill()}})),t.forEach((function(t,a){var r=e.x+u+2*n.toolTipPadding+d+h;f&&(r=e.x-x-u+2*n.toolTipPadding+ +d+h);var o=e.y+(n.toolTipLineHeight-n.fontSize)/2+n.toolTipLineHeight*a+n.toolTipPadding;i.beginPath(),i.setFontSize(n.fontSize),i.setFillStyle(l.fontColor),i.fillText(t.text,r,o+n.fontSize),i.closePath(),i.stroke()}))}}function vt(t,e,a,n,i,r){var o=t.extra.tooltip||{};o.horizentalLine&&t.tooltip&&1===n&&("line"==t.type||"area"==t.type||"column"==t.type||"mount"==t.type||"candle"==t.type||"mix"==t.type)&&ft(t,e,a),a.save(),t._scrollDistance_&&0!==t._scrollDistance_&&!0===t.enableScroll&&a.translate(t._scrollDistance_,0),t.tooltip&&t.tooltip.textList&&t.tooltip.textList.length&&1===n&&gt(t.tooltip.textList,t.tooltip.offset,t,e,a),a.restore()}function mt(t,e,a,n){var i=e.chartData.xAxisData,r=i.xAxisPoints,o=i.startX,s=i.endX,l=i.eachSpacing,c="center";"bar"!=e.type&&"line"!=e.type&&"area"!=e.type&&"scatter"!=e.type&&"bubble"!=e.type||(c=e.xAxis.boundaryGap);var d=e.height-e.area[2],h=e.area[0];if(e.enableScroll&&e.xAxis.scrollShow){var u=e.height-e.area[2]+a.xAxisHeight,f=s-o,p=l*(r.length-1);"mount"==e.type&&e.extra&&e.extra.mount&&e.extra.mount.widthRatio&&e.extra.mount.widthRatio>1&&(e.extra.mount.widthRatio>2&&(e.extra.mount.widthRatio=2),p+=(e.extra.mount.widthRatio-1)*l);var x=f*f/p,g=0;e._scrollDistance_&&(g=-e._scrollDistance_*f/p),n.beginPath(),n.setLineCap("round"),n.setLineWidth(6*e.pix),n.setStrokeStyle(e.xAxis.scrollBackgroundColor||"#EFEBEF"),n.moveTo(o,u),n.lineTo(s,u),n.stroke(),n.closePath(),n.beginPath(),n.setLineCap("round"),n.setLineWidth(6*e.pix),n.setStrokeStyle(e.xAxis.scrollColor||"#A6A6A6"),n.moveTo(o+g,u),n.lineTo(o+g+x,u),n.stroke(),n.closePath(),n.setLineCap("butt")}if(n.save(),e._scrollDistance_&&0!==e._scrollDistance_&&n.translate(e._scrollDistance_,0),!0===e.xAxis.calibration&&(n.setStrokeStyle(e.xAxis.gridColor||"#cccccc"),n.setLineCap("butt"),n.setLineWidth(1*e.pix),r.forEach((function(t,a){a>0&&(n.beginPath(),n.moveTo(t-l/2,d),n.lineTo(t-l/2,d+3*e.pix),n.closePath(),n.stroke())}))),!0!==e.xAxis.disableGrid&&(n.setStrokeStyle(e.xAxis.gridColor||"#cccccc"),n.setLineCap("butt"),n.setLineWidth(1*e.pix),"dash"==e.xAxis.gridType&&n.setLineDash([e.xAxis.dashLength*e.pix,e.xAxis.dashLength*e.pix]),e.xAxis.gridEval=e.xAxis.gridEval||1,r.forEach((function(t,a){a%e.xAxis.gridEval==0&&(n.beginPath(),n.moveTo(t,d),n.lineTo(t,h),n.stroke())})),n.setLineDash([])),!0!==e.xAxis.disabled){var v=t.length;e.xAxis.labelCount&&(v=e.xAxis.itemCount?Math.ceil(t.length/e.xAxis.itemCount*e.xAxis.labelCount):e.xAxis.labelCount,v-=1);for(var m=Math.ceil(t.length/v),b=[],w=t.length,_=0;_<w;_++)_%m!==0?b.push(""):b.push(t[_]);b[w-1]=t[w-1];var C=e.xAxis.fontSize*e.pix||a.fontSize;0===a._xAxisTextAngle_?b.forEach((function(t,i){var o=e.xAxis.formatter?e.xAxis.formatter(t,i,e):t,s=-y(String(o),C,n)/2;"center"==c&&(s+=l/2);var h=0;e.xAxis.scrollShow&&(h=6*e.pix);var u=e._scrollDistance_||0,f="center"==c?r[i]+l/2:r[i];f-Math.abs(u)>=e.area[3]&&f-Math.abs(u)<=e.width-e.area[1]&&(n.beginPath(),n.setFontSize(C),n.setFillStyle(e.xAxis.fontColor||e.fontColor),n.fillText(String(o),r[i]+s,d+C+(a.xAxisHeight-h-C)/2),n.closePath(),n.stroke())})):b.forEach((function(t,i){var o=e.xAxis.formatter?e.xAxis.formatter(t):t,s=e._scrollDistance_||0,h="center"==c?r[i]+l/2:r[i];if(h-Math.abs(s)>=e.area[3]&&h-Math.abs(s)<=e.width-e.area[1]){n.save(),n.beginPath(),n.setFontSize(C),n.setFillStyle(e.xAxis.fontColor||e.fontColor);var u=y(String(o),C,n),f=r[i];"center"==c&&(f=r[i]+l/2);e.xAxis.scrollShow&&6*e.pix;var p=d+6*e.pix+C-C*Math.abs(Math.sin(a._xAxisTextAngle_));e.xAxis.rotateAngle<0?(f-=C/2,u=0):(f+=C/2,u=-u),n.translate(f,p),n.rotate(-1*a._xAxisTextAngle_),n.fillText(String(o),u,0),n.closePath(),n.stroke(),n.restore()}}))}n.restore(),e.xAxis.axisLine&&(n.beginPath(),n.setStrokeStyle(e.xAxis.axisLineColor),n.setLineWidth(1*e.pix),n.moveTo(o,e.height-e.area[2]),n.lineTo(s,e.height-e.area[2]),n.stroke())}function yt(t,e,a,n){if(!0!==e.yAxis.disableGrid){var i=e.height-e.area[0]-e.area[2],r=i/e.yAxis.splitNumber,o=e.area[3],s=e.chartData.xAxisData.xAxisPoints,l=e.chartData.xAxisData.eachSpacing,c=l*(s.length-1);"mount"==e.type&&e.extra&&e.extra.mount&&e.extra.mount.widthRatio&&e.extra.mount.widthRatio>1&&(e.extra.mount.widthRatio>2&&(e.extra.mount.widthRatio=2),c+=(e.extra.mount.widthRatio-1)*l);var d=o+c,h=[],u=1;!1===e.xAxis.axisLine&&(u=0);for(var f=u;f<e.yAxis.splitNumber+1;f++)h.push(e.height-e.area[2]-r*f);n.save(),e._scrollDistance_&&0!==e._scrollDistance_&&n.translate(e._scrollDistance_,0),"dash"==e.yAxis.gridType&&n.setLineDash([e.yAxis.dashLength*e.pix,e.yAxis.dashLength*e.pix]),n.setStrokeStyle(e.yAxis.gridColor),n.setLineWidth(1*e.pix),h.forEach((function(t,e){n.beginPath(),n.moveTo(o,t),n.lineTo(d,t),n.stroke()})),n.setLineDash([]),n.restore()}}function bt(t,e,a,n){if(!0!==e.yAxis.disabled){var i=e.height-e.area[0]-e.area[2],r=i/e.yAxis.splitNumber,o=e.area[3],s=e.width-e.area[1],l=e.height-e.area[2];n.beginPath(),n.setFillStyle(e.background),1==e.enableScroll&&e.xAxis.scrollPosition&&"left"!==e.xAxis.scrollPosition&&n.fillRect(0,0,o,l+2*e.pix),1==e.enableScroll&&e.xAxis.scrollPosition&&"right"!==e.xAxis.scrollPosition&&n.fillRect(s,0,e.width,l+2*e.pix),n.closePath(),n.stroke();var c=e.area[3],d=e.width-e.area[1],h=e.area[3]+(e.width-e.area[1]-e.area[3])/2;if(e.yAxis.data)for(var u=function(t){var o=e.yAxis.data[t];if(p=[],"categories"===o.type)for(var s=0;s<=o.categories.length;s++)p.push(e.area[0]+i/o.categories.length/2+i/o.categories.length*s);else for(var l=0;l<=e.yAxis.splitNumber;l++)p.push(e.area[0]+r*l);if(!0!==o.disabled){var u=e.chartData.yAxisData.rangesFormat[t],f=o.fontSize?o.fontSize*e.pix:a.fontSize,x=e.chartData.yAxisData.yAxisWidth[t],g=o.textAlign||"right";if(u.forEach((function(t,a){var i=p[a];n.beginPath(),n.setFontSize(f),n.setLineWidth(1*e.pix),n.setStrokeStyle(o.axisLineColor||"#cccccc"),n.setFillStyle(o.fontColor||e.fontColor);var r=0,s=4*e.pix;if("left"==x.position){switch(1==o.calibration&&(n.moveTo(c,i),n.lineTo(c-3*e.pix,i),s+=3*e.pix),g){case"left":n.setTextAlign("left"),r=c-x.width;break;case"right":n.setTextAlign("right"),r=c-s;break;default:n.setTextAlign("center"),r=c-x.width/2}n.fillText(String(t),r,i+f/2-3*e.pix)}else if("right"==x.position){switch(1==o.calibration&&(n.moveTo(d,i),n.lineTo(d+3*e.pix,i),s+=3*e.pix),g){case"left":n.setTextAlign("left"),r=d+s;break;case"right":n.setTextAlign("right"),r=d+x.width;break;default:n.setTextAlign("center"),r=d+x.width/2}n.fillText(String(t),r,i+f/2-3*e.pix)}else if("center"==x.position){switch(1==o.calibration&&(n.moveTo(h,i),n.lineTo(h-3*e.pix,i),s+=3*e.pix),g){case"left":n.setTextAlign("left"),r=h-x.width;break;case"right":n.setTextAlign("right"),r=h-s;break;default:n.setTextAlign("center"),r=h-x.width/2}n.fillText(String(t),r,i+f/2-3*e.pix)}n.closePath(),n.stroke(),n.setTextAlign("left")})),!1!==o.axisLine&&(n.beginPath(),n.setStrokeStyle(o.axisLineColor||"#cccccc"),n.setLineWidth(1*e.pix),"left"==x.position?(n.moveTo(c,e.height-e.area[2]),n.lineTo(c,e.area[0])):"right"==x.position?(n.moveTo(d,e.height-e.area[2]),n.lineTo(d,e.area[0])):"center"==x.position&&(n.moveTo(h,e.height-e.area[2]),n.lineTo(h,e.area[0])),n.stroke()),e.yAxis.showTitle){var v=o.titleFontSize*e.pix||a.fontSize,m=o.title;n.beginPath(),n.setFontSize(v),n.setFillStyle(o.titleFontColor||e.fontColor),"left"==x.position?n.fillText(m,c-y(m,v,n)/2+(o.titleOffsetX||0),e.area[0]-(10-(o.titleOffsetY||0))*e.pix):"right"==x.position?n.fillText(m,d-y(m,v,n)/2+(o.titleOffsetX||0),e.area[0]-(10-(o.titleOffsetY||0))*e.pix):"center"==x.position&&n.fillText(m,h-y(m,v,n)/2+(o.titleOffsetX||0),e.area[0]-(10-(o.titleOffsetY||0))*e.pix),n.closePath(),n.stroke()}"left"==x.position?c-=x.width+e.yAxis.padding*e.pix:d+=x.width+e.yAxis.padding*e.pix}},f=0;f<e.yAxis.data.length;f++){var p;u(f)}}}function wt(t,e,a,n,i){if(!1!==e.legend.show){var r=i.legendData,o=r.points,s=r.area,l=e.legend.padding*e.pix,c=e.legend.fontSize*e.pix,d=15*e.pix,h=5*e.pix,u=e.legend.itemGap*e.pix,f=Math.max(e.legend.lineHeight*e.pix,c);n.beginPath(),n.setLineWidth(e.legend.borderWidth*e.pix),n.setStrokeStyle(e.legend.borderColor),n.setFillStyle(e.legend.backgroundColor),n.moveTo(s.start.x,s.start.y),n.rect(s.start.x,s.start.y,s.width,s.height),n.closePath(),n.fill(),n.stroke(),o.forEach((function(t,i){var o,p=0;p=r.widthArr[i],o=r.heightArr[i];var x=0,g=0;if("top"==e.legend.position||"bottom"==e.legend.position){switch(e.legend.float){case"left":x=s.start.x+l;break;case"right":x=s.start.x+s.width-p;break;default:x=s.start.x+(s.width-p)/2}g=s.start.y+l+i*f}else p=0==i?0:r.widthArr[i-1],x=s.start.x+l+p,g=s.start.y+l+(s.height-o)/2;n.setFontSize(a.fontSize);for(var v=0;v<t.length;v++){var m=t[v];switch(m.area=[0,0,0,0],m.area[0]=x,m.area[1]=g,m.area[3]=g+f,n.beginPath(),n.setLineWidth(1*e.pix),n.setStrokeStyle(m.show?m.color:e.legend.hiddenColor),n.setFillStyle(m.show?m.color:e.legend.hiddenColor),m.legendShape){case"line":n.moveTo(x,g+.5*f-2*e.pix),n.fillRect(x,g+.5*f-2*e.pix,15*e.pix,4*e.pix);break;case"triangle":n.moveTo(x+7.5*e.pix,g+.5*f-5*e.pix),n.lineTo(x+2.5*e.pix,g+.5*f+5*e.pix),n.lineTo(x+12.5*e.pix,g+.5*f+5*e.pix),n.lineTo(x+7.5*e.pix,g+.5*f-5*e.pix);break;case"diamond":n.moveTo(x+7.5*e.pix,g+.5*f-5*e.pix),n.lineTo(x+2.5*e.pix,g+.5*f),n.lineTo(x+7.5*e.pix,g+.5*f+5*e.pix),n.lineTo(x+12.5*e.pix,g+.5*f),n.lineTo(x+7.5*e.pix,g+.5*f-5*e.pix);break;case"circle":n.moveTo(x+7.5*e.pix,g+.5*f),n.arc(x+7.5*e.pix,g+.5*f,5*e.pix,0,2*Math.PI);break;case"rect":n.moveTo(x,g+.5*f-5*e.pix),n.fillRect(x,g+.5*f-5*e.pix,15*e.pix,10*e.pix);break;case"square":n.moveTo(x+5*e.pix,g+.5*f-5*e.pix),n.fillRect(x+5*e.pix,g+.5*f-5*e.pix,10*e.pix,10*e.pix);break;case"none":break;default:n.moveTo(x,g+.5*f-5*e.pix),n.fillRect(x,g+.5*f-5*e.pix,15*e.pix,10*e.pix)}n.closePath(),n.fill(),n.stroke(),x+=d+h;var b=.5*f+.5*c-2,w=m.legendText?m.legendText:m.name;n.beginPath(),n.setFontSize(c),n.setFillStyle(m.show?e.legend.fontColor:e.legend.hiddenColor),n.fillText(w,x,g+b),n.closePath(),n.stroke(),"top"==e.legend.position||"bottom"==e.legend.position?(x+=y(w,c,n)+u,m.area[2]=x):(m.area[2]=x+y(w,c,n)+u,x-=d+h,g+=f)}}))}}function _t(t,e,a,n){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,r=s({},{activeOpacity:.5,activeRadius:10,offsetAngle:0,labelWidth:15,ringWidth:30,customRadius:0,border:!1,borderWidth:2,borderColor:"#FFFFFF",centerColor:"#FFFFFF",linearType:"none",customColor:[]},"pie"==e.type?e.extra.pie:e.extra.ring),o={x:e.area[3]+(e.width-e.area[1]-e.area[3])/2,y:e.area[0]+(e.height-e.area[0]-e.area[2])/2};0==a.pieChartLinePadding&&(a.pieChartLinePadding=r.activeRadius*e.pix);var l=Math.min((e.width-e.area[1]-e.area[3])/2-a.pieChartLinePadding-a.pieChartTextPadding-a._pieTextMaxLength_,(e.height-e.area[0]-e.area[2])/2-a.pieChartLinePadding-a.pieChartTextPadding);l=l<10?10:l,r.customRadius>0&&(l=r.customRadius*e.pix),t=E(t,l,i);var d=r.activeRadius*e.pix;if(r.customColor=v(r.linearType,r.customColor,t,a),t=t.map((function(t){return t._start_+=r.offsetAngle*Math.PI/180,t})),t.forEach((function(t,a){e.tooltip&&e.tooltip.index==a&&(n.beginPath(),n.setFillStyle(c(t.color,r.activeOpacity||.5)),n.moveTo(o.x,o.y),n.arc(o.x,o.y,t._radius_+d,t._start_,t._start_+2*t._proportion_*Math.PI),n.closePath(),n.fill()),n.beginPath(),n.setLineWidth(r.borderWidth*e.pix),n.lineJoin="round",n.setStrokeStyle(r.borderColor);var i,s=t.color;"custom"==r.linearType&&(i=n.createCircularGradient?n.createCircularGradient(o.x,o.y,t._radius_):n.createRadialGradient(o.x,o.y,0,o.x,o.y,t._radius_),i.addColorStop(0,c(r.customColor[t.linearIndex],1)),i.addColorStop(1,c(t.color,1)),s=i);n.setFillStyle(s),n.moveTo(o.x,o.y),n.arc(o.x,o.y,t._radius_,t._start_,t._start_+2*t._proportion_*Math.PI),n.closePath(),n.fill(),1==r.border&&n.stroke()})),"ring"===e.type){var h=.6*l;"number"===typeof r.ringWidth&&r.ringWidth>0&&(h=Math.max(0,l-r.ringWidth*e.pix)),n.beginPath(),n.setFillStyle(r.centerColor),n.moveTo(o.x,o.y),n.arc(o.x,o.y,h,0,2*Math.PI),n.closePath(),n.fill()}return!1!==e.dataLabel&&1===i&&ht(t,e,a,n,0,o),1===i&&"ring"===e.type&&rt(e,a,n,o),{center:o,radius:l,series:t}}function Ct(t,e){var a=Array(2),n=20037508.34*t/180,i=Math.log(Math.tan((90+e)*Math.PI/360))/(Math.PI/180);return i=20037508.34*i/180,a[0]=n,a[1]=i,a}function At(t,e,a,n,i,r){return{x:(e-a.xMin)*n+i,y:(a.yMax-t)*n+r}}function St(t,e,a){if(e[1]==a[1])return!1;if(e[1]>t[1]&&a[1]>t[1])return!1;if(e[1]<t[1]&&a[1]<t[1])return!1;if(e[1]==t[1]&&a[1]>t[1])return!1;if(a[1]==t[1]&&e[1]>t[1])return!1;if(e[0]<t[0]&&a[1]<t[1])return!1;var n=a[0]-(a[0]-e[0])*(a[1]-t[1])/(a[1]-e[1]);return!(n<t[0])}function Tt(t,e,a){for(var n=0,i=0;i<e.length;i++){var r=e[i][0];1==e.length&&(r=e[i][0]);for(var o=0;o<r.length-1;o++){var s=r[o],l=r[o+1];a&&(s=Ct(r[o][0],r[o][1]),l=Ct(r[o+1][0],r[o+1][1])),St(t,s,l)&&(n+=1)}}return n%2==1}function kt(t,e,a){a=0==a?1:a;for(var n=[],i=0;i<a;i++)n[i]=Math.random();return Math.floor(n.reduce((function(t,e){return t+e}))/a*(e-t))+t}function Pt(t,e,a,n){for(var i=!1,r=0;r<e.length;r++)if(e[r].area){if(!(t[3]<e[r].area[1]||t[0]>e[r].area[2]||t[1]>e[r].area[3]||t[2]<e[r].area[0])){i=!0;break}if(t[0]<0||t[1]<0||t[2]>a||t[3]>n){i=!0;break}i=!1}return i}function Mt(t,e,a){var n=t.series;switch(e){case"normal":for(var i=0;i<n.length;i++){var r=n[i].name,o=n[i].textSize*t.pix,s=y(r,o,a),l=void 0,c=void 0,d=void 0,h=0;while(1){h++,l=kt(-t.width/2,t.width/2,5)-s/2,c=kt(-t.height/2,t.height/2,5)+o/2,d=[l-5+t.width/2,c-5-o+t.height/2,l+s+5+t.width/2,c+5+t.height/2];var u=Pt(d,n,t.width,t.height);if(!u)break;if(1e3==h){d=[-100,-100,-100,-100];break}}n[i].area=d}break;case"vertical":for(var f=function(){return Math.random()>.7},p=0;p<n.length;p++){var x=n[p].name,g=n[p].textSize*t.pix,v=y(x,g,a),m=f(),b=void 0,w=void 0,_=void 0,C=void 0,A=0;while(1){A++;var S=void 0;if(m?(b=kt(-t.width/2,t.width/2,5)-v/2,w=kt(-t.height/2,t.height/2,5)+g/2,_=[w-5-v+t.width/2,-b-5+t.height/2,w+5+t.width/2,-b+g+5+t.height/2],C=[t.width-(t.width/2-t.height/2)-(-b+g+5+t.height/2)-5,t.height/2-t.width/2+(w-5-v+t.width/2)-5,t.width-(t.width/2-t.height/2)-(-b+g+5+t.height/2)+g,t.height/2-t.width/2+(w-5-v+t.width/2)+v+5],S=Pt(C,n,t.height,t.width)):(b=kt(-t.width/2,t.width/2,5)-v/2,w=kt(-t.height/2,t.height/2,5)+g/2,_=[b-5+t.width/2,w-5-g+t.height/2,b+v+5+t.width/2,w+5+t.height/2],S=Pt(_,n,t.width,t.height)),!S)break;if(1e3==A){_=[-1e3,-1e3,-1e3,-1e3];break}}m?(n[p].area=C,n[p].areav=_):n[p].area=_,n[p].rotate=m}break}return n}function Dt(t,e,a,n,i,r,o){for(var s=0;s<t.length;s++){var c=t[s];if(!1!==c.labelShow){var d=void 0,h=void 0,u=void 0,f=void 0,p=c.formatter?c.formatter(c,s,t,e):l.toFixed(100*c._proportion_)+"%";p=c.labelText?c.labelText:p,"right"==i&&(d=s==t.length-1?(c.funnelArea[2]+o.x)/2:(c.funnelArea[2]+t[s+1].funnelArea[2])/2,h=d+2*r,u=c.funnelArea[1]+n/2,f=c.textSize*e.pix||e.fontSize*e.pix,a.setLineWidth(1*e.pix),a.setStrokeStyle(c.color),a.setFillStyle(c.color),a.beginPath(),a.moveTo(d,u),a.lineTo(h,u),a.stroke(),a.closePath(),a.beginPath(),a.moveTo(h,u),a.arc(h,u,2*e.pix,0,2*Math.PI),a.closePath(),a.fill(),a.beginPath(),a.setFontSize(f),a.setFillStyle(c.textColor||e.fontColor),a.fillText(p,h+5,u+f/2-2),a.closePath(),a.stroke(),a.closePath()),"left"==i&&(d=s==t.length-1?(c.funnelArea[0]+o.x)/2:(c.funnelArea[0]+t[s+1].funnelArea[0])/2,h=d-2*r,u=c.funnelArea[1]+n/2,f=c.textSize*e.pix||e.fontSize*e.pix,a.setLineWidth(1*e.pix),a.setStrokeStyle(c.color),a.setFillStyle(c.color),a.beginPath(),a.moveTo(d,u),a.lineTo(h,u),a.stroke(),a.closePath(),a.beginPath(),a.moveTo(h,u),a.arc(h,u,2,0,2*Math.PI),a.closePath(),a.fill(),a.beginPath(),a.setFontSize(f),a.setFillStyle(c.textColor||e.fontColor),a.fillText(p,h-5-y(p,f,a),u+f/2-2),a.closePath(),a.stroke(),a.closePath())}}}function Ft(t,e,a,n,i,r,o){for(var s=0;s<t.length;s++){var l=t[s],c=void 0,d=void 0;l.centerText&&(c=l.funnelArea[1]+n/2,d=l.centerTextSize*e.pix||e.fontSize*e.pix,a.beginPath(),a.setFontSize(d),a.setFillStyle(l.centerTextColor||"#FFFFFF"),a.fillText(l.centerText,o.x-y(l.centerText,d,a)/2,c+d/2-2),a.closePath(),a.stroke(),a.closePath())}}function $t(t,e){e.draw()}var Lt={easeIn:function(t){return Math.pow(t,3)},easeOut:function(t){return Math.pow(t-1,3)+1},easeInOut:function(t){return(t/=.5)<1?.5*Math.pow(t,3):.5*(Math.pow(t-2,3)+2)},linear:function(t){return t}};function Ot(t){this.isStop=!1,t.duration="undefined"===typeof t.duration?1e3:t.duration,t.timing=t.timing||"easeInOut";var e=function(){return"undefined"!==typeof setTimeout?function(t,e){setTimeout((function(){var e=+new Date;t(e)}),e)}:"undefined"!==typeof requestAnimationFrame?requestAnimationFrame:function(t){t(null)}}(),a=null,n=function(i){if(null===i||!0===this.isStop)return t.onProcess&&t.onProcess(1),void(t.onAnimationFinish&&t.onAnimationFinish());if(null===a&&(a=i),i-a<t.duration){var r=(i-a)/t.duration,o=Lt[t.timing];r=o(r),t.onProcess&&t.onProcess(r),e(n,17)}else t.onProcess&&t.onProcess(1),t.onAnimationFinish&&t.onAnimationFinish()};n=n.bind(this),e(n,17)}function It(t,e,a,n){var r=this,o=this,d=e.series;"pie"!==t&&"ring"!==t&&"mount"!==t&&"rose"!==t&&"funnel"!==t||(d=function(t,e,a){var n=[];if(t.length>0&&t[0].data.constructor.toString().indexOf("Array")>-1){e._pieSeries_=t;for(var i=t[0].data,r=0;r<i.length;r++)i[r].formatter=t[0].formatter,i[r].data=i[r].value,n.push(i[r]);e.series=n}else n=t;return n}(d,e));var h=e.categories;if("mount"===t){h=[];for(var u=0;u<d.length;u++)!1!==d[u].show&&h.push(d[u].name);e.categories=h}d=g(d,e,a);var x=e.animation?e.duration:0;o.animationInstance&&o.animationInstance.stop();var m=null;if("candle"==t){var w=s({},e.extra.candle.average);w.show?(m=function(t,e,a,n){for(var i=[],r=0;r<t.length;r++){for(var o={data:[],name:e[r],color:a[r]},s=0,l=n.length;s<l;s++)if(s<t[r])o.data.push(null);else{for(var c=0,d=0;d<t[r];d++)c+=n[s-d][1];o.data.push(+(c/t[r]).toFixed(3))}i.push(o)}return i}(w.day,w.name,w.color,d[0].data),m=g(m,e,a),e.seriesMA=m):m=e.seriesMA?e.seriesMA=g(e.seriesMA,e,a):d}else m=d;e._series_=d=M(d),e.area=new Array(4);for(var _=0;_<4;_++)e.area[_]=e.padding[_]*e.pix;var C=function(t,e,a,n,i){var r={area:{start:{x:0,y:0},end:{x:0,y:0},width:0,height:0,wholeWidth:0,wholeHeight:0},points:[],widthArr:[],heightArr:[]};if(!1===e.legend.show)return n.legendData=r,r;var o=e.legend.padding*e.pix,s=e.legend.margin*e.pix,l=e.legend.fontSize?e.legend.fontSize*e.pix:a.fontSize,c=15*e.pix,d=5*e.pix,h=Math.max(e.legend.lineHeight*e.pix,l);if("top"==e.legend.position||"bottom"==e.legend.position){for(var u=[],f=0,p=[],x=[],g=0;g<t.length;g++){var v=t[g],m=v.legendText?v.legendText:v.name,b=c+d+y(m||"undefined",l,i)+e.legend.itemGap*e.pix;f+b>e.width-e.area[1]-e.area[3]?(u.push(x),p.push(f-e.legend.itemGap*e.pix),f=b,x=[v]):(f+=b,x.push(v))}if(x.length){u.push(x),p.push(f-e.legend.itemGap*e.pix),r.widthArr=p;var w=Math.max.apply(null,p);switch(e.legend.float){case"left":r.area.start.x=e.area[3],r.area.end.x=e.area[3]+w+2*o;break;case"right":r.area.start.x=e.width-e.area[1]-w-2*o,r.area.end.x=e.width-e.area[1];break;default:r.area.start.x=(e.width-w)/2-o,r.area.end.x=(e.width+w)/2+o}r.area.width=w+2*o,r.area.wholeWidth=w+2*o,r.area.height=u.length*h+2*o,r.area.wholeHeight=u.length*h+2*o+2*s,r.points=u}}else{var _=t.length,C=e.height-e.area[0]-e.area[2]-2*s-2*o,A=Math.min(Math.floor(C/h),_);switch(r.area.height=A*h+2*o,r.area.wholeHeight=A*h+2*o,e.legend.float){case"top":r.area.start.y=e.area[0]+s,r.area.end.y=e.area[0]+s+r.area.height;break;case"bottom":r.area.start.y=e.height-e.area[2]-s-r.area.height,r.area.end.y=e.height-e.area[2]-s;break;default:r.area.start.y=(e.height-r.area.height)/2,r.area.end.y=(e.height+r.area.height)/2}for(var S=_%A===0?_/A:Math.floor(_/A+1),T=[],k=0;k<S;k++){var P=t.slice(k*A,k*A+A);T.push(P)}if(r.points=T,T.length){for(var M=0;M<T.length;M++){for(var D=T[M],F=0,$=0;$<D.length;$++){var L=c+d+y(D[$].name||"undefined",l,i)+e.legend.itemGap*e.pix;L>F&&(F=L)}r.widthArr.push(F),r.heightArr.push(D.length*h+2*o)}for(var O=0,I=0;I<r.widthArr.length;I++)O+=r.widthArr[I];r.area.width=O-e.legend.itemGap*e.pix+2*o,r.area.wholeWidth=r.area.width+o}}switch(e.legend.position){case"top":r.area.start.y=e.area[0]+s,r.area.end.y=e.area[0]+s+r.area.height;break;case"bottom":r.area.start.y=e.height-e.area[2]-r.area.height-s,r.area.end.y=e.height-e.area[2]-s;break;case"left":r.area.start.x=e.area[3],r.area.end.x=e.area[3]+r.area.width;break;case"right":r.area.start.x=e.width-e.area[1]-r.area.width,r.area.end.x=e.width-e.area[1];break}return n.legendData=r,r}(m,e,a,e.chartData,n),T=C.area.wholeHeight,k=C.area.wholeWidth;switch(e.legend.position){case"top":e.area[0]+=T;break;case"bottom":e.area[2]+=T;break;case"left":e.area[3]+=k;break;case"right":e.area[1]+=k;break}var P={},D=0;if("line"===e.type||"column"===e.type||"mount"===e.type||"area"===e.type||"mix"===e.type||"candle"===e.type||"scatter"===e.type||"bubble"===e.type||"bar"===e.type){if(P=at(d,e,a,n),D=P.yAxisWidth,e.yAxis.showTitle){for(var F=0,et=0;et<e.yAxis.data.length;et++)F=Math.max(F,e.yAxis.data[et].titleFontSize?e.yAxis.data[et].titleFontSize*e.pix:a.fontSize);e.area[0]+=F}for(var ft=0,gt=0,St=0;St<D.length;St++)"left"==D[St].position?(e.area[3]+=gt>0?D[St].width+e.yAxis.padding*e.pix:D[St].width,gt+=1):"right"==D[St].position&&(e.area[1]+=ft>0?D[St].width+e.yAxis.padding*e.pix:D[St].width,ft+=1)}else a.yAxisWidth=D;if(e.chartData.yAxisData=P,e.categories&&e.categories.length&&"radar"!==e.type&&"gauge"!==e.type&&"bar"!==e.type){e.chartData.xAxisData=X(e.categories,e);var Tt=L(e.categories,e,a,e.chartData.xAxisData.eachSpacing,n),kt=Tt.xAxisHeight,Pt=Tt.angle;a.xAxisHeight=kt,a._xAxisTextAngle_=Pt,e.area[2]+=kt,e.chartData.categoriesData=Tt}else if("line"===e.type||"area"===e.type||"scatter"===e.type||"bubble"===e.type||"bar"===e.type){e.chartData.xAxisData=O(d,e,a,n),h=e.chartData.xAxisData.rangesFormat;var Lt=L(h,e,a,e.chartData.xAxisData.eachSpacing,n),It=Lt.xAxisHeight,Et=Lt.angle;a.xAxisHeight=It,a._xAxisTextAngle_=Et,e.area[2]+=It,e.chartData.categoriesData=Lt}else e.chartData.xAxisData={xAxisPoints:[]};if(e.enableScroll&&"right"==e.xAxis.scrollAlign&&void 0===e._scrollDistance_){var zt,Bt=e.chartData.xAxisData.xAxisPoints,Wt=e.chartData.xAxisData.startX,Rt=e.chartData.xAxisData.endX,jt=e.chartData.xAxisData.eachSpacing,Gt=jt*(Bt.length-1),Nt=Rt-Wt;zt=Nt-Gt,o.scrollOption.currentOffset=zt,o.scrollOption.startTouchX=zt,o.scrollOption.distance=0,o.scrollOption.lastMoveTime=0,e._scrollDistance_=zt}switch("pie"!==t&&"ring"!==t&&"rose"!==t||(a._pieTextMaxLength_=!1===e.dataLabel?0:function(t,e,a,n){t=E(t);for(var i=0,r=0;r<t.length;r++){var o=t[r],s=o.formatter?o.formatter(+o._proportion_.toFixed(2)):l.toFixed(100*o._proportion_)+"%";i=Math.max(i,y(s,o.textSize*n.pix||e.fontSize,a))}return i}(m,a,n,e)),t){case"word":this.animationInstance=new Ot({timing:e.timing,duration:x,onProcess:function(t){n.clearRect(0,0,e.width,e.height),e.rotate&&nt(n,e),function(t,e,a,n){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,r=s({},{type:"normal",autoColors:!0},e.extra.word);e.chartData.wordCloudData||(e.chartData.wordCloudData=Mt(e,r.type,n)),n.beginPath(),n.setFillStyle(e.background),n.rect(0,0,e.width,e.height),n.fill(),n.save();var o=e.chartData.wordCloudData;n.translate(e.width/2,e.height/2);for(var l=0;l<o.length;l++){n.save(),o[l].rotate&&n.rotate(90*Math.PI/180);var c=o[l].name,d=o[l].textSize*e.pix,h=y(c,d,n);n.beginPath(),n.setStrokeStyle(o[l].color),n.setFillStyle(o[l].color),n.setFontSize(d),o[l].rotate?o[l].areav[0]>0&&(e.tooltip&&e.tooltip.index==l?n.strokeText(c,(o[l].areav[0]+5-e.width/2)*i-h*(1-i)/2,(o[l].areav[1]+5+d-e.height/2)*i):n.fillText(c,(o[l].areav[0]+5-e.width/2)*i-h*(1-i)/2,(o[l].areav[1]+5+d-e.height/2)*i)):o[l].area[0]>0&&(e.tooltip&&e.tooltip.index==l?n.strokeText(c,(o[l].area[0]+5-e.width/2)*i-h*(1-i)/2,(o[l].area[1]+5+d-e.height/2)*i):n.fillText(c,(o[l].area[0]+5-e.width/2)*i-h*(1-i)/2,(o[l].area[1]+5+d-e.height/2)*i)),n.stroke(),n.restore()}n.restore()}(d,e,a,n,t),$t(0,n)},onAnimationFinish:function(){o.uevent.trigger("renderComplete")}});break;case"map":n.clearRect(0,0,e.width,e.height),function(t,e,a,n){var i,r,o=s({},{border:!0,mercator:!1,borderWidth:1,active:!0,borderColor:"#666666",fillOpacity:.6,activeBorderColor:"#f04864",activeFillColor:"#facc14",activeFillOpacity:1},e.extra.map),l=t,d=function(t){for(var e,a={xMin:180,xMax:0,yMin:90,yMax:0},n=0;n<t.length;n++)for(var i=t[n].geometry.coordinates,r=0;r<i.length;r++){e=i[r],1==e.length&&(e=e[0]);for(var o=0;o<e.length;o++){var s=e[o][0],l=e[o][1],c={x:s,y:l};a.xMin=a.xMin<c.x?a.xMin:c.x,a.xMax=a.xMax>c.x?a.xMax:c.x,a.yMin=a.yMin<c.y?a.yMin:c.y,a.yMax=a.yMax>c.y?a.yMax:c.y}}return a}(l);if(o.mercator){var h=Ct(d.xMax,d.yMax),u=Ct(d.xMin,d.yMin);d.xMax=h[0],d.yMax=h[1],d.xMin=u[0],d.yMin=u[1]}for(var f=e.width/Math.abs(d.xMax-d.xMin),p=e.height/Math.abs(d.yMax-d.yMin),x=f<p?f:p,g=e.width/2-Math.abs(d.xMax-d.xMin)/2*x,v=e.height/2-Math.abs(d.yMax-d.yMin)/2*x,m=0;m<l.length;m++){n.beginPath(),n.setLineWidth(o.borderWidth*e.pix),n.setStrokeStyle(o.borderColor),n.setFillStyle(c(t[m].color,t[m].fillOpacity||o.fillOpacity)),1==o.active&&e.tooltip&&e.tooltip.index==m&&(n.setStrokeStyle(o.activeBorderColor),n.setFillStyle(c(o.activeFillColor,o.activeFillOpacity)));for(var b=l[m].geometry.coordinates,w=0;w<b.length;w++){i=b[w],1==i.length&&(i=i[0]);for(var _=0;_<i.length;_++){var C=Array(2);C=o.mercator?Ct(i[_][0],i[_][1]):i[_],r=At(C[1],C[0],d,x,g,v),0===_?(n.beginPath(),n.moveTo(r.x,r.y)):n.lineTo(r.x,r.y)}n.fill(),1==o.border&&n.stroke()}}if(1==e.dataLabel)for(m=0;m<l.length;m++){var A=l[m].properties.centroid;if(A){o.mercator&&(A=Ct(l[m].properties.centroid[0],l[m].properties.centroid[1])),r=At(A[1],A[0],d,x,g,v);var S=l[m].textSize*e.pix||a.fontSize,T=l[m].textColor||e.fontColor;o.active&&o.activeTextColor&&e.tooltip&&e.tooltip.index==m&&(T=o.activeTextColor);var k=l[m].properties.name;n.beginPath(),n.setFontSize(S),n.setFillStyle(T),n.fillText(k,r.x-y(k,S,n)/2,r.y+S/2),n.closePath(),n.stroke()}}e.chartData.mapData={bounds:d,scale:x,xoffset:g,yoffset:v,mercator:o.mercator},vt(e,a,n,1),n.draw()}(d,e,a,n),setTimeout((function(){r.uevent.trigger("renderComplete")}),50);break;case"funnel":this.animationInstance=new Ot({timing:e.timing,duration:x,onProcess:function(t){n.clearRect(0,0,e.width,e.height),e.rotate&&nt(n,e),e.chartData.funnelData=function(t,e,a,n){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,r=s({},{type:"funnel",activeWidth:10,activeOpacity:.3,border:!1,borderWidth:2,borderColor:"#FFFFFF",fillOpacity:1,minSize:0,labelAlign:"right",linearType:"none",customColor:[]},e.extra.funnel),o=(e.height-e.area[0]-e.area[2])/t.length,l={x:e.area[3]+(e.width-e.area[1]-e.area[3])/2,y:e.height-e.area[2]},d=r.activeWidth*e.pix,h=Math.min((e.width-e.area[1]-e.area[3])/2-d,(e.height-e.area[0]-e.area[2])/2-d),u=z(t,h,r,o,i);if(n.save(),n.translate(l.x,l.y),r.customColor=v(r.linearType,r.customColor,t,a),"pyramid"==r.type)for(var f=0;f<u.length;f++){if(f==u.length-1){e.tooltip&&e.tooltip.index==f&&(n.beginPath(),n.setFillStyle(c(u[f].color,r.activeOpacity)),n.moveTo(-d,-o),n.lineTo(-u[f].radius-d,0),n.lineTo(u[f].radius+d,0),n.lineTo(d,-o),n.lineTo(-d,-o),n.closePath(),n.fill()),u[f].funnelArea=[l.x-u[f].radius,l.y-o*(f+1),l.x+u[f].radius,l.y-o*f],n.beginPath(),n.setLineWidth(r.borderWidth*e.pix),n.setStrokeStyle(r.borderColor);var p=c(u[f].color,r.fillOpacity);if("custom"==r.linearType){var x=n.createLinearGradient(u[f].radius,-o,-u[f].radius,-o);x.addColorStop(0,c(u[f].color,r.fillOpacity)),x.addColorStop(.5,c(r.customColor[u[f].linearIndex],r.fillOpacity)),x.addColorStop(1,c(u[f].color,r.fillOpacity)),p=x}n.setFillStyle(p),n.moveTo(0,-o),n.lineTo(-u[f].radius,0),n.lineTo(u[f].radius,0),n.lineTo(0,-o),n.closePath(),n.fill(),1==r.border&&n.stroke()}else{e.tooltip&&e.tooltip.index==f&&(n.beginPath(),n.setFillStyle(c(u[f].color,r.activeOpacity)),n.moveTo(0,0),n.lineTo(-u[f].radius-d,0),n.lineTo(-u[f+1].radius-d,-o),n.lineTo(u[f+1].radius+d,-o),n.lineTo(u[f].radius+d,0),n.lineTo(0,0),n.closePath(),n.fill()),u[f].funnelArea=[l.x-u[f].radius,l.y-o*(f+1),l.x+u[f].radius,l.y-o*f],n.beginPath(),n.setLineWidth(r.borderWidth*e.pix),n.setStrokeStyle(r.borderColor);p=c(u[f].color,r.fillOpacity);if("custom"==r.linearType){x=n.createLinearGradient(u[f].radius,-o,-u[f].radius,-o);x.addColorStop(0,c(u[f].color,r.fillOpacity)),x.addColorStop(.5,c(r.customColor[u[f].linearIndex],r.fillOpacity)),x.addColorStop(1,c(u[f].color,r.fillOpacity)),p=x}n.setFillStyle(p),n.moveTo(0,0),n.lineTo(-u[f].radius,0),n.lineTo(-u[f+1].radius,-o),n.lineTo(u[f+1].radius,-o),n.lineTo(u[f].radius,0),n.lineTo(0,0),n.closePath(),n.fill(),1==r.border&&n.stroke()}n.translate(0,-o)}else{n.translate(0,-(u.length-1)*o);for(var g=0;g<u.length;g++){if(g==u.length-1){e.tooltip&&e.tooltip.index==g&&(n.beginPath(),n.setFillStyle(c(u[g].color,r.activeOpacity)),n.moveTo(-d-r.minSize/2,0),n.lineTo(-u[g].radius-d,-o),n.lineTo(u[g].radius+d,-o),n.lineTo(d+r.minSize/2,0),n.lineTo(-d-r.minSize/2,0),n.closePath(),n.fill()),u[g].funnelArea=[l.x-u[g].radius,l.y-o,l.x+u[g].radius,l.y],n.beginPath(),n.setLineWidth(r.borderWidth*e.pix),n.setStrokeStyle(r.borderColor);p=c(u[g].color,r.fillOpacity);if("custom"==r.linearType){x=n.createLinearGradient(u[g].radius,-o,-u[g].radius,-o);x.addColorStop(0,c(u[g].color,r.fillOpacity)),x.addColorStop(.5,c(r.customColor[u[g].linearIndex],r.fillOpacity)),x.addColorStop(1,c(u[g].color,r.fillOpacity)),p=x}n.setFillStyle(p),n.moveTo(0,0),n.lineTo(-r.minSize/2,0),n.lineTo(-u[g].radius,-o),n.lineTo(u[g].radius,-o),n.lineTo(r.minSize/2,0),n.lineTo(0,0),n.closePath(),n.fill(),1==r.border&&n.stroke()}else{e.tooltip&&e.tooltip.index==g&&(n.beginPath(),n.setFillStyle(c(u[g].color,r.activeOpacity)),n.moveTo(0,0),n.lineTo(-u[g+1].radius-d,0),n.lineTo(-u[g].radius-d,-o),n.lineTo(u[g].radius+d,-o),n.lineTo(u[g+1].radius+d,0),n.lineTo(0,0),n.closePath(),n.fill()),u[g].funnelArea=[l.x-u[g].radius,l.y-o*(u.length-g),l.x+u[g].radius,l.y-o*(u.length-g-1)],n.beginPath(),n.setLineWidth(r.borderWidth*e.pix),n.setStrokeStyle(r.borderColor);p=c(u[g].color,r.fillOpacity);if("custom"==r.linearType){x=n.createLinearGradient(u[g].radius,-o,-u[g].radius,-o);x.addColorStop(0,c(u[g].color,r.fillOpacity)),x.addColorStop(.5,c(r.customColor[u[g].linearIndex],r.fillOpacity)),x.addColorStop(1,c(u[g].color,r.fillOpacity)),p=x}n.setFillStyle(p),n.moveTo(0,0),n.lineTo(-u[g+1].radius,0),n.lineTo(-u[g].radius,-o),n.lineTo(u[g].radius,-o),n.lineTo(u[g+1].radius,0),n.lineTo(0,0),n.closePath(),n.fill(),1==r.border&&n.stroke()}n.translate(0,o)}}return n.restore(),!1!==e.dataLabel&&1===i&&Dt(u,e,n,o,r.labelAlign,d,l),1===i&&Ft(u,e,n,o,r.labelAlign,d,l),{center:l,radius:h,series:u}}(d,e,a,n,t),wt(e.series,e,a,n,e.chartData),vt(e,a,n,t),$t(0,n)},onAnimationFinish:function(){o.uevent.trigger("renderComplete")}});break;case"line":this.animationInstance=new Ot({timing:e.timing,duration:x,onProcess:function(t){n.clearRect(0,0,e.width,e.height),e.rotate&&nt(n,e),yt(0,e,0,n),mt(h,e,a,n);var i=function(t,e,a,n){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,r=s({},{type:"straight",width:2},e.extra.line);r.width*=e.pix;var o=e.chartData.xAxisData,l=o.xAxisPoints,c=o.eachSpacing,d=[];n.save();var h=0,u=e.width+c;return e._scrollDistance_&&0!==e._scrollDistance_&&!0===e.enableScroll&&(n.translate(e._scrollDistance_,0),h=-e._scrollDistance_-2*c+e.area[3],u=h+(e.xAxis.itemCount+4)*c),t.forEach((function(t,o){var s,p,x;s=[].concat(e.chartData.yAxisData.ranges[t.index]),p=s.pop(),x=s.shift();var g=t.data,v=J(g,p,x,l,c,e,a,i);d.push(v);var m=$(v,t);if("dash"==t.lineType){var y=t.dashLength?t.dashLength:8;y*=e.pix,n.setLineDash([y,y])}n.beginPath(),n.setStrokeStyle(t.color),n.setLineWidth(r.width),m.forEach((function(t,e){if(1===t.length)n.moveTo(t[0].x,t[0].y),n.arc(t[0].x,t[0].y,1,0,2*Math.PI);else{n.moveTo(t[0].x,t[0].y);var a=0;if("curve"===r.type)for(var i=0;i<t.length;i++){var o=t[i];if(0==a&&o.x>h&&(n.moveTo(o.x,o.y),a=1),i>0&&o.x>h&&o.x<u){var s=f(t,i-1);n.bezierCurveTo(s.ctrA.x,s.ctrA.y,s.ctrB.x,s.ctrB.y,o.x,o.y)}}if("straight"===r.type)for(var l=0;l<t.length;l++){var c=t[l];0==a&&c.x>h&&(n.moveTo(c.x,c.y),a=1),l>0&&c.x>h&&c.x<u&&n.lineTo(c.x,c.y)}if("step"===r.type)for(var d=0;d<t.length;d++){var p=t[d];0==a&&p.x>h&&(n.moveTo(p.x,p.y),a=1),d>0&&p.x>h&&p.x<u&&(n.lineTo(p.x,t[d-1].y),n.lineTo(p.x,p.y))}n.moveTo(t[0].x,t[0].y)}})),n.stroke(),n.setLineDash([]),!1!==e.dataPointShape&&it(v,t.color,t.pointShape,n,e)})),!1!==e.dataLabel&&1===i&&t.forEach((function(t,r){var o,s,d;o=[].concat(e.chartData.yAxisData.ranges[t.index]),s=o.pop(),d=o.shift();var h=t.data,u=J(h,s,d,l,c,e,a,i);ot(u,t,a,n,e)})),n.restore(),{xAxisPoints:l,calPoints:d,eachSpacing:c}}(d,e,a,n,t),r=i.xAxisPoints,o=i.calPoints,l=i.eachSpacing;e.chartData.xAxisPoints=r,e.chartData.calPoints=o,e.chartData.eachSpacing=l,bt(0,e,a,n),!1!==e.enableMarkLine&&1===t&&ut(e,a,n),wt(e.series,e,a,n,e.chartData),vt(e,a,n,t),$t(0,n)},onAnimationFinish:function(){o.uevent.trigger("renderComplete")}});break;case"scatter":this.animationInstance=new Ot({timing:e.timing,duration:x,onProcess:function(t){n.clearRect(0,0,e.width,e.height),e.rotate&&nt(n,e),yt(0,e,0,n),mt(h,e,a,n);var i=function(t,e,a,n){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,r=(s({},{type:"circle"},e.extra.scatter),e.chartData.xAxisData),o=r.xAxisPoints,l=r.eachSpacing,c=[];n.save();return e.width,e._scrollDistance_&&0!==e._scrollDistance_&&!0===e.enableScroll&&(n.translate(e._scrollDistance_,0),-e._scrollDistance_-2*l+e.area[3],e.xAxis.itemCount),t.forEach((function(t,r){var s,c,d;s=[].concat(e.chartData.yAxisData.ranges[t.index]),c=s.pop(),d=s.shift();var h=t.data,u=J(h,c,d,o,l,e,a,i);n.beginPath(),n.setStrokeStyle(t.color),n.setFillStyle(t.color),n.setLineWidth(1*e.pix);var f=t.pointShape;if("diamond"===f)u.forEach((function(t,e){null!==t&&(n.moveTo(t.x,t.y-4.5),n.lineTo(t.x-4.5,t.y),n.lineTo(t.x,t.y+4.5),n.lineTo(t.x+4.5,t.y),n.lineTo(t.x,t.y-4.5))}));else if("circle"===f)u.forEach((function(t,a){null!==t&&(n.moveTo(t.x+2.5*e.pix,t.y),n.arc(t.x,t.y,3*e.pix,0,2*Math.PI,!1))}));else if("square"===f)u.forEach((function(t,e){null!==t&&(n.moveTo(t.x-3.5,t.y-3.5),n.rect(t.x-3.5,t.y-3.5,7,7))}));else if("triangle"===f)u.forEach((function(t,e){null!==t&&(n.moveTo(t.x,t.y-4.5),n.lineTo(t.x-4.5,t.y+4.5),n.lineTo(t.x+4.5,t.y+4.5),n.lineTo(t.x,t.y-4.5))}));else if("triangle"===f)return;n.closePath(),n.fill(),n.stroke()})),!1!==e.dataLabel&&1===i&&t.forEach((function(t,r){var s,c,d;s=[].concat(e.chartData.yAxisData.ranges[t.index]),c=s.pop(),d=s.shift();var h=t.data,u=J(h,c,d,o,l,e,a,i);ot(u,t,a,n,e)})),n.restore(),{xAxisPoints:o,calPoints:c,eachSpacing:l}}(d,e,a,n,t),r=i.xAxisPoints,o=i.calPoints,l=i.eachSpacing;e.chartData.xAxisPoints=r,e.chartData.calPoints=o,e.chartData.eachSpacing=l,bt(0,e,a,n),!1!==e.enableMarkLine&&1===t&&ut(e,a,n),wt(e.series,e,a,n,e.chartData),vt(e,a,n,t),$t(0,n)},onAnimationFinish:function(){o.uevent.trigger("renderComplete")}});break;case"bubble":this.animationInstance=new Ot({timing:e.timing,duration:x,onProcess:function(t){n.clearRect(0,0,e.width,e.height),e.rotate&&nt(n,e),yt(0,e,0,n),mt(h,e,a,n);var i=function(t,e,a,n){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,r=s({},{opacity:1,border:2},e.extra.bubble),o=e.chartData.xAxisData,l=o.xAxisPoints,d=o.eachSpacing,h=[];n.save();return e.width,e._scrollDistance_&&0!==e._scrollDistance_&&!0===e.enableScroll&&(n.translate(e._scrollDistance_,0),-e._scrollDistance_-2*d+e.area[3],e.xAxis.itemCount),t.forEach((function(t,o){var s,h,u;s=[].concat(e.chartData.yAxisData.ranges[t.index]),h=s.pop(),u=s.shift();var f=t.data,p=J(f,h,u,l,d,e,a,i);n.beginPath(),n.setStrokeStyle(t.color),n.setLineWidth(r.border*e.pix),n.setFillStyle(c(t.color,r.opacity)),p.forEach((function(t,a){n.moveTo(t.x+t.r,t.y),n.arc(t.x,t.y,t.r*e.pix,0,2*Math.PI,!1)})),n.closePath(),n.fill(),n.stroke(),!1!==e.dataLabel&&1===i&&p.forEach((function(i,r){n.beginPath();var o=t.textSize*e.pix||a.fontSize;n.setFontSize(o),n.setFillStyle(t.textColor||"#FFFFFF"),n.setTextAlign("center"),n.fillText(String(i.t),i.x,i.y+o/2),n.closePath(),n.stroke(),n.setTextAlign("left")}))})),n.restore(),{xAxisPoints:l,calPoints:h,eachSpacing:d}}(d,e,a,n,t),r=i.xAxisPoints,o=i.calPoints,l=i.eachSpacing;e.chartData.xAxisPoints=r,e.chartData.calPoints=o,e.chartData.eachSpacing=l,bt(0,e,a,n),!1!==e.enableMarkLine&&1===t&&ut(e,a,n),wt(e.series,e,a,n,e.chartData),vt(e,a,n,t),$t(0,n)},onAnimationFinish:function(){o.uevent.trigger("renderComplete")}});break;case"mix":this.animationInstance=new Ot({timing:e.timing,duration:x,onProcess:function(t){n.clearRect(0,0,e.width,e.height),e.rotate&&nt(n,e),yt(0,e,0,n),mt(h,e,a,n);var r=function(t,e,a,n){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,o=e.chartData.xAxisData,l=o.xAxisPoints,d=o.eachSpacing,h=s({},{width:d/2,barBorderCircle:!1,barBorderRadius:[],seriesGap:2,linearType:"none",linearOpacity:1,customColor:[],colorStop:0},e.extra.mix.column),u=s({},{opacity:.2,gradient:!1},e.extra.mix.area),p=s({},{width:2},e.extra.mix.line),x=e.height-e.area[2],g=[],m=0,y=0;t.forEach((function(t,e){"column"==t.type&&(y+=1)})),n.save();var b=-2,w=l.length+2,_=0,C=e.width+d;if(e._scrollDistance_&&0!==e._scrollDistance_&&!0===e.enableScroll&&(n.translate(e._scrollDistance_,0),b=Math.floor(-e._scrollDistance_/d)-2,w=b+e.xAxis.itemCount+4,_=-e._scrollDistance_-2*d+e.area[3],C=_+(e.xAxis.itemCount+4)*d),h.customColor=v(h.linearType,h.customColor,t,a),t.forEach((function(t,o){var s,v,A;s=[].concat(e.chartData.yAxisData.ranges[t.index]),v=s.pop(),A=s.shift();var S=t.data,T=J(S,v,A,l,d,e,a,r);if(g.push(T),"column"==t.type){T=N(T,d,y,m,0,e);for(var k=0;k<T.length;k++){var P=T[k];if(null!==P&&k>b&&k<w){var M=P.x-P.width/2;e.height,P.y,e.area[2];n.beginPath();var D=P.color||t.color,F=P.color||t.color;if("none"!==h.linearType){var L=n.createLinearGradient(M,P.y,M,e.height-e.area[2]);"opacity"==h.linearType?(L.addColorStop(0,c(D,h.linearOpacity)),L.addColorStop(1,c(D,1))):(L.addColorStop(0,c(h.customColor[t.linearIndex],h.linearOpacity)),L.addColorStop(h.colorStop,c(h.customColor[t.linearIndex],h.linearOpacity)),L.addColorStop(1,c(D,1))),D=L}if(h.barBorderRadius&&4===h.barBorderRadius.length||h.barBorderCircle){var O=M,I=P.y,E=P.width,z=e.height-e.area[2]-P.y;h.barBorderCircle&&(h.barBorderRadius=[E/2,E/2,0,0]);var B=(0,i.default)(h.barBorderRadius,4),W=B[0],R=B[1],j=B[2],G=B[3],Y=Math.min(E/2,z/2);W=W>Y?Y:W,R=R>Y?Y:R,j=j>Y?Y:j,G=G>Y?Y:G,W=W<0?0:W,R=R<0?0:R,j=j<0?0:j,G=G<0?0:G,n.arc(O+W,I+W,W,-Math.PI,-Math.PI/2),n.arc(O+E-R,I+R,R,-Math.PI/2,0),n.arc(O+E-j,I+z-j,j,0,Math.PI/2),n.arc(O+G,I+z-G,G,Math.PI/2,Math.PI)}else n.moveTo(M,P.y),n.lineTo(M+P.width,P.y),n.lineTo(M+P.width,e.height-e.area[2]),n.lineTo(M,e.height-e.area[2]),n.lineTo(M,P.y),n.setLineWidth(1),n.setStrokeStyle(F);n.setFillStyle(D),n.closePath(),n.fill()}}m+=1}if("area"==t.type)for(var U=$(T,t),V=0;V<U.length;V++){var H=U[V];if(n.beginPath(),n.setStrokeStyle(t.color),n.setStrokeStyle(c(t.color,u.opacity)),u.gradient){var X=n.createLinearGradient(0,e.area[0],0,e.height-e.area[2]);X.addColorStop("0",c(t.color,u.opacity)),X.addColorStop("1.0",c("#FFFFFF",.1)),n.setFillStyle(X)}else n.setFillStyle(c(t.color,u.opacity));if(n.setLineWidth(2*e.pix),H.length>1){var q=H[0],Q=H[H.length-1];n.moveTo(q.x,q.y);var Z=0;if("curve"===t.style)for(var K=0;K<H.length;K++){var tt=H[K];if(0==Z&&tt.x>_&&(n.moveTo(tt.x,tt.y),Z=1),K>0&&tt.x>_&&tt.x<C){var et=f(H,K-1);n.bezierCurveTo(et.ctrA.x,et.ctrA.y,et.ctrB.x,et.ctrB.y,tt.x,tt.y)}}else for(var at=0;at<H.length;at++){var nt=H[at];0==Z&&nt.x>_&&(n.moveTo(nt.x,nt.y),Z=1),at>0&&nt.x>_&&nt.x<C&&n.lineTo(nt.x,nt.y)}n.lineTo(Q.x,x),n.lineTo(q.x,x),n.lineTo(q.x,q.y)}else{var rt=H[0];n.moveTo(rt.x-d/2,rt.y),n.lineTo(rt.x+d/2,rt.y),n.lineTo(rt.x+d/2,x),n.lineTo(rt.x-d/2,x),n.moveTo(rt.x-d/2,rt.y)}n.closePath(),n.fill()}if("line"==t.type){var ot=$(T,t);ot.forEach((function(a,i){if("dash"==t.lineType){var r=t.dashLength?t.dashLength:8;r*=e.pix,n.setLineDash([r,r])}if(n.beginPath(),n.setStrokeStyle(t.color),n.setLineWidth(p.width*e.pix),1===a.length)n.moveTo(a[0].x,a[0].y),n.arc(a[0].x,a[0].y,1,0,2*Math.PI);else{n.moveTo(a[0].x,a[0].y);var o=0;if("curve"==t.style)for(var s=0;s<a.length;s++){var l=a[s];if(0==o&&l.x>_&&(n.moveTo(l.x,l.y),o=1),s>0&&l.x>_&&l.x<C){var c=f(a,s-1);n.bezierCurveTo(c.ctrA.x,c.ctrA.y,c.ctrB.x,c.ctrB.y,l.x,l.y)}}else for(var d=0;d<a.length;d++){var h=a[d];0==o&&h.x>_&&(n.moveTo(h.x,h.y),o=1),d>0&&h.x>_&&h.x<C&&n.lineTo(h.x,h.y)}n.moveTo(a[0].x,a[0].y)}n.stroke(),n.setLineDash([])}))}"point"==t.type&&(t.addPoint=!0),1==t.addPoint&&"column"!==t.type&&it(T,t.color,t.pointShape,n,e)})),!1!==e.dataLabel&&1===r){m=0;t.forEach((function(t,i){var o,s,c;o=[].concat(e.chartData.yAxisData.ranges[t.index]),s=o.pop(),c=o.shift();var h=t.data,u=J(h,s,c,l,d,e,a,r);"column"!==t.type?ot(u,t,a,n,e):(u=N(u,d,y,m,0,e),ot(u,t,a,n,e),m+=1)}))}return n.restore(),{xAxisPoints:l,calPoints:g,eachSpacing:d}}(d,e,a,n,t),o=r.xAxisPoints,l=r.calPoints,u=r.eachSpacing;e.chartData.xAxisPoints=o,e.chartData.calPoints=l,e.chartData.eachSpacing=u,bt(0,e,a,n),!1!==e.enableMarkLine&&1===t&&ut(e,a,n),wt(e.series,e,a,n,e.chartData),vt(e,a,n,t),$t(0,n)},onAnimationFinish:function(){o.uevent.trigger("renderComplete")}});break;case"column":this.animationInstance=new Ot({timing:e.timing,duration:x,onProcess:function(t){n.clearRect(0,0,e.width,e.height),e.rotate&&nt(n,e),yt(0,e,0,n),mt(h,e,a,n);var r=function(t,e,a,n){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,o=e.chartData.xAxisData,l=o.xAxisPoints,d=o.eachSpacing,h=s({},{type:"group",width:d/2,meterBorder:4,meterFillColor:"#FFFFFF",barBorderCircle:!1,barBorderRadius:[],seriesGap:2,linearType:"none",linearOpacity:1,customColor:[],colorStop:0},e.extra.column),u=[];n.save();var f=-2,p=l.length+2;return e._scrollDistance_&&0!==e._scrollDistance_&&!0===e.enableScroll&&(n.translate(e._scrollDistance_,0),f=Math.floor(-e._scrollDistance_/d)-2,p=f+e.xAxis.itemCount+4),e.tooltip&&e.tooltip.textList&&e.tooltip.textList.length&&1===r&&pt(e.tooltip.offset.x,e,0,n,d),h.customColor=v(h.linearType,h.customColor,t,a),t.forEach((function(o,s){var x,g,v;x=[].concat(e.chartData.yAxisData.ranges[o.index]),g=x.pop(),v=x.shift();var m=o.data;switch(h.type){case"group":var y=J(m,g,v,l,d,e,a,r),b=K(m,g,v,l,d,e,a,s,t,r);u.push(b),y=N(y,d,t.length,s,0,e);for(var w=0;w<y.length;w++){var _=y[w];if(null!==_&&w>f&&w<p){var C=_.x-_.width/2,A=e.height-_.y-e.area[2];n.beginPath();var S=_.color||o.color,T=_.color||o.color;if("none"!==h.linearType){var k=n.createLinearGradient(C,_.y,C,e.height-e.area[2]);"opacity"==h.linearType?(k.addColorStop(0,c(S,h.linearOpacity)),k.addColorStop(1,c(S,1))):(k.addColorStop(0,c(h.customColor[o.linearIndex],h.linearOpacity)),k.addColorStop(h.colorStop,c(h.customColor[o.linearIndex],h.linearOpacity)),k.addColorStop(1,c(S,1))),S=k}if(h.barBorderRadius&&4===h.barBorderRadius.length||!0===h.barBorderCircle){var P=C,M=_.y,D=_.width,F=e.height-e.area[2]-_.y;h.barBorderCircle&&(h.barBorderRadius=[D/2,D/2,0,0]);var $=(0,i.default)(h.barBorderRadius,4),L=$[0],O=$[1],I=$[2],E=$[3],z=Math.min(D/2,F/2);L=L>z?z:L,O=O>z?z:O,I=I>z?z:I,E=E>z?z:E,L=L<0?0:L,O=O<0?0:O,I=I<0?0:I,E=E<0?0:E,n.arc(P+L,M+L,L,-Math.PI,-Math.PI/2),n.arc(P+D-O,M+O,O,-Math.PI/2,0),n.arc(P+D-I,M+F-I,I,0,Math.PI/2),n.arc(P+E,M+F-E,E,Math.PI/2,Math.PI)}else n.moveTo(C,_.y),n.lineTo(C+_.width,_.y),n.lineTo(C+_.width,e.height-e.area[2]),n.lineTo(C,e.height-e.area[2]),n.lineTo(C,_.y),n.setLineWidth(1),n.setStrokeStyle(T);n.setFillStyle(S),n.closePath(),n.fill()}}break;case"stack":y=K(m,g,v,l,d,e,a,s,t,r);u.push(y),y=V(y,d,t.length,0,0,e);for(var B=0;B<y.length;B++){var W=y[B];if(null!==W&&B>f&&B<p){n.beginPath();S=W.color||o.color,C=W.x-W.width/2+1,A=e.height-W.y-e.area[2];var R=e.height-W.y0-e.area[2];s>0&&(A-=R),n.setFillStyle(S),n.moveTo(C,W.y),n.fillRect(C,W.y,W.width,A),n.closePath(),n.fill()}}break;case"meter":y=J(m,g,v,l,d,e,a,r);u.push(y),y=U(y,d,t.length,s,0,e,h.meterBorder);for(var j=0;j<y.length;j++){var G=y[j];if(null!==G&&j>f&&j<p){n.beginPath(),0==s&&h.meterBorder>0&&(n.setStrokeStyle(o.color),n.setLineWidth(h.meterBorder*e.pix)),0==s?n.setFillStyle(h.meterFillColor):n.setFillStyle(G.color||o.color);C=G.x-G.width/2,A=e.height-G.y-e.area[2];if(h.barBorderRadius&&4===h.barBorderRadius.length||!0===h.barBorderCircle){var Y=C,H=G.y,X=G.width,q=e.height-e.area[2]-G.y;h.barBorderCircle&&(h.barBorderRadius=[X/2,X/2,0,0]);var Q=(0,i.default)(h.barBorderRadius,4),Z=Q[0],tt=Q[1],et=Q[2],at=Q[3],nt=Math.min(X/2,q/2);Z=Z>nt?nt:Z,tt=tt>nt?nt:tt,et=et>nt?nt:et,at=at>nt?nt:at,Z=Z<0?0:Z,tt=tt<0?0:tt,et=et<0?0:et,at=at<0?0:at,n.arc(Y+Z,H+Z,Z,-Math.PI,-Math.PI/2),n.arc(Y+X-tt,H+tt,tt,-Math.PI/2,0),n.arc(Y+X-et,H+q-et,et,0,Math.PI/2),n.arc(Y+at,H+q-at,at,Math.PI/2,Math.PI),n.fill()}else n.moveTo(C,G.y),n.lineTo(C+G.width,G.y),n.lineTo(C+G.width,e.height-e.area[2]),n.lineTo(C,e.height-e.area[2]),n.lineTo(C,G.y),n.fill();0==s&&h.meterBorder>0&&(n.closePath(),n.stroke())}}break}})),!1!==e.dataLabel&&1===r&&t.forEach((function(i,o){var s,c,u;s=[].concat(e.chartData.yAxisData.ranges[i.index]),c=s.pop(),u=s.shift();var f=i.data;switch(h.type){case"group":var p=J(f,c,u,l,d,e,a,r);p=N(p,d,t.length,o,0,e),ot(p,i,a,n,e);break;case"stack":p=K(f,c,u,l,d,e,a,o,t,r);ot(p,i,a,n,e);break;case"meter":p=J(f,c,u,l,d,e,a,r);ot(p,i,a,n,e);break}})),n.restore(),{xAxisPoints:l,calPoints:u,eachSpacing:d}}(d,e,a,n,t),o=r.xAxisPoints,l=r.calPoints,u=r.eachSpacing;e.chartData.xAxisPoints=o,e.chartData.calPoints=l,e.chartData.eachSpacing=u,bt(0,e,a,n),!1!==e.enableMarkLine&&1===t&&ut(e,a,n),wt(e.series,e,a,n,e.chartData),vt(e,a,n,t),$t(0,n)},onAnimationFinish:function(){o.uevent.trigger("renderComplete")}});break;case"mount":this.animationInstance=new Ot({timing:e.timing,duration:x,onProcess:function(t){n.clearRect(0,0,e.width,e.height),e.rotate&&nt(n,e),yt(0,e,0,n),mt(h,e,a,n);var r=function(t,e,a,n){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,o=e.chartData.xAxisData,l=o.xAxisPoints,d=o.eachSpacing,h=s({},{type:"mount",widthRatio:1,borderWidth:1,barBorderCircle:!1,barBorderRadius:[],linearType:"none",linearOpacity:1,customColor:[],colorStop:0},e.extra.mount);h.widthRatio=h.widthRatio<=0?0:h.widthRatio,h.widthRatio=h.widthRatio>=2?2:h.widthRatio,n.save();var u,f,p,x=-2,g=l.length+2;e._scrollDistance_&&0!==e._scrollDistance_&&!0===e.enableScroll&&(n.translate(e._scrollDistance_,0),x=Math.floor(-e._scrollDistance_/d)-2,g=x+e.xAxis.itemCount+4),h.customColor=v(h.linearType,h.customColor,t,a),u=[].concat(e.chartData.yAxisData.ranges[0]),f=u.pop(),p=u.shift();var m=Q(t,f,p,l,d,e,h,r);switch(h.type){case"bar":for(var y=0;y<m.length;y++){var b=m[y];if(null!==b&&y>x&&y<g){var w=b.x-d*h.widthRatio/2,_=e.height-b.y-e.area[2];n.beginPath();var C=b.color||t[y].color,A=b.color||t[y].color;if("none"!==h.linearType){var S=n.createLinearGradient(w,b.y,w,e.height-e.area[2]);"opacity"==h.linearType?(S.addColorStop(0,c(C,h.linearOpacity)),S.addColorStop(1,c(C,1))):(S.addColorStop(0,c(h.customColor[t[y].linearIndex],h.linearOpacity)),S.addColorStop(h.colorStop,c(h.customColor[t[y].linearIndex],h.linearOpacity)),S.addColorStop(1,c(C,1))),C=S}if(h.barBorderRadius&&4===h.barBorderRadius.length||!0===h.barBorderCircle){var T=w,k=b.y,P=b.width,M=e.height-e.area[2]-b.y-h.borderWidth*e.pix/2;h.barBorderCircle&&(h.barBorderRadius=[P/2,P/2,0,0]);var D=(0,i.default)(h.barBorderRadius,4),F=D[0],$=D[1],L=D[2],O=D[3],I=Math.min(P/2,M/2);F=F>I?I:F,$=$>I?I:$,L=L>I?I:L,O=O>I?I:O,F=F<0?0:F,$=$<0?0:$,L=L<0?0:L,O=O<0?0:O,n.arc(T+F,k+F,F,-Math.PI,-Math.PI/2),n.arc(T+P-$,k+$,$,-Math.PI/2,0),n.arc(T+P-L,k+M-L,L,0,Math.PI/2),n.arc(T+O,k+M-O,O,Math.PI/2,Math.PI)}else n.moveTo(w,b.y),n.lineTo(w+b.width,b.y),n.lineTo(w+b.width,e.height-e.area[2]),n.lineTo(w,e.height-e.area[2]),n.lineTo(w,b.y);n.setStrokeStyle(A),n.setFillStyle(C),h.borderWidth>0&&(n.setLineWidth(h.borderWidth*e.pix),n.closePath(),n.stroke()),n.fill()}}break;case"triangle":for(var E=0;E<m.length;E++){var z=m[E];if(null!==z&&E>x&&E<g){w=z.x-d*h.widthRatio/2,_=e.height-z.y-e.area[2];n.beginPath();C=z.color||t[E].color,A=z.color||t[E].color;if("none"!==h.linearType){S=n.createLinearGradient(w,z.y,w,e.height-e.area[2]);"opacity"==h.linearType?(S.addColorStop(0,c(C,h.linearOpacity)),S.addColorStop(1,c(C,1))):(S.addColorStop(0,c(h.customColor[t[E].linearIndex],h.linearOpacity)),S.addColorStop(h.colorStop,c(h.customColor[t[E].linearIndex],h.linearOpacity)),S.addColorStop(1,c(C,1))),C=S}n.moveTo(w,e.height-e.area[2]),n.lineTo(z.x,z.y),n.lineTo(w+z.width,e.height-e.area[2]),n.setStrokeStyle(A),n.setFillStyle(C),h.borderWidth>0&&(n.setLineWidth(h.borderWidth*e.pix),n.stroke()),n.fill()}}break;case"mount":for(var B=0;B<m.length;B++){var W=m[B];if(null!==W&&B>x&&B<g){w=W.x-d*h.widthRatio/2,_=e.height-W.y-e.area[2];n.beginPath();C=W.color||t[B].color,A=W.color||t[B].color;if("none"!==h.linearType){S=n.createLinearGradient(w,W.y,w,e.height-e.area[2]);"opacity"==h.linearType?(S.addColorStop(0,c(C,h.linearOpacity)),S.addColorStop(1,c(C,1))):(S.addColorStop(0,c(h.customColor[t[B].linearIndex],h.linearOpacity)),S.addColorStop(h.colorStop,c(h.customColor[t[B].linearIndex],h.linearOpacity)),S.addColorStop(1,c(C,1))),C=S}n.moveTo(w,e.height-e.area[2]),n.bezierCurveTo(W.x-W.width/4,e.height-e.area[2],W.x-W.width/4,W.y,W.x,W.y),n.bezierCurveTo(W.x+W.width/4,W.y,W.x+W.width/4,e.height-e.area[2],w+W.width,e.height-e.area[2]),n.setStrokeStyle(A),n.setFillStyle(C),h.borderWidth>0&&(n.setLineWidth(h.borderWidth*e.pix),n.stroke()),n.fill()}}break;case"sharp":for(var R=0;R<m.length;R++){var j=m[R];if(null!==j&&R>x&&R<g){w=j.x-d*h.widthRatio/2,_=e.height-j.y-e.area[2];n.beginPath();C=j.color||t[R].color,A=j.color||t[R].color;if("none"!==h.linearType){S=n.createLinearGradient(w,j.y,w,e.height-e.area[2]);"opacity"==h.linearType?(S.addColorStop(0,c(C,h.linearOpacity)),S.addColorStop(1,c(C,1))):(S.addColorStop(0,c(h.customColor[t[R].linearIndex],h.linearOpacity)),S.addColorStop(h.colorStop,c(h.customColor[t[R].linearIndex],h.linearOpacity)),S.addColorStop(1,c(C,1))),C=S}n.moveTo(w,e.height-e.area[2]),n.quadraticCurveTo(j.x-0,e.height-e.area[2]-_/4,j.x,j.y),n.quadraticCurveTo(j.x+0,e.height-e.area[2]-_/4,w+j.width,e.height-e.area[2]),n.setStrokeStyle(A),n.setFillStyle(C),h.borderWidth>0&&(n.setLineWidth(h.borderWidth*e.pix),n.stroke()),n.fill()}}break}if(!1!==e.dataLabel&&1===r){var G,N,Y;G=[].concat(e.chartData.yAxisData.ranges[0]),N=G.pop(),Y=G.shift();m=Q(t,N,Y,l,d,e,h,r);st(m,t,a,n,e)}return n.restore(),{xAxisPoints:l,calPoints:m,eachSpacing:d}}(d,e,a,n,t),o=r.xAxisPoints,l=r.calPoints,u=r.eachSpacing;e.chartData.xAxisPoints=o,e.chartData.calPoints=l,e.chartData.eachSpacing=u,bt(0,e,a,n),!1!==e.enableMarkLine&&1===t&&ut(e,a,n),wt(e.series,e,a,n,e.chartData),vt(e,a,n,t),$t(0,n)},onAnimationFinish:function(){o.uevent.trigger("renderComplete")}});break;case"bar":this.animationInstance=new Ot({timing:e.timing,duration:x,onProcess:function(t){n.clearRect(0,0,e.width,e.height),e.rotate&&nt(n,e),mt(h,e,a,n);var r=function(t,e,a,n){for(var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,o=[],l=(e.height-e.area[0]-e.area[2])/e.categories.length,d=0;d<e.categories.length;d++)o.push(e.area[0]+l/2+l*d);var h=s({},{type:"group",width:l/2,meterBorder:4,meterFillColor:"#FFFFFF",barBorderCircle:!1,barBorderRadius:[],seriesGap:2,linearType:"none",linearOpacity:1,customColor:[],colorStop:0},e.extra.bar),u=[];n.save();var f=-2,p=o.length+2;return e.tooltip&&e.tooltip.textList&&e.tooltip.textList.length&&1===r&&xt(e.tooltip.offset.y,e,0,n,l),h.customColor=v(h.linearType,h.customColor,t,a),t.forEach((function(s,d){var x,g,v;x=[].concat(e.chartData.xAxisData.ranges),v=x.pop(),g=x.shift();var m=s.data;switch(h.type){case"group":var y=Z(m,g,v,o,l,e,a,r),b=tt(m,g,v,o,l,e,a,d,t,r);u.push(b),y=Y(y,l,t.length,d,0,e);for(var w=0;w<y.length;w++){var _=y[w];if(null!==_&&w>f&&w<p){var C=e.area[3],A=_.y-_.width/2;_.height;n.beginPath();var S=_.color||s.color,T=_.color||s.color;if("none"!==h.linearType){var k=n.createLinearGradient(C,_.y,_.x,_.y);"opacity"==h.linearType?(k.addColorStop(0,c(S,h.linearOpacity)),k.addColorStop(1,c(S,1))):(k.addColorStop(0,c(h.customColor[s.linearIndex],h.linearOpacity)),k.addColorStop(h.colorStop,c(h.customColor[s.linearIndex],h.linearOpacity)),k.addColorStop(1,c(S,1))),S=k}if(h.barBorderRadius&&4===h.barBorderRadius.length||!0===h.barBorderCircle){var P=C,M=_.width,D=_.y-_.width/2,F=_.height;h.barBorderCircle&&(h.barBorderRadius=[M/2,M/2,0,0]);var $=(0,i.default)(h.barBorderRadius,4),L=$[0],O=$[1],I=$[2],E=$[3],z=Math.min(M/2,F/2);L=L>z?z:L,O=O>z?z:O,I=I>z?z:I,E=E>z?z:E,L=L<0?0:L,O=O<0?0:O,I=I<0?0:I,E=E<0?0:E,n.arc(P+E,D+E,E,-Math.PI,-Math.PI/2),n.arc(_.x-L,D+L,L,-Math.PI/2,0),n.arc(_.x-O,D+M-O,O,0,Math.PI/2),n.arc(P+I,D+M-I,I,Math.PI/2,Math.PI)}else n.moveTo(C,A),n.lineTo(_.x,A),n.lineTo(_.x,A+_.width),n.lineTo(C,A+_.width),n.lineTo(C,A),n.setLineWidth(1),n.setStrokeStyle(T);n.setFillStyle(S),n.closePath(),n.fill()}}break;case"stack":y=tt(m,g,v,o,l,e,a,d,t,r);u.push(y),y=H(y,l,t.length,0,0,e);for(var B=0;B<y.length;B++){var W=y[B];if(null!==W&&B>f&&B<p){n.beginPath();S=W.color||s.color,C=W.x0;n.setFillStyle(S),n.moveTo(C,W.y-W.width/2),n.fillRect(C,W.y-W.width/2,W.height,W.width),n.closePath(),n.fill()}}break}})),!1!==e.dataLabel&&1===r&&t.forEach((function(i,s){var c,d,u;c=[].concat(e.chartData.xAxisData.ranges),u=c.pop(),d=c.shift();var f=i.data;switch(h.type){case"group":var p=Z(f,d,u,o,l,e,a,r);p=Y(p,l,t.length,s,0,e),lt(p,i,a,n,e);break;case"stack":p=tt(f,d,u,o,l,e,a,s,t,r);lt(p,i,a,n,e);break}})),{yAxisPoints:o,calPoints:u,eachSpacing:l}}(d,e,a,n,t),o=r.yAxisPoints,l=r.calPoints,u=r.eachSpacing;e.chartData.yAxisPoints=o,e.chartData.xAxisPoints=e.chartData.xAxisData.xAxisPoints,e.chartData.calPoints=l,e.chartData.eachSpacing=u,bt(0,e,a,n),!1!==e.enableMarkLine&&1===t&&ut(e,a,n),wt(e.series,e,a,n,e.chartData),vt(e,a,n,t),$t(0,n)},onAnimationFinish:function(){o.uevent.trigger("renderComplete")}});break;case"area":this.animationInstance=new Ot({timing:e.timing,duration:x,onProcess:function(t){n.clearRect(0,0,e.width,e.height),e.rotate&&nt(n,e),yt(0,e,0,n),mt(h,e,a,n);var i=function(t,e,a,n){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,r=s({},{type:"straight",opacity:.2,addLine:!1,width:2,gradient:!1},e.extra.area),o=e.chartData.xAxisData,l=o.xAxisPoints,d=o.eachSpacing,h=e.height-e.area[2],u=[];n.save();var p=0,x=e.width+d;return e._scrollDistance_&&0!==e._scrollDistance_&&!0===e.enableScroll&&(n.translate(e._scrollDistance_,0),p=-e._scrollDistance_-2*d+e.area[3],x=p+(e.xAxis.itemCount+4)*d),t.forEach((function(t,o){var s,g,v;s=[].concat(e.chartData.yAxisData.ranges[t.index]),g=s.pop(),v=s.shift();var m=t.data,y=J(m,g,v,l,d,e,a,i);u.push(y);for(var b=$(y,t),w=0;w<b.length;w++){var _=b[w];if(n.beginPath(),n.setStrokeStyle(c(t.color,r.opacity)),r.gradient){var C=n.createLinearGradient(0,e.area[0],0,e.height-e.area[2]);C.addColorStop("0",c(t.color,r.opacity)),C.addColorStop("1.0",c("#FFFFFF",.1)),n.setFillStyle(C)}else n.setFillStyle(c(t.color,r.opacity));if(n.setLineWidth(r.width*e.pix),_.length>1){var A=_[0],S=_[_.length-1];n.moveTo(A.x,A.y);var T=0;if("curve"===r.type)for(var k=0;k<_.length;k++){var P=_[k];if(0==T&&P.x>p&&(n.moveTo(P.x,P.y),T=1),k>0&&P.x>p&&P.x<x){var M=f(_,k-1);n.bezierCurveTo(M.ctrA.x,M.ctrA.y,M.ctrB.x,M.ctrB.y,P.x,P.y)}}if("straight"===r.type)for(var D=0;D<_.length;D++){var F=_[D];0==T&&F.x>p&&(n.moveTo(F.x,F.y),T=1),D>0&&F.x>p&&F.x<x&&n.lineTo(F.x,F.y)}if("step"===r.type)for(var L=0;L<_.length;L++){var O=_[L];0==T&&O.x>p&&(n.moveTo(O.x,O.y),T=1),L>0&&O.x>p&&O.x<x&&(n.lineTo(O.x,_[L-1].y),n.lineTo(O.x,O.y))}n.lineTo(S.x,h),n.lineTo(A.x,h),n.lineTo(A.x,A.y)}else{var I=_[0];n.moveTo(I.x-d/2,I.y),n.lineTo(I.x+d/2,I.y),n.lineTo(I.x+d/2,h),n.lineTo(I.x-d/2,h),n.moveTo(I.x-d/2,I.y)}if(n.closePath(),n.fill(),r.addLine){if("dash"==t.lineType){var E=t.dashLength?t.dashLength:8;E*=e.pix,n.setLineDash([E,E])}if(n.beginPath(),n.setStrokeStyle(t.color),n.setLineWidth(r.width*e.pix),1===_.length)n.moveTo(_[0].x,_[0].y),n.arc(_[0].x,_[0].y,1,0,2*Math.PI);else{n.moveTo(_[0].x,_[0].y);var z=0;if("curve"===r.type)for(var B=0;B<_.length;B++){var W=_[B];if(0==z&&W.x>p&&(n.moveTo(W.x,W.y),z=1),B>0&&W.x>p&&W.x<x){var R=f(_,B-1);n.bezierCurveTo(R.ctrA.x,R.ctrA.y,R.ctrB.x,R.ctrB.y,W.x,W.y)}}if("straight"===r.type)for(var j=0;j<_.length;j++){var G=_[j];0==z&&G.x>p&&(n.moveTo(G.x,G.y),z=1),j>0&&G.x>p&&G.x<x&&n.lineTo(G.x,G.y)}if("step"===r.type)for(var N=0;N<_.length;N++){var Y=_[N];0==z&&Y.x>p&&(n.moveTo(Y.x,Y.y),z=1),N>0&&Y.x>p&&Y.x<x&&(n.lineTo(Y.x,_[N-1].y),n.lineTo(Y.x,Y.y))}n.moveTo(_[0].x,_[0].y)}n.stroke(),n.setLineDash([])}}!1!==e.dataPointShape&&it(y,t.color,t.pointShape,n,e)})),!1!==e.dataLabel&&1===i&&t.forEach((function(t,r){var o,s,c;o=[].concat(e.chartData.yAxisData.ranges[t.index]),s=o.pop(),c=o.shift();var h=t.data,u=J(h,s,c,l,d,e,a,i);ot(u,t,a,n,e)})),n.restore(),{xAxisPoints:l,calPoints:u,eachSpacing:d}}(d,e,a,n,t),r=i.xAxisPoints,o=i.calPoints,l=i.eachSpacing;e.chartData.xAxisPoints=r,e.chartData.calPoints=o,e.chartData.eachSpacing=l,bt(0,e,a,n),!1!==e.enableMarkLine&&1===t&&ut(e,a,n),wt(e.series,e,a,n,e.chartData),vt(e,a,n,t),$t(0,n)},onAnimationFinish:function(){o.uevent.trigger("renderComplete")}});break;case"ring":this.animationInstance=new Ot({timing:e.timing,duration:x,onProcess:function(t){n.clearRect(0,0,e.width,e.height),e.rotate&&nt(n,e),e.chartData.pieData=_t(d,e,a,n,t),wt(e.series,e,a,n,e.chartData),vt(e,a,n,t),$t(0,n)},onAnimationFinish:function(){o.uevent.trigger("renderComplete")}});break;case"pie":this.animationInstance=new Ot({timing:e.timing,duration:x,onProcess:function(t){n.clearRect(0,0,e.width,e.height),e.rotate&&nt(n,e),e.chartData.pieData=_t(d,e,a,n,t),wt(e.series,e,a,n,e.chartData),vt(e,a,n,t),$t(0,n)},onAnimationFinish:function(){o.uevent.trigger("renderComplete")}});break;case"rose":this.animationInstance=new Ot({timing:e.timing,duration:x,onProcess:function(t){n.clearRect(0,0,e.width,e.height),e.rotate&&nt(n,e),e.chartData.pieData=function(t,e,a,n){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,r=s({},{type:"area",activeOpacity:.5,activeRadius:10,offsetAngle:0,labelWidth:15,border:!1,borderWidth:2,borderColor:"#FFFFFF",linearType:"none",customColor:[]},e.extra.rose);0==a.pieChartLinePadding&&(a.pieChartLinePadding=r.activeRadius*e.pix);var o={x:e.area[3]+(e.width-e.area[1]-e.area[3])/2,y:e.area[0]+(e.height-e.area[0]-e.area[2])/2},l=Math.min((e.width-e.area[1]-e.area[3])/2-a.pieChartLinePadding-a.pieChartTextPadding-a._pieTextMaxLength_,(e.height-e.area[0]-e.area[2])/2-a.pieChartLinePadding-a.pieChartTextPadding);l=l<10?10:l;var d=r.minRadius||.5*l;t=B(t,r.type,d,l,i);var h=r.activeRadius*e.pix;return r.customColor=v(r.linearType,r.customColor,t,a),t=t.map((function(t){return t._start_+=(r.offsetAngle||0)*Math.PI/180,t})),t.forEach((function(t,a){e.tooltip&&e.tooltip.index==a&&(n.beginPath(),n.setFillStyle(c(t.color,r.activeOpacity||.5)),n.moveTo(o.x,o.y),n.arc(o.x,o.y,h+t._radius_,t._start_,t._start_+2*t._rose_proportion_*Math.PI),n.closePath(),n.fill()),n.beginPath(),n.setLineWidth(r.borderWidth*e.pix),n.lineJoin="round",n.setStrokeStyle(r.borderColor);var i,s=t.color;"custom"==r.linearType&&(i=n.createCircularGradient?n.createCircularGradient(o.x,o.y,t._radius_):n.createRadialGradient(o.x,o.y,0,o.x,o.y,t._radius_),i.addColorStop(0,c(r.customColor[t.linearIndex],1)),i.addColorStop(1,c(t.color,1)),s=i);n.setFillStyle(s),n.moveTo(o.x,o.y),n.arc(o.x,o.y,t._radius_,t._start_,t._start_+2*t._rose_proportion_*Math.PI),n.closePath(),n.fill(),1==r.border&&n.stroke()})),!1!==e.dataLabel&&1===i&&ht(t,e,a,n,0,o),{center:o,radius:l,series:t}}(d,e,a,n,t),wt(e.series,e,a,n,e.chartData),vt(e,a,n,t),$t(0,n)},onAnimationFinish:function(){o.uevent.trigger("renderComplete")}});break;case"radar":this.animationInstance=new Ot({timing:e.timing,duration:x,onProcess:function(t){n.clearRect(0,0,e.width,e.height),e.rotate&&nt(n,e),e.chartData.radarData=function(t,e,a,n){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,r=s({},{gridColor:"#cccccc",gridType:"radar",gridEval:1,axisLabel:!1,axisLabelTofix:0,labelColor:"#666666",labelPointShow:!1,labelPointRadius:3,labelPointColor:"#cccccc",opacity:.2,gridCount:3,border:!1,borderWidth:2,linearType:"none",customColor:[]},e.extra.radar),o=S(e.categories.length),l={x:e.area[3]+(e.width-e.area[1]-e.area[3])/2,y:e.area[0]+(e.height-e.area[0]-e.area[2])/2},d=(e.width-e.area[1]-e.area[3])/2,h=(e.height-e.area[0]-e.area[2])/2,u=Math.min(d-(A(e.categories,a.fontSize,n)+a.radarLabelTextMargin),h-a.radarLabelTextMargin);u-=a.radarLabelTextMargin*e.pix,u=u<10?10:u,n.beginPath(),n.setLineWidth(1*e.pix),n.setStrokeStyle(r.gridColor),o.forEach((function(t,e){var a=p(u*Math.cos(t),u*Math.sin(t),l);n.moveTo(l.x,l.y),e%r.gridEval==0&&n.lineTo(a.x,a.y)})),n.stroke(),n.closePath();for(var f=function(t){var a={};if(n.beginPath(),n.setLineWidth(1*e.pix),n.setStrokeStyle(r.gridColor),"radar"==r.gridType)o.forEach((function(e,i){var o=p(u/r.gridCount*t*Math.cos(e),u/r.gridCount*t*Math.sin(e),l);0===i?(a=o,n.moveTo(o.x,o.y)):n.lineTo(o.x,o.y)})),n.lineTo(a.x,a.y);else{var i=p(u/r.gridCount*t*Math.cos(1.5),u/r.gridCount*t*Math.sin(1.5),l);n.arc(l.x,l.y,l.y-i.y,0,2*Math.PI,!1)}n.stroke(),n.closePath()},x=1;x<=r.gridCount;x++)f(x);r.customColor=v(r.linearType,r.customColor,t,a);var g=I(o,l,u,t,e,i);if(g.forEach((function(a,i){n.beginPath(),n.setLineWidth(r.borderWidth*e.pix),n.setStrokeStyle(a.color);var o,s=c(a.color,r.opacity);"custom"==r.linearType&&(o=n.createCircularGradient?n.createCircularGradient(l.x,l.y,u):n.createRadialGradient(l.x,l.y,0,l.x,l.y,u),o.addColorStop(0,c(r.customColor[t[i].linearIndex],r.opacity)),o.addColorStop(1,c(a.color,r.opacity)),s=o);if(n.setFillStyle(s),a.data.forEach((function(t,e){0===e?n.moveTo(t.position.x,t.position.y):n.lineTo(t.position.x,t.position.y)})),n.closePath(),n.fill(),!0===r.border&&n.stroke(),n.closePath(),!1!==e.dataPointShape){var d=a.data.map((function(t){return t.position}));it(d,a.color,a.pointShape,n,e)}})),!0===r.axisLabel){var m=Math.max(r.max,Math.max.apply(null,b(t))),y=u/r.gridCount,w=e.fontSize*e.pix;n.setFontSize(w),n.setFillStyle(e.fontColor),n.setTextAlign("left");for(x=0;x<r.gridCount+1;x++){var _=x*m/r.gridCount;_=_.toFixed(r.axisLabelTofix),n.fillText(String(_),l.x+3*e.pix,l.y-x*y+w/2)}}return dt(o,u,l,e,a,n),!1!==e.dataLabel&&1===i&&(g.forEach((function(t,i){n.beginPath();var r=t.textSize*e.pix||a.fontSize;n.setFontSize(r),n.setFillStyle(t.textColor||e.fontColor),t.data.forEach((function(t,e){Math.abs(t.position.x-l.x)<2?t.position.y<l.y?(n.setTextAlign("center"),n.fillText(t.value,t.position.x,t.position.y-4)):(n.setTextAlign("center"),n.fillText(t.value,t.position.x,t.position.y+r+2)):t.position.x<l.x?(n.setTextAlign("right"),n.fillText(t.value,t.position.x-4,t.position.y+r/2-2)):(n.setTextAlign("left"),n.fillText(t.value,t.position.x+4,t.position.y+r/2-2))})),n.closePath(),n.stroke()})),n.setTextAlign("left")),{center:l,radius:u,angleList:o}}(d,e,a,n,t),wt(e.series,e,a,n,e.chartData),vt(e,a,n,t),$t(0,n)},onAnimationFinish:function(){o.uevent.trigger("renderComplete")}});break;case"arcbar":this.animationInstance=new Ot({timing:e.timing,duration:x,onProcess:function(t){n.clearRect(0,0,e.width,e.height),e.rotate&&nt(n,e),e.chartData.arcbarData=function(t,e,a,n){var i,r,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,l=s({},{startAngle:.75,endAngle:.25,type:"default",direction:"cw",lineCap:"round",width:12,gap:2,linearType:"none",customColor:[]},e.extra.arcbar);t=W(t,l,o),i=l.centerX||l.centerY?{x:l.centerX?l.centerX:e.width/2,y:l.centerY?l.centerY:e.height/2}:{x:e.width/2,y:e.height/2},l.radius?r=l.radius:(r=Math.min(i.x,i.y),r-=5*e.pix,r-=l.width/2),r=r<10?10:r,l.customColor=v(l.linearType,l.customColor,t,a);for(var d=0;d<t.length;d++){var h=t[d];n.setLineWidth(l.width*e.pix),n.setStrokeStyle(l.backgroundColor||"#E9E9E9"),n.setLineCap(l.lineCap),n.beginPath(),"default"==l.type?n.arc(i.x,i.y,r-(l.width*e.pix+l.gap*e.pix)*d,l.startAngle*Math.PI,l.endAngle*Math.PI,"ccw"==l.direction):n.arc(i.x,i.y,r-(l.width*e.pix+l.gap*e.pix)*d,0,2*Math.PI,"ccw"==l.direction),n.stroke();var u=h.color;if("custom"==l.linearType){var f=n.createLinearGradient(i.x-r,i.y,i.x+r,i.y);f.addColorStop(1,c(l.customColor[h.linearIndex],1)),f.addColorStop(0,c(h.color,1)),u=f}n.setLineWidth(l.width*e.pix),n.setStrokeStyle(u),n.setLineCap(l.lineCap),n.beginPath(),n.arc(i.x,i.y,r-(l.width*e.pix+l.gap*e.pix)*d,l.startAngle*Math.PI,h._proportion_*Math.PI,"ccw"==l.direction),n.stroke()}return rt(e,a,n,i),{center:i,radius:r,series:t}}(d,e,a,n,t),$t(0,n)},onAnimationFinish:function(){o.uevent.trigger("renderComplete")}});break;case"gauge":this.animationInstance=new Ot({timing:e.timing,duration:x,onProcess:function(t){n.clearRect(0,0,e.width,e.height),e.rotate&&nt(n,e),e.chartData.gaugeData=function(t,e,a,n,i){var r=arguments.length>5&&void 0!==arguments[5]?arguments[5]:1,o=s({},{type:"default",startAngle:.75,endAngle:.25,width:15,labelOffset:13,splitLine:{fixRadius:0,splitNumber:10,width:15,color:"#FFFFFF",childNumber:5,childWidth:5},pointer:{width:15,color:"auto"}},a.extra.gauge);void 0==o.oldAngle&&(o.oldAngle=o.startAngle),void 0==o.oldData&&(o.oldData=0),t=j(t,o.startAngle,o.endAngle);var l={x:a.width/2,y:a.height/2},d=Math.min(l.x,l.y);d-=5*a.pix,d-=o.width/2,d=d<10?10:d;var h=d-o.width,u=0;if("progress"==o.type){var f=d-3*o.width;i.beginPath();var p=i.createLinearGradient(l.x,l.y-f,l.x,l.y+f);p.addColorStop("0",c(e[0].color,.3)),p.addColorStop("1.0",c("#FFFFFF",.1)),i.setFillStyle(p),i.arc(l.x,l.y,f,0,2*Math.PI,!1),i.fill(),i.setLineWidth(o.width),i.setStrokeStyle(c(e[0].color,.3)),i.setLineCap("round"),i.beginPath(),i.arc(l.x,l.y,h,o.startAngle*Math.PI,o.endAngle*Math.PI,!1),i.stroke(),u=o.startAngle-o.endAngle+1;o.splitLine.splitNumber;var x=u/o.splitLine.splitNumber/o.splitLine.childNumber,g=-d-.5*o.width-o.splitLine.fixRadius,v=-d-o.width-o.splitLine.fixRadius+o.splitLine.width;i.save(),i.translate(l.x,l.y),i.rotate((o.startAngle-1)*Math.PI);for(var m=o.splitLine.splitNumber*o.splitLine.childNumber+1,y=e[0].data*r,b=0;b<m;b++)i.beginPath(),y>b/m?i.setStrokeStyle(c(e[0].color,1)):i.setStrokeStyle(c(e[0].color,.3)),i.setLineWidth(3*a.pix),i.moveTo(g,0),i.lineTo(v,0),i.stroke(),i.rotate(x*Math.PI);i.restore(),e=R(e,o,r),i.setLineWidth(o.width),i.setStrokeStyle(e[0].color),i.setLineCap("round"),i.beginPath(),i.arc(l.x,l.y,h,o.startAngle*Math.PI,e[0]._proportion_*Math.PI,!1),i.stroke();var w=d-2.5*o.width;i.save(),i.translate(l.x,l.y),i.rotate((e[0]._proportion_-1)*Math.PI),i.beginPath(),i.setLineWidth(o.width/3);var _=i.createLinearGradient(0,.6*-w,0,.6*w);_.addColorStop("0",c("#FFFFFF",0)),_.addColorStop("0.5",c(e[0].color,1)),_.addColorStop("1.0",c("#FFFFFF",0)),i.setStrokeStyle(_),i.arc(0,0,w,.85*Math.PI,1.15*Math.PI,!1),i.stroke(),i.beginPath(),i.setLineWidth(1),i.setStrokeStyle(e[0].color),i.setFillStyle(e[0].color),i.moveTo(-w-o.width/3/2,-4),i.lineTo(-w-o.width/3/2-4,0),i.lineTo(-w-o.width/3/2,4),i.lineTo(-w-o.width/3/2,-4),i.stroke(),i.fill(),i.restore()}else{i.setLineWidth(o.width),i.setLineCap("butt");for(var C=0;C<t.length;C++){var A=t[C];i.beginPath(),i.setStrokeStyle(A.color),i.arc(l.x,l.y,d,A._startAngle_*Math.PI,A._endAngle_*Math.PI,!1),i.stroke()}i.save(),u=o.startAngle-o.endAngle+1;var S=u/o.splitLine.splitNumber,T=u/o.splitLine.splitNumber/o.splitLine.childNumber,k=-d-.5*o.width-o.splitLine.fixRadius,P=-d-.5*o.width-o.splitLine.fixRadius+o.splitLine.width,M=-d-.5*o.width-o.splitLine.fixRadius+o.splitLine.childWidth;i.translate(l.x,l.y),i.rotate((o.startAngle-1)*Math.PI);for(var D=0;D<o.splitLine.splitNumber+1;D++)i.beginPath(),i.setStrokeStyle(o.splitLine.color),i.setLineWidth(2*a.pix),i.moveTo(k,0),i.lineTo(P,0),i.stroke(),i.rotate(S*Math.PI);i.restore(),i.save(),i.translate(l.x,l.y),i.rotate((o.startAngle-1)*Math.PI);for(var F=0;F<o.splitLine.splitNumber*o.splitLine.childNumber+1;F++)i.beginPath(),i.setStrokeStyle(o.splitLine.color),i.setLineWidth(1*a.pix),i.moveTo(k,0),i.lineTo(M,0),i.stroke(),i.rotate(T*Math.PI);i.restore(),e=G(e,t,o,r);for(var $=0;$<e.length;$++){var L=e[$];i.save(),i.translate(l.x,l.y),i.rotate((L._proportion_-1)*Math.PI),i.beginPath(),i.setFillStyle(L.color),i.moveTo(o.pointer.width,0),i.lineTo(0,-o.pointer.width/2),i.lineTo(-h,0),i.lineTo(0,o.pointer.width/2),i.lineTo(o.pointer.width,0),i.closePath(),i.fill(),i.beginPath(),i.setFillStyle("#FFFFFF"),i.arc(0,0,o.pointer.width/6,0,2*Math.PI,!1),i.fill(),i.restore()}!1!==a.dataLabel&&ct(o,d,l,a,n,i)}return rt(a,n,i,l),1===r&&"gauge"===a.type&&(a.extra.gauge.oldAngle=e[0]._proportion_,a.extra.gauge.oldData=e[0].data),{center:l,radius:d,innerRadius:h,categories:t,totalAngle:u}}(h,d,e,a,n,t),$t(0,n)},onAnimationFinish:function(){o.uevent.trigger("renderComplete")}});break;case"candle":this.animationInstance=new Ot({timing:e.timing,duration:x,onProcess:function(t){n.clearRect(0,0,e.width,e.height),e.rotate&&nt(n,e),yt(0,e,0,n),mt(h,e,a,n);var i=function(t,e,a,n,i){var r=arguments.length>5&&void 0!==arguments[5]?arguments[5]:1,o=s({},{color:{},average:{}},a.extra.candle);o.color=s({},{upLine:"#f04864",upFill:"#f04864",downLine:"#2fc25b",downFill:"#2fc25b"},o.color),o.average=s({},{show:!1,name:[],day:[],color:n.color},o.average),a.extra.candle=o;var l=a.chartData.xAxisData,c=l.xAxisPoints,d=l.eachSpacing,h=[];i.save();var u=-2,p=c.length+2,x=0,g=a.width+d;return a._scrollDistance_&&0!==a._scrollDistance_&&!0===a.enableScroll&&(i.translate(a._scrollDistance_,0),u=Math.floor(-a._scrollDistance_/d)-2,p=u+a.xAxis.itemCount+4,x=-a._scrollDistance_-2*d+a.area[3],g=x+(a.xAxis.itemCount+4)*d),(o.average.show||e)&&e.forEach((function(t,e){var o,s,l;o=[].concat(a.chartData.yAxisData.ranges[t.index]),s=o.pop(),l=o.shift();for(var h=t.data,u=J(h,s,l,c,d,a,n,r),p=$(u,t),v=0;v<p.length;v++){var m=p[v];if(i.beginPath(),i.setStrokeStyle(t.color),i.setLineWidth(1),1===m.length)i.moveTo(m[0].x,m[0].y),i.arc(m[0].x,m[0].y,1,0,2*Math.PI);else{i.moveTo(m[0].x,m[0].y);for(var y=0,b=0;b<m.length;b++){var w=m[b];if(0==y&&w.x>x&&(i.moveTo(w.x,w.y),y=1),b>0&&w.x>x&&w.x<g){var _=f(m,b-1);i.bezierCurveTo(_.ctrA.x,_.ctrA.y,_.ctrB.x,_.ctrB.y,w.x,w.y)}}i.moveTo(m[0].x,m[0].y)}i.closePath(),i.stroke()}})),t.forEach((function(t,e){var s,l,f;s=[].concat(a.chartData.yAxisData.ranges[t.index]),l=s.pop(),f=s.shift();var x=t.data,g=q(x,l,f,c,d,a,n,r);h.push(g);for(var v=$(g,t),m=0;m<v[0].length;m++)if(m>u&&m<p){var y=v[0][m];i.beginPath(),x[m][1]-x[m][0]>0?(i.setStrokeStyle(o.color.upLine),i.setFillStyle(o.color.upFill),i.setLineWidth(1*a.pix),i.moveTo(y[3].x,y[3].y),i.lineTo(y[1].x,y[1].y),i.lineTo(y[1].x-d/4,y[1].y),i.lineTo(y[0].x-d/4,y[0].y),i.lineTo(y[0].x,y[0].y),i.lineTo(y[2].x,y[2].y),i.lineTo(y[0].x,y[0].y),i.lineTo(y[0].x+d/4,y[0].y),i.lineTo(y[1].x+d/4,y[1].y),i.lineTo(y[1].x,y[1].y),i.moveTo(y[3].x,y[3].y)):(i.setStrokeStyle(o.color.downLine),i.setFillStyle(o.color.downFill),i.setLineWidth(1*a.pix),i.moveTo(y[3].x,y[3].y),i.lineTo(y[0].x,y[0].y),i.lineTo(y[0].x-d/4,y[0].y),i.lineTo(y[1].x-d/4,y[1].y),i.lineTo(y[1].x,y[1].y),i.lineTo(y[2].x,y[2].y),i.lineTo(y[1].x,y[1].y),i.lineTo(y[1].x+d/4,y[1].y),i.lineTo(y[0].x+d/4,y[0].y),i.lineTo(y[0].x,y[0].y),i.moveTo(y[3].x,y[3].y)),i.closePath(),i.fill(),i.stroke()}})),i.restore(),{xAxisPoints:c,calPoints:h,eachSpacing:d}}(d,m,e,a,n,t),r=i.xAxisPoints,o=i.calPoints,l=i.eachSpacing;e.chartData.xAxisPoints=r,e.chartData.calPoints=o,e.chartData.eachSpacing=l,bt(0,e,a,n),!1!==e.enableMarkLine&&1===t&&ut(e,a,n),wt(m?0:e.series,e,a,n,e.chartData),vt(e,a,n,t),$t(0,n)},onAnimationFinish:function(){o.uevent.trigger("renderComplete")}});break}}function Et(){this.events={}}Ot.prototype.stop=function(){this.isStop=!0},Et.prototype.addEventListener=function(t,e){this.events[t]=this.events[t]||[],this.events[t].push(e)},Et.prototype.delEventListener=function(t){this.events[t]=[]},Et.prototype.trigger=function(){for(var t=arguments.length,e=Array(t),a=0;a<t;a++)e[a]=arguments[a];var n=e[0],i=e.slice(1);this.events[n]&&this.events[n].forEach((function(t){try{t.apply(null,i)}catch(e){}}))};var zt=function(t){t.pix=t.pixelRatio?t.pixelRatio:1,t.fontSize=t.fontSize?t.fontSize:13,t.fontColor=t.fontColor?t.fontColor:o.fontColor,""!=t.background&&"none"!=t.background||(t.background="#FFFFFF"),t.title=s({},t.title),t.subtitle=s({},t.subtitle),t.duration=t.duration?t.duration:1e3,t.yAxis=s({},{data:[],showTitle:!1,disabled:!1,disableGrid:!1,gridSet:"number",splitNumber:5,gridType:"solid",dashLength:4*t.pix,gridColor:"#cccccc",padding:10,fontColor:"#666666"},t.yAxis),t.xAxis=s({},{rotateLabel:!1,rotateAngle:45,disabled:!1,disableGrid:!1,splitNumber:5,calibration:!1,gridType:"solid",dashLength:4,scrollAlign:"left",boundaryGap:"center",axisLine:!0,axisLineColor:"#cccccc"},t.xAxis),t.xAxis.scrollPosition=t.xAxis.scrollAlign,t.legend=s({},{show:!0,position:"bottom",float:"center",backgroundColor:"rgba(0,0,0,0)",borderColor:"rgba(0,0,0,0)",borderWidth:0,padding:5,margin:5,itemGap:10,fontSize:t.fontSize,lineHeight:t.fontSize,fontColor:t.fontColor,formatter:{},hiddenColor:"#CECECE"},t.legend),t.extra=s({},t.extra),t.rotate=!!t.rotate,t.animation=!!t.animation,t.rotate=!!t.rotate,t.canvas2d=!!t.canvas2d;var e=s({},o);if(e.color=t.color?t.color:e.color,"pie"==t.type&&(e.pieChartLinePadding=!1===t.dataLabel?0:t.extra.pie.labelWidth*t.pix||e.pieChartLinePadding*t.pix),"ring"==t.type&&(e.pieChartLinePadding=!1===t.dataLabel?0:t.extra.ring.labelWidth*t.pix||e.pieChartLinePadding*t.pix),"rose"==t.type&&(e.pieChartLinePadding=!1===t.dataLabel?0:t.extra.rose.labelWidth*t.pix||e.pieChartLinePadding*t.pix),e.pieChartTextPadding=!1===t.dataLabel?0:e.pieChartTextPadding*t.pix,e.rotate=t.rotate,t.rotate){var a=t.width,n=t.height;t.width=n,t.height=a}if(t.padding=t.padding?t.padding:e.padding,e.yAxisWidth=o.yAxisWidth*t.pix,e.xAxisHeight=o.xAxisHeight*t.pix,t.enableScroll&&t.xAxis.scrollShow&&(e.xAxisHeight+=6*t.pix),e.fontSize=t.fontSize*t.pix,e.titleFontSize=o.titleFontSize*t.pix,e.subtitleFontSize=o.subtitleFontSize*t.pix,e.toolTipPadding=o.toolTipPadding*t.pix,e.toolTipLineHeight=o.toolTipLineHeight*t.pix,!t.context)throw new Error("[uCharts] \u672a\u83b7\u53d6\u5230context\uff01\u6ce8\u610f\uff1av2.0\u7248\u672c\u540e\uff0c\u9700\u8981\u81ea\u884c\u83b7\u53d6canvas\u7684\u7ed8\u56fe\u4e0a\u4e0b\u6587\u5e76\u4f20\u5165opts.context\uff01");this.context=t.context,this.context.setTextAlign||(this.context.setStrokeStyle=function(t){return this.strokeStyle=t},this.context.setLineWidth=function(t){return this.lineWidth=t},this.context.setLineCap=function(t){return this.lineCap=t},this.context.setFontSize=function(t){return this.font=t+"px sans-serif"},this.context.setFillStyle=function(t){return this.fillStyle=t},this.context.setTextAlign=function(t){return this.textAlign=t},this.context.draw=function(){}),this.context.setLineDash||(this.context.setLineDash=function(t){}),t.chartData={},this.uevent=new Et,this.scrollOption={currentOffset:0,startTouchX:0,distance:0,lastMoveTime:0},this.opts=t,this.config=e,It.call(this,t.type,t,e,this.context)};zt.prototype.updateData=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.opts=s({},this.opts,t),this.opts.updateData=!0;var e=t.scrollPosition||"current";switch(e){case"current":this.opts._scrollDistance_=this.scrollOption.currentOffset;break;case"left":this.opts._scrollDistance_=0,this.scrollOption={currentOffset:0,startTouchX:0,distance:0,lastMoveTime:0};break;case"right":var a=at(this.opts.series,this.opts,this.config,this.context),n=a.yAxisWidth;this.config.yAxisWidth=n;var i=0,r=X(this.opts.categories,this.opts,this.config),o=r.xAxisPoints,l=r.startX,c=r.endX,d=r.eachSpacing,h=d*(o.length-1),u=c-l;i=u-h,this.scrollOption={currentOffset:i,startTouchX:i,distance:0,lastMoveTime:0},this.opts._scrollDistance_=i;break}It.call(this,this.opts.type,this.opts,this.config,this.context)},zt.prototype.zoom=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.opts.xAxis.itemCount;if(!0===this.opts.enableScroll){var a=Math.round(Math.abs(this.scrollOption.currentOffset)/this.opts.chartData.eachSpacing)+Math.round(this.opts.xAxis.itemCount/2);this.opts.animation=!1,this.opts.xAxis.itemCount=e.itemCount;var n=at(this.opts.series,this.opts,this.config,this.context),i=n.yAxisWidth;this.config.yAxisWidth=i;var r=0,o=X(this.opts.categories,this.opts,this.config),s=o.xAxisPoints,l=o.startX,c=o.endX,d=o.eachSpacing,u=d*a,f=c-l,p=f-d*(s.length-1);r=f/2-u,r>0&&(r=0),r<p&&(r=p),this.scrollOption={currentOffset:r,startTouchX:0,distance:0,lastMoveTime:0},h(this,r,this.opts.chartData,this.config,this.opts),this.opts._scrollDistance_=r,It.call(this,this.opts.type,this.opts,this.config,this.context)}else t("log","[uCharts] \u8bf7\u542f\u7528\u6eda\u52a8\u6761\u540e\u4f7f\u7528"," at uni_modules/qiun-data-charts/js_sdk/u-charts/u-charts.js:6828")},zt.prototype.dobuleZoom=function(e){if(!0===this.opts.enableScroll){var a=e.changedTouches;if(!(a.length<2)){for(var n=0;n<a.length;n++)a[n].x=a[n].x?a[n].x:a[n].clientX,a[n].y=a[n].y?a[n].y:a[n].clientY;var i=[_(a[0],this.opts,e),_(a[1],this.opts,e)],r=Math.abs(i[0].x-i[1].x);if(!this.scrollOption.moveCount){var o={changedTouches:[{x:a[0].x,y:this.opts.area[0]/this.opts.pix+2}]},s={changedTouches:[{x:a[1].x,y:this.opts.area[0]/this.opts.pix+2}]};this.opts.rotate&&(o={changedTouches:[{x:this.opts.height/this.opts.pix-this.opts.area[0]/this.opts.pix-2,y:a[0].y}]},s={changedTouches:[{x:this.opts.height/this.opts.pix-this.opts.area[0]/this.opts.pix-2,y:a[1].y}]});var l=this.getCurrentDataIndex(o).index,c=this.getCurrentDataIndex(s).index,d=Math.abs(l-c);return this.scrollOption.moveCount=d,this.scrollOption.moveCurrent1=Math.min(l,c),void(this.scrollOption.moveCurrent2=Math.max(l,c))}var u=r/this.scrollOption.moveCount,f=(this.opts.width-this.opts.area[1]-this.opts.area[3])/u;f=f<=2?2:f,f=f>=this.opts.categories.length?this.opts.categories.length:f,this.opts.animation=!1,this.opts.xAxis.itemCount=f;var p=0,x=X(this.opts.categories,this.opts,this.config),g=x.xAxisPoints,v=x.startX,m=x.endX,y=x.eachSpacing,b=y*this.scrollOption.moveCurrent1,w=m-v,C=w-y*(g.length-1);p=-b+Math.min(i[0].x,i[1].x)-this.opts.area[3]-y,p>0&&(p=0),p<C&&(p=C),this.scrollOption.currentOffset=p,this.scrollOption.startTouchX=0,this.scrollOption.distance=0,h(this,p,this.opts.chartData,this.config,this.opts),this.opts._scrollDistance_=p,It.call(this,this.opts.type,this.opts,this.config,this.context)}}else t("log","[uCharts] \u8bf7\u542f\u7528\u6eda\u52a8\u6761\u540e\u4f7f\u7528"," at uni_modules/qiun-data-charts/js_sdk/u-charts/u-charts.js:6868")},zt.prototype.stopAnimation=function(){this.animationInstance&&this.animationInstance.stop()},zt.prototype.addEventListener=function(t,e){this.uevent.addEventListener(t,e)},zt.prototype.delEventListener=function(t){this.uevent.delEventListener(t)},zt.prototype.getCurrentDataIndex=function(t){var e=null;if(e=t.changedTouches?t.changedTouches[0]:t.mp.changedTouches[0],e){var a=_(e,this.opts,t);return"pie"===this.opts.type||"ring"===this.opts.type?function(t,e,a){var n=-1,i=E(e.series);if(e&&e.center&&F(t,e.center,e.radius)){var r=Math.atan2(e.center.y-t.y,t.x-e.center.x);r=-r,a.extra.pie&&a.extra.pie.offsetAngle&&(r-=a.extra.pie.offsetAngle*Math.PI/180),a.extra.ring&&a.extra.ring.offsetAngle&&(r-=a.extra.ring.offsetAngle*Math.PI/180);for(var o=0,s=i.length;o<s;o++)if(u(r,i[o]._start_,i[o]._start_+2*i[o]._proportion_*Math.PI)){n=o;break}}return n}({x:a.x,y:a.y},this.opts.chartData.pieData,this.opts):"rose"===this.opts.type?function(t,e,a){var n=-1,i=B(a._series_,a.extra.rose.type,e.radius,e.radius);if(e&&e.center&&F(t,e.center,e.radius)){var r=Math.atan2(e.center.y-t.y,t.x-e.center.x);r=-r,a.extra.rose&&a.extra.rose.offsetAngle&&(r-=a.extra.rose.offsetAngle*Math.PI/180);for(var o=0,s=i.length;o<s;o++)if(u(r,i[o]._start_,i[o]._start_+2*i[o]._rose_proportion_*Math.PI)){n=o;break}}return n}({x:a.x,y:a.y},this.opts.chartData.pieData,this.opts):"radar"===this.opts.type?function(t,e,a){var n=2*Math.PI/a,i=-1;if(F(t,e.center,e.radius)){var r=function(t){return t<0&&(t+=2*Math.PI),t>2*Math.PI&&(t-=2*Math.PI),t},o=Math.atan2(e.center.y-t.y,t.x-e.center.x);o*=-1,o<0&&(o+=2*Math.PI);var s=e.angleList.map((function(t){return t=r(-1*t),t}));s.forEach((function(t,e){var a=r(t-n/2),s=r(t+n/2);s<a&&(s+=2*Math.PI),(o>=a&&o<=s||o+2*Math.PI>=a&&o+2*Math.PI<=s)&&(i=e)}))}return i}({x:a.x,y:a.y},this.opts.chartData.radarData,this.opts.categories.length):"funnel"===this.opts.type?function(t,e){for(var a=-1,n=0,i=e.series.length;n<i;n++){var r=e.series[n];if(t.x>r.funnelArea[0]&&t.x<r.funnelArea[2]&&t.y>r.funnelArea[1]&&t.y<r.funnelArea[3]){a=n;break}}return a}({x:a.x,y:a.y},this.opts.chartData.funnelData):"map"===this.opts.type?function(t,e){for(var a=-1,n=e.chartData.mapData,i=e.series,r=function(t,e,a,n,i,r){return{x:(e-i)/n+a.xMin,y:a.yMax-(t-r)/n}}(t.y,t.x,n.bounds,n.scale,n.xoffset,n.yoffset),o=[r.x,r.y],s=0,l=i.length;s<l;s++){var c=i[s].geometry.coordinates;if(Tt(o,c,e.chartData.mapData.mercator)){a=s;break}}return a}({x:a.x,y:a.y},this.opts):"word"===this.opts.type?function(t,e){for(var a=-1,n=0,i=e.length;n<i;n++){var r=e[n];if(t.x>r.area[0]&&t.x<r.area[2]&&t.y>r.area[1]&&t.y<r.area[3]){a=n;break}}return a}({x:a.x,y:a.y},this.opts.chartData.wordCloudData):"bar"===this.opts.type?function(t,e,a,n){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,r={index:-1,group:[]},o=a.chartData.eachSpacing/2,s=a.chartData.yAxisPoints;return e&&e.length>0&&D(t,a,n)&&s.forEach((function(e,a){t.y+i+o>e&&(r.index=a)})),r}({x:a.x,y:a.y},this.opts.chartData.calPoints,this.opts,this.config,Math.abs(this.scrollOption.currentOffset)):function(t,e,a,n){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,r={index:-1,group:[]},o=a.chartData.eachSpacing/2,s=[];if(e&&e.length>0){if(a.categories){for(var l=1;l<a.chartData.xAxisPoints.length;l++)s.push(a.chartData.xAxisPoints[l]-o);"line"!=a.type&&"area"!=a.type||"justify"!=a.xAxis.boundaryGap||(s=a.chartData.xAxisPoints)}else o=0;if(D(t,a,n))if(a.categories)s.forEach((function(e,a){t.x+i+o>e&&(r.index=a)}));else{for(var c=Array(e.length),d=0;d<e.length;d++){c[d]=Array(e[d].length);for(var h=0;h<e[d].length;h++)c[d][h]=Math.abs(e[d][h].x-t.x)}for(var u=Array(c.length),f=Array(c.length),p=0;p<c.length;p++)u[p]=Math.min.apply(null,c[p]),f[p]=c[p].indexOf(u[p]);var x=Math.min.apply(null,u);r.index=[];for(var g=0;g<u.length;g++)u[g]==x&&(r.group.push(g),r.index.push(f[g]))}}return r}({x:a.x,y:a.y},this.opts.chartData.calPoints,this.opts,this.config,Math.abs(this.scrollOption.currentOffset))}return-1},zt.prototype.getLegendDataIndex=function(t){var e=null;if(e=t.changedTouches?t.changedTouches[0]:t.mp.changedTouches[0],e){var a=_(e,this.opts,t);return function(t,e,a){var n=-1;if(function(t,e){return t.x>e.start.x&&t.x<e.end.x&&t.y>e.start.y&&t.y<e.end.y}(t,e.area)){for(var i=e.points,r=-1,o=0,s=i.length;o<s;o++)for(var l=i[o],c=0;c<l.length;c++){r+=1;var d=l[c]["area"];if(d&&t.x>d[0]-0&&t.x<d[2]+0&&t.y>d[1]-0&&t.y<d[3]+0){n=r;break}}return n}return n}({x:a.x,y:a.y},this.opts.chartData.legendData)}return-1},zt.prototype.touchLegend=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=null;if(a=t.changedTouches?t.changedTouches[0]:t.mp.changedTouches[0],a){_(a,this.opts,t);var n=this.getLegendDataIndex(t);n>=0&&("candle"==this.opts.type?this.opts.seriesMA[n].show=!this.opts.seriesMA[n].show:this.opts.series[n].show=!this.opts.series[n].show,this.opts.animation=!!e.animation,this.opts._scrollDistance_=this.scrollOption.currentOffset,It.call(this,this.opts.type,this.opts,this.config,this.context))}},zt.prototype.showToolTip=function(e){var a=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=null;i=e.changedTouches?e.changedTouches[0]:e.mp.changedTouches[0],i||t("log","[uCharts] \u672a\u83b7\u53d6\u5230event\u5750\u6807\u4fe1\u606f"," at uni_modules/qiun-data-charts/js_sdk/u-charts/u-charts.js:7046");var r=_(i,this.opts,e),o=this.scrollOption.currentOffset,l=s({},this.opts,{_scrollDistance_:o,animation:!1});if("line"===this.opts.type||"area"===this.opts.type||"column"===this.opts.type||"scatter"===this.opts.type||"bubble"===this.opts.type){var c=this.getCurrentDataIndex(e),d=void 0==n.index?c.index:n.index;if(d>-1||d.length>0){var h=C(this.opts.series,d,c.group);if(0!==h.length){var u=T(h,this.opts,d,c.group,this.opts.categories,n),f=u.textList,p=u.offset;p.y=r.y,l.tooltip={textList:void 0!==n.textList?n.textList:f,offset:void 0!==n.offset?n.offset:p,option:n,index:d}}}It.call(this,l.type,l,this.config,this.context)}if("mount"===this.opts.type){d=void 0==n.index?this.getCurrentDataIndex(e).index:n.index;if(d>-1){l=s({},this.opts,{animation:!1}),h=s({},l._series_[d]),f=[{text:n.formatter?n.formatter(h,void 0,d,l):h.name+": "+h.data,color:h.color}],p={x:l.chartData.calPoints[d].x,y:r.y};l.tooltip={textList:n.textList?n.textList:f,offset:void 0!==n.offset?n.offset:p,option:n,index:d}}It.call(this,l.type,l,this.config,this.context)}if("bar"===this.opts.type){c=this.getCurrentDataIndex(e),d=void 0==n.index?c.index:n.index;if(d>-1||d.length>0){h=C(this.opts.series,d,c.group);if(0!==h.length){u=T(h,this.opts,d,c.group,this.opts.categories,n),f=u.textList,p=u.offset;p.x=r.x,l.tooltip={textList:void 0!==n.textList?n.textList:f,offset:void 0!==n.offset?n.offset:p,option:n,index:d}}}It.call(this,l.type,l,this.config,this.context)}if("mix"===this.opts.type){c=this.getCurrentDataIndex(e),d=void 0==n.index?c.index:n.index;if(d>-1){o=this.scrollOption.currentOffset,l=s({},this.opts,{_scrollDistance_:o,animation:!1}),h=C(this.opts.series,d);if(0!==h.length){var x=k(h,this.opts,d,this.opts.categories,n);f=x.textList,p=x.offset;p.y=r.y,l.tooltip={textList:n.textList?n.textList:f,offset:void 0!==n.offset?n.offset:p,option:n,index:d}}}It.call(this,l.type,l,this.config,this.context)}if("candle"===this.opts.type){c=this.getCurrentDataIndex(e),d=void 0==n.index?c.index:n.index;if(d>-1){o=this.scrollOption.currentOffset,l=s({},this.opts,{_scrollDistance_:o,animation:!1}),h=C(this.opts.series,d);if(0!==h.length){u=P(this.opts.series[0].data,h,this.opts,d,this.opts.categories,this.opts.extra.candle,n),f=u.textList,p=u.offset;p.y=r.y,l.tooltip={textList:n.textList?n.textList:f,offset:void 0!==n.offset?n.offset:p,option:n,index:d}}}It.call(this,l.type,l,this.config,this.context)}if("pie"===this.opts.type||"ring"===this.opts.type||"rose"===this.opts.type||"funnel"===this.opts.type){d=void 0==n.index?this.getCurrentDataIndex(e):n.index;if(d>-1){l=s({},this.opts,{animation:!1}),h=s({},l._series_[d]),f=[{text:n.formatter?n.formatter(h,void 0,d,l):h.name+": "+h.data,color:h.color}],p={x:r.x,y:r.y};l.tooltip={textList:n.textList?n.textList:f,offset:void 0!==n.offset?n.offset:p,option:n,index:d}}It.call(this,l.type,l,this.config,this.context)}if("map"===this.opts.type){d=void 0==n.index?this.getCurrentDataIndex(e):n.index;if(d>-1){l=s({},this.opts,{animation:!1}),h=s({},this.opts.series[d]);h.name=h.properties.name;f=[{text:n.formatter?n.formatter(h,void 0,d,this.opts):h.name,color:h.color}],p={x:r.x,y:r.y};l.tooltip={textList:n.textList?n.textList:f,offset:void 0!==n.offset?n.offset:p,option:n,index:d}}l.updateData=!1,It.call(this,l.type,l,this.config,this.context)}if("word"===this.opts.type){d=void 0==n.index?this.getCurrentDataIndex(e):n.index;if(d>-1){l=s({},this.opts,{animation:!1}),h=s({},this.opts.series[d]),f=[{text:n.formatter?n.formatter(h,void 0,d,this.opts):h.name,color:h.color}],p={x:r.x,y:r.y};l.tooltip={textList:n.textList?n.textList:f,offset:void 0!==n.offset?n.offset:p,option:n,index:d}}l.updateData=!1,It.call(this,l.type,l,this.config,this.context)}if("radar"===this.opts.type){d=void 0==n.index?this.getCurrentDataIndex(e):n.index;if(d>-1){l=s({},this.opts,{animation:!1}),h=C(this.opts.series,d);if(0!==h.length){f=h.map((function(t){return{text:n.formatter?n.formatter(t,a.opts.categories[d],d,a.opts):t.name+": "+t.data,color:t.color}})),p={x:r.x,y:r.y};l.tooltip={textList:n.textList?n.textList:f,offset:void 0!==n.offset?n.offset:p,option:n,index:d}}}It.call(this,l.type,l,this.config,this.context)}},zt.prototype.translate=function(t){this.scrollOption={currentOffset:t,startTouchX:t,distance:0,lastMoveTime:0};var e=s({},this.opts,{_scrollDistance_:t,animation:!1});It.call(this,this.opts.type,e,this.config,this.context)},zt.prototype.scrollStart=function(t){var e=null;e=t.changedTouches?t.changedTouches[0]:t.mp.changedTouches[0];var a=_(e,this.opts,t);e&&!0===this.opts.enableScroll&&(this.scrollOption.startTouchX=a.x)},zt.prototype.scroll=function(t){0===this.scrollOption.lastMoveTime&&(this.scrollOption.lastMoveTime=Date.now());var e=this.opts.touchMoveLimit||60,a=Date.now(),n=a-this.scrollOption.lastMoveTime;if(!(n<Math.floor(1e3/e))&&0!=this.scrollOption.startTouchX){this.scrollOption.lastMoveTime=a;var i=null;if(i=t.changedTouches?t.changedTouches[0]:t.mp.changedTouches[0],i&&!0===this.opts.enableScroll){var r,o=_(i,this.opts,t);r=o.x-this.scrollOption.startTouchX;var l=this.scrollOption.currentOffset,c=h(this,l+r,this.opts.chartData,this.config,this.opts);this.scrollOption.distance=r=c-l;var d=s({},this.opts,{_scrollDistance_:l+r,animation:!1});return this.opts=d,It.call(this,d.type,d,this.config,this.context),l+r}}},zt.prototype.scrollEnd=function(t){if(!0===this.opts.enableScroll){var e=this.scrollOption,a=e.currentOffset,n=e.distance;this.scrollOption.currentOffset=a+n,this.scrollOption.distance=0,this.scrollOption.moveCount=0}};var Bt=zt;e.default=Bt}).call(this,a("f3b9")["default"])},1995:function(t,e,a){var n=a("c86c");e=n(!1),e.push([t.i,'@charset "UTF-8";.uni-popup[data-v-58e7869c]{position:fixed;z-index:99}.uni-popup.top[data-v-58e7869c], .uni-popup.left[data-v-58e7869c], .uni-popup.right[data-v-58e7869c]{top:0}.uni-popup .uni-popup__wrapper[data-v-58e7869c]{display:block;position:relative}.uni-popup .uni-popup__wrapper.left[data-v-58e7869c], .uni-popup .uni-popup__wrapper.right[data-v-58e7869c]{padding-top:0;flex:1}.fixforpc-z-index[data-v-58e7869c]{z-index:999}.fixforpc-top[data-v-58e7869c]{top:0}',""]),t.exports=e},"1a14":function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=["#1890FF","#91CB74","#FAC858","#EE6666","#73C0DE","#3CA272","#FC8452","#9A60B4","#ea7ccc"],i={type:["pie","ring","rose","word","funnel","map","arcbar","line","column","mount","bar","area","radar","gauge","candle","mix","tline","tarea","scatter","bubble","demotype"],range:["\u997c\u72b6\u56fe","\u5706\u73af\u56fe","\u73ab\u7470\u56fe","\u8bcd\u4e91\u56fe","\u6f0f\u6597\u56fe","\u5730\u56fe","\u5706\u5f27\u8fdb\u5ea6\u6761","\u6298\u7ebf\u56fe","\u67f1\u72b6\u56fe","\u5c71\u5cf0\u56fe","\u6761\u72b6\u56fe","\u533a\u57df\u56fe","\u96f7\u8fbe\u56fe","\u4eea\u8868\u76d8","K\u7ebf\u56fe","\u6df7\u5408\u56fe","\u65f6\u95f4\u8f74\u6298\u7ebf","\u65f6\u95f4\u8f74\u533a\u57df","\u6563\u70b9\u56fe","\u6c14\u6ce1\u56fe","\u81ea\u5b9a\u4e49\u7c7b\u578b"],categories:["line","column","mount","bar","area","radar","gauge","candle","mix","demotype"],instance:{},option:{},formatter:{yAxisDemo1:function(t,e,a){return t+"\u5143"},yAxisDemo2:function(t,e,a){return t.toFixed(2)},xAxisDemo1:function(t,e,a){return t+"\u5e74"},xAxisDemo2:function(t,e,a){return function(t,e){var a=new Date;a.setTime(1e3*t);var n=a.getFullYear(),i=a.getMonth()+1;i=i<10?"0"+i:i;var r=a.getDate();r=r<10?"0"+r:r;var o=a.getHours();o=o<10?"0"+o:o;var s=a.getMinutes(),l=a.getSeconds();return s=s<10?"0"+s:s,l=l<10?"0"+l:l,"full"==e?n+"-"+i+"-"+r+" "+o+":"+s+":"+l:"y-m-d"==e?n+"-"+i+"-"+r:"h:m"==e?o+":"+s:"h:m:s"==e?o+":"+s+":"+l:[n,i,r,o,s,l]}(t,"h:m")},seriesDemo1:function(t,e,a,n){return t+"\u5143"},tooltipDemo1:function(t,e,a,n){return 0==a?"\u968f\u4fbf\u7528"+t.data+"\u5e74":"\u5176\u4ed6\u6211\u6ca1\u6539"+t.data+"\u5929"},pieDemo:function(t,e,a,n){if(void 0!==e)return a[e].name+"\uff1a"+a[e].data+"\u5143"}},demotype:{type:"line",color:n,padding:[15,10,0,15],xAxis:{disableGrid:!0},yAxis:{gridType:"dash",dashLength:2},legend:{},extra:{line:{type:"curve",width:2}}},pie:{type:"pie",color:n,padding:[5,5,5,5],extra:{pie:{activeOpacity:.5,activeRadius:10,offsetAngle:0,labelWidth:15,border:!0,borderWidth:3,borderColor:"#FFFFFF"}}},ring:{type:"ring",color:n,padding:[5,5,5,5],rotate:!1,dataLabel:!1,legend:{show:!1,position:"right",lineHeight:25},title:{name:"\u6536\u76ca\u7387",fontSize:15,color:"#666666"},subtitle:{name:"70%",fontSize:25,color:"#7cb5ec"},extra:{ring:{ringWidth:30,activeOpacity:.5,activeRadius:10,offsetAngle:0,labelWidth:15,border:!0,borderWidth:3,borderColor:"#FFFFFF"}}},rose:{type:"rose",color:n,padding:[5,5,5,5],legend:{show:!0,position:"left",lineHeight:25},extra:{rose:{type:"area",minRadius:50,activeOpacity:.5,activeRadius:10,offsetAngle:0,labelWidth:15,border:!1,borderWidth:2,borderColor:"#FFFFFF"}}},word:{type:"word",color:n,extra:{word:{type:"normal",autoColors:!1}}},funnel:{type:"funnel",color:n,padding:[15,15,0,15],extra:{funnel:{activeOpacity:.3,activeWidth:10,border:!0,borderWidth:2,borderColor:"#FFFFFF",fillOpacity:1,labelAlign:"right"}}},map:{type:"map",color:n,padding:[0,0,0,0],dataLabel:!0,extra:{map:{border:!0,borderWidth:1,borderColor:"#666666",fillOpacity:.6,activeBorderColor:"#F04864",activeFillColor:"#FACC14",activeFillOpacity:1}}},arcbar:{type:"arcbar",color:n,title:{name:"\u767e\u5206\u6bd4",fontSize:25,color:"#00FF00"},subtitle:{name:"\u9ed8\u8ba4\u6807\u9898",fontSize:15,color:"#666666"},extra:{arcbar:{type:"default",width:12,backgroundColor:"#E9E9E9",startAngle:.75,endAngle:.25,gap:2}}},line:{type:"line",color:n,padding:[15,10,0,15],xAxis:{disableGrid:!0},yAxis:{gridType:"dash",dashLength:2},legend:{},extra:{line:{type:"straight",width:2}}},tline:{type:"line",color:n,padding:[15,10,0,15],xAxis:{disableGrid:!1,boundaryGap:"justify"},yAxis:{gridType:"dash",dashLength:2,data:[{min:0,max:80}]},legend:{},extra:{line:{type:"curve",width:2}}},tarea:{type:"area",color:n,padding:[15,10,0,15],xAxis:{disableGrid:!0,boundaryGap:"justify"},yAxis:{gridType:"dash",dashLength:2,data:[{min:0,max:80}]},legend:{},extra:{area:{type:"curve",opacity:.2,addLine:!0,width:2,gradient:!0}}},column:{type:"column",color:n,padding:[15,15,0,5],xAxis:{disableGrid:!0},yAxis:{data:[{min:0}]},legend:{},extra:{column:{type:"group",width:30,activeBgColor:"#000000",activeBgOpacity:.08}}},mount:{type:"mount",color:n,padding:[15,15,0,5],xAxis:{disableGrid:!0},yAxis:{data:[{min:0}]},legend:{},extra:{mount:{type:"mount",widthRatio:1.5}}},bar:{type:"bar",color:n,padding:[15,30,0,5],xAxis:{boundaryGap:"justify",disableGrid:!1,min:0,axisLine:!1},yAxis:{},legend:{},extra:{bar:{type:"group",width:30,meterBorde:1,meterFillColor:"#FFFFFF",activeBgColor:"#000000",activeBgOpacity:.08}}},area:{type:"area",color:n,padding:[15,15,0,15],xAxis:{disableGrid:!0},yAxis:{gridType:"dash",dashLength:2},legend:{},extra:{area:{type:"straight",opacity:.2,addLine:!0,width:2,gradient:!1}}},radar:{type:"radar",color:n,padding:[5,5,5,5],dataLabel:!1,legend:{show:!0,position:"right",lineHeight:25},extra:{radar:{gridType:"radar",gridColor:"#CCCCCC",gridCount:3,opacity:.2,max:200}}},gauge:{type:"gauge",color:n,title:{name:"66Km/H",fontSize:25,color:"#2fc25b",offsetY:50},subtitle:{name:"\u5b9e\u65f6\u901f\u5ea6",fontSize:15,color:"#1890ff",offsetY:-50},extra:{gauge:{type:"default",width:30,labelColor:"#666666",startAngle:.75,endAngle:.25,startNumber:0,endNumber:100,labelFormat:"",splitLine:{fixRadius:0,splitNumber:10,width:30,color:"#FFFFFF",childNumber:5,childWidth:12},pointer:{width:24,color:"auto"}}}},candle:{type:"candle",color:n,padding:[15,15,0,15],enableScroll:!0,enableMarkLine:!0,dataLabel:!1,xAxis:{labelCount:4,itemCount:40,disableGrid:!0,gridColor:"#CCCCCC",gridType:"solid",dashLength:4,scrollShow:!0,scrollAlign:"left",scrollColor:"#A6A6A6",scrollBackgroundColor:"#EFEBEF"},yAxis:{},legend:{},extra:{candle:{color:{upLine:"#f04864",upFill:"#f04864",downLine:"#2fc25b",downFill:"#2fc25b"},average:{show:!0,name:["MA5","MA10","MA30"],day:[5,10,20],color:["#1890ff","#2fc25b","#facc14"]}},markLine:{type:"dash",dashLength:5,data:[{value:2150,lineColor:"#f04864",showLabel:!0},{value:2350,lineColor:"#f04864",showLabel:!0}]}}},mix:{type:"mix",color:n,padding:[15,15,0,15],xAxis:{disableGrid:!0},yAxis:{disabled:!1,disableGrid:!1,splitNumber:5,gridType:"dash",dashLength:4,gridColor:"#CCCCCC",padding:10,showTitle:!0,data:[]},legend:{},extra:{mix:{column:{width:20}}}},scatter:{type:"scatter",color:n,padding:[15,15,0,15],dataLabel:!1,xAxis:{disableGrid:!1,gridType:"dash",splitNumber:5,boundaryGap:"justify",min:0},yAxis:{disableGrid:!1,gridType:"dash"},legend:{},extra:{scatter:{}}},bubble:{type:"bubble",color:n,padding:[15,15,0,15],xAxis:{disableGrid:!1,gridType:"dash",splitNumber:5,boundaryGap:"justify",min:0,max:250},yAxis:{disableGrid:!1,gridType:"dash",data:[{min:0,max:150}]},legend:{},extra:{bubble:{border:2,opacity:.5}}}},r=i;e.default=r},"1ad7":function(t,e,a){var n=a("c86c");e=n(!1),e.push([t.i,"",""]),t.exports=e},"1c5b":function(t,e,a){if("undefined"===typeof Promise||Promise.prototype.finally||(Promise.prototype.finally=function(t){var e=this.constructor;return this.then((function(a){return e.resolve(t()).then((function(){return a}))}),(function(a){return e.resolve(t()).then((function(){throw a}))}))}),"undefined"!==typeof uni&&uni&&uni.requireGlobal){var n=uni.requireGlobal();ArrayBuffer=n.ArrayBuffer,Int8Array=n.Int8Array,Uint8Array=n.Uint8Array,Uint8ClampedArray=n.Uint8ClampedArray,Int16Array=n.Int16Array,Uint16Array=n.Uint16Array,Int32Array=n.Int32Array,Uint32Array=n.Uint32Array,Float32Array=n.Float32Array,Float64Array=n.Float64Array,BigInt64Array=n.BigInt64Array,BigUint64Array=n.BigUint64Array}window.__uniConfig={window:{navigationBarTextStyle:"black",navigationBarTitleText:"uni-app",navigationBarBackgroundColor:"#F8F8F8",backgroundColor:"#F8F8F8",pageOrientation:"landscape"},darkmode:!1},uni.restoreGlobal&&uni.restoreGlobal(weex,plus,setTimeout,clearTimeout,setInterval,clearInterval),__definePage("pages/home/home",(function(){return Vue.extend(a("3b29").default)})),__definePage("pages/test/test",(function(){return Vue.extend(a("28cf").default)})),__definePage("pages/index",(function(){return Vue.extend(a("5e2e").default)})),__definePage("pages/index/index",(function(){return Vue.extend(a("e4d6").default)})),__definePage("pages/index/monitor",(function(){return Vue.extend(a("bfff").default)})),__definePage("pages/test/test",(function(){return Vue.extend(a("28cf").default)}))},"1e40":function(t,e,a){var n=a("c86c");e=n(!1),e.push([t.i,".chartsview[data-v-3f29adb2]{width:100%;height:100%;display:flex;flex:1;justify-content:center;align-items:center}",""]),t.exports=e},"1efb":function(t,e,a){"use strict";a.r(e);var n=a("8729"),i=a.n(n);for(var r in n)["default"].indexOf(r)<0&&function(t){a.d(e,t,(function(){return n[t]}))}(r);e["default"]=i.a},2021:function(t,e,a){t.exports=a.p+"static/background.png"},"21c9":function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={name:"loading1",data:function(){return{wxsProps:{}}},components:{}}},"21fb":function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={name:"loading3",data:function(){return{wxsProps:{}}},components:{}}},2527:function(t,e,a){var n=a("c86c");e=n(!1),e.push([t.i,'.chartsview[data-v-06f9c5d4]{width:100%;height:100%;display:flex;flex-direction:column;flex:1;justify-content:center;align-items:center}.charts-font[data-v-06f9c5d4]{font-size:14px;color:#ccc;margin-top:10px}.charts-error[data-v-06f9c5d4]{width:128px;height:128px;background:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAA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LHrt1AFCIHOWAwdpgoonKURKvZFc9eHuKtjQHcpY/Mle3NoQw7dsgkTfr4VXDq5rRH48F7Zk8uhrakJo1bMNwdqZA1d+empgx3zPQ3iobMnN9Bu3AYIPFDcoWu1mc+lBAIADsQDpshhpGEY+gNDLZgfCADoNSQvqPLkTSuxfuNq7IwJhODTCv4YUYunsjkc3f8+Bo7M4v8KYy5cixmPKVxXaWymnDWXLQGGxiVjAmaCoZy1XPbPSon9O+4VHSYhaIdJid2lhJESUzvu1f80nBNhywYA3cY5oOhI8uqlaLk+hfWXPUc1CHAijSOnL2CGXePAZKHBzd0PgEG50jZR6pZrTGXZpWwA+J248Vw4KNAAQDj4ULNVBA6Abz8ru8Ul9SVyITCVbUY/DRsjxLxLSmhdYSYEHh3oEiMch2rm0iXssqHSxI57xfZKU/ChZ+QjAOb1c6XnM+g3T4NKzRc4AIbGZR8TSeaCYzH0Ua8ZIeY8QzXbSBEAcvlSZyvwBKYPndb10LjkBQ1a4NV8P51u8zTQ6eynT+AA8LOIxjO1o0ADALWjfShmjhwACgNPoaCgsnWOO+VLwrJOq3VEDgCGLrbMjdeK0EEGZqr9DpEDgFXgqdpEK50vlsPUQJf/nHwt1///89bqDjCPWPAAAAAASUVORK5CYII=");background-position:50%}',""]),t.exports=e},"269a":function(t,e,a){var n=a("c86c");e=n(!1),e.push([t.i,".container[data-v-6e5d9c90]{width:30px;height:30px;position:relative}.container.loading6[data-v-6e5d9c90]{-webkit-animation:rotation 1s infinite;animation:rotation 1s infinite}.container.loading6 .shape[data-v-6e5d9c90]{width:12px;height:12px;border-radius:2px}.container .shape[data-v-6e5d9c90]{position:absolute;width:10px;height:10px;border-radius:1px}.container .shape.shape1[data-v-6e5d9c90]{left:0;background-color:#1890ff}.container .shape.shape2[data-v-6e5d9c90]{right:0;background-color:#91cb74}.container .shape.shape3[data-v-6e5d9c90]{bottom:0;background-color:#fac858}.container .shape.shape4[data-v-6e5d9c90]{bottom:0;right:0;background-color:#e66}.loading6 .shape1[data-v-6e5d9c90]{-webkit-animation:animation6shape1-data-v-6e5d9c90 2s linear 0s infinite normal;animation:animation6shape1-data-v-6e5d9c90 2s linear 0s infinite normal}@-webkit-keyframes animation6shape1-data-v-6e5d9c90{0%{-webkit-transform:translate(0);transform:translate(0)}25%{-webkit-transform:translateY(18px);transform:translateY(18px)}50%{-webkit-transform:translate(18px,18px);transform:translate(18px,18px)}75%{-webkit-transform:translate(18px);transform:translate(18px)}}@keyframes animation6shape1-data-v-6e5d9c90{0%{-webkit-transform:translate(0);transform:translate(0)}25%{-webkit-transform:translateY(18px);transform:translateY(18px)}50%{-webkit-transform:translate(18px,18px);transform:translate(18px,18px)}75%{-webkit-transform:translate(18px);transform:translate(18px)}}.loading6 .shape2[data-v-6e5d9c90]{-webkit-animation:animation6shape2-data-v-6e5d9c90 2s linear 0s infinite normal;animation:animation6shape2-data-v-6e5d9c90 2s linear 0s infinite normal}@-webkit-keyframes animation6shape2-data-v-6e5d9c90{0%{-webkit-transform:translate(0);transform:translate(0)}25%{-webkit-transform:translate(-18px);transform:translate(-18px)}50%{-webkit-transform:translate(-18px,18px);transform:translate(-18px,18px)}75%{-webkit-transform:translateY(18px);transform:translateY(18px)}}@keyframes animation6shape2-data-v-6e5d9c90{0%{-webkit-transform:translate(0);transform:translate(0)}25%{-webkit-transform:translate(-18px);transform:translate(-18px)}50%{-webkit-transform:translate(-18px,18px);transform:translate(-18px,18px)}75%{-webkit-transform:translateY(18px);transform:translateY(18px)}}.loading6 .shape3[data-v-6e5d9c90]{-webkit-animation:animation6shape3-data-v-6e5d9c90 2s linear 0s infinite normal;animation:animation6shape3-data-v-6e5d9c90 2s linear 0s infinite normal}@-webkit-keyframes animation6shape3-data-v-6e5d9c90{0%{-webkit-transform:translate(0);transform:translate(0)}25%{-webkit-transform:translate(18px);transform:translate(18px)}50%{-webkit-transform:translate(18px,-18px);transform:translate(18px,-18px)}75%{-webkit-transform:translateY(-18px);transform:translateY(-18px)}}@keyframes animation6shape3-data-v-6e5d9c90{0%{-webkit-transform:translate(0);transform:translate(0)}25%{-webkit-transform:translate(18px);transform:translate(18px)}50%{-webkit-transform:translate(18px,-18px);transform:translate(18px,-18px)}75%{-webkit-transform:translateY(-18px);transform:translateY(-18px)}}.loading6 .shape4[data-v-6e5d9c90]{-webkit-animation:animation6shape4-data-v-6e5d9c90 2s linear 0s infinite normal;animation:animation6shape4-data-v-6e5d9c90 2s linear 0s infinite normal}@-webkit-keyframes animation6shape4-data-v-6e5d9c90{0%{-webkit-transform:translate(0);transform:translate(0)}25%{-webkit-transform:translateY(-18px);transform:translateY(-18px)}50%{-webkit-transform:translate(-18px,-18px);transform:translate(-18px,-18px)}75%{-webkit-transform:translate(-18px);transform:translate(-18px)}}@keyframes animation6shape4-data-v-6e5d9c90{0%{-webkit-transform:translate(0);transform:translate(0)}25%{-webkit-transform:translateY(-18px);transform:translateY(-18px)}50%{-webkit-transform:translate(-18px,-18px);transform:translate(-18px,-18px)}75%{-webkit-transform:translate(-18px);transform:translate(-18px)}}",""]),t.exports=e},2880:function(t,e,a){"use strict";var n=a("60d5"),i=a.n(n);i.a},"28cf":function(t,e,a){"use strict";a.r(e);var n=a("7d36"),i=a("b9a5");for(var r in i)["default"].indexOf(r)<0&&function(t){a.d(e,t,(function(){return i[t]}))}(r);a("8804");var o=a("828b"),s=Object(o["a"])(i["default"],n["b"],n["c"],!1,null,null,null,!1,n["a"],void 0);e["default"]=s.exports},"2e13":function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={name:"loading2",data:function(){return{wxsProps:{}}},components:{}}},"34cf":function(t,e,a){var n=a("ed45"),i=a("7172"),r=a("6382"),o=a("dd3e");t.exports=function(t,e){return n(t)||i(t,e)||r(t,e)||o()},t.exports.__esModule=!0,t.exports["default"]=t.exports},"357c":function(t,e,a){"use strict";a.r(e);var n=a("9b65"),i=a("1efb");for(var r in i)["default"].indexOf(r)<0&&function(t){a.d(e,t,(function(){return i[t]}))}(r);a("f9c6");var o=a("828b"),s=Object(o["a"])(i["default"],n["b"],n["c"],!1,null,"71f2edbe",null,!1,n["a"],void 0);e["default"]=s.exports},"368e":function(t,e,a){var n=a("c86c");e=n(!1),e.push([t.i,".clear{position:fixed;top:0;left:0;z-index:9999;background:transparent;border:none}.clear:hover{background:#fff}",""]),t.exports=e},"3b29":function(t,e,a){"use strict";a.r(e);var n=a("ac5c"),i=a("0671");for(var r in i)["default"].indexOf(r)<0&&function(t){a.d(e,t,(function(){return i[t]}))}(r);a("02de");var o=a("828b"),s=Object(o["a"])(i["default"],n["b"],n["c"],!1,null,null,null,!1,n["a"],void 0);e["default"]=s.exports},"3b2d":function(t,e){function a(e){return t.exports=a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t.exports.__esModule=!0,t.exports["default"]=t.exports,a(e)}t.exports=a,t.exports.__esModule=!0,t.exports["default"]=t.exports},"3b3c":function(t,e,a){"use strict";var n=a("4f76"),i=a.n(n);i.a},"3bcd":function(t,e,a){"use strict";var n=a("5a89"),i=a.n(n);i.a},"3c26":function(t,e,a){"use strict";a.d(e,"b",(function(){return n})),a.d(e,"c",(function(){return i})),a.d(e,"a",(function(){}));var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("uni-view",{attrs:{_i:0}},[a("uni-view",{attrs:{_i:1}},[a("v-uni-swiper",{staticStyle:{height:"500px"},attrs:{circular:"true",vertical:"true","display-multiple-items":"16",autoplay:t._$g(2,"a-autoplay"),interval:t._$g(2,"a-interval"),duration:t._$g(2,"a-duration"),_i:2}},t._l(t._$g(3,"f"),(function(e,n,i,r){return a("v-uni-swiper-item",{key:e,attrs:{_i:"3-"+r}},[a("uni-view",{attrs:{_i:"4-"+r}},[t._v(t._$g("4-"+r,"t0-0"))])],1)})),1)],1)],1)},i=[]},"3c8c":function(t,e,a){"use strict";a.r(e);var n=a("f6e5"),i=a("c547");for(var r in i)["default"].indexOf(r)<0&&function(t){a.d(e,t,(function(){return i[t]}))}(r);a("f01f");var o=a("828b"),s=Object(o["a"])(i["default"],n["b"],n["c"],!1,null,"37562626",null,!1,n["a"],void 0);e["default"]=s.exports},"3d5d":function(t,e,a){"use strict";a.d(e,"b",(function(){return n})),a.d(e,"c",(function(){return i})),a.d(e,"a",(function(){}));var n=function(){var t=this.$createElement,e=this._self._c||t;return e("uni-view",{staticClass:this._$g(0,"sc"),attrs:{_i:0}},[e("uni-view",{staticClass:this._$g(1,"sc"),attrs:{_i:1}}),e("uni-view",{staticClass:this._$g(2,"sc"),attrs:{_i:2}}),e("uni-view",{staticClass:this._$g(3,"sc"),attrs:{_i:3}}),e("uni-view",{staticClass:this._$g(4,"sc"),attrs:{_i:4}})],1)},i=[]},"3d72":function(t,e,a){"use strict";a.r(e);var n=a("ea54"),i=a.n(n);for(var r in n)["default"].indexOf(r)<0&&function(t){a.d(e,t,(function(){return n[t]}))}(r);e["default"]=i.a},"3d8c":function(t,e,a){"use strict";a.d(e,"b",(function(){return n})),a.d(e,"c",(function(){return i})),a.d(e,"a",(function(){}));var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return t._$g(0,"i")?a("uni-view",{ref:"ani",class:t._$g(0,"c"),style:t._$g(0,"s"),attrs:{animation:t._$g(0,"a-animation"),_i:0},on:{click:function(e){return t.$handleViewEvent(e)}}},[t._t("default",null,{_i:1})],2):t._e()},i=[]},"3f18":function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={name:"qiun-error",props:["errorMessage"],data:function(){return{wxsProps:{}}},components:{}}},"3f60":function(t,e,a){"use strict";a.r(e);var n=a("8412"),i=a.n(n);for(var r in n)["default"].indexOf(r)<0&&function(t){a.d(e,t,(function(){return n[t]}))}(r);e["default"]=i.a},"3f6f":function(t,e,a){"use strict";a.r(e);var n=a("93d8"),i=a.n(n);for(var r in n)["default"].indexOf(r)<0&&function(t){a.d(e,t,(function(){return n[t]}))}(r);e["default"]=i.a},"3fb1":function(t,e,a){"use strict";a.d(e,"b",(function(){return n})),a.d(e,"c",(function(){return i})),a.d(e,"a",(function(){}));var n=function(){var t=this.$createElement,e=this._self._c||t;return e("uni-view",{staticClass:this._$g(0,"sc"),attrs:{_i:0}},[e("uni-view",{staticClass:this._$g(1,"sc"),attrs:{_i:1}}),e("uni-view",{staticClass:this._$g(2,"sc"),attrs:{_i:2}}),e("uni-view",{staticClass:this._$g(3,"sc"),attrs:{_i:3}}),e("uni-view",{staticClass:this._$g(4,"sc"),attrs:{_i:4}})],1)},i=[]},"402a":function(t,e,a){var n=a("c86c");e=n(!1),e.push([t.i,'@charset "UTF-8";.scroll_box[data-v-43f30b7e]{background:#fff;margin:30rpx;border-radius:10rpx}.scroll_box .swiper[data-v-43f30b7e]{margin-top:200px;height:70px}',""]),t.exports=e},4052:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={name:"uniPopupDialog",props:["value","placeholder","type","mode","title","content","beforeClose","cancelText","confirmText"],data:function(){return{wxsProps:{}}},components:{}}},"40dd":function(t,e,a){"use strict";a.d(e,"b",(function(){return n})),a.d(e,"c",(function(){return i})),a.d(e,"a",(function(){}));var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("uni-view",{staticClass:t._$g(0,"sc"),attrs:{_i:0}},[a("uni-view",{staticClass:t._$g(1,"sc"),attrs:{_i:1}},[a("v-uni-text",{staticClass:t._$g(2,"sc"),class:t._$g(2,"c"),attrs:{_i:2}},[t._v(t._$g(2,"t0-0"))])],1),t._$g(3,"i")?a("uni-view",{staticClass:t._$g(3,"sc"),attrs:{_i:3}},[t._t("default",[a("v-uni-text",{staticClass:t._$g(5,"sc"),attrs:{_i:5}},[t._v(t._$g(5,"t0-0"))])],{_i:4})],2):a("uni-view",{staticClass:t._$g(6,"sc"),attrs:{_i:6}},[t._t("default",[a("v-uni-input",{staticClass:t._$g(8,"sc"),attrs:{type:"text",placeholder:t._$g(8,"a-placeholder"),focus:t._$g(8,"a-focus"),_i:8},model:{value:t._$g(8,"v-model"),callback:function(e){t.$handleVModelEvent(8,e)},expression:"val"}})],{_i:7})],2),a("uni-view",{staticClass:t._$g(9,"sc"),attrs:{_i:9}},[a("uni-view",{staticClass:t._$g(10,"sc"),attrs:{_i:10},on:{click:function(e){return t.$handleViewEvent(e)}}},[a("v-uni-text",{staticClass:t._$g(11,"sc"),attrs:{_i:11}},[t._v(t._$g(11,"t0-0"))])],1),a("uni-view",{staticClass:t._$g(12,"sc"),attrs:{_i:12},on:{click:function(e){return t.$handleViewEvent(e)}}},[a("v-uni-text",{staticClass:t._$g(13,"sc"),attrs:{_i:13}},[t._v(t._$g(13,"t0-0"))])],1)],1)],1)},i=[]},4604:function(t,e,a){var n=a("c86c");e=n(!1),e.push([t.i,".container[data-v-37562626]{width:30px;height:30px;position:relative}.container.loading5 .shape[data-v-37562626]{width:15px;height:15px}.container .shape[data-v-37562626]{position:absolute;width:10px;height:10px;border-radius:1px}.container .shape.shape1[data-v-37562626]{left:0;background-color:#1890ff}.container .shape.shape2[data-v-37562626]{right:0;background-color:#91cb74}.container .shape.shape3[data-v-37562626]{bottom:0;background-color:#fac858}.container .shape.shape4[data-v-37562626]{bottom:0;right:0;background-color:#e66}.loading5 .shape1[data-v-37562626]{animation:animation5shape1-data-v-37562626 2s ease 0s infinite reverse}@-webkit-keyframes animation5shape1-data-v-37562626{0%{-webkit-transform:translate(0);transform:translate(0)}25%{-webkit-transform:translateY(15px);transform:translateY(15px)}50%{-webkit-transform:translate(15px,15px);transform:translate(15px,15px)}75%{-webkit-transform:translate(15px);transform:translate(15px)}}@keyframes animation5shape1-data-v-37562626{0%{-webkit-transform:translate(0);transform:translate(0)}25%{-webkit-transform:translateY(15px);transform:translateY(15px)}50%{-webkit-transform:translate(15px,15px);transform:translate(15px,15px)}75%{-webkit-transform:translate(15px);transform:translate(15px)}}.loading5 .shape2[data-v-37562626]{animation:animation5shape2-data-v-37562626 2s ease 0s infinite reverse}@-webkit-keyframes animation5shape2-data-v-37562626{0%{-webkit-transform:translate(0);transform:translate(0)}25%{-webkit-transform:translate(-15px);transform:translate(-15px)}50%{-webkit-transform:translate(-15px,15px);transform:translate(-15px,15px)}75%{-webkit-transform:translateY(15px);transform:translateY(15px)}}@keyframes animation5shape2-data-v-37562626{0%{-webkit-transform:translate(0);transform:translate(0)}25%{-webkit-transform:translate(-15px);transform:translate(-15px)}50%{-webkit-transform:translate(-15px,15px);transform:translate(-15px,15px)}75%{-webkit-transform:translateY(15px);transform:translateY(15px)}}.loading5 .shape3[data-v-37562626]{animation:animation5shape3-data-v-37562626 2s ease 0s infinite reverse}@-webkit-keyframes animation5shape3-data-v-37562626{0%{-webkit-transform:translate(0);transform:translate(0)}25%{-webkit-transform:translate(15px);transform:translate(15px)}50%{-webkit-transform:translate(15px,-15px);transform:translate(15px,-15px)}75%{-webkit-transform:translateY(-15px);transform:translateY(-15px)}}@keyframes animation5shape3-data-v-37562626{0%{-webkit-transform:translate(0);transform:translate(0)}25%{-webkit-transform:translate(15px);transform:translate(15px)}50%{-webkit-transform:translate(15px,-15px);transform:translate(15px,-15px)}75%{-webkit-transform:translateY(-15px);transform:translateY(-15px)}}.loading5 .shape4[data-v-37562626]{animation:animation5shape4-data-v-37562626 2s ease 0s infinite reverse}@-webkit-keyframes animation5shape4-data-v-37562626{0%{-webkit-transform:translate(0);transform:translate(0)}25%{-webkit-transform:translateY(-15px);transform:translateY(-15px)}50%{-webkit-transform:translate(-15px,-15px);transform:translate(-15px,-15px)}75%{-webkit-transform:translate(-15px);transform:translate(-15px)}}@keyframes animation5shape4-data-v-37562626{0%{-webkit-transform:translate(0);transform:translate(0)}25%{-webkit-transform:translateY(-15px);transform:translateY(-15px)}50%{-webkit-transform:translate(-15px,-15px);transform:translate(-15px,-15px)}75%{-webkit-transform:translate(-15px);transform:translate(-15px)}}",""]),t.exports=e},"468a":function(t,e,a){"use strict";a.r(e);var n=a("3d5d"),i=a("a9ce");for(var r in i)["default"].indexOf(r)<0&&function(t){a.d(e,t,(function(){return i[t]}))}(r);a("e199");var o=a("828b"),s=Object(o["a"])(i["default"],n["b"],n["c"],!1,null,"2ef93b2c",null,!1,n["a"],void 0);e["default"]=s.exports},"47a9":function(t,e){t.exports=function(t){return t&&t.__esModule?t:{default:t}},t.exports.__esModule=!0,t.exports["default"]=t.exports},"4f76":function(t,e,a){var n=a("402a");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var i=a("b49c").default;i("addd57ae",n,!0,{sourceMap:!1,shadowMode:!1})},"59cf":function(t,e,a){"use strict";a.d(e,"b",(function(){return n})),a.d(e,"c",(function(){return i})),a.d(e,"a",(function(){}));var n=function(){var t=this.$createElement,e=this._self._c||t;return e("uni-view",{staticClass:this._$g(0,"sc"),attrs:{_i:0}},[e("uni-view",{staticClass:this._$g(1,"sc"),attrs:{_i:1}}),e("uni-view",{staticClass:this._$g(2,"sc"),attrs:{_i:2}},[this._v(this._$g(2,"t0-0"))])],1)},i=[]},"5a89":function(t,e,a){var n=a("1995");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var i=a("b49c").default;i("47efc986",n,!0,{sourceMap:!1,shadowMode:!1})},"5e2e":function(t,e,a){"use strict";a.r(e);var n=a("7b96"),i=a("3f6f");for(var r in i)["default"].indexOf(r)<0&&function(t){a.d(e,t,(function(){return i[t]}))}(r);a("2880");var o=a("828b"),s=Object(o["a"])(i["default"],n["b"],n["c"],!1,null,"cc06004c",null,!1,n["a"],void 0);e["default"]=s.exports},"5f21":function(t,e,a){"use strict";a.r(e);var n=a("af4f"),i=a("3f60");for(var r in i)["default"].indexOf(r)<0&&function(t){a.d(e,t,(function(){return i[t]}))}(r);var o=a("828b"),s=Object(o["a"])(i["default"],n["b"],n["c"],!1,null,"24ee7f38",null,!1,n["a"],void 0);e["default"]=s.exports},6064:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={name:"",data:function(){return{wxsProps:{}}},components:{}}},6075:function(t,e,a){var n=a("c86c");e=n(!1),e.push([t.i,".container[data-v-4e1c1bfa]{width:30px;height:30px;position:relative}.container.loading3[data-v-4e1c1bfa]{-webkit-animation:rotation 1s infinite;animation:rotation 1s infinite}.container.loading3 .shape1[data-v-4e1c1bfa]{border-top-left-radius:10px}.container.loading3 .shape2[data-v-4e1c1bfa]{border-top-right-radius:10px}.container.loading3 .shape3[data-v-4e1c1bfa]{border-bottom-left-radius:10px}.container.loading3 .shape4[data-v-4e1c1bfa]{border-bottom-right-radius:10px}.container .shape[data-v-4e1c1bfa]{position:absolute;width:10px;height:10px;border-radius:1px}.container .shape.shape1[data-v-4e1c1bfa]{left:0;background-color:#1890ff}.container .shape.shape2[data-v-4e1c1bfa]{right:0;background-color:#91cb74}.container .shape.shape3[data-v-4e1c1bfa]{bottom:0;background-color:#fac858}.container .shape.shape4[data-v-4e1c1bfa]{bottom:0;right:0;background-color:#e66}.loading3 .shape1[data-v-4e1c1bfa]{-webkit-animation:animation3shape1-data-v-4e1c1bfa .5s ease 0s infinite alternate;animation:animation3shape1-data-v-4e1c1bfa .5s ease 0s infinite alternate}@-webkit-keyframes animation3shape1-data-v-4e1c1bfa{from{-webkit-transform:translate(0);transform:translate(0)}to{-webkit-transform:translate(5px,5px);transform:translate(5px,5px)}}@keyframes animation3shape1-data-v-4e1c1bfa{from{-webkit-transform:translate(0);transform:translate(0)}to{-webkit-transform:translate(5px,5px);transform:translate(5px,5px)}}.loading3 .shape2[data-v-4e1c1bfa]{-webkit-animation:animation3shape2-data-v-4e1c1bfa .5s ease 0s infinite alternate;animation:animation3shape2-data-v-4e1c1bfa .5s ease 0s infinite alternate}@-webkit-keyframes animation3shape2-data-v-4e1c1bfa{from{-webkit-transform:translate(0);transform:translate(0)}to{-webkit-transform:translate(-5px,5px);transform:translate(-5px,5px)}}@keyframes animation3shape2-data-v-4e1c1bfa{from{-webkit-transform:translate(0);transform:translate(0)}to{-webkit-transform:translate(-5px,5px);transform:translate(-5px,5px)}}.loading3 .shape3[data-v-4e1c1bfa]{-webkit-animation:animation3shape3-data-v-4e1c1bfa .5s ease 0s infinite alternate;animation:animation3shape3-data-v-4e1c1bfa .5s ease 0s infinite alternate}@-webkit-keyframes animation3shape3-data-v-4e1c1bfa{from{-webkit-transform:translate(0);transform:translate(0)}to{-webkit-transform:translate(5px,-5px);transform:translate(5px,-5px)}}@keyframes animation3shape3-data-v-4e1c1bfa{from{-webkit-transform:translate(0);transform:translate(0)}to{-webkit-transform:translate(5px,-5px);transform:translate(5px,-5px)}}.loading3 .shape4[data-v-4e1c1bfa]{-webkit-animation:animation3shape4-data-v-4e1c1bfa .5s ease 0s infinite alternate;animation:animation3shape4-data-v-4e1c1bfa .5s ease 0s infinite alternate}@-webkit-keyframes animation3shape4-data-v-4e1c1bfa{from{-webkit-transform:translate(0);transform:translate(0)}to{-webkit-transform:translate(-5px,-5px);transform:translate(-5px,-5px)}}@keyframes animation3shape4-data-v-4e1c1bfa{from{-webkit-transform:translate(0);transform:translate(0)}to{-webkit-transform:translate(-5px,-5px);transform:translate(-5px,-5px)}}",""]),t.exports=e},"60d5":function(t,e,a){var n=a("a7ad");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var i=a("b49c").default;i("7d39d56f",n,!0,{sourceMap:!1,shadowMode:!1})},6382:function(t,e,a){var n=a("6454");t.exports=function(t,e){if(t){if("string"===typeof t)return n(t,e);var a=Object.prototype.toString.call(t).slice(8,-1);return"Object"===a&&t.constructor&&(a=t.constructor.name),"Map"===a||"Set"===a?Array.from(t):"Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?n(t,e):void 0}},t.exports.__esModule=!0,t.exports["default"]=t.exports},"63c1":function(t,e,a){"use strict";a.r(e);var n=a("ba9b"),i=a.n(n);for(var r in n)["default"].indexOf(r)<0&&function(t){a.d(e,t,(function(){return n[t]}))}(r);e["default"]=i.a},6454:function(t,e){t.exports=function(t,e){(null==e||e>t.length)&&(e=t.length);for(var a=0,n=new Array(e);a<e;a++)n[a]=t[a];return n},t.exports.__esModule=!0,t.exports["default"]=t.exports},"65fd":function(t,e,a){var n=a("e631");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var i=a("b49c").default;i("675dcda4",n,!0,{sourceMap:!1,shadowMode:!1})},6642:function(t,e,a){var n=a("c86c"),i=a("ac93"),r=a("2021"),o=a("9ffd");e=n(!1);var s=i(r),l=i(o);e.push([t.i,"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n.eject-mask{width:100%;height:100%;background-color:rgba(0,0,0,.5);position:fixed;top:0;left:0;z-index:999;display:flex;align-items:center;justify-content:center}.eject{position:relative;width:600px;height:350px;background-color:#eaeaea;border-radius:25rpx}.eject-title{width:100%;height:100px;line-height:100px;font-size:20px;font-weight:700;color:#606266;text-align:center}.item{display:flex;align-items:center;margin:10px 0 0 0}.desc{display:inline-block;width:40%;text-align:right;color:#606266;font-size:18px}.input{display:flex;align-items:center;padding-left:5px;padding-right:5px;width:100%;height:30px;border:1px solid #c0c4cc;margin-right:50px}.eject-input uni-input{width:100%}.eject-button{display:flex;align-items:center;position:absolute;bottom:0;height:60px;line-height:60px;width:100%;border-top:1px solid #ccc}.button-item{width:50%;height:100%;font-size:20px;font-weight:700;text-align:center;color:#909399}.button-item:last-child{color:#67c23a;border-left:1px solid #ccc}.full-width{width:100%;height:100%;display:inline-block;float:left}.half-width{width:50%;height:100%;display:inline-block;float:left}.box-items{height:20%;width:100%;line-height:300rpx}.swiper-here{display:inline-block;margin:0 auto;width:100%;height:100%}.swiper-here-oN{display:inline-block;margin:0 auto;width:100%;height:90%}.swiper-here-error{display:inline-block;margin-top:20%;width:100%;height:100%}.animate{display:inline-block;-webkit-animation:25s wordsLoop linear infinite normal;animation:25s wordsLoop linear infinite normal}@keyframes wordsLoop{0%{transform:translateY(100px);-webkit-transform:translateY(100px)}100%{transform:translateY(-100%);-webkit-transform:translateY(-100%)}}@-webkit-keyframes wordsLoop{0%{transform:translateY(100px);-webkit-transform:translateY(100px)}100%{transform:translateY(-100%);-webkit-transform:translateY(-100%)}}.topUp{-webkit-animation:topUp 1.5s 1;animation:topUp 1.5s 1;-webkit-animation-fill-mode:both;animation-fill-mode:both}@-webkit-keyframes topUp{from{opacity:.5;top:-1080px}to{opacity:1;top:0}}@keyframes topUp{from{opacity:.5;top:-1080px}to{opacity:1;top:0}}.topDown{-webkit-animation:topDown 1.5s 1;animation:topDown 1.5s 1;-webkit-animation-fill-mode:both;animation-fill-mode:both}@-webkit-keyframes topDown{from{opacity:1;top:0}to{opacity:.5;top:-1080px}}@keyframes topDown{from{opacity:1;top:0}to{opacity:.5;top:-1080px}}.floorUp{-webkit-animation:floorUp 1.5s 1;animation:floorUp 1.5s 1;-webkit-animation-fill-mode:both;animation-fill-mode:both}@-webkit-keyframes floorUp{from{opacity:.5;top:0}to{opacity:1;top:1080px}}@keyframes floorUp{from{opacity:.5;top:0}to{opacity:1;top:1080px}}.floorDown{-webkit-animation:floorDown 1.5s 1;animation:floorDown 1.5s 1;-webkit-animation-fill-mode:both;animation-fill-mode:both}@-webkit-keyframes floorDown{from{opacity:.5;top:1080px}to{opacity:1;top:0}}@keyframes floorDown{from{opacity:.5;top:1080px}to{opacity:1;top:0}}.top-screen{position:fixed;width:1920px;height:1080px;background-image:url("+s+");z-index:999}.floor-screen{width:1920px;height:1080px;position:relative;color:#fff;text-align:center;font-size:120rpx;letter-spacing:5rpx;background-image:url("+s+")}.container{width:1920px;height:1080px;position:relative}.head{width:100%;height:10%;text-align:center;line-height:110px;color:#fff;font-size:40px;font-weight:700;letter-spacing:5px}.head uni-text{-webkit-transform:scaleY(.9);transform:scaleY(.9)}.time-tools{height:5%;position:absolute;top:0;float:right;right:50px;font-size:16px;font-weight:400;line-height:70px;letter-spacing:1px}.button-left{position:absolute;background-image:url("+l+");background-size:100% 100%;top:1.8%;left:21.3%;width:13.5%;height:8.5%;-webkit-transform:scaleX(-1);transform:scaleX(-1)}.button-right{position:absolute;background-image:url("+l+");background-size:100% 100%;top:1.8%;left:65%;width:13.5%;height:8.5%}.main{position:relative;width:100%;height:90%}.main-sides{position:relative;display:inline-block;float:left;width:50%;height:100%}.box{position:relative;margin:3% 2% 0 2%;width:96%;height:30%;border:1px solid #145088;overflow:hidden}.box-lg{height:94%}.box-border{position:absolute;width:10px;height:10px}.box-border1{top:0;left:0;border-left:2px solid #31c4c4;border-top:2px solid #31c4c4}.box-border2{top:0;right:0;border-right:2px solid #31c4c4;border-top:2px solid #31c4c4}.box-border3{bottom:0;left:0;border-bottom:2px solid #31c4c4;border-left:2px solid #31c4c4}.box-border4{bottom:0;right:0;border-right:2px solid #31c4c4;border-bottom:2px solid #31c4c4}.content{display:flex;flex-direction:column;flex:1}.charts-box{width:80%;height:230px;margin-left:10%}.ring{display:inline-block;float:left;width:60%;height:300px;margin-left:-10%}.box-item{width:92%;height:20%;margin-left:4%;padding-top:1em;color:#fff}.introduce{height:30%}.introduce h2{letter-spacing:5px}.english{font-size:14px}.introduce-content{font-size:20px;padding-top:2em;text-indent:2em;line-height:2em}.charge-info{height:45%}.charge-info-item{display:inline-block;width:50%;height:40%}.charge-info-item uni-image{display:inline-block;float:left;height:100%;width:20%}.charge-info-item uni-view{display:inline-block;position:relative;margin-left:10%;width:70%;height:49%}.charge-info-item .count, .charge-info-item .unit{position:absolute;display:inline-block;font-size:32px;bottom:0;padding-left:5%}.charge-info-item .unit{font-size:16px;float:right;right:20%}.footer{position:absolute;border:1px solid #145088;height:15%}.use-info{}.use-left{display:inline-block;width:40%}.use-right{display:inline-block;float:right;width:20%}.use-main{width:100%;height:75%}.use-main .left{display:inline-block;float:left;height:100%;width:70%;line-height:20px}.left .progressBar{margin-top:9%;width:100%;height:20%;background-color:#233751;border-radius:20px}.left .progress{height:100%;background-color:#ff5722;border-radius:20px}.left uni-progress{margin-left:10%;margin-top:10%;display:block}.use-main .right{display:inline-block;float:right;height:100%;width:20%;font-size:40px;color:#ff5722;line-height:130px}.box-tp{height:30%}.box-tp .sub-main{}.box-md{height:43%}.sub-main-right{display:inline-block;height:100%;width:50%}.sub-info{width:100%;height:33%}.sub-info uni-image{display:inline-block;float:left;height:100%;width:15%}.sub-info uni-text{display:inline-block;width:40%;height:100%;text-align:center;line-height:120px;font-size:20px}.box-bt{background-color:#063a7b;border:none;height:15%;color:#fff}.box-bt uni-image{position:absolute;float:right;right:0;top:0;width:20%;height:100%}.box-bt{font-size:36px;line-height:140px;text-indent:5em}.right-item{height:94%}.sub-left{display:inline-block;float:left;width:40%}.sub-right{display:inline-block;float:right;width:20%}.sub-main{position:absolute;width:92%;height:80%;bottom:0}",""]),t.exports=e},"675d":function(t,e,a){var n=a("1ad7");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var i=a("b49c").default;i("0ac72776",n,!0,{sourceMap:!1,shadowMode:!1})},7172:function(t,e){t.exports=function(t,e){var a=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=a){var n,i,r,o,s=[],l=!0,c=!1;try{if(r=(a=a.call(t)).next,0===e){if(Object(a)!==a)return;l=!1}else for(;!(l=(n=r.call(a)).done)&&(s.push(n.value),s.length!==e);l=!0);}catch(t){c=!0,i=t}finally{try{if(!l&&null!=a["return"]&&(o=a["return"](),Object(o)!==o))return}finally{if(c)throw i}}return s}},t.exports.__esModule=!0,t.exports["default"]=t.exports},"73fb":function(t,e,a){var n=a("c86c");e=n(!1),e.push([t.i,'@charset "UTF-8";.uni-popup-dialog[data-v-99b3946c]{width:300px;border-radius:11px;background-color:#fff}.uni-dialog-title[data-v-99b3946c]{display:flex;flex-direction:row;justify-content:center;padding-top:25px}.uni-dialog-title-text[data-v-99b3946c]{font-size:16px;font-weight:500}.uni-dialog-content[data-v-99b3946c]{display:flex;flex-direction:row;justify-content:center;align-items:center;padding:20px}.uni-dialog-content-text[data-v-99b3946c]{font-size:14px;color:#6c6c6c}.uni-dialog-button-group[data-v-99b3946c]{display:flex;flex-direction:row;border-top-color:#f5f5f5;border-top-style:solid;border-top-width:1px}.uni-dialog-button[data-v-99b3946c]{display:flex;flex:1;flex-direction:row;justify-content:center;align-items:center;height:45px}.uni-border-left[data-v-99b3946c]{border-left-color:#f0f0f0;border-left-style:solid;border-left-width:1px}.uni-dialog-button-text[data-v-99b3946c]{font-size:16px;color:#333}.uni-button-color[data-v-99b3946c]{color:#007aff}.uni-dialog-input[data-v-99b3946c]{flex:1;font-size:14px;border:1px #eee solid;height:40px;padding:0 10px;border-radius:5px;color:#555}.uni-popup__success[data-v-99b3946c]{color:#4cd964}.uni-popup__warn[data-v-99b3946c]{color:#f0ad4e}.uni-popup__error[data-v-99b3946c]{color:#dd524d}.uni-popup__info[data-v-99b3946c]{color:#909399}',""]),t.exports=e},7543:function(t,e,a){"use strict";a.r(e);var n=a("4052"),i=a.n(n);for(var r in n)["default"].indexOf(r)<0&&function(t){a.d(e,t,(function(){return n[t]}))}(r);e["default"]=i.a},7996:function(t,e,a){"use strict";a.r(e);var n=a("f5de"),i=a("9399");for(var r in i)["default"].indexOf(r)<0&&function(t){a.d(e,t,(function(){return i[t]}))}(r);a("7d31");var o=a("828b"),s=Object(o["a"])(i["default"],n["b"],n["c"],!1,null,"fe0925d0",null,!1,n["a"],void 0);e["default"]=s.exports},"7b49":function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={name:"uniPopup",props:["animation","type","isMaskClick","maskClick","backgroundColor","safeArea","maskBackgroundColor"],data:function(){return{wxsProps:{}}},components:{}}},"7b96":function(t,e,a){"use strict";a.d(e,"b",(function(){return n})),a.d(e,"c",(function(){return i})),a.d(e,"a",(function(){}));var n=function(){var t=this.$createElement,e=this._self._c||t;return e("uni-view",{staticClass:this._$g(0,"sc"),attrs:{_i:0}})},i=[]},"7c9c":function(t,e,a){"use strict";a.r(e);var n=a("7b49"),i=a.n(n);for(var r in n)["default"].indexOf(r)<0&&function(t){a.d(e,t,(function(){return n[t]}))}(r);e["default"]=i.a},"7d31":function(t,e,a){"use strict";var n=a("02c7"),i=a.n(n);i.a},"7d36":function(t,e,a){"use strict";a.d(e,"b",(function(){return n})),a.d(e,"c",(function(){return i})),a.d(e,"a",(function(){}));var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("uni-view",{attrs:{_i:0}},[a("v-uni-button",{staticClass:t._$g(1,"sc"),attrs:{_i:1},on:{click:function(e){return t.$handleViewEvent(e)}}},[t._v("Clear")]),t._$g(2,"i")?a("v-uni-web-view",{attrs:{src:t._$g(2,"a-src"),_i:2}}):t._e(),t._$g(3,"i")?a("uni-view",{staticStyle:{"margin-top":"100px"},attrs:{_i:3}},[a("v-uni-input",{attrs:{type:"text",placeholder:"\u8f93\u5165URL",_i:4},model:{value:t._$g(4,"v-model"),callback:function(e){t.$handleVModelEvent(4,e)},expression:"url"}}),a("v-uni-button",{attrs:{_i:5},on:{click:function(e){return t.$handleViewEvent(e)}}},[t._v("\u8bbe\u7f6e")])],1):t._e()],1)},i=[]},"7ec4":function(t,e,a){var n=a("c86c");e=n(!1),e.push([t.i,".container[data-v-fe0925d0]{width:30px;height:30px;position:relative}.container.loading1[data-v-fe0925d0]{-webkit-transform:rotate(45deg);transform:rotate(45deg)}.container .shape[data-v-fe0925d0]{position:absolute;width:10px;height:10px;border-radius:1px}.container .shape.shape1[data-v-fe0925d0]{left:0;background-color:#1890ff}.container .shape.shape2[data-v-fe0925d0]{right:0;background-color:#91cb74}.container .shape.shape3[data-v-fe0925d0]{bottom:0;background-color:#fac858}.container .shape.shape4[data-v-fe0925d0]{bottom:0;right:0;background-color:#e66}.loading1 .shape1[data-v-fe0925d0]{-webkit-animation:animation1shape1-data-v-fe0925d0 .5s ease 0s infinite alternate;animation:animation1shape1-data-v-fe0925d0 .5s ease 0s infinite alternate}@-webkit-keyframes animation1shape1-data-v-fe0925d0{from{-webkit-transform:translate(0);transform:translate(0)}to{-webkit-transform:translate(16px,16px);transform:translate(16px,16px)}}@keyframes animation1shape1-data-v-fe0925d0{from{-webkit-transform:translate(0);transform:translate(0)}to{-webkit-transform:translate(16px,16px);transform:translate(16px,16px)}}.loading1 .shape2[data-v-fe0925d0]{-webkit-animation:animation1shape2-data-v-fe0925d0 .5s ease 0s infinite alternate;animation:animation1shape2-data-v-fe0925d0 .5s ease 0s infinite alternate}@-webkit-keyframes animation1shape2-data-v-fe0925d0{from{-webkit-transform:translate(0);transform:translate(0)}to{-webkit-transform:translate(-16px,16px);transform:translate(-16px,16px)}}@keyframes animation1shape2-data-v-fe0925d0{from{-webkit-transform:translate(0);transform:translate(0)}to{-webkit-transform:translate(-16px,16px);transform:translate(-16px,16px)}}.loading1 .shape3[data-v-fe0925d0]{-webkit-animation:animation1shape3-data-v-fe0925d0 .5s ease 0s infinite alternate;animation:animation1shape3-data-v-fe0925d0 .5s ease 0s infinite alternate}@-webkit-keyframes animation1shape3-data-v-fe0925d0{from{-webkit-transform:translate(0);transform:translate(0)}to{-webkit-transform:translate(16px,-16px);transform:translate(16px,-16px)}}@keyframes animation1shape3-data-v-fe0925d0{from{-webkit-transform:translate(0);transform:translate(0)}to{-webkit-transform:translate(16px,-16px);transform:translate(16px,-16px)}}.loading1 .shape4[data-v-fe0925d0]{-webkit-animation:animation1shape4-data-v-fe0925d0 .5s ease 0s infinite alternate;animation:animation1shape4-data-v-fe0925d0 .5s ease 0s infinite alternate}@-webkit-keyframes animation1shape4-data-v-fe0925d0{from{-webkit-transform:translate(0);transform:translate(0)}to{-webkit-transform:translate(-16px,-16px);transform:translate(-16px,-16px)}}@keyframes animation1shape4-data-v-fe0925d0{from{-webkit-transform:translate(0);transform:translate(0)}to{-webkit-transform:translate(-16px,-16px);transform:translate(-16px,-16px)}}",""]),t.exports=e},"7edb":function(t,e,a){"use strict";a.r(e);var n=a("898b"),i=a.n(n);for(var r in n)["default"].indexOf(r)<0&&function(t){a.d(e,t,(function(){return n[t]}))}(r);e["default"]=i.a},8042:function(t,e,a){"use strict";a.d(e,"b",(function(){return i})),a.d(e,"c",(function(){return r})),a.d(e,"a",(function(){return n}));var n={uniTransition:a("997e").default},i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return t._$g(0,"i")?a("uni-view",{staticClass:t._$g(0,"sc"),class:t._$g(0,"c"),attrs:{_i:0},on:{touchmove:function(e){return t.$handleViewEvent(e,{stop:!0,prevent:!0})}}},[a("uni-view",{attrs:{_i:1},on:{touchstart:function(e){return t.$handleViewEvent(e)}}},[t._$g(2,"i")?a("uni-transition",{key:"1",attrs:{_i:2},on:{click:function(e){return t.$handleViewEvent(e)}}}):t._e(),a("uni-transition",{key:"2",attrs:{_i:3},on:{click:function(e){return t.$handleViewEvent(e)}}},[a("uni-view",{staticClass:t._$g(4,"sc"),class:t._$g(4,"c"),style:t._$g(4,"s"),attrs:{_i:4},on:{click:function(e){return t.$handleViewEvent(e)}}},[t._t("default",null,{_i:5})],2)],1)],1)],1):t._e()},r=[]},"828b":function(t,e,a){"use strict";function n(t,e,a,n,i,r,o,s,l,c){var d,h="function"===typeof t?t.options:t;if(l){h.components||(h.components={});var u=Object.prototype.hasOwnProperty;for(var f in l)u.call(l,f)&&!u.call(h.components,f)&&(h.components[f]=l[f])}if(c&&("function"===typeof c.beforeCreate&&(c.beforeCreate=[c.beforeCreate]),(c.beforeCreate||(c.beforeCreate=[])).unshift((function(){this[c.__module]=this})),(h.mixins||(h.mixins=[])).push(c)),e&&(h.render=e,h.staticRenderFns=a,h._compiled=!0),n&&(h.functional=!0),r&&(h._scopeId="data-v-"+r),o?(d=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"===typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),i&&i.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(o)},h._ssrRegister=d):i&&(d=s?function(){i.call(this,this.$root.$options.shadowRoot)}:i),d)if(h.functional){h._injectStyles=d;var p=h.render;h.render=function(t,e){return d.call(e),p(t,e)}}else{var x=h.beforeCreate;h.beforeCreate=x?[].concat(x,d):[d]}return{exports:t,options:h}}a.d(e,"a",(function(){return n}))},8325:function(t,e,a){"use strict";a.r(e);var n=a("8ab6"),i=a("7edb");for(var r in i)["default"].indexOf(r)<0&&function(t){a.d(e,t,(function(){return i[t]}))}(r);var o=a("3d72");for(var r in o)["default"].indexOf(r)<0&&function(t){a.d(e,t,(function(){return o[t]}))}(r);a("c781");var s=a("828b");i["default"].__module="rdcharts";var l=Object(s["a"])(o["default"],n["b"],n["c"],!1,null,"3f29adb2",null,!1,n["a"],i["default"]);e["default"]=l.exports},8412:function(t,e,a){"use strict";var n=a("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(a("7996")),r=n(a("468a")),o=n(a("c959")),s=n(a("3c8c")),l=n(a("8a5a")),c={name:"qiun-loading",props:["loadingType"],data:function(){return{wxsProps:{}}},components:{Loading1:i.default,Loading2:r.default,Loading3:o.default,Loading4:s.default,Loading5:l.default}};e.default=c},"84d1":function(t,e,a){var n=a("1e40");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var i=a("b49c").default;i("ff6c9cb4",n,!0,{sourceMap:!1,shadowMode:!1})},8729:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={props:["title"],data:function(){return{wxsProps:{}}},components:{}}},8804:function(t,e,a){"use strict";var n=a("be93"),i=a.n(n);i.a},"88ff":function(t,e,a){var n=a("269a");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var i=a("b49c").default;i("093554ea",n,!0,{sourceMap:!1,shadowMode:!1})},"898b":function(t,e,a){"use strict";var n=a("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(a("3b2d")),r=n(a("17c3")),o=n(a("1a14")),s=n(a("e235")),l={},c=null;function d(){for(var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length,a=new Array(e>1?e-1:0),n=1;n<e;n++)a[n-1]=arguments[n];for(var r in a)for(var o in a[r])a[r].hasOwnProperty(o)&&(t[o]=a[r][o]&&"object"===(0,i.default)(a[r][o])?d(Array.isArray(a[r][o])?[]:{},t[o],a[r][o]):a[r][o]);return t}function h(t,e){for(var a in t)t.hasOwnProperty(a)&&null!==t[a]&&"object"===(0,i.default)(t[a])?h(t[a],e):"format"===a&&"string"===typeof t[a]&&(t["formatter"]=e[t[a]]?e[t[a]]:void 0);return t}var u={data:function(){return{rid:null}},mounted:function(){var t=this;c={top:0,left:0},setTimeout((function(){null===t.rid&&t.$ownerInstance&&t.$ownerInstance.callMethod("getRenderType")}),200)},destroyed:function(){delete o.default.option[this.rid],delete o.default.instance[this.rid],delete s.default.option[this.rid],delete s.default.instance[this.rid]},methods:{ecinit:function(t,e,a,n){var r=JSON.stringify(t.id);this.rid=r,l[r]=this.$ownerInstance||n;var o=JSON.parse(JSON.stringify(t)),c=o.type;c&&s.default.type.includes(c)?s.default.option[r]=d({},s.default[c],o):s.default.option[r]=d({},o);var h=o.chartData;if(h){s.default.option[r].xAxis&&s.default.option[r].xAxis.type&&"category"===s.default.option[r].xAxis.type&&(s.default.option[r].xAxis.data=h.categories),s.default.option[r].yAxis&&s.default.option[r].yAxis.type&&"category"===s.default.option[r].yAxis.type&&(s.default.option[r].yAxis.data=h.categories),s.default.option[r].series=[];for(var u=0;u<h.series.length;u++){s.default.option[r].seriesTemplate=s.default.option[r].seriesTemplate?s.default.option[r].seriesTemplate:{};var f=d({},s.default.option[r].seriesTemplate,h.series[u]);s.default.option[r].series.push(f)}}if("object"===(0,i.default)(window.echarts))this.newEChart();else{var p=document.createElement("script");p.src="./uni_modules/qiun-data-charts/static/app-plus/echarts.min.js",p.onload=this.newEChart,document.head.appendChild(p)}},ecresize:function(t,e,a,n){s.default.instance[this.rid]&&s.default.instance[this.rid].resize()},newEChart:function(){var t=this.rid;void 0===s.default.instance[t]?(s.default.instance[t]=echarts.init(l[t].$el.children[0]),!0===s.default.option[t].ontap&&(s.default.instance[t].on("click",(function(e){var a=JSON.parse(JSON.stringify({x:e.event.offsetX,y:e.event.offsetY}));l[t].callMethod("emitMsg",{name:"getIndex",params:{type:"getIndex",event:a,currentIndex:e.dataIndex,value:e.data,seriesName:e.seriesName,id:t}})})),s.default.instance[t].on("highlight",(function(e){l[t].callMethod("emitMsg",{name:"getHighlight",params:{type:"highlight",res:e,id:t}})}))),this.updataEChart(t,s.default.option[t])):this.updataEChart(t,s.default.option[t])},updataEChart:function(t,e){if(e=h(e,s.default.formatter),e.tooltip&&(e.tooltip.show=!!e.tooltipShow,e.tooltip.position=this.tooltipPosition(),"string"===typeof e.tooltipFormat&&s.default.formatter[e.tooltipFormat]&&(e.tooltip.formatter=e.tooltip.formatter?e.tooltip.formatter:s.default.formatter[e.tooltipFormat])),e.series)for(var a in e.series){var n=e.series[a].linearGradient;n&&(e.series[a].color=new echarts.graphic.LinearGradient(n[0],n[1],n[2],n[3],n[4]))}s.default.instance[t].setOption(e,e.notMerge),s.default.instance[t].on("finished",(function(){l[t].callMethod("emitMsg",{name:"complete",params:{type:"complete",complete:!0,id:t}}),s.default.instance[t]&&s.default.instance[t].off("finished")})),"undefined"!=typeof l[t].$el.children[0].clientWidth&&(Math.abs(l[t].$el.children[0].clientWidth-s.default.instance[t].getWidth())>3||Math.abs(l[t].$el.children[0].clientHeight-s.default.instance[t].getHeight())>3)&&this.ecresize()},tooltipPosition:function(){return function(t,e,a,n,i){var r=t[0],o=t[1],s=i.viewSize[0],l=i.viewSize[1],c=i.contentSize[0],d=i.contentSize[1],h=r+30,u=o+30;return h+c>s&&(h=r-c-30),u+d>l&&(u=o-d-30),[h,u]}},ucinit:function(t,e,a,n){var i=this;if(JSON.stringify(t)!=JSON.stringify(e)&&t.canvasId){var r=JSON.parse(JSON.stringify(t.canvasId));this.rid=r,l[r]=this.$ownerInstance||n,o.default.option[r]=JSON.parse(JSON.stringify(t)),o.default.option[r]=h(o.default.option[r],o.default.formatter);var s=document.getElementById(r);s&&s.children[0]&&(o.default.option[r].context=s.children[0].getContext("2d"),o.default.instance[r]&&o.default.option[r]&&!0===o.default.option[r].update?this.updataUChart():setTimeout((function(){o.default.option[r].context.restore(),o.default.option[r].context.save(),i.newUChart()}),100))}},newUChart:function(){var t=this.rid;o.default.instance[t]=new r.default(o.default.option[t]),o.default.instance[t].addEventListener("renderComplete",(function(){l[t].callMethod("emitMsg",{name:"complete",params:{type:"complete",complete:!0,id:t,opts:o.default.instance[t].opts}}),o.default.instance[t].delEventListener("renderComplete")})),o.default.instance[t].addEventListener("scrollLeft",(function(){l[t].callMethod("emitMsg",{name:"scrollLeft",params:{type:"scrollLeft",scrollLeft:!0,id:t,opts:o.default.instance[t].opts}})})),o.default.instance[t].addEventListener("scrollRight",(function(){l[t].callMethod("emitMsg",{name:"scrollRight",params:{type:"scrollRight",scrollRight:!0,id:t,opts:o.default.instance[t].opts}})}))},updataUChart:function(){var t=this.rid;o.default.instance[t].updateData(o.default.option[t])},tooltipDefault:function(t,e,a,n){if(e){var r=t.data;return"object"===(0,i.default)(t.data)&&(r=t.data.value),e+" "+t.name+":"+r}return t.properties&&t.properties.name?t.properties.name:t.name+":"+t.data},showTooltip:function(t,e){var a=this,n=o.default.option[e].tooltipCustom;if(n&&void 0!==n&&null!==n){var i=void 0;n.x>=0&&n.y>=0&&(i={x:n.x,y:n.y+10}),o.default.instance[e].showToolTip(t,{index:n.index,offset:i,textList:n.textList,formatter:function(t,n,i,r){return"string"===typeof o.default.option[e].tooltipFormat&&o.default.formatter[o.default.option[e].tooltipFormat]?o.default.formatter[o.default.option[e].tooltipFormat](t,n,i,r):a.tooltipDefault(t,n,i,r)}})}else o.default.instance[e].showToolTip(t,{formatter:function(t,n,i,r){return"string"===typeof o.default.option[e].tooltipFormat&&o.default.formatter[o.default.option[e].tooltipFormat]?o.default.formatter[o.default.option[e].tooltipFormat](t,n,i,r):a.tooltipDefault(t,n,i,r)}})},tap:function(t){var e=this.rid,a=o.default.option[e].ontap,n=o.default.option[e].tooltipShow,i=o.default.option[e].tapLegend;if(0!=a){var r,s,d=document.getElementById("UC"+e).getBoundingClientRect(),h={};h=t.detail.x?{x:t.detail.x-d.left,y:t.detail.y-d.top+c.top}:{x:t.clientX-d.left,y:t.clientY-d.top+c.top},t.changedTouches=[],t.changedTouches.unshift(h),r=o.default.instance[e].getCurrentDataIndex(t),s=o.default.instance[e].getLegendDataIndex(t),!0===i&&o.default.instance[e].touchLegend(t),1==n&&this.showTooltip(t,e),l[e].callMethod("emitMsg",{name:"getIndex",params:{type:"getIndex",event:h,currentIndex:r,legendIndex:s,id:e,opts:o.default.instance[e].opts}})}},touchStart:function(t){var e=this.rid,a=o.default.option[e].ontouch;0!=a&&(!0===o.default.option[e].enableScroll&&1==t.touches.length&&o.default.instance[e].scrollStart(t),l[e].callMethod("emitMsg",{name:"getTouchStart",params:{type:"touchStart",event:t.changedTouches[0],id:e,opts:o.default.instance[e].opts}}))},touchMove:function(t){var e=this.rid,a=o.default.option[e].ontouch;if(0!=a){if(!0===o.default.option[e].enableScroll&&1==t.changedTouches.length&&o.default.instance[e].scroll(t),!0===o.default.option[e].ontap&&!1===o.default.option[e].enableScroll&&!0===o.default.option[e].onmovetip){var n=document.getElementById("UC"+e).getBoundingClientRect(),i={x:t.changedTouches[0].clientX-n.left,y:t.changedTouches[0].clientY-n.top+c.top};t.changedTouches.unshift(i),!0===o.default.option[e].tooltipShow&&this.showTooltip(t,e)}!0===a&&!0===o.default.option[e].enableScroll&&!0===o.default.option[e].onzoom&&2==t.changedTouches.length&&o.default.instance[e].dobuleZoom(t),l[e].callMethod("emitMsg",{name:"getTouchMove",params:{type:"touchMove",event:t.changedTouches[0],id:e,opts:o.default.instance[e].opts}})}},touchEnd:function(t){var e=this.rid,a=o.default.option[e].ontouch;0!=a&&(!0===o.default.option[e].enableScroll&&0==t.touches.length&&o.default.instance[e].scrollEnd(t),l[e].callMethod("emitMsg",{name:"getTouchEnd",params:{type:"touchEnd",event:t.changedTouches[0],id:e,opts:o.default.instance[e].opts}}))},mouseDown:function(t){var e=this.rid,a=o.default.option[e].onmouse;if(0!=a){var n,i=document.getElementById("UC"+e).getBoundingClientRect();n={x:t.clientX-i.left,y:t.clientY-i.top+c.top},t.changedTouches=[],t.changedTouches.unshift(n),o.default.instance[e].scrollStart(t),o.default.option[e].mousedown=!0,l[e].callMethod("emitMsg",{name:"getTouchStart",params:{type:"mouseDown",event:n,id:e,opts:o.default.instance[e].opts}})}},mouseMove:function(t){var e=this.rid,a=o.default.option[e].onmouse,n=o.default.option[e].tooltipShow;if(0!=a){var i,r=document.getElementById("UC"+e).getBoundingClientRect();i={x:t.clientX-r.left,y:t.clientY-r.top+c.top},t.changedTouches=[],t.changedTouches.unshift(i),o.default.option[e].mousedown?(o.default.instance[e].scroll(t),l[e].callMethod("emitMsg",{name:"getTouchMove",params:{type:"mouseMove",event:i,id:e,opts:o.default.instance[e].opts}})):o.default.instance[e]&&1==n&&this.showTooltip(t,e)}},mouseUp:function(t){var e=this.rid,a=o.default.option[e].onmouse;if(0!=a){var n,i=document.getElementById("UC"+e).getBoundingClientRect();n={x:t.clientX-i.left,y:t.clientY-i.top+c.top},t.changedTouches=[],t.changedTouches.unshift(n),o.default.instance[e].scrollEnd(t),o.default.option[e].mousedown=!1,l[e].callMethod("emitMsg",{name:"getTouchEnd",params:{type:"mouseUp",event:n,id:e,opts:o.default.instance[e].opts}})}}}};e.default=u},"8a5a":function(t,e,a){"use strict";a.r(e);var n=a("3fb1"),i=a("e9e1");for(var r in i)["default"].indexOf(r)<0&&function(t){a.d(e,t,(function(){return i[t]}))}(r);a("f1e8");var o=a("828b"),s=Object(o["a"])(i["default"],n["b"],n["c"],!1,null,"6e5d9c90",null,!1,n["a"],void 0);e["default"]=s.exports},"8ab6":function(t,e,a){"use strict";a.d(e,"b",(function(){return i})),a.d(e,"c",(function(){return r})),a.d(e,"a",(function(){return n}));var n={qiunLoading:a("5f21").default,qiunError:a("9eba").default},i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("uni-view",{staticClass:t._$g(0,"sc"),attrs:{id:t._$g(0,"a-id"),_i:0}},[t._$g(1,"i")?a("uni-view",{attrs:{_i:1}},[a("qiun-loading",{attrs:{_i:2}})],1):t._e(),t._$g(3,"i")?a("uni-view",{attrs:{_i:3},on:{click:function(e){return t.$handleViewEvent(e)}}},[a("qiun-error",{attrs:{_i:4}})],1):t._e(),t._$g(5,"i")?[a("uni-view",{directives:[{name:"show",rawName:"v-show",value:t._$g(6,"v-show"),expression:"_$g(6,'v-show')"}],wxsProps:{"change:resize":"echartsResize","change:prop":"echartsOpts"},staticStyle:{width:"100%",height:"100%"},style:t._$g(6,"s"),attrs:{"data-directory":t._$g(6,"a-data-directory"),id:t._$g(6,"a-id"),prop:t._$gc(6,"change:echartsOpts"),"change:prop":t.rdcharts.ecinit,resize:t._$gc(6,"change:echartsResize"),"change:resize":t.rdcharts.ecresize,_i:6}})]:[a("uni-view",{wxsProps:{"change:prop":"uchartsOpts"},attrs:{id:t._$g(8,"a-id"),prop:t._$gc(8,"change:uchartsOpts"),"change:prop":t.rdcharts.ucinit,_i:8},on:{mousemove:function(e){e=t.$handleWxsEvent(e),t.rdcharts.mouseMove(e,t.$getComponentDescriptor())},mousedown:function(e){e=t.$handleWxsEvent(e),t.rdcharts.mouseDown(e,t.$getComponentDescriptor())},mouseup:function(e){e=t.$handleWxsEvent(e),t.rdcharts.mouseUp(e,t.$getComponentDescriptor())},touchstart:function(e){e=t.$handleWxsEvent(e),t.rdcharts.touchStart(e,t.$getComponentDescriptor())},touchmove:function(e){e=t.$handleWxsEvent(e),t.rdcharts.touchMove(e,t.$getComponentDescriptor())},touchend:function(e){e=t.$handleWxsEvent(e),t.rdcharts.touchEnd(e,t.$getComponentDescriptor())},click:function(e){e=t.$handleWxsEvent(e),t.rdcharts.tap(e,t.$getComponentDescriptor())}}},[a("v-uni-canvas",{directives:[{name:"show",rawName:"v-show",value:t._$g(9,"v-show"),expression:"_$g(9,'v-show')"}],style:t._$g(9,"s"),attrs:{id:t._$g(9,"a-id"),canvasId:t._$g(9,"a-canvasId"),"disable-scroll":t._$g(9,"a-disable-scroll"),_i:9},on:{error:function(e){return t.$handleViewEvent(e)}}})],1)]],2)},r=[]},"8b6b":function(t,e,a){"use strict";a.r(e);var n=a("d9bb"),i=a.n(n);for(var r in n)["default"].indexOf(r)<0&&function(t){a.d(e,t,(function(){return n[t]}))}(r);e["default"]=i.a},"925e":function(t,e,a){"use strict";a.d(e,"b",(function(){return i})),a.d(e,"c",(function(){return r})),a.d(e,"a",(function(){return n}));var n={qiunDataCharts:a("8325").default,uniPopup:a("a640").default,uniPopupDialog:a("ed43").default},i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("uni-view",{staticClass:t._$g(0,"sc"),attrs:{_i:0}},[a("uni-view",{staticClass:t._$g(1,"sc"),class:t._$g(1,"c"),attrs:{_i:1}},[a("uni-view",{staticClass:t._$g(2,"sc"),attrs:{_i:2}},[a("v-uni-text",{attrs:{_i:3},on:{click:function(e){return t.$handleViewEvent(e)}}},[t._v("\u81ea\u52a8\u4ed3\u5e93WCS\u76d1\u63a7\u5e73\u53f0")]),a("uni-view",{staticClass:t._$g(4,"sc"),attrs:{_i:4}},[t._v(t._$g(4,"t0-0")+"-"+t._$g(4,"t0-1")+"-"+t._$g(4,"t0-2")+"\xa0"+t._$g(4,"t0-3")+":"+t._$g(4,"t0-4")+":"+t._$g(4,"t0-5")+"\xa0"+t._$g(4,"t0-6"))]),a("uni-view",{staticClass:t._$g(5,"sc"),attrs:{_i:5},on:{click:function(e){return t.$handleViewEvent(e)}}}),a("uni-view",{staticClass:t._$g(6,"sc"),attrs:{_i:6},on:{click:function(e){return t.$handleViewEvent(e)}}})],1),a("uni-view",{staticClass:t._$g(7,"sc"),attrs:{_i:7}},[a("uni-view",{staticClass:t._$g(8,"sc"),staticStyle:{width:"100%"},attrs:{_i:8}},[a("uni-view",{staticClass:t._$g(9,"sc"),staticStyle:{height:"90%"},attrs:{_i:9}},[a("uni-view",{staticClass:t._$g(10,"sc"),attrs:{_i:10}}),a("uni-view",{staticClass:t._$g(11,"sc"),attrs:{_i:11}}),a("uni-view",{staticClass:t._$g(12,"sc"),attrs:{_i:12}}),a("uni-view",{staticClass:t._$g(13,"sc"),attrs:{_i:13}}),a("uni-view",{directives:[{name:"show",rawName:"v-show",value:t._$g(14,"v-show"),expression:"_$g(14,'v-show')"}],staticStyle:{width:"100%",height:"100%"},attrs:{_i:14}},[a("uni-view",{class:t._$g(15,"c"),attrs:{_i:15}},[a("uni-view",{staticClass:t._$g(16,"sc"),attrs:{_i:16}},[t._v(t._$g(16,"t0-0"))]),a("uni-view",{staticClass:t._$g(17,"sc"),attrs:{_i:17}},[t._v(t._$g(17,"t0-0"))]),a("uni-view",{staticClass:t._$g(18,"sc"),attrs:{_i:18}},[t._v(t._$g(18,"t0-0"))]),a("uni-view",{staticClass:t._$g(19,"sc"),attrs:{_i:19}},[t._v(t._$g(19,"t0-0"))]),a("uni-view",{staticClass:t._$g(20,"sc"),attrs:{_i:20}},[t._v(t._$g(20,"t0-0"))])],1),a("uni-view",{directives:[{name:"show",rawName:"v-show",value:t._$g(21,"v-show"),expression:"_$g(21,'v-show')"}],staticStyle:{width:"50%",height:"100%",display:"inline-block",float:"left"},attrs:{_i:21}},[a("uni-view",{staticClass:t._$g(22,"sc"),attrs:{_i:22}},[t._v(t._$g(22,"t0-0"))]),a("uni-view",{staticClass:t._$g(23,"sc"),attrs:{_i:23}},[t._v(t._$g(23,"t0-0"))]),a("uni-view",{staticClass:t._$g(24,"sc"),attrs:{_i:24}},[t._v(t._$g(24,"t0-0"))]),a("uni-view",{staticClass:t._$g(25,"sc"),attrs:{_i:25}},[t._v(t._$g(25,"t0-0"))]),a("uni-view",{staticClass:t._$g(26,"sc"),attrs:{_i:26}},[t._v(t._$g(26,"t0-0"))])],1)],1),a("uni-view",{directives:[{name:"show",rawName:"v-show",value:t._$g(27,"v-show"),expression:"_$g(27,'v-show')"}],staticStyle:{width:"100%",height:"100%"},attrs:{_i:27}},[a("uni-view",{staticStyle:{"line-height":"700px","font-size":"175rpx"},attrs:{_i:28}},[t._v(t._$g(28,"t0-0"))])],1)],1)],1)],1)],1),a("uni-view",{staticClass:t._$g(29,"sc"),class:t._$g(29,"c"),attrs:{_i:29}},[a("uni-view",{staticClass:t._$g(30,"sc"),attrs:{_i:30}},[a("v-uni-text",{attrs:{_i:31},on:{click:function(e){return t.$handleViewEvent(e)}}},[t._v("\u81ea\u52a8\u4ed3\u5e93WCS\u76d1\u63a7\u5e73\u53f0")]),a("uni-view",{staticClass:t._$g(32,"sc"),attrs:{_i:32}},[t._v(t._$g(32,"t0-0")+"-"+t._$g(32,"t0-1")+"-"+t._$g(32,"t0-2")+"\xa0"+t._$g(32,"t0-3")+":"+t._$g(32,"t0-4")+":"+t._$g(32,"t0-5")+"\xa0"+t._$g(32,"t0-6"))]),a("uni-view",{staticClass:t._$g(33,"sc"),attrs:{_i:33},on:{click:function(e){return t.$handleViewEvent(e)}}}),a("uni-view",{staticClass:t._$g(34,"sc"),attrs:{_i:34},on:{click:function(e){return t.$handleViewEvent(e)}}})],1),a("uni-view",{staticClass:t._$g(35,"sc"),attrs:{_i:35}},[a("uni-view",{staticClass:t._$g(36,"sc"),attrs:{_i:36}},[a("uni-view",{staticClass:t._$g(37,"sc"),attrs:{_i:37}},[a("uni-view",{staticClass:t._$g(38,"sc"),attrs:{_i:38}}),a("uni-view",{staticClass:t._$g(39,"sc"),attrs:{_i:39}}),a("uni-view",{staticClass:t._$g(40,"sc"),attrs:{_i:40}}),a("uni-view",{staticClass:t._$g(41,"sc"),attrs:{_i:41}}),a("uni-view",{staticClass:t._$g(42,"sc"),attrs:{_i:42}},[a("h3",{attrs:{_i:43}},[t._v("\u81ea\u52a8\u5316\u7acb\u4f53\u4ed3\u5e93")]),a("p",{staticClass:t._$g(44,"sc"),attrs:{_i:44}},[t._v("Automatic Storageand Retrieval System")]),a("p",{staticClass:t._$g(45,"sc"),attrs:{_i:45}},[t._v("\u5229\u7528\u7acb\u4f53\u4ed3\u5e93\u8bbe\u5907\u53ef\u5b9e\u73b0\u4ed3\u5e93\u9ad8\u5c42\u5408\u7406\u5316\u3001\u5b58\u53d6\u81ea\u52a8\u5316\u3001\u64cd\u4f5c\u7b80\u4fbf\u5316\uff1b\u81ea\u52a8\u5316\u7acb\u4f53\u4ed3\u5e93\u662f\u5f53\u524d\u6280\u672f\u6c34\u5e73\u8f83\u9ad8\u7684\u5f62\u5f0f\u3002\n\t\t\t\t\t\t\u81ea\u52a8\u5316\u7acb\u4f53\u4ed3\u5e93\u7684\u4e3b\u4f53\u7531\u8d27\u67b6\u3001\u5df7\u9053\u5f0f\u5806\u579b\u8d77\u91cd\u673a\u3001\u5165\uff08\u51fa\uff09\u5e93\u5de5\u4f5c\u53f0\u548c\u81ea\u52a8\u8fd0\u8fdb\uff08\u51fa\uff09\u53ca\u64cd\u4f5c\u63a7\u5236\u7cfb\u7edf\u7ec4\u6210\u3002\n\t\t\t\t\t\t\u8d27\u67b6\u662f\u94a2\u7ed3\u6784\u6216\u94a2\u7b4b\u6df7\u51dd\u571f\u7ed3\u6784\u7684\u5efa\u7b51\u7269\u6216\u7ed3\u6784\u4f53\uff0c\u8d27\u67b6\u5185\u662f\u6807\u51c6\u5c3a\u5bf8\u7684\u8d27\u4f4d\u7a7a\u95f4\uff0c\u5df7\u9053\u5806\u579b\u8d77\u91cd\u673a\u7a7f\u884c\u4e8e\u8d27\u67b6\u4e4b\u95f4\u7684\u5df7\u9053\u4e2d\uff0c\u5b8c\u6210\u5b58\u3001\u53d6\u8d27\u7684\u5de5\u4f5c\u3002\u7ba1\u7406\u4e0a\u91c7\u7528\u8ba1\u7b97\u673a\u53ca\u6761\u5f62\u7801\u6280\u672f\u3002")])],1),a("uni-view",{staticClass:t._$g(46,"sc"),attrs:{_i:46}},[a("h3",{attrs:{_i:47}},[t._v("\u4ed3\u5e93\u6570\u636e")]),a("p",{staticClass:t._$g(48,"sc"),attrs:{_i:48}},[t._v("warehouse data")]),a("uni-view",{staticClass:t._$g(49,"sc"),attrs:{_i:49}},[a("v-uni-image",{attrs:{src:t._$g(50,"a-src"),mode:"aspectFit",_i:50}}),a("uni-view",{attrs:{_i:51}},[a("v-uni-text",{staticClass:t._$g(52,"sc"),attrs:{_i:52}},[t._v(t._$g(52,"t0-0"))]),a("v-uni-text",{staticClass:t._$g(53,"sc"),attrs:{_i:53}},[t._v("m")])],1),a("uni-view",{attrs:{_i:54}},[t._v("\u7d2f\u8ba1\u8d70\u884c\u8ddd\u79bb(\u7c73)")])],1),a("uni-view",{staticClass:t._$g(55,"sc"),attrs:{_i:55}},[a("v-uni-image",{attrs:{src:t._$g(56,"a-src"),mode:"aspectFit",_i:56}}),a("uni-view",{attrs:{_i:57}},[a("v-uni-text",{staticClass:t._$g(58,"sc"),attrs:{_i:58}},[t._v(t._$g(58,"t0-0"))]),a("v-uni-text",{staticClass:t._$g(59,"sc"),attrs:{_i:59}},[t._v("m")])],1),a("uni-view",{attrs:{_i:60}},[t._v("\u7d2f\u8ba1\u5347\u964d\u8ddd\u79bb(\u7c73)")])],1),a("uni-view",{staticClass:t._$g(61,"sc"),attrs:{_i:61}},[a("v-uni-image",{attrs:{src:t._$g(62,"a-src"),mode:"aspectFit",_i:62}}),a("uni-view",{attrs:{_i:63}},[a("v-uni-text",{staticClass:t._$g(64,"sc"),attrs:{_i:64}},[t._v(t._$g(64,"t0-0"))]),a("v-uni-text",{staticClass:t._$g(65,"sc"),attrs:{_i:65}},[t._v("m")])],1),a("uni-view",{attrs:{_i:66}},[t._v("\u7d2f\u8ba1\u8d70\u884c\u65f6\u957f(\u79d2)")])],1),a("uni-view",{staticClass:t._$g(67,"sc"),attrs:{_i:67}},[a("v-uni-image",{attrs:{src:t._$g(68,"a-src"),mode:"aspectFit",_i:68}}),a("uni-view",{attrs:{_i:69}},[a("v-uni-text",{staticClass:t._$g(70,"sc"),attrs:{_i:70}},[t._v(t._$g(70,"t0-0"))]),a("v-uni-text",{staticClass:t._$g(71,"sc"),attrs:{_i:71}},[t._v("m")])],1),a("uni-view",{attrs:{_i:72}},[t._v("\u7d2f\u8ba1\u5347\u964d\u65f6\u957f(\u79d2)")])],1)],1),a("uni-view",{staticClass:t._$g(73,"sc"),attrs:{_i:73}},[a("uni-view",{staticClass:t._$g(74,"sc"),attrs:{_i:74}},[a("h3",{attrs:{_i:75}},[t._v("\u5e93\u4f4d\u4f7f\u7528\u7387")]),a("p",{staticClass:t._$g(76,"sc"),attrs:{_i:76}},[t._v("EQUIPMENT USAGE THIS MONTH")])],1),a("uni-view",{staticClass:t._$g(77,"sc"),attrs:{_i:77}},[a("h3",{attrs:{_i:78}},[t._v(t._$g(78,"t0-0")+"%")]),a("p",{staticClass:t._$g(79,"sc"),attrs:{_i:79}},[t._v("\u540c\u6bd4\u4e0a\u6708 + 5%")])],1),a("uni-view",{staticClass:t._$g(80,"sc"),attrs:{_i:80}},[a("uni-view",{staticClass:t._$g(81,"sc"),attrs:{_i:81}},[a("uni-view",{staticClass:t._$g(82,"sc"),attrs:{_i:82}},[a("uni-view",{staticClass:t._$g(83,"sc"),style:t._$g(83,"s"),attrs:{_i:83}})],1)],1),a("uni-view",{staticClass:t._$g(84,"sc"),attrs:{_i:84}},[t._v(t._$g(84,"t0-0"))])],1)],1)],1)],1),a("uni-view",{staticClass:t._$g(85,"sc"),attrs:{_i:85}},[a("uni-view",{staticClass:t._$g(86,"sc"),attrs:{_i:86}},[a("uni-view",{staticClass:t._$g(87,"sc"),attrs:{_i:87}}),a("uni-view",{staticClass:t._$g(88,"sc"),attrs:{_i:88}}),a("uni-view",{staticClass:t._$g(89,"sc"),attrs:{_i:89}}),a("uni-view",{staticClass:t._$g(90,"sc"),attrs:{_i:90}}),a("uni-view",{staticClass:t._$g(91,"sc"),attrs:{_i:91}},[a("uni-view",{staticClass:t._$g(92,"sc"),attrs:{_i:92}},[a("h3",{attrs:{_i:93}},[t._v("\u5165\u51fa\u5e93\u7edf\u8ba1")]),a("p",{staticClass:t._$g(94,"sc"),attrs:{_i:94}},[t._v("ORDER STATISTICS")])],1),a("uni-view",{staticClass:t._$g(95,"sc"),attrs:{_i:95}},[a("h3",{attrs:{_i:96}},[t._v("31")]),a("p",{staticClass:t._$g(97,"sc"),attrs:{_i:97}},[t._v("\u4eca\u65e5\u8ba2\u5355\u6570")])],1),a("uni-view",{staticClass:t._$g(98,"sc"),attrs:{_i:98}},[a("uni-view",{staticClass:t._$g(99,"sc"),attrs:{_i:99}},[a("qiun-data-charts",{attrs:{_i:100}})],1)],1)],1)],1),a("uni-view",{staticClass:t._$g(101,"sc"),attrs:{_i:101}},[a("uni-view",{staticClass:t._$g(102,"sc"),attrs:{_i:102}}),a("uni-view",{staticClass:t._$g(103,"sc"),attrs:{_i:103}}),a("uni-view",{staticClass:t._$g(104,"sc"),attrs:{_i:104}}),a("uni-view",{staticClass:t._$g(105,"sc"),attrs:{_i:105}}),a("uni-view",{staticClass:t._$g(106,"sc"),attrs:{_i:106}},[a("uni-view",{staticClass:t._$g(107,"sc"),attrs:{_i:107}},[a("h3",{attrs:{_i:108}},[t._v("\u5e93\u5b58\u7c7b\u578b")]),a("p",{staticClass:t._$g(109,"sc"),attrs:{_i:109}},[t._v("INCOME DATE")])],1),a("uni-view",{staticClass:t._$g(110,"sc"),attrs:{_i:110}},[a("h3",{attrs:{_i:111}},[t._v("\u4eca\u5929")]),a("p",{staticClass:t._$g(112,"sc"),attrs:{_i:112}},[t._v("Today")])],1),a("uni-view",{staticClass:t._$g(113,"sc"),attrs:{_i:113}},[a("uni-view",{staticClass:t._$g(114,"sc"),attrs:{_i:114}},[a("qiun-data-charts",{attrs:{_i:115}})],1),a("uni-view",{staticClass:t._$g(116,"sc"),attrs:{_i:116}},[a("uni-view",{staticClass:t._$g(117,"sc"),attrs:{_i:117}},[a("v-uni-image",{attrs:{src:t._$g(118,"a-src"),mode:"aspectFit",_i:118}}),a("v-uni-text",{attrs:{_i:119}},[t._v("\u5728\u5e93")]),a("v-uni-text",{attrs:{_i:120}},[t._v(t._$g(120,"t0-0"))])],1),a("uni-view",{staticClass:t._$g(121,"sc"),attrs:{_i:121}},[a("v-uni-image",{attrs:{src:t._$g(122,"a-src"),mode:"aspectFit",_i:122}}),a("v-uni-text",{attrs:{_i:123}},[t._v("\u7a7a\u5e93")]),a("v-uni-text",{attrs:{_i:124}},[t._v(t._$g(124,"t0-0"))])],1),a("uni-view",{staticClass:t._$g(125,"sc"),attrs:{_i:125}},[a("v-uni-image",{attrs:{src:t._$g(126,"a-src"),mode:"aspectFit",_i:126}}),a("v-uni-text",{attrs:{_i:127}},[t._v("\u7981\u7528")]),a("v-uni-text",{attrs:{_i:128}},[t._v(t._$g(128,"t0-0"))])],1)],1)],1)],1)],1),a("uni-view",{staticClass:t._$g(129,"sc"),attrs:{_i:129}},[a("uni-view",{staticClass:t._$g(130,"sc"),attrs:{_i:130}}),a("uni-view",{staticClass:t._$g(131,"sc"),attrs:{_i:131}}),a("uni-view",{staticClass:t._$g(132,"sc"),attrs:{_i:132}}),a("uni-view",{staticClass:t._$g(133,"sc"),attrs:{_i:133}}),a("uni-view",{attrs:{_i:134},on:{click:function(e){return t.$handleViewEvent(e)}}},[t._v("\u5609\u5584\u8fb9\u950b\u673a\u68b0\u80a1\u4efd\u6709\u9650\u516c\u53f8")])],1)],1)],1)],1),a("uni-view",{attrs:{_i:135}},[a("uni-popup",{ref:"url",attrs:{_i:136}},[a("uni-popup-dialog",{ref:"inputClose",attrs:{_i:137},on:{confirm:function(e){return t.$handleViewEvent(e)}}})],1)],1),a("uni-view",{attrs:{_i:138}},[a("uni-popup",{ref:"ledId",attrs:{_i:139}},[a("uni-popup-dialog",{ref:"inputClose",attrs:{_i:140},on:{confirm:function(e){return t.$handleViewEvent(e)}}})],1)],1),a("uni-view",{attrs:{_i:141}},[a("uni-popup",{ref:"port",attrs:{_i:142}},[a("uni-popup-dialog",{ref:"inputClose",attrs:{_i:143},on:{confirm:function(e){return t.$handleViewEvent(e)}}})],1)],1),a("uni-view",{attrs:{_i:144}},[a("uni-popup",{ref:"crnId",attrs:{_i:145}},[a("uni-popup-dialog",{ref:"inputClose",attrs:{_i:146},on:{confirm:function(e){return t.$handleViewEvent(e)}}})],1)],1),a("uni-view",{directives:[{name:"show",rawName:"v-show",value:t._$g(147,"v-show"),expression:"_$g(147,'v-show')"}],staticClass:t._$g(147,"sc"),attrs:{_i:147}},[a("uni-view",{staticClass:t._$g(148,"sc"),attrs:{_i:148}},[a("uni-view",{staticClass:t._$g(149,"sc"),attrs:{_i:149}},[t._v("\u4fee\u6539 / \u914d\u7f6e")]),a("uni-view",{staticClass:t._$g(150,"sc"),attrs:{_i:150}},[a("uni-view",{staticClass:t._$g(151,"sc"),attrs:{_i:151}},[a("uni-view",{staticClass:t._$g(152,"sc"),attrs:{_i:152}},[t._v("ip\uff1a")]),a("uni-view",{staticClass:t._$g(153,"sc"),attrs:{_i:153}},[a("v-uni-input",{attrs:{type:"text",_i:154},model:{value:t._$g(154,"v-model"),callback:function(e){t.$handleVModelEvent(154,e)},expression:"baseIP"}})],1)],1),a("uni-view",{staticClass:t._$g(155,"sc"),attrs:{_i:155}},[a("uni-view",{staticClass:t._$g(156,"sc"),attrs:{_i:156}},[t._v("port\uff1a")]),a("uni-view",{staticClass:t._$g(157,"sc"),attrs:{_i:157}},[a("v-uni-input",{attrs:{type:"text",_i:158},model:{value:t._$g(158,"v-model"),callback:function(e){t.$handleVModelEvent(158,e)},expression:"basePort"}})],1)],1),a("uni-view",{staticClass:t._$g(159,"sc"),attrs:{_i:159}},[a("uni-view",{staticClass:t._$g(160,"sc"),attrs:{_i:160}},[t._v("ledId\uff1a")]),a("uni-view",{staticClass:t._$g(161,"sc"),attrs:{_i:161}},[a("v-uni-input",{attrs:{type:"text",_i:162},model:{value:t._$g(162,"v-model"),callback:function(e){t.$handleVModelEvent(162,e)},expression:"baseLedId"}})],1)],1),a("uni-view",{staticClass:t._$g(163,"sc"),attrs:{_i:163}},[a("uni-view",{staticClass:t._$g(164,"sc"),attrs:{_i:164}},[t._v("CrnId\uff1a")]),a("uni-view",{staticClass:t._$g(165,"sc"),attrs:{_i:165}},[a("v-uni-input",{attrs:{type:"text",_i:166},model:{value:t._$g(166,"v-model"),callback:function(e){t.$handleVModelEvent(166,e)},expression:"baseCrnId"}})],1)],1)],1),a("uni-view",{staticClass:t._$g(167,"sc"),attrs:{_i:167}},[a("uni-view",{staticClass:t._$g(168,"sc"),attrs:{_i:168},on:{click:function(e){return t.$handleViewEvent(e)}}},[t._v("\u53d6 \u6d88")]),a("uni-view",{staticClass:t._$g(169,"sc"),attrs:{_i:169},on:{click:function(e){return t.$handleViewEvent(e)}}},[t._v("\u786e \u8ba4")])],1)],1)],1)],1)},r=[]},9399:function(t,e,a){"use strict";a.r(e);var n=a("21c9"),i=a.n(n);for(var r in n)["default"].indexOf(r)<0&&function(t){a.d(e,t,(function(){return n[t]}))}(r);e["default"]=i.a},"93d8":function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={data:function(){return{wxsProps:{}}},components:{}}},"997e":function(t,e,a){"use strict";a.r(e);var n=a("3d8c"),i=a("8b6b");for(var r in i)["default"].indexOf(r)<0&&function(t){a.d(e,t,(function(){return i[t]}))}(r);var o=a("828b"),s=Object(o["a"])(i["default"],n["b"],n["c"],!1,null,"acf5fb64",null,!1,n["a"],void 0);e["default"]=s.exports},"9b65":function(t,e,a){"use strict";a.d(e,"b",(function(){return n})),a.d(e,"c",(function(){return i})),a.d(e,"a",(function(){}));var n=function(){var t=this.$createElement,e=this._self._c||t;return e("uni-view",{staticClass:this._$g(0,"sc"),attrs:{_i:0}},[e("uni-view",{staticClass:this._$g(1,"sc"),attrs:{_i:1}}),e("uni-view",{staticClass:this._$g(2,"sc"),attrs:{_i:2}}),e("uni-view",{staticClass:this._$g(3,"sc"),attrs:{_i:3}}),e("uni-view",{staticClass:this._$g(4,"sc"),attrs:{_i:4}}),e("uni-view",{staticClass:this._$g(5,"sc"),attrs:{_i:5}},[this._t("default",null,{_i:6})],2)],1)},i=[]},"9b97":function(t,e,a){var n=a("2527");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var i=a("b49c").default;i("deea66f0",n,!0,{sourceMap:!1,shadowMode:!1})},"9eba":function(t,e,a){"use strict";a.r(e);var n=a("59cf"),i=a("b854");for(var r in i)["default"].indexOf(r)<0&&function(t){a.d(e,t,(function(){return i[t]}))}(r);a("e7b7");var o=a("828b"),s=Object(o["a"])(i["default"],n["b"],n["c"],!1,null,"06f9c5d4",null,!1,n["a"],void 0);e["default"]=s.exports},"9fee":function(t,e,a){"use strict";var n=a("b90f"),i=a.n(n);i.a},"9ffd":function(t,e,a){t.exports=a.p+"static/right.png"},a640:function(t,e,a){"use strict";a.r(e);var n=a("8042"),i=a("7c9c");for(var r in i)["default"].indexOf(r)<0&&function(t){a.d(e,t,(function(){return i[t]}))}(r);a("3bcd");var o=a("828b"),s=Object(o["a"])(i["default"],n["b"],n["c"],!1,null,"58e7869c",null,!1,n["a"],void 0);e["default"]=s.exports},a7ad:function(t,e,a){var n=a("c86c"),i=a("ac93"),r=a("2021");e=n(!1);var o=i(r);e.push([t.i,"body[data-v-cc06004c]{width:100%;height:100%}.container[data-v-cc06004c]{height:100%;width:100%;background-image:url("+o+");background-size:100% 100%}",""]),t.exports=e},a818:function(t,e,a){"use strict";a.d(e,"b",(function(){return n})),a.d(e,"c",(function(){return i})),a.d(e,"a",(function(){}));var n=function(){var t=this.$createElement,e=this._self._c||t;return e("uni-view",{staticClass:this._$g(0,"sc"),attrs:{_i:0}},[e("uni-view",{staticClass:this._$g(1,"sc"),attrs:{_i:1}}),e("uni-view",{staticClass:this._$g(2,"sc"),attrs:{_i:2}}),e("uni-view",{staticClass:this._$g(3,"sc"),attrs:{_i:3}}),e("uni-view",{staticClass:this._$g(4,"sc"),attrs:{_i:4}})],1)},i=[]},a9ce:function(t,e,a){"use strict";a.r(e);var n=a("2e13"),i=a.n(n);for(var r in n)["default"].indexOf(r)<0&&function(t){a.d(e,t,(function(){return n[t]}))}(r);e["default"]=i.a},aad1:function(t,e,a){var n=a("c86c");e=n(!1),e.push([t.i,".container[data-v-2ef93b2c]{width:30px;height:30px;position:relative}.container.loading2[data-v-2ef93b2c]{-webkit-transform:rotate(10deg);transform:rotate(10deg)}.container.loading2 .shape[data-v-2ef93b2c]{border-radius:5px}.container.loading2[data-v-2ef93b2c]{-webkit-animation:rotation 1s infinite;animation:rotation 1s infinite}.container .shape[data-v-2ef93b2c]{position:absolute;width:10px;height:10px;border-radius:1px}.container .shape.shape1[data-v-2ef93b2c]{left:0;background-color:#1890ff}.container .shape.shape2[data-v-2ef93b2c]{right:0;background-color:#91cb74}.container .shape.shape3[data-v-2ef93b2c]{bottom:0;background-color:#fac858}.container .shape.shape4[data-v-2ef93b2c]{bottom:0;right:0;background-color:#e66}.loading2 .shape1[data-v-2ef93b2c]{-webkit-animation:animation2shape1-data-v-2ef93b2c .5s ease 0s infinite alternate;animation:animation2shape1-data-v-2ef93b2c .5s ease 0s infinite alternate}@-webkit-keyframes animation2shape1-data-v-2ef93b2c{from{-webkit-transform:translate(0);transform:translate(0)}to{-webkit-transform:translate(20px,20px);transform:translate(20px,20px)}}@keyframes animation2shape1-data-v-2ef93b2c{from{-webkit-transform:translate(0);transform:translate(0)}to{-webkit-transform:translate(20px,20px);transform:translate(20px,20px)}}.loading2 .shape2[data-v-2ef93b2c]{-webkit-animation:animation2shape2-data-v-2ef93b2c .5s ease 0s infinite alternate;animation:animation2shape2-data-v-2ef93b2c .5s ease 0s infinite alternate}@-webkit-keyframes animation2shape2-data-v-2ef93b2c{from{-webkit-transform:translate(0);transform:translate(0)}to{-webkit-transform:translate(-20px,20px);transform:translate(-20px,20px)}}@keyframes animation2shape2-data-v-2ef93b2c{from{-webkit-transform:translate(0);transform:translate(0)}to{-webkit-transform:translate(-20px,20px);transform:translate(-20px,20px)}}.loading2 .shape3[data-v-2ef93b2c]{-webkit-animation:animation2shape3-data-v-2ef93b2c .5s ease 0s infinite alternate;animation:animation2shape3-data-v-2ef93b2c .5s ease 0s infinite alternate}@-webkit-keyframes animation2shape3-data-v-2ef93b2c{from{-webkit-transform:translate(0);transform:translate(0)}to{-webkit-transform:translate(20px,-20px);transform:translate(20px,-20px)}}@keyframes animation2shape3-data-v-2ef93b2c{from{-webkit-transform:translate(0);transform:translate(0)}to{-webkit-transform:translate(20px,-20px);transform:translate(20px,-20px)}}.loading2 .shape4[data-v-2ef93b2c]{-webkit-animation:animation2shape4-data-v-2ef93b2c .5s ease 0s infinite alternate;animation:animation2shape4-data-v-2ef93b2c .5s ease 0s infinite alternate}@-webkit-keyframes animation2shape4-data-v-2ef93b2c{from{-webkit-transform:translate(0);transform:translate(0)}to{-webkit-transform:translate(-20px,-20px);transform:translate(-20px,-20px)}}@keyframes animation2shape4-data-v-2ef93b2c{from{-webkit-transform:translate(0);transform:translate(0)}to{-webkit-transform:translate(-20px,-20px);transform:translate(-20px,-20px)}}",""]),t.exports=e},ac5c:function(t,e,a){"use strict";a.d(e,"b",(function(){return i})),a.d(e,"c",(function(){return r})),a.d(e,"a",(function(){return n}));var n={uniTransition:a("997e").default,yBox:a("357c").default,qiunDataCharts:a("8325").default,uniPopup:a("a640").default,uniPopupDialog:a("ed43").default},i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("uni-view",{staticClass:t._$g(0,"sc"),attrs:{_i:0}},[a("uni-transition",{attrs:{_i:1}},[a("uni-view",{staticClass:t._$g(2,"sc"),attrs:{_i:2}},[a("uni-view",{staticClass:t._$g(3,"sc"),attrs:{_i:3}},[a("v-uni-text",{attrs:{_i:4}},[t._v("\u667a\u80fd\u5927\u5c4f\u663e\u793a\u7cfb\u7edf")])],1),a("uni-view",{staticClass:t._$g(5,"sc"),attrs:{_i:5}},[t._v(t._$g(5,"t0-0"))]),a("uni-view",{staticClass:t._$g(6,"sc"),attrs:{_i:6}},[t._v("V:"+t._$g(6,"t0-0"))]),a("uni-view",{staticClass:t._$g(7,"sc"),attrs:{_i:7},on:{click:function(e){return t.$handleViewEvent(e)}}}),a("uni-view",{staticClass:t._$g(8,"sc"),attrs:{_i:8},on:{click:function(e){return t.$handleViewEvent(e)}}}),a("uni-view",{staticClass:t._$g(9,"sc"),attrs:{_i:9}},[a("uni-view",{staticClass:t._$g(10,"sc"),attrs:{_i:10}},[a("uni-view",{staticClass:t._$g(11,"sc"),attrs:{_i:11}},[a("y-box",{attrs:{_i:12}},[a("uni-view",{staticClass:t._$g(13,"sc"),attrs:{_i:13}},[a("v-uni-text",{staticClass:t._$g(14,"sc"),attrs:{_i:14}},[t._v("\u667a\u80fd\u5927\u5c4f\u663e\u793a\u7cfb\u7edf")]),a("v-uni-text",{staticClass:t._$g(15,"sc"),attrs:{_i:15}},[t._v("Intelligent LargeScreen Display System")])],1),a("uni-view",{staticClass:t._$g(16,"sc"),attrs:{_i:16}},[a("v-uni-text",{staticClass:t._$g(17,"sc"),attrs:{_i:17}},[t._v("\u4ed3\u5e93\u6570\u636e")]),a("v-uni-text",{staticClass:t._$g(18,"sc"),attrs:{_i:18}},[t._v("warehouse data")]),a("uni-view",{staticClass:t._$g(19,"sc"),attrs:{_i:19}},[a("v-uni-swiper",{staticClass:t._$g(20,"sc"),attrs:{vertical:"true","display-multiple-items":"5",circular:"true",autoplay:!0,interval:3e3,duration:2e3,_i:20}},t._l(t._$g(21,"f"),(function(e,n,i,r){return a("v-uni-swiper-item",{key:e,staticClass:t._$g("21-"+r,"sc"),attrs:{_i:"21-"+r}},[a("uni-view",{staticStyle:{width:"50%","font-size":"1vw"},attrs:{_i:"22-"+r}},[t._v("\u7269\u6599\u7801: "+t._$g("22-"+r,"t0-0"))]),a("uni-view",{staticStyle:{width:"50%","font-size":"1vw"},attrs:{_i:"23-"+r}},[t._v("\u6570\u91cf: "+t._$g("23-"+r,"t0-0"))])],1)})),1)],1)],1),a("uni-view",{staticClass:t._$g(24,"sc"),attrs:{_i:24}},[a("uni-view",{staticClass:t._$g(25,"sc"),staticStyle:{width:"100%"},attrs:{_i:25}},[a("uni-view",{staticClass:t._$g(26,"sc"),staticStyle:{"align-items":"flex-start","justify-content":"flex-start"},attrs:{_i:26}},[a("v-uni-text",{staticClass:t._$g(27,"sc"),attrs:{_i:27}},[t._v("\u5e93\u4f4d\u4f7f\u7528\u7387")]),a("v-uni-text",{staticClass:t._$g(28,"sc"),attrs:{_i:28}},[t._v("EQUIPMENT USAGE THIS MONTH")])],1),a("uni-view",{staticStyle:{"margin-left":"auto"},attrs:{_i:29}},[a("uni-view",{staticClass:t._$g(30,"sc"),staticStyle:{"align-items":"flex-end","justify-content":"flex-end"},attrs:{_i:30}},[a("v-uni-text",{staticClass:t._$g(31,"sc"),attrs:{_i:31}},[t._v(t._$g(31,"t0-0")+"%")])],1)],1)],1),a("uni-view",{staticClass:t._$g(32,"sc"),staticStyle:{width:"100%","align-items":"flex-start",position:"relative","font-size":"1vw"},attrs:{_i:32}},[a("uni-view",{staticClass:t._$g(33,"sc"),staticStyle:{width:"100%",position:"relative","margin-top":"5%"},attrs:{_i:33}},[a("uni-view",{staticClass:t._$g(34,"sc"),staticStyle:{width:"80%",height:"2vw"},attrs:{_i:34}},[a("uni-view",{staticClass:t._$g(35,"sc"),style:t._$g(35,"s"),attrs:{_i:35}})],1),a("uni-view",{staticStyle:{position:"absolute",bottom:"0",right:"0","font-size":"2.5vw",color:"#FF5722"},attrs:{_i:36}},[t._v(t._$g(36,"t0-0"))])],1)],1)],1)],1)],1)],1),a("uni-view",{staticClass:t._$g(37,"sc"),attrs:{_i:37}},[a("uni-view",{staticClass:t._$g(38,"sc"),attrs:{_i:38}},[a("uni-view",{staticStyle:{width:"100%",height:"100%"},attrs:{_i:39}},[a("uni-view",{staticStyle:{height:"35%"},attrs:{_i:40}},[a("y-box",{attrs:{_i:41}},[a("uni-view",{staticClass:t._$g(42,"sc"),attrs:{_i:42}},[a("uni-view",{staticClass:t._$g(43,"sc"),staticStyle:{width:"100%"},attrs:{_i:43}},[a("uni-view",{staticClass:t._$g(44,"sc"),staticStyle:{"align-items":"flex-start","justify-content":"flex-start"},attrs:{_i:44}},[a("v-uni-text",{staticClass:t._$g(45,"sc"),attrs:{_i:45}},[t._v("\u5165\u51fa\u5e93\u7edf\u8ba1")]),a("v-uni-text",{staticClass:t._$g(46,"sc"),attrs:{_i:46}},[t._v("ORDER STATISTICS")])],1),a("uni-view",{staticStyle:{"margin-left":"auto"},attrs:{_i:47}},[a("uni-view",{staticClass:t._$g(48,"sc"),staticStyle:{"align-items":"flex-end","justify-content":"flex-end"},attrs:{_i:48}})],1)],1),a("uni-view",{staticClass:t._$g(49,"sc"),attrs:{_i:49}},[a("qiun-data-charts",{attrs:{_i:50}})],1)],1)],1)],1),a("uni-view",{staticStyle:{height:"2%"},attrs:{_i:51}}),a("uni-view",{staticStyle:{height:"43%"},attrs:{_i:52}},[a("y-box",{attrs:{_i:53}},[a("uni-view",{staticClass:t._$g(54,"sc"),attrs:{_i:54}},[a("uni-view",{staticClass:t._$g(55,"sc"),staticStyle:{width:"100%"},attrs:{_i:55}},[a("uni-view",{staticClass:t._$g(56,"sc"),staticStyle:{"align-items":"flex-start","justify-content":"flex-start"},attrs:{_i:56}},[a("v-uni-text",{staticClass:t._$g(57,"sc"),attrs:{_i:57}},[t._v("\u5e93\u5b58\u7c7b\u578b")]),a("v-uni-text",{staticClass:t._$g(58,"sc"),attrs:{_i:58}},[t._v("INCOME DATE")])],1),a("uni-view",{staticStyle:{"margin-left":"auto"},attrs:{_i:59}},[a("uni-view",{staticClass:t._$g(60,"sc"),staticStyle:{"align-items":"flex-end","justify-content":"flex-end"},attrs:{_i:60}},[a("v-uni-text",{staticClass:t._$g(61,"sc"),attrs:{_i:61}},[t._v("\u4eca\u5929")]),a("v-uni-text",{staticClass:t._$g(62,"sc"),attrs:{_i:62}},[t._v("Today")])],1)],1)],1),a("uni-view",{staticClass:t._$g(63,"sc"),staticStyle:{width:"100%"},attrs:{_i:63}},[a("uni-view",{staticClass:t._$g(64,"sc"),attrs:{_i:64}},[a("qiun-data-charts",{attrs:{_i:65}})],1),a("uni-view",{attrs:{_i:66}},[a("uni-view",{staticClass:t._$g(67,"sc"),attrs:{_i:67}},[a("v-uni-image",{attrs:{src:t._$g(68,"a-src"),mode:"aspectFit",_i:68}}),a("uni-view",{staticStyle:{width:"8vw",height:"4vw","line-height":"4vw"},attrs:{_i:69}},[t._v("\u5728\u5e93")]),a("uni-view",{staticStyle:{width:"8vw",height:"4vw","line-height":"4vw","font-size":"2vw"},attrs:{_i:70}},[t._v(t._$g(70,"t0-0"))])],1),a("uni-view",{staticClass:t._$g(71,"sc"),staticStyle:{"margin-top":"2vh"},attrs:{_i:71}},[a("v-uni-image",{attrs:{src:t._$g(72,"a-src"),mode:"aspectFit",_i:72}}),a("uni-view",{staticStyle:{width:"8vw",height:"4vw","line-height":"4vw"},attrs:{_i:73}},[t._v("\u7a7a\u5e93")]),a("uni-view",{staticStyle:{width:"8vw",height:"4vw","line-height":"4vw","font-size":"2vw"},attrs:{_i:74}},[t._v(t._$g(74,"t0-0"))])],1),a("uni-view",{staticClass:t._$g(75,"sc"),staticStyle:{"margin-top":"2vh"},attrs:{_i:75}},[a("v-uni-image",{attrs:{src:t._$g(76,"a-src"),mode:"aspectFit",_i:76}}),a("uni-view",{staticStyle:{width:"8vw",height:"4vw","line-height":"4vw"},attrs:{_i:77}},[t._v("\u9501\u5b9a")]),a("uni-view",{staticStyle:{width:"8vw",height:"4vw","line-height":"4vw","font-size":"2vw"},attrs:{_i:78}},[t._v(t._$g(78,"t0-0"))])],1)],1)],1)],1)],1)],1),a("uni-view",{staticStyle:{height:"2%"},attrs:{_i:79}}),a("uni-view",{staticStyle:{height:"18%",display:"flex","justify-content":"space-around","align-items":"center"},attrs:{_i:80}},[a("uni-view",{staticStyle:{height:"50%"},attrs:{_i:81}},[a("v-uni-image",{staticStyle:{height:"100%"},attrs:{src:t._$g(82,"a-src"),mode:"aspectFit",_i:82}})],1)],1)],1)],1)],1)],1)],1)],1),a("uni-transition",{attrs:{_i:83}},[a("uni-view",{staticClass:t._$g(84,"sc"),attrs:{_i:84}},[a("uni-view",{staticClass:t._$g(85,"sc"),attrs:{_i:85}},[a("v-uni-text",{attrs:{_i:86}},[t._v(t._$g(86,"t0-0"))])],1),a("uni-view",{staticClass:t._$g(87,"sc"),attrs:{_i:87}},[t._v(t._$g(87,"t0-0"))]),a("uni-view",{staticClass:t._$g(88,"sc"),attrs:{_i:88},on:{click:function(e){return t.$handleViewEvent(e)}}}),a("uni-view",{staticClass:t._$g(89,"sc"),attrs:{_i:89},on:{click:function(e){return t.$handleViewEvent(e)}}}),a("uni-view",{staticClass:t._$g(90,"sc"),attrs:{_i:90}},[a("uni-view",{staticClass:t._$g(91,"sc"),attrs:{_i:91}},[a("y-box",{attrs:{_i:92}},[a("uni-view",{staticClass:t._$g(93,"sc"),attrs:{_i:93}},[a("uni-view",{staticClass:t._$g(94,"sc"),attrs:{_i:94}},[a("uni-view",{staticStyle:{width:"30%"},attrs:{_i:95}},[t._v("\u6258\u76d8\u7801: "+t._$g(95,"t0-0"))]),a("uni-view",{staticStyle:{width:"20%"},attrs:{_i:96}},[t._v("\u5de5\u4f5c\u53f7: "+t._$g(96,"t0-0"))]),a("uni-view",{staticStyle:{width:"30%"},attrs:{_i:97}},[t._v("\u6e90\u5e93\u4f4d: "+t._$g(97,"t0-0"))]),a("uni-view",{staticStyle:{width:"20%"},attrs:{_i:98}},[t._v("\u76ee\u6807\u7ad9: "+t._$g(98,"t0-0"))])],1),a("uni-view",{staticClass:t._$g(99,"sc"),attrs:{_i:99}},[a("v-uni-swiper",{staticClass:t._$g(100,"sc"),attrs:{vertical:"true","display-multiple-items":"1",circular:"true",autoplay:!0,interval:3e3,duration:2e3,_i:100}},t._l(t._$g(101,"f"),(function(e,n,i,r){return a("v-uni-swiper-item",{key:e,staticClass:t._$g("101-"+r,"sc"),attrs:{_i:"101-"+r}},[a("uni-view",{staticStyle:{width:"100%"},attrs:{_i:"102-"+r}},[t._v(t._$g("102-"+r,"t0-0")+" / "+t._$g("102-"+r,"t0-1"))]),a("uni-view",{staticStyle:{width:"50%","font-size":"3vw"},attrs:{_i:"103-"+r}},[t._v("\u7269\u6599\u7f16\u7801: "+t._$g("103-"+r,"t0-0"))]),a("uni-view",{staticStyle:{width:"50%","font-size":"3vw"},attrs:{_i:"104-"+r}},[t._v("\u540d\u79f0: "+t._$g("104-"+r,"t0-0"))]),a("uni-view",{staticStyle:{width:"50%","font-size":"3vw"},attrs:{_i:"105-"+r}},[t._v("\u89c4\u683c: "+t._$g("105-"+r,"t0-0"))]),a("uni-view",{staticStyle:{width:"50%","font-size":"3vw"},attrs:{_i:"106-"+r}},[t._v("\u6279\u6b21: "+t._$g("106-"+r,"t0-0"))]),a("uni-view",{staticStyle:{width:"50%","font-size":"3vw"},attrs:{_i:"107-"+r}},[t._v("\u9500\u552e\u5355\u53f7: "+t._$g("107-"+r,"t0-0"))]),a("uni-view",{staticStyle:{width:"50%","font-size":"3vw"},attrs:{_i:"108-"+r}},[t._v("\u5ba2\u6237\u540d\u79f0: "+t._$g("108-"+r,"t0-0"))]),a("uni-view",{staticStyle:{width:"33%","font-size":"3vw"},attrs:{_i:"109-"+r}},[t._v("\u6570\u91cf: "+t._$g("109-"+r,"t0-0"))])],1)})),1)],1)],1)],1)],1)],1)],1)],1),a("uni-transition",{attrs:{_i:110}},[a("uni-view",{staticClass:t._$g(111,"sc"),attrs:{_i:111}},[a("uni-view",{staticClass:t._$g(112,"sc"),attrs:{_i:112}},[a("v-uni-text",{attrs:{_i:113}},[t._v(t._$g(113,"t0-0"))])],1),a("uni-view",{staticClass:t._$g(114,"sc"),attrs:{_i:114}},[t._v(t._$g(114,"t0-0"))]),a("uni-view",{staticClass:t._$g(115,"sc"),attrs:{_i:115}}),a("uni-view",{staticClass:t._$g(116,"sc"),attrs:{_i:116}}),a("uni-view",{staticClass:t._$g(117,"sc"),attrs:{_i:117}},[a("uni-view",{staticClass:t._$g(118,"sc"),attrs:{_i:118}},[a("y-box",{attrs:{_i:119}},[a("uni-view",{staticClass:t._$g(120,"sc"),attrs:{_i:120}},[a("uni-view",{staticClass:t._$g(121,"sc"),attrs:{_i:121}},[t._v(t._$g(121,"t0-0"))])],1)],1)],1)],1)],1)],1),a("uni-view",{directives:[{name:"show",rawName:"v-show",value:t._$g(122,"v-show"),expression:"_$g(122,'v-show')"}],staticClass:t._$g(122,"sc"),attrs:{_i:122}},[a("uni-view",{staticClass:t._$g(123,"sc"),attrs:{_i:123}},[a("uni-view",{staticClass:t._$g(124,"sc"),attrs:{_i:124}},[t._v("\u4fee\u6539 / \u914d\u7f6e")]),a("v-uni-scroll-view",{staticClass:t._$g(125,"sc"),attrs:{"scroll-y":!0,_i:125}},[a("uni-view",{staticClass:t._$g(126,"sc"),attrs:{_i:126}},[a("uni-view",{staticClass:t._$g(127,"sc"),attrs:{_i:127}},[t._v("ip\uff1a")]),a("uni-view",{staticClass:t._$g(128,"sc"),attrs:{_i:128}},[a("v-uni-input",{attrs:{type:"text",_i:129},model:{value:t._$g(129,"v-model"),callback:function(e){t.$handleVModelEvent(129,e)},expression:"baseIP"}})],1)],1),a("uni-view",{staticClass:t._$g(130,"sc"),attrs:{_i:130}},[a("uni-view",{staticClass:t._$g(131,"sc"),attrs:{_i:131}},[t._v("Wcsport\uff1a")]),a("uni-view",{staticClass:t._$g(132,"sc"),attrs:{_i:132}},[a("v-uni-input",{attrs:{type:"text",_i:133},model:{value:t._$g(133,"v-model"),callback:function(e){t.$handleVModelEvent(133,e)},expression:"basePort"}})],1)],1),a("uni-view",{staticClass:t._$g(134,"sc"),attrs:{_i:134}},[a("uni-view",{staticClass:t._$g(135,"sc"),attrs:{_i:135}},[t._v("WcsUrl\uff1a")]),a("uni-view",{staticClass:t._$g(136,"sc"),attrs:{_i:136}},[a("v-uni-input",{attrs:{type:"text",_i:137},model:{value:t._$g(137,"v-model"),callback:function(e){t.$handleVModelEvent(137,e)},expression:"baseUrl"}})],1)],1),a("uni-view",{staticClass:t._$g(138,"sc"),attrs:{_i:138}},[a("uni-view",{staticClass:t._$g(139,"sc"),attrs:{_i:139}},[t._v("Wmsport\uff1a")]),a("uni-view",{staticClass:t._$g(140,"sc"),attrs:{_i:140}},[a("v-uni-input",{attrs:{type:"text",_i:141},model:{value:t._$g(141,"v-model"),callback:function(e){t.$handleVModelEvent(141,e)},expression:"wmsPort"}})],1)],1),a("uni-view",{staticClass:t._$g(142,"sc"),attrs:{_i:142}},[a("uni-view",{staticClass:t._$g(143,"sc"),attrs:{_i:143}},[t._v("WmsUrl\uff1a")]),a("uni-view",{staticClass:t._$g(144,"sc"),attrs:{_i:144}},[a("v-uni-input",{attrs:{type:"text",_i:145},model:{value:t._$g(145,"v-model"),callback:function(e){t.$handleVModelEvent(145,e)},expression:"wmsUrl"}})],1)],1),a("uni-view",{staticClass:t._$g(146,"sc"),attrs:{_i:146}},[a("uni-view",{staticClass:t._$g(147,"sc"),attrs:{_i:147}},[t._v("ledId\uff1a")]),a("uni-view",{staticClass:t._$g(148,"sc"),attrs:{_i:148}},[a("v-uni-input",{attrs:{type:"text",_i:149},model:{value:t._$g(149,"v-model"),callback:function(e){t.$handleVModelEvent(149,e)},expression:"baseLedId"}})],1)],1)],1),a("uni-view",{staticClass:t._$g(150,"sc"),attrs:{_i:150}},[a("uni-view",{staticClass:t._$g(151,"sc"),attrs:{_i:151},on:{click:function(e){return t.$handleViewEvent(e)}}},[t._v("\u53d6 \u6d88")]),a("uni-view",{staticClass:t._$g(152,"sc"),attrs:{_i:152},on:{click:function(e){return t.$handleViewEvent(e)}}},[t._v("\u786e \u8ba4")])],1)],1)],1),a("uni-view",{attrs:{_i:153}},[a("uni-popup",{ref:"upVersion",attrs:{_i:154}},[a("uni-popup-dialog",{attrs:{_i:155},on:{confirm:function(e){return t.$handleViewEvent(e)},close:function(e){return t.$handleViewEvent(e)}}})],1)],1),a("uni-view",{directives:[{name:"show",rawName:"v-show",value:t._$g(156,"v-show"),expression:"_$g(156,'v-show')"}],staticStyle:{color:"#FFF",position:"fixed",bottom:"10px",left:"10px"},attrs:{_i:156}},[t._v("\u8fde\u63a5\u8d85\u65f6\uff0c\u6b63\u5728\u91cd\u65b0\u5efa\u7acb\u94fe\u63a5:: "+t._$g(156,"t0-0"))])],1)},r=[]},ac83:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={name:"loading6",data:function(){return{wxsProps:{}}},components:{}}},ac93:function(t,e,a){"use strict";t.exports=function(t,e){e||(e={}),t=t&&t.__esModule?t.default:t;var a=!1;if("string"!==typeof t){if(!t.protocol||"file:"!==t.protocol||!t.pathname)return t;a=!0,t=t.pathname}return/^['"].*['"]$/.test(t)&&(t=t.slice(1,-1)),e.hash&&(t+=e.hash),/["'() \t\n]/.test(t)||e.needQuotes?'"'.concat(t.replace(/"/g,'\\"').replace(/\n/g,"\\n"),'"'):a?t:0===t.indexOf("/")?t.substr(1):t}},af4f:function(t,e,a){"use strict";a.d(e,"b",(function(){return n})),a.d(e,"c",(function(){return i})),a.d(e,"a",(function(){}));var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("uni-view",{attrs:{_i:0}},[t._$g(1,"i")?a("Loading1",{attrs:{_i:1}}):t._e(),t._$g(2,"i")?a("Loading2",{attrs:{_i:2}}):t._e(),t._$g(3,"i")?a("Loading3",{attrs:{_i:3}}):t._e(),t._$g(4,"i")?a("Loading4",{attrs:{_i:4}}):t._e(),t._$g(5,"i")?a("Loading5",{attrs:{_i:5}}):t._e()],1)},i=[]},b49c:function(t,e,a){"use strict";function n(t,e){for(var a=[],n={},i=0;i<e.length;i++){var r=e[i],o=r[0],s=r[1],l=r[2],c=r[3],d={id:t+":"+i,css:s,media:l,sourceMap:c};n[o]?n[o].parts.push(d):a.push(n[o]={id:o,parts:[d]})}return a}a.r(e),a.d(e,"default",(function(){return f}));var i="undefined"!==typeof document;if("undefined"!==typeof DEBUG&&DEBUG&&!i)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var r={},o=i&&(document.head||document.getElementsByTagName("head")[0]),s=null,l=0,c=!1,d=function(){},h=null,u="undefined"!==typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());function f(t,e,a,i){c=a,h=i||{};var o=n(t,e);return p(o),function(e){for(var a=[],i=0;i<o.length;i++){var s=o[i],l=r[s.id];l.refs--,a.push(l)}e?(o=n(t,e),p(o)):o=[];for(i=0;i<a.length;i++){l=a[i];if(0===l.refs){for(var c=0;c<l.parts.length;c++)l.parts[c]();delete r[l.id]}}}}function p(t){for(var e=0;e<t.length;e++){var a=t[e],n=r[a.id];if(n){n.refs++;for(var i=0;i<n.parts.length;i++)n.parts[i](a.parts[i]);for(;i<a.parts.length;i++)n.parts.push(g(a.parts[i]));n.parts.length>a.parts.length&&(n.parts.length=a.parts.length)}else{var o=[];for(i=0;i<a.parts.length;i++)o.push(g(a.parts[i]));r[a.id]={id:a.id,refs:1,parts:o}}}}function x(){var t=document.createElement("style");return t.type="text/css",o.appendChild(t),t}function g(t){var e,a,n=document.querySelector('style[data-vue-ssr-id~="'+t.id+'"]');if(n){if(c)return d;n.parentNode.removeChild(n)}if(u){var i=l++;n=s||(s=x()),e=m.bind(null,n,i,!1),a=m.bind(null,n,i,!0)}else n=x(),e=y.bind(null,n),a=function(){n.parentNode.removeChild(n)};return e(t),function(n){if(n){if(n.css===t.css&&n.media===t.media&&n.sourceMap===t.sourceMap)return;e(t=n)}else a()}}var v=function(){var t=[];return function(e,a){return t[e]=a,t.filter(Boolean).join("\n")}}();function m(t,e,a,n){var i=a?"":k(n.css);if(t.styleSheet)t.styleSheet.cssText=v(e,i);else{var r=document.createTextNode(i),o=t.childNodes;o[e]&&t.removeChild(o[e]),o.length?t.insertBefore(r,o[e]):t.appendChild(r)}}function y(t,e){var a=k(e.css),n=e.media,i=e.sourceMap;if(n&&t.setAttribute("media",n),h.ssrId&&t.setAttribute("data-vue-ssr-id",e.id),i&&(a+="\n/*# sourceURL="+i.sources[0]+" */",a+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(i))))+" */"),t.styleSheet)t.styleSheet.cssText=a;else{while(t.firstChild)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(a))}}var b=/\b([+-]?\d+(\.\d+)?)[r|u]px\b/g,w=/var\(--status-bar-height\)/gi,_=/var\(--window-top\)/gi,C=/var\(--window-bottom\)/gi,A=/var\(--window-left\)/gi,S=/var\(--window-right\)/gi,T=!1;function k(t){if(!uni.canIUse("css.var")){!1===T&&(T=plus.navigator.getStatusbarHeight());var e={statusBarHeight:T,top:window.__WINDOW_TOP||0,bottom:window.__WINDOW_BOTTOM||0};t=t.replace(w,e.statusBarHeight+"px").replace(_,e.top+"px").replace(C,e.bottom+"px").replace(A,"0px").replace(S,"0px")}return t.replace(/\{[\s\S]+?\}|@media.+?\{/g,(function(t){return t.replace(b,(function(t,e){return uni.upx2px(e)+"px"}))}))}},b854:function(t,e,a){"use strict";a.r(e);var n=a("3f18"),i=a.n(n);for(var r in n)["default"].indexOf(r)<0&&function(t){a.d(e,t,(function(){return n[t]}))}(r);e["default"]=i.a},b8d4:function(t,e,a){"use strict";a.r(e);var n=a("6064"),i=a.n(n);for(var r in n)["default"].indexOf(r)<0&&function(t){a.d(e,t,(function(){return n[t]}))}(r);e["default"]=i.a},b908:function(t,e,a){"use strict";var n=a("cf84"),i=a.n(n);i.a},b90f:function(t,e,a){var n=a("73fb");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var i=a("b49c").default;i("746a5862",n,!0,{sourceMap:!1,shadowMode:!1})},b9a5:function(t,e,a){"use strict";a.r(e);var n=a("db9f"),i=a.n(n);for(var r in n)["default"].indexOf(r)<0&&function(t){a.d(e,t,(function(){return n[t]}))}(r);e["default"]=i.a},ba9b:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={data:function(){return{wxsProps:{}}},components:{}}},be93:function(t,e,a){var n=a("368e");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var i=a("b49c").default;i("f77ae3d2",n,!0,{sourceMap:!1,shadowMode:!1})},bfff:function(t,e,a){"use strict";a.r(e);var n=a("3c26"),i=a("b8d4");for(var r in i)["default"].indexOf(r)<0&&function(t){a.d(e,t,(function(){return i[t]}))}(r);a("3b3c");var o=a("828b"),s=Object(o["a"])(i["default"],n["b"],n["c"],!1,null,"43f30b7e",null,!1,n["a"],void 0);e["default"]=s.exports},c547:function(t,e,a){"use strict";a.r(e);var n=a("e189"),i=a.n(n);for(var r in n)["default"].indexOf(r)<0&&function(t){a.d(e,t,(function(){return n[t]}))}(r);e["default"]=i.a},c781:function(t,e,a){"use strict";var n=a("84d1"),i=a.n(n);i.a},c86c:function(t,e,a){"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var a=function(t,e){var a=t[1]||"",n=t[3];if(!n)return a;if(e&&"function"===typeof btoa){var i=function(t){var e=btoa(unescape(encodeURIComponent(JSON.stringify(t)))),a="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(e);return"/*# ".concat(a," */")}(n),r=n.sources.map((function(t){return"/*# sourceURL=".concat(n.sourceRoot||"").concat(t," */")}));return[a].concat(r).concat([i]).join("\n")}return[a].join("\n")}(e,t);return e[2]?"@media ".concat(e[2]," {").concat(a,"}"):a})).join("")},e.i=function(t,a,n){"string"===typeof t&&(t=[[null,t,""]]);var i={};if(n)for(var r=0;r<this.length;r++){var o=this[r][0];null!=o&&(i[o]=!0)}for(var s=0;s<t.length;s++){var l=[].concat(t[s]);n&&i[l[0]]||(a&&(l[2]?l[2]="".concat(a," and ").concat(l[2]):l[2]=a),e.push(l))}},e}},c959:function(t,e,a){"use strict";a.r(e);var n=a("a818"),i=a("078f");for(var r in i)["default"].indexOf(r)<0&&function(t){a.d(e,t,(function(){return i[t]}))}(r);a("0cb4");var o=a("828b"),s=Object(o["a"])(i["default"],n["b"],n["c"],!1,null,"4e1c1bfa",null,!1,n["a"],void 0);e["default"]=s.exports},cc61:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={data:function(){return{wxsProps:{}}},components:{}}},cf84:function(t,e,a){var n=a("6642");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var i=a("b49c").default;i("cede38c2",n,!0,{sourceMap:!1,shadowMode:!1})},d168:function(t,e,a){var n=a("c86c"),i=a("ac93"),r=a("2021"),o=a("9ffd");e=n(!1);var s=i(r),l=i(o);e.push([t.i,"\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\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n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n.text-content{width:100%;height:100%;font-size:2vw}.swiper-head{width:100%;height:10%;background-color:rgba(54,94,226,.5);display:flex;align-items:center}.swiper-body{width:100%;height:90%}.swiper-body-main{width:100%;height:100%}.swiper-item{display:flex;flex-wrap:wrap;align-items:center;text-align:start;border-bottom:2px solid #000;background-color:rgba(0,0,0,.2);margin-left:10rpx}.swiper-item:nth-child(2n-1){background-color:hsla(0,0%,100%,.1)}.flex-col{display:flex;flex-direction:column}.flex-row{display:flex;flex-direction:row}.container{width:100vw;min-height:100vh;background-color:#00163e;color:#fff;text-align:center}.home-view{width:100vw;min-height:100vh;background-image:url("+s+");background-size:100vw 100vh}.home-right{width:50vw;height:89vh}.home-right-box{width:98%;height:98%}.head{width:100vw;height:11vh;font-size:4vw;font-weight:700;display:flex;align-items:center;justify-content:center;-webkit-transform:scale(.7);transform:scale(.7)}.time-tools{position:absolute;right:2%;top:2%;font-size:1vw;-webkit-transform:scale(.8);transform:scale(.8)}.button-left{position:absolute;background-image:url("+l+");background-size:100% 100%;top:1.8%;left:21.3%;width:13.5%;height:8.5%;-webkit-transform:scaleX(-1);transform:scaleX(-1)}.button-right{position:absolute;background-image:url("+l+");background-size:100% 100%;top:1.8%;left:65%;width:13.5%;height:8.5%}.img-box{height:23vw;width:100%;display:flex;flex-direction:row;justify-content:flex-start;flex-wrap:wrap;font-size:1vw}.item-img{width:50%;margin-top:5%;display:flex;flex-direction:row;justify-content:flex-start;align-items:flex-start}.item-img uni-image{height:5vw;width:5vw}.progressBar{margin-top:9%;height:20%;background-color:#233751;border-radius:5vw}.progress{height:100%;background-color:#ff5722;border-radius:5vw}.charts-box{width:80%;height:24vh;margin-left:10%}.charts-box-ring{width:60%;height:24vh}.sub-info{font-size:1.5vw}.sub-info uni-image{width:3.5vw;height:3.5vw}.main{width:100vw;height:88vh;margin-top:1vh;display:flex}.mian-item{width:50%;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center}.mian-item-box{width:98%;height:98%}.box-item{width:100%;margin-top:4%;display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start}.item-title{font-size:1.5vw;font-weight:700}.version{position:absolute;left:1%;top:1%;font-size:1vw;-webkit-transform:scale(.8);transform:scale(.8)}.item-subTitle{font-size:.5vw;text-indent:0}.item-text{font-size:1vw;text-indent:2em;letter-spacing:1px;line-height:3vh}.info-view{width:100vw;min-height:100vh;background-image:url("+s+");background-size:100vw 100vh}.info-main{width:100vw;height:88vh;display:flex;justify-content:center;align-items:center}.info-box{width:98%;height:98%}.error-info-view{width:100vw;min-height:100vh;background-image:url("+s+");background-size:100vw 100vh}.eject-mask{width:100%;height:100%;background-color:rgba(0,0,0,.5);position:fixed;top:0;left:0;z-index:999;display:flex;align-items:center;justify-content:center}.eject{position:relative;width:45vw;height:45vh;background-color:#fff;border-radius:2rem}.eject-title{width:100%;height:5vh;line-height:6vh;font-size:3vh;font-weight:700;color:#606266;text-align:center}.eject-input{margin-top:2vh;height:25vh;::-webkit-scrollbar{display:none}}.item{display:flex;align-items:center;margin:1vh 0 0 0;font-size:1.5vw;color:#363636}.desc{display:inline-block;width:40%;text-align:right;color:#606266}.input{display:flex;align-items:center;padding-left:5px;padding-right:5px;width:100%;height:3vh;border:.1vh solid #cfd4dc;margin-right:20%;text-align:start}.eject-input uni-input{width:100%;height:3vh;font-size:1vw}.eject-button{display:flex;align-items:center;position:absolute;bottom:0;height:6vh;line-height:6vh;width:100%;border-top:1px solid #ccc}.button-item{width:50%;height:100%;font-size:1.5vw;font-weight:700;text-align:center;color:#909399}.button-item:last-child{color:#67c23a;border-left:1px solid #ccc}.info-box-text{width:100%;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center}.info-box-text-item{height:20%;font-size:8vh;justify-content:center}",""]),t.exports=e},d9bb:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={name:"uniTransition",props:["show","modeClass","duration","styles","customClass"],data:function(){return{wxsProps:{}}},components:{}}},db9f:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={data:function(){return{wxsProps:{}}},components:{}}},dd22:function(t,e,a){var n=a("6075");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var i=a("b49c").default;i("1e6f7836",n,!0,{sourceMap:!1,shadowMode:!1})},dd3e:function(t,e){t.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},t.exports.__esModule=!0,t.exports["default"]=t.exports},dd49:function(t,e,a){"use strict";function n(){function t(t){var e=a("04cd");e.__inject__&&e.__inject__(t)}"function"===typeof t&&t(),UniViewJSBridge.publishHandler("webviewReady")}a("1c5b"),"undefined"!==typeof plus?n():document.addEventListener("plusready",n)},ddb2:function(t,e,a){var n=a("aad1");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var i=a("b49c").default;i("4e72501d",n,!0,{sourceMap:!1,shadowMode:!1})},e189:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={name:"loading5",data:function(){return{wxsProps:{}}},components:{}}},e199:function(t,e,a){"use strict";var n=a("ddb2"),i=a.n(n);i.a},e235:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=["#1890FF","#91CB74","#FAC858","#EE6666","#73C0DE","#3CA272","#FC8452","#9A60B4","#ea7ccc"],i={type:["pie","ring","rose","funnel","line","column","area","radar","gauge","candle","demotype"],categories:["line","column","area","radar","gauge","candle","demotype"],instance:{},option:{},formatter:{tooltipDemo1:function(t){var e="";for(var a in t){0==a&&(e+=t[a].axisValueLabel+"\u5e74\u9500\u552e\u989d");var n="--";null!==t[a].data&&(n=t[a].data),e+="<br/>"+t[a].marker+t[a].seriesName+"\uff1a"+n+" \u4e07\u5143"}return e},legendFormat:function(t){return"\u81ea\u5b9a\u4e49\u56fe\u4f8b+"+t},yAxisFormatDemo:function(t,e){return t+"\u5143"},seriesFormatDemo:function(t){return t.name+"\u5e74"+t.value+"\u5143"}},demotype:{color:n},column:{color:n,title:{text:""},tooltip:{trigger:"axis"},grid:{top:30,bottom:50,right:15,left:40},legend:{bottom:"left"},toolbox:{show:!1},xAxis:{type:"category",axisLabel:{color:"#666666"},axisLine:{lineStyle:{color:"#CCCCCC"}},boundaryGap:!0,data:[]},yAxis:{type:"value",axisTick:{show:!1},axisLabel:{color:"#666666"},axisLine:{lineStyle:{color:"#CCCCCC"}}},seriesTemplate:{name:"",type:"bar",data:[],barwidth:20,label:{show:!0,color:"#666666",position:"top"}}},line:{color:n,title:{text:""},tooltip:{trigger:"axis"},grid:{top:30,bottom:50,right:15,left:40},legend:{top:"left",textStyle:{color:"#cccccc"}},toolbox:{show:!1},xAxis:{type:"category",axisLabel:{color:"#CCCCCC"},axisLine:{lineStyle:{color:"#CCCCCC"}},boundaryGap:!1,data:[]},yAxis:{type:"value",axisTick:{show:!1},axisLabel:{color:"#CCCCCC"},axisLine:{lineStyle:{color:"#CCCCCC"}}},seriesTemplate:{name:"",type:"line",data:[],barwidth:20,label:{show:!1,color:"#666666",position:"top"}}},area:{color:n,title:{text:""},tooltip:{trigger:"axis"},grid:{top:30,bottom:50,right:15,left:40},legend:{bottom:"left"},toolbox:{show:!1},xAxis:{type:"category",axisLabel:{color:"#666666"},axisLine:{lineStyle:{color:"#CCCCCC"}},boundaryGap:!0,data:[]},yAxis:{type:"value",axisTick:{show:!1},axisLabel:{color:"#666666"},axisLine:{lineStyle:{color:"#CCCCCC"}}},seriesTemplate:{name:"",type:"line",data:[],areaStyle:{},label:{show:!0,color:"#666666",position:"top"}}},pie:{color:n,title:{text:""},tooltip:{trigger:"item"},grid:{top:40,bottom:30,right:15,left:15},legend:{bottom:"left"},seriesTemplate:{name:"",type:"pie",data:[],radius:"50%",label:{show:!0,color:"#666666",position:"top"}}},ring:{color:n,title:{text:""},tooltip:{trigger:"item"},grid:{top:40,bottom:30,right:15,left:15},legend:{bottom:"left",textStyle:{color:"#cccccc"}},seriesTemplate:{name:"",type:"pie",data:[],radius:["30%","60%"],avoidLabelOverlap:!1,label:{show:!1,color:"#FFF",position:"top"},labelLine:{show:!1}}},rose:{color:n,title:{text:""},tooltip:{trigger:"item"},legend:{top:"bottom"},seriesTemplate:{name:"",type:"pie",data:[],radius:"55%",center:["50%","50%"],roseType:"area"}},funnel:{color:n,title:{text:""},tooltip:{trigger:"item",formatter:"{b} : {c}%"},legend:{top:"bottom"},seriesTemplate:{name:"",type:"funnel",left:"10%",top:60,bottom:60,width:"80%",min:0,max:100,minSize:"0%",maxSize:"100%",sort:"descending",gap:2,label:{show:!0,position:"inside"},labelLine:{length:10,lineStyle:{width:1,type:"solid"}},itemStyle:{bordercolor:"#fff",borderwidth:1},emphasis:{label:{fontSize:20}},data:[]}},gauge:{color:n,tooltip:{formatter:"{a} <br/>{b} : {c}%"},seriesTemplate:{name:"\u4e1a\u52a1\u6307\u6807",type:"gauge",detail:{formatter:"{value}%"},data:[{value:50,name:"\u5b8c\u6210\u7387"}]}},candle:{xAxis:{data:[]},yAxis:{},color:n,title:{text:""},dataZoom:[{type:"inside",xAxisIndex:[0,1],start:10,end:100},{show:!0,xAxisIndex:[0,1],type:"slider",bottom:10,start:10,end:100}],seriesTemplate:{name:"",type:"k",data:[]}}},r=i;e.default=r},e4d6:function(t,e,a){"use strict";a.r(e);var n=a("925e"),i=a("63c1");for(var r in i)["default"].indexOf(r)<0&&function(t){a.d(e,t,(function(){return i[t]}))}(r);a("b908");var o=a("828b"),s=Object(o["a"])(i["default"],n["b"],n["c"],!1,null,null,null,!1,n["a"],void 0);e["default"]=s.exports},e631:function(t,e,a){var n=a("c86c");e=n(!1),e.push([t.i,".box[data-v-71f2edbe]{width:calc(100% - .2vh);height:calc(100% - .2vh);position:relative;border:.1vh solid #145088;display:flex;justify-content:center}.box-main[data-v-71f2edbe]{width:96%;height:100%;display:flex;flex-direction:column;justify-content:flex-start;align-items:flex-start}.box-border[data-v-71f2edbe]{position:absolute;width:1.5vh;height:1.5vh}.box-border1[data-v-71f2edbe]{top:0;left:0;border-left:.1vh solid #31c4c4;border-top:.1vh solid #31c4c4}.box-border2[data-v-71f2edbe]{top:0;right:0;border-right:.1vh solid #31c4c4;border-top:.1vh solid #31c4c4}.box-border3[data-v-71f2edbe]{bottom:0;left:0;border-bottom:.1vh solid #31c4c4;border-left:.1vh solid #31c4c4}.box-border4[data-v-71f2edbe]{bottom:0;right:0;border-right:.1vh solid #31c4c4;border-bottom:.1vh solid #31c4c4}",""]),t.exports=e},e7b7:function(t,e,a){"use strict";var n=a("9b97"),i=a.n(n);i.a},e924:function(t,e,a){var n=a("d168");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var i=a("b49c").default;i("2a57666c",n,!0,{sourceMap:!1,shadowMode:!1})},e9e1:function(t,e,a){"use strict";a.r(e);var n=a("ac83"),i=a.n(n);for(var r in n)["default"].indexOf(r)<0&&function(t){a.d(e,t,(function(){return n[t]}))}(r);e["default"]=i.a},ea54:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={name:"qiun-data-charts",props:["type","canvasId","canvas2d","background","animation","chartData","opts","eopts","loadingType","errorShow","errorReload","errorMessage","inScrollView","reshow","reload","disableScroll","optsWatch","onzoom","ontap","ontouch","onmouse","onmovetip","echartsH5","echartsApp","tooltipShow","tooltipFormat","tooltipCustom","startDate","endDate","textEnum","groupEnum","pageScrollTop","directory","tapLegend","menus"],data:function(){return{wxsProps:{}}},components:{}}},ed43:function(t,e,a){"use strict";a.r(e);var n=a("40dd"),i=a("7543");for(var r in i)["default"].indexOf(r)<0&&function(t){a.d(e,t,(function(){return i[t]}))}(r);a("9fee");var o=a("828b"),s=Object(o["a"])(i["default"],n["b"],n["c"],!1,null,"99b3946c",null,!1,n["a"],void 0);e["default"]=s.exports},ed45:function(t,e){t.exports=function(t){if(Array.isArray(t))return t},t.exports.__esModule=!0,t.exports["default"]=t.exports},f01f:function(t,e,a){"use strict";var n=a("f247"),i=a.n(n);i.a},f1e8:function(t,e,a){"use strict";var n=a("88ff"),i=a.n(n);i.a},f247:function(t,e,a){var n=a("4604");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var i=a("b49c").default;i("7605153a",n,!0,{sourceMap:!1,shadowMode:!1})},f3b9:function(t,e,a){"use strict";function n(t){var e=Object.prototype.toString.call(t);return e.substring(8,e.length-1)}function i(){return"string"===typeof __channelId__&&__channelId__}function r(t,e){switch(n(e)){case"Function":return"function() { [native code] }";default:return e}}function o(t){for(var e=arguments.length,a=new Array(e>1?e-1:0),n=1;n<e;n++)a[n-1]=arguments[n];console[t].apply(console,a)}function s(){for(var t=arguments.length,e=new Array(t),a=0;a<t;a++)e[a]=arguments[a];var o=e.shift();if(i())return e.push(e.pop().replace("at ","uni-app:///")),console[o].apply(console,e);var s=e.map((function(t){var e=Object.prototype.toString.call(t).toLowerCase();if("[object object]"===e||"[object array]"===e)try{t="---BEGIN:JSON---"+JSON.stringify(t,r)+"---END:JSON---"}catch(i){t=e}else if(null===t)t="---NULL---";else if(void 0===t)t="---UNDEFINED---";else{var a=n(t).toUpperCase();t="NUMBER"===a||"BOOLEAN"===a?"---BEGIN:"+a+"---"+t+"---END:"+a+"---":String(t)}return t})),l="";if(s.length>1){var c=s.pop();l=s.join("---COMMA---"),0===c.indexOf(" at ")?l+=c:l+="---COMMA---"+c}else l=s[0];console[o](l)}a.r(e),a.d(e,"log",(function(){return o})),a.d(e,"default",(function(){return s}))},f5de:function(t,e,a){"use strict";a.d(e,"b",(function(){return n})),a.d(e,"c",(function(){return i})),a.d(e,"a",(function(){}));var n=function(){var t=this.$createElement,e=this._self._c||t;return e("uni-view",{staticClass:this._$g(0,"sc"),attrs:{_i:0}},[e("uni-view",{staticClass:this._$g(1,"sc"),attrs:{_i:1}}),e("uni-view",{staticClass:this._$g(2,"sc"),attrs:{_i:2}}),e("uni-view",{staticClass:this._$g(3,"sc"),attrs:{_i:3}}),e("uni-view",{staticClass:this._$g(4,"sc"),attrs:{_i:4}})],1)},i=[]},f6e5:function(t,e,a){"use strict";a.d(e,"b",(function(){return n})),a.d(e,"c",(function(){return i})),a.d(e,"a",(function(){}));var n=function(){var t=this.$createElement,e=this._self._c||t;return e("uni-view",{staticClass:this._$g(0,"sc"),attrs:{_i:0}},[e("uni-view",{staticClass:this._$g(1,"sc"),attrs:{_i:1}}),e("uni-view",{staticClass:this._$g(2,"sc"),attrs:{_i:2}}),e("uni-view",{staticClass:this._$g(3,"sc"),attrs:{_i:3}}),e("uni-view",{staticClass:this._$g(4,"sc"),attrs:{_i:4}})],1)},i=[]},f9c6:function(t,e,a){"use strict";var n=a("65fd"),i=a.n(n);i.a}});
\ No newline at end of file
+(function(t){var e={};function a(i){if(e[i])return e[i].exports;var n=e[i]={i:i,l:!1,exports:{}};return t[i].call(n.exports,n,n.exports,a),n.l=!0,n.exports}a.m=t,a.c=e,a.d=function(t,e,i){a.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},a.r=function(t){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},a.t=function(t,e){if(1&e&&(t=a(t)),8&e)return t;if(4&e&&"object"===typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(a.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var n in t)a.d(i,n,function(e){return t[e]}.bind(null,n));return i},a.n=function(t){var e=t&&t.__esModule?function(){return t["default"]}:function(){return t};return a.d(e,"a",e),e},a.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},a.p="./",a(a.s="dd49")})({"02c7":function(t,e,a){var i=a("7ec4");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var n=a("b49c").default;n("303990ea",i,!0,{sourceMap:!1,shadowMode:!1})},"02de":function(t,e,a){"use strict";var i=a("e924"),n=a.n(i);n.a},"04cd":function(t,e,a){"use strict";a.r(e);var i=a("675d"),n=a.n(i);for(var r in i)["default"].indexOf(r)<0&&function(t){a.d(e,t,(function(){return i[t]}))}(r);e["default"]=n.a},"0671":function(t,e,a){"use strict";a.r(e);var i=a("cc61"),n=a.n(i);for(var r in i)["default"].indexOf(r)<0&&function(t){a.d(e,t,(function(){return i[t]}))}(r);e["default"]=n.a},"078f":function(t,e,a){"use strict";a.r(e);var i=a("21fb"),n=a.n(i);for(var r in i)["default"].indexOf(r)<0&&function(t){a.d(e,t,(function(){return i[t]}))}(r);e["default"]=n.a},"0cb4":function(t,e,a){"use strict";var i=a("dd22"),n=a.n(i);n.a},"17c3":function(t,e,a){"use strict";(function(t){var i=a("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=i(a("34cf")),r=i(a("3b2d")),o={version:"v2.4.4-20221102",yAxisWidth:15,xAxisHeight:22,xAxisTextPadding:3,padding:[10,10,10,10],pixelRatio:1,rotate:!1,fontSize:13,fontColor:"#666666",dataPointShape:["circle","circle","circle","circle"],color:["#1890FF","#91CB74","#FAC858","#EE6666","#73C0DE","#3CA272","#FC8452","#9A60B4","#ea7ccc"],linearColor:["#0EE2F8","#2BDCA8","#FA7D8D","#EB88E2","#2AE3A0","#0EE2F8","#EB88E2","#6773E3","#F78A85"],pieChartLinePadding:15,pieChartTextPadding:5,titleFontSize:20,subtitleFontSize:15,toolTipPadding:3,toolTipBackground:"#000000",toolTipOpacity:.7,toolTipLineHeight:20,radarLabelTextMargin:13},s=function(t){for(var e=arguments.length,a=new Array(e>1?e-1:0),i=1;i<e;i++)a[i-1]=arguments[i];if(null==t)throw new TypeError("[uCharts] Cannot convert undefined or null to object");if(!a||a.length<=0)return t;function n(t,e){for(var a in e)t[a]=t[a]&&"[object Object]"===t[a].toString()?n(t[a],e[a]):t[a]=e[a];return t}return a.forEach((function(e){t=n(t,e)})),t},l={toFixed:function(t,e){return e=e||2,this.isFloat(t)&&(t=t.toFixed(e)),t},isFloat:function(t){return t%1!==0},approximatelyEqual:function(t,e){return Math.abs(t-e)<1e-10},isSameSign:function(t,e){return Math.abs(t)===t&&Math.abs(e)===e||Math.abs(t)!==t&&Math.abs(e)!==e},isSameXCoordinateArea:function(t,e){return this.isSameSign(t.x,e.x)},isCollision:function(t,e){t.end={},t.end.x=t.start.x+t.width,t.end.y=t.start.y-t.height,e.end={},e.end.x=e.start.x+e.width,e.end.y=e.start.y-e.height;var a=e.start.x>t.end.x||e.end.x<t.start.x||e.end.y>t.start.y||e.start.y<t.end.y;return!a}};function c(t,e){var a=t.replace(/^#?([a-f\d])([a-f\d])([a-f\d])$/i,(function(t,e,a,i){return e+e+a+a+i+i})),i=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(a),n=parseInt(i[1],16),r=parseInt(i[2],16),o=parseInt(i[3],16);return"rgba("+n+","+r+","+o+","+e+")"}function d(t,e,a){if(isNaN(t))throw new Error("[uCharts] series\u6570\u636e\u9700\u4e3aNumber\u683c\u5f0f");a=a||10,e=e||"upper";var i=1;while(a<1)a*=10,i*=10;t="upper"===e?Math.ceil(t*i):Math.floor(t*i);while(t%a!==0)if("upper"===e){if(t==t+1)break;t++}else t--;return t/i}function h(t,e,a,i,n){var r=n.width-n.area[1]-n.area[3],o=a.eachSpacing*(n.chartData.xAxisData.xAxisPoints.length-1);"mount"==n.type&&n.extra&&n.extra.mount&&n.extra.mount.widthRatio&&n.extra.mount.widthRatio>1&&(n.extra.mount.widthRatio>2&&(n.extra.mount.widthRatio=2),o+=(n.extra.mount.widthRatio-1)*a.eachSpacing);var s=e;return e>=0?(s=0,t.uevent.trigger("scrollLeft"),t.scrollOption.position="left",n.xAxis.scrollPosition="left"):Math.abs(e)>=o-r?(s=r-o,t.uevent.trigger("scrollRight"),t.scrollOption.position="right",n.xAxis.scrollPosition="right"):(t.scrollOption.position=e,n.xAxis.scrollPosition=e),s}function u(t,e,a){function i(t){while(t<0)t+=2*Math.PI;while(t>2*Math.PI)t-=2*Math.PI;return t}return t=i(t),e=i(e),a=i(a),e>a&&(a+=2*Math.PI,t<e&&(t+=2*Math.PI)),t>=e&&t<=a}function f(t,e){function a(t,e){return!(!t[e-1]||!t[e+1])&&(t[e].y>=Math.max(t[e-1].y,t[e+1].y)||t[e].y<=Math.min(t[e-1].y,t[e+1].y))}function i(t,e){return!(!t[e-1]||!t[e+1])&&(t[e].x>=Math.max(t[e-1].x,t[e+1].x)||t[e].x<=Math.min(t[e-1].x,t[e+1].x))}var n=.2,r=.2,o=null,s=null,l=null,c=null;if(e<1?(o=t[0].x+(t[1].x-t[0].x)*n,s=t[0].y+(t[1].y-t[0].y)*n):(o=t[e].x+(t[e+1].x-t[e-1].x)*n,s=t[e].y+(t[e+1].y-t[e-1].y)*n),e>t.length-3){var d=t.length-1;l=t[d].x-(t[d].x-t[d-1].x)*r,c=t[d].y-(t[d].y-t[d-1].y)*r}else l=t[e+1].x-(t[e+2].x-t[e].x)*r,c=t[e+1].y-(t[e+2].y-t[e].y)*r;return a(t,e+1)&&(c=t[e+1].y),a(t,e)&&(s=t[e].y),i(t,e+1)&&(l=t[e+1].x),i(t,e)&&(o=t[e].x),(s>=Math.max(t[e].y,t[e+1].y)||s<=Math.min(t[e].y,t[e+1].y))&&(s=t[e].y),(c>=Math.max(t[e].y,t[e+1].y)||c<=Math.min(t[e].y,t[e+1].y))&&(c=t[e+1].y),(o>=Math.max(t[e].x,t[e+1].x)||o<=Math.min(t[e].x,t[e+1].x))&&(o=t[e].x),(l>=Math.max(t[e].x,t[e+1].x)||l<=Math.min(t[e].x,t[e+1].x))&&(l=t[e+1].x),{ctrA:{x:o,y:s},ctrB:{x:l,y:c}}}function p(t,e,a){return{x:a.x+t,y:a.y-e}}function x(t,e){if(e)while(l.isCollision(t,e))t.start.x>0?t.start.y--:t.start.x<0||t.start.y>0?t.start.y++:t.start.y--;return t}function g(t,e,a){for(var i=0,n=0;n<t.length;n++){var r=t[n];if(r.color||(r.color=a.color[i],i=(i+1)%a.color.length),r.linearIndex||(r.linearIndex=n),r.index||(r.index=0),r.type||(r.type=e.type),"undefined"==typeof r.show&&(r.show=!0),r.type||(r.type=e.type),r.pointShape||(r.pointShape="circle"),!r.legendShape)switch(r.type){case"line":r.legendShape="line";break;case"column":case"bar":r.legendShape="rect";break;case"area":case"mount":r.legendShape="triangle";break;default:r.legendShape="circle"}}return t}function v(t,e,a,i){var n=e||[];if("custom"==t&&0==n.length&&(n=i.linearColor),"custom"==t&&n.length<a.length)for(var r=a.length-n.length,o=0;o<r;o++)n.push(i.linearColor[(o+1)%i.linearColor.length]);return n}function m(t,e){var a=0,i=e-t;return a=i>=1e4?1e3:i>=1e3?100:i>=100?10:i>=10?5:i>=1?1:i>=.1?.1:i>=.01?.01:i>=.001?.001:i>=1e-4?1e-4:i>=1e-5?1e-5:1e-6,{minRange:d(t,"lower",a),maxRange:d(e,"upper",a)}}function y(t,e,a){var i=0;if(t=String(t),!1!==a&&void 0!==a&&a.setFontSize&&a.measureText)return a.setFontSize(e),a.measureText(t).width;t=t.split("");for(var n=0;n<t.length;n++){var r=t[n];/[a-zA-Z]/.test(r)?i+=7:/[0-9]/.test(r)?i+=5.5:/\./.test(r)?i+=2.7:/-/.test(r)?i+=3.25:/:/.test(r)?i+=2.5:/[\u4e00-\u9fa5]/.test(r)?i+=10:/\(|\)/.test(r)?i+=3.73:/\s/.test(r)?i+=2.5:/%/.test(r)?i+=8:i+=10}return i*e/10}function b(t){return t.reduce((function(t,e){return(t.data?t.data:t).concat(e.data)}),[])}function w(t,e){for(var a=new Array(e),i=0;i<a.length;i++)a[i]=0;for(var n=0;n<t.length;n++)for(i=0;i<a.length;i++)a[i]+=t[n].data[i];return t.reduce((function(t,e){return(t.data?t.data:t).concat(e.data).concat(a)}),[])}function _(t,e,a){var i,n;return t.clientX?e.rotate?(n=e.height-t.clientX*e.pix,i=(t.pageY-a.currentTarget.offsetTop-e.height/e.pix/2*(e.pix-1))*e.pix):(i=t.clientX*e.pix,n=(t.pageY-a.currentTarget.offsetTop-e.height/e.pix/2*(e.pix-1))*e.pix):e.rotate?(n=e.height-t.x*e.pix,i=t.y*e.pix):(i=t.x*e.pix,n=t.y*e.pix),{x:i,y:n}}function C(t,e,a){var i=[],n=[],r=e.constructor.toString().indexOf("Array")>-1;if(r)for(var o=M(t),s=0;s<a.length;s++)n.push(o[a[s]]);else n=t;for(var l=0;l<n.length;l++){var c=n[l],d=-1;if(d=r?e[l]:e,null!==c.data[d]&&"undefined"!==typeof c.data[d]&&c.show){var h={};h.color=c.color,h.type=c.type,h.style=c.style,h.pointShape=c.pointShape,h.disableLegend=c.disableLegend,h.name=c.name,h.show=c.show,h.data=c.formatter?c.formatter(c.data[d]):c.data[d],i.push(h)}}return i}function A(t,e,a){var i=t.map((function(t){return y(t,e,a)}));return Math.max.apply(null,i)}function S(t){for(var e=2*Math.PI/t,a=[],i=0;i<t;i++)a.push(e*i);return a.map((function(t){return-1*t+Math.PI/2}))}function T(t,e,a,i,n){var r=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{},o=e.chartData.calPoints?e.chartData.calPoints:[],s={};if(i.length>0){for(var l=[],c=0;c<i.length;c++)l.push(o[i[c]]);s=l[0][a[0]]}else for(var d=0;d<o.length;d++)if(o[d][a]){s=o[d][a];break}var h=t.map((function(t){var i=null;return e.categories&&e.categories.length>0&&(i=n[a]),{text:r.formatter?r.formatter(t,i,a,e):t.name+": "+t.data,color:t.color}})),u={x:Math.round(s.x),y:Math.round(s.y)};return{textList:h,offset:u}}function k(t,e,a,i){var n=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},r=e.chartData.xAxisPoints[a]+e.chartData.eachSpacing/2,o=t.map((function(t){return{text:n.formatter?n.formatter(t,i[a],a,e):t.name+": "+t.data,color:t.color,disableLegend:!!t.disableLegend}}));o=o.filter((function(t){if(!0!==t.disableLegend)return t}));var s={x:Math.round(r),y:0};return{textList:o,offset:s}}function P(t,e,a,i,n,r){var o=a.chartData.calPoints,s=r.color.upFill,l=r.color.downFill,c=[s,s,l,s],d=[];e.map((function(e){0==i?e.data[1]-e.data[0]<0?c[1]=l:c[1]=s:(e.data[0]<t[i-1][1]&&(c[0]=l),e.data[1]<e.data[0]&&(c[1]=l),e.data[2]>t[i-1][1]&&(c[2]=s),e.data[3]<t[i-1][1]&&(c[3]=l));var a={text:"\u5f00\u76d8\uff1a"+e.data[0],color:c[0]},n={text:"\u6536\u76d8\uff1a"+e.data[1],color:c[1]},r={text:"\u6700\u4f4e\uff1a"+e.data[2],color:c[2]},o={text:"\u6700\u9ad8\uff1a"+e.data[3],color:c[3]};d.push(a,n,r,o)}));for(var h=[],u={x:0,y:0},f=0;f<o.length;f++){var p=o[f];"undefined"!==typeof p[i]&&null!==p[i]&&h.push(p[i])}return u.x=Math.round(h[0][0].x),{textList:d,offset:u}}function M(t){for(var e=[],a=0;a<t.length;a++)1==t[a].show&&e.push(t[a]);return e}function D(t,e,a){return t.x<=e.width-e.area[1]+10&&t.x>=e.area[3]-10&&t.y>=e.area[0]&&t.y<=e.height-e.area[2]}function F(t,e,a){return Math.pow(t.x-e.x,2)+Math.pow(t.y-e.y,2)<=Math.pow(a,2)}function $(t,e){var a=[],i=[];return t.forEach((function(t,n){e.connectNulls?null!==t&&i.push(t):null!==t?i.push(t):(i.length&&a.push(i),i=[])})),i.length&&a.push(i),a}function L(t,e,a,i,n){var r={angle:0,xAxisHeight:a.xAxisHeight},o=e.xAxis.fontSize*e.pix||a.fontSize,s=t.map((function(t,a){var i=e.xAxis.formatter?e.xAxis.formatter(t,a,e):t;return y(String(i),o,n)})),l=Math.max.apply(this,s);if(1==e.xAxis.rotateLabel){r.angle=e.xAxis.rotateAngle*Math.PI/180;var c=2*a.xAxisTextPadding+Math.abs(l*Math.sin(r.angle));c=c<o+2*a.xAxisTextPadding?c+2*a.xAxisTextPadding:c,1==e.enableScroll&&1==e.xAxis.scrollShow&&(c+=12*e.pix),r.xAxisHeight=c}return e.xAxis.disabled&&(r.xAxisHeight=0),r}function O(t,e,a,i){var n=s({},{type:""},e.extra.bar),o={angle:0,xAxisHeight:a.xAxisHeight};o.ranges=function(t,e,a,i){var n,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:-1;n="stack"==i?w(t,e.categories.length):b(t);var s=[];n=n.filter((function(t){return"object"===(0,r.default)(t)&&null!==t?t.constructor.toString().indexOf("Array")>-1?null!==t:null!==t.value:null!==t})),n.map((function(t){"object"===(0,r.default)(t)?t.constructor.toString().indexOf("Array")>-1?"candle"==e.type?t.map((function(t){s.push(t)})):s.push(t[0]):s.push(t.value):s.push(t)}));var l=0,c=0;if(s.length>0&&(l=Math.min.apply(this,s),c=Math.max.apply(this,s)),o>-1?("number"===typeof e.xAxis.data[o].min&&(l=Math.min(e.xAxis.data[o].min,l)),"number"===typeof e.xAxis.data[o].max&&(c=Math.max(e.xAxis.data[o].max,c))):("number"===typeof e.xAxis.min&&(l=Math.min(e.xAxis.min,l)),"number"===typeof e.xAxis.max&&(c=Math.max(e.xAxis.max,c))),l===c){var d=c||10;c+=d}for(var h=l,u=c,f=[],p=(u-h)/e.xAxis.splitNumber,x=0;x<=e.xAxis.splitNumber;x++)f.push(h+p*x);return f}(t,e,a,n.type),o.rangesFormat=o.ranges.map((function(t){return t=l.toFixed(t,2),t}));var c=o.ranges.map((function(t){return t=l.toFixed(t,2),t}));o=Object.assign(o,X(c,e,a));var d=o.eachSpacing,h=c.map((function(t){return y(t,e.xAxis.fontSize*e.pix||a.fontSize,i)})),u=Math.max.apply(this,h);return u+2*a.xAxisTextPadding>d&&(o.angle=45*Math.PI/180,o.xAxisHeight=2*a.xAxisTextPadding+u*Math.sin(o.angle)),!0===e.xAxis.disabled&&(o.xAxisHeight=0),o}function I(t,e,a,i,n){var r=arguments.length>5&&void 0!==arguments[5]?arguments[5]:1,o=n.extra.radar||{};o.max=o.max||0;for(var s=Math.max(o.max,Math.max.apply(null,b(i))),l=[],c=function(n){var o=i[n],c={};c.color=o.color,c.legendShape=o.legendShape,c.pointShape=o.pointShape,c.data=[],o.data.forEach((function(i,n){var o={};o.angle=t[n],o.proportion=i/s,o.value=i,o.position=p(a*o.proportion*r*Math.cos(o.angle),a*o.proportion*r*Math.sin(o.angle),e),c.data.push(o)})),l.push(c)},d=0;d<i.length;d++)c(d);return l}function E(t,e){for(var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,i=0,n=0,r=0;r<t.length;r++){var o=t[r];o.data=null===o.data?0:o.data,i+=o.data}for(var s=0;s<t.length;s++){var l=t[s];l.data=null===l.data?0:l.data,l._proportion_=0===i?1/t.length*a:l.data/i*a,l._radius_=e}for(var c=0;c<t.length;c++){var d=t[c];d._start_=n,n+=2*d._proportion_*Math.PI}return t}function z(t,e,a,i){for(var n=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,r=0;r<t.length;r++)"funnel"==a.type?t[r].radius=t[r].data/t[0].data*e*n:t[r].radius=i*(t.length-r)/(i*t.length)*e*n,t[r]._proportion_=t[r].data/t[0].data;return t}function B(t,e,a,i){for(var n=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,r=0,o=0,s=[],l=0;l<t.length;l++){var c=t[l];c.data=null===c.data?0:c.data,r+=c.data,s.push(c.data)}for(var d=Math.min.apply(null,s),h=Math.max.apply(null,s),u=i-a,f=0;f<t.length;f++){var p=t[f];p.data=null===p.data?0:p.data,0===r?(p._proportion_=1/t.length*n,p._rose_proportion_=1/t.length*n):(p._proportion_=p.data/r*n,p._rose_proportion_="area"==e?1/t.length*n:p.data/r*n),p._radius_=a+u*((p.data-d)/(h-d))||i}for(var x=0;x<t.length;x++){var g=t[x];g._start_=o,o+=2*g._rose_proportion_*Math.PI}return t}function W(t,e){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;1==a&&(a=.999999);for(var i=0;i<t.length;i++){var n=t[i];n.data=null===n.data?0:n.data;var r=void 0;r="circle"==e.type?2:"ccw"==e.direction?e.startAngle<e.endAngle?2+e.startAngle-e.endAngle:e.startAngle-e.endAngle:e.endAngle<e.startAngle?2+e.endAngle-e.startAngle:e.startAngle-e.endAngle,n._proportion_=r*n.data*a+e.startAngle,"ccw"==e.direction&&(n._proportion_=e.startAngle-r*n.data*a),n._proportion_>=2&&(n._proportion_=n._proportion_%2)}return t}function R(t,e){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;1==a&&(a=.999999);for(var i=0;i<t.length;i++){var n=t[i];n.data=null===n.data?0:n.data;var r=void 0;r="circle"==e.type?2:e.endAngle<e.startAngle?2+e.endAngle-e.startAngle:e.startAngle-e.endAngle,n._proportion_=r*n.data*a+e.startAngle,n._proportion_>=2&&(n._proportion_=n._proportion_%2)}return t}function j(t,e,a){for(var i=e-a+1,n=e,r=0;r<t.length;r++)t[r].value=null===t[r].value?0:t[r].value,t[r]._startAngle_=n,t[r]._endAngle_=i*t[r].value+e,t[r]._endAngle_>=2&&(t[r]._endAngle_=t[r]._endAngle_%2),n=t[r]._endAngle_;return t}function G(t,e,a){for(var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1,n=0;n<t.length;n++){var r=t[n];if(r.data=null===r.data?0:r.data,"auto"==a.pointer.color){for(var o=0;o<e.length;o++)if(r.data<=e[o].value){r.color=e[o].color;break}}else r.color=a.pointer.color;var s=a.startAngle-a.endAngle+1;r._endAngle_=s*r.data+a.startAngle,r._oldAngle_=a.oldAngle,a.oldAngle<a.endAngle&&(r._oldAngle_+=2),r.data>=a.oldData?r._proportion_=(r._endAngle_-r._oldAngle_)*i+a.oldAngle:r._proportion_=r._oldAngle_-(r._oldAngle_-r._endAngle_)*i,r._proportion_>=2&&(r._proportion_=r._proportion_%2)}return t}function N(t,e,a,i,n,r){return t.map((function(t){if(null===t)return null;var n=0,o=0;return"mix"==r.type?(n=r.extra.mix.column.seriesGap*r.pix||0,o=r.extra.mix.column.categoryGap*r.pix||0):(n=r.extra.column.seriesGap*r.pix||0,o=r.extra.column.categoryGap*r.pix||0),n=Math.min(n,e/a),o=Math.min(o,e/a),t.width=Math.ceil((e-2*o-n*(a-1))/a),r.extra.mix&&r.extra.mix.column.width&&+r.extra.mix.column.width>0&&(t.width=Math.min(t.width,+r.extra.mix.column.width*r.pix)),r.extra.column&&r.extra.column.width&&+r.extra.column.width>0&&(t.width=Math.min(t.width,+r.extra.column.width*r.pix)),t.width<=0&&(t.width=1),t.x+=(i+.5-a/2)*(t.width+n),t}))}function Y(t,e,a,i,n,r){return t.map((function(t){if(null===t)return null;var n=0,o=0;return n=r.extra.bar.seriesGap*r.pix||0,o=r.extra.bar.categoryGap*r.pix||0,n=Math.min(n,e/a),o=Math.min(o,e/a),t.width=Math.ceil((e-2*o-n*(a-1))/a),r.extra.bar&&r.extra.bar.width&&+r.extra.bar.width>0&&(t.width=Math.min(t.width,+r.extra.bar.width*r.pix)),t.width<=0&&(t.width=1),t.y+=(i+.5-a/2)*(t.width+n),t}))}function U(t,e,a,i,n,r,o){var s=r.extra.column.categoryGap*r.pix||0;return t.map((function(t){return null===t?null:(t.width=e-2*s,r.extra.column&&r.extra.column.width&&+r.extra.column.width>0&&(t.width=Math.min(t.width,+r.extra.column.width*r.pix)),i>0&&(t.width-=o),t)}))}function V(t,e,a,i,n,r,o){var s=r.extra.column.categoryGap*r.pix||0;return t.map((function(t,a){return null===t?null:(t.width=Math.ceil(e-2*s),r.extra.column&&r.extra.column.width&&+r.extra.column.width>0&&(t.width=Math.min(t.width,+r.extra.column.width*r.pix)),t.width<=0&&(t.width=1),t)}))}function H(t,e,a,i,n,r,o){var s=r.extra.bar.categoryGap*r.pix||0;return t.map((function(t,a){return null===t?null:(t.width=Math.ceil(e-2*s),r.extra.bar&&r.extra.bar.width&&+r.extra.bar.width>0&&(t.width=Math.min(t.width,+r.extra.bar.width*r.pix)),t.width<=0&&(t.width=1),t)}))}function X(t,e,a){var i=e.width-e.area[1]-e.area[3],n=e.enableScroll?Math.min(e.xAxis.itemCount,t.length):t.length;("line"==e.type||"area"==e.type||"scatter"==e.type||"bubble"==e.type||"bar"==e.type)&&n>1&&"justify"==e.xAxis.boundaryGap&&(n-=1);var r=0;"mount"==e.type&&e.extra&&e.extra.mount&&e.extra.mount.widthRatio&&e.extra.mount.widthRatio>1&&(e.extra.mount.widthRatio>2&&(e.extra.mount.widthRatio=2),r=e.extra.mount.widthRatio-1,n+=r);var o=i/n,s=[],l=e.area[3],c=e.width-e.area[1];return t.forEach((function(t,e){s.push(l+r/2*o+e*o)})),"justify"!==e.xAxis.boundaryGap&&(!0===e.enableScroll?s.push(l+r*o+t.length*o):s.push(c)),{xAxisPoints:s,startX:l,endX:c,eachSpacing:o}}function q(t,e,a,i,n,r,o){var s=arguments.length>7&&void 0!==arguments[7]?arguments[7]:1,l=[],c=r.height-r.area[0]-r.area[2];return t.forEach((function(t,o){if(null===t)l.push(null);else{var d=[];t.forEach((function(t,l){var h={};h.x=i[o]+Math.round(n/2);var u=t.value||t,f=c*(u-e)/(a-e);f*=s,h.y=r.height-Math.round(f)-r.area[2],d.push(h)})),l.push(d)}})),l}function J(t,e,a,i,n,o,s){var l=arguments.length>7&&void 0!==arguments[7]?arguments[7]:1,c="center";"line"!=o.type&&"area"!=o.type&&"scatter"!=o.type&&"bubble"!=o.type||(c=o.xAxis.boundaryGap);var d=[],h=o.height-o.area[0]-o.area[2],u=o.width-o.area[1]-o.area[3];return t.forEach((function(t,s){if(null===t)d.push(null);else{var f={};f.color=t.color,f.x=i[s];var p,x,g,v=t;if("object"===(0,r.default)(t)&&null!==t)if(t.constructor.toString().indexOf("Array")>-1)p=[].concat(o.chartData.xAxisData.ranges),x=p.shift(),g=p.pop(),v=t[1],f.x=o.area[3]+u*(t[0]-x)/(g-x),"bubble"==o.type&&(f.r=t[2],f.t=t[3]);else v=t.value;"center"==c&&(f.x+=n/2);var m=h*(v-e)/(a-e);m*=l,f.y=o.height-m-o.area[2],d.push(f)}})),d}function Q(t,e,a,i,n,r,o){var s=arguments.length>7&&void 0!==arguments[7]?arguments[7]:1,l=[],c=r.height-r.area[0]-r.area[2],d=(r.width,r.area[1],r.area[3],n*o.widthRatio);return t.forEach((function(t,o){if(null===t)l.push(null);else{var h={};h.color=t.color,h.x=i[o],h.x+=n/2;var u=t.data,f=c*(u-e)/(a-e);f*=s,h.y=r.height-f-r.area[2],h.value=u,h.width=d,l.push(h)}})),l}function Z(t,e,a,i,n,o,s){var l=arguments.length>7&&void 0!==arguments[7]?arguments[7]:1,c=[],d=(o.height,o.area[0],o.area[2],o.width-o.area[1]-o.area[3]);return t.forEach((function(t,n){if(null===t)c.push(null);else{var s={};s.color=t.color,s.y=i[n];var h=t;"object"===(0,r.default)(t)&&null!==t&&(h=t.value);var u=d*(h-e)/(a-e);u*=l,s.height=u,s.value=h,s.x=u+o.area[3],c.push(s)}})),c}function K(t,e,a,i,n,o,s,l,c){var d=arguments.length>9&&void 0!==arguments[9]?arguments[9]:1,h=[],u=o.height-o.area[0]-o.area[2];return t.forEach((function(t,s){if(null===t)h.push(null);else{var f={};if(f.color=t.color,f.x=i[s]+Math.round(n/2),l>0){for(var p=0,x=0;x<=l;x++)p+=c[x].data[s];var g=p-t,v=u*(p-e)/(a-e),m=u*(g-e)/(a-e)}else{p=t;"object"===(0,r.default)(t)&&null!==t&&(p=t.value);v=u*(p-e)/(a-e),m=0}var y=m;v*=d,y*=d,f.y=o.height-Math.round(v)-o.area[2],f.y0=o.height-Math.round(y)-o.area[2],h.push(f)}})),h}function tt(t,e,a,i,n,o,s,l,c){var d=arguments.length>9&&void 0!==arguments[9]?arguments[9]:1,h=[],u=o.width-o.area[1]-o.area[3];return t.forEach((function(t,n){if(null===t)h.push(null);else{var s={};if(s.color=t.color,s.y=i[n],l>0){for(var f=0,p=0;p<=l;p++)f+=c[p].data[n];var x=f-t,g=u*(f-e)/(a-e),v=u*(x-e)/(a-e)}else{f=t;"object"===(0,r.default)(t)&&null!==t&&(f=t.value);g=u*(f-e)/(a-e),v=0}var m=v;g*=d,m*=d,s.height=g-m,s.x=o.area[3]+g,s.x0=o.area[3]+m,h.push(s)}})),h}function et(t,e,a,i,n){var o;o="stack"==i?w(t,e.categories.length):b(t);var s=[];o=o.filter((function(t){return"object"===(0,r.default)(t)&&null!==t?t.constructor.toString().indexOf("Array")>-1?null!==t:null!==t.value:null!==t})),o.map((function(t){"object"===(0,r.default)(t)?t.constructor.toString().indexOf("Array")>-1?"candle"==e.type?t.map((function(t){s.push(t)})):s.push(t[1]):s.push(t.value):s.push(t)}));var l=n.min||0,c=n.max||0;s.length>0&&(l=Math.min.apply(this,s),c=Math.max.apply(this,s)),l===c&&(0==c?c=10:l=0);for(var d=m(l,c),h=void 0===n.min||null===n.min?d.minRange:n.min,u=void 0===n.max||null===n.max?d.maxRange:n.max,f=(u-h)/e.yAxis.splitNumber,p=[],x=0;x<=e.yAxis.splitNumber;x++)p.push(h+f*x);return p.reverse()}function at(t,e,a,i){var n=s({},{type:""},e.extra.column),r=e.yAxis.data.length,o=new Array(r);if(r>0){for(var c=0;c<r;c++){o[c]=[];for(var d=0;d<t.length;d++)t[d].index==c&&o[c].push(t[d])}for(var h=new Array(r),u=new Array(r),f=new Array(r),p=function(t){var r=e.yAxis.data[t];1==e.yAxis.disabled&&(r.disabled=!0),"categories"===r.type?(r.formatter||(r.formatter=function(t,e,a){return t+(r.unit||"")}),r.categories=r.categories||e.categories,h[t]=r.categories):(r.formatter||(r.formatter=function(t,e,a){return l.toFixed(t,r.tofix||0)+(r.unit||"")}),h[t]=et(o[t],e,a,n.type,r,t));var s=r.fontSize*e.pix||a.fontSize;f[t]={position:r.position?r.position:"left",width:0},u[t]=h[t].map((function(a,n){return a=r.formatter(a,n,e),f[t].width=Math.max(f[t].width,y(a,s,i)+5),a}));var c=r.calibration?4*e.pix:0;f[t].width+=c+3*e.pix,!0===r.disabled&&(f[t].width=0)},x=0;x<r;x++)p(x)}else{h=new Array(1),u=new Array(1),f=new Array(1);"bar"===e.type?h[0]=e.categories:h[0]=et(t,e,a,n.type,{}),f[0]={position:"left",width:0},!0===e.yAxis.disabled?(f[0]={position:"left",width:0},e.yAxis.data[0]={disabled:!0}):(e.yAxis.data[0]={disabled:!1,position:"left",max:e.yAxis.max,min:e.yAxis.min,formatter:function(t,e,a){return t}},"bar"===e.type&&(e.yAxis.data[0].categories=e.categories,e.yAxis.data[0].type="categories"));var g=e.yAxis.fontSize*e.pix||a.fontSize;u[0]=h[0].map((function(t,a){return t=e.yAxis.data[0].formatter(t,a,e),f[0].width=Math.max(f[0].width,y(t,g,i)+5),t})),f[0].width+=3*e.pix}return{rangesFormat:u,ranges:h,yAxisWidth:f}}function it(t,e){!0!==e.rotateLock?(t.translate(e.height,0),t.rotate(90*Math.PI/180)):!0!==e._rotate_&&(t.translate(e.height,0),t.rotate(90*Math.PI/180),e._rotate_=!0)}function nt(t,e,a,i,n){if(i.beginPath(),"hollow"==n.dataPointShapeType?(i.setStrokeStyle(e),i.setFillStyle(n.background),i.setLineWidth(2*n.pix)):(i.setStrokeStyle("#ffffff"),i.setFillStyle(e),i.setLineWidth(1*n.pix)),"diamond"===a)t.forEach((function(t,e){null!==t&&(i.moveTo(t.x,t.y-4.5),i.lineTo(t.x-4.5,t.y),i.lineTo(t.x,t.y+4.5),i.lineTo(t.x+4.5,t.y),i.lineTo(t.x,t.y-4.5))}));else if("circle"===a)t.forEach((function(t,e){null!==t&&(i.moveTo(t.x+2.5*n.pix,t.y),i.arc(t.x,t.y,3*n.pix,0,2*Math.PI,!1))}));else if("square"===a)t.forEach((function(t,e){null!==t&&(i.moveTo(t.x-3.5,t.y-3.5),i.rect(t.x-3.5,t.y-3.5,7,7))}));else if("triangle"===a)t.forEach((function(t,e){null!==t&&(i.moveTo(t.x,t.y-4.5),i.lineTo(t.x-4.5,t.y+4.5),i.lineTo(t.x+4.5,t.y+4.5),i.lineTo(t.x,t.y-4.5))}));else if("none"===a)return;i.closePath(),i.fill(),i.stroke()}function rt(t,e,a,i){var n=t.title.fontSize||e.titleFontSize,r=t.subtitle.fontSize||e.subtitleFontSize,o=t.title.name||"",s=t.subtitle.name||"",l=t.title.color||t.fontColor,c=t.subtitle.color||t.fontColor,d=o?n:0,h=s?r:0;if(s){var u=y(s,r*t.pix,a),f=i.x-u/2+(t.subtitle.offsetX||0)*t.pix,p=i.y+r*t.pix/2+(t.subtitle.offsetY||0)*t.pix;o&&(p+=(d*t.pix+5)/2),a.beginPath(),a.setFontSize(r*t.pix),a.setFillStyle(c),a.fillText(s,f,p),a.closePath(),a.stroke()}if(o){var x=y(o,n*t.pix,a),g=i.x-x/2+(t.title.offsetX||0),v=i.y+n*t.pix/2+(t.title.offsetY||0)*t.pix;s&&(v-=(h*t.pix+5)/2),a.beginPath(),a.setFontSize(n*t.pix),a.setFillStyle(l),a.fillText(o,g,v),a.closePath(),a.stroke()}}function ot(t,e,a,i,n){var o=e.data,s=e.textOffset?e.textOffset:0;t.forEach((function(t,l){if(null!==t){i.beginPath();var c=e.textSize?e.textSize*n.pix:a.fontSize;i.setFontSize(c),i.setFillStyle(e.textColor||n.fontColor);var d=o[l];"object"===(0,r.default)(o[l])&&null!==o[l]&&(d=o[l].constructor.toString().indexOf("Array")>-1?o[l][1]:o[l].value);var h=e.formatter?e.formatter(d,l,e,n):d;i.setTextAlign("center"),i.fillText(String(h),t.x,t.y-4+s*n.pix),i.closePath(),i.stroke(),i.setTextAlign("left")}}))}function st(t,e,a,i,n){e.data;var r=e.textOffset?e.textOffset:0;t.forEach((function(t,o){if(null!==t){i.beginPath();var s=e[o].textSize?e[o].textSize*n.pix:a.fontSize;i.setFontSize(s),i.setFillStyle(e[o].textColor||n.fontColor);var l=t.value,c=e[o].formatter?e[o].formatter(l,o,e,n):l;i.setTextAlign("center"),i.fillText(String(c),t.x,t.y-4+r*n.pix),i.closePath(),i.stroke(),i.setTextAlign("left")}}))}function lt(t,e,a,i,n){var o=e.data;e.textOffset&&e.textOffset;t.forEach((function(t,s){if(null!==t){i.beginPath();var l=e.textSize?e.textSize*n.pix:a.fontSize;i.setFontSize(l),i.setFillStyle(e.textColor||n.fontColor);var c=o[s];"object"===(0,r.default)(o[s])&&null!==o[s]&&(c=o[s].value);var d=e.formatter?e.formatter(c,s,e,n):c;i.setTextAlign("left"),i.fillText(String(d),t.x+4*n.pix,t.y+l/2-3),i.closePath(),i.stroke()}}))}function ct(t,e,a,i,n,r){e-=t.width/2+t.labelOffset*i.pix,e=e<10?10:e;for(var o=t.startAngle-t.endAngle+1,s=o/t.splitLine.splitNumber,l=t.endNumber-t.startNumber,c=l/t.splitLine.splitNumber,d=t.startAngle,h=t.startNumber,u=0;u<t.splitLine.splitNumber+1;u++){var f={x:e*Math.cos(d*Math.PI),y:e*Math.sin(d*Math.PI)},p=t.formatter?t.formatter(h,u,i):h;f.x+=a.x-y(p,n.fontSize,r)/2,f.y+=a.y;var x=f.x,g=f.y;r.beginPath(),r.setFontSize(n.fontSize),r.setFillStyle(t.labelColor||i.fontColor),r.fillText(p,x,g+n.fontSize/2),r.closePath(),r.stroke(),d+=s,d>=2&&(d%=2),h+=c}}function dt(t,e,a,i,n,r){var o=i.extra.radar||{};t.forEach((function(t,s){if(!0===o.labelPointShow&&""!==i.categories[s]){var c={x:e*Math.cos(t),y:e*Math.sin(t)},d=p(c.x,c.y,a);r.setFillStyle(o.labelPointColor),r.beginPath(),r.arc(d.x,d.y,o.labelPointRadius*i.pix,0,2*Math.PI,!1),r.closePath(),r.fill()}var h={x:(e+n.radarLabelTextMargin*i.pix)*Math.cos(t),y:(e+n.radarLabelTextMargin*i.pix)*Math.sin(t)},u=p(h.x,h.y,a),f=u.x,x=u.y;l.approximatelyEqual(h.x,0)?f-=y(i.categories[s]||"",n.fontSize,r)/2:h.x<0&&(f-=y(i.categories[s]||"",n.fontSize,r)),r.beginPath(),r.setFontSize(n.fontSize),r.setFillStyle(o.labelColor||i.fontColor),r.fillText(i.categories[s]||"",f,x+n.fontSize/2),r.closePath(),r.stroke()}))}function ht(t,e,a,i,n,r){for(var o=a.pieChartLinePadding,s=[],c=null,d=t.map((function(a,i){var n=a.formatter?a.formatter(a,i,t,e):l.toFixed(100*a._proportion_.toFixed(4))+"%";n=a.labelText?a.labelText:n;var r=2*Math.PI-(a._start_+2*Math.PI*a._proportion_/2);a._rose_proportion_&&(r=2*Math.PI-(a._start_+2*Math.PI*a._rose_proportion_/2));var o=a.color,s=a._radius_;return{arc:r,text:n,color:o,radius:s,textColor:a.textColor,textSize:a.textSize,labelShow:a.labelShow}})),h=0;h<d.length;h++){var u=d[h],f=Math.cos(u.arc)*(u.radius+o),g=Math.sin(u.arc)*(u.radius+o),v=Math.cos(u.arc)*u.radius,m=Math.sin(u.arc)*u.radius,b=f>=0?f+a.pieChartTextPadding:f-a.pieChartTextPadding,w=g,_=y(u.text,u.textSize*e.pix||a.fontSize,i),C=w;c&&l.isSameXCoordinateArea(c.start,{x:b})&&(C=b>0?Math.min(w,c.start.y):f<0||w>0?Math.max(w,c.start.y):Math.min(w,c.start.y)),b<0&&(b-=_);var A={lineStart:{x:v,y:m},lineEnd:{x:f,y:g},start:{x:b,y:C},width:_,height:a.fontSize,text:u.text,color:u.color,textColor:u.textColor,textSize:u.textSize};c=x(A,c),s.push(c)}for(var S=0;S<s.length;S++)if(!1!==d[S].labelShow){var T=s[S],k=p(T.lineStart.x,T.lineStart.y,r),P=p(T.lineEnd.x,T.lineEnd.y,r),M=p(T.start.x,T.start.y,r);i.setLineWidth(1*e.pix),i.setFontSize(T.textSize*e.pix||a.fontSize),i.beginPath(),i.setStrokeStyle(T.color),i.setFillStyle(T.color),i.moveTo(k.x,k.y);var D=T.start.x<0?M.x+T.width:M.x,F=T.start.x<0?M.x-5:M.x+5;i.quadraticCurveTo(P.x,P.y,D,M.y),i.moveTo(k.x,k.y),i.stroke(),i.closePath(),i.beginPath(),i.moveTo(M.x+T.width,M.y),i.arc(D,M.y,2*e.pix,0,2*Math.PI),i.closePath(),i.fill(),i.beginPath(),i.setFontSize(T.textSize*e.pix||a.fontSize),i.setFillStyle(T.textColor||e.fontColor),i.fillText(T.text,F,M.y+3),i.closePath(),i.stroke(),i.closePath()}}function ut(t,e,a){for(var i=s({},{type:"solid",dashLength:4,data:[]},t.extra.markLine),n=t.area[3],r=t.width-t.area[1],o=function(t,e){for(var a,i,n=e.height-e.area[0]-e.area[2],r=0;r<t.length;r++){t[r].yAxisIndex=t[r].yAxisIndex?t[r].yAxisIndex:0;var o=[].concat(e.chartData.yAxisData.ranges[t[r].yAxisIndex]);a=o.pop(),i=o.shift();var s=n*(t[r].value-a)/(i-a);t[r].y=e.height-Math.round(s)-e.area[2]}return t}(i.data,t),l=0;l<o.length;l++){var d=s({},{lineColor:"#DE4A42",showLabel:!1,labelFontColor:"#666666",labelBgColor:"#DFE8FF",labelBgOpacity:.8,labelAlign:"left",labelOffsetX:0,labelOffsetY:0},o[l]);if("dash"==i.type&&a.setLineDash([i.dashLength,i.dashLength]),a.setStrokeStyle(d.lineColor),a.setLineWidth(1*t.pix),a.beginPath(),a.moveTo(n,d.y),a.lineTo(r,d.y),a.stroke(),a.setLineDash([]),d.showLabel){var h=d.labelText?d.labelText:d.value;a.setFontSize(e.fontSize);var u=y(h,e.fontSize,a),f=u+2*e.toolTipPadding,p="left"==d.labelAlign?t.area[3]-f:t.width-t.area[1];p+=d.labelOffsetX;var x=d.y-.5*e.fontSize-e.toolTipPadding;x+=d.labelOffsetY;var g=p+e.toolTipPadding;d.y;a.setFillStyle(c(d.labelBgColor,d.labelBgOpacity)),a.setStrokeStyle(d.labelBgColor),a.setLineWidth(1*t.pix),a.beginPath(),a.rect(p,x,f,e.fontSize+2*e.toolTipPadding),a.closePath(),a.stroke(),a.fill(),a.setFontSize(e.fontSize),a.setTextAlign("left"),a.setFillStyle(d.labelFontColor),a.fillText(String(h),g,x+e.fontSize+e.toolTipPadding/2),a.stroke(),a.setTextAlign("left")}}}function ft(t,e,a,i,n){var r=s({},{gridType:"solid",dashLength:4},t.extra.tooltip),o=t.area[3],l=t.width-t.area[1];if("dash"==r.gridType&&a.setLineDash([r.dashLength,r.dashLength]),a.setStrokeStyle(r.gridColor||"#cccccc"),a.setLineWidth(1*t.pix),a.beginPath(),a.moveTo(o,t.tooltip.offset.y),a.lineTo(l,t.tooltip.offset.y),a.stroke(),a.setLineDash([]),r.yAxisLabel)for(var d=function(t,e,a,i,n){for(var r=[].concat(a.chartData.yAxisData.ranges),o=a.height-a.area[0]-a.area[2],s=a.area[0],l=[],c=0;c<r.length;c++){var d=Math.max.apply(this,r[c]),h=Math.min.apply(this,r[c]),u=d-(d-h)*(t-s)/o;u=a.yAxis.data&&a.yAxis.data[c].formatter?a.yAxis.data[c].formatter(u,c,a):u.toFixed(0),l.push(String(u))}return l}(t.tooltip.offset.y,t.series,t),h=t.chartData.yAxisData.yAxisWidth,u=t.area[3],f=t.width-t.area[1],p=0;p<d.length;p++){a.setFontSize(e.fontSize);var x,g=y(d[p],e.fontSize,a),v=void 0,m=void 0;"left"==h[p].position?(v=u-(g+2*e.toolTipPadding)-2*t.pix,m=Math.max(v,v+g+2*e.toolTipPadding)):(v=f+2*t.pix,m=Math.max(v+h[p].width,v+g+2*e.toolTipPadding)),x=m-v;var b=v+(x-g)/2,w=t.tooltip.offset.y;a.beginPath(),a.setFillStyle(c(r.labelBgColor||e.toolTipBackground,r.labelBgOpacity||e.toolTipOpacity)),a.setStrokeStyle(r.labelBgColor||e.toolTipBackground),a.setLineWidth(1*t.pix),a.rect(v,w-.5*e.fontSize-e.toolTipPadding,x,e.fontSize+2*e.toolTipPadding),a.closePath(),a.stroke(),a.fill(),a.beginPath(),a.setFontSize(e.fontSize),a.setFillStyle(r.labelFontColor||t.fontColor),a.fillText(d[p],b,w+.5*e.fontSize),a.closePath(),a.stroke(),"left"==h[p].position?u-=h[p].width+t.yAxis.padding*t.pix:f+=h[p].width+t.yAxis.padding*t.pix}}function pt(t,e,a,i,n){var r=s({},{activeBgColor:"#000000",activeBgOpacity:.08,activeWidth:n},e.extra.column);r.activeWidth=r.activeWidth>n?n:r.activeWidth;var o=e.area[0],l=e.height-e.area[2];i.beginPath(),i.setFillStyle(c(r.activeBgColor,r.activeBgOpacity)),i.rect(t-r.activeWidth/2,o,r.activeWidth,l-o),i.closePath(),i.fill(),i.setFillStyle("#FFFFFF")}function xt(t,e,a,i,n){var r=s({},{activeBgColor:"#000000",activeBgOpacity:.08},e.extra.bar),o=e.area[3],l=e.width-e.area[1];i.beginPath(),i.setFillStyle(c(r.activeBgColor,r.activeBgOpacity)),i.rect(o,t-n/2,l-o,n),i.closePath(),i.fill(),i.setFillStyle("#FFFFFF")}function gt(t,e,a,i,n,r,o){var l=s({},{showBox:!0,showArrow:!0,showCategory:!1,bgColor:"#000000",bgOpacity:.7,borderColor:"#000000",borderWidth:0,borderRadius:0,borderOpacity:.7,fontColor:"#FFFFFF",splitLine:!0},a.extra.tooltip);1==l.showCategory&&a.categories&&t.unshift({text:a.categories[a.tooltip.index],color:null});var d=4*a.pix,h=5*a.pix,u=l.showArrow?8*a.pix:0,f=!1;"line"!=a.type&&"mount"!=a.type&&"area"!=a.type&&"candle"!=a.type&&"mix"!=a.type||1==l.splitLine&&function(t,e,a,i){var n=e.extra.tooltip||{};n.gridType=void 0==n.gridType?"solid":n.gridType,n.dashLength=void 0==n.dashLength?4:n.dashLength;var r=e.area[0],o=e.height-e.area[2];if("dash"==n.gridType&&i.setLineDash([n.dashLength,n.dashLength]),i.setStrokeStyle(n.gridColor||"#cccccc"),i.setLineWidth(1*e.pix),i.beginPath(),i.moveTo(t,r),i.lineTo(t,o),i.stroke(),i.setLineDash([]),n.xAxisLabel){var s=e.categories[e.tooltip.index];i.setFontSize(a.fontSize);var l=y(s,a.fontSize,i),d=t-.5*l,h=o+2*e.pix;i.beginPath(),i.setFillStyle(c(n.labelBgColor||a.toolTipBackground,n.labelBgOpacity||a.toolTipOpacity)),i.setStrokeStyle(n.labelBgColor||a.toolTipBackground),i.setLineWidth(1*e.pix),i.rect(d-a.toolTipPadding,h,l+2*a.toolTipPadding,a.fontSize+2*a.toolTipPadding),i.closePath(),i.stroke(),i.fill(),i.beginPath(),i.setFontSize(a.fontSize),i.setFillStyle(n.labelFontColor||e.fontColor),i.fillText(String(s),d,h+a.toolTipPadding+a.fontSize),i.closePath(),i.stroke()}}(a.tooltip.offset.x,a,i,n),e=s({x:0,y:0},e),e.y-=8*a.pix;var p=t.map((function(t){return y(t.text,i.fontSize,n)})),x=d+h+4*i.toolTipPadding+Math.max.apply(null,p),g=2*i.toolTipPadding+t.length*i.toolTipLineHeight;if(0!=l.showBox){e.x-Math.abs(a._scrollDistance_||0)+u+x>a.width&&(f=!0),g+e.y>a.height&&(e.y=a.height-g),n.beginPath(),n.setFillStyle(c(l.bgColor||i.toolTipBackground,l.bgOpacity||i.toolTipOpacity)),n.setLineWidth(l.borderWidth*a.pix),n.setStrokeStyle(c(l.borderColor,l.borderOpacity));var v=l.borderRadius;f?(x+u>a.width&&(e.x=a.width+Math.abs(a._scrollDistance_||0)+u+(x-a.width)),l.showArrow&&(n.moveTo(e.x,e.y+10*a.pix),n.lineTo(e.x-u,e.y+10*a.pix+5*a.pix)),n.arc(e.x-u-v,e.y+g-v,v,0,Math.PI/2,!1),n.arc(e.x-u-Math.round(x)+v,e.y+g-v,v,Math.PI/2,Math.PI,!1),n.arc(e.x-u-Math.round(x)+v,e.y+v,v,-Math.PI,-Math.PI/2,!1),n.arc(e.x-u-v,e.y+v,v,-Math.PI/2,0,!1),l.showArrow&&(n.lineTo(e.x-u,e.y+10*a.pix-5*a.pix),n.lineTo(e.x,e.y+10*a.pix))):(l.showArrow&&(n.moveTo(e.x,e.y+10*a.pix),n.lineTo(e.x+u,e.y+10*a.pix-5*a.pix)),n.arc(e.x+u+v,e.y+v,v,-Math.PI,-Math.PI/2,!1),n.arc(e.x+u+Math.round(x)-v,e.y+v,v,-Math.PI/2,0,!1),n.arc(e.x+u+Math.round(x)-v,e.y+g-v,v,0,Math.PI/2,!1),n.arc(e.x+u+v,e.y+g-v,v,Math.PI/2,Math.PI,!1),l.showArrow&&(n.lineTo(e.x+u,e.y+10*a.pix+5*a.pix),n.lineTo(e.x,e.y+10*a.pix))),n.closePath(),n.fill(),l.borderWidth>0&&n.stroke(),t.forEach((function(t,a){if(null!==t.color){n.beginPath(),n.setFillStyle(t.color);var r=e.x+u+2*i.toolTipPadding,o=e.y+(i.toolTipLineHeight-i.fontSize)/2+i.toolTipLineHeight*a+i.toolTipPadding+1;f&&(r=e.x-x-u+2*i.toolTipPadding),n.fillRect(r,o,d,i.fontSize),n.closePath(),n.fill()}})),t.forEach((function(t,a){var r=e.x+u+2*i.toolTipPadding+d+h;f&&(r=e.x-x-u+2*i.toolTipPadding+ +d+h);var o=e.y+(i.toolTipLineHeight-i.fontSize)/2+i.toolTipLineHeight*a+i.toolTipPadding;n.beginPath(),n.setFontSize(i.fontSize),n.setFillStyle(l.fontColor),n.fillText(t.text,r,o+i.fontSize),n.closePath(),n.stroke()}))}}function vt(t,e,a,i,n,r){var o=t.extra.tooltip||{};o.horizentalLine&&t.tooltip&&1===i&&("line"==t.type||"area"==t.type||"column"==t.type||"mount"==t.type||"candle"==t.type||"mix"==t.type)&&ft(t,e,a),a.save(),t._scrollDistance_&&0!==t._scrollDistance_&&!0===t.enableScroll&&a.translate(t._scrollDistance_,0),t.tooltip&&t.tooltip.textList&&t.tooltip.textList.length&&1===i&&gt(t.tooltip.textList,t.tooltip.offset,t,e,a),a.restore()}function mt(t,e,a,i){var n=e.chartData.xAxisData,r=n.xAxisPoints,o=n.startX,s=n.endX,l=n.eachSpacing,c="center";"bar"!=e.type&&"line"!=e.type&&"area"!=e.type&&"scatter"!=e.type&&"bubble"!=e.type||(c=e.xAxis.boundaryGap);var d=e.height-e.area[2],h=e.area[0];if(e.enableScroll&&e.xAxis.scrollShow){var u=e.height-e.area[2]+a.xAxisHeight,f=s-o,p=l*(r.length-1);"mount"==e.type&&e.extra&&e.extra.mount&&e.extra.mount.widthRatio&&e.extra.mount.widthRatio>1&&(e.extra.mount.widthRatio>2&&(e.extra.mount.widthRatio=2),p+=(e.extra.mount.widthRatio-1)*l);var x=f*f/p,g=0;e._scrollDistance_&&(g=-e._scrollDistance_*f/p),i.beginPath(),i.setLineCap("round"),i.setLineWidth(6*e.pix),i.setStrokeStyle(e.xAxis.scrollBackgroundColor||"#EFEBEF"),i.moveTo(o,u),i.lineTo(s,u),i.stroke(),i.closePath(),i.beginPath(),i.setLineCap("round"),i.setLineWidth(6*e.pix),i.setStrokeStyle(e.xAxis.scrollColor||"#A6A6A6"),i.moveTo(o+g,u),i.lineTo(o+g+x,u),i.stroke(),i.closePath(),i.setLineCap("butt")}if(i.save(),e._scrollDistance_&&0!==e._scrollDistance_&&i.translate(e._scrollDistance_,0),!0===e.xAxis.calibration&&(i.setStrokeStyle(e.xAxis.gridColor||"#cccccc"),i.setLineCap("butt"),i.setLineWidth(1*e.pix),r.forEach((function(t,a){a>0&&(i.beginPath(),i.moveTo(t-l/2,d),i.lineTo(t-l/2,d+3*e.pix),i.closePath(),i.stroke())}))),!0!==e.xAxis.disableGrid&&(i.setStrokeStyle(e.xAxis.gridColor||"#cccccc"),i.setLineCap("butt"),i.setLineWidth(1*e.pix),"dash"==e.xAxis.gridType&&i.setLineDash([e.xAxis.dashLength*e.pix,e.xAxis.dashLength*e.pix]),e.xAxis.gridEval=e.xAxis.gridEval||1,r.forEach((function(t,a){a%e.xAxis.gridEval==0&&(i.beginPath(),i.moveTo(t,d),i.lineTo(t,h),i.stroke())})),i.setLineDash([])),!0!==e.xAxis.disabled){var v=t.length;e.xAxis.labelCount&&(v=e.xAxis.itemCount?Math.ceil(t.length/e.xAxis.itemCount*e.xAxis.labelCount):e.xAxis.labelCount,v-=1);for(var m=Math.ceil(t.length/v),b=[],w=t.length,_=0;_<w;_++)_%m!==0?b.push(""):b.push(t[_]);b[w-1]=t[w-1];var C=e.xAxis.fontSize*e.pix||a.fontSize;0===a._xAxisTextAngle_?b.forEach((function(t,n){var o=e.xAxis.formatter?e.xAxis.formatter(t,n,e):t,s=-y(String(o),C,i)/2;"center"==c&&(s+=l/2);var h=0;e.xAxis.scrollShow&&(h=6*e.pix);var u=e._scrollDistance_||0,f="center"==c?r[n]+l/2:r[n];f-Math.abs(u)>=e.area[3]&&f-Math.abs(u)<=e.width-e.area[1]&&(i.beginPath(),i.setFontSize(C),i.setFillStyle(e.xAxis.fontColor||e.fontColor),i.fillText(String(o),r[n]+s,d+C+(a.xAxisHeight-h-C)/2),i.closePath(),i.stroke())})):b.forEach((function(t,n){var o=e.xAxis.formatter?e.xAxis.formatter(t):t,s=e._scrollDistance_||0,h="center"==c?r[n]+l/2:r[n];if(h-Math.abs(s)>=e.area[3]&&h-Math.abs(s)<=e.width-e.area[1]){i.save(),i.beginPath(),i.setFontSize(C),i.setFillStyle(e.xAxis.fontColor||e.fontColor);var u=y(String(o),C,i),f=r[n];"center"==c&&(f=r[n]+l/2);e.xAxis.scrollShow&&6*e.pix;var p=d+6*e.pix+C-C*Math.abs(Math.sin(a._xAxisTextAngle_));e.xAxis.rotateAngle<0?(f-=C/2,u=0):(f+=C/2,u=-u),i.translate(f,p),i.rotate(-1*a._xAxisTextAngle_),i.fillText(String(o),u,0),i.closePath(),i.stroke(),i.restore()}}))}i.restore(),e.xAxis.axisLine&&(i.beginPath(),i.setStrokeStyle(e.xAxis.axisLineColor),i.setLineWidth(1*e.pix),i.moveTo(o,e.height-e.area[2]),i.lineTo(s,e.height-e.area[2]),i.stroke())}function yt(t,e,a,i){if(!0!==e.yAxis.disableGrid){var n=e.height-e.area[0]-e.area[2],r=n/e.yAxis.splitNumber,o=e.area[3],s=e.chartData.xAxisData.xAxisPoints,l=e.chartData.xAxisData.eachSpacing,c=l*(s.length-1);"mount"==e.type&&e.extra&&e.extra.mount&&e.extra.mount.widthRatio&&e.extra.mount.widthRatio>1&&(e.extra.mount.widthRatio>2&&(e.extra.mount.widthRatio=2),c+=(e.extra.mount.widthRatio-1)*l);var d=o+c,h=[],u=1;!1===e.xAxis.axisLine&&(u=0);for(var f=u;f<e.yAxis.splitNumber+1;f++)h.push(e.height-e.area[2]-r*f);i.save(),e._scrollDistance_&&0!==e._scrollDistance_&&i.translate(e._scrollDistance_,0),"dash"==e.yAxis.gridType&&i.setLineDash([e.yAxis.dashLength*e.pix,e.yAxis.dashLength*e.pix]),i.setStrokeStyle(e.yAxis.gridColor),i.setLineWidth(1*e.pix),h.forEach((function(t,e){i.beginPath(),i.moveTo(o,t),i.lineTo(d,t),i.stroke()})),i.setLineDash([]),i.restore()}}function bt(t,e,a,i){if(!0!==e.yAxis.disabled){var n=e.height-e.area[0]-e.area[2],r=n/e.yAxis.splitNumber,o=e.area[3],s=e.width-e.area[1],l=e.height-e.area[2];i.beginPath(),i.setFillStyle(e.background),1==e.enableScroll&&e.xAxis.scrollPosition&&"left"!==e.xAxis.scrollPosition&&i.fillRect(0,0,o,l+2*e.pix),1==e.enableScroll&&e.xAxis.scrollPosition&&"right"!==e.xAxis.scrollPosition&&i.fillRect(s,0,e.width,l+2*e.pix),i.closePath(),i.stroke();var c=e.area[3],d=e.width-e.area[1],h=e.area[3]+(e.width-e.area[1]-e.area[3])/2;if(e.yAxis.data)for(var u=function(t){var o=e.yAxis.data[t];if(p=[],"categories"===o.type)for(var s=0;s<=o.categories.length;s++)p.push(e.area[0]+n/o.categories.length/2+n/o.categories.length*s);else for(var l=0;l<=e.yAxis.splitNumber;l++)p.push(e.area[0]+r*l);if(!0!==o.disabled){var u=e.chartData.yAxisData.rangesFormat[t],f=o.fontSize?o.fontSize*e.pix:a.fontSize,x=e.chartData.yAxisData.yAxisWidth[t],g=o.textAlign||"right";if(u.forEach((function(t,a){var n=p[a];i.beginPath(),i.setFontSize(f),i.setLineWidth(1*e.pix),i.setStrokeStyle(o.axisLineColor||"#cccccc"),i.setFillStyle(o.fontColor||e.fontColor);var r=0,s=4*e.pix;if("left"==x.position){switch(1==o.calibration&&(i.moveTo(c,n),i.lineTo(c-3*e.pix,n),s+=3*e.pix),g){case"left":i.setTextAlign("left"),r=c-x.width;break;case"right":i.setTextAlign("right"),r=c-s;break;default:i.setTextAlign("center"),r=c-x.width/2}i.fillText(String(t),r,n+f/2-3*e.pix)}else if("right"==x.position){switch(1==o.calibration&&(i.moveTo(d,n),i.lineTo(d+3*e.pix,n),s+=3*e.pix),g){case"left":i.setTextAlign("left"),r=d+s;break;case"right":i.setTextAlign("right"),r=d+x.width;break;default:i.setTextAlign("center"),r=d+x.width/2}i.fillText(String(t),r,n+f/2-3*e.pix)}else if("center"==x.position){switch(1==o.calibration&&(i.moveTo(h,n),i.lineTo(h-3*e.pix,n),s+=3*e.pix),g){case"left":i.setTextAlign("left"),r=h-x.width;break;case"right":i.setTextAlign("right"),r=h-s;break;default:i.setTextAlign("center"),r=h-x.width/2}i.fillText(String(t),r,n+f/2-3*e.pix)}i.closePath(),i.stroke(),i.setTextAlign("left")})),!1!==o.axisLine&&(i.beginPath(),i.setStrokeStyle(o.axisLineColor||"#cccccc"),i.setLineWidth(1*e.pix),"left"==x.position?(i.moveTo(c,e.height-e.area[2]),i.lineTo(c,e.area[0])):"right"==x.position?(i.moveTo(d,e.height-e.area[2]),i.lineTo(d,e.area[0])):"center"==x.position&&(i.moveTo(h,e.height-e.area[2]),i.lineTo(h,e.area[0])),i.stroke()),e.yAxis.showTitle){var v=o.titleFontSize*e.pix||a.fontSize,m=o.title;i.beginPath(),i.setFontSize(v),i.setFillStyle(o.titleFontColor||e.fontColor),"left"==x.position?i.fillText(m,c-y(m,v,i)/2+(o.titleOffsetX||0),e.area[0]-(10-(o.titleOffsetY||0))*e.pix):"right"==x.position?i.fillText(m,d-y(m,v,i)/2+(o.titleOffsetX||0),e.area[0]-(10-(o.titleOffsetY||0))*e.pix):"center"==x.position&&i.fillText(m,h-y(m,v,i)/2+(o.titleOffsetX||0),e.area[0]-(10-(o.titleOffsetY||0))*e.pix),i.closePath(),i.stroke()}"left"==x.position?c-=x.width+e.yAxis.padding*e.pix:d+=x.width+e.yAxis.padding*e.pix}},f=0;f<e.yAxis.data.length;f++){var p;u(f)}}}function wt(t,e,a,i,n){if(!1!==e.legend.show){var r=n.legendData,o=r.points,s=r.area,l=e.legend.padding*e.pix,c=e.legend.fontSize*e.pix,d=15*e.pix,h=5*e.pix,u=e.legend.itemGap*e.pix,f=Math.max(e.legend.lineHeight*e.pix,c);i.beginPath(),i.setLineWidth(e.legend.borderWidth*e.pix),i.setStrokeStyle(e.legend.borderColor),i.setFillStyle(e.legend.backgroundColor),i.moveTo(s.start.x,s.start.y),i.rect(s.start.x,s.start.y,s.width,s.height),i.closePath(),i.fill(),i.stroke(),o.forEach((function(t,n){var o,p=0;p=r.widthArr[n],o=r.heightArr[n];var x=0,g=0;if("top"==e.legend.position||"bottom"==e.legend.position){switch(e.legend.float){case"left":x=s.start.x+l;break;case"right":x=s.start.x+s.width-p;break;default:x=s.start.x+(s.width-p)/2}g=s.start.y+l+n*f}else p=0==n?0:r.widthArr[n-1],x=s.start.x+l+p,g=s.start.y+l+(s.height-o)/2;i.setFontSize(a.fontSize);for(var v=0;v<t.length;v++){var m=t[v];switch(m.area=[0,0,0,0],m.area[0]=x,m.area[1]=g,m.area[3]=g+f,i.beginPath(),i.setLineWidth(1*e.pix),i.setStrokeStyle(m.show?m.color:e.legend.hiddenColor),i.setFillStyle(m.show?m.color:e.legend.hiddenColor),m.legendShape){case"line":i.moveTo(x,g+.5*f-2*e.pix),i.fillRect(x,g+.5*f-2*e.pix,15*e.pix,4*e.pix);break;case"triangle":i.moveTo(x+7.5*e.pix,g+.5*f-5*e.pix),i.lineTo(x+2.5*e.pix,g+.5*f+5*e.pix),i.lineTo(x+12.5*e.pix,g+.5*f+5*e.pix),i.lineTo(x+7.5*e.pix,g+.5*f-5*e.pix);break;case"diamond":i.moveTo(x+7.5*e.pix,g+.5*f-5*e.pix),i.lineTo(x+2.5*e.pix,g+.5*f),i.lineTo(x+7.5*e.pix,g+.5*f+5*e.pix),i.lineTo(x+12.5*e.pix,g+.5*f),i.lineTo(x+7.5*e.pix,g+.5*f-5*e.pix);break;case"circle":i.moveTo(x+7.5*e.pix,g+.5*f),i.arc(x+7.5*e.pix,g+.5*f,5*e.pix,0,2*Math.PI);break;case"rect":i.moveTo(x,g+.5*f-5*e.pix),i.fillRect(x,g+.5*f-5*e.pix,15*e.pix,10*e.pix);break;case"square":i.moveTo(x+5*e.pix,g+.5*f-5*e.pix),i.fillRect(x+5*e.pix,g+.5*f-5*e.pix,10*e.pix,10*e.pix);break;case"none":break;default:i.moveTo(x,g+.5*f-5*e.pix),i.fillRect(x,g+.5*f-5*e.pix,15*e.pix,10*e.pix)}i.closePath(),i.fill(),i.stroke(),x+=d+h;var b=.5*f+.5*c-2,w=m.legendText?m.legendText:m.name;i.beginPath(),i.setFontSize(c),i.setFillStyle(m.show?e.legend.fontColor:e.legend.hiddenColor),i.fillText(w,x,g+b),i.closePath(),i.stroke(),"top"==e.legend.position||"bottom"==e.legend.position?(x+=y(w,c,i)+u,m.area[2]=x):(m.area[2]=x+y(w,c,i)+u,x-=d+h,g+=f)}}))}}function _t(t,e,a,i){var n=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,r=s({},{activeOpacity:.5,activeRadius:10,offsetAngle:0,labelWidth:15,ringWidth:30,customRadius:0,border:!1,borderWidth:2,borderColor:"#FFFFFF",centerColor:"#FFFFFF",linearType:"none",customColor:[]},"pie"==e.type?e.extra.pie:e.extra.ring),o={x:e.area[3]+(e.width-e.area[1]-e.area[3])/2,y:e.area[0]+(e.height-e.area[0]-e.area[2])/2};0==a.pieChartLinePadding&&(a.pieChartLinePadding=r.activeRadius*e.pix);var l=Math.min((e.width-e.area[1]-e.area[3])/2-a.pieChartLinePadding-a.pieChartTextPadding-a._pieTextMaxLength_,(e.height-e.area[0]-e.area[2])/2-a.pieChartLinePadding-a.pieChartTextPadding);l=l<10?10:l,r.customRadius>0&&(l=r.customRadius*e.pix),t=E(t,l,n);var d=r.activeRadius*e.pix;if(r.customColor=v(r.linearType,r.customColor,t,a),t=t.map((function(t){return t._start_+=r.offsetAngle*Math.PI/180,t})),t.forEach((function(t,a){e.tooltip&&e.tooltip.index==a&&(i.beginPath(),i.setFillStyle(c(t.color,r.activeOpacity||.5)),i.moveTo(o.x,o.y),i.arc(o.x,o.y,t._radius_+d,t._start_,t._start_+2*t._proportion_*Math.PI),i.closePath(),i.fill()),i.beginPath(),i.setLineWidth(r.borderWidth*e.pix),i.lineJoin="round",i.setStrokeStyle(r.borderColor);var n,s=t.color;"custom"==r.linearType&&(n=i.createCircularGradient?i.createCircularGradient(o.x,o.y,t._radius_):i.createRadialGradient(o.x,o.y,0,o.x,o.y,t._radius_),n.addColorStop(0,c(r.customColor[t.linearIndex],1)),n.addColorStop(1,c(t.color,1)),s=n);i.setFillStyle(s),i.moveTo(o.x,o.y),i.arc(o.x,o.y,t._radius_,t._start_,t._start_+2*t._proportion_*Math.PI),i.closePath(),i.fill(),1==r.border&&i.stroke()})),"ring"===e.type){var h=.6*l;"number"===typeof r.ringWidth&&r.ringWidth>0&&(h=Math.max(0,l-r.ringWidth*e.pix)),i.beginPath(),i.setFillStyle(r.centerColor),i.moveTo(o.x,o.y),i.arc(o.x,o.y,h,0,2*Math.PI),i.closePath(),i.fill()}return!1!==e.dataLabel&&1===n&&ht(t,e,a,i,0,o),1===n&&"ring"===e.type&&rt(e,a,i,o),{center:o,radius:l,series:t}}function Ct(t,e){var a=Array(2),i=20037508.34*t/180,n=Math.log(Math.tan((90+e)*Math.PI/360))/(Math.PI/180);return n=20037508.34*n/180,a[0]=i,a[1]=n,a}function At(t,e,a,i,n,r){return{x:(e-a.xMin)*i+n,y:(a.yMax-t)*i+r}}function St(t,e,a){if(e[1]==a[1])return!1;if(e[1]>t[1]&&a[1]>t[1])return!1;if(e[1]<t[1]&&a[1]<t[1])return!1;if(e[1]==t[1]&&a[1]>t[1])return!1;if(a[1]==t[1]&&e[1]>t[1])return!1;if(e[0]<t[0]&&a[1]<t[1])return!1;var i=a[0]-(a[0]-e[0])*(a[1]-t[1])/(a[1]-e[1]);return!(i<t[0])}function Tt(t,e,a){for(var i=0,n=0;n<e.length;n++){var r=e[n][0];1==e.length&&(r=e[n][0]);for(var o=0;o<r.length-1;o++){var s=r[o],l=r[o+1];a&&(s=Ct(r[o][0],r[o][1]),l=Ct(r[o+1][0],r[o+1][1])),St(t,s,l)&&(i+=1)}}return i%2==1}function kt(t,e,a){a=0==a?1:a;for(var i=[],n=0;n<a;n++)i[n]=Math.random();return Math.floor(i.reduce((function(t,e){return t+e}))/a*(e-t))+t}function Pt(t,e,a,i){for(var n=!1,r=0;r<e.length;r++)if(e[r].area){if(!(t[3]<e[r].area[1]||t[0]>e[r].area[2]||t[1]>e[r].area[3]||t[2]<e[r].area[0])){n=!0;break}if(t[0]<0||t[1]<0||t[2]>a||t[3]>i){n=!0;break}n=!1}return n}function Mt(t,e,a){var i=t.series;switch(e){case"normal":for(var n=0;n<i.length;n++){var r=i[n].name,o=i[n].textSize*t.pix,s=y(r,o,a),l=void 0,c=void 0,d=void 0,h=0;while(1){h++,l=kt(-t.width/2,t.width/2,5)-s/2,c=kt(-t.height/2,t.height/2,5)+o/2,d=[l-5+t.width/2,c-5-o+t.height/2,l+s+5+t.width/2,c+5+t.height/2];var u=Pt(d,i,t.width,t.height);if(!u)break;if(1e3==h){d=[-100,-100,-100,-100];break}}i[n].area=d}break;case"vertical":for(var f=function(){return Math.random()>.7},p=0;p<i.length;p++){var x=i[p].name,g=i[p].textSize*t.pix,v=y(x,g,a),m=f(),b=void 0,w=void 0,_=void 0,C=void 0,A=0;while(1){A++;var S=void 0;if(m?(b=kt(-t.width/2,t.width/2,5)-v/2,w=kt(-t.height/2,t.height/2,5)+g/2,_=[w-5-v+t.width/2,-b-5+t.height/2,w+5+t.width/2,-b+g+5+t.height/2],C=[t.width-(t.width/2-t.height/2)-(-b+g+5+t.height/2)-5,t.height/2-t.width/2+(w-5-v+t.width/2)-5,t.width-(t.width/2-t.height/2)-(-b+g+5+t.height/2)+g,t.height/2-t.width/2+(w-5-v+t.width/2)+v+5],S=Pt(C,i,t.height,t.width)):(b=kt(-t.width/2,t.width/2,5)-v/2,w=kt(-t.height/2,t.height/2,5)+g/2,_=[b-5+t.width/2,w-5-g+t.height/2,b+v+5+t.width/2,w+5+t.height/2],S=Pt(_,i,t.width,t.height)),!S)break;if(1e3==A){_=[-1e3,-1e3,-1e3,-1e3];break}}m?(i[p].area=C,i[p].areav=_):i[p].area=_,i[p].rotate=m}break}return i}function Dt(t,e,a,i,n,r,o){for(var s=0;s<t.length;s++){var c=t[s];if(!1!==c.labelShow){var d=void 0,h=void 0,u=void 0,f=void 0,p=c.formatter?c.formatter(c,s,t,e):l.toFixed(100*c._proportion_)+"%";p=c.labelText?c.labelText:p,"right"==n&&(d=s==t.length-1?(c.funnelArea[2]+o.x)/2:(c.funnelArea[2]+t[s+1].funnelArea[2])/2,h=d+2*r,u=c.funnelArea[1]+i/2,f=c.textSize*e.pix||e.fontSize*e.pix,a.setLineWidth(1*e.pix),a.setStrokeStyle(c.color),a.setFillStyle(c.color),a.beginPath(),a.moveTo(d,u),a.lineTo(h,u),a.stroke(),a.closePath(),a.beginPath(),a.moveTo(h,u),a.arc(h,u,2*e.pix,0,2*Math.PI),a.closePath(),a.fill(),a.beginPath(),a.setFontSize(f),a.setFillStyle(c.textColor||e.fontColor),a.fillText(p,h+5,u+f/2-2),a.closePath(),a.stroke(),a.closePath()),"left"==n&&(d=s==t.length-1?(c.funnelArea[0]+o.x)/2:(c.funnelArea[0]+t[s+1].funnelArea[0])/2,h=d-2*r,u=c.funnelArea[1]+i/2,f=c.textSize*e.pix||e.fontSize*e.pix,a.setLineWidth(1*e.pix),a.setStrokeStyle(c.color),a.setFillStyle(c.color),a.beginPath(),a.moveTo(d,u),a.lineTo(h,u),a.stroke(),a.closePath(),a.beginPath(),a.moveTo(h,u),a.arc(h,u,2,0,2*Math.PI),a.closePath(),a.fill(),a.beginPath(),a.setFontSize(f),a.setFillStyle(c.textColor||e.fontColor),a.fillText(p,h-5-y(p,f,a),u+f/2-2),a.closePath(),a.stroke(),a.closePath())}}}function Ft(t,e,a,i,n,r,o){for(var s=0;s<t.length;s++){var l=t[s],c=void 0,d=void 0;l.centerText&&(c=l.funnelArea[1]+i/2,d=l.centerTextSize*e.pix||e.fontSize*e.pix,a.beginPath(),a.setFontSize(d),a.setFillStyle(l.centerTextColor||"#FFFFFF"),a.fillText(l.centerText,o.x-y(l.centerText,d,a)/2,c+d/2-2),a.closePath(),a.stroke(),a.closePath())}}function $t(t,e){e.draw()}var Lt={easeIn:function(t){return Math.pow(t,3)},easeOut:function(t){return Math.pow(t-1,3)+1},easeInOut:function(t){return(t/=.5)<1?.5*Math.pow(t,3):.5*(Math.pow(t-2,3)+2)},linear:function(t){return t}};function Ot(t){this.isStop=!1,t.duration="undefined"===typeof t.duration?1e3:t.duration,t.timing=t.timing||"easeInOut";var e=function(){return"undefined"!==typeof setTimeout?function(t,e){setTimeout((function(){var e=+new Date;t(e)}),e)}:"undefined"!==typeof requestAnimationFrame?requestAnimationFrame:function(t){t(null)}}(),a=null,i=function(n){if(null===n||!0===this.isStop)return t.onProcess&&t.onProcess(1),void(t.onAnimationFinish&&t.onAnimationFinish());if(null===a&&(a=n),n-a<t.duration){var r=(n-a)/t.duration,o=Lt[t.timing];r=o(r),t.onProcess&&t.onProcess(r),e(i,17)}else t.onProcess&&t.onProcess(1),t.onAnimationFinish&&t.onAnimationFinish()};i=i.bind(this),e(i,17)}function It(t,e,a,i){var r=this,o=this,d=e.series;"pie"!==t&&"ring"!==t&&"mount"!==t&&"rose"!==t&&"funnel"!==t||(d=function(t,e,a){var i=[];if(t.length>0&&t[0].data.constructor.toString().indexOf("Array")>-1){e._pieSeries_=t;for(var n=t[0].data,r=0;r<n.length;r++)n[r].formatter=t[0].formatter,n[r].data=n[r].value,i.push(n[r]);e.series=i}else i=t;return i}(d,e));var h=e.categories;if("mount"===t){h=[];for(var u=0;u<d.length;u++)!1!==d[u].show&&h.push(d[u].name);e.categories=h}d=g(d,e,a);var x=e.animation?e.duration:0;o.animationInstance&&o.animationInstance.stop();var m=null;if("candle"==t){var w=s({},e.extra.candle.average);w.show?(m=function(t,e,a,i){for(var n=[],r=0;r<t.length;r++){for(var o={data:[],name:e[r],color:a[r]},s=0,l=i.length;s<l;s++)if(s<t[r])o.data.push(null);else{for(var c=0,d=0;d<t[r];d++)c+=i[s-d][1];o.data.push(+(c/t[r]).toFixed(3))}n.push(o)}return n}(w.day,w.name,w.color,d[0].data),m=g(m,e,a),e.seriesMA=m):m=e.seriesMA?e.seriesMA=g(e.seriesMA,e,a):d}else m=d;e._series_=d=M(d),e.area=new Array(4);for(var _=0;_<4;_++)e.area[_]=e.padding[_]*e.pix;var C=function(t,e,a,i,n){var r={area:{start:{x:0,y:0},end:{x:0,y:0},width:0,height:0,wholeWidth:0,wholeHeight:0},points:[],widthArr:[],heightArr:[]};if(!1===e.legend.show)return i.legendData=r,r;var o=e.legend.padding*e.pix,s=e.legend.margin*e.pix,l=e.legend.fontSize?e.legend.fontSize*e.pix:a.fontSize,c=15*e.pix,d=5*e.pix,h=Math.max(e.legend.lineHeight*e.pix,l);if("top"==e.legend.position||"bottom"==e.legend.position){for(var u=[],f=0,p=[],x=[],g=0;g<t.length;g++){var v=t[g],m=v.legendText?v.legendText:v.name,b=c+d+y(m||"undefined",l,n)+e.legend.itemGap*e.pix;f+b>e.width-e.area[1]-e.area[3]?(u.push(x),p.push(f-e.legend.itemGap*e.pix),f=b,x=[v]):(f+=b,x.push(v))}if(x.length){u.push(x),p.push(f-e.legend.itemGap*e.pix),r.widthArr=p;var w=Math.max.apply(null,p);switch(e.legend.float){case"left":r.area.start.x=e.area[3],r.area.end.x=e.area[3]+w+2*o;break;case"right":r.area.start.x=e.width-e.area[1]-w-2*o,r.area.end.x=e.width-e.area[1];break;default:r.area.start.x=(e.width-w)/2-o,r.area.end.x=(e.width+w)/2+o}r.area.width=w+2*o,r.area.wholeWidth=w+2*o,r.area.height=u.length*h+2*o,r.area.wholeHeight=u.length*h+2*o+2*s,r.points=u}}else{var _=t.length,C=e.height-e.area[0]-e.area[2]-2*s-2*o,A=Math.min(Math.floor(C/h),_);switch(r.area.height=A*h+2*o,r.area.wholeHeight=A*h+2*o,e.legend.float){case"top":r.area.start.y=e.area[0]+s,r.area.end.y=e.area[0]+s+r.area.height;break;case"bottom":r.area.start.y=e.height-e.area[2]-s-r.area.height,r.area.end.y=e.height-e.area[2]-s;break;default:r.area.start.y=(e.height-r.area.height)/2,r.area.end.y=(e.height+r.area.height)/2}for(var S=_%A===0?_/A:Math.floor(_/A+1),T=[],k=0;k<S;k++){var P=t.slice(k*A,k*A+A);T.push(P)}if(r.points=T,T.length){for(var M=0;M<T.length;M++){for(var D=T[M],F=0,$=0;$<D.length;$++){var L=c+d+y(D[$].name||"undefined",l,n)+e.legend.itemGap*e.pix;L>F&&(F=L)}r.widthArr.push(F),r.heightArr.push(D.length*h+2*o)}for(var O=0,I=0;I<r.widthArr.length;I++)O+=r.widthArr[I];r.area.width=O-e.legend.itemGap*e.pix+2*o,r.area.wholeWidth=r.area.width+o}}switch(e.legend.position){case"top":r.area.start.y=e.area[0]+s,r.area.end.y=e.area[0]+s+r.area.height;break;case"bottom":r.area.start.y=e.height-e.area[2]-r.area.height-s,r.area.end.y=e.height-e.area[2]-s;break;case"left":r.area.start.x=e.area[3],r.area.end.x=e.area[3]+r.area.width;break;case"right":r.area.start.x=e.width-e.area[1]-r.area.width,r.area.end.x=e.width-e.area[1];break}return i.legendData=r,r}(m,e,a,e.chartData,i),T=C.area.wholeHeight,k=C.area.wholeWidth;switch(e.legend.position){case"top":e.area[0]+=T;break;case"bottom":e.area[2]+=T;break;case"left":e.area[3]+=k;break;case"right":e.area[1]+=k;break}var P={},D=0;if("line"===e.type||"column"===e.type||"mount"===e.type||"area"===e.type||"mix"===e.type||"candle"===e.type||"scatter"===e.type||"bubble"===e.type||"bar"===e.type){if(P=at(d,e,a,i),D=P.yAxisWidth,e.yAxis.showTitle){for(var F=0,et=0;et<e.yAxis.data.length;et++)F=Math.max(F,e.yAxis.data[et].titleFontSize?e.yAxis.data[et].titleFontSize*e.pix:a.fontSize);e.area[0]+=F}for(var ft=0,gt=0,St=0;St<D.length;St++)"left"==D[St].position?(e.area[3]+=gt>0?D[St].width+e.yAxis.padding*e.pix:D[St].width,gt+=1):"right"==D[St].position&&(e.area[1]+=ft>0?D[St].width+e.yAxis.padding*e.pix:D[St].width,ft+=1)}else a.yAxisWidth=D;if(e.chartData.yAxisData=P,e.categories&&e.categories.length&&"radar"!==e.type&&"gauge"!==e.type&&"bar"!==e.type){e.chartData.xAxisData=X(e.categories,e);var Tt=L(e.categories,e,a,e.chartData.xAxisData.eachSpacing,i),kt=Tt.xAxisHeight,Pt=Tt.angle;a.xAxisHeight=kt,a._xAxisTextAngle_=Pt,e.area[2]+=kt,e.chartData.categoriesData=Tt}else if("line"===e.type||"area"===e.type||"scatter"===e.type||"bubble"===e.type||"bar"===e.type){e.chartData.xAxisData=O(d,e,a,i),h=e.chartData.xAxisData.rangesFormat;var Lt=L(h,e,a,e.chartData.xAxisData.eachSpacing,i),It=Lt.xAxisHeight,Et=Lt.angle;a.xAxisHeight=It,a._xAxisTextAngle_=Et,e.area[2]+=It,e.chartData.categoriesData=Lt}else e.chartData.xAxisData={xAxisPoints:[]};if(e.enableScroll&&"right"==e.xAxis.scrollAlign&&void 0===e._scrollDistance_){var zt,Bt=e.chartData.xAxisData.xAxisPoints,Wt=e.chartData.xAxisData.startX,Rt=e.chartData.xAxisData.endX,jt=e.chartData.xAxisData.eachSpacing,Gt=jt*(Bt.length-1),Nt=Rt-Wt;zt=Nt-Gt,o.scrollOption.currentOffset=zt,o.scrollOption.startTouchX=zt,o.scrollOption.distance=0,o.scrollOption.lastMoveTime=0,e._scrollDistance_=zt}switch("pie"!==t&&"ring"!==t&&"rose"!==t||(a._pieTextMaxLength_=!1===e.dataLabel?0:function(t,e,a,i){t=E(t);for(var n=0,r=0;r<t.length;r++){var o=t[r],s=o.formatter?o.formatter(+o._proportion_.toFixed(2)):l.toFixed(100*o._proportion_)+"%";n=Math.max(n,y(s,o.textSize*i.pix||e.fontSize,a))}return n}(m,a,i,e)),t){case"word":this.animationInstance=new Ot({timing:e.timing,duration:x,onProcess:function(t){i.clearRect(0,0,e.width,e.height),e.rotate&&it(i,e),function(t,e,a,i){var n=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,r=s({},{type:"normal",autoColors:!0},e.extra.word);e.chartData.wordCloudData||(e.chartData.wordCloudData=Mt(e,r.type,i)),i.beginPath(),i.setFillStyle(e.background),i.rect(0,0,e.width,e.height),i.fill(),i.save();var o=e.chartData.wordCloudData;i.translate(e.width/2,e.height/2);for(var l=0;l<o.length;l++){i.save(),o[l].rotate&&i.rotate(90*Math.PI/180);var c=o[l].name,d=o[l].textSize*e.pix,h=y(c,d,i);i.beginPath(),i.setStrokeStyle(o[l].color),i.setFillStyle(o[l].color),i.setFontSize(d),o[l].rotate?o[l].areav[0]>0&&(e.tooltip&&e.tooltip.index==l?i.strokeText(c,(o[l].areav[0]+5-e.width/2)*n-h*(1-n)/2,(o[l].areav[1]+5+d-e.height/2)*n):i.fillText(c,(o[l].areav[0]+5-e.width/2)*n-h*(1-n)/2,(o[l].areav[1]+5+d-e.height/2)*n)):o[l].area[0]>0&&(e.tooltip&&e.tooltip.index==l?i.strokeText(c,(o[l].area[0]+5-e.width/2)*n-h*(1-n)/2,(o[l].area[1]+5+d-e.height/2)*n):i.fillText(c,(o[l].area[0]+5-e.width/2)*n-h*(1-n)/2,(o[l].area[1]+5+d-e.height/2)*n)),i.stroke(),i.restore()}i.restore()}(d,e,a,i,t),$t(0,i)},onAnimationFinish:function(){o.uevent.trigger("renderComplete")}});break;case"map":i.clearRect(0,0,e.width,e.height),function(t,e,a,i){var n,r,o=s({},{border:!0,mercator:!1,borderWidth:1,active:!0,borderColor:"#666666",fillOpacity:.6,activeBorderColor:"#f04864",activeFillColor:"#facc14",activeFillOpacity:1},e.extra.map),l=t,d=function(t){for(var e,a={xMin:180,xMax:0,yMin:90,yMax:0},i=0;i<t.length;i++)for(var n=t[i].geometry.coordinates,r=0;r<n.length;r++){e=n[r],1==e.length&&(e=e[0]);for(var o=0;o<e.length;o++){var s=e[o][0],l=e[o][1],c={x:s,y:l};a.xMin=a.xMin<c.x?a.xMin:c.x,a.xMax=a.xMax>c.x?a.xMax:c.x,a.yMin=a.yMin<c.y?a.yMin:c.y,a.yMax=a.yMax>c.y?a.yMax:c.y}}return a}(l);if(o.mercator){var h=Ct(d.xMax,d.yMax),u=Ct(d.xMin,d.yMin);d.xMax=h[0],d.yMax=h[1],d.xMin=u[0],d.yMin=u[1]}for(var f=e.width/Math.abs(d.xMax-d.xMin),p=e.height/Math.abs(d.yMax-d.yMin),x=f<p?f:p,g=e.width/2-Math.abs(d.xMax-d.xMin)/2*x,v=e.height/2-Math.abs(d.yMax-d.yMin)/2*x,m=0;m<l.length;m++){i.beginPath(),i.setLineWidth(o.borderWidth*e.pix),i.setStrokeStyle(o.borderColor),i.setFillStyle(c(t[m].color,t[m].fillOpacity||o.fillOpacity)),1==o.active&&e.tooltip&&e.tooltip.index==m&&(i.setStrokeStyle(o.activeBorderColor),i.setFillStyle(c(o.activeFillColor,o.activeFillOpacity)));for(var b=l[m].geometry.coordinates,w=0;w<b.length;w++){n=b[w],1==n.length&&(n=n[0]);for(var _=0;_<n.length;_++){var C=Array(2);C=o.mercator?Ct(n[_][0],n[_][1]):n[_],r=At(C[1],C[0],d,x,g,v),0===_?(i.beginPath(),i.moveTo(r.x,r.y)):i.lineTo(r.x,r.y)}i.fill(),1==o.border&&i.stroke()}}if(1==e.dataLabel)for(m=0;m<l.length;m++){var A=l[m].properties.centroid;if(A){o.mercator&&(A=Ct(l[m].properties.centroid[0],l[m].properties.centroid[1])),r=At(A[1],A[0],d,x,g,v);var S=l[m].textSize*e.pix||a.fontSize,T=l[m].textColor||e.fontColor;o.active&&o.activeTextColor&&e.tooltip&&e.tooltip.index==m&&(T=o.activeTextColor);var k=l[m].properties.name;i.beginPath(),i.setFontSize(S),i.setFillStyle(T),i.fillText(k,r.x-y(k,S,i)/2,r.y+S/2),i.closePath(),i.stroke()}}e.chartData.mapData={bounds:d,scale:x,xoffset:g,yoffset:v,mercator:o.mercator},vt(e,a,i,1),i.draw()}(d,e,a,i),setTimeout((function(){r.uevent.trigger("renderComplete")}),50);break;case"funnel":this.animationInstance=new Ot({timing:e.timing,duration:x,onProcess:function(t){i.clearRect(0,0,e.width,e.height),e.rotate&&it(i,e),e.chartData.funnelData=function(t,e,a,i){var n=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,r=s({},{type:"funnel",activeWidth:10,activeOpacity:.3,border:!1,borderWidth:2,borderColor:"#FFFFFF",fillOpacity:1,minSize:0,labelAlign:"right",linearType:"none",customColor:[]},e.extra.funnel),o=(e.height-e.area[0]-e.area[2])/t.length,l={x:e.area[3]+(e.width-e.area[1]-e.area[3])/2,y:e.height-e.area[2]},d=r.activeWidth*e.pix,h=Math.min((e.width-e.area[1]-e.area[3])/2-d,(e.height-e.area[0]-e.area[2])/2-d),u=z(t,h,r,o,n);if(i.save(),i.translate(l.x,l.y),r.customColor=v(r.linearType,r.customColor,t,a),"pyramid"==r.type)for(var f=0;f<u.length;f++){if(f==u.length-1){e.tooltip&&e.tooltip.index==f&&(i.beginPath(),i.setFillStyle(c(u[f].color,r.activeOpacity)),i.moveTo(-d,-o),i.lineTo(-u[f].radius-d,0),i.lineTo(u[f].radius+d,0),i.lineTo(d,-o),i.lineTo(-d,-o),i.closePath(),i.fill()),u[f].funnelArea=[l.x-u[f].radius,l.y-o*(f+1),l.x+u[f].radius,l.y-o*f],i.beginPath(),i.setLineWidth(r.borderWidth*e.pix),i.setStrokeStyle(r.borderColor);var p=c(u[f].color,r.fillOpacity);if("custom"==r.linearType){var x=i.createLinearGradient(u[f].radius,-o,-u[f].radius,-o);x.addColorStop(0,c(u[f].color,r.fillOpacity)),x.addColorStop(.5,c(r.customColor[u[f].linearIndex],r.fillOpacity)),x.addColorStop(1,c(u[f].color,r.fillOpacity)),p=x}i.setFillStyle(p),i.moveTo(0,-o),i.lineTo(-u[f].radius,0),i.lineTo(u[f].radius,0),i.lineTo(0,-o),i.closePath(),i.fill(),1==r.border&&i.stroke()}else{e.tooltip&&e.tooltip.index==f&&(i.beginPath(),i.setFillStyle(c(u[f].color,r.activeOpacity)),i.moveTo(0,0),i.lineTo(-u[f].radius-d,0),i.lineTo(-u[f+1].radius-d,-o),i.lineTo(u[f+1].radius+d,-o),i.lineTo(u[f].radius+d,0),i.lineTo(0,0),i.closePath(),i.fill()),u[f].funnelArea=[l.x-u[f].radius,l.y-o*(f+1),l.x+u[f].radius,l.y-o*f],i.beginPath(),i.setLineWidth(r.borderWidth*e.pix),i.setStrokeStyle(r.borderColor);p=c(u[f].color,r.fillOpacity);if("custom"==r.linearType){x=i.createLinearGradient(u[f].radius,-o,-u[f].radius,-o);x.addColorStop(0,c(u[f].color,r.fillOpacity)),x.addColorStop(.5,c(r.customColor[u[f].linearIndex],r.fillOpacity)),x.addColorStop(1,c(u[f].color,r.fillOpacity)),p=x}i.setFillStyle(p),i.moveTo(0,0),i.lineTo(-u[f].radius,0),i.lineTo(-u[f+1].radius,-o),i.lineTo(u[f+1].radius,-o),i.lineTo(u[f].radius,0),i.lineTo(0,0),i.closePath(),i.fill(),1==r.border&&i.stroke()}i.translate(0,-o)}else{i.translate(0,-(u.length-1)*o);for(var g=0;g<u.length;g++){if(g==u.length-1){e.tooltip&&e.tooltip.index==g&&(i.beginPath(),i.setFillStyle(c(u[g].color,r.activeOpacity)),i.moveTo(-d-r.minSize/2,0),i.lineTo(-u[g].radius-d,-o),i.lineTo(u[g].radius+d,-o),i.lineTo(d+r.minSize/2,0),i.lineTo(-d-r.minSize/2,0),i.closePath(),i.fill()),u[g].funnelArea=[l.x-u[g].radius,l.y-o,l.x+u[g].radius,l.y],i.beginPath(),i.setLineWidth(r.borderWidth*e.pix),i.setStrokeStyle(r.borderColor);p=c(u[g].color,r.fillOpacity);if("custom"==r.linearType){x=i.createLinearGradient(u[g].radius,-o,-u[g].radius,-o);x.addColorStop(0,c(u[g].color,r.fillOpacity)),x.addColorStop(.5,c(r.customColor[u[g].linearIndex],r.fillOpacity)),x.addColorStop(1,c(u[g].color,r.fillOpacity)),p=x}i.setFillStyle(p),i.moveTo(0,0),i.lineTo(-r.minSize/2,0),i.lineTo(-u[g].radius,-o),i.lineTo(u[g].radius,-o),i.lineTo(r.minSize/2,0),i.lineTo(0,0),i.closePath(),i.fill(),1==r.border&&i.stroke()}else{e.tooltip&&e.tooltip.index==g&&(i.beginPath(),i.setFillStyle(c(u[g].color,r.activeOpacity)),i.moveTo(0,0),i.lineTo(-u[g+1].radius-d,0),i.lineTo(-u[g].radius-d,-o),i.lineTo(u[g].radius+d,-o),i.lineTo(u[g+1].radius+d,0),i.lineTo(0,0),i.closePath(),i.fill()),u[g].funnelArea=[l.x-u[g].radius,l.y-o*(u.length-g),l.x+u[g].radius,l.y-o*(u.length-g-1)],i.beginPath(),i.setLineWidth(r.borderWidth*e.pix),i.setStrokeStyle(r.borderColor);p=c(u[g].color,r.fillOpacity);if("custom"==r.linearType){x=i.createLinearGradient(u[g].radius,-o,-u[g].radius,-o);x.addColorStop(0,c(u[g].color,r.fillOpacity)),x.addColorStop(.5,c(r.customColor[u[g].linearIndex],r.fillOpacity)),x.addColorStop(1,c(u[g].color,r.fillOpacity)),p=x}i.setFillStyle(p),i.moveTo(0,0),i.lineTo(-u[g+1].radius,0),i.lineTo(-u[g].radius,-o),i.lineTo(u[g].radius,-o),i.lineTo(u[g+1].radius,0),i.lineTo(0,0),i.closePath(),i.fill(),1==r.border&&i.stroke()}i.translate(0,o)}}return i.restore(),!1!==e.dataLabel&&1===n&&Dt(u,e,i,o,r.labelAlign,d,l),1===n&&Ft(u,e,i,o,r.labelAlign,d,l),{center:l,radius:h,series:u}}(d,e,a,i,t),wt(e.series,e,a,i,e.chartData),vt(e,a,i,t),$t(0,i)},onAnimationFinish:function(){o.uevent.trigger("renderComplete")}});break;case"line":this.animationInstance=new Ot({timing:e.timing,duration:x,onProcess:function(t){i.clearRect(0,0,e.width,e.height),e.rotate&&it(i,e),yt(0,e,0,i),mt(h,e,a,i);var n=function(t,e,a,i){var n=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,r=s({},{type:"straight",width:2},e.extra.line);r.width*=e.pix;var o=e.chartData.xAxisData,l=o.xAxisPoints,c=o.eachSpacing,d=[];i.save();var h=0,u=e.width+c;return e._scrollDistance_&&0!==e._scrollDistance_&&!0===e.enableScroll&&(i.translate(e._scrollDistance_,0),h=-e._scrollDistance_-2*c+e.area[3],u=h+(e.xAxis.itemCount+4)*c),t.forEach((function(t,o){var s,p,x;s=[].concat(e.chartData.yAxisData.ranges[t.index]),p=s.pop(),x=s.shift();var g=t.data,v=J(g,p,x,l,c,e,a,n);d.push(v);var m=$(v,t);if("dash"==t.lineType){var y=t.dashLength?t.dashLength:8;y*=e.pix,i.setLineDash([y,y])}i.beginPath(),i.setStrokeStyle(t.color),i.setLineWidth(r.width),m.forEach((function(t,e){if(1===t.length)i.moveTo(t[0].x,t[0].y),i.arc(t[0].x,t[0].y,1,0,2*Math.PI);else{i.moveTo(t[0].x,t[0].y);var a=0;if("curve"===r.type)for(var n=0;n<t.length;n++){var o=t[n];if(0==a&&o.x>h&&(i.moveTo(o.x,o.y),a=1),n>0&&o.x>h&&o.x<u){var s=f(t,n-1);i.bezierCurveTo(s.ctrA.x,s.ctrA.y,s.ctrB.x,s.ctrB.y,o.x,o.y)}}if("straight"===r.type)for(var l=0;l<t.length;l++){var c=t[l];0==a&&c.x>h&&(i.moveTo(c.x,c.y),a=1),l>0&&c.x>h&&c.x<u&&i.lineTo(c.x,c.y)}if("step"===r.type)for(var d=0;d<t.length;d++){var p=t[d];0==a&&p.x>h&&(i.moveTo(p.x,p.y),a=1),d>0&&p.x>h&&p.x<u&&(i.lineTo(p.x,t[d-1].y),i.lineTo(p.x,p.y))}i.moveTo(t[0].x,t[0].y)}})),i.stroke(),i.setLineDash([]),!1!==e.dataPointShape&&nt(v,t.color,t.pointShape,i,e)})),!1!==e.dataLabel&&1===n&&t.forEach((function(t,r){var o,s,d;o=[].concat(e.chartData.yAxisData.ranges[t.index]),s=o.pop(),d=o.shift();var h=t.data,u=J(h,s,d,l,c,e,a,n);ot(u,t,a,i,e)})),i.restore(),{xAxisPoints:l,calPoints:d,eachSpacing:c}}(d,e,a,i,t),r=n.xAxisPoints,o=n.calPoints,l=n.eachSpacing;e.chartData.xAxisPoints=r,e.chartData.calPoints=o,e.chartData.eachSpacing=l,bt(0,e,a,i),!1!==e.enableMarkLine&&1===t&&ut(e,a,i),wt(e.series,e,a,i,e.chartData),vt(e,a,i,t),$t(0,i)},onAnimationFinish:function(){o.uevent.trigger("renderComplete")}});break;case"scatter":this.animationInstance=new Ot({timing:e.timing,duration:x,onProcess:function(t){i.clearRect(0,0,e.width,e.height),e.rotate&&it(i,e),yt(0,e,0,i),mt(h,e,a,i);var n=function(t,e,a,i){var n=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,r=(s({},{type:"circle"},e.extra.scatter),e.chartData.xAxisData),o=r.xAxisPoints,l=r.eachSpacing,c=[];i.save();return e.width,e._scrollDistance_&&0!==e._scrollDistance_&&!0===e.enableScroll&&(i.translate(e._scrollDistance_,0),-e._scrollDistance_-2*l+e.area[3],e.xAxis.itemCount),t.forEach((function(t,r){var s,c,d;s=[].concat(e.chartData.yAxisData.ranges[t.index]),c=s.pop(),d=s.shift();var h=t.data,u=J(h,c,d,o,l,e,a,n);i.beginPath(),i.setStrokeStyle(t.color),i.setFillStyle(t.color),i.setLineWidth(1*e.pix);var f=t.pointShape;if("diamond"===f)u.forEach((function(t,e){null!==t&&(i.moveTo(t.x,t.y-4.5),i.lineTo(t.x-4.5,t.y),i.lineTo(t.x,t.y+4.5),i.lineTo(t.x+4.5,t.y),i.lineTo(t.x,t.y-4.5))}));else if("circle"===f)u.forEach((function(t,a){null!==t&&(i.moveTo(t.x+2.5*e.pix,t.y),i.arc(t.x,t.y,3*e.pix,0,2*Math.PI,!1))}));else if("square"===f)u.forEach((function(t,e){null!==t&&(i.moveTo(t.x-3.5,t.y-3.5),i.rect(t.x-3.5,t.y-3.5,7,7))}));else if("triangle"===f)u.forEach((function(t,e){null!==t&&(i.moveTo(t.x,t.y-4.5),i.lineTo(t.x-4.5,t.y+4.5),i.lineTo(t.x+4.5,t.y+4.5),i.lineTo(t.x,t.y-4.5))}));else if("triangle"===f)return;i.closePath(),i.fill(),i.stroke()})),!1!==e.dataLabel&&1===n&&t.forEach((function(t,r){var s,c,d;s=[].concat(e.chartData.yAxisData.ranges[t.index]),c=s.pop(),d=s.shift();var h=t.data,u=J(h,c,d,o,l,e,a,n);ot(u,t,a,i,e)})),i.restore(),{xAxisPoints:o,calPoints:c,eachSpacing:l}}(d,e,a,i,t),r=n.xAxisPoints,o=n.calPoints,l=n.eachSpacing;e.chartData.xAxisPoints=r,e.chartData.calPoints=o,e.chartData.eachSpacing=l,bt(0,e,a,i),!1!==e.enableMarkLine&&1===t&&ut(e,a,i),wt(e.series,e,a,i,e.chartData),vt(e,a,i,t),$t(0,i)},onAnimationFinish:function(){o.uevent.trigger("renderComplete")}});break;case"bubble":this.animationInstance=new Ot({timing:e.timing,duration:x,onProcess:function(t){i.clearRect(0,0,e.width,e.height),e.rotate&&it(i,e),yt(0,e,0,i),mt(h,e,a,i);var n=function(t,e,a,i){var n=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,r=s({},{opacity:1,border:2},e.extra.bubble),o=e.chartData.xAxisData,l=o.xAxisPoints,d=o.eachSpacing,h=[];i.save();return e.width,e._scrollDistance_&&0!==e._scrollDistance_&&!0===e.enableScroll&&(i.translate(e._scrollDistance_,0),-e._scrollDistance_-2*d+e.area[3],e.xAxis.itemCount),t.forEach((function(t,o){var s,h,u;s=[].concat(e.chartData.yAxisData.ranges[t.index]),h=s.pop(),u=s.shift();var f=t.data,p=J(f,h,u,l,d,e,a,n);i.beginPath(),i.setStrokeStyle(t.color),i.setLineWidth(r.border*e.pix),i.setFillStyle(c(t.color,r.opacity)),p.forEach((function(t,a){i.moveTo(t.x+t.r,t.y),i.arc(t.x,t.y,t.r*e.pix,0,2*Math.PI,!1)})),i.closePath(),i.fill(),i.stroke(),!1!==e.dataLabel&&1===n&&p.forEach((function(n,r){i.beginPath();var o=t.textSize*e.pix||a.fontSize;i.setFontSize(o),i.setFillStyle(t.textColor||"#FFFFFF"),i.setTextAlign("center"),i.fillText(String(n.t),n.x,n.y+o/2),i.closePath(),i.stroke(),i.setTextAlign("left")}))})),i.restore(),{xAxisPoints:l,calPoints:h,eachSpacing:d}}(d,e,a,i,t),r=n.xAxisPoints,o=n.calPoints,l=n.eachSpacing;e.chartData.xAxisPoints=r,e.chartData.calPoints=o,e.chartData.eachSpacing=l,bt(0,e,a,i),!1!==e.enableMarkLine&&1===t&&ut(e,a,i),wt(e.series,e,a,i,e.chartData),vt(e,a,i,t),$t(0,i)},onAnimationFinish:function(){o.uevent.trigger("renderComplete")}});break;case"mix":this.animationInstance=new Ot({timing:e.timing,duration:x,onProcess:function(t){i.clearRect(0,0,e.width,e.height),e.rotate&&it(i,e),yt(0,e,0,i),mt(h,e,a,i);var r=function(t,e,a,i){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,o=e.chartData.xAxisData,l=o.xAxisPoints,d=o.eachSpacing,h=s({},{width:d/2,barBorderCircle:!1,barBorderRadius:[],seriesGap:2,linearType:"none",linearOpacity:1,customColor:[],colorStop:0},e.extra.mix.column),u=s({},{opacity:.2,gradient:!1},e.extra.mix.area),p=s({},{width:2},e.extra.mix.line),x=e.height-e.area[2],g=[],m=0,y=0;t.forEach((function(t,e){"column"==t.type&&(y+=1)})),i.save();var b=-2,w=l.length+2,_=0,C=e.width+d;if(e._scrollDistance_&&0!==e._scrollDistance_&&!0===e.enableScroll&&(i.translate(e._scrollDistance_,0),b=Math.floor(-e._scrollDistance_/d)-2,w=b+e.xAxis.itemCount+4,_=-e._scrollDistance_-2*d+e.area[3],C=_+(e.xAxis.itemCount+4)*d),h.customColor=v(h.linearType,h.customColor,t,a),t.forEach((function(t,o){var s,v,A;s=[].concat(e.chartData.yAxisData.ranges[t.index]),v=s.pop(),A=s.shift();var S=t.data,T=J(S,v,A,l,d,e,a,r);if(g.push(T),"column"==t.type){T=N(T,d,y,m,0,e);for(var k=0;k<T.length;k++){var P=T[k];if(null!==P&&k>b&&k<w){var M=P.x-P.width/2;e.height,P.y,e.area[2];i.beginPath();var D=P.color||t.color,F=P.color||t.color;if("none"!==h.linearType){var L=i.createLinearGradient(M,P.y,M,e.height-e.area[2]);"opacity"==h.linearType?(L.addColorStop(0,c(D,h.linearOpacity)),L.addColorStop(1,c(D,1))):(L.addColorStop(0,c(h.customColor[t.linearIndex],h.linearOpacity)),L.addColorStop(h.colorStop,c(h.customColor[t.linearIndex],h.linearOpacity)),L.addColorStop(1,c(D,1))),D=L}if(h.barBorderRadius&&4===h.barBorderRadius.length||h.barBorderCircle){var O=M,I=P.y,E=P.width,z=e.height-e.area[2]-P.y;h.barBorderCircle&&(h.barBorderRadius=[E/2,E/2,0,0]);var B=(0,n.default)(h.barBorderRadius,4),W=B[0],R=B[1],j=B[2],G=B[3],Y=Math.min(E/2,z/2);W=W>Y?Y:W,R=R>Y?Y:R,j=j>Y?Y:j,G=G>Y?Y:G,W=W<0?0:W,R=R<0?0:R,j=j<0?0:j,G=G<0?0:G,i.arc(O+W,I+W,W,-Math.PI,-Math.PI/2),i.arc(O+E-R,I+R,R,-Math.PI/2,0),i.arc(O+E-j,I+z-j,j,0,Math.PI/2),i.arc(O+G,I+z-G,G,Math.PI/2,Math.PI)}else i.moveTo(M,P.y),i.lineTo(M+P.width,P.y),i.lineTo(M+P.width,e.height-e.area[2]),i.lineTo(M,e.height-e.area[2]),i.lineTo(M,P.y),i.setLineWidth(1),i.setStrokeStyle(F);i.setFillStyle(D),i.closePath(),i.fill()}}m+=1}if("area"==t.type)for(var U=$(T,t),V=0;V<U.length;V++){var H=U[V];if(i.beginPath(),i.setStrokeStyle(t.color),i.setStrokeStyle(c(t.color,u.opacity)),u.gradient){var X=i.createLinearGradient(0,e.area[0],0,e.height-e.area[2]);X.addColorStop("0",c(t.color,u.opacity)),X.addColorStop("1.0",c("#FFFFFF",.1)),i.setFillStyle(X)}else i.setFillStyle(c(t.color,u.opacity));if(i.setLineWidth(2*e.pix),H.length>1){var q=H[0],Q=H[H.length-1];i.moveTo(q.x,q.y);var Z=0;if("curve"===t.style)for(var K=0;K<H.length;K++){var tt=H[K];if(0==Z&&tt.x>_&&(i.moveTo(tt.x,tt.y),Z=1),K>0&&tt.x>_&&tt.x<C){var et=f(H,K-1);i.bezierCurveTo(et.ctrA.x,et.ctrA.y,et.ctrB.x,et.ctrB.y,tt.x,tt.y)}}else for(var at=0;at<H.length;at++){var it=H[at];0==Z&&it.x>_&&(i.moveTo(it.x,it.y),Z=1),at>0&&it.x>_&&it.x<C&&i.lineTo(it.x,it.y)}i.lineTo(Q.x,x),i.lineTo(q.x,x),i.lineTo(q.x,q.y)}else{var rt=H[0];i.moveTo(rt.x-d/2,rt.y),i.lineTo(rt.x+d/2,rt.y),i.lineTo(rt.x+d/2,x),i.lineTo(rt.x-d/2,x),i.moveTo(rt.x-d/2,rt.y)}i.closePath(),i.fill()}if("line"==t.type){var ot=$(T,t);ot.forEach((function(a,n){if("dash"==t.lineType){var r=t.dashLength?t.dashLength:8;r*=e.pix,i.setLineDash([r,r])}if(i.beginPath(),i.setStrokeStyle(t.color),i.setLineWidth(p.width*e.pix),1===a.length)i.moveTo(a[0].x,a[0].y),i.arc(a[0].x,a[0].y,1,0,2*Math.PI);else{i.moveTo(a[0].x,a[0].y);var o=0;if("curve"==t.style)for(var s=0;s<a.length;s++){var l=a[s];if(0==o&&l.x>_&&(i.moveTo(l.x,l.y),o=1),s>0&&l.x>_&&l.x<C){var c=f(a,s-1);i.bezierCurveTo(c.ctrA.x,c.ctrA.y,c.ctrB.x,c.ctrB.y,l.x,l.y)}}else for(var d=0;d<a.length;d++){var h=a[d];0==o&&h.x>_&&(i.moveTo(h.x,h.y),o=1),d>0&&h.x>_&&h.x<C&&i.lineTo(h.x,h.y)}i.moveTo(a[0].x,a[0].y)}i.stroke(),i.setLineDash([])}))}"point"==t.type&&(t.addPoint=!0),1==t.addPoint&&"column"!==t.type&&nt(T,t.color,t.pointShape,i,e)})),!1!==e.dataLabel&&1===r){m=0;t.forEach((function(t,n){var o,s,c;o=[].concat(e.chartData.yAxisData.ranges[t.index]),s=o.pop(),c=o.shift();var h=t.data,u=J(h,s,c,l,d,e,a,r);"column"!==t.type?ot(u,t,a,i,e):(u=N(u,d,y,m,0,e),ot(u,t,a,i,e),m+=1)}))}return i.restore(),{xAxisPoints:l,calPoints:g,eachSpacing:d}}(d,e,a,i,t),o=r.xAxisPoints,l=r.calPoints,u=r.eachSpacing;e.chartData.xAxisPoints=o,e.chartData.calPoints=l,e.chartData.eachSpacing=u,bt(0,e,a,i),!1!==e.enableMarkLine&&1===t&&ut(e,a,i),wt(e.series,e,a,i,e.chartData),vt(e,a,i,t),$t(0,i)},onAnimationFinish:function(){o.uevent.trigger("renderComplete")}});break;case"column":this.animationInstance=new Ot({timing:e.timing,duration:x,onProcess:function(t){i.clearRect(0,0,e.width,e.height),e.rotate&&it(i,e),yt(0,e,0,i),mt(h,e,a,i);var r=function(t,e,a,i){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,o=e.chartData.xAxisData,l=o.xAxisPoints,d=o.eachSpacing,h=s({},{type:"group",width:d/2,meterBorder:4,meterFillColor:"#FFFFFF",barBorderCircle:!1,barBorderRadius:[],seriesGap:2,linearType:"none",linearOpacity:1,customColor:[],colorStop:0},e.extra.column),u=[];i.save();var f=-2,p=l.length+2;return e._scrollDistance_&&0!==e._scrollDistance_&&!0===e.enableScroll&&(i.translate(e._scrollDistance_,0),f=Math.floor(-e._scrollDistance_/d)-2,p=f+e.xAxis.itemCount+4),e.tooltip&&e.tooltip.textList&&e.tooltip.textList.length&&1===r&&pt(e.tooltip.offset.x,e,0,i,d),h.customColor=v(h.linearType,h.customColor,t,a),t.forEach((function(o,s){var x,g,v;x=[].concat(e.chartData.yAxisData.ranges[o.index]),g=x.pop(),v=x.shift();var m=o.data;switch(h.type){case"group":var y=J(m,g,v,l,d,e,a,r),b=K(m,g,v,l,d,e,a,s,t,r);u.push(b),y=N(y,d,t.length,s,0,e);for(var w=0;w<y.length;w++){var _=y[w];if(null!==_&&w>f&&w<p){var C=_.x-_.width/2,A=e.height-_.y-e.area[2];i.beginPath();var S=_.color||o.color,T=_.color||o.color;if("none"!==h.linearType){var k=i.createLinearGradient(C,_.y,C,e.height-e.area[2]);"opacity"==h.linearType?(k.addColorStop(0,c(S,h.linearOpacity)),k.addColorStop(1,c(S,1))):(k.addColorStop(0,c(h.customColor[o.linearIndex],h.linearOpacity)),k.addColorStop(h.colorStop,c(h.customColor[o.linearIndex],h.linearOpacity)),k.addColorStop(1,c(S,1))),S=k}if(h.barBorderRadius&&4===h.barBorderRadius.length||!0===h.barBorderCircle){var P=C,M=_.y,D=_.width,F=e.height-e.area[2]-_.y;h.barBorderCircle&&(h.barBorderRadius=[D/2,D/2,0,0]);var $=(0,n.default)(h.barBorderRadius,4),L=$[0],O=$[1],I=$[2],E=$[3],z=Math.min(D/2,F/2);L=L>z?z:L,O=O>z?z:O,I=I>z?z:I,E=E>z?z:E,L=L<0?0:L,O=O<0?0:O,I=I<0?0:I,E=E<0?0:E,i.arc(P+L,M+L,L,-Math.PI,-Math.PI/2),i.arc(P+D-O,M+O,O,-Math.PI/2,0),i.arc(P+D-I,M+F-I,I,0,Math.PI/2),i.arc(P+E,M+F-E,E,Math.PI/2,Math.PI)}else i.moveTo(C,_.y),i.lineTo(C+_.width,_.y),i.lineTo(C+_.width,e.height-e.area[2]),i.lineTo(C,e.height-e.area[2]),i.lineTo(C,_.y),i.setLineWidth(1),i.setStrokeStyle(T);i.setFillStyle(S),i.closePath(),i.fill()}}break;case"stack":y=K(m,g,v,l,d,e,a,s,t,r);u.push(y),y=V(y,d,t.length,0,0,e);for(var B=0;B<y.length;B++){var W=y[B];if(null!==W&&B>f&&B<p){i.beginPath();S=W.color||o.color,C=W.x-W.width/2+1,A=e.height-W.y-e.area[2];var R=e.height-W.y0-e.area[2];s>0&&(A-=R),i.setFillStyle(S),i.moveTo(C,W.y),i.fillRect(C,W.y,W.width,A),i.closePath(),i.fill()}}break;case"meter":y=J(m,g,v,l,d,e,a,r);u.push(y),y=U(y,d,t.length,s,0,e,h.meterBorder);for(var j=0;j<y.length;j++){var G=y[j];if(null!==G&&j>f&&j<p){i.beginPath(),0==s&&h.meterBorder>0&&(i.setStrokeStyle(o.color),i.setLineWidth(h.meterBorder*e.pix)),0==s?i.setFillStyle(h.meterFillColor):i.setFillStyle(G.color||o.color);C=G.x-G.width/2,A=e.height-G.y-e.area[2];if(h.barBorderRadius&&4===h.barBorderRadius.length||!0===h.barBorderCircle){var Y=C,H=G.y,X=G.width,q=e.height-e.area[2]-G.y;h.barBorderCircle&&(h.barBorderRadius=[X/2,X/2,0,0]);var Q=(0,n.default)(h.barBorderRadius,4),Z=Q[0],tt=Q[1],et=Q[2],at=Q[3],it=Math.min(X/2,q/2);Z=Z>it?it:Z,tt=tt>it?it:tt,et=et>it?it:et,at=at>it?it:at,Z=Z<0?0:Z,tt=tt<0?0:tt,et=et<0?0:et,at=at<0?0:at,i.arc(Y+Z,H+Z,Z,-Math.PI,-Math.PI/2),i.arc(Y+X-tt,H+tt,tt,-Math.PI/2,0),i.arc(Y+X-et,H+q-et,et,0,Math.PI/2),i.arc(Y+at,H+q-at,at,Math.PI/2,Math.PI),i.fill()}else i.moveTo(C,G.y),i.lineTo(C+G.width,G.y),i.lineTo(C+G.width,e.height-e.area[2]),i.lineTo(C,e.height-e.area[2]),i.lineTo(C,G.y),i.fill();0==s&&h.meterBorder>0&&(i.closePath(),i.stroke())}}break}})),!1!==e.dataLabel&&1===r&&t.forEach((function(n,o){var s,c,u;s=[].concat(e.chartData.yAxisData.ranges[n.index]),c=s.pop(),u=s.shift();var f=n.data;switch(h.type){case"group":var p=J(f,c,u,l,d,e,a,r);p=N(p,d,t.length,o,0,e),ot(p,n,a,i,e);break;case"stack":p=K(f,c,u,l,d,e,a,o,t,r);ot(p,n,a,i,e);break;case"meter":p=J(f,c,u,l,d,e,a,r);ot(p,n,a,i,e);break}})),i.restore(),{xAxisPoints:l,calPoints:u,eachSpacing:d}}(d,e,a,i,t),o=r.xAxisPoints,l=r.calPoints,u=r.eachSpacing;e.chartData.xAxisPoints=o,e.chartData.calPoints=l,e.chartData.eachSpacing=u,bt(0,e,a,i),!1!==e.enableMarkLine&&1===t&&ut(e,a,i),wt(e.series,e,a,i,e.chartData),vt(e,a,i,t),$t(0,i)},onAnimationFinish:function(){o.uevent.trigger("renderComplete")}});break;case"mount":this.animationInstance=new Ot({timing:e.timing,duration:x,onProcess:function(t){i.clearRect(0,0,e.width,e.height),e.rotate&&it(i,e),yt(0,e,0,i),mt(h,e,a,i);var r=function(t,e,a,i){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,o=e.chartData.xAxisData,l=o.xAxisPoints,d=o.eachSpacing,h=s({},{type:"mount",widthRatio:1,borderWidth:1,barBorderCircle:!1,barBorderRadius:[],linearType:"none",linearOpacity:1,customColor:[],colorStop:0},e.extra.mount);h.widthRatio=h.widthRatio<=0?0:h.widthRatio,h.widthRatio=h.widthRatio>=2?2:h.widthRatio,i.save();var u,f,p,x=-2,g=l.length+2;e._scrollDistance_&&0!==e._scrollDistance_&&!0===e.enableScroll&&(i.translate(e._scrollDistance_,0),x=Math.floor(-e._scrollDistance_/d)-2,g=x+e.xAxis.itemCount+4),h.customColor=v(h.linearType,h.customColor,t,a),u=[].concat(e.chartData.yAxisData.ranges[0]),f=u.pop(),p=u.shift();var m=Q(t,f,p,l,d,e,h,r);switch(h.type){case"bar":for(var y=0;y<m.length;y++){var b=m[y];if(null!==b&&y>x&&y<g){var w=b.x-d*h.widthRatio/2,_=e.height-b.y-e.area[2];i.beginPath();var C=b.color||t[y].color,A=b.color||t[y].color;if("none"!==h.linearType){var S=i.createLinearGradient(w,b.y,w,e.height-e.area[2]);"opacity"==h.linearType?(S.addColorStop(0,c(C,h.linearOpacity)),S.addColorStop(1,c(C,1))):(S.addColorStop(0,c(h.customColor[t[y].linearIndex],h.linearOpacity)),S.addColorStop(h.colorStop,c(h.customColor[t[y].linearIndex],h.linearOpacity)),S.addColorStop(1,c(C,1))),C=S}if(h.barBorderRadius&&4===h.barBorderRadius.length||!0===h.barBorderCircle){var T=w,k=b.y,P=b.width,M=e.height-e.area[2]-b.y-h.borderWidth*e.pix/2;h.barBorderCircle&&(h.barBorderRadius=[P/2,P/2,0,0]);var D=(0,n.default)(h.barBorderRadius,4),F=D[0],$=D[1],L=D[2],O=D[3],I=Math.min(P/2,M/2);F=F>I?I:F,$=$>I?I:$,L=L>I?I:L,O=O>I?I:O,F=F<0?0:F,$=$<0?0:$,L=L<0?0:L,O=O<0?0:O,i.arc(T+F,k+F,F,-Math.PI,-Math.PI/2),i.arc(T+P-$,k+$,$,-Math.PI/2,0),i.arc(T+P-L,k+M-L,L,0,Math.PI/2),i.arc(T+O,k+M-O,O,Math.PI/2,Math.PI)}else i.moveTo(w,b.y),i.lineTo(w+b.width,b.y),i.lineTo(w+b.width,e.height-e.area[2]),i.lineTo(w,e.height-e.area[2]),i.lineTo(w,b.y);i.setStrokeStyle(A),i.setFillStyle(C),h.borderWidth>0&&(i.setLineWidth(h.borderWidth*e.pix),i.closePath(),i.stroke()),i.fill()}}break;case"triangle":for(var E=0;E<m.length;E++){var z=m[E];if(null!==z&&E>x&&E<g){w=z.x-d*h.widthRatio/2,_=e.height-z.y-e.area[2];i.beginPath();C=z.color||t[E].color,A=z.color||t[E].color;if("none"!==h.linearType){S=i.createLinearGradient(w,z.y,w,e.height-e.area[2]);"opacity"==h.linearType?(S.addColorStop(0,c(C,h.linearOpacity)),S.addColorStop(1,c(C,1))):(S.addColorStop(0,c(h.customColor[t[E].linearIndex],h.linearOpacity)),S.addColorStop(h.colorStop,c(h.customColor[t[E].linearIndex],h.linearOpacity)),S.addColorStop(1,c(C,1))),C=S}i.moveTo(w,e.height-e.area[2]),i.lineTo(z.x,z.y),i.lineTo(w+z.width,e.height-e.area[2]),i.setStrokeStyle(A),i.setFillStyle(C),h.borderWidth>0&&(i.setLineWidth(h.borderWidth*e.pix),i.stroke()),i.fill()}}break;case"mount":for(var B=0;B<m.length;B++){var W=m[B];if(null!==W&&B>x&&B<g){w=W.x-d*h.widthRatio/2,_=e.height-W.y-e.area[2];i.beginPath();C=W.color||t[B].color,A=W.color||t[B].color;if("none"!==h.linearType){S=i.createLinearGradient(w,W.y,w,e.height-e.area[2]);"opacity"==h.linearType?(S.addColorStop(0,c(C,h.linearOpacity)),S.addColorStop(1,c(C,1))):(S.addColorStop(0,c(h.customColor[t[B].linearIndex],h.linearOpacity)),S.addColorStop(h.colorStop,c(h.customColor[t[B].linearIndex],h.linearOpacity)),S.addColorStop(1,c(C,1))),C=S}i.moveTo(w,e.height-e.area[2]),i.bezierCurveTo(W.x-W.width/4,e.height-e.area[2],W.x-W.width/4,W.y,W.x,W.y),i.bezierCurveTo(W.x+W.width/4,W.y,W.x+W.width/4,e.height-e.area[2],w+W.width,e.height-e.area[2]),i.setStrokeStyle(A),i.setFillStyle(C),h.borderWidth>0&&(i.setLineWidth(h.borderWidth*e.pix),i.stroke()),i.fill()}}break;case"sharp":for(var R=0;R<m.length;R++){var j=m[R];if(null!==j&&R>x&&R<g){w=j.x-d*h.widthRatio/2,_=e.height-j.y-e.area[2];i.beginPath();C=j.color||t[R].color,A=j.color||t[R].color;if("none"!==h.linearType){S=i.createLinearGradient(w,j.y,w,e.height-e.area[2]);"opacity"==h.linearType?(S.addColorStop(0,c(C,h.linearOpacity)),S.addColorStop(1,c(C,1))):(S.addColorStop(0,c(h.customColor[t[R].linearIndex],h.linearOpacity)),S.addColorStop(h.colorStop,c(h.customColor[t[R].linearIndex],h.linearOpacity)),S.addColorStop(1,c(C,1))),C=S}i.moveTo(w,e.height-e.area[2]),i.quadraticCurveTo(j.x-0,e.height-e.area[2]-_/4,j.x,j.y),i.quadraticCurveTo(j.x+0,e.height-e.area[2]-_/4,w+j.width,e.height-e.area[2]),i.setStrokeStyle(A),i.setFillStyle(C),h.borderWidth>0&&(i.setLineWidth(h.borderWidth*e.pix),i.stroke()),i.fill()}}break}if(!1!==e.dataLabel&&1===r){var G,N,Y;G=[].concat(e.chartData.yAxisData.ranges[0]),N=G.pop(),Y=G.shift();m=Q(t,N,Y,l,d,e,h,r);st(m,t,a,i,e)}return i.restore(),{xAxisPoints:l,calPoints:m,eachSpacing:d}}(d,e,a,i,t),o=r.xAxisPoints,l=r.calPoints,u=r.eachSpacing;e.chartData.xAxisPoints=o,e.chartData.calPoints=l,e.chartData.eachSpacing=u,bt(0,e,a,i),!1!==e.enableMarkLine&&1===t&&ut(e,a,i),wt(e.series,e,a,i,e.chartData),vt(e,a,i,t),$t(0,i)},onAnimationFinish:function(){o.uevent.trigger("renderComplete")}});break;case"bar":this.animationInstance=new Ot({timing:e.timing,duration:x,onProcess:function(t){i.clearRect(0,0,e.width,e.height),e.rotate&&it(i,e),mt(h,e,a,i);var r=function(t,e,a,i){for(var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,o=[],l=(e.height-e.area[0]-e.area[2])/e.categories.length,d=0;d<e.categories.length;d++)o.push(e.area[0]+l/2+l*d);var h=s({},{type:"group",width:l/2,meterBorder:4,meterFillColor:"#FFFFFF",barBorderCircle:!1,barBorderRadius:[],seriesGap:2,linearType:"none",linearOpacity:1,customColor:[],colorStop:0},e.extra.bar),u=[];i.save();var f=-2,p=o.length+2;return e.tooltip&&e.tooltip.textList&&e.tooltip.textList.length&&1===r&&xt(e.tooltip.offset.y,e,0,i,l),h.customColor=v(h.linearType,h.customColor,t,a),t.forEach((function(s,d){var x,g,v;x=[].concat(e.chartData.xAxisData.ranges),v=x.pop(),g=x.shift();var m=s.data;switch(h.type){case"group":var y=Z(m,g,v,o,l,e,a,r),b=tt(m,g,v,o,l,e,a,d,t,r);u.push(b),y=Y(y,l,t.length,d,0,e);for(var w=0;w<y.length;w++){var _=y[w];if(null!==_&&w>f&&w<p){var C=e.area[3],A=_.y-_.width/2;_.height;i.beginPath();var S=_.color||s.color,T=_.color||s.color;if("none"!==h.linearType){var k=i.createLinearGradient(C,_.y,_.x,_.y);"opacity"==h.linearType?(k.addColorStop(0,c(S,h.linearOpacity)),k.addColorStop(1,c(S,1))):(k.addColorStop(0,c(h.customColor[s.linearIndex],h.linearOpacity)),k.addColorStop(h.colorStop,c(h.customColor[s.linearIndex],h.linearOpacity)),k.addColorStop(1,c(S,1))),S=k}if(h.barBorderRadius&&4===h.barBorderRadius.length||!0===h.barBorderCircle){var P=C,M=_.width,D=_.y-_.width/2,F=_.height;h.barBorderCircle&&(h.barBorderRadius=[M/2,M/2,0,0]);var $=(0,n.default)(h.barBorderRadius,4),L=$[0],O=$[1],I=$[2],E=$[3],z=Math.min(M/2,F/2);L=L>z?z:L,O=O>z?z:O,I=I>z?z:I,E=E>z?z:E,L=L<0?0:L,O=O<0?0:O,I=I<0?0:I,E=E<0?0:E,i.arc(P+E,D+E,E,-Math.PI,-Math.PI/2),i.arc(_.x-L,D+L,L,-Math.PI/2,0),i.arc(_.x-O,D+M-O,O,0,Math.PI/2),i.arc(P+I,D+M-I,I,Math.PI/2,Math.PI)}else i.moveTo(C,A),i.lineTo(_.x,A),i.lineTo(_.x,A+_.width),i.lineTo(C,A+_.width),i.lineTo(C,A),i.setLineWidth(1),i.setStrokeStyle(T);i.setFillStyle(S),i.closePath(),i.fill()}}break;case"stack":y=tt(m,g,v,o,l,e,a,d,t,r);u.push(y),y=H(y,l,t.length,0,0,e);for(var B=0;B<y.length;B++){var W=y[B];if(null!==W&&B>f&&B<p){i.beginPath();S=W.color||s.color,C=W.x0;i.setFillStyle(S),i.moveTo(C,W.y-W.width/2),i.fillRect(C,W.y-W.width/2,W.height,W.width),i.closePath(),i.fill()}}break}})),!1!==e.dataLabel&&1===r&&t.forEach((function(n,s){var c,d,u;c=[].concat(e.chartData.xAxisData.ranges),u=c.pop(),d=c.shift();var f=n.data;switch(h.type){case"group":var p=Z(f,d,u,o,l,e,a,r);p=Y(p,l,t.length,s,0,e),lt(p,n,a,i,e);break;case"stack":p=tt(f,d,u,o,l,e,a,s,t,r);lt(p,n,a,i,e);break}})),{yAxisPoints:o,calPoints:u,eachSpacing:l}}(d,e,a,i,t),o=r.yAxisPoints,l=r.calPoints,u=r.eachSpacing;e.chartData.yAxisPoints=o,e.chartData.xAxisPoints=e.chartData.xAxisData.xAxisPoints,e.chartData.calPoints=l,e.chartData.eachSpacing=u,bt(0,e,a,i),!1!==e.enableMarkLine&&1===t&&ut(e,a,i),wt(e.series,e,a,i,e.chartData),vt(e,a,i,t),$t(0,i)},onAnimationFinish:function(){o.uevent.trigger("renderComplete")}});break;case"area":this.animationInstance=new Ot({timing:e.timing,duration:x,onProcess:function(t){i.clearRect(0,0,e.width,e.height),e.rotate&&it(i,e),yt(0,e,0,i),mt(h,e,a,i);var n=function(t,e,a,i){var n=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,r=s({},{type:"straight",opacity:.2,addLine:!1,width:2,gradient:!1},e.extra.area),o=e.chartData.xAxisData,l=o.xAxisPoints,d=o.eachSpacing,h=e.height-e.area[2],u=[];i.save();var p=0,x=e.width+d;return e._scrollDistance_&&0!==e._scrollDistance_&&!0===e.enableScroll&&(i.translate(e._scrollDistance_,0),p=-e._scrollDistance_-2*d+e.area[3],x=p+(e.xAxis.itemCount+4)*d),t.forEach((function(t,o){var s,g,v;s=[].concat(e.chartData.yAxisData.ranges[t.index]),g=s.pop(),v=s.shift();var m=t.data,y=J(m,g,v,l,d,e,a,n);u.push(y);for(var b=$(y,t),w=0;w<b.length;w++){var _=b[w];if(i.beginPath(),i.setStrokeStyle(c(t.color,r.opacity)),r.gradient){var C=i.createLinearGradient(0,e.area[0],0,e.height-e.area[2]);C.addColorStop("0",c(t.color,r.opacity)),C.addColorStop("1.0",c("#FFFFFF",.1)),i.setFillStyle(C)}else i.setFillStyle(c(t.color,r.opacity));if(i.setLineWidth(r.width*e.pix),_.length>1){var A=_[0],S=_[_.length-1];i.moveTo(A.x,A.y);var T=0;if("curve"===r.type)for(var k=0;k<_.length;k++){var P=_[k];if(0==T&&P.x>p&&(i.moveTo(P.x,P.y),T=1),k>0&&P.x>p&&P.x<x){var M=f(_,k-1);i.bezierCurveTo(M.ctrA.x,M.ctrA.y,M.ctrB.x,M.ctrB.y,P.x,P.y)}}if("straight"===r.type)for(var D=0;D<_.length;D++){var F=_[D];0==T&&F.x>p&&(i.moveTo(F.x,F.y),T=1),D>0&&F.x>p&&F.x<x&&i.lineTo(F.x,F.y)}if("step"===r.type)for(var L=0;L<_.length;L++){var O=_[L];0==T&&O.x>p&&(i.moveTo(O.x,O.y),T=1),L>0&&O.x>p&&O.x<x&&(i.lineTo(O.x,_[L-1].y),i.lineTo(O.x,O.y))}i.lineTo(S.x,h),i.lineTo(A.x,h),i.lineTo(A.x,A.y)}else{var I=_[0];i.moveTo(I.x-d/2,I.y),i.lineTo(I.x+d/2,I.y),i.lineTo(I.x+d/2,h),i.lineTo(I.x-d/2,h),i.moveTo(I.x-d/2,I.y)}if(i.closePath(),i.fill(),r.addLine){if("dash"==t.lineType){var E=t.dashLength?t.dashLength:8;E*=e.pix,i.setLineDash([E,E])}if(i.beginPath(),i.setStrokeStyle(t.color),i.setLineWidth(r.width*e.pix),1===_.length)i.moveTo(_[0].x,_[0].y),i.arc(_[0].x,_[0].y,1,0,2*Math.PI);else{i.moveTo(_[0].x,_[0].y);var z=0;if("curve"===r.type)for(var B=0;B<_.length;B++){var W=_[B];if(0==z&&W.x>p&&(i.moveTo(W.x,W.y),z=1),B>0&&W.x>p&&W.x<x){var R=f(_,B-1);i.bezierCurveTo(R.ctrA.x,R.ctrA.y,R.ctrB.x,R.ctrB.y,W.x,W.y)}}if("straight"===r.type)for(var j=0;j<_.length;j++){var G=_[j];0==z&&G.x>p&&(i.moveTo(G.x,G.y),z=1),j>0&&G.x>p&&G.x<x&&i.lineTo(G.x,G.y)}if("step"===r.type)for(var N=0;N<_.length;N++){var Y=_[N];0==z&&Y.x>p&&(i.moveTo(Y.x,Y.y),z=1),N>0&&Y.x>p&&Y.x<x&&(i.lineTo(Y.x,_[N-1].y),i.lineTo(Y.x,Y.y))}i.moveTo(_[0].x,_[0].y)}i.stroke(),i.setLineDash([])}}!1!==e.dataPointShape&&nt(y,t.color,t.pointShape,i,e)})),!1!==e.dataLabel&&1===n&&t.forEach((function(t,r){var o,s,c;o=[].concat(e.chartData.yAxisData.ranges[t.index]),s=o.pop(),c=o.shift();var h=t.data,u=J(h,s,c,l,d,e,a,n);ot(u,t,a,i,e)})),i.restore(),{xAxisPoints:l,calPoints:u,eachSpacing:d}}(d,e,a,i,t),r=n.xAxisPoints,o=n.calPoints,l=n.eachSpacing;e.chartData.xAxisPoints=r,e.chartData.calPoints=o,e.chartData.eachSpacing=l,bt(0,e,a,i),!1!==e.enableMarkLine&&1===t&&ut(e,a,i),wt(e.series,e,a,i,e.chartData),vt(e,a,i,t),$t(0,i)},onAnimationFinish:function(){o.uevent.trigger("renderComplete")}});break;case"ring":this.animationInstance=new Ot({timing:e.timing,duration:x,onProcess:function(t){i.clearRect(0,0,e.width,e.height),e.rotate&&it(i,e),e.chartData.pieData=_t(d,e,a,i,t),wt(e.series,e,a,i,e.chartData),vt(e,a,i,t),$t(0,i)},onAnimationFinish:function(){o.uevent.trigger("renderComplete")}});break;case"pie":this.animationInstance=new Ot({timing:e.timing,duration:x,onProcess:function(t){i.clearRect(0,0,e.width,e.height),e.rotate&&it(i,e),e.chartData.pieData=_t(d,e,a,i,t),wt(e.series,e,a,i,e.chartData),vt(e,a,i,t),$t(0,i)},onAnimationFinish:function(){o.uevent.trigger("renderComplete")}});break;case"rose":this.animationInstance=new Ot({timing:e.timing,duration:x,onProcess:function(t){i.clearRect(0,0,e.width,e.height),e.rotate&&it(i,e),e.chartData.pieData=function(t,e,a,i){var n=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,r=s({},{type:"area",activeOpacity:.5,activeRadius:10,offsetAngle:0,labelWidth:15,border:!1,borderWidth:2,borderColor:"#FFFFFF",linearType:"none",customColor:[]},e.extra.rose);0==a.pieChartLinePadding&&(a.pieChartLinePadding=r.activeRadius*e.pix);var o={x:e.area[3]+(e.width-e.area[1]-e.area[3])/2,y:e.area[0]+(e.height-e.area[0]-e.area[2])/2},l=Math.min((e.width-e.area[1]-e.area[3])/2-a.pieChartLinePadding-a.pieChartTextPadding-a._pieTextMaxLength_,(e.height-e.area[0]-e.area[2])/2-a.pieChartLinePadding-a.pieChartTextPadding);l=l<10?10:l;var d=r.minRadius||.5*l;t=B(t,r.type,d,l,n);var h=r.activeRadius*e.pix;return r.customColor=v(r.linearType,r.customColor,t,a),t=t.map((function(t){return t._start_+=(r.offsetAngle||0)*Math.PI/180,t})),t.forEach((function(t,a){e.tooltip&&e.tooltip.index==a&&(i.beginPath(),i.setFillStyle(c(t.color,r.activeOpacity||.5)),i.moveTo(o.x,o.y),i.arc(o.x,o.y,h+t._radius_,t._start_,t._start_+2*t._rose_proportion_*Math.PI),i.closePath(),i.fill()),i.beginPath(),i.setLineWidth(r.borderWidth*e.pix),i.lineJoin="round",i.setStrokeStyle(r.borderColor);var n,s=t.color;"custom"==r.linearType&&(n=i.createCircularGradient?i.createCircularGradient(o.x,o.y,t._radius_):i.createRadialGradient(o.x,o.y,0,o.x,o.y,t._radius_),n.addColorStop(0,c(r.customColor[t.linearIndex],1)),n.addColorStop(1,c(t.color,1)),s=n);i.setFillStyle(s),i.moveTo(o.x,o.y),i.arc(o.x,o.y,t._radius_,t._start_,t._start_+2*t._rose_proportion_*Math.PI),i.closePath(),i.fill(),1==r.border&&i.stroke()})),!1!==e.dataLabel&&1===n&&ht(t,e,a,i,0,o),{center:o,radius:l,series:t}}(d,e,a,i,t),wt(e.series,e,a,i,e.chartData),vt(e,a,i,t),$t(0,i)},onAnimationFinish:function(){o.uevent.trigger("renderComplete")}});break;case"radar":this.animationInstance=new Ot({timing:e.timing,duration:x,onProcess:function(t){i.clearRect(0,0,e.width,e.height),e.rotate&&it(i,e),e.chartData.radarData=function(t,e,a,i){var n=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,r=s({},{gridColor:"#cccccc",gridType:"radar",gridEval:1,axisLabel:!1,axisLabelTofix:0,labelColor:"#666666",labelPointShow:!1,labelPointRadius:3,labelPointColor:"#cccccc",opacity:.2,gridCount:3,border:!1,borderWidth:2,linearType:"none",customColor:[]},e.extra.radar),o=S(e.categories.length),l={x:e.area[3]+(e.width-e.area[1]-e.area[3])/2,y:e.area[0]+(e.height-e.area[0]-e.area[2])/2},d=(e.width-e.area[1]-e.area[3])/2,h=(e.height-e.area[0]-e.area[2])/2,u=Math.min(d-(A(e.categories,a.fontSize,i)+a.radarLabelTextMargin),h-a.radarLabelTextMargin);u-=a.radarLabelTextMargin*e.pix,u=u<10?10:u,i.beginPath(),i.setLineWidth(1*e.pix),i.setStrokeStyle(r.gridColor),o.forEach((function(t,e){var a=p(u*Math.cos(t),u*Math.sin(t),l);i.moveTo(l.x,l.y),e%r.gridEval==0&&i.lineTo(a.x,a.y)})),i.stroke(),i.closePath();for(var f=function(t){var a={};if(i.beginPath(),i.setLineWidth(1*e.pix),i.setStrokeStyle(r.gridColor),"radar"==r.gridType)o.forEach((function(e,n){var o=p(u/r.gridCount*t*Math.cos(e),u/r.gridCount*t*Math.sin(e),l);0===n?(a=o,i.moveTo(o.x,o.y)):i.lineTo(o.x,o.y)})),i.lineTo(a.x,a.y);else{var n=p(u/r.gridCount*t*Math.cos(1.5),u/r.gridCount*t*Math.sin(1.5),l);i.arc(l.x,l.y,l.y-n.y,0,2*Math.PI,!1)}i.stroke(),i.closePath()},x=1;x<=r.gridCount;x++)f(x);r.customColor=v(r.linearType,r.customColor,t,a);var g=I(o,l,u,t,e,n);if(g.forEach((function(a,n){i.beginPath(),i.setLineWidth(r.borderWidth*e.pix),i.setStrokeStyle(a.color);var o,s=c(a.color,r.opacity);"custom"==r.linearType&&(o=i.createCircularGradient?i.createCircularGradient(l.x,l.y,u):i.createRadialGradient(l.x,l.y,0,l.x,l.y,u),o.addColorStop(0,c(r.customColor[t[n].linearIndex],r.opacity)),o.addColorStop(1,c(a.color,r.opacity)),s=o);if(i.setFillStyle(s),a.data.forEach((function(t,e){0===e?i.moveTo(t.position.x,t.position.y):i.lineTo(t.position.x,t.position.y)})),i.closePath(),i.fill(),!0===r.border&&i.stroke(),i.closePath(),!1!==e.dataPointShape){var d=a.data.map((function(t){return t.position}));nt(d,a.color,a.pointShape,i,e)}})),!0===r.axisLabel){var m=Math.max(r.max,Math.max.apply(null,b(t))),y=u/r.gridCount,w=e.fontSize*e.pix;i.setFontSize(w),i.setFillStyle(e.fontColor),i.setTextAlign("left");for(x=0;x<r.gridCount+1;x++){var _=x*m/r.gridCount;_=_.toFixed(r.axisLabelTofix),i.fillText(String(_),l.x+3*e.pix,l.y-x*y+w/2)}}return dt(o,u,l,e,a,i),!1!==e.dataLabel&&1===n&&(g.forEach((function(t,n){i.beginPath();var r=t.textSize*e.pix||a.fontSize;i.setFontSize(r),i.setFillStyle(t.textColor||e.fontColor),t.data.forEach((function(t,e){Math.abs(t.position.x-l.x)<2?t.position.y<l.y?(i.setTextAlign("center"),i.fillText(t.value,t.position.x,t.position.y-4)):(i.setTextAlign("center"),i.fillText(t.value,t.position.x,t.position.y+r+2)):t.position.x<l.x?(i.setTextAlign("right"),i.fillText(t.value,t.position.x-4,t.position.y+r/2-2)):(i.setTextAlign("left"),i.fillText(t.value,t.position.x+4,t.position.y+r/2-2))})),i.closePath(),i.stroke()})),i.setTextAlign("left")),{center:l,radius:u,angleList:o}}(d,e,a,i,t),wt(e.series,e,a,i,e.chartData),vt(e,a,i,t),$t(0,i)},onAnimationFinish:function(){o.uevent.trigger("renderComplete")}});break;case"arcbar":this.animationInstance=new Ot({timing:e.timing,duration:x,onProcess:function(t){i.clearRect(0,0,e.width,e.height),e.rotate&&it(i,e),e.chartData.arcbarData=function(t,e,a,i){var n,r,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,l=s({},{startAngle:.75,endAngle:.25,type:"default",direction:"cw",lineCap:"round",width:12,gap:2,linearType:"none",customColor:[]},e.extra.arcbar);t=W(t,l,o),n=l.centerX||l.centerY?{x:l.centerX?l.centerX:e.width/2,y:l.centerY?l.centerY:e.height/2}:{x:e.width/2,y:e.height/2},l.radius?r=l.radius:(r=Math.min(n.x,n.y),r-=5*e.pix,r-=l.width/2),r=r<10?10:r,l.customColor=v(l.linearType,l.customColor,t,a);for(var d=0;d<t.length;d++){var h=t[d];i.setLineWidth(l.width*e.pix),i.setStrokeStyle(l.backgroundColor||"#E9E9E9"),i.setLineCap(l.lineCap),i.beginPath(),"default"==l.type?i.arc(n.x,n.y,r-(l.width*e.pix+l.gap*e.pix)*d,l.startAngle*Math.PI,l.endAngle*Math.PI,"ccw"==l.direction):i.arc(n.x,n.y,r-(l.width*e.pix+l.gap*e.pix)*d,0,2*Math.PI,"ccw"==l.direction),i.stroke();var u=h.color;if("custom"==l.linearType){var f=i.createLinearGradient(n.x-r,n.y,n.x+r,n.y);f.addColorStop(1,c(l.customColor[h.linearIndex],1)),f.addColorStop(0,c(h.color,1)),u=f}i.setLineWidth(l.width*e.pix),i.setStrokeStyle(u),i.setLineCap(l.lineCap),i.beginPath(),i.arc(n.x,n.y,r-(l.width*e.pix+l.gap*e.pix)*d,l.startAngle*Math.PI,h._proportion_*Math.PI,"ccw"==l.direction),i.stroke()}return rt(e,a,i,n),{center:n,radius:r,series:t}}(d,e,a,i,t),$t(0,i)},onAnimationFinish:function(){o.uevent.trigger("renderComplete")}});break;case"gauge":this.animationInstance=new Ot({timing:e.timing,duration:x,onProcess:function(t){i.clearRect(0,0,e.width,e.height),e.rotate&&it(i,e),e.chartData.gaugeData=function(t,e,a,i,n){var r=arguments.length>5&&void 0!==arguments[5]?arguments[5]:1,o=s({},{type:"default",startAngle:.75,endAngle:.25,width:15,labelOffset:13,splitLine:{fixRadius:0,splitNumber:10,width:15,color:"#FFFFFF",childNumber:5,childWidth:5},pointer:{width:15,color:"auto"}},a.extra.gauge);void 0==o.oldAngle&&(o.oldAngle=o.startAngle),void 0==o.oldData&&(o.oldData=0),t=j(t,o.startAngle,o.endAngle);var l={x:a.width/2,y:a.height/2},d=Math.min(l.x,l.y);d-=5*a.pix,d-=o.width/2,d=d<10?10:d;var h=d-o.width,u=0;if("progress"==o.type){var f=d-3*o.width;n.beginPath();var p=n.createLinearGradient(l.x,l.y-f,l.x,l.y+f);p.addColorStop("0",c(e[0].color,.3)),p.addColorStop("1.0",c("#FFFFFF",.1)),n.setFillStyle(p),n.arc(l.x,l.y,f,0,2*Math.PI,!1),n.fill(),n.setLineWidth(o.width),n.setStrokeStyle(c(e[0].color,.3)),n.setLineCap("round"),n.beginPath(),n.arc(l.x,l.y,h,o.startAngle*Math.PI,o.endAngle*Math.PI,!1),n.stroke(),u=o.startAngle-o.endAngle+1;o.splitLine.splitNumber;var x=u/o.splitLine.splitNumber/o.splitLine.childNumber,g=-d-.5*o.width-o.splitLine.fixRadius,v=-d-o.width-o.splitLine.fixRadius+o.splitLine.width;n.save(),n.translate(l.x,l.y),n.rotate((o.startAngle-1)*Math.PI);for(var m=o.splitLine.splitNumber*o.splitLine.childNumber+1,y=e[0].data*r,b=0;b<m;b++)n.beginPath(),y>b/m?n.setStrokeStyle(c(e[0].color,1)):n.setStrokeStyle(c(e[0].color,.3)),n.setLineWidth(3*a.pix),n.moveTo(g,0),n.lineTo(v,0),n.stroke(),n.rotate(x*Math.PI);n.restore(),e=R(e,o,r),n.setLineWidth(o.width),n.setStrokeStyle(e[0].color),n.setLineCap("round"),n.beginPath(),n.arc(l.x,l.y,h,o.startAngle*Math.PI,e[0]._proportion_*Math.PI,!1),n.stroke();var w=d-2.5*o.width;n.save(),n.translate(l.x,l.y),n.rotate((e[0]._proportion_-1)*Math.PI),n.beginPath(),n.setLineWidth(o.width/3);var _=n.createLinearGradient(0,.6*-w,0,.6*w);_.addColorStop("0",c("#FFFFFF",0)),_.addColorStop("0.5",c(e[0].color,1)),_.addColorStop("1.0",c("#FFFFFF",0)),n.setStrokeStyle(_),n.arc(0,0,w,.85*Math.PI,1.15*Math.PI,!1),n.stroke(),n.beginPath(),n.setLineWidth(1),n.setStrokeStyle(e[0].color),n.setFillStyle(e[0].color),n.moveTo(-w-o.width/3/2,-4),n.lineTo(-w-o.width/3/2-4,0),n.lineTo(-w-o.width/3/2,4),n.lineTo(-w-o.width/3/2,-4),n.stroke(),n.fill(),n.restore()}else{n.setLineWidth(o.width),n.setLineCap("butt");for(var C=0;C<t.length;C++){var A=t[C];n.beginPath(),n.setStrokeStyle(A.color),n.arc(l.x,l.y,d,A._startAngle_*Math.PI,A._endAngle_*Math.PI,!1),n.stroke()}n.save(),u=o.startAngle-o.endAngle+1;var S=u/o.splitLine.splitNumber,T=u/o.splitLine.splitNumber/o.splitLine.childNumber,k=-d-.5*o.width-o.splitLine.fixRadius,P=-d-.5*o.width-o.splitLine.fixRadius+o.splitLine.width,M=-d-.5*o.width-o.splitLine.fixRadius+o.splitLine.childWidth;n.translate(l.x,l.y),n.rotate((o.startAngle-1)*Math.PI);for(var D=0;D<o.splitLine.splitNumber+1;D++)n.beginPath(),n.setStrokeStyle(o.splitLine.color),n.setLineWidth(2*a.pix),n.moveTo(k,0),n.lineTo(P,0),n.stroke(),n.rotate(S*Math.PI);n.restore(),n.save(),n.translate(l.x,l.y),n.rotate((o.startAngle-1)*Math.PI);for(var F=0;F<o.splitLine.splitNumber*o.splitLine.childNumber+1;F++)n.beginPath(),n.setStrokeStyle(o.splitLine.color),n.setLineWidth(1*a.pix),n.moveTo(k,0),n.lineTo(M,0),n.stroke(),n.rotate(T*Math.PI);n.restore(),e=G(e,t,o,r);for(var $=0;$<e.length;$++){var L=e[$];n.save(),n.translate(l.x,l.y),n.rotate((L._proportion_-1)*Math.PI),n.beginPath(),n.setFillStyle(L.color),n.moveTo(o.pointer.width,0),n.lineTo(0,-o.pointer.width/2),n.lineTo(-h,0),n.lineTo(0,o.pointer.width/2),n.lineTo(o.pointer.width,0),n.closePath(),n.fill(),n.beginPath(),n.setFillStyle("#FFFFFF"),n.arc(0,0,o.pointer.width/6,0,2*Math.PI,!1),n.fill(),n.restore()}!1!==a.dataLabel&&ct(o,d,l,a,i,n)}return rt(a,i,n,l),1===r&&"gauge"===a.type&&(a.extra.gauge.oldAngle=e[0]._proportion_,a.extra.gauge.oldData=e[0].data),{center:l,radius:d,innerRadius:h,categories:t,totalAngle:u}}(h,d,e,a,i,t),$t(0,i)},onAnimationFinish:function(){o.uevent.trigger("renderComplete")}});break;case"candle":this.animationInstance=new Ot({timing:e.timing,duration:x,onProcess:function(t){i.clearRect(0,0,e.width,e.height),e.rotate&&it(i,e),yt(0,e,0,i),mt(h,e,a,i);var n=function(t,e,a,i,n){var r=arguments.length>5&&void 0!==arguments[5]?arguments[5]:1,o=s({},{color:{},average:{}},a.extra.candle);o.color=s({},{upLine:"#f04864",upFill:"#f04864",downLine:"#2fc25b",downFill:"#2fc25b"},o.color),o.average=s({},{show:!1,name:[],day:[],color:i.color},o.average),a.extra.candle=o;var l=a.chartData.xAxisData,c=l.xAxisPoints,d=l.eachSpacing,h=[];n.save();var u=-2,p=c.length+2,x=0,g=a.width+d;return a._scrollDistance_&&0!==a._scrollDistance_&&!0===a.enableScroll&&(n.translate(a._scrollDistance_,0),u=Math.floor(-a._scrollDistance_/d)-2,p=u+a.xAxis.itemCount+4,x=-a._scrollDistance_-2*d+a.area[3],g=x+(a.xAxis.itemCount+4)*d),(o.average.show||e)&&e.forEach((function(t,e){var o,s,l;o=[].concat(a.chartData.yAxisData.ranges[t.index]),s=o.pop(),l=o.shift();for(var h=t.data,u=J(h,s,l,c,d,a,i,r),p=$(u,t),v=0;v<p.length;v++){var m=p[v];if(n.beginPath(),n.setStrokeStyle(t.color),n.setLineWidth(1),1===m.length)n.moveTo(m[0].x,m[0].y),n.arc(m[0].x,m[0].y,1,0,2*Math.PI);else{n.moveTo(m[0].x,m[0].y);for(var y=0,b=0;b<m.length;b++){var w=m[b];if(0==y&&w.x>x&&(n.moveTo(w.x,w.y),y=1),b>0&&w.x>x&&w.x<g){var _=f(m,b-1);n.bezierCurveTo(_.ctrA.x,_.ctrA.y,_.ctrB.x,_.ctrB.y,w.x,w.y)}}n.moveTo(m[0].x,m[0].y)}n.closePath(),n.stroke()}})),t.forEach((function(t,e){var s,l,f;s=[].concat(a.chartData.yAxisData.ranges[t.index]),l=s.pop(),f=s.shift();var x=t.data,g=q(x,l,f,c,d,a,i,r);h.push(g);for(var v=$(g,t),m=0;m<v[0].length;m++)if(m>u&&m<p){var y=v[0][m];n.beginPath(),x[m][1]-x[m][0]>0?(n.setStrokeStyle(o.color.upLine),n.setFillStyle(o.color.upFill),n.setLineWidth(1*a.pix),n.moveTo(y[3].x,y[3].y),n.lineTo(y[1].x,y[1].y),n.lineTo(y[1].x-d/4,y[1].y),n.lineTo(y[0].x-d/4,y[0].y),n.lineTo(y[0].x,y[0].y),n.lineTo(y[2].x,y[2].y),n.lineTo(y[0].x,y[0].y),n.lineTo(y[0].x+d/4,y[0].y),n.lineTo(y[1].x+d/4,y[1].y),n.lineTo(y[1].x,y[1].y),n.moveTo(y[3].x,y[3].y)):(n.setStrokeStyle(o.color.downLine),n.setFillStyle(o.color.downFill),n.setLineWidth(1*a.pix),n.moveTo(y[3].x,y[3].y),n.lineTo(y[0].x,y[0].y),n.lineTo(y[0].x-d/4,y[0].y),n.lineTo(y[1].x-d/4,y[1].y),n.lineTo(y[1].x,y[1].y),n.lineTo(y[2].x,y[2].y),n.lineTo(y[1].x,y[1].y),n.lineTo(y[1].x+d/4,y[1].y),n.lineTo(y[0].x+d/4,y[0].y),n.lineTo(y[0].x,y[0].y),n.moveTo(y[3].x,y[3].y)),n.closePath(),n.fill(),n.stroke()}})),n.restore(),{xAxisPoints:c,calPoints:h,eachSpacing:d}}(d,m,e,a,i,t),r=n.xAxisPoints,o=n.calPoints,l=n.eachSpacing;e.chartData.xAxisPoints=r,e.chartData.calPoints=o,e.chartData.eachSpacing=l,bt(0,e,a,i),!1!==e.enableMarkLine&&1===t&&ut(e,a,i),wt(m?0:e.series,e,a,i,e.chartData),vt(e,a,i,t),$t(0,i)},onAnimationFinish:function(){o.uevent.trigger("renderComplete")}});break}}function Et(){this.events={}}Ot.prototype.stop=function(){this.isStop=!0},Et.prototype.addEventListener=function(t,e){this.events[t]=this.events[t]||[],this.events[t].push(e)},Et.prototype.delEventListener=function(t){this.events[t]=[]},Et.prototype.trigger=function(){for(var t=arguments.length,e=Array(t),a=0;a<t;a++)e[a]=arguments[a];var i=e[0],n=e.slice(1);this.events[i]&&this.events[i].forEach((function(t){try{t.apply(null,n)}catch(e){}}))};var zt=function(t){t.pix=t.pixelRatio?t.pixelRatio:1,t.fontSize=t.fontSize?t.fontSize:13,t.fontColor=t.fontColor?t.fontColor:o.fontColor,""!=t.background&&"none"!=t.background||(t.background="#FFFFFF"),t.title=s({},t.title),t.subtitle=s({},t.subtitle),t.duration=t.duration?t.duration:1e3,t.yAxis=s({},{data:[],showTitle:!1,disabled:!1,disableGrid:!1,gridSet:"number",splitNumber:5,gridType:"solid",dashLength:4*t.pix,gridColor:"#cccccc",padding:10,fontColor:"#666666"},t.yAxis),t.xAxis=s({},{rotateLabel:!1,rotateAngle:45,disabled:!1,disableGrid:!1,splitNumber:5,calibration:!1,gridType:"solid",dashLength:4,scrollAlign:"left",boundaryGap:"center",axisLine:!0,axisLineColor:"#cccccc"},t.xAxis),t.xAxis.scrollPosition=t.xAxis.scrollAlign,t.legend=s({},{show:!0,position:"bottom",float:"center",backgroundColor:"rgba(0,0,0,0)",borderColor:"rgba(0,0,0,0)",borderWidth:0,padding:5,margin:5,itemGap:10,fontSize:t.fontSize,lineHeight:t.fontSize,fontColor:t.fontColor,formatter:{},hiddenColor:"#CECECE"},t.legend),t.extra=s({},t.extra),t.rotate=!!t.rotate,t.animation=!!t.animation,t.rotate=!!t.rotate,t.canvas2d=!!t.canvas2d;var e=s({},o);if(e.color=t.color?t.color:e.color,"pie"==t.type&&(e.pieChartLinePadding=!1===t.dataLabel?0:t.extra.pie.labelWidth*t.pix||e.pieChartLinePadding*t.pix),"ring"==t.type&&(e.pieChartLinePadding=!1===t.dataLabel?0:t.extra.ring.labelWidth*t.pix||e.pieChartLinePadding*t.pix),"rose"==t.type&&(e.pieChartLinePadding=!1===t.dataLabel?0:t.extra.rose.labelWidth*t.pix||e.pieChartLinePadding*t.pix),e.pieChartTextPadding=!1===t.dataLabel?0:e.pieChartTextPadding*t.pix,e.rotate=t.rotate,t.rotate){var a=t.width,i=t.height;t.width=i,t.height=a}if(t.padding=t.padding?t.padding:e.padding,e.yAxisWidth=o.yAxisWidth*t.pix,e.xAxisHeight=o.xAxisHeight*t.pix,t.enableScroll&&t.xAxis.scrollShow&&(e.xAxisHeight+=6*t.pix),e.fontSize=t.fontSize*t.pix,e.titleFontSize=o.titleFontSize*t.pix,e.subtitleFontSize=o.subtitleFontSize*t.pix,e.toolTipPadding=o.toolTipPadding*t.pix,e.toolTipLineHeight=o.toolTipLineHeight*t.pix,!t.context)throw new Error("[uCharts] \u672a\u83b7\u53d6\u5230context\uff01\u6ce8\u610f\uff1av2.0\u7248\u672c\u540e\uff0c\u9700\u8981\u81ea\u884c\u83b7\u53d6canvas\u7684\u7ed8\u56fe\u4e0a\u4e0b\u6587\u5e76\u4f20\u5165opts.context\uff01");this.context=t.context,this.context.setTextAlign||(this.context.setStrokeStyle=function(t){return this.strokeStyle=t},this.context.setLineWidth=function(t){return this.lineWidth=t},this.context.setLineCap=function(t){return this.lineCap=t},this.context.setFontSize=function(t){return this.font=t+"px sans-serif"},this.context.setFillStyle=function(t){return this.fillStyle=t},this.context.setTextAlign=function(t){return this.textAlign=t},this.context.draw=function(){}),this.context.setLineDash||(this.context.setLineDash=function(t){}),t.chartData={},this.uevent=new Et,this.scrollOption={currentOffset:0,startTouchX:0,distance:0,lastMoveTime:0},this.opts=t,this.config=e,It.call(this,t.type,t,e,this.context)};zt.prototype.updateData=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.opts=s({},this.opts,t),this.opts.updateData=!0;var e=t.scrollPosition||"current";switch(e){case"current":this.opts._scrollDistance_=this.scrollOption.currentOffset;break;case"left":this.opts._scrollDistance_=0,this.scrollOption={currentOffset:0,startTouchX:0,distance:0,lastMoveTime:0};break;case"right":var a=at(this.opts.series,this.opts,this.config,this.context),i=a.yAxisWidth;this.config.yAxisWidth=i;var n=0,r=X(this.opts.categories,this.opts,this.config),o=r.xAxisPoints,l=r.startX,c=r.endX,d=r.eachSpacing,h=d*(o.length-1),u=c-l;n=u-h,this.scrollOption={currentOffset:n,startTouchX:n,distance:0,lastMoveTime:0},this.opts._scrollDistance_=n;break}It.call(this,this.opts.type,this.opts,this.config,this.context)},zt.prototype.zoom=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.opts.xAxis.itemCount;if(!0===this.opts.enableScroll){var a=Math.round(Math.abs(this.scrollOption.currentOffset)/this.opts.chartData.eachSpacing)+Math.round(this.opts.xAxis.itemCount/2);this.opts.animation=!1,this.opts.xAxis.itemCount=e.itemCount;var i=at(this.opts.series,this.opts,this.config,this.context),n=i.yAxisWidth;this.config.yAxisWidth=n;var r=0,o=X(this.opts.categories,this.opts,this.config),s=o.xAxisPoints,l=o.startX,c=o.endX,d=o.eachSpacing,u=d*a,f=c-l,p=f-d*(s.length-1);r=f/2-u,r>0&&(r=0),r<p&&(r=p),this.scrollOption={currentOffset:r,startTouchX:0,distance:0,lastMoveTime:0},h(this,r,this.opts.chartData,this.config,this.opts),this.opts._scrollDistance_=r,It.call(this,this.opts.type,this.opts,this.config,this.context)}else t("log","[uCharts] \u8bf7\u542f\u7528\u6eda\u52a8\u6761\u540e\u4f7f\u7528"," at uni_modules/qiun-data-charts/js_sdk/u-charts/u-charts.js:6828")},zt.prototype.dobuleZoom=function(e){if(!0===this.opts.enableScroll){var a=e.changedTouches;if(!(a.length<2)){for(var i=0;i<a.length;i++)a[i].x=a[i].x?a[i].x:a[i].clientX,a[i].y=a[i].y?a[i].y:a[i].clientY;var n=[_(a[0],this.opts,e),_(a[1],this.opts,e)],r=Math.abs(n[0].x-n[1].x);if(!this.scrollOption.moveCount){var o={changedTouches:[{x:a[0].x,y:this.opts.area[0]/this.opts.pix+2}]},s={changedTouches:[{x:a[1].x,y:this.opts.area[0]/this.opts.pix+2}]};this.opts.rotate&&(o={changedTouches:[{x:this.opts.height/this.opts.pix-this.opts.area[0]/this.opts.pix-2,y:a[0].y}]},s={changedTouches:[{x:this.opts.height/this.opts.pix-this.opts.area[0]/this.opts.pix-2,y:a[1].y}]});var l=this.getCurrentDataIndex(o).index,c=this.getCurrentDataIndex(s).index,d=Math.abs(l-c);return this.scrollOption.moveCount=d,this.scrollOption.moveCurrent1=Math.min(l,c),void(this.scrollOption.moveCurrent2=Math.max(l,c))}var u=r/this.scrollOption.moveCount,f=(this.opts.width-this.opts.area[1]-this.opts.area[3])/u;f=f<=2?2:f,f=f>=this.opts.categories.length?this.opts.categories.length:f,this.opts.animation=!1,this.opts.xAxis.itemCount=f;var p=0,x=X(this.opts.categories,this.opts,this.config),g=x.xAxisPoints,v=x.startX,m=x.endX,y=x.eachSpacing,b=y*this.scrollOption.moveCurrent1,w=m-v,C=w-y*(g.length-1);p=-b+Math.min(n[0].x,n[1].x)-this.opts.area[3]-y,p>0&&(p=0),p<C&&(p=C),this.scrollOption.currentOffset=p,this.scrollOption.startTouchX=0,this.scrollOption.distance=0,h(this,p,this.opts.chartData,this.config,this.opts),this.opts._scrollDistance_=p,It.call(this,this.opts.type,this.opts,this.config,this.context)}}else t("log","[uCharts] \u8bf7\u542f\u7528\u6eda\u52a8\u6761\u540e\u4f7f\u7528"," at uni_modules/qiun-data-charts/js_sdk/u-charts/u-charts.js:6868")},zt.prototype.stopAnimation=function(){this.animationInstance&&this.animationInstance.stop()},zt.prototype.addEventListener=function(t,e){this.uevent.addEventListener(t,e)},zt.prototype.delEventListener=function(t){this.uevent.delEventListener(t)},zt.prototype.getCurrentDataIndex=function(t){var e=null;if(e=t.changedTouches?t.changedTouches[0]:t.mp.changedTouches[0],e){var a=_(e,this.opts,t);return"pie"===this.opts.type||"ring"===this.opts.type?function(t,e,a){var i=-1,n=E(e.series);if(e&&e.center&&F(t,e.center,e.radius)){var r=Math.atan2(e.center.y-t.y,t.x-e.center.x);r=-r,a.extra.pie&&a.extra.pie.offsetAngle&&(r-=a.extra.pie.offsetAngle*Math.PI/180),a.extra.ring&&a.extra.ring.offsetAngle&&(r-=a.extra.ring.offsetAngle*Math.PI/180);for(var o=0,s=n.length;o<s;o++)if(u(r,n[o]._start_,n[o]._start_+2*n[o]._proportion_*Math.PI)){i=o;break}}return i}({x:a.x,y:a.y},this.opts.chartData.pieData,this.opts):"rose"===this.opts.type?function(t,e,a){var i=-1,n=B(a._series_,a.extra.rose.type,e.radius,e.radius);if(e&&e.center&&F(t,e.center,e.radius)){var r=Math.atan2(e.center.y-t.y,t.x-e.center.x);r=-r,a.extra.rose&&a.extra.rose.offsetAngle&&(r-=a.extra.rose.offsetAngle*Math.PI/180);for(var o=0,s=n.length;o<s;o++)if(u(r,n[o]._start_,n[o]._start_+2*n[o]._rose_proportion_*Math.PI)){i=o;break}}return i}({x:a.x,y:a.y},this.opts.chartData.pieData,this.opts):"radar"===this.opts.type?function(t,e,a){var i=2*Math.PI/a,n=-1;if(F(t,e.center,e.radius)){var r=function(t){return t<0&&(t+=2*Math.PI),t>2*Math.PI&&(t-=2*Math.PI),t},o=Math.atan2(e.center.y-t.y,t.x-e.center.x);o*=-1,o<0&&(o+=2*Math.PI);var s=e.angleList.map((function(t){return t=r(-1*t),t}));s.forEach((function(t,e){var a=r(t-i/2),s=r(t+i/2);s<a&&(s+=2*Math.PI),(o>=a&&o<=s||o+2*Math.PI>=a&&o+2*Math.PI<=s)&&(n=e)}))}return n}({x:a.x,y:a.y},this.opts.chartData.radarData,this.opts.categories.length):"funnel"===this.opts.type?function(t,e){for(var a=-1,i=0,n=e.series.length;i<n;i++){var r=e.series[i];if(t.x>r.funnelArea[0]&&t.x<r.funnelArea[2]&&t.y>r.funnelArea[1]&&t.y<r.funnelArea[3]){a=i;break}}return a}({x:a.x,y:a.y},this.opts.chartData.funnelData):"map"===this.opts.type?function(t,e){for(var a=-1,i=e.chartData.mapData,n=e.series,r=function(t,e,a,i,n,r){return{x:(e-n)/i+a.xMin,y:a.yMax-(t-r)/i}}(t.y,t.x,i.bounds,i.scale,i.xoffset,i.yoffset),o=[r.x,r.y],s=0,l=n.length;s<l;s++){var c=n[s].geometry.coordinates;if(Tt(o,c,e.chartData.mapData.mercator)){a=s;break}}return a}({x:a.x,y:a.y},this.opts):"word"===this.opts.type?function(t,e){for(var a=-1,i=0,n=e.length;i<n;i++){var r=e[i];if(t.x>r.area[0]&&t.x<r.area[2]&&t.y>r.area[1]&&t.y<r.area[3]){a=i;break}}return a}({x:a.x,y:a.y},this.opts.chartData.wordCloudData):"bar"===this.opts.type?function(t,e,a,i){var n=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,r={index:-1,group:[]},o=a.chartData.eachSpacing/2,s=a.chartData.yAxisPoints;return e&&e.length>0&&D(t,a,i)&&s.forEach((function(e,a){t.y+n+o>e&&(r.index=a)})),r}({x:a.x,y:a.y},this.opts.chartData.calPoints,this.opts,this.config,Math.abs(this.scrollOption.currentOffset)):function(t,e,a,i){var n=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,r={index:-1,group:[]},o=a.chartData.eachSpacing/2,s=[];if(e&&e.length>0){if(a.categories){for(var l=1;l<a.chartData.xAxisPoints.length;l++)s.push(a.chartData.xAxisPoints[l]-o);"line"!=a.type&&"area"!=a.type||"justify"!=a.xAxis.boundaryGap||(s=a.chartData.xAxisPoints)}else o=0;if(D(t,a,i))if(a.categories)s.forEach((function(e,a){t.x+n+o>e&&(r.index=a)}));else{for(var c=Array(e.length),d=0;d<e.length;d++){c[d]=Array(e[d].length);for(var h=0;h<e[d].length;h++)c[d][h]=Math.abs(e[d][h].x-t.x)}for(var u=Array(c.length),f=Array(c.length),p=0;p<c.length;p++)u[p]=Math.min.apply(null,c[p]),f[p]=c[p].indexOf(u[p]);var x=Math.min.apply(null,u);r.index=[];for(var g=0;g<u.length;g++)u[g]==x&&(r.group.push(g),r.index.push(f[g]))}}return r}({x:a.x,y:a.y},this.opts.chartData.calPoints,this.opts,this.config,Math.abs(this.scrollOption.currentOffset))}return-1},zt.prototype.getLegendDataIndex=function(t){var e=null;if(e=t.changedTouches?t.changedTouches[0]:t.mp.changedTouches[0],e){var a=_(e,this.opts,t);return function(t,e,a){var i=-1;if(function(t,e){return t.x>e.start.x&&t.x<e.end.x&&t.y>e.start.y&&t.y<e.end.y}(t,e.area)){for(var n=e.points,r=-1,o=0,s=n.length;o<s;o++)for(var l=n[o],c=0;c<l.length;c++){r+=1;var d=l[c]["area"];if(d&&t.x>d[0]-0&&t.x<d[2]+0&&t.y>d[1]-0&&t.y<d[3]+0){i=r;break}}return i}return i}({x:a.x,y:a.y},this.opts.chartData.legendData)}return-1},zt.prototype.touchLegend=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=null;if(a=t.changedTouches?t.changedTouches[0]:t.mp.changedTouches[0],a){_(a,this.opts,t);var i=this.getLegendDataIndex(t);i>=0&&("candle"==this.opts.type?this.opts.seriesMA[i].show=!this.opts.seriesMA[i].show:this.opts.series[i].show=!this.opts.series[i].show,this.opts.animation=!!e.animation,this.opts._scrollDistance_=this.scrollOption.currentOffset,It.call(this,this.opts.type,this.opts,this.config,this.context))}},zt.prototype.showToolTip=function(e){var a=this,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=null;n=e.changedTouches?e.changedTouches[0]:e.mp.changedTouches[0],n||t("log","[uCharts] \u672a\u83b7\u53d6\u5230event\u5750\u6807\u4fe1\u606f"," at uni_modules/qiun-data-charts/js_sdk/u-charts/u-charts.js:7046");var r=_(n,this.opts,e),o=this.scrollOption.currentOffset,l=s({},this.opts,{_scrollDistance_:o,animation:!1});if("line"===this.opts.type||"area"===this.opts.type||"column"===this.opts.type||"scatter"===this.opts.type||"bubble"===this.opts.type){var c=this.getCurrentDataIndex(e),d=void 0==i.index?c.index:i.index;if(d>-1||d.length>0){var h=C(this.opts.series,d,c.group);if(0!==h.length){var u=T(h,this.opts,d,c.group,this.opts.categories,i),f=u.textList,p=u.offset;p.y=r.y,l.tooltip={textList:void 0!==i.textList?i.textList:f,offset:void 0!==i.offset?i.offset:p,option:i,index:d}}}It.call(this,l.type,l,this.config,this.context)}if("mount"===this.opts.type){d=void 0==i.index?this.getCurrentDataIndex(e).index:i.index;if(d>-1){l=s({},this.opts,{animation:!1}),h=s({},l._series_[d]),f=[{text:i.formatter?i.formatter(h,void 0,d,l):h.name+": "+h.data,color:h.color}],p={x:l.chartData.calPoints[d].x,y:r.y};l.tooltip={textList:i.textList?i.textList:f,offset:void 0!==i.offset?i.offset:p,option:i,index:d}}It.call(this,l.type,l,this.config,this.context)}if("bar"===this.opts.type){c=this.getCurrentDataIndex(e),d=void 0==i.index?c.index:i.index;if(d>-1||d.length>0){h=C(this.opts.series,d,c.group);if(0!==h.length){u=T(h,this.opts,d,c.group,this.opts.categories,i),f=u.textList,p=u.offset;p.x=r.x,l.tooltip={textList:void 0!==i.textList?i.textList:f,offset:void 0!==i.offset?i.offset:p,option:i,index:d}}}It.call(this,l.type,l,this.config,this.context)}if("mix"===this.opts.type){c=this.getCurrentDataIndex(e),d=void 0==i.index?c.index:i.index;if(d>-1){o=this.scrollOption.currentOffset,l=s({},this.opts,{_scrollDistance_:o,animation:!1}),h=C(this.opts.series,d);if(0!==h.length){var x=k(h,this.opts,d,this.opts.categories,i);f=x.textList,p=x.offset;p.y=r.y,l.tooltip={textList:i.textList?i.textList:f,offset:void 0!==i.offset?i.offset:p,option:i,index:d}}}It.call(this,l.type,l,this.config,this.context)}if("candle"===this.opts.type){c=this.getCurrentDataIndex(e),d=void 0==i.index?c.index:i.index;if(d>-1){o=this.scrollOption.currentOffset,l=s({},this.opts,{_scrollDistance_:o,animation:!1}),h=C(this.opts.series,d);if(0!==h.length){u=P(this.opts.series[0].data,h,this.opts,d,this.opts.categories,this.opts.extra.candle,i),f=u.textList,p=u.offset;p.y=r.y,l.tooltip={textList:i.textList?i.textList:f,offset:void 0!==i.offset?i.offset:p,option:i,index:d}}}It.call(this,l.type,l,this.config,this.context)}if("pie"===this.opts.type||"ring"===this.opts.type||"rose"===this.opts.type||"funnel"===this.opts.type){d=void 0==i.index?this.getCurrentDataIndex(e):i.index;if(d>-1){l=s({},this.opts,{animation:!1}),h=s({},l._series_[d]),f=[{text:i.formatter?i.formatter(h,void 0,d,l):h.name+": "+h.data,color:h.color}],p={x:r.x,y:r.y};l.tooltip={textList:i.textList?i.textList:f,offset:void 0!==i.offset?i.offset:p,option:i,index:d}}It.call(this,l.type,l,this.config,this.context)}if("map"===this.opts.type){d=void 0==i.index?this.getCurrentDataIndex(e):i.index;if(d>-1){l=s({},this.opts,{animation:!1}),h=s({},this.opts.series[d]);h.name=h.properties.name;f=[{text:i.formatter?i.formatter(h,void 0,d,this.opts):h.name,color:h.color}],p={x:r.x,y:r.y};l.tooltip={textList:i.textList?i.textList:f,offset:void 0!==i.offset?i.offset:p,option:i,index:d}}l.updateData=!1,It.call(this,l.type,l,this.config,this.context)}if("word"===this.opts.type){d=void 0==i.index?this.getCurrentDataIndex(e):i.index;if(d>-1){l=s({},this.opts,{animation:!1}),h=s({},this.opts.series[d]),f=[{text:i.formatter?i.formatter(h,void 0,d,this.opts):h.name,color:h.color}],p={x:r.x,y:r.y};l.tooltip={textList:i.textList?i.textList:f,offset:void 0!==i.offset?i.offset:p,option:i,index:d}}l.updateData=!1,It.call(this,l.type,l,this.config,this.context)}if("radar"===this.opts.type){d=void 0==i.index?this.getCurrentDataIndex(e):i.index;if(d>-1){l=s({},this.opts,{animation:!1}),h=C(this.opts.series,d);if(0!==h.length){f=h.map((function(t){return{text:i.formatter?i.formatter(t,a.opts.categories[d],d,a.opts):t.name+": "+t.data,color:t.color}})),p={x:r.x,y:r.y};l.tooltip={textList:i.textList?i.textList:f,offset:void 0!==i.offset?i.offset:p,option:i,index:d}}}It.call(this,l.type,l,this.config,this.context)}},zt.prototype.translate=function(t){this.scrollOption={currentOffset:t,startTouchX:t,distance:0,lastMoveTime:0};var e=s({},this.opts,{_scrollDistance_:t,animation:!1});It.call(this,this.opts.type,e,this.config,this.context)},zt.prototype.scrollStart=function(t){var e=null;e=t.changedTouches?t.changedTouches[0]:t.mp.changedTouches[0];var a=_(e,this.opts,t);e&&!0===this.opts.enableScroll&&(this.scrollOption.startTouchX=a.x)},zt.prototype.scroll=function(t){0===this.scrollOption.lastMoveTime&&(this.scrollOption.lastMoveTime=Date.now());var e=this.opts.touchMoveLimit||60,a=Date.now(),i=a-this.scrollOption.lastMoveTime;if(!(i<Math.floor(1e3/e))&&0!=this.scrollOption.startTouchX){this.scrollOption.lastMoveTime=a;var n=null;if(n=t.changedTouches?t.changedTouches[0]:t.mp.changedTouches[0],n&&!0===this.opts.enableScroll){var r,o=_(n,this.opts,t);r=o.x-this.scrollOption.startTouchX;var l=this.scrollOption.currentOffset,c=h(this,l+r,this.opts.chartData,this.config,this.opts);this.scrollOption.distance=r=c-l;var d=s({},this.opts,{_scrollDistance_:l+r,animation:!1});return this.opts=d,It.call(this,d.type,d,this.config,this.context),l+r}}},zt.prototype.scrollEnd=function(t){if(!0===this.opts.enableScroll){var e=this.scrollOption,a=e.currentOffset,i=e.distance;this.scrollOption.currentOffset=a+i,this.scrollOption.distance=0,this.scrollOption.moveCount=0}};var Bt=zt;e.default=Bt}).call(this,a("f3b9")["default"])},1995:function(t,e,a){var i=a("c86c");e=i(!1),e.push([t.i,'@charset "UTF-8";.uni-popup[data-v-58e7869c]{position:fixed;z-index:99}.uni-popup.top[data-v-58e7869c], .uni-popup.left[data-v-58e7869c], .uni-popup.right[data-v-58e7869c]{top:0}.uni-popup .uni-popup__wrapper[data-v-58e7869c]{display:block;position:relative}.uni-popup .uni-popup__wrapper.left[data-v-58e7869c], .uni-popup .uni-popup__wrapper.right[data-v-58e7869c]{padding-top:0;flex:1}.fixforpc-z-index[data-v-58e7869c]{z-index:999}.fixforpc-top[data-v-58e7869c]{top:0}',""]),t.exports=e},"1a14":function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=["#1890FF","#91CB74","#FAC858","#EE6666","#73C0DE","#3CA272","#FC8452","#9A60B4","#ea7ccc"],n={type:["pie","ring","rose","word","funnel","map","arcbar","line","column","mount","bar","area","radar","gauge","candle","mix","tline","tarea","scatter","bubble","demotype"],range:["\u997c\u72b6\u56fe","\u5706\u73af\u56fe","\u73ab\u7470\u56fe","\u8bcd\u4e91\u56fe","\u6f0f\u6597\u56fe","\u5730\u56fe","\u5706\u5f27\u8fdb\u5ea6\u6761","\u6298\u7ebf\u56fe","\u67f1\u72b6\u56fe","\u5c71\u5cf0\u56fe","\u6761\u72b6\u56fe","\u533a\u57df\u56fe","\u96f7\u8fbe\u56fe","\u4eea\u8868\u76d8","K\u7ebf\u56fe","\u6df7\u5408\u56fe","\u65f6\u95f4\u8f74\u6298\u7ebf","\u65f6\u95f4\u8f74\u533a\u57df","\u6563\u70b9\u56fe","\u6c14\u6ce1\u56fe","\u81ea\u5b9a\u4e49\u7c7b\u578b"],categories:["line","column","mount","bar","area","radar","gauge","candle","mix","demotype"],instance:{},option:{},formatter:{yAxisDemo1:function(t,e,a){return t+"\u5143"},yAxisDemo2:function(t,e,a){return t.toFixed(2)},xAxisDemo1:function(t,e,a){return t+"\u5e74"},xAxisDemo2:function(t,e,a){return function(t,e){var a=new Date;a.setTime(1e3*t);var i=a.getFullYear(),n=a.getMonth()+1;n=n<10?"0"+n:n;var r=a.getDate();r=r<10?"0"+r:r;var o=a.getHours();o=o<10?"0"+o:o;var s=a.getMinutes(),l=a.getSeconds();return s=s<10?"0"+s:s,l=l<10?"0"+l:l,"full"==e?i+"-"+n+"-"+r+" "+o+":"+s+":"+l:"y-m-d"==e?i+"-"+n+"-"+r:"h:m"==e?o+":"+s:"h:m:s"==e?o+":"+s+":"+l:[i,n,r,o,s,l]}(t,"h:m")},seriesDemo1:function(t,e,a,i){return t+"\u5143"},tooltipDemo1:function(t,e,a,i){return 0==a?"\u968f\u4fbf\u7528"+t.data+"\u5e74":"\u5176\u4ed6\u6211\u6ca1\u6539"+t.data+"\u5929"},pieDemo:function(t,e,a,i){if(void 0!==e)return a[e].name+"\uff1a"+a[e].data+"\u5143"}},demotype:{type:"line",color:i,padding:[15,10,0,15],xAxis:{disableGrid:!0},yAxis:{gridType:"dash",dashLength:2},legend:{},extra:{line:{type:"curve",width:2}}},pie:{type:"pie",color:i,padding:[5,5,5,5],extra:{pie:{activeOpacity:.5,activeRadius:10,offsetAngle:0,labelWidth:15,border:!0,borderWidth:3,borderColor:"#FFFFFF"}}},ring:{type:"ring",color:i,padding:[5,5,5,5],rotate:!1,dataLabel:!1,legend:{show:!1,position:"right",lineHeight:25},title:{name:"\u6536\u76ca\u7387",fontSize:15,color:"#666666"},subtitle:{name:"70%",fontSize:25,color:"#7cb5ec"},extra:{ring:{ringWidth:30,activeOpacity:.5,activeRadius:10,offsetAngle:0,labelWidth:15,border:!0,borderWidth:3,borderColor:"#FFFFFF"}}},rose:{type:"rose",color:i,padding:[5,5,5,5],legend:{show:!0,position:"left",lineHeight:25},extra:{rose:{type:"area",minRadius:50,activeOpacity:.5,activeRadius:10,offsetAngle:0,labelWidth:15,border:!1,borderWidth:2,borderColor:"#FFFFFF"}}},word:{type:"word",color:i,extra:{word:{type:"normal",autoColors:!1}}},funnel:{type:"funnel",color:i,padding:[15,15,0,15],extra:{funnel:{activeOpacity:.3,activeWidth:10,border:!0,borderWidth:2,borderColor:"#FFFFFF",fillOpacity:1,labelAlign:"right"}}},map:{type:"map",color:i,padding:[0,0,0,0],dataLabel:!0,extra:{map:{border:!0,borderWidth:1,borderColor:"#666666",fillOpacity:.6,activeBorderColor:"#F04864",activeFillColor:"#FACC14",activeFillOpacity:1}}},arcbar:{type:"arcbar",color:i,title:{name:"\u767e\u5206\u6bd4",fontSize:25,color:"#00FF00"},subtitle:{name:"\u9ed8\u8ba4\u6807\u9898",fontSize:15,color:"#666666"},extra:{arcbar:{type:"default",width:12,backgroundColor:"#E9E9E9",startAngle:.75,endAngle:.25,gap:2}}},line:{type:"line",color:i,padding:[15,10,0,15],xAxis:{disableGrid:!0},yAxis:{gridType:"dash",dashLength:2},legend:{},extra:{line:{type:"straight",width:2}}},tline:{type:"line",color:i,padding:[15,10,0,15],xAxis:{disableGrid:!1,boundaryGap:"justify"},yAxis:{gridType:"dash",dashLength:2,data:[{min:0,max:80}]},legend:{},extra:{line:{type:"curve",width:2}}},tarea:{type:"area",color:i,padding:[15,10,0,15],xAxis:{disableGrid:!0,boundaryGap:"justify"},yAxis:{gridType:"dash",dashLength:2,data:[{min:0,max:80}]},legend:{},extra:{area:{type:"curve",opacity:.2,addLine:!0,width:2,gradient:!0}}},column:{type:"column",color:i,padding:[15,15,0,5],xAxis:{disableGrid:!0},yAxis:{data:[{min:0}]},legend:{},extra:{column:{type:"group",width:30,activeBgColor:"#000000",activeBgOpacity:.08}}},mount:{type:"mount",color:i,padding:[15,15,0,5],xAxis:{disableGrid:!0},yAxis:{data:[{min:0}]},legend:{},extra:{mount:{type:"mount",widthRatio:1.5}}},bar:{type:"bar",color:i,padding:[15,30,0,5],xAxis:{boundaryGap:"justify",disableGrid:!1,min:0,axisLine:!1},yAxis:{},legend:{},extra:{bar:{type:"group",width:30,meterBorde:1,meterFillColor:"#FFFFFF",activeBgColor:"#000000",activeBgOpacity:.08}}},area:{type:"area",color:i,padding:[15,15,0,15],xAxis:{disableGrid:!0},yAxis:{gridType:"dash",dashLength:2},legend:{},extra:{area:{type:"straight",opacity:.2,addLine:!0,width:2,gradient:!1}}},radar:{type:"radar",color:i,padding:[5,5,5,5],dataLabel:!1,legend:{show:!0,position:"right",lineHeight:25},extra:{radar:{gridType:"radar",gridColor:"#CCCCCC",gridCount:3,opacity:.2,max:200}}},gauge:{type:"gauge",color:i,title:{name:"66Km/H",fontSize:25,color:"#2fc25b",offsetY:50},subtitle:{name:"\u5b9e\u65f6\u901f\u5ea6",fontSize:15,color:"#1890ff",offsetY:-50},extra:{gauge:{type:"default",width:30,labelColor:"#666666",startAngle:.75,endAngle:.25,startNumber:0,endNumber:100,labelFormat:"",splitLine:{fixRadius:0,splitNumber:10,width:30,color:"#FFFFFF",childNumber:5,childWidth:12},pointer:{width:24,color:"auto"}}}},candle:{type:"candle",color:i,padding:[15,15,0,15],enableScroll:!0,enableMarkLine:!0,dataLabel:!1,xAxis:{labelCount:4,itemCount:40,disableGrid:!0,gridColor:"#CCCCCC",gridType:"solid",dashLength:4,scrollShow:!0,scrollAlign:"left",scrollColor:"#A6A6A6",scrollBackgroundColor:"#EFEBEF"},yAxis:{},legend:{},extra:{candle:{color:{upLine:"#f04864",upFill:"#f04864",downLine:"#2fc25b",downFill:"#2fc25b"},average:{show:!0,name:["MA5","MA10","MA30"],day:[5,10,20],color:["#1890ff","#2fc25b","#facc14"]}},markLine:{type:"dash",dashLength:5,data:[{value:2150,lineColor:"#f04864",showLabel:!0},{value:2350,lineColor:"#f04864",showLabel:!0}]}}},mix:{type:"mix",color:i,padding:[15,15,0,15],xAxis:{disableGrid:!0},yAxis:{disabled:!1,disableGrid:!1,splitNumber:5,gridType:"dash",dashLength:4,gridColor:"#CCCCCC",padding:10,showTitle:!0,data:[]},legend:{},extra:{mix:{column:{width:20}}}},scatter:{type:"scatter",color:i,padding:[15,15,0,15],dataLabel:!1,xAxis:{disableGrid:!1,gridType:"dash",splitNumber:5,boundaryGap:"justify",min:0},yAxis:{disableGrid:!1,gridType:"dash"},legend:{},extra:{scatter:{}}},bubble:{type:"bubble",color:i,padding:[15,15,0,15],xAxis:{disableGrid:!1,gridType:"dash",splitNumber:5,boundaryGap:"justify",min:0,max:250},yAxis:{disableGrid:!1,gridType:"dash",data:[{min:0,max:150}]},legend:{},extra:{bubble:{border:2,opacity:.5}}}},r=n;e.default=r},"1ad7":function(t,e,a){var i=a("c86c");e=i(!1),e.push([t.i,"",""]),t.exports=e},"1c5b":function(t,e,a){if("undefined"===typeof Promise||Promise.prototype.finally||(Promise.prototype.finally=function(t){var e=this.constructor;return this.then((function(a){return e.resolve(t()).then((function(){return a}))}),(function(a){return e.resolve(t()).then((function(){throw a}))}))}),"undefined"!==typeof uni&&uni&&uni.requireGlobal){var i=uni.requireGlobal();ArrayBuffer=i.ArrayBuffer,Int8Array=i.Int8Array,Uint8Array=i.Uint8Array,Uint8ClampedArray=i.Uint8ClampedArray,Int16Array=i.Int16Array,Uint16Array=i.Uint16Array,Int32Array=i.Int32Array,Uint32Array=i.Uint32Array,Float32Array=i.Float32Array,Float64Array=i.Float64Array,BigInt64Array=i.BigInt64Array,BigUint64Array=i.BigUint64Array}window.__uniConfig={window:{navigationBarTextStyle:"black",navigationBarTitleText:"uni-app",navigationBarBackgroundColor:"#F8F8F8",backgroundColor:"#F8F8F8",pageOrientation:"landscape"},darkmode:!1},uni.restoreGlobal&&uni.restoreGlobal(weex,plus,setTimeout,clearTimeout,setInterval,clearInterval),__definePage("pages/home/home",(function(){return Vue.extend(a("3b29").default)})),__definePage("pages/test/test",(function(){return Vue.extend(a("28cf").default)})),__definePage("pages/index",(function(){return Vue.extend(a("5e2e").default)})),__definePage("pages/index/index",(function(){return Vue.extend(a("e4d6").default)})),__definePage("pages/index/monitor",(function(){return Vue.extend(a("bfff").default)})),__definePage("pages/test/test",(function(){return Vue.extend(a("28cf").default)}))},"1e40":function(t,e,a){var i=a("c86c");e=i(!1),e.push([t.i,".chartsview[data-v-3f29adb2]{width:100%;height:100%;display:flex;flex:1;justify-content:center;align-items:center}",""]),t.exports=e},"1efb":function(t,e,a){"use strict";a.r(e);var i=a("8729"),n=a.n(i);for(var r in i)["default"].indexOf(r)<0&&function(t){a.d(e,t,(function(){return i[t]}))}(r);e["default"]=n.a},2021:function(t,e,a){t.exports=a.p+"static/background.png"},"21c9":function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={name:"loading1",data:function(){return{wxsProps:{}}},components:{}}},"21fb":function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={name:"loading3",data:function(){return{wxsProps:{}}},components:{}}},2527:function(t,e,a){var i=a("c86c");e=i(!1),e.push([t.i,'.chartsview[data-v-06f9c5d4]{width:100%;height:100%;display:flex;flex-direction:column;flex:1;justify-content:center;align-items:center}.charts-font[data-v-06f9c5d4]{font-size:14px;color:#ccc;margin-top:10px}.charts-error[data-v-06f9c5d4]{width:128px;height:128px;background:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAYAAADDPmHLAAAUz0lEQVR4Xu1de3Bc1X3+zmp3jYVWfkPAgCWwY8zLEglNQCSW0yT9o2SQaDKdNulUykwfM+k09p+J3ImYIPJXi9yZzDSZZiwyaZuZBCwnNG1DMogEmUAAy7xs/MAyNhCMjWWtsK1deU/n23OvtLu6j3Pv3t29d71nxjOSde455/5+3/m9z7kCjRY4BR7eK7fkcmhrasLT37hbTAY+QYADigDHagwFYGhc7gZwHMAUgG4hMPzNe8RoWInTAECAnHl4r+yREt0DXWIbhx3cJ5fHP8TYjntFR4DTBDqUIwBmMrJDCtyPHDoQw0Q8jkeXinCLtECp43Gwh56R22IxTBbu+KFxOTbQJbo9DlW17rYASGdlNySeKl2JADpbkmKiait0mWhoXHZkmzE52CkocmvavvOsbMvl8MhAl+jlQrg2CQzu6BI9NV2Yw+T2AJiVo+DuL2kSeLQ1KfrC8kLcYbkYBv/pbjEWhjUNjUvSpk9KSAicm2tGXxjAaUcbewBkJAm6xeLBp1PJ2os06ttcDl8H0CEEaGnvGegSg2EAQZTW4B0AEntSS2ov0mhgJc5jmwT6IDEWi2E0zNZ2WEFhC4CZjCRxH7GwAfpbkmIkLC9EFQBg20BXeOySsNBGZx2OXkB6Vg5CgAbMZgD7BTDSkhTDOgM3+kSDAr7iANNz8n4hQRdxojUu9kTjVRurtKKAJwBIKZfPZPOuYWFgY6wlgV4hau+GNVjsnQKeAJDOSIp/Wt6lbSKeQG8jSOSdAbV+wisA7FxDSGAqBmwNS5DIiG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AA4ShWNkgVI2QoPZVRO5vYItAIbGZYcQWJZZiv2DncIoh8x/XCLSN4u6ESSqfw8UAEPjeaOvj1+kBLCuqQmd37hb8Gfz+0Juueio0jGS6/ZTDGq+6CIJMLhPLk+cx9lYDO1k+kPPyBEhMDnQJQbNh1g4ks1iopErqDhe9scT6JnLYBgC91vN5hbrd1vhIgB851nZlsvhWLYZKyj6DWmAgS6xrXCwhlHoRtry/s4a/1QSHWY4l6FcKbCtcNOxT0ygpyUp6KH5apY2gLHrt1AFCIHOWAwdpgoonKURKvZFc9eHuKtjQHcpY/Mle3NoQw7dsgkTfr4VXDq5rRH48F7Zk8uhrakJo1bMNwdqZA1d+empgx3zPQ3iobMnN9Bu3AYIPFDcoWu1mc+lBAIADsQDpshhpGEY+gNDLZgfCADoNSQvqPLkTSuxfuNq7IwJhODTCv4YUYunsjkc3f8+Bo7M4v8KYy5cixmPKVxXaWymnDWXLQGGxiVjAmaCoZy1XPbPSon9O+4VHSYhaIdJid2lhJESUzvu1f80nBNhywYA3cY5oOhI8uqlaLk+hfWXPUc1CHAijSOnL2CGXePAZKHBzd0PgEG50jZR6pZrTGXZpWwA+J248Vw4KNAAQDj4ULNVBA6Abz8ru8Ul9SVyITCVbUY/DRsjxLxLSmhdYSYEHh3oEiMch2rm0iXssqHSxI57xfZKU/ChZ+QjAOb1c6XnM+g3T4NKzRc4AIbGZR8TSeaCYzH0Ua8ZIeY8QzXbSBEAcvlSZyvwBKYPndb10LjkBQ1a4NV8P51u8zTQ6eynT+AA8LOIxjO1o0ADALWjfShmjhwACgNPoaCgsnWOO+VLwrJOq3VEDgCGLrbMjdeK0EEGZqr9DpEDgFXgqdpEK50vlsPUQJf/nHwt1///89bqDjCPWPAAAAAASUVORK5CYII=");background-position:50%}',""]),t.exports=e},"269a":function(t,e,a){var i=a("c86c");e=i(!1),e.push([t.i,".container[data-v-6e5d9c90]{width:30px;height:30px;position:relative}.container.loading6[data-v-6e5d9c90]{-webkit-animation:rotation 1s infinite;animation:rotation 1s infinite}.container.loading6 .shape[data-v-6e5d9c90]{width:12px;height:12px;border-radius:2px}.container .shape[data-v-6e5d9c90]{position:absolute;width:10px;height:10px;border-radius:1px}.container .shape.shape1[data-v-6e5d9c90]{left:0;background-color:#1890ff}.container .shape.shape2[data-v-6e5d9c90]{right:0;background-color:#91cb74}.container .shape.shape3[data-v-6e5d9c90]{bottom:0;background-color:#fac858}.container .shape.shape4[data-v-6e5d9c90]{bottom:0;right:0;background-color:#e66}.loading6 .shape1[data-v-6e5d9c90]{-webkit-animation:animation6shape1-data-v-6e5d9c90 2s linear 0s infinite normal;animation:animation6shape1-data-v-6e5d9c90 2s linear 0s infinite normal}@-webkit-keyframes animation6shape1-data-v-6e5d9c90{0%{-webkit-transform:translate(0);transform:translate(0)}25%{-webkit-transform:translateY(18px);transform:translateY(18px)}50%{-webkit-transform:translate(18px,18px);transform:translate(18px,18px)}75%{-webkit-transform:translate(18px);transform:translate(18px)}}@keyframes animation6shape1-data-v-6e5d9c90{0%{-webkit-transform:translate(0);transform:translate(0)}25%{-webkit-transform:translateY(18px);transform:translateY(18px)}50%{-webkit-transform:translate(18px,18px);transform:translate(18px,18px)}75%{-webkit-transform:translate(18px);transform:translate(18px)}}.loading6 .shape2[data-v-6e5d9c90]{-webkit-animation:animation6shape2-data-v-6e5d9c90 2s linear 0s infinite normal;animation:animation6shape2-data-v-6e5d9c90 2s linear 0s infinite normal}@-webkit-keyframes animation6shape2-data-v-6e5d9c90{0%{-webkit-transform:translate(0);transform:translate(0)}25%{-webkit-transform:translate(-18px);transform:translate(-18px)}50%{-webkit-transform:translate(-18px,18px);transform:translate(-18px,18px)}75%{-webkit-transform:translateY(18px);transform:translateY(18px)}}@keyframes animation6shape2-data-v-6e5d9c90{0%{-webkit-transform:translate(0);transform:translate(0)}25%{-webkit-transform:translate(-18px);transform:translate(-18px)}50%{-webkit-transform:translate(-18px,18px);transform:translate(-18px,18px)}75%{-webkit-transform:translateY(18px);transform:translateY(18px)}}.loading6 .shape3[data-v-6e5d9c90]{-webkit-animation:animation6shape3-data-v-6e5d9c90 2s linear 0s infinite normal;animation:animation6shape3-data-v-6e5d9c90 2s linear 0s infinite normal}@-webkit-keyframes animation6shape3-data-v-6e5d9c90{0%{-webkit-transform:translate(0);transform:translate(0)}25%{-webkit-transform:translate(18px);transform:translate(18px)}50%{-webkit-transform:translate(18px,-18px);transform:translate(18px,-18px)}75%{-webkit-transform:translateY(-18px);transform:translateY(-18px)}}@keyframes animation6shape3-data-v-6e5d9c90{0%{-webkit-transform:translate(0);transform:translate(0)}25%{-webkit-transform:translate(18px);transform:translate(18px)}50%{-webkit-transform:translate(18px,-18px);transform:translate(18px,-18px)}75%{-webkit-transform:translateY(-18px);transform:translateY(-18px)}}.loading6 .shape4[data-v-6e5d9c90]{-webkit-animation:animation6shape4-data-v-6e5d9c90 2s linear 0s infinite normal;animation:animation6shape4-data-v-6e5d9c90 2s linear 0s infinite normal}@-webkit-keyframes animation6shape4-data-v-6e5d9c90{0%{-webkit-transform:translate(0);transform:translate(0)}25%{-webkit-transform:translateY(-18px);transform:translateY(-18px)}50%{-webkit-transform:translate(-18px,-18px);transform:translate(-18px,-18px)}75%{-webkit-transform:translate(-18px);transform:translate(-18px)}}@keyframes animation6shape4-data-v-6e5d9c90{0%{-webkit-transform:translate(0);transform:translate(0)}25%{-webkit-transform:translateY(-18px);transform:translateY(-18px)}50%{-webkit-transform:translate(-18px,-18px);transform:translate(-18px,-18px)}75%{-webkit-transform:translate(-18px);transform:translate(-18px)}}",""]),t.exports=e},2880:function(t,e,a){"use strict";var i=a("60d5"),n=a.n(i);n.a},"28cf":function(t,e,a){"use strict";a.r(e);var i=a("7d36"),n=a("b9a5");for(var r in n)["default"].indexOf(r)<0&&function(t){a.d(e,t,(function(){return n[t]}))}(r);a("8804");var o=a("828b"),s=Object(o["a"])(n["default"],i["b"],i["c"],!1,null,null,null,!1,i["a"],void 0);e["default"]=s.exports},"2e13":function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={name:"loading2",data:function(){return{wxsProps:{}}},components:{}}},"34cf":function(t,e,a){var i=a("ed45"),n=a("7172"),r=a("6382"),o=a("dd3e");t.exports=function(t,e){return i(t)||n(t,e)||r(t,e)||o()},t.exports.__esModule=!0,t.exports["default"]=t.exports},"357c":function(t,e,a){"use strict";a.r(e);var i=a("9b65"),n=a("1efb");for(var r in n)["default"].indexOf(r)<0&&function(t){a.d(e,t,(function(){return n[t]}))}(r);a("f9c6");var o=a("828b"),s=Object(o["a"])(n["default"],i["b"],i["c"],!1,null,"71f2edbe",null,!1,i["a"],void 0);e["default"]=s.exports},"368e":function(t,e,a){var i=a("c86c");e=i(!1),e.push([t.i,".clear{position:fixed;top:0;left:0;z-index:9999;background:transparent;border:none}.clear:hover{background:#fff}",""]),t.exports=e},"3b29":function(t,e,a){"use strict";a.r(e);var i=a("907f"),n=a("0671");for(var r in n)["default"].indexOf(r)<0&&function(t){a.d(e,t,(function(){return n[t]}))}(r);a("02de");var o=a("828b"),s=Object(o["a"])(n["default"],i["b"],i["c"],!1,null,null,null,!1,i["a"],void 0);e["default"]=s.exports},"3b2d":function(t,e){function a(e){return t.exports=a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t.exports.__esModule=!0,t.exports["default"]=t.exports,a(e)}t.exports=a,t.exports.__esModule=!0,t.exports["default"]=t.exports},"3b3c":function(t,e,a){"use strict";var i=a("4f76"),n=a.n(i);n.a},"3bcd":function(t,e,a){"use strict";var i=a("5a89"),n=a.n(i);n.a},"3c26":function(t,e,a){"use strict";a.d(e,"b",(function(){return i})),a.d(e,"c",(function(){return n})),a.d(e,"a",(function(){}));var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("uni-view",{attrs:{_i:0}},[a("uni-view",{attrs:{_i:1}},[a("v-uni-swiper",{staticStyle:{height:"500px"},attrs:{circular:"true",vertical:"true","display-multiple-items":"16",autoplay:t._$g(2,"a-autoplay"),interval:t._$g(2,"a-interval"),duration:t._$g(2,"a-duration"),_i:2}},t._l(t._$g(3,"f"),(function(e,i,n,r){return a("v-uni-swiper-item",{key:e,attrs:{_i:"3-"+r}},[a("uni-view",{attrs:{_i:"4-"+r}},[t._v(t._$g("4-"+r,"t0-0"))])],1)})),1)],1)],1)},n=[]},"3c8c":function(t,e,a){"use strict";a.r(e);var i=a("f6e5"),n=a("c547");for(var r in n)["default"].indexOf(r)<0&&function(t){a.d(e,t,(function(){return n[t]}))}(r);a("f01f");var o=a("828b"),s=Object(o["a"])(n["default"],i["b"],i["c"],!1,null,"37562626",null,!1,i["a"],void 0);e["default"]=s.exports},"3d5d":function(t,e,a){"use strict";a.d(e,"b",(function(){return i})),a.d(e,"c",(function(){return n})),a.d(e,"a",(function(){}));var i=function(){var t=this.$createElement,e=this._self._c||t;return e("uni-view",{staticClass:this._$g(0,"sc"),attrs:{_i:0}},[e("uni-view",{staticClass:this._$g(1,"sc"),attrs:{_i:1}}),e("uni-view",{staticClass:this._$g(2,"sc"),attrs:{_i:2}}),e("uni-view",{staticClass:this._$g(3,"sc"),attrs:{_i:3}}),e("uni-view",{staticClass:this._$g(4,"sc"),attrs:{_i:4}})],1)},n=[]},"3d72":function(t,e,a){"use strict";a.r(e);var i=a("ea54"),n=a.n(i);for(var r in i)["default"].indexOf(r)<0&&function(t){a.d(e,t,(function(){return i[t]}))}(r);e["default"]=n.a},"3d8c":function(t,e,a){"use strict";a.d(e,"b",(function(){return i})),a.d(e,"c",(function(){return n})),a.d(e,"a",(function(){}));var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return t._$g(0,"i")?a("uni-view",{ref:"ani",class:t._$g(0,"c"),style:t._$g(0,"s"),attrs:{animation:t._$g(0,"a-animation"),_i:0},on:{click:function(e){return t.$handleViewEvent(e)}}},[t._t("default",null,{_i:1})],2):t._e()},n=[]},"3f18":function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={name:"qiun-error",props:["errorMessage"],data:function(){return{wxsProps:{}}},components:{}}},"3f60":function(t,e,a){"use strict";a.r(e);var i=a("8412"),n=a.n(i);for(var r in i)["default"].indexOf(r)<0&&function(t){a.d(e,t,(function(){return i[t]}))}(r);e["default"]=n.a},"3f6f":function(t,e,a){"use strict";a.r(e);var i=a("93d8"),n=a.n(i);for(var r in i)["default"].indexOf(r)<0&&function(t){a.d(e,t,(function(){return i[t]}))}(r);e["default"]=n.a},"3fb1":function(t,e,a){"use strict";a.d(e,"b",(function(){return i})),a.d(e,"c",(function(){return n})),a.d(e,"a",(function(){}));var i=function(){var t=this.$createElement,e=this._self._c||t;return e("uni-view",{staticClass:this._$g(0,"sc"),attrs:{_i:0}},[e("uni-view",{staticClass:this._$g(1,"sc"),attrs:{_i:1}}),e("uni-view",{staticClass:this._$g(2,"sc"),attrs:{_i:2}}),e("uni-view",{staticClass:this._$g(3,"sc"),attrs:{_i:3}}),e("uni-view",{staticClass:this._$g(4,"sc"),attrs:{_i:4}})],1)},n=[]},"402a":function(t,e,a){var i=a("c86c");e=i(!1),e.push([t.i,'@charset "UTF-8";.scroll_box[data-v-43f30b7e]{background:#fff;margin:30rpx;border-radius:10rpx}.scroll_box .swiper[data-v-43f30b7e]{margin-top:200px;height:70px}',""]),t.exports=e},4052:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={name:"uniPopupDialog",props:["value","placeholder","type","mode","title","content","beforeClose","cancelText","confirmText"],data:function(){return{wxsProps:{}}},components:{}}},"40dd":function(t,e,a){"use strict";a.d(e,"b",(function(){return i})),a.d(e,"c",(function(){return n})),a.d(e,"a",(function(){}));var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("uni-view",{staticClass:t._$g(0,"sc"),attrs:{_i:0}},[a("uni-view",{staticClass:t._$g(1,"sc"),attrs:{_i:1}},[a("v-uni-text",{staticClass:t._$g(2,"sc"),class:t._$g(2,"c"),attrs:{_i:2}},[t._v(t._$g(2,"t0-0"))])],1),t._$g(3,"i")?a("uni-view",{staticClass:t._$g(3,"sc"),attrs:{_i:3}},[t._t("default",[a("v-uni-text",{staticClass:t._$g(5,"sc"),attrs:{_i:5}},[t._v(t._$g(5,"t0-0"))])],{_i:4})],2):a("uni-view",{staticClass:t._$g(6,"sc"),attrs:{_i:6}},[t._t("default",[a("v-uni-input",{staticClass:t._$g(8,"sc"),attrs:{type:"text",placeholder:t._$g(8,"a-placeholder"),focus:t._$g(8,"a-focus"),_i:8},model:{value:t._$g(8,"v-model"),callback:function(e){t.$handleVModelEvent(8,e)},expression:"val"}})],{_i:7})],2),a("uni-view",{staticClass:t._$g(9,"sc"),attrs:{_i:9}},[a("uni-view",{staticClass:t._$g(10,"sc"),attrs:{_i:10},on:{click:function(e){return t.$handleViewEvent(e)}}},[a("v-uni-text",{staticClass:t._$g(11,"sc"),attrs:{_i:11}},[t._v(t._$g(11,"t0-0"))])],1),a("uni-view",{staticClass:t._$g(12,"sc"),attrs:{_i:12},on:{click:function(e){return t.$handleViewEvent(e)}}},[a("v-uni-text",{staticClass:t._$g(13,"sc"),attrs:{_i:13}},[t._v(t._$g(13,"t0-0"))])],1)],1)],1)},n=[]},4604:function(t,e,a){var i=a("c86c");e=i(!1),e.push([t.i,".container[data-v-37562626]{width:30px;height:30px;position:relative}.container.loading5 .shape[data-v-37562626]{width:15px;height:15px}.container .shape[data-v-37562626]{position:absolute;width:10px;height:10px;border-radius:1px}.container .shape.shape1[data-v-37562626]{left:0;background-color:#1890ff}.container .shape.shape2[data-v-37562626]{right:0;background-color:#91cb74}.container .shape.shape3[data-v-37562626]{bottom:0;background-color:#fac858}.container .shape.shape4[data-v-37562626]{bottom:0;right:0;background-color:#e66}.loading5 .shape1[data-v-37562626]{animation:animation5shape1-data-v-37562626 2s ease 0s infinite reverse}@-webkit-keyframes animation5shape1-data-v-37562626{0%{-webkit-transform:translate(0);transform:translate(0)}25%{-webkit-transform:translateY(15px);transform:translateY(15px)}50%{-webkit-transform:translate(15px,15px);transform:translate(15px,15px)}75%{-webkit-transform:translate(15px);transform:translate(15px)}}@keyframes animation5shape1-data-v-37562626{0%{-webkit-transform:translate(0);transform:translate(0)}25%{-webkit-transform:translateY(15px);transform:translateY(15px)}50%{-webkit-transform:translate(15px,15px);transform:translate(15px,15px)}75%{-webkit-transform:translate(15px);transform:translate(15px)}}.loading5 .shape2[data-v-37562626]{animation:animation5shape2-data-v-37562626 2s ease 0s infinite reverse}@-webkit-keyframes animation5shape2-data-v-37562626{0%{-webkit-transform:translate(0);transform:translate(0)}25%{-webkit-transform:translate(-15px);transform:translate(-15px)}50%{-webkit-transform:translate(-15px,15px);transform:translate(-15px,15px)}75%{-webkit-transform:translateY(15px);transform:translateY(15px)}}@keyframes animation5shape2-data-v-37562626{0%{-webkit-transform:translate(0);transform:translate(0)}25%{-webkit-transform:translate(-15px);transform:translate(-15px)}50%{-webkit-transform:translate(-15px,15px);transform:translate(-15px,15px)}75%{-webkit-transform:translateY(15px);transform:translateY(15px)}}.loading5 .shape3[data-v-37562626]{animation:animation5shape3-data-v-37562626 2s ease 0s infinite reverse}@-webkit-keyframes animation5shape3-data-v-37562626{0%{-webkit-transform:translate(0);transform:translate(0)}25%{-webkit-transform:translate(15px);transform:translate(15px)}50%{-webkit-transform:translate(15px,-15px);transform:translate(15px,-15px)}75%{-webkit-transform:translateY(-15px);transform:translateY(-15px)}}@keyframes animation5shape3-data-v-37562626{0%{-webkit-transform:translate(0);transform:translate(0)}25%{-webkit-transform:translate(15px);transform:translate(15px)}50%{-webkit-transform:translate(15px,-15px);transform:translate(15px,-15px)}75%{-webkit-transform:translateY(-15px);transform:translateY(-15px)}}.loading5 .shape4[data-v-37562626]{animation:animation5shape4-data-v-37562626 2s ease 0s infinite reverse}@-webkit-keyframes animation5shape4-data-v-37562626{0%{-webkit-transform:translate(0);transform:translate(0)}25%{-webkit-transform:translateY(-15px);transform:translateY(-15px)}50%{-webkit-transform:translate(-15px,-15px);transform:translate(-15px,-15px)}75%{-webkit-transform:translate(-15px);transform:translate(-15px)}}@keyframes animation5shape4-data-v-37562626{0%{-webkit-transform:translate(0);transform:translate(0)}25%{-webkit-transform:translateY(-15px);transform:translateY(-15px)}50%{-webkit-transform:translate(-15px,-15px);transform:translate(-15px,-15px)}75%{-webkit-transform:translate(-15px);transform:translate(-15px)}}",""]),t.exports=e},"468a":function(t,e,a){"use strict";a.r(e);var i=a("3d5d"),n=a("a9ce");for(var r in n)["default"].indexOf(r)<0&&function(t){a.d(e,t,(function(){return n[t]}))}(r);a("e199");var o=a("828b"),s=Object(o["a"])(n["default"],i["b"],i["c"],!1,null,"2ef93b2c",null,!1,i["a"],void 0);e["default"]=s.exports},"47a9":function(t,e){t.exports=function(t){return t&&t.__esModule?t:{default:t}},t.exports.__esModule=!0,t.exports["default"]=t.exports},"4f76":function(t,e,a){var i=a("402a");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var n=a("b49c").default;n("addd57ae",i,!0,{sourceMap:!1,shadowMode:!1})},"59cf":function(t,e,a){"use strict";a.d(e,"b",(function(){return i})),a.d(e,"c",(function(){return n})),a.d(e,"a",(function(){}));var i=function(){var t=this.$createElement,e=this._self._c||t;return e("uni-view",{staticClass:this._$g(0,"sc"),attrs:{_i:0}},[e("uni-view",{staticClass:this._$g(1,"sc"),attrs:{_i:1}}),e("uni-view",{staticClass:this._$g(2,"sc"),attrs:{_i:2}},[this._v(this._$g(2,"t0-0"))])],1)},n=[]},"5a89":function(t,e,a){var i=a("1995");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var n=a("b49c").default;n("47efc986",i,!0,{sourceMap:!1,shadowMode:!1})},"5e2e":function(t,e,a){"use strict";a.r(e);var i=a("7b96"),n=a("3f6f");for(var r in n)["default"].indexOf(r)<0&&function(t){a.d(e,t,(function(){return n[t]}))}(r);a("2880");var o=a("828b"),s=Object(o["a"])(n["default"],i["b"],i["c"],!1,null,"cc06004c",null,!1,i["a"],void 0);e["default"]=s.exports},"5f21":function(t,e,a){"use strict";a.r(e);var i=a("af4f"),n=a("3f60");for(var r in n)["default"].indexOf(r)<0&&function(t){a.d(e,t,(function(){return n[t]}))}(r);var o=a("828b"),s=Object(o["a"])(n["default"],i["b"],i["c"],!1,null,"24ee7f38",null,!1,i["a"],void 0);e["default"]=s.exports},6064:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={name:"",data:function(){return{wxsProps:{}}},components:{}}},6075:function(t,e,a){var i=a("c86c");e=i(!1),e.push([t.i,".container[data-v-4e1c1bfa]{width:30px;height:30px;position:relative}.container.loading3[data-v-4e1c1bfa]{-webkit-animation:rotation 1s infinite;animation:rotation 1s infinite}.container.loading3 .shape1[data-v-4e1c1bfa]{border-top-left-radius:10px}.container.loading3 .shape2[data-v-4e1c1bfa]{border-top-right-radius:10px}.container.loading3 .shape3[data-v-4e1c1bfa]{border-bottom-left-radius:10px}.container.loading3 .shape4[data-v-4e1c1bfa]{border-bottom-right-radius:10px}.container .shape[data-v-4e1c1bfa]{position:absolute;width:10px;height:10px;border-radius:1px}.container .shape.shape1[data-v-4e1c1bfa]{left:0;background-color:#1890ff}.container .shape.shape2[data-v-4e1c1bfa]{right:0;background-color:#91cb74}.container .shape.shape3[data-v-4e1c1bfa]{bottom:0;background-color:#fac858}.container .shape.shape4[data-v-4e1c1bfa]{bottom:0;right:0;background-color:#e66}.loading3 .shape1[data-v-4e1c1bfa]{-webkit-animation:animation3shape1-data-v-4e1c1bfa .5s ease 0s infinite alternate;animation:animation3shape1-data-v-4e1c1bfa .5s ease 0s infinite alternate}@-webkit-keyframes animation3shape1-data-v-4e1c1bfa{from{-webkit-transform:translate(0);transform:translate(0)}to{-webkit-transform:translate(5px,5px);transform:translate(5px,5px)}}@keyframes animation3shape1-data-v-4e1c1bfa{from{-webkit-transform:translate(0);transform:translate(0)}to{-webkit-transform:translate(5px,5px);transform:translate(5px,5px)}}.loading3 .shape2[data-v-4e1c1bfa]{-webkit-animation:animation3shape2-data-v-4e1c1bfa .5s ease 0s infinite alternate;animation:animation3shape2-data-v-4e1c1bfa .5s ease 0s infinite alternate}@-webkit-keyframes animation3shape2-data-v-4e1c1bfa{from{-webkit-transform:translate(0);transform:translate(0)}to{-webkit-transform:translate(-5px,5px);transform:translate(-5px,5px)}}@keyframes animation3shape2-data-v-4e1c1bfa{from{-webkit-transform:translate(0);transform:translate(0)}to{-webkit-transform:translate(-5px,5px);transform:translate(-5px,5px)}}.loading3 .shape3[data-v-4e1c1bfa]{-webkit-animation:animation3shape3-data-v-4e1c1bfa .5s ease 0s infinite alternate;animation:animation3shape3-data-v-4e1c1bfa .5s ease 0s infinite alternate}@-webkit-keyframes animation3shape3-data-v-4e1c1bfa{from{-webkit-transform:translate(0);transform:translate(0)}to{-webkit-transform:translate(5px,-5px);transform:translate(5px,-5px)}}@keyframes animation3shape3-data-v-4e1c1bfa{from{-webkit-transform:translate(0);transform:translate(0)}to{-webkit-transform:translate(5px,-5px);transform:translate(5px,-5px)}}.loading3 .shape4[data-v-4e1c1bfa]{-webkit-animation:animation3shape4-data-v-4e1c1bfa .5s ease 0s infinite alternate;animation:animation3shape4-data-v-4e1c1bfa .5s ease 0s infinite alternate}@-webkit-keyframes animation3shape4-data-v-4e1c1bfa{from{-webkit-transform:translate(0);transform:translate(0)}to{-webkit-transform:translate(-5px,-5px);transform:translate(-5px,-5px)}}@keyframes animation3shape4-data-v-4e1c1bfa{from{-webkit-transform:translate(0);transform:translate(0)}to{-webkit-transform:translate(-5px,-5px);transform:translate(-5px,-5px)}}",""]),t.exports=e},"60d5":function(t,e,a){var i=a("a7ad");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var n=a("b49c").default;n("7d39d56f",i,!0,{sourceMap:!1,shadowMode:!1})},6382:function(t,e,a){var i=a("6454");t.exports=function(t,e){if(t){if("string"===typeof t)return i(t,e);var a=Object.prototype.toString.call(t).slice(8,-1);return"Object"===a&&t.constructor&&(a=t.constructor.name),"Map"===a||"Set"===a?Array.from(t):"Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?i(t,e):void 0}},t.exports.__esModule=!0,t.exports["default"]=t.exports},"63c1":function(t,e,a){"use strict";a.r(e);var i=a("ba9b"),n=a.n(i);for(var r in i)["default"].indexOf(r)<0&&function(t){a.d(e,t,(function(){return i[t]}))}(r);e["default"]=n.a},6454:function(t,e){t.exports=function(t,e){(null==e||e>t.length)&&(e=t.length);for(var a=0,i=new Array(e);a<e;a++)i[a]=t[a];return i},t.exports.__esModule=!0,t.exports["default"]=t.exports},"65fd":function(t,e,a){var i=a("e631");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var n=a("b49c").default;n("675dcda4",i,!0,{sourceMap:!1,shadowMode:!1})},6642:function(t,e,a){var i=a("c86c"),n=a("ac93"),r=a("2021"),o=a("9ffd");e=i(!1);var s=n(r),l=n(o);e.push([t.i,"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n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.eject{position:relative;width:600px;height:350px;background-color:#eaeaea;border-radius:25rpx}.eject-title{width:100%;height:100px;line-height:100px;font-size:20px;font-weight:700;color:#606266;text-align:center}.item{display:flex;align-items:center;margin:10px 0 0 0}.desc{display:inline-block;width:40%;text-align:right;color:#606266;font-size:18px}.input{display:flex;align-items:center;padding-left:5px;padding-right:5px;width:100%;height:30px;border:1px solid #c0c4cc;margin-right:50px}.eject-input uni-input{width:100%}.eject-button{display:flex;align-items:center;position:absolute;bottom:0;height:60px;line-height:60px;width:100%;border-top:1px solid #ccc}.button-item{width:50%;height:100%;font-size:20px;font-weight:700;text-align:center;color:#909399}.button-item:last-child{color:#67c23a;border-left:1px solid #ccc}.full-width{width:100%;height:100%;display:inline-block;float:left}.half-width{width:50%;height:100%;display:inline-block;float:left}.box-items{height:20%;width:100%;line-height:300rpx}.swiper-here{display:inline-block;margin:0 auto;width:100%;height:100%}.swiper-here-oN{display:inline-block;margin:0 auto;width:100%;height:90%}.swiper-here-error{display:inline-block;margin-top:20%;width:100%;height:100%}.animate{display:inline-block;-webkit-animation:25s wordsLoop linear infinite normal;animation:25s wordsLoop linear infinite normal}@keyframes wordsLoop{0%{transform:translateY(100px);-webkit-transform:translateY(100px)}100%{transform:translateY(-100%);-webkit-transform:translateY(-100%)}}@-webkit-keyframes wordsLoop{0%{transform:translateY(100px);-webkit-transform:translateY(100px)}100%{transform:translateY(-100%);-webkit-transform:translateY(-100%)}}.topUp{-webkit-animation:topUp 1.5s 1;animation:topUp 1.5s 1;-webkit-animation-fill-mode:both;animation-fill-mode:both}@-webkit-keyframes topUp{from{opacity:.5;top:-1080px}to{opacity:1;top:0}}@keyframes topUp{from{opacity:.5;top:-1080px}to{opacity:1;top:0}}.topDown{-webkit-animation:topDown 1.5s 1;animation:topDown 1.5s 1;-webkit-animation-fill-mode:both;animation-fill-mode:both}@-webkit-keyframes topDown{from{opacity:1;top:0}to{opacity:.5;top:-1080px}}@keyframes topDown{from{opacity:1;top:0}to{opacity:.5;top:-1080px}}.floorUp{-webkit-animation:floorUp 1.5s 1;animation:floorUp 1.5s 1;-webkit-animation-fill-mode:both;animation-fill-mode:both}@-webkit-keyframes floorUp{from{opacity:.5;top:0}to{opacity:1;top:1080px}}@keyframes floorUp{from{opacity:.5;top:0}to{opacity:1;top:1080px}}.floorDown{-webkit-animation:floorDown 1.5s 1;animation:floorDown 1.5s 1;-webkit-animation-fill-mode:both;animation-fill-mode:both}@-webkit-keyframes floorDown{from{opacity:.5;top:1080px}to{opacity:1;top:0}}@keyframes floorDown{from{opacity:.5;top:1080px}to{opacity:1;top:0}}.top-screen{position:fixed;width:1920px;height:1080px;background-image:url("+s+");z-index:999}.floor-screen{width:1920px;height:1080px;position:relative;color:#fff;text-align:center;font-size:120rpx;letter-spacing:5rpx;background-image:url("+s+")}.container{width:1920px;height:1080px;position:relative}.head{width:100%;height:10%;text-align:center;line-height:110px;color:#fff;font-size:40px;font-weight:700;letter-spacing:5px}.head uni-text{-webkit-transform:scaleY(.9);transform:scaleY(.9)}.time-tools{height:5%;position:absolute;top:0;float:right;right:50px;font-size:16px;font-weight:400;line-height:70px;letter-spacing:1px}.button-left{position:absolute;background-image:url("+l+");background-size:100% 100%;top:1.8%;left:21.3%;width:13.5%;height:8.5%;-webkit-transform:scaleX(-1);transform:scaleX(-1)}.button-right{position:absolute;background-image:url("+l+");background-size:100% 100%;top:1.8%;left:65%;width:13.5%;height:8.5%}.main{position:relative;width:100%;height:90%}.main-sides{position:relative;display:inline-block;float:left;width:50%;height:100%}.box{position:relative;margin:3% 2% 0 2%;width:96%;height:30%;border:1px solid #145088;overflow:hidden}.box-lg{height:94%}.box-border{position:absolute;width:10px;height:10px}.box-border1{top:0;left:0;border-left:2px solid #31c4c4;border-top:2px solid #31c4c4}.box-border2{top:0;right:0;border-right:2px solid #31c4c4;border-top:2px solid #31c4c4}.box-border3{bottom:0;left:0;border-bottom:2px solid #31c4c4;border-left:2px solid #31c4c4}.box-border4{bottom:0;right:0;border-right:2px solid #31c4c4;border-bottom:2px solid #31c4c4}.content{display:flex;flex-direction:column;flex:1}.charts-box{width:80%;height:230px;margin-left:10%}.ring{display:inline-block;float:left;width:60%;height:300px;margin-left:-10%}.box-item{width:92%;height:20%;margin-left:4%;padding-top:1em;color:#fff}.introduce{height:30%}.introduce h2{letter-spacing:5px}.english{font-size:14px}.introduce-content{font-size:20px;padding-top:2em;text-indent:2em;line-height:2em}.charge-info{height:45%}.charge-info-item{display:inline-block;width:50%;height:40%}.charge-info-item uni-image{display:inline-block;float:left;height:100%;width:20%}.charge-info-item uni-view{display:inline-block;position:relative;margin-left:10%;width:70%;height:49%}.charge-info-item .count, .charge-info-item .unit{position:absolute;display:inline-block;font-size:32px;bottom:0;padding-left:5%}.charge-info-item .unit{font-size:16px;float:right;right:20%}.footer{position:absolute;border:1px solid #145088;height:15%}.use-info{}.use-left{display:inline-block;width:40%}.use-right{display:inline-block;float:right;width:20%}.use-main{width:100%;height:75%}.use-main .left{display:inline-block;float:left;height:100%;width:70%;line-height:20px}.left .progressBar{margin-top:9%;width:100%;height:20%;background-color:#233751;border-radius:20px}.left .progress{height:100%;background-color:#ff5722;border-radius:20px}.left uni-progress{margin-left:10%;margin-top:10%;display:block}.use-main .right{display:inline-block;float:right;height:100%;width:20%;font-size:40px;color:#ff5722;line-height:130px}.box-tp{height:30%}.box-tp .sub-main{}.box-md{height:43%}.sub-main-right{display:inline-block;height:100%;width:50%}.sub-info{width:100%;height:33%}.sub-info uni-image{display:inline-block;float:left;height:100%;width:15%}.sub-info uni-text{display:inline-block;width:40%;height:100%;text-align:center;line-height:120px;font-size:20px}.box-bt{background-color:#063a7b;border:none;height:15%;color:#fff}.box-bt uni-image{position:absolute;float:right;right:0;top:0;width:20%;height:100%}.box-bt{font-size:36px;line-height:140px;text-indent:5em}.right-item{height:94%}.sub-left{display:inline-block;float:left;width:40%}.sub-right{display:inline-block;float:right;width:20%}.sub-main{position:absolute;width:92%;height:80%;bottom:0}",""]),t.exports=e},"675d":function(t,e,a){var i=a("1ad7");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var n=a("b49c").default;n("0ac72776",i,!0,{sourceMap:!1,shadowMode:!1})},7172:function(t,e){t.exports=function(t,e){var a=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=a){var i,n,r,o,s=[],l=!0,c=!1;try{if(r=(a=a.call(t)).next,0===e){if(Object(a)!==a)return;l=!1}else for(;!(l=(i=r.call(a)).done)&&(s.push(i.value),s.length!==e);l=!0);}catch(t){c=!0,n=t}finally{try{if(!l&&null!=a["return"]&&(o=a["return"](),Object(o)!==o))return}finally{if(c)throw n}}return s}},t.exports.__esModule=!0,t.exports["default"]=t.exports},"73fb":function(t,e,a){var i=a("c86c");e=i(!1),e.push([t.i,'@charset "UTF-8";.uni-popup-dialog[data-v-99b3946c]{width:300px;border-radius:11px;background-color:#fff}.uni-dialog-title[data-v-99b3946c]{display:flex;flex-direction:row;justify-content:center;padding-top:25px}.uni-dialog-title-text[data-v-99b3946c]{font-size:16px;font-weight:500}.uni-dialog-content[data-v-99b3946c]{display:flex;flex-direction:row;justify-content:center;align-items:center;padding:20px}.uni-dialog-content-text[data-v-99b3946c]{font-size:14px;color:#6c6c6c}.uni-dialog-button-group[data-v-99b3946c]{display:flex;flex-direction:row;border-top-color:#f5f5f5;border-top-style:solid;border-top-width:1px}.uni-dialog-button[data-v-99b3946c]{display:flex;flex:1;flex-direction:row;justify-content:center;align-items:center;height:45px}.uni-border-left[data-v-99b3946c]{border-left-color:#f0f0f0;border-left-style:solid;border-left-width:1px}.uni-dialog-button-text[data-v-99b3946c]{font-size:16px;color:#333}.uni-button-color[data-v-99b3946c]{color:#007aff}.uni-dialog-input[data-v-99b3946c]{flex:1;font-size:14px;border:1px #eee solid;height:40px;padding:0 10px;border-radius:5px;color:#555}.uni-popup__success[data-v-99b3946c]{color:#4cd964}.uni-popup__warn[data-v-99b3946c]{color:#f0ad4e}.uni-popup__error[data-v-99b3946c]{color:#dd524d}.uni-popup__info[data-v-99b3946c]{color:#909399}',""]),t.exports=e},7543:function(t,e,a){"use strict";a.r(e);var i=a("4052"),n=a.n(i);for(var r in i)["default"].indexOf(r)<0&&function(t){a.d(e,t,(function(){return i[t]}))}(r);e["default"]=n.a},7996:function(t,e,a){"use strict";a.r(e);var i=a("f5de"),n=a("9399");for(var r in n)["default"].indexOf(r)<0&&function(t){a.d(e,t,(function(){return n[t]}))}(r);a("7d31");var o=a("828b"),s=Object(o["a"])(n["default"],i["b"],i["c"],!1,null,"fe0925d0",null,!1,i["a"],void 0);e["default"]=s.exports},"7b49":function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={name:"uniPopup",props:["animation","type","isMaskClick","maskClick","backgroundColor","safeArea","maskBackgroundColor"],data:function(){return{wxsProps:{}}},components:{}}},"7b96":function(t,e,a){"use strict";a.d(e,"b",(function(){return i})),a.d(e,"c",(function(){return n})),a.d(e,"a",(function(){}));var i=function(){var t=this.$createElement,e=this._self._c||t;return e("uni-view",{staticClass:this._$g(0,"sc"),attrs:{_i:0}})},n=[]},"7c9c":function(t,e,a){"use strict";a.r(e);var i=a("7b49"),n=a.n(i);for(var r in i)["default"].indexOf(r)<0&&function(t){a.d(e,t,(function(){return i[t]}))}(r);e["default"]=n.a},"7d31":function(t,e,a){"use strict";var i=a("02c7"),n=a.n(i);n.a},"7d36":function(t,e,a){"use strict";a.d(e,"b",(function(){return i})),a.d(e,"c",(function(){return n})),a.d(e,"a",(function(){}));var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("uni-view",{attrs:{_i:0}},[a("v-uni-button",{staticClass:t._$g(1,"sc"),attrs:{_i:1},on:{click:function(e){return t.$handleViewEvent(e)}}},[t._v("Clear")]),t._$g(2,"i")?a("v-uni-web-view",{attrs:{src:t._$g(2,"a-src"),_i:2}}):t._e(),t._$g(3,"i")?a("uni-view",{staticStyle:{"margin-top":"100px"},attrs:{_i:3}},[a("v-uni-input",{attrs:{type:"text",placeholder:"\u8f93\u5165URL",_i:4},model:{value:t._$g(4,"v-model"),callback:function(e){t.$handleVModelEvent(4,e)},expression:"url"}}),a("v-uni-button",{attrs:{_i:5},on:{click:function(e){return t.$handleViewEvent(e)}}},[t._v("\u8bbe\u7f6e")])],1):t._e()],1)},n=[]},"7ec4":function(t,e,a){var i=a("c86c");e=i(!1),e.push([t.i,".container[data-v-fe0925d0]{width:30px;height:30px;position:relative}.container.loading1[data-v-fe0925d0]{-webkit-transform:rotate(45deg);transform:rotate(45deg)}.container .shape[data-v-fe0925d0]{position:absolute;width:10px;height:10px;border-radius:1px}.container .shape.shape1[data-v-fe0925d0]{left:0;background-color:#1890ff}.container .shape.shape2[data-v-fe0925d0]{right:0;background-color:#91cb74}.container .shape.shape3[data-v-fe0925d0]{bottom:0;background-color:#fac858}.container .shape.shape4[data-v-fe0925d0]{bottom:0;right:0;background-color:#e66}.loading1 .shape1[data-v-fe0925d0]{-webkit-animation:animation1shape1-data-v-fe0925d0 .5s ease 0s infinite alternate;animation:animation1shape1-data-v-fe0925d0 .5s ease 0s infinite alternate}@-webkit-keyframes animation1shape1-data-v-fe0925d0{from{-webkit-transform:translate(0);transform:translate(0)}to{-webkit-transform:translate(16px,16px);transform:translate(16px,16px)}}@keyframes animation1shape1-data-v-fe0925d0{from{-webkit-transform:translate(0);transform:translate(0)}to{-webkit-transform:translate(16px,16px);transform:translate(16px,16px)}}.loading1 .shape2[data-v-fe0925d0]{-webkit-animation:animation1shape2-data-v-fe0925d0 .5s ease 0s infinite alternate;animation:animation1shape2-data-v-fe0925d0 .5s ease 0s infinite alternate}@-webkit-keyframes animation1shape2-data-v-fe0925d0{from{-webkit-transform:translate(0);transform:translate(0)}to{-webkit-transform:translate(-16px,16px);transform:translate(-16px,16px)}}@keyframes animation1shape2-data-v-fe0925d0{from{-webkit-transform:translate(0);transform:translate(0)}to{-webkit-transform:translate(-16px,16px);transform:translate(-16px,16px)}}.loading1 .shape3[data-v-fe0925d0]{-webkit-animation:animation1shape3-data-v-fe0925d0 .5s ease 0s infinite alternate;animation:animation1shape3-data-v-fe0925d0 .5s ease 0s infinite alternate}@-webkit-keyframes animation1shape3-data-v-fe0925d0{from{-webkit-transform:translate(0);transform:translate(0)}to{-webkit-transform:translate(16px,-16px);transform:translate(16px,-16px)}}@keyframes animation1shape3-data-v-fe0925d0{from{-webkit-transform:translate(0);transform:translate(0)}to{-webkit-transform:translate(16px,-16px);transform:translate(16px,-16px)}}.loading1 .shape4[data-v-fe0925d0]{-webkit-animation:animation1shape4-data-v-fe0925d0 .5s ease 0s infinite alternate;animation:animation1shape4-data-v-fe0925d0 .5s ease 0s infinite alternate}@-webkit-keyframes animation1shape4-data-v-fe0925d0{from{-webkit-transform:translate(0);transform:translate(0)}to{-webkit-transform:translate(-16px,-16px);transform:translate(-16px,-16px)}}@keyframes animation1shape4-data-v-fe0925d0{from{-webkit-transform:translate(0);transform:translate(0)}to{-webkit-transform:translate(-16px,-16px);transform:translate(-16px,-16px)}}",""]),t.exports=e},"7edb":function(t,e,a){"use strict";a.r(e);var i=a("898b"),n=a.n(i);for(var r in i)["default"].indexOf(r)<0&&function(t){a.d(e,t,(function(){return i[t]}))}(r);e["default"]=n.a},8042:function(t,e,a){"use strict";a.d(e,"b",(function(){return n})),a.d(e,"c",(function(){return r})),a.d(e,"a",(function(){return i}));var i={uniTransition:a("997e").default},n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return t._$g(0,"i")?a("uni-view",{staticClass:t._$g(0,"sc"),class:t._$g(0,"c"),attrs:{_i:0},on:{touchmove:function(e){return t.$handleViewEvent(e,{stop:!0,prevent:!0})}}},[a("uni-view",{attrs:{_i:1},on:{touchstart:function(e){return t.$handleViewEvent(e)}}},[t._$g(2,"i")?a("uni-transition",{key:"1",attrs:{_i:2},on:{click:function(e){return t.$handleViewEvent(e)}}}):t._e(),a("uni-transition",{key:"2",attrs:{_i:3},on:{click:function(e){return t.$handleViewEvent(e)}}},[a("uni-view",{staticClass:t._$g(4,"sc"),class:t._$g(4,"c"),style:t._$g(4,"s"),attrs:{_i:4},on:{click:function(e){return t.$handleViewEvent(e)}}},[t._t("default",null,{_i:5})],2)],1)],1)],1):t._e()},r=[]},"828b":function(t,e,a){"use strict";function i(t,e,a,i,n,r,o,s,l,c){var d,h="function"===typeof t?t.options:t;if(l){h.components||(h.components={});var u=Object.prototype.hasOwnProperty;for(var f in l)u.call(l,f)&&!u.call(h.components,f)&&(h.components[f]=l[f])}if(c&&("function"===typeof c.beforeCreate&&(c.beforeCreate=[c.beforeCreate]),(c.beforeCreate||(c.beforeCreate=[])).unshift((function(){this[c.__module]=this})),(h.mixins||(h.mixins=[])).push(c)),e&&(h.render=e,h.staticRenderFns=a,h._compiled=!0),i&&(h.functional=!0),r&&(h._scopeId="data-v-"+r),o?(d=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"===typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),n&&n.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(o)},h._ssrRegister=d):n&&(d=s?function(){n.call(this,this.$root.$options.shadowRoot)}:n),d)if(h.functional){h._injectStyles=d;var p=h.render;h.render=function(t,e){return d.call(e),p(t,e)}}else{var x=h.beforeCreate;h.beforeCreate=x?[].concat(x,d):[d]}return{exports:t,options:h}}a.d(e,"a",(function(){return i}))},8325:function(t,e,a){"use strict";a.r(e);var i=a("8ab6"),n=a("7edb");for(var r in n)["default"].indexOf(r)<0&&function(t){a.d(e,t,(function(){return n[t]}))}(r);var o=a("3d72");for(var r in o)["default"].indexOf(r)<0&&function(t){a.d(e,t,(function(){return o[t]}))}(r);a("c781");var s=a("828b");n["default"].__module="rdcharts";var l=Object(s["a"])(o["default"],i["b"],i["c"],!1,null,"3f29adb2",null,!1,i["a"],n["default"]);e["default"]=l.exports},8412:function(t,e,a){"use strict";var i=a("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=i(a("7996")),r=i(a("468a")),o=i(a("c959")),s=i(a("3c8c")),l=i(a("8a5a")),c={name:"qiun-loading",props:["loadingType"],data:function(){return{wxsProps:{}}},components:{Loading1:n.default,Loading2:r.default,Loading3:o.default,Loading4:s.default,Loading5:l.default}};e.default=c},"84d1":function(t,e,a){var i=a("1e40");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var n=a("b49c").default;n("ff6c9cb4",i,!0,{sourceMap:!1,shadowMode:!1})},8729:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={props:["title"],data:function(){return{wxsProps:{}}},components:{}}},8804:function(t,e,a){"use strict";var i=a("be93"),n=a.n(i);n.a},"88ff":function(t,e,a){var i=a("269a");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var n=a("b49c").default;n("093554ea",i,!0,{sourceMap:!1,shadowMode:!1})},"898b":function(t,e,a){"use strict";var i=a("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=i(a("3b2d")),r=i(a("17c3")),o=i(a("1a14")),s=i(a("e235")),l={},c=null;function d(){for(var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length,a=new Array(e>1?e-1:0),i=1;i<e;i++)a[i-1]=arguments[i];for(var r in a)for(var o in a[r])a[r].hasOwnProperty(o)&&(t[o]=a[r][o]&&"object"===(0,n.default)(a[r][o])?d(Array.isArray(a[r][o])?[]:{},t[o],a[r][o]):a[r][o]);return t}function h(t,e){for(var a in t)t.hasOwnProperty(a)&&null!==t[a]&&"object"===(0,n.default)(t[a])?h(t[a],e):"format"===a&&"string"===typeof t[a]&&(t["formatter"]=e[t[a]]?e[t[a]]:void 0);return t}var u={data:function(){return{rid:null}},mounted:function(){var t=this;c={top:0,left:0},setTimeout((function(){null===t.rid&&t.$ownerInstance&&t.$ownerInstance.callMethod("getRenderType")}),200)},destroyed:function(){delete o.default.option[this.rid],delete o.default.instance[this.rid],delete s.default.option[this.rid],delete s.default.instance[this.rid]},methods:{ecinit:function(t,e,a,i){var r=JSON.stringify(t.id);this.rid=r,l[r]=this.$ownerInstance||i;var o=JSON.parse(JSON.stringify(t)),c=o.type;c&&s.default.type.includes(c)?s.default.option[r]=d({},s.default[c],o):s.default.option[r]=d({},o);var h=o.chartData;if(h){s.default.option[r].xAxis&&s.default.option[r].xAxis.type&&"category"===s.default.option[r].xAxis.type&&(s.default.option[r].xAxis.data=h.categories),s.default.option[r].yAxis&&s.default.option[r].yAxis.type&&"category"===s.default.option[r].yAxis.type&&(s.default.option[r].yAxis.data=h.categories),s.default.option[r].series=[];for(var u=0;u<h.series.length;u++){s.default.option[r].seriesTemplate=s.default.option[r].seriesTemplate?s.default.option[r].seriesTemplate:{};var f=d({},s.default.option[r].seriesTemplate,h.series[u]);s.default.option[r].series.push(f)}}if("object"===(0,n.default)(window.echarts))this.newEChart();else{var p=document.createElement("script");p.src="./uni_modules/qiun-data-charts/static/app-plus/echarts.min.js",p.onload=this.newEChart,document.head.appendChild(p)}},ecresize:function(t,e,a,i){s.default.instance[this.rid]&&s.default.instance[this.rid].resize()},newEChart:function(){var t=this.rid;void 0===s.default.instance[t]?(s.default.instance[t]=echarts.init(l[t].$el.children[0]),!0===s.default.option[t].ontap&&(s.default.instance[t].on("click",(function(e){var a=JSON.parse(JSON.stringify({x:e.event.offsetX,y:e.event.offsetY}));l[t].callMethod("emitMsg",{name:"getIndex",params:{type:"getIndex",event:a,currentIndex:e.dataIndex,value:e.data,seriesName:e.seriesName,id:t}})})),s.default.instance[t].on("highlight",(function(e){l[t].callMethod("emitMsg",{name:"getHighlight",params:{type:"highlight",res:e,id:t}})}))),this.updataEChart(t,s.default.option[t])):this.updataEChart(t,s.default.option[t])},updataEChart:function(t,e){if(e=h(e,s.default.formatter),e.tooltip&&(e.tooltip.show=!!e.tooltipShow,e.tooltip.position=this.tooltipPosition(),"string"===typeof e.tooltipFormat&&s.default.formatter[e.tooltipFormat]&&(e.tooltip.formatter=e.tooltip.formatter?e.tooltip.formatter:s.default.formatter[e.tooltipFormat])),e.series)for(var a in e.series){var i=e.series[a].linearGradient;i&&(e.series[a].color=new echarts.graphic.LinearGradient(i[0],i[1],i[2],i[3],i[4]))}s.default.instance[t].setOption(e,e.notMerge),s.default.instance[t].on("finished",(function(){l[t].callMethod("emitMsg",{name:"complete",params:{type:"complete",complete:!0,id:t}}),s.default.instance[t]&&s.default.instance[t].off("finished")})),"undefined"!=typeof l[t].$el.children[0].clientWidth&&(Math.abs(l[t].$el.children[0].clientWidth-s.default.instance[t].getWidth())>3||Math.abs(l[t].$el.children[0].clientHeight-s.default.instance[t].getHeight())>3)&&this.ecresize()},tooltipPosition:function(){return function(t,e,a,i,n){var r=t[0],o=t[1],s=n.viewSize[0],l=n.viewSize[1],c=n.contentSize[0],d=n.contentSize[1],h=r+30,u=o+30;return h+c>s&&(h=r-c-30),u+d>l&&(u=o-d-30),[h,u]}},ucinit:function(t,e,a,i){var n=this;if(JSON.stringify(t)!=JSON.stringify(e)&&t.canvasId){var r=JSON.parse(JSON.stringify(t.canvasId));this.rid=r,l[r]=this.$ownerInstance||i,o.default.option[r]=JSON.parse(JSON.stringify(t)),o.default.option[r]=h(o.default.option[r],o.default.formatter);var s=document.getElementById(r);s&&s.children[0]&&(o.default.option[r].context=s.children[0].getContext("2d"),o.default.instance[r]&&o.default.option[r]&&!0===o.default.option[r].update?this.updataUChart():setTimeout((function(){o.default.option[r].context.restore(),o.default.option[r].context.save(),n.newUChart()}),100))}},newUChart:function(){var t=this.rid;o.default.instance[t]=new r.default(o.default.option[t]),o.default.instance[t].addEventListener("renderComplete",(function(){l[t].callMethod("emitMsg",{name:"complete",params:{type:"complete",complete:!0,id:t,opts:o.default.instance[t].opts}}),o.default.instance[t].delEventListener("renderComplete")})),o.default.instance[t].addEventListener("scrollLeft",(function(){l[t].callMethod("emitMsg",{name:"scrollLeft",params:{type:"scrollLeft",scrollLeft:!0,id:t,opts:o.default.instance[t].opts}})})),o.default.instance[t].addEventListener("scrollRight",(function(){l[t].callMethod("emitMsg",{name:"scrollRight",params:{type:"scrollRight",scrollRight:!0,id:t,opts:o.default.instance[t].opts}})}))},updataUChart:function(){var t=this.rid;o.default.instance[t].updateData(o.default.option[t])},tooltipDefault:function(t,e,a,i){if(e){var r=t.data;return"object"===(0,n.default)(t.data)&&(r=t.data.value),e+" "+t.name+":"+r}return t.properties&&t.properties.name?t.properties.name:t.name+":"+t.data},showTooltip:function(t,e){var a=this,i=o.default.option[e].tooltipCustom;if(i&&void 0!==i&&null!==i){var n=void 0;i.x>=0&&i.y>=0&&(n={x:i.x,y:i.y+10}),o.default.instance[e].showToolTip(t,{index:i.index,offset:n,textList:i.textList,formatter:function(t,i,n,r){return"string"===typeof o.default.option[e].tooltipFormat&&o.default.formatter[o.default.option[e].tooltipFormat]?o.default.formatter[o.default.option[e].tooltipFormat](t,i,n,r):a.tooltipDefault(t,i,n,r)}})}else o.default.instance[e].showToolTip(t,{formatter:function(t,i,n,r){return"string"===typeof o.default.option[e].tooltipFormat&&o.default.formatter[o.default.option[e].tooltipFormat]?o.default.formatter[o.default.option[e].tooltipFormat](t,i,n,r):a.tooltipDefault(t,i,n,r)}})},tap:function(t){var e=this.rid,a=o.default.option[e].ontap,i=o.default.option[e].tooltipShow,n=o.default.option[e].tapLegend;if(0!=a){var r,s,d=document.getElementById("UC"+e).getBoundingClientRect(),h={};h=t.detail.x?{x:t.detail.x-d.left,y:t.detail.y-d.top+c.top}:{x:t.clientX-d.left,y:t.clientY-d.top+c.top},t.changedTouches=[],t.changedTouches.unshift(h),r=o.default.instance[e].getCurrentDataIndex(t),s=o.default.instance[e].getLegendDataIndex(t),!0===n&&o.default.instance[e].touchLegend(t),1==i&&this.showTooltip(t,e),l[e].callMethod("emitMsg",{name:"getIndex",params:{type:"getIndex",event:h,currentIndex:r,legendIndex:s,id:e,opts:o.default.instance[e].opts}})}},touchStart:function(t){var e=this.rid,a=o.default.option[e].ontouch;0!=a&&(!0===o.default.option[e].enableScroll&&1==t.touches.length&&o.default.instance[e].scrollStart(t),l[e].callMethod("emitMsg",{name:"getTouchStart",params:{type:"touchStart",event:t.changedTouches[0],id:e,opts:o.default.instance[e].opts}}))},touchMove:function(t){var e=this.rid,a=o.default.option[e].ontouch;if(0!=a){if(!0===o.default.option[e].enableScroll&&1==t.changedTouches.length&&o.default.instance[e].scroll(t),!0===o.default.option[e].ontap&&!1===o.default.option[e].enableScroll&&!0===o.default.option[e].onmovetip){var i=document.getElementById("UC"+e).getBoundingClientRect(),n={x:t.changedTouches[0].clientX-i.left,y:t.changedTouches[0].clientY-i.top+c.top};t.changedTouches.unshift(n),!0===o.default.option[e].tooltipShow&&this.showTooltip(t,e)}!0===a&&!0===o.default.option[e].enableScroll&&!0===o.default.option[e].onzoom&&2==t.changedTouches.length&&o.default.instance[e].dobuleZoom(t),l[e].callMethod("emitMsg",{name:"getTouchMove",params:{type:"touchMove",event:t.changedTouches[0],id:e,opts:o.default.instance[e].opts}})}},touchEnd:function(t){var e=this.rid,a=o.default.option[e].ontouch;0!=a&&(!0===o.default.option[e].enableScroll&&0==t.touches.length&&o.default.instance[e].scrollEnd(t),l[e].callMethod("emitMsg",{name:"getTouchEnd",params:{type:"touchEnd",event:t.changedTouches[0],id:e,opts:o.default.instance[e].opts}}))},mouseDown:function(t){var e=this.rid,a=o.default.option[e].onmouse;if(0!=a){var i,n=document.getElementById("UC"+e).getBoundingClientRect();i={x:t.clientX-n.left,y:t.clientY-n.top+c.top},t.changedTouches=[],t.changedTouches.unshift(i),o.default.instance[e].scrollStart(t),o.default.option[e].mousedown=!0,l[e].callMethod("emitMsg",{name:"getTouchStart",params:{type:"mouseDown",event:i,id:e,opts:o.default.instance[e].opts}})}},mouseMove:function(t){var e=this.rid,a=o.default.option[e].onmouse,i=o.default.option[e].tooltipShow;if(0!=a){var n,r=document.getElementById("UC"+e).getBoundingClientRect();n={x:t.clientX-r.left,y:t.clientY-r.top+c.top},t.changedTouches=[],t.changedTouches.unshift(n),o.default.option[e].mousedown?(o.default.instance[e].scroll(t),l[e].callMethod("emitMsg",{name:"getTouchMove",params:{type:"mouseMove",event:n,id:e,opts:o.default.instance[e].opts}})):o.default.instance[e]&&1==i&&this.showTooltip(t,e)}},mouseUp:function(t){var e=this.rid,a=o.default.option[e].onmouse;if(0!=a){var i,n=document.getElementById("UC"+e).getBoundingClientRect();i={x:t.clientX-n.left,y:t.clientY-n.top+c.top},t.changedTouches=[],t.changedTouches.unshift(i),o.default.instance[e].scrollEnd(t),o.default.option[e].mousedown=!1,l[e].callMethod("emitMsg",{name:"getTouchEnd",params:{type:"mouseUp",event:i,id:e,opts:o.default.instance[e].opts}})}}}};e.default=u},"8a5a":function(t,e,a){"use strict";a.r(e);var i=a("3fb1"),n=a("e9e1");for(var r in n)["default"].indexOf(r)<0&&function(t){a.d(e,t,(function(){return n[t]}))}(r);a("f1e8");var o=a("828b"),s=Object(o["a"])(n["default"],i["b"],i["c"],!1,null,"6e5d9c90",null,!1,i["a"],void 0);e["default"]=s.exports},"8ab6":function(t,e,a){"use strict";a.d(e,"b",(function(){return n})),a.d(e,"c",(function(){return r})),a.d(e,"a",(function(){return i}));var i={qiunLoading:a("5f21").default,qiunError:a("9eba").default},n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("uni-view",{staticClass:t._$g(0,"sc"),attrs:{id:t._$g(0,"a-id"),_i:0}},[t._$g(1,"i")?a("uni-view",{attrs:{_i:1}},[a("qiun-loading",{attrs:{_i:2}})],1):t._e(),t._$g(3,"i")?a("uni-view",{attrs:{_i:3},on:{click:function(e){return t.$handleViewEvent(e)}}},[a("qiun-error",{attrs:{_i:4}})],1):t._e(),t._$g(5,"i")?[a("uni-view",{directives:[{name:"show",rawName:"v-show",value:t._$g(6,"v-show"),expression:"_$g(6,'v-show')"}],wxsProps:{"change:resize":"echartsResize","change:prop":"echartsOpts"},staticStyle:{width:"100%",height:"100%"},style:t._$g(6,"s"),attrs:{"data-directory":t._$g(6,"a-data-directory"),id:t._$g(6,"a-id"),prop:t._$gc(6,"change:echartsOpts"),"change:prop":t.rdcharts.ecinit,resize:t._$gc(6,"change:echartsResize"),"change:resize":t.rdcharts.ecresize,_i:6}})]:[a("uni-view",{wxsProps:{"change:prop":"uchartsOpts"},attrs:{id:t._$g(8,"a-id"),prop:t._$gc(8,"change:uchartsOpts"),"change:prop":t.rdcharts.ucinit,_i:8},on:{mousemove:function(e){e=t.$handleWxsEvent(e),t.rdcharts.mouseMove(e,t.$getComponentDescriptor())},mousedown:function(e){e=t.$handleWxsEvent(e),t.rdcharts.mouseDown(e,t.$getComponentDescriptor())},mouseup:function(e){e=t.$handleWxsEvent(e),t.rdcharts.mouseUp(e,t.$getComponentDescriptor())},touchstart:function(e){e=t.$handleWxsEvent(e),t.rdcharts.touchStart(e,t.$getComponentDescriptor())},touchmove:function(e){e=t.$handleWxsEvent(e),t.rdcharts.touchMove(e,t.$getComponentDescriptor())},touchend:function(e){e=t.$handleWxsEvent(e),t.rdcharts.touchEnd(e,t.$getComponentDescriptor())},click:function(e){e=t.$handleWxsEvent(e),t.rdcharts.tap(e,t.$getComponentDescriptor())}}},[a("v-uni-canvas",{directives:[{name:"show",rawName:"v-show",value:t._$g(9,"v-show"),expression:"_$g(9,'v-show')"}],style:t._$g(9,"s"),attrs:{id:t._$g(9,"a-id"),canvasId:t._$g(9,"a-canvasId"),"disable-scroll":t._$g(9,"a-disable-scroll"),_i:9},on:{error:function(e){return t.$handleViewEvent(e)}}})],1)]],2)},r=[]},"8b6b":function(t,e,a){"use strict";a.r(e);var i=a("d9bb"),n=a.n(i);for(var r in i)["default"].indexOf(r)<0&&function(t){a.d(e,t,(function(){return i[t]}))}(r);e["default"]=n.a},"907f":function(t,e,a){"use strict";a.d(e,"b",(function(){return n})),a.d(e,"c",(function(){return r})),a.d(e,"a",(function(){return i}));var i={uniTransition:a("997e").default,yBox:a("357c").default,qiunDataCharts:a("8325").default,uniPopup:a("a640").default,uniPopupDialog:a("ed43").default},n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("uni-view",{staticClass:t._$g(0,"sc"),attrs:{_i:0}},[a("uni-transition",{attrs:{_i:1}},[a("uni-view",{staticClass:t._$g(2,"sc"),attrs:{_i:2}},[a("uni-view",{staticClass:t._$g(3,"sc"),attrs:{_i:3}},[a("v-uni-text",{attrs:{_i:4}},[t._v("\u667a\u80fd\u5927\u5c4f\u663e\u793a\u7cfb\u7edf")])],1),a("uni-view",{staticClass:t._$g(5,"sc"),attrs:{_i:5}},[t._v(t._$g(5,"t0-0"))]),a("uni-view",{staticClass:t._$g(6,"sc"),attrs:{_i:6}},[t._v("V:"+t._$g(6,"t0-0"))]),a("uni-view",{staticClass:t._$g(7,"sc"),attrs:{_i:7},on:{click:function(e){return t.$handleViewEvent(e)}}}),a("uni-view",{staticClass:t._$g(8,"sc"),attrs:{_i:8},on:{click:function(e){return t.$handleViewEvent(e)}}}),a("uni-view",{staticClass:t._$g(9,"sc"),attrs:{_i:9}},[a("uni-view",{staticClass:t._$g(10,"sc"),attrs:{_i:10}},[a("uni-view",{staticClass:t._$g(11,"sc"),attrs:{_i:11}},[a("y-box",{attrs:{_i:12}},[a("uni-view",{staticClass:t._$g(13,"sc"),attrs:{_i:13}},[a("v-uni-text",{staticClass:t._$g(14,"sc"),attrs:{_i:14}},[t._v("\u667a\u80fd\u5927\u5c4f\u663e\u793a\u7cfb\u7edf")]),a("v-uni-text",{staticClass:t._$g(15,"sc"),attrs:{_i:15}},[t._v("Intelligent LargeScreen Display System")])],1),a("uni-view",{staticClass:t._$g(16,"sc"),attrs:{_i:16}},[a("v-uni-text",{staticClass:t._$g(17,"sc"),attrs:{_i:17}},[t._v("\u4ed3\u5e93\u6570\u636e")]),a("v-uni-text",{staticClass:t._$g(18,"sc"),attrs:{_i:18}},[t._v("warehouse data")]),a("uni-view",{staticClass:t._$g(19,"sc"),attrs:{_i:19}},t._l(t._$g(20,"f"),(function(e,i,n,r){return a("uni-view",{key:e,staticStyle:{width:"100%",display:"flex"},attrs:{_i:"20-"+r}},[a("uni-view",{staticStyle:{display:"flex","justify-content":"center","align-items":"center",width:"48%","font-size":"1.3vw"},attrs:{_i:"21-"+r}},[t._v("\u7269\u6599\u7801: "+t._$g("21-"+r,"t0-0"))]),a("uni-view",{staticStyle:{display:"flex","justify-content":"center","align-items":"center",width:"48%","font-size":"1.3vw"},attrs:{_i:"22-"+r}},[t._v("\u6570\u91cf: "+t._$g("22-"+r,"t0-0"))])],1)})),1)],1),a("uni-view",{staticClass:t._$g(23,"sc"),attrs:{_i:23}},[a("uni-view",{staticClass:t._$g(24,"sc"),staticStyle:{width:"100%"},attrs:{_i:24}},[a("uni-view",{staticClass:t._$g(25,"sc"),staticStyle:{"align-items":"flex-start","justify-content":"flex-start"},attrs:{_i:25}},[a("v-uni-text",{staticClass:t._$g(26,"sc"),attrs:{_i:26}},[t._v("\u5e93\u4f4d\u4f7f\u7528\u7387")]),a("v-uni-text",{staticClass:t._$g(27,"sc"),attrs:{_i:27}},[t._v("EQUIPMENT USAGE THIS MONTH")])],1),a("uni-view",{staticStyle:{"margin-left":"auto"},attrs:{_i:28}},[a("uni-view",{staticClass:t._$g(29,"sc"),staticStyle:{"align-items":"flex-end","justify-content":"flex-end"},attrs:{_i:29}},[a("v-uni-text",{staticClass:t._$g(30,"sc"),attrs:{_i:30}},[t._v(t._$g(30,"t0-0")+"%")])],1)],1)],1),a("uni-view",{staticClass:t._$g(31,"sc"),staticStyle:{width:"100%","align-items":"flex-start",position:"relative","font-size":"1vw"},attrs:{_i:31}},[a("uni-view",{staticClass:t._$g(32,"sc"),staticStyle:{width:"100%",position:"relative","margin-top":"5%"},attrs:{_i:32}},[a("uni-view",{staticClass:t._$g(33,"sc"),staticStyle:{width:"80%",height:"2vw"},attrs:{_i:33}},[a("uni-view",{staticClass:t._$g(34,"sc"),style:t._$g(34,"s"),attrs:{_i:34}})],1),a("uni-view",{staticStyle:{position:"absolute",bottom:"0",right:"0","font-size":"2.5vw",color:"#FF5722"},attrs:{_i:35}},[t._v(t._$g(35,"t0-0"))])],1)],1)],1)],1)],1)],1),a("uni-view",{staticClass:t._$g(36,"sc"),attrs:{_i:36}},[a("uni-view",{staticClass:t._$g(37,"sc"),attrs:{_i:37}},[a("uni-view",{staticStyle:{width:"100%",height:"100%"},attrs:{_i:38}},[a("uni-view",{staticStyle:{height:"35%"},attrs:{_i:39}},[a("y-box",{attrs:{_i:40}},[a("uni-view",{staticClass:t._$g(41,"sc"),attrs:{_i:41}},[a("uni-view",{staticClass:t._$g(42,"sc"),staticStyle:{width:"100%"},attrs:{_i:42}},[a("uni-view",{staticClass:t._$g(43,"sc"),staticStyle:{"align-items":"flex-start","justify-content":"flex-start"},attrs:{_i:43}},[a("v-uni-text",{staticClass:t._$g(44,"sc"),attrs:{_i:44}},[t._v("\u5165\u51fa\u5e93\u7edf\u8ba1")]),a("v-uni-text",{staticClass:t._$g(45,"sc"),attrs:{_i:45}},[t._v("ORDER STATISTICS")])],1),a("uni-view",{staticStyle:{"margin-left":"auto"},attrs:{_i:46}},[a("uni-view",{staticClass:t._$g(47,"sc"),staticStyle:{"align-items":"flex-end","justify-content":"flex-end"},attrs:{_i:47}})],1)],1),a("uni-view",{staticClass:t._$g(48,"sc"),attrs:{_i:48}},[a("qiun-data-charts",{attrs:{_i:49}})],1)],1)],1)],1),a("uni-view",{staticStyle:{height:"2%"},attrs:{_i:50}}),a("uni-view",{staticStyle:{height:"43%"},attrs:{_i:51}},[a("y-box",{attrs:{_i:52}},[a("uni-view",{staticClass:t._$g(53,"sc"),attrs:{_i:53}},[a("uni-view",{staticClass:t._$g(54,"sc"),staticStyle:{width:"100%"},attrs:{_i:54}},[a("uni-view",{staticClass:t._$g(55,"sc"),staticStyle:{"align-items":"flex-start","justify-content":"flex-start"},attrs:{_i:55}},[a("v-uni-text",{staticClass:t._$g(56,"sc"),attrs:{_i:56}},[t._v("\u5e93\u5b58\u7c7b\u578b")]),a("v-uni-text",{staticClass:t._$g(57,"sc"),attrs:{_i:57}},[t._v("INCOME DATE")])],1),a("uni-view",{staticStyle:{"margin-left":"auto"},attrs:{_i:58}},[a("uni-view",{staticClass:t._$g(59,"sc"),staticStyle:{"align-items":"flex-end","justify-content":"flex-end"},attrs:{_i:59}},[a("v-uni-text",{staticClass:t._$g(60,"sc"),attrs:{_i:60}},[t._v("\u4eca\u5929")]),a("v-uni-text",{staticClass:t._$g(61,"sc"),attrs:{_i:61}},[t._v("Today")])],1)],1)],1),a("uni-view",{staticClass:t._$g(62,"sc"),staticStyle:{width:"100%"},attrs:{_i:62}},[a("uni-view",{staticClass:t._$g(63,"sc"),attrs:{_i:63}},[a("qiun-data-charts",{attrs:{_i:64}})],1),a("uni-view",{attrs:{_i:65}},[a("uni-view",{staticClass:t._$g(66,"sc"),attrs:{_i:66}},[a("v-uni-image",{attrs:{src:t._$g(67,"a-src"),mode:"aspectFit",_i:67}}),a("uni-view",{staticStyle:{width:"8vw",height:"4vw","line-height":"4vw"},attrs:{_i:68}},[t._v("\u5728\u5e93")]),a("uni-view",{staticStyle:{width:"8vw",height:"4vw","line-height":"4vw","font-size":"2vw"},attrs:{_i:69}},[t._v(t._$g(69,"t0-0"))])],1),a("uni-view",{staticClass:t._$g(70,"sc"),staticStyle:{"margin-top":"2vh"},attrs:{_i:70}},[a("v-uni-image",{attrs:{src:t._$g(71,"a-src"),mode:"aspectFit",_i:71}}),a("uni-view",{staticStyle:{width:"8vw",height:"4vw","line-height":"4vw"},attrs:{_i:72}},[t._v("\u7a7a\u5e93")]),a("uni-view",{staticStyle:{width:"8vw",height:"4vw","line-height":"4vw","font-size":"2vw"},attrs:{_i:73}},[t._v(t._$g(73,"t0-0"))])],1),a("uni-view",{staticClass:t._$g(74,"sc"),staticStyle:{"margin-top":"2vh"},attrs:{_i:74}},[a("v-uni-image",{attrs:{src:t._$g(75,"a-src"),mode:"aspectFit",_i:75}}),a("uni-view",{staticStyle:{width:"8vw",height:"4vw","line-height":"4vw"},attrs:{_i:76}},[t._v("\u9501\u5b9a")]),a("uni-view",{staticStyle:{width:"8vw",height:"4vw","line-height":"4vw","font-size":"2vw"},attrs:{_i:77}},[t._v(t._$g(77,"t0-0"))])],1)],1)],1)],1)],1)],1),a("uni-view",{staticStyle:{height:"2%"},attrs:{_i:78}}),a("uni-view",{staticStyle:{height:"18%",display:"flex","justify-content":"space-around","align-items":"center"},attrs:{_i:79}},[a("uni-view",{staticStyle:{height:"50%"},attrs:{_i:80}},[a("v-uni-image",{staticStyle:{height:"100%"},attrs:{src:t._$g(81,"a-src"),mode:"aspectFit",_i:81}})],1)],1)],1)],1)],1)],1)],1)],1),a("uni-transition",{attrs:{_i:82}},[a("uni-view",{staticClass:t._$g(83,"sc"),attrs:{_i:83}},[a("uni-view",{staticClass:t._$g(84,"sc"),attrs:{_i:84}},[a("v-uni-text",{attrs:{_i:85}},[t._v(t._$g(85,"t0-0"))])],1),a("uni-view",{staticClass:t._$g(86,"sc"),attrs:{_i:86}},[t._v(t._$g(86,"t0-0"))]),a("uni-view",{staticClass:t._$g(87,"sc"),attrs:{_i:87},on:{click:function(e){return t.$handleViewEvent(e)}}}),a("uni-view",{staticClass:t._$g(88,"sc"),attrs:{_i:88},on:{click:function(e){return t.$handleViewEvent(e)}}}),a("uni-view",{staticClass:t._$g(89,"sc"),attrs:{_i:89}},[a("uni-view",{staticClass:t._$g(90,"sc"),attrs:{_i:90}},[a("y-box",{attrs:{_i:91}},[a("uni-view",{staticClass:t._$g(92,"sc"),attrs:{_i:92}},[a("uni-view",{staticClass:t._$g(93,"sc"),attrs:{_i:93}},[a("uni-view",{staticStyle:{width:"30%"},attrs:{_i:94}},[t._v("\u6258\u76d8\u7801: "+t._$g(94,"t0-0"))]),a("uni-view",{staticStyle:{width:"20%"},attrs:{_i:95}},[t._v("\u5de5\u4f5c\u53f7: "+t._$g(95,"t0-0"))]),a("uni-view",{staticStyle:{width:"30%"},attrs:{_i:96}},[t._v("\u6e90\u5e93\u4f4d: "+t._$g(96,"t0-0"))]),a("uni-view",{staticStyle:{width:"20%"},attrs:{_i:97}},[t._v("\u76ee\u6807\u7ad9: "+t._$g(97,"t0-0"))])],1),a("uni-view",{staticClass:t._$g(98,"sc"),attrs:{_i:98}},[a("v-uni-swiper",{staticClass:t._$g(99,"sc"),attrs:{vertical:"true","display-multiple-items":"1",circular:"true",autoplay:!0,interval:3e3,duration:2e3,_i:99}},t._l(t._$g(100,"f"),(function(e,i,n,r){return a("v-uni-swiper-item",{key:e,staticClass:t._$g("100-"+r,"sc"),attrs:{_i:"100-"+r}},[a("uni-view",{staticStyle:{width:"100%"},attrs:{_i:"101-"+r}},[t._v(t._$g("101-"+r,"t0-0")+" / "+t._$g("101-"+r,"t0-1"))]),a("uni-view",{staticStyle:{width:"50%","font-size":"3vw"},attrs:{_i:"102-"+r}},[t._v("\u7269\u6599\u7f16\u7801: "+t._$g("102-"+r,"t0-0"))]),a("uni-view",{staticStyle:{width:"50%","font-size":"3vw"},attrs:{_i:"103-"+r}},[t._v("\u540d\u79f0: "+t._$g("103-"+r,"t0-0"))]),a("uni-view",{staticStyle:{width:"50%","font-size":"3vw"},attrs:{_i:"104-"+r}},[t._v("\u89c4\u683c: "+t._$g("104-"+r,"t0-0"))]),a("uni-view",{staticStyle:{width:"50%","font-size":"3vw"},attrs:{_i:"105-"+r}},[t._v("\u6279\u6b21: "+t._$g("105-"+r,"t0-0"))]),a("uni-view",{staticStyle:{width:"50%","font-size":"3vw"},attrs:{_i:"106-"+r}},[t._v("\u9500\u552e\u5355\u53f7: "+t._$g("106-"+r,"t0-0"))]),a("uni-view",{staticStyle:{width:"50%","font-size":"3vw"},attrs:{_i:"107-"+r}},[t._v("\u5ba2\u6237\u540d\u79f0: "+t._$g("107-"+r,"t0-0"))]),a("uni-view",{staticStyle:{width:"33%","font-size":"3vw"},attrs:{_i:"108-"+r}},[t._v("\u6570\u91cf: "+t._$g("108-"+r,"t0-0"))])],1)})),1)],1)],1)],1)],1)],1)],1)],1),a("uni-transition",{attrs:{_i:109}},[a("uni-view",{staticClass:t._$g(110,"sc"),attrs:{_i:110}},[a("uni-view",{staticClass:t._$g(111,"sc"),attrs:{_i:111}},[a("v-uni-text",{attrs:{_i:112}},[t._v(t._$g(112,"t0-0"))])],1),a("uni-view",{staticClass:t._$g(113,"sc"),attrs:{_i:113}},[t._v(t._$g(113,"t0-0"))]),a("uni-view",{staticClass:t._$g(114,"sc"),attrs:{_i:114}}),a("uni-view",{staticClass:t._$g(115,"sc"),attrs:{_i:115}}),a("uni-view",{staticClass:t._$g(116,"sc"),attrs:{_i:116}},[a("uni-view",{staticClass:t._$g(117,"sc"),attrs:{_i:117}},[a("y-box",{attrs:{_i:118}},[a("uni-view",{staticClass:t._$g(119,"sc"),attrs:{_i:119}},[a("uni-view",{staticClass:t._$g(120,"sc"),attrs:{_i:120}},[t._v(t._$g(120,"t0-0"))])],1)],1)],1)],1)],1)],1),a("uni-view",{directives:[{name:"show",rawName:"v-show",value:t._$g(121,"v-show"),expression:"_$g(121,'v-show')"}],staticClass:t._$g(121,"sc"),attrs:{_i:121}},[a("uni-view",{staticClass:t._$g(122,"sc"),attrs:{_i:122}},[a("uni-view",{staticClass:t._$g(123,"sc"),attrs:{_i:123}},[t._v("\u4fee\u6539 / \u914d\u7f6e")]),a("v-uni-scroll-view",{staticClass:t._$g(124,"sc"),attrs:{"scroll-y":!0,_i:124}},[a("uni-view",{staticClass:t._$g(125,"sc"),attrs:{_i:125}},[a("uni-view",{staticClass:t._$g(126,"sc"),attrs:{_i:126}},[t._v("ip\uff1a")]),a("uni-view",{staticClass:t._$g(127,"sc"),attrs:{_i:127}},[a("v-uni-input",{attrs:{type:"text",_i:128},model:{value:t._$g(128,"v-model"),callback:function(e){t.$handleVModelEvent(128,e)},expression:"baseIP"}})],1)],1),a("uni-view",{staticClass:t._$g(129,"sc"),attrs:{_i:129}},[a("uni-view",{staticClass:t._$g(130,"sc"),attrs:{_i:130}},[t._v("Wcsport\uff1a")]),a("uni-view",{staticClass:t._$g(131,"sc"),attrs:{_i:131}},[a("v-uni-input",{attrs:{type:"text",_i:132},model:{value:t._$g(132,"v-model"),callback:function(e){t.$handleVModelEvent(132,e)},expression:"basePort"}})],1)],1),a("uni-view",{staticClass:t._$g(133,"sc"),attrs:{_i:133}},[a("uni-view",{staticClass:t._$g(134,"sc"),attrs:{_i:134}},[t._v("WcsUrl\uff1a")]),a("uni-view",{staticClass:t._$g(135,"sc"),attrs:{_i:135}},[a("v-uni-input",{attrs:{type:"text",_i:136},model:{value:t._$g(136,"v-model"),callback:function(e){t.$handleVModelEvent(136,e)},expression:"baseUrl"}})],1)],1),a("uni-view",{staticClass:t._$g(137,"sc"),attrs:{_i:137}},[a("uni-view",{staticClass:t._$g(138,"sc"),attrs:{_i:138}},[t._v("Wmsport\uff1a")]),a("uni-view",{staticClass:t._$g(139,"sc"),attrs:{_i:139}},[a("v-uni-input",{attrs:{type:"text",_i:140},model:{value:t._$g(140,"v-model"),callback:function(e){t.$handleVModelEvent(140,e)},expression:"wmsPort"}})],1)],1),a("uni-view",{staticClass:t._$g(141,"sc"),attrs:{_i:141}},[a("uni-view",{staticClass:t._$g(142,"sc"),attrs:{_i:142}},[t._v("WmsUrl\uff1a")]),a("uni-view",{staticClass:t._$g(143,"sc"),attrs:{_i:143}},[a("v-uni-input",{attrs:{type:"text",_i:144},model:{value:t._$g(144,"v-model"),callback:function(e){t.$handleVModelEvent(144,e)},expression:"wmsUrl"}})],1)],1),a("uni-view",{staticClass:t._$g(145,"sc"),attrs:{_i:145}},[a("uni-view",{staticClass:t._$g(146,"sc"),attrs:{_i:146}},[t._v("ledId\uff1a")]),a("uni-view",{staticClass:t._$g(147,"sc"),attrs:{_i:147}},[a("v-uni-input",{attrs:{type:"text",_i:148},model:{value:t._$g(148,"v-model"),callback:function(e){t.$handleVModelEvent(148,e)},expression:"baseLedId"}})],1)],1)],1),a("uni-view",{staticClass:t._$g(149,"sc"),attrs:{_i:149}},[a("uni-view",{staticClass:t._$g(150,"sc"),attrs:{_i:150},on:{click:function(e){return t.$handleViewEvent(e)}}},[t._v("\u53d6 \u6d88")]),a("uni-view",{staticClass:t._$g(151,"sc"),attrs:{_i:151},on:{click:function(e){return t.$handleViewEvent(e)}}},[t._v("\u786e \u8ba4")])],1)],1)],1),a("uni-view",{attrs:{_i:152}},[a("uni-popup",{ref:"upVersion",attrs:{_i:153}},[a("uni-popup-dialog",{attrs:{_i:154},on:{confirm:function(e){return t.$handleViewEvent(e)},close:function(e){return t.$handleViewEvent(e)}}})],1)],1),a("uni-view",{directives:[{name:"show",rawName:"v-show",value:t._$g(155,"v-show"),expression:"_$g(155,'v-show')"}],staticStyle:{color:"#FFF",position:"fixed",bottom:"10px",left:"10px"},attrs:{_i:155}},[t._v("\u8fde\u63a5\u8d85\u65f6\uff0c\u6b63\u5728\u91cd\u65b0\u5efa\u7acb\u94fe\u63a5:: "+t._$g(155,"t0-0"))])],1)},r=[]},"925e":function(t,e,a){"use strict";a.d(e,"b",(function(){return n})),a.d(e,"c",(function(){return r})),a.d(e,"a",(function(){return i}));var i={qiunDataCharts:a("8325").default,uniPopup:a("a640").default,uniPopupDialog:a("ed43").default},n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("uni-view",{staticClass:t._$g(0,"sc"),attrs:{_i:0}},[a("uni-view",{staticClass:t._$g(1,"sc"),class:t._$g(1,"c"),attrs:{_i:1}},[a("uni-view",{staticClass:t._$g(2,"sc"),attrs:{_i:2}},[a("v-uni-text",{attrs:{_i:3},on:{click:function(e){return t.$handleViewEvent(e)}}},[t._v("\u81ea\u52a8\u4ed3\u5e93WCS\u76d1\u63a7\u5e73\u53f0")]),a("uni-view",{staticClass:t._$g(4,"sc"),attrs:{_i:4}},[t._v(t._$g(4,"t0-0")+"-"+t._$g(4,"t0-1")+"-"+t._$g(4,"t0-2")+"\xa0"+t._$g(4,"t0-3")+":"+t._$g(4,"t0-4")+":"+t._$g(4,"t0-5")+"\xa0"+t._$g(4,"t0-6"))]),a("uni-view",{staticClass:t._$g(5,"sc"),attrs:{_i:5},on:{click:function(e){return t.$handleViewEvent(e)}}}),a("uni-view",{staticClass:t._$g(6,"sc"),attrs:{_i:6},on:{click:function(e){return t.$handleViewEvent(e)}}})],1),a("uni-view",{staticClass:t._$g(7,"sc"),attrs:{_i:7}},[a("uni-view",{staticClass:t._$g(8,"sc"),staticStyle:{width:"100%"},attrs:{_i:8}},[a("uni-view",{staticClass:t._$g(9,"sc"),staticStyle:{height:"90%"},attrs:{_i:9}},[a("uni-view",{staticClass:t._$g(10,"sc"),attrs:{_i:10}}),a("uni-view",{staticClass:t._$g(11,"sc"),attrs:{_i:11}}),a("uni-view",{staticClass:t._$g(12,"sc"),attrs:{_i:12}}),a("uni-view",{staticClass:t._$g(13,"sc"),attrs:{_i:13}}),a("uni-view",{directives:[{name:"show",rawName:"v-show",value:t._$g(14,"v-show"),expression:"_$g(14,'v-show')"}],staticStyle:{width:"100%",height:"100%"},attrs:{_i:14}},[a("uni-view",{class:t._$g(15,"c"),attrs:{_i:15}},[a("uni-view",{staticClass:t._$g(16,"sc"),attrs:{_i:16}},[t._v(t._$g(16,"t0-0"))]),a("uni-view",{staticClass:t._$g(17,"sc"),attrs:{_i:17}},[t._v(t._$g(17,"t0-0"))]),a("uni-view",{staticClass:t._$g(18,"sc"),attrs:{_i:18}},[t._v(t._$g(18,"t0-0"))]),a("uni-view",{staticClass:t._$g(19,"sc"),attrs:{_i:19}},[t._v(t._$g(19,"t0-0"))]),a("uni-view",{staticClass:t._$g(20,"sc"),attrs:{_i:20}},[t._v(t._$g(20,"t0-0"))])],1),a("uni-view",{directives:[{name:"show",rawName:"v-show",value:t._$g(21,"v-show"),expression:"_$g(21,'v-show')"}],staticStyle:{width:"50%",height:"100%",display:"inline-block",float:"left"},attrs:{_i:21}},[a("uni-view",{staticClass:t._$g(22,"sc"),attrs:{_i:22}},[t._v(t._$g(22,"t0-0"))]),a("uni-view",{staticClass:t._$g(23,"sc"),attrs:{_i:23}},[t._v(t._$g(23,"t0-0"))]),a("uni-view",{staticClass:t._$g(24,"sc"),attrs:{_i:24}},[t._v(t._$g(24,"t0-0"))]),a("uni-view",{staticClass:t._$g(25,"sc"),attrs:{_i:25}},[t._v(t._$g(25,"t0-0"))]),a("uni-view",{staticClass:t._$g(26,"sc"),attrs:{_i:26}},[t._v(t._$g(26,"t0-0"))])],1)],1),a("uni-view",{directives:[{name:"show",rawName:"v-show",value:t._$g(27,"v-show"),expression:"_$g(27,'v-show')"}],staticStyle:{width:"100%",height:"100%"},attrs:{_i:27}},[a("uni-view",{staticStyle:{"line-height":"700px","font-size":"175rpx"},attrs:{_i:28}},[t._v(t._$g(28,"t0-0"))])],1)],1)],1)],1)],1),a("uni-view",{staticClass:t._$g(29,"sc"),class:t._$g(29,"c"),attrs:{_i:29}},[a("uni-view",{staticClass:t._$g(30,"sc"),attrs:{_i:30}},[a("v-uni-text",{attrs:{_i:31},on:{click:function(e){return t.$handleViewEvent(e)}}},[t._v("\u81ea\u52a8\u4ed3\u5e93WCS\u76d1\u63a7\u5e73\u53f0")]),a("uni-view",{staticClass:t._$g(32,"sc"),attrs:{_i:32}},[t._v(t._$g(32,"t0-0")+"-"+t._$g(32,"t0-1")+"-"+t._$g(32,"t0-2")+"\xa0"+t._$g(32,"t0-3")+":"+t._$g(32,"t0-4")+":"+t._$g(32,"t0-5")+"\xa0"+t._$g(32,"t0-6"))]),a("uni-view",{staticClass:t._$g(33,"sc"),attrs:{_i:33},on:{click:function(e){return t.$handleViewEvent(e)}}}),a("uni-view",{staticClass:t._$g(34,"sc"),attrs:{_i:34},on:{click:function(e){return t.$handleViewEvent(e)}}})],1),a("uni-view",{staticClass:t._$g(35,"sc"),attrs:{_i:35}},[a("uni-view",{staticClass:t._$g(36,"sc"),attrs:{_i:36}},[a("uni-view",{staticClass:t._$g(37,"sc"),attrs:{_i:37}},[a("uni-view",{staticClass:t._$g(38,"sc"),attrs:{_i:38}}),a("uni-view",{staticClass:t._$g(39,"sc"),attrs:{_i:39}}),a("uni-view",{staticClass:t._$g(40,"sc"),attrs:{_i:40}}),a("uni-view",{staticClass:t._$g(41,"sc"),attrs:{_i:41}}),a("uni-view",{staticClass:t._$g(42,"sc"),attrs:{_i:42}},[a("h3",{attrs:{_i:43}},[t._v("\u81ea\u52a8\u5316\u7acb\u4f53\u4ed3\u5e93")]),a("p",{staticClass:t._$g(44,"sc"),attrs:{_i:44}},[t._v("Automatic Storageand Retrieval System")]),a("p",{staticClass:t._$g(45,"sc"),attrs:{_i:45}},[t._v("\u5229\u7528\u7acb\u4f53\u4ed3\u5e93\u8bbe\u5907\u53ef\u5b9e\u73b0\u4ed3\u5e93\u9ad8\u5c42\u5408\u7406\u5316\u3001\u5b58\u53d6\u81ea\u52a8\u5316\u3001\u64cd\u4f5c\u7b80\u4fbf\u5316\uff1b\u81ea\u52a8\u5316\u7acb\u4f53\u4ed3\u5e93\u662f\u5f53\u524d\u6280\u672f\u6c34\u5e73\u8f83\u9ad8\u7684\u5f62\u5f0f\u3002\n\t\t\t\t\t\t\u81ea\u52a8\u5316\u7acb\u4f53\u4ed3\u5e93\u7684\u4e3b\u4f53\u7531\u8d27\u67b6\u3001\u5df7\u9053\u5f0f\u5806\u579b\u8d77\u91cd\u673a\u3001\u5165\uff08\u51fa\uff09\u5e93\u5de5\u4f5c\u53f0\u548c\u81ea\u52a8\u8fd0\u8fdb\uff08\u51fa\uff09\u53ca\u64cd\u4f5c\u63a7\u5236\u7cfb\u7edf\u7ec4\u6210\u3002\n\t\t\t\t\t\t\u8d27\u67b6\u662f\u94a2\u7ed3\u6784\u6216\u94a2\u7b4b\u6df7\u51dd\u571f\u7ed3\u6784\u7684\u5efa\u7b51\u7269\u6216\u7ed3\u6784\u4f53\uff0c\u8d27\u67b6\u5185\u662f\u6807\u51c6\u5c3a\u5bf8\u7684\u8d27\u4f4d\u7a7a\u95f4\uff0c\u5df7\u9053\u5806\u579b\u8d77\u91cd\u673a\u7a7f\u884c\u4e8e\u8d27\u67b6\u4e4b\u95f4\u7684\u5df7\u9053\u4e2d\uff0c\u5b8c\u6210\u5b58\u3001\u53d6\u8d27\u7684\u5de5\u4f5c\u3002\u7ba1\u7406\u4e0a\u91c7\u7528\u8ba1\u7b97\u673a\u53ca\u6761\u5f62\u7801\u6280\u672f\u3002")])],1),a("uni-view",{staticClass:t._$g(46,"sc"),attrs:{_i:46}},[a("h3",{attrs:{_i:47}},[t._v("\u4ed3\u5e93\u6570\u636e")]),a("p",{staticClass:t._$g(48,"sc"),attrs:{_i:48}},[t._v("warehouse data")]),a("uni-view",{staticClass:t._$g(49,"sc"),attrs:{_i:49}},[a("v-uni-image",{attrs:{src:t._$g(50,"a-src"),mode:"aspectFit",_i:50}}),a("uni-view",{attrs:{_i:51}},[a("v-uni-text",{staticClass:t._$g(52,"sc"),attrs:{_i:52}},[t._v(t._$g(52,"t0-0"))]),a("v-uni-text",{staticClass:t._$g(53,"sc"),attrs:{_i:53}},[t._v("m")])],1),a("uni-view",{attrs:{_i:54}},[t._v("\u7d2f\u8ba1\u8d70\u884c\u8ddd\u79bb(\u7c73)")])],1),a("uni-view",{staticClass:t._$g(55,"sc"),attrs:{_i:55}},[a("v-uni-image",{attrs:{src:t._$g(56,"a-src"),mode:"aspectFit",_i:56}}),a("uni-view",{attrs:{_i:57}},[a("v-uni-text",{staticClass:t._$g(58,"sc"),attrs:{_i:58}},[t._v(t._$g(58,"t0-0"))]),a("v-uni-text",{staticClass:t._$g(59,"sc"),attrs:{_i:59}},[t._v("m")])],1),a("uni-view",{attrs:{_i:60}},[t._v("\u7d2f\u8ba1\u5347\u964d\u8ddd\u79bb(\u7c73)")])],1),a("uni-view",{staticClass:t._$g(61,"sc"),attrs:{_i:61}},[a("v-uni-image",{attrs:{src:t._$g(62,"a-src"),mode:"aspectFit",_i:62}}),a("uni-view",{attrs:{_i:63}},[a("v-uni-text",{staticClass:t._$g(64,"sc"),attrs:{_i:64}},[t._v(t._$g(64,"t0-0"))]),a("v-uni-text",{staticClass:t._$g(65,"sc"),attrs:{_i:65}},[t._v("m")])],1),a("uni-view",{attrs:{_i:66}},[t._v("\u7d2f\u8ba1\u8d70\u884c\u65f6\u957f(\u79d2)")])],1),a("uni-view",{staticClass:t._$g(67,"sc"),attrs:{_i:67}},[a("v-uni-image",{attrs:{src:t._$g(68,"a-src"),mode:"aspectFit",_i:68}}),a("uni-view",{attrs:{_i:69}},[a("v-uni-text",{staticClass:t._$g(70,"sc"),attrs:{_i:70}},[t._v(t._$g(70,"t0-0"))]),a("v-uni-text",{staticClass:t._$g(71,"sc"),attrs:{_i:71}},[t._v("m")])],1),a("uni-view",{attrs:{_i:72}},[t._v("\u7d2f\u8ba1\u5347\u964d\u65f6\u957f(\u79d2)")])],1)],1),a("uni-view",{staticClass:t._$g(73,"sc"),attrs:{_i:73}},[a("uni-view",{staticClass:t._$g(74,"sc"),attrs:{_i:74}},[a("h3",{attrs:{_i:75}},[t._v("\u5e93\u4f4d\u4f7f\u7528\u7387")]),a("p",{staticClass:t._$g(76,"sc"),attrs:{_i:76}},[t._v("EQUIPMENT USAGE THIS MONTH")])],1),a("uni-view",{staticClass:t._$g(77,"sc"),attrs:{_i:77}},[a("h3",{attrs:{_i:78}},[t._v(t._$g(78,"t0-0")+"%")]),a("p",{staticClass:t._$g(79,"sc"),attrs:{_i:79}},[t._v("\u540c\u6bd4\u4e0a\u6708 + 5%")])],1),a("uni-view",{staticClass:t._$g(80,"sc"),attrs:{_i:80}},[a("uni-view",{staticClass:t._$g(81,"sc"),attrs:{_i:81}},[a("uni-view",{staticClass:t._$g(82,"sc"),attrs:{_i:82}},[a("uni-view",{staticClass:t._$g(83,"sc"),style:t._$g(83,"s"),attrs:{_i:83}})],1)],1),a("uni-view",{staticClass:t._$g(84,"sc"),attrs:{_i:84}},[t._v(t._$g(84,"t0-0"))])],1)],1)],1)],1),a("uni-view",{staticClass:t._$g(85,"sc"),attrs:{_i:85}},[a("uni-view",{staticClass:t._$g(86,"sc"),attrs:{_i:86}},[a("uni-view",{staticClass:t._$g(87,"sc"),attrs:{_i:87}}),a("uni-view",{staticClass:t._$g(88,"sc"),attrs:{_i:88}}),a("uni-view",{staticClass:t._$g(89,"sc"),attrs:{_i:89}}),a("uni-view",{staticClass:t._$g(90,"sc"),attrs:{_i:90}}),a("uni-view",{staticClass:t._$g(91,"sc"),attrs:{_i:91}},[a("uni-view",{staticClass:t._$g(92,"sc"),attrs:{_i:92}},[a("h3",{attrs:{_i:93}},[t._v("\u5165\u51fa\u5e93\u7edf\u8ba1")]),a("p",{staticClass:t._$g(94,"sc"),attrs:{_i:94}},[t._v("ORDER STATISTICS")])],1),a("uni-view",{staticClass:t._$g(95,"sc"),attrs:{_i:95}},[a("h3",{attrs:{_i:96}},[t._v("31")]),a("p",{staticClass:t._$g(97,"sc"),attrs:{_i:97}},[t._v("\u4eca\u65e5\u8ba2\u5355\u6570")])],1),a("uni-view",{staticClass:t._$g(98,"sc"),attrs:{_i:98}},[a("uni-view",{staticClass:t._$g(99,"sc"),attrs:{_i:99}},[a("qiun-data-charts",{attrs:{_i:100}})],1)],1)],1)],1),a("uni-view",{staticClass:t._$g(101,"sc"),attrs:{_i:101}},[a("uni-view",{staticClass:t._$g(102,"sc"),attrs:{_i:102}}),a("uni-view",{staticClass:t._$g(103,"sc"),attrs:{_i:103}}),a("uni-view",{staticClass:t._$g(104,"sc"),attrs:{_i:104}}),a("uni-view",{staticClass:t._$g(105,"sc"),attrs:{_i:105}}),a("uni-view",{staticClass:t._$g(106,"sc"),attrs:{_i:106}},[a("uni-view",{staticClass:t._$g(107,"sc"),attrs:{_i:107}},[a("h3",{attrs:{_i:108}},[t._v("\u5e93\u5b58\u7c7b\u578b")]),a("p",{staticClass:t._$g(109,"sc"),attrs:{_i:109}},[t._v("INCOME DATE")])],1),a("uni-view",{staticClass:t._$g(110,"sc"),attrs:{_i:110}},[a("h3",{attrs:{_i:111}},[t._v("\u4eca\u5929")]),a("p",{staticClass:t._$g(112,"sc"),attrs:{_i:112}},[t._v("Today")])],1),a("uni-view",{staticClass:t._$g(113,"sc"),attrs:{_i:113}},[a("uni-view",{staticClass:t._$g(114,"sc"),attrs:{_i:114}},[a("qiun-data-charts",{attrs:{_i:115}})],1),a("uni-view",{staticClass:t._$g(116,"sc"),attrs:{_i:116}},[a("uni-view",{staticClass:t._$g(117,"sc"),attrs:{_i:117}},[a("v-uni-image",{attrs:{src:t._$g(118,"a-src"),mode:"aspectFit",_i:118}}),a("v-uni-text",{attrs:{_i:119}},[t._v("\u5728\u5e93")]),a("v-uni-text",{attrs:{_i:120}},[t._v(t._$g(120,"t0-0"))])],1),a("uni-view",{staticClass:t._$g(121,"sc"),attrs:{_i:121}},[a("v-uni-image",{attrs:{src:t._$g(122,"a-src"),mode:"aspectFit",_i:122}}),a("v-uni-text",{attrs:{_i:123}},[t._v("\u7a7a\u5e93")]),a("v-uni-text",{attrs:{_i:124}},[t._v(t._$g(124,"t0-0"))])],1),a("uni-view",{staticClass:t._$g(125,"sc"),attrs:{_i:125}},[a("v-uni-image",{attrs:{src:t._$g(126,"a-src"),mode:"aspectFit",_i:126}}),a("v-uni-text",{attrs:{_i:127}},[t._v("\u7981\u7528")]),a("v-uni-text",{attrs:{_i:128}},[t._v(t._$g(128,"t0-0"))])],1)],1)],1)],1)],1),a("uni-view",{staticClass:t._$g(129,"sc"),attrs:{_i:129}},[a("uni-view",{staticClass:t._$g(130,"sc"),attrs:{_i:130}}),a("uni-view",{staticClass:t._$g(131,"sc"),attrs:{_i:131}}),a("uni-view",{staticClass:t._$g(132,"sc"),attrs:{_i:132}}),a("uni-view",{staticClass:t._$g(133,"sc"),attrs:{_i:133}}),a("uni-view",{attrs:{_i:134},on:{click:function(e){return t.$handleViewEvent(e)}}},[t._v("\u5609\u5584\u8fb9\u950b\u673a\u68b0\u80a1\u4efd\u6709\u9650\u516c\u53f8")])],1)],1)],1)],1),a("uni-view",{attrs:{_i:135}},[a("uni-popup",{ref:"url",attrs:{_i:136}},[a("uni-popup-dialog",{ref:"inputClose",attrs:{_i:137},on:{confirm:function(e){return t.$handleViewEvent(e)}}})],1)],1),a("uni-view",{attrs:{_i:138}},[a("uni-popup",{ref:"ledId",attrs:{_i:139}},[a("uni-popup-dialog",{ref:"inputClose",attrs:{_i:140},on:{confirm:function(e){return t.$handleViewEvent(e)}}})],1)],1),a("uni-view",{attrs:{_i:141}},[a("uni-popup",{ref:"port",attrs:{_i:142}},[a("uni-popup-dialog",{ref:"inputClose",attrs:{_i:143},on:{confirm:function(e){return t.$handleViewEvent(e)}}})],1)],1),a("uni-view",{attrs:{_i:144}},[a("uni-popup",{ref:"crnId",attrs:{_i:145}},[a("uni-popup-dialog",{ref:"inputClose",attrs:{_i:146},on:{confirm:function(e){return t.$handleViewEvent(e)}}})],1)],1),a("uni-view",{directives:[{name:"show",rawName:"v-show",value:t._$g(147,"v-show"),expression:"_$g(147,'v-show')"}],staticClass:t._$g(147,"sc"),attrs:{_i:147}},[a("uni-view",{staticClass:t._$g(148,"sc"),attrs:{_i:148}},[a("uni-view",{staticClass:t._$g(149,"sc"),attrs:{_i:149}},[t._v("\u4fee\u6539 / \u914d\u7f6e")]),a("uni-view",{staticClass:t._$g(150,"sc"),attrs:{_i:150}},[a("uni-view",{staticClass:t._$g(151,"sc"),attrs:{_i:151}},[a("uni-view",{staticClass:t._$g(152,"sc"),attrs:{_i:152}},[t._v("ip\uff1a")]),a("uni-view",{staticClass:t._$g(153,"sc"),attrs:{_i:153}},[a("v-uni-input",{attrs:{type:"text",_i:154},model:{value:t._$g(154,"v-model"),callback:function(e){t.$handleVModelEvent(154,e)},expression:"baseIP"}})],1)],1),a("uni-view",{staticClass:t._$g(155,"sc"),attrs:{_i:155}},[a("uni-view",{staticClass:t._$g(156,"sc"),attrs:{_i:156}},[t._v("port\uff1a")]),a("uni-view",{staticClass:t._$g(157,"sc"),attrs:{_i:157}},[a("v-uni-input",{attrs:{type:"text",_i:158},model:{value:t._$g(158,"v-model"),callback:function(e){t.$handleVModelEvent(158,e)},expression:"basePort"}})],1)],1),a("uni-view",{staticClass:t._$g(159,"sc"),attrs:{_i:159}},[a("uni-view",{staticClass:t._$g(160,"sc"),attrs:{_i:160}},[t._v("ledId\uff1a")]),a("uni-view",{staticClass:t._$g(161,"sc"),attrs:{_i:161}},[a("v-uni-input",{attrs:{type:"text",_i:162},model:{value:t._$g(162,"v-model"),callback:function(e){t.$handleVModelEvent(162,e)},expression:"baseLedId"}})],1)],1),a("uni-view",{staticClass:t._$g(163,"sc"),attrs:{_i:163}},[a("uni-view",{staticClass:t._$g(164,"sc"),attrs:{_i:164}},[t._v("CrnId\uff1a")]),a("uni-view",{staticClass:t._$g(165,"sc"),attrs:{_i:165}},[a("v-uni-input",{attrs:{type:"text",_i:166},model:{value:t._$g(166,"v-model"),callback:function(e){t.$handleVModelEvent(166,e)},expression:"baseCrnId"}})],1)],1)],1),a("uni-view",{staticClass:t._$g(167,"sc"),attrs:{_i:167}},[a("uni-view",{staticClass:t._$g(168,"sc"),attrs:{_i:168},on:{click:function(e){return t.$handleViewEvent(e)}}},[t._v("\u53d6 \u6d88")]),a("uni-view",{staticClass:t._$g(169,"sc"),attrs:{_i:169},on:{click:function(e){return t.$handleViewEvent(e)}}},[t._v("\u786e \u8ba4")])],1)],1)],1)],1)},r=[]},9399:function(t,e,a){"use strict";a.r(e);var i=a("21c9"),n=a.n(i);for(var r in i)["default"].indexOf(r)<0&&function(t){a.d(e,t,(function(){return i[t]}))}(r);e["default"]=n.a},"93d8":function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={data:function(){return{wxsProps:{}}},components:{}}},"997e":function(t,e,a){"use strict";a.r(e);var i=a("3d8c"),n=a("8b6b");for(var r in n)["default"].indexOf(r)<0&&function(t){a.d(e,t,(function(){return n[t]}))}(r);var o=a("828b"),s=Object(o["a"])(n["default"],i["b"],i["c"],!1,null,"acf5fb64",null,!1,i["a"],void 0);e["default"]=s.exports},"9b65":function(t,e,a){"use strict";a.d(e,"b",(function(){return i})),a.d(e,"c",(function(){return n})),a.d(e,"a",(function(){}));var i=function(){var t=this.$createElement,e=this._self._c||t;return e("uni-view",{staticClass:this._$g(0,"sc"),attrs:{_i:0}},[e("uni-view",{staticClass:this._$g(1,"sc"),attrs:{_i:1}}),e("uni-view",{staticClass:this._$g(2,"sc"),attrs:{_i:2}}),e("uni-view",{staticClass:this._$g(3,"sc"),attrs:{_i:3}}),e("uni-view",{staticClass:this._$g(4,"sc"),attrs:{_i:4}}),e("uni-view",{staticClass:this._$g(5,"sc"),attrs:{_i:5}},[this._t("default",null,{_i:6})],2)],1)},n=[]},"9b97":function(t,e,a){var i=a("2527");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var n=a("b49c").default;n("deea66f0",i,!0,{sourceMap:!1,shadowMode:!1})},"9eba":function(t,e,a){"use strict";a.r(e);var i=a("59cf"),n=a("b854");for(var r in n)["default"].indexOf(r)<0&&function(t){a.d(e,t,(function(){return n[t]}))}(r);a("e7b7");var o=a("828b"),s=Object(o["a"])(n["default"],i["b"],i["c"],!1,null,"06f9c5d4",null,!1,i["a"],void 0);e["default"]=s.exports},"9fee":function(t,e,a){"use strict";var i=a("b90f"),n=a.n(i);n.a},"9ffd":function(t,e,a){t.exports=a.p+"static/right.png"},a640:function(t,e,a){"use strict";a.r(e);var i=a("8042"),n=a("7c9c");for(var r in n)["default"].indexOf(r)<0&&function(t){a.d(e,t,(function(){return n[t]}))}(r);a("3bcd");var o=a("828b"),s=Object(o["a"])(n["default"],i["b"],i["c"],!1,null,"58e7869c",null,!1,i["a"],void 0);e["default"]=s.exports},a7ad:function(t,e,a){var i=a("c86c"),n=a("ac93"),r=a("2021");e=i(!1);var o=n(r);e.push([t.i,"body[data-v-cc06004c]{width:100%;height:100%}.container[data-v-cc06004c]{height:100%;width:100%;background-image:url("+o+");background-size:100% 100%}",""]),t.exports=e},a818:function(t,e,a){"use strict";a.d(e,"b",(function(){return i})),a.d(e,"c",(function(){return n})),a.d(e,"a",(function(){}));var i=function(){var t=this.$createElement,e=this._self._c||t;return e("uni-view",{staticClass:this._$g(0,"sc"),attrs:{_i:0}},[e("uni-view",{staticClass:this._$g(1,"sc"),attrs:{_i:1}}),e("uni-view",{staticClass:this._$g(2,"sc"),attrs:{_i:2}}),e("uni-view",{staticClass:this._$g(3,"sc"),attrs:{_i:3}}),e("uni-view",{staticClass:this._$g(4,"sc"),attrs:{_i:4}})],1)},n=[]},a9ce:function(t,e,a){"use strict";a.r(e);var i=a("2e13"),n=a.n(i);for(var r in i)["default"].indexOf(r)<0&&function(t){a.d(e,t,(function(){return i[t]}))}(r);e["default"]=n.a},aad1:function(t,e,a){var i=a("c86c");e=i(!1),e.push([t.i,".container[data-v-2ef93b2c]{width:30px;height:30px;position:relative}.container.loading2[data-v-2ef93b2c]{-webkit-transform:rotate(10deg);transform:rotate(10deg)}.container.loading2 .shape[data-v-2ef93b2c]{border-radius:5px}.container.loading2[data-v-2ef93b2c]{-webkit-animation:rotation 1s infinite;animation:rotation 1s infinite}.container .shape[data-v-2ef93b2c]{position:absolute;width:10px;height:10px;border-radius:1px}.container .shape.shape1[data-v-2ef93b2c]{left:0;background-color:#1890ff}.container .shape.shape2[data-v-2ef93b2c]{right:0;background-color:#91cb74}.container .shape.shape3[data-v-2ef93b2c]{bottom:0;background-color:#fac858}.container .shape.shape4[data-v-2ef93b2c]{bottom:0;right:0;background-color:#e66}.loading2 .shape1[data-v-2ef93b2c]{-webkit-animation:animation2shape1-data-v-2ef93b2c .5s ease 0s infinite alternate;animation:animation2shape1-data-v-2ef93b2c .5s ease 0s infinite alternate}@-webkit-keyframes animation2shape1-data-v-2ef93b2c{from{-webkit-transform:translate(0);transform:translate(0)}to{-webkit-transform:translate(20px,20px);transform:translate(20px,20px)}}@keyframes animation2shape1-data-v-2ef93b2c{from{-webkit-transform:translate(0);transform:translate(0)}to{-webkit-transform:translate(20px,20px);transform:translate(20px,20px)}}.loading2 .shape2[data-v-2ef93b2c]{-webkit-animation:animation2shape2-data-v-2ef93b2c .5s ease 0s infinite alternate;animation:animation2shape2-data-v-2ef93b2c .5s ease 0s infinite alternate}@-webkit-keyframes animation2shape2-data-v-2ef93b2c{from{-webkit-transform:translate(0);transform:translate(0)}to{-webkit-transform:translate(-20px,20px);transform:translate(-20px,20px)}}@keyframes animation2shape2-data-v-2ef93b2c{from{-webkit-transform:translate(0);transform:translate(0)}to{-webkit-transform:translate(-20px,20px);transform:translate(-20px,20px)}}.loading2 .shape3[data-v-2ef93b2c]{-webkit-animation:animation2shape3-data-v-2ef93b2c .5s ease 0s infinite alternate;animation:animation2shape3-data-v-2ef93b2c .5s ease 0s infinite alternate}@-webkit-keyframes animation2shape3-data-v-2ef93b2c{from{-webkit-transform:translate(0);transform:translate(0)}to{-webkit-transform:translate(20px,-20px);transform:translate(20px,-20px)}}@keyframes animation2shape3-data-v-2ef93b2c{from{-webkit-transform:translate(0);transform:translate(0)}to{-webkit-transform:translate(20px,-20px);transform:translate(20px,-20px)}}.loading2 .shape4[data-v-2ef93b2c]{-webkit-animation:animation2shape4-data-v-2ef93b2c .5s ease 0s infinite alternate;animation:animation2shape4-data-v-2ef93b2c .5s ease 0s infinite alternate}@-webkit-keyframes animation2shape4-data-v-2ef93b2c{from{-webkit-transform:translate(0);transform:translate(0)}to{-webkit-transform:translate(-20px,-20px);transform:translate(-20px,-20px)}}@keyframes animation2shape4-data-v-2ef93b2c{from{-webkit-transform:translate(0);transform:translate(0)}to{-webkit-transform:translate(-20px,-20px);transform:translate(-20px,-20px)}}",""]),t.exports=e},ac83:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={name:"loading6",data:function(){return{wxsProps:{}}},components:{}}},ac93:function(t,e,a){"use strict";t.exports=function(t,e){e||(e={}),t=t&&t.__esModule?t.default:t;var a=!1;if("string"!==typeof t){if(!t.protocol||"file:"!==t.protocol||!t.pathname)return t;a=!0,t=t.pathname}return/^['"].*['"]$/.test(t)&&(t=t.slice(1,-1)),e.hash&&(t+=e.hash),/["'() \t\n]/.test(t)||e.needQuotes?'"'.concat(t.replace(/"/g,'\\"').replace(/\n/g,"\\n"),'"'):a?t:0===t.indexOf("/")?t.substr(1):t}},af4f:function(t,e,a){"use strict";a.d(e,"b",(function(){return i})),a.d(e,"c",(function(){return n})),a.d(e,"a",(function(){}));var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("uni-view",{attrs:{_i:0}},[t._$g(1,"i")?a("Loading1",{attrs:{_i:1}}):t._e(),t._$g(2,"i")?a("Loading2",{attrs:{_i:2}}):t._e(),t._$g(3,"i")?a("Loading3",{attrs:{_i:3}}):t._e(),t._$g(4,"i")?a("Loading4",{attrs:{_i:4}}):t._e(),t._$g(5,"i")?a("Loading5",{attrs:{_i:5}}):t._e()],1)},n=[]},b49c:function(t,e,a){"use strict";function i(t,e){for(var a=[],i={},n=0;n<e.length;n++){var r=e[n],o=r[0],s=r[1],l=r[2],c=r[3],d={id:t+":"+n,css:s,media:l,sourceMap:c};i[o]?i[o].parts.push(d):a.push(i[o]={id:o,parts:[d]})}return a}a.r(e),a.d(e,"default",(function(){return f}));var n="undefined"!==typeof document;if("undefined"!==typeof DEBUG&&DEBUG&&!n)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var r={},o=n&&(document.head||document.getElementsByTagName("head")[0]),s=null,l=0,c=!1,d=function(){},h=null,u="undefined"!==typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());function f(t,e,a,n){c=a,h=n||{};var o=i(t,e);return p(o),function(e){for(var a=[],n=0;n<o.length;n++){var s=o[n],l=r[s.id];l.refs--,a.push(l)}e?(o=i(t,e),p(o)):o=[];for(n=0;n<a.length;n++){l=a[n];if(0===l.refs){for(var c=0;c<l.parts.length;c++)l.parts[c]();delete r[l.id]}}}}function p(t){for(var e=0;e<t.length;e++){var a=t[e],i=r[a.id];if(i){i.refs++;for(var n=0;n<i.parts.length;n++)i.parts[n](a.parts[n]);for(;n<a.parts.length;n++)i.parts.push(g(a.parts[n]));i.parts.length>a.parts.length&&(i.parts.length=a.parts.length)}else{var o=[];for(n=0;n<a.parts.length;n++)o.push(g(a.parts[n]));r[a.id]={id:a.id,refs:1,parts:o}}}}function x(){var t=document.createElement("style");return t.type="text/css",o.appendChild(t),t}function g(t){var e,a,i=document.querySelector('style[data-vue-ssr-id~="'+t.id+'"]');if(i){if(c)return d;i.parentNode.removeChild(i)}if(u){var n=l++;i=s||(s=x()),e=m.bind(null,i,n,!1),a=m.bind(null,i,n,!0)}else i=x(),e=y.bind(null,i),a=function(){i.parentNode.removeChild(i)};return e(t),function(i){if(i){if(i.css===t.css&&i.media===t.media&&i.sourceMap===t.sourceMap)return;e(t=i)}else a()}}var v=function(){var t=[];return function(e,a){return t[e]=a,t.filter(Boolean).join("\n")}}();function m(t,e,a,i){var n=a?"":k(i.css);if(t.styleSheet)t.styleSheet.cssText=v(e,n);else{var r=document.createTextNode(n),o=t.childNodes;o[e]&&t.removeChild(o[e]),o.length?t.insertBefore(r,o[e]):t.appendChild(r)}}function y(t,e){var a=k(e.css),i=e.media,n=e.sourceMap;if(i&&t.setAttribute("media",i),h.ssrId&&t.setAttribute("data-vue-ssr-id",e.id),n&&(a+="\n/*# sourceURL="+n.sources[0]+" */",a+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(n))))+" */"),t.styleSheet)t.styleSheet.cssText=a;else{while(t.firstChild)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(a))}}var b=/\b([+-]?\d+(\.\d+)?)[r|u]px\b/g,w=/var\(--status-bar-height\)/gi,_=/var\(--window-top\)/gi,C=/var\(--window-bottom\)/gi,A=/var\(--window-left\)/gi,S=/var\(--window-right\)/gi,T=!1;function k(t){if(!uni.canIUse("css.var")){!1===T&&(T=plus.navigator.getStatusbarHeight());var e={statusBarHeight:T,top:window.__WINDOW_TOP||0,bottom:window.__WINDOW_BOTTOM||0};t=t.replace(w,e.statusBarHeight+"px").replace(_,e.top+"px").replace(C,e.bottom+"px").replace(A,"0px").replace(S,"0px")}return t.replace(/\{[\s\S]+?\}|@media.+?\{/g,(function(t){return t.replace(b,(function(t,e){return uni.upx2px(e)+"px"}))}))}},b854:function(t,e,a){"use strict";a.r(e);var i=a("3f18"),n=a.n(i);for(var r in i)["default"].indexOf(r)<0&&function(t){a.d(e,t,(function(){return i[t]}))}(r);e["default"]=n.a},b8d4:function(t,e,a){"use strict";a.r(e);var i=a("6064"),n=a.n(i);for(var r in i)["default"].indexOf(r)<0&&function(t){a.d(e,t,(function(){return i[t]}))}(r);e["default"]=n.a},b908:function(t,e,a){"use strict";var i=a("cf84"),n=a.n(i);n.a},b90f:function(t,e,a){var i=a("73fb");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var n=a("b49c").default;n("746a5862",i,!0,{sourceMap:!1,shadowMode:!1})},b9a5:function(t,e,a){"use strict";a.r(e);var i=a("db9f"),n=a.n(i);for(var r in i)["default"].indexOf(r)<0&&function(t){a.d(e,t,(function(){return i[t]}))}(r);e["default"]=n.a},ba9b:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={data:function(){return{wxsProps:{}}},components:{}}},be93:function(t,e,a){var i=a("368e");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var n=a("b49c").default;n("f77ae3d2",i,!0,{sourceMap:!1,shadowMode:!1})},bfff:function(t,e,a){"use strict";a.r(e);var i=a("3c26"),n=a("b8d4");for(var r in n)["default"].indexOf(r)<0&&function(t){a.d(e,t,(function(){return n[t]}))}(r);a("3b3c");var o=a("828b"),s=Object(o["a"])(n["default"],i["b"],i["c"],!1,null,"43f30b7e",null,!1,i["a"],void 0);e["default"]=s.exports},c547:function(t,e,a){"use strict";a.r(e);var i=a("e189"),n=a.n(i);for(var r in i)["default"].indexOf(r)<0&&function(t){a.d(e,t,(function(){return i[t]}))}(r);e["default"]=n.a},c781:function(t,e,a){"use strict";var i=a("84d1"),n=a.n(i);n.a},c86c:function(t,e,a){"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var a=function(t,e){var a=t[1]||"",i=t[3];if(!i)return a;if(e&&"function"===typeof btoa){var n=function(t){var e=btoa(unescape(encodeURIComponent(JSON.stringify(t)))),a="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(e);return"/*# ".concat(a," */")}(i),r=i.sources.map((function(t){return"/*# sourceURL=".concat(i.sourceRoot||"").concat(t," */")}));return[a].concat(r).concat([n]).join("\n")}return[a].join("\n")}(e,t);return e[2]?"@media ".concat(e[2]," {").concat(a,"}"):a})).join("")},e.i=function(t,a,i){"string"===typeof t&&(t=[[null,t,""]]);var n={};if(i)for(var r=0;r<this.length;r++){var o=this[r][0];null!=o&&(n[o]=!0)}for(var s=0;s<t.length;s++){var l=[].concat(t[s]);i&&n[l[0]]||(a&&(l[2]?l[2]="".concat(a," and ").concat(l[2]):l[2]=a),e.push(l))}},e}},c959:function(t,e,a){"use strict";a.r(e);var i=a("a818"),n=a("078f");for(var r in n)["default"].indexOf(r)<0&&function(t){a.d(e,t,(function(){return n[t]}))}(r);a("0cb4");var o=a("828b"),s=Object(o["a"])(n["default"],i["b"],i["c"],!1,null,"4e1c1bfa",null,!1,i["a"],void 0);e["default"]=s.exports},cc61:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={data:function(){return{wxsProps:{}}},components:{}}},cf84:function(t,e,a){var i=a("6642");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var n=a("b49c").default;n("cede38c2",i,!0,{sourceMap:!1,shadowMode:!1})},d168:function(t,e,a){var i=a("c86c"),n=a("ac93"),r=a("2021"),o=a("9ffd");e=i(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n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n.text-content{width:100%;height:100%;font-size:2vw}.swiper-head{width:100%;height:10%;background-color:rgba(54,94,226,.5);display:flex;align-items:center}.swiper-body{width:100%;height:90%}.swiper-body-main{width:100%;height:100%}.swiper-item{display:flex;flex-wrap:wrap;align-items:center;text-align:start;border-bottom:2px solid #000;background-color:rgba(0,0,0,.2);margin-left:10rpx}.flex-col{display:flex;flex-direction:column}.flex-row{display:flex;flex-direction:row}.container{width:100vw;min-height:100vh;background-color:#00163e;color:#fff;text-align:center}.home-view{width:100vw;min-height:100vh;background-image:url("+s+");background-size:100vw 100vh}.home-right{width:50vw;height:89vh}.home-right-box{width:98%;height:98%}.head{width:100vw;height:11vh;font-size:4vw;font-weight:700;display:flex;align-items:center;justify-content:center;-webkit-transform:scale(.7);transform:scale(.7)}.time-tools{position:absolute;right:2%;top:2%;font-size:1vw;-webkit-transform:scale(.8);transform:scale(.8)}.button-left{position:absolute;background-image:url("+l+");background-size:100% 100%;top:1.8%;left:21.3%;width:13.5%;height:8.5%;-webkit-transform:scaleX(-1);transform:scaleX(-1)}.button-right{position:absolute;background-image:url("+l+");background-size:100% 100%;top:1.8%;left:65%;width:13.5%;height:8.5%}.img-box{height:23vw;width:100%;display:flex;flex-direction:row;justify-content:flex-start;flex-wrap:wrap;font-size:1vw}.item-img{width:50%;margin-top:5%;display:flex;flex-direction:row;justify-content:flex-start;align-items:flex-start}.item-img uni-image{height:5vw;width:5vw}.progressBar{margin-top:9%;height:20%;background-color:#233751;border-radius:5vw}.progress{height:100%;background-color:#ff5722;border-radius:5vw}.charts-box{width:80%;height:24vh;margin-left:10%}.charts-box-ring{width:60%;height:24vh}.sub-info{font-size:1.5vw}.sub-info uni-image{width:3.5vw;height:3.5vw}.main{width:100vw;height:88vh;margin-top:1vh;display:flex}.mian-item{width:50%;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center}.mian-item-box{width:98%;height:98%}.box-item{width:100%;margin-top:4%;display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start}.item-title{font-size:1.5vw;font-weight:700}.version{position:absolute;left:1%;top:1%;font-size:1vw;-webkit-transform:scale(.8);transform:scale(.8)}.item-subTitle{font-size:.5vw;text-indent:0}.item-text{font-size:1vw;text-indent:2em;letter-spacing:1px;line-height:3vh}.info-view{width:100vw;min-height:100vh;background-image:url("+s+");background-size:100vw 100vh}.info-main{width:100vw;height:88vh;display:flex;justify-content:center;align-items:center}.info-box{width:98%;height:98%}.error-info-view{width:100vw;min-height:100vh;background-image:url("+s+");background-size:100vw 100vh}.eject-mask{width:100%;height:100%;background-color:rgba(0,0,0,.5);position:fixed;top:0;left:0;z-index:999;display:flex;align-items:center;justify-content:center}.eject{position:relative;width:45vw;height:45vh;background-color:#fff;border-radius:2rem}.eject-title{width:100%;height:5vh;line-height:6vh;font-size:3vh;font-weight:700;color:#606266;text-align:center}.eject-input{margin-top:2vh;height:25vh;::-webkit-scrollbar{display:none}}.item{display:flex;align-items:center;margin:1vh 0 0 0;font-size:1.5vw;color:#363636}.desc{display:inline-block;width:40%;text-align:right;color:#606266}.input{display:flex;align-items:center;padding-left:5px;padding-right:5px;width:100%;height:3vh;border:.1vh solid #cfd4dc;margin-right:20%;text-align:start}.eject-input uni-input{width:100%;height:3vh;font-size:1vw}.eject-button{display:flex;align-items:center;position:absolute;bottom:0;height:6vh;line-height:6vh;width:100%;border-top:1px solid #ccc}.button-item{width:50%;height:100%;font-size:1.5vw;font-weight:700;text-align:center;color:#909399}.button-item:last-child{color:#67c23a;border-left:1px solid #ccc}.info-box-text{width:100%;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center}.info-box-text-item{height:20%;font-size:8vh;justify-content:center}",""]),t.exports=e},d9bb:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={name:"uniTransition",props:["show","modeClass","duration","styles","customClass"],data:function(){return{wxsProps:{}}},components:{}}},db9f:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={data:function(){return{wxsProps:{}}},components:{}}},dd22:function(t,e,a){var i=a("6075");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var n=a("b49c").default;n("1e6f7836",i,!0,{sourceMap:!1,shadowMode:!1})},dd3e:function(t,e){t.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},t.exports.__esModule=!0,t.exports["default"]=t.exports},dd49:function(t,e,a){"use strict";function i(){function t(t){var e=a("04cd");e.__inject__&&e.__inject__(t)}"function"===typeof t&&t(),UniViewJSBridge.publishHandler("webviewReady")}a("1c5b"),"undefined"!==typeof plus?i():document.addEventListener("plusready",i)},ddb2:function(t,e,a){var i=a("aad1");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var n=a("b49c").default;n("4e72501d",i,!0,{sourceMap:!1,shadowMode:!1})},e189:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={name:"loading5",data:function(){return{wxsProps:{}}},components:{}}},e199:function(t,e,a){"use strict";var i=a("ddb2"),n=a.n(i);n.a},e235:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=["#1890FF","#91CB74","#FAC858","#EE6666","#73C0DE","#3CA272","#FC8452","#9A60B4","#ea7ccc"],n={type:["pie","ring","rose","funnel","line","column","area","radar","gauge","candle","demotype"],categories:["line","column","area","radar","gauge","candle","demotype"],instance:{},option:{},formatter:{tooltipDemo1:function(t){var e="";for(var a in t){0==a&&(e+=t[a].axisValueLabel+"\u5e74\u9500\u552e\u989d");var i="--";null!==t[a].data&&(i=t[a].data),e+="<br/>"+t[a].marker+t[a].seriesName+"\uff1a"+i+" \u4e07\u5143"}return e},legendFormat:function(t){return"\u81ea\u5b9a\u4e49\u56fe\u4f8b+"+t},yAxisFormatDemo:function(t,e){return t+"\u5143"},seriesFormatDemo:function(t){return t.name+"\u5e74"+t.value+"\u5143"}},demotype:{color:i},column:{color:i,title:{text:""},tooltip:{trigger:"axis"},grid:{top:30,bottom:50,right:15,left:40},legend:{bottom:"left"},toolbox:{show:!1},xAxis:{type:"category",axisLabel:{color:"#666666"},axisLine:{lineStyle:{color:"#CCCCCC"}},boundaryGap:!0,data:[]},yAxis:{type:"value",axisTick:{show:!1},axisLabel:{color:"#666666"},axisLine:{lineStyle:{color:"#CCCCCC"}}},seriesTemplate:{name:"",type:"bar",data:[],barwidth:20,label:{show:!0,color:"#666666",position:"top"}}},line:{color:i,title:{text:""},tooltip:{trigger:"axis"},grid:{top:30,bottom:50,right:15,left:40},legend:{top:"left",textStyle:{color:"#cccccc"}},toolbox:{show:!1},xAxis:{type:"category",axisLabel:{color:"#CCCCCC"},axisLine:{lineStyle:{color:"#CCCCCC"}},boundaryGap:!1,data:[]},yAxis:{type:"value",axisTick:{show:!1},axisLabel:{color:"#CCCCCC"},axisLine:{lineStyle:{color:"#CCCCCC"}}},seriesTemplate:{name:"",type:"line",data:[],barwidth:20,label:{show:!1,color:"#666666",position:"top"}}},area:{color:i,title:{text:""},tooltip:{trigger:"axis"},grid:{top:30,bottom:50,right:15,left:40},legend:{bottom:"left"},toolbox:{show:!1},xAxis:{type:"category",axisLabel:{color:"#666666"},axisLine:{lineStyle:{color:"#CCCCCC"}},boundaryGap:!0,data:[]},yAxis:{type:"value",axisTick:{show:!1},axisLabel:{color:"#666666"},axisLine:{lineStyle:{color:"#CCCCCC"}}},seriesTemplate:{name:"",type:"line",data:[],areaStyle:{},label:{show:!0,color:"#666666",position:"top"}}},pie:{color:i,title:{text:""},tooltip:{trigger:"item"},grid:{top:40,bottom:30,right:15,left:15},legend:{bottom:"left"},seriesTemplate:{name:"",type:"pie",data:[],radius:"50%",label:{show:!0,color:"#666666",position:"top"}}},ring:{color:i,title:{text:""},tooltip:{trigger:"item"},grid:{top:40,bottom:30,right:15,left:15},legend:{bottom:"left",textStyle:{color:"#cccccc"}},seriesTemplate:{name:"",type:"pie",data:[],radius:["30%","60%"],avoidLabelOverlap:!1,label:{show:!1,color:"#FFF",position:"top"},labelLine:{show:!1}}},rose:{color:i,title:{text:""},tooltip:{trigger:"item"},legend:{top:"bottom"},seriesTemplate:{name:"",type:"pie",data:[],radius:"55%",center:["50%","50%"],roseType:"area"}},funnel:{color:i,title:{text:""},tooltip:{trigger:"item",formatter:"{b} : {c}%"},legend:{top:"bottom"},seriesTemplate:{name:"",type:"funnel",left:"10%",top:60,bottom:60,width:"80%",min:0,max:100,minSize:"0%",maxSize:"100%",sort:"descending",gap:2,label:{show:!0,position:"inside"},labelLine:{length:10,lineStyle:{width:1,type:"solid"}},itemStyle:{bordercolor:"#fff",borderwidth:1},emphasis:{label:{fontSize:20}},data:[]}},gauge:{color:i,tooltip:{formatter:"{a} <br/>{b} : {c}%"},seriesTemplate:{name:"\u4e1a\u52a1\u6307\u6807",type:"gauge",detail:{formatter:"{value}%"},data:[{value:50,name:"\u5b8c\u6210\u7387"}]}},candle:{xAxis:{data:[]},yAxis:{},color:i,title:{text:""},dataZoom:[{type:"inside",xAxisIndex:[0,1],start:10,end:100},{show:!0,xAxisIndex:[0,1],type:"slider",bottom:10,start:10,end:100}],seriesTemplate:{name:"",type:"k",data:[]}}},r=n;e.default=r},e4d6:function(t,e,a){"use strict";a.r(e);var i=a("925e"),n=a("63c1");for(var r in n)["default"].indexOf(r)<0&&function(t){a.d(e,t,(function(){return n[t]}))}(r);a("b908");var o=a("828b"),s=Object(o["a"])(n["default"],i["b"],i["c"],!1,null,null,null,!1,i["a"],void 0);e["default"]=s.exports},e631:function(t,e,a){var i=a("c86c");e=i(!1),e.push([t.i,".box[data-v-71f2edbe]{width:calc(100% - .2vh);height:calc(100% - .2vh);position:relative;border:.1vh solid #145088;display:flex;justify-content:center}.box-main[data-v-71f2edbe]{width:96%;height:100%;display:flex;flex-direction:column;justify-content:flex-start;align-items:flex-start}.box-border[data-v-71f2edbe]{position:absolute;width:1.5vh;height:1.5vh}.box-border1[data-v-71f2edbe]{top:0;left:0;border-left:.1vh solid #31c4c4;border-top:.1vh solid #31c4c4}.box-border2[data-v-71f2edbe]{top:0;right:0;border-right:.1vh solid #31c4c4;border-top:.1vh solid #31c4c4}.box-border3[data-v-71f2edbe]{bottom:0;left:0;border-bottom:.1vh solid #31c4c4;border-left:.1vh solid #31c4c4}.box-border4[data-v-71f2edbe]{bottom:0;right:0;border-right:.1vh solid #31c4c4;border-bottom:.1vh solid #31c4c4}",""]),t.exports=e},e7b7:function(t,e,a){"use strict";var i=a("9b97"),n=a.n(i);n.a},e924:function(t,e,a){var i=a("d168");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var n=a("b49c").default;n("2a57666c",i,!0,{sourceMap:!1,shadowMode:!1})},e9e1:function(t,e,a){"use strict";a.r(e);var i=a("ac83"),n=a.n(i);for(var r in i)["default"].indexOf(r)<0&&function(t){a.d(e,t,(function(){return i[t]}))}(r);e["default"]=n.a},ea54:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={name:"qiun-data-charts",props:["type","canvasId","canvas2d","background","animation","chartData","opts","eopts","loadingType","errorShow","errorReload","errorMessage","inScrollView","reshow","reload","disableScroll","optsWatch","onzoom","ontap","ontouch","onmouse","onmovetip","echartsH5","echartsApp","tooltipShow","tooltipFormat","tooltipCustom","startDate","endDate","textEnum","groupEnum","pageScrollTop","directory","tapLegend","menus"],data:function(){return{wxsProps:{}}},components:{}}},ed43:function(t,e,a){"use strict";a.r(e);var i=a("40dd"),n=a("7543");for(var r in n)["default"].indexOf(r)<0&&function(t){a.d(e,t,(function(){return n[t]}))}(r);a("9fee");var o=a("828b"),s=Object(o["a"])(n["default"],i["b"],i["c"],!1,null,"99b3946c",null,!1,i["a"],void 0);e["default"]=s.exports},ed45:function(t,e){t.exports=function(t){if(Array.isArray(t))return t},t.exports.__esModule=!0,t.exports["default"]=t.exports},f01f:function(t,e,a){"use strict";var i=a("f247"),n=a.n(i);n.a},f1e8:function(t,e,a){"use strict";var i=a("88ff"),n=a.n(i);n.a},f247:function(t,e,a){var i=a("4604");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var n=a("b49c").default;n("7605153a",i,!0,{sourceMap:!1,shadowMode:!1})},f3b9:function(t,e,a){"use strict";function i(t){var e=Object.prototype.toString.call(t);return e.substring(8,e.length-1)}function n(){return"string"===typeof __channelId__&&__channelId__}function r(t,e){switch(i(e)){case"Function":return"function() { [native code] }";default:return e}}function o(t){for(var e=arguments.length,a=new Array(e>1?e-1:0),i=1;i<e;i++)a[i-1]=arguments[i];console[t].apply(console,a)}function s(){for(var t=arguments.length,e=new Array(t),a=0;a<t;a++)e[a]=arguments[a];var o=e.shift();if(n())return e.push(e.pop().replace("at ","uni-app:///")),console[o].apply(console,e);var s=e.map((function(t){var e=Object.prototype.toString.call(t).toLowerCase();if("[object object]"===e||"[object array]"===e)try{t="---BEGIN:JSON---"+JSON.stringify(t,r)+"---END:JSON---"}catch(n){t=e}else if(null===t)t="---NULL---";else if(void 0===t)t="---UNDEFINED---";else{var a=i(t).toUpperCase();t="NUMBER"===a||"BOOLEAN"===a?"---BEGIN:"+a+"---"+t+"---END:"+a+"---":String(t)}return t})),l="";if(s.length>1){var c=s.pop();l=s.join("---COMMA---"),0===c.indexOf(" at ")?l+=c:l+="---COMMA---"+c}else l=s[0];console[o](l)}a.r(e),a.d(e,"log",(function(){return o})),a.d(e,"default",(function(){return s}))},f5de:function(t,e,a){"use strict";a.d(e,"b",(function(){return i})),a.d(e,"c",(function(){return n})),a.d(e,"a",(function(){}));var i=function(){var t=this.$createElement,e=this._self._c||t;return e("uni-view",{staticClass:this._$g(0,"sc"),attrs:{_i:0}},[e("uni-view",{staticClass:this._$g(1,"sc"),attrs:{_i:1}}),e("uni-view",{staticClass:this._$g(2,"sc"),attrs:{_i:2}}),e("uni-view",{staticClass:this._$g(3,"sc"),attrs:{_i:3}}),e("uni-view",{staticClass:this._$g(4,"sc"),attrs:{_i:4}})],1)},n=[]},f6e5:function(t,e,a){"use strict";a.d(e,"b",(function(){return i})),a.d(e,"c",(function(){return n})),a.d(e,"a",(function(){}));var i=function(){var t=this.$createElement,e=this._self._c||t;return e("uni-view",{staticClass:this._$g(0,"sc"),attrs:{_i:0}},[e("uni-view",{staticClass:this._$g(1,"sc"),attrs:{_i:1}}),e("uni-view",{staticClass:this._$g(2,"sc"),attrs:{_i:2}}),e("uni-view",{staticClass:this._$g(3,"sc"),attrs:{_i:3}}),e("uni-view",{staticClass:this._$g(4,"sc"),attrs:{_i:4}})],1)},n=[]},f9c6:function(t,e,a){"use strict";var i=a("65fd"),n=a.n(i);n.a}});
\ No newline at end of file
diff --git a/Monitor-APP/unpackage/dist/dev/app-plus/app-service.js b/Monitor-APP/unpackage/dist/dev/app-plus/app-service.js
index 93fe9dd..69810eb 100644
--- a/Monitor-APP/unpackage/dist/dev/app-plus/app-service.js
+++ b/Monitor-APP/unpackage/dist/dev/app-plus/app-service.js
@@ -368,105 +368,84 @@
                                     staticClass: _vm._$s(19, "sc", "img-box"),
                                     attrs: { _i: 19 },
                                   },
-                                  [
-                                    _c(
-                                      "swiper",
-                                      {
-                                        staticClass: _vm._$s(
-                                          20,
-                                          "sc",
-                                          "swiper-body-main"
-                                        ),
-                                        attrs: { _i: 20 },
-                                      },
-                                      _vm._l(
-                                        _vm._$s(21, "f", {
-                                          forItems: _vm.locList,
-                                        }),
-                                        function (item, i, $20, $30) {
-                                          return _c(
-                                            "swiper-item",
-                                            {
-                                              key: _vm._$s(21, "f", {
-                                                forIndex: $20,
-                                                key: i,
-                                              }),
-                                              staticClass: _vm._$s(
+                                  _vm._l(
+                                    _vm._$s(20, "f", { forItems: _vm.locList }),
+                                    function (item, i, $20, $30) {
+                                      return _c(
+                                        "view",
+                                        {
+                                          key: _vm._$s(20, "f", {
+                                            forIndex: $20,
+                                            key: i,
+                                          }),
+                                        },
+                                        [
+                                          _c("view", [
+                                            _vm._v(
+                                              _vm._$s(
                                                 "21-" + $30,
-                                                "sc",
-                                                "swiper-item"
-                                              ),
-                                              attrs: { _i: "21-" + $30 },
-                                            },
-                                            [
-                                              _c("view", [
-                                                _vm._v(
-                                                  _vm._$s(
-                                                    "22-" + $30,
-                                                    "t0-0",
-                                                    _vm._s(item.matnr)
-                                                  )
-                                                ),
-                                              ]),
-                                              _c("view", [
-                                                _vm._v(
-                                                  _vm._$s(
-                                                    "23-" + $30,
-                                                    "t0-0",
-                                                    _vm._s(item.matnrCount)
-                                                  )
-                                                ),
-                                              ]),
-                                            ]
-                                          )
-                                        }
-                                      ),
-                                      0
-                                    ),
-                                  ]
+                                                "t0-0",
+                                                _vm._s(item.matnr)
+                                              )
+                                            ),
+                                          ]),
+                                          _c("view", [
+                                            _vm._v(
+                                              _vm._$s(
+                                                "22-" + $30,
+                                                "t0-0",
+                                                _vm._s(item.matnrCount)
+                                              )
+                                            ),
+                                          ]),
+                                        ]
+                                      )
+                                    }
+                                  ),
+                                  0
                                 ),
                               ]
                             ),
                             _c(
                               "view",
                               {
-                                staticClass: _vm._$s(24, "sc", "box-item"),
-                                attrs: { _i: 24 },
+                                staticClass: _vm._$s(23, "sc", "box-item"),
+                                attrs: { _i: 23 },
                               },
                               [
                                 _c(
                                   "view",
                                   {
-                                    staticClass: _vm._$s(25, "sc", "flex-row"),
-                                    attrs: { _i: 25 },
+                                    staticClass: _vm._$s(24, "sc", "flex-row"),
+                                    attrs: { _i: 24 },
                                   },
                                   [
                                     _c(
                                       "view",
                                       {
                                         staticClass: _vm._$s(
-                                          26,
+                                          25,
                                           "sc",
                                           "flex-col"
                                         ),
-                                        attrs: { _i: 26 },
+                                        attrs: { _i: 25 },
                                       },
                                       [
                                         _c("text", {
                                           staticClass: _vm._$s(
-                                            27,
+                                            26,
                                             "sc",
                                             "item-title"
                                           ),
-                                          attrs: { _i: 27 },
+                                          attrs: { _i: 26 },
                                         }),
                                         _c("text", {
                                           staticClass: _vm._$s(
-                                            28,
+                                            27,
                                             "sc",
                                             "item-subTitle"
                                           ),
-                                          attrs: { _i: 28 },
+                                          attrs: { _i: 27 },
                                         }),
                                       ]
                                     ),
@@ -475,27 +454,27 @@
                                         "view",
                                         {
                                           staticClass: _vm._$s(
-                                            30,
+                                            29,
                                             "sc",
                                             "flex-col"
                                           ),
-                                          attrs: { _i: 30 },
+                                          attrs: { _i: 29 },
                                         },
                                         [
                                           _c(
                                             "text",
                                             {
                                               staticClass: _vm._$s(
-                                                31,
+                                                30,
                                                 "sc",
                                                 "item-title"
                                               ),
-                                              attrs: { _i: 31 },
+                                              attrs: { _i: 30 },
                                             },
                                             [
                                               _vm._v(
                                                 _vm._$s(
-                                                  31,
+                                                  30,
                                                   "t0-0",
                                                   _vm._s(_vm.baseInfo.usedPr)
                                                 )
@@ -510,53 +489,53 @@
                                 _c(
                                   "view",
                                   {
-                                    staticClass: _vm._$s(32, "sc", "flex-col"),
-                                    attrs: { _i: 32 },
+                                    staticClass: _vm._$s(31, "sc", "flex-col"),
+                                    attrs: { _i: 31 },
                                   },
                                   [
                                     _c(
                                       "view",
                                       {
                                         staticClass: _vm._$s(
-                                          33,
+                                          32,
                                           "sc",
                                           "flex-row"
                                         ),
-                                        attrs: { _i: 33 },
+                                        attrs: { _i: 32 },
                                       },
                                       [
                                         _c(
                                           "view",
                                           {
                                             staticClass: _vm._$s(
-                                              34,
+                                              33,
                                               "sc",
                                               "progressBar"
                                             ),
-                                            attrs: { _i: 34 },
+                                            attrs: { _i: 33 },
                                           },
                                           [
                                             _c("view", {
                                               staticClass: _vm._$s(
-                                                35,
+                                                34,
                                                 "sc",
                                                 "progress"
                                               ),
                                               style: _vm._$s(
-                                                35,
+                                                34,
                                                 "s",
                                                 "width:" +
                                                   _vm.baseInfo.usedPr +
                                                   "%"
                                               ),
-                                              attrs: { _i: 35 },
+                                              attrs: { _i: 34 },
                                             }),
                                           ]
                                         ),
                                         _c("view", [
                                           _vm._v(
                                             _vm._$s(
-                                              36,
+                                              35,
                                               "t0-0",
                                               _vm._s(_vm.baseInfo.used)
                                             )
@@ -577,81 +556,81 @@
                   _c(
                     "view",
                     {
-                      staticClass: _vm._$s(37, "sc", "mian-item"),
-                      attrs: { _i: 37 },
+                      staticClass: _vm._$s(36, "sc", "mian-item"),
+                      attrs: { _i: 36 },
                     },
                     [
                       _c(
                         "view",
                         {
-                          staticClass: _vm._$s(38, "sc", "mian-item-box"),
-                          attrs: { _i: 38 },
+                          staticClass: _vm._$s(37, "sc", "mian-item-box"),
+                          attrs: { _i: 37 },
                         },
                         [
                           _c("view", [
                             _c(
                               "view",
                               [
-                                _c("y-box", { attrs: { _i: 41 } }, [
+                                _c("y-box", { attrs: { _i: 40 } }, [
                                   _c(
                                     "view",
                                     {
                                       staticClass: _vm._$s(
-                                        42,
+                                        41,
                                         "sc",
                                         "box-item"
                                       ),
-                                      attrs: { _i: 42 },
+                                      attrs: { _i: 41 },
                                     },
                                     [
                                       _c(
                                         "view",
                                         {
                                           staticClass: _vm._$s(
-                                            43,
+                                            42,
                                             "sc",
                                             "flex-row"
                                           ),
-                                          attrs: { _i: 43 },
+                                          attrs: { _i: 42 },
                                         },
                                         [
                                           _c(
                                             "view",
                                             {
                                               staticClass: _vm._$s(
-                                                44,
+                                                43,
                                                 "sc",
                                                 "flex-col"
                                               ),
-                                              attrs: { _i: 44 },
+                                              attrs: { _i: 43 },
                                             },
                                             [
                                               _c("text", {
                                                 staticClass: _vm._$s(
-                                                  45,
+                                                  44,
                                                   "sc",
                                                   "item-title"
                                                 ),
-                                                attrs: { _i: 45 },
+                                                attrs: { _i: 44 },
                                               }),
                                               _c("text", {
                                                 staticClass: _vm._$s(
-                                                  46,
+                                                  45,
                                                   "sc",
                                                   "item-subTitle"
                                                 ),
-                                                attrs: { _i: 46 },
+                                                attrs: { _i: 45 },
                                               }),
                                             ]
                                           ),
                                           _c("view", [
                                             _c("view", {
                                               staticClass: _vm._$s(
-                                                48,
+                                                47,
                                                 "sc",
                                                 "flex-col"
                                               ),
-                                              attrs: { _i: 48 },
+                                              attrs: { _i: 47 },
                                             }),
                                           ]),
                                         ]
@@ -660,11 +639,11 @@
                                         "view",
                                         {
                                           staticClass: _vm._$s(
-                                            49,
+                                            48,
                                             "sc",
                                             "charts-box"
                                           ),
-                                          attrs: { _i: 49 },
+                                          attrs: { _i: 48 },
                                         },
                                         [
                                           _c("qiun-data-charts", {
@@ -673,7 +652,7 @@
                                               chartData: _vm.chartsDataLine1,
                                               echartsH5: true,
                                               echartsApp: true,
-                                              _i: 50,
+                                              _i: 49,
                                             },
                                           }),
                                         ],
@@ -689,55 +668,55 @@
                             _c(
                               "view",
                               [
-                                _c("y-box", { attrs: { _i: 53 } }, [
+                                _c("y-box", { attrs: { _i: 52 } }, [
                                   _c(
                                     "view",
                                     {
                                       staticClass: _vm._$s(
-                                        54,
+                                        53,
                                         "sc",
                                         "box-item"
                                       ),
-                                      attrs: { _i: 54 },
+                                      attrs: { _i: 53 },
                                     },
                                     [
                                       _c(
                                         "view",
                                         {
                                           staticClass: _vm._$s(
-                                            55,
+                                            54,
                                             "sc",
                                             "flex-row"
                                           ),
-                                          attrs: { _i: 55 },
+                                          attrs: { _i: 54 },
                                         },
                                         [
                                           _c(
                                             "view",
                                             {
                                               staticClass: _vm._$s(
-                                                56,
+                                                55,
                                                 "sc",
                                                 "flex-col"
                                               ),
-                                              attrs: { _i: 56 },
+                                              attrs: { _i: 55 },
                                             },
                                             [
                                               _c("text", {
                                                 staticClass: _vm._$s(
-                                                  57,
+                                                  56,
                                                   "sc",
                                                   "item-title"
                                                 ),
-                                                attrs: { _i: 57 },
+                                                attrs: { _i: 56 },
                                               }),
                                               _c("text", {
                                                 staticClass: _vm._$s(
-                                                  58,
+                                                  57,
                                                   "sc",
                                                   "item-subTitle"
                                                 ),
-                                                attrs: { _i: 58 },
+                                                attrs: { _i: 57 },
                                               }),
                                             ]
                                           ),
@@ -746,28 +725,28 @@
                                               "view",
                                               {
                                                 staticClass: _vm._$s(
-                                                  60,
+                                                  59,
                                                   "sc",
                                                   "flex-col"
                                                 ),
-                                                attrs: { _i: 60 },
+                                                attrs: { _i: 59 },
                                               },
                                               [
                                                 _c("text", {
                                                   staticClass: _vm._$s(
-                                                    61,
+                                                    60,
                                                     "sc",
                                                     "item-title"
                                                   ),
-                                                  attrs: { _i: 61 },
+                                                  attrs: { _i: 60 },
                                                 }),
                                                 _c("text", {
                                                   staticClass: _vm._$s(
-                                                    62,
+                                                    61,
                                                     "sc",
                                                     "item-subTitle"
                                                   ),
-                                                  attrs: { _i: 62 },
+                                                  attrs: { _i: 61 },
                                                 }),
                                               ]
                                             ),
@@ -778,22 +757,22 @@
                                         "view",
                                         {
                                           staticClass: _vm._$s(
-                                            63,
+                                            62,
                                             "sc",
                                             "flex-row"
                                           ),
-                                          attrs: { _i: 63 },
+                                          attrs: { _i: 62 },
                                         },
                                         [
                                           _c(
                                             "view",
                                             {
                                               staticClass: _vm._$s(
-                                                64,
+                                                63,
                                                 "sc",
                                                 "charts-box-ring"
                                               ),
-                                              attrs: { _i: 64 },
+                                              attrs: { _i: 63 },
                                             },
                                             [
                                               _c("qiun-data-charts", {
@@ -808,7 +787,7 @@
                                                   chartData: _vm.chartsDataPie2,
                                                   echartsH5: true,
                                                   echartsApp: true,
-                                                  _i: 65,
+                                                  _i: 64,
                                                 },
                                               }),
                                             ],
@@ -819,28 +798,28 @@
                                               "view",
                                               {
                                                 staticClass: _vm._$s(
-                                                  67,
+                                                  66,
                                                   "sc",
                                                   "flex-row sub-info"
                                                 ),
-                                                attrs: { _i: 67 },
+                                                attrs: { _i: 66 },
                                               },
                                               [
                                                 _c("image", {
                                                   attrs: {
                                                     src: _vm._$s(
-                                                      68,
+                                                      67,
                                                       "a-src",
                                                       __webpack_require__(/*! ../../static/g1.png */ 112)
                                                     ),
-                                                    _i: 68,
+                                                    _i: 67,
                                                   },
                                                 }),
                                                 _c("view"),
                                                 _c("view", [
                                                   _vm._v(
                                                     _vm._$s(
-                                                      70,
+                                                      69,
                                                       "t0-0",
                                                       _vm._s(
                                                         _vm.baseInfo.stockCount
@@ -854,28 +833,28 @@
                                               "view",
                                               {
                                                 staticClass: _vm._$s(
-                                                  71,
+                                                  70,
                                                   "sc",
                                                   "flex-row sub-info"
                                                 ),
-                                                attrs: { _i: 71 },
+                                                attrs: { _i: 70 },
                                               },
                                               [
                                                 _c("image", {
                                                   attrs: {
                                                     src: _vm._$s(
-                                                      72,
+                                                      71,
                                                       "a-src",
                                                       __webpack_require__(/*! ../../static/f1.png */ 113)
                                                     ),
-                                                    _i: 72,
+                                                    _i: 71,
                                                   },
                                                 }),
                                                 _c("view"),
                                                 _c("view", [
                                                   _vm._v(
                                                     _vm._$s(
-                                                      74,
+                                                      73,
                                                       "t0-0",
                                                       _vm._s(
                                                         _vm.baseInfo.emptyCount
@@ -889,28 +868,28 @@
                                               "view",
                                               {
                                                 staticClass: _vm._$s(
-                                                  75,
+                                                  74,
                                                   "sc",
                                                   "flex-row sub-info"
                                                 ),
-                                                attrs: { _i: 75 },
+                                                attrs: { _i: 74 },
                                               },
                                               [
                                                 _c("image", {
                                                   attrs: {
                                                     src: _vm._$s(
-                                                      76,
+                                                      75,
                                                       "a-src",
                                                       __webpack_require__(/*! ../../static/e1.png */ 114)
                                                     ),
-                                                    _i: 76,
+                                                    _i: 75,
                                                   },
                                                 }),
                                                 _c("view"),
                                                 _c("view", [
                                                   _vm._v(
                                                     _vm._$s(
-                                                      78,
+                                                      77,
                                                       "t0-0",
                                                       _vm._s(
                                                         _vm.baseInfo.noneCount
@@ -935,11 +914,11 @@
                                 _c("image", {
                                   attrs: {
                                     src: _vm._$s(
-                                      82,
+                                      81,
                                       "a-src",
                                       __webpack_require__(/*! ../../static/img/logo-bai.png */ 115)
                                     ),
-                                    _i: 82,
+                                    _i: 81,
                                   },
                                 }),
                               ]),
@@ -962,33 +941,42 @@
             duration: _vm.duration,
             "mode-class": _vm.infoMode,
             show: _vm.infoViewShow,
-            _i: 83,
+            _i: 82,
           },
         },
         [
           _c(
             "view",
-            { staticClass: _vm._$s(84, "sc", "home-view"), attrs: { _i: 84 } },
+            { staticClass: _vm._$s(83, "sc", "home-view"), attrs: { _i: 83 } },
             [
               _c(
                 "view",
-                { staticClass: _vm._$s(85, "sc", "head"), attrs: { _i: 85 } },
+                { staticClass: _vm._$s(84, "sc", "head"), attrs: { _i: 84 } },
                 [
                   _c("text", [
-                    _vm._v(_vm._$s(86, "t0-0", _vm._s(_vm.infoText.title))),
+                    _vm._v(_vm._$s(85, "t0-0", _vm._s(_vm.infoText.title))),
                   ]),
                 ]
               ),
               _c(
                 "view",
                 {
-                  staticClass: _vm._$s(87, "sc", "time-tools"),
-                  attrs: { _i: 87 },
+                  staticClass: _vm._$s(86, "sc", "time-tools"),
+                  attrs: { _i: 86 },
                 },
-                [_vm._v(_vm._$s(87, "t0-0", _vm._s(_vm.calendar)))]
+                [_vm._v(_vm._$s(86, "t0-0", _vm._s(_vm.calendar)))]
               ),
               _c("view", {
-                staticClass: _vm._$s(88, "sc", "button-left"),
+                staticClass: _vm._$s(87, "sc", "button-left"),
+                attrs: { _i: 87 },
+                on: {
+                  click: function ($event) {
+                    return _vm.ejected()
+                  },
+                },
+              }),
+              _c("view", {
+                staticClass: _vm._$s(88, "sc", "button-right"),
                 attrs: { _i: 88 },
                 on: {
                   click: function ($event) {
@@ -996,48 +984,39 @@
                   },
                 },
               }),
-              _c("view", {
-                staticClass: _vm._$s(89, "sc", "button-right"),
-                attrs: { _i: 89 },
-                on: {
-                  click: function ($event) {
-                    return _vm.ejected()
-                  },
-                },
-              }),
               _c(
                 "view",
                 {
-                  staticClass: _vm._$s(90, "sc", "info-main"),
-                  attrs: { _i: 90 },
+                  staticClass: _vm._$s(89, "sc", "info-main"),
+                  attrs: { _i: 89 },
                 },
                 [
                   _c(
                     "view",
                     {
-                      staticClass: _vm._$s(91, "sc", "info-box"),
-                      attrs: { _i: 91 },
+                      staticClass: _vm._$s(90, "sc", "info-box"),
+                      attrs: { _i: 90 },
                     },
                     [
-                      _c("y-box", { attrs: { _i: 92 } }, [
+                      _c("y-box", { attrs: { _i: 91 } }, [
                         _c(
                           "view",
                           {
-                            staticClass: _vm._$s(93, "sc", "text-content"),
-                            attrs: { _i: 93 },
+                            staticClass: _vm._$s(92, "sc", "text-content"),
+                            attrs: { _i: 92 },
                           },
                           [
                             _c(
                               "view",
                               {
-                                staticClass: _vm._$s(94, "sc", "swiper-head"),
-                                attrs: { _i: 94 },
+                                staticClass: _vm._$s(93, "sc", "swiper-head"),
+                                attrs: { _i: 93 },
                               },
                               [
                                 _c("view", [
                                   _vm._v(
                                     _vm._$s(
-                                      95,
+                                      94,
                                       "t0-0",
                                       _vm._s(_vm.infoText.barcode)
                                     )
@@ -1046,7 +1025,7 @@
                                 _c("view", [
                                   _vm._v(
                                     _vm._$s(
-                                      96,
+                                      95,
                                       "t0-0",
                                       _vm._s(_vm.infoText.workNo)
                                     )
@@ -1055,7 +1034,7 @@
                                 _c("view", [
                                   _vm._v(
                                     _vm._$s(
-                                      97,
+                                      96,
                                       "t0-0",
                                       _vm._s(_vm.infoText.sourceLocNo)
                                     )
@@ -1064,7 +1043,7 @@
                                 _c("view", [
                                   _vm._v(
                                     _vm._$s(
-                                      98,
+                                      97,
                                       "t0-0",
                                       _vm._s(_vm.infoText.staNo)
                                     )
@@ -1075,49 +1054,49 @@
                             _c(
                               "view",
                               {
-                                staticClass: _vm._$s(99, "sc", "swiper-body"),
-                                attrs: { _i: 99 },
+                                staticClass: _vm._$s(98, "sc", "swiper-body"),
+                                attrs: { _i: 98 },
                               },
                               [
                                 _c(
                                   "swiper",
                                   {
                                     staticClass: _vm._$s(
-                                      100,
+                                      99,
                                       "sc",
                                       "swiper-body-main"
                                     ),
-                                    attrs: { _i: 100 },
+                                    attrs: { _i: 99 },
                                   },
                                   _vm._l(
-                                    _vm._$s(101, "f", {
+                                    _vm._$s(100, "f", {
                                       forItems: _vm.swiperList,
                                     }),
                                     function (item, i, $21, $31) {
                                       return _c(
                                         "swiper-item",
                                         {
-                                          key: _vm._$s(101, "f", {
+                                          key: _vm._$s(100, "f", {
                                             forIndex: $21,
                                             key: i,
                                           }),
                                           staticClass: _vm._$s(
-                                            "101-" + $31,
+                                            "100-" + $31,
                                             "sc",
                                             "swiper-item"
                                           ),
-                                          attrs: { _i: "101-" + $31 },
+                                          attrs: { _i: "100-" + $31 },
                                         },
                                         [
                                           _c("view", [
                                             _vm._v(
                                               _vm._$s(
-                                                "102-" + $31,
+                                                "101-" + $31,
                                                 "t0-0",
                                                 _vm._s(i + 1)
                                               ) +
                                                 _vm._$s(
-                                                  "102-" + $31,
+                                                  "101-" + $31,
                                                   "t0-1",
                                                   _vm._s(_vm.swiperList.length)
                                                 )
@@ -1126,7 +1105,7 @@
                                           _c("view", [
                                             _vm._v(
                                               _vm._$s(
-                                                "103-" + $31,
+                                                "102-" + $31,
                                                 "t0-0",
                                                 _vm._s(item.matnr)
                                               )
@@ -1135,7 +1114,7 @@
                                           _c("view", [
                                             _vm._v(
                                               _vm._$s(
-                                                "104-" + $31,
+                                                "103-" + $31,
                                                 "t0-0",
                                                 _vm._s(item.maknx)
                                               )
@@ -1144,7 +1123,7 @@
                                           _c("view", [
                                             _vm._v(
                                               _vm._$s(
-                                                "105-" + $31,
+                                                "104-" + $31,
                                                 "t0-0",
                                                 _vm._s(item.specs)
                                               )
@@ -1153,7 +1132,7 @@
                                           _c("view", [
                                             _vm._v(
                                               _vm._$s(
-                                                "106-" + $31,
+                                                "105-" + $31,
                                                 "t0-0",
                                                 _vm._s(item.batch)
                                               )
@@ -1162,7 +1141,7 @@
                                           _c("view", [
                                             _vm._v(
                                               _vm._$s(
-                                                "107-" + $31,
+                                                "106-" + $31,
                                                 "t0-0",
                                                 _vm._s(item.orderNo)
                                               )
@@ -1171,7 +1150,7 @@
                                           _c("view", [
                                             _vm._v(
                                               _vm._$s(
-                                                "108-" + $31,
+                                                "107-" + $31,
                                                 "t0-0",
                                                 _vm._s(item.customer)
                                               )
@@ -1180,7 +1159,7 @@
                                           _c("view", [
                                             _vm._v(
                                               _vm._$s(
-                                                "109-" + $31,
+                                                "108-" + $31,
                                                 "t0-0",
                                                 _vm._s(item.count)
                                               )
@@ -1213,78 +1192,78 @@
             duration: _vm.duration,
             "mode-class": _vm.errorInfoMode,
             show: _vm.errorInfoViewShow,
-            _i: 110,
+            _i: 109,
           },
         },
         [
           _c(
             "view",
             {
-              staticClass: _vm._$s(111, "sc", "error-info-view"),
-              attrs: { _i: 111 },
+              staticClass: _vm._$s(110, "sc", "error-info-view"),
+              attrs: { _i: 110 },
             },
             [
               _c(
                 "view",
-                { staticClass: _vm._$s(112, "sc", "head"), attrs: { _i: 112 } },
+                { staticClass: _vm._$s(111, "sc", "head"), attrs: { _i: 111 } },
                 [
                   _c("text", [
-                    _vm._v(_vm._$s(113, "t0-0", _vm._s(_vm.infoText.title))),
+                    _vm._v(_vm._$s(112, "t0-0", _vm._s(_vm.infoText.title))),
                   ]),
                 ]
               ),
               _c(
                 "view",
                 {
-                  staticClass: _vm._$s(114, "sc", "time-tools"),
-                  attrs: { _i: 114 },
+                  staticClass: _vm._$s(113, "sc", "time-tools"),
+                  attrs: { _i: 113 },
                 },
-                [_vm._v(_vm._$s(114, "t0-0", _vm._s(_vm.calendar)))]
+                [_vm._v(_vm._$s(113, "t0-0", _vm._s(_vm.calendar)))]
               ),
               _c("view", {
-                staticClass: _vm._$s(115, "sc", "button-left"),
-                attrs: { _i: 115 },
+                staticClass: _vm._$s(114, "sc", "button-left"),
+                attrs: { _i: 114 },
               }),
               _c("view", {
-                staticClass: _vm._$s(116, "sc", "button-right"),
-                attrs: { _i: 116 },
+                staticClass: _vm._$s(115, "sc", "button-right"),
+                attrs: { _i: 115 },
               }),
               _c(
                 "view",
                 {
-                  staticClass: _vm._$s(117, "sc", "info-main"),
-                  attrs: { _i: 117 },
+                  staticClass: _vm._$s(116, "sc", "info-main"),
+                  attrs: { _i: 116 },
                 },
                 [
                   _c(
                     "view",
                     {
-                      staticClass: _vm._$s(118, "sc", "info-box"),
-                      attrs: { _i: 118 },
+                      staticClass: _vm._$s(117, "sc", "info-box"),
+                      attrs: { _i: 117 },
                     },
                     [
-                      _c("y-box", { attrs: { _i: 119 } }, [
+                      _c("y-box", { attrs: { _i: 118 } }, [
                         _c(
                           "view",
                           {
-                            staticClass: _vm._$s(120, "sc", "info-box-text"),
-                            attrs: { _i: 120 },
+                            staticClass: _vm._$s(119, "sc", "info-box-text"),
+                            attrs: { _i: 119 },
                           },
                           [
                             _c(
                               "view",
                               {
                                 staticClass: _vm._$s(
-                                  121,
+                                  120,
                                   "sc",
                                   "flex-col info-box-text-item"
                                 ),
-                                attrs: { _i: 121 },
+                                attrs: { _i: 120 },
                               },
                               [
                                 _vm._v(
                                   _vm._$s(
-                                    121,
+                                    120,
                                     "t0-0",
                                     _vm._s(_vm.infoText.error)
                                   )
@@ -1310,45 +1289,45 @@
             {
               name: "show",
               rawName: "v-show",
-              value: _vm._$s(122, "v-show", _vm.ejectShow),
-              expression: "_$s(122,'v-show',ejectShow)",
+              value: _vm._$s(121, "v-show", _vm.ejectShow),
+              expression: "_$s(121,'v-show',ejectShow)",
             },
           ],
-          staticClass: _vm._$s(122, "sc", "eject-mask"),
-          attrs: { _i: 122 },
+          staticClass: _vm._$s(121, "sc", "eject-mask"),
+          attrs: { _i: 121 },
         },
         [
           _c(
             "view",
-            { staticClass: _vm._$s(123, "sc", "eject"), attrs: { _i: 123 } },
+            { staticClass: _vm._$s(122, "sc", "eject"), attrs: { _i: 122 } },
             [
               _c("view", {
-                staticClass: _vm._$s(124, "sc", "eject-title"),
-                attrs: { _i: 124 },
+                staticClass: _vm._$s(123, "sc", "eject-title"),
+                attrs: { _i: 123 },
               }),
               _c(
                 "scroll-view",
                 {
-                  staticClass: _vm._$s(125, "sc", "eject-input"),
-                  attrs: { _i: 125 },
+                  staticClass: _vm._$s(124, "sc", "eject-input"),
+                  attrs: { _i: 124 },
                 },
                 [
                   _c(
                     "view",
                     {
-                      staticClass: _vm._$s(126, "sc", "item"),
-                      attrs: { _i: 126 },
+                      staticClass: _vm._$s(125, "sc", "item"),
+                      attrs: { _i: 125 },
                     },
                     [
                       _c("view", {
-                        staticClass: _vm._$s(127, "sc", "desc"),
-                        attrs: { _i: 127 },
+                        staticClass: _vm._$s(126, "sc", "desc"),
+                        attrs: { _i: 126 },
                       }),
                       _c(
                         "view",
                         {
-                          staticClass: _vm._$s(128, "sc", "input"),
-                          attrs: { _i: 128 },
+                          staticClass: _vm._$s(127, "sc", "input"),
+                          attrs: { _i: 127 },
                         },
                         [
                           _c("input", {
@@ -1360,9 +1339,9 @@
                                 expression: "baseIP",
                               },
                             ],
-                            attrs: { _i: 129 },
+                            attrs: { _i: 128 },
                             domProps: {
-                              value: _vm._$s(129, "v-model", _vm.baseIP),
+                              value: _vm._$s(128, "v-model", _vm.baseIP),
                             },
                             on: {
                               input: function ($event) {
@@ -1380,19 +1359,19 @@
                   _c(
                     "view",
                     {
-                      staticClass: _vm._$s(130, "sc", "item"),
-                      attrs: { _i: 130 },
+                      staticClass: _vm._$s(129, "sc", "item"),
+                      attrs: { _i: 129 },
                     },
                     [
                       _c("view", {
-                        staticClass: _vm._$s(131, "sc", "desc"),
-                        attrs: { _i: 131 },
+                        staticClass: _vm._$s(130, "sc", "desc"),
+                        attrs: { _i: 130 },
                       }),
                       _c(
                         "view",
                         {
-                          staticClass: _vm._$s(132, "sc", "input"),
-                          attrs: { _i: 132 },
+                          staticClass: _vm._$s(131, "sc", "input"),
+                          attrs: { _i: 131 },
                         },
                         [
                           _c("input", {
@@ -1404,9 +1383,9 @@
                                 expression: "basePort",
                               },
                             ],
-                            attrs: { _i: 133 },
+                            attrs: { _i: 132 },
                             domProps: {
-                              value: _vm._$s(133, "v-model", _vm.basePort),
+                              value: _vm._$s(132, "v-model", _vm.basePort),
                             },
                             on: {
                               input: function ($event) {
@@ -1424,19 +1403,19 @@
                   _c(
                     "view",
                     {
-                      staticClass: _vm._$s(134, "sc", "item"),
-                      attrs: { _i: 134 },
+                      staticClass: _vm._$s(133, "sc", "item"),
+                      attrs: { _i: 133 },
                     },
                     [
                       _c("view", {
-                        staticClass: _vm._$s(135, "sc", "desc"),
-                        attrs: { _i: 135 },
+                        staticClass: _vm._$s(134, "sc", "desc"),
+                        attrs: { _i: 134 },
                       }),
                       _c(
                         "view",
                         {
-                          staticClass: _vm._$s(136, "sc", "input"),
-                          attrs: { _i: 136 },
+                          staticClass: _vm._$s(135, "sc", "input"),
+                          attrs: { _i: 135 },
                         },
                         [
                           _c("input", {
@@ -1448,9 +1427,9 @@
                                 expression: "baseUrl",
                               },
                             ],
-                            attrs: { _i: 137 },
+                            attrs: { _i: 136 },
                             domProps: {
-                              value: _vm._$s(137, "v-model", _vm.baseUrl),
+                              value: _vm._$s(136, "v-model", _vm.baseUrl),
                             },
                             on: {
                               input: function ($event) {
@@ -1468,19 +1447,19 @@
                   _c(
                     "view",
                     {
-                      staticClass: _vm._$s(138, "sc", "item"),
-                      attrs: { _i: 138 },
+                      staticClass: _vm._$s(137, "sc", "item"),
+                      attrs: { _i: 137 },
                     },
                     [
                       _c("view", {
-                        staticClass: _vm._$s(139, "sc", "desc"),
-                        attrs: { _i: 139 },
+                        staticClass: _vm._$s(138, "sc", "desc"),
+                        attrs: { _i: 138 },
                       }),
                       _c(
                         "view",
                         {
-                          staticClass: _vm._$s(140, "sc", "input"),
-                          attrs: { _i: 140 },
+                          staticClass: _vm._$s(139, "sc", "input"),
+                          attrs: { _i: 139 },
                         },
                         [
                           _c("input", {
@@ -1492,9 +1471,9 @@
                                 expression: "wmsPort",
                               },
                             ],
-                            attrs: { _i: 141 },
+                            attrs: { _i: 140 },
                             domProps: {
-                              value: _vm._$s(141, "v-model", _vm.wmsPort),
+                              value: _vm._$s(140, "v-model", _vm.wmsPort),
                             },
                             on: {
                               input: function ($event) {
@@ -1512,19 +1491,19 @@
                   _c(
                     "view",
                     {
-                      staticClass: _vm._$s(142, "sc", "item"),
-                      attrs: { _i: 142 },
+                      staticClass: _vm._$s(141, "sc", "item"),
+                      attrs: { _i: 141 },
                     },
                     [
                       _c("view", {
-                        staticClass: _vm._$s(143, "sc", "desc"),
-                        attrs: { _i: 143 },
+                        staticClass: _vm._$s(142, "sc", "desc"),
+                        attrs: { _i: 142 },
                       }),
                       _c(
                         "view",
                         {
-                          staticClass: _vm._$s(144, "sc", "input"),
-                          attrs: { _i: 144 },
+                          staticClass: _vm._$s(143, "sc", "input"),
+                          attrs: { _i: 143 },
                         },
                         [
                           _c("input", {
@@ -1536,9 +1515,9 @@
                                 expression: "wmsUrl",
                               },
                             ],
-                            attrs: { _i: 145 },
+                            attrs: { _i: 144 },
                             domProps: {
-                              value: _vm._$s(145, "v-model", _vm.wmsUrl),
+                              value: _vm._$s(144, "v-model", _vm.wmsUrl),
                             },
                             on: {
                               input: function ($event) {
@@ -1556,19 +1535,19 @@
                   _c(
                     "view",
                     {
-                      staticClass: _vm._$s(146, "sc", "item"),
-                      attrs: { _i: 146 },
+                      staticClass: _vm._$s(145, "sc", "item"),
+                      attrs: { _i: 145 },
                     },
                     [
                       _c("view", {
-                        staticClass: _vm._$s(147, "sc", "desc"),
-                        attrs: { _i: 147 },
+                        staticClass: _vm._$s(146, "sc", "desc"),
+                        attrs: { _i: 146 },
                       }),
                       _c(
                         "view",
                         {
-                          staticClass: _vm._$s(148, "sc", "input"),
-                          attrs: { _i: 148 },
+                          staticClass: _vm._$s(147, "sc", "input"),
+                          attrs: { _i: 147 },
                         },
                         [
                           _c("input", {
@@ -1580,9 +1559,9 @@
                                 expression: "baseLedId",
                               },
                             ],
-                            attrs: { _i: 149 },
+                            attrs: { _i: 148 },
                             domProps: {
-                              value: _vm._$s(149, "v-model", _vm.baseLedId),
+                              value: _vm._$s(148, "v-model", _vm.baseLedId),
                             },
                             on: {
                               input: function ($event) {
@@ -1602,18 +1581,18 @@
               _c(
                 "view",
                 {
-                  staticClass: _vm._$s(150, "sc", "eject-button"),
-                  attrs: { _i: 150 },
+                  staticClass: _vm._$s(149, "sc", "eject-button"),
+                  attrs: { _i: 149 },
                 },
                 [
                   _c("view", {
-                    staticClass: _vm._$s(151, "sc", "button-item"),
-                    attrs: { _i: 151 },
+                    staticClass: _vm._$s(150, "sc", "button-item"),
+                    attrs: { _i: 150 },
                     on: { click: _vm.ejectClose },
                   }),
                   _c("view", {
-                    staticClass: _vm._$s(152, "sc", "button-item"),
-                    attrs: { _i: 152 },
+                    staticClass: _vm._$s(151, "sc", "button-item"),
+                    attrs: { _i: 151 },
                     on: { click: _vm.ejectConfirm },
                   }),
                 ]
@@ -1627,14 +1606,14 @@
         [
           _c(
             "uni-popup",
-            { ref: "upVersion", attrs: { type: "dialog", _i: 154 } },
+            { ref: "upVersion", attrs: { type: "dialog", _i: 153 } },
             [
               _c("uni-popup-dialog", {
                 attrs: {
                   type: _vm.msgType,
                   title: "閫氱煡",
                   content: _vm.dialogContent,
-                  _i: 155,
+                  _i: 154,
                 },
                 on: { confirm: _vm.dialogConfirm, close: _vm.dialogClose },
               }),
@@ -1651,13 +1630,13 @@
             {
               name: "show",
               rawName: "v-show",
-              value: _vm._$s(156, "v-show", _vm.timeOut),
-              expression: "_$s(156,'v-show',timeOut)",
+              value: _vm._$s(155, "v-show", _vm.timeOut),
+              expression: "_$s(155,'v-show',timeOut)",
             },
           ],
-          attrs: { _i: 156 },
+          attrs: { _i: 155 },
         },
-        [_vm._v(_vm._$s(156, "t0-0", _vm._s(_vm.times)))]
+        [_vm._v(_vm._$s(155, "t0-0", _vm._s(_vm.times)))]
       ),
     ],
     1
@@ -14162,7 +14141,7 @@
 /***/ (function(module, exports, __webpack_require__) {
 
 "use strict";
-eval("/* WEBPACK VAR INJECTION */(function(__f__) {\n\nvar _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 1);\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\nexports.default = void 0;\nvar _data = _interopRequireDefault(__webpack_require__(/*! @/pages/index/data.json */ 118));\nvar _uniWebSocket = _interopRequireDefault(__webpack_require__(/*! ./uniWebSocket */ 119));\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\nvar socket;\nvar _default = {\n  data: function data() {\n    return {\n      series: [],\n      homeViewShow: true,\n      infoViewShow: false,\n      errorInfoViewShow: false,\n      homeMode: [],\n      infoMode: [],\n      errorInfoMode: [],\n      needUpdateCharts: false,\n      viewSwitchTimer: null,\n      // 瑙嗗浘鍒囨崲瀹氭椂鍣╘n      viewSwitchInProgress: false,\n      // 娣诲姞杩欎竴琛屾潵璺熻釜瑙嗗浘鍒囨崲鐘舵�乗n      timerIds: [],\n      // 瀛樺偍瀹氭椂鍣↖D\n      baseInfo: {\n        xDistance: 1,\n        yDistance: 2,\n        xDuration: 3,\n        yDuration: 4,\n        usedPr: 50,\n        used: 3537,\n        stockCount: '',\n        emptyCount: '',\n        noneCount: ''\n      },\n      chartsData: {\n        \"Line\": {\n          \"categories\": [],\n          \"series\": []\n        },\n        \"Pie\": {\n          \"series\": [{\n            \"data\": []\n          }]\n        }\n      },\n      duration: 1000,\n      calendar: '',\n      ringOpts: {},\n      chartsDataLine1: {},\n      chartsDataPie2: {},\n      fontSize: '',\n      height: '',\n      showCharts: false,\n      ejectShow: false,\n      baseIP: '',\n      basePort: '',\n      baseLedId: '',\n      baseCrnId: '',\n      baseUrl: '',\n      info: null,\n      error: null,\n      infoType: 0,\n      text: '',\n      infoText: {\n        title: '',\n        staNo: \"\",\n        matnr: \"\",\n        maknx: \"\",\n        specs: \"\",\n        count: \"\",\n        error: \"\",\n        barcode: \"\"\n      },\n      swiperList: [],\n      timeOut: false,\n      times: 0,\n      currDate: '',\n      locList: [],\n      oldHours: '',\n      oldMin: '',\n      socketClient: null,\n      messages: [],\n      version: '',\n      socketUrl: '',\n      msgType: 'success',\n      filename: '',\n      dialogContent: '',\n      wmsUrl: '',\n      wmsPort: ''\n    };\n  },\n  onShow: function onShow() {\n    // 闅愯棌鏃堕棿,鐢甸噺,淇″彿绛塡n\n    plus.navigator.setFullscreen(true);\n    this.getVersion();\n  },\n  mounted: function mounted() {\n    var that = this;\n    var BaseIP = uni.getStorageSync('BaseIp');\n    var BaseLedId = uni.getStorageSync('BaseLedId');\n    var BasePort = uni.getStorageSync('BasePort');\n    var BaseCrnId = uni.getStorageSync('BaseCrnId');\n    var PROJ = uni.getStorageSync('UPROJ');\n    var WMSURL = uni.getStorageSync('wmsUrl');\n    var WMSPORT = uni.getStorageSync('wmsPort');\n    that.baseUrl = PROJ;\n    that.baseIP = BaseIP;\n    that.baseLedId = BaseLedId;\n    that.basePort = BasePort;\n    that.baseCrnId = BaseCrnId;\n    that.wmsUrl = WMSURL;\n    that.wmsPort = WMSPORT;\n    // this.getUrl()\n  },\n  created: function created() {\n    var that = this;\n    var BaseIP = uni.getStorageSync('BaseIp');\n    var BaseLedId = uni.getStorageSync('BaseLedId');\n    var BasePort = uni.getStorageSync('BasePort');\n    var BaseCrnId = uni.getStorageSync('BaseCrnId');\n    var PROJ = uni.getStorageSync('UPROJ');\n    var WMSURL = uni.getStorageSync('wmsUrl');\n    var WMSPORT = uni.getStorageSync('wmsPort');\n    that.baseUrl = PROJ;\n    that.baseIP = BaseIP;\n    that.baseLedId = BaseLedId;\n    that.basePort = BasePort;\n    that.baseCrnId = BaseCrnId;\n    that.wmsUrl = WMSURL;\n    that.wmsPort = WMSPORT;\n    that.uniWebSocket();\n    // that.webSockerInit()\n  },\n  onLoad: function onLoad() {\n    var _this = this;\n    // 瀛樺偍瀹氭椂鍣↖D浠ヤ究鍚庣画娓呯悊\n    var timerId1 = setInterval(function () {\n      _this.getServerData();\n      // this.initlineChart()\n      // this.initPieChart()\n      // this.getOther()\n      // // this.getDate()\n      // this.getDate2()\n      // this.getInfo()\n      // this.getError()\n      // this.getInfo2()\n      // this.getError2()\n      // this.getUrl()\n      _this.controller();\n      // this.statisticalModel()\n      // 娴嬭瘯鐢╘n    }, 1000);\n    this.timerIds.push(timerId1);\n    var timerId2 = setInterval(function () {\n      setTimeout(function () {\n        plus.runtime.restart();\n      }, 100);\n    }, 1000 * 60 * 60 * 4);\n    this.timerIds.push(timerId2);\n    setInterval(function () {\n      plus.android.importClass('android.os.Debug');\n      var mem = plus.android.invoke('android.os.Debug', 'getNativeHeapAllocatedSize') / 1048576;\n      __f__(\"log\", mem.toFixed(1), \" at pages/home/home.vue:487\");\n    }, 2000);\n  },\n  onUnload: function onUnload() {\n    // 娓呯悊鎵�鏈夊畾鏃跺櫒\n    this.timerIds.forEach(function (id) {\n      return clearInterval(id);\n    });\n    this.timerIds = [];\n  },\n  beforeDestroy: function beforeDestroy() {\n    // 娓呯悊WebSocket杩炴帴\n    if (this.socketClient) {\n      this.socketClient.close();\n      this.socketClient = null;\n    }\n\n    // 娓呯悊鎵�鏈夊畾鏃跺櫒\n    this.timerIds.forEach(function (id) {\n      return clearInterval(id);\n    });\n    this.timerIds = [];\n\n    // 娓呯悊瑙嗗浘鍒囨崲瀹氭椂鍣╘n    if (this.viewSwitchTimer) {\n      clearTimeout(this.viewSwitchTimer);\n      this.viewSwitchTimer = null;\n    }\n  },\n  methods: {\n    uniWebSocket: function uniWebSocket() {\n      var that = this;\n      that.commonUrl = that.baseIP + ':' + that.basePort + \"/\" + that.baseUrl;\n      that.socketUrl = \"ws://\" + that.commonUrl + \"/led/\" + that.baseLedId;\n      // 鍒涘缓WebSocket瀹炰緥\n      that.socketClient = new _uniWebSocket.default(that.socketUrl, {\n        // 蹇冭烦闂撮殧锛岄粯璁�30绉抃n        heartbeatInterval: 30000,\n        // 閲嶈繛闂撮殧锛岄粯璁�3绉抃n        reconnectInterval: 3000,\n        // 鏈�澶ч噸杩炴鏁帮紝-1琛ㄧず鏃犻檺閲嶈繛\n        maxReconnectAttempts: -1,\n        // 娑堟伅鍥炶皟\n        onMessage: function onMessage(res) {\n          try {\n            var data = JSON.parse(res.data);\n            that.showDate(data);\n            // 澶勭悊娑堟伅...\n          } catch (e) {\n            __f__(\"error\", '瑙f瀽娑堟伅澶辫触', e, \" at pages/home/home.vue:534\");\n          }\n        },\n        // 杩炴帴鎵撳紑鍥炶皟\n        onOpen: function onOpen(res) {\n          that.timeOut = false;\n          that.times = 0;\n          __f__(\"log\", 'WebSocket宸茶繛鎺�', res, \" at pages/home/home.vue:541\");\n        },\n        // 杩炴帴閿欒鍥炶皟\n        onError: function onError(error) {\n          __f__(\"error\", 'WebSocket閿欒', error, \" at pages/home/home.vue:545\");\n        },\n        // 杩炴帴鍏抽棴鍥炶皟\n        onClose: function onClose(res) {\n          that.timeOut = true;\n          that.times = that.times + 1;\n          that.infoType = 0;\n          __f__(\"log\", 'WebSocket宸插叧闂�', res, \" at pages/home/home.vue:552\");\n        },\n        // 閲嶈繛鍥炶皟\n        onReconnect: function onReconnect(info) {\n          __f__(\"log\", \"WebSocket\\u91CD\\u8FDE(\".concat(info.attempts, \"/\").concat(info.maxAttempts, \")\"), \" at pages/home/home.vue:556\");\n        }\n      });\n\n      // 寤虹珛杩炴帴\n      that.socketClient.connect();\n    },\n    // 鍙戦�佹秷鎭痋n    sendMessage: function sendMessage(content) {\n      var message = {\n        type: 'chat',\n        content: content,\n        timestamp: Date.now()\n      };\n      this.socketClient.send(message).then(function () {\n        __f__(\"log\", '娑堟伅鍙戦�佹垚鍔�', \" at pages/home/home.vue:573\");\n      }).catch(function (error) {\n        __f__(\"error\", '娑堟伅鍙戦�佸け璐�', error, \" at pages/home/home.vue:576\");\n      });\n    },\n    webSockerInit: function webSockerInit() {\n      var that = this;\n      if (that.baseIP === '' && that.basePort === '' && that.baseUrl === '') {\n        that.timeOut = true;\n        that.times = that.times + 1;\n        that.infoType = 0;\n        return;\n      }\n      that.commonUrl = that.baseIP + ':' + that.basePort + \"/\" + that.baseUrl;\n      var socketUrl = \"ws://\" + that.commonUrl + \"/led/\" + that.baseLedId;\n      // socketUrl = \"ws://10.0.100.150:8080/gtctu/led/113\"\n      var ws = new WebSocketClient(socketUrl);\n      ws.connect();\n      __f__(\"log\", ws, \" at pages/home/home.vue:595\");\n      ws.onclose(function () {});\n      ws.onmessage(function (msg) {\n        that.timeOut = false;\n        var data = JSON.parse(msg.data);\n        that.showDate(data);\n      });\n    },\n    showDate: function showDate(data) {\n      var that = this;\n      if (data.type === \"default\") {\n        // 璁剧疆鏍囪锛岃〃绀烘暟鎹凡鏇存柊锛岄渶瑕侀噸鏂版覆鏌撳浘琛╘n        that.needUpdateCharts = true;\n        that.chartsData.Pie.series[0].data = data.pie;\n        that.baseInfo.stockCount = data.stockCunt;\n        that.baseInfo.emptyCount = data.emptyCount;\n        that.baseInfo.noneCount = data.noneCount;\n        that.baseInfo.used = data.used;\n        that.baseInfo.usedPr = data.usedPr;\n        that.chartsData.Line.categories = [that.getDateFormat(-11), that.getDateFormat(-10), that.getDateFormat(-9), that.getDateFormat(-8), that.getDateFormat(-7), that.getDateFormat(-6), that.getDateFormat(-5), that.getDateFormat(-4), that.getDateFormat(-3), that.getDateFormat(-2), that.getDateFormat(-1), that.getDateFormat(0)];\n        that.chartsData.Line.series = data.rows;\n        that.calendar = data.year + \"骞碶" + data.month + \"鏈圽" + data.day + \"鏃� \" + data.hour + \":\" + data.minute + \":\" + data.second + \" \" + data.week;\n        that.currDate = data.year + \"/\" + data.month + \"/\" + data.day;\n        that.locList = data.inventoryData;\n        that.oldHours = data.hour;\n        that.oldMin = data.minute;\n      } else if (data.type === \"error\") {\n        if (data.errMsg && data.errMsg !== \"\") {\n          var errorInfo = data.errMsg;\n          if (that.infoType == 1) {\n            that.infoType = 3;\n            that.infoText.title = \"鍏朵粬淇℃伅\";\n            // that.infoText.title = \"寮傚父\"\n            that.infoText.error = errorInfo;\n            return;\n          }\n          that.infoType = 2;\n          that.infoText.title = \"鍏朵粬淇℃伅\";\n          // that.infoText.title = \"寮傚父\"\n          that.infoText.error = errorInfo;\n        } else {\n          if (that.infoType == 1) {\n            return;\n          }\n          that.infoType = 0;\n        }\n      } else if (data.type === \"task\") {\n        if (data.taskList && data.taskList !== \"\" && data.taskList.length != 0) {\n          if (that.infoType == 2 || that.infoType == 3) {\n            return;\n          }\n          // infoType1:鍙湁鎷f枡绛変俊鎭痋n          that.infoType = 1;\n          if (data.taskList[0].ioType === 101) {\n            that.infoText.title = '鍏ㄦ澘鍑哄簱';\n          } else if (data.taskList[0].ioType === 103) {\n            that.infoText.title = '鎷f枡鍑哄簱';\n          } else if (data.taskList[0].ioType === 107) {\n            that.infoText.title = '鐩樼偣鍑哄簱';\n          } else if (data.taskList[0].ioType === 1) {\n            that.infoText.title = '鍏ュ簱';\n          } else if (data.taskList[0].ioType === 10) {\n            that.infoText.title = '绌烘墭鍏ュ簱';\n          } else if (data.taskList[0].ioType === 110) {\n            that.infoText.title = '绌烘墭鍑哄簱';\n          } else if (data.taskList[0].ioType === 104) {\n            that.infoText.title = '骞舵澘鍑哄簱';\n          } else if (data.taskList[0].ioType === 54) {\n            that.infoText.title = '骞舵澘鍏ュ簱';\n          }\n          that.infoText.barcode = data.taskList[0].barcode;\n          that.infoText.workNo = data.taskList[0].workNo;\n          that.infoText.sourceLocNo = data.taskList[0].sourceLocNo;\n          that.infoText.staNo = data.taskList[0].staNo;\n          that.swiperList = data.taskList[0].matDtos;\n          // that.infoText.matnr = res.data[0].matDtos[0].matnr\n          // that.infoText.specs = res.data[0].matDtos[0].specs\n          // that.infoText.maknx = res.data[0].matDtos[0].maknx\n          // that.infoText.count = res.data[0].matDtos[0].count\n        } else {\n          if (that.infoType == 2 || that.infoType == 3) {\n            return;\n          }\n          that.infoType = 0;\n        }\n      }\n    },\n    statisticalModel: function statisticalModel() {\n      var that = this;\n      uni.request({\n        url: that.commonUrl + \"/monitor/locDetl/pda/statisticalModel\",\n        method: 'GET',\n        success: function success(result) {\n          var res = result.data;\n          if (res.code === 200) {\n            __f__(\"log\", res.data, \" at pages/home/home.vue:700\");\n            that.locList = res.data;\n          }\n        }\n      });\n    },\n    getUrl: function getUrl() {\n      this.commonUrl = this.baseHttp + this.baseIP + ':' + this.basePort + \"/\" + this.baseUrl;\n    },\n    getServerData: function getServerData() {\n      // 鍙湪鏁版嵁鍙樺寲鏃舵墠杩涜娣辨嫹璐漒n      if (this.needUpdateCharts) {\n        this.chartsDataLine1 = JSON.parse(JSON.stringify(this.chartsData.Line));\n        this.chartsDataPie2 = JSON.parse(JSON.stringify(this.chartsData.Pie));\n        this.needUpdateCharts = false;\n      }\n    },\n    // 鑾峰彇閿欒淇℃伅\n    getInfo2: function getInfo2() {\n      var that = this;\n      var result = _data.default.dataInfo2;\n      var res = result.data;\n      if (res.data && res.data !== \"\") {\n        if (that.infoType == 2 || that.infoType == 3) {\n          return;\n        }\n        // infoType1:鍙湁鎷f枡绛変俊鎭痋n        that.infoType = 1;\n        if (res.data[0].ioType === 101) {\n          that.infoText.title = '鍏ㄦ澘鍑哄簱';\n        } else if (res.data[0].ioType === 103) {\n          that.infoText.title = '妫�鏂欏嚭搴�';\n        } else if (res.data[0].ioType === 107) {\n          that.infoText.title = '鐩樼偣鍑哄簱';\n        } else if (res.data[0].ioType === 1) {\n          that.infoText.title = '鍏ュ簱';\n        } else if (res.data[0].ioType === 10) {\n          that.infoText.title = '绌烘墭鍏ュ簱';\n        } else if (res.data[0].ioType === 110) {\n          that.infoText.title = '绌烘墭鍑哄簱';\n        }\n        that.infoText.barcode = res.data[0].barcode;\n        that.infoText.workNo = res.data[0].workNo;\n        that.infoText.sourceLocNo = res.data[0].sourceLocNo;\n        that.infoText.staNo = res.data[0].staNo;\n        that.swiperList = res.data[0].matDtos;\n        // that.infoText.matnr = res.data[0].matDtos[0].matnr\n        // that.infoText.specs = res.data[0].matDtos[0].specs\n        // that.infoText.maknx = res.data[0].matDtos[0].maknx\n        // that.infoText.count = res.data[0].matDtos[0].count\n      } else {\n        if (that.infoType == 2 || that.infoType == 3) {\n          return;\n        }\n        that.infoType = 0;\n      }\n    },\n    getError2: function getError2() {\n      var that = this;\n      var result = _data.default.dataError2;\n      var res = result.data;\n      if (res.data && res.data !== \"\") {\n        var errorInfo = res.data;\n        if (that.infoType == 1) {\n          that.infoType = 3;\n          that.infoText.title = \"鍏朵粬淇℃伅\";\n          // that.infoText.title = \"寮傚父\"\n          that.infoText.error = errorInfo;\n          return;\n        }\n        that.infoType = 2;\n        that.infoText.title = \"鍏朵粬淇℃伅\";\n        // that.infoText.title = \"寮傚父\"\n        that.infoText.error = errorInfo;\n      } else {\n        if (that.infoType == 1) {\n          return;\n        }\n        that.infoType = 0;\n      }\n    },\n    getInfo: function getInfo() {\n      var that = this;\n      uni.request({\n        url: that.commonUrl + \"/monitor/led\",\n        method: \"GET\",\n        data: {\n          ledId: that.baseLedId\n        },\n        success: function success(result) {\n          that.timeOut = false;\n          that.times = 0;\n          var res = result.data;\n          if (res.data && res.data !== \"\") {\n            if (that.infoType == 2 || that.infoType == 3) {\n              return;\n            }\n            // infoType1:鍙湁鎷f枡绛変俊鎭痋n            that.infoType = 1;\n            if (res.data[0].ioType === 101) {\n              that.infoText.title = '鍏ㄦ澘鍑哄簱';\n            } else if (res.data[0].ioType === 103) {\n              that.infoText.title = '妫�鏂欏嚭搴�';\n            } else if (res.data[0].ioType === 107) {\n              that.infoText.title = '鐩樼偣鍑哄簱';\n            } else if (res.data[0].ioType === 1) {\n              that.infoText.title = '鍏ュ簱';\n            } else if (res.data[0].ioType === 10) {\n              that.infoText.title = '绌烘墭鍏ュ簱';\n            } else if (res.data[0].ioType === 110) {\n              that.infoText.title = '绌烘墭鍑哄簱';\n            }\n            that.infoText.barcode = res.data[0].barcode;\n            that.infoText.workNo = res.data[0].workNo;\n            that.infoText.sourceLocNo = res.data[0].sourceLocNo;\n            that.infoText.staNo = res.data[0].staNo;\n            that.swiperList = res.data[0].matDtos;\n            // that.infoText.matnr = res.data[0].matDtos[0].matnr\n            // that.infoText.specs = res.data[0].matDtos[0].specs\n            // that.infoText.maknx = res.data[0].matDtos[0].maknx\n            // that.infoText.count = res.data[0].matDtos[0].count\n          } else {\n            if (that.infoType == 2 || that.infoType == 3) {\n              return;\n            }\n            that.infoType = 0;\n          }\n        },\n        fail: function fail(err) {\n          that.timeOut = true;\n          that.times = that.times + 1;\n          that.infoType = 0;\n        }\n      });\n    },\n    getError: function getError() {\n      var that = this;\n      uni.request({\n        url: that.commonUrl + \"/monitor/led/error\",\n        data: {\n          ledId: that.baseLedId\n        },\n        method: \"GET\",\n        success: function success(result) {\n          that.timeOut = false;\n          that.times = 0;\n          var res = result.data;\n          if (res.data && res.data !== \"\") {\n            var errorInfo = res.data;\n            if (that.infoType == 1) {\n              that.infoType = 3;\n              that.infoText.title = \"鍏朵粬淇℃伅\";\n              // that.infoText.title = \"寮傚父\"\n              that.infoText.error = errorInfo;\n              return;\n            }\n            that.infoType = 2;\n            that.infoText.title = \"鍏朵粬淇℃伅\";\n            // that.infoText.title = \"寮傚父\"\n            that.infoText.error = errorInfo;\n          } else {\n            if (that.infoType == 1) {\n              return;\n            }\n            that.infoType = 0;\n          }\n        },\n        fail: function fail(err) {\n          that.timeOut = true;\n          that.infoType = 0;\n        }\n      });\n    },\n    // 鎺у埗鍣╘n    controller: function controller() {\n      var _this2 = this;\n      // 濡傛灉瑙嗗浘鍒囨崲姝e湪杩涜涓紝涓嶈涓柇\n      if (this.viewSwitchInProgress) {\n        return;\n      }\n\n      // 娓呴櫎涔嬪墠鐨勮鍥惧垏鎹㈠畾鏃跺櫒\n      if (this.viewSwitchTimer) {\n        clearTimeout(this.viewSwitchTimer);\n        this.viewSwitchTimer = null;\n      }\n      switch (this.infoType) {\n        // 鏈変俊鎭� 浣� 娌℃湁閿欒淇℃伅\n        case 0:\n          if (this.errorInfoViewShow) {\n            this.viewSwitchInProgress = true;\n            this.errorInfoViewShow = false;\n            this.errorInfoMode = ['fade', 'slide-bottom'];\n            this.viewSwitchTimer = setTimeout(function () {\n              _this2.homeViewShow = true;\n              _this2.homeMode = ['fade', 'slide-bottom'];\n              // 璁剧疆鍙︿竴涓畾鏃跺櫒鏉ラ噸缃繘琛屼腑鏍囧織\n              setTimeout(function () {\n                _this2.viewSwitchInProgress = false;\n              }, 1000);\n            }, 1000);\n          } else if (this.infoViewShow) {\n            this.viewSwitchInProgress = true;\n            this.infoViewShow = false;\n            this.infoMode = ['fade', 'slide-bottom'];\n            this.viewSwitchTimer = setTimeout(function () {\n              _this2.homeViewShow = true;\n              _this2.homeMode = ['fade', 'slide-bottom'];\n              // 璁剧疆鍙︿竴涓畾鏃跺櫒鏉ラ噸缃繘琛屼腑鏍囧織\n              setTimeout(function () {\n                _this2.viewSwitchInProgress = false;\n              }, 1000);\n            }, 1000);\n          } else if (this.errorInfoViewShow && this.infoViewShow) {\n            this.viewSwitchInProgress = true;\n            this.errorInfoViewShow = false;\n            this.infoViewShow = false;\n            this.infoMode = ['fade', 'slide-bottom'];\n            this.viewSwitchTimer = setTimeout(function () {\n              _this2.homeViewShow = true;\n              _this2.homeMode = ['fade', 'slide-bottom'];\n              // 璁剧疆鍙︿竴涓畾鏃跺櫒鏉ラ噸缃繘琛屼腑鏍囧織\n              setTimeout(function () {\n                _this2.viewSwitchInProgress = false;\n              }, 1000);\n            }, 1000);\n          }\n          return;\n        case 1:\n          if (this.homeViewShow) {\n            this.viewSwitchInProgress = true;\n            this.homeViewShow = false;\n            this.homeMode = ['fade', 'slide-bottom'];\n            this.viewSwitchTimer = setTimeout(function () {\n              _this2.infoViewShow = true;\n              _this2.infoMode = ['fade', 'slide-bottom'];\n              // 璁剧疆鍙︿竴涓畾鏃跺櫒鏉ラ噸缃繘琛屼腑鏍囧織\n              setTimeout(function () {\n                _this2.viewSwitchInProgress = false;\n              }, 1000);\n            }, 1000);\n          } else if (this.errorInfoViewShow) {\n            this.viewSwitchInProgress = true;\n            this.errorInfoViewShow = false;\n            this.errorInfoMode = ['fade', 'slide-bottom'];\n            this.viewSwitchTimer = setTimeout(function () {\n              _this2.infoViewShow = true;\n              _this2.infoMode = ['fade', 'slide-bottom'];\n              // 璁剧疆鍙︿竴涓畾鏃跺櫒鏉ラ噸缃繘琛屼腑鏍囧織\n              setTimeout(function () {\n                _this2.viewSwitchInProgress = false;\n              }, 1000);\n            }, 1000);\n          }\n          return;\n        // 鏈変俊鎭� 涓� 鏈夐敊璇俊鎭痋n        case 2:\n          if (this.homeViewShow) {\n            this.viewSwitchInProgress = true;\n            this.homeViewShow = false;\n            this.homeMode = ['fade', 'slide-bottom'];\n            this.viewSwitchTimer = setTimeout(function () {\n              _this2.errorInfoViewShow = true;\n              _this2.errorInfoMode = ['fade', 'slide-bottom'];\n              // 璁剧疆鍙︿竴涓畾鏃跺櫒鏉ラ噸缃繘琛屼腑鏍囧織\n              setTimeout(function () {\n                _this2.viewSwitchInProgress = false;\n              }, 1000);\n            }, 1000);\n          } else if (this.infoViewShow) {\n            this.viewSwitchInProgress = true;\n            this.infoViewShow = false;\n            this.infoMode = ['fade', 'slide-bottom'];\n            this.viewSwitchTimer = setTimeout(function () {\n              _this2.errorInfoViewShow = true;\n              _this2.errorInfoMode = ['fade', 'slide-bottom'];\n              // 璁剧疆鍙︿竴涓畾鏃跺櫒鏉ラ噸缃繘琛屼腑鏍囧織\n              setTimeout(function () {\n                _this2.viewSwitchInProgress = false;\n              }, 1000);\n            }, 1000);\n          }\n          return;\n        // 鏈変俊鎭� 涓� 鏈夐敊璇俊鎭痋n        case 3:\n          if (this.homeViewShow) {\n            this.viewSwitchInProgress = true;\n            this.homeViewShow = false;\n            this.homeMode = ['fade', 'slide-bottom'];\n            this.viewSwitchTimer = setTimeout(function () {\n              _this2.errorInfoViewShow = true;\n              _this2.errorInfoMode = ['fade', 'slide-bottom'];\n              // 璁剧疆鍙︿竴涓畾鏃跺櫒鏉ラ噸缃繘琛屼腑鏍囧織\n              setTimeout(function () {\n                _this2.viewSwitchInProgress = false;\n              }, 1000);\n            }, 1000);\n          } else if (this.infoViewShow) {\n            this.viewSwitchInProgress = true;\n            this.infoViewShow = false;\n            this.infoMode = ['fade', 'slide-bottom'];\n            this.viewSwitchTimer = setTimeout(function () {\n              _this2.errorInfoViewShow = true;\n              _this2.errorInfoMode = ['fade', 'slide-bottom'];\n              // 璁剧疆鍙︿竴涓畾鏃跺櫒鏉ラ噸缃繘琛屼腑鏍囧織\n              setTimeout(function () {\n                _this2.viewSwitchInProgress = false;\n              }, 1000);\n            }, 1000);\n          }\n          return;\n      }\n    },\n    // 涓诲睆骞昞n    handle: function handle(type) {\n      this.homeViewShow = !this.homeViewShow;\n      this.modeClass = type;\n    },\n    // 鎷f枡\n    handle1: function handle1(type) {\n      this.infoViewShow = !this.infoViewShow;\n      this.modeClass = type;\n    },\n    // 寮傚父\n    handle2: function handle2(type) {\n      this.errorInfoViewShow = !this.errorInfoViewShow;\n      this.modeClass = type;\n    },\n    // 閰嶇疆\n    ejected: function ejected() {\n      this.ejectShow = true;\n    },\n    // 鍙栨秷閰嶇疆\n    ejectClose: function ejectClose() {\n      this.ejectShow = false;\n    },\n    // 纭閰嶇疆\n    ejectConfirm: function ejectConfirm() {\n      uni.setStorageSync('BaseIp', this.baseIP);\n      uni.setStorageSync('BaseLedId', this.baseLedId);\n      uni.setStorageSync('BasePort', this.basePort);\n      uni.setStorageSync('BaseCrnId', this.baseCrnId);\n      uni.setStorageSync('UPROJ', this.baseUrl);\n      uni.setStorageSync('wmsUrl', this.wmsUrl);\n      uni.setStorageSync('wmsPort', this.wmsPort);\n      this.getUrl();\n      this.ejectShow = false;\n    },\n    // 鏃ュ巻 鏈嶅姟鍣╘n    getDate2: function getDate2() {\n      var that = this;\n      uni.request({\n        url: that.commonUrl + \"/monitor/date\",\n        method: \"GET\",\n        success: function success(result) {\n          var res = result.data.data;\n        }\n      });\n    },\n    // 鏃ュ巻\n    getDate: function getDate() {\n      var dt = new Date();\n      var year, month, day, hours, minutes, seconds, weeks;\n      year = dt.getFullYear();\n      month = dt.getMonth() + 1 < 10 ? '0' + (dt.getMonth() + 1) : dt.getMonth() + 1;\n      day = dt.getDate() < 10 ? '0' + dt.getDate() : dt.getDate();\n      hours = dt.getHours() < 10 ? '0' + dt.getHours() : dt.getHours();\n      minutes = dt.getMinutes() < 10 ? '0' + dt.getMinutes() : dt.getMinutes();\n      seconds = dt.getSeconds() < 10 ? '0' + dt.getSeconds() : dt.getSeconds();\n      weeks = dt.getDay();\n      switch (weeks) {\n        case 0:\n          weeks = \"鏄熸湡鏃";\n          break;\n        case 1:\n          weeks = \"鏄熸湡涓�\";\n          break;\n        case 2:\n          weeks = \"鏄熸湡浜孿";\n          break;\n        case 3:\n          weeks = \"鏄熸湡涓塡";\n          break;\n        case 4:\n          weeks = \"鏄熸湡鍥沑";\n          break;\n        case 5:\n          weeks = \"鏄熸湡浜擻";\n          break;\n        default:\n          weeks = \"鏄熸湡鍏璡";\n      }\n      this.calendar = year + \"骞碶" + month + \"鏈圽" + day + \"鏃� \" + hours + \":\" + minutes + \":\" + seconds + \" \" + weeks;\n    },\n    getDateFormat: function getDateFormat(value) {\n      var date = new Date(this.currDate); // 鑾峰彇褰撳墠鏃堕棿\n      date.setDate(date.getDate() + value); // 璁剧疆澶╂暟 -1 澶‐n      var m = date.getMonth() + 1;\n      var d = date.getDate();\n      var newDate = m + '-' + d;\n      return newDate;\n    },\n    /*************** 鎶樼嚎鍥� *****************************************************************************************************/initlineChart: function initlineChart() {\n      var that = this;\n      uni.request({\n        url: that.commonUrl + \"/monitor/line/charts\",\n        method: 'GET',\n        success: function success(result) {\n          var res = result.data;\n          if (res.code === 200) {}\n        }\n      });\n    },\n    /*************** 楗煎浘 *****************************************************************************************************/initPieChart: function initPieChart() {\n      var that = this;\n      uni.request({\n        url: that.commonUrl + \"/monitor/loc/rep\",\n        method: 'GET',\n        success: function success(result) {\n          var res = result.data;\n          if (res.code === 200) {\n            that.chartsData.Pie.series[0].data = res.data.pie;\n            that.baseInfo.stockCount = res.data.stockCunt;\n            that.baseInfo.emptyCount = res.data.emptyCount;\n            that.baseInfo.noneCount = res.data.noneCount;\n            that.baseInfo.used = res.data.used;\n            that.baseInfo.usedPr = res.data.usedPr;\n          }\n        }\n      });\n    },\n    getOther: function getOther() {\n      var that = this;\n      uni.request({\n        url: that.commonUrl + \"/monitor/other\",\n        data: {\n          crnId: that.baseCrnId,\n          ledId: that.baseLedId\n        },\n        success: function success(result) {\n          // console.log(result);\n          var res = result.data;\n          if (res.code === 200) {\n            that.baseInfo.xDistance = res.data.xDistance;\n            that.baseInfo.yDistance = res.data.yDistance;\n            that.baseInfo.xDuration = res.data.xDuration;\n            that.baseInfo.yDuration = res.data.yDuration;\n          } else if (res.code === 403) {} else {}\n        }\n      });\n    },\n    //妫�娴嬪綋鍓嶅钩鍙帮紝濡傛灉鏄畨鍗撳垯鍚姩瀹夊崜鏇存柊\n    getVersion: function getVersion() {\n      var that = this;\n      uni.getSystemInfo({\n        success: function success(res) {\n          if (res.platform == \"android\") {\n            that.AndroidCheckUpdate();\n          }\n          // that.AndroidCheckUpdate();\n        }\n      });\n    },\n    // 鑾峰彇褰撳墠鐗堟湰鍙穃n    AndroidCheckUpdate: function AndroidCheckUpdate() {\n      var that = this;\n      plus.runtime.getProperty(plus.runtime.appid, function (wgtinfo) {\n        that.version = wgtinfo.version; //瀹㈡埛绔増鏈彿\n      });\n\n      setTimeout(function () {\n        that.getUpdateVersion();\n      }, 100);\n    },\n    // 鏍¢獙鐗堟湰\n    getUpdateVersion: function getUpdateVersion() {\n      var that = this;\n      var type = 1;\n      if (that.baseUrl == 'http://undefined:undefined/undefined') {\n        return;\n      }\n      var wms = 'http://' + that.baseIP + ':' + that.wmsPort + \"/\" + that.wmsUrl;\n      __f__(\"log\", wms, \" at pages/home/home.vue:1180\");\n      var url = wms + '/appVersion/checkUpdate/' + that.version + '/' + type;\n      uni.request({\n        url: url,\n        method: 'GET',\n        success: function success(res) {\n          __f__(\"log\", res, \" at pages/home/home.vue:1186\");\n          var res = res.data;\n          if (res.data) {\n            that.filename = res.data.path;\n            that.dialogContent = '鍙戠幇鏂扮増鏈�:' + res.data.version + ', 鏄惁绔嬪嵆鏇存柊';\n            that.$refs.upVersion.open();\n          } else {\n            uni.showToast({\n              title: res.msg,\n              icon: \"none\",\n              position: 'top'\n            });\n          }\n        }\n      });\n    },\n    dialogConfirm: function dialogConfirm() {\n      this.$refs.upVersion.close();\n      this.downWgt();\n    },\n    dialogClose: function dialogClose() {\n      this.$refs.upVersion.close();\n    },\n    downWgt: function downWgt() {\n      var that = this;\n      var wms = 'http://' + that.baseIP + ':' + that.wmsPort + \"/\" + that.wmsUrl;\n      var downloadUrl = wms + \"/appVersion/downloadApp/\" + that.filename;\n      uni.showLoading({\n        title: '鏇存柊涓�︹��'\n      });\n      var downloadTask = uni.downloadFile({\n        //鎵ц涓嬭浇\n        url: downloadUrl,\n        //涓嬭浇鍦板潃\n        timeout: 1000 * 30,\n        //30绉掕秴鏃舵椂闂碶n        success: function success(downloadResult) {\n          //涓嬭浇鎴愬姛\n          __f__(\"log\", downloadResult, \" at pages/home/home.vue:1221\");\n          that.showdownLine = false;\n          uni.hideLoading();\n          if (downloadResult.statusCode == 200) {\n            uni.showModal({\n              title: '',\n              content: '鏇存柊鎴愬姛锛岀‘瀹氱幇鍦ㄩ噸鍚悧锛�',\n              confirmText: '閲嶅惎',\n              confirmColor: '#EE8F57',\n              success: function success(res) {\n                if (res.confirm == true) {\n                  plus.runtime.install(\n                  //瀹夎\n                  downloadResult.tempFilePath, {\n                    force: true\n                  }, function (res) {\n                    utils.showToast('鏇存柊鎴愬姛锛岄噸鍚腑');\n                    plus.runtime.restart();\n                  });\n                }\n              }\n            });\n          } else {\n            uni.hideLoading();\n            that.showdownLine = false;\n            uni.showToast({\n              title: '璇峰厛涓婁紶瀹夎鍖�',\n              icon: 'error'\n            });\n          }\n        },\n        fail: function fail(err) {\n          uni.hideLoading();\n          that.showdownLine = false;\n          that.$u.toast(downloadResult.errMsg);\n        },\n        complete: function complete(com) {\n          __f__(\"log\", com, \" at pages/home/home.vue:1260\");\n        }\n      });\n\n      // 涓嬭浇杩涘害\n      downloadTask.onProgressUpdate(function (res) {\n        that.downloadNum = res.progress;\n        __f__(\"log\", '涓嬭浇杩涘害' + that.downloadNum, \" at pages/home/home.vue:1267\");\n      });\n    }\n  }\n};\nexports.default = _default;\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/vue-cli-plugin-uni/lib/format-log.js */ 15)[\"default\"]))//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInVuaS1hcHA6Ly8vcGFnZXMvaG9tZS9ob21lLnZ1ZSJdLCJuYW1lcyI6WyJkYXRhIiwic2VyaWVzIiwiaG9tZVZpZXdTaG93IiwiaW5mb1ZpZXdTaG93IiwiZXJyb3JJbmZvVmlld1Nob3ciLCJob21lTW9kZSIsImluZm9Nb2RlIiwiZXJyb3JJbmZvTW9kZSIsIm5lZWRVcGRhdGVDaGFydHMiLCJ2aWV3U3dpdGNoVGltZXIiLCJ2aWV3U3dpdGNoSW5Qcm9ncmVzcyIsInRpbWVySWRzIiwiYmFzZUluZm8iLCJ4RGlzdGFuY2UiLCJ5RGlzdGFuY2UiLCJ4RHVyYXRpb24iLCJ5RHVyYXRpb24iL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qHmnInplJnor6/kv6Hmga9cclxuICAgICAgICBjYXNlIDA6IFxyXG4gICAgICAgICAgICBpZiAodGhpcy5lcnJvckluZm9WaWV3U2hvdykge1xyXG4gICAgICAgICAgICAgICAgdGhpcy52aWV3U3dpdGNoSW5Qcm9ncmVzcyA9IHRydWU7XHJcbiAgICAgICAgICAgICAgICB0aGlzLmVycm9ySW5mb1ZpZXdTaG93ID0gZmFsc2VcclxuICAgICAgICAgICAgICAgIHRoaXMuZXJyb3JJbmZvTW9kZSA9IFsnZmFkZScsICdzbGlkZS1ib3R0b20nXVxyXG4gICAgICAgICAgICAgICAgdGhpcy52aWV3U3dpdGNoVGltZXIgPSBzZXRUaW1lb3V0KCgpPT57XHJcbiAgICAgICAgICAgICAgICAgICAgdGhpcy5ob21lVmlld1Nob3cgPSB0cnVlXHJcbiAgICAgICAgICAgICAgICAgICAgdGhpcy5ob21lTW9kZSA9IFsnZmFkZScsICdzbGlkZS1ib3R0b20nXVxyXG4gICAgICAgICAgICAgICAgICAgIC8vIOiuvue9ruWPpuS4gOS4quWumuaXtuWZqOadpemHjee9rui/m+ihjOS4reagh+W/l1xyXG4gICAgICAgICAgICAgICAgICAgIHNldFRpbWVvdXQoKCkgPT4ge1xyXG4gICAgICAgICAgICAgICAgICAgICAgICB0aGlzLnZpZXdTd2l0Y2hJblByb2dyZXNzID0gZmFsc2U7XHJcbiAgICAgICAgICAgICAgICAgICAgfSwgMTAwMCk7XHJcbiAgICAgICAgICAgICAgICB9LDEwMDApXHJcbiAgICAgICAgICAgIH0gZWxzZSBpZiAodGhpcy5pbmZvVmlld1Nob3cpIHtcclxuICAgICAgICAgICAgICAgIHRoaXMudmlld1N3aXRjaEluUHJvZ3Jlc3MgPSB0cnVlO1xyXG4gICAgICAgICAgICAgICAgdGhpcy5pbmZvVmlld1Nob3cgPSBmYWxzZVxyXG4gICAgICAgICAgICAgICAgdGhpcy5pbmZvTW9kZSA9IFsnZmFkZScsICdzbGlkZS1ib3R0b20nXVxyXG4gICAgICAgICAgICAgICAgdGhpcy52aWV3U3dpdGNoVGltZXIgPSBzZXRUaW1lb3V0KCgpPT57XHJcbiAgICAgICAgICAgICAgICAgICAgdGhpcy5ob21lVmlld1Nob3cgPSB0cnVlXHJcbiAgICAgICAgICAgICAgICAgICAgdGhpcy5ob21lTW9kZSA9IFsnZmFkZScsICdzbGlkZS1ib3R0b20nXVxyXG4gICAgICAgICAgICAgICAgICAgIC8vIOiuvue9ruWPpuS4gOS4quWumuaXtuWZqOadpemHjee9rui/m+ihjOS4reagh+W/l1xyXG4gICAgICAgICAgICAgICAgICAgIHNldFRpbWVvdXQoKCkgPT4ge1xyXG4gICAgICAgICAgICAgICAgICAgICAgICB0aGlzLnZpZXdTd2l0Y2hJblByb2dyZXNzID0gZmFsc2U7XHJcbiAgICAgICAgICAgICAgICAgICAgfSwgMTAwMCk7XHJcbiAgICAgICAgICAgICAgICB9LDEwMDApXHJcbiAgICAgICAgICAgIH0gZWxzZSBpZiAodGhpcy5lcnJvckluZm9WaWV3U2hvdyAmJiB0aGlzLmluZm9WaWV3U2hvdykge1xyXG4gICAgICAgICAgICAgICAgdGhpcy52aWV3U3dpdGNoSW5Qcm9ncmVzcyA9IHRydWU7XHJcbiAgICAgICAgICAgICAgICB0aGlzLmVycm9ySW5mb1ZpZXdTaG93ID0gZmFsc2VcclxuICAgICAgICAgICAgICAgIHRoaXMuaW5mb1ZpZXdTaG93ID0gZmFsc2VcclxuICAgICAgICAgICAgICAgIHRoaXMuaW5mb01vZGUgPSBbJ2ZhZGUnLCAnc2xpZGUtYm90dG9tJ11cclxuICAgICAgICAgICAgICAgIHRoaXMudmlld1N3aXRjaFRpbWVyID0gc2V0VGltZW91dCgoKT0+e1xyXG4gICAgICAgICAgICAgICAgICAgIHRoaXMuaG9tZVZpZXdTaG93ID0gdHJ1ZVxyXG4gICAgICAgICAgICAgICAgICAgIHRoaXMuaG9tZU1vZGUgPSBbJ2ZhZGUnLCAnc2xpZGUtYm90dG9tJ11cclxuICAgICAgICAgICAgICAgICAgICAvLyDorr7nva7lj6bkuIDkuKrlrprml7blmajmnaXph43nva7ov5vooYzkuK3moIflv5dcclxuICAgICAgICAgICAgICAgICAgICBzZXRUaW1lb3V0KCgpID0+IHtcclxuICAgICAgICAgICAgICAgICAgICAgICAgdGhpcy52aWV3U3dpdGNoSW5Qcm9ncmVzcyA9IGZhbHNlO1xyXG4gICAgICAgICAgICAgICAgICAgIH0sIDEwMDApO1xyXG4gICAgICAgICAgICAgICAgfSwxMDAwKVxyXG4gICAgICAgICAgICB9XHJcbiAgICAgICAgICAgIHJldHVybjtcclxuICAgICAgICBjYXNlIDE6IFxyXG4gICAgICAgICAgICBpZiAodGhpcy5ob21lVmlld1Nob3cpIHtcclxuICAgICAgICAgICAgICAgIHRoaXMudmlld1N3aXRjaEluUHJvZ3Jlc3MgPSB0cnVlO1xyXG4gICAgICAgICAgICAgICAgdGhpcy5ob21lVmlld1Nob3cgPSBmYWxzZVxyXG4gICAgICAgICAgICAgICAgdGhpcy5ob21lTW9kZSA9IFsnZmFkZScsICdzbGlkZS1ib3R0b20nXVxyXG4gICAgICAgICAgICAgICAgdGhpcy52aWV3U3dpdGNoVGltZXIgPSBzZXRUaW1lb3V0KCgpPT57XHJcbiAgICAgICAgICAgICAgICAgICAgdGhpcy5pbmZvVmlld1Nob3cgPSB0cnVlXHJcbiAgICAgICAgICAgICAgICAgICAgdGhpcy5pbmZvTW9kZSA9IFsnZmFkZScsICdzbGlkZS1ib3R0b20nXVxyXG4gICAgICAgICAgICAgICAgICAgIC8vIOiuvue9ruWPpuS4gOS4quWumuaXtuWZqOadpemHjee9rui/m+ihjOS4reagh+W/l1xyXG4gICAgICAgICAgICAgICAgICAgIHNldFRpbWVvdXQoKCkgPT4ge1xyXG4gICAgICAgICAgICAgICAgICAgICAgICB0aGlzLnZpZXdTd2l0Y2hJblByb2dyZXNzID0gZmFsc2U7XHJcbiAgICAgICAgICAgICAgICAgICAgfSwgMTAwMCk7XHJcbiAgICAgICAgICAgICAgICB9LDEwMDApXHJcbiAgICAgICAgICAgIH0gZWxzZSBpZiAodGhpcy5lcnJvckluZm9WaWV3U2hvdykge1xyXG4gICAgICAgICAgICAgICAgdGhpcy52aWV3U3dpdGNoSW5Qcm9ncmVzcyA9IHRydWU7XHJcbiAgICAgICAgICAgICAgICB0aGlzLmVycm9ySW5mb1ZpZXdTaG93ID0gZmFsc2VcclxuICAgICAgICAgICAgICAgIHRoaXMuZXJyb3JJbmZvTW9kZSA9IFsnZmFkZScsICdzbGlkZS1ib3R0b20nXVxyXG4gICAgICAgICAgICAgICAgdGhpcy52aWV3U3dpdGNoVGltZXIgPSBzZXRUaW1lb3V0KCgpPT57XHJcbiAgICAgICAgICAgICAgICAgICAgdGhpcy5pbmZvVmlld1Nob3cgPSB0cnVlXHJcbiAgICAgICAgICAgICAgICAgICAgdGhpcy5pbmZvTW9kZSA9IFsnZmFkZScsICdzbGlkZS1ib3R0b20nXVxyXG4gICAgICAgICAgICAgICAgICAgIC8vIOiuvue9ruWPpuS4gOS4quWumuaXtuWZqOadpemHjee9rui/m+ihjOS4reagh+W/l1xyXG4gICAgICAgICAgICAgICAgICAgIHNldFRpbWVvdXQoKCkgPT4ge1xyXG4gICAgICAgICAgICAgICAgICAgICAgICB0aGlzLnZpZXdTd2l0Y2hJblByb2dyZXNzID0gZmFsc2U7XHJcbiAgICAgICAgICAgICAgICAgICAgfSwgMTAwMCk7XHJcbiAgICAgICAgICAgICAgICB9LDEwMDApXHJcbiAgICAgICAgICAgIH1cclxuICAgICAgICAgICAgXHJcbiAgICAgICAgICAgIHJldHVybjtcclxuICAgICAgICAgICAgLy8g5pyJ5L+h5oGvIOS4lCDmnInplJnor6/kv6Hmga9cclxuICAgICAgICBjYXNlIDI6XHJcbiAgICAgICAgICAgIGlmICh0aGlzLmhvbWVWaWV3U2hvdykge1xyXG4gICAgICAgICAgICAgICAgdGhpcy52aWV3U3dpdGNoSW5Qcm9ncmVzcyA9IHRydWU7XHJcbiAgICAgICAgICAgICAgICB0aGlzLmhvbWVWaWV3U2hvdyA9IGZhbHNlXHJcbiAgICAgICAgICAgICAgICB0aGlzLmhvbWVNb2RlID0gWydmYWRlJywgJ3NsaWRlLWJvdHRvbSddXHJcbiAgICAgICAgICAgICAgICB0aGlzLnZpZXdTd2l0Y2hUaW1lciA9IHNldFRpbWVvdXQoKCk9PntcclxuICAgICAgICAgICAgICAgICAgICB0aGlzLmVycm9ySW5mb1ZpZXdTaG93ID0gdHJ1ZVxyXG4gICAgICAgICAgICAgICAgICAgIHRoaXMuZXJyb3JJbmZvTW9kZSA9IFsnZmFkZScsICdzbGlkZS1ib3R0b20nXVxyXG4gICAgICAgICAgICAgICAgICAgIC8vIOiuvue9ruWPpuS4gOS4quWumuaXtuWZqOadpemHjee9rui/m+ihjOS4reagh+W/l1xyXG4gICAgICAgICAgICAgICAgICAgIHNldFRpbWVvdXQoKCkgPT4ge1xyXG4gICAgICAgICAgICAgICAgICAgICAgICB0aGlzLnZpZXdTd2l0Y2hJblByb2dyZXNzID0gZmFsc2U7XHJcbiAgICAgICAgICAgICAgICAgICAgfSwgMTAwMCk7XHJcbiAgICAgICAgICAgICAgICB9LDEwMDApXHJcbiAgICAgICAgICAgIH0gZWxzZSBpZiAodGhpcy5pbmZvVmlld1Nob3cpIHtcclxuICAgICAgICAgICAgICAgIHRoaXMudmlld1N3aXRjaEluUHJvZ3Jlc3MgPSB0cnVlO1xyXG4gICAgICAgICAgICAgICAgdGhpcy5pbmZvVmlld1Nob3cgPSBmYWxzZVxyXG4gICAgICAgICAgICAgICAgdGhpcy5pbmZvTW9kZSA9IFsnZmFkZScsICdzbGlkZS1ib3R0b20nXVxyXG4gICAgICAgICAgICAgICAgdGhpcy52aWV3U3dpdGNoVGltZXIgPSBzZXRUaW1lb3V0KCgpPT57XHJcbiAgICAgICAgICAgICAgICAgICAgdGhpcy5lcnJvckluZm9WaWV3U2hvdyA9IHRydWVcclxuICAgICAgICAgICAgICAgICAgICB0aGlzLmVycm9ySW5mb01vZGUgPSBbJ2ZhZGUnLCAnc2xpZGUtYm90dG9tJ11cclxuICAgICAgICAgICAgICAgICAgICAvLyDorr7nva7lj6bkuIDkuKrlrprml7blmajmnaXph43nva7ov5vooYzkuK3moIflv5dcclxuICAgICAgICAgICAgICAgICAgICBzZXRUaW1lb3V0KCgpID0+IHtcclxuICAgICAgICAgICAgICAgICAgICAgICAgdGhpcy52aWV3U3dpdGNoSW5Qcm9ncmVzcyA9IGZhbHNlO1xyXG4gICAgICAgICAgICAgICAgICAgIH0sIDEwMDApO1xyXG4gICAgICAgICAgICAgICAgfSwxMDAwKVxyXG4gICAgICAgICAgICB9XHJcbiAgICAgICAgICAgIHJldHVybjtcclxuICAgICAgICAvLyDmnInkv6Hmga8g5LiUIOaciemUmeivr+S/oeaBr1xyXG4gICAgICAgIGNhc2UgMzpcclxuICAgICAgICAgICAgaWYgKHRoaXMuaG9tZVZpZXdTaG93KSB7XHJcbiAgICAgICAgICAgICAgICB0aGlzLnZpZXdTd2l0Y2hJblByb2dyZXNzID0gdHJ1ZTtcclxuICAgICAgICAgICAgICAgIHRoaXMuaG9tZVZpZXdTaG93ID0gZmFsc2VcclxuICAgICAgICAgICAgICAgIHRoaXMuaG9tZU1vZGUgPSBbJ2ZhZGUnLCAnc2xpZGUtYm90dG9tJ11cclxuICAgICAgICAgICAgICAgIHRoaXMudmlld1N3aXRjaFRpbWVyID0gc2V0VGltZW91dCgoKT0+e1xyXG4gICAgICAgICAgICAgICAgICAgIHRoaXMuZXJyb3JJbmZvVmlld1Nob3cgPSB0cnVlXHJcbiAgICAgICAgICAgICAgICAgICAgdGhpcy5lcnJvckluZm9Nb2RlID0gWydmYWRlJywgJ3NsaWRlLWJvdHRvbSddXHJcbiAgICAgICAgICAgICAgICAgICAgLy8g6K6+572u5Y+m5LiA5Liq5a6a5pe25Zmo5p2l6YeN572u6L+b6KGM5Lit5qCH5b+XXHJcbiAgICAgICAgICAgICAgICAgICAgc2V0VGltZW91dCgoKSA9PiB7XHJcbiAgICAgICAgICAgICAgICAgICAgICAgIHRoaXMudmlld1N3aXRjaEluUHJvZ3Jlc3MgPSBmYWxzZTtcclxuICAgICAgICAgICAgICAgICAgICB9LCAxMDAwKTtcclxuICAgICAgICAgICAgICAgIH0sMTAwMClcclxuICAgICAgICAgICAgfSBlbHNlIGlmICh0aGlzLmluZm9WaWV3U2hvdykge1xyXG4gICAgICAgICAgICAgICAgdGhpcy52aWV3U3dpdGNoSW5Qcm9ncmVzcyA9IHRydWU7XHJcbiAgICAgICAgICAgICAgICB0aGlzLmluZm9WaWV3U2hvdyA9IGZhbHNlXHJcbiAgICAgICAgICAgICAgICB0aGlzLmluZm9Nb2RlID0gWydmYWRlJywgJ3NsaWRlLWJvdHRvbSddXHJcbiAgICAgICAgICAgICAgICB0aGlzLnZpZXdTd2l0Y2hUaW1lciA9IHNldFRpbWVvdXQoKCk9PntcclxuICAgICAgICAgICAgICAgICAgICB0aGlzLmVycm9ySW5mb1ZpZXdTaG93ID0gdHJ1ZVxyXG4gICAgICAgICAgICAgICAgICAgIHRoaXMuZXJyb3JJbmZvTW9kZSA9IFsnZmFkZScsICdzbGlkZS1ib3R0b20nXVxyXG4gICAgICAgICAgICAgICAgICAgIC8vIOiuvue9ruWPpuS4gOS4quWumuaXtuWZqOadpemHjee9rui/m+ihjOS4reagh+W/l1xyXG4gICAgICAgICAgICAgICAgICAgIHNldFRpbWVvdXQoKCkgPT4ge1xyXG4gICAgICAgICAgICAgICAgICAgICAgICB0aGlzLnZpZXdTd2l0Y2hJblByb2dyZXNzID0gZmFsc2U7XHJcbiAgICAgICAgICAgICAgICAgICAgfSwgMTAwMCk7XHJcbiAgICAgICAgICAgICAgICB9LDEwMDApXHJcbiAgICAgICAgICAgIH1cclxuICAgICAgICAgICAgcmV0dXJuO1xyXG4gICAgICAgIFxyXG4gICAgfVxyXG4gICAgXHJcbn0sXHJcblx0XHRcdC8vIOS4u+Wxj+W5lVxyXG5cdFx0XHRoYW5kbGUod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xuXHQuYnV0dG9uLWl0ZW0ge1xyXG5cdFx0d2lkdGg6IDUwJTtcclxuXHRcdGhlaWdodDogMTAwJTtcclxuXHRcdGZvbnQtc2l6ZTogMS41dnc7XHJcblx0XHRmb250LXdlaWdodDogYm9sZDtcclxuXHRcdHRleHQtYWxpZ246IGNlbnRlcjtcclxuXHRcdGNvbG9yOiAjOTA5Mzk5O1xyXG5cdH1cclxuXHQuYnV0dG9uLWl0ZW06bGFzdC1jaGlsZCB7XHJcblx0XHRjb2xvcjogIzY3QzIzQTtcclxuXHRcdFxyXG5cdFx0Ym9yZGVyLWxlZnQ6IDFweCBzb2xpZCAjY2NjO1xyXG5cdH1cclxuXHQuaW5mby1ib3gtdGV4dCB7XHJcblx0XHR3aWR0aDogMTAwJTtoZWlnaHQ6IDEwMCU7XHJcblx0XHRkaXNwbGF5OiBmbGV4O2ZsZXgtZGlyZWN0aW9uOiBjb2x1bW47YWxpZ24taXRlbXM6IGNlbnRlcjtqdXN0aWZ5LWNvbnRlbnQ6IGNlbnRlcjtcclxuXHR9XHJcblx0LmluZm8tYm94LXRleHQtaXRlbSB7XHJcblx0XHRoZWlnaHQ6IDIwJTtmb250LXNpemU6IDh2aDtcclxuXHRcdGp1c3RpZnktY29udGVudDogY2VudGVyO1xyXG5cdH1cclxuPC9zdHlsZT4iXSwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///117\n");
+eval("/* WEBPACK VAR INJECTION */(function(__f__) {\n\nvar _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 1);\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\nexports.default = void 0;\nvar _demodata = _interopRequireDefault(__webpack_require__(/*! @/mockdata/demodata.json */ 139));\nvar _data = _interopRequireDefault(__webpack_require__(/*! @/pages/index/data.json */ 118));\nvar _WebSocketClient = __webpack_require__(/*! @/static/js/WebSocketClient */ 148);\nvar _uniWebSocket = _interopRequireDefault(__webpack_require__(/*! ./uniWebSocket */ 119));\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\nvar socket;\nvar _default = {\n  data: function data() {\n    return {\n      series: [],\n      homeViewShow: true,\n      infoViewShow: false,\n      errorInfoViewShow: false,\n      homeMode: [],\n      infoMode: [],\n      errorInfoMode: [],\n      baseInfo: {\n        xDistance: 1,\n        yDistance: 2,\n        xDuration: 3,\n        yDuration: 4,\n        usedPr: 50,\n        used: 3537,\n        stockCount: '',\n        emptyCount: '',\n        noneCount: ''\n      },\n      chartsData: {\n        \"Line\": {\n          \"categories\": [],\n          \"series\": []\n        },\n        \"Pie\": {\n          \"series\": [{\n            \"data\": []\n          }]\n        }\n      },\n      duration: 300,\n      calendar: '',\n      ringOpts: {},\n      chartsDataLine1: {},\n      chartsDataPie2: {},\n      fontSize: '',\n      height: '',\n      showCharts: false,\n      ejectShow: false,\n      baseIP: '',\n      basePort: '',\n      baseLedId: '',\n      baseCrnId: '',\n      baseUrl: '',\n      info: null,\n      error: null,\n      infoType: 0,\n      text: '',\n      infoText: {\n        title: '',\n        staNo: \"\",\n        matnr: \"\",\n        maknx: \"\",\n        specs: \"\",\n        count: \"\",\n        error: \"\",\n        barcode: \"\"\n      },\n      swiperList: [],\n      timeOut: false,\n      times: 0,\n      currDate: '',\n      locList: [],\n      oldHours: '',\n      oldMin: '',\n      socketClient: null,\n      messages: [],\n      version: '',\n      socketUrl: '',\n      msgType: 'success',\n      filename: '',\n      dialogContent: '',\n      wmsUrl: '',\n      wmsPort: ''\n    };\n  },\n  onShow: function onShow() {\n    // 闅愯棌鏃堕棿,鐢甸噺,淇″彿绛塡n\n    plus.navigator.setFullscreen(true);\n    this.getVersion();\n  },\n  mounted: function mounted() {\n    var that = this;\n    var BaseIP = uni.getStorageSync('BaseIp');\n    var BaseLedId = uni.getStorageSync('BaseLedId');\n    var BasePort = uni.getStorageSync('BasePort');\n    var BaseCrnId = uni.getStorageSync('BaseCrnId');\n    var PROJ = uni.getStorageSync('UPROJ');\n    var WMSURL = uni.getStorageSync('wmsUrl');\n    var WMSPORT = uni.getStorageSync('wmsPort');\n    that.baseUrl = PROJ;\n    that.baseIP = BaseIP;\n    that.baseLedId = BaseLedId;\n    that.basePort = BasePort;\n    that.baseCrnId = BaseCrnId;\n    that.wmsUrl = WMSURL;\n    that.wmsPort = WMSPORT;\n    // this.getUrl()\n  },\n  created: function created() {\n    var that = this;\n    var BaseIP = uni.getStorageSync('BaseIp');\n    var BaseLedId = uni.getStorageSync('BaseLedId');\n    var BasePort = uni.getStorageSync('BasePort');\n    var BaseCrnId = uni.getStorageSync('BaseCrnId');\n    var PROJ = uni.getStorageSync('UPROJ');\n    var WMSURL = uni.getStorageSync('wmsUrl');\n    var WMSPORT = uni.getStorageSync('wmsPort');\n    that.baseUrl = PROJ;\n    that.baseIP = BaseIP;\n    that.baseLedId = BaseLedId;\n    that.basePort = BasePort;\n    that.baseCrnId = BaseCrnId;\n    that.wmsUrl = WMSURL;\n    that.wmsPort = WMSPORT;\n    that.uniWebSocket();\n    // that.webSockerInit()\n  },\n  onLoad: function onLoad() {\n    var _this = this;\n    setInterval(function () {\n      _this.getServerData();\n      // this.initlineChart()\n      // this.initPieChart()\n      // this.getOther()\n      // // this.getDate()\n      // this.getDate2()\n      // this.getInfo()\n      // this.getError()\n      // this.getInfo2()\n      // this.getError2()\n      // this.getUrl()\n      _this.controller();\n      // this.statisticalModel()\n      // 娴嬭瘯鐢╘n    }, 1000);\n    setInterval(function () {\n      setTimeout(function () {\n        plus.runtime.restart();\n      }, 100);\n    }, 1000 * 60 * 60 * 4);\n\n    // 姣忓皬鏃惰Е鍙戜竴娆″瀮鍦惧洖鏀禱n    var memoryCleanerId = setInterval(function () {\n      if (plus.os.name.toLowerCase() === 'android') {\n        // 寮哄埗瑙﹀彂 GC\n        plus.android.importClass('java.lang.System');\n        plus.android.invoke('java.lang.System', 'gc');\n        __f__(\"log\", '鎵嬪姩瑙﹀彂 GC', \" at pages/home/home.vue:478\");\n      }\n\n      // 娓呯悊涓嶅啀闇�瑕佺殑澶у瀷鏁版嵁瀵硅薄\n      if (_this.oldData && _this.oldData.length > 100) {\n        _this.oldData = [];\n      }\n    }, 3000 * 10); // 姣忓皬鏃舵墽琛屼竴娆n\n    // setInterval(()=> {\n    // \tsetTimeout(()=>{\n    // \t\tvar time = new Date();\n    // \t\tvar hh = time.getHours();\n    // \t\tvar mm = time.getMinutes();\n    // \t\tif(hh > this.oldHours && mm >this.oldMin && this.oldMin - mm < 55){\n    // \t\t\tplus.runtime.restart();\n    // \t\t}\n    // \t\tif(mm >this.oldMin && mm - this.oldMin >2){\n    // \t\t\tplus.runtime.restart();\n    // \t\t}\n    // \t},100)\n\n    // },1000*30)\n  },\n\n  methods: {\n    uniWebSocket: function uniWebSocket() {\n      var that = this;\n      that.commonUrl = that.baseIP + ':' + that.basePort + \"/\" + that.baseUrl;\n      that.socketUrl = \"ws://\" + that.commonUrl + \"/led/\" + that.baseLedId;\n      // 鍒涘缓WebSocket瀹炰緥\n      that.socketClient = new _uniWebSocket.default(that.socketUrl, {\n        // 蹇冭烦闂撮殧锛岄粯璁�30绉抃n        heartbeatInterval: 30000,\n        // 閲嶈繛闂撮殧锛岄粯璁�3绉抃n        reconnectInterval: 3000,\n        // 鏈�澶ч噸杩炴鏁帮紝-1琛ㄧず鏃犻檺閲嶈繛\n        maxReconnectAttempts: -1,\n        // 娑堟伅鍥炶皟\n        onMessage: function onMessage(res) {\n          try {\n            var data = JSON.parse(res.data);\n            that.showDate(data);\n            // 澶勭悊娑堟伅...\n          } catch (e) {\n            __f__(\"error\", '瑙f瀽娑堟伅澶辫触', e, \" at pages/home/home.vue:523\");\n          }\n        },\n        // 杩炴帴鎵撳紑鍥炶皟\n        onOpen: function onOpen(res) {\n          that.timeOut = false;\n          that.times = 0;\n          __f__(\"log\", 'WebSocket宸茶繛鎺�', res, \" at pages/home/home.vue:530\");\n        },\n        // 杩炴帴閿欒鍥炶皟\n        onError: function onError(error) {\n          __f__(\"error\", 'WebSocket閿欒', error, \" at pages/home/home.vue:534\");\n        },\n        // 杩炴帴鍏抽棴鍥炶皟\n        onClose: function onClose(res) {\n          that.timeOut = true;\n          that.times = that.times + 1;\n          that.infoType = 0;\n          __f__(\"log\", 'WebSocket宸插叧闂�', res, \" at pages/home/home.vue:541\");\n        },\n        // 閲嶈繛鍥炶皟\n        onReconnect: function onReconnect(info) {\n          __f__(\"log\", \"WebSocket\\u91CD\\u8FDE(\".concat(info.attempts, \"/\").concat(info.maxAttempts, \")\"), \" at pages/home/home.vue:545\");\n        }\n      });\n\n      // 寤虹珛杩炴帴\n      that.socketClient.connect();\n    },\n    // 鍙戦�佹秷鎭痋n    sendMessage: function sendMessage(content) {\n      var message = {\n        type: 'chat',\n        content: content,\n        timestamp: Date.now()\n      };\n      this.socketClient.send(message).then(function () {\n        __f__(\"log\", '娑堟伅鍙戦�佹垚鍔�', \" at pages/home/home.vue:562\");\n      }).catch(function (error) {\n        __f__(\"error\", '娑堟伅鍙戦�佸け璐�', error, \" at pages/home/home.vue:565\");\n      });\n    },\n    webSockerInit: function webSockerInit() {\n      var that = this;\n      if (that.baseIP === '' && that.basePort === '' && that.baseUrl === '') {\n        that.timeOut = true;\n        that.times = that.times + 1;\n        that.infoType = 0;\n        return;\n      }\n      that.commonUrl = that.baseIP + ':' + that.basePort + \"/\" + that.baseUrl;\n      var socketUrl = \"ws://\" + that.commonUrl + \"/led/\" + that.baseLedId;\n      // socketUrl = \"ws://10.0.100.150:8080/gtctu/led/113\"\n      var ws = new _WebSocketClient.WebSocketClient(socketUrl);\n      ws.connect();\n      __f__(\"log\", ws, \" at pages/home/home.vue:584\");\n      ws.onclose(function () {});\n      ws.onmessage(function (msg) {\n        that.timeOut = false;\n        var data = JSON.parse(msg.data);\n        that.showDate(data);\n      });\n    },\n    showDate: function showDate(data) {\n      var that = this;\n      if (data.type === \"default\") {\n        that.chartsData.Pie.series[0].data = data.pie;\n        that.baseInfo.stockCount = data.stockCunt;\n        that.baseInfo.emptyCount = data.emptyCount;\n        that.baseInfo.noneCount = data.noneCount;\n        that.baseInfo.used = data.used;\n        that.baseInfo.usedPr = data.usedPr;\n        that.chartsData.Line.categories = [that.getDateFormat(-11), that.getDateFormat(-10), that.getDateFormat(-9), that.getDateFormat(-8), that.getDateFormat(-7), that.getDateFormat(-6), that.getDateFormat(-5), that.getDateFormat(-4), that.getDateFormat(-3), that.getDateFormat(-2), that.getDateFormat(-1), that.getDateFormat(0)];\n        that.chartsData.Line.series = data.rows;\n        that.calendar = data.year + \"骞碶" + data.month + \"鏈圽" + data.day + \"鏃� \" + data.hour + \":\" + data.minute + \":\" + data.second + \" \" + data.week;\n        that.currDate = data.year + \"/\" + data.month + \"/\" + data.day;\n        that.locList = data.inventoryData;\n        that.oldHours = data.hour;\n        that.oldMin = data.minute;\n      } else if (data.type === \"error\") {\n        if (data.errMsg && data.errMsg !== \"\") {\n          var errorInfo = data.errMsg;\n          if (that.infoType == 1) {\n            that.infoType = 3;\n            that.infoText.title = \"鍏朵粬淇℃伅\";\n            // that.infoText.title = \"寮傚父\"\n            that.infoText.error = errorInfo;\n            return;\n          }\n          that.infoType = 2;\n          that.infoText.title = \"鍏朵粬淇℃伅\";\n          // that.infoText.title = \"寮傚父\"\n          that.infoText.error = errorInfo;\n        } else {\n          if (that.infoType == 1) {\n            return;\n          }\n          that.infoType = 0;\n        }\n      } else if (data.type === \"task\") {\n        if (data.taskList && data.taskList !== \"\" && data.taskList.length != 0) {\n          if (that.infoType == 2 || that.infoType == 3) {\n            return;\n          }\n          // infoType1:鍙湁鎷f枡绛変俊鎭痋n          that.infoType = 1;\n          if (data.taskList[0].ioType === 101) {\n            that.infoText.title = '鍏ㄦ澘鍑哄簱';\n          } else if (data.taskList[0].ioType === 103) {\n            that.infoText.title = '鎷f枡鍑哄簱';\n          } else if (data.taskList[0].ioType === 107) {\n            that.infoText.title = '鐩樼偣鍑哄簱';\n          } else if (data.taskList[0].ioType === 1) {\n            that.infoText.title = '鍏ュ簱';\n          } else if (data.taskList[0].ioType === 10) {\n            that.infoText.title = '绌烘墭鍏ュ簱';\n          } else if (data.taskList[0].ioType === 110) {\n            that.infoText.title = '绌烘墭鍑哄簱';\n          } else if (data.taskList[0].ioType === 104) {\n            that.infoText.title = '骞舵澘鍑哄簱';\n          } else if (data.taskList[0].ioType === 54) {\n            that.infoText.title = '骞舵澘鍏ュ簱';\n          }\n          that.infoText.barcode = data.taskList[0].barcode;\n          that.infoText.workNo = data.taskList[0].workNo;\n          that.infoText.sourceLocNo = data.taskList[0].sourceLocNo;\n          that.infoText.staNo = data.taskList[0].staNo;\n          that.swiperList = data.taskList[0].matDtos;\n          // that.infoText.matnr = res.data[0].matDtos[0].matnr\n          // that.infoText.specs = res.data[0].matDtos[0].specs\n          // that.infoText.maknx = res.data[0].matDtos[0].maknx\n          // that.infoText.count = res.data[0].matDtos[0].count\n        } else {\n          if (that.infoType == 2 || that.infoType == 3) {\n            return;\n          }\n          that.infoType = 0;\n        }\n      }\n    },\n    statisticalModel: function statisticalModel() {\n      var that = this;\n      uni.request({\n        url: that.commonUrl + \"/monitor/locDetl/pda/statisticalModel\",\n        method: 'GET',\n        success: function success(result) {\n          var res = result.data;\n          if (res.code === 200) {\n            __f__(\"log\", res.data, \" at pages/home/home.vue:687\");\n            that.locList = res.data;\n          }\n        }\n      });\n    },\n    getUrl: function getUrl() {\n      this.commonUrl = this.baseHttp + this.baseIP + ':' + this.basePort + \"/\" + this.baseUrl;\n    },\n    getServerData: function getServerData() {\n      this.chartsDataLine1 = JSON.parse(JSON.stringify(this.chartsData.Line));\n      this.chartsDataPie2 = JSON.parse(JSON.stringify(this.chartsData.Pie));\n    },\n    // 鑾峰彇閿欒淇℃伅\n    getInfo2: function getInfo2() {\n      var that = this;\n      var result = _data.default.dataInfo2;\n      var res = result.data;\n      if (res.data && res.data !== \"\") {\n        if (that.infoType == 2 || that.infoType == 3) {\n          return;\n        }\n        // infoType1:鍙湁鎷f枡绛変俊鎭痋n        that.infoType = 1;\n        if (res.data[0].ioType === 101) {\n          that.infoText.title = '鍏ㄦ澘鍑哄簱';\n        } else if (res.data[0].ioType === 103) {\n          that.infoText.title = '妫�鏂欏嚭搴�';\n        } else if (res.data[0].ioType === 107) {\n          that.infoText.title = '鐩樼偣鍑哄簱';\n        } else if (res.data[0].ioType === 1) {\n          that.infoText.title = '鍏ュ簱';\n        } else if (res.data[0].ioType === 10) {\n          that.infoText.title = '绌烘墭鍏ュ簱';\n        } else if (res.data[0].ioType === 110) {\n          that.infoText.title = '绌烘墭鍑哄簱';\n        }\n        that.infoText.barcode = res.data[0].barcode;\n        that.infoText.workNo = res.data[0].workNo;\n        that.infoText.sourceLocNo = res.data[0].sourceLocNo;\n        that.infoText.staNo = res.data[0].staNo;\n        that.swiperList = res.data[0].matDtos;\n        // that.infoText.matnr = res.data[0].matDtos[0].matnr\n        // that.infoText.specs = res.data[0].matDtos[0].specs\n        // that.infoText.maknx = res.data[0].matDtos[0].maknx\n        // that.infoText.count = res.data[0].matDtos[0].count\n      } else {\n        if (that.infoType == 2 || that.infoType == 3) {\n          return;\n        }\n        that.infoType = 0;\n      }\n    },\n    getError2: function getError2() {\n      var that = this;\n      var result = _data.default.dataError2;\n      var res = result.data;\n      if (res.data && res.data !== \"\") {\n        var errorInfo = res.data;\n        if (that.infoType == 1) {\n          that.infoType = 3;\n          that.infoText.title = \"鍏朵粬淇℃伅\";\n          // that.infoText.title = \"寮傚父\"\n          that.infoText.error = errorInfo;\n          return;\n        }\n        that.infoType = 2;\n        that.infoText.title = \"鍏朵粬淇℃伅\";\n        // that.infoText.title = \"寮傚父\"\n        that.infoText.error = errorInfo;\n      } else {\n        if (that.infoType == 1) {\n          return;\n        }\n        that.infoType = 0;\n      }\n    },\n    getInfo: function getInfo() {\n      var that = this;\n      uni.request({\n        url: that.commonUrl + \"/monitor/led\",\n        method: \"GET\",\n        data: {\n          ledId: that.baseLedId\n        },\n        success: function success(result) {\n          that.timeOut = false;\n          that.times = 0;\n          var res = result.data;\n          if (res.data && res.data !== \"\") {\n            if (that.infoType == 2 || that.infoType == 3) {\n              return;\n            }\n            // infoType1:鍙湁鎷f枡绛変俊鎭痋n            that.infoType = 1;\n            if (res.data[0].ioType === 101) {\n              that.infoText.title = '鍏ㄦ澘鍑哄簱';\n            } else if (res.data[0].ioType === 103) {\n              that.infoText.title = '妫�鏂欏嚭搴�';\n            } else if (res.data[0].ioType === 107) {\n              that.infoText.title = '鐩樼偣鍑哄簱';\n            } else if (res.data[0].ioType === 1) {\n              that.infoText.title = '鍏ュ簱';\n            } else if (res.data[0].ioType === 10) {\n              that.infoText.title = '绌烘墭鍏ュ簱';\n            } else if (res.data[0].ioType === 110) {\n              that.infoText.title = '绌烘墭鍑哄簱';\n            }\n            that.infoText.barcode = res.data[0].barcode;\n            that.infoText.workNo = res.data[0].workNo;\n            that.infoText.sourceLocNo = res.data[0].sourceLocNo;\n            that.infoText.staNo = res.data[0].staNo;\n            that.swiperList = res.data[0].matDtos;\n            // that.infoText.matnr = res.data[0].matDtos[0].matnr\n            // that.infoText.specs = res.data[0].matDtos[0].specs\n            // that.infoText.maknx = res.data[0].matDtos[0].maknx\n            // that.infoText.count = res.data[0].matDtos[0].count\n          } else {\n            if (that.infoType == 2 || that.infoType == 3) {\n              return;\n            }\n            that.infoType = 0;\n          }\n        },\n        fail: function fail(err) {\n          that.timeOut = true;\n          that.times = that.times + 1;\n          that.infoType = 0;\n        }\n      });\n    },\n    getError: function getError() {\n      var that = this;\n      uni.request({\n        url: that.commonUrl + \"/monitor/led/error\",\n        data: {\n          ledId: that.baseLedId\n        },\n        method: \"GET\",\n        success: function success(result) {\n          that.timeOut = false;\n          that.times = 0;\n          var res = result.data;\n          if (res.data && res.data !== \"\") {\n            var errorInfo = res.data;\n            if (that.infoType == 1) {\n              that.infoType = 3;\n              that.infoText.title = \"鍏朵粬淇℃伅\";\n              // that.infoText.title = \"寮傚父\"\n              that.infoText.error = errorInfo;\n              return;\n            }\n            that.infoType = 2;\n            that.infoText.title = \"鍏朵粬淇℃伅\";\n            // that.infoText.title = \"寮傚父\"\n            that.infoText.error = errorInfo;\n          } else {\n            if (that.infoType == 1) {\n              return;\n            }\n            that.infoType = 0;\n          }\n        },\n        fail: function fail(err) {\n          that.timeOut = true;\n          that.infoType = 0;\n        }\n      });\n    },\n    // 鎺у埗鍣╘n    controller: function controller() {\n      var _this2 = this;\n      switch (this.infoType) {\n        // 鏈変俊鎭� 浣� 娌℃湁閿欒淇℃伅\n        case 0:\n          if (this.errorInfoViewShow) {\n            this.errorInfoViewShow = false;\n            this.errorInfoMode = ['fade', 'slide-bottom'];\n            setTimeout(function () {\n              _this2.homeViewShow = true;\n              _this2.homeMode = ['fade', 'slide-bottom'];\n            }, 1000);\n          } else if (this.infoViewShow) {\n            this.infoViewShow = false;\n            this.infoMode = ['fade', 'slide-bottom'];\n            setTimeout(function () {\n              _this2.homeViewShow = true;\n              _this2.homeMode = ['fade', 'slide-bottom'];\n            }, 1000);\n          } else if (this.errorInfoViewShow && this.infoViewShow) {\n            this.errorInfoViewShow = false;\n            this.infoViewShow = false;\n            this.infoMode = ['fade', 'slide-bottom'];\n            setTimeout(function () {\n              _this2.homeViewShow = true;\n              _this2.homeMode = ['fade', 'slide-bottom'];\n            }, 1000);\n          }\n          return;\n        case 1:\n          if (this.homeViewShow) {\n            this.homeViewShow = false;\n            this.homeMode = ['fade', 'slide-bottom'];\n            setTimeout(function () {\n              _this2.infoViewShow = true;\n              _this2.infoMode = ['fade', 'slide-bottom'];\n            }, 1000);\n          } else if (this.errorInfoViewShow) {\n            this.errorInfoViewShow = false;\n            this.errorInfoMode = ['fade', 'slide-bottom'];\n            setTimeout(function () {\n              _this2.infoViewShow = true;\n              _this2.infoMode = ['fade', 'slide-bottom'];\n            }, 1000);\n          }\n          return;\n        // 鏈変俊鎭� 涓� 鏈夐敊璇俊鎭痋n        case 2:\n          if (this.homeViewShow) {\n            this.homeViewShow = false;\n            this.homeMode = ['fade', 'slide-bottom'];\n            setTimeout(function () {\n              _this2.errorInfoViewShow = true;\n              _this2.errorInfoMode = ['fade', 'slide-bottom'];\n            }, 1000);\n          } else if (this.infoViewShow) {\n            this.infoViewShow = false;\n            this.infoMode = ['fade', 'slide-bottom'];\n            setTimeout(function () {\n              _this2.errorInfoViewShow = true;\n              _this2.errorInfoMode = ['fade', 'slide-bottom'];\n            }, 1000);\n          }\n          return;\n        // 鏈変俊鎭� 涓� 鏈夐敊璇俊鎭痋n        case 3:\n          if (this.homeViewShow) {\n            this.homeViewShow = false;\n            this.homeMode = ['fade', 'slide-bottom'];\n            setTimeout(function () {\n              _this2.errorInfoViewShow = true;\n              _this2.errorInfoMode = ['fade', 'slide-bottom'];\n            }, 1000);\n          } else if (this.infoViewShow) {\n            this.infoViewShow = false;\n            this.infoMode = ['fade', 'slide-bottom'];\n            setTimeout(function () {\n              _this2.errorInfoViewShow = true;\n              _this2.errorInfoMode = ['fade', 'slide-bottom'];\n            }, 1000);\n          }\n          return;\n      }\n    },\n    // 涓诲睆骞昞n    handle: function handle(type) {\n      this.homeViewShow = !this.homeViewShow;\n      this.modeClass = type;\n    },\n    // 鎷f枡\n    handle1: function handle1(type) {\n      this.infoViewShow = !this.infoViewShow;\n      this.modeClass = type;\n    },\n    // 寮傚父\n    handle2: function handle2(type) {\n      this.errorInfoViewShow = !this.errorInfoViewShow;\n      this.modeClass = type;\n    },\n    // 閰嶇疆\n    ejected: function ejected() {\n      this.ejectShow = true;\n    },\n    // 鍙栨秷閰嶇疆\n    ejectClose: function ejectClose() {\n      this.ejectShow = false;\n    },\n    // 纭閰嶇疆\n    ejectConfirm: function ejectConfirm() {\n      uni.setStorageSync('BaseIp', this.baseIP);\n      uni.setStorageSync('BaseLedId', this.baseLedId);\n      uni.setStorageSync('BasePort', this.basePort);\n      uni.setStorageSync('BaseCrnId', this.baseCrnId);\n      uni.setStorageSync('UPROJ', this.baseUrl);\n      uni.setStorageSync('wmsUrl', this.wmsUrl);\n      uni.setStorageSync('wmsPort', this.wmsPort);\n      this.getUrl();\n      this.ejectShow = false;\n    },\n    // 鏃ュ巻 鏈嶅姟鍣╘n    getDate2: function getDate2() {\n      var that = this;\n      uni.request({\n        url: that.commonUrl + \"/monitor/date\",\n        method: \"GET\",\n        success: function success(result) {\n          var res = result.data.data;\n        }\n      });\n    },\n    // 鏃ュ巻\n    getDate: function getDate() {\n      var dt = new Date();\n      var year, month, day, hours, minutes, seconds, weeks;\n      year = dt.getFullYear();\n      month = dt.getMonth() + 1 < 10 ? '0' + (dt.getMonth() + 1) : dt.getMonth() + 1;\n      day = dt.getDate() < 10 ? '0' + dt.getDate() : dt.getDate();\n      hours = dt.getHours() < 10 ? '0' + dt.getHours() : dt.getHours();\n      minutes = dt.getMinutes() < 10 ? '0' + dt.getMinutes() : dt.getMinutes();\n      seconds = dt.getSeconds() < 10 ? '0' + dt.getSeconds() : dt.getSeconds();\n      weeks = dt.getDay();\n      switch (weeks) {\n        case 0:\n          weeks = \"鏄熸湡鏃";\n          break;\n        case 1:\n          weeks = \"鏄熸湡涓�\";\n          break;\n        case 2:\n          weeks = \"鏄熸湡浜孿";\n          break;\n        case 3:\n          weeks = \"鏄熸湡涓塡";\n          break;\n        case 4:\n          weeks = \"鏄熸湡鍥沑";\n          break;\n        case 5:\n          weeks = \"鏄熸湡浜擻";\n          break;\n        default:\n          weeks = \"鏄熸湡鍏璡";\n      }\n      this.calendar = year + \"骞碶" + month + \"鏈圽" + day + \"鏃� \" + hours + \":\" + minutes + \":\" + seconds + \" \" + weeks;\n    },\n    getDateFormat: function getDateFormat(value) {\n      var date = new Date(this.currDate); // 鑾峰彇褰撳墠鏃堕棿\n      date.setDate(date.getDate() + value); // 璁剧疆澶╂暟 -1 澶‐n      var m = date.getMonth() + 1;\n      var d = date.getDate();\n      var newDate = m + '-' + d;\n      return newDate;\n    },\n    /*************** 鎶樼嚎鍥� *****************************************************************************************************/initlineChart: function initlineChart() {\n      var that = this;\n      uni.request({\n        url: that.commonUrl + \"/monitor/line/charts\",\n        method: 'GET',\n        success: function success(result) {\n          var res = result.data;\n          if (res.code === 200) {}\n        }\n      });\n    },\n    /*************** 楗煎浘 *****************************************************************************************************/initPieChart: function initPieChart() {\n      var that = this;\n      uni.request({\n        url: that.commonUrl + \"/monitor/loc/rep\",\n        method: 'GET',\n        success: function success(result) {\n          var res = result.data;\n          if (res.code === 200) {\n            that.chartsData.Pie.series[0].data = res.data.pie;\n            that.baseInfo.stockCount = res.data.stockCunt;\n            that.baseInfo.emptyCount = res.data.emptyCount;\n            that.baseInfo.noneCount = res.data.noneCount;\n            that.baseInfo.used = res.data.used;\n            that.baseInfo.usedPr = res.data.usedPr;\n          }\n        }\n      });\n    },\n    getOther: function getOther() {\n      var that = this;\n      uni.request({\n        url: that.commonUrl + \"/monitor/other\",\n        data: {\n          crnId: that.baseCrnId,\n          ledId: that.baseLedId\n        },\n        success: function success(result) {\n          // console.log(result);\n          var res = result.data;\n          if (res.code === 200) {\n            that.baseInfo.xDistance = res.data.xDistance;\n            that.baseInfo.yDistance = res.data.yDistance;\n            that.baseInfo.xDuration = res.data.xDuration;\n            that.baseInfo.yDuration = res.data.yDuration;\n          } else if (res.code === 403) {} else {}\n        }\n      });\n    },\n    //妫�娴嬪綋鍓嶅钩鍙帮紝濡傛灉鏄畨鍗撳垯鍚姩瀹夊崜鏇存柊\n    getVersion: function getVersion() {\n      var that = this;\n      uni.getSystemInfo({\n        success: function success(res) {\n          if (res.platform == \"android\") {\n            that.AndroidCheckUpdate();\n          }\n          // that.AndroidCheckUpdate();\n        }\n      });\n    },\n    // 鑾峰彇褰撳墠鐗堟湰鍙穃n    AndroidCheckUpdate: function AndroidCheckUpdate() {\n      var that = this;\n      plus.runtime.getProperty(plus.runtime.appid, function (wgtinfo) {\n        that.version = wgtinfo.version; //瀹㈡埛绔増鏈彿\n      });\n\n      setTimeout(function () {\n        that.getUpdateVersion();\n      }, 100);\n    },\n    // 鏍¢獙鐗堟湰\n    getUpdateVersion: function getUpdateVersion() {\n      var that = this;\n      var type = 1;\n      if (that.baseUrl == 'http://undefined:undefined/undefined') {\n        return;\n      }\n      var wms = 'http://' + that.baseIP + ':' + that.wmsPort + \"/\" + that.wmsUrl;\n      __f__(\"log\", wms, \" at pages/home/home.vue:1107\");\n      var url = wms + '/appVersion/checkUpdate/' + that.version + '/' + type;\n      uni.request({\n        url: url,\n        method: 'GET',\n        success: function success(res) {\n          __f__(\"log\", res, \" at pages/home/home.vue:1113\");\n          var res = res.data;\n          if (res.data) {\n            that.filename = res.data.path;\n            that.dialogContent = '鍙戠幇鏂扮増鏈�:' + res.data.version + ', 鏄惁绔嬪嵆鏇存柊';\n            that.$refs.upVersion.open();\n          } else {\n            uni.showToast({\n              title: res.msg,\n              icon: \"none\",\n              position: 'top'\n            });\n          }\n        }\n      });\n    },\n    dialogConfirm: function dialogConfirm() {\n      this.$refs.upVersion.close();\n      this.downWgt();\n    },\n    dialogClose: function dialogClose() {\n      this.$refs.upVersion.close();\n    },\n    downWgt: function downWgt() {\n      var that = this;\n      var wms = 'http://' + that.baseIP + ':' + that.wmsPort + \"/\" + that.wmsUrl;\n      var downloadUrl = wms + \"/appVersion/downloadApp/\" + that.filename;\n      uni.showLoading({\n        title: '鏇存柊涓�︹��'\n      });\n      var downloadTask = uni.downloadFile({\n        //鎵ц涓嬭浇\n        url: downloadUrl,\n        //涓嬭浇鍦板潃\n        timeout: 1000 * 30,\n        //30绉掕秴鏃舵椂闂碶n        success: function success(downloadResult) {\n          //涓嬭浇鎴愬姛\n          __f__(\"log\", downloadResult, \" at pages/home/home.vue:1148\");\n          that.showdownLine = false;\n          uni.hideLoading();\n          if (downloadResult.statusCode == 200) {\n            uni.showModal({\n              title: '',\n              content: '鏇存柊鎴愬姛锛岀‘瀹氱幇鍦ㄩ噸鍚悧锛�',\n              confirmText: '閲嶅惎',\n              confirmColor: '#EE8F57',\n              success: function success(res) {\n                if (res.confirm == true) {\n                  plus.runtime.install(\n                  //瀹夎\n                  downloadResult.tempFilePath, {\n                    force: true\n                  }, function (res) {\n                    utils.showToast('鏇存柊鎴愬姛锛岄噸鍚腑');\n                    plus.runtime.restart();\n                  });\n                }\n              }\n            });\n          } else {\n            uni.hideLoading();\n            that.showdownLine = false;\n            uni.showToast({\n              title: '璇峰厛涓婁紶瀹夎鍖�',\n              icon: 'error'\n            });\n          }\n        },\n        fail: function fail(err) {\n          uni.hideLoading();\n          that.showdownLine = false;\n          that.$u.toast(downloadResult.errMsg);\n        },\n        complete: function complete(com) {\n          __f__(\"log\", com, \" at pages/home/home.vue:1187\");\n        }\n      });\n\n      // 涓嬭浇杩涘害\n      downloadTask.onProgressUpdate(function (res) {\n        that.downloadNum = res.progress;\n        __f__(\"log\", '涓嬭浇杩涘害' + that.downloadNum, \" at pages/home/home.vue:1194\");\n      });\n    }\n  }\n};\nexports.default = _default;\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/vue-cli-plugin-uni/lib/format-log.js */ 15)[\"default\"]))//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInVuaS1hcHA6Ly8vcGFnZXMvaG9tZS9ob21lLnZ1ZSJdLCJuYW1lcyI6WyJkYXRhIiwic2VyaWVzIiwiaG9tZVZpZXdTaG93IiwiaW5mb1ZpZXdTaG93IiwiZXJyb3JJbmZvVmlld1Nob3ciLCJob21lTW9kZSIsImluZm9Nb2RlIiwiZXJyb3JJbmZvTW9kZSIsImJhc2VJbmZvIiwieERpc3RhbmNlIiwieURpc3RhbmNlIiwieER1cmF0aW9uIiwieUR1cmF0aW9uIiwidXNlZFByIiwidXNlZCIsInN0b2NrQ291bnQiLCJlbXB0eUNvdW50Iiwibm9uZUNvdW50IiwiY2hhcnRzRGF0YSIsImR1cmF0aW9uIiwiY2FsZW5kYXIiLCJyaW5nT3B0cyIsImNoYXJ0c0RhdGFMaW5lMSIsImNoYXJ0c0RhdGFQaWUyIiwiZm9udFNpemUiLCJoZWlnaHQiLCJzaG93Q2hhcnRzIiwiZWplY3RTaG93IiwiYmFzZUlQIiwiYmFzZVBvcnQiLCJiYXNlTGVkSWQiLCJiYXNlQ3JuSWQiLCJiYXNlVXJsIiwiaW5mbyIsImVycm9yIiwiaW5m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AwJTtcblx0XHRkaXNwbGF5OiBmbGV4O2ZsZXgtZGlyZWN0aW9uOiBjb2x1bW47YWxpZ24taXRlbXM6IGNlbnRlcjtqdXN0aWZ5LWNvbnRlbnQ6IGNlbnRlcjtcblx0fVxuXHQuaW5mby1ib3gtdGV4dC1pdGVtIHtcblx0XHRoZWlnaHQ6IDIwJTtmb250LXNpemU6IDh2aDtcblx0XHRqdXN0aWZ5LWNvbnRlbnQ6IGNlbnRlcjtcblx0fVxuPC9zdHlsZT4iXSwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///117\n");
 
 /***/ }),
 /* 118 */
@@ -14298,7 +14277,7 @@
 /***/ (function(module, exports, __webpack_require__) {
 
 "use strict";
-eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\nexports.default = void 0;\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\nvar _default = {\n  data: function data() {\n    return {\n      data: '',\n      url: 'http://10.10.10.120:9090/wcs/h5/index.html'\n    };\n  },\n  onShow: function onShow() {\n    var that = this;\n    uni.getStorage({\n      key: \"data\",\n      success: function success(e) {\n        that.data = e.data;\n      }\n    });\n    // 闅愯棌鏃堕棿,鐢甸噺,淇″彿绛塡n  },\n\n  methods: {\n    setUrl: function setUrl() {\n      if (this.url != '') {\n        uni.setStorage({\n          key: \"data\",\n          data: this.url\n        });\n        this.data = this.url;\n      }\n    },\n    clearUrl: function clearUrl() {\n      this.data = \"\";\n      this.url = \"http://10.10.10.120:9090/wcs/h5/index.html\";\n      uni.removeStorage({\n        key: \"data\"\n      });\n    }\n  }\n};\nexports.default = _default;//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInVuaS1hcHA6Ly8vcGFnZXMvdGVzdC90ZXN0LnZ1ZSJdLCJuYW1lcyI6WyJkYXRhIiwidXJsIiwib25TaG93IiwidW5pIiwia2V5Iiwic3VjY2VzcyIsInRo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uXHQuY2xlYXIge1xyXG5cdFx0cG9zaXRpb246IGZpeGVkO1xyXG5cdFx0dG9wOiAwO1xyXG5cdFx0bGVmdDogMDtcclxuXHRcdHotaW5kZXg6IDk5OTk7XHJcblx0XHRiYWNrZ3JvdW5kOiB0cmFuc3BhcmVudDtcclxuXHRcdGJvcmRlcjogbm9uZTtcclxuXHR9XHJcblx0XHJcblx0LmNsZWFyOmhvdmVyIHtcclxuXHRcdGJhY2tncm91bmQ6ICNmZmY7XHJcblx0fVxyXG48L3N0eWxlPiJdLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///124\n");
+eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\nexports.default = void 0;\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\nvar _default = {\n  data: function data() {\n    return {\n      data: '',\n      url: 'http://10.10.10.120:9090/wcs/h5/index.html'\n    };\n  },\n  onShow: function onShow() {\n    var that = this;\n    uni.getStorage({\n      key: \"data\",\n      success: function success(e) {\n        that.data = e.data;\n      }\n    });\n    // 闅愯棌鏃堕棿,鐢甸噺,淇″彿绛塡n  },\n\n  methods: {\n    setUrl: function setUrl() {\n      if (this.url != '') {\n        uni.setStorage({\n          key: \"data\",\n          data: this.url\n        });\n        this.data = this.url;\n      }\n    },\n    clearUrl: function clearUrl() {\n      this.data = \"\";\n      this.url = \"http://10.10.10.120:9090/wcs/h5/index.html\";\n      uni.removeStorage({\n        key: \"data\"\n      });\n    }\n  }\n};\nexports.default = _default;//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInVuaS1hcHA6Ly8vcGFnZXMvdGVzdC90ZXN0LnZ1ZSJdLCJuYW1lcyI6WyJkYXRhIiwidXJsIiwib25TaG93IiwidGhhdCIsInVuaSIsImdldFN0b3JhZ2UiLCJrZXkiLCJzdWNjZXNzIiwiZSIsIm1ldGhvZHMiLCJzZXRVcmwi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HR9XG59XG4iXSwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///124\n");
 
 /***/ }),
 /* 125 */
@@ -16091,5 +16070,27 @@
 "use strict";
 eval("/* WEBPACK VAR INJECTION */(function(__f__) {\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\nexports.default = void 0;\nvar _default = {\n  onLaunch: function onLaunch() {\n    __f__(\"log\", 'App Launch', \" at App.vue:4\");\n  },\n  onShow: function onShow() {\n    __f__(\"log\", 'App Show', \" at App.vue:7\");\n  },\n  onHide: function onHide() {\n    __f__(\"log\", 'App Hide', \" at App.vue:10\");\n  }\n};\nexports.default = _default;\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/vue-cli-plugin-uni/lib/format-log.js */ 15)[\"default\"]))//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInVuaS1hcHA6Ly8vQXBwLnZ1ZSJdLCJuYW1lcyI6WyJvbkxhdW5jaCIsIm9uU2hvdyIsIm9uSGlkZSJdLCJtYXBwaW5ncyI6Ijs7Ozs7O2VBQ2U7RUFDZEEsUUFBUSxFQUFFLG9CQUFXO0lBQ3BCLGFBQVksWUFBWTtFQUN6QixDQUFDO0VBQ0RDLE1BQU0sRUFBRSxrQkFBVztJQUNsQixhQUFZLFVBQVU7RUFDdkIsQ0FBQztFQUNEQyxNQUFNLEVBQUUsa0JBQVc7SUFDbEIsYUFBWSxVQUFVO0VBQ3ZCO0FBQ0QsQ0FBQztBQUFBLDJCIiwiZmlsZSI6IjE0Ny5qcyIsInNvdXJjZXNDb250ZW50IjpbIlxuZXhwb3J0IGRlZmF1bHQge1xuXHRvbkxhdW5jaDogZnVuY3Rpb24oKSB7XG5cdFx0Y29uc29sZS5sb2coJ0FwcCBMYXVuY2gnKVxuXHR9LFxuXHRvblNob3c6IGZ1bmN0aW9uKCkge1xuXHRcdGNvbnNvbGUubG9nKCdBcHAgU2hvdycpXG5cdH0sXG5cdG9uSGlkZTogZnVuY3Rpb24oKSB7XG5cdFx0Y29uc29sZS5sb2coJ0FwcCBIaWRlJylcblx0fVxufVxuIl0sInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///147\n");
 
+/***/ }),
+/* 148 */
+/*!***********************************************************!*\
+  !*** D:/monitor/Monitor-APP/static/js/WebSocketClient.js ***!
+  \***********************************************************/
+/*! no static exports found */
+/***/ (function(module, exports, __webpack_require__) {
+
+"use strict";
+eval("/* WEBPACK VAR INJECTION */(function(__f__) {\n\nvar _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 1);\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\nexports.WebSocketClient = void 0;\nvar _classCallCheck2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/classCallCheck */ 23));\nvar _createClass2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/createClass */ 24));\nvar _assertThisInitialized2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/assertThisInitialized */ 81));\nvar _inherits2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/inherits */ 83));\nvar _possibleConstructorReturn2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/possibleConstructorReturn */ 85));\nvar _getPrototypeOf2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/getPrototypeOf */ 86));\nvar _defineProperty2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/defineProperty */ 2));\nvar _dispatcher = __webpack_require__(/*! ./dispatcher */ 149);\nfunction _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2.default)(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2.default)(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2.default)(this, result); }; }\nfunction _isNativeReflectConstruct() { if (typeof Reflect === \"undefined\" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === \"function\") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }\nvar WebSocketClient = /*#__PURE__*/function (_EventDispatcher) {\n  (0, _inherits2.default)(WebSocketClient, _EventDispatcher);\n  var _super = _createSuper(WebSocketClient);\n  // #socket閾炬帴\n\n  // #socket瀹炰緥\n\n  // #閲嶈繛娆℃暟\n\n  // #鏈�澶ч噸杩炴暟\n\n  // #閲嶈繛闂撮殧\n  // 10 seconds\n  // #鍙戦�佸績璺虫暟鎹棿闅擻n\n  // #璁℃椂鍣╥d\n\n  // #褰诲簳缁堟ws\n\n  // *鏋勯�犲嚱鏁癨n  function WebSocketClient(url) {\n    var _this;\n    (0, _classCallCheck2.default)(this, WebSocketClient);\n    _this = _super.call(this);\n    (0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), \"url\", '');\n    (0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), \"socket\", null);\n    (0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), \"reconnectAttempts\", 0);\n    (0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), \"maxReconnectAttempts\", 20);\n    (0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), \"reconnectInterval\", 60000);\n    (0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), \"heartbeatInterval\", 1000 * 30);\n    (0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), \"heartbeatTimer\", undefined);\n    (0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), \"stopWs\", false);\n    _this.url = url;\n    return _this;\n  }\n  // >鐢熷懡鍛ㄦ湡閽╁瓙\n  (0, _createClass2.default)(WebSocketClient, [{\n    key: \"onopen\",\n    value: function onopen(callBack) {\n      this.addEventListener('open', callBack);\n    }\n  }, {\n    key: \"onmessage\",\n    value: function onmessage(callBack) {\n      this.addEventListener('message', callBack);\n    }\n  }, {\n    key: \"onclose\",\n    value: function onclose(callBack) {\n      this.addEventListener('close', callBack);\n    }\n  }, {\n    key: \"onerror\",\n    value: function onerror(callBack) {\n      this.addEventListener('error', callBack);\n    }\n    // >娑堟伅鍙戦�乗n  }, {\n    key: \"send\",\n    value: function send(message) {\n      if (this.socket && this.socket.readyState === WebSocket.OPEN) {\n        this.socket.send({\n          data: message\n        });\n      } else {\n        __f__(\"error\", '[WebSocket] 鏈繛鎺�', \" at static/js/WebSocketClient.js:45\");\n      }\n    }\n\n    // !鍒濆鍖栬繛鎺n  }, {\n    key: \"connect\",\n    value: function connect() {\n      var _this2 = this;\n      if (this.reconnectAttempts === 0) {\n        this.log('WebSocket', \"\\u521D\\u59CB\\u5316\\u8FDE\\u63A5\\u4E2D...          \".concat(this.url));\n      }\n      if (this.socket && this.socket.readyState === WebSocket.OPEN) {\n        return;\n      }\n      this.socket = uni.connectSocket({\n        url: this.url,\n        complete: function complete() {}\n      });\n      this.socket.onOpen(function (event) {\n        _this2.stopWs = false;\n        // 閲嶇疆閲嶈繛灏濊瘯鎴愬姛杩炴帴\n        _this2.reconnectAttempts = 0;\n        // 鍦ㄨ繛鎺ユ垚鍔熸椂鍋滄褰撳墠鐨勫績璺虫娴嬪苟閲嶆柊鍚姩\n        _this2.startHeartbeat();\n        _this2.log('WebSocket', \"\\u8FDE\\u63A5\\u6210\\u529F,\\u7B49\\u5F85\\u670D\\u52A1\\u7AEF\\u6570\\u636E\\u63A8\\u9001[onopen]...     \".concat(_this2.url));\n        _this2.dispatchEvent('open', event);\n      });\n      // !websocket杩炴帴鎴愬姛\n      // this.socket.onOpen = event => {\t\t\t\n      //     this.stopWs = false;\n      //     // 閲嶇疆閲嶈繛灏濊瘯鎴愬姛杩炴帴\n      //     this.reconnectAttempts = 0;\n      //     // 鍦ㄨ繛鎺ユ垚鍔熸椂鍋滄褰撳墠鐨勫績璺虫娴嬪苟閲嶆柊鍚姩\n      //     this.startHeartbeat();\t\t\t\n      //     this.log('WebSocket', `杩炴帴鎴愬姛,绛夊緟鏈嶅姟绔暟鎹帹閫乕onopen]...     ${this.url}`);\n      //     this.dispatchEvent('open', event);\n      // };\n      this.socket.onMessage(function (event) {\n        _this2.dispatchEvent('message', event);\n        _this2.startHeartbeat();\n      });\n      //      this.socket.onMessage = event => {\n      // console.log(event)\n      // this.dispatchEvent('message', event);\n      // this.startHeartbeat();\n      //      };\n      this.socket.onClose(function (event) {\n        if (_this2.reconnectAttempts === 0) {\n          _this2.log('WebSocket', \"\\u8FDE\\u63A5\\u65AD\\u5F00[onclose]...    \".concat(_this2.url));\n        }\n        if (!_this2.stopWs) {\n          _this2.handleReconnect();\n        }\n        _this2.dispatchEvent('close', event);\n      });\n      // this.socket.onClose = event => {\n      //     if (this.reconnectAttempts === 0) {\n      //         this.log('WebSocket', `杩炴帴鏂紑[onclose]...    ${this.url}`);\n      //     }\n      //     if (!this.stopWs) {\n      //         this.handleReconnect();\n      //     }\n      //     this.dispatchEvent('close', event);\n      // };\n      this.socket.onError(function (event) {\n        if (_this2.reconnectAttempts === 0) {\n          _this2.log('WebSocket', \"\\u8FDE\\u63A5\\u5F02\\u5E38[onerror]...    \".concat(_this2.url));\n        }\n        if (!_this2.stopWs) {\n          _this2.handleReconnect();\n        }\n        _this2.closeHeartbeat();\n        _this2.dispatchEvent('error', event);\n      });\n\n      // uni.onSocketError((event)=>{\n      // \tconsole.log(\"333\")\n      // \tif (this.reconnectAttempts === 0) {\n      // \t    this.log('WebSocket', `杩炴帴寮傚父[onerror]...    ${this.url}`);\n      // \t}\n      // \tif (!this.stopWs) {\n      // \t    this.handleReconnect();\n      // \t}\n      // \tthis.closeHeartbeat();\n      // \tthis.dispatchEvent('error', event);\n      // })\n      // this.socket.onError = event => {\n      //     if (this.reconnectAttempts === 0) {\n      //         this.log('WebSocket', `杩炴帴寮傚父[onerror]...    ${this.url}`);\n      //     }\n      //     this.closeHeartbeat();\n      //     this.dispatchEvent('error', event);\n      // };\n    }\n\n    // > 鏂綉閲嶈繛閫昏緫\n  }, {\n    key: \"handleReconnect\",\n    value: function handleReconnect() {\n      var _this3 = this;\n      if (this.reconnectAttempts < this.maxReconnectAttempts) {\n        this.reconnectAttempts++;\n        this.log('WebSocket', \"\\u5C1D\\u8BD5\\u91CD\\u8FDE... (\".concat(this.reconnectAttempts, \"/\").concat(this.maxReconnectAttempts, \")       \").concat(this.url));\n        setTimeout(function () {\n          _this3.connect();\n        }, this.reconnectInterval);\n      } else {\n        plus.runtime.restart();\n        // this.closeHeartbeat();\n        // this.log('WebSocket', `鏈�澶ч噸杩炲け璐ワ紝缁堟閲嶈繛: ${this.url}`);\n      }\n    }\n\n    // >鍏抽棴杩炴帴\n  }, {\n    key: \"close\",\n    value: function close() {\n      if (this.socket) {\n        this.stopWs = true;\n        this.socket.close();\n        this.socket = null;\n        this.removeEventListener('open');\n        this.removeEventListener('message');\n        this.removeEventListener('close');\n        this.removeEventListener('error');\n      }\n      this.closeHeartbeat();\n    }\n\n    // >寮�濮嬪績璺虫娴� -> 瀹氭椂鍙戦�佸績璺虫秷鎭痋n  }, {\n    key: \"startHeartbeat\",\n    value: function startHeartbeat() {\n      var _this4 = this;\n      if (this.stopWs) return;\n      if (this.heartbeatTimer) {\n        this.closeHeartbeat();\n      }\n      this.heartbeatTimer = setInterval(function () {\n        if (_this4.socket) {\n          _this4.socket.send({\n            data: JSON.stringify({\n              type: 'heartBeat',\n              data: {}\n            })\n          });\n          _this4.log('WebSocket', '閫佸績璺虫暟鎹�...');\n        } else {\n          __f__(\"error\", '[WebSocket] 鏈繛鎺�', \" at static/js/WebSocketClient.js:181\");\n        }\n      }, this.heartbeatInterval);\n    }\n\n    // >鍏抽棴蹇冭烦\n  }, {\n    key: \"closeHeartbeat\",\n    value: function closeHeartbeat() {\n      clearInterval(this.heartbeatTimer);\n      this.heartbeatTimer = undefined;\n    }\n  }]);\n  return WebSocketClient;\n}(_dispatcher.EventDispatcher);\nexports.WebSocketClient = WebSocketClient;\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/vue-cli-plugin-uni/lib/format-log.js */ 15)[\"default\"]))//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInVuaS1hcHA6Ly8vc3RhdGljL2pzL1dlYlNvY2tldENsaWVudC5qcyJdLCJuYW1lcyI6WyJXZWJTb2NrZXRDbGllbnQiLCJ1cmwiLCJ1bmRlZmluZWQiLCJjYWxsQmFjayIsImFkZEV2ZW50TGlzdGVuZXIiLCJtZXNzYWdlIiwic29ja2V0IiwicmVhZHlTdGF0ZSIsIldlYlNvY2tldCIsIk9QRU4iLCJzZW5kIiwiZGF0YSIsInJlY29ubmVjdEF0dGVtcHRzIiwibG9nIiwidW5pIiwiY29ubmVjdFNvY2tldCIsImNvbXBsZXRlIiwib25PcGVuIiwiZXZlbnQiLCJzdG9wV3MiLCJzdGFydEhlYXJ0YmVhdCIsImRpc3BhdGNoRXZlbnQiLCJvbk1lc3NhZ2UiLCJvbkNsb3NlIiwiaGFuZGxlUmVjb25uZWN0Iiwib25FcnJvciIsImNsb3NlSGVhcnRiZWF0IiwibWF4UmVjb25uZWN0QXR0ZW1wdHMiLCJzZXRUaW1lb3V0IiwiY29ubmVjdCIsInJlY29ubmVjdEludGVydmFsIiwicGx1cyIsInJ1bnRpbWUiLCJyZXN0YXJ0IiwiY2xvc2UiLCJyZW1vdmVFdmVudExpc3RlbmVyIiwiaGVhcnRiZWF0VGltZXIiLCJzZXRJbnRlcnZhbCIsIkpTT04iLCJzdHJpbmdpZnkiLCJ0eXBlIiwiaGVhcnRiZWF0SW50ZXJ2YWwiLCJjbGVhckludGVydmFsIiwiRXZlbnREaXNwYXRjaGVyIl0sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7Ozs7OztBQUFBO0FBQStDO0FBQUE7QUF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AgICAgICBpZiAodGhpcy5yZWNvbm5lY3RBdHRlbXB0cyA8IHRoaXMubWF4UmVjb25uZWN0QXR0ZW1wdHMpIHtcclxuICAgICAgICAgICAgdGhpcy5yZWNvbm5lY3RBdHRlbXB0cysrO1xyXG4gICAgICAgICAgICB0aGlzLmxvZygnV2ViU29ja2V0JywgYOWwneivlemHjei/ni4uLiAoJHt0aGlzLnJlY29ubmVjdEF0dGVtcHRzfS8ke3RoaXMubWF4UmVjb25uZWN0QXR0ZW1wdHN9KSAgICAgICAke3RoaXMudXJsfWApO1xyXG4gICAgICAgICAgICBzZXRUaW1lb3V0KCgpID0+IHtcclxuICAgICAgICAgICAgICAgIHRoaXMuY29ubmVjdCgpO1xyXG4gICAgICAgICAgICB9LCB0aGlzLnJlY29ubmVjdEludGVydmFsKTtcclxuICAgICAgICB9IGVsc2Uge1xyXG5cdFx0XHRwbHVzLnJ1bnRpbWUucmVzdGFydCgpO1xyXG4gICAgICAgICAgICAvLyB0aGlzLmNsb3NlSGVhcnRiZWF0KCk7XHJcbiAgICAgICAgICAgIC8vIHRoaXMubG9nKCdXZWJTb2NrZXQnLCBg5pyA5aSn6YeN6L+e5aSx6LSl77yM57uI5q2i6YeN6L+eOiAke3RoaXMudXJsfWApO1xyXG4gICAgICAgIH1cclxuICAgIH1cclxuXHJcbiAgICAvLyA+5YWz6Zet6L+e5o6lXHJcbiAgICBjbG9zZSgpIHtcclxuICAgICAgICBpZiAodGhpcy5zb2NrZXQpIHtcclxuICAgICAgICAgICAgdGhpcy5zdG9wV3MgPSB0cnVlO1xyXG4gICAgICAgICAgICB0aGlzLnNvY2tldC5jbG9zZSgpO1xyXG4gICAgICAgICAgICB0aGlzLnNvY2tldCA9IG51bGw7XHJcbiAgICAgICAgICAgIHRoaXMucmVtb3ZlRXZlbnRMaXN0ZW5lcignb3BlbicpO1xyXG4gICAgICAgICAgICB0aGlzLnJlbW92ZUV2ZW50TGlzdGVuZXIoJ21lc3NhZ2UnKTtcclxuICAgICAgICAgICAgdGhpcy5yZW1vdmVFdmVudExpc3RlbmVyKCdjbG9zZScpO1xyXG4gICAgICAgICAgICB0aGlzLnJlbW92ZUV2ZW50TGlzdGVuZXIoJ2Vycm9yJyk7XHJcbiAgICAgICAgfVxyXG4gICAgICAgIHRoaXMuY2xvc2VIZWFydGJlYXQoKTtcclxuICAgIH1cclxuXHJcbiAgICAvLyA+5byA5aeL5b+D6Lez5qOA5rWLIC0+IOWumuaXtuWPkemAgeW/g+i3s+a2iOaBr1xyXG4gICAgc3RhcnRIZWFydGJlYXQoKSB7XHRcdFxyXG4gICAgICAgIGlmICh0aGlzLnN0b3BXcykgcmV0dXJuO1xyXG4gICAgICAgIGlmICh0aGlzLmhlYXJ0YmVhdFRpbWVyKSB7XHJcbiAgICAgICAgICAgIHRoaXMuY2xvc2VIZWFydGJlYXQoKTtcclxuICAgICAgICB9XHJcbiAgICAgICAgdGhpcy5oZWFydGJlYXRUaW1lciA9IHNldEludGVydmFsKCgpID0+IHtcclxuICAgICAgICAgICAgaWYgKHRoaXMuc29ja2V0KSB7XHJcbiAgICAgICAgICAgICAgICB0aGlzLnNvY2tldC5zZW5kKHtcclxuICAgICAgICAgICAgICAgIFx0ZGF0YTogSlNPTi5zdHJpbmdpZnkoeyB0eXBlOiAnaGVhcnRCZWF0JywgZGF0YToge30gfSksXHJcbiAgICAgICAgICAgICAgICBcdFxyXG4gICAgICAgICAgICAgICAgfSk7XHJcbiAgICAgICAgICAgICAgICB0aGlzLmxvZygnV2ViU29ja2V0JywgJ+mAgeW/g+i3s+aVsOaNri4uLicpO1xyXG4gICAgICAgICAgICB9IGVsc2Uge1xyXG4gICAgICAgICAgICAgICAgY29uc29sZS5lcnJvcignW1dlYlNvY2tldF0g5pyq6L+e5o6lJyk7XHJcbiAgICAgICAgICAgIH1cclxuICAgICAgICB9LCB0aGlzLmhlYXJ0YmVhdEludGVydmFsKTtcclxuICAgIH1cclxuXHJcbiAgICAvLyA+5YWz6Zet5b+D6LezXHJcbiAgICBjbG9zZUhlYXJ0YmVhdCgpIHtcclxuICAgICAgICBjbGVhckludGVydmFsKHRoaXMuaGVhcnRiZWF0VGltZXIpO1xyXG4gICAgICAgIHRoaXMuaGVhcnRiZWF0VGltZXIgPSB1bmRlZmluZWQ7XHJcbiAgICB9XHJcbn0iXSwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///148\n");
+
+/***/ }),
+/* 149 */
+/*!******************************************************!*\
+  !*** D:/monitor/Monitor-APP/static/js/dispatcher.js ***!
+  \******************************************************/
+/*! no static exports found */
+/***/ (function(module, exports, __webpack_require__) {
+
+"use strict";
+eval("/* WEBPACK VAR INJECTION */(function(__f__) {\n\nvar _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 1);\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\nexports.EventDispatcher = void 0;\nvar _assertThisInitialized2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/assertThisInitialized */ 81));\nvar _inherits2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/inherits */ 83));\nvar _possibleConstructorReturn2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/possibleConstructorReturn */ 85));\nvar _getPrototypeOf2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/getPrototypeOf */ 86));\nvar _classCallCheck2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/classCallCheck */ 23));\nvar _createClass2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/createClass */ 24));\nvar _defineProperty2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/defineProperty */ 2));\nfunction _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2.default)(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2.default)(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2.default)(this, result); }; }\nfunction _isNativeReflectConstruct() { if (typeof Reflect === \"undefined\" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === \"function\") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }\nvar Log = /*#__PURE__*/function () {\n  function Log() {\n    (0, _classCallCheck2.default)(this, Log);\n  }\n  (0, _createClass2.default)(Log, [{\n    key: \"log\",\n    value: function log(title, text) {\n      // if (!Log.console) return;\n      // if (import.meta.env.MODE === 'production') return;\n      var color = '#ff4d4f';\n      __f__(\"log\", \"%c \".concat(title, \" %c \").concat(text, \" %c\"), \"background:\".concat(color, \";border:1px solid \").concat(color, \"; padding: 1px; border-radius: 2px 0 0 2px; color: #fff;\"), \"border:1px solid \".concat(color, \"; padding: 1px; border-radius: 0 2px 2px 0; color: \").concat(color, \";\"), 'background:transparent', \" at static/js/dispatcher.js:7\");\n    }\n  }, {\n    key: \"closeConsole\",\n    value: function closeConsole() {\n      Log.console = false;\n    }\n  }]);\n  return Log;\n}();\n(0, _defineProperty2.default)(Log, \"console\", true);\nvar EventDispatcher = /*#__PURE__*/function (_Log) {\n  (0, _inherits2.default)(EventDispatcher, _Log);\n  var _super = _createSuper(EventDispatcher);\n  function EventDispatcher() {\n    var _this;\n    (0, _classCallCheck2.default)(this, EventDispatcher);\n    for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n      args[_key] = arguments[_key];\n    }\n    _this = _super.call.apply(_super, [this].concat(args));\n    (0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), \"listeners\", {});\n    return _this;\n  }\n  (0, _createClass2.default)(EventDispatcher, [{\n    key: \"addEventListener\",\n    value: function addEventListener(type, listener) {\n      if (!this.listeners[type]) {\n        this.listeners[type] = [];\n      }\n      if (this.listeners[type].indexOf(listener) === -1) {\n        this.listeners[type].push(listener);\n      }\n    }\n  }, {\n    key: \"removeEventListener\",\n    value: function removeEventListener(type) {\n      this.listeners[type] = [];\n    }\n  }, {\n    key: \"dispatchEvent\",\n    value: function dispatchEvent(type, data) {\n      var _this2 = this;\n      var listenerArray = this.listeners[type] || [];\n      if (listenerArray.length === 0) return;\n      listenerArray.forEach(function (listener) {\n        listener.call(_this2, data);\n      });\n    }\n  }]);\n  return EventDispatcher;\n}(Log);\nexports.EventDispatcher = EventDispatcher;\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/vue-cli-plugin-uni/lib/format-log.js */ 15)[\"default\"]))//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInVuaS1hcHA6Ly8vc3RhdGljL2pzL2Rpc3BhdGNoZXIuanMiXSwibmFtZXMiOlsiTG9nIiwidGl0bGUiLCJ0ZXh0IiwiY29sb3IiLCJjb25zb2xlIiwiRXZlbnREaXNwYXRjaGVyIiwidHlwZSIsImxpc3RlbmVyIiwibGlzdGVuZXJzIiwiaW5kZXhPZiIsInB1c2giLCJkYXRhIiwibGlzdGVuZXJBcnJheSIsImxlbmd0aCIsImZvckVhY2giLCJjYWxsIl0sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7Ozs7Ozs7O0lBQU1BLEdBQUc7RUFBQTtJQUFBO0VBQUE7RUFBQTtJQUFBO0lBQUEsT0FFTCxhQUFJQyxLQUFLLEVBQUVDLElBQUksRUFBRTtNQUNiO01BQ0E7TUFDQSxJQUFNQyxLQUFLLEdBQUcsU0FBUztNQUN2QiwwQkFDVUYsS0FBSyxpQkFBT0MsSUFBSSwrQkFDUkMsS0FBSywrQkFBcUJBLEtBQUssMEZBQ3pCQSxLQUFLLGdFQUFzREEsS0FBSyxRQUNwRix3QkFBd0I7SUFFaEM7RUFBQztJQUFBO0lBQUEsT0FDRCx3QkFBZTtNQUNYSCxHQUFHLENBQUNJLE9BQU8sR0FBRyxLQUFLO0lBQ3ZCO0V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ZXIodHlwZSwgbGlzdGVuZXIpIHtcclxuICAgICAgICBpZiAoIXRoaXMubGlzdGVuZXJzW3R5cGVdKSB7XHJcbiAgICAgICAgICAgIHRoaXMubGlzdGVuZXJzW3R5cGVdID0gW107XHJcbiAgICAgICAgfVxyXG4gICAgICAgIGlmICh0aGlzLmxpc3RlbmVyc1t0eXBlXS5pbmRleE9mKGxpc3RlbmVyKSA9PT0gLTEpIHtcclxuICAgICAgICAgICAgdGhpcy5saXN0ZW5lcnNbdHlwZV0ucHVzaChsaXN0ZW5lcik7XHJcbiAgICAgICAgfVxyXG4gICAgfVxyXG5cclxuICAgIHJlbW92ZUV2ZW50TGlzdGVuZXIodHlwZSkge1xyXG4gICAgICAgIHRoaXMubGlzdGVuZXJzW3R5cGVdID0gW107XHJcbiAgICB9XHJcblxyXG4gICAgZGlzcGF0Y2hFdmVudCh0eXBlLCBkYXRhKSB7XHJcbiAgICAgICAgY29uc3QgbGlzdGVuZXJBcnJheSA9IHRoaXMubGlzdGVuZXJzW3R5cGVdIHx8IFtdO1xyXG4gICAgICAgIGlmIChsaXN0ZW5lckFycmF5Lmxlbmd0aCA9PT0gMCkgcmV0dXJuO1xyXG4gICAgICAgIGxpc3RlbmVyQXJyYXkuZm9yRWFjaChsaXN0ZW5lciA9PiB7XHJcbiAgICAgICAgICAgIGxpc3RlbmVyLmNhbGwodGhpcywgZGF0YSk7XHJcbiAgICAgICAgfSk7XHJcbiAgICB9XHJcbn0iXSwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///149\n");
+
 /***/ })
 ],[[0,"app-config"]]]);
\ No newline at end of file
diff --git a/Monitor-APP/unpackage/dist/dev/app-plus/app-view.js b/Monitor-APP/unpackage/dist/dev/app-plus/app-view.js
index ca68ad4..9e41d81 100644
--- a/Monitor-APP/unpackage/dist/dev/app-plus/app-view.js
+++ b/Monitor-APP/unpackage/dist/dev/app-plus/app-view.js
@@ -419,81 +419,63 @@
                                       staticClass: _vm._$g(19, "sc"),
                                       attrs: { _i: 19 },
                                     },
-                                    [
-                                      _c(
-                                        "v-uni-swiper",
-                                        {
-                                          staticClass: _vm._$g(20, "sc"),
-                                          attrs: {
-                                            vertical: "true",
-                                            "display-multiple-items": "5",
-                                            circular: "true",
-                                            autoplay: true,
-                                            interval: 3000,
-                                            duration: 2000,
-                                            _i: 20,
+                                    _vm._l(
+                                      _vm._$g(20, "f"),
+                                      function (item, i, $20, $30) {
+                                        return _c(
+                                          "uni-view",
+                                          {
+                                            key: item,
+                                            staticStyle: {
+                                              width: "100%",
+                                              display: "flex",
+                                            },
+                                            attrs: { _i: "20-" + $30 },
                                           },
-                                        },
-                                        _vm._l(
-                                          _vm._$g(21, "f"),
-                                          function (item, i, $20, $30) {
-                                            return _c(
-                                              "v-uni-swiper-item",
+                                          [
+                                            _c(
+                                              "uni-view",
                                               {
-                                                key: item,
-                                                staticClass: _vm._$g(
-                                                  "21-" + $30,
-                                                  "sc"
-                                                ),
+                                                staticStyle: {
+                                                  display: "flex",
+                                                  "justify-content": "center",
+                                                  "align-items": "center",
+                                                  width: "48%",
+                                                  "font-size": "1.3vw",
+                                                },
                                                 attrs: { _i: "21-" + $30 },
                                               },
                                               [
-                                                _c(
-                                                  "uni-view",
-                                                  {
-                                                    staticStyle: {
-                                                      width: "50%",
-                                                      "font-size": "1vw",
-                                                    },
-                                                    attrs: { _i: "22-" + $30 },
-                                                  },
-                                                  [
-                                                    _vm._v(
-                                                      "鐗╂枡鐮�: " +
-                                                        _vm._$g(
-                                                          "22-" + $30,
-                                                          "t0-0"
-                                                        )
-                                                    ),
-                                                  ]
+                                                _vm._v(
+                                                  "鐗╂枡鐮�: " +
+                                                    _vm._$g("21-" + $30, "t0-0")
                                                 ),
-                                                _c(
-                                                  "uni-view",
-                                                  {
-                                                    staticStyle: {
-                                                      width: "50%",
-                                                      "font-size": "1vw",
-                                                    },
-                                                    attrs: { _i: "23-" + $30 },
-                                                  },
-                                                  [
-                                                    _vm._v(
-                                                      "鏁伴噺: " +
-                                                        _vm._$g(
-                                                          "23-" + $30,
-                                                          "t0-0"
-                                                        )
-                                                    ),
-                                                  ]
+                                              ]
+                                            ),
+                                            _c(
+                                              "uni-view",
+                                              {
+                                                staticStyle: {
+                                                  display: "flex",
+                                                  "justify-content": "center",
+                                                  "align-items": "center",
+                                                  width: "48%",
+                                                  "font-size": "1.3vw",
+                                                },
+                                                attrs: { _i: "22-" + $30 },
+                                              },
+                                              [
+                                                _vm._v(
+                                                  "鏁伴噺: " +
+                                                    _vm._$g("22-" + $30, "t0-0")
                                                 ),
-                                              ],
-                                              1
-                                            )
-                                          }
-                                        ),
-                                        1
-                                      ),
-                                    ],
+                                              ]
+                                            ),
+                                          ],
+                                          1
+                                        )
+                                      }
+                                    ),
                                     1
                                   ),
                                 ],
@@ -502,42 +484,42 @@
                               _c(
                                 "uni-view",
                                 {
-                                  staticClass: _vm._$g(24, "sc"),
-                                  attrs: { _i: 24 },
+                                  staticClass: _vm._$g(23, "sc"),
+                                  attrs: { _i: 23 },
                                 },
                                 [
                                   _c(
                                     "uni-view",
                                     {
-                                      staticClass: _vm._$g(25, "sc"),
+                                      staticClass: _vm._$g(24, "sc"),
                                       staticStyle: { width: "100%" },
-                                      attrs: { _i: 25 },
+                                      attrs: { _i: 24 },
                                     },
                                     [
                                       _c(
                                         "uni-view",
                                         {
-                                          staticClass: _vm._$g(26, "sc"),
+                                          staticClass: _vm._$g(25, "sc"),
                                           staticStyle: {
                                             "align-items": "flex-start",
                                             "justify-content": "flex-start",
                                           },
-                                          attrs: { _i: 26 },
+                                          attrs: { _i: 25 },
                                         },
                                         [
                                           _c(
                                             "v-uni-text",
                                             {
-                                              staticClass: _vm._$g(27, "sc"),
-                                              attrs: { _i: 27 },
+                                              staticClass: _vm._$g(26, "sc"),
+                                              attrs: { _i: 26 },
                                             },
                                             [_vm._v("搴撲綅浣跨敤鐜�")]
                                           ),
                                           _c(
                                             "v-uni-text",
                                             {
-                                              staticClass: _vm._$g(28, "sc"),
-                                              attrs: { _i: 28 },
+                                              staticClass: _vm._$g(27, "sc"),
+                                              attrs: { _i: 27 },
                                             },
                                             [
                                               _vm._v(
@@ -554,32 +536,32 @@
                                           staticStyle: {
                                             "margin-left": "auto",
                                           },
-                                          attrs: { _i: 29 },
+                                          attrs: { _i: 28 },
                                         },
                                         [
                                           _c(
                                             "uni-view",
                                             {
-                                              staticClass: _vm._$g(30, "sc"),
+                                              staticClass: _vm._$g(29, "sc"),
                                               staticStyle: {
                                                 "align-items": "flex-end",
                                                 "justify-content": "flex-end",
                                               },
-                                              attrs: { _i: 30 },
+                                              attrs: { _i: 29 },
                                             },
                                             [
                                               _c(
                                                 "v-uni-text",
                                                 {
                                                   staticClass: _vm._$g(
-                                                    31,
+                                                    30,
                                                     "sc"
                                                   ),
-                                                  attrs: { _i: 31 },
+                                                  attrs: { _i: 30 },
                                                 },
                                                 [
                                                   _vm._v(
-                                                    _vm._$g(31, "t0-0") + "%"
+                                                    _vm._$g(30, "t0-0") + "%"
                                                   ),
                                                 ]
                                               ),
@@ -595,43 +577,43 @@
                                   _c(
                                     "uni-view",
                                     {
-                                      staticClass: _vm._$g(32, "sc"),
+                                      staticClass: _vm._$g(31, "sc"),
                                       staticStyle: {
                                         width: "100%",
                                         "align-items": "flex-start",
                                         position: "relative",
                                         "font-size": "1vw",
                                       },
-                                      attrs: { _i: 32 },
+                                      attrs: { _i: 31 },
                                     },
                                     [
                                       _c(
                                         "uni-view",
                                         {
-                                          staticClass: _vm._$g(33, "sc"),
+                                          staticClass: _vm._$g(32, "sc"),
                                           staticStyle: {
                                             width: "100%",
                                             position: "relative",
                                             "margin-top": "5%",
                                           },
-                                          attrs: { _i: 33 },
+                                          attrs: { _i: 32 },
                                         },
                                         [
                                           _c(
                                             "uni-view",
                                             {
-                                              staticClass: _vm._$g(34, "sc"),
+                                              staticClass: _vm._$g(33, "sc"),
                                               staticStyle: {
                                                 width: "80%",
                                                 height: "2vw",
                                               },
-                                              attrs: { _i: 34 },
+                                              attrs: { _i: 33 },
                                             },
                                             [
                                               _c("uni-view", {
-                                                staticClass: _vm._$g(35, "sc"),
-                                                style: _vm._$g(35, "s"),
-                                                attrs: { _i: 35 },
+                                                staticClass: _vm._$g(34, "sc"),
+                                                style: _vm._$g(34, "s"),
+                                                attrs: { _i: 34 },
                                               }),
                                             ],
                                             1
@@ -646,9 +628,9 @@
                                                 "font-size": "2.5vw",
                                                 color: "#FF5722",
                                               },
-                                              attrs: { _i: 36 },
+                                              attrs: { _i: 35 },
                                             },
-                                            [_vm._v(_vm._$g(36, "t0-0"))]
+                                            [_vm._v(_vm._$g(35, "t0-0"))]
                                           ),
                                         ],
                                         1
@@ -670,50 +652,50 @@
                   ),
                   _c(
                     "uni-view",
-                    { staticClass: _vm._$g(37, "sc"), attrs: { _i: 37 } },
+                    { staticClass: _vm._$g(36, "sc"), attrs: { _i: 36 } },
                     [
                       _c(
                         "uni-view",
-                        { staticClass: _vm._$g(38, "sc"), attrs: { _i: 38 } },
+                        { staticClass: _vm._$g(37, "sc"), attrs: { _i: 37 } },
                         [
                           _c(
                             "uni-view",
                             {
                               staticStyle: { width: "100%", height: "100%" },
-                              attrs: { _i: 39 },
+                              attrs: { _i: 38 },
                             },
                             [
                               _c(
                                 "uni-view",
                                 {
                                   staticStyle: { height: "35%" },
-                                  attrs: { _i: 40 },
+                                  attrs: { _i: 39 },
                                 },
                                 [
                                   _c(
                                     "y-box",
-                                    { attrs: { _i: 41 } },
+                                    { attrs: { _i: 40 } },
                                     [
                                       _c(
                                         "uni-view",
                                         {
-                                          staticClass: _vm._$g(42, "sc"),
-                                          attrs: { _i: 42 },
+                                          staticClass: _vm._$g(41, "sc"),
+                                          attrs: { _i: 41 },
                                         },
                                         [
                                           _c(
                                             "uni-view",
                                             {
-                                              staticClass: _vm._$g(43, "sc"),
+                                              staticClass: _vm._$g(42, "sc"),
                                               staticStyle: { width: "100%" },
-                                              attrs: { _i: 43 },
+                                              attrs: { _i: 42 },
                                             },
                                             [
                                               _c(
                                                 "uni-view",
                                                 {
                                                   staticClass: _vm._$g(
-                                                    44,
+                                                    43,
                                                     "sc"
                                                   ),
                                                   staticStyle: {
@@ -721,9 +703,20 @@
                                                     "justify-content":
                                                       "flex-start",
                                                   },
-                                                  attrs: { _i: 44 },
+                                                  attrs: { _i: 43 },
                                                 },
                                                 [
+                                                  _c(
+                                                    "v-uni-text",
+                                                    {
+                                                      staticClass: _vm._$g(
+                                                        44,
+                                                        "sc"
+                                                      ),
+                                                      attrs: { _i: 44 },
+                                                    },
+                                                    [_vm._v("鍏ュ嚭搴撶粺璁�")]
+                                                  ),
                                                   _c(
                                                     "v-uni-text",
                                                     {
@@ -732,17 +725,6 @@
                                                         "sc"
                                                       ),
                                                       attrs: { _i: 45 },
-                                                    },
-                                                    [_vm._v("鍏ュ嚭搴撶粺璁�")]
-                                                  ),
-                                                  _c(
-                                                    "v-uni-text",
-                                                    {
-                                                      staticClass: _vm._$g(
-                                                        46,
-                                                        "sc"
-                                                      ),
-                                                      attrs: { _i: 46 },
                                                     },
                                                     [_vm._v("ORDER STATISTICS")]
                                                   ),
@@ -755,12 +737,12 @@
                                                   staticStyle: {
                                                     "margin-left": "auto",
                                                   },
-                                                  attrs: { _i: 47 },
+                                                  attrs: { _i: 46 },
                                                 },
                                                 [
                                                   _c("uni-view", {
                                                     staticClass: _vm._$g(
-                                                      48,
+                                                      47,
                                                       "sc"
                                                     ),
                                                     staticStyle: {
@@ -768,7 +750,7 @@
                                                       "justify-content":
                                                         "flex-end",
                                                     },
-                                                    attrs: { _i: 48 },
+                                                    attrs: { _i: 47 },
                                                   }),
                                                 ],
                                                 1
@@ -779,12 +761,12 @@
                                           _c(
                                             "uni-view",
                                             {
-                                              staticClass: _vm._$g(49, "sc"),
-                                              attrs: { _i: 49 },
+                                              staticClass: _vm._$g(48, "sc"),
+                                              attrs: { _i: 48 },
                                             },
                                             [
                                               _c("qiun-data-charts", {
-                                                attrs: { _i: 50 },
+                                                attrs: { _i: 49 },
                                               }),
                                             ],
                                             1
@@ -800,39 +782,39 @@
                               ),
                               _c("uni-view", {
                                 staticStyle: { height: "2%" },
-                                attrs: { _i: 51 },
+                                attrs: { _i: 50 },
                               }),
                               _c(
                                 "uni-view",
                                 {
                                   staticStyle: { height: "43%" },
-                                  attrs: { _i: 52 },
+                                  attrs: { _i: 51 },
                                 },
                                 [
                                   _c(
                                     "y-box",
-                                    { attrs: { _i: 53 } },
+                                    { attrs: { _i: 52 } },
                                     [
                                       _c(
                                         "uni-view",
                                         {
-                                          staticClass: _vm._$g(54, "sc"),
-                                          attrs: { _i: 54 },
+                                          staticClass: _vm._$g(53, "sc"),
+                                          attrs: { _i: 53 },
                                         },
                                         [
                                           _c(
                                             "uni-view",
                                             {
-                                              staticClass: _vm._$g(55, "sc"),
+                                              staticClass: _vm._$g(54, "sc"),
                                               staticStyle: { width: "100%" },
-                                              attrs: { _i: 55 },
+                                              attrs: { _i: 54 },
                                             },
                                             [
                                               _c(
                                                 "uni-view",
                                                 {
                                                   staticClass: _vm._$g(
-                                                    56,
+                                                    55,
                                                     "sc"
                                                   ),
                                                   staticStyle: {
@@ -840,9 +822,20 @@
                                                     "justify-content":
                                                       "flex-start",
                                                   },
-                                                  attrs: { _i: 56 },
+                                                  attrs: { _i: 55 },
                                                 },
                                                 [
+                                                  _c(
+                                                    "v-uni-text",
+                                                    {
+                                                      staticClass: _vm._$g(
+                                                        56,
+                                                        "sc"
+                                                      ),
+                                                      attrs: { _i: 56 },
+                                                    },
+                                                    [_vm._v("搴撳瓨绫诲瀷")]
+                                                  ),
                                                   _c(
                                                     "v-uni-text",
                                                     {
@@ -851,17 +844,6 @@
                                                         "sc"
                                                       ),
                                                       attrs: { _i: 57 },
-                                                    },
-                                                    [_vm._v("搴撳瓨绫诲瀷")]
-                                                  ),
-                                                  _c(
-                                                    "v-uni-text",
-                                                    {
-                                                      staticClass: _vm._$g(
-                                                        58,
-                                                        "sc"
-                                                      ),
-                                                      attrs: { _i: 58 },
                                                     },
                                                     [_vm._v("INCOME DATE")]
                                                   ),
@@ -874,14 +856,14 @@
                                                   staticStyle: {
                                                     "margin-left": "auto",
                                                   },
-                                                  attrs: { _i: 59 },
+                                                  attrs: { _i: 58 },
                                                 },
                                                 [
                                                   _c(
                                                     "uni-view",
                                                     {
                                                       staticClass: _vm._$g(
-                                                        60,
+                                                        59,
                                                         "sc"
                                                       ),
                                                       staticStyle: {
@@ -890,9 +872,20 @@
                                                         "justify-content":
                                                           "flex-end",
                                                       },
-                                                      attrs: { _i: 60 },
+                                                      attrs: { _i: 59 },
                                                     },
                                                     [
+                                                      _c(
+                                                        "v-uni-text",
+                                                        {
+                                                          staticClass: _vm._$g(
+                                                            60,
+                                                            "sc"
+                                                          ),
+                                                          attrs: { _i: 60 },
+                                                        },
+                                                        [_vm._v("浠婂ぉ")]
+                                                      ),
                                                       _c(
                                                         "v-uni-text",
                                                         {
@@ -901,17 +894,6 @@
                                                             "sc"
                                                           ),
                                                           attrs: { _i: 61 },
-                                                        },
-                                                        [_vm._v("浠婂ぉ")]
-                                                      ),
-                                                      _c(
-                                                        "v-uni-text",
-                                                        {
-                                                          staticClass: _vm._$g(
-                                                            62,
-                                                            "sc"
-                                                          ),
-                                                          attrs: { _i: 62 },
                                                         },
                                                         [_vm._v("Today")]
                                                       ),
@@ -927,49 +909,49 @@
                                           _c(
                                             "uni-view",
                                             {
-                                              staticClass: _vm._$g(63, "sc"),
+                                              staticClass: _vm._$g(62, "sc"),
                                               staticStyle: { width: "100%" },
-                                              attrs: { _i: 63 },
+                                              attrs: { _i: 62 },
                                             },
                                             [
                                               _c(
                                                 "uni-view",
                                                 {
                                                   staticClass: _vm._$g(
-                                                    64,
+                                                    63,
                                                     "sc"
                                                   ),
-                                                  attrs: { _i: 64 },
+                                                  attrs: { _i: 63 },
                                                 },
                                                 [
                                                   _c("qiun-data-charts", {
-                                                    attrs: { _i: 65 },
+                                                    attrs: { _i: 64 },
                                                   }),
                                                 ],
                                                 1
                                               ),
                                               _c(
                                                 "uni-view",
-                                                { attrs: { _i: 66 } },
+                                                { attrs: { _i: 65 } },
                                                 [
                                                   _c(
                                                     "uni-view",
                                                     {
                                                       staticClass: _vm._$g(
-                                                        67,
+                                                        66,
                                                         "sc"
                                                       ),
-                                                      attrs: { _i: 67 },
+                                                      attrs: { _i: 66 },
                                                     },
                                                     [
                                                       _c("v-uni-image", {
                                                         attrs: {
                                                           src: _vm._$g(
-                                                            68,
+                                                            67,
                                                             "a-src"
                                                           ),
                                                           mode: "aspectFit",
-                                                          _i: 68,
+                                                          _i: 67,
                                                         },
                                                       }),
                                                       _c(
@@ -981,7 +963,7 @@
                                                             "line-height":
                                                               "4vw",
                                                           },
-                                                          attrs: { _i: 69 },
+                                                          attrs: { _i: 68 },
                                                         },
                                                         [_vm._v("鍦ㄥ簱")]
                                                       ),
@@ -995,11 +977,11 @@
                                                               "4vw",
                                                             "font-size": "2vw",
                                                           },
-                                                          attrs: { _i: 70 },
+                                                          attrs: { _i: 69 },
                                                         },
                                                         [
                                                           _vm._v(
-                                                            _vm._$g(70, "t0-0")
+                                                            _vm._$g(69, "t0-0")
                                                           ),
                                                         ]
                                                       ),
@@ -1010,23 +992,23 @@
                                                     "uni-view",
                                                     {
                                                       staticClass: _vm._$g(
-                                                        71,
+                                                        70,
                                                         "sc"
                                                       ),
                                                       staticStyle: {
                                                         "margin-top": "2vh",
                                                       },
-                                                      attrs: { _i: 71 },
+                                                      attrs: { _i: 70 },
                                                     },
                                                     [
                                                       _c("v-uni-image", {
                                                         attrs: {
                                                           src: _vm._$g(
-                                                            72,
+                                                            71,
                                                             "a-src"
                                                           ),
                                                           mode: "aspectFit",
-                                                          _i: 72,
+                                                          _i: 71,
                                                         },
                                                       }),
                                                       _c(
@@ -1038,7 +1020,7 @@
                                                             "line-height":
                                                               "4vw",
                                                           },
-                                                          attrs: { _i: 73 },
+                                                          attrs: { _i: 72 },
                                                         },
                                                         [_vm._v("绌哄簱")]
                                                       ),
@@ -1052,11 +1034,11 @@
                                                               "4vw",
                                                             "font-size": "2vw",
                                                           },
-                                                          attrs: { _i: 74 },
+                                                          attrs: { _i: 73 },
                                                         },
                                                         [
                                                           _vm._v(
-                                                            _vm._$g(74, "t0-0")
+                                                            _vm._$g(73, "t0-0")
                                                           ),
                                                         ]
                                                       ),
@@ -1067,23 +1049,23 @@
                                                     "uni-view",
                                                     {
                                                       staticClass: _vm._$g(
-                                                        75,
+                                                        74,
                                                         "sc"
                                                       ),
                                                       staticStyle: {
                                                         "margin-top": "2vh",
                                                       },
-                                                      attrs: { _i: 75 },
+                                                      attrs: { _i: 74 },
                                                     },
                                                     [
                                                       _c("v-uni-image", {
                                                         attrs: {
                                                           src: _vm._$g(
-                                                            76,
+                                                            75,
                                                             "a-src"
                                                           ),
                                                           mode: "aspectFit",
-                                                          _i: 76,
+                                                          _i: 75,
                                                         },
                                                       }),
                                                       _c(
@@ -1095,7 +1077,7 @@
                                                             "line-height":
                                                               "4vw",
                                                           },
-                                                          attrs: { _i: 77 },
+                                                          attrs: { _i: 76 },
                                                         },
                                                         [_vm._v("閿佸畾")]
                                                       ),
@@ -1109,11 +1091,11 @@
                                                               "4vw",
                                                             "font-size": "2vw",
                                                           },
-                                                          attrs: { _i: 78 },
+                                                          attrs: { _i: 77 },
                                                         },
                                                         [
                                                           _vm._v(
-                                                            _vm._$g(78, "t0-0")
+                                                            _vm._$g(77, "t0-0")
                                                           ),
                                                         ]
                                                       ),
@@ -1137,7 +1119,7 @@
                               ),
                               _c("uni-view", {
                                 staticStyle: { height: "2%" },
-                                attrs: { _i: 79 },
+                                attrs: { _i: 78 },
                               }),
                               _c(
                                 "uni-view",
@@ -1148,22 +1130,22 @@
                                     "justify-content": "space-around",
                                     "align-items": "center",
                                   },
-                                  attrs: { _i: 80 },
+                                  attrs: { _i: 79 },
                                 },
                                 [
                                   _c(
                                     "uni-view",
                                     {
                                       staticStyle: { height: "50%" },
-                                      attrs: { _i: 81 },
+                                      attrs: { _i: 80 },
                                     },
                                     [
                                       _c("v-uni-image", {
                                         staticStyle: { height: "100%" },
                                         attrs: {
-                                          src: _vm._$g(82, "a-src"),
+                                          src: _vm._$g(81, "a-src"),
                                           mode: "aspectFit",
-                                          _i: 82,
+                                          _i: 81,
                                         },
                                       }),
                                     ],
@@ -1192,27 +1174,36 @@
       ),
       _c(
         "uni-transition",
-        { attrs: { _i: 83 } },
+        { attrs: { _i: 82 } },
         [
           _c(
             "uni-view",
-            { staticClass: _vm._$g(84, "sc"), attrs: { _i: 84 } },
+            { staticClass: _vm._$g(83, "sc"), attrs: { _i: 83 } },
             [
               _c(
                 "uni-view",
-                { staticClass: _vm._$g(85, "sc"), attrs: { _i: 85 } },
+                { staticClass: _vm._$g(84, "sc"), attrs: { _i: 84 } },
                 [
-                  _c("v-uni-text", { attrs: { _i: 86 } }, [
-                    _vm._v(_vm._$g(86, "t0-0")),
+                  _c("v-uni-text", { attrs: { _i: 85 } }, [
+                    _vm._v(_vm._$g(85, "t0-0")),
                   ]),
                 ],
                 1
               ),
               _c(
                 "uni-view",
-                { staticClass: _vm._$g(87, "sc"), attrs: { _i: 87 } },
-                [_vm._v(_vm._$g(87, "t0-0"))]
+                { staticClass: _vm._$g(86, "sc"), attrs: { _i: 86 } },
+                [_vm._v(_vm._$g(86, "t0-0"))]
               ),
+              _c("uni-view", {
+                staticClass: _vm._$g(87, "sc"),
+                attrs: { _i: 87 },
+                on: {
+                  click: function ($event) {
+                    return _vm.$handleViewEvent($event)
+                  },
+                },
+              }),
               _c("uni-view", {
                 staticClass: _vm._$g(88, "sc"),
                 attrs: { _i: 88 },
@@ -1222,72 +1213,63 @@
                   },
                 },
               }),
-              _c("uni-view", {
-                staticClass: _vm._$g(89, "sc"),
-                attrs: { _i: 89 },
-                on: {
-                  click: function ($event) {
-                    return _vm.$handleViewEvent($event)
-                  },
-                },
-              }),
               _c(
                 "uni-view",
-                { staticClass: _vm._$g(90, "sc"), attrs: { _i: 90 } },
+                { staticClass: _vm._$g(89, "sc"), attrs: { _i: 89 } },
                 [
                   _c(
                     "uni-view",
-                    { staticClass: _vm._$g(91, "sc"), attrs: { _i: 91 } },
+                    { staticClass: _vm._$g(90, "sc"), attrs: { _i: 90 } },
                     [
                       _c(
                         "y-box",
-                        { attrs: { _i: 92 } },
+                        { attrs: { _i: 91 } },
                         [
                           _c(
                             "uni-view",
                             {
-                              staticClass: _vm._$g(93, "sc"),
-                              attrs: { _i: 93 },
+                              staticClass: _vm._$g(92, "sc"),
+                              attrs: { _i: 92 },
                             },
                             [
                               _c(
                                 "uni-view",
                                 {
-                                  staticClass: _vm._$g(94, "sc"),
-                                  attrs: { _i: 94 },
+                                  staticClass: _vm._$g(93, "sc"),
+                                  attrs: { _i: 93 },
                                 },
                                 [
                                   _c(
                                     "uni-view",
                                     {
                                       staticStyle: { width: "30%" },
-                                      attrs: { _i: 95 },
+                                      attrs: { _i: 94 },
                                     },
-                                    [_vm._v("鎵樼洏鐮�: " + _vm._$g(95, "t0-0"))]
+                                    [_vm._v("鎵樼洏鐮�: " + _vm._$g(94, "t0-0"))]
                                   ),
                                   _c(
                                     "uni-view",
                                     {
                                       staticStyle: { width: "20%" },
-                                      attrs: { _i: 96 },
+                                      attrs: { _i: 95 },
                                     },
-                                    [_vm._v("宸ヤ綔鍙�: " + _vm._$g(96, "t0-0"))]
+                                    [_vm._v("宸ヤ綔鍙�: " + _vm._$g(95, "t0-0"))]
                                   ),
                                   _c(
                                     "uni-view",
                                     {
                                       staticStyle: { width: "30%" },
-                                      attrs: { _i: 97 },
+                                      attrs: { _i: 96 },
                                     },
-                                    [_vm._v("婧愬簱浣�: " + _vm._$g(97, "t0-0"))]
+                                    [_vm._v("婧愬簱浣�: " + _vm._$g(96, "t0-0"))]
                                   ),
                                   _c(
                                     "uni-view",
                                     {
                                       staticStyle: { width: "20%" },
-                                      attrs: { _i: 98 },
+                                      attrs: { _i: 97 },
                                     },
-                                    [_vm._v("鐩爣绔�: " + _vm._$g(98, "t0-0"))]
+                                    [_vm._v("鐩爣绔�: " + _vm._$g(97, "t0-0"))]
                                   ),
                                 ],
                                 1
@@ -1295,14 +1277,14 @@
                               _c(
                                 "uni-view",
                                 {
-                                  staticClass: _vm._$g(99, "sc"),
-                                  attrs: { _i: 99 },
+                                  staticClass: _vm._$g(98, "sc"),
+                                  attrs: { _i: 98 },
                                 },
                                 [
                                   _c(
                                     "v-uni-swiper",
                                     {
-                                      staticClass: _vm._$g(100, "sc"),
+                                      staticClass: _vm._$g(99, "sc"),
                                       attrs: {
                                         vertical: "true",
                                         "display-multiple-items": "1",
@@ -1310,39 +1292,58 @@
                                         autoplay: true,
                                         interval: 3000,
                                         duration: 2000,
-                                        _i: 100,
+                                        _i: 99,
                                       },
                                     },
                                     _vm._l(
-                                      _vm._$g(101, "f"),
+                                      _vm._$g(100, "f"),
                                       function (item, i, $21, $31) {
                                         return _c(
                                           "v-uni-swiper-item",
                                           {
                                             key: item,
                                             staticClass: _vm._$g(
-                                              "101-" + $31,
+                                              "100-" + $31,
                                               "sc"
                                             ),
-                                            attrs: { _i: "101-" + $31 },
+                                            attrs: { _i: "100-" + $31 },
                                           },
                                           [
                                             _c(
                                               "uni-view",
                                               {
                                                 staticStyle: { width: "100%" },
-                                                attrs: { _i: "102-" + $31 },
+                                                attrs: { _i: "101-" + $31 },
                                               },
                                               [
                                                 _vm._v(
                                                   _vm._$g(
-                                                    "102-" + $31,
+                                                    "101-" + $31,
                                                     "t0-0"
                                                   ) +
                                                     " / " +
                                                     _vm._$g(
-                                                      "102-" + $31,
+                                                      "101-" + $31,
                                                       "t0-1"
+                                                    )
+                                                ),
+                                              ]
+                                            ),
+                                            _c(
+                                              "uni-view",
+                                              {
+                                                staticStyle: {
+                                                  width: "50%",
+                                                  "font-size": "3vw",
+                                                },
+                                                attrs: { _i: "102-" + $31 },
+                                              },
+                                              [
+                                                _vm._v(
+                                                  "鐗╂枡缂栫爜: " +
+                                                    _vm._$g(
+                                                      "102-" + $31,
+                                                      "t0-0"
                                                     )
                                                 ),
                                               ]
@@ -1358,7 +1359,7 @@
                                               },
                                               [
                                                 _vm._v(
-                                                  "鐗╂枡缂栫爜: " +
+                                                  "鍚嶇О: " +
                                                     _vm._$g(
                                                       "103-" + $31,
                                                       "t0-0"
@@ -1377,7 +1378,7 @@
                                               },
                                               [
                                                 _vm._v(
-                                                  "鍚嶇О: " +
+                                                  "瑙勬牸: " +
                                                     _vm._$g(
                                                       "104-" + $31,
                                                       "t0-0"
@@ -1396,7 +1397,7 @@
                                               },
                                               [
                                                 _vm._v(
-                                                  "瑙勬牸: " +
+                                                  "鎵规: " +
                                                     _vm._$g(
                                                       "105-" + $31,
                                                       "t0-0"
@@ -1415,7 +1416,7 @@
                                               },
                                               [
                                                 _vm._v(
-                                                  "鎵规: " +
+                                                  "閿�鍞崟鍙�: " +
                                                     _vm._$g(
                                                       "106-" + $31,
                                                       "t0-0"
@@ -1434,28 +1435,9 @@
                                               },
                                               [
                                                 _vm._v(
-                                                  "閿�鍞崟鍙�: " +
-                                                    _vm._$g(
-                                                      "107-" + $31,
-                                                      "t0-0"
-                                                    )
-                                                ),
-                                              ]
-                                            ),
-                                            _c(
-                                              "uni-view",
-                                              {
-                                                staticStyle: {
-                                                  width: "50%",
-                                                  "font-size": "3vw",
-                                                },
-                                                attrs: { _i: "108-" + $31 },
-                                              },
-                                              [
-                                                _vm._v(
                                                   "瀹㈡埛鍚嶇О: " +
                                                     _vm._$g(
-                                                      "108-" + $31,
+                                                      "107-" + $31,
                                                       "t0-0"
                                                     )
                                                 ),
@@ -1468,13 +1450,13 @@
                                                   width: "33%",
                                                   "font-size": "3vw",
                                                 },
-                                                attrs: { _i: "109-" + $31 },
+                                                attrs: { _i: "108-" + $31 },
                                               },
                                               [
                                                 _vm._v(
                                                   "鏁伴噺: " +
                                                     _vm._$g(
-                                                      "109-" + $31,
+                                                      "108-" + $31,
                                                       "t0-0"
                                                     )
                                                 ),
@@ -1510,61 +1492,61 @@
       ),
       _c(
         "uni-transition",
-        { attrs: { _i: 110 } },
+        { attrs: { _i: 109 } },
         [
           _c(
             "uni-view",
-            { staticClass: _vm._$g(111, "sc"), attrs: { _i: 111 } },
+            { staticClass: _vm._$g(110, "sc"), attrs: { _i: 110 } },
             [
               _c(
                 "uni-view",
-                { staticClass: _vm._$g(112, "sc"), attrs: { _i: 112 } },
+                { staticClass: _vm._$g(111, "sc"), attrs: { _i: 111 } },
                 [
-                  _c("v-uni-text", { attrs: { _i: 113 } }, [
-                    _vm._v(_vm._$g(113, "t0-0")),
+                  _c("v-uni-text", { attrs: { _i: 112 } }, [
+                    _vm._v(_vm._$g(112, "t0-0")),
                   ]),
                 ],
                 1
               ),
               _c(
                 "uni-view",
-                { staticClass: _vm._$g(114, "sc"), attrs: { _i: 114 } },
-                [_vm._v(_vm._$g(114, "t0-0"))]
+                { staticClass: _vm._$g(113, "sc"), attrs: { _i: 113 } },
+                [_vm._v(_vm._$g(113, "t0-0"))]
               ),
+              _c("uni-view", {
+                staticClass: _vm._$g(114, "sc"),
+                attrs: { _i: 114 },
+              }),
               _c("uni-view", {
                 staticClass: _vm._$g(115, "sc"),
                 attrs: { _i: 115 },
               }),
-              _c("uni-view", {
-                staticClass: _vm._$g(116, "sc"),
-                attrs: { _i: 116 },
-              }),
               _c(
                 "uni-view",
-                { staticClass: _vm._$g(117, "sc"), attrs: { _i: 117 } },
+                { staticClass: _vm._$g(116, "sc"), attrs: { _i: 116 } },
                 [
                   _c(
                     "uni-view",
-                    { staticClass: _vm._$g(118, "sc"), attrs: { _i: 118 } },
+                    { staticClass: _vm._$g(117, "sc"), attrs: { _i: 117 } },
                     [
                       _c(
                         "y-box",
-                        { attrs: { _i: 119 } },
+                        { attrs: { _i: 118 } },
                         [
                           _c(
                             "uni-view",
                             {
-                              staticClass: _vm._$g(120, "sc"),
-                              attrs: { _i: 120 },
+                              staticClass: _vm._$g(119, "sc"),
+                              attrs: { _i: 119 },
                             },
                             [
                               _c(
                                 "uni-view",
                                 {
-                                  staticClass: _vm._$g(121, "sc"),
-                                  attrs: { _i: 121 },
+                                  staticClass: _vm._$g(120, "sc"),
+                                  attrs: { _i: 120 },
                                 },
-                                [_vm._v(_vm._$g(121, "t0-0"))]
+                                [_vm._v(_vm._$g(120, "t0-0"))]
                               ),
                             ],
                             1
@@ -1591,49 +1573,49 @@
             {
               name: "show",
               rawName: "v-show",
-              value: _vm._$g(122, "v-show"),
-              expression: "_$g(122,'v-show')",
+              value: _vm._$g(121, "v-show"),
+              expression: "_$g(121,'v-show')",
             },
           ],
-          staticClass: _vm._$g(122, "sc"),
-          attrs: { _i: 122 },
+          staticClass: _vm._$g(121, "sc"),
+          attrs: { _i: 121 },
         },
         [
           _c(
             "uni-view",
-            { staticClass: _vm._$g(123, "sc"), attrs: { _i: 123 } },
+            { staticClass: _vm._$g(122, "sc"), attrs: { _i: 122 } },
             [
               _c(
                 "uni-view",
-                { staticClass: _vm._$g(124, "sc"), attrs: { _i: 124 } },
+                { staticClass: _vm._$g(123, "sc"), attrs: { _i: 123 } },
                 [_vm._v("淇敼 / 閰嶇疆")]
               ),
               _c(
                 "v-uni-scroll-view",
                 {
-                  staticClass: _vm._$g(125, "sc"),
-                  attrs: { "scroll-y": true, _i: 125 },
+                  staticClass: _vm._$g(124, "sc"),
+                  attrs: { "scroll-y": true, _i: 124 },
                 },
                 [
                   _c(
                     "uni-view",
-                    { staticClass: _vm._$g(126, "sc"), attrs: { _i: 126 } },
+                    { staticClass: _vm._$g(125, "sc"), attrs: { _i: 125 } },
                     [
                       _c(
                         "uni-view",
-                        { staticClass: _vm._$g(127, "sc"), attrs: { _i: 127 } },
+                        { staticClass: _vm._$g(126, "sc"), attrs: { _i: 126 } },
                         [_vm._v("ip锛�")]
                       ),
                       _c(
                         "uni-view",
-                        { staticClass: _vm._$g(128, "sc"), attrs: { _i: 128 } },
+                        { staticClass: _vm._$g(127, "sc"), attrs: { _i: 127 } },
                         [
                           _c("v-uni-input", {
-                            attrs: { type: "text", _i: 129 },
+                            attrs: { type: "text", _i: 128 },
                             model: {
-                              value: _vm._$g(129, "v-model"),
+                              value: _vm._$g(128, "v-model"),
                               callback: function ($$v) {
-                                _vm.$handleVModelEvent(129, $$v)
+                                _vm.$handleVModelEvent(128, $$v)
                               },
                               expression: "baseIP",
                             },
@@ -1646,23 +1628,23 @@
                   ),
                   _c(
                     "uni-view",
-                    { staticClass: _vm._$g(130, "sc"), attrs: { _i: 130 } },
+                    { staticClass: _vm._$g(129, "sc"), attrs: { _i: 129 } },
                     [
                       _c(
                         "uni-view",
-                        { staticClass: _vm._$g(131, "sc"), attrs: { _i: 131 } },
+                        { staticClass: _vm._$g(130, "sc"), attrs: { _i: 130 } },
                         [_vm._v("Wcsport锛�")]
                       ),
                       _c(
                         "uni-view",
-                        { staticClass: _vm._$g(132, "sc"), attrs: { _i: 132 } },
+                        { staticClass: _vm._$g(131, "sc"), attrs: { _i: 131 } },
                         [
                           _c("v-uni-input", {
-                            attrs: { type: "text", _i: 133 },
+                            attrs: { type: "text", _i: 132 },
                             model: {
-                              value: _vm._$g(133, "v-model"),
+                              value: _vm._$g(132, "v-model"),
                               callback: function ($$v) {
-                                _vm.$handleVModelEvent(133, $$v)
+                                _vm.$handleVModelEvent(132, $$v)
                               },
                               expression: "basePort",
                             },
@@ -1675,23 +1657,23 @@
                   ),
                   _c(
                     "uni-view",
-                    { staticClass: _vm._$g(134, "sc"), attrs: { _i: 134 } },
+                    { staticClass: _vm._$g(133, "sc"), attrs: { _i: 133 } },
                     [
                       _c(
                         "uni-view",
-                        { staticClass: _vm._$g(135, "sc"), attrs: { _i: 135 } },
+                        { staticClass: _vm._$g(134, "sc"), attrs: { _i: 134 } },
                         [_vm._v("WcsUrl锛�")]
                       ),
                       _c(
                         "uni-view",
-                        { staticClass: _vm._$g(136, "sc"), attrs: { _i: 136 } },
+                        { staticClass: _vm._$g(135, "sc"), attrs: { _i: 135 } },
                         [
                           _c("v-uni-input", {
-                            attrs: { type: "text", _i: 137 },
+                            attrs: { type: "text", _i: 136 },
                             model: {
-                              value: _vm._$g(137, "v-model"),
+                              value: _vm._$g(136, "v-model"),
                               callback: function ($$v) {
-                                _vm.$handleVModelEvent(137, $$v)
+                                _vm.$handleVModelEvent(136, $$v)
                               },
                               expression: "baseUrl",
                             },
@@ -1704,23 +1686,23 @@
                   ),
                   _c(
                     "uni-view",
-                    { staticClass: _vm._$g(138, "sc"), attrs: { _i: 138 } },
+                    { staticClass: _vm._$g(137, "sc"), attrs: { _i: 137 } },
                     [
                       _c(
                         "uni-view",
-                        { staticClass: _vm._$g(139, "sc"), attrs: { _i: 139 } },
+                        { staticClass: _vm._$g(138, "sc"), attrs: { _i: 138 } },
                         [_vm._v("Wmsport锛�")]
                       ),
                       _c(
                         "uni-view",
-                        { staticClass: _vm._$g(140, "sc"), attrs: { _i: 140 } },
+                        { staticClass: _vm._$g(139, "sc"), attrs: { _i: 139 } },
                         [
                           _c("v-uni-input", {
-                            attrs: { type: "text", _i: 141 },
+                            attrs: { type: "text", _i: 140 },
                             model: {
-                              value: _vm._$g(141, "v-model"),
+                              value: _vm._$g(140, "v-model"),
                               callback: function ($$v) {
-                                _vm.$handleVModelEvent(141, $$v)
+                                _vm.$handleVModelEvent(140, $$v)
                               },
                               expression: "wmsPort",
                             },
@@ -1733,23 +1715,23 @@
                   ),
                   _c(
                     "uni-view",
-                    { staticClass: _vm._$g(142, "sc"), attrs: { _i: 142 } },
+                    { staticClass: _vm._$g(141, "sc"), attrs: { _i: 141 } },
                     [
                       _c(
                         "uni-view",
-                        { staticClass: _vm._$g(143, "sc"), attrs: { _i: 143 } },
+                        { staticClass: _vm._$g(142, "sc"), attrs: { _i: 142 } },
                         [_vm._v("WmsUrl锛�")]
                       ),
                       _c(
                         "uni-view",
-                        { staticClass: _vm._$g(144, "sc"), attrs: { _i: 144 } },
+                        { staticClass: _vm._$g(143, "sc"), attrs: { _i: 143 } },
                         [
                           _c("v-uni-input", {
-                            attrs: { type: "text", _i: 145 },
+                            attrs: { type: "text", _i: 144 },
                             model: {
-                              value: _vm._$g(145, "v-model"),
+                              value: _vm._$g(144, "v-model"),
                               callback: function ($$v) {
-                                _vm.$handleVModelEvent(145, $$v)
+                                _vm.$handleVModelEvent(144, $$v)
                               },
                               expression: "wmsUrl",
                             },
@@ -1762,23 +1744,23 @@
                   ),
                   _c(
                     "uni-view",
-                    { staticClass: _vm._$g(146, "sc"), attrs: { _i: 146 } },
+                    { staticClass: _vm._$g(145, "sc"), attrs: { _i: 145 } },
                     [
                       _c(
                         "uni-view",
-                        { staticClass: _vm._$g(147, "sc"), attrs: { _i: 147 } },
+                        { staticClass: _vm._$g(146, "sc"), attrs: { _i: 146 } },
                         [_vm._v("ledId锛�")]
                       ),
                       _c(
                         "uni-view",
-                        { staticClass: _vm._$g(148, "sc"), attrs: { _i: 148 } },
+                        { staticClass: _vm._$g(147, "sc"), attrs: { _i: 147 } },
                         [
                           _c("v-uni-input", {
-                            attrs: { type: "text", _i: 149 },
+                            attrs: { type: "text", _i: 148 },
                             model: {
-                              value: _vm._$g(149, "v-model"),
+                              value: _vm._$g(148, "v-model"),
                               callback: function ($$v) {
-                                _vm.$handleVModelEvent(149, $$v)
+                                _vm.$handleVModelEvent(148, $$v)
                               },
                               expression: "baseLedId",
                             },
@@ -1794,13 +1776,13 @@
               ),
               _c(
                 "uni-view",
-                { staticClass: _vm._$g(150, "sc"), attrs: { _i: 150 } },
+                { staticClass: _vm._$g(149, "sc"), attrs: { _i: 149 } },
                 [
                   _c(
                     "uni-view",
                     {
-                      staticClass: _vm._$g(151, "sc"),
-                      attrs: { _i: 151 },
+                      staticClass: _vm._$g(150, "sc"),
+                      attrs: { _i: 150 },
                       on: {
                         click: function ($event) {
                           return _vm.$handleViewEvent($event)
@@ -1812,8 +1794,8 @@
                   _c(
                     "uni-view",
                     {
-                      staticClass: _vm._$g(152, "sc"),
-                      attrs: { _i: 152 },
+                      staticClass: _vm._$g(151, "sc"),
+                      attrs: { _i: 151 },
                       on: {
                         click: function ($event) {
                           return _vm.$handleViewEvent($event)
@@ -1833,14 +1815,14 @@
       ),
       _c(
         "uni-view",
-        { attrs: { _i: 153 } },
+        { attrs: { _i: 152 } },
         [
           _c(
             "uni-popup",
-            { ref: "upVersion", attrs: { _i: 154 } },
+            { ref: "upVersion", attrs: { _i: 153 } },
             [
               _c("uni-popup-dialog", {
-                attrs: { _i: 155 },
+                attrs: { _i: 154 },
                 on: {
                   confirm: function ($event) {
                     return _vm.$handleViewEvent($event)
@@ -1863,8 +1845,8 @@
             {
               name: "show",
               rawName: "v-show",
-              value: _vm._$g(156, "v-show"),
-              expression: "_$g(156,'v-show')",
+              value: _vm._$g(155, "v-show"),
+              expression: "_$g(155,'v-show')",
             },
           ],
           staticStyle: {
@@ -1873,9 +1855,9 @@
             bottom: "10px",
             left: "10px",
           },
-          attrs: { _i: 156 },
+          attrs: { _i: 155 },
         },
-        [_vm._v("杩炴帴瓒呮椂锛屾鍦ㄩ噸鏂板缓绔嬮摼鎺�:: " + _vm._$g(156, "t0-0"))]
+        [_vm._v("杩炴帴瓒呮椂锛屾鍦ㄩ噸鏂板缓绔嬮摼鎺�:: " + _vm._$g(155, "t0-0"))]
       ),
     ],
     1
@@ -14231,7 +14213,7 @@
 var ___CSS_LOADER_URL_REPLACEMENT_0___ = ___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_0___);
 var ___CSS_LOADER_URL_REPLACEMENT_1___ = ___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_1___);
 // Module
-exports.push([module.i, "\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\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r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n/* @import url(\"../../static/css/common.css\"); */\n.text-content {\r\n\twidth: 100%;\r\n\theight: 100%;\r\n\tfont-size: 2vw;\r\n\t/* background-color: aliceblue;\t */\n}\n.swiper-head {\r\n\twidth: 100%;\r\n\theight: 10%;\r\n\tbackground-color: rgba(54, 94, 226, 0.5);\r\n\tdisplay: flex;\r\n\t/* grid-template-columns: 2fr 3fr 2fr 2fr 1fr; */\r\n\talign-items: center;\n}\n.swiper-body {\r\n\twidth: 100%;\r\n\theight: 90%;\r\n\t/* background-color: #aa0000; */\n}\n.swiper-body-main {\r\n\twidth: 100%;\r\n\theight: 100%;\r\n\t/* background-color: #00a8ff; */\n}\n.swiper-item {\r\n\tdisplay: flex;\r\n\tflex-wrap: wrap;\r\n\talign-items: center;\r\n\ttext-align: start;\r\n\tborder-bottom: 2px solid #000;\r\n\tbackground-color: rgba(0, 0, 0, .2);\r\n\tmargin-left: 10rpx;\n}\n.swiper-item:nth-child(2n-1) {\r\n\tbackground-color: rgba(255, 255, 255, .1);\n}\r\n/* 鍒� */\n.flex-col {\r\n\tdisplay: flex;\r\n\tflex-direction: column;\n}\r\n/* 琛� */\n.flex-row {\r\n\tdisplay: flex;\r\n\tflex-direction: row;\n}\n.container{\r\n\twidth: 100vw;\r\n\tmin-height: 100vh;\r\n\tbackground-color: #00163E;\r\n\tcolor: #fff;\r\n\ttext-align: center;\n}\r\n/* 涓昏鍥� */\n.home-view {\r\n\twidth: 100vw;\r\n\tmin-height: 100vh;\r\n\tbackground-image: url(" + ___CSS_LOADER_URL_REPLACEMENT_0___ + ");\r\n\tbackground-size: 100vw 100vh;\n}\n.home-right {\r\n\twidth: 50vw;\r\n\theight: 89vh;\r\n\t/* background-color: cadetblue; */\n}\n.home-right-box {\r\n\twidth: 98%;\r\n\theight: 98%;\n}\n.head {\r\n\twidth: 100vw;\r\n\theight: 11vh;\r\n\tfont-size:4vw;\r\n\tfont-weight: 700;\r\n\tdisplay: flex;\r\n\talign-items: center;\r\n\tjustify-content: center;\r\n\t-webkit-transform: scale(0.7);\r\n\t        transform: scale(0.7);\n}\n.time-tools {\r\n\tposition: absolute;\r\n\tright: 2%;\r\n\ttop: 2%;\r\n\tfont-size:1vw;\r\n\t-webkit-transform: scale(0.8);\r\n\t        transform: scale(0.8);\n}\n.button-left {\r\n\tposition: absolute;\r\n\tbackground-image: url(" + ___CSS_LOADER_URL_REPLACEMENT_1___ + ");\r\n\tbackground-size: 100% 100%;\r\n\ttop: 1.8%;\r\n\tleft: 21.3%;\r\n\twidth: 13.5%;\r\n\theight: 8.5%;\r\n\t-webkit-transform: scaleX(-1);\r\n\t        transform: scaleX(-1);\n}\n.button-right {\r\n\tposition: absolute;\r\n\tbackground-image: url(" + ___CSS_LOADER_URL_REPLACEMENT_1___ + ");\r\n\tbackground-size: 100% 100%;\r\n\ttop: 1.8%;\r\n\tleft: 65%;\r\n\twidth: 13.5%;\r\n\theight: 8.5%;\n}\n.img-box {\r\n\theight: 23vw;\r\n\twidth: 100%;\r\n\t/* background-color: #666666; */\r\n\tdisplay: flex;\r\n\tflex-direction: row;\r\n\tjustify-content: flex-start;\r\n\tflex-wrap: wrap;\r\n\tfont-size: 1vw;\n}\n.item-img {\r\n\twidth: 50%;\r\n\tmargin-top: 5%;\r\n\tdisplay: flex;\r\n\tflex-direction: row;\r\n\t/* background-color: #00ffff; */\r\n\tjustify-content: flex-start;\r\n\talign-items: flex-start;\n}\n.distance {\n}\n.item-img uni-image {\r\n\theight: 5vw;\r\n\twidth: 5vw;\n}\n.progressBar {\r\n\tmargin-top: 9%;\r\n\t/* width: 100%; */\r\n\theight: 20%;\r\n\tbackground-color: #233751;\r\n\tborder-radius: 5vw;\n}\n.progress {\r\n\t/* width: 90%; */\r\n\theight: 100%;\r\n\tbackground-color: #FF5722;\r\n\tborder-radius: 5vw;\n}\n.charts-box {\r\n  width: 80%;\r\n  height: 24vh;\r\n  margin-left: 10%;\n}\n.charts-box-ring {\r\n\twidth: 60%;\r\n\theight: 24vh;\r\n\t/* background-color: #00ffff; */\n}\n.sub-info {\r\n\tfont-size: 1.5vw;\n}\n.sub-info uni-image {\r\n\twidth: 3.5vw;\r\n\theight: 3.5vw;\n}\r\n/* 鍏辩敤 */\n.main {\r\n\twidth: 100vw;\r\n\theight: 88vh;\r\n\tmargin-top: 1vh;\r\n\tdisplay: flex;\n}\n.mian-item {\r\n\twidth: 50%;\r\n\theight: 100%;\r\n\tdisplay: flex;\r\n\tflex-direction: column;\r\n\talign-items: center;\r\n\tjustify-content: center;\n}\n.mian-item-box {\r\n\twidth: 98%;\r\n\theight: 98%;\n}\n.box-item {\r\n\twidth: 100%;\r\n\tmargin-top: 4%;\r\n\tdisplay: flex;\r\n\tflex-direction: column;\r\n\talign-items: flex-start;\r\n\tjustify-content: flex-start;\n}\n.item-title {\r\n\tfont-size:1.5vw;\r\n\tfont-weight: 700;\n}\n.version{\r\n\tposition: absolute;\r\n\tleft: 1%;\r\n\ttop: 1%;\r\n\tfont-size:1vw;\r\n\t-webkit-transform: scale(0.8);\r\n\t        transform: scale(0.8);\n}\n.item-subTitle {\r\n\tfont-size:0.5vw;\r\n\ttext-indent: 0em;\n}\n.item-text {\r\n\tfont-size: 1vw;\r\n\ttext-indent: 2em;\r\n\tletter-spacing: 1px;\r\n\tline-height: 3vh;\n}\r\n/* 鍏ㄦ澘/鎷f枡淇℃伅 */\n.info-view {\r\n\twidth: 100vw;\r\n\tmin-height: 100vh;\r\n\tbackground-image: url(" + ___CSS_LOADER_URL_REPLACEMENT_0___ + ");\r\n\tbackground-size: 100vw 100vh;\n}\n.info-main {\r\n\twidth: 100vw;\r\n\theight: 88vh;\r\n\tdisplay: flex;\r\n\tjustify-content: center;\r\n\talign-items: center;\n}\n.info-box {\r\n\twidth: 98%;\r\n\theight: 98%;\n}\r\n/* 寮傚父淇℃伅 */\n.error-info-view {\r\n\twidth: 100vw;\r\n\tmin-height: 100vh;\r\n\tbackground-image: url(" + ___CSS_LOADER_URL_REPLACEMENT_0___ + ");\r\n\tbackground-size: 100vw 100vh;\n}\r\n/* 寮瑰嚭:閰嶇疆鍖哄煙 */\n.eject-mask {\r\n\twidth: 100%;\r\n\theight: 100%;\r\n\tbackground-color: rgba(0, 0, 0, 0.5);\r\n\tposition: fixed;\r\n\ttop: 0;\r\n\tleft: 0;\r\n\tz-index: 999;\r\n\tdisplay: flex;\r\n\talign-items: center;\r\n\tjustify-content: center;\n}\n.eject{\r\n\tposition: relative;\r\n\twidth: 45vw;\r\n\theight: 45vh;\r\n\tbackground-color: #fff;\r\n\tborder-radius: 2rem;\n}\n.eject-title {\r\n\twidth: 100%;\r\n\theight: 5vh;\r\n\tline-height: 6vh;\r\n\tfont-size: 3vh;\r\n\tfont-weight: 700;\r\n\tcolor: \t#606266;\r\n\ttext-align: center;\n}\n.eject-input {\r\n\tmargin-top: 2vh;\r\n\theight: 25vh;\r\n\t/* background-color: #00163E; */\n::-webkit-scrollbar{display:none}\n}\n.item {\r\n\tdisplay: flex;\r\n\talign-items: center;\r\n\tmargin: 1vh 0 0 0;\r\n\tfont-size: 1.5vw;\r\n\tcolor: #363636;\n}\n.desc {\r\n\tdisplay: inline-block;\r\n\twidth: 40%;\r\n\ttext-align: right;\r\n\tcolor: #606266;\n}\n.input {\r\n\tdisplay: flex;\r\n\talign-items: center;\r\n\tpadding-left: 5px;\r\n\tpadding-right: 5px;\r\n\twidth: 100%;\r\n\theight: 3vh;\r\n\tborder: 0.1vh solid #cfd4dc;\r\n\tmargin-right: 20%;\r\n\ttext-align: start;\n}\n.eject-input uni-input {\r\n\twidth: 100%;\r\n\theight: 3vh;\r\n\tfont-size: 1vw;\n}\n.eject-button {\r\n\tdisplay: flex;\r\n\talign-items: center;\r\n\tposition: absolute;\r\n\tbottom: 0;\r\n\theight: 6vh;\r\n\tline-height: 6vh;\r\n\twidth: 100%;\r\n\tborder-top: 1px solid #ccc;\n}\n.button-item {\r\n\twidth: 50%;\r\n\theight: 100%;\r\n\tfont-size: 1.5vw;\r\n\tfont-weight: bold;\r\n\ttext-align: center;\r\n\tcolor: #909399;\n}\n.button-item:last-child {\r\n\tcolor: #67C23A;\r\n\t\r\n\tborder-left: 1px solid #ccc;\n}\n.info-box-text {\r\n\twidth: 100%;height: 100%;\r\n\tdisplay: flex;flex-direction: column;align-items: center;justify-content: center;\n}\n.info-box-text-item {\r\n\theight: 20%;font-size: 8vh;\r\n\tjustify-content: center;\n}\r\n", ""]);
+exports.push([module.i, "\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n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\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n/* @import url(\"../../static/css/common.css\"); */\n.text-content {\r\n\twidth: 100%;\r\n\theight: 100%;\r\n\tfont-size: 2vw;\r\n\t/* background-color: aliceblue;\t */\n}\n.swiper-head {\r\n\twidth: 100%;\r\n\theight: 10%;\r\n\tbackground-color: rgba(54, 94, 226, 0.5);\r\n\tdisplay: flex;\r\n\t/* grid-template-columns: 2fr 3fr 2fr 2fr 1fr; */\r\n\talign-items: center;\n}\n.swiper-body {\r\n\twidth: 100%;\r\n\theight: 90%;\r\n\t/* background-color: #aa0000; */\n}\n.swiper-body-main {\r\n\twidth: 100%;\r\n\theight: 100%;\r\n\t/* background-color: #00a8ff; */\n}\n.swiper-item {\r\n\tdisplay: flex;\r\n\tflex-wrap: wrap;\r\n\talign-items: center;\r\n\ttext-align: start;\r\n\tborder-bottom: 2px solid #000;\r\n\tbackground-color: rgba(0, 0, 0, .2);\r\n\tmargin-left: 10rpx;\n}\r\n/* .swiper-item:nth-child(2n-1) {\r\n\tbackground-color: rgba(255, 255, 255, .1);\r\n} */\r\n/* 鍒� */\n.flex-col {\r\n\tdisplay: flex;\r\n\tflex-direction: column;\n}\r\n/* 琛� */\n.flex-row {\r\n\tdisplay: flex;\r\n\tflex-direction: row;\n}\n.container{\r\n\twidth: 100vw;\r\n\tmin-height: 100vh;\r\n\tbackground-color: #00163E;\r\n\tcolor: #fff;\r\n\ttext-align: center;\n}\r\n/* 涓昏鍥� */\n.home-view {\r\n\twidth: 100vw;\r\n\tmin-height: 100vh;\r\n\tbackground-image: url(" + ___CSS_LOADER_URL_REPLACEMENT_0___ + ");\r\n\tbackground-size: 100vw 100vh;\n}\n.home-right {\r\n\twidth: 50vw;\r\n\theight: 89vh;\r\n\t/* background-color: cadetblue; */\n}\n.home-right-box {\r\n\twidth: 98%;\r\n\theight: 98%;\n}\n.head {\r\n\twidth: 100vw;\r\n\theight: 11vh;\r\n\tfont-size:4vw;\r\n\tfont-weight: 700;\r\n\tdisplay: flex;\r\n\talign-items: center;\r\n\tjustify-content: center;\r\n\t-webkit-transform: scale(0.7);\r\n\t        transform: scale(0.7);\n}\n.time-tools {\r\n\tposition: absolute;\r\n\tright: 2%;\r\n\ttop: 2%;\r\n\tfont-size:1vw;\r\n\t-webkit-transform: scale(0.8);\r\n\t        transform: scale(0.8);\n}\n.button-left {\r\n\tposition: absolute;\r\n\tbackground-image: url(" + ___CSS_LOADER_URL_REPLACEMENT_1___ + ");\r\n\tbackground-size: 100% 100%;\r\n\ttop: 1.8%;\r\n\tleft: 21.3%;\r\n\twidth: 13.5%;\r\n\theight: 8.5%;\r\n\t-webkit-transform: scaleX(-1);\r\n\t        transform: scaleX(-1);\n}\n.button-right {\r\n\tposition: absolute;\r\n\tbackground-image: url(" + ___CSS_LOADER_URL_REPLACEMENT_1___ + ");\r\n\tbackground-size: 100% 100%;\r\n\ttop: 1.8%;\r\n\tleft: 65%;\r\n\twidth: 13.5%;\r\n\theight: 8.5%;\n}\n.img-box {\r\n\theight: 23vw;\r\n\twidth: 100%;\r\n\t/* background-color: #666666; */\r\n\tdisplay: flex;\r\n\tflex-direction: row;\r\n\tjustify-content: flex-start;\r\n\tflex-wrap: wrap;\r\n\tfont-size: 1vw;\n}\n.item-img {\r\n\twidth: 50%;\r\n\tmargin-top: 5%;\r\n\tdisplay: flex;\r\n\tflex-direction: row;\r\n\t/* background-color: #00ffff; */\r\n\tjustify-content: flex-start;\r\n\talign-items: flex-start;\n}\n.distance {\n}\n.item-img uni-image {\r\n\theight: 5vw;\r\n\twidth: 5vw;\n}\n.progressBar {\r\n\tmargin-top: 9%;\r\n\t/* width: 100%; */\r\n\theight: 20%;\r\n\tbackground-color: #233751;\r\n\tborder-radius: 5vw;\n}\n.progress {\r\n\t/* width: 90%; */\r\n\theight: 100%;\r\n\tbackground-color: #FF5722;\r\n\tborder-radius: 5vw;\n}\n.charts-box {\r\n  width: 80%;\r\n  height: 24vh;\r\n  margin-left: 10%;\n}\n.charts-box-ring {\r\n\twidth: 60%;\r\n\theight: 24vh;\r\n\t/* background-color: #00ffff; */\n}\n.sub-info {\r\n\tfont-size: 1.5vw;\n}\n.sub-info uni-image {\r\n\twidth: 3.5vw;\r\n\theight: 3.5vw;\n}\r\n/* 鍏辩敤 */\n.main {\r\n\twidth: 100vw;\r\n\theight: 88vh;\r\n\tmargin-top: 1vh;\r\n\tdisplay: flex;\n}\n.mian-item {\r\n\twidth: 50%;\r\n\theight: 100%;\r\n\tdisplay: flex;\r\n\tflex-direction: column;\r\n\talign-items: center;\r\n\tjustify-content: center;\n}\n.mian-item-box {\r\n\twidth: 98%;\r\n\theight: 98%;\n}\n.box-item {\r\n\twidth: 100%;\r\n\tmargin-top: 4%;\r\n\tdisplay: flex;\r\n\tflex-direction: column;\r\n\talign-items: flex-start;\r\n\tjustify-content: flex-start;\n}\n.item-title {\r\n\tfont-size:1.5vw;\r\n\tfont-weight: 700;\n}\n.version{\r\n\tposition: absolute;\r\n\tleft: 1%;\r\n\ttop: 1%;\r\n\tfont-size:1vw;\r\n\t-webkit-transform: scale(0.8);\r\n\t        transform: scale(0.8);\n}\n.item-subTitle {\r\n\tfont-size:0.5vw;\r\n\ttext-indent: 0em;\n}\n.item-text {\r\n\tfont-size: 1vw;\r\n\ttext-indent: 2em;\r\n\tletter-spacing: 1px;\r\n\tline-height: 3vh;\n}\r\n/* 鍏ㄦ澘/鎷f枡淇℃伅 */\n.info-view {\r\n\twidth: 100vw;\r\n\tmin-height: 100vh;\r\n\tbackground-image: url(" + ___CSS_LOADER_URL_REPLACEMENT_0___ + ");\r\n\tbackground-size: 100vw 100vh;\n}\n.info-main {\r\n\twidth: 100vw;\r\n\theight: 88vh;\r\n\tdisplay: flex;\r\n\tjustify-content: center;\r\n\talign-items: center;\n}\n.info-box {\r\n\twidth: 98%;\r\n\theight: 98%;\n}\r\n/* 寮傚父淇℃伅 */\n.error-info-view {\r\n\twidth: 100vw;\r\n\tmin-height: 100vh;\r\n\tbackground-image: url(" + ___CSS_LOADER_URL_REPLACEMENT_0___ + ");\r\n\tbackground-size: 100vw 100vh;\n}\r\n/* 寮瑰嚭:閰嶇疆鍖哄煙 */\n.eject-mask {\r\n\twidth: 100%;\r\n\theight: 100%;\r\n\tbackground-color: rgba(0, 0, 0, 0.5);\r\n\tposition: fixed;\r\n\ttop: 0;\r\n\tleft: 0;\r\n\tz-index: 999;\r\n\tdisplay: flex;\r\n\talign-items: center;\r\n\tjustify-content: center;\n}\n.eject{\r\n\tposition: relative;\r\n\twidth: 45vw;\r\n\theight: 45vh;\r\n\tbackground-color: #fff;\r\n\tborder-radius: 2rem;\n}\n.eject-title {\r\n\twidth: 100%;\r\n\theight: 5vh;\r\n\tline-height: 6vh;\r\n\tfont-size: 3vh;\r\n\tfont-weight: 700;\r\n\tcolor: \t#606266;\r\n\ttext-align: center;\n}\n.eject-input {\r\n\tmargin-top: 2vh;\r\n\theight: 25vh;\r\n\t/* background-color: #00163E; */\n::-webkit-scrollbar{display:none}\n}\n.item {\r\n\tdisplay: flex;\r\n\talign-items: center;\r\n\tmargin: 1vh 0 0 0;\r\n\tfont-size: 1.5vw;\r\n\tcolor: #363636;\n}\n.desc {\r\n\tdisplay: inline-block;\r\n\twidth: 40%;\r\n\ttext-align: right;\r\n\tcolor: #606266;\n}\n.input {\r\n\tdisplay: flex;\r\n\talign-items: center;\r\n\tpadding-left: 5px;\r\n\tpadding-right: 5px;\r\n\twidth: 100%;\r\n\theight: 3vh;\r\n\tborder: 0.1vh solid #cfd4dc;\r\n\tmargin-right: 20%;\r\n\ttext-align: start;\n}\n.eject-input uni-input {\r\n\twidth: 100%;\r\n\theight: 3vh;\r\n\tfont-size: 1vw;\n}\n.eject-button {\r\n\tdisplay: flex;\r\n\talign-items: center;\r\n\tposition: absolute;\r\n\tbottom: 0;\r\n\theight: 6vh;\r\n\tline-height: 6vh;\r\n\twidth: 100%;\r\n\tborder-top: 1px solid #ccc;\n}\n.button-item {\r\n\twidth: 50%;\r\n\theight: 100%;\r\n\tfont-size: 1.5vw;\r\n\tfont-weight: bold;\r\n\ttext-align: center;\r\n\tcolor: #909399;\n}\n.button-item:last-child {\r\n\tcolor: #67C23A;\r\n\t\r\n\tborder-left: 1px solid #ccc;\n}\n.info-box-text {\r\n\twidth: 100%;height: 100%;\r\n\tdisplay: flex;flex-direction: column;align-items: center;justify-content: center;\n}\n.info-box-text-item {\r\n\theight: 20%;font-size: 8vh;\r\n\tjustify-content: center;\n}\r\n", ""]);
 // Exports
 module.exports = exports;
 

--
Gitblit v1.9.1