/** * Minified by jsDelivr using Terser v3.14.1. * Original file: /gh/Artitalk/Artitalk-jsdelivr@master/at301.js * * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files */ !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.AV=t():e.AV=t()}("undefined"!=typeof self?self:this,function(){return function(e){function t(r){if(n[r])return n[r].exports;var i=n[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,t),i.l=!0,i.exports}var n={};return t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=80)}([function(e,t,n){(function(e,n){var r;!function(){var i="object"==typeof self&&self.self===self&&self||"object"==typeof e&&e.global===e&&e||this||{},o=i._,a=Array.prototype,s=Object.prototype,u="undefined"!=typeof Symbol?Symbol.prototype:null,c=a.push,l=a.slice,h=s.toString,d=s.hasOwnProperty,p=Array.isArray,f=Object.keys,g=Object.create,_=function(){},m=function(e){return e instanceof m?e:this instanceof m?void(this._wrapped=e):new m(e)};void 0===t||t.nodeType?i._=m:(void 0!==n&&!n.nodeType&&n.exports&&(t=n.exports=m),t._=m),m.VERSION="1.9.1";var v,b=function(e,t,n){if(void 0===t)return e;switch(null==n?3:n){case 1:return function(n){return e.call(t,n)};case 3:return function(n,r,i){return e.call(t,n,r,i)};case 4:return function(n,r,i,o){return e.call(t,n,r,i,o)}}return function(){return e.apply(t,arguments)}},y=function(e,t,n){return m.iteratee!==v?m.iteratee(e,t):null==e?m.identity:m.isFunction(e)?b(e,t,n):m.isObject(e)&&!m.isArray(e)?m.matcher(e):m.property(e)};m.iteratee=v=function(e,t){return y(e,t,1/0)};var w=function(e,t){return t=null==t?e.length-1:+t,function(){for(var n=Math.max(arguments.length-t,0),r=Array(n),i=0;i=0&&t<=E};m.each=m.forEach=function(e,t,n){var r,i;if(t=b(t,n),O(e))for(r=0,i=e.length;r0?0:a-1;for(i||(r=t[o?o[s]:s],s+=e);s>=0&&s=3;return t(e,b(n,i,4),r,o)}};m.reduce=m.foldl=m.inject=C(1),m.reduceRight=m.foldr=C(-1),m.find=m.detect=function(e,t,n){var r=(O(e)?m.findIndex:m.findKey)(e,t,n);if(void 0!==r&&-1!==r)return e[r]},m.filter=m.select=function(e,t,n){var r=[];return t=y(t,n),m.each(e,function(e,n,i){t(e,n,i)&&r.push(e)}),r},m.reject=function(e,t,n){return m.filter(e,m.negate(y(t)),n)},m.every=m.all=function(e,t,n){t=y(t,n);for(var r=!O(e)&&m.keys(e),i=(r||e).length,o=0;o=0},m.invoke=w(function(e,t,n){var r,i;return m.isFunction(t)?i=t:m.isArray(t)&&(r=t.slice(0,-1),t=t[t.length-1]),m.map(e,function(e){var o=i;if(!o){if(r&&r.length&&(e=x(e,r)),null==e)return;o=e[t]}return null==o?o:o.apply(e,n)})}),m.pluck=function(e,t){return m.map(e,m.property(t))},m.where=function(e,t){return m.filter(e,m.matcher(t))},m.findWhere=function(e,t){return m.find(e,m.matcher(t))},m.max=function(e,t,n){var r,i,o=-1/0,a=-1/0;if(null==t||"number"==typeof t&&"object"!=typeof e[0]&&null!=e)for(var s=0,u=(e=O(e)?e:m.values(e)).length;so&&(o=r);else t=y(t,n),m.each(e,function(e,n,r){((i=t(e,n,r))>a||i===-1/0&&o===-1/0)&&(o=e,a=i)});return o},m.min=function(e,t,n){var r,i,o=1/0,a=1/0;if(null==t||"number"==typeof t&&"object"!=typeof e[0]&&null!=e)for(var s=0,u=(e=O(e)?e:m.values(e)).length;sr||void 0===n)return 1;if(n0?0:i-1;o>=0&&o0?a=o>=0?o:Math.max(o+s,a):s=o>=0?Math.min(o+1,s):o+s+1;else if(n&&o&&s)return r[o=n(r,i)]===i?o:-1;if(i!=i)return(o=t(l.call(r,a,s),m.isNaN))>=0?o+a:-1;for(o=e>0?a:s-1;o>=0&&ot?(r&&(clearTimeout(r),r=null),s=c,a=e.apply(i,o),r||(i=o=null)):r||!1===n.trailing||(r=setTimeout(u,l)),a};return c.cancel=function(){clearTimeout(r),s=0,r=i=o=null},c},m.debounce=function(e,t,n){var r,i,o=function(t,n){r=null,n&&(i=e.apply(t,n))},a=w(function(a){if(r&&clearTimeout(r),n){var s=!r;r=setTimeout(o,t),s&&(i=e.apply(this,a))}else r=m.delay(o,t,this,a);return i});return a.cancel=function(){clearTimeout(r),r=null},a},m.wrap=function(e,t){return m.partial(t,e)},m.negate=function(e){return function(){return!e.apply(this,arguments)}},m.compose=function(){var e=arguments,t=e.length-1;return function(){for(var n=t,r=e[t].apply(this,arguments);n--;)r=e[n].call(this,r);return r}},m.after=function(e,t){return function(){if(--e<1)return t.apply(this,arguments)}},m.before=function(e,t){var n;return function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=null),n}},m.once=m.partial(m.before,2),m.restArguments=w;var M=!{toString:null}.propertyIsEnumerable("toString"),L=["valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],U=function(e,t){var n=L.length,r=e.constructor,i=m.isFunction(r)&&r.prototype||s,o="constructor";for(A(e,o)&&!m.contains(t,o)&&t.push(o);n--;)(o=L[n])in e&&e[o]!==i[o]&&!m.contains(t,o)&&t.push(o)};m.keys=function(e){if(!m.isObject(e))return[];if(f)return f(e);var t=[];for(var n in e)A(e,n)&&t.push(n);return M&&U(e,t),t},m.allKeys=function(e){if(!m.isObject(e))return[];var t=[];for(var n in e)t.push(n);return M&&U(e,t),t},m.values=function(e){for(var t=m.keys(e),n=t.length,r=Array(n),i=0;i1&&(r=b(r,t[1])),t=m.allKeys(e)):(r=F,t=I(t,!1,!1),e=Object(e));for(var i=0,o=t.length;i1&&(n=t[1])):(t=m.map(I(t,!1,!1),String),r=function(e,n){return!m.contains(t,n)}),m.pick(e,r,n)}),m.defaults=R(m.allKeys,!0),m.create=function(e,t){var n=k(e);return t&&m.extendOwn(n,t),n},m.clone=function(e){return m.isObject(e)?m.isArray(e)?e.slice():m.extend({},e):e},m.tap=function(e,t){return t(e),e},m.isMatch=function(e,t){var n=m.keys(t),r=n.length;if(null==e)return!r;for(var i=Object(e),o=0;o":">",'"':""","'":"'","`":"`"},V=m.invert(H),Q=function(e){var t=function(t){return e[t]},n="(?:"+m.keys(e).join("|")+")",r=RegExp(n),i=RegExp(n,"g");return function(e){return e=null==e?"":""+e,r.test(e)?e.replace(i,t):e}};m.escape=Q(H),m.unescape=Q(V),m.result=function(e,t,n){m.isArray(t)||(t=[t]);var r=t.length;if(!r)return m.isFunction(n)?n.call(e):n;for(var i=0;i/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g};var K=/(.)^/,$={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},J=/\\|'|\r|\n|\u2028|\u2029/g,X=function(e){return"\\"+$[e]};m.template=function(e,t,n){!t&&n&&(t=n),t=m.defaults({},t,m.templateSettings);var r,i=RegExp([(t.escape||K).source,(t.interpolate||K).source,(t.evaluate||K).source].join("|")+"|$","g"),o=0,a="__p+='";e.replace(i,function(t,n,r,i,s){return a+=e.slice(o,s).replace(J,X),o=s+t.length,n?a+="'+\n((__t=("+n+"))==null?'':_.escape(__t))+\n'":r?a+="'+\n((__t=("+r+"))==null?'':__t)+\n'":i&&(a+="';\n"+i+"\n__p+='"),t}),a+="';\n",t.variable||(a="with(obj||{}){\n"+a+"}\n"),a="var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};\n"+a+"return __p;\n";try{r=new Function(t.variable||"obj","_",a)}catch(e){throw e.source=a,e}var s=function(e){return r.call(this,e,m)};return s.source="function("+(t.variable||"obj")+"){\n"+a+"}",s},m.chain=function(e){var t=m(e);return t._chain=!0,t};var Z=function(e,t){return e._chain?m(t).chain():t};m.mixin=function(e){return m.each(m.functions(e),function(t){var n=m[t]=e[t];m.prototype[t]=function(){var e=[this._wrapped];return c.apply(e,arguments),Z(this,n.apply(m,e))}}),m},m.mixin(m),m.each(["pop","push","reverse","shift","sort","splice","unshift"],function(e){var t=a[e];m.prototype[e]=function(){var n=this._wrapped;return t.apply(n,arguments),"shift"!==e&&"splice"!==e||0!==n.length||delete n[0],Z(this,n)}}),m.each(["concat","join","slice"],function(e){var t=a[e];m.prototype[e]=function(){return Z(this,t.apply(this._wrapped,arguments))}}),m.prototype.value=function(){return this._wrapped},m.prototype.valueOf=m.prototype.toJSON=m.prototype.value,m.prototype.toString=function(){return String(this._wrapped)},void 0!==(r=function(){return m}.apply(t,[]))&&(n.exports=r)}()}).call(t,n(66),n(103)(e))},function(e,t){var n=e.exports={version:"2.6.9"};"number"==typeof __e&&(__e=n)},function(e,t,n){e.exports={default:n(83),__esModule:!0}},function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(e,t,n){var r=n(42)("wks"),i=n(31),o=n(3).Symbol,a="function"==typeof o;(e.exports=function(e){return r[e]||(r[e]=a&&o[e]||(a?o:i)("Symbol."+e))}).store=r},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}var i=r(n(2)),o=r(n(111)),a=r(n(9)),s=r(n(27)),u=r(n(67)),c=n(0),l=n(123).timeout,h=n(19),d=h("leancloud:request"),p=h("leancloud:request:error"),f=n(28).getAdapter,g=0,_=function(e){return c.isArray(e)?e:null==e?[]:[e]},m=function(){};e.exports={ajax:function(e){var t=e.method,n=e.url,r=e.query,i=e.data,o=e.headers,c=void 0===o?{}:o,_=e.timeout,m=e.onprogress;if(r){var v=(0,u.default)(r).map(function(e){var t=r[e];if(void 0!==t){var n="object"===(void 0===t?"undefined":(0,s.default)(t))?(0,a.default)(t):t;return encodeURIComponent(e)+"="+encodeURIComponent(n)}}).filter(function(e){return e}).join("&");n=n+"?"+v}var b=g++;d("request(%d) %s %s %o %o %o",b,t,n,r,i,c);var y=f("request")(n,{method:t,headers:c,data:i,onprogress:m}).then(function(e){if(d("response(%d) %d %O %o",b,e.status,e.data||e.text,e.header),!1===e.ok){var t=new Error;throw t.response=e,t}return e.data}).catch(function(e){throw e.response&&(h.enabled("leancloud:request")||p("request(%d) %s %s %o %o %o",b,t,n,r,i,c),p("response(%d) %d %O %o",b,e.response.status,e.response.data||e.response.text,e.response.header),e.statusCode=e.response.status,e.responseText=e.response.text,e.response=e.response.data),e});return _?l(y,_):y},isNullOrUndefined:function(e){return c.isNull(e)||c.isUndefined(e)},ensureArray:_,transformFetchOptions:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.keys,n=e.include,r=e.includeACL,i={};return t&&(i.keys=_(t).join(",")),n&&(i.include=_(n).join(",")),r&&(i.returnACL=r),i},getSessionToken:function(e){return e.sessionToken?e.sessionToken:e.user&&"function"==typeof e.user.getSessionToken?e.user.getSessionToken():void 0},tap:function(e){return function(t){return e(t),t}},inherits:function(e,t,n){var r;return r=t&&t.hasOwnProperty("constructor")?t.constructor:function(){e.apply(this,arguments)},c.extend(r,e),m.prototype=e.prototype,r.prototype=new m,t&&c.extend(r.prototype,t),n&&c.extend(r,n),r.prototype.constructor=r,r.__super__=e.prototype,r},parseDate:function(e){return new Date(e)},setValue:function(e,t,n){var r=t.split("."),i=r.pop(),o=e;return r.forEach(function(e){void 0===o[e]&&(o[e]={}),o=o[e]}),o[i]=n,e},findValue:function(e,t){for(var n=t.split("."),r=n[0],i=n.pop(),o=e,a=0;a0&&void 0!==arguments[0]?arguments[0]:{},t=arguments[1],n={"X-LC-Id":s.applicationId,"Content-Type":"application/json;charset=UTF-8"},i=!1;return"boolean"==typeof e.useMasterKey?i=e.useMasterKey:"boolean"==typeof s._config.useMasterKey&&(i=s._config.useMasterKey),i?s.masterKey?t?n["X-LC-Sign"]=h(s.masterKey,!0):n["X-LC-Key"]=s.masterKey+",master":(console.warn("masterKey is not set, fall back to use appKey"),d(n,t)):d(n,t),s.hookKey&&(n["X-LC-Hook-Key"]=s.hookKey),null!==s._config.production&&(n["X-LC-Prod"]=String(s._config.production)),n["X-LC-UA"]=s._sharedConfig.userAgent,r.default.resolve().then(function(){var t=c(e);if(t)n["X-LC-Session"]=t;else if(!s._config.disableCurrentUser)return s.User.currentAsync().then(function(e){return e&&e._sessionToken&&(n["X-LC-Session"]=e._sessionToken),n});return n})},f=function(e){var t=e.service,n=e.version,r=e.method,o=e.path,a=e.query,u=e.data,c=e.authOptions,h=e.signKey,d=void 0===h||h;if(!s.applicationId||!s.applicationKey&&!s.masterKey)throw new Error("Not initialized");s._appRouter&&s._appRouter.refresh();var f=s._config.requestTimeout,g=function(e){var t=e.service,n=void 0===t?"api":t,r=e.version,i=void 0===r?"1.1":r,o=e.path,a=s._config.serverURLs[n];if(!a)throw new Error("undefined server URL for "+n);return"/"!==a.charAt(a.length-1)&&(a+="/"),a+=i,o&&(a+=o),a}({service:t,path:o,version:n});return p(c,d).then(function(e){return l({method:r,url:g,query:a,data:u,headers:e,timeout:f}).catch(function(e){var t={code:e.code||-1,error:e.message||e.responseText};if(e.response&&e.response.code)t=e.response;else if(e.responseText)try{t=JSON.parse(e.responseText)}catch(e){}t.rawMessage=t.rawMessage||t.error,s._sharedConfig.keepErrorRawMessage||(t.error+=" ["+(e.statusCode||"N/A")+" "+r+" "+g+"]");var n=new Error(t.error);throw delete t.error,i.extend(n,t)})})};s.request=f,e.exports={_request:function(e,t,n,r,i,o,s){var u="";if(e&&(u+="/"+e),t&&(u+="/"+t),n&&(u+="/"+n),i&&i._fetchWhenSave)throw new Error("_fetchWhenSave should be in the query");if(i&&i._where)throw new Error("_where should be in the query");return r&&"get"===r.toLowerCase()&&(s=a({},s,i),i=null),f({method:r,path:u,query:s,data:i,authOptions:o})},request:f}},function(e,t,n){var r=n(8),i=n(53),o=n(39),a=Object.defineProperty;t.f=n(11)?Object.defineProperty:function(e,t,n){if(r(e),t=o(t,!0),r(n),i)try{return a(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},function(e,t,n){var r=n(13);e.exports=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e}},function(e,t,n){e.exports={default:n(104),__esModule:!0}},function(e,t,n){var r=n(3),i=n(1),o=n(22),a=n(12),s=n(14),u=function(e,t,n){var c,l,h,d=e&u.F,p=e&u.G,f=e&u.S,g=e&u.P,_=e&u.B,m=e&u.W,v=p?i:i[t]||(i[t]={}),b=v.prototype,y=p?r:f?r[t]:(r[t]||{}).prototype;for(c in p&&(n=t),n)(l=!d&&y&&void 0!==y[c])&&s(v,c)||(h=l?y[c]:n[c],v[c]=p&&"function"!=typeof y[c]?n[c]:_&&l?o(h,r):m&&y[c]==h?function(e){var t=function(t,n,r){if(this instanceof e){switch(arguments.length){case 0:return new e;case 1:return new e(t);case 2:return new e(t,n)}return new e(t,n,r)}return e.apply(this,arguments)};return t.prototype=e.prototype,t}(h):g&&"function"==typeof h?o(Function.call,h):h,g&&((v.virtual||(v.virtual={}))[c]=h,e&u.R&&b&&!b[c]&&a(b,c,h)))};u.F=1,u.G=2,u.S=4,u.P=8,u.B=16,u.W=32,u.U=64,u.R=128,e.exports=u},function(e,t,n){e.exports=!n(23)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(e,t,n){var r=n(7),i=n(24);e.exports=n(11)?function(e,t,n){return r.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t,n){var r=n(87),i=n(37);e.exports=function(e){return r(i(e))}},function(e,t,n){"use strict";function r(e,t){var n=new Error(t);return n.code=e,n}n(0).extend(r,{OTHER_CAUSE:-1,INTERNAL_SERVER_ERROR:1,CONNECTION_FAILED:100,OBJECT_NOT_FOUND:101,INVALID_QUERY:102,INVALID_CLASS_NAME:103,MISSING_OBJECT_ID:104,INVALID_KEY_NAME:105,INVALID_POINTER:106,INVALID_JSON:107,COMMAND_UNAVAILABLE:108,NOT_INITIALIZED:109,INCORRECT_TYPE:111,INVALID_CHANNEL_NAME:112,PUSH_MISCONFIGURED:115,OBJECT_TOO_LARGE:116,OPERATION_FORBIDDEN:119,CACHE_MISS:120,INVALID_NESTED_KEY:121,INVALID_FILE_NAME:122,INVALID_ACL:123,TIMEOUT:124,INVALID_EMAIL_ADDRESS:125,MISSING_CONTENT_TYPE:126,MISSING_CONTENT_LENGTH:127,INVALID_CONTENT_LENGTH:128,FILE_TOO_LARGE:129,FILE_SAVE_ERROR:130,FILE_DELETE_ERROR:153,DUPLICATE_VALUE:137,INVALID_ROLE_NAME:139,EXCEEDED_QUOTA:140,SCRIPT_FAILED:141,VALIDATION_ERROR:142,INVALID_IMAGE_DATA:150,UNSAVED_FILE_ERROR:151,INVALID_PUSH_TIME_ERROR:152,USERNAME_MISSING:200,PASSWORD_MISSING:201,USERNAME_TAKEN:202,EMAIL_TAKEN:203,EMAIL_MISSING:204,EMAIL_NOT_FOUND:205,SESSION_MISSING:206,MUST_CREATE_USER_THROUGH_SIGNUP:207,ACCOUNT_ALREADY_LINKED:208,LINKED_ID_MISSING:250,INVALID_LINKED_SESSION:251,UNSUPPORTED_SERVICE:252,X_DOMAIN_REQUEST:602}),e.exports=r},function(e,t){e.exports={}},function(e,t,n){"use strict";(function(t){function r(e){return e&&e.__esModule?e:{default:e}}var i=r(n(9)),o=r(n(67)),a=r(n(2)),s=n(0),u=n(68),c=n(19),l=n(69),h=n(5),d=h.inherits,p=h.parseDate,f=n(28).setAdapters,g=t.AV||{};g._config={serverURLs:{},useMasterKey:!1,production:null,realtime:null,requestTimeout:null},g._sharedConfig={userAgent:l(),liveQueryRealtime:null},g._getAVPath=function(e){if(!g.applicationId)throw new Error("You need to call AV.initialize before using AV.");if(e||(e=""),!s.isString(e))throw new Error("Tried to get a localStorage path that wasn't a String.");return"/"===e[0]&&(e=e.substring(1)),"AV/"+g.applicationId+"/"+e},g._installationId=null,g._getInstallationId=function(){if(g._installationId)return a.default.resolve(g._installationId);var e=g._getAVPath("installationId");return g.localStorage.getItemAsync(e).then(function(t){return g._installationId=t,g._installationId?t:(g._installationId=t=u(),g.localStorage.setItemAsync(e,t).then(function(){return t}))})},g._subscriptionId=null,g._refreshSubscriptionId=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:g._getAVPath("subscriptionId"),t=g._subscriptionId=u();return g.localStorage.setItemAsync(e,t).then(function(){return t})},g._getSubscriptionId=function(){if(g._subscriptionId)return a.default.resolve(g._subscriptionId);var e=g._getAVPath("subscriptionId");return g.localStorage.getItemAsync(e).then(function(t){return g._subscriptionId=t,g._subscriptionId||(t=g._refreshSubscriptionId(e)),t})},g._parseDate=p,g._extend=function(e,t){var n=d(this,e,t);return n.extend=this.extend,n},g._encode=function(e,t,n){var r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];if(e instanceof g.Object){if(n)throw new Error("AV.Objects not allowed here");return t&&!s.include(t,e)&&e._hasData?e._toFullJSON(t.concat(e),r):e._toPointer()}if(e instanceof g.ACL)return e.toJSON();if(s.isDate(e))return r?{__type:"Date",iso:e.toJSON()}:e.toJSON();if(e instanceof g.GeoPoint)return e.toJSON();if(s.isArray(e))return s.map(e,function(e){return g._encode(e,t,n,r)});if(s.isRegExp(e))return e.source;if(e instanceof g.Relation)return e.toJSON();if(e instanceof g.Op)return e.toJSON();if(e instanceof g.File){if(!e.url()&&!e.id)throw new Error("Tried to save an object containing an unsaved file.");return e._toFullJSON(t,r)}return s.isObject(e)?s.mapObject(e,function(e,i){return g._encode(e,t,n,r)}):e},g._decode=function(e,t){if(!s.isObject(e)||s.isDate(e))return e;if(s.isArray(e))return s.map(e,function(e){return g._decode(e)});if(e instanceof g.Object)return e;if(e instanceof g.File)return e;if(e instanceof g.Op)return e;if(e instanceof g.GeoPoint)return e;if(e instanceof g.ACL)return e;if("ACL"===t)return new g.ACL(e);if(e.__op)return g.Op._decode(e);var n;if("Pointer"===e.__type){n=e.className;var r=g.Object._create(n);if((0,o.default)(e).length>3){var i=s.clone(e);delete i.__type,delete i.className,r._finishFetch(i,!0)}else r._finishFetch({objectId:e.objectId},!1);return r}if("Object"===e.__type){n=e.className;var a=s.clone(e);delete a.__type,delete a.className;var u=g.Object._create(n);return u._finishFetch(a,!0),u}if("Date"===e.__type)return g._parseDate(e.iso);if("GeoPoint"===e.__type)return new g.GeoPoint({latitude:e.latitude,longitude:e.longitude});if("Relation"===e.__type){if(!t)throw new Error("key missing decoding a Relation");var c=new g.Relation(null,t);return c.targetClassName=e.className,c}if("File"===e.__type){var l=new g.File(e.name),h=s.clone(e);return delete h.__type,l._finishFetch(h),l}return s.mapObject(e,g._decode)},g.parseJSON=g._decode,g.parse=function(e){return g.parseJSON(JSON.parse(e))},g.stringify=function(e){return(0,i.default)(g._encode(e,[],!1,!0))},g._encodeObjectOrArray=function(e){var t=function(e){return e&&e._toFullJSON&&(e=e._toFullJSON([])),s.mapObject(e,function(e){return g._encode(e,[])})};return s.isArray(e)?e.map(function(e){return t(e)}):t(e)},g._arrayEach=s.each,g._traverse=function(e,t,n){if(e instanceof g.Object){if(n=n||[],s.indexOf(n,e)>=0)return;return n.push(e),g._traverse(e.attributes,t,n),t(e)}return e instanceof g.Relation||e instanceof g.File?t(e):s.isArray(e)?(s.each(e,function(r,i){var o=g._traverse(r,t,n);o&&(e[i]=o)}),t(e)):s.isObject(e)?(g._each(e,function(r,i){var o=g._traverse(r,t,n);o&&(e[i]=o)}),t(e)):t(e)},g._objectEach=g._each=function(e,t){s.isObject(e)?s.each(s.keys(e),function(n){t(e[n],n)}):s.each(e,t)},g.debug={enable:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"leancloud*";return c.enable(e)},disable:c.disable},g.setAdapters=f,e.exports=g}).call(t,n(66))},function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}t.log=function(){var e;return"object"===("undefined"==typeof console?"undefined":r(console))&&console.log&&(e=console).log.apply(e,arguments)},t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),this.useColors){var n="color: "+this.color;t.splice(1,0,n,"color: inherit");var r=0,i=0;t[0].replace(/%[a-zA-Z%]/g,function(e){"%%"!==e&&(r++,"%c"===e&&(i=r))}),t.splice(i,0,n)}},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(e){}},t.load=function(){var e;try{e=t.storage.getItem("debug")}catch(e){}return!e&&"undefined"!=typeof process&&"env"in process&&(e=process.env.DEBUG),e},t.useColors=function(){return!("undefined"==typeof window||!window.process||"renderer"!==window.process.type&&!window.process.__nwjs)||("undefined"==typeof navigator||!navigator.userAgent||!navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))&&("undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/))},t.storage=function(){try{return localStorage}catch(e){}}(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],e.exports=n(109)(t),e.exports.formatters.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}},function(e,t,n){"use strict";var r=n(84)(!0);n(52)(String,"String",function(e){this._t=String(e),this._i=0},function(){var e,t=this._t,n=this._i;return n>=t.length?{value:void 0,done:!0}:(e=r(t,n),this._i+=e.length,{value:e,done:!1})})},function(e,t){e.exports=!0},function(e,t,n){var r=n(29);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,i){return e.call(t,n,r,i)}}return function(){return e.apply(t,arguments)}}},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},function(e,t,n){var r=n(37);e.exports=function(e){return Object(r(e))}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var i=r(n(34)),o=r(n(35)),a="function"==typeof o.default&&"symbol"==typeof i.default?function(e){return typeof e}:function(e){return e&&"function"==typeof o.default&&e.constructor===o.default&&e!==o.default.prototype?"symbol":typeof e};t.default="function"==typeof o.default&&"symbol"===a(i.default)?function(e){return void 0===e?"undefined":a(e)}:function(e){return e&&"function"==typeof o.default&&e.constructor===o.default&&e!==o.default.prototype?"symbol":void 0===e?"undefined":a(e)}},function(e,t,n){"use strict";var r=n(0),i={};e.exports={getAdapter:function(e){var t=i[e];if(void 0===t)throw new Error(e+" adapter is not configured");return t},setAdapters:function(e){r.extend(i,e)}}},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,t,n){var r=n(56),i=n(43);e.exports=Object.keys||function(e){return r(e,i)}},function(e,t){var n=0,r=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+r).toString(36))}},function(e,t,n){var r=n(7).f,i=n(14),o=n(4)("toStringTag");e.exports=function(e,t,n){e&&!i(e=n?e:e.prototype,o)&&r(e,o,{configurable:!0,value:t})}},function(e,t,n){n(90);for(var r=n(3),i=n(12),o=n(17),a=n(4)("toStringTag"),s="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),u=0;u0?r:n)(e)}},function(e,t){e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},function(e,t,n){var r=n(13),i=n(3).document,o=r(i)&&r(i.createElement);e.exports=function(e){return o?i.createElement(e):{}}},function(e,t,n){var r=n(13);e.exports=function(e,t){if(!r(e))return e;var n,i;if(t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;if("function"==typeof(n=e.valueOf)&&!r(i=n.call(e)))return i;if(!t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;throw TypeError("Can't convert object to primitive value")}},function(e,t,n){var r=n(36),i=Math.min;e.exports=function(e){return e>0?i(r(e),9007199254740991):0}},function(e,t,n){var r=n(42)("keys"),i=n(31);e.exports=function(e){return r[e]||(r[e]=i(e))}},function(e,t,n){var r=n(1),i=n(3),o=i["__core-js_shared__"]||(i["__core-js_shared__"]={});(e.exports=function(e,t){return o[e]||(o[e]=void 0!==t?t:{})})("versions",[]).push({version:r.version,mode:n(21)?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(e,t,n){var r=n(25),i=n(4)("toStringTag"),o="Arguments"==r(function(){return arguments}());e.exports=function(e){var t,n,a;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),i))?n:o?r(t):"Object"==(a=r(t))&&"function"==typeof t.callee?"Arguments":a}},function(e,t,n){var r=n(44),i=n(4)("iterator"),o=n(17);e.exports=n(1).getIteratorMethod=function(e){if(null!=e)return e[i]||e["@@iterator"]||o[r(e)]}},function(e,t,n){"use strict";function r(e){var t,n;this.promise=new e(function(e,r){if(void 0!==t||void 0!==n)throw TypeError("Bad Promise constructor");t=e,n=r}),this.resolve=i(t),this.reject=i(n)}var i=n(29);e.exports.f=function(e){return new r(e)}},function(e,t,n){var r=n(10),i=n(1),o=n(23);e.exports=function(e,t){var n=(i.Object||{})[e]||Object[e],a={};a[e]=t(n),r(r.S+r.F*o(function(){n(1)}),"Object",a)}},function(e,t,n){t.f=n(4)},function(e,t,n){var r=n(3),i=n(1),o=n(21),a=n(48),s=n(7).f;e.exports=function(e){var t=i.Symbol||(i.Symbol=o?{}:r.Symbol||{});"_"==e.charAt(0)||e in t||s(t,e,{value:a.f(e)})}},function(e,t){t.f={}.propertyIsEnumerable},function(e,t){},function(e,t,n){"use strict";var r=n(21),i=n(10),o=n(54),a=n(12),s=n(17),u=n(85),c=n(32),l=n(58),h=n(4)("iterator"),d=!([].keys&&"next"in[].keys()),p=function(){return this};e.exports=function(e,t,n,f,g,_,m){u(n,t,f);var v,b,y,w=function(e){if(!d&&e in x)return x[e];switch(e){case"keys":case"values":return function(){return new n(this,e)}}return function(){return new n(this,e)}},k=t+" Iterator",j="values"==g,A=!1,x=e.prototype,E=x[h]||x["@@iterator"]||g&&x[g],S=E||w(g),O=g?j?w("entries"):S:void 0,C="Array"==t&&x.entries||E;if(C&&(y=l(C.call(new e)))!==Object.prototype&&y.next&&(c(y,k,!0),r||"function"==typeof y[h]||a(y,h,p)),j&&E&&"values"!==E.name&&(A=!0,S=function(){return E.call(this)}),r&&!m||!d&&!A&&x[h]||a(x,h,S),s[t]=S,s[k]=p,g)if(v={values:j?S:w("values"),keys:_?S:w("keys"),entries:O},m)for(b in v)b in x||o(x,b,v[b]);else i(i.P+i.F*(d||A),t,v);return v}},function(e,t,n){e.exports=!n(11)&&!n(23)(function(){return 7!=Object.defineProperty(n(38)("div"),"a",{get:function(){return 7}}).a})},function(e,t,n){e.exports=n(12)},function(e,t,n){var r=n(8),i=n(86),o=n(43),a=n(41)("IE_PROTO"),s=function(){},u=function(){var e,t=n(38)("iframe"),r=o.length;for(t.style.display="none",n(57).appendChild(t),t.src="javascript:",(e=t.contentWindow.document).open(),e.write("