(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["common/vendor"],{"011a":function(e,t){function n(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(e.exports=n=function(){return!!t},e.exports.__esModule=!0,e.exports["default"]=e.exports)()}e.exports=n,e.exports.__esModule=!0,e.exports["default"]=e.exports},"031c":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={down:{offset:80,native:!1},up:{offset:150,toTop:{src:"https://www.mescroll.com/img/mescroll-totop.png",offset:1e3,right:20,bottom:120,width:72},empty:{use:!0,icon:"https://www.mescroll.com/img/mescroll-empty.png"}},i18n:{zh:{down:{textInOffset:"下拉刷新",textOutOffset:"释放更新",textLoading:"加载中 ...",textSuccess:"加载成功",textErr:"加载失败"},up:{textLoading:"加载中 ...",textNoMore:"-- END --",empty:{tip:"暂无数据"}}},en:{down:{textInOffset:"drop down refresh",textOutOffset:"release updates",textLoading:"loading ...",textSuccess:"loaded successfully",textErr:"loading failed"},up:{textLoading:"loading ...",textNoMore:"-- END --",empty:{tip:"~ absolutely empty ~"}}}}};t.default=r},"03d5":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.bindProject=function(e){return(0,r.request)({url:"/manager/bindProject",method:"post",data:e})},t.getAgentDetailById=function(e){return(0,r.request)({url:"/manager/agent/".concat(e),method:"get"})},t.getCustomerDetailById=function(e){return(0,r.request)({url:"/manager/client/".concat(e),method:"get"})},t.getMessageDetailById=function(e){return(0,r.request)({url:"/manager/message/get/".concat(e),method:"get"})},t.getMessageList=function(e,t){return(0,r.request)({url:"/manager/message/messageType/".concat(e,"/").concat(t),method:"get"})},t.getMessageTest=function(e){return(0,r.request)({url:"/manager/message/countUnread/messageType/".concat(e),method:"get"})},t.setMessageViewed=function(e){return(0,r.request)({url:"/manager/message/".concat(e),method:"put"})},t.updateAgent=function(e){return(0,r.request)({url:"/manager/agent/update",method:"put",data:e})},t.updateCustomer=function(e){return(0,r.request)({url:"/manager/client/update",method:"put",data:e})};var r=n("8cf7")},"05e9":function(e,t,n){"use strict";var r=n("47a9");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.divide=h,t.enableBoundaryChecking=g,t.minus=p,t.plus=d,t.round=y,t.times=f;var o=r(n("c70d")),i=!0;function a(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:15;return+parseFloat(Number(e).toPrecision(t))}function c(e){var t=e.toString().split(/[eE]/),n=(t[0].split(".")[1]||"").length-+(t[1]||0);return n>0?n:0}function s(e){if(-1===e.toString().indexOf("e"))return Number(e.toString().replace(".",""));var t=c(e);return t>0?a(Number(e)*Math.pow(10,t)):Number(e)}function u(e){i&&(e>Number.MAX_SAFE_INTEGER||e2)return l(t,f);var r=t[0],o=t[1],i=s(r),a=s(o),d=c(r)+c(o),p=i*a;return u(p),p/Math.pow(10,d)}function d(){for(var e=arguments.length,t=new Array(e),n=0;n2)return l(t,d);var r=t[0],o=t[1],i=Math.pow(10,Math.max(c(r),c(o)));return(f(r,i)+f(o,i))/i}function p(){for(var e=arguments.length,t=new Array(e),n=0;n2)return l(t,p);var r=t[0],o=t[1],i=Math.pow(10,Math.max(c(r),c(o)));return(f(r,i)-f(o,i))/i}function h(){for(var e=arguments.length,t=new Array(e),n=0;n2)return l(t,h);var r=t[0],o=t[1],i=s(r),d=s(o);return u(i),u(d),f(i/d,a(Math.pow(10,c(o)-c(r))))}function y(e,t){var n=Math.pow(10,t),r=h(Math.round(Math.abs(f(e,n))),n);return e<0&&0!==r&&(r=f(r,-1)),r}function g(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];i=e}var v={times:f,plus:d,minus:p,divide:h,round:y,enableBoundaryChecking:g};t.default=v},"09e8":function(e,t,n){"use strict";var r=n("47a9");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n("7eb4")),i=r(n("8ffa")),a=r(n("4ffb")),c=r(n("b4d2")),s=r(n("ee10")),u=r(n("67ad")),l=r(n("0bdb")),f=r(n("3b2d"));function d(e){var t=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(e){return!1}}();return function(){var n,r=(0,c.default)(e);if(t){var o=(0,c.default)(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return(0,a.default)(this,n)}}var p={email:/^\S+?@\S+?\.\S+?$/,idcard:/^[1-9]\d{5}(18|19|([23]\d))\d{2}((0[1-9])|(10|11|12))(([0-2][1-9])|10|20|30|31)\d{3}[0-9Xx]$/,url:new RegExp("^(?!mailto:)(?:(?:http|https|ftp)://|//)(?:\\S+(?::\\S*)?@)?(?:(?:(?:[1-9]\\d?|1\\d\\d|2[01]\\d|22[0-3])(?:\\.(?:1?\\d{1,2}|2[0-4]\\d|25[0-5])){2}(?:\\.(?:[0-9]\\d?|1\\d\\d|2[0-4]\\d|25[0-4]))|(?:(?:[a-z\\u00a1-\\uffff0-9]+-*)*[a-z\\u00a1-\\uffff0-9]+)(?:\\.(?:[a-z\\u00a1-\\uffff0-9]+-*)*[a-z\\u00a1-\\uffff0-9]+)*(?:\\.(?:[a-z\\u00a1-\\uffff]{2,})))|localhost)(?::\\d{2,5})?(?:(/|\\?|#)[^\\s]*)?$","i")},h={int:"integer",bool:"boolean",double:"number",long:"number",password:"string"};function y(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=["label"];n.forEach((function(t){void 0===e[t]&&(e[t]="")}));var r=t;for(var o in e){var i=new RegExp("{"+o+"}");r=r.replace(i,e[o])}return r}var g={integer:function(e){return g.number(e)&&parseInt(e,10)===e},string:function(e){return"string"===typeof e},number:function(e){return!isNaN(e)&&"number"===typeof e},boolean:function(e){return"boolean"===typeof e},float:function(e){return g.number(e)&&!g.integer(e)},array:function(e){return Array.isArray(e)},object:function(e){return"object"===(0,f.default)(e)&&!g.array(e)},date:function(e){return e instanceof Date},timestamp:function(e){return!(!this.integer(e)||Math.abs(e).toString().length>16)},file:function(e){return"string"===typeof e.url},email:function(e){return"string"===typeof e&&!!e.match(p.email)&&e.length<255},url:function(e){return"string"===typeof e&&!!e.match(p.url)},pattern:function(e,t){try{return new RegExp(e).test(t)}catch(n){return!1}},method:function(e){return"function"===typeof e},idcard:function(e){return"string"===typeof e&&!!e.match(p.idcard)},"url-https":function(e){return this.url(e)&&e.startsWith("https://")},"url-scheme":function(e){return e.startsWith("://")},"url-web":function(e){return!1}},v=function(){function e(t){(0,u.default)(this,e),this._message=t}return(0,l.default)(e,[{key:"validateRule",value:function(){var e=(0,s.default)(o.default.mark((function e(t,n,r,i,a){var c,s,u,l,f,d,p,h,y;return o.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(c=null,s=n.rules,u=s.findIndex((function(e){return e.required})),!(u<0)){e.next=8;break}if(null!==r&&void 0!==r){e.next=6;break}return e.abrupt("return",c);case 6:if("string"!==typeof r||r.length){e.next=8;break}return e.abrupt("return",c);case 8:if(l=this._message,void 0!==s){e.next=11;break}return e.abrupt("return",l["default"]);case 11:f=0;case 12:if(!(f-1&&(s=!0),s?null:y(e,o||n["enum"])},rangeNumber:function(e,t,n){if(!g.number(t))return y(e,e.errorMessage||n.pattern.mismatch);var r=e.minimum,o=e.maximum,i=e.exclusiveMinimum,a=e.exclusiveMaximum,c=i?t<=r:t=o:t>o;return void 0!==r&&c?y(e,e.errorMessage||n["number"][i?"exclusiveMinimum":"minimum"]):void 0!==o&&s?y(e,e.errorMessage||n["number"][a?"exclusiveMaximum":"maximum"]):void 0!==r&&void 0!==o&&(c||s)?y(e,e.errorMessage||n["number"].range):null},rangeLength:function(e,t,n){if(!g.string(t)&&!g.array(t))return y(e,e.errorMessage||n.pattern.mismatch);var r=e.minLength,o=e.maxLength,i=t.length;return void 0!==r&&io?y(e,e.errorMessage||n["length"].maxLength):void 0!==r&&void 0!==o&&(io)?y(e,e.errorMessage||n["length"].range):null},pattern:function(e,t,n){return g["pattern"](e.pattern,t)?null:y(e,e.errorMessage||n.pattern.mismatch)},format:function(e,t,n){var r=Object.keys(g),o=h[e.format]?h[e.format]:e.format||e.arrayType;return r.indexOf(o)>-1&&!g[o](t)?y(e,e.errorMessage||n.typeError):null},arrayTypeFormat:function(e,t,n){if(!Array.isArray(t))return y(e,e.errorMessage||n.typeError);for(var r=0;r0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=this.$.$refs["ani"].ref;if(n)return new Promise((function(r,o){nvueAnimation.transition(n,s({styles:e},t),(function(e){r()}))}))}},{key:"_nvueNextAnimate",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=arguments.length>2?arguments[2]:void 0,o=e[n];if(o){var i=o.styles,a=o.config;this._animateRun(i,a).then((function(){n+=1,t._nvueNextAnimate(e,n,r)}))}else this.currentStepAnimates={},"function"===typeof r&&r(),this.isEnd=!0}},{key:"step",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.animation.step(e),this}},{key:"run",value:function(e){this.$.animationData=this.animation.export(),this.$.timer=setTimeout((function(){"function"===typeof e&&e()}),this.$.durationTime)}}]),t}(),l=["matrix","matrix3d","rotate","rotate3d","rotateX","rotateY","rotateZ","scale","scale3d","scaleX","scaleY","scaleZ","skew","skewX","skewY","translate","translate3d","translateX","translateY","translateZ"];l.concat(["opacity","backgroundColor"],["width","height","left","right","top","bottom"]).forEach((function(e){u.prototype[e]=function(){var t;return(t=this.animation)[e].apply(t,arguments),this}}))}).call(this,n("df3c")["default"])},"0ee4":function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(r){"object"===typeof window&&(n=window)}e.exports=n},1498:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default=[{name:"101空调",type:"aircondition",isOpen:!1,positionName:"办公室101",describe:"制热 26°C",state:1,iconName:"icon-kongtiao",iconSize:"40"},{name:"102空调",type:"aircondition",isOpen:!0,positionName:"办公室102",describe:"制热 26°C",state:1,iconName:"icon-kongtiao",iconSize:"40"},{name:"103空调",type:"aircondition",isOpen:!0,positionName:"办公室103",describe:"制热 26°C",state:2,iconName:"icon-kongtiao",iconSize:"40"},{name:"101照明",type:"lighting",isOpen:!1,positionName:"办公室101",describe:"关闭",state:1,iconName:"icon-diandeng",iconSize:"36"},{name:"102照明",type:"lighting",isOpen:!1,positionName:"办公室102",describe:"关闭",state:2,iconName:"icon-diandeng",iconSize:"36"},{name:"103照明",type:"lighting",isOpen:!0,positionName:"办公室103",describe:"打开",state:1,iconName:"icon-diandeng",iconSize:"36"},{name:"101电表",type:"meter",isOpen:!0,positionName:"办公室101",describe:"20度",state:1,iconName:"icon-dianbiao",iconSize:"36"},{name:"102电表",type:"meter",isOpen:!0,positionName:"办公室102",describe:"21度",state:2,iconName:"icon-dianbiao",iconSize:"36"},{name:"103电表",type:"meter",isOpen:!0,positionName:"办公室103",describe:"33度",state:1,iconName:"icon-dianbiao",iconSize:"36"},{name:"101水表",type:"water",isOpen:!0,positionName:"办公室101",describe:"20t",state:2,iconName:"icon-shuibiao",iconSize:"36"},{name:"102水表",type:"water",isOpen:!0,positionName:"办公室102",describe:"21t",state:1,iconName:"icon-shuibiao",iconSize:"36"},{name:"103水表",type:"water",isOpen:!0,positionName:"办公室103",describe:"33t",state:1,iconName:"icon-shuibiao",iconSize:"36"},{name:"101环境",type:"environment",isOpen:!0,positionName:"办公室101",describe:"21.2°C",state:2,iconName:"icon-huanjingjiance",iconSize:"36"},{name:"102环境",type:"environment",isOpen:!0,positionName:"办公室102",describe:"21.5°C",state:1,iconName:"icon-huanjingjiance",iconSize:"36"},{name:"103环境",type:"environment",isOpen:!0,positionName:"办公室103",describe:"23.3°C",state:1,iconName:"icon-huanjingjiance",iconSize:"36"},{name:"101门禁",type:"control",isOpen:!0,positionName:"办公室101",describe:"21.2°C",state:2,iconName:"icon-menjinjilu",iconSize:"32"},{name:"102门禁",type:"control",isOpen:!0,positionName:"办公室102",describe:"21.5°C",state:1,iconName:"icon-menjinjilu",iconSize:"32"},{name:"103门禁",type:"control",isOpen:!0,positionName:"办公室103",describe:"23.3°C",state:1,iconName:"icon-menjinjilu",iconSize:"32"}]},"16f2":function(e,t,n){"use strict";(function(e){var r=n("47a9");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o,i,a=r(n("7ca3"));function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var s={props:function(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:"object";if((0,a.empty)(e)||"object"===(0,i.default)(e)&&"object"===t||"string"===t&&"string"===typeof e)return e;if("object"===t){e=f(e);for(var n=e.split(";"),r={},o=0;o0&&void 0!==arguments[0]?arguments[0]:"auto",u=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null!==(t=e)&&void 0!==t&&null!==(n=t.$uv)&&void 0!==n&&null!==(r=n.config)&&void 0!==r&&r.unit?null===(o=e)||void 0===o||null===(i=o.$uv)||void 0===i||null===(c=i.config)||void 0===c?void 0:c.unit:"px";return s=String(s),(0,a.number)(s)?"".concat(s).concat(u):s},t.deepClone=u,t.deepMerge=function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(t=u(t),"object"!==(0,i.default)(t)||null===t||"object"!==(0,i.default)(n)||null===n)return t;var r=Array.isArray(t)?t.slice():Object.assign({},t);for(var o in n)if(n.hasOwnProperty(o)){var a=n[o],c=r[o];a instanceof Date?r[o]=new Date(a):a instanceof RegExp?r[o]=new RegExp(a):a instanceof Map?r[o]=new Map(a):a instanceof Set?r[o]=new Set(a):"object"===(0,i.default)(a)&&null!==a?r[o]=e(c,a):r[o]=a}return r},t.error=function(e){0},t.formValidate=function(e,t){var n=s.call(e,"uv-form-item"),r=s.call(e,"uv-form");n&&r&&r.validateField(n.prop,(function(){}),t)},t.getDuration=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=parseInt(e);if(t)return/s$/.test(e)?e:"".concat(e,e>30?"ms":"s");return/ms$/.test(e)?n:/s$/.test(e)?n>30?n:1e3*n:n},t.getHistoryPage=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=getCurrentPages(),n=t.length;return t[n-1+e]},t.getProperty=function(e,t){if(!e)return;if("string"!==typeof t||""===t)return"";if(-1!==t.indexOf(".")){for(var n=t.split("."),r=e[n[0]]||{},o=1;o1&&void 0!==arguments[1]&&arguments[1];if((0,a.number)(t))return n?"".concat(t,"px"):Number(t);if(/(rpx|upx)$/.test(t))return n?"".concat(e.upx2px(parseInt(t)),"px"):Number(e.upx2px(parseInt(t)));return n?"".concat(parseInt(t),"px"):parseInt(t)},t.guid=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:32,t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz".split(""),o=[];if(n=n||r.length,e)for(var i=0;i1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:".",r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:",";e="".concat(e).replace(/[^0-9+-Ee.]/g,"");var o=isFinite(+e)?+e:0,i=isFinite(+t)?Math.abs(t):0,a="undefined"===typeof r?",":r,s="undefined"===typeof n?".":n,u="";u=(i?(0,c.round)(o,i)+"":"".concat(Math.round(o))).split(".");var l=/(-?\d+)(\d{3})/;while(l.test(u[0]))u[0]=u[0].replace(l,"$1".concat(a,"$2"));(u[1]||"").length0&&void 0!==arguments[0]?arguments[0]:{},t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"brackets",r=t?"?":"",o=[];-1==["indices","brackets","repeat","comma"].indexOf(n)&&(n="brackets");var i=function(t){var r=e[t];if(["",void 0,null].indexOf(r)>=0)return"continue";if(r.constructor===Array)switch(n){case"indices":for(var i=0;i=0&&t>0&&t>=e){var n=t-e+1;return Math.floor(Math.random()*n+e)}return 0},t.randomArray=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return e.sort((function(){return Math.random()-.5}))},t.range=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return Math.max(e,Math.min(t,Number(n)))},t.setConfig=function(t){var n=t.props,r=void 0===n?{}:n,o=t.config,i=void 0===o?{}:o,a=t.color,c=void 0===a?{}:a,s=t.zIndex,u=void 0===s?{}:s,l=e.$uv.deepMerge;e.$uv.config=l(e.$uv.config,i),e.$uv.props=l(e.$uv.props,r),e.$uv.color=l(e.$uv.color,c),e.$uv.zIndex=l(e.$uv.zIndex,u)},t.setProperty=function(e,t,n){if(!e)return;if("string"!==typeof t||""===t);else if(-1!==t.indexOf(".")){var r=t.split(".");(function e(t,n,r){if(1!==n.length)while(n.length>1){var o=n[0];t[o]&&"object"===(0,i.default)(t[o])||(t[o]={});n.shift();e(t[o],n,r)}else t[n[0]]=r})(e,r,n)}else e[t]=n},t.sleep=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:30;return new Promise((function(t){setTimeout((function(){t()}),e)}))},t.sys=function(){return e.getSystemInfoSync()},t.timeFormat=l,t.timeFrom=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"yyyy-mm-dd";null==e&&(e=Number(new Date));e=parseInt(e),10==e.toString().length&&(e*=1e3);var n=(new Date).getTime()-e;n=parseInt(n/1e3);var r="";switch(!0){case n<300:r="刚刚";break;case n>=300&&n<3600:r="".concat(parseInt(n/60),"分钟前");break;case n>=3600&&n<86400:r="".concat(parseInt(n/3600),"小时前");break;case n>=86400&&n<2592e3:r="".concat(parseInt(n/86400),"天前");break;default:r=!1===t?n>=2592e3&&n<31536e3?"".concat(parseInt(n/2592e3),"个月前"):"".concat(parseInt(n/31536e3),"年前"):l(e,t)}return r},t.toast=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2e3;e.showToast({title:String(t),icon:"none",duration:n})},t.trim=f,t.type2icon=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"success",t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];-1==["primary","info","error","warning","success"].indexOf(e)&&(e="success");var n="";switch(e){case"primary":n="info-circle";break;case"info":n="info-circle";break;case"error":n="close-circle";break;case"warning":n="error-circle";break;case"success":n="checkmark-circle";break;default:n="checkmark-circle"}t&&(n+="-fill");return n};var o=r(n("34cf")),i=r(n("3b2d")),a=n("62ff"),c=n("05e9");function s(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0,t=this.$parent;while(t){if(!t.$options||t.$options.name===e)return t;t=t.$parent}return!1}function u(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new WeakMap;if(null===e||"object"!==(0,i.default)(e))return e;if(n.has(e))return n.get(e);if(e instanceof Date)t=new Date(e.getTime());else if(e instanceof RegExp)t=new RegExp(e);else if(e instanceof Map)t=new Map(Array.from(e,(function(e){var t=(0,o.default)(e,2),r=t[0],i=t[1];return[r,u(i,n)]})));else if(e instanceof Set)t=new Set(Array.from(e,(function(e){return u(e,n)})));else if(Array.isArray(e))t=e.map((function(e){return u(e,n)}));else if("[object Object]"===Object.prototype.toString.call(e)){t=Object.create(Object.getPrototypeOf(e)),n.set(e,t);for(var r=0,a=Object.entries(e);r0&&void 0!==arguments[0]?arguments[0]:null,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"yyyy-mm-dd";e=t?/^\d{10}$/.test(null===t||void 0===t?void 0:t.toString().trim())?new Date(1e3*t):"string"===typeof t&&/^\d+$/.test(t.trim())?new Date(Number(t)):"string"===typeof t&&t.includes("-")&&!t.includes("T")?new Date(t.replace(/-/g,"/")):new Date(t):new Date;var r={y:e.getFullYear().toString(),m:(e.getMonth()+1).toString().padStart(2,"0"),d:e.getDate().toString().padStart(2,"0"),h:e.getHours().toString().padStart(2,"0"),M:e.getMinutes().toString().padStart(2,"0"),s:e.getSeconds().toString().padStart(2,"0")};for(var i in r){var a=new RegExp("".concat(i,"+")).exec(n)||[],c=(0,o.default)(a,1),s=c[0];if(s){var u="y"===i&&2===s.length?2:0;n=n.replace(s,r[i].slice(u))}}return n}function f(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"both";return e=String(e),"both"==t?e.replace(/^\s+|\s+$/g,""):"left"==t?e.replace(/^\s*/,""):"right"==t?e.replace(/(\s*$)/g,""):"all"==t?e.replace(/\s+/g,""):e}String.prototype.padStart||(String.prototype.padStart=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:" ";if("[object String]"!==Object.prototype.toString.call(t))throw new TypeError("fillString must be String");var n=this;if(n.length>=e)return String(n);var r=e-n.length,o=Math.ceil(r/t.length);while(o>>=1)t+=t,1===o&&(t+=t);return t.slice(0,r)+n})}).call(this,n("df3c")["default"])},"1a49":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getCommonPaymentDetailById=function(e){return(0,r.request)({url:"/api/payment/ordinary/".concat(e),method:"get"})},t.getCommonPaymentListByPage=function(e){return(0,r.request)({url:"/api/payment/ordinary/".concat(e.currPage,"/").concat(e.pageSize),method:"post",data:e})},t.getPaymentDetailById=function(e){return(0,r.request)({url:"/api/payment/".concat(e),method:"get"})},t.getPaymentListByPage=function(e){return(0,r.request)({url:"/api/payment/".concat(e.currPage,"/").concat(e.pageSize),method:"post",data:e})},t.updatePayment=function(e){return(0,r.request)({url:"/api/payment/ordinary",method:"put",data:e})};var r=n("8cf7")},"1ffb":function(e,t,n){"use strict";(function(e){var r=n("47a9");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n("7eb4")),i=r(n("ee10")),a=r(n("67ad")),c=r(n("0bdb")),s=n("188d"),u=function(){function t(){(0,a.default)(this,t),this.config={type:"navigateTo",url:"",delta:1,params:{},animationType:"pop-in",animationDuration:300,intercept:!1,events:{}},this.route=this.route.bind(this)}return(0,c.default)(t,[{key:"addRootPath",value:function(e){return"/"===e[0]?e:"/".concat(e)}},{key:"mixinParam",value:function(e,t){e=e&&this.addRootPath(e);var n="";return/.*\/.*\?.*=.*/.test(e)?(n=(0,s.queryParams)(t,!1),e+"&".concat(n)):(n=(0,s.queryParams)(t),e+n)}},{key:"route",value:function(){var e=(0,i.default)(o.default.mark((function e(){var t,n,r,i,a=arguments;return o.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(t=a.length>0&&void 0!==a[0]?a[0]:{},n=a.length>1&&void 0!==a[1]?a[1]:{},r={},"string"===typeof t?(r.url=this.mixinParam(t,n),r.type="navigateTo"):(r=(0,s.deepMerge)(this.config,t),r.url=this.mixinParam(t.url,t.params)),r.url!==(0,s.page)()){e.next=6;break}return e.abrupt("return");case 6:if(n.intercept&&(r.intercept=n.intercept),r.params=n,r=(0,s.deepMerge)(this.config,r),"function"!==typeof r.intercept){e.next=16;break}return e.next=12,new Promise((function(e,t){r.intercept(r,e)}));case 12:i=e.sent,i&&this.openPage(r),e.next=17;break;case 16:this.openPage(r);case 17:case"end":return e.stop()}}),e,this)})));return function(){return e.apply(this,arguments)}}()},{key:"openPage",value:function(t){var n=t.url,r=(t.type,t.delta),o=t.animationType,i=t.animationDuration,a=t.events;"navigateTo"!=t.type&&"to"!=t.type||e.navigateTo({url:n,animationType:o,animationDuration:i,events:a}),"redirectTo"!=t.type&&"redirect"!=t.type||e.redirectTo({url:n}),"switchTab"!=t.type&&"tab"!=t.type||e.switchTab({url:n}),"reLaunch"!=t.type&&"launch"!=t.type||e.reLaunch({url:n}),"navigateBack"!=t.type&&"back"!=t.type||e.navigateBack({delta:r})}}]),t}(),l=(new u).route;t.default=l}).call(this,n("df3c")["default"])},"207f":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getInvoiceDetailById=function(e){return(0,r.request)({url:"/api/payment/invoice/".concat(e,"/"),method:"get"})},t.getInvoiceListByPage=function(e){return(0,r.request)({url:"/api/payment/invoice/".concat(e.currPage,"/").concat(e.pageSize),method:"post",data:e})};var r=n("8cf7")},"207fa":function(e,t,n){"use strict";(function(e){var r=n("47a9");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o,i,a=r(n("7ca3"));function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var s={props:function(e){for(var t=1;tn;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,c(r.key),r)}}function f(e,t,n){return t&&l(e.prototype,t),n&&l(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}var d={EVENT:{}};t.YeIMUniSDKDefines=d,d.EVENT.NET_CHANGED="net_changed",d.EVENT.CONVERSATION_LIST_CHANGED="conversation_list_changed",d.EVENT.MESSAGE_RECEIVED="message_received",d.EVENT.MESSAGE_REVOKED="message_revoked",d.EVENT.PRIVATE_READ_RECEIPT="private_read_receipt",d.EVENT.FRIEND_LIST_CHANGED="friend_list_changed",d.EVENT.FRIEND_APPLY_LIST_CHANGED="friend_apply_list_changed",d.EVENT.FRIEND_APPLY_REFUSE="friend_apply_refuse",d.EVENT.KICKED_OUT="kicked_out",d.CONVERSATION_TYPE={},d.CONVERSATION_TYPE.PRIVATE="private",d.CONVERSATION_TYPE.GROUP="group",d.MESSAGE_TYPE={},d.MESSAGE_TYPE.TEXT="text",d.MESSAGE_TYPE.TEXT_AT="text_at",d.MESSAGE_TYPE.IMAGE="image",d.MESSAGE_TYPE.AUDIO="audio",d.MESSAGE_TYPE.VIDEO="video",d.MESSAGE_TYPE.LOCATION="location",d.MESSAGE_TYPE.CUSTOM="custom",d.MESSAGE_TYPE.MERGER="merger",d.MESSAGE_TYPE.FORWARD="forward",d.MESSAGE_TYPE.SYS_NOTICE="sys_notice",d.MESSAGE_TYPE.GROUP_SYS_NOTICE="group_sys_notice",d.USER={},d.USER.ADDFRIEND={},d.USER.ADDFRIEND.ALLOW=1,d.USER.ADDFRIEND.CONFIRM=2,d.USER.ADDFRIEND.DENY=3,d.GROUP={},d.GROUP.JOINMODE={},d.GROUP.JOINMODE.FREE=1,d.GROUP.JOINMODE.CHECK=2,d.GROUP.JOINMODE.FORBIDDEN=3,d.GROUP.APPLYSTATUS={},d.GROUP.APPLYSTATUS.PENDING=1,d.GROUP.APPLYSTATUS.AGREE=2,d.GROUP.APPLYSTATUS.REFUSE=3;var p={NORMAL_SUCCESS:{code:200,describe:"接口调用成功"},APPLY_NEED:{code:20020,describe:"好友申请已发送,请等待对方处理"},NORMAL_ERROR:{code:500,describe:"未知错误"},SDK_PARAMS_ERROR:{code:9001,describe:"YeIMUniSDK 初始化失败,请检查参数是否存在异常"},CONNECT_ERROR:{code:10001,describe:"聊天服务网络连接错误"},NO_USERID:{code:10002,describe:"用户验证失败,请检查userId、token"},LOGIN_EXPIRE:{code:10003,describe:"用户登录状态过期,请重新登录"},NO_CONVERSATION:{code:10004,describe:"未找到此会话"},PARAMS_ERROR:{code:10008,describe:"请求参数错误"},LOGIN_ERROR:{code:10103,describe:"用户登录失败,请稍后再试"},GROUP_APPLY_REPEAT:{code:10251,describe:"此用户已在当前群组,请勿重复加入"},GROUP_APPLY_ERROR:{code:10252,describe:"申请入群异常,请稍后重试"},GROUP_APPLY_WAIT:{code:10253,describe:"已发送入群申请,请等待审核"},UPLOAD_ERROR:{code:10300,describe:"本地上传失败,请检查配置"},DOWNLOAD_ERROR:{code:10301,describe:"文件下载失败"},COS_UPLOAD_ERROR:{code:10302,describe:"腾讯云COS上传文件失败,请检查配置是否填写正确"},COS_DOWNLOAD_ERROR_1:{code:10303,describe:"腾讯云媒体截图接口:下载视频缩略图失败,请检查网络或开启万象功能"},OSS_UPLOAD_ERROR:{code:10304,describe:"阿里云OSS上传文件失败,请检查配置是否填写正确"}};function h(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(0==de.defaults.logLevel)n?console.error("【YeIMUniSDK Log】",t):console.log("【YeIMUniSDK Log】",t);else{if(2==de.defaults.logLevel)return;1==e&&(n?console.error("【YeIMUniSDK Log】",t):console.log("【YeIMUniSDK Log】",t))}}var y=function(){function t(n){var r=this;u(this,t),s(this,"socketTask",void 0),s(this,"onMessageCallBack",[]),de.uni?this.socketTask=e.connectSocket({url:n,success:function(){},fail:function(){},complete:function(){}}):(this.socketTask=new WebSocket(n),this.socketTask.onmessage=function(e){if(r.onMessageCallBack)for(var t=0;r.onMessageCallBack.length>t;t++)r.onMessageCallBack[t](e)})}return f(t,[{key:"onOpen",value:function(e){try{de.uni?this.socketTask.onOpen(e):this.socketTask.onopen=e}catch(e){h(0,e,!0)}}},{key:"onClose",value:function(e){try{de.uni?this.socketTask.onClose(e):this.socketTask.onclose=e}catch(e){h(0,e,!0)}}},{key:"onError",value:function(e){try{de.uni?this.socketTask.onError(e):this.socketTask.onerror=e}catch(e){h(0,e,!0)}}},{key:"onMessage",value:function(e){try{de.uni?this.socketTask.onMessage(e):this.onMessageCallBack.push(e)}catch(e){h(0,e,!0)}}},{key:"send",value:function(e){if(this.socketTask)try{this.socketTask.send(de.uni?{data:JSON.stringify(e)}:JSON.stringify(e))}catch(e){h(0,e,!0)}}},{key:"close",value:function(){try{this.socketTask.close()}catch(t){h(0,t,!0)}}},{key:"destroy",value:function(){this.socketTask=void 0}}]),t}();function g(){return{code:arguments.length>0&&void 0!==arguments[0]?arguments[0]:200,message:arguments.length>1?arguments[1]:void 0,data:arguments.length>2&&void 0!==arguments[2]?arguments[2]:null}}function v(){return{code:arguments.length>0&&void 0!==arguments[0]?arguments[0]:500,message:arguments.length>1?arguments[1]:void 0,data:arguments.length>2&&void 0!==arguments[2]?arguments[2]:null}}function m(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:200;try{null!=e&&void 0!==e.success&&"function"==typeof e.success&&e.success(g(r,t,n))}catch(e){console.error(e)}}function b(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:500,n=arguments.length>2?arguments[2]:void 0,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;try{null!=e&&void 0!==e.fail&&"function"==typeof e.fail&&e.fail(v(t,n,r))}catch(e){console.error(e)}}"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof r||"undefined"!=typeof self&&self;var S={};({get exports(){return S},set exports(e){S=e}}).exports=function(e){return{all:e=e||new Map,on:function(t,n){var r=e.get(t);r?r.push(n):e.set(t,[n])},off:function(t,n){var r=e.get(t);r&&(n?r.splice(r.indexOf(n)>>>0,1):e.set(t,[]))},emit:function(t,n){var r=e.get(t);r&&r.slice().map((function(e){e(n)})),(r=e.get("*"))&&r.slice().map((function(e){e(t,n)}))}}};var x=S;function C(e,t){de.emitter.emit(de.defaults.eventPrefix+e,t)}function _(e,t){e&&de.emitter.on(de.defaults.eventPrefix+e,t)}function L(e,t){e&&de.emitter.off(de.defaults.eventPrefix+e,t)}function P(e,t,n,r,o,i,a){try{var c=e[i](a),s=c.value}catch(e){return void n(e)}c.done?t(s):Promise.resolve(s).then(r,o)}function Y(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){P(i,r,o,a,c,"next",e)}function c(e){P(i,r,o,a,c,"throw",e)}a(void 0)}))}}var T={},M={get exports(){return T},set exports(e){T=e}},D={};!function(e){function t(n){return e.exports=t="function"==typeof Symbol&&"symbol"==(0,i.default)(Symbol.iterator)?function(e){return(0,i.default)(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":(0,i.default)(e)},e.exports.__esModule=!0,e.exports.default=e.exports,t(n)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports}({get exports(){return D},set exports(e){D=e}}),function(e){var t=D.default;function n(){ /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ e.exports=n=function(){return r},e.exports.__esModule=!0,e.exports.default=e.exports;var r={},o=Object.prototype,i=o.hasOwnProperty,a=Object.defineProperty||function(e,t,n){e[t]=n.value},c="function"==typeof Symbol?Symbol:{},s=c.iterator||"@@iterator",u=c.asyncIterator||"@@asyncIterator",l=c.toStringTag||"@@toStringTag";function f(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{f({},"")}catch(e){f=function(e,t,n){return e[t]=n}}function d(e,t,n,r){var o=Object.create((t&&t.prototype instanceof y?t:y).prototype),i=new M(r||[]);return a(o,"_invoke",{value:L(e,n,i)}),o}function p(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}r.wrap=d;var h={};function y(){}function g(){}function v(){}var m={};f(m,s,(function(){return this}));var b=Object.getPrototypeOf,S=b&&b(b(D([])));S&&S!==o&&i.call(S,s)&&(m=S);var x=v.prototype=y.prototype=Object.create(m);function C(e){["next","throw","return"].forEach((function(t){f(e,t,(function(e){return this._invoke(t,e)}))}))}function _(e,n){function r(o,a,c,s){var u=p(e[o],e,a);if("throw"!==u.type){var l=u.arg,f=l.value;return f&&"object"==t(f)&&i.call(f,"__await")?n.resolve(f.__await).then((function(e){r("next",e,c,s)}),(function(e){r("throw",e,c,s)})):n.resolve(f).then((function(e){l.value=e,c(l)}),(function(e){return r("throw",e,c,s)}))}s(u.arg)}var o;a(this,"_invoke",{value:function(e,t){function i(){return new n((function(n,o){r(e,t,n,o)}))}return o=o?o.then(i,i):i()}})}function L(e,t,n){var r="suspendedStart";return function(o,i){if("executing"===r)throw Error("Generator is already running");if("completed"===r){if("throw"===o)throw i;return Z()}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var c=P(a,n);if(c){if(c===h)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var s=p(e,t,n);if("normal"===s.type){if(r=n.done?"completed":"suspendedYield",s.arg===h)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(r="completed",n.method="throw",n.arg=s.arg)}}}function P(e,t){var n=t.method,r=e.iterator[n];if(void 0===r)return t.delegate=null,"throw"===n&&e.iterator.return&&(t.method="return",t.arg=void 0,P(e,t),"throw"===t.method)||"return"!==n&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+n+"' method")),h;var o=p(r,e.iterator,t.arg);if("throw"===o.type)return t.method="throw",t.arg=o.arg,t.delegate=null,h;var i=o.arg;return i?i.done?(t[e.resultName]=i.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,h):i:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,h)}function Y(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function T(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function M(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(Y,this),this.reset(!0)}function D(e){if(e){var t=e[s];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,r=function t(){for(;++n=0;--r){var o=this.tryEntries[r],a=o.completion;if("root"===o.tryLoc)return n("end");if(this.prev>=o.tryLoc){var c=i.call(o,"catchLoc"),s=i.call(o,"finallyLoc");if(c&&s){if(o.catchLoc>this.prev)return n(o.catchLoc,!0);if(o.finallyLoc>this.prev)return n(o.finallyLoc)}else if(c){if(o.catchLoc>this.prev)return n(o.catchLoc,!0)}else{if(!s)throw Error("try statement without catch or finally");if(o.finallyLoc>this.prev)return n(o.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(this.prev>=r.tryLoc&&i.call(r,"finallyLoc")&&r.finallyLoc>this.prev){var o=r;break}}o&&("break"===e||"continue"===e)&&t>=o.tryLoc&&o.finallyLoc>=t&&(o=null);var a=o?o.completion:{};return a.type=e,a.arg=t,o?(this.method="next",this.next=o.finallyLoc,h):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),h},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),T(n),h}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;T(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:D(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),h}},r}e.exports=n,e.exports.__esModule=!0,e.exports.default=e.exports}(M);var Z=T(),w=Z;try{regeneratorRuntime=Z}catch(c){"object"===("undefined"==typeof globalThis?"undefined":a(globalThis))?globalThis.regeneratorRuntime=Z:Function("r","regeneratorRuntime = r")(Z)}var O=function(e,t){return e<>>32-t},A=function(e,t){var n,r,o,i,a;return o=2147483648&e,i=2147483648&t,a=(1073741823&e)+(1073741823&t),(n=1073741824&e)&(r=1073741824&t)?2147483648^a^o^i:n|r?1073741824&a?3221225472^a^o^i:1073741824^a^o^i:a^o^i},X=function(e,t,n,r,o,i,a){return e=A(e,A(A(function(e,t,n){return e&t|~e&n}(t,n,r),o),a)),A(O(e,i),t)},N=function(e,t,n,r,o,i,a){return e=A(e,A(A(function(e,t,n){return e&n|t&~n}(t,n,r),o),a)),A(O(e,i),t)},R=function(e,t,n,r,o,i,a){return e=A(e,A(A(function(e,t,n){return e^t^n}(t,n,r),o),a)),A(O(e,i),t)},E=function(e,t,n,r,o,i,a){return e=A(e,A(A(function(e,t,n){return t^(e|~n)}(t,n,r),o),a)),A(O(e,i),t)},J=function(e){var t,n="",r="";for(t=0;3>=t;t++)n+=(r="0"+(e>>>8*t&255).toString(16)).substr(r.length-2,2);return n};function H(e){var t,n,r,o,i,a,c,s,u,l;for(e=function(e){e=e.replace(/\x0d\x0a/g,"\n");for(var t="",n=0;e.length>n;n++){var r=e.charCodeAt(n);128>r?t+=String.fromCharCode(r):r>127&&2048>r?(t+=String.fromCharCode(r>>6|192),t+=String.fromCharCode(63&r|128)):(t+=String.fromCharCode(r>>12|224),t+=String.fromCharCode(r>>6&63|128),t+=String.fromCharCode(63&r|128))}return t}(e+=""),t=function(e){for(var t,n=e.length,r=n+8,o=16*((r-r%64)/64+1),i=Array(o-1),a=0,c=0;n>c;)a=c%4*8,i[t=(c-c%4)/4]=i[t]|e.charCodeAt(c)<>>29,i}(e),c=1732584193,s=4023233417,u=2562383102,l=271733878,n=0;t.length>n;n+=16)r=c,o=s,i=u,a=l,c=X(c,s,u,l,t[n+0],7,3614090360),l=X(l,c,s,u,t[n+1],12,3905402710),u=X(u,l,c,s,t[n+2],17,606105819),s=X(s,u,l,c,t[n+3],22,3250441966),c=X(c,s,u,l,t[n+4],7,4118548399),l=X(l,c,s,u,t[n+5],12,1200080426),u=X(u,l,c,s,t[n+6],17,2821735955),s=X(s,u,l,c,t[n+7],22,4249261313),c=X(c,s,u,l,t[n+8],7,1770035416),l=X(l,c,s,u,t[n+9],12,2336552879),u=X(u,l,c,s,t[n+10],17,4294925233),s=X(s,u,l,c,t[n+11],22,2304563134),c=X(c,s,u,l,t[n+12],7,1804603682),l=X(l,c,s,u,t[n+13],12,4254626195),u=X(u,l,c,s,t[n+14],17,2792965006),s=X(s,u,l,c,t[n+15],22,1236535329),c=N(c,s,u,l,t[n+1],5,4129170786),l=N(l,c,s,u,t[n+6],9,3225465664),u=N(u,l,c,s,t[n+11],14,643717713),s=N(s,u,l,c,t[n+0],20,3921069994),c=N(c,s,u,l,t[n+5],5,3593408605),l=N(l,c,s,u,t[n+10],9,38016083),u=N(u,l,c,s,t[n+15],14,3634488961),s=N(s,u,l,c,t[n+4],20,3889429448),c=N(c,s,u,l,t[n+9],5,568446438),l=N(l,c,s,u,t[n+14],9,3275163606),u=N(u,l,c,s,t[n+3],14,4107603335),s=N(s,u,l,c,t[n+8],20,1163531501),c=N(c,s,u,l,t[n+13],5,2850285829),l=N(l,c,s,u,t[n+2],9,4243563512),u=N(u,l,c,s,t[n+7],14,1735328473),s=N(s,u,l,c,t[n+12],20,2368359562),c=R(c,s,u,l,t[n+5],4,4294588738),l=R(l,c,s,u,t[n+8],11,2272392833),u=R(u,l,c,s,t[n+11],16,1839030562),s=R(s,u,l,c,t[n+14],23,4259657740),c=R(c,s,u,l,t[n+1],4,2763975236),l=R(l,c,s,u,t[n+4],11,1272893353),u=R(u,l,c,s,t[n+7],16,4139469664),s=R(s,u,l,c,t[n+10],23,3200236656),c=R(c,s,u,l,t[n+13],4,681279174),l=R(l,c,s,u,t[n+0],11,3936430074),u=R(u,l,c,s,t[n+3],16,3572445317),s=R(s,u,l,c,t[n+6],23,76029189),c=R(c,s,u,l,t[n+9],4,3654602809),l=R(l,c,s,u,t[n+12],11,3873151461),u=R(u,l,c,s,t[n+15],16,530742520),s=R(s,u,l,c,t[n+2],23,3299628645),c=E(c,s,u,l,t[n+0],6,4096336452),l=E(l,c,s,u,t[n+7],10,1126891415),u=E(u,l,c,s,t[n+14],15,2878612391),s=E(s,u,l,c,t[n+5],21,4237533241),c=E(c,s,u,l,t[n+12],6,1700485571),l=E(l,c,s,u,t[n+3],10,2399980690),u=E(u,l,c,s,t[n+10],15,4293915773),s=E(s,u,l,c,t[n+1],21,2240044497),c=E(c,s,u,l,t[n+8],6,1873313359),l=E(l,c,s,u,t[n+15],10,4264355552),u=E(u,l,c,s,t[n+6],15,2734768916),s=E(s,u,l,c,t[n+13],21,1309151649),c=E(c,s,u,l,t[n+4],6,4149444226),l=E(l,c,s,u,t[n+11],10,3174756917),u=E(u,l,c,s,t[n+2],15,718787259),s=E(s,u,l,c,t[n+9],21,3951481745),c=A(c,r),s=A(s,o),u=A(u,i),l=A(l,a);return(J(c)+J(s)+J(u)+J(l)).toLowerCase()}var B,k,F,I,G,Q=Q||function(e,t){var n={},r=n.lib={},o=function(){},i=r.Base={extend:function(e){o.prototype=this;var t=new o;return e&&t.mixIn(e),t.hasOwnProperty("init")||(t.init=function(){t.$super.init.apply(this,arguments)}),t.init.prototype=t,t.$super=this,t},create:function(){var e=this.extend();return e.init.apply(e,arguments),e},init:function(){},mixIn:function(e){for(var t in e)e.hasOwnProperty(t)&&(this[t]=e[t]);e.hasOwnProperty("toString")&&(this.toString=e.toString)},clone:function(){return this.init.prototype.extend(this)}},a=r.WordArray=i.extend({init:function(e,t){e=this.words=e||[],this.sigBytes=null!=t?t:4*e.length},toString:function(e){return(e||s).stringify(this)},concat:function(e){var t=this.words,n=e.words,r=this.sigBytes;if(e=e.sigBytes,this.clamp(),r%4)for(var o=0;e>o;o++)t[r+o>>>2]|=(n[o>>>2]>>>24-o%4*8&255)<<24-(r+o)%4*8;else if(n.length>65535)for(o=0;e>o;o+=4)t[r+o>>>2]=n[o>>>2];else t.push.apply(t,n);return this.sigBytes+=e,this},clamp:function(){var t=this.words,n=this.sigBytes;t[n>>>2]&=4294967295<<32-n%4*8,t.length=e.ceil(n/4)},clone:function(){var e=i.clone.call(this);return e.words=this.words.slice(0),e},random:function(t){for(var n=[],r=0;t>r;r+=4)n.push(4294967296*e.random()|0);return new a.init(n,t)}}),c=n.enc={},s=c.Hex={stringify:function(e){var t=e.words;e=e.sigBytes;for(var n=[],r=0;e>r;r++){var o=t[r>>>2]>>>24-r%4*8&255;n.push((o>>>4).toString(16)),n.push((15&o).toString(16))}return n.join("")},parse:function(e){for(var t=e.length,n=[],r=0;t>r;r+=2)n[r>>>3]|=parseInt(e.substr(r,2),16)<<24-r%8*4;return new a.init(n,t/2)}},u=c.Latin1={stringify:function(e){var t=e.words;e=e.sigBytes;for(var n=[],r=0;e>r;r++)n.push(String.fromCharCode(t[r>>>2]>>>24-r%4*8&255));return n.join("")},parse:function(e){for(var t=e.length,n=[],r=0;t>r;r++)n[r>>>2]|=(255&e.charCodeAt(r))<<24-r%4*8;return new a.init(n,t)}},l=c.Utf8={stringify:function(e){try{return decodeURIComponent(escape(u.stringify(e)))}catch(e){throw Error("Malformed UTF-8 data")}},parse:function(e){return u.parse(unescape(encodeURIComponent(e)))}},f=r.BufferedBlockAlgorithm=i.extend({reset:function(){this._data=new a.init,this._nDataBytes=0},_append:function(e){"string"==typeof e&&(e=l.parse(e)),this._data.concat(e),this._nDataBytes+=e.sigBytes},_process:function(t){var n=this._data,r=n.words,o=n.sigBytes,i=this.blockSize,c=o/(4*i);if(c=t?e.ceil(c):e.max((0|c)-this._minBufferSize,0),o=e.min(4*(t=c*i),o),t){for(var s=0;t>s;s+=i)this._doProcessBlock(r,s);s=r.splice(0,t),n.sigBytes-=o}return new a.init(s,o)},clone:function(){var e=i.clone.call(this);return e._data=this._data.clone(),e},_minBufferSize:0});r.Hasher=f.extend({cfg:i.extend(),init:function(e){this.cfg=this.cfg.extend(e),this.reset()},reset:function(){f.reset.call(this),this._doReset()},update:function(e){return this._append(e),this._process(),this},finalize:function(e){return e&&this._append(e),this._doFinalize()},blockSize:16,_createHelper:function(e){return function(t,n){return new e.init(n).finalize(t)}},_createHmacHelper:function(e){return function(t,n){return new d.HMAC.init(e,n).finalize(t)}}});var d=n.algo={};return n}(Math);k=(G=(B=Q).lib).WordArray,I=[],G=B.algo.SHA1=(F=G.Hasher).extend({_doReset:function(){this._hash=new k.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(e,t){for(var n=this._hash.words,r=n[0],o=n[1],i=n[2],a=n[3],c=n[4],s=0;80>s;s++){if(16>s)I[s]=0|e[t+s];else{var u=I[s-3]^I[s-8]^I[s-14]^I[s-16];I[s]=u<<1|u>>>31}u=(r<<5|r>>>27)+c+I[s],u=20>s?u+(1518500249+(o&i|~o&a)):40>s?u+(1859775393+(o^i^a)):60>s?u+((o&i|o&a|i&a)-1894007588):u+((o^i^a)-899497514),c=a,a=i,i=o<<30|o>>>2,o=r,r=u}n[0]=n[0]+r|0,n[1]=n[1]+o|0,n[2]=n[2]+i|0,n[3]=n[3]+a|0,n[4]=n[4]+c|0},_doFinalize:function(){var e=this._data,t=e.words,n=8*this._nDataBytes,r=8*e.sigBytes;return t[r>>>5]|=128<<24-r%32,t[14+(r+64>>>9<<4)]=Math.floor(n/4294967296),t[15+(r+64>>>9<<4)]=n,e.sigBytes=4*t.length,this._process(),this._hash},clone:function(){var e=F.clone.call(this);return e._hash=this._hash.clone(),e}}),B.SHA1=F._createHelper(G),B.HmacSHA1=F._createHmacHelper(G),function(){var e=Q.enc.Utf8;Q.algo.HMAC=Q.lib.Base.extend({init:function(t,n){t=this._hasher=new t.init,"string"==typeof n&&(n=e.parse(n));var r=t.blockSize,o=4*r;n.sigBytes>o&&(n=t.finalize(n)),n.clamp();for(var i=this._oKey=n.clone(),a=this._iKey=n.clone(),c=i.words,s=a.words,u=0;r>u;u++)c[u]^=1549556828,s[u]^=909522486;i.sigBytes=a.sigBytes=o,this.reset()},reset:function(){var e=this._hasher;e.reset(),e.update(this._iKey)},update:function(e){return this._hasher.update(e),this},finalize:function(e){var t=this._hasher;return e=t.finalize(e),t.reset(),t.finalize(this._oKey.clone().concat(e))}})}();var j="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||void 0!==j&&j||{},W={searchParams:"URLSearchParams"in j,iterable:"Symbol"in j&&"iterator"in Symbol,blob:"FileReader"in j&&"Blob"in j&&function(){try{return new Blob,!0}catch(a){return!1}}(),formData:"FormData"in j,arrayBuffer:"ArrayBuffer"in j};if(W.arrayBuffer)var $=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],U=ArrayBuffer.isView||function(e){return e&&$.indexOf(Object.prototype.toString.call(e))>-1};function K(e){if("string"!=typeof e&&(e+=""),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(e)||""===e)throw new TypeError('Invalid character in header field name: "'+e+'"');return e.toLowerCase()}function z(e){return"string"!=typeof e&&(e+=""),e}function V(e){var t={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return W.iterable&&(t[Symbol.iterator]=function(){return t}),t}function q(e){this.map={},e instanceof q?e.forEach((function(e,t){this.append(t,e)}),this):Array.isArray(e)?e.forEach((function(e){this.append(e[0],e[1])}),this):e&&Object.getOwnPropertyNames(e).forEach((function(t){this.append(t,e[t])}),this)}function ee(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function te(e){return new Promise((function(t,n){e.onload=function(){t(e.result)},e.onerror=function(){n(e.error)}}))}function ne(e){var t=new FileReader,n=te(t);return t.readAsArrayBuffer(e),n}function re(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function oe(){return this.bodyUsed=!1,this._initBody=function(e){var t;this.bodyUsed=this.bodyUsed,this._bodyInit=e,e?"string"==typeof e?this._bodyText=e:W.blob&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:W.formData&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:W.searchParams&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=""+e:W.arrayBuffer&&W.blob&&(t=e)&&DataView.prototype.isPrototypeOf(t)?(this._bodyArrayBuffer=re(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):W.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(e)||U(e))?this._bodyArrayBuffer=re(e):this._bodyText=e=Object.prototype.toString.call(e):this._bodyText="",this.headers.get("content-type")||("string"==typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):W.searchParams&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},W.blob&&(this.blob=function(){var e=ee(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){if(this._bodyArrayBuffer){var e=ee(this);return e||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer))}return this.blob().then(ne)}),this.text=function(){var e,t,n,r=ee(this);if(r)return r;if(this._bodyBlob)return e=this._bodyBlob,t=new FileReader,n=te(t),t.readAsText(e),n;if(this._bodyArrayBuffer)return Promise.resolve(function(e){for(var t=new Uint8Array(e),n=Array(t.length),r=0;t.length>r;r++)n[r]=String.fromCharCode(t[r]);return n.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},W.formData&&(this.formData=function(){return this.text().then(ce)}),this.json=function(){return this.text().then(JSON.parse)},this}q.prototype.append=function(e,t){e=K(e),t=z(t);var n=this.map[e];this.map[e]=n?n+", "+t:t},q.prototype.delete=function(e){delete this.map[K(e)]},q.prototype.get=function(e){return e=K(e),this.has(e)?this.map[e]:null},q.prototype.has=function(e){return this.map.hasOwnProperty(K(e))},q.prototype.set=function(e,t){this.map[K(e)]=z(t)},q.prototype.forEach=function(e,t){for(var n in this.map)this.map.hasOwnProperty(n)&&e.call(t,this.map[n],n,this)},q.prototype.keys=function(){var e=[];return this.forEach((function(t,n){e.push(n)})),V(e)},q.prototype.values=function(){var e=[];return this.forEach((function(t){e.push(t)})),V(e)},q.prototype.entries=function(){var e=[];return this.forEach((function(t,n){e.push([n,t])})),V(e)},W.iterable&&(q.prototype[Symbol.iterator]=q.prototype.entries);var ie=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function ae(e,t){if(!(this instanceof ae))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');var n,r,o=(t=t||{}).body;if(e instanceof ae){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new q(e.headers)),this.method=e.method,this.mode=e.mode,this.signal=e.signal,o||null==e._bodyInit||(o=e._bodyInit,e.bodyUsed=!0)}else this.url=e+"";if(this.credentials=t.credentials||this.credentials||"same-origin",!t.headers&&this.headers||(this.headers=new q(t.headers)),this.method=(r=(n=t.method||this.method||"GET").toUpperCase(),ie.indexOf(r)>-1?r:n),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal||function(){if("AbortController"in j)return(new AbortController).signal}(),this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&o)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(o),!("GET"!==this.method&&"HEAD"!==this.method||"no-store"!==t.cache&&"no-cache"!==t.cache)){var i=/([?&])_=[^&]*/;i.test(this.url)?this.url=this.url.replace(i,"$1_="+(new Date).getTime()):this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime()}}function ce(e){var t=new FormData;return e.trim().split("&").forEach((function(e){if(e){var n=e.split("="),r=n.shift().replace(/\+/g," "),o=n.join("=").replace(/\+/g," ");t.append(decodeURIComponent(r),decodeURIComponent(o))}})),t}function se(e,t){if(!(this instanceof se))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');t||(t={}),this.type="default",this.status=void 0===t.status?200:t.status,this.ok=this.status>=200&&300>this.status,this.statusText=void 0===t.statusText?"":""+t.statusText,this.headers=new q(t.headers),this.url=t.url||"",this._initBody(e)}ae.prototype.clone=function(){return new ae(this,{body:this._bodyInit})},oe.call(ae.prototype),oe.call(se.prototype),se.prototype.clone=function(){return new se(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new q(this.headers),url:this.url})},se.error=function(){var e=new se(null,{status:0,statusText:""});return e.type="error",e};var ue=[301,302,303,307,308];se.redirect=function(e,t){if(-1===ue.indexOf(t))throw new RangeError("Invalid status code");return new se(null,{status:t,headers:{location:e}})};var le=j.DOMException;try{new le}catch(a){(le=function(e,t){this.message=e,this.name=t,this.stack=Error(e).stack}).prototype=Object.create(Error.prototype),le.prototype.constructor=le}function fe(e,t){return new Promise((function(n,r){var o=new ae(e,t);if(o.signal&&o.signal.aborted)return r(new le("Aborted","AbortError"));var i=new XMLHttpRequest;function c(){i.abort()}i.onload=function(){var e,t,r={status:i.status,statusText:i.statusText,headers:(e=i.getAllResponseHeaders()||"",t=new q,e.replace(/\r?\n[\t ]+/g," ").split("\r").map((function(e){return 0===e.indexOf("\n")?e.substr(1,e.length):e})).forEach((function(e){var n=e.split(":"),r=n.shift().trim();if(r){var o=n.join(":").trim();t.append(r,o)}})),t)};r.url="responseURL"in i?i.responseURL:r.headers.get("X-Request-URL");var o="response"in i?i.response:i.responseText;setTimeout((function(){n(new se(o,r))}),0)},i.onerror=function(){setTimeout((function(){r(new TypeError("Network request failed"))}),0)},i.ontimeout=function(){setTimeout((function(){r(new TypeError("Network request failed"))}),0)},i.onabort=function(){setTimeout((function(){r(new le("Aborted","AbortError"))}),0)},i.open(o.method,function(t){try{return""===t&&j.location.href?j.location.href:t}catch(e){return t}}(o.url),!0),"include"===o.credentials?i.withCredentials=!0:"omit"===o.credentials&&(i.withCredentials=!1),"responseType"in i&&(W.blob?i.responseType="blob":W.arrayBuffer&&o.headers.get("Content-Type")&&-1!==o.headers.get("Content-Type").indexOf("application/octet-stream")&&(i.responseType="arraybuffer")),!t||"object"!==a(t.headers)||t.headers instanceof q?o.headers.forEach((function(e,t){i.setRequestHeader(t,e)})):Object.getOwnPropertyNames(t.headers).forEach((function(e){i.setRequestHeader(e,z(t.headers[e]))})),o.signal&&(o.signal.addEventListener("abort",c),i.onreadystatechange=function(){4===i.readyState&&o.signal.removeEventListener("abort",c)}),i.send(void 0===o._bodyInit?null:o._bodyInit)}))}fe.polyfill=!0,j.fetch||(j.fetch=fe,j.Headers=q,j.Request=ae,j.Response=se);var de,pe={User:{fetchUserInfoById:"/user/info",updateUserInfo:"/user/update",getBlackUserList:"/user/black/list",addToBlackUserList:"/user/black/add",removeFromBlacklist:"/user/black/remove"},Group:{create:"/group/create",update:"/group/edit",dissolve:"/group/dissolve",fetchGroupInfoById:"/group/get",list:"/group/list",transferLeader:"/group/transferLeader",addUser:"/group/user/add",leave:"/group/user/leave",remove:"/group/user/delete",memberList:"/group/user/list",adminstrator:"/group/user/set/adminstrator",applyList:"/group/user/apply/list",handleApply:"/group/user/apply/change",setMute:"/group/user/set/mute"},Conversation:{fetchConversationList:"/conversation/list",clearConversationUnread:"/conversation/update/unread",deleteConversation:"/conversation/delete"},Message:{sendMessage:"/message/save",fetchHistoryMessageList:"/v117/message/list",deleteMessage:"/message/delete",revokeMessage:"/message/revoke"},Friend:{fetchList:"/friend/list",fetchApplyList:"/friend/apply/list",setRead:"/friend/apply/set/read",acceptApply:"/friend/apply/accept",refuseApply:"/friend/apply/refuse",addFriend:"/friend/add",deleteFriend:"/friend/delete",updateFriend:"/friend/update"},Push:{bindClientId:"/user/bind/push/id"},Upload:{sign:"/upload/sign",normal:"/upload",image:"/upload/image",video:"/upload/video"}};function he(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"GET",r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return new Promise((function(o,i){if(de.uni)e.request({url:de.defaults.baseURL+t,data:r,method:n,header:{"content-type":"application/json",token:null!=de.token?de.token:""},success:function(e){if(null==e.data)return i({code:p.NORMAL_ERROR.code,message:e.message?e.message:p.NORMAL_ERROR.describe,data:null});(e=e.data).code===p.NORMAL_SUCCESS.code?o(e.data?e.data:null):i(e)},fail:function(e){h(1,e),i({code:p.NORMAL_ERROR.code,message:JSON.stringify(e),data:null})}});else{var a={method:n,body:JSON.stringify(r),headers:{"Content-Type":"application/json",token:null!=de.token?de.token:""}};"GET"==n&&(t+=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"brackets",n=1>=arguments.length||void 0===arguments[1]||arguments[1]?"?":"",r=[];-1==["indices","brackets","repeat","comma"].indexOf(t)&&(t="brackets");var o=function(n){var o=e[n];if(["",void 0,null].indexOf(o)>=0)return"continue";if(o.constructor===Array)switch(t){case"indices":for(var i=0;o.length>i;i++)r.push(n+"["+i+"]="+o[i]);break;case"brackets":default:o.forEach((function(e){r.push(n+"[]="+e)}));break;case"repeat":o.forEach((function(e){r.push(n+"="+e)}));break;case"comma":var a="";o.forEach((function(e){a+=(a?",":"")+e})),r.push(n+"="+a)}else r.push(n+"="+o)};for(var i in e)o(i);return r.length?n+r.join("&"):""}(r,!0),delete a.body),fe(de.defaults.baseURL+t,a).then(function(){var e=Y(w.mark((function e(t){var n;return w.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.json();case 2:if(null!=(n=e.sent)){e.next=5;break}return e.abrupt("return",i({code:p.NORMAL_ERROR.code,message:n.message?n.message:p.NORMAL_ERROR.describe,data:null}));case 5:n.code===p.NORMAL_SUCCESS.code?o(n.data?n.data:null):i(n);case 7:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),(function(e){h(1,e),i({code:p.NORMAL_ERROR.code,message:JSON.stringify(e.message),data:null})}))}}))}function ye(t){return e.uploadFile({url:t.url,name:t.name,formData:t.data,header:t.header,filePath:t.filePath,success:function(e){if(t.ignoreResult)m(t,p.NORMAL_SUCCESS.describe);else{null==e.data&&reject(null);var n=(e=JSON.parse(e.data)).code;n===p.NORMAL_SUCCESS.code?(console.log(111),console.log(e.data),m(t,p.NORMAL_SUCCESS.describe,e.data?e.data:null)):b(t,n,e.message)}},fail:function(e){h(1,e),b(t,p.NORMAL_ERROR.code,e)}})}function ge(t){return e.downloadFile({url:t.url,header:t.header,success:function(e){200===e.statusCode?m(t,p.NORMAL_SUCCESS.describe,e.tempFilePath):b(t,p.DOWNLOAD_ERROR.code,p.DOWNLOAD_ERROR.code.describe)},fail:function(e){h(1,e),b(t,p.DOWNLOAD_ERROR.code,p.DOWNLOAD_ERROR.code.describe)}})}function ve(){return me.apply(this,arguments)}function me(){return(me=Y(w.mark((function e(){var t;return w.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,he(pe.Upload.sign,"GET",{});case 2:(t=e.sent).code?h(1,"媒体上传参数获取失败",!0):de.mediaUploadParams=t;case 4:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function be(){var e=de.defaults.baseURL;return"cos"==de.mediaUploadParams.storage?e="https://".concat(de.mediaUploadParams.bucket,".cos.").concat(de.mediaUploadParams.region,".myqcloud.com"):"oss"==de.mediaUploadParams.storage&&(e="https://".concat(de.mediaUploadParams.bucket,".").concat(de.mediaUploadParams.region,".aliyuncs.com")),e}function Se(){return de.mediaUploadParams.customDomain?de.mediaUploadParams.customDomain:be()}function xe(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"files",n=e;if(!de.mediaUploadParams.baseDir&&"local"===!de.mediaUploadParams.storage)return n;var r=de.mediaUploadParams.baseDir,o=new Date,i=t+"/"+o.getFullYear()+"-"+JSON.stringify(o.getMonth()+1).padStart(2,0)+"-"+JSON.stringify(o.getDate()).padStart(2,0)+"/"+e;if("local"!==de.mediaUploadParams.storage){if("/"==r.substring(0,1)&&(r=r.substring(1)),"/"===r.substring(r.length-1,r.length)&&(r=r.substring(0,r.length)+r.substring(r.length+1)),!r)return i;n=r+"/"+i}else n=i;return n}function Ce(e,t,n){return _e.apply(this,arguments)}function _e(){return(_e=Y(w.mark((function e(t,n,r){var o,i,a,c,s,u,l,f,d,p;return w.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(o=parseInt((new Date).getTime()/1e3)-1,de.mediaUploadParams&&de.mediaUploadParams.expireTime>=o){e.next=4;break}return e.next=4,ve();case 4:return c=de.mediaUploadParams.secretId,s=(i=de.mediaUploadParams.nowTime)+";"+(a=de.mediaUploadParams.expireTime),l=de.mediaUploadParams.signKey,f="sha1\n"+(u=i+";"+a)+"\n"+Q.SHA1(t+"\n"+n+"\n\n"+r+"\n")+"\n",d=Q.HmacSHA1(f,l),p="q-sign-algorithm=sha1&q-ak=".concat(c,"&q-sign-time=").concat(s,"&q-key-time=").concat(u,"&q-header-list=&q-url-param-list=&q-signature=").concat(d),e.abrupt("return",p);case 16:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function Le(){return Pe.apply(this,arguments)}function Pe(){return(Pe=Y(w.mark((function e(){var t;return w.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=parseInt((new Date).getTime()/1e3)-1,de.mediaUploadParams&&de.mediaUploadParams.expireTime>=t){e.next=4;break}return e.next=4,ve();case 4:return e.abrupt("return",de.mediaUploadParams);case 5:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function Ye(e){if(!de.checkLogged())return b(e,p.LOGIN_EXPIRE.code,p.LOGIN_EXPIRE.describe);if(!de.mediaUploadParams)return b(e,p.PARAMS_ERROR.code,"上传参数异常,暂无法使用此接口");var t=de.mediaUploadParams,n=e.filename.substring(e.filename.lastIndexOf(".")),r=H((new Date).getTime()+"_"+e.filename)+"_other"+n,o=be(),i=Se()+"/"+xe(r);if("cos"===t.storage)setTimeout(Y(w.mark((function t(){var n,a;return w.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Ce("post","/","");case 2:n=t.sent,a=ye({url:o,name:"file",data:{key:xe(r),success_action_status:200,Signature:n,"Content-Type":""},header:{Authorization:n},filePath:e.filepath,ignoreResult:!0,success:function(){m(e,p.NORMAL_SUCCESS.describe,{url:i})},fail:function(){b(e,p.COS_UPLOAD_ERROR.code,p.COS_UPLOAD_ERROR.describe)}}),void 0!==e.onProgress&&"function"==typeof e.onProgress&&a.onProgressUpdate((function(t){e.onProgress(t)}));case 5:case"end":return t.stop()}}),t)}))),0);else if("oss"===t.storage)setTimeout(Y(w.mark((function n(){var a;return w.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,Le();case 2:a=ye({url:o,name:"file",data:{key:xe(r),policy:t.policyBase64,OSSAccessKeyId:t.accessKeyId,success_action_status:200,signature:t.signature},filePath:e.filepath,ignoreResult:!0,success:function(){m(e,p.NORMAL_SUCCESS.describe,{url:i})},fail:function(){b(e,p.OSS_UPLOAD_ERROR.code,p.OSS_UPLOAD_ERROR.describe)}}),void 0!==e.onProgress&&"function"==typeof e.onProgress&&a.onProgressUpdate((function(t){e.onProgress(t)}));case 4:case"end":return n.stop()}}),n)}))));else if("local"===t.storage){var a=ye({url:o+pe.Upload.normal,name:"file",data:{key:xe(r)},header:{token:de.token},filePath:e.filepath,ignoreResult:!1,success:function(t){m(e,p.NORMAL_SUCCESS.describe,{url:Se()+t.data.url})},fail:function(){b(e,p.UPLOAD_ERROR.code,p.UPLOAD_ERROR.describe)}});void 0!==e.onProgress&&"function"==typeof e.onProgress&&a.onProgressUpdate((function(t){e.onProgress(t)}))}}function Te(e){if(!de.mediaUploadParams)return b(e,p.PARAMS_ERROR.code,"上传参数异常,暂无法使用此接口");var t=de.mediaUploadParams,n=e.filename.substring(e.filename.lastIndexOf(".")),r=H((new Date).getTime()+"_"+e.filename)+"_image"+n,o=be(),i=Se()+"/"+xe(r,"image");if("cos"===t.storage)setTimeout(Y(w.mark((function t(){var n,a;return w.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Ce("post","/","");case 2:n=t.sent,a=ye({url:o,name:"file",data:{key:xe(r,"image"),success_action_status:200,Signature:n,"Content-Type":""},header:{Authorization:n},filePath:e.filepath,ignoreResult:!0,success:function(){var t=0,n=0;if(e.height>198){var r=198/e.height;t=parseInt(e.height*r),n=parseInt(e.width*r)}else if(e.width>198){var o=198/e.width;t=parseInt(e.height*o),n=parseInt(e.width*o)}m(e,p.NORMAL_SUCCESS.describe,{url:i,thumbnailUrl:i+"?imageMogr2/thumbnail/"+n+"x"+t,thumbnailWidth:n,thumbnailHeight:t})},fail:function(){b(e,p.COS_UPLOAD_ERROR.code,p.COS_UPLOAD_ERROR.describe)}}),void 0!==e.onProgress&&"function"==typeof e.onProgress&&a.onProgressUpdate((function(t){e.onProgress(t)}));case 5:case"end":return t.stop()}}),t)}))),0);else if("oss"===t.storage)setTimeout(Y(w.mark((function n(){var a;return w.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,Le();case 2:a=ye({url:o,name:"file",data:{key:xe(r,"image"),policy:t.policyBase64,OSSAccessKeyId:t.accessKeyId,success_action_status:200,signature:t.signature},filePath:e.filepath,ignoreResult:!0,success:function(){var t=0,n=0;if(e.height>198){var r=198/e.height;t=parseInt(e.height*r),n=parseInt(e.width*r)}else if(e.width>198){var o=198/e.width;t=parseInt(e.height*o),n=parseInt(e.width*o)}m(e,p.NORMAL_SUCCESS.describe,{url:i,thumbnailUrl:i+"?x-oss-process=image/resize,m_fixed,h_"+t+",w_"+n,thumbnailWidth:n,thumbnailHeight:t})},fail:function(){b(e,p.OSS_UPLOAD_ERROR.code,p.OSS_UPLOAD_ERROR.describe)}}),void 0!==e.onProgress&&"function"==typeof e.onProgress&&a.onProgressUpdate((function(t){e.onProgress(t)}));case 4:case"end":return n.stop()}}),n)}))));else if("local"===t.storage){var a=ye({url:o+pe.Upload.image,name:"file",data:{key:xe(r,"image")},header:{token:de.token},filePath:e.filepath,ignoreResult:!1,success:function(t){m(e,p.NORMAL_SUCCESS.describe,{url:Se()+t.data.url,thumbnailUrl:Se()+t.data.thumbnailUrl,thumbnailWidth:t.data.thumbnailWidth,thumbnailHeight:t.data.thumbnailHeight})},fail:function(){b(e,p.UPLOAD_ERROR.code,p.UPLOAD_ERROR.describe)}});void 0!==e.onProgress&&"function"==typeof e.onProgress&&a.onProgressUpdate((function(t){e.onProgress(t)}))}}function Me(e){return{conversationId:e.to,conversationType:e.conversationType,fromUserInfo:{nickname:de.user.nickname,avatarUrl:de.user.avatarUrl},from:de.userId,to:e.to,type:e.type,isRead:0,isRevoke:0,isDeleted:0,status:"unSend",time:(new Date).getTime(),body:e.body,extra:e.extra?e.extra:""}}function De(t){return de.uni?e.getStorageSync(t):localStorage.getItem(t)?JSON.parse(localStorage.getItem(t)):null}function Ze(t,n){de.uni?e.setStorageSync(t,n):localStorage.setItem(t,JSON.stringify(n))}function we(e){if(!de.checkLogged())return v(p.LOGIN_EXPIRE.code,p.LOGIN_EXPIRE.describe);if(null==e||!e.toId)return v(p.PARAMS_ERROR.code,"toId 不能为空");if(!e.conversationType)return v(p.PARAMS_ERROR.code,"conversationType 不能为空");if(!e.body||!e.body.text)return v(p.PARAMS_ERROR.code,"text 不能为空");var t={to:e.toId,type:d.MESSAGE_TYPE.TEXT,conversationType:e.conversationType,body:{text:e.body.text}};return e.extra&&(t.extra=e.extra),Me(t)}function Oe(e){if(!de.checkLogged())return v(p.LOGIN_EXPIRE.code,p.LOGIN_EXPIRE.describe);if(null==e||!e.toId)return v(p.PARAMS_ERROR.code,"toId 不能为空");if(!e.conversationType)return v(p.PARAMS_ERROR.code,"conversationType 不能为空");if(e.conversationType!=d.CONVERSATION_TYPE.GROUP)return v(p.PARAMS_ERROR.code,"仅群聊支持文本@消息");if(!e.body||!e.body.text)return v(p.PARAMS_ERROR.code,"text 不能为空");if(!e.body.atUserIdList)return v(p.PARAMS_ERROR.code,"atUserIdList 不能为空");if("[object Array]"!==Object.prototype.toString.call(e.body.atUserIdList))return v(p.PARAMS_ERROR.code,"atUserIdList 应为用户ID组成的字符串数组");var t={to:e.toId,type:d.MESSAGE_TYPE.TEXT_AT,conversationType:e.conversationType,body:{text:e.body.text,atUserIdList:e.body.atUserIdList}};return e.extra&&(t.extra=e.extra),Me(t)}function Ae(e){if(!de.checkLogged())return v(p.LOGIN_EXPIRE.code,p.LOGIN_EXPIRE.describe);if(null==e||!e.toId)return v(p.PARAMS_ERROR.code,"toId 不能为空");if(!e.conversationType)return v(p.PARAMS_ERROR.code,"conversationType 不能为空");if(!e.body||!e.body.file)return v(p.PARAMS_ERROR.code,"file 不能为空");if(!e.body.file.tempFilePath)return v(p.PARAMS_ERROR.code,"tempFilePath 不能为空");if(!e.body.file.width)return v(p.PARAMS_ERROR.code,"width 不能为空");if(!e.body.file.height)return v(p.PARAMS_ERROR.code,"height 不能为空");var t={to:e.toId,type:d.MESSAGE_TYPE.IMAGE,conversationType:e.conversationType,body:{originalUrl:e.body.file.tempFilePath,originalWidth:e.body.file.width,originalHeight:e.body.file.height,thumbnailUrl:e.body.file.tempFilePath,thumbnailWidth:e.body.file.width,thumbnailHeight:e.body.file.height}};e.extra&&(t.extra=e.extra);var n=Me(t);return void 0!==e.onProgress&&"function"==typeof e.onProgress&&(n.onProgress=e.onProgress),n}function Xe(e){if(!de.checkLogged())return v(p.LOGIN_EXPIRE.code,p.LOGIN_EXPIRE.describe);if(null==e||!e.toId)return v(p.PARAMS_ERROR.code,"toId 不能为空");if(!e.conversationType)return v(p.PARAMS_ERROR.code,"conversationType 不能为空");if(!e.body)return v(p.PARAMS_ERROR.code,"body 不能为空");if(!e.body.originalUrl)return v(p.PARAMS_ERROR.code,"originalUrl 不能为空");if(!e.body.originalWidth)return v(p.PARAMS_ERROR.code,"originalWidth 不能为空");if(!e.body.originalHeight)return v(p.PARAMS_ERROR.code,"originalHeight 不能为空");if(!e.body.thumbnailUrl)return v(p.PARAMS_ERROR.code,"thumbnailUrl 不能为空");if(!e.body.thumbnailWidth)return v(p.PARAMS_ERROR.code,"thumbnailWidth 不能为空");if(!e.body.thumbnailHeight)return v(p.PARAMS_ERROR.code,"thumbnailHeight 不能为空");var t={to:e.toId,type:d.MESSAGE_TYPE.IMAGE,conversationType:e.conversationType,body:{originalUrl:e.body.originalUrl,originalWidth:e.body.originalWidth,originalHeight:e.body.originalHeight,thumbnailUrl:e.body.thumbnailUrl,thumbnailWidth:e.body.thumbnailWidth,thumbnailHeight:e.body.thumbnailHeight}};return e.extra&&(t.extra=e.extra),Me(t)}function Ne(e){if(!de.checkLogged())return v(p.LOGIN_EXPIRE.code,p.LOGIN_EXPIRE.describe);if(null==e||!e.toId)return v(p.PARAMS_ERROR.code,"toId 不能为空");if(!e.conversationType)return v(p.PARAMS_ERROR.code,"conversationType 不能为空");if(!e.body.address)return v(p.PARAMS_ERROR.code,"address 不能为空");if(!e.body.description)return v(p.PARAMS_ERROR.code,"description 不能为空");if(!e.body.longitude)return v(p.PARAMS_ERROR.code,"longitude 不能为空");if(!e.body.latitude)return v(p.PARAMS_ERROR.code,"latitude 不能为空");var t={to:e.toId,type:d.MESSAGE_TYPE.LOCATION,conversationType:e.conversationType,body:{address:e.body.address,description:e.body.description,longitude:e.body.longitude,latitude:e.body.latitude}};return e.extra&&(t.extra=e.extra),Me(t)}function Re(e){if(!de.checkLogged())return v(p.LOGIN_EXPIRE.code,p.LOGIN_EXPIRE.describe);if(null==e||!e.toId)return v(p.PARAMS_ERROR.code,"toId 不能为空");if(!e.conversationType)return v(p.PARAMS_ERROR.code,"conversationType 不能为空");if(!e.body||!e.body.file)return v(p.PARAMS_ERROR.code,"file 不能为空");if(!e.body.file.tempFilePath)return v(p.PARAMS_ERROR.code,"tempFilePath 不能为空");if(!e.body.file.duration)return v(p.PARAMS_ERROR.code,"duration 不能为空");var t={to:e.toId,type:d.MESSAGE_TYPE.AUDIO,conversationType:e.conversationType,body:{audioUrl:e.body.file.tempFilePath,duration:e.body.file.duration}};e.extra&&(t.extra=e.extra);var n=Me(t);return void 0!==e.onProgress&&"function"==typeof e.onProgress&&(n.onProgress=e.onProgress),n}function Ee(e){if(!de.checkLogged())return v(p.LOGIN_EXPIRE.code,p.LOGIN_EXPIRE.describe);if(null==e||!e.toId)return v(p.PARAMS_ERROR.code,"toId 不能为空");if(!e.conversationType)return v(p.PARAMS_ERROR.code,"conversationType 不能为空");if(!e.body)return v(p.PARAMS_ERROR.code,"body 不能为空");if(!e.body.audioUrl)return v(p.PARAMS_ERROR.code,"audioUrl 不能为空");if(!e.body.duration)return v(p.PARAMS_ERROR.code,"duration 不能为空");var t={to:e.toId,type:d.MESSAGE_TYPE.AUDIO,conversationType:e.conversationType,body:{audioUrl:e.body.audioUrl,duration:e.body.duration}};return e.extra&&(t.extra=e.extra),Me(t)}function Je(e){if(!de.checkLogged())return v(p.LOGIN_EXPIRE.code,p.LOGIN_EXPIRE.describe);if(null==e||!e.toId)return v(p.PARAMS_ERROR.code,"toId 不能为空");if(!e.conversationType)return v(p.PARAMS_ERROR.code,"conversationType 不能为空");if(!e.body||!e.body.file)return v(p.PARAMS_ERROR.code,"file 不能为空");if(!e.body.file.duration)return v(p.PARAMS_ERROR.code,"duration 不能为空");if("number"!=typeof e.body.file.duration)return v(p.PARAMS_ERROR.code,"duration 参数请传入整型");if(!e.body.file.tempFilePath)return v(p.PARAMS_ERROR.code,"tempFilePath 不能为空");if(!e.body.file.width)return v(p.PARAMS_ERROR.code,"width 不能为空");if(!e.body.file.height)return v(p.PARAMS_ERROR.code,"height 不能为空");var t={to:e.toId,type:d.MESSAGE_TYPE.VIDEO,conversationType:e.conversationType,body:{videoUrl:e.body.file.tempFilePath,thumbnailUrl:"",duration:e.body.file.duration,videoWidth:e.body.file.width,videoHeight:e.body.file.height}};e.extra&&(t.extra=e.extra);var n=Me(t);return void 0!==e.onProgress&&"function"==typeof e.onProgress&&(n.onProgress=e.onProgress),n}function He(e){if(!de.checkLogged())return v(p.LOGIN_EXPIRE.code,p.LOGIN_EXPIRE.describe);if(null==e||!e.toId)return v(p.PARAMS_ERROR.code,"toId 不能为空");if(!e.conversationType)return v(p.PARAMS_ERROR.code,"conversationType 不能为空");if(!e.body)return v(p.PARAMS_ERROR.code,"file 不能为空");if(!e.body.duration)return v(p.PARAMS_ERROR.code,"duration 不能为空");if("number"!=typeof e.body.duration)return v(p.PARAMS_ERROR.code,"duration 参数请传入整型");if(!e.body.videoUrl)return v(p.PARAMS_ERROR.code,"tempFilePath 不能为空");if(!e.body.width)return v(p.PARAMS_ERROR.code,"width 不能为空");if(!e.body.height)return v(p.PARAMS_ERROR.code,"height 不能为空");var t={to:e.toId,type:d.MESSAGE_TYPE.VIDEO,conversationType:e.conversationType,body:{videoUrl:e.body.videoUrl,thumbnailUrl:e.body.thumbnailUrl,duration:e.body.duration,videoWidth:e.body.width,videoHeight:e.body.height}};return e.extra&&(t.extra=e.extra),Me(t)}function Be(e){if(!de.checkLogged())return v(p.LOGIN_EXPIRE.code,p.LOGIN_EXPIRE.describe);if(null==e||!e.toId)return v(p.PARAMS_ERROR.code,"toId 不能为空");if(!e.conversationType)return v(p.PARAMS_ERROR.code,"conversationType 不能为空");if(!e.body||!e.body.custom)return v(p.PARAMS_ERROR.code,"自定义消息的 body 和 body.custom 不能为空");var t={to:e.toId,type:d.MESSAGE_TYPE.CUSTOM,conversationType:e.conversationType,body:{custom:e.body.custom}};return e.extra&&(t.extra=e.extra),Me(t)}function ke(e){if(!de.checkLogged())return v(p.LOGIN_EXPIRE.code,p.LOGIN_EXPIRE.describe);if(null==e||!e.toId)return v(p.PARAMS_ERROR.code,"toId 不能为空");if(!e.conversationType)return v(p.PARAMS_ERROR.code,"conversationType 不能为空");if(!e.body||!e.body.title)return v(p.PARAMS_ERROR.code,"title 不能为空");if(!e.body.messageList)return v(p.PARAMS_ERROR.code,"messageList 不能为空");if("[object Array]"!==Object.prototype.toString.call(e.body.messageList))return v(p.PARAMS_ERROR.code,"messageList 应为由Message结构组成的数组");if(!e.body.summaryList)return v(p.PARAMS_ERROR.code,"summaryList 不能为空");if("[object Array]"!==Object.prototype.toString.call(e.body.summaryList))return v(p.PARAMS_ERROR.code,"summaryList 应为字符串数组");var t={to:e.toId,type:d.MESSAGE_TYPE.MERGER,conversationType:e.conversationType,body:{title:e.body.title,messageList:e.body.messageList,summaryList:e.body.summaryList}};return e.extra&&(t.extra=e.extra),Me(t)}function Fe(e){if(!de.checkLogged())return v(p.LOGIN_EXPIRE.code,p.LOGIN_EXPIRE.describe);if(null==e||!e.toId)return v(p.PARAMS_ERROR.code,"toId 不能为空");if(!e.conversationType)return v(p.PARAMS_ERROR.code,"conversationType 不能为空");if(!e.body||!e.body.message)return v(p.PARAMS_ERROR.code,"message 不能为空");var t={to:e.toId,type:d.MESSAGE_TYPE.FORWARD,conversationType:e.conversationType,body:{message:e.body.message}};return e.extra&&(t.extra=e.extra),Me(t)}function Ie(e){if(!de.checkLogged())return b(e,p.LOGIN_EXPIRE.code,p.LOGIN_EXPIRE.describe);if(!e.message)return b(e,p.PARAMS_ERROR.code,"message 不能为空");var t=e.message;t.type==d.MESSAGE_TYPE.IMAGE?function(e){var t=e.message;(t.body.originalUrl.includes("http://")||t.body.originalUrl.includes("https://")||t.body.originalUrl.includes("ftp://"))&&(t.body.thumbnailUrl.includes("http://")||t.body.thumbnailUrl.includes("https://")||t.body.thumbnailUrl.includes("ftp://")),Te({filename:de.token+"_image.png",filepath:t.body.originalUrl,width:t.body.originalWidth,height:t.body.originalHeight,success:function(n){console.log(666),console.log(n),t.body.originalUrl=n.data.url,t.body.thumbnailWidth=n.data.thumbnailWidth,t.body.thumbnailHeight=n.data.thumbnailHeight,t.body.thumbnailUrl=n.data.thumbnailUrl,e.message=t,Ge(e)},fail:function(t){b(e,t.code,t.message),h(1,t)},onProgress:function(e){void 0!==t.onProgress&&"function"==typeof t.onProgress&&t.onProgress(e)}})}(e):t.type==d.MESSAGE_TYPE.VIDEO?function(e){var t=e.message;if(t.body.videoUrl.includes("http://")||t.body.videoUrl.includes("https://")||t.body.videoUrl.includes("ftp://"))return Ge(e);!function(e){if(!de.mediaUploadParams)return h(1,"媒体上传参数获取失败",!0);var t=de.mediaUploadParams,n=e.filename.substring(e.filename.lastIndexOf(".")),r=H((new Date).getTime()+"_"+e.filename)+"_video"+n,o=be(),i=Se()+"/"+xe(r,"video");if("cos"==t.storage)setTimeout(Y(w.mark((function t(){var n,a;return w.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Ce("post","/","");case 2:n=t.sent,a=ye({url:o,name:"file",data:{key:xe(r,"video"),success_action_status:200,Signature:n,"Content-Type":""},header:{Authorization:n},filePath:e.filepath,ignoreResult:!0,success:function(){var t=Y(w.mark((function t(){var n;return w.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Ce("get","/"+xe(r,"video"),"");case 2:n=t.sent,ge({url:o+"/"+xe(r,"video")+"?ci-process=snapshot&time=1",header:{Authorization:n},success:function(t){Te({filename:H(r+t.data)+"_videoThumb.jpg",filepath:t.data,success:function(t){m(e,p.NORMAL_SUCCESS.describe,{videoUrl:i,thumbnailUrl:t.data.url})},fail:function(t){b(e,p.NORMAL_ERROR.code,t)}})},fail:function(){b(e,p.COS_DOWNLOAD_ERROR_1.code,p.COS_DOWNLOAD_ERROR_1.describe)}});case 4:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),fail:function(){b(e,p.COS_UPLOAD_ERROR.code,p.COS_UPLOAD_ERROR.describe)}}),void 0!==e.onProgress&&"function"==typeof e.onProgress&&a.onProgressUpdate((function(t){e.onProgress(t)}));case 5:case"end":return t.stop()}}),t)}))),0);else if("oss"===t.storage)setTimeout(Y(w.mark((function n(){var a;return w.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,Le();case 2:a=ye({url:o,name:"file",data:{key:xe(r,"video"),policy:t.policyBase64,OSSAccessKeyId:t.accessKeyId,success_action_status:200,signature:t.signature},filePath:e.filepath,ignoreResult:!0,success:function(){m(e,p.NORMAL_SUCCESS.describe,{videoUrl:i,thumbnailUrl:i+"?x-oss-process=video/snapshot,t_1000,f_jpg,m_fast"})},fail:function(){b(e,p.OSS_UPLOAD_ERROR.code,p.OSS_UPLOAD_ERROR.describe)}}),void 0!==e.onProgress&&"function"==typeof e.onProgress&&a.onProgressUpdate((function(t){e.onProgress(t)}));case 4:case"end":return n.stop()}}),n)}))));else if("local"===t.storage){var a=ye({url:o+pe.Upload.video,name:"file",data:{key:xe(r,"video")},header:{token:de.token},filePath:e.filepath,ignoreResult:!1,success:function(t){m(e,p.NORMAL_SUCCESS.describe,{url:Se()+t.data.url})},fail:function(){b(e,p.UPLOAD_ERROR.code,p.UPLOAD_ERROR.describe)}});void 0!==e.onProgress&&"function"==typeof e.onProgress&&a.onProgressUpdate((function(t){e.onProgress(t)}))}}({filename:de.token+"_video.mp4",filepath:t.body.videoUrl,success:function(n){var r=n.data.thumbnailUrl;t.body.videoUrl=n.data.videoUrl,t.body.thumbnailUrl=r,e.message=t,Ge(e)},fail:function(t){b(e,t.code,t.message),h(1,t)},onProgress:function(e){void 0!==t.onProgress&&"function"==typeof t.onProgress&&t.onProgress(e)}})}(e):t.type==d.MESSAGE_TYPE.AUDIO?function(e){var t=e.message;if(t.body.audioUrl.includes("http://")||t.body.audioUrl.includes("https://")||t.body.audioUrl.includes("ftp://"))return Ge(e);!function(e){if(!de.mediaUploadParams)return b(e,p.PARAMS_ERROR.code,"上传参数异常,暂无法使用此接口");var t=de.mediaUploadParams,n=e.filename.substring(e.filename.lastIndexOf(".")),r=H((new Date).getTime()+"_"+e.filename)+"_audio"+n,o=be(),i=Se()+"/"+xe(r,"audio");if("cos"===t.storage)setTimeout(Y(w.mark((function t(){var n,a;return w.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Ce("post","/","");case 2:n=t.sent,a=ye({url:o,name:"file",data:{key:xe(r,"audio"),success_action_status:200,Signature:n,"Content-Type":""},header:{Authorization:n},filePath:e.filepath,ignoreResult:!0,success:function(){m(e,p.NORMAL_SUCCESS.describe,{url:i})},fail:function(){b(e,p.COS_UPLOAD_ERROR.code,p.COS_UPLOAD_ERROR.describe)}}),void 0!==e.onProgress&&"function"==typeof e.onProgress&&a.onProgressUpdate((function(t){e.onProgress(t)}));case 5:case"end":return t.stop()}}),t)}))),0);else if("oss"===t.storage)setTimeout(Y(w.mark((function n(){var a;return w.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,Le();case 2:a=ye({url:o,name:"file",data:{key:xe(r,"audio"),policy:t.policyBase64,OSSAccessKeyId:t.accessKeyId,success_action_status:200,signature:t.signature},filePath:e.filepath,ignoreResult:!0,success:function(){m(e,p.NORMAL_SUCCESS.describe,{url:i})},fail:function(){b(e,p.OSS_UPLOAD_ERROR.code,p.OSS_UPLOAD_ERROR.describe)}}),void 0!==e.onProgress&&"function"==typeof e.onProgress&&a.onProgressUpdate((function(t){e.onProgress(t)}));case 4:case"end":return n.stop()}}),n)}))));else if("local"===t.storage){var a=ye({url:o+"/upload",name:"file",data:{key:xe(r,"audio")},header:{token:de.token},filePath:e.filepath,ignoreResult:!1,success:function(t){m(e,p.NORMAL_SUCCESS.describe,{url:Se()+t.data.url})},fail:function(){b(e,p.UPLOAD_ERROR.code,p.UPLOAD_ERROR.describe)}});void 0!==e.onProgress&&"function"==typeof e.onProgress&&a.onProgressUpdate((function(t){e.onProgress(t)}))}}({filename:de.token+"_audio.aac",filepath:t.body.audioUrl,success:function(n){t.body.audioUrl=n.data.url,e.message=t,Ge(e)},fail:function(t){b(e,t.code,t.message),h(1,t)},onProgress:function(e){void 0!==t.onProgress&&"function"==typeof t.onProgress&&t.onProgress(e)}})}(e):Ge(e)}function Ge(e){he(pe.Message.sendMessage,"POST",e.message).then((function(t){Qe(t),m(e,p.NORMAL_SUCCESS.describe,t)})).catch((function(t){b(e,t.code,t.message),h(1,t)}))}function Qe(e){if(!e.conversationId)return h(1,"conversationId 不能为空");var t=$e(e.conversationId),n=t.findIndex((function(t){return t.messageId===e.messageId})),r="yeim:messageList:".concat(H(de.userId),":conversationId:").concat(H(e.conversationId));-1===n?(t.length>19&&t.splice(0,t.length-19),t.push(e),Ze(r,t)):(t[n]=e,Ze(r,t))}function je(e){if(!de.checkLogged())return b(e,p.LOGIN_EXPIRE.code,p.LOGIN_EXPIRE.describe);if(!e.conversationId)return b(e,p.PARAMS_ERROR.code,"conversationId 不能为空");var t=20;if(e.limit&&"number"==typeof e.limit&&(t=e.limit),e.nextMessageId){var n=e.nextMessageId,r=$e(e.conversationId),o=r.findIndex((function(e){return e.messageId===n}));if(-1===o)We(e.conversationId,n,t).then((function(t){m(e,p.NORMAL_SUCCESS.describe,t)})).catch((function(t){b(e,t.code,t.message)}));else{var i=r[o];if(t>(r=r.slice(0,o)).length){var a=null;We(e.conversationId,a=0==r.length?i.messageId:r[0].messageId,t-r.length).then((function(t){var n=r.concat(t.list);n.sort((function(e,t){return e.sequence-t.sequence})),t.list=n,t.nextMessageId||(t.nextMessageId=a),m(e,p.NORMAL_SUCCESS.describe,t)})).catch((function(t){b(e,t.code,t.message)}))}else m(e,p.NORMAL_SUCCESS.describe,{list:r,nextMessageId:r[0].messageId})}}else{var c=$e(e.conversationId);if(t>c.length){var s=null;c.length>0&&(s=c[0].messageId),We(e.conversationId,s,t-c.length).then((function(t){var n=c.concat(t.list);n.sort((function(e,t){return e.sequence-t.sequence})),Ze("yeim:messageList:".concat(H(de.userId),":conversationId:").concat(H(e.conversationId)),n),t.list=n,t.nextMessageId||(t.nextMessageId=s),m(e,p.NORMAL_SUCCESS.describe,t)})).catch((function(t){b(e,t.code,t.message)}))}else m(e,p.NORMAL_SUCCESS.describe,{list:c,nextMessageId:c[0].messageId})}}function We(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:20;return new Promise((function(r,o){he(pe.Message.fetchHistoryMessageList,"GET",{nextMessageId:null==t||""==t?null:t,conversationId:e,limit:n}).then((function(e){var t={},n=e.records;(n=n.reverse()).sort((function(e,t){return e.sequence-t.sequence})),t.list=n,e.nextMessageId&&(t.nextMessageId=e.nextMessageId),r(t)})).catch((function(e){o(e)}))}))}function $e(e){var t=De("yeim:messageList:".concat(H(de.userId),":conversationId:").concat(H(e)));return(t=t||[]).sort((function(e,t){return e.sequence-t.sequence})),t}function Ue(e){return de.checkLogged()?e.message?e.message.messageId?void he(pe.Message.deleteMessage,"GET",{messageId:e.message.messageId}).then((function(){e.message.isDeleted=1,Qe(e.message),m(e,p.NORMAL_SUCCESS.describe,e.message)})).catch((function(t){b(e,t.code,t.message),h(1,t)})):b(e,p.PARAMS_ERROR.code,"message.messageId 不能为空"):b(e,p.PARAMS_ERROR.code,"message 不能为空"):b(e,p.LOGIN_EXPIRE.code,p.LOGIN_EXPIRE.describe)}function Ke(e){return de.checkLogged()?e.message?e.message.messageId?void he(pe.Message.revokeMessage,"GET",{messageId:e.message.messageId}).then((function(){e.message.isRevoke=1,Qe(e.message),m(e,p.NORMAL_SUCCESS.describe,e.message)})).catch((function(t){b(e,t.code,t.message),h(1,t)})):b(e,p.PARAMS_ERROR.code,"message.messageId 不能为空"):b(e,p.PARAMS_ERROR.code,"message 不能为空"):b(e,p.LOGIN_EXPIRE.code,p.LOGIN_EXPIRE.describe)}function ze(e){if(!de.checkLogged())return v(p.LOGIN_EXPIRE.code,p.LOGIN_EXPIRE.describe);if(!e)return v(p.PARAMS_ERROR.code,"conversationId 不能为空");var t=De("yeim:conversationList:".concat(H(de.userId))),n=(t=t||[]).findIndex((function(t){return t.conversationId===e}));return-1!==n?g(p.NORMAL_SUCCESS.describe,t[n]):v(p.NO_CONVERSATION.code,p.NO_CONVERSATION.describe)}function Ve(e){if(!de.checkLogged())return b(e,p.LOGIN_EXPIRE.code,p.LOGIN_EXPIRE.describe);var t=e.page,n=e.limit,r=De("yeim:conversationList:".concat(H(de.userId))),o=(t-1)*n,i=(r=r||[]).slice(o,r.length>o+n?o+n:r.length);m(e,p.NORMAL_SUCCESS.describe,i)}function qe(e){Ze("yeim:conversationList:".concat(H(de.userId)),e),C(d.EVENT.CONVERSATION_LIST_CHANGED,e)}function et(e){if(!de.checkLogged())return v(p.LOGIN_EXPIRE.code,p.LOGIN_EXPIRE.describe);var t="yeim:conversationList:".concat(H(de.userId)),n=De(t),r=(n=n||[]).findIndex((function(t){return t.conversationId===e}));-1!==r&&(n[r].unread=0,Ze(t,n)),he(pe.Conversation.clearConversationUnread,"GET",{conversationId:e}).then((function(){})).catch((function(e){h(1,e)})),C(d.EVENT.CONVERSATION_LIST_CHANGED,n)}function tt(t){if(!de.checkLogged())return v(p.LOGIN_EXPIRE.code,p.LOGIN_EXPIRE.describe);var n="yeim:conversationList:".concat(H(de.userId)),r=De(n),o=(r=r||[]).findIndex((function(e){return e.conversationId===t}));-1!==o&&(r.splice(o,1),Ze(n,r)),function(t){de.uni?e.removeStorageSync(t):localStorage.removeItem(t)}("yeim:messageList:".concat(H(de.userId),":conversationId:").concat(H(t))),he(pe.Conversation.deleteConversation,"GET",{conversationId:t}).then((function(){})).catch((function(e){h(1,e)})),C(d.EVENT.CONVERSATION_LIST_CHANGED,r)}function nt(e){return de.checkLogged()?e.name?e.avatarUrl?void he(pe.Group.create,"POST",e).then((function(){m(e,p.NORMAL_SUCCESS.describe)})).catch((function(t){b(e,t.code,t.message),h(1,t)})):b(e,p.PARAMS_ERROR.code,"avatarUrl 不能为空"):b(e,p.PARAMS_ERROR.code,"name 不能为空"):b(e,p.LOGIN_EXPIRE.code,p.LOGIN_EXPIRE.describe)}function rt(e){return de.checkLogged()?e.groupId?void he(pe.Group.dissolve,"GET",{groupId:e.groupId}).then((function(){m(e,p.NORMAL_SUCCESS.describe)})).catch((function(t){b(e,t.code,t.message),h(1,t)})):b(e,p.PARAMS_ERROR.code,"groupId 不能为空"):b(e,p.LOGIN_EXPIRE.code,p.LOGIN_EXPIRE.describe)}function ot(e){return de.checkLogged()?e.groupId?e.userId?void he(pe.Group.transferLeader,"GET",{groupId:e.groupId,userId:e.userId}).then((function(){m(e,p.NORMAL_SUCCESS.describe)})).catch((function(t){b(e,t.code,t.message),h(1,t)})):b(e,p.PARAMS_ERROR.code,"userId 不能为空"):b(e,p.PARAMS_ERROR.code,"groupId 不能为空"):b(e,p.LOGIN_EXPIRE.code,p.LOGIN_EXPIRE.describe)}function it(e){return de.checkLogged()?e.groupId?void he(pe.Group.update,"POST",e).then((function(){m(e,p.NORMAL_SUCCESS.describe)})).catch((function(t){b(e,t.code,t.message),h(1,t)})):b(e,p.PARAMS_ERROR.code,"groupId 不能为空"):b(e,p.LOGIN_EXPIRE.code,p.LOGIN_EXPIRE.describe)}function at(e){return de.checkLogged()?e.groupId?void he(pe.Group.fetchGroupInfoById,"GET",{groupId:e.groupId}).then((function(t){m(e,p.NORMAL_SUCCESS.describe,t)})).catch((function(t){b(e,t.code,t.message),h(1,t)})):b(e,p.PARAMS_ERROR.code,"groupId 不能为空"):b(e,p.LOGIN_EXPIRE.code,p.LOGIN_EXPIRE.describe)}function ct(e){if(!de.checkLogged())return b(e,p.LOGIN_EXPIRE.code,p.LOGIN_EXPIRE.describe);he(pe.Group.list,"GET",{}).then((function(t){m(e,p.NORMAL_SUCCESS.describe,t)})).catch((function(t){b(e,t.code,t.message),h(1,t)}))}function st(e){return de.checkLogged()?e.groupId?void he(pe.Group.addUser,"POST",{groupId:e.groupId,members:[de.userId]}).then((function(t){var n=t.group,r=t.successList;if(-1!=t.ignoreList.indexOf(de.userId))return b(e,p.GROUP_APPLY_REPEAT.code,p.GROUP_APPLY_REPEAT.describe);var o=!1;if(-1!=r.indexOf(de.userId)&&(o=!0),!o)return b(e,p.GROUP_APPLY_ERROR.code,p.GROUP_APPLY_ERROR.describe);if(n.joinMode==d.GROUP.JOINMODE.FREE)m(e,p.NORMAL_SUCCESS.code,"成功加入群组");else{if(n.joinMode!=d.GROUP.JOINMODE.CHECK)return b(e,p.NORMAL_ERROR.code,p.NORMAL_ERROR.describe);m(e,p.GROUP_APPLY_WAIT.code,p.GROUP_APPLY_WAIT.describe)}})).catch((function(t){b(e,t.code,t.message),h(1,t)})):b(e,p.PARAMS_ERROR.code,"groupId 不能为空"):b(e,p.LOGIN_EXPIRE.code,p.LOGIN_EXPIRE.describe)}function ut(e){return de.checkLogged()?e.groupId?void he(pe.Group.leave,"GET",{groupId:e.groupId}).then((function(){m(e,p.NORMAL_SUCCESS.describe)})).catch((function(t){b(e,t.code,t.message),h(1,t)})):b(e,p.PARAMS_ERROR.code,"groupId 不能为空"):b(e,p.LOGIN_EXPIRE.code,p.LOGIN_EXPIRE.describe)}function lt(e){return de.checkLogged()?e.groupId?e.members&&e.members.length>0?void he(pe.Group.addUser,"POST",{groupId:e.groupId,members:e.members}).then((function(t){m(e,p.NORMAL_SUCCESS.describe,t)})).catch((function(t){b(e,t.code,t.message),h(1,t)})):b(e,p.PARAMS_ERROR.code,"members 不能为空"):b(e,p.PARAMS_ERROR.code,"groupId 不能为空"):b(e,p.LOGIN_EXPIRE.code,p.LOGIN_EXPIRE.describe)}function ft(e){return de.checkLogged()?e.groupId?e.members&&e.members.length>0?void he(pe.Group.remove,"POST",{groupId:e.groupId,members:e.members}).then((function(){m(e,p.NORMAL_SUCCESS.describe)})).catch((function(t){b(e,t.code,t.message),h(1,t)})):b(e,p.PARAMS_ERROR.code,"members 不能为空"):b(e,p.PARAMS_ERROR.code,"groupId 不能为空"):b(e,p.LOGIN_EXPIRE.code,p.LOGIN_EXPIRE.describe)}function dt(e){return de.checkLogged()?e.groupId?void he(pe.Group.memberList,"GET",{groupId:e.groupId}).then((function(t){m(e,p.NORMAL_SUCCESS.describe,t)})).catch((function(t){b(e,t.code,t.message),h(1,t)})):b(e,p.PARAMS_ERROR.code,"groupId 不能为空"):b(e,p.LOGIN_EXPIRE.code,p.LOGIN_EXPIRE.describe)}function pt(e){return de.checkLogged()?e.groupId?void he(pe.Group.adminstrator,"GET",{groupId:e.groupId,userId:e.userId,isAdmin:1===isAdmin?isAdmin:0}).then((function(){m(e,p.NORMAL_SUCCESS.describe)})).catch((function(t){b(e,t.code,t.message),h(1,t)})):b(e,p.PARAMS_ERROR.code,"groupId 不能为空"):b(e,p.LOGIN_EXPIRE.code,p.LOGIN_EXPIRE.describe)}function ht(e){return de.checkLogged()?e.groupId?void he(pe.Group.applyList,"GET",{}).then((function(t){m(e,p.NORMAL_SUCCESS.describe,t)})).catch((function(t){b(e,t.code,t.message),h(1,t)})):b(e,p.PARAMS_ERROR.code,"groupId 不能为空"):b(e,p.LOGIN_EXPIRE.code,p.LOGIN_EXPIRE.describe)}function yt(e){return de.checkLogged()?e.id?e.status?void he(pe.Group.handleApply,"GET",{id:e.id,status:e.status}).then((function(){m(e,p.NORMAL_SUCCESS.describe)})).catch((function(t){b(e,t.code,t.message),h(1,t)})):b(e,p.PARAMS_ERROR.code,"status 不能为空"):b(e,p.PARAMS_ERROR.code,"id 不能为空"):b(e,p.LOGIN_EXPIRE.code,p.LOGIN_EXPIRE.describe)}function gt(e){return de.checkLogged()?e.groupId?e.userId?(e.time||(e.time=0),void he(pe.Group.setMute,"GET",{groupId:e.groupId,userId:e.userId,time:e.time}).then((function(){m(e,p.NORMAL_SUCCESS.describe)})).catch((function(t){b(e,t.code,t.message),h(1,t)}))):b(e,p.PARAMS_ERROR.code,"userId 不能为空"):b(e,p.PARAMS_ERROR.code,"groupId 不能为空"):b(e,p.LOGIN_EXPIRE.code,p.LOGIN_EXPIRE.describe)}function vt(e){if(!de.checkLogged())return b(e,p.LOGIN_EXPIRE.code,p.LOGIN_EXPIRE.describe);if(!e.userId)return b(e,p.PARAMS_ERROR.code,"userId 不能为空");var t="yeim:userList:".concat(H(de.userId));if(e.cloud)he(pe.User.fetchUserInfoById,"GET",{userId:e.userId}).then((function(n){var r=De(t);(r=r||[]).push(n),Ze(t,r),m(e,p.NORMAL_SUCCESS.describe,n)})).catch((function(t){b(e,t.code,t.message),log(1,t)}));else{var n=De(t),r=(n=n||[]).findIndex((function(t){return t.userId===e.userId}));-1!==r?(m(e,p.NORMAL_SUCCESS.describe,n[r]),he(pe.User.fetchUserInfoById,"GET",{userId:e.userId}).then((function(e){var n=De(t);(n=n||[])[r]=e,Ze(t,n)})).catch((function(t){b(e,t.code,t.message),log(1,t)}))):he(pe.User.fetchUserInfoById,"GET",{userId:e.userId}).then((function(n){var r=De(t);(r=r||[]).push(n),Ze(t,r),m(e,p.NORMAL_SUCCESS.describe,n)})).catch((function(t){b(e,t.code,t.message),log(1,t)}))}}function mt(e){return de.checkLogged()?Object.keys(e).length>0?void he(pe.User.updateUserInfo,"POST",e).then((function(){m(e,p.NORMAL_SUCCESS.describe)})).catch((function(t){b(e,t.code,t.message),log(1,t)})):b(e,p.PARAMS_ERROR.code,"请至少选择一个属性进行更新"):b(e,p.LOGIN_EXPIRE.code,p.LOGIN_EXPIRE.describe)}function bt(e){if(!de.checkLogged())return b(e,p.LOGIN_EXPIRE.code,p.LOGIN_EXPIRE.describe);he(pe.User.getBlackUserList,"GET",{}).then((function(t){m(e,p.NORMAL_SUCCESS.describe,t)})).catch((function(t){b(e,t.code,t.message),log(1,t)}))}function St(e){return de.checkLogged()?e.members&&0!=e.members.length?void he(pe.User.addToBlackUserList,"POST",{members:e.members}).then((function(){m(e,p.NORMAL_SUCCESS.describe)})).catch((function(t){b(e,t.code,t.message),log(1,t)})):b(e,p.PARAMS_ERROR.code,"members 不能为空"):b(e,p.LOGIN_EXPIRE.code,p.LOGIN_EXPIRE.describe)}function xt(e){return de.checkLogged()?e.members&&0!=e.members.length?void he(pe.User.removeFromBlacklist,"POST",{members:e.members}).then((function(){m(e,p.NORMAL_SUCCESS.describe)})).catch((function(t){b(e,t.code,t.message),log(1,t)})):b(e,p.PARAMS_ERROR.code,"members 不能为空"):b(e,p.LOGIN_EXPIRE.code,p.LOGIN_EXPIRE.describe)}function Ct(e){var t="yeim:friendList:".concat(H(de.userId)),n=e.page?e.page:1,r=e.limit?e.limit:20;if(e.cloud)he(pe.Friend.fetchList,"GET",{profile:e.profile?0:1,page:n,limit:r}).then((function(t){m(e,p.NORMAL_SUCCESS.describe,t.records)})).catch((function(t){b(e,t.code,t.message),h(1,t)}));else{var o=De(t),i=(n-1)*r;o=(o=o||[]).slice(i,o.length>i+r?i+r:o.length),m(e,p.NORMAL_SUCCESS.describe,o)}}function _t(){Ct({cloud:!0,page:1,limit:9999999,success:function(e){Ze("yeim:friendList:".concat(H(de.userId)),e.data),C(d.EVENT.FRIEND_LIST_CHANGED,e)},fail:function(){C(d.EVENT.FRIEND_LIST_CHANGED,null)}})}function Lt(){Pt({cloud:!0,type:arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,page:1,limit:9999999,success:function(e){var t=e.data,n=t.records,r=t.unread,o="yeim:friendApplyList:".concat(H(de.userId)),i="yeim:friendApplyUnread:".concat(H(de.userId));Ze(o,n),Ze(i,r),C(d.EVENT.FRIEND_APPLY_LIST_CHANGED,e)},fail:function(){C(d.EVENT.FRIEND_APPLY_LIST_CHANGED,null)}})}function Pt(e){var t="yeim:friendApplyList:".concat(H(de.userId)),n="yeim:friendApplyUnread:".concat(H(de.userId)),r=e.page?e.page:1,o=e.limit?e.limit:20;if(e.cloud)he(pe.Friend.fetchApplyList,"GET",{type:e.type?e.type:0,page:r,limit:o}).then((function(t){m(e,p.NORMAL_SUCCESS.describe,{records:t.apply.records,unread:t.unread})})).catch((function(t){b(e,t.code,t.message),h(1,t)}));else{var i=De(t),a=(r-1)*o;i=(i=i||[]).slice(a,i.length>a+o?a+o:i.length),m(e,p.NORMAL_SUCCESS.describe,{list:i,unread:De(n)?De(n):0})}}function Yt(e){he(pe.Friend.setRead,"GET",{}).then((function(){m(e,p.NORMAL_SUCCESS.describe,null)})).catch((function(t){b(e,t.code,t.message),h(1,t)}))}function Tt(e){return de.checkLogged()?e.id?void he(pe.Friend.acceptApply,"GET",{id:e.id,remark:e.remark?e.remark:null}).then((function(){m(e,p.NORMAL_SUCCESS.describe,null)})).catch((function(t){b(e,t.code,t.message),h(1,t)})):b(e,p.PARAMS_ERROR.code,"id 不能为空"):b(e,p.LOGIN_EXPIRE.code,p.LOGIN_EXPIRE.describe)}function Mt(e){return de.checkLogged()?e.id?void he(pe.Friend.refuseApply,"GET",{id:e.id}).then((function(){m(e,p.NORMAL_SUCCESS.describe,null)})).catch((function(t){b(e,t.code,t.message),h(1,t)})):b(e,p.PARAMS_ERROR.code,"id 不能为空"):b(e,p.LOGIN_EXPIRE.code,p.LOGIN_EXPIRE.describe)}function Dt(e){return de.checkLogged()?e.userId?void he(pe.Friend.addFriend,"POST",{userId:e.userId,remark:e.remark?e.remark:null,extraMessage:e.extraMessage?e.extraMessage:null}).then((function(){m(e,p.NORMAL_SUCCESS.describe,null)})).catch((function(t){t.code===p.APPLY_NEED.code?m(e,p.APPLY_NEED.describe,null,p.APPLY_NEED.code):(b(e,t.code,t.message),h(1,t))})):b(e,p.PARAMS_ERROR.code,"userId 不能为空"):b(e,p.LOGIN_EXPIRE.code,p.LOGIN_EXPIRE.describe)}function Zt(e){return de.checkLogged()?e.members?void he(pe.Friend.deleteFriend,"POST",{members:e.members}).then((function(){m(e,p.NORMAL_SUCCESS.describe,null)})).catch((function(t){b(e,t.code,t.message),h(1,t)})):b(e,p.PARAMS_ERROR.code,"members 不能为空"):b(e,p.LOGIN_EXPIRE.code,p.LOGIN_EXPIRE.describe)}function wt(e){return de.checkLogged()?e.userId?e.remark||e.extend?void he(pe.Friend.updateFriend,"POST",{userId:e.userId,remark:e.remark?e.remark:null,extend:e.extend?e.extend:null}).then((function(){m(e,p.NORMAL_SUCCESS.describe,null)})).catch((function(t){b(e,t.code,t.message),h(1,t)})):b(e,p.PARAMS_ERROR.code,"请至少传入一个参数更新"):b(e,p.PARAMS_ERROR.code,"userId 不能为空"):b(e,p.LOGIN_EXPIRE.code,p.LOGIN_EXPIRE.describe)}function Ot(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function At(e){for(var t=1;arguments.length>t;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ot(Object(n),!0).forEach((function(t){s(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ot(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}t.instance=de;var Xt=function(){function n(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};u(this,n),this.defaults=At(At({baseURL:void 0,socketURL:void 0,eventPrefix:"YeIM_",reConnectTotal:15,reConnectInterval:3e3,heartInterval:3e4,logLevel:0},t),{},{notification:At({autoPermission:!1,oppoChannelId:"Default",xiaomiChannelId:"high_system"},t.notification)}),this.uni="undefined"!=typeof e,this.version="1.2.4",this.emitter=x(),this.firstConnect=!0,this.webSocket=void 0,this.socketLogged=!1,this.allowReconnect=!0,this.lockReconnect=!1,this.reConnectNum=0,this.connectTimer=void 0,this.heartTimer=void 0,this.checkTimer=void 0,this.user={},this.userId=void 0,this.token=void 0,this.mediaUploadParams={},this.mobileDeviceId=void 0,this.inApp=!0}return f(n,[{key:"connect",value:function(){var t=this,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!n.userId||!n.token)return b(n,p.NO_USERID.code,p.NO_USERID.describe);this.webSocket=new y(this.defaults.socketURL+"/"+n.userId+"/"+n.token),this.webSocket.onOpen(this.socketOpen.bind(this)),this.webSocket.onClose(this.socketClose.bind(this)),this.webSocket.onError(this.socketError.bind(this)),this.webSocket.onMessage(this.socketMessage.bind(this)),this.connectTimer&&(clearTimeout(this.connectTimer),this.connectTimer=void 0),this.connectTimer=setTimeout((function(){return t.connectTimer=void 0,h(1,"连接服务端失败,请检查配置"),b(n,p.CONNECT_ERROR.code,p.CONNECT_ERROR.describe)}),this.defaults.reConnectInterval+1e3),this.webSocket.onMessage((function(r){if(t.socketLogged)return clearTimeout(t.connectTimer),void(t.connectTimer=void 0);clearTimeout(t.connectTimer),t.connectTimer=void 0;var o,i=JSON.parse(r.data);if(201==i.code){var a=i.data.user;t.user=a,t.userId=n.userId,t.token=n.token;var c=i.data.pushConfig;if(c.oppoChannelId&&(t.defaults.notification.oppoChannelId=c.oppoChannelId),c.xiaomiChannelId&&(t.defaults.notification.xiaomiChannelId=c.xiaomiChannelId),t.socketLogged=!0,t.reConnectNum=0,h(1,"YeIMServer登陆成功,登陆用户:".concat(n.userId)),he(pe.Conversation.fetchConversationList,"GET",{page:1,limit:999999}).then((function(e){qe(e.records)})).catch((function(e){h(1,e)})),_t(),Lt(),ve(),t.uni){t.defaults.notification.autoPermission&&function(){var t=e.getSystemInfoSync();if("app"==t.uniPlatform&&"android"==t.osName){var n=plus.android.runtimeMainActivity(),r=n.getPackageName(),o=n.getApplicationInfo().plusGetAttribute("uid"),i=plus.android.importClass("android.support.v4.app.NotificationManagerCompat");null==i&&(i=plus.android.importClass("androidx.core.app.NotificationManagerCompat"));var a=i.from(n).areNotificationsEnabled(),c=e.getStorageSync("first_flag")||!1;a||c||(e.setStorageSync("first_flag",!0),e.showModal({title:"通知权限开启提醒",content:"您还没有开启通知权限,无法接受到消息通知,请前往设置!",showCancel:!1,confirmText:"去设置",success:function(e){if(e.confirm){var t=plus.android.importClass("android.content.Intent"),i=plus.android.importClass("android.os.Build");if(26>i.VERSION.SDK_INT)if(21>i.VERSION.SDK_INT){c.setAction(Settings.ACTION_APPLICATION_DETAILS_SETTINGS);var a=Uri.fromParts("package",mainActivity.getPackageName(),null);c.setData(a)}else{var c;(c=new t("android.settings.APP_NOTIFICATION_SETTINGS")).putExtra("app_package",r),c.putExtra("app_uid",o)}else(c=new t("android.settings.APP_NOTIFICATION_SETTINGS")).putExtra("android.provider.extra.APP_PACKAGE",r);n.startActivity(c)}}}))}else if("app"==t.uniPlatform&&"ios"==t.osName){var s=0,u=plus.ios.invoke("UIApplication","sharedApplication"),l=plus.ios.invoke(u,"currentUserNotificationSettings");l?(s=l.plusGetAttribute("types"),plus.ios.deleteObject(l)):s=plus.ios.invoke(u,"enabledRemoteNotificationTypes"),plus.ios.deleteObject(u),0==(0!=s)&&e.showModal({title:"通知权限开启提醒",content:"您还没有开启通知权限,无法接受到消息通知,请前往设置!",showCancel:!1,confirmText:"去设置",success:function(e){if(e.confirm){var t=plus.ios.invoke("UIApplication","sharedApplication"),n=plus.ios.invoke("NSURL","URLWithString:","app-settings:");plus.ios.invoke(t,"openURL:",n),plus.ios.deleteObject(n),plus.ios.deleteObject(t)}}})}}(),function(){var t=e.getSystemInfoSync();if("app"==t.uniPlatform&&"android"==t.osName&&de.defaults.notification&&de.defaults.notification.oppoChannelId&&plus.android.importClass("android.os.Build").VERSION.SDK_INT>=26){var n=de.defaults.notification.oppoChannelId,r=plus.android.runtimeMainActivity(),o=plus.android.importClass("android.content.Context"),i=plus.android.importClass("android.app.NotificationManager"),a=r.getSystemService(o.NOTIFICATION_SERVICE),c=a.getNotificationChannel(n),s=plus.android.importClass("android.app.NotificationChannel"),u=plus.android.importClass("android.app.Notification");if(c&&a.deleteNotificationChannel(c),!c||null==c||"null"==c||null==c){var l=new s(n,"聊天离线通知",i.IMPORTANCE_HIGH);l.setDescription("用于用户离线时推送消息通知"),l.enableVibration(!0),l.enableLights(!0),l.setBypassDnd(!0),l.setLockscreenVisibility(u.VISIBILITY_SECRET),a.createNotificationChannel(l)}}}(),o=e.getSystemInfoSync(),de.checkLogged()&&"app"==o.uniPlatform&&plus.push.getClientInfoAsync((function(e){var t=e.clientid;t&&he(pe.Push.bindClientId,"GET",{clientId:t}).then((function(){h(0,"注册APP用户离线通知推送标识符成功,当前获取的cid为:"+t)})).catch((function(e){h(1,"注册APP用户离线通知推送标识符异常:"+e.message)}))}));var s=[];e.onPushMessage((function(n){if(!t.inApp&&"receive"==n.type){var r=n.data.__UUID__;s.indexOf(r)>0||(s.push(r),e.createPushMessage({title:n.data.title,content:n.data.content,sound:"system",success:function(){},fail:function(){}}))}}))}return m(n,p.NORMAL_SUCCESS.describe,a)}return b(n,p.LOGIN_ERROR.code,p.LOGIN_ERROR.describe)}))}},{key:"disConnect",value:function(){this.allowReconnect=!1,this.webSocket.close(),this.webSocket.destroy()}},{key:"reConnect",value:function(){var e=this;if(this.allowReconnect&&!this.lockReconnect){if(!this.userId||!this.token)return void(this.allowReconnect=!1);if(this.defaults.reConnectTotal>0&&this.reConnectNum>=this.defaults.reConnectTotal)return void(this.allowReconnect=!1);this.reConnectNum++,this.lockReconnect=!0,C(d.EVENT.NET_CHANGED,"connecting"),setTimeout((function(){h(1,"WebSocket 正在进行第".concat(e.reConnectNum,"次重连"));try{e.connect({userId:e.userId,token:e.token})}catch(e){console.log(e)}e.lockReconnect=!1}),this.defaults.reConnectInterval)}}},{key:"readyState",value:function(){return this.webSocket&&this.webSocket.socketTask?this.webSocket.socketTask.readyState:3}},{key:"startHeartTimer",value:function(){var e=this;this.clearHeartTimer(),this.webSocket&&this.webSocket.socketTask&&(this.heartTimer=setTimeout((function(){1==e.readyState()&&(e.webSocket.send({type:"heart",data:"ping"}),e.checkTimer=setTimeout((function(){e.webSocket.close()}),e.defaults.heartInterval))}),this.defaults.heartInterval))}},{key:"clearHeartTimer",value:function(){return clearTimeout(this.heartTimer),clearTimeout(this.checkTimer),this}},{key:"socketOpen",value:function(e){h(1,"WebSocket成功连接"),C(d.EVENT.NET_CHANGED,"connected")}},{key:"socketClose",value:function(e){h(1,"WebSocket断开连接"),this.socketLogged=!1,this.webSocket.close(),this.webSocket.destroy(),C(d.EVENT.NET_CHANGED,"closed"),this.reConnect()}},{key:"socketError",value:function(e){h(1,e),this.reConnect()}},{key:"socketMessage",value:function(e){if(h(0,e),this.startHeartTimer(),this.socketLogged){var t=JSON.parse(e.data);t?this.socketMessageHandle(t):h(1,e)}}},{key:"socketMessageHandle",value:function(e){if(200==e.code){var t=e.data;Qe(t),C(d.EVENT.MESSAGE_RECEIVED,t)}else 203==e.code?function(e){var t=De("yeim:conversationList:".concat(H(de.userId))),n=(t=t||[]).findIndex((function(t){return t.conversationId===e.conversationId}));-1===n||t.splice(n,1),t.unshift(e),qe(t)}(e.data):205==e.code?function(e){if(!e)return h(1,"conversationId 为空,无法继续执行");var t="yeim:messageList:".concat(H(de.userId),":conversationId:").concat(H(e)),n=De(t);if(n=n||[]){for(var r=[],o=0;n.length>o;o++){var i=n[o];"out"==i.direction&&(i.isRead=1,n[o].isRead=1,r.push(i))}Ze(t,n),C(d.EVENT.PRIVATE_READ_RECEIPT,{conversationId:e,list:r})}}(e.data.conversationId):207==e.code?function(e){var t="yeim:messageList:".concat(H(de.userId),":conversationId:").concat(H(e.conversationId)),n=De(t)?De(t):[],r=(n=n||[]).findIndex((function(t){return t.messageId===e.messageId}));-1!==r&&(n[r]=e,Ze(t,n)),C(d.EVENT.MESSAGE_REVOKED,e)}(e.data):208==e.code?setTimeout((function(){_t()}),500):209==e.code?setTimeout((function(){Lt()}),500):210==e.code?(C(d.EVENT.FRIEND_APPLY_REFUSE,e.data),setTimeout((function(){Lt(1)}),500)):10009==e.code&&(this.allowReconnect=!1,this.clearHeartTimer(),this.webSocket.close(),C(d.EVENT.KICKED_OUT,!0),h(1,"用户:".concat(this.userId," 由于多个实例同时登录被踢出")))}},{key:"checkLogged",value:function(){return!!(this.socketLogged&&this.userId&&this.token)}},{key:"intoApp",value:function(){this.inApp=!0}},{key:"leaveApp",value:function(){this.inApp=!1}}],[{key:"init",value:function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return"undefined"!=typeof e&&e.$YeIMInstance&&(t.instance=de=e.$YeIMInstance),de||(r.baseURL&&r.socketURL?(t.instance=de=new n(r),"undefined"!=typeof e&&(e.$YeIMInstance=de),n.prototype.createTextMessage=we,n.prototype.createTextAtMessage=Oe,n.prototype.createImageMessage=Ae,n.prototype.createImageMessageFromUrl=Xe,n.prototype.createAudioMessage=Re,n.prototype.createAudioMessageFromUrl=Ee,n.prototype.createVideoMessage=Je,n.prototype.createVideoMessageFromUrl=He,n.prototype.createLocationMessage=Ne,n.prototype.createCustomMessage=Be,n.prototype.createMergerMessage=ke,n.prototype.createForwardMessage=Fe,n.prototype.upload=Ye,n.prototype.sendMessage=Ie,n.prototype.getHistoryMessageList=je,n.prototype.revokeMessage=Ke,n.prototype.deleteMessage=Ue,n.prototype.getConversation=ze,n.prototype.getConversationList=Ve,n.prototype.clearConversationUnread=et,n.prototype.deleteConversation=tt,n.prototype.getUserInfo=vt,n.prototype.updateUserInfo=mt,n.prototype.getBlackUserList=bt,n.prototype.addToBlackUserList=St,n.prototype.removeFromBlacklist=xt,n.prototype.addEventListener=_,n.prototype.removeEventListener=L,n.prototype.createGroup=nt,n.prototype.dissolveGroup=rt,n.prototype.updateGroup=it,n.prototype.getGroup=at,n.prototype.transferLeader=ot,n.prototype.getGroupList=ct,n.prototype.joinGroup=st,n.prototype.leaveGroup=ut,n.prototype.addGroupUsers=lt,n.prototype.getGroupUserList=dt,n.prototype.removeGroupUsers=ft,n.prototype.setAdminstrator=pt,n.prototype.setMute=gt,n.prototype.getGroupApplyList=ht,n.prototype.handleApply=yt,n.prototype.getFriendList=Ct,n.prototype.getFriendApplyList=Pt,n.prototype.setApplyListRead=Yt,n.prototype.acceptApply=Tt,n.prototype.refuseApply=Mt,n.prototype.addFriend=Dt,n.prototype.deleteFriend=Zt,n.prototype.updateFriend=wt,h(1,"============= YeIMUniSDK 初始化成功!版本号:"+de.version+" ============="),de):console.error(p.SDK_PARAMS_ERROR.describe))}},{key:"getInstance",value:function(){if("undefined"!=typeof e&&e.$YeIMInstance&&(t.instance=de=e.$YeIMInstance),de)return de;console.error("SDK未初始化,无法获取实例化对象")}}]),n}();t.YeIMUniSDK=Xt}).call(this,n("df3c")["default"],n("0ee4"))},"265b":function(e,t,n){"use strict";(function(e){var r=n("47a9");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o,i,a=r(n("7ca3"));function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var s={props:function(e){for(var t=1;t=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function c(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a}function s(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o=0&&Math.floor(t)===t&&isFinite(e)&&t<=4294967295}function E(e){return null!==e&&"object"==typeof e}function J(e){return"[object Object]"===function(e){return Object.prototype.toString.call(e)}(e)}function H(e){return"function"==typeof e}function B(e,t){return t||_()}function k(e,t){void 0===t&&(t={});var n=e.config.silent;e.config.silent=!0;var r=new e(t);return e.config.silent=n,r}function F(e,t){return function(){for(var n=[],r=0;r1?n&&H(t)?t():t:void 0}},t.isRaw=ae,t.isReactive=ce,t.isReadonly=function(e){return U.has(e)},t.isRef=ne,t.markRaw=function(e){if(!J(e)&&!O(e)||!Object.isExtensible(e))return e;var t=de();return t.__v_skip=!0,Z(e,"__ob__",t),$.set(e,!0),e},t.nextTick=function(){for(var e,t=[],n=0;n-1||"function"===typeof c[e])}i[a]=function(){var e={};for(var t in c)u(t)&&(e[t]=c[t]);return e}();var l=i[a];t.default=l},3240:function(e,t,n){"use strict";n.r(t),function(e){ /*! * Vue.js v2.6.11 * (c) 2014-2024 Evan You * Released under the MIT License. */ var n=Object.freeze({});function r(e){return void 0===e||null===e}function o(e){return void 0!==e&&null!==e}function i(e){return!0===e}function a(e){return"string"===typeof e||"number"===typeof e||"symbol"===typeof e||"boolean"===typeof e}function c(e){return null!==e&&"object"===typeof e}var s=Object.prototype.toString;function u(e){return"[object Object]"===s.call(e)}function l(e){var t=parseFloat(String(e));return t>=0&&Math.floor(t)===t&&isFinite(e)}function f(e){return o(e)&&"function"===typeof e.then&&"function"===typeof e.catch}function d(e){return null==e?"":Array.isArray(e)||u(e)&&e.toString===s?JSON.stringify(e,null,2):String(e)}function p(e){var t=parseFloat(e);return isNaN(t)?e:t}function h(e,t){for(var n=Object.create(null),r=e.split(","),o=0;o-1)return e.splice(n,1)}}var v=Object.prototype.hasOwnProperty;function m(e,t){return v.call(e,t)}function b(e){var t=Object.create(null);return function(n){var r=t[n];return r||(t[n]=e(n))}}var S=/-(\w)/g,x=b((function(e){return e.replace(S,(function(e,t){return t?t.toUpperCase():""}))})),C=b((function(e){return e.charAt(0).toUpperCase()+e.slice(1)})),_=/\B([A-Z])/g,L=b((function(e){return e.replace(_,"-$1").toLowerCase()}));var P=Function.prototype.bind?function(e,t){return e.bind(t)}:function(e,t){function n(n){var r=arguments.length;return r?r>1?e.apply(t,arguments):e.call(t,n):e.call(t)}return n._length=e.length,n};function Y(e,t){t=t||0;var n=e.length-t,r=new Array(n);while(n--)r[n]=e[n+t];return r}function T(e,t){for(var n in t)e[n]=t[n];return e}function M(e){for(var t={},n=0;n0),K=(W&&W.indexOf("android"),W&&/iphone|ipad|ipod|ios/.test(W)||"ios"===j),z=(W&&/chrome\/\d+/.test(W),W&&/phantomjs/.test(W),W&&W.match(/firefox\/(\d+)/),{}.watch);if(G)try{var V={};Object.defineProperty(V,"passive",{get:function(){}}),window.addEventListener("test-passive",null,V)}catch(En){}var q=function(){return void 0===F&&(F=!G&&!Q&&"undefined"!==typeof e&&(e["process"]&&"server"===e["process"].env.VUE_ENV)),F},ee=G&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function te(e){return"function"===typeof e&&/native code/.test(e.toString())}var ne,re="undefined"!==typeof Symbol&&te(Symbol)&&"undefined"!==typeof Reflect&&te(Reflect.ownKeys);ne="undefined"!==typeof Set&&te(Set)?Set:function(){function e(){this.set=Object.create(null)}return e.prototype.has=function(e){return!0===this.set[e]},e.prototype.add=function(e){this.set[e]=!0},e.prototype.clear=function(){this.set=Object.create(null)},e}();var oe=D,ie=0,ae=function(){this.id=ie++,this.subs=[]};function ce(e){ae.SharedObject.targetStack.push(e),ae.SharedObject.target=e,ae.target=e}function se(){ae.SharedObject.targetStack.pop(),ae.SharedObject.target=ae.SharedObject.targetStack[ae.SharedObject.targetStack.length-1],ae.target=ae.SharedObject.target}ae.prototype.addSub=function(e){this.subs.push(e)},ae.prototype.removeSub=function(e){g(this.subs,e)},ae.prototype.depend=function(){ae.SharedObject.target&&ae.SharedObject.target.addDep(this)},ae.prototype.notify=function(){var e=this.subs.slice();for(var t=0,n=e.length;t-1)if(i&&!m(o,"default"))a=!1;else if(""===a||a===L(e)){var s=Re(String,o.type);(s<0||c0&&(s=e(s,(n||"")+"_"+c),rt(s[0])&&rt(l)&&(f[u]=de(l.text+s[0].text),s.shift()),f.push.apply(f,s)):a(s)?rt(l)?f[u]=de(l.text+s):""!==s&&f.push(de(s)):rt(s)&&rt(l)?f[u]=de(l.text+s.text):(i(t._isVList)&&o(s.tag)&&r(s.key)&&o(n)&&(s.key="__vlist"+n+"_"+c+"__"),f.push(s)));return f}(e):void 0}function rt(e){return o(e)&&o(e.text)&&function(e){return!1===e}(e.isComment)}function ot(e){var t=e.$options.provide;t&&(e._provided="function"===typeof t?t.call(e):t)}function it(e){var t=at(e.$options.inject,e);t&&(ve(!1),Object.keys(t).forEach((function(n){xe(e,n,t[n])})),ve(!0))}function at(e,t){if(e){for(var n=Object.create(null),r=re?Reflect.ownKeys(e):Object.keys(e),o=0;o0,a=e?!!e.$stable:!i,c=e&&e.$key;if(e){if(e._normalized)return e._normalized;if(a&&r&&r!==n&&c===r.$key&&!i&&!r.$hasNormal)return r;for(var s in o={},e)e[s]&&"$"!==s[0]&&(o[s]=lt(t,s,e[s]))}else o={};for(var u in t)u in o||(o[u]=ft(t,u));return e&&Object.isExtensible(e)&&(e._normalized=o),B(o,"$stable",a),B(o,"$key",c),B(o,"$hasNormal",i),o}function lt(e,t,n){var r=function(){var e=arguments.length?n.apply(null,arguments):n({});return e=e&&"object"===typeof e&&!Array.isArray(e)?[e]:nt(e),e&&(0===e.length||1===e.length&&e[0].isComment)?void 0:e};return n.proxy&&Object.defineProperty(e,t,{get:r,enumerable:!0,configurable:!0}),r}function ft(e,t){return function(){return e[t]}}function dt(e,t){var n,r,i,a,s;if(Array.isArray(e)||"string"===typeof e)for(n=new Array(e.length),r=0,i=e.length;rdocument.createEvent("Event").timeStamp&&(qt=function(){return en.now()})}function tn(){var e,t;for(qt(),zt=!0,Wt.sort((function(e,t){return e.id-t.id})),Vt=0;VtVt&&Wt[n].id>e.id)n--;Wt.splice(n+1,0,e)}else Wt.push(e);Kt||(Kt=!0,Ue(tn))}}(this)},rn.prototype.run=function(){if(this.active){var e=this.get();if(e!==this.value||c(e)||this.deep){var t=this.value;if(this.value=e,this.user)try{this.cb.call(this.vm,e,t)}catch(En){Ee(En,this.vm,'callback for watcher "'+this.expression+'"')}else this.cb.call(this.vm,e,t)}}},rn.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},rn.prototype.depend=function(){var e=this.deps.length;while(e--)this.deps[e].depend()},rn.prototype.teardown=function(){if(this.active){this.vm._isBeingDestroyed||g(this.vm._watchers,this);var e=this.deps.length;while(e--)this.deps[e].removeSub(this);this.active=!1}};var on={enumerable:!0,configurable:!0,get:D,set:D};function an(e,t,n){on.get=function(){return this[t][n]},on.set=function(e){this[t][n]=e},Object.defineProperty(e,n,on)}function cn(e){e._watchers=[];var t=e.$options;t.props&&function(e,t){var n=e.$options.propsData||{},r=e._props={},o=e.$options._propKeys=[],i=!e.$parent;i||ve(!1);var a=function(i){o.push(i);var a=Ae(i,t,n,e);xe(r,i,a),i in e||an(e,"_props",i)};for(var c in t)a(c);ve(!0)}(e,t.props),t.methods&&function(e,t){e.$options.props;for(var n in t)e[n]="function"!==typeof t[n]?D:P(t[n],e)}(e,t.methods),t.data?function(e){var t=e.$options.data;t=e._data="function"===typeof t?function(e,t){ce();try{return e.call(t,t)}catch(En){return Ee(En,t,"data()"),{}}finally{se()}}(t,e):t||{},u(t)||(t={});var n=Object.keys(t),r=e.$options.props,o=(e.$options.methods,n.length);while(o--){var i=n[o];0,r&&m(r,i)||H(i)||an(e,"_data",i)}Se(t,!0)}(e):Se(e._data={},!0),t.computed&&function(e,t){var n=e._computedWatchers=Object.create(null),r=q();for(var o in t){var i=t[o],a="function"===typeof i?i:i.get;0,r||(n[o]=new rn(e,a||D,D,sn)),o in e||un(e,o,i)}}(e,t.computed),t.watch&&t.watch!==z&&function(e,t){for(var n in t){var r=t[n];if(Array.isArray(r))for(var o=0;o-1:"string"===typeof e?e.split(",").indexOf(t)>-1:!!function(e){return"[object RegExp]"===s.call(e)}(e)&&e.test(t)}function bn(e,t){var n=e.cache,r=e.keys,o=e._vnode;for(var i in n){var a=n[i];if(a){var c=vn(a.componentOptions);c&&!t(c)&&Sn(n,i,r,o)}}}function Sn(e,t,n,r){var o=e[t];!o||r&&o.tag===r.tag||o.componentInstance.$destroy(),e[t]=null,g(n,t)}(function(e){e.prototype._init=function(e){var t=this;t._uid=pn++,t._isVue=!0,e&&e._isComponent?function(e,t){var n=e.$options=Object.create(e.constructor.options),r=t._parentVnode;n.parent=t.parent,n._parentVnode=r;var o=r.componentOptions;n.propsData=o.propsData,n._parentListeners=o.listeners,n._renderChildren=o.children,n._componentTag=o.tag,t.render&&(n.render=t.render,n.staticRenderFns=t.staticRenderFns)}(t,e):t.$options=we(hn(t.constructor),e||{},t),t._renderProxy=t,t._self=t,function(e){var t=e.$options,n=t.parent;if(n&&!t.abstract){while(n.$options.abstract&&n.$parent)n=n.$parent;n.$children.push(e)}e.$parent=n,e.$root=n?n.$root:e,e.$children=[],e.$refs={},e._watcher=null,e._inactive=null,e._directInactive=!1,e._isMounted=!1,e._isDestroyed=!1,e._isBeingDestroyed=!1}(t),function(e){e._events=Object.create(null),e._hasHookEvent=!1;var t=e.$options._parentListeners;t&&Ft(e,t)}(t),function(e){e._vnode=null,e._staticTrees=null;var t=e.$options,r=e.$vnode=t._parentVnode,o=r&&r.context;e.$slots=ct(t._renderChildren,o),e.$scopedSlots=n,e._c=function(t,n,r,o){return Xt(e,t,n,r,o,!1)},e.$createElement=function(t,n,r,o){return Xt(e,t,n,r,o,!0)};var i=r&&r.data;xe(e,"$attrs",i&&i.attrs||n,null,!0),xe(e,"$listeners",t._parentListeners||n,null,!0)}(t),jt(t,"beforeCreate"),!t._$fallback&&it(t),cn(t),!t._$fallback&&ot(t),!t._$fallback&&jt(t,"created"),t.$options.el&&t.$mount(t.$options.el)}})(yn),function(e){var t={get:function(){return this._data}},n={get:function(){return this._props}};Object.defineProperty(e.prototype,"$data",t),Object.defineProperty(e.prototype,"$props",n),e.prototype.$set=Ce,e.prototype.$delete=_e,e.prototype.$watch=function(e,t,n){if(u(t))return dn(this,e,t,n);n=n||{},n.user=!0;var r=new rn(this,e,t,n);if(n.immediate)try{t.call(this,r.value)}catch(o){Ee(o,this,'callback for immediate watcher "'+r.expression+'"')}return function(){r.teardown()}}}(yn),function(e){var t=/^hook:/;e.prototype.$on=function(e,n){var r=this;if(Array.isArray(e))for(var o=0,i=e.length;o1?Y(n):n;for(var r=Y(arguments,1),o='event handler for "'+e+'"',i=0,a=n.length;iparseInt(this.max)&&Sn(c,s[0],s,this._vnode)),t.data.keepAlive=!0}return t||e&&e[0]}},_n={KeepAlive:Cn};(function(e){var t={get:function(){return E}};Object.defineProperty(e,"config",t),e.util={warn:oe,extend:T,mergeOptions:we,defineReactive:xe},e.set=Ce,e.delete=_e,e.nextTick=Ue,e.observable=function(e){return Se(e),e},e.options=Object.create(null),N.forEach((function(t){e.options[t+"s"]=Object.create(null)})),e.options._base=e,T(e.options.components,_n),function(e){e.use=function(e){var t=this._installedPlugins||(this._installedPlugins=[]);if(t.indexOf(e)>-1)return this;var n=Y(arguments,1);return n.unshift(this),"function"===typeof e.install?e.install.apply(e,n):"function"===typeof e&&e.apply(null,n),t.push(e),this}}(e),function(e){e.mixin=function(e){return this.options=we(this.options,e),this}}(e),gn(e),function(e){N.forEach((function(t){e[t]=function(e,n){return n?("component"===t&&u(n)&&(n.name=n.name||e,n=this.options._base.extend(n)),"directive"===t&&"function"===typeof n&&(n={bind:n,update:n}),this.options[t+"s"][e]=n,n):this.options[t+"s"][e]}}))}(e)})(yn),Object.defineProperty(yn.prototype,"$isServer",{get:q}),Object.defineProperty(yn.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(yn,"FunctionalRenderContext",{value:Tt}),yn.version="2.6.11";var Ln="[object Array]",Pn="[object Object]";function Yn(e,t){var n={};return function e(t,n){if(t===n)return;var r=Mn(t),o=Mn(n);if(r==Pn&&o==Pn){if(Object.keys(t).length>=Object.keys(n).length)for(var i in n){var a=t[i];void 0===a?t[i]=null:e(a,n[i])}}else r==Ln&&o==Ln&&t.length>=n.length&&n.forEach((function(n,r){e(t[r],n)}))}(e,t),function e(t,n,r,o){if(t===n)return;var i=Mn(t),a=Mn(n);if(i==Pn)if(a!=Pn||Object.keys(t).length1&&(t[r[0].trim()]=r[1].trim())}})),t}));var Nn=["createSelectorQuery","createIntersectionObserver","selectAllComponents","selectComponent"];var Rn=["onLaunch","onShow","onHide","onUniNViewMessage","onPageNotFound","onThemeChange","onError","onUnhandledRejection","onInit","onLoad","onReady","onUnload","onPullDownRefresh","onReachBottom","onTabItemTap","onAddToFavorites","onShareTimeline","onShareAppMessage","onResize","onPageScroll","onNavigationBarButtonTap","onBackPress","onNavigationBarSearchInputChanged","onNavigationBarSearchInputConfirmed","onNavigationBarSearchInputClicked","onUploadDouyinVideo","onNFCReadMessage","onPageShow","onPageHide","onPageResize"];yn.prototype.__patch__=function(e,t){var n=this;if(null!==t&&("page"===this.mpType||"component"===this.mpType)){var r=this.$scope,o=Object.create(null);try{o=function(e){var t=Object.create(null),n=[].concat(Object.keys(e._data||{}),Object.keys(e._computedWatchers||{}));n.reduce((function(t,n){return t[n]=e[n],t}),t);var r=e.__composition_api_state__||e.__secret_vfa_state__,o=r&&r.rawBindings;return o&&Object.keys(o).forEach((function(n){t[n]=e[n]})),Object.assign(t,e.$mp.data||{}),Array.isArray(e.$options.behaviors)&&-1!==e.$options.behaviors.indexOf("uni://form-field")&&(t["name"]=e.name,t["value"]=e.value),JSON.parse(JSON.stringify(t,wn))}(this)}catch(c){console.error(c)}o.__webviewId__=r.data.__webviewId__;var i=Object.create(null);Object.keys(o).forEach((function(e){i[e]=r.data[e]}));var a=!1===this.$shouldDiffData?o:Yn(o,i);Object.keys(a).length?(Object({NODE_ENV:"production",VUE_APP_DARK_MODE:"false",VUE_APP_NAME:"yui_wx",VUE_APP_PLATFORM:"mp-weixin",BASE_URL:"/"}).VUE_APP_DEBUG&&console.log("["+ +new Date+"]["+(r.is||r.route)+"]["+this._uid+"]差量更新",JSON.stringify(a)),this.__next_tick_pending=!0,r.setData(a,(function(){n.__next_tick_pending=!1,Dn(n)}))):Dn(this)}},yn.prototype.$mount=function(e,t){return function(e,t,n){return e.mpType?("app"===e.mpType&&(e.$options.render=On),e.$options.render||(e.$options.render=On),!e._$fallback&&jt(e,"beforeMount"),new rn(e,(function(){e._update(e._render(),n)}),D,{before:function(){e._isMounted&&!e._isDestroyed&&jt(e,"beforeUpdate")}},!0),n=!1,e):e}(this,0,t)},function(e){var t=e.extend;e.extend=function(e){e=e||{};var n=e.methods;return n&&Object.keys(n).forEach((function(t){-1!==Rn.indexOf(t)&&(e[t]=n[t],delete n[t])})),t.call(this,e)};var n=e.config.optionMergeStrategies,r=n.created;Rn.forEach((function(e){n[e]=r})),e.prototype.__lifecycle_hooks__=Rn}(yn),function(e){e.config.errorHandler=function(t,n,r){e.util.warn("Error in "+r+': "'+t.toString()+'"',n),console.error(t);var o="function"===typeof getApp&&getApp();o&&o.onError&&o.onError(t)};var t=e.prototype.$emit;e.prototype.$emit=function(e){if(this.$scope&&e){var n=this.$scope["_triggerEvent"]||this.$scope["triggerEvent"];if(n)try{n.call(this.$scope,e,{__args__:Y(arguments,1)})}catch(r){}}return t.apply(this,arguments)},e.prototype.$nextTick=function(e){return Zn(this,e)},Nn.forEach((function(t){e.prototype[t]=function(e){return this.$scope&&this.$scope[t]?this.$scope[t](e):"undefined"!==typeof my?"createSelectorQuery"===t?my.createSelectorQuery(e):"createIntersectionObserver"===t?my.createIntersectionObserver(e):void 0:void 0}})),e.prototype.__init_provide=ot,e.prototype.__init_injections=it,e.prototype.__call_hook=function(e,t){var n=this;ce();var r,o=n.$options[e],i=e+" hook";if(o)for(var a=0,c=o.length;a0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=this.$.$refs["ani"].ref;if(n)return new Promise((function(r,o){nvueAnimation.transition(n,s({styles:e},t),(function(e){r()}))}))}},{key:"_nvueNextAnimate",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=arguments.length>2?arguments[2]:void 0,o=e[n];if(o){var i=o.styles,a=o.config;this._animateRun(i,a).then((function(){n+=1,t._nvueNextAnimate(e,n,r)}))}else this.currentStepAnimates={},"function"===typeof r&&r(),this.isEnd=!0}},{key:"step",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.animation.step(e),this}},{key:"run",value:function(e){this.$.animationData=this.animation.export(),this.$.timer=setTimeout((function(){"function"===typeof e&&e()}),this.$.durationTime)}}]),t}(),l=["matrix","matrix3d","rotate","rotate3d","rotateX","rotateY","rotateZ","scale","scale3d","scaleX","scaleY","scaleZ","skew","skewX","skewY","translate","translate3d","translateX","translateY","translateZ"];l.concat(["opacity","backgroundColor"],["width","height","left","right","top","bottom"]).forEach((function(e){u.prototype[e]=function(){var t;return(t=this.animation)[e].apply(t,arguments),this}}))}).call(this,n("df3c")["default"])},3951:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={lunarInfo:[19416,19168,42352,21717,53856,55632,91476,22176,39632,21970,19168,42422,42192,53840,119381,46400,54944,44450,38320,84343,18800,42160,46261,27216,27968,109396,11104,38256,21234,18800,25958,54432,59984,28309,23248,11104,100067,37600,116951,51536,54432,120998,46416,22176,107956,9680,37584,53938,43344,46423,27808,46416,86869,19872,42416,83315,21168,43432,59728,27296,44710,43856,19296,43748,42352,21088,62051,55632,23383,22176,38608,19925,19152,42192,54484,53840,54616,46400,46752,103846,38320,18864,43380,42160,45690,27216,27968,44870,43872,38256,19189,18800,25776,29859,59984,27480,23232,43872,38613,37600,51552,55636,54432,55888,30034,22176,43959,9680,37584,51893,43344,46240,47780,44368,21977,19360,42416,86390,21168,43312,31060,27296,44368,23378,19296,42726,42208,53856,60005,54576,23200,30371,38608,19195,19152,42192,118966,53840,54560,56645,46496,22224,21938,18864,42359,42160,43600,111189,27936,44448,84835,37744,18936,18800,25776,92326,59984,27424,108228,43744,41696,53987,51552,54615,54432,55888,23893,22176,42704,21972,21200,43448,43344,46240,46758,44368,21920,43940,42416,21168,45683,26928,29495,27296,44368,84821,19296,42352,21732,53600,59752,54560,55968,92838,22224,19168,43476,41680,53584,62034,54560],solarMonth:[31,28,31,30,31,30,31,31,30,31,30,31],Gan:["甲","乙","丙","丁","戊","己","庚","辛","壬","癸"],Zhi:["子","丑","寅","卯","辰","巳","午","未","申","酉","戌","亥"],Animals:["鼠","牛","虎","兔","龙","蛇","马","羊","猴","鸡","狗","猪"],solarTerm:["小寒","大寒","立春","雨水","惊蛰","春分","清明","谷雨","立夏","小满","芒种","夏至","小暑","大暑","立秋","处暑","白露","秋分","寒露","霜降","立冬","小雪","大雪","冬至"],sTermInfo:["9778397bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf97c3598082c95f8c965cc920f","97bd0b06bdb0722c965ce1cfcc920f","b027097bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf97c359801ec95f8c965cc920f","97bd0b06bdb0722c965ce1cfcc920f","b027097bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf97c359801ec95f8c965cc920f","97bd0b06bdb0722c965ce1cfcc920f","b027097bd097c36b0b6fc9274c91aa","9778397bd19801ec9210c965cc920e","97b6b97bd19801ec95f8c965cc920f","97bd09801d98082c95f8e1cfcc920f","97bd097bd097c36b0b6fc9210c8dc2","9778397bd197c36c9210c9274c91aa","97b6b97bd19801ec95f8c965cc920e","97bd09801d98082c95f8e1cfcc920f","97bd097bd097c36b0b6fc9210c8dc2","9778397bd097c36c9210c9274c91aa","97b6b97bd19801ec95f8c965cc920e","97bcf97c3598082c95f8e1cfcc920f","97bd097bd097c36b0b6fc9210c8dc2","9778397bd097c36c9210c9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf97c3598082c95f8c965cc920f","97bd097bd097c35b0b6fc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf97c3598082c95f8c965cc920f","97bd097bd097c35b0b6fc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf97c359801ec95f8c965cc920f","97bd097bd097c35b0b6fc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf97c359801ec95f8c965cc920f","97bd097bd097c35b0b6fc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf97c359801ec95f8c965cc920f","97bd097bd07f595b0b6fc920fb0722","9778397bd097c36b0b6fc9210c8dc2","9778397bd19801ec9210c9274c920e","97b6b97bd19801ec95f8c965cc920f","97bd07f5307f595b0b0bc920fb0722","7f0e397bd097c36b0b6fc9210c8dc2","9778397bd097c36c9210c9274c920e","97b6b97bd19801ec95f8c965cc920f","97bd07f5307f595b0b0bc920fb0722","7f0e397bd097c36b0b6fc9210c8dc2","9778397bd097c36c9210c9274c91aa","97b6b97bd19801ec9210c965cc920e","97bd07f1487f595b0b0bc920fb0722","7f0e397bd097c36b0b6fc9210c8dc2","9778397bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf7f1487f595b0b0bb0b6fb0722","7f0e397bd097c35b0b6fc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf7f1487f595b0b0bb0b6fb0722","7f0e397bd097c35b0b6fc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf7f1487f531b0b0bb0b6fb0722","7f0e397bd097c35b0b6fc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf7f1487f531b0b0bb0b6fb0722","7f0e397bd07f595b0b6fc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c9274c920e","97bcf7f0e47f531b0b0bb0b6fb0722","7f0e397bd07f595b0b0bc920fb0722","9778397bd097c36b0b6fc9210c91aa","97b6b97bd197c36c9210c9274c920e","97bcf7f0e47f531b0b0bb0b6fb0722","7f0e397bd07f595b0b0bc920fb0722","9778397bd097c36b0b6fc9210c8dc2","9778397bd097c36c9210c9274c920e","97b6b7f0e47f531b0723b0b6fb0722","7f0e37f5307f595b0b0bc920fb0722","7f0e397bd097c36b0b6fc9210c8dc2","9778397bd097c36b0b70c9274c91aa","97b6b7f0e47f531b0723b0b6fb0721","7f0e37f1487f595b0b0bb0b6fb0722","7f0e397bd097c35b0b6fc9210c8dc2","9778397bd097c36b0b6fc9274c91aa","97b6b7f0e47f531b0723b0b6fb0721","7f0e27f1487f595b0b0bb0b6fb0722","7f0e397bd097c35b0b6fc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b7f0e47f531b0723b0b6fb0721","7f0e27f1487f531b0b0bb0b6fb0722","7f0e397bd097c35b0b6fc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b7f0e47f531b0723b0b6fb0721","7f0e27f1487f531b0b0bb0b6fb0722","7f0e397bd097c35b0b6fc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b7f0e47f531b0723b0b6fb0721","7f0e27f1487f531b0b0bb0b6fb0722","7f0e397bd07f595b0b0bc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b7f0e47f531b0723b0787b0721","7f0e27f0e47f531b0b0bb0b6fb0722","7f0e397bd07f595b0b0bc920fb0722","9778397bd097c36b0b6fc9210c91aa","97b6b7f0e47f149b0723b0787b0721","7f0e27f0e47f531b0723b0b6fb0722","7f0e397bd07f595b0b0bc920fb0722","9778397bd097c36b0b6fc9210c8dc2","977837f0e37f149b0723b0787b0721","7f07e7f0e47f531b0723b0b6fb0722","7f0e37f5307f595b0b0bc920fb0722","7f0e397bd097c35b0b6fc9210c8dc2","977837f0e37f14998082b0787b0721","7f07e7f0e47f531b0723b0b6fb0721","7f0e37f1487f595b0b0bb0b6fb0722","7f0e397bd097c35b0b6fc9210c8dc2","977837f0e37f14998082b0787b06bd","7f07e7f0e47f531b0723b0b6fb0721","7f0e27f1487f531b0b0bb0b6fb0722","7f0e397bd097c35b0b6fc920fb0722","977837f0e37f14998082b0787b06bd","7f07e7f0e47f531b0723b0b6fb0721","7f0e27f1487f531b0b0bb0b6fb0722","7f0e397bd097c35b0b6fc920fb0722","977837f0e37f14998082b0787b06bd","7f07e7f0e47f531b0723b0b6fb0721","7f0e27f1487f531b0b0bb0b6fb0722","7f0e397bd07f595b0b0bc920fb0722","977837f0e37f14998082b0787b06bd","7f07e7f0e47f531b0723b0b6fb0721","7f0e27f1487f531b0b0bb0b6fb0722","7f0e397bd07f595b0b0bc920fb0722","977837f0e37f14998082b0787b06bd","7f07e7f0e47f149b0723b0787b0721","7f0e27f0e47f531b0b0bb0b6fb0722","7f0e397bd07f595b0b0bc920fb0722","977837f0e37f14998082b0723b06bd","7f07e7f0e37f149b0723b0787b0721","7f0e27f0e47f531b0723b0b6fb0722","7f0e397bd07f595b0b0bc920fb0722","977837f0e37f14898082b0723b02d5","7ec967f0e37f14998082b0787b0721","7f07e7f0e47f531b0723b0b6fb0722","7f0e37f1487f595b0b0bb0b6fb0722","7f0e37f0e37f14898082b0723b02d5","7ec967f0e37f14998082b0787b0721","7f07e7f0e47f531b0723b0b6fb0722","7f0e37f1487f531b0b0bb0b6fb0722","7f0e37f0e37f14898082b0723b02d5","7ec967f0e37f14998082b0787b06bd","7f07e7f0e47f531b0723b0b6fb0721","7f0e37f1487f531b0b0bb0b6fb0722","7f0e37f0e37f14898082b072297c35","7ec967f0e37f14998082b0787b06bd","7f07e7f0e47f531b0723b0b6fb0721","7f0e27f1487f531b0b0bb0b6fb0722","7f0e37f0e37f14898082b072297c35","7ec967f0e37f14998082b0787b06bd","7f07e7f0e47f531b0723b0b6fb0721","7f0e27f1487f531b0b0bb0b6fb0722","7f0e37f0e366aa89801eb072297c35","7ec967f0e37f14998082b0787b06bd","7f07e7f0e47f149b0723b0787b0721","7f0e27f1487f531b0b0bb0b6fb0722","7f0e37f0e366aa89801eb072297c35","7ec967f0e37f14998082b0723b06bd","7f07e7f0e47f149b0723b0787b0721","7f0e27f0e47f531b0723b0b6fb0722","7f0e37f0e366aa89801eb072297c35","7ec967f0e37f14998082b0723b06bd","7f07e7f0e37f14998083b0787b0721","7f0e27f0e47f531b0723b0b6fb0722","7f0e37f0e366aa89801eb072297c35","7ec967f0e37f14898082b0723b02d5","7f07e7f0e37f14998082b0787b0721","7f07e7f0e47f531b0723b0b6fb0722","7f0e36665b66aa89801e9808297c35","665f67f0e37f14898082b0723b02d5","7ec967f0e37f14998082b0787b0721","7f07e7f0e47f531b0723b0b6fb0722","7f0e36665b66a449801e9808297c35","665f67f0e37f14898082b0723b02d5","7ec967f0e37f14998082b0787b06bd","7f07e7f0e47f531b0723b0b6fb0721","7f0e36665b66a449801e9808297c35","665f67f0e37f14898082b072297c35","7ec967f0e37f14998082b0787b06bd","7f07e7f0e47f531b0723b0b6fb0721","7f0e26665b66a449801e9808297c35","665f67f0e37f1489801eb072297c35","7ec967f0e37f14998082b0787b06bd","7f07e7f0e47f531b0723b0b6fb0721","7f0e27f1487f531b0b0bb0b6fb0722"],nStr1:["日","一","二","三","四","五","六","七","八","九","十"],nStr2:["初","十","廿","卅"],nStr3:["正","二","三","四","五","六","七","八","九","十","冬","腊"],lYearDays:function(e){var t,n=348;for(t=32768;t>8;t>>=1)n+=this.lunarInfo[e-1900]&t?1:0;return n+this.leapDays(e)},leapMonth:function(e){return 15&this.lunarInfo[e-1900]},leapDays:function(e){return this.leapMonth(e)?65536&this.lunarInfo[e-1900]?30:29:0},monthDays:function(e,t){return t>12||t<1?-1:this.lunarInfo[e-1900]&65536>>t?30:29},solarDays:function(e,t){if(t>12||t<1)return-1;var n=t-1;return 1==n?e%4==0&&e%100!=0||e%400==0?29:28:this.solarMonth[n]},toGanZhiYear:function(e){var t=(e-3)%10,n=(e-3)%12;return 0==t&&(t=10),0==n&&(n=12),this.Gan[t-1]+this.Zhi[n-1]},toAstro:function(e,t){return"魔羯水瓶双鱼白羊金牛双子巨蟹狮子处女天秤天蝎射手魔羯".substr(2*e-(t<[20,19,21,21,21,22,23,23,23,23,22,22][e-1]?2:0),2)+"座"},toGanZhi:function(e){return this.Gan[e%10]+this.Zhi[e%12]},getTerm:function(e,t){if(e<1900||e>2100)return-1;if(t<1||t>24)return-1;var n=this.sTermInfo[e-1900],r=[parseInt("0x"+n.substr(0,5)).toString(),parseInt("0x"+n.substr(5,5)).toString(),parseInt("0x"+n.substr(10,5)).toString(),parseInt("0x"+n.substr(15,5)).toString(),parseInt("0x"+n.substr(20,5)).toString(),parseInt("0x"+n.substr(25,5)).toString()],o=[r[0].substr(0,1),r[0].substr(1,2),r[0].substr(3,1),r[0].substr(4,2),r[1].substr(0,1),r[1].substr(1,2),r[1].substr(3,1),r[1].substr(4,2),r[2].substr(0,1),r[2].substr(1,2),r[2].substr(3,1),r[2].substr(4,2),r[3].substr(0,1),r[3].substr(1,2),r[3].substr(3,1),r[3].substr(4,2),r[4].substr(0,1),r[4].substr(1,2),r[4].substr(3,1),r[4].substr(4,2),r[5].substr(0,1),r[5].substr(1,2),r[5].substr(3,1),r[5].substr(4,2)];return parseInt(o[t-1])},toChinaMonth:function(e){if(e>12||e<1)return-1;var t=this.nStr3[e-1];return t+="月",t},toChinaDay:function(e){var t;switch(e){case 10:t="初十";break;case 20:t="二十";break;case 30:t="三十";break;default:t=this.nStr2[Math.floor(e/10)],t+=this.nStr1[e%10]}return t},getAnimal:function(e){return this.Animals[(e-4)%12]},solar2lunar:function(e,t,n){if(e<1900||e>2100)return-1;if(1900==e&&1==t&&n<31)return-1;if(e)r=new Date(e,parseInt(t)-1,n);else var r=new Date;var o,i=0,a=(e=r.getFullYear(),t=r.getMonth()+1,n=r.getDate(),(Date.UTC(r.getFullYear(),r.getMonth(),r.getDate())-Date.UTC(1900,0,31))/864e5);for(o=1900;o<2101&&a>0;o++)i=this.lYearDays(o),a-=i;a<0&&(a+=i,o--);var c=new Date,s=!1;c.getFullYear()==e&&c.getMonth()+1==t&&c.getDate()==n&&(s=!0);var u=r.getDay(),l=this.nStr1[u];0==u&&(u=7);var f=o,d=this.leapMonth(o),p=!1;for(o=1;o<13&&a>0;o++)d>0&&o==d+1&&0==p?(--o,p=!0,i=this.leapDays(f)):i=this.monthDays(f,o),1==p&&o==d+1&&(p=!1),a-=i;0==a&&d>0&&o==d+1&&(p?p=!1:(p=!0,--o)),a<0&&(a+=i,--o);var h=o,y=a+1,g=t-1,v=this.toGanZhiYear(f),m=this.getTerm(e,2*t-1),b=this.getTerm(e,2*t),S=this.toGanZhi(12*(e-1900)+t+11);n>=m&&(S=this.toGanZhi(12*(e-1900)+t+12));var x=!1,C=null;m==n&&(x=!0,C=this.solarTerm[2*t-2]),b==n&&(x=!0,C=this.solarTerm[2*t-1]);var _=Date.UTC(e,g,1,0,0,0,0)/864e5+25567+10,L=this.toGanZhi(_+n-1),P=this.toAstro(t,n);return{lYear:f,lMonth:h,lDay:y,Animal:this.getAnimal(f),IMonthCn:(p?"闰":"")+this.toChinaMonth(h),IDayCn:this.toChinaDay(y),cYear:e,cMonth:t,cDay:n,gzYear:v,gzMonth:S,gzDay:L,isToday:s,isLeap:p,nWeek:u,ncWeek:"星期"+l,isTerm:x,Term:C,astro:P}},lunar2solar:function(e,t,n,r){r=!!r;var o=this.leapMonth(e);this.leapDays(e);if(r&&o!=t)return-1;if(2100==e&&12==t&&n>1||1900==e&&1==t&&n<31)return-1;var i=this.monthDays(e,t),a=i;if(r&&(a=this.leapDays(e,t)),e<1900||e>2100||n>a)return-1;for(var c=0,s=1900;s0&&(c+=this.leapDays(e),l=!0),c+=this.monthDays(e,s);r&&(c+=i);var f=Date.UTC(1900,1,30,0,0,0),d=new Date(864e5*(c+n-31)+f),p=d.getUTCFullYear(),h=d.getUTCMonth()+1,y=d.getUTCDate();return this.solar2lunar(p,h,y)}},o=r;t.default=o},3959:function(e,t,n){"use strict";(function(e){var r=n("47a9");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o,i,a=r(n("7ca3"));function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var s={props:function(e){for(var t=1;t2&&void 0!==arguments[2]&&arguments[2];if(null==n)return Promise.reject("context is null");n.proxy&&(n=n.proxy);return new Promise((function(o,i){var a=e.createSelectorQuery().in(n).selectAll(t),c=function(e){e?o(e):i("no rect")};r?a.fields({node:!0,size:!0,rect:!0},c).exec():a.boundingClientRect(c).exec()}))},t.getRect=function(t,n){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==n)return Promise.reject("context is null");n.context&&(n=n.context);n.proxy&&(n=n.proxy);return new Promise((function(o,i){var a=e.createSelectorQuery().in(n).select(t),c=function(e){e?o(e):i("no rect")};r?a.fields({node:!0,size:!0,rect:!0},c).exec():a.boundingClientRect(c).exec()}))}}).call(this,n("df3c")["default"])},"453b":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={data:function(){return{mescroll:null}},onPullDownRefresh:function(){this.mescroll&&this.mescroll.onPullDownRefresh()},onPageScroll:function(e){this.mescroll&&this.mescroll.onPageScroll(e)},onReachBottom:function(){this.mescroll&&this.mescroll.onReachBottom()},methods:{mescrollInit:function(e){this.mescroll=e},downCallback:function(){var e=this;this.mescroll.optUp.use?this.mescroll.resetUpScroll():setTimeout((function(){e.mescroll.endSuccess()}),500)},upCallback:function(){var e=this;setTimeout((function(){e.mescroll.endErr()}),500)}}},o=r;t.default=o},"47a9":function(e,t){e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.__esModule=!0,e.exports["default"]=e.exports},"4c52":function(e,t,n){"use strict";(function(e){var r=n("47a9");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o,i,a=r(n("7ca3"));function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var s={props:function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:"url",n=this[t];n&&e[this.linkType]({url:n})},$uvGetRect:function(t,n){var r=this;return new Promise((function(o){e.createSelectorQuery().in(r)[n?"selectAll":"select"](t).boundingClientRect((function(e){n&&Array.isArray(e)&&e.length&&o(e),!n&&e&&o(e)})).exec()}))},getParentData:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";this.parent||(this.parent={}),this.parent=this.$uv.$parent.call(this,t),this.parent.children&&-1===this.parent.children.indexOf(this)&&this.parent.children.push(this),this.parent&&this.parentData&&Object.keys(this.parentData).map((function(t){e.parentData[t]=e.parent[t]}))},preventEvent:function(e){e&&"function"===typeof e.stopPropagation&&e.stopPropagation()},noop:function(e){this.preventEvent(e)}},onReachBottom:function(){e.$emit("uvOnReachBottom")},beforeDestroy:function(){var e=this;if(this.parent&&c.array(this.parent.children)){var t=this.parent.children;t.map((function(n,r){n===e&&t.splice(r,1)}))}},unmounted:function(){var e=this;if(this.parent&&c.array(this.parent.children)){var t=this.parent.children;t.map((function(n,r){n===e&&t.splice(r,1)}))}}};t.default=y}).call(this,n("df3c")["default"])},5412:function(e,t,n){"use strict";Object.defineProperty(t,"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MAKBPQCGYSHHEGQCMWYYWLJYJHYYZLLJJYLHZYHMGSLJLJXCJJYCLYCJPCPZJZJMMYLCQLNQLJQJSXYJMLSZLJQLYCMMHCFMMFPQQMFYLQMCFFQMMMMHMZNFHHJGTTHHKHSLNCHHYQDXTMMQDCYZYXYQMYQYLTDCYYYZAZZCYMZYDLZFFFMMYCQZWZZMABTBYZTDMNZZGGDFTYPCGQYTTSSFFWFDTZQSSYSTWXJHXYTSXXYLBYQHWWKXHZXWZNNZZJZJJQJCCCHYYXBZXZCYZTLLCQXYNJYCYYCYNZZQYYYEWYCZDCJYCCHYJLBTZYYCQWMPWPYMLGKDLDLGKQQBGYCHJXY",getFirstLetter:function(e){if(!e||/^ +$/g.test(e))return"";if(r.firstletter){var t=e.charCodeAt(0),n=e.charAt(0);n=t>=19968&&t<=40869?r.firstletter.charAt(t-19968):t>=97&&t<=122||t>=65&&t<=90?n.toLocaleUpperCase():"#";var o={unicode:t,firstletter:n};return o}return""}},o=r;t.default=o},"5b13":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={modelValue:{type:[Number,Array],default:null},value:{type:[Number,Array],default:null},min:{type:Number,default:0},max:{type:Number,default:100},step:{type:Number,default:1},range:{type:Boolean,defalut:!1},disabled:{type:Boolean,defalut:!1},vertical:{type:Boolean,defalut:!1},marks:{type:Object},thumbSize:{type:String,defalut:null},thumbColor:{type:String,defalut:null},thumbBorderColor:{type:String,defalut:null},thumbRadius:{type:String,defalut:null},railColor:{type:String,defalut:null},railRadius:{type:String,defalut:null},railSize:{type:String,defalut:null},trackColor:{type:String,defalut:null}};t.default=r},"5d05":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;n("188d");t.default={watch:{accept:{immediate:!0,handler:function(e){}}}}},"60ae":function(e,t,n){"use strict";(function(e){var r=n("47a9");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o,i,a=r(n("7ca3"));function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var s={props:function(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:6;return new RegExp("^\\d{".concat(t,"}$")).test(e)},t.contains=function(e,t){return e.indexOf(t)>=0},t.date=function(e){if(!e)return!1;i(e)&&(e=+e);return!/Invalid|NaN/.test(new Date(e).toString())},t.dateISO=function(e){return/^\d{4}[\/\-](0?[1-9]|1[012])[\/\-](0?[1-9]|[12][0-9]|3[01])$/.test(e)},t.digits=function(e){return/^\d+$/.test(e)},t.email=function(e){return/^\w+((-\w+)|(\.\w+))*\@[A-Za-z0-9]+((\.|-)[A-Za-z0-9]+)*\.[A-Za-z0-9]+$/.test(e)},t.empty=function(e){switch((0,o.default)(e)){case"undefined":return!0;case"string":if(0==e.replace(/(^[ \t\n\r]*)|([ \t\n\r]*$)/g,"").length)return!0;break;case"boolean":if(!e)return!0;break;case"number":if(0===e||isNaN(e))return!0;break;case"object":if(null===e||0===e.length)return!0;for(var t in e)return!1;return!0}return!1},t.enOrNum=function(e){return/^[0-9a-zA-Z]*$/g.test(e)},t.func=c,t.idCard=function(e){return/^[1-9]\d{5}[1-9]\d{3}((0\d)|(1[0-2]))(([0|1|2]\d)|3[0-1])\d{3}([0-9]|X)$/.test(e)},t.image=function(e){var t=e.split("?")[0];return/\.(jpeg|jpg|gif|png|svg|webp|jfif|bmp|dpg)/i.test(t)},t.jsonString=function(e){if("string"===typeof e)try{var t=JSON.parse(e);return!("object"!==(0,o.default)(t)||!t)}catch(n){return!1}return!1},t.landline=function(e){return/^\d{3,4}-\d{7,8}(-\d{3,4})?$/.test(e)},t.letter=function(e){return/^[a-zA-Z]*$/.test(e)},t.mobile=function(e){return/^1([3589]\d|4[5-9]|6[1-2,4-7]|7[0-8])\d{8}$/.test(e)},t.number=i,t.object=a,t.promise=function(e){return a(e)&&c(e.then)&&c(e.catch)},t.range=function(e,t){return e>=t[0]&&e<=t[1]},t.rangeLength=function(e,t){return e.length>=t[0]&&e.length<=t[1]},t.regExp=function(e){return e&&"[object RegExp]"===Object.prototype.toString.call(e)},t.string=function(e){return"string"===typeof e},t.url=function(e){return/^((https|http|ftp|rtsp|mms):\/\/)(([0-9a-zA-Z_!~*'().&=+$%-]+: )?[0-9a-zA-Z_!~*'().&=+$%-]+@)?(([0-9]{1,3}.){3}[0-9]{1,3}|([0-9a-zA-Z_!~*'()-]+.)*([0-9a-zA-Z][0-9a-zA-Z-]{0,61})?[0-9a-zA-Z].[a-zA-Z]{2,6})(:[0-9]{1,4})?((\/?)|(\/[0-9a-zA-Z_!~*'().;?:@&=+$,%#-]+)+\/?)$/.test(e)},t.video=function(e){return/\.(mp4|mpg|mpeg|dat|asf|avi|rm|rmvb|mov|wmv|flv|mkv|m3u8)/i.test(e)};var o=r(n("3b2d"));function i(e){return/^[\+-]?(\d+\.?\d*|\.\d+|\d\.\d+e\+\d+)$/.test(e)}function a(e){return"[object Object]"===Object.prototype.toString.call(e)}function c(e){return"function"===typeof e}},6382:function(e,t,n){var r=n("6454");e.exports=function(e,t){if(e){if("string"===typeof e)return r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(e,t):void 0}},e.exports.__esModule=!0,e.exports["default"]=e.exports},6454:function(e,t){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n=t?e:""+Array(t+1-r.length).join(n)+e},m={s:v,z:function(e){var t=-e.utcOffset(),n=Math.abs(t),r=Math.floor(n/60),o=n%60;return(t<=0?"+":"-")+v(r,2,"0")+":"+v(o,2,"0")},m:function e(t,n){if(t.date()1)return e(a[0])}else{var c=t.name;S[c]=t,o=c}return!r&&o&&(b=o),o||!r&&b},_=function(e,t){if(x(e))return e.clone();var n="object"==(0,o.default)(t)?t:{};return n.date=e,n.args=arguments,new P(n)},L=m;L.l=C,L.i=x,L.w=function(e,t){return _(e,{locale:t.$L,utc:t.$u,x:t.$x,$offset:t.$offset})};var P=function(){function o(e){this.$L=C(e.locale,null,!0),this.parse(e)}var g=o.prototype;return g.parse=function(e){this.$d=function(e){var t=e.date,n=e.utc;if(null===t)return new Date(NaN);if(L.u(t))return new Date;if(t instanceof Date)return new Date(t);if("string"==typeof t&&!/Z$/i.test(t)){var r=t.match(h);if(r){var o=r[2]-1||0,i=(r[7]||"0").substring(0,3);return n?new Date(Date.UTC(r[1],o,r[3]||1,r[4]||0,r[5]||0,r[6]||0,i)):new Date(r[1],o,r[3]||1,r[4]||0,r[5]||0,r[6]||0,i)}}return new Date(t)}(e),this.$x=e.x||{},this.init()},g.init=function(){var e=this.$d;this.$y=e.getFullYear(),this.$M=e.getMonth(),this.$D=e.getDate(),this.$W=e.getDay(),this.$H=e.getHours(),this.$m=e.getMinutes(),this.$s=e.getSeconds(),this.$ms=e.getMilliseconds()},g.$utils=function(){return L},g.isValid=function(){return!(this.$d.toString()===p)},g.isSame=function(e,t){var n=_(e);return this.startOf(t)<=n&&n<=this.endOf(t)},g.isAfter=function(e,t){return _(e)1&&void 0!==arguments[1])||arguments[1],n=/^#([0-9a-fA-f]{3}|[0-9a-fA-f]{6})$/;if(e=String(e).toLowerCase(),e&&n.test(e)){if(4===e.length){for(var r="#",o=1;o<4;o+=1)r+=e.slice(o,o+1).concat(e.slice(o,o+1));e=r}for(var i=[],a=1;a<7;a+=2)i.push(parseInt("0x".concat(e.slice(a,a+2))));return t?"rgb(".concat(i[0],",").concat(i[1],",").concat(i[2],")"):i}if(/^(rgb|RGB)/.test(e)){var c=e.replace(/(?:\(|\)|rgb|RGB)*/g,"").split(",");return c.map((function(e){return Number(e)}))}return e}function o(e){var t=e;if(/^(rgb|RGB)/.test(t)){for(var n=t.replace(/(?:\(|\)|rgb|RGB)*/g,"").split(","),r="#",o=0;o0&&void 0!==arguments[0]?arguments[0]:"rgb(0, 0, 0)",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"rgb(255, 255, 255)",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:10,i=r(e,!1),a=i[0],c=i[1],s=i[2],u=r(t,!1),l=u[0],f=u[1],d=u[2],p=(l-a)/n,h=(f-c)/n,y=(d-s)/n,g=[],v=0;v0)return t();v(e)}}))},g=function(e){var t="";switch(e){case"access":t="访问";break;case"create":t="创建";break;case"delete":t="删除";break;case"edit":t="编辑";break;case"fileDelete":t="删除";break;case"fileDownload":t="下载";break;case"fileUpload":t="上传";break;case"fileView":t="预览";break;default:break}return t},v=function(t){var n="该文件是私密文件夹,是否申请".concat(g(t.type),"?");e.showModal({title:"系统提示",content:n,success:function(n){if(n.confirm){if(0===l.length)return e.showToast({title:"暂未设置审核人",icon:"none"});for(var r="",o=0;o-1&&t.splice(n,1)}}function h(e,t){e._actions=Object.create(null),e._mutations=Object.create(null),e._wrappedGetters=Object.create(null),e._modulesNamespaceMap=Object.create(null);var n=e.state;g(e,n,[],e._modules.root,!0),y(e,n,t)}function y(e,t,n){var r=e._vm;e.getters={},e._makeLocalGettersCache=Object.create(null);var o=e._wrappedGetters,a={};i(o,(function(t,n){a[n]=function(e,t){return function(){return e(t)}}(t,e),Object.defineProperty(e.getters,n,{get:function(){return e._vm[n]},enumerable:!0})}));var c=l.config.silent;l.config.silent=!0,e._vm=new l({data:{$$state:t},computed:a}),l.config.silent=c,e.strict&&function(e){e._vm.$watch((function(){return this._data.$$state}),(function(){0}),{deep:!0,sync:!0})}(e),r&&(n&&e._withCommit((function(){r._data.$$state=null})),l.nextTick((function(){return r.$destroy()})))}function g(e,t,n,r,o){var i=!n.length,a=e._modules.getNamespace(n);if(r.namespaced&&(e._modulesNamespaceMap[a],e._modulesNamespaceMap[a]=r),!i&&!o){var c=v(t,n.slice(0,-1)),s=n[n.length-1];e._withCommit((function(){l.set(c,s,r.state)}))}var u=r.context=function(e,t,n){var r=""===t,o={dispatch:r?e.dispatch:function(n,r,o){var i=m(n,r,o),a=i.payload,c=i.options,s=i.type;return c&&c.root||(s=t+s),e.dispatch(s,a)},commit:r?e.commit:function(n,r,o){var i=m(n,r,o),a=i.payload,c=i.options,s=i.type;c&&c.root||(s=t+s),e.commit(s,a,c)}};return Object.defineProperties(o,{getters:{get:r?function(){return e.getters}:function(){return function(e,t){if(!e._makeLocalGettersCache[t]){var n={},r=t.length;Object.keys(e.getters).forEach((function(o){if(o.slice(0,r)===t){var i=o.slice(r);Object.defineProperty(n,i,{get:function(){return e.getters[o]},enumerable:!0})}})),e._makeLocalGettersCache[t]=n}return e._makeLocalGettersCache[t]}(e,t)}},state:{get:function(){return v(e.state,n)}}}),o}(e,a,n);r.forEachMutation((function(t,n){var r=a+n;(function(e,t,n,r){var o=e._mutations[t]||(e._mutations[t]=[]);o.push((function(t){n.call(e,r.state,t)}))})(e,r,t,u)})),r.forEachAction((function(t,n){var r=t.root?n:a+n,o=t.handler||t;(function(e,t,n,r){var o=e._actions[t]||(e._actions[t]=[]);o.push((function(t){var o=n.call(e,{dispatch:r.dispatch,commit:r.commit,getters:r.getters,state:r.state,rootGetters:e.getters,rootState:e.state},t);return function(e){return e&&"function"===typeof e.then}(o)||(o=Promise.resolve(o)),e._devtoolHook?o.catch((function(t){throw e._devtoolHook.emit("vuex:error",t),t})):o}))})(e,r,o,u)})),r.forEachGetter((function(t,n){var r=a+n;(function(e,t,n,r){if(e._wrappedGetters[t])return void 0;e._wrappedGetters[t]=function(e){return n(r.state,r.getters,e.state,e.getters)}})(e,r,t,u)})),r.forEachChild((function(r,i){g(e,t,n.concat(i),r,o)}))}function v(e,t){return t.reduce((function(e,t){return e[t]}),e)}function m(e,t,n){return a(e)&&e.type&&(n=t,t=e,e=e.type),{type:e,payload:t,options:n}}function b(e){l&&e===l||(l=e, /*! * vuex v3.6.2 * (c) 2021 Evan You * @license MIT */ function(e){var t=Number(e.version.split(".")[0]);if(t>=2)e.mixin({beforeCreate:r});else{var n=e.prototype._init;e.prototype._init=function(e){void 0===e&&(e={}),e.init=e.init?[r].concat(e.init):r,n.call(this,e)}}function r(){var e=this.$options;e.store?this.$store="function"===typeof e.store?e.store():e.store:e.parent&&e.parent.$store&&(this.$store=e.parent.$store)}}(l))}d.state.get=function(){return this._vm._data.$$state},d.state.set=function(e){0},f.prototype.commit=function(e,t,n){var r=this,o=m(e,t,n),i=o.type,a=o.payload,c=(o.options,{type:i,payload:a}),s=this._mutations[i];s&&(this._withCommit((function(){s.forEach((function(e){e(a)}))})),this._subscribers.slice().forEach((function(e){return e(c,r.state)})))},f.prototype.dispatch=function(e,t){var n=this,r=m(e,t),o=r.type,i=r.payload,a={type:o,payload:i},c=this._actions[o];if(c){try{this._actionSubscribers.slice().filter((function(e){return e.before})).forEach((function(e){return e.before(a,n.state)}))}catch(u){0}var s=c.length>1?Promise.all(c.map((function(e){return e(i)}))):c[0](i);return new Promise((function(e,t){s.then((function(t){try{n._actionSubscribers.filter((function(e){return e.after})).forEach((function(e){return e.after(a,n.state)}))}catch(u){0}e(t)}),(function(e){try{n._actionSubscribers.filter((function(e){return e.error})).forEach((function(t){return t.error(a,n.state,e)}))}catch(u){0}t(e)}))}))}},f.prototype.subscribe=function(e,t){return p(e,this._subscribers,t)},f.prototype.subscribeAction=function(e,t){var n="function"===typeof e?{before:e}:e;return p(n,this._actionSubscribers,t)},f.prototype.watch=function(e,t,n){var r=this;return this._watcherVM.$watch((function(){return e(r.state,r.getters)}),t,n)},f.prototype.replaceState=function(e){var t=this;this._withCommit((function(){t._vm._data.$$state=e}))},f.prototype.registerModule=function(e,t,n){void 0===n&&(n={}),"string"===typeof e&&(e=[e]),this._modules.register(e,t),g(this,this.state,e,this._modules.get(e),n.preserveState),y(this,this.state)},f.prototype.unregisterModule=function(e){var t=this;"string"===typeof e&&(e=[e]),this._modules.unregister(e),this._withCommit((function(){var n=v(t.state,e.slice(0,-1));l.delete(n,e[e.length-1])})),h(this)},f.prototype.hasModule=function(e){return"string"===typeof e&&(e=[e]),this._modules.isRegistered(e)},f.prototype[[104,111,116,85,112,100,97,116,101].map((function(e){return String.fromCharCode(e)})).join("")]=function(e){this._modules.update(e),h(this,!0)},f.prototype._withCommit=function(e){var t=this._committing;this._committing=!0,e(),this._committing=t},Object.defineProperties(f.prototype,d);var S=P((function(e,t){var n={};return L(t).forEach((function(t){var r=t.key,o=t.val;n[r]=function(){var t=this.$store.state,n=this.$store.getters;if(e){var r=Y(this.$store,"mapState",e);if(!r)return;t=r.context.state,n=r.context.getters}return"function"===typeof o?o.call(this,t,n):t[o]},n[r].vuex=!0})),n})),x=P((function(e,t){var n={};return L(t).forEach((function(t){var r=t.key,o=t.val;n[r]=function(){var t=[],n=arguments.length;while(n--)t[n]=arguments[n];var r=this.$store.commit;if(e){var i=Y(this.$store,"mapMutations",e);if(!i)return;r=i.context.commit}return"function"===typeof o?o.apply(this,[r].concat(t)):r.apply(this.$store,[o].concat(t))}})),n})),C=P((function(e,t){var n={};return L(t).forEach((function(t){var r=t.key,o=t.val;o=e+o,n[r]=function(){if(!e||Y(this.$store,"mapGetters",e))return this.$store.getters[o]},n[r].vuex=!0})),n})),_=P((function(e,t){var n={};return L(t).forEach((function(t){var r=t.key,o=t.val;n[r]=function(){var t=[],n=arguments.length;while(n--)t[n]=arguments[n];var r=this.$store.dispatch;if(e){var i=Y(this.$store,"mapActions",e);if(!i)return;r=i.context.dispatch}return"function"===typeof o?o.apply(this,[r].concat(t)):r.apply(this.$store,[o].concat(t))}})),n}));function L(e){return function(e){return Array.isArray(e)||a(e)}(e)?Array.isArray(e)?e.map((function(e){return{key:e,val:e}})):Object.keys(e).map((function(t){return{key:t,val:e[t]}})):[]}function P(e){return function(t,n){return"string"!==typeof t?(n=t,t=""):"/"!==t.charAt(t.length-1)&&(t+="/"),e(t,n)}}function Y(e,t,n){var r=e._modulesNamespaceMap[n];return r}function T(e,t,n){var r=n?e.groupCollapsed:e.group;try{r.call(e,t)}catch(o){e.log(t)}}function M(e){try{e.groupEnd()}catch(t){e.log("—— log end ——")}}function D(){var e=new Date;return" @ "+Z(e.getHours(),2)+":"+Z(e.getMinutes(),2)+":"+Z(e.getSeconds(),2)+"."+Z(e.getMilliseconds(),3)}function Z(e,t){return function(e,t){return new Array(t+1).join(e)}("0",t-e.toString().length)+e}var w={Store:f,install:b,version:"3.6.2",mapState:S,mapMutations:x,mapGetters:C,mapActions:_,createNamespacedHelpers:function(e){return{mapState:S.bind(null,e),mapGetters:C.bind(null,e),mapMutations:x.bind(null,e),mapActions:_.bind(null,e)}},createLogger:function(e){void 0===e&&(e={});var t=e.collapsed;void 0===t&&(t=!0);var n=e.filter;void 0===n&&(n=function(e,t,n){return!0});var r=e.transformer;void 0===r&&(r=function(e){return e});var i=e.mutationTransformer;void 0===i&&(i=function(e){return e});var a=e.actionFilter;void 0===a&&(a=function(e,t){return!0});var c=e.actionTransformer;void 0===c&&(c=function(e){return e});var s=e.logMutations;void 0===s&&(s=!0);var u=e.logActions;void 0===u&&(u=!0);var l=e.logger;return void 0===l&&(l=console),function(e){var f=o(e.state);"undefined"!==typeof l&&(s&&e.subscribe((function(e,a){var c=o(a);if(n(e,f,c)){var s=D(),u=i(e),d="mutation "+e.type+s;T(l,d,t),l.log("%c prev state","color: #9E9E9E; font-weight: bold",r(f)),l.log("%c mutation","color: #03A9F4; font-weight: bold",u),l.log("%c next state","color: #4CAF50; font-weight: bold",r(c)),M(l)}f=c})),u&&e.subscribeAction((function(e,n){if(a(e,n)){var r=D(),o=c(e),i="action "+e.type+r;T(l,i,t),l.log("%c action","color: #03A9F4; font-weight: bold",o),M(l)}})))}}};e.exports=w}).call(this,n("0ee4"))},"8ffa":function(e,t,n){var r=n("7647");e.exports=function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&r(e,t)},e.exports.__esModule=!0,e.exports["default"]=e.exports},9008:function(e,t){e.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.")},e.exports.__esModule=!0,e.exports["default"]=e.exports},9249:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getProjectDetailById=function(e){return(0,r.request)({url:"/api/project/getProject/".concat(e),method:"get"})},t.getProjectList=function(){return(0,r.request)({url:"/api/project/projectListIdentity",method:"get"})},t.refresh=function(){return(0,r.request)({url:"/manager/userContext/refresh",method:"get"})},t.selectProject=function(e){return(0,r.request)({url:"/manager/userContext/project/".concat(e),method:"put"})};var r=n("8cf7")},"925d":function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={def:"zh",getType:function(){return e.getStorageSync("mescroll-i18n")||this.def},setType:function(t){e.setStorageSync("mescroll-i18n",t)}},r=n;t.default=r}).call(this,n("df3c")["default"])},"931d":function(e,t,n){var r=n("7647"),o=n("011a");e.exports=function(e,t,n){if(o())return Reflect.construct.apply(null,arguments);var i=[null];i.push.apply(i,t);var a=new(e.bind.apply(e,i));return n&&r(a,n.prototype),a},e.exports.__esModule=!0,e.exports["default"]=e.exports},"93fc":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={"uvicon-level":"e68f","uvicon-checkbox-mark":"e659","uvicon-folder":"e694","uvicon-movie":"e67c","uvicon-star-fill":"e61e","uvicon-star":"e618","uvicon-phone-fill":"e6ac","uvicon-phone":"e6ba","uvicon-apple-fill":"e635","uvicon-backspace":"e64d","uvicon-attach":"e640","uvicon-empty-data":"e671","uvicon-empty-address":"e68a","uvicon-empty-favor":"e662","uvicon-empty-car":"e657","uvicon-empty-order":"e66b","uvicon-empty-list":"e672","uvicon-empty-search":"e677","uvicon-empty-permission":"e67d","uvicon-empty-news":"e67e","uvicon-empty-history":"e685","uvicon-empty-coupon":"e69b","uvicon-empty-page":"e60e","uvicon-empty-wifi-off":"e6cc","uvicon-reload":"e627","uvicon-order":"e695","uvicon-server-man":"e601","uvicon-search":"e632","uvicon-more-dot-fill":"e66f","uvicon-scan":"e631","uvicon-map":"e665","uvicon-map-fill":"e6a8","uvicon-tags":"e621","uvicon-tags-fill":"e613","uvicon-eye":"e664","uvicon-eye-fill":"e697","uvicon-eye-off":"e69c","uvicon-eye-off-outline":"e688","uvicon-mic":"e66d","uvicon-mic-off":"e691","uvicon-calendar":"e65c","uvicon-trash":"e623","uvicon-trash-fill":"e6ce","uvicon-play-left":"e6bf","uvicon-play-right":"e6b3","uvicon-minus":"e614","uvicon-plus":"e625","uvicon-info-circle":"e69f","uvicon-info-circle-fill":"e6a7","uvicon-question-circle":"e622","uvicon-question-circle-fill":"e6bc","uvicon-close":"e65a","uvicon-checkmark":"e64a","uvicon-checkmark-circle":"e643","uvicon-checkmark-circle-fill":"e668","uvicon-setting":"e602","uvicon-setting-fill":"e6d0","uvicon-heart":"e6a2","uvicon-heart-fill":"e68b","uvicon-camera":"e642","uvicon-camera-fill":"e650","uvicon-more-circle":"e69e","uvicon-more-circle-fill":"e684","uvicon-chat":"e656","uvicon-chat-fill":"e63f","uvicon-bag":"e647","uvicon-error-circle":"e66e","uvicon-error-circle-fill":"e655","uvicon-close-circle":"e64e","uvicon-close-circle-fill":"e666","uvicon-share":"e629","uvicon-share-fill":"e6bb","uvicon-share-square":"e6c4","uvicon-shopping-cart":"e6cb","uvicon-shopping-cart-fill":"e630","uvicon-bell":"e651","uvicon-bell-fill":"e604","uvicon-list":"e690","uvicon-list-dot":"e6a9","uvicon-zhifubao-circle-fill":"e617","uvicon-weixin-circle-fill":"e6cd","uvicon-weixin-fill":"e620","uvicon-qq-fill":"e608","uvicon-qq-circle-fill":"e6b9","uvicon-moments-circel-fill":"e6c2","uvicon-moments":"e6a0","uvicon-car":"e64f","uvicon-car-fill":"e648","uvicon-warning-fill":"e6c7","uvicon-warning":"e6c1","uvicon-clock-fill":"e64b","uvicon-clock":"e66c","uvicon-edit-pen":"e65d","uvicon-edit-pen-fill":"e679","uvicon-email":"e673","uvicon-email-fill":"e683","uvicon-minus-circle":"e6a5","uvicon-plus-circle":"e603","uvicon-plus-circle-fill":"e611","uvicon-file-text":"e687","uvicon-file-text-fill":"e67f","uvicon-pushpin":"e6d1","uvicon-pushpin-fill":"e6b6","uvicon-grid":"e68c","uvicon-grid-fill":"e698","uvicon-play-circle":"e6af","uvicon-play-circle-fill":"e62a","uvicon-pause-circle-fill":"e60c","uvicon-pause":"e61c","uvicon-pause-circle":"e696","uvicon-gift-fill":"e6b0","uvicon-gift":"e680","uvicon-kefu-ermai":"e660","uvicon-server-fill":"e610","uvicon-coupon-fill":"e64c","uvicon-coupon":"e65f","uvicon-integral":"e693","uvicon-integral-fill":"e6b1","uvicon-home-fill":"e68e","uvicon-home":"e67b","uvicon-account":"e63a","uvicon-account-fill":"e653","uvicon-thumb-down-fill":"e628","uvicon-thumb-down":"e60a","uvicon-thumb-up":"e612","uvicon-thumb-up-fill":"e62c","uvicon-lock-fill":"e6a6","uvicon-lock-open":"e68d","uvicon-lock-opened-fill":"e6a1","uvicon-lock":"e69d","uvicon-red-packet":"e6c3","uvicon-photo-fill":"e6b4","uvicon-photo":"e60d","uvicon-volume-off-fill":"e6c8","uvicon-volume-off":"e6bd","uvicon-volume-fill":"e624","uvicon-volume":"e605","uvicon-download":"e670","uvicon-arrow-up-fill":"e636","uvicon-arrow-down-fill":"e638","uvicon-play-left-fill":"e6ae","uvicon-play-right-fill":"e6ad","uvicon-arrow-downward":"e634","uvicon-arrow-leftward":"e63b","uvicon-arrow-rightward":"e644","uvicon-arrow-upward":"e641","uvicon-arrow-down":"e63e","uvicon-arrow-right":"e63c","uvicon-arrow-left":"e646","uvicon-arrow-up":"e633","uvicon-skip-back-left":"e6c5","uvicon-skip-forward-right":"e61f","uvicon-arrow-left-double":"e637","uvicon-man":"e675","uvicon-woman":"e626","uvicon-en":"e6b8","uvicon-twitte":"e607","uvicon-twitter-circle-fill":"e6cf"}},"9ad5":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={props:{bgColor:{type:String,default:"transparent"}}};t.default=r},"9c4a":function(e,t){(function(t){e.exports=t}).call(this,{})},"9dcc":function(e,t,n){"use strict";var r=n("47a9");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n("34cf")),i=r(n("3b2d")),a={version:"v2.5.0-20230101",yAxisWidth:15,xAxisHeight:22,padding:[10,10,10,10],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,radarLabelTextMargin:13},c=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;re.end.x||t.end.xe.start.y||t.start.y1&&(o.extra.mount.widthRatio>2&&(o.extra.mount.widthRatio=2),a+=(o.extra.mount.widthRatio-1)*n.eachSpacing);var c=t;return t>=0?(c=0,e.uevent.trigger("scrollLeft"),e.scrollOption.position="left",o.xAxis.scrollPosition="left"):Math.abs(t)>=a-i?(c=i-a,e.uevent.trigger("scrollRight"),e.scrollOption.position="right",o.xAxis.scrollPosition="right"):(e.scrollOption.position=t,o.xAxis.scrollPosition=t),c}function d(e,t,n){function r(e){while(e<0)e+=2*Math.PI;while(e>2*Math.PI)e-=2*Math.PI;return e}return e=r(e),t=r(t),n=r(n),t>n&&(n+=2*Math.PI,e=t&&e<=n}function p(e,t){function n(e,t){return!(!e[t-1]||!e[t+1])&&(e[t].y>=Math.max(e[t-1].y,e[t+1].y)||e[t].y<=Math.min(e[t-1].y,e[t+1].y))}function r(e,t){return!(!e[t-1]||!e[t+1])&&(e[t].x>=Math.max(e[t-1].x,e[t+1].x)||e[t].x<=Math.min(e[t-1].x,e[t+1].x))}var o=.2,i=.2,a=null,c=null,s=null,u=null;if(t<1?(a=e[0].x+(e[1].x-e[0].x)*o,c=e[0].y+(e[1].y-e[0].y)*o):(a=e[t].x+(e[t+1].x-e[t-1].x)*o,c=e[t].y+(e[t+1].y-e[t-1].y)*o),t>e.length-3){var l=e.length-1;s=e[l].x-(e[l].x-e[l-1].x)*i,u=e[l].y-(e[l].y-e[l-1].y)*i}else s=e[t+1].x-(e[t+2].x-e[t].x)*i,u=e[t+1].y-(e[t+2].y-e[t].y)*i;return n(e,t+1)&&(u=e[t+1].y),n(e,t)&&(c=e[t].y),r(e,t+1)&&(s=e[t+1].x),r(e,t)&&(a=e[t].x),(c>=Math.max(e[t].y,e[t+1].y)||c<=Math.min(e[t].y,e[t+1].y))&&(c=e[t].y),(u>=Math.max(e[t].y,e[t+1].y)||u<=Math.min(e[t].y,e[t+1].y))&&(u=e[t+1].y),(a>=Math.max(e[t].x,e[t+1].x)||a<=Math.min(e[t].x,e[t+1].x))&&(a=e[t].x),(s>=Math.max(e[t].x,e[t+1].x)||s<=Math.min(e[t].x,e[t+1].x))&&(s=e[t+1].x),{ctrA:{x:a,y:c},ctrB:{x:s,y:u}}}function h(e,t,n){return{x:n.x+e,y:n.y-t}}function y(e,t){if(t)while(s.isCollision(e,t))e.start.x>0?e.start.y--:e.start.x<0||e.start.y>0?e.start.y++:e.start.y--;return e}function g(e,t,n){for(var r=0,o=0;o=1e4?1e3:r>=1e3?100:r>=100?10:r>=10?5:r>=1?1:r>=.1?.1:r>=.01?.01:r>=.001?.001:r>=1e-4?1e-4:r>=1e-5?1e-5:1e-6,{minRange:l(e,"lower",n),maxRange:l(t,"upper",n)}}function b(e,t,n){var r=0;if(e=String(e),!1!==n&&void 0!==n&&n.setFontSize&&n.measureText)return n.setFontSize(t),n.measureText(e).width;e=e.split("");for(var o=0;o-1;if(i)for(var a=D(e),c=0;c5&&void 0!==arguments[5]?arguments[5]:{},a=t.chartData.calPoints?t.chartData.calPoints:[],c={};if(r.length>0){for(var s=[],u=0;u0&&(r=o[n]),{text:i.formatter?i.formatter(e,r,n,t):e.name+": "+e.data,color:e.color,legendShape:"auto"==t.extra.tooltip.legendShape?e.legendShape:t.extra.tooltip.legendShape}})),d={x:Math.round(c.x),y:Math.round(c.y)};return{textList:f,offset:d}}function T(e,t,n,r){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},i=t.chartData.xAxisPoints[n]+t.chartData.eachSpacing/2,a=e.map((function(e){return{text:o.formatter?o.formatter(e,r[n],n,t):e.name+": "+e.data,color:e.color,disableLegend:!!e.disableLegend,legendShape:"auto"==t.extra.tooltip.legendShape?e.legendShape:t.extra.tooltip.legendShape}}));a=a.filter((function(e){if(!0!==e.disableLegend)return e}));var c={x:Math.round(i),y:0};return{textList:a,offset:c}}function M(e,t,n,r,o,i){var a=n.chartData.calPoints,c=i.color.upFill,s=i.color.downFill,u=[c,c,s,c],l=[];t.map((function(t){0==r?t.data[1]-t.data[0]<0?u[1]=s:u[1]=c:(t.data[0]e[r-1][1]&&(u[2]=c),t.data[3]=t.area[3]-10&&e.y>=t.area[0]&&e.y<=t.height-t.area[2]}function w(e,t,n){return Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2)<=Math.pow(n,2)}function O(e,t){var n=[],r=[];return e.forEach((function(e,o){t.connectNulls?null!==e&&r.push(e):null!==e?r.push(e):(r.length&&n.push(r),r=[])})),r.length&&n.push(r),n}function A(e,t,n,r,o){var i={angle:0,xAxisHeight:t.xAxis.lineHeight*t.pix+t.xAxis.marginTop*t.pix},a=t.xAxis.fontSize*t.pix,c=e.map((function(e,n){var r=t.xAxis.formatter?t.xAxis.formatter(e,n,t):e;return b(String(r),a,o)})),s=Math.max.apply(this,c);if(1==t.xAxis.rotateLabel){i.angle=t.xAxis.rotateAngle*Math.PI/180;var u=t.xAxis.marginTop*t.pix*2+Math.abs(s*Math.sin(i.angle));u=u4&&void 0!==arguments[4]?arguments[4]:-1;o="stack"==r?x(e,t.categories.length):S(e);var c=[];o=o.filter((function(e){return"object"===(0,i.default)(e)&&null!==e?e.constructor.toString().indexOf("Array")>-1?null!==e:null!==e.value:null!==e})),o.map((function(e){"object"===(0,i.default)(e)?e.constructor.toString().indexOf("Array")>-1?"candle"==t.type?e.map((function(e){c.push(e)})):c.push(e[0]):c.push(e.value):c.push(e)}));var s=0,u=0;if(c.length>0&&(s=Math.min.apply(this,c),u=Math.max.apply(this,c)),a>-1?("number"===typeof t.xAxis.data[a].min&&(s=Math.min(t.xAxis.data[a].min,s)),"number"===typeof t.xAxis.data[a].max&&(u=Math.max(t.xAxis.data[a].max,u))):("number"===typeof t.xAxis.min&&(s=Math.min(t.xAxis.min,s)),"number"===typeof t.xAxis.max&&(u=Math.max(t.xAxis.max,u))),s===u){var l=u||10;u+=l}for(var f=s,d=u,p=[],h=(d-f)/t.xAxis.splitNumber,y=0;y<=t.xAxis.splitNumber;y++)p.push(f+h*y);return p}(e,t,n,o.type),a.rangesFormat=a.ranges.map((function(e){return e=s.toFixed(e,2),e}));var u=a.ranges.map((function(e){return e=s.toFixed(e,2),e}));a=Object.assign(a,$(u,t,n));a.eachSpacing,u.map((function(e){return b(e,t.xAxis.fontSize*t.pix,r)}));return!0===t.xAxis.disabled&&(a.xAxisHeight=0),a}function N(e,t,n,r,o){var i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:1,a=o.extra.radar||{};a.max=a.max||0;for(var c=Math.max(a.max,Math.max.apply(null,S(r))),s=[],u=function(o){var a=r[o],u={};u.color=a.color,u.legendShape=a.legendShape,u.pointShape=a.pointShape,u.data=[],a.data.forEach((function(r,o){var a={};a.angle=e[o],a.proportion=r/c,a.value=r,a.position=h(n*a.proportion*i*Math.cos(a.angle),n*a.proportion*i*Math.sin(a.angle),t),u.data.push(a)})),s.push(u)},l=0;l2&&void 0!==arguments[2]?arguments[2]:1,r=0,o=0,i=0;i4&&void 0!==arguments[4]?arguments[4]:1,i=0;i4&&void 0!==arguments[4]?arguments[4]:1,i=0,a=0,c=[],s=0;s2&&void 0!==arguments[2]?arguments[2]:1;1==n&&(n=.999999);for(var r=0;r=2&&(o._proportion_=o._proportion_%2)}return e}function B(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;1==n&&(n=.999999);for(var r=0;r=2&&(o._proportion_=o._proportion_%2)}return e}function k(e,t,n){var r;r=n=2&&(e[i]._endAngle_=e[i]._endAngle_%2),o=e[i]._endAngle_;return e}function F(e,t,n){for(var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1,o=0;o=n.oldData?i._proportion_=(i._endAngle_-i._oldAngle_)*r+n.oldAngle:i._proportion_=i._oldAngle_-(i._oldAngle_-i._endAngle_)*r,i._proportion_>=2&&(i._proportion_=i._proportion_%2)}return e}function I(e,t,n,r,o,i){return e.map((function(e){if(null===e)return null;var o=0,a=0;return"mix"==i.type?(o=i.extra.mix.column.seriesGap*i.pix||0,a=i.extra.mix.column.categoryGap*i.pix||0):(o=i.extra.column.seriesGap*i.pix||0,a=i.extra.column.categoryGap*i.pix||0),o=Math.min(o,t/n),a=Math.min(a,t/n),e.width=Math.ceil((t-2*a-o*(n-1))/n),i.extra.mix&&i.extra.mix.column.width&&+i.extra.mix.column.width>0&&(e.width=Math.min(e.width,+i.extra.mix.column.width*i.pix)),i.extra.column&&i.extra.column.width&&+i.extra.column.width>0&&(e.width=Math.min(e.width,+i.extra.column.width*i.pix)),e.width<=0&&(e.width=1),e.x+=(r+.5-n/2)*(e.width+o),e}))}function G(e,t,n,r,o,i){return e.map((function(e){if(null===e)return null;var o=0,a=0;return o=i.extra.bar.seriesGap*i.pix||0,a=i.extra.bar.categoryGap*i.pix||0,o=Math.min(o,t/n),a=Math.min(a,t/n),e.width=Math.ceil((t-2*a-o*(n-1))/n),i.extra.bar&&i.extra.bar.width&&+i.extra.bar.width>0&&(e.width=Math.min(e.width,+i.extra.bar.width*i.pix)),e.width<=0&&(e.width=1),e.y+=(r+.5-n/2)*(e.width+o),e}))}function Q(e,t,n,r,o,i,a){var c=i.extra.column.categoryGap*i.pix||0;return e.map((function(e){return null===e?null:(e.width=t-2*c,i.extra.column&&i.extra.column.width&&+i.extra.column.width>0&&(e.width=Math.min(e.width,+i.extra.column.width*i.pix)),r>0&&(e.width-=a),e)}))}function j(e,t,n,r,o,i,a){var c=i.extra.column.categoryGap*i.pix||0;return e.map((function(e,n){return null===e?null:(e.width=Math.ceil(t-2*c),i.extra.column&&i.extra.column.width&&+i.extra.column.width>0&&(e.width=Math.min(e.width,+i.extra.column.width*i.pix)),e.width<=0&&(e.width=1),e)}))}function W(e,t,n,r,o,i,a){var c=i.extra.bar.categoryGap*i.pix||0;return e.map((function(e,n){return null===e?null:(e.width=Math.ceil(t-2*c),i.extra.bar&&i.extra.bar.width&&+i.extra.bar.width>0&&(e.width=Math.min(e.width,+i.extra.bar.width*i.pix)),e.width<=0&&(e.width=1),e)}))}function $(e,t,n){var r=t.width-t.area[1]-t.area[3],o=t.enableScroll?Math.min(t.xAxis.itemCount,e.length):e.length;("line"==t.type||"area"==t.type||"scatter"==t.type||"bubble"==t.type||"bar"==t.type)&&o>1&&"justify"==t.xAxis.boundaryGap&&(o-=1);var i=0;"mount"==t.type&&t.extra&&t.extra.mount&&t.extra.mount.widthRatio&&t.extra.mount.widthRatio>1&&(t.extra.mount.widthRatio>2&&(t.extra.mount.widthRatio=2),i=t.extra.mount.widthRatio-1,o+=i);var a=r/o,c=[],s=t.area[3],u=t.width-t.area[1];return e.forEach((function(e,t){c.push(s+i/2*a+t*a)})),"justify"!==t.xAxis.boundaryGap&&(!0===t.enableScroll?c.push(s+i*a+e.length*a):c.push(u)),{xAxisPoints:c,startX:s,endX:u,eachSpacing:a}}function U(e,t,n,r,o,i,a){var c=arguments.length>7&&void 0!==arguments[7]?arguments[7]:1,s=[],u=i.height-i.area[0]-i.area[2];return e.forEach((function(e,a){if(null===e)s.push(null);else{var l=[];e.forEach((function(e,s){var f={};f.x=r[a]+Math.round(o/2);var d=e.value||e,p=u*(d-t)/(n-t);p*=c,f.y=i.height-Math.round(p)-i.area[2],l.push(f)})),s.push(l)}})),s}function K(e,t,n,r,o,a,c){var s=arguments.length>7&&void 0!==arguments[7]?arguments[7]:1,u="center";"line"!=a.type&&"area"!=a.type&&"scatter"!=a.type&&"bubble"!=a.type||(u=a.xAxis.boundaryGap);var l=[],f=a.height-a.area[0]-a.area[2],d=a.width-a.area[1]-a.area[3];return e.forEach((function(e,c){if(null===e)l.push(null);else{var p={};p.color=e.color,p.x=r[c];var h,y,g,v=e;if("object"===(0,i.default)(e)&&null!==e)if(e.constructor.toString().indexOf("Array")>-1)h=[].concat(a.chartData.xAxisData.ranges),y=h.shift(),g=h.pop(),v=e[1],p.x=a.area[3]+d*(e[0]-y)/(g-y),"bubble"==a.type&&(p.r=e[2],p.t=e[3]);else v=e.value;"center"==u&&(p.x+=o/2);var m=f*(v-t)/(n-t);m*=s,p.y=a.height-m-a.area[2],l.push(p)}})),l}function z(e,t,n,r,o,a,c,s,u){u=arguments.length>8&&void 0!==arguments[8]?arguments[8]:1;var l=a.xAxis.boundaryGap,f=[],d=a.height-a.area[0]-a.area[2],p=a.width-a.area[1]-a.area[3];return e.forEach((function(e,c){if(null===e)f.push(null);else{var h={};if(h.color=e.color,"vertical"==s.animation){h.x=r[c];var y,g,v,m=e;if("object"===(0,i.default)(e)&&null!==e)if(e.constructor.toString().indexOf("Array")>-1)y=[].concat(a.chartData.xAxisData.ranges),g=y.shift(),v=y.pop(),m=e[1],h.x=a.area[3]+p*(e[0]-g)/(v-g);else m=e.value;"center"==l&&(h.x+=o/2);var b=d*(m-t)/(n-t);b*=u,h.y=a.height-b-a.area[2],f.push(h)}else{h.x=r[0]+o*c*u;m=e;"center"==l&&(h.x+=o/2);b=d*(m-t)/(n-t);h.y=a.height-b-a.area[2],f.push(h)}}})),f}function V(e,t,n,r,o,a,c,s,u){u=arguments.length>8&&void 0!==arguments[8]?arguments[8]:1;var l=[],f=a.height-a.area[0]-a.area[2],d=a.width-a.area[1]-a.area[3];return e.forEach((function(e,c){if(null===e)l.push(null);else{var s={};s.color=e.color,s.x=r[c];var p,h,y,g=e;if("object"===(0,i.default)(e)&&null!==e)if(e.constructor.toString().indexOf("Array")>-1)p=[].concat(a.chartData.xAxisData.ranges),h=p.shift(),y=p.pop(),g=e[1],s.x=a.area[3]+d*(e[0]-h)/(y-h);else g=e.value;s.x+=o/2;var v=f*(g*u-t)/(n-t);s.y=a.height-v-a.area[2],l.push(s)}})),l}function q(e,t,n,r,o,i,a,c){var s=arguments.length>8&&void 0!==arguments[8]?arguments[8]:1,u=[],l=i.height-i.area[0]-i.area[2],f=(i.width,i.area[1],i.area[3],o*a.widthRatio);return e.forEach((function(e,a){if(null===e)u.push(null);else{var c={};c.color=e.color,c.x=r[a],c.x+=o/2;var d=e.data,p=l*(d*s-t)/(n-t);c.y=i.height-p-i.area[2],c.value=d,c.width=f,u.push(c)}})),u}function ee(e,t,n,r,o,a,c){var s=arguments.length>7&&void 0!==arguments[7]?arguments[7]:1,u=[],l=(a.height,a.area[0],a.area[2],a.width-a.area[1]-a.area[3]);return e.forEach((function(e,o){if(null===e)u.push(null);else{var c={};c.color=e.color,c.y=r[o];var f=e;"object"===(0,i.default)(e)&&null!==e&&(f=e.value);var d=l*(f-t)/(n-t);d*=s,c.height=d,c.value=f,c.x=d+a.area[3],u.push(c)}})),u}function te(e,t,n,r,o,a,c,s,u){var l=arguments.length>9&&void 0!==arguments[9]?arguments[9]:1,f=[],d=a.height-a.area[0]-a.area[2];return e.forEach((function(e,c){if(null===e)f.push(null);else{var p={};if(p.color=e.color,p.x=r[c]+Math.round(o/2),s>0){for(var h=0,y=0;y<=s;y++)h+=u[y].data[c];var g=h-e,v=d*(h-t)/(n-t),m=d*(g-t)/(n-t)}else{h=e;"object"===(0,i.default)(e)&&null!==e&&(h=e.value);v=d*(h-t)/(n-t),m=0}var b=m;v*=l,b*=l,p.y=a.height-Math.round(v)-a.area[2],p.y0=a.height-Math.round(b)-a.area[2],f.push(p)}})),f}function ne(e,t,n,r,o,a,c,s,u){var l=arguments.length>9&&void 0!==arguments[9]?arguments[9]:1,f=[],d=a.width-a.area[1]-a.area[3];return e.forEach((function(e,o){if(null===e)f.push(null);else{var c={};if(c.color=e.color,c.y=r[o],s>0){for(var p=0,h=0;h<=s;h++)p+=u[h].data[o];var y=p-e,g=d*(p-t)/(n-t),v=d*(y-t)/(n-t)}else{p=e;"object"===(0,i.default)(e)&&null!==e&&(p=e.value);g=d*(p-t)/(n-t),v=0}var m=v;g*=l,m*=l,c.height=g-m,c.x=a.area[3]+g,c.x0=a.area[3]+m,f.push(c)}})),f}function re(e,t,n,r,o){var a;a="stack"==r?x(e,t.categories.length):S(e);var c=[];a=a.filter((function(e){return"object"===(0,i.default)(e)&&null!==e?e.constructor.toString().indexOf("Array")>-1?null!==e:null!==e.value:null!==e})),a.map((function(e){"object"===(0,i.default)(e)?e.constructor.toString().indexOf("Array")>-1?"candle"==t.type?e.map((function(e){c.push(e)})):c.push(e[1]):c.push(e.value):c.push(e)}));var s=o.min||0,u=o.max||0;c.length>0&&(s=Math.min.apply(this,c),u=Math.max.apply(this,c)),s===u&&(0==u?u=10:s=0);for(var l=m(s,u),f=void 0===o.min||null===o.min?l.minRange:o.min,d=void 0===o.max||null===o.max?l.maxRange:o.max,p=(d-f)/t.yAxis.splitNumber,h=[],y=0;y<=t.yAxis.splitNumber;y++)h.push(f+p*y);return h.reverse()}function oe(e,t,n,r){var o=c({},{type:""},t.extra.column),i=t.yAxis.data.length,a=new Array(i);if(i>0){for(var u=0;u0&&0==o.tooltip.group.includes(a))){var c="number"===typeof o.tooltip.index?o.tooltip.index:o.tooltip.index[o.tooltip.group.indexOf(a)];if(r.beginPath(),"hollow"==i.activeType?(r.setStrokeStyle(t),r.setFillStyle(o.background),r.setLineWidth(2*o.pix)):(r.setStrokeStyle("#ffffff"),r.setFillStyle(t),r.setLineWidth(1*o.pix)),"diamond"===n)e.forEach((function(e,t){null!==e&&c==t&&(r.moveTo(e.x,e.y-4.5),r.lineTo(e.x-4.5,e.y),r.lineTo(e.x,e.y+4.5),r.lineTo(e.x+4.5,e.y),r.lineTo(e.x,e.y-4.5))}));else if("circle"===n)e.forEach((function(e,t){null!==e&&c==t&&(r.moveTo(e.x+2.5*o.pix,e.y),r.arc(e.x,e.y,3*o.pix,0,2*Math.PI,!1))}));else if("square"===n)e.forEach((function(e,t){null!==e&&c==t&&(r.moveTo(e.x-3.5,e.y-3.5),r.rect(e.x-3.5,e.y-3.5,7,7))}));else if("triangle"===n)e.forEach((function(e,t){null!==e&&c==t&&(r.moveTo(e.x,e.y-4.5),r.lineTo(e.x-4.5,e.y+4.5),r.lineTo(e.x+4.5,e.y+4.5),r.lineTo(e.x,e.y-4.5))}));else if("none"===n)return;r.closePath(),r.fill(),r.stroke()}}function se(e,t,n,r){var o=e.title.fontSize||t.titleFontSize,i=e.subtitle.fontSize||t.subtitleFontSize,a=e.title.name||"",c=e.subtitle.name||"",s=e.title.color||e.fontColor,u=e.subtitle.color||e.fontColor,l=a?o:0,f=c?i:0;if(c){var d=b(c,i*e.pix,n),p=r.x-d/2+(e.subtitle.offsetX||0)*e.pix,h=r.y+i*e.pix/2+(e.subtitle.offsetY||0)*e.pix;a&&(h+=(l*e.pix+5)/2),n.beginPath(),n.setFontSize(i*e.pix),n.setFillStyle(u),n.fillText(c,p,h),n.closePath(),n.stroke()}if(a){var y=b(a,o*e.pix,n),g=r.x-y/2+(e.title.offsetX||0),v=r.y+o*e.pix/2+(e.title.offsetY||0)*e.pix;c&&(v-=(f*e.pix+5)/2),n.beginPath(),n.setFontSize(o*e.pix),n.setFillStyle(s),n.fillText(a,g,v),n.closePath(),n.stroke()}}function ue(e,t,n,r,o){var a=t.data,c=t.textOffset?t.textOffset:0;e.forEach((function(e,s){if(null!==e){r.beginPath();var u=t.textSize?t.textSize*o.pix:n.fontSize;r.setFontSize(u),r.setFillStyle(t.textColor||o.fontColor);var l=a[s];"object"===(0,i.default)(a[s])&&null!==a[s]&&(l=a[s].constructor.toString().indexOf("Array")>-1?a[s][1]:a[s].value);var f=t.formatter?t.formatter(l,s,t,o):l;r.setTextAlign("center"),r.fillText(String(f),e.x,e.y-4+c*o.pix),r.closePath(),r.stroke(),r.setTextAlign("left")}}))}function le(e,t,n,r,o){var a=t.data,c=t.textOffset?t.textOffset:0,s=o.extra.column.labelPosition;e.forEach((function(e,u){if(null!==e){r.beginPath();var l=t.textSize?t.textSize*o.pix:n.fontSize;r.setFontSize(l),r.setFillStyle(t.textColor||o.fontColor);var f=a[u];"object"===(0,i.default)(a[u])&&null!==a[u]&&(f=a[u].constructor.toString().indexOf("Array")>-1?a[u][1]:a[u].value);var d=t.formatter?t.formatter(f,u,t,o):f;r.setTextAlign("center");var p=e.y-4*o.pix+c*o.pix;e.y>t.zeroPoints&&(p=e.y+c*o.pix+l),"insideTop"==s&&(p=e.y+l+c*o.pix,e.y>t.zeroPoints&&(p=e.y-c*o.pix-4*o.pix)),"center"==s&&(p=e.y+c*o.pix+(o.height-o.area[2]-e.y+l)/2,t.zeroPointst.zeroPoints&&(p=e.y-c*o.pix-(e.y-t.zeroPoints-l)/2),"stack"==o.extra.column.type&&(p=e.y+c*o.pix+(e.y0-e.y+l)/2)),"bottom"==s&&(p=o.height-o.area[2]+c*o.pix-4*o.pix,t.zeroPointst.zeroPoints&&(p=t.zeroPoints-c*o.pix+l+2*o.pix),"stack"==o.extra.column.type&&(p=e.y0+c*o.pix-4*o.pix)),r.fillText(String(d),e.x,p),r.closePath(),r.stroke(),r.setTextAlign("left")}}))}function fe(e,t,n,r,o,i){t.data;var a=t.textOffset?t.textOffset:0;o.extra.mount.labelPosition;e.forEach((function(e,c){if(null!==e){r.beginPath();var s=t[c].textSize?t[c].textSize*o.pix:n.fontSize;r.setFontSize(s),r.setFillStyle(t[c].textColor||o.fontColor);var u=e.value,l=t[c].formatter?t[c].formatter(u,c,t,o):u;r.setTextAlign("center");var f=e.y-4*o.pix+a*o.pix;e.y>i&&(f=e.y+a*o.pix+s),r.fillText(String(l),e.x,f),r.closePath(),r.stroke(),r.setTextAlign("left")}}))}function de(e,t,n,r,o){var a=t.data;t.textOffset&&t.textOffset;e.forEach((function(e,c){if(null!==e){r.beginPath();var s=t.textSize?t.textSize*o.pix:n.fontSize;r.setFontSize(s),r.setFillStyle(t.textColor||o.fontColor);var u=a[c];"object"===(0,i.default)(a[c])&&null!==a[c]&&(u=a[c].value);var l=t.formatter?t.formatter(u,c,t,o):u;r.setTextAlign("left"),r.fillText(String(l),e.x+4*o.pix,e.y+s/2-3),r.closePath(),r.stroke()}}))}function pe(e,t,n,r,o,i){var a;t-=e.width/2+e.labelOffset*r.pix,t=t<10?10:t,a=e.endAngle=2&&(l%=2),f+=u}}function he(e,t,n,r,o,i){var a=r.extra.radar||{};e.forEach((function(e,c){if(!0===a.labelPointShow&&""!==r.categories[c]){var u={x:t*Math.cos(e),y:t*Math.sin(e)},l=h(u.x,u.y,n);i.setFillStyle(a.labelPointColor),i.beginPath(),i.arc(l.x,l.y,a.labelPointRadius*r.pix,0,2*Math.PI,!1),i.closePath(),i.fill()}if(!0===a.labelShow){var f={x:(t+o.radarLabelTextMargin*r.pix)*Math.cos(e),y:(t+o.radarLabelTextMargin*r.pix)*Math.sin(e)},d=h(f.x,f.y,n),p=d.x,y=d.y;s.approximatelyEqual(f.x,0)?p-=b(r.categories[c]||"",o.fontSize,i)/2:f.x<0&&(p-=b(r.categories[c]||"",o.fontSize,i)),i.beginPath(),i.setFontSize(o.fontSize),i.setFillStyle(a.labelColor||r.fontColor),i.fillText(r.categories[c]||"",p,y+o.fontSize/2),i.closePath(),i.stroke()}}))}function ye(e,t,n,r,o,i){for(var a=n.pieChartLinePadding,c=[],u=null,l=e.map((function(n,r){var o=n.formatter?n.formatter(n,r,e,t):s.toFixed(100*n._proportion_.toFixed(4))+"%";o=n.labelText?n.labelText:o;var i=2*Math.PI-(n._start_+2*Math.PI*n._proportion_/2);n._rose_proportion_&&(i=2*Math.PI-(n._start_+2*Math.PI*n._rose_proportion_/2));var a=n.color,c=n._radius_;return{arc:i,text:o,color:a,radius:c,textColor:n.textColor,textSize:n.textSize,labelShow:n.labelShow}})),f=0;f=0?p+n.pieChartTextPadding:p-n.pieChartTextPadding,x=g,C=b(d.text,d.textSize*t.pix||n.fontSize,r),_=x;u&&s.isSameXCoordinateArea(u.start,{x:S})&&(_=S>0?Math.min(x,u.start.y):p<0||x>0?Math.max(x,u.start.y):Math.min(x,u.start.y)),S<0&&(S-=C);var L={lineStart:{x:v,y:m},lineEnd:{x:p,y:g},start:{x:S,y:_},width:C,height:n.fontSize,text:d.text,color:d.color,textColor:d.textColor,textSize:d.textSize};u=y(L,u),c.push(u)}for(var P=0;Po?o:i.activeWidth;var a=t.area[0],s=t.height-t.area[2];r.beginPath(),r.setFillStyle(u(i.activeBgColor,i.activeBgOpacity)),r.rect(e-i.activeWidth/2,a,i.activeWidth,s-a),r.closePath(),r.fill(),r.setFillStyle("#FFFFFF")}function be(e,t,n,r,o){var i=c({},{activeBgColor:"#000000",activeBgOpacity:.08},t.extra.bar),a=t.area[3],s=t.width-t.area[1];r.beginPath(),r.setFillStyle(u(i.activeBgColor,i.activeBgOpacity)),r.rect(a,e-o/2,s-a,o),r.closePath(),r.fill(),r.setFillStyle("#FFFFFF")}function Se(e,t,n,r,o,i,a){var s=c({},{showBox:!0,showArrow:!0,showCategory:!1,bgColor:"#000000",bgOpacity:.7,borderColor:"#000000",borderWidth:0,borderRadius:0,borderOpacity:.7,boxPadding:3,fontColor:"#FFFFFF",fontSize:13,lineHeight:20,legendShow:!0,legendShape:"auto",splitLine:!0},n.extra.tooltip);1==s.showCategory&&n.categories&&e.unshift({text:n.categories[n.tooltip.index],color:null});var l=s.fontSize*n.pix,f=s.lineHeight*n.pix,d=s.boxPadding*n.pix,p=l,h=5*n.pix;0==s.legendShow&&(p=0,h=0);var y=s.showArrow?8*n.pix:0,g=!1;"line"!=n.type&&"mount"!=n.type&&"area"!=n.type&&"candle"!=n.type&&"mix"!=n.type||1==s.splitLine&&function(e,t,n,r){var o=t.extra.tooltip||{};o.gridType=void 0==o.gridType?"solid":o.gridType,o.dashLength=void 0==o.dashLength?4:o.dashLength;var i=t.area[0],a=t.height-t.area[2];if("dash"==o.gridType&&r.setLineDash([o.dashLength,o.dashLength]),r.setStrokeStyle(o.gridColor||"#cccccc"),r.setLineWidth(1*t.pix),r.beginPath(),r.moveTo(e,i),r.lineTo(e,a),r.stroke(),r.setLineDash([]),o.xAxisLabel){var c=t.categories[t.tooltip.index];r.setFontSize(n.fontSize);var s=b(c,n.fontSize,r),l=e-.5*s,f=a+2*t.pix;r.beginPath(),r.setFillStyle(u(o.labelBgColor||n.toolTipBackground,o.labelBgOpacity||n.toolTipOpacity)),r.setStrokeStyle(o.labelBgColor||n.toolTipBackground),r.setLineWidth(1*t.pix),r.rect(l-o.boxPadding*t.pix,f,s+2*o.boxPadding*t.pix,n.fontSize+2*o.boxPadding*t.pix),r.closePath(),r.stroke(),r.fill(),r.beginPath(),r.setFontSize(n.fontSize),r.setFillStyle(o.labelFontColor||t.fontColor),r.fillText(String(c),l,f+o.boxPadding*t.pix+n.fontSize),r.closePath(),r.stroke()}}(n.tooltip.offset.x,n,r,o),t=c({x:0,y:0},t),t.y-=8*n.pix;var v=e.map((function(e){return b(e.text,l,o)})),m=p+h+4*d+Math.max.apply(null,v),S=2*d+e.length*f;if(0!=s.showBox){t.x-Math.abs(n._scrollDistance_||0)+y+m>n.width&&(g=!0),S+t.y>n.height&&(t.y=n.height-S),o.beginPath(),o.setFillStyle(u(s.bgColor,s.bgOpacity)),o.setLineWidth(s.borderWidth*n.pix),o.setStrokeStyle(u(s.borderColor,s.borderOpacity));var x=s.borderRadius;g?(m+y>n.width&&(t.x=n.width+Math.abs(n._scrollDistance_||0)+y+(m-n.width)),m>t.x&&(t.x=n.width+Math.abs(n._scrollDistance_||0)+y+(m-n.width)),s.showArrow&&(o.moveTo(t.x,t.y+10*n.pix),o.lineTo(t.x-y,t.y+10*n.pix+5*n.pix)),o.arc(t.x-y-x,t.y+S-x,x,0,Math.PI/2,!1),o.arc(t.x-y-Math.round(m)+x,t.y+S-x,x,Math.PI/2,Math.PI,!1),o.arc(t.x-y-Math.round(m)+x,t.y+x,x,-Math.PI,-Math.PI/2,!1),o.arc(t.x-y-x,t.y+x,x,-Math.PI/2,0,!1),s.showArrow&&(o.lineTo(t.x-y,t.y+10*n.pix-5*n.pix),o.lineTo(t.x,t.y+10*n.pix))):(s.showArrow&&(o.moveTo(t.x,t.y+10*n.pix),o.lineTo(t.x+y,t.y+10*n.pix-5*n.pix)),o.arc(t.x+y+x,t.y+x,x,-Math.PI,-Math.PI/2,!1),o.arc(t.x+y+Math.round(m)-x,t.y+x,x,-Math.PI/2,0,!1),o.arc(t.x+y+Math.round(m)-x,t.y+S-x,x,0,Math.PI/2,!1),o.arc(t.x+y+x,t.y+S-x,x,Math.PI/2,Math.PI,!1),s.showArrow&&(o.lineTo(t.x+y,t.y+10*n.pix+5*n.pix),o.lineTo(t.x,t.y+10*n.pix))),o.closePath(),o.fill(),s.borderWidth>0&&o.stroke(),s.legendShow&&e.forEach((function(e,r){if(null!==e.color){o.beginPath(),o.setFillStyle(e.color);var i=t.x+y+2*d,a=t.y+(f-l)/2+f*r+d+1;switch(g&&(i=t.x-m-y+2*d),e.legendShape){case"line":o.moveTo(i,a+.5*p-2*n.pix),o.fillRect(i,a+.5*p-2*n.pix,p,4*n.pix);break;case"triangle":o.moveTo(i+7.5*n.pix,a+.5*p-5*n.pix),o.lineTo(i+2.5*n.pix,a+.5*p+5*n.pix),o.lineTo(i+12.5*n.pix,a+.5*p+5*n.pix),o.lineTo(i+7.5*n.pix,a+.5*p-5*n.pix);break;case"diamond":o.moveTo(i+7.5*n.pix,a+.5*p-5*n.pix),o.lineTo(i+2.5*n.pix,a+.5*p),o.lineTo(i+7.5*n.pix,a+.5*p+5*n.pix),o.lineTo(i+12.5*n.pix,a+.5*p),o.lineTo(i+7.5*n.pix,a+.5*p-5*n.pix);break;case"circle":o.moveTo(i+7.5*n.pix,a+.5*p),o.arc(i+7.5*n.pix,a+.5*p,5*n.pix,0,2*Math.PI);break;case"rect":o.moveTo(i,a+.5*p-5*n.pix),o.fillRect(i,a+.5*p-5*n.pix,15*n.pix,10*n.pix);break;case"square":o.moveTo(i+2*n.pix,a+.5*p-5*n.pix),o.fillRect(i+2*n.pix,a+.5*p-5*n.pix,10*n.pix,10*n.pix);break;default:o.moveTo(i,a+.5*p-5*n.pix),o.fillRect(i,a+.5*p-5*n.pix,15*n.pix,10*n.pix)}o.closePath(),o.fill()}})),e.forEach((function(e,n){var r=t.x+y+2*d+p+h;g&&(r=t.x-m-y+2*d+p+h);var i=t.y+f*n+(f-l)/2-1+d+l;o.beginPath(),o.setFontSize(l),o.setTextBaseline("normal"),o.setFillStyle(s.fontColor),o.fillText(e.text,r,i),o.closePath(),o.stroke()}))}}function xe(e,t,n,r,o,i){var a=e.extra.tooltip||{};a.horizentalLine&&e.tooltip&&1===r&&("line"==e.type||"area"==e.type||"column"==e.type||"mount"==e.type||"candle"==e.type||"mix"==e.type)&&ve(e,t,n),n.save(),e._scrollDistance_&&0!==e._scrollDistance_&&!0===e.enableScroll&&n.translate(e._scrollDistance_,0),e.tooltip&&e.tooltip.textList&&e.tooltip.textList.length&&1===r&&Se(e.tooltip.textList,e.tooltip.offset,e,t,n),n.restore()}function Ce(e,t,n,r){var o=t.chartData.xAxisData,i=o.xAxisPoints,a=o.startX,c=o.endX,s=o.eachSpacing,u="center";"bar"!=t.type&&"line"!=t.type&&"area"!=t.type&&"scatter"!=t.type&&"bubble"!=t.type||(u=t.xAxis.boundaryGap);var l=t.height-t.area[2],f=t.area[0];if(t.enableScroll&&t.xAxis.scrollShow){var d=t.height-t.area[2]+n.xAxisHeight,p=c-a,h=s*(i.length-1);"mount"==t.type&&t.extra&&t.extra.mount&&t.extra.mount.widthRatio&&t.extra.mount.widthRatio>1&&(t.extra.mount.widthRatio>2&&(t.extra.mount.widthRatio=2),h+=(t.extra.mount.widthRatio-1)*s);var y=p*p/h,g=0;t._scrollDistance_&&(g=-t._scrollDistance_*p/h),r.beginPath(),r.setLineCap("round"),r.setLineWidth(6*t.pix),r.setStrokeStyle(t.xAxis.scrollBackgroundColor||"#EFEBEF"),r.moveTo(a,d),r.lineTo(c,d),r.stroke(),r.closePath(),r.beginPath(),r.setLineCap("round"),r.setLineWidth(6*t.pix),r.setStrokeStyle(t.xAxis.scrollColor||"#A6A6A6"),r.moveTo(a+g,d),r.lineTo(a+g+y,d),r.stroke(),r.closePath(),r.setLineCap("butt")}if(r.save(),t._scrollDistance_&&0!==t._scrollDistance_&&r.translate(t._scrollDistance_,0),!0===t.xAxis.calibration&&(r.setStrokeStyle(t.xAxis.gridColor||"#cccccc"),r.setLineCap("butt"),r.setLineWidth(1*t.pix),i.forEach((function(e,n){n>0&&(r.beginPath(),r.moveTo(e-s/2,l),r.lineTo(e-s/2,l+3*t.pix),r.closePath(),r.stroke())}))),!0!==t.xAxis.disableGrid&&(r.setStrokeStyle(t.xAxis.gridColor||"#cccccc"),r.setLineCap("butt"),r.setLineWidth(1*t.pix),"dash"==t.xAxis.gridType&&r.setLineDash([t.xAxis.dashLength*t.pix,t.xAxis.dashLength*t.pix]),t.xAxis.gridEval=t.xAxis.gridEval||1,i.forEach((function(e,n){n%t.xAxis.gridEval==0&&(r.beginPath(),r.moveTo(e,l),r.lineTo(e,f),r.stroke())})),r.setLineDash([])),!0!==t.xAxis.disabled){var v=e.length;t.xAxis.labelCount&&(v=t.xAxis.itemCount?Math.ceil(e.length/t.xAxis.itemCount*t.xAxis.labelCount):t.xAxis.labelCount,v-=1);for(var m=Math.ceil(e.length/v),S=[],x=e.length,C=0;C=t.area[3]-1&&f-Math.abs(c)<=t.width-t.area[1]+1&&(r.beginPath(),r.setFontSize(_),r.setFillStyle(t.xAxis.fontColor||t.fontColor),r.fillText(String(o),i[n]+a,l+t.xAxis.marginTop*t.pix+(t.xAxis.lineHeight-t.xAxis.fontSize)*t.pix/2+t.xAxis.fontSize*t.pix),r.closePath(),r.stroke())})):S.forEach((function(e,o){var a=t.xAxis.formatter?t.xAxis.formatter(e):e,c=t._scrollDistance_||0,f="center"==u?i[o]+s/2:i[o];if(f-Math.abs(c)>=t.area[3]-1&&f-Math.abs(c)<=t.width-t.area[1]+1){r.save(),r.beginPath(),r.setFontSize(_),r.setFillStyle(t.xAxis.fontColor||t.fontColor);var d=b(String(a),_,r),p=i[o];"center"==u&&(p=i[o]+s/2);t.xAxis.scrollShow&&6*t.pix;var h=l+t.xAxis.marginTop*t.pix+_-_*Math.abs(Math.sin(n._xAxisTextAngle_));t.xAxis.rotateAngle<0?(p-=_/2,d=0):(p+=_/2,d=-d),r.translate(p,h),r.rotate(-1*n._xAxisTextAngle_),r.fillText(String(a),d,0),r.closePath(),r.stroke(),r.restore()}}))}r.restore(),t.xAxis.title&&(r.beginPath(),r.setFontSize(t.xAxis.titleFontSize*t.pix),r.setFillStyle(t.xAxis.titleFontColor),r.fillText(String(t.xAxis.title),t.width-t.area[1]+t.xAxis.titleOffsetX*t.pix,t.height-t.area[2]+t.xAxis.marginTop*t.pix+(t.xAxis.lineHeight-t.xAxis.titleFontSize)*t.pix/2+(t.xAxis.titleFontSize+t.xAxis.titleOffsetY)*t.pix),r.closePath(),r.stroke()),t.xAxis.axisLine&&(r.beginPath(),r.setStrokeStyle(t.xAxis.axisLineColor),r.setLineWidth(1*t.pix),r.moveTo(a,t.height-t.area[2]),r.lineTo(c,t.height-t.area[2]),r.stroke())}function _e(e,t,n,r){if(!0!==t.yAxis.disableGrid){var o=t.height-t.area[0]-t.area[2],i=o/t.yAxis.splitNumber,a=t.area[3],c=t.chartData.xAxisData.xAxisPoints,s=t.chartData.xAxisData.eachSpacing,u=s*(c.length-1);"mount"==t.type&&t.extra&&t.extra.mount&&t.extra.mount.widthRatio&&t.extra.mount.widthRatio>1&&(t.extra.mount.widthRatio>2&&(t.extra.mount.widthRatio=2),u+=(t.extra.mount.widthRatio-1)*s);var l=a+u,f=[],d=1;!1===t.xAxis.axisLine&&(d=0);for(var p=d;p4&&void 0!==arguments[4]?arguments[4]:1,i=c({},{activeOpacity:.5,activeRadius:10,offsetAngle:0,labelWidth:15,ringWidth:30,customRadius:0,border:!1,borderWidth:2,borderColor:"#FFFFFF",centerColor:"#FFFFFF",linearType:"none",customColor:[]},"pie"==t.type?t.extra.pie:t.extra.ring),a={x:t.area[3]+(t.width-t.area[1]-t.area[3])/2,y:t.area[0]+(t.height-t.area[0]-t.area[2])/2};0==n.pieChartLinePadding&&(n.pieChartLinePadding=i.activeRadius*t.pix);var s=Math.min((t.width-t.area[1]-t.area[3])/2-n.pieChartLinePadding-n.pieChartTextPadding-n._pieTextMaxLength_,(t.height-t.area[0]-t.area[2])/2-n.pieChartLinePadding-n.pieChartTextPadding);s=s<10?10:s,i.customRadius>0&&(s=i.customRadius*t.pix),e=R(e,s,o);var l=i.activeRadius*t.pix;if(i.customColor=v(i.linearType,i.customColor,e,n),e=e.map((function(e){return e._start_+=i.offsetAngle*Math.PI/180,e})),e.forEach((function(e,n){t.tooltip&&t.tooltip.index==n&&(r.beginPath(),r.setFillStyle(u(e.color,i.activeOpacity||.5)),r.moveTo(a.x,a.y),r.arc(a.x,a.y,e._radius_+l,e._start_,e._start_+2*e._proportion_*Math.PI),r.closePath(),r.fill()),r.beginPath(),r.setLineWidth(i.borderWidth*t.pix),r.lineJoin="round",r.setStrokeStyle(i.borderColor);var o,c=e.color;"custom"==i.linearType&&(o=r.createCircularGradient?r.createCircularGradient(a.x,a.y,e._radius_):r.createRadialGradient(a.x,a.y,0,a.x,a.y,e._radius_),o.addColorStop(0,u(i.customColor[e.linearIndex],1)),o.addColorStop(1,u(e.color,1)),c=o);r.setFillStyle(c),r.moveTo(a.x,a.y),r.arc(a.x,a.y,e._radius_,e._start_,e._start_+2*e._proportion_*Math.PI),r.closePath(),r.fill(),1==i.border&&r.stroke()})),"ring"===t.type){var f=.6*s;"number"===typeof i.ringWidth&&i.ringWidth>0&&(f=Math.max(0,s-i.ringWidth*t.pix)),r.beginPath(),r.setFillStyle(i.centerColor),r.moveTo(a.x,a.y),r.arc(a.x,a.y,f,0,2*Math.PI),r.closePath(),r.fill()}return!1!==t.dataLabel&&1===o&&ye(e,t,n,r,0,a),1===o&&"ring"===t.type&&se(t,n,r,a),{center:a,radius:s,series:e}}function Te(e,t){var n=Array(2),r=20037508.34*e/180,o=Math.log(Math.tan((90+t)*Math.PI/360))/(Math.PI/180);return o=20037508.34*o/180,n[0]=r,n[1]=o,n}function Me(e,t,n,r,o,i){return{x:(t-n.xMin)*r+o,y:(n.yMax-e)*r+i}}function De(e,t,n){if(t[1]==n[1])return!1;if(t[1]>e[1]&&n[1]>e[1])return!1;if(t[1]e[1])return!1;if(n[1]==e[1]&&t[1]>e[1])return!1;if(t[0]t[i].area[2]||e[1]>t[i].area[3]||e[2]n||e[3]>r){o=!0;break}o=!1}return o}function Ae(e,t,n){var r=e.series;switch(t){case"normal":for(var o=0;o.7},h=0;h0&&e[0].data.constructor.toString().indexOf("Array")>-1){t._pieSeries_=e;for(var o=e[0].data,i=0;it.width-t.area[1]-t.area[3]?(d.push(y),h.push(p-t.legend.itemGap*t.pix),p=S,y=[v]):(p+=S,y.push(v))}if(y.length){d.push(y),h.push(p-t.legend.itemGap*t.pix),i.widthArr=h;var x=Math.max.apply(null,h);switch(t.legend.float){case"left":i.area.start.x=t.area[3],i.area.end.x=t.area[3]+x+2*a;break;case"right":i.area.start.x=t.width-t.area[1]-x-2*a,i.area.end.x=t.width-t.area[1];break;default:i.area.start.x=(t.width-x)/2-a,i.area.end.x=(t.width+x)/2+a}i.area.width=x+2*a,i.area.wholeWidth=x+2*a,i.area.height=d.length*f+2*a,i.area.wholeHeight=d.length*f+2*a+2*c,i.points=d}}else{var C=e.length,_=t.height-t.area[0]-t.area[2]-2*c-2*a,L=Math.min(Math.floor(_/f),C);switch(i.area.height=L*f+2*a,i.area.wholeHeight=L*f+2*a,t.legend.float){case"top":i.area.start.y=t.area[0]+c,i.area.end.y=t.area[0]+c+i.area.height;break;case"bottom":i.area.start.y=t.height-t.area[2]-c-i.area.height,i.area.end.y=t.height-t.area[2]-c;break;default:i.area.start.y=(t.height-i.area.height)/2,i.area.end.y=(t.height+i.area.height)/2}for(var P=C%L===0?C/L:Math.floor(C/L+1),Y=[],T=0;Tw&&(w=A)}i.widthArr.push(w),i.heightArr.push(Z.length*f+2*a)}for(var X=0,N=0;N0?Z[De].width+t.yAxis.padding*t.pix:Z[De].width,Se+=1):"right"==Z[De].position&&(t.area[1]+=ve>0?Z[De].width+t.yAxis.padding*t.pix:Z[De].width,ve+=1)}else n.yAxisWidth=Z;if(t.chartData.yAxisData=M,t.categories&&t.categories.length&&"radar"!==t.type&&"gauge"!==t.type&&"bar"!==t.type){t.chartData.xAxisData=$(t.categories,t);var Ze=A(t.categories,t,0,t.chartData.xAxisData.eachSpacing,r),we=Ze.xAxisHeight,Oe=Ze.angle;n.xAxisHeight=we,n._xAxisTextAngle_=Oe,t.area[2]+=we,t.chartData.categoriesData=Ze}else if("line"===t.type||"area"===t.type||"scatter"===t.type||"bubble"===t.type||"bar"===t.type){t.chartData.xAxisData=X(l,t,n,r),f=t.chartData.xAxisData.rangesFormat;var Ee=A(f,t,0,t.chartData.xAxisData.eachSpacing,r),He=Ee.xAxisHeight,Be=Ee.angle;n.xAxisHeight=He,n._xAxisTextAngle_=Be,t.area[2]+=He,t.chartData.categoriesData=Ee}else t.chartData.xAxisData={xAxisPoints:[]};if(t.enableScroll&&"right"==t.xAxis.scrollAlign&&void 0===t._scrollDistance_){var ke,Fe=t.chartData.xAxisData.xAxisPoints,Ie=t.chartData.xAxisData.startX,Ge=t.chartData.xAxisData.endX,Qe=t.chartData.xAxisData.eachSpacing,je=Qe*(Fe.length-1),We=Ge-Ie;ke=We-je,a.scrollOption.currentOffset=ke,a.scrollOption.startTouchX=ke,a.scrollOption.distance=0,a.scrollOption.lastMoveTime=0,t._scrollDistance_=ke}switch("pie"!==e&&"ring"!==e&&"rose"!==e||(n._pieTextMaxLength_=!1===t.dataLabel?0:function(e,t,n,r){e=R(e);for(var o=0,i=0;i4&&void 0!==arguments[4]?arguments[4]:1,i=c({},{type:"normal",autoColors:!0},t.extra.word);t.chartData.wordCloudData||(t.chartData.wordCloudData=Ae(t,i.type,r)),r.beginPath(),r.setFillStyle(t.background),r.rect(0,0,t.width,t.height),r.fill(),r.save();var a=t.chartData.wordCloudData;r.translate(t.width/2,t.height/2);for(var s=0;s0&&(t.tooltip&&t.tooltip.index==s?r.strokeText(u,(a[s].areav[0]+5-t.width/2)*o-f*(1-o)/2,(a[s].areav[1]+5+l-t.height/2)*o):r.fillText(u,(a[s].areav[0]+5-t.width/2)*o-f*(1-o)/2,(a[s].areav[1]+5+l-t.height/2)*o)):a[s].area[0]>0&&(t.tooltip&&t.tooltip.index==s?r.strokeText(u,(a[s].area[0]+5-t.width/2)*o-f*(1-o)/2,(a[s].area[1]+5+l-t.height/2)*o):r.fillText(u,(a[s].area[0]+5-t.width/2)*o-f*(1-o)/2,(a[s].area[1]+5+l-t.height/2)*o)),r.stroke(),r.restore()}r.restore()}(l,t,n,r,e),Re(0,r)},onAnimationFinish:function(){a.uevent.trigger("renderComplete")}});break;case"map":r.clearRect(0,0,t.width,t.height),function(e,t,n,r){var o,i,a=c({},{border:!0,mercator:!1,borderWidth:1,active:!0,borderColor:"#666666",fillOpacity:.6,activeBorderColor:"#f04864",activeFillColor:"#facc14",activeFillOpacity:1},t.extra.map),s=e,l=function(e){for(var t,n={xMin:180,xMax:0,yMin:90,yMax:0},r=0;ru.x?n.xMax:u.x,n.yMin=n.yMinu.y?n.yMax:u.y}}return n}(s);if(a.mercator){var f=Te(l.xMax,l.yMax),d=Te(l.xMin,l.yMin);l.xMax=f[0],l.yMax=f[1],l.xMin=d[0],l.yMin=d[1]}for(var p=t.width/Math.abs(l.xMax-l.xMin),h=t.height/Math.abs(l.yMax-l.yMin),y=p4&&void 0!==arguments[4]?arguments[4]:1,i=c({},{type:"funnel",activeWidth:10,activeOpacity:.3,border:!1,borderWidth:2,borderColor:"#FFFFFF",fillOpacity:1,minSize:0,labelAlign:"right",linearType:"none",customColor:[]},t.extra.funnel),a=(t.height-t.area[0]-t.area[2])/e.length,s={x:t.area[3]+(t.width-t.area[1]-t.area[3])/2,y:t.height-t.area[2]},l=i.activeWidth*t.pix,f=Math.min((t.width-t.area[1]-t.area[3])/2-l,(t.height-t.area[0]-t.area[2])/2-l),d=E(e,f,i,a,o);if(r.save(),r.translate(s.x,s.y),i.customColor=v(i.linearType,i.customColor,e,n),"pyramid"==i.type)for(var p=0;p4&&void 0!==arguments[4]?arguments[4]:1,i=c({},{type:"straight",width:2,activeType:"none",linearType:"none",onShadow:!1,animation:"vertical"},t.extra.line);i.width*=t.pix;var a=t.chartData.xAxisData,s=a.xAxisPoints,l=a.eachSpacing,f=[];r.save();var d=0,h=t.width+l;return t._scrollDistance_&&0!==t._scrollDistance_&&!0===t.enableScroll&&(r.translate(t._scrollDistance_,0),d=-t._scrollDistance_-2*l+t.area[3],h=d+(t.xAxis.itemCount+4)*l),e.forEach((function(e,a){var c,y,g;r.beginPath(),r.setStrokeStyle(e.color),r.moveTo(-1e4,-1e4),r.lineTo(-10001,-10001),r.stroke(),c=[].concat(t.chartData.yAxisData.ranges[e.index]),y=c.pop(),g=c.shift();var v=e.data,m=z(v,y,g,s,l,t,n,i,o);f.push(m);var b=O(m,e);if("dash"==e.lineType){var S=e.dashLength?e.dashLength:8;S*=t.pix,r.setLineDash([S,S])}r.beginPath();var x=e.color;if("none"!==i.linearType&&e.linearColor&&e.linearColor.length>0){for(var C=r.createLinearGradient(t.chartData.xAxisData.startX,t.height/2,t.chartData.xAxisData.endX,t.height/2),_=0;_0?r.setShadow(e.setShadow[0],e.setShadow[1],e.setShadow[2],e.setShadow[3]):r.setShadow(0,0,0,"rgba(0,0,0,0)"),r.setLineWidth(i.width),b.forEach((function(e,t){if(1===e.length)r.moveTo(e[0].x,e[0].y);else{r.moveTo(e[0].x,e[0].y);var n=0;if("curve"===i.type)for(var o=0;od&&(r.moveTo(a.x,a.y),n=1),o>0&&a.x>d&&a.xd&&(r.moveTo(u.x,u.y),n=1),s>0&&u.x>d&&u.xd&&(r.moveTo(f.x,f.y),n=1),l>0&&f.x>d&&f.x4&&void 0!==arguments[4]?arguments[4]:1,i=(c({},{type:"circle"},t.extra.scatter),t.chartData.xAxisData),a=i.xAxisPoints,s=i.eachSpacing,u=[];r.save();return t.width,t._scrollDistance_&&0!==t._scrollDistance_&&!0===t.enableScroll&&(r.translate(t._scrollDistance_,0),-t._scrollDistance_-2*s+t.area[3],t.xAxis.itemCount),e.forEach((function(e,i){var c,u,l;c=[].concat(t.chartData.yAxisData.ranges[e.index]),u=c.pop(),l=c.shift();var f=e.data,d=K(f,u,l,a,s,t,n,o);r.beginPath(),r.setStrokeStyle(e.color),r.setFillStyle(e.color),r.setLineWidth(1*t.pix);var p=e.pointShape;if("diamond"===p)d.forEach((function(e,t){null!==e&&(r.moveTo(e.x,e.y-4.5),r.lineTo(e.x-4.5,e.y),r.lineTo(e.x,e.y+4.5),r.lineTo(e.x+4.5,e.y),r.lineTo(e.x,e.y-4.5))}));else if("circle"===p)d.forEach((function(e,n){null!==e&&(r.moveTo(e.x+2.5*t.pix,e.y),r.arc(e.x,e.y,3*t.pix,0,2*Math.PI,!1))}));else if("square"===p)d.forEach((function(e,t){null!==e&&(r.moveTo(e.x-3.5,e.y-3.5),r.rect(e.x-3.5,e.y-3.5,7,7))}));else if("triangle"===p)d.forEach((function(e,t){null!==e&&(r.moveTo(e.x,e.y-4.5),r.lineTo(e.x-4.5,e.y+4.5),r.lineTo(e.x+4.5,e.y+4.5),r.lineTo(e.x,e.y-4.5))}));else if("triangle"===p)return;r.closePath(),r.fill(),r.stroke()})),!1!==t.dataLabel&&1===o&&e.forEach((function(e,i){var c,u,l;c=[].concat(t.chartData.yAxisData.ranges[e.index]),u=c.pop(),l=c.shift();var f=e.data,d=K(f,u,l,a,s,t,n,o);ue(d,e,n,r,t)})),r.restore(),{xAxisPoints:a,calPoints:u,eachSpacing:s}}(l,t,n,r,e),i=o.xAxisPoints,a=o.calPoints,s=o.eachSpacing;t.chartData.xAxisPoints=i,t.chartData.calPoints=a,t.chartData.eachSpacing=s,Le(0,t,n,r),!1!==t.enableMarkLine&&1===e&&ge(t,0,r),Pe(t.series,t,n,r,t.chartData),xe(t,n,r,e),Re(0,r)},onAnimationFinish:function(){a.uevent.trigger("renderComplete")}});break;case"bubble":this.animationInstance=new Je({timing:t.timing,duration:y,onProcess:function(e){r.clearRect(0,0,t.width,t.height),t.rotate&&ie(r,t),_e(0,t,0,r),Ce(f,t,n,r);var o=function(e,t,n,r){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,i=c({},{opacity:1,border:2},t.extra.bubble),a=t.chartData.xAxisData,s=a.xAxisPoints,l=a.eachSpacing,f=[];r.save();return t.width,t._scrollDistance_&&0!==t._scrollDistance_&&!0===t.enableScroll&&(r.translate(t._scrollDistance_,0),-t._scrollDistance_-2*l+t.area[3],t.xAxis.itemCount),e.forEach((function(e,a){var c,f,d;c=[].concat(t.chartData.yAxisData.ranges[e.index]),f=c.pop(),d=c.shift();var p=e.data,h=K(p,f,d,s,l,t,n,o);r.beginPath(),r.setStrokeStyle(e.color),r.setLineWidth(i.border*t.pix),r.setFillStyle(u(e.color,i.opacity)),h.forEach((function(e,n){r.moveTo(e.x+e.r,e.y),r.arc(e.x,e.y,e.r*t.pix,0,2*Math.PI,!1)})),r.closePath(),r.fill(),r.stroke(),!1!==t.dataLabel&&1===o&&h.forEach((function(o,i){r.beginPath();var a=e.textSize*t.pix||n.fontSize;r.setFontSize(a),r.setFillStyle(e.textColor||"#FFFFFF"),r.setTextAlign("center"),r.fillText(String(o.t),o.x,o.y+a/2),r.closePath(),r.stroke(),r.setTextAlign("left")}))})),r.restore(),{xAxisPoints:s,calPoints:f,eachSpacing:l}}(l,t,n,r,e),i=o.xAxisPoints,a=o.calPoints,s=o.eachSpacing;t.chartData.xAxisPoints=i,t.chartData.calPoints=a,t.chartData.eachSpacing=s,Le(0,t,n,r),!1!==t.enableMarkLine&&1===e&&ge(t,0,r),Pe(t.series,t,n,r,t.chartData),xe(t,n,r,e),Re(0,r)},onAnimationFinish:function(){a.uevent.trigger("renderComplete")}});break;case"mix":this.animationInstance=new Je({timing:t.timing,duration:y,onProcess:function(e){r.clearRect(0,0,t.width,t.height),t.rotate&&ie(r,t),_e(0,t,0,r),Ce(f,t,n,r);var i=function(e,t,n,r){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,a=t.chartData.xAxisData,s=a.xAxisPoints,l=a.eachSpacing,f=c({},{width:l/2,barBorderCircle:!1,barBorderRadius:[],seriesGap:2,linearType:"none",linearOpacity:1,customColor:[],colorStop:0},t.extra.mix.column),d=c({},{opacity:.2,gradient:!1},t.extra.mix.area),h=c({},{width:2},t.extra.mix.line),y=t.height-t.area[2],g=[],m=0,b=0;e.forEach((function(e,t){"column"==e.type&&(b+=1)})),r.save();var S=-2,x=s.length+2,C=0,_=t.width+l;if(t._scrollDistance_&&0!==t._scrollDistance_&&!0===t.enableScroll&&(r.translate(t._scrollDistance_,0),S=Math.floor(-t._scrollDistance_/l)-2,x=S+t.xAxis.itemCount+4,C=-t._scrollDistance_-2*l+t.area[3],_=C+(t.xAxis.itemCount+4)*l),f.customColor=v(f.linearType,f.customColor,e,n),e.forEach((function(e,a){var c,v,L;c=[].concat(t.chartData.yAxisData.ranges[e.index]),v=c.pop(),L=c.shift();var P=e.data,Y=K(P,v,L,s,l,t,n,i);if(g.push(Y),"column"==e.type){Y=I(Y,l,b,m,0,t);for(var T=0;TS&&TG?G:H,B=B>G?G:B,k=k>G?G:k,F=F>G?G:F,H=H<0?0:H,B=B<0?0:B,k=k<0?0:k,F=F<0?0:F,r.arc(X+H,N+H,H,-Math.PI,-Math.PI/2),r.arc(X+R-B,N+B,B,-Math.PI/2,0),r.arc(X+R-k,N+E-k,k,0,Math.PI/2),r.arc(X+F,N+E-F,F,Math.PI/2,Math.PI)}else r.moveTo(D,M.y),r.lineTo(D+M.width,M.y),r.lineTo(D+M.width,t.height-t.area[2]),r.lineTo(D,t.height-t.area[2]),r.lineTo(D,M.y),r.setLineWidth(1),r.setStrokeStyle(w);r.setFillStyle(Z),r.closePath(),r.fill()}}m+=1}if("area"==e.type)for(var Q=O(Y,e),j=0;j1){var U=W[0],z=W[W.length-1];r.moveTo(U.x,U.y);var V=0;if("curve"===e.style)for(var q=0;qC&&(r.moveTo(ee.x,ee.y),V=1),q>0&&ee.x>C&&ee.x<_){var te=p(W,q-1);r.bezierCurveTo(te.ctrA.x,te.ctrA.y,te.ctrB.x,te.ctrB.y,ee.x,ee.y)}}else for(var ne=0;neC&&(r.moveTo(re.x,re.y),V=1),ne>0&&re.x>C&&re.x<_&&r.lineTo(re.x,re.y)}r.lineTo(z.x,y),r.lineTo(U.x,y),r.lineTo(U.x,U.y)}else{var oe=W[0];r.moveTo(oe.x-l/2,oe.y)}r.closePath(),r.fill()}if("line"==e.type){var ie=O(Y,e);ie.forEach((function(n,o){if("dash"==e.lineType){var i=e.dashLength?e.dashLength:8;i*=t.pix,r.setLineDash([i,i])}if(r.beginPath(),r.setStrokeStyle(e.color),r.setLineWidth(h.width*t.pix),1===n.length)r.moveTo(n[0].x,n[0].y);else{r.moveTo(n[0].x,n[0].y);var a=0;if("curve"==e.style)for(var c=0;cC&&(r.moveTo(s.x,s.y),a=1),c>0&&s.x>C&&s.x<_){var u=p(n,c-1);r.bezierCurveTo(u.ctrA.x,u.ctrA.y,u.ctrB.x,u.ctrB.y,s.x,s.y)}}else for(var l=0;lC&&(r.moveTo(f.x,f.y),a=1),l>0&&f.x>C&&f.x<_&&r.lineTo(f.x,f.y)}r.moveTo(n[0].x,n[0].y)}r.stroke(),r.setLineDash([])}))}"point"==e.type&&(e.addPoint=!0),1==e.addPoint&&"column"!==e.type&&ae(Y,e.color,e.pointShape,r,t)})),!1!==t.dataLabel&&1===i){m=0;e.forEach((function(e,o){var a,c,u;a=[].concat(t.chartData.yAxisData.ranges[e.index]),c=a.pop(),u=a.shift();var f=e.data,d=K(f,c,u,s,l,t,n,i);"column"!==e.type?ue(d,e,n,r,t):(d=I(d,l,b,m,0,t),ue(d,e,n,r,t),m+=1)}))}return r.restore(),{xAxisPoints:s,calPoints:g,eachSpacing:l}}(l,t,n,r,e),a=i.xAxisPoints,s=i.calPoints,d=i.eachSpacing;t.chartData.xAxisPoints=a,t.chartData.calPoints=s,t.chartData.eachSpacing=d,Le(0,t,n,r),!1!==t.enableMarkLine&&1===e&&ge(t,0,r),Pe(t.series,t,n,r,t.chartData),xe(t,n,r,e),Re(0,r)},onAnimationFinish:function(){a.uevent.trigger("renderComplete")}});break;case"column":this.animationInstance=new Je({timing:t.timing,duration:y,onProcess:function(e){r.clearRect(0,0,t.width,t.height),t.rotate&&ie(r,t),_e(0,t,0,r),Ce(f,t,n,r);var i=function(e,t,n,r){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,a=t.chartData.xAxisData,s=a.xAxisPoints,l=a.eachSpacing,f=c({},{type:"group",width:l/2,meterBorder:4,meterFillColor:"#FFFFFF",barBorderCircle:!1,barBorderRadius:[],seriesGap:2,linearType:"none",linearOpacity:1,customColor:[],colorStop:0,labelPosition:"outside"},t.extra.column),d=[];r.save();var p=-2,h=s.length+2;return t._scrollDistance_&&0!==t._scrollDistance_&&!0===t.enableScroll&&(r.translate(t._scrollDistance_,0),p=Math.floor(-t._scrollDistance_/l)-2,h=p+t.xAxis.itemCount+4),t.tooltip&&t.tooltip.textList&&t.tooltip.textList.length&&1===i&&me(t.tooltip.offset.x,t,0,r,l),f.customColor=v(f.linearType,f.customColor,e,n),e.forEach((function(a,c){var y,g,v;y=[].concat(t.chartData.yAxisData.ranges[a.index]),g=y.pop(),v=y.shift();var m=t.height-t.area[0]-t.area[2],b=m*(0-g)/(v-g),S=t.height-Math.round(b)-t.area[2];a.zeroPoints=S;var x=a.data;switch(f.type){case"group":var C=V(x,g,v,s,l,t,n,S,i),_=te(x,g,v,s,l,t,n,c,e,i);d.push(_),C=I(C,l,e.length,c,0,t);for(var L=0;Lp&&LS?S:P.y,A=P.width,X=Math.abs(S-P.y);f.barBorderCircle&&(f.barBorderRadius=[A/2,A/2,0,0]),P.y>S&&(f.barBorderRadius=[0,0,A/2,A/2]);var N=(0,o.default)(f.barBorderRadius,4),R=N[0],E=N[1],J=N[2],H=N[3],B=Math.min(A/2,X/2);R=R>B?B:R,E=E>B?B:E,J=J>B?B:J,H=H>B?B:H,R=R<0?0:R,E=E<0?0:E,J=J<0?0:J,H=H<0?0:H,r.arc(w+R,O+R,R,-Math.PI,-Math.PI/2),r.arc(w+A-E,O+E,E,-Math.PI/2,0),r.arc(w+A-J,O+X-J,J,0,Math.PI/2),r.arc(w+H,O+X-H,H,Math.PI/2,Math.PI)}else r.moveTo(Y,P.y),r.lineTo(Y+P.width,P.y),r.lineTo(Y+P.width,S),r.lineTo(Y,S),r.lineTo(Y,P.y),r.setLineWidth(1),r.setStrokeStyle(D);r.setFillStyle(M),r.closePath(),r.fill()}}break;case"stack":C=te(x,g,v,s,l,t,n,c,e,i);d.push(C),C=j(C,l,e.length,0,0,t);for(var k=0;kp&&k0&&(T-=G),r.setFillStyle(M),r.moveTo(Y,F.y),r.fillRect(Y,F.y,F.width,T),r.closePath(),r.fill()}}break;case"meter":C=K(x,g,v,s,l,t,n,i);d.push(C),C=Q(C,l,e.length,c,0,t,f.meterBorder);for(var W=0;Wp&&W0&&(r.setStrokeStyle(a.color),r.setLineWidth(f.meterBorder*t.pix)),0==c?r.setFillStyle(f.meterFillColor):r.setFillStyle($.color||a.color);Y=$.x-$.width/2,T=t.height-$.y-t.area[2];if(f.barBorderRadius&&4===f.barBorderRadius.length||!0===f.barBorderCircle){var U=Y,z=$.y,q=$.width,ee=S-$.y;f.barBorderCircle&&(f.barBorderRadius=[q/2,q/2,0,0]);var ne=(0,o.default)(f.barBorderRadius,4),re=ne[0],oe=ne[1],ie=ne[2],ae=ne[3],ce=Math.min(q/2,ee/2);re=re>ce?ce:re,oe=oe>ce?ce:oe,ie=ie>ce?ce:ie,ae=ae>ce?ce:ae,re=re<0?0:re,oe=oe<0?0:oe,ie=ie<0?0:ie,ae=ae<0?0:ae,r.arc(U+re,z+re,re,-Math.PI,-Math.PI/2),r.arc(U+q-oe,z+oe,oe,-Math.PI/2,0),r.arc(U+q-ie,z+ee-ie,ie,0,Math.PI/2),r.arc(U+ae,z+ee-ae,ae,Math.PI/2,Math.PI),r.fill()}else r.moveTo(Y,$.y),r.lineTo(Y+$.width,$.y),r.lineTo(Y+$.width,S),r.lineTo(Y,S),r.lineTo(Y,$.y),r.fill();0==c&&f.meterBorder>0&&(r.closePath(),r.stroke())}}break}})),!1!==t.dataLabel&&1===i&&e.forEach((function(o,a){var c,u,d;c=[].concat(t.chartData.yAxisData.ranges[o.index]),u=c.pop(),d=c.shift();var p=o.data;switch(f.type){case"group":var h=V(p,u,d,s,l,t,n,i);h=I(h,l,e.length,a,0,t),le(h,o,n,r,t);break;case"stack":h=te(p,u,d,s,l,t,n,a,e,i);le(h,o,n,r,t);break;case"meter":h=K(p,u,d,s,l,t,n,i);le(h,o,n,r,t);break}})),r.restore(),{xAxisPoints:s,calPoints:d,eachSpacing:l}}(l,t,n,r,e),a=i.xAxisPoints,s=i.calPoints,d=i.eachSpacing;t.chartData.xAxisPoints=a,t.chartData.calPoints=s,t.chartData.eachSpacing=d,Le(0,t,n,r),!1!==t.enableMarkLine&&1===e&&ge(t,0,r),Pe(t.series,t,n,r,t.chartData),xe(t,n,r,e),Re(0,r)},onAnimationFinish:function(){a.uevent.trigger("renderComplete")}});break;case"mount":this.animationInstance=new Je({timing:t.timing,duration:y,onProcess:function(e){r.clearRect(0,0,t.width,t.height),t.rotate&&ie(r,t),_e(0,t,0,r),Ce(f,t,n,r);var i=function(e,t,n,r){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,a=t.chartData.xAxisData,s=a.xAxisPoints,l=a.eachSpacing,f=c({},{type:"mount",widthRatio:1,borderWidth:1,barBorderCircle:!1,barBorderRadius:[],linearType:"none",linearOpacity:1,customColor:[],colorStop:0},t.extra.mount);f.widthRatio=f.widthRatio<=0?0:f.widthRatio,f.widthRatio=f.widthRatio>=2?2:f.widthRatio,r.save();var d,p,h,y=-2,g=s.length+2;t._scrollDistance_&&0!==t._scrollDistance_&&!0===t.enableScroll&&(r.translate(t._scrollDistance_,0),y=Math.floor(-t._scrollDistance_/l)-2,g=y+t.xAxis.itemCount+4),f.customColor=v(f.linearType,f.customColor,e,n),d=[].concat(t.chartData.yAxisData.ranges[0]),p=d.pop(),h=d.shift();var m=t.height-t.area[0]-t.area[2],b=m*(0-p)/(h-p),S=t.height-Math.round(b)-t.area[2],x=q(e,p,h,s,l,t,f,S,i);switch(f.type){case"bar":for(var C=0;Cy&&CS?S:_.y,w=_.width,O=Math.abs(S-_.y);f.barBorderCircle&&(f.barBorderRadius=[w/2,w/2,0,0]),_.y>S&&(f.barBorderRadius=[0,0,w/2,w/2]);var A=(0,o.default)(f.barBorderRadius,4),X=A[0],N=A[1],R=A[2],E=A[3],J=Math.min(w/2,O/2);X=X>J?J:X,N=N>J?J:N,R=R>J?J:R,E=E>J?J:E,X=X<0?0:X,N=N<0?0:N,R=R<0?0:R,E=E<0?0:E,r.arc(D+X,Z+X,X,-Math.PI,-Math.PI/2),r.arc(D+w-N,Z+N,N,-Math.PI/2,0),r.arc(D+w-R,Z+O-R,R,0,Math.PI/2),r.arc(D+E,Z+O-E,E,Math.PI/2,Math.PI)}else r.moveTo(L,_.y),r.lineTo(L+_.width,_.y),r.lineTo(L+_.width,S),r.lineTo(L,S),r.lineTo(L,_.y);r.setStrokeStyle(T),r.setFillStyle(Y),f.borderWidth>0&&(r.setLineWidth(f.borderWidth*t.pix),r.closePath(),r.stroke()),r.fill()}}break;case"triangle":for(var H=0;Hy&&H0&&(r.setLineWidth(f.borderWidth*t.pix),r.stroke()),r.fill()}}break;case"mount":for(var k=0;ky&&k0&&(r.setLineWidth(f.borderWidth*t.pix),r.stroke()),r.fill()}}break;case"sharp":for(var I=0;Iy&&I0&&(r.setLineWidth(f.borderWidth*t.pix),r.stroke()),r.fill()}}break}if(!1!==t.dataLabel&&1===i){var Q,j,W;Q=[].concat(t.chartData.yAxisData.ranges[0]),j=Q.pop(),W=Q.shift();x=q(e,j,W,s,l,t,f,S,i);fe(x,e,n,r,t,S)}return r.restore(),{xAxisPoints:s,calPoints:x,eachSpacing:l}}(l,t,n,r,e),a=i.xAxisPoints,s=i.calPoints,d=i.eachSpacing;t.chartData.xAxisPoints=a,t.chartData.calPoints=s,t.chartData.eachSpacing=d,Le(0,t,n,r),!1!==t.enableMarkLine&&1===e&&ge(t,0,r),Pe(t.series,t,n,r,t.chartData),xe(t,n,r,e),Re(0,r)},onAnimationFinish:function(){a.uevent.trigger("renderComplete")}});break;case"bar":this.animationInstance=new Je({timing:t.timing,duration:y,onProcess:function(e){r.clearRect(0,0,t.width,t.height),t.rotate&&ie(r,t),Ce(f,t,n,r);var i=function(e,t,n,r){for(var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,a=[],s=(t.height-t.area[0]-t.area[2])/t.categories.length,l=0;lp&&xE?E:A,X=X>E?E:X,N=N>E?E:N,R=R>E?E:R,A=A<0?0:A,X=X<0?0:X,N=N<0?0:N,R=R<0?0:R,r.arc(M+R,Z+R,R,-Math.PI,-Math.PI/2),r.arc(C.x-A,Z+A,A,-Math.PI/2,0),r.arc(C.x-X,Z+D-X,X,0,Math.PI/2),r.arc(M+N,Z+D-N,N,Math.PI/2,Math.PI)}else r.moveTo(_,L),r.lineTo(C.x,L),r.lineTo(C.x,L+C.width),r.lineTo(_,L+C.width),r.lineTo(_,L),r.setLineWidth(1),r.setStrokeStyle(Y);r.setFillStyle(P),r.closePath(),r.fill()}}break;case"stack":b=ne(m,g,v,a,s,t,n,l,e,i);d.push(b),b=W(b,s,e.length,0,0,t);for(var J=0;Jp&&J4&&void 0!==arguments[4]?arguments[4]:1,i=c({},{type:"straight",opacity:.2,addLine:!1,width:2,gradient:!1,activeType:"none"},t.extra.area),a=t.chartData.xAxisData,s=a.xAxisPoints,l=a.eachSpacing,f=t.height-t.area[2],d=[];r.save();var h=0,y=t.width+l;return t._scrollDistance_&&0!==t._scrollDistance_&&!0===t.enableScroll&&(r.translate(t._scrollDistance_,0),h=-t._scrollDistance_-2*l+t.area[3],y=h+(t.xAxis.itemCount+4)*l),e.forEach((function(e,a){var c,g,v;c=[].concat(t.chartData.yAxisData.ranges[e.index]),g=c.pop(),v=c.shift();var m=e.data,b=K(m,g,v,s,l,t,n,o);d.push(b);for(var S=O(b,e),x=0;x1){var L=C[0],P=C[C.length-1];r.moveTo(L.x,L.y);var Y=0;if("curve"===i.type)for(var T=0;Th&&(r.moveTo(M.x,M.y),Y=1),T>0&&M.x>h&&M.xh&&(r.moveTo(w.x,w.y),Y=1),Z>0&&w.x>h&&w.xh&&(r.moveTo(X.x,X.y),Y=1),A>0&&X.x>h&&X.xh&&(r.moveTo(H.x,H.y),E=1),J>0&&H.x>h&&H.xh&&(r.moveTo(F.x,F.y),E=1),k>0&&F.x>h&&F.xh&&(r.moveTo(G.x,G.y),E=1),I>0&&G.x>h&&G.x4&&void 0!==arguments[4]?arguments[4]:1,i=c({},{type:"area",activeOpacity:.5,activeRadius:10,offsetAngle:0,labelWidth:15,border:!1,borderWidth:2,borderColor:"#FFFFFF",linearType:"none",customColor:[]},t.extra.rose);0==n.pieChartLinePadding&&(n.pieChartLinePadding=i.activeRadius*t.pix);var a={x:t.area[3]+(t.width-t.area[1]-t.area[3])/2,y:t.area[0]+(t.height-t.area[0]-t.area[2])/2},s=Math.min((t.width-t.area[1]-t.area[3])/2-n.pieChartLinePadding-n.pieChartTextPadding-n._pieTextMaxLength_,(t.height-t.area[0]-t.area[2])/2-n.pieChartLinePadding-n.pieChartTextPadding);s=s<10?10:s;var l=i.minRadius||.5*s;s4&&void 0!==arguments[4]?arguments[4]:1,i=c({},{gridColor:"#cccccc",gridType:"radar",gridEval:1,axisLabel:!1,axisLabelTofix:0,labelShow:!0,labelColor:"#666666",labelPointShow:!1,labelPointRadius:3,labelPointColor:"#cccccc",opacity:.2,gridCount:3,border:!1,borderWidth:2,linearType:"none",customColor:[]},t.extra.radar),a=P(t.categories.length),s={x:t.area[3]+(t.width-t.area[1]-t.area[3])/2,y:t.area[0]+(t.height-t.area[0]-t.area[2])/2},l=(t.width-t.area[1]-t.area[3])/2,f=(t.height-t.area[0]-t.area[2])/2,d=Math.min(l-(L(t.categories,n.fontSize,r)+n.radarLabelTextMargin),f-n.radarLabelTextMargin);d-=n.radarLabelTextMargin*t.pix,d=d<10?10:d,d=i.radius?i.radius:d,r.beginPath(),r.setLineWidth(1*t.pix),r.setStrokeStyle(i.gridColor),a.forEach((function(e,t){var n=h(d*Math.cos(e),d*Math.sin(e),s);r.moveTo(s.x,s.y),t%i.gridEval==0&&r.lineTo(n.x,n.y)})),r.stroke(),r.closePath();for(var p=function(e){var n={};if(r.beginPath(),r.setLineWidth(1*t.pix),r.setStrokeStyle(i.gridColor),"radar"==i.gridType)a.forEach((function(t,o){var a=h(d/i.gridCount*e*Math.cos(t),d/i.gridCount*e*Math.sin(t),s);0===o?(n=a,r.moveTo(a.x,a.y)):r.lineTo(a.x,a.y)})),r.lineTo(n.x,n.y);else{var o=h(d/i.gridCount*e*Math.cos(1.5),d/i.gridCount*e*Math.sin(1.5),s);r.arc(s.x,s.y,s.y-o.y,0,2*Math.PI,!1)}r.stroke(),r.closePath()},y=1;y<=i.gridCount;y++)p(y);i.customColor=v(i.linearType,i.customColor,e,n);var g=N(a,s,d,e,t,o);if(g.forEach((function(n,o){r.beginPath(),r.setLineWidth(i.borderWidth*t.pix),r.setStrokeStyle(n.color);var a,c=u(n.color,i.opacity);"custom"==i.linearType&&(a=r.createCircularGradient?r.createCircularGradient(s.x,s.y,d):r.createRadialGradient(s.x,s.y,0,s.x,s.y,d),a.addColorStop(0,u(i.customColor[e[o].linearIndex],i.opacity)),a.addColorStop(1,u(n.color,i.opacity)),c=a);if(r.setFillStyle(c),n.data.forEach((function(e,t){0===t?r.moveTo(e.position.x,e.position.y):r.lineTo(e.position.x,e.position.y)})),r.closePath(),r.fill(),!0===i.border&&r.stroke(),r.closePath(),!1!==t.dataPointShape){var l=n.data.map((function(e){return e.position}));ae(l,n.color,n.pointShape,r,t)}})),!0===i.axisLabel){var m=Math.max(i.max,Math.max.apply(null,S(e))),b=d/i.gridCount,x=t.fontSize*t.pix;r.setFontSize(x),r.setFillStyle(t.fontColor),r.setTextAlign("left");for(y=0;y4&&void 0!==arguments[4]?arguments[4]:1,s=c({},{startAngle:.75,endAngle:.25,type:"default",direction:"cw",lineCap:"round",width:12,gap:2,linearType:"none",customColor:[]},t.extra.arcbar);e=H(e,s,a),o=s.centerX||s.centerY?{x:s.centerX?s.centerX:t.width/2,y:s.centerY?s.centerY:t.height/2}:{x:t.width/2,y:t.height/2},s.radius?i=s.radius:(i=Math.min(o.x,o.y),i-=5*t.pix,i-=s.width/2),i=i<10?10:i,s.customColor=v(s.linearType,s.customColor,e,n);for(var l=0;l5&&void 0!==arguments[5]?arguments[5]:1,a=c({},{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"}},n.extra.gauge);void 0==a.oldAngle&&(a.oldAngle=a.startAngle),void 0==a.oldData&&(a.oldData=0),e=k(e,a.startAngle,a.endAngle);var s={x:n.width/2,y:n.height/2},l=Math.min(s.x,s.y);l-=5*n.pix,l-=a.width/2,l=l<10?10:l;var f=l-a.width,d=0;if("progress"==a.type){var p=l-3*a.width;o.beginPath();var h=o.createLinearGradient(s.x,s.y-p,s.x,s.y+p);h.addColorStop("0",u(t[0].color,.3)),h.addColorStop("1.0",u("#FFFFFF",.1)),o.setFillStyle(h),o.arc(s.x,s.y,p,0,2*Math.PI,!1),o.fill(),o.setLineWidth(a.width),o.setStrokeStyle(u(t[0].color,.3)),o.setLineCap("round"),o.beginPath(),o.arc(s.x,s.y,f,a.startAngle*Math.PI,a.endAngle*Math.PI,!1),o.stroke(),d=a.endAngleS/m?o.setStrokeStyle(u(t[0].color,1)):o.setStrokeStyle(u(t[0].color,.3)),o.setLineWidth(3*n.pix),o.moveTo(g,0),o.lineTo(v,0),o.stroke(),o.rotate(y*Math.PI);o.restore(),t=B(t,a,i),o.setLineWidth(a.width),o.setStrokeStyle(t[0].color),o.setLineCap("round"),o.beginPath(),o.arc(s.x,s.y,f,a.startAngle*Math.PI,t[0]._proportion_*Math.PI,!1),o.stroke();var x=l-2.5*a.width;o.save(),o.translate(s.x,s.y),o.rotate((t[0]._proportion_-1)*Math.PI),o.beginPath(),o.setLineWidth(a.width/3);var C=o.createLinearGradient(0,.6*-x,0,.6*x);C.addColorStop("0",u("#FFFFFF",0)),C.addColorStop("0.5",u(t[0].color,1)),C.addColorStop("1.0",u("#FFFFFF",0)),o.setStrokeStyle(C),o.arc(0,0,x,.85*Math.PI,1.15*Math.PI,!1),o.stroke(),o.beginPath(),o.setLineWidth(1),o.setStrokeStyle(t[0].color),o.setFillStyle(t[0].color),o.moveTo(-x-a.width/3/2,-4),o.lineTo(-x-a.width/3/2-4,0),o.lineTo(-x-a.width/3/2,4),o.lineTo(-x-a.width/3/2,-4),o.stroke(),o.fill(),o.restore()}else{o.setLineWidth(a.width),o.setLineCap("butt");for(var _=0;_5&&void 0!==arguments[5]?arguments[5]:1,a=c({},{color:{},average:{}},n.extra.candle);a.color=c({},{upLine:"#f04864",upFill:"#f04864",downLine:"#2fc25b",downFill:"#2fc25b"},a.color),a.average=c({},{show:!1,name:[],day:[],color:r.color},a.average),n.extra.candle=a;var s=n.chartData.xAxisData,u=s.xAxisPoints,l=s.eachSpacing,f=[];o.save();var d=-2,h=u.length+2,y=0,g=n.width+l;return n._scrollDistance_&&0!==n._scrollDistance_&&!0===n.enableScroll&&(o.translate(n._scrollDistance_,0),d=Math.floor(-n._scrollDistance_/l)-2,h=d+n.xAxis.itemCount+4,y=-n._scrollDistance_-2*l+n.area[3],g=y+(n.xAxis.itemCount+4)*l),(a.average.show||t)&&t.forEach((function(e,t){var a,c,s;a=[].concat(n.chartData.yAxisData.ranges[e.index]),c=a.pop(),s=a.shift();for(var f=e.data,d=K(f,c,s,u,l,n,r,i),h=O(d,e),v=0;vy&&(o.moveTo(x.x,x.y),b=1),S>0&&x.x>y&&x.xd&&m0?(o.setStrokeStyle(a.color.upLine),o.setFillStyle(a.color.upFill),o.setLineWidth(1*n.pix),o.moveTo(b[3].x,b[3].y),o.lineTo(b[1].x,b[1].y),o.lineTo(b[1].x-l/4,b[1].y),o.lineTo(b[0].x-l/4,b[0].y),o.lineTo(b[0].x,b[0].y),o.lineTo(b[2].x,b[2].y),o.lineTo(b[0].x,b[0].y),o.lineTo(b[0].x+l/4,b[0].y),o.lineTo(b[1].x+l/4,b[1].y),o.lineTo(b[1].x,b[1].y),o.moveTo(b[3].x,b[3].y)):(o.setStrokeStyle(a.color.downLine),o.setFillStyle(a.color.downFill),o.setLineWidth(1*n.pix),o.moveTo(b[3].x,b[3].y),o.lineTo(b[0].x,b[0].y),o.lineTo(b[0].x-l/4,b[0].y),o.lineTo(b[1].x-l/4,b[1].y),o.lineTo(b[1].x,b[1].y),o.lineTo(b[2].x,b[2].y),o.lineTo(b[1].x,b[1].y),o.lineTo(b[1].x+l/4,b[1].y),o.lineTo(b[0].x+l/4,b[0].y),o.lineTo(b[0].x,b[0].y),o.moveTo(b[3].x,b[3].y)),o.closePath(),o.fill(),o.stroke()}})),o.restore(),{xAxisPoints:u,calPoints:f,eachSpacing:l}}(l,m,t,n,r,e),i=o.xAxisPoints,a=o.calPoints,s=o.eachSpacing;t.chartData.xAxisPoints=i,t.chartData.calPoints=a,t.chartData.eachSpacing=s,Le(0,t,n,r),!1!==t.enableMarkLine&&1===e&&ge(t,0,r),Pe(m?0:t.series,t,n,r,t.chartData),xe(t,n,r,e),Re(0,r)},onAnimationFinish:function(){a.uevent.trigger("renderComplete")}});break}}function Be(){this.events={}}Je.prototype.stop=function(){this.isStop=!0},Be.prototype.addEventListener=function(e,t){this.events[e]=this.events[e]||[],this.events[e].push(t)},Be.prototype.delEventListener=function(e){this.events[e]=[]},Be.prototype.trigger=function(){for(var e=arguments.length,t=Array(e),n=0;n0&&void 0!==arguments[0]?arguments[0]:{};this.opts=c({},this.opts,e),this.opts.updateData=!0;var t=e.scrollPosition||"current";switch(t){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 n=oe(this.opts.series,this.opts,this.config,this.context),r=n.yAxisWidth;this.config.yAxisWidth=r;var o=0,i=$(this.opts.categories,this.opts,this.config),a=i.xAxisPoints,s=i.startX,u=i.endX,l=i.eachSpacing,f=l*(a.length-1),d=u-s;o=d-f,this.scrollOption={currentOffset:o,startTouchX:o,distance:0,lastMoveTime:0},this.opts._scrollDistance_=o;break}He.call(this,this.opts.type,this.opts,this.config,this.context)},ke.prototype.zoom=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.opts.xAxis.itemCount;if(!0===this.opts.enableScroll){var t=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=oe(this.opts.series,this.opts,this.config,this.context),r=n.yAxisWidth;this.config.yAxisWidth=r;var o=0,i=$(this.opts.categories,this.opts,this.config),a=i.xAxisPoints,c=i.startX,s=i.endX,u=i.eachSpacing,l=u*t,d=s-c,p=d-u*(a.length-1);o=d/2-l,o>0&&(o=0),o=this.opts.categories.length?this.opts.categories.length:d,this.opts.animation=!1,this.opts.xAxis.itemCount=d;var p=0,h=$(this.opts.categories,this.opts,this.config),y=h.xAxisPoints,g=h.startX,v=h.endX,m=h.eachSpacing,b=m*this.scrollOption.moveCurrent1,S=v-g,x=S-m*(y.length-1);p=-b+Math.min(r[0].x,r[1].x)-this.opts.area[3]-m,p>0&&(p=0),p2*Math.PI&&(e-=2*Math.PI),e},a=Math.atan2(t.center.y-e.y,e.x-t.center.x);a*=-1,a<0&&(a+=2*Math.PI);var c=t.angleList.map((function(e){return e=i(-1*e),e}));c.forEach((function(e,t){var n=i(e-r/2),c=i(e+r/2);c=n&&a<=c||a+2*Math.PI>=n&&a+2*Math.PI<=c)&&(o=t)}))}return o}({x:n.x,y:n.y},this.opts.chartData.radarData,this.opts.categories.length):"funnel"===this.opts.type?function(e,t){for(var n=-1,r=0,o=t.series.length;ri.funnelArea[0]&&e.xi.funnelArea[1]&&e.yi.area[0]&&e.xi.area[1]&&e.y4&&void 0!==arguments[4]?arguments[4]:0,i={index:-1,group:[]},a=n.chartData.eachSpacing/2,c=n.chartData.yAxisPoints;return t&&t.length>0&&Z(e,n,r)&&c.forEach((function(t,n){e.y+o+a>t&&(i.index=n)})),i}({x:n.x,y:n.y},this.opts.chartData.calPoints,this.opts,this.config,Math.abs(this.scrollOption.currentOffset)):function(e,t,n,r){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,i={index:-1,group:[]},a=n.chartData.eachSpacing/2,c=[];if(t&&t.length>0){if(n.categories){for(var s=1;st&&(i.index=n)}));else{for(var u=Array(t.length),l=0;lt.start.x&&e.xt.start.y&&e.yl[0]-0&&e.xl[1]-0&&e.y1&&void 0!==arguments[1]?arguments[1]:{},n=null;if(n=e.changedTouches?e.changedTouches[0]:e.mp.changedTouches[0],n){C(n,this.opts,e);var r=this.getLegendDataIndex(e);r>=0&&("candle"==this.opts.type?this.opts.seriesMA[r].show=!this.opts.seriesMA[r].show:this.opts.series[r].show=!this.opts.series[r].show,this.opts.animation=!!t.animation,this.opts._scrollDistance_=this.scrollOption.currentOffset,He.call(this,this.opts.type,this.opts,this.config,this.context))}},ke.prototype.showToolTip=function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=null;r=e.changedTouches?e.changedTouches[0]:e.mp.changedTouches[0],r||console.log("[uCharts] 未获取到event坐标信息");var o=C(r,this.opts,e),i=this.scrollOption.currentOffset,a=c({},this.opts,{_scrollDistance_:i,animation:!1});if("line"===this.opts.type||"area"===this.opts.type||"column"===this.opts.type||"scatter"===this.opts.type||"bubble"===this.opts.type){var s=this.getCurrentDataIndex(e),u=void 0==n.index?s.index:n.index;if(u>-1||u.length>0){var l=_(this.opts.series,u,s.group);if(0!==l.length){var f=Y(l,this.opts,u,s.group,this.opts.categories,n),d=f.textList,p=f.offset;p.y=o.y,a.tooltip={textList:void 0!==n.textList?n.textList:d,offset:void 0!==n.offset?n.offset:p,option:n,index:u,group:s.group}}}He.call(this,a.type,a,this.config,this.context)}if("mount"===this.opts.type){u=void 0==n.index?this.getCurrentDataIndex(e).index:n.index;if(u>-1){a=c({},this.opts,{animation:!1}),l=c({},a._series_[u]),d=[{text:n.formatter?n.formatter(l,void 0,u,a):l.name+": "+l.data,color:l.color,legendShape:"auto"==this.opts.extra.tooltip.legendShape?l.legendShape:this.opts.extra.tooltip.legendShape}],p={x:a.chartData.calPoints[u].x,y:o.y};a.tooltip={textList:n.textList?n.textList:d,offset:void 0!==n.offset?n.offset:p,option:n,index:u}}He.call(this,a.type,a,this.config,this.context)}if("bar"===this.opts.type){s=this.getCurrentDataIndex(e),u=void 0==n.index?s.index:n.index;if(u>-1||u.length>0){l=_(this.opts.series,u,s.group);if(0!==l.length){f=Y(l,this.opts,u,s.group,this.opts.categories,n),d=f.textList,p=f.offset;p.x=o.x,a.tooltip={textList:void 0!==n.textList?n.textList:d,offset:void 0!==n.offset?n.offset:p,option:n,index:u}}}He.call(this,a.type,a,this.config,this.context)}if("mix"===this.opts.type){s=this.getCurrentDataIndex(e),u=void 0==n.index?s.index:n.index;if(u>-1){i=this.scrollOption.currentOffset,a=c({},this.opts,{_scrollDistance_:i,animation:!1}),l=_(this.opts.series,u);if(0!==l.length){var h=T(l,this.opts,u,this.opts.categories,n);d=h.textList,p=h.offset;p.y=o.y,a.tooltip={textList:n.textList?n.textList:d,offset:void 0!==n.offset?n.offset:p,option:n,index:u}}}He.call(this,a.type,a,this.config,this.context)}if("candle"===this.opts.type){s=this.getCurrentDataIndex(e),u=void 0==n.index?s.index:n.index;if(u>-1){i=this.scrollOption.currentOffset,a=c({},this.opts,{_scrollDistance_:i,animation:!1}),l=_(this.opts.series,u);if(0!==l.length){f=M(this.opts.series[0].data,l,this.opts,u,this.opts.categories,this.opts.extra.candle,n),d=f.textList,p=f.offset;p.y=o.y,a.tooltip={textList:n.textList?n.textList:d,offset:void 0!==n.offset?n.offset:p,option:n,index:u}}}He.call(this,a.type,a,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){a=c({},this.opts,{animation:!1}),l=c({},a._series_[u]),d=[{text:n.formatter?n.formatter(l,void 0,u,a):l.name+": "+l.data,color:l.color,legendShape:"auto"==this.opts.extra.tooltip.legendShape?l.legendShape:this.opts.extra.tooltip.legendShape}],p={x:o.x,y:o.y};a.tooltip={textList:n.textList?n.textList:d,offset:void 0!==n.offset?n.offset:p,option:n,index:u}}He.call(this,a.type,a,this.config,this.context)}if("map"===this.opts.type){u=void 0==n.index?this.getCurrentDataIndex(e):n.index;if(u>-1){a=c({},this.opts,{animation:!1}),l=c({},this.opts.series[u]);l.name=l.properties.name;d=[{text:n.formatter?n.formatter(l,void 0,u,this.opts):l.name,color:l.color,legendShape:"auto"==this.opts.extra.tooltip.legendShape?l.legendShape:this.opts.extra.tooltip.legendShape}],p={x:o.x,y:o.y};a.tooltip={textList:n.textList?n.textList:d,offset:void 0!==n.offset?n.offset:p,option:n,index:u}}a.updateData=!1,He.call(this,a.type,a,this.config,this.context)}if("word"===this.opts.type){u=void 0==n.index?this.getCurrentDataIndex(e):n.index;if(u>-1){a=c({},this.opts,{animation:!1}),l=c({},this.opts.series[u]),d=[{text:n.formatter?n.formatter(l,void 0,u,this.opts):l.name,color:l.color,legendShape:"auto"==this.opts.extra.tooltip.legendShape?l.legendShape:this.opts.extra.tooltip.legendShape}],p={x:o.x,y:o.y};a.tooltip={textList:n.textList?n.textList:d,offset:void 0!==n.offset?n.offset:p,option:n,index:u}}a.updateData=!1,He.call(this,a.type,a,this.config,this.context)}if("radar"===this.opts.type){u=void 0==n.index?this.getCurrentDataIndex(e):n.index;if(u>-1){a=c({},this.opts,{animation:!1}),l=_(this.opts.series,u);if(0!==l.length){d=l.map((function(e){return{text:n.formatter?n.formatter(e,t.opts.categories[u],u,t.opts):e.name+": "+e.data,color:e.color,legendShape:"auto"==t.opts.extra.tooltip.legendShape?e.legendShape:t.opts.extra.tooltip.legendShape}})),p={x:o.x,y:o.y};a.tooltip={textList:n.textList?n.textList:d,offset:void 0!==n.offset?n.offset:p,option:n,index:u}}}He.call(this,a.type,a,this.config,this.context)}},ke.prototype.translate=function(e){this.scrollOption={currentOffset:e,startTouchX:e,distance:0,lastMoveTime:0};var t=c({},this.opts,{_scrollDistance_:e,animation:!1});He.call(this,this.opts.type,t,this.config,this.context)},ke.prototype.scrollStart=function(e){var t=null;t=e.changedTouches?e.changedTouches[0]:e.mp.changedTouches[0];var n=C(t,this.opts,e);t&&!0===this.opts.enableScroll&&(this.scrollOption.startTouchX=n.x)},ke.prototype.scroll=function(e){0===this.scrollOption.lastMoveTime&&(this.scrollOption.lastMoveTime=Date.now());var t=this.opts.touchMoveLimit||60,n=Date.now(),r=n-this.scrollOption.lastMoveTime;if(!(r=0;--o){var i=this.tryEntries[o],c=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var s=a.call(i,"catchLoc"),u=a.call(i,"finallyLoc");if(s&&u){if(this.prev=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&a.call(r,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),w(n),m}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;w(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:A(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),m}},n}e.exports=o,e.exports.__esModule=!0,e.exports["default"]=e.exports},a0bd:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default=[{cityCode:"110100",cityName:"北京"},{cityCode:"120100",cityName:"天津"},{cityCode:"130100",cityName:"石家庄市"},{cityCode:"130200",cityName:"唐山市"},{cityCode:"130300",cityName:"秦皇岛市"},{cityCode:"130400",cityName:"邯郸市"},{cityCode:"130500",cityName:"邢台市"},{cityCode:"130600",cityName:"保定市"},{cityCode:"130700",cityName:"张家口市"},{cityCode:"130800",cityName:"承德市"},{cityCode:"130900",cityName:"沧州市"},{cityCode:"131000",cityName:"廊坊市"},{cityCode:"131100",cityName:"衡水市"},{cityCode:"140100",cityName:"太原市"},{cityCode:"140200",cityName:"大同市"},{cityCode:"140300",cityName:"阳泉市"},{cityCode:"140400",cityName:"长治市"},{cityCode:"140500",cityName:"晋城市"},{cityCode:"140600",cityName:"朔州市"},{cityCode:"140700",cityName:"晋中市"},{cityCode:"140800",cityName:"运城市"},{cityCode:"140900",cityName:"忻州市"},{cityCode:"141000",cityName:"临汾市"},{cityCode:"141100",cityName:"吕梁市"},{cityCode:"150100",cityName:"呼和浩特市"},{cityCode:"150200",cityName:"包头市"},{cityCode:"150300",cityName:"乌海市"},{cityCode:"150400",cityName:"赤峰市"},{cityCode:"150500",cityName:"通辽市"},{cityCode:"150600",cityName:"鄂尔多斯市"},{cityCode:"150700",cityName:"呼伦贝尔市"},{cityCode:"150800",cityName:"巴彦淖尔市"},{cityCode:"150900",cityName:"乌兰察布市"},{cityCode:"152200",cityName:"兴安盟"},{cityCode:"152500",cityName:"锡林郭勒盟"},{cityCode:"152900",cityName:"阿拉善盟"},{cityCode:"210100",cityName:"沈阳市"},{cityCode:"210200",cityName:"大连市"},{cityCode:"210300",cityName:"鞍山市"},{cityCode:"210400",cityName:"抚顺市"},{cityCode:"210500",cityName:"本溪市"},{cityCode:"210600",cityName:"丹东市"},{cityCode:"210700",cityName:"锦州市"},{cityCode:"210800",cityName:"营口市"},{cityCode:"210900",cityName:"阜新市"},{cityCode:"211000",cityName:"辽阳市"},{cityCode:"211100",cityName:"盘锦市"},{cityCode:"211200",cityName:"铁岭市"},{cityCode:"211300",cityName:"朝阳市"},{cityCode:"211400",cityName:"葫芦岛市"},{cityCode:"220100",cityName:"长春市"},{cityCode:"220200",cityName:"吉林市"},{cityCode:"220300",cityName:"四平市"},{cityCode:"220400",cityName:"辽源市"},{cityCode:"220500",cityName:"通化市"},{cityCode:"220600",cityName:"白山市"},{cityCode:"220700",cityName:"松原市"},{cityCode:"220800",cityName:"白城市"},{cityCode:"222400",cityName:"延边朝鲜族自治州"},{cityCode:"230100",cityName:"哈尔滨市"},{cityCode:"230200",cityName:"齐齐哈尔市"},{cityCode:"230300",cityName:"鸡西市"},{cityCode:"230400",cityName:"鹤岗市"},{cityCode:"230500",cityName:"双鸭山市"},{cityCode:"230600",cityName:"大庆市"},{cityCode:"230700",cityName:"伊春市"},{cityCode:"230800",cityName:"佳木斯市"},{cityCode:"230900",cityName:"七台河市"},{cityCode:"231000",cityName:"牡丹江市"},{cityCode:"231100",cityName:"黑河市"},{cityCode:"231200",cityName:"绥化市"},{cityCode:"232700",cityName:"大兴安岭地区"},{cityCode:"310100",cityName:"上海市"},{cityCode:"320100",cityName:"南京市"},{cityCode:"320200",cityName:"无锡市"},{cityCode:"320300",cityName:"徐州市"},{cityCode:"320400",cityName:"常州市"},{cityCode:"320500",cityName:"苏州市"},{cityCode:"320600",cityName:"南通市"},{cityCode:"320700",cityName:"连云港市"},{cityCode:"320800",cityName:"淮安市"},{cityCode:"320900",cityName:"盐城市"},{cityCode:"321000",cityName:"扬州市"},{cityCode:"321100",cityName:"镇江市"},{cityCode:"321200",cityName:"泰州市"},{cityCode:"321300",cityName:"宿迁市"},{cityCode:"330100",cityName:"杭州市"},{cityCode:"330200",cityName:"宁波市"},{cityCode:"330300",cityName:"温州市"},{cityCode:"330400",cityName:"嘉兴市"},{cityCode:"330500",cityName:"湖州市"},{cityCode:"330600",cityName:"绍兴市"},{cityCode:"330700",cityName:"金华市"},{cityCode:"330800",cityName:"衢州市"},{cityCode:"330900",cityName:"舟山市"},{cityCode:"331000",cityName:"台州市"},{cityCode:"331100",cityName:"丽水市"},{cityCode:"340100",cityName:"合肥市"},{cityCode:"340200",cityName:"芜湖市"},{cityCode:"340300",cityName:"蚌埠市"},{cityCode:"340400",cityName:"淮南市"},{cityCode:"340500",cityName:"马鞍山市"},{cityCode:"340600",cityName:"淮北市"},{cityCode:"340700",cityName:"铜陵市"},{cityCode:"340800",cityName:"安庆市"},{cityCode:"341000",cityName:"黄山市"},{cityCode:"341100",cityName:"滁州市"},{cityCode:"341200",cityName:"阜阳市"},{cityCode:"341300",cityName:"宿州市"},{cityCode:"341500",cityName:"六安市"},{cityCode:"341600",cityName:"亳州市"},{cityCode:"341700",cityName:"池州市"},{cityCode:"341800",cityName:"宣城市"},{cityCode:"350100",cityName:"福州市"},{cityCode:"350200",cityName:"厦门市"},{cityCode:"350300",cityName:"莆田市"},{cityCode:"350400",cityName:"三明市"},{cityCode:"350500",cityName:"泉州市"},{cityCode:"350600",cityName:"漳州市"},{cityCode:"350700",cityName:"南平市"},{cityCode:"350800",cityName:"龙岩市"},{cityCode:"350900",cityName:"宁德市"},{cityCode:"360100",cityName:"南昌市"},{cityCode:"360200",cityName:"景德镇市"},{cityCode:"360300",cityName:"萍乡市"},{cityCode:"360400",cityName:"九江市"},{cityCode:"360500",cityName:"新余市"},{cityCode:"360600",cityName:"鹰潭市"},{cityCode:"360700",cityName:"赣州市"},{cityCode:"360800",cityName:"吉安市"},{cityCode:"360900",cityName:"宜春市"},{cityCode:"361000",cityName:"抚州市"},{cityCode:"361100",cityName:"上饶市"},{cityCode:"370100",cityName:"济南市"},{cityCode:"370200",cityName:"青岛市"},{cityCode:"370300",cityName:"淄博市"},{cityCode:"370400",cityName:"枣庄市"},{cityCode:"370500",cityName:"东营市"},{cityCode:"370600",cityName:"烟台市"},{cityCode:"370700",cityName:"潍坊市"},{cityCode:"370800",cityName:"济宁市"},{cityCode:"370900",cityName:"泰安市"},{cityCode:"371000",cityName:"威海市"},{cityCode:"371100",cityName:"日照市"},{cityCode:"371200",cityName:"莱芜市"},{cityCode:"371300",cityName:"临沂市"},{cityCode:"371400",cityName:"德州市"},{cityCode:"371500",cityName:"聊城市"},{cityCode:"371600",cityName:"滨州市"},{cityCode:"371700",cityName:"菏泽市"},{cityCode:"410100",cityName:"郑州市"},{cityCode:"410200",cityName:"开封市"},{cityCode:"410300",cityName:"洛阳市"},{cityCode:"410400",cityName:"平顶山市"},{cityCode:"410500",cityName:"安阳市"},{cityCode:"410600",cityName:"鹤壁市"},{cityCode:"410700",cityName:"新乡市"},{cityCode:"410800",cityName:"焦作市"},{cityCode:"410900",cityName:"濮阳市"},{cityCode:"411000",cityName:"许昌市"},{cityCode:"411100",cityName:"漯河市"},{cityCode:"411200",cityName:"三门峡市"},{cityCode:"411300",cityName:"南阳市"},{cityCode:"411400",cityName:"商丘市"},{cityCode:"411500",cityName:"信阳市"},{cityCode:"411600",cityName:"周口市"},{cityCode:"411700",cityName:"驻马店市"},{cityCode:"419000",cityName:"省直辖县级行政区划"},{cityCode:"420100",cityName:"武汉市"},{cityCode:"420200",cityName:"黄石市"},{cityCode:"420300",cityName:"十堰市"},{cityCode:"420500",cityName:"宜昌市"},{cityCode:"420600",cityName:"襄阳市"},{cityCode:"420700",cityName:"鄂州市"},{cityCode:"420800",cityName:"荆门市"},{cityCode:"420900",cityName:"孝感市"},{cityCode:"421000",cityName:"荆州市"},{cityCode:"421100",cityName:"黄冈市"},{cityCode:"421200",cityName:"咸宁市"},{cityCode:"421300",cityName:"随州市"},{cityCode:"422800",cityName:"恩施土家族苗族自治州"},{cityCode:"429000",cityName:"省直辖县级行政区划"},{cityCode:"430100",cityName:"长沙市"},{cityCode:"430200",cityName:"株洲市"},{cityCode:"430300",cityName:"湘潭市"},{cityCode:"430400",cityName:"衡阳市"},{cityCode:"430500",cityName:"邵阳市"},{cityCode:"430600",cityName:"岳阳市"},{cityCode:"430700",cityName:"常德市"},{cityCode:"430800",cityName:"张家界市"},{cityCode:"430900",cityName:"益阳市"},{cityCode:"431000",cityName:"郴州市"},{cityCode:"431100",cityName:"永州市"},{cityCode:"431200",cityName:"怀化市"},{cityCode:"431300",cityName:"娄底市"},{cityCode:"433100",cityName:"湘西土家族苗族自治州"},{cityCode:"440100",cityName:"广州市"},{cityCode:"440200",cityName:"韶关市"},{cityCode:"440300",cityName:"深圳市"},{cityCode:"440400",cityName:"珠海市"},{cityCode:"440500",cityName:"汕头市"},{cityCode:"440600",cityName:"佛山市"},{cityCode:"440700",cityName:"江门市"},{cityCode:"440800",cityName:"湛江市"},{cityCode:"440900",cityName:"茂名市"},{cityCode:"441200",cityName:"肇庆市"},{cityCode:"441300",cityName:"惠州市"},{cityCode:"441400",cityName:"梅州市"},{cityCode:"441500",cityName:"汕尾市"},{cityCode:"441600",cityName:"河源市"},{cityCode:"441700",cityName:"阳江市"},{cityCode:"441800",cityName:"清远市"},{cityCode:"441900",cityName:"东莞市"},{cityCode:"442000",cityName:"中山市"},{cityCode:"445100",cityName:"潮州市"},{cityCode:"445200",cityName:"揭阳市"},{cityCode:"445300",cityName:"云浮市"},{cityCode:"450100",cityName:"南宁市"},{cityCode:"450200",cityName:"柳州市"},{cityCode:"450300",cityName:"桂林市"},{cityCode:"450400",cityName:"梧州市"},{cityCode:"450500",cityName:"北海市"},{cityCode:"450600",cityName:"防城港市"},{cityCode:"450700",cityName:"钦州市"},{cityCode:"450800",cityName:"贵港市"},{cityCode:"450900",cityName:"玉林市"},{cityCode:"451000",cityName:"百色市"},{cityCode:"451100",cityName:"贺州市"},{cityCode:"451200",cityName:"河池市"},{cityCode:"451300",cityName:"来宾市"},{cityCode:"451400",cityName:"崇左市"},{cityCode:"460100",cityName:"海口市"},{cityCode:"460200",cityName:"三亚市"},{cityCode:"460300",cityName:"三沙市"},{cityCode:"469000",cityName:"省直辖县级行政区划"},{cityCode:"500100",cityName:"重庆"},{cityCode:"510100",cityName:"成都市"},{cityCode:"510300",cityName:"自贡市"},{cityCode:"510400",cityName:"攀枝花市"},{cityCode:"510500",cityName:"泸州市"},{cityCode:"510600",cityName:"德阳市"},{cityCode:"510700",cityName:"绵阳市"},{cityCode:"510800",cityName:"广元市"},{cityCode:"510900",cityName:"遂宁市"},{cityCode:"511000",cityName:"内江市"},{cityCode:"511100",cityName:"乐山市"},{cityCode:"511300",cityName:"南充市"},{cityCode:"511400",cityName:"眉山市"},{cityCode:"511500",cityName:"宜宾市"},{cityCode:"511600",cityName:"广安市"},{cityCode:"511700",cityName:"达州市"},{cityCode:"511800",cityName:"雅安市"},{cityCode:"511900",cityName:"巴中市"},{cityCode:"512000",cityName:"资阳市"},{cityCode:"513200",cityName:"阿坝藏族羌族自治州"},{cityCode:"513300",cityName:"甘孜藏族自治州"},{cityCode:"513400",cityName:"凉山彝族自治州"},{cityCode:"520100",cityName:"贵阳市"},{cityCode:"520200",cityName:"六盘水市"},{cityCode:"520300",cityName:"遵义市"},{cityCode:"520400",cityName:"安顺市"},{cityCode:"520500",cityName:"毕节市"},{cityCode:"520600",cityName:"铜仁市"},{cityCode:"522300",cityName:"黔西南布依族苗族自治州"},{cityCode:"522600",cityName:"黔东南苗族侗族自治州"},{cityCode:"522700",cityName:"黔南布依族苗族自治州"},{cityCode:"530100",cityName:"昆明市"},{cityCode:"530300",cityName:"曲靖市"},{cityCode:"530400",cityName:"玉溪市"},{cityCode:"530500",cityName:"保山市"},{cityCode:"530600",cityName:"昭通市"},{cityCode:"530700",cityName:"丽江市"},{cityCode:"530800",cityName:"普洱市"},{cityCode:"530900",cityName:"临沧市"},{cityCode:"532300",cityName:"楚雄彝族自治州"},{cityCode:"532500",cityName:"红河哈尼族彝族自治州"},{cityCode:"532600",cityName:"文山壮族苗族自治州"},{cityCode:"532800",cityName:"西双版纳傣族自治州"},{cityCode:"532900",cityName:"大理白族自治州"},{cityCode:"533100",cityName:"德宏傣族景颇族自治州"},{cityCode:"533300",cityName:"怒江傈僳族自治州"},{cityCode:"533400",cityName:"迪庆藏族自治州"},{cityCode:"540100",cityName:"拉萨市"},{cityCode:"542100",cityName:"昌都地区"},{cityCode:"542200",cityName:"山南地区"},{cityCode:"542300",cityName:"日喀则地区"},{cityCode:"542400",cityName:"那曲地区"},{cityCode:"542500",cityName:"阿里地区"},{cityCode:"542600",cityName:"林芝地区"},{cityCode:"610100",cityName:"西安市"},{cityCode:"610200",cityName:"铜川市"},{cityCode:"610300",cityName:"宝鸡市"},{cityCode:"610400",cityName:"咸阳市"},{cityCode:"610500",cityName:"渭南市"},{cityCode:"610600",cityName:"延安市"},{cityCode:"610700",cityName:"汉中市"},{cityCode:"610800",cityName:"榆林市"},{cityCode:"610900",cityName:"安康市"},{cityCode:"611000",cityName:"商洛市"},{cityCode:"620100",cityName:"兰州市"},{cityCode:"620200",cityName:"嘉峪关市"},{cityCode:"620300",cityName:"金昌市"},{cityCode:"620400",cityName:"白银市"},{cityCode:"620500",cityName:"天水市"},{cityCode:"620600",cityName:"武威市"},{cityCode:"620700",cityName:"张掖市"},{cityCode:"620800",cityName:"平凉市"},{cityCode:"620900",cityName:"酒泉市"},{cityCode:"621000",cityName:"庆阳市"},{cityCode:"621100",cityName:"定西市"},{cityCode:"621200",cityName:"陇南市"},{cityCode:"622900",cityName:"临夏回族自治州"},{cityCode:"623000",cityName:"甘南藏族自治州"},{cityCode:"630100",cityName:"西宁市"},{cityCode:"630200",cityName:"海东市"},{cityCode:"632200",cityName:"海北藏族自治州"},{cityCode:"632300",cityName:"黄南藏族自治州"},{cityCode:"632500",cityName:"海南藏族自治州"},{cityCode:"632600",cityName:"果洛藏族自治州"},{cityCode:"632700",cityName:"玉树藏族自治州"},{cityCode:"632800",cityName:"海西蒙古族藏族自治州"},{cityCode:"640100",cityName:"银川市"},{cityCode:"640200",cityName:"石嘴山市"},{cityCode:"640300",cityName:"吴忠市"},{cityCode:"640400",cityName:"固原市"},{cityCode:"640500",cityName:"中卫市"},{cityCode:"650100",cityName:"乌鲁木齐市"},{cityCode:"650200",cityName:"克拉玛依市"},{cityCode:"652100",cityName:"吐鲁番地区"},{cityCode:"652200",cityName:"哈密地区"},{cityCode:"652300",cityName:"昌吉回族自治州"},{cityCode:"652700",cityName:"博尔塔拉蒙古自治州"},{cityCode:"652800",cityName:"巴音郭楞蒙古自治州"},{cityCode:"652900",cityName:"阿克苏地区"},{cityCode:"653000",cityName:"克孜勒苏柯尔克孜自治州"},{cityCode:"653100",cityName:"喀什地区"},{cityCode:"653200",cityName:"和田地区"},{cityCode:"654000",cityName:"伊犁哈萨克自治州"},{cityCode:"654200",cityName:"塔城地区"},{cityCode:"654300",cityName:"阿勒泰地区"},{cityCode:"659000",cityName:"自治区直辖县级行政区划"}]},a174:function(e,t,n){"use strict";var r=n("47a9");Object.defineProperty(t,"__esModule",{value:!0}),t.typeFilter=t.type=t.setDataValue=t.realName=t.rawData=t.objSet=t.objGet=t.name2arr=t.isRequiredField=t.isRealName=t.isNumber=t.isEqual=t.isBoolean=t.getValue=t.getDataValueType=t.getDataValue=t.deepCopy=void 0;var o=r(n("3b2d"));t.deepCopy=function(e){return JSON.parse(JSON.stringify(e))};var i=function(e){return"int"===e||"double"===e||"number"===e||"timestamp"===e};t.typeFilter=i;t.getValue=function(e,t,n){var r=n.find((function(e){return e.format&&i(e.format)})),o=n.find((function(e){return e.format&&"boolean"===e.format||"bool"===e.format}));return r&&(t=t||0===t?f(Number(t))?Number(t):t:null),o&&(t=!!d(t)&&t),t};t.setDataValue=function(e,t,n){return t[e]=n,n||""};var a=function(e,t){return l(t,e)};t.getDataValue=a;t.getDataValueType=function(e,t){var n=a(e,t);return{type:p(n),value:n}};t.realName=function(e){var t=u(e);if("object"===(0,o.default)(t)&&Array.isArray(t)&&t.length>1){var n=t.reduce((function(e,t){return e+"#".concat(t)}),"_formdata_");return n}return t[0]||e};t.isRealName=function(e){return/^_formdata_#*/.test(e)};t.rawData=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=JSON.parse(JSON.stringify(e)),n={};for(var r in t){var o=c(r);s(n,o,t[r])}return n};var c=function(e){var t=e.replace("_formdata_#","");return t=t.split("#").map((function(e){return f(e)?Number(e):e})),t};t.name2arr=c;var s=function(e,t,n){return"object"!==(0,o.default)(e)||u(t).reduce((function(e,t,r,o){return r===o.length-1?(e[t]=n,null):(t in e||(e[t]=/^[0-9]{1,}$/.test(o[r+1])?[]:{}),e[t])}),e),e};function u(e){return Array.isArray(e)?e:e.replace(/\[/g,".").replace(/\]/g,"").split(".")}t.objSet=s;var l=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"undefined",r=u(t),o=r.reduce((function(e,t){return(e||{})[t]}),e);return o&&void 0===o?n:o};t.objGet=l;var f=function(e){return!isNaN(Number(e))};t.isNumber=f;var d=function(e){return"boolean"===typeof e};t.isBoolean=d;t.isRequiredField=function(e){for(var t=!1,n=0;n=0;r--){var o=e[r];"."===o?e.splice(r,1):".."===o?(e.splice(r,1),n++):n&&(e.splice(r,1),n--)}if(t)for(;n--;n)e.unshift("..");return e}function r(e,t){if(e.filter)return e.filter(t);for(var n=[],r=0;r=-1&&!o;i--){var a=i>=0?arguments[i]:e.cwd();if("string"!==typeof a)throw new TypeError("Arguments to path.resolve must be strings");a&&(t=a+"/"+t,o="/"===a.charAt(0))}return t=n(r(t.split("/"),(function(e){return!!e})),!o).join("/"),(o?"/":"")+t||"."},t.normalize=function(e){var i=t.isAbsolute(e),a="/"===o(e,-1);return e=n(r(e.split("/"),(function(e){return!!e})),!i).join("/"),e||i||(e="."),e&&a&&(e+="/"),(i?"/":"")+e},t.isAbsolute=function(e){return"/"===e.charAt(0)},t.join=function(){var e=Array.prototype.slice.call(arguments,0);return t.normalize(r(e,(function(e,t){if("string"!==typeof e)throw new TypeError("Arguments to path.join must be strings");return e})).join("/"))},t.relative=function(e,n){function r(e){for(var t=0;t=0;n--)if(""!==e[n])break;return t>n?[]:e.slice(t,n-t+1)}e=t.resolve(e).substr(1),n=t.resolve(n).substr(1);for(var o=r(e.split("/")),i=r(n.split("/")),a=Math.min(o.length,i.length),c=a,s=0;s=1;--i)if(t=e.charCodeAt(i),47===t){if(!o){r=i;break}}else o=!1;return-1===r?n?"/":".":n&&1===r?"/":e.slice(0,r)},t.basename=function(e,t){var n=function(e){"string"!==typeof e&&(e+="");var t,n=0,r=-1,o=!0;for(t=e.length-1;t>=0;--t)if(47===e.charCodeAt(t)){if(!o){n=t+1;break}}else-1===r&&(o=!1,r=t+1);return-1===r?"":e.slice(n,r)}(e);return t&&n.substr(-1*t.length)===t&&(n=n.substr(0,n.length-t.length)),n},t.extname=function(e){"string"!==typeof e&&(e+="");for(var t=-1,n=0,r=-1,o=!0,i=0,a=e.length-1;a>=0;--a){var c=e.charCodeAt(a);if(47!==c)-1===r&&(o=!1,r=a+1),46===c?-1===t?t=a:1!==i&&(i=1):-1!==t&&(i=-1);else if(!o){n=a+1;break}}return-1===t||-1===r||0===i||1===i&&t===r-1&&t===n+1?"":e.slice(t,r)};var o="b"==="ab".substr(-1)?function(e,t,n){return e.substr(t,n)}:function(e,t,n){return t<0&&(t=e.length+t),e.substr(t,n)}}).call(this,n("28d0"))},a495:function(e,t,n){"use strict";(function(e){var r=n("47a9");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o,i,a=r(n("7ca3"));function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var s={props:function(e){for(var t=1;t>2]|=e[c]<>6,l[i++]=128|63&o):o<55296||o>=57344?(l[i++]=224|o>>12,l[i++]=128|o>>6&63,l[i++]=128|63&o):(o=65536+((1023&o)<<10|1023&e.charCodeAt(++c)),l[i++]=240|o>>18,l[i++]=128|o>>12&63,l[i++]=128|o>>6&63,l[i++]=128|63&o);else for(i=this.start;c>2]|=o<>2]|=(192|o>>6)<>2]|=(128|63&o)<=57344?(u[i>>2]|=(224|o>>12)<>2]|=(128|o>>6&63)<>2]|=(128|63&o)<>2]|=(240|o>>18)<>2]|=(128|o>>12&63)<>2]|=(128|o>>6&63)<>2]|=(128|63&o)<=64?(this.start=i-64,this.hash(),this.hashed=!0):this.start=i}return this.bytes>4294967295&&(this.hBytes+=this.bytes/4294967296<<0,this.bytes=this.bytes%4294967296),this}},t.prototype.finalize=function(){if(!this.finalized){this.finalized=!0;var e=this.blocks,t=this.lastByteIndex;e[t>>2]|=u[3&t],t>=56&&(this.hashed||this.hash(),e[0]=e[16],e[16]=e[1]=e[2]=e[3]=e[4]=e[5]=e[6]=e[7]=e[8]=e[9]=e[10]=e[11]=e[12]=e[13]=e[14]=e[15]=0),e[14]=this.bytes<<3,e[15]=this.hBytes<<3|this.bytes>>>29,this.hash()}},t.prototype.hash=function(){var e,t,n,r,o,i,a=this.blocks;this.first?t=((t=((e=((e=a[0]-680876937)<<7|e>>>25)-271733879<<0)^(n=((n=(-271733879^(r=((r=(-1732584194^2004318071&e)+a[1]-117830708)<<12|r>>>20)+e<<0)&(-271733879^e))+a[2]-1126478375)<<17|n>>>15)+r<<0)&(r^e))+a[3]-1316259209)<<22|t>>>10)+n<<0:(e=this.h0,t=this.h1,n=this.h2,t=((t+=((e=((e+=((r=this.h3)^t&(n^r))+a[0]-680876936)<<7|e>>>25)+t<<0)^(n=((n+=(t^(r=((r+=(n^e&(t^n))+a[1]-389564586)<<12|r>>>20)+e<<0)&(e^t))+a[2]+606105819)<<17|n>>>15)+r<<0)&(r^e))+a[3]-1044525330)<<22|t>>>10)+n<<0),t=((t+=((e=((e+=(r^t&(n^r))+a[4]-176418897)<<7|e>>>25)+t<<0)^(n=((n+=(t^(r=((r+=(n^e&(t^n))+a[5]+1200080426)<<12|r>>>20)+e<<0)&(e^t))+a[6]-1473231341)<<17|n>>>15)+r<<0)&(r^e))+a[7]-45705983)<<22|t>>>10)+n<<0,t=((t+=((e=((e+=(r^t&(n^r))+a[8]+1770035416)<<7|e>>>25)+t<<0)^(n=((n+=(t^(r=((r+=(n^e&(t^n))+a[9]-1958414417)<<12|r>>>20)+e<<0)&(e^t))+a[10]-42063)<<17|n>>>15)+r<<0)&(r^e))+a[11]-1990404162)<<22|t>>>10)+n<<0,t=((t+=((e=((e+=(r^t&(n^r))+a[12]+1804603682)<<7|e>>>25)+t<<0)^(n=((n+=(t^(r=((r+=(n^e&(t^n))+a[13]-40341101)<<12|r>>>20)+e<<0)&(e^t))+a[14]-1502002290)<<17|n>>>15)+r<<0)&(r^e))+a[15]+1236535329)<<22|t>>>10)+n<<0,t=((t+=((r=((r+=(t^n&((e=((e+=(n^r&(t^n))+a[1]-165796510)<<5|e>>>27)+t<<0)^t))+a[6]-1069501632)<<9|r>>>23)+e<<0)^e&((n=((n+=(e^t&(r^e))+a[11]+643717713)<<14|n>>>18)+r<<0)^r))+a[0]-373897302)<<20|t>>>12)+n<<0,t=((t+=((r=((r+=(t^n&((e=((e+=(n^r&(t^n))+a[5]-701558691)<<5|e>>>27)+t<<0)^t))+a[10]+38016083)<<9|r>>>23)+e<<0)^e&((n=((n+=(e^t&(r^e))+a[15]-660478335)<<14|n>>>18)+r<<0)^r))+a[4]-405537848)<<20|t>>>12)+n<<0,t=((t+=((r=((r+=(t^n&((e=((e+=(n^r&(t^n))+a[9]+568446438)<<5|e>>>27)+t<<0)^t))+a[14]-1019803690)<<9|r>>>23)+e<<0)^e&((n=((n+=(e^t&(r^e))+a[3]-187363961)<<14|n>>>18)+r<<0)^r))+a[8]+1163531501)<<20|t>>>12)+n<<0,t=((t+=((r=((r+=(t^n&((e=((e+=(n^r&(t^n))+a[13]-1444681467)<<5|e>>>27)+t<<0)^t))+a[2]-51403784)<<9|r>>>23)+e<<0)^e&((n=((n+=(e^t&(r^e))+a[7]+1735328473)<<14|n>>>18)+r<<0)^r))+a[12]-1926607734)<<20|t>>>12)+n<<0,t=((t+=((i=(r=((r+=((o=t^n)^(e=((e+=(o^r)+a[5]-378558)<<4|e>>>28)+t<<0))+a[8]-2022574463)<<11|r>>>21)+e<<0)^e)^(n=((n+=(i^t)+a[11]+1839030562)<<16|n>>>16)+r<<0))+a[14]-35309556)<<23|t>>>9)+n<<0,t=((t+=((i=(r=((r+=((o=t^n)^(e=((e+=(o^r)+a[1]-1530992060)<<4|e>>>28)+t<<0))+a[4]+1272893353)<<11|r>>>21)+e<<0)^e)^(n=((n+=(i^t)+a[7]-155497632)<<16|n>>>16)+r<<0))+a[10]-1094730640)<<23|t>>>9)+n<<0,t=((t+=((i=(r=((r+=((o=t^n)^(e=((e+=(o^r)+a[13]+681279174)<<4|e>>>28)+t<<0))+a[0]-358537222)<<11|r>>>21)+e<<0)^e)^(n=((n+=(i^t)+a[3]-722521979)<<16|n>>>16)+r<<0))+a[6]+76029189)<<23|t>>>9)+n<<0,t=((t+=((i=(r=((r+=((o=t^n)^(e=((e+=(o^r)+a[9]-640364487)<<4|e>>>28)+t<<0))+a[12]-421815835)<<11|r>>>21)+e<<0)^e)^(n=((n+=(i^t)+a[15]+530742520)<<16|n>>>16)+r<<0))+a[2]-995338651)<<23|t>>>9)+n<<0,t=((t+=((r=((r+=(t^((e=((e+=(n^(t|~r))+a[0]-198630844)<<6|e>>>26)+t<<0)|~n))+a[7]+1126891415)<<10|r>>>22)+e<<0)^((n=((n+=(e^(r|~t))+a[14]-1416354905)<<15|n>>>17)+r<<0)|~e))+a[5]-57434055)<<21|t>>>11)+n<<0,t=((t+=((r=((r+=(t^((e=((e+=(n^(t|~r))+a[12]+1700485571)<<6|e>>>26)+t<<0)|~n))+a[3]-1894986606)<<10|r>>>22)+e<<0)^((n=((n+=(e^(r|~t))+a[10]-1051523)<<15|n>>>17)+r<<0)|~e))+a[1]-2054922799)<<21|t>>>11)+n<<0,t=((t+=((r=((r+=(t^((e=((e+=(n^(t|~r))+a[8]+1873313359)<<6|e>>>26)+t<<0)|~n))+a[15]-30611744)<<10|r>>>22)+e<<0)^((n=((n+=(e^(r|~t))+a[6]-1560198380)<<15|n>>>17)+r<<0)|~e))+a[13]+1309151649)<<21|t>>>11)+n<<0,t=((t+=((r=((r+=(t^((e=((e+=(n^(t|~r))+a[4]-145523070)<<6|e>>>26)+t<<0)|~n))+a[11]-1120210379)<<10|r>>>22)+e<<0)^((n=((n+=(e^(r|~t))+a[2]+718787259)<<15|n>>>17)+r<<0)|~e))+a[9]-343485551)<<21|t>>>11)+n<<0,this.first?(this.h0=e+1732584193<<0,this.h1=t-271733879<<0,this.h2=n-1732584194<<0,this.h3=r+271733878<<0,this.first=!1):(this.h0=this.h0+e<<0,this.h1=this.h1+t<<0,this.h2=this.h2+n<<0,this.h3=this.h3+r<<0)},t.prototype.hex=function(){this.finalize();var e=this.h0,t=this.h1,r=this.h2,o=this.h3;return n[e>>4&15]+n[15&e]+n[e>>12&15]+n[e>>8&15]+n[e>>20&15]+n[e>>16&15]+n[e>>28&15]+n[e>>24&15]+n[t>>4&15]+n[15&t]+n[t>>12&15]+n[t>>8&15]+n[t>>20&15]+n[t>>16&15]+n[t>>28&15]+n[t>>24&15]+n[r>>4&15]+n[15&r]+n[r>>12&15]+n[r>>8&15]+n[r>>20&15]+n[r>>16&15]+n[r>>28&15]+n[r>>24&15]+n[o>>4&15]+n[15&o]+n[o>>12&15]+n[o>>8&15]+n[o>>20&15]+n[o>>16&15]+n[o>>28&15]+n[o>>24&15]},t.prototype.toString=t.prototype.hex,t.prototype.digest=function(){this.finalize();var e=this.h0,t=this.h1,n=this.h2,r=this.h3;return[255&e,e>>8&255,e>>16&255,e>>24&255,255&t,t>>8&255,t>>16&255,t>>24&255,255&n,n>>8&255,n>>16&255,n>>24&255,255&r,r>>8&255,r>>16&255,r>>24&255]},t.prototype.array=t.prototype.digest,t.prototype.arrayBuffer=function(){this.finalize();var e=new ArrayBuffer(16),t=new Uint32Array(e);return t[0]=this.h0,t[1]=this.h1,t[2]=this.h2,t[3]=this.h3,e},t.prototype.buffer=t.prototype.arrayBuffer,t.prototype.base64=function(){for(var e,t,n,r="",o=this.array(),i=0;i<15;)e=o[i++],t=o[i++],n=o[i++],r+=p[e>>>2]+p[63&(e<<4|t>>>4)]+p[63&(t<<2|n>>>6)]+p[63&n];return e=o[i],r+(p[e>>>2]+p[e<<4&63]+"==")};var _=v();f?module.exports=_:(i.md5=_,o&&(__WEBPACK_AMD_DEFINE_RESULT__=function(){return _}.call(exports,__webpack_require__,exports,module),void 0===__WEBPACK_AMD_DEFINE_RESULT__||(module.exports=__WEBPACK_AMD_DEFINE_RESULT__)))}()}).call(this,__webpack_require__("28d0"),__webpack_require__("0ee4"),__webpack_require__("dc84")(module))},a861:function(e,t,n){"use strict";(function(e){var r=n("47a9");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o,i,a=r(n("7ca3"));function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var s={props:function(e){for(var t=1;t=i[1])return s(h,u);var v=p.later;y<0&&(v=p.ago,y=-y);var m=Math.floor(y/1e3),b=Math.floor(m/60),S=Math.floor(b/60),x=Math.floor(S/24),C=Math.floor(x/30),_=Math.floor(C/12);switch(!0){case _>0:l=_,f=p.year;break;case C>0:l=C,f=p.month;break;case x>0:l=x,f=p.day;break;case S>0:l=S,f=p.hour;break;case b>0:l=b,f=p.minute;break;default:l=m,f=p.second;break}"en"===r&&(1===l?l="a":f+="s");return p.template.replace(/{\s*num\s*}/g,l+"").replace(/{\s*unit\s*}/g,f).replace(/{\s*suffix\s*}/g,v)};var o=r(n("3b2d"));function i(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2;e+="";while(e.length-1?new Date(e):new Date(e.replace(/-/g,"/"));default:return new Date(e)}}function s(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"yyyy/MM/dd hh:mm:ss";if(!e&&0!==e)return"";e=c(e);var n={year:e.getFullYear(),month:e.getMonth()+1,day:e.getDate(),hour:e.getHours(),minute:e.getMinutes(),second:e.getSeconds(),millisecond:e.getMilliseconds()},r=/yyyy|yy|MM|M|dd|d|hh|h|mm|m|ss|s|SSS|SS|S/,o=!0,i=t;while(o)o=!1,i=i.replace(r,(function(e){return o=!0,a[e](n)}));return i}},aa26:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.bindProjectDetail=function(e){return(0,r.request)({url:"/manager/bindProject/list",method:"post",data:e})},t.getOrganizationDetailById=function(e){return(0,r.request)({url:"/manager/base/organization/".concat(e),method:"get"})},t.getPartList=function(e,t){return(0,r.request)({url:"/manager/role/".concat(e,"/").concat(t),method:"get"})},t.getSealList=function(e){return(0,r.request)({url:"/file/seal/".concat(e),method:"get"})},t.getUserListByPart=function(e){return(0,r.request)({url:"/manager/user/list/".concat(e.organizationId,"/").concat(e.partId),method:"post"})},t.requestSeal=function(e){return(0,r.request)({url:"/file/sealRequest",method:"post",data:e})},t.selectOrangaized=function(e){return(0,r.request)({url:"/manager/userContext/organization",method:"post",data:e})};var r=n("8cf7")},af34:function(e,t,n){var r=n("a708"),o=n("b893"),i=n("6382"),a=n("9008");e.exports=function(e){return r(e)||o(e)||i(e)||a()},e.exports.__esModule=!0,e.exports["default"]=e.exports},af3d:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("c4a0");Object.keys(r).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===r[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return r[e]}}))}))},b23c:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isArray=function(e){if("undefined"===typeof Array.isArray)return"[object Array]"===Object.prototype.toString.call(e);return Array.isArray(e)},t.isExternal=function(e){return/^(https?:|mailto:|tel:)/.test(e)},t.isString=function(e){if("string"===typeof e||e instanceof String)return!0;return!1},t.isTel=function(e){return/^1[1-9]\d{9}$/.test(e)},t.validAlphabets=function(e){return/^[A-Za-z]+$/.test(e)},t.validEmail=function(e){return/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(e)},t.validLowerCase=function(e){return/^[a-z]+$/.test(e)},t.validURL=function(e){return/^(https?|ftp):\/\/([a-zA-Z0-9.-]+(:[a-zA-Z0-9.&%$-]+)*@)*((25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]?)(\.(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9]?[0-9])){3}|([a-zA-Z0-9-]+\.)*[a-zA-Z0-9-]+\.(com|edu|gov|int|mil|net|org|biz|arpa|info|name|pro|aero|coop|museum|[a-zA-Z]{2}))(:[0-9]+)*(\/($|[a-zA-Z0-9.,?'\\+&%$#=~_-]+))*$/.test(e)},t.validUpperCase=function(e){return/^[A-Z]+$/.test(e)},t.validUsername=function(e){return["admin","editor"].indexOf(e.trim())>=0}},b4d2:function(e,t){function n(t){return e.exports=n=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},e.exports.__esModule=!0,e.exports["default"]=e.exports,n(t)}e.exports=n,e.exports.__esModule=!0,e.exports["default"]=e.exports},b893:function(e,t){e.exports=function(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)},e.exports.__esModule=!0,e.exports["default"]=e.exports},be3d:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={options:{virtualHost:!0}}},c38b:function(e,t,n){"use strict";(function(e,r){var o=n("47a9");Object.defineProperty(t,"__esModule",{value:!0}),t.chooseFile=function(t){var n=t.accept,o=t.multiple,i=t.capture,a=t.compressed,l=t.maxDuration,f=t.sizeType,d=t.camera,p=t.maxCount;return new Promise((function(t,h){switch(n){case"image":e.chooseImage({count:o?Math.min(p,9):1,sourceType:i,sizeType:f,success:function(e){return t(function(e){return e.tempFiles.map((function(e){return c(c({},s(e,["path"])),{},{type:"image",url:e.path,thumb:e.path,size:e.size})}))}(e))},fail:h});break;case"media":r.chooseMedia({count:o?Math.min(p,9):1,sourceType:i,maxDuration:l,sizeType:f,camera:d,success:function(e){return t(function(e){return e.tempFiles.map((function(t){return c(c({},s(t,["fileType","thumbTempFilePath","tempFilePath"])),{},{type:e.type,url:t.tempFilePath,thumb:"video"===e.type?t.thumbTempFilePath:t.tempFilePath,size:t.size})}))}(e))},fail:h});break;case"video":e.chooseVideo({sourceType:i,compressed:a,maxDuration:l,camera:d,success:function(e){return t(function(e){return[c(c({},s(e,["tempFilePath","thumbTempFilePath","errMsg"])),{},{type:"video",url:e.tempFilePath,thumb:e.thumbTempFilePath,size:e.size})]}(e))},fail:h});break;case"file":r.chooseMessageFile({count:o?p:1,type:n,success:function(e){return t(u(e))},fail:h});break;default:r.chooseMessageFile({count:o?p:1,type:"all",success:function(e){return t(u(e))},fail:h})}}))};var i=o(n("7ca3"));function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function c(e){for(var t=1;t=t?e:""+Array(t+1-r.length).join(n)+e},m={s:v,z:function(e){var t=-e.utcOffset(),n=Math.abs(t),r=Math.floor(n/60),o=n%60;return(t<=0?"+":"-")+v(r,2,"0")+":"+v(o,2,"0")},m:function e(t,n){if(t.date()1)return e(a[0])}else{var c=t.name;S[c]=t,o=c}return!r&&o&&(b=o),o||!r&&b},_=function(e,t){if(x(e))return e.clone();var n="object"==(0,a.default)(t)?t:{};return n.date=e,n.args=arguments,new P(n)},L=m;L.l=C,L.i=x,L.w=function(e,t){return _(e,{locale:t.$L,utc:t.$u,x:t.$x,$offset:t.$offset})};var P=function(){function a(e){this.$L=C(e.locale,null,!0),this.parse(e)}var g=a.prototype;return g.parse=function(e){this.$d=function(e){var t=e.date,n=e.utc;if(null===t)return new Date(NaN);if(L.u(t))return new Date;if(t instanceof Date)return new Date(t);if("string"==typeof t&&!/Z$/i.test(t)){var r=t.match(h);if(r){var o=r[2]-1||0,i=(r[7]||"0").substring(0,3);return n?new Date(Date.UTC(r[1],o,r[3]||1,r[4]||0,r[5]||0,r[6]||0,i)):new Date(r[1],o,r[3]||1,r[4]||0,r[5]||0,r[6]||0,i)}}return new Date(t)}(e),this.$x=e.x||{},this.init()},g.init=function(){var e=this.$d;this.$y=e.getFullYear(),this.$M=e.getMonth(),this.$D=e.getDate(),this.$W=e.getDay(),this.$H=e.getHours(),this.$m=e.getMinutes(),this.$s=e.getSeconds(),this.$ms=e.getMilliseconds()},g.$utils=function(){return L},g.isValid=function(){return!(this.$d.toString()===p)},g.isSame=function(e,t){var n=_(e);return this.startOf(t)<=n&&n<=this.endOf(t)},g.isAfter=function(e,t){return _(e)t)return"horizontal";if(t>e)return"vertical";return""}(i.value,a.value)),s.value&&(i.value>5||a.value>5)&&(s.value=!1)},startX:e,startY:t,deltaX:n,deltaY:o,offsetX:i,offsetY:a,direction:c,isVertical:function(){return"vertical"===c.value},isHorizontal:function(){return"horizontal"===c.value},isTap:s}};var r=n("af3d")},d3b4:function(e,t,n){"use strict";(function(e,r){var o=n("47a9");Object.defineProperty(t,"__esModule",{value:!0}),t.LOCALE_ZH_HANT=t.LOCALE_ZH_HANS=t.LOCALE_FR=t.LOCALE_ES=t.LOCALE_EN=t.I18n=t.Formatter=void 0,t.compileI18nJsonStr=function(e,t){var n=t.locale,r=t.locales,o=t.delimiters;if(!P(e,o))return e;_||(_=new f);var i=[];Object.keys(r).forEach((function(e){e!==n&&i.push({locale:e,values:r[e]})})),i.unshift({locale:n,values:r[n]});try{return JSON.stringify(T(JSON.parse(e),i,o),null,2)}catch(a){}return e},t.hasI18nJson=function e(t,n){_||(_=new f);return M(t,(function(t,r){var o=t[r];return L(o)?!!P(o,n)||void 0:e(o,n)}))},t.initVueI18n=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0,r=arguments.length>3?arguments[3]:void 0;if("string"!==typeof e){var o=[t,e];e=o[0],t=o[1]}"string"!==typeof e&&(e=C());"string"!==typeof n&&(n="undefined"!==typeof __uniConfig&&__uniConfig.fallbackLocale||"en");var i=new S({locale:e,fallbackLocale:n,messages:t,watcher:r}),a=function(e,t){if("function"!==typeof getApp)a=function(e,t){return i.t(e,t)};else{var n=!1;a=function(e,t){var r=getApp().$vm;return r&&(r.$locale,n||(n=!0,x(r,i))),i.t(e,t)}}return a(e,t)};return{i18n:i,f:function(e,t,n){return i.f(e,t,n)},t:function(e,t){return a(e,t)},add:function(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return i.add(e,t,n)},watch:function(e){return i.watchLocale(e)},getLocale:function(){return i.getLocale()},setLocale:function(e){return i.setLocale(e)}}},t.isI18nStr=P,t.isString=void 0,t.normalizeLocale=b,t.parseI18nJson=function e(t,n,r){_||(_=new f);return M(t,(function(t,o){var i=t[o];L(i)?P(i,r)&&(t[o]=Y(i,n,r)):e(i,n,r)})),t},t.resolveLocale=function(e){return function(t){return t?(t=b(t)||t,function(e){var t=[],n=e.split("-");while(n.length)t.push(n.join("-")),n.pop();return t}(t).find((function(t){return e.indexOf(t)>-1}))):t}};var i=o(n("34cf")),a=o(n("67ad")),c=o(n("0bdb")),s=o(n("3b2d")),u=function(e){return null!==e&&"object"===(0,s.default)(e)},l=["{","}"],f=function(){function e(){(0,a.default)(this,e),this._caches=Object.create(null)}return(0,c.default)(e,[{key:"interpolate",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:l;if(!t)return[e];var r=this._caches[e];return r||(r=h(e,n),this._caches[e]=r),y(r,t)}}]),e}();t.Formatter=f;var d=/^(?:\d)+/,p=/^(?:\w)+/;function h(e,t){var n=(0,i.default)(t,2),r=n[0],o=n[1],a=[],c=0,s="";while(c-1?"zh-Hans":e.indexOf("-hant")>-1||function(e,t){return!!t.find((function(t){return-1!==e.indexOf(t)}))}(e,["-tw","-hk","-mo","-cht"])?"zh-Hant":"zh-Hans";var n=["en","fr","es"];t&&Object.keys(t).length>0&&(n=Object.keys(t));var r=function(e,t){return t.find((function(t){return 0===e.indexOf(t)}))}(e,n);return r||void 0}}var S=function(){function e(t){var n=t.locale,r=t.fallbackLocale,o=t.messages,i=t.watcher,c=t.formater;(0,a.default)(this,e),this.locale="en",this.fallbackLocale="en",this.message={},this.messages={},this.watchers=[],r&&(this.fallbackLocale=r),this.formater=c||m,this.messages=o||{},this.setLocale(n||"en"),i&&this.watchLocale(i)}return(0,c.default)(e,[{key:"setLocale",value:function(e){var t=this,n=this.locale;this.locale=b(e,this.messages)||this.fallbackLocale,this.messages[this.locale]||(this.messages[this.locale]={}),this.message=this.messages[this.locale],n!==this.locale&&this.watchers.forEach((function(e){e(t.locale,n)}))}},{key:"getLocale",value:function(){return this.locale}},{key:"watchLocale",value:function(e){var t=this,n=this.watchers.push(e)-1;return function(){t.watchers.splice(n,1)}}},{key:"add",value:function(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],r=this.messages[e];r?n?Object.assign(r,t):Object.keys(t).forEach((function(e){v(r,e)||(r[e]=t[e])})):this.messages[e]=t}},{key:"f",value:function(e,t,n){return this.formater.interpolate(e,t,n).join("")}},{key:"t",value:function(e,t,n){var r=this.message;return"string"===typeof t?(t=b(t,this.messages),t&&(r=this.messages[t])):n=t,v(r,e)?this.formater.interpolate(r[e],n).join(""):(console.warn("Cannot translate the value of keypath ".concat(e,". Use the value of keypath as default.")),e)}}]),e}();function x(e,t){e.$watchLocale?e.$watchLocale((function(e){t.setLocale(e)})):e.$watch((function(){return e.$locale}),(function(e){t.setLocale(e)}))}function C(){return"undefined"!==typeof e&&e.getLocale?e.getLocale():"undefined"!==typeof r&&r.getLocale?r.getLocale():"en"}t.I18n=S;var _,L=function(e){return"string"===typeof e};function P(e,t){return e.indexOf(t[0])>-1}function Y(e,t,n){return _.interpolate(e,t,n).join("")}function T(e,t,n){return M(e,(function(e,r){(function(e,t,n,r){var o=e[t];if(L(o)){if(P(o,r)&&(e[t]=Y(o,n[0].values,r),n.length>1)){var i=e[t+"Locales"]={};n.forEach((function(e){i[e.locale]=Y(o,e.values,r)}))}}else T(o,n,r)})(e,r,t,n)})),e}function M(e,t){if(Array.isArray(e)){for(var n=0;n>16&255):64===r?String.fromCharCode(t>>16&255,t>>8&255):String.fromCharCode(t>>16&255,t>>8&255,255&t);return o}:atob;var m=Object.prototype.toString,b=Object.prototype.hasOwnProperty;function S(e){return"function"===typeof e}function x(e){return"string"===typeof e}function C(e){return"[object Object]"===m.call(e)}function _(e,t){return b.call(e,t)}function L(){}function P(e){var t=Object.create(null);return function(n){var r=t[n];return r||(t[n]=e(n))}}var Y=/-(\w)/g,T=P((function(e){return e.replace(Y,(function(e,t){return t?t.toUpperCase():""}))}));function M(e){var t={};return C(e)&&Object.keys(e).sort().forEach((function(n){t[n]=e[n]})),Object.keys(t)?t:e}var D=["invoke","success","fail","complete","returnValue"],Z={},w={};function O(e,t){Object.keys(t).forEach((function(n){-1!==D.indexOf(n)&&S(t[n])&&(e[n]=function(e,t){var n=t?e?e.concat(t):Array.isArray(t)?t:[t]:e;return n?function(e){for(var t=[],n=0;n1&&void 0!==arguments[1]?arguments[1]:{};return["success","fail","complete"].forEach((function(n){if(Array.isArray(e[n])){var r=t[n];t[n]=function(o){R(e[n],o,t).then((function(e){return S(r)&&r(e)||e}))}}})),t}function J(e,t){var n=[];Array.isArray(Z.returnValue)&&n.push.apply(n,(0,u.default)(Z.returnValue));var r=w[e];return r&&Array.isArray(r.returnValue)&&n.push.apply(n,(0,u.default)(r.returnValue)),n.forEach((function(e){t=e(t)||t})),t}function H(e){var t=Object.create(null);Object.keys(Z).forEach((function(e){"returnValue"!==e&&(t[e]=Z[e].slice())}));var n=w[e];return n&&Object.keys(n).forEach((function(e){"returnValue"!==e&&(t[e]=(t[e]||[]).concat(n[e]))})),t}function B(e,t,n){for(var r=arguments.length,o=new Array(r>3?r-3:0),i=3;i0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length,o=new Array(r>1?r-1:0),i=1;i-1?"zh-Hans":e.indexOf("-hant")>-1||function(e,t){return!!t.find((function(t){return-1!==e.indexOf(t)}))}(e,["-tw","-hk","-mo","-cht"])?"zh-Hant":"zh-Hans";var n=function(e,t){return t.find((function(t){return 0===e.indexOf(t)}))}(e,["en","fr","es"]);return n||void 0}}function ce(){if(S(getApp)){var t=getApp({allowDefault:!0});if(t&&t.$vm)return t.$vm.$locale}return ae(e.getAppBaseInfo().language)||"en"}var se=[];"undefined"!==typeof r&&(r.getLocale=ce);var ue={promiseInterceptor:k},le=Object.freeze({__proto__:null,upx2px:te,rpx2px:te,getLocale:ce,setLocale:function(e){var t=!!S(getApp)&&getApp();if(!t)return!1;var n=t.$vm.$locale;return n!==e&&(t.$vm.$locale=e,se.forEach((function(t){return t({locale:e})})),!0)},onLocaleChange:function(e){-1===se.indexOf(e)&&se.push(e)},addInterceptor:function(e,t){"string"===typeof e&&C(t)?O(w[e]||(w[e]={}),t):C(e)&&O(Z,e)},removeInterceptor:function(e,t){"string"===typeof e?C(t)?A(w[e],t):delete w[e]:C(e)&&A(Z,e)},interceptors:ue});var fe,de={name:function(e){return"back"===e.exists&&e.delta?"navigateBack":"redirectTo"},args:function(e){if("back"===e.exists&&e.url){var t=function(e){var t=getCurrentPages(),n=t.length;while(n--){var r=t[n];if(r.$page&&r.$page.fullPath===e)return n}return-1}(e.url);if(-1!==t){var n=getCurrentPages().length-1-t;n>0&&(e.delta=n)}}}},pe={args:function(e){var t=parseInt(e.current);if(!isNaN(t)){var n=e.urls;if(Array.isArray(n)){var r=n.length;if(r)return t<0?t=0:t>=r&&(t=r-1),t>0?(e.current=n[t],e.urls=n.filter((function(e,r){return!(r2&&void 0!==arguments[2]?arguments[2]:{},r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(C(t)){var i=!0===o?t:{};for(var a in S(n)&&(n=n(t,i)||{}),t)if(_(n,a)){var c=n[a];S(c)&&(c=c(t[a],t,i)),c?x(c)?i[c]=t[a]:C(c)&&(i[c.name?c.name:a]=c.value):console.warn("The '".concat(e,"' method of platform '微信小程序' does not support option '").concat(a,"'"))}else-1!==Ye.indexOf(a)?S(t[a])&&(i[a]=Te(e,t[a],r)):o||(i[a]=t[a]);return i}return S(t)&&(t=Te(e,t,r)),t}function De(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return S(Pe.returnValue)&&(t=Pe.returnValue(e,t)),Me(e,t,n,{},r)}function Ze(t,n){if(_(Pe,t)){var r=Pe[t];return r?function(n,o){var i=r;S(r)&&(i=r(n)),n=Me(t,n,i.args,i.returnValue);var a=[n];"undefined"!==typeof o&&a.push(o),S(i.name)?t=i.name(n):x(i.name)&&(t=i.name);var c=e[t].apply(e,a);return $(t)?De(t,c,i.returnValue,W(t)):c}:function(){console.error("Platform '微信小程序' does not support '".concat(t,"'."))}}return n}var we=Object.create(null);["onTabBarMidButtonTap","subscribePush","unsubscribePush","onPush","offPush","share"].forEach((function(e){we[e]=function(e){return function(t){var n=t.fail,r=t.complete,o={errMsg:"".concat(e,":fail method '").concat(e,"' not supported")};S(n)&&n(o),S(r)&&r(o)}}(e)}));var Oe={oauth:["weixin"],share:["weixin"],payment:["wxpay"],push:["weixin"]};var Ae=Object.freeze({__proto__:null,getProvider:function(e){var t=e.service,n=e.success,r=e.fail,o=e.complete,i=!1;Oe[t]?(i={errMsg:"getProvider:ok",service:t,provider:Oe[t]},S(n)&&n(i)):(i={errMsg:"getProvider:fail service not found"},S(r)&&r(i)),S(o)&&o(i)}}),Xe=function(){var e;return function(){return e||(e=new d.default),e}}();function Ne(e,t,n){return e[t].apply(e,n)}var Re,Ee,Je,He=Object.freeze({__proto__:null,$on:function(){return Ne(Xe(),"$on",Array.prototype.slice.call(arguments))},$off:function(){return Ne(Xe(),"$off",Array.prototype.slice.call(arguments))},$once:function(){return Ne(Xe(),"$once",Array.prototype.slice.call(arguments))},$emit:function(){return Ne(Xe(),"$emit",Array.prototype.slice.call(arguments))}});function Be(e){return function(){try{return e.apply(e,arguments)}catch(t){console.error(t)}}}function ke(e){try{return JSON.parse(e)}catch(t){}return e}var Fe=[];function Ie(e,t){Fe.forEach((function(n){n(e,t)})),Fe.length=0}var Ge=[],Qe=e.getAppBaseInfo&&e.getAppBaseInfo();Qe||(Qe=e.getSystemInfoSync());var je=Qe?Qe.host:null,We=je&&"SAAASDK"===je.env?e.miniapp.shareVideoMessage:e.shareVideoMessage,$e=Object.freeze({__proto__:null,shareVideoMessage:We,getPushClientId:function(e){C(e)||(e={});var t=function(e){var t={};for(var n in e){var r=e[n];S(r)&&(t[n]=Be(r),delete e[n])}return t}(e),n=t.success,r=t.fail,o=t.complete,i=S(n),a=S(r),c=S(o);Promise.resolve().then((function(){"undefined"===typeof Je&&(Je=!1,Re="",Ee="uniPush is not enabled"),Fe.push((function(e,t){var s;e?(s={errMsg:"getPushClientId:ok",cid:e},i&&n(s)):(s={errMsg:"getPushClientId:fail"+(t?" "+t:"")},a&&r(s)),c&&o(s)})),"undefined"!==typeof Re&&Ie(Re,Ee)}))},onPushMessage:function(e){-1===Ge.indexOf(e)&&Ge.push(e)},offPushMessage:function(e){if(e){var t=Ge.indexOf(e);t>-1&&Ge.splice(t,1)}else Ge.length=0},invokePushCallback:function(e){if("enabled"===e.type)Je=!0;else if("clientId"===e.type)Re=e.cid,Ee=e.errMsg,Ie(Re,e.errMsg);else if("pushMsg"===e.type)for(var t={type:"receive",data:ke(e.message)},n=0;n=0;i--){var a=o[i];if(a.$scope._$vueId===n)return a}for(var c=o.length-1;c>=0;c--)if(r=e(o[c],n),r)return r}(this.$vm,r)),t||(t=this.$vm),o.parent=t}function tt(e){return Object.defineProperty(e,"__v_isMPComponent",{configurable:!0,enumerable:!1,value:!0}),e}function nt(e){return function(e){return null!==e&&"object"===(0,l.default)(e)}(e)&&Object.isExtensible(e)&&Object.defineProperty(e,"__ob__",{configurable:!0,enumerable:!1,value:(0,c.default)({},"__v_skip",!0)}),e}var rt=/_(.*)_worklet_factory_/;var ot=Page,it=Component,at=/:/g,ct=P((function(e){return T(e.replace(at,"-"))}));function st(e){var t=e.triggerEvent,n=function(e){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o0&&void 0!==arguments[0]?arguments[0]:{};return ut("onLoad",e),ot(e)},Page.after=ot.after,Component=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return ut("created",e),it(e)});function lt(e,t,n){t.forEach((function(t){(function e(t,n){if(!n)return!0;if(d.default.options&&Array.isArray(d.default.options[t]))return!0;if(n=n.default||n,S(n))return!!S(n.extendOptions[t])||!!(n.super&&n.super.options&&Array.isArray(n.super.options[t]));if(S(n[t])||Array.isArray(n[t]))return!0;var r=n.mixins;return Array.isArray(r)?!!r.find((function(n){return e(t,n)})):void 0})(t,n)&&(e[t]=function(e){return this.$vm&&this.$vm.__call_hook(t,e)})}))}function ft(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];dt(t).forEach((function(t){return pt(e,t,n)}))}function dt(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return e&&Object.keys(e).forEach((function(n){0===n.indexOf("on")&&S(e[n])&&t.push(n)})),t}function pt(e,t,n){-1!==n.indexOf(t)||_(e,t)||(e[t]=function(e){return this.$vm&&this.$vm.__call_hook(t,e)})}function ht(e,t){var n;return t=t.default||t,n=S(t)?t:e.extend(t),t=n.options,[n,t]}function yt(e,t){if(Array.isArray(t)&&t.length){var n=Object.create(null);t.forEach((function(e){n[e]=!0})),e.$scopedSlots=e.$slots=n}}function gt(e,t){e=(e||"").split(",");var n=e.length;1===n?t._$vueId=e[0]:2===n&&(t._$vueId=e[0],t._$vuePid=e[1])}function vt(e,t){var n=e.data||{},r=e.methods||{};if("function"===typeof n)try{n=n.call(t)}catch(o){Object({NODE_ENV:"production",VUE_APP_DARK_MODE:"false",VUE_APP_NAME:"yui_wx",VUE_APP_PLATFORM:"mp-weixin",BASE_URL:"/"}).VUE_APP_DEBUG&&console.warn("根据 Vue 的 data 函数初始化小程序 data 失败,请尽量确保 data 函数中不访问 vm 对象,否则可能影响首次数据渲染速度。",n)}else try{n=JSON.parse(JSON.stringify(n))}catch(o){}return C(n)||(n={}),Object.keys(r).forEach((function(e){-1!==t.__lifecycle_hooks__.indexOf(e)||_(n,e)||(n[e]=r[e])})),n}var mt=[String,Number,Boolean,Object,Array,null];function bt(e){return function(t,n){this.$vm&&(this.$vm[e]=t)}}function St(e,t){var n=e.behaviors,r=e.extends,o=e.mixins,i=e.props;i||(e.props=i=[]);var a=[];return Array.isArray(n)&&n.forEach((function(e){a.push(e.replace("uni://","wx".concat("://"))),"uni://form-field"===e&&(Array.isArray(i)?(i.push("name"),i.push("value")):(i.name={type:String,default:""},i.value={type:[String,Number,Boolean,Array,Object,Date],default:""}))})),C(r)&&r.props&&a.push(t({properties:Ct(r.props,!0)})),Array.isArray(o)&&o.forEach((function(e){C(e)&&e.props&&a.push(t({properties:Ct(e.props,!0)}))})),a}function xt(e,t,n,r){return Array.isArray(t)&&1===t.length?t[0]:t}function Ct(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>3?arguments[3]:void 0,r={};return t||(r.vueId={type:String,value:""},n.virtualHost&&(r.virtualHostStyle={type:null,value:""},r.virtualHostClass={type:null,value:""}),r.scopedSlotsCompiler={type:String,value:""},r.vueSlots={type:null,value:[],observer:function(e,t){var n=Object.create(null);e.forEach((function(e){n[e]=!0})),this.setData({$slots:n})}}),Array.isArray(e)?e.forEach((function(e){r[e]={type:null,observer:bt(e)}})):C(e)&&Object.keys(e).forEach((function(t){var n=e[t];if(C(n)){var o=n.default;S(o)&&(o=o()),n.type=xt(0,n.type),r[t]={type:-1!==mt.indexOf(n.type)?n.type:null,value:o,observer:bt(t)}}else{var i=xt(0,n);r[t]={type:-1!==mt.indexOf(i)?i:null,observer:bt(t)}}})),r}function _t(e,t,n,r){var o={};return Array.isArray(t)&&t.length&&t.forEach((function(t,i){"string"===typeof t?t?"$event"===t?o["$"+i]=n:"arguments"===t?o["$"+i]=n.detail&&n.detail.__args__||r:0===t.indexOf("$event.")?o["$"+i]=e.__get_value(t.replace("$event.",""),n):o["$"+i]=e.__get_value(t):o["$"+i]=e:o["$"+i]=function(e,t){var n=e;return t.forEach((function(t){var r=t[0],o=t[2];if(r||"undefined"!==typeof o){var i,a=t[1],c=t[3];Number.isInteger(r)?i=r:r?"string"===typeof r&&r&&(i=0===r.indexOf("#s#")?r.substr(3):e.__get_value(r,n)):i=n,Number.isInteger(i)?n=o:a?Array.isArray(i)?n=i.find((function(t){return e.__get_value(a,t)===o})):C(i)?n=Object.keys(i).find((function(t){return e.__get_value(a,i[t])===o})):console.error("v-for 暂不支持循环数据:",i):n=i[o],c&&(n=e.__get_value(c,n))}})),n}(e,t)})),o}function Lt(e){for(var t={},n=1;n2&&void 0!==arguments[2]?arguments[2]:[],r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[],o=arguments.length>4?arguments[4]:void 0,i=arguments.length>5?arguments[5]:void 0,a=!1,c=C(t.detail)&&t.detail.__args__||[t.detail];if(o&&(a=t.currentTarget&&t.currentTarget.dataset&&"wx"===t.currentTarget.dataset.comType,!n.length))return a?[t]:c;var s=_t(e,r,t,c),u=[];return n.forEach((function(e){"$event"===e?"__set_model"!==i||o?o&&!a?u.push(c[0]):u.push(t):u.push(t.target.value):Array.isArray(e)&&"o"===e[0]?u.push(Lt(e)):"string"===typeof e&&_(s,e)?u.push(s[e]):u.push(e)})),u}function Yt(e){var t=this;e=function(e){try{e.mp=JSON.parse(JSON.stringify(e))}catch(t){}return e.stopPropagation=L,e.preventDefault=L,e.target=e.target||{},_(e,"detail")||(e.detail={}),_(e,"markerId")&&(e.detail="object"===(0,l.default)(e.detail)?e.detail:{},e.detail.markerId=e.markerId),C(e.detail)&&(e.target=Object.assign({},e.target,e.detail)),e}(e);var n=(e.currentTarget||e.target).dataset;if(!n)return console.warn("事件信息不存在");var r=n.eventOpts||n["event-opts"];if(!r)return console.warn("事件信息不存在");var o=e.type,i=[];return r.forEach((function(n){var r=n[0],a=n[1],c="^"===r.charAt(0);r=c?r.slice(1):r;var s="~"===r.charAt(0);r=s?r.slice(1):r,a&&function(e,t){return e===t||"regionchange"===t&&("begin"===e||"end"===e)}(o,r)&&a.forEach((function(n){var r=n[0];if(r){var o=t.$vm;if(o.$options.generic&&(o=function(e){var t=e.$parent;while(t&&t.$parent&&(t.$options.generic||t.$parent.$options.generic||t.$scope._$vuePid))t=t.$parent;return t&&t.$parent}(o)||o),"$emit"===r)return void o.$emit.apply(o,Pt(t.$vm,e,n[1],n[2],c,r));var a=o[r];if(!S(a)){var u="page"===t.$vm.mpType?"Page":"Component",l=t.route||t.is;throw new Error("".concat(u,' "').concat(l,'" does not have a method "').concat(r,'"'))}if(s){if(a.once)return;a.once=!0}var f=Pt(t.$vm,e,n[1],n[2],c,r);f=Array.isArray(f)?f:[],/=\s*\S+\.eventParams\s*\|\|\s*\S+\[['"]event-params['"]\]/.test(a.toString())&&(f=f.concat([,,,,,,,,,,e])),i.push(a.apply(o,f))}}))})),"input"===o&&1===i.length&&"undefined"!==typeof i[0]?i[0]:void 0}var Tt={};var Mt=["onShow","onHide","onError","onPageNotFound","onThemeChange","onUnhandledRejection"];function Dt(){d.default.prototype.getOpenerEventChannel=function(){return this.$scope.getOpenerEventChannel()};var e=d.default.prototype.__call_hook;d.default.prototype.__call_hook=function(t,n){return"onLoad"===t&&n&&n.__id__&&(this.__eventChannel__=function(e){var t=Tt[e];return delete Tt[e],t}(n.__id__),delete n.__id__),e.call(this,t,n)}}function Zt(t,n){var r=n.mocks,o=n.initRefs;Dt(),function(){var e={},t={};function n(e){var t=this.$options.propsData.vueId;if(t){var n=t.split(",")[0];e(n)}}d.default.prototype.$hasSSP=function(n){var r=e[n];return r||(t[n]=this,this.$on("hook:destroyed",(function(){delete t[n]}))),r},d.default.prototype.$getSSP=function(t,n,r){var o=e[t];if(o){var i=o[n]||[];return r?i:i[0]}},d.default.prototype.$setSSP=function(t,r){var o=0;return n.call(this,(function(n){var i=e[n],a=i[t]=i[t]||[];a.push(r),o=a.length-1})),o},d.default.prototype.$initSSP=function(){n.call(this,(function(t){e[t]={}}))},d.default.prototype.$callSSP=function(){n.call(this,(function(e){t[e]&&t[e].$forceUpdate()}))},d.default.mixin({destroyed:function(){var n=this.$options.propsData,r=n&&n.vueId;r&&(delete e[r],delete t[r])}})}(),t.$options.store&&(d.default.prototype.$store=t.$options.store),function(e){e.prototype.uniIDHasRole=function(e){var t=v(),n=t.role;return n.indexOf(e)>-1},e.prototype.uniIDHasPermission=function(e){var t=v(),n=t.permission;return this.uniIDHasRole("admin")||n.indexOf(e)>-1},e.prototype.uniIDTokenValid=function(){var e=v(),t=e.tokenExpired;return t>Date.now()}}(d.default),d.default.prototype.mpHost="mp-weixin",d.default.mixin({beforeCreate:function(){if(this.$options.mpType){if(this.mpType=this.$options.mpType,this.$mp=(0,c.default)({data:{}},this.mpType,this.$options.mpInstance),this.$scope=this.$options.mpInstance,delete this.$options.mpType,delete this.$options.mpInstance,"page"===this.mpType&&"function"===typeof getApp){var e=getApp();e.$vm&&e.$vm.$i18n&&(this._i18n=e.$vm.$i18n)}"app"!==this.mpType&&(o(this),function(e,t){var n=e.$mp[e.mpType];t.forEach((function(t){_(n,t)&&(e[t]=n[t])}))}(this,r))}}});var i={onLaunch:function(n){this.$vm||(e.canIUse&&!e.canIUse("nextTick")&&console.error("当前微信基础库版本过低,请将 微信开发者工具-详情-项目设置-调试基础库版本 更换为`2.3.0`以上"),this.$vm=t,this.$vm.$mp={app:this},this.$vm.$scope=this,this.$vm.globalData=this.globalData,this.$vm._isMounted=!0,this.$vm.__call_hook("mounted",n),this.$vm.__call_hook("onLaunch",n))}};i.globalData=t.$options.globalData||{};var a=t.$options.methods;return a&&Object.keys(a).forEach((function(e){i[e]=a[e]})),function(e,t,n){var r=e.observable({locale:n||oe.getLocale()}),o=[];t.$watchLocale=function(e){o.push(e)},Object.defineProperty(t,"$locale",{get:function(){return r.locale},set:function(e){r.locale=e,o.forEach((function(t){return t(e)}))}})}(d.default,t,ae(e.getAppBaseInfo().language)||"en"),lt(i,Mt),ft(i,t.$options),i}function wt(e){return Zt(e,{mocks:Ue,initRefs:qe})}function Ot(e){return App(wt(e)),e}var At=/[!'()*]/g,Xt=function(e){return"%"+e.charCodeAt(0).toString(16)},Nt=/%2C/g,Rt=function(e){return encodeURIComponent(e).replace(At,Xt).replace(Nt,",")};function Et(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Rt,n=e?Object.keys(e).map((function(n){var r=e[n];if(void 0===r)return"";if(null===r)return t(n);if(Array.isArray(r)){var o=[];return r.forEach((function(e){void 0!==e&&(null===e?o.push(t(n)):o.push(t(n)+"="+t(e)))})),o.join("&")}return t(n)+"="+t(r)})).filter((function(e){return e.length>0})).join("&"):null;return n?"?".concat(n):""}function Jt(e,t){return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.isPage,r=t.initRelation,o=arguments.length>2?arguments[2]:void 0,i=ht(d.default,e),c=(0,a.default)(i,2),s=c[0],u=c[1],l=h({multipleSlots:!0,addGlobalClass:!0},u.options||{});u["mp-weixin"]&&u["mp-weixin"].options&&Object.assign(l,u["mp-weixin"].options);var f={options:l,data:vt(u,d.default.prototype),behaviors:St(u,Ke),properties:Ct(u.props,!1,u.__file,l),lifetimes:{attached:function(){var e=this.properties,t={mpType:n.call(this)?"page":"component",mpInstance:this,propsData:e};gt(e.vueId,this),r.call(this,{vuePid:this._$vuePid,vueOptions:t}),this.$vm=new s(t),yt(this.$vm,e.vueSlots),this.$vm.$mount()},ready:function(){this.$vm&&(this.$vm._isMounted=!0,this.$vm.__call_hook("mounted"),this.$vm.__call_hook("onReady"))},detached:function(){this.$vm&&this.$vm.$destroy()}},pageLifetimes:{show:function(e){this.$vm&&this.$vm.__call_hook("onPageShow",e)},hide:function(){this.$vm&&this.$vm.__call_hook("onPageHide")},resize:function(e){this.$vm&&this.$vm.__call_hook("onPageResize",e)}},methods:{__l:et,__e:Yt}};return u.externalClasses&&(f.externalClasses=u.externalClasses),Array.isArray(u.wxsCallMethods)&&u.wxsCallMethods.forEach((function(e){f.methods[e]=function(t){return this.$vm[e](t)}})),o?[f,u,s]:n?f:[f,s]}(e,{isPage:ze,initRelation:Ve},t)}var Ht=["onShow","onHide","onUnload"];function Bt(e){var t=Jt(e,!0),n=(0,a.default)(t,2),r=n[0],o=n[1];return lt(r.methods,Ht,o),r.methods.onLoad=function(e){this.options=e;var t=Object.assign({},e);delete t.__id__,this.$page={fullPath:"/"+(this.route||this.is)+Et(t)},this.$vm.$mp.query=e,this.$vm.__call_hook("onLoad",e)},ft(r.methods,e,["onReady"]),function(e,t){t&&Object.keys(t).forEach((function(n){var r=n.match(rt);if(r){var o=r[1];e[n]=t[n],e[o]=t[o]}}))}(r.methods,o.methods),r}function kt(e){return Component(function(e){return Bt(e)}(e))}function Ft(e){return Component(Jt(e))}function It(t){var n=wt(t),r=getApp({allowDefault:!0});t.$scope=r;var o=r.globalData;if(o&&Object.keys(n.globalData).forEach((function(e){_(o,e)||(o[e]=n.globalData[e])})),Object.keys(n).forEach((function(e){_(r,e)||(r[e]=n[e])})),S(n.onShow)&&e.onAppShow&&e.onAppShow((function(){for(var e=arguments.length,n=new Array(e),r=0;r0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=(0,a.dayjs)(new Date).format("YYYY-MM-DD HH:mm:ss"),r={projectId:i.default.getters.project.id,organizationId:i.default.getters.organization.id,date:n};t["time"]=n,r=Object.assign(r,e);var c={sender:i.default.getters.user.userId,messageType:t.messageType,message:this.messageContent(t),json:JSON.stringify(r),viewed:0};return(0,o.request)({url:"/manager/message/".concat(t.userIds),method:"post",data:c})},viewed:function(e,t){if(e)return(0,o.request)({url:"/manager/message/".concat(e),method:"put"}).then((function(e){e.state&&t&&t()}))},sendFlowMessage:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=(0,a.dayjs)(new Date).format("YYYY-MM-DD HH:mm:ss"),r={projectId:i.default.getters.project.id,organizationId:i.default.getters.organization.id,date:n,dataId:t.dataId,dataType:t.dataType},c=this.data(e,t);r=Object.assign(r,c.data);var s={sender:i.default.getters.user.userId,messageType:t.messageType,message:c.message,json:JSON.stringify(r),viewed:0,isCC:t.isCC};return(0,o.request)({url:"/manager/message/".concat(t.receiver),method:"post",data:s})},messageContent:function(e){var t="";return 6===e.messageType&&(t="【项目邀请】".concat(i.default.getters.user.name,"在").concat((0,a.dayjs)(new Date).format("YYYY-MM-DD HH:mm:ss"),"邀请加入<").concat(i.default.getters.project.name,">项目,请及时处理。")),t},data:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n={},r="",o=c.filter((function(e){return e.id===t.messageType}))[0].dataType.filter((function(e){return e.id===t.dataType}))[0];e.projectItemName&&(r+=e.projectItemName,n["projectItemId"]=e.projectItemId),e.projectItemTargetName&&(r+="-"+e.projectItemTargetName,n["projectItemTargetId"]=e.projectItemTargetId);var s="【".concat(o.title,"】").concat(i.default.getters.user.name,"在").concat((0,a.dayjs)(new Date).format("YYYY-MM-DD HH:mm:ss")).concat(t.operation).concat(r).concat(o.content);return 1===t.isCC&&(s+=",并抄送给你"),{message:s,data:n}},messageType:c};t.default=s},e6db:function(e,t,n){var r=n("3b2d")["default"];e.exports=function(e,t){if("object"!=r(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=r(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)},e.exports.__esModule=!0,e.exports["default"]=e.exports},e9bc:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getContractDetailById=function(e){return(0,r.request)({url:"/api/contract/".concat(e),method:"get"})},t.getContractList=function(e){return(0,r.request)({url:"/api/contract/list",method:"post",data:e})},t.getContractListByPage=function(e){return(0,r.request)({url:"/api/contract/".concat(e.currPage,"/").concat(e.pageSize),method:"post",data:e})},t.getPaymentListByPage=function(e){return(0,r.request)({url:"/api/payment/".concat(e.currPage,"/").concat(e.pageSize),method:"post",data:e})},t.insertDocumentData=function(e){return(0,r.request)({url:"/file/elementdata/",method:"post",data:e})},t.insertPaymentInvoice=function(e){return(0,r.request)({url:"/api/payment/invoice",method:"post",data:e})},t.insertPaymentRecord=function(e){return(0,r.request)({url:"/api/payment/record",method:"post",data:e})},t.putPaymentStatus=function(e,t){return(0,r.request)({url:"/api/payment/updateStatus/".concat(e,"/").concat(t),method:"put"})},t.uploadImageBase64=function(e){return(0,r.request)({url:"/file/filenode/base64",method:"post",data:{base64:e}})};var r=n("8cf7")},ea9b:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getOrderDetailById=function(e){return(0,r.request)({url:"/api/workOrder/".concat(e),method:"get"})},t.getOrderPageListByQuery=function(e){return(0,r.request)({url:"/api/workOrder/".concat(e.currPage,"/").concat(e.pageSize),method:"post",data:e})},t.insertOrderProcess=function(e){return(0,r.request)({url:"/api/workOrder/process",method:"post",data:e})},t.putOrderProcess=function(e){return(0,r.request)({url:"/api/workOrder/process/update",method:"put",data:e})},t.updateOrder=function(e){return(0,r.request)({url:"/api/workOrder/update",method:"put",data:e})};var r=n("8cf7")},ed45:function(e,t){e.exports=function(e){if(Array.isArray(e))return e},e.exports.__esModule=!0,e.exports["default"]=e.exports},ed46:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={baseUrl:"https://www.waywish.com",socketURL:"wss://www.waywish.com/im/im"}},ee10:function(e,t){function n(e,t,n,r,o,i,a){try{var c=e[i](a),s=c.value}catch(u){return void n(u)}c.done?t(s):Promise.resolve(s).then(r,o)}e.exports=function(e){return function(){var t=this,r=arguments;return new Promise((function(o,i){var a=e.apply(t,r);function c(e){n(a,o,i,c,s,"next",e)}function s(e){n(a,o,i,c,s,"throw",e)}c(void 0)}))}},e.exports.__esModule=!0,e.exports["default"]=e.exports},ee2f:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n("62ff"),o=n("188d"),i={computed:{value:function(){var e=this.text,t=this.mode,n=this.format,i=this.href;return"price"===t?(/^\d+(\.\d+)?$/.test(e)||(0,o.error)("金额模式下,text参数需要为金额格式"),(0,r.func)(n)?n(e):(0,o.priceFormat)(e,2)):"date"===t?(!(0,r.date)(e)&&(0,o.error)("日期模式下,text参数需要为日期或时间戳格式"),(0,r.func)(n)?n(e):n?(0,o.timeFormat)(e,n):(0,o.timeFormat)(e,"yyyy-mm-dd")):"phone"===t?(0,r.func)(n)?n(e):"encrypt"===n?"".concat(e.substr(0,3),"****").concat(e.substr(7)):e:"name"===t?("string"!==typeof e&&(0,o.error)("姓名模式下,text参数需要为字符串格式"),(0,r.func)(n)?n(e):"encrypt"===n?this.formatName(e):e):"link"===t?(!(0,r.url)(i)&&(0,o.error)("超链接模式下,href参数需要为URL格式"),e):e}},methods:{formatName:function(e){var t="";if(2===e.length)t=e.substr(0,1)+"*";else if(e.length>2){for(var n="",r=0,o=e.length-2;r1&&void 0!==arguments[1]?arguments[1]:500,n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null!==r&&clearTimeout(r),n){var o=!r;r=setTimeout((function(){r=null}),t),o&&"function"===typeof e&&e()}else r=setTimeout((function(){"function"===typeof e&&e()}),t)};t.default=o},f00d:function(e,t,n){"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:500,n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];n?r||(r=!0,"function"===typeof e&&e(),setTimeout((function(){r=!1}),t)):r||(r=!0,setTimeout((function(){r=!1,"function"===typeof e&&e()}),t))};t.default=o},f206:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={props:{lang:String,sessionFrom:String,sendMessageTitle:String,sendMessagePath:String,sendMessageImg:String,showMessageCard:Boolean,appParameter:String,formType:String,openType:String}};t.default=r},f289:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("4266");Object.keys(r).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===r[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return r[e]}}))}))},f475:function(e,t,n){"use strict";(function(e){var r=n("47a9");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o,i,a=r(n("7ca3"));function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var s={props:function(e){for(var t=1;t0&&(t.isScrollBody&&n<=0||!t.isScrollBody&&(n<=0||n<=t.optDown.startTop&&n===t.startTop))&&!t.inTouchend&&!t.isDownScrolling&&!t.optDown.isLock&&(!t.isUpScrolling||t.isUpScrolling&&t.optUp.isBoth)){if(t.startAngle||(t.startAngle=t.getAngle(t.lastPoint,r)),t.startAngle0&&r.y>=t.maxTouchmoveY)return t.inTouchend=!0,void t.touchendEvent();t.preventDefault(e);var i=r.y-t.lastPoint.y;t.downHight0?i*t.optDown.outOffsetRate:i),t.downHight=Math.round(t.downHight);var a=t.downHight/t.optDown.offset;t.optDown.onMoving&&t.optDown.onMoving(t,a,t.downHight)}t.lastPoint=r}},i.prototype.touchendEvent=function(e){if(this.optDown.use)if(this.isMoveDown)this.downHight>=this.optDown.offset?this.triggerDownScroll():(this.downHight=0,this.endDownScrollCall(this)),this.movetype=0,this.isMoveDown=!1;else if(!this.isScrollBody&&this.getScrollTop()===this.startTop){var t=this.getPoint(e).y-this.startPoint.y<0;if(t){var n=this.getAngle(this.getPoint(e),this.startPoint);n>80&&this.triggerUpScroll(!0)}}},i.prototype.getPoint=function(e){return e?e.touches&&e.touches[0]?{x:e.touches[0].pageX,y:e.touches[0].pageY}:e.changedTouches&&e.changedTouches[0]?{x:e.changedTouches[0].pageX,y:e.changedTouches[0].pageY}:{x:e.clientX,y:e.clientY}:{x:0,y:0}},i.prototype.getAngle=function(e,t){var n=Math.abs(e.x-t.x),r=Math.abs(e.y-t.y),o=Math.sqrt(n*n+r*r),i=0;return 0!==o&&(i=Math.asin(r/o)/Math.PI*180),i},i.prototype.triggerDownScroll=function(){this.optDown.beforeLoading&&this.optDown.beforeLoading(this)||(this.showDownScroll(),!this.optDown.native&&this.optDown.callback&&this.optDown.callback(this))},i.prototype.showDownScroll=function(){this.isDownScrolling=!0,this.optDown.native?(e.startPullDownRefresh(),this.showDownLoadingCall(0)):(this.downHight=this.optDown.offset,this.showDownLoadingCall(this.downHight))},i.prototype.showDownLoadingCall=function(e){this.optDown.showLoading&&this.optDown.showLoading(this,e),this.optDown.afterLoading&&this.optDown.afterLoading(this,e)},i.prototype.onPullDownRefresh=function(){this.isDownScrolling=!0,this.showDownLoadingCall(0),this.optDown.callback&&this.optDown.callback(this)},i.prototype.endDownScroll=function(){if(this.optDown.native)return this.isDownScrolling=!1,this.endDownScrollCall(this),void e.stopPullDownRefresh();var t=this,n=function(){t.downHight=0,t.isDownScrolling=!1,t.endDownScrollCall(t),t.isScrollBody||(t.setScrollHeight(0),t.scrollTo(0,0))},r=0;t.optDown.beforeEndDownScroll&&(r=t.optDown.beforeEndDownScroll(t),null==t.isDownEndSuccess&&(r=0)),"number"===typeof r&&r>0?setTimeout(n,r):n()},i.prototype.endDownScrollCall=function(){this.optDown.endDownScroll&&this.optDown.endDownScroll(this),this.optDown.afterEndDownScroll&&this.optDown.afterEndDownScroll(this)},i.prototype.lockDownScroll=function(e){null==e&&(e=!0),this.optDown.isLock=e},i.prototype.lockUpScroll=function(e){null==e&&(e=!0),this.optUp.isLock=e},i.prototype.initUpScroll=function(){var e=this;e.optUp=e.options.up||{use:!1},!e.optUp.textColor&&e.hasColor(e.optUp.bgColor)&&(e.optUp.textColor="#fff"),e.extendUpScroll(e.optUp),!1!==e.optUp.use&&(e.optUp.hasNext=!0,e.startNum=e.optUp.page.num+1,e.optUp.inited&&setTimeout((function(){e.optUp.inited(e)}),0))},i.prototype.onReachBottom=function(){this.isScrollBody&&!this.isUpScrolling&&!this.optUp.isLock&&this.optUp.hasNext&&this.triggerUpScroll()},i.prototype.onPageScroll=function(e){this.isScrollBody&&(this.setScrollTop(e.scrollTop),e.scrollTop>=this.optUp.toTop.offset?this.showTopBtn():this.hideTopBtn())},i.prototype.scroll=function(e,t){this.setScrollTop(e.scrollTop),this.setScrollHeight(e.scrollHeight),null==this.preScrollY&&(this.preScrollY=0),this.isScrollUp=e.scrollTop-this.preScrollY>0,this.preScrollY=e.scrollTop,this.isScrollUp&&this.triggerUpScroll(!0),e.scrollTop>=this.optUp.toTop.offset?this.showTopBtn():this.hideTopBtn(),this.optUp.onScroll&&t&&t()},i.prototype.triggerUpScroll=function(e){if(!this.isUpScrolling&&this.optUp.use&&this.optUp.callback){if(!0===e){var t=!1;if(!this.optUp.hasNext||this.optUp.isLock||this.isDownScrolling||this.getScrollBottom()<=this.optUp.offset&&(t=!0),!1===t)return}this.showUpScroll(),this.optUp.page.num++,this.isUpAutoLoad=!0,this.num=this.optUp.page.num,this.size=this.optUp.page.size,this.time=this.optUp.page.time,this.optUp.callback(this)}},i.prototype.showUpScroll=function(){this.isUpScrolling=!0,this.optUp.showLoading&&this.optUp.showLoading(this)},i.prototype.showNoMore=function(){this.optUp.hasNext=!1,this.optUp.showNoMore&&this.optUp.showNoMore(this)},i.prototype.hideUpScroll=function(){this.optUp.hideUpScroll&&this.optUp.hideUpScroll(this)},i.prototype.endUpScroll=function(e){null!=e&&(e?this.showNoMore():this.hideUpScroll()),this.isUpScrolling=!1},i.prototype.resetUpScroll=function(e){if(this.optUp&&this.optUp.use){var t=this.optUp.page;this.prePageNum=t.num,this.prePageTime=t.time,t.num=this.startNum,t.time=null,this.isDownScrolling||!1===e||(null==e?(this.removeEmpty(),this.showUpScroll()):this.showDownScroll()),this.isUpAutoLoad=!0,this.num=t.num,this.size=t.size,this.time=t.time,this.optUp.callback&&this.optUp.callback(this)}},i.prototype.setPageNum=function(e){this.optUp.page.num=e-1},i.prototype.setPageSize=function(e){this.optUp.page.size=e},i.prototype.endByPage=function(e,t,n){var r;this.optUp.use&&null!=t&&(r=this.optUp.page.num