(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["common/vendor"],{"0106":function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={props:{direction:{type:String,default:e.$u.props.steps.direction},current:{type:[String,Number],default:e.$u.props.steps.current},activeColor:{type:String,default:e.$u.props.steps.activeColor},inactiveColor:{type:String,default:e.$u.props.steps.inactiveColor},activeIcon:{type:String,default:e.$u.props.steps.activeIcon},inactiveIcon:{type:String,default:e.$u.props.steps.inactiveIcon},dot:{type:Boolean,default:e.$u.props.steps.dot}}};t.default=r}).call(this,r("df3c")["default"])},"011a":function(e,t){function r(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(e.exports=r=function(){return!!t},e.exports.__esModule=!0,e.exports["default"]=e.exports)()}e.exports=r,e.exports.__esModule=!0,e.exports["default"]=e.exports},"0203":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 a=[],i=1;i<7;i+=2)a.push(parseInt("0x".concat(e.slice(i,i+2))));return t?"rgb(".concat(a[0],",").concat(a[1],",").concat(a[2],")"):a}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;o0&&void 0!==arguments[0]?arguments[0]:"rgb(0, 0, 0)",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"rgb(255, 255, 255)",r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:10,a=n(e,!1),i=a[0],s=a[1],u=a[2],c=n(t,!1),l=c[0],d=c[1],f=c[2],p=(l-i)/r,h=(d-s)/r,m=(f-u)/r,g=[],v=0;v1&&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 u(e){if(-1===e.toString().indexOf("e"))return Number(e.toString().replace(".",""));var t=s(e);return t>0?i(Number(e)*Math.pow(10,t)):Number(e)}function c(e){a&&(e>Number.MAX_SAFE_INTEGER||e2)return l(t,d);var n=t[0],o=t[1],a=u(n),i=u(o),f=s(n)+s(o),p=a*i;return c(p),p/Math.pow(10,f)}function f(){for(var e=arguments.length,t=new Array(e),r=0;r2)return l(t,f);var n=t[0],o=t[1],a=Math.pow(10,Math.max(s(n),s(o)));return(d(n,a)+d(o,a))/a}function p(){for(var e=arguments.length,t=new Array(e),r=0;r2)return l(t,p);var n=t[0],o=t[1],a=Math.pow(10,Math.max(s(n),s(o)));return(d(n,a)-d(o,a))/a}function h(){for(var e=arguments.length,t=new Array(e),r=0;r2)return l(t,h);var n=t[0],o=t[1],a=u(n),f=u(o);return c(a),c(f),d(a/f,i(Math.pow(10,s(o)-s(n))))}function m(e,t){var r=Math.pow(10,t),n=h(Math.round(Math.abs(d(e,r))),r);return e<0&&0!==n&&(n=d(n,-1)),n}function g(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];a=e}var v={times:d,plus:f,minus:p,divide:h,round:m,enableBoundaryChecking:g};t.default=v},"0661":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}}},"0a68":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:""}}},"0bab":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}}},"0bb0":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"}}},"0bdb":function(e,t,r){var n=r("d551");function o(e,t){for(var r=0;r0?i-4:i;for(r=0;r>16&255,u[l++]=t>>8&255,u[l++]=255&t;2===s&&(t=o[e.charCodeAt(r)]<<2|o[e.charCodeAt(r+1)]>>4,u[l++]=255&t);1===s&&(t=o[e.charCodeAt(r)]<<10|o[e.charCodeAt(r+1)]<<4|o[e.charCodeAt(r+2)]>>2,u[l++]=t>>8&255,u[l++]=255&t);return u},t.fromByteArray=function(e){for(var t,r=e.length,o=r%3,a=[],i=0,s=r-o;is?s:i+16383));1===o?(t=e[r-1],a.push(n[t>>2]+n[t<<4&63]+"==")):2===o&&(t=(e[r-2]<<8)+e[r-1],a.push(n[t>>10]+n[t>>4&63]+n[t<<2&63]+"="));return a.join("")};for(var n=[],o=[],a="undefined"!==typeof Uint8Array?Uint8Array:Array,i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=0,u=i.length;s0)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 d(e,t,r){for(var n,o=[],a=t;a * @license MIT */ var n=r("10ab"),o=r("ba37"),a=r("b0e4");function i(){return u.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function s(e,t){if(i()=i())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+i().toString(16)+" bytes");return 0|e}function h(e,t){if(u.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 Z(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return U(e).length;default:if(n)return Z(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 P(this,t,r);case"utf8":case"utf-8":return A(this,t,r);case"ascii":return R(this,t,r);case"latin1":case"binary":return I(this,t,r);case"base64":return O(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return N(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 v(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=u.from(t,n)),u.isBuffer(t))return 0===t.length?-1:y(e,t,r,n,o);if("number"===typeof t)return t&=255,u.TYPED_ARRAY_SUPPORT&&"function"===typeof Uint8Array.prototype.indexOf?o?Uint8Array.prototype.indexOf.call(e,t,r):Uint8Array.prototype.lastIndexOf.call(e,t,r):y(e,[t],r,n,o);throw new TypeError("val must be string, number or Buffer")}function y(e,t,r,n,o){var a,i=1,s=e.length,u=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;i=2,s/=2,u/=2,r/=2}function c(e,t){return 1===i?e[t]:e.readUInt16BE(t*i)}if(o){var l=-1;for(a=r;as&&(r=s-u),a=r;a>=0;a--){for(var d=!0,f=0;fo&&(n=o)):n=o;var a=t.length;if(a%2!==0)throw new TypeError("Invalid hex string");n>a/2&&(n=a/2);for(var i=0;i>8,o=r%256,a.push(o),a.push(n)}return a}(t,e.length-r),e,r,n)}function O(e,t,r){return 0===t&&r===e.length?n.fromByteArray(e):n.fromByteArray(e.slice(t,r))}function A(e,t,r){r=Math.min(e.length,r);var n=[],o=t;while(o239?4:c>223?3:c>191?2:1;if(o+d<=r)switch(d){case 1:c<128&&(l=c);break;case 2:a=e[o+1],128===(192&a)&&(u=(31&c)<<6|63&a,u>127&&(l=u));break;case 3:a=e[o+1],i=e[o+2],128===(192&a)&&128===(192&i)&&(u=(15&c)<<12|(63&a)<<6|63&i,u>2047&&(u<55296||u>57343)&&(l=u));break;case 4:a=e[o+1],i=e[o+2],s=e[o+3],128===(192&a)&&128===(192&i)&&128===(192&s)&&(u=(15&c)<<18|(63&a)<<12|(63&i)<<6|63&s,u>65535&&u<1114112&&(l=u))}null===l?(l=65533,d=1):l>65535&&(l-=65536,n.push(l>>>10&1023|55296),l=56320|1023&l),n.push(l),o+=d}return function(e){var t=e.length;if(t<=4096)return String.fromCharCode.apply(String,e);var r="",n=0;while(n0&&(e=this.toString("hex",0,r).match(/.{2}/g).join(" "),this.length>r&&(e+=" ... ")),""},u.prototype.compare=function(e,t,r,n,o){if(!u.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 a=o-n,i=r-t,s=Math.min(a,i),c=this.slice(n,o),l=e.slice(t,r),d=0;do)&&(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 a=!1;;)switch(n){case"hex":return T(this,e,t,r);case"utf8":case"utf-8":return _(this,e,t,r);case"ascii":return S(this,e,t,r);case"latin1":case"binary":return E(this,e,t,r);case"base64":return b(this,e,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return C(this,e,t,r);default:if(a)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),a=!0}},u.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;on)&&(r=n);for(var o="",a=t;ar)throw new RangeError("Trying to access beyond buffer length")}function w(e,t,r,n,o,a){if(!u.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>o||te.length)throw new RangeError("Index out of range")}function L(e,t,r,n){t<0&&(t=65535+t+1);for(var o=0,a=Math.min(e.length-r,2);o>>8*(n?o:1-o)}function k(e,t,r,n){t<0&&(t=4294967295+t+1);for(var o=0,a=Math.min(e.length-r,4);o>>8*(n?o:3-o)&255}function B(e,t,r,n,o,a){if(r+n>e.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function D(e,t,r,n,a){return a||B(e,0,r,4),o.write(e,t,r,n,23,4),r+4}function x(e,t,r,n,a){return a||B(e,0,r,8),o.write(e,t,r,n,52,8),r+8}u.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),t0&&(o*=256))n+=this[e+--t]*o;return n},u.prototype.readUInt8=function(e,t){return t||M(e,1,this.length),this[e]},u.prototype.readUInt16LE=function(e,t){return t||M(e,2,this.length),this[e]|this[e+1]<<8},u.prototype.readUInt16BE=function(e,t){return t||M(e,2,this.length),this[e]<<8|this[e+1]},u.prototype.readUInt32LE=function(e,t){return t||M(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},u.prototype.readUInt32BE=function(e,t){return t||M(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},u.prototype.readIntLE=function(e,t,r){e|=0,t|=0,r||M(e,t,this.length);var n=this[e],o=1,a=0;while(++a=o&&(n-=Math.pow(2,8*t)),n},u.prototype.readIntBE=function(e,t,r){e|=0,t|=0,r||M(e,t,this.length);var n=t,o=1,a=this[e+--n];while(n>0&&(o*=256))a+=this[e+--n]*o;return o*=128,a>=o&&(a-=Math.pow(2,8*t)),a},u.prototype.readInt8=function(e,t){return t||M(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},u.prototype.readInt16LE=function(e,t){t||M(e,2,this.length);var r=this[e]|this[e+1]<<8;return 32768&r?4294901760|r:r},u.prototype.readInt16BE=function(e,t){t||M(e,2,this.length);var r=this[e+1]|this[e]<<8;return 32768&r?4294901760|r:r},u.prototype.readInt32LE=function(e,t){return t||M(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},u.prototype.readInt32BE=function(e,t){return t||M(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},u.prototype.readFloatLE=function(e,t){return t||M(e,4,this.length),o.read(this,e,!0,23,4)},u.prototype.readFloatBE=function(e,t){return t||M(e,4,this.length),o.read(this,e,!1,23,4)},u.prototype.readDoubleLE=function(e,t){return t||M(e,8,this.length),o.read(this,e,!0,52,8)},u.prototype.readDoubleBE=function(e,t){return t||M(e,8,this.length),o.read(this,e,!1,52,8)},u.prototype.writeUIntLE=function(e,t,r,n){if(e=+e,t|=0,r|=0,!n){var o=Math.pow(2,8*r)-1;w(this,e,t,r,o,0)}var a=1,i=0;this[t]=255&e;while(++i=0&&(i*=256))this[t+a]=e/i&255;return t+r},u.prototype.writeUInt8=function(e,t,r){return e=+e,t|=0,r||w(this,e,t,1,255,0),u.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},u.prototype.writeUInt16LE=function(e,t,r){return e=+e,t|=0,r||w(this,e,t,2,65535,0),u.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):L(this,e,t,!0),t+2},u.prototype.writeUInt16BE=function(e,t,r){return e=+e,t|=0,r||w(this,e,t,2,65535,0),u.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):L(this,e,t,!1),t+2},u.prototype.writeUInt32LE=function(e,t,r){return e=+e,t|=0,r||w(this,e,t,4,4294967295,0),u.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):k(this,e,t,!0),t+4},u.prototype.writeUInt32BE=function(e,t,r){return e=+e,t|=0,r||w(this,e,t,4,4294967295,0),u.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):k(this,e,t,!1),t+4},u.prototype.writeIntLE=function(e,t,r,n){if(e=+e,t|=0,!n){var o=Math.pow(2,8*r-1);w(this,e,t,r,o-1,-o)}var a=0,i=1,s=0;this[t]=255&e;while(++a>0)-s&255;return t+r},u.prototype.writeIntBE=function(e,t,r,n){if(e=+e,t|=0,!n){var o=Math.pow(2,8*r-1);w(this,e,t,r,o-1,-o)}var a=r-1,i=1,s=0;this[t+a]=255&e;while(--a>=0&&(i*=256))e<0&&0===s&&0!==this[t+a+1]&&(s=1),this[t+a]=(e/i>>0)-s&255;return t+r},u.prototype.writeInt8=function(e,t,r){return e=+e,t|=0,r||w(this,e,t,1,127,-128),u.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},u.prototype.writeInt16LE=function(e,t,r){return e=+e,t|=0,r||w(this,e,t,2,32767,-32768),u.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):L(this,e,t,!0),t+2},u.prototype.writeInt16BE=function(e,t,r){return e=+e,t|=0,r||w(this,e,t,2,32767,-32768),u.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):L(this,e,t,!1),t+2},u.prototype.writeInt32LE=function(e,t,r){return e=+e,t|=0,r||w(this,e,t,4,2147483647,-2147483648),u.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):k(this,e,t,!0),t+4},u.prototype.writeInt32BE=function(e,t,r){return e=+e,t|=0,r||w(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),u.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):k(this,e,t,!1),t+4},u.prototype.writeFloatLE=function(e,t,r){return D(this,e,t,!0,r)},u.prototype.writeFloatBE=function(e,t,r){return D(this,e,t,!1,r)},u.prototype.writeDoubleLE=function(e,t,r){return x(this,e,t,!0,r)},u.prototype.writeDoubleBE=function(e,t,r){return x(this,e,t,!1,r)},u.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=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=0;--o)e[o+t]=this[o+r];else if(a<1e3||!u.TYPED_ARRAY_SUPPORT)for(o=0;o>>=0,r=void 0===r?this.length:r>>>0,e||(e=0),"number"===typeof e)for(a=t;a55295&&r<57344){if(!o){if(r>56319){(t-=3)>-1&&a.push(239,191,189);continue}if(i+1===n){(t-=3)>-1&&a.push(239,191,189);continue}o=r;continue}if(r<56320){(t-=3)>-1&&a.push(239,191,189),o=r;continue}r=65536+(o-55296<<10|r-56320)}else o&&(t-=3)>-1&&a.push(239,191,189);if(o=null,r<128){if((t-=1)<0)break;a.push(r)}else if(r<2048){if((t-=2)<0)break;a.push(r>>6|192,63&r|128)}else if(r<65536){if((t-=3)<0)break;a.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;a.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return a}function U(e){return n.toByteArray(function(e){if(e=function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}(e).replace(Y,""),e.length<2)return"";while(e.length%4!==0)e+="=";return e}(e))}function J(e,t,r,n){for(var o=0;o=t.length||o>=e.length)break;t[o+r]=e[o]}return o}}).call(this,r("0ee4"))},1434:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={cellGroup:{title:"",border:!0,customStyle:{}}}},"14d3":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],default:e.$u.props.numberBox.name},value:{type:[String,Number],default:e.$u.props.numberBox.value},min:{type:[String,Number],default:e.$u.props.numberBox.min},max:{type:[String,Number],default:e.$u.props.numberBox.max},step:{type:[String,Number],default:e.$u.props.numberBox.step},integer:{type:Boolean,default:e.$u.props.numberBox.integer},disabled:{type:Boolean,default:e.$u.props.numberBox.disabled},disabledInput:{type:Boolean,default:e.$u.props.numberBox.disabledInput},asyncChange:{type:Boolean,default:e.$u.props.numberBox.asyncChange},inputWidth:{type:[String,Number],default:e.$u.props.numberBox.inputWidth},showMinus:{type:Boolean,default:e.$u.props.numberBox.showMinus},showPlus:{type:Boolean,default:e.$u.props.numberBox.showPlus},decimalLength:{type:[String,Number,null],default:e.$u.props.numberBox.decimalLength},longPress:{type:Boolean,default:e.$u.props.numberBox.longPress},color:{type:String,default:e.$u.props.numberBox.color},buttonSize:{type:[String,Number],default:e.$u.props.numberBox.buttonSize},bgColor:{type:String,default:e.$u.props.numberBox.bgColor},cursorSpacing:{type:[String,Number],default:e.$u.props.numberBox.cursorSpacing},disablePlus:{type:Boolean,default:e.$u.props.numberBox.disablePlus},disableMinus:{type:Boolean,default:e.$u.props.numberBox.disableMinus},iconStyle:{type:[Object,String],default:e.$u.props.numberBox.iconStyle}}};t.default=r}).call(this,r("df3c")["default"])},"14d8":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("df3c")["default"])},"155f":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:""}}},"161e":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.showHttpLog=t.baseURL=void 0;t.baseURL="https://cbec.hdlkeji.com/api";t.showHttpLog=!1},1867:function(e,t,r){"use strict";var n=r("47a9");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(r("7ca3")),a=n(r("4a01")),i=n(r("abed")),s=n(r("4edf")),u=n(r("eefe")),c=n(r("2f87")),l=n(r("71cb")),d=n(r("4682")),f=n(r("cd4c")),p=n(r("532b")),h=n(r("ceea")),m=n(r("c3f4")),g=n(r("39e0")),v=n(r("1434")),y=n(r("a61d")),T=n(r("4a53")),_=n(r("5c96")),S=n(r("155f")),E=n(r("64a1")),b=n(r("4a3d")),C=n(r("b2fd")),O=n(r("a959")),A=n(r("51d8")),R=n(r("0be9")),I=n(r("d757")),P=n(r("810c")),N=n(r("1cbc")),M=n(r("d42c")),w=n(r("7f51")),L=n(r("0332")),k=n(r("46a8")),B=n(r("cfa5")),D=n(r("7c25")),x=n(r("e7ed")),Y=n(r("3717")),H=n(r("c73d")),Z=n(r("31f0")),U=n(r("361e")),J=n(r("2c81")),G=n(r("77b9")),j=n(r("ea20")),X=n(r("9cab")),F=n(r("0661")),Q=n(r("bfcc")),W=n(r("b726")),K=n(r("4b69")),z=n(r("5df0")),$=n(r("b410")),q=n(r("ee06")),V=n(r("5458")),ee=n(r("54ba")),te=n(r("286e")),re=n(r("afa4")),ne=n(r("acab")),oe=n(r("2fdb")),ae=n(r("d04c")),ie=n(r("6758")),se=n(r("1ce7")),ue=n(r("456e")),ce=n(r("c2fb")),le=n(r("0bab")),de=n(r("b2a7")),fe=n(r("28a9")),pe=n(r("ecea")),he=n(r("0a68")),me=n(r("56d6")),ge=n(r("fb7f")),ve=n(r("73d2")),ye=n(r("ff16")),Te=n(r("370a")),_e=n(r("607e")),Se=n(r("f61d")),Ee=n(r("44b6")),be=n(r("5ef2")),Ce=n(r("dd76")),Oe=n(r("4281")),Ae=n(r("b414")),Re=n(r("fb78")),Ie=n(r("6fe9")),Pe=n(r("0c11")),Ne=n(r("9eec")),Me=n(r("45d9")),we=n(r("eecd")),Le=n(r("90b5")),ke=n(r("90c8")),Be=n(r("1924")),De=n(r("23ab")),xe=n(r("7463")),Ye=n(r("0bb0")),He=n(r("8127"));function Ze(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 Ue(e){for(var t=1;t=a)return e;switch(e){case"%s":return String(t[n++]);case"%d":return Number(t[n++]);case"%j":try{return JSON.stringify(t[n++])}catch(r){return"[Circular]"}break;default:return e}})),s=t[n];n()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,url:new RegExp("^(?!mailto:)(?:(?:http|https|ftp)://|//)(?:\\S+(?::\\S*)?@)?(?:(?:(?:[1-9]\\d?|1\\d\\d|2[01]\\d|22[0-3])(?:\\.(?:1?\\d{1,2}|2[0-4]\\d|25[0-5])){2}(?:\\.(?:[0-9]\\d?|1\\d\\d|2[0-4]\\d|25[0-4]))|(?:(?:[a-z\\u00a1-\\uffff0-9]+-*)*[a-z\\u00a1-\\uffff0-9]+)(?:\\.(?:[a-z\\u00a1-\\uffff0-9]+-*)*[a-z\\u00a1-\\uffff0-9]+)*(?:\\.(?:[a-z\\u00a1-\\uffff]{2,})))|localhost)(?::\\d{2,5})?(?:(/|\\?|#)[^\\s]*)?$","i"),hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},T={integer:function(e){return/^(-)?\d+$/.test(e)},float:function(e){return/^(-)?\d+(\.\d+)?$/.test(e)},array:function(e){return Array.isArray(e)},regexp:function(e){if(e instanceof RegExp)return!0;try{return!!new RegExp(e)}catch(t){return!1}},date:function(e){return"function"===typeof e.getTime&&"function"===typeof e.getMonth&&"function"===typeof e.getYear},number:function(e){return!isNaN(e)&&"number"===typeof+e},object:function(e){return"object"===(0,a.default)(e)&&!T.array(e)},method:function(e){return"function"===typeof e},email:function(e){return"string"===typeof e&&!!e.match(y.email)&&e.length<255},url:function(e){return"string"===typeof e&&!!e.match(y.url)},hex:function(e){return"string"===typeof e&&!!e.match(y.hex)}};var _={required:v,whitespace:function(e,t,r,n,o){(/^\s+$/.test(t)||""===t)&&n.push(d(o.messages.whitespace,e.fullField))},type:function(e,t,r,n,o){if(e.required&&void 0===t)v(e,t,r,n,o);else{var i=e.type;["integer","float","array","regexp","object","method","email","number","date","url","hex"].indexOf(i)>-1?T[i](t)||n.push(d(o.messages.types[i],e.fullField,e.type)):i&&(0,a.default)(t)!==e.type&&n.push(d(o.messages.types[i],e.fullField,e.type))}},range:function(e,t,r,n,o){var a="number"===typeof e.len,i="number"===typeof e.min,s="number"===typeof e.max,u=t,c=null,l="number"===typeof t,f="string"===typeof t,p=Array.isArray(t);if(l?c="number":f?c="string":p&&(c="array"),!c)return!1;p&&(u=t.length),f&&(u=t.replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,"_").length),a?u!==e.len&&n.push(d(o.messages[c].len,e.fullField,e.len)):i&&!s&&ue.max?n.push(d(o.messages[c].max,e.fullField,e.max)):i&&s&&(ue.max)&&n.push(d(o.messages[c].range,e.fullField,e.min,e.max))},enum:function(e,t,r,n,o){e["enum"]=Array.isArray(e["enum"])?e["enum"]:[],-1===e["enum"].indexOf(t)&&n.push(d(o.messages["enum"],e.fullField,e["enum"].join(", ")))},pattern:function(e,t,r,n,o){if(e.pattern)if(e.pattern instanceof RegExp)e.pattern.lastIndex=0,e.pattern.test(t)||n.push(d(o.messages.pattern.mismatch,e.fullField,t,e.pattern));else if("string"===typeof e.pattern){var a=new RegExp(e.pattern);a.test(t)||n.push(d(o.messages.pattern.mismatch,e.fullField,t,e.pattern))}}};function S(e,t,r,n,o){var a=e.type,i=[],s=e.required||!e.required&&n.hasOwnProperty(e.field);if(s){if(f(t,a)&&!e.required)return r();_.required(e,t,n,i,o,a),f(t,a)||_.type(e,t,n,i,o)}r(i)}var E={string:function(e,t,r,n,o){var a=[],i=e.required||!e.required&&n.hasOwnProperty(e.field);if(i){if(f(t,"string")&&!e.required)return r();_.required(e,t,n,a,o,"string"),f(t,"string")||(_.type(e,t,n,a,o),_.range(e,t,n,a,o),_.pattern(e,t,n,a,o),!0===e.whitespace&&_.whitespace(e,t,n,a,o))}r(a)},method:function(e,t,r,n,o){var a=[],i=e.required||!e.required&&n.hasOwnProperty(e.field);if(i){if(f(t)&&!e.required)return r();_.required(e,t,n,a,o),void 0!==t&&_.type(e,t,n,a,o)}r(a)},number:function(e,t,r,n,o){var a=[],i=e.required||!e.required&&n.hasOwnProperty(e.field);if(i){if(""===t&&(t=void 0),f(t)&&!e.required)return r();_.required(e,t,n,a,o),void 0!==t&&(_.type(e,t,n,a,o),_.range(e,t,n,a,o))}r(a)},boolean:function(e,t,r,n,o){var a=[],i=e.required||!e.required&&n.hasOwnProperty(e.field);if(i){if(f(t)&&!e.required)return r();_.required(e,t,n,a,o),void 0!==t&&_.type(e,t,n,a,o)}r(a)},regexp:function(e,t,r,n,o){var a=[],i=e.required||!e.required&&n.hasOwnProperty(e.field);if(i){if(f(t)&&!e.required)return r();_.required(e,t,n,a,o),f(t)||_.type(e,t,n,a,o)}r(a)},integer:function(e,t,r,n,o){var a=[],i=e.required||!e.required&&n.hasOwnProperty(e.field);if(i){if(f(t)&&!e.required)return r();_.required(e,t,n,a,o),void 0!==t&&(_.type(e,t,n,a,o),_.range(e,t,n,a,o))}r(a)},float:function(e,t,r,n,o){var a=[],i=e.required||!e.required&&n.hasOwnProperty(e.field);if(i){if(f(t)&&!e.required)return r();_.required(e,t,n,a,o),void 0!==t&&(_.type(e,t,n,a,o),_.range(e,t,n,a,o))}r(a)},array:function(e,t,r,n,o){var a=[],i=e.required||!e.required&&n.hasOwnProperty(e.field);if(i){if(f(t,"array")&&!e.required)return r();_.required(e,t,n,a,o,"array"),f(t,"array")||(_.type(e,t,n,a,o),_.range(e,t,n,a,o))}r(a)},object:function(e,t,r,n,o){var a=[],i=e.required||!e.required&&n.hasOwnProperty(e.field);if(i){if(f(t)&&!e.required)return r();_.required(e,t,n,a,o),void 0!==t&&_.type(e,t,n,a,o)}r(a)},enum:function(e,t,r,n,o){var a=[],i=e.required||!e.required&&n.hasOwnProperty(e.field);if(i){if(f(t)&&!e.required)return r();_.required(e,t,n,a,o),void 0!==t&&_["enum"](e,t,n,a,o)}r(a)},pattern:function(e,t,r,n,o){var a=[],i=e.required||!e.required&&n.hasOwnProperty(e.field);if(i){if(f(t,"string")&&!e.required)return r();_.required(e,t,n,a,o),f(t,"string")||_.pattern(e,t,n,a,o)}r(a)},date:function(e,t,r,n,o){var a=[],i=e.required||!e.required&&n.hasOwnProperty(e.field);if(i){if(f(t)&&!e.required)return r();var s;if(_.required(e,t,n,a,o),!f(t))s="number"===typeof t?new Date(t):t,_.type(e,s,n,a,o),s&&_.range(e,s.getTime(),n,a,o)}r(a)},url:S,hex:S,email:S,required:function(e,t,r,n,o){var i=[],s=Array.isArray(t)?"array":(0,a.default)(t);_.required(e,t,n,i,o,s),r(i)},any:function(e,t,r,n,o){var a=[],i=e.required||!e.required&&n.hasOwnProperty(e.field);if(i){if(f(t)&&!e.required)return r();_.required(e,t,n,a,o)}r(a)}};function b(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){var e=JSON.parse(JSON.stringify(this));return e.clone=this.clone,e}}}var C=b();function O(e){this.rules=null,this._messages=C,this.define(e)}O.prototype={messages:function(e){return e&&(this._messages=g(b(),e)),this._messages},define:function(e){if(!e)throw new Error("Cannot configure a schema with no rules");if("object"!==(0,a.default)(e)||Array.isArray(e))throw new Error("Rules must be an object");var t,r;for(t in this.rules={},e)e.hasOwnProperty(t)&&(r=e[t],this.rules[t]=Array.isArray(r)?r:[r])},validate:function(e,t,r){var n=this;void 0===t&&(t={}),void 0===r&&(r=function(){});var o,i,u=e,c=t,f=r;if("function"===typeof c&&(f=c,c={}),!this.rules||0===Object.keys(this.rules).length)return f&&f(),Promise.resolve();if(c.messages){var p=this.messages();p===C&&(p=b()),g(p,c.messages),c.messages=p}else c.messages=this.messages();var v={},y=c.keys||Object.keys(this.rules);y.forEach((function(t){o=n.rules[t],i=u[t],o.forEach((function(r){var o=r;"function"===typeof o.transform&&(u===e&&(u=s({},u)),i=u[t]=o.transform(i)),o="function"===typeof o?{validator:o}:s({},o),o.validator=n.getValidationMethod(o),o.field=t,o.fullField=o.fullField||t,o.type=n.getType(o),o.validator&&(v[t]=v[t]||[],v[t].push({rule:o,value:i,source:u,field:t}))}))}));var T={};return h(v,c,(function(e,t){var r,n=e.rule,o=("object"===n.type||"array"===n.type)&&("object"===(0,a.default)(n.fields)||"object"===(0,a.default)(n.defaultField));function i(e,t){return s(s({},t),{},{fullField:"".concat(n.fullField,".").concat(e)})}function u(r){void 0===r&&(r=[]);var a=r;if(Array.isArray(a)||(a=[a]),!c.suppressWarning&&a.length&&O.warning("async-validator:",a),a.length&&n.message&&(a=[].concat(n.message)),a=a.map(m(n)),c.first&&a.length)return T[n.field]=1,t(a);if(o){if(n.required&&!e.value)return a=n.message?[].concat(n.message).map(m(n)):c.error?[c.error(n,d(c.messages.required,n.field))]:[],t(a);var u={};if(n.defaultField)for(var l in e.value)e.value.hasOwnProperty(l)&&(u[l]=n.defaultField);for(var f in u=s(s({},u),e.rule.fields),u)if(u.hasOwnProperty(f)){var p=Array.isArray(u[f])?u[f]:[u[f]];u[f]=p.map(i.bind(null,f))}var h=new O(u);h.messages(c.messages),e.rule.options&&(e.rule.options.messages=c.messages,e.rule.options.error=c.error),h.validate(e.value,e.rule.options||c,(function(e){var r=[];a&&a.length&&r.push.apply(r,a),e&&e.length&&r.push.apply(r,e),t(r.length?r:null)}))}else t(a)}o=o&&(n.required||!n.required&&e.value),n.field=e.field,n.asyncValidator?r=n.asyncValidator(n,e.value,u,e.source,c):n.validator&&(r=n.validator(n,e.value,u,e.source,c),!0===r?u():!1===r?u(n.message||"".concat(n.field," fails")):r instanceof Array?u(r):r instanceof Error&&u(r.message)),r&&r.then&&r.then((function(){return u()}),(function(e){return u(e)}))}),(function(e){(function(e){var t,r=[],n={};function o(e){var t;Array.isArray(e)?r=(t=r).concat.apply(t,e):r.push(e)}for(t=0;t-1||"function"===typeof s[e])}a[i]=function(){var e={};for(var t in s)c(t)&&(e[t]=s[t]);return e}();var l=a[i];t.default=l},3240: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 a(e){return!0===e}function i(e){return"string"===typeof e||"number"===typeof e||"symbol"===typeof e||"boolean"===typeof e}function s(e){return null!==e&&"object"===typeof e}var u=Object.prototype.toString;function c(e){return"[object Object]"===u.call(e)}function l(e){var t=parseFloat(String(e));return t>=0&&Math.floor(t)===t&&isFinite(e)}function d(e){return o(e)&&"function"===typeof e.then&&"function"===typeof e.catch}function f(e){return null==e?"":Array.isArray(e)||c(e)&&e.toString===u?JSON.stringify(e,null,2):String(e)}function p(e){var t=parseFloat(e);return isNaN(t)?e:t}function h(e,t){for(var r=Object.create(null),n=e.split(","),o=0;o-1)return e.splice(r,1)}}var v=Object.prototype.hasOwnProperty;function y(e,t){return v.call(e,t)}function T(e){var t=Object.create(null);return function(r){var n=t[r];return n||(t[r]=e(r))}}var _=/-(\w)/g,S=T((function(e){return e.replace(_,(function(e,t){return t?t.toUpperCase():""}))})),E=T((function(e){return e.charAt(0).toUpperCase()+e.slice(1)})),b=/\B([A-Z])/g,C=T((function(e){return e.replace(b,"-$1").toLowerCase()}));var O=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 A(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 I(e){for(var t={},r=0;r0),z=(Q&&Q.indexOf("android"),Q&&/iphone|ipad|ipod|ios/.test(Q)||"ios"===F),$=(Q&&/chrome\/\d+/.test(Q),Q&&/phantomjs/.test(Q),Q&&Q.match(/firefox\/(\d+)/),{}.watch);if(j)try{var q={};Object.defineProperty(q,"passive",{get:function(){}}),window.addEventListener("test-passive",null,q)}catch(Dr){}var V=function(){return void 0===J&&(J=!j&&!X&&"undefined"!==typeof e&&(e["process"]&&"server"===e["process"].env.VUE_ENV)),J},ee=j&&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=P,ae=0,ie=function(){this.id=ae++,this.subs=[]};function se(e){ie.SharedObject.targetStack.push(e),ie.SharedObject.target=e,ie.target=e}function ue(){ie.SharedObject.targetStack.pop(),ie.SharedObject.target=ie.SharedObject.targetStack[ie.SharedObject.targetStack.length-1],ie.target=ie.SharedObject.target}ie.prototype.addSub=function(e){this.subs.push(e)},ie.prototype.removeSub=function(e){g(this.subs,e)},ie.prototype.depend=function(){ie.SharedObject.target&&ie.SharedObject.target.addDep(this)},ie.prototype.notify=function(){var e=this.subs.slice();for(var t=0,r=e.length;t-1)if(a&&!y(o,"default"))i=!1;else if(""===i||i===C(e)){var u=De(String,o.type);(u<0||s0&&(u=e(u,(r||"")+"_"+s),nt(u[0])&&nt(l)&&(d[c]=fe(l.text+u[0].text),u.shift()),d.push.apply(d,u)):i(u)?nt(l)?d[c]=fe(l.text+u):""!==u&&d.push(fe(u)):nt(u)&&nt(l)?d[c]=fe(l.text+u.text):(a(t._isVList)&&o(u.tag)&&n(u.key)&&o(r)&&(u.key="__vlist"+r+"_"+s+"__"),d.push(u)));return d}(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 at(e){var t=it(e.$options.inject,e);t&&(ve(!1),Object.keys(t).forEach((function(r){Se(e,r,t[r])})),ve(!0))}function it(e,t){if(e){for(var r=Object.create(null),n=ne?Reflect.ownKeys(e):Object.keys(e),o=0;o0,i=e?!!e.$stable:!a,s=e&&e.$key;if(e){if(e._normalized)return e._normalized;if(i&&n&&n!==r&&s===n.$key&&!a&&!n.$hasNormal)return n;for(var u in o={},e)e[u]&&"$"!==u[0]&&(o[u]=lt(t,u,e[u]))}else o={};for(var c in t)c in o||(o[c]=dt(t,c));return e&&Object.isExtensible(e)&&(e._normalized=o),Z(o,"$stable",i),Z(o,"$key",s),Z(o,"$hasNormal",a),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 dt(e,t){return function(){return e[t]}}function ft(e,t){var r,n,a,i,u;if(Array.isArray(e)||"string"===typeof e)for(r=new Array(e.length),n=0,a=e.length;ndocument.createEvent("Event").timeStamp&&(Vt=function(){return er.now()})}function tr(){var e,t;for(Vt(),$t=!0,Qt.sort((function(e,t){return e.id-t.id})),qt=0;qtqt&&Qt[r].id>e.id)r--;Qt.splice(r+1,0,e)}else Qt.push(e);zt||(zt=!0,Ke(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(Dr){xe(Dr,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:P,set:P};function ar(e,t,r){or.get=function(){return this[t][r]},or.set=function(e){this[t][r]=e},Object.defineProperty(e,r,or)}function ir(e){e._watchers=[];var t=e.$options;t.props&&function(e,t){var r=e.$options.propsData||{},n=e._props={},o=e.$options._propKeys=[],a=!e.$parent;a||ve(!1);var i=function(a){o.push(a);var i=Le(a,t,r,e);Se(n,a,i),a in e||ar(e,"_props",a)};for(var s in t)i(s);ve(!0)}(e,t.props),t.methods&&function(e,t){e.$options.props;for(var r in t)e[r]="function"!==typeof t[r]?P:O(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(Dr){return xe(Dr,t,"data()"),{}}finally{ue()}}(t,e):t||{},c(t)||(t={});var r=Object.keys(t),n=e.$options.props,o=(e.$options.methods,r.length);while(o--){var a=r[o];0,n&&y(n,a)||H(a)||ar(e,"_data",a)}_e(t,!0)}(e):_e(e._data={},!0),t.computed&&function(e,t){var r=e._computedWatchers=Object.create(null),n=V();for(var o in t){var a=t[o],i="function"===typeof a?a:a.get;0,n||(r[o]=new nr(e,i||P,P,sr)),o in e||ur(e,o,a)}}(e,t.computed),t.watch&&t.watch!==$&&function(e,t){for(var r in t){var n=t[r];if(Array.isArray(n))for(var o=0;o-1:"string"===typeof e?e.split(",").indexOf(t)>-1:!!function(e){return"[object RegExp]"===u.call(e)}(e)&&e.test(t)}function yr(e,t){var r=e.cache,n=e.keys,o=e._vnode;for(var a in r){var i=r[a];if(i){var s=gr(i.componentOptions);s&&!t(s)&&Tr(r,a,n,o)}}}function Tr(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=fr++,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=Me(pr(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&&Jt(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 kt(e,t,r,n,o,!1)},e.$createElement=function(t,r,n,o){return kt(e,t,r,n,o,!0)};var a=n&&n.data;Se(e,"$attrs",a&&a.attrs||r,null,!0),Se(e,"$listeners",t._parentListeners||r,null,!0)}(t),Ft(t,"beforeCreate"),!t._$fallback&&at(t),ir(t),!t._$fallback&&ot(t),!t._$fallback&&Ft(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=Ee,e.prototype.$delete=be,e.prototype.$watch=function(e,t,r){if(c(t))return dr(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){xe(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,a=e.length;o1?A(r):r;for(var n=A(arguments,1),o='event handler for "'+e+'"',a=0,i=r.length;aparseInt(this.max)&&Tr(s,u[0],u,this._vnode)),t.data.keepAlive=!0}return t||e&&e[0]}},Er={KeepAlive:Sr};(function(e){var t={get:function(){return x}};Object.defineProperty(e,"config",t),e.util={warn:oe,extend:R,mergeOptions:Me,defineReactive:Se},e.set=Ee,e.delete=be,e.nextTick=Ke,e.observable=function(e){return _e(e),e},e.options=Object.create(null),B.forEach((function(t){e.options[t+"s"]=Object.create(null)})),e.options._base=e,R(e.options.components,Er),function(e){e.use=function(e){var t=this._installedPlugins||(this._installedPlugins=[]);if(t.indexOf(e)>-1)return this;var r=A(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=Me(this.options,e),this}}(e),mr(e),function(e){B.forEach((function(t){e[t]=function(e,r){return r?("component"===t&&c(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:V}),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]",Cr="[object Object]";function Or(e,t){var r={};return function e(t,r){if(t===r)return;var n=Rr(t),o=Rr(r);if(n==Cr&&o==Cr){if(Object.keys(t).length>=Object.keys(r).length)for(var a in r){var i=t[a];void 0===i?t[a]=null:e(i,r[a])}}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 a=Rr(t),i=Rr(r);if(a==Cr)if(i!=Cr||Object.keys(t).length1&&(t[n[0].trim()]=n[1].trim())}})),t}));var kr=["createSelectorQuery","createIntersectionObserver","selectAllComponents","selectComponent"];var Br=["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,Nr))}(this)}catch(s){console.error(s)}o.__webviewId__=n.data.__webviewId__;var a=Object.create(null);Object.keys(o).forEach((function(e){a[e]=n.data[e]}));var i=!1===this.$shouldDiffData?o:Or(o,a);Object.keys(i).length?(Object({VUE_APP_DARK_MODE:"false",VUE_APP_NAME:"kjds",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(i)),this.__next_tick_pending=!0,n.setData(i,(function(){r.__next_tick_pending=!1,Ir(r)}))):Ir(this)}},hr.prototype.$mount=function(e,t){return function(e,t,r){return e.mpType?("app"===e.mpType&&(e.$options.render=Mr),e.$options.render||(e.$options.render=Mr),!e._$fallback&&Ft(e,"beforeMount"),new nr(e,(function(){e._update(e._render(),r)}),P,{before:function(){e._isMounted&&!e._isDestroyed&&Ft(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!==Br.indexOf(t)&&(e[t]=r[t],delete r[t])})),t.call(this,e)};var r=e.config.optionMergeStrategies,n=r.created;Br.forEach((function(e){r[e]=n})),e.prototype.__lifecycle_hooks__=Br}(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__:A(arguments,1)})}catch(n){}}return t.apply(this,arguments)},e.prototype.$nextTick=function(e){return Pr(this,e)},kr.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=at,e.prototype.__call_hook=function(e,t){var r=this;se();var n,o=r.$options[e],a=e+" hook";if(o)for(var i=0,s=o.length;i0&&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("df3c")["default"])},"3d87":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("df3c")["default"])},"3e9b":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={options:{virtualHost:!0}}},"3f1d":function(e,t,r){"use strict";var n=r("47a9");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,a=arguments.length;n/g,">").replace(/"/g,""").replace(/'/g,"'")}(e[t]))})),e}var E={name:"i18n",functional:!0,props:{tag:{type:[String,Boolean,Object],default:"span"},path:{type:String,required:!0},locale:{type:String},places:{type:[Array,Object]}},render:function(e,t){var r=t.data,n=t.parent,o=t.props,a=t.slots,i=n.$i18n;if(i){var s=o.path,u=o.locale,c=o.places,l=a(),d=i.i(s,u,function(e){var t;for(t in e)if("default"!==t)return!1;return Boolean(t)}(l)||c?function(e,t){var r=t?function(e){0;return Array.isArray(e)?e.reduce(C,{}):Object.assign({},e)}(t):{};if(!e)return r;e=e.filter((function(e){return e.tag||""!==e.text.trim()}));var n=e.every(O);0;return e.reduce(n?b:C,r)}(l.default,c):l),f=o.tag&&!0!==o.tag||!1===o.tag?o.tag:"span";return f?e(f,r,d):d}}};function b(e,t){return t.data&&t.data.attrs&&t.data.attrs.place&&(e[t.data.attrs.place]=t),e}function C(e,t,r){return e[r]=t,e}function O(e){return Boolean(e.data&&e.data.attrs&&e.data.attrs.place)}var A,R={name:"i18n-n",functional:!0,props:{tag:{type:[String,Boolean,Object],default:"span"},value:{type:Number,required:!0},format:{type:[String,Object]},locale:{type:String}},render:function(e,t){var r=t.props,o=t.parent,a=t.data,i=o.$i18n;if(!i)return null;var u=null,l=null;c(r.format)?u=r.format:s(r.format)&&(r.format.key&&(u=r.format.key),l=Object.keys(r.format).reduce((function(e,t){var o;return g(n,t)?Object.assign({},e,(o={},o[t]=r.format[t],o)):e}),null));var d=r.locale||i.locale,f=i._ntp(r.value,d,u,l),p=f.map((function(e,t){var r,n=a.scopedSlots&&a.scopedSlots[e.type];return n?n((r={},r[e.type]=e.value,r.index=t,r.parts=f,r)):e.value})),h=r.tag&&!0!==r.tag||!1===r.tag?r.tag:"span";return h?e(h,{attrs:a.attrs,class:a["class"],staticClass:a.staticClass},p):p}};function I(e,t,r){M(e,r)&&w(e,t,r)}function P(e,t,r,n){if(M(e,r)){var o=r.context.$i18n;(function(e,t){var r=t.context;return e._locale===r.$i18n.locale})(e,r)&&_(t.value,t.oldValue)&&_(e._localeMessage,o.getLocaleMessage(o.locale))||w(e,t,r)}}function N(e,t,r,n){var o=r.context;if(o){var i=r.context.$i18n||{};t.modifiers.preserve||i.preserveDirectiveContent||(e.textContent=""),e._vt=void 0,delete e["_vt"],e._locale=void 0,delete e["_locale"],e._localeMessage=void 0,delete e["_localeMessage"]}else a("Vue instance does not exists in VNode context")}function M(e,t){var r=t.context;return r?!!r.$i18n||(a("VueI18n instance does not exists in Vue instance"),!1):(a("Vue instance does not exists in VNode context"),!1)}function w(e,t,r){var n,o,i=t.value,s=function(e){var t,r,n,o;c(e)?t=e:d(e)&&(t=e.path,r=e.locale,n=e.args,o=e.choice);return{path:t,locale:r,args:n,choice:o}}(i),u=s.path,l=s.locale,f=s.args,p=s.choice;if(u||l||f)if(u){var h=r.context;e._vt=e.textContent=null!=p?(n=h.$i18n).tc.apply(n,[u,p].concat(L(l,f))):(o=h.$i18n).t.apply(o,[u].concat(L(l,f))),e._locale=h.$i18n.locale,e._localeMessage=h.$i18n.getLocaleMessage(h.$i18n.locale)}else a("`path` is required in v-t directive");else a("value type not supported")}function L(e,t){var r=[];return e&&r.push(e),t&&(Array.isArray(t)||d(t))&&r.push(t),r}function k(e,t){void 0===t&&(t={bridge:!1}),k.installed=!0,A=e;A.version&&Number(A.version.split(".")[0]);(function(e){e.prototype.hasOwnProperty("$i18n")||Object.defineProperty(e.prototype,"$i18n",{get:function(){return this._i18n}}),e.prototype.$t=function(e){var t=[],r=arguments.length-1;while(r-- >0)t[r]=arguments[r+1];var n=this.$i18n;return n._t.apply(n,[e,n.locale,n._getMessages(),this].concat(t))},e.prototype.$tc=function(e,t){var r=[],n=arguments.length-2;while(n-- >0)r[n]=arguments[n+2];var o=this.$i18n;return o._tc.apply(o,[e,o.locale,o._getMessages(),this,t].concat(r))},e.prototype.$te=function(e,t){var r=this.$i18n;return r._te(e,r.locale,r._getMessages(),t)},e.prototype.$d=function(e){var t,r=[],n=arguments.length-1;while(n-- >0)r[n]=arguments[n+1];return(t=this.$i18n).d.apply(t,[e].concat(r))},e.prototype.$n=function(e){var t,r=[],n=arguments.length-1;while(n-- >0)r[n]=arguments[n+1];return(t=this.$i18n).n.apply(t,[e].concat(r))}})(A),A.mixin(function(e){function t(){this!==this.$root&&this.$options.__INTLIFY_META__&&this.$el&&this.$el.setAttribute("data-intlify",this.$options.__INTLIFY_META__)}return void 0===e&&(e=!1),e?{mounted:t}:{beforeCreate:function(){var e=this.$options;if(e.i18n=e.i18n||(e.__i18nBridge||e.__i18n?{}:null),e.i18n)if(e.i18n instanceof z){if(e.__i18nBridge||e.__i18n)try{var t=e.i18n&&e.i18n.messages?e.i18n.messages:{},r=e.__i18nBridge||e.__i18n;r.forEach((function(e){t=T(t,JSON.parse(e))})),Object.keys(t).forEach((function(r){e.i18n.mergeLocaleMessage(r,t[r])}))}catch(u){0}this._i18n=e.i18n,this._i18nWatcher=this._i18n.watchI18nData()}else if(d(e.i18n)){var n=this.$root&&this.$root.$i18n&&this.$root.$i18n instanceof z?this.$root.$i18n:null;if(n&&(e.i18n.root=this.$root,e.i18n.formatter=n.formatter,e.i18n.fallbackLocale=n.fallbackLocale,e.i18n.formatFallbackMessages=n.formatFallbackMessages,e.i18n.silentTranslationWarn=n.silentTranslationWarn,e.i18n.silentFallbackWarn=n.silentFallbackWarn,e.i18n.pluralizationRules=n.pluralizationRules,e.i18n.preserveDirectiveContent=n.preserveDirectiveContent),e.__i18nBridge||e.__i18n)try{var o=e.i18n&&e.i18n.messages?e.i18n.messages:{},a=e.__i18nBridge||e.__i18n;a.forEach((function(e){o=T(o,JSON.parse(e))})),e.i18n.messages=o}catch(u){0}var i=e.i18n,s=i.sharedMessages;s&&d(s)&&(e.i18n.messages=T(e.i18n.messages,s)),this._i18n=new z(e.i18n),this._i18nWatcher=this._i18n.watchI18nData(),(void 0===e.i18n.sync||e.i18n.sync)&&(this._localeWatcher=this.$i18n.watchLocale()),n&&n.onComponentInstanceCreated(this._i18n)}else 0;else this.$root&&this.$root.$i18n&&this.$root.$i18n instanceof z?this._i18n=this.$root.$i18n:e.parent&&e.parent.$i18n&&e.parent.$i18n instanceof z&&(this._i18n=e.parent.$i18n)},beforeMount:function(){var e=this.$options;e.i18n=e.i18n||(e.__i18nBridge||e.__i18n?{}:null),e.i18n?(e.i18n instanceof z||d(e.i18n))&&(this._i18n.subscribeDataChanging(this),this._subscribing=!0):(this.$root&&this.$root.$i18n&&this.$root.$i18n instanceof z||e.parent&&e.parent.$i18n&&e.parent.$i18n instanceof z)&&(this._i18n.subscribeDataChanging(this),this._subscribing=!0)},mounted:t,beforeDestroy:function(){if(this._i18n){var e=this;this.$nextTick((function(){e._subscribing&&(e._i18n.unsubscribeDataChanging(e),delete e._subscribing),e._i18nWatcher&&(e._i18nWatcher(),e._i18n.destroyVM(),delete e._i18nWatcher),e._localeWatcher&&(e._localeWatcher(),delete e._localeWatcher)}))}}}}(t.bridge)),A.directive("t",{bind:I,update:P,unbind:N}),A.component(E.name,E),A.component(R.name,R);var r=A.config.optionMergeStrategies;r.i18n=function(e,t){return void 0===t?e:t}}var B=function(){this._caches=Object.create(null)};B.prototype.interpolate=function(e,t){if(!t)return[e];var r=this._caches[e];return r||(r=function(e){var t=[],r=0,n="";while(r0)d--,l=4,f[0]();else{if(d=0,void 0===r)return!1;if(r=U(r),!1===r)return!1;f[1]()}};while(null!==l)if(c++,t=e[c],"\\"!==t||!p()){if(o=Z(t),s=Y[l],a=s[o]||s["else"]||8,8===a)return;if(l=a[0],i=f[a[1]],i&&(n=a[2],n=void 0===n?t:n,!1===i()))return;if(7===l)return u}}(e),t&&(this._cache[e]=t)),t||[]},J.prototype.getPathValue=function(e,t){if(!s(e))return null;var r=this.parsePath(t);if(0===r.length)return null;var n=r.length,o=e,a=0;while(a/,X=/(?:@(?:\.[a-zA-Z]+)?:(?:[\w\-_|./]+|\([\w\-_:|./]+\)))/g,F=/^@(?:\.([a-zA-Z]+))?:/,Q=/[()]/g,W={upper:function(e){return e.toLocaleUpperCase()},lower:function(e){return e.toLocaleLowerCase()},capitalize:function(e){return""+e.charAt(0).toLocaleUpperCase()+e.substr(1)}},K=new B,z=function(e){var t=this;void 0===e&&(e={}),!A&&"undefined"!==typeof window&&window.Vue&&k(window.Vue);var r=e.locale||"en-US",n=!1!==e.fallbackLocale&&(e.fallbackLocale||"en-US"),o=e.messages||{},a=e.dateTimeFormats||e.datetimeFormats||{},i=e.numberFormats||{};this._vm=null,this._formatter=e.formatter||K,this._modifiers=e.modifiers||{},this._missing=e.missing||null,this._root=e.root||null,this._sync=void 0===e.sync||!!e.sync,this._fallbackRoot=void 0===e.fallbackRoot||!!e.fallbackRoot,this._fallbackRootWithEmptyString=void 0===e.fallbackRootWithEmptyString||!!e.fallbackRootWithEmptyString,this._formatFallbackMessages=void 0!==e.formatFallbackMessages&&!!e.formatFallbackMessages,this._silentTranslationWarn=void 0!==e.silentTranslationWarn&&e.silentTranslationWarn,this._silentFallbackWarn=void 0!==e.silentFallbackWarn&&!!e.silentFallbackWarn,this._dateTimeFormatters={},this._numberFormatters={},this._path=new J,this._dataListeners=new Set,this._componentInstanceCreatedListener=e.componentInstanceCreatedListener||null,this._preserveDirectiveContent=void 0!==e.preserveDirectiveContent&&!!e.preserveDirectiveContent,this.pluralizationRules=e.pluralizationRules||{},this._warnHtmlInMessage=e.warnHtmlInMessage||"off",this._postTranslation=e.postTranslation||null,this._escapeParameterHtml=e.escapeParameterHtml||!1,"__VUE_I18N_BRIDGE__"in e&&(this.__VUE_I18N_BRIDGE__=e.__VUE_I18N_BRIDGE__),this.getChoiceIndex=function(e,r){var n=Object.getPrototypeOf(t);if(n&&n.getChoiceIndex){var o=n.getChoiceIndex;return o.call(t,e,r)}return t.locale in t.pluralizationRules?t.pluralizationRules[t.locale].apply(t,[e,r]):function(e,t){return e=Math.abs(e),2===t?e?e>1?1:0:1:e?Math.min(e,2):0}(e,r)},this._exist=function(e,r){return!(!e||!r)&&(!f(t._path.getPathValue(e,r))||!!e[r])},"warn"!==this._warnHtmlInMessage&&"error"!==this._warnHtmlInMessage||Object.keys(o).forEach((function(e){t._checkLocaleMessage(e,t._warnHtmlInMessage,o[e])})),this._initVM({locale:r,fallbackLocale:n,messages:o,dateTimeFormats:a,numberFormats:i})},$={vm:{configurable:!0},messages:{configurable:!0},dateTimeFormats:{configurable:!0},numberFormats:{configurable:!0},availableLocales:{configurable:!0},locale:{configurable:!0},fallbackLocale:{configurable:!0},formatFallbackMessages:{configurable:!0},missing:{configurable:!0},formatter:{configurable:!0},silentTranslationWarn:{configurable:!0},silentFallbackWarn:{configurable:!0},preserveDirectiveContent:{configurable:!0},warnHtmlInMessage:{configurable:!0},postTranslation:{configurable:!0},sync:{configurable:!0}};z.prototype._checkLocaleMessage=function(e,t,r){var n=function(e,t,r,o){if(d(r))Object.keys(r).forEach((function(a){var i=r[a];d(i)?(o.push(a),o.push("."),n(e,t,i,o),o.pop(),o.pop()):(o.push(a),n(e,t,i,o),o.pop())}));else if(i(r))r.forEach((function(r,a){d(r)?(o.push("["+a+"]"),o.push("."),n(e,t,r,o),o.pop(),o.pop()):(o.push("["+a+"]"),n(e,t,r,o),o.pop())}));else if(c(r)){var s=j.test(r);if(s){var u="Detected HTML in message '"+r+"' of keypath '"+o.join("")+"' at '"+t+"'. Consider component interpolation with '' to avoid XSS. See https://bit.ly/2ZqJzkp";"warn"===e?a(u):"error"===e&&function(e,t){"undefined"!==typeof console&&(console.error("[vue-i18n] "+e),t&&console.error(t.stack))}(u)}}};n(t,e,r,[])},z.prototype._initVM=function(e){var t=A.config.silent;A.config.silent=!0,this._vm=new A({data:e,__VUE18N__INSTANCE__:!0}),A.config.silent=t},z.prototype.destroyVM=function(){this._vm.$destroy()},z.prototype.subscribeDataChanging=function(e){this._dataListeners.add(e)},z.prototype.unsubscribeDataChanging=function(e){(function(e,t){if(e.delete(t));})(this._dataListeners,e)},z.prototype.watchI18nData=function(){var e=this;return this._vm.$watch("$data",(function(){var t=function(e){var t=[];return e.forEach((function(e){return t.push(e)})),t}(e._dataListeners),r=t.length;while(r--)A.nextTick((function(){t[r]&&t[r].$forceUpdate()}))}),{deep:!0})},z.prototype.watchLocale=function(e){if(e){if(!this.__VUE_I18N_BRIDGE__)return null;var t=this,r=this._vm;return this.vm.$watch("locale",(function(n){r.$set(r,"locale",n),t.__VUE_I18N_BRIDGE__&&e&&(e.locale.value=n),r.$forceUpdate()}),{immediate:!0})}if(!this._sync||!this._root)return null;var n=this._vm;return this._root.$i18n.vm.$watch("locale",(function(e){n.$set(n,"locale",e),n.$forceUpdate()}),{immediate:!0})},z.prototype.onComponentInstanceCreated=function(e){this._componentInstanceCreatedListener&&this._componentInstanceCreatedListener(e,this)},$.vm.get=function(){return this._vm},$.messages.get=function(){return m(this._getMessages())},$.dateTimeFormats.get=function(){return m(this._getDateTimeFormats())},$.numberFormats.get=function(){return m(this._getNumberFormats())},$.availableLocales.get=function(){return Object.keys(this.messages).sort()},$.locale.get=function(){return this._vm.locale},$.locale.set=function(e){this._vm.$set(this._vm,"locale",e)},$.fallbackLocale.get=function(){return this._vm.fallbackLocale},$.fallbackLocale.set=function(e){this._localeChainCache={},this._vm.$set(this._vm,"fallbackLocale",e)},$.formatFallbackMessages.get=function(){return this._formatFallbackMessages},$.formatFallbackMessages.set=function(e){this._formatFallbackMessages=e},$.missing.get=function(){return this._missing},$.missing.set=function(e){this._missing=e},$.formatter.get=function(){return this._formatter},$.formatter.set=function(e){this._formatter=e},$.silentTranslationWarn.get=function(){return this._silentTranslationWarn},$.silentTranslationWarn.set=function(e){this._silentTranslationWarn=e},$.silentFallbackWarn.get=function(){return this._silentFallbackWarn},$.silentFallbackWarn.set=function(e){this._silentFallbackWarn=e},$.preserveDirectiveContent.get=function(){return this._preserveDirectiveContent},$.preserveDirectiveContent.set=function(e){this._preserveDirectiveContent=e},$.warnHtmlInMessage.get=function(){return this._warnHtmlInMessage},$.warnHtmlInMessage.set=function(e){var t=this,r=this._warnHtmlInMessage;if(this._warnHtmlInMessage=e,r!==e&&("warn"===e||"error"===e)){var n=this._getMessages();Object.keys(n).forEach((function(e){t._checkLocaleMessage(e,t._warnHtmlInMessage,n[e])}))}},$.postTranslation.get=function(){return this._postTranslation},$.postTranslation.set=function(e){this._postTranslation=e},$.sync.get=function(){return this._sync},$.sync.set=function(e){this._sync=e},z.prototype._getMessages=function(){return this._vm.messages},z.prototype._getDateTimeFormats=function(){return this._vm.dateTimeFormats},z.prototype._getNumberFormats=function(){return this._vm.numberFormats},z.prototype._warnDefault=function(e,t,r,n,o,a){if(!f(r))return r;if(this._missing){var i=this._missing.apply(null,[e,t,n,o]);if(c(i))return i}else 0;if(this._formatFallbackMessages){var s=h.apply(void 0,o);return this._render(t,a,s.params,t)}return t},z.prototype._isFallbackRoot=function(e){return(this._fallbackRootWithEmptyString?!e:f(e))&&!f(this._root)&&this._fallbackRoot},z.prototype._isSilentFallbackWarn=function(e){return this._silentFallbackWarn instanceof RegExp?this._silentFallbackWarn.test(e):this._silentFallbackWarn},z.prototype._isSilentFallback=function(e,t){return this._isSilentFallbackWarn(t)&&(this._isFallbackRoot()||e!==this.fallbackLocale)},z.prototype._isSilentTranslationWarn=function(e){return this._silentTranslationWarn instanceof RegExp?this._silentTranslationWarn.test(e):this._silentTranslationWarn},z.prototype._interpolate=function(e,t,r,n,o,a,s){if(!t)return null;var u,l=this._path.getPathValue(t,r);if(i(l)||d(l))return l;if(f(l)){if(!d(t))return null;if(u=t[r],!c(u)&&!p(u))return null}else{if(!c(l)&&!p(l))return null;u=l}return c(u)&&(u.indexOf("@:")>=0||u.indexOf("@.")>=0)&&(u=this._link(e,t,u,n,"raw",a,s)),this._render(u,o,a,r)},z.prototype._link=function(e,t,r,n,o,a,s){var u=r,c=u.match(X);for(var l in c)if(c.hasOwnProperty(l)){var d=c[l],f=d.match(F),p=f[0],h=f[1],m=d.replace(p,"").replace(Q,"");if(g(s,m))return u;s.push(m);var v=this._interpolate(e,t,m,n,"raw"===o?"string":o,"raw"===o?void 0:a,s);if(this._isFallbackRoot(v)){if(!this._root)throw Error("unexpected error");var y=this._root.$i18n;v=y._translate(y._getMessages(),y.locale,y.fallbackLocale,m,n,o,a)}v=this._warnDefault(e,m,v,n,i(a)?a:[a],o),this._modifiers.hasOwnProperty(h)?v=this._modifiers[h](v):W.hasOwnProperty(h)&&(v=W[h](v)),s.pop(),u=v?u.replace(d,v):u}return u},z.prototype._createMessageContext=function(e,t,r,n){var o=this,a=i(e)?e:[],u=s(e)?e:{},c=this._getMessages(),l=this.locale;return{list:function(e){return a[e]},named:function(e){return u[e]},values:e,formatter:t,path:r,messages:c,locale:l,linked:function(e){return o._interpolate(l,c[l]||{},e,null,n,void 0,[e])}}},z.prototype._render=function(e,t,r,n){if(p(e))return e(this._createMessageContext(r,this._formatter||K,n,t));var o=this._formatter.interpolate(e,r,n);return o||(o=K.interpolate(e,r,n)),"string"!==t||c(o)?o:o.join("")},z.prototype._appendItemToChain=function(e,t,r){var n=!1;return g(e,t)||(n=!0,t&&(n="!"!==t[t.length-1],t=t.replace(/!/g,""),e.push(t),r&&r[t]&&(n=r[t]))),n},z.prototype._appendLocaleToChain=function(e,t,r){var n,o=t.split("-");do{var a=o.join("-");n=this._appendItemToChain(e,a,r),o.splice(-1,1)}while(o.length&&!0===n);return n},z.prototype._appendBlockToChain=function(e,t,r){for(var n=!0,o=0;o0)a[i]=arguments[i+4];if(!e)return"";var s=h.apply(void 0,a);this._escapeParameterHtml&&(s.params=S(s.params));var u=s.locale||t,c=this._translate(r,u,this.fallbackLocale,e,n,"string",s.params);if(this._isFallbackRoot(c)){if(!this._root)throw Error("unexpected error");return(o=this._root).$t.apply(o,[e].concat(a))}return c=this._warnDefault(u,e,c,n,a,"string"),this._postTranslation&&null!==c&&void 0!==c&&(c=this._postTranslation(c,e)),c},z.prototype.t=function(e){var t,r=[],n=arguments.length-1;while(n-- >0)r[n]=arguments[n+1];return(t=this)._t.apply(t,[e,this.locale,this._getMessages(),null].concat(r))},z.prototype._i=function(e,t,r,n,o){var a=this._translate(r,t,this.fallbackLocale,e,n,"raw",o);if(this._isFallbackRoot(a)){if(!this._root)throw Error("unexpected error");return this._root.$i18n.i(e,t,o)}return this._warnDefault(t,e,a,n,[o],"raw")},z.prototype.i=function(e,t,r){return e?(c(t)||(t=this.locale),this._i(e,t,this._getMessages(),null,r)):""},z.prototype._tc=function(e,t,r,n,o){var a,i=[],s=arguments.length-5;while(s-- >0)i[s]=arguments[s+5];if(!e)return"";void 0===o&&(o=1);var u={count:o,n:o},c=h.apply(void 0,i);return c.params=Object.assign(u,c.params),i=null===c.locale?[c.params]:[c.locale,c.params],this.fetchChoice((a=this)._t.apply(a,[e,t,r,n].concat(i)),o)},z.prototype.fetchChoice=function(e,t){if(!e||!c(e))return null;var r=e.split("|");return t=this.getChoiceIndex(t,r.length),r[t]?r[t].trim():e},z.prototype.tc=function(e,t){var r,n=[],o=arguments.length-2;while(o-- >0)n[o]=arguments[o+2];return(r=this)._tc.apply(r,[e,this.locale,this._getMessages(),null,t].concat(n))},z.prototype._te=function(e,t,r){var n=[],o=arguments.length-3;while(o-- >0)n[o]=arguments[o+3];var a=h.apply(void 0,n).locale||t;return this._exist(r[a],e)},z.prototype.te=function(e,t){return this._te(e,this.locale,this._getMessages(),t)},z.prototype.getLocaleMessage=function(e){return m(this._vm.messages[e]||{})},z.prototype.setLocaleMessage=function(e,t){"warn"!==this._warnHtmlInMessage&&"error"!==this._warnHtmlInMessage||this._checkLocaleMessage(e,this._warnHtmlInMessage,t),this._vm.$set(this._vm.messages,e,t)},z.prototype.mergeLocaleMessage=function(e,t){"warn"!==this._warnHtmlInMessage&&"error"!==this._warnHtmlInMessage||this._checkLocaleMessage(e,this._warnHtmlInMessage,t),this._vm.$set(this._vm.messages,e,T("undefined"!==typeof this._vm.messages[e]&&Object.keys(this._vm.messages[e]).length?Object.assign({},this._vm.messages[e]):{},t))},z.prototype.getDateTimeFormat=function(e){return m(this._vm.dateTimeFormats[e]||{})},z.prototype.setDateTimeFormat=function(e,t){this._vm.$set(this._vm.dateTimeFormats,e,t),this._clearDateTimeFormat(e,t)},z.prototype.mergeDateTimeFormat=function(e,t){this._vm.$set(this._vm.dateTimeFormats,e,T(this._vm.dateTimeFormats[e]||{},t)),this._clearDateTimeFormat(e,t)},z.prototype._clearDateTimeFormat=function(e,t){for(var r in t){var n=e+"__"+r;this._dateTimeFormatters.hasOwnProperty(n)&&delete this._dateTimeFormatters[n]}},z.prototype._localizeDateTime=function(e,t,r,n,o,a){for(var i=t,s=n[i],u=this._getLocaleChain(t,r),c=0;c0)t[r]=arguments[r+1];var n=this.locale,a=null,i=null;return 1===t.length?(c(t[0])?a=t[0]:s(t[0])&&(t[0].locale&&(n=t[0].locale),t[0].key&&(a=t[0].key)),i=Object.keys(t[0]).reduce((function(e,r){var n;return g(o,r)?Object.assign({},e,(n={},n[r]=t[0][r],n)):e}),null)):2===t.length&&(c(t[0])&&(a=t[0]),c(t[1])&&(n=t[1])),this._d(e,n,a,i)},z.prototype.getNumberFormat=function(e){return m(this._vm.numberFormats[e]||{})},z.prototype.setNumberFormat=function(e,t){this._vm.$set(this._vm.numberFormats,e,t),this._clearNumberFormat(e,t)},z.prototype.mergeNumberFormat=function(e,t){this._vm.$set(this._vm.numberFormats,e,T(this._vm.numberFormats[e]||{},t)),this._clearNumberFormat(e,t)},z.prototype._clearNumberFormat=function(e,t){for(var r in t){var n=e+"__"+r;this._numberFormatters.hasOwnProperty(n)&&delete this._numberFormatters[n]}},z.prototype._getNumberFormatter=function(e,t,r,n,o,a){for(var i=t,s=n[i],u=this._getLocaleChain(t,r),c=0;c0)t[r]=arguments[r+1];var o=this.locale,a=null,i=null;return 1===t.length?c(t[0])?a=t[0]:s(t[0])&&(t[0].locale&&(o=t[0].locale),t[0].key&&(a=t[0].key),i=Object.keys(t[0]).reduce((function(e,r){var o;return g(n,r)?Object.assign({},e,(o={},o[r]=t[0][r],o)):e}),null)):2===t.length&&(c(t[0])&&(a=t[0]),c(t[1])&&(o=t[1])),this._n(e,o,a,i)},z.prototype._ntp=function(e,t,r,n){if(!z.availabilities.numberFormat)return[];if(!r){var o=n?new Intl.NumberFormat(t,n):new Intl.NumberFormat(t);return o.formatToParts(e)}var a=this._getNumberFormatter(e,t,this.fallbackLocale,this._getNumberFormats(),r,n),i=a&&a.formatToParts(e);if(this._isFallbackRoot(i)){if(!this._root)throw Error("unexpected error");return this._root.$i18n._ntp(e,t,r,n)}return i||[]},Object.defineProperties(z.prototype,$),Object.defineProperty(z,"availabilities",{get:function(){if(!G){var e="undefined"!==typeof Intl;G={dateTimeFormat:e&&"undefined"!==typeof Intl.DateTimeFormat,numberFormat:e&&"undefined"!==typeof Intl.NumberFormat}}return G}}),z.install=k,z.version="8.28.2",t["default"]=z},"4edf":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}}},"4ffb":function(e,t,r){var n=r("3b2d")["default"],o=r("3352");e.exports=function(e,t){if(t&&("object"===n(t)||"function"===typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return o(e)},e.exports.__esModule=!0,e.exports["default"]=e.exports},"51d8":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}}},"532b":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:""}}},"53bf":function(e,t,r){"use strict";var n=r("47a9");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(r("55b6")),a=o.default;t.default=a},5458: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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"}}},"54ba":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"}}},"55b6":function(e,t,r){"use strict";var n=r("47a9");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(r("7ca3")),a=n(r("67ad")),i=n(r("0bdb")),s=n(r("7f16")),u=n(r("796c")),c=n(r("a921")),l=n(r("df9c")),d=r("3f1d"),f=n(r("7b71"));function p(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;t0&&void 0!==arguments[0]?arguments[0]:{};(0,a.default)(this,e),(0,d.isPlainObject)(t)||(t={},console.warn("设置全局参数必须接收一个Object")),this.config=(0,f.default)(h(h({},l.default),t)),this.interceptors={request:new u.default,response:new u.default}}return(0,i.default)(e,[{key:"setConfig",value:function(e){this.config=e(this.config)}},{key:"middleware",value:function(e){e=(0,c.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},"56d6":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}}},"58c5":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}},"59a9":function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={props:{label:{type:String,default:e.$u.props.formItem.label},prop:{type:String,default:e.$u.props.formItem.prop},borderBottom:{type:[String,Boolean],default:e.$u.props.formItem.borderBottom},labelPosition:{type:String,default:e.$u.props.formItem.labelPosition},labelWidth:{type:[String,Number],default:e.$u.props.formItem.labelWidth},rightIcon:{type:String,default:e.$u.props.formItem.rightIcon},leftIcon:{type:String,default:e.$u.props.formItem.leftIcon},required:{type:Boolean,default:e.$u.props.formItem.required},leftIconStyle:{type:[String,Object],default:e.$u.props.formItem.leftIconStyle}}};t.default=r}).call(this,r("df3c")["default"])},"5bf9":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("df3c")["default"])},"5c96":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={circleProgress:{percentage:30}}},"5df0":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}}},"5ef2":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"}}},"607e":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}}},"607e9":function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={props:{length:{type:[String,Number],default:e.$u.props.swiperIndicator.length},current:{type:[String,Number],default:e.$u.props.swiperIndicator.current},indicatorActiveColor:{type:String,default:e.$u.props.swiperIndicator.indicatorActiveColor},indicatorInactiveColor:{type:String,default:e.$u.props.swiperIndicator.indicatorInactiveColor},indicatorMode:{type:String,default:e.$u.props.swiperIndicator.indicatorMode}}};t.default=r}).call(this,r("df3c")["default"])},6114:function(e,t,r){"use strict";var n=r("3b2d");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(i(t),"=").concat(i(e)))})))})),r=n.join("&")}if(r){var a=e.indexOf("#");-1!==a&&(e=e.slice(0,a)),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=a(t);if(r&&r.has(e))return r.get(e);var o={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in e)if("default"!==s&&Object.prototype.hasOwnProperty.call(e,s)){var u=i?Object.getOwnPropertyDescriptor(e,s):null;u&&(u.get||u.set)?Object.defineProperty(o,s,u):o[s]=e[s]}o.default=e,r&&r.set(e,o);return o}(r("3f1d"));function a(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(a=function(e){return e?r:t})(e)}function i(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,"]")}},6313: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)}},"633e":function(e,t,r){"use strict";(function(e){var n=r("47a9");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(r("34cf")),a=n(r("3b2d")),i=n(r("d163")),s=r("03db");function u(e){var t,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new WeakMap;if(null===e||"object"!==(0,a.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],a=t[1];return[n,u(a,r)]})));else if(e instanceof Set)t=new Set(Array.from(e,(function(e){return u(e,r)})));else if(Array.isArray(e))t=e.map((function(e){return u(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,i=Object.entries(e);n0&&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 a in n){var i=new RegExp("".concat(a,"+")).exec(r)||[],s=(0,o.default)(i,1),u=s[0];if(u){var c="y"===a&&2===u.length?2:0;r=r.replace(u,n[a].slice(c))}}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 d={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 i.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 a=0;a0&&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(i.default.empty(e)||"object"===(0,a.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;o0&&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 a=String(a),i.default.number(a)?"".concat(a).concat(s):a},deepClone:u,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=u(t),"object"!==(0,a.default)(t)||null===t||"object"!==(0,a.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 i=r[o],s=n[o];i instanceof Date?n[o]=new Date(i):i instanceof RegExp?n[o]=new RegExp(i):i instanceof Map?n[o]=new Map(i):i instanceof Set?n[o]=new Set(i):"object"===(0,a.default)(i)&&null!==i?n[o]=e(s,i):n[o]=i}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:c,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),"年前"):c(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 a=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 a=0;a1&&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,a=isFinite(+t)?Math.abs(t):0,i="undefined"===typeof n?",":n,u="undefined"===typeof r?".":r,c="";c=(a?(0,s.round)(o,a)+"":"".concat(Math.round(o))).split(".");var l=/(-?\d+)(\d{3})/;while(l.test(c[0]))c[0]=c[0].replace(l,"$1".concat(i,"$2"));return(c[1]||"").length1&&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;o1){var o=r[0];t[o]&&"object"===(0,a.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,a=void 0===o?{}:o,i=t.color,s=void 0===i?{}:i,u=t.zIndex,c=void 0===u?{}:u,l=e.$u.deepMerge;e.$u.config=l(e.$u.config,a),e.$u.props=l(e.$u.props,n),e.$u.color=l(e.$u.color,s),e.$u.zIndex=l(e.$u.zIndex,c)}};t.default=d}).call(this,r("df3c")["default"])},6382:function(e,t,r){var n=r("6454");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},6454: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=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,i=!0,s=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return i=e.done,e},e:function(e){s=!0,a=e},f:function(){try{i||null==r.return||r.return()}finally{if(s)throw a}}}}function S(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r>>2]>>>24-a%4*8&255;t[n+a>>>2]|=i<<24-(n+a)%4*8}else for(a=0;a>>2]=r[a>>>2];return this.sigBytes+=o,this},clamp:function(){var t=this.words,r=this.sigBytes;t[r>>>2]&=4294967295<<32-r%4*8,t.length=e.ceil(r/4)},clone:function(){var e=a.clone.call(this);return e.words=this.words.slice(0),e},random:function(t){for(var r,n=[],o=function(t){t=t;var r=987654321,n=4294967295;return function(){var o=((r=36969*(65535&r)+(r>>16)&n)<<16)+(t=18e3*(65535&t)+(t>>16)&n)&n;return o/=4294967296,(o+=.5)*(e.random()>.5?1:-1)}},a=0;a>>2]>>>24-o%4*8&255;n.push((a>>>4).toString(16)),n.push((15&a).toString(16))}return n.join("")},parse:function(e){for(var t=e.length,r=[],n=0;n>>3]|=parseInt(e.substr(n,2),16)<<24-n%8*4;return new i.init(r,t/2)}},c=s.Latin1={stringify:function(e){for(var t=e.words,r=e.sigBytes,n=[],o=0;o>>2]>>>24-o%4*8&255;n.push(String.fromCharCode(a))}return n.join("")},parse:function(e){for(var t=e.length,r=[],n=0;n>>2]|=(255&e.charCodeAt(n))<<24-n%4*8;return new i.init(r,t)}},l=s.Utf8={stringify:function(e){try{return decodeURIComponent(escape(c.stringify(e)))}catch(e){throw new Error("Malformed UTF-8 data")}},parse:function(e){return c.parse(unescape(encodeURIComponent(e)))}},d=o.BufferedBlockAlgorithm=a.extend({reset:function(){this._data=new i.init,this._nDataBytes=0},_append:function(e){"string"==typeof e&&(e=l.parse(e)),this._data.concat(e),this._nDataBytes+=e.sigBytes},_process:function(t){var r=this._data,n=r.words,o=r.sigBytes,a=this.blockSize,s=o/(4*a),u=(s=t?e.ceil(s):e.max((0|s)-this._minBufferSize,0))*a,c=e.min(4*u,o);if(u){for(var l=0;l>>24)|4278255360&(o<<24|o>>>8)}var a=this._hash.words,i=e[t+0],u=e[t+1],p=e[t+2],h=e[t+3],m=e[t+4],g=e[t+5],v=e[t+6],y=e[t+7],T=e[t+8],_=e[t+9],S=e[t+10],E=e[t+11],b=e[t+12],C=e[t+13],O=e[t+14],A=e[t+15],R=a[0],I=a[1],P=a[2],N=a[3];R=c(R,I,P,N,i,7,s[0]),N=c(N,R,I,P,u,12,s[1]),P=c(P,N,R,I,p,17,s[2]),I=c(I,P,N,R,h,22,s[3]),R=c(R,I,P,N,m,7,s[4]),N=c(N,R,I,P,g,12,s[5]),P=c(P,N,R,I,v,17,s[6]),I=c(I,P,N,R,y,22,s[7]),R=c(R,I,P,N,T,7,s[8]),N=c(N,R,I,P,_,12,s[9]),P=c(P,N,R,I,S,17,s[10]),I=c(I,P,N,R,E,22,s[11]),R=c(R,I,P,N,b,7,s[12]),N=c(N,R,I,P,C,12,s[13]),P=c(P,N,R,I,O,17,s[14]),R=l(R,I=c(I,P,N,R,A,22,s[15]),P,N,u,5,s[16]),N=l(N,R,I,P,v,9,s[17]),P=l(P,N,R,I,E,14,s[18]),I=l(I,P,N,R,i,20,s[19]),R=l(R,I,P,N,g,5,s[20]),N=l(N,R,I,P,S,9,s[21]),P=l(P,N,R,I,A,14,s[22]),I=l(I,P,N,R,m,20,s[23]),R=l(R,I,P,N,_,5,s[24]),N=l(N,R,I,P,O,9,s[25]),P=l(P,N,R,I,h,14,s[26]),I=l(I,P,N,R,T,20,s[27]),R=l(R,I,P,N,C,5,s[28]),N=l(N,R,I,P,p,9,s[29]),P=l(P,N,R,I,y,14,s[30]),R=d(R,I=l(I,P,N,R,b,20,s[31]),P,N,g,4,s[32]),N=d(N,R,I,P,T,11,s[33]),P=d(P,N,R,I,E,16,s[34]),I=d(I,P,N,R,O,23,s[35]),R=d(R,I,P,N,u,4,s[36]),N=d(N,R,I,P,m,11,s[37]),P=d(P,N,R,I,y,16,s[38]),I=d(I,P,N,R,S,23,s[39]),R=d(R,I,P,N,C,4,s[40]),N=d(N,R,I,P,i,11,s[41]),P=d(P,N,R,I,h,16,s[42]),I=d(I,P,N,R,v,23,s[43]),R=d(R,I,P,N,_,4,s[44]),N=d(N,R,I,P,b,11,s[45]),P=d(P,N,R,I,A,16,s[46]),R=f(R,I=d(I,P,N,R,p,23,s[47]),P,N,i,6,s[48]),N=f(N,R,I,P,y,10,s[49]),P=f(P,N,R,I,O,15,s[50]),I=f(I,P,N,R,g,21,s[51]),R=f(R,I,P,N,b,6,s[52]),N=f(N,R,I,P,h,10,s[53]),P=f(P,N,R,I,S,15,s[54]),I=f(I,P,N,R,u,21,s[55]),R=f(R,I,P,N,T,6,s[56]),N=f(N,R,I,P,A,10,s[57]),P=f(P,N,R,I,v,15,s[58]),I=f(I,P,N,R,C,21,s[59]),R=f(R,I,P,N,m,6,s[60]),N=f(N,R,I,P,E,10,s[61]),P=f(P,N,R,I,p,15,s[62]),I=f(I,P,N,R,_,21,s[63]),a[0]=a[0]+R|0,a[1]=a[1]+I|0,a[2]=a[2]+P|0,a[3]=a[3]+N|0},_doFinalize:function(){var t=this._data,r=t.words,n=8*this._nDataBytes,o=8*t.sigBytes;r[o>>>5]|=128<<24-o%32;var a=e.floor(n/4294967296),i=n;r[15+(o+64>>>9<<4)]=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),r[14+(o+64>>>9<<4)]=16711935&(i<<8|i>>>24)|4278255360&(i<<24|i>>>8),t.sigBytes=4*(r.length+1),this._process();for(var s=this._hash,u=s.words,c=0;c<4;c++){var l=u[c];u[c]=16711935&(l<<8|l>>>24)|4278255360&(l<<24|l>>>8)}return s},clone:function(){var e=a.clone.call(this);return e._hash=this._hash.clone(),e}});function c(e,t,r,n,o,a,i){var s=e+(t&r|~t&n)+o+i;return(s<>>32-a)+t}function l(e,t,r,n,o,a,i){var s=e+(t&n|r&~n)+o+i;return(s<>>32-a)+t}function d(e,t,r,n,o,a,i){var s=e+(t^r^n)+o+i;return(s<>>32-a)+t}function f(e,t,r,n,o,a,i){var s=e+(r^(t|~n))+o+i;return(s<>>32-a)+t}t.MD5=a._createHelper(u),t.HmacMD5=a._createHmacHelper(u)}(Math),r.MD5)})),O((function(e,t){var r;e.exports=(r=R,void function(){var e=r,t=e.lib.Base,n=e.enc.Utf8;e.algo.HMAC=t.extend({init:function(e,t){e=this._hasher=new e.init,"string"==typeof t&&(t=n.parse(t));var r=e.blockSize,o=4*r;t.sigBytes>o&&(t=e.finalize(t)),t.clamp();for(var a=this._oKey=t.clone(),i=this._iKey=t.clone(),s=a.words,u=i.words,c=0;c>>6-i%4*2;o[a>>>2]|=(s|u)<<24-a%4*8,a++}return t.create(o,a)}e.enc.Base64={stringify:function(e){var t=e.words,r=e.sigBytes,n=this._map;e.clamp();for(var o=[],a=0;a>>2]>>>24-a%4*8&255)<<16|(t[a+1>>>2]>>>24-(a+1)%4*8&255)<<8|t[a+2>>>2]>>>24-(a+2)%4*8&255,s=0;s<4&&a+.75*s>>6*(3-s)&63));var u=n.charAt(64);if(u)for(;o.length%4;)o.push(u);return o.join("")},parse:function(e){var t=e.length,r=this._map,o=this._reverseMap;if(!o){o=this._reverseMap=[];for(var a=0;a0&&void 0!==arguments[0]?arguments[0]:{},r=t.createPromise,n=t.retryRule,o=void 0===n?Z:n;(0,v.default)(this,e),this.createPromise=r,this.status=null,this.promise=null,this.retryRule=o}return(0,y.default)(e,[{key:"needRetry",get:function(){if(!this.status)return!0;switch(this.retryRule){case Z:return this.status===B;case U:return this.status!==L}}},{key:"exec",value:function(){var e=this;return this.needRetry?(this.status=L,this.promise=this.createPromise().then((function(t){return e.status=k,Promise.resolve(t)}),(function(t){return e.status=B,Promise.reject(t)})),this.promise):this.promise}}]),e}();function G(e){return e&&"string"==typeof e?JSON.parse(e):e}var j="mp-weixin",X=G([]),F=j,Q=(G(void 0),G([])||[]);try{(r("2226").default||r("2226")).appid}catch(mn){}var W={};function K(e){var t,r,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return t=W,r=e,Object.prototype.hasOwnProperty.call(t,r)||(W[e]=n),W[e]}"app"===F&&(W=n._globalUniCloudObj?n._globalUniCloudObj:n._globalUniCloudObj={});var z=["invoke","success","fail","complete"],$=K("_globalUniCloudInterceptor");function q(e,t){$[e]||($[e]={}),x(t)&&Object.keys(t).forEach((function(r){z.indexOf(r)>-1&&function(e,t,r){var n=$[e][t];n||(n=$[e][t]=[]),-1===n.indexOf(r)&&Y(r)&&n.push(r)}(e,r,t[r])}))}function V(e,t){$[e]||($[e]={}),x(t)?Object.keys(t).forEach((function(r){z.indexOf(r)>-1&&function(e,t,r){var n=$[e][t];if(n){var o=n.indexOf(r);o>-1&&n.splice(o,1)}}(e,r,t[r])})):delete $[e]}function ee(e,t){return e&&0!==e.length?e.reduce((function(e,r){return e.then((function(){return r(t)}))}),Promise.resolve()):Promise.resolve()}function te(e,t){return $[e]&&$[e][t]||[]}function re(e){q("callObject",e)}var ne=K("_globalUniCloudListener"),oe="response",ae="needLogin",ie="refreshToken",se="clientdb",ue="cloudfunction",ce="cloudobject";function le(e){return ne[e]||(ne[e]=[]),ne[e]}function de(e,t){var r=le(e);r.includes(t)||r.push(t)}function fe(e,t){var r=le(e),n=r.indexOf(t);-1!==n&&r.splice(n,1)}function pe(e,t){for(var r=le(e),n=0;n0&&void 0!==arguments[0]?arguments[0]:0;if(!(e>=10))return e++,{errCode:this.errCode,errMsg:this.errMsg,errSubject:this.errSubject,cause:this.cause&&this.cause.toJson?this.cause.toJson(e):this.cause}}}]),r}((0,g.default)(Error)),Se={request:function(e){return n.request(e)},uploadFile:function(e){return n.uploadFile(e)},setStorageSync:function(e,t){return n.setStorageSync(e,t)},getStorageSync:function(e){return n.getStorageSync(e)},removeStorageSync:function(e){return n.removeStorageSync(e)},clearStorageSync:function(){return n.clearStorageSync()},connectSocket:function(e){return n.connectSocket(e)}};function Ee(){return{token:Se.getStorageSync("uni_id_token")||Se.getStorageSync("uniIdToken"),tokenExpired:Se.getStorageSync("uni_id_token_expired")}}function be(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.token,r=e.tokenExpired;t&&Se.setStorageSync("uni_id_token",t),r&&Se.setStorageSync("uni_id_token_expired",r)}function Ce(){return ye||(ye=n.getSystemInfoSync()),ye}var Oe={};function Ae(){var e=n.getLocale&&n.getLocale()||"en";if(Te)return b(b(b({},Oe),Te),{},{locale:e,LOCALE:e});var t=Ce(),r=t.deviceId,o=t.osName,a=t.uniPlatform,i=t.appId,s=["appId","appLanguage","appName","appVersion","appVersionCode","appWgtVersion","browserName","browserVersion","deviceBrand","deviceId","deviceModel","deviceType","osName","osVersion","romName","romVersion","ua","hostName","hostVersion","uniPlatform","uniRuntimeVersion","uniRuntimeVersionCode","uniCompilerVersion","uniCompilerVersionCode"];for(var u in t)Object.hasOwnProperty.call(t,u)&&-1===s.indexOf(u)&&delete t[u];return Te=b(b({PLATFORM:a,OS:o,APPID:i,DEVICEID:r},function(){var e,t;try{if(n.getLaunchOptionsSync){if(n.getLaunchOptionsSync.toString().indexOf("not yet implemented")>-1)return;var r=n.getLaunchOptionsSync(),o=r.scene,a=r.channel;e=a,t=o}}catch(e){}return{channel:e,scene:t}}()),t),b(b(b({},Oe),Te),{},{locale:e,LOCALE:e})}var Re,Ie={sign:function(e,t){var r="";return Object.keys(e).sort().forEach((function(t){e[t]&&(r=r+"&"+t+"="+e[t])})),r=r.slice(1),I(r,t).toString()},wrappedRequest:function(e,t){return new Promise((function(r,n){t(Object.assign(e,{complete:function(e){e||(e={});var t=e.data&&e.data.header&&e.data.header["x-serverless-request-id"]||e.header&&e.header["request-id"];if(!e.statusCode||e.statusCode>=400){var o=e.data&&e.data.error&&e.data.error.code||"SYS_ERR",a=e.data&&e.data.error&&e.data.error.message||e.errMsg||"request:fail";return n(new _e({code:o,message:a,requestId:t}))}var i=e.data;if(i.error)return n(new _e({code:i.error.code,message:i.error.message,requestId:t}));i.result=i.data,i.requestId=t,delete i.data,r(i)}}))}))},toBase64:function(e){return N.stringify(P.parse(e))}},Pe=function(){function e(t){var r=this;(0,v.default)(this,e),["spaceId","clientSecret"].forEach((function(e){if(!Object.prototype.hasOwnProperty.call(t,e))throw new Error("".concat(e," required"))})),this.config=Object.assign({},{endpoint:0===t.spaceId.indexOf("mp-")?"https://api.next.bspapp.com":"https://api.bspapp.com"},t),this.config.provider="aliyun",this.config.requestUrl=this.config.endpoint+"/client",this.config.envType=this.config.envType||"public",this.config.accessTokenKey="access_token_"+this.config.spaceId,this.adapter=Se,this._getAccessTokenPromiseHub=new J({createPromise:function(){return r.requestAuth(r.setupRequest({method:"serverless.auth.user.anonymousAuthorize",params:"{}"},"auth")).then((function(e){if(!e.result||!e.result.accessToken)throw new _e({code:"AUTH_FAILED",message:"获取accessToken失败"});r.setAccessToken(e.result.accessToken)}))},retryRule:U})}return(0,y.default)(e,[{key:"hasAccessToken",get:function(){return!!this.accessToken}},{key:"setAccessToken",value:function(e){this.accessToken=e}},{key:"requestWrapped",value:function(e){return Ie.wrappedRequest(e,this.adapter.request)}},{key:"requestAuth",value:function(e){return this.requestWrapped(e)}},{key:"request",value:function(e,t){var r=this;return Promise.resolve().then((function(){return r.hasAccessToken?t?r.requestWrapped(e):r.requestWrapped(e).catch((function(t){return new Promise((function(e,r){!t||"GATEWAY_INVALID_TOKEN"!==t.code&&"InvalidParameter.InvalidToken"!==t.code?r(t):e()})).then((function(){return r.getAccessToken()})).then((function(){var t=r.rebuildRequest(e);return r.request(t,!0)}))})):r.getAccessToken().then((function(){var t=r.rebuildRequest(e);return r.request(t,!0)}))}))}},{key:"rebuildRequest",value:function(e){var t=Object.assign({},e);return t.data.token=this.accessToken,t.header["x-basement-token"]=this.accessToken,t.header["x-serverless-sign"]=Ie.sign(t.data,this.config.clientSecret),t}},{key:"setupRequest",value:function(e,t){var r=Object.assign({},e,{spaceId:this.config.spaceId,timestamp:Date.now()}),n={"Content-Type":"application/json"};return"auth"!==t&&(r.token=this.accessToken,n["x-basement-token"]=this.accessToken),n["x-serverless-sign"]=Ie.sign(r,this.config.clientSecret),{url:this.config.requestUrl,method:"POST",data:r,dataType:"json",header:n}}},{key:"getAccessToken",value:function(){return this._getAccessTokenPromiseHub.exec()}},{key:"authorize",value:function(){var e=(0,d.default)(i.default.mark((function e(){return i.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,this.getAccessToken();case 2:case"end":return e.stop()}}),e,this)})));return function(){return e.apply(this,arguments)}}()},{key:"callFunction",value:function(e){var t={method:"serverless.function.runtime.invoke",params:JSON.stringify({functionTarget:e.name,functionArgs:e.data||{}})};return this.request(this.setupRequest(t))}},{key:"getOSSUploadOptionsFromPath",value:function(e){var t={method:"serverless.file.resource.generateProximalSign",params:JSON.stringify(e)};return this.request(this.setupRequest(t))}},{key:"uploadFileToOSS",value:function(e){var t=this,r=e.url,n=e.formData,o=e.name,a=e.filePath,i=e.fileType,s=e.onUploadProgress;return new Promise((function(e,u){var c=t.adapter.uploadFile({url:r,formData:n,name:o,filePath:a,fileType:i,header:{"X-OSS-server-side-encrpytion":"AES256"},success:function(t){t&&t.statusCode<400?e(t):u(new _e({code:"UPLOAD_FAILED",message:"文件上传失败"}))},fail:function(e){u(new _e({code:e.code||"UPLOAD_FAILED",message:e.message||e.errMsg||"文件上传失败"}))}});"function"==typeof s&&c&&"function"==typeof c.onProgressUpdate&&c.onProgressUpdate((function(e){s({loaded:e.totalBytesSent,total:e.totalBytesExpectedToSend})}))}))}},{key:"reportOSSUpload",value:function(e){var t={method:"serverless.file.resource.report",params:JSON.stringify(e)};return this.request(this.setupRequest(t))}},{key:"uploadFile",value:function(){var e=(0,d.default)(i.default.mark((function e(t){var r,n,o,a,s,u,c,l,d,f,p,h,m,g,v,y,T,_,S,E,b,C;return i.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(r=t.filePath,n=t.cloudPath,o=t.fileType,a=void 0===o?"image":o,s=t.cloudPathAsRealPath,u=void 0!==s&&s,c=t.onUploadProgress,l=t.config,"string"===D(n)){e.next=3;break}throw new _e({code:"INVALID_PARAM",message:"cloudPath必须为字符串类型"});case 3:if(n=n.trim()){e.next=5;break}throw new _e({code:"INVALID_PARAM",message:"cloudPath不可为空"});case 5:if(!/:\/\//.test(n)){e.next=7;break}throw new _e({code:"INVALID_PARAM",message:"cloudPath不合法"});case 7:if(d=l&&l.envType||this.config.envType,!(u&&("/"!==n[0]&&(n="/"+n),n.indexOf("\\")>-1))){e.next=10;break}throw new _e({code:"INVALID_PARAM",message:"使用cloudPath作为路径时,cloudPath不可包含“\\”"});case 10:return e.next=12,this.getOSSUploadOptionsFromPath({env:d,filename:u?n.split("/").pop():n,fileId:u?n:void 0});case 12:return f=e.sent.result,p="https://"+f.cdnDomain+"/"+f.ossPath,h=f.securityToken,m=f.accessKeyId,g=f.signature,v=f.host,y=f.ossPath,T=f.id,_=f.policy,S=f.ossCallbackUrl,E={"Cache-Control":"max-age=2592000","Content-Disposition":"attachment",OSSAccessKeyId:m,Signature:g,host:v,id:T,key:y,policy:_,success_action_status:200},h&&(E["x-oss-security-token"]=h),S&&(b=JSON.stringify({callbackUrl:S,callbackBody:JSON.stringify({fileId:T,spaceId:this.config.spaceId}),callbackBodyType:"application/json"}),E.callback=Ie.toBase64(b)),C={url:"https://"+f.host,formData:E,fileName:"file",name:"file",filePath:r,fileType:a},e.next=27,this.uploadFileToOSS(Object.assign({},C,{onUploadProgress:c}));case 27:if(!S){e.next=29;break}return e.abrupt("return",{success:!0,filePath:r,fileID:p});case 29:return e.next=31,this.reportOSSUpload({id:T});case 31:if(!e.sent.success){e.next=33;break}return e.abrupt("return",{success:!0,filePath:r,fileID:p});case 33:throw new _e({code:"UPLOAD_FAILED",message:"文件上传失败"});case 34:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()},{key:"getTempFileURL",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.fileList;return new Promise((function(e,r){Array.isArray(t)&&0!==t.length||r(new _e({code:"INVALID_PARAM",message:"fileList的元素必须是非空的字符串"})),e({fileList:t.map((function(e){return{fileID:e,tempFileURL:e}}))})}))}},{key:"getFileInfo",value:function(){var e=(0,d.default)(i.default.mark((function e(){var t,r,n,o=arguments;return i.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(t=o.length>0&&void 0!==o[0]?o[0]:{},r=t.fileList,Array.isArray(r)&&0!==r.length){e.next=3;break}throw new _e({code:"INVALID_PARAM",message:"fileList的元素必须是非空的字符串"});case 3:return n={method:"serverless.file.resource.info",params:JSON.stringify({id:r.map((function(e){return e.split("?")[0]})).join(",")})},e.next=6,this.request(this.setupRequest(n));case 6:return e.t0=e.sent.result,e.abrupt("return",{fileList:e.t0});case 8:case"end":return e.stop()}}),e,this)})));return function(){return e.apply(this,arguments)}}()}]),e}(),Ne={init:function(e){var t=new Pe(e),r={signInAnonymously:function(){return t.authorize()},getLoginState:function(){return Promise.resolve(!1)}};return t.auth=function(){return r},t.customAuth=t.auth,t}},Me="undefined"!=typeof location&&"http:"===location.protocol?"http:":"https:";!function(e){e.local="local",e.none="none",e.session="session"}(Re||(Re={}));var we,Le=function(){},ke=O((function(e,t){var r;e.exports=(r=R,function(e){var t=r,n=t.lib,o=n.WordArray,a=n.Hasher,i=t.algo,s=[],u=[];!function(){function t(t){for(var r=e.sqrt(t),n=2;n<=r;n++)if(!(t%n))return!1;return!0}function r(e){return 4294967296*(e-(0|e))|0}for(var n=2,o=0;o<64;)t(n)&&(o<8&&(s[o]=r(e.pow(n,.5))),u[o]=r(e.pow(n,1/3)),o++),n++}();var c=[],l=i.SHA256=a.extend({_doReset:function(){this._hash=new o.init(s.slice(0))},_doProcessBlock:function(e,t){for(var r=this._hash.words,n=r[0],o=r[1],a=r[2],i=r[3],s=r[4],l=r[5],d=r[6],f=r[7],p=0;p<64;p++){if(p<16)c[p]=0|e[t+p];else{var h=c[p-15],m=(h<<25|h>>>7)^(h<<14|h>>>18)^h>>>3,g=c[p-2],v=(g<<15|g>>>17)^(g<<13|g>>>19)^g>>>10;c[p]=m+c[p-7]+v+c[p-16]}var y=n&o^n&a^o&a,T=(n<<30|n>>>2)^(n<<19|n>>>13)^(n<<10|n>>>22),_=f+((s<<26|s>>>6)^(s<<21|s>>>11)^(s<<7|s>>>25))+(s&l^~s&d)+u[p]+c[p];f=d,d=l,l=s,s=i+_|0,i=a,a=o,o=n,n=_+(T+y)|0}r[0]=r[0]+n|0,r[1]=r[1]+o|0,r[2]=r[2]+a|0,r[3]=r[3]+i|0,r[4]=r[4]+s|0,r[5]=r[5]+l|0,r[6]=r[6]+d|0,r[7]=r[7]+f|0},_doFinalize:function(){var t=this._data,r=t.words,n=8*this._nDataBytes,o=8*t.sigBytes;return r[o>>>5]|=128<<24-o%32,r[14+(o+64>>>9<<4)]=e.floor(n/4294967296),r[15+(o+64>>>9<<4)]=n,t.sigBytes=4*r.length,this._process(),this._hash},clone:function(){var e=a.clone.call(this);return e._hash=this._hash.clone(),e}});t.SHA256=a._createHelper(l),t.HmacSHA256=a._createHmacHelper(l)}(Math),r.SHA256)})),Be=ke,De=O((function(e,t){e.exports=R.HmacSHA256})),xe=function(){var e;if(!Promise){e=function(){},e.promise={};var t=function(){throw new _e({message:'Your Node runtime does support ES6 Promises. Set "global.Promise" to your preferred implementation of promises.'})};return Object.defineProperty(e.promise,"then",{get:t}),Object.defineProperty(e.promise,"catch",{get:t}),e}var r=new Promise((function(t,r){e=function(e,n){return e?r(e):t(n)}}));return e.promise=r,e};function Ye(e){return void 0===e}function He(e){return"[object Null]"===Object.prototype.toString.call(e)}!function(e){e.WEB="web",e.WX_MP="wx_mp"}(we||(we={}));var Ze={adapter:null,runtime:void 0},Ue=["anonymousUuidKey"],Je=function(e){(0,p.default)(r,e);var t=C(r);function r(){var e;return(0,v.default)(this,r),e=t.call(this),Ze.adapter.root.tcbObject||(Ze.adapter.root.tcbObject={}),e}return(0,y.default)(r,[{key:"setItem",value:function(e,t){Ze.adapter.root.tcbObject[e]=t}},{key:"getItem",value:function(e){return Ze.adapter.root.tcbObject[e]}},{key:"removeItem",value:function(e){delete Ze.adapter.root.tcbObject[e]}},{key:"clear",value:function(){delete Ze.adapter.root.tcbObject}}]),r}(Le);function Ge(e,t){switch(e){case"local":return t.localStorage||new Je;case"none":return new Je;default:return t.sessionStorage||new Je}}var je=function(){function e(t){if((0,v.default)(this,e),!this._storage){this._persistence=Ze.adapter.primaryStorage||t.persistence,this._storage=Ge(this._persistence,Ze.adapter);var r="access_token_".concat(t.env),n="access_token_expire_".concat(t.env),o="refresh_token_".concat(t.env),a="anonymous_uuid_".concat(t.env),i="login_type_".concat(t.env),s="user_info_".concat(t.env);this.keys={accessTokenKey:r,accessTokenExpireKey:n,refreshTokenKey:o,anonymousUuidKey:a,loginTypeKey:i,userInfoKey:s}}}return(0,y.default)(e,[{key:"updatePersistence",value:function(e){if(e!==this._persistence){var t="local"===this._persistence;this._persistence=e;var r=Ge(e,Ze.adapter);for(var n in this.keys){var o=this.keys[n];if(!t||!Ue.includes(n)){var a=this._storage.getItem(o);Ye(a)||He(a)||(r.setItem(o,a),this._storage.removeItem(o))}}this._storage=r}}},{key:"setStore",value:function(e,t,r){if(this._storage){var n={version:r||"localCachev1",content:t},o=JSON.stringify(n);try{this._storage.setItem(e,o)}catch(e){throw e}}}},{key:"getStore",value:function(e,t){try{if(!this._storage)return}catch(e){return""}t=t||"localCachev1";var r=this._storage.getItem(e);return r&&r.indexOf(t)>=0?JSON.parse(r).content:""}},{key:"removeStore",value:function(e){this._storage.removeItem(e)}}]),e}(),Xe={},Fe={};function Qe(e){return Xe[e]}var We=(0,y.default)((function e(t,r){(0,v.default)(this,e),this.data=r||null,this.name=t})),Ke=function(e){(0,p.default)(r,e);var t=C(r);function r(e,n){var o;return(0,v.default)(this,r),o=t.call(this,"error",{error:e,data:n}),o.error=e,o}return(0,y.default)(r)}(We),ze=new(function(){function e(){(0,v.default)(this,e),this._listeners={}}return(0,y.default)(e,[{key:"on",value:function(e,t){return function(e,t,r){r[e]=r[e]||[],r[e].push(t)}(e,t,this._listeners),this}},{key:"off",value:function(e,t){return function(e,t,r){if(r&&r[e]){var n=r[e].indexOf(t);-1!==n&&r[e].splice(n,1)}}(e,t,this._listeners),this}},{key:"fire",value:function(e,t){if(e instanceof Ke)return console.error(e.error),this;var r="string"==typeof e?new We(e,t||{}):e,n=r.name;if(this._listens(n)){r.target=this;var o,a=this._listeners[n]?(0,l.default)(this._listeners[n]):[],i=_(a);try{for(i.s();!(o=i.n()).done;){var s=o.value;s.call(this,r)}}catch(u){i.e(u)}finally{i.f()}}return this}},{key:"_listens",value:function(e){return this._listeners[e]&&this._listeners[e].length>0}}]),e}());function $e(e,t){ze.on(e,t)}function qe(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};ze.fire(e,t)}function Ve(e,t){ze.off(e,t)}var et,tt="loginStateChanged",rt="loginStateExpire",nt="loginTypeChanged",ot="anonymousConverted",at="refreshAccessToken";!function(e){e.ANONYMOUS="ANONYMOUS",e.WECHAT="WECHAT",e.WECHAT_PUBLIC="WECHAT-PUBLIC",e.WECHAT_OPEN="WECHAT-OPEN",e.CUSTOM="CUSTOM",e.EMAIL="EMAIL",e.USERNAME="USERNAME",e.NULL="NULL"}(et||(et={}));var it=["auth.getJwt","auth.logout","auth.signInWithTicket","auth.signInAnonymously","auth.signIn","auth.fetchAccessTokenWithRefreshToken","auth.signUpWithEmailAndPassword","auth.activateEndUserMail","auth.sendPasswordResetEmail","auth.resetPasswordWithToken","auth.isUsernameRegistered"],st={"X-SDK-Version":"1.3.5"};function ut(e,t,r){var n=e[t];e[t]=function(t){var o={},a={};r.forEach((function(r){var n=r.call(e,t),i=n.data,s=n.headers;Object.assign(o,i),Object.assign(a,s)}));var i=t.data;return i&&function(){var e;if(e=i,"[object FormData]"!==Object.prototype.toString.call(e))t.data=b(b({},i),o);else for(var r in o)i.append(r,o[r])}(),t.headers=b(b({},t.headers||{}),a),n.call(e,t)}}function ct(){var e=Math.random().toString(16).slice(2);return{data:{seqId:e},headers:b(b({},st),{},{"x-seqid":e})}}var lt=function(){function e(){var t,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(0,v.default)(this,e),this.config=r,this._reqClass=new Ze.adapter.reqClass({timeout:this.config.timeout,timeoutMsg:"请求在".concat(this.config.timeout/1e3,"s内未完成,已中断"),restrictedMethods:["post"]}),this._cache=Qe(this.config.env),this._localCache=(t=this.config.env,Fe[t]),ut(this._reqClass,"post",[ct]),ut(this._reqClass,"upload",[ct]),ut(this._reqClass,"download",[ct])}return(0,y.default)(e,[{key:"post",value:function(){var e=(0,d.default)(i.default.mark((function e(t){return i.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,this._reqClass.post(t);case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()},{key:"upload",value:function(){var e=(0,d.default)(i.default.mark((function e(t){return i.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,this._reqClass.upload(t);case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()},{key:"download",value:function(){var e=(0,d.default)(i.default.mark((function e(t){return i.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,this._reqClass.download(t);case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()},{key:"refreshAccessToken",value:function(){var e=(0,d.default)(i.default.mark((function e(){var t,r;return i.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return this._refreshAccessTokenPromise||(this._refreshAccessTokenPromise=this._refreshAccessToken()),e.prev=1,e.next=4,this._refreshAccessTokenPromise;case 4:t=e.sent,e.next=10;break;case 7:e.prev=7,e.t0=e["catch"](1),r=e.t0;case 10:if(this._refreshAccessTokenPromise=null,this._shouldRefreshAccessTokenHook=null,!r){e.next=12;break}throw r;case 12:return e.abrupt("return",t);case 13:case"end":return e.stop()}}),e,this,[[1,7]])})));return function(){return e.apply(this,arguments)}}()},{key:"_refreshAccessToken",value:function(){var e=(0,d.default)(i.default.mark((function e(){var t,r,n,o,a,s,u,c,l,d,f,p,h;return i.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(t=this._cache.keys,r=t.accessTokenKey,n=t.accessTokenExpireKey,o=t.refreshTokenKey,a=t.loginTypeKey,s=t.anonymousUuidKey,this._cache.removeStore(r),this._cache.removeStore(n),u=this._cache.getStore(o),u){e.next=5;break}throw new _e({message:"未登录CloudBase"});case 5:return c={refresh_token:u},e.next=8,this.request("auth.fetchAccessTokenWithRefreshToken",c);case 8:if(l=e.sent,!l.data.code){e.next=21;break}if(d=l.data.code,"SIGN_PARAM_INVALID"!==d&&"REFRESH_TOKEN_EXPIRED"!==d&&"INVALID_REFRESH_TOKEN"!==d){e.next=20;break}if(this._cache.getStore(a)!==et.ANONYMOUS||"INVALID_REFRESH_TOKEN"!==d){e.next=19;break}return f=this._cache.getStore(s),p=this._cache.getStore(o),e.next=17,this.send("auth.signInAnonymously",{anonymous_uuid:f,refresh_token:p});case 17:return h=e.sent,e.abrupt("return",(this.setRefreshToken(h.refresh_token),this._refreshAccessToken()));case 19:qe(rt),this._cache.removeStore(o);case 20:throw new _e({code:l.data.code,message:"刷新access token失败:".concat(l.data.code)});case 21:if(!l.data.access_token){e.next=23;break}return e.abrupt("return",(qe(at),this._cache.setStore(r,l.data.access_token),this._cache.setStore(n,l.data.access_token_expire+Date.now()),{accessToken:l.data.access_token,accessTokenExpire:l.data.access_token_expire}));case 23:l.data.refresh_token&&(this._cache.removeStore(o),this._cache.setStore(o,l.data.refresh_token),this._refreshAccessToken());case 24:case"end":return e.stop()}}),e,this)})));return function(){return e.apply(this,arguments)}}()},{key:"getAccessToken",value:function(){var e=(0,d.default)(i.default.mark((function e(){var t,r,n,o,a,s,u;return i.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(t=this._cache.keys,r=t.accessTokenKey,n=t.accessTokenExpireKey,o=t.refreshTokenKey,this._cache.getStore(o)){e.next=3;break}throw new _e({message:"refresh token不存在,登录状态异常"});case 3:if(a=this._cache.getStore(r),s=this._cache.getStore(n),u=!0,e.t0=this._shouldRefreshAccessTokenHook,!e.t0){e.next=9;break}return e.next=8,this._shouldRefreshAccessTokenHook(a,s);case 8:e.t0=!e.sent;case 9:if(e.t1=e.t0,!e.t1){e.next=12;break}u=!1;case 12:return e.abrupt("return",(!a||!s||s2&&void 0!==arguments[2]?arguments[2]:{},n=/\?/.test(t),o="";for(var a in r)""===o?!n&&(t+="?"):o+="&",o+="".concat(a,"=").concat(encodeURIComponent(r[a]));return/^http(s)?\:\/\//.test(t+=o)?t:"".concat(e).concat(t)}(Me,"//tcb-api.tencentcloudapi.com/web",v),g&&(y+=g),e.next=22,this.post(b({url:y,data:c},f));case 22:if(T=e.sent,_=T.header&&T.header["x-tcb-trace"],_&&this._localCache.setStore(o,_),(200===Number(T.status)||200===Number(T.statusCode))&&T.data){e.next=26;break}throw new _e({code:"NETWORK_ERROR",message:"network request error"});case 26:return e.abrupt("return",T);case 27:case"end":return e.stop()}}),e,this)})));return function(t,r,n){return e.apply(this,arguments)}}()},{key:"send",value:function(){var e=(0,d.default)(i.default.mark((function e(t){var r,n,o,a=arguments;return i.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return r=a.length>1&&void 0!==a[1]?a[1]:{},e.next=3,this.request(t,r,{onUploadProgress:r.onUploadProgress});case 3:if(n=e.sent,"ACCESS_TOKEN_EXPIRED"!==n.data.code||-1!==it.indexOf(t)){e.next=13;break}return e.next=7,this.refreshAccessToken();case 7:return e.next=9,this.request(t,r,{onUploadProgress:r.onUploadProgress});case 9:if(o=e.sent,!o.data.code){e.next=12;break}throw new _e({code:o.data.code,message:o.data.message});case 12:return e.abrupt("return",o.data);case 13:if(!n.data.code){e.next=15;break}throw new _e({code:n.data.code,message:n.data.message});case 15:return e.abrupt("return",n.data);case 16:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()},{key:"setRefreshToken",value:function(e){var t=this._cache.keys,r=t.accessTokenKey,n=t.accessTokenExpireKey,o=t.refreshTokenKey;this._cache.removeStore(r),this._cache.removeStore(n),this._cache.setStore(o,e)}}]),e}(),dt={};function ft(e){return dt[e]}var pt=function(){function e(t){(0,v.default)(this,e),this.config=t,this._cache=Qe(t.env),this._request=ft(t.env)}return(0,y.default)(e,[{key:"setRefreshToken",value:function(e){var t=this._cache.keys,r=t.accessTokenKey,n=t.accessTokenExpireKey,o=t.refreshTokenKey;this._cache.removeStore(r),this._cache.removeStore(n),this._cache.setStore(o,e)}},{key:"setAccessToken",value:function(e,t){var r=this._cache.keys,n=r.accessTokenKey,o=r.accessTokenExpireKey;this._cache.setStore(n,e),this._cache.setStore(o,t)}},{key:"refreshUserInfo",value:function(){var e=(0,d.default)(i.default.mark((function e(){var t,r;return i.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,this._request.send("auth.getUserInfo",{});case 2:return t=e.sent,r=t.data,e.abrupt("return",(this.setLocalUserInfo(r),r));case 5:case"end":return e.stop()}}),e,this)})));return function(){return e.apply(this,arguments)}}()},{key:"setLocalUserInfo",value:function(e){var t=this._cache.keys.userInfoKey;this._cache.setStore(t,e)}}]),e}(),ht=function(){function e(t){if((0,v.default)(this,e),!t)throw new _e({code:"PARAM_ERROR",message:"envId is not defined"});this._envId=t,this._cache=Qe(this._envId),this._request=ft(this._envId),this.setUserInfo()}return(0,y.default)(e,[{key:"linkWithTicket",value:function(e){if("string"!=typeof e)throw new _e({code:"PARAM_ERROR",message:"ticket must be string"});return this._request.send("auth.linkWithTicket",{ticket:e})}},{key:"linkWithRedirect",value:function(e){e.signInWithRedirect()}},{key:"updatePassword",value:function(e,t){return this._request.send("auth.updatePassword",{oldPassword:t,newPassword:e})}},{key:"updateEmail",value:function(e){return this._request.send("auth.updateEmail",{newEmail:e})}},{key:"updateUsername",value:function(e){if("string"!=typeof e)throw new _e({code:"PARAM_ERROR",message:"username must be a string"});return this._request.send("auth.updateUsername",{username:e})}},{key:"getLinkedUidList",value:function(){var e=(0,d.default)(i.default.mark((function e(){var t,r,n,o;return i.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,this._request.send("auth.getLinkedUidList",{});case 2:return t=e.sent,r=t.data,n=!1,o=r.users,e.abrupt("return",(o.forEach((function(e){e.wxOpenId&&e.wxPublicId&&(n=!0)})),{users:o,hasPrimaryUid:n}));case 7:case"end":return e.stop()}}),e,this)})));return function(){return e.apply(this,arguments)}}()},{key:"setPrimaryUid",value:function(e){return this._request.send("auth.setPrimaryUid",{uid:e})}},{key:"unlink",value:function(e){return this._request.send("auth.unlink",{platform:e})}},{key:"update",value:function(){var e=(0,d.default)(i.default.mark((function e(t){var r,n,o,a,s,u,c,l;return i.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return r=t.nickName,n=t.gender,o=t.avatarUrl,a=t.province,s=t.country,u=t.city,e.next=8,this._request.send("auth.updateUserInfo",{nickName:r,gender:n,avatarUrl:o,province:a,country:s,city:u});case 8:c=e.sent,l=c.data,this.setLocalUserInfo(l);case 11:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()},{key:"refresh",value:function(){var e=(0,d.default)(i.default.mark((function e(){var t,r;return i.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,this._request.send("auth.getUserInfo",{});case 2:return t=e.sent,r=t.data,e.abrupt("return",(this.setLocalUserInfo(r),r));case 5:case"end":return e.stop()}}),e,this)})));return function(){return e.apply(this,arguments)}}()},{key:"setUserInfo",value:function(){var e=this,t=this._cache.keys.userInfoKey,r=this._cache.getStore(t);["uid","loginType","openid","wxOpenId","wxPublicId","unionId","qqMiniOpenId","email","hasPassword","customUserId","nickName","gender","avatarUrl"].forEach((function(t){e[t]=r[t]})),this.location={country:r.country,province:r.province,city:r.city}}},{key:"setLocalUserInfo",value:function(e){var t=this._cache.keys.userInfoKey;this._cache.setStore(t,e),this.setUserInfo()}}]),e}(),mt=function(){function e(t){if((0,v.default)(this,e),!t)throw new _e({code:"PARAM_ERROR",message:"envId is not defined"});this._cache=Qe(t);var r=this._cache.keys,n=r.refreshTokenKey,o=r.accessTokenKey,a=r.accessTokenExpireKey,i=this._cache.getStore(n),s=this._cache.getStore(o),u=this._cache.getStore(a);this.credential={refreshToken:i,accessToken:s,accessTokenExpire:u},this.user=new ht(t)}return(0,y.default)(e,[{key:"isAnonymousAuth",get:function(){return this.loginType===et.ANONYMOUS}},{key:"isCustomAuth",get:function(){return this.loginType===et.CUSTOM}},{key:"isWeixinAuth",get:function(){return this.loginType===et.WECHAT||this.loginType===et.WECHAT_OPEN||this.loginType===et.WECHAT_PUBLIC}},{key:"loginType",get:function(){return this._cache.getStore(this._cache.keys.loginTypeKey)}}]),e}(),gt=function(e){(0,p.default)(r,e);var t=C(r);function r(){return(0,v.default)(this,r),t.apply(this,arguments)}return(0,y.default)(r,[{key:"signIn",value:function(){var e=(0,d.default)(i.default.mark((function e(){var t,r,n,o,a,s,u;return i.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return this._cache.updatePersistence("local"),t=this._cache.keys,r=t.anonymousUuidKey,n=t.refreshTokenKey,o=this._cache.getStore(r)||void 0,a=this._cache.getStore(n)||void 0,e.next=8,this._request.send("auth.signInAnonymously",{anonymous_uuid:o,refresh_token:a});case 8:if(s=e.sent,!s.uuid||!s.refresh_token){e.next=20;break}return this._setAnonymousUUID(s.uuid),this.setRefreshToken(s.refresh_token),e.next=14,this._request.refreshAccessToken();case 14:return qe(tt),qe(nt,{env:this.config.env,loginType:et.ANONYMOUS,persistence:"local"}),u=new mt(this.config.env),e.next=19,u.user.refresh();case 19:return e.abrupt("return",u);case 20:throw new _e({message:"匿名登录失败"});case 21:case"end":return e.stop()}}),e,this)})));return function(){return e.apply(this,arguments)}}()},{key:"linkAndRetrieveDataWithTicket",value:function(){var e=(0,d.default)(i.default.mark((function e(t){var r,n,o,a,s,u;return i.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return r=this._cache.keys,n=r.anonymousUuidKey,o=r.refreshTokenKey,a=this._cache.getStore(n),s=this._cache.getStore(o),e.next=7,this._request.send("auth.linkAndRetrieveDataWithTicket",{anonymous_uuid:a,refresh_token:s,ticket:t});case 7:if(u=e.sent,!u.refresh_token){e.next=16;break}return this._clearAnonymousUUID(),this.setRefreshToken(u.refresh_token),e.next=13,this._request.refreshAccessToken();case 13:return qe(ot,{env:this.config.env}),qe(nt,{loginType:et.CUSTOM,persistence:"local"}),e.abrupt("return",{credential:{refreshToken:u.refresh_token}});case 16:throw new _e({message:"匿名转化失败"});case 17:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()},{key:"_setAnonymousUUID",value:function(e){var t=this._cache.keys,r=t.anonymousUuidKey,n=t.loginTypeKey;this._cache.removeStore(r),this._cache.setStore(r,e),this._cache.setStore(n,et.ANONYMOUS)}},{key:"_clearAnonymousUUID",value:function(){this._cache.removeStore(this._cache.keys.anonymousUuidKey)}}]),r}(pt),vt=function(e){(0,p.default)(r,e);var t=C(r);function r(){return(0,v.default)(this,r),t.apply(this,arguments)}return(0,y.default)(r,[{key:"signIn",value:function(){var e=(0,d.default)(i.default.mark((function e(t){var r,n;return i.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if("string"==typeof t){e.next=2;break}throw new _e({code:"PARAM_ERROR",message:"ticket must be a string"});case 2:return r=this._cache.keys.refreshTokenKey,e.next=5,this._request.send("auth.signInWithTicket",{ticket:t,refresh_token:this._cache.getStore(r)||""});case 5:if(n=e.sent,!n.refresh_token){e.next=15;break}return this.setRefreshToken(n.refresh_token),e.next=10,this._request.refreshAccessToken();case 10:return qe(tt),qe(nt,{env:this.config.env,loginType:et.CUSTOM,persistence:this.config.persistence}),e.next=14,this.refreshUserInfo();case 14:return e.abrupt("return",new mt(this.config.env));case 15:throw new _e({message:"自定义登录失败"});case 16:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()}]),r}(pt),yt=function(e){(0,p.default)(r,e);var t=C(r);function r(){return(0,v.default)(this,r),t.apply(this,arguments)}return(0,y.default)(r,[{key:"signIn",value:function(){var e=(0,d.default)(i.default.mark((function e(t,r){var n,o,a,s,u;return i.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if("string"==typeof t){e.next=2;break}throw new _e({code:"PARAM_ERROR",message:"email must be a string"});case 2:return n=this._cache.keys.refreshTokenKey,e.next=5,this._request.send("auth.signIn",{loginType:"EMAIL",email:t,password:r,refresh_token:this._cache.getStore(n)||""});case 5:if(o=e.sent,a=o.refresh_token,s=o.access_token,u=o.access_token_expire,!a){e.next=22;break}if(this.setRefreshToken(a),!s||!u){e.next=15;break}this.setAccessToken(s,u),e.next=17;break;case 15:return e.next=17,this._request.refreshAccessToken();case 17:return e.next=19,this.refreshUserInfo();case 19:return qe(tt),qe(nt,{env:this.config.env,loginType:et.EMAIL,persistence:this.config.persistence}),e.abrupt("return",new mt(this.config.env));case 22:throw o.code?new _e({code:o.code,message:"邮箱登录失败: ".concat(o.message)}):new _e({message:"邮箱登录失败"});case 23:case"end":return e.stop()}}),e,this)})));return function(t,r){return e.apply(this,arguments)}}()},{key:"activate",value:function(){var e=(0,d.default)(i.default.mark((function e(t){return i.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt("return",this._request.send("auth.activateEndUserMail",{token:t}));case 1:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()},{key:"resetPasswordWithToken",value:function(){var e=(0,d.default)(i.default.mark((function e(t,r){return i.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt("return",this._request.send("auth.resetPasswordWithToken",{token:t,newPassword:r}));case 1:case"end":return e.stop()}}),e,this)})));return function(t,r){return e.apply(this,arguments)}}()}]),r}(pt),Tt=function(e){(0,p.default)(r,e);var t=C(r);function r(){return(0,v.default)(this,r),t.apply(this,arguments)}return(0,y.default)(r,[{key:"signIn",value:function(){var e=(0,d.default)(i.default.mark((function e(t,r){var n,o,a,s,u;return i.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if("string"==typeof t){e.next=2;break}throw new _e({code:"PARAM_ERROR",message:"username must be a string"});case 2:return"string"!=typeof r&&(r="",console.warn("password is empty")),n=this._cache.keys.refreshTokenKey,e.next=6,this._request.send("auth.signIn",{loginType:et.USERNAME,username:t,password:r,refresh_token:this._cache.getStore(n)||""});case 6:if(o=e.sent,a=o.refresh_token,s=o.access_token_expire,u=o.access_token,!a){e.next=23;break}if(this.setRefreshToken(a),!u||!s){e.next=16;break}this.setAccessToken(u,s),e.next=18;break;case 16:return e.next=18,this._request.refreshAccessToken();case 18:return e.next=20,this.refreshUserInfo();case 20:return qe(tt),qe(nt,{env:this.config.env,loginType:et.USERNAME,persistence:this.config.persistence}),e.abrupt("return",new mt(this.config.env));case 23:throw o.code?new _e({code:o.code,message:"用户名密码登录失败: ".concat(o.message)}):new _e({message:"用户名密码登录失败"});case 24:case"end":return e.stop()}}),e,this)})));return function(t,r){return e.apply(this,arguments)}}()}]),r}(pt),_t=function(){function e(t){(0,v.default)(this,e),this.config=t,this._cache=Qe(t.env),this._request=ft(t.env),this._onAnonymousConverted=this._onAnonymousConverted.bind(this),this._onLoginTypeChanged=this._onLoginTypeChanged.bind(this),$e(nt,this._onLoginTypeChanged)}return(0,y.default)(e,[{key:"currentUser",get:function(){var e=this.hasLoginState();return e&&e.user||null}},{key:"loginType",get:function(){return this._cache.getStore(this._cache.keys.loginTypeKey)}},{key:"anonymousAuthProvider",value:function(){return new gt(this.config)}},{key:"customAuthProvider",value:function(){return new vt(this.config)}},{key:"emailAuthProvider",value:function(){return new yt(this.config)}},{key:"usernameAuthProvider",value:function(){return new Tt(this.config)}},{key:"signInAnonymously",value:function(){var e=(0,d.default)(i.default.mark((function e(){return i.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt("return",new gt(this.config).signIn());case 1:case"end":return e.stop()}}),e,this)})));return function(){return e.apply(this,arguments)}}()},{key:"signInWithEmailAndPassword",value:function(){var e=(0,d.default)(i.default.mark((function e(t,r){return i.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt("return",new yt(this.config).signIn(t,r));case 1:case"end":return e.stop()}}),e,this)})));return function(t,r){return e.apply(this,arguments)}}()},{key:"signInWithUsernameAndPassword",value:function(e,t){return new Tt(this.config).signIn(e,t)}},{key:"linkAndRetrieveDataWithTicket",value:function(){var e=(0,d.default)(i.default.mark((function e(t){return i.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return this._anonymousAuthProvider||(this._anonymousAuthProvider=new gt(this.config)),$e(ot,this._onAnonymousConverted),e.next=3,this._anonymousAuthProvider.linkAndRetrieveDataWithTicket(t);case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()},{key:"signOut",value:function(){var e=(0,d.default)(i.default.mark((function e(){var t,r,n,o,a,s;return i.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(this.loginType!==et.ANONYMOUS){e.next=2;break}throw new _e({message:"匿名用户不支持登出操作"});case 2:if(t=this._cache.keys,r=t.refreshTokenKey,n=t.accessTokenKey,o=t.accessTokenExpireKey,a=this._cache.getStore(r),a){e.next=5;break}return e.abrupt("return");case 5:return e.next=7,this._request.send("auth.logout",{refresh_token:a});case 7:return s=e.sent,e.abrupt("return",(this._cache.removeStore(r),this._cache.removeStore(n),this._cache.removeStore(o),qe(tt),qe(nt,{env:this.config.env,loginType:et.NULL,persistence:this.config.persistence}),s));case 9:case"end":return e.stop()}}),e,this)})));return function(){return e.apply(this,arguments)}}()},{key:"signUpWithEmailAndPassword",value:function(){var e=(0,d.default)(i.default.mark((function e(t,r){return i.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt("return",this._request.send("auth.signUpWithEmailAndPassword",{email:t,password:r}));case 1:case"end":return e.stop()}}),e,this)})));return function(t,r){return e.apply(this,arguments)}}()},{key:"sendPasswordResetEmail",value:function(){var e=(0,d.default)(i.default.mark((function e(t){return i.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt("return",this._request.send("auth.sendPasswordResetEmail",{email:t}));case 1:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()},{key:"onLoginStateChanged",value:function(e){var t=this;$e(tt,(function(){var r=t.hasLoginState();e.call(t,r)}));var r=this.hasLoginState();e.call(this,r)}},{key:"onLoginStateExpired",value:function(e){$e(rt,e.bind(this))}},{key:"onAccessTokenRefreshed",value:function(e){$e(at,e.bind(this))}},{key:"onAnonymousConverted",value:function(e){$e(ot,e.bind(this))}},{key:"onLoginTypeChanged",value:function(e){var t=this;$e(nt,(function(){var r=t.hasLoginState();e.call(t,r)}))}},{key:"getAccessToken",value:function(){var e=(0,d.default)(i.default.mark((function e(){return i.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,this._request.getAccessToken();case 2:return e.t0=e.sent.accessToken,e.t1=this.config.env,e.abrupt("return",{accessToken:e.t0,env:e.t1});case 5:case"end":return e.stop()}}),e,this)})));return function(){return e.apply(this,arguments)}}()},{key:"hasLoginState",value:function(){var e=this._cache.keys.refreshTokenKey;return this._cache.getStore(e)?new mt(this.config.env):null}},{key:"isUsernameRegistered",value:function(){var e=(0,d.default)(i.default.mark((function e(t){var r,n;return i.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if("string"==typeof t){e.next=2;break}throw new _e({code:"PARAM_ERROR",message:"username must be a string"});case 2:return e.next=4,this._request.send("auth.isUsernameRegistered",{username:t});case 4:return r=e.sent,n=r.data,e.abrupt("return",n&&n.isRegistered);case 7:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()},{key:"getLoginState",value:function(){return Promise.resolve(this.hasLoginState())}},{key:"signInWithTicket",value:function(){var e=(0,d.default)(i.default.mark((function e(t){return i.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt("return",new vt(this.config).signIn(t));case 1:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()},{key:"shouldRefreshAccessToken",value:function(e){this._request._shouldRefreshAccessTokenHook=e.bind(this)}},{key:"getUserInfo",value:function(){return this._request.send("auth.getUserInfo",{}).then((function(e){return e.code?e:b(b({},e.data),{},{requestId:e.seqId})}))}},{key:"getAuthHeader",value:function(){var e=this._cache.keys,t=e.refreshTokenKey,r=e.accessTokenKey,n=this._cache.getStore(t);return{"x-cloudbase-credentials":this._cache.getStore(r)+"/@@/"+n}}},{key:"_onAnonymousConverted",value:function(e){var t=e.data.env;t===this.config.env&&this._cache.updatePersistence(this.config.persistence)}},{key:"_onLoginTypeChanged",value:function(e){var t=e.data,r=t.loginType,n=t.persistence,o=t.env;o===this.config.env&&(this._cache.updatePersistence(n),this._cache.setStore(this._cache.keys.loginTypeKey,r))}}]),e}(),St=function(e,t){t=t||xe();var r=ft(this.config.env),n=e.cloudPath,o=e.filePath,a=e.onUploadProgress,i=e.fileType,s=void 0===i?"image":i;return r.send("storage.getUploadMetadata",{path:n}).then((function(e){var i=e.data,u=i.url,c=i.authorization,l=i.token,d=i.fileId,f=i.cosFileId,p=e.requestId,h={key:n,signature:c,"x-cos-meta-fileid":f,success_action_status:"201","x-cos-security-token":l};r.upload({url:u,data:h,file:o,name:n,fileType:s,onUploadProgress:a}).then((function(e){201===e.statusCode?t(null,{fileID:d,requestId:p}):t(new _e({code:"STORAGE_REQUEST_FAIL",message:"STORAGE_REQUEST_FAIL: ".concat(e.data)}))})).catch((function(e){t(e)}))})).catch((function(e){t(e)})),t.promise},Et=function(e,t){t=t||xe();var r=ft(this.config.env),n=e.cloudPath;return r.send("storage.getUploadMetadata",{path:n}).then((function(e){t(null,e)})).catch((function(e){t(e)})),t.promise},bt=function(e,t){var r=e.fileList;if(t=t||xe(),!r||!Array.isArray(r))return{code:"INVALID_PARAM",message:"fileList必须是非空的数组"};var n,o=_(r);try{for(o.s();!(n=o.n()).done;){var a=n.value;if(!a||"string"!=typeof a)return{code:"INVALID_PARAM",message:"fileList的元素必须是非空的字符串"}}}catch(s){o.e(s)}finally{o.f()}var i={fileid_list:r};return ft(this.config.env).send("storage.batchDeleteFile",i).then((function(e){e.code?t(null,e):t(null,{fileList:e.data.delete_list,requestId:e.requestId})})).catch((function(e){t(e)})),t.promise},Ct=function(e,t){var r=e.fileList;t=t||xe(),r&&Array.isArray(r)||t(null,{code:"INVALID_PARAM",message:"fileList必须是非空的数组"});var n,o=[],a=_(r);try{for(a.s();!(n=a.n()).done;){var i=n.value;"object"==(0,c.default)(i)?(i.hasOwnProperty("fileID")&&i.hasOwnProperty("maxAge")||t(null,{code:"INVALID_PARAM",message:"fileList的元素必须是包含fileID和maxAge的对象"}),o.push({fileid:i.fileID,max_age:i.maxAge})):"string"==typeof i?o.push({fileid:i}):t(null,{code:"INVALID_PARAM",message:"fileList的元素必须是字符串"})}}catch(u){a.e(u)}finally{a.f()}var s={file_list:o};return ft(this.config.env).send("storage.batchGetDownloadUrl",s).then((function(e){e.code?t(null,e):t(null,{fileList:e.data.download_list,requestId:e.requestId})})).catch((function(e){t(e)})),t.promise},Ot=function(){var e=(0,d.default)(i.default.mark((function e(t,r){var n,o,a,s;return i.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return n=t.fileID,e.next=3,Ct.call(this,{fileList:[{fileID:n,maxAge:600}]});case 3:if(o=e.sent.fileList[0],"SUCCESS"===o.code){e.next=6;break}return e.abrupt("return",r?r(o):new Promise((function(e){e(o)})));case 6:if(a=ft(this.config.env),s=o.download_url,s=encodeURI(s),r){e.next=10;break}return e.abrupt("return",a.download({url:s}));case 10:return e.t0=r,e.next=13,a.download({url:s});case 13:e.t1=e.sent,(0,e.t0)(e.t1);case 15:case"end":return e.stop()}}),e,this)})));return function(t,r){return e.apply(this,arguments)}}(),At=function(e,t){var r,n=e.name,o=e.data,a=e.query,i=e.parse,s=e.search,u=t||xe();try{r=o?JSON.stringify(o):""}catch(n){return Promise.reject(n)}if(!n)return Promise.reject(new _e({code:"PARAM_ERROR",message:"函数名不能为空"}));var c={inQuery:a,parse:i,search:s,function_name:n,request_data:r};return ft(this.config.env).send("functions.invokeFunction",c).then((function(e){if(e.code)u(null,e);else{var t=e.data.response_data;if(i)u(null,{result:t,requestId:e.requestId});else try{t=JSON.parse(e.data.response_data),u(null,{result:t,requestId:e.requestId})}catch(e){u(new _e({message:"response data must be json"}))}}return u.promise})).catch((function(e){u(e)})),u.promise},Rt={timeout:15e3,persistence:"session"},It={},Pt=function(){function e(t){(0,v.default)(this,e),this.config=t||this.config,this.authObj=void 0}return(0,y.default)(e,[{key:"init",value:function(t){switch(Ze.adapter||(this.requestClient=new Ze.adapter.reqClass({timeout:t.timeout||5e3,timeoutMsg:"请求在".concat((t.timeout||5e3)/1e3,"s内未完成,已中断")})),this.config=b(b({},Rt),t),!0){case this.config.timeout>6e5:console.warn("timeout大于可配置上限[10分钟],已重置为上限数值"),this.config.timeout=6e5;break;case this.config.timeout<100:console.warn("timeout小于可配置下限[100ms],已重置为下限数值"),this.config.timeout=100}return new e(this.config)}},{key:"auth",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.persistence;if(this.authObj)return this.authObj;var r,n=t||Ze.adapter.primaryStorage||Rt.persistence;return n!==this.config.persistence&&(this.config.persistence=n),function(e){var t=e.env;Xe[t]=new je(e),Fe[t]=new je(b(b({},e),{},{persistence:"local"}))}(this.config),r=this.config,dt[r.env]=new lt(r),this.authObj=new _t(this.config),this.authObj}},{key:"on",value:function(e,t){return $e.apply(this,[e,t])}},{key:"off",value:function(e,t){return Ve.apply(this,[e,t])}},{key:"callFunction",value:function(e,t){return At.apply(this,[e,t])}},{key:"deleteFile",value:function(e,t){return bt.apply(this,[e,t])}},{key:"getTempFileURL",value:function(e,t){return Ct.apply(this,[e,t])}},{key:"downloadFile",value:function(e,t){return Ot.apply(this,[e,t])}},{key:"uploadFile",value:function(e,t){return St.apply(this,[e,t])}},{key:"getUploadMetadata",value:function(e,t){return Et.apply(this,[e,t])}},{key:"registerExtension",value:function(e){It[e.name]=e}},{key:"invokeExtension",value:function(){var e=(0,d.default)(i.default.mark((function e(t,r){var n;return i.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(n=It[t],n){e.next=3;break}throw new _e({message:"扩展".concat(t," 必须先注册")});case 3:return e.next=5,n.invoke(r,this);case 5:return e.abrupt("return",e.sent);case 6:case"end":return e.stop()}}),e,this)})));return function(t,r){return e.apply(this,arguments)}}()},{key:"useAdapters",value:function(e){var t=function(e){var t,r,n=(t=e,"[object Array]"===Object.prototype.toString.call(t)?e:[e]),o=_(n);try{for(o.s();!(r=o.n()).done;){var a=r.value,i=a.isMatch,s=a.genAdapter,u=a.runtime;if(i())return{adapter:s(),runtime:u}}}catch(c){o.e(c)}finally{o.f()}}(e)||{},r=t.adapter,n=t.runtime;r&&(Ze.adapter=r),n&&(Ze.runtime=n)}}]),e}(),Nt=new Pt;function Mt(e,t,r){void 0===r&&(r={});var n=/\?/.test(t),o="";for(var a in r)""===o?!n&&(t+="?"):o+="&",o+=a+"="+encodeURIComponent(r[a]);return/^http(s)?:\/\//.test(t+=o)?t:""+e+t}var wt=function(){function e(){(0,v.default)(this,e)}return(0,y.default)(e,[{key:"post",value:function(e){var t=e.url,r=e.data,n=e.headers;return new Promise((function(e,o){Se.request({url:Mt("https:",t),data:r,method:"POST",header:n,success:function(t){e(t)},fail:function(e){o(e)}})}))}},{key:"upload",value:function(e){return new Promise((function(t,r){var n=e.url,o=e.file,a=e.data,i=e.headers,s=e.fileType,u=Se.uploadFile({url:Mt("https:",n),name:"file",formData:Object.assign({},a),filePath:o,fileType:s,header:i,success:function(e){var r={statusCode:e.statusCode,data:e.data||{}};200===e.statusCode&&a.success_action_status&&(r.statusCode=parseInt(a.success_action_status,10)),t(r)},fail:function(e){r(new Error(e.errMsg||"uploadFile:fail"))}});"function"==typeof e.onUploadProgress&&u&&"function"==typeof u.onProgressUpdate&&u.onProgressUpdate((function(t){e.onUploadProgress({loaded:t.totalBytesSent,total:t.totalBytesExpectedToSend})}))}))}}]),e}(),Lt={setItem:function(e,t){Se.setStorageSync(e,t)},getItem:function(e){return Se.getStorageSync(e)},removeItem:function(e){Se.removeStorageSync(e)},clear:function(){Se.clearStorageSync()}},kt={genAdapter:function(){return{root:{},reqClass:wt,localStorage:Lt,primaryStorage:"local"}},isMatch:function(){return!0},runtime:"uni_app"};Nt.useAdapters(kt);var Bt=Nt,Dt=Bt.init;Bt.init=function(e){e.env=e.spaceId;var t=Dt.call(this,e);t.config.provider="tencent",t.config.spaceId=e.spaceId;var r=t.auth;return t.auth=function(e){var t=r.call(this,e);return["linkAndRetrieveDataWithTicket","signInAnonymously","signOut","getAccessToken","getLoginState","signInWithTicket","getUserInfo"].forEach((function(e){var r;t[e]=(r=t[e],function(e){e=e||{};var t=ve(e),n=t.success,o=t.fail,a=t.complete;if(!(n||o||a))return r.call(this,e);r.call(this,e).then((function(e){n&&n(e),a&&a(e)}),(function(e){o&&o(e),a&&a(e)}))}).bind(t)})),t},t.customAuth=t.auth,t};var xt=Bt,Yt=function(e){(0,p.default)(r,e);var t=C(r);function r(){return(0,v.default)(this,r),t.apply(this,arguments)}return(0,y.default)(r,[{key:"getAccessToken",value:function(){var e=this;return new Promise((function(t,r){var n="Anonymous_Access_token";e.setAccessToken(n),t(n)}))}},{key:"setupRequest",value:function(e,t){var r=Object.assign({},e,{spaceId:this.config.spaceId,timestamp:Date.now()}),n={"Content-Type":"application/json"};"auth"!==t&&(r.token=this.accessToken,n["x-basement-token"]=this.accessToken),n["x-serverless-sign"]=Ie.sign(r,this.config.clientSecret);var o=Ae();n["x-client-info"]=encodeURIComponent(JSON.stringify(o));var a=Ee(),i=a.token;return n["x-client-token"]=i,{url:this.config.requestUrl,method:"POST",data:r,dataType:"json",header:JSON.parse(JSON.stringify(n))}}},{key:"uploadFileToOSS",value:function(e){var t=this,r=e.url,n=e.formData,o=e.name,a=e.filePath,i=e.fileType,s=e.onUploadProgress;return new Promise((function(e,u){var c=t.adapter.uploadFile({url:r,formData:n,name:o,filePath:a,fileType:i,success:function(t){t&&t.statusCode<400?e(t):u(new _e({code:"UPLOAD_FAILED",message:"文件上传失败"}))},fail:function(e){u(new _e({code:e.code||"UPLOAD_FAILED",message:e.message||e.errMsg||"文件上传失败"}))}});"function"==typeof s&&c&&"function"==typeof c.onProgressUpdate&&c.onProgressUpdate((function(e){s({loaded:e.totalBytesSent,total:e.totalBytesExpectedToSend})}))}))}},{key:"uploadFile",value:function(e){var t,r=this,n=e.filePath,o=e.cloudPath,a=e.fileType,i=void 0===a?"image":a,s=e.onUploadProgress;if(!o)throw new _e({code:"CLOUDPATH_REQUIRED",message:"cloudPath不可为空"});return this.getOSSUploadOptionsFromPath({cloudPath:o}).then((function(e){var o=e.result,a=o.url,u=o.formData,c=o.name;t=e.result.fileUrl;var l={url:a,formData:u,name:c,filePath:n,fileType:i};return r.uploadFileToOSS(Object.assign({},l,{onUploadProgress:s}))})).then((function(){return r.reportOSSUpload({cloudPath:o})})).then((function(e){return new Promise((function(r,o){e.success?r({success:!0,filePath:n,fileID:t}):o(new _e({code:"UPLOAD_FAILED",message:"文件上传失败"}))}))}))}},{key:"deleteFile",value:function(e){var t=e.fileList,r={method:"serverless.file.resource.delete",params:JSON.stringify({fileList:t})};return this.request(this.setupRequest(r)).then((function(e){if(e.success)return e.result;throw new _e({code:"DELETE_FILE_FAILED",message:"删除文件失败"})}))}},{key:"getTempFileURL",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.fileList,r=e.maxAge;if(!Array.isArray(t)||0===t.length)throw new _e({code:"INVALID_PARAM",message:"fileList的元素必须是非空的字符串"});var n={method:"serverless.file.resource.getTempFileURL",params:JSON.stringify({fileList:t,maxAge:r})};return this.request(this.setupRequest(n)).then((function(e){if(e.success)return{fileList:e.result.fileList.map((function(e){return{fileID:e.fileID,tempFileURL:e.tempFileURL}}))};throw new _e({code:"GET_TEMP_FILE_URL_FAILED",message:"获取临时文件链接失败"})}))}}]),r}(Pe),Ht={init:function(e){var t=new Yt(e),r={signInAnonymously:function(){return t.authorize()},getLoginState:function(){return Promise.resolve(!1)}};return t.auth=function(){return r},t.customAuth=t.auth,t}},Zt=O((function(e,t){e.exports=R.enc.Hex}));function Ut(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(e){var t=16*Math.random()|0;return("x"===e?t:3&t|8).toString(16)}))}function Jt(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.data,n=t.functionName,o=t.method,a=t.headers,i=t.signHeaderKeys,s=void 0===i?[]:i,c=t.config,l=Date.now(),d=Ut(),f=Object.assign({},a,{"x-from-app-id":c.spaceAppId,"x-from-env-id":c.spaceId,"x-to-env-id":c.spaceId,"x-from-instance-id":l,"x-from-function-name":n,"x-client-timestamp":l,"x-alipay-source":"client","x-request-id":d,"x-alipay-callid":d,"x-trace-id":d}),p=["x-from-app-id","x-from-env-id","x-to-env-id","x-from-instance-id","x-from-function-name","x-client-timestamp"].concat(s),h=e.split("?")||[],m=(0,u.default)(h,2),g=m[0],v=void 0===g?"":g,y=m[1],T=void 0===y?"":y,_=function(e){var t=e.signedHeaders.join(";"),r=e.signedHeaders.map((function(t){return"".concat(t.toLowerCase(),":").concat(e.headers[t],"\n")})).join(""),n=Be(e.body).toString(Zt),o="".concat(e.method.toUpperCase(),"\n").concat(e.path,"\n").concat(e.query,"\n").concat(r,"\n").concat(t,"\n").concat(n,"\n"),a=Be(o).toString(Zt),i="HMAC-SHA256\n".concat(e.timestamp,"\n").concat(a,"\n"),s=De(i,e.secretKey).toString(Zt);return"HMAC-SHA256 Credential=".concat(e.secretId,", SignedHeaders=").concat(t,", Signature=").concat(s)}({path:v,query:T,method:o,headers:f,timestamp:l,body:JSON.stringify(r),secretId:c.accessKey,secretKey:c.secretKey,signedHeaders:p.sort()});return{url:"".concat(c.endpoint).concat(e),headers:Object.assign({},f,{Authorization:_})}}function Gt(e){var t=e.url,r=e.data,n=e.method,o=void 0===n?"POST":n,a=e.headers,i=void 0===a?{}:a;return new Promise((function(e,n){Se.request({url:t,method:o,data:"object"==(0,c.default)(r)?JSON.stringify(r):r,header:i,dataType:"json",complete:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=i["x-trace-id"]||"";if(!t.statusCode||t.statusCode>=400){var o=t.data||{},a=o.message,s=o.errMsg,u=o.trace_id;return n(new _e({code:"SYS_ERR",message:a||s||"request:fail",requestId:u||r}))}e({status:t.statusCode,data:t.data,headers:t.header,requestId:r})}})}))}function jt(e,t){var r=e.path,n=e.data,o=e.method,a=void 0===o?"GET":o,i=Jt(r,{functionName:"",data:n,method:a,headers:{"x-alipay-cloud-mode":"oss","x-data-api-type":"oss","x-expire-timestamp":Date.now()+6e4},signHeaderKeys:["x-data-api-type","x-expire-timestamp"],config:t}),s=i.url,u=i.headers;return Gt({url:s,data:n,method:a,headers:u}).then((function(e){var t=e.data||{};if(!t.success)throw new _e({code:e.errCode,message:e.errMsg,requestId:e.requestId});return t.data||{}})).catch((function(e){throw new _e({code:e.errCode,message:e.errMsg,requestId:e.requestId})}))}function Xt(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=e.trim().replace(/^cloud:\/\//,""),r=t.indexOf("/");if(r<=0)throw new _e({code:"INVALID_PARAM",message:"fileID不合法"});var n=t.substring(0,r),o=t.substring(r+1);return n!==this.config.spaceId&&console.warn("file ".concat(e," does not belong to env ").concat(this.config.spaceId)),o}function Ft(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return"cloud://".concat(this.config.spaceId,"/").concat(e.replace(/^\/+/,""))}var Qt=function(){function e(t){(0,v.default)(this,e),this.config=t}return(0,y.default)(e,[{key:"signedURL",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r="/ws/function/".concat(e),n=this.config.wsEndpoint.replace(/^ws(s)?:\/\//,""),o=Object.assign({},t,{accessKeyId:this.config.accessKey,signatureNonce:Ut(),timestamp:""+Date.now()}),a=[r,["accessKeyId","authorization","signatureNonce","timestamp"].sort().map((function(e){return o[e]?"".concat(e,"=").concat(o[e]):null})).filter(Boolean).join("&"),"host:".concat(n)].join("\n"),i=["HMAC-SHA256",Be(a).toString(Zt)].join("\n"),s=De(i,this.config.secretKey).toString(Zt),u=Object.keys(o).map((function(e){return"".concat(e,"=").concat(encodeURIComponent(o[e]))})).join("&");return"".concat(this.config.wsEndpoint).concat(r,"?").concat(u,"&signature=").concat(s)}}]),e}(),Wt=function(){function e(t){if((0,v.default)(this,e),["spaceId","spaceAppId","accessKey","secretKey"].forEach((function(e){if(!Object.prototype.hasOwnProperty.call(t,e))throw new Error("".concat(e," required"))})),t.endpoint){if("string"!=typeof t.endpoint)throw new Error("endpoint must be string");if(!/^https:\/\//.test(t.endpoint))throw new Error("endpoint must start with https://");t.endpoint=t.endpoint.replace(/\/$/,"")}this.config=Object.assign({},t,{endpoint:t.endpoint||"https://".concat(t.spaceId,".api-hz.cloudbasefunction.cn"),wsEndpoint:t.wsEndpoint||"wss://".concat(t.spaceId,".api-hz.cloudbasefunction.cn")}),this._websocket=new Qt(this.config)}return(0,y.default)(e,[{key:"callFunction",value:function(e){return function(e,t){var r=e.name,n=e.data,o=e.async,a=void 0!==o&&o,i="POST",s={"x-to-function-name":r};a&&(s["x-function-invoke-type"]="async");var u=Jt("/functions/invokeFunction",{functionName:r,data:n,method:i,headers:s,signHeaderKeys:["x-to-function-name"],config:t}),c=u.url,l=u.headers;return Gt({url:c,data:n,method:i,headers:l}).then((function(e){var t=0;if(a){var r=e.data||{};t="200"===r.errCode?0:r.errCode,e.data=r.data||{},e.errMsg=r.errMsg}if(0!==t)throw new _e({code:t,message:e.errMsg,requestId:e.requestId});return{errCode:t,success:0===t,requestId:e.requestId,result:e.data}})).catch((function(e){throw new _e({code:e.errCode,message:e.errMsg,requestId:e.requestId})}))}(e,this.config)}},{key:"uploadFileToOSS",value:function(e){var t=e.url,r=e.filePath,n=e.fileType,o=e.formData,a=e.onUploadProgress;return new Promise((function(e,i){var s=Se.uploadFile({url:t,filePath:r,fileType:n,formData:o,name:"file",success:function(t){t&&t.statusCode<400?e(t):i(new _e({code:"UPLOAD_FAILED",message:"文件上传失败"}))},fail:function(e){i(new _e({code:e.code||"UPLOAD_FAILED",message:e.message||e.errMsg||"文件上传失败"}))}});"function"==typeof a&&s&&"function"==typeof s.onProgressUpdate&&s.onProgressUpdate((function(e){a({loaded:e.totalBytesSent,total:e.totalBytesExpectedToSend})}))}))}},{key:"uploadFile",value:function(){var e=(0,d.default)(i.default.mark((function e(t){var r,n,o,a,s,u,c,l,d,f,p;return i.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(r=t.filePath,n=t.cloudPath,o=void 0===n?"":n,a=t.fileType,s=void 0===a?"image":a,u=t.onUploadProgress,"string"===D(o)){e.next=3;break}throw new _e({code:"INVALID_PARAM",message:"cloudPath必须为字符串类型"});case 3:if(o=o.trim()){e.next=5;break}throw new _e({code:"INVALID_PARAM",message:"cloudPath不可为空"});case 5:if(!/:\/\//.test(o)){e.next=7;break}throw new _e({code:"INVALID_PARAM",message:"cloudPath不合法"});case 7:return e.next=9,jt({path:"/".concat(o.replace(/^\//,""),"?post_url")},this.config);case 9:return c=e.sent,l=c.file_id,d=c.upload_url,f=c.form_data,p=f&&f.reduce((function(e,t){return e[t.key]=t.value,e}),{}),e.abrupt("return",this.uploadFileToOSS({url:d,filePath:r,fileType:s,formData:p,onUploadProgress:u}).then((function(){return{fileID:l}})));case 15:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()},{key:"getTempFileURL",value:function(){var e=(0,d.default)(i.default.mark((function e(t){var r,n=this;return i.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return r=t.fileList,e.abrupt("return",new Promise((function(e,t){(!r||r.length<0)&&t(new _e({errCode:"INVALID_PARAM",errMsg:"fileList不能为空数组"})),r.length>50&&t(new _e({errCode:"INVALID_PARAM",errMsg:"fileList数组长度不能超过50"}));var o,a=[],i=_(r);try{for(i.s();!(o=i.n()).done;){var s=o.value;"string"!==D(s)&&t(new _e({errCode:"INVALID_PARAM",errMsg:"fileList的元素必须是非空的字符串"}));var u=Xt.call(n,s);a.push({file_id:u,expire:600})}}catch(c){i.e(c)}finally{i.f()}jt({path:"/?download_url",data:{file_list:a},method:"POST"},n.config).then((function(t){var r=t.file_list,o=void 0===r?[]:r;e({fileList:o.map((function(e){return{fileID:Ft.call(n,e.file_id),tempFileURL:e.download_url}}))})})).catch((function(e){return t(e)}))})));case 2:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()},{key:"connectWebSocket",value:function(){var e=(0,d.default)(i.default.mark((function e(t){var r,n;return i.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return r=t.name,n=t.query,e.abrupt("return",Se.connectSocket({url:this._websocket.signedURL(r,n),complete:function(){}}));case 2:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()}]),e}(),Kt={init:function(e){e.provider="alipay";var t=new Wt(e);return t.auth=function(){return{signInAnonymously:function(){return Promise.resolve()},getLoginState:function(){return Promise.resolve(!0)}}},t}};function zt(e){var t,r=e.data;t=Ae();var n=JSON.parse(JSON.stringify(r||{}));if(Object.assign(n,{clientInfo:t}),!n.uniIdToken){var o=Ee(),a=o.token;a&&(n.uniIdToken=a)}return n}var $t=[{rule:/fc_function_not_found|FUNCTION_NOT_FOUND/,content:",云函数[{functionName}]在云端不存在,请检查此云函数名称是否正确以及该云函数是否已上传到服务空间",mode:"append"}],qt=/[\\^$.*+?()[\]{}|]/g,Vt=RegExp(qt.source);function er(e,t,r){return e.replace(new RegExp((n=t)&&Vt.test(n)?n.replace(qt,"\\$&"):n,"g"),r);var n}var tr="request",rr="response";var nr;nr="0123456789abcdef";var or={code:2e4,message:"System error"},ar={code:20101,message:"Invalid client"};function ir(e){var t=e||{},r=t.errSubject,n=t.subject,o=t.errCode,a=t.errMsg,i=t.code,s=t.message,u=t.cause;return new _e({subject:r||n||"uni-secure-network",code:o||i||or.code,message:a||s,cause:u})}var sr;function ur(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.secretType;return t===tr||t===rr||"both"===t}function cr(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.name,r=e.data,n=void 0===r?{}:r;return"app"===F&&"DCloud-clientDB"===t&&"encryption"===n.redirectTo&&"getAppClientKey"===n.action}function lr(e){e.functionName,e.result,e.logPvd}function dr(e){var t=e.callFunction,r=function(r){var n=this,o=r.name;r.data=zt.call(e,{data:r.data});var a={aliyun:"aliyun",tencent:"tcb",tcb:"tcb",alipay:"alipay"}[this.config.provider],i=ur(r),s=cr(r),u=i||s;return t.call(this,r).then((function(e){return e.errCode=0,!u&&lr.call(n,{functionName:o,result:e,logPvd:a}),Promise.resolve(e)}),(function(e){return!u&&lr.call(n,{functionName:o,result:e,logPvd:a}),e&&e.message&&(e.message=function(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.message,r=void 0===t?"":t,n=e.extraInfo,o=void 0===n?{}:n,a=e.formatter,i=void 0===a?[]:a,s=0;s0&&void 0!==arguments[0]?arguments[0]:{},t=e.provider,r=e.spaceId,n=e.functionName,o=Ce(),a=o.appId,i=o.uniPlatform,s=o.osName,u=i;"app"===i&&(u=s);var c=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.provider,r=e.spaceId,n=X;if(!n)return{};t=function(e){return"tencent"===e?"tcb":e}(t);var o=n.find((function(e){return e.provider===t&&e.spaceId===r}));return o&&o.config}({provider:t,spaceId:r});if(!c||!c.accessControl||!c.accessControl.enable)return!1;var l=c.accessControl.function||{},d=Object.keys(l);if(0===d.length)return!0;var f=function(e,t){for(var r,n,o,a=0;a-1&&(n=i):o=i:r=i}return r||n||o}(d,n);if(!f)return!1;if((l[f]||[]).find((function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return e.appId===a&&(e.platform||"").toLowerCase()===u.toLowerCase()})))return!0;throw console.error("此应用[appId: ".concat(a,", platform: ").concat(u,"]不在云端配置的允许访问的应用列表内,参考:https://uniapp.dcloud.net.cn/uniCloud/secure-network.html#verify-client")),ir(ar)}({provider:i,spaceId:s,functionName:u})?new sr({secretType:t.secretType,uniCloudIns:e}).wrapVerifyClientCallFunction(r.bind(e))(t):n(t),Object.defineProperty(o,"result",{get:function(){return console.warn("当前返回结果为Promise类型,不可直接访问其result属性,详情请参考:https://uniapp.dcloud.net.cn/uniCloud/faq?id=promise"),{}}}),o.then((function(e){return"undefined"!=typeof UTSJSONObject&&(e.result=new UTSJSONObject(e.result)),e}))}}sr="mp-weixin"!==F&&"app"!==F?function(){return(0,y.default)((function e(){throw(0,v.default)(this,e),ir({message:"Platform ".concat(F," is not supported by secure network")})}))}():function(){return(0,y.default)((function e(){throw(0,v.default)(this,e),ir({message:"Platform ".concat(F," is not enabled, please check whether secure network module is enabled in your manifest.json")})}))}();var fr=Symbol("CLIENT_DB_INTERNAL");function pr(e,t){return e.then="DoNotReturnProxyWithAFunctionNamedThen",e._internalType=fr,e.inspect=null,e.__ob__=void 0,new Proxy(e,{get:function(e,r,n){if("_uniClient"===r)return null;if("symbol"==(0,c.default)(r))return e[r];if(r in e||"string"!=typeof r){var o=e[r];return"function"==typeof o?o.bind(e):o}return t.get(e,r,n)}})}function hr(e){return{on:function(t,r){e[t]=e[t]||[],e[t].indexOf(r)>-1||e[t].push(r)},off:function(t,r){e[t]=e[t]||[];var n=e[t].indexOf(r);-1!==n&&e[t].splice(n,1)}}}var mr=["db.Geo","db.command","command.aggregate"];function gr(e,t){return mr.indexOf("".concat(e,".").concat(t))>-1}function vr(e){switch(D(e)){case"array":return e.map((function(e){return vr(e)}));case"object":return e._internalType===fr||Object.keys(e).forEach((function(t){e[t]=vr(e[t])})),e;case"regexp":return{$regexp:{source:e.source,flags:e.flags}};case"date":return{$date:e.toISOString()};default:return e}}function yr(e){return e&&e.content&&e.content.$method}var Tr=function(){function e(t,r,n){(0,v.default)(this,e),this.content=t,this.prevStage=r||null,this.udb=null,this._database=n}return(0,y.default)(e,[{key:"toJSON",value:function(){for(var e=this,t=[e.content];e.prevStage;)e=e.prevStage,t.push(e.content);return{$db:t.reverse().map((function(e){return{$method:e.$method,$param:vr(e.$param)}}))}}},{key:"toString",value:function(){return JSON.stringify(this.toJSON())}},{key:"getAction",value:function(){var e=this.toJSON().$db.find((function(e){return"action"===e.$method}));return e&&e.$param&&e.$param[0]}},{key:"getCommand",value:function(){return{$db:this.toJSON().$db.filter((function(e){return"action"!==e.$method}))}}},{key:"isAggregate",get:function(){for(var e=this;e;){var t=yr(e),r=yr(e.prevStage);if("aggregate"===t&&"collection"===r||"pipeline"===t)return!0;e=e.prevStage}return!1}},{key:"isCommand",get:function(){for(var e=this;e;){if("command"===yr(e))return!0;e=e.prevStage}return!1}},{key:"isAggregateCommand",get:function(){for(var e=this;e;){var t=yr(e),r=yr(e.prevStage);if("aggregate"===t&&"command"===r)return!0;e=e.prevStage}return!1}},{key:"getNextStageFn",value:function(e){var t=this;return function(){return _r({$method:e,$param:vr(Array.from(arguments))},t,t._database)}}},{key:"count",get:function(){return this.isAggregate?this.getNextStageFn("count"):function(){return this._send("count",Array.from(arguments))}}},{key:"remove",get:function(){return this.isCommand?this.getNextStageFn("remove"):function(){return this._send("remove",Array.from(arguments))}}},{key:"get",value:function(){return this._send("get",Array.from(arguments))}},{key:"add",get:function(){return this.isCommand?this.getNextStageFn("add"):function(){return this._send("add",Array.from(arguments))}}},{key:"update",value:function(){return this._send("update",Array.from(arguments))}},{key:"end",value:function(){return this._send("end",Array.from(arguments))}},{key:"set",get:function(){return this.isCommand?this.getNextStageFn("set"):function(){throw new Error("JQL禁止使用set方法")}}},{key:"_send",value:function(e,t){var r=this.getAction(),n=this.getCommand();return n.$db.push({$method:e,$param:vr(t)}),this._database._callCloudFunction({action:r,command:n})}}]),e}();function _r(e,t,r){return pr(new Tr(e,t,r),{get:function(e,t){var n="db";return e&&e.content&&(n=e.content.$method),gr(n,t)?_r({$method:t},e,r):function(){return _r({$method:t,$param:vr(Array.from(arguments))},e,r)}}})}function Sr(e){var t=e.path,r=e.method;return function(){function e(){(0,v.default)(this,e),this.param=Array.from(arguments)}return(0,y.default)(e,[{key:"toJSON",value:function(){return{$newDb:[].concat((0,l.default)(t.map((function(e){return{$method:e}}))),[{$method:r,$param:this.param}])}}},{key:"toString",value:function(){return JSON.stringify(this.toJSON())}}]),e}()}function Er(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return pr(new e(t),{get:function(e,t){return gr("db",t)?_r({$method:t},null,e):function(){return _r({$method:t,$param:vr(Array.from(arguments))},null,e)}}})}var br=function(e){(0,p.default)(r,e);var t=C(r);function r(){return(0,v.default)(this,r),t.apply(this,arguments)}return(0,y.default)(r,[{key:"_parseResult",value:function(e){return this._isJQL?e.result:e}},{key:"_callCloudFunction",value:function(e){var t=this,r=e.action,n=e.command,o=e.multiCommand,a=e.queryList;function i(e,t){if(o&&a)for(var r=0;r0&&void 0!==arguments[0]?arguments[0]:{},r=t.uniClient,n=void 0===r?{}:r,o=t.isJQL,a=void 0!==o&&o;(0,v.default)(this,e),this._uniClient=n,this._authCallBacks={},this._dbCallBacks={},n._isDefault&&(this._dbCallBacks=K("_globalUniCloudDatabaseCallback")),a||(this.auth=hr(this._authCallBacks)),this._isJQL=a,Object.assign(this,hr(this._dbCallBacks)),this.env=pr({},{get:function(e,t){return{$env:t}}}),this.Geo=pr({},{get:function(e,t){return Sr({path:["Geo"],method:t})}}),this.serverDate=Sr({path:[],method:"serverDate"}),this.RegExp=Sr({path:[],method:"RegExp"})}return(0,y.default)(e,[{key:"getCloudEnv",value:function(e){if("string"!=typeof e||!e.trim())throw new Error("getCloudEnv参数错误");return{$env:e.replace("$cloudEnv_","")}}},{key:"_callback",value:function(e,t){var r=this._dbCallBacks;r[e]&&r[e].forEach((function(e){e.apply(void 0,(0,l.default)(t))}))}},{key:"_callbackAuth",value:function(e,t){var r=this._authCallBacks;r[e]&&r[e].forEach((function(e){e.apply(void 0,(0,l.default)(t))}))}},{key:"multiSend",value:function(){var e=Array.from(arguments),t=e.map((function(e){var t=e.getAction(),r=e.getCommand();if("getTemp"!==r.$db[r.$db.length-1].$method)throw new Error("multiSend只支持子命令内使用getTemp");return{action:t,command:r}}));return this._callCloudFunction({multiCommand:t,queryList:e})}}]),e}()),Cr="token无效,跳转登录页面",Or="token过期,跳转登录页面",Ar={TOKEN_INVALID_TOKEN_EXPIRED:Or,TOKEN_INVALID_INVALID_CLIENTID:Cr,TOKEN_INVALID:Cr,TOKEN_INVALID_WRONG_TOKEN:Cr,TOKEN_INVALID_ANONYMOUS_USER:Cr},Rr={"uni-id-token-expired":Or,"uni-id-check-token-failed":Cr,"uni-id-token-not-exist":Cr,"uni-id-check-device-feature-failed":Cr};function Ir(e,t){var r="";return r=e?"".concat(e,"/").concat(t):t,r.replace(/^\//,"")}function Pr(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=[],n=[];return e.forEach((function(e){!0===e.needLogin?r.push(Ir(t,e.path)):!1===e.needLogin&&n.push(Ir(t,e.path))})),{needLoginPage:r,notNeedLoginPage:n}}function Nr(e){return e.split("?")[0].replace(/^\//,"")}function Mr(){return function(e){var t=e&&e.$page&&e.$page.fullPath||"";return t?("/"!==t.charAt(0)&&(t="/"+t),t):t}(function(){var e=getCurrentPages();return e[e.length-1]}())}function wr(){return Nr(Mr())}function Lr(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!e)return!1;if(!(t&&t.list&&t.list.length))return!1;var r=t.list,n=Nr(e);return r.some((function(e){return e.pagePath===n}))}var kr,Br=!!T.default.uniIdRouter,Dr=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:T.default,t=e.pages,r=void 0===t?[]:t,n=e.subPackages,o=void 0===n?[]:n,a=e.uniIdRouter,i=void 0===a?{}:a,s=e.tabBar,u=void 0===s?{}:s,c=i.loginPage,d=i.needLogin,f=void 0===d?[]:d,p=i.resToLogin,h=void 0===p||p,m=Pr(r),g=m.needLoginPage,v=m.notNeedLoginPage,y=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=[],r=[];return e.forEach((function(e){var n=e.root,o=e.pages,a=void 0===o?[]:o,i=Pr(a,n),s=i.needLoginPage,u=i.notNeedLoginPage;t.push.apply(t,(0,l.default)(s)),r.push.apply(r,(0,l.default)(u))})),{needLoginPage:t,notNeedLoginPage:r}}(o),_=y.needLoginPage,S=y.notNeedLoginPage;return{loginPage:c,routerNeedLogin:f,resToLogin:h,needLoginPage:[].concat((0,l.default)(g),(0,l.default)(_)),notNeedLoginPage:[].concat((0,l.default)(v),(0,l.default)(S)),loginPageInTabBar:Lr(c,u)}}(),xr=Dr.loginPage,Yr=Dr.routerNeedLogin,Hr=Dr.resToLogin,Zr=Dr.needLoginPage,Ur=Dr.notNeedLoginPage,Jr=Dr.loginPageInTabBar;if(Zr.indexOf(xr)>-1)throw new Error("Login page [".concat(xr,'] should not be "needLogin", please check your pages.json'));function Gr(e){var t=wr();if("/"===e.charAt(0))return e;var r=e.split("?"),n=(0,u.default)(r,2),o=n[0],a=n[1],i=o.replace(/^\//,"").split("/"),s=t.split("/");s.pop();for(var c=0;c-1)&&(Zr.indexOf(t)>-1||Yr.some((function(t){return function(e,t){return new RegExp(t).test(e)}(e,t)})))}function Xr(e){var t=e.redirect,r=Nr(t),n=Nr(xr);return wr()!==n&&r!==n}function Fr(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.api,r=e.redirect;if(r&&Xr({redirect:r})){var o=function(e,t){return"/"!==e.charAt(0)&&(e="/"+e),t?e.indexOf("?")>-1?e+"&uniIdRedirectUrl=".concat(encodeURIComponent(t)):e+"?uniIdRedirectUrl=".concat(encodeURIComponent(t)):e}(xr,r);Jr?"navigateTo"!==t&&"redirectTo"!==t||(t="switchTab"):"switchTab"===t&&(t="navigateTo");var a={navigateTo:n.navigateTo,redirectTo:n.redirectTo,switchTab:n.switchTab,reLaunch:n.reLaunch};setTimeout((function(){a[t]({url:o})}),0)}}function Qr(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.url,r={abortLoginPageJump:!1,autoToLoginPage:!1},n=function(){var e,t=Ee(),r=t.token,n=t.tokenExpired;if(r){if(n0)return setTimeout((function(){pe(ae,n)}),0),r.abortLoginPageJump=!0,r;r.autoToLoginPage=!0}return r}function Wr(){!function(){var e=Mr(),t=Qr({url:e}),r=t.abortLoginPageJump,n=t.autoToLoginPage;r||n&&Fr({api:"redirectTo",redirect:e})}();for(var e=["navigateTo","redirectTo","reLaunch","switchTab"],t=function(t){var r=e[t];n.addInterceptor(r,{invoke:function(e){var t=Qr({url:e.url}),n=t.abortLoginPageJump,o=t.autoToLoginPage;return n?e:o?(Fr({api:r,redirect:Gr(e.url)}),!1):e}})},r=0;r0&&void 0!==arguments[0]?arguments[0]:{},t=le(ae);ge().then((function(){var r=Mr();if(r&&Xr({redirect:r}))return t.length>0?pe(ae,Object.assign({uniIdRedirectUrl:r},e)):void(xr&&Fr({api:"navigateTo",redirect:r}))}))}(r)}))}function zr(e){!function(e){e.onResponse=function(e){de(oe,e)},e.offResponse=function(e){fe(oe,e)}}(e),function(e){e.onNeedLogin=function(e){de(ae,e)},e.offNeedLogin=function(e){fe(ae,e)},Br&&(K("_globalUniCloudStatus").needLoginInit||(K("_globalUniCloudStatus").needLoginInit=!0,ge().then((function(){Wr.call(e)})),Hr&&Kr.call(e)))}(e),function(e){e.onRefreshToken=function(e){de(ie,e)},e.offRefreshToken=function(e){fe(ie,e)}}(e)}var $r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",qr=/^(?:[A-Za-z\d+/]{4})*?(?:[A-Za-z\d+/]{2}(?:==)?|[A-Za-z\d+/]{3}=?)?$/;function Vr(){var e,t,r=Ee().token||"",n=r.split(".");if(!r||3!==n.length)return{uid:null,role:[],permission:[],tokenExpired:0};try{e=JSON.parse((t=n[1],decodeURIComponent(kr(t).split("").map((function(e){return"%"+("00"+e.charCodeAt(0).toString(16)).slice(-2)})).join(""))))}catch(r){throw new Error("获取当前用户信息出错,详细错误信息为:"+r.message)}return e.tokenExpired=1e3*e.exp,delete e.exp,delete e.iat,e}kr="function"!=typeof atob?function(e){if(e=String(e).replace(/[\t\n\f\r ]+/g,""),!qr.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="",a=0;a>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 en=O((function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var r="chooseAndUploadFile:ok",a="chooseAndUploadFile:fail";function i(e,t){return e.tempFiles.forEach((function(e,r){e.name||(e.name=e.path.substring(e.path.lastIndexOf("/")+1)),t&&(e.fileType=t),e.cloudPath=Date.now()+"_"+r+e.name.substring(e.name.lastIndexOf("."))})),e.tempFilePaths||(e.tempFilePaths=e.tempFiles.map((function(e){return e.path}))),e}function s(e,t,n){var o=n.onChooseFile,a=n.onUploadProgress;return t.then((function(e){if(o){var t=o(e);if(void 0!==t)return Promise.resolve(t).then((function(t){return void 0===t?e:t}))}return e})).then((function(t){return!1===t?{errMsg:r,tempFilePaths:[],tempFiles:[]}:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:5,o=arguments.length>3?arguments[3]:void 0;(t=Object.assign({},t)).errMsg=r;var a=t.tempFiles,i=a.length,s=0;return new Promise((function(r){for(;s=i)!a.find((function(e){return!e.url&&!e.errMsg}))&&r(t);else{var c=a[n];e.uploadFile({provider:c.provider,filePath:c.path,cloudPath:c.cloudPath,fileType:c.fileType,cloudPathAsRealPath:c.cloudPathAsRealPath,onUploadProgress:function(e){e.index=n,e.tempFile=c,e.tempFilePath=c.path,o&&o(e)}}).then((function(e){c.url=e.fileID,n0&&void 0!==arguments[0]?arguments[0]:{type:"all"};return"image"===t.type?s(e,function(e){var t=e.count,r=e.sizeType,o=e.sourceType,s=void 0===o?["album","camera"]:o,u=e.extension;return new Promise((function(e,o){n.chooseImage({count:t,sizeType:r,sourceType:s,extension:u,success:function(t){e(i(t,"image"))},fail:function(e){o({errMsg:e.errMsg.replace("chooseImage:fail",a)})}})}))}(t),t):"video"===t.type?s(e,function(e){var t=e.camera,r=e.compressed,o=e.maxDuration,s=e.sourceType,u=void 0===s?["album","camera"]:s,c=e.extension;return new Promise((function(e,s){n.chooseVideo({camera:t,compressed:r,maxDuration:o,sourceType:u,extension:c,success:function(t){var r=t.tempFilePath,n=t.duration,o=t.size,a=t.height,s=t.width;e(i({errMsg:"chooseVideo:ok",tempFilePaths:[r],tempFiles:[{name:t.tempFile&&t.tempFile.name||"",path:r,size:o,type:t.tempFile&&t.tempFile.type||"",width:s,height:a,duration:n,fileType:"video",cloudPath:""}]},"video"))},fail:function(e){s({errMsg:e.errMsg.replace("chooseVideo:fail",a)})}})}))}(t),t):s(e,function(e){var t=e.count,r=e.extension;return new Promise((function(e,s){var u=n.chooseFile;if("undefined"!=typeof o&&"function"==typeof o.chooseMessageFile&&(u=o.chooseMessageFile),"function"!=typeof u)return s({errMsg:a+" 请指定 type 类型,该平台仅支持选择 image 或 video。"});u({type:"all",count:t,extension:r,success:function(t){e(i(t))},fail:function(e){s({errMsg:e.errMsg.replace("chooseFile:fail",a)})}})}))}(t),t)}}})),tn=function(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}(en);function rn(e){return{props:{localdata:{type:Array,default:function(){return[]}},options:{type:[Object,Array],default:function(){return{}}},spaceInfo:{type:Object,default:function(){return{}}},collection:{type:[String,Array],default:""},action:{type:String,default:""},field:{type:String,default:""},orderby:{type:String,default:""},where:{type:[String,Object],default:""},pageData:{type:String,default:"add"},pageCurrent:{type:Number,default:1},pageSize:{type:Number,default:20},getcount:{type:[Boolean,String],default:!1},gettree:{type:[Boolean,String],default:!1},gettreepath:{type:[Boolean,String],default:!1},startwith:{type:String,default:""},limitlevel:{type:Number,default:10},groupby:{type:String,default:""},groupField:{type:String,default:""},distinct:{type:[Boolean,String],default:!1},foreignKey:{type:String,default:""},loadtime:{type:String,default:"auto"},manual:{type:Boolean,default:!1}},data:function(){return{mixinDatacomLoading:!1,mixinDatacomHasMore:!1,mixinDatacomResData:[],mixinDatacomErrorMessage:"",mixinDatacomPage:{},mixinDatacomError:null}},created:function(){var e=this;this.mixinDatacomPage={current:this.pageCurrent,size:this.pageSize,count:0},this.$watch((function(){var t=[];return["pageCurrent","pageSize","localdata","collection","action","field","orderby","where","getont","getcount","gettree","groupby","groupField","distinct"].forEach((function(r){t.push(e[r])})),t}),(function(t,r){if("manual"!==e.loadtime){for(var n=!1,o=[],a=2;a0&&void 0!==arguments[0]?arguments[0]:{},r=t.getone,n=void 0!==r&&r,o=t.success,a=t.fail;this.mixinDatacomLoading||(this.mixinDatacomLoading=!0,this.mixinDatacomErrorMessage="",this.mixinDatacomError=null,this.mixinDatacomGet().then((function(t){e.mixinDatacomLoading=!1;var r=t.result,a=r.data,i=r.count;e.getcount&&(e.mixinDatacomPage.count=i),e.mixinDatacomHasMore=a.length0&&void 0!==arguments[0]?arguments[0]:{};n=n||{},r="undefined"!=typeof __uniX&&__uniX?e.databaseForJQL(this.spaceInfo):e.database(this.spaceInfo);var o=n.action||this.action;o&&(r=r.action(o));var a=n.collection||this.collection;r=Array.isArray(a)?(t=r).collection.apply(t,(0,l.default)(a)):r.collection(a);var i=n.where||this.where;i&&Object.keys(i).length&&(r=r.where(i));var s=n.field||this.field;s&&(r=r.field(s));var u=n.foreignKey||this.foreignKey;u&&(r=r.foreignKey(u));var c=n.groupby||this.groupby;c&&(r=r.groupBy(c));var d=n.groupField||this.groupField;d&&(r=r.groupField(d)),!0===(void 0!==n.distinct?n.distinct:this.distinct)&&(r=r.distinct());var f=n.orderby||this.orderby;f&&(r=r.orderBy(f));var p=void 0!==n.pageCurrent?n.pageCurrent:this.mixinDatacomPage.current,h=void 0!==n.pageSize?n.pageSize:this.mixinDatacomPage.size,m=void 0!==n.getcount?n.getcount:this.getcount,g=void 0!==n.gettree?n.gettree:this.gettree,v=void 0!==n.gettreepath?n.gettreepath:this.gettreepath,y={getCount:m},T={limitLevel:void 0!==n.limitlevel?n.limitlevel:this.limitlevel,startWith:void 0!==n.startwith?n.startwith:this.startwith};return g&&(y.getTree=T),v&&(y.getTreePath=T),r=r.skip(h*(p-1)).limit(h).get(y),r}}}}function nn(e){return K("_globalUniCloudSecureNetworkCache__{spaceId}".replace("{spaceId}",e.config.spaceId))}function on(){return an.apply(this,arguments)}function an(){return an=(0,d.default)(i.default.mark((function e(){var t,r,o,a,s,u,c,l=arguments;return i.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(t=l.length>0&&void 0!==l[0]?l[0]:{},r=t.openid,o=t.callLoginByWeixin,a=void 0!==o&&o,s=nn(this),"mp-weixin"===F){e.next=4;break}throw new Error("[SecureNetwork] API `initSecureNetworkByWeixin` is not supported on platform `".concat(F,"`"));case 4:if(!r||!a){e.next=6;break}throw new Error("[SecureNetwork] openid and callLoginByWeixin cannot be passed at the same time");case 6:if(!r){e.next=8;break}return e.abrupt("return",(s.mpWeixinOpenid=r,{}));case 8:return e.next=10,new Promise((function(e,t){n.login({success:function(t){e(t.code)},fail:function(e){t(new Error(e.errMsg))}})}));case 10:return u=e.sent,c=this.importObject("uni-id-co",{customUI:!0}),e.next=14,c.secureNetworkHandshakeByWeixin({code:u,callLoginByWeixin:a});case 14:return s.mpWeixinCode=u,e.abrupt("return",{code:u});case 16:case"end":return e.stop()}}),e,this)}))),an.apply(this,arguments)}function sn(e){return un.apply(this,arguments)}function un(){return un=(0,d.default)(i.default.mark((function e(t){var r;return i.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return r=nn(this),e.abrupt("return",(r.initPromise||(r.initPromise=on.call(this,t).then((function(e){return e})).catch((function(e){throw delete r.initPromise,e}))),r.initPromise));case 2:case"end":return e.stop()}}),e,this)}))),un.apply(this,arguments)}function cn(e){!function(e){Oe=e}(e)}function ln(e){var t={getSystemInfo:n.getSystemInfo,getPushClientId:n.getPushClientId};return function(r){return new Promise((function(n,o){t[e](b(b({},r),{},{success:function(e){n(e)},fail:function(e){o(e)}}))}))}}var dn=function(e){(0,p.default)(r,e);var t=C(r);function r(){var e;return(0,v.default)(this,r),e=t.call(this),e._uniPushMessageCallback=e._receivePushMessage.bind((0,s.default)(e)),e._currentMessageId=-1,e._payloadQueue=[],e}return(0,y.default)(r,[{key:"init",value:function(){var e=this;return Promise.all([ln("getSystemInfo")(),ln("getPushClientId")()]).then((function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],r=(0,u.default)(t,2),n=r[0];n=void 0===n?{}:n;var o=n.appId,a=r[1];a=void 0===a?{}:a;var i=a.cid;if(!o)throw new Error("Invalid appId, please check the manifest.json file");if(!i)throw new Error("Invalid push client id");e._appId=o,e._pushClientId=i,e._seqId=Date.now()+"-"+Math.floor(9e5*Math.random()+1e5),e.emit("open"),e._initMessageListener()}),(function(t){throw e.emit("error",t),e.close(),t}))}},{key:"open",value:function(){var e=(0,d.default)(i.default.mark((function e(){return i.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt("return",this.init());case 1:case"end":return e.stop()}}),e,this)})));return function(){return e.apply(this,arguments)}}()},{key:"_isUniCloudSSE",value:function(e){if("receive"!==e.type)return!1;var t=e&&e.data&&e.data.payload;return!(!t||"UNI_CLOUD_SSE"!==t.channel||t.seqId!==this._seqId)}},{key:"_receivePushMessage",value:function(e){if(this._isUniCloudSSE(e)){var t=e&&e.data&&e.data.payload,r=t.action,n=t.messageId,o=t.message;this._payloadQueue.push({action:r,messageId:n,message:o}),this._consumMessage()}}},{key:"_consumMessage",value:function(){for(var e=this;;){var t=this._payloadQueue.find((function(t){return t.messageId===e._currentMessageId+1}));if(!t)break;this._currentMessageId++,this._parseMessagePayload(t)}}},{key:"_parseMessagePayload",value:function(e){var t=e.action,r=e.messageId,n=e.message;"end"===t?this._end({messageId:r,message:n}):"message"===t&&this._appendMessage({messageId:r,message:n})}},{key:"_appendMessage",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=(e.messageId,e.message);this.emit("message",t)}},{key:"_end",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=(e.messageId,e.message);this.emit("end",t),this.close()}},{key:"_initMessageListener",value:function(){n.onPushMessage(this._uniPushMessageCallback)}},{key:"_destroy",value:function(){n.offPushMessage(this._uniPushMessageCallback)}},{key:"toJSON",value:function(){return{appId:this._appId,pushClientId:this._pushClientId,seqId:this._seqId}}},{key:"close",value:function(){this._destroy(),this.emit("close")}}]),r}(function(){function e(){(0,v.default)(this,e),this._callback={}}return(0,y.default)(e,[{key:"addListener",value:function(e,t){this._callback[e]||(this._callback[e]=[]),this._callback[e].push(t)}},{key:"on",value:function(e,t){return this.addListener(e,t)}},{key:"removeListener",value:function(e,t){if(!t)throw new Error('The "listener" argument must be of type function. Received undefined');var r=this._callback[e];if(r){var n=function(e,t){for(var r=e.length-1;r>=0;r--)if(e[r]===t)return r;return-1}(r,t);r.splice(n,1)}}},{key:"off",value:function(e,t){return this.removeListener(e,t)}},{key:"removeAllListener",value:function(e){delete this._callback[e]}},{key:"emit",value:function(e){for(var t=this._callback[e],r=arguments.length,n=new Array(r>1?r-1:0),o=1;o0)return e.init(t).database();if(this._database)return this._database;var r=Er(br,{uniClient:e});return this._database=r,r},e.databaseForJQL=function(t){if(t&&Object.keys(t).length>0)return e.init(t).databaseForJQL();if(this._databaseForJQL)return this._databaseForJQL;var r=Er(br,{uniClient:e,isJQL:!0});return this._databaseForJQL=r,r}}(t),function(e){e.getCurrentUserInfo=Vr,e.chooseAndUploadFile=tn.initChooseAndUploadFile(e),Object.assign(e,{get mixinDatacom(){return rn(e)}}),e.SSEChannel=dn,e.initSecureNetworkByWeixin=function(e){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=t.openid,n=t.callLoginByWeixin,o=void 0!==n&&n;return sn.call(e,{openid:r,callLoginByWeixin:o})}}(e),e.setCustomClientInfo=cn,e.importObject=function(e){return function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};r=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return e.customUI=t.customUI||e.customUI,e.parseSystemError=t.parseSystemError||e.parseSystemError,Object.assign(e.loadingOptions,t.loadingOptions),Object.assign(e.errorOptions,t.errorOptions),"object"==(0,c.default)(t.secretMethods)&&(e.secretMethods=t.secretMethods),e}({customUI:!1,loadingOptions:{title:"加载中...",mask:!0},errorOptions:{type:"modal",retry:!1}},r);var o=r,a=o.customUI,s=o.loadingOptions,u=o.errorOptions,l=o.parseSystemError,f=!a;return new Proxy({},{get:function(o,a){switch(a){case"toString":return"[object UniCloudObject]";case"toJSON":return{}}return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.fn,r=e.interceptorName,n=e.getCallbackArgs;return(0,d.default)(i.default.mark((function e(){var o,a,s,u,c,l,d=arguments;return i.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:for(o=d.length,a=new Array(o),s=0;s0&&void 0!==c[0]?c[0]:{},r=t.title,o=t.content,a=t.showCancel,s=t.cancelText,u=t.confirmText,e.abrupt("return",new Promise((function(e,t){n.showModal({title:r,content:o,showCancel:a,cancelText:s,confirmText:u,success:function(t){e(t)},fail:function(){e({confirm:!1,cancel:!0})}})})));case 2:case"end":return e.stop()}}),e)})))({title:"提示",content:A,showCancel:u.retry,cancelText:"取消",confirmText:u.retry?"重试":"确定"});case 33:if(R=o.sent,I=R.confirm,!u.retry||!I){o.next=37;break}return o.abrupt("return",p.apply(void 0,g));case 37:throw P=new _e({subject:S,code:E,message:C,requestId:h.requestId}),P.detail=h.result,pe(oe,{type:ce,content:P}),P;case 39:return o.abrupt("return",(pe(oe,{type:ce,content:h.result}),h.result));case 40:case"end":return o.stop()}}),o,null,[[5,11]])})));function p(){return o.apply(this,arguments)}return p}(),interceptorName:"callObject",getCallbackArgs:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=e.params;return{objectName:t,methodName:a,params:r}}})}})}}(e)}(t),["callFunction","uploadFile","deleteFile","getTempFileURL","downloadFile","chooseAndUploadFile"].forEach((function(e){if(t[e]){var r=t[e];t[e]=function(){return r.apply(t,Array.from(arguments))},t[e]=function(e,t){return function(r){var n=this,o=!1;if("callFunction"===t){var a=r&&r.type||M;o=a!==M}var i="callFunction"===t&&!o,s=this._initPromiseHub.exec();r=r||{};var u=ve(r),c=u.success,l=u.fail,d=u.complete,f=s.then((function(){return o?Promise.resolve():ee(te(t,"invoke"),r)})).then((function(){return e.call(n,r)})).then((function(e){return o?Promise.resolve(e):ee(te(t,"success"),e).then((function(){return ee(te(t,"complete"),e)})).then((function(){return i&&pe(oe,{type:ue,content:e}),Promise.resolve(e)}))}),(function(e){return o?Promise.reject(e):ee(te(t,"fail"),e).then((function(){return ee(te(t,"complete"),e)})).then((function(){return pe(oe,{type:ue,content:e}),Promise.reject(e)}))}));if(!(c||l||d))return f;f.then((function(e){c&&c(e),d&&d(e),i&&pe(oe,{type:ue,content:e})}),(function(e){l&&l(e),d&&d(e),i&&pe(oe,{type:ue,content:e})}))}}(t[e],e).bind(t)}})),t.init=this.init,t}}]),e}());(function(){var e=Q,t={};if(e&&1===e.length)t=e[0],pn=pn.init(t),pn._isDefault=!0;else{var r;r=e&&e.length>0?"应用有多个服务空间,请通过uniCloud.init方法指定要使用的服务空间":"应用未关联服务空间,请在uniCloud目录右键关联服务空间",["auth","callFunction","uploadFile","deleteFile","getTempFileURL","downloadFile","database","getCurrentUSerInfo","importObject"].forEach((function(e){pn[e]=function(){return console.error(r),Promise.reject(new _e({code:"SYS_ERR",message:r}))}}))}Object.assign(pn,{get mixinDatacom(){return rn(pn)}}),zr(pn),pn.addInterceptor=q,pn.removeInterceptor=V,pn.interceptObject=re})();var hn=pn;t.default=hn}).call(this,r("0ee4"),r("df3c")["default"],r("3223")["default"])},"88a9":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},"89af":function(e,t,r){"use strict";(function(e){var n=r("47a9");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(r("7ca3")),a=n(r("3c59")),i=n(r("3e9b")),s=n(r("53bf")),u=n(r("8e13")),c=n(r("0203")),l=n(r("d163")),d=n(r("cdb9")),f=n(r("d3c7")),p=n(r("633e")),h=n(r("4a01")),m=n(r("1867")),g=n(r("58c5")),v=n(r("88a9")),y=n(r("989e"));function T(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=19968&&o<=40869&&(a=s.firstletter.all.charAt(o-19968),t&&(a=s.firstletter.polyphone[o]||a)),r.push(a)}return t?d(r,"",""):r.join("")}var i=this.getPinyin(e," ",!1,t);i=i instanceof Array?i:[i];for(r=[],n=0;n0&&void 0!==s[0]?s[0]:{},n=s.length>1&&void 0!==s[1]?s[1]:{},a={},"string"===typeof r?(a.url=this.mixinParam(r,n),a.type="navigateTo"):(a=e.$u.deepMerge(this.config,r),a.url=this.mixinParam(r.url,r.params)),a.url!==e.$u.page()){t.next=6;break}return t.abrupt("return");case 6:if(n.intercept&&(this.config.intercept=n.intercept),a.params=n,a=e.$u.deepMerge(this.config,a),"function"!==typeof e.$u.routeIntercept){t.next=16;break}return t.next=12,new Promise((function(t,r){e.$u.routeIntercept(a,t)}));case 12:i=t.sent,i&&this.openPage(a),t.next=17;break;case 16:this.openPage(a);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,a=t.animationDuration;"navigateTo"!=t.type&&"to"!=t.type||e.navigateTo({url:r,animationType:o,animationDuration:a}),"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}(),c=(new u).route;t.default=c}).call(this,r("df3c")["default"])},"8f59":function(e,t,r){"use strict";(function(t){var r="undefined"!==typeof window?window:"undefined"!==typeof t?t:{},n=r.__VUE_DEVTOOLS_GLOBAL_HOOK__;function o(e,t){if(void 0===t&&(t=[]),null===e||"object"!==typeof e)return e;var r=function(e,t){return e.filter(t)[0]}(t,(function(t){return t.original===e}));if(r)return r.copy;var n=Array.isArray(e)?[]:{};return t.push({original:e,copy:n}),Object.keys(e).forEach((function(r){n[r]=o(e[r],t)})),n}function a(e,t){Object.keys(e).forEach((function(r){return t(e[r],r)}))}function i(e){return null!==e&&"object"===typeof e}var s=function(e,t){this.runtime=t,this._children=Object.create(null),this._rawModule=e;var r=e.state;this.state=("function"===typeof r?r():r)||{}},u={namespaced:{configurable:!0}};u.namespaced.get=function(){return!!this._rawModule.namespaced},s.prototype.addChild=function(e,t){this._children[e]=t},s.prototype.removeChild=function(e){delete this._children[e]},s.prototype.getChild=function(e){return this._children[e]},s.prototype.hasChild=function(e){return e in this._children},s.prototype.update=function(e){this._rawModule.namespaced=e.namespaced,e.actions&&(this._rawModule.actions=e.actions),e.mutations&&(this._rawModule.mutations=e.mutations),e.getters&&(this._rawModule.getters=e.getters)},s.prototype.forEachChild=function(e){a(this._children,e)},s.prototype.forEachGetter=function(e){this._rawModule.getters&&a(this._rawModule.getters,e)},s.prototype.forEachAction=function(e){this._rawModule.actions&&a(this._rawModule.actions,e)},s.prototype.forEachMutation=function(e){this._rawModule.mutations&&a(this._rawModule.mutations,e)},Object.defineProperties(s.prototype,u);var c=function(e){this.register([],e,!1)};c.prototype.get=function(e){return e.reduce((function(e,t){return e.getChild(t)}),this.root)},c.prototype.getNamespace=function(e){var t=this.root;return e.reduce((function(e,r){return t=t.getChild(r),e+(t.namespaced?r+"/":"")}),"")},c.prototype.update=function(e){(function e(t,r,n){0;if(r.update(n),n.modules)for(var o in n.modules){if(!r.getChild(o))return void 0;e(t.concat(o),r.getChild(o),n.modules[o])}})([],this.root,e)},c.prototype.register=function(e,t,r){var n=this;void 0===r&&(r=!0);var o=new s(t,r);if(0===e.length)this.root=o;else{var i=this.get(e.slice(0,-1));i.addChild(e[e.length-1],o)}t.modules&&a(t.modules,(function(t,o){n.register(e.concat(o),t,r)}))},c.prototype.unregister=function(e){var t=this.get(e.slice(0,-1)),r=e[e.length-1],n=t.getChild(r);n&&n.runtime&&t.removeChild(r)},c.prototype.isRegistered=function(e){var t=this.get(e.slice(0,-1)),r=e[e.length-1];return!!t&&t.hasChild(r)};var l;var d=function(e){var t=this;void 0===e&&(e={}),!l&&"undefined"!==typeof window&&window.Vue&&T(window.Vue);var r=e.plugins;void 0===r&&(r=[]);var o=e.strict;void 0===o&&(o=!1),this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new c(e),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._watcherVM=new l,this._makeLocalGettersCache=Object.create(null);var a=this,i=this.dispatch,s=this.commit;this.dispatch=function(e,t){return i.call(a,e,t)},this.commit=function(e,t,r){return s.call(a,e,t,r)},this.strict=o;var u=this._modules.root.state;g(this,u,[],this._modules.root),m(this,u),r.forEach((function(e){return e(t)}));var d=void 0!==e.devtools?e.devtools:l.config.devtools;d&&function(e){n&&(e._devtoolHook=n,n.emit("vuex:init",e),n.on("vuex:travel-to-state",(function(t){e.replaceState(t)})),e.subscribe((function(e,t){n.emit("vuex:mutation",e,t)}),{prepend:!0}),e.subscribeAction((function(e,t){n.emit("vuex:action",e,t)}),{prepend:!0}))}(this)},f={state:{configurable:!0}};function p(e,t,r){return t.indexOf(e)<0&&(r&&r.prepend?t.unshift(e):t.push(e)),function(){var r=t.indexOf(e);r>-1&&t.splice(r,1)}}function h(e,t){e._actions=Object.create(null),e._mutations=Object.create(null),e._wrappedGetters=Object.create(null),e._modulesNamespaceMap=Object.create(null);var r=e.state;g(e,r,[],e._modules.root,!0),m(e,r,t)}function m(e,t,r){var n=e._vm;e.getters={},e._makeLocalGettersCache=Object.create(null);var o=e._wrappedGetters,i={};a(o,(function(t,r){i[r]=function(e,t){return function(){return e(t)}}(t,e),Object.defineProperty(e.getters,r,{get:function(){return e._vm[r]},enumerable:!0})}));var s=l.config.silent;l.config.silent=!0,e._vm=new l({data:{$$state:t},computed:i}),l.config.silent=s,e.strict&&function(e){e._vm.$watch((function(){return this._data.$$state}),(function(){0}),{deep:!0,sync:!0})}(e),n&&(r&&e._withCommit((function(){n._data.$$state=null})),l.nextTick((function(){return n.$destroy()})))}function g(e,t,r,n,o){var a=!r.length,i=e._modules.getNamespace(r);if(n.namespaced&&(e._modulesNamespaceMap[i],e._modulesNamespaceMap[i]=n),!a&&!o){var s=v(t,r.slice(0,-1)),u=r[r.length-1];e._withCommit((function(){l.set(s,u,n.state)}))}var c=n.context=function(e,t,r){var n=""===t,o={dispatch:n?e.dispatch:function(r,n,o){var a=y(r,n,o),i=a.payload,s=a.options,u=a.type;return s&&s.root||(u=t+u),e.dispatch(u,i)},commit:n?e.commit:function(r,n,o){var a=y(r,n,o),i=a.payload,s=a.options,u=a.type;s&&s.root||(u=t+u),e.commit(u,i,s)}};return Object.defineProperties(o,{getters:{get:n?function(){return e.getters}:function(){return function(e,t){if(!e._makeLocalGettersCache[t]){var r={},n=t.length;Object.keys(e.getters).forEach((function(o){if(o.slice(0,n)===t){var a=o.slice(n);Object.defineProperty(r,a,{get:function(){return e.getters[o]},enumerable:!0})}})),e._makeLocalGettersCache[t]=r}return e._makeLocalGettersCache[t]}(e,t)}},state:{get:function(){return v(e.state,r)}}}),o}(e,i,r);n.forEachMutation((function(t,r){var n=i+r;(function(e,t,r,n){var o=e._mutations[t]||(e._mutations[t]=[]);o.push((function(t){r.call(e,n.state,t)}))})(e,n,t,c)})),n.forEachAction((function(t,r){var n=t.root?r:i+r,o=t.handler||t;(function(e,t,r,n){var o=e._actions[t]||(e._actions[t]=[]);o.push((function(t){var o=r.call(e,{dispatch:n.dispatch,commit:n.commit,getters:n.getters,state:n.state,rootGetters:e.getters,rootState:e.state},t);return function(e){return e&&"function"===typeof e.then}(o)||(o=Promise.resolve(o)),e._devtoolHook?o.catch((function(t){throw e._devtoolHook.emit("vuex:error",t),t})):o}))})(e,n,o,c)})),n.forEachGetter((function(t,r){var n=i+r;(function(e,t,r,n){if(e._wrappedGetters[t])return void 0;e._wrappedGetters[t]=function(e){return r(n.state,n.getters,e.state,e.getters)}})(e,n,t,c)})),n.forEachChild((function(n,a){g(e,t,r.concat(a),n,o)}))}function v(e,t){return t.reduce((function(e,t){return e[t]}),e)}function y(e,t,r){return i(e)&&e.type&&(r=t,t=e,e=e.type),{type:e,payload:t,options:r}}function T(e){l&&e===l||(l=e, /*! * vuex v3.6.2 * (c) 2021 Evan You * @license MIT */ function(e){var t=Number(e.version.split(".")[0]);if(t>=2)e.mixin({beforeCreate:n});else{var r=e.prototype._init;e.prototype._init=function(e){void 0===e&&(e={}),e.init=e.init?[n].concat(e.init):n,r.call(this,e)}}function n(){var e=this.$options;e.store?this.$store="function"===typeof e.store?e.store():e.store:e.parent&&e.parent.$store&&(this.$store=e.parent.$store)}}(l))}f.state.get=function(){return this._vm._data.$$state},f.state.set=function(e){0},d.prototype.commit=function(e,t,r){var n=this,o=y(e,t,r),a=o.type,i=o.payload,s=(o.options,{type:a,payload:i}),u=this._mutations[a];u&&(this._withCommit((function(){u.forEach((function(e){e(i)}))})),this._subscribers.slice().forEach((function(e){return e(s,n.state)})))},d.prototype.dispatch=function(e,t){var r=this,n=y(e,t),o=n.type,a=n.payload,i={type:o,payload:a},s=this._actions[o];if(s){try{this._actionSubscribers.slice().filter((function(e){return e.before})).forEach((function(e){return e.before(i,r.state)}))}catch(c){0}var u=s.length>1?Promise.all(s.map((function(e){return e(a)}))):s[0](a);return new Promise((function(e,t){u.then((function(t){try{r._actionSubscribers.filter((function(e){return e.after})).forEach((function(e){return e.after(i,r.state)}))}catch(c){0}e(t)}),(function(e){try{r._actionSubscribers.filter((function(e){return e.error})).forEach((function(t){return t.error(i,r.state,e)}))}catch(c){0}t(e)}))}))}},d.prototype.subscribe=function(e,t){return p(e,this._subscribers,t)},d.prototype.subscribeAction=function(e,t){var r="function"===typeof e?{before:e}:e;return p(r,this._actionSubscribers,t)},d.prototype.watch=function(e,t,r){var n=this;return this._watcherVM.$watch((function(){return e(n.state,n.getters)}),t,r)},d.prototype.replaceState=function(e){var t=this;this._withCommit((function(){t._vm._data.$$state=e}))},d.prototype.registerModule=function(e,t,r){void 0===r&&(r={}),"string"===typeof e&&(e=[e]),this._modules.register(e,t),g(this,this.state,e,this._modules.get(e),r.preserveState),m(this,this.state)},d.prototype.unregisterModule=function(e){var t=this;"string"===typeof e&&(e=[e]),this._modules.unregister(e),this._withCommit((function(){var r=v(t.state,e.slice(0,-1));l.delete(r,e[e.length-1])})),h(this)},d.prototype.hasModule=function(e){return"string"===typeof e&&(e=[e]),this._modules.isRegistered(e)},d.prototype[[104,111,116,85,112,100,97,116,101].map((function(e){return String.fromCharCode(e)})).join("")]=function(e){this._modules.update(e),h(this,!0)},d.prototype._withCommit=function(e){var t=this._committing;this._committing=!0,e(),this._committing=t},Object.defineProperties(d.prototype,f);var _=O((function(e,t){var r={};return C(t).forEach((function(t){var n=t.key,o=t.val;r[n]=function(){var t=this.$store.state,r=this.$store.getters;if(e){var n=A(this.$store,"mapState",e);if(!n)return;t=n.context.state,r=n.context.getters}return"function"===typeof o?o.call(this,t,r):t[o]},r[n].vuex=!0})),r})),S=O((function(e,t){var r={};return C(t).forEach((function(t){var n=t.key,o=t.val;r[n]=function(){var t=[],r=arguments.length;while(r--)t[r]=arguments[r];var n=this.$store.commit;if(e){var a=A(this.$store,"mapMutations",e);if(!a)return;n=a.context.commit}return"function"===typeof o?o.apply(this,[n].concat(t)):n.apply(this.$store,[o].concat(t))}})),r})),E=O((function(e,t){var r={};return C(t).forEach((function(t){var n=t.key,o=t.val;o=e+o,r[n]=function(){if(!e||A(this.$store,"mapGetters",e))return this.$store.getters[o]},r[n].vuex=!0})),r})),b=O((function(e,t){var r={};return C(t).forEach((function(t){var n=t.key,o=t.val;r[n]=function(){var t=[],r=arguments.length;while(r--)t[r]=arguments[r];var n=this.$store.dispatch;if(e){var a=A(this.$store,"mapActions",e);if(!a)return;n=a.context.dispatch}return"function"===typeof o?o.apply(this,[n].concat(t)):n.apply(this.$store,[o].concat(t))}})),r}));function C(e){return function(e){return Array.isArray(e)||i(e)}(e)?Array.isArray(e)?e.map((function(e){return{key:e,val:e}})):Object.keys(e).map((function(t){return{key:t,val:e[t]}})):[]}function O(e){return function(t,r){return"string"!==typeof t?(r=t,t=""):"/"!==t.charAt(t.length-1)&&(t+="/"),e(t,r)}}function A(e,t,r){var n=e._modulesNamespaceMap[r];return n}function R(e,t,r){var n=r?e.groupCollapsed:e.group;try{n.call(e,t)}catch(o){e.log(t)}}function I(e){try{e.groupEnd()}catch(t){e.log("—— log end ——")}}function P(){var e=new Date;return" @ "+N(e.getHours(),2)+":"+N(e.getMinutes(),2)+":"+N(e.getSeconds(),2)+"."+N(e.getMilliseconds(),3)}function N(e,t){return function(e,t){return new Array(t+1).join(e)}("0",t-e.toString().length)+e}var M={Store:d,install:T,version:"3.6.2",mapState:_,mapMutations:S,mapGetters:E,mapActions:b,createNamespacedHelpers:function(e){return{mapState:_.bind(null,e),mapGetters:E.bind(null,e),mapMutations:S.bind(null,e),mapActions:b.bind(null,e)}},createLogger:function(e){void 0===e&&(e={});var t=e.collapsed;void 0===t&&(t=!0);var r=e.filter;void 0===r&&(r=function(e,t,r){return!0});var n=e.transformer;void 0===n&&(n=function(e){return e});var a=e.mutationTransformer;void 0===a&&(a=function(e){return e});var i=e.actionFilter;void 0===i&&(i=function(e,t){return!0});var s=e.actionTransformer;void 0===s&&(s=function(e){return e});var u=e.logMutations;void 0===u&&(u=!0);var c=e.logActions;void 0===c&&(c=!0);var l=e.logger;return void 0===l&&(l=console),function(e){var d=o(e.state);"undefined"!==typeof l&&(u&&e.subscribe((function(e,i){var s=o(i);if(r(e,d,s)){var u=P(),c=a(e),f="mutation "+e.type+u;R(l,f,t),l.log("%c prev state","color: #9E9E9E; font-weight: bold",n(d)),l.log("%c mutation","color: #03A9F4; font-weight: bold",c),l.log("%c next state","color: #4CAF50; font-weight: bold",n(s)),I(l)}d=s})),c&&e.subscribeAction((function(e,r){if(i(e,r)){var n=P(),o=s(e),a="action "+e.type+n;R(l,a,t),l.log("%c action","color: #03A9F4; font-weight: bold",o),I(l)}})))}}};e.exports=M}).call(this,r("0ee4"))},"8ffa":function(e,t,r){var n=r("7647");e.exports=function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&n(e,t)},e.exports.__esModule=!0,e.exports["default"]=e.exports},9008:function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},e.exports.__esModule=!0,e.exports["default"]=e.exports},9011: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},"90b5":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"}}},"90c8":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}}},9281: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)}},"931d":function(e,t,r){var n=r("7647"),o=r("011a");e.exports=function(e,t,r){if(o())return Reflect.construct.apply(null,arguments);var a=[null];a.push.apply(a,t);var i=new(e.bind.apply(e,a));return r&&n(i,r.prototype),i},e.exports.__esModule=!0,e.exports["default"]=e.exports},9367:function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={props:{autoClose:{type:Boolean,default:e.$u.props.swipeAction.autoClose}}};t.default=r}).call(this,r("df3c")["default"])},9412: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)"}}}},"95d8":function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={props:{activeColor:{type:String,default:e.$u.props.lineProgress.activeColor},inactiveColor:{type:String,default:e.$u.props.lineProgress.color},percentage:{type:[String,Number],default:e.$u.props.lineProgress.inactiveColor},showText:{type:Boolean,default:e.$u.props.lineProgress.showText},height:{type:[String,Number],default:e.$u.props.lineProgress.height}}};t.default=r}).call(this,r("df3c")["default"])},9744: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,null],default:e.$u.props.tabbar.value},safeAreaInsetBottom:{type:Boolean,default:e.$u.props.tabbar.safeAreaInsetBottom},border:{type:Boolean,default:e.$u.props.tabbar.border},zIndex:{type:[String,Number],default:e.$u.props.tabbar.zIndex},activeColor:{type:String,default:e.$u.props.tabbar.activeColor},inactiveColor:{type:String,default:e.$u.props.tabbar.inactiveColor},fixed:{type:Boolean,default:e.$u.props.tabbar.fixed},placeholder:{type:Boolean,default:e.$u.props.tabbar.placeholder}}};t.default=r}).call(this,r("df3c")["default"])},"989e":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default="mp"},"9b2d":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":""}},"9bf9":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",quot:'"',apos:"'",ensp:" ",emsp:" ",nbsp:" ",semi:";",ndash:"–",mdash:"—",middot:"·",lsquo:"‘",rsquo:"’",ldquo:"“",rdquo:"”",bull:"•",hellip:"…"},tagStyle:{address:"font-style:italic",big:"display:inline;font-size:1.2em",caption:"display:table-caption;text-align:center",center:"text-align:center",cite:"font-style:italic",dd:"margin-left:40px",mark:"background-color:yellow",pre:"font-family:monospace;white-space:pre",s:"text-decoration:line-through",small:"display:inline;font-size:0.8em",u:"text-decoration:underline"}},s=t.getSystemInfoSync(),u=s.windowWidth,c=d(" ,\r,\n,\t,\f"),l=0;function d(e){for(var t=Object.create(null),r=e.split(","),n=r.length;n--;)t[r[n]]=!0;return t}function f(e,t){var r=e.indexOf("&");while(-1!=r){var n=e.indexOf(";",r+3),o=void 0;if(-1==n)break;"#"==e[r+1]?(o=parseInt(("x"==e[r+2]?"0":"")+e.substring(r+2,n)),isNaN(o)||(e=e.substr(0,r)+String.fromCharCode(o)+e.substr(n+1))):(o=e.substring(r+1,n),(i.entities[o]||"amp"==o&&t)&&(e=e.substr(0,r)+(i.entities[o]||"&")+e.substr(n+1))),r=e.indexOf("&",r+1)}return e}function p(e){this.options=e||{},this.tagStyle=Object.assign(i.tagStyle,this.options.tagStyle),this.imgList=e.imgList||[],this.plugins=e.plugins||[],this.attrs=Object.create(null),this.stack=[],this.nodes=[]}function h(e){this.handler=e}p.prototype.parse=function(e){for(var t=this.plugins.length;t--;)this.plugins[t].onUpdate&&(e=this.plugins[t].onUpdate(e,i)||e);new h(this).parse(e);while(this.stack.length)this.popNode();return this.nodes},p.prototype.expose=function(){for(var e=this.stack.length;e--;){var t=this.stack[e];if("a"==t.name||t.c)return;t.c=1}},p.prototype.hook=function(e){for(var t=this.plugins.length;t--;)if(this.plugins[t].onParse&&0==this.plugins[t].onParse(e,this))return!1;return!0},p.prototype.getUrl=function(e){var t=this.options.domain;return"/"==e[0]?"/"==e[1]?e="".concat(t?t.split("://")[0]:"http",":").concat(e):t&&(e=t+e):!t||e.includes("data:")||e.includes("://")||(e="".concat(t,"/").concat(e)),e},p.prototype.parseStyle=function(e){var t=e.attrs,r=(this.tagStyle[e.name]||"").split(";").concat((t.style||"").split(";")),n={},o="";t.id&&(this.options.useAnchor?this.expose():"img"!=e.name&&"a"!=e.name&&"video"!=e.name&&"audio"!=e.name&&(t.id=void 0)),t.width&&(n.width=parseFloat(t.width)+(t.width.includes("%")?"%":"px"),t.width=void 0),t.height&&(n.height=parseFloat(t.height)+(t.height.includes("%")?"%":"px"),t.height=void 0);for(var a=0,i=r.length;a0||d.includes("safe"))o+=";".concat(l,":").concat(d);else if(!n[l]||d.includes("import")||!n[l].includes("import")){if(d.includes("url")){var f=d.indexOf("(")+1;if(f){while('"'==d[f]||"'"==d[f]||c[d[f]])f++;d=d.substr(0,f)+this.getUrl(d.substr(f))}}else d.includes("rpx")&&(d=d.replace(/[0-9.]+\s*rpx/g,(function(e){return"".concat(parseFloat(e)*u/750,"px")})));n[l]=d}}}return e.attrs.style=o,n},p.prototype.onTagName=function(e){this.tagName=this.xml?e:e.toLowerCase(),"svg"==this.tagName&&(this.xml=!0)},p.prototype.onAttrName=function(e){e=this.xml?e:e.toLowerCase(),"data-"==e.substr(0,5)?"data-src"!=e||this.attrs.src?"img"==this.tagName||"a"==this.tagName?this.attrName=e:this.attrName=void 0:this.attrName="src":(this.attrName=e,this.attrs[e]="T")},p.prototype.onAttrVal=function(e){var t=this.attrName||"";"style"==t||"href"==t?this.attrs[t]=f(e,!0):t.includes("src")?this.attrs[t]=this.getUrl(f(e,!0)):t&&(this.attrs[t]=e)},p.prototype.onOpenTag=function(e){var t=Object.create(null);t.name=this.tagName,t.attrs=this.attrs,this.attrs=Object.create(null);var r=t.attrs,n=this.stack[this.stack.length-1],o=n?n.children:this.nodes,a=this.xml?e:i.voidTags[t.name];if("embed"==t.name){var s=r.src||"";s.includes(".mp4")||s.includes(".3gp")||s.includes(".m3u8")||(r.type||"").includes("video")?t.name="video":(s.includes(".mp3")||s.includes(".wav")||s.includes(".aac")||s.includes(".m4a")||(r.type||"").includes("audio"))&&(t.name="audio"),r.autostart&&(r.autoplay="T"),r.controls="T"}if("video"!=t.name&&"audio"!=t.name||("video"!=t.name||r.id||(r.id="v".concat(l++)),r.controls||r.autoplay||(r.controls="T"),t.src=[],r.src&&(t.src.push(r.src),r.src=void 0),this.expose()),a){if(!this.hook(t)||i.ignoreTags[t.name])return void("base"!=t.name||this.options.domain?"source"==t.name&&n&&("video"==n.name||"audio"==n.name)&&r.src&&n.src.push(r.src):this.options.domain=r.href);var c=this.parseStyle(t);if("img"==t.name){if(r.src&&(r.src.includes("webp")&&(t.webp="T"),r.src.includes("data:")&&!r["original-src"]&&(r.ignore="T"),!r.ignore||t.webp||r.src.includes("cloud://"))){for(var d=this.stack.length;d--;){var f=this.stack[d];if("a"==f.name){t.a=f.attrs;break}var p=f.attrs.style||"";if(!p.includes("flex:")||p.includes("flex:0")||p.includes("flex: 0")||c.width&&c.width.includes("%"))if(p.includes("flex")&&"100%"==c.width)for(var h=d+1;h.5?v[y].toUpperCase():v[y]}T+=v.substr(y),v=T}}this.imgList.push(v)}"inline"==c.display&&(c.display=""),r.ignore&&(c["max-width"]=c["max-width"]||"100%",r.style+=";-webkit-touch-callout:none"),parseInt(c.width)>u&&(c.height=void 0),c.width&&(c.width.includes("auto")?c.width="":(t.w="T",c.height&&!c.height.includes("auto")&&(t.h="T")))}else if("svg"==t.name)return o.push(t),this.stack.push(t),void this.popNode();for(var _ in c)c[_]&&(r.style+=";".concat(_,":").concat(c[_].replace(" !important","")));r.style=r.style.substr(1)||void 0}else("pre"==t.name||(r.style||"").includes("white-space")&&r.style.includes("pre"))&&(this.pre=t.pre=!0),t.children=[],this.stack.push(t);o.push(t)},p.prototype.onCloseTag=function(e){var t;for(e=this.xml?e:e.toLowerCase(),t=this.stack.length;t--;)if(this.stack[t].name==e)break;if(-1!=t)while(this.stack.length>t)this.popNode();else if("p"==e||"br"==e){var r=this.stack.length?this.stack[this.stack.length-1].children:this.nodes;r.push({name:e,attrs:{}})}},p.prototype.popNode=function(){var e=this.stack.pop(),r=e.attrs,s=e.children,c=this.stack[this.stack.length-1],l=c?c.children:this.nodes;if(!this.hook(e)||i.ignoreTags[e.name])return"title"==e.name&&s.length&&"text"==s[0].type&&this.options.setTitle&&t.setNavigationBarTitle({title:s[0].text}),void l.pop();if(e.pre){e.pre=this.pre=void 0;for(var d=this.stack.length;d--;)this.stack[d].pre&&(this.pre=!0)}var f={};if("svg"==e.name){var p="",h=r,m=h.style;return r.style="",r.xmlns="http://www.w3.org/2000/svg",function e(t){for(var r in p+="<".concat(t.name),t.attrs){var n=t.attrs[r];n&&("viewbox"==r&&(r="viewBox"),p+=" ".concat(r,'="').concat(n,'"'))}if(t.children){p+=">";for(var o=0;o")}else p+="/>"}(e),e.name="img",e.attrs={src:"data:image/svg+xml;utf8,".concat(p.replace(/#/g,"%23")),style:m,ignore:"T"},e.children=void 0,void(this.xml=!1)}if(r.align&&("table"==e.name?"center"==r.align?f["margin-inline-start"]=f["margin-inline-end"]="auto":f.float=r.align:f["text-align"]=r.align,r.align=void 0),"font"==e.name&&(r.color&&(f.color=r.color,r.color=void 0),r.face&&(f["font-family"]=r.face,r.face=void 0),r.size)){var g=parseInt(r.size);isNaN(g)||(g<1?g=1:g>7&&(g=7),f["font-size"]=["xx-small","x-small","small","medium","large","x-large","xx-large"][g-1]),r.size=void 0}if((r.class||"").includes("align-center")&&(f["text-align"]="center"),Object.assign(f,this.parseStyle(e)),parseInt(f.width)>u&&(f["max-width"]="100%",f["box-sizing"]="border-box"),i.blockTags[e.name]?e.name="div":i.trustTags[e.name]||this.xml||(e.name="span"),"a"==e.name||"ad"==e.name)this.expose();else if("ul"!=e.name&&"ol"!=e.name||!e.c){if("table"==e.name){var v=parseFloat(r.cellpadding),y=parseFloat(r.cellspacing),T=parseFloat(r.border);if(e.c&&(isNaN(v)&&(v=2),isNaN(y)&&(y=2)),T&&(r.style+=";border:".concat(T,"px solid gray")),e.flag&&e.c){f.display="grid",y?(f["grid-gap"]="".concat(y,"px"),f.padding="".concat(y,"px")):T&&(r.style+=";border-left:0;border-top:0");var _=[],S=[],E=[],b={};(function e(t){for(var r=0;r"==this.content[this.i]||t&&">"==this.content[this.i+1])&&(e&&this.handler[e](this.content.substring(this.start,this.i)),this.i+=t?2:1,this.start=this.i,this.handler.onOpenTag(t),"script"==this.handler.tagName?(this.i=this.content.indexOf("="a"&&e<="z"||e>="A"&&e<="Z")this.start!=this.i&&this.handler.onText(this.content.substring(this.start,this.i)),this.start=++this.i,this.state=this.tagName;else if("/"==e||"!"==e||"?"==e){this.start!=this.i&&this.handler.onText(this.content.substring(this.start,this.i));var t=this.content[this.i+2];if("/"==e&&(t>="a"&&t<="z"||t>="A"&&t<="Z"))return this.i+=2,this.start=this.i,this.state=this.endTag;var r="--\x3e";"!"==e&&"-"==this.content[this.i+2]&&"-"==this.content[this.i+3]||(r=">"),this.i=this.content.indexOf(r,this.i),-1!=this.i&&(this.i+=r.length,this.start=this.i)}else this.i++}else this.start"==e||"/"==e){if(this.handler.onCloseTag(this.content.substring(this.start,this.i)),">"!=e&&(this.i=this.content.indexOf(">",this.i),-1==this.i))return;this.start=++this.i,this.state=this.text}else this.i++},e.exports=p}).call(this,r("df3c")["default"],r("3223")["default"])},"9d57":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},"9eec":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;"}}},"9fc1":function(e,t,r){var n=r("3b2d")["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 r},e.exports.__esModule=!0,e.exports["default"]=e.exports;var t,r={},a=Object.prototype,i=a.hasOwnProperty,s=Object.defineProperty||function(e,t,r){e[t]=r.value},u="function"==typeof Symbol?Symbol:{},c=u.iterator||"@@iterator",l=u.asyncIterator||"@@asyncIterator",d=u.toStringTag||"@@toStringTag";function f(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{f({},"")}catch(t){f=function(e,t,r){return e[t]=r}}function p(e,t,r,n){var o=t&&t.prototype instanceof T?t:T,a=Object.create(o.prototype),i=new w(n||[]);return s(a,"_invoke",{value:I(e,r,i)}),a}function h(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}r.wrap=p;var m="suspendedStart",g="executing",v="completed",y={};function T(){}function _(){}function S(){}var E={};f(E,c,(function(){return this}));var b=Object.getPrototypeOf,C=b&&b(b(L([])));C&&C!==a&&i.call(C,c)&&(E=C);var O=S.prototype=T.prototype=Object.create(E);function A(e){["next","throw","return"].forEach((function(t){f(e,t,(function(e){return this._invoke(t,e)}))}))}function R(e,t){function r(o,a,s,u){var c=h(e[o],e,a);if("throw"!==c.type){var l=c.arg,d=l.value;return d&&"object"==n(d)&&i.call(d,"__await")?t.resolve(d.__await).then((function(e){r("next",e,s,u)}),(function(e){r("throw",e,s,u)})):t.resolve(d).then((function(e){l.value=e,s(l)}),(function(e){return r("throw",e,s,u)}))}u(c.arg)}var o;s(this,"_invoke",{value:function(e,n){function a(){return new t((function(t,o){r(e,n,t,o)}))}return o=o?o.then(a,a):a()}})}function I(e,r,n){var o=m;return function(a,i){if(o===g)throw Error("Generator is already running");if(o===v){if("throw"===a)throw i;return{value:t,done:!0}}for(n.method=a,n.arg=i;;){var s=n.delegate;if(s){var u=P(s,n);if(u){if(u===y)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===m)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=g;var c=h(e,r,n);if("normal"===c.type){if(o=n.done?v:"suspendedYield",c.arg===y)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(o=v,n.method="throw",n.arg=c.arg)}}}function P(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator["return"]&&(r.method="return",r.arg=t,P(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),y;var a=h(o,e.iterator,r.arg);if("throw"===a.type)return r.method="throw",r.arg=a.arg,r.delegate=null,y;var i=a.arg;return i?i.done?(r[e.resultName]=i.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,y):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,y)}function N(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 M(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function w(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(N,this),this.reset(!0)}function L(e){if(e||""===e){var r=e[c];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,a=function r(){for(;++o=0;--o){var a=this.tryEntries[o],s=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var u=i.call(a,"catchLoc"),c=i.call(a,"finallyLoc");if(u&&c){if(this.prev=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&i.call(n,"finallyLoc")&&this.prev=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),M(r),y}},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;M(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:L(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),y}},r}e.exports=o,e.exports.__esModule=!0,e.exports["default"]=e.exports},a094: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.swipeActionItem.show},name:{type:[String,Number],default:e.$u.props.swipeActionItem.name},disabled:{type:Boolean,default:e.$u.props.swipeActionItem.disabled},autoClose:{type:Boolean,default:e.$u.props.swipeActionItem.autoClose},threshold:{type:Number,default:e.$u.props.swipeActionItem.threshold},options:{type:Array,default:function(){return e.$u.props.swipeActionItem.rightOptions}},duration:{type:[String,Number],default:e.$u.props.swipeActionItem.duration}}};t.default=r}).call(this,r("df3c")["default"])},a09e:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.detail=function(e){return(0,n.request)({url:"/goods/detail/"+e,method:"get",data:e})},t.recom=function(){return(0,n.request)({url:"/goods/recommend",method:"post"})};var n=r("391e")},a107: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("df3c")["default"])},a1a3: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("df3c")["default"])},a337:function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={props:{content:String,copyLink:{type:Boolean,default:e.$u.props.parse.copyLink},domain:String,errorImg:{type:String,default:e.$u.props.parse.errorImg},lazyLoad:{type:Boolean,default:e.$u.props.parse.lazyLoad},loadingImg:{type:String,default:e.$u.props.parse.loadingImg},pauseVideo:{type:Boolean,default:e.$u.props.parse.pauseVideo},previewImg:{type:Boolean,default:e.$u.props.parse.previewImg},scrollTable:Boolean,selectable:Boolean,setTitle:{type:Boolean,default:e.$u.props.parse.setTitle},showImgMenu:{type:Boolean,default:e.$u.props.parse.showImgMenu},tagStyle:Object,useAnchor:null}};t.default=r}).call(this,r("df3c")["default"])},a3fc:function(e,t,r){(function(e){function r(e,t){for(var r=0,n=e.length-1;n>=0;n--){var o=e[n];"."===o?e.splice(n,1):".."===o?(e.splice(n,1),r++):r&&(e.splice(n,1),r--)}if(t)for(;r--;r)e.unshift("..");return e}function n(e,t){if(e.filter)return e.filter(t);for(var r=[],n=0;n=-1&&!o;a--){var i=a>=0?arguments[a]:e.cwd();if("string"!==typeof i)throw new TypeError("Arguments to path.resolve must be strings");i&&(t=i+"/"+t,o="/"===i.charAt(0))}return t=r(n(t.split("/"),(function(e){return!!e})),!o).join("/"),(o?"/":"")+t||"."},t.normalize=function(e){var a=t.isAbsolute(e),i="/"===o(e,-1);return e=r(n(e.split("/"),(function(e){return!!e})),!a).join("/"),e||a||(e="."),e&&i&&(e+="/"),(a?"/":"")+e},t.isAbsolute=function(e){return"/"===e.charAt(0)},t.join=function(){var e=Array.prototype.slice.call(arguments,0);return t.normalize(n(e,(function(e,t){if("string"!==typeof e)throw new TypeError("Arguments to path.join must be strings");return e})).join("/"))},t.relative=function(e,r){function n(e){for(var t=0;t=0;r--)if(""!==e[r])break;return t>r?[]:e.slice(t,r-t+1)}e=t.resolve(e).substr(1),r=t.resolve(r).substr(1);for(var o=n(e.split("/")),a=n(r.split("/")),i=Math.min(o.length,a.length),s=i,u=0;u=1;--a)if(t=e.charCodeAt(a),47===t){if(!o){n=a;break}}else o=!1;return-1===n?r?"/":".":r&&1===n?"/":e.slice(0,n)},t.basename=function(e,t){var r=function(e){"string"!==typeof e&&(e+="");var t,r=0,n=-1,o=!0;for(t=e.length-1;t>=0;--t)if(47===e.charCodeAt(t)){if(!o){r=t+1;break}}else-1===n&&(o=!1,n=t+1);return-1===n?"":e.slice(r,n)}(e);return t&&r.substr(-1*t.length)===t&&(r=r.substr(0,r.length-t.length)),r},t.extname=function(e){"string"!==typeof e&&(e+="");for(var t=-1,r=0,n=-1,o=!0,a=0,i=e.length-1;i>=0;--i){var s=e.charCodeAt(i);if(47!==s)-1===n&&(o=!1,n=i+1),46===s?-1===t?t=i:1!==a&&(a=1):-1!==t&&(a=-1);else if(!o){r=i+1;break}}return-1===t||-1===n||0===a||1===a&&t===n-1&&t===r+1?"":e.slice(t,n)};var o="b"==="ab".substr(-1)?function(e,t,r){return e.substr(t,r)}:function(e,t,r){return t<0&&(t=e.length+t),e.substr(t,r)}}).call(this,r("28d0"))},a61d: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:""}}},a708:function(e,t,r){var n=r("6454");e.exports=function(e){if(Array.isArray(e))return n(e)},e.exports.__esModule=!0,e.exports["default"]=e.exports},a921:function(e,t,r){"use strict";var n=r("47a9");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(r("7ca3")),a=r("3f1d");function i(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;t1&&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,a.deepMerge)(e.header||{},t.header||{})},o=["getTask","validateStatus"];if(n=s(s({},n),u(o,e,t)),"DOWNLOAD"===r);else if("UPLOAD"===r){delete n.header["content-type"],delete n.header["Content-Type"];var i=["filePath","name","formData"];i.forEach((function(e){(0,a.isUndefined)(t[e])||(n[e]=t[e])}))}else{var c=["data","timeout","dataType","responseType"];n=s(s({},n),u(c,e,t))}return n}},a959: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}}},aaae: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("df3c")["default"])},abb0:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={props:{}}},abeb:function(e,t){},abed: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}}},abf2:function(e,t,r){(function(e,n,o){var a,i,s,u=r("3b2d");!function(e,r){"object"==u(t)&&"object"==u(o)?o.exports=r():(i=[],a=r,s="function"===typeof a?a.apply(t,i):a,void 0===s||(o.exports=s))}(0,(function(){return function(){var t={188:function(e,t,r){var n,o,a;!function(i){"use strict";if(null!=t&&"number"!=typeof t.nodeType)e.exports=i();else if(null!=r.amdO)o=[],void 0===(a="function"==typeof(n=i)?n.apply(t,o):n)||(e.exports=a);else{var s=i(),u="undefined"!=typeof self?self:$.global;"function"!=typeof u.btoa&&(u.btoa=s.btoa),"function"!=typeof u.atob&&(u.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,a=String(r),i=0,s=e,u="";a.charAt(0|i)||(s="=",i%1);u+=s.charAt(63&n>>8-i%1*8)){if((o=a.charCodeAt(i+=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 u},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,a,i=0,s=0,u="";a=n.charAt(s++);~a&&(o=i%4?64*o+a:a,i++%4)?u+=String.fromCharCode(255&o>>(-2*i&6)):0)a=e.indexOf(a);return u}}}))},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={},a={};function i(e,t){var r,n,i;return t?(i=0<=(e>>>=0)&&e<256)&&(n=a[e])?n:(r=u(e,(0|e)<0?-1:0,!0),i&&(a[e]=r),r):(i=-128<=(e|=0)&&e<128)&&(n=o[e])?n:(r=u(e,e<0?-1:0,!1),i&&(o[e]=r),r)}function s(e,t){if(isNaN(e))return t?v:g;if(t){if(e<0)return v;if(e>=p)return E}else{if(e<=-h)return b;if(e+1>=h)return S}return e<0?s(-e,t).neg():u(e%f|0,e/f|0,t)}function u(e,t,n){return new r(e,t,n)}r.fromInt=i,r.fromNumber=s,r.fromBits=u;var c=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||360)throw Error("interior hyphen");if(0===n)return l(e.substring(1),t,r).neg();for(var o=s(c(r,8)),a=g,i=0;i>>0:this.low},C.toNumber=function(){return this.unsigned?(this.high>>>0)*f+(this.low>>>0):this.high*f+(this.low>>>0)},C.toString=function(e){if((e=e||10)<2||36>>0).toString(e);if((a=u).isZero())return l+i;for(;l.length<6;)l="0"+l;i=""+l+i}},C.getHighBits=function(){return this.high},C.getHighBitsUnsigned=function(){return this.high>>>0},C.getLowBits=function(){return this.low},C.getLowBitsUnsigned=function(){return this.low>>>0},C.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<=0},C.isOdd=function(){return 1==(1&this.low)},C.isEven=function(){return 0==(1&this.low)},C.equals=function(e){return n(e)||(e=d(e)),(this.unsigned===e.unsigned||this.high>>>31!=1||e.high>>>31!=1)&&this.high===e.high&&this.low===e.low},C.eq=C.equals,C.notEquals=function(e){return!this.eq(e)},C.neq=C.notEquals,C.ne=C.notEquals,C.lessThan=function(e){return this.comp(e)<0},C.lt=C.lessThan,C.lessThanOrEqual=function(e){return this.comp(e)<=0},C.lte=C.lessThanOrEqual,C.le=C.lessThanOrEqual,C.greaterThan=function(e){return this.comp(e)>0},C.gt=C.greaterThan,C.greaterThanOrEqual=function(e){return this.comp(e)>=0},C.gte=C.greaterThanOrEqual,C.ge=C.greaterThanOrEqual,C.compare=function(e){if(n(e)||(e=d(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},C.comp=C.compare,C.negate=function(){return!this.unsigned&&this.eq(b)?b:this.not().add(y)},C.neg=C.negate,C.add=function(e){n(e)||(e=d(e));var t=this.high>>>16,r=65535&this.high,o=this.low>>>16,a=65535&this.low,i=e.high>>>16,s=65535&e.high,c=e.low>>>16,l=0,f=0,p=0,h=0;return p+=(h+=a+(65535&e.low))>>>16,f+=(p+=o+c)>>>16,l+=(f+=r+s)>>>16,l+=t+i,u((p&=65535)<<16|(h&=65535),(l&=65535)<<16|(f&=65535),this.unsigned)},C.subtract=function(e){return n(e)||(e=d(e)),this.add(e.neg())},C.sub=C.subtract,C.multiply=function(e){if(this.isZero())return g;if(n(e)||(e=d(e)),t)return u(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,a=this.low>>>16,i=65535&this.low,c=e.high>>>16,l=65535&e.high,f=e.low>>>16,p=65535&e.low,h=0,v=0,y=0,T=0;return y+=(T+=i*p)>>>16,v+=(y+=a*p)>>>16,y&=65535,v+=(y+=i*f)>>>16,h+=(v+=o*p)>>>16,v&=65535,h+=(v+=a*f)>>>16,v&=65535,h+=(v+=i*l)>>>16,h+=r*p+o*f+a*l+i*c,u((y&=65535)<<16|(T&=65535),(h&=65535)<<16|(v&=65535),this.unsigned)},C.mul=C.multiply,C.divide=function(e){if(n(e)||(e=d(e)),e.isZero())throw Error("division by zero");var r,o,a;if(t)return this.unsigned||-2147483648!==this.high||-1!==e.low||-1!==e.high?u((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?v:g;if(this.unsigned){if(e.unsigned||(e=e.toUnsigned()),e.gt(this))return v;if(e.gt(this.shru(1)))return T;a=v}else{if(this.eq(b))return e.eq(y)||e.eq(_)?b:e.eq(b)?y:(r=this.shr(1).div(e).shl(1)).eq(g)?e.isNegative()?y:_:(o=this.sub(e.mul(r)),a=r.add(o.div(e)));if(e.eq(b))return this.unsigned?v: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();a=g}for(o=this;o.gte(e);){r=Math.max(1,Math.floor(o.toNumber()/e.toNumber()));for(var i=Math.ceil(Math.log(r)/Math.LN2),l=i<=48?1:c(2,i-48),f=s(r),p=f.mul(e);p.isNegative()||p.gt(o);)p=(f=s(r-=l,this.unsigned)).mul(e);f.isZero()&&(f=y),a=a.add(f),o=o.sub(p)}return a},C.div=C.divide,C.modulo=function(e){return n(e)||(e=d(e)),t?u((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))},C.mod=C.modulo,C.rem=C.modulo,C.not=function(){return u(~this.low,~this.high,this.unsigned)},C.and=function(e){return n(e)||(e=d(e)),u(this.low&e.low,this.high&e.high,this.unsigned)},C.or=function(e){return n(e)||(e=d(e)),u(this.low|e.low,this.high|e.high,this.unsigned)},C.xor=function(e){return n(e)||(e=d(e)),u(this.low^e.low,this.high^e.high,this.unsigned)},C.shiftLeft=function(e){return n(e)&&(e=e.toInt()),0==(e&=63)?this:e<32?u(this.low<>>32-e,this.unsigned):u(0,this.low<>>e|this.high<<32-e,this.high>>e,this.unsigned):u(this.high>>e-32,this.high>=0?0:-1,this.unsigned)},C.shr=C.shiftRight,C.shiftRightUnsigned=function(e){if(n(e)&&(e=e.toInt()),0==(e&=63))return this;var t=this.high;return e<32?u(this.low>>>e|t<<32-e,t>>>e,this.unsigned):u(32===e?t:t>>>e-32,0,this.unsigned)},C.shru=C.shiftRightUnsigned,C.shr_u=C.shiftRightUnsigned,C.toSigned=function(){return this.unsigned?u(this.low,this.high,!1):this},C.toUnsigned=function(){return this.unsigned?this:u(this.low,this.high,!0)},C.toBytes=function(e){return e?this.toBytesLE():this.toBytesBE()},C.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]},C.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;n1&&"="===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,a=null,i=[],s=0,u=0;t>2],o=(3&c)<<4,u=1;break;case 1:i[s++]=r[o|c>>4],o=(15&c)<<2,u=2;break;case 2:i[s++]=r[o|c>>6],i[s++]=r[63&c],u=0}s>8191&&((a||(a=[])).push(String.fromCharCode.apply(String,i)),s=0)}return u&&(i[s++]=r[o],i[s++]=61,1===u&&(i[s++]=61)),a?(s&&a.push(String.fromCharCode.apply(String,i.slice(0,s))),a.join("")):String.fromCharCode.apply(String,i.slice(0,s))};var a="invalid encoding";t.decode=function(e,t,r){for(var o,i=r,s=0,u=0;u1)break;if(void 0===(c=n[c]))throw Error(a);switch(s){case 0:o=c,s=1;break;case 1:t[r++]=o<<2|(48&c)>>4,o=c,s=2;break;case 2:t[r++]=(15&o)<<4|(60&c)>>2,o=c,s=3;break;case 3:t[r++]=(3&o)<<6|c,s=0}}if(1===s)throw Error(a);return r-i},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,a=e.exports;function i(e,t,r,a){var i=a.m,s=a.d,c=a.types,l=a.ksi,d=void 0!==l;if(e.resolvedType)if(e.resolvedType instanceof n){for(var f=d?s[r][l]:s[r],p=e.resolvedType.values,h=Object.keys(p),m=0;m>>0:i[r]=s[r]>>>0;break;case"int32":case"sint32":case"sfixed32":d?i[r][l]=0|s[r][l]:i[r]=0|s[r];break;case"uint64":g=!0;case"int64":case"sint64":case"fixed64":case"sfixed64":o.Long?d?i[r][l]=o.Long.fromValue(s[r][l]).unsigned=g:i[r]=o.Long.fromValue(s[r]).unsigned=g:"string"==typeof(d?s[r][l]:s[r])?d?i[r][l]=parseInt(s[r][l],10):i[r]=parseInt(s[r],10):"number"==typeof(d?s[r][l]:s[r])?d?i[r][l]=s[r][l]:i[r]=s[r]:"object"==u(d?s[r][l]:s[r])&&(d?i[r][l]=new o.LongBits(s[r][l].low>>>0,s[r][l].high>>>0).toNumber(g):i[r]=new o.LongBits(s[r].low>>>0,s[r].high>>>0).toNumber(g));break;case"bytes":"string"==typeof(d?s[r][l]:s[r])?d?o.base64.decode(s[r][l],i[r][l]=o.newBuffer(o.base64.length(s[r][l])),0):o.base64.decode(s[r],i[r]=o.newBuffer(o.base64.length(s[r])),0):(d?s[r][l]:s[r]).length&&(d?i[r][l]=s[r][l]:i[r]=s[r]);break;case"string":d?i[r][l]=String(s[r][l]):i[r]=String(s[r]);break;case"bool":d?i[r][l]=Boolean(s[r][l]):i[r]=Boolean(s[r])}}}function s(e,t,r,a){var i=a.m,s=a.d,u=a.types,c=a.ksi,l=a.o,d=void 0!==c;if(e.resolvedType)e.resolvedType instanceof n?d?s[r][c]=l.enums===String?u[t].values[i[r][c]]:i[r][c]:s[r]=l.enums===String?u[t].values[i[r]]:i[r]:d?s[r][c]=u[t].toObject(i[r][c],l):s[r]=u[t].toObject(i[r],l);else{var f=!1;switch(e.type){case"double":case"float":d?s[r][c]=l.json&&!isFinite(i[r][c])?String(i[r][c]):i[r][c]:s[r]=l.json&&!isFinite(i[r])?String(i[r]):i[r];break;case"uint64":f=!0;case"int64":case"sint64":case"fixed64":case"sfixed64":"number"==typeof i[r][c]?d?s[r][c]=l.longs===String?String(i[r][c]):i[r][c]:s[r]=l.longs===String?String(i[r]):i[r]:d?s[r][c]=l.longs===String?o.Long.prototype.toString.call(i[r][c]):l.longs===Number?new o.LongBits(i[r][c].low>>>0,i[r][c].high>>>0).toNumber(f):i[r][c]:s[r]=l.longs===String?o.Long.prototype.toString.call(i[r]):l.longs===Number?new o.LongBits(i[r].low>>>0,i[r].high>>>0).toNumber(f):i[r];break;case"bytes":d?s[r][c]=l.bytes===String?o.base64.encode(i[r][c],0,i[r][c].length):l.bytes===Array?Array.prototype.slice.call(i[r][c]):i[r][c]:s[r]=l.bytes===String?o.base64.encode(i[r],0,i[r].length):l.bytes===Array?Array.prototype.slice.call(i[r]):i[r];break;default:d?s[r][c]=i[r][c]:s[r]=i[r]}}}a._configure=function(){n=r(582),o=r(935)},a.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 a=new this.ctor,s=0;s>>3,g=0,v=!1;g>>0).fork().uint32(8|o.mapKey[l.keyType])[l.keyType](m[g]),void 0===p?a[d].encode(h[m[g]],s.uint32(18).fork()).ldelim().ldelim():s.uint32(16|p)[f](h[m[g]]).ldelim()}else if(l.repeated){if(h&&h.length)if(l.packed&&void 0!==o.packed[f]){s.uint32((l.id<<3|2)>>>0).fork();for(var v=0;v>>0)).uint32((l.id<<3|4)>>>0):a[d].encode(h[y],s.uint32((l.id<<3|2)>>>0).fork()).ldelim():s.uint32((l.id<<3|p)>>>0)[f](h[y])}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===p?l.resolvedType.group?a[d].encode(h,s.uint32((l.id<<3|3)>>>0)).uint32((l.id<<3|4)>>>0):a[d].encode(h,s.uint32((l.id<<3|2)>>>0).fork()).ldelim():s.uint32((l.id<<3|p)>>>0)[f](h))}return s}}}e.exports=a,a._configure=function(){n=r(582),o=r(696)}},582:function(e,t,r){e.exports=a;var n=r(998);((a.prototype=Object.create(n.prototype)).constructor=a).className="Enum";var o=r(476);function a(e,t,r,o,a){if(n.call(this,e,r),t&&"object"!=u(t))throw TypeError("values must be an object");if(this.valuesById={},this.values=Object.create(this.valuesById),this.comment=o,this.comments=a||{},this.reserved=void 0,t)for(var i=Object.keys(t),s=0;s0?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 a=Math.floor(Math.log(t)/Math.LN2);e((o<<31|a+127<<23|8388607&Math.round(t*Math.pow(2,-a)*8388608))>>>0,r,n)}}function i(e,t,r){var n=e(t,r),o=2*(n>>31)+1,a=n>>>23&255,i=8388607&n;return 255===a?i?NaN:o*(1/0):0===a?1401298464324817e-60*o*i:o*Math.pow(2,a-150)*(i+8388608)}e.writeFloatLE=t.bind(null,r),e.writeFloatBE=t.bind(null,n),e.readFloatLE=i.bind(null,o),e.readFloatBE=i.bind(null,a)}(),"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 a(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 i(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:a,e.writeDoubleBE=n?a:o,e.readDoubleLE=n?i:s,e.readDoubleBE=n?s:i}():function(){function t(e,t,r,n,o,a){var i=n<0?1:0;if(i&&(n=-n),0===n)e(0,o,a+t),e(1/n>0?0:2147483648,o,a+r);else if(isNaN(n))e(0,o,a+t),e(2146959360,o,a+r);else if(n>17976931348623157e292)e(0,o,a+t),e((i<<31|2146435072)>>>0,o,a+r);else{var s;if(n<22250738585072014e-324)e((s=n/5e-324)>>>0,o,a+t),e((i<<31|s/4294967296)>>>0,o,a+r);else{var u=Math.floor(Math.log(n)/Math.LN2);1024===u&&(u=1023),e(4503599627370496*(s=n*Math.pow(2,-u))>>>0,o,a+t),e((i<<31|u+1023<<20|1048576*s&1048575)>>>0,o,a+r)}}}function i(e,t,r,n,o){var a=e(n,o+t),i=e(n,o+r),s=2*(i>>31)+1,u=i>>>20&2047,c=4294967296*(1048575&i)+a;return 2047===u?c?NaN:s*(1/0):0===u?5e-324*s*c:s*Math.pow(2,u-1075)*(c+4503599627370496)}e.writeDoubleLE=t.bind(null,r,0,4),e.writeDoubleBE=t.bind(null,n,4,0),e.readDoubleLE=i.bind(null,o,0,4),e.readDoubleBE=i.bind(null,a,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 a(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={},a={};function i(e,t){var r,n,i;return t?(i=0<=(e>>>=0)&&e<256)&&(n=a[e])?n:(r=u(e,(0|e)<0?-1:0,!0),i&&(a[e]=r),r):(i=-128<=(e|=0)&&e<128)&&(n=o[e])?n:(r=u(e,e<0?-1:0,!1),i&&(o[e]=r),r)}function s(e,t){if(isNaN(e))return t?v:g;if(t){if(e<0)return v;if(e>=p)return E}else{if(e<=-h)return b;if(e+1>=h)return S}return e<0?s(-e,t).neg():u(e%f|0,e/f|0,t)}function u(e,t,n){return new r(e,t,n)}r.fromInt=i,r.fromNumber=s,r.fromBits=u;var c=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||360)throw Error("interior hyphen");if(0===n)return l(e.substring(1),t,r).neg();for(var o=s(c(r,8)),a=g,i=0;i>>0:this.low},C.toNumber=function(){return this.unsigned?(this.high>>>0)*f+(this.low>>>0):this.high*f+(this.low>>>0)},C.toString=function(e){if((e=e||10)<2||36>>0).toString(e);if((a=u).isZero())return l+i;for(;l.length<6;)l="0"+l;i=""+l+i}},C.getHighBits=function(){return this.high},C.getHighBitsUnsigned=function(){return this.high>>>0},C.getLowBits=function(){return this.low},C.getLowBitsUnsigned=function(){return this.low>>>0},C.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<=0},C.isOdd=function(){return 1==(1&this.low)},C.isEven=function(){return 0==(1&this.low)},C.equals=function(e){return n(e)||(e=d(e)),(this.unsigned===e.unsigned||this.high>>>31!=1||e.high>>>31!=1)&&this.high===e.high&&this.low===e.low},C.eq=C.equals,C.notEquals=function(e){return!this.eq(e)},C.neq=C.notEquals,C.ne=C.notEquals,C.lessThan=function(e){return this.comp(e)<0},C.lt=C.lessThan,C.lessThanOrEqual=function(e){return this.comp(e)<=0},C.lte=C.lessThanOrEqual,C.le=C.lessThanOrEqual,C.greaterThan=function(e){return this.comp(e)>0},C.gt=C.greaterThan,C.greaterThanOrEqual=function(e){return this.comp(e)>=0},C.gte=C.greaterThanOrEqual,C.ge=C.greaterThanOrEqual,C.compare=function(e){if(n(e)||(e=d(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},C.comp=C.compare,C.negate=function(){return!this.unsigned&&this.eq(b)?b:this.not().add(y)},C.neg=C.negate,C.add=function(e){n(e)||(e=d(e));var t=this.high>>>16,r=65535&this.high,o=this.low>>>16,a=65535&this.low,i=e.high>>>16,s=65535&e.high,c=e.low>>>16,l=0,f=0,p=0,h=0;return p+=(h+=a+(65535&e.low))>>>16,f+=(p+=o+c)>>>16,l+=(f+=r+s)>>>16,l+=t+i,u((p&=65535)<<16|(h&=65535),(l&=65535)<<16|(f&=65535),this.unsigned)},C.subtract=function(e){return n(e)||(e=d(e)),this.add(e.neg())},C.sub=C.subtract,C.multiply=function(e){if(this.isZero())return g;if(n(e)||(e=d(e)),t)return u(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,a=this.low>>>16,i=65535&this.low,c=e.high>>>16,l=65535&e.high,f=e.low>>>16,p=65535&e.low,h=0,v=0,y=0,T=0;return y+=(T+=i*p)>>>16,v+=(y+=a*p)>>>16,y&=65535,v+=(y+=i*f)>>>16,h+=(v+=o*p)>>>16,v&=65535,h+=(v+=a*f)>>>16,v&=65535,h+=(v+=i*l)>>>16,h+=r*p+o*f+a*l+i*c,u((y&=65535)<<16|(T&=65535),(h&=65535)<<16|(v&=65535),this.unsigned)},C.mul=C.multiply,C.divide=function(e){if(n(e)||(e=d(e)),e.isZero())throw Error("division by zero");var r,o,a;if(t)return this.unsigned||-2147483648!==this.high||-1!==e.low||-1!==e.high?u((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?v:g;if(this.unsigned){if(e.unsigned||(e=e.toUnsigned()),e.gt(this))return v;if(e.gt(this.shru(1)))return T;a=v}else{if(this.eq(b))return e.eq(y)||e.eq(_)?b:e.eq(b)?y:(r=this.shr(1).div(e).shl(1)).eq(g)?e.isNegative()?y:_:(o=this.sub(e.mul(r)),a=r.add(o.div(e)));if(e.eq(b))return this.unsigned?v: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();a=g}for(o=this;o.gte(e);){r=Math.max(1,Math.floor(o.toNumber()/e.toNumber()));for(var i=Math.ceil(Math.log(r)/Math.LN2),l=i<=48?1:c(2,i-48),f=s(r),p=f.mul(e);p.isNegative()||p.gt(o);)p=(f=s(r-=l,this.unsigned)).mul(e);f.isZero()&&(f=y),a=a.add(f),o=o.sub(p)}return a},C.div=C.divide,C.modulo=function(e){return n(e)||(e=d(e)),t?u((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))},C.mod=C.modulo,C.rem=C.modulo,C.not=function(){return u(~this.low,~this.high,this.unsigned)},C.and=function(e){return n(e)||(e=d(e)),u(this.low&e.low,this.high&e.high,this.unsigned)},C.or=function(e){return n(e)||(e=d(e)),u(this.low|e.low,this.high|e.high,this.unsigned)},C.xor=function(e){return n(e)||(e=d(e)),u(this.low^e.low,this.high^e.high,this.unsigned)},C.shiftLeft=function(e){return n(e)&&(e=e.toInt()),0==(e&=63)?this:e<32?u(this.low<>>32-e,this.unsigned):u(0,this.low<>>e|this.high<<32-e,this.high>>e,this.unsigned):u(this.high>>e-32,this.high>=0?0:-1,this.unsigned)},C.shr=C.shiftRight,C.shiftRightUnsigned=function(e){if(n(e)&&(e=e.toInt()),0==(e&=63))return this;var t=this.high;return e<32?u(this.low>>>e|t<<32-e,t>>>e,this.unsigned):u(32===e?t:t>>>e-32,0,this.unsigned)},C.shru=C.shiftRightUnsigned,C.shr_u=C.shiftRightUnsigned,C.toSigned=function(){return this.unsigned?u(this.low,this.high,!1):this},C.toUnsigned=function(){return this.unsigned?this:u(this.low,this.high,!0)},C.toBytes=function(e){return e?this.toBytesLE():this.toBytesBE()},C.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]},C.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 a=o.zero=new o(0,0);a.toNumber=function(){return 0},a.zzEncode=a.zzDecode=function(){return this},a.length=function(){return 1};var i=o.zeroHash="\0\0\0\0\0\0\0\0";o.fromNumber=function(e){if(0===e)return a;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):a},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===i?a: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=i;var n,o,a=r(286);function i(e,t,r,n,i,s){if(a.call(this,e,t,n,void 0,void 0,i,s),!o.isString(r))throw TypeError("keyType must be a string");this.keyType=r,this.resolvedKeyType=null,this.map=!0}((i.prototype=Object.create(a.prototype)).constructor=i).className="MapField",i.fromJSON=function(e,t){return new i(e,t.id,t.keyType,t.type,t.options,t.comment)},i.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])},i.prototype.resolve=function(){if(this.resolved)return this;if(void 0===n.mapKey[this.keyType])throw Error("invalid key type: "+this.keyType);return a.prototype.resolve.call(this)},i.d=function(e,t,r){return"function"==typeof r?r=o.decorateType(r).name:r&&"object"==u(r)&&(r=o.decorateEnum(r).name),function(n,a){o.decorateType(n.constructor).add(new i(a,e,t,r))}},i._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)return!0;return!1},l.isReservedName=function(e,t){if(e)for(var r=0;r0;){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-1)return n}else if(n instanceof l&&(n=n.lookup(e.slice(1),t,!0)))return n}else for(var o=0;o-1&&this.oneof.splice(t,1),e.partOf=null,this},i.prototype.onAdd=function(e){a.prototype.onAdd.call(this,e);for(var t=0;t");var n=M();if(!S.test(n))throw Z(n,"name");k("=");var o=new s(H(n),j(M()),t,r);K(o,(function(e){if("option"!==e)throw Z(e);$(o,e),k(";")}),(function(){V(o)})),e.add(o)}(r);break;case"required":case"optional":case"repeated":z(r,e);break;case"oneof":!function(e,t){if(!S.test(t=M()))throw Z(t,"name");var r=new u(H(t));K(r,(function(e){"option"===e?($(r,e),k(";")):(w(e),z(r,"optional"))})),e.add(r)}(r,e);break;case"extensions":G(r.extensions||(r.extensions=[]));break;case"reserved":G(r.reserved||(r.reserved=[]),!0);break;default:if(!x||!E.test(e))throw Z(e);w(e),z(r,"optional")}})),e.add(r)}(e,t),!0;case"enum":return function(e,t){if(!S.test(t=M()))throw Z(t,"name");var r=new c(t);K(r,(function(e){switch(e){case"option":$(r,e),k(";");break;case"reserved":G(r.reserved||(r.reserved=[]),!0);break;default:!function(e,t){if(!S.test(t))throw Z(t,"name");k("=");var r=j(M(),!0),n={};K(n,(function(e){if("option"!==e)throw Z(e);$(n,e),k(";")}),(function(){V(n)})),e.add(t,r,n.comment)}(r,e)}})),e.add(r)}(e,t),!0;case"service":return function(e,t){if(!S.test(t=M()))throw Z(t,"service name");var r=new l(t);K(r,(function(e){if(!W(r,e)){if("rpc"!==e)throw Z(e);!function(e,t){var r=t;if(!S.test(t=M()))throw Z(t,"name");var n,o,a,i,s=t;if(k("("),k("stream",!0)&&(o=!0),!E.test(t=M()))throw Z(t);if(n=t,k(")"),k("returns"),k("("),k("stream",!0)&&(i=!0),!E.test(t=M()))throw Z(t);a=t,k(")");var u=new d(s,r,n,a,o,i);K(u,(function(e){if("option"!==e)throw Z(e);$(u,e),k(";")})),e.add(u)}(r,e)}})),e.add(r)}(e,t),!0;case"extend":return function(e,t){if(!E.test(t=M()))throw Z(t,"reference");var r=t;K(null,(function(t){switch(t){case"required":case"repeated":case"optional":z(e,t,r);break;default:if(!x||!E.test(t))throw Z(t);w(t),z(e,"optional",r)}}))}(e,t),!0}return!1}function K(e,t,r){var n=N.line;if(e&&(e.comment=B(),e.filename=C.filename),k("{",!0)){for(var o;"}"!==(o=M());)t(o);k(";",!0)}else r&&r(),k(";"),e&&"string"!=typeof e.comment&&(e.comment=B(n))}function z(e,t,r){var n=M();if("group"!==n){if(!E.test(n))throw Z(n,"type");var o=M();if(!S.test(o))throw Z(o,"name");o=H(o),k("=");var s=new i(o,j(M()),n,t,r);K(s,(function(e){if("option"!==e)throw Z(e);$(s,e),k(";")}),(function(){V(s)})),e.add(s),x||!s.repeated||void 0===f.packed[n]&&void 0!==f.basic[n]||s.setOption("packed",!1,!0)}else!function(e,t){var r=M();if(!S.test(r))throw Z(r,"name");var n=p.lcFirst(r);r===n&&(r=p.ucFirst(r)),k("=");var o=j(M()),s=new a(r);s.group=!0;var u=new i(n,o,r,t);u.filename=C.filename,K(s,(function(e){switch(e){case"option":$(s,e),k(";");break;case"required":case"optional":case"repeated":z(s,e);break;default:throw Z(e)}})),e.add(s).add(u)}(e,t)}function $(e,t){var r=k("(",!0);if(!E.test(t=M()))throw Z(t,"name");var n=t;r&&(k(")"),n="("+n+")",t=L(),b.test(t)&&(n+=t,M())),k("="),function e(t,r){if(k("{",!0))do{if(!S.test(P=M()))throw Z(P,"name");"{"===L()?e(t,r+"."+P):(k(":"),"{"===L()?e(t,r+"."+P):q(t,r+"."+P,J(!0)))}while(!k("}",!0));else q(t,r,J(!0))}(e,n)}function q(e,t,r){e.setOption&&e.setOption(t,r)}function V(e){if(k("[",!0)){do{$(e,"option")}while(k(",",!0));k("]")}return e}for(;null!==(P=M());)switch(P){case"package":if(!D)throw Z(P);X();break;case"import":if(!D)throw Z(P);F();break;case"syntax":if(!D)throw Z(P);Q();break;case"option":if(!D)throw Z(P);$(Y,P),k(";");break;default:if(W(Y,P)){D=!1;continue}throw Z(P)}return C.filename=null,{package:O,imports:A,weakImports:R,syntax:I,root:t}}C._configure=function(){n=r(869),o=r(685),a=r(192),i=r(286),s=r(435),u=r(735),c=r(582),l=r(447),d=r(484),f=r(696),p=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 a=0;a0&&".."!==t[a-1]?t.splice(--a,2):n?t.splice(a,1):++a:"."===t[a]?t.splice(a,1):++a;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,a=null,i=n;return function(r){if(r<1||r>o)return e(r);i+r>n&&(a=e(n),i=0);var s=t.call(a,i,i+=r);return 7&i&&(i=1+(7|i)),s}}},494:function(e,t,r){e.exports=s;var n,o,a=r(935);function i(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 u,c="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 i(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 i(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 d(e,t){return(e[t-4]|e[t-3]<<8|e[t-2]<<16|e[t-1]<<24)>>>0}function f(){if(this.pos+8>this.len)throw i(this,8);return new n(d(this.buf,this.pos+=4),d(this.buf,this.pos+=4))}s.create=a.Buffer?function(e){return(s.create=function(e){return a.Buffer.isBuffer(e)?new(void 0)(e):c(e)})(e)}:c,s.prototype._slice=a.Array.prototype.subarray||a.Array.prototype.slice,s.prototype.uint32=(u=4294967295,function(){if(u=(127&this.buf[this.pos])>>>0,this.buf[this.pos++]<128)return u;if(u=(u|(127&this.buf[this.pos])<<7)>>>0,this.buf[this.pos++]<128)return u;if(u=(u|(127&this.buf[this.pos])<<14)>>>0,this.buf[this.pos++]<128)return u;if(u=(u|(127&this.buf[this.pos])<<21)>>>0,this.buf[this.pos++]<128)return u;if(u=(u|(15&this.buf[this.pos])<<28)>>>0,this.buf[this.pos++]<128)return u;if((this.pos+=5)>this.len)throw this.pos=this.len,i(this,10);return u}),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 i(this,4);return d(this.buf,this.pos+=4)},s.prototype.sfixed32=function(){if(this.pos+4>this.len)throw i(this,4);return 0|d(this.buf,this.pos+=4)},s.prototype.float=function(){if(this.pos+4>this.len)throw i(this,4);var e=a.float.readFloatLE(this.buf,this.pos);return this.pos+=4,e},s.prototype.double=function(){if(this.pos+8>this.len)throw i(this,4);var e=a.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 i(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 i(this,e);this.pos+=e}else do{if(this.pos>=this.len)throw i(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=a.Long?"toLong":"toNumber";a.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 f.call(this)[e](!0)},sfixed64:function(){return f.call(this)[e](!1)}})}},685:function(e,t,r){e.exports=f;var n=r(476);((f.prototype=Object.create(n.prototype)).constructor=f).className="Root";var o,a,i,s=r(286),c=r(582),l=r(735),d=r(935);function f(e){n.call(this,"",e),this.deferred=[],this.files=[],this.names=[]}function p(){}f.fromJSON=function(e,t){return e="string"==typeof e?JSON.parse(e):e,t||(t=new f),e.options&&t.setOptions(e.options),t.addJSON(e.nested)},f.prototype.resolvePath=d.path.resolve,f.prototype.parseFromPbString=function e(t,r,n){"function"==typeof r&&(n=r,r=void 0);var o=this;if(!n)return d.asPromise(e,o,t,r);var s=null;if("string"==typeof t)s=JSON.parse(t);else{if("object"!=u(t))return void console.log("pb格式转化失败");s=t}function c(e,t){if(n){var r=n;n=null,r(e,t)}}function l(e,t){try{if(d.isString(t)&&"{"===t.charAt(0)&&(t=JSON.parse(t)),d.isString(t)){a.filename=e;var n,i=a(t,o,r),s=0;if(i.imports)for(;s-1||(o.names.push(e),e in i&&l(e,i[e]))}l(s.name,s.pbJsonStr)},f.prototype.load=function e(t,r,n){"function"==typeof r&&(n=r,r=void 0);var o=this;if(!n)return d.asPromise(e,o,t,r);var s=n===p;function u(e,t){if(n){var r=n;if(n=null,s)throw e;r(e,t)}}function c(e,t){try{if(d.isString(t)&&"{"===t.charAt(0)&&(t=JSON.parse(t)),d.isString(t)){a.filename=e;var n,i=a(t,o,r),c=0;if(i.imports)for(;c-1){var a=e.substring(r);a in i&&(e=a)}if(!(o.files.indexOf(e)>-1))if(o.files.push(e),e in i)s?c(e,i[e]):(++f,setTimeout((function(){--f,c(e,i[e])})));else if(s){var l;try{l=d.fs.readFileSync(e).toString("utf8")}catch(e){return void(t||u(e))}c(e,l)}else++f,d.fetch(e,(function(r,a){--f,n&&(r?t?f||u(null,o):u(r):c(e,a))}))}var f=0;d.isString(t)&&(t=[t]);for(var h,m=0;m-1&&this.deferred.splice(t,1)}}else if(e instanceof c)h.test(e.name)&&delete e.parent[e.name];else if(e instanceof n){for(var r=0;r]/g,r=/(?:"([^"\\]*(?:\\.[^"\\]*)*)")/g,n=/(?:'([^'\\]*(?:\\.[^'\\]*)*)')/g,o=/^ *[*/]+ */,a=/^\s*\*?\/*/,i=/\n/g,s=/\s/,u=/\\(.?)/g,c={0:"\0",r:"\r",n:"\n",t:"\t"};function l(e){return e.replace(u,(function(e,t){switch(t){case"\\":case"":return t;default:return c[t]||""}}))}function d(e,u){e=e.toString();var c=0,d=e.length,f=1,p=null,h=null,m=0,g=!1,v=[],y=null;function T(e){return Error("illegal "+e+" (line "+f+")")}function _(t){return e.charAt(t)}function S(t,r){p=e.charAt(t++),m=f,g=!1;var n,s=t-(u?2:3);do{if(--s<0||"\n"===(n=e.charAt(s))){g=!0;break}}while(" "===n||"\t"===n);for(var c=e.substring(t,r).split(i),l=0;l0)return v.shift();if(y)return function(){var t="'"===y?n:r;t.lastIndex=c-1;var o=t.exec(e);if(!o)throw T("string");return c=t.lastIndex,O(y),y=null,l(o[1])}();var o,a,i,p,h;do{if(c===d)return null;for(o=!1;s.test(i=_(c));)if("\n"===i&&++f,++c===d)return null;if("/"===_(c)){if(++c===d)throw T("comment");if("/"===_(c))if(u){if(p=c,h=!1,E(c)){h=!0;do{if((c=b(c))===d)break;c++}while(E(c))}else c=Math.min(d,b(c)+1);h&&S(p,c),f++,o=!0}else{for(h="/"===_(p=c+1);"\n"!==_(++c);)if(c===d)return null;++c,h&&S(p,c-1),++f,o=!0}else{if("*"!==(i=_(c)))return"/";p=c+1,h=u||"*"===_(p);do{if("\n"===i&&++f,++c===d)throw T("comment");a=i,i=_(c)}while("*"!==a||"/"!==i);++c,h&&S(p,c-2),o=!0}}}while(o);var m=c;if(t.lastIndex=0,!t.test(_(m++)))for(;m-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:i.getter,set:i.setter}}r&&Object.defineProperties(e.prototype,n)}}}),y.generateConstructor=function(e){return function(t){for(var r,n=0;n191&&n<224?a[i++]=(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,a[i++]=55296+(n>>10),a[i++]=56320+(1023&n)):a[i++]=(15&n)<<12|(63&e[t++])<<6|63&e[t++],i>8191&&((o||(o=[])).push(String.fromCharCode.apply(String,a)),i=0);return o?(i&&o.push(String.fromCharCode.apply(String,a.slice(0,i))),o.join("")):String.fromCharCode.apply(String,a.slice(0,i))},t.write=function(e,t,r){for(var n,o,a=r,i=0;i>6|192,t[r++]=63&n|128):55296==(64512&n)&&56320==(64512&(o=e.charCodeAt(i+1)))?(n=65536+((1023&n)<<10)+(1023&o),++i,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-a}},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-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=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>>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 p(e,t,r){t[r]=255&e,t[r+1]=e>>>8&255,t[r+2]=e>>>16&255,t[r+3]=e>>>24}c.create=o.Buffer?function(){return(c.create=function(){return new(void 0)})()}:function(){return new c},c.alloc=function(e){return new o.Array(e)},o.Array!==Array&&(c.alloc=o.pool(c.alloc,o.Array.prototype.subarray)),c.prototype._push=function(e,t,r){return this.tail=this.tail.next=new i(e,t,r),this.len+=t,this},d.prototype=Object.create(i.prototype),d.prototype.fn=function(e,t,r){for(;e>127;)t[r++]=127&e|128,e>>>=7;t[r]=e},c.prototype.uint32=function(e){return this.len+=(this.tail=this.tail.next=new d((e>>>=0)<128?1:e<16384?2:e<2097152?3:e<268435456?4:5,e)).len,this},c.prototype.int32=function(e){return e<0?this._push(f,10,n.fromNumber(e)):this.uint32(e)},c.prototype.sint32=function(e){return this.uint32((e<<1^e>>31)>>>0)},c.prototype.uint64=function(e){var t=n.from(e);return this._push(f,t.length(),t)},c.prototype.int64=c.prototype.uint64,c.prototype.sint64=function(e){var t=n.from(e).zzEncode();return this._push(f,t.length(),t)},c.prototype.bool=function(e){return this._push(l,1,e?1:0)},c.prototype.fixed32=function(e){return this._push(p,4,e>>>0)},c.prototype.sfixed32=c.prototype.fixed32,c.prototype.fixed64=function(e){var t=n.from(e);return this._push(p,4,t.lo)._push(p,4,t.hi)},c.prototype.sfixed64=c.prototype.fixed64,c.prototype.float=function(e){return this._push(o.float.writeFloatLE,4,e)},c.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>>0;if(!t)return this._push(l,1,0);if(o.isString(e)){var r=c.alloc(t=a.length(e));a.write(e,r,0),e=r}return this.uint32(t)._push(h,t,e)},c.prototype.string=function(e){var t=a.length(e);return t?this.uint32(t)._push(a.write,t,e):this._push(l,1,0)},c.prototype.fork=function(){return this.states=new u(this),this.head=this.tail=new i(s,0,0),this.len=0,this},c.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 i(s,0,0),this.len=0),this},c.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},c.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},c._configure=function(){n=r(365),r(440),a=r(498)}}},r={};function o(e){var n=r[e];if(void 0!==n)return n.exports;var a=r[e]={exports:{}};return t[e](a,a.exports,o),a.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":u(globalThis)))return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==("undefined"===typeof window?"undefined":u(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 a={};return function(){"use strict";o.r(a),o.d(a,{default:function(){return oi}});var t={};o.r(t),o.d(t,{acceptContactInvite:function(){return ur},acceptInvitation:function(){return sr},addContact:function(){return or},addReaction:function(){return yr},addToBlackList:function(){return dr},addUsersToBlacklist:function(){return fr},addUsersToBlocklist:function(){return pr},declineContactInvite:function(){return lr},declineInvitation:function(){return cr},deleteContact:function(){return ir},deleteConversation:function(){return Kt},deleteReaction:function(){return Tr},deleteSession:function(){return Wt},fetchHistoryMessages:function(){return tr},fetchUserInfoById:function(){return qt},getBlacklist:function(){return Zt},getBlocklist:function(){return Ut},getChatToken:function(){return er},getContacts:function(){return Gt},getConversationlist:function(){return Qt},getHistoryMessages:function(){return nr},getReactionDetail:function(){return Er},getReactionList:function(){return _r},getReactionlist:function(){return Sr},getRoster:function(){return Jt},getServerConversations:function(){return Or},getServerPinnedConversations:function(){return Rr},getSessionList:function(){return Ft},pinConversation:function(){return Ir},recallMessage:function(){return vr},removeFromBlackList:function(){return hr},removeHistoryMessages:function(){return Cr},removeRoster:function(){return ar},removeUserFromBlackList:function(){return mr},removeUserFromBlocklist:function(){return gr},reportMessage:function(){return br},updateCurrentUserNick:function(){return Vt},updateOwnUserInfo:function(){return zt},updateUserInfo:function(){return $t},uploadPushToken:function(){return Xt},uploadToken:function(){return jt}});var r={};o.r(r),o.d(r,{acceptGroupInvite:function(){return sn},acceptGroupJoinRequest:function(){return rn},addUsersToGroupAllowlist:function(){return Bn},addUsersToGroupWhitelist:function(){return kn},agreeInviteIntoGroup:function(){return an},agreeJoinGroup:function(){return tn},blockGroup:function(){return Mr},blockGroupMember:function(){return En},blockGroupMembers:function(){return Cn},blockGroupMessages:function(){return wr},changeGroupOwner:function(){return Yr},changeOwner:function(){return xr},createGroup:function(){return Nr},createGroupNew:function(){return Pr},deleteGroupSharedFile:function(){return Kn},destroyGroup:function(){return Kr},disableSendGroupMsg:function(){return wn},dissolveGroup:function(){return Wr},downloadGroupSharedFile:function(){return qn},enableSendGroupMsg:function(){return Ln},fetchGroupAnnouncement:function(){return Fn},fetchGroupSharedFileList:function(){return zn},getGroup:function(){return Br},getGroupAdmin:function(){return Gr},getGroupAllowlist:function(){return Zn},getGroupBlacklist:function(){return Nn},getGroupBlacklistNew:function(){return Pn},getGroupBlocklist:function(){return Mn},getGroupInfo:function(){return Hr},getGroupMemberAttributes:function(){return eo},getGroupMembersAttributes:function(){return to},getGroupMsgReadUser:function(){return Xn},getGroupMuteList:function(){return Tn},getGroupMutelist:function(){return _n},getGroupSharedFilelist:function(){return $n},getGroupWhitelist:function(){return Hn},getJoinedGroups:function(){return Dr},getMuted:function(){return yn},getPublicGroups:function(){return kr},groupBlockMulti:function(){return bn},groupBlockSingle:function(){return Sn},inviteToGroup:function(){return qr},inviteUsersToGroup:function(){return Vr},isGroupWhiteUser:function(){return Un},isInGroupAllowlist:function(){return Gn},isInGroupMutelist:function(){return jn},isInGroupWhiteList:function(){return Jn},joinGroup:function(){return en},leaveGroup:function(){return $r},listGroupMember:function(){return Ur},listGroupMembers:function(){return Jr},listGroups:function(){return Lr},modifyGroup:function(){return Zr},mute:function(){return hn},muteGroupMember:function(){return mn},quitGroup:function(){return zr},rejectGroupInvite:function(){return cn},rejectGroupJoinRequest:function(){return on},rejectInviteIntoGroup:function(){return un},rejectJoinGroup:function(){return nn},removeAdmin:function(){return Fr},removeGroupAdmin:function(){return Qr},removeGroupAllowlistMember:function(){return Yn},removeGroupBlockMulti:function(){return Rn},removeGroupBlockSingle:function(){return On},removeGroupMember:function(){return dn},removeGroupMembers:function(){return pn},removeGroupWhitelistMember:function(){return xn},removeMultiGroupMember:function(){return fn},removeMute:function(){return gn},removeSingleGroupMember:function(){return ln},rmUsersFromGroupWhitelist:function(){return Dn},setAdmin:function(){return jr},setGroupAdmin:function(){return Xr},setGroupMemberAttributes:function(){return Vn},unblockGroupMember:function(){return An},unblockGroupMembers:function(){return In},unmuteGroupMember:function(){return vn},updateGroupAnnouncement:function(){return Qn},uploadGroupSharedFile:function(){return Wn}});var i={};o.r(i),o.d(i,{addUsersToChatRoom:function(){return fo},addUsersToChatRoomAllowlist:function(){return Uo},addUsersToChatRoomWhitelist:function(){return Zo},blockChatRoomMember:function(){return Io},blockChatRoomMembers:function(){return No},chatRoomBlockMulti:function(){return Po},chatRoomBlockSingle:function(){return Ro},createChatRoom:function(){return no},deleteChatRoomSharedFile:function(){return Vo},destroyChatRoom:function(){return oo},disableSendChatRoomMsg:function(){return Yo},enableSendChatRoomMsg:function(){return Ho},fetchChatRoomAnnouncement:function(){return zo},fetchChatRoomSharedFileList:function(){return ea},getChatRoomAdmin:function(){return yo},getChatRoomAllowlist:function(){return Fo},getChatRoomAttributes:function(){return ra},getChatRoomBlacklist:function(){return Do},getChatRoomBlacklistNew:function(){return Bo},getChatRoomBlocklist:function(){return xo},getChatRoomDetails:function(){return ao},getChatRoomMuteList:function(){return Oo},getChatRoomMuted:function(){return Co},getChatRoomMutelist:function(){return Ao},getChatRoomSharedFilelist:function(){return ta},getChatRoomWhitelist:function(){return Xo},getChatRooms:function(){return ro},isChatRoomWhiteUser:function(){return Qo},isInChatRoomAllowlist:function(){return Wo},isInChatRoomMutelist:function(){return Ko},joinChatRoom:function(){return po},leaveChatRoom:function(){return mo},listChatRoomMember:function(){return go},listChatRoomMembers:function(){return vo},modifyChatRoom:function(){return io},muteChatRoomMember:function(){return So},quitChatRoom:function(){return ho},removeChatRoomAdmin:function(){return _o},removeChatRoomAllowlistMember:function(){return jo},removeChatRoomAttribute:function(){return ia},removeChatRoomAttributes:function(){return aa},removeChatRoomBlockMulti:function(){return Lo},removeChatRoomBlockSingle:function(){return Mo},removeChatRoomMember:function(){return uo},removeChatRoomMembers:function(){return lo},removeChatRoomWhitelistMember:function(){return Go},removeMultiChatRoomMember:function(){return co},removeMuteChatRoomMember:function(){return Eo},removeSingleChatRoomMember:function(){return so},rmUsersFromChatRoomWhitelist:function(){return Jo},setChatRoomAdmin:function(){return To},setChatRoomAttribute:function(){return oa},setChatRoomAttributes:function(){return na},unblockChatRoomMember:function(){return wo},unblockChatRoomMembers:function(){return ko},unmuteChatRoomMember:function(){return bo},updateChatRoomAnnouncement:function(){return $o},uploadChatRoomSharedFile:function(){return qo}});var s={};o.r(s),o.d(s,{getPresenceStatus:function(){return ha},getSubscribedPresenceList:function(){return fa},getSubscribedPresencelist:function(){return pa},publishPresence:function(){return ca},subscribePresence:function(){return la},unsubscribePresence:function(){return da}});var c={};o.r(c),o.d(c,{clearRemindTypeForConversation:function(){return ya},getPushPerformLanguage:function(){return Ea},getSilentModeForAll:function(){return ga},getSilentModeForConversation:function(){return Ta},getSilentModeForConversations:function(){return _a},setPushPerformLanguage:function(){return Sa},setSilentModeForAll:function(){return ma},setSilentModeForConversation:function(){return va}});var l={};o.r(l),o.d(l,{changeChatThreadName:function(){return Pa},createChatThread:function(){return Oa},destroyChatThread:function(){return Ia},getChatThreadDetail:function(){return Ba},getChatThreadLastMessage:function(){return ka},getChatThreadMembers:function(){return Na},getChatThreads:function(){return La},getJoinedChatThreads:function(){return wa},joinChatThread:function(){return Aa},leaveChatThread:function(){return Ra},removeChatThreadMember:function(){return Ma}});var d={};o.r(d),o.d(d,{getSupportedLanguages:function(){return Da},translateMessage:function(){return xa}});var f={};function p(){f.converter._configure(),f.decoder._configure(),f.encoder._configure(),f.Field._configure(),f.MapField._configure(),f.Message._configure(),f.Namespace._configure(),f.Method._configure(),f.ReflectionObject._configure(),f.OneOf._configure(),f.parse._configure(),f.Reader._configure(),f.Root._configure(),f.Service._configure(),f.verifier._configure(),f.Type._configure(),f.types._configure(),f.wrappers._configure(),f.Writer._configure()}f.build="minimal",f.Writer=o(244),f.encoder=o(929),f.Reader=o(494),f.util=o(935),f.rpc=o(325),f.roots=o(889),f.verifier=o(216),f.tokenize=o(869),f.parse=o(845),f.common=o(72),f.ReflectionObject=o(998),f.Namespace=o(476),f.Root=o(685),f.Enum=o(582),f.Type=o(192),f.Field=o(286),f.OneOf=o(735),f.MapField=o(435),f.Service=o(447),f.Method=o(484),f.converter=o(525),f.decoder=o(888),f.Message=o(339),f.wrappers=o(834),f.types=o(696),f.util=o(935),f.configure=p,f.load=function(e,t,r){return"function"==typeof t?(r=t,t=new f.Root):t||(t=new f.Root),t.load(e,r)},f.loadSync=function(e,t){return t||(t=new f.Root),t.loadSync(e)},f.parseFromPbString=function(e,t,r){return"function"==typeof t?(r=t,t=new f.Root):t||(t=new f.Root),t.parseFromPbString(e,r)},p();var h,m=f,g=o(720),v=o.n(g),y=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.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.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.CONVERSATION_NOT_EXIST=1400]="CONVERSATION_NOT_EXIST"}(h||(h={}));var T,_,S,E,b,C,O=function(){return O=Object.assign||function(e){for(var t,r=1,n=arguments.length;r=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)){if(r255&&t++;return t}var x=new B;x.getLogger=function(e){if("string"!=typeof e||""===e)throw new TypeError("You must supply a name when creating a logger.");return this};var Y="undefined"!=typeof window?window.log:void 0;x.noConflict=function(){return"undefined"!=typeof window&&window.log===x&&(window.log=Y),x},x.getLoggers=function(){return k};var H=x,Z=function(){return Z=Object.assign||function(e){for(var t,r=1,n=arguments.length;r0?"&":"?")+(l?l+"&":l)+"_v="+(new Date).getTime(),c=null,l=""}r=(new Date).getTime(),s.open(u,e.url);var f=e.headers||{};for(var p in f["Content-Type"]||(f["Content-Type"]="application/json"),f)f.hasOwnProperty(p)&&s.setRequestHeader(p,f[p]);s.send(c)})).then((function(r){return n.dataReport&&t&&t!==_.SDK_INTERNAL&&n.dataReport.geOperateFun({operationName:t})({isEndApi:!0,data:Z({isSuccess:1,requestUrl:e.url,requestName:t,requestMethod:e.type},V(r.extraInfo))}),t!==_.SDK_INTERNAL&&delete r.extraInfo,"Object"===G(r)?Z(Z({},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:Z({isSuccess:0,requestUrl:e.url,requestName:t,requestMethod:e.type},V(r.extraInfo))}),t!==_.SDK_INTERNAL&&delete r.extraInfo,r})):j.call(this,e,t)}function G(e){return Object.prototype.toString.call(e).slice(8,-1)}function j(e,t){var r=this;return new Promise((function(t,r){var n=e.success||U,o=e.error||U,a=e.type||"POST",i=e.data||null,s="",u=(new Date).getTime(),c=ee.getEnvInfo();if("get"===a.toLowerCase()&&i){for(var l in i)i.hasOwnProperty(l)&&(s+=l+"="+i[l]+"&");s=s?s.slice(0,-1):s,e.url+=(e.url.indexOf("?")>0?"&":"?")+(s?s+"&":s)+"_v="+(new Date).getTime(),i=null,s=""}var d={url:e.url,data:e.data,method:a,headers:{},success:function(e){var a,i,s,c,l,d={elapse:(new Date).getTime()-u,httpCode:Number((null===(a=e.statusCode)||void 0===a?void 0:a.toString())||(null===(i=e.status)||void 0===i?void 0:i.toString())),errDesc:(null===(s=null==e?void 0:e.data)||void 0===s?void 0:s.error_description)||""};if("200"===(null===(c=e.statusCode)||void 0===c?void 0:c.toString())||"200"===(null===(l=e.status)||void 0===l?void 0:l.toString())){e.data.extraInfo=d;var f=e.data;n(f),t(f)}else e.extraInfo=d,o(f=e),r(f)},complete:function(){},fail:function(e){var t={elapse:(new Date).getTime()-u,httpCode:-1,errDesc:"request:fail"};e.extraInfo=t,e.data={error:"request:fail",error_description:"request:fail"},o(e),r(e)}};if("zfb"===c.platform||"dd"===c.platform?d.headers=e.headers:d.header=e.headers,"dd"===c.platform)return dd.httpRequest(d);c.global.request(d)})).then((function(n){return r.dataReport&&t&&t!==_.SDK_INTERNAL&&r.dataReport.geOperateFun({operationName:t})({isEndApi:!0,data:Z({isSuccess:1,requestUrl:e.url,requestName:t,requestMethod:e.type},V(n.extraInfo))}),t!==_.SDK_INTERNAL&&delete n.extraInfo,"Object"===G(n)?Z(Z({},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:Z({isSuccess:0,requestUrl:e.url,requestName:t,requestMethod:e.type},V(n.extraInfo))}),t!==_.SDK_INTERNAL&&delete n.extraInfo,n}))}var X,F,Q,W=(X=function(e,t){var r=K();if(r.platform!==Q.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;t0){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 a=o.lastIndexOf("/"),i=o.lastIndexOf("\\"),s=Math.max(a,i);t.filename=s<0?o:o.substring(s+1)}var u=t.filename.lastIndexOf(".");return-1!==u&&(t.filetype=t.filename.substring(u+1).toLowerCase()),t},uploadFile:$,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;nObject.prototype.toString.call(e).indexOf("Blob")?this.url+"?token=":window.URL.createObjectURL(e)},download:q,parseNotify:function(e){for(var t="",r=0;r0?o.bodies[0]:{},u={},c={},l=o.type?o.type:i.indexOf("@conference.easemob.com")>-1?"groupChat":"singleChat";switch(l="chat"===l?"singleChat":l,s.type){case"txt":u={id:n,type:"txt",chatType:l,msg:s.msg||"",to:o.to||"",from:o.from,time:a,ext:o.ext};break;case"img":u={id:n,type:"img",chatType:l,to:o.to,from:o.from,time:a,ext:o.ext,width:(null===(t=s.size)||void 0===t?void 0:t.width)||0,height:(null===(r=s.size)||void 0===r?void 0:r.height)||0,secret:s.secret||"",url:(null==s?void 0:s.url)||"",file_length:s.file_length||0,file:{}};break;case"video":u={id:n,type:"video",chatType:l,from:o.from,to:o.to,url:(null==s?void 0:s.url)||"",secret:s.secret||"",filename:s.filename,length:s.length||0,file:{},file_length:s.file_length||0,filetype:o.ext.file_type||"",ext:o.ext,time:a};break;case"loc":u={id:n,type:"loc",chatType:l,from:o.from,to:o.to,buildingName:s.buildingName||"",addr:s.addr,lat:s.lat,lng:s.lng,ext:o.ext,time:a};break;case"audio":u={id:n,type:"audio",chatType:l,from:o.from,to:o.to,secret:s.secret||"",ext:o.ext,time:a,url:(null==s?void 0:s.url)||"",file:{},filename:s.filename,length:s.length||0,file_length:s.file_length||0,filetype:o.ext.file_type||""};break;case"file":u={id:n,type:"file",chatType:l,from:o.from,to:o.to,ext:o.ext,time:a,url:(null==s?void 0:s.url)||"",secret:s.secret||"",file:{},filename:s.filename||"",file_length:s.file_length||0,filetype:o.ext.file_type||""};break;case"cmd":u={id:n,type:"cmd",chatType:l,from:o.from,to:o.to,ext:o.ext,time:a,action:s.action||""};break;case"custom":u={id:n,type:"custom",chatType:l,from:o.from,to:o.to,ext:o.ext,time:a,customEvent:s.customEvent||"",customExts:s.customExts||""};break;default:H.error("unexpected message: ".concat(e))}if(o.msgConfig&&(c.msgConfig=o.msgConfig),null==o?void 0:o.meta){var d=o.meta;d.thread&&(c.chatThread={messageId:d.thread.msg_parent_id,parentId:d.thread.muc_parent_id,chatThreadName:d.thread.thread_name}),d.reactions&&(c.reactions=d.reactions),d.translations&&(c.translations=d.translations)}return ne(ne({},u),c)}var ae=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:ee.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}(),ie=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:ee.getUniqueId(),ackId:e.ackId,type:"delivery",to:e.to,from:e.from||"",isChatThread:e.isChatThread,priority:e.priority,deliverOnlineOnly:e.deliverOnlineOnly}},e}(),se=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:ee.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}(),ue=function(){function e(e){var t=e.type,r=e.id||ee.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:ee.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}(),ce=function(){function e(e){var t=e.type,r=e.id;this.id=r||ee.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:ee.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}(),le=function(){function e(e){var t=e.type,r=e.id||ee.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:ee.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}(),de=function(){function e(e){var t=e.type,r=e.id;this.id=r||ee.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:ee.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}(),fe=function(){function e(e){var t=e.type,r=e.id||ee.getUniqueId();this.id=r,this.type=t}return e.prototype.set=function(e){e.file=e.file||e.fileInputId&&ee.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:ee.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}(),pe=function(){function e(e){var t=e.type,r=e.id||ee.getUniqueId();this.id=r,this.type=t}return e.prototype.set=function(e){e.file=e.file||e.fileInputId&&ee.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:ee.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}(),he=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&&ee.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:ee.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}(),me=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&&ee.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:ee.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}(),ge=function(){function e(t,r){return this.type=t,this.id=r||ee.getUniqueId(),e.createOldMsg({type:t,id:this.id})}return e.createOldMsg=function(e){switch(e.type){case"read":return new ae({type:"read",id:e.id});case"delivery":return new ie({type:"delivery",id:e.id});case"channel":return new se({type:"channel",id:e.id});case"txt":return new ue({type:"txt",id:e.id});case"cmd":return new ce({type:"cmd",id:e.id});case"custom":return new le({type:"custom",id:e.id});case"loc":return new de({type:"loc",id:e.id});case"img":return new fe({type:"img",id:e.id});case"audio":return new pe({type:"audio",id:e.id});case"video":return new he({type:"video",id:e.id});case"file":return new me({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)?fe.create(e):function(e){return"cmd"===e.type&&!("version"in e)}(e)?ce.create(e):function(e){return"file"===e.type&&!("version"in e)}(e)?me.create(e):function(e){return"audio"===e.type&&!("version"in e)}(e)?pe.create(e):function(e){return"video"===e.type&&!("version"in e)}(e)?he.create(e):function(e){return"custom"===e.type&&!("version"in e)}(e)?le.create(e):function(e){return"loc"===e.type&&!("version"in e)}(e)?de.create(e):function(e){return"channel"===e.type&&!("version"in e)}(e)?se.create(e):function(e){return"delivery"===e.type&&!("version"in e)}(e)?ie.create(e):function(e){return"read"===e.type&&!("version"in e)}(e)?ae.create(e):{}:ue.create(e);var t},e.prototype.set=function(e){},e}(),ve={0:"TEXT",1:"IMAGE",2:"VIDEO",3:"LOCATION",4:"VOICE",5:"FILE",6:"COMMAND",7:"CUSTOM"};function ye(e){for(var t={},r=0;r0,M=t.errorCode,w=t.reason,L=f.contents[R],k={},B=[],D=[],x=null,Y=null,Z=void 0;if(f.ext&&(k=ye(f.ext)),f.meta&&"string"==typeof f.meta){var U=JSON.parse(f.meta);U.reaction&&(B=U.reaction).forEach((function(e){e.isAddedBySelf=e.state,delete e.state})),U.translations&&(D=U.translations),U.thread&&"{}"!==JSON.stringify(U.thread)&&(x={messageId:U.thread.msg_parent_id,parentId:U.thread.muc_parent_id,chatThreadName:U.thread.thread_name}),U.thread_overview&&"{}"!==JSON.stringify(U.thread_overview)&&(Y={id:U.thread_overview.id,parentId:U.thread_overview.muc_parent_id,name:U.thread_overview.name,lastMessage:U.thread_overview.last_message?oe(U.thread_overview.last_message):null,createTimestamp:U.thread_overview.create_timestamp,updateTimestamp:U.thread_overview.update_timestamp,messageCount:U.thread_overview.message_count||0})}switch(L.type){case 0:!(I={id:h,type:g,contentsType:ve[L.type],from:y,to:T,data:L.text,ext:k,sourceMsg:L.text,time:d,msgConfig:f.msgConfig,onlineState:p}).msgConfig&&delete f.msgConfig,I.error=N,I.errorText=w,I.errorCode=M,!r&&this.onTextMessage&&this.onTextMessage(I);var J={id:h,type:"txt",chatType:C,msg:L.text,to:T,from:y,ext:k,time:Number(d),onlineState:p};I.msgConfig&&(J.msgConfig=I.msgConfig),B.length>0&&(J.reactions=B),x&&(J.chatThread=x),Y&&(J.chatThreadOverview=Y),D.length>0&&(J.translations=D),"chatRoom"===C&&(J.priority=O),P=J,!r&&this.eventHandler&&this.eventHandler.dispatch("onTextMessage",J);break;case 1:var G=(null===(c=null==L?void 0:L.size)||void 0===c?void 0:c.width)||0,j=(null===(l=null==L?void 0:L.size)||void 0===l?void 0:l.height)||0;Z=this.useOwnUploadFun?L.remotePath:(L.remotePath&&this.apiUrl+L.remotePath.substr(L.remotePath.indexOf("/",9)))+"?em-redirect=true",L.secretKey&&!this.useOwnUploadFun&&(Z="".concat(Z,"&share-secret=").concat(L.secretKey)),!(I={id:h,type:g,contentsType:ve[L.type],from:y,to:T,url:Z,secret:L.secretKey,filename:L.displayName,thumb:this.useOwnUploadFun?"":"".concat(Z,"&thumbnail=true"),thumb_secret:L.secretKey,file_length:L.fileLength||"",width:G,height:j,filetype:L.filetype||"",accessToken:this.token,ext:k,time:d,msgConfig:f.msgConfig,onlineState:p}).delay&&delete I.delay,!I.msgConfig&&delete f.msgConfig,I.error=N,I.errorText=w,I.errorCode=M,!r&&this.onPictureMessage&&this.onPictureMessage(I);var X={id:h,type:"img",chatType:C,from:y,to:T,url:Z||"",file:{},width:G,height:j,secret:L.secretKey||"",thumb:this.useOwnUploadFun?"":"".concat(Z,"&thumbnail=true"),thumb_secret:L.secretKey,file_length:L.fileLength||0,ext:k,time:Number(d),onlineState:p};I.msgConfig&&(X.msgConfig=I.msgConfig),B.length>0&&(X.reactions=B),x&&(X.chatThread=x),Y&&(X.chatThreadOverview=Y),"chatRoom"===C&&(X.priority=O),P=X,!r&&this.eventHandler&&this.eventHandler.dispatch("onImageMessage",X);break;case 2:Z=this.useOwnUploadFun?L.remotePath:(L.remotePath&&this.apiUrl+L.remotePath.substr(L.remotePath.indexOf("/",9)))+"?em-redirect=true",L.secretKey&&!this.useOwnUploadFun&&(Z="".concat(Z,"&share-secret=").concat(L.secretKey)),!(I={id:h,type:g,contentsType:ve[L.type],from:y,to:T,url:Z,secret:L.secretKey,filename:L.displayName,length:L.duration||"",file_length:L.fileLength||"",filetype:L.filetype||"",accessToken:this.token||"",ext:k,time:d,msgConfig:f.msgConfig,onlineState:p}).delay&&delete I.delay,!I.msgConfig&&delete f.msgConfig,I.error=N,I.errorText=w,I.errorCode=M,!r&&this.onVideoMessage&&this.onVideoMessage(I);var F={id:h,type:"video",chatType:C,from:y,to:T,url:Z,secret:L.secretKey,filename:L.displayName,length:L.duration||0,file:{},file_length:L.fileLength||0,filetype:L.filetype||"",accessToken:this.token||"",ext:k,time:Number(d),onlineState:p};I.msgConfig&&(F.msgConfig=I.msgConfig),B.length>0&&(F.reactions=B),x&&(F.chatThread=x),Y&&(F.chatThreadOverview=Y),"chatRoom"===C&&(F.priority=O),P=F,!r&&this.eventHandler&&this.eventHandler.dispatch("onVideoMessage",F);break;case 3:!(I={id:h,type:g,contentsType:ve[L.type],from:y,to:T,addr:L.address,buildingName:L.buildingName,lat:L.latitude,lng:L.longitude,ext:k,time:d,msgConfig:f.msgConfig,onlineState:p}).delay&&delete I.delay,!I.msgConfig&&delete f.msgConfig,I.error=N,I.errorText=w,I.errorCode=M,!r&&this.onLocationMessage&&this.onLocationMessage(I);var Q={id:h,type:"loc",chatType:C,from:y,to:T,buildingName:L.buildingName,addr:L.address,lat:L.latitude,lng:L.longitude,ext:k,time:Number(d),onlineState:p};I.msgConfig&&(Q.msgConfig=I.msgConfig),B.length>0&&(Q.reactions=B),x&&(Q.chatThread=x),Y&&(Q.chatThreadOverview=Y),"chatRoom"===C&&(Q.priority=O),P=Q,!r&&this.eventHandler&&this.eventHandler.dispatch("onLocationMessage",Q);break;case 4:Z=this.useOwnUploadFun?L.remotePath:(L.remotePath&&this.apiUrl+L.remotePath.substr(L.remotePath.indexOf("/",9)))+"?em-redirect=true",L.secretKey&&!this.useOwnUploadFun&&(Z="".concat(Z,"&share-secret=").concat(L.secretKey)),!(I={id:h,type:g,contentsType:ve[L.type],from:y,to:T,url:Z,secret:L.secretKey,filename:L.displayName,file_length:L.fileLength||"",accessToken:this.token||"",ext:k,length:L.duration,time:d,msgConfig:f.msgConfig,onlineState:p}).delay&&delete I.delay,!I.msgConfig&&delete f.msgConfig,I.error=N,I.errorText=w,I.errorCode=M,!r&&this.onAudioMessage&&this.onAudioMessage(I);var W={id:h,type:"audio",chatType:C,from:y,to:T,url:Z,secret:L.secretKey,file:{},filename:L.displayName,length:L.duration||0,file_length:L.fileLength||0,filetype:L.filetype||"",accessToken:this.token||"",ext:k,time:Number(d),onlineState:p};I.msgConfig&&(W.msgConfig=I.msgConfig),B.length>0&&(W.reactions=B),x&&(W.chatThread=x),Y&&(W.chatThreadOverview=Y),"chatRoom"===C&&(W.priority=O),P=W,!r&&this.eventHandler&&this.eventHandler.dispatch("onAudioMessage",W);break;case 5:Z=this.useOwnUploadFun?L.remotePath:(L.remotePath&&this.apiUrl+L.remotePath.substr(L.remotePath.indexOf("/",9)))+"?em-redirect=true",L.secretKey&&!this.useOwnUploadFun&&(Z="".concat(Z,"&share-secret=").concat(L.secretKey)),!(I={id:h,type:g,contentsType:ve[L.type],from:y,to:T,url:Z,secret:L.secretKey,filename:L.displayName,file_length:L.fileLength,accessToken:this.token||"",ext:k,time:d,msgConfig:f.msgConfig,onlineState:p}).delay&&delete I.delay,!I.msgConfig&&delete f.msgConfig,I.error=N,I.errorText=w,I.errorCode=M,!r&&this.onFileMessage&&this.onFileMessage(I);var K={id:h,type:"file",chatType:C,from:y,to:T,url:Z,secret:L.secretKey,file:{},filename:L.displayName,length:L.duration||0,file_length:L.fileLength||0,filetype:L.filetype||"",accessToken:this.token||"",ext:k,time:Number(d),onlineState:p};I.msgConfig&&(K.msgConfig=I.msgConfig),B.length>0&&(K.reactions=B),x&&(K.chatThread=x),Y&&(K.chatThreadOverview=Y),"chatRoom"===C&&(K.priority=O),P=K,!r&&this.eventHandler&&this.eventHandler.dispatch("onFileMessage",K);break;case 6:!(I={id:h,type:g,contentsType:ve[L.type],from:y,to:T,action:L.action,ext:k,time:d,msgConfig:f.msgConfig,onlineState:p}).msgConfig&&delete f.msgConfig,I.error=N,I.errorText=w,I.errorCode=M,!r&&this.onCmdMessage&&this.onCmdMessage(I);var z={id:h,type:"cmd",chatType:C,from:y,to:T,action:L.action,ext:k,time:Number(d),onlineState:p};I.msgConfig&&(z.msgConfig=I.msgConfig),B.length>0&&(z.reactions=B),x&&(z.chatThread=x),Y&&(z.chatThreadOverview=Y),"chatRoom"===C&&(z.priority=O),P=z,!r&&this.eventHandler&&this.eventHandler.dispatch("onCmdMessage",z);break;case 7:var $={},q={};f.contents[0].customExts&&($=ye(f.contents[0].customExts)),f.contents[0].params&&(q=ye(f.contents[0].params)),I={id:h,type:g,contentsType:ve[L.type],from:y,to:T,customEvent:L.customEvent,params:q,customExts:$,ext:k,time:d,onlineState:p},!r&&this.onCustomMessage&&this.onCustomMessage(I);var V={id:h,type:"custom",chatType:C,from:y,to:T,customEvent:L.customEvent,params:q,customExts:$,ext:k,time:Number(d),onlineState:p};I.msgConfig&&(V.msgConfig=I.msgConfig),B.length>0&&(V.reactions=B),x&&(V.chatThread=x),Y&&(V.chatThreadOverview=Y),"chatRoom"===C&&(V.priority=O),P=V,!r&&this.eventHandler&&this.eventHandler.dispatch("onCustomMessage",V);break;default:H.error("Unknow message type, message:",L)}return n?P:I}},Se=["public","members_only","allow_user_invites","invite_need_confirm"],Ee={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 be(e,t){var r,n,o,a,i,s,u=this,c=this.context,l=c.userId,d=c.jid,f=t.from.name===l&&d.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:""},a={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},i={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;i.operation="memberAttributesUpdate";var o=JSON.parse(null===(e=null==t?void 0:t.eventInfo)||void 0===e?void 0:e.ext)||{};i.attributes=o.properties||{},i.userId=o.username||"",f?null===(r=u.eventHandler)||void 0===r||r.dispatch("onMultiDeviceEvent",i):null===(n=u.eventHandler)||void 0===n||n.dispatch("onGroupEvent",i)},44:function(){var e;i.operation="removeChatRoomAttributes",i.attributes=s.result.successKeys,s.result.successKeys.length>0&&(null===(e=u.eventHandler)||void 0===e||e.dispatch("onChatroomEvent",i))},43:function(){var e;i.operation="updateChatRoomAttributes";var t={};s.result.successKeys.forEach((function(e){t[e]=s.properties[e]})),i.attributes=t,s.result.successKeys.length>0&&(null===(e=u.eventHandler)||void 0===e||e.dispatch("onChatroomEvent",i))},42:function(){},41:function(){},40:function(){},39:function(){},38:function(){var e;a.operation="chatThreadNameUpdate",null===(e=u.eventHandler)||void 0===e||e.dispatch("onMultiDeviceEvent",a)},37:function(){var e;o.operation="userRemove",null===(e=u.eventHandler)||void 0===e||e.dispatch("onChatThreadChange",o)},36:function(){var e;a.operation="chatThreadLeave",null===(e=u.eventHandler)||void 0===e||e.dispatch("onMultiDeviceEvent",a)},35:function(){var e;a.operation="chatThreadJoin",null===(e=u.eventHandler)||void 0===e||e.dispatch("onMultiDeviceEvent",a)},34:function(){var e;a.operation="chatThreadDestroy",null===(e=u.eventHandler)||void 0===e||e.dispatch("onMultiDeviceEvent",a)},33:function(){var e;a.operation="chatThreadCreate",null===(e=u.eventHandler)||void 0===e||e.dispatch("onMultiDeviceEvent",a)},32:function(){var e,r,o,a;n.type=t.isChatroom?"rmChatRoomMute":"rmGroupMute",u.onPresence&&u.onPresence(n),t.isChatroom?null===(e=u.eventHandler)||void 0===e||e.dispatch("onChatroomChange",n):null===(r=u.eventHandler)||void 0===r||r.dispatch("onGroupChange",n),i.operation="unmuteAllMembers",t.isChatroom?null===(o=u.eventHandler)||void 0===o||o.dispatch("onChatroomEvent",i):null===(a=u.eventHandler)||void 0===a||a.dispatch("onGroupEvent",i)},31:function(){var e,r,o,a;n.type=t.isChatroom?"muteChatRoom":"muteGroup",u.onPresence&&u.onPresence(n),t.isChatroom?null===(e=u.eventHandler)||void 0===e||e.dispatch("onChatroomChange",n):null===(r=u.eventHandler)||void 0===r||r.dispatch("onGroupChange",n),i.operation="muteAllMembers",t.isChatroom?null===(o=u.eventHandler)||void 0===o||o.dispatch("onChatroomEvent",i):null===(a=u.eventHandler)||void 0===a||a.dispatch("onGroupEvent",i)},30:function(){var e,r,o,a;n.type=t.isChatroom?"rmUserFromChatRoomWhiteList":"rmUserFromGroupWhiteList",u.onPresence&&u.onPresence(n),t.isChatroom?null===(e=u.eventHandler)||void 0===e||e.dispatch("onChatroomChange",n):null===(r=u.eventHandler)||void 0===r||r.dispatch("onGroupChange",n),i.operation="removeAllowlistMember",t.isChatroom?null===(o=u.eventHandler)||void 0===o||o.dispatch("onChatroomEvent",i):null===(a=u.eventHandler)||void 0===a||a.dispatch("onGroupEvent",i)},29:function(){var e,r,o,a;n.type=t.isChatroom?"addUserToChatRoomWhiteList":"addUserToGroupWhiteList",u.onPresence&&u.onPresence(n),t.isChatroom?null===(e=u.eventHandler)||void 0===e||e.dispatch("onChatroomChange",n):null===(r=u.eventHandler)||void 0===r||r.dispatch("onGroupChange",n),i.operation="addUserToAllowlist",t.isChatroom?null===(o=u.eventHandler)||void 0===o||o.dispatch("onChatroomEvent",i):null===(a=u.eventHandler)||void 0===a||a.dispatch("onGroupEvent",i)},28:function(){var e,r,o,a;n.type="deleteFile",u.onPresence&&u.onPresence(n),t.isChatroom?null===(e=u.eventHandler)||void 0===e||e.dispatch("onChatroomChange",n):null===(r=u.eventHandler)||void 0===r||r.dispatch("onGroupChange",n),i.operation="deleteFile",t.isChatroom?null===(o=u.eventHandler)||void 0===o||o.dispatch("onChatroomEvent",i):null===(a=u.eventHandler)||void 0===a||a.dispatch("onGroupEvent",i)},27:function(){var e,r,o,a;n.type="uploadFile",u.onPresence&&u.onPresence(n),t.isChatroom?null===(e=u.eventHandler)||void 0===e||e.dispatch("onChatroomChange",n):null===(r=u.eventHandler)||void 0===r||r.dispatch("onGroupChange",n),i.operation="uploadFile",t.isChatroom?null===(o=u.eventHandler)||void 0===o||o.dispatch("onChatroomEvent",i):null===(a=u.eventHandler)||void 0===a||a.dispatch("onGroupEvent",i)},26:function(){var e,r,o,a;n.type="deleteAnnouncement",u.onPresence&&u.onPresence(n),t.isChatroom?null===(e=u.eventHandler)||void 0===e||e.dispatch("onChatroomChange",n):null===(r=u.eventHandler)||void 0===r||r.dispatch("onGroupChange",n),i.operation="deleteAnnouncement",t.isChatroom?null===(o=u.eventHandler)||void 0===o||o.dispatch("onChatroomEvent",i):null===(a=u.eventHandler)||void 0===a||a.dispatch("onGroupEvent",i)},25:function(){var e,r,o,a;n.type="updateAnnouncement",u.onPresence&&u.onPresence(n),t.isChatroom?null===(e=u.eventHandler)||void 0===e||e.dispatch("onChatroomChange",n):null===(r=u.eventHandler)||void 0===r||r.dispatch("onGroupChange",n),i.operation="updateAnnouncement",t.isChatroom?null===(o=u.eventHandler)||void 0===o||o.dispatch("onChatroomEvent",i):null===(a=u.eventHandler)||void 0===a||a.dispatch("onGroupEvent",i)},24:function(){var e,r,o,a;n.type="removeMute",u.onPresence&&u.onPresence(n),t.isChatroom?null===(e=u.eventHandler)||void 0===e||e.dispatch("onChatroomChange",n):null===(r=u.eventHandler)||void 0===r||r.dispatch("onGroupChange",n),i.operation="unmuteMember",t.isChatroom?null===(o=u.eventHandler)||void 0===o||o.dispatch("onChatroomEvent",i):null===(a=u.eventHandler)||void 0===a||a.dispatch("onGroupEvent",i)},23:function(){var e,r,o,a;n.type="addMute",u.onPresence&&u.onPresence(n),t.isChatroom?null===(e=u.eventHandler)||void 0===e||e.dispatch("onChatroomChange",n):null===(r=u.eventHandler)||void 0===r||r.dispatch("onGroupChange",n),i.operation="muteMember",t.isChatroom?null===(o=u.eventHandler)||void 0===o||o.dispatch("onChatroomEvent",i):null===(a=u.eventHandler)||void 0===a||a.dispatch("onGroupEvent",i)},22:function(){var e,r,o,a;n.type="removeAdmin",u.onPresence&&u.onPresence(n),t.isChatroom?null===(e=u.eventHandler)||void 0===e||e.dispatch("onChatroomChange",n):null===(r=u.eventHandler)||void 0===r||r.dispatch("onGroupChange",n),i.operation="removeAdmin",t.isChatroom?null===(o=u.eventHandler)||void 0===o||o.dispatch("onChatroomEvent",i):null===(a=u.eventHandler)||void 0===a||a.dispatch("onGroupEvent",i)},21:function(){var e,r,o,a;n.type="addAdmin",u.onPresence&&u.onPresence(n),t.isChatroom?null===(e=u.eventHandler)||void 0===e||e.dispatch("onChatroomChange",n):null===(r=u.eventHandler)||void 0===r||r.dispatch("onGroupChange",n),i.operation="setAdmin",t.isChatroom?null===(o=u.eventHandler)||void 0===o||o.dispatch("onChatroomEvent",i):null===(a=u.eventHandler)||void 0===a||a.dispatch("onGroupEvent",i)},20:function(){var e,r,o,a;n.type="changeOwner",u.onPresence&&u.onPresence(n),t.isChatroom?null===(e=u.eventHandler)||void 0===e||e.dispatch("onChatroomChange",n):null===(r=u.eventHandler)||void 0===r||r.dispatch("onGroupChange",n),i.operation="changeOwner",t.isChatroom?null===(o=u.eventHandler)||void 0===o||o.dispatch("onChatroomEvent",i):null===(a=u.eventHandler)||void 0===a||a.dispatch("onGroupEvent",i)},19:function(){var e,r,o,a;n.type="direct_joined",n.groupName=t.mucName,u.onPresence&&u.onPresence(n),t.isChatroom?null===(e=u.eventHandler)||void 0===e||e.dispatch("onChatroomChange",n):null===(r=u.eventHandler)||void 0===r||r.dispatch("onGroupChange",n),i.operation="directJoined",i.name=t.mucName,t.isChatroom?null===(o=u.eventHandler)||void 0===o||o.dispatch("onChatroomEvent",i):null===(a=u.eventHandler)||void 0===a||a.dispatch("onGroupEvent",i)},18:function(){var e,r,o,a;n.type=t.isChatroom?"leaveChatRoom":"leaveGroup",u.onPresence&&u.onPresence(n),t.isChatroom?null===(e=u.eventHandler)||void 0===e||e.dispatch("onChatroomChange",n):null===(r=u.eventHandler)||void 0===r||r.dispatch("onGroupChange",n),i.operation="memberAbsence",t.isChatroom?null===(o=u.eventHandler)||void 0===o||o.dispatch("onChatroomEvent",i):null===(a=u.eventHandler)||void 0===a||a.dispatch("onGroupEvent",i)},17:function(){var e,r,o,a;n.type=t.isChatroom?"memberJoinChatRoomSuccess":"memberJoinPublicGroupSuccess",u.onPresence&&u.onPresence(n),t.isChatroom?null===(e=u.eventHandler)||void 0===e||e.dispatch("onChatroomChange",n):null===(r=u.eventHandler)||void 0===r||r.dispatch("onGroupChange",n),i.operation="memberPresence",t.isChatroom?null===(o=u.eventHandler)||void 0===o||o.dispatch("onChatroomEvent",i):null===(a=u.eventHandler)||void 0===a||a.dispatch("onGroupEvent",i)},16:function(){var e,r;n.type="unblock",u.onPresence&&u.onPresence(n),t.isChatroom?null===(e=u.eventHandler)||void 0===e||e.dispatch("onChatroomChange",n):null===(r=u.eventHandler)||void 0===r||r.dispatch("onGroupChange",n)},15:function(){var e,r;n.type="block",u.onPresence&&u.onPresence(n),t.isChatroom?null===(e=u.eventHandler)||void 0===e||e.dispatch("onChatroomChange",n):null===(r=u.eventHandler)||void 0===r||r.dispatch("onGroupChange",n)},14:function(){var e,r,o,a,s,c=t.isChatroom;if(!c){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):Se.includes(e)?"true"===t||!0===t:t}));i.detail=n.detail={},Object.keys(l).forEach((function(e){var t=Ee[e];if(t){var r=l[e];i.detail&&(i.detail[t]=r),n.detail&&(n.detail[t]=r)}}))}n.type="update",u.onPresence&&u.onPresence(n),c?null===(r=u.eventHandler)||void 0===r||r.dispatch("onChatroomChange",n):null===(o=u.eventHandler)||void 0===o||o.dispatch("onGroupChange",n),i.operation="updateInfo",c?null===(a=u.eventHandler)||void 0===a||a.dispatch("onChatroomEvent",i):null===(s=u.eventHandler)||void 0===s||s.dispatch("onGroupEvent",i)},13:function(){var e,r,o,a;n.type="allow",n.reason=t.reason,u.onPresence&&u.onPresence(n),t.isChatroom?null===(e=u.eventHandler)||void 0===e||e.dispatch("onChatroomChange",n):null===(r=u.eventHandler)||void 0===r||r.dispatch("onGroupChange",n),i.operation="unblockMember",t.isChatroom?null===(o=u.eventHandler)||void 0===o||o.dispatch("onChatroomEvent",i):null===(a=u.eventHandler)||void 0===a||a.dispatch("onGroupEvent",i)},12:function(){var e,r;n.type="ban",u.onPresence&&u.onPresence(n),t.isChatroom?null===(e=u.eventHandler)||void 0===e||e.dispatch("onChatroomChange",n):null===(r=u.eventHandler)||void 0===r||r.dispatch("onGroupChange",n)},11:function(){var e,r;n.type="getBlackList",u.onPresence&&u.onPresence(n),t.isChatroom?null===(e=u.eventHandler)||void 0===e||e.dispatch("onChatroomChange",n):null===(r=u.eventHandler)||void 0===r||r.dispatch("onGroupChange",n)},10:function(){var e,r,o,a;n.type="removedFromGroup",n.kicked=n.to,u.onPresence&&u.onPresence(n),t.isChatroom?null===(e=u.eventHandler)||void 0===e||e.dispatch("onChatroomChange",n):null===(r=u.eventHandler)||void 0===r||r.dispatch("onGroupChange",n),i.operation="removeMember",t.isChatroom?null===(o=u.eventHandler)||void 0===o||o.dispatch("onChatroomEvent",i):null===(a=u.eventHandler)||void 0===a||a.dispatch("onGroupEvent",i)},9:function(){var e,r,o,a;n.type="invite_decline",n.kicked=n.to,u.onPresence&&u.onPresence(n),t.isChatroom?null===(e=u.eventHandler)||void 0===e||e.dispatch("onChatroomChange",n):null===(r=u.eventHandler)||void 0===r||r.dispatch("onGroupChange",n),i.operation="rejectInvite",t.isChatroom?null===(o=u.eventHandler)||void 0===o||o.dispatch("onChatroomEvent",i):null===(a=u.eventHandler)||void 0===a||a.dispatch("onGroupEvent",i)},8:function(){var e,r,o,a;n.type="invite_accept",n.kicked=n.to,u.onPresence&&u.onPresence(n),t.isChatroom?null===(e=u.eventHandler)||void 0===e||e.dispatch("onChatroomChange",n):null===(r=u.eventHandler)||void 0===r||r.dispatch("onGroupChange",n),i.operation="acceptInvite",t.isChatroom?null===(o=u.eventHandler)||void 0===o||o.dispatch("onChatroomEvent",i):null===(a=u.eventHandler)||void 0===a||a.dispatch("onGroupEvent",i)},7:function(){var e,r,o,a;n.type="invite",n.kicked=n.to,n.groupName=t.mucName,u.onPresence&&u.onPresence(n),t.isChatroom?null===(e=u.eventHandler)||void 0===e||e.dispatch("onChatroomChange",n):null===(r=u.eventHandler)||void 0===r||r.dispatch("onGroupChange",n),i.operation="inviteToJoin",i.name=t.mucName,t.isChatroom?null===(o=u.eventHandler)||void 0===o||o.dispatch("onChatroomEvent",i):null===(a=u.eventHandler)||void 0===a||a.dispatch("onGroupEvent",i)},6:function(){var e,r,o,a;n.type="joinPublicGroupDeclined",u.onPresence&&u.onPresence(n),t.isChatroom?null===(e=u.eventHandler)||void 0===e||e.dispatch("onChatroomChange",n):null===(r=u.eventHandler)||void 0===r||r.dispatch("onGroupChange",n),i.operation="joinPublicGroupDeclined",t.isChatroom?null===(o=u.eventHandler)||void 0===o||o.dispatch("onChatroomEvent",i):null===(a=u.eventHandler)||void 0===a||a.dispatch("onGroupEvent",i)},5:function(){var e,r,o,a;n.type="joinPublicGroupSuccess",u.onPresence&&u.onPresence(n),t.isChatroom?null===(e=u.eventHandler)||void 0===e||e.dispatch("onChatroomChange",n):null===(r=u.eventHandler)||void 0===r||r.dispatch("onGroupChange",n),i.operation="acceptRequest",t.isChatroom?null===(o=u.eventHandler)||void 0===o||o.dispatch("onChatroomEvent",i):null===(a=u.eventHandler)||void 0===a||a.dispatch("onGroupEvent",i)},4:function(){var e,r,o,a;n.type="joinGroupNotifications",n.reason=t.reason,u.onPresence&&u.onPresence(n),t.isChatroom?null===(e=u.eventHandler)||void 0===e||e.dispatch("onChatroomChange",n):null===(r=u.eventHandler)||void 0===r||r.dispatch("onGroupChange",n),i.operation="requestToJoin",t.isChatroom?null===(o=u.eventHandler)||void 0===o||o.dispatch("onChatroomEvent",i):null===(a=u.eventHandler)||void 0===a||a.dispatch("onGroupEvent",i)},3:function(){var e,r;n.type="leave",u.onPresence&&u.onPresence(n),t.isChatroom?null===(e=u.eventHandler)||void 0===e||e.dispatch("onChatroomChange",n):null===(r=u.eventHandler)||void 0===r||r.dispatch("onGroupChange",n)},2:function(){var e,r;n.type="join",u.onPresence&&u.onPresence(n),t.isChatroom?null===(e=u.eventHandler)||void 0===e||e.dispatch("onChatroomChange",n):null===(r=u.eventHandler)||void 0===r||r.dispatch("onGroupChange",n)},1:function(){var e,r,o,a;n.type="deleteGroupChat",u.onPresence&&u.onPresence(n),t.isChatroom?null===(e=u.eventHandler)||void 0===e||e.dispatch("onChatroomChange",n):null===(r=u.eventHandler)||void 0===r||r.dispatch("onGroupChange",n),i.operation="destroy",t.isChatroom?null===(o=u.eventHandler)||void 0===o||o.dispatch("onChatroomEvent",i):null===(a=u.eventHandler)||void 0===a||a.dispatch("onGroupEvent",i)},0:function(){var e,r;i.operation="create",t.isChatroom?null===(e=u.eventHandler)||void 0===e||e.dispatch("onChatroomEvent",i):null===(r=u.eventHandler)||void 0===r||r.dispatch("onGroupEvent",i)}}[e]||function(){console.error("No match operation ".concat(e))})()}var Ce,Oe=function(e){var t=this.root.lookup("easemob.pb.MUCBody").decode(e.payload),r=t.operation;H.debug("onMucMessage",t),be.call(this,r,t)};!function(e){e[e.Add=2]="Add",e[e.Remove=3]="Remove",e[e.Accept=4]="Accept",e[e.Decline=5]="Decline",e[e.Ban=6]="Ban",e[e.Allow=7]="Allow"}(Ce||(Ce={}));var Ae={operatRoster:function(e,t,r,n){var o=[],a=this.root.lookup("easemob.pb.RosterBody"),i=a.decode(o);switch(t){case"add":i.operation=Ce.Add;break;case"remove":i.operation=Ce.Remove;break;case"accept":i.operation=Ce.Accept;break;case"decline":i.operation=Ce.Decline;break;case"ban":i.operation=Ce.Ban;break;case"allow":i.operation=Ce.Allow;break;default:H.error("operatRoster:",t)}i.from=this.context.jid;var s=[];if("string"==typeof e.to)s.push({appKey:this.appKey||this.context.appKey,name:e.to,domain:"easemob.com"});else if(e.to instanceof Array)for(var u=0;u0){for(var r=Array.from(this.unMSyncSendMsgMap.keys()),n=0;n0&&o[o.length-1])||6!==s[0]&&2!==s[0])){i=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]0&&this._queues.splice(I,1),this._queues.length>0&&(Ge.call(this,this._queues[0]),this.qTimer&&clearTimeout(this.qTimer))}else Xe.call(this,S.nextKey,S.queue)}else if(S.isLast){var P=-1;this._queues.some((function(e,t){return e.name===S.queue.name&&(P=t,!0)}))&&this._queues.splice(P,1),this._queues.length>0&&(Ge.call(this,this._queues[0]),this.qTimer&&clearTimeout(this.qTimer))}else if(S.status&&0===S.status.errorCode){if(this._queues.some((function(e,t){var r;return e.name===(null===(r=S.queue)||void 0===r?void 0:r.name)&&!0})),x=A.get(C)){var N=x.rpt,M=x.requestName,w=x.resolve;N({isEndApi:!0,data:{isSuccess:1,requestName:M,requestMethod:"WEBSOCKET",requestUrl:this.url,code:b.success}}),w(),A.delete(C)}var L=this._msgHash[C];if(null==L?void 0:L.isHandleChatroom){try{var k="join"===(null===(r=this._msgHash[C])||void 0===r?void 0:r.operation);(null===(n=this._msgHash[C])||void 0===n?void 0:n.resolve)instanceof Function&&k&&this._msgHash[C].resolve({type:0,data:{action:"apply",id:this._msgHash[C].roomId,result:!0,user:this.context.userId}}),(null===(o=this._msgHash[C])||void 0===o?void 0:o.success)instanceof Function&&k&&this._msgHash[C].success({type:0,data:{action:"apply",id:this._msgHash[C].roomId,result:!0,user:this.context.userId}}),(null===(a=this._msgHash[C])||void 0===a?void 0:a.resolve)instanceof Function&&!k&&this._msgHash[C].resolve({type:0,data:{result:!0}}),(null===(i=this._msgHash[C])||void 0===i?void 0:i.success)instanceof Function&&!k&&this._msgHash[C].success({type:0,data:{result:!0}})}catch(e){O=y.create({type:h.WEBIM_CONNCTION_CALLBACK_INNER_ERROR,message:"when executing success function error",data:e}),this.onError&&this.onError(O),null===(s=this.eventHandler)||void 0===s||s.dispatch("onError",O)}delete this._msgHash[C]}if(L&&!L.isHandleChatroom){R.has(C)&&(R.get(C).rpt({isEndApi:!0,data:{isSuccess:1,requestMethod:"WEBSOCKET",requestUrl:this.url,code:b.success,msgId:E}}),R.delete(C));try{(null===(u=this._msgHash[C])||void 0===u?void 0:u.resolve)instanceof Function&&this._msgHash[C].resolve({localMsgId:C,serverMsgId:E}),(null===(c=this._msgHash[C])||void 0===c?void 0:c.success)instanceof Function&&this._msgHash[C].success(C,E)}catch(e){O=y.create({type:h.WEBIM_CONNCTION_CALLBACK_INNER_ERROR,message:"when executing success function error",data:e}),this.onError&&this.onError(O),null===(l=this.eventHandler)||void 0===l||l.dispatch("onError",O)}this.onReceivedMessage&&this.onReceivedMessage({id:C,mid:E,to:this._msgHash[C].to,time:0}),null===(d=this.eventHandler)||void 0===d||d.dispatch("onReceivedMessage",{id:C,mid:E,to:this._msgHash[C].to}),delete this._msgHash[C]}}else if(S.status&&15===S.status.errorCode)(null===(f=this._msgHash[C])||void 0===f?void 0:f.fail)instanceof Function&&this._msgHash[C].fail({type:h.SERVICE_NOT_ALLOW_MESSAGING_MUTE,reason:"you were muted"}),this._msgHash[C].reject instanceof Function&&this._msgHash[C].reject({type:h.SERVICE_NOT_ALLOW_MESSAGING_MUTE,reason:"you were muted"});else if(S.status&&1===S.status.errorCode){var B=void 0;switch(S.status.reason){case"blocked":B=h.PERMISSION_DENIED;break;case"group not found":B=h.GROUP_NOT_EXIST;break;case"not in group or chatroom":B=h.GROUP_NOT_JOINED;break;case"exceed recall time limit":B=h.MESSAGE_RECALL_TIME_LIMIT;break;case"message recall disabled":B=h.SERVICE_NOT_ENABLED;break;case"not in group or chatroom white list":B=h.SERVICE_NOT_ALLOW_MESSAGING;break;case"nonroster":B=h.USER_NOT_FRIEND,S.status.reason="not contact";break;case"group is disabled":B=h.GROUP_IS_DISABLED,S.status.reason="group is disabled";break;case"limit directed users":B=h.MAX_LIMIT;break;default:S.status.reason.includes("grpID")&&S.status.reason.includes("does not exist!")?(B=h.CHATROOM_NOT_EXIST,S.status.reason="The chat room dose not exist."):S.status.reason.includes("username")&&S.status.reason.includes("doesn't exist!")?B=h.USER_NOT_FOUND:"group member list is full!"===S.status.reason?B=h.CHATROOM_MEMBERS_FULL:S.status.reason.includes("can not join this group")&&S.status.reason.includes("is in the blacklist")?(B=h.PERMISSION_DENIED,S.status.reason="permission denied"):B="can not operate this group, reason: group is disabled"===S.status.reason?h.GROUP_IS_DISABLED:S.status.reason.includes("moderation")?h.MESSAGE_MODERATION_BLOCKED:h.SERVER_UNKNOWN_ERROR}if(this._msgHash[C]){if(null===(p=this._msgHash[C])||void 0===p?void 0:p.isHandleChatroom){var D=y.create({type:B,message:S.status.reason||"",data:""});this._msgHash[C].reject instanceof Function&&this._msgHash[C].reject(D),this._msgHash[C].error instanceof Function&&this._msgHash[C].error(D)}else D=y.create({type:B,message:S.status.reason||"",data:{id:C,mid:E}}),this._msgHash[C].reject instanceof Function&&this._msgHash[C].reject(D),this._msgHash[C].fail instanceof Function&&this._msgHash[C].fail({type:B,reason:S.status.reason?S.status.reason:"",data:{id:C,mid:E}});delete this._msgHash[C]}}else if(S.status&&7===S.status.errorCode)"sensitive words"===S.status.reason&&this._msgHash[C]?(D=y.create({type:h.MESSAGE_INCLUDE_ILLEGAL_CONTENT,message:"sensitive words",data:{id:C,mid:E}}),this._msgHash[C].reject instanceof Function&&this._msgHash[C].reject(D),this._msgHash[C].fail instanceof Function&&this._msgHash[C].fail({type:h.MESSAGE_INCLUDE_ILLEGAL_CONTENT,data:{id:C,mid:E,reason:"sensitive words"}})):"blocked by mod_antispam"===S.status.reason&&this._msgHash[C]?(D=y.create({type:h.MESSAGE_INCLUDE_ILLEGAL_CONTENT,message:"blocked by mod_antispam",data:{id:C,mid:E}}),this._msgHash[C].reject instanceof Function&&this._msgHash[C].reject(D),this._msgHash[C].fail instanceof Function&&this._msgHash[C].fail({type:h.MESSAGE_INCLUDE_ILLEGAL_CONTENT,data:{id:C,mid:E,reason:"blocked by mod_antispam"}})):"user is mute"===S.status.reason&&this._msgHash[C]?(D=y.create({type:h.USER_MUTED_BY_ADMIN,message:"user is mute",data:{id:C,mid:E}}),this._msgHash[C].reject instanceof Function&&this._msgHash[C].reject(D),this._msgHash[C].fail instanceof Function&&this._msgHash[C].fail(D)):"traffic limit"===S.status.reason&&this._msgHash[C]?(D=y.create({type:h.MESSAGE_CURRENT_LIMITING,message:"traffic limit",data:{id:C,mid:E}}),this._msgHash[C].reject instanceof Function&&this._msgHash[C].reject(D),this._msgHash[C].fail instanceof Function&&this._msgHash[C].fail(D)):"Sorry, data is too large"===S.status.reason&&this._msgHash[C]&&(D=y.create({type:h.MESSAGE_SIZE_LIMIT,message:"Sorry, data is too large",data:{id:C,mid:E}}),this._msgHash[C].reject instanceof Function&&this._msgHash[C].reject(D),this._msgHash[C].fail instanceof Function&&this._msgHash[C].fail(D));else if(S.status&&19===S.status.errorCode)this._msgHash[C]&&(R.has(C)&&(R.get(C).rpt({isEndApi:!0,data:{isSuccess:0,requestMethod:"WEBSOCKET",requestUrl:this.url,code:h.MESSAGE_EXTERNAL_LOGIC_BLOCKED,codeDesc:S.status.reason||"",msgId:E}}),R.delete(C)),D=y.create({type:h.MESSAGE_EXTERNAL_LOGIC_BLOCKED,message:S.status.reason||"",data:{id:C,mid:E}}),this._msgHash[C].reject instanceof Function&&this._msgHash[C].reject(D),this._msgHash[C].fail instanceof Function&&this._msgHash[C].fail({type:h.MESSAGE_EXTERNAL_LOGIC_BLOCKED,data:{id:C,mid:E,reason:S.status.reason}}));else if(this._msgHash[C]){R.has(C)&&(R.get(C).rpt({isEndApi:!0,data:{isSuccess:0,requestMethod:"WEBSOCKET",requestUrl:this.url,code:h.WEBIM_LOAD_MSG_ERROR,codeDesc:(null===(m=S.status)||void 0===m?void 0:m.reason)||"",msgId:E}}),R.delete(C));try{D=y.create({type:h.WEBIM_LOAD_MSG_ERROR,message:(null===(g=S.status)||void 0===g?void 0:g.reason)||"",data:{id:C,mid:E,reason:S.status&&S.status.reason}}),this._msgHash[C].reject instanceof Function&&this._msgHash[C].reject(D),this._msgHash[C].fail instanceof Function&&this._msgHash[C].fail({type:h.WEBIM_LOAD_MSG_ERROR,data:{errorCode:S.status&&S.status.errorCode,reason:S.status&&S.status.reason}})}catch(e){O=y.create({type:h.WEBIM_CONNCTION_CALLBACK_INNER_ERROR,message:"when executing fail function error",data:e}),this.onError&&this.onError(O),null===(T=this.eventHandler)||void 0===T||T.dispatch("onError",O)}delete this._msgHash[C]}else{var x;R.has(C)&&(R.get(C).rpt({isEndApi:!0,data:{isSuccess:0,requestMethod:"WEBSOCKET",requestUrl:this.url,code:h.WEBIM_CONNCTION_CALLBACK_INNER_ERROR,codeDesc:"on message error",msgId:E}}),R.delete(C)),(x=A.get(C))&&((N=x.rpt)({isEndApi:!0,data:{isSuccess:0,requestName:M=x.requestName,requestMethod:"WEBSOCKET",requestUrl:this.url,code:b.failed,codeDesc:"on message error"}}),A.delete(C)),O=y.create({type:h.WEBIM_CONNCTION_CALLBACK_INNER_ERROR,message:"on message error"}),this.onError&&this.onError(O),null===(_=this.eventHandler)||void 0===_||_.dispatch("onError",O)}}function it(e){var t=[],r=this.root.lookup("easemob.pb.KeyValue"),n=[];for(var o in e){var a=r.decode(t);a.key=o,"object"==u(e[o])?(a.type=8,a.stringValue=JSON.stringify(e[o])):"string"==typeof e[o]?(a.type=7,a.stringValue=e[o]):"boolean"==typeof e[o]?(a.type=1,a.varintValue=!0===e[o]?1:0):Number.isInteger(e[o])?(a.type=2,a.varintValue=e[o]):(a.type=6,a.doubleValue=e[o]),n.push(a)}return n}function st(e){var t,r,n,o=[];if(this.root){var a,i=this.root.lookup("easemob.pb.MessageBody.Content").decode(o);switch(a=!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":i.type=0,i.text=e.msg;break;case"img":i.type=1,e.body?(i.displayName=e.body.filename,i.remotePath=e.body.url,i.secretKey=e.body.secret,i.fileLength=e.body.file_length,i.size=e.body.size,i.thumbnailDisplayName=e.body.filename):e.file?(i.displayName=e.file.filename,i.remotePath=e.file.url,i.secretKey=e.file.secret,i.fileLength=e.file.file_length,i.size=e.file.size,i.thumbnailDisplayName=e.file.filename):(i.displayName=e.filename,i.remotePath=e.url,i.secretKey=e.secret,i.fileLength=e.file_length,i.size=e.size,i.thumbnailDisplayName=e.filename);break;case"video":i.type=2,i.displayName=e.body.filename,i.remotePath=e.body.url,i.secretKey=e.body.secret,i.fileLength=e.body.file_length,i.duration=e.body.length,i.thumbnailDisplayName=e.body.filename;break;case"loc":i.type=3,i.latitude=e.lat,i.longitude=e.lng,i.address=e.addr,i.buildingName=e.buildingName,i.latitude=e.lat;break;case"audio":i.type=4,i.displayName=e.body.filename,i.remotePath=e.body.url,i.secretKey=e.body.secret,i.fileLength=e.body.file_length,i.duration=e.body.length,i.thumbnailDisplayName=e.body.filename;break;case"file":i.type=5,i.displayName=e.body.filename,i.remotePath=e.body.url,i.secretKey=e.body.secret,i.fileLength=e.body.file_length,i.size=e.body.size,i.thumbnailDisplayName=e.body.filename;break;case"cmd":i.type=6,i.action=e.action;break;case"custom":i.type=7,i.customEvent=e.customEvent,i.customExts=it.call(this,e.customExts)}var s=[];e.ext&&(s=it.call(this,e.ext));var u=this.root.lookup("easemob.pb.MessageBody"),c=u.decode(o);c.from={name:this.context.jid.name},c.to={name:e.to},"channel"===e.type?c.type=7:"recall"===e.type?(c.type=6,c.ackMessageId=e.ackId):"delivery"===e.type?(c.type=5,c.ackMessageId=e.ackId):"read"===e.type?(c.type=4,c.ackMessageId=e.ackId,"groupChat"===a&&(c.msgConfig={allowGroupAck:!0},c.ackContent=e.ackContent)):"chatRoom"===a?c.type=3:"groupChat"===a?(c.type=2,e.msgConfig&&(c.msgConfig={allowGroupAck:!0})):"singleChat"===a&&(c.type=1),c.contents=[i],c.ext=s;var l=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);l&&(c.meta=l),c=u.encode(c).finish();var d=this.root.lookup("easemob.pb.Meta").decode(o);d.id=e.id;var f="easemob.com";"chatRoom"!==a&&"groupChat"!==a||(f="conference.easemob.com"),d.to={appKey:this.appKey,name:e.to,domain:f},"chatRoom"===a&&(d.ext=it.call(this,function(e){return{chatroom_msg_tag:"high"===e.priority?0:"low"===e.priority?2:1}}(e))[0]),d.ns=1,d.payload=c,d.routetype=e.deliverOnlineOnly?1:0,"singleChat"!==a&&Array.isArray(e.receiverList)&&(null===(n=e.receiverList)||void 0===n?void 0:n.length)>0&&(d.directedUsers=e.receiverList,d.routetype=2,H.debug("receiverList:",e.receiverList,"thirdMessage",d));var p=this.root.lookup("easemob.pb.CommSyncUL"),m=p.decode(o);m.meta=d,m=p.encode(m).finish();var g=this.root.lookup("easemob.pb.MSync"),v=g.decode(o);return v.version=this.version,v.encryptType=this.encryptType,v.command=0,v.payload=m,g.encode(v).finish()}e.fail&&e.fail({type:h.WEBIM_CONNCTION_CLIENT_OFFLINE,message:"Not logged in"})}function ut(e){var t=this,r=ke({},e);if(e.file)return r.accessToken=this.token,r.appKey=this.appKey,r.apiUrl=this.apiUrl,r.body&&r.body.url?st.call(this,r):new Promise((function(n,o){var a=r.onFileUploadComplete;r.onFileUploadComplete=function(n){var o,i;if(n.entities[0]["file-metadata"]){var s=n.entities[0]["file-metadata"]["content-length"];r.file_length=s,r.filetype=n.entities[0]["file-metadata"]["content-type"],s>204800&&(r.thumbnail=!0)}r.body={type:r.type||"file",secret:n.entities[0]["share-secret"],filename:r.file.filename||r.filename,url:(t.isHttpDNS?t.apiUrl+n.uri.substr(n.uri.indexOf("/",9)):n.uri)+"/"+n.entities[0].uuid,length:r.length||0,filetype:r.filetype||r.file.filetype,file_length:(null===(i=null===(o=r.file)||void 0===o?void 0:o.data)||void 0===i?void 0:i.size)||0,size:{width:r.width||0,height:r.height||0}},r.file.url=n.uri,e.secret=n.entities[0]["share-secret"];var u=(t.isHttpDNS?t.apiUrl+n.uri.substr(n.uri.indexOf("/",9)):n.uri)+"/"+n.entities[0].uuid;e.url=u,n.url=u,"img"===r.type&&(e.thumb="".concat(u,"?thumbnail=true"),n.thumb="".concat(u,"?thumbnail=true")),a instanceof Function&&a(n,r.id);var c=st.call(t,r);R.size<=I&&R.set(r.id,{rpt:t.dataReport.geOperateFun({operationName:_.SEND_MSG})}),ft.call(t,c)},ee.uploadFile.call(t,r,_.UPLOAD_MSG_ATTACH)}));"img"===e.type&&(r.body||(r.body=ke(ke({},r),{size:{width:r.width||0,height:r.height||0}})));var n=st.call(this,r);ft.call(this,n)}function ct(e,t,r){var n=[],o=this.root.lookup("easemob.pb.MUCBody"),a=o.decode(n);a.mucId={appKey:this.appKey,name:e,domain:"conference.easemob.com"},a.operation="join"===r?2:3,a.from={name:this.context.userId},a.isChatroom=!0,a=o.encode(a).finish();var i=this.root.lookup("easemob.pb.Meta").decode(n);i.id=t,i.from={appKey:this.appKey,name:this.context.userId,domain:"easemob.com",client_resource:this.context.jid.clientResource},i.to={domain:"easemob.com"},i.ns=2,i.payload=a;var s=this.root.lookup("easemob.pb.CommSyncUL"),u=s.decode(n);u.meta=i,u=s.encode(u).finish();var c=this.root.lookup("easemob.pb.MSync"),l=c.decode(n);return l.version=this.version,l.encryptType=this.encryptType,l.command=0,l.payload=u,c.encode(l).finish()}function lt(e,t){var r=ee.getUniqueId(),n=ct.call(this,e.roomId,r,t);return ft.call(this,ke(ke({},e),{isHandleChatroom:!0,joinMsg:n,id:r,operation:t}),r)}function dt(e){var t=this;return new Promise((function(r,n){var o,a;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 i="file"===e.type||"img"===e.type||"audio"===e.type||"video"===e.type,s="delivery"===e.type||"read"===e.type||"channel"===e.type;if(e.id&&((!i&&!s||i&&t.useOwnUploadFun)&&R.size<=I&&R.set(e.id,{rpt:t.dataReport.geOperateFun({operationName:"recall"===e.type?_.SEND_RECALL_MSG:_.SEND_MSG})}),t._msgHash[e.id]=ke(ke({},e),{resolve:r,reject:n})),i)return ut.call(t,e);if("txt"===e.type&&(null===(o=e.msgConfig)||void 0===o?void 0:o.languages)&&Array.isArray(null===(a=e.msgConfig)||void 0===a?void 0:a.languages)&&e.msgConfig.languages.length>0){var u=t.translateMessage||t.translation.translateMessage;if(!u)throw new Error("there is no method to translate message");u({text:e.msg,languages:e.msgConfig.languages}).then((function(r){var n,o=null===(n=r.data[0])||void 0===n?void 0:n.translations;o=o.map((function(e){return{code:e.to,text:e.text}})),e.translations=o;var a=st.call(t,e);ft.call(t,a,e.id)})).catch((function(e){n(e)}))}else{var c=st.call(t,e);ft.call(t,c,e.id)}}))}function ft(e,t){var r,n,o=this;if(e.isHandleChatroom){if(!this.isOpened()){var a={data:"",type:h.WEBIM_CONNCTION_DISCONNECTED,message:"websocket has been disconnected"};return Promise.reject(a)}return new Promise((function(r,n){var a;o._msgHash[e.id]=ke(ke({},e),{resolve:r,reject:n}),a="miniCore"===o.name?e.joinMsg:xe.call(o,e.joinMsg,t),o.sock.send(a)}))}if(!this.isOpened())return null===(r=this.unMSyncSendMsgMap)||void 0===r||r.set(t,e),!this.logOut&&this.autoReconnectNumTotalT.UNKNOWOPERATION&&tT.REST_OPERATE&&tT.MSYNC_OPERATE&&tT.ROSTER_OPERATE&&tT.USER_OPERATE&&tT.GROUP_OPERATE&&t=e.eventQueue.length-1&&(e.eventQueue=[])}))},e.prototype.init=function(t){e.instance||(e.instance=this,Rt.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="",a=St(),i=e.uid,s=e.operationName;i&&(this.uid=i);var u={uid:this.uid,operationId:"opr_".concat(ee.getUniqueId(),"_").concat(bt()),requestid:"req_".concat(ee.getUniqueId(),"_").concat(bt()),operationName:s};return function(e){var i,c,l,d;if(e.data.isSuccess?(n=0,o=""):(0===e.data.code&&(e.data.code=-1),n=null!==(i=e.data.code)&&void 0!==i?i:n,o=null!==(c=e.data.codeDesc)&&void 0!==c?c:o),(null===(l=e.data)||void 0===l?void 0:l.accessChannel)&&(t.accessChannel=null===(d=e.data)||void 0===d?void 0:d.accessChannel),e.isRetry?(r++,e.data.subrequestid="".concat(r)):(u.requestid="req_".concat(ee.getUniqueId(),"_").concat(bt()),r=1),e.data.isLastApi){var f=St();e.data.requestElapse=f-a,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=St()-a),t.reportData.call(t,P,It(It(It(It({},Pt),u),e.data),{accessChannel:t.accessChannel,operationType:_t(s)})),e.isEndApi&&t.reportData.call(t,P,It(It(It({},u),Pt),{isSuccess:e.data.isSuccess,isLastApi:1,subrequestid:"0",requestMethod:"",code:200===n?0:n,codeDesc:o,requestElapse:e.data.requestElapse,accessChannel:t.accessChannel,operationType:_t(s)}))}},e.prototype.reportData=function(e,t){return r=this,void 0,o=function(){var r,n,o,a,i,s,u,c;return function(e,t){var r,n,o,a,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return a={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function s(s){return function(u){return function(s){if(r)throw new TypeError("Generator is already executing.");for(;a&&(a=0,s[0]&&(i=0)),i;)try{if(r=1,n&&(o=2&s[0]?n.return:s[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,s[1])).done)return o;switch(n=0,o&&(s=[2&s[0],o.value]),s[0]){case 0:case 1:o=s;break;case 4:return i.label++,{value:s[1],done:!1};case 5:i.label++,n=s[1],s=[0];continue;case 7:s=i.ops.pop(),i.trys.pop();continue;default:if(!((o=(o=i.trys).length>0&&o[o.length-1])||6!==s[0]&&2!==s[0])){i=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]0?"fail":"success",errorKeys:t.errorKeys,successKeys:t.successKeys},type:r}}function Dt(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")?y.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")?y.create({type:h.MAX_LIMIT,message:n}):n.includes("is not Legal")?y.create({type:h.REQUEST_PARAMETER_ERROR,message:n}):n.includes("Failed to update userMetadata. Concurrent updates not allowed")?y.create({type:h.OPERATION_NOT_ALLOWED,message:n}):y.create({type:h.WEBIM_CONNCTION_AJAX_ERROR,message:n})})),r}var xt=function(){return xt=Object.assign||function(e){for(var t,r=1,n=arguments.length;r0&&o[o.length-1])||6!==s[0]&&2!==s[0])){i=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]0&&e.pageSize>0),s={url:"".concat(this.apiUrl,"/").concat(n,"/").concat(o,"/users/").concat(this.user,"/user_channels").concat(i?"/page":""),type:"GET",dataType:"json",headers:{Authorization:"Bearer "+a,"Content-Type":"application/json"},success:e&&(null==e?void 0:e.success),error:e&&(null==e?void 0:e.error)};return i&&(s.data={pageNum:e.pageNum,pageSize:e.pageSize}),H.debug("Call getConversationlist"),J.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=oe(e.meta)):e.lastMessage=e.meta,delete e.meta})),e}(e)}))}function Wt(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(!kt.call(this)){var t=y.create({type:h.REST_PARAMS_STATUS,message:"appkey or token error"});return Promise.reject(t)}var r,n=this.context,o=n.orgName,a=n.appName,i=n.accessToken,s=n.jid;r="singleChat"===e.chatType?"chat":"groupChat";var u={url:"".concat(this.apiUrl,"/").concat(o,"/").concat(a,"/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 "+i,"Content-Type":"application/json"},success:e.success,error:e.error};return H.debug("Call deleteSession",e),J.call(this,u,_.DELETE_SESSION)}var Kt=Wt;function zt(t,r){if(!kt.call(this)){var n=y.create({type:h.REST_PARAMS_STATUS,message:"appkey or token error"});return Promise.reject(n)}var o=this.context,a=o.orgName,i=o.appName,s=o.accessToken,u=["nickname","avatarurl","mail","phone","gender","sign","birth","ext"],c={};if("undefined"!=typeof e||"undefined"!=typeof qq)if("string"==typeof t&&void 0!==r){if(!u.includes(t))throw new Error("illegal key, only these keys: nickname, avatarurl, mail, phone, gender, sign, birth, ext are allowed");c[t]=r}else{if("[object Object]"!==Object.prototype.toString.call(t))throw new Error("illegal params");u.forEach((function(e){u.includes(e)&&void 0!==t[e]&&(c[e]=t[e])}))}else if("string"==typeof t){if(!u.includes(t))throw new Error("illegal key, only these keys: nickname, avatarurl, mail, phone, gender, sign, birth, ext are allowed");c=t+"="+r}else{if("[object Object]"!==Object.prototype.toString.call(t))throw new Error("illegal params");var l=[];u.forEach((function(e){if(u.includes(e)&&void 0!==t[e]){var r=encodeURIComponent(e),n=encodeURIComponent(t[e]);l.push(r+"="+n)}})),c=l.join("&")}var d={url:"".concat(this.apiUrl,"/").concat(a,"/").concat(i,"/metadata/user/").concat(this.user),type:"PUT",data:c,dataType:"json",headers:{Authorization:"Bearer "+s,"Content-Type":"application/x-www-form-urlencoded"}};return H.debug("Call updateOwnUserInfo",t),J.call(this,d,_.UPDATE_USER_INFO)}var $t=zt;function qt(e,t){if(!kt.call(this)){var r=y.create({type:h.REST_PARAMS_STATUS,message:"appkey or token error"});return Promise.reject(r)}var n,o=this.context,a=o.orgName,i=o.appName,s=o.accessToken,u=[];if("string"==typeof e)u=[e];else{if("[object Array]"!==Object.prototype.toString.call(e))throw new Error("illegal params");u=e}n="string"==typeof t?[t]:t&&"[object Array]"===Object.prototype.toString.call(t)?t:["nickname","avatarurl","mail","phone","gender","sign","birth","ext"];var c={url:"".concat(this.apiUrl,"/").concat(a,"/").concat(i,"/metadata/user/get"),type:"POST",data:JSON.stringify({targets:u,properties:n}),dataType:"json",headers:{Authorization:"Bearer "+s,"Content-Type":"application/json"}};return H.debug("Call fetchUserInfoById",e),J.call(this,c,_.GET_USER_INFO)}function Vt(e){if(!kt.call(this)){var t=y.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,a=r.accessToken,i={url:"".concat(this.apiUrl,"/").concat(n,"/").concat(o,"/users/").concat(this.user),type:"PUT",dataType:"json",data:JSON.stringify({nickname:e}),headers:{Authorization:"Bearer "+a,"Content-Type":"application/json"}};return H.debug("Call updateCurrentUserNick",e),J.call(this,i)}function er(e){if("string"!=typeof e||""===e)throw Error('Invalid parameter: "agoraToken"');var t=this.context,r=t.orgName,n=t.appName,o={url:this.apiUrl+"/"+r+"/"+n+"/token",dataType:"json",type:"POST",data:JSON.stringify({grant_type:"agora"}),headers:{Authorization:"Bearer "+e,"Content-Type":"application/json"}};return H.debug("Call getChatToken",e),J.call(this,o,_.SDK_INTERNAL)}function tr(e){var t=this;return new Promise((function(r,n){if(!e.queue)throw Error('Invalid parameter: "specified"');if(!kt.call(t)){var o=y.create({type:h.REST_PARAMS_STATUS,message:"appkey or token error"});return Promise.reject(o)}(function e(t){var o=this,a=t.count||20;rr.call(this,{count:a,isGroup:!!t.isGroup,queue:t.queue,start:t.start,format:t.format,success:function(n){if(n.msgs.length>=a||n.is_last){var i=n.msgs.splice(0,a).reverse();t.success&&t.success(i),r(i)}else e.call(o,xt(xt({},t),{start:null}))},fail:function(e){n(e),t.fail&&t.fail(e)}})}).call(t,e),H.debug("Call fetchHistoryMessages",e)}))}function rr(e){var t=this,r=e.queue,n=this.mr_cache[r]||(this.mr_cache[r]={msgs:[]}),o=this.context.userId,a=e.start||-1,i=e.count||20;if(n.msgs.length>=i||n.is_last)"function"==typeof e.success&&e.success(n);else{n&&n.next_key&&(a=n.next_key),e.start&&(a=e.start);var s={queue:r+(e.isGroup?"@conference.easemob.com":"@easemob.com"),start:a,end:-1},u=this.context,c=u.orgName,l=u.appName,d={url:"".concat(this.apiUrl,"/").concat(c,"/").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){var o=null==r?void 0:r.data;if(!r.data.msgs)return"function"==typeof e.success&&e.success(n),n.is_last=!0,void(n.next_key="");var a=o.msgs,i=a.length;n.is_last=o.is_last,n.next_key=o.next_key;for(var s=function(r){for(var n=[],o=0,a=(r=re().atob(r)).length;o18))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 kt.call(this)?(n=this.context,o=n.orgName,a=n.appName,i=n.userId,s="singleChat"===e.chatType?"userId":"groupId",u="singleChat"===e.chatType?"chat":"group",c=e.messageIds?"".concat(this.apiUrl,"/").concat(o,"/").concat(a,"/sdk/message/roaming/").concat(u,"/user/").concat(i,"?").concat(s,"=").concat(e.targetId,"&msgIdList=").concat(e.messageIds,"&resource=").concat(this.clientResource):"".concat(this.apiUrl,"/").concat(o,"/").concat(a,"/sdk/message/roaming/").concat(u,"/user/").concat(i,"/time?").concat(s,"=").concat(e.targetId,"&delTime=").concat(e.beforeTimeStamp,"&&resource=").concat(this.clientResource),l={url:c,dataType:"json",type:"DELETE",headers:{Authorization:"Bearer "+this.token,"Content-Type":"application/json"}},H.debug("Call removeHistoryMessages",e),[4,J.call(this,l)]):(r=y.create({type:h.REST_PARAMS_STATUS,message:"appkey or token error"}),[2,Promise.reject(r)]);case 1:return d.sent(),[2]}}))}))}function Or(e){if(!kt.call(this)){var t=y.create({type:h.REST_PARAMS_STATUS,message:"appkey or token error"});return Promise.reject(t)}if(e.pageSize&&"number"!=typeof e.pageSize)throw Error("Invalid parameter pageSize: ".concat(e.pageSize));if(e.cursor&&"string"!=typeof e.cursor)throw Error("Invalid parameter cursor: ".concat(e.cursor));var r=this.context,n=r.orgName,o=r.appName,a=r.accessToken,i={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)||""},headers:{Authorization:"Bearer "+a,"Content-Type":"application/json"}};return H.debug("Call getServerConversations",e),J.call(this,i,_.GET_SESSION_LIST).then((function(e){return Ar(e)}))}function Ar(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),t=oe(e.meta));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 a={conversations:o,cursor:r||""};return{type:e.type,data:a}}function Rr(e){if(!kt.call(this)){var t=y.create({type:h.REST_PARAMS_STATUS,message:"appkey or token error"});return Promise.reject(t)}if(e.pageSize&&"number"!=typeof e.pageSize)throw Error("Invalid parameter pageSize: ".concat(e.pageSize));if(e.cursor&&"string"!=typeof e.cursor)throw Error("Invalid parameter cursor: ".concat(e.cursor));var r=this.context,n=r.orgName,o=r.appName,a=r.accessToken,i={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 "+a,"Content-Type":"application/json"}};return H.debug("Call getServerConversations",e),J.call(this,i,_.GET_SESSION_LIST).then((function(e){return Ar(e)}))}function Ir(e){return Yt(this,void 0,void 0,(function(){var t,r,n,o,a,i,s,u,c,l,d,f,p,m;return Ht(this,(function(g){if(!kt.call(this))return t=y.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,a="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 i=this.context,s=i.orgName,u=i.appName,c=i.accessToken,l=i.jid,d={type:a,to:r},f=o?"":"type=".concat(a,"&to=").concat(r,"&"),p="".concat(this.apiUrl,"/").concat(s,"/").concat(u,"/sdk/user/").concat(this.user,"/user_channel/top?").concat(f,"resource=").concat(l.clientResource),m={url:p,type:o?"POST":"DELETE",dataType:"json",headers:{Authorization:"Bearer "+c,"Content-Type":"application/json"}},o&&(m.data=JSON.stringify(d)),H.debug("Call pinConversation",e),[2,J.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 Pr(e){if(!e||!e.data)throw Error("Invalid parameter");if(!kt.call(this)){var t=y.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,a=r.accessToken,i=r.jid,s={url:"".concat(this.apiUrl,"/").concat(n,"/").concat(o,"/chatgroups?resource=").concat(i.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 "+a,"Content-Type":"application/json"},success:function(t){e.success&&e.success(t)},error:e.error};return H.debug("Call createGroup:",e),J.call(this,s,_.CREATE_GROUP)}var Nr=Pr;function Mr(e){var t;if("string"!=typeof e.groupId||""===e.groupId)throw Error("Invalid parameter");if(!kt.call(this)){var r=y.create({type:h.REST_PARAMS_STATUS,message:"appkey or token error"});return Promise.reject(r)}var n=this.context,o=n.orgName,a=n.appName,i=n.accessToken,s=n.jid,u={entities:[(t={},t["notification_ignore_"+e.groupId]=!0,t)]},c={type:"PUT",url:"".concat(this.apiUrl,"/").concat(o,"/").concat(a,"/users/").concat(this.user,"?resource=").concat(s.clientResource),data:JSON.stringify(u),dataType:"json",headers:{Authorization:"Bearer "+i,"Content-Type":"application/json"},success:e.success,error:e.error};return H.debug("Call blockGroupMessages",e),J.call(this,c,_.BLOCK_GROUP)}var wr=Mr;function Lr(e){if("number"!=typeof e.limit)throw Error("Invalid parameter");if(!kt.call(this)){var t=y.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,a=r.accessToken,i={limit:e.limit,cursor:e.cursor};e.cursor||delete i.cursor;var s={url:this.apiUrl+"/"+n+"/"+o+"/publicchatgroups",type:"GET",dataType:"json",data:i,headers:{Authorization:"Bearer "+a,"Content-Type":"application/json"},success:e.success,error:e.error};return H.debug("Call listGroups",e),J.call(this,s,_.LIST_GROUP)}var kr=Lr;function Br(e){if(!kt.call(this)){var t=y.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,a=r.accessToken,i={url:this.apiUrl+"/"+n+"/"+o+"/users/"+this.user+"/joined_chatgroups",dataType:"json",type:"GET",headers:{Authorization:"Bearer "+a,"Content-Type":"application/json"},success:e&&(null==e?void 0:e.success),error:e&&(null==e?void 0:e.error)};return H.debug("Call getJoinedGroups",e),J.call(this,i,_.GET_USER_GROUP)}function Dr(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(!kt.call(this)){var t=y.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,a=r.accessToken,i=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+i,dataType:"json",type:"GET",headers:{Authorization:"Bearer "+a,"Content-Type":"application/json"},success:e&&(null==e?void 0:e.success),error:e&&(null==e?void 0:e.error)};return H.debug("Call getGroup",e),J.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 xr(e){if("string"!=typeof e.groupId||"string"!=typeof e.newOwner)throw Error("Invalid parameter");if(!kt.call(this)){var t=y.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,a=n.appName,i=n.accessToken,s=n.jid,u={url:"".concat(this.apiUrl,"/").concat(o,"/").concat(a,"/chatgroups/").concat(e.groupId,"?resource=").concat(s.clientResource),type:"PUT",dataType:"json",headers:{Authorization:"Bearer "+i,"Content-Type":"application/json"},data:JSON.stringify(r),success:e.success,error:e.error};return H.debug("Call changeOwner",e),J.call(this,u,_.CHANGE_OWNER)}var Yr=xr;function Hr(e){if("string"!=typeof e.groupId&&!Array.isArray(e.groupId))throw Error('Invalid parameter: "groupId"');if(!kt.call(this)){var t=y.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,a=r.accessToken,i={url:this.apiUrl+"/"+n+"/"+o+"/chatgroups/"+e.groupId+"?joined_time=true",type:"GET",dataType:"json",headers:{Authorization:"Bearer "+a,"Content-Type":"application/json"},success:e.success,error:e.error};return H.debug("Call getGroupInfo",e),J.call(this,i,_.GET_GROUP_INFO)}function Zr(e){if("string"!=typeof e.groupId||""===e.groupId)throw Error("Invalid parameter");if(!kt.call(this)){var t=y.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,a=r.accessToken,i=r.jid,s=e.groupId,u={groupname:e.groupName,description:e.description,custom:e.ext},c={url:"".concat(this.apiUrl,"/").concat(n,"/").concat(o,"/chatgroups/").concat(s,"?resource=").concat(i.clientResource),type:"PUT",data:JSON.stringify(u),dataType:"json",headers:{Authorization:"Bearer "+a,"Content-Type":"application/json"},success:e.success,error:e.error};return H.debug("Call modifyGroup",e),J.call(this,c,_.MODIFY_GROUP)}function Ur(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(!kt.call(this)){var t=y.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,a=n.appName,i=n.accessToken,s={url:this.apiUrl+"/"+o+"/"+a+"/chatgroups/"+e.groupId+"/users",dataType:"json",type:"GET",data:r,headers:{Authorization:"Bearer "+i,"Content-Type":"application/json"},success:e.success,error:e.error};return H.debug("Call listGroupMember",e),J.call(this,s,_.LIST_GROUP_MEMBER)}var Jr=Ur;function Gr(e){if("string"!=typeof e.groupId||""===e.groupId)throw Error('Invalid parameter: "groupId"');if(!kt.call(this)){var t=y.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,a=r.accessToken,i=e.groupId,s={url:this.apiUrl+"/"+n+"/"+o+"/chatgroups/"+i+"/admin",dataType:"json",type:"GET",headers:{Authorization:"Bearer "+a,"Content-Type":"application/json"},success:e.success,error:e.error};return H.debug("Call getGroupAdmin",e),J.call(this,s,_.GET_GROUP_ADMIN)}function jr(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(!kt.call(this)){var t=y.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,a=r.accessToken,i=r.jid,s=e.groupId,u={newadmin:e.username},c={url:"".concat(this.apiUrl,"/").concat(n,"/").concat(o,"/chatgroups/").concat(s,"/admin?resource=").concat(i.clientResource),type:"POST",dataType:"json",data:JSON.stringify(u),headers:{Authorization:"Bearer "+a,"Content-Type":"application/json"},success:e.success,error:e.error};return H.debug("Call setGroupAdmin",e),J.call(this,c,_.SET_GROUP_ADMIN)}var Xr=jr;function Fr(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(!kt.call(this)){var t=y.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,a=r.accessToken,i=r.jid,s=e.groupId,u=e.username,c={url:"".concat(this.apiUrl,"/").concat(n,"/").concat(o,"/chatgroups/").concat(s,"/admin/").concat(u,"?resource=").concat(i.clientResource),type:"DELETE",dataType:"json",headers:{Authorization:"Bearer "+a,"Content-Type":"application/json"},success:e.success,error:e.error};return H.debug("Call removeAdmin",e),J.call(this,c,_.REMOVE_GROUP_ADMIN)}var Qr=Fr;function Wr(e){if("string"!=typeof e.groupId||""===e.groupId)throw Error('Invalid parameter: "groupId"');if(!kt.call(this)){var t=y.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,a=r.accessToken,i=r.jid,s=e.groupId,u={url:"".concat(this.apiUrl,"/").concat(n,"/").concat(o,"/chatgroups/").concat(s,"?version=v3&resource=").concat(i.clientResource),type:"DELETE",dataType:"json",headers:{Authorization:"Bearer "+a,"Content-Type":"application/json"},success:e.success,error:e.error};return H.debug("Call destroyGroup",e),J.call(this,u,_.DISSOLVE_GROUP)}var Kr=Wr;function zr(e){if("string"!=typeof e.groupId||""===e.groupId)throw Error('Invalid parameter: "groupId"');if(!kt.call(this)){var t=y.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,a=r.accessToken,i=r.jid,s=e.groupId,u={url:"".concat(this.apiUrl,"/").concat(n,"/").concat(o,"/chatgroups/").concat(s,"/quit?resource=").concat(i.clientResource),type:"DELETE",dataType:"json",headers:{Authorization:"Bearer "+a,"Content-Type":"application/json"},success:e.success,error:e.error};return H.debug("Call quitGroup",e),J.call(this,u,_.QUIT_GROUP)}var $r=zr;function qr(e){if("string"!=typeof e.groupId||""===e.groupId)throw Error('Invalid parameter: "groupId"');if(!Array.isArray(e.users))throw Error('Invalid parameter: "users"');if(!kt.call(this)){var t=y.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,a=o.orgName,i=o.appName,s=o.accessToken,u=o.jid,c={url:"".concat(this.apiUrl,"/").concat(a,"/").concat(i,"/chatgroups/").concat(r,"/invite?resource=").concat(u.clientResource),type:"POST",data:JSON.stringify(n),dataType:"json",headers:{Authorization:"Bearer "+s,"Content-Type":"application/json"},success:e.success,error:e.error};return H.debug("Call inviteUsersToGroup",e),J.call(this,c,_.INVITE_TO_GROUP)}var Vr=qr;function en(e){if("string"!=typeof e.groupId||""===e.groupId)throw Error('Invalid parameter: "groupId"');if(!kt.call(this)){var t=y.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,a=r.accessToken,i=r.jid,s={url:"".concat(this.apiUrl,"/").concat(n,"/").concat(o,"/chatgroups/").concat(e.groupId,"/apply?resource=").concat(i.clientResource),type:"POST",dataType:"json",data:JSON.stringify({message:e.message||""}),headers:{Authorization:"Bearer "+a,"Content-Type":"application/json"},success:e.success,error:e.error};return H.debug("Call joinGroup",e),J.call(this,s,_.JOIN_GROUP)}function tn(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(!kt.call(this)){var t=y.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,a=r.accessToken,i=r.jid,s=e.groupId,u={applicant:e.applicant,verifyResult:!0,reason:"no clue"},c={url:"".concat(this.apiUrl,"/").concat(n,"/").concat(o,"/chatgroups/").concat(s,"/apply_verify?resource=").concat(i.clientResource),type:"POST",dataType:"json",data:JSON.stringify(u),headers:{Authorization:"Bearer "+a,"Content-Type":"application/json"},success:e.success,error:e.error};return H.debug("Call agreeJoinGroup",e),J.call(this,c,_.AGREE_JOIN_GROUP)}var rn=tn;function nn(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(!kt.call(this)){var t=y.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,a=r.accessToken,i=r.jid,s=e.groupId,u={applicant:e.applicant,verifyResult:!1,reason:e.reason||""},c={url:"".concat(this.apiUrl,"/").concat(n,"/").concat(o,"/chatgroups/").concat(s,"/apply_verify?resource=").concat(i.clientResource),type:"POST",dataType:"json",data:JSON.stringify(u),headers:{Authorization:"Bearer "+a,"Content-Type":"application/json"},success:e.success,error:e.error};return H.debug("Call rejectGroupJoinRequest",e),J.call(this,c,_.REJECT_JOIN_GROUP)}var on=nn;function an(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(!kt.call(this)){var t=y.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,a=r.accessToken,i=r.jid,s=e.groupId,u={invitee:e.invitee,verifyResult:!0},c={url:"".concat(this.apiUrl,"/").concat(n,"/").concat(o,"/chatgroups/").concat(s,"/invite_verify?resource=").concat(i.clientResource),type:"POST",dataType:"json",data:JSON.stringify(u),headers:{Authorization:"Bearer "+a,"Content-Type":"application/json"},success:e.success,error:e.error};return H.debug("Call acceptGroupInvite",e),J.call(this,c,_.AGREE_INVITE_GROUP)}var sn=an;function un(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(!kt.call(this)){var t=y.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,a=r.accessToken,i=r.jid,s=e.groupId,u={invitee:e.invitee,verifyResult:!1},c={url:"".concat(this.apiUrl,"/").concat(n,"/").concat(o,"/chatgroups/").concat(s,"/invite_verify?resource=").concat(i.clientResource),type:"POST",dataType:"json",data:JSON.stringify(u),headers:{Authorization:"Bearer "+a,"Content-Type":"application/json"},success:e.success,error:e.error};return H.debug("Call rejectGroupInvite",e),J.call(this,c,_.REJECT_INVITE_GROUP)}var cn=un;function ln(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(!kt.call(this)){var t=y.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,a=o.orgName,i=o.appName,s=o.accessToken,u=o.jid,c={url:"".concat(this.apiUrl,"/").concat(a,"/").concat(i,"/chatgroups/").concat(r,"/users/").concat(n,"?resource=").concat(u.clientResource),type:"DELETE",dataType:"json",headers:{Authorization:"Bearer "+s,"Content-Type":"application/json"},success:e.success,error:e.error};return H.debug("Call removeGroupMember",e),J.call(this,c,_.REMOVE_GROUP_MEMBER)}var dn=ln;function fn(e){if("string"!=typeof e.groupId||""===e.groupId)throw Error('Invalid parameter: "groupId"');if(!Array.isArray(e.users))throw Error('Invalid parameter: "users"');if(!kt.call(this)){var t=y.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,a=r.accessToken,i=r.jid,s=e.groupId,u=e.users.join(","),c={url:"".concat(this.apiUrl,"/").concat(n,"/").concat(o,"/chatgroups/").concat(s,"/users/").concat(u,"?resource=").concat(i.clientResource),type:"DELETE",dataType:"json",headers:{Authorization:"Bearer "+a,"Content-Type":"application/json"},success:e.success,error:e.error};return H.debug("Call removeGroupMembers",e),J.call(this,c,_.MULTI_REMOVE_GROUP_MEMBER)}var pn=fn;function hn(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(!kt.call(this)){var t=y.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,a=r.accessToken,i=r.jid,s=e.groupId,u={usernames:"string"==typeof e.username?[e.username]:e.username,mute_duration:e.muteDuration},c={url:"".concat(this.apiUrl,"/").concat(n,"/").concat(o,"/chatgroups/").concat(s,"/mute?resource=").concat(i.clientResource),dataType:"json",type:"POST",headers:{Authorization:"Bearer "+a,"Content-Type":"application/json"},data:JSON.stringify(u),success:e.success,error:e.error};return H.debug("Call muteGroupMember",e),J.call(this,c,_.MUTE_GROUP_MEMBER)}var mn=hn;function gn(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(!kt.call(this)){var t=y.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,a=r.accessToken,i=r.jid,s=e.groupId,u=e.username,c={url:"".concat(this.apiUrl,"/").concat(n,"/").concat(o,"/chatgroups/").concat(s,"/mute/").concat(u,"?resource=").concat(i.clientResource),dataType:"json",type:"DELETE",headers:{Authorization:"Bearer "+a,"Content-Type":"application/json"},success:e.success,error:e.error};return H.debug("Call unmuteGroupMember",e),J.call(this,c,_.UNMUTE_GROUP_MEMBER)}var vn=gn;function yn(e){if("string"!=typeof e.groupId||""===e.groupId)throw Error('Invalid parameter: "groupId"');if(!kt.call(this)){var t=y.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,a=r.accessToken,i=e.groupId,s={url:this.apiUrl+"/"+n+"/"+o+"/chatgroups/"+i+"/mute",dataType:"json",type:"GET",headers:{Authorization:"Bearer "+a,"Content-Type":"application/json"},success:e.success,error:e.error};return H.debug("Call getGroupMuteList",e),J.call(this,s,_.GET_GROUP_MUTE_LIST)}var Tn=yn,_n=yn;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(!kt.call(this)){var t=y.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,a=r.accessToken,i=r.jid,s=e.groupId,u=e.username,c={url:"".concat(this.apiUrl,"/").concat(n,"/").concat(o,"/chatgroups/").concat(s,"/blocks/users/").concat(u,"?resource=").concat(i.clientResource),type:"POST",dataType:"json",headers:{Authorization:"Bearer "+a,"Content-Type":"application/json"},success:e.success,error:e.error};return H.debug("Call blockGroupMember",e),J.call(this,c,_.BLOCK_GROUP_MEMBER)}var En=Sn;function bn(e){if("string"!=typeof e.groupId||""===e.groupId)throw Error('Invalid parameter: "groupId"');if(!Array.isArray(e.usernames))throw Error('Invalid parameter: "usernames"');if(!kt.call(this)){var t=y.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,a=r.accessToken,i=r.jid,s=e.groupId,u={usernames:e.usernames},c={url:"".concat(this.apiUrl,"/").concat(n,"/").concat(o,"/chatgroups/").concat(s,"/blocks/users?resource=").concat(i.clientResource),data:JSON.stringify(u),type:"POST",dataType:"json",headers:{Authorization:"Bearer "+a,"Content-Type":"application/json"},success:e.success,error:e.error};return H.debug("Call blockGroupMembers",e),J.call(this,c,_.BLOCK_GROUP_MEMBERS)}var Cn=bn;function On(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(!kt.call(this)){var t=y.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,a=r.accessToken,i=r.jid,s=e.groupId,u=e.username,c={url:"".concat(this.apiUrl,"/").concat(n,"/").concat(o,"/chatgroups/").concat(s,"/blocks/users/").concat(u,"?resource=").concat(i.clientResource),type:"DELETE",dataType:"json",headers:{Authorization:"Bearer "+a,"Content-Type":"application/json"},success:e.success,error:e.error};return H.debug("Call unblockGroupMember",e),J.call(this,c,_.UNBLOCK_GROUP_MEMBER)}var An=On;function Rn(e){if("string"!=typeof e.groupId||""===e.groupId)throw Error('Invalid parameter: "groupId"');if(!Array.isArray(e.usernames))throw Error('Invalid parameter: "usernames"');if(!kt.call(this)){var t=y.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,a=r.accessToken,i=r.jid,s=e.groupId,u=e.usernames.join(","),c={url:"".concat(this.apiUrl,"/").concat(n,"/").concat(o,"/chatgroups/").concat(s,"/blocks/users/").concat(u,"?resource=").concat(i.clientResource),type:"DELETE",dataType:"json",headers:{Authorization:"Bearer "+a,"Content-Type":"application/json"},success:e.success,error:e.error};return H.debug("Call unblockGroupMembers",e),J.call(this,c,_.UNBLOCK_GROUP_MEMBERS)}var In=Rn;function Pn(e){if("string"!=typeof e.groupId||""===e.groupId)throw Error('Invalid parameter: "groupId"');if(!kt.call(this)){var t=y.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,a=r.accessToken,i=e.groupId,s={url:this.apiUrl+"/"+n+"/"+o+"/chatgroups/"+i+"/blocks/users",type:"GET",dataType:"json",headers:{Authorization:"Bearer "+a,"Content-Type":"application/json"},success:e.success,error:e.error};return H.debug("Call getGroupBlacklist",e),J.call(this,s,_.GET_GROUP_BLACK_LIST)}var Nn=Pn,Mn=Pn;function wn(e){if("string"!=typeof e.groupId||""===e.groupId)throw Error('Invalid parameter: "groupId"');if(!kt.call(this)){var t=y.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,a=r.accessToken,i=r.jid,s=e.groupId,u={url:"".concat(this.apiUrl,"/").concat(n,"/").concat(o,"/chatgroups/").concat(s,"/ban?resource=").concat(i.clientResource),type:"POST",dataType:"json",headers:{Authorization:"Bearer "+a,"Content-Type":"application/json"},success:e.success,error:e.error};return H.debug("Call disableSendGroupMsg",e),J.call(this,u,_.DISABLED_SEND_GROUP_MSG)}function Ln(e){if("string"!=typeof e.groupId||""===e.groupId)throw Error('Invalid parameter: "groupId"');if(!kt.call(this)){var t=y.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,a=r.accessToken,i=r.jid,s=e.groupId,u={url:"".concat(this.apiUrl,"/").concat(n,"/").concat(o,"/chatgroups/").concat(s,"/ban?resource=").concat(i.clientResource),type:"DELETE",dataType:"json",headers:{Authorization:"Bearer "+a,"Content-Type":"application/json"},success:e.success,error:e.error};return H.debug("Call enableSendGroupMsg",e),J.call(this,u,_.ENABLE_SEND_GROUP_MSG)}function kn(e){if("string"!=typeof e.groupId||""===e.groupId)throw Error('Invalid parameter: "groupId"');if(!Array.isArray(e.users))throw Error('Invalid parameter: "users"');if(!kt.call(this)){var t=y.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,a=r.accessToken,i=r.jid,s=e.groupId,u={usernames:e.users},c={url:"".concat(this.apiUrl,"/").concat(n,"/").concat(o,"/chatgroups/").concat(s,"/white/users?resource=").concat(i.clientResource),type:"POST",data:JSON.stringify(u),dataType:"json",headers:{Authorization:"Bearer "+a,"Content-Type":"application/json"},success:e.success,error:e.error};return H.debug("Call addUsersToGroupWhitelist",e),J.call(this,c,_.ADD_USERS_TO_GROUP_WHITE)}var Bn=kn;function Dn(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(!kt.call(this)){var t=y.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,a=r.accessToken,i=r.jid,s=e.groupId,u={url:"".concat(this.apiUrl,"/").concat(n,"/").concat(o,"/chatgroups/").concat(s,"/white/users/").concat(e.userName,"?resource=").concat(i.clientResource),type:"DELETE",dataType:"json",headers:{Authorization:"Bearer "+a,"Content-Type":"application/json"},success:e.success,error:e.error};return H.debug("Call removeGroupAllowlistMember",e),J.call(this,u,_.REMOVE_GROUP_WHITE_MEMBER)}var xn=Dn,Yn=Dn;function Hn(e){if("string"!=typeof e.groupId||""===e.groupId)throw Error('Invalid parameter: "groupId"');if(!kt.call(this)){var t=y.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,a=r.accessToken,i=e.groupId,s={url:this.apiUrl+"/"+n+"/"+o+"/chatgroups/"+i+"/white/users",type:"GET",dataType:"json",headers:{Authorization:"Bearer "+a,"Content-Type":"application/json"},success:e.success,error:e.error};return H.debug("Call getGroupAllowlist",e),J.call(this,s,_.GET_GROUP_WHITE_LIST)}var Zn=Hn;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(!kt.call(this)){var t=y.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,a=r.accessToken,i=e.groupId,s={url:this.apiUrl+"/"+n+"/"+o+"/chatgroups/"+i+"/white/users/"+e.userName,type:"GET",dataType:"json",headers:{Authorization:"Bearer "+a,"Content-Type":"application/json"},success:e.success,error:e.error};return H.debug("Call isInGroupAllowlist",e),J.call(this,s,_.IS_IN_GROUP_WHITE_LIST)}var Jn=Un,Gn=Un;function jn(e){if("string"!=typeof e.groupId||""===e.groupId)throw Error('Invalid parameter: "chatRoomId"');if(!kt.call(this)){var t=y.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,a=r.accessToken,i=r.userId,s={url:this.apiUrl+"/"+n+"/"+o+"/sdk/group/"+e.groupId+"/mute/"+i,dataType:"json",type:"GET",headers:{Authorization:"Bearer "+a}};return H.debug("Call isInGroupMutelist",e),J.call(this,s).then((function(e){return e.data}))}function Xn(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(!kt.call(this)){var t=y.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,a=r.accessToken,i={url:this.apiUrl+"/"+n+"/"+o+"/chatgroups/"+e.groupId+"/acks/"+e.msgId,dataType:"json",type:"GET",data:{limit:500,key:void 0},headers:{Authorization:"Bearer "+a},success:e.success,error:e.error};return H.debug("Call getGroupMsgReadUser",e),J.call(this,i,_.GET_GROUP_MSG_READ_USER)}function Fn(e){if("string"!=typeof e.groupId||""===e.groupId)throw Error('Invalid parameter: "groupId"');if(!kt.call(this)){var t=y.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,a=r.accessToken,i=e.groupId,s={url:"".concat(this.apiUrl,"/").concat(n,"/").concat(o,"/chatgroups/").concat(i,"/announcement"),type:"GET",dataType:"json",headers:{Authorization:"Bearer "+a,"Content-Type":"application/json"},success:e.success,error:e.error};return H.debug("Call fetchGroupAnnouncement",e),J.call(this,s,_.GET_GROUP_ANN)}function Qn(e){if("string"!=typeof e.groupId||""===e.groupId)throw Error('Invalid parameter: "groupId"');if("string"!=typeof e.announcement)throw Error('Invalid parameter: "announcement"');if(!kt.call(this)){var t=y.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,a=r.accessToken,i=r.jid,s=e.groupId,u={announcement:e.announcement},c={url:"".concat(this.apiUrl,"/").concat(n,"/").concat(o,"/chatgroups/").concat(s,"/announcement?resource=").concat(i.clientResource),type:"POST",dataType:"json",data:JSON.stringify(u),headers:{Authorization:"Bearer "+a,"Content-Type":"application/json"},success:e.success,error:e.error};return H.debug("Call updateGroupAnnouncement",e),J.call(this,c,_.UPDATE_GROUP_ANN)}function Wn(e){if("string"!=typeof e.groupId||""===e.groupId)throw Error('Invalid parameter: "groupId"');if("object"!=u(e.file))throw Error('Invalid parameter: "file"');if(kt.call(this)){var t=this.context,r=t.orgName,n=t.appName,o=t.accessToken,a=t.jid,i=e.groupId;$.call(this,{uploadUrl:"".concat(this.apiUrl,"/").concat(r,"/").concat(n,"/chatgroups/").concat(i,"/share_files?resource=").concat(a.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),H.debug("Call uploadGroupSharedFile",e)}}function Kn(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(!kt.call(this)){var t=y.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,a=r.accessToken,i=r.jid,s=e.groupId,u=e.fileId,c={url:"".concat(this.apiUrl,"/").concat(n,"/").concat(o,"/chatgroups/").concat(s,"/share_files/").concat(u,"?resource=").concat(i.clientResource),type:"DELETE",dataType:"json",headers:{Authorization:"Bearer "+a,"Content-Type":"application/json"},success:e.success,error:e.error};return H.debug("Call deleteGroupSharedFile",e),J.call(this,c,_.DELETE_GROUP_FILE)}function zn(e){if("string"!=typeof e.groupId||""===e.groupId)throw Error('Invalid parameter: "groupId"');if(!kt.call(this)){var t=y.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,a=r.accessToken,i=e.pageNum||1,s=e.pageSize||10,u=e.groupId,c={url:"".concat(this.apiUrl,"/").concat(n,"/").concat(o,"/chatgroups/").concat(u,"/share_files?pagenum=").concat(i,"&pagesize=").concat(s),type:"GET",dataType:"json",headers:{Authorization:"Bearer "+a,"Content-Type":"application/json"},success:e.success,error:e.error};return H.debug("Call getGroupSharedFilelist",e),J.call(this,c,_.GET_GROUP_FILE_LIST)}var $n=zn;function qn(e){var t=this.context,r=t.orgName,n=t.appName,o=t.accessToken,a=this.apiUrl,i=e.groupId,s=e.fileId;q.call(this,{url:"".concat(a,"/").concat(r,"/").concat(n,"/chatgroups/").concat(i,"/share_files/").concat(s),onFileDownloadComplete:e.onFileDownloadComplete,onFileDownloadError:e.onFileDownloadError,accessToken:o,id:s,secret:e.secret},_.DOWN_GROUP_FILE),H.debug("Call downloadGroupSharedFile",e)}function Vn(e){return function(e,t,r,n){return new(r||(r=Promise))((function(o,a){function i(e){try{u(n.next(e))}catch(e){a(e)}}function s(e){try{u(n.throw(e))}catch(e){a(e)}}function u(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(i,s)}u((n=n.apply(e,t||[])).next())}))}(this,void 0,void 0,(function(){var t,r,n,o,a,i,s,c,l,d,f;return function(e,t){var r,n,o,a,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return a={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function s(s){return function(u){return function(s){if(r)throw new TypeError("Generator is already executing.");for(;a&&(a=0,s[0]&&(i=0)),i;)try{if(r=1,n&&(o=2&s[0]?n.return:s[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,s[1])).done)return o;switch(n=0,o&&(s=[2&s[0],o.value]),s[0]){case 0:case 1:o=s;break;case 4:return i.label++,{value:s[1],done:!1};case 5:i.label++,n=s[1],s=[0];continue;case 7:s=i.ops.pop(),i.trys.pop();continue;default:if(!((o=(o=i.trys).length>0&&o[o.length-1])||6!==s[0]&&2!==s[0])){i=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]0&&o[o.length-1])||6!==s[0]&&2!==s[0])){i=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]= 0 and "pageSize" should >= 0');if(!kt.call(this)){var t=y.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,a=r.userId,i=r.accessToken,s={url:"".concat(this.apiUrl,"/").concat(n,"/").concat(o,"/users/").concat(a,"/presence/sublist?pageNum=").concat(e.pageNum,"&pageSize=").concat(e.pageSize),type:"GET",dataType:"json",headers:{Authorization:"Bearer "+i,"Content-Type":"application/json"},success:e.success,error:e.error};return H.debug("Call getSubscribedPresenceList:",e),J.call(this,s).then((function(e){return e.data={result:null==e?void 0:e.result},e}))}var pa=fa;function ha(e){if(!Array.isArray(e.usernames))throw Error('Invalid parameter: "usernames"');if(!e.usernames.length)throw Error('"usernames" can not be empty');if(!kt.call(this)){var t=y.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,a=n.appName,i=n.userId,s=n.accessToken,u={url:"".concat(this.apiUrl,"/").concat(o,"/").concat(a,"/users/").concat(i,"/presence"),type:"POST",dataType:"json",data:JSON.stringify(r),headers:{Authorization:"Bearer "+s,"Content-Type":"application/json"},success:e.success,error:e.error};return H.debug("Call getPresenceStatus:",e),J.call(this,u).then((function(e){return e.data={result:null==e?void 0:e.result},e}))}function ma(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(!kt.call(this)){var a=y.create({type:h.REST_PARAMS_STATUS,message:"appkey or token error"});return Promise.reject(a)}var i=this.context,s=i.accessToken,u=i.orgName,c=i.appName,l=i.userId,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)}}var p={url:"".concat(this.apiUrl,"/").concat(u,"/").concat(c,"/users/").concat(l,"/notification/user/").concat(l),type:"PUT",dataType:"json",data:JSON.stringify(d),headers:{Authorization:"Bearer "+s,"Content-Type":"application/json"},success:e.success,error:e.error};return H.debug("Call setSilentModeForAll:",e),J.call(this,p)}function ga(e){if(!kt.call(this)){var t=y.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,a=r.appName,i=r.userId,s={url:"".concat(this.apiUrl,"/").concat(o,"/").concat(a,"/users/").concat(i,"/notification/user/").concat(i),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 H.debug("Call getSilentModeForAll:",e),J.call(this,s)}function va(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(!kt.call(this)){var a=y.create({type:h.REST_PARAMS_STATUS,message:"appkey or token error"});return Promise.reject(a)}var i=this.context,s=i.accessToken,u=i.orgName,c=i.appName,l=i.userId,d="chatgroup",f={};switch(t){case 0:f={type:e.options.remindType};break;case 1:f={ignoreDuration:e.options.duration};break;case 2:var p=e.options;n=p.startTime,o=p.endTime,f={ignoreInterval:"".concat(n.hours,":").concat(n.minutes,"-").concat(o.hours,":").concat(o.minutes)}}"singleChat"===e.type&&(d="user");var m={url:"".concat(this.apiUrl,"/").concat(u,"/").concat(c,"/users/").concat(l,"/notification/").concat(d,"/").concat(e.conversationId),type:"PUT",dataType:"json",data:JSON.stringify(f),headers:{Authorization:"Bearer "+s,"Content-Type":"application/json"},success:e.success,error:e.error};return H.debug("Call setSilentModeForConversation:",e),J.call(this,m)}function ya(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(!kt.call(this)){var t=y.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,a=r.appName,i=r.userId,s="chatgroup";"singleChat"===e.type&&(s="user");var u={url:"".concat(this.apiUrl,"/").concat(o,"/").concat(a,"/users/").concat(i,"/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 H.debug("Call clearRemindTypeForConversation:",e),J.call(this,u)}function Ta(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(!kt.call(this)){var t=y.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,a=r.appName,i=r.userId,s="chatgroup";"singleChat"===e.type&&(s="user");var u={url:"".concat(this.apiUrl,"/").concat(o,"/").concat(a,"/users/").concat(i,"/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 H.debug("Call getSilentModeForConversation:",e),J.call(this,u)}function _a(e){if(!Array.isArray(e.conversationList))throw Error('Invalid parameter: "conversationList"');if(!kt.call(this)){var t=y.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,a=r.appName,i=r.userId,s=[],u=[];e.conversationList.forEach((function(e){"singleChat"===e.type?s.push(e.id):u.push(e.id)}));var c=s.length?s.join(","):"",l=u.length?u.join(","):"",d={url:"".concat(this.apiUrl,"/").concat(o,"/").concat(a,"/users/").concat(i,"/notification?user=").concat(c,"&group=").concat(l),type:"GET",dataType:"json",headers:{Authorization:"Bearer "+n,"Content-Type":"application/json"},success:e.success,error:e.error};return H.debug("Call getSilentModeForConversations:",e),J.call(this,d)}function Sa(e){if("string"!=typeof e.language||!e.language)throw Error('Invalid parameter: "language"');if(!kt.call(this)){var t=y.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,a=n.orgName,i=n.appName,s=n.userId,u={url:"".concat(this.apiUrl,"/").concat(a,"/").concat(i,"/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 H.debug("Call setPushPerformLanguage:",e),J.call(this,u)}function Ea(e){if(!kt.call(this)){var t=y.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,a=r.appName,i=r.userId,s={url:"".concat(this.apiUrl,"/").concat(o,"/").concat(a,"/users/").concat(i,"/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 H.debug("Call getPushPerformLanguage:",e),J.call(this,s)}var ba=function(e,t,r,n){return new(r||(r=Promise))((function(o,a){function i(e){try{u(n.next(e))}catch(e){a(e)}}function s(e){try{u(n.throw(e))}catch(e){a(e)}}function u(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(i,s)}u((n=n.apply(e,t||[])).next())}))},Ca=function(e,t){var r,n,o,a,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return a={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function s(s){return function(u){return function(s){if(r)throw new TypeError("Generator is already executing.");for(;a&&(a=0,s[0]&&(i=0)),i;)try{if(r=1,n&&(o=2&s[0]?n.return:s[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,s[1])).done)return o;switch(n=0,o&&(s=[2&s[0],o.value]),s[0]){case 0:case 1:o=s;break;case 4:return i.label++,{value:s[1],done:!1};case 5:i.label++,n=s[1],s=[0];continue;case 7:s=i.ops.pop(),i.trys.pop();continue;default:if(!((o=(o=i.trys).length>0&&o[o.length-1])||6!==s[0]&&2!==s[0])){i=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]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"),H.info("onTokenWillExpire",e)}),e/2),this.tokenExpiredTimer=setTimeout((function(){var r;H.info("onTokenExpired",e),t.onTokenExpired&&t.onTokenExpired(),null===(r=t.eventHandler)||void 0===r||r.dispatch("onTokenExpired"),t.close()}),e)},e.prototype.compareTokenExpireTime=function(e,t){var r,n=Number(t)-Number(e);H.debug("compareTokenExpireTime",n),n<=this.expiresIn/2&&n>0?(this.onTokenWillExpire&&this.onTokenWillExpire(),null===(r=this.eventHandler)||void 0===r||r.dispatch("onTokenWillExpire"),H.info("onTokenWillExpire",n)):n<=0&&(this.closeByTokenExpired(),H.info("closeByTokenExpired",n))},e.prototype.closeByTokenExpired=function(){var e;H.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=y.create({type:h.MESSAGE_WEBSOCKET_DISCONNECTED,message:"websocket disconnected"});t.forEach((function(t){var n;(null===(n=e.unMSyncSendMsgMap)||void 0===n?void 0:n.has(t))||(e._msgHash[t].reject instanceof Function&&e._msgHash[t].reject(r),e._msgHash[t].fail instanceof Function&&e._msgHash[t].fail(r),delete e._msgHash[t])}))}},e.prototype.rejectContactsOperate=function(){Array.from(A.values()).forEach((function(e){null==e||e.reject()})),A.clear()},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!==Ja.CONNECTING&&this.sock.readyState!==Ja.OPEN&&(H.info("reconnect: time",this.times),H.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.rejectContactsOperate(),this.isHttpDNS&&(this.hostIndexthis.restTotal)return H.debug("restIndex > restTotal"),"";var r="",n=this.restHosts[this.restIndex],o=n.domain,a=n.ip,i=n.port,s=this.https?"https:":"http:";return a&&"undefined"!=typeof window&&"http:"===(null===(e=null===window||void 0===window?void 0:window.location)||void 0===e?void 0:e.protocol)?r=s+"//"+a+":"+i:(r=s+"//"+o,i&&"80"!==i&&"443"!==i&&(r+=":".concat(i)),"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 Va=ee.getEnvInfo(),ei=Va.global;m.util.Long=v(),m.configure();var ti=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}},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}},nested:{Type:{values:{TEXT:0,IMAGE:1,VIDEO:2,LOCATION:3,VOICE:4,FILE:5,COMMAND:6,CUSTOM:7}},Size:{fields:{width:{type:"double",id:1},height:{type:"double",id:2}}}}},Type:{values:{NORMAL:0,CHAT:1,GROUPCHAT:2,CHATROOM:3,READ_ACK:4,DELIVER_ACK:5,RECALL:6,CHANNEL_ACK:7}},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:{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}},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}}}}}}}}}});Ga.prototype.root=ti;var ri=function(e){this.onOpen=ei.onSocketOpen,this.onClose=ei.onSocketClose,this.onMessage=ei.onSocketMessage,this.onError=ei.onSocketError,this.close=ei.closeSocket,this.send=ei.sendSocketMessage,this.connectSocket=ei.connectSocket,this.readyState=3,this.offSocketOpen=ei.offSocketOpen,this.offSocketMessage=ei.offSocketMessage,this.offSocketError=ei.offSocketError,this.offSocketClose=ei.offSocketClose,this.connect=function(){this.offSocketOpen(),this.offSocketMessage(),this.offSocketClose(),this.offSocketError(),ei.connectSocket({url:e.url,header:{"content-type":"application/json"},success:function(e){},fail:function(){}})}};Ga.prototype._getSock=function(){var e;return this.sock&&this.sock.close&&this.sock.close(),(e="zfb"===Va.platform||"dd"===Va.platform?new ri(this):ei.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},Ga.prototype.getUniqueId=ee.getUniqueId,Ga.prototype.deviceId="miniProgram_"+Va.platform;var ni=H.getLogger("defaultLogger");ni.setConfig({useCache:!1,maxCache:3145728}),ni.enableAll(),ee.ajax=ee.wxRequest;var oi={connection:Ga,message:ge,utils:ee,logger:ni,statusCode:h}}(),a}()}))}).call(this,r("3223")["default"],r("df3c")["default"],r("dc84")(e))},acab: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}}},af34:function(e,t,r){var n=r("a708"),o=r("b893"),a=r("6382"),i=r("9008");e.exports=function(e){return n(e)||o(e)||a(e)||i()},e.exports.__esModule=!0,e.exports["default"]=e.exports},afa4: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},b0e4:function(e,t){var r={}.toString;e.exports=Array.isArray||function(e){return"[object Array]"==r.call(e)}},b2a7: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:""}}},b2fd: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}}},b38c:function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={props:{accept:{type:String,default:e.$u.props.upload.accept},capture:{type:[String,Array],default:e.$u.props.upload.capture},compressed:{type:Boolean,default:e.$u.props.upload.compressed},camera:{type:String,default:e.$u.props.upload.camera},maxDuration:{type:Number,default:e.$u.props.upload.maxDuration},uploadIcon:{type:String,default:e.$u.props.upload.uploadIcon},uploadIconColor:{type:String,default:e.$u.props.upload.uploadIconColor},useBeforeRead:{type:Boolean,default:e.$u.props.upload.useBeforeRead},afterRead:{type:Function,default:null},beforeRead:{type:Function,default:null},previewFullImage:{type:Boolean,default:e.$u.props.upload.previewFullImage},maxCount:{type:[String,Number],default:e.$u.props.upload.maxCount},disabled:{type:Boolean,default:e.$u.props.upload.disabled},imageMode:{type:String,default:e.$u.props.upload.imageMode},name:{type:String,default:e.$u.props.upload.name},sizeType:{type:Array,default:e.$u.props.upload.sizeType},multiple:{type:Boolean,default:e.$u.props.upload.multiple},deletable:{type:Boolean,default:e.$u.props.upload.deletable},maxSize:{type:[String,Number],default:e.$u.props.upload.maxSize},fileList:{type:Array,default:e.$u.props.upload.fileList},uploadText:{type:String,default:e.$u.props.upload.uploadText},width:{type:[String,Number],default:e.$u.props.upload.width},height:{type:[String,Number],default:e.$u.props.upload.height},previewImage:{type:Boolean,default:e.$u.props.upload.previewImage}}};t.default=r}).call(this,r("df3c")["default"])},b410: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:"",duration:400}}},b414: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}}},b4d2:function(e,t){function r(t){return e.exports=r=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},e.exports.__esModule=!0,e.exports["default"]=e.exports,r(t)}e.exports=r,e.exports.__esModule=!0,e.exports["default"]=e.exports},b726:function(e,t,r){"use strict";var n=r("47a9");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(r("4a01")),a=o.default.color,i={loadingIcon:{show:!0,color:a["u-tips-color"],textColor:a["u-tips-color"],vertical:!1,mode:"spinner",size:24,textSize:15,text:"",timingFunction:"ease-in-out",duration:1200,inactiveColor:""}};t.default=i},b893:function(e,t){e.exports=function(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)},e.exports.__esModule=!0,e.exports["default"]=e.exports},ba37:function(e,t){ /*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh */ t.read=function(e,t,r,n,o){var a,i,s=8*o-n-1,u=(1<>1,l=-7,d=r?o-1:0,f=r?-1:1,p=e[t+d];for(d+=f,a=p&(1<<-l)-1,p>>=-l,l+=s;l>0;a=256*a+e[t+d],d+=f,l-=8);for(i=a&(1<<-l)-1,a>>=-l,l+=n;l>0;i=256*i+e[t+d],d+=f,l-=8);if(0===a)a=1-c;else{if(a===u)return i?NaN:1/0*(p?-1:1);i+=Math.pow(2,n),a-=c}return(p?-1:1)*i*Math.pow(2,a-n)},t.write=function(e,t,r,n,o,a){var i,s,u,c=8*a-o-1,l=(1<>1,f=23===o?Math.pow(2,-24)-Math.pow(2,-77):0,p=n?0:a-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,i=l):(i=Math.floor(Math.log(t)/Math.LN2),t*(u=Math.pow(2,-i))<1&&(i--,u*=2),t+=i+d>=1?f/u:f*Math.pow(2,1-d),t*u>=2&&(i++,u/=2),i+d>=l?(s=0,i=l):i+d>=1?(s=(t*u-1)*Math.pow(2,o),i+=d):(s=t*Math.pow(2,d-1)*Math.pow(2,o),i=0));o>=8;e[r+p]=255&s,p+=h,s/=256,o-=8);for(i=i<0;e[r+p]=255&i,p+=h,i/=256,c-=8);e[r+p-h]|=128*m}},ba47: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("df3c")["default"])},bab7:function(e,t,r){"use strict";var n=r("47a9");Object.defineProperty(t,"__esModule",{value:!0}),t.conn=void 0;var o=n(r("abf2")),a=n(r("1c6b")),i=n(r("e7a1")),s={};t.conn=s,o.default.config=a.default,t.conn=s=o.default.conn=new o.default.connection({appKey:a.default.appkey,https:!0,url:"wss://im-api-wechat.easemob.com/websocket",apiUrl:"https://a1.easemob.com",heartBeatWait:3e4,autoReconnectNumMax:5,useOwnUploadFun:!0});s.listen({onOpened:function(e){console.log("环信登录成功")},onClosed:function(e){console.log("环信断开链接")},onTextMessage:function(e){i.default.$emit("message","text")},onEmojiMessage:function(e){i.default.$emit("message","emoji")},onPictureMessage:function(e){i.default.$emit("message","img")},onCmdMessage:function(e){},onAudioMessage:function(e){i.default.$emit("message","audio")},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(s,e);t.src=r},onFileDownloadError:function(){console.log("File down load error.")}};o.default.utils.download.call(s,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){}})},bbfa:function(e,t,r){(function(t){e.exports=function(e){t.$u.http.setConfig((function(e){return e.baseURL="https://cbec.hdlkeji.com",e})),t.$u.http.interceptors.request.use((function(e){e.data=e.data||{};var r=t.getStorageSync("token");return e.header.Authorization="Bearer "+r,e}),(function(e){return Promise.reject(e)})),t.$u.http.interceptors.response.use((function(e){var r,n=e.data,o=null===(r=e.config)||void 0===r?void 0:r.custom;return 1e4!==n.code&&10011!==n.code?(10001==n.code?t.showModal({title:"提示",content:"未登录,请先登录",success:function(e){e.confirm?(console.log("用户点击确定"),t.reLaunch({url:"/pages/login/login"})):e.cancel&&console.log("用户点击取消")}}):!1!==o.toast&&t.$u.toast(n.message),null!==o&&void 0!==o&&o.catch?Promise.reject(n):new Promise((function(){}))):void 0===n.data?{}:n.data}),(function(e){return Promise.reject(e)}))}}).call(this,r("df3c")["default"])},bcf4: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("df3c")["default"])},bdb3:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.fontData=void 0;t.fontData=[{font_class:"arrow-down",unicode:""},{font_class:"arrow-left",unicode:""},{font_class:"arrow-right",unicode:""},{font_class:"arrow-up",unicode:""},{font_class:"auth",unicode:""},{font_class:"auth-filled",unicode:""},{font_class:"back",unicode:""},{font_class:"bars",unicode:""},{font_class:"calendar",unicode:""},{font_class:"calendar-filled",unicode:""},{font_class:"camera",unicode:""},{font_class:"camera-filled",unicode:""},{font_class:"cart",unicode:""},{font_class:"cart-filled",unicode:""},{font_class:"chat",unicode:""},{font_class:"chat-filled",unicode:""},{font_class:"chatboxes",unicode:""},{font_class:"chatboxes-filled",unicode:""},{font_class:"chatbubble",unicode:""},{font_class:"chatbubble-filled",unicode:""},{font_class:"checkbox",unicode:""},{font_class:"checkbox-filled",unicode:""},{font_class:"checkmarkempty",unicode:""},{font_class:"circle",unicode:""},{font_class:"circle-filled",unicode:""},{font_class:"clear",unicode:""},{font_class:"close",unicode:""},{font_class:"closeempty",unicode:""},{font_class:"cloud-download",unicode:""},{font_class:"cloud-download-filled",unicode:""},{font_class:"cloud-upload",unicode:""},{font_class:"cloud-upload-filled",unicode:""},{font_class:"color",unicode:""},{font_class:"color-filled",unicode:""},{font_class:"compose",unicode:""},{font_class:"contact",unicode:""},{font_class:"contact-filled",unicode:""},{font_class:"down",unicode:""},{font_class:"bottom",unicode:""},{font_class:"download",unicode:""},{font_class:"download-filled",unicode:""},{font_class:"email",unicode:""},{font_class:"email-filled",unicode:""},{font_class:"eye",unicode:""},{font_class:"eye-filled",unicode:""},{font_class:"eye-slash",unicode:""},{font_class:"eye-slash-filled",unicode:""},{font_class:"fire",unicode:""},{font_class:"fire-filled",unicode:""},{font_class:"flag",unicode:""},{font_class:"flag-filled",unicode:""},{font_class:"folder-add",unicode:""},{font_class:"folder-add-filled",unicode:""},{font_class:"font",unicode:""},{font_class:"forward",unicode:""},{font_class:"gear",unicode:""},{font_class:"gear-filled",unicode:""},{font_class:"gift",unicode:""},{font_class:"gift-filled",unicode:""},{font_class:"hand-down",unicode:""},{font_class:"hand-down-filled",unicode:""},{font_class:"hand-up",unicode:""},{font_class:"hand-up-filled",unicode:""},{font_class:"headphones",unicode:""},{font_class:"heart",unicode:""},{font_class:"heart-filled",unicode:""},{font_class:"help",unicode:""},{font_class:"help-filled",unicode:""},{font_class:"home",unicode:""},{font_class:"home-filled",unicode:""},{font_class:"image",unicode:""},{font_class:"image-filled",unicode:""},{font_class:"images",unicode:""},{font_class:"images-filled",unicode:""},{font_class:"info",unicode:""},{font_class:"info-filled",unicode:""},{font_class:"left",unicode:""},{font_class:"link",unicode:""},{font_class:"list",unicode:""},{font_class:"location",unicode:""},{font_class:"location-filled",unicode:""},{font_class:"locked",unicode:""},{font_class:"locked-filled",unicode:""},{font_class:"loop",unicode:""},{font_class:"mail-open",unicode:""},{font_class:"mail-open-filled",unicode:""},{font_class:"map",unicode:""},{font_class:"map-filled",unicode:""},{font_class:"map-pin",unicode:""},{font_class:"map-pin-ellipse",unicode:""},{font_class:"medal",unicode:""},{font_class:"medal-filled",unicode:""},{font_class:"mic",unicode:""},{font_class:"mic-filled",unicode:""},{font_class:"micoff",unicode:""},{font_class:"micoff-filled",unicode:""},{font_class:"minus",unicode:""},{font_class:"minus-filled",unicode:""},{font_class:"more",unicode:""},{font_class:"more-filled",unicode:""},{font_class:"navigate",unicode:""},{font_class:"navigate-filled",unicode:""},{font_class:"notification",unicode:""},{font_class:"notification-filled",unicode:""},{font_class:"paperclip",unicode:""},{font_class:"paperplane",unicode:""},{font_class:"paperplane-filled",unicode:""},{font_class:"person",unicode:""},{font_class:"person-filled",unicode:""},{font_class:"personadd",unicode:""},{font_class:"personadd-filled",unicode:""},{font_class:"personadd-filled-copy",unicode:""},{font_class:"phone",unicode:""},{font_class:"phone-filled",unicode:""},{font_class:"plus",unicode:""},{font_class:"plus-filled",unicode:""},{font_class:"plusempty",unicode:""},{font_class:"pulldown",unicode:""},{font_class:"pyq",unicode:""},{font_class:"qq",unicode:""},{font_class:"redo",unicode:""},{font_class:"redo-filled",unicode:""},{font_class:"refresh",unicode:""},{font_class:"refresh-filled",unicode:""},{font_class:"refreshempty",unicode:""},{font_class:"reload",unicode:""},{font_class:"right",unicode:""},{font_class:"scan",unicode:""},{font_class:"search",unicode:""},{font_class:"settings",unicode:""},{font_class:"settings-filled",unicode:""},{font_class:"shop",unicode:""},{font_class:"shop-filled",unicode:""},{font_class:"smallcircle",unicode:""},{font_class:"smallcircle-filled",unicode:""},{font_class:"sound",unicode:""},{font_class:"sound-filled",unicode:""},{font_class:"spinner-cycle",unicode:""},{font_class:"staff",unicode:""},{font_class:"staff-filled",unicode:""},{font_class:"star",unicode:""},{font_class:"star-filled",unicode:""},{font_class:"starhalf",unicode:""},{font_class:"trash",unicode:""},{font_class:"trash-filled",unicode:""},{font_class:"tune",unicode:""},{font_class:"tune-filled",unicode:""},{font_class:"undo",unicode:""},{font_class:"undo-filled",unicode:""},{font_class:"up",unicode:""},{font_class:"top",unicode:""},{font_class:"upload",unicode:""},{font_class:"upload-filled",unicode:""},{font_class:"videocam",unicode:""},{font_class:"videocam-filled",unicode:""},{font_class:"vip",unicode:""},{font_class:"vip-filled",unicode:""},{font_class:"wallet",unicode:""},{font_class:"wallet-filled",unicode:""},{font_class:"weibo",unicode:""},{font_class:"weixin",unicode:""}]},bfcc:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={listItem:{anchor:""}}},c1a4:function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={props:{model:{type:Object,default:e.$u.props.form.model},rules:{type:[Object,Function,Array],default:e.$u.props.form.rules},errorType:{type:String,default:e.$u.props.form.errorType},borderBottom:{type:Boolean,default:e.$u.props.form.borderBottom},labelPosition:{type:String,default:e.$u.props.form.labelPosition},labelWidth:{type:[String,Number],default:e.$u.props.form.labelWidth},labelAlign:{type:String,default:e.$u.props.form.labelAlign},labelStyle:{type:Object,default:e.$u.props.form.labelStyle}}};t.default=r}).call(this,r("df3c")["default"])},c2fb: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"}}},c3a0: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("df3c")["default"])},c3f4:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={carKeyboard:{random:!1}}},c70d:function(e,t,r){var n=r("ed45"),o=r("b893"),a=r("6382"),i=r("dd3e");e.exports=function(e){return n(e)||o(e)||a(e)||i()},e.exports.__esModule=!0,e.exports["default"]=e.exports},c73d: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}}},ca26: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("df3c")["default"])},cd4c: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}}},cdb9: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},ceea: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},cfa5: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"}}},d04c: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}}},d163:function(e,t,r){"use strict";var n=r("47a9");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(r("3b2d"));function a(e){return/^[\+-]?(\d+\.?\d*|\.\d+|\d\.\d+e\+\d+)$/.test(e)}function i(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 u(e){return"function"===typeof e}var c={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&&(a(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:a,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:i,isEmpty:i,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:u,promise:function(e){return s(e)&&u(e.then)&&u(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=c},d2e3: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("df3c")["default"])},d3b4:function(e,t,r){"use strict";(function(e,n){var o=r("47a9");Object.defineProperty(t,"__esModule",{value:!0}),t.LOCALE_ZH_HANT=t.LOCALE_ZH_HANS=t.LOCALE_FR=t.LOCALE_ES=t.LOCALE_EN=t.I18n=t.Formatter=void 0,t.compileI18nJsonStr=function(e,t){var r=t.locale,n=t.locales,o=t.delimiters;if(!O(e,o))return e;b||(b=new d);var a=[];Object.keys(n).forEach((function(e){e!==r&&a.push({locale:e,values:n[e]})})),a.unshift({locale:r,values:n[r]});try{return JSON.stringify(R(JSON.parse(e),a,o),null,2)}catch(i){}return e},t.hasI18nJson=function e(t,r){b||(b=new d);return I(t,(function(t,n){var o=t[n];return C(o)?!!O(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=E());"string"!==typeof r&&(r="undefined"!==typeof __uniConfig&&__uniConfig.fallbackLocale||"en");var a=new _({locale:e,fallbackLocale:r,messages:t,watcher:n}),i=function(e,t){if("function"!==typeof getApp)i=function(e,t){return a.t(e,t)};else{var r=!1;i=function(e,t){var n=getApp().$vm;return n&&(n.$locale,r||(r=!0,S(n,a))),a.t(e,t)}}return i(e,t)};return{i18n:a,f:function(e,t,r){return a.f(e,t,r)},t:function(e,t){return i(e,t)},add:function(e,t){var r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return a.add(e,t,r)},watch:function(e){return a.watchLocale(e)},getLocale:function(){return a.getLocale()},setLocale:function(e){return a.setLocale(e)}}},t.isI18nStr=O,t.isString=void 0,t.normalizeLocale=T,t.parseI18nJson=function e(t,r,n){b||(b=new d);return I(t,(function(t,o){var a=t[o];C(a)?O(a,n)&&(t[o]=A(a,r,n)):e(a,r,n)})),t},t.resolveLocale=function(e){return function(t){return t?(t=T(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 a=o(r("34cf")),i=o(r("67ad")),s=o(r("0bdb")),u=o(r("3b2d")),c=function(e){return null!==e&&"object"===(0,u.default)(e)},l=["{","}"],d=function(){function e(){(0,i.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=d;var f=/^(?:\d)+/,p=/^(?:\w)+/;function h(e,t){var r=(0,a.default)(t,2),n=r[0],o=r[1],i=[],s=0,u="";while(s-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,a=t.watcher,s=t.formater;(0,i.default)(this,e),this.locale="en",this.fallbackLocale="en",this.message={},this.messages={},this.watchers=[],n&&(this.fallbackLocale=n),this.formater=s||y,this.messages=o||{},this.setLocale(r||"en"),a&&this.watchLocale(a)}return(0,s.default)(e,[{key:"setLocale",value:function(e){var t=this,r=this.locale;this.locale=T(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){v(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=T(t,this.messages),t&&(n=this.messages[t])):r=t,v(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 S(e,t){e.$watchLocale?e.$watchLocale((function(e){t.setLocale(e)})):e.$watch((function(){return e.$locale}),(function(e){t.setLocale(e)}))}function E(){return"undefined"!==typeof e&&e.getLocale?e.getLocale():"undefined"!==typeof n&&n.getLocale?n.getLocale():"en"}t.I18n=_;var b,C=function(e){return"string"===typeof e};function O(e,t){return e.indexOf(t[0])>-1}function A(e,t,r){return b.interpolate(e,t,r).join("")}function R(e,t,r){return I(e,(function(e,n){(function(e,t,r,n){var o=e[t];if(C(o)){if(O(o,n)&&(e[t]=A(o,r[0].values,n),r.length>1)){var a=e[t+"Locales"]={};r.forEach((function(e){a[e.locale]=A(o,e.values,n)}))}}else R(o,r,n)})(e,n,t,r)})),e}function I(e,t){if(Array.isArray(e)){for(var r=0;r1&&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},d42c: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}}},d4af: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("df3c")["default"])},d551:function(e,t,r){var n=r("3b2d")["default"],o=r("e6db");e.exports=function(e){var t=o(e,"string");return"symbol"==n(t)?t:t+""},e.exports.__esModule=!0,e.exports["default"]=e.exports},d757: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:""}}},dbc6: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("df3c")["default"])},dc84: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}},dd3e: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},dd76:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={swipeAction:{autoClose:!0}}},df3c:function(e,t,r){"use strict";(function(e,n){var o=r("47a9");Object.defineProperty(t,"__esModule",{value:!0}),t.createApp=Mt,t.createComponent=Ut,t.createPage=Zt,t.createPlugin=Gt,t.createSubpackageApp=Jt,t.default=void 0;var a,i=o(r("34cf")),s=o(r("7ca3")),u=o(r("931d")),c=o(r("af34")),l=o(r("3b2d")),d=r("d3b4"),f=o(r("3240"));function p(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>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 y=Object.prototype.toString,T=Object.prototype.hasOwnProperty;function _(e){return"function"===typeof e}function S(e){return"string"===typeof e}function E(e){return"[object Object]"===y.call(e)}function b(e,t){return T.call(e,t)}function C(){}function O(e){var t=Object.create(null);return function(r){var n=t[r];return n||(t[r]=e(r))}}var A=/-(\w)/g,R=O((function(e){return e.replace(A,(function(e,t){return t?t.toUpperCase():""}))}));function I(e){var t={};return E(e)&&Object.keys(e).sort().forEach((function(r){t[r]=e[r]})),Object.keys(t)?t:e}var P=["invoke","success","fail","complete","returnValue"],N={},M={};function w(e,t){Object.keys(t).forEach((function(r){-1!==P.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;r1&&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){D(e[r],o,t).then((function(e){return _(n)&&n(e)||e}))}}})),t}function Y(e,t){var r=[];Array.isArray(N.returnValue)&&r.push.apply(r,(0,c.default)(N.returnValue));var n=M[e];return n&&Array.isArray(n.returnValue)&&r.push.apply(r,(0,c.default)(n.returnValue)),r.forEach((function(e){t=e(t)||t})),t}function H(e){var t=Object.create(null);Object.keys(N).forEach((function(e){"returnValue"!==e&&(t[e]=N[e].slice())}));var r=M[e];return r&&Object.keys(r).forEach((function(e){"returnValue"!==e&&(t[e]=(t[e]||[]).concat(r[e]))})),t}function Z(e,t,r){for(var n=arguments.length,o=new Array(n>3?n-3:0),a=3;a0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length,o=new Array(n>1?n-1:0),a=1;a-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 ie(){if(_(getApp)){var t=getApp({allowDefault:!0});if(t&&t.$vm)return t.$vm.$locale}return ae(e.getSystemInfoSync().language)||"en"}var se=[];"undefined"!==typeof n&&(n.getLocale=ie);var ue={promiseInterceptor:U},ce=Object.freeze({__proto__:null,upx2px:function(t,r){if(0===V&&function(){var t=e.getSystemInfoSync(),r=t.platform,n=t.pixelRatio,o=t.windowWidth;V=o,ee=n,q="ios"===r}(),t=Number(t),0===t)return 0;var n=t/750*(r||V);return n<0&&(n=-n),n=Math.floor(n+1e-4),0===n&&(n=1!==ee&&q?.5:1),t<0?-n:n},getLocale:ie,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&&E(t)?w(M[e]||(M[e]={}),t):E(e)&&w(N,e)},removeInterceptor:function(e,t){"string"===typeof e?E(t)?L(M[e],t):delete M[e]:E(e)&&L(N,e)},interceptors:ue});var le,de={name:function(e){return"back"===e.exists&&e.delta?"navigateBack":"redirectTo"},args:function(e){if("back"===e.exists&&e.url){var t=function(e){var t=getCurrentPages(),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)}}}},fe={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!(n2&&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(E(t)){var a=!0===o?t:{};for(var i in _(r)&&(r=r(t,a)||{}),t)if(b(r,i)){var s=r[i];_(s)&&(s=s(t[i],t,a)),s?S(s)?a[s]=t[i]:E(s)&&(a[s.name?s.name:i]=s.value):console.warn("The '".concat(e,"' method of platform '微信小程序' does not support option '").concat(i,"'"))}else-1!==Oe.indexOf(i)?_(t[i])&&(a[i]=Ae(e,t[i],n)):o||(a[i]=t[i]);return a}return _(t)&&(t=Ae(e,t,n)),t}function Ie(e,t,r){var n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return _(Ce.returnValue)&&(t=Ce.returnValue(e,t)),Re(e,t,r,{},n)}function Pe(t,r){if(b(Ce,t)){var n=Ce[t];return n?function(r,o){var a=n;_(n)&&(a=n(r)),r=Re(t,r,a.args,a.returnValue);var i=[r];"undefined"!==typeof o&&i.push(o),_(a.name)?t=a.name(r):S(a.name)&&(t=a.name);var s=e[t].apply(e,i);return W(t)?Ie(t,s,a.returnValue,Q(t)):s}:function(){console.error("Platform '微信小程序' does not support '".concat(t,"'."))}}return r}var Ne=Object.create(null);["onTabBarMidButtonTap","subscribePush","unsubscribePush","onPush","offPush","share"].forEach((function(e){Ne[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 Me={oauth:["weixin"],share:["weixin"],payment:["wxpay"],push:["weixin"]};var we=Object.freeze({__proto__:null,getProvider:function(e){var t=e.service,r=e.success,n=e.fail,o=e.complete,a=!1;Me[t]?(a={errMsg:"getProvider:ok",service:t,provider:Me[t]},_(r)&&r(a)):(a={errMsg:"getProvider:fail service not found"},_(n)&&n(a)),_(o)&&o(a)}}),Le=function(){var e;return function(){return e||(e=new f.default),e}}();function ke(e,t,r){return e[t].apply(e,r)}var Be,De,xe,Ye=Object.freeze({__proto__:null,$on:function(){return ke(Le(),"$on",Array.prototype.slice.call(arguments))},$off:function(){return ke(Le(),"$off",Array.prototype.slice.call(arguments))},$once:function(){return ke(Le(),"$once",Array.prototype.slice.call(arguments))},$emit:function(){return ke(Le(),"$emit",Array.prototype.slice.call(arguments))}});function He(e){return function(){try{return e.apply(e,arguments)}catch(t){console.error(t)}}}function Ze(e){try{return JSON.parse(e)}catch(t){}return e}var Ue=[];function Je(e,t){Ue.forEach((function(r){r(e,t)})),Ue.length=0}var Ge=[],je=e.getAppBaseInfo&&e.getAppBaseInfo();je||(je=e.getSystemInfoSync());var Xe=je?je.host:null,Fe=Xe&&"SAAASDK"===Xe.env?e.miniapp.shareVideoMessage:e.shareVideoMessage,Qe=Object.freeze({__proto__:null,shareVideoMessage:Fe,getPushClientId:function(e){E(e)||(e={});var t=function(e){var t={};for(var r in e){var n=e[r];_(n)&&(t[r]=He(n),delete e[r])}return t}(e),r=t.success,n=t.fail,o=t.complete,a=_(r),i=_(n),s=_(o);Promise.resolve().then((function(){"undefined"===typeof xe&&(xe=!1,Be="",De="uniPush is not enabled"),Ue.push((function(e,t){var u;e?(u={errMsg:"getPushClientId:ok",cid:e},a&&r(u)):(u={errMsg:"getPushClientId:fail"+(t?" "+t:"")},i&&n(u)),s&&o(u)})),"undefined"!==typeof Be&&Je(Be,De)}))},onPushMessage:function(e){-1===Ge.indexOf(e)&&Ge.push(e)},offPushMessage:function(e){if(e){var t=Ge.indexOf(e);t>-1&&Ge.splice(t,1)}else Ge.length=0},invokePushCallback:function(e){if("enabled"===e.type)xe=!0;else if("clientId"===e.type)Be=e.cid,De=e.errMsg,Je(Be,e.errMsg);else if("pushMsg"===e.type)for(var t={type:"receive",data:Ze(e.message)},r=0;r=0;a--){var i=o[a];if(i.$scope._$vueId===r)return i}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,at=/:/g,it=O((function(e){return R(e.replace(at,"-"))}));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;o0&&void 0!==arguments[0]?arguments[0]:{};return ut("onLoad",e),nt(e)},Page.after=nt.after,Component=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return ut("created",e),ot(e)});function ct(e,t,r){t.forEach((function(t){(function e(t,r){if(!r)return!0;if(f.default.options&&Array.isArray(f.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]:[];dt(t).forEach((function(t){return ft(e,t,r)}))}function dt(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 ft(e,t,r){-1!==r.indexOf(t)||b(e,t)||(e[t]=function(e){return this.$vm&&this.$vm.__call_hook(t,e)})}function pt(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:"kjds",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 E(r)||(r={}),Object.keys(n).forEach((function(e){-1!==t.__lifecycle_hooks__.indexOf(e)||b(r,e)||(r[e]=n[e])})),r}var vt=[String,Number,Boolean,Object,Array,null];function yt(e){return function(t,r){this.$vm&&(this.$vm[e]=t)}}function Tt(e,t){var r=e.behaviors,n=e.extends,o=e.mixins,a=e.props;a||(e.props=a=[]);var i=[];return Array.isArray(r)&&r.forEach((function(e){i.push(e.replace("uni://","wx".concat("://"))),"uni://form-field"===e&&(Array.isArray(a)?(a.push("name"),a.push("value")):(a.name={type:String,default:""},a.value={type:[String,Number,Boolean,Array,Object,Date],default:""}))})),E(n)&&n.props&&i.push(t({properties:St(n.props,!0)})),Array.isArray(o)&&o.forEach((function(e){E(e)&&e.props&&i.push(t({properties:St(e.props,!0)}))})),i}function _t(e,t,r,n){return Array.isArray(t)&&1===t.length?t[0]:t}function St(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:yt(e)}})):E(e)&&Object.keys(e).forEach((function(t){var r=e[t];if(E(r)){var o=r.default;_(o)&&(o=o()),r.type=_t(0,r.type),n[t]={type:-1!==vt.indexOf(r.type)?r.type:null,value:o,observer:yt(t)}}else{var a=_t(0,r);n[t]={type:-1!==vt.indexOf(a)?a:null,observer:yt(t)}}})),n}function Et(e,t,r,n){var o={};return Array.isArray(t)&&t.length&&t.forEach((function(t,a){"string"===typeof t?t?"$event"===t?o["$"+a]=r:"arguments"===t?o["$"+a]=r.detail&&r.detail.__args__||n:0===t.indexOf("$event.")?o["$"+a]=e.__get_value(t.replace("$event.",""),r):o["$"+a]=e.__get_value(t):o["$"+a]=e:o["$"+a]=function(e,t){var r=e;return t.forEach((function(t){var n=t[0],o=t[2];if(n||"undefined"!==typeof o){var a,i=t[1],s=t[3];Number.isInteger(n)?a=n:n?"string"===typeof n&&n&&(a=0===n.indexOf("#s#")?n.substr(3):e.__get_value(n,r)):a=r,Number.isInteger(a)?r=o:i?Array.isArray(a)?r=a.find((function(t){return e.__get_value(i,t)===o})):E(a)?r=Object.keys(a).find((function(t){return e.__get_value(i,a[t])===o})):console.error("v-for 暂不支持循环数据:",a):r=a[o],s&&(r=e.__get_value(s,r))}})),r}(e,t)})),o}function bt(e){for(var t={},r=1;r2&&void 0!==arguments[2]?arguments[2]:[],n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[],o=arguments.length>4?arguments[4]:void 0,a=arguments.length>5?arguments[5]:void 0,i=!1,s=E(t.detail)&&t.detail.__args__||[t.detail];if(o&&(i=t.currentTarget&&t.currentTarget.dataset&&"wx"===t.currentTarget.dataset.comType,!r.length))return i?[t]:s;var u=Et(e,n,t,s),c=[];return r.forEach((function(e){"$event"===e?"__set_model"!==a||o?o&&!i?c.push(s[0]):c.push(t):c.push(t.target.value):Array.isArray(e)&&"o"===e[0]?c.push(bt(e)):"string"===typeof e&&b(u,e)?c.push(u[e]):c.push(e)})),c}function Ot(e){var t=this;e=function(e){try{e.mp=JSON.parse(JSON.stringify(e))}catch(t){}return e.stopPropagation=C,e.preventDefault=C,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),E(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,a=[];return n.forEach((function(r){var n=r[0],i=r[1],s="^"===n.charAt(0);n=s?n.slice(1):n;var u="~"===n.charAt(0);n=u?n.slice(1):n,i&&function(e,t){return e===t||"regionchange"===t&&("begin"===e||"end"===e)}(o,n)&&i.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,Ct(t.$vm,e,r[1],r[2],s,n));var i=o[n];if(!_(i)){var c="page"===t.$vm.mpType?"Page":"Component",l=t.route||t.is;throw new Error("".concat(c,' "').concat(l,'" does not have a method "').concat(n,'"'))}if(u){if(i.once)return;i.once=!0}var d=Ct(t.$vm,e,r[1],r[2],s,n);d=Array.isArray(d)?d:[],/=\s*\S+\.eventParams\s*\|\|\s*\S+\[['"]event-params['"]\]/.test(i.toString())&&(d=d.concat([,,,,,,,,,,e])),a.push(i.apply(o,d))}}))})),"input"===o&&1===a.length&&"undefined"!==typeof a[0]?a[0]:void 0}var At={};var Rt=["onShow","onHide","onError","onPageNotFound","onThemeChange","onUnhandledRejection"];function It(){f.default.prototype.getOpenerEventChannel=function(){return this.$scope.getOpenerEventChannel()};var e=f.default.prototype.__call_hook;f.default.prototype.__call_hook=function(t,r){return"onLoad"===t&&r&&r.__id__&&(this.__eventChannel__=function(e){var t=At[e];return delete At[e],t}(r.__id__),delete r.__id__),e.call(this,t,r)}}function Pt(t,r){var n=r.mocks,o=r.initRefs;It(),function(){var e={},t={};function r(e){var t=this.$options.propsData.vueId;if(t){var r=t.split(",")[0];e(r)}}f.default.prototype.$hasSSP=function(r){var n=e[r];return n||(t[r]=this,this.$on("hook:destroyed",(function(){delete t[r]}))),n},f.default.prototype.$getSSP=function(t,r,n){var o=e[t];if(o){var a=o[r]||[];return n?a:a[0]}},f.default.prototype.$setSSP=function(t,n){var o=0;return r.call(this,(function(r){var a=e[r],i=a[t]=a[t]||[];i.push(n),o=i.length-1})),o},f.default.prototype.$initSSP=function(){r.call(this,(function(t){e[t]={}}))},f.default.prototype.$callSSP=function(){r.call(this,(function(e){t[e]&&t[e].$forceUpdate()}))},f.default.mixin({destroyed:function(){var r=this.$options.propsData,n=r&&r.vueId;n&&(delete e[n],delete t[n])}})}(),t.$options.store&&(f.default.prototype.$store=t.$options.store),function(e){e.prototype.uniIDHasRole=function(e){var t=v(),r=t.role;return r.indexOf(e)>-1},e.prototype.uniIDHasPermission=function(e){var t=v(),r=t.permission;return this.uniIDHasRole("admin")||r.indexOf(e)>-1},e.prototype.uniIDTokenValid=function(){var e=v(),t=e.tokenExpired;return t>Date.now()}}(f.default),f.default.prototype.mpHost="mp-weixin",f.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 a={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))}};a.globalData=t.$options.globalData||{};var i=t.$options.methods;return i&&Object.keys(i).forEach((function(e){a[e]=i[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)}))}})}(f.default,t,ae(e.getSystemInfoSync().language)||"en"),ct(a,Rt),lt(a,t.$options),a}function Nt(e){return Pt(e,{mocks:We,initRefs:qe})}function Mt(e){return App(Nt(e)),e}var wt=/[!'()*]/g,Lt=function(e){return"%"+e.charCodeAt(0).toString(16)},kt=/%2C/g,Bt=function(e){return encodeURIComponent(e).replace(wt,Lt).replace(kt,",")};function Dt(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Bt,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 xt(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,a=pt(f.default,e),s=(0,i.default)(a,2),u=s[0],c=s[1],l=h({multipleSlots:!0,addGlobalClass:!0},c.options||{});c["mp-weixin"]&&c["mp-weixin"].options&&Object.assign(l,c["mp-weixin"].options);var d={options:l,data:gt(c,f.default.prototype),behaviors:Tt(c,Ke),properties:St(c.props,!1,c.__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 u(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:Ve,__e:Ot}};return c.externalClasses&&(d.externalClasses=c.externalClasses),Array.isArray(c.wxsCallMethods)&&c.wxsCallMethods.forEach((function(e){d.methods[e]=function(t){return this.$vm[e](t)}})),o?[d,c,u]:r?d:[d,u]}(e,{isPage:ze,initRelation:$e},t)}var Yt=["onShow","onHide","onUnload"];function Ht(e){var t=xt(e,!0),r=(0,i.default)(t,2),n=r[0],o=r[1];return ct(n.methods,Yt,o),n.methods.onLoad=function(e){this.options=e;var t=Object.assign({},e);delete t.__id__,this.$page={fullPath:"/"+(this.route||this.is)+Dt(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 Zt(e){return Component(function(e){return Ht(e)}(e))}function Ut(e){return Component(xt(e))}function Jt(t){var r=Nt(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=200&&e<300}}},e35e:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=["😀","😃","😄","😁","😆","🥹","😅","😂","🤣","🥲","😊","😇","🙂","🙃","😉","😌","😍","🥰","😘","😗","😙","😋","😛","😝","😜","🤪","🤨","🧐","🤓","😎","🥸","🤩","🥳","😏","😒","😞","😔","😟","😕","🙁","😣","😖","😫","😩","🥺","😢","😭","😤","😠","😡","🤬","🤯","😳","🥵","🥶","😶‍🌫️","😱","😨","😰","😥","😓","🤗","🤔","🫣","🤭","🫢","🫡","🤫","🫠","🤥","😶","🫥","😐","🫤","😑","😬","🙄","😯","😦","😧","😮","😲","🥱","😴","🤤","😪","😮‍💨","😵","😵‍💫","🤐","🥴","🤢","🤮","🤧","😷","🤒","🤕","🤑","🤠","😈","👿"];t.default=n},e410: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,null],default:e.$u.props.tabbarItem.name},icon:{icon:String,default:e.$u.props.tabbarItem.icon},badge:{type:[String,Number,null],default:e.$u.props.tabbarItem.badge},dot:{type:Boolean,default:e.$u.props.tabbarItem.dot},text:{type:String,default:e.$u.props.tabbarItem.text},badgeStyle:{type:[Object,String],default:e.$u.props.tabbarItem.badgeStyle}}};t.default=r}).call(this,r("df3c")["default"])},e6db:function(e,t,r){var n=r("3b2d")["default"];e.exports=function(e,t){if("object"!=n(e)||!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},e7a1:function(e,t,r){"use strict";var n=r("47a9");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(r("3240")),a=new o.default,i=a;t.default=i},e7bb:function(e,t,r){"use strict";var n=r("47a9");Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if(e&&!(0,o.default)(t))return(0,a.default)(e,t);return t};var o=n(r("9281")),a=n(r("8189"))},e7ed:function(e,t,r){"use strict";var n=r("47a9");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(r("4a01")),a=o.default.color,i={icon:{name:"",color:a["u-content-color"],size:"16px",bold:!1,index:"",hoverClass:"",customPrefix:"uicon",label:"",labelPos:"right",labelSize:"15px",labelColor:a["u-content-color"],space:"3px",imgMode:"",width:"",height:"",top:0,stop:!1}};t.default=i},ea20: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}}},ecea: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}}},ed45:function(e,t){e.exports=function(e){if(Array.isArray(e))return e},e.exports.__esModule=!0,e.exports["default"]=e.exports},eda5:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={methods:{getTouchPoint:function(e){return e?e.touches&&e.touches[0]?{x:e.touches[0].pageX,y:e.touches[0].pageY}:e.changedTouches&&e.changedTouches[0]?{x:e.changedTouches[0].pageX,y:e.changedTouches[0].pageY}:{x:e.clientX||0,y:e.clientY||0}:{x:0,y:0}},resetTouchStatus:function(){this.direction="",this.deltaX=0,this.deltaY=0,this.offsetX=0,this.offsetY=0},touchStart:function(e){this.resetTouchStatus();var t=this.getTouchPoint(e);this.startX=t.x,this.startY=t.y},touchMove:function(e){var t=this.getTouchPoint(e);this.deltaX=t.x-this.startX,this.deltaY=t.y-this.startY,this.offsetX=Math.abs(this.deltaX),this.offsetY=Math.abs(this.deltaY),this.direction=this.direction||function(e,t){return e>t&&e>10?"horizontal":t>e&&t>10?"vertical":""}(this.offsetX,this.offsetY)}}};t.default=n},ee06:function(e,t,r){"use strict";var n=r("47a9");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(r("88a9")),a={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=a},ee10:function(e,t){function r(e,t,r,n,o,a,i){try{var s=e[a](i),u=s.value}catch(c){return void r(c)}s.done?t(u):Promise.resolve(u).then(n,o)}e.exports=function(e){return function(){var t=this,n=arguments;return new Promise((function(o,a){var i=e.apply(t,n);function s(e){r(i,o,a,s,u,"next",e)}function u(e){r(i,o,a,s,u,"throw",e)}s(void 0)}))}},e.exports.__esModule=!0,e.exports["default"]=e.exports},eecd: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:""}}},eefe: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}}},f61d: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}}},f838: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("df3c")["default"])},fb78: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"}}},fb7f: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}}},ff16: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(){}}}}}]);