1234567891011121314151617 |
- (global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["common/vendor"],{"010c":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={collapseItem:{title:"",value:"",label:"",disabled:!1,isLink:!0,clickable:!0,border:!0,align:"left",name:"",icon:"",duration:300}}},"0235":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={search:{shape:"round",bgColor:"#f2f2f2",placeholder:"请输入关键字",clearabled:!0,focus:!1,showAction:!0,actionStyle:function(){return{}},actionText:"搜索",inputAlign:"left",inputStyle:function(){return{}},disabled:!1,borderColor:"transparent",searchIconColor:"#909399",searchIconSize:22,color:"#606266",placeholderColor:"#909399",searchIcon:"search",margin:"0",animation:!1,value:"",maxlength:"-1",height:32,label:null}}},"0296":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={row:{gutter:0,justify:"start",align:"center"}}},"0357":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={checkbox:{name:"",shape:"",size:"",checkbox:!1,disabled:"",activeColor:"",inactiveColor:"",iconSize:"",iconColor:"",label:"",labelSize:"",labelColor:"",labelDisabled:""}}},"059c":function(e,t,r){"use strict";var n=r("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(r("7631")),i=o.default.color,a={icon:{name:"",color:i["u-content-color"],size:"16px",bold:!1,index:"",hoverClass:"",customPrefix:"uicon",label:"",labelPos:"right",labelSize:"15px",labelColor:i["u-content-color"],space:"3px",imgMode:"",width:"",height:"",top:0,stop:!1}};t.default=a},"0608":function(e,t,r){"use strict";(function(e){var n=r("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(r("7037")),i=function(){function t(e,t){return null!=t&&e instanceof t}var r,n,i;try{r=Map}catch(u){r=function(){}}try{n=Set}catch(u){n=function(){}}try{i=Promise}catch(u){i=function(){}}function a(s,u,l,p,d){"object"===(0,o.default)(u)&&(l=u.depth,p=u.prototype,d=u.includeNonEnumerable,u=u.circular);var f=[],h=[],m="undefined"!=typeof e;return"undefined"==typeof u&&(u=!0),"undefined"==typeof l&&(l=1/0),function s(l,g){if(null===l)return null;if(0===g)return l;var y,v;if("object"!=(0,o.default)(l))return l;if(t(l,r))y=new r;else if(t(l,n))y=new n;else if(t(l,i))y=new i((function(e,t){l.then((function(t){e(s(t,g-1))}),(function(e){t(s(e,g-1))}))}));else if(a.__isArray(l))y=[];else if(a.__isRegExp(l))y=new RegExp(l.source,c(l)),l.lastIndex&&(y.lastIndex=l.lastIndex);else if(a.__isDate(l))y=new Date(l.getTime());else{if(m&&e.isBuffer(l))return e.from?y=e.from(l):(y=new e(l.length),l.copy(y)),y;t(l,Error)?y=Object.create(l):"undefined"==typeof p?(v=Object.getPrototypeOf(l),y=Object.create(v)):(y=Object.create(p),v=p)}if(u){var E=f.indexOf(l);if(-1!=E)return h[E];f.push(l),h.push(y)}for(var _ in t(l,r)&&l.forEach((function(e,t){var r=s(t,g-1),n=s(e,g-1);y.set(r,n)})),t(l,n)&&l.forEach((function(e){var t=s(e,g-1);y.add(t)})),l){var T=Object.getOwnPropertyDescriptor(l,_);T&&(y[_]=s(l[_],g-1));try{var O=Object.getOwnPropertyDescriptor(l,_);if("undefined"===O.set)continue;y[_]=s(l[_],g-1)}catch(C){if(C instanceof TypeError)continue;if(C instanceof ReferenceError)continue}}if(Object.getOwnPropertySymbols){var b=Object.getOwnPropertySymbols(l);for(_=0;_<b.length;_++){var S=b[_],A=Object.getOwnPropertyDescriptor(l,S);(!A||A.enumerable||d)&&(y[S]=s(l[S],g-1),Object.defineProperty(y,S,A))}}if(d){var I=Object.getOwnPropertyNames(l);for(_=0;_<I.length;_++){var R=I[_];A=Object.getOwnPropertyDescriptor(l,R);A&&A.enumerable||(y[R]=s(l[R],g-1),Object.defineProperty(y,R,A))}}return y}(s,l)}function s(e){return Object.prototype.toString.call(e)}function c(e){var t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),t}return a.clonePrototype=function(e){if(null===e)return null;var t=function(){};return t.prototype=e,new t},a.__objToStr=s,a.__isDate=function(e){return"object"===(0,o.default)(e)&&"[object Date]"===s(e)},a.__isArray=function(e){return"object"===(0,o.default)(e)&&"[object Array]"===s(e)},a.__isRegExp=function(e){return"object"===(0,o.default)(e)&&"[object RegExp]"===s(e)},a.__getRegExpFlags=c,a}(),a=i;t.default=a}).call(this,r("b639").Buffer)},"0676":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},"0851":function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={props:{show:{type:Boolean,default:e.$u.props.overlay.show},zIndex:{type:[String,Number],default:e.$u.props.overlay.zIndex},duration:{type:[String,Number],default:e.$u.props.overlay.duration},opacity:{type:[String,Number],default:e.$u.props.overlay.opacity}}};t.default=r}).call(this,r("543d")["default"])},"0a43":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={actionSheet:{show:!1,title:"",description:"",actions:function(){return[]},index:"",cancelText:"",closeOnClickAction:!0,safeAreaInsetBottom:!0,openType:"",closeOnClickOverlay:!0,round:0}}},"0b3e":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={collapse:{value:null,accordion:!1,border:!0}}},"0cc5":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={props:{}}},"0ec1":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={numberKeyboard:{mode:"number",dotDisabled:!1,random:!1}}},1021:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={noNetwork:{tips:"哎呀,网络信号丢失",zIndex:"",image:"data:image/png;base64,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"}}},"10a6":function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={props:{seconds:{type:[String,Number],default:e.$u.props.code.seconds},startText:{type:String,default:e.$u.props.code.startText},changeText:{type:String,default:e.$u.props.code.changeText},endText:{type:String,default:e.$u.props.code.endText},keepRunning:{type:Boolean,default:e.$u.props.code.keepRunning},uniqueKey:{type:String,default:e.$u.props.code.uniqueKey}}};t.default=r}).call(this,r("543d")["default"])},"11b0":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},1260:function(e,t,r){"use strict";var n=r("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(r("9523")),i=n(r("970b")),a=n(r("5bc3")),s=n(r("2c49")),c=n(r("a525")),u=n(r("b564")),l=n(r("d79f")),p=r("aa6c"),d=n(r("0608"));function f(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function h(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?f(Object(r),!0).forEach((function(t){(0,o.default)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):f(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var m=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(0,i.default)(this,e),(0,p.isPlainObject)(t)||(t={},console.warn("设置全局参数必须接收一个Object")),this.config=(0,d.default)(h(h({},l.default),t)),this.interceptors={request:new c.default,response:new c.default}}return(0,a.default)(e,[{key:"setConfig",value:function(e){this.config=e(this.config)}},{key:"middleware",value:function(e){e=(0,u.default)(this.config,e);var t=[s.default,void 0],r=Promise.resolve(e);this.interceptors.request.forEach((function(e){t.unshift(e.fulfilled,e.rejected)})),this.interceptors.response.forEach((function(e){t.push(e.fulfilled,e.rejected)}));while(t.length)r=r.then(t.shift(),t.shift());return r}},{key:"request",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.middleware(e)}},{key:"get",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.middleware(h({url:e,method:"GET"},t))}},{key:"post",value:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.middleware(h({url:e,data:t,method:"POST"},r))}},{key:"put",value:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.middleware(h({url:e,data:t,method:"PUT"},r))}},{key:"delete",value:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.middleware(h({url:e,data:t,method:"DELETE"},r))}},{key:"connect",value:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.middleware(h({url:e,data:t,method:"CONNECT"},r))}},{key:"head",value:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.middleware(h({url:e,data:t,method:"HEAD"},r))}},{key:"options",value:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.middleware(h({url:e,data:t,method:"OPTIONS"},r))}},{key:"trace",value:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.middleware(h({url:e,data:t,method:"TRACE"},r))}},{key:"upload",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return t.url=e,t.method="UPLOAD",this.middleware(t)}},{key:"download",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return t.url=e,t.method="DOWNLOAD",this.middleware(t)}}]),e}();t.default=m},1426:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={swipeActionItem:{show:!1,name:"",disabled:!1,threshold:20,autoClose:!0,options:[],duration:300}}},"15c6":function(e,t,r){"use strict";var n=r("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if(e&&!(0,o.default)(t))return(0,i.default)(e,t);return t};var o=n(r("519b")),i=n(r("b85b"))},1710:function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={props:{duration:{type:Number,default:e.$u.props.tabs.duration},list:{type:Array,default:e.$u.props.tabs.list},lineColor:{type:String,default:e.$u.props.tabs.lineColor},activeStyle:{type:[String,Object],default:e.$u.props.tabs.activeStyle},inactiveStyle:{type:[String,Object],default:e.$u.props.tabs.inactiveStyle},lineWidth:{type:[String,Number],default:e.$u.props.tabs.lineWidth},lineHeight:{type:[String,Number],default:e.$u.props.tabs.lineHeight},lineBgSize:{type:String,default:e.$u.props.tabs.lineBgSize},itemStyle:{type:[String,Object],default:e.$u.props.tabs.itemStyle},scrollable:{type:Boolean,default:e.$u.props.tabs.scrollable},current:{type:[Number,String],default:e.$u.props.tabs.current},keyName:{type:String,default:e.$u.props.tabs.keyName}}};t.default=r}).call(this,r("543d")["default"])},"19df":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={sticky:{offsetTop:0,customNavHeight:0,disabled:!1,bgColor:"transparent",zIndex:"",index:""}}},"19f8":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={form:{model:function(){return{}},rules:function(){return{}},errorType:"message",borderBottom:!0,labelPosition:"left",labelWidth:45,labelAlign:"left",labelStyle:function(){return{}}}}},"1ae0":function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={props:{bgColor:{type:String,default:e.$u.props.statusBar.bgColor}}};t.default=r}).call(this,r("543d")["default"])},"1bc3":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={rate:{value:1,count:5,disabled:!1,size:18,inactiveColor:"#b2b2b2",activeColor:"#FA3534",gutter:4,minCount:1,allowHalf:!1,activeIcon:"star-fill",inactiveIcon:"star",touchable:!0}}},"1df0":function(e,t,r){"use strict";var n=r("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t.conn=void 0;var o=n(r("b6da")),i=n(r("f53a")),a={};t.conn=a,o.default.config=i.default,t.conn=a=o.default.conn=new o.default.connection({appKey:i.default.appkey,https:!0,url:"wss://im-api-wechat.easemob.com/websocket",apiUrl:"https://a1.easemob.com",heartBeatWait:3e4,autoReconnectNumMax:5,useOwnUploadFun:!1});a.listen({onOpened:function(e){console.log("环信登录成功")},onClosed:function(e){console.log("环信断开链接"),this.$u.toast("你已在其他地方登录")},onTextMessage:function(e){},onEmojiMessage:function(e){},onPictureMessage:function(e){},onCmdMessage:function(e){},onAudioMessage:function(e){},onLocationMessage:function(e){},onFileMessage:function(e){},onVideoMessage:function(e){var t=document.getElementById("privateVideo"),r={url:e.url,headers:{Accept:"audio/mp4"},onFileDownloadComplete:function(e){var r=o.default.utils.parseDownloadResponse.call(a,e);t.src=r},onFileDownloadError:function(){console.log("File down load error.")}};o.default.utils.download.call(a,r)},onPresence:function(e){},onRoster:function(e){},onInviteMessage:function(e){},onOnline:function(){},onOffline:function(){},onError:function(e){},onBlacklistUpdate:function(e){console.log(e)},onRecallMessage:function(e){},onReceivedMessage:function(e){},onDeliveredMessage:function(e){},onReadMessage:function(e){},onCreateGroup:function(e){},onMutedMessage:function(e){},onChannelMessage:function(e){}})},"1f49":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={countDown:{time:0,format:"HH:mm:ss",autoStart:!0,millisecond:!1}}},"1fb5":function(e,t,r){"use strict";t.byteLength=function(e){var t=u(e),r=t[0],n=t[1];return 3*(r+n)/4-n},t.toByteArray=function(e){var t,r,n=u(e),a=n[0],s=n[1],c=new i(function(e,t,r){return 3*(t+r)/4-r}(0,a,s)),l=0,p=s>0?a-4:a;for(r=0;r<p;r+=4)t=o[e.charCodeAt(r)]<<18|o[e.charCodeAt(r+1)]<<12|o[e.charCodeAt(r+2)]<<6|o[e.charCodeAt(r+3)],c[l++]=t>>16&255,c[l++]=t>>8&255,c[l++]=255&t;2===s&&(t=o[e.charCodeAt(r)]<<2|o[e.charCodeAt(r+1)]>>4,c[l++]=255&t);1===s&&(t=o[e.charCodeAt(r)]<<10|o[e.charCodeAt(r+1)]<<4|o[e.charCodeAt(r+2)]>>2,c[l++]=t>>8&255,c[l++]=255&t);return c},t.fromByteArray=function(e){for(var t,r=e.length,o=r%3,i=[],a=0,s=r-o;a<s;a+=16383)i.push(p(e,a,a+16383>s?s:a+16383));1===o?(t=e[r-1],i.push(n[t>>2]+n[t<<4&63]+"==")):2===o&&(t=(e[r-2]<<8)+e[r-1],i.push(n[t>>10]+n[t>>4&63]+n[t<<2&63]+"="));return i.join("")};for(var n=[],o=[],i="undefined"!==typeof Uint8Array?Uint8Array:Array,a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=0,c=a.length;s<c;++s)n[s]=a[s],o[a.charCodeAt(s)]=s;function u(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var r=e.indexOf("=");-1===r&&(r=t);var n=r===t?0:4-r%4;return[r,n]}function l(e){return n[e>>18&63]+n[e>>12&63]+n[e>>6&63]+n[63&e]}function p(e,t,r){for(var n,o=[],i=t;i<r;i+=3)n=(e[i]<<16&16711680)+(e[i+1]<<8&65280)+(255&e[i+2]),o.push(l(n));return o.join("")}o["-".charCodeAt(0)]=62,o["_".charCodeAt(0)]=63},2236:function(e,t,r){var n=r("5a43");e.exports=function(e){if(Array.isArray(e))return n(e)},e.exports.__esModule=!0,e.exports["default"]=e.exports},2389:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={overlay:{show:!1,zIndex:10070,duration:300,opacity:.5}}},"23a5":function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={props:{isDot:{type:Boolean,default:e.$u.props.badge.isDot},value:{type:[Number,String],default:e.$u.props.badge.value},show:{type:Boolean,default:e.$u.props.badge.show},max:{type:[Number,String],default:e.$u.props.badge.max},type:{type:String,default:e.$u.props.badge.type},showZero:{type:Boolean,default:e.$u.props.badge.showZero},bgColor:{type:[String,null],default:e.$u.props.badge.bgColor},color:{type:[String,null],default:e.$u.props.badge.color},shape:{type:String,default:e.$u.props.badge.shape},numberType:{type:String,default:e.$u.props.badge.numberType},offset:{type:Array,default:e.$u.props.badge.offset},inverted:{type:Boolean,default:e.$u.props.badge.inverted},absolute:{type:Boolean,default:e.$u.props.badge.absolute}}};t.default=r}).call(this,r("543d")["default"])},2591:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={album:{urls:function(){return[]},keyName:"",singleSize:180,multipleSize:70,space:6,singleMode:"scaleToFill",multipleMode:"aspectFill",maxCount:9,previewFullImage:!0,rowCount:3,showMore:!0}}},"26b7":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={rowNotice:{text:"",icon:"volume",mode:"",color:"#f9ae3d",bgColor:"#fdf6ec",fontSize:14,speed:80}}},"278c":function(e,t,r){var n=r("c135"),o=r("9b42"),i=r("6613"),a=r("c240");e.exports=function(e,t){return n(e)||o(e,t)||i(e,t)||a()},e.exports.__esModule=!0,e.exports["default"]=e.exports},"285e":function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={props:{name:{type:String,default:e.$u.props.checkboxGroup.name},value:{type:Array,default:e.$u.props.checkboxGroup.value},shape:{type:String,default:e.$u.props.checkboxGroup.shape},disabled:{type:Boolean,default:e.$u.props.checkboxGroup.disabled},activeColor:{type:String,default:e.$u.props.checkboxGroup.activeColor},inactiveColor:{type:String,default:e.$u.props.checkboxGroup.inactiveColor},size:{type:[String,Number],default:e.$u.props.checkboxGroup.size},placement:{type:String,default:e.$u.props.checkboxGroup.placement},labelSize:{type:[String,Number],default:e.$u.props.checkboxGroup.labelSize},labelColor:{type:[String],default:e.$u.props.checkboxGroup.labelColor},labelDisabled:{type:Boolean,default:e.$u.props.checkboxGroup.labelDisabled},iconColor:{type:String,default:e.$u.props.checkboxGroup.iconColor},iconSize:{type:[String,Number],default:e.$u.props.checkboxGroup.iconSize},iconPlacement:{type:String,default:e.$u.props.checkboxGroup.iconPlacement},borderBottom:{type:Boolean,default:e.$u.props.checkboxGroup.borderBottom}}};t.default=r}).call(this,r("543d")["default"])},"2c49":function(e,t,r){"use strict";var n=r("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(r("a80d"));t.default=function(e){return(0,o.default)(e)}},"2d03":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={upload:{accept:"image",capture:function(){return["album","camera"]},compressed:!0,camera:"back",maxDuration:60,uploadIcon:"camera-fill",uploadIconColor:"#D3D4D6",useBeforeRead:!1,previewFullImage:!0,maxCount:52,disabled:!1,imageMode:"aspectFill",name:"",sizeType:function(){return["original","compressed"]},multiple:!1,deletable:!0,maxSize:Number.MAX_VALUE,fileList:function(){return[]},uploadText:"",width:80,height:80,previewImage:!0}};t.default=n},"2d29":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={switch:{loading:!1,disabled:!1,size:25,activeColor:"#2979ff",inactiveColor:"#ffffff",value:!1,activeValue:!0,inactiveValue:!1,asyncChange:!1,space:0}}},"2e9d":function(e,t,r){"use strict";var n=r("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t.activityCreate=function(e){return o.default.post("/api/candidate.activity/create",e)},t.activityauth=function(e){return o.default.post("/api/candidate.activity/auth",e)},t.activityget_list=function(e){return o.default.post("/api/candidate.activity/get_list",e)},t.article_get_detail=function(e){return o.default.post("/api/article/get_detail",e)},t.article_get_list=function(e){return o.default.post("/api/article/get_list",e)},t.articlecomment=function(e){return o.default.post("/api/candidate.forum/article_comment",e)},t.articledetails=function(e){return o.default.post("/api/candidate.forum/article_details",e)},t.articlelike=function(e){return o.default.post("/api/candidate.forum/article_like",e)},t.articlelist=function(e){return o.default.get("/api/candidate.forum/article_list",e)},t.browse_get_list=function(e){return o.default.post("/api/candidate.resume_browse/get_list",e)},t.changemobile=function(e){return o.default.post("/api/candidate.user/changemobile",e)},t.check=function(e){return o.default.post("/api/sms/check",e)},t.collect=function(e){return o.default.post("/api/candidate.job_collect/collect",e)},t.collect_get_list=function(e){return o.default.post("/api/candidate.job_collect/get_list",e)},t.commentlike=function(e){return o.default.post("/api/candidate.forum/comment_like",e)},t.commission_data=function(e){return o.default.post("/api/candidate.order/commission_data",e)},t.commission_feedback=function(e){return o.default.post("/api/candidate.order/commission_feedback",e)},t.commission_list=function(e){return o.default.post("/api/candidate.order/commission_list",e)},t.companydetail=function(e){return o.default.post("/api/company/get_company_detail",e)},t.create=function(e){return o.default.post("/api/candidate.resume/create",e)},t.create_article=function(e){return o.default.post("/api/candidate.forum/create_article",e)},t.create_group=function(e){return o.default.post("/api/candidate.forum/create_group",e)},t.del_article=function(e){return o.default.post("/api/candidate.forum/del_article",e)},t.del_group=function(e){return o.default.post("/api/candidate.forum/del_group",e)},t.deleteBank=function(e){return o.default.post("/api/candidate.user/deleteBank",e)},t.destroy=function(e){return o.default.post("/api/candidate.resume/destroy",e)},t.follow=function(e){return o.default.post("/api/candidate.forum/follow",e)},t.followgrouplist=function(e){return o.default.post("/api/candidate.forum/user_follow_group_list",e)},t.followuser=function(e){return o.default.post("/api/candidate.forum/mine_follow_user",e)},t.getAllArea=function(e){return o.default.post("/api/commons/getAllArea",e)},t.getBank=function(e){return o.default.post("/api/candidate.user/getBank",e)},t.getCode=function(e){return o.default.post("/api/sms/send",e)},t.getEmchatUsersData=function(e){return o.default.post("/api/candidate.user/getEmchatUsersData",e)},t.getList=function(e){return o.default.post("/api/candidate.job/get_list",e)},t.get_ad_list=function(e){return o.default.post("/api/article/get_ad_list",e)},t.get_agreement_detail=function(e){return o.default.post("/api/commons/get_agreement_detail",e)},t.get_category_field=function(e){return o.default.post("/api/commons/get_category_field",e)},t.get_category_industry=function(e){return o.default.post("/api/commons/get_category_industry",e)},t.get_category_industry_recommend=function(e){return o.default.post("/api/commons/get_category_industry_recommend",e)},t.get_category_job=function(e){return o.default.post("/api/commons/get_category_job",e)},t.get_category_job_ids=function(e){return o.default.post("/api/candidate.job/get_category_job_ids",e)},t.get_category_job_recommend=function(e){return o.default.post("/api/commons/get_category_job_recommend",e)},t.get_company_detail=function(e){return o.default.post("/api/candidate.activity/get_company_detail",e)},t.get_company_job_list=function(e){return o.default.post("/api/candidate.activity/get_company_job_list",e)},t.get_company_list=function(e){return o.default.post("/api/candidate.activity/get_company_list",e)},t.get_company_scale=function(e){return o.default.post("/api/commons/get_company_scale",e)},t.get_company_stage=function(e){return o.default.post("/api/commons/get_company_stage",e)},t.get_detail=function(e){return o.default.post("/api/candidate.activity/get_detail",e)},t.get_education=function(e){return o.default.post("/api/commons/get_education",e)},t.get_experience=function(e){return o.default.post("/api/commons/get_experience",e)},t.get_finance_config=function(e){return o.default.post("/api/commons/get_finance_config",e)},t.get_job_status=function(e){return o.default.post("/api/commons/get_job_status",e)},t.get_language=function(e){return o.default.post("/api/commons/get_language",e)},t.get_language_level=function(e){return o.default.post("/api/commons/get_language_level",e)},t.get_list=function(e){return o.default.post("/api/candidate.notification/get_list",e)},t.get_recommend=function(e){return o.default.post("/api/article/get_recommend",e)},t.get_sex=function(e){return o.default.post("/api/commons/get_sex",e)},t.getareacity=function(e){return o.default.post("/api/commons/get_area_city",e)},t.getdetail=function(e){return o.default.post("/api/candidate.job/get_detail",e)},t.getexperience=function(e){return o.default.post("/api/commons/get_experience",e)},t.getjob=function(e){return o.default.post("/api/commons/get_job_status",e)},t.getjoblist=function(e){return o.default.post("/api/company/get_company_job_list",e)},t.group_details_article=function(e){return o.default.post("/api/candidate.forum/group_details_article",e)},t.group_details_user=function(e){return o.default.post("/api/candidate.forum/group_details_user",e)},t.group_list=function(e){return o.default.post("/api/candidate.forum/group_list_mini",e)},t.grouplist=function(e){return o.default.get("/api/candidate.forum/group_list",e)},t.homepagearticle=function(e){return o.default.post("/api/candidate.forum/others_homepage_article",e)},t.index=function(e){return o.default.post("/api/candidate.user/index",e)},t.interview_accept=function(e){return o.default.post("/api/candidate.order/interview_accept",e)},t.interview_refuse=function(e){return o.default.post("/api/candidate.order/interview_refuse",e)},t.invite_list=function(e){return o.default.post("/api/candidate.user/invite_list",e)},t.is_auth=function(e){return o.default.post("/api/candidate.activity/is_auth",e)},t.jobdata=function(e){return o.default.post("/api/company/get_company_job_data",e)},t.marital=function(e){return o.default.post("/api/commons/get_marital_status",e)},t.message=function(e){return o.default.post("/api/candidate.forum/get_message_list",e)},t.mobileLogin=function(e){return o.default.post("/api/candidate.user/mobilelogin",e)},t.notification=function(e){return o.default.post("/api/candidate.notification/view",e)},t.ocr=function(e){return o.default.post("/api/candidate.resume/ocr",e)},t.offer_pass=function(e){return o.default.post("/api/candidate.order/offer_pass",e)},t.offer_refuse=function(e){return o.default.post("/api/candidate.order/offer_refuse",e)},t.orderCreate=function(e){return o.default.post("/api/candidate.order/create",e)},t.order_detail=function(e){return o.default.post("/api/candidate.order/detail",e)},t.orderlist=function(e){return o.default.post("/api/candidate.order/list",e)},t.others_homepage=function(e){return o.default.post("/api/candidate.forum/others_homepage",e)},t.parent_info=function(e){return o.default.post("/api/candidate.user/parent_info",e)},t.pay=function(e){return o.default.post("/api/candidate.order/pay",e)},t.phraseList=function(e){return o.default.post("/api/candidate.phrase/list",e)},t.phrase_create=function(e){return o.default.post("/api/candidate.phrase/create",e)},t.phrase_destory=function(e){return o.default.post("/api/candidate.phrase/destory",e)},t.phrase_update=function(e){return o.default.post("/api/candidate.phrase/update",e)},t.politics=function(e){return o.default.post("/api/commons/get_political_status",e)},t.private_setting=function(e){return o.default.post("/api/candidate.user/private_setting",e)},t.profile=function(e){return o.default.post("/api/candidate.user/profile",e)},t.readcomment=function(e){return o.default.get("/api/candidate.forum/read_comment",e)},t.refresh=function(e){return o.default.post("/api/candidate.resume/refresh",e)},t.resetpwd=function(e){return o.default.post("/api/candidate.user/resetpwd",e)},t.resumeDetail=function(e){return o.default.post("/api/candidate.resume/detail",e)},t.setBank=function(e){return o.default.post("/api/candidate.user/setBank",e)},t.third=function(e){return o.default.post("/api/candidate.user/third",e)},t.third_mobile=function(e){return o.default.post("/api/candidate.user/third_mobile",e)},t.update=function(e){return o.default.post("/api/candidate.resume/update",e)},t.upload=function(e){return o.default.post("/api/common/upload",e)},t.usergrouplist=function(e){return o.default.post("/api/candidate.forum/user_group_list",e)},t.view=function(e){return o.default.post("/api/candidate.notification/view",e)},t.withdraw=function(e){return o.default.post("/api/candidate.order/withdraw",e)};var o=n(r("65ca"))},"2eee":function(e,t,r){var n=r("7ec2")();e.exports=n},3092:function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={props:{bgColor:{type:String,default:e.$u.props.gap.bgColor},height:{type:[String,Number],default:e.$u.props.gap.height},marginTop:{type:[String,Number],default:e.$u.props.gap.marginTop},marginBottom:{type:[String,Number],default:e.$u.props.gap.marginBottom}}};t.default=r}).call(this,r("543d")["default"])},"30bd":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={cellGroup:{title:"",border:!0,customStyle:{}}}},"316e":function(e,t,r){"use strict";var n=r("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(r("9523")),i=n(r("7631")),a=n(r("0a43")),s=n(r("2591")),c=n(r("ffc1")),u=n(r("7dbd")),l=n(r("5379")),p=n(r("6007")),d=n(r("c7f3")),f=n(r("71e2")),h=n(r("df8a")),m=n(r("4a6b")),g=n(r("da76")),y=n(r("30bd")),v=n(r("0357")),E=n(r("7a44")),_=n(r("d56e")),T=n(r("b116")),O=n(r("4848")),b=n(r("c21d")),S=n(r("0b3e")),A=n(r("010c")),I=n(r("ad3e")),R=n(r("1f49")),C=n(r("9200")),N=n(r("b15d")),M=n(r("f2a1")),w=n(r("74e1")),P=n(r("19f8")),k=n(r("be3f")),x=n(r("f53f")),U=n(r("6386")),j=n(r("ce1d")),B=n(r("059c")),L=n(r("65fd")),D=n(r("b73d")),G=n(r("7acc")),H=n(r("ed3c")),F=n(r("cde7")),$=n(r("3ec0")),z=n(r("4df2")),W=n(r("632b")),V=n(r("5654")),q=n(r("6f3a")),K=n(r("40e7")),Q=n(r("9bee")),J=n(r("da3a")),Y=n(r("f858")),X=n(r("a583")),Z=n(r("1021")),ee=n(r("4c1d")),te=n(r("4c8e")),re=n(r("4647")),ne=n(r("0ec1")),oe=n(r("2389")),ie=n(r("d1f7")),ae=n(r("7ed3")),se=n(r("c0fc")),ce=n(r("3fd9")),ue=n(r("ad0c")),le=n(r("1bc3")),pe=n(r("fae5")),de=n(r("0296")),fe=n(r("26b7")),he=n(r("5247")),me=n(r("0235")),ge=n(r("6e86")),ye=n(r("7e42")),ve=n(r("c172")),Ee=n(r("e8bc")),_e=n(r("9954")),Te=n(r("9807")),Oe=n(r("19df")),be=n(r("36c7")),Se=n(r("b46a")),Ae=n(r("1426")),Ie=n(r("b99a")),Re=n(r("f3dd0")),Ce=n(r("2d29")),Ne=n(r("a1bf")),Me=n(r("e855")),we=n(r("6a80")),Pe=n(r("e890")),ke=n(r("a201")),xe=n(r("4f8c")),Ue=n(r("b693")),je=n(r("e14c")),Be=n(r("d617")),Le=n(r("6fbb")),De=n(r("2d03"));function Ge(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function He(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Ge(Object(r),!0).forEach((function(t){(0,o.default)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Ge(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}i.default.color;var Fe=He(He(He(He(He(He(He(He(He(He(He(He(He(He(He(He(He(He(He(He(He(He(He(He(He(He(He(He(He(He(He(He(He(He(He(He(He(He(He(He(He(He(He(He(He(He(He(He(He(He(He(He(He(He(He(He(He(He(He(He(He(He(He(He(He(He(He(He(He(He(He(He(He(He(He(He(He(He(He(He(He(He(He(He(He(He(He(He({},a.default),s.default),c.default),u.default),l.default),p.default),d.default),f.default),h.default),m.default),g.default),y.default),v.default),E.default),_.default),T.default),O.default),b.default),S.default),A.default),I.default),R.default),C.default),N.default),M.default),w.default),P.default),k.default),x.default),U.default),j.default),B.default),L.default),D.default),G.default),H.default),F.default),$.default),z.default),W.default),V.default),q.default),K.default),Q.default),J.default),Y.default),X.default),Z.default),ee.default),te.default),re.default),ne.default),oe.default),ie.default),ae.default),se.default),ce.default),ue.default),le.default),pe.default),de.default),fe.default),he.default),me.default),ge.default),ye.default),ve.default),Ee.default),_e.default),Te.default),Oe.default),be.default),Se.default),Ae.default),Ie.default),Re.default),Ce.default),Ne.default),Me.default),we.default),Pe.default),ke.default),xe.default),Ue.default),je.default),Be.default),Le.default),De.default);t.default=Fe},"33d7":function(e,t,r){"use strict";(function(e){var n=r("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(r("278c")),i=n(r("7037")),a=n(r("b56d")),s=r("c911");function c(e){var t,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new WeakMap;if(null===e||"object"!==(0,i.default)(e))return e;if(r.has(e))return r.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),n=t[0],i=t[1];return[n,c(i,r)]})));else if(e instanceof Set)t=new Set(Array.from(e,(function(e){return c(e,r)})));else if(Array.isArray(e))t=e.map((function(e){return c(e,r)}));else if("[object Object]"===Object.prototype.toString.call(e)){t=Object.create(Object.getPrototypeOf(e)),r.set(e,t);for(var n=0,a=Object.entries(e);n<a.length;n++){var s=(0,o.default)(a[n],2),u=s[0],l=s[1];t[u]=c(l,r)}}else t=Object.assign({},e);return r.set(e,t),t}function u(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,r=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 n={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 n){var a=new RegExp("".concat(i,"+")).exec(r)||[],s=(0,o.default)(a,1),c=s[0];if(c){var u="y"===i&&2===c.length?2:0;r=r.replace(c,n[i].slice(u))}}return r}function l(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 r=this;if(r.length>=e)return String(r);var n=e-r.length,o=Math.ceil(n/t.length);while(o>>=1)t+=t,1===o&&(t+=t);return t.slice(0,n)+r});var p={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,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return Math.max(e,Math.min(t,Number(r)))},getPx:function(t){var r=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return a.default.number(t)?r?"".concat(t,"px"):Number(t):/(rpx|upx)$/.test(t)?r?"".concat(e.upx2px(parseInt(t)),"px"):Number(e.upx2px(parseInt(t))):r?"".concat(parseInt(t),"px"):parseInt(t)},sleep:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:30;return new Promise((function(t){setTimeout((function(){t()}),e)}))},os:function(){return e.getSystemInfoSync().platform.toLowerCase()},sys:function(){return e.getSystemInfoSync()},random:function(e,t){if(e>=0&&t>0&&t>=e){var r=t-e+1;return Math.floor(Math.random()*r+e)}return 0},guid:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:32,t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,n="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz".split(""),o=[];if(r=r||n.length,e)for(var i=0;i<e;i++)o[i]=n[0|Math.random()*r];else{var a;o[8]=o[13]=o[18]=o[23]="-",o[14]="4";for(var s=0;s<36;s++)o[s]||(a=0|16*Math.random(),o[s]=n[19==s?3&a|8:a])}return t?(o.shift(),"u".concat(o.join(""))):o.join("")},$parent:function(){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},addStyle:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"object";if(a.default.empty(e)||"object"===(0,i.default)(e)&&"object"===t||"string"===t&&"string"===typeof e)return e;if("object"===t){e=l(e);for(var r=e.split(";"),n={},o=0;o<r.length;o++)if(r[o]){var s=r[o].split(":");n[l(s[0])]=l(s[1])}return n}var c="";for(var u in e){var p=u.replace(/([A-Z])/g,"-$1").toLowerCase();c+="".concat(p,":").concat(e[u],";")}return l(c)},addUnit:function(){var t,r,n,o,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"auto",s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null!==(t=null===(r=e)||void 0===r||null===(n=r.$u)||void 0===n||null===(o=n.config)||void 0===o?void 0:o.unit)&&void 0!==t?t:"px";return i=String(i),a.default.number(i)?"".concat(i).concat(s):i},deepClone:c,deepMerge:function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(t=c(t),"object"!==(0,i.default)(t)||null===t||"object"!==(0,i.default)(r)||null===r)return t;var n=Array.isArray(t)?t.slice():Object.assign({},t);for(var o in r)if(r.hasOwnProperty(o)){var a=r[o],s=n[o];a instanceof Date?n[o]=new Date(a):a instanceof RegExp?n[o]=new RegExp(a):a instanceof Map?n[o]=new Map(a):a instanceof Set?n[o]=new Set(a):"object"===(0,i.default)(a)&&null!==a?n[o]=e(s,a):n[o]=a}return n},error:function(e){0},randomArray:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return e.sort((function(){return Math.random()-.5}))},timeFormat:u,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 r=(new Date).getTime()-e;r=parseInt(r/1e3);var n="";switch(!0){case r<300:n="刚刚";break;case r>=300&&r<3600:n="".concat(parseInt(r/60),"分钟前");break;case r>=3600&&r<86400:n="".concat(parseInt(r/3600),"小时前");break;case r>=86400&&r<2592e3:n="".concat(parseInt(r/86400),"天前");break;default:n=!1===t?r>=2592e3&&r<31536e3?"".concat(parseInt(r/2592e3),"个月前"):"".concat(parseInt(r/31536e3),"年前"):u(e,t)}return n},trim:l,queryParams:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"brackets",n=t?"?":"",o=[];-1==["indices","brackets","repeat","comma"].indexOf(r)&&(r="brackets");var i=function(t){var n=e[t];if(["",void 0,null].indexOf(n)>=0)return"continue";if(n.constructor===Array)switch(r){case"indices":for(var i=0;i<n.length;i++)o.push("".concat(t,"[").concat(i,"]=").concat(n[i]));break;case"brackets":n.forEach((function(e){o.push("".concat(t,"[]=").concat(e))}));break;case"repeat":n.forEach((function(e){o.push("".concat(t,"=").concat(e))}));break;case"comma":var a="";n.forEach((function(e){a+=(a?",":"")+e})),o.push("".concat(t,"=").concat(a));break;default:n.forEach((function(e){o.push("".concat(t,"[]=").concat(e))}))}else o.push("".concat(t,"=").concat(n))};for(var a in e)i(a);return o.length?n+o.join("&"):""},toast:function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2e3;e.showToast({title:String(t),icon:"none",duration:r})},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 r="";switch(e){case"primary":r="info-circle";break;case"info":r="info-circle";break;case"error":r="close-circle";break;case"warning":r="error-circle";break;case"success":r="checkmark-circle";break;default:r="checkmark-circle"}return t&&(r+="-fill"),r},priceFormat:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:".",n=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 n?",":n,c="undefined"===typeof r?".":r,u="";u=(i?(0,s.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"));return(u[1]||"").length<i&&(u[1]=u[1]||"",u[1]+=new Array(i-u[1].length+1).join("0")),u.join(c)},getDuration:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=parseInt(e);return t?/s$/.test(e)?e:"".concat(e,e>30?"ms":"s"):/ms$/.test(e)?r:/s$/.test(e)?r>30?r:1e3*r:r},padZero:function(e){return"00".concat(e).slice(-2)},formValidate:function(t,r){var n=e.$u.$parent.call(t,"u-form-item"),o=e.$u.$parent.call(t,"u-form");n&&o&&o.validateField(n.prop,(function(){}),r)},getProperty:function(e,t){if(e){if("string"!==typeof t||""===t)return"";if(-1!==t.indexOf(".")){for(var r=t.split("."),n=e[r[0]]||{},o=1;o<r.length;o++)n&&(n=n[r[o]]);return n}return e[t]}},setProperty:function(e,t,r){if(e){if("string"!==typeof t||""===t);else if(-1!==t.indexOf(".")){var n=t.split(".");(function e(t,r,n){if(1!==r.length)while(r.length>1){var o=r[0];t[o]&&"object"===(0,i.default)(t[o])||(t[o]={});r.shift();e(t[o],r,n)}else t[r[0]]=n})(e,n,r)}else e[t]=r}},page:function(){var e,t,r=getCurrentPages();return"/".concat(null!==(e=null===(t=r[r.length-1])||void 0===t?void 0:t.route)&&void 0!==e?e:"")},pages:function(){var e=getCurrentPages();return e},getHistoryPage:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=getCurrentPages(),r=t.length;return t[r-1+e]},setConfig:function(t){var r=t.props,n=void 0===r?{}:r,o=t.config,i=void 0===o?{}:o,a=t.color,s=void 0===a?{}:a,c=t.zIndex,u=void 0===c?{}:c,l=e.$u.deepMerge;e.$u.config=l(e.$u.config,i),e.$u.props=l(e.$u.props,n),e.$u.color=l(e.$u.color,s),e.$u.zIndex=l(e.$u.zIndex,u)}};t.default=p}).call(this,r("543d")["default"])},"34b8":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.readablizeBytes=function(e){var t=Math.floor(Math.log(e)/Math.log(1024));return(e/Math.pow(1024,Math.floor(t))).toFixed(2)+" "+["Bytes","KB","MB","GB","TB","PB"][t]},t.renderTime=function(e){var t=new Date(parseInt(e)),r=(t.getFullYear(),t.getMonth()+1<10?"0"+(t.getMonth()+1):t.getMonth()+1),n=t.getDate()<10?"0"+t.getDate():t.getDate(),o=t.getHours()<10?"0"+t.getHours():t.getHours(),i=t.getMinutes()<10?"0"+t.getMinutes():t.getMinutes();t.getSeconds(),t.getSeconds();return"".concat(r,"-").concat(n," ").concat(o,":").concat(i)}},"36c7":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={subsection:{list:[],current:0,activeColor:"#3c9cff",inactiveColor:"#303133",mode:"button",fontSize:12,bold:!0,bgColor:"#eeeeef",keyName:"name"}}},"37dc":function(e,t,r){"use strict";(function(e,n){var o=r("4ea4");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 r=t.locale,n=t.locales,o=t.delimiters;if(!A(e,o))return e;b||(b=new p);var i=[];Object.keys(n).forEach((function(e){e!==r&&i.push({locale:e,values:n[e]})})),i.unshift({locale:r,values:n[r]});try{return JSON.stringify(R(JSON.parse(e),i,o),null,2)}catch(a){}return e},t.hasI18nJson=function e(t,r){b||(b=new p);return C(t,(function(t,n){var o=t[n];return S(o)?!!A(o,r)||void 0:e(o,r)}))},t.initVueI18n=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0,n=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=O());"string"!==typeof r&&(r="undefined"!==typeof __uniConfig&&__uniConfig.fallbackLocale||"en");var i=new _({locale:e,fallbackLocale:r,messages:t,watcher:n}),a=function(e,t){if("function"!==typeof getApp)a=function(e,t){return i.t(e,t)};else{var r=!1;a=function(e,t){var n=getApp().$vm;return n&&(n.$locale,r||(r=!0,T(n,i))),i.t(e,t)}}return a(e,t)};return{i18n:i,f:function(e,t,r){return i.f(e,t,r)},t:function(e,t){return a(e,t)},add:function(e,t){var r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return i.add(e,t,r)},watch:function(e){return i.watchLocale(e)},getLocale:function(){return i.getLocale()},setLocale:function(e){return i.setLocale(e)}}},t.isI18nStr=A,t.isString=void 0,t.normalizeLocale=E,t.parseI18nJson=function e(t,r,n){b||(b=new p);return C(t,(function(t,o){var i=t[o];S(i)?A(i,n)&&(t[o]=I(i,r,n)):e(i,r,n)})),t},t.resolveLocale=function(e){return function(t){return t?(t=E(t)||t,function(e){var t=[],r=e.split("-");while(r.length)t.push(r.join("-")),r.pop();return t}(t).find((function(t){return e.indexOf(t)>-1}))):t}};var i=o(r("278c")),a=o(r("970b")),s=o(r("5bc3")),c=o(r("7037")),u=function(e){return null!==e&&"object"===(0,c.default)(e)},l=["{","}"],p=function(){function e(){(0,a.default)(this,e),this._caches=Object.create(null)}return(0,s.default)(e,[{key:"interpolate",value:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:l;if(!t)return[e];var n=this._caches[e];return n||(n=h(e,r),this._caches[e]=n),m(n,t)}}]),e}();t.Formatter=p;var d=/^(?:\d)+/,f=/^(?:\w)+/;function h(e,t){var r=(0,i.default)(t,2),n=r[0],o=r[1],a=[],s=0,c="";while(s<e.length){var u=e[s++];if(u===n){c&&a.push({type:"text",value:c}),c="";var l="";u=e[s++];while(void 0!==u&&u!==o)l+=u,u=e[s++];var p=u===o,h=d.test(l)?"list":p&&f.test(l)?"named":"unknown";a.push({value:l,type:h})}else c+=u}return c&&a.push({type:"text",value:c}),a}function m(e,t){var r=[],n=0,o=Array.isArray(t)?"list":u(t)?"named":"unknown";if("unknown"===o)return r;while(n<e.length){var i=e[n];switch(i.type){case"text":r.push(i.value);break;case"list":r.push(t[parseInt(i.value,10)]);break;case"named":"named"===o&&r.push(t[i.value]);break;case"unknown":0;break}n++}return r}t.LOCALE_ZH_HANS="zh-Hans";t.LOCALE_ZH_HANT="zh-Hant";t.LOCALE_EN="en";t.LOCALE_FR="fr";t.LOCALE_ES="es";var g=Object.prototype.hasOwnProperty,y=function(e,t){return g.call(e,t)},v=new p;function E(e,t){if(e){if(e=e.trim().replace(/_/g,"-"),t&&t[e])return e;if(e=e.toLowerCase(),"chinese"===e)return"zh-Hans";if(0===e.indexOf("zh"))return e.indexOf("-hans")>-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 r=["en","fr","es"];t&&Object.keys(t).length>0&&(r=Object.keys(t));var n=function(e,t){return t.find((function(t){return 0===e.indexOf(t)}))}(e,r);return n||void 0}}var _=function(){function e(t){var r=t.locale,n=t.fallbackLocale,o=t.messages,i=t.watcher,s=t.formater;(0,a.default)(this,e),this.locale="en",this.fallbackLocale="en",this.message={},this.messages={},this.watchers=[],n&&(this.fallbackLocale=n),this.formater=s||v,this.messages=o||{},this.setLocale(r||"en"),i&&this.watchLocale(i)}return(0,s.default)(e,[{key:"setLocale",value:function(e){var t=this,r=this.locale;this.locale=E(e,this.messages)||this.fallbackLocale,this.messages[this.locale]||(this.messages[this.locale]={}),this.message=this.messages[this.locale],r!==this.locale&&this.watchers.forEach((function(e){e(t.locale,r)}))}},{key:"getLocale",value:function(){return this.locale}},{key:"watchLocale",value:function(e){var t=this,r=this.watchers.push(e)-1;return function(){t.watchers.splice(r,1)}}},{key:"add",value:function(e,t){var r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],n=this.messages[e];n?r?Object.assign(n,t):Object.keys(t).forEach((function(e){y(n,e)||(n[e]=t[e])})):this.messages[e]=t}},{key:"f",value:function(e,t,r){return this.formater.interpolate(e,t,r).join("")}},{key:"t",value:function(e,t,r){var n=this.message;return"string"===typeof t?(t=E(t,this.messages),t&&(n=this.messages[t])):r=t,y(n,e)?this.formater.interpolate(n[e],r).join(""):(console.warn("Cannot translate the value of keypath ".concat(e,". Use the value of keypath as default.")),e)}}]),e}();function T(e,t){e.$watchLocale?e.$watchLocale((function(e){t.setLocale(e)})):e.$watch((function(){return e.$locale}),(function(e){t.setLocale(e)}))}function O(){return"undefined"!==typeof e&&e.getLocale?e.getLocale():"undefined"!==typeof n&&n.getLocale?n.getLocale():"en"}t.I18n=_;var b,S=function(e){return"string"===typeof e};function A(e,t){return e.indexOf(t[0])>-1}function I(e,t,r){return b.interpolate(e,t,r).join("")}function R(e,t,r){return C(e,(function(e,n){(function(e,t,r,n){var o=e[t];if(S(o)){if(A(o,n)&&(e[t]=I(o,r[0].values,n),r.length>1)){var i=e[t+"Locales"]={};r.forEach((function(e){i[e.locale]=I(o,e.values,n)}))}}else R(o,r,n)})(e,n,t,r)})),e}function C(e,t){if(Array.isArray(e)){for(var r=0;r<e.length;r++)if(t(e,r))return!0}else if(u(e))for(var n in e)if(t(e,n))return!0;return!1}t.isString=S}).call(this,r("543d")["default"],r("c8ba"))},"39a3":function(e,t,r){"use strict";function n(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=/^#([0-9a-fA-f]{3}|[0-9a-fA-f]{6})$/;if(e=String(e).toLowerCase(),e&&r.test(e)){if(4===e.length){for(var n="#",o=1;o<4;o+=1)n+=e.slice(o,o+1).concat(e.slice(o,o+1));e=n}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 s=e.replace(/(?:\(|\)|rgb|RGB)*/g,"").split(",");return s.map((function(e){return Number(e)}))}return e}function o(e){var t=e;if(/^(rgb|RGB)/.test(t)){for(var r=t.replace(/(?:\(|\)|rgb|RGB)*/g,"").split(","),n="#",o=0;o<r.length;o++){var i=Number(r[o]).toString(16);i=1==String(i).length?"".concat(0,i):i,"0"===i&&(i+=i),n+=i}return 7!==n.length&&(n=t),n}if(!/^#([0-9a-fA-f]{3}|[0-9a-fA-f]{6})$/.test(t))return t;var a=t.replace(/#/,"").split("");if(6===a.length)return t;if(3===a.length){for(var s="#",c=0;c<a.length;c+=1)s+=a[c]+a[c];return s}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i={colorGradient:function(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"rgb(0, 0, 0)",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"rgb(255, 255, 255)",r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:10,i=n(e,!1),a=i[0],s=i[1],c=i[2],u=n(t,!1),l=u[0],p=u[1],d=u[2],f=(l-a)/r,h=(p-s)/r,m=(d-c)/r,g=[],y=0;y<r;y++){var v=o("rgb(".concat(Math.round(f*y+a),",").concat(Math.round(h*y+s),",").concat(Math.round(m*y+c),")"));0===y&&(v=o(e)),y===r-1&&(v=o(t)),g.push(v)}return g},hexToRgb:n,rgbToHex:o,colorToRgba:function(e,t){e=o(e);var r=String(e).toLowerCase();if(r&&/^#([0-9a-fA-f]{3}|[0-9a-fA-f]{6})$/.test(r)){if(4===r.length){for(var n="#",i=1;i<4;i+=1)n+=r.slice(i,i+1).concat(r.slice(i,i+1));r=n}for(var a=[],s=1;s<7;s+=2)a.push(parseInt("0x".concat(r.slice(s,s+2))));return"rgba(".concat(a.join(","),",").concat(t,")")}return r}};t.default=i},"3d2a":function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={props:{hairline:{type:Boolean,default:e.$u.props.button.hairline},type:{type:String,default:e.$u.props.button.type},size:{type:String,default:e.$u.props.button.size},shape:{type:String,default:e.$u.props.button.shape},plain:{type:Boolean,default:e.$u.props.button.plain},disabled:{type:Boolean,default:e.$u.props.button.disabled},loading:{type:Boolean,default:e.$u.props.button.loading},loadingText:{type:[String,Number],default:e.$u.props.button.loadingText},loadingMode:{type:String,default:e.$u.props.button.loadingMode},loadingSize:{type:[String,Number],default:e.$u.props.button.loadingSize},openType:{type:String,default:e.$u.props.button.openType},formType:{type:String,default:e.$u.props.button.formType},appParameter:{type:String,default:e.$u.props.button.appParameter},hoverStopPropagation:{type:Boolean,default:e.$u.props.button.hoverStopPropagation},lang:{type:String,default:e.$u.props.button.lang},sessionFrom:{type:String,default:e.$u.props.button.sessionFrom},sendMessageTitle:{type:String,default:e.$u.props.button.sendMessageTitle},sendMessagePath:{type:String,default:e.$u.props.button.sendMessagePath},sendMessageImg:{type:String,default:e.$u.props.button.sendMessageImg},showMessageCard:{type:Boolean,default:e.$u.props.button.showMessageCard},dataName:{type:String,default:e.$u.props.button.dataName},throttleTime:{type:[String,Number],default:e.$u.props.button.throttleTime},hoverStartTime:{type:[String,Number],default:e.$u.props.button.hoverStartTime},hoverStayTime:{type:[String,Number],default:e.$u.props.button.hoverStayTime},text:{type:[String,Number],default:e.$u.props.button.text},icon:{type:String,default:e.$u.props.button.icon},iconColor:{type:String,default:e.$u.props.button.icon},color:{type:String,default:e.$u.props.button.color}}};t.default=r}).call(this,r("543d")["default"])},"3e8f":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={"uicon-level":"","uicon-column-line":"","uicon-checkbox-mark":"","uicon-folder":"","uicon-movie":"","uicon-star-fill":"","uicon-star":"","uicon-phone-fill":"","uicon-phone":"","uicon-apple-fill":"","uicon-chrome-circle-fill":"","uicon-backspace":"","uicon-attach":"","uicon-cut":"","uicon-empty-car":"","uicon-empty-coupon":"","uicon-empty-address":"","uicon-empty-favor":"","uicon-empty-permission":"","uicon-empty-news":"","uicon-empty-search":"","uicon-github-circle-fill":"","uicon-rmb":"","uicon-person-delete-fill":"","uicon-reload":"","uicon-order":"","uicon-server-man":"","uicon-search":"","uicon-fingerprint":"","uicon-more-dot-fill":"","uicon-scan":"","uicon-share-square":"","uicon-map":"","uicon-map-fill":"","uicon-tags":"","uicon-tags-fill":"","uicon-bookmark-fill":"","uicon-bookmark":"","uicon-eye":"","uicon-eye-fill":"","uicon-mic":"","uicon-mic-off":"","uicon-calendar":"","uicon-calendar-fill":"","uicon-trash":"","uicon-trash-fill":"","uicon-play-left":"","uicon-play-right":"","uicon-minus":"","uicon-plus":"","uicon-info":"","uicon-info-circle":"","uicon-info-circle-fill":"","uicon-question":"","uicon-error":"","uicon-close":"","uicon-checkmark":"","uicon-android-circle-fill":"","uicon-android-fill":"","uicon-ie":"","uicon-IE-circle-fill":"","uicon-google":"","uicon-google-circle-fill":"","uicon-setting-fill":"","uicon-setting":"","uicon-minus-square-fill":"","uicon-plus-square-fill":"","uicon-heart":"","uicon-heart-fill":"","uicon-camera":"","uicon-camera-fill":"","uicon-more-circle":"","uicon-more-circle-fill":"","uicon-chat":"","uicon-chat-fill":"","uicon-bag-fill":"","uicon-bag":"","uicon-error-circle-fill":"","uicon-error-circle":"","uicon-close-circle":"","uicon-close-circle-fill":"","uicon-checkmark-circle":"","uicon-checkmark-circle-fill":"","uicon-question-circle-fill":"","uicon-question-circle":"","uicon-share":"","uicon-share-fill":"","uicon-shopping-cart":"","uicon-shopping-cart-fill":"","uicon-bell":"","uicon-bell-fill":"","uicon-list":"","uicon-list-dot":"","uicon-zhihu":"","uicon-zhihu-circle-fill":"","uicon-zhifubao":"","uicon-zhifubao-circle-fill":"","uicon-weixin-circle-fill":"","uicon-weixin-fill":"","uicon-twitter-circle-fill":"","uicon-twitter":"","uicon-taobao-circle-fill":"","uicon-taobao":"","uicon-weibo-circle-fill":"","uicon-weibo":"","uicon-qq-fill":"","uicon-qq-circle-fill":"","uicon-moments-circel-fill":"","uicon-moments":"","uicon-qzone":"","uicon-qzone-circle-fill":"","uicon-baidu-circle-fill":"","uicon-baidu":"","uicon-facebook-circle-fill":"","uicon-facebook":"","uicon-car":"","uicon-car-fill":"","uicon-warning-fill":"","uicon-warning":"","uicon-clock-fill":"","uicon-clock":"","uicon-edit-pen":"","uicon-edit-pen-fill":"","uicon-email":"","uicon-email-fill":"","uicon-minus-circle":"","uicon-minus-circle-fill":"","uicon-plus-circle":"","uicon-plus-circle-fill":"","uicon-file-text":"","uicon-file-text-fill":"","uicon-pushpin":"","uicon-pushpin-fill":"","uicon-grid":"","uicon-grid-fill":"","uicon-play-circle":"","uicon-play-circle-fill":"","uicon-pause-circle-fill":"","uicon-pause":"","uicon-pause-circle":"","uicon-eye-off":"","uicon-eye-off-outline":"","uicon-gift-fill":"","uicon-gift":"","uicon-rmb-circle-fill":"","uicon-rmb-circle":"","uicon-kefu-ermai":"","uicon-server-fill":"","uicon-coupon-fill":"","uicon-coupon":"","uicon-integral":"","uicon-integral-fill":"","uicon-home-fill":"","uicon-home":"","uicon-hourglass-half-fill":"","uicon-hourglass":"","uicon-account":"","uicon-plus-people-fill":"","uicon-minus-people-fill":"","uicon-account-fill":"","uicon-thumb-down-fill":"","uicon-thumb-down":"","uicon-thumb-up":"","uicon-thumb-up-fill":"","uicon-lock-fill":"","uicon-lock-open":"","uicon-lock-opened-fill":"","uicon-lock":"","uicon-red-packet-fill":"","uicon-photo-fill":"","uicon-photo":"","uicon-volume-off-fill":"","uicon-volume-off":"","uicon-volume-fill":"","uicon-volume":"","uicon-red-packet":"","uicon-download":"","uicon-arrow-up-fill":"","uicon-arrow-down-fill":"","uicon-play-left-fill":"","uicon-play-right-fill":"","uicon-rewind-left-fill":"","uicon-rewind-right-fill":"","uicon-arrow-downward":"","uicon-arrow-leftward":"","uicon-arrow-rightward":"","uicon-arrow-upward":"","uicon-arrow-down":"","uicon-arrow-right":"","uicon-arrow-left":"","uicon-arrow-up":"","uicon-skip-back-left":"","uicon-skip-forward-right":"","uicon-rewind-right":"","uicon-rewind-left":"","uicon-arrow-right-double":"","uicon-arrow-left-double":"","uicon-wifi-off":"","uicon-wifi":"","uicon-empty-data":"","uicon-empty-history":"","uicon-empty-list":"","uicon-empty-page":"","uicon-empty-order":"","uicon-man":"","uicon-woman":"","uicon-man-add":"","uicon-man-add-fill":"","uicon-man-delete":"","uicon-man-delete-fill":"","uicon-zh":"","uicon-en":""}},"3ec0":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={line:{color:"#d6d7d9",length:"100%",direction:"row",hairline:!0,margin:0,dashed:!1}}},"3fd9":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={radio:{name:"",shape:"",disabled:"",labelDisabled:"",activeColor:"",inactiveColor:"",iconSize:"",labelSize:"",label:"",labelColor:"",size:"",iconColor:"",placement:""}}},"40e7":function(e,t,r){"use strict";var n=r("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(r("7631")),i=o.default.color,a={loadingIcon:{show:!0,color:i["u-tips-color"],textColor:i["u-tips-color"],vertical:!1,mode:"spinner",size:24,textSize:15,text:"",timingFunction:"ease-in-out",duration:1200,inactiveColor:""}};t.default=a},"448a":function(e,t,r){var n=r("2236"),o=r("11b0"),i=r("6613"),a=r("0676");e.exports=function(e){return n(e)||o(e)||i(e)||a()},e.exports.__esModule=!0,e.exports["default"]=e.exports},4647:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={numberBox:{name:"",value:0,min:1,max:Number.MAX_SAFE_INTEGER,step:1,integer:!1,disabled:!1,disabledInput:!1,asyncChange:!1,inputWidth:35,showMinus:!0,showPlus:!0,decimalLength:null,longPress:!0,color:"#323233",buttonSize:30,bgColor:"#EBECEE",cursorSpacing:100,disableMinus:!1,disablePlus:!1,iconStyle:""}};t.default=n},4751:function(e,t,r){"use strict";var n;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,r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];r?n||(n=!0,"function"===typeof e&&e(),setTimeout((function(){n=!1}),t)):n||(n=!0,setTimeout((function(){n=!1,"function"===typeof e&&e()}),t))};t.default=o},"480f":function(e,t,r){var n=r("c135"),o=r("11b0"),i=r("6613"),a=r("c240");e.exports=function(e){return n(e)||o(e)||i(e)||a()},e.exports.__esModule=!0,e.exports["default"]=e.exports},4848:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={codeInput:{adjustPosition:!0,maxlength:6,dot:!1,mode:"box",hairline:!1,space:10,value:"",focus:!1,bold:!1,color:"#606266",fontSize:18,size:35,disabledKeyboard:!1,borderColor:"#c9cacc",disabledDot:!0}}},"4a4b":function(e,t){function r(t,n){return e.exports=r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},e.exports.__esModule=!0,e.exports["default"]=e.exports,r(t,n)}e.exports=r,e.exports.__esModule=!0,e.exports["default"]=e.exports},"4a6b":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={carKeyboard:{random:!1}}},"4c1d":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={noticeBar:{text:function(){return[]},direction:"row",step:!1,icon:"volume",mode:"",color:"#f9ae3d",bgColor:"#fdf6ec",speed:80,fontSize:14,duration:2e3,disableTouch:!0,url:"",linkType:"navigateTo"}}},"4c8e":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={notify:{top:0,type:"primary",color:"#ffffff",bgColor:"",message:"",duration:3e3,fontSize:15,safeAreaInsetTop:!1}}},"4d5f":function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={props:{show:{type:Boolean,default:e.$u.props.transition.show},mode:{type:String,default:e.$u.props.transition.mode},duration:{type:[String,Number],default:e.$u.props.transition.duration},timingFunction:{type:String,default:e.$u.props.transition.timingFunction}}};t.default=r}).call(this,r("543d")["default"])},"4df2":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={lineProgress:{activeColor:"#19be6b",inactiveColor:"#ececec",percentage:0,showText:!0,height:12}}},"4ea4":function(e,t){e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.__esModule=!0,e.exports["default"]=e.exports},"4f8c":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={textarea:{value:"",placeholder:"",placeholderClass:"textarea-placeholder",placeholderStyle:"color: #c0c4cc",height:70,confirmType:"done",disabled:!1,count:!1,focus:!1,autoHeight:!1,fixed:!1,cursorSpacing:0,cursor:"",showConfirmBar:!0,selectionStart:-1,selectionEnd:-1,adjustPosition:!0,disableDefaultPadding:!1,holdKeyboard:!1,maxlength:140,border:"surround",formatter:null}}},5103:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={options:{virtualHost:!0}}},"519b":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}},5247:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={scrollList:{indicatorWidth:50,indicatorBarWidth:20,indicator:!0,indicatorColor:"#f2f2f2",indicatorActiveColor:"#3c9cff",indicatorStyle:""}}},5379:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={avatarGroup:{urls:function(){return[]},maxCount:5,shape:"circle",mode:"scaleToFill",showMore:!0,size:40,keyName:"",gap:.5,extraValue:0}}},"543d":function(e,t,r){"use strict";(function(e,n){var o=r("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t.createApp=wt,t.createComponent=Ht,t.createPage=Gt,t.createPlugin=$t,t.createSubpackageApp=Ft,t.default=void 0;var i,a=o(r("278c")),s=o(r("9523")),c=o(r("b17c")),u=o(r("448a")),l=o(r("7037")),p=r("37dc"),d=o(r("66fd"));function f(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function h(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?f(Object(r),!0).forEach((function(t){(0,s.default)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):f(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var m="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",g=/^(?:[A-Za-z\d+/]{4})*?(?:[A-Za-z\d+/]{2}(?:==)?|[A-Za-z\d+/]{3}=?)?$/;function y(){var t,r=e.getStorageSync("uni_id_token")||"",n=r.split(".");if(!r||3!==n.length)return{uid:null,role:[],permission:[],tokenExpired:0};try{t=JSON.parse(function(e){return decodeURIComponent(i(e).split("").map((function(e){return"%"+("00"+e.charCodeAt(0).toString(16)).slice(-2)})).join(""))}(n[1]))}catch(o){throw new Error("获取当前用户信息出错,详细错误信息为:"+o.message)}return t.tokenExpired=1e3*t.exp,delete t.exp,delete t.iat,t}i="function"!==typeof atob?function(e){if(e=String(e).replace(/[\t\n\f\r ]+/g,""),!g.test(e))throw new Error("Failed to execute 'atob' on 'Window': The string to be decoded is not correctly encoded.");var t;e+="==".slice(2-(3&e.length));for(var r,n,o="",i=0;i<e.length;)t=m.indexOf(e.charAt(i++))<<18|m.indexOf(e.charAt(i++))<<12|(r=m.indexOf(e.charAt(i++)))<<6|(n=m.indexOf(e.charAt(i++))),o+=64===r?String.fromCharCode(t>>16&255):64===n?String.fromCharCode(t>>16&255,t>>8&255):String.fromCharCode(t>>16&255,t>>8&255,255&t);return o}:atob;var v=Object.prototype.toString,E=Object.prototype.hasOwnProperty;function _(e){return"function"===typeof e}function T(e){return"string"===typeof e}function O(e){return"[object Object]"===v.call(e)}function b(e,t){return E.call(e,t)}function S(){}function A(e){var t=Object.create(null);return function(r){var n=t[r];return n||(t[r]=e(r))}}var I=/-(\w)/g,R=A((function(e){return e.replace(I,(function(e,t){return t?t.toUpperCase():""}))}));function C(e){var t={};return O(e)&&Object.keys(e).sort().forEach((function(r){t[r]=e[r]})),Object.keys(t)?t:e}var N=["invoke","success","fail","complete","returnValue"],M={},w={};function P(e,t){Object.keys(t).forEach((function(r){-1!==N.indexOf(r)&&_(t[r])&&(e[r]=function(e,t){var r=t?e?e.concat(t):Array.isArray(t)?t:[t]:e;return r?function(e){for(var t=[],r=0;r<e.length;r++)-1===t.indexOf(e[r])&&t.push(e[r]);return t}(r):r}(e[r],t[r]))}))}function k(e,t){e&&t&&Object.keys(t).forEach((function(r){-1!==N.indexOf(r)&&_(t[r])&&function(e,t){var r=e.indexOf(t);-1!==r&&e.splice(r,1)}(e[r],t[r])}))}function x(e,t){return function(r){return e(r,t)||r}}function U(e){return!!e&&("object"===(0,l.default)(e)||"function"===typeof e)&&"function"===typeof e.then}function j(e,t,r){for(var n=!1,o=0;o<e.length;o++){var i=e[o];if(n)n=Promise.resolve(x(i,r));else{var a=i(t,r);if(U(a)&&(n=Promise.resolve(a)),!1===a)return{then:function(){}}}}return n||{then:function(e){return e(t)}}}function B(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return["success","fail","complete"].forEach((function(r){if(Array.isArray(e[r])){var n=t[r];t[r]=function(o){j(e[r],o,t).then((function(e){return _(n)&&n(e)||e}))}}})),t}function L(e,t){var r=[];Array.isArray(M.returnValue)&&r.push.apply(r,(0,u.default)(M.returnValue));var n=w[e];return n&&Array.isArray(n.returnValue)&&r.push.apply(r,(0,u.default)(n.returnValue)),r.forEach((function(e){t=e(t)||t})),t}function D(e){var t=Object.create(null);Object.keys(M).forEach((function(e){"returnValue"!==e&&(t[e]=M[e].slice())}));var r=w[e];return r&&Object.keys(r).forEach((function(e){"returnValue"!==e&&(t[e]=(t[e]||[]).concat(r[e]))})),t}function G(e,t,r){for(var n=arguments.length,o=new Array(n>3?n-3:0),i=3;i<n;i++)o[i-3]=arguments[i];var a=D(e);if(a&&Object.keys(a).length){if(Array.isArray(a.invoke)){var s=j(a.invoke,r);return s.then((function(r){return t.apply(void 0,[B(D(e),r)].concat(o))}))}return t.apply(void 0,[B(a,r)].concat(o))}return t.apply(void 0,[r].concat(o))}var H={returnValue:function(e){return U(e)?new Promise((function(t,r){e.then((function(e){e[0]?r(e[0]):t(e[1])}))})):e}},F=/^\$|Window$|WindowStyle$|sendHostEvent|sendNativeEvent|restoreGlobal|requireGlobal|getCurrentSubNVue|getMenuButtonBoundingClientRect|^report|interceptors|Interceptor$|getSubNVueById|requireNativePlugin|upx2px|hideKeyboard|canIUse|^create|Sync$|Manager$|base64ToArrayBuffer|arrayBufferToBase64|getLocale|setLocale|invokePushCallback|getWindowInfo|getDeviceInfo|getAppBaseInfo|getSystemSetting|getAppAuthorizeSetting|initUTS|requireUTS|registerUTS/,$=/^create|Manager$/,z=["createBLEConnection"],W=["createBLEConnection","createPushMessage"],V=/^on|^off/;function q(e){return $.test(e)&&-1===z.indexOf(e)}function K(e){return F.test(e)&&-1===W.indexOf(e)}function Q(e){return e.then((function(e){return[null,e]})).catch((function(e){return[e]}))}function J(e){return!(q(e)||K(e)||function(e){return V.test(e)&&"onPush"!==e}(e))}function Y(e,t){return J(e)&&_(t)?function(){for(var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length,o=new Array(n>1?n-1:0),i=1;i<n;i++)o[i-1]=arguments[i];return _(r.success)||_(r.fail)||_(r.complete)?L(e,G.apply(void 0,[e,t,r].concat(o))):L(e,Q(new Promise((function(n,i){G.apply(void 0,[e,t,Object.assign({},r,{success:n,fail:i})].concat(o))}))))}:t}Promise.prototype.finally||(Promise.prototype.finally=function(e){var t=this.constructor;return this.then((function(r){return t.resolve(e()).then((function(){return r}))}),(function(r){return t.resolve(e()).then((function(){throw r}))}))});var X=!1,Z=0,ee=0;var te,re={};te=ie(e.getSystemInfoSync().language)||"en",function(){if(function(){return"undefined"!==typeof __uniConfig&&__uniConfig.locales&&!!Object.keys(__uniConfig.locales).length}()){var e=Object.keys(__uniConfig.locales);e.length&&e.forEach((function(e){var t=re[e],r=__uniConfig.locales[e];t?Object.assign(t,r):re[e]=r}))}}();var ne=(0,p.initVueI18n)(te,{}),oe=ne.t;ne.mixin={beforeCreate:function(){var e=this,t=ne.i18n.watchLocale((function(){e.$forceUpdate()}));this.$once("hook:beforeDestroy",(function(){t()}))},methods:{$$t:function(e,t){return oe(e,t)}}},ne.setLocale,ne.getLocale;function ie(e,t){if(e){if(e=e.trim().replace(/_/g,"-"),t&&t[e])return e;if(e=e.toLowerCase(),"chinese"===e)return"zh-Hans";if(0===e.indexOf("zh"))return e.indexOf("-hans")>-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 r=function(e,t){return t.find((function(t){return 0===e.indexOf(t)}))}(e,["en","fr","es"]);return r||void 0}}function ae(){if(_(getApp)){var t=getApp({allowDefault:!0});if(t&&t.$vm)return t.$vm.$locale}return ie(e.getSystemInfoSync().language)||"en"}var se=[];"undefined"!==typeof n&&(n.getLocale=ae);var ce={promiseInterceptor:H},ue=Object.freeze({__proto__:null,upx2px:function(t,r){if(0===Z&&function(){var t=e.getSystemInfoSync(),r=t.platform,n=t.pixelRatio,o=t.windowWidth;Z=o,ee=n,X="ios"===r}(),t=Number(t),0===t)return 0;var n=t/750*(r||Z);return n<0&&(n=-n),n=Math.floor(n+1e-4),0===n&&(n=1!==ee&&X?.5:1),t<0?-n:n},getLocale:ae,setLocale:function(e){var t=!!_(getApp)&&getApp();if(!t)return!1;var r=t.$vm.$locale;return r!==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&&O(t)?P(w[e]||(w[e]={}),t):O(e)&&P(M,e)},removeInterceptor:function(e,t){"string"===typeof e?O(t)?k(w[e],t):delete w[e]:O(e)&&k(M,e)},interceptors:ce});var le,pe={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(),r=t.length;while(r--){var n=t[r];if(n.$page&&n.$page.fullPath===e)return r}return-1}(e.url);if(-1!==t){var r=getCurrentPages().length-1-t;r>0&&(e.delta=r)}}}},de={args:function(e){var t=parseInt(e.current);if(!isNaN(t)){var r=e.urls;if(Array.isArray(r)){var n=r.length;if(n)return t<0?t=0:t>=n&&(t=n-1),t>0?(e.current=r[t],e.urls=r.filter((function(e,n){return!(n<t)||e!==r[t]}))):e.current=r[0],{indicator:!1,loop:!1}}}}};function fe(t){le=le||e.getStorageSync("__DC_STAT_UUID"),le||(le=Date.now()+""+Math.floor(1e7*Math.random()),e.setStorage({key:"__DC_STAT_UUID",data:le})),t.deviceId=le}function he(e){if(e.safeArea){var t=e.safeArea;e.safeAreaInsets={top:t.top,left:t.left,right:e.windowWidth-t.right,bottom:e.screenHeight-t.bottom}}}function me(e,t){for(var r=e.deviceType||"phone",n={ipad:"pad",windows:"pc",mac:"pc"},o=Object.keys(n),i=t.toLocaleLowerCase(),a=0;a<o.length;a++){var s=o[a];if(-1!==i.indexOf(s)){r=n[s];break}}return r}function ge(e){var t=e;return t&&(t=e.toLocaleLowerCase()),t}function ye(e){return ae?ae():e}function ve(e){var t=e.hostName||"WeChat";return e.environment?t=e.environment:e.host&&e.host.env&&(t=e.host.env),t}var Ee={returnValue:function(e){fe(e),he(e),function(e){var t,r=e.brand,n=void 0===r?"":r,o=e.model,i=void 0===o?"":o,a=e.system,s=void 0===a?"":a,c=e.language,u=void 0===c?"":c,l=e.theme,p=e.version,d=(e.platform,e.fontSizeSetting),f=e.SDKVersion,h=e.pixelRatio,m=e.deviceOrientation,g="";g=s.split(" ")[0]||"",t=s.split(" ")[1]||"";var y=p,v=me(e,i),E=ge(n),_=ve(e),T=m,O=h,b=f,S=u.replace(/_/g,"-"),A={appId:"__UNI__EE8311D",appName:"候选人",appVersion:"1.0.0",appVersionCode:"100",appLanguage:ye(S),uniCompileVersion:"3.96",uniRuntimeVersion:"3.96",uniPlatform:"mp-weixin",deviceBrand:E,deviceModel:i,deviceType:v,devicePixelRatio:O,deviceOrientation:T,osName:g.toLocaleLowerCase(),osVersion:t,hostTheme:l,hostVersion:y,hostLanguage:S,hostName:_,hostSDKVersion:b,hostFontSizeSetting:d,windowTop:0,windowBottom:0,osLanguage:void 0,osTheme:void 0,ua:void 0,hostPackageName:void 0,browserName:void 0,browserVersion:void 0};Object.assign(e,A,{})}(e)}},_e={args:function(e){"object"===(0,l.default)(e)&&(e.alertText=e.title)}},Te={returnValue:function(e){var t=e,r=t.version,n=t.language,o=t.SDKVersion,i=t.theme,a=ve(e),s=n.replace("_","-");e=C(Object.assign(e,{appId:"__UNI__EE8311D",appName:"候选人",appVersion:"1.0.0",appVersionCode:"100",appLanguage:ye(s),hostVersion:r,hostLanguage:s,hostName:a,hostSDKVersion:o,hostTheme:i}))}},Oe={returnValue:function(e){var t=e,r=t.brand,n=t.model,o=me(e,n),i=ge(r);fe(e),e=C(Object.assign(e,{deviceType:o,deviceBrand:i,deviceModel:n}))}},be={returnValue:function(e){he(e),e=C(Object.assign(e,{windowTop:0,windowBottom:0}))}},Se={redirectTo:pe,previewImage:de,getSystemInfo:Ee,getSystemInfoSync:Ee,showActionSheet:_e,getAppBaseInfo:Te,getDeviceInfo:Oe,getWindowInfo:be,getAppAuthorizeSetting:{returnValue:function(e){var t=e.locationReducedAccuracy;e.locationAccuracy="unsupported",!0===t?e.locationAccuracy="reduced":!1===t&&(e.locationAccuracy="full")}},compressImage:{args:function(e){e.compressedHeight&&!e.compressHeight&&(e.compressHeight=e.compressedHeight),e.compressedWidth&&!e.compressWidth&&(e.compressWidth=e.compressedWidth)}}},Ae=["success","fail","cancel","complete"];function Ie(e,t,r){return function(n){return t(Ce(e,n,r))}}function Re(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(O(t)){var i=!0===o?t:{};for(var a in _(r)&&(r=r(t,i)||{}),t)if(b(r,a)){var s=r[a];_(s)&&(s=s(t[a],t,i)),s?T(s)?i[s]=t[a]:O(s)&&(i[s.name?s.name:a]=s.value):console.warn("The '".concat(e,"' method of platform '微信小程序' does not support option '").concat(a,"'"))}else-1!==Ae.indexOf(a)?_(t[a])&&(i[a]=Ie(e,t[a],n)):o||(i[a]=t[a]);return i}return _(t)&&(t=Ie(e,t,n)),t}function Ce(e,t,r){var n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return _(Se.returnValue)&&(t=Se.returnValue(e,t)),Re(e,t,r,{},n)}function Ne(t,r){if(b(Se,t)){var n=Se[t];return n?function(r,o){var i=n;_(n)&&(i=n(r)),r=Re(t,r,i.args,i.returnValue);var a=[r];"undefined"!==typeof o&&a.push(o),_(i.name)?t=i.name(r):T(i.name)&&(t=i.name);var s=e[t].apply(e,a);return K(t)?Ce(t,s,i.returnValue,q(t)):s}:function(){console.error("Platform '微信小程序' does not support '".concat(t,"'."))}}return r}var Me=Object.create(null);["onTabBarMidButtonTap","subscribePush","unsubscribePush","onPush","offPush","share"].forEach((function(e){Me[e]=function(e){return function(t){var r=t.fail,n=t.complete,o={errMsg:"".concat(e,":fail method '").concat(e,"' not supported")};_(r)&&r(o),_(n)&&n(o)}}(e)}));var we={oauth:["weixin"],share:["weixin"],payment:["wxpay"],push:["weixin"]};var Pe=Object.freeze({__proto__:null,getProvider:function(e){var t=e.service,r=e.success,n=e.fail,o=e.complete,i=!1;we[t]?(i={errMsg:"getProvider:ok",service:t,provider:we[t]},_(r)&&r(i)):(i={errMsg:"getProvider:fail service not found"},_(n)&&n(i)),_(o)&&o(i)}}),ke=function(){var e;return function(){return e||(e=new d.default),e}}();function xe(e,t,r){return e[t].apply(e,r)}var Ue,je,Be,Le=Object.freeze({__proto__:null,$on:function(){return xe(ke(),"$on",Array.prototype.slice.call(arguments))},$off:function(){return xe(ke(),"$off",Array.prototype.slice.call(arguments))},$once:function(){return xe(ke(),"$once",Array.prototype.slice.call(arguments))},$emit:function(){return xe(ke(),"$emit",Array.prototype.slice.call(arguments))}});function De(e){return function(){try{return e.apply(e,arguments)}catch(t){console.error(t)}}}function Ge(e){try{return JSON.parse(e)}catch(t){}return e}var He=[];function Fe(e,t){He.forEach((function(r){r(e,t)})),He.length=0}var $e=[],ze=e.getAppBaseInfo&&e.getAppBaseInfo();ze||(ze=e.getSystemInfoSync());var We=ze?ze.host:null,Ve=We&&"SAAASDK"===We.env?e.miniapp.shareVideoMessage:e.shareVideoMessage,qe=Object.freeze({__proto__:null,shareVideoMessage:Ve,getPushClientId:function(e){O(e)||(e={});var t=function(e){var t={};for(var r in e){var n=e[r];_(n)&&(t[r]=De(n),delete e[r])}return t}(e),r=t.success,n=t.fail,o=t.complete,i=_(r),a=_(n),s=_(o);Promise.resolve().then((function(){"undefined"===typeof Be&&(Be=!1,Ue="",je="uniPush is not enabled"),He.push((function(e,t){var c;e?(c={errMsg:"getPushClientId:ok",cid:e},i&&r(c)):(c={errMsg:"getPushClientId:fail"+(t?" "+t:"")},a&&n(c)),s&&o(c)})),"undefined"!==typeof Ue&&Fe(Ue,je)}))},onPushMessage:function(e){-1===$e.indexOf(e)&&$e.push(e)},offPushMessage:function(e){if(e){var t=$e.indexOf(e);t>-1&&$e.splice(t,1)}else $e.length=0},invokePushCallback:function(e){if("enabled"===e.type)Be=!0;else if("clientId"===e.type)Ue=e.cid,je=e.errMsg,Fe(Ue,e.errMsg);else if("pushMsg"===e.type)for(var t={type:"receive",data:Ge(e.message)},r=0;r<$e.length;r++){var n=$e[r];if(n(t),t.stopped)break}else"click"===e.type&&$e.forEach((function(t){t({type:"click",data:Ge(e.message)})}))}}),Ke=["__route__","__wxExparserNodeId__","__wxWebviewId__"];function Qe(e){return Behavior(e)}function Je(){return!!this.route}function Ye(e){this.triggerEvent("__l",e)}function Xe(e){var t=e.$scope,r={};Object.defineProperty(e,"$refs",{get:function(){var e={};(function e(t,r,n){var o=t.selectAllComponents(r)||[];o.forEach((function(t){var o=t.dataset.ref;n[o]=t.$vm||tt(t),"scoped"===t.dataset.vueGeneric&&t.selectAllComponents(".scoped-ref").forEach((function(t){e(t,r,n)}))}))})(t,".vue-ref",e);var n=t.selectAllComponents(".vue-ref-in-for")||[];return n.forEach((function(t){var r=t.dataset.ref;e[r]||(e[r]=[]),e[r].push(t.$vm||tt(t))})),function(e,t){var r=(0,c.default)(Set,(0,u.default)(Object.keys(e))),n=Object.keys(t);return n.forEach((function(n){var o=e[n],i=t[n];Array.isArray(o)&&Array.isArray(i)&&o.length===i.length&&i.every((function(e){return o.includes(e)}))||(e[n]=i,r.delete(n))})),r.forEach((function(t){delete e[t]})),e}(r,e)}})}function Ze(e){var t,r=e.detail||e.value,n=r.vuePid,o=r.vueOptions;n&&(t=function e(t,r){for(var n,o=t.$children,i=o.length-1;i>=0;i--){var a=o[i];if(a.$scope._$vueId===r)return a}for(var s=o.length-1;s>=0;s--)if(n=e(o[s],r),n)return n}(this.$vm,n)),t||(t=this.$vm),o.parent=t}function et(e){return Object.defineProperty(e,"__v_isMPComponent",{configurable:!0,enumerable:!1,value:!0}),e}function tt(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,s.default)({},"__v_skip",!0)}),e}var rt=/_(.*)_worklet_factory_/;var nt=Page,ot=Component,it=/:/g,at=A((function(e){return R(e.replace(it,"-"))}));function st(e){var t=e.triggerEvent,r=function(e){for(var r=arguments.length,n=new Array(r>1?r-1:0),o=1;o<r;o++)n[o-1]=arguments[o];if(this.$vm||this.dataset&&this.dataset.comType)e=at(e);else{var i=at(e);i!==e&&t.apply(this,[i].concat(n))}return t.apply(this,[e].concat(n))};try{e.triggerEvent=r}catch(n){e._triggerEvent=r}}function ct(e,t,r){var n=t[e];t[e]=function(){if(et(this),st(this),n){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return n.apply(this,t)}}}nt.__$wrappered||(nt.__$wrappered=!0,Page=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return ct("onLoad",e),nt(e)},Page.after=nt.after,Component=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return ct("created",e),ot(e)});function ut(e,t,r){t.forEach((function(t){(function e(t,r){if(!r)return!0;if(d.default.options&&Array.isArray(d.default.options[t]))return!0;if(r=r.default||r,_(r))return!!_(r.extendOptions[t])||!!(r.super&&r.super.options&&Array.isArray(r.super.options[t]));if(_(r[t])||Array.isArray(r[t]))return!0;var n=r.mixins;return Array.isArray(n)?!!n.find((function(r){return e(t,r)})):void 0})(t,r)&&(e[t]=function(e){return this.$vm&&this.$vm.__call_hook(t,e)})}))}function lt(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];pt(t).forEach((function(t){return dt(e,t,r)}))}function pt(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return e&&Object.keys(e).forEach((function(r){0===r.indexOf("on")&&_(e[r])&&t.push(r)})),t}function dt(e,t,r){-1!==r.indexOf(t)||b(e,t)||(e[t]=function(e){return this.$vm&&this.$vm.__call_hook(t,e)})}function ft(e,t){var r;return t=t.default||t,r=_(t)?t:e.extend(t),t=r.options,[r,t]}function ht(e,t){if(Array.isArray(t)&&t.length){var r=Object.create(null);t.forEach((function(e){r[e]=!0})),e.$scopedSlots=e.$slots=r}}function mt(e,t){e=(e||"").split(",");var r=e.length;1===r?t._$vueId=e[0]:2===r&&(t._$vueId=e[0],t._$vuePid=e[1])}function gt(e,t){var r=e.data||{},n=e.methods||{};if("function"===typeof r)try{r=r.call(t)}catch(o){Object({VUE_APP_DARK_MODE:"false",VUE_APP_NAME:"候选人",VUE_APP_PLATFORM:"mp-weixin",NODE_ENV:"production",BASE_URL:"/"}).VUE_APP_DEBUG&&console.warn("根据 Vue 的 data 函数初始化小程序 data 失败,请尽量确保 data 函数中不访问 vm 对象,否则可能影响首次数据渲染速度。",r)}else try{r=JSON.parse(JSON.stringify(r))}catch(o){}return O(r)||(r={}),Object.keys(n).forEach((function(e){-1!==t.__lifecycle_hooks__.indexOf(e)||b(r,e)||(r[e]=n[e])})),r}var yt=[String,Number,Boolean,Object,Array,null];function vt(e){return function(t,r){this.$vm&&(this.$vm[e]=t)}}function Et(e,t){var r=e.behaviors,n=e.extends,o=e.mixins,i=e.props;i||(e.props=i=[]);var a=[];return Array.isArray(r)&&r.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:""}))})),O(n)&&n.props&&a.push(t({properties:Tt(n.props,!0)})),Array.isArray(o)&&o.forEach((function(e){O(e)&&e.props&&a.push(t({properties:Tt(e.props,!0)}))})),a}function _t(e,t,r,n){return Array.isArray(t)&&1===t.length?t[0]:t}function Tt(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=arguments.length>3?arguments[3]:void 0,n={};return t||(n.vueId={type:String,value:""},r.virtualHost&&(n.virtualHostStyle={type:null,value:""},n.virtualHostClass={type:null,value:""}),n.scopedSlotsCompiler={type:String,value:""},n.vueSlots={type:null,value:[],observer:function(e,t){var r=Object.create(null);e.forEach((function(e){r[e]=!0})),this.setData({$slots:r})}}),Array.isArray(e)?e.forEach((function(e){n[e]={type:null,observer:vt(e)}})):O(e)&&Object.keys(e).forEach((function(t){var r=e[t];if(O(r)){var o=r.default;_(o)&&(o=o()),r.type=_t(0,r.type),n[t]={type:-1!==yt.indexOf(r.type)?r.type:null,value:o,observer:vt(t)}}else{var i=_t(0,r);n[t]={type:-1!==yt.indexOf(i)?i:null,observer:vt(t)}}})),n}function Ot(e,t,r,n){var o={};return Array.isArray(t)&&t.length&&t.forEach((function(t,i){"string"===typeof t?t?"$event"===t?o["$"+i]=r:"arguments"===t?o["$"+i]=r.detail&&r.detail.__args__||n:0===t.indexOf("$event.")?o["$"+i]=e.__get_value(t.replace("$event.",""),r):o["$"+i]=e.__get_value(t):o["$"+i]=e:o["$"+i]=function(e,t){var r=e;return t.forEach((function(t){var n=t[0],o=t[2];if(n||"undefined"!==typeof o){var i,a=t[1],s=t[3];Number.isInteger(n)?i=n:n?"string"===typeof n&&n&&(i=0===n.indexOf("#s#")?n.substr(3):e.__get_value(n,r)):i=r,Number.isInteger(i)?r=o:a?Array.isArray(i)?r=i.find((function(t){return e.__get_value(a,t)===o})):O(i)?r=Object.keys(i).find((function(t){return e.__get_value(a,i[t])===o})):console.error("v-for 暂不支持循环数据:",i):r=i[o],s&&(r=e.__get_value(s,r))}})),r}(e,t)})),o}function bt(e){for(var t={},r=1;r<e.length;r++){var n=e[r];t[n[0]]=n[1]}return t}function St(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],n=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,s=O(t.detail)&&t.detail.__args__||[t.detail];if(o&&(a=t.currentTarget&&t.currentTarget.dataset&&"wx"===t.currentTarget.dataset.comType,!r.length))return a?[t]:s;var c=Ot(e,n,t,s),u=[];return r.forEach((function(e){"$event"===e?"__set_model"!==i||o?o&&!a?u.push(s[0]):u.push(t):u.push(t.target.value):Array.isArray(e)&&"o"===e[0]?u.push(bt(e)):"string"===typeof e&&b(c,e)?u.push(c[e]):u.push(e)})),u}function At(e){var t=this;e=function(e){try{e.mp=JSON.parse(JSON.stringify(e))}catch(t){}return e.stopPropagation=S,e.preventDefault=S,e.target=e.target||{},b(e,"detail")||(e.detail={}),b(e,"markerId")&&(e.detail="object"===(0,l.default)(e.detail)?e.detail:{},e.detail.markerId=e.markerId),O(e.detail)&&(e.target=Object.assign({},e.target,e.detail)),e}(e);var r=(e.currentTarget||e.target).dataset;if(!r)return console.warn("事件信息不存在");var n=r.eventOpts||r["event-opts"];if(!n)return console.warn("事件信息不存在");var o=e.type,i=[];return n.forEach((function(r){var n=r[0],a=r[1],s="^"===n.charAt(0);n=s?n.slice(1):n;var c="~"===n.charAt(0);n=c?n.slice(1):n,a&&function(e,t){return e===t||"regionchange"===t&&("begin"===e||"end"===e)}(o,n)&&a.forEach((function(r){var n=r[0];if(n){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"===n)return void o.$emit.apply(o,St(t.$vm,e,r[1],r[2],s,n));var a=o[n];if(!_(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(n,'"'))}if(c){if(a.once)return;a.once=!0}var p=St(t.$vm,e,r[1],r[2],s,n);p=Array.isArray(p)?p:[],/=\s*\S+\.eventParams\s*\|\|\s*\S+\[['"]event-params['"]\]/.test(a.toString())&&(p=p.concat([,,,,,,,,,,e])),i.push(a.apply(o,p))}}))})),"input"===o&&1===i.length&&"undefined"!==typeof i[0]?i[0]:void 0}var It={};var Rt=["onShow","onHide","onError","onPageNotFound","onThemeChange","onUnhandledRejection"];function Ct(){d.default.prototype.getOpenerEventChannel=function(){return this.$scope.getOpenerEventChannel()};var e=d.default.prototype.__call_hook;d.default.prototype.__call_hook=function(t,r){return"onLoad"===t&&r&&r.__id__&&(this.__eventChannel__=function(e){var t=It[e];return delete It[e],t}(r.__id__),delete r.__id__),e.call(this,t,r)}}function Nt(t,r){var n=r.mocks,o=r.initRefs;Ct(),function(){var e={},t={};function r(e){var t=this.$options.propsData.vueId;if(t){var r=t.split(",")[0];e(r)}}d.default.prototype.$hasSSP=function(r){var n=e[r];return n||(t[r]=this,this.$on("hook:destroyed",(function(){delete t[r]}))),n},d.default.prototype.$getSSP=function(t,r,n){var o=e[t];if(o){var i=o[r]||[];return n?i:i[0]}},d.default.prototype.$setSSP=function(t,n){var o=0;return r.call(this,(function(r){var i=e[r],a=i[t]=i[t]||[];a.push(n),o=a.length-1})),o},d.default.prototype.$initSSP=function(){r.call(this,(function(t){e[t]={}}))},d.default.prototype.$callSSP=function(){r.call(this,(function(e){t[e]&&t[e].$forceUpdate()}))},d.default.mixin({destroyed:function(){var r=this.$options.propsData,n=r&&r.vueId;n&&(delete e[n],delete t[n])}})}(),t.$options.store&&(d.default.prototype.$store=t.$options.store),function(e){e.prototype.uniIDHasRole=function(e){var t=y(),r=t.role;return r.indexOf(e)>-1},e.prototype.uniIDHasPermission=function(e){var t=y(),r=t.permission;return this.uniIDHasRole("admin")||r.indexOf(e)>-1},e.prototype.uniIDTokenValid=function(){var e=y(),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,s.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 r=e.$mp[e.mpType];t.forEach((function(t){b(r,t)&&(e[t]=r[t])}))}(this,n))}}});var i={onLaunch:function(r){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",r),this.$vm.__call_hook("onLaunch",r))}};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,r){var n=e.observable({locale:r||ne.getLocale()}),o=[];t.$watchLocale=function(e){o.push(e)},Object.defineProperty(t,"$locale",{get:function(){return n.locale},set:function(e){n.locale=e,o.forEach((function(t){return t(e)}))}})}(d.default,t,ie(e.getSystemInfoSync().language)||"en"),ut(i,Rt),lt(i,t.$options),i}function Mt(e){return Nt(e,{mocks:Ke,initRefs:Xe})}function wt(e){return App(Mt(e)),e}var Pt=/[!'()*]/g,kt=function(e){return"%"+e.charCodeAt(0).toString(16)},xt=/%2C/g,Ut=function(e){return encodeURIComponent(e).replace(Pt,kt).replace(xt,",")};function jt(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Ut,r=e?Object.keys(e).map((function(r){var n=e[r];if(void 0===n)return"";if(null===n)return t(r);if(Array.isArray(n)){var o=[];return n.forEach((function(e){void 0!==e&&(null===e?o.push(t(r)):o.push(t(r)+"="+t(e)))})),o.join("&")}return t(r)+"="+t(n)})).filter((function(e){return e.length>0})).join("&"):null;return r?"?".concat(r):""}function Bt(e,t){return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.isPage,n=t.initRelation,o=arguments.length>2?arguments[2]:void 0,i=ft(d.default,e),s=(0,a.default)(i,2),c=s[0],u=s[1],l=h({multipleSlots:!0,addGlobalClass:!0},u.options||{});u["mp-weixin"]&&u["mp-weixin"].options&&Object.assign(l,u["mp-weixin"].options);var p={options:l,data:gt(u,d.default.prototype),behaviors:Et(u,Qe),properties:Tt(u.props,!1,u.__file,l),lifetimes:{attached:function(){var e=this.properties,t={mpType:r.call(this)?"page":"component",mpInstance:this,propsData:e};mt(e.vueId,this),n.call(this,{vuePid:this._$vuePid,vueOptions:t}),this.$vm=new c(t),ht(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:Ze,__e:At}};return u.externalClasses&&(p.externalClasses=u.externalClasses),Array.isArray(u.wxsCallMethods)&&u.wxsCallMethods.forEach((function(e){p.methods[e]=function(t){return this.$vm[e](t)}})),o?[p,u,c]:r?p:[p,c]}(e,{isPage:Je,initRelation:Ye},t)}var Lt=["onShow","onHide","onUnload"];function Dt(e){var t=Bt(e,!0),r=(0,a.default)(t,2),n=r[0],o=r[1];return ut(n.methods,Lt,o),n.methods.onLoad=function(e){this.options=e;var t=Object.assign({},e);delete t.__id__,this.$page={fullPath:"/"+(this.route||this.is)+jt(t)},this.$vm.$mp.query=e,this.$vm.__call_hook("onLoad",e)},lt(n.methods,e,["onReady"]),function(e,t){t&&Object.keys(t).forEach((function(r){var n=r.match(rt);if(n){var o=n[1];e[r]=t[r],e[o]=t[o]}}))}(n.methods,o.methods),n}function Gt(e){return Component(function(e){return Dt(e)}(e))}function Ht(e){return Component(Bt(e))}function Ft(t){var r=Mt(t),n=getApp({allowDefault:!0});t.$scope=n;var o=n.globalData;if(o&&Object.keys(r.globalData).forEach((function(e){b(o,e)||(o[e]=r.globalData[e])})),Object.keys(r).forEach((function(e){b(n,e)||(n[e]=r[e])})),_(r.onShow)&&e.onAppShow&&e.onAppShow((function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];t.__call_hook("onShow",r)})),_(r.onHide)&&e.onAppHide&&e.onAppHide((function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];t.__call_hook("onHide",r)})),_(r.onLaunch)){var i=e.getLaunchOptionsSync&&e.getLaunchOptionsSync();t.__call_hook("onLaunch",i)}return t}function $t(t){var r=Mt(t);if(_(r.onShow)&&e.onAppShow&&e.onAppShow((function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];t.__call_hook("onShow",r)})),_(r.onHide)&&e.onAppHide&&e.onAppHide((function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];t.__call_hook("onHide",r)})),_(r.onLaunch)){var n=e.getLaunchOptionsSync&&e.getLaunchOptionsSync();t.__call_hook("onLaunch",n)}return t}Lt.push.apply(Lt,["onPullDownRefresh","onReachBottom","onAddToFavorites","onShareTimeline","onShareAppMessage","onPageScroll","onResize","onTabItemTap"]),["vibrate","preloadPage","unPreloadPage","loadSubPackage"].forEach((function(e){Se[e]=!1})),[].forEach((function(t){var r=Se[t]&&Se[t].name?Se[t].name:t;e.canIUse(r)||(Se[t]=!1)}));var zt={};"undefined"!==typeof Proxy?zt=new Proxy({},{get:function(t,r){return b(t,r)?t[r]:ue[r]?ue[r]:qe[r]?Y(r,qe[r]):Pe[r]?Y(r,Pe[r]):Me[r]?Y(r,Me[r]):Le[r]?Le[r]:Y(r,Ne(r,e[r]))},set:function(e,t,r){return e[t]=r,!0}}):(Object.keys(ue).forEach((function(e){zt[e]=ue[e]})),Object.keys(Me).forEach((function(e){zt[e]=Y(e,Me[e])})),Object.keys(Pe).forEach((function(e){zt[e]=Y(e,Pe[e])})),Object.keys(Le).forEach((function(e){zt[e]=Le[e]})),Object.keys(qe).forEach((function(e){zt[e]=Y(e,qe[e])})),Object.keys(e).forEach((function(t){(b(e,t)||b(Se,t))&&(zt[t]=Y(t,Ne(t,e[t])))}))),e.createApp=wt,e.createPage=Gt,e.createComponent=Ht,e.createSubpackageApp=Ft,e.createPlugin=$t;var Wt=zt,Vt=Wt;t.default=Vt}).call(this,r("bc2e")["default"],r("c8ba"))},"552b":function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={props:{name:{type:[String,Number,Boolean],default:e.$u.props.checkbox.name},shape:{type:String,default:e.$u.props.checkbox.shape},size:{type:[String,Number],default:e.$u.props.checkbox.size},checked:{type:Boolean,default:e.$u.props.checkbox.checked},disabled:{type:[String,Boolean],default:e.$u.props.checkbox.disabled},activeColor:{type:String,default:e.$u.props.checkbox.activeColor},inactiveColor:{type:String,default:e.$u.props.checkbox.inactiveColor},iconSize:{type:[String,Number],default:e.$u.props.checkbox.iconSize},iconColor:{type:String,default:e.$u.props.checkbox.iconColor},label:{type:[String,Number],default:e.$u.props.checkbox.label},labelSize:{type:[String,Number],default:e.$u.props.checkbox.labelSize},labelColor:{type:String,default:e.$u.props.checkbox.labelColor},labelDisabled:{type:[String,Boolean],default:e.$u.props.checkbox.labelDisabled}}};t.default=r}).call(this,r("543d")["default"])},5654:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={list:{showScrollbar:!1,lowerThreshold:50,upperThreshold:0,scrollTop:0,offsetAccuracy:10,enableFlex:!1,pagingEnabled:!1,scrollable:!0,scrollIntoView:"",scrollWithAnimation:!1,enableBackToTop:!1,height:0,width:0,preLoadScreen:1}}},"5a43":function(e,t){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n},e.exports.__esModule=!0,e.exports["default"]=e.exports},"5bc3":function(e,t,r){var n=r("a395");function o(e,t){for(var r=0;r<t.length;r++){var o=t[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,n(o.key),o)}}e.exports=function(e,t,r){return t&&o(e.prototype,t),r&&o(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e},e.exports.__esModule=!0,e.exports["default"]=e.exports},"5d52":function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={props:{loading:{type:Boolean,default:e.$u.props.switch.loading},disabled:{type:Boolean,default:e.$u.props.switch.disabled},size:{type:[String,Number],default:e.$u.props.switch.size},activeColor:{type:String,default:e.$u.props.switch.activeColor},inactiveColor:{type:String,default:e.$u.props.switch.inactiveColor},value:{type:[Boolean,String,Number],default:e.$u.props.switch.value},activeValue:{type:[String,Number,Boolean],default:e.$u.props.switch.activeValue},inactiveValue:{type:[String,Number,Boolean],default:e.$u.props.switch.inactiveValue},asyncChange:{type:Boolean,default:e.$u.props.switch.asyncChange},space:{type:[String,Number],default:e.$u.props.switch.space}}};t.default=r}).call(this,r("543d")["default"])},"5e95":function(e,t,r){(function(t){e.exports={props:{customStyle:{type:[Object,String],default:function(){return{}}},customClass:{type:String,default:""},url:{type:String,default:""},linkType:{type:String,default:"navigateTo"}},data:function(){return{}},onLoad:function(){this.$u.getRect=this.$uGetRect},created:function(){this.$u.getRect=this.$uGetRect},computed:{$u:function(){return t.$u.deepMerge(t.$u,{props:void 0,http:void 0,mixin:void 0})},bem:function(){return function(e,t,r){var n=this,o="u-".concat(e,"--"),i={};return t&&t.map((function(e){i[o+n[e]]=!0})),r&&r.map((function(e){n[e]?i[o+e]=n[e]:delete i[o+e]})),Object.keys(i)}}},methods:{openPage:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"url",r=this[e];r&&t[this.linkType]({url:r})},$uGetRect:function(e,r){var n=this;return new Promise((function(o){t.createSelectorQuery().in(n)[r?"selectAll":"select"](e).boundingClientRect((function(e){r&&Array.isArray(e)&&e.length&&o(e),!r&&e&&o(e)})).exec()}))},getParentData:function(){var e=this,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";this.parent||(this.parent={}),this.parent=t.$u.$parent.call(this,r),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(){t.$emit("uOnReachBottom")},beforeDestroy:function(){var e=this;if(this.parent&&t.$u.test.array(this.parent.children)){var r=this.parent.children;r.map((function(t,n){t===e&&r.splice(n,1)}))}}}}).call(this,r("543d")["default"])},6007:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={backtop:{mode:"circle",icon:"arrow-upward",text:"",duration:100,scrollTop:0,top:400,bottom:100,right:20,zIndex:9,iconStyle:function(){return{color:"#909399",fontSize:"19px"}}}}},"62e4":function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},"632b":function(e,t,r){"use strict";var n=r("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(r("7631")),i=o.default.color,a={link:{color:i["u-primary"],fontSize:15,underLine:!1,href:"",mpTips:"链接已复制,请在浏览器打开",lineColor:"",text:""}};t.default=a},6386:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={grid:{col:3,border:!1,align:"left"}}},"65ca":function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;e.getSystemInfoSync().platform;var r={config:{baseUrl:"https://hire.hdlkeji.com",headers:{"content-type":"application/json",Token:e.getStorageSync("token")?e.getStorageSync("token"):""},dataType:"json",responseType:"text"},interceptor:{request:function(e){},response:null},request:function(t){var r=this;return new Promise((function(n,o){var i=null;t.url=r.config.baseUrl+t.url,t.header={"content-type":"application/json",Token:e.getStorageSync("token")?e.getStorageSync("token"):""},t.fail=function(t){e.showToast({icon:"none",title:"网络连接失败,请检查网络"}),o(t)},t.complete=function(t){t.config=i,200===t.statusCode||201===t.statusCode?n(t.data):(404===t.statusCode&&e.showToast({icon:"none",title:"接口不存在"}),500===t.statusCode&&e.showToast({icon:"none",title:"服务器错误"}),o(t))},i=Object.assign({},r.config,t),i.requestId=(new Date).getTime(),r.interceptor.request&&r.interceptor.request(i),e.request(i)}))},get:function(e,t,r,n){return t=t||{},n||(n={}),n.url=e,n.data=t,n.header={},n.method="GET",n.showtips=r,this.request(n)},post:function(e,t,r,n){return t=t||{},n||(n={}),n.url=e,n.data=t,n.header={},n.method="POST",n.showtips=r,this.request(n)},put:function(e,t,r,n){return n||(n={}),n.url=e,n.data=t,n.method="PUT",n.showtips=r,this.request(n)},del:function(e,t,r,n){return n||(n={}),n.url=e,n.data=t,n.showtips=r,n.method="DELETE",this.request(n)}};t.default=r}).call(this,r("543d")["default"])},"65fd":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={image:{src:"",mode:"aspectFill",width:"300",height:"225",shape:"square",radius:0,lazyLoad:!0,showMenuByLongpress:!0,loadingIcon:"photo",errorIcon:"error-circle",showLoading:!0,showError:!0,fade:!0,webp:!1,duration:500,bgColor:"#f3f4f6"}}},6613:function(e,t,r){var n=r("5a43");e.exports=function(e,t){if(e){if("string"===typeof e)return n(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(e,t):void 0}},e.exports.__esModule=!0,e.exports["default"]=e.exports},"66fd":function(e,t,r){"use strict";r.r(t),function(e){
- /*!
- * Vue.js v2.6.11
- * (c) 2014-2023 Evan You
- * Released under the MIT License.
- */
- var r=Object.freeze({});function n(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 s(e){return null!==e&&"object"===typeof e}var c=Object.prototype.toString;function u(e){return"[object Object]"===c.call(e)}function l(e){var t=parseFloat(String(e));return t>=0&&Math.floor(t)===t&&isFinite(e)}function p(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===c?JSON.stringify(e,null,2):String(e)}function f(e){var t=parseFloat(e);return isNaN(t)?e:t}function h(e,t){for(var r=Object.create(null),n=e.split(","),o=0;o<n.length;o++)r[n[o]]=!0;return t?function(e){return r[e.toLowerCase()]}:function(e){return r[e]}}h("slot,component",!0);var m=h("key,ref,slot,slot-scope,is");function g(e,t){if(e.length){var r=e.indexOf(t);if(r>-1)return e.splice(r,1)}}var y=Object.prototype.hasOwnProperty;function v(e,t){return y.call(e,t)}function E(e){var t=Object.create(null);return function(r){var n=t[r];return n||(t[r]=e(r))}}var _=/-(\w)/g,T=E((function(e){return e.replace(_,(function(e,t){return t?t.toUpperCase():""}))})),O=E((function(e){return e.charAt(0).toUpperCase()+e.slice(1)})),b=/\B([A-Z])/g,S=E((function(e){return e.replace(b,"-$1").toLowerCase()}));var A=Function.prototype.bind?function(e,t){return e.bind(t)}:function(e,t){function r(r){var n=arguments.length;return n?n>1?e.apply(t,arguments):e.call(t,r):e.call(t)}return r._length=e.length,r};function I(e,t){t=t||0;var r=e.length-t,n=new Array(r);while(r--)n[r]=e[r+t];return n}function R(e,t){for(var r in t)e[r]=t[r];return e}function C(e){for(var t={},r=0;r<e.length;r++)e[r]&&R(t,e[r]);return t}function N(e,t,r){}var M=function(e,t,r){return!1},w=function(e){return e};function P(e,t){if(e===t)return!0;var r=s(e),n=s(t);if(!r||!n)return!r&&!n&&String(e)===String(t);try{var o=Array.isArray(e),i=Array.isArray(t);if(o&&i)return e.length===t.length&&e.every((function(e,r){return P(e,t[r])}));if(e instanceof Date&&t instanceof Date)return e.getTime()===t.getTime();if(o||i)return!1;var a=Object.keys(e),c=Object.keys(t);return a.length===c.length&&a.every((function(r){return P(e[r],t[r])}))}catch(u){return!1}}function k(e,t){for(var r=0;r<e.length;r++)if(P(e[r],t))return r;return-1}function x(e){var t=!1;return function(){t||(t=!0,e.apply(this,arguments))}}var U=["component","directive","filter"],j=["beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeDestroy","destroyed","activated","deactivated","errorCaptured","serverPrefetch"],B={optionMergeStrategies:Object.create(null),silent:!1,productionTip:!1,devtools:!1,performance:!1,errorHandler:null,warnHandler:null,ignoredElements:[],keyCodes:Object.create(null),isReservedTag:M,isReservedAttr:M,isUnknownElement:M,getTagNamespace:N,parsePlatformTagName:w,mustUseProp:M,async:!0,_lifecycleHooks:j},L=/a-zA-Z\u00B7\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u037D\u037F-\u1FFF\u200C-\u200D\u203F-\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD/;function D(e){var t=(e+"").charCodeAt(0);return 36===t||95===t}function G(e,t,r,n){Object.defineProperty(e,t,{value:r,enumerable:!!n,writable:!0,configurable:!0})}var H=new RegExp("[^"+L.source+".$_\\d]");var F,$="__proto__"in{},z="undefined"!==typeof window,W="undefined"!==typeof WXEnvironment&&!!WXEnvironment.platform,V=W&&WXEnvironment.platform.toLowerCase(),q=z&&window.navigator.userAgent.toLowerCase(),K=q&&/msie|trident/.test(q),Q=(q&&q.indexOf("msie 9.0"),q&&q.indexOf("edge/")>0),J=(q&&q.indexOf("android"),q&&/iphone|ipad|ipod|ios/.test(q)||"ios"===V),Y=(q&&/chrome\/\d+/.test(q),q&&/phantomjs/.test(q),q&&q.match(/firefox\/(\d+)/),{}.watch);if(z)try{var X={};Object.defineProperty(X,"passive",{get:function(){}}),window.addEventListener("test-passive",null,X)}catch(jr){}var Z=function(){return void 0===F&&(F=!z&&!W&&"undefined"!==typeof e&&(e["process"]&&"server"===e["process"].env.VUE_ENV)),F},ee=z&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function te(e){return"function"===typeof e&&/native code/.test(e.toString())}var re,ne="undefined"!==typeof Symbol&&te(Symbol)&&"undefined"!==typeof Reflect&&te(Reflect.ownKeys);re="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=N,ie=0,ae=function(){this.id=ie++,this.subs=[]};function se(e){ae.SharedObject.targetStack.push(e),ae.SharedObject.target=e,ae.target=e}function ce(){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,r=e.length;t<r;t++)e[t].update()},ae.SharedObject={},ae.SharedObject.target=null,ae.SharedObject.targetStack=[];var ue=function(e,t,r,n,o,i,a,s){this.tag=e,this.data=t,this.children=r,this.text=n,this.elm=o,this.ns=void 0,this.context=i,this.fnContext=void 0,this.fnOptions=void 0,this.fnScopeId=void 0,this.key=t&&t.key,this.componentOptions=a,this.componentInstance=void 0,this.parent=void 0,this.raw=!1,this.isStatic=!1,this.isRootInsert=!0,this.isComment=!1,this.isCloned=!1,this.isOnce=!1,this.asyncFactory=s,this.asyncMeta=void 0,this.isAsyncPlaceholder=!1},le={child:{configurable:!0}};le.child.get=function(){return this.componentInstance},Object.defineProperties(ue.prototype,le);var pe=function(e){void 0===e&&(e="");var t=new ue;return t.text=e,t.isComment=!0,t};function de(e){return new ue(void 0,void 0,void 0,String(e))}var fe=Array.prototype,he=Object.create(fe);["push","pop","shift","unshift","splice","sort","reverse"].forEach((function(e){var t=fe[e];G(he,e,(function(){var r=[],n=arguments.length;while(n--)r[n]=arguments[n];var o,i=t.apply(this,r),a=this.__ob__;switch(e){case"push":case"unshift":o=r;break;case"splice":o=r.slice(2);break}return o&&a.observeArray(o),a.dep.notify(),i}))}));var me=Object.getOwnPropertyNames(he),ge=!0;function ye(e){ge=e}var ve=function(e){this.value=e,this.dep=new ae,this.vmCount=0,G(e,"__ob__",this),Array.isArray(e)?($?e.push!==e.__proto__.push?Ee(e,he,me):function(e,t){e.__proto__=t}(e,he):Ee(e,he,me),this.observeArray(e)):this.walk(e)};function Ee(e,t,r){for(var n=0,o=r.length;n<o;n++){var i=r[n];G(e,i,t[i])}}function _e(e,t){var r;if(s(e)&&!(e instanceof ue))return v(e,"__ob__")&&e.__ob__ instanceof ve?r=e.__ob__:!ge||Z()||!Array.isArray(e)&&!u(e)||!Object.isExtensible(e)||e._isVue||e.__v_isMPComponent||(r=new ve(e)),t&&r&&r.vmCount++,r}function Te(e,t,r,n,o){var i=new ae,a=Object.getOwnPropertyDescriptor(e,t);if(!a||!1!==a.configurable){var s=a&&a.get,c=a&&a.set;s&&!c||2!==arguments.length||(r=e[t]);var u=!o&&_e(r);Object.defineProperty(e,t,{enumerable:!0,configurable:!0,get:function(){var t=s?s.call(e):r;return ae.SharedObject.target&&(i.depend(),u&&(u.dep.depend(),Array.isArray(t)&&Se(t))),t},set:function(t){var n=s?s.call(e):r;t===n||t!==t&&n!==n||s&&!c||(c?c.call(e,t):r=t,u=!o&&_e(t),i.notify())}})}}function Oe(e,t,r){if(Array.isArray(e)&&l(t))return e.length=Math.max(e.length,t),e.splice(t,1,r),r;if(t in e&&!(t in Object.prototype))return e[t]=r,r;var n=e.__ob__;return e._isVue||n&&n.vmCount?r:n?(Te(n.value,t,r),n.dep.notify(),r):(e[t]=r,r)}function be(e,t){if(Array.isArray(e)&&l(t))e.splice(t,1);else{var r=e.__ob__;e._isVue||r&&r.vmCount||v(e,t)&&(delete e[t],r&&r.dep.notify())}}function Se(e){for(var t=void 0,r=0,n=e.length;r<n;r++)t=e[r],t&&t.__ob__&&t.__ob__.dep.depend(),Array.isArray(t)&&Se(t)}ve.prototype.walk=function(e){for(var t=Object.keys(e),r=0;r<t.length;r++)Te(e,t[r])},ve.prototype.observeArray=function(e){for(var t=0,r=e.length;t<r;t++)_e(e[t])};var Ae=B.optionMergeStrategies;function Ie(e,t){if(!t)return e;for(var r,n,o,i=ne?Reflect.ownKeys(t):Object.keys(t),a=0;a<i.length;a++)r=i[a],"__ob__"!==r&&(n=e[r],o=t[r],v(e,r)?n!==o&&u(n)&&u(o)&&Ie(n,o):Oe(e,r,o));return e}function Re(e,t,r){return r?function(){var n="function"===typeof t?t.call(r,r):t,o="function"===typeof e?e.call(r,r):e;return n?Ie(n,o):o}:t?e?function(){return Ie("function"===typeof t?t.call(this,this):t,"function"===typeof e?e.call(this,this):e)}:t:e}function Ce(e,t){var r=t?e?e.concat(t):Array.isArray(t)?t:[t]:e;return r?function(e){for(var t=[],r=0;r<e.length;r++)-1===t.indexOf(e[r])&&t.push(e[r]);return t}(r):r}function Ne(e,t,r,n){var o=Object.create(e||null);return t?R(o,t):o}Ae.data=function(e,t,r){return r?Re(e,t,r):t&&"function"!==typeof t?e:Re(e,t)},j.forEach((function(e){Ae[e]=Ce})),U.forEach((function(e){Ae[e+"s"]=Ne})),Ae.watch=function(e,t,r,n){if(e===Y&&(e=void 0),t===Y&&(t=void 0),!t)return Object.create(e||null);if(!e)return t;var o={};for(var i in R(o,e),t){var a=o[i],s=t[i];a&&!Array.isArray(a)&&(a=[a]),o[i]=a?a.concat(s):Array.isArray(s)?s:[s]}return o},Ae.props=Ae.methods=Ae.inject=Ae.computed=function(e,t,r,n){if(!e)return t;var o=Object.create(null);return R(o,e),t&&R(o,t),o},Ae.provide=Re;var Me=function(e,t){return void 0===t?e:t};function we(e,t,r){if("function"===typeof t&&(t=t.options),function(e,t){var r=e.props;if(r){var n,o,i,a={};if(Array.isArray(r)){n=r.length;while(n--)o=r[n],"string"===typeof o&&(i=T(o),a[i]={type:null})}else if(u(r))for(var s in r)o=r[s],i=T(s),a[i]=u(o)?o:{type:o};else 0;e.props=a}}(t),function(e,t){var r=e.inject;if(r){var n=e.inject={};if(Array.isArray(r))for(var o=0;o<r.length;o++)n[r[o]]={from:r[o]};else if(u(r))for(var i in r){var a=r[i];n[i]=u(a)?R({from:i},a):{from:a}}else 0}}(t),function(e){var t=e.directives;if(t)for(var r in t){var n=t[r];"function"===typeof n&&(t[r]={bind:n,update:n})}}(t),!t._base&&(t.extends&&(e=we(e,t.extends,r)),t.mixins))for(var n=0,o=t.mixins.length;n<o;n++)e=we(e,t.mixins[n],r);var i,a={};for(i in e)s(i);for(i in t)v(e,i)||s(i);function s(n){var o=Ae[n]||Me;a[n]=o(e[n],t[n],r,n)}return a}function Pe(e,t,r,n){if("string"===typeof r){var o=e[t];if(v(o,r))return o[r];var i=T(r);if(v(o,i))return o[i];var a=O(i);if(v(o,a))return o[a];var s=o[r]||o[i]||o[a];return s}}function ke(e,t,r,n){var o=t[e],i=!v(r,e),a=r[e],s=je(Boolean,o.type);if(s>-1)if(i&&!v(o,"default"))a=!1;else if(""===a||a===S(e)){var c=je(String,o.type);(c<0||s<c)&&(a=!0)}if(void 0===a){a=function(e,t,r){if(!v(t,"default"))return;var n=t.default;0;if(e&&e.$options.propsData&&void 0===e.$options.propsData[r]&&void 0!==e._props[r])return e._props[r];return"function"===typeof n&&"Function"!==xe(t.type)?n.call(e):n}(n,o,e);var u=ge;ye(!0),_e(a),ye(u)}return a}function xe(e){var t=e&&e.toString().match(/^\s*function (\w+)/);return t?t[1]:""}function Ue(e,t){return xe(e)===xe(t)}function je(e,t){if(!Array.isArray(t))return Ue(t,e)?0:-1;for(var r=0,n=t.length;r<n;r++)if(Ue(t[r],e))return r;return-1}function Be(e,t,r){se();try{if(t){var n=t;while(n=n.$parent){var o=n.$options.errorCaptured;if(o)for(var i=0;i<o.length;i++)try{var a=!1===o[i].call(n,e,t,r);if(a)return}catch(jr){De(jr,n,"errorCaptured hook")}}}De(e,t,r)}finally{ce()}}function Le(e,t,r,n,o){var i;try{i=r?e.apply(t,r):e.call(t),i&&!i._isVue&&p(i)&&!i._handled&&(i.catch((function(e){return Be(e,n,o+" (Promise/async)")})),i._handled=!0)}catch(jr){Be(jr,n,o)}return i}function De(e,t,r){if(B.errorHandler)try{return B.errorHandler.call(null,e,t,r)}catch(jr){jr!==e&&Ge(jr,null,"config.errorHandler")}Ge(e,t,r)}function Ge(e,t,r){if(!z&&!W||"undefined"===typeof console)throw e;console.error(e)}var He,Fe=[],$e=!1;function ze(){$e=!1;var e=Fe.slice(0);Fe.length=0;for(var t=0;t<e.length;t++)e[t]()}if("undefined"!==typeof Promise&&te(Promise)){var We=Promise.resolve();He=function(){We.then(ze),J&&setTimeout(N)}}else if(K||"undefined"===typeof MutationObserver||!te(MutationObserver)&&"[object MutationObserverConstructor]"!==MutationObserver.toString())He="undefined"!==typeof setImmediate&&te(setImmediate)?function(){setImmediate(ze)}:function(){setTimeout(ze,0)};else{var Ve=1,qe=new MutationObserver(ze),Ke=document.createTextNode(String(Ve));qe.observe(Ke,{characterData:!0}),He=function(){Ve=(Ve+1)%2,Ke.data=String(Ve)}}function Qe(e,t){var r;if(Fe.push((function(){if(e)try{e.call(t)}catch(jr){Be(jr,t,"nextTick")}else r&&r(t)})),$e||($e=!0,He()),!e&&"undefined"!==typeof Promise)return new Promise((function(e){r=e}))}var Je=new re;function Ye(e){(function e(t,r){var n,o,i=Array.isArray(t);if(!i&&!s(t)||Object.isFrozen(t)||t instanceof ue)return;if(t.__ob__){var a=t.__ob__.dep.id;if(r.has(a))return;r.add(a)}if(i){n=t.length;while(n--)e(t[n],r)}else{o=Object.keys(t),n=o.length;while(n--)e(t[o[n]],r)}})(e,Je),Je.clear()}var Xe=E((function(e){var t="&"===e.charAt(0);e=t?e.slice(1):e;var r="~"===e.charAt(0);e=r?e.slice(1):e;var n="!"===e.charAt(0);return e=n?e.slice(1):e,{name:e,once:r,capture:n,passive:t}}));function Ze(e,t){function r(){var e=arguments,n=r.fns;if(!Array.isArray(n))return Le(n,null,arguments,t,"v-on handler");for(var o=n.slice(),i=0;i<o.length;i++)Le(o[i],null,e,t,"v-on handler")}return r.fns=e,r}function et(e,t,r,i){var a=t.options.mpOptions&&t.options.mpOptions.properties;if(n(a))return r;var s=t.options.mpOptions.externalClasses||[],c=e.attrs,u=e.props;if(o(c)||o(u))for(var l in a){var p=S(l),d=tt(r,u,l,p,!0)||tt(r,c,l,p,!1);d&&r[l]&&-1!==s.indexOf(p)&&i[T(r[l])]&&(r[l]=i[T(r[l])])}return r}function tt(e,t,r,n,i){if(o(t)){if(v(t,r))return e[r]=t[r],i||delete t[r],!0;if(v(t,n))return e[r]=t[n],i||delete t[n],!0}return!1}function rt(e){return a(e)?[de(e)]:Array.isArray(e)?function e(t,r){var s,c,u,l,p=[];for(s=0;s<t.length;s++)c=t[s],n(c)||"boolean"===typeof c||(u=p.length-1,l=p[u],Array.isArray(c)?c.length>0&&(c=e(c,(r||"")+"_"+s),nt(c[0])&&nt(l)&&(p[u]=de(l.text+c[0].text),c.shift()),p.push.apply(p,c)):a(c)?nt(l)?p[u]=de(l.text+c):""!==c&&p.push(de(c)):nt(c)&&nt(l)?p[u]=de(l.text+c.text):(i(t._isVList)&&o(c.tag)&&n(c.key)&&o(r)&&(c.key="__vlist"+r+"_"+s+"__"),p.push(c)));return p}(e):void 0}function nt(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&&(ye(!1),Object.keys(t).forEach((function(r){Te(e,r,t[r])})),ye(!0))}function at(e,t){if(e){for(var r=Object.create(null),n=ne?Reflect.ownKeys(e):Object.keys(e),o=0;o<n.length;o++){var i=n[o];if("__ob__"!==i){var a=e[i].from,s=t;while(s){if(s._provided&&v(s._provided,a)){r[i]=s._provided[a];break}s=s.$parent}if(!s)if("default"in e[i]){var c=e[i].default;r[i]="function"===typeof c?c.call(t):c}else 0}}return r}}function st(e,t){if(!e||!e.length)return{};for(var r={},n=0,o=e.length;n<o;n++){var i=e[n],a=i.data;if(a&&a.attrs&&a.attrs.slot&&delete a.attrs.slot,i.context!==t&&i.fnContext!==t||!a||null==a.slot)i.asyncMeta&&i.asyncMeta.data&&"page"===i.asyncMeta.data.slot?(r["page"]||(r["page"]=[])).push(i):(r.default||(r.default=[])).push(i);else{var s=a.slot,c=r[s]||(r[s]=[]);"template"===i.tag?c.push.apply(c,i.children||[]):c.push(i)}}for(var u in r)r[u].every(ct)&&delete r[u];return r}function ct(e){return e.isComment&&!e.asyncFactory||" "===e.text}function ut(e,t,n){var o,i=Object.keys(t).length>0,a=e?!!e.$stable:!i,s=e&&e.$key;if(e){if(e._normalized)return e._normalized;if(a&&n&&n!==r&&s===n.$key&&!i&&!n.$hasNormal)return n;for(var c in o={},e)e[c]&&"$"!==c[0]&&(o[c]=lt(t,c,e[c]))}else o={};for(var u in t)u in o||(o[u]=pt(t,u));return e&&Object.isExtensible(e)&&(e._normalized=o),G(o,"$stable",a),G(o,"$key",s),G(o,"$hasNormal",i),o}function lt(e,t,r){var n=function(){var e=arguments.length?r.apply(null,arguments):r({});return e=e&&"object"===typeof e&&!Array.isArray(e)?[e]:rt(e),e&&(0===e.length||1===e.length&&e[0].isComment)?void 0:e};return r.proxy&&Object.defineProperty(e,t,{get:n,enumerable:!0,configurable:!0}),n}function pt(e,t){return function(){return e[t]}}function dt(e,t){var r,n,i,a,c;if(Array.isArray(e)||"string"===typeof e)for(r=new Array(e.length),n=0,i=e.length;n<i;n++)r[n]=t(e[n],n,n,n);else if("number"===typeof e)for(r=new Array(e),n=0;n<e;n++)r[n]=t(n+1,n,n,n);else if(s(e))if(ne&&e[Symbol.iterator]){r=[];var u=e[Symbol.iterator](),l=u.next();while(!l.done)r.push(t(l.value,r.length,n,n++)),l=u.next()}else for(a=Object.keys(e),r=new Array(a.length),n=0,i=a.length;n<i;n++)c=a[n],r[n]=t(e[c],c,n,n);return o(r)||(r=[]),r._isVList=!0,r}function ft(e,t,r,n){var o,i=this.$scopedSlots[e];i?(r=r||{},n&&(r=R(R({},n),r)),o=i(r,this,r._i)||t):o=this.$slots[e]||t;var a=r&&r.slot;return a?this.$createElement("template",{slot:a},o):o}function ht(e){return Pe(this.$options,"filters",e)||w}function mt(e,t){return Array.isArray(e)?-1===e.indexOf(t):e!==t}function gt(e,t,r,n,o){var i=B.keyCodes[t]||r;return o&&n&&!B.keyCodes[t]?mt(o,n):i?mt(i,e):n?S(n)!==t:void 0}function yt(e,t,r,n,o){if(r)if(s(r)){var i;Array.isArray(r)&&(r=C(r));var a=function(a){if("class"===a||"style"===a||m(a))i=e;else{var s=e.attrs&&e.attrs.type;i=n||B.mustUseProp(t,s,a)?e.domProps||(e.domProps={}):e.attrs||(e.attrs={})}var c=T(a),u=S(a);if(!(c in i)&&!(u in i)&&(i[a]=r[a],o)){var l=e.on||(e.on={});l["update:"+a]=function(e){r[a]=e}}};for(var c in r)a(c)}else;return e}function vt(e,t){var r=this._staticTrees||(this._staticTrees=[]),n=r[e];return n&&!t||(n=r[e]=this.$options.staticRenderFns[e].call(this._renderProxy,null,this),_t(n,"__static__"+e,!1)),n}function Et(e,t,r){return _t(e,"__once__"+t+(r?"_"+r:""),!0),e}function _t(e,t,r){if(Array.isArray(e))for(var n=0;n<e.length;n++)e[n]&&"string"!==typeof e[n]&&Tt(e[n],t+"_"+n,r);else Tt(e,t,r)}function Tt(e,t,r){e.isStatic=!0,e.key=t,e.isOnce=r}function Ot(e,t){if(t)if(u(t)){var r=e.on=e.on?R({},e.on):{};for(var n in t){var o=r[n],i=t[n];r[n]=o?[].concat(o,i):i}}else;return e}function bt(e,t,r,n){t=t||{$stable:!r};for(var o=0;o<e.length;o++){var i=e[o];Array.isArray(i)?bt(i,t,r):i&&(i.proxy&&(i.fn.proxy=!0),t[i.key]=i.fn)}return n&&(t.$key=n),t}function St(e,t){for(var r=0;r<t.length;r+=2){var n=t[r];"string"===typeof n&&n&&(e[t[r]]=t[r+1])}return e}function At(e,t){return"string"===typeof e?t+e:e}function It(e){e._o=Et,e._n=f,e._s=d,e._l=dt,e._t=ft,e._q=P,e._i=k,e._m=vt,e._f=ht,e._k=gt,e._b=yt,e._v=de,e._e=pe,e._u=bt,e._g=Ot,e._d=St,e._p=At}function Rt(e,t,n,o,a){var s,c=this,u=a.options;v(o,"_uid")?(s=Object.create(o),s._original=o):(s=o,o=o._original);var l=i(u._compiled),p=!l;this.data=e,this.props=t,this.children=n,this.parent=o,this.listeners=e.on||r,this.injections=at(u.inject,o),this.slots=function(){return c.$slots||ut(e.scopedSlots,c.$slots=st(n,o)),c.$slots},Object.defineProperty(this,"scopedSlots",{enumerable:!0,get:function(){return ut(e.scopedSlots,this.slots())}}),l&&(this.$options=u,this.$slots=this.slots(),this.$scopedSlots=ut(e.scopedSlots,this.$slots)),u._scopeId?this._c=function(e,t,r,n){var i=xt(s,e,t,r,n,p);return i&&!Array.isArray(i)&&(i.fnScopeId=u._scopeId,i.fnContext=o),i}:this._c=function(e,t,r,n){return xt(s,e,t,r,n,p)}}function Ct(e,t,r,n,o){var i=function(e){var t=new ue(e.tag,e.data,e.children&&e.children.slice(),e.text,e.elm,e.context,e.componentOptions,e.asyncFactory);return t.ns=e.ns,t.isStatic=e.isStatic,t.key=e.key,t.isComment=e.isComment,t.fnContext=e.fnContext,t.fnOptions=e.fnOptions,t.fnScopeId=e.fnScopeId,t.asyncMeta=e.asyncMeta,t.isCloned=!0,t}(e);return i.fnContext=r,i.fnOptions=n,t.slot&&((i.data||(i.data={})).slot=t.slot),i}function Nt(e,t){for(var r in t)e[T(r)]=t[r]}It(Rt.prototype);var Mt={init:function(e,t){if(e.componentInstance&&!e.componentInstance._isDestroyed&&e.data.keepAlive){var r=e;Mt.prepatch(r,r)}else{var n=e.componentInstance=function(e,t){var r={_isComponent:!0,_parentVnode:e,parent:t},n=e.data.inlineTemplate;o(n)&&(r.render=n.render,r.staticRenderFns=n.staticRenderFns);return new e.componentOptions.Ctor(r)}(e,$t);n.$mount(t?e.elm:void 0,t)}},prepatch:function(e,t){var n=t.componentOptions,o=t.componentInstance=e.componentInstance;(function(e,t,n,o,i){0;var a=o.data.scopedSlots,s=e.$scopedSlots,c=!!(a&&!a.$stable||s!==r&&!s.$stable||a&&e.$scopedSlots.$key!==a.$key),u=!!(i||e.$options._renderChildren||c);e.$options._parentVnode=o,e.$vnode=o,e._vnode&&(e._vnode.parent=o);if(e.$options._renderChildren=i,e.$attrs=o.data.attrs||r,e.$listeners=n||r,t&&e.$options.props){ye(!1);for(var l=e._props,p=e.$options._propKeys||[],d=0;d<p.length;d++){var f=p[d],h=e.$options.props;l[f]=ke(f,h,t,e)}ye(!0),e.$options.propsData=t}e._$updateProperties&&e._$updateProperties(e),n=n||r;var m=e.$options._parentListeners;e.$options._parentListeners=n,Ft(e,n,m),u&&(e.$slots=st(i,o.context),e.$forceUpdate());0})(o,n.propsData,n.listeners,t,n.children)},insert:function(e){var t=e.context,r=e.componentInstance;r._isMounted||(Vt(r,"onServiceCreated"),Vt(r,"onServiceAttached"),r._isMounted=!0,Vt(r,"mounted")),e.data.keepAlive&&(t._isMounted?function(e){e._inactive=!1,Kt.push(e)}(r):Wt(r,!0))},destroy:function(e){var t=e.componentInstance;t._isDestroyed||(e.data.keepAlive?function e(t,r){if(r&&(t._directInactive=!0,zt(t)))return;if(!t._inactive){t._inactive=!0;for(var n=0;n<t.$children.length;n++)e(t.$children[n]);Vt(t,"deactivated")}}(t,!0):t.$destroy())}},wt=Object.keys(Mt);function Pt(e,t,a,c,u){if(!n(e)){var l=a.$options._base;if(s(e)&&(e=l.extend(e)),"function"===typeof e){var d;if(n(e.cid)&&(d=e,e=function(e,t){if(i(e.error)&&o(e.errorComp))return e.errorComp;if(o(e.resolved))return e.resolved;var r=jt;r&&o(e.owners)&&-1===e.owners.indexOf(r)&&e.owners.push(r);if(i(e.loading)&&o(e.loadingComp))return e.loadingComp;if(r&&!o(e.owners)){var a=e.owners=[r],c=!0,u=null,l=null;r.$on("hook:destroyed",(function(){return g(a,r)}));var d=function(e){for(var t=0,r=a.length;t<r;t++)a[t].$forceUpdate();e&&(a.length=0,null!==u&&(clearTimeout(u),u=null),null!==l&&(clearTimeout(l),l=null))},f=x((function(r){e.resolved=Bt(r,t),c?a.length=0:d(!0)})),h=x((function(t){o(e.errorComp)&&(e.error=!0,d(!0))})),m=e(f,h);return s(m)&&(p(m)?n(e.resolved)&&m.then(f,h):p(m.component)&&(m.component.then(f,h),o(m.error)&&(e.errorComp=Bt(m.error,t)),o(m.loading)&&(e.loadingComp=Bt(m.loading,t),0===m.delay?e.loading=!0:u=setTimeout((function(){u=null,n(e.resolved)&&n(e.error)&&(e.loading=!0,d(!1))}),m.delay||200)),o(m.timeout)&&(l=setTimeout((function(){l=null,n(e.resolved)&&h(null)}),m.timeout)))),c=!1,e.loading?e.loadingComp:e.resolved}}(d,l),void 0===e))return function(e,t,r,n,o){var i=pe();return i.asyncFactory=e,i.asyncMeta={data:t,context:r,children:n,tag:o},i}(d,t,a,c,u);t=t||{},fr(e),o(t.model)&&function(e,t){var r=e.model&&e.model.prop||"value",n=e.model&&e.model.event||"input";(t.attrs||(t.attrs={}))[r]=t.model.value;var i=t.on||(t.on={}),a=i[n],s=t.model.callback;o(a)?(Array.isArray(a)?-1===a.indexOf(s):a!==s)&&(i[n]=[s].concat(a)):i[n]=s}(e.options,t);var f=function(e,t,r,i){var a=t.options.props;if(n(a))return et(e,t,{},i);var s={},c=e.attrs,u=e.props;if(o(c)||o(u))for(var l in a){var p=S(l);tt(s,u,l,p,!0)||tt(s,c,l,p,!1)}return et(e,t,s,i)}(t,e,0,a);if(i(e.options.functional))return function(e,t,n,i,a){var s=e.options,c={},u=s.props;if(o(u))for(var l in u)c[l]=ke(l,u,t||r);else o(n.attrs)&&Nt(c,n.attrs),o(n.props)&&Nt(c,n.props);var p=new Rt(n,c,a,i,e),d=s.render.call(null,p._c,p);if(d instanceof ue)return Ct(d,n,p.parent,s,p);if(Array.isArray(d)){for(var f=rt(d)||[],h=new Array(f.length),m=0;m<f.length;m++)h[m]=Ct(f[m],n,p.parent,s,p);return h}}(e,f,t,a,c);var h=t.on;if(t.on=t.nativeOn,i(e.options.abstract)){var m=t.slot;t={},m&&(t.slot=m)}(function(e){for(var t=e.hook||(e.hook={}),r=0;r<wt.length;r++){var n=wt[r],o=t[n],i=Mt[n];o===i||o&&o._merged||(t[n]=o?kt(i,o):i)}})(t);var y=e.options.name||u,v=new ue("vue-component-"+e.cid+(y?"-"+y:""),t,void 0,void 0,void 0,a,{Ctor:e,propsData:f,listeners:h,tag:u,children:c},d);return v}}}function kt(e,t){var r=function(r,n){e(r,n),t(r,n)};return r._merged=!0,r}function xt(e,t,r,c,u,l){return(Array.isArray(r)||a(r))&&(u=c,c=r,r=void 0),i(l)&&(u=2),function(e,t,r,a,c){if(o(r)&&o(r.__ob__))return pe();o(r)&&o(r.is)&&(t=r.is);if(!t)return pe();0;Array.isArray(a)&&"function"===typeof a[0]&&(r=r||{},r.scopedSlots={default:a[0]},a.length=0);2===c?a=rt(a):1===c&&(a=function(e){for(var t=0;t<e.length;t++)if(Array.isArray(e[t]))return Array.prototype.concat.apply([],e);return e}(a));var u,l;if("string"===typeof t){var p;l=e.$vnode&&e.$vnode.ns||B.getTagNamespace(t),u=B.isReservedTag(t)?new ue(B.parsePlatformTagName(t),r,a,void 0,void 0,e):r&&r.pre||!o(p=Pe(e.$options,"components",t))?new ue(t,r,a,void 0,void 0,e):Pt(p,r,e,a,t)}else u=Pt(t,r,e,a);return Array.isArray(u)?u:o(u)?(o(l)&&function e(t,r,a){t.ns=r,"foreignObject"===t.tag&&(r=void 0,a=!0);if(o(t.children))for(var s=0,c=t.children.length;s<c;s++){var u=t.children[s];o(u.tag)&&(n(u.ns)||i(a)&&"svg"!==u.tag)&&e(u,r,a)}}(u,l),o(r)&&function(e){s(e.style)&&Ye(e.style);s(e.class)&&Ye(e.class)}(r),u):pe()}(e,t,r,c,u)}var Ut,jt=null;function Bt(e,t){return(e.__esModule||ne&&"Module"===e[Symbol.toStringTag])&&(e=e.default),s(e)?t.extend(e):e}function Lt(e){return e.isComment&&e.asyncFactory}function Dt(e,t){Ut.$on(e,t)}function Gt(e,t){Ut.$off(e,t)}function Ht(e,t){var r=Ut;return function n(){var o=t.apply(null,arguments);null!==o&&r.$off(e,n)}}function Ft(e,t,r){Ut=e,function(e,t,r,o,a,s){var c,u,l,p;for(c in e)u=e[c],l=t[c],p=Xe(c),n(u)||(n(l)?(n(u.fns)&&(u=e[c]=Ze(u,s)),i(p.once)&&(u=e[c]=a(p.name,u,p.capture)),r(p.name,u,p.capture,p.passive,p.params)):u!==l&&(l.fns=u,e[c]=l));for(c in t)n(e[c])&&(p=Xe(c),o(p.name,t[c],p.capture))}(t,r||{},Dt,Gt,Ht,e),Ut=void 0}var $t=null;function zt(e){while(e&&(e=e.$parent))if(e._inactive)return!0;return!1}function Wt(e,t){if(t){if(e._directInactive=!1,zt(e))return}else if(e._directInactive)return;if(e._inactive||null===e._inactive){e._inactive=!1;for(var r=0;r<e.$children.length;r++)Wt(e.$children[r]);Vt(e,"activated")}}function Vt(e,t){se();var r=e.$options[t],n=t+" hook";if(r)for(var o=0,i=r.length;o<i;o++)Le(r[o],e,null,e,n);e._hasHookEvent&&e.$emit("hook:"+t),ce()}var qt=[],Kt=[],Qt={},Jt=!1,Yt=!1,Xt=0;var Zt=Date.now;if(z&&!K){var er=window.performance;er&&"function"===typeof er.now&&Zt()>document.createEvent("Event").timeStamp&&(Zt=function(){return er.now()})}function tr(){var e,t;for(Zt(),Yt=!0,qt.sort((function(e,t){return e.id-t.id})),Xt=0;Xt<qt.length;Xt++)e=qt[Xt],e.before&&e.before(),t=e.id,Qt[t]=null,e.run();var r=Kt.slice(),n=qt.slice();(function(){Xt=qt.length=Kt.length=0,Qt={},Jt=Yt=!1})(),function(e){for(var t=0;t<e.length;t++)e[t]._inactive=!0,Wt(e[t],!0)}(r),function(e){var t=e.length;while(t--){var r=e[t],n=r.vm;n._watcher===r&&n._isMounted&&!n._isDestroyed&&Vt(n,"updated")}}(n),ee&&B.devtools&&ee.emit("flush")}var rr=0,nr=function(e,t,r,n,o){this.vm=e,o&&(e._watcher=this),e._watchers.push(this),n?(this.deep=!!n.deep,this.user=!!n.user,this.lazy=!!n.lazy,this.sync=!!n.sync,this.before=n.before):this.deep=this.user=this.lazy=this.sync=!1,this.cb=r,this.id=++rr,this.active=!0,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new re,this.newDepIds=new re,this.expression="","function"===typeof t?this.getter=t:(this.getter=function(e){if(!H.test(e)){var t=e.split(".");return function(e){for(var r=0;r<t.length;r++){if(!e)return;e=e[t[r]]}return e}}}(t),this.getter||(this.getter=N)),this.value=this.lazy?void 0:this.get()};nr.prototype.get=function(){var e;se(this);var t=this.vm;try{e=this.getter.call(t,t)}catch(jr){if(!this.user)throw jr;Be(jr,t,'getter for watcher "'+this.expression+'"')}finally{this.deep&&Ye(e),ce(),this.cleanupDeps()}return e},nr.prototype.addDep=function(e){var t=e.id;this.newDepIds.has(t)||(this.newDepIds.add(t),this.newDeps.push(e),this.depIds.has(t)||e.addSub(this))},nr.prototype.cleanupDeps=function(){var e=this.deps.length;while(e--){var t=this.deps[e];this.newDepIds.has(t.id)||t.removeSub(this)}var r=this.depIds;this.depIds=this.newDepIds,this.newDepIds=r,this.newDepIds.clear(),r=this.deps,this.deps=this.newDeps,this.newDeps=r,this.newDeps.length=0},nr.prototype.update=function(){this.lazy?this.dirty=!0:this.sync?this.run():function(e){var t=e.id;if(null==Qt[t]){if(Qt[t]=!0,Yt){var r=qt.length-1;while(r>Xt&&qt[r].id>e.id)r--;qt.splice(r+1,0,e)}else qt.push(e);Jt||(Jt=!0,Qe(tr))}}(this)},nr.prototype.run=function(){if(this.active){var e=this.get();if(e!==this.value||s(e)||this.deep){var t=this.value;if(this.value=e,this.user)try{this.cb.call(this.vm,e,t)}catch(jr){Be(jr,this.vm,'callback for watcher "'+this.expression+'"')}else this.cb.call(this.vm,e,t)}}},nr.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},nr.prototype.depend=function(){var e=this.deps.length;while(e--)this.deps[e].depend()},nr.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 or={enumerable:!0,configurable:!0,get:N,set:N};function ir(e,t,r){or.get=function(){return this[t][r]},or.set=function(e){this[t][r]=e},Object.defineProperty(e,r,or)}function ar(e){e._watchers=[];var t=e.$options;t.props&&function(e,t){var r=e.$options.propsData||{},n=e._props={},o=e.$options._propKeys=[],i=!e.$parent;i||ye(!1);var a=function(i){o.push(i);var a=ke(i,t,r,e);Te(n,i,a),i in e||ir(e,"_props",i)};for(var s in t)a(s);ye(!0)}(e,t.props),t.methods&&function(e,t){e.$options.props;for(var r in t)e[r]="function"!==typeof t[r]?N:A(t[r],e)}(e,t.methods),t.data?function(e){var t=e.$options.data;t=e._data="function"===typeof t?function(e,t){se();try{return e.call(t,t)}catch(jr){return Be(jr,t,"data()"),{}}finally{ce()}}(t,e):t||{},u(t)||(t={});var r=Object.keys(t),n=e.$options.props,o=(e.$options.methods,r.length);while(o--){var i=r[o];0,n&&v(n,i)||D(i)||ir(e,"_data",i)}_e(t,!0)}(e):_e(e._data={},!0),t.computed&&function(e,t){var r=e._computedWatchers=Object.create(null),n=Z();for(var o in t){var i=t[o],a="function"===typeof i?i:i.get;0,n||(r[o]=new nr(e,a||N,N,sr)),o in e||cr(e,o,i)}}(e,t.computed),t.watch&&t.watch!==Y&&function(e,t){for(var r in t){var n=t[r];if(Array.isArray(n))for(var o=0;o<n.length;o++)pr(e,r,n[o]);else pr(e,r,n)}}(e,t.watch)}var sr={lazy:!0};function cr(e,t,r){var n=!Z();"function"===typeof r?(or.get=n?ur(t):lr(r),or.set=N):(or.get=r.get?n&&!1!==r.cache?ur(t):lr(r.get):N,or.set=r.set||N),Object.defineProperty(e,t,or)}function ur(e){return function(){var t=this._computedWatchers&&this._computedWatchers[e];if(t)return t.dirty&&t.evaluate(),ae.SharedObject.target&&t.depend(),t.value}}function lr(e){return function(){return e.call(this,this)}}function pr(e,t,r,n){return u(r)&&(n=r,r=r.handler),"string"===typeof r&&(r=e[r]),e.$watch(t,r,n)}var dr=0;function fr(e){var t=e.options;if(e.super){var r=fr(e.super),n=e.superOptions;if(r!==n){e.superOptions=r;var o=function(e){var t,r=e.options,n=e.sealedOptions;for(var o in r)r[o]!==n[o]&&(t||(t={}),t[o]=r[o]);return t}(e);o&&R(e.extendOptions,o),t=e.options=we(r,e.extendOptions),t.name&&(t.components[t.name]=e)}}return t}function hr(e){this._init(e)}function mr(e){e.cid=0;var t=1;e.extend=function(e){e=e||{};var r=this,n=r.cid,o=e._Ctor||(e._Ctor={});if(o[n])return o[n];var i=e.name||r.options.name;var a=function(e){this._init(e)};return a.prototype=Object.create(r.prototype),a.prototype.constructor=a,a.cid=t++,a.options=we(r.options,e),a["super"]=r,a.options.props&&function(e){var t=e.options.props;for(var r in t)ir(e.prototype,"_props",r)}(a),a.options.computed&&function(e){var t=e.options.computed;for(var r in t)cr(e.prototype,r,t[r])}(a),a.extend=r.extend,a.mixin=r.mixin,a.use=r.use,U.forEach((function(e){a[e]=r[e]})),i&&(a.options.components[i]=a),a.superOptions=r.options,a.extendOptions=e,a.sealedOptions=R({},a.options),o[n]=a,a}}function gr(e){return e&&(e.Ctor.options.name||e.tag)}function yr(e,t){return Array.isArray(e)?e.indexOf(t)>-1:"string"===typeof e?e.split(",").indexOf(t)>-1:!!function(e){return"[object RegExp]"===c.call(e)}(e)&&e.test(t)}function vr(e,t){var r=e.cache,n=e.keys,o=e._vnode;for(var i in r){var a=r[i];if(a){var s=gr(a.componentOptions);s&&!t(s)&&Er(r,i,n,o)}}}function Er(e,t,r,n){var o=e[t];!o||n&&o.tag===n.tag||o.componentInstance.$destroy(),e[t]=null,g(r,t)}(function(e){e.prototype._init=function(e){var t=this;t._uid=dr++,t._isVue=!0,e&&e._isComponent?function(e,t){var r=e.$options=Object.create(e.constructor.options),n=t._parentVnode;r.parent=t.parent,r._parentVnode=n;var o=n.componentOptions;r.propsData=o.propsData,r._parentListeners=o.listeners,r._renderChildren=o.children,r._componentTag=o.tag,t.render&&(r.render=t.render,r.staticRenderFns=t.staticRenderFns)}(t,e):t.$options=we(fr(t.constructor),e||{},t),t._renderProxy=t,t._self=t,function(e){var t=e.$options,r=t.parent;if(r&&!t.abstract){while(r.$options.abstract&&r.$parent)r=r.$parent;r.$children.push(e)}e.$parent=r,e.$root=r?r.$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,n=e.$vnode=t._parentVnode,o=n&&n.context;e.$slots=st(t._renderChildren,o),e.$scopedSlots=r,e._c=function(t,r,n,o){return xt(e,t,r,n,o,!1)},e.$createElement=function(t,r,n,o){return xt(e,t,r,n,o,!0)};var i=n&&n.data;Te(e,"$attrs",i&&i.attrs||r,null,!0),Te(e,"$listeners",t._parentListeners||r,null,!0)}(t),Vt(t,"beforeCreate"),!t._$fallback&&it(t),ar(t),!t._$fallback&&ot(t),!t._$fallback&&Vt(t,"created"),t.$options.el&&t.$mount(t.$options.el)}})(hr),function(e){var t={get:function(){return this._data}},r={get:function(){return this._props}};Object.defineProperty(e.prototype,"$data",t),Object.defineProperty(e.prototype,"$props",r),e.prototype.$set=Oe,e.prototype.$delete=be,e.prototype.$watch=function(e,t,r){if(u(t))return pr(this,e,t,r);r=r||{},r.user=!0;var n=new nr(this,e,t,r);if(r.immediate)try{t.call(this,n.value)}catch(o){Be(o,this,'callback for immediate watcher "'+n.expression+'"')}return function(){n.teardown()}}}(hr),function(e){var t=/^hook:/;e.prototype.$on=function(e,r){var n=this;if(Array.isArray(e))for(var o=0,i=e.length;o<i;o++)n.$on(e[o],r);else(n._events[e]||(n._events[e]=[])).push(r),t.test(e)&&(n._hasHookEvent=!0);return n},e.prototype.$once=function(e,t){var r=this;function n(){r.$off(e,n),t.apply(r,arguments)}return n.fn=t,r.$on(e,n),r},e.prototype.$off=function(e,t){var r=this;if(!arguments.length)return r._events=Object.create(null),r;if(Array.isArray(e)){for(var n=0,o=e.length;n<o;n++)r.$off(e[n],t);return r}var i,a=r._events[e];if(!a)return r;if(!t)return r._events[e]=null,r;var s=a.length;while(s--)if(i=a[s],i===t||i.fn===t){a.splice(s,1);break}return r},e.prototype.$emit=function(e){var t=this,r=t._events[e];if(r){r=r.length>1?I(r):r;for(var n=I(arguments,1),o='event handler for "'+e+'"',i=0,a=r.length;i<a;i++)Le(r[i],t,n,t,o)}return t}}(hr),function(e){e.prototype._update=function(e,t){var r=this,n=r.$el,o=r._vnode,i=function(e){var t=$t;return $t=e,function(){$t=t}}(r);r._vnode=e,r.$el=o?r.__patch__(o,e):r.__patch__(r.$el,e,t,!1),i(),n&&(n.__vue__=null),r.$el&&(r.$el.__vue__=r),r.$vnode&&r.$parent&&r.$vnode===r.$parent._vnode&&(r.$parent.$el=r.$el)},e.prototype.$forceUpdate=function(){this._watcher&&this._watcher.update()},e.prototype.$destroy=function(){var e=this;if(!e._isBeingDestroyed){Vt(e,"beforeDestroy"),e._isBeingDestroyed=!0;var t=e.$parent;!t||t._isBeingDestroyed||e.$options.abstract||g(t.$children,e),e._watcher&&e._watcher.teardown();var r=e._watchers.length;while(r--)e._watchers[r].teardown();e._data.__ob__&&e._data.__ob__.vmCount--,e._isDestroyed=!0,e.__patch__(e._vnode,null),Vt(e,"destroyed"),e.$off(),e.$el&&(e.$el.__vue__=null),e.$vnode&&(e.$vnode.parent=null)}}}(hr),function(e){It(e.prototype),e.prototype.$nextTick=function(e){return Qe(e,this)},e.prototype._render=function(){var e,t=this,r=t.$options,n=r.render,o=r._parentVnode;o&&(t.$scopedSlots=ut(o.data.scopedSlots,t.$slots,t.$scopedSlots)),t.$vnode=o;try{jt=t,e=n.call(t._renderProxy,t.$createElement)}catch(jr){Be(jr,t,"render"),e=t._vnode}finally{jt=null}return Array.isArray(e)&&1===e.length&&(e=e[0]),e instanceof ue||(e=pe()),e.parent=o,e}}(hr);var _r=[String,RegExp,Array],Tr={name:"keep-alive",abstract:!0,props:{include:_r,exclude:_r,max:[String,Number]},created:function(){this.cache=Object.create(null),this.keys=[]},destroyed:function(){for(var e in this.cache)Er(this.cache,e,this.keys)},mounted:function(){var e=this;this.$watch("include",(function(t){vr(e,(function(e){return yr(t,e)}))})),this.$watch("exclude",(function(t){vr(e,(function(e){return!yr(t,e)}))}))},render:function(){var e=this.$slots.default,t=function(e){if(Array.isArray(e))for(var t=0;t<e.length;t++){var r=e[t];if(o(r)&&(o(r.componentOptions)||Lt(r)))return r}}(e),r=t&&t.componentOptions;if(r){var n=gr(r),i=this.include,a=this.exclude;if(i&&(!n||!yr(i,n))||a&&n&&yr(a,n))return t;var s=this.cache,c=this.keys,u=null==t.key?r.Ctor.cid+(r.tag?"::"+r.tag:""):t.key;s[u]?(t.componentInstance=s[u].componentInstance,g(c,u),c.push(u)):(s[u]=t,c.push(u),this.max&&c.length>parseInt(this.max)&&Er(s,c[0],c,this._vnode)),t.data.keepAlive=!0}return t||e&&e[0]}},Or={KeepAlive:Tr};(function(e){var t={get:function(){return B}};Object.defineProperty(e,"config",t),e.util={warn:oe,extend:R,mergeOptions:we,defineReactive:Te},e.set=Oe,e.delete=be,e.nextTick=Qe,e.observable=function(e){return _e(e),e},e.options=Object.create(null),U.forEach((function(t){e.options[t+"s"]=Object.create(null)})),e.options._base=e,R(e.options.components,Or),function(e){e.use=function(e){var t=this._installedPlugins||(this._installedPlugins=[]);if(t.indexOf(e)>-1)return this;var r=I(arguments,1);return r.unshift(this),"function"===typeof e.install?e.install.apply(e,r):"function"===typeof e&&e.apply(null,r),t.push(e),this}}(e),function(e){e.mixin=function(e){return this.options=we(this.options,e),this}}(e),mr(e),function(e){U.forEach((function(t){e[t]=function(e,r){return r?("component"===t&&u(r)&&(r.name=r.name||e,r=this.options._base.extend(r)),"directive"===t&&"function"===typeof r&&(r={bind:r,update:r}),this.options[t+"s"][e]=r,r):this.options[t+"s"][e]}}))}(e)})(hr),Object.defineProperty(hr.prototype,"$isServer",{get:Z}),Object.defineProperty(hr.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(hr,"FunctionalRenderContext",{value:Rt}),hr.version="2.6.11";var br="[object Array]",Sr="[object Object]";function Ar(e,t){var r={};return function e(t,r){if(t===r)return;var n=Rr(t),o=Rr(r);if(n==Sr&&o==Sr){if(Object.keys(t).length>=Object.keys(r).length)for(var i in r){var a=t[i];void 0===a?t[i]=null:e(a,r[i])}}else n==br&&o==br&&t.length>=r.length&&r.forEach((function(r,n){e(t[n],r)}))}(e,t),function e(t,r,n,o){if(t===r)return;var i=Rr(t),a=Rr(r);if(i==Sr)if(a!=Sr||Object.keys(t).length<Object.keys(r).length)Ir(o,n,t);else{var s=function(i){var a=t[i],s=r[i],c=Rr(a),u=Rr(s);if(c!=br&&c!=Sr)a!==r[i]&&function(e,t){if(("[object Null]"===e||"[object Undefined]"===e)&&("[object Null]"===t||"[object Undefined]"===t))return!1;return!0}(c,u)&&Ir(o,(""==n?"":n+".")+i,a);else if(c==br)u!=br||a.length<s.length?Ir(o,(""==n?"":n+".")+i,a):a.forEach((function(t,r){e(t,s[r],(""==n?"":n+".")+i+"["+r+"]",o)}));else if(c==Sr)if(u!=Sr||Object.keys(a).length<Object.keys(s).length)Ir(o,(""==n?"":n+".")+i,a);else for(var l in a)e(a[l],s[l],(""==n?"":n+".")+i+"."+l,o)};for(var c in t)s(c)}else i==br?a!=br||t.length<r.length?Ir(o,n,t):t.forEach((function(t,i){e(t,r[i],n+"["+i+"]",o)})):Ir(o,n,t)}(e,t,"",r),r}function Ir(e,t,r){e[t]=r}function Rr(e){return Object.prototype.toString.call(e)}function Cr(e){if(e.__next_tick_callbacks&&e.__next_tick_callbacks.length){if(Object({VUE_APP_DARK_MODE:"false",VUE_APP_NAME:"候选人",VUE_APP_PLATFORM:"mp-weixin",NODE_ENV:"production",BASE_URL:"/"}).VUE_APP_DEBUG){var t=e.$scope;console.log("["+ +new Date+"]["+(t.is||t.route)+"]["+e._uid+"]:flushCallbacks["+e.__next_tick_callbacks.length+"]")}var r=e.__next_tick_callbacks.slice(0);e.__next_tick_callbacks.length=0;for(var n=0;n<r.length;n++)r[n]()}}function Nr(e,t){if(!e.__next_tick_pending&&!function(e){return qt.find((function(t){return e._watcher===t}))}(e)){if(Object({VUE_APP_DARK_MODE:"false",VUE_APP_NAME:"候选人",VUE_APP_PLATFORM:"mp-weixin",NODE_ENV:"production",BASE_URL:"/"}).VUE_APP_DEBUG){var r=e.$scope;console.log("["+ +new Date+"]["+(r.is||r.route)+"]["+e._uid+"]:nextVueTick")}return Qe(t,e)}if(Object({VUE_APP_DARK_MODE:"false",VUE_APP_NAME:"候选人",VUE_APP_PLATFORM:"mp-weixin",NODE_ENV:"production",BASE_URL:"/"}).VUE_APP_DEBUG){var n=e.$scope;console.log("["+ +new Date+"]["+(n.is||n.route)+"]["+e._uid+"]:nextMPTick")}var o;if(e.__next_tick_callbacks||(e.__next_tick_callbacks=[]),e.__next_tick_callbacks.push((function(){if(t)try{t.call(e)}catch(jr){Be(jr,e,"nextTick")}else o&&o(e)})),!t&&"undefined"!==typeof Promise)return new Promise((function(e){o=e}))}function Mr(e,t){return t&&(t._isVue||t.__v_isMPComponent)?{}:t}function wr(){}function Pr(e){return Array.isArray(e)?function(e){for(var t,r="",n=0,i=e.length;n<i;n++)o(t=Pr(e[n]))&&""!==t&&(r&&(r+=" "),r+=t);return r}(e):s(e)?function(e){var t="";for(var r in e)e[r]&&(t&&(t+=" "),t+=r);return t}(e):"string"===typeof e?e:""}var kr=E((function(e){var t={},r=/:(.+)/;return e.split(/;(?![^(]*\))/g).forEach((function(e){if(e){var n=e.split(r);n.length>1&&(t[n[0].trim()]=n[1].trim())}})),t}));var xr=["createSelectorQuery","createIntersectionObserver","selectAllComponents","selectComponent"];var Ur=["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"];hr.prototype.__patch__=function(e,t){var r=this;if(null!==t&&("page"===this.mpType||"component"===this.mpType)){var n=this.$scope,o=Object.create(null);try{o=function(e){var t=Object.create(null),r=[].concat(Object.keys(e._data||{}),Object.keys(e._computedWatchers||{}));r.reduce((function(t,r){return t[r]=e[r],t}),t);var n=e.__composition_api_state__||e.__secret_vfa_state__,o=n&&n.rawBindings;return o&&Object.keys(o).forEach((function(r){t[r]=e[r]})),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,Mr))}(this)}catch(s){console.error(s)}o.__webviewId__=n.data.__webviewId__;var i=Object.create(null);Object.keys(o).forEach((function(e){i[e]=n.data[e]}));var a=!1===this.$shouldDiffData?o:Ar(o,i);Object.keys(a).length?(Object({VUE_APP_DARK_MODE:"false",VUE_APP_NAME:"候选人",VUE_APP_PLATFORM:"mp-weixin",NODE_ENV:"production",BASE_URL:"/"}).VUE_APP_DEBUG&&console.log("["+ +new Date+"]["+(n.is||n.route)+"]["+this._uid+"]差量更新",JSON.stringify(a)),this.__next_tick_pending=!0,n.setData(a,(function(){r.__next_tick_pending=!1,Cr(r)}))):Cr(this)}},hr.prototype.$mount=function(e,t){return function(e,t,r){return e.mpType?("app"===e.mpType&&(e.$options.render=wr),e.$options.render||(e.$options.render=wr),!e._$fallback&&Vt(e,"beforeMount"),new nr(e,(function(){e._update(e._render(),r)}),N,{before:function(){e._isMounted&&!e._isDestroyed&&Vt(e,"beforeUpdate")}},!0),r=!1,e):e}(this,0,t)},function(e){var t=e.extend;e.extend=function(e){e=e||{};var r=e.methods;return r&&Object.keys(r).forEach((function(t){-1!==Ur.indexOf(t)&&(e[t]=r[t],delete r[t])})),t.call(this,e)};var r=e.config.optionMergeStrategies,n=r.created;Ur.forEach((function(e){r[e]=n})),e.prototype.__lifecycle_hooks__=Ur}(hr),function(e){e.config.errorHandler=function(t,r,n){e.util.warn("Error in "+n+': "'+t.toString()+'"',r),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 r=this.$scope["_triggerEvent"]||this.$scope["triggerEvent"];if(r)try{r.call(this.$scope,e,{__args__:I(arguments,1)})}catch(n){}}return t.apply(this,arguments)},e.prototype.$nextTick=function(e){return Nr(this,e)},xr.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 r=this;se();var n,o=r.$options[e],i=e+" hook";if(o)for(var a=0,s=o.length;a<s;a++)n=Le(o[a],r,t?[t]:null,r,i);return r._hasHookEvent&&r.$emit("hook:"+e,t),ce(),n},e.prototype.__set_model=function(t,r,n,o){Array.isArray(o)&&(-1!==o.indexOf("trim")&&(n=n.trim()),-1!==o.indexOf("number")&&(n=this._n(n))),t||(t=this),e.set(t,r,n)},e.prototype.__set_sync=function(t,r,n){t||(t=this),e.set(t,r,n)},e.prototype.__get_orig=function(e){return u(e)&&e["$orig"]||e},e.prototype.__get_value=function(e,t){return function e(t,r){var n=r.split("."),o=n[0];return 0===o.indexOf("__$n")&&(o=parseInt(o.replace("__$n",""))),1===n.length?t[o]:e(t[o],n.slice(1).join("."))}(t||this,e)},e.prototype.__get_class=function(e,t){return function(e,t){return o(e)||o(t)?function(e,t){return e?t?e+" "+t:e:t||""}(e,Pr(t)):""}(t,e)},e.prototype.__get_style=function(e,t){if(!e&&!t)return"";var r=function(e){return Array.isArray(e)?C(e):"string"===typeof e?kr(e):e}(e),n=t?R(t,r):r;return Object.keys(n).map((function(e){return S(e)+":"+n[e]})).join(";")},e.prototype.__map=function(e,t){var r,n,o,i,a;if(Array.isArray(e)){for(r=new Array(e.length),n=0,o=e.length;n<o;n++)r[n]=t(e[n],n);return r}if(s(e)){for(i=Object.keys(e),r=Object.create(null),n=0,o=i.length;n<o;n++)a=i[n],r[a]=t(e[a],a,n);return r}if("number"===typeof e){for(r=new Array(e),n=0,o=e;n<o;n++)r[n]=t(n,n);return r}return[]}}(hr),t["default"]=hr}.call(this,r("c8ba"))},"68c2":function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={props:{show:{type:Boolean,default:e.$u.props.loadingIcon.show},color:{type:String,default:e.$u.props.loadingIcon.color},textColor:{type:String,default:e.$u.props.loadingIcon.textColor},vertical:{type:Boolean,default:e.$u.props.loadingIcon.vertical},mode:{type:String,default:e.$u.props.loadingIcon.mode},size:{type:[String,Number],default:e.$u.props.loadingIcon.size},textSize:{type:[String,Number],default:e.$u.props.loadingIcon.textSize},text:{type:[String,Number],default:e.$u.props.loadingIcon.text},timingFunction:{type:String,default:e.$u.props.loadingIcon.timingFunction},duration:{type:[String,Number],default:e.$u.props.loadingIcon.duration},inactiveColor:{type:String,default:e.$u.props.loadingIcon.inactiveColor}}};t.default=r}).call(this,r("543d")["default"])},"6a7f":function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={props:{show:{type:Boolean,default:e.$u.props.modal.show},title:{type:[String],default:e.$u.props.modal.title},content:{type:String,default:e.$u.props.modal.content},confirmText:{type:String,default:e.$u.props.modal.confirmText},cancelText:{type:String,default:e.$u.props.modal.cancelText},showConfirmButton:{type:Boolean,default:e.$u.props.modal.showConfirmButton},showCancelButton:{type:Boolean,default:e.$u.props.modal.showCancelButton},confirmColor:{type:String,default:e.$u.props.modal.confirmColor},cancelColor:{type:String,default:e.$u.props.modal.cancelColor},buttonReverse:{type:Boolean,default:e.$u.props.modal.buttonReverse},zoom:{type:Boolean,default:e.$u.props.modal.zoom},asyncClose:{type:Boolean,default:e.$u.props.modal.asyncClose},closeOnClickOverlay:{type:Boolean,default:e.$u.props.modal.closeOnClickOverlay},negativeTop:{type:[String,Number],default:e.$u.props.modal.negativeTop},width:{type:[String,Number],default:e.$u.props.modal.width},confirmButtonShape:{type:String,default:e.$u.props.modal.confirmButtonShape}}};t.default=r}).call(this,r("543d")["default"])},"6a80":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={tabs:{duration:300,list:function(){return[]},lineColor:"#3c9cff",activeStyle:function(){return{color:"#303133"}},inactiveStyle:function(){return{color:"#606266"}},lineWidth:20,lineHeight:3,lineBgSize:"cover",itemStyle:function(){return{height:"44px"}},scrollable:!0,current:0,keyName:"name"}}},"6adc":function(e,t,r){"use strict";(function(e){var n=r("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(r("9523")),i=n(r("5e95")),a=n(r("5103")),s=n(r("f091")),c=n(r("c501")),u=n(r("39a3")),l=n(r("b56d")),p=n(r("840c")),d=n(r("4751")),f=n(r("33d7")),h=n(r("7631")),m=n(r("316e")),g=n(r("e83c")),y=n(r("b747")),v=n(r("c8cd"));function E(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function _(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?E(Object(r),!0).forEach((function(t){(0,o.default)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):E(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var T=_(_({route:c.default,date:f.default.timeFormat,colorGradient:u.default.colorGradient,hexToRgb:u.default.hexToRgb,rgbToHex:u.default.rgbToHex,colorToRgba:u.default.colorToRgba,test:l.default,type:["primary","success","error","warning","info"],http:new s.default,config:h.default,zIndex:g.default,debounce:p.default,throttle:d.default,mixin:i.default,mpMixin:a.default,props:m.default},f.default),{},{color:y.default,platform:v.default});e.$u=T;var O={install:function(t){t.filter("timeFormat",(function(t,r){return e.$u.timeFormat(t,r)})),t.filter("date",(function(t,r){return e.$u.timeFormat(t,r)})),t.filter("timeFrom",(function(t,r){return e.$u.timeFrom(t,r)})),t.prototype.$u=T,t.mixin(i.default)}};t.default=O}).call(this,r("543d")["default"])},"6b35":function(e,t,r){var n,o,i=r("7037");!function(a,s){"object"===i(t)&&"undefined"!==typeof e?e.exports=s():(n=s,o="function"===typeof n?n.call(t,r,t,e):n,void 0===o||(e.exports=o))}(0,(function(){"use strict";var e="millisecond",t="second",r="minute",n="hour",o="day",a="week",s="month",c="quarter",u="year",l="date",p=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[^0-9]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?.?(\d+)?$/,d=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,f={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_")},h=function(e,t,r){var n=String(e);return!n||n.length>=t?e:"".concat(Array(t+1-n.length).join(r)).concat(e)},m={s:h,z:function(e){var t=-e.utcOffset(),r=Math.abs(t),n=Math.floor(r/60),o=r%60;return"".concat((t<=0?"+":"-")+h(n,2,"0"),":").concat(h(o,2,"0"))},m:function e(t,r){if(t.date()<r.date())return-e(r,t);var n=12*(r.year()-t.year())+(r.month()-t.month()),o=t.clone().add(n,s),i=r-o<0,a=t.clone().add(n+(i?-1:1),s);return+(-(n+(r-o)/(i?o-a:a-o))||0)},a:function(e){return e<0?Math.ceil(e)||0:Math.floor(e)},p:function(i){return{M:s,y:u,w:a,d:o,D:l,h:n,m:r,s:t,ms:e,Q:c}[i]||String(i||"").toLowerCase().replace(/s$/,"")},u:function(e){return void 0===e}},g="en",y={};y[g]=f;var v=function(e){return e instanceof O},E=function(e,t,r){var n;if(!e)return g;if("string"===typeof e)y[e]&&(n=e),t&&(y[e]=t,n=e);else{var o=e.name;y[o]=e,n=o}return!r&&n&&(g=n),n||!r&&g},_=function(e,t){if(v(e))return e.clone();var r="object"===i(t)?t:{};return r.date=e,r.args=arguments,new O(r)},T=m;T.l=E,T.i=v,T.w=function(e,t){return _(e,{locale:t.$L,utc:t.$u,x:t.$x,$offset:t.$offset})};var O=function(){function i(e){this.$L=E(e.locale,null,!0),this.parse(e)}var f=i.prototype;return f.parse=function(e){this.$d=function(e){var t=e.date,r=e.utc;if(null===t)return new Date(NaN);if(T.u(t))return new Date;if(t instanceof Date)return new Date(t);if("string"===typeof t&&!/Z$/i.test(t)){var n=t.match(p);if(n){var o=n[2]-1||0,i=(n[7]||"0").substring(0,3);return r?new Date(Date.UTC(n[1],o,n[3]||1,n[4]||0,n[5]||0,n[6]||0,i)):new Date(n[1],o,n[3]||1,n[4]||0,n[5]||0,n[6]||0,i)}}return new Date(t)}(e),this.$x=e.x||{},this.init()},f.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()},f.$utils=function(){return T},f.isValid=function(){return!("Invalid Date"===this.$d.toString())},f.isSame=function(e,t){var r=_(e);return this.startOf(t)<=r&&r<=this.endOf(t)},f.isAfter=function(e,t){return _(e)<this.startOf(t)},f.isBefore=function(e,t){return this.endOf(t)<_(e)},f.$g=function(e,t,r){return T.u(e)?this[t]:this.set(r,e)},f.unix=function(){return Math.floor(this.valueOf()/1e3)},f.valueOf=function(){return this.$d.getTime()},f.startOf=function(e,i){var c=this,p=!!T.u(i)||i,d=T.p(e),f=function(e,t){var r=T.w(c.$u?Date.UTC(c.$y,t,e):new Date(c.$y,t,e),c);return p?r:r.endOf(o)},h=function(e,t){return T.w(c.toDate()[e].apply(c.toDate("s"),(p?[0,0,0,0]:[23,59,59,999]).slice(t)),c)},m=this.$W,g=this.$M,y=this.$D,v="set".concat(this.$u?"UTC":"");switch(d){case u:return p?f(1,0):f(31,11);case s:return p?f(1,g):f(0,g+1);case a:var E=this.$locale().weekStart||0,_=(m<E?m+7:m)-E;return f(p?y-_:y+(6-_),g);case o:case l:return h("".concat(v,"Hours"),0);case n:return h("".concat(v,"Minutes"),1);case r:return h("".concat(v,"Seconds"),2);case t:return h("".concat(v,"Milliseconds"),3);default:return this.clone()}},f.endOf=function(e){return this.startOf(e,!1)},f.$set=function(i,a){var c,p=T.p(i),d="set".concat(this.$u?"UTC":""),f=(c={},c[o]="".concat(d,"Date"),c[l]="".concat(d,"Date"),c[s]="".concat(d,"Month"),c[u]="".concat(d,"FullYear"),c[n]="".concat(d,"Hours"),c[r]="".concat(d,"Minutes"),c[t]="".concat(d,"Seconds"),c[e]="".concat(d,"Milliseconds"),c)[p],h=p===o?this.$D+(a-this.$W):a;if(p===s||p===u){var m=this.clone().set(l,1);m.$d[f](h),m.init(),this.$d=m.set(l,Math.min(this.$D,m.daysInMonth())).$d}else f&&this.$d[f](h);return this.init(),this},f.set=function(e,t){return this.clone().$set(e,t)},f.get=function(e){return this[T.p(e)]()},f.add=function(e,i){var c,l=this;e=Number(e);var p=T.p(i),d=function(t){var r=_(l);return T.w(r.date(r.date()+Math.round(t*e)),l)};if(p===s)return this.set(s,this.$M+e);if(p===u)return this.set(u,this.$y+e);if(p===o)return d(1);if(p===a)return d(7);var f=(c={},c[r]=6e4,c[n]=36e5,c[t]=1e3,c)[p]||1,h=this.$d.getTime()+e*f;return T.w(h,this)},f.subtract=function(e,t){return this.add(-1*e,t)},f.format=function(e){var t=this;if(!this.isValid())return"Invalid Date";var r=e||"YYYY-MM-DDTHH:mm:ssZ",n=T.z(this),o=this.$locale(),i=this.$H,a=this.$m,s=this.$M,c=o.weekdays,u=o.months,l=function(e,n,o,i){return e&&(e[n]||e(t,r))||o[n].substr(0,i)},p=function(e){return T.s(i%12||12,e,"0")},f=o.meridiem||function(e,t,r){var n=e<12?"AM":"PM";return r?n.toLowerCase():n},h={YY:String(this.$y).slice(-2),YYYY:this.$y,M:s+1,MM:T.s(s+1,2,"0"),MMM:l(o.monthsShort,s,u,3),MMMM:l(u,s),D:this.$D,DD:T.s(this.$D,2,"0"),d:String(this.$W),dd:l(o.weekdaysMin,this.$W,c,2),ddd:l(o.weekdaysShort,this.$W,c,3),dddd:c[this.$W],H:String(i),HH:T.s(i,2,"0"),h:p(1),hh:p(2),a:f(i,a,!0),A:f(i,a,!1),m:String(a),mm:T.s(a,2,"0"),s:String(this.$s),ss:T.s(this.$s,2,"0"),SSS:T.s(this.$ms,3,"0"),Z:n};return r.replace(d,(function(e,t){return t||h[e]||n.replace(":","")}))},f.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},f.diff=function(e,i,l){var p,d=T.p(i),f=_(e),h=6e4*(f.utcOffset()-this.utcOffset()),m=this-f,g=T.m(this,f);return g=(p={},p[u]=g/12,p[s]=g,p[c]=g/3,p[a]=(m-h)/6048e5,p[o]=(m-h)/864e5,p[n]=m/36e5,p[r]=m/6e4,p[t]=m/1e3,p)[d]||m,l?g:T.a(g)},f.daysInMonth=function(){return this.endOf(s).$D},f.$locale=function(){return y[this.$L]},f.locale=function(e,t){if(!e)return this.$L;var r=this.clone(),n=E(e,t,!0);return n&&(r.$L=n),r},f.clone=function(){return T.w(this.$d,this)},f.toDate=function(){return new Date(this.valueOf())},f.toJSON=function(){return this.isValid()?this.toISOString():null},f.toISOString=function(){return this.$d.toISOString()},f.toString=function(){return this.$d.toUTCString()},i}(),b=O.prototype;return _.prototype=b,[["$ms",e],["$s",t],["$m",r],["$H",n],["$W",o],["$M",s],["$y",u],["$D",l]].forEach((function(e){b[e[1]]=function(t){return this.$g(t,e[0],e[1])}})),_.extend=function(e,t){return e.$i||(e(t,O,_),e.$i=!0),_},_.locale=E,_.isDayjs=v,_.unix=function(e){return _(1e3*e)},_.en=y[g],_.Ls=y,_.p={},_}))},"6e86":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={section:{title:"",subTitle:"更多",right:!0,fontSize:15,bold:!0,color:"#303133",subColor:"#909399",showLine:!0,lineColor:"",arrow:!0}}},"6f3a":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={listItem:{anchor:""}}},"6f8f":function(e,t){e.exports=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}},e.exports.__esModule=!0,e.exports["default"]=e.exports},"6fbb":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={transition:{show:!1,mode:"fade",duration:"300",timingFunction:"ease-out"}}},7037:function(e,t){function r(t){return e.exports=r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.__esModule=!0,e.exports["default"]=e.exports,r(t)}e.exports=r,e.exports.__esModule=!0,e.exports["default"]=e.exports},"71e2":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={button:{hairline:!1,type:"info",size:"normal",shape:"square",plain:!1,disabled:!1,loading:!1,loadingText:"",loadingMode:"spinner",loadingSize:15,openType:"",formType:"",appParameter:"",hoverStopPropagation:!0,lang:"en",sessionFrom:"",sendMessageTitle:"",sendMessagePath:"",sendMessageImg:"",showMessageCard:!1,dataName:"",throttleTime:0,hoverStartTime:0,hoverStayTime:200,text:"",icon:"",iconColor:"",color:""}}},"71fd":function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={props:{value:{type:[String,Number,Boolean],default:e.$u.props.radioGroup.value},disabled:{type:Boolean,default:e.$u.props.radioGroup.disabled},shape:{type:String,default:e.$u.props.radioGroup.shape},activeColor:{type:String,default:e.$u.props.radioGroup.activeColor},inactiveColor:{type:String,default:e.$u.props.radioGroup.inactiveColor},name:{type:String,default:e.$u.props.radioGroup.name},size:{type:[String,Number],default:e.$u.props.radioGroup.size},placement:{type:String,default:e.$u.props.radioGroup.placement},label:{type:[String],default:e.$u.props.radioGroup.label},labelColor:{type:[String],default:e.$u.props.radioGroup.labelColor},labelSize:{type:[String,Number],default:e.$u.props.radioGroup.labelSize},labelDisabled:{type:Boolean,default:e.$u.props.radioGroup.labelDisabled},iconColor:{type:String,default:e.$u.props.radioGroup.iconColor},iconSize:{type:[String,Number],default:e.$u.props.radioGroup.iconSize},borderBottom:{type:Boolean,default:e.$u.props.radioGroup.borderBottom},iconPlacement:{type:String,default:e.$u.props.radio.iconPlacement}}};t.default=r}).call(this,r("543d")["default"])},"74e1":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={empty:{icon:"",text:"",textColor:"#c0c4cc",textSize:14,iconColor:"#c0c4cc",iconSize:90,mode:"data",width:160,height:160,show:!0,marginTop:0}}},7631:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={v:"2.0.36",version:"2.0.36",type:["primary","success","info","error","warning"],color:{"u-primary":"#2979ff","u-warning":"#ff9900","u-success":"#19be6b","u-error":"#fa3534","u-info":"#909399","u-main-color":"#303133","u-content-color":"#606266","u-tips-color":"#909399","u-light-color":"#c0c4cc"},unit:"px"};t.default=n},"7a44":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={checkboxGroup:{name:"",value:function(){return[]},shape:"square",disabled:!1,activeColor:"#2979ff",inactiveColor:"#c8c9cc",size:18,placement:"row",labelSize:14,labelColor:"#303133",labelDisabled:!1,iconColor:"#ffffff",iconSize:12,iconPlacement:"left",borderBottom:!1}}},"7acc":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={indexList:{inactiveColor:"#606266",activeColor:"#5677fc",indexList:function(){return[]},sticky:!0,customNavHeight:0}}},"7d4c":function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={props:{show:{type:Boolean,default:e.$u.props.datetimePicker.show},showToolbar:{type:Boolean,default:e.$u.props.datetimePicker.showToolbar},value:{type:[String,Number],default:e.$u.props.datetimePicker.value},title:{type:String,default:e.$u.props.datetimePicker.title},mode:{type:String,default:e.$u.props.datetimePicker.mode},maxDate:{type:Number,default:e.$u.props.datetimePicker.maxDate},minDate:{type:Number,default:e.$u.props.datetimePicker.minDate},minHour:{type:Number,default:e.$u.props.datetimePicker.minHour},maxHour:{type:Number,default:e.$u.props.datetimePicker.maxHour},minMinute:{type:Number,default:e.$u.props.datetimePicker.minMinute},maxMinute:{type:Number,default:e.$u.props.datetimePicker.maxMinute},filter:{type:[Function,null],default:e.$u.props.datetimePicker.filter},formatter:{type:[Function,null],default:e.$u.props.datetimePicker.formatter},loading:{type:Boolean,default:e.$u.props.datetimePicker.loading},itemHeight:{type:[String,Number],default:e.$u.props.datetimePicker.itemHeight},cancelText:{type:String,default:e.$u.props.datetimePicker.cancelText},confirmText:{type:String,default:e.$u.props.datetimePicker.confirmText},cancelColor:{type:String,default:e.$u.props.datetimePicker.cancelColor},confirmColor:{type:String,default:e.$u.props.datetimePicker.confirmColor},visibleItemCount:{type:[String,Number],default:e.$u.props.datetimePicker.visibleItemCount},closeOnClickOverlay:{type:Boolean,default:e.$u.props.datetimePicker.closeOnClickOverlay},defaultIndex:{type:Array,default:e.$u.props.datetimePicker.defaultIndex}}};t.default=r}).call(this,r("543d")["default"])},"7dbd":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={avatar:{src:"",shape:"circle",size:40,mode:"scaleToFill",text:"",bgColor:"#c0c4cc",color:"#ffffff",fontSize:18,icon:"",mpAvatar:!1,randomBgColor:!1,defaultUrl:"",colorIndex:"",name:""}}},"7e1c":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={props:{openType:String},methods:{onGetUserInfo:function(e){this.$emit("getuserinfo",e.detail)},onContact:function(e){this.$emit("contact",e.detail)},onGetPhoneNumber:function(e){this.$emit("getphonenumber",e.detail)},onError:function(e){this.$emit("error",e.detail)},onLaunchApp:function(e){this.$emit("launchapp",e.detail)},onOpenSetting:function(e){this.$emit("opensetting",e.detail)}}};t.default=n},"7e42":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={skeleton:{loading:!0,animate:!0,rows:0,rowsWidth:"100%",rowsHeight:18,title:!0,titleWidth:"50%",titleHeight:18,avatar:!1,avatarSize:32,avatarShape:"circle"}}},"7ec2":function(e,t,r){var n=r("7037")["default"];function o(){"use strict";
- /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */e.exports=o=function(){return t},e.exports.__esModule=!0,e.exports["default"]=e.exports;var t={},r=Object.prototype,i=r.hasOwnProperty,a=Object.defineProperty||function(e,t,r){e[t]=r.value},s="function"==typeof Symbol?Symbol:{},c=s.iterator||"@@iterator",u=s.asyncIterator||"@@asyncIterator",l=s.toStringTag||"@@toStringTag";function p(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{p({},"")}catch(w){p=function(e,t,r){return e[t]=r}}function d(e,t,r,n){var o=t&&t.prototype instanceof m?t:m,i=Object.create(o.prototype),s=new C(n||[]);return a(i,"_invoke",{value:S(e,r,s)}),i}function f(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(w){return{type:"throw",arg:w}}}t.wrap=d;var h={};function m(){}function g(){}function y(){}var v={};p(v,c,(function(){return this}));var E=Object.getPrototypeOf,_=E&&E(E(N([])));_&&_!==r&&i.call(_,c)&&(v=_);var T=y.prototype=m.prototype=Object.create(v);function O(e){["next","throw","return"].forEach((function(t){p(e,t,(function(e){return this._invoke(t,e)}))}))}function b(e,t){var r;a(this,"_invoke",{value:function(o,a){function s(){return new t((function(r,s){(function r(o,a,s,c){var u=f(e[o],e,a);if("throw"!==u.type){var l=u.arg,p=l.value;return p&&"object"==n(p)&&i.call(p,"__await")?t.resolve(p.__await).then((function(e){r("next",e,s,c)}),(function(e){r("throw",e,s,c)})):t.resolve(p).then((function(e){l.value=e,s(l)}),(function(e){return r("throw",e,s,c)}))}c(u.arg)})(o,a,r,s)}))}return r=r?r.then(s,s):s()}})}function S(e,t,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return M()}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var s=A(a,r);if(s){if(s===h)continue;return s}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var c=f(e,t,r);if("normal"===c.type){if(n=r.done?"completed":"suspendedYield",c.arg===h)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(n="completed",r.method="throw",r.arg=c.arg)}}}function A(e,t){var r=t.method,n=e.iterator[r];if(void 0===n)return t.delegate=null,"throw"===r&&e.iterator["return"]&&(t.method="return",t.arg=void 0,A(e,t),"throw"===t.method)||"return"!==r&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+r+"' method")),h;var o=f(n,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 I(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 R(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function C(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(I,this),this.reset(!0)}function N(e){if(e){var t=e[c];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,n=function t(){for(;++r<e.length;)if(i.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=void 0,t.done=!0,t};return n.next=n}}return{next:M}}function M(){return{value:void 0,done:!0}}return g.prototype=y,a(T,"constructor",{value:y,configurable:!0}),a(y,"constructor",{value:g,configurable:!0}),g.displayName=p(y,l,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===g||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,y):(e.__proto__=y,p(e,l,"GeneratorFunction")),e.prototype=Object.create(T),e},t.awrap=function(e){return{__await:e}},O(b.prototype),p(b.prototype,u,(function(){return this})),t.AsyncIterator=b,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var a=new b(d(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},O(T),p(T,l,"Generator"),p(T,c,(function(){return this})),p(T,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),r=[];for(var n in t)r.push(n);return r.reverse(),function e(){for(;r.length;){var n=r.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},t.values=N,C.prototype={constructor:C,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(R),!e)for(var t in this)"t"===t.charAt(0)&&i.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(r,n){return a.type="throw",a.arg=e,t.next=r,n&&(t.method="next",t.arg=void 0),!!n}for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n],a=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var s=i.call(o,"catchLoc"),c=i.call(o,"finallyLoc");if(s&&c){if(this.prev<o.catchLoc)return r(o.catchLoc,!0);if(this.prev<o.finallyLoc)return r(o.finallyLoc)}else if(s){if(this.prev<o.catchLoc)return r(o.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return r(o.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&i.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var o=n;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(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 r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),R(r),h}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;R(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:N(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=void 0),h}},t}e.exports=o,e.exports.__esModule=!0,e.exports["default"]=e.exports},"7ed3":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={picker:{show:!1,showToolbar:!0,title:"",columns:function(){return[]},loading:!1,itemHeight:44,cancelText:"取消",confirmText:"确定",cancelColor:"#909193",confirmColor:"#3c9cff",visibleItemCount:5,keyName:"text",closeOnClickOverlay:!1,defaultIndex:function(){return[]},immediateChange:!1}}},"840c":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=null;var o=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:500,r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null!==n&&clearTimeout(n),r){var o=!n;n=setTimeout((function(){n=null}),t),o&&"function"===typeof e&&e()}else n=setTimeout((function(){"function"===typeof e&&e()}),t)};t.default=o},"8d24":function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={computed:{value:function(){var t=this.text,r=this.mode,n=this.format,o=this.href;return"price"===r?(/^\d+(\.\d+)?$/.test(t)||e.$u.error("金额模式下,text参数需要为金额格式"),e.$u.test.func(n)?n(t):e.$u.priceFormat(t,2)):"date"===r?(!e.$u.test.date(t)&&e.$u.error("日期模式下,text参数需要为日期或时间戳格式"),e.$u.test.func(n)?n(t):n?e.$u.timeFormat(t,n):e.$u.timeFormat(t,"yyyy-mm-dd")):"phone"===r?e.$u.test.func(n)?n(t):"encrypt"===n?"".concat(t.substr(0,3),"****").concat(t.substr(7)):t:"name"===r?("string"!==typeof t&&e.$u.error("姓名模式下,text参数需要为字符串格式"),e.$u.test.func(n)?n(t):"encrypt"===n?this.formatName(t):t):"link"===r?(!e.$u.test.url(o)&&e.$u.error("超链接模式下,href参数需要为URL格式"),t):t}},methods:{formatName:function(e){var t="";if(2===e.length)t=e.substr(0,1)+"*";else if(e.length>2){for(var r="",n=0,o=e.length-2;n<o;n++)r+="*";t=e.substr(0,1)+r+e.substr(-1,1)}else t=e;return t}}};t.default=r}).call(this,r("543d")["default"])},"8dd5":function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={props:{color:{type:String,default:e.$u.props.line.color},length:{type:[String,Number],default:e.$u.props.line.length},direction:{type:String,default:e.$u.props.line.direction},hairline:{type:Boolean,default:e.$u.props.line.hairline},margin:{type:[String,Number],default:e.$u.props.line.margin},dashed:{type:Boolean,default:e.$u.props.line.dashed}}};t.default=r}).call(this,r("543d")["default"])},"908e":function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={props:{name:{type:String,default:e.$u.props.icon.name},color:{type:String,default:e.$u.props.icon.color},size:{type:[String,Number],default:e.$u.props.icon.size},bold:{type:Boolean,default:e.$u.props.icon.bold},index:{type:[String,Number],default:e.$u.props.icon.index},hoverClass:{type:String,default:e.$u.props.icon.hoverClass},customPrefix:{type:String,default:e.$u.props.icon.customPrefix},label:{type:[String,Number],default:e.$u.props.icon.label},labelPos:{type:String,default:e.$u.props.icon.labelPos},labelSize:{type:[String,Number],default:e.$u.props.icon.labelSize},labelColor:{type:String,default:e.$u.props.icon.labelColor},space:{type:[String,Number],default:e.$u.props.icon.space},imgMode:{type:String,default:e.$u.props.icon.imgMode},width:{type:[String,Number],default:e.$u.props.icon.width},height:{type:[String,Number],default:e.$u.props.icon.height},top:{type:[String,Number],default:e.$u.props.icon.top},stop:{type:Boolean,default:e.$u.props.icon.stop}}};t.default=r}).call(this,r("543d")["default"])},9152:function(e,t){
- /*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */
- t.read=function(e,t,r,n,o){var i,a,s=8*o-n-1,c=(1<<s)-1,u=c>>1,l=-7,p=r?o-1:0,d=r?-1:1,f=e[t+p];for(p+=d,i=f&(1<<-l)-1,f>>=-l,l+=s;l>0;i=256*i+e[t+p],p+=d,l-=8);for(a=i&(1<<-l)-1,i>>=-l,l+=n;l>0;a=256*a+e[t+p],p+=d,l-=8);if(0===i)i=1-u;else{if(i===c)return a?NaN:1/0*(f?-1:1);a+=Math.pow(2,n),i-=u}return(f?-1:1)*a*Math.pow(2,i-n)},t.write=function(e,t,r,n,o,i){var a,s,c,u=8*i-o-1,l=(1<<u)-1,p=l>>1,d=23===o?Math.pow(2,-24)-Math.pow(2,-77):0,f=n?0:i-1,h=n?1:-1,m=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,a=l):(a=Math.floor(Math.log(t)/Math.LN2),t*(c=Math.pow(2,-a))<1&&(a--,c*=2),t+=a+p>=1?d/c:d*Math.pow(2,1-p),t*c>=2&&(a++,c/=2),a+p>=l?(s=0,a=l):a+p>=1?(s=(t*c-1)*Math.pow(2,o),a+=p):(s=t*Math.pow(2,p-1)*Math.pow(2,o),a=0));o>=8;e[r+f]=255&s,f+=h,s/=256,o-=8);for(a=a<<o|s,u+=o;u>0;e[r+f]=255&a,f+=h,a/=256,u-=8);e[r+f-h]|=128*m}},9200:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={countTo:{startVal:0,endVal:0,duration:2e3,autoplay:!0,decimals:0,useEasing:!0,decimal:".",color:"#606266",fontSize:22,bold:!1,separator:""}}},9395:function(e,t,r){(function(e){var t=r("7037");e.addInterceptor({returnValue:function(e){return!e||"object"!==t(e)&&"function"!==typeof e||"function"!==typeof e.then?e:new Promise((function(t,r){e.then((function(e){return e[0]?r(e[0]):t(e[1])}))}))}})}).call(this,r("543d")["default"])},"94f1":function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACYAAAAGCAYAAACvkeyYAAAAAXNSR0IArs4c6QAAAShJREFUOE/FkzFSw0AMRf/fdSQ6wtCm4hY5SK5ARQX3gDPQUPgsFFyAAoaeBqrY+oxsQ0wmDGUqzWrX47fvawmJuHs7WZ51bp28qae2jd5r9F5KNSq8V/WshcWI4lC42BgkZ9AhOgkDOKwja66DTsCzL3Hcnyo09gkaBAF8VuD+9bppAYBo2wqsbfn5Dea2jcUIlj8uxajq/R4YVTxI2wdTgu6DsRgCrl9geQ4jWH7DvCAcgYeXm3o1gK2wto8ZWImFd/+AhYozwUBHvzOWYCUNzY2pWELswNK6dsYGMDimcxAviU1bV5s/wKYoDxpjY/ETpZxpJYEyPmZsefspyslY7uNQlEN/BJMGi09jlO8XvrRzO9qMzcDG2UMQEHE7H/7jzlg+EgKPX01F14VFzosSAAAAAElFTkSuQmCC"},9523:function(e,t,r){var n=r("a395");e.exports=function(e,t,r){return t=n(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e},e.exports.__esModule=!0,e.exports["default"]=e.exports},"970b":function(e,t){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},e.exports.__esModule=!0,e.exports["default"]=e.exports},9807:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={stepsItem:{title:"",desc:"",iconSize:17,error:!1}}},9954:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={steps:{direction:"row",current:0,activeColor:"#3c9cff",inactiveColor:"#969799",activeIcon:"",inactiveIcon:"",dot:!1}}},"9b42":function(e,t){e.exports=function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],c=!0,u=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);c=!0);}catch(l){u=!0,o=l}finally{try{if(!c&&null!=r["return"]&&(a=r["return"](),Object(a)!==a))return}finally{if(u)throw o}}return s}},e.exports.__esModule=!0,e.exports["default"]=e.exports},"9bee":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={loadingPage:{loadingText:"正在加载",image:"",loadingMode:"circle",loading:!1,bgColor:"#ffffff",color:"#C8C8C8",fontSize:19,iconSize:28,loadingColor:"#C8C8C8"}}},"9f7d":function(e,t){},a1bf:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={tabbar:{value:null,safeAreaInsetBottom:!0,border:!0,zIndex:1,activeColor:"#1989fa",inactiveColor:"#7d7e80",fixed:!0,placeholder:!0}}},a201:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={text:{type:"",show:!0,text:"",prefixIcon:"",suffixIcon:"",mode:"",href:"",format:"",call:!1,openType:"",bold:!1,block:!1,lines:"",color:"#303133",size:15,iconStyle:function(){return{fontSize:"15px"}},decoration:"none",margin:0,lineHeight:"",align:"left",wordWrap:"normal"}}},a395:function(e,t,r){var n=r("7037")["default"],o=r("e50d");e.exports=function(e){var t=o(e,"string");return"symbol"===n(t)?t:String(t)},e.exports.__esModule=!0,e.exports["default"]=e.exports},a525:function(e,t,r){"use strict";function n(){this.handlers=[]}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n.prototype.use=function(e,t){return this.handlers.push({fulfilled:e,rejected:t}),this.handlers.length-1},n.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},n.prototype.forEach=function(e){this.handlers.forEach((function(t){null!==t&&e(t)}))};var o=n;t.default=o},a578:function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={props:{show:{type:Boolean,default:e.$u.props.popup.show},overlay:{type:Boolean,default:e.$u.props.popup.overlay},mode:{type:String,default:e.$u.props.popup.mode},duration:{type:[String,Number],default:e.$u.props.popup.duration},closeable:{type:Boolean,default:e.$u.props.popup.closeable},overlayStyle:{type:[Object,String],default:e.$u.props.popup.overlayStyle},closeOnClickOverlay:{type:Boolean,default:e.$u.props.popup.closeOnClickOverlay},zIndex:{type:[String,Number],default:e.$u.props.popup.zIndex},safeAreaInsetBottom:{type:Boolean,default:e.$u.props.popup.safeAreaInsetBottom},safeAreaInsetTop:{type:Boolean,default:e.$u.props.popup.safeAreaInsetTop},closeIconPos:{type:String,default:e.$u.props.popup.closeIconPos},round:{type:[Boolean,String,Number],default:e.$u.props.popup.round},zoom:{type:Boolean,default:e.$u.props.popup.zoom},bgColor:{type:String,default:e.$u.props.popup.bgColor},overlayOpacity:{type:[Number,String],default:e.$u.props.popup.overlayOpacity}}};t.default=r}).call(this,r("543d")["default"])},a583:function(e,t,r){"use strict";var n=r("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(r("b747")),i={navbar:{safeAreaInsetTop:!0,placeholder:!1,fixed:!0,border:!1,leftIcon:"arrow-left",leftText:"",rightText:"",rightIcon:"",title:"",bgColor:"#ffffff",titleWidth:"400rpx",height:"44px",leftIconSize:20,leftIconColor:o.default.mainColor,autoBack:!1,titleStyle:""}};t.default=i},a616:function(e,t,r){"use strict";var n=r("7037");Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if(!t)return e;var r;if(o.isURLSearchParams(t))r=t.toString();else{var n=[];o.forEach(t,(function(e,t){null!==e&&"undefined"!==typeof e&&(o.isArray(e)?t="".concat(t,"[]"):e=[e],o.forEach(e,(function(e){o.isDate(e)?e=e.toISOString():o.isObject(e)&&(e=JSON.stringify(e)),n.push("".concat(a(t),"=").concat(a(e)))})))})),r=n.join("&")}if(r){var i=e.indexOf("#");-1!==i&&(e=e.slice(0,i)),e+=(-1===e.indexOf("?")?"?":"&")+r}return e};var o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!==typeof e)return{default:e};var r=i(t);if(r&&r.has(e))return r.get(e);var o={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in e)if("default"!==s&&Object.prototype.hasOwnProperty.call(e,s)){var c=a?Object.getOwnPropertyDescriptor(e,s):null;c&&(c.get||c.set)?Object.defineProperty(o,s,c):o[s]=e[s]}o.default=e,r&&r.set(e,o);return o}(r("aa6c"));function i(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(i=function(e){return e?r:t})(e)}function a(e){return encodeURIComponent(e).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}},a80d:function(e,t,r){"use strict";(function(e){var n=r("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(r("9523")),i=n(r("a616")),a=n(r("15c6")),s=n(r("ee24")),c=r("aa6c");function u(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?u(Object(r),!0).forEach((function(t){(0,o.default)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):u(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var p=function(e,t){var r={};return e.forEach((function(e){(0,c.isUndefined)(t[e])||(r[e]=t[e])})),r};t.default=function(t){return new Promise((function(r,n){var o,c=(0,i.default)((0,a.default)(t.baseURL,t.url),t.params),u={url:c,header:t.header,complete:function(e){t.fullPath=c,e.config=t;try{"string"===typeof e.data&&(e.data=JSON.parse(e.data))}catch(o){}(0,s.default)(r,n,e)}};if("UPLOAD"===t.method){delete u.header["content-type"],delete u.header["Content-Type"];var d={filePath:t.filePath,name:t.name};o=e.uploadFile(l(l(l({},u),d),p(["formData"],t)))}else if("DOWNLOAD"===t.method)o=e.downloadFile(u);else{o=e.request(l(l({},u),p(["data","method","timeout","dataType","responseType"],t)))}t.getTask&&t.getTask(o,t)}))}}).call(this,r("543d")["default"])},a977:function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={props:{list:{type:Array,default:e.$u.props.subsection.list},current:{type:[String,Number],default:e.$u.props.subsection.current},activeColor:{type:String,default:e.$u.props.subsection.activeColor},inactiveColor:{type:String,default:e.$u.props.subsection.inactiveColor},mode:{type:String,default:e.$u.props.subsection.mode},fontSize:{type:[String,Number],default:e.$u.props.subsection.fontSize},bold:{type:Boolean,default:e.$u.props.subsection.bold},bgColor:{type:String,default:e.$u.props.subsection.bgColor},keyName:{type:String,default:e.$u.props.subsection.keyName}}};t.default=r}).call(this,r("543d")["default"])},aa01:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={fade:{enter:{opacity:0},"enter-to":{opacity:1},leave:{opacity:1},"leave-to":{opacity:0}},"fade-up":{enter:{opacity:0,transform:"translateY(100%)"},"enter-to":{opacity:1,transform:"translateY(0)"},leave:{opacity:1,transform:"translateY(0)"},"leave-to":{opacity:0,transform:"translateY(100%)"}},"fade-down":{enter:{opacity:0,transform:"translateY(-100%)"},"enter-to":{opacity:1,transform:"translateY(0)"},leave:{opacity:1,transform:"translateY(0)"},"leave-to":{opacity:0,transform:"translateY(-100%)"}},"fade-left":{enter:{opacity:0,transform:"translateX(-100%)"},"enter-to":{opacity:1,transform:"translateY(0)"},leave:{opacity:1,transform:"translateY(0)"},"leave-to":{opacity:0,transform:"translateX(-100%)"}},"fade-right":{enter:{opacity:0,transform:"translateX(100%)"},"enter-to":{opacity:1,transform:"translateY(0)"},leave:{opacity:1,transform:"translateY(0)"},"leave-to":{opacity:0,transform:"translateX(100%)"}},"slide-up":{enter:{transform:"translateY(100%)"},"enter-to":{transform:"translateY(0)"},leave:{transform:"translateY(0)"},"leave-to":{transform:"translateY(100%)"}},"slide-down":{enter:{transform:"translateY(-100%)"},"enter-to":{transform:"translateY(0)"},leave:{transform:"translateY(0)"},"leave-to":{transform:"translateY(-100%)"}},"slide-left":{enter:{transform:"translateX(-100%)"},"enter-to":{transform:"translateY(0)"},leave:{transform:"translateY(0)"},"leave-to":{transform:"translateX(-100%)"}},"slide-right":{enter:{transform:"translateX(100%)"},"enter-to":{transform:"translateY(0)"},leave:{transform:"translateY(0)"},"leave-to":{transform:"translateX(100%)"}},zoom:{enter:{transform:"scale(0.95)"},"enter-to":{transform:"scale(1)"},leave:{transform:"scale(1)"},"leave-to":{transform:"scale(0.95)"}},"fade-zoom":{enter:{opacity:0,transform:"scale(0.95)"},"enter-to":{opacity:1,transform:"scale(1)"},leave:{opacity:1,transform:"scale(1)"},"leave-to":{opacity:0,transform:"scale(0.95)"}}}},aa6c:function(e,t,r){"use strict";var n=r("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t.deepMerge=function e(){var t={};function r(r,n){"object"===(0,o.default)(t[n])&&"object"===(0,o.default)(r)?t[n]=e(t[n],r):"object"===(0,o.default)(r)?t[n]=e({},r):t[n]=r}for(var n=0,i=arguments.length;n<i;n++)s(arguments[n],r);return t},t.forEach=s,t.isArray=a,t.isBoolean=function(e){return"boolean"===typeof e},t.isDate=function(e){return"[object Date]"===i.call(e)},t.isObject=function(e){return null!==e&&"object"===(0,o.default)(e)},t.isPlainObject=function(e){return"[object Object]"===Object.prototype.toString.call(e)},t.isURLSearchParams=function(e){return"undefined"!==typeof URLSearchParams&&e instanceof URLSearchParams},t.isUndefined=function(e){return"undefined"===typeof e};var o=n(r("7037")),i=Object.prototype.toString;function a(e){return"[object Array]"===i.call(e)}function s(e,t){if(null!==e&&"undefined"!==typeof e)if("object"!==(0,o.default)(e)&&(e=[e]),a(e))for(var r=0,n=e.length;r<n;r++)t.call(null,e[r],r,e);else for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.call(null,e[i],i,e)}},ad0c:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={radioGroup:{value:"",disabled:!1,shape:"circle",activeColor:"#2979ff",inactiveColor:"#c8c9cc",name:"",size:18,placement:"row",label:"",labelColor:"#303133",labelSize:14,labelDisabled:!1,iconColor:"#ffffff",iconSize:12,borderBottom:!1,iconPlacement:"left"}}},ad3e:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={columnNotice:{text:"",icon:"volume",mode:"",color:"#f9ae3d",bgColor:"#fdf6ec",fontSize:14,speed:80,step:!1,duration:1500,disableTouch:!0}}},b033:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={props:{lang:String,sessionFrom:String,sendMessageTitle:String,sendMessagePath:String,sendMessageImg:String,showMessageCard:Boolean,appParameter:String,formType:String,openType:String}};t.default=n},b116:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={code:{seconds:60,startText:"获取验证码",changeText:"X秒重新获取",endText:"重新获取",keepRunning:!1,uniqueKey:""}}},b15d:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={datetimePicker:{show:!1,showToolbar:!0,value:"",title:"",mode:"datetime",maxDate:new Date((new Date).getFullYear()+10,0,1).getTime(),minDate:new Date((new Date).getFullYear()-10,0,1).getTime(),minHour:0,maxHour:23,minMinute:0,maxMinute:59,filter:null,formatter:null,loading:!1,itemHeight:44,cancelText:"取消",confirmText:"确认",cancelColor:"#909193",confirmColor:"#3c9cff",visibleItemCount:5,closeOnClickOverlay:!1,defaultIndex:function(){return[]}}};t.default=n},b17c:function(e,t,r){var n=r("4a4b"),o=r("6f8f");function i(t,r,a){return o()?(e.exports=i=Reflect.construct.bind(),e.exports.__esModule=!0,e.exports["default"]=e.exports):(e.exports=i=function(e,t,r){var o=[null];o.push.apply(o,t);var i=Function.bind.apply(e,o),a=new i;return r&&n(a,r.prototype),a},e.exports.__esModule=!0,e.exports["default"]=e.exports),i.apply(null,arguments)}e.exports=i,e.exports.__esModule=!0,e.exports["default"]=e.exports},b46a:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={swipeAction:{autoClose:!0}}},b564:function(e,t,r){"use strict";var n=r("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(r("9523")),i=r("aa6c");function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function s(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?a(Object(r),!0).forEach((function(t){(0,o.default)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):a(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var c=function(e,t,r){var n={};return e.forEach((function(e){(0,i.isUndefined)(r[e])?(0,i.isUndefined)(t[e])||(n[e]=t[e]):n[e]=r[e]})),n};t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.method||e.method||"GET",n={baseURL:e.baseURL||"",method:r,url:t.url||"",params:t.params||{},custom:s(s({},e.custom||{}),t.custom||{}),header:(0,i.deepMerge)(e.header||{},t.header||{})},o=["getTask","validateStatus"];if(n=s(s({},n),c(o,e,t)),"DOWNLOAD"===r);else if("UPLOAD"===r){delete n.header["content-type"],delete n.header["Content-Type"];var a=["filePath","name","formData"];a.forEach((function(e){(0,i.isUndefined)(t[e])||(n[e]=t[e])}))}else{var u=["data","timeout","dataType","responseType"];n=s(s({},n),c(u,e,t))}return n}},b56d:function(e,t,r){"use strict";var n=r("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(r("7037"));function i(e){return/^[\+-]?(\d+\.?\d*|\.\d+|\d\.\d+e\+\d+)$/.test(e)}function a(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}function s(e){return"[object Object]"===Object.prototype.toString.call(e)}function c(e){return"function"===typeof e}var u={email:function(e){return/^\w+((-\w+)|(\.\w+))*\@[A-Za-z0-9]+((\.|-)[A-Za-z0-9]+)*\.[A-Za-z0-9]+$/.test(e)},mobile:function(e){return/^1([3589]\d|4[5-9]|6[1-2,4-7]|7[0-8])\d{8}$/.test(e)},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)},date:function(e){return!!e&&(i(e)&&(e=+e),!/Invalid|NaN/.test(new Date(e).toString()))},dateISO:function(e){return/^\d{4}[\/\-](0?[1-9]|1[012])[\/\-](0?[1-9]|[12][0-9]|3[01])$/.test(e)},number:i,digits:function(e){return/^\d+$/.test(e)},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)},carNo:function(e){return 7===e.length?/^[京津沪渝冀豫云辽黑湘皖鲁新苏浙赣鄂桂甘晋蒙陕吉闽贵粤青藏川宁琼使领A-Z]{1}[A-Z]{1}[A-HJ-NP-Z0-9]{4}[A-HJ-NP-Z0-9挂学警港澳]{1}$/.test(e):8===e.length&&/^[京津沪渝冀豫云辽黑湘皖鲁新苏浙赣鄂桂甘晋蒙陕吉闽贵粤青藏川宁琼使领A-Z]{1}[A-Z]{1}(([0-9]{5}[DF]$)|([DF][A-HJ-NP-Z0-9][0-9]{4}$))/.test(e)},amount:function(e){return/^[1-9]\d*(,\d{3})*(\.\d{1,2})?$|^0\.\d{1,2}$/.test(e)},chinese:function(e){return/^[\u4e00-\u9fa5]+$/gi.test(e)},letter:function(e){return/^[a-zA-Z]*$/.test(e)},enOrNum:function(e){return/^[0-9a-zA-Z]*$/g.test(e)},contains:function(e,t){return e.indexOf(t)>=0},range:function(e,t){return e>=t[0]&&e<=t[1]},rangeLength:function(e,t){return e.length>=t[0]&&e.length<=t[1]},empty:a,isEmpty:a,jsonString:function(e){if("string"===typeof e)try{var t=JSON.parse(e);return!("object"!==(0,o.default)(t)||!t)}catch(r){return!1}return!1},landline:function(e){return/^\d{3,4}-\d{7,8}(-\d{3,4})?$/.test(e)},object:s,array:function(e){return"function"===typeof Array.isArray?Array.isArray(e):"[object Array]"===Object.prototype.toString.call(e)},code:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:6;return new RegExp("^\\d{".concat(t,"}$")).test(e)},func:c,promise:function(e){return s(e)&&c(e.then)&&c(e.catch)},video:function(e){return/\.(mp4|mpg|mpeg|dat|asf|avi|rm|rmvb|mov|wmv|flv|mkv|m3u8)/i.test(e)},image:function(e){var t=e.split("?")[0];return/\.(jpeg|jpg|gif|png|svg|webp|jfif|bmp|dpg)/i.test(t)},regExp:function(e){return e&&"[object RegExp]"===Object.prototype.toString.call(e)},string:function(e){return"string"===typeof e}};t.default=u},b5d8:function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={props:{show:{type:Boolean,default:e.$u.props.toolbar.show},cancelText:{type:String,default:e.$u.props.toolbar.cancelText},confirmText:{type:String,default:e.$u.props.toolbar.confirmText},cancelColor:{type:String,default:e.$u.props.toolbar.cancelColor},confirmColor:{type:String,default:e.$u.props.toolbar.confirmColor},title:{type:String,default:e.$u.props.toolbar.title}}};t.default=r}).call(this,r("543d")["default"])},b639:function(e,t,r){"use strict";(function(e){
- /*!
- * The buffer module from node.js, for the browser.
- *
- * @author Feross Aboukhadijeh <http://feross.org>
- * @license MIT
- */
- var n=r("1fb5"),o=r("9152"),i=r("e3db");function a(){return c.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function s(e,t){if(a()<t)throw new RangeError("Invalid typed array length");return c.TYPED_ARRAY_SUPPORT?(e=new Uint8Array(t),e.__proto__=c.prototype):(null===e&&(e=new c(t)),e.length=t),e}function c(e,t,r){if(!c.TYPED_ARRAY_SUPPORT&&!(this instanceof c))return new c(e,t,r);if("number"===typeof e){if("string"===typeof t)throw new Error("If encoding is specified then the first argument must be a string");return p(this,e)}return u(this,e,t,r)}function u(e,t,r,n){if("number"===typeof t)throw new TypeError('"value" argument must not be a number');return"undefined"!==typeof ArrayBuffer&&t instanceof ArrayBuffer?function(e,t,r,n){if(t.byteLength,r<0||t.byteLength<r)throw new RangeError("'offset' is out of bounds");if(t.byteLength<r+(n||0))throw new RangeError("'length' is out of bounds");t=void 0===r&&void 0===n?new Uint8Array(t):void 0===n?new Uint8Array(t,r):new Uint8Array(t,r,n);c.TYPED_ARRAY_SUPPORT?(e=t,e.__proto__=c.prototype):e=d(e,t);return e}(e,t,r,n):"string"===typeof t?function(e,t,r){"string"===typeof r&&""!==r||(r="utf8");if(!c.isEncoding(r))throw new TypeError('"encoding" must be a valid string encoding');var n=0|h(t,r);e=s(e,n);var o=e.write(t,r);o!==n&&(e=e.slice(0,o));return e}(e,t,r):function(e,t){if(c.isBuffer(t)){var r=0|f(t.length);return e=s(e,r),0===e.length?e:(t.copy(e,0,0,r),e)}if(t){if("undefined"!==typeof ArrayBuffer&&t.buffer instanceof ArrayBuffer||"length"in t)return"number"!==typeof t.length||function(e){return e!==e}(t.length)?s(e,0):d(e,t);if("Buffer"===t.type&&i(t.data))return d(e,t.data)}throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(e,t)}function l(e){if("number"!==typeof e)throw new TypeError('"size" argument must be a number');if(e<0)throw new RangeError('"size" argument must not be negative')}function p(e,t){if(l(t),e=s(e,t<0?0:0|f(t)),!c.TYPED_ARRAY_SUPPORT)for(var r=0;r<t;++r)e[r]=0;return e}function d(e,t){var r=t.length<0?0:0|f(t.length);e=s(e,r);for(var n=0;n<r;n+=1)e[n]=255&t[n];return e}function f(e){if(e>=a())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+a().toString(16)+" bytes");return 0|e}function h(e,t){if(c.isBuffer(e))return e.length;if("undefined"!==typeof ArrayBuffer&&"function"===typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!==typeof e&&(e=""+e);var r=e.length;if(0===r)return 0;for(var n=!1;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":case void 0:return G(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return H(e).length;default:if(n)return G(e).length;t=(""+t).toLowerCase(),n=!0}}function m(e,t,r){var n=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===r||r>this.length)&&(r=this.length),r<=0)return"";if(r>>>=0,t>>>=0,r<=t)return"";e||(e="utf8");while(1)switch(e){case"hex":return N(this,t,r);case"utf8":case"utf-8":return I(this,t,r);case"ascii":return R(this,t,r);case"latin1":case"binary":return C(this,t,r);case"base64":return A(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return M(this,t,r);default:if(n)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),n=!0}}function g(e,t,r){var n=e[t];e[t]=e[r],e[r]=n}function y(e,t,r,n,o){if(0===e.length)return-1;if("string"===typeof r?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,isNaN(r)&&(r=o?0:e.length-1),r<0&&(r=e.length+r),r>=e.length){if(o)return-1;r=e.length-1}else if(r<0){if(!o)return-1;r=0}if("string"===typeof t&&(t=c.from(t,n)),c.isBuffer(t))return 0===t.length?-1:v(e,t,r,n,o);if("number"===typeof t)return t&=255,c.TYPED_ARRAY_SUPPORT&&"function"===typeof Uint8Array.prototype.indexOf?o?Uint8Array.prototype.indexOf.call(e,t,r):Uint8Array.prototype.lastIndexOf.call(e,t,r):v(e,[t],r,n,o);throw new TypeError("val must be string, number or Buffer")}function v(e,t,r,n,o){var i,a=1,s=e.length,c=t.length;if(void 0!==n&&(n=String(n).toLowerCase(),"ucs2"===n||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(e.length<2||t.length<2)return-1;a=2,s/=2,c/=2,r/=2}function u(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}if(o){var l=-1;for(i=r;i<s;i++)if(u(e,i)===u(t,-1===l?0:i-l)){if(-1===l&&(l=i),i-l+1===c)return l*a}else-1!==l&&(i-=i-l),l=-1}else for(r+c>s&&(r=s-c),i=r;i>=0;i--){for(var p=!0,d=0;d<c;d++)if(u(e,i+d)!==u(t,d)){p=!1;break}if(p)return i}return-1}function E(e,t,r,n){r=Number(r)||0;var o=e.length-r;n?(n=Number(n),n>o&&(n=o)):n=o;var i=t.length;if(i%2!==0)throw new TypeError("Invalid hex string");n>i/2&&(n=i/2);for(var a=0;a<n;++a){var s=parseInt(t.substr(2*a,2),16);if(isNaN(s))return a;e[r+a]=s}return a}function _(e,t,r,n){return F(G(t,e.length-r),e,r,n)}function T(e,t,r,n){return F(function(e){for(var t=[],r=0;r<e.length;++r)t.push(255&e.charCodeAt(r));return t}(t),e,r,n)}function O(e,t,r,n){return T(e,t,r,n)}function b(e,t,r,n){return F(H(t),e,r,n)}function S(e,t,r,n){return F(function(e,t){for(var r,n,o,i=[],a=0;a<e.length;++a){if((t-=2)<0)break;r=e.charCodeAt(a),n=r>>8,o=r%256,i.push(o),i.push(n)}return i}(t,e.length-r),e,r,n)}function A(e,t,r){return 0===t&&r===e.length?n.fromByteArray(e):n.fromByteArray(e.slice(t,r))}function I(e,t,r){r=Math.min(e.length,r);var n=[],o=t;while(o<r){var i,a,s,c,u=e[o],l=null,p=u>239?4:u>223?3:u>191?2:1;if(o+p<=r)switch(p){case 1:u<128&&(l=u);break;case 2:i=e[o+1],128===(192&i)&&(c=(31&u)<<6|63&i,c>127&&(l=c));break;case 3:i=e[o+1],a=e[o+2],128===(192&i)&&128===(192&a)&&(c=(15&u)<<12|(63&i)<<6|63&a,c>2047&&(c<55296||c>57343)&&(l=c));break;case 4:i=e[o+1],a=e[o+2],s=e[o+3],128===(192&i)&&128===(192&a)&&128===(192&s)&&(c=(15&u)<<18|(63&i)<<12|(63&a)<<6|63&s,c>65535&&c<1114112&&(l=c))}null===l?(l=65533,p=1):l>65535&&(l-=65536,n.push(l>>>10&1023|55296),l=56320|1023&l),n.push(l),o+=p}return function(e){var t=e.length;if(t<=4096)return String.fromCharCode.apply(String,e);var r="",n=0;while(n<t)r+=String.fromCharCode.apply(String,e.slice(n,n+=4096));return r}(n)}t.Buffer=c,t.SlowBuffer=function(e){+e!=e&&(e=0);return c.alloc(+e)},t.INSPECT_MAX_BYTES=50,c.TYPED_ARRAY_SUPPORT=void 0!==e.TYPED_ARRAY_SUPPORT?e.TYPED_ARRAY_SUPPORT:function(){try{var e=new Uint8Array(1);return e.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===e.foo()&&"function"===typeof e.subarray&&0===e.subarray(1,1).byteLength}catch(t){return!1}}(),t.kMaxLength=a(),c.poolSize=8192,c._augment=function(e){return e.__proto__=c.prototype,e},c.from=function(e,t,r){return u(null,e,t,r)},c.TYPED_ARRAY_SUPPORT&&(c.prototype.__proto__=Uint8Array.prototype,c.__proto__=Uint8Array,"undefined"!==typeof Symbol&&Symbol.species&&c[Symbol.species]===c&&Object.defineProperty(c,Symbol.species,{value:null,configurable:!0})),c.alloc=function(e,t,r){return function(e,t,r,n){return l(t),t<=0?s(e,t):void 0!==r?"string"===typeof n?s(e,t).fill(r,n):s(e,t).fill(r):s(e,t)}(null,e,t,r)},c.allocUnsafe=function(e){return p(null,e)},c.allocUnsafeSlow=function(e){return p(null,e)},c.isBuffer=function(e){return!(null==e||!e._isBuffer)},c.compare=function(e,t){if(!c.isBuffer(e)||!c.isBuffer(t))throw new TypeError("Arguments must be Buffers");if(e===t)return 0;for(var r=e.length,n=t.length,o=0,i=Math.min(r,n);o<i;++o)if(e[o]!==t[o]){r=e[o],n=t[o];break}return r<n?-1:n<r?1:0},c.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},c.concat=function(e,t){if(!i(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return c.alloc(0);var r;if(void 0===t)for(t=0,r=0;r<e.length;++r)t+=e[r].length;var n=c.allocUnsafe(t),o=0;for(r=0;r<e.length;++r){var a=e[r];if(!c.isBuffer(a))throw new TypeError('"list" argument must be an Array of Buffers');a.copy(n,o),o+=a.length}return n},c.byteLength=h,c.prototype._isBuffer=!0,c.prototype.swap16=function(){var e=this.length;if(e%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)g(this,t,t+1);return this},c.prototype.swap32=function(){var e=this.length;if(e%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)g(this,t,t+3),g(this,t+1,t+2);return this},c.prototype.swap64=function(){var e=this.length;if(e%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)g(this,t,t+7),g(this,t+1,t+6),g(this,t+2,t+5),g(this,t+3,t+4);return this},c.prototype.toString=function(){var e=0|this.length;return 0===e?"":0===arguments.length?I(this,0,e):m.apply(this,arguments)},c.prototype.equals=function(e){if(!c.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e||0===c.compare(this,e)},c.prototype.inspect=function(){var e="",r=t.INSPECT_MAX_BYTES;return this.length>0&&(e=this.toString("hex",0,r).match(/.{2}/g).join(" "),this.length>r&&(e+=" ... ")),"<Buffer "+e+">"},c.prototype.compare=function(e,t,r,n,o){if(!c.isBuffer(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===r&&(r=e?e.length:0),void 0===n&&(n=0),void 0===o&&(o=this.length),t<0||r>e.length||n<0||o>this.length)throw new RangeError("out of range index");if(n>=o&&t>=r)return 0;if(n>=o)return-1;if(t>=r)return 1;if(t>>>=0,r>>>=0,n>>>=0,o>>>=0,this===e)return 0;for(var i=o-n,a=r-t,s=Math.min(i,a),u=this.slice(n,o),l=e.slice(t,r),p=0;p<s;++p)if(u[p]!==l[p]){i=u[p],a=l[p];break}return i<a?-1:a<i?1:0},c.prototype.includes=function(e,t,r){return-1!==this.indexOf(e,t,r)},c.prototype.indexOf=function(e,t,r){return y(this,e,t,r,!0)},c.prototype.lastIndexOf=function(e,t,r){return y(this,e,t,r,!1)},c.prototype.write=function(e,t,r,n){if(void 0===t)n="utf8",r=this.length,t=0;else if(void 0===r&&"string"===typeof t)n=t,r=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t|=0,isFinite(r)?(r|=0,void 0===n&&(n="utf8")):(n=r,r=void 0)}var o=this.length-t;if((void 0===r||r>o)&&(r=o),e.length>0&&(r<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var i=!1;;)switch(n){case"hex":return E(this,e,t,r);case"utf8":case"utf-8":return _(this,e,t,r);case"ascii":return T(this,e,t,r);case"latin1":case"binary":return O(this,e,t,r);case"base64":return b(this,e,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return S(this,e,t,r);default:if(i)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),i=!0}},c.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function R(e,t,r){var n="";r=Math.min(e.length,r);for(var o=t;o<r;++o)n+=String.fromCharCode(127&e[o]);return n}function C(e,t,r){var n="";r=Math.min(e.length,r);for(var o=t;o<r;++o)n+=String.fromCharCode(e[o]);return n}function N(e,t,r){var n=e.length;(!t||t<0)&&(t=0),(!r||r<0||r>n)&&(r=n);for(var o="",i=t;i<r;++i)o+=D(e[i]);return o}function M(e,t,r){for(var n=e.slice(t,r),o="",i=0;i<n.length;i+=2)o+=String.fromCharCode(n[i]+256*n[i+1]);return o}function w(e,t,r){if(e%1!==0||e<0)throw new RangeError("offset is not uint");if(e+t>r)throw new RangeError("Trying to access beyond buffer length")}function P(e,t,r,n,o,i){if(!c.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>o||t<i)throw new RangeError('"value" argument is out of bounds');if(r+n>e.length)throw new RangeError("Index out of range")}function k(e,t,r,n){t<0&&(t=65535+t+1);for(var o=0,i=Math.min(e.length-r,2);o<i;++o)e[r+o]=(t&255<<8*(n?o:1-o))>>>8*(n?o:1-o)}function x(e,t,r,n){t<0&&(t=4294967295+t+1);for(var o=0,i=Math.min(e.length-r,4);o<i;++o)e[r+o]=t>>>8*(n?o:3-o)&255}function U(e,t,r,n,o,i){if(r+n>e.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function j(e,t,r,n,i){return i||U(e,0,r,4),o.write(e,t,r,n,23,4),r+4}function B(e,t,r,n,i){return i||U(e,0,r,8),o.write(e,t,r,n,52,8),r+8}c.prototype.slice=function(e,t){var r,n=this.length;if(e=~~e,t=void 0===t?n:~~t,e<0?(e+=n,e<0&&(e=0)):e>n&&(e=n),t<0?(t+=n,t<0&&(t=0)):t>n&&(t=n),t<e&&(t=e),c.TYPED_ARRAY_SUPPORT)r=this.subarray(e,t),r.__proto__=c.prototype;else{var o=t-e;r=new c(o,void 0);for(var i=0;i<o;++i)r[i]=this[i+e]}return r},c.prototype.readUIntLE=function(e,t,r){e|=0,t|=0,r||w(e,t,this.length);var n=this[e],o=1,i=0;while(++i<t&&(o*=256))n+=this[e+i]*o;return n},c.prototype.readUIntBE=function(e,t,r){e|=0,t|=0,r||w(e,t,this.length);var n=this[e+--t],o=1;while(t>0&&(o*=256))n+=this[e+--t]*o;return n},c.prototype.readUInt8=function(e,t){return t||w(e,1,this.length),this[e]},c.prototype.readUInt16LE=function(e,t){return t||w(e,2,this.length),this[e]|this[e+1]<<8},c.prototype.readUInt16BE=function(e,t){return t||w(e,2,this.length),this[e]<<8|this[e+1]},c.prototype.readUInt32LE=function(e,t){return t||w(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},c.prototype.readUInt32BE=function(e,t){return t||w(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},c.prototype.readIntLE=function(e,t,r){e|=0,t|=0,r||w(e,t,this.length);var n=this[e],o=1,i=0;while(++i<t&&(o*=256))n+=this[e+i]*o;return o*=128,n>=o&&(n-=Math.pow(2,8*t)),n},c.prototype.readIntBE=function(e,t,r){e|=0,t|=0,r||w(e,t,this.length);var n=t,o=1,i=this[e+--n];while(n>0&&(o*=256))i+=this[e+--n]*o;return o*=128,i>=o&&(i-=Math.pow(2,8*t)),i},c.prototype.readInt8=function(e,t){return t||w(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},c.prototype.readInt16LE=function(e,t){t||w(e,2,this.length);var r=this[e]|this[e+1]<<8;return 32768&r?4294901760|r:r},c.prototype.readInt16BE=function(e,t){t||w(e,2,this.length);var r=this[e+1]|this[e]<<8;return 32768&r?4294901760|r:r},c.prototype.readInt32LE=function(e,t){return t||w(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},c.prototype.readInt32BE=function(e,t){return t||w(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},c.prototype.readFloatLE=function(e,t){return t||w(e,4,this.length),o.read(this,e,!0,23,4)},c.prototype.readFloatBE=function(e,t){return t||w(e,4,this.length),o.read(this,e,!1,23,4)},c.prototype.readDoubleLE=function(e,t){return t||w(e,8,this.length),o.read(this,e,!0,52,8)},c.prototype.readDoubleBE=function(e,t){return t||w(e,8,this.length),o.read(this,e,!1,52,8)},c.prototype.writeUIntLE=function(e,t,r,n){if(e=+e,t|=0,r|=0,!n){var o=Math.pow(2,8*r)-1;P(this,e,t,r,o,0)}var i=1,a=0;this[t]=255&e;while(++a<r&&(i*=256))this[t+a]=e/i&255;return t+r},c.prototype.writeUIntBE=function(e,t,r,n){if(e=+e,t|=0,r|=0,!n){var o=Math.pow(2,8*r)-1;P(this,e,t,r,o,0)}var i=r-1,a=1;this[t+i]=255&e;while(--i>=0&&(a*=256))this[t+i]=e/a&255;return t+r},c.prototype.writeUInt8=function(e,t,r){return e=+e,t|=0,r||P(this,e,t,1,255,0),c.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},c.prototype.writeUInt16LE=function(e,t,r){return e=+e,t|=0,r||P(this,e,t,2,65535,0),c.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):k(this,e,t,!0),t+2},c.prototype.writeUInt16BE=function(e,t,r){return e=+e,t|=0,r||P(this,e,t,2,65535,0),c.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):k(this,e,t,!1),t+2},c.prototype.writeUInt32LE=function(e,t,r){return e=+e,t|=0,r||P(this,e,t,4,4294967295,0),c.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):x(this,e,t,!0),t+4},c.prototype.writeUInt32BE=function(e,t,r){return e=+e,t|=0,r||P(this,e,t,4,4294967295,0),c.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):x(this,e,t,!1),t+4},c.prototype.writeIntLE=function(e,t,r,n){if(e=+e,t|=0,!n){var o=Math.pow(2,8*r-1);P(this,e,t,r,o-1,-o)}var i=0,a=1,s=0;this[t]=255&e;while(++i<r&&(a*=256))e<0&&0===s&&0!==this[t+i-1]&&(s=1),this[t+i]=(e/a>>0)-s&255;return t+r},c.prototype.writeIntBE=function(e,t,r,n){if(e=+e,t|=0,!n){var o=Math.pow(2,8*r-1);P(this,e,t,r,o-1,-o)}var i=r-1,a=1,s=0;this[t+i]=255&e;while(--i>=0&&(a*=256))e<0&&0===s&&0!==this[t+i+1]&&(s=1),this[t+i]=(e/a>>0)-s&255;return t+r},c.prototype.writeInt8=function(e,t,r){return e=+e,t|=0,r||P(this,e,t,1,127,-128),c.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},c.prototype.writeInt16LE=function(e,t,r){return e=+e,t|=0,r||P(this,e,t,2,32767,-32768),c.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):k(this,e,t,!0),t+2},c.prototype.writeInt16BE=function(e,t,r){return e=+e,t|=0,r||P(this,e,t,2,32767,-32768),c.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):k(this,e,t,!1),t+2},c.prototype.writeInt32LE=function(e,t,r){return e=+e,t|=0,r||P(this,e,t,4,2147483647,-2147483648),c.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):x(this,e,t,!0),t+4},c.prototype.writeInt32BE=function(e,t,r){return e=+e,t|=0,r||P(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),c.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):x(this,e,t,!1),t+4},c.prototype.writeFloatLE=function(e,t,r){return j(this,e,t,!0,r)},c.prototype.writeFloatBE=function(e,t,r){return j(this,e,t,!1,r)},c.prototype.writeDoubleLE=function(e,t,r){return B(this,e,t,!0,r)},c.prototype.writeDoubleBE=function(e,t,r){return B(this,e,t,!1,r)},c.prototype.copy=function(e,t,r,n){if(r||(r=0),n||0===n||(n=this.length),t>=e.length&&(t=e.length),t||(t=0),n>0&&n<r&&(n=r),n===r)return 0;if(0===e.length||0===this.length)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw new RangeError("sourceStart out of bounds");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),e.length-t<n-r&&(n=e.length-t+r);var o,i=n-r;if(this===e&&r<t&&t<n)for(o=i-1;o>=0;--o)e[o+t]=this[o+r];else if(i<1e3||!c.TYPED_ARRAY_SUPPORT)for(o=0;o<i;++o)e[o+t]=this[o+r];else Uint8Array.prototype.set.call(e,this.subarray(r,r+i),t);return i},c.prototype.fill=function(e,t,r,n){if("string"===typeof e){if("string"===typeof t?(n=t,t=0,r=this.length):"string"===typeof r&&(n=r,r=this.length),1===e.length){var o=e.charCodeAt(0);o<256&&(e=o)}if(void 0!==n&&"string"!==typeof n)throw new TypeError("encoding must be a string");if("string"===typeof n&&!c.isEncoding(n))throw new TypeError("Unknown encoding: "+n)}else"number"===typeof e&&(e&=255);if(t<0||this.length<t||this.length<r)throw new RangeError("Out of range index");if(r<=t)return this;var i;if(t>>>=0,r=void 0===r?this.length:r>>>0,e||(e=0),"number"===typeof e)for(i=t;i<r;++i)this[i]=e;else{var a=c.isBuffer(e)?e:G(new c(e,n).toString()),s=a.length;for(i=0;i<r-t;++i)this[i+t]=a[i%s]}return this};var L=/[^+\/0-9A-Za-z-_]/g;function D(e){return e<16?"0"+e.toString(16):e.toString(16)}function G(e,t){var r;t=t||1/0;for(var n=e.length,o=null,i=[],a=0;a<n;++a){if(r=e.charCodeAt(a),r>55295&&r<57344){if(!o){if(r>56319){(t-=3)>-1&&i.push(239,191,189);continue}if(a+1===n){(t-=3)>-1&&i.push(239,191,189);continue}o=r;continue}if(r<56320){(t-=3)>-1&&i.push(239,191,189),o=r;continue}r=65536+(o-55296<<10|r-56320)}else o&&(t-=3)>-1&&i.push(239,191,189);if(o=null,r<128){if((t-=1)<0)break;i.push(r)}else if(r<2048){if((t-=2)<0)break;i.push(r>>6|192,63&r|128)}else if(r<65536){if((t-=3)<0)break;i.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;i.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return i}function H(e){return n.toByteArray(function(e){if(e=function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}(e).replace(L,""),e.length<2)return"";while(e.length%4!==0)e+="=";return e}(e))}function F(e,t,r,n){for(var o=0;o<n;++o){if(o+r>=t.length||o>=e.length)break;t[o+r]=e[o]}return o}}).call(this,r("c8ba"))},b693:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={toast:{zIndex:10090,loading:!1,text:"",icon:"",type:"",loadingMode:"",show:"",overlay:!1,position:"center",params:function(){},duration:2e3,isTab:!1,url:"",callback:null,back:!1}}},b697:function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={props:{safeAreaInsetTop:{type:Boolean,default:e.$u.props.navbar.safeAreaInsetTop},placeholder:{type:Boolean,default:e.$u.props.navbar.placeholder},fixed:{type:Boolean,default:e.$u.props.navbar.fixed},border:{type:Boolean,default:e.$u.props.navbar.border},leftIcon:{type:String,default:e.$u.props.navbar.leftIcon},leftText:{type:String,default:e.$u.props.navbar.leftText},rightText:{type:String,default:e.$u.props.navbar.rightText},rightIcon:{type:String,default:e.$u.props.navbar.rightIcon},title:{type:[String,Number],default:e.$u.props.navbar.title},bgColor:{type:String,default:e.$u.props.navbar.bgColor},titleWidth:{type:[String,Number],default:e.$u.props.navbar.titleWidth},height:{type:[String,Number],default:e.$u.props.navbar.height},leftIconSize:{type:[String,Number],default:e.$u.props.navbar.leftIconSize},leftIconColor:{type:String,default:e.$u.props.navbar.leftIconColor},autoBack:{type:Boolean,default:e.$u.props.navbar.autoBack},titleStyle:{type:[String,Object],default:e.$u.props.navbar.titleStyle}}};t.default=r}).call(this,r("543d")["default"])},b6da:function(e,t,r){(function(e,n,o){var i,a,s,c=r("7037");!function(e,r){"object"==c(t)&&"object"==c(o)?o.exports=r():(a=[],i=r,s="function"===typeof i?i.apply(t,a):i,void 0===s||(o.exports=s))}(0,(function(){return function(){var t={188:function(e,t,r){var n,o,i;!function(a){"use strict";if(null!=t&&"number"!=typeof t.nodeType)e.exports=a();else if(null!=r.amdO)o=[],void 0===(i="function"==typeof(n=a)?n.apply(t,o):n)||(e.exports=i);else{var s=a(),c="undefined"!=typeof self?self:$.global;"function"!=typeof c.btoa&&(c.btoa=s.btoa),"function"!=typeof c.atob&&(c.atob=s.atob)}}((function(){"use strict";var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";function t(e){this.message=e}return t.prototype=new Error,t.prototype.name="InvalidCharacterError",{btoa:function(r){for(var n,o,i=String(r),a=0,s=e,c="";i.charAt(0|a)||(s="=",a%1);c+=s.charAt(63&n>>8-a%1*8)){if((o=i.charCodeAt(a+=3/4))>255)throw new t("'btoa' failed: The string to be encoded contains characters outside of the Latin1 range.");n=n<<8|o}return c},atob:function(r){var n=String(r).replace(/[=]+$/,"");if(n.length%4==1)throw new t("'atob' failed: The string to be decoded is not correctly encoded.");for(var o,i,a=0,s=0,c="";i=n.charAt(s++);~i&&(o=a%4?64*o+i:i,a++%4)?c+=String.fromCharCode(255&o>>(-2*a&6)):0)i=e.indexOf(i);return c}}}))},720:function(e){e.exports=r;var t=null;try{t=new WebAssembly.Instance(new WebAssembly.Module(new Uint8Array([0,97,115,109,1,0,0,0,1,13,2,96,0,1,127,96,4,127,127,127,127,1,127,3,7,6,0,1,1,1,1,1,6,6,1,127,1,65,0,11,7,50,6,3,109,117,108,0,1,5,100,105,118,95,115,0,2,5,100,105,118,95,117,0,3,5,114,101,109,95,115,0,4,5,114,101,109,95,117,0,5,8,103,101,116,95,104,105,103,104,0,0,10,191,1,6,4,0,35,0,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,126,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,127,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,128,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,129,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,130,34,4,66,32,135,167,36,0,32,4,167,11])),{}).exports}catch(e){}function r(e,t,r){this.low=0|e,this.high=0|t,this.unsigned=!!r}function n(e){return!0===(e&&e.__isLong__)}r.prototype.__isLong__,Object.defineProperty(r.prototype,"__isLong__",{value:!0}),r.isLong=n;var o={},i={};function a(e,t){var r,n,a;return t?(a=0<=(e>>>=0)&&e<256)&&(n=i[e])?n:(r=c(e,(0|e)<0?-1:0,!0),a&&(i[e]=r),r):(a=-128<=(e|=0)&&e<128)&&(n=o[e])?n:(r=c(e,e<0?-1:0,!1),a&&(o[e]=r),r)}function s(e,t){if(isNaN(e))return t?y:g;if(t){if(e<0)return y;if(e>=f)return O}else{if(e<=-h)return b;if(e+1>=h)return T}return e<0?s(-e,t).neg():c(e%d|0,e/d|0,t)}function c(e,t,n){return new r(e,t,n)}r.fromInt=a,r.fromNumber=s,r.fromBits=c;var u=Math.pow;function l(e,t,r){if(0===e.length)throw Error("empty string");if("NaN"===e||"Infinity"===e||"+Infinity"===e||"-Infinity"===e)return g;if("number"==typeof t?(r=t,t=!1):t=!!t,(r=r||10)<2||36<r)throw RangeError("radix");var n;if((n=e.indexOf("-"))>0)throw Error("interior hyphen");if(0===n)return l(e.substring(1),t,r).neg();for(var o=s(u(r,8)),i=g,a=0;a<e.length;a+=8){var c=Math.min(8,e.length-a),p=parseInt(e.substring(a,a+c),r);if(c<8){var d=s(u(r,c));i=i.mul(d).add(s(p))}else i=(i=i.mul(o)).add(s(p))}return i.unsigned=t,i}function p(e,t){return"number"==typeof e?s(e,t):"string"==typeof e?l(e,t):c(e.low,e.high,"boolean"==typeof t?t:e.unsigned)}r.fromString=l,r.fromValue=p;var d=4294967296,f=d*d,h=f/2,m=a(1<<24),g=a(0);r.ZERO=g;var y=a(0,!0);r.UZERO=y;var v=a(1);r.ONE=v;var E=a(1,!0);r.UONE=E;var _=a(-1);r.NEG_ONE=_;var T=c(-1,2147483647,!1);r.MAX_VALUE=T;var O=c(-1,-1,!0);r.MAX_UNSIGNED_VALUE=O;var b=c(0,-2147483648,!1);r.MIN_VALUE=b;var S=r.prototype;S.toInt=function(){return this.unsigned?this.low>>>0:this.low},S.toNumber=function(){return this.unsigned?(this.high>>>0)*d+(this.low>>>0):this.high*d+(this.low>>>0)},S.toString=function(e){if((e=e||10)<2||36<e)throw RangeError("radix");if(this.isZero())return"0";if(this.isNegative()){if(this.eq(b)){var t=s(e),r=this.div(t),n=r.mul(t).sub(this);return r.toString(e)+n.toInt().toString(e)}return"-"+this.neg().toString(e)}for(var o=s(u(e,6),this.unsigned),i=this,a="";;){var c=i.div(o),l=(i.sub(c.mul(o)).toInt()>>>0).toString(e);if((i=c).isZero())return l+a;for(;l.length<6;)l="0"+l;a=""+l+a}},S.getHighBits=function(){return this.high},S.getHighBitsUnsigned=function(){return this.high>>>0},S.getLowBits=function(){return this.low},S.getLowBitsUnsigned=function(){return this.low>>>0},S.getNumBitsAbs=function(){if(this.isNegative())return this.eq(b)?64:this.neg().getNumBitsAbs();for(var e=0!=this.high?this.high:this.low,t=31;t>0&&0==(e&1<<t);t--);return 0!=this.high?t+33:t+1},S.isZero=function(){return 0===this.high&&0===this.low},S.eqz=S.isZero,S.isNegative=function(){return!this.unsigned&&this.high<0},S.isPositive=function(){return this.unsigned||this.high>=0},S.isOdd=function(){return 1==(1&this.low)},S.isEven=function(){return 0==(1&this.low)},S.equals=function(e){return n(e)||(e=p(e)),(this.unsigned===e.unsigned||this.high>>>31!=1||e.high>>>31!=1)&&this.high===e.high&&this.low===e.low},S.eq=S.equals,S.notEquals=function(e){return!this.eq(e)},S.neq=S.notEquals,S.ne=S.notEquals,S.lessThan=function(e){return this.comp(e)<0},S.lt=S.lessThan,S.lessThanOrEqual=function(e){return this.comp(e)<=0},S.lte=S.lessThanOrEqual,S.le=S.lessThanOrEqual,S.greaterThan=function(e){return this.comp(e)>0},S.gt=S.greaterThan,S.greaterThanOrEqual=function(e){return this.comp(e)>=0},S.gte=S.greaterThanOrEqual,S.ge=S.greaterThanOrEqual,S.compare=function(e){if(n(e)||(e=p(e)),this.eq(e))return 0;var t=this.isNegative(),r=e.isNegative();return t&&!r?-1:!t&&r?1:this.unsigned?e.high>>>0>this.high>>>0||e.high===this.high&&e.low>>>0>this.low>>>0?-1:1:this.sub(e).isNegative()?-1:1},S.comp=S.compare,S.negate=function(){return!this.unsigned&&this.eq(b)?b:this.not().add(v)},S.neg=S.negate,S.add=function(e){n(e)||(e=p(e));var t=this.high>>>16,r=65535&this.high,o=this.low>>>16,i=65535&this.low,a=e.high>>>16,s=65535&e.high,u=e.low>>>16,l=0,d=0,f=0,h=0;return f+=(h+=i+(65535&e.low))>>>16,d+=(f+=o+u)>>>16,l+=(d+=r+s)>>>16,l+=t+a,c((f&=65535)<<16|(h&=65535),(l&=65535)<<16|(d&=65535),this.unsigned)},S.subtract=function(e){return n(e)||(e=p(e)),this.add(e.neg())},S.sub=S.subtract,S.multiply=function(e){if(this.isZero())return g;if(n(e)||(e=p(e)),t)return c(t.mul(this.low,this.high,e.low,e.high),t.get_high(),this.unsigned);if(e.isZero())return g;if(this.eq(b))return e.isOdd()?b:g;if(e.eq(b))return this.isOdd()?b:g;if(this.isNegative())return e.isNegative()?this.neg().mul(e.neg()):this.neg().mul(e).neg();if(e.isNegative())return this.mul(e.neg()).neg();if(this.lt(m)&&e.lt(m))return s(this.toNumber()*e.toNumber(),this.unsigned);var r=this.high>>>16,o=65535&this.high,i=this.low>>>16,a=65535&this.low,u=e.high>>>16,l=65535&e.high,d=e.low>>>16,f=65535&e.low,h=0,y=0,v=0,E=0;return v+=(E+=a*f)>>>16,y+=(v+=i*f)>>>16,v&=65535,y+=(v+=a*d)>>>16,h+=(y+=o*f)>>>16,y&=65535,h+=(y+=i*d)>>>16,y&=65535,h+=(y+=a*l)>>>16,h+=r*f+o*d+i*l+a*u,c((v&=65535)<<16|(E&=65535),(h&=65535)<<16|(y&=65535),this.unsigned)},S.mul=S.multiply,S.divide=function(e){if(n(e)||(e=p(e)),e.isZero())throw Error("division by zero");var r,o,i;if(t)return this.unsigned||-2147483648!==this.high||-1!==e.low||-1!==e.high?c((this.unsigned?t.div_u:t.div_s)(this.low,this.high,e.low,e.high),t.get_high(),this.unsigned):this;if(this.isZero())return this.unsigned?y:g;if(this.unsigned){if(e.unsigned||(e=e.toUnsigned()),e.gt(this))return y;if(e.gt(this.shru(1)))return E;i=y}else{if(this.eq(b))return e.eq(v)||e.eq(_)?b:e.eq(b)?v:(r=this.shr(1).div(e).shl(1)).eq(g)?e.isNegative()?v:_:(o=this.sub(e.mul(r)),i=r.add(o.div(e)));if(e.eq(b))return this.unsigned?y:g;if(this.isNegative())return e.isNegative()?this.neg().div(e.neg()):this.neg().div(e).neg();if(e.isNegative())return this.div(e.neg()).neg();i=g}for(o=this;o.gte(e);){r=Math.max(1,Math.floor(o.toNumber()/e.toNumber()));for(var a=Math.ceil(Math.log(r)/Math.LN2),l=a<=48?1:u(2,a-48),d=s(r),f=d.mul(e);f.isNegative()||f.gt(o);)f=(d=s(r-=l,this.unsigned)).mul(e);d.isZero()&&(d=v),i=i.add(d),o=o.sub(f)}return i},S.div=S.divide,S.modulo=function(e){return n(e)||(e=p(e)),t?c((this.unsigned?t.rem_u:t.rem_s)(this.low,this.high,e.low,e.high),t.get_high(),this.unsigned):this.sub(this.div(e).mul(e))},S.mod=S.modulo,S.rem=S.modulo,S.not=function(){return c(~this.low,~this.high,this.unsigned)},S.and=function(e){return n(e)||(e=p(e)),c(this.low&e.low,this.high&e.high,this.unsigned)},S.or=function(e){return n(e)||(e=p(e)),c(this.low|e.low,this.high|e.high,this.unsigned)},S.xor=function(e){return n(e)||(e=p(e)),c(this.low^e.low,this.high^e.high,this.unsigned)},S.shiftLeft=function(e){return n(e)&&(e=e.toInt()),0==(e&=63)?this:e<32?c(this.low<<e,this.high<<e|this.low>>>32-e,this.unsigned):c(0,this.low<<e-32,this.unsigned)},S.shl=S.shiftLeft,S.shiftRight=function(e){return n(e)&&(e=e.toInt()),0==(e&=63)?this:e<32?c(this.low>>>e|this.high<<32-e,this.high>>e,this.unsigned):c(this.high>>e-32,this.high>=0?0:-1,this.unsigned)},S.shr=S.shiftRight,S.shiftRightUnsigned=function(e){if(n(e)&&(e=e.toInt()),0==(e&=63))return this;var t=this.high;return e<32?c(this.low>>>e|t<<32-e,t>>>e,this.unsigned):c(32===e?t:t>>>e-32,0,this.unsigned)},S.shru=S.shiftRightUnsigned,S.shr_u=S.shiftRightUnsigned,S.toSigned=function(){return this.unsigned?c(this.low,this.high,!1):this},S.toUnsigned=function(){return this.unsigned?this:c(this.low,this.high,!0)},S.toBytes=function(e){return e?this.toBytesLE():this.toBytesBE()},S.toBytesLE=function(){var e=this.high,t=this.low;return[255&t,t>>>8&255,t>>>16&255,t>>>24,255&e,e>>>8&255,e>>>16&255,e>>>24]},S.toBytesBE=function(){var e=this.high,t=this.low;return[e>>>24,e>>>16&255,e>>>8&255,255&e,t>>>24,t>>>16&255,t>>>8&255,255&t]},r.fromBytes=function(e,t,n){return n?r.fromBytesLE(e,t):r.fromBytesBE(e,t)},r.fromBytesLE=function(e,t){return new r(e[0]|e[1]<<8|e[2]<<16|e[3]<<24,e[4]|e[5]<<8|e[6]<<16|e[7]<<24,t)},r.fromBytesBE=function(e,t){return new r(e[4]<<24|e[5]<<16|e[6]<<8|e[7],e[0]<<24|e[1]<<16|e[2]<<8|e[3],t)}},969:function(e){"use strict";function t(){this._listeners={}}e.exports=t,t.prototype.on=function(e,t,r){return(this._listeners[e]||(this._listeners[e]=[])).push({fn:t,ctx:r||this}),this},t.prototype.off=function(e,t){if(void 0===e)this._listeners={};else if(void 0===t)this._listeners[e]=[];else for(var r=this._listeners[e],n=0;n<r.length;)r[n].fn===t?r.splice(n,1):++n;return this},t.prototype.emit=function(e){var t=this._listeners[e];if(t){for(var r=[],n=1;n<arguments.length;)r.push(arguments[n++]);for(n=0;n<t.length;)t[n].fn.apply(t[n++].ctx,r)}return this}},728:function(e){"use strict";e.exports=function(e,t){for(var r=new Array(arguments.length-1),n=0,o=2,i=!0;o<arguments.length;)r[n++]=arguments[o++];return new Promise((function(o,a){r[n]=function(e){if(i)if(i=!1,e)a(e);else{for(var t=new Array(arguments.length-1),r=0;r<t.length;)t[r++]=arguments[r];o.apply(null,t)}};try{e.apply(t||null,r)}catch(e){i&&(i=!1,a(e))}}))}},440:function(e){"use strict";var t=e.exports;t.length=function(e){var t=e.length;if(!t)return 0;for(var r=0;--t%4>1&&"="===e.charAt(t);)++r;return Math.ceil(3*e.length)/4-r};for(var r=new Array(64),n=new Array(123),o=0;o<64;)n[r[o]=o<26?o+65:o<52?o+71:o<62?o-4:o-59|43]=o++;t.encode=function(e,t,n){for(var o,i=null,a=[],s=0,c=0;t<n;){var u=e[t++];switch(c){case 0:a[s++]=r[u>>2],o=(3&u)<<4,c=1;break;case 1:a[s++]=r[o|u>>4],o=(15&u)<<2,c=2;break;case 2:a[s++]=r[o|u>>6],a[s++]=r[63&u],c=0}s>8191&&((i||(i=[])).push(String.fromCharCode.apply(String,a)),s=0)}return c&&(a[s++]=r[o],a[s++]=61,1===c&&(a[s++]=61)),i?(s&&i.push(String.fromCharCode.apply(String,a.slice(0,s))),i.join("")):String.fromCharCode.apply(String,a.slice(0,s))};var i="invalid encoding";t.decode=function(e,t,r){for(var o,a=r,s=0,c=0;c<e.length;){var u=e.charCodeAt(c++);if(61===u&&s>1)break;if(void 0===(u=n[u]))throw Error(i);switch(s){case 0:o=u,s=1;break;case 1:t[r++]=o<<2|(48&u)>>4,o=u,s=2;break;case 2:t[r++]=(15&o)<<4|(60&u)>>2,o=u,s=3;break;case 3:t[r++]=(3&o)<<6|u,s=0}}if(1===s)throw Error(i);return r-a},t.test=function(e){return/^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$/.test(e)}},72:function(e){e.exports=n;var t,r=/\/|\./;function n(e,t){r.test(e)||(e="google/protobuf/"+e+".proto",t={nested:{google:{nested:{protobuf:{nested:t}}}}}),n[e]=t}n("any",{Any:{fields:{type_url:{type:"string",id:1},value:{type:"bytes",id:2}}}}),n("duration",{Duration:t={fields:{seconds:{type:"int64",id:1},nanos:{type:"int32",id:2}}}}),n("timestamp",{Timestamp:t}),n("empty",{Empty:{fields:{}}}),n("struct",{Struct:{fields:{fields:{keyType:"string",type:"Value",id:1}}},Value:{oneofs:{kind:{oneof:["nullValue","numberValue","stringValue","boolValue","structValue","listValue"]}},fields:{nullValue:{type:"NullValue",id:1},numberValue:{type:"double",id:2},stringValue:{type:"string",id:3},boolValue:{type:"bool",id:4},structValue:{type:"Struct",id:5},listValue:{type:"ListValue",id:6}}},NullValue:{values:{NULL_VALUE:0}},ListValue:{fields:{values:{rule:"repeated",type:"Value",id:1}}}}),n("wrappers",{DoubleValue:{fields:{value:{type:"double",id:1}}},FloatValue:{fields:{value:{type:"float",id:1}}},Int64Value:{fields:{value:{type:"int64",id:1}}},UInt64Value:{fields:{value:{type:"uint64",id:1}}},Int32Value:{fields:{value:{type:"int32",id:1}}},UInt32Value:{fields:{value:{type:"uint32",id:1}}},BoolValue:{fields:{value:{type:"bool",id:1}}},StringValue:{fields:{value:{type:"string",id:1}}},BytesValue:{fields:{value:{type:"bytes",id:1}}}}),n("field_mask",{FieldMask:{fields:{paths:{rule:"repeated",type:"string",id:1}}}}),n.get=function(e){return n[e]||null}},525:function(e,t,r){var n,o,i=e.exports;function a(e,t,r,i){var a=i.m,s=i.d,u=i.types,l=i.ksi,p=void 0!==l;if(e.resolvedType)if(e.resolvedType instanceof n){for(var d=p?s[r][l]:s[r],f=e.resolvedType.values,h=Object.keys(f),m=0;m<h.length;m++)if(!(e.repeated&&f[h[m]]===e.typeDefault||h[m]!=d&&f[h[m]]!=d)){p?a[r][l]=f[h[m]]:a[r]=f[h[m]];break}}else{if("object"!=c(p?s[r][l]:s[r]))throw TypeError(e.fullName+": object expected");p?a[r][l]=u[t].fromObject(s[r][l]):a[r]=u[t].fromObject(s[r])}else{var g=!1;switch(e.type){case"double":case"float":p?a[r][l]=Number(s[r][l]):a[r]=Number(s[r]);break;case"uint32":case"fixed32":p?a[r][l]=s[r][l]>>>0:a[r]=s[r]>>>0;break;case"int32":case"sint32":case"sfixed32":p?a[r][l]=0|s[r][l]:a[r]=0|s[r];break;case"uint64":g=!0;case"int64":case"sint64":case"fixed64":case"sfixed64":o.Long?p?a[r][l]=o.Long.fromValue(s[r][l]).unsigned=g:a[r]=o.Long.fromValue(s[r]).unsigned=g:"string"==typeof(p?s[r][l]:s[r])?p?a[r][l]=parseInt(s[r][l],10):a[r]=parseInt(s[r],10):"number"==typeof(p?s[r][l]:s[r])?p?a[r][l]=s[r][l]:a[r]=s[r]:"object"==c(p?s[r][l]:s[r])&&(p?a[r][l]=new o.LongBits(s[r][l].low>>>0,s[r][l].high>>>0).toNumber(g):a[r]=new o.LongBits(s[r].low>>>0,s[r].high>>>0).toNumber(g));break;case"bytes":"string"==typeof(p?s[r][l]:s[r])?p?o.base64.decode(s[r][l],a[r][l]=o.newBuffer(o.base64.length(s[r][l])),0):o.base64.decode(s[r],a[r]=o.newBuffer(o.base64.length(s[r])),0):(p?s[r][l]:s[r]).length&&(p?a[r][l]=s[r][l]:a[r]=s[r]);break;case"string":p?a[r][l]=String(s[r][l]):a[r]=String(s[r]);break;case"bool":p?a[r][l]=Boolean(s[r][l]):a[r]=Boolean(s[r])}}}function s(e,t,r,i){var a=i.m,s=i.d,c=i.types,u=i.ksi,l=i.o,p=void 0!==u;if(e.resolvedType)e.resolvedType instanceof n?p?s[r][u]=l.enums===String?c[t].values[a[r][u]]:a[r][u]:s[r]=l.enums===String?c[t].values[a[r]]:a[r]:p?s[r][u]=c[t].toObject(a[r][u],l):s[r]=c[t].toObject(a[r],l);else{var d=!1;switch(e.type){case"double":case"float":p?s[r][u]=l.json&&!isFinite(a[r][u])?String(a[r][u]):a[r][u]:s[r]=l.json&&!isFinite(a[r])?String(a[r]):a[r];break;case"uint64":d=!0;case"int64":case"sint64":case"fixed64":case"sfixed64":"number"==typeof a[r][u]?p?s[r][u]=l.longs===String?String(a[r][u]):a[r][u]:s[r]=l.longs===String?String(a[r]):a[r]:p?s[r][u]=l.longs===String?o.Long.prototype.toString.call(a[r][u]):l.longs===Number?new o.LongBits(a[r][u].low>>>0,a[r][u].high>>>0).toNumber(d):a[r][u]:s[r]=l.longs===String?o.Long.prototype.toString.call(a[r]):l.longs===Number?new o.LongBits(a[r].low>>>0,a[r].high>>>0).toNumber(d):a[r];break;case"bytes":p?s[r][u]=l.bytes===String?o.base64.encode(a[r][u],0,a[r][u].length):l.bytes===Array?Array.prototype.slice.call(a[r][u]):a[r][u]:s[r]=l.bytes===String?o.base64.encode(a[r],0,a[r].length):l.bytes===Array?Array.prototype.slice.call(a[r]):a[r];break;default:p?s[r][u]=a[r][u]:s[r]=a[r]}}}i._configure=function(){n=r(582),o=r(935)},i.fromObject=function(e){var t=e.fieldsArray;return function(e){return function(r){if(r instanceof this.ctor)return r;if(!t.length)return new this.ctor;for(var i=new this.ctor,s=0;s<t.length;++s){var u,l=t[s].resolve(),p=l.name;if(l.map){if(r[p]){if("object"!=c(r[p]))throw TypeError(l.fullName+": object expected");i[p]={}}var d=Object.keys(r[p]);for(u=0;u<d.length;++u)a(l,s,p,o.merge(o.copy(e),{m:i,d:r,ksi:d[u]}))}else if(l.repeated){if(r[p]){if(!Array.isArray(r[p]))throw TypeError(l.fullName+": array expected");for(i[p]=[],u=0;u<r[p].length;++u)a(l,s,p,o.merge(o.copy(e),{m:i,d:r,ksi:u}))}}else(l.resolvedType instanceof n||null!=r[p])&&a(l,s,p,o.merge(o.copy(e),{m:i,d:r}))}return i}}},i.toObject=function(e){var t=e.fieldsArray.slice().sort(o.compareFieldsById);return function(r){return t.length?function(i,a){a=a||{};for(var c,u,l={},p=[],d=[],f=[],h=0;h<t.length;++h)t[h].partOf||(t[h].resolve().repeated?p:t[h].map?d:f).push(t[h]);if(p.length&&(a.arrays||a.defaults))for(h=0;h<p.length;++h)l[p[h].name]=[];if(d.length&&(a.objects||a.defaults))for(h=0;h<d.length;++h)l[d[h].name]={};if(f.length&&a.defaults)for(h=0;h<f.length;++h)if(u=(c=f[h]).name,c.resolvedType instanceof n)l[u]=a.enums=String?c.resolvedType.valuesById[c.typeDefault]:c.typeDefault;else if(c.long)if(o.Long){var m=new o.Long(c.typeDefault.low,c.typeDefault.high,c.typeDefault.unsigned);l[u]=a.longs===String?m.toString():a.longs===Number?m.toNumber():m}else l[u]=a.longs===String?c.typeDefault.toString():c.typeDefault.toNumber();else c.bytes?l[u]=a.bytes===String?String.fromCharCode.apply(String,c.typeDefault):Array.prototype.slice.call(c.typeDefault).join("*..*").split("*..*"):l[u]=c.typeDefault;var g=!1;for(h=0;h<t.length;++h){u=(c=t[h]).name;var y,v,E=e._fieldsArray.indexOf(c);if(c.map){if(g||(g=!0),i[u]&&(y=Object.keys(i[u]).length))for(l[u]={},v=0;v<y.length;++v)s(c,E,u,o.merge(o.copy(r),{m:i,d:l,ksi:y[v],o:a}))}else if(c.repeated){if(i[u]&&i[u].length)for(l[u]=[],v=0;v<i[u].length;++v)s(c,E,u,o.merge(o.copy(r),{m:i,d:l,ksi:v,o:a}))}else null!=i[u]&&i.hasOwnProperty(u)&&s(c,E,u,o.merge(o.copy(r),{m:i,d:l,o:a})),c.partOf&&a.oneofs&&(l[c.partOf.name]=u)}return l}:function(){return{}}}}},888:function(e,t,r){var n,o,i;function a(e){return"missing required '"+e.name+"'"}function s(e){return function(t){var r=t.Reader,s=t.types,u=t.util;return function(t,l){t instanceof r||(t=r.create(t));for(var p,d=void 0===l?t.len:t.pos+l,f=new this.ctor;t.pos<d;){var h=t.uint32();if(e.group&&4==(7&h))break;for(var m=h>>>3,g=0,y=!1;g<e.fieldsArray.length;++g){var v=e._fieldsArray[g].resolve(),E=v.name,_=v.resolvedType instanceof n?"int32":v.type;if(m==v.id){if(y=!0,v.map)t.skip().pos++,f[E]===u.emptyObject&&(f[E]={}),p=t[v.keyType](),t.pos++,null!=o.long[v.keyType]?null==o.basic[_]?f[E]["object"==c(p)?u.longToHash(p):p]=s[g].decode(t,t.uint32()):f[E]["object"==c(p)?u.longToHash(p):p]=t[_]():null==o.basic[_]?f[E]=s[g].decode(t,t.uint32()):f[E]=t[_]();else if(v.repeated)if(f[E]&&f[E].length||(f[E]=[]),null!=o.packed[_]&&2==(7&h))for(var T=t.uint32()+t.pos;t.pos<T;)f[E].push(t[_]());else null==o.basic[_]?v.resolvedType.group?f[E].push(s[g].decode(t)):f[E].push(s[g].decode(t,t.uint32())):f[E].push(t[_]());else null==o.basic[_]?v.resolvedType.group?f[E]=s[g].decode(t):f[E]=s[g].decode(t,t.uint32()):f[E]=t[_]();break}}y||(console.log("t",h),t.skipType(7&h))}for(g=0;g<e._fieldsArray.length;++g){var O=e._fieldsArray[g];if(O.required&&!f.hasOwnProperty(O.name))throw i.ProtocolError(a(O),{instance:f})}return f}}}e.exports=s,s._configure=function(){n=r(582),o=r(696),i=r(935)}},929:function(e,t,r){var n,o;function i(e){return function(t){var r=t.Writer,i=t.types,a=t.util;return function(t,s){s=s||r.create();for(var c=e.fieldsArray.slice().sort(a.compareFieldsById),u=0;u<c.length;u++){var l=c[u],p=e._fieldsArray.indexOf(l),d=l.resolvedType instanceof n?"uint32":l.type,f=o.basic[d],h=t[l.name];if(l.resolvedType instanceof n&&"string"==typeof h&&(h=i[p].values[h]),l.map){if(null!=h&&t.hasOwnProperty(l.name))for(var m=Object.keys(h),g=0;g<m.length;++g)s.uint32((l.id<<3|2)>>>0).fork().uint32(8|o.mapKey[l.keyType])[l.keyType](m[g]),void 0===f?i[p].encode(h[m[g]],s.uint32(18).fork()).ldelim().ldelim():s.uint32(16|f)[d](h[m[g]]).ldelim()}else if(l.repeated){if(h&&h.length)if(l.packed&&void 0!==o.packed[d]){s.uint32((l.id<<3|2)>>>0).fork();for(var y=0;y<h.length;y++)s[d](h[y]);s.ldelim()}else for(var v=0;v<h.length;v++)void 0===f?l.resolvedType.group?i[p].encode(h[v],s.uint32((l.id<<3|3)>>>0)).uint32((l.id<<3|4)>>>0):i[p].encode(h[v],s.uint32((l.id<<3|2)>>>0).fork()).ldelim():s.uint32((l.id<<3|f)>>>0)[d](h[v])}else(!l.optional||null!=h&&t.hasOwnProperty(l.name))&&(l.optional||null!=h&&t.hasOwnProperty(l.name)||console.warn("注意啦!!!很大概率会报错 类型:",t.$type?t.$type.name:"不晓得","没有设置对应的属性:",l.name,"检查是不是proto文件属性设置为了required"),void 0===f?l.resolvedType.group?i[p].encode(h,s.uint32((l.id<<3|3)>>>0)).uint32((l.id<<3|4)>>>0):i[p].encode(h,s.uint32((l.id<<3|2)>>>0).fork()).ldelim():s.uint32((l.id<<3|f)>>>0)[d](h))}return s}}}e.exports=i,i._configure=function(){n=r(582),o=r(696)}},582:function(e,t,r){e.exports=i;var n=r(998);((i.prototype=Object.create(n.prototype)).constructor=i).className="Enum";var o=r(476);function i(e,t,r,o,i){if(n.call(this,e,r),t&&"object"!=c(t))throw TypeError("values must be an object");if(this.valuesById={},this.values=Object.create(this.valuesById),this.comment=o,this.comments=i||{},this.reserved=void 0,t)for(var a=Object.keys(t),s=0;s<a.length;++s)"number"==typeof t[a[s]]&&(this.valuesById[this.values[a[s]]=t[a[s]]]=a[s])}i.fromJSON=function(e,t){var r=new i(e,t.values,t.options,t.comment,t.comments);return r.reserved=t.reserved,r},i.prototype.toJSON=function(e){var t=!!e&&Boolean(e.keepComments);return util.toObject(["options",this.options,"values",this.values,"reserved",this.reserved&&this.reserved.length?this.reserved:void 0,"comment",t?this.comment:void 0,"comments",t?this.comments:void 0])},i.prototype.add=function(e,t,r){if(!util.isString(e))throw TypeError("name must be a string");if(!util.isInteger(t))throw TypeError("id must be an integer");if(void 0!==this.values[e])throw Error("duplicate name '"+e+"' in "+this);if(this.isReservedId(t))throw Error("id "+t+" is reserved in "+this);if(this.isReservedName(e))throw Error("name '"+e+"' is reserved in "+this);if(void 0!==this.valuesById[t]){if(!this.options||!this.options.allow_alias)throw Error("duplicate id "+t+" in "+this);this.values[e]=t}else this.valuesById[this.values[e]=t]=e;return this.comments[e]=r||null,this},i.prototype.remove=function(e){if(!util.isString(e))throw TypeError("name must be a string");var t=this.values[e];if(null==t)throw Error("name '"+e+"' does not exist in "+this);return delete this.valuesById[t],delete this.values[e],delete this.comments[e],this},i.prototype.isReservedId=function(e){return o.isReservedId(this.reserved,e)},i.prototype.isReservedName=function(e){return o.isReservedName(this.reserved,e)}},286:function(e,t,r){e.exports=l;var n,o,i,a,s=r(998);((l.prototype=Object.create(s.prototype)).constructor=l).className="Field";var u=/^required|optional|repeated$/;function l(e,t,r,n,a,c,l){if(i.isObject(n)?(l=a,c=n,n=a=void 0):i.isObject(a)&&(l=c,c=a,a=void 0),s.call(this,e,c),!i.isInteger(t)||t<0)throw TypeError("id must be a non-negative integer");if(!i.isString(r))throw TypeError("type must be a string");if(void 0!==n&&!u.test(n=n.toString().toLowerCase()))throw TypeError("rule must be a string rule");if(void 0!==a&&!i.isString(a))throw TypeError("extend must be a string");this.rule=n&&"optional"!==n?n:void 0,this.type=r,this.id=t,this.extend=a||void 0,this.required="required"===n,this.optional=!this.required,this.repeated="repeated"===n,this.map=!1,this.message=null,this.partOf=null,this.typeDefault=null,this.defaultValue=null,this.long=!!i.Long&&void 0!==o.long[r],this.bytes="bytes"===r,this.resolvedType=null,this.extensionField=null,this.declaringField=null,this._packed=null,this.comment=l}l.fromJSON=function(e,t){return new l(e,t.id,t.type,t.rule,t.extend,t.options,t.comment)},Object.defineProperty(l.prototype,"packed",{get:function(){return null===this._packed&&(this._packed=!1!==this.getOption("packed")),this._packed}}),l.prototype.setOption=function(e,t,r){return"packed"===e&&(this._packed=null),s.prototype.setOption.call(this,e,t,r)},l.prototype.toJSON=function(e){var t=!!e&&Boolean(e.keepComments);return i.toObject(["rule","optional"!==this.rule&&this.rule||void 0,"type",this.type,"id",this.id,"extend",this.extend,"options",this.options,"comment",t?this.comment:void 0])},l.prototype.resolve=function(){if(this.resolved)return this;if(void 0===(this.typeDefault=o.defaults[this.type])&&(this.resolvedType=(this.declaringField?this.declaringField.parent:this.parent).lookupTypeOrEnum(this.type),this.resolvedType instanceof a?this.typeDefault=null:this.typeDefault=this.resolvedType.values[Object.keys(this.resolvedType.values)[0]]),this.options&&null!=this.options.default&&(this.typeDefault=this.options.default,this.resolvedType instanceof n&&"string"==typeof this.typeDefault&&(this.typeDefault=this.resolvedType.values[this.typeDefault])),this.options&&(!0!==this.options.packed&&(void 0===this.options.packed||!this.resolvedType||this.resolvedType instanceof n)||delete this.options.packed,Object.keys(this.options).length||(this.options=void 0)),this.long)this.typeDefault=i.Long.fromNumber(this.typeDefault,"u"===this.type.charAt(0)),Object.freeze&&Object.freeze(this.typeDefault);else if(this.bytes&&"string"==typeof this.typeDefault){var e;i.utf8.write(this.typeDefault,e=i.newBuffer(i.utf8.length(this.typeDefault)),0),this.typeDefault=e}return this.map?this.defaultValue=i.emptyObject:this.repeated?this.defaultValue=i.emptyArray:this.defaultValue=this.typeDefault,this.parent instanceof a&&(this.parent.ctor.prototype[this.name]=this.defaultValue),s.prototype.resolve.call(this)},l.d=function(e,t,r,n){return"function"==typeof t?t=i.decorateType(t).name:t&&"object"==c(t)&&(t=i.decorateEnum(t).name),function(o,a){i.decorateType(o.constructor).add(new l(a,e,t,r,{default:n}))}},l._configure=function(){a=r(192),n=r(582),o=r(696),i=r(935)}},283:function(e){function t(e){return"undefined"!=typeof Float32Array?function(){var t=new Float32Array([-0]),r=new Uint8Array(t.buffer),n=128===r[3];function o(e,n,o){t[0]=e,n[o]=r[0],n[o+1]=r[1],n[o+2]=r[2],n[o+3]=r[3]}function i(e,n,o){t[0]=e,n[o]=r[3],n[o+1]=r[2],n[o+2]=r[1],n[o+3]=r[0]}function a(e,n){return r[0]=e[n],r[1]=e[n+1],r[2]=e[n+2],r[3]=e[n+3],t[0]}function s(e,n){return r[3]=e[n],r[2]=e[n+1],r[1]=e[n+2],r[0]=e[n+3],t[0]}e.writeFloatLE=n?o:i,e.writeFloatBE=n?i:o,e.readFloatLE=n?a:s,e.readFloatBE=n?s:a}():function(){function t(e,t,r,n){var o=t<0?1:0;if(o&&(t=-t),0===t)e(1/t>0?0:2147483648,r,n);else if(isNaN(t))e(2143289344,r,n);else if(t>34028234663852886e22)e((o<<31|2139095040)>>>0,r,n);else if(t<11754943508222875e-54)e((o<<31|Math.round(t/1401298464324817e-60))>>>0,r,n);else{var i=Math.floor(Math.log(t)/Math.LN2);e((o<<31|i+127<<23|8388607&Math.round(t*Math.pow(2,-i)*8388608))>>>0,r,n)}}function a(e,t,r){var n=e(t,r),o=2*(n>>31)+1,i=n>>>23&255,a=8388607&n;return 255===i?a?NaN:o*(1/0):0===i?1401298464324817e-60*o*a:o*Math.pow(2,i-150)*(a+8388608)}e.writeFloatLE=t.bind(null,r),e.writeFloatBE=t.bind(null,n),e.readFloatLE=a.bind(null,o),e.readFloatBE=a.bind(null,i)}(),"undefined"!=typeof Float64Array?function(){var t=new Float64Array([-0]),r=new Uint8Array(t.buffer),n=128===r[7];function o(e,n,o){t[0]=e,n[o]=r[0],n[o+1]=r[1],n[o+2]=r[2],n[o+3]=r[3],n[o+4]=r[4],n[o+5]=r[5],n[o+6]=r[6],n[o+7]=r[7]}function i(e,n,o){t[0]=e,n[o]=r[7],n[o+1]=r[6],n[o+2]=r[5],n[o+3]=r[4],n[o+4]=r[3],n[o+5]=r[2],n[o+6]=r[1],n[o+7]=r[0]}function a(e,n){return r[0]=e[n],r[1]=e[n+1],r[2]=e[n+2],r[3]=e[n+3],r[4]=e[n+4],r[5]=e[n+5],r[6]=e[n+6],r[7]=e[n+7],t[0]}function s(e,n){return r[7]=e[n],r[6]=e[n+1],r[5]=e[n+2],r[4]=e[n+3],r[3]=e[n+4],r[2]=e[n+5],r[1]=e[n+6],r[0]=e[n+7],t[0]}e.writeDoubleLE=n?o:i,e.writeDoubleBE=n?i:o,e.readDoubleLE=n?a:s,e.readDoubleBE=n?s:a}():function(){function t(e,t,r,n,o,i){var a=n<0?1:0;if(a&&(n=-n),0===n)e(0,o,i+t),e(1/n>0?0:2147483648,o,i+r);else if(isNaN(n))e(0,o,i+t),e(2146959360,o,i+r);else if(n>17976931348623157e292)e(0,o,i+t),e((a<<31|2146435072)>>>0,o,i+r);else{var s;if(n<22250738585072014e-324)e((s=n/5e-324)>>>0,o,i+t),e((a<<31|s/4294967296)>>>0,o,i+r);else{var c=Math.floor(Math.log(n)/Math.LN2);1024===c&&(c=1023),e(4503599627370496*(s=n*Math.pow(2,-c))>>>0,o,i+t),e((a<<31|c+1023<<20|1048576*s&1048575)>>>0,o,i+r)}}}function a(e,t,r,n,o){var i=e(n,o+t),a=e(n,o+r),s=2*(a>>31)+1,c=a>>>20&2047,u=4294967296*(1048575&a)+i;return 2047===c?u?NaN:s*(1/0):0===c?5e-324*s*u:s*Math.pow(2,c-1075)*(u+4503599627370496)}e.writeDoubleLE=t.bind(null,r,0,4),e.writeDoubleBE=t.bind(null,n,4,0),e.readDoubleLE=a.bind(null,o,0,4),e.readDoubleBE=a.bind(null,i,4,0)}(),e}function r(e,t,r){t[r]=255&e,t[r+1]=e>>>8&255,t[r+2]=e>>>16&255,t[r+3]=e>>>24}function n(e,t,r){t[r]=e>>>24,t[r+1]=e>>>16&255,t[r+2]=e>>>8&255,t[r+3]=255&e}function o(e,t){return(e[t]|e[t+1]<<8|e[t+2]<<16|e[t+3]<<24)>>>0}function i(e,t){return(e[t]<<24|e[t+1]<<16|e[t+2]<<8|e[t+3])>>>0}e.exports=t(t)},939:function(e){e.exports=r;var t=null;try{t=new WebAssembly.Instance(new WebAssembly.Module(new Uint8Array([0,97,115,109,1,0,0,0,1,13,2,96,0,1,127,96,4,127,127,127,127,1,127,3,7,6,0,1,1,1,1,1,6,6,1,127,1,65,0,11,7,50,6,3,109,117,108,0,1,5,100,105,118,95,115,0,2,5,100,105,118,95,117,0,3,5,114,101,109,95,115,0,4,5,114,101,109,95,117,0,5,8,103,101,116,95,104,105,103,104,0,0,10,191,1,6,4,0,35,0,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,126,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,127,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,128,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,129,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,130,34,4,66,32,135,167,36,0,32,4,167,11])),{}).exports}catch(e){}function r(e,t,r){this.low=0|e,this.high=0|t,this.unsigned=!!r}function n(e){return!0===(e&&e.__isLong__)}r.prototype.__isLong__,Object.defineProperty(r.prototype,"__isLong__",{value:!0}),r.isLong=n;var o={},i={};function a(e,t){var r,n,a;return t?(a=0<=(e>>>=0)&&e<256)&&(n=i[e])?n:(r=c(e,(0|e)<0?-1:0,!0),a&&(i[e]=r),r):(a=-128<=(e|=0)&&e<128)&&(n=o[e])?n:(r=c(e,e<0?-1:0,!1),a&&(o[e]=r),r)}function s(e,t){if(isNaN(e))return t?y:g;if(t){if(e<0)return y;if(e>=f)return O}else{if(e<=-h)return b;if(e+1>=h)return T}return e<0?s(-e,t).neg():c(e%d|0,e/d|0,t)}function c(e,t,n){return new r(e,t,n)}r.fromInt=a,r.fromNumber=s,r.fromBits=c;var u=Math.pow;function l(e,t,r){if(0===e.length)throw Error("empty string");if("NaN"===e||"Infinity"===e||"+Infinity"===e||"-Infinity"===e)return g;if("number"==typeof t?(r=t,t=!1):t=!!t,(r=r||10)<2||36<r)throw RangeError("radix");var n;if((n=e.indexOf("-"))>0)throw Error("interior hyphen");if(0===n)return l(e.substring(1),t,r).neg();for(var o=s(u(r,8)),i=g,a=0;a<e.length;a+=8){var c=Math.min(8,e.length-a),p=parseInt(e.substring(a,a+c),r);if(c<8){var d=s(u(r,c));i=i.mul(d).add(s(p))}else i=(i=i.mul(o)).add(s(p))}return i.unsigned=t,i}function p(e,t){return"number"==typeof e?s(e,t):"string"==typeof e?l(e,t):c(e.low,e.high,"boolean"==typeof t?t:e.unsigned)}r.fromString=l,r.fromValue=p;var d=4294967296,f=d*d,h=f/2,m=a(1<<24),g=a(0);r.ZERO=g;var y=a(0,!0);r.UZERO=y;var v=a(1);r.ONE=v;var E=a(1,!0);r.UONE=E;var _=a(-1);r.NEG_ONE=_;var T=c(-1,2147483647,!1);r.MAX_VALUE=T;var O=c(-1,-1,!0);r.MAX_UNSIGNED_VALUE=O;var b=c(0,-2147483648,!1);r.MIN_VALUE=b;var S=r.prototype;S.toInt=function(){return this.unsigned?this.low>>>0:this.low},S.toNumber=function(){return this.unsigned?(this.high>>>0)*d+(this.low>>>0):this.high*d+(this.low>>>0)},S.toString=function(e){if((e=e||10)<2||36<e)throw RangeError("radix");if(this.isZero())return"0";if(this.isNegative()){if(this.eq(b)){var t=s(e),r=this.div(t),n=r.mul(t).sub(this);return r.toString(e)+n.toInt().toString(e)}return"-"+this.neg().toString(e)}for(var o=s(u(e,6),this.unsigned),i=this,a="";;){var c=i.div(o),l=(i.sub(c.mul(o)).toInt()>>>0).toString(e);if((i=c).isZero())return l+a;for(;l.length<6;)l="0"+l;a=""+l+a}},S.getHighBits=function(){return this.high},S.getHighBitsUnsigned=function(){return this.high>>>0},S.getLowBits=function(){return this.low},S.getLowBitsUnsigned=function(){return this.low>>>0},S.getNumBitsAbs=function(){if(this.isNegative())return this.eq(b)?64:this.neg().getNumBitsAbs();for(var e=0!=this.high?this.high:this.low,t=31;t>0&&0==(e&1<<t);t--);return 0!=this.high?t+33:t+1},S.isZero=function(){return 0===this.high&&0===this.low},S.eqz=S.isZero,S.isNegative=function(){return!this.unsigned&&this.high<0},S.isPositive=function(){return this.unsigned||this.high>=0},S.isOdd=function(){return 1==(1&this.low)},S.isEven=function(){return 0==(1&this.low)},S.equals=function(e){return n(e)||(e=p(e)),(this.unsigned===e.unsigned||this.high>>>31!=1||e.high>>>31!=1)&&this.high===e.high&&this.low===e.low},S.eq=S.equals,S.notEquals=function(e){return!this.eq(e)},S.neq=S.notEquals,S.ne=S.notEquals,S.lessThan=function(e){return this.comp(e)<0},S.lt=S.lessThan,S.lessThanOrEqual=function(e){return this.comp(e)<=0},S.lte=S.lessThanOrEqual,S.le=S.lessThanOrEqual,S.greaterThan=function(e){return this.comp(e)>0},S.gt=S.greaterThan,S.greaterThanOrEqual=function(e){return this.comp(e)>=0},S.gte=S.greaterThanOrEqual,S.ge=S.greaterThanOrEqual,S.compare=function(e){if(n(e)||(e=p(e)),this.eq(e))return 0;var t=this.isNegative(),r=e.isNegative();return t&&!r?-1:!t&&r?1:this.unsigned?e.high>>>0>this.high>>>0||e.high===this.high&&e.low>>>0>this.low>>>0?-1:1:this.sub(e).isNegative()?-1:1},S.comp=S.compare,S.negate=function(){return!this.unsigned&&this.eq(b)?b:this.not().add(v)},S.neg=S.negate,S.add=function(e){n(e)||(e=p(e));var t=this.high>>>16,r=65535&this.high,o=this.low>>>16,i=65535&this.low,a=e.high>>>16,s=65535&e.high,u=e.low>>>16,l=0,d=0,f=0,h=0;return f+=(h+=i+(65535&e.low))>>>16,d+=(f+=o+u)>>>16,l+=(d+=r+s)>>>16,l+=t+a,c((f&=65535)<<16|(h&=65535),(l&=65535)<<16|(d&=65535),this.unsigned)},S.subtract=function(e){return n(e)||(e=p(e)),this.add(e.neg())},S.sub=S.subtract,S.multiply=function(e){if(this.isZero())return g;if(n(e)||(e=p(e)),t)return c(t.mul(this.low,this.high,e.low,e.high),t.get_high(),this.unsigned);if(e.isZero())return g;if(this.eq(b))return e.isOdd()?b:g;if(e.eq(b))return this.isOdd()?b:g;if(this.isNegative())return e.isNegative()?this.neg().mul(e.neg()):this.neg().mul(e).neg();if(e.isNegative())return this.mul(e.neg()).neg();if(this.lt(m)&&e.lt(m))return s(this.toNumber()*e.toNumber(),this.unsigned);var r=this.high>>>16,o=65535&this.high,i=this.low>>>16,a=65535&this.low,u=e.high>>>16,l=65535&e.high,d=e.low>>>16,f=65535&e.low,h=0,y=0,v=0,E=0;return v+=(E+=a*f)>>>16,y+=(v+=i*f)>>>16,v&=65535,y+=(v+=a*d)>>>16,h+=(y+=o*f)>>>16,y&=65535,h+=(y+=i*d)>>>16,y&=65535,h+=(y+=a*l)>>>16,h+=r*f+o*d+i*l+a*u,c((v&=65535)<<16|(E&=65535),(h&=65535)<<16|(y&=65535),this.unsigned)},S.mul=S.multiply,S.divide=function(e){if(n(e)||(e=p(e)),e.isZero())throw Error("division by zero");var r,o,i;if(t)return this.unsigned||-2147483648!==this.high||-1!==e.low||-1!==e.high?c((this.unsigned?t.div_u:t.div_s)(this.low,this.high,e.low,e.high),t.get_high(),this.unsigned):this;if(this.isZero())return this.unsigned?y:g;if(this.unsigned){if(e.unsigned||(e=e.toUnsigned()),e.gt(this))return y;if(e.gt(this.shru(1)))return E;i=y}else{if(this.eq(b))return e.eq(v)||e.eq(_)?b:e.eq(b)?v:(r=this.shr(1).div(e).shl(1)).eq(g)?e.isNegative()?v:_:(o=this.sub(e.mul(r)),i=r.add(o.div(e)));if(e.eq(b))return this.unsigned?y:g;if(this.isNegative())return e.isNegative()?this.neg().div(e.neg()):this.neg().div(e).neg();if(e.isNegative())return this.div(e.neg()).neg();i=g}for(o=this;o.gte(e);){r=Math.max(1,Math.floor(o.toNumber()/e.toNumber()));for(var a=Math.ceil(Math.log(r)/Math.LN2),l=a<=48?1:u(2,a-48),d=s(r),f=d.mul(e);f.isNegative()||f.gt(o);)f=(d=s(r-=l,this.unsigned)).mul(e);d.isZero()&&(d=v),i=i.add(d),o=o.sub(f)}return i},S.div=S.divide,S.modulo=function(e){return n(e)||(e=p(e)),t?c((this.unsigned?t.rem_u:t.rem_s)(this.low,this.high,e.low,e.high),t.get_high(),this.unsigned):this.sub(this.div(e).mul(e))},S.mod=S.modulo,S.rem=S.modulo,S.not=function(){return c(~this.low,~this.high,this.unsigned)},S.and=function(e){return n(e)||(e=p(e)),c(this.low&e.low,this.high&e.high,this.unsigned)},S.or=function(e){return n(e)||(e=p(e)),c(this.low|e.low,this.high|e.high,this.unsigned)},S.xor=function(e){return n(e)||(e=p(e)),c(this.low^e.low,this.high^e.high,this.unsigned)},S.shiftLeft=function(e){return n(e)&&(e=e.toInt()),0==(e&=63)?this:e<32?c(this.low<<e,this.high<<e|this.low>>>32-e,this.unsigned):c(0,this.low<<e-32,this.unsigned)},S.shl=S.shiftLeft,S.shiftRight=function(e){return n(e)&&(e=e.toInt()),0==(e&=63)?this:e<32?c(this.low>>>e|this.high<<32-e,this.high>>e,this.unsigned):c(this.high>>e-32,this.high>=0?0:-1,this.unsigned)},S.shr=S.shiftRight,S.shiftRightUnsigned=function(e){if(n(e)&&(e=e.toInt()),0==(e&=63))return this;var t=this.high;return e<32?c(this.low>>>e|t<<32-e,t>>>e,this.unsigned):c(32===e?t:t>>>e-32,0,this.unsigned)},S.shru=S.shiftRightUnsigned,S.shr_u=S.shiftRightUnsigned,S.toSigned=function(){return this.unsigned?c(this.low,this.high,!1):this},S.toUnsigned=function(){return this.unsigned?this:c(this.low,this.high,!0)},S.toBytes=function(e){return e?this.toBytesLE():this.toBytesBE()},S.toBytesLE=function(){var e=this.high,t=this.low;return[255&t,t>>>8&255,t>>>16&255,t>>>24,255&e,e>>>8&255,e>>>16&255,e>>>24]},S.toBytesBE=function(){var e=this.high,t=this.low;return[e>>>24,e>>>16&255,e>>>8&255,255&e,t>>>24,t>>>16&255,t>>>8&255,255&t]},r.fromBytes=function(e,t,n){return n?r.fromBytesLE(e,t):r.fromBytesBE(e,t)},r.fromBytesLE=function(e,t){return new r(e[0]|e[1]<<8|e[2]<<16|e[3]<<24,e[4]|e[5]<<8|e[6]<<16|e[7]<<24,t)},r.fromBytesBE=function(e,t){return new r(e[4]<<24|e[5]<<16|e[6]<<8|e[7],e[0]<<24|e[1]<<16|e[2]<<8|e[3],t)}},365:function(e,t,r){e.exports=o;var n=r(935);function o(e,t){this.lo=e>>>0,this.hi=t>>>0}var i=o.zero=new o(0,0);i.toNumber=function(){return 0},i.zzEncode=i.zzDecode=function(){return this},i.length=function(){return 1};var a=o.zeroHash="\0\0\0\0\0\0\0\0";o.fromNumber=function(e){if(0===e)return i;var t=e<0;t&&(e=-e);var r=e>>>0,n=(e-r)/4294967296>>>0;return t&&(n=~n>>>0,r=~r>>>0,++r>4294967295&&(r=0,++n>4294967295&&(n=0))),new o(r,n)},o.from=function(e){if("number"==typeof e)return o.fromNumber(e);if("string"==typeof e||e instanceof String){if(!n.Long)return o.fromNumber(parseInt(e,10));e=n.Long.fromString(e)}return e.low||e.high?new o(e.low>>>0,e.high>>>0):i},o.prototype.toNumber=function(e){if(!e&&this.hi>>>31){var t=1+~this.lo>>>0,r=~this.hi>>>0;return t||(r=r+1>>>0),-(t+4294967296*r)}return this.lo+4294967296*this.hi},o.prototype.toLong=function(e){return n.Long?new n.Long(0|this.lo,0|this.hi,Boolean(e)):{low:0|this.lo,high:0|this.hi,unsigned:Boolean(e)}};var s=String.prototype.charCodeAt;o.fromHash=function(e){return e===a?i:new o((s.call(e,0)|s.call(e,1)<<8|s.call(e,2)<<16|s.call(e,3)<<24)>>>0,(s.call(e,4)|s.call(e,5)<<8|s.call(e,6)<<16|s.call(e,7)<<24)>>>0)},o.prototype.toHash=function(){return String.fromCharCode(255&this.lo,this.lo>>>8&255,this.lo>>>16&255,this.lo>>>24,255&this.hi,this.hi>>>8&255,this.hi>>>16&255,this.hi>>>24)},o.prototype.zzEncode=function(){var e=this.hi>>31;return this.hi=((this.hi<<1|this.lo>>>31)^e)>>>0,this.lo=(this.lo<<1^e)>>>0,this},o.prototype.zzDecode=function(){var e=-(1&this.lo);return this.lo=((this.lo>>>1|this.hi<<31)^e)>>>0,this.hi=(this.hi>>>1^e)>>>0,this},o.prototype.length=function(){var e=this.lo,t=(this.lo>>>28|this.hi<<4)>>>0,r=this.hi>>>24;return 0===r?0===t?e<16384?e<128?1:2:e<2097152?3:4:t<16384?t<128?5:6:t<2097152?7:8:r<128?9:10}},435:function(e,t,r){e.exports=a;var n,o,i=r(286);function a(e,t,r,n,a,s){if(i.call(this,e,t,n,void 0,void 0,a,s),!o.isString(r))throw TypeError("keyType must be a string");this.keyType=r,this.resolvedKeyType=null,this.map=!0}((a.prototype=Object.create(i.prototype)).constructor=a).className="MapField",a.fromJSON=function(e,t){return new a(e,t.id,t.keyType,t.type,t.options,t.comment)},a.prototype.toJSON=function(e){var t=!!e&&Boolean(e.keepComments);return o.toObject(["keyType",this.keyType,"type",this.type,"id",this.id,"extend",this.extend,"options",this.options,"comment",t?this.comment:void 0])},a.prototype.resolve=function(){if(this.resolved)return this;if(void 0===n.mapKey[this.keyType])throw Error("invalid key type: "+this.keyType);return i.prototype.resolve.call(this)},a.d=function(e,t,r){return"function"==typeof r?r=o.decorateType(r).name:r&&"object"==c(r)&&(r=o.decorateEnum(r).name),function(n,i){o.decorateType(n.constructor).add(new a(i,e,t,r))}},a._configure=function(){n=r(696),o=r(935)}},339:function(e,t,r){"use strict";var n;function o(e){if(e)for(var t=Object.keys(e),r=0;r<t.length;++r)this[t[r]]=e[t[r]]}e.exports=o,o.create=function(e){return this.$type.create(e)},o.encode=function(e,t){return arguments.length?1==arguments.length?this.$type.encode(arguments[0]):this.$type.encode(arguments[0],arguments[1]):this.$type.encode(this)},o.encodeDelimited=function(e,t){return this.$type.encodeDelimited(e,t)},o.decode=function(e){return this.$type.decode(e)},o.decodeDelimited=function(e){return this.$type.decodeDelimited(e)},o.verify=function(e){return this.$type.verify(e)},o.fromObject=function(e){return this.$type.fromObject(e)},o.toObject=function(e,t){return e=e||this,this.$type.toObject(e,t)},o.prototype.toJSON=function(){return this.$type.toObject(this,n.toJSONOptions)},o.set=function(e,t){o[e]=t},o.get=function(e){return o[e]},o._configure=function(){n=r(935)}},484:function(e,t,r){"use strict";e.exports=i;var n,o=r(998);function i(e,t,r,i,a,s,c,u){if(n.isObject(a)?(c=a,a=s=void 0):n.isObject(s)&&(c=s,s=void 0),void 0!==t&&!n.isString(t))throw TypeError("type must be a string");if(!n.isString(r))throw TypeError("requestType must be a string");if(!n.isString(i))throw TypeError("responseType must be a string");o.call(this,e,c),this.type=t||"rpc",this.requestType=r,this.requestStream=!!a||void 0,this.responseType=i,this.responseStream=!!s||void 0,this.resolvedRequestType=null,this.resolvedResponseType=null,this.comment=u}((i.prototype=Object.create(o.prototype)).constructor=i).className="Method",i.fromJSON=function(e,t){return new i(e,t.type,t.requestType,t.responseType,t.requestStream,t.responseStream,t.options,t.comment)},i.prototype.toJSON=function(e){var t=!!e&&Boolean(e.keepComments);return n.toObject(["type","rpc"!==this.type&&this.type||void 0,"requestType",this.requestType,"requestStream",this.requestStream,"responseType",this.responseType,"responseStream",this.responseStream,"options",this.options,"comment",t?this.comment:void 0])},i.prototype.resolve=function(){return this.resolved?this:(this.resolvedRequestType=this.parent.lookupType(this.requestType),this.resolvedResponseType=this.parent.lookupType(this.responseType),o.prototype.resolve.call(this))},i._configure=function(){n=r(935)}},476:function(e,t,r){e.exports=l;var n,o,i,a,s,c=r(998);function u(e,t){if(e&&e.length){for(var r={},n=0;n<e.length;++n)r[e[n].name]=e[n].toJSON(t);return r}}function l(e,t){c.call(this,e,t),this.nested=void 0,this._nestedArray=null}function p(e){return e._nestedArray=null,e}((l.prototype=Object.create(c.prototype)).constructor=l).className="Namespace",l.fromJSON=function(e,t){return new l(e,t.options).addJSON(t.nested)},l.arrayToJSON=u,l.isReservedId=function(e,t){if(e)for(var r=0;r<e.length;++r)if("string"!=typeof e[r]&&e[r][0]<=t&&e[r][1]>=t)return!0;return!1},l.isReservedName=function(e,t){if(e)for(var r=0;r<e.length;++r)if(e[r]===t)return!0;return!1},Object.defineProperty(l.prototype,"nestedArray",{get:function(){return this._nestedArray||(this._nestedArray=i.toArray(this.nested))}}),l.prototype.toJSON=function(e){return i.toObject(["options",this.options,"nested",u(this.nestedArray,e)])},l.prototype.addJSON=function(e){if(e)for(var t,r=Object.keys(e),i=0;i<r.length;++i)t=e[r[i]],this.add((void 0!==t.fields?a.fromJSON:void 0!==t.values?n.fromJSON:void 0!==t.methods?s.fromJSON:void 0!==t.id?o.fromJSON:l.fromJSON)(r[i],t));return this},l.prototype.get=function(e){return this.nested&&this.nested[e]||null},l.prototype.getEnum=function(e){if(this.nested&&this.nested[e]instanceof n)return this.nested[e].values;throw Error("no such enum: "+e)},l.prototype.add=function(e){if(!(e instanceof o&&void 0!==e.extend||e instanceof a||e instanceof n||e instanceof s||e instanceof l))throw TypeError("object must be a valid nested object");if(this.nested){var t=this.get(e.name);if(t){if(!(t instanceof l&&e instanceof l)||t instanceof a||t instanceof s)throw Error("duplicate name '"+e.name+"' in "+this);for(var r=t.nestedArray,i=0;i<r.length;++i)e.add(r[i]);this.remove(t),this.nested||(this.nested={}),e.setOptions(t.options,!0)}}else this.nested={};return this.nested[e.name]=e,e.onAdd(this),p(this)},l.prototype.remove=function(e){if(!(e instanceof c))throw TypeError("object must be a ReflectionObject");if(e.parent!==this)throw Error(e+" is not a member of "+this);return delete this.nested[e.name],Object.keys(this.nested).length||(this.nested=void 0),e.onRemove(this),p(this)},l.prototype.define=function(e,t){if(i.isString(e))e=e.split(".");else if(!Array.isArray(e))throw TypeError("illegal path");if(e&&e.length&&""===e[0])throw Error("path must be relative");for(var r=this;e.length>0;){var n=e.shift();if(r.nested&&r.nested[n]){if(!((r=r.nested[n])instanceof l))throw Error("path conflicts with non-namespace objects")}else r.add(r=new l(n))}return t&&r.addJSON(t),r},l.prototype.resolveAll=function(){for(var e=this.nestedArray,t=0;t<e.length;)e[t]instanceof l?e[t++].resolveAll():e[t++].resolve();return this.resolve()},l.prototype.lookup=function(e,t,r){if("boolean"==typeof t?(r=t,t=void 0):t&&!Array.isArray(t)&&(t=[t]),i.isString(e)&&e.length){if("."===e)return this.root;e=e.split(".")}else if(!e.length)return this;if(""===e[0])return this.root.lookup(e.slice(1),t);var n=this.get(e[0]);if(n){if(1===e.length){if(!t||t.indexOf(n.constructor)>-1)return n}else if(n instanceof l&&(n=n.lookup(e.slice(1),t,!0)))return n}else for(var o=0;o<this.nestedArray.length;++o)if(this._nestedArray[o]instanceof l&&(n=this._nestedArray[o].lookup(e,t,!0)))return n;return null===this.parent||r?null:this.parent.lookup(e,t)},l.prototype.lookupType=function(e){var t=this.lookup(e,[a]);if(!t)throw Error("no such type: "+e);return t},l.prototype.lookupEnum=function(e){var t=this.lookup(e,[n]);if(!t)throw Error("no such Enum '"+e+"' in "+this);return t},l.prototype.lookupTypeOrEnum=function(e){var t=this.lookup(e,[a,n]);if(!t)throw Error("no such Type or Enum '"+e+"' in "+this);return t},l.prototype.lookupService=function(e){var t=this.lookup(e,[s]);if(!t)throw Error("no such Service '"+e+"' in "+this);return t},l._configure=function(){n=r(582),o=r(286),i=r(935),a=r(192),s=r(447)}},998:function(e,t,r){"use strict";var n,o;function i(e,t){if(!n.isString(e))throw TypeError("name must be a string");if(t&&!n.isObject(t))throw TypeError("options must be an object");this.options=t,this.name=e,this.parent=null,this.resolved=!1,this.comment=null,this.filename=null}e.exports=i,i.className="ReflectionObject",Object.defineProperties(i.prototype,{root:{get:function(){for(var e=this;null!==e.parent;)e=e.parent;return e}},fullName:{get:function(){for(var e=[this.name],t=this.parent;t;)e.unshift(t.name),t=t.parent;return e.join(".")}}}),i.prototype.toJSON=function(){throw Error()},i.prototype.onAdd=function(e){this.parent&&this.parent!==e&&this.parent.remove(this),this.parent=e,this.resolved=!1;var t=e.root;t instanceof o&&t._handleAdd(this)},i.prototype.onRemove=function(e){var t=e.root;t instanceof o&&t._handleRemove(this),this.parent=null,this.resolved=!1},i.prototype.resolve=function(){return this.resolved||this.root instanceof o&&(this.resolved=!0),this},i.prototype.getOption=function(e){if(this.options)return this.options[e]},i.prototype.setOption=function(e,t,r){return r&&this.options&&void 0!==this.options[e]||((this.options||(this.options={}))[e]=t),this},i.prototype.setOptions=function(e,t){if(e)for(var r=Object.keys(e),n=0;n<r.length;++n)this.setOption(r[n],e[r[n]],t);return this},i.prototype.toString=function(){var e=this.constructor.className,t=this.fullName;return t.length?e+" "+t:e},i._configure=function(e){o=r(685),n=r(935)}},735:function(e,t,r){e.exports=a;var n,o,i=r(998);function a(e,t,r,n){if(Array.isArray(t)||(r=t,t=void 0),i.call(this,e,r),void 0!==t&&!Array.isArray(t))throw TypeError("fieldNames must be an Array");this.oneof=t||[],this.fieldsArray=[],this.comment=n}function s(e){if(e.parent)for(var t=0;t<e.fieldsArray.length;++t)e.fieldsArray[t].parent||e.parent.add(e.fieldsArray[t])}((a.prototype=Object.create(i.prototype)).constructor=a).className="OneOf",a.fromJSON=function(e,t){return new a(e,t.oneof,t.options,t.comment)},a.prototype.toJSON=function(e){var t=!!e&&Boolean(e.keepComments);return o.toObject(["options",this.options,"oneof",this.oneof,"comment",t?this.comment:void 0])},a.prototype.add=function(e){if(!(e instanceof n))throw TypeError("field must be a Field");return e.parent&&e.parent!==this.parent&&e.parent.remove(e),this.oneof.push(e.name),this.fieldsArray.push(e),e.partOf=this,s(this),this},a.prototype.remove=function(e){if(!(e instanceof n))throw TypeError("field must be a Field");var t=this.fieldsArray.indexOf(e);if(t<0)throw Error(e+" is not a member of "+this);return this.fieldsArray.splice(t,1),(t=this.oneof.indexOf(e.name))>-1&&this.oneof.splice(t,1),e.partOf=null,this},a.prototype.onAdd=function(e){i.prototype.onAdd.call(this,e);for(var t=0;t<this.oneof.length;++t){var r=e.get(this.oneof[t]);r&&!r.partOf&&(r.partOf=this,this.fieldsArray.push(r))}s(this)},a.prototype.onRemove=function(e){for(var t,r=0;r<this.fieldsArray.length;++r)(t=this.fieldsArray[r]).parent&&t.parent.remove(t);i.prototype.onRemove.call(this,e)},a.d=function(){for(var e=new Array(arguments.length),t=0;t<arguments.length;)e[t]=arguments[t++];return function(t,r){o.decorateType(t.constructor).add(new a(r,e)),Object.defineProperty(t,r,{get:o.oneOfGetter(e),set:o.oneOfSetter(e)})}},a._configure=function(){n=r(286),o=r(935)}},845:function(e,t,r){"use strict";var n,o,i,a,s,c,u,l,p,d,f;e.exports=S,S.filename=null,S.defaults={keepCase:!1};var h=/^[1-9][0-9]*$/,m=/^-?[1-9][0-9]*$/,g=/^0[x][0-9a-fA-F]+$/,y=/^-?0[x][0-9a-fA-F]+$/,v=/^0[0-7]+$/,E=/^-?0[0-7]+$/,_=/^(?![eE])[0-9]*(?:\.[0-9]*)?(?:[eE][+-]?[0-9]+)?$/,T=/^[a-zA-Z_][a-zA-Z_0-9]*$/,O=/^(?:\.?[a-zA-Z_][a-zA-Z_0-9]*)+$/,b=/^(?:\.[a-zA-Z][a-zA-Z_0-9]*)+$/;function S(e,t,r){t instanceof o||(r=t,t=new o),r||(r=S.defaults);var A,I,R,C,N,M=n(e,r.alternateCommentMode||!1),w=M.next,P=M.push,k=M.peek,x=M.skip,U=M.cmnt,j=!0,B=!1,L=t,D=r.keepCase?function(e){return e}:f.camelCase;function G(e,t,r){var n=S.filename;return r||(S.filename=null),Error("illegal "+(t||"token")+" '"+e+"' ("+(n?n+", ":"")+"line "+M.line+")")}function H(){var e,t=[];do{if('"'!==(e=w())&&"'"!==e)throw G(e);t.push(w()),x(e),e=k()}while('"'===e||"'"===e);return t.join("")}function F(e){var t=w();switch(t){case"'":case'"':return P(t),H();case"true":case"TRUE":return!0;case"false":case"FALSE":return!1}try{return function(e,t){var r=1;switch("-"===e.charAt(0)&&(r=-1,e=e.substring(1)),e){case"inf":case"INF":case"Inf":return r*(1/0);case"nan":case"NAN":case"Nan":case"NaN":return NaN;case"0":return 0}if(h.test(e))return r*parseInt(e,10);if(g.test(e))return r*parseInt(e,16);if(v.test(e))return r*parseInt(e,8);if(_.test(e))return r*parseFloat(e);throw G(e,"number",!0)}(t)}catch(r){if(e&&O.test(t))return t;throw G(t,"value")}}function $(e,t){var r,n;do{!t||'"'!==(r=k())&&"'"!==r?e.push([n=z(w()),x("to",!0)?z(w()):n]):e.push(H())}while(x(",",!0));x(";")}function z(e,t){switch(e){case"max":case"MAX":case"Max":return 536870911;case"0":return 0}if(!t&&"-"===e.charAt(0))throw G(e,"id");if(m.test(e))return parseInt(e,10);if(y.test(e))return parseInt(e,16);if(E.test(e))return parseInt(e,8);throw G(e,"id")}function W(){if(void 0!==A)throw G("package");if(A=w(),!O.test(A))throw G(A,"name");L=L.define(A),x(";")}function V(){var e,t=k();switch(t){case"weak":e=R||(R=[]),w();break;case"public":w();default:e=I||(I=[])}t=H(),x(";"),e.push(t)}function q(){if(x("="),C=H(),!(B="proto3"===C)&&"proto2"!==C)throw G(C,"syntax");x(";")}function K(e,t){switch(t){case"option":return Y(e,t),x(";"),!0;case"message":return function(e,t){if(!T.test(t=w()))throw G(t,"type name");var r=new i(t);Q(r,(function(e){if(!K(r,e))switch(e){case"map":!function(e){x("<");var t=w();if(void 0===d.mapKey[t])throw G(t,"type");x(",");var r=w();if(!O.test(r))throw G(r,"type");x(">");var n=w();if(!T.test(n))throw G(n,"name");x("=");var o=new s(D(n),z(w()),t,r);Q(o,(function(e){if("option"!==e)throw G(e);Y(o,e),x(";")}),(function(){Z(o)})),e.add(o)}(r);break;case"required":case"optional":case"repeated":J(r,e);break;case"oneof":!function(e,t){if(!T.test(t=w()))throw G(t,"name");var r=new c(D(t));Q(r,(function(e){"option"===e?(Y(r,e),x(";")):(P(e),J(r,"optional"))})),e.add(r)}(r,e);break;case"extensions":$(r.extensions||(r.extensions=[]));break;case"reserved":$(r.reserved||(r.reserved=[]),!0);break;default:if(!B||!O.test(e))throw G(e);P(e),J(r,"optional")}})),e.add(r)}(e,t),!0;case"enum":return function(e,t){if(!T.test(t=w()))throw G(t,"name");var r=new u(t);Q(r,(function(e){switch(e){case"option":Y(r,e),x(";");break;case"reserved":$(r.reserved||(r.reserved=[]),!0);break;default:!function(e,t){if(!T.test(t))throw G(t,"name");x("=");var r=z(w(),!0),n={};Q(n,(function(e){if("option"!==e)throw G(e);Y(n,e),x(";")}),(function(){Z(n)})),e.add(t,r,n.comment)}(r,e)}})),e.add(r)}(e,t),!0;case"service":return function(e,t){if(!T.test(t=w()))throw G(t,"service name");var r=new l(t);Q(r,(function(e){if(!K(r,e)){if("rpc"!==e)throw G(e);!function(e,t){var r=t;if(!T.test(t=w()))throw G(t,"name");var n,o,i,a,s=t;if(x("("),x("stream",!0)&&(o=!0),!O.test(t=w()))throw G(t);if(n=t,x(")"),x("returns"),x("("),x("stream",!0)&&(a=!0),!O.test(t=w()))throw G(t);i=t,x(")");var c=new p(s,r,n,i,o,a);Q(c,(function(e){if("option"!==e)throw G(e);Y(c,e),x(";")})),e.add(c)}(r,e)}})),e.add(r)}(e,t),!0;case"extend":return function(e,t){if(!O.test(t=w()))throw G(t,"reference");var r=t;Q(null,(function(t){switch(t){case"required":case"repeated":case"optional":J(e,t,r);break;default:if(!B||!O.test(t))throw G(t);P(t),J(e,"optional",r)}}))}(e,t),!0}return!1}function Q(e,t,r){var n=M.line;if(e&&(e.comment=U(),e.filename=S.filename),x("{",!0)){for(var o;"}"!==(o=w());)t(o);x(";",!0)}else r&&r(),x(";"),e&&"string"!=typeof e.comment&&(e.comment=U(n))}function J(e,t,r){var n=w();if("group"!==n){if(!O.test(n))throw G(n,"type");var o=w();if(!T.test(o))throw G(o,"name");o=D(o),x("=");var s=new a(o,z(w()),n,t,r);Q(s,(function(e){if("option"!==e)throw G(e);Y(s,e),x(";")}),(function(){Z(s)})),e.add(s),B||!s.repeated||void 0===d.packed[n]&&void 0!==d.basic[n]||s.setOption("packed",!1,!0)}else!function(e,t){var r=w();if(!T.test(r))throw G(r,"name");var n=f.lcFirst(r);r===n&&(r=f.ucFirst(r)),x("=");var o=z(w()),s=new i(r);s.group=!0;var c=new a(n,o,r,t);c.filename=S.filename,Q(s,(function(e){switch(e){case"option":Y(s,e),x(";");break;case"required":case"optional":case"repeated":J(s,e);break;default:throw G(e)}})),e.add(s).add(c)}(e,t)}function Y(e,t){var r=x("(",!0);if(!O.test(t=w()))throw G(t,"name");var n=t;r&&(x(")"),n="("+n+")",t=k(),b.test(t)&&(n+=t,w())),x("="),function e(t,r){if(x("{",!0))do{if(!T.test(N=w()))throw G(N,"name");"{"===k()?e(t,r+"."+N):(x(":"),"{"===k()?e(t,r+"."+N):X(t,r+"."+N,F(!0)))}while(!x("}",!0));else X(t,r,F(!0))}(e,n)}function X(e,t,r){e.setOption&&e.setOption(t,r)}function Z(e){if(x("[",!0)){do{Y(e,"option")}while(x(",",!0));x("]")}return e}for(;null!==(N=w());)switch(N){case"package":if(!j)throw G(N);W();break;case"import":if(!j)throw G(N);V();break;case"syntax":if(!j)throw G(N);q();break;case"option":if(!j)throw G(N);Y(L,N),x(";");break;default:if(K(L,N)){j=!1;continue}throw G(N)}return S.filename=null,{package:A,imports:I,weakImports:R,syntax:C,root:t}}S._configure=function(){n=r(869),o=r(685),i=r(192),a=r(286),s=r(435),c=r(735),u=r(582),l=r(447),p=r(484),d=r(696),f=r(935)}},444:function(e){var t=e.exports,r=t.isAbsolute=function(e){return/^(?:\/|\w+:)/.test(e)},n=t.normalize=function(e){var t=(e=e.replace(/\\/g,"/").replace(/\/{2,}/g,"/")).split("/"),n=r(e),o="";n&&(o=t.shift()+"/");for(var i=0;i<t.length;)".."===t[i]?i>0&&".."!==t[i-1]?t.splice(--i,2):n?t.splice(i,1):++i:"."===t[i]?t.splice(i,1):++i;return o+t.join("/")};t.resolve=function(e,t,o){return o||(t=n(t)),r(t)?t:(o||(e=n(e)),(e=e.replace(/(?:\/|^)[^/]+$/,"")).length?n(e+"/"+t):t)}},997:function(e){e.exports=function(e,t,r){var n=r||8192,o=n>>>1,i=null,a=n;return function(r){if(r<1||r>o)return e(r);a+r>n&&(i=e(n),a=0);var s=t.call(i,a,a+=r);return 7&a&&(a=1+(7|a)),s}}},494:function(e,t,r){e.exports=s;var n,o,i=r(935);function a(e,t){return RangeError("index out of range: "+e.pos+" + "+(t||1)+" > "+e.len)}function s(e){this.buf=e,this.pos=0,this.len=e.length}var c,u="undefined"!=typeof Uint8Array?function(e){return e instanceof Uint8Array||Array.isArray(e)?new s(e):("undefined"!=typeof ArrayBuffer&&e instanceof ArrayBuffer&&console.warn(""),new s(new Uint8Array(e)))}:function(e){if(Array.isArray(e))return new s(e)};function l(){var e=new n(0,0),t=0;if(!(this.len-this.pos>4)){for(;t<3;++t){if(this.pos>=this.len)throw a(this);if(e.lo=(e.lo|(127&this.buf[this.pos])<<7*t)>>>0,this.buf[this.pos++]<128)return e}return e.lo=(e.lo|(127&this.buf[this.pos++])<<7*t)>>>0,e}for(;t<4;++t)if(e.lo=(e.lo|(127&this.buf[this.pos])<<7*t)>>>0,this.buf[this.pos++]<128)return e;if(e.lo=(e.lo|(127&this.buf[this.pos])<<28)>>>0,e.hi=(e.hi|(127&this.buf[this.pos])>>4)>>>0,this.buf[this.pos++]<128)return e;if(t=0,this.len-this.pos>4){for(;t<5;++t)if(e.hi=(e.hi|(127&this.buf[this.pos])<<7*t+3)>>>0,this.buf[this.pos++]<128)return e}else for(;t<5;++t){if(this.pos>=this.len)throw a(this);if(e.hi=(e.hi|(127&this.buf[this.pos])<<7*t+3)>>>0,this.buf[this.pos++]<128)return e}throw Error("invalid varint encoding")}function p(e,t){return(e[t-4]|e[t-3]<<8|e[t-2]<<16|e[t-1]<<24)>>>0}function d(){if(this.pos+8>this.len)throw a(this,8);return new n(p(this.buf,this.pos+=4),p(this.buf,this.pos+=4))}s.create=i.Buffer?function(e){return(s.create=function(e){return i.Buffer.isBuffer(e)?new(void 0)(e):u(e)})(e)}:u,s.prototype._slice=i.Array.prototype.subarray||i.Array.prototype.slice,s.prototype.uint32=(c=4294967295,function(){if(c=(127&this.buf[this.pos])>>>0,this.buf[this.pos++]<128)return c;if(c=(c|(127&this.buf[this.pos])<<7)>>>0,this.buf[this.pos++]<128)return c;if(c=(c|(127&this.buf[this.pos])<<14)>>>0,this.buf[this.pos++]<128)return c;if(c=(c|(127&this.buf[this.pos])<<21)>>>0,this.buf[this.pos++]<128)return c;if(c=(c|(15&this.buf[this.pos])<<28)>>>0,this.buf[this.pos++]<128)return c;if((this.pos+=5)>this.len)throw this.pos=this.len,a(this,10);return c}),s.prototype.int32=function(){return 0|this.uint32()},s.prototype.sint32=function(){var e=this.uint32();return e>>>1^-(1&e)|0},s.prototype.bool=function(){return 0!==this.uint32()},s.prototype.fixed32=function(){if(this.pos+4>this.len)throw a(this,4);return p(this.buf,this.pos+=4)},s.prototype.sfixed32=function(){if(this.pos+4>this.len)throw a(this,4);return 0|p(this.buf,this.pos+=4)},s.prototype.float=function(){if(this.pos+4>this.len)throw a(this,4);var e=i.float.readFloatLE(this.buf,this.pos);return this.pos+=4,e},s.prototype.double=function(){if(this.pos+8>this.len)throw a(this,4);var e=i.float.readDoubleLE(this.buf,this.pos);return this.pos+=8,e},s.prototype.bytes=function(){var e=this.uint32(),t=this.pos,r=this.pos+e;if(r>this.len)throw a(this,e);return this.pos+=e,Array.isArray(this.buf)?this.buf.slice(t,r):t===r?new this.buf.constructor(0):this._slice.call(this.buf,t,r)},s.prototype.string=function(){var e=this.bytes();return o.read(e,0,e.length)},s.prototype.skip=function(e){if("number"==typeof e){if(this.pos+e>this.len)throw a(this,e);this.pos+=e}else do{if(this.pos>=this.len)throw a(this)}while(128&this.buf[this.pos++]);return this},s.prototype.skipType=function(e){switch(e){case 0:this.skip();break;case 1:this.skip(8);break;case 2:this.skip(this.uint32());break;case 3:for(;4!=(e=7&this.uint32());)this.skipType(e);break;case 5:this.skip(4);break;default:throw Error("invalid wire type "+e+" at offset "+this.pos)}return this},s._configure=function(){n=r(365),o=r(498);var e=i.Long?"toLong":"toNumber";i.merge(s.prototype,{int64:function(){return l.call(this)[e](!1)},uint64:function(){return l.call(this)[e](!0)},sint64:function(){return l.call(this).zzDecode()[e](!1)},fixed64:function(){return d.call(this)[e](!0)},sfixed64:function(){return d.call(this)[e](!1)}})}},685:function(e,t,r){e.exports=d;var n=r(476);((d.prototype=Object.create(n.prototype)).constructor=d).className="Root";var o,i,a,s=r(286),u=r(582),l=r(735),p=r(935);function d(e){n.call(this,"",e),this.deferred=[],this.files=[],this.names=[]}function f(){}d.fromJSON=function(e,t){return e="string"==typeof e?JSON.parse(e):e,t||(t=new d),e.options&&t.setOptions(e.options),t.addJSON(e.nested)},d.prototype.resolvePath=p.path.resolve,d.prototype.parseFromPbString=function e(t,r,n){"function"==typeof r&&(n=r,r=void 0);var o=this;if(!n)return p.asPromise(e,o,t,r);var s=null;if("string"==typeof t)s=JSON.parse(t);else{if("object"!=c(t))return void console.log("pb格式转化失败");s=t}function u(e,t){if(n){var r=n;n=null,r(e,t)}}function l(e,t){try{if(p.isString(t)&&"{"===t.charAt(0)&&(t=JSON.parse(t)),p.isString(t)){i.filename=e;var n,a=i(t,o,r),s=0;if(a.imports)for(;s<a.imports.length;++s)d(n=a.imports[s]);if(a.weakImports){for(s=0;s<a.weakImports.length;++s)n=a.weakImports[s];d(n)}}else o.setOptions(t.options).addJSON(t.nested)}catch(e){u(e)}u(null,o)}function d(e){o.names.indexOf(e)>-1||(o.names.push(e),e in a&&l(e,a[e]))}l(s.name,s.pbJsonStr)},d.prototype.load=function e(t,r,n){"function"==typeof r&&(n=r,r=void 0);var o=this;if(!n)return p.asPromise(e,o,t,r);var s=n===f;function c(e,t){if(n){var r=n;if(n=null,s)throw e;r(e,t)}}function u(e,t){try{if(p.isString(t)&&"{"===t.charAt(0)&&(t=JSON.parse(t)),p.isString(t)){i.filename=e;var n,a=i(t,o,r),u=0;if(a.imports)for(;u<a.imports.length;++u)(n=o.resolvePath(e,a.imports[u]))&&l(n);if(a.weakImports)for(u=0;u<a.weakImports.length;++u)(n=o.resolvePath(e,a.weakImports[u]))&&l(n,!0)}else o.setOptions(t.options).addJSON(t.nested)}catch(e){c(e)}s||d||c(null,o)}function l(e,t){var r=e.lastIndexOf("google/protobuf/");if(r>-1){var i=e.substring(r);i in a&&(e=i)}if(!(o.files.indexOf(e)>-1))if(o.files.push(e),e in a)s?u(e,a[e]):(++d,setTimeout((function(){--d,u(e,a[e])})));else if(s){var l;try{l=p.fs.readFileSync(e).toString("utf8")}catch(e){return void(t||c(e))}u(e,l)}else++d,p.fetch(e,(function(r,i){--d,n&&(r?t?d||c(null,o):c(r):u(e,i))}))}var d=0;p.isString(t)&&(t=[t]);for(var h,m=0;m<t.length;++m)(h=o.resolvePath("",t[m]))&&l(h);if(s)return o;d||c(null,o)},d.prototype.loadSync=function(e,t){if(!p.isNode)throw Error("not supported");return this.load(e,t,f)},d.prototype.resolveAll=function(){if(this.deferred.length)throw Error("unresolvable extensions: "+this.deferred.map((function(e){return"'extend "+e.extend+"' in "+e.parent.fullName})).join(", "));return n.prototype.resolveAll.call(this)};var h=/^[A-Z]/;function m(e,t){var r=t.parent.lookup(t.extend);if(r){var n=new s(t.fullName,t.id,t.type,t.rule,void 0,t.options);return n.declaringField=t,t.extensionField=n,r.add(n),!0}return!1}d.prototype._handleAdd=function(e){if(e instanceof s)void 0===e.extend||e.extensionField||m(0,e)||this.deferred.push(e);else if(e instanceof u)h.test(e.name)&&(e.parent[e.name]=e.values);else if(!(e instanceof l)){if(e instanceof o)for(var t=0;t<this.deferred.length;)m(0,this.deferred[t])?this.deferred.splice(t,1):++t;for(var r=0;r<e.nestedArray.length;++r)this._handleAdd(e._nestedArray[r]);h.test(e.name)&&(e.parent[e.name]=e)}},d.prototype._handleRemove=function(e){if(e instanceof s){if(void 0!==e.extend)if(e.extensionField)e.extensionField.parent.remove(e.extensionField),e.extensionField=null;else{var t=this.deferred.indexOf(e);t>-1&&this.deferred.splice(t,1)}}else if(e instanceof u)h.test(e.name)&&delete e.parent[e.name];else if(e instanceof n){for(var r=0;r<e.nestedArray.length;++r)this._handleRemove(e._nestedArray[r]);h.test(e.name)&&delete e.parent[e.name]}},d._configure=function(){o=r(192),i=r(845),a=r(72),s=r(286),u=r(582),l=r(735),p=r(935)}},889:function(e){e.exports={}},325:function(e,t,r){"use strict";e.exports=o;var n=r(935);function o(e,t,r){if("function"!=typeof e)throw TypeError("rpcImpl must be a function");n.EventEmitter.call(this),this.rpcImpl=e,this.requestDelimited=Boolean(t),this.responseDelimited=Boolean(r)}(o.prototype=Object.create(n.EventEmitter.prototype)).constructor=o,o.prototype.rpcCall=function e(t,r,o,i,a){if(!i)throw TypeError("request must be specified");var s=this;if(!a)return n.asPromise(e,s,t,r,o,i);if(s.rpcImpl)try{return s.rpcImpl(t,r[s.requestDelimited?"encodeDelimited":"encode"](i).finish(),(function(e,r){if(e)return s.emit("error",e,t),a(e);if(null!==r){if(!(r instanceof o))try{r=o[s.responseDelimited?"decodeDelimited":"decode"](r)}catch(e){return s.emit("error",e,t),a(e)}return s.emit("data",r,t),a(null,r)}s.end(!0)}))}catch(e){return s.emit("error",e,t),void setTimeout((function(){a(e)}),0)}else setTimeout((function(){a(Error("already ended"))}),0)},o.prototype.end=function(e){return this.rpcImpl&&(e||this.rpcImpl(null,null,null),this.rpcImpl=null,this.emit("end").off()),this}},447:function(e,t,r){"use strict";e.exports=s;var n,o,i,a=r(476);function s(e,t){a.call(this,e,t),this.methods={},this._methodsArray=null}function c(e){return e._methodsArray=null,e}((s.prototype=Object.create(a.prototype)).constructor=s).className="Service",s.fromJSON=function(e,t){var r=new s(e,t.options);if(t.methods)for(var o=Object.keys(t.methods),i=0;i<o.length;++i)r.add(n.fromJSON(o[i],t.methods[o[i]]));return t.nested&&r.addJSON(t.nested),r.comment=t.comment,r},s.prototype.toJSON=function(e){var t=a.prototype.toJSON.call(this,e),r=!!e&&Boolean(e.keepComments);return o.toObject(["options",t&&t.options||void 0,"methods",a.arrayToJSON(this.methodsArray,e)||{},"nested",t&&t.nested||void 0,"comment",r?this.comment:void 0])},Object.defineProperty(s.prototype,"methodsArray",{get:function(){return this._methodsArray||(this._methodsArray=o.toArray(this.methods))}}),s.prototype.get=function(e){return this.methods[e]||a.prototype.get.call(this,e)},s.prototype.resolveAll=function(){for(var e=this.methodsArray,t=0;t<e.length;++t)e[t].resolve();return a.prototype.resolve.call(this)},s.prototype.add=function(e){if(this.get(e.name))throw Error("duplicate name '"+e.name+"' in "+this);return e instanceof n?(this.methods[e.name]=e,e.parent=this,c(this)):a.prototype.add.call(this,e)},s.prototype.remove=function(e){if(e instanceof n){if(this.methods[e.name]!==e)throw Error(e+" is not a member of "+this);return delete this.methods[e.name],e.parent=null,c(this)}return a.prototype.remove.call(this,e)},s.prototype.create=function(e,t,r){for(var n,a=new i.Service(e,t,r),s=0;s<this.methodsArray.length;++s){var c=o.lcFirst((n=this._methodsArray[s]).resolve().name).replace(/[^$\w_]/g,"");a[c]=o.codegen(["r","c"],o.isReserved(c)?c+"_":c)("return this.rpcCall(m,q,s,r,c)")({m:n,q:n.resolvedRequestType.ctor,s:n.resolvedResponseType.ctor})}return a},s._configure=function(){n=r(484),o=r(935),i=r(325)}},869:function(e){e.exports=p;var t=/[\s{}=;:[\],'"()<>]/g,r=/(?:"([^"\\]*(?:\\.[^"\\]*)*)")/g,n=/(?:'([^'\\]*(?:\\.[^'\\]*)*)')/g,o=/^ *[*/]+ */,i=/^\s*\*?\/*/,a=/\n/g,s=/\s/,c=/\\(.?)/g,u={0:"\0",r:"\r",n:"\n",t:"\t"};function l(e){return e.replace(c,(function(e,t){switch(t){case"\\":case"":return t;default:return u[t]||""}}))}function p(e,c){e=e.toString();var u=0,p=e.length,d=1,f=null,h=null,m=0,g=!1,y=[],v=null;function E(e){return Error("illegal "+e+" (line "+d+")")}function _(t){return e.charAt(t)}function T(t,r){f=e.charAt(t++),m=d,g=!1;var n,s=t-(c?2:3);do{if(--s<0||"\n"===(n=e.charAt(s))){g=!0;break}}while(" "===n||"\t"===n);for(var u=e.substring(t,r).split(a),l=0;l<u.length;++l)u[l]=u[l].replace(c?i:o,"").trim();h=u.join("\n").trim()}function O(t){var r=b(t),n=e.substring(t,r);return/^\s*\/{1,2}/.test(n)}function b(e){for(var t=e;t<p&&"\n"!==_(t);)t++;return t}function S(){if(y.length>0)return y.shift();if(v)return function(){var t="'"===v?n:r;t.lastIndex=u-1;var o=t.exec(e);if(!o)throw E("string");return u=t.lastIndex,A(v),v=null,l(o[1])}();var o,i,a,f,h;do{if(u===p)return null;for(o=!1;s.test(a=_(u));)if("\n"===a&&++d,++u===p)return null;if("/"===_(u)){if(++u===p)throw E("comment");if("/"===_(u))if(c){if(f=u,h=!1,O(u)){h=!0;do{if((u=b(u))===p)break;u++}while(O(u))}else u=Math.min(p,b(u)+1);h&&T(f,u),d++,o=!0}else{for(h="/"===_(f=u+1);"\n"!==_(++u);)if(u===p)return null;++u,h&&T(f,u-1),++d,o=!0}else{if("*"!==(a=_(u)))return"/";f=u+1,h=c||"*"===_(f);do{if("\n"===a&&++d,++u===p)throw E("comment");i=a,a=_(u)}while("*"!==i||"/"!==a);++u,h&&T(f,u-2),o=!0}}}while(o);var m=u;if(t.lastIndex=0,!t.test(_(m++)))for(;m<p&&!t.test(_(m));)++m;var g=e.substring(u,u=m);return'"'!==g&&"'"!==g||(v=g),g}function A(e){y.push(e)}function I(){if(!y.length){var e=S();if(null===e)return null;A(e)}return y[0]}return Object.defineProperty({next:S,peek:I,push:A,skip:function(e,t){var r=I();if(r===e)return S(),!0;if(!t)throw E("token '"+r+"', '"+e+"' expected");return!1},cmnt:function(e){var t=null;return void 0===e?m===d-1&&(c||"*"===f||g)&&(t=h):(m<e&&I(),m!==e||g||!c&&"/"!==f||(t=h)),t}},"line",{get:function(){return d}})}p.unescape=l},192:function(e,t,r){e.exports=v;var n,o,i,a,s,c,u,l,p,d,f,h,m,g,y=r(476);function v(e,t){y.call(this,e,t),this.fields={},this.oneofs=void 0,this.extensions=void 0,this.reserved=void 0,this.group=void 0,this._fieldsById=null,this._fieldsArray=null,this._oneofsArray=null,this._ctor=null}function E(e){return e._fieldsById=e._fieldsArray=e._oneofsArray=null,delete e.encode,delete e.decode,delete e.verify,e}((v.prototype=Object.create(y.prototype)).constructor=v).className="Type",Object.defineProperties(v.prototype,{fieldsById:{get:function(){if(this._fieldsById)return this._fieldsById;this._fieldsById={};for(var e=Object.keys(this.fields),t=0;t<e.length;++t){var r=this.fields[e[t]],n=r.id;if(this._fieldsById[n])throw Error("duplicate id "+n+" in "+this);this._fieldsById[n]=r}return this._fieldsById}},fieldsArray:{get:function(){return this._fieldsArray||(this._fieldsArray=u.toArray(this.fields))}},oneofsArray:{get:function(){return this._oneofsArray||(this._oneofsArray=u.toArray(this.oneofs))}},ctor:{get:function(){return this._ctor||(this.ctor=v.generateConstructor(this))},set:function(e){var t=e.prototype;t instanceof i||((e.prototype=new i).constructor=e,u.merge(e.prototype,t)),e.$type=e.prototype.$type=this,u.merge(e,i,!0),u.merge(e.prototype,i,!0),this._ctor=e;for(var r=0;r<this.fieldsArray.length;++r)this._fieldsArray[r].resolve();var n={};for(r=0;r<this.oneofsArray.length;++r){var o=this._oneofsArray[r].resolve().name,a=function(e){for(var t={},r=0;r<e.length;++r)t[e[r]]=0;return{setter:function(r){if(!(e.indexOf(r)<0)){t[r]=1;for(var n=0;n<e.length;++n)e[n]!==r&&delete this[e[n]]}},getter:function(){for(var e=Object.keys(this),r=e.length-1;r>-1;--r)if(1===t[e[r]]&&void 0!==this[e[r]]&&null!==this[e[r]])return e[r]}}}(this._oneofsArray[r].oneof);n[o]={get:a.getter,set:a.setter}}r&&Object.defineProperties(e.prototype,n)}}}),v.generateConstructor=function(e){return function(t){for(var r,n=0;n<e.fieldsArray.length;n++)(r=e._fieldsArray[n]).map?this[r.name]={}:r.repeated&&(this[r.name]=[]);if(t)for(var o=Object.keys(t),i=0;i<o.length;++i)null!=t[o[i]]&&(this[o[i]]=t[o[i]])}},v.fromJSON=function(e,t){var r=new v(e,t.options);r.extensions=t.extensions,r.reserved=t.reserved;for(var i=Object.keys(t.fields),s=0;s<i.length;++s)r.add((void 0!==t.fields[i[s]].keyType?g.fromJSON:o.fromJSON)(i[s],t.fields[i[s]]));if(t.oneofs)for(i=Object.keys(t.oneofs),s=0;s<i.length;++s)r.add(a.fromJSON(i[s],t.oneofs[i[s]]));if(t.nested)for(i=Object.keys(t.nested),s=0;s<i.length;++s){var c=t.nested[i[s]];r.add((void 0!==c.id?o.fromJSON:void 0!==c.fields?v.fromJSON:void 0!==c.values?n.fromJSON:void 0!==c.methods?f.fromJSON:y.fromJSON)(i[s],c))}return t.extensions&&t.extensions.length&&(r.extensions=t.extensions),t.reserved&&t.reserved.length&&(r.reserved=t.reserved),t.group&&(r.group=!0),t.comment&&(r.comment=t.comment),r},v.prototype.toJSON=function(e){var t=y.prototype.toJSON.call(this,e),r=!!e&&Boolean(e.keepComments);return{options:t&&t.options||void 0,oneofs:y.arrayToJSON(this.oneofsArray,e),fields:y.arrayToJSON(this.fieldsArray.filter((function(e){return!e.declaringField})),e)||{},extensions:this.extensions&&this.extensions.length?this.extensions:void 0,reserved:this.reserved&&this.reserved.length?this.reserved:void 0,group:this.group||void 0,nested:t&&t.nested||void 0,comment:r?this.comment:void 0}},v.prototype.resolveAll=function(){for(var e=this.fieldsArray,t=0;t<e.length;)e[t++].resolve();var r=this.oneofsArray;for(t=0;t<r.length;)r[t++].resolve();return y.prototype.resolveAll.call(this)},v.prototype.get=function(e){return this.fields[e]||this.oneofs&&this.oneofs[e]||this.nested&&this.nested[e]||null},v.prototype.add=function(e){if(this.get(e.name))throw Error("duplicate name '"+e.name+"' in "+this);if(e instanceof o&&void 0===e.extend){if(this._fieldsById&&this._fieldsById[e.id])throw Error("duplicate id "+e.id+" in "+this);if(this.isReservedId(e.id))throw Error("id "+e.id+" is reserved in "+this);if(this.isReservedName(e.name))throw Error("name '"+e.name+"' is reserved in "+this);return e.parent&&e.parent.remove(e),this.fields[e.name]=e,e.message=this,e.onAdd(this),E(this)}return e instanceof a?(this.oneofs||(this.oneofs={}),this.oneofs[e.name]=e,e.onAdd(this),E(this)):y.prototype.add.call(this,e)},v.prototype.remove=function(e){if(e instanceof o&&void 0===e.extend){if(!this.fields||this.fields[e.name]!==e)throw Error(e+" is not a member of "+this);return delete this.fields[e.name],e.parent=null,e.onRemove(this),E(this)}if(e instanceof a){if(!this.oneofs||this.oneofs[e.name]!==e)throw Error(e+" is not a member of "+this);return delete this.oneofs[e.name],e.parent=null,e.onRemove(this),E(this)}return y.prototype.remove.call(this,e)},v.prototype.isReservedId=function(e){return y.isReservedId(this.reserved,e)},v.prototype.isReservedName=function(e){return y.isReservedName(this.reserved,e)},v.prototype.create=function(e){return new this.ctor(e)},v.prototype.setup=function(){for(var e=this.fullName,t=[],r=0;r<this.fieldsArray.length;++r)t.push(this._fieldsArray[r].resolve().resolvedType);this.encode=p(this)({Writer:s,types:t,util:u}),this.decode=d(this)({Reader:c,types:t,util:u}),this.verify=l(this)({types:t,util:u}),this.fromObject=m.fromObject(this)({types:t,util:u}),this.toObject=m.toObject(this)({types:t,util:u});var n=h[e];if(n){var o=Object.create(this);o.fromObject=this.fromObject,this.fromObject=n.fromObject.bind(o),o.toObject=this.toObject,this.toObject=n.toObject.bind(o)}return this},v.prototype.encode=function(e,t){return this.setup().encode(e,t)},v.prototype.encodeDelimited=function(e,t){return this.encode(e,t&&t.len?t.fork():t).ldelim()},v.prototype.decode=function(e,t){return this.setup().decode(e,t)},v.prototype.decodeDelimited=function(e){return e instanceof c||(e=c.create(e)),this.decode(e,e.uint32())},v.prototype.verify=function(e){return this.setup().verify(e)},v.prototype.fromObject=function(e){return this.setup().fromObject(e)},v.prototype.toObject=function(e,t){return this.setup().toObject(e,t)},v.d=function(e){return function(t){u.decorateType(t,e)}},v._configure=function(){n=r(582),o=r(286),i=r(339),a=r(735),s=r(244),c=r(494),u=r(935),l=r(216),p=r(929),d=r(888),f=r(447),h=r(834),m=r(525),g=r(435)}},696:function(e,t,r){"use strict";var n=e.exports,o=r(935),i=["double","float","int32","uint32","sint32","fixed32","sfixed32","int64","uint64","sint64","fixed64","sfixed64","bool","string","bytes"];function a(e,t){var r=0,n={};for(t|=0;r<e.length;)n[i[r+t]]=e[r++];return n}n.basic=a([1,5,0,0,0,5,5,0,0,0,1,1,0,2,2]),n.defaults=a([0,0,0,0,0,0,0,0,0,0,0,0,!1,"",o.emptyArray,null]),n.long=a([0,0,0,1,1],7),n.mapKey=a([0,0,0,5,5,0,0,0,1,1,0,2],2),n.packed=a([1,5,0,0,0,5,5,0,0,0,1,1,0]),n._configure=function(){o=r(935)}},498:function(e){"use strict";var t=e.exports;t.length=function(e){for(var t=0,r=0,n=0;n<e.length;++n)(r=e.charCodeAt(n))<128?t+=1:r<2048?t+=2:55296==(64512&r)&&56320==(64512&e.charCodeAt(n+1))?(++n,t+=4):t+=3;return t},t.read=function(e,t,r){if(r-t<1)return"";for(var n,o=null,i=[],a=0;t<r;)(n=e[t++])<128?i[a++]=n:n>191&&n<224?i[a++]=(31&n)<<6|63&e[t++]:n>239&&n<365?(n=((7&n)<<18|(63&e[t++])<<12|(63&e[t++])<<6|63&e[t++])-65536,i[a++]=55296+(n>>10),i[a++]=56320+(1023&n)):i[a++]=(15&n)<<12|(63&e[t++])<<6|63&e[t++],a>8191&&((o||(o=[])).push(String.fromCharCode.apply(String,i)),a=0);return o?(a&&o.push(String.fromCharCode.apply(String,i.slice(0,a))),o.join("")):String.fromCharCode.apply(String,i.slice(0,a))},t.write=function(e,t,r){for(var n,o,i=r,a=0;a<e.length;++a)(n=e.charCodeAt(a))<128?t[r++]=n:n<2048?(t[r++]=n>>6|192,t[r++]=63&n|128):55296==(64512&n)&&56320==(64512&(o=e.charCodeAt(a+1)))?(n=65536+((1023&n)<<10)+(1023&o),++a,t[r++]=n>>18|240,t[r++]=n>>12&63|128,t[r++]=n>>6&63|128,t[r++]=63&n|128):(t[r++]=n>>12|224,t[r++]=n>>6&63|128,t[r++]=63&n|128);return r-i}},935:function(e,t,r){var n=e.exports,o=r(889);n.LongBits=r(365),n.Long=r(939),n.pool=r(997),n.float=r(283),n.asPromise=r(728),n.EventEmitter=r(969),n.path=r(444),n.base64=r(440),n.utf8=r(498),n.compareFieldsById=function(e,t){return e.id-t.id},n.toArray=function(e){if(e){for(var t=Object.keys(e),r=new Array(t.length),n=0;n<t.length;)r[n]=e[t[n++]];return r}return[]},n.toObject=function(e){for(var t={},r=0;r<e.length;){var n=e[r++],o=e[r++];void 0!==o&&(t[n]=o)}return t},n.isString=function(e){return"string"==typeof e||e instanceof String},n.isReserved=function(e){return/^(?:do|if|in|for|let|new|try|var|case|else|enum|eval|false|null|this|true|void|with|break|catch|class|const|super|throw|while|yield|delete|export|import|public|return|static|switch|typeof|default|extends|finally|package|private|continue|debugger|function|arguments|interface|protected|implements|instanceof)$/.test(e)},n.isObject=function(e){return e&&"object"==c(e)},n.Array="undefined"!=typeof Uint8Array?Uint8Array:Array,n.oneOfGetter=function(e){for(var t={},r=0;r<e.length;++r)t[e[r]]=1;return function(){for(var e=Object.keys(this),r=e.length-1;r>-1;--r)if(1===t[e[r]]&&void 0!==this[e[r]]&&null!==this[e[r]])return e[r]}},n.oneOfSetter=function(e){return function(t){for(var r=0;r<e.length;++r)e[r]!==t&&delete this[e[r]]}},n.merge=function(e,t,r){for(var n=Object.keys(t),o=0;o<n.length;++o)void 0!==e[n[o]]&&r||(e[n[o]]=t[n[o]]);return e},n.decorateType=function(e,t){if(e.$type)return t&&e.$type.name!==t&&(n.decorateRoot.remove(e.$type),e.$type.name=t,n.decorateRoot.add(e.$type)),e.$type;Type||(Type=r(192));var o=new Type(t||e.name);return n.decorateRoot.add(o),o.ctor=e,Object.defineProperty(e,"$type",{value:o,enumerable:!1}),Object.defineProperty(e.prototype,"$type",{value:o,enumerable:!1}),o},n.emptyArray=Object.freeze?Object.freeze([]):[],n.emptyObject=Object.freeze?Object.freeze({}):{},n.longToHash=function(e){return e?n.LongBits.from(e).toHash():n.LongBits.zeroHash},n.copy=function(e){if("object"!=c(e))return e;var t={};for(var r in e)t[r]=e[r];return t},n.deepCopy=function e(t){if("object"!=c(t))return t;var r={};for(var n in t)r[n]=e(t[n]);return r},n.ProtocolError=function(e){function t(e,r){if(!(this instanceof t))return new t(e,r);Object.defineProperty(this,"message",{get:function(){return e}}),Error.captureStackTrace?Error.captureStackTrace(this,t):Object.defineProperty(this,"stack",{value:(new Error).stack||""}),r&&merge(this,r)}return(t.prototype=Object.create(Error.prototype)).constructor=t,Object.defineProperty(t.prototype,"name",{get:function(){return e}}),t.prototype.toString=function(){return this.name+": "+this.message},t},n.toJSONOptions={longs:String,enums:String,bytes:String,json:!0},n.Buffer=null,n.newBuffer=function(e){return"number"==typeof e?new n.Array(e):"undefined"==typeof Uint8Array?e:new Uint8Array(e)},n.stringToBytes=function(e){var t,r,n=[];t=e.length;for(var o=0;o<t;o++)(r=e.charCodeAt(o))>=65536&&r<=1114111?(n.push(r>>18&7|240),n.push(r>>12&63|128),n.push(r>>6&63|128),n.push(63&r|128)):r>=2048&&r<=65535?(n.push(r>>12&15|224),n.push(r>>6&63|128),n.push(63&r|128)):r>=128&&r<=2047?(n.push(r>>6&31|192),n.push(63&r|128)):n.push(255&r);return n},n.byteToString=function(e){if("string"==typeof e)return e;for(var t="",r=e,n=0;n<r.length;n++){var o=r[n].toString(2),i=o.match(/^1+?(?=0)/);if(i&&8==o.length){for(var a=i[0].length,s=r[n].toString(2).slice(7-a),c=1;c<a;c++)s+=r[c+n].toString(2).slice(2);t+=String.fromCharCode(parseInt(s,2)),n+=a-1}else t+=String.fromCharCode(r[n])}return t},n.isInteger=Number.isInteger||function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e},Object.defineProperty(n,"decorateRoot",{get:function(){return o.decorated||(o.decorated=new(r(685)))}})},216:function(e,t,r){var n,o;function i(e,t){return e.name+": "+t+(e.repeated&&"array"!==t?"[]":e.map&&"object"!==t?"{k:"+e.keyType+"}":"")+" expected"}function a(e,t,r,a){var s=a.types;if(e.resolvedType)if(e.resolvedType instanceof n){if(Object.keys(e.resolvedType.values).indexOf(r)<0)return i(e,"enum value")}else{var c=s[t].verify(r);if(c)return e.name+"."+c}else switch(e.type){case"int32":case"uint32":case"sint32":case"fixed32":case"sfixed32":if(!o.isInteger(r))return i(e,"integer");break;case"int64":case"uint64":case"sint64":case"fixed64":case"sfixed64":if(!(o.isInteger(r)||r&&o.isInteger(r.low)&&o.isInteger(r.high)))return i(e,"integer|Long");break;case"float":case"double":if("number"!=typeof r)return i(e,"number");break;case"bool":if("boolean"!=typeof r)return i(e,"boolean");break;case"string":if(!o.isString(r))return i(e,"string");break;case"bytes":if(!(r&&"number"==typeof r.length||o.isString(r)))return i(e,"buffer")}}function s(e,t){switch(e.keyType){case"int32":case"uint32":case"sint32":case"fixed32":case"sfixed32":if(!o.key32Re.test(t))return i(e,"integer key");break;case"int64":case"uint64":case"sint64":case"fixed64":case"sfixed64":if(!o.key64Re.test(t))return i(e,"integer|Long key");break;case"bool":if(!o.key2Re.test(t))return i(e,"boolean key")}}function u(e){return function(t){return function(r){var n;if("object"!=c(r)||null===r)return"object expected";var u,l={};e.oneofsArray.length&&(u={});for(var p=0;p<e.fieldsArray.length;++p){var d,f=e._fieldsArray[p].resolve(),h=r[f.name];if(!f.optional||null!=h&&r.hasOwnProperty(f.name))if(f.map){if(!o.isObject(h))return i(f,"object");var m=Object.keys(h);for(d=0;d<m.length;++d){if(n=s(f,m[d]))return n;if(n=a(f,p,h[m[d]],t))return n}}else if(f.repeated){if(!Array.isArray(h))return i(f,"array");for(d=0;d<h.length;++d)if(n=a(f,p,h[d],t))return n}else{if(f.partOf){var g=f.partOf.name;if(1===l[f.partOf.name]&&1===u[g])return f.partOf.name+": multiple values";u[g]=1}if(n=a(f,p,h,t))return n}}}}}e.exports=u,u._configure=function(){n=r(582),o=r(935)}},834:function(e,t,r){var n,o=t;o[".google.protobuf.Any"]={fromObject:function(e){if(e&&e["@type"]){var t=this.lookup(e["@type"]);if(t){var r="."===e["@type"].charAt(0)?e["@type"].substr(1):e["@type"];return this.create({type_url:"/"+r,value:t.encode(t.fromObject(e)).finish()})}}return this.fromObject(e)},toObject:function(e,t){if(t&&t.json&&e.type_url&&e.value){var r=e.type_url.substring(e.type_url.lastIndexOf("/")+1),o=this.lookup(r);o&&(e=o.decode(e.value))}if(!(e instanceof this.ctor)&&e instanceof n){var i=e.$type.toObject(e,t);return i["@type"]=e.$type.fullName,i}return this.toObject(e,t)}},o._configure=function(){n=r(339)}},244:function(e,t,r){e.exports=u;var n,o=r(935),i=r(498);function a(e,t,r){this.fn=e,this.len=t,this.next=void 0,this.val=r}function s(){}function c(e){this.head=e.head,this.tail=e.tail,this.len=e.len,this.next=e.states}function u(){this.len=0,this.head=new a(s,0,0),this.tail=this.head,this.states=null}function l(e,t,r){t[r]=255&e}function p(e,t){this.len=e,this.next=void 0,this.val=t}function d(e,t,r){for(;e.hi;)t[r++]=127&e.lo|128,e.lo=(e.lo>>>7|e.hi<<25)>>>0,e.hi>>>=7;for(;e.lo>127;)t[r++]=127&e.lo|128,e.lo=e.lo>>>7;t[r++]=e.lo}function f(e,t,r){t[r]=255&e,t[r+1]=e>>>8&255,t[r+2]=e>>>16&255,t[r+3]=e>>>24}u.create=o.Buffer?function(){return(u.create=function(){return new(void 0)})()}:function(){return new u},u.alloc=function(e){return new o.Array(e)},o.Array!==Array&&(u.alloc=o.pool(u.alloc,o.Array.prototype.subarray)),u.prototype._push=function(e,t,r){return this.tail=this.tail.next=new a(e,t,r),this.len+=t,this},p.prototype=Object.create(a.prototype),p.prototype.fn=function(e,t,r){for(;e>127;)t[r++]=127&e|128,e>>>=7;t[r]=e},u.prototype.uint32=function(e){return this.len+=(this.tail=this.tail.next=new p((e>>>=0)<128?1:e<16384?2:e<2097152?3:e<268435456?4:5,e)).len,this},u.prototype.int32=function(e){return e<0?this._push(d,10,n.fromNumber(e)):this.uint32(e)},u.prototype.sint32=function(e){return this.uint32((e<<1^e>>31)>>>0)},u.prototype.uint64=function(e){var t=n.from(e);return this._push(d,t.length(),t)},u.prototype.int64=u.prototype.uint64,u.prototype.sint64=function(e){var t=n.from(e).zzEncode();return this._push(d,t.length(),t)},u.prototype.bool=function(e){return this._push(l,1,e?1:0)},u.prototype.fixed32=function(e){return this._push(f,4,e>>>0)},u.prototype.sfixed32=u.prototype.fixed32,u.prototype.fixed64=function(e){var t=n.from(e);return this._push(f,4,t.lo)._push(f,4,t.hi)},u.prototype.sfixed64=u.prototype.fixed64,u.prototype.float=function(e){return this._push(o.float.writeFloatLE,4,e)},u.prototype.double=function(e){return this._push(o.float.writeDoubleLE,8,e)};var h=o.Array.prototype.set?function(e,t,r){t.set(e,r)}:function(e,t,r){for(var n=0;n<e.length;++n)t[r+n]=e[n]};u.prototype.bytes=function(e){var t=e.length>>>0;if(!t)return this._push(l,1,0);if(o.isString(e)){var r=u.alloc(t=i.length(e));i.write(e,r,0),e=r}return this.uint32(t)._push(h,t,e)},u.prototype.string=function(e){var t=i.length(e);return t?this.uint32(t)._push(i.write,t,e):this._push(l,1,0)},u.prototype.fork=function(){return this.states=new c(this),this.head=this.tail=new a(s,0,0),this.len=0,this},u.prototype.reset=function(){return this.states?(this.head=this.states.head,this.tail=this.states.tail,this.len=this.states.len,this.states=this.states.next):(this.head=this.tail=new a(s,0,0),this.len=0),this},u.prototype.ldelim=function(){var e=this.head,t=this.tail,r=this.len;return this.reset().uint32(r),r&&(this.tail.next=e.next,this.tail=t,this.len+=r),this},u.prototype.finish=function(){for(var e=this.head.next,t=this.constructor.alloc(this.len),r=0;e;)e.fn(e.val,t,r),r+=e.len,e=e.next;return t},u._configure=function(){n=r(365),r(440),i=r(498)}}},r={};function o(e){var n=r[e];if(void 0!==n)return n.exports;var i=r[e]={exports:{}};return t[e](i,i.exports,o),i.exports}o.amdO={},o.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(t,{a:t}),t},o.d=function(e,t){for(var r in t)o.o(t,r)&&!o.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},o.g=function(){if("object"==("undefined"===typeof globalThis?"undefined":c(globalThis)))return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==("undefined"===typeof window?"undefined":c(window)))return window}}(),o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};return function(){"use strict";o.r(i),o.d(i,{default:function(){return Ta}});var t={};o.r(t),o.d(t,{acceptContactInvite:function(){return _r},acceptInvitation:function(){return Er},addContact:function(){return gr},addReaction:function(){return wr},addToBlackList:function(){return br},addUsersToBlacklist:function(){return Sr},addUsersToBlocklist:function(){return Ar},declineContactInvite:function(){return Or},declineInvitation:function(){return Tr},deleteContact:function(){return vr},deleteConversation:function(){return sr},deleteReaction:function(){return Pr},deleteSession:function(){return ar},fetchHistoryMessages:function(){return fr},fetchUserInfoById:function(){return lr},getAllContacts:function(){return $r},getBlacklist:function(){return Xt},getBlocklist:function(){return Zt},getContacts:function(){return tr},getContactsWithCursor:function(){return zr},getConversationlist:function(){return ir},getHistoryMessages:function(){return mr},getReactionDetail:function(){return Ur},getReactionList:function(){return kr},getReactionlist:function(){return xr},getRoster:function(){return er},getServerConversations:function(){return Lr},getServerPinnedConversations:function(){return Gr},getSessionList:function(){return or},getTokenExpireTimestamp:function(){return dr},modifyMessage:function(){return Mr},pinConversation:function(){return Hr},recallMessage:function(){return Nr},removeFromBlackList:function(){return Ir},removeHistoryMessages:function(){return Br},removeRoster:function(){return yr},removeUserFromBlackList:function(){return Rr},removeUserFromBlocklist:function(){return Cr},reportMessage:function(){return jr},setContactRemark:function(){return Fr},updateCurrentUserNick:function(){return pr},updateOwnUserInfo:function(){return cr},updateUserInfo:function(){return ur},uploadPushToken:function(){return nr},uploadToken:function(){return rr}});var r={};o.r(r),o.d(r,{acceptGroupInvite:function(){return bn},acceptGroupJoinRequest:function(){return En},addUsersToGroupAllowlist:function(){return Yn},addUsersToGroupWhitelist:function(){return Jn},agreeInviteIntoGroup:function(){return On},agreeJoinGroup:function(){return vn},blockGroup:function(){return qr},blockGroupMember:function(){return Ln},blockGroupMembers:function(){return Gn},blockGroupMessages:function(){return Kr},changeGroupOwner:function(){return en},changeOwner:function(){return Zr},createGroup:function(){return Vr},createGroupNew:function(){return Wr},deleteGroupSharedFile:function(){return po},destroyGroup:function(){return dn},disableSendGroupMsg:function(){return Kn},dissolveGroup:function(){return pn},downloadGroupSharedFile:function(){return mo},enableSendGroupMsg:function(){return Qn},fetchGroupAnnouncement:function(){return co},fetchGroupSharedFileList:function(){return fo},getGroup:function(){return Yr},getGroupAdmin:function(){return an},getGroupAllowlist:function(){return ro},getGroupBlacklist:function(){return Vn},getGroupBlacklistNew:function(){return Wn},getGroupBlocklist:function(){return qn},getGroupInfo:function(){return tn},getGroupMemberAttributes:function(){return yo},getGroupMembersAttributes:function(){return vo},getGroupMsgReadUser:function(){return so},getGroupMuteList:function(){return Un},getGroupMutelist:function(){return jn},getGroupSharedFilelist:function(){return ho},getGroupWhitelist:function(){return to},getJoinedGroups:function(){return Xr},getMuted:function(){return xn},getPublicGroups:function(){return Jr},groupBlockMulti:function(){return Dn},groupBlockSingle:function(){return Bn},inviteToGroup:function(){return mn},inviteUsersToGroup:function(){return gn},isGroupWhiteUser:function(){return no},isInGroupAllowlist:function(){return io},isInGroupMutelist:function(){return ao},isInGroupWhiteList:function(){return oo},joinGroup:function(){return yn},leaveGroup:function(){return hn},listGroupMember:function(){return nn},listGroupMembers:function(){return on},listGroups:function(){return Qr},modifyGroup:function(){return rn},mute:function(){return Mn},muteGroupMember:function(){return wn},quitGroup:function(){return fn},rejectGroupInvite:function(){return An},rejectGroupJoinRequest:function(){return Tn},rejectInviteIntoGroup:function(){return Sn},rejectJoinGroup:function(){return _n},removeAdmin:function(){return un},removeGroupAdmin:function(){return ln},removeGroupAllowlistMember:function(){return eo},removeGroupBlockMulti:function(){return $n},removeGroupBlockSingle:function(){return Hn},removeGroupMember:function(){return Rn},removeGroupMembers:function(){return Nn},removeGroupWhitelistMember:function(){return Zn},removeMultiGroupMember:function(){return Cn},removeMute:function(){return Pn},removeSingleGroupMember:function(){return In},rmUsersFromGroupWhitelist:function(){return Xn},setAdmin:function(){return sn},setGroupAdmin:function(){return cn},setGroupMemberAttributes:function(){return go},unblockGroupMember:function(){return Fn},unblockGroupMembers:function(){return zn},unmuteGroupMember:function(){return kn},updateGroupAnnouncement:function(){return uo},uploadGroupSharedFile:function(){return lo}});var a={};o.r(a),o.d(a,{addUsersToChatRoom:function(){return Co},addUsersToChatRoomAllowlist:function(){return ni},addUsersToChatRoomWhitelist:function(){return ri},blockChatRoomMember:function(){return zo},blockChatRoomMembers:function(){return Vo},chatRoomBlockMulti:function(){return Wo},chatRoomBlockSingle:function(){return $o},createChatRoom:function(){return _o},deleteChatRoomSharedFile:function(){return mi},destroyChatRoom:function(){return To},disableSendChatRoomMsg:function(){return ei},enableSendChatRoomMsg:function(){return ti},fetchChatRoomAnnouncement:function(){return di},fetchChatRoomSharedFileList:function(){return gi},getChatRoomAdmin:function(){return xo},getChatRoomAllowlist:function(){return ci},getChatRoomAttributes:function(){return vi},getChatRoomBlacklist:function(){return Xo},getChatRoomBlacklistNew:function(){return Yo},getChatRoomBlocklist:function(){return Zo},getChatRoomDetails:function(){return Oo},getChatRoomMuteList:function(){return Ho},getChatRoomMuted:function(){return Go},getChatRoomMutelist:function(){return Fo},getChatRoomSharedFilelist:function(){return yi},getChatRoomWhitelist:function(){return si},getChatRooms:function(){return Eo},isChatRoomWhiteUser:function(){return ui},isInChatRoomAllowlist:function(){return li},isInChatRoomMutelist:function(){return pi},joinChatRoom:function(){return No},leaveChatRoom:function(){return wo},listChatRoomMember:function(){return Po},listChatRoomMembers:function(){return ko},modifyChatRoom:function(){return bo},muteChatRoomMember:function(){return Bo},quitChatRoom:function(){return Mo},removeChatRoomAdmin:function(){return jo},removeChatRoomAllowlistMember:function(){return ai},removeChatRoomAttribute:function(){return Oi},removeChatRoomAttributes:function(){return Ti},removeChatRoomBlockMulti:function(){return Qo},removeChatRoomBlockSingle:function(){return qo},removeChatRoomMember:function(){return Ao},removeChatRoomMembers:function(){return Ro},removeChatRoomWhitelistMember:function(){return ii},removeMultiChatRoomMember:function(){return Io},removeMuteChatRoomMember:function(){return Lo},removeSingleChatRoomMember:function(){return So},rmUsersFromChatRoomWhitelist:function(){return oi},setChatRoomAdmin:function(){return Uo},setChatRoomAttribute:function(){return _i},setChatRoomAttributes:function(){return Ei},unblockChatRoomMember:function(){return Ko},unblockChatRoomMembers:function(){return Jo},unmuteChatRoomMember:function(){return Do},updateChatRoomAnnouncement:function(){return fi},uploadChatRoomSharedFile:function(){return hi}});var s={};o.r(s),o.d(s,{getPresenceStatus:function(){return Mi},getSubscribedPresenceList:function(){return Ci},getSubscribedPresencelist:function(){return Ni},publishPresence:function(){return Ai},subscribePresence:function(){return Ii},unsubscribePresence:function(){return Ri}});var u={};o.r(u),o.d(u,{clearRemindTypeForConversation:function(){return xi},getPushPerformLanguage:function(){return Li},getSilentModeForAll:function(){return Pi},getSilentModeForConversation:function(){return Ui},getSilentModeForConversations:function(){return ji},setPushPerformLanguage:function(){return Bi},setSilentModeForAll:function(){return wi},setSilentModeForConversation:function(){return ki}});var l={};o.r(l),o.d(l,{changeChatThreadName:function(){return Wi},createChatThread:function(){return Hi},destroyChatThread:function(){return zi},getChatThreadDetail:function(){return Yi},getChatThreadLastMessage:function(){return Ji},getChatThreadMembers:function(){return Vi},getChatThreads:function(){return Qi},getJoinedChatThreads:function(){return Ki},joinChatThread:function(){return Fi},leaveChatThread:function(){return $i},removeChatThreadMember:function(){return qi}});var p={};o.r(p),o.d(p,{getSupportedLanguages:function(){return Xi},translateMessage:function(){return Zi}});var d={};function f(){d.converter._configure(),d.decoder._configure(),d.encoder._configure(),d.Field._configure(),d.MapField._configure(),d.Message._configure(),d.Namespace._configure(),d.Method._configure(),d.ReflectionObject._configure(),d.OneOf._configure(),d.parse._configure(),d.Reader._configure(),d.Root._configure(),d.Service._configure(),d.verifier._configure(),d.Type._configure(),d.types._configure(),d.wrappers._configure(),d.Writer._configure()}d.build="minimal",d.Writer=o(244),d.encoder=o(929),d.Reader=o(494),d.util=o(935),d.rpc=o(325),d.roots=o(889),d.verifier=o(216),d.tokenize=o(869),d.parse=o(845),d.common=o(72),d.ReflectionObject=o(998),d.Namespace=o(476),d.Root=o(685),d.Enum=o(582),d.Type=o(192),d.Field=o(286),d.OneOf=o(735),d.MapField=o(435),d.Service=o(447),d.Method=o(484),d.converter=o(525),d.decoder=o(888),d.Message=o(339),d.wrappers=o(834),d.types=o(696),d.util=o(935),d.configure=f,d.load=function(e,t,r){return"function"==typeof t?(r=t,t=new d.Root):t||(t=new d.Root),t.load(e,r)},d.loadSync=function(e,t){return t||(t=new d.Root),t.loadSync(e)},d.parseFromPbString=function(e,t,r){return"function"==typeof t?(r=t,t=new d.Root):t||(t=new d.Root),t.parseFromPbString(e,r)},f();var h,m=d,g=o(720),y=o.n(g),v=function(){function e(e){this.type=e.type,this.message=e.message,this.data=e.data}return e.create=function(t){return new e(t)},e}();!function(e){e[e.REQUEST_SUCCESS=0]="REQUEST_SUCCESS",e[e.REQUEST_TIMEOUT=-1]="REQUEST_TIMEOUT",e[e.REQUEST_UNKNOWN=-2]="REQUEST_UNKNOWN",e[e.REQUEST_PARAMETER_ERROR=-3]="REQUEST_PARAMETER_ERROR",e[e.REQUEST_ABORT=-4]="REQUEST_ABORT",e[e.WEBIM_CONNCTION_USER_NOT_ASSIGN_ERROR=0]="WEBIM_CONNCTION_USER_NOT_ASSIGN_ERROR",e[e.WEBIM_CONNCTION_OPEN_ERROR=1]="WEBIM_CONNCTION_OPEN_ERROR",e[e.WEBIM_CONNCTION_AUTH_ERROR=2]="WEBIM_CONNCTION_AUTH_ERROR",e[e.WEBIM_CONNCTION_OPEN_USERGRID_ERROR=3]="WEBIM_CONNCTION_OPEN_USERGRID_ERROR",e[e.WEBIM_CONNCTION_ATTACH_ERROR=4]="WEBIM_CONNCTION_ATTACH_ERROR",e[e.WEBIM_CONNCTION_ATTACH_USERGRID_ERROR=5]="WEBIM_CONNCTION_ATTACH_USERGRID_ERROR",e[e.WEBIM_CONNCTION_REOPEN_ERROR=6]="WEBIM_CONNCTION_REOPEN_ERROR",e[e.WEBIM_CONNCTION_SERVER_CLOSE_ERROR=7]="WEBIM_CONNCTION_SERVER_CLOSE_ERROR",e[e.WEBIM_CONNCTION_SERVER_ERROR=8]="WEBIM_CONNCTION_SERVER_ERROR",e[e.WEBIM_CONNCTION_IQ_ERROR=9]="WEBIM_CONNCTION_IQ_ERROR",e[e.WEBIM_CONNCTION_PING_ERROR=10]="WEBIM_CONNCTION_PING_ERROR",e[e.WEBIM_CONNCTION_NOTIFYVERSION_ERROR=11]="WEBIM_CONNCTION_NOTIFYVERSION_ERROR",e[e.WEBIM_CONNCTION_GETROSTER_ERROR=12]="WEBIM_CONNCTION_GETROSTER_ERROR",e[e.WEBIM_CONNCTION_CROSSDOMAIN_ERROR=13]="WEBIM_CONNCTION_CROSSDOMAIN_ERROR",e[e.WEBIM_CONNCTION_LISTENING_OUTOF_MAXRETRIES=14]="WEBIM_CONNCTION_LISTENING_OUTOF_MAXRETRIES",e[e.WEBIM_CONNCTION_RECEIVEMSG_CONTENTERROR=15]="WEBIM_CONNCTION_RECEIVEMSG_CONTENTERROR",e[e.WEBIM_CONNCTION_DISCONNECTED=16]="WEBIM_CONNCTION_DISCONNECTED",e[e.WEBIM_CONNCTION_AJAX_ERROR=17]="WEBIM_CONNCTION_AJAX_ERROR",e[e.WEBIM_CONNCTION_JOINROOM_ERROR=18]="WEBIM_CONNCTION_JOINROOM_ERROR",e[e.WEBIM_CONNCTION_GETROOM_ERROR=19]="WEBIM_CONNCTION_GETROOM_ERROR",e[e.WEBIM_CONNCTION_GETROOMINFO_ERROR=20]="WEBIM_CONNCTION_GETROOMINFO_ERROR",e[e.WEBIM_CONNCTION_GETROOMMEMBER_ERROR=21]="WEBIM_CONNCTION_GETROOMMEMBER_ERROR",e[e.WEBIM_CONNCTION_GETROOMOCCUPANTS_ERROR=22]="WEBIM_CONNCTION_GETROOMOCCUPANTS_ERROR",e[e.WEBIM_CONNCTION_LOAD_CHATROOM_ERROR=23]="WEBIM_CONNCTION_LOAD_CHATROOM_ERROR",e[e.WEBIM_CONNCTION_NOT_SUPPORT_CHATROOM_ERROR=24]="WEBIM_CONNCTION_NOT_SUPPORT_CHATROOM_ERROR",e[e.WEBIM_CONNCTION_JOINCHATROOM_ERROR=25]="WEBIM_CONNCTION_JOINCHATROOM_ERROR",e[e.WEBIM_CONNCTION_QUITCHATROOM_ERROR=26]="WEBIM_CONNCTION_QUITCHATROOM_ERROR",e[e.WEBIM_CONNCTION_APPKEY_NOT_ASSIGN_ERROR=27]="WEBIM_CONNCTION_APPKEY_NOT_ASSIGN_ERROR",e[e.WEBIM_CONNCTION_TOKEN_NOT_ASSIGN_ERROR=28]="WEBIM_CONNCTION_TOKEN_NOT_ASSIGN_ERROR",e[e.WEBIM_CONNCTION_SESSIONID_NOT_ASSIGN_ERROR=29]="WEBIM_CONNCTION_SESSIONID_NOT_ASSIGN_ERROR",e[e.WEBIM_CONNCTION_RID_NOT_ASSIGN_ERROR=30]="WEBIM_CONNCTION_RID_NOT_ASSIGN_ERROR",e[e.WEBIM_CONNCTION_CALLBACK_INNER_ERROR=31]="WEBIM_CONNCTION_CALLBACK_INNER_ERROR",e[e.WEBIM_CONNCTION_CLIENT_OFFLINE=32]="WEBIM_CONNCTION_CLIENT_OFFLINE",e[e.WEBIM_CONNCTION_CLIENT_LOGOUT=33]="WEBIM_CONNCTION_CLIENT_LOGOUT",e[e.WEBIM_CONNCTION_CLIENT_TOO_MUCH_ERROR=34]="WEBIM_CONNCTION_CLIENT_TOO_MUCH_ERROR",e[e.WEBIM_CONNECTION_ACCEPT_INVITATION_FROM_GROUP=35]="WEBIM_CONNECTION_ACCEPT_INVITATION_FROM_GROUP",e[e.WEBIM_CONNECTION_DECLINE_INVITATION_FROM_GROUP=36]="WEBIM_CONNECTION_DECLINE_INVITATION_FROM_GROUP",e[e.WEBIM_CONNECTION_ACCEPT_JOIN_GROUP=37]="WEBIM_CONNECTION_ACCEPT_JOIN_GROUP",e[e.WEBIM_CONNECTION_DECLINE_JOIN_GROUP=38]="WEBIM_CONNECTION_DECLINE_JOIN_GROUP",e[e.WEBIM_CONNECTION_CLOSED=39]="WEBIM_CONNECTION_CLOSED",e[e.WEBIM_CONNECTION_ERROR=40]="WEBIM_CONNECTION_ERROR",e[e.MAX_LIMIT=50]="MAX_LIMIT",e[e.MESSAGE_NOT_FOUND=51]="MESSAGE_NOT_FOUND",e[e.NO_PERMISSION=52]="NO_PERMISSION",e[e.OPERATION_UNSUPPORTED=53]="OPERATION_UNSUPPORTED",e[e.OPERATION_NOT_ALLOWED=54]="OPERATION_NOT_ALLOWED",e[e.LOCAL_DB_OPERATION_FAILED=55]="LOCAL_DB_OPERATION_FAILED",e[e.WEBIM_UPLOADFILE_BROWSER_ERROR=100]="WEBIM_UPLOADFILE_BROWSER_ERROR",e[e.WEBIM_UPLOADFILE_ERROR=101]="WEBIM_UPLOADFILE_ERROR",e[e.WEBIM_UPLOADFILE_NO_LOGIN=102]="WEBIM_UPLOADFILE_NO_LOGIN",e[e.WEBIM_UPLOADFILE_NO_FILE=103]="WEBIM_UPLOADFILE_NO_FILE",e[e.WEBIM_DOWNLOADFILE_ERROR=200]="WEBIM_DOWNLOADFILE_ERROR",e[e.WEBIM_DOWNLOADFILE_NO_LOGIN=201]="WEBIM_DOWNLOADFILE_NO_LOGIN",e[e.WEBIM_DOWNLOADFILE_BROWSER_ERROR=202]="WEBIM_DOWNLOADFILE_BROWSER_ERROR",e[e.PARSE_FILE_ERROR=203]="PARSE_FILE_ERROR",e[e.USER_NOT_FOUND=204]="USER_NOT_FOUND",e[e.MESSAGE_PARAMETER_ERROR=205]="MESSAGE_PARAMETER_ERROR",e[e.WEBIM_CONNCTION_USER_LOGIN_ANOTHER_DEVICE=206]="WEBIM_CONNCTION_USER_LOGIN_ANOTHER_DEVICE",e[e.WEBIM_CONNCTION_USER_REMOVED=207]="WEBIM_CONNCTION_USER_REMOVED",e[e.WEBIM_CONNCTION_USER_KICKED_BY_CHANGE_PASSWORD=216]="WEBIM_CONNCTION_USER_KICKED_BY_CHANGE_PASSWORD",e[e.WEBIM_CONNCTION_USER_KICKED_BY_OTHER_DEVICE=217]="WEBIM_CONNCTION_USER_KICKED_BY_OTHER_DEVICE",e[e.USER_MUTED_BY_ADMIN=219]="USER_MUTED_BY_ADMIN",e[e.USER_NOT_FRIEND=221]="USER_NOT_FRIEND",e[e.WEBIM_MESSAGE_REC_TEXT=300]="WEBIM_MESSAGE_REC_TEXT",e[e.WEBIM_MESSAGE_REC_TEXT_ERROR=301]="WEBIM_MESSAGE_REC_TEXT_ERROR",e[e.WEBIM_MESSAGE_REC_EMOTION=302]="WEBIM_MESSAGE_REC_EMOTION",e[e.WEBIM_MESSAGE_REC_PHOTO=303]="WEBIM_MESSAGE_REC_PHOTO",e[e.WEBIM_MESSAGE_REC_AUDIO=304]="WEBIM_MESSAGE_REC_AUDIO",e[e.WEBIM_MESSAGE_REC_AUDIO_FILE=305]="WEBIM_MESSAGE_REC_AUDIO_FILE",e[e.WEBIM_MESSAGE_REC_VEDIO=306]="WEBIM_MESSAGE_REC_VEDIO",e[e.WEBIM_MESSAGE_REC_VEDIO_FILE=307]="WEBIM_MESSAGE_REC_VEDIO_FILE",e[e.WEBIM_MESSAGE_REC_FILE=308]="WEBIM_MESSAGE_REC_FILE",e[e.WEBIM_MESSAGE_SED_TEXT=309]="WEBIM_MESSAGE_SED_TEXT",e[e.WEBIM_MESSAGE_SED_EMOTION=310]="WEBIM_MESSAGE_SED_EMOTION",e[e.WEBIM_MESSAGE_SED_PHOTO=311]="WEBIM_MESSAGE_SED_PHOTO",e[e.WEBIM_MESSAGE_SED_AUDIO=312]="WEBIM_MESSAGE_SED_AUDIO",e[e.WEBIM_MESSAGE_SED_AUDIO_FILE=313]="WEBIM_MESSAGE_SED_AUDIO_FILE",e[e.WEBIM_MESSAGE_SED_VEDIO=314]="WEBIM_MESSAGE_SED_VEDIO",e[e.WEBIM_MESSAGE_SED_VEDIO_FILE=315]="WEBIM_MESSAGE_SED_VEDIO_FILE",e[e.WEBIM_MESSAGE_SED_FILE=316]="WEBIM_MESSAGE_SED_FILE",e[e.WEBIM_MESSAGE_SED_ERROR=317]="WEBIM_MESSAGE_SED_ERROR",e[e.STATUS_INIT=400]="STATUS_INIT",e[e.STATUS_DOLOGIN_USERGRID=401]="STATUS_DOLOGIN_USERGRID",e[e.STATUS_DOLOGIN_IM=402]="STATUS_DOLOGIN_IM",e[e.STATUS_OPENED=403]="STATUS_OPENED",e[e.STATUS_CLOSING=404]="STATUS_CLOSING",e[e.STATUS_CLOSED=405]="STATUS_CLOSED",e[e.STATUS_ERROR=406]="STATUS_ERROR",e[e.SERVER_BUSY=500]="SERVER_BUSY",e[e.MESSAGE_INCLUDE_ILLEGAL_CONTENT=501]="MESSAGE_INCLUDE_ILLEGAL_CONTENT",e[e.MESSAGE_EXTERNAL_LOGIC_BLOCKED=502]="MESSAGE_EXTERNAL_LOGIC_BLOCKED",e[e.SERVER_UNKNOWN_ERROR=503]="SERVER_UNKNOWN_ERROR",e[e.MESSAGE_RECALL_TIME_LIMIT=504]="MESSAGE_RECALL_TIME_LIMIT",e[e.SERVICE_NOT_ENABLED=505]="SERVICE_NOT_ENABLED",e[e.SERVICE_NOT_ALLOW_MESSAGING=506]="SERVICE_NOT_ALLOW_MESSAGING",e[e.SERVICE_NOT_ALLOW_MESSAGING_MUTE=507]="SERVICE_NOT_ALLOW_MESSAGING_MUTE",e[e.MESSAGE_MODERATION_BLOCKED=508]="MESSAGE_MODERATION_BLOCKED",e[e.MESSAGE_CURRENT_LIMITING=509]="MESSAGE_CURRENT_LIMITING",e[e.MESSAGE_WEBSOCKET_DISCONNECTED=510]="MESSAGE_WEBSOCKET_DISCONNECTED",e[e.MESSAGE_SIZE_LIMIT=511]="MESSAGE_SIZE_LIMIT",e[e.GROUP_NOT_EXIST=605]="GROUP_NOT_EXIST",e[e.GROUP_NOT_JOINED=602]="GROUP_NOT_JOINED",e[e.GROUP_MEMBERS_FULL=606]="GROUP_MEMBERS_FULL",e[e.PERMISSION_DENIED=603]="PERMISSION_DENIED",e[e.WEBIM_LOAD_MSG_ERROR=604]="WEBIM_LOAD_MSG_ERROR",e[e.GROUP_ALREADY_JOINED=601]="GROUP_ALREADY_JOINED",e[e.GROUP_MEMBERS_LIMIT=607]="GROUP_MEMBERS_LIMIT",e[e.GROUP_IS_DISABLED=608]="GROUP_IS_DISABLED",e[e.GROUP_MEMBER_ATTRIBUTES_SET_FAILED=609]="GROUP_MEMBER_ATTRIBUTES_SET_FAILED",e[e.REST_PARAMS_STATUS=700]="REST_PARAMS_STATUS",e[e.CHATROOM_NOT_JOINED=702]="CHATROOM_NOT_JOINED",e[e.CHATROOM_MEMBERS_FULL=704]="CHATROOM_MEMBERS_FULL",e[e.CHATROOM_NOT_EXIST=705]="CHATROOM_NOT_EXIST",e[e.SDK_RUNTIME_ERROR=999]="SDK_RUNTIME_ERROR",e[e.PRESENCE_PARAM_EXCEED=1100]="PRESENCE_PARAM_EXCEED",e[e.REACTION_ALREADY_ADDED=1101]="REACTION_ALREADY_ADDED",e[e.REACTION_CREATING=1102]="REACTION_CREATING",e[e.REACTION_OPERATION_IS_ILLEGAL=1103]="REACTION_OPERATION_IS_ILLEGAL",e[e.TRANSLATION_NOT_VALID=1200]="TRANSLATION_NOT_VALID",e[e.TRANSLATION_TEXT_TOO_LONG=1201]="TRANSLATION_TEXT_TOO_LONG",e[e.TRANSLATION_FAILED=1204]="TRANSLATION_FAILED",e[e.THREAD_NOT_EXIST=1300]="THREAD_NOT_EXIST",e[e.THREAD_ALREADY_EXIST=1301]="THREAD_ALREADY_EXIST",e[e.MODIFY_MESSAGE_NOT_EXIST=1302]="MODIFY_MESSAGE_NOT_EXIST",e[e.MODIFY_MESSAGE_FORMAT_ERROR=1303]="MODIFY_MESSAGE_FORMAT_ERROR",e[e.MODIFY_MESSAGE_FAILED=1304]="MODIFY_MESSAGE_FAILED",e[e.CONVERSATION_NOT_EXIST=1400]="CONVERSATION_NOT_EXIST"}(h||(h={}));var E,_,T,O,b,S,A=function(){return A=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},A.apply(this,arguments)};!function(e){e[e.UNKNOWOPERATION=-1]="UNKNOWOPERATION",e[e.REST_GET_SESSION_LIST=1]="REST_GET_SESSION_LIST",e[e.REST_DEL_SESSION=2]="REST_DEL_SESSION",e[e.REST_GET_HISTORY_MESSAGE=3]="REST_GET_HISTORY_MESSAGE",e[e.REST_PIN_CONVERSATION=4]="REST_PIN_CONVERSATION",e[e.REST_OPERATE=100]="REST_OPERATE",e[e.MSYNC_SENDMESSAGE=101]="MSYNC_SENDMESSAGE",e[e.MSYNC_RECALLMESSAGE=102]="MSYNC_RECALLMESSAGE",e[e.MSYNC_MODIFYMESSAGE=103]="MSYNC_MODIFYMESSAGE",e[e.MSYNC_OPERATE=200]="MSYNC_OPERATE",e[e.ROSTER_ADD=201]="ROSTER_ADD",e[e.ROSTER_REMOVE=202]="ROSTER_REMOVE",e[e.ROSTER_ACCEPT=203]="ROSTER_ACCEPT",e[e.ROSTER_DECLINE=204]="ROSTER_DECLINE",e[e.ROSTER_BAN=205]="ROSTER_BAN",e[e.ROSTER_ALLOW=206]="ROSTER_ALLOW",e[e.ROSTER_BLACKLIST=207]="ROSTER_BLACKLIST",e[e.ROSTER_CONTACTS=208]="ROSTER_CONTACTS",e[e.ROSTER_GET_ALL_CONTACTS_REMARKS=209]="ROSTER_GET_ALL_CONTACTS_REMARKS",e[e.ROSTER_GET_ALL_CONTACTS_REMARKS_FROM_SERVER_BY_PAGE=210]="ROSTER_GET_ALL_CONTACTS_REMARKS_FROM_SERVER_BY_PAGE",e[e.ROSTER_SET_CONTACT_REMARK=211]="ROSTER_SET_CONTACT_REMARK",e[e.ROSTER_OPERATE=300]="ROSTER_OPERATE",e[e.USER_LOGIN=301]="USER_LOGIN",e[e.USER_CREATE=302]="USER_CREATE",e[e.USER_UPDATE_USERINFO=303]="USER_UPDATE_USERINFO",e[e.USER_FETCH_USERINFO=304]="USER_FETCH_USERINFO",e[e.USER_UPDATE_NICK=305]="USER_UPDATE_NICK",e[e.USER_UPLOAD_PUSH_TOKEN=306]="USER_UPLOAD_PUSH_TOKEN",e[e.USER_OPERATE=400]="USER_OPERATE",e[e.GROUP_CREATEGROUP=401]="GROUP_CREATEGROUP",e[e.GROUP_BLOCK_MESSAGE=402]="GROUP_BLOCK_MESSAGE",e[e.GROUP_FETCH_PUBLICGROUPS_WITHCURSOR=403]="GROUP_FETCH_PUBLICGROUPS_WITHCURSOR",e[e.GROUP_FETCH_USERS_GROUP=404]="GROUP_FETCH_USERS_GROUP",e[e.GROUP_CHANGE_OWNER=405]="GROUP_CHANGE_OWNER",e[e.GROUP_FETCH_SPECIFICATION=406]="GROUP_FETCH_SPECIFICATION",e[e.GROUP_CHANGE_GROUPATTRIBUTE=407]="GROUP_CHANGE_GROUPATTRIBUTE",e[e.GROUP_FETCH_MEMEBERS=408]="GROUP_FETCH_MEMEBERS",e[e.GROUP_GET_ADMIN=409]="GROUP_GET_ADMIN",e[e.GROUP_SET_ADMIN=410]="GROUP_SET_ADMIN",e[e.GROUP_REMOVE_ADMIN=411]="GROUP_REMOVE_ADMIN",e[e.GROUP_DESTOTYGROUP=412]="GROUP_DESTOTYGROUP",e[e.GROUP_LEAVEGROUP=413]="GROUP_LEAVEGROUP",e[e.GROUP_INVITE_TO_GROUP=414]="GROUP_INVITE_TO_GROUP",e[e.GROUP_JOIN_PUBLICGROUP=415]="GROUP_JOIN_PUBLICGROUP",e[e.GROUP_ACCEPT_JOINPUBLICGROUPAPPL=416]="GROUP_ACCEPT_JOINPUBLICGROUPAPPL",e[e.GROUP_DECLINE_JOINPUBLICGROUPAPPL=417]="GROUP_DECLINE_JOINPUBLICGROUPAPPL",e[e.GROUP_ACCEPT_INVITATION=418]="GROUP_ACCEPT_INVITATION",e[e.GROUP_DECLINE_INVITATION=419]="GROUP_DECLINE_INVITATION",e[e.GROUP_REMOVE_MEMBER=420]="GROUP_REMOVE_MEMBER",e[e.GROUP_REMOVE_MEMBERS=421]="GROUP_REMOVE_MEMBERS",e[e.GROUP_MUTE_MEMBERS=422]="GROUP_MUTE_MEMBERS",e[e.GROUP_UNMUTE_MEMBERS=423]="GROUP_UNMUTE_MEMBERS",e[e.GROUP_FETCH_MUTES=424]="GROUP_FETCH_MUTES",e[e.GROUP_BLOCK_MEMBER=425]="GROUP_BLOCK_MEMBER",e[e.GROUP_BLOCK_MEMBERS=426]="GROUP_BLOCK_MEMBERS",e[e.GROUP_UNBLOCK_MEMBER=427]="GROUP_UNBLOCK_MEMBER",e[e.GROUP_UNBLOCK_MEMBERS=428]="GROUP_UNBLOCK_MEMBERS",e[e.GROUP_GET_BLOCK_LIST=429]="GROUP_GET_BLOCK_LIST",e[e.GROUP_MUTE_ALLMEMBERS=430]="GROUP_MUTE_ALLMEMBERS",e[e.GROUP_UNMUTE_ALLMEMBERS=431]="GROUP_UNMUTE_ALLMEMBERS",e[e.GROUP_ADD_WHITELIST=432]="GROUP_ADD_WHITELIST",e[e.GROUP_REMOVE_WHITELIST=433]="GROUP_REMOVE_WHITELIST",e[e.GROUP_FETCH_WHITELIST=434]="GROUP_FETCH_WHITELIST",e[e.GROUP_IS_IN_WHITELIST=435]="GROUP_IS_IN_WHITELIST",e[e.GROUP_GET_READ_USERS=436]="GROUP_GET_READ_USERS",e[e.GROUP_FETCH_ANNOUNCEMENT=437]="GROUP_FETCH_ANNOUNCEMENT",e[e.GROUP_UPDATE_ANNOUNCEMENT=438]="GROUP_UPDATE_ANNOUNCEMENT",e[e.GROUP_UPLOAD_SHAREDFILE=439]="GROUP_UPLOAD_SHAREDFILE",e[e.GROUP_DELETE_SHAREDFILE=440]="GROUP_DELETE_SHAREDFILE",e[e.GROUP_FETCH_SHAREDFILE=441]="GROUP_FETCH_SHAREDFILE",e[e.GROUP_DOWNLOAD_SHAREDFILE=442]="GROUP_DOWNLOAD_SHAREDFILE",e[e.GROUP_MEMBER_SET_META_DATA=443]="GROUP_MEMBER_SET_META_DATA",e[e.GROUP_MEMBER_FETCH_META_DATA=444]="GROUP_MEMBER_FETCH_META_DATA",e[e.GROUP_OPERATE=500]="GROUP_OPERATE",e[e.CHATROOM_FETCH_CHATROOMSWITHPAGE=501]="CHATROOM_FETCH_CHATROOMSWITHPAGE",e[e.CHATROOM_CREATECHATROOM=502]="CHATROOM_CREATECHATROOM",e[e.CHATROOM_DESTORYCHATROOM=503]="CHATROOM_DESTORYCHATROOM",e[e.CHATROOM_FETCH_SPECIFICATION=504]="CHATROOM_FETCH_SPECIFICATION",e[e.CHATROOM_CHANGE_ATTRIBUTE=505]="CHATROOM_CHANGE_ATTRIBUTE",e[e.CHATROOM_REMOVE_MEMBER=506]="CHATROOM_REMOVE_MEMBER",e[e.CHATROOM_REMOVE_MEMBERS=507]="CHATROOM_REMOVE_MEMBERS",e[e.CHATROOM_ADD_MEMBERS=508]="CHATROOM_ADD_MEMBERS",e[e.CHATROOM_JOINCAHTROOM=509]="CHATROOM_JOINCAHTROOM",e[e.CHATROOM_LEAVECAHTROOM=510]="CHATROOM_LEAVECAHTROOM",e[e.CHATROOM_FETCH_MEMBERS=511]="CHATROOM_FETCH_MEMBERS",e[e.CHATROOM_GET_ADMIN=512]="CHATROOM_GET_ADMIN",e[e.CHATROOM_SET_ADMIN=513]="CHATROOM_SET_ADMIN",e[e.CHATROOM_REMOVE_ADMIN=514]="CHATROOM_REMOVE_ADMIN",e[e.CHATROOM_MUTE_USER=515]="CHATROOM_MUTE_USER",e[e.CHATROOM_UNMUTE_USER=516]="CHATROOM_UNMUTE_USER",e[e.CHATROOM_FETCH_MUTES=517]="CHATROOM_FETCH_MUTES",e[e.CHATROOM_BLOCK_USER=518]="CHATROOM_BLOCK_USER",e[e.CHATROOM_BLOCK_USERS=519]="CHATROOM_BLOCK_USERS",e[e.CHATROOM_UNBLOCK_USER=520]="CHATROOM_UNBLOCK_USER",e[e.CHATROOM_UNBLOCK_USERS=521]="CHATROOM_UNBLOCK_USERS",e[e.CHATROOM_FETCH_BANS=522]="CHATROOM_FETCH_BANS",e[e.CHATROOM_MUTE_ALLMEMEBERS=523]="CHATROOM_MUTE_ALLMEMEBERS",e[e.CHATROOM_UNMUTE_ALLMEMEBERS=524]="CHATROOM_UNMUTE_ALLMEMEBERS",e[e.CHATROOM_ADD_WHITELIST=525]="CHATROOM_ADD_WHITELIST",e[e.CHATROOM_REMOVE_WHITELIST=526]="CHATROOM_REMOVE_WHITELIST",e[e.CHATROOM_FETCH_WHITELIST=527]="CHATROOM_FETCH_WHITELIST",e[e.CHATROOM_FETCH_MEMBERIN_WHITELIST=528]="CHATROOM_FETCH_MEMBERIN_WHITELIST",e[e.CHATROOM_FETCH_ANNOUNCEMENT=529]="CHATROOM_FETCH_ANNOUNCEMENT",e[e.CHATROOM_UPDATE_ANNOUNCEMENT=530]="CHATROOM_UPDATE_ANNOUNCEMENT",e[e.CHATROOM_REMOVE_SHARE_FILE=531]="CHATROOM_REMOVE_SHARE_FILE",e[e.CHATROOM_GET_SHARE_FILE_LIST=532]="CHATROOM_GET_SHARE_FILE_LIST",e[e.CHATROOM_UPLOAD_FILE=533]="CHATROOM_UPLOAD_FILE",e[e.CHATROOM_SET_META_DATA=534]="CHATROOM_SET_META_DATA",e[e.CHATROOM_DELETE_META_DATA=535]="CHATROOM_DELETE_META_DATA",e[e.CHATROOM_FETCH_META_DATA=536]="CHATROOM_FETCH_META_DATA",e[e.CHATROOM_OPERATE=600]="CHATROOM_OPERATE"}(E||(E={})),function(e){e.SDK_INTERNAL="SDK_INTERNAL",e.LOGIN="USER_LOGIN",e.REGISTER="USER_CREATE",e.GET_CHATROOM_LIST="CHATROOM_FETCH_CHATROOMSWITHPAGE",e.CREATE_CHATROOM="CHATROOM_CREATECHATROOM",e.DESTROY_CHATROOM="CHATROOM_DESTORYCHATROOM",e.GET_CHATROOM_DETAIL="CHATROOM_FETCH_SPECIFICATION",e.MODIFY_CHATROOM="CHATROOM_CHANGE_ATTRIBUTE",e.REMOVE_CHATROOM_MEMBER="CHATROOM_REMOVE_MEMBER",e.MULTI_REMOVE_CHATROOM_MEMBER="CHATROOM_REMOVE_MEMBERS",e.ADD_USERS_TO_CHATROOM="CHATROOM_ADD_MEMBERS",e.JOIN_CHATROOM="CHATROOM_JOINCAHTROOM",e.QUIT_CHATROOM="CHATROOM_LEAVECAHTROOM",e.LIST_CHATROOM_MEMBERS="CHATROOM_FETCH_MEMBERS",e.GET_CHATROOM_ADMIN="CHATROOM_GET_ADMIN",e.SET_CHATROOM_ADMIN="CHATROOM_SET_ADMIN",e.REMOVE_CHATROOM_ADMIN="CHATROOM_REMOVE_ADMIN",e.MUTE_CHATROOM_MEMBER="CHATROOM_MUTE_USER",e.REMOVE_MUTE_CHATROOM_MEMBER="CHATROOM_UNMUTE_USER",e.GET_MUTE_CHATROOM_MEMBERS="CHATROOM_FETCH_MUTES",e.SET_CHATROOM_MEMBER_TO_BLACK="CHATROOM_BLOCK_USER",e.MULTI_SET_CHATROOM_MEMBER_TO_BLACK="CHATROOM_BLOCK_USERS",e.REMOVE_CHATROOM_MEMBER_BLACK="CHATROOM_UNBLOCK_USER",e.MULTI_REMOVE_CHATROOM_MEMBER_BLACK="CHATROOM_UNBLOCK_USERS",e.GET_CHATROOM_BLOCK_MEMBERS="CHATROOM_FETCH_BANS",e.DISABLED_CHATROOM_SEND_MSG="CHATROOM_MUTE_ALLMEMEBERS",e.ENABLE_CHATROOM_SEND_MSG="CHATROOM_UNMUTE_ALLMEMEBERS",e.ADD_CHATROOM_WHITE_USERS="CHATROOM_ADD_WHITELIST",e.REMOVE_CHATROOM_WHITE_USERS="CHATROOM_REMOVE_WHITELIST",e.GET_CHATROOM_WHITE_USERS="CHATROOM_FETCH_WHITELIST",e.CHECK_CHATROOM_WHITE_USER="CHATROOM_FETCH_MEMBERIN_WHITELIST",e.GET_CHATROOM_ANN="CHATROOM_FETCH_ANNOUNCEMENT",e.UPDATE_CHATROOM_ANN="CHATROOM_UPDATE_ANNOUNCEMENT",e.DELETE_CHATROOM_FILE="CHATROOM_REMOVE_SHARE_FILE",e.GET_CHATROOM_FILES="CHATROOM_GET_SHARE_FILE_LIST",e.UPLOAD_CHATROOM_FILE="CHATROOM_UPLOAD_FILE",e.SET_CHATROOM_ATTR="CHATROOM_SET_META_DATA",e.DELETE_CHATROOM_ATTR="CHATROOM_DELETE_META_DATA",e.GET_CHATROOM_ATTR="CHATROOM_FETCH_META_DATA",e.CREATE_GROUP="GROUP_CREATEGROUP",e.BLOCK_GROUP="GROUP_BLOCK_MESSAGE",e.LIST_GROUP="GROUP_FETCH_PUBLICGROUPS_WITHCURSOR",e.GET_USER_GROUP="GROUP_FETCH_USERS_GROUP",e.CHANGE_OWNER="GROUP_CHANGE_OWNER",e.GET_GROUP_INFO="GROUP_FETCH_SPECIFICATION",e.MODIFY_GROUP="GROUP_CHANGE_GROUPATTRIBUTE",e.LIST_GROUP_MEMBER="GROUP_FETCH_MEMEBERS",e.GET_GROUP_ADMIN="GROUP_GET_ADMIN",e.SET_GROUP_ADMIN="GROUP_SET_ADMIN",e.REMOVE_GROUP_ADMIN="GROUP_REMOVE_ADMIN",e.DISSOLVE_GROUP="GROUP_DESTOTYGROUP",e.QUIT_GROUP="GROUP_LEAVEGROUP",e.INVITE_TO_GROUP="GROUP_INVITE_TO_GROUP",e.JOIN_GROUP="GROUP_JOIN_PUBLICGROUP",e.AGREE_JOIN_GROUP="GROUP_ACCEPT_JOINPUBLICGROUPAPPL",e.REJECT_JOIN_GROUP="GROUP_DECLINE_JOINPUBLICGROUPAPPL",e.AGREE_INVITE_GROUP="GROUP_ACCEPT_INVITATION",e.REJECT_INVITE_GROUP="GROUP_DECLINE_INVITATION",e.REMOVE_GROUP_MEMBER="GROUP_REMOVE_MEMBER",e.MULTI_REMOVE_GROUP_MEMBER="GROUP_REMOVE_MEMBERS",e.MUTE_GROUP_MEMBER="GROUP_MUTE_MEMBERS",e.UNMUTE_GROUP_MEMBER="GROUP_UNMUTE_MEMBERS",e.GET_GROUP_MUTE_LIST="GROUP_FETCH_MUTES",e.BLOCK_GROUP_MEMBER="GROUP_BLOCK_MEMBER",e.BLOCK_GROUP_MEMBERS="GROUP_BLOCK_MEMBERS",e.UNBLOCK_GROUP_MEMBER="GROUP_UNBLOCK_MEMBER",e.UNBLOCK_GROUP_MEMBERS="GROUP_UNBLOCK_MEMBERS",e.GET_GROUP_BLACK_LIST="GROUP_GET_BLOCK_LIST",e.DISABLED_SEND_GROUP_MSG="GROUP_MUTE_ALLMEMBERS",e.ENABLE_SEND_GROUP_MSG="GROUP_UNMUTE_ALLMEMBERS",e.ADD_USERS_TO_GROUP_WHITE="GROUP_ADD_WHITELIST",e.REMOVE_GROUP_WHITE_MEMBER="GROUP_REMOVE_WHITELIST",e.GET_GROUP_WHITE_LIST="GROUP_FETCH_WHITELIST",e.IS_IN_GROUP_WHITE_LIST="GROUP_IS_IN_WHITELIST",e.GET_GROUP_MSG_READ_USER="GROUP_GET_READ_USERS",e.GET_GROUP_ANN="GROUP_FETCH_ANNOUNCEMENT",e.UPDATE_GROUP_ANN="GROUP_UPDATE_ANNOUNCEMENT",e.UPLOAD_GROUP_FILE="GROUP_UPLOAD_SHAREDFILE",e.DELETE_GROUP_FILE="GROUP_DELETE_SHAREDFILE",e.GET_GROUP_FILE_LIST="GROUP_FETCH_SHAREDFILE",e.DOWN_GROUP_FILE="GROUP_DOWNLOAD_SHAREDFILE",e.SET_GROUP_MEMBER_ATTRS="GROUP_MEMBER_SET_META_DATA",e.GET_GROUP_MEMBER_ATTR="GROUP_MEMBER_FETCH_META_DATA",e.GET_SESSION_LIST="REST_GET_SESSION_LIST",e.DELETE_SESSION="REST_DEL_SESSION",e.GET_HISTORY_MSG="REST_GET_HISTORY_MESSAGE",e.PIN_CONVERSATION="REST_PIN_CONVERSATION",e.UPDATE_USER_INFO="USER_UPDATE_USERINFO",e.GET_USER_INFO="USER_FETCH_USERINFO",e.UPDATE_USER_NICK="USER_UPDATE_NICK",e.UPLOAD_PUSH_TOKEN="USER_UPLOAD_PUSH_TOKEN",e.GET_BLACK_LIST="ROSTER_BLACKLIST",e.GET_CONTACTS="ROSTER_CONTACTS",e.ROSTER_GET_ALL_CONTACTS_REMARKS="ROSTER_GET_ALL_CONTACTS_REMARKS",e.ROSTER_GET_ALL_CONTACTS_REMARKS_FROM_SERVER_BY_PAGE="ROSTER_GET_ALL_CONTACTS_REMARKS_FROM_SERVER_BY_PAGE",e.ROSTER_SET_CONTACT_REMARK="ROSTER_SET_CONTACT_REMARK",e.ROSTER_ADD="ROSTER_ADD",e.ROSTER_REMOVE="ROSTER_REMOVE",e.ROSTER_ACCEPT="ROSTER_ACCEPT",e.ROSTER_DECLINE="ROSTER_DECLINE",e.ROSTER_BAN="ROSTER_BAN",e.ROSTER_ALLOW="ROSTER_ALLOW",e.SEND_MSG="MSYNC_SENDMESSAGE",e.UPLOAD_MSG_ATTACH="UPLOAD_MSG_ATTACH",e.SEND_RECALL_MSG="MSYNC_RECALLMESSAGE",e.MODIFY_MESSAGE="MSYNC_MODIFYMESSAGE"}(_||(_={})),function(e){e.GET_DNS="REST_DNSLIST",e.LOGIN_BY_AGORA_TOKEN="LOGIN_BY_AGORA_TOKEN",e.LOGIN_BY_PWD="LOGIN_BY_PWD",e.RESISTER="REGISTER"}(T||(T={})),function(e){e[e["5G"]=7]="5G",e[e["4G"]=7]="4G",e[e["3G"]=7]="3G",e[e["2G"]=7]="2G",e[e["SLOW-2G"]=7]="SLOW-2G",e[e.WIFI=2]="WIFI",e[e.LAN=1]="LAN",e[e.DISCONNECTED=0]="DISCONNECTED",e[e.NONE=0]="NONE",e[e.UNKNOWN=-1]="UNKNOWN",e[e["WEBIM UNABLE TO GET"]=-2]="WEBIM UNABLE TO GET"}(O||(O={})),function(e){e[e.success=200]="success",e[e.failed=500]="failed"}(b||(b={})),function(e){e[e.web=0]="web",e[e.native=1]="native"}(S||(S={}));var I=new Map,R=9675;function C(){console.log&&(console.log.apply?console.log.apply(console,Array.prototype.slice.call(arguments)):Function.prototype.apply.apply(console.log,[console,arguments])),console.trace&&console.trace()}var N,M="undefined"!=typeof window&&void 0!==window.navigator&&/Trident\/|MSIE /.test(window.navigator.userAgent),w=function(){},P={};!function(e){e[e.TRACE=0]="TRACE",e[e.DEBUG=1]="DEBUG",e[e.INFO=2]="INFO",e[e.WARN=3]="WARN",e[e.ERROR=4]="ERROR",e[e.SILENT=5]="SILENT"}(N||(N={}));var k=function(){function e(e,t,r){this.name=e||"defaultLogger",this.currentLevel=0,this.useCookiePersist=!1,this.storageLogLevelKey="loglevel",this.levels=N,this.logMethods=["trace","debug","info","warn","error"],this.methodFactory=r||this.defaultMethodFactory;var n=this._getPersistedLevel();null==n&&(n=null===t?"WARN":t),this.logs=[],this.config={useCache:!1,maxCache:3145728,color:"",background:""},this.logBytes=0,this.setLevel(n,!1,"")}return e.prototype.setConfig=function(e){this.config=e},e.prototype.getLevel=function(){return this.currentLevel},e.prototype.setLevel=function(e,t,r){if("string"==typeof e&&(e=N[e]),void 0===e&&(e=0),!("number"==typeof e&&e>=0&&e<=this.levels.SILENT))throw Error("log.setLevel() called with invalid level: "+e);if(this.currentLevel=e,!1!==t&&this._persistLevel(e),this.replaceLoggingMethods(e,r),"undefined"==typeof console&&e<N.SILENT)throw Error("No console available for logging")},e.prototype.setDefaultLevel=function(e){this._getPersistedLevel()||this.setLevel(e,!1,"")},e.prototype.enableAll=function(e){this.setLevel(this.levels.TRACE,!0,"")},e.prototype.disableAll=function(e){this.setLevel(this.levels.SILENT,!0,"")},e.prototype.getLogs=function(){return this.logs},e.prototype.download=function(){if("undefined"!=typeof window&&"undefined"!=typeof document){var e=this.getLogs().join("\n"),t=new Blob([e],{type:"text/plain;charset=UTF-8"}),r=window.URL.createObjectURL(t),n=document.createElement("a");n.style.display="none",n.href=r,n.setAttribute("download","sdklog"),document.body.appendChild(n),n.click()}},e.prototype._bindMethod=function(e,t,r){var n=this,o=e[t],i=this.getTime();if(r)return this._cacheLog;if("function"==typeof o.bind)return function(){for(var r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];var a=n.getTime();o.call.apply(o,function(e,t,r){if(r||2===arguments.length)for(var n,o=0,i=t.length;o<i;o++)!n&&o in t||(n||(n=Array.prototype.slice.call(t,0,o)),n[o]=t[o]);return e.concat(n||Array.prototype.slice.call(t))}([e,"".concat(a," IM SDK [").concat("log"===t?"debug":t,"]: ")],r,!1)),n.onLog&&n.onLog({time:a,level:"log"===t?"debug":t,logs:r})};try{return Function.prototype.bind.call(o,e,"".concat(i," IM SDK [").concat("log"===t?"debug":t,"]: "))}catch(t){return function(){return Function.prototype.apply.apply(o,[e,arguments])}}},e.prototype.getTime=function(){var e=new Date;return e.toTimeString().split(" ")[0]+":"+e.getMilliseconds()},e.prototype._cacheLog=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=(new Date).toLocaleString()+": ",n="";e.forEach((function(e){n+="object"==c(e)?JSON.stringify(e)+" ":e+" "})),this._cacheLogCall(r+n)},e.prototype._cacheLogCall=function(e){var t=x(e),r=this.logBytes+t,n=this.config.maxCache;if(!(t>=n)){if(r<n)this.logBytes+=t;else for(var o=r-n,i=0;i<o;){var a=this.logs.shift();void 0!==a&&(i+=x(a))}this.logs.push(e)}},e.prototype._getPersistedLevel=function(){var e;if("undefined"==typeof window)return 5;if("undefined"===(e=window&&window.localStorage&&window.localStorage[this.storageLogLevelKey])){var t=window.document.cookie,r=t.indexOf(encodeURIComponent(this.storageLogLevelKey));-1!==r&&(e=/^([^;]+)/.exec(t.slice(r))[1])}return e||5},e.prototype._persistLevel=function(e){var t=this.logMethods[e]||"SILENT";"undefined"!=typeof window&&(window.localStorage&&(window.localStorage[this.storageLogLevelKey]=t),this.useCookiePersist&&(window.document.cookie=encodeURIComponent(this.storageLogLevelKey)+"="+t+";"))},e.prototype.replaceLoggingMethods=function(e,t){for(var r=0;r<this.logMethods.length;r++){var n=this.logMethods[r];this[n]=r<e?w:this.methodFactory(n,e,t)}this.log=this.debug},e.prototype.defaultMethodFactory=function(e,t,r){return this.realMethod(e)||this.enableLoggingWhenConsoleArrives.apply(this,[e,t,r])},e.prototype.realMethod=function(e){return"debug"===e&&(e="log"),"undefined"!=typeof console&&("trace"===e&&M?C:void 0!==console[e]?this._bindMethod(console,e,this.config.useCache):void 0!==console.log?this._bindMethod(console,"log",this.config.useCache):w)},e.prototype.enableLoggingWhenConsoleArrives=function(e,t,r){return function(){"undefined"!=typeof console&&(this.replaceLoggingMethods.call(this,t,r),this[e].apply(this,arguments))}.bind(this)},e}();function x(e){for(var t=e.length,r=0;r<e.length;r++)e.charCodeAt(r)>255&&t++;return t}var U=new k;U.getLogger=function(e){if("string"!=typeof e||""===e)throw new TypeError("You must supply a name when creating a logger.");return this};var j="undefined"!=typeof window?window.log:void 0;U.noConflict=function(){return"undefined"!=typeof window&&window.log===U&&(window.log=j),U},U.getLoggers=function(){return P};var B=U,L=function(){return L=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},L.apply(this,arguments)},D=function(){};function G(e,t){var r,n=this;return q().platform===W.WEB?new Promise((function(t,n){var o=e.dataType||"text",i=e.success||D,a=e.error||D,s=new XMLHttpRequest;s.ontimeout=function(){n({type:h.REQUEST_TIMEOUT,message:"Request Timeout",errorType:"timeout_error",xhr:s})},s.onerror=function(){n({type:h.REQUEST_UNKNOWN,message:"Request Unknow Error",errorType:"onerror",xhr:s})},s.onabort=function(){n({type:h.REQUEST_ABORT,message:"Request Abort",errorType:"onabort",xhr:s})},s.onreadystatechange=function(){if(4===s.readyState){var e=(new Date).getTime()-r,c=s.status||0,u={elapse:e,httpCode:c};if(200===c){X.ajaxUnconventionalErrorTimes=0;try{switch(o){case"text":return i(s.responseText),void t(s.responseText);case"json":var l=JSON.parse(s.responseText);return l.extraInfo=u,i(l),void t(l);case"xml":return s.responseXML&&s.responseXML.documentElement?(i(s.responseXML.documentElement),void t(s.responseXML.documentElement)):(a({type:h.WEBIM_CONNCTION_AJAX_ERROR,data:s.responseText,message:"XHR.responseXML is null or XHR.responseXML.documentElement is null"}),void n({type:h.WEBIM_CONNCTION_AJAX_ERROR,data:s.responseText,message:"XHR.responseXML is null or XHR.responseXML.documentElement is null"}));default:a({type:h.WEBIM_CONNCTION_AJAX_ERROR,data:s.responseText,message:"Invalid dataType"}),n({type:h.WEBIM_CONNCTION_AJAX_ERROR,data:s.responseText,message:"Invalid dataType"})}return t(s.response||s.responseText),void i(s.response||s.responseText,s)}catch(e){n(e)}return}[400,401,403,404,429,500,503].includes(c)||(B.debug("rest api request fail status:",c),X.ajaxUnconventionalErrorTimes++),function(e,t,r,n){var o,i,a,s,c,u,l,p,d,f,m,g,y,v,E,_,T,O,b,S,I,R,C,N=e.response;N&&"string"==typeof N&&(N=JSON.parse(N));var M=e.status,w={elapse:n,httpCode:M,errDesc:null==N?void 0:N.error_description};if(400===M){if(40002===N.error_code)return void t({type:h.THREAD_ALREADY_EXIST,message:null==N?void 0:N.error_description,extraInfo:w});if(40009===N.error_code)return void t({type:h.OPERATION_UNSUPPORTED,message:null==N?void 0:N.error_description,extraInfo:w});if(60005===N.error_code)return void t({type:h.GROUP_MEMBER_ATTRIBUTES_SET_FAILED,message:(null==N?void 0:N.desc)||(null==N?void 0:N.error_description),extraInfo:w});if(60010===N.error_code)return void((null==N?void 0:N.error_description.includes("exceeds chatgroup user metadata single value limit"))?t({type:h.MAX_LIMIT,message:(null==N?void 0:N.desc)||N.error_description,extraInfo:w}):t({type:h.NO_PERMISSION,message:(null==N?void 0:N.desc)||N.error_description,extraInfo:w}));if(60011===N.error_code)return void t({type:h.CHATROOM_NOT_JOINED,message:null==N?void 0:N.desc,extraInfo:w});if(60006===N.error_code||60007===N.error_code||60009===N.error_code||60012===N.error_code)return void t({type:h.MAX_LIMIT,message:(null==N?void 0:N.desc)||(null==N?void 0:N.error_description),extraInfo:w});if(null===(o=N.error_description)||void 0===o?void 0:o.includes("are not members of this group"))return(null===(i=e.responseURL)||void 0===i?void 0:i.includes("chatgroups"))?t({type:h.GROUP_NOT_JOINED,data:e.response||e.responseText,message:N.error_description,extraInfo:w}):t({type:h.CHATROOM_NOT_JOINED,data:e.response||e.responseText,message:N.error_description,extraInfo:w}),void r({type:h.WEBIM_CONNCTION_AJAX_ERROR,message:null==N?void 0:N.error_description,data:e.responseText,extraInfo:w});if("the app not open presence"===(null==N?void 0:N.result))return void t({type:h.SERVICE_NOT_ENABLED,message:null==N?void 0:N.result,extraInfo:w});if(null==N?void 0:N.error_description.includes("remark length must less"))return void t({type:h.MAX_LIMIT,message:null==N?void 0:N.error_description,extraInfo:w});switch(null==N?void 0:N.error_description){case"the user is already operation this message":t({type:h.REACTION_ALREADY_ADDED,message:null==N?void 0:N.error_description,extraInfo:w});break;case"The quantity has exceeded the limit!":t({type:h.MAX_LIMIT,message:null==N?void 0:N.error_description,extraInfo:w});break;case"The user not in this group!":t({type:h.GROUP_NOT_JOINED,message:null==N?void 0:N.error_description,extraInfo:w});break;case"the user operation is illegal!":t({type:h.REACTION_OPERATION_IS_ILLEGAL,message:null==N?void 0:N.error_description,extraInfo:w});break;case"this appKey is not open reaction service!":case"this appKey not open message roaming":t({type:h.SERVICE_NOT_ENABLED,message:null==N?void 0:N.error_description,extraInfo:w});break;case"this message is creating reaction, please try again.":t({type:h.REACTION_CREATING,message:null==N?void 0:N.error_description,extraInfo:w});break;case"groupId can not be null!":t({type:h.GROUP_NOT_EXIST,message:null==N?void 0:N.error_description,extraInfo:w});break;case"The input text is too long.":t({type:h.TRANSLATION_TEXT_TOO_LONG,message:null==N?void 0:N.error_description,extraInfo:w});break;case"The target language is not valid.":t({type:h.TRANSLATION_NOT_VALID,message:null==N?void 0:N.error_description,extraInfo:w});break;case"report failed, get message by id failed":t({type:h.MESSAGE_NOT_FOUND,message:null==N?void 0:N.error_description,extraInfo:w});break;case"ext is too big ":t({type:h.PRESENCE_PARAM_EXCEED,message:null==N?void 0:N.error_description,extraInfo:w});break;case"Request body not readable.Please check content type is correct!":t({type:h.REQUEST_PARAMETER_ERROR,message:null==N?void 0:N.error_description,extraInfo:w});break;case"updateRemark | they are not friends, please add as a friend first.":t({type:h.USER_NOT_FRIEND,message:null==N?void 0:N.error_description,extraInfo:w});break;default:t({type:h.WEBIM_CONNCTION_AJAX_ERROR,message:null==N?void 0:N.error_description,data:e.responseText,extraInfo:w}),r({type:h.WEBIM_CONNCTION_AJAX_ERROR,message:null==N?void 0:N.error_description,data:e.responseText,extraInfo:w})}}else if(401===M)40001===N.error_code||60001===N.error_code||"Unable to authenticate (OAuth)"===N.error_description?t({type:h.NO_PERMISSION,message:null==N?void 0:N.error_description,extraInfo:w}):(r({type:h.WEBIM_CONNCTION_AJAX_ERROR,data:e.responseText,message:e.responseText,extraInfo:w}),t({type:h.WEBIM_CONNCTION_AJAX_ERROR,data:e.responseText,message:e.responseText,extraInfo:w}));else if(403===M)4e4===N.error_code||60004===N.error_code||15002===N.error_code?t({type:h.SERVICE_NOT_ENABLED,message:null==N?void 0:N.error_description,extraInfo:w}):40003===N.error_code||40004===N.error_code?t({type:h.THREAD_ALREADY_EXIST,message:null==N?void 0:N.error_description,extraInfo:w}):40005===N.error_code||40007===N.error_code||91002===N.error_code?t({type:h.MAX_LIMIT,message:null==N?void 0:N.error_description,extraInfo:w}):60002===N.error_code&&t({type:h.PERMISSION_DENIED,message:null==N?void 0:N.error_description,extraInfo:w}),"group member list is full!"===N.error_description?(null===(a=e.responseURL)||void 0===a?void 0:a.includes("chatgroups"))?t({type:h.GROUP_MEMBERS_FULL,data:e.response||e.responseText,message:N.error_description,extraInfo:w}):t({type:h.CHATROOM_MEMBERS_FULL,data:e.response||e.responseText,message:N.error_description,extraInfo:w}):(null===(s=N.error_description)||void 0===s?void 0:s.includes(N.error_description.includes("already in group")))?(null===(c=e.responseURL)||void 0===c?void 0:c.includes("chatgroups"))&&t({type:h.GROUP_ALREADY_JOINED,data:e.response||e.responseText,message:N.error_description,extraInfo:w}):(null===(u=N.error_description)||void 0===u?void 0:u.includes("are not members of this group"))?(null===(l=e.responseURL)||void 0===l?void 0:l.includes("chatgroups"))?t({type:h.GROUP_NOT_JOINED,data:e.response||e.responseText,message:N.error_description,extraInfo:w}):t({type:h.CHATROOM_NOT_JOINED,data:e.response||e.responseText,message:N.error_description,extraInfo:w}):(null===(p=N.error_description)||void 0===p?void 0:p.includes("service not open!"))||(null===(d=N.error_description)||void 0===d?void 0:d.includes("message report not open"))||(null===(f=N.error_description)||void 0===f?void 0:f.includes("messageroaming function not open"))?t({type:h.SERVICE_NOT_ENABLED,data:e.response||e.responseText,message:N.error_description,extraInfo:w}):(null===(m=N.error_description)||void 0===m?void 0:m.includes("members size is greater than max user size !"))?t({type:h.GROUP_MEMBERS_LIMIT,data:e.response||e.responseText,message:N.error_description,extraInfo:w}):(null===(g=N.error_description)||void 0===g?void 0:g.includes("can not operate this group, reason: group is disabled"))?t({type:h.GROUP_IS_DISABLED,data:e.response||e.responseText,message:N.error_description,extraInfo:w}):(null===(y=N.error_description)||void 0===y?void 0:y.includes("Invitee's contact max count"))||(null===(v=N.error_description)||void 0===v?void 0:v.includes("Inviter's contact max count"))?t({type:h.MAX_LIMIT,data:e.response||e.responseText,message:N.error_description,extraInfo:w}):t({type:h.PERMISSION_DENIED,data:e.response||e.responseText,message:"permission denied",extraInfo:A(A({},w),{errDesc:"permission denied"})}),r({type:h.WEBIM_CONNCTION_AJAX_ERROR,data:e.responseText,message:e.responseText,extraInfo:w});else if(404===M)40011===N.error_code?t({type:h.THREAD_NOT_EXIST,message:null==N?void 0:N.error_description,extraInfo:w}):40012===N.error_code?t({type:h.NO_PERMISSION,message:null==N?void 0:N.error_description,extraInfo:w}):60003===N.error_code||20004===N.error_code?t({type:h.GROUP_NOT_JOINED,message:null==N?void 0:N.error_description,extraInfo:w}):91001===N.error_code&&t({type:h.CONVERSATION_NOT_EXIST,message:null==N?void 0:N.error_description,extraInfo:w}),(null===(E=N.error_description)||void 0===E?void 0:E.includes("do not find this group"))||(null===(_=N.error_description)||void 0===_?void 0:_.includes("does not exist"))?(null===(T=e.responseURL)||void 0===T?void 0:T.includes("chatgroups"))?t({type:h.GROUP_NOT_EXIST,data:e.response||e.responseText,message:"The chat room dose not exist.",extraInfo:A(A({},w),{errDesc:"The chat room dose not exist."})}):t({type:h.CHATROOM_NOT_EXIST,data:e.response||e.responseText,message:"The chat room dose not exist.",extraInfo:A(A({},w),{errDesc:"The chat room dose not exist."})}):(null===(O=N.error_description)||void 0===O?void 0:O.includes("username"))&&(null===(b=N.error_description)||void 0===b?void 0:b.includes("doesn't exist!'"))||(null===(S=N.error_description)||void 0===S?void 0:S.includes("user not found"))||(null===(I=N.error_description)||void 0===I?void 0:I.includes("Service resource not found"))&&"UserNotFoundException"===(null==N?void 0:N.exception)?t({type:h.USER_NOT_FOUND,data:e.response||e.responseText,message:N.error_description,extraInfo:w}):t({type:h.WEBIM_CONNCTION_AJAX_ERROR,data:e.response||e.responseText,message:e.responseText,extraInfo:w}),r({type:h.WEBIM_CONNCTION_AJAX_ERROR,data:e.response||e.responseText,message:e.responseText,extraInfo:w});else if(406===M)90004===N.error_code&&t({type:h.OPERATION_NOT_ALLOWED,message:null==N?void 0:N.error_description,extraInfo:w});else if(429===M||503===M){if(null===(R=N.error_description)||void 0===R?void 0:R.includes("The request has reached the maximum limit"))return void t({type:h.MAX_LIMIT,message:e.responseText,extraInfo:w});t({type:h.SERVER_BUSY,data:e.response||e.responseText,message:"Server is busy.",extraInfo:A(A({},w),{errDesc:"Server is busy."})}),r({type:h.WEBIM_CONNCTION_AJAX_ERROR,data:e.responseText,message:"Server is busy.",extraInfo:A(A({},w),{errDesc:"Server is busy."})})}else if(500===M){if(40006===N.error_code||40008===N.error_code||40010===N.error_code)return void t({type:h.SERVER_UNKNOWN_ERROR,message:null==N?void 0:N.error_description,extraInfo:w});if(90005===N.error_code||99999===N.error_code)return void t({type:h.REQUEST_UNKNOWN,message:null==N?void 0:N.error_description,extraInfo:w});if(null===(C=N.error_description)||void 0===C?void 0:C.includes("translte failed!"))return void t({type:h.TRANSLATION_FAILED,message:e.responseText,extraInfo:w});t({type:h.WEBIM_CONNCTION_AJAX_ERROR,data:e.responseText,message:"",extraInfo:w}),r({type:h.WEBIM_CONNCTION_AJAX_ERROR,data:e.responseText,message:"",extraInfo:w})}else t({type:h.WEBIM_CONNCTION_AJAX_ERROR,data:e.responseText,message:e.responseText,extraInfo:A(A({},w),{errDesc:"ajax error"})}),r({type:h.WEBIM_CONNCTION_AJAX_ERROR,data:e.responseText,message:e.responseText,extraInfo:A(A({},w),{errDesc:"ajax error"})})}(s,n,a,e)}0===s.readyState&&(a({type:h.WEBIM_CONNCTION_AJAX_ERROR,data:s.responseText,message:"Request not initialized"}),n({type:h.WEBIM_CONNCTION_AJAX_ERROR,data:s.responseText,message:"Request not initialized"}))},e.responseType&&s.responseType&&(s.responseType=e.responseType),e.mimeType&&s.overrideMimeType(e.mimeType);var c=e.type||"POST",u=e.data||null,l="";if("get"===c.toLowerCase()&&u){for(var p in u)u.hasOwnProperty(p)&&(l+=p+"="+u[p]+"&");l=l?l.slice(0,-1):l,e.url+=(e.url.indexOf("?")>0?"&":"?")+(l?l+"&":l)+"_v="+(new Date).getTime(),u=null,l=""}r=(new Date).getTime(),s.open(c,e.url);var d=e.headers||{};for(var f in d["Content-Type"]||(d["Content-Type"]="application/json"),d)d.hasOwnProperty(f)&&s.setRequestHeader(f,d[f]);s.send(u)})).then((function(r){return n.dataReport&&t&&t!==_.SDK_INTERNAL&&n.dataReport.geOperateFun({operationName:t})({isEndApi:!0,data:L({isSuccess:1,requestUrl:e.url,requestName:t,requestMethod:e.type},Y(r.extraInfo))}),t!==_.SDK_INTERNAL&&delete r.extraInfo,"Object"===H(r)?L(L({},r),{type:h.REQUEST_SUCCESS}):{data:r,type:h.REQUEST_SUCCESS}})).catch((function(r){throw n.dataReport&&t&&t!==_.SDK_INTERNAL&&n.dataReport.geOperateFun({operationName:t})({isEndApi:!0,data:L({isSuccess:0,requestUrl:e.url,requestName:t,requestMethod:e.type},Y(r.extraInfo))}),t!==_.SDK_INTERNAL&&delete r.extraInfo,r})):F.call(this,e,t)}function H(e){return Object.prototype.toString.call(e).slice(8,-1)}function F(e,t){var r=this;return new Promise((function(t,r){var n=e.success||D,o=e.error||D,i=e.type||"POST",a=e.data||null,s="",c=(new Date).getTime(),u=X.getEnvInfo();if("get"===i.toLowerCase()&&a){for(var l in a)a.hasOwnProperty(l)&&(s+=l+"="+a[l]+"&");s=s?s.slice(0,-1):s,e.url+=(e.url.indexOf("?")>0?"&":"?")+(s?s+"&":s)+"_v="+(new Date).getTime(),a=null,s=""}var p={url:e.url,data:e.data,method:i,headers:{},success:function(e){var i,a,s,u,l,p={elapse:(new Date).getTime()-c,httpCode:Number((null===(i=e.statusCode)||void 0===i?void 0:i.toString())||(null===(a=e.status)||void 0===a?void 0:a.toString())),errDesc:(null===(s=null==e?void 0:e.data)||void 0===s?void 0:s.error_description)||""};if("200"===(null===(u=e.statusCode)||void 0===u?void 0:u.toString())||"200"===(null===(l=e.status)||void 0===l?void 0:l.toString())){e.data.extraInfo=p;var d=e.data;n(d),t(d)}else e.extraInfo=p,o(d=e),r(d)},complete:function(){},fail:function(e){var t={elapse:(new Date).getTime()-c,httpCode:-1,errDesc:"request:fail"};e.extraInfo=t,e.data={error:"request:fail",error_description:"request:fail"},o(e),r(e)}};if("zfb"===u.platform||"dd"===u.platform?p.headers=e.headers:p.header=e.headers,"dd"===u.platform)return dd.httpRequest(p);u.global.request(p)})).then((function(n){return r.dataReport&&t&&t!==_.SDK_INTERNAL&&r.dataReport.geOperateFun({operationName:t})({isEndApi:!0,data:L({isSuccess:1,requestUrl:e.url,requestName:t,requestMethod:e.type},Y(n.extraInfo))}),t!==_.SDK_INTERNAL&&delete n.extraInfo,"Object"===H(n)?L(L({},n),{type:h.REQUEST_SUCCESS}):{data:n,type:h.REQUEST_SUCCESS}})).catch((function(n){throw r.dataReport&&t&&t!==_.SDK_INTERNAL&&r.dataReport.geOperateFun({operationName:t})({isEndApi:!0,data:L({isSuccess:0,requestUrl:e.url,requestName:t,requestMethod:e.type},Y(n.extraInfo))}),t!==_.SDK_INTERNAL&&delete n.extraInfo,n}))}var $,z,W,V=($=function(e,t){var r=q();if(r.platform!==W.WEB){var n=r.global,o=function(r){r.isConnected?e():t()};n.offNetworkStatusChange&&n.offNetworkStatusChange(o),n.onNetworkStatusChange&&n.onNetworkStatusChange(o)}else"undefined"!=typeof addEventListener&&(window.addEventListener("online",e),window.addEventListener("offline",t))},function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(!$)return z;z=$.apply(void 0,e),$=null});function q(){return"undefined"!=typeof swan&&K(swan)?{platform:W.BAIDU,global:swan}:"undefined"!=typeof tt&&K(tt)?{platform:W.TT,global:tt}:"undefined"!=typeof dd&&K(dd)?{platform:W.DD,global:dd}:"undefined"!=typeof my&&K(my)?{platform:W.ZFB,global:my}:"undefined"!=typeof e&&K(e)?{platform:W.WX,global:e}:"undefined"!=typeof n&&K(n)?{platform:W.UNI,global:n}:"undefined"!=typeof window&&window.WebSocket?{platform:W.WEB,global:window}:{platform:W.NODE,global:o.g||{}}}function K(e){for(var t=["canIUse","getSystemInfo"],r=0,n=t.length;r<n;r++)if(!e[t[r]])return!1;return!0}function Q(e,t){var r,n,o,i,a=this,s=(new Date).getTime(),c=e.accessToken;if(c){var u=e.appKey,l=[],p="",d="";if(u&&(p=(l=u.split("#"))[0],d=l[1]),p||d){var f=e.apiUrl,m=e.uploadUrl||f+"/"+p+"/"+d+"/chatfiles";if((null===(n=null===(r=null==e?void 0:e.file)||void 0===r?void 0:r.data)||void 0===n?void 0:n.size)<=0)e.onFileUploadError&&e.onFileUploadError({type:h.WEBIM_UPLOADFILE_ERROR,message:"fileSize must be greater than 0"});else{var g=new XMLHttpRequest;g.upload&&(null===(i=(o=g.upload).addEventListener)||void 0===i||i.call(o,"progress",e.onFileUploadProgress||D,!1)),g.addEventListener("abort",e.onFileUploadCanceled||D,!1),g.addEventListener("error",(function(e){v({type:h.WEBIM_UPLOADFILE_ERROR,data:g})}),!1),g.addEventListener("load",(function(r){try{var n=JSON.parse(g.responseText);if(400===g.status)return v({type:h.WEBIM_UPLOADFILE_ERROR,data:n}),!1;try{!function(r){var n=(new Date).getTime()-s;a.dataReport&&t&&[_.UPLOAD_MSG_ATTACH,_.UPLOAD_CHATROOM_FILE,_.UPLOAD_GROUP_FILE].includes(t)&&a.dataReport.geOperateFun({operationName:t})({isEndApi:!0,data:{isSuccess:(null==r?void 0:r.error)?0:1,requestMethod:"POST",requestName:t,requestElapse:n,requestUrl:m,code:g.status,codeDesc:(null==r?void 0:r.error_description)||""}}),e.onFileUploadComplete&&e.onFileUploadComplete(r)}(n)}catch(r){v({type:h.WEBIM_CONNCTION_CALLBACK_INNER_ERROR,data:r})}}catch(r){v({type:h.WEBIM_UPLOADFILE_ERROR,data:g.responseText})}}),!1),g.open("POST",m),g.setRequestHeader("restrict-access","true"),g.setRequestHeader("Accept","*/*"),g.setRequestHeader("Authorization","Bearer "+c);var y=new FormData;y.append("file",e.file.data),e.thumbnailWidth&&y.append("thumbnail-width",e.thumbnailWidth+""),e.thumbnailHeight&&y.append("thumbnail-height",e.thumbnailHeight+""),g.send(y)}}else e.onFileUploadError&&e.onFileUploadError({type:h.WEBIM_UPLOADFILE_ERROR,message:"AppKey illegal"})}else e.onFileUploadError&&e.onFileUploadError({type:h.WEBIM_UPLOADFILE_NO_LOGIN,message:"AccessToken cannot be empty"});function v(r){var n=(new Date).getTime()-s;a.dataReport&&t&&[_.UPLOAD_MSG_ATTACH,_.UPLOAD_CHATROOM_FILE,_.UPLOAD_GROUP_FILE].includes(t)&&a.dataReport.geOperateFun({operationName:t})({isEndApi:!0,data:{isSuccess:0,requestMethod:"POST",requestName:t,requestElapse:n,requestUrl:m,code:(null==g?void 0:g.status)||0,codeDesc:"upload file error"}}),e.onFileUploadError&&e.onFileUploadError(r)}}function J(e,t){e.onFileDownloadComplete=e.onFileDownloadComplete||D,e.onFileDownloadError=e.onFileDownloadError||D;var r=(new Date).getTime(),n=new XMLHttpRequest,o=this;n.addEventListener("load",(function(i){var a=(new Date).getTime()-r;o.dataReport&&t&&t===_.DOWN_GROUP_FILE&&o.dataReport.geOperateFun({operationName:t})({isEndApi:!0,data:{isSuccess:200===n.status?1:0,requestMethod:"POST",requestName:t,requestElapse:a,requestUrl:null==e?void 0:e.url,code:n.status,codeDesc:200===n.status?"":"download file error"}}),e.onFileDownloadComplete&&e.onFileDownloadComplete(n.response)}),!1),n.addEventListener("error",(function(i){var a=(new Date).getTime()-r;o.dataReport&&t&&t===_.DOWN_GROUP_FILE&&o.dataReport.geOperateFun({operationName:t})({isEndApi:!0,data:{isSuccess:0,requestMethod:"POST",requestName:t,requestElapse:a,requestUrl:null==e?void 0:e.url,code:(null==n?void 0:n.status)||0,codeDesc:"download file error"}}),e.onFileDownloadError&&e.onFileDownloadError({type:h.WEBIM_DOWNLOADFILE_ERROR,id:e.id,xhr:n})}),!1);var i=e.method||"GET",a=e.responseType||"blob",s=e.mimeType||"text/plain; charset=x-user-defined";n.open(i,e.url),"undefined"!=typeof Blob?n.responseType=a:n.overrideMimeType(s);var c={"X-Requested-With":"XMLHttpRequest",Accept:"application/octet-stream","share-secret":e.secret,Authorization:"Bearer "+this.context.accessToken},u=e.headers||{};for(var l in u)c[l]=u[l];for(var l in c)c[l]&&n.setRequestHeader(l,c[l]);n.send(null)}function Y(e){void 0===e&&(e={});var t=e.elapse,r=void 0===t?0:t,n=e.httpCode,o=void 0===n?0:n,i=e.errDesc;return{requestElapse:r,code:o,codeDesc:void 0===i?"":i}}!function(e){e.WEB="web",e.WX="wx",e.ZFB="zfb",e.DD="dd",e.TT="tt",e.BAIDU="baidu",e.QUICK_APP="quick_app",e.UNI="uni",e.NODE="node"}(W||(W={}));var X={autoIncrement:0,ajaxUnconventionalErrorTimes:0,ajax:G,getUniqueId:function(){this.autoIncrement?this.autoIncrement++:this.autoIncrement=1;var e=new Date,t=new Date(2010,1,1);return(e.getTime()-t.getTime()+this.autoIncrement).toString()},getFileUrl:function(e){var t={url:"",filename:"",filetype:"",data:{}},r="string"==typeof e?document.getElementById(e):e;if(window.URL.createObjectURL){if(!r.files)throw Error("this is not HTMLInputElement");var n=r.files;if(n.length>0){var o=n.item(0);t.data=o,t.url=window.URL.createObjectURL(o),t.filename=(null==o?void 0:o.name)||""}}else{if("string"!=typeof e)throw Error("in IE fileInputId must be string");o=document.getElementById(e).value,t.url=o;var i=o.lastIndexOf("/"),a=o.lastIndexOf("\\"),s=Math.max(i,a);t.filename=s<0?o:o.substring(s+1)}var c=t.filename.lastIndexOf(".");return-1!==c&&(t.filetype=t.filename.substring(c+1).toLowerCase()),t},uploadFile:Q,flow:function(e){for(var t=e.length,r=t;r--;)if("function"!=typeof e[r])throw new TypeError("Expected a function");return function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];for(var o=0,i=t?e[o].apply(this,r):r[0];++o<t;)i=e[o].call(this,i);return i}},listenNetwork:V,getEnvInfo:q,wxRequest:F,parseDownloadResponse:function(e){if(!window||!window.URL)throw Error("parseDownloadResponse can be used in broswer only");return e&&e.type&&"application/json"===e.type||0>Object.prototype.toString.call(e).indexOf("Blob")?this.url+"?token=":window.URL.createObjectURL(e)},download:J,parseNotify:function(e){for(var t="",r=0;r<e.length;r++)t+="%"+e[r].toString(16);return JSON.parse(decodeURIComponent(t))},getExtraData:Y,Uint8ArrayToString:function(e){for(var t="",r=0;r<e.length;r++)t+=String.fromCharCode(e[r]);return t}},Z=o(188),ee=o.n(Z),te=function(){return te=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},te.apply(this,arguments)};function re(e){var t,r,n,o=e.id,i=e.payload,a=e.timestamp,s=e.to,c=i.bodies&&i.bodies.length>0?i.bodies[0]:{},u={},l={},p=i.type?i.type:s.indexOf("@conference.easemob.com")>-1?"groupChat":"singleChat";switch(p="chat"===p?"singleChat":p,c.type){case"txt":var d=null===(t=null==i?void 0:i.meta)||void 0===t?void 0:t.edit_msg;if(u={id:o,type:"txt",chatType:p,msg:c.msg||"",to:i.to||"",from:i.from,time:a,ext:i.ext},d){var f=d.edit_time,h=d.operator,m=d.count;u.modifiedInfo={operationTime:f,operatorId:h,operationCount:m}}break;case"img":u={id:o,type:"img",chatType:p,to:i.to,from:i.from,time:a,ext:i.ext,width:(null===(r=c.size)||void 0===r?void 0:r.width)||0,height:(null===(n=c.size)||void 0===n?void 0:n.height)||0,secret:c.secret||"",url:(null==c?void 0:c.url)||"",file_length:c.file_length||0,file:{}};break;case"video":u={id:o,type:"video",chatType:p,from:i.from,to:i.to,url:(null==c?void 0:c.url)||"",secret:c.secret||"",filename:c.filename,length:c.length||0,file:{},file_length:c.file_length||0,filetype:i.ext.file_type||"",ext:i.ext,time:a};break;case"loc":u={id:o,type:"loc",chatType:p,from:i.from,to:i.to,buildingName:c.buildingName||"",addr:c.addr,lat:c.lat,lng:c.lng,ext:i.ext,time:a};break;case"audio":u={id:o,type:"audio",chatType:p,from:i.from,to:i.to,secret:c.secret||"",ext:i.ext,time:a,url:(null==c?void 0:c.url)||"",file:{},filename:c.filename,length:c.length||0,file_length:c.file_length||0,filetype:i.ext.file_type||""};break;case"file":u={id:o,type:"file",chatType:p,from:i.from,to:i.to,ext:i.ext,time:a,url:(null==c?void 0:c.url)||"",secret:c.secret||"",file:{},filename:c.filename||"",file_length:c.file_length||0,filetype:i.ext.file_type||""};break;case"cmd":u={id:o,type:"cmd",chatType:p,from:i.from,to:i.to,ext:i.ext,time:a,action:c.action||""};break;case"custom":u={id:o,type:"custom",chatType:p,from:i.from,to:i.to,ext:i.ext,time:a,customEvent:c.customEvent||"",customExts:c.customExts||""};break;case"combine":u={id:o,type:"combine",chatType:p,msg:c.msg||"",to:i.to||"",from:i.from,time:a,ext:i.ext,title:c.title||"",summary:c.summary||"",url:(null==c?void 0:c.url)||"",compatibleText:c.text,combineLevel:c.combineLevel||0,secret:c.secret||"",filename:c.filename||"",file_length:c.file_length||0};break;default:B.error("unexpected message: ".concat(e))}if(i.msgConfig&&(l.msgConfig=i.msgConfig),null==i?void 0:i.meta){var g=i.meta;g.thread&&(l.chatThread={messageId:g.thread.msg_parent_id,parentId:g.thread.muc_parent_id,chatThreadName:g.thread.thread_name}),g.reaction&&(l.reactions=g.reaction),g.translations&&(l.translations=g.translations)}return te(te({},u),l)}var ne,oe=function(e){return"".concat(e.conversationType,"-").concat(e.conversationId)},ie=function(e){var t=e.isRecallSelfMsg,r=e.conversation,n=e.recalledMsgTime,o=r.unReadCount,i=void 0===o?0:o,a=r.unreadCountClearTimestamp;return t||(void 0===a?0:a)>n?i:i&&i>0?i-1:0},ae=function(e){var t,r=0;if(0===e.length)return r;for(t=0;t<e.length;t++)r=(r<<5)-r+e.charCodeAt(t),r|=0;return r},se=function(){function e(e){var t=e.id;this.id=t,this.type=e.type}return e.prototype.set=function(e){this.body={id:this.id,ackId:e.id,type:"read",to:e.to,from:e.from||"",chatType:e.chatType}},e.create=function(e){return{id:X.getUniqueId(),chatType:e.chatType,ackId:e.id,type:"read",to:e.to,from:e.from||"",ackContent:e.ackContent,isChatThread:e.isChatThread,priority:e.priority,deliverOnlineOnly:e.deliverOnlineOnly}},e}(),ce=function(){function e(e){this.id=e.id,this.type=e.type}return e.prototype.set=function(e){this.body={id:this.id,ackId:e.ackId,type:"delivery",to:e.to,from:e.from||""}},e.create=function(e){return{id:X.getUniqueId(),ackId:e.ackId,type:"delivery",to:e.to,from:e.from||"",isChatThread:e.isChatThread,priority:e.priority,deliverOnlineOnly:e.deliverOnlineOnly}},e}(),ue=function(){function e(e){var t=e.type,r=e.id;this.id=r,this.type=t}return e.prototype.set=function(e){this.body={id:this.id,chatType:e.chatType||"singleChat",type:"channel",to:e.to,from:e.from||"",time:Date.now()}},e.prototype.setChatType=function(e){return!!this.body&&(this.body.chatType=e,!0)},e.prototype.setGroup=function(e){return!!this.body&&(this.body.group=e,!0)},e.create=function(e){return{id:X.getUniqueId(),type:"channel",chatType:e.chatType||"singleChat",to:e.to,from:e.from||"",time:Date.now(),isChatThread:e.isChatThread,priority:e.priority,deliverOnlineOnly:e.deliverOnlineOnly}},e}(),le=function(){function e(e){var t=e.type,r=e.id||X.getUniqueId();this.id=r,this.type=t,this.value=""}return e.prototype.set=function(e){this.body={id:this.id,chatType:e.chatType||"singleChat",type:"txt",to:e.to,msg:e.msg,from:e.from,roomType:e.roomType,success:e.success,fail:e.fail,ext:e.ext,time:Date.now(),isChatThread:e.isChatThread},this.value=e.msg},e.prototype.setChatType=function(e){return!!this.body&&(this.body.chatType=e,!0)},e.prototype.setGroup=function(e){return!!this.body&&(this.body.group=e,!0)},e.create=function(e){var t,r;return(null===(t=e.msgConfig)||void 0===t?void 0:t.languages)&&Array.isArray(null===(r=e.msgConfig)||void 0===r?void 0:r.languages),{type:"txt",id:X.getUniqueId(),msg:e.msg,to:e.to,from:e.from||"",chatType:e.chatType,ext:e.ext,time:Date.now(),msgConfig:e.msgConfig,isChatThread:e.isChatThread,priority:e.priority,deliverOnlineOnly:e.deliverOnlineOnly,receiverList:e.receiverList}},e}(),pe=function(){function e(e){var t=e.type,r=e.id;this.id=r||X.getUniqueId(),this.type=t}return e.prototype.set=function(e){this.body={id:this.id,chatType:e.chatType||"singleChat",type:"cmd",to:e.to,action:e.action,from:e.from,roomType:e.roomType,success:e.success,fail:e.fail,ext:e.ext,time:Date.now()}},e.prototype.setChatType=function(e){return!!this.body&&(this.body.chatType=e,!0)},e.prototype.setGroup=function(e){return!!this.body&&(this.body.group=e,!0)},e.create=function(e){return{id:X.getUniqueId(),type:"cmd",to:e.to,from:e.from||"",chatType:e.chatType||"singleChat",action:e.action,time:Date.now(),ext:e.ext,msgConfig:e.msgConfig,isChatThread:e.isChatThread,priority:e.priority,deliverOnlineOnly:e.deliverOnlineOnly,receiverList:e.receiverList}},e}(),de=function(){function e(e){var t=e.type,r=e.id||X.getUniqueId();this.id=r,this.type=t}return e.prototype.set=function(e){this.body={id:this.id,chatType:e.chatType||"singleChat",type:"custom",to:e.to,customEvent:e.customEvent,customExts:e.customExts,from:e.from,roomType:e.roomType,success:e.success,fail:e.fail,ext:e.ext,time:Date.now()}},e.prototype.setChatType=function(e){return!!this.body&&(this.body.chatType=e,!0)},e.prototype.setGroup=function(e){return!!this.body&&(this.body.group=e,!0)},e.create=function(e){return{id:X.getUniqueId(),chatType:e.chatType||"singleChat",type:"custom",to:e.to,customEvent:e.customEvent,customExts:e.customExts,from:e.from||"",ext:e.ext,time:Date.now(),msgConfig:e.msgConfig,isChatThread:e.isChatThread,priority:e.priority,deliverOnlineOnly:e.deliverOnlineOnly,receiverList:e.receiverList}},e}(),fe=function(){function e(e){var t=e.type,r=e.id;this.id=r||X.getUniqueId(),this.type=t}return e.prototype.set=function(e){this.body={id:this.id,chatType:e.chatType||"singleChat",type:"loc",to:e.to,addr:e.addr,buildingName:e.buildingName,lat:e.lat,lng:e.lng,from:e.from,roomType:e.roomType,success:e.success,fail:e.fail,ext:e.ext,time:Date.now()}},e.prototype.setChatType=function(e){return!!this.body&&(this.body.chatType=e,!0)},e.prototype.setGroup=function(e){return!!this.body&&(this.body.group=e,!0)},e.create=function(e){return{id:X.getUniqueId(),chatType:e.chatType||"singleChat",type:"loc",to:e.to,addr:e.addr,buildingName:e.buildingName,lat:e.lat,lng:e.lng,from:e.from||"",ext:e.ext,time:Date.now(),msgConfig:e.msgConfig,isChatThread:e.isChatThread,priority:e.priority,deliverOnlineOnly:e.deliverOnlineOnly,receiverList:e.receiverList}},e}(),he=function(){function e(e){var t=e.type,r=e.id||X.getUniqueId();this.id=r,this.type=t}return e.prototype.set=function(e){e.file=e.file||e.fileInputId&&X.getFileUrl(e.fileInputId),this.body={id:this.id,chatType:e.chatType||"singleChat",type:"img",file:e.file,width:e.width,height:e.height,to:e.to,from:e.from||"",roomType:e.roomType,success:e.success,fail:e.fail,ext:e.ext,time:Date.now(),onFileUploadError:e.onFileUploadError,onFileUploadComplete:e.onFileUploadComplete,onFileUploadProgress:e.onFileUploadProgress,body:e.body,isChatThread:e.isChatThread}},e.prototype.setChatType=function(e){return!!this.body&&(this.body.chatType=e,!0)},e.prototype.setGroup=function(e){return!!this.body&&(this.body.group=e,!0)},e.create=function(e){return{id:X.getUniqueId(),chatType:e.chatType,type:"img",url:e.url,width:e.width,height:e.height,file:e.file,to:e.to,from:e.from||"",ext:e.ext,time:Date.now(),msgConfig:e.msgConfig,file_length:e.file_length,onFileUploadError:e.onFileUploadError,onFileUploadComplete:e.onFileUploadComplete,onFileUploadProgress:e.onFileUploadProgress,isChatThread:e.isChatThread,priority:e.priority,deliverOnlineOnly:e.deliverOnlineOnly,receiverList:e.receiverList,thumbnailWidth:e.thumbnailWidth,thumbnailHeight:e.thumbnailHeight}},e}(),me=function(){function e(e){var t=e.type,r=e.id||X.getUniqueId();this.id=r,this.type=t}return e.prototype.set=function(e){e.file=e.file||e.fileInputId&&X.getFileUrl(e.fileInputId),this.body={id:this.id,chatType:e.chatType||"singleChat",type:"audio",file:e.file,filename:e.filename,length:e.length,file_length:e.file_length,fileInputId:e.fileInputId,to:e.to,from:e.from,roomType:e.roomType,success:e.success,fail:e.fail,ext:e.ext,time:Date.now(),onFileUploadError:e.onFileUploadError,onFileUploadComplete:e.onFileUploadComplete,onFileUploadProgress:e.onFileUploadProgress,body:e.body,isChatThread:e.isChatThread}},e.prototype.setChatType=function(e){return!!this.body&&(this.body.chatType=e,!0)},e.prototype.setGroup=function(e){return!!this.body&&(this.body.group=e,!0)},e.create=function(e){return{id:X.getUniqueId(),chatType:e.chatType,type:"audio",filename:e.filename,length:e.length,file:e.file,to:e.to,from:e.from||"",ext:e.ext,time:Date.now(),onFileUploadError:e.onFileUploadError,onFileUploadComplete:e.onFileUploadComplete,onFileUploadProgress:e.onFileUploadProgress,body:e.body,file_length:e.file_length,msgConfig:e.msgConfig,isChatThread:e.isChatThread,priority:e.priority,deliverOnlineOnly:e.deliverOnlineOnly,receiverList:e.receiverList}},e}(),ge=function(){function e(e){var t=e.type,r=e.id;this.id=r,this.type=t}return e.prototype.set=function(e){e.file=e.file||e.fileInputId&&X.getFileUrl(e.fileInputId),this.body={id:this.id,chatType:e.chatType||"singleChat",type:"video",file:e.file,filename:e.filename,length:e.length,file_length:e.file_length,fileInputId:e.fileInputId,to:e.to,from:e.from,roomType:e.roomType,success:e.success,fail:e.fail,ext:e.ext,time:Date.now(),apiUrl:e.apiUrl,onFileUploadError:e.onFileUploadError,onFileUploadComplete:e.onFileUploadComplete,onFileUploadProgress:e.onFileUploadProgress,body:e.body,isChatThread:e.isChatThread}},e.prototype.setChatType=function(e){return!!this.body&&(this.body.chatType=e,!0)},e.prototype.setGroup=function(e){return!!this.body&&(this.body.group=e,!0)},e.create=function(e){return{id:X.getUniqueId(),chatType:e.chatType||"singleChat",type:"video",file:e.file,filename:e.filename,length:e.length,file_length:e.file_length,fileInputId:e.fileInputId,to:e.to,from:e.from||"",ext:e.ext,time:Date.now(),onFileUploadError:e.onFileUploadError,onFileUploadComplete:e.onFileUploadComplete,onFileUploadProgress:e.onFileUploadProgress,body:e.body,msgConfig:e.msgConfig,isChatThread:e.isChatThread,priority:e.priority,deliverOnlineOnly:e.deliverOnlineOnly,receiverList:e.receiverList}},e}(),ye=function(){function e(e){var t=e.type,r=e.id;this.id=r,this.type=t}return e.prototype.set=function(e){e.file=e.file||e.fileInputId&&X.getFileUrl(e.fileInputId),this.body={id:this.id,chatType:e.chatType||"singleChat",type:"file",file:e.file,filename:e.filename,fileInputId:e.fileInputId,to:e.to,from:e.from,roomType:e.roomType,success:e.success,fail:e.fail,ext:e.ext,time:Date.now(),onFileUploadError:e.onFileUploadError,onFileUploadComplete:e.onFileUploadComplete,onFileUploadProgress:e.onFileUploadProgress,body:e.body,isChatThread:e.isChatThread}},e.prototype.setChatType=function(e){return!!this.body&&(this.body.chatType=e,!0)},e.prototype.setGroup=function(e){return!!this.body&&(this.body.group=e,!0)},e.create=function(e){return{id:X.getUniqueId(),chatType:e.chatType||"singleChat",type:"file",file:e.file,filename:e.filename,fileInputId:e.fileInputId,file_length:e.file_length,to:e.to,from:e.from||"",ext:e.ext,onFileUploadError:e.onFileUploadError,onFileUploadComplete:e.onFileUploadComplete,onFileUploadProgress:e.onFileUploadProgress,body:e.body,time:Date.now(),msgConfig:e.msgConfig,isChatThread:e.isChatThread,priority:e.priority,deliverOnlineOnly:e.deliverOnlineOnly,receiverList:e.receiverList}},e}(),ve=function(){function e(e){var t=e.type,r=e.id||X.getUniqueId();this.id=r,this.type=t,this.value=""}return e.create=function(e){return{type:"combine",id:X.getUniqueId(),to:e.to,from:e.from||"",chatType:e.chatType,ext:e.ext,time:Date.now(),msgConfig:e.msgConfig,isChatThread:e.isChatThread,priority:e.priority,deliverOnlineOnly:e.deliverOnlineOnly,receiverList:e.receiverList,compatibleText:e.compatibleText,title:e.title,summary:e.summary,messageList:e.messageList,onFileUploadError:e.onFileUploadError,onFileUploadComplete:e.onFileUploadComplete}},e}(),Ee=function(){function e(t,r){return this.type=t,this.id=r||X.getUniqueId(),e.createOldMsg({type:t,id:this.id})}return e.createOldMsg=function(e){switch(e.type){case"read":return new se({type:"read",id:e.id});case"delivery":return new ce({type:"delivery",id:e.id});case"channel":return new ue({type:"channel",id:e.id});case"txt":return new le({type:"txt",id:e.id});case"cmd":return new pe({type:"cmd",id:e.id});case"custom":return new de({type:"custom",id:e.id});case"loc":return new fe({type:"loc",id:e.id});case"img":return new he({type:"img",id:e.id});case"audio":return new me({type:"audio",id:e.id});case"video":return new ge({type:"video",id:e.id});case"file":return new ye({type:"file",id:e.id})}},e.create=function(e){return"txt"!==(t=e).type||"version"in t?function(e){return"img"===e.type&&!("version"in e)}(e)?he.create(e):function(e){return"cmd"===e.type&&!("version"in e)}(e)?pe.create(e):function(e){return"file"===e.type&&!("version"in e)}(e)?ye.create(e):function(e){return"audio"===e.type&&!("version"in e)}(e)?me.create(e):function(e){return"video"===e.type&&!("version"in e)}(e)?ge.create(e):function(e){return"custom"===e.type&&!("version"in e)}(e)?de.create(e):function(e){return"loc"===e.type&&!("version"in e)}(e)?fe.create(e):function(e){return"channel"===e.type&&!("version"in e)}(e)?ue.create(e):function(e){return"delivery"===e.type&&!("version"in e)}(e)?ce.create(e):function(e){return"read"===e.type&&!("version"in e)}(e)?se.create(e):function(e){return"combine"===e.type&&!("version"in e)}(e)?ve.create(e):{}:le.create(e);var t},e.prototype.set=function(e){},e}();!function(e){e[e.CREATE=0]="CREATE",e[e.FAIL=1]="FAIL",e[e.INPROGRESS=2]="INPROGRESS",e[e.SUCCESS=3]="SUCCESS"}(ne||(ne={}));var _e=function(){return _e=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},_e.apply(this,arguments)},Te=function(e,t,r,n){return new(r||(r=Promise))((function(o,i){function a(e){try{c(n.next(e))}catch(e){i(e)}}function s(e){try{c(n.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}c((n=n.apply(e,t||[])).next())}))},Oe=function(e,t){var r,n,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(r)throw new TypeError("Generator is already executing.");for(;a;)try{if(r=1,n&&(o=2&i[0]?n.return:i[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,i[1])).done)return o;switch(n=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,n=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!((o=(o=a.trys).length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],n=0}finally{r=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}},be={0:"TEXT",1:"IMAGE",2:"VIDEO",3:"LOCATION",4:"VOICE",5:"FILE",6:"COMMAND",7:"CUSTOM",8:"COMBINE"};function Se(e){for(var t={},r=0;r<e.length;r++)if(8===e[r].type)t[e[r].key]=JSON.parse(e[r].stringValue);else if(7===e[r].type)t[e[r].key]=e[r].stringValue;else if(6===e[r].type)t[e[r].key]=e[r].doubleValue;else if(5===e[r].type)t[e[r].key]=e[r].floatValue;else if(1===e[r].type){var n=e[r].varintValue,o=new(y())(n.low,n.high,n.unsigned).toString();t[e[r].key]=0!==Number(o)}else 2!==e[r].type&&3!==e[r].type&&4!==e[r].type||(n=e[r].varintValue,o=new(y())(n.low,n.high,n.unsigned).toString(),t[e[r].key]=Number(o));return t}function Ae(e){var t,r,n,o,i,a,s,c,u,l,p,d,f,h,m,g,y,v,E,_,T,O,b,S,A,I,R;return Te(this,void 0,void 0,(function(){var C,N,M,w,P,k,x,U,j,L,D,G,H,F,$,z,W,V,q,K,Q,J,Y,X,Z,ee,te,oe,ie,ae,se,ce,ue,le,pe,de,fe,he,me,ge,ye,ve,Ee,_e,Te,Ae,Ie,Re,Ce,Ne;return Oe(this,(function(Oe){switch(Oe.label){case 0:switch(C=e.status,N=e.thirdMessage,M=e.msgBody,w=e.msgId,P=e.type,k=e.from,x=e.to,U=e.time,j=e.onlineState,L=e.chatType,D=e.ignoreCallback,G=e.priority,H=e.format,F=e.broadcast,$=void 0!==F&&F,z={},W={},V=C.errorCode>0,q=C.errorCode,K=C.reason,Q={},J=[],Y=[],X={},Z="",ee=0,te=null,oe=null,N.ext&&(Q=Se(N.ext)),N.meta&&"string"==typeof N.meta&&((ae=JSON.parse(N.meta)).reaction&&(J=ae.reaction).forEach((function(e){e.isAddedBySelf=e.state,delete e.state})),ae.translations&&(Y=ae.translations),ae.edit_msg&&(se=ae.edit_msg,ce=se.count,ue=se.operator,le=se.edit_time,pe=se.sender,de=se.send_time,X={operationTime:le,operatorId:ue,operationCount:ce},Z=pe,ee=de),ae.thread&&"{}"!==JSON.stringify(ae.thread)&&(te={messageId:ae.thread.msg_parent_id,parentId:ae.thread.muc_parent_id,chatThreadName:ae.thread.thread_name}),ae.thread_overview&&"{}"!==JSON.stringify(ae.thread_overview)&&(oe={id:ae.thread_overview.id,parentId:ae.thread_overview.muc_parent_id,name:ae.thread_overview.name,lastMessage:ae.thread_overview.last_message&&"{}"!==JSON.stringify(ae.thread_overview.last_message)?re(ae.thread_overview.last_message):null,createTimestamp:ae.thread_overview.create_timestamp,updateTimestamp:ae.thread_overview.update_timestamp,messageCount:ae.thread_overview.message_count||0})),M.type){case 0:return[3,1];case 1:return[3,7];case 2:return[3,10];case 3:return[3,13];case 4:return[3,16];case 5:return[3,19];case 6:return[3,22];case 7:return[3,23];case 8:return[3,26]}return[3,27];case 1:return Object.prototype.hasOwnProperty.call(M,"subType")&&0===M.subType?(ie=(M.remotePath&&this.apiUrl+M.remotePath.substr(M.remotePath.indexOf("/",9)))+"?em-redirect=true",M.secretKey&&(ie="".concat(ie,"&share-secret=").concat(M.secretKey)),fe={id:w,type:"combine",chatType:L,to:x,from:k,ext:Q,time:Number(U),onlineState:j,title:M.title||"",summary:M.summary||"",url:ie||"",secret:M.secretKey||"",file_length:M.fileLength||0,filename:M.displayName||"",compatibleText:M.text,combineLevel:M.combineLevel||0},z.msgConfig&&(fe.msgConfig=z.msgConfig),J.length>0&&(fe.reactions=J),te&&(fe.chatThread=te),oe&&(fe.chatThreadOverview=oe),"chatRoom"===L&&(fe.priority=G,fe.broadcast=$),W=fe,D?[3,3]:[4,null===(r=null===(t=this._localCache)||void 0===t?void 0:t.getInstance())||void 0===r?void 0:r.storeMessage(fe,ne.SUCCESS)]):[3,4];case 2:Oe.sent(),null===(n=this.eventHandler)||void 0===n||n.dispatch("onCombineMessage",fe),Oe.label=3;case 3:return[3,28];case 4:return!(z={id:w,type:P,contentsType:be[M.type],from:k,to:x,data:M.text,ext:Q,sourceMsg:M.text,time:U,msgConfig:N.msgConfig,onlineState:j}).msgConfig&&delete N.msgConfig,z.error=V,z.errorText=K,z.errorCode=q,!D&&this.onTextMessage&&this.onTextMessage(z),he={id:w,type:"txt",chatType:L,msg:M.text,to:x,from:k,ext:Q,time:Number(U),onlineState:j},z.msgConfig&&(he.msgConfig=z.msgConfig),J.length>0&&(he.reactions=J),te&&(he.chatThread=te),oe&&(he.chatThreadOverview=oe),Y.length>0&&(he.translations=Y),X.operationCount>0&&(he.modifiedInfo=X,N.type===De.EDIT&&(he.from=Z,he.time=ee)),"chatRoom"===L&&(he.priority=G,he.broadcast=$),W=he,D?[3,6]:[4,null===(i=null===(o=this._localCache)||void 0===o?void 0:o.getInstance())||void 0===i?void 0:i.storeMessage(he,ne.SUCCESS)];case 5:Oe.sent(),null===(a=this.eventHandler)||void 0===a||a.dispatch("onTextMessage",he),Oe.label=6;case 6:return[3,28];case 7:return me=(null===(s=null==M?void 0:M.size)||void 0===s?void 0:s.width)||0,ge=(null===(c=null==M?void 0:M.size)||void 0===c?void 0:c.height)||0,ie=this.useOwnUploadFun?M.remotePath:(M.remotePath&&this.apiUrl+M.remotePath.substr(M.remotePath.indexOf("/",9)))+"?em-redirect=true",M.secretKey&&!this.useOwnUploadFun&&(ie="".concat(ie,"&share-secret=").concat(M.secretKey)),!(z={id:w,type:P,contentsType:be[M.type],from:k,to:x,url:ie,secret:M.secretKey,filename:M.displayName,thumb:this.useOwnUploadFun?"":"".concat(ie,"&thumbnail=true"),thumb_secret:M.secretKey,file_length:M.fileLength||"",width:me,height:ge,filetype:M.filetype||"",accessToken:this.token,ext:Q,time:U,msgConfig:N.msgConfig,onlineState:j}).delay&&delete z.delay,!z.msgConfig&&delete N.msgConfig,z.error=V,z.errorText=K,z.errorCode=q,!D&&this.onPictureMessage&&this.onPictureMessage(z),ye={id:w,type:"img",chatType:L,from:k,to:x,url:ie||"",width:me,height:ge,secret:M.secretKey||"",thumb:this.useOwnUploadFun?"":"".concat(ie,"&thumbnail=true"),thumb_secret:M.secretKey,file_length:M.fileLength||0,ext:Q,time:Number(U),onlineState:j},z.msgConfig&&(ye.msgConfig=z.msgConfig),J.length>0&&(ye.reactions=J),te&&(ye.chatThread=te),oe&&(ye.chatThreadOverview=oe),"chatRoom"===L&&(ye.priority=G,ye.broadcast=$),W=ye,D?[3,9]:[4,null===(l=null===(u=this._localCache)||void 0===u?void 0:u.getInstance())||void 0===l?void 0:l.storeMessage(ye,ne.SUCCESS)];case 8:Oe.sent(),null===(p=this.eventHandler)||void 0===p||p.dispatch("onImageMessage",ye),Oe.label=9;case 9:return[3,28];case 10:return ie=this.useOwnUploadFun?M.remotePath:(M.remotePath&&this.apiUrl+M.remotePath.substr(M.remotePath.indexOf("/",9)))+"?em-redirect=true",M.secretKey&&!this.useOwnUploadFun&&(ie="".concat(ie,"&share-secret=").concat(M.secretKey)),!(z={id:w,type:P,contentsType:be[M.type],from:k,to:x,url:ie,secret:M.secretKey,filename:M.displayName,length:M.duration||"",file_length:M.fileLength||"",filetype:M.filetype||"",accessToken:this.token||"",ext:Q,time:U,msgConfig:N.msgConfig,onlineState:j}).delay&&delete z.delay,!z.msgConfig&&delete N.msgConfig,z.error=V,z.errorText=K,z.errorCode=q,!D&&this.onVideoMessage&&this.onVideoMessage(z),ve={id:w,type:"video",chatType:L,from:k,to:x,url:ie,secret:M.secretKey,filename:M.displayName,length:M.duration||0,file:{},file_length:M.fileLength||0,filetype:M.filetype||"",accessToken:this.token||"",ext:Q,time:Number(U),onlineState:j},z.msgConfig&&(ve.msgConfig=z.msgConfig),J.length>0&&(ve.reactions=J),te&&(ve.chatThread=te),oe&&(ve.chatThreadOverview=oe),"chatRoom"===L&&(ve.priority=G,ve.broadcast=$),W=ve,D?[3,12]:[4,null===(f=null===(d=this._localCache)||void 0===d?void 0:d.getInstance())||void 0===f?void 0:f.storeMessage(ve,ne.SUCCESS)];case 11:Oe.sent(),null===(h=this.eventHandler)||void 0===h||h.dispatch("onVideoMessage",ve),Oe.label=12;case 12:return[3,28];case 13:return!(z={id:w,type:P,contentsType:be[M.type],from:k,to:x,addr:M.address,buildingName:M.buildingName,lat:M.latitude,lng:M.longitude,ext:Q,time:U,msgConfig:N.msgConfig,onlineState:j}).delay&&delete z.delay,!z.msgConfig&&delete N.msgConfig,z.error=V,z.errorText=K,z.errorCode=q,!D&&this.onLocationMessage&&this.onLocationMessage(z),Ee={id:w,type:"loc",chatType:L,from:k,to:x,buildingName:M.buildingName,addr:M.address,lat:M.latitude,lng:M.longitude,ext:Q,time:Number(U),onlineState:j},z.msgConfig&&(Ee.msgConfig=z.msgConfig),J.length>0&&(Ee.reactions=J),te&&(Ee.chatThread=te),oe&&(Ee.chatThreadOverview=oe),"chatRoom"===L&&(Ee.priority=G,Ee.broadcast=$),W=Ee,D?[3,15]:[4,null===(g=null===(m=this._localCache)||void 0===m?void 0:m.getInstance())||void 0===g?void 0:g.storeMessage(Ee,ne.SUCCESS)];case 14:Oe.sent(),null===(y=this.eventHandler)||void 0===y||y.dispatch("onLocationMessage",Ee),Oe.label=15;case 15:return[3,28];case 16:return ie=this.useOwnUploadFun?M.remotePath:(M.remotePath&&this.apiUrl+M.remotePath.substr(M.remotePath.indexOf("/",9)))+"?em-redirect=true",M.secretKey&&!this.useOwnUploadFun&&(ie="".concat(ie,"&share-secret=").concat(M.secretKey)),!(z={id:w,type:P,contentsType:be[M.type],from:k,to:x,url:ie,secret:M.secretKey,filename:M.displayName,file_length:M.fileLength||"",accessToken:this.token||"",ext:Q,length:M.duration,time:U,msgConfig:N.msgConfig,onlineState:j}).delay&&delete z.delay,!z.msgConfig&&delete N.msgConfig,z.error=V,z.errorText=K,z.errorCode=q,!D&&this.onAudioMessage&&this.onAudioMessage(z),_e={id:w,type:"audio",chatType:L,from:k,to:x,url:ie,secret:M.secretKey,file:{},filename:M.displayName,length:M.duration||0,file_length:M.fileLength||0,filetype:M.filetype||"",accessToken:this.token||"",ext:Q,time:Number(U),onlineState:j},z.msgConfig&&(_e.msgConfig=z.msgConfig),J.length>0&&(_e.reactions=J),te&&(_e.chatThread=te),oe&&(_e.chatThreadOverview=oe),"chatRoom"===L&&(_e.priority=G,_e.broadcast=$),W=_e,D?[3,18]:[4,null===(E=null===(v=this._localCache)||void 0===v?void 0:v.getInstance())||void 0===E?void 0:E.storeMessage(_e,ne.SUCCESS)];case 17:Oe.sent(),null===(_=this.eventHandler)||void 0===_||_.dispatch("onAudioMessage",_e),Oe.label=18;case 18:return[3,28];case 19:return ie=this.useOwnUploadFun?M.remotePath:(M.remotePath&&this.apiUrl+M.remotePath.substr(M.remotePath.indexOf("/",9)))+"?em-redirect=true",M.secretKey&&!this.useOwnUploadFun&&(ie="".concat(ie,"&share-secret=").concat(M.secretKey)),!(z={id:w,type:P,contentsType:be[M.type],from:k,to:x,url:ie,secret:M.secretKey,filename:M.displayName,file_length:M.fileLength,accessToken:this.token||"",ext:Q,time:U,msgConfig:N.msgConfig,onlineState:j}).delay&&delete z.delay,!z.msgConfig&&delete N.msgConfig,z.error=V,z.errorText=K,z.errorCode=q,!D&&this.onFileMessage&&this.onFileMessage(z),Te={id:w,type:"file",chatType:L,from:k,to:x,url:ie,secret:M.secretKey,file:{},filename:M.displayName,length:M.duration||0,file_length:M.fileLength||0,filetype:M.filetype||"",accessToken:this.token||"",ext:Q,time:Number(U),onlineState:j},z.msgConfig&&(Te.msgConfig=z.msgConfig),J.length>0&&(Te.reactions=J),te&&(Te.chatThread=te),oe&&(Te.chatThreadOverview=oe),"chatRoom"===L&&(Te.priority=G,Te.broadcast=$),W=Te,D?[3,21]:[4,null===(O=null===(T=this._localCache)||void 0===T?void 0:T.getInstance())||void 0===O?void 0:O.storeMessage(Te,ne.SUCCESS)];case 20:Oe.sent(),null===(b=this.eventHandler)||void 0===b||b.dispatch("onFileMessage",Te),Oe.label=21;case 21:return[3,28];case 22:return!(z={id:w,type:P,contentsType:be[M.type],from:k,to:x,action:M.action,ext:Q,time:U,msgConfig:N.msgConfig,onlineState:j}).msgConfig&&delete N.msgConfig,z.error=V,z.errorText=K,z.errorCode=q,!D&&this.onCmdMessage&&this.onCmdMessage(z),Ae={id:w,type:"cmd",chatType:L,from:k,to:x,action:M.action,ext:Q,time:Number(U),onlineState:j},z.msgConfig&&(Ae.msgConfig=z.msgConfig),J.length>0&&(Ae.reactions=J),te&&(Ae.chatThread=te),oe&&(Ae.chatThreadOverview=oe),"chatRoom"===L&&(Ae.priority=G,Ae.broadcast=$),W=Ae,D||null===(S=this.eventHandler)||void 0===S||S.dispatch("onCmdMessage",Ae),[3,28];case 23:return Ie={},Re={},N.contents[0].customExts&&(Ie=Se(N.contents[0].customExts)),N.contents[0].params&&(Re=Se(N.contents[0].params)),z={id:w,type:P,contentsType:be[M.type],from:k,to:x,customEvent:M.customEvent,params:Re,customExts:Ie,ext:Q,time:U,onlineState:j},!D&&this.onCustomMessage&&this.onCustomMessage(z),Ce={id:w,type:"custom",chatType:L,from:k,to:x,customEvent:M.customEvent,params:Re,customExts:Ie,ext:Q,time:Number(U),onlineState:j},z.msgConfig&&(Ce.msgConfig=z.msgConfig),J.length>0&&(Ce.reactions=J),te&&(Ce.chatThread=te),oe&&(Ce.chatThreadOverview=oe),"chatRoom"===L&&(Ce.priority=G,Ce.broadcast=$),W=Ce,D?[3,25]:[4,null===(I=null===(A=this._localCache)||void 0===A?void 0:A.getInstance())||void 0===I?void 0:I.storeMessage(Ce,ne.SUCCESS)];case 24:Oe.sent(),null===(R=this.eventHandler)||void 0===R||R.dispatch("onCustomMessage",Ce),Oe.label=25;case 25:return[3,28];case 26:return ie=(M.remotePath&&this.apiUrl+M.remotePath.substr(M.remotePath.indexOf("/",9)))+"?em-redirect=true",M.secretKey&&(ie="".concat(ie,"&share-secret=").concat(M.secretKey)),Ne={id:w,type:"combine",chatType:L,to:x,from:k,ext:Q,time:Number(U),onlineState:j,title:M.title||"",summary:M.summary||"",url:ie||"",secret:M.secretKey||"",file_length:M.fileLength||0,filename:M.displayName||"",compatibleText:M.text,combineLevel:M.combineLevel||0},z.msgConfig&&(Ne.msgConfig=z.msgConfig),J.length>0&&(Ne.reactions=J),te&&(Ne.chatThread=te),oe&&(Ne.chatThreadOverview=oe),"chatRoom"===L&&(Ne.priority=G,Ne.broadcast=$),W=Ne,!D&&this.eventHandler&&this.eventHandler.dispatch("onCombineMessage",Ne),[3,28];case 27:return B.error("Unknow message type, message:",M),[3,28];case 28:return H?[2,W]:[2,z]}}))}))}function Ie(e,t,r){if(this.delivery&&e!==t){var n=this.getUniqueId(),o=new Ee("delivery",n);o.set({ackId:r,to:e}),B.debug("send delivery ack"),this.send(o.body)}}var Re=function(e,t,r,n){var o,i,a,s,c,u,l,p,d,f,h,m,g,v,E,_,T,O,b,S;return Te(this,void 0,void 0,(function(){var A,I,R,C,N,M,w,P,k,x,U,j,L,D,G,H,F,$,z,W,V,q,K,Q,J,Y,Z,ee,te;return Oe(this,(function(re){switch(re.label){case 0:if(A=new(y())(e.timestamp.low,e.timestamp.high,e.timestamp.unsigned).toString(),I=this.root.lookup("easemob.pb.MessageBody"),R=I.decode(e.payload),C=1,e.meta&&e.meta.length)switch(X.parseNotify(e.meta).is_online){case 0:C=0;break;case 1:C=1;break;default:C=2}else C=3;switch(N=new(y())(e.id.low,e.id.high,e.id.unsigned).toString(),M=R.ackMessageId?new(y())(R.ackMessageId.low,R.ackMessageId.high,R.ackMessageId.unsigned).toString():"",w="",P=R.from&&R.from.name,k=R.to&&R.to.name,B.debug("thirdMessage:",R),R.type){case De.SINGLECHAT:return[3,1];case De.GROUPCHAT:return[3,2];case De.CHATROOM:return[3,3];case De.READ_ACK:return[3,4];case De.DELIVER_ACK:return[3,5];case De.RECALL:return[3,6];case De.CHANNEL_ACK:return[3,15];case De.EDIT:return[3,16]}return[3,19];case 1:return w="chat","agoraToken"===this.grantType&&(w="singleChat"),this.delivery&&!r&&P!==this.context.userId&&Ie.call(this,P,k,N),[3,20];case 2:return w="groupchat","agoraToken"===this.grantType&&(w="groupChat"),[3,20];case 3:return w="chatroom","agoraToken"===this.grantType&&(w="chatRoom"),C=1,[3,20];case 4:return w="read_ack",x=void 0,R.ext[0]&&JSON.parse(R.ext[0].stringValue)?(x={id:N,type:"read",from:P,to:k,mid:M,groupReadCount:R.ext[0]&&JSON.parse(R.ext[0].stringValue),ackContent:R.ackContent,onlineState:C},this.onReadMessage&&this.onReadMessage(x),null===(o=this.eventHandler)||void 0===o||o.dispatch("onReadMessage",x),[2]):(x={id:N,type:"read",from:P,to:k,mid:M,onlineState:C},this.onReadMessage&&this.onReadMessage(x),null===(i=this.eventHandler)||void 0===i||i.dispatch("onReadMessage",x),[2]);case 5:return w="deliver_ack",this.onDeliveredMessage&&this.onDeliveredMessage({id:N,type:"delivery",from:P,to:k,mid:M,onlineState:C}),U={id:N,type:"delivery",from:P,to:k,mid:M,onlineState:C},null===(a=this.eventHandler)||void 0===a||a.dispatch("onDeliveredMessage",U),[2];case 6:return w="recall",j={id:N,from:P||"admin",to:k,mid:M,onlineState:C},L=k===this.user?P:k,[4,null===(c=null===(s=this._localCache)||void 0===s?void 0:s.getInstance())||void 0===c?void 0:c.getMessageByServerMsgId(j.mid)];case 7:return(D=re.sent())?[4,null===(l=null===(u=this._localCache)||void 0===u?void 0:u.getInstance())||void 0===l?void 0:l.removeMsgByServerMsgId(j.mid)]:[3,9];case 8:re.sent(),re.label=9;case 9:return"singleChat"!==(null==D?void 0:D.chatType)&&"groupChat"!==(null==D?void 0:D.chatType)?[3,14]:(G=(null==D?void 0:D.from)===this.user||""===(null==D?void 0:D.from),[4,null===(d=null===(p=this._localCache)||void 0===p?void 0:p.getInstance())||void 0===d?void 0:d.getConversationLastMessage(L,D.chatType)]);case 10:return H=re.sent(),[4,null===(h=null===(f=this._localCache)||void 0===f?void 0:f.getInstance())||void 0===h?void 0:h.getConversationBySessionId(oe({conversationId:L,conversationType:D.chatType}))];case 11:return(F=re.sent())?[4,null===(g=null===(m=this._localCache)||void 0===m?void 0:m.getInstance())||void 0===g?void 0:g.updateLocalConversation(oe({conversationId:L,conversationType:D.chatType}),{lastMessageId:null==H?void 0:H.serverMsgId,unReadCount:ie({conversation:F,isRecallSelfMsg:G,recalledMsgTime:D.time})})]:[3,13];case 12:re.sent(),re.label=13;case 13:re.label=14;case 14:return this.onRecallMessage&&this.onRecallMessage(j),null===(v=this.eventHandler)||void 0===v||v.dispatch("onRecallMessage",j),[2];case 15:return this.onChannelMessage&&this.onChannelMessage({id:N,type:"channel",chatType:"singleChat",from:P,to:k,time:Number(A),onlineState:C}),$={id:N,type:"channel",chatType:"singleChat",from:P,to:k,time:Number(A),onlineState:C},null===(E=this.eventHandler)||void 0===E||E.dispatch("onChannelMessage",$),[2];case 16:return z={errorCode:0,reason:""},[4,Ae.call(this,{status:z,thirdMessage:R,msgBody:R.contents[0],msgId:N,type:w,from:P,to:k,time:A,onlineState:C,ignoreCallback:!0,format:!0})];case 17:return W=re.sent(),V=!!e.to&&-1!==e.to.domain.indexOf("conference"),W.chatType=V?"groupChat":"singleChat",q=R.editMessageId&&new(y())(R.editMessageId.low,R.editMessageId.high,R.editMessageId.unsigned).toString(),K={id:q,type:W.type,chatType:W.chatType,msg:W.msg,to:W.to,from:W.from,time:W.time,modifiedInfo:W.modifiedInfo},W.translations&&(K.translations=W.translations),[4,null===(T=null===(_=this._localCache)||void 0===_?void 0:_.getInstance())||void 0===T?void 0:T.getMessageByServerMsgId(q)];case 18:return"txt"===(null==(Q=re.sent())?void 0:Q.type)&&(null===(b=null===(O=this._localCache)||void 0===O?void 0:O.getInstance())||void 0===b||b.putMessageToDB(_e(_e({},Q),{msg:K.msg,modifiedInfo:K.modifiedInfo,translations:K.translations}))),"txt"===W.type&&(null===(S=this.eventHandler)||void 0===S||S.dispatch("onModifiedMessage",K)),[2];case 19:return B.error("unexpected message type: ".concat(R.type)),[2];case 20:J="normal",Z=!1,"chat"===w.toLowerCase()||"singleChat"===w?Y="singleChat":"groupchat"===w.toLowerCase()||"groupChat"===w?Y="groupChat":(Y="chatRoom",C=1,e.ext&&(ee=Se(e.ext),Z=!!(null==ee?void 0:ee.is_broadcast),J=0===ee.chatroom_msg_tag?"high":2===ee.chatroom_msg_tag?"low":"normal")),te=0,re.label=21;case 21:return te<R.contents.length?[4,Ae.call(this,{status:t,thirdMessage:R,msgBody:R.contents[te],msgId:N,type:w,from:P,to:k,time:A,onlineState:C,chatType:Y,ignoreCallback:r,priority:J,format:n,broadcast:Z})]:[3,24];case 22:return[2,re.sent()];case 23:return te++,[3,21];case 24:return[2]}}))}))},Ce=["public","members_only","allow_user_invites","invite_need_confirm"],Ne={name:"name",title:"name",description:"description",public:"public",members_only:"approval",allow_user_invites:"allowInvites",max_users:"maxUsers",invite_need_confirm:"inviteNeedConfirm",custom:"ext",last_modified:"lastModified"};function Me(e,t){var r,n,o,i,a,s,c=this,u=this.context,l=u.userId,p=u.jid,d=t.from.name===l&&p.clientResource!==t.from.clientResource;return t.isThread?(o={id:t.mucId.name,name:t.mucName,operation:"",parentId:t.mucParentId.name,operator:t.from.name,userName:t.to.length?t.to[0].name:""},i={chatThreadId:t.mucId.name,chatThreadName:t.mucName,operation:"",parentId:t.mucParentId.name}):(n={type:"",owner:t.from.name,gid:t.mucId.name,from:t.from.name,fromJid:t.from,to:t.to.length?t.to[0].name:"",toJid:t.to,chatroom:t.isChatroom,status:t.status},a={operation:"",id:t.mucId.name,from:t.from.name},t.isChatroom&&(null===(r=null==t?void 0:t.eventInfo)||void 0===r?void 0:r.ext)&&(s=JSON.parse(t.eventInfo.ext))),({45:function(){var e,r,n;a.operation="memberAttributesUpdate";var o=JSON.parse(null===(e=null==t?void 0:t.eventInfo)||void 0===e?void 0:e.ext)||{};a.attributes=o.properties||{},a.userId=o.username||"",d?null===(r=c.eventHandler)||void 0===r||r.dispatch("onMultiDeviceEvent",a):null===(n=c.eventHandler)||void 0===n||n.dispatch("onGroupEvent",a)},44:function(){var e;a.operation="removeChatRoomAttributes",a.attributes=s.result.successKeys,s.result.successKeys.length>0&&(null===(e=c.eventHandler)||void 0===e||e.dispatch("onChatroomEvent",a))},43:function(){var e;a.operation="updateChatRoomAttributes";var t={};s.result.successKeys.forEach((function(e){t[e]=s.properties[e]})),a.attributes=t,s.result.successKeys.length>0&&(null===(e=c.eventHandler)||void 0===e||e.dispatch("onChatroomEvent",a))},42:function(){},41:function(){},40:function(){},39:function(){},38:function(){var e;i.operation="chatThreadNameUpdate",null===(e=c.eventHandler)||void 0===e||e.dispatch("onMultiDeviceEvent",i)},37:function(){var e;o.operation="userRemove",null===(e=c.eventHandler)||void 0===e||e.dispatch("onChatThreadChange",o)},36:function(){var e;i.operation="chatThreadLeave",null===(e=c.eventHandler)||void 0===e||e.dispatch("onMultiDeviceEvent",i)},35:function(){var e;i.operation="chatThreadJoin",null===(e=c.eventHandler)||void 0===e||e.dispatch("onMultiDeviceEvent",i)},34:function(){var e;i.operation="chatThreadDestroy",null===(e=c.eventHandler)||void 0===e||e.dispatch("onMultiDeviceEvent",i)},33:function(){var e;i.operation="chatThreadCreate",null===(e=c.eventHandler)||void 0===e||e.dispatch("onMultiDeviceEvent",i)},32:function(){var e,r,o,i;n.type=t.isChatroom?"rmChatRoomMute":"rmGroupMute",c.onPresence&&c.onPresence(n),t.isChatroom?null===(e=c.eventHandler)||void 0===e||e.dispatch("onChatroomChange",n):null===(r=c.eventHandler)||void 0===r||r.dispatch("onGroupChange",n),a.operation="unmuteAllMembers",t.isChatroom?null===(o=c.eventHandler)||void 0===o||o.dispatch("onChatroomEvent",a):null===(i=c.eventHandler)||void 0===i||i.dispatch("onGroupEvent",a)},31:function(){var e,r,o,i;n.type=t.isChatroom?"muteChatRoom":"muteGroup",c.onPresence&&c.onPresence(n),t.isChatroom?null===(e=c.eventHandler)||void 0===e||e.dispatch("onChatroomChange",n):null===(r=c.eventHandler)||void 0===r||r.dispatch("onGroupChange",n),a.operation="muteAllMembers",t.isChatroom?null===(o=c.eventHandler)||void 0===o||o.dispatch("onChatroomEvent",a):null===(i=c.eventHandler)||void 0===i||i.dispatch("onGroupEvent",a)},30:function(){var e,r,o,i;n.type=t.isChatroom?"rmUserFromChatRoomWhiteList":"rmUserFromGroupWhiteList",c.onPresence&&c.onPresence(n),t.isChatroom?null===(e=c.eventHandler)||void 0===e||e.dispatch("onChatroomChange",n):null===(r=c.eventHandler)||void 0===r||r.dispatch("onGroupChange",n),a.operation="removeAllowlistMember",t.isChatroom?null===(o=c.eventHandler)||void 0===o||o.dispatch("onChatroomEvent",a):null===(i=c.eventHandler)||void 0===i||i.dispatch("onGroupEvent",a)},29:function(){var e,r,o,i;n.type=t.isChatroom?"addUserToChatRoomWhiteList":"addUserToGroupWhiteList",c.onPresence&&c.onPresence(n),t.isChatroom?null===(e=c.eventHandler)||void 0===e||e.dispatch("onChatroomChange",n):null===(r=c.eventHandler)||void 0===r||r.dispatch("onGroupChange",n),a.operation="addUserToAllowlist",t.isChatroom?null===(o=c.eventHandler)||void 0===o||o.dispatch("onChatroomEvent",a):null===(i=c.eventHandler)||void 0===i||i.dispatch("onGroupEvent",a)},28:function(){var e,r,o,i;n.type="deleteFile",c.onPresence&&c.onPresence(n),t.isChatroom?null===(e=c.eventHandler)||void 0===e||e.dispatch("onChatroomChange",n):null===(r=c.eventHandler)||void 0===r||r.dispatch("onGroupChange",n),a.operation="deleteFile",t.isChatroom?null===(o=c.eventHandler)||void 0===o||o.dispatch("onChatroomEvent",a):null===(i=c.eventHandler)||void 0===i||i.dispatch("onGroupEvent",a)},27:function(){var e,r,o,i;n.type="uploadFile",c.onPresence&&c.onPresence(n),t.isChatroom?null===(e=c.eventHandler)||void 0===e||e.dispatch("onChatroomChange",n):null===(r=c.eventHandler)||void 0===r||r.dispatch("onGroupChange",n),a.operation="uploadFile",t.isChatroom?null===(o=c.eventHandler)||void 0===o||o.dispatch("onChatroomEvent",a):null===(i=c.eventHandler)||void 0===i||i.dispatch("onGroupEvent",a)},26:function(){var e,r,o,i;n.type="deleteAnnouncement",c.onPresence&&c.onPresence(n),t.isChatroom?null===(e=c.eventHandler)||void 0===e||e.dispatch("onChatroomChange",n):null===(r=c.eventHandler)||void 0===r||r.dispatch("onGroupChange",n),a.operation="deleteAnnouncement",t.isChatroom?null===(o=c.eventHandler)||void 0===o||o.dispatch("onChatroomEvent",a):null===(i=c.eventHandler)||void 0===i||i.dispatch("onGroupEvent",a)},25:function(){var e,r,o,i;n.type="updateAnnouncement",c.onPresence&&c.onPresence(n),t.isChatroom?null===(e=c.eventHandler)||void 0===e||e.dispatch("onChatroomChange",n):null===(r=c.eventHandler)||void 0===r||r.dispatch("onGroupChange",n),a.operation="updateAnnouncement",t.isChatroom?null===(o=c.eventHandler)||void 0===o||o.dispatch("onChatroomEvent",a):null===(i=c.eventHandler)||void 0===i||i.dispatch("onGroupEvent",a)},24:function(){var e,r,o,i;n.type="removeMute",c.onPresence&&c.onPresence(n),t.isChatroom?null===(e=c.eventHandler)||void 0===e||e.dispatch("onChatroomChange",n):null===(r=c.eventHandler)||void 0===r||r.dispatch("onGroupChange",n),a.operation="unmuteMember",t.isChatroom?null===(o=c.eventHandler)||void 0===o||o.dispatch("onChatroomEvent",a):null===(i=c.eventHandler)||void 0===i||i.dispatch("onGroupEvent",a)},23:function(){var e,r,o,i;n.type="addMute",c.onPresence&&c.onPresence(n),t.isChatroom?null===(e=c.eventHandler)||void 0===e||e.dispatch("onChatroomChange",n):null===(r=c.eventHandler)||void 0===r||r.dispatch("onGroupChange",n),a.operation="muteMember",t.isChatroom?null===(o=c.eventHandler)||void 0===o||o.dispatch("onChatroomEvent",a):null===(i=c.eventHandler)||void 0===i||i.dispatch("onGroupEvent",a)},22:function(){var e,r,o,i;n.type="removeAdmin",c.onPresence&&c.onPresence(n),t.isChatroom?null===(e=c.eventHandler)||void 0===e||e.dispatch("onChatroomChange",n):null===(r=c.eventHandler)||void 0===r||r.dispatch("onGroupChange",n),a.operation="removeAdmin",t.isChatroom?null===(o=c.eventHandler)||void 0===o||o.dispatch("onChatroomEvent",a):null===(i=c.eventHandler)||void 0===i||i.dispatch("onGroupEvent",a)},21:function(){var e,r,o,i;n.type="addAdmin",c.onPresence&&c.onPresence(n),t.isChatroom?null===(e=c.eventHandler)||void 0===e||e.dispatch("onChatroomChange",n):null===(r=c.eventHandler)||void 0===r||r.dispatch("onGroupChange",n),a.operation="setAdmin",t.isChatroom?null===(o=c.eventHandler)||void 0===o||o.dispatch("onChatroomEvent",a):null===(i=c.eventHandler)||void 0===i||i.dispatch("onGroupEvent",a)},20:function(){var e,r,o,i;n.type="changeOwner",c.onPresence&&c.onPresence(n),t.isChatroom?null===(e=c.eventHandler)||void 0===e||e.dispatch("onChatroomChange",n):null===(r=c.eventHandler)||void 0===r||r.dispatch("onGroupChange",n),a.operation="changeOwner",t.isChatroom?null===(o=c.eventHandler)||void 0===o||o.dispatch("onChatroomEvent",a):null===(i=c.eventHandler)||void 0===i||i.dispatch("onGroupEvent",a)},19:function(){var e,r,o,i;n.type="direct_joined",n.groupName=t.mucName,c.onPresence&&c.onPresence(n),t.isChatroom?null===(e=c.eventHandler)||void 0===e||e.dispatch("onChatroomChange",n):null===(r=c.eventHandler)||void 0===r||r.dispatch("onGroupChange",n),a.operation="directJoined",a.name=t.mucName,t.isChatroom?null===(o=c.eventHandler)||void 0===o||o.dispatch("onChatroomEvent",a):null===(i=c.eventHandler)||void 0===i||i.dispatch("onGroupEvent",a)},18:function(){var e,r,o,i;n.type=t.isChatroom?"leaveChatRoom":"leaveGroup",c.onPresence&&c.onPresence(n),t.isChatroom?null===(e=c.eventHandler)||void 0===e||e.dispatch("onChatroomChange",n):null===(r=c.eventHandler)||void 0===r||r.dispatch("onGroupChange",n),a.operation="memberAbsence",t.isChatroom?null===(o=c.eventHandler)||void 0===o||o.dispatch("onChatroomEvent",a):null===(i=c.eventHandler)||void 0===i||i.dispatch("onGroupEvent",a)},17:function(){var e,r,o,i;n.type=t.isChatroom?"memberJoinChatRoomSuccess":"memberJoinPublicGroupSuccess",c.onPresence&&c.onPresence(n),t.isChatroom?null===(e=c.eventHandler)||void 0===e||e.dispatch("onChatroomChange",n):null===(r=c.eventHandler)||void 0===r||r.dispatch("onGroupChange",n),a.operation="memberPresence",t.isChatroom?null===(o=c.eventHandler)||void 0===o||o.dispatch("onChatroomEvent",a):null===(i=c.eventHandler)||void 0===i||i.dispatch("onGroupEvent",a)},16:function(){var e,r;n.type="unblock",c.onPresence&&c.onPresence(n),t.isChatroom?null===(e=c.eventHandler)||void 0===e||e.dispatch("onChatroomChange",n):null===(r=c.eventHandler)||void 0===r||r.dispatch("onGroupChange",n)},15:function(){var e,r;n.type="block",c.onPresence&&c.onPresence(n),t.isChatroom?null===(e=c.eventHandler)||void 0===e||e.dispatch("onChatroomChange",n):null===(r=c.eventHandler)||void 0===r||r.dispatch("onGroupChange",n)},14:function(){var e,r,o,i,s,u=t.isChatroom;if(!u){var l=JSON.parse((null===(e=null==t?void 0:t.eventInfo)||void 0===e?void 0:e.ext)||"{}",(function(e,t){return"last_modified"===e?Number(t):Ce.includes(e)?"true"===t||!0===t:t}));a.detail=n.detail={},Object.keys(l).forEach((function(e){var t=Ne[e];if(t){var r=l[e];a.detail&&(a.detail[t]=r),n.detail&&(n.detail[t]=r)}}))}n.type="update",c.onPresence&&c.onPresence(n),u?null===(r=c.eventHandler)||void 0===r||r.dispatch("onChatroomChange",n):null===(o=c.eventHandler)||void 0===o||o.dispatch("onGroupChange",n),a.operation="updateInfo",u?null===(i=c.eventHandler)||void 0===i||i.dispatch("onChatroomEvent",a):null===(s=c.eventHandler)||void 0===s||s.dispatch("onGroupEvent",a)},13:function(){var e,r,o,i;n.type="allow",n.reason=t.reason,c.onPresence&&c.onPresence(n),t.isChatroom?null===(e=c.eventHandler)||void 0===e||e.dispatch("onChatroomChange",n):null===(r=c.eventHandler)||void 0===r||r.dispatch("onGroupChange",n),a.operation="unblockMember",t.isChatroom?null===(o=c.eventHandler)||void 0===o||o.dispatch("onChatroomEvent",a):null===(i=c.eventHandler)||void 0===i||i.dispatch("onGroupEvent",a)},12:function(){var e,r;n.type="ban",c.onPresence&&c.onPresence(n),t.isChatroom?null===(e=c.eventHandler)||void 0===e||e.dispatch("onChatroomChange",n):null===(r=c.eventHandler)||void 0===r||r.dispatch("onGroupChange",n)},11:function(){var e,r;n.type="getBlackList",c.onPresence&&c.onPresence(n),t.isChatroom?null===(e=c.eventHandler)||void 0===e||e.dispatch("onChatroomChange",n):null===(r=c.eventHandler)||void 0===r||r.dispatch("onGroupChange",n)},10:function(){var e,r,o,i;n.type="removedFromGroup",n.kicked=n.to,c.onPresence&&c.onPresence(n),t.isChatroom?null===(e=c.eventHandler)||void 0===e||e.dispatch("onChatroomChange",n):null===(r=c.eventHandler)||void 0===r||r.dispatch("onGroupChange",n),a.operation="removeMember",t.isChatroom?null===(o=c.eventHandler)||void 0===o||o.dispatch("onChatroomEvent",a):null===(i=c.eventHandler)||void 0===i||i.dispatch("onGroupEvent",a)},9:function(){var e,r,o,i;n.type="invite_decline",n.kicked=n.to,c.onPresence&&c.onPresence(n),t.isChatroom?null===(e=c.eventHandler)||void 0===e||e.dispatch("onChatroomChange",n):null===(r=c.eventHandler)||void 0===r||r.dispatch("onGroupChange",n),a.operation="rejectInvite",t.isChatroom?null===(o=c.eventHandler)||void 0===o||o.dispatch("onChatroomEvent",a):null===(i=c.eventHandler)||void 0===i||i.dispatch("onGroupEvent",a)},8:function(){var e,r,o,i;n.type="invite_accept",n.kicked=n.to,c.onPresence&&c.onPresence(n),t.isChatroom?null===(e=c.eventHandler)||void 0===e||e.dispatch("onChatroomChange",n):null===(r=c.eventHandler)||void 0===r||r.dispatch("onGroupChange",n),a.operation="acceptInvite",t.isChatroom?null===(o=c.eventHandler)||void 0===o||o.dispatch("onChatroomEvent",a):null===(i=c.eventHandler)||void 0===i||i.dispatch("onGroupEvent",a)},7:function(){var e,r,o,i;n.type="invite",n.kicked=n.to,n.groupName=t.mucName,c.onPresence&&c.onPresence(n),t.isChatroom?null===(e=c.eventHandler)||void 0===e||e.dispatch("onChatroomChange",n):null===(r=c.eventHandler)||void 0===r||r.dispatch("onGroupChange",n),a.operation="inviteToJoin",a.name=t.mucName,t.isChatroom?null===(o=c.eventHandler)||void 0===o||o.dispatch("onChatroomEvent",a):null===(i=c.eventHandler)||void 0===i||i.dispatch("onGroupEvent",a)},6:function(){var e,r,o,i;n.type="joinPublicGroupDeclined",c.onPresence&&c.onPresence(n),t.isChatroom?null===(e=c.eventHandler)||void 0===e||e.dispatch("onChatroomChange",n):null===(r=c.eventHandler)||void 0===r||r.dispatch("onGroupChange",n),a.operation="joinPublicGroupDeclined",t.isChatroom?null===(o=c.eventHandler)||void 0===o||o.dispatch("onChatroomEvent",a):(a.userId=t.to.length?t.to[0].name:"",null===(i=c.eventHandler)||void 0===i||i.dispatch("onGroupEvent",a))},5:function(){var e,r,o,i;n.type="joinPublicGroupSuccess",c.onPresence&&c.onPresence(n),t.isChatroom?null===(e=c.eventHandler)||void 0===e||e.dispatch("onChatroomChange",n):null===(r=c.eventHandler)||void 0===r||r.dispatch("onGroupChange",n),a.operation="acceptRequest",t.isChatroom?null===(o=c.eventHandler)||void 0===o||o.dispatch("onChatroomEvent",a):null===(i=c.eventHandler)||void 0===i||i.dispatch("onGroupEvent",a)},4:function(){var e,r,o,i;n.type="joinGroupNotifications",n.reason=t.reason,c.onPresence&&c.onPresence(n),t.isChatroom?null===(e=c.eventHandler)||void 0===e||e.dispatch("onChatroomChange",n):null===(r=c.eventHandler)||void 0===r||r.dispatch("onGroupChange",n),a.operation="requestToJoin",t.isChatroom?null===(o=c.eventHandler)||void 0===o||o.dispatch("onChatroomEvent",a):null===(i=c.eventHandler)||void 0===i||i.dispatch("onGroupEvent",a)},3:function(){var e,r;n.type="leave",c.onPresence&&c.onPresence(n),t.isChatroom?null===(e=c.eventHandler)||void 0===e||e.dispatch("onChatroomChange",n):null===(r=c.eventHandler)||void 0===r||r.dispatch("onGroupChange",n)},2:function(){var e,r;n.type="join",c.onPresence&&c.onPresence(n),t.isChatroom?null===(e=c.eventHandler)||void 0===e||e.dispatch("onChatroomChange",n):null===(r=c.eventHandler)||void 0===r||r.dispatch("onGroupChange",n)},1:function(){var e,r,o,i;n.type="deleteGroupChat",c.onPresence&&c.onPresence(n),t.isChatroom?null===(e=c.eventHandler)||void 0===e||e.dispatch("onChatroomChange",n):null===(r=c.eventHandler)||void 0===r||r.dispatch("onGroupChange",n),a.operation="destroy",t.isChatroom?null===(o=c.eventHandler)||void 0===o||o.dispatch("onChatroomEvent",a):null===(i=c.eventHandler)||void 0===i||i.dispatch("onGroupEvent",a)},0:function(){var e,r;a.operation="create",t.isChatroom?null===(e=c.eventHandler)||void 0===e||e.dispatch("onChatroomEvent",a):null===(r=c.eventHandler)||void 0===r||r.dispatch("onGroupEvent",a)}}[e]||function(){console.error("No match operation ".concat(e))})()}var we=function(e){var t=this.root.lookup("easemob.pb.MUCBody").decode(e.payload),r=t.operation;B.debug("onMucMessage",t),Me.call(this,r,t)},Pe={handleRosterMsg:function(e){var t,r,n,o,i,a,s=this.root.lookup("easemob.pb.RosterBody").decode(e.payload),c={type:"",to:s.to[0].name,from:s.from.name,status:s.reason};switch(s.operation){case 2:c.type="subscribe",this.onContactInvited&&this.onContactInvited(c),null===(t=this.eventHandler)||void 0===t||t.dispatch("onContactInvited",c);break;case 3:c.type="unsubscribed",this.onContactDeleted&&this.onContactDeleted(c),null===(r=this.eventHandler)||void 0===r||r.dispatch("onContactDeleted",c);break;case 4:c.type="subscribed",this.onContactAdded&&this.onContactAdded(c),null===(n=this.eventHandler)||void 0===n||n.dispatch("onContactAdded",c);break;case 5:c.type="unsubscribed",this.onContactRefuse&&this.onContactRefuse(c),null===(o=this.eventHandler)||void 0===o||o.dispatch("onContactRefuse",c);break;case 6:case 7:break;case 8:c.type="subscribed",this.onContactAgreed&&this.onContactAgreed(c),null===(i=this.eventHandler)||void 0===i||i.dispatch("onContactAgreed",c);break;case 9:c.type="unsubscribed",this.onContactRefuse&&this.onContactRefuse(c),null===(a=this.eventHandler)||void 0===a||a.dispatch("onContactRefuse",c);break;default:B.error("handleRosterMsg:",s)}this.onPresence&&c.type&&this.onPresence(c)}},ke=function(e){var t,r,n,o,i,a,s=this.root.lookup("easemob.pb.StatisticsBody").decode(e.payload);switch(s.operation){case 0:this.onStatisticMessage&&this.onStatisticMessage(s),null===(t=this.eventHandler)||void 0===t||t.dispatch("onStatisticMessage",s);break;case 1:a=v.create({type:h.WEBIM_CONNCTION_USER_REMOVED,message:"user has been removed"}),this.logOut=!0,this.onError&&this.onError(a),null===(r=this.eventHandler)||void 0===r||r.dispatch("onError",a);break;case 2:a=v.create({type:h.WEBIM_CONNCTION_USER_LOGIN_ANOTHER_DEVICE,message:"the user is already logged on another device"}),this.logOut=!0,this.onError&&this.onError(a),null===(n=this.eventHandler)||void 0===n||n.dispatch("onError",a);break;case 3:a=v.create({type:h.WEBIM_CONNCTION_USER_KICKED_BY_CHANGE_PASSWORD,message:"the user was kicked by changing password"}),this.logOut=!0,this.onError&&this.onError(a),null===(o=this.eventHandler)||void 0===o||o.dispatch("onError",a);break;case 4:a=v.create({type:h.WEBIM_CONNCTION_USER_KICKED_BY_OTHER_DEVICE,message:"the user was kicked by other device"}),this.logOut=!0,this.onError&&this.onError(a),null===(i=this.eventHandler)||void 0===i||i.dispatch("onError",a);break;default:B.error("handleStatisticsMsg:",s)}};function xe(e){var t,r=[],n=[],o=e.data;o&&o.values&&o.values.forEach((function(e){Object.entries(e.status).forEach((function(e){n.push({device:e[0],status:Number(e[1])})})),r.push({userId:e.uid,lastTime:Number(e.last_time),expire:Number(e.expiry),ext:e.ext,statusDetails:n})})),this.onPresenceStatusChange&&this.onPresenceStatusChange(r),null===(t=this.eventHandler)||void 0===t||t.dispatch("onPresenceStatusChange",r)}function Ue(e){var t=this;e.data.forEach((function(e){var r,n={from:e.from,to:e.to,chatType:"chat"===e.channel_type?"singleChat":"groupChat",messageId:e.messageId,reactions:e.reactions,ts:e.ts};null===(r=t.eventHandler)||void 0===r||r.dispatch("onReactionChange",n)}))}function je(e){var t,r,n,o;if(e.data){var i=e.data,a={id:i.id||"",name:i.name||"",parentId:i.muc_parent_id||"",messageId:i.msg_parent_id||"",timestamp:i.timestamp||0,operator:i.from||"",operation:""};switch(i.operation){case"create":a.operation="create",a.createTimestamp=a.timestamp,a.messageCount=0,null===(t=this.eventHandler)||void 0===t||t.dispatch("onChatThreadChange",a);break;case"update_msg":a.operation="update",a.messageCount=i.message_count,i.last_message&&"{}"!==JSON.stringify(i.last_message)?a.lastMessage=re(i.last_message):"{}"===JSON.stringify(i.last_message)&&(a.lastMessage={}),null===(r=this.eventHandler)||void 0===r||r.dispatch("onChatThreadChange",a);break;case"update":a.operation="update",a.messageCount=i.message_count,null===(n=this.eventHandler)||void 0===n||n.dispatch("onChatThreadChange",a);break;case"delete":a.operation="destroy",null===(o=this.eventHandler)||void 0===o||o.dispatch("onChatThreadChange",a)}}}function Be(e){var t,r=e.data;if(r.resource!==this.clientResource){var n={operation:"deleteRoaming",conversationId:r.to,chatType:"chat"===r.chatType?"singleChat":"groupChat",resource:r.resource};null===(t=this.eventHandler)||void 0===t||t.dispatch("onMultiDeviceEvent",n)}}function Le(e){var t,r=e.data,n={operation:"del"===r.op?"deleteConversation":"top"===r.op?"pinnedConversation":"unpinnedConversation",conversationId:r.id,conversationType:"chat"===r.type?"singleChat":"groupChat",timestamp:r.ts};this.clientResource!==r.res&&(null===(t=this.eventHandler)||void 0===t||t.dispatch("onMultiDeviceEvent",n))}var De,Ge=function(e){var t=X.parseNotify(e.payload);switch(t.type){case"presence":xe.call(this,t);break;case"reaction":Ue.call(this,t);break;case"thread":je.call(this,t);break;case"roaming_delete":Be.call(this,t);break;case"conv":Le.call(this,t);break;default:B.error("unexpected notify type: ".concat(t.type))}},He=function(){return He=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},He.apply(this,arguments)},Fe=function(e,t,r,n){return new(r||(r=Promise))((function(o,i){function a(e){try{c(n.next(e))}catch(e){i(e)}}function s(e){try{c(n.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}c((n=n.apply(e,t||[])).next())}))},$e=function(e,t){var r,n,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(r)throw new TypeError("Generator is already executing.");for(;a;)try{if(r=1,n&&(o=2&i[0]?n.return:i[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,i[1])).done)return o;switch(n=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,n=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!((o=(o=a.trys).length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],n=0}finally{r=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}};!function(e){e[e.NORMAL=0]="NORMAL",e[e.SINGLECHAT=1]="SINGLECHAT",e[e.GROUPCHAT=2]="GROUPCHAT",e[e.CHATROOM=3]="CHATROOM",e[e.READ_ACK=4]="READ_ACK",e[e.DELIVER_ACK=5]="DELIVER_ACK",e[e.RECALL=6]="RECALL",e[e.CHANNEL_ACK=7]="CHANNEL_ACK",e[e.EDIT=8]="EDIT"}(De||(De={}));var ze=X.getEnvInfo();function We(){var e="webim",t="",r="",n=[],o=(new Date).valueOf();"webim"===this.deviceId?(r="random_"+o.toString(),e=this.deviceId+"_"+r,t=this.deviceId):e=t=r="webim_"+this.deviceId,this.context.jid&&(this.context.jid.clientResource=e);var i=this.root.lookup("easemob.pb.Provision"),a=i.decode(n);a.compressType=this.compressType,a.encryptType=this.encryptType,a.osType=this.osType,a.version=this.version,a.deviceName=t,a.resource=e,a.deviceUuid=r,a.authToken='{"token":"$t$'+this.token+'"}',a.actionVersion="v2.0",a=i.encode(a).finish();var s=this.root.lookup("easemob.pb.MSync"),c=s.decode(n);return c.version=this.version,c.guid=this.context.jid,c.auth="$t$"+this.token,c.command=3,c.deviceId=t,c.serviceId=this.dataReport.getServiceId(),c.encryptType=this.encryptType,c.payload=a,s.encode(c).finish()}function Ve(e,t){var r=this,n=X.getEnvInfo();if("web"===n.platform||"zfb"===n.platform||"dd"===n.platform){for(var o="",i=0;i<e.length;i++)o+=String.fromCharCode(e[i]);return o=ee().btoa(o),"web"===n.platform?o:{data:o,isBuffer:!1,complete:function(){},fail:function(e){"sendSocketMessage:fail taskID not exist"!==e.errMsg&&"SocketTast.send:fail SocketTask.readyState is not OPEN"!==e.errMsg||(B.debug("send message fail and reconnect"),r.reconnecting||r.reconnect()),t&&r._msgHash&&r._msgHash[t]&&r._msgHash[t].fail({id:t})}}}var a=e;return{data:a.buffer.slice(a.byteOffset,a.byteOffset+a.byteLength),fail:function(e){"sendSocketMessage:fail taskID not exist"!==e.errMsg&&"SocketTast.send:fail SocketTask.readyState is not OPEN"!==e.errMsg||r.reconnecting||r.reconnect(),t&&r._msgHash&&r._msgHash[t]&&r._msgHash[t].fail({id:t})}}}function qe(e,t){switch(e.ns){case 0:ke.call(this,e);break;case 1:Re.call(this,e,t);break;case 2:we.call(this,e);break;case 3:Pe.handleRosterMsg.call(this,e);break;case 4:this.registerConfrIQHandler&&this.registerConfrIQHandler(e,t,this);break;case 5:Ge.call(this,e);break;default:B.error("distributeMeta",e)}}function Ke(e,t){for(var r=function(r){var o=new(y())(e[r].id.low,e[r].id.high,e[r].id.unsigned).toString();if(n._load_msg_cache.some((function(e){return e.msgId===o})))return"continue";var i=e[r].from.name,a=e[r].to?e[r].to.name:"",s=!!e[r].to&&-1!==e[r].to.domain.indexOf("conference");n._load_msg_cache.length<=n.max_cache_length||n._load_msg_cache.shift(),n._load_msg_cache.push({msgId:o,from:i,to:a,isGroup:s}),qe.call(n,e[r],t)},n=this,o=0;o<e.length;o++)r(o)}function Qe(e){var t=this.root.lookup("easemob.pb.CommUnreadDL");t=t.decode(e.payload);var r=new(y())(t.timestamp.low,t.timestamp.high,t.timestamp.unsigned).toString();if(this.expirationTime&&this.compareTokenExpireTime(Number(r),this.expirationTime),0===t.unread.length)it.call(this);else for(var n=0;n<t.unread.length;n++)B.debug("pull unread message",t.unread),Xe.call(this,t.unread[n].queue);it.call(this)}function Je(){var e=[],t=this.root.lookup("easemob.pb.StatisticsBody"),r=t.decode(e);r.operation=0,r=t.encode(r).finish();var n=this.root.lookup("easemob.pb.Meta").decode(e);n.id=(new Date).valueOf(),n.ns=0,n.payload=r;var o=this.root.lookup("easemob.pb.CommSyncUL"),i=o.decode(e);i.meta=n,i=o.encode(i).finish();var a=this.root.lookup("easemob.pb.MSync"),s=a.decode(e);return s.version=this.version,s.encryptType=[0],s.command=0,s.payload=i,a.encode(s).finish()}function Ye(e){var t=[],r=this.root.lookup("easemob.pb.CommSyncUL"),n=r.decode(t);n.queue=e,n=r.encode(n).finish();var o=this.root.lookup("easemob.pb.MSync"),i=o.decode(t);return i.version=this.version,i.encryptType=this.encryptType,i.command=0,i.payload=n,o.encode(i).finish()}function Xe(e){B.debug("sendBackqueue");var t=Ye.call(this,e);bt.call(this,t)}function Ze(e,t){var r=[],n=this.root.lookup("easemob.pb.CommSyncUL"),o=n.decode(r);o.queue=t,o.key=new(y())(e.low,e.high,e.unsigned).toString(),o=n.encode(o).finish();var i=this.root.lookup("easemob.pb.MSync"),a=i.decode(r);return a.version=this.version,a.encryptType=this.encryptType,a.command=0,a.payload=o,i.encode(a).finish()}function et(){var e;this.times=1,this.autoReconnectNumTotal=0,this.onOpened&&this.onOpened(),null===(e=this.eventHandler)||void 0===e||e.dispatch("onConnected"),ot.call(this),st.call(this),at.call(this),it.call(this)}function rt(e,t){B.debug("sendLastSession");var r=Ze.call(this,e,t);bt.call(this,r)}function nt(e){var t,r,n,o,i,a,s=this,c=this.root.lookup("easemob.pb.Provision").decode(e.payload);if(this.context.jid&&(this.context.jid.clientResource=c.resource),this.clientResource=c.resource,0===c.status.errorCode){if(c.authToken){var u=JSON.parse(c.authToken).expires_in;if(!this.tokenExpiredTimer&&!this.tokenWillExpireTimer){var l=Date.now();this.expirationTime=u;var p=this.expirationTime-l;this.expiresIn=p<0?0:p,this.tokenExpireTimeCountDown(this.expiresIn)}}this.reconnecting=!1,this.logOut=!1,"zfb"!==ze.platform&&"dd"!==ze.platform||(this.sock.readyState=1),this._localCache?(null===(t=this._localCache)||void 0===t?void 0:t.getInstance())?et.call(this):this._localCache&&new this._localCache({user:this.user,dbName:"cache_".concat(Math.abs(ae(this.appKey)),"_").concat(this.user),version:1,onInit:function(){return Fe(s,void 0,void 0,(function(){return $e(this,(function(e){return B.debug("localCache init success"),et.call(this),[2]}))}))}}):et.call(this)}else{var d=void 0,f=c.status.reason;switch(f){case"Sorry, the app day live count limit":d=v.create({type:h.MAX_LIMIT,message:"Sorry, the daily active user limit for this app has been reached"}),null===(r=this.eventHandler)||void 0===r||r.dispatch("onError",d);break;case"Sorry, the app online count limit":d=v.create({type:h.MAX_LIMIT,message:"Sorry, the maximum number limit of online users for this app has been reached"}),null===(n=this.eventHandler)||void 0===n||n.dispatch("onError",d);break;case"Sorry, the app month live count limit":d=v.create({type:h.MAX_LIMIT,message:"Sorry, the monthly active user limit for this app has been reached"}),null===(o=this.eventHandler)||void 0===o||o.dispatch("onError",d);break;case"Sorry, who are you?":d=v.create({type:h.WEBIM_CONNCTION_AUTH_ERROR,message:"Auth failed"}),null===(i=this.eventHandler)||void 0===i||i.dispatch("onError",d);break;default:d=v.create({type:h.SERVER_UNKNOWN_ERROR,message:f}),null===(a=this.eventHandler)||void 0===a||a.dispatch("onError",d)}}}function ot(){var e,t;if((null===(e=this.unMSyncSendMsgMap)||void 0===e?void 0:e.size)>0){for(var r=Array.from(this.unMSyncSendMsgMap.keys()),n=0;n<r.length;n++){var o=this.unMSyncSendMsgMap.get(r[n]);bt.call(this,o,r[n])}null===(t=this.unMSyncSendMsgMap)||void 0===t||t.clear()}}function it(){var e=Je.call(this);bt.call(this,e)}function at(){var e=ut.call(this);bt.call(this,e)}function st(){var e=this;ct.call(this),this.heartBeatID=setInterval((function(){at.call(e)}),this.heartBeatWait)}function ct(){clearInterval(this.heartBeatID)}function ut(){var e=this.root.lookup("easemob.pb.MSync"),t=e.decode([]);return t.version=this.version,t.encryptType=this.encryptType,t.command=1,e.encode(t).finish()}function lt(e,t){return e.some((function(e){return e.name===t.name}))}function pt(e){var t=this,r=this.root.lookup("easemob.pb.CommNotice"),n=r.decode(e.payload),o=lt(this._queues,n.queue);B.debug("receive notice",r,this._queues),o||this.clientResource===n.queue.clientResource&&n.queue.name===this.context.userId||(this.qTimer&&clearTimeout(this.qTimer),this.qTimer=setTimeout((function(){var e=n.queue;lt(t._queues,e)&&(Xe.call(t,e),B.debug("⬇q:",e))}),1e4),this._queues.push(n.queue),1===this._queues.length&&Xe.call(this,n.queue))}function dt(e){if("string"==typeof e){var t=JSON.parse(e);if(Array.isArray(t)){var r=t[0],n=t[1];this.closeInfo={code:r,reason:n}}}}function ft(e){return Fe(this,void 0,void 0,(function(){var t,r,n,o,i,a,s,c;return $e(this,(function(u){if(t=X.getEnvInfo(),r=this.root.lookup("easemob.pb.MSync"),"miniCore"===this.name){try{e.data instanceof ArrayBuffer||(B.debug("received message: ".concat(e.data)),dt.call(this,e.data)),o=new Uint8Array(e.data),n=r.decode(o)}catch(e){throw new Error("decode message fail.")}return[2,n]}if("web"===t.platform||"zfb"===t.platform||"dd"===t.platform){for('[401,"normal closed"]'===e.data&&(B.debug("received message: ".concat(e.data)),dt.call(this,e.data)),i=ee().atob(e.data),a=[],s=0,c=i.length;s<c;++s)a.push(i.charCodeAt(s));return[2,r.decode(a)]}try{e.data instanceof ArrayBuffer||(B.debug("received message: ".concat(e.data)),dt.call(this,e.data)),n=r.decode(e.data)}catch(e){throw new Error("decode message fail.")}return[2,n]}))}))}function ht(e){var t=this;e.then((function(e){if(e)switch(e.command){case 0:mt.call(t,e);break;case 1:Qe.call(t,e);break;case 2:pt.call(t,e);break;case 3:nt.call(t,e);break;default:B.error("unexpected msync command: ".concat(e.command))}else B.error("unexpected msync result: ".concat(e))}))}function mt(e){var t,r,n,o,i,a,s,c,u,l,p,d,f,m,g,E,_,T,O,S,A,R,C,N,M,w,P,k,x,U,j,B,L,D,G,H,F,$,z,W,V;return Fe(this,void 0,void 0,(function(){var q,K,Q,J,Y,Z,ee,te,re,oe,ie,ae,se,ce,ue,le,pe,de,fe,he,me,ge,ye,ve,Ee,_e,Te,Oe,be,Se=this;return $e(this,(function(Ae){switch(Ae.label){case 0:if(q=(q=this.root.lookup("easemob.pb.CommSyncDL")).decode(e.payload),K=new(y())(q.serverId.low,q.serverId.high,q.serverId.unsigned).toString(),Q=new(y())(q.metaId.low,q.metaId.high,q.metaId.unsigned).toString(),!(Number(Q)>0))return[3,10];if(!q.status)return[3,9];if(0!==q.status.errorCode)return[3,8];if(null==(J=this._msgHash[Q])?void 0:J.isHandleChatroom){try{Y="join"===(null===(t=this._msgHash[Q])||void 0===t?void 0:t.operation),(null===(r=this._msgHash[Q])||void 0===r?void 0:r.resolve)instanceof Function&&Y&&this._msgHash[Q].resolve({type:0,data:{action:"apply",id:this._msgHash[Q].roomId,result:!0,user:this.context.userId}}),(null===(n=this._msgHash[Q])||void 0===n?void 0:n.success)instanceof Function&&Y&&this._msgHash[Q].success({type:0,data:{action:"apply",id:this._msgHash[Q].roomId,result:!0,user:this.context.userId}}),(null===(o=this._msgHash[Q])||void 0===o?void 0:o.resolve)instanceof Function&&!Y&&this._msgHash[Q].resolve({type:0,data:{result:!0}}),(null===(i=this._msgHash[Q])||void 0===i?void 0:i.success)instanceof Function&&!Y&&this._msgHash[Q].success({type:0,data:{result:!0}})}catch(e){Te=v.create({type:h.WEBIM_CONNCTION_CALLBACK_INNER_ERROR,message:"when executing success function error",data:e}),this.onError&&this.onError(Te),null===(a=this.eventHandler)||void 0===a||a.dispatch("onError",Te)}delete this._msgHash[Q]}if(!J||J.isHandleChatroom)return[3,7];if(Z=null,ee="",te=0,0!==q.metas.length)try{(re=X.parseNotify(q.metas[0].payload)).edit_msg&&(oe=re.edit_msg,ie=oe.count,ae=oe.operator,se=oe.edit_time,ce=oe.sender,ue=oe.send_time,Z={operationTime:se,operatorId:ae,operationCount:ie},ee=ce,te=Number(ue))}catch(e){Te=v.create({type:h.WEBIM_LOAD_MSG_ERROR,message:"decode message error",data:e}),this.onError&&this.onError(Te),null===(s=this.eventHandler)||void 0===s||s.dispatch("onError",Te)}I.has(Q)&&(I.get(Q).rpt({isEndApi:!0,data:{isSuccess:1,requestMethod:"WEBSOCKET",requestUrl:this.url,code:b.success,msgId:K}}),I.delete(Q)),Ae.label=1;case 1:return Ae.trys.push([1,5,,6]),le={localMsgId:Q,serverMsgId:K},Z&&(this._msgHash[Q].modifiedInfo=Z,pe=this._msgHash[Q],de=pe.editMessageId,Ee=pe.type,fe=pe.chatType,he=pe.msg,me=pe.to,ge=pe.translations,ye={id:de,type:Ee,chatType:fe,msg:he,modifiedInfo:Z,to:me,from:ee,time:Number(te)},ge&&(ye.translations=ge),le.message=ye,null===(l=null===(u=null===(c=this._localCache)||void 0===c?void 0:c.getInstance())||void 0===u?void 0:u.getMessageByServerMsgId(de))||void 0===l||l.then((function(e){var t,r;e&&"txt"===e.type&&(null===(r=null===(t=Se._localCache)||void 0===t?void 0:t.getInstance())||void 0===r||r.putMessageToDB(He(He({},e),{msg:ye.msg,modifiedInfo:ye.modifiedInfo,translations:ye.translations})))}))),[4,null===(d=null===(p=this._localCache)||void 0===p?void 0:p.getInstance())||void 0===d?void 0:d.updateLocalMessage(Q,{serverMsgId:K,status:ne.SUCCESS})];case 2:return Ae.sent(),(null===(f=this._msgHash[Q])||void 0===f?void 0:f.success)instanceof Function?[4,this._msgHash[Q].success(Q,K)]:[3,4];case 3:Ae.sent(),Ae.label=4;case 4:return(null===(m=this._msgHash[Q])||void 0===m?void 0:m.resolve)instanceof Function&&this._msgHash[Q].resolve(le),[3,6];case 5:return ve=Ae.sent(),Te=v.create({type:h.WEBIM_CONNCTION_CALLBACK_INNER_ERROR,message:"when executing success function error",data:ve}),this.onError&&this.onError(Te),null===(g=this.eventHandler)||void 0===g||g.dispatch("onError",Te),[3,6];case 6:this.onReceivedMessage&&this.onReceivedMessage({id:Q,mid:K,to:this._msgHash[Q].to,time:0}),null===(E=this.eventHandler)||void 0===E||E.dispatch("onReceivedMessage",{id:Q,mid:K,to:this._msgHash[Q].to}),delete this._msgHash[Q],Ae.label=7;case 7:return[3,9];case 8:if(15===q.status.errorCode)(null===(_=this._msgHash[Q])||void 0===_?void 0:_.fail)instanceof Function&&this._msgHash[Q].fail({type:h.SERVICE_NOT_ALLOW_MESSAGING_MUTE,reason:"you were muted"}),this._msgHash[Q].reject instanceof Function&&this._msgHash[Q].reject({type:h.SERVICE_NOT_ALLOW_MESSAGING_MUTE,reason:"you were muted"}),null===(O=null===(T=this._localCache)||void 0===T?void 0:T.getInstance())||void 0===O||O.updateLocalMessage(Q,{serverMsgId:K,status:ne.FAIL});else if(1===q.status.errorCode){switch(Ee=void 0,q.status.reason){case"blocked":Ee=h.PERMISSION_DENIED;break;case"group not found":Ee=h.GROUP_NOT_EXIST;break;case"not in group or chatroom":Ee=h.GROUP_NOT_JOINED;break;case"exceed recall time limit":Ee=h.MESSAGE_RECALL_TIME_LIMIT;break;case"message recall disabled":Ee=h.SERVICE_NOT_ENABLED;break;case"not in group or chatroom white list":Ee=h.SERVICE_NOT_ALLOW_MESSAGING;break;case"nonroster":Ee=h.USER_NOT_FRIEND,q.status.reason="not contact";break;case"group is disabled":Ee=h.GROUP_IS_DISABLED,q.status.reason="group is disabled";break;case"limit directed users":Ee=h.MAX_LIMIT;break;case"Sorry, edit limit reached":Ee=h.MAX_LIMIT,q.status.reason="Modify message limit reached";break;case"Sorry, message does not exist":Ee=h.MODIFY_MESSAGE_NOT_EXIST,q.status.reason="The message does not exist.";break;case"Sorry, You do not have permission":Ee=h.PERMISSION_DENIED,q.status.reason="You do not have the modified permission.";break;case"Sorry, format is incorrect":Ee=h.MODIFY_MESSAGE_FORMAT_ERROR,q.status.reason="The modify messaged format error.";break;case"Sorry, edit is not available":Ee=h.SERVICE_NOT_ENABLED,q.status.reason="The message modify function is not activated.";break;case"Sorry, edit fail":Ee=h.MODIFY_MESSAGE_FAILED,q.status.reason="Modify message failed.";break;default:q.status.reason.includes("grpID")&&q.status.reason.includes("does not exist!")?(Ee=h.CHATROOM_NOT_EXIST,q.status.reason="The chat room dose not exist."):q.status.reason.includes("username")&&q.status.reason.includes("doesn't exist!")?Ee=h.USER_NOT_FOUND:"group member list is full!"===q.status.reason?Ee=h.CHATROOM_MEMBERS_FULL:q.status.reason.includes("can not join this group")&&q.status.reason.includes("is in the blacklist")?(Ee=h.PERMISSION_DENIED,q.status.reason="permission denied"):Ee="can not operate this group, reason: group is disabled"===q.status.reason?h.GROUP_IS_DISABLED:q.status.reason.includes("moderation")?h.MESSAGE_MODERATION_BLOCKED:h.SERVER_UNKNOWN_ERROR}this._msgHash[Q]&&((null===(S=this._msgHash[Q])||void 0===S?void 0:S.isHandleChatroom)?(_e=v.create({type:Ee,message:q.status.reason||"",data:""}),this._msgHash[Q].reject instanceof Function&&this._msgHash[Q].reject(_e),this._msgHash[Q].error instanceof Function&&this._msgHash[Q].error(_e)):(_e=v.create({type:Ee,message:q.status.reason||"",data:{id:Q,mid:K}}),this._msgHash[Q].reject instanceof Function&&this._msgHash[Q].reject(_e),this._msgHash[Q].fail instanceof Function&&this._msgHash[Q].fail({type:Ee,reason:q.status.reason?q.status.reason:"",data:{id:Q,mid:K}}),null===(R=null===(A=this._localCache)||void 0===A?void 0:A.getInstance())||void 0===R||R.updateLocalMessage(Q,{serverMsgId:K,status:ne.FAIL})),delete this._msgHash[Q])}else if(7===q.status.errorCode)"sensitive words"===q.status.reason&&this._msgHash[Q]?(_e=v.create({type:h.MESSAGE_INCLUDE_ILLEGAL_CONTENT,message:"sensitive words",data:{id:Q,mid:K}}),this._msgHash[Q].reject instanceof Function&&this._msgHash[Q].reject(_e),this._msgHash[Q].fail instanceof Function&&this._msgHash[Q].fail({type:h.MESSAGE_INCLUDE_ILLEGAL_CONTENT,data:{id:Q,mid:K,reason:"sensitive words"}}),null===(N=null===(C=this._localCache)||void 0===C?void 0:C.getInstance())||void 0===N||N.updateLocalMessage(Q,{serverMsgId:K,status:ne.FAIL})):"blocked by mod_antispam"===q.status.reason&&this._msgHash[Q]?(_e=v.create({type:h.MESSAGE_INCLUDE_ILLEGAL_CONTENT,message:"blocked by mod_antispam",data:{id:Q,mid:K}}),this._msgHash[Q].reject instanceof Function&&this._msgHash[Q].reject(_e),this._msgHash[Q].fail instanceof Function&&this._msgHash[Q].fail({type:h.MESSAGE_INCLUDE_ILLEGAL_CONTENT,data:{id:Q,mid:K,reason:"blocked by mod_antispam"}}),null===(w=null===(M=this._localCache)||void 0===M?void 0:M.getInstance())||void 0===w||w.updateLocalMessage(Q,{serverMsgId:K,status:ne.FAIL})):"user is mute"===q.status.reason&&this._msgHash[Q]?(_e=v.create({type:h.USER_MUTED_BY_ADMIN,message:"user is mute",data:{id:Q,mid:K}}),this._msgHash[Q].reject instanceof Function&&this._msgHash[Q].reject(_e),this._msgHash[Q].fail instanceof Function&&this._msgHash[Q].fail(_e),null===(k=null===(P=this._localCache)||void 0===P?void 0:P.getInstance())||void 0===k||k.updateLocalMessage(Q,{serverMsgId:K,status:ne.FAIL})):"traffic limit"===q.status.reason&&this._msgHash[Q]?(_e=v.create({type:h.MESSAGE_CURRENT_LIMITING,message:"traffic limit",data:{id:Q,mid:K}}),this._msgHash[Q].reject instanceof Function&&this._msgHash[Q].reject(_e),this._msgHash[Q].fail instanceof Function&&this._msgHash[Q].fail(_e),null===(U=null===(x=this._localCache)||void 0===x?void 0:x.getInstance())||void 0===U||U.updateLocalMessage(Q,{serverMsgId:K,status:ne.FAIL})):"Sorry, data is too large"===q.status.reason&&this._msgHash[Q]&&(_e=v.create({type:h.MESSAGE_SIZE_LIMIT,message:"Sorry, data is too large",data:{id:Q,mid:K}}),this._msgHash[Q].reject instanceof Function&&this._msgHash[Q].reject(_e),this._msgHash[Q].fail instanceof Function&&this._msgHash[Q].fail(_e),null===(B=null===(j=this._localCache)||void 0===j?void 0:j.getInstance())||void 0===B||B.updateLocalMessage(Q,{serverMsgId:K,status:ne.FAIL}));else if(19===q.status.errorCode)this._msgHash[Q]&&(I.has(Q)&&(I.get(Q).rpt({isEndApi:!0,data:{isSuccess:0,requestMethod:"WEBSOCKET",requestUrl:this.url,code:h.MESSAGE_EXTERNAL_LOGIC_BLOCKED,codeDesc:q.status.reason||"",msgId:K}}),I.delete(Q)),_e=v.create({type:h.MESSAGE_EXTERNAL_LOGIC_BLOCKED,message:q.status.reason||"",data:{id:Q,mid:K}}),this._msgHash[Q].reject instanceof Function&&this._msgHash[Q].reject(_e),this._msgHash[Q].fail instanceof Function&&this._msgHash[Q].fail({type:h.MESSAGE_EXTERNAL_LOGIC_BLOCKED,data:{id:Q,mid:K,reason:q.status.reason}}),null===(D=null===(L=this._localCache)||void 0===L?void 0:L.getInstance())||void 0===D||D.updateLocalMessage(Q,{serverMsgId:K,status:ne.FAIL}));else if(this._msgHash[Q]){I.has(Q)&&(I.get(Q).rpt({isEndApi:!0,data:{isSuccess:0,requestMethod:"WEBSOCKET",requestUrl:this.url,code:h.WEBIM_LOAD_MSG_ERROR,codeDesc:(null===(G=q.status)||void 0===G?void 0:G.reason)||"",msgId:K}}),I.delete(Q));try{_e=v.create({type:h.WEBIM_LOAD_MSG_ERROR,message:(null===(H=q.status)||void 0===H?void 0:H.reason)||"",data:{id:Q,mid:K,reason:q.status&&q.status.reason}}),this._msgHash[Q].reject instanceof Function&&this._msgHash[Q].reject(_e),null===($=null===(F=this._localCache)||void 0===F?void 0:F.getInstance())||void 0===$||$.updateLocalMessage(Q,{serverMsgId:K,status:ne.FAIL}),this._msgHash[Q].fail instanceof Function&&this._msgHash[Q].fail({type:h.WEBIM_LOAD_MSG_ERROR,data:{errorCode:q.status&&q.status.errorCode,reason:q.status&&q.status.reason}})}catch(e){Te=v.create({type:h.WEBIM_CONNCTION_CALLBACK_INNER_ERROR,message:"when executing fail function error",data:e}),this.onError&&this.onError(Te),null===(z=this.eventHandler)||void 0===z||z.dispatch("onError",Te)}delete this._msgHash[Q]}else I.has(Q)&&(I.get(Q).rpt({isEndApi:!0,data:{isSuccess:0,requestMethod:"WEBSOCKET",requestUrl:this.url,code:h.WEBIM_CONNCTION_CALLBACK_INNER_ERROR,codeDesc:"on message error",msgId:K}}),I.delete(Q)),Te=v.create({type:h.WEBIM_CONNCTION_CALLBACK_INNER_ERROR,message:"on message error"}),this.onError&&this.onError(Te),null===(W=this.eventHandler)||void 0===W||W.dispatch("onError",Te);Ae.label=9;case 9:return[2];case 10:if(0!==q.metas.length)try{Ke.call(this,q.metas,q.status)}catch(e){Te=v.create({type:h.WEBIM_LOAD_MSG_ERROR,message:"decode message error",data:e}),this.onError&&this.onError(Te),null===(V=this.eventHandler)||void 0===V||V.dispatch("onError",Te)}finally{q.isLast?(Oe=-1,this._queues.some((function(e,t){return e.name===q.name&&(Oe=t,!0)}))&&Oe>0&&this._queues.splice(Oe,1),this._queues.length>0&&(Xe.call(this,this._queues[0]),this.qTimer&&clearTimeout(this.qTimer))):rt.call(this,q.nextKey,q.queue)}else q.isLast&&(be=-1,this._queues.some((function(e,t){return e.name===q.queue.name&&(be=t,!0)}))&&this._queues.splice(be,1),this._queues.length>0&&(Xe.call(this,this._queues[0]),this.qTimer&&clearTimeout(this.qTimer)));return[2]}}))}))}function gt(e){var t=[],r=this.root.lookup("easemob.pb.KeyValue"),n=[];for(var o in e){var i=r.decode(t);i.key=o,"object"==c(e[o])?(i.type=8,i.stringValue=JSON.stringify(e[o])):"string"==typeof e[o]?(i.type=7,i.stringValue=e[o]):"boolean"==typeof e[o]?(i.type=1,i.varintValue=!0===e[o]?1:0):Number.isInteger(e[o])?(i.type=2,i.varintValue=e[o]):(i.type=6,i.doubleValue=e[o]),n.push(i)}return n}function yt(e){var t,r,n,o=[];if(this.root){var i,a=this.root.lookup("easemob.pb.MessageBody.Content").decode(o);switch(i=!e.group&&"groupchat"!==(null===(t=null==e?void 0:e.chatType)||void 0===t?void 0:t.toLowerCase())||e.roomType?e.group&&e.roomType||"chatroom"===(null===(r=null==e?void 0:e.chatType)||void 0===r?void 0:r.toLowerCase())?"chatRoom":"singleChat":"groupChat",e.type){case"txt":a.type=0,a.text=e.msg;break;case"img":a.type=1,e.body?(a.displayName=e.body.filename,a.remotePath=e.body.url,a.secretKey=e.body.secret,a.fileLength=e.body.file_length,a.size=e.body.size,a.thumbnailDisplayName=e.body.filename):e.file?(a.displayName=e.file.filename,a.remotePath=e.file.url,a.secretKey=e.file.secret,a.fileLength=e.file.file_length,a.size=e.file.size,a.thumbnailDisplayName=e.file.filename):(a.displayName=e.filename,a.remotePath=e.url,a.secretKey=e.secret,a.fileLength=e.file_length,a.size=e.size,a.thumbnailDisplayName=e.filename),e.isBuildCombinedMsg&&(a.size={height:e.height,width:e.width});break;case"video":a.type=2,e.body?(a.displayName=e.body.filename,a.remotePath=e.body.url,a.secretKey=e.body.secret,a.fileLength=e.body.file_length,a.duration=e.body.length,a.thumbnailDisplayName=e.body.filename):e.isBuildCombinedMsg&&(a.displayName=e.filename,a.remotePath=e.url,a.secretKey=e.secret,a.fileLength=e.file_length,a.duration=e.length,a.thumbnailDisplayName=e.filename);break;case"loc":a.type=3,a.latitude=e.lat,a.longitude=e.lng,a.address=e.addr,a.buildingName=e.buildingName,a.latitude=e.lat;break;case"audio":a.type=4,e.body?(a.displayName=e.body.filename,a.remotePath=e.body.url,a.secretKey=e.body.secret,a.fileLength=e.body.file_length,a.duration=e.body.length,a.thumbnailDisplayName=e.body.filename):e.isBuildCombinedMsg&&(a.displayName=e.filename,a.remotePath=e.url,a.secretKey=e.secret,a.fileLength=e.file_length,a.duration=e.length,a.thumbnailDisplayName=e.filename);break;case"file":a.type=5,e.body?(a.displayName=e.body.filename,a.remotePath=e.body.url,a.secretKey=e.body.secret,a.fileLength=e.body.file_length,a.thumbnailDisplayName=e.body.filename):e.isBuildCombinedMsg&&(a.displayName=e.filename,a.remotePath=e.url,a.secretKey=e.secret,a.fileLength=e.file_length,a.thumbnailDisplayName=e.filename);break;case"cmd":a.type=6,a.action=e.action;break;case"custom":a.type=7,a.customEvent=e.customEvent,a.customExts=gt.call(this,e.customExts);break;case"combine":a.type=0,a.subType=0,a.text=e.compatibleText,a.displayName=e.filename,a.remotePath=e.url,a.secretKey=e.secret,a.fileLength=e.file_length,a.title=e.title,a.summary=e.summary,a.combineLevel=e.combineLevel}var s=[];e.ext&&(s=gt.call(this,e.ext));var c=this.root.lookup("easemob.pb.MessageBody"),u=c.decode(o),l=e.from||this.context.jid.name;u.from={name:e.isBuildCombinedMsg?l:this.context.jid.name},u.to={name:e.to},"channel"===e.type?u.type=De.CHANNEL_ACK:"recall"===e.type?(u.type=De.RECALL,u.ackMessageId=e.ackId):"delivery"===e.type?(u.type=De.DELIVER_ACK,u.ackMessageId=e.ackId):"read"===e.type?(u.type=De.READ_ACK,u.ackMessageId=e.ackId,"groupChat"===i&&(u.msgConfig={allowGroupAck:!0},u.ackContent=e.ackContent)):"chatRoom"===i?u.type=De.CHATROOM:"groupChat"===i?(u.type=De.GROUPCHAT,e.msgConfig&&(u.msgConfig={allowGroupAck:!0})):"singleChat"===i&&(u.type=De.SINGLECHAT),e.editMessageId&&(u.type=De.EDIT,u.editMessageId=e.editMessageId),u.contents=[a],u.ext=s;var p=function(e){var t={};return"translations"in e&&(t.translations=e.translations),"isChatThread"in e&&e.isChatThread&&(t.thread={}),Object.keys(t).length>0?JSON.stringify(t):""}(e);p&&(u.meta=p),u=c.encode(u).finish();var d=this.root.lookup("easemob.pb.Meta"),f=d.decode(o);f.id=e.id;var m="easemob.com";if("chatRoom"!==i&&"groupChat"!==i||(m="conference.easemob.com"),f.to={appKey:this.appKey,name:e.to,domain:m},"chatRoom"===i&&(f.ext=gt.call(this,function(e){return{chatroom_msg_tag:"high"===e.priority?0:"low"===e.priority?2:1}}(e))),f.ns=1,f.payload=u,f.routetype=e.deliverOnlineOnly?1:0,"singleChat"!==i&&Array.isArray(e.receiverList)&&(null===(n=e.receiverList)||void 0===n?void 0:n.length)>0&&(f.directedUsers=e.receiverList,f.routetype=2,B.debug("receiverList:",e.receiverList,"thirdMessage",f)),e.isBuildCombinedMsg)return f.timestamp=y().fromValue(e.time),d.encode(f).finish();var g=this.root.lookup("easemob.pb.CommSyncUL"),v=g.decode(o);v.meta=f,v=g.encode(v).finish();var E=this.root.lookup("easemob.pb.MSync"),_=E.decode(o);return _.version=this.version,_.encryptType=this.encryptType,_.command=0,_.payload=v,E.encode(_).finish()}e.fail&&e.fail({type:h.WEBIM_CONNCTION_CLIENT_OFFLINE,message:"Not logged in"})}function vt(e){var t,r,n=this,o=He({},e);if(e.file)return o.accessToken=this.token,o.appKey=this.appKey,o.apiUrl=this.apiUrl,o.body&&o.body.url?yt.call(this,o):new Promise((function(t,r){var i=o.onFileUploadComplete;o.onFileUploadComplete=function(t){var r,a,s,c;if(t.entities[0]["file-metadata"]){var u=t.entities[0]["file-metadata"]["content-length"];o.file_length=u,o.filetype=t.entities[0]["file-metadata"]["content-type"],u>204800&&(o.thumbnail=!0)}o.body={type:o.type||"file",secret:t.entities[0]["share-secret"],filename:o.file.filename||o.filename,url:(n.isHttpDNS?n.apiUrl+t.uri.substr(t.uri.indexOf("/",9)):t.uri)+"/"+t.entities[0].uuid,length:o.length||0,filetype:o.filetype||o.file.filetype,file_length:(null===(a=null===(r=o.file)||void 0===r?void 0:r.data)||void 0===a?void 0:a.size)||0,size:{width:o.width||0,height:o.height||0}},o.file.url=t.uri,e.secret=t.entities[0]["share-secret"];var l=(n.isHttpDNS?n.apiUrl+t.uri.substr(t.uri.indexOf("/",9)):t.uri)+"/"+t.entities[0].uuid;e.url=l,t.url=l,"img"===o.type&&(e.thumb="".concat(l,"?thumbnail=true"),t.thumb="".concat(l,"?thumbnail=true")),i instanceof Function&&i(t,o.id);var p=yt.call(n,o);I.size<=1e3&&I.set(o.id,{rpt:n.dataReport.geOperateFun({operationName:_.SEND_MSG})}),null===(c=null===(s=n._localCache)||void 0===s?void 0:s.getInstance())||void 0===c||c.storeMessage(e,ne.INPROGRESS),bt.call(n,p)},X.uploadFile.call(n,o,_.UPLOAD_MSG_ATTACH)}));if("combine"===e.type){o.accessToken=this.token,o.appKey=this.appKey,o.apiUrl=this.apiUrl;var i=o.onFileUploadComplete,a=o.onFileUploadError;return new Promise((function(t,r){var s,c,u,l;if((null===(s=e.messageList)||void 0===s?void 0:s.length)>300||0===(null===(c=e.messageList)||void 0===c?void 0:c.length))return n._msgHash[o.id].reject({type:h.MAX_LIMIT,message:"The number of combined messages exceeded the limit."});var p=function(e,t,r){if(r||2===arguments.length)for(var n,o=0,i=t.length;o<i;o++)!n&&o in t||(n||(n=Array.prototype.slice.call(t,0,o)),n[o]=t[o]);return e.concat(n||Array.prototype.slice.call(t))}([],e.messageList,!0),d=0;if(p.forEach((function(e){(null==e?void 0:e.combineLevel)>d&&(d=null==e?void 0:e.combineLevel)})),o.combineLevel=d+1,o.combineLevel>10)return n._msgHash[o.id].reject({type:h.MAX_LIMIT,message:"The level of the merged message exceeded the limit."});var f=Et.call(n,p),m=function(t,r){var a,s,c,u,l,p,d=(n.isHttpDNS?n.apiUrl+t.uri.substr(t.uri.indexOf("/",9)):t.uri)+"/"+t.entities[0].uuid,f=null===(a=t.entities[0])||void 0===a?void 0:a["share-secret"],h=d+"?em-redirect=true";f&&(h="".concat(h,"&share-secret=").concat(f)),i instanceof Function&&i({url:h,secret:f}),e.url=h,e.secret=f,o.url=d,o.secret=t.entities[0]["share-secret"],o.filename=(null===(s=o.file)||void 0===s?void 0:s.filename)||(null==r?void 0:r.fileName),o.file_length=(null===(u=null===(c=o.file)||void 0===c?void 0:c.data)||void 0===u?void 0:u.size)||(null==r?void 0:r.fileLength)||0,null===(p=null===(l=n._localCache)||void 0===l?void 0:l.getInstance())||void 0===p||p.storeMessage(e,ne.INPROGRESS);var m=yt.call(n,o);bt.call(n,m)},g=X.getEnvInfo();if("web"!==g.platform&&"node"!==g.platform&&"quick_app"!==g.platform&&(null===(l=null===(u=g.global)||void 0===u?void 0:u.canIUse)||void 0===l?void 0:l.call(u,"getFileSystemManager"))){var y=g.global.getFileSystemManager(),v=n.apiUrl+"/"+n.orgName+"/"+n.appName+"/chatfiles";y.writeFile({filePath:"".concat(g.global.env.USER_DATA_PATH,"/combine"),data:f.buffer,encoding:"binary",success:function(e){g.global.uploadFile({url:v,filePath:"".concat(g.global.env.USER_DATA_PATH,"/combine"),name:"file",header:{"Content-Type":"multipart/form-data",Authorization:"Bearer "+o.accessToken},success:function(e){if(200===e.statusCode){B.debug("upload success",e);var t=JSON.parse(e.data);m(t,{fileName:"combine",fileLength:f.length})}else B.debug("upload fail"),o.onFileUploadError instanceof Function&&o.onFileUploadError(e),this._msgHash[o.id].reject({type:h.WEBIM_UPLOADFILE_ERROR,message:"Failed to upload the merge message.Please try again",data:e})},fail:function(t){B.debug("upload fail"),o.onFileUploadError instanceof Function&&o.onFileUploadError(e),this._msgHash[o.id].reject({type:h.WEBIM_UPLOADFILE_ERROR,message:"Failed to upload the merge message.Please try again",data:t})}})},fail:function(e){B.debug("write file fail",e),this._msgHash[o.id].reject({type:h.WEBIM_UPLOADFILE_ERROR,message:"Failed to upload the merge message.Please try again",data:e})}})}else{var E=new File([f],"combine",{type:"application/octet-stream"}),T={url:URL.createObjectURL(E),filename:o.id,data:E};o.file=T,o.onFileUploadComplete=function(e){m(e)},o.onFileUploadError=function(e){a instanceof Function&&a(e),n._msgHash[o.id].reject({type:h.WEBIM_UPLOADFILE_ERROR,message:"Failed to upload the merge message.Please try again",data:e})},X.uploadFile.call(n,o,_.UPLOAD_MSG_ATTACH)}}))}"img"===e.type&&(o.body||(o.body=He(He({},o),{size:{width:o.width||0,height:o.height||0}}))),null===(r=null===(t=this._localCache)||void 0===t?void 0:t.getInstance())||void 0===r||r.storeMessage(e,ne.INPROGRESS);var s=yt.call(this,o);bt.call(this,s)}function Et(e){for(var t=Uint8Array.from("cm",(function(e){return e.charCodeAt(0)})),r=0;r<e.length;r++){for(var n=e[r],o=He(He({},n),{isBuildCombinedMsg:!0}),i=this.mSync.encodeChatMsg.call(this,o),a=i.length,s=new Uint8Array(4),c=0;c<4;c++)s[c]=a>>8*(3-c)&255;B.debug("message length:",s);var u=new Uint8Array(t.length+s.length+i.length);u.set(t),u.set(s,t.length),u.set(i,t.length+s.length),t=u}var l=new Uint8Array(t.length+1),p=0;for(r=2;r<t.length;r++)r%2==1&&(p^=t[r]);return l.set(t),B.debug("checkResult:",p),l[t.length]=p,l}function _t(e,t,r){var n=[],o=this.root.lookup("easemob.pb.MUCBody"),i=o.decode(n);i.mucId={appKey:this.appKey,name:e,domain:"conference.easemob.com"},i.operation="join"===r?2:3,i.from={name:this.context.userId},i.isChatroom=!0,i=o.encode(i).finish();var a=this.root.lookup("easemob.pb.Meta").decode(n);a.id=t,a.from={appKey:this.appKey,name:this.context.userId,domain:"easemob.com",client_resource:this.context.jid.clientResource},a.to={domain:"easemob.com"},a.ns=2,a.payload=i;var s=this.root.lookup("easemob.pb.CommSyncUL"),c=s.decode(n);c.meta=a,c=s.encode(c).finish();var u=this.root.lookup("easemob.pb.MSync"),l=u.decode(n);return l.version=this.version,l.encryptType=this.encryptType,l.command=0,l.payload=c,u.encode(l).finish()}function Tt(e,t){var r=X.getUniqueId(),n=_t.call(this,e.roomId,r,t);return bt.call(this,He(He({},e),{isHandleChatroom:!0,joinMsg:n,id:r,operation:t}),r)}function Ot(e){var t=this;return new Promise((function(r,n){var o,i,a,s,c,u;if(t.logOut)return n({type:h.WEBIM_CONNECTION_CLOSED,message:"not login"});if(!e.id||"string"!=typeof e.id||""===e.id)return n({type:h.MESSAGE_PARAMETER_ERROR,message:'Missing required parameter: "id"'});if(!e.to||"string"!=typeof e.to||""===e.to)return n({type:h.MESSAGE_PARAMETER_ERROR,message:'Missing required parameter: "to"'});var l="file"===e.type||"img"===e.type||"audio"===e.type||"video"===e.type,p="delivery"===e.type||"read"===e.type||"channel"===e.type,d="cmd"===e.type,f="recall"===e.type,m=null==e?void 0:e.editMessageId,g=!(p||f||d||m);if(e.id){if(!l&&!p||l&&t.useOwnUploadFun){var y="recall"===e.type?_.SEND_RECALL_MSG:_.SEND_MSG;m&&(y=_.MODIFY_MESSAGE),I.size<=1e3&&I.set(e.id,{rpt:t.dataReport.geOperateFun({operationName:y})})}g&&(null===(i=null===(o=t._localCache)||void 0===o?void 0:o.getInstance())||void 0===i||i.storeMessage(e,ne.CREATE)),t._msgHash[e.id]=He(He({},e),{resolve:r,reject:n})}if(l||"combine"===e.type)return vt.call(t,e);if("txt"===e.type&&(null===(a=e.msgConfig)||void 0===a?void 0:a.languages)&&Array.isArray(null===(s=e.msgConfig)||void 0===s?void 0:s.languages)&&e.msgConfig.languages.length>0){var v=t.translateMessage||t.translation.translateMessage;if(!v)throw new Error("there is no method to translate message");v.call(t,{text:e.msg,languages:e.msgConfig.languages}).then((function(r){var n,o,i,a=null===(n=r.data[0])||void 0===n?void 0:n.translations;a=a.map((function(e){return{code:e.to,text:e.text}})),e.translations=a,t._msgHash[e.id].translations=a,null===(i=null===(o=t._localCache)||void 0===o?void 0:o.getInstance())||void 0===i||i.storeMessage(e,ne.INPROGRESS);var s=yt.call(t,e);bt.call(t,s,e.id)})).catch((function(e){n(e)}))}else{g&&(null===(u=null===(c=t._localCache)||void 0===c?void 0:c.getInstance())||void 0===u||u.storeMessage(e,ne.INPROGRESS));var E=yt.call(t,e);bt.call(t,E,e.id)}}))}function bt(e,t){var r,n,o=this;if(e.isHandleChatroom){if(!this.isOpened()){var i={data:"",type:h.WEBIM_CONNCTION_DISCONNECTED,message:"websocket has been disconnected"};return Promise.reject(i)}return new Promise((function(r,n){var i;o._msgHash[e.id]=He(He({},e),{resolve:r,reject:n}),i="miniCore"===o.name?e.joinMsg:Ve.call(o,e.joinMsg,t),o.sock.send(i)}))}if(!this.isOpened())return null===(r=this.unMSyncSendMsgMap)||void 0===r||r.set(t,e),!this.logOut&&this.autoReconnectNumTotal<this.autoReconnectNumMax&&(this.autoReconnectNumTotal<=this.socketHost.length&&this.isHttpDNS||!this.isHttpDNS)&&(B.debug("need to reconnect",this.autoReconnectNumTotal,this.autoReconnectNumMax),this.offLineSendConnecting=!0,this.reconnecting||this.reconnect()),void(this.onError&&this.onError({type:h.WEBIM_CONNCTION_DISCONNECTED,message:"websocket has been disconnected"}));n="miniCore"===this.name?e:Ve.call(this,e,t),this.sock.send(n)}var St=function(e,t){return e.send=Ot,e.sendMsg=Ot,B.debug("init Msync by ".concat(e.name)),{generateProvision:We.bind(e),base64transform:Ve.bind(e),distributeMeta:qe.bind(e),decodeMeta:Ke.bind(e),decodeUnreadDL:Qe.bind(e),_rebuild:Je.bind(e),_lastsession:Ze.bind(e),receiveProvision:nt.bind(e),isInQueue:lt.bind(e),decodeNotice:pt.bind(e),decodeMSync:ft.bind(e),distributeMSync:ht.bind(e),encodeChatMsg:yt.bind(e),upLoadFile:vt.bind(e),send:Ot.bind(e),stopHeartBeat:ct.bind(e),handleChatRoom:Tt.bind(e)}},At=function(){function e(e,t,r){this.handlerData={},this.handlerData={},e.addEventHandler=this.addEventHandler.bind(this),e.removeEventHandler=this.removeEventHandler.bind(this)}return e.prototype.addEventHandler=function(e,t){this.handlerData[e]=t},e.prototype.removeEventHandler=function(e){delete this.handlerData[e]},e.prototype.dispatch=function(e,t){for(var r in B.debug("dispatch event: "+e,t||""),this.handlerData){var n=this.handlerData[r][e];n&&n(t)}},e}(),It=function(){};function Rt(e){this.onOpened=e.onOpened||It,this.onPresence=e.onPresence||It,this.onTextMessage=e.onTextMessage||It,this.onPictureMessage=e.onPictureMessage||It,this.onAudioMessage=e.onAudioMessage||It,this.onVideoMessage=e.onVideoMessage||It,this.onFileMessage=e.onFileMessage||It,this.onLocationMessage=e.onLocationMessage||It,this.onCmdMessage=e.onCmdMessage||It,this.onCustomMessage=e.onCustomMessage||It,this.onReceivedMessage=e.onReceivedMessage||It,this.onDeliveredMessage=e.onDeliveredMessage||It,this.onReadMessage=e.onReadMessage||It,this.onRecallMessage=e.onRecallMessage||It,this.onChannelMessage=e.onChannelMessage||It,this.onError=e.onError||It,this.onOffline=e.onOffline||It,this.onOnline=e.onOnline||It,this.onStatisticMessage=e.onStatisticMessage||It,this.onContactInvited=e.onContactInvited||It,this.onContactAgreed=e.onContactAgreed||It,this.onContactRefuse=e.onContactRefuse||It,this.onContactDeleted=e.onContactDeleted||It,this.onContactAdded=e.onContactAdded||It,this.onTokenWillExpire=e.onTokenWillExpire||It,this.onTokenExpired=e.onTokenExpired||It,this.onClosed=e.onClosed||It,this.onPresenceStatusChange=e.onPresenceStatusChange||It}var Ct={biz:"",debug:!1,token:""},Nt="https://data-reporting.agora.io/report",Mt="https://data-reporting.sh.agoralab.co/report",wt=function(e){var t=Number(E[e]);return t===E.USER_LOGIN?"MANUALLOGIN":t===E.MSYNC_SENDMESSAGE?"SENDMESSAGE":t>E.UNKNOWOPERATION&&t<E.REST_OPERATE?"REST":t>E.REST_OPERATE&&t<E.MSYNC_OPERATE?"MESSAGE":t>E.MSYNC_OPERATE&&t<E.ROSTER_OPERATE?"ROSTER":t>E.ROSTER_OPERATE&&t<E.USER_OPERATE?"USER":t>E.USER_OPERATE&&t<E.GROUP_OPERATE?"GROUP":t>E.GROUP_OPERATE&&t<E.CHATROOM_OPERATE?"CHATROOM":"OPERATION"},Pt=function(){return(new Date).getTime()},kt=function(e){return[W.BAIDU,W.WX,W.DD,W.ZFB,W.TT,W.QUICK_APP,W.UNI].includes(e.platform)},xt=function(){return e=1,t=99999,e=Math.ceil(e),t=Math.floor(t),Math.floor(Math.random()*(t-e))+e;var e,t},Ut={},jt=function(){function e(e){this.eventQueue=[],this.stock=1e3,this.config=e,this.governor()}return e.prototype.add=function(e){this.stock<=0?console.warn("Event Report limit ".concat(1e3," per minute")):(this.eventQueue.push(e),this.consume(),this.stock-=1)},e.prototype.consume=function(){var e=this;0!==this.eventQueue.length&&(this.timer&&this.eventQueue.length<=10&&clearTimeout(this.timer),this.timer=setTimeout((function(){var t,r=e.eventQueue.splice(0,10),n=r.filter((function(e){return e.appId===r[0].appId})),o=r.filter((function(e){return e.appId!==r[0].appId}));(t=e.eventQueue).unshift.apply(t,o),e.batchSend(n)}),1e3))},e.prototype.governor=function(){var e=this,t=setInterval((function(){e.stock=1e3}),6e4);"undefined"!=typeof addEventListener&&addEventListener("beforeunload",(function(){clearInterval(t)}))},e.prototype.batchSend=function(e){var t,r;if(void 0===e&&(e=[]),0!==e.length)try{var n=e.map((function(e){e.biz,e.appId;var t=e.eventId,r=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r}(e,["biz","appId","eventId"]);return{eventId:Number(t),body:r}}));!function(e,t){try{var r=t.biz,n=t.appId,o=t.data,i=t.debug,a=t.onSuccess;if(!r)throw new Error("biz is not defined");Ut.global||(Ut=X.getEnvInfo());var s=Ut;if(kt(s)){var c={url:i?Mt:Nt,data:o,method:"POST",success:function(){null==a||a()},fail:function(){},complete:function(){}},u={token:e,appid:null!=n?n:"",sendts:"".concat(Math.floor((new Date).getTime()/1e3)),biz:r,debug:"".concat(i)};if("zfb"===s.platform||"dd"===s.platform?c.headers=u:c.header=u,"dd"===s.platform)return s.global.httpRequest(c);s.global.request(c)}else{var l=new XMLHttpRequest;l.onreadystatechange=function(){2===l.readyState&&(null==a||a())},l.open("POST",i?Mt:Nt),l.setRequestHeader("Content-Type","application/json"),l.setRequestHeader("token",e),l.setRequestHeader("appid",null!=n?n:""),l.setRequestHeader("sendts","".concat(Math.floor((new Date).getTime()/1e3))),l.setRequestHeader("biz",r),l.setRequestHeader("debug","".concat(i)),l.send(JSON.stringify(o))}}catch(e){console.error(e)}}(this.config.token,{biz:null===(t=e[0])||void 0===t?void 0:t.biz,appId:null===(r=e[0])||void 0===r?void 0:r.appId,data:n,debug:this.config.debug,onSuccess:this.consume.bind(this)})}catch(e){console.error(e)}},e}(),Bt=function(){return Bt=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},Bt.apply(this,arguments)},Lt=new(function(){function e(e){this.inited=!1,this.appId="",this.biz="",this.eventQueue={},this.config=Ct,e&&this.init(e)}return e.prototype.init=function(e){var t;if(void 0===e&&(e={}),!e.biz||!e.token)throw new Error("Event Report: biz or token is not defined");try{this.appId=null!==(t=e.appId)&&void 0!==t?t:"",this.biz=e.biz,this.config=Bt(Bt({},Ct),e),this.eventQueue=new jt(this.config),this.log(e),this.inited=!0}catch(e){console.error(e)}},e.prototype.send=function(e,t,r){var n;if(void 0===t&&(t={}),this.inited){var o=Bt(Bt({},t),{eventId:Number(e),biz:this.biz,appId:null!==(n=null==r?void 0:r.appId)&&void 0!==n?n:this.appId});this.eventQueue.add(o),this.log(o)}else console.error("Event Report: init is not called")},e.prototype.log=function(e){try{if(this.config.debug){var t=e.payload,r=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r}(e,["payload"]);console.log("%c Event Report: ".concat(this.config.biz," "),"background: #8A97FC; color: #fff"),console.table(r),t&&(console.info("payload:"),console.table(t))}}catch(e){console.error(e)}},e}()),Dt=function(){return Dt=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},Dt.apply(this,arguments)},Gt={requestName:"",subrequestid:"1",requestMethod:"GET",requestUrl:"",requestElapse:0,code:0,codeDesc:"",isLastApi:0,isSuccess:1},Ht=function(){function e(e){this.platform=X.getEnvInfo(),this.isReportDt=e.isReport||!1,this.isCollectDt=!0,kt(this.platform)&&!this.isReportDt&&(this.isCollectDt=!1),this.eventQueue=[],this.accessChannel="direct",this.options=function(e,t){t.platform||(t=X.getEnvInfo());var r=e.org,n=e.appkey,o=e.deviceId,i=e.sdkVersion,a=(null===navigator||void 0===navigator?void 0:navigator.userAgent)||"".concat(t.platform,"_mini_program");return{org:r,appkey:n,deviceId:o,sdkServiceId:"sid_".concat(X.getUniqueId(),"_").concat(xt()),did:a,sdkVersion:i,os:7,sdkProduct:S.web}}(e,this.platform),this.sid=this.options.sdkServiceId,this.init(e)}return e.getInstance=function(){return e.instance},e.prototype.getServiceId=function(){return this.sid||"sid_0"},e.prototype.setIsReportDt=function(e){this.isReportDt=e,e&&this.rptEventQueue()},e.prototype.setIsCollectDt=function(e){this.isCollectDt=e,e||(this.eventQueue=[])},e.prototype.rptEventQueue=function(){var e=this;this.eventQueue.length&&this.eventQueue.forEach((function(t,r){Lt.send(t.eventId,t.dt),r>=e.eventQueue.length-1&&(e.eventQueue=[])}))},e.prototype.init=function(t){e.instance||(e.instance=this,Lt.init({biz:"im",token:"32f24ab2ddb74f508aa9286c356cec84",appId:t.appkey,debug:!1}),this.reportInit())},e.prototype.reportInit=function(){if(this.isCollectDt){var e=this.options,t=e.did,r=e.os,n=e.sdkVersion,o=e.deviceId;this.reportData(9674,{did:t,os:r,sdkVersion:n,deviceId:o})}},e.prototype.geOperateFun=function(e){var t=this;if(!this.isCollectDt)return function(){};var r=1,n=0,o="",i=Pt(),a=e.uid,s=e.operationName;a&&(this.uid=a);var c={uid:this.uid,operationId:"opr_".concat(X.getUniqueId(),"_").concat(xt()),requestid:"req_".concat(X.getUniqueId(),"_").concat(xt()),operationName:s};return function(e){var a,u,l,p;if(e.data.isSuccess?(n=0,o=""):(0===e.data.code&&(e.data.code=-1),n=null!==(a=e.data.code)&&void 0!==a?a:n,o=null!==(u=e.data.codeDesc)&&void 0!==u?u:o),(null===(l=e.data)||void 0===l?void 0:l.accessChannel)&&(t.accessChannel=null===(p=e.data)||void 0===p?void 0:p.accessChannel),e.isRetry?(r++,e.data.subrequestid="".concat(r)):(c.requestid="req_".concat(X.getUniqueId(),"_").concat(xt()),r=1),e.data.isLastApi){var d=Pt();e.data.requestElapse=d-i,e.data.requestMethod="",e.data.subrequestid="0",e.data.code=200===n?0:n,e.data.codeDesc=o}else e.data.requestName||(e.data.requestName=s);e.data.requestElapse||(e.data.requestElapse=Pt()-i),t.reportData.call(t,R,Dt(Dt(Dt(Dt({},Gt),c),e.data),{accessChannel:t.accessChannel,operationType:wt(s)})),e.isEndApi&&t.reportData.call(t,R,Dt(Dt(Dt({},c),Gt),{isSuccess:e.data.isSuccess,isLastApi:1,subrequestid:"0",requestMethod:"",code:200===n?0:n,codeDesc:o,requestElapse:e.data.requestElapse,accessChannel:t.accessChannel,operationType:wt(s)}))}},e.prototype.reportData=function(e,t){return r=this,void 0,o=function(){var r,n,o,i,a,s,c,u;return function(e,t){var r,n,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(r)throw new TypeError("Generator is already executing.");for(;a;)try{if(r=1,n&&(o=2&i[0]?n.return:i[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,i[1])).done)return o;switch(n=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,n=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!((o=(o=a.trys).length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],n=0}finally{r=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}}(this,(function(l){switch(l.label){case 0:return l.trys.push([0,3,,4]),r=Pt(),n=0,e!==R?[3,2]:[4,(p=this.platform,new Promise((function(e){var t;p.platform||(p=X.getEnvInfo());var r="";if(p.platform===W.WEB){var n=navigator.connection;(null==n?void 0:n.type)?(null==n||n.type,r=O.WIFI):(null==n?void 0:n.effectiveType)&&(r=O[n.effectiveType.toLocaleUpperCase()]),e(r)}else p.platform===W.NODE?(r=O.UNKNOWN,e(r)):null===(t=p.global)||void 0===t||t.getNetworkType({success:function(t){r=O[t.networkType.toLocaleUpperCase()],e(r)}})})))];case 1:n=l.sent(),l.label=2;case 2:return o=this.options,i=o.appkey,a=o.sdkServiceId,s=o.sdkProduct,c=Dt({lts:r,net:n,appkey:i,sdkServiceId:a,sdkProduct:s},t),this.isReportDt?Lt.send(e,c):this.isCollectDt&&this.eventQueue.push({eventId:e,dt:c}),[3,4];case 3:return u=l.sent(),console.warn(u),[3,4];case 4:return[2]}var p}))},new((n=void 0)||(n=Promise))((function(e,t){function i(e){try{s(o.next(e))}catch(e){t(e)}}function a(e){try{s(o.throw(e))}catch(e){t(e)}}function s(t){var r;t.done?e(t.value):(r=t.value,r instanceof n?r:new n((function(e){e(r)}))).then(i,a)}s((o=o.apply(r,[])).next())}));var r,n,o},e}(),Ft=Ht;function $t(){var e=this.context.appName,t=this.context.orgName;return!(!e||!t)||(this.onError&&this.onError({type:h.WEBIM_CONNCTION_AUTH_ERROR,message:"appName or orgName is illegal"}),!1)}function zt(){var e;if(!this.context.accessToken){var t=v.create({type:h.WEBIM_CONNCTION_TOKEN_NOT_ASSIGN_ERROR,message:"token not assign error"});return this.onError&&this.onError(t),null===(e=this.eventHandler)||void 0===e||e.dispatch("onError",t),!1}return!0}function Wt(){return zt.call(this)&&$t.call(this)}function Vt(e){var t=e.data,r=e.type;return{data:{status:Object.keys(t.errorKeys).length>0?"fail":"success",errorKeys:t.errorKeys,successKeys:t.successKeys},type:r}}function qt(e){var t=e.data,r=void 0;return Object.keys(t.errorKeys).length>0&&Object.keys(t.errorKeys).forEach((function(e){var n=t.errorKeys[e];r=n.includes("is not part of you")?v.create({type:h.NO_PERMISSION,message:n}):n.includes("size of metadata for this single chatroom exceeds the user defined limit")||n.includes("total size of chatroom metadata for this app exceeds the user defined limit")||n.includes("is exceeding maximum limit")?v.create({type:h.MAX_LIMIT,message:n}):n.includes("is not Legal")?v.create({type:h.REQUEST_PARAMETER_ERROR,message:n}):n.includes("Failed to update userMetadata. Concurrent updates not allowed")?v.create({type:h.OPERATION_NOT_ALLOWED,message:n}):v.create({type:h.WEBIM_CONNCTION_AJAX_ERROR,message:n})})),r}var Kt=function(){return Kt=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},Kt.apply(this,arguments)},Qt=function(e,t,r,n){return new(r||(r=Promise))((function(o,i){function a(e){try{c(n.next(e))}catch(e){i(e)}}function s(e){try{c(n.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}c((n=n.apply(e,t||[])).next())}))},Jt=function(e,t){var r,n,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(r)throw new TypeError("Generator is already executing.");for(;a;)try{if(r=1,n&&(o=2&i[0]?n.return:i[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,i[1])).done)return o;switch(n=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,n=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!((o=(o=a.trys).length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],n=0}finally{r=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}},Yt={chat:"singleChat",chatroom:"chatRoom",groupchat:"groupChat",singleChat:"singleChat",chatRoom:"chatRoom",groupChat:"groupChat"};function Xt(e){if(!Wt.call(this)){var t=v.create({type:h.REST_PARAMS_STATUS,message:"appkey or token error"});return Promise.reject(t)}var r=this.context,n=r.orgName,o=r.appName,i=r.accessToken,a={url:this.apiUrl+"/"+n+"/"+o+"/users/"+this.user+"/blocks/users",dataType:"json",type:"GET",headers:{Authorization:"Bearer "+i},success:function(t){var r={};t.data.forEach((function(e){r[e]={name:e}})),"function"==typeof(null==e?void 0:e.success)&&e.success(t)},error:function(t){"function"==typeof(null==e?void 0:e.error)&&e.error(t)}};return B.debug("Call getBlocklist"),G.call(this,a,_.GET_BLACK_LIST)}var Zt=Xt,er=tr;function tr(e){var t=this;if(!Wt.call(this)){var r=v.create({type:h.REST_PARAMS_STATUS,message:"appkey or token error"});return Promise.reject(r)}var n=this.context,o=n.orgName,i=n.appName,a=n.accessToken,s={url:this.apiUrl+"/"+o+"/"+i+"/users/"+this.user+"/contacts/users",dataType:"json",type:"GET",headers:{Authorization:"Bearer "+a},success:function(r){var n=[];r.data.forEach((function(e){n.push({name:e,subscription:"both",jid:t.context.jid})})),"function"==typeof(null==e?void 0:e.success)&&e.success(n)},error:function(t){"function"==typeof(null==e?void 0:e.error)&&e.error(t)}};return B.debug("Call getContacts"),G.call(this,s,_.GET_CONTACTS)}function rr(e){if("string"!=typeof e.deviceId||""===e.deviceId)throw Error('Invalid parameter: "deviceId"');if("string"!=typeof e.deviceToken||""===e.deviceToken)throw Error('Invalid parameter: "deviceToken"');if("string"!=typeof e.notifierName||""===e.notifierName)throw Error('Invalid parameter: "notifierName"');if(!Wt.call(this)){var t=v.create({type:h.REST_PARAMS_STATUS,message:"appkey or token error"});return Promise.reject(t)}var r=this.context,n=r.orgName,o=r.appName,i=r.accessToken,a={url:"".concat(this.apiUrl,"/").concat(n,"/").concat(o,"/users/").concat(this.user),type:"PUT",data:JSON.stringify({device_id:e.deviceId,device_token:e.deviceToken,notifier_name:e.notifierName}),dataType:"json",headers:{Authorization:"Bearer "+i,"Content-Type":"application/json"},success:e.success,error:e.error};return B.debug("Call uploadPushToken",e),G.call(this,a,_.UPLOAD_PUSH_TOKEN)}var nr=rr;function or(e){if(!Wt.call(this)){var t=v.create({type:h.REST_PARAMS_STATUS,message:"appkey or token error"});return Promise.reject(t)}var r=this.context,n=r.orgName,o=r.appName,i=r.accessToken,a={url:"".concat(this.apiUrl,"/").concat(n,"/").concat(o,"/users/").concat(this.user,"/user_channels"),type:"GET",dataType:"json",headers:{Authorization:"Bearer "+i,"Content-Type":"application/json"},success:e&&(null==e?void 0:e.success),error:e&&(null==e?void 0:e.error)};return B.debug("Call getSessionList"),G.call(this,a,_.GET_SESSION_LIST)}function ir(e){if(!Wt.call(this)){var t=v.create({type:h.REST_PARAMS_STATUS,message:"appkey or token error"});return Promise.reject(t)}var r=this.context,n=r.orgName,o=r.appName,i=r.accessToken,a=!!(e&&"number"==typeof e.pageNum&&"number"==typeof e.pageSize&&e.pageNum>0&&e.pageSize>0),s={url:"".concat(this.apiUrl,"/").concat(n,"/").concat(o,"/users/").concat(this.user,"/user_channels").concat(a?"/page":""),type:"GET",dataType:"json",headers:{Authorization:"Bearer "+i,"Content-Type":"application/json"},success:e&&(null==e?void 0:e.success),error:e&&(null==e?void 0:e.error)};return a&&(s.data={pageNum:e.pageNum,pageSize:e.pageSize}),B.debug("Call getConversationlist"),G.call(this,s,_.GET_SESSION_LIST).then((function(e){return function(e){var t=e.data.channel_infos;return null==t||t.forEach((function(e){e.meta&&"{}"!==JSON.stringify(e.meta)?(e.meta.payload=JSON.parse(e.meta.payload),e.lastMessage=re(e.meta)):e.lastMessage=e.meta,delete e.meta})),e}(e)}))}function ar(e){if(e&&"string"!=typeof e.channel)throw Error("Invalid parameter channel: ".concat(e.channel));if(e&&"singleChat"!==e.chatType&&"groupChat"!==e.chatType)throw Error("Invalid parameter chatType: ".concat(e.chatType));if(e&&"boolean"!=typeof e.deleteRoam)throw Error("Invalid parameter deleteRoam: ".concat(e.deleteRoam));if(!Wt.call(this)){var t=v.create({type:h.REST_PARAMS_STATUS,message:"appkey or token error"});return Promise.reject(t)}var r,n=this.context,o=n.orgName,i=n.appName,a=n.accessToken,s=n.jid;r="singleChat"===e.chatType?"chat":"groupChat";var c={url:"".concat(this.apiUrl,"/").concat(o,"/").concat(i,"/user/").concat(this.user,"/user_channel?resource=").concat(s.clientResource),dataType:"json",type:"DELETE",data:JSON.stringify({channel:e.channel,type:r,delete_roam:e.deleteRoam}),headers:{Authorization:"Bearer "+a,"Content-Type":"application/json"},success:e.success,error:e.error};return B.debug("Call deleteSession",e),G.call(this,c,_.DELETE_SESSION)}var sr=ar;function cr(t,r){if(!Wt.call(this)){var n=v.create({type:h.REST_PARAMS_STATUS,message:"appkey or token error"});return Promise.reject(n)}var o=this.context,i=o.orgName,a=o.appName,s=o.accessToken,c=["nickname","avatarurl","mail","phone","gender","sign","birth","ext"],u={};if("undefined"!=typeof e||"undefined"!=typeof qq)if("string"==typeof t&&void 0!==r){if(!c.includes(t))throw new Error("illegal key, only these keys: nickname, avatarurl, mail, phone, gender, sign, birth, ext are allowed");u[t]=r}else{if("[object Object]"!==Object.prototype.toString.call(t))throw new Error("illegal params");c.forEach((function(e){c.includes(e)&&void 0!==t[e]&&(u[e]=t[e])}))}else if("string"==typeof t){if(!c.includes(t))throw new Error("illegal key, only these keys: nickname, avatarurl, mail, phone, gender, sign, birth, ext are allowed");u=t+"="+r}else{if("[object Object]"!==Object.prototype.toString.call(t))throw new Error("illegal params");var l=[];c.forEach((function(e){if(c.includes(e)&&void 0!==t[e]){var r=encodeURIComponent(e),n=encodeURIComponent(t[e]);l.push(r+"="+n)}})),u=l.join("&")}var p={url:"".concat(this.apiUrl,"/").concat(i,"/").concat(a,"/metadata/user/").concat(this.user),type:"PUT",data:u,dataType:"json",headers:{Authorization:"Bearer "+s,"Content-Type":"application/x-www-form-urlencoded"}};return B.debug("Call updateOwnUserInfo",t),G.call(this,p,_.UPDATE_USER_INFO)}var ur=cr;function lr(e,t){if(!Wt.call(this)){var r=v.create({type:h.REST_PARAMS_STATUS,message:"appkey or token error"});return Promise.reject(r)}var n,o=this.context,i=o.orgName,a=o.appName,s=o.accessToken,c=[];if("string"==typeof e)c=[e];else{if("[object Array]"!==Object.prototype.toString.call(e))throw new Error("illegal params");c=e}n="string"==typeof t?[t]:t&&"[object Array]"===Object.prototype.toString.call(t)?t:["nickname","avatarurl","mail","phone","gender","sign","birth","ext"];var u={url:"".concat(this.apiUrl,"/").concat(i,"/").concat(a,"/metadata/user/get"),type:"POST",data:JSON.stringify({targets:c,properties:n}),dataType:"json",headers:{Authorization:"Bearer "+s,"Content-Type":"application/json"}};return B.debug("Call fetchUserInfoById",e),G.call(this,u,_.GET_USER_INFO)}function pr(e){if(!Wt.call(this)){var t=v.create({type:h.REST_PARAMS_STATUS,message:"appkey or token error"});return Promise.reject(t)}var r=this.context,n=r.orgName,o=r.appName,i=r.accessToken,a={url:"".concat(this.apiUrl,"/").concat(n,"/").concat(o,"/users/").concat(this.user),type:"PUT",dataType:"json",data:JSON.stringify({nickname:e}),headers:{Authorization:"Bearer "+i,"Content-Type":"application/json"}};return B.debug("Call updateCurrentUserNick",e),G.call(this,a)}function dr(e){if("string"!=typeof e||""===e)throw Error('Invalid parameter: "token"');var t=this.context,r=t.orgName,n=t.appName,o={url:"".concat(this.apiUrl,"/").concat(r,"/").concat(n,"/sdk/users/").concat(this.user,"/token/expires"),type:"GET",dataType:"json",headers:{Authorization:"Bearer "+e,"Content-Type":"application/json"}};return B.debug("Call getTokenExpireTimestamp",e),G.call(this,o,_.SDK_INTERNAL)}function fr(e){var t=this;return new Promise((function(r,n){if(!e.queue)throw Error('Invalid parameter: "specified"');if(!Wt.call(t)){var o=v.create({type:h.REST_PARAMS_STATUS,message:"appkey or token error"});return Promise.reject(o)}(function e(t){var o=this,i=t.count||20;hr.call(this,{count:i,isGroup:!!t.isGroup,queue:t.queue,start:t.start,format:t.format,success:function(n){if(n.msgs.length>=i||n.is_last){var a=n.msgs.splice(0,i).reverse();t.success&&t.success(a),r(a)}else e.call(o,Kt(Kt({},t),{start:null}))},fail:function(e){n(e),t.fail&&t.fail(e)}})}).call(t,e),B.debug("Call fetchHistoryMessages",e)}))}function hr(e){var t=this,r=e.queue,n=this.mr_cache[r]||(this.mr_cache[r]={msgs:[]}),o=this.context.userId,i=e.start||-1,a=e.count||20;if(n.msgs.length>=a||n.is_last)"function"==typeof e.success&&e.success(n);else{n&&n.next_key&&(i=n.next_key),e.start&&(i=e.start);var s={queue:r+(e.isGroup?"@conference.easemob.com":"@easemob.com"),start:i,end:-1},c=this.context,u=c.orgName,l=c.appName,p={url:"".concat(this.apiUrl,"/").concat(u,"/").concat(l,"/users/").concat(o,"/messageroaming"),dataType:"json",type:"POST",headers:{Authorization:"Bearer "+this.token,"Content-Type":"application/json"},data:JSON.stringify(s),success:function(r){return Qt(t,void 0,void 0,(function(){var t,o,i,a,s,c,u=this;return Jt(this,(function(l){switch(l.label){case 0:if(t=null==r?void 0:r.data,!r.data.msgs)return"function"==typeof e.success&&e.success(n),n.is_last=!0,n.next_key="",[2];o=t.msgs,i=o.length,n.is_last=t.is_last,n.next_key=t.next_key,a=function(t){return Qt(u,void 0,void 0,(function(){var r,n,o,i,a;return Jt(this,(function(s){switch(s.label){case 0:for(r=[],t=ee().atob(t),n=0,o=t.length;n<o;++n)r.push(t.charCodeAt(n));return i=(i=this.context.root.lookup("easemob.pb.Meta")).decode(r),a={errorCode:0,reason:""},1!==i.ns?[3,2]:[4,Re.call(this,i,a,!0,e.format)];case 1:return[2,s.sent()];case 2:return[2]}}))}))},s=0,l.label=1;case 1:return s<i?[4,a(o[s].msg)]:[3,4];case 2:(c=l.sent())&&n.msgs.push(c),l.label=3;case 3:return s++,[3,1];case 4:return"function"==typeof e.success&&e.success(n),[2]}}))}))},error:function(e){if(e.error&&e.error_description){var r=v.create({type:h.WEBIM_CONNCTION_AJAX_ERROR,message:"fetch history messages error",data:e});t.onError&&t.onError(r)}}};G.call(this,p,_.GET_HISTORY_MSG).catch((function(t){"function"==typeof e.fail&&e.fail(t)}))}}function mr(e){var t=this;return new Promise((function(r,n){var o=e.targetId,i=e.cursor,a=void 0===i?-1:i,s=e.pageSize,c=void 0===s?20:s,u=e.chatType,l=e.searchDirection,p=e.searchOptions,d=void 0===p?{}:p,f=d.msgTypes,m=void 0===f?[]:f,g=d.startTime,y=void 0===g?null:g,E=d.endTime,_=void 0===E?null:E,T=d.from,O=void 0===T?null:T;if("string"!=typeof o||""===o)throw Error('"Invalid parameter": "targetId"');if(O&&"string"!=typeof O)throw Error('"Invalid parameter": "searchOptions.from"');if(m&&!Array.isArray(m))throw Error('"Invalid parameter": "searchOptions.msgTypes"');if(y&&"number"!=typeof y)throw Error('"Invalid parameter": "searchOptions.startTime"');if(_&&"number"!=typeof y)throw Error('"Invalid parameter": "searchOptions.endTime"');if(!Wt.call(t)){var b=v.create({type:h.REST_PARAMS_STATUS,message:"appkey or token error"});return n(b)}var S=t.context,A=S.orgName,I=S.appName,R=S.userId,C="groupChat"===e.chatType?"@conference.easemob.com":"@easemob.com",N={queue:"".concat(o).concat(C),start:a,pull_number:c,is_positive:"down"===l,msgType:m.join(",")||"",end:-1,startTime:y,endTime:_,userId:"singleChat"===u?null:O},M={url:"".concat(t.apiUrl,"/").concat(A,"/").concat(I,"/users/").concat(R,"/messageroaming"),dataType:"json",type:"POST",headers:{Authorization:"Bearer "+t.token,"Content-Type":"application/json"},data:JSON.stringify(N),success:function(n){return Qt(t,void 0,void 0,(function(){var t,o,i,a,s,c,u,l,p=this;return Jt(this,(function(d){switch(d.label){case 0:t=null==n?void 0:n.data,o=t.msgs||[],i=function(e){return Qt(p,void 0,void 0,(function(){var t,r,n,o,i;return Jt(this,(function(a){switch(a.label){case 0:for(t=[],e=ee().atob(e),r=0,n=e.length;r<n;++r)t.push(e.charCodeAt(r));return o=(o=this.context.root.lookup("easemob.pb.Meta")).decode(t),i={errorCode:0,reason:""},1!==o.ns?[3,2]:[4,Re.call(this,o,i,!0,!0)];case 1:return[2,a.sent()];case 2:return[2]}}))}))},a=[],s=0,d.label=1;case 1:return s<o.length?[4,i(o[s].msg)]:[3,4];case 2:(c=d.sent())&&a.push(c),d.label=3;case 3:return s++,[3,1];case 4:return t.msgs=a,u={cursor:t.next_key,messages:a,isLast:t.is_last},null===(l=e.success)||void 0===l||l.call(e,u),r(u),[2]}}))}))},error:e.fail};G.call(t,M).catch((function(e){n(e)})),B.debug("Call getHistoryMessages",e)}))}function gr(e,t){return Qt(this,void 0,void 0,(function(){var r,n,o,i,a,s,c;return Jt(this,(function(u){switch(u.label){case 0:if(!Wt.call(this))return r=v.create({type:h.REST_PARAMS_STATUS,message:"appkey or token error"}),[2,Promise.reject(r)];if("string"!=typeof e||""===e)throw Error('"Invalid parameter": "to"');return B.debug("Call addContact",e,t),n=this.context,o=n.orgName,i=n.appName,a=n.accessToken,s=n.jid,c={url:"".concat(this.apiUrl,"/").concat(o,"/").concat(i,"/users/").concat(this.user,"/contacts/apply?resource=").concat(s.clientResource),type:"POST",dataType:"json",data:JSON.stringify({usernames:[e],reason:t}),headers:{Authorization:"Bearer "+a,"Content-Type":"application/json"}},[4,G.call(this,c,_.ROSTER_ADD)];case 1:return u.sent(),[2]}}))}))}var yr=vr;function vr(e){return Qt(this,void 0,void 0,(function(){var t,r,n,o,i,a,s;return Jt(this,(function(c){switch(c.label){case 0:if(!Wt.call(this))return t=v.create({type:h.REST_PARAMS_STATUS,message:"appkey or token error"}),[2,Promise.reject(t)];if("string"!=typeof e||""===e)throw Error('"Invalid parameter": "to"');return B.debug("Call deleteContact",e),r=this.context,n=r.orgName,o=r.appName,i=r.accessToken,a=r.jid,s={url:"".concat(this.apiUrl,"/").concat(n,"/").concat(o,"/users/").concat(this.user,"/contacts/users/").concat(e,"?resource=").concat(a.clientResource),type:"DELETE",dataType:"json",headers:{Authorization:"Bearer "+i,"Content-Type":"application/json"}},[4,G.call(this,s,_.ROSTER_REMOVE)];case 1:return c.sent(),[2]}}))}))}function Er(e){return Qt(this,void 0,void 0,(function(){var t,r,n,o,i,a,s;return Jt(this,(function(c){switch(c.label){case 0:if(!Wt.call(this))return t=v.create({type:h.REST_PARAMS_STATUS,message:"appkey or token error"}),[2,Promise.reject(t)];if("string"!=typeof e||""===e)throw Error('"Invalid parameter": "to"');return B.debug("Call acceptInvitation",e),r=this.context,n=r.orgName,o=r.appName,i=r.accessToken,a=r.jid,s={url:"".concat(this.apiUrl,"/").concat(n,"/").concat(o,"/users/").concat(this.user,"/contacts/accept/users/").concat(e,"?resource=").concat(a.clientResource),type:"POST",dataType:"json",headers:{Authorization:"Bearer "+i,"Content-Type":"application/json"}},[4,G.call(this,s,_.ROSTER_ACCEPT)];case 1:return c.sent(),[2]}}))}))}var _r=Er;function Tr(e){return Qt(this,void 0,void 0,(function(){var t,r,n,o,i,a,s;return Jt(this,(function(c){switch(c.label){case 0:if(!Wt.call(this))return t=v.create({type:h.REST_PARAMS_STATUS,message:"appkey or token error"}),[2,Promise.reject(t)];if("string"!=typeof e||""===e)throw Error('"Invalid parameter": "to"');return B.debug("Call declineInvitation",e),r=this.context,n=r.orgName,o=r.appName,i=r.accessToken,a=r.jid,s={url:"".concat(this.apiUrl,"/").concat(n,"/").concat(o,"/users/").concat(this.user,"/contacts/decline/users/").concat(e,"?resource=").concat(a.clientResource),type:"POST",dataType:"json",headers:{Authorization:"Bearer "+i,"Content-Type":"application/json"}},[4,G.call(this,s,_.ROSTER_DECLINE)];case 1:return c.sent(),[2]}}))}))}var Or=Tr;function br(e){return Qt(this,void 0,void 0,(function(){var t,r,n,o,i,a,s,c,u;return Jt(this,(function(l){switch(l.label){case 0:if(!Wt.call(this))return t=v.create({type:h.REST_PARAMS_STATUS,message:"appkey or token error"}),[2,Promise.reject(t)];if(r=e.name,n=[],"string"==typeof r){if(""===r)throw Error('"Invalid parameter": "name"');n=[r]}else{if(!Array.isArray(r))throw Error('"Invalid parameter": "name"');n=r}return B.debug("Call addToBlockList",e),o=this.context,i=o.orgName,a=o.appName,s=o.accessToken,c=o.jid,u={url:"".concat(this.apiUrl,"/").concat(i,"/").concat(a,"/sdk/user/").concat(this.user,"/blocks?resource=").concat(c.clientResource),type:"POST",dataType:"json",data:JSON.stringify({usernames:n}),headers:{Authorization:"Bearer "+s,"Content-Type":"application/json"}},[4,G.call(this,u,_.ROSTER_BAN).then((function(e){return{type:e.type,data:{userIds:(null==e?void 0:e.data)||[]}}}))];case 1:return[2,l.sent()]}}))}))}var Sr=br,Ar=br;function Ir(e){return Qt(this,void 0,void 0,(function(){var t,r,n,o,i,a,s,c,u;return Jt(this,(function(l){switch(l.label){case 0:if(!Wt.call(this))return t=v.create({type:h.REST_PARAMS_STATUS,message:"appkey or token error"}),[2,Promise.reject(t)];if(r=e.name,n=[],"string"==typeof r){if(""===r)throw Error('"Invalid parameter": "name"');n=[r]}else{if(!Array.isArray(r))throw Error('"Invalid parameter": "name"');n=r}return B.debug("Call removeFromBlockList",e),o=this.context,i=o.orgName,a=o.appName,s=o.accessToken,c=o.jid,u={url:"".concat(this.apiUrl,"/").concat(i,"/").concat(a,"/sdk/user/").concat(this.user,"/blocks?resource=").concat(c.clientResource),type:"DELETE",dataType:"json",data:JSON.stringify({usernames:n}),headers:{Authorization:"Bearer "+s,"Content-Type":"application/json"}},[4,G.call(this,u,_.ROSTER_ALLOW)];case 1:return l.sent(),[2]}}))}))}var Rr=Ir,Cr=Ir;function Nr(e){var t=this,r=this.getUniqueId(),n={id:r,to:e.to};this._msgHash[r]=Kt({},n);var o="";void 0!==e.chatType?o=e.chatType:void 0!==e.type&&(o="chat"===e.type?"singleChat":e.type);var i={id:r,type:"recall",chatType:o,ackId:e.mid,to:e.to,isChatThread:e.isChatThread||!1,success:function(r){return Qt(t,void 0,void 0,(function(){var t,n,i,a,s,c,u,l,p;return Jt(this,(function(d){switch(d.label){case 0:return d.trys.push([0,5,,6]),"singleChat"!==o&&"groupChat"!==o?[3,4]:[4,null===(i=null===(n=this._localCache)||void 0===n?void 0:n.getInstance())||void 0===i?void 0:i.removeMsgByServerMsgId(e.mid)];case 1:return d.sent(),[4,null===(s=null===(a=this._localCache)||void 0===a?void 0:a.getInstance())||void 0===s?void 0:s.getConversationLastMessage(e.to,o)];case 2:return t=d.sent(),[4,null===(u=null===(c=this._localCache)||void 0===c?void 0:c.getInstance())||void 0===u?void 0:u.updateLocalConversation(oe({conversationId:e.to,conversationType:o}),{lastMessageId:null==t?void 0:t.serverMsgId})];case 3:d.sent(),d.label=4;case 4:return null===(l=null==e?void 0:e.success)||void 0===l||l.call(e,r),[3,6];case 5:return d.sent(),null===(p=null==e?void 0:e.success)||void 0===p||p.call(e,r),[3,6];case 6:return[2]}}))}))},fail:e.fail};return B.debug("Call recallMessage",e),this.mSync.send(i,this)}function Mr(e){var t=e||{},r=t.messageId,n=t.modifiedMessage;if(B.debug("Call modifyMessage",r,n),""===r)throw Error('Invalid parameter: "messageId"');if("txt"!==n.type)throw Error('Invalid parameter: "modifiedMessage.type"');return this.mSync.send(Kt({editMessageId:r},n))}function wr(e){return Qt(this,void 0,void 0,(function(){var t,r,n,o,i,a,s,c,u;return Jt(this,(function(l){switch(l.label){case 0:if("string"!=typeof e.messageId||!e.messageId)throw Error("Invalid parameter messageId: ".concat(e.messageId));if("string"!=typeof e.reaction||!e.reaction)throw Error("Invalid parameter reaction: ".concat(e.reaction));return Wt.call(this)?(r=this.context,n=r.orgName,o=r.appName,i=r.accessToken,a=e.reaction,s=e.messageId,c={msgId:s,message:a},u={url:"".concat(this.apiUrl,"/").concat(n,"/").concat(o,"/reaction/user/").concat(this.user),type:"POST",data:JSON.stringify(c),dataType:"json",headers:{Authorization:"Bearer "+i,"Content-Type":"application/json"}},[4,G.call(this,u)]):(t=v.create({type:h.REST_PARAMS_STATUS,message:"appkey or token error"}),[2,Promise.reject(t)]);case 1:return l.sent(),[2]}}))}))}function Pr(e){return Qt(this,void 0,void 0,(function(){var t,r,n,o,i,a,s,c;return Jt(this,(function(u){switch(u.label){case 0:if("string"!=typeof e.reaction||!e.reaction)throw Error("Invalid parameter reactionId: ".concat(e.reaction));return Wt.call(this)?(r=this.context,n=r.orgName,o=r.appName,i=r.accessToken,a=e.messageId,s=e.reaction,c={url:"".concat(this.apiUrl,"/").concat(n,"/").concat(o,"/reaction/user/").concat(this.user,"?msgId=").concat(a,"&message=").concat(s),type:"DELETE",dataType:"json",headers:{Authorization:"Bearer "+i,"Content-Type":"application/json"}},[4,G.call(this,c)]):(t=v.create({type:h.REST_PARAMS_STATUS,message:"appkey or token error"}),[2,Promise.reject(t)]);case 1:return u.sent(),[2]}}))}))}function kr(e){if("string"!=typeof e.chatType||!e.chatType)throw Error("Invalid parameter chatType: ".concat(e.chatType));if(!e.messageId)throw Error("Invalid parameter messageId: ".concat(e.messageId));if(!Wt.call(this)){var t=v.create({type:h.REST_PARAMS_STATUS,message:"appkey or token error"});return Promise.reject(t)}var r=this.context,n=r.orgName,o=r.appName,i=r.accessToken,a=e.chatType,s=e.messageId,c={msgIdList:"string"==typeof s?[s]:s,msgType:"singleChat"===a?"chat":"groupchat",groupId:e.groupId||null},u={url:"".concat(this.apiUrl,"/").concat(n,"/").concat(o,"/reaction/user/").concat(this.user),type:"GET",data:c,dataType:"json",headers:{Authorization:"Bearer "+i,"Content-Type":"application/json"}};return G.call(this,u).then((function(e){var t=e.data;return null==t||t.forEach((function(e){null==e||e.reactionList.forEach((function(e){e.isAddedBySelf=e.state,delete e.state,delete e.reactionId}))})),e}))}var xr=kr;function Ur(e){if("string"!=typeof e.reaction||!e.reaction)throw Error("Invalid parameter reaction: ".concat(e.reaction));if("string"!=typeof e.messageId||!e.messageId)throw Error("Invalid parameter messageId: ".concat(e.messageId));if(!Wt.call(this)){var t=v.create({type:h.REST_PARAMS_STATUS,message:"appkey or token error"});return Promise.reject(t)}var r=this.context,n=r.orgName,o=r.appName,i=r.accessToken,a=e.cursor,s=e.pageSize,c={msgId:e.messageId,message:e.reaction,currentPage:a||null,pageSize:s||20},u={url:"".concat(this.apiUrl,"/").concat(n,"/").concat(o,"/reaction/user/").concat(this.user,"/detail"),type:"GET",data:c,dataType:"json",headers:{Authorization:"Bearer "+i,"Content-Type":"application/json"}};return G.call(this,u).then((function(e){return e.data.isAddedBySelf=e.data.state,delete e.data.state,delete e.data.reactionId,e}))}function jr(e){return Qt(this,void 0,void 0,(function(){var t,r,n,o,i,a,s,c,u,l,p;return Jt(this,(function(d){switch(d.label){case 0:if("string"!=typeof e.reportType||!e.reportType)throw Error("Invalid parameter reportType: ".concat(e.reportType));if("string"!=typeof e.messageId||!e.messageId)throw Error("Invalid parameter messageId: ".concat(e.messageId));if("string"!=typeof e.reportReason||!e.reportReason)throw Error("Invalid parameter messageId: ".concat(e.reportReason));return Wt.call(this)?(r=this.context,n=r.orgName,o=r.appName,i=r.accessToken,a=e.reportType,s=e.reportReason,c=e.messageId,u={username:this.user,reportType:a,reportReason:s},l="".concat(this.apiUrl,"/").concat(n,"/").concat(o,"/user/").concat(this.user,"/moderation/report/message/").concat(c),p={url:l,type:"POST",data:JSON.stringify(u),dataType:"json",headers:{Authorization:"Bearer "+i,"Content-Type":"application/json"}},[4,G.call(this,p)]):(t=v.create({type:h.REST_PARAMS_STATUS,message:"appkey or token error"}),[2,Promise.reject(t)]);case 1:return d.sent(),[2]}}))}))}function Br(e){var t;return Qt(this,void 0,void 0,(function(){var r,n,o,i,a,s,c,u,l;return Jt(this,(function(p){switch(p.label){case 0:if("string"!=typeof e.targetId||""===e.targetId)throw Error('"Invalid parameter targetId": '+e.targetId);if(!["singleChat","groupChat"].includes(e.chatType))throw Error('"Invalid parameter chatType": '+e.chatType);if(e.beforeTimeStamp&&("number"!=typeof e.beforeTimeStamp||e.beforeTimeStamp<0||(null===(t=e.beforeTimeStamp)||void 0===t?void 0:t.toString().length)>18))throw Error('"Invalid parameter beforeTimeStamp": '+e.beforeTimeStamp);if(e.messageIds&&!(Array.isArray(e.messageIds)&&e.messageIds.length>0&&e.messageIds.length<=20))throw Error('"Invalid parameter messageIds": '+e.messageIds);if(!e.messageIds&&!e.beforeTimeStamp)throw Error("messageIds or beforeTimeStamp field is required.");return Wt.call(this)?(n=this.context,o=n.orgName,i=n.appName,a=n.userId,s="singleChat"===e.chatType?"userId":"groupId",c="singleChat"===e.chatType?"chat":"group",u=e.messageIds?"".concat(this.apiUrl,"/").concat(o,"/").concat(i,"/sdk/message/roaming/").concat(c,"/user/").concat(a,"?").concat(s,"=").concat(e.targetId,"&msgIdList=").concat(e.messageIds,"&resource=").concat(this.clientResource):"".concat(this.apiUrl,"/").concat(o,"/").concat(i,"/sdk/message/roaming/").concat(c,"/user/").concat(a,"/time?").concat(s,"=").concat(e.targetId,"&delTime=").concat(e.beforeTimeStamp,"&&resource=").concat(this.clientResource),l={url:u,dataType:"json",type:"DELETE",headers:{Authorization:"Bearer "+this.token,"Content-Type":"application/json"}},B.debug("Call removeHistoryMessages",e),[4,G.call(this,l)]):(r=v.create({type:h.REST_PARAMS_STATUS,message:"appkey or token error"}),[2,Promise.reject(r)]);case 1:return p.sent(),[2]}}))}))}function Lr(e){var t=this;if(!Wt.call(this)){var r=v.create({type:h.REST_PARAMS_STATUS,message:"appkey or token error"});return Promise.reject(r)}if((null==e?void 0:e.pageSize)&&"number"!=typeof e.pageSize)throw Error("Invalid parameter pageSize: ".concat(e.pageSize));if((null==e?void 0:e.cursor)&&"string"!=typeof e.cursor)throw Error("Invalid parameter cursor: ".concat(e.cursor));var n=this.context,o=n.orgName,i=n.appName,a=n.accessToken,s={url:"".concat(this.apiUrl,"/").concat(o,"/").concat(i,"/sdk/user/").concat(this.user,"/user_channels/list?"),type:"GET",dataType:"json",data:{limit:(null==e?void 0:e.pageSize)||20,cursor:(null==e?void 0:e.cursor)||""},headers:{Authorization:"Bearer "+a,"Content-Type":"application/json"}};return B.debug("Call getServerConversations",e),new Promise((function(e,r){G.call(t,s,_.GET_SESSION_LIST).then((function(r){return Qt(t,void 0,void 0,(function(){var t,n=this;return Jt(this,(function(o){switch(o.label){case 0:return t=Dr(r),this._localCache?[4,Promise.all(t.data.conversations.map((function(e){return Qt(n,void 0,void 0,(function(){var t,r,n=this;return Jt(this,(function(o){return null===(r=null===(t=this._localCache)||void 0===t?void 0:t.getInstance())||void 0===r||r.storeMessage(e.lastMessage,ne.SUCCESS,!0).then((function(){var t,r;null===(r=null===(t=n._localCache)||void 0===t?void 0:t.getInstance())||void 0===r||r.updateLocalConversation(oe({conversationId:e.conversationId,conversationType:e.conversationType}),{unReadCount:e.unReadCount})})),[2]}))}))})))]:[3,2];case 1:return o.sent(),e(t),[2];case 2:return e(t),[2]}}))}))})).catch((function(e){r(e)}))}))}function Dr(e){var t=e.data,r=t.cursor,n=t.channel_infos,o=[];null==n||n.forEach((function(e){var t=null;(null==e?void 0:e.meta)&&"{}"!==JSON.stringify(e.meta)&&(e.meta.payload=JSON.parse(e.meta.payload),"delivery"!==(t=re(e.meta)).type&&"read"!==t.type&&"channel"!==t.type&&(t.chatType=Yt[t.chatType]));var r={conversationId:e.session_to,conversationType:"chat"===e.session_type?"singleChat":"groupChat",isPinned:e.is_top,pinnedTime:e.is_top?e.update_top_status_time:0,unReadCount:e.unread_num,lastMessage:t};o.push(r)}));var i={conversations:o,cursor:r||""};return{type:e.type,data:i}}function Gr(e){if(!Wt.call(this)){var t=v.create({type:h.REST_PARAMS_STATUS,message:"appkey or token error"});return Promise.reject(t)}if((null==e?void 0:e.pageSize)&&"number"!=typeof e.pageSize)throw Error("Invalid parameter pageSize: ".concat(e.pageSize));if((null==e?void 0:e.cursor)&&"string"!=typeof e.cursor)throw Error("Invalid parameter cursor: ".concat(e.cursor));var r=this.context,n=r.orgName,o=r.appName,i=r.accessToken,a={url:"".concat(this.apiUrl,"/").concat(n,"/").concat(o,"/sdk/user/").concat(this.user,"/user_channels/list?"),type:"GET",dataType:"json",data:{limit:(null==e?void 0:e.pageSize)||20,cursor:(null==e?void 0:e.cursor)||"",is_top:!0},headers:{Authorization:"Bearer "+i,"Content-Type":"application/json"}};return B.debug("Call getServerConversations",e),G.call(this,a,_.GET_SESSION_LIST).then((function(e){return Dr(e)}))}function Hr(e){return Qt(this,void 0,void 0,(function(){var t,r,n,o,i,a,s,c,u,l,p,d,f,m;return Jt(this,(function(g){if(!Wt.call(this))return t=v.create({type:h.REST_PARAMS_STATUS,message:"appkey or token error"}),[2,Promise.reject(t)];if(r=e.conversationId,n=e.conversationType,o=e.isPinned,i="singleChat"===n?"chat":"groupChat","string"!=typeof r||""===r)throw Error("Invalid parameter conversationId: ".concat(r));if(!["singleChat","groupChat"].includes(n))throw Error("Invalid parameter conversationType: ".concat(n));if("boolean"!=typeof o)throw Error("Invalid parameter isPinned: ".concat(o));return a=this.context,s=a.orgName,c=a.appName,u=a.accessToken,l=a.jid,p={type:i,to:r},d=o?"":"type=".concat(i,"&to=").concat(r,"&"),f="".concat(this.apiUrl,"/").concat(s,"/").concat(c,"/sdk/user/").concat(this.user,"/user_channel/top?").concat(d,"resource=").concat(l.clientResource),m={url:f,type:o?"POST":"DELETE",dataType:"json",headers:{Authorization:"Bearer "+u,"Content-Type":"application/json"}},o&&(m.data=JSON.stringify(p)),B.debug("Call pinConversation",e),[2,G.call(this,m,_.PIN_CONVERSATION).then((function(e){var t=e.type,r=e.data;return{type:t,data:{isPinned:r.is_top||!1,pinnedTime:r.is_top?r.update_top_status_time:0}}}))]}))}))}function Fr(e){return Qt(this,void 0,void 0,(function(){var t,r,n,o,i,a,s,c,u,l;return Jt(this,(function(p){switch(p.label){case 0:if(t=e.userId,r=e.remark,!Wt.call(this))return n=v.create({type:h.REST_PARAMS_STATUS,message:"appkey or token error"}),[2,Promise.reject(n)];if("string"!=typeof t||""===t)throw Error('Invalid parameter: "userId"');if("string"!=typeof r)throw Error('Invalid parameter: "remark"');return B.debug("Call setContactRemark",e),o=this.context,i=o.orgName,a=o.appName,s=o.accessToken,c=o.jid,u="".concat(this.apiUrl,"/").concat(i,"/").concat(a,"/users/").concat(this.context.userId,"/contacts/users/").concat(t,"?resource=").concat(c.clientResource),l={url:u,type:"PUT",data:JSON.stringify({remark:r}),dataType:"json",headers:{Authorization:"Bearer "+s,"Content-Type":"application/json"}},[4,G.call(this,l,_.ROSTER_SET_CONTACT_REMARK)];case 1:return p.sent(),[2]}}))}))}function $r(){if(!Wt.call(this)){var e=v.create({type:h.REST_PARAMS_STATUS,message:"appkey or token error"});return Promise.reject(e)}var t=this.context,r=t.orgName,n=t.appName,o=t.accessToken,i={url:"".concat(this.apiUrl,"/").concat(r,"/").concat(n,"/users/").concat(this.user,"/contacts/users?needReturnRemark=true"),dataType:"json",type:"GET",headers:{Authorization:"Bearer "+o}};return B.debug("Call getAllContacts"),G.call(this,i,_.ROSTER_GET_ALL_CONTACTS_REMARKS).then((function(e){var t=((null==e?void 0:e.entities)||[]).map((function(e){return{userId:e.username,remark:e.remark}}));return{type:e.type,data:t}}))}function zr(e){if(!Wt.call(this)){var t=v.create({type:h.REST_PARAMS_STATUS,message:"appkey or token error"});return Promise.reject(t)}B.debug("Call getContactsWithCursor",e);var r=e||{},n=r.pageSize,o=void 0===n?20:n,i=r.cursor,a=void 0===i?"":i;if(o&&"number"!=typeof o)throw Error("Invalid parameter pageSize: ".concat(e.pageSize));var s=this.context,c=s.orgName,u=s.appName,l=s.accessToken,p={url:"".concat(this.apiUrl,"/").concat(c,"/").concat(u,"/users/").concat(this.user,"/contacts?needReturnRemark=true&limit=").concat(o,"&cursor=").concat(a),dataType:"json",type:"GET",headers:{Authorization:"Bearer "+l}};return G.call(this,p,_.ROSTER_GET_ALL_CONTACTS_REMARKS_FROM_SERVER_BY_PAGE).then((function(e){var t,r,n=(null===(t=null==e?void 0:e.data)||void 0===t?void 0:t.contacts)||[],o=(null===(r=null==e?void 0:e.data)||void 0===r?void 0:r.cursor)||"",i=n.map((function(e){return{userId:e.username,remark:e.remark}}));return{type:e.type,data:{cursor:o,contacts:i}}}))}function Wr(e){if(!e||!e.data)throw Error("Invalid parameter");if(!Wt.call(this)){var t=v.create({type:h.REST_PARAMS_STATUS,message:"appkey or token error"});return Promise.reject(t)}var r=this.context,n=r.orgName,o=r.appName,i=r.accessToken,a=r.jid,s={url:"".concat(this.apiUrl,"/").concat(n,"/").concat(o,"/chatgroups?resource=").concat(a.clientResource),dataType:"json",type:"POST",data:JSON.stringify({owner:this.user,groupname:e.data.groupname,desc:e.data.desc,members:e.data.members,public:e.data.public,approval:e.data.approval,allowinvites:e.data.allowinvites,invite_need_confirm:e.data.inviteNeedConfirm,maxusers:e.data.maxusers,custom:e.data.ext}),headers:{Authorization:"Bearer "+i,"Content-Type":"application/json"},success:function(t){e.success&&e.success(t)},error:e.error};return B.debug("Call createGroup:",e),G.call(this,s,_.CREATE_GROUP)}var Vr=Wr;function qr(e){var t;if("string"!=typeof e.groupId||""===e.groupId)throw Error("Invalid parameter");if(!Wt.call(this)){var r=v.create({type:h.REST_PARAMS_STATUS,message:"appkey or token error"});return Promise.reject(r)}var n=this.context,o=n.orgName,i=n.appName,a=n.accessToken,s=n.jid,c={entities:[(t={},t["notification_ignore_"+e.groupId]=!0,t)]},u={type:"PUT",url:"".concat(this.apiUrl,"/").concat(o,"/").concat(i,"/users/").concat(this.user,"?resource=").concat(s.clientResource),data:JSON.stringify(c),dataType:"json",headers:{Authorization:"Bearer "+a,"Content-Type":"application/json"},success:e.success,error:e.error};return B.debug("Call blockGroupMessages",e),G.call(this,u,_.BLOCK_GROUP)}var Kr=qr;function Qr(e){if("number"!=typeof e.limit)throw Error("Invalid parameter");if(!Wt.call(this)){var t=v.create({type:h.REST_PARAMS_STATUS,message:"appkey or token error"});return Promise.reject(t)}var r=this.context,n=r.orgName,o=r.appName,i=r.accessToken,a={limit:e.limit,cursor:e.cursor};e.cursor||delete a.cursor;var s={url:this.apiUrl+"/"+n+"/"+o+"/publicchatgroups",type:"GET",dataType:"json",data:a,headers:{Authorization:"Bearer "+i,"Content-Type":"application/json"},success:e.success,error:e.error};return B.debug("Call listGroups",e),G.call(this,s,_.LIST_GROUP)}var Jr=Qr;function Yr(e){if(!Wt.call(this)){var t=v.create({type:h.REST_PARAMS_STATUS,message:"appkey or token error"});return Promise.reject(t)}var r=this.context,n=r.orgName,o=r.appName,i=r.accessToken,a={url:this.apiUrl+"/"+n+"/"+o+"/users/"+this.user+"/joined_chatgroups",dataType:"json",type:"GET",headers:{Authorization:"Bearer "+i,"Content-Type":"application/json"},success:e&&(null==e?void 0:e.success),error:e&&(null==e?void 0:e.error)};return B.debug("Call getJoinedGroups",e),G.call(this,a,_.GET_USER_GROUP)}function Xr(e){if("number"!=typeof e.pageNum||"number"!=typeof e.pageSize)throw Error('Invalid parameter: "pageNum or pageSize"');if(e.pageNum<0||e.pageSize<0)throw Error('"pageNum" should >= 0 and "pageSize" should >= 0');if(!Wt.call(this)){var t=v.create({type:h.REST_PARAMS_STATUS,message:"appkey or token error"});return Promise.reject(t)}var r=this.context,n=r.orgName,o=r.appName,i=r.accessToken,a=e.needAffiliations||e.needRole?"/chatgroups/user/".concat(this.user,"?pagenum=").concat(e.pageNum,"&pagesize=").concat(e.pageSize,"&needAffiliations=").concat(e.needAffiliations,"&needRole=").concat(e.needRole):"/users/".concat(this.user,"/joined_chatgroups?pagenum=").concat(e.pageNum,"&pagesize=").concat(e.pageSize),s={url:this.apiUrl+"/"+n+"/"+o+a,dataType:"json",type:"GET",headers:{Authorization:"Bearer "+i,"Content-Type":"application/json"},success:e&&(null==e?void 0:e.success),error:e&&(null==e?void 0:e.error)};return B.debug("Call getGroup",e),G.call(this,s,_.GET_USER_GROUP).then((function(e){var t=e.uri,r=e.entities,n=[];return t.includes("joined_chatgroups")||(r.forEach((function(e){var t={affiliationsCount:e.affiliations_count,groupName:e.name,groupId:e.groupId,role:e.permission,disabled:e.disabled,approval:e.membersonly,allowInvites:e.allowinvites,description:e.description,maxUsers:e.maxusers,public:e.public};n.push(t)})),e.entities=n),e}))}function Zr(e){if("string"!=typeof e.groupId||"string"!=typeof e.newOwner)throw Error("Invalid parameter");if(!Wt.call(this)){var t=v.create({type:h.REST_PARAMS_STATUS,message:"appkey or token error"});return Promise.reject(t)}var r={newowner:e.newOwner},n=this.context,o=n.orgName,i=n.appName,a=n.accessToken,s=n.jid,c={url:"".concat(this.apiUrl,"/").concat(o,"/").concat(i,"/chatgroups/").concat(e.groupId,"?resource=").concat(s.clientResource),type:"PUT",dataType:"json",headers:{Authorization:"Bearer "+a,"Content-Type":"application/json"},data:JSON.stringify(r),success:e.success,error:e.error};return B.debug("Call changeOwner",e),G.call(this,c,_.CHANGE_OWNER)}var en=Zr;function tn(e){if("string"!=typeof e.groupId&&!Array.isArray(e.groupId))throw Error('Invalid parameter: "groupId"');if(!Wt.call(this)){var t=v.create({type:h.REST_PARAMS_STATUS,message:"appkey or token error"});return Promise.reject(t)}var r=this.context,n=r.orgName,o=r.appName,i=r.accessToken,a={url:this.apiUrl+"/"+n+"/"+o+"/chatgroups/"+e.groupId+"?joined_time=true",type:"GET",dataType:"json",headers:{Authorization:"Bearer "+i,"Content-Type":"application/json"},success:e.success,error:e.error};return B.debug("Call getGroupInfo",e),G.call(this,a,_.GET_GROUP_INFO)}function rn(e){if("string"!=typeof e.groupId||""===e.groupId)throw Error("Invalid parameter");if(!Wt.call(this)){var t=v.create({type:h.REST_PARAMS_STATUS,message:"appkey or token error"});return Promise.reject(t)}var r=this.context,n=r.orgName,o=r.appName,i=r.accessToken,a=r.jid,s=e.groupId,c={groupname:e.groupName,description:e.description,custom:e.ext},u={url:"".concat(this.apiUrl,"/").concat(n,"/").concat(o,"/chatgroups/").concat(s,"?resource=").concat(a.clientResource),type:"PUT",data:JSON.stringify(c),dataType:"json",headers:{Authorization:"Bearer "+i,"Content-Type":"application/json"},success:e.success,error:e.error};return B.debug("Call modifyGroup",e),G.call(this,u,_.MODIFY_GROUP)}function nn(e){if("string"!=typeof e.groupId||""===e.groupId)throw Error('Invalid parameter: "groupId"');if(isNaN(e.pageNum)||e.pageNum<=0)throw Error('The parameter "pageNum" should be a positive number');if(isNaN(e.pageSize)||e.pageSize<=0)throw Error('The parameter "pageSize" should be a positive number');if(!Wt.call(this)){var t=v.create({type:h.REST_PARAMS_STATUS,message:"appkey or token error"});return Promise.reject(t)}var r={pagenum:e.pageNum,pagesize:e.pageSize},n=this.context,o=n.orgName,i=n.appName,a=n.accessToken,s={url:this.apiUrl+"/"+o+"/"+i+"/chatgroups/"+e.groupId+"/users",dataType:"json",type:"GET",data:r,headers:{Authorization:"Bearer "+a,"Content-Type":"application/json"},success:e.success,error:e.error};return B.debug("Call listGroupMember",e),G.call(this,s,_.LIST_GROUP_MEMBER)}var on=nn;function an(e){if("string"!=typeof e.groupId||""===e.groupId)throw Error('Invalid parameter: "groupId"');if(!Wt.call(this)){var t=v.create({type:h.REST_PARAMS_STATUS,message:"appkey or token error"});return Promise.reject(t)}var r=this.context,n=r.orgName,o=r.appName,i=r.accessToken,a=e.groupId,s={url:this.apiUrl+"/"+n+"/"+o+"/chatgroups/"+a+"/admin",dataType:"json",type:"GET",headers:{Authorization:"Bearer "+i,"Content-Type":"application/json"},success:e.success,error:e.error};return B.debug("Call getGroupAdmin",e),G.call(this,s,_.GET_GROUP_ADMIN)}function sn(e){if("string"!=typeof e.groupId||""===e.groupId)throw Error('Invalid parameter: "groupId"');if("string"!=typeof e.username||""===e.username)throw Error('Invalid parameter: "username"');if(!Wt.call(this)){var t=v.create({type:h.REST_PARAMS_STATUS,message:"appkey or token error"});return Promise.reject(t)}var r=this.context,n=r.orgName,o=r.appName,i=r.accessToken,a=r.jid,s=e.groupId,c={newadmin:e.username},u={url:"".concat(this.apiUrl,"/").concat(n,"/").concat(o,"/chatgroups/").concat(s,"/admin?resource=").concat(a.clientResource),type:"POST",dataType:"json",data:JSON.stringify(c),headers:{Authorization:"Bearer "+i,"Content-Type":"application/json"},success:e.success,error:e.error};return B.debug("Call setGroupAdmin",e),G.call(this,u,_.SET_GROUP_ADMIN)}var cn=sn;function un(e){if("string"!=typeof e.groupId||""===e.groupId)throw Error('Invalid parameter: "groupId"');if("string"!=typeof e.username||""===e.username)throw Error('Invalid parameter: "username"');if(!Wt.call(this)){var t=v.create({type:h.REST_PARAMS_STATUS,message:"appkey or token error"});return Promise.reject(t)}var r=this.context,n=r.orgName,o=r.appName,i=r.accessToken,a=r.jid,s=e.groupId,c=e.username,u={url:"".concat(this.apiUrl,"/").concat(n,"/").concat(o,"/chatgroups/").concat(s,"/admin/").concat(c,"?resource=").concat(a.clientResource),type:"DELETE",dataType:"json",headers:{Authorization:"Bearer "+i,"Content-Type":"application/json"},success:e.success,error:e.error};return B.debug("Call removeAdmin",e),G.call(this,u,_.REMOVE_GROUP_ADMIN)}var ln=un;function pn(e){if("string"!=typeof e.groupId||""===e.groupId)throw Error('Invalid parameter: "groupId"');if(!Wt.call(this)){var t=v.create({type:h.REST_PARAMS_STATUS,message:"appkey or token error"});return Promise.reject(t)}var r=this.context,n=r.orgName,o=r.appName,i=r.accessToken,a=r.jid,s=e.groupId,c={url:"".concat(this.apiUrl,"/").concat(n,"/").concat(o,"/chatgroups/").concat(s,"?version=v3&resource=").concat(a.clientResource),type:"DELETE",dataType:"json",headers:{Authorization:"Bearer "+i,"Content-Type":"application/json"},success:e.success,error:e.error};return B.debug("Call destroyGroup",e),G.call(this,c,_.DISSOLVE_GROUP)}var dn=pn;function fn(e){if("string"!=typeof e.groupId||""===e.groupId)throw Error('Invalid parameter: "groupId"');if(!Wt.call(this)){var t=v.create({type:h.REST_PARAMS_STATUS,message:"appkey or token error"});return Promise.reject(t)}var r=this.context,n=r.orgName,o=r.appName,i=r.accessToken,a=r.jid,s=e.groupId,c={url:"".concat(this.apiUrl,"/").concat(n,"/").concat(o,"/chatgroups/").concat(s,"/quit?resource=").concat(a.clientResource),type:"DELETE",dataType:"json",headers:{Authorization:"Bearer "+i,"Content-Type":"application/json"},success:e.success,error:e.error};return B.debug("Call quitGroup",e),G.call(this,c,_.QUIT_GROUP)}var hn=fn;function mn(e){if("string"!=typeof e.groupId||""===e.groupId)throw Error('Invalid parameter: "groupId"');if(!Array.isArray(e.users))throw Error('Invalid parameter: "users"');if(!Wt.call(this)){var t=v.create({type:h.REST_PARAMS_STATUS,message:"appkey or token error"});return Promise.reject(t)}var r=e.groupId,n={usernames:e.users},o=this.context,i=o.orgName,a=o.appName,s=o.accessToken,c=o.jid,u={url:"".concat(this.apiUrl,"/").concat(i,"/").concat(a,"/chatgroups/").concat(r,"/invite?resource=").concat(c.clientResource),type:"POST",data:JSON.stringify(n),dataType:"json",headers:{Authorization:"Bearer "+s,"Content-Type":"application/json"},success:e.success,error:e.error};return B.debug("Call inviteUsersToGroup",e),G.call(this,u,_.INVITE_TO_GROUP)}var gn=mn;function yn(e){if("string"!=typeof e.groupId||""===e.groupId)throw Error('Invalid parameter: "groupId"');if(!Wt.call(this)){var t=v.create({type:h.REST_PARAMS_STATUS,message:"appkey or token error"});return Promise.reject(t)}var r=this.context,n=r.orgName,o=r.appName,i=r.accessToken,a=r.jid,s={url:"".concat(this.apiUrl,"/").concat(n,"/").concat(o,"/chatgroups/").concat(e.groupId,"/apply?resource=").concat(a.clientResource),type:"POST",dataType:"json",data:JSON.stringify({message:e.message||""}),headers:{Authorization:"Bearer "+i,"Content-Type":"application/json"},success:e.success,error:e.error};return B.debug("Call joinGroup",e),G.call(this,s,_.JOIN_GROUP)}function vn(e){if("string"!=typeof e.groupId||""===e.groupId)throw Error('Invalid parameter: "groupId"');if("string"!=typeof e.applicant||""===e.applicant)throw Error('Invalid parameter: "applicant"');if(!Wt.call(this)){var t=v.create({type:h.REST_PARAMS_STATUS,message:"appkey or token error"});return Promise.reject(t)}var r=this.context,n=r.orgName,o=r.appName,i=r.accessToken,a=r.jid,s=e.groupId,c={applicant:e.applicant,verifyResult:!0,reason:"no clue"},u={url:"".concat(this.apiUrl,"/").concat(n,"/").concat(o,"/chatgroups/").concat(s,"/apply_verify?resource=").concat(a.clientResource),type:"POST",dataType:"json",data:JSON.stringify(c),headers:{Authorization:"Bearer "+i,"Content-Type":"application/json"},success:e.success,error:e.error};return B.debug("Call agreeJoinGroup",e),G.call(this,u,_.AGREE_JOIN_GROUP)}var En=vn;function _n(e){if("string"!=typeof e.groupId||""===e.groupId)throw Error('Invalid parameter: "groupId"');if("string"!=typeof e.applicant||""===e.applicant)throw Error('Invalid parameter: "applicant"');if(!Wt.call(this)){var t=v.create({type:h.REST_PARAMS_STATUS,message:"appkey or token error"});return Promise.reject(t)}var r=this.context,n=r.orgName,o=r.appName,i=r.accessToken,a=r.jid,s=e.groupId,c={applicant:e.applicant,verifyResult:!1,reason:e.reason||""},u={url:"".concat(this.apiUrl,"/").concat(n,"/").concat(o,"/chatgroups/").concat(s,"/apply_verify?resource=").concat(a.clientResource),type:"POST",dataType:"json",data:JSON.stringify(c),headers:{Authorization:"Bearer "+i,"Content-Type":"application/json"},success:e.success,error:e.error};return B.debug("Call rejectGroupJoinRequest",e),G.call(this,u,_.REJECT_JOIN_GROUP)}var Tn=_n;function On(e){if("string"!=typeof e.groupId||""===e.groupId)throw Error('Invalid parameter: "groupId"');if("string"!=typeof e.invitee||""===e.invitee)throw Error('Invalid parameter: "invitee"');if(!Wt.call(this)){var t=v.create({type:h.REST_PARAMS_STATUS,message:"appkey or token error"});return Promise.reject(t)}var r=this.context,n=r.orgName,o=r.appName,i=r.accessToken,a=r.jid,s=e.groupId,c={invitee:e.invitee,verifyResult:!0},u={url:"".concat(this.apiUrl,"/").concat(n,"/").concat(o,"/chatgroups/").concat(s,"/invite_verify?resource=").concat(a.clientResource),type:"POST",dataType:"json",data:JSON.stringify(c),headers:{Authorization:"Bearer "+i,"Content-Type":"application/json"},success:e.success,error:e.error};return B.debug("Call acceptGroupInvite",e),G.call(this,u,_.AGREE_INVITE_GROUP)}var bn=On;function Sn(e){if("string"!=typeof e.groupId||""===e.groupId)throw Error('Invalid parameter: "groupId"');if("string"!=typeof e.invitee||""===e.invitee)throw Error('Invalid parameter: "invitee"');if(!Wt.call(this)){var t=v.create({type:h.REST_PARAMS_STATUS,message:"appkey or token error"});return Promise.reject(t)}var r=this.context,n=r.orgName,o=r.appName,i=r.accessToken,a=r.jid,s=e.groupId,c={invitee:e.invitee,verifyResult:!1},u={url:"".concat(this.apiUrl,"/").concat(n,"/").concat(o,"/chatgroups/").concat(s,"/invite_verify?resource=").concat(a.clientResource),type:"POST",dataType:"json",data:JSON.stringify(c),headers:{Authorization:"Bearer "+i,"Content-Type":"application/json"},success:e.success,error:e.error};return B.debug("Call rejectGroupInvite",e),G.call(this,u,_.REJECT_INVITE_GROUP)}var An=Sn;function In(e){if("string"!=typeof e.groupId||""===e.groupId)throw Error('Invalid parameter: "groupId"');if("string"!=typeof e.username||""===e.username)throw Error('Invalid parameter: "username"');if(!Wt.call(this)){var t=v.create({type:h.REST_PARAMS_STATUS,message:"appkey or token error"});return Promise.reject(t)}var r=e.groupId,n=e.username,o=this.context,i=o.orgName,a=o.appName,s=o.accessToken,c=o.jid,u={url:"".concat(this.apiUrl,"/").concat(i,"/").concat(a,"/chatgroups/").concat(r,"/users/").concat(n,"?resource=").concat(c.clientResource),type:"DELETE",dataType:"json",headers:{Authorization:"Bearer "+s,"Content-Type":"application/json"},success:e.success,error:e.error};return B.debug("Call removeGroupMember",e),G.call(this,u,_.REMOVE_GROUP_MEMBER)}var Rn=In;function Cn(e){if("string"!=typeof e.groupId||""===e.groupId)throw Error('Invalid parameter: "groupId"');if(!Array.isArray(e.users))throw Error('Invalid parameter: "users"');if(!Wt.call(this)){var t=v.create({type:h.REST_PARAMS_STATUS,message:"appkey or token error"});return Promise.reject(t)}var r=this.context,n=r.orgName,o=r.appName,i=r.accessToken,a=r.jid,s=e.groupId,c=e.users.join(","),u={url:"".concat(this.apiUrl,"/").concat(n,"/").concat(o,"/chatgroups/").concat(s,"/users/").concat(c,"?resource=").concat(a.clientResource),type:"DELETE",dataType:"json",headers:{Authorization:"Bearer "+i,"Content-Type":"application/json"},success:e.success,error:e.error};return B.debug("Call removeGroupMembers",e),G.call(this,u,_.MULTI_REMOVE_GROUP_MEMBER)}var Nn=Cn;function Mn(e){if("string"!=typeof e.groupId||""===e.groupId)throw Error('Invalid parameter: "groupId"');if(!(Array.isArray(e.username)||"string"==typeof e.username&&""!==e.username))throw Error('Invalid parameter: "username"');if("number"!=typeof e.muteDuration)throw Error('Invalid parameter: "muteDuration"');if(!Wt.call(this)){var t=v.create({type:h.REST_PARAMS_STATUS,message:"appkey or token error"});return Promise.reject(t)}var r=this.context,n=r.orgName,o=r.appName,i=r.accessToken,a=r.jid,s=e.groupId,c={usernames:"string"==typeof e.username?[e.username]:e.username,mute_duration:e.muteDuration},u={url:"".concat(this.apiUrl,"/").concat(n,"/").concat(o,"/chatgroups/").concat(s,"/mute?resource=").concat(a.clientResource),dataType:"json",type:"POST",headers:{Authorization:"Bearer "+i,"Content-Type":"application/json"},data:JSON.stringify(c),success:e.success,error:e.error};return B.debug("Call muteGroupMember",e),G.call(this,u,_.MUTE_GROUP_MEMBER)}var wn=Mn;function Pn(e){if("string"!=typeof e.groupId||""===e.groupId)throw Error('Invalid parameter: "groupId"');if(!(Array.isArray(e.username)||"string"==typeof e.username&&""!==e.username))throw Error('Invalid parameter: "username"');if(!Wt.call(this)){var t=v.create({type:h.REST_PARAMS_STATUS,message:"appkey or token error"});return Promise.reject(t)}var r=this.context,n=r.orgName,o=r.appName,i=r.accessToken,a=r.jid,s=e.groupId,c=e.username,u={url:"".concat(this.apiUrl,"/").concat(n,"/").concat(o,"/chatgroups/").concat(s,"/mute/").concat(c,"?resource=").concat(a.clientResource),dataType:"json",type:"DELETE",headers:{Authorization:"Bearer "+i,"Content-Type":"application/json"},success:e.success,error:e.error};return B.debug("Call unmuteGroupMember",e),G.call(this,u,_.UNMUTE_GROUP_MEMBER)}var kn=Pn;function xn(e){if("string"!=typeof e.groupId||""===e.groupId)throw Error('Invalid parameter: "groupId"');if(!Wt.call(this)){var t=v.create({type:h.REST_PARAMS_STATUS,message:"appkey or token error"});return Promise.reject(t)}var r=this.context,n=r.orgName,o=r.appName,i=r.accessToken,a=e.groupId,s={url:this.apiUrl+"/"+n+"/"+o+"/chatgroups/"+a+"/mute",dataType:"json",type:"GET",headers:{Authorization:"Bearer "+i,"Content-Type":"application/json"},success:e.success,error:e.error};return B.debug("Call getGroupMuteList",e),G.call(this,s,_.GET_GROUP_MUTE_LIST)}var Un=xn,jn=xn;function Bn(e){if("string"!=typeof e.groupId||""===e.groupId)throw Error('Invalid parameter: "groupId"');if("string"!=typeof e.username||""===e.username)throw Error('Invalid parameter: "username"');if(!Wt.call(this)){var t=v.create({type:h.REST_PARAMS_STATUS,message:"appkey or token error"});return Promise.reject(t)}var r=this.context,n=r.orgName,o=r.appName,i=r.accessToken,a=r.jid,s=e.groupId,c=e.username,u={url:"".concat(this.apiUrl,"/").concat(n,"/").concat(o,"/chatgroups/").concat(s,"/blocks/users/").concat(c,"?resource=").concat(a.clientResource),type:"POST",dataType:"json",headers:{Authorization:"Bearer "+i,"Content-Type":"application/json"},success:e.success,error:e.error};return B.debug("Call blockGroupMember",e),G.call(this,u,_.BLOCK_GROUP_MEMBER)}var Ln=Bn;function Dn(e){if("string"!=typeof e.groupId||""===e.groupId)throw Error('Invalid parameter: "groupId"');if(!Array.isArray(e.usernames))throw Error('Invalid parameter: "usernames"');if(!Wt.call(this)){var t=v.create({type:h.REST_PARAMS_STATUS,message:"appkey or token error"});return Promise.reject(t)}var r=this.context,n=r.orgName,o=r.appName,i=r.accessToken,a=r.jid,s=e.groupId,c={usernames:e.usernames},u={url:"".concat(this.apiUrl,"/").concat(n,"/").concat(o,"/chatgroups/").concat(s,"/blocks/users?resource=").concat(a.clientResource),data:JSON.stringify(c),type:"POST",dataType:"json",headers:{Authorization:"Bearer "+i,"Content-Type":"application/json"},success:e.success,error:e.error};return B.debug("Call blockGroupMembers",e),G.call(this,u,_.BLOCK_GROUP_MEMBERS)}var Gn=Dn;function Hn(e){if("string"!=typeof e.groupId||""===e.groupId)throw Error('Invalid parameter: "groupId"');if("string"!=typeof e.username||""===e.username)throw Error('Invalid parameter: "username"');if(!Wt.call(this)){var t=v.create({type:h.REST_PARAMS_STATUS,message:"appkey or token error"});return Promise.reject(t)}var r=this.context,n=r.orgName,o=r.appName,i=r.accessToken,a=r.jid,s=e.groupId,c=e.username,u={url:"".concat(this.apiUrl,"/").concat(n,"/").concat(o,"/chatgroups/").concat(s,"/blocks/users/").concat(c,"?resource=").concat(a.clientResource),type:"DELETE",dataType:"json",headers:{Authorization:"Bearer "+i,"Content-Type":"application/json"},success:e.success,error:e.error};return B.debug("Call unblockGroupMember",e),G.call(this,u,_.UNBLOCK_GROUP_MEMBER)}var Fn=Hn;function $n(e){if("string"!=typeof e.groupId||""===e.groupId)throw Error('Invalid parameter: "groupId"');if(!Array.isArray(e.usernames))throw Error('Invalid parameter: "usernames"');if(!Wt.call(this)){var t=v.create({type:h.REST_PARAMS_STATUS,message:"appkey or token error"});return Promise.reject(t)}var r=this.context,n=r.orgName,o=r.appName,i=r.accessToken,a=r.jid,s=e.groupId,c=e.usernames.join(","),u={url:"".concat(this.apiUrl,"/").concat(n,"/").concat(o,"/chatgroups/").concat(s,"/blocks/users/").concat(c,"?resource=").concat(a.clientResource),type:"DELETE",dataType:"json",headers:{Authorization:"Bearer "+i,"Content-Type":"application/json"},success:e.success,error:e.error};return B.debug("Call unblockGroupMembers",e),G.call(this,u,_.UNBLOCK_GROUP_MEMBERS)}var zn=$n;function Wn(e){if("string"!=typeof e.groupId||""===e.groupId)throw Error('Invalid parameter: "groupId"');if(!Wt.call(this)){var t=v.create({type:h.REST_PARAMS_STATUS,message:"appkey or token error"});return Promise.reject(t)}var r=this.context,n=r.orgName,o=r.appName,i=r.accessToken,a=e.groupId,s={url:this.apiUrl+"/"+n+"/"+o+"/chatgroups/"+a+"/blocks/users",type:"GET",dataType:"json",headers:{Authorization:"Bearer "+i,"Content-Type":"application/json"},success:e.success,error:e.error};return B.debug("Call getGroupBlacklist",e),G.call(this,s,_.GET_GROUP_BLACK_LIST)}var Vn=Wn,qn=Wn;function Kn(e){if("string"!=typeof e.groupId||""===e.groupId)throw Error('Invalid parameter: "groupId"');if(!Wt.call(this)){var t=v.create({type:h.REST_PARAMS_STATUS,message:"appkey or token error"});return Promise.reject(t)}var r=this.context,n=r.orgName,o=r.appName,i=r.accessToken,a=r.jid,s=e.groupId,c={url:"".concat(this.apiUrl,"/").concat(n,"/").concat(o,"/chatgroups/").concat(s,"/ban?resource=").concat(a.clientResource),type:"POST",dataType:"json",headers:{Authorization:"Bearer "+i,"Content-Type":"application/json"},success:e.success,error:e.error};return B.debug("Call disableSendGroupMsg",e),G.call(this,c,_.DISABLED_SEND_GROUP_MSG)}function Qn(e){if("string"!=typeof e.groupId||""===e.groupId)throw Error('Invalid parameter: "groupId"');if(!Wt.call(this)){var t=v.create({type:h.REST_PARAMS_STATUS,message:"appkey or token error"});return Promise.reject(t)}var r=this.context,n=r.orgName,o=r.appName,i=r.accessToken,a=r.jid,s=e.groupId,c={url:"".concat(this.apiUrl,"/").concat(n,"/").concat(o,"/chatgroups/").concat(s,"/ban?resource=").concat(a.clientResource),type:"DELETE",dataType:"json",headers:{Authorization:"Bearer "+i,"Content-Type":"application/json"},success:e.success,error:e.error};return B.debug("Call enableSendGroupMsg",e),G.call(this,c,_.ENABLE_SEND_GROUP_MSG)}function Jn(e){if("string"!=typeof e.groupId||""===e.groupId)throw Error('Invalid parameter: "groupId"');if(!Array.isArray(e.users))throw Error('Invalid parameter: "users"');if(!Wt.call(this)){var t=v.create({type:h.REST_PARAMS_STATUS,message:"appkey or token error"});return Promise.reject(t)}var r=this.context,n=r.orgName,o=r.appName,i=r.accessToken,a=r.jid,s=e.groupId,c={usernames:e.users},u={url:"".concat(this.apiUrl,"/").concat(n,"/").concat(o,"/chatgroups/").concat(s,"/white/users?resource=").concat(a.clientResource),type:"POST",data:JSON.stringify(c),dataType:"json",headers:{Authorization:"Bearer "+i,"Content-Type":"application/json"},success:e.success,error:e.error};return B.debug("Call addUsersToGroupWhitelist",e),G.call(this,u,_.ADD_USERS_TO_GROUP_WHITE)}var Yn=Jn;function Xn(e){if("string"!=typeof e.groupId||""===e.groupId)throw Error('Invalid parameter: "groupId"');if("string"!=typeof e.userName||""===e.userName)throw Error('Invalid parameter: "userName"');if(!Wt.call(this)){var t=v.create({type:h.REST_PARAMS_STATUS,message:"appkey or token error"});return Promise.reject(t)}var r=this.context,n=r.orgName,o=r.appName,i=r.accessToken,a=r.jid,s=e.groupId,c={url:"".concat(this.apiUrl,"/").concat(n,"/").concat(o,"/chatgroups/").concat(s,"/white/users/").concat(e.userName,"?resource=").concat(a.clientResource),type:"DELETE",dataType:"json",headers:{Authorization:"Bearer "+i,"Content-Type":"application/json"},success:e.success,error:e.error};return B.debug("Call removeGroupAllowlistMember",e),G.call(this,c,_.REMOVE_GROUP_WHITE_MEMBER)}var Zn=Xn,eo=Xn;function to(e){if("string"!=typeof e.groupId||""===e.groupId)throw Error('Invalid parameter: "groupId"');if(!Wt.call(this)){var t=v.create({type:h.REST_PARAMS_STATUS,message:"appkey or token error"});return Promise.reject(t)}var r=this.context,n=r.orgName,o=r.appName,i=r.accessToken,a=e.groupId,s={url:this.apiUrl+"/"+n+"/"+o+"/chatgroups/"+a+"/white/users",type:"GET",dataType:"json",headers:{Authorization:"Bearer "+i,"Content-Type":"application/json"},success:e.success,error:e.error};return B.debug("Call getGroupAllowlist",e),G.call(this,s,_.GET_GROUP_WHITE_LIST)}var ro=to;function no(e){if("string"!=typeof e.groupId||""===e.groupId)throw Error('Invalid parameter: "groupId"');if("string"!=typeof e.userName||""===e.userName)throw Error('Invalid parameter: "userName"');if(!Wt.call(this)){var t=v.create({type:h.REST_PARAMS_STATUS,message:"appkey or token error"});return Promise.reject(t)}var r=this.context,n=r.orgName,o=r.appName,i=r.accessToken,a=e.groupId,s={url:this.apiUrl+"/"+n+"/"+o+"/chatgroups/"+a+"/white/users/"+e.userName,type:"GET",dataType:"json",headers:{Authorization:"Bearer "+i,"Content-Type":"application/json"},success:e.success,error:e.error};return B.debug("Call isInGroupAllowlist",e),G.call(this,s,_.IS_IN_GROUP_WHITE_LIST)}var oo=no,io=no;function ao(e){if("string"!=typeof e.groupId||""===e.groupId)throw Error('Invalid parameter: "chatRoomId"');if(!Wt.call(this)){var t=v.create({type:h.REST_PARAMS_STATUS,message:"appkey or token error"});return Promise.reject(t)}var r=this.context,n=r.orgName,o=r.appName,i=r.accessToken,a=r.userId,s={url:this.apiUrl+"/"+n+"/"+o+"/sdk/group/"+e.groupId+"/mute/"+a,dataType:"json",type:"GET",headers:{Authorization:"Bearer "+i}};return B.debug("Call isInGroupMutelist",e),G.call(this,s).then((function(e){return e.data}))}function so(e){if("string"!=typeof e.groupId||""===e.groupId)throw Error('Invalid parameter: "groupId"');if("string"!=typeof e.msgId||""===e.msgId)throw Error('Invalid parameter: "msgId"');if(!Wt.call(this)){var t=v.create({type:h.REST_PARAMS_STATUS,message:"appkey or token error"});return Promise.reject(t)}var r=this.context,n=r.orgName,o=r.appName,i=r.accessToken,a={url:this.apiUrl+"/"+n+"/"+o+"/chatgroups/"+e.groupId+"/acks/"+e.msgId,dataType:"json",type:"GET",data:{limit:500,key:void 0},headers:{Authorization:"Bearer "+i},success:e.success,error:e.error};return B.debug("Call getGroupMsgReadUser",e),G.call(this,a,_.GET_GROUP_MSG_READ_USER)}function co(e){if("string"!=typeof e.groupId||""===e.groupId)throw Error('Invalid parameter: "groupId"');if(!Wt.call(this)){var t=v.create({type:h.REST_PARAMS_STATUS,message:"appkey or token error"});return Promise.reject(t)}var r=this.context,n=r.orgName,o=r.appName,i=r.accessToken,a=e.groupId,s={url:"".concat(this.apiUrl,"/").concat(n,"/").concat(o,"/chatgroups/").concat(a,"/announcement"),type:"GET",dataType:"json",headers:{Authorization:"Bearer "+i,"Content-Type":"application/json"},success:e.success,error:e.error};return B.debug("Call fetchGroupAnnouncement",e),G.call(this,s,_.GET_GROUP_ANN)}function uo(e){if("string"!=typeof e.groupId||""===e.groupId)throw Error('Invalid parameter: "groupId"');if("string"!=typeof e.announcement)throw Error('Invalid parameter: "announcement"');if(!Wt.call(this)){var t=v.create({type:h.REST_PARAMS_STATUS,message:"appkey or token error"});return Promise.reject(t)}var r=this.context,n=r.orgName,o=r.appName,i=r.accessToken,a=r.jid,s=e.groupId,c={announcement:e.announcement},u={url:"".concat(this.apiUrl,"/").concat(n,"/").concat(o,"/chatgroups/").concat(s,"/announcement?resource=").concat(a.clientResource),type:"POST",dataType:"json",data:JSON.stringify(c),headers:{Authorization:"Bearer "+i,"Content-Type":"application/json"},success:e.success,error:e.error};return B.debug("Call updateGroupAnnouncement",e),G.call(this,u,_.UPDATE_GROUP_ANN)}function lo(e){if("string"!=typeof e.groupId||""===e.groupId)throw Error('Invalid parameter: "groupId"');if("object"!=c(e.file))throw Error('Invalid parameter: "file"');if(Wt.call(this)){var t=this.context,r=t.orgName,n=t.appName,o=t.accessToken,i=t.jid,a=e.groupId;Q.call(this,{uploadUrl:"".concat(this.apiUrl,"/").concat(r,"/").concat(n,"/chatgroups/").concat(a,"/share_files?resource=").concat(i.clientResource),onFileUploadProgress:e.onFileUploadProgress,onFileUploadComplete:e.onFileUploadComplete,onFileUploadError:e.onFileUploadError,onFileUploadCanceled:e.onFileUploadCanceled,accessToken:o,apiUrl:this.apiUrl,file:e.file,appKey:this.context.appKey},_.UPLOAD_GROUP_FILE),B.debug("Call uploadGroupSharedFile",e)}}function po(e){if("string"!=typeof e.groupId||""===e.groupId)throw Error('Invalid parameter: "groupId"');if("string"!=typeof e.fileId||""===e.fileId)throw Error('Invalid parameter: "file"');if(!Wt.call(this)){var t=v.create({type:h.REST_PARAMS_STATUS,message:"appkey or token error"});return Promise.reject(t)}var r=this.context,n=r.orgName,o=r.appName,i=r.accessToken,a=r.jid,s=e.groupId,c=e.fileId,u={url:"".concat(this.apiUrl,"/").concat(n,"/").concat(o,"/chatgroups/").concat(s,"/share_files/").concat(c,"?resource=").concat(a.clientResource),type:"DELETE",dataType:"json",headers:{Authorization:"Bearer "+i,"Content-Type":"application/json"},success:e.success,error:e.error};return B.debug("Call deleteGroupSharedFile",e),G.call(this,u,_.DELETE_GROUP_FILE)}function fo(e){if("string"!=typeof e.groupId||""===e.groupId)throw Error('Invalid parameter: "groupId"');if(!Wt.call(this)){var t=v.create({type:h.REST_PARAMS_STATUS,message:"appkey or token error"});return Promise.reject(t)}var r=this.context,n=r.orgName,o=r.appName,i=r.accessToken,a=e.pageNum||1,s=e.pageSize||10,c=e.groupId,u={url:"".concat(this.apiUrl,"/").concat(n,"/").concat(o,"/chatgroups/").concat(c,"/share_files?pagenum=").concat(a,"&pagesize=").concat(s),type:"GET",dataType:"json",headers:{Authorization:"Bearer "+i,"Content-Type":"application/json"},success:e.success,error:e.error};return B.debug("Call getGroupSharedFilelist",e),G.call(this,u,_.GET_GROUP_FILE_LIST)}var ho=fo;function mo(e){var t=this.context,r=t.orgName,n=t.appName,o=t.accessToken,i=this.apiUrl,a=e.groupId,s=e.fileId;J.call(this,{url:"".concat(i,"/").concat(r,"/").concat(n,"/chatgroups/").concat(a,"/share_files/").concat(s),onFileDownloadComplete:e.onFileDownloadComplete,onFileDownloadError:e.onFileDownloadError,accessToken:o,id:s,secret:e.secret},_.DOWN_GROUP_FILE),B.debug("Call downloadGroupSharedFile",e)}function go(e){return function(e,t,r,n){return new(r||(r=Promise))((function(o,i){function a(e){try{c(n.next(e))}catch(e){i(e)}}function s(e){try{c(n.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}c((n=n.apply(e,t||[])).next())}))}(this,void 0,void 0,(function(){var t,r,n,o,i,a,s,u,l,p,d;return function(e,t){var r,n,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(r)throw new TypeError("Generator is already executing.");for(;a;)try{if(r=1,n&&(o=2&i[0]?n.return:i[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,i[1])).done)return o;switch(n=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,n=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!((o=(o=a.trys).length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],n=0}finally{r=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}}(this,(function(f){switch(f.label){case 0:if(t=e.groupId,r=e.userId,n=e.memberAttributes,"string"!=typeof t||""===t)throw Error('Invalid parameter: "groupId"');if("string"!=typeof r||""===r)throw Error('Invalid parameter: "userId"');if("object"!=c(n))throw Error('Invalid parameter: "memberAttributes"');return Wt.call(this)?(i=this.context,a=i.orgName,s=i.appName,u=i.accessToken,l=i.jid,p={metaData:n},d={url:"".concat(this.apiUrl,"/").concat(a,"/").concat(s,"/sdk/metadata/chatgroup/").concat(t,"/user/").concat(r,"?resource=").concat(l.clientResource),type:"PUT",dataType:"json",data:JSON.stringify(p),headers:{Authorization:"Bearer "+u,"Content-Type":"application/json"}},B.debug("Call setGroupMemberAttributes",e),[4,G.call(this,d,_.SET_GROUP_MEMBER_ATTRS)]):(o=v.create({type:h.REST_PARAMS_STATUS,message:"appkey or token error"}),[2,Promise.reject(o)]);case 1:return f.sent(),[2]}}))}))}function yo(e){var t=e.groupId,r=e.userId;return vo.call(this,{groupId:t,userIds:[r]}).then((function(e){var t;return{type:e.type,data:null===(t=e.data)||void 0===t?void 0:t[r]}}))}function vo(e){var t=e.groupId,r=e.userIds,n=e.keys,o=void 0===n?[]:n;if("string"!=typeof t||""===t)throw Error('Invalid parameter: "groupId"');if(!Array.isArray(r)||(null==r?void 0:r.length)<=0)throw Error('Invalid parameter: "userIds"');if(!Array.isArray(o))throw Error('Invalid parameter: "keys"');if(!Wt.call(this)){var i=v.create({type:h.REST_PARAMS_STATUS,message:"appkey or token error"});return Promise.reject(i)}var a=this.context,s=a.orgName,c=a.appName,u=a.accessToken,l={targets:r,properties:o},p={url:"".concat(this.apiUrl,"/").concat(s,"/").concat(c,"/sdk/metadata/chatgroup/").concat(t,"/get"),type:"POST",dataType:"json",data:JSON.stringify(l),headers:{Authorization:"Bearer "+u,"Content-Type":"application/json"}};return B.debug("Call getGroupMembersAttributes",e),G.call(this,p,_.GET_GROUP_MEMBER_ATTR).then((function(e){return{type:e.type,data:(null==e?void 0:e.data)||{}}}))}function Eo(e){var t=this;if("number"!=typeof e.pagenum||"number"!=typeof e.pagesize)throw Error("Invalid parameter");if(!Wt.call(this)){var r=v.create({type:h.REST_PARAMS_STATUS,message:"appkey or token error"});return Promise.reject(r)}var n={pagenum:e.pagenum||1,pagesize:e.pagesize||20},o=this.context,i=o.orgName,a=o.appName,s=o.accessToken,c={url:this.apiUrl+"/"+i+"/"+a+"/chatrooms",dataType:"json",type:"GET",headers:{Authorization:"Bearer "+s},data:n,success:function(t){"function"==typeof e.success&&e.success(t)},error:function(r){r.error&&r.error_description&&t.onError&&t.onError({type:h.WEBIM_CONNCTION_LOAD_CHATROOM_ERROR,message:r.error_description,data:r}),"function"==typeof e.error&&e.error(r)}};return B.debug("Call getChatRooms",e),G.call(this,c,_.GET_CHATROOM_LIST)}function _o(e){if("string"!=typeof e.name)throw Error("Invalid parameter");if(!Wt.call(this)){var t=v.create({type:h.REST_PARAMS_STATUS,message:"appkey or token error"});return Promise.reject(t)}var r={name:e.name,description:e.description,maxusers:e.maxusers,owner:this.user,members:e.members},n=this.context,o=n.orgName,i=n.appName,a=(n.accessToken,n.jid),s={url:"".concat(this.apiUrl,"/").concat(o,"/").concat(i,"/chatrooms?resource=").concat(a.clientResource),dataType:"json",type:"POST",data:JSON.stringify(r),headers:{Authorization:"Bearer "+e.token||!1,"Content-Type":"application/json"},success:e.success,error:e.error};return B.debug("Call createChatRoom",e),G.call(this,s,_.CREATE_CHATROOM)}function To(e){if("string"!=typeof e.chatRoomId||""===e.chatRoomId)throw Error("Invalid parameter");if(!Wt.call(this)){var t=v.create({type:h.REST_PARAMS_STATUS,message:"appkey or token error"});return Promise.reject(t)}var r=this.context,n=r.orgName,o=r.appName,i=(r.accessToken,r.jid),a={url:"".concat(this.apiUrl,"/").concat(n,"/").concat(o,"/chatrooms/").concat(e.chatRoomId,"?resource=").concat(i.clientResource),dataType:"json",type:"DELETE",headers:{Authorization:"Bearer "+e.token||!1},success:e.success,error:e.error};return B.debug("Call destroyChatRoom",e),G.call(this,a,_.DESTROY_CHATROOM)}function Oo(e){if("string"!=typeof e.chatRoomId||""===e.chatRoomId)throw Error("Invalid parameter");if(!Wt.call(this)){var t=v.create({type:h.REST_PARAMS_STATUS,message:"appkey or token error"});return Promise.reject(t)}var r=this.context,n=r.orgName,o=r.appName,i=r.accessToken,a={url:this.apiUrl+"/"+n+"/"+o+"/chatrooms/"+e.chatRoomId,dataType:"json",type:"GET",headers:{Authorization:"Bearer "+i,"Content-Type":"application/json"},success:e.success,error:e.error};return B.debug("Call getChatRoomDetails",e),G.call(this,a,_.GET_CHATROOM_DETAIL)}function bo(e){if("string"!=typeof e.chatRoomId||""===e.chatRoomId)throw Error("Invalid parameter");if(!Wt.call(this)){var t=v.create({type:h.REST_PARAMS_STATUS,message:"appkey or token error"});return Promise.reject(t)}var r=this.context,n=r.orgName,o=r.appName,i=r.accessToken,a=r.jid,s=e.chatRoomId,c={groupname:e.chatRoomName,description:e.description,maxusers:e.maxusers},u={url:"".concat(this.apiUrl,"/").concat(n,"/").concat(o,"/chatrooms/").concat(s,"?resource=").concat(a.clientResource),type:"PUT",data:JSON.stringify(c),dataType:"json",headers:{Authorization:"Bearer "+i,"Content-Type":"application/json"},success:e.success,error:e.error};return B.debug("Call modifyChatRoom",e),G.call(this,u,_.MODIFY_CHATROOM)}function So(e){if("string"!=typeof e.chatRoomId||""===e.chatRoomId||"string"!=typeof e.username)throw Error("Invalid parameter");if(!Wt.call(this)){var t=v.create({type:h.REST_PARAMS_STATUS,message:"appkey or token error"});return Promise.reject(t)}var r=this.context,n=r.orgName,o=r.appName,i=r.accessToken,a=r.jid,s=e.chatRoomId,c=e.username,u={url:"".concat(this.apiUrl,"/").concat(n,"/").concat(o,"/chatrooms/").concat(s,"/users/").concat(c,"?resource=").concat(a.clientResource),type:"DELETE",dataType:"json",headers:{Authorization:"Bearer "+i,"Content-Type":"application/json"},success:e.success,error:e.error};return B.debug("Call removeChatRoomMember",e),G.call(this,u,_.REMOVE_CHATROOM_MEMBER)}var Ao=So;function Io(e){if("string"!=typeof e.chatRoomId||""===e.chatRoomId||!Array.isArray(e.users))throw Error("Invalid parameter");if(!Wt.call(this)){var t=v.create({type:h.REST_PARAMS_STATUS,message:"appkey or token error"});return Promise.reject(t)}var r=e.chatRoomId,n=e.users.join(","),o=this.context,i=o.orgName,a=o.appName,s=o.accessToken,c=o.jid,u={url:"".concat(this.apiUrl,"/").concat(i,"/").concat(a,"/chatrooms/").concat(r,"/users/").concat(n,"?resource=").concat(c.clientResource),type:"DELETE",dataType:"json",headers:{Authorization:"Bearer "+s,"Content-Type":"application/json"},success:e.success,error:e.error};return B.debug("Call removeChatRoomMembers",e),G.call(this,u,_.MULTI_REMOVE_CHATROOM_MEMBER)}var Ro=Io;function Co(e){if("string"!=typeof e.chatRoomId||""===e.chatRoomId||!Array.isArray(e.users))throw Error("Invalid parameter");if(!Wt.call(this)){var t=v.create({type:h.REST_PARAMS_STATUS,message:"appkey or token error"});return Promise.reject(t)}var r=e.chatRoomId,n={usernames:e.users},o=this.context,i=o.orgName,a=o.appName,s=o.accessToken,c=o.jid,u={url:"".concat(this.apiUrl,"/").concat(i,"/").concat(a,"/chatrooms/").concat(r,"/users?resource=").concat(c.clientResource),type:"POST",data:JSON.stringify(n),dataType:"json",headers:{Authorization:"Bearer "+s,"Content-Type":"application/json"},success:e.success,error:e.error};return B.debug("Call addUsersToChatRoom",e),G.call(this,u,_.ADD_USERS_TO_CHATROOM)}function No(e){if("string"!=typeof e.roomId||""===e.roomId)throw Error("Invalid parameter");if(!Wt.call(this)){var t=v.create({type:h.REST_PARAMS_STATUS,message:"appkey or token error"});return Promise.reject(t)}return B.debug("Call joinChatRoom",e),this.mSync.handleChatRoom(e,"join")}function Mo(e){if("string"!=typeof e.roomId||""===e.roomId)throw Error("Invalid parameter");if(!Wt.call(this)){var t=v.create({type:h.REST_PARAMS_STATUS,message:"appkey or token error"});return Promise.reject(t)}return B.debug("Call leaveChatRoom",e),this.mSync.handleChatRoom(e,"leave")}var wo=Mo;function Po(e){if("string"!=typeof e.chatRoomId||""===e.chatRoomId)throw Error('Invalid parameter: "chatRoomId"');if(isNaN(e.pageNum)||e.pageNum<=0)throw Error('The parameter "pageNum" should be a positive number');if(isNaN(e.pageSize)||e.pageSize<=0)throw Error('The parameter "pageSize" should be a positive number');if(!Wt.call(this)){var t=v.create({type:h.REST_PARAMS_STATUS,message:"appkey or token error"});return Promise.reject(t)}var r={pagenum:e.pageNum,pagesize:e.pageSize},n=this.context,o=n.orgName,i=n.appName,a=n.accessToken,s={url:this.apiUrl+"/"+o+"/"+i+"/chatrooms/"+e.chatRoomId+"/users",dataType:"json",type:"GET",data:r,headers:{Authorization:"Bearer "+a,"Content-Type":"application/json"},success:e.success,error:e.error};return B.debug("Call listChatRoomMembers",e),G.call(this,s,_.LIST_CHATROOM_MEMBERS)}var ko=Po;function xo(e){if("string"!=typeof e.chatRoomId||""===e.chatRoomId)throw Error('Invalid parameter: "chatRoomId"');if(!Wt.call(this)){var t=v.create({type:h.REST_PARAMS_STATUS,message:"appkey or token error"});return Promise.reject(t)}var r=this.context,n=r.orgName,o=r.appName,i=r.accessToken,a=e.chatRoomId,s={url:this.apiUrl+"/"+n+"/"+o+"/chatrooms/"+a+"/admin",dataType:"json",type:"GET",headers:{Authorization:"Bearer "+i,"Content-Type":"application/json"},success:e.success,error:e.error};return B.debug("Call getChatRoomAdmin",e),G.call(this,s,_.GET_CHATROOM_ADMIN)}function Uo(e){if("string"!=typeof e.chatRoomId||""===e.chatRoomId)throw Error('Invalid parameter: "chatRoomId"');if("string"!=typeof e.username||""===e.username)throw Error('Invalid parameter: "username"');if(!Wt.call(this)){var t=v.create({type:h.REST_PARAMS_STATUS,message:"appkey or token error"});return Promise.reject(t)}var r=this.context,n=r.orgName,o=r.appName,i=r.accessToken,a=r.jid,s=e.chatRoomId,c={newadmin:e.username},u={url:"".concat(this.apiUrl,"/").concat(n,"/").concat(o,"/chatrooms/").concat(s,"/admin?resource=").concat(a.clientResource),type:"POST",dataType:"json",data:JSON.stringify(c),headers:{Authorization:"Bearer "+i,"Content-Type":"application/json"},success:e.success,error:e.error};return B.debug("Call setChatRoomAdmin",e),G.call(this,u,_.SET_CHATROOM_ADMIN)}function jo(e){if("string"!=typeof e.chatRoomId||""===e.chatRoomId)throw Error('Invalid parameter: "chatRoomId"');if("string"!=typeof e.username||""===e.username)throw Error('Invalid parameter: "username"');if(!Wt.call(this)){var t=v.create({type:h.REST_PARAMS_STATUS,message:"appkey or token error"});return Promise.reject(t)}var r=this.context,n=r.orgName,o=r.appName,i=r.accessToken,a=r.jid,s=e.chatRoomId,c=e.username,u={url:"".concat(this.apiUrl,"/").concat(n,"/").concat(o,"/chatrooms/").concat(s,"/admin/").concat(c,"?resource=").concat(a.clientResource),type:"DELETE",dataType:"json",headers:{Authorization:"Bearer "+i,"Content-Type":"application/json"},success:e.success,error:e.error};return B.debug("Call removeChatRoomAdmin",e),G.call(this,u,_.REMOVE_CHATROOM_ADMIN)}function Bo(e){if("string"!=typeof e.chatRoomId||""===e.chatRoomId)throw Error('Invalid parameter: "groupId"');if("string"!=typeof e.username||""===e.username)throw Error('Invalid parameter: "username"');if("number"!=typeof e.muteDuration)throw Error('Invalid parameter: "muteDuration"');if(!Wt.call(this)){var t=v.create({type:h.REST_PARAMS_STATUS,message:"appkey or token error"});return Promise.reject(t)}var r=this.context,n=r.orgName,o=r.appName,i=r.accessToken,a=r.jid,s=e.chatRoomId,c={usernames:[e.username],mute_duration:e.muteDuration},u={url:"".concat(this.apiUrl,"/").concat(n,"/").concat(o,"/chatrooms/").concat(s,"/mute?resource=").concat(a.clientResource),dataType:"json",type:"POST",headers:{Authorization:"Bearer "+i,"Content-Type":"application/json"},data:JSON.stringify(c),success:e.success,error:e.error};return B.debug("Call muteChatRoomMember",e),G.call(this,u,_.MUTE_CHATROOM_MEMBER)}function Lo(e){if("string"!=typeof e.chatRoomId||""===e.chatRoomId)throw Error('Invalid parameter: "chatRoomId"');if("string"!=typeof e.username||""===e.username)throw Error('Invalid parameter: "username"');if(!Wt.call(this)){var t=v.create({type:h.REST_PARAMS_STATUS,message:"appkey or token error"});return Promise.reject(t)}var r=this.context,n=r.orgName,o=r.appName,i=r.accessToken,a=r.jid,s=e.chatRoomId,c=e.username,u={url:"".concat(this.apiUrl,"/").concat(n,"/").concat(o,"/chatrooms/").concat(s,"/mute/").concat(c,"?resource=").concat(a.clientResource),dataType:"json",type:"DELETE",headers:{Authorization:"Bearer "+i,"Content-Type":"application/json"},success:e.success,error:e.error};return B.debug("Call unmuteChatRoomMember",e),G.call(this,u,_.REMOVE_MUTE_CHATROOM_MEMBER)}var Do=Lo;function Go(e){if("string"!=typeof e.chatRoomId||""===e.chatRoomId)throw Error('Invalid parameter: "chatRoomId"');if(!Wt.call(this)){var t=v.create({type:h.REST_PARAMS_STATUS,message:"appkey or token error"});return Promise.reject(t)}var r=this.context,n=r.orgName,o=r.appName,i=r.accessToken,a=e.chatRoomId,s={url:this.apiUrl+"/"+n+"/"+o+"/chatrooms/"+a+"/mute",dataType:"json",type:"GET",headers:{Authorization:"Bearer "+i,"Content-Type":"application/json"},success:e.success,error:e.error};return B.debug("Call getChatRoomMutelist",e),G.call(this,s,_.GET_MUTE_CHATROOM_MEMBERS)}var Ho=Go,Fo=Go;function $o(e){if("string"!=typeof e.chatRoomId||""===e.chatRoomId)throw Error('Invalid parameter: "chatRoomId"');if("string"!=typeof e.username||""===e.username)throw Error('Invalid parameter: "username"');if(!Wt.call(this)){var t=v.create({type:h.REST_PARAMS_STATUS,message:"appkey or token error"});return Promise.reject(t)}var r=this.context,n=r.orgName,o=r.appName,i=r.accessToken,a=r.jid,s=e.chatRoomId,c=e.username,u={url:"".concat(this.apiUrl,"/").concat(n,"/").concat(o,"/chatrooms/").concat(s,"/blocks/users/").concat(c,"?resource=").concat(a.clientResource),type:"POST",dataType:"json",headers:{Authorization:"Bearer "+i,"Content-Type":"application/json"},success:e.success,error:e.error};return B.debug("Call blockChatRoomMember",e),G.call(this,u,_.SET_CHATROOM_MEMBER_TO_BLACK)}var zo=$o;function Wo(e){if("string"!=typeof e.chatRoomId||""===e.chatRoomId)throw Error('Invalid parameter: "chatRoomId"');if(!Array.isArray(e.usernames))throw Error('Invalid parameter: "usernames"');if(!Wt.call(this)){var t=v.create({type:h.REST_PARAMS_STATUS,message:"appkey or token error"});return Promise.reject(t)}var r=this.context,n=r.orgName,o=r.appName,i=r.accessToken,a=r.jid,s=e.chatRoomId,c={usernames:e.usernames},u={url:"".concat(this.apiUrl,"/").concat(n,"/").concat(o,"/chatrooms/").concat(s,"/blocks/users?resource=").concat(a.clientResource),data:JSON.stringify(c),type:"POST",dataType:"json",headers:{Authorization:"Bearer "+i,"Content-Type":"application/json"},success:e.success,error:e.error};return B.debug("Chat blockChatRoomMembers:",u),G.call(this,u,_.MULTI_SET_CHATROOM_MEMBER_TO_BLACK)}var Vo=Wo;function qo(e){if("string"!=typeof e.chatRoomId||""===e.chatRoomId)throw Error('Invalid parameter: "chatRoomId"');if("string"!=typeof e.username||""===e.username)throw Error('Invalid parameter: "username"');if(!Wt.call(this)){var t=v.create({type:h.REST_PARAMS_STATUS,message:"appkey or token error"});return Promise.reject(t)}var r=this.context,n=r.orgName,o=r.appName,i=r.accessToken,a=r.jid,s=e.chatRoomId,c=e.username,u={url:"".concat(this.apiUrl,"/").concat(n,"/").concat(o,"/chatrooms/").concat(s,"/blocks/users/").concat(c,"?resource=").concat(a.clientResource),type:"DELETE",dataType:"json",headers:{Authorization:"Bearer "+i,"Content-Type":"application/json"},success:e.success,error:e.error};return B.debug("Call unblockChatRoomMember",e),G.call(this,u,_.REMOVE_CHATROOM_MEMBER_BLACK)}var Ko=qo;function Qo(e){if("string"!=typeof e.chatRoomId||""===e.chatRoomId)throw Error('Invalid parameter: "chatRoomId"');if(!Array.isArray(e.usernames))throw Error('Invalid parameter: "usernames"');if(!Wt.call(this)){var t=v.create({type:h.REST_PARAMS_STATUS,message:"appkey or token error"});return Promise.reject(t)}var r=this.context,n=r.orgName,o=r.appName,i=r.accessToken,a=r.jid,s=e.chatRoomId,c=e.usernames.join(","),u={url:"".concat(this.apiUrl,"/").concat(n,"/").concat(o,"/chatrooms/").concat(s,"/blocks/users/").concat(c,"?resource=").concat(a.clientResource),type:"DELETE",dataType:"json",headers:{Authorization:"Bearer "+i,"Content-Type":"application/json"},success:e.success,error:e.error};return B.debug("Call unblockChatRoomMembers",e),G.call(this,u,_.MULTI_REMOVE_CHATROOM_MEMBER_BLACK)}var Jo=Qo;function Yo(e){if("string"!=typeof e.chatRoomId||""===e.chatRoomId)throw Error('Invalid parameter: "chatRoomId"');if(!Wt.call(this)){var t=v.create({type:h.REST_PARAMS_STATUS,message:"appkey or token error"});return Promise.reject(t)}var r=this.context,n=r.orgName,o=r.appName,i=r.accessToken,a=e.chatRoomId,s={url:this.apiUrl+"/"+n+"/"+o+"/chatrooms/"+a+"/blocks/users",type:"GET",dataType:"json",headers:{Authorization:"Bearer "+i,"Content-Type":"application/json"},success:e.success,error:e.error};return B.debug("Call getChatRoomBlocklist",e),G.call(this,s,_.GET_CHATROOM_BLOCK_MEMBERS)}var Xo=Yo,Zo=Yo;function ei(e){if("string"!=typeof e.chatRoomId||""===e.chatRoomId)throw Error('Invalid parameter: "chatRoomId"');if(!Wt.call(this)){var t=v.create({type:h.REST_PARAMS_STATUS,message:"appkey or token error"});return Promise.reject(t)}var r=this.context,n=r.orgName,o=r.appName,i=r.accessToken,a=r.jid,s=e.chatRoomId,c={url:"".concat(this.apiUrl,"/").concat(n,"/").concat(o,"/chatrooms/").concat(s,"/ban?resource=").concat(a.clientResource),type:"POST",dataType:"json",headers:{Authorization:"Bearer "+i,"Content-Type":"application/json"},success:e.success,error:e.error};return B.debug("Call disableSendChatRoomMsg",e),G.call(this,c,_.DISABLED_CHATROOM_SEND_MSG)}function ti(e){if("string"!=typeof e.chatRoomId||""===e.chatRoomId)throw Error('Invalid parameter: "chatRoomId"');if(!Wt.call(this)){var t=v.create({type:h.REST_PARAMS_STATUS,message:"appkey or token error"});return Promise.reject(t)}var r=this.context,n=r.orgName,o=r.appName,i=r.accessToken,a=r.jid,s=e.chatRoomId,c={url:"".concat(this.apiUrl,"/").concat(n,"/").concat(o,"/chatrooms/").concat(s,"/ban?resource=").concat(a.clientResource),type:"DELETE",dataType:"json",headers:{Authorization:"Bearer "+i,"Content-Type":"application/json"},success:e.success,error:e.error};return B.debug("Call enableSendChatRoomMsg",e),G.call(this,c,_.ENABLE_CHATROOM_SEND_MSG)}function ri(e){if("string"!=typeof e.chatRoomId||""===e.chatRoomId)throw Error('Invalid parameter: "chatRoomId"');if(!Array.isArray(e.users))throw Error('Invalid parameter: "users"');if(!Wt.call(this)){var t=v.create({type:h.REST_PARAMS_STATUS,message:"appkey or token error"});return Promise.reject(t)}var r=this.context,n=r.orgName,o=r.appName,i=r.accessToken,a=r.jid,s=e.chatRoomId,c={usernames:e.users},u={url:"".concat(this.apiUrl,"/").concat(n,"/").concat(o,"/chatrooms/").concat(s,"/white/users?resource=").concat(a.clientResource),type:"POST",data:JSON.stringify(c),dataType:"json",headers:{Authorization:"Bearer "+i,"Content-Type":"application/json"},success:e.success,error:e.error};return B.debug("Call addUsersToChatRoomWhitelist",e),G.call(this,u,_.ADD_USERS_TO_CHATROOM)}var ni=ri;function oi(e){if("string"!=typeof e.chatRoomId||""===e.chatRoomId)throw Error('Invalid parameter: "chatRoomId"');if("string"!=typeof e.userName||""===e.userName)throw Error('Invalid parameter: "userName"');if(!Wt.call(this)){var t=v.create({type:h.REST_PARAMS_STATUS,message:"appkey or token error"});return Promise.reject(t)}var r=this.context,n=r.orgName,o=r.appName,i=r.accessToken,a=r.jid,s=e.chatRoomId,c={url:"".concat(this.apiUrl,"/").concat(n,"/").concat(o,"/chatrooms/").concat(s,"/white/users/").concat(e.userName,"?resource=").concat(a.clientResource),type:"DELETE",dataType:"json",headers:{Authorization:"Bearer "+i,"Content-Type":"application/json"},success:e.success,error:e.error};return B.debug("Call removeChatRoomAllowlistMember",e),G.call(this,c,_.REMOVE_CHATROOM_WHITE_USERS)}var ii=oi,ai=oi;function si(e){if("string"!=typeof e.chatRoomId||""===e.chatRoomId)throw Error('Invalid parameter: "chatRoomId"');if(!Wt.call(this)){var t=v.create({type:h.REST_PARAMS_STATUS,message:"appkey or token error"});return Promise.reject(t)}var r=this.context,n=r.orgName,o=r.appName,i=r.accessToken,a=e.chatRoomId,s={url:this.apiUrl+"/"+n+"/"+o+"/chatrooms/"+a+"/white/users",type:"GET",dataType:"json",headers:{Authorization:"Bearer "+i,"Content-Type":"application/json"},success:e.success,error:e.error};return B.debug("Call getChatRoomAllowlist",e),G.call(this,s,_.GET_CHATROOM_WHITE_USERS)}var ci=si;function ui(e){if("string"!=typeof e.chatRoomId||""===e.chatRoomId)throw Error('Invalid parameter: "chatRoomId"');if("string"!=typeof e.userName||""===e.userName)throw Error('Invalid parameter: "userName"');if(!Wt.call(this)){var t=v.create({type:h.REST_PARAMS_STATUS,message:"appkey or token error"});return Promise.reject(t)}var r=this.context,n=r.orgName,o=r.appName,i=r.accessToken,a=e.chatRoomId,s={url:this.apiUrl+"/"+n+"/"+o+"/chatrooms/"+a+"/white/users/"+e.userName,type:"GET",dataType:"json",headers:{Authorization:"Bearer "+i,"Content-Type":"application/json"},success:e.success,error:e.error};return B.debug("Call isInChatRoomAllowlist",e),G.call(this,s,_.CHECK_CHATROOM_WHITE_USER)}var li=ui;function pi(e){if("string"!=typeof e.chatRoomId||""===e.chatRoomId)throw Error('Invalid parameter: "chatRoomId"');if(!Wt.call(this)){var t=v.create({type:h.REST_PARAMS_STATUS,message:"appkey or token error"});return Promise.reject(t)}var r=this.context,n=r.orgName,o=r.appName,i=r.accessToken,a=r.userId,s={url:this.apiUrl+"/"+n+"/"+o+"/sdk/chatrooms/"+e.chatRoomId+"/mute/"+a,dataType:"json",type:"GET",headers:{Authorization:"Bearer "+i}};return B.debug("Call isInChatRoomMutelist",e),G.call(this,s).then((function(e){return e.data}))}function di(e){if("string"!=typeof e.roomId||""===e.roomId)throw Error('Invalid parameter: "roomId"');if(!Wt.call(this)){var t=v.create({type:h.REST_PARAMS_STATUS,message:"appkey or token error"});return Promise.reject(t)}var r=this.context,n=r.orgName,o=r.appName,i=r.accessToken,a=e.roomId,s={url:"".concat(this.apiUrl,"/").concat(n,"/").concat(o,"/chatrooms/").concat(a,"/announcement"),type:"GET",dataType:"json",headers:{Authorization:"Bearer "+i,"Content-Type":"application/json"},success:e.success,error:e.error};return B.debug("Call fetchChatRoomAnnouncement",e),G.call(this,s,_.GET_CHATROOM_ANN)}function fi(e){if("string"!=typeof e.roomId||""===e.roomId)throw Error('Invalid parameter: "roomId"');if("string"!=typeof e.announcement)throw Error('Invalid parameter: "announcement"');if(!Wt.call(this)){var t=v.create({type:h.REST_PARAMS_STATUS,message:"appkey or token error"});return Promise.reject(t)}var r=this.context,n=r.orgName,o=r.appName,i=r.accessToken,a=r.jid,s=e.roomId,c={announcement:e.announcement},u={url:"".concat(this.apiUrl,"/").concat(n,"/").concat(o,"/chatrooms/").concat(s,"/announcement?resource=").concat(a.clientResource),type:"POST",dataType:"json",data:JSON.stringify(c),headers:{Authorization:"Bearer "+i,"Content-Type":"application/json"},success:e.success,error:e.error};return B.debug("Call updateChatRoomAnnouncement:",e),G.call(this,u,_.UPDATE_CHATROOM_ANN)}function hi(e){if("string"!=typeof e.roomId||""===e.roomId)throw Error('Invalid parameter: "roomId"');if("object"!=c(e.file))throw Error('Invalid parameter: "file"');if(Wt.call(this)){var t=this.context,r=t.orgName,n=t.appName,o=t.accessToken,i=t.jid,a=e.roomId;Q.call(this,{uploadUrl:"".concat(this.apiUrl,"/").concat(r,"/").concat(n,"/chatrooms/").concat(a,"/share_files?resource=").concat(i.clientResource),onFileUploadProgress:e.onFileUploadProgress,onFileUploadComplete:e.onFileUploadComplete,onFileUploadError:e.onFileUploadError,onFileUploadCanceled:e.onFileUploadCanceled,accessToken:o,apiUrl:this.apiUrl,file:e.file,appKey:this.context.appKey},_.UPLOAD_CHATROOM_FILE),B.debug("Call uploadChatRoomSharedFile",e)}}function mi(e){if("string"!=typeof e.roomId||""===e.roomId)throw Error('Invalid parameter: "roomId"');if("string"!=typeof e.fileId||""===e.fileId)throw Error('Invalid parameter: "fileId"');if(!Wt.call(this)){var t=v.create({type:h.REST_PARAMS_STATUS,message:"appkey or token error"});return Promise.reject(t)}var r=this.context,n=r.orgName,o=r.appName,i=r.accessToken,a=r.jid,s=e.roomId,c=e.fileId,u={url:"".concat(this.apiUrl,"/").concat(n,"/").concat(o,"/chatrooms/").concat(s,"/share_files/").concat(c,"?resource=").concat(a.clientResource),type:"DELETE",dataType:"json",headers:{Authorization:"Bearer "+i,"Content-Type":"application/json"},success:e.success,error:e.error};return B.debug("Call deleteChatRoomSharedFile",e),G.call(this,u,_.DELETE_CHATROOM_FILE)}function gi(e){if("string"!=typeof e.roomId||""===e.roomId)throw Error('Invalid parameter: "roomId"');if(!Wt.call(this)){var t=v.create({type:h.REST_PARAMS_STATUS,message:"appkey or token error"});return Promise.reject(t)}var r=this.context,n=r.orgName,o=r.appName,i=r.accessToken,a=e.roomId,s={url:"".concat(this.apiUrl,"/").concat(n,"/").concat(o,"/chatrooms/").concat(a,"/share_files"),type:"GET",dataType:"json",headers:{Authorization:"Bearer "+i,"Content-Type":"application/json",accept:"application/json"},success:e.success,error:e.error};return B.debug("Call fetchChatRoomSharedFileList",e),G.call(this,s,_.GET_CHATROOM_FILES)}var yi=gi;function vi(e){if("string"!=typeof e.chatRoomId||""===e.chatRoomId)throw Error("Invalid parameter chatRoomId: "+e.chatRoomId);if(e.attributeKeys&&!Array.isArray(e.attributeKeys))throw Error('"Invalid parameter attributeKeys": '+e.attributeKeys);if(!Wt.call(this)){var t=v.create({type:h.REST_PARAMS_STATUS,message:"appkey or token error"});return Promise.reject(t)}var r=this.context,n=r.orgName,o=r.appName,i=r.accessToken,a=(r.jid,e.chatRoomId),s={keys:e.attributeKeys},c={url:"".concat(this.apiUrl,"/").concat(n,"/").concat(o,"/metadata/chatroom/").concat(a),type:"POST",dataType:"json",data:JSON.stringify(s),headers:{Authorization:"Bearer "+i,"Content-Type":"application/json"}};return B.debug("Call getChatRoomAttributes:",e),G.call(this,c,_.GET_CHATROOM_ATTR).then((function(e){return{data:e.data,type:e.type}}))}function Ei(e){if("string"!=typeof e.chatRoomId||""===e.chatRoomId)throw Error("Invalid parameter chatRoomId: "+e.chatRoomId);if("object"!=c(e.attributes))throw Error("Invalid parameter attributes: "+e.attributes);if(!Wt.call(this)){var t=v.create({type:h.REST_PARAMS_STATUS,message:"appkey or token error"});return Promise.reject(t)}var r=this.context,n=r.orgName,o=r.appName,i=r.accessToken,a=r.userId,s=e.chatRoomId,u=e.attributes,l=e.autoDelete,p=void 0===l||l,d=e.isForced?"/forced":"",f={metaData:u,autoDelete:p?"DELETE":"NO_DELETE"},m={url:"".concat(this.apiUrl,"/").concat(n,"/").concat(o,"/metadata/chatroom/").concat(s,"/user/").concat(a)+d,type:"PUT",dataType:"json",data:JSON.stringify(f),headers:{Authorization:"Bearer "+i,"Content-Type":"application/json"}};return B.debug("Call setChatRoomAttributes:",e),G.call(this,m,_.SET_CHATROOM_ATTR).then((function(e){return Vt(e)}))}function _i(e){var t;if("string"!=typeof e.chatRoomId||""===e.chatRoomId)throw Error("Invalid parameter chatRoomId: "+e.chatRoomId);if("string"!=typeof e.attributeKey||""===e.attributeKey)throw Error("Invalid parameter attributeKey: "+e.attributeKey);if("string"!=typeof e.attributeValue||""===e.attributeValue)throw Error("Invalid parameter attributeValue: "+e.attributeValue);if(!Wt.call(this)){var r=v.create({type:h.REST_PARAMS_STATUS,message:"appkey or token error"});return Promise.reject(r)}var n=this.context,o=n.orgName,i=n.appName,a=n.accessToken,s=n.userId,c=e.chatRoomId,u=e.attributeKey,l=e.attributeValue,p=e.autoDelete,d=void 0===p||p,f=e.isForced?"/forced":"",m={metaData:(t={},t[u]=l,t),autoDelete:d?"DELETE":"NO_DELETE"},g={url:"".concat(this.apiUrl,"/").concat(o,"/").concat(i,"/metadata/chatroom/").concat(c,"/user/").concat(s)+f,type:"PUT",dataType:"json",data:JSON.stringify(m),headers:{Authorization:"Bearer "+a,"Content-Type":"application/json"}};return B.debug("Call setChatRoomAttribute:",e),G.call(this,g,_.SET_CHATROOM_ATTR).then((function(e){var t=qt(e);if(t)throw t}))}function Ti(e){if("string"!=typeof e.chatRoomId||""===e.chatRoomId)throw Error("Invalid parameter chatRoomId: "+e.chatRoomId);if(!Array.isArray(e.attributeKeys))throw Error('"Invalid parameter attributes": '+e.attributeKeys);if(!Wt.call(this)){var t=v.create({type:h.REST_PARAMS_STATUS,message:"appkey or token error"});return Promise.reject(t)}var r=this.context,n=r.orgName,o=r.appName,i=r.accessToken,a=r.userId,s=e.chatRoomId,c=e.attributeKeys,u=e.isForced?"/forced":"",l={keys:c},p={url:"".concat(this.apiUrl,"/").concat(n,"/").concat(o,"/metadata/chatroom/").concat(s,"/user/").concat(a)+u,type:"DELETE",dataType:"json",data:JSON.stringify(l),headers:{Authorization:"Bearer "+i,"Content-Type":"application/json"}};return B.debug("Call removeChatRoomAttributes:",e),G.call(this,p,_.DELETE_CHATROOM_ATTR).then((function(e){return Vt(e)}))}function Oi(e){if("string"!=typeof e.chatRoomId||""===e.chatRoomId)throw Error("Invalid parameter chatRoomId: "+e.chatRoomId);if("string"!=typeof e.attributeKey||""===e.attributeKey)throw Error('"Invalid parameter attributeKey": '+e.attributeKey);if(!Wt.call(this)){var t=v.create({type:h.REST_PARAMS_STATUS,message:"appkey or token error"});return Promise.reject(t)}var r=this.context,n=r.orgName,o=r.appName,i=r.accessToken,a=r.userId,s=e.chatRoomId,c=e.attributeKey,u=e.isForced?"/forced":"",l={keys:[c]},p={url:"".concat(this.apiUrl,"/").concat(n,"/").concat(o,"/metadata/chatroom/").concat(s,"/user/").concat(a)+u,type:"DELETE",dataType:"json",data:JSON.stringify(l),headers:{Authorization:"Bearer "+i,"Content-Type":"application/json"}};return B.debug("Call removeChatRoomAttribute:",e),G.call(this,p,_.DELETE_CHATROOM_ATTR).then((function(e){var t=qt(e);if(t)throw t}))}var bi=function(e,t,r,n){return new(r||(r=Promise))((function(o,i){function a(e){try{c(n.next(e))}catch(e){i(e)}}function s(e){try{c(n.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}c((n=n.apply(e,t||[])).next())}))},Si=function(e,t){var r,n,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(r)throw new TypeError("Generator is already executing.");for(;a;)try{if(r=1,n&&(o=2&i[0]?n.return:i[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,i[1])).done)return o;switch(n=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,n=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!((o=(o=a.trys).length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],n=0}finally{r=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}};function Ai(e){return bi(this,void 0,void 0,(function(){var t,r,n,o,i,a,s,c,u;return Si(this,(function(l){switch(l.label){case 0:if("string"!=typeof e.description)throw Error('Invalid parameter: "description"');return Wt.call(this)?(r=this.context,n=r.accessToken,o=r.orgName,i=r.appName,a=r.userId,s=this.context.jid.clientResource,c={ext:e.description},u={url:"".concat(this.apiUrl,"/").concat(o,"/").concat(i,"/users/").concat(a,"/presence/").concat(s,"/1"),type:"POST",dataType:"json",data:JSON.stringify(c),headers:{Authorization:"Bearer "+n,"Content-Type":"application/json"},success:e.success,error:e.error},B.debug("Call publishPresence:",e),[4,G.call(this,u)]):(t=v.create({type:h.REST_PARAMS_STATUS,message:"appkey or token error"}),[2,Promise.reject(t)]);case 1:return l.sent(),[2]}}))}))}function Ii(e){if(!Array.isArray(e.usernames))throw Error('Invalid parameter: "usernames"');if(!e.usernames.length)throw Error('"usernames" can not be empty');if("number"!=typeof e.expiry)throw Error('Invalid parameter: "expiry"');if(!Wt.call(this)){var t=v.create({type:h.REST_PARAMS_STATUS,message:"appkey or token error"});return Promise.reject(t)}var r=this.context,n=r.orgName,o=r.appName,i=r.userId,a=r.accessToken,s={usernames:e.usernames},c={url:"".concat(this.apiUrl,"/").concat(n,"/").concat(o,"/users/").concat(i,"/presence/").concat(e.expiry),type:"POST",dataType:"json",data:JSON.stringify(s),headers:{Authorization:"Bearer "+a,"Content-Type":"application/json"},success:e.success,error:e.error};return B.debug("Call subscribePresence:",e),G.call(this,c).then((function(e){return e.data={result:null==e?void 0:e.result},e}))}function Ri(e){return bi(this,void 0,void 0,(function(){var t,r,n,o,i,a,s;return Si(this,(function(c){switch(c.label){case 0:if(!Array.isArray(e.usernames))throw Error('Invalid parameter: "usernames"');if(!e.usernames.length)throw Error('"usernames" can not be empty');return Wt.call(this)?(r=this.context,n=r.orgName,o=r.appName,i=r.userId,a=r.accessToken,s={url:"".concat(this.apiUrl,"/").concat(n,"/").concat(o,"/users/").concat(i,"/presence"),type:"DELETE",dataType:"json",data:JSON.stringify(e.usernames),headers:{Authorization:"Bearer "+a,"Content-Type":"application/json"},success:e.success,error:e.error},B.debug("Call unsubscribePresence:",e),[4,G.call(this,s)]):(t=v.create({type:h.REST_PARAMS_STATUS,message:"appkey or token error"}),[2,Promise.reject(t)]);case 1:return c.sent(),[2]}}))}))}function Ci(e){if("number"!=typeof e.pageNum||"number"!=typeof e.pageSize)throw Error('Invalid parameter: "pageNum or pageSize"');if(e.pageNum<0||e.pageSize<0)throw Error('"pageNum" should >= 0 and "pageSize" should >= 0');if(!Wt.call(this)){var t=v.create({type:h.REST_PARAMS_STATUS,message:"appkey or token error"});return Promise.reject(t)}var r=this.context,n=r.orgName,o=r.appName,i=r.userId,a=r.accessToken,s={url:"".concat(this.apiUrl,"/").concat(n,"/").concat(o,"/users/").concat(i,"/presence/sublist?pageNum=").concat(e.pageNum,"&pageSize=").concat(e.pageSize),type:"GET",dataType:"json",headers:{Authorization:"Bearer "+a,"Content-Type":"application/json"},success:e.success,error:e.error};return B.debug("Call getSubscribedPresenceList:",e),G.call(this,s).then((function(e){return e.data={result:null==e?void 0:e.result},e}))}var Ni=Ci;function Mi(e){if(!Array.isArray(e.usernames))throw Error('Invalid parameter: "usernames"');if(!e.usernames.length)throw Error('"usernames" can not be empty');if(!Wt.call(this)){var t=v.create({type:h.REST_PARAMS_STATUS,message:"appkey or token error"});return Promise.reject(t)}var r={usernames:e.usernames},n=this.context,o=n.orgName,i=n.appName,a=n.userId,s=n.accessToken,c={url:"".concat(this.apiUrl,"/").concat(o,"/").concat(i,"/users/").concat(a,"/presence"),type:"POST",dataType:"json",data:JSON.stringify(r),headers:{Authorization:"Bearer "+s,"Content-Type":"application/json"},success:e.success,error:e.error};return B.debug("Call getPresenceStatus:",e),G.call(this,c).then((function(e){return e.data={result:null==e?void 0:e.result},e}))}function wi(e){if(!(e.options instanceof Object))throw Error('Invalid parameter: "options"');var t=e.options.paramType;if("number"!=typeof t||t<0||t>2)throw Error('Invalid parameter: "options of paramType"');if(0===t){if("string"!=typeof e.options.remindType)throw Error('Invalid parameter: "options of remindType"')}else if(1===t){if("number"!=typeof e.options.duration)throw Error('Invalid parameter: "options of duration"')}else if(2===t){var r=e.options,n=r.startTime,o=r.endTime;if(!(n instanceof Object&&Object.keys(n).length))throw Error('Invalid parameter: "options of startTime"');if(!n.hours||"number"!=typeof n.hours||!n.minutes||"number"!=typeof n.minutes)throw Error('Invalid parameter: "options of startTime of hours or minutes"');if(!(o instanceof Object&&Object.keys(o).length))throw Error('Invalid parameter: "options of endTime"');if(!o.hours||"number"!=typeof o.hours||!o.minutes||"number"!=typeof o.minutes)throw Error('Invalid parameter: "options of endTime of hours or minutes"')}if(!Wt.call(this)){var i=v.create({type:h.REST_PARAMS_STATUS,message:"appkey or token error"});return Promise.reject(i)}var a=this.context,s=a.accessToken,c=a.orgName,u=a.appName,l=a.userId,p={};switch(t){case 0:p={type:e.options.remindType};break;case 1:p={ignoreDuration:e.options.duration};break;case 2:var d=e.options;n=d.startTime,o=d.endTime,p={ignoreInterval:"".concat(n.hours,":").concat(n.minutes,"-").concat(o.hours,":").concat(o.minutes)}}var f={url:"".concat(this.apiUrl,"/").concat(c,"/").concat(u,"/users/").concat(l,"/notification/user/").concat(l),type:"PUT",dataType:"json",data:JSON.stringify(p),headers:{Authorization:"Bearer "+s,"Content-Type":"application/json"},success:e.success,error:e.error};return B.debug("Call setSilentModeForAll:",e),G.call(this,f)}function Pi(e){if(!Wt.call(this)){var t=v.create({type:h.REST_PARAMS_STATUS,message:"appkey or token error"});return Promise.reject(t)}var r=this.context,n=r.accessToken,o=r.orgName,i=r.appName,a=r.userId,s={url:"".concat(this.apiUrl,"/").concat(o,"/").concat(i,"/users/").concat(a,"/notification/user/").concat(a),type:"GET",dataType:"json",headers:{Authorization:"Bearer "+n,"Content-Type":"application/json"},success:null==e?void 0:e.success,error:null==e?void 0:e.error};return B.debug("Call getSilentModeForAll:",e),G.call(this,s)}function ki(e){if("string"!=typeof e.conversationId||!e.conversationId)throw Error('Invalid parameter: "conversationId"');if("string"!=typeof e.type||!e.type)throw Error('Invalid parameter: "type"');if(!(e.options instanceof Object))throw Error('Invalid parameter: "options"');var t=e.options.paramType;if("number"!=typeof t||t<0||t>2)throw Error('Invalid parameter: "options of paramType"');if(0===t){if("string"!=typeof e.options.remindType)throw Error('Invalid parameter: "options of remindType"')}else if(1===t){if("number"!=typeof e.options.duration)throw Error('Invalid parameter: "options of duration"')}else if(2===t){var r=e.options,n=r.startTime,o=r.endTime;if(!(n instanceof Object&&Object.keys(n).length))throw Error('Invalid parameter: "options of startTime"');if(!n.hours||"number"!=typeof n.hours||!n.minutes||"number"!=typeof n.minutes)throw Error('Invalid parameter: "options of startTime of hours or minutes"');if(!(o instanceof Object&&Object.keys(o).length))throw Error('Invalid parameter: "options of endTime"');if(!o.hours||"number"!=typeof o.hours||!o.minutes||"number"!=typeof o.minutes)throw Error('Invalid parameter: "options of endTime of hours or minutes"')}if(!Wt.call(this)){var i=v.create({type:h.REST_PARAMS_STATUS,message:"appkey or token error"});return Promise.reject(i)}var a=this.context,s=a.accessToken,c=a.orgName,u=a.appName,l=a.userId,p="chatgroup",d={};switch(t){case 0:d={type:e.options.remindType};break;case 1:d={ignoreDuration:e.options.duration};break;case 2:var f=e.options;n=f.startTime,o=f.endTime,d={ignoreInterval:"".concat(n.hours,":").concat(n.minutes,"-").concat(o.hours,":").concat(o.minutes)}}"singleChat"===e.type&&(p="user");var m={url:"".concat(this.apiUrl,"/").concat(c,"/").concat(u,"/users/").concat(l,"/notification/").concat(p,"/").concat(e.conversationId),type:"PUT",dataType:"json",data:JSON.stringify(d),headers:{Authorization:"Bearer "+s,"Content-Type":"application/json"},success:e.success,error:e.error};return B.debug("Call setSilentModeForConversation:",e),G.call(this,m)}function xi(e){if("string"!=typeof e.conversationId||!e.conversationId)throw Error('Invalid parameter: "conversationId"');if("string"!=typeof e.type||!e.type)throw Error('Invalid parameter: "type"');if(!Wt.call(this)){var t=v.create({type:h.REST_PARAMS_STATUS,message:"appkey or token error"});return Promise.reject(t)}var r=this.context,n=r.accessToken,o=r.orgName,i=r.appName,a=r.userId,s="chatgroup";"singleChat"===e.type&&(s="user");var c={url:"".concat(this.apiUrl,"/").concat(o,"/").concat(i,"/users/").concat(a,"/notification/").concat(s,"/").concat(e.conversationId),type:"PUT",dataType:"json",data:JSON.stringify({type:"DEFAULT"}),headers:{Authorization:"Bearer "+n,"Content-Type":"application/json"},success:e.success,error:e.error};return B.debug("Call clearRemindTypeForConversation:",e),G.call(this,c)}function Ui(e){if("string"!=typeof e.conversationId||!e.conversationId)throw Error('Invalid parameter: "conversationId"');if("string"!=typeof e.type||!e.type)throw Error('Invalid parameter: "type"');if(!Wt.call(this)){var t=v.create({type:h.REST_PARAMS_STATUS,message:"appkey or token error"});return Promise.reject(t)}var r=this.context,n=r.accessToken,o=r.orgName,i=r.appName,a=r.userId,s="chatgroup";"singleChat"===e.type&&(s="user");var c={url:"".concat(this.apiUrl,"/").concat(o,"/").concat(i,"/users/").concat(a,"/notification/").concat(s,"/").concat(e.conversationId),type:"GET",dataType:"json",headers:{Authorization:"Bearer "+n,"Content-Type":"application/json"},success:e.success,error:e.error};return B.debug("Call getSilentModeForConversation:",e),G.call(this,c)}function ji(e){if(!Array.isArray(e.conversationList))throw Error('Invalid parameter: "conversationList"');if(!Wt.call(this)){var t=v.create({type:h.REST_PARAMS_STATUS,message:"appkey or token error"});return Promise.reject(t)}var r=this.context,n=r.accessToken,o=r.orgName,i=r.appName,a=r.userId,s=[],c=[];e.conversationList.forEach((function(e){"singleChat"===e.type?s.push(e.id):c.push(e.id)}));var u=s.length?s.join(","):"",l=c.length?c.join(","):"",p={url:"".concat(this.apiUrl,"/").concat(o,"/").concat(i,"/users/").concat(a,"/notification?user=").concat(u,"&group=").concat(l),type:"GET",dataType:"json",headers:{Authorization:"Bearer "+n,"Content-Type":"application/json"},success:e.success,error:e.error};return B.debug("Call getSilentModeForConversations:",e),G.call(this,p)}function Bi(e){if("string"!=typeof e.language||!e.language)throw Error('Invalid parameter: "language"');if(!Wt.call(this)){var t=v.create({type:h.REST_PARAMS_STATUS,message:"appkey or token error"});return Promise.reject(t)}var r={translationLanguage:e.language},n=this.context,o=n.accessToken,i=n.orgName,a=n.appName,s=n.userId,c={url:"".concat(this.apiUrl,"/").concat(i,"/").concat(a,"/users/").concat(s,"/notification/language"),type:"PUT",dataType:"json",data:JSON.stringify(r),headers:{Authorization:"Bearer "+o,"Content-Type":"application/json"},success:e.success,error:e.error};return B.debug("Call setPushPerformLanguage:",e),G.call(this,c)}function Li(e){if(!Wt.call(this)){var t=v.create({type:h.REST_PARAMS_STATUS,message:"appkey or token error"});return Promise.reject(t)}var r=this.context,n=r.accessToken,o=r.orgName,i=r.appName,a=r.userId,s={url:"".concat(this.apiUrl,"/").concat(o,"/").concat(i,"/users/").concat(a,"/notification/language"),type:"GET",dataType:"json",headers:{Authorization:"Bearer "+n,"Content-Type":"application/json"},success:null==e?void 0:e.success,error:null==e?void 0:e.error};return B.debug("Call getPushPerformLanguage:",e),G.call(this,s)}var Di=function(e,t,r,n){return new(r||(r=Promise))((function(o,i){function a(e){try{c(n.next(e))}catch(e){i(e)}}function s(e){try{c(n.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}c((n=n.apply(e,t||[])).next())}))},Gi=function(e,t){var r,n,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(r)throw new TypeError("Generator is already executing.");for(;a;)try{if(r=1,n&&(o=2&i[0]?n.return:i[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,i[1])).done)return o;switch(n=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,n=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!((o=(o=a.trys).length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],n=0}finally{r=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}};function Hi(e){if("string"!=typeof e.name||""===e.name)throw Error("Invalid parameter name: ".concat(e.name));if("string"!=typeof e.messageId||""===e.messageId)throw Error("Invalid parameter messageId: ".concat(e.messageId));if("string"!=typeof e.parentId||""===e.parentId)throw Error("Invalid parameter parentId: ".concat(e.parentId));if(!Wt.call(this)){var t=v.create({type:h.REST_PARAMS_STATUS,message:"appkey or token error"});return Promise.reject(t)}var r=this.context,n=r.orgName,o=r.appName,i=r.accessToken,a=r.jid,s={name:e.name,msg_id:e.messageId,group_id:e.parentId,owner:this.user},c={url:"".concat(this.apiUrl,"/").concat(n,"/").concat(o,"/thread?resource=").concat(a.clientResource),type:"POST",dataType:"json",data:JSON.stringify(s),headers:{Authorization:"Bearer "+i,"Content-Type":"application/json"}};return G.call(this,c).then((function(e){var t=e.data.thread_id;return e.data={chatThreadId:t},e}))}function Fi(e){if("string"!=typeof e.chatThreadId||""===e.chatThreadId)throw Error("Invalid parameter chatThreadId: ".concat(e.chatThreadId));if(!Wt.call(this)){var t=v.create({type:h.REST_PARAMS_STATUS,message:"appkey or token error"});return Promise.reject(t)}var r=this.context,n=r.orgName,o=r.appName,i=r.accessToken,a=r.jid,s={url:"".concat(this.apiUrl,"/").concat(n,"/").concat(o,"/thread/").concat(e.chatThreadId,"/user/").concat(this.user,"/join?resource=").concat(a.clientResource),type:"POST",dataType:"json",headers:{Authorization:"Bearer "+i,"Content-Type":"application/json"}};return G.call(this,s).then((function(e){var t=e.data.detail;return t.messageId=t.msgId,t.parentId=t.groupId,delete t.msgId,delete t.groupId,e}))}function $i(e){return Di(this,void 0,void 0,(function(){var t,r,n,o,i,a,s;return Gi(this,(function(c){switch(c.label){case 0:if("string"!=typeof e.chatThreadId||""===e.chatThreadId)throw Error("Invalid parameter chatThreadId: ".concat(e.chatThreadId));return Wt.call(this)?(r=this.context,n=r.orgName,o=r.appName,i=r.accessToken,a=r.jid,s={url:"".concat(this.apiUrl,"/").concat(n,"/").concat(o,"/thread/").concat(e.chatThreadId,"/user/").concat(this.user,"/quit?resource=").concat(a.clientResource),type:"DELETE",dataType:"json",headers:{Authorization:"Bearer "+i,"Content-Type":"application/json"}},[4,G.call(this,s)]):(t=v.create({type:h.REST_PARAMS_STATUS,message:"appkey or token error"}),[2,Promise.reject(t)]);case 1:return c.sent(),[2]}}))}))}function zi(e){return Di(this,void 0,void 0,(function(){var t,r,n,o,i,a,s;return Gi(this,(function(c){switch(c.label){case 0:if("string"!=typeof e.chatThreadId||""===e.chatThreadId)throw Error("Invalid parameter chatThreadId: ".concat(e.chatThreadId));return Wt.call(this)?(r=this.context,n=r.orgName,o=r.appName,i=r.accessToken,a=r.jid,s={url:"".concat(this.apiUrl,"/").concat(n,"/").concat(o,"/thread/").concat(e.chatThreadId,"?resource=").concat(a.clientResource),type:"DELETE",dataType:"json",headers:{Authorization:"Bearer "+i,"Content-Type":"application/json"}},[4,G.call(this,s)]):(t=v.create({type:h.REST_PARAMS_STATUS,message:"appkey or token error"}),[2,Promise.reject(t)]);case 1:return c.sent(),[2]}}))}))}function Wi(e){if("string"!=typeof e.chatThreadId||""===e.chatThreadId)throw Error("Invalid parameter chatThreadId: ".concat(e.chatThreadId));if("string"!=typeof e.name||""===e.name)throw Error("Invalid parameter name: ".concat(e.name));if(!Wt.call(this)){var t=v.create({type:h.REST_PARAMS_STATUS,message:"appkey or token error"});return Promise.reject(t)}var r=this.context,n=r.orgName,o=r.appName,i=r.accessToken,a=r.jid,s={name:e.name},c={url:"".concat(this.apiUrl,"/").concat(n,"/").concat(o,"/thread/").concat(e.chatThreadId,"?resource=").concat(a.clientResource),type:"PUT",dataType:"json",data:JSON.stringify(s),headers:{Authorization:"Bearer "+i,"Content-Type":"application/json"}};return G.call(this,c)}function Vi(e){if("string"!=typeof e.chatThreadId||""===e.chatThreadId)throw Error("Invalid parameter chatThreadId: ".concat(e.chatThreadId));if(!Wt.call(this)){var t=v.create({type:h.REST_PARAMS_STATUS,message:"appkey or token error"});return Promise.reject(t)}var r=this.context,n=r.orgName,o=r.appName,i=r.accessToken,a={limit:e.pageSize||20,cursor:e.cursor||""},s={url:"".concat(this.apiUrl,"/").concat(n,"/").concat(o,"/thread/").concat(e.chatThreadId,"/users"),type:"GET",dataType:"json",data:a,headers:{Authorization:"Bearer "+i,"Content-Type":"application/json"}};return G.call(this,s)}function qi(e){if("string"!=typeof e.chatThreadId||""===e.chatThreadId)throw Error("Invalid parameter chatThreadId: ".concat(e.chatThreadId));if("string"!=typeof e.username||""===e.username)throw Error("Invalid parameter username: ".concat(e.username));if(!Wt.call(this)){var t=v.create({type:h.REST_PARAMS_STATUS,message:"appkey or token error"});return Promise.reject(t)}var r=this.context,n=r.orgName,o=r.appName,i=r.accessToken,a=r.jid,s={url:"".concat(this.apiUrl,"/").concat(n,"/").concat(o,"/thread/").concat(e.chatThreadId,"/users/").concat(e.username,"?resource=").concat(a.clientResource),type:"DELETE",dataType:"json",headers:{Authorization:"Bearer "+i,"Content-Type":"application/json"}};return G.call(this,s)}function Ki(e){if(!Wt.call(this)){var t=v.create({type:h.REST_PARAMS_STATUS,message:"appkey or token error"});return Promise.reject(t)}var r=this.context,n=r.orgName,o=r.appName,i=r.accessToken,a={limit:e.pageSize||20,cursor:e.cursor||""},s={url:e.parentId?"".concat(this.apiUrl,"/").concat(n,"/").concat(o,"/threads/chatgroups/").concat(e.parentId,"/user/").concat(this.user):"".concat(this.apiUrl,"/").concat(n,"/").concat(o,"/threads/user/").concat(this.user),type:"GET",dataType:"json",data:a,headers:{Authorization:"Bearer "+i,"Content-Type":"application/json"}};return G.call(this,s).then((function(e){var t=e.entities;return null==t||t.forEach((function(e){e.parentId=e.groupId,e.messageId=e.msgId,delete e.groupId,delete e.msgId})),e}))}function Qi(e){if("string"!=typeof e.parentId||""===e.parentId)throw Error("Invalid parameter parentId: ".concat(e.parentId));if(!Wt.call(this)){var t=v.create({type:h.REST_PARAMS_STATUS,message:"appkey or token error"});return Promise.reject(t)}var r=this.context,n=r.orgName,o=r.appName,i=r.accessToken,a={cursor:e.cursor||"",limit:e.pageSize||20},s={url:"".concat(this.apiUrl,"/").concat(n,"/").concat(o,"/threads/chatgroups/").concat(e.parentId),type:"GET",dataType:"json",data:a,headers:{Authorization:"Bearer "+i,"Content-Type":"application/json"}};return G.call(this,s).then((function(e){var t=e.entities;return null==t||t.forEach((function(e){e.parentId=e.groupId,e.messageId=e.msgId,delete e.groupId,delete e.msgId})),e}))}function Ji(e){if(!Array.isArray(e.chatThreadIds))throw Error("Invalid parameter chatThreadIds: ".concat(e.chatThreadIds));if(!Wt.call(this)){var t=v.create({type:h.REST_PARAMS_STATUS,message:"appkey or token error"});return Promise.reject(t)}var r=this.context,n=r.orgName,o=r.appName,i=r.accessToken,a={threadIds:e.chatThreadIds},s={url:"".concat(this.apiUrl,"/").concat(n,"/").concat(o,"/thread/message"),type:"POST",dataType:"json",data:JSON.stringify(a),headers:{Authorization:"Bearer "+i,"Content-Type":"application/json"}};return G.call(this,s).then((function(e){return function(e){var t=e.entities;return null==t||t.forEach((function(e){e.chatThreadId=e.thread_id,e.last_message&&"{}"!==JSON.stringify(e.last_message)?e.lastMessage=re(e.last_message):e.lastMessage=e.last_message,delete e.thread_id,delete e.last_message})),e}(e)}))}function Yi(e){if("string"!=typeof e.chatThreadId||""===e.chatThreadId)throw Error("Invalid parameter chatThreadId: ".concat(e.chatThreadId));if(!Wt.call(this)){var t=v.create({type:h.REST_PARAMS_STATUS,message:"appkey or token error"});return Promise.reject(t)}var r=this.context,n=r.orgName,o=r.appName,i=r.accessToken,a={url:"".concat(this.apiUrl,"/").concat(n,"/").concat(o,"/thread/").concat(e.chatThreadId),type:"GET",dataType:"json",headers:{Authorization:"Bearer "+i,"Content-Type":"application/json"}};return G.call(this,a).then((function(e){return e.data.affiliationsCount=e.data.affiliations_count,e.data.messageId=e.data.msgId,e.data.parentId=e.data.groupId,delete e.data.affiliations_count,delete e.data.msgId,delete e.data.groupId,e}))}function Xi(){if(!Wt.call(this)){var e=v.create({type:h.REST_PARAMS_STATUS,message:"appkey or token error"});return Promise.reject(e)}var t=this.context,r=t.orgName,n=t.appName,o=t.accessToken,i={url:"".concat(this.apiUrl,"/").concat(r,"/").concat(n,"/users/").concat(this.user,"/translate/support/language"),dataType:"json",type:"GET",headers:{Authorization:"Bearer "+o}};return B.debug("Call getSupportedLanguages"),G.call(this,i)}function Zi(e){if("string"!=typeof e.text||""===e.text)throw Error('Invalid parameter: "text"');if(!Array.isArray(e.languages))throw Error('Invalid parameter: "language"');if(!Wt.call(this)){var t=v.create({type:h.REST_PARAMS_STATUS,message:"appkey or token error"});return Promise.reject(t)}var r=this.context,n=r.orgName,o=r.appName,i=r.accessToken,a="".concat(this.apiUrl,"/").concat(n,"/").concat(o,"/users/").concat(this.user,"/translate"),s={text:e.text,to:e.languages},c={url:a,dataType:"json",type:"POST",data:JSON.stringify(s),headers:{Authorization:"Bearer "+i}};return B.debug("Call translateMessage"),G.call(this,c)}var ea=function(){return ea=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},ea.apply(this,arguments)},ta=function(e,t){var r,n,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(r)throw new TypeError("Generator is already executing.");for(;a;)try{if(r=1,n&&(o=2&i[0]?n.return:i[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,i[1])).done)return o;switch(n=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,n=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!((o=(o=a.trys).length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],n=0}finally{r=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}},ra=X.getEnvInfo(),na="web"===ra.platform,oa=function(){},ia={CLOSED:3,CLOSING:2,CONNECTING:0,OPEN:1},aa=function(){function e(n){var o;if(this.name="connection",this.max_cache_length=100,this.isDebug=n.isDebug||!1,this.isReport=!1,this.isHttpDNS=void 0===n.isHttpDNS?na:n.isHttpDNS,this.heartBeatWait=n.heartBeatWait||3e4,this.autoReconnectNumMax=n.autoReconnectNumMax||5,this.refreshDNSIntervals=this.autoReconnectNumMax<5?this.autoReconnectNumMax:5,this.delivery=n.delivery||!1,this.dnsArr=["https://rs.easemob.com","https://rs.chat.agora.io","http://59.110.89.59","http://39.97.193.190","http://39.97.193.187"],this.dnsIndex=0,this.dnsTotal=this.dnsArr.length,this.restHosts=[],this.restTotal=0,this.restIndex=0,this.hostIndex=0,this.socketHost=[],this.hostTotal=0,this.times=1,this.autoReconnectNumTotal=0,this.domain="easemob.com",this.appKey=n.appKey,this.appName="",this.orgName="",this.token="",this.grantType="",this.apiUrl=n.apiUrl||"",this.url=n.url||"",this.https=n.https||"undefined"!=typeof window&&"https:"===(null===(o=window.location)||void 0===o?void 0:o.protocol),this.version="4.3.0",this.deviceId=n.deviceId||"webim",this.osType=16,this.useOwnUploadFun=n.useOwnUploadFun||!1,this.compressType=[0],this.encryptType=[0],this.clientResource="",this.expiresIn=0,this.expirationTime=0,this.logOut=!0,this.context={jid:{appKey:"",clientResource:"",domain:"easemob.com",name:""},userId:"",appKey:"",status:0,restTokenData:"",appName:"",orgName:"",root:{},accessToken:""},this._msgHash={},this._msgPromiseHash={},this._queues=[],this._load_msg_cache=[],this.unMSyncSendMsgMap=new Map,this.mr_cache={},this.closeInfo=null,this.reconnecting=!1,"string"!=typeof this.appKey||2!==this.appKey.split("#").length)throw Error("Illegal appKey: ".concat(this.appKey));var i=this.appKey.split("#");this.orgName=i[0],this.appName=i[1],this.listen=Rt.bind(this),this.mSync=this.usePlugin(St),this.eventHandler=this.usePlugin(At),Object.assign(e.prototype,t),Object.assign(e.prototype,r),Object.assign(e.prototype,a),Object.assign(e.prototype,s),Object.assign(e.prototype,u),Object.assign(e.prototype,l),Object.assign(e.prototype,p),this.dataReport=new Ft({appkey:this.appKey,org:this.orgName,sdkVersion:this.version,deviceId:this.deviceId,isReport:this.isReport});var c=0,d=this;Object.defineProperty(X,"ajaxUnconventionalErrorTimes",{set:function(e){0!==e&&(B.debug("rest api request fail times: ".concat(e)),(c=e)%5==0&&this.isHttpDNS&&(B.debug("refresh dns config when rest request fail."),ha.call(d,"refresh",{},{})))},get:function(){return c}})}return e.prototype.usePlugin=function(e,t){if(!t)return new e(this);this[t]=new e(this)},e.prototype.listen=function(e){},e.prototype.addEventHandler=function(e,t){},e.prototype.removeEventHandler=function(e){},e.prototype.registerUser=function(e){var t=this;return new Promise((function(r,n){var o=t.dataReport.geOperateFun({uid:e.username,operationName:_.REGISTER});if(t.isHttpDNS){t.dnsIndex=0;var i=ea(ea({},e),{user:e.username,pwd:e.password,promise:{resolve:r,reject:n}});ha.call(t,"signup",i,{rpt:o})}else i=ea(ea({},e),{promise:{resolve:r,reject:n}}),sa.call(t,i,{rpt:o})}))},e.prototype.open=function(e){var t=this;return B.debug("open"),new Promise((function(r,n){if(da.call(t,e)){e.accessToken&&(t.token=e.accessToken);var o=ea(ea({},e),{promise:{resolve:r,reject:n}}),i=t.dataReport.geOperateFun({uid:e.user,operationName:_.LOGIN});t.isHttpDNS?ha.call(t,"login",o,{rpt:i}):ca.call(t,o,{rpt:i})}}))},e.prototype.isOpened=function(){return this.sock&&this.sock.readyState===ia.OPEN||!1},e.prototype.close=function(){var e,t,r;this.logOut=!0,this.reconnecting=!1,this.context.status=h.STATUS_CLOSING,this.sock&&this.sock.close(),null===(e=this.unMSyncSendMsgMap)||void 0===e||e.clear(),this.stopHeartBeat(),this.rejectMessage(),this.context.status=h.STATUS_CLOSED,this._load_msg_cache=[],this._queues=[],this._msgHash={},this.mr_cache={},this.token="",this.context.accessToken="",this.clearTokenTimeout(),null===(r=null===(t=null==this?void 0:this._localCache)||void 0===t?void 0:t.getInstance())||void 0===r||r.close()},e.prototype.downloadAndParseCombineMessage=function(e){var t=this,r=e.url,n=e.secret;return new Promise((function(e,o){var i,a,s=X.getEnvInfo(),c="web"!==s.platform&&"node"!==s.platform&&"quick_app"!==s.platform&&(null===(a=null===(i=s.global)||void 0===i?void 0:i.canIUse)||void 0===a?void 0:a.call(i,"getFileSystemManager")),u=function(r){var n=function(e){o({type:h.PARSE_FILE_ERROR,message:"Read file failed",data:e})},i=function(r){return n=t,void 0,a=function(){var t,n,i,a,s,u,l,p,d,f,m,g,y;return ta(this,(function(v){switch(v.label){case 0:for(t=c?new Uint8Array(r.data):new Uint8Array(r.target.result),n=0,i=0,a=2,s=t.subarray(n,n+a),u=X.Uint8ArrayToString(s),B.debug("file header:",u),i+=a,l=0,p=2;p<t.length-1;p++)p%2==1&&(l^=t[p]);if(d=t.subarray(t.length-1,t.length),B.debug("checkResult:",l,d[0]===l),d[0]!==l)return[2,o({type:h.PARSE_FILE_ERROR,message:"File verification failed"})];if("cm"!==u)return[3,7];v.label=1;case 1:v.trys.push([1,5,,6]),f=[],m=function(){var e,r,o,s;return ta(this,(function(c){switch(c.label){case 0:return n+=a,i+=a=4,e=t.subarray(n,n+a),n+=a,a=e.reduce((function(t,r,n){return t+(r<<8*(e.length-n-1))}),0),i+=a,r=t.subarray(n,n+a),o=(o=g.root.lookup("easemob.pb.Meta")).decode(r),[4,Re.call(g,o,0,!0,!0)];case 1:return s=c.sent(),f.push(s),[2]}}))},g=this,v.label=2;case 2:return i<t.length-1?[5,m()]:[3,4];case 3:return v.sent(),[3,2];case 4:return[2,e(f)];case 5:return y=v.sent(),o({type:h.PARSE_FILE_ERROR,message:"Parse file failed",data:y}),[3,6];case 6:return[3,8];case 7:return[2,o({type:h.PARSE_FILE_ERROR,message:"File verification failed"})];case 8:return[2]}}))},new((i=void 0)||(i=Promise))((function(e,t){function r(e){try{s(a.next(e))}catch(e){t(e)}}function o(e){try{s(a.throw(e))}catch(e){t(e)}}function s(t){var n;t.done?e(t.value):(n=t.value,n instanceof i?n:new i((function(e){e(n)}))).then(r,o)}s((a=a.apply(n,[])).next())}));var n,i,a};if(c){var a=s.global.getFileSystemManager(),u=r.tempFilePath;a.readFile({filePath:u,success:i,fail:n})}else if(r instanceof Blob){var l=new FileReader;l.readAsArrayBuffer(r),l.onerror=n,l.onload=i}},l=function(e){o({type:h.WEBIM_DOWNLOADFILE_ERROR,message:"Download failed, please try again",data:e})};c?s.global.downloadFile({url:r,success:u,fail:l}):X.download.call(t,{url:r,headers:{Accept:"application/json"},onFileDownloadComplete:u,onFileDownloadError:l,secret:n,accessToken:t.context.accessToken})}))},e.prototype.stopHeartBeat=function(){clearInterval(this.heartBeatID)},e.prototype.clear=function(){this.restTotal=0,this.restIndex=0,this.hostIndex=0,this.hostTotal=0},e.prototype.heartBeat=function(){},e.prototype.renewToken=function(e){var t=this;return this.isOpened()?this.getTokenExpireTimestamp(e).then((function(r){var n=r.expire_timestamp,o=Date.now();return t.expirationTime=n,t.expiresIn=n-o,t.token=e,t.context.accessToken=e,t.clearTokenTimeout(),t.tokenExpireTimeCountDown(t.expiresIn),{status:!0,token:e,expire:n}})):Promise.reject({status:!1})},e.prototype.clearTokenTimeout=function(){B.info("clearTokenTimeout"),this.tokenWillExpireTimer&&clearTimeout(this.tokenWillExpireTimer),this.tokenExpiredTimer&&clearTimeout(this.tokenExpiredTimer),this.tokenWillExpireTimer=null,this.tokenExpiredTimer=null},e.prototype.tokenExpireTimeCountDown=function(e){var t=this;B.info("tokenExpireTimeCountDown",e),e>Math.pow(2,31)-1&&(e=Math.pow(2,31)-1),this.tokenWillExpireTimer=setTimeout((function(){var r;t.onTokenWillExpire&&t.onTokenWillExpire(),null===(r=t.eventHandler)||void 0===r||r.dispatch("onTokenWillExpire"),B.info("onTokenWillExpire",Math.floor(e/2))}),e/2),this.tokenExpiredTimer=setTimeout((function(){var e;B.info("onTokenExpired",0),t.onTokenExpired&&t.onTokenExpired(),null===(e=t.eventHandler)||void 0===e||e.dispatch("onTokenExpired"),t.close()}),e)},e.prototype.compareTokenExpireTime=function(e,t){var r,n=Number(t)-Number(e);B.debug("compareTokenExpireTime",n),n<=this.expiresIn/2&&n>0?(this.onTokenWillExpire&&this.onTokenWillExpire(),null===(r=this.eventHandler)||void 0===r||r.dispatch("onTokenWillExpire"),B.info("onTokenWillExpire",n)):n<=0&&(this.closeByTokenExpired(),B.info("closeByTokenExpired",n))},e.prototype.closeByTokenExpired=function(){var e;B.info("closed By TokenExpired"),this.onTokenExpired&&this.onTokenExpired(),null===(e=this.eventHandler)||void 0===e||e.dispatch("onTokenExpired"),this.close()},e.prototype.rejectMessage=function(){var e=this,t=Object.keys(this._msgHash);if(t.length>0){var r=v.create({type:h.MESSAGE_WEBSOCKET_DISCONNECTED,message:"websocket disconnected"});t.forEach((function(t){var n,o,i;(null===(n=e.unMSyncSendMsgMap)||void 0===n?void 0:n.has(t))||(e._msgHash[t].reject instanceof Function&&e._msgHash[t].reject(r),null===(i=null===(o=e._localCache)||void 0===o?void 0:o.getInstance())||void 0===i||i.updateLocalMessage(t,{serverMsgId:t,status:ne.FAIL}),e._msgHash[t].fail instanceof Function&&e._msgHash[t].fail(r),delete e._msgHash[t])}))}},e.prototype.resetConnState=function(){this.mSync.stopHeartBeat(),this.times=1,this.autoReconnectNumTotal=0,this.hostIndex=0},e.prototype.reconnect=function(){var e,t=this;this.sock.readyState!==ia.CONNECTING&&this.sock.readyState!==ia.OPEN&&(B.info("reconnect: time",this.times),B.info("reconnect sock.readyState: ",this.sock.readyState),!1===this.reconnecting&&(this.reconnecting=!0),null===(e=this.eventHandler)||void 0===e||e.dispatch("onReconnecting"),this.rejectMessage(),this.isHttpDNS&&(this.hostIndex<this.socketHost.length-1?this.hostIndex++:this.hostIndex=this.socketHost.length-1),setTimeout((function(){t.sock.readyState!==ia.OPEN&&(B.info("login sock.readyState: ",t.sock.readyState),t.sock.close(),pa.call(t,{access_token:t.context.accessToken}),t.times++)}),500*this.times),this.autoReconnectNumTotal++)},e.prototype.send=function(e){return Promise.resolve(null)},e._getSock=function(){},e}();function sa(e,t){var r=this,n=t.rpt,o=t.isRetry,i=e.promise,a=this.apiUrl+"/"+this.orgName+"/"+this.appName+"/users",s={requestName:T.RESISTER,requestUrl:a},c=e.error||oa;if(!this.orgName&&!this.appName){var u=v.create({type:h.WEBIM_CONNCTION_APPKEY_NOT_ASSIGN_ERROR,message:"signup error"});c(u)}var l={headers:{"Content-type":"application/json"},url:a,dataType:"json",data:JSON.stringify({username:e.username,password:e.password,nickname:e.nickname||""}),success:function(t){e.success&&e.success(t);var r=ea(ea({},t),{type:h.REQUEST_SUCCESS});i.resolve&&i.resolve(r);var a=t.extraInfo,c=a.httpCode,u=a.elapse;n({isEndApi:!0,isRetry:o,data:ea(ea({},{requestElapse:u,isSuccess:1,code:c}),s)})},error:function(t){var a=t.extraInfo,u=a.elapse,l=a.httpCode,p=a.errDesc;return n({isRetry:o,data:ea(ea({},{requestElapse:u,isSuccess:0,code:l,codeDesc:p}),s)}),r.isHttpDNS&&r.restIndex+1<r.restTotal?(r.restIndex++,ma.call(r),sa.call(r,e,{rpt:n,isRetry:o}),Promise.reject(t)):(n({data:{isLastApi:1,isSuccess:0}}),r.clear(),i.reject&&i.reject(t),c(t))}};return X.ajax(l).catch((function(e){i.reject&&i.reject(e)}))}function ca(e,t){var r=this;if(da.call(this,e)&&!this.isOpened()){var n=t.rpt,o=t.isRetry;fa.call(this,e),this.user=e.user;var i=e.promise,a=this.context.appName,s=this.context.orgName,c=this.apiUrl+"/"+s+"/"+a+"/token";if(e.accessToken)this.grantType="accessToken",this.token=e.accessToken,this.context.accessToken=e.accessToken,this.context.restTokenData=e.accessToken,i.resolve({accessToken:e.accessToken}),pa.call(this,e,n);else if(e.agoraToken)this.grantType="agoraToken",this.token=e.agoraToken,this.context.accessToken=e.agoraToken,this.context.restTokenData=e.agoraToken,i.resolve({accessToken:e.agoraToken}),pa.call(this,e,n);else{this.grantType="password";var u={grant_type:"password",username:e.user,password:e.pwd,timestamp:+new Date},l=JSON.stringify(u),p={headers:{"Content-type":"application/json"},url:c,dataType:"json",data:l,success:function(t){"function"==typeof e.success&&e.success(t),r.token=t.access_token,r.context.restTokenData=t.access_token,r.context.accessToken=t.access_token,r.expiresIn=t.expires_in,i.resolve({accessToken:t.access_token,duration:t.expires_in});var a=t.extraInfo,s=a.httpCode,u=a.elapse,l={requestName:T.LOGIN_BY_PWD,requestElapse:u,requestUrl:c,isSuccess:1,code:s};n({isRetry:o,data:l}),pa.call(r,t,n)}||oa,error:function(t){var a,s=t.extraInfo,u=s.elapse,l=s.httpCode,p=s.errDesc,d={requestName:T.LOGIN_BY_PWD,requestElapse:u,requestUrl:c,isSuccess:0,code:l,codeDesc:p};if(n({isRetry:o,data:d}),r.isHttpDNS&&r.restIndex+1<r.restTotal)return r.restIndex++,ma.call(r),void ca.call(r,e,{rpt:n,isRetry:!0});n({data:{isLastApi:1,isSuccess:0}}),r.clear(),t.error&&t.error_description?(a=v.create({type:h.WEBIM_CONNCTION_OPEN_USERGRID_ERROR,message:t.error_description,data:t}),r.onError&&r.onError(a)):(a=v.create({type:h.WEBIM_CONNCTION_OPEN_ERROR,message:t.error_description,data:t}),r.onError&&r.onError(a)),"function"==typeof e.error&&e.error(a),i.reject(a)}||oa,version:"4.3.0"};X.ajax(p).catch((function(e){console.warn(e)}))}X.listenNetwork(ua.bind(this),la.bind(this))}}function ua(){var e;B.debug("online"),this.onOnline&&this.onOnline(),null===(e=this.eventHandler)||void 0===e||e.dispatch("onOnline"),this.sock&&1!==this.sock.readyState&&(B.debug("sock.readyState:",this.sock.readyState),this.logOut||this.reconnecting||this.reconnect())}function la(){var e;B.debug("offline"),this.onOffline&&this.onOffline(),null===(e=this.eventHandler)||void 0===e||e.dispatch("onOffline")}function pa(e,t){var r=this,n=this._getSock();this.sock=n;var o=function(){var e;B.debug("websocket onOpen"),t&&t({data:{isLastApi:1,isSuccess:1,accessChannel:null===(e=r.socketHost[r.hostIndex])||void 0===e?void 0:e.channel}});var o=X.flow([r.mSync.generateProvision,r.mSync.base64transform])();try{n.send(o)}catch(e){var i=v.create({type:h.SDK_RUNTIME_ERROR,message:"send message error",data:e});r.onError&&r.onError(i)}},i=function(e){setTimeout((function(){var t,n,o,i,a,s,c,u,l,p,d,f;B.debug("websocket onClose"),"zfb"!==ra.platform&&"dd"!==ra.platform||(r.sock.readyState=ia.CLOSED);var m=401===(null==e?void 0:e.code)||401===(null===(t=r.closeInfo)||void 0===t?void 0:t.code);if(r.logOut)r.clear(),r.resetConnState(),m&&(B.debug("websocket provision error"),r.closeInfo=null),null===(o=null===(n=null==r?void 0:r._localCache)||void 0===n?void 0:n.getInstance())||void 0===o||o.close(),r.onClosed&&r.onClosed(),null===(i=r.eventHandler)||void 0===i||i.dispatch("onDisconnected");else if(m){B.debug("websocket provision error");var g={type:h.WEBIM_CONNECTION_ERROR,message:"provision error",data:e};r.closeInfo=null,r.onError&&r.onError(g),null===(a=r.eventHandler)||void 0===a||a.dispatch("onError",g),null===(c=null===(s=null==r?void 0:r._localCache)||void 0===s?void 0:s.getInstance())||void 0===c||c.close(),r.onClosed&&r.onClosed(),null===(u=r.eventHandler)||void 0===u||u.dispatch("onDisconnected"),r.resetConnState()}else if(r.autoReconnectNumTotal<r.autoReconnectNumMax){r.reconnect();var y={type:h.WEBIM_CONNCTION_DISCONNECTED,message:"websocket has been disconnected"};r.onError&&r.onError(y),r.autoReconnectNumTotal%r.refreshDNSIntervals==0&&"web"===ra.platform&&r.isHttpDNS&&(B.debug("refresh dns config when websocket close"),ha.call(r,"refresh",{},{}))}else null===(l=r.unMSyncSendMsgMap)||void 0===l||l.clear(),r.rejectMessage(),y={type:h.WEBIM_CONNCTION_DISCONNECTED,message:"websocket has been disconnected"},r.onError&&r.onError(y),null===(d=null===(p=null==r?void 0:r._localCache)||void 0===p?void 0:p.getInstance())||void 0===d||d.close(),r.onClosed&&r.onClosed(),null===(f=r.eventHandler)||void 0===f||f.dispatch("onDisconnected"),r.resetConnState(),r.reconnecting=!1,B.debug("reconnect fail")}),0)},a=function(e){var t=r.mSync,n=t.decodeMSync,o=t.distributeMSync;X.flow([n,o])(e)};"web"===ra.platform?(n.onopen=o,n.onclose=i,n.onmessage=a):(n.onOpen(o),n.onMessage(a),n.onClose(i),"undefined"!=typeof window&&window.WebSocket||n.onError((function(e){var n,o,i,a,s;if(B.debug("mini program sock on error",e),r.onError&&r.onError({type:h.WEBIM_CONNECTION_ERROR,message:"on socket error",data:e}),!r.logOut)if(r.autoReconnectNumTotal<r.autoReconnectNumMax)B.debug("sock.onError reconnect",r.autoReconnectNumTotal,r.autoReconnectNumMax),r.reconnect(),r.autoReconnectNumTotal%r.refreshDNSIntervals==0&&"web"===ra.platform&&r.isHttpDNS&&(B.debug("refresh dns config when websocket error"),ha.call(r,"refresh",{},{}));else{var c={type:h.WEBIM_CONNCTION_DISCONNECTED,message:"websocket has been disconnected"};null===(n=r.unMSyncSendMsgMap)||void 0===n||n.clear(),r.rejectMessage(),r.onError&&r.onError(c),null===(i=null===(o=null==r?void 0:r._localCache)||void 0===o?void 0:o.getInstance())||void 0===i||i.close(),r.onClosed&&r.onClosed(),null===(a=r.eventHandler)||void 0===a||a.dispatch("onDisconnected"),r.resetConnState(),r.reconnecting=!1,B.debug("reconnect fail")}t&&t({data:{isLastApi:1,isSuccess:0,accessChannel:null===(s=r.socketHost[r.hostIndex])||void 0===s?void 0:s.channel}})})))}function da(e){if(""===e.user){var t=v.create({type:h.WEBIM_CONNCTION_USER_NOT_ASSIGN_ERROR,message:"the user cannot be empty"});return B.debug("open params error",t),this.onError&&this.onError(t),!1}var r=this.appKey.split("#");return!(2!==r.length||!r[0]||!r[1])||(t=v.create({type:h.WEBIM_CONNCTION_APPKEY_NOT_ASSIGN_ERROR,message:"the appKey is illegal"}),B.debug("open params error",t),this.onError&&this.onError(t),!1)}function fa(e){this.context.jid={appKey:this.appKey,name:e.user,domain:this.domain,clientResource:this.clientResource};var t=this.appKey.split("#"),r=t[0],n=t[1];this.context.root=this.root,this.context.userId=e.user,this.context.appKey=this.appKey,this.context.appName=n,this.context.orgName=r}function ha(e,t,r){var n=this,o=r.rpt,i=r.isRetry,a=this.dnsArr[this.dnsIndex]+"/easemob/server.json",s={url:a,dataType:"json",type:"GET",data:{app_key:encodeURIComponent(this.appKey)},success:function(r){var s=r.extraInfo,c=s.elapse,u=s.httpCode,l={requestUrl:a,requestName:T.GET_DNS,requestElapse:c,isSuccess:1,code:u};"true"===(null==r?void 0:r.enableDataReport)?(n.dataReport.setIsCollectDt(!0),n.dataReport.setIsReportDt(!0)):(n.dataReport.setIsReportDt(!1),n.dataReport.setIsCollectDt(!1)),o&&o({isRetry:i,data:l});var p=r.rest.hosts,d=n.https?"https":"http";if(B.info("httpType: "+d),!p)return Promise.reject(!1);for(var f=p.filter((function(e){if(e.protocol===d)return e})),h=0;h<f.length;h++)if(f[h].protocol===d){var m=f[h];f.splice(h,1),f.unshift(m)}n.restHosts=f,n.restTotal=f.length;var g=r["msync-ws"].hosts;if(!g)return Promise.reject(!1);var y=g.filter((function(e){return e.protocol===d&&e}));n.socketHost=y,n.hostTotal=y.length,ma.call(n),"refresh"!==e&&("login"===e?ca.call(n,t,{rpt:o}):sa.call(n,t,{rpt:o}))}||oa,error:function(r){var s=r.extraInfo,c=s.elapse,u=s.httpCode,l=s.errDesc,p={requestUrl:a,requestName:T.GET_DNS,isSuccess:0,code:u,codeDesc:l,requestElapse:c};o&&o({isRetry:i,data:p}),B.debug("getHttpDNS fail: "+n.dnsIndex),n.dnsIndex++,n.dnsIndex<n.dnsTotal&&ha.call(n,e,t,{rpt:o,isRetry:!0})}||oa};return X.ajax(s).catch((function(e){console.warn(e)}))}function ma(){var e,t;if(this.restIndex>this.restTotal)return B.debug("restIndex > restTotal"),"";var r="",n=this.restHosts[this.restIndex],o=n.domain,i=n.ip,a=n.port,s=this.https?"https:":"http:";return i&&"undefined"!=typeof window&&"http:"===(null===(e=null===window||void 0===window?void 0:window.location)||void 0===e?void 0:e.protocol)?r=s+"//"+i+":"+a:(r=s+"//"+o,a&&"80"!==a&&"443"!==a&&(r+=":".concat(a)),"undefined"==typeof window||window.location||(r="https://"+o),"undefined"!=typeof window&&window.location&&"file:"===(null===(t=window.location)||void 0===t?void 0:t.protocol)&&(r="https://"+o)),"undefined"==typeof window&&(r=s+"//"+o),this.apiUrl=r,r}var ga=X.getEnvInfo(),ya=ga.global;m.util.Long=y(),m.configure();var va=m.Root.fromJSON({nested:{easemob:{nested:{pb:{nested:{MessageBody:{fields:{type:{type:"Type",id:1},from:{type:"JID",id:2},to:{type:"JID",id:3},contents:{rule:"repeated",type:"Content",id:4},ext:{rule:"repeated",type:"KeyValue",id:5},ackMessageId:{type:"uint64",id:6},msgConfig:{type:"MessageConfig",id:7},ackContent:{type:"string",id:8},meta:{type:"string",id:9},editMessageId:{type:"uint64",id:11}},nested:{Content:{fields:{type:{type:"Type",id:1},text:{type:"string",id:2},latitude:{type:"double",id:3},longitude:{type:"double",id:4},address:{type:"string",id:5},displayName:{type:"string",id:6},remotePath:{type:"string",id:7},secretKey:{type:"string",id:8},fileLength:{type:"int32",id:9},action:{type:"string",id:10},params:{rule:"repeated",type:"KeyValue",id:11},duration:{type:"int32",id:12},size:{type:"Size",id:13},thumbnailRemotePath:{type:"string",id:14},thumbnailSecretKey:{type:"string",id:15},thumbnailDisplayName:{type:"string",id:16},thumbnailFileLength:{type:"int32",id:17},thumbnailSize:{type:"Size",id:18},customEvent:{type:"string",id:19},customExts:{rule:"repeated",type:"KeyValue",id:20},buildingName:{type:"string",id:21},subType:{type:"SubType",id:22},title:{type:"string",id:23},summary:{type:"string",id:24},combineLevel:{type:"int32",id:25}},nested:{Type:{values:{TEXT:0,IMAGE:1,VIDEO:2,LOCATION:3,VOICE:4,FILE:5,COMMAND:6,CUSTOM:7,COMBINE:8}},Size:{fields:{width:{type:"double",id:1},height:{type:"double",id:2}}},SubType:{values:{COMBINE:0}}}},Type:{values:{NORMAL:0,CHAT:1,GROUPCHAT:2,CHATROOM:3,READ_ACK:4,DELIVER_ACK:5,RECALL:6,CHANNEL_ACK:7,EDIT:8}},MessageConfig:{fields:{allowGroupAck:{type:"bool",id:1}}}}},KeyValue:{oneofs:{value:{oneof:["varintValue","floatValue","doubleValue","stringValue"]}},fields:{key:{type:"string",id:1},type:{type:"ValueType",id:2},varintValue:{type:"int64",id:3},floatValue:{type:"float",id:4},doubleValue:{type:"double",id:5},stringValue:{type:"string",id:6}},nested:{ValueType:{values:{BOOL:1,INT:2,UINT:3,LLINT:4,FLOAT:5,DOUBLE:6,STRING:7,JSON_STRING:8}}}},JID:{fields:{appKey:{type:"string",id:1},name:{type:"string",id:2},domain:{type:"string",id:3},clientResource:{type:"string",id:4}}},ConferenceBody:{fields:{sessionId:{type:"string",id:1},operation:{type:"Operation",id:2},conferenceId:{type:"string",id:3},type:{type:"Type",id:4},content:{type:"string",id:5},network:{type:"string",id:6},version:{type:"string",id:7},identity:{type:"Identity",id:8},duration:{type:"string",id:9},peerName:{type:"string",id:10},endReason:{type:"EndReason",id:11},status:{type:"Status",id:12},isDirect:{type:"bool",id:13},controlType:{type:"StreamControlType",id:14},routeFlag:{type:"int32",id:15},routeKey:{type:"string",id:16}},nested:{Status:{fields:{errorCode:{type:"int32",id:1}}},Operation:{values:{JOIN:0,INITIATE:1,ACCEPT_INITIATE:2,ANSWER:3,TERMINATE:4,REMOVE:5,STREAM_CONTROL:6,MEDIA_REQUEST:7}},Type:{values:{VOICE:0,VIDEO:1}},Identity:{values:{CALLER:0,CALLEE:1}},EndReason:{values:{HANGUP:0,NORESPONSE:1,REJECT:2,BUSY:3,FAIL:4,UNSUPPORTED:5,OFFLINE:6}},StreamControlType:{values:{PAUSE_VOICE:0,RESUME_VOICE:1,PAUSE_VIDEO:2,RESUME_VIDEO:3}}}},MSync:{fields:{version:{type:"Version",id:1,options:{default:"MSYNC_V1"}},guid:{type:"JID",id:2},auth:{type:"string",id:3},compressAlgorimth:{type:"uint32",id:4},crypto:{type:"uint32",id:5},userAgent:{type:"string",id:6},pov:{type:"uint64",id:7},command:{type:"Command",id:8},deviceId:{type:"uint32",id:10},encryptType:{rule:"repeated",type:"EncryptType",id:11,options:{packed:!1}},encryptKey:{type:"string",id:12},payload:{type:"bytes",id:9}},nested:{Version:{values:{MSYNC_V1:0,MSYNC_V2:1}},Command:{values:{SYNC:0,UNREAD:1,NOTICE:2,PROVISION:3}}}},EncryptType:{values:{ENCRYPT_NONE:0,ENCRYPT_AES_128_CBC:1,ENCRYPT_AES_256_CBC:2}},CommSyncUL:{fields:{meta:{type:"Meta",id:1},key:{type:"uint64",id:2},queue:{type:"JID",id:3},isRoam:{type:"bool",id:4},lastFullRoamKey:{type:"uint64",id:5}}},CommSyncDL:{fields:{status:{type:"Status",id:1},metaId:{type:"uint64",id:2},serverId:{type:"uint64",id:3},metas:{rule:"repeated",type:"Meta",id:4},nextKey:{type:"uint64",id:5},queue:{type:"JID",id:6},isLast:{type:"bool",id:7},timestamp:{type:"uint64",id:8},isRoam:{type:"bool",id:9}}},CommNotice:{fields:{queue:{type:"JID",id:1}}},CommUnreadUL:{fields:{}},CommUnreadDL:{fields:{status:{type:"Status",id:1},unread:{rule:"repeated",type:"MetaQueue",id:2},timestamp:{type:"uint64",id:3}}},MetaQueue:{fields:{queue:{type:"JID",id:1},n:{type:"uint32",id:2}}},Meta:{fields:{id:{type:"uint64",id:1},from:{type:"JID",id:2},to:{type:"JID",id:3},timestamp:{type:"uint64",id:4},ns:{type:"NameSpace",id:5},payload:{type:"bytes",id:6},routetype:{type:"RouteType",id:7},ext:{rule:"repeated",type:"KeyValue",id:8},meta:{type:"bytes",id:9},directedUsers:{rule:"repeated",type:"string",id:10}},nested:{NameSpace:{values:{STATISTIC:0,CHAT:1,MUC:2,ROSTER:3,CONFERENCE:4,NOTIFY:5,QUERY:6}},RouteType:{values:{ROUTE_ALL:0,ROUTE_ONLINE:1,ROUTE_DIRECT:2}}}},Status:{fields:{errorCode:{type:"ErrorCode",id:1},reason:{type:"string",id:2},redirectInfo:{rule:"repeated",type:"RedirectInfo",id:3}},nested:{ErrorCode:{values:{OK:0,FAIL:1,UNAUTHORIZED:2,MISSING_PARAMETER:3,WRONG_PARAMETER:4,REDIRECT:5,TOKEN_EXPIRED:6,PERMISSION_DENIED:7,NO_ROUTE:8,UNKNOWN_COMMAND:9,PB_PARSER_ERROR:10,BIND_ANOTHER_DEVICE:11,IM_FORBIDDEN:12,TOO_MANY_DEVICES:13,PLATFORM_LIMIT:14,USER_MUTED:15,ENCRYPT_DISABLE:16,ENCRYPT_ENABLE:17,DECRYPT_FAILURE:18,PERMISSION_DENIED_EXTERNAL:19}}}},RedirectInfo:{fields:{host:{type:"string",id:1},port:{type:"uint32",id:2}}},Provision:{fields:{osType:{type:"OsType",id:1},version:{type:"string",id:2},networkType:{type:"NetworkType",id:3},appSign:{type:"string",id:4},compressType:{rule:"repeated",type:"CompressType",id:5,options:{packed:!1}},encryptType:{rule:"repeated",type:"EncryptType",id:6,options:{packed:!1}},encryptKey:{type:"string",id:7},status:{type:"Status",id:8},deviceUuid:{type:"string",id:9},isManualLogin:{type:"bool",id:10},password:{type:"string",id:11},deviceName:{type:"string",id:12},resource:{type:"string",id:13},auth:{type:"string",id:14},serviceId:{type:"string",id:16},actionVersion:{type:"string",id:17},authToken:{type:"string",id:18}},nested:{OsType:{values:{OS_IOS:0,OS_ANDROID:1,OS_LINUX:2,OS_OSX:3,OS_WIN:4,OS_OTHER:16}},NetworkType:{values:{NETWORK_NONE:0,NETWORK_WIFI:1,NETWORK_4G:2,NETWORK_3G:3,NETWORK_2G:4,NETWORK_WIRE:5}},CompressType:{values:{COMPRESS_NONE:0,COMPRESS_ZLIB:1}}}},MUCBody:{fields:{mucId:{type:"JID",id:1},operation:{type:"Operation",id:2},from:{type:"JID",id:3},to:{rule:"repeated",type:"JID",id:4},setting:{type:"Setting",id:5},reason:{type:"string",id:6},isChatroom:{type:"bool",id:7},status:{type:"Status",id:8},isThread:{type:"bool",id:9},mucParentId:{type:"JID",id:10},mucName:{type:"string",id:11},eventInfo:{type:"EventInfo",id:12}},nested:{Operation:{values:{CREATE:0,DESTROY:1,JOIN:2,LEAVE:3,APPLY:4,APPLY_ACCEPT:5,APPLY_DECLINE:6,INVITE:7,INVITE_ACCEPT:8,INVITE_DECLINE:9,KICK:10,GET_BLACKLIST:11,BAN:12,ALLOW:13,UPDATE:14,BLOCK:15,UNBLOCK:16,PRESENCE:17,ABSENCE:18,DIRECT_JOINED:19,ASSIGN_OWNER:20,ADD_ADMIN:21,REMOVE_ADMIN:22,ADD_MUTE:23,REMOVE_MUTE:24,UPDATE_ANNOUNCEMENT:25,DELETE_ANNOUNCEMENT:26,UPLOAD_FILE:27,DELETE_FILE:28,ADD_USER_WHITE_LIST:29,REMOVE_USER_WHITE_LIST:30,BAN_GROUP:31,REMOVE_BAN_GROUP:32,THREAD_CREATE:33,THREAD_DESTROY:34,THREAD_JOIN:35,THREAD_LEAVE:36,THREAD_KICK:37,THREAD_UPDATE:38,THREAD_PRESENCE:39,THREAD_ABSENCE:40,DISABLE_GROUP:41,ABLE_GROUP:42,SET_METADATA:43,DELETE_METADATA:44,GROUP_MEMBER_METADATA_UPDATE:45}},Setting:{fields:{name:{type:"string",id:1},desc:{type:"string",id:2},type:{type:"Type",id:3},maxUsers:{type:"int32",id:4},owner:{type:"string",id:5}},nested:{Type:{values:{PRIVATE_OWNER_INVITE:0,PRIVATE_MEMBER_INVITE:1,PUBLIC_JOIN_APPROVAL:2,PUBLIC_JOIN_OPEN:3,PUBLIC_ANONYMOUS:4}}}},Status:{fields:{errorCode:{type:"ErrorCode",id:1},description:{type:"string",id:2}},nested:{ErrorCode:{values:{OK:0,PERMISSION_DENIED:1,WRONG_PARAMETER:2,MUC_NOT_EXIST:3,USER_NOT_EXIST:4,UNKNOWN:5}}}},EventInfo:{fields:{eventType:{type:"EventType",id:1,options:{default:"EVENT_NONE"}},ext:{type:"string",id:2}},nested:{EventType:{values:{EVENT_NONE:0,CIRCLE_CHANNEL:1}}}}}},RosterBody:{fields:{operation:{type:"Operation",id:1},status:{type:"Status",id:2},from:{type:"JID",id:3},to:{rule:"repeated",type:"JID",id:4},reason:{type:"string",id:5},rosterVer:{type:"string",id:6},biDirection:{type:"bool",id:7}},nested:{Operation:{values:{GET_ROSTER:0,GET_BLACKLIST:1,ADD:2,REMOVE:3,ACCEPT:4,DECLINE:5,BAN:6,ALLOW:7,REMOTE_ACCEPT:8,REMOTE_DECLINE:9}},Status:{fields:{errorCode:{type:"ErrorCode",id:1},description:{type:"string",id:2}},nested:{ErrorCode:{values:{OK:0,USER_NOT_EXIST:1,USER_ALREADY_FRIEND:2,USER_ALREADY_BLACKLIST:3}}}}}},StatisticsBody:{fields:{operation:{type:"Operation",id:1},os:{type:"OsType",id:2},version:{type:"string",id:3},network:{type:"NetworkType",id:4},imTime:{type:"uint32",id:5},chatTime:{type:"uint32",id:6},location:{type:"string",id:7}},nested:{Operation:{values:{INFORMATION:0,USER_REMOVED:1,USER_LOGIN_ANOTHER_DEVICE:2,USER_KICKED_BY_CHANGE_PASSWORD:3,USER_KICKED_BY_OTHER_DEVICE:4}},OsType:{values:{OS_IOS:0,OS_ANDROID:1,OS_LINUX:2,OS_OSX:3,OS_WIN:4,OS_OTHER:16}},NetworkType:{values:{NETWORK_NONE:0,NETWORK_WIFI:1,NETWORK_4G:2,NETWORK_3G:3,NETWORK_2G:4,NETWORK_WIRE:5}}}}}}}}}});aa.prototype.root=va;var Ea=function(e){this.onOpen=ya.onSocketOpen,this.onClose=ya.onSocketClose,this.onMessage=ya.onSocketMessage,this.onError=ya.onSocketError,this.close=ya.closeSocket,this.send=ya.sendSocketMessage,this.connectSocket=ya.connectSocket,this.readyState=3,this.offSocketOpen=ya.offSocketOpen,this.offSocketMessage=ya.offSocketMessage,this.offSocketError=ya.offSocketError,this.offSocketClose=ya.offSocketClose,this.connect=function(){this.offSocketOpen(),this.offSocketMessage(),this.offSocketClose(),this.offSocketError(),ya.connectSocket({url:e.url,header:{"content-type":"application/json"},success:function(e){},fail:function(){}})}};aa.prototype._getSock=function(){var e;return this.sock&&this.sock.close&&this.sock.close(),(e="zfb"===ga.platform||"dd"===ga.platform?new Ea(this):ya.connectSocket({url:this.url,header:{"content-type":"application/json"},success:function(e){},fail:function(e){e.errMsg.indexOf("suspend")},complete:function(){}})).connect&&e.connect(),e},aa.prototype.getUniqueId=X.getUniqueId,aa.prototype.deviceId="miniProgram_"+ga.platform,aa.prototype._localCache=void 0;var _a=B.getLogger("defaultLogger");_a.setConfig({useCache:!1,maxCache:3145728}),_a.enableAll(),X.ajax=X.wxRequest;var Ta={connection:aa,message:Ee,utils:X,logger:_a,statusCode:h}}(),i}()}))}).call(this,r("bc2e")["default"],r("543d")["default"],r("62e4")(e))},b73d:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={indexAnchor:{text:"",color:"#606266",size:14,bgColor:"#dedede",height:32}}},b747:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={primary:"#3c9cff",info:"#909399",default:"#909399",warning:"#f9ae3d",error:"#f56c6c",success:"#5ac725",mainColor:"#303133",contentColor:"#606266",tipsColor:"#909399",lightColor:"#c0c4cc",borderColor:"#e4e7ed"};t.default=n},b85b:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return t?"".concat(e.replace(/\/+$/,""),"/").concat(t.replace(/^\/+/,"")):e}},b89b:function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={props:{name:{type:[String,Number,Boolean],default:e.$u.props.radio.name},shape:{type:String,default:e.$u.props.radio.shape},disabled:{type:[String,Boolean],default:e.$u.props.radio.disabled},labelDisabled:{type:[String,Boolean],default:e.$u.props.radio.labelDisabled},activeColor:{type:String,default:e.$u.props.radio.activeColor},inactiveColor:{type:String,default:e.$u.props.radio.inactiveColor},iconSize:{type:[String,Number],default:e.$u.props.radio.iconSize},labelSize:{type:[String,Number],default:e.$u.props.radio.labelSize},label:{type:[String,Number],default:e.$u.props.radio.label},size:{type:[String,Number],default:e.$u.props.radio.size},color:{type:String,default:e.$u.props.radio.color},labelColor:{type:String,default:e.$u.props.radio.labelColor}}};t.default=r}).call(this,r("543d")["default"])},b99a:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={swiper:{list:function(){return[]},indicator:!1,indicatorActiveColor:"#FFFFFF",indicatorInactiveColor:"rgba(255, 255, 255, 0.35)",indicatorStyle:"",indicatorMode:"line",autoplay:!0,current:0,currentItemId:"",interval:3e3,duration:300,circular:!1,previousMargin:0,nextMargin:0,acceleration:!1,displayMultipleItems:1,easingFunction:"default",keyName:"url",imgMode:"aspectFill",height:130,bgColor:"#f3f4f6",radius:4,loading:!1,showTitle:!1}}},ba2f:function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={props:{type:{type:String,default:e.$u.props.text.type},show:{type:Boolean,default:e.$u.props.text.show},text:{type:[String,Number],default:e.$u.props.text.text},prefixIcon:{type:String,default:e.$u.props.text.prefixIcon},suffixIcon:{type:String,default:e.$u.props.text.suffixIcon},mode:{type:String,default:e.$u.props.text.mode},href:{type:String,default:e.$u.props.text.href},format:{type:[String,Function],default:e.$u.props.text.format},call:{type:Boolean,default:e.$u.props.text.call},openType:{type:String,default:e.$u.props.text.openType},bold:{type:Boolean,default:e.$u.props.text.bold},block:{type:Boolean,default:e.$u.props.text.block},lines:{type:[String,Number],default:e.$u.props.text.lines},color:{type:String,default:e.$u.props.text.color},size:{type:[String,Number],default:e.$u.props.text.size},iconStyle:{type:[Object,String],default:e.$u.props.text.iconStyle},decoration:{type:String,default:e.$u.props.text.decoration},margin:{type:[Object,String,Number],default:e.$u.props.text.margin},lineHeight:{type:[String,Number],default:e.$u.props.text.lineHeight},align:{type:String,default:e.$u.props.text.align},wordWrap:{type:String,default:e.$u.props.text.wordWrap}}};t.default=r}).call(this,r("543d")["default"])},bc2e:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=["qy","env","error","version","lanDebug","cloud","serviceMarket","router","worklet","__webpack_require_UNI_MP_PLUGIN__"],o=["lanDebug","router","worklet"],i="undefined"!==typeof globalThis?globalThis:function(){return this}(),a=["w","x"].join(""),s=i[a],c=s.getLaunchOptionsSync?s.getLaunchOptionsSync():null;function u(e){return(!c||1154!==c.scene||!o.includes(e))&&(n.indexOf(e)>-1||"function"===typeof s[e])}i[a]=function(){var e={};for(var t in s)u(t)&&(e[t]=s[t]);return e}();var l=i[a];t.default=l},be3f:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={formItem:{label:"",prop:"",borderBottom:"",labelPosition:"",labelWidth:"",rightIcon:"",leftIcon:"",required:!1,leftIconStyle:""}}},c0fc:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={popup:{show:!1,overlay:!0,mode:"bottom",duration:300,closeable:!1,overlayStyle:function(){},closeOnClickOverlay:!0,zIndex:10075,safeAreaInsetBottom:!0,safeAreaInsetTop:!1,closeIconPos:"top-right",round:0,zoom:!0,bgColor:"",overlayOpacity:.5}}},c135:function(e,t){e.exports=function(e){if(Array.isArray(e))return e},e.exports.__esModule=!0,e.exports["default"]=e.exports},c172:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={slider:{value:0,blockSize:18,min:0,max:100,step:1,activeColor:"#2979ff",inactiveColor:"#c0c4cc",blockColor:"#ffffff",showValue:!1,disabled:!1,blockStyle:function(){}}}},c21d:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={col:{span:12,offset:0,justify:"start",align:"stretch",textAlign:"left"}}},c240:function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},e.exports.__esModule=!0,e.exports["default"]=e.exports},c501:function(e,t,r){"use strict";(function(e){var n=r("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(r("2eee")),i=n(r("c973")),a=n(r("970b")),s=n(r("5bc3")),c=function(){function t(){(0,a.default)(this,t),this.config={type:"navigateTo",url:"",delta:1,params:{},animationType:"pop-in",animationDuration:300,intercept:!1},this.route=this.route.bind(this)}return(0,s.default)(t,[{key:"addRootPath",value:function(e){return"/"===e[0]?e:"/".concat(e)}},{key:"mixinParam",value:function(t,r){t=t&&this.addRootPath(t);var n="";return/.*\/.*\?.*=.*/.test(t)?(n=e.$u.queryParams(r,!1),t+"&".concat(n)):(n=e.$u.queryParams(r),t+n)}},{key:"route",value:function(){var t=(0,i.default)(o.default.mark((function t(){var r,n,i,a,s=arguments;return o.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(r=s.length>0&&void 0!==s[0]?s[0]:{},n=s.length>1&&void 0!==s[1]?s[1]:{},i={},"string"===typeof r?(i.url=this.mixinParam(r,n),i.type="navigateTo"):(i=e.$u.deepMerge(this.config,r),i.url=this.mixinParam(r.url,r.params)),i.url!==e.$u.page()){t.next=6;break}return t.abrupt("return");case 6:if(n.intercept&&(this.config.intercept=n.intercept),i.params=n,i=e.$u.deepMerge(this.config,i),"function"!==typeof e.$u.routeIntercept){t.next=16;break}return t.next=12,new Promise((function(t,r){e.$u.routeIntercept(i,t)}));case 12:a=t.sent,a&&this.openPage(i),t.next=17;break;case 16:this.openPage(i);case 17:case"end":return t.stop()}}),t,this)})));return function(){return t.apply(this,arguments)}}()},{key:"openPage",value:function(t){var r=t.url,n=(t.type,t.delta),o=t.animationType,i=t.animationDuration;"navigateTo"!=t.type&&"to"!=t.type||e.navigateTo({url:r,animationType:o,animationDuration:i}),"redirectTo"!=t.type&&"redirect"!=t.type||e.redirectTo({url:r}),"switchTab"!=t.type&&"tab"!=t.type||e.switchTab({url:r}),"reLaunch"!=t.type&&"launch"!=t.type||e.reLaunch({url:r}),"navigateBack"!=t.type&&"back"!=t.type||e.navigateBack({delta:n})}}]),t}(),u=(new c).route;t.default=u}).call(this,r("543d")["default"])},c7f3:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={badge:{isDot:!1,value:"",show:!0,max:999,type:"error",showZero:!1,bgColor:null,color:null,shape:"circle",numberType:"overflow",offset:function(){return[]},inverted:!1,absolute:!1}}},c8ba:function(e,t){var r;r=function(){return this}();try{r=r||new Function("return this")()}catch(n){"object"===typeof window&&(r=window)}e.exports=r},c8cd:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default="mp"},c911:function(e,t,r){"use strict";var n=r("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.divide=h,t.enableBoundaryChecking=g,t.minus=f,t.plus=d,t.round=m,t.times=p;var o=n(r("480f")),i=!0;function a(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:15;return+parseFloat(Number(e).toPrecision(t))}function s(e){var t=e.toString().split(/[eE]/),r=(t[0].split(".")[1]||"").length-+(t[1]||0);return r>0?r:0}function c(e){if(-1===e.toString().indexOf("e"))return Number(e.toString().replace(".",""));var t=s(e);return t>0?a(Number(e)*Math.pow(10,t)):Number(e)}function u(e){i&&(e>Number.MAX_SAFE_INTEGER||e<Number.MIN_SAFE_INTEGER)&&console.warn("".concat(e," 超出了精度限制,结果可能不正确"))}function l(e,t){var r=(0,o.default)(e),n=r[0],i=r[1],a=r.slice(2),s=t(n,i);return a.forEach((function(e){s=t(s,e)})),s}function p(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];if(t.length>2)return l(t,p);var n=t[0],o=t[1],i=c(n),a=c(o),d=s(n)+s(o),f=i*a;return u(f),f/Math.pow(10,d)}function d(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];if(t.length>2)return l(t,d);var n=t[0],o=t[1],i=Math.pow(10,Math.max(s(n),s(o)));return(p(n,i)+p(o,i))/i}function f(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];if(t.length>2)return l(t,f);var n=t[0],o=t[1],i=Math.pow(10,Math.max(s(n),s(o)));return(p(n,i)-p(o,i))/i}function h(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];if(t.length>2)return l(t,h);var n=t[0],o=t[1],i=c(n),d=c(o);return u(i),u(d),p(i/d,a(Math.pow(10,s(o)-s(n))))}function m(e,t){var r=Math.pow(10,t),n=h(Math.round(Math.abs(p(e,r))),r);return e<0&&0!==n&&(n=p(n,-1)),n}function g(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];i=e}var y={times:p,plus:d,minus:f,divide:h,round:m,enableBoundaryChecking:g};t.default=y},c973:function(e,t){function r(e,t,r,n,o,i,a){try{var s=e[i](a),c=s.value}catch(u){return void r(u)}s.done?t(c):Promise.resolve(c).then(n,o)}e.exports=function(e){return function(){var t=this,n=arguments;return new Promise((function(o,i){var a=e.apply(t,n);function s(e){r(a,o,i,s,c,"next",e)}function c(e){r(a,o,i,s,c,"throw",e)}s(void 0)}))}},e.exports.__esModule=!0,e.exports["default"]=e.exports},cde7:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={keyboard:{mode:"number",dotDisabled:!1,tooltip:!0,showTips:!0,tips:"",showCancel:!0,showConfirm:!0,random:!1,safeAreaInsetBottom:!0,closeOnClickOverlay:!0,show:!1,overlay:!0,zIndex:10075,cancelText:"取消",confirmText:"确定",autoChange:!1}}},ce1d:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={gridItem:{name:null,bgColor:"transparent"}}},d1f7:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={parse:{copyLink:!0,errorImg:"",lazyLoad:!1,loadingImg:"",pauseVideo:!0,previewImg:!0,setTitle:!0,showImgMenu:!0}}},d56e:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={circleProgress:{percentage:30}}},d617:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={tooltip:{text:"",copyText:"",size:14,color:"#606266",bgColor:"transparent",direction:"top",zIndex:10071,showCopy:!0,buttons:function(){return[]},overlay:!0,showToast:!0}}},d79f:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={baseURL:"",header:{},method:"GET",dataType:"json",responseType:"text",custom:{},timeout:6e4,validateStatus:function(e){return e>=200&&e<300}}},d8e9:function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={props:{shape:{type:String,default:e.$u.props.search.shape},bgColor:{type:String,default:e.$u.props.search.bgColor},placeholder:{type:String,default:e.$u.props.search.placeholder},clearabled:{type:Boolean,default:e.$u.props.search.clearabled},focus:{type:Boolean,default:e.$u.props.search.focus},showAction:{type:Boolean,default:e.$u.props.search.showAction},actionStyle:{type:Object,default:e.$u.props.search.actionStyle},actionText:{type:String,default:e.$u.props.search.actionText},inputAlign:{type:String,default:e.$u.props.search.inputAlign},inputStyle:{type:Object,default:e.$u.props.search.inputStyle},disabled:{type:Boolean,default:e.$u.props.search.disabled},borderColor:{type:String,default:e.$u.props.search.borderColor},searchIconColor:{type:String,default:e.$u.props.search.searchIconColor},color:{type:String,default:e.$u.props.search.color},placeholderColor:{type:String,default:e.$u.props.search.placeholderColor},searchIcon:{type:String,default:e.$u.props.search.searchIcon},searchIconSize:{type:[Number,String],default:e.$u.props.search.searchIconSize},margin:{type:String,default:e.$u.props.search.margin},animation:{type:Boolean,default:e.$u.props.search.animation},value:{type:String,default:e.$u.props.search.value},maxlength:{type:[String,Number],default:e.$u.props.search.maxlength},height:{type:[String,Number],default:e.$u.props.search.height},label:{type:[String,Number,null],default:e.$u.props.search.label}}};t.default=r}).call(this,r("543d")["default"])},da3a:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={loadmore:{status:"loadmore",bgColor:"transparent",icon:!0,fontSize:14,iconSize:17,color:"#606266",loadingIcon:"spinner",loadmoreText:"加载更多",loadingText:"正在加载...",nomoreText:"没有更多了",isDot:!1,iconColor:"#b7b7b7",marginTop:10,marginBottom:10,height:"auto",line:!1,lineColor:"#E6E8EB",dashed:!1}}},da76:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={cell:{customClass:"",title:"",label:"",value:"",icon:"",disabled:!1,border:!0,center:!1,url:"",linkType:"navigateTo",clickable:!1,isLink:!1,required:!1,arrowDirection:"",iconStyle:{},rightIconStyle:{},rightIcon:"arrow-right",titleStyle:{},size:"",stop:!0,name:""}}},df8a:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={calendar:{title:"日期选择",showTitle:!0,showSubtitle:!0,mode:"single",startText:"开始",endText:"结束",customList:function(){return[]},color:"#3c9cff",minDate:0,maxDate:0,defaultDate:null,maxCount:Number.MAX_SAFE_INTEGER,rowHeight:56,formatter:null,showLunar:!1,showMark:!0,confirmText:"确定",confirmDisabledText:"确定",show:!1,closeOnClickOverlay:!1,readonly:!1,showConfirm:!0,maxRange:Number.MAX_SAFE_INTEGER,rangePrompt:"",showRangePrompt:!0,allowSameDay:!1,round:0,monthNum:3}};t.default=n},e14c:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={toolbar:{show:!0,cancelText:"取消",confirmText:"确认",cancelColor:"#909193",confirmColor:"#3c9cff",title:""}}},e242:function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={props:{icon:{type:String,default:e.$u.props.empty.icon},text:{type:String,default:e.$u.props.empty.text},textColor:{type:String,default:e.$u.props.empty.textColor},textSize:{type:[String,Number],default:e.$u.props.empty.textSize},iconColor:{type:String,default:e.$u.props.empty.iconColor},iconSize:{type:[String,Number],default:e.$u.props.empty.iconSize},mode:{type:String,default:e.$u.props.empty.mode},width:{type:[String,Number],default:e.$u.props.empty.width},height:{type:[String,Number],default:e.$u.props.empty.height},show:{type:Boolean,default:e.$u.props.empty.show},marginTop:{type:[String,Number],default:e.$u.props.empty.marginTop}}};t.default=r}).call(this,r("543d")["default"])},e3db:function(e,t){var r={}.toString;e.exports=Array.isArray||function(e){return"[object Array]"==r.call(e)}},e50d:function(e,t,r){var n=r("7037")["default"];e.exports=function(e,t){if("object"!==n(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var o=r.call(e,t||"default");if("object"!==n(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},e83c:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={toast:10090,noNetwork:10080,popup:10075,mask:10070,navbar:980,topTips:975,sticky:970,indexListSticky:965}},e855:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={tabbarItem:{name:null,icon:"",badge:null,dot:!1,text:"",badgeStyle:"top: 6px;right:2px;"}}},e890:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={tag:{type:"primary",disabled:!1,size:"medium",shape:"square",text:"",bgColor:"",color:"",borderColor:"",closeColor:"#C6C7CB",name:"",plainFill:!1,plain:!1,closable:!1,show:!0,icon:""}}},e8bc:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={statusBar:{bgColor:"transparent"}}},eaf0:function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={props:{show:{type:Boolean,default:e.$u.props.picker.show},showToolbar:{type:Boolean,default:e.$u.props.picker.showToolbar},title:{type:String,default:e.$u.props.picker.title},columns:{type:Array,default:e.$u.props.picker.columns},loading:{type:Boolean,default:e.$u.props.picker.loading},itemHeight:{type:[String,Number],default:e.$u.props.picker.itemHeight},cancelText:{type:String,default:e.$u.props.picker.cancelText},confirmText:{type:String,default:e.$u.props.picker.confirmText},cancelColor:{type:String,default:e.$u.props.picker.cancelColor},confirmColor:{type:String,default:e.$u.props.picker.confirmColor},visibleItemCount:{type:[String,Number],default:e.$u.props.picker.visibleItemCount},keyName:{type:String,default:e.$u.props.picker.keyName},closeOnClickOverlay:{type:Boolean,default:e.$u.props.picker.closeOnClickOverlay},defaultIndex:{type:Array,default:e.$u.props.picker.defaultIndex},immediateChange:{type:Boolean,default:e.$u.props.picker.immediateChange}}};t.default=r}).call(this,r("543d")["default"])},ed3c:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={input:{value:"",type:"text",fixed:!1,disabled:!1,disabledColor:"#f5f7fa",clearable:!1,password:!1,maxlength:-1,placeholder:null,placeholderClass:"input-placeholder",placeholderStyle:"color: #c0c4cc",showWordLimit:!1,confirmType:"done",confirmHold:!1,holdKeyboard:!1,focus:!1,autoBlur:!1,disableDefaultPadding:!1,cursor:-1,cursorSpacing:30,selectionStart:-1,selectionEnd:-1,adjustPosition:!0,inputAlign:"left",fontSize:"15px",color:"#303133",prefixIcon:"",prefixIconStyle:"",suffixIcon:"",suffixIconStyle:"",border:"surround",readonly:!1,shape:"square",formatter:null}}},ee24:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r){var n=r.config.validateStatus,o=r.statusCode;!o||n&&!n(o)?t(r):e(r)}},f091:function(e,t,r){"use strict";var n=r("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(r("1260")),i=o.default;t.default=i},f0c5:function(e,t,r){"use strict";function n(e,t,r,n,o,i,a,s,c,u){var l,p="function"===typeof e?e.options:e;if(c){p.components||(p.components={});var d=Object.prototype.hasOwnProperty;for(var f in c)d.call(c,f)&&!d.call(p.components,f)&&(p.components[f]=c[f])}if(u&&("function"===typeof u.beforeCreate&&(u.beforeCreate=[u.beforeCreate]),(u.beforeCreate||(u.beforeCreate=[])).unshift((function(){this[u.__module]=this})),(p.mixins||(p.mixins=[])).push(u)),t&&(p.render=t,p.staticRenderFns=r,p._compiled=!0),n&&(p.functional=!0),i&&(p._scopeId="data-v-"+i),a?(l=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),o&&o.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},p._ssrRegister=l):o&&(l=s?function(){o.call(this,this.$root.$options.shadowRoot)}:o),l)if(p.functional){p._injectStyles=l;var h=p.render;p.render=function(e,t){return l.call(t),h(e,t)}}else{var m=p.beforeCreate;p.beforeCreate=m?[].concat(m,l):[l]}return{exports:e,options:p}}r.d(t,"a",(function(){return n}))},f2a1:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={divider:{dashed:!1,hairline:!0,dot:!1,textPosition:"center",text:"",textSize:14,textColor:"#909399",lineColor:"#dcdfe6"}}},f3dd0:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={swiperIndicator:{length:0,current:0,indicatorActiveColor:"",indicatorInactiveColor:"",indicatorMode:"line"}}},f53a:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={apiURL:"https://a1.easemob.com",appkey:"1145230719209454#neihe",https:!1,isMultiLoginSessions:!1,isWindowSDK:!1,isSandBox:!1,isDebug:!1,autoReconnectNumMax:2,autoReconnectInterval:2,isWebRTC:!1,isAutoLogin:!0};t.default=n},f53f:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={gap:{bgColor:"transparent",height:20,marginTop:0,marginBottom:0,customStyle:{}}}},f7e1:function(e,t,r){"use strict";var n=r("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(r("2eee")),i=n(r("c973")),a=(n(r("aa01")),function(e){return{enter:"u-".concat(e,"-enter u-").concat(e,"-enter-active"),"enter-to":"u-".concat(e,"-enter-to u-").concat(e,"-enter-active"),leave:"u-".concat(e,"-leave u-").concat(e,"-leave-active"),"leave-to":"u-".concat(e,"-leave-to u-").concat(e,"-leave-active")}}),s={methods:{clickHandler:function(){this.$emit("click")},vueEnter:function(){var e=this,t=a(this.mode);this.status="enter",this.$emit("beforeEnter"),this.inited=!0,this.display=!0,this.classes=t.enter,this.$nextTick((0,i.default)(o.default.mark((function r(){return o.default.wrap((function(r){while(1)switch(r.prev=r.next){case 0:e.$emit("enter"),e.transitionEnded=!1,e.$emit("afterEnter"),e.classes=t["enter-to"];case 4:case"end":return r.stop()}}),r)}))))},vueLeave:function(){var e=this;if(this.display){var t=a(this.mode);this.status="leave",this.$emit("beforeLeave"),this.classes=t.leave,this.$nextTick((function(){e.transitionEnded=!1,e.$emit("leave"),setTimeout(e.onTransitionEnd,e.duration),e.classes=t["leave-to"]}))}},onTransitionEnd:function(){this.transitionEnded||(this.transitionEnded=!0,this.$emit("leave"===this.status?"afterLeave":"afterEnter"),!this.show&&this.display&&(this.display=!1,this.inited=!1))}}};t.default=s},f7fa:function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={props:{color:{type:String,default:e.$u.props.link.color},fontSize:{type:[String,Number],default:e.$u.props.link.fontSize},underLine:{type:Boolean,default:e.$u.props.link.underLine},href:{type:String,default:e.$u.props.link.href},mpTips:{type:String,default:e.$u.props.link.mpTips},lineColor:{type:String,default:e.$u.props.link.lineColor},text:{type:String,default:e.$u.props.link.text}}};t.default=r}).call(this,r("543d")["default"])},f858:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={modal:{show:!1,title:"",content:"",confirmText:"确认",cancelText:"取消",showConfirmButton:!0,showCancelButton:!1,confirmColor:"#2979ff",cancelColor:"#606266",buttonReverse:!1,zoom:!0,asyncClose:!1,closeOnClickOverlay:!1,negativeTop:0,width:"650rpx",confirmButtonShape:""}}},f963:function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={props:{value:{type:[String,Number],default:e.$u.props.input.value},type:{type:String,default:e.$u.props.input.type},fixed:{type:Boolean,default:e.$u.props.input.fixed},disabled:{type:Boolean,default:e.$u.props.input.disabled},disabledColor:{type:String,default:e.$u.props.input.disabledColor},clearable:{type:Boolean,default:e.$u.props.input.clearable},password:{type:Boolean,default:e.$u.props.input.password},maxlength:{type:[String,Number],default:e.$u.props.input.maxlength},placeholder:{type:String,default:e.$u.props.input.placeholder},placeholderClass:{type:String,default:e.$u.props.input.placeholderClass},placeholderStyle:{type:[String,Object],default:e.$u.props.input.placeholderStyle},showWordLimit:{type:Boolean,default:e.$u.props.input.showWordLimit},confirmType:{type:String,default:e.$u.props.input.confirmType},confirmHold:{type:Boolean,default:e.$u.props.input.confirmHold},holdKeyboard:{type:Boolean,default:e.$u.props.input.holdKeyboard},focus:{type:Boolean,default:e.$u.props.input.focus},autoBlur:{type:Boolean,default:e.$u.props.input.autoBlur},disableDefaultPadding:{type:Boolean,default:e.$u.props.input.disableDefaultPadding},cursor:{type:[String,Number],default:e.$u.props.input.cursor},cursorSpacing:{type:[String,Number],default:e.$u.props.input.cursorSpacing},selectionStart:{type:[String,Number],default:e.$u.props.input.selectionStart},selectionEnd:{type:[String,Number],default:e.$u.props.input.selectionEnd},adjustPosition:{type:Boolean,default:e.$u.props.input.adjustPosition},inputAlign:{type:String,default:e.$u.props.input.inputAlign},fontSize:{type:[String,Number],default:e.$u.props.input.fontSize},color:{type:String,default:e.$u.props.input.color},prefixIcon:{type:String,default:e.$u.props.input.prefixIcon},prefixIconStyle:{type:[String,Object],default:e.$u.props.input.prefixIconStyle},suffixIcon:{type:String,default:e.$u.props.input.suffixIcon},suffixIconStyle:{type:[String,Object],default:e.$u.props.input.suffixIconStyle},border:{type:String,default:e.$u.props.input.border},readonly:{type:Boolean,default:e.$u.props.input.readonly},shape:{type:String,default:e.$u.props.input.shape},formatter:{type:[Function,null],default:e.$u.props.input.formatter},ignoreCompositionEvent:{type:Boolean,default:!0}}};t.default=r}).call(this,r("543d")["default"])},fae5:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={readMore:{showHeight:400,toggle:!1,closeText:"展开阅读全文",openText:"收起",color:"#2979ff",fontSize:14,textIndent:"2em",name:""}}},ffc1:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={alert:{title:"",type:"warning",description:"",closable:!1,showIcon:!1,effect:"light",center:!1,fontSize:14}}}}]);
|