diff --git a/CHANGELOG.md b/CHANGELOG.md index 6e27c9393..3110afe04 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,22 @@ All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines. + +# [6.7.0](https://github.com/aliyun/oss-nodejs-sdk/compare/v6.5.0...v6.7.0) (2020-04-17) + + +### Bug Fixes + +* _signatureForURL bug ([#772](https://github.com/aliyun/oss-nodejs-sdk/issues/772)) ([cef1840](https://github.com/aliyun/oss-nodejs-sdk/commit/cef1840)) +* not use compress lib ([ab73899](https://github.com/aliyun/oss-nodejs-sdk/commit/ab73899)) + + +### Features + +* bump 6.4.0 ([#722](https://github.com/aliyun/oss-nodejs-sdk/issues/722)) ([f63e40b](https://github.com/aliyun/oss-nodejs-sdk/commit/f63e40b)), closes [#698](https://github.com/aliyun/oss-nodejs-sdk/issues/698) [#703](https://github.com/aliyun/oss-nodejs-sdk/issues/703) [#701](https://github.com/aliyun/oss-nodejs-sdk/issues/701) [#709](https://github.com/aliyun/oss-nodejs-sdk/issues/709) [#712](https://github.com/aliyun/oss-nodejs-sdk/issues/712) [#719](https://github.com/aliyun/oss-nodejs-sdk/issues/719) [#718](https://github.com/aliyun/oss-nodejs-sdk/issues/718) [#715](https://github.com/aliyun/oss-nodejs-sdk/issues/715) [#707](https://github.com/aliyun/oss-nodejs-sdk/issues/707) [#721](https://github.com/aliyun/oss-nodejs-sdk/issues/721) + + + # [6.6.0](https://github.com/aliyun/oss-nodejs-sdk/compare/v6.5.0...v6.6.0) (2020-04-07) diff --git a/bower.json b/bower.json index 93c067902..366e315c8 100644 --- a/bower.json +++ b/bower.json @@ -8,5 +8,5 @@ "package.json" ], "main": "dist/aliyun-oss-sdk.js", - "version": "6.6.0" + "version": "6.7.0" } diff --git a/dist/aliyun-oss-sdk.js b/dist/aliyun-oss-sdk.js index 6dac0aa7b..02ca7a7d6 100644 --- a/dist/aliyun-oss-sdk.js +++ b/dist/aliyun-oss-sdk.js @@ -1,4 +1,4 @@ -// Aliyun OSS SDK for JavaScript v6.6.0 +// Aliyun OSS SDK for JavaScript v6.7.0 // Copyright Aliyun.com, Inc. or its affiliates. All Rights Reserved. // License at https://github.com/ali-sdk/ali-oss/blob/master/LICENSE (function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g=self}else{g=this}g.OSS = f()}})(function(){var define,module,exports;return (function(){function r(e,n,t){function o(i,f){if(!n[i]){if(!e[i]){var c="function"==typeof require&&require;if(!f&&c)return c(i,!0);if(u)return u(i,!0);var a=new Error("Cannot find module '"+i+"'");throw a.code="MODULE_NOT_FOUND",a}var p=n[i]={exports:{}};e[i][0].call(p.exports,function(r){var n=e[i][1][r];return o(n||r)},p,p.exports,r,e,n,t)}return n[i].exports}for(var u="function"==typeof require&&require,i=0;i 1 && arguments[1] !== undefined ? arguments[1] : {}; + var resource = arguments[2]; + var expires = arguments[3]; + var headers = {}; - var subResource = {}; + var _options$subResource = options.subResource, + subResource = _options$subResource === undefined ? {} : _options$subResource; + if (options.process) { var processKeyword = 'x-oss-process'; @@ -3658,8 +3664,6 @@ exports._signatureForURL = function _signatureForURL(accessKeySecret, options, r headers[key] = value; } else if (lowerKey.indexOf('content-type') === 0) { headers[key] = value; - } else if (lowerKey !== 'expires' && lowerKey !== 'response' && lowerKey !== 'process' && lowerKey !== 'method' && lowerKey !== 'trafficlimit') { - subResource[lowerKey] = value; } }); diff --git a/dist/aliyun-oss-sdk.min.js b/dist/aliyun-oss-sdk.min.js index be55de952..2315d427d 100644 --- a/dist/aliyun-oss-sdk.min.js +++ b/dist/aliyun-oss-sdk.min.js @@ -1,10 +1,10 @@ -// Aliyun OSS SDK for JavaScript v6.6.0 +// Aliyun OSS SDK for JavaScript v6.7.0 // Copyright Aliyun.com, Inc. or its affiliates. All Rights Reserved. // License at https://github.com/ali-sdk/ali-oss/blob/master/LICENSE -!function(t){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var e;e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this,e.OSS=t()}}(function(){var define,module,exports;return function(){function t(e,r,n){function o(s,a){if(!r[s]){if(!e[s]){var u="function"==typeof require&&require;if(!a&&u)return u(s,!0);if(i)return i(s,!0);var c=new Error("Cannot find module '"+s+"'");throw c.code="MODULE_NOT_FOUND",c}var l=r[s]={exports:{}};e[s][0].call(l.exports,function(t){return o(e[s][1][t]||t)},l,l.exports,t,e,r,n)}return r[s].exports}for(var i="function"==typeof require&&require,s=0;s0?e["Content-Type"]=t.mime:e["Content-Type"]=v.getType(t.mime||b.extname(t.object||""))||"application/octet-stream"),t.content&&(e["Content-Md5"]=y.createHash("md5").update(n.from(t.content,"utf8")).digest("base64"),e["Content-Length"]||(e["Content-Length"]=t.content.length));var r=this._getResource(t);e.authorization=this.authorization(t.method,r,t.subres,e);var o=this._getReqUrl(t);this.debug("request %s %s, with headers %j, !!stream: %s",t.method,o,e,!!t.stream,"info");var s=t.timeout||this.options.timeout;return{url:o,params:{agent:this.agent,method:t.method,content:t.content,stream:t.stream,headers:e,timeout:s,writeStream:t.writeStream,customResponse:t.customResponse,ctx:t.ctx||this.ctx}}},M.request=function(t){var e,r,n,o,i,s;return f.default.async(function(a){for(;;)switch(a.prev=a.next){case 0:return e=this.createRequest(t),this.options.useFetch||(e.params.mode="disable-fetch"),r=void 0,n=void 0,o=!!t.stream,a.prev=5,a.next=8,f.default.awrap(this.urllib.request(e.url,e.params));case 8:r=a.sent,this.debug("response %s %s, got %s, headers: %j",t.method,e.url,r.status,r.headers,"info"),a.next=15;break;case 12:a.prev=12,a.t0=a.catch(5),n=a.t0;case 15:if(i=void 0,!r||!t.successStatuses||-1!==t.successStatuses.indexOf(r.status)){a.next=28;break}return a.next=19,f.default.awrap(this.requestError(r));case 19:if(i=a.sent,"RequestTimeTooSkewed"!==i.code||o){a.next=25;break}return this.options.amendTimeSkewed=+new Date(i.serverTime)-new Date,a.next=24,f.default.awrap(this.request(t));case 24:return a.abrupt("return",a.sent);case 25:i.params=t,a.next=32;break;case 28:if(!n){a.next=32;break}return a.next=31,f.default.awrap(this.requestError(n));case 31:i=a.sent;case 32:if(!i){a.next=34;break}throw i;case 34:if(!t.xmlResponse){a.next=39;break}return a.next=37,f.default.awrap(this.parseXML(r.data));case 37:s=a.sent,r.data=s;case 39:return a.abrupt("return",r);case 40:case"end":return a.stop()}},null,this,[[5,12]])},M._getResource=function(t){var e="/";return t.bucket&&(e+=t.bucket+"/"),t.object&&(e+=t.object),e},M._isIP=N,M._escape=function(t){return O.encodeURIComponent(t).replace(/%2F/g,"/")},M._getReqUrl=function(t){var e={};g(this.options.endpoint).to(e);var r=this._isIP(e.hostname),n=this.options.cname;!t.bucket||n||r||(e.host=t.bucket+"."+e.host);var o="/";t.bucket&&r&&(o+=t.bucket+"/"),t.object&&(o+=this._escape(t.object).replace(/\+/g,"%2B")),e.pathname=o;var i={};if(t.query&&x(i,t.query),t.subres){var s={};E.string(t.subres)?s[t.subres]="":E.array(t.subres)?t.subres.forEach(function(t){s[t]=""}):s=t.subres,x(i,s)}return e.query=i,T.format(e)},M._getUserAgent=function(){var t=r&&r.browser?"js":"nodejs",e="aliyun-sdk-"+t+"/"+A.version,n=S.description;return!n&&r&&(n="Node.js "+r.version.slice(1)+" on "+r.platform+" "+r.arch),this._checkUserAgent(e+" "+n)},M._checkUserAgent=function(t){return t.replace(/\u03b1/,"alpha").replace(/\u03b2/,"beta")},M.checkBrowserAndVersion=function(t,e){return I.name===t&&I.version.split(".")[0]===e},M.parseXML=function(t){return new l.default(function(e,r){n.isBuffer(t)&&(t=t.toString()),w.parseString(t,{explicitRoot:!1,explicitArray:!1},function(t,n){t?r(t):e(n)})})},M.requestError=function(t){var e,r,n,o;return f.default.async(function(i){for(;;)switch(i.prev=i.next){case 0:if(e=null,t.data&&t.data.length){i.next=5;break}-1===t.status||-2===t.status?(e=new Error(t.message),e.name=t.name,e.status=t.status,e.code=t.name):(404===t.status?(e=new Error("Object not exists"),e.name="NoSuchKeyError",e.status=404,e.code="NoSuchKey"):412===t.status?(e=new Error("Pre condition failed"),e.name="PreconditionFailedError",e.status=412,e.code="PreconditionFailed"):(e=new Error("Unknow error, status: "+t.status),e.name="UnknowError",e.status=t.status),e.requestId=t.headers["x-oss-request-id"],e.host=""),i.next=33;break;case 5:return r=String(t.data),this.debug("request response error data: %s",r,"error"),n=void 0,i.prev=8,i.next=11,f.default.awrap(this.parseXML(r));case 11:if(i.t0=i.sent,i.t0){i.next=14;break}i.t0={};case 14:n=i.t0,i.next=24;break;case 17:return i.prev=17,i.t1=i.catch(8),this.debug(r,"error"),i.t1.message+="\nraw xml: "+r,i.t1.status=t.status,i.t1.requestId=t.headers["x-oss-request-id"],i.abrupt("return",i.t1);case 24:o=n.Message||"unknow request error, status: "+t.status,n.Condition&&(o+=" (condition: "+n.Condition+")"),e=new Error(o),e.name=n.Code?n.Code+"Error":"UnknowError",e.status=t.status,e.code=n.Code,e.requestId=n.RequestId,e.hostId=n.HostId,e.serverTime=n.ServerTime;case 33:return this.debug("generate error %j",e,"error"),i.abrupt("return",e);case 35:case"end":return i.stop()}},null,this,[[8,17]])}}).call(this,t("_process"),t("buffer").Buffer)},{"../common/bucket/deleteBucketLifecycle":6,"../common/bucket/deleteBucketWebsite":7,"../common/bucket/getBucketLifecycle":8,"../common/bucket/getBucketWebsite":9,"../common/bucket/putBucketLifecycle":10,"../common/bucket/putBucketWebsite":11,"../common/client/initOptions":13,"../common/multipart":16,"../common/parallel":21,"../common/signUtils":22,"../common/utils/isIP":30,"./../../shims/crypto/crypto.js":318,"./managed-upload":3,"./object":4,"./version":5,_process:239,agentkeepalive:33,"babel-runtime/core-js/object/assign":39,"babel-runtime/core-js/promise":46,"babel-runtime/regenerator":55,bowser:57,buffer:60,"copy-to":63,dateformat:177,debug:178,"is-type-of":223,"merge-descriptors":227,mime:323,path:236,platform:237,url:269,urllib:325,utility:324,xml2js:283}],3:[function(t,e,r){(function(e){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}function o(t,e){if(!(this instanceof o))return new o(t,e);g.call(this,e),this.file=t,this.reader=new FileReader,this.start=0,this.finish=!1,this.fileBuffer=null}var i=t("babel-runtime/core-js/array/from"),s=n(i),a=t("babel-runtime/core-js/promise"),u=n(a),c=t("babel-runtime/regenerator"),l=n(c),p=t("is-type-of"),f=t("util"),d=t("path"),h=t("mime"),m=t("copy-to"),y=r;y.multipartUpload=function(t,e,r){var n,o,i,s,a,u,c,f,m;return l.default.async(function(y){for(;;)switch(y.prev=y.next){case 0:if(this.resetCancelFlag(),r=r||{},!r.checkpoint||!r.checkpoint.uploadId){y.next=6;break}return y.next=5,l.default.awrap(this._resumeMultipart(r.checkpoint,r));case 5:return y.abrupt("return",y.sent);case 6:return n=102400,r.mime||(p.file(e)?r.mime=h.getType(d.extname(e.name)):p.blob(e)?r.mime=e.type:r.mime=h.getType(d.extname(e))),r.headers=r.headers||{},this._convertMetaToHeaders(r.meta,r.headers),y.next=12,l.default.awrap(this._getFileSize(e));case 12:if(!((o=y.sent)0&&m(c).to(f),d=this._divideParts(o,i),h=d.length,y=!1,b=function(r,o){var i=this;return new u.default(function(s,u){var f,b,g,v;return l.default.async(function(i){for(;;)switch(i.prev=i.next){case 0:if(i.prev=0,r.isCancel()){i.next=18;break}return f=d[o-1],b={stream:r._createStream(n,f.start,f.end),size:f.end-f.start},i.next=6,l.default.awrap(r._uploadPart(p,a,o,b));case 6:if(g=i.sent,r.isCancel()||y){i.next=15;break}if(t.doneParts.push({number:o,etag:g.res.headers.etag}),!e.progress){i.next=12;break}return i.next=12,l.default.awrap(e.progress(c.length/h,t,g.res));case 12:s({number:o,etag:g.res.headers.etag}),i.next=16;break;case 15:s();case 16:i.next=19;break;case 18:s();case 19:i.next=30;break;case 21:i.prev=21,i.t0=i.catch(0),v=new Error,v.name=i.t0.name,v.message=i.t0.message,v.stack=i.t0.stack,v.partNum=o,m(i.t0).to(v),u(v);case 30:case"end":return i.stop()}},null,i,[[0,21]])})},g=(0,s.default)(new Array(h),function(t,e){return e+1}),v=f.map(function(t){return t.number}),w=g.filter(function(t){return v.indexOf(t)<0}),_=5,x=e.parallel||_,E.next=17,l.default.awrap(this._parallel(w,x,function(t){return new u.default(function(e,n){b(r,t).then(function(t){t&&f.push(t),e()}).catch(function(t){n(t)})})}));case 17:if(T=E.sent,y=!0,!this.isCancel()){E.next=22;break}throw b=null,this._makeCancelEvent();case 22:if(!(T&&T.length>0)){E.next=25;break}throw T[0].message="Failed to upload some parts with error: "+T[0].toString()+" part_num: "+T[0].partNum,T[0];case 25:return E.next=27,l.default.awrap(this.completeMultipartUpload(p,a,f,e));case 27:return E.abrupt("return",E.sent);case 28:case"end":return E.stop()}},null,this)},p.file=function(t){return"undefined"!=typeof File&&t instanceof File},p.blob=function(t){return"undefined"!=typeof Blob&&t instanceof Blob},y._getFileSize=function(t){var e;return l.default.async(function(r){for(;;)switch(r.prev=r.next){case 0:if(!p.buffer(t)){r.next=4;break}return r.abrupt("return",t.length);case 4:if(!p.blob(t)&&!p.file(t)){r.next=6;break}return r.abrupt("return",t.size);case 6:if(!p.string(t)){r.next=11;break}return r.next=9,l.default.awrap(this._statFile(t));case 9:return e=r.sent,r.abrupt("return",e.size);case 11:throw new Error("_getFileSize requires Buffer/File/String.");case 12:case"end":return r.stop()}},null,this)};var b=t("stream"),g=b.Readable;f.inherits(o,g),o.prototype.readFileAndPush=function(t){if(this.fileBuffer)for(var e=!0;e&&this.fileBuffer&&this.startthis.fileBuffer.length?this.fileBuffer.length:n,this.start=n,e=this.push(this.fileBuffer.slice(r,n))}},o.prototype._read=function(t){if(this.file&&this.start>=this.file.size||this.fileBuffer&&this.start>=this.fileBuffer.length||this.finish||0===this.start&&!this.file)return this.finish||(this.fileBuffer=null,this.finish=!0),void this.push(null);t=t||16384;var r=this;this.reader.onload=function(n){r.fileBuffer=e.from(new Uint8Array(n.target.result)),r.file=null,r.readFileAndPush(t)},0===this.start?this.reader.readAsArrayBuffer(this.file):this.readFileAndPush(t)},y._createStream=function(t,e,r){if(p.blob(t)||p.file(t))return new o(t.slice(e,r));throw new Error("_createStream requires File/String.")},y._getPartSize=function(t,e){return e?Math.max(Math.ceil(t/1e4),e):1048576},y._divideParts=function(t,e){for(var r=Math.ceil(t/e),n=[],o=0;o\n\n',e.quiet?r+=" true\n":r+=" false\n",n=0;n"+l.escape(this._objectName(t[n]))+"\n";return r+="",this.debug("delete multi objects: %s",r,"info"),e.subres="delete",o=this._objectRequestParams("POST","",e),o.mime="xml",o.content=r,o.xmlResponse=!0,o.successStatuses=[200],u.next=14,c.default.awrap(this.request(o));case 14:return i=u.sent,s=i.data,a=s&&s.Deleted||null,a&&(Array.isArray(a)||(a=[a]),a=a.map(function(t){return t.Key})),u.abrupt("return",{res:i.res,deleted:a});case 19:case"end":return u.stop()}},null,this)},v(w,t("../common/object/copyObject")),v(w,t("../common/object/getObjectTagging")),v(w,t("../common/object/putObjectTagging")),v(w,t("../common/object/deleteObjectTagging")),v(w,t("../common/image")),w.putMeta=function(t,e,r){var n;return c.default.async(function(o){for(;;)switch(o.prev=o.next){case 0:return o.next=2,c.default.awrap(this.copy(t,t,{meta:e||{},timeout:r&&r.timeout,ctx:r&&r.ctx}));case 2:return n=o.sent,o.abrupt("return",n);case 4:case"end":return o.stop()}},null,this)},w.list=function(t,e){var r,n,o,i,s;return c.default.async(function(a){for(;;)switch(a.prev=a.next){case 0:return r=this._objectRequestParams("GET","",e),r.query=t,r.xmlResponse=!0,r.successStatuses=[200],a.next=6,c.default.awrap(this.request(r));case 6:return n=a.sent,o=n.data.Contents,i=this,o&&(Array.isArray(o)||(o=[o]),o=o.map(function(t){return{name:t.Key,url:i._objectUrl(t.Key),lastModified:t.LastModified,etag:t.ETag,type:t.Type,size:Number(t.Size),storageClass:t.StorageClass,owner:{id:t.Owner.ID,displayName:t.Owner.DisplayName}}})),s=n.data.CommonPrefixes||null,s&&(Array.isArray(s)||(s=[s]),s=s.map(function(t){return t.Prefix})),a.abrupt("return",{res:n.res,objects:o,prefixes:s,nextMarker:n.data.NextMarker||null,isTruncated:"true"===n.data.IsTruncated});case 13:case"end":return a.stop()}},null,this)},w.putACL=function(t,e,r){var n,o;return c.default.async(function(i){for(;;)switch(i.prev=i.next){case 0:return r=r||{},r.subres="acl",r.headers=r.headers||{},r.headers["x-oss-object-acl"]=e,t=this._objectName(t),n=this._objectRequestParams("PUT",t,r),n.successStatuses=[200],i.next=9,c.default.awrap(this.request(n));case 9:return o=i.sent,i.abrupt("return",{res:o.res});case 11:case"end":return i.stop()}},null,this)},w.getACL=function(t,e){var r,n;return c.default.async(function(o){for(;;)switch(o.prev=o.next){case 0:return e=e||{},e.subres="acl",t=this._objectName(t),r=this._objectRequestParams("GET",t,e),r.successStatuses=[200],r.xmlResponse=!0,o.next=8,c.default.awrap(this.request(r));case 8:return n=o.sent,o.abrupt("return",{acl:n.data.AccessControlList.Grant,owner:{id:n.data.Owner.ID,displayName:n.data.Owner.DisplayName},res:n.res});case 10:case"end":return o.stop()}},null,this)},w.restore=function(t,e){var r,n;return c.default.async(function(o){for(;;)switch(o.prev=o.next){case 0:return e=e||{},e.subres="restore",r=this._objectRequestParams("POST",t,e),r.successStatuses=[202],o.next=6,c.default.awrap(this.request(r));case 6:return n=o.sent,o.abrupt("return",{res:n.res});case 8:case"end":return o.stop()}},null,this)},w.signatureUrl=function(t,e){e=e||{},t=this._objectName(t),e.method=e.method||"GET";var r=l.timestamp()+(e.expires||1800),n={bucket:this.options.bucket,object:t},o=this._getResource(n);this.options.stsToken&&(e["security-token"]=this.options.stsToken);var i=g._signatureForURL(this.options.accessKeySecret,e,o,r),s=d.parse(this._getReqUrl(n));return s.query={OSSAccessKeyId:this.options.accessKeyId,Expires:r,Signature:i.Signature},h(i.subResource).to(s.query),s.format()},w.getObjectUrl=function(t,e){return e?"/"!==e[e.length-1]&&(e+="/"):e=this.options.endpoint.format(),e+this._escape(this._objectName(t))},w._objectUrl=function(t){return this._getReqUrl({bucket:this.options.bucket,object:t})},w.generateObjectUrl=function(t,e){if(e)"/"!==e[e.length-1]&&(e+="/");else{e=this.options.endpoint.format();var r=d.parse(e),n=this.options.bucket;r.hostname=n+"."+r.hostname,r.host=n+"."+r.host,e=r.format()}return e+this._escape(this._objectName(t))},w._objectRequestParams=function(t,e,r){if(!this.options.bucket)throw new Error("Please create a bucket first");r=r||{},e=this._objectName(e);var n={object:e,bucket:this.options.bucket,method:t,subres:r&&r.subres,timeout:r&&r.timeout,ctx:r&&r.ctx};return r.headers&&(n.headers={},h(r.headers).to(n.headers)),n},w._objectName=function(t){return t.replace(/^\/+/,"")},w._statFile=function(t){return new i.default(function(e,r){p.stat(t,function(t,n){t?r(t):e(n)})})},w._convertMetaToHeaders=function(t,e){t&&(0,a.default)(t).forEach(function(r){e["x-oss-meta-"+r]=t[r]})},w._deleteFileSafe=function(t){var e=this;return new i.default(function(r){p.exists(t,function(n){n?p.unlink(t,function(n){n&&e.debug("unlink %j error: %s",t,n,"error"),r()}):r()})})}},{"../common/callback":12,"../common/image":14,"../common/object/copyObject":17,"../common/object/deleteObjectTagging":18,"../common/object/getObjectTagging":19,"../common/object/putObjectTagging":20,"../common/signUtils":22,"babel-runtime/core-js/object/keys":45,"babel-runtime/core-js/promise":46,"babel-runtime/regenerator":55,"copy-to":63,fs:58,"is-type-of":223,"merge-descriptors":227,mime:323,path:236,url:269,utility:324}],5:[function(t,e,r){"use strict";r.version="6.6.0"},{}],6:[function(t,e,r){"use strict";var n=t("babel-runtime/regenerator"),o=function(t){return t&&t.__esModule?t:{default:t}}(n),i=t("../utils/checkBucketName");r.deleteBucketLifecycle=function(t,e){var r,n;return o.default.async(function(s){for(;;)switch(s.prev=s.next){case 0:return i(t),r=this._bucketRequestParams("DELETE",t,"lifecycle",e),r.successStatuses=[204],s.next=5,o.default.awrap(this.request(r));case 5:return n=s.sent,s.abrupt("return",{res:n.res});case 7:case"end":return s.stop()}},null,this)}},{"../utils/checkBucketName":23,"babel-runtime/regenerator":55}],7:[function(t,e,r){"use strict";var n=t("babel-runtime/regenerator"),o=function(t){return t&&t.__esModule?t:{default:t}}(n),i=t("../utils/checkBucketName");r.deleteBucketWebsite=function(t,e){var r,n;return o.default.async(function(s){for(;;)switch(s.prev=s.next){case 0:return i(t),r=this._bucketRequestParams("DELETE",t,"website",e),r.successStatuses=[204],s.next=5,o.default.awrap(this.request(r));case 5:return n=s.sent,s.abrupt("return",{res:n.res});case 7:case"end":return s.stop()}},null,this)}},{"../utils/checkBucketName":23,"babel-runtime/regenerator":55}],8:[function(t,e,r){"use strict";var n=t("babel-runtime/regenerator"),o=function(t){return t&&t.__esModule?t:{default:t}}(n),i=t("../utils/checkBucketName"),s=t("../utils/isArray"),a=t("../utils/formatObjKey");r.getBucketLifecycle=function(t,e){var r,n,u;return o.default.async(function(c){for(;;)switch(c.prev=c.next){case 0:return i(t),r=this._bucketRequestParams("GET",t,"lifecycle",e),r.successStatuses=[200],r.xmlResponse=!0,c.next=6,o.default.awrap(this.request(r));case 6:return n=c.sent,u=n.data.Rule||null,u&&(s(u)||(u=[u]),u=u.map(function(t){return t.ID&&(t.id=t.ID,delete t.ID),t.Tag&&!s(t.Tag)&&(t.Tag=[t.Tag]),a(t,"firstLowerCase")})),c.abrupt("return",{rules:u,res:n.res});case 10:case"end":return c.stop()}},null,this)}},{"../utils/checkBucketName":23,"../utils/formatObjKey":27,"../utils/isArray":29,"babel-runtime/regenerator":55}],9:[function(t,e,r){"use strict";var n=t("babel-runtime/regenerator"),o=function(t){return t&&t.__esModule?t:{default:t}}(n),i=t("../utils/checkBucketName"),s=t("../utils/isObject");r.getBucketWebsite=function(t,e){var r,n,a;return o.default.async(function(u){for(;;)switch(u.prev=u.next){case 0:return i(t),r=this._bucketRequestParams("GET",t,"website",e),r.successStatuses=[200],r.xmlResponse=!0,u.next=6,o.default.awrap(this.request(r));case 6:return n=u.sent,a=[],n.data.RoutingRules&&n.data.RoutingRules.RoutingRule&&(a=s(n.data.RoutingRules.RoutingRule)?[n.data.RoutingRules.RoutingRule]:n.data.RoutingRules.RoutingRule),u.abrupt("return",{index:n.data.IndexDocument&&n.data.IndexDocument.Suffix||"",supportSubDir:n.data.IndexDocument&&n.data.IndexDocument.SupportSubDir||"false",type:n.data.IndexDocument&&n.data.IndexDocument.Type,routingRules:a,error:n.data.ErrorDocument&&n.data.ErrorDocument.Key||null,res:n.res});case 10:case"end":return u.stop()}},null,this)}},{"../utils/checkBucketName":23,"../utils/isObject":31,"babel-runtime/regenerator":55}],10:[function(t,e,r){"use strict";function n(t){t.days&&(t.expiration={days:t.days}),t.date&&(t.expiration={createdBeforeDate:t.date})}function o(t,e){var r=t.days,n=t.createdBeforeDate;if(!r&&!n)throw new Error(e+" must includes days or createdBeforeDate");if(r&&!/^[1-9][0-9]*$/.test(r))throw new Error("days must be a positive integer");if(n&&!/\d{4}-\d{2}-\d{2}T00:00:00.000Z/.test(n))throw new Error("createdBeforeDate must be date and conform to iso8601 format")}function i(t){if(!l(t)&&!f(t))throw new Error("tag must be Object or Array");t=f(t)?[t]:t;var e={};p(t).forEach(function(t){e[t.key]=t.value}),h(e)}function s(t){if(t.id&&m(t.id)>255)throw new Error("ID is composed of 255 bytes at most");if(""===t.prefix||void 0===t.prefix)throw new Error("Rule must includes prefix");if(!["Enabled","Disabled"].includes(t.status))throw new Error("Status must be Enabled or Disabled");if(t.transition){if(!["IA","Archive"].includes(t.transition.storageClass))throw new Error("StorageClass must be IA or Archive");o(t.transition,"Transition")}if(t.expiration&&o(t.expiration,"Expiration"),t.abortMultipartUpload&&o(t.abortMultipartUpload,"AbortMultipartUpload"),!t.expiration&&!t.abortMultipartUpload&&!t.transition)throw new Error("Rule must includes expiration or abortMultipartUpload or transition");if(t.tag){if(t.abortMultipartUpload)throw new Error("Tag cannot be used with abortMultipartUpload");i(t.tag)}}var a=t("babel-runtime/regenerator"),u=function(t){return t&&t.__esModule?t:{default:t}}(a),c=t("../utils/checkBucketName"),l=t("../utils/isArray"),p=t("../utils/deepCopy"),f=t("../utils/isObject"),d=t("../utils/obj2xml"),h=t("../utils/checkObjectTag"),m=t("../utils/getStrBytesCount");r.putBucketLifecycle=function(t,e,r){var o,i,a,p,f;return u.default.async(function(h){for(;;)switch(h.prev=h.next){case 0:if(c(t),l(e)){h.next=3;break}throw new Error("rules must be Array");case 3:return o=this._bucketRequestParams("PUT",t,"lifecycle",r),i=[],a={LifecycleConfiguration:{Rule:i}},e.forEach(function(t){n(t),s(t),t.id&&(t.ID=t.id,delete t.id),i.push(t)}),p=d(a,{headers:!0,firstUpperCase:!0}),o.content=p,o.mime="xml",o.successStatuses=[200],h.next=13,u.default.awrap(this.request(o));case 13:return f=h.sent,h.abrupt("return",{res:f.res});case 15:case"end":return h.stop()}},null,this)}},{"../utils/checkBucketName":23,"../utils/checkObjectTag":24,"../utils/deepCopy":26,"../utils/getStrBytesCount":28,"../utils/isArray":29,"../utils/isObject":31,"../utils/obj2xml":32,"babel-runtime/regenerator":55}],11:[function(t,e,r){"use strict";var n=t("babel-runtime/regenerator"),o=function(t){return t&&t.__esModule?t:{default:t}}(n),i=t("../utils/checkBucketName"),s=t("../utils/obj2xml"),a=t("../utils/isArray");r.putBucketWebsite=function(t){var e,r,n,u,c,l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},p=arguments[2];return o.default.async(function(f){for(;;)switch(f.prev=f.next){case 0:if(i(t),e=this._bucketRequestParams("PUT",t,"website",p),r={Suffix:l.index||"index.html"},n={IndexDocument:r},u={WebsiteConfiguration:n},l.supportSubDir&&(r.SupportSubDir=l.supportSubDir),l.type&&(r.Type=l.type),l.error&&(n.ErrorDocument={Key:l.error}),void 0===l.routingRules){f.next=12;break}if(a(l.routingRules)){f.next=11;break}throw new Error("RoutingRules must be Array");case 11:n.RoutingRules={RoutingRule:l.routingRules};case 12:return u=s(u),e.content=u,e.mime="xml",e.successStatuses=[200],f.next=18,o.default.awrap(this.request(e));case 18:return c=f.sent,f.abrupt("return",{res:c.res});case 20:case"end":return f.stop()}},null,this)}},{"../utils/checkBucketName":23,"../utils/isArray":29,"../utils/obj2xml":32,"babel-runtime/regenerator":55}],12:[function(t,e,r){(function(e){"use strict";function n(t){return t&&t.__esModule?t:{default:t}} -var o=t("babel-runtime/core-js/object/keys"),i=n(o),s=t("babel-runtime/core-js/json/stringify"),a=n(s);r.encodeCallback=function(t,r){if(t.headers=t.headers||{},!Object.prototype.hasOwnProperty.call(t.headers,"x-oss-callback")&&r.callback){var n={callbackUrl:encodeURI(r.callback.url),callbackBody:r.callback.body};r.callback.host&&(n.callbackHost=r.callback.host),r.callback.contentType&&(n.callbackBodyType=r.callback.contentType);var o=e.from((0,a.default)(n)).toString("base64");if(t.headers["x-oss-callback"]=o,r.callback.customValue){var s={};(0,i.default)(r.callback.customValue).forEach(function(t){s["x:"+t]=r.callback.customValue[t]}),t.headers["x-oss-callback-var"]=e.from((0,a.default)(s)).toString("base64")}}}}).call(this,t("buffer").Buffer)},{"babel-runtime/core-js/json/stringify":38,"babel-runtime/core-js/object/keys":45,buffer:60}],13:[function(t,e,r){"use strict";function n(t,e){var r=u.parse(t);if(r.protocol||(r=u.parse("http"+(e?"s":"")+"://"+t)),"http:"!==r.protocol&&"https:"!==r.protocol)throw new Error("Endpoint protocol must be http or https.");return r}function o(t,e,r){var n=r?"https://":"http://",o=e?"-internal.aliyuncs.com":".aliyuncs.com";return"vpc100-oss-cn-"===t.substr(0,"vpc100-oss-cn-".length)&&(o=".aliyuncs.com"),u.parse(n+t+o)}var i=t("babel-runtime/core-js/object/assign"),s=function(t){return t&&t.__esModule?t:{default:t}}(i),a=t("humanize-ms"),u=t("url"),c=t("../utils/checkBucketName");e.exports=function(t){if(!t||!t.accessKeyId||!t.accessKeySecret)throw new Error("require accessKeyId, accessKeySecret");t.bucket&&c(t.bucket);var e=(0,s.default)({region:"oss-cn-hangzhou",internal:!1,secure:!1,timeout:6e4,bucket:null,endpoint:null,cname:!1,isRequestPay:!1,sldEnable:!1},t);if(e.accessKeyId=e.accessKeyId.trim(),e.accessKeySecret=e.accessKeySecret.trim(),e.timeout&&(e.timeout=a(e.timeout)),e.endpoint)e.endpoint=n(e.endpoint,e.secure);else{if(!e.region)throw new Error("require options.endpoint or options.region");e.endpoint=o(e.region,e.internal,e.secure)}return e.inited=!0,e}},{"../utils/checkBucketName":23,"babel-runtime/core-js/object/assign":39,"humanize-ms":214,url:269}],14:[function(t,e,r){"use strict";t("merge-descriptors")(r,t("./processObjectSave"))},{"./processObjectSave":15,"merge-descriptors":227}],15:[function(t,e,r){"use strict";function n(t,e){if(!t)throw new Error(e+" is required");if("string"!=typeof t)throw new Error(e+" must be String")}var o=t("babel-runtime/regenerator"),i=function(t){return t&&t.__esModule?t:{default:t}}(o),s=t("../utils/checkBucketName"),a=t("querystring"),u=t("js-base64"),c=u.Base64.encode;r.processObjectSave=function(t,e,r,o){var u,l,p,f;return i.default.async(function(d){for(;;)switch(d.prev=d.next){case 0:return n(t,"sourceObject"),n(e,"targetObject"),n(r,"process"),e=this._objectName(e),o&&s(o),u=this._objectRequestParams("POST",t,{subres:"x-oss-process"}),l=o?",b_"+c(o):"",e=c(e),p={"x-oss-process":r+"|sys/saveas,o_"+e+l},u.content=a.stringify(p),d.next=12,i.default.awrap(this.request(u));case 12:return f=d.sent,d.abrupt("return",{res:f.res,status:f.res.status});case 14:case"end":return d.stop()}},null,this)}},{"../utils/checkBucketName":23,"babel-runtime/regenerator":55,"js-base64":226,querystring:243}],16:[function(t,e,r){"use strict";var n=t("babel-runtime/regenerator"),o=function(t){return t&&t.__esModule?t:{default:t}}(n),i=t("copy-to"),s=t("./callback"),a=t("./utils/deepCopy"),u=r;u.listUploads=function(t,e){var r,n,s,a;return o.default.async(function(u){for(;;)switch(u.prev=u.next){case 0:return e=e||{},r={},i(e).to(r),r.subres="uploads",n=this._objectRequestParams("GET","",r),n.query=t,n.xmlResponse=!0,n.successStatuses=[200],u.next=10,o.default.awrap(this.request(n));case 10:return s=u.sent,a=s.data.Upload||[],Array.isArray(a)||(a=[a]),a=a.map(function(t){return{name:t.Key,uploadId:t.UploadId,initiated:t.Initiated}}),u.abrupt("return",{res:s.res,uploads:a,bucket:s.data.Bucket,nextKeyMarker:s.data.NextKeyMarker,nextUploadIdMarker:s.data.NextUploadIdMarker,isTruncated:"true"===s.data.IsTruncated});case 15:case"end":return u.stop()}},null,this)},u.listParts=function(t,e,r,n){var s,a,u;return o.default.async(function(c){for(;;)switch(c.prev=c.next){case 0:return n=n||{},s={},i(n).to(s),s.subres={uploadId:e},a=this._objectRequestParams("GET",t,s),a.query=r,a.xmlResponse=!0,a.successStatuses=[200],c.next=10,o.default.awrap(this.request(a));case 10:return u=c.sent,c.abrupt("return",{res:u.res,uploadId:u.data.UploadId,bucket:u.data.Bucket,name:u.data.Key,partNumberMarker:u.data.PartNumberMarker,nextPartNumberMarker:u.data.NextPartNumberMarker,maxParts:u.data.MaxParts,isTruncated:u.data.IsTruncated,parts:u.data.Part||[]});case 12:case"end":return c.stop()}},null,this)},u.abortMultipartUpload=function(t,e,r){var n,s,a;return o.default.async(function(u){for(;;)switch(u.prev=u.next){case 0:return this._stop(),r=r||{},n={},i(r).to(n),n.subres={uploadId:e},s=this._objectRequestParams("DELETE",t,n),s.successStatuses=[204],u.next=9,o.default.awrap(this.request(s));case 9:return a=u.sent,u.abrupt("return",{res:a.res});case 11:case"end":return u.stop()}},null,this)},u.initMultipartUpload=function(t,e){var r,n,s;return o.default.async(function(a){for(;;)switch(a.prev=a.next){case 0:return e=e||{},r={},i(e).to(r),r.headers=r.headers||{},this._convertMetaToHeaders(e.meta,r.headers),r.subres="uploads",n=this._objectRequestParams("POST",t,r),n.mime=e.mime,n.xmlResponse=!0,n.successStatuses=[200],a.next=12,o.default.awrap(this.request(n));case 12:return s=a.sent,a.abrupt("return",{res:s.res,bucket:s.data.Bucket,name:s.data.Key,uploadId:s.data.UploadId});case 14:case"end":return a.stop()}},null,this)},u.uploadPart=function(t,e,r,n,i,s,a){var u;return o.default.async(function(c){for(;;)switch(c.prev=c.next){case 0:return u={stream:this._createStream(n,i,s),size:s-i},c.next=3,o.default.awrap(this._uploadPart(t,e,r,u,a));case 3:return c.abrupt("return",c.sent);case 4:case"end":return c.stop()}},null,this)},u.completeMultipartUpload=function(t,e,r,n){var i,u,c,l,p,f,d,h;return o.default.async(function(m){for(;;)switch(m.prev=m.next){case 0:for(i=r.concat().sort(function(t,e){return t.number-e.number}).filter(function(t,e,r){return!e||t.number!==r[e-1].number}),u='\n\n',c=0;c\n",u+=""+l.number+"\n",u+=""+l.etag+"\n",u+="\n";return u+="",n=n||{},p={},p=a(n),p.headers&&delete p.headers["x-oss-server-side-encryption"],p.subres={uploadId:e},f=this._objectRequestParams("POST",t,p),s.encodeCallback(f,p),f.mime="xml",f.content=u,f.headers&&f.headers["x-oss-callback"]||(f.xmlResponse=!0),f.successStatuses=[200],m.next=17,o.default.awrap(this.request(f));case 17:return d=m.sent,h={res:d.res,bucket:f.bucket,name:t,etag:d.res.headers.etag},f.headers&&f.headers["x-oss-callback"]&&(h.data=JSON.parse(d.data.toString())),m.abrupt("return",h);case 21:case"end":return m.stop()}},null,this)},u._uploadPart=function(t,e,r,n,s){var a,u,c;return o.default.async(function(l){for(;;)switch(l.prev=l.next){case 0:return s=s||{},a={},i(s).to(a),a.headers={"Content-Length":n.size},a.subres={partNumber:r,uploadId:e},u=this._objectRequestParams("PUT",t,a),u.mime=a.mime,u.stream=n.stream,u.successStatuses=[200],l.next=11,o.default.awrap(this.request(u));case 11:if(c=l.sent,c.res.headers.etag){l.next=14;break}throw new Error("Please set the etag of expose-headers in OSS \n https://help.aliyun.com/document_detail/32069.html");case 14:return n.stream=null,u.stream=null,l.abrupt("return",{name:t,etag:c.res.headers.etag,res:c.res});case 17:case"end":return l.stop()}},null,this)}},{"./callback":12,"./utils/deepCopy":26,"babel-runtime/regenerator":55,"copy-to":63}],17:[function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}var o=t("babel-runtime/regenerator"),i=n(o),s=t("babel-runtime/core-js/object/keys"),a=n(s),u=t("babel-runtime/helpers/typeof"),c=n(u),l=t("../utils/checkBucketName"),p=r;p.copy=function(t,e,r,n){var o,s,u;return i.default.async(function(l){for(;;)switch(l.prev=l.next){case 0:return"object"===(void 0===r?"undefined":(0,c.default)(r))&&(n=r),n=n||{},n.headers=n.headers||{},(0,a.default)(n.headers).forEach(function(t){n.headers["x-oss-copy-source-"+t.toLowerCase()]=n.headers[t]}),n.meta&&(n.headers["x-oss-metadata-directive"]="REPLACE"),this._convertMetaToHeaders(n.meta,n.headers),e=this._getSourceName(e,r),n.headers["x-oss-copy-source"]=e,o=this._objectRequestParams("PUT",t,n),o.xmlResponse=!0,o.successStatuses=[200,304],l.next=13,i.default.awrap(this.request(o));case 13:return s=l.sent,u=s.data,u&&(u={etag:u.ETag,lastModified:u.LastModified}),l.abrupt("return",{data:u,res:s.res});case 17:case"end":return l.stop()}},null,this)},p._getSourceName=function(t,e){return"string"==typeof e?t=this._objectName(t):"/"!==t[0]?e=this.options.bucket:(e=t.replace(/\/(.+?)(\/.*)/,"$1"),t=t.replace(/(\/.+?\/)(.*)/,"$2")),l(e),t="/"+e+"/"+encodeURIComponent(t)}},{"../utils/checkBucketName":23,"babel-runtime/core-js/object/keys":45,"babel-runtime/helpers/typeof":54,"babel-runtime/regenerator":55}],18:[function(t,e,r){"use strict";var n=t("babel-runtime/regenerator"),o=function(t){return t&&t.__esModule?t:{default:t}}(n);r.deleteObjectTagging=function(t){var e,r,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return o.default.async(function(i){for(;;)switch(i.prev=i.next){case 0:return n.subres="tagging",t=this._objectName(t),e=this._objectRequestParams("DELETE",t,n),e.successStatuses=[204],i.next=6,o.default.awrap(this.request(e));case 6:return r=i.sent,i.abrupt("return",{status:r.status,res:r.res});case 8:case"end":return i.stop()}},null,this)}},{"babel-runtime/regenerator":55}],19:[function(t,e,r){"use strict";var n=t("babel-runtime/regenerator"),o=function(t){return t&&t.__esModule?t:{default:t}}(n),i=r,s=t("../utils/isObject");i.getObjectTagging=function(t){var e,r,n,i,a,u=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return o.default.async(function(c){for(;;)switch(c.prev=c.next){case 0:return u.subres="tagging",t=this._objectName(t),e=this._objectRequestParams("GET",t,u),e.successStatuses=[200],c.next=6,o.default.awrap(this.request(e));case 6:return r=c.sent,c.next=9,o.default.awrap(this.parseXML(r.data));case 9:return n=c.sent,i=n.TagSet.Tag,i=i&&s(i)?[i]:i||[],a={},i.forEach(function(t){a[t.Key]=t.Value}),c.abrupt("return",{status:r.status,res:r.res,tag:a});case 15:case"end":return c.stop()}},null,this)}},{"../utils/isObject":31,"babel-runtime/regenerator":55}],20:[function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}var o=t("babel-runtime/regenerator"),i=n(o),s=t("babel-runtime/core-js/object/keys"),a=n(s),u=t("../utils/obj2xml"),c=t("../utils/checkObjectTag");r.putObjectTagging=function(t,e){var r,n,o,s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return i.default.async(function(l){for(;;)switch(l.prev=l.next){case 0:return c(e),s.subres="tagging",t=this._objectName(t),r=this._objectRequestParams("PUT",t,s),r.successStatuses=[200],e=(0,a.default)(e).map(function(t){return{Key:t,Value:e[t]}}),n={Tagging:{TagSet:{Tag:e}}},r.mime="xml",r.content=u(n),l.next=11,i.default.awrap(this.request(r));case 11:return o=l.sent,l.abrupt("return",{res:o.res,status:o.status});case 13:case"end":return l.stop()}},null,this)}},{"../utils/checkObjectTag":24,"../utils/obj2xml":32,"babel-runtime/core-js/object/keys":45,"babel-runtime/regenerator":55}],21:[function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}var o=t("babel-runtime/regenerator"),i=n(o),s=t("babel-runtime/core-js/promise"),a=n(s),u=r;u._parallelNode=function(t,e,r,n){var o,s,u,c,l,p,f,d;return i.default.async(function(h){for(;;)switch(h.prev=h.next){case 0:o=this,s=[],u=[],c=t.length/e,l=t.length%e,p=0===l?c:(t.length-l)/e+1,f=1,d=0;case 8:if(!(d0)return p=!0,void(f<=0&&o(c));f+=1,a(t.value,i(s))}d=!1}var c=[];if(e<=0||!t)return void o(c);var l=function(t){var e=-1,r=t.length;return function(){return++ee[0]?1:t[0]10)throw new Error("maximum of 10 tags for a object");var r=["key","value"];e.forEach(function(t){t.forEach(function(t,e){i(t,u[r[e]])})})}},{"./checkValid":25,"./isObject":31,"babel-runtime/core-js/object/entries":42}],25:[function(t,e,r){"use strict";e.exports=function(t,e){e.forEach(function(e){if(e.validator)e.validator(t);else if(e.pattern&&!e.pattern.test(t))throw new Error(e.msg)})}},{}],26:[function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}var o=t("babel-runtime/core-js/object/keys"),i=n(o),s=t("babel-runtime/helpers/typeof"),a=n(s);e.exports=function t(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];if(null===e||"object"!==(void 0===e?"undefined":(0,a.default)(e)))return e;var n=r.filter(function(t){return t.original===e})[0];if(n)return n.copy;var o=Array.isArray(e)?[]:{};return r.push({original:e,copy:o}),(0,i.default)(e).forEach(function(n){o[n]=t(e[n],r)}),o}},{"babel-runtime/core-js/object/keys":45,"babel-runtime/helpers/typeof":54}],27:[function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}function o(t,e){return"firstUpperCase"===e?t=t.replace(/^./,function(t){return t.toUpperCase()}):"firstLowerCase"===e&&(t=t.replace(/^./,function(t){return t.toLowerCase()})),t}var i=t("babel-runtime/core-js/object/keys"),s=n(i),a=t("babel-runtime/helpers/typeof"),u=n(a);e.exports=function t(e,r){if(null===e||"object"!==(void 0===e?"undefined":(0,u.default)(e)))return e;var n=void 0;if(Array.isArray(e)){n=[];for(var i=0;i"+t[e]+"":"object"===n(t[e])?r+="<"+e+">"+o(t[e])+"":"array"===n(t[e])?r+=t[e].map(function(t){return"<"+e+">"+o(t)+""}).join(""):r+="<"+e+">"+t[e].toString()+""}):r+=t.toString(),r}var i=t("babel-runtime/core-js/object/keys"),s=function(t){return t&&t.__esModule?t:{default:t}}(i),a=t("./formatObjKey");e.exports=o},{"./formatObjKey":27,"babel-runtime/core-js/object/keys":45}],33:[function(t,e,r){function n(){}e.exports=n,e.exports.HttpsAgent=n},{}],34:[function(t,e,r){e.exports=t("./register")().Promise},{"./register":36}],35:[function(t,e,r){"use strict";var n=null;e.exports=function(t,e){return function(r,o){r=r||null,o=o||{};var i=!1!==o.global;if(null===n&&i&&(n=t["@@any-promise/REGISTRATION"]||null),null!==n&&null!==r&&n.implementation!==r)throw new Error('any-promise already defined as "'+n.implementation+'". You can only register an implementation before the first call to require("any-promise") and an implementation cannot be changed');return null===n&&(n=null!==r&&void 0!==o.Promise?{Promise:o.Promise,implementation:r}:e(r),i&&(t["@@any-promise/REGISTRATION"]=n)),n}}},{}],36:[function(t,e,r){"use strict";function n(){if(void 0===window.Promise)throw new Error("any-promise browser requires a polyfill or explicit registration e.g: require('any-promise/register/bluebird')");return{Promise:window.Promise,implementation:"window.Promise"}}e.exports=t("./loader")(window,n)},{"./loader":35}],37:[function(t,e,r){e.exports={default:t("core-js/library/fn/array/from"),__esModule:!0}},{"core-js/library/fn/array/from":64}],38:[function(t,e,r){e.exports={default:t("core-js/library/fn/json/stringify"),__esModule:!0}},{"core-js/library/fn/json/stringify":65}],39:[function(t,e,r){e.exports={default:t("core-js/library/fn/object/assign"),__esModule:!0}},{"core-js/library/fn/object/assign":66}],40:[function(t,e,r){e.exports={default:t("core-js/library/fn/object/create"),__esModule:!0}},{"core-js/library/fn/object/create":67}],41:[function(t,e,r){e.exports={default:t("core-js/library/fn/object/define-property"),__esModule:!0}},{"core-js/library/fn/object/define-property":68}],42:[function(t,e,r){e.exports={default:t("core-js/library/fn/object/entries"),__esModule:!0}},{"core-js/library/fn/object/entries":69}],43:[function(t,e,r){e.exports={default:t("core-js/library/fn/object/get-own-property-names"),__esModule:!0}},{"core-js/library/fn/object/get-own-property-names":70}],44:[function(t,e,r){e.exports={default:t("core-js/library/fn/object/get-prototype-of"),__esModule:!0}},{"core-js/library/fn/object/get-prototype-of":71}],45:[function(t,e,r){e.exports={default:t("core-js/library/fn/object/keys"),__esModule:!0}},{"core-js/library/fn/object/keys":72}],46:[function(t,e,r){e.exports={default:t("core-js/library/fn/promise"),__esModule:!0}},{"core-js/library/fn/promise":73}],47:[function(t,e,r){e.exports={default:t("core-js/library/fn/set-immediate"),__esModule:!0}},{"core-js/library/fn/set-immediate":74}],48:[function(t,e,r){e.exports={default:t("core-js/library/fn/string/from-code-point"),__esModule:!0}},{"core-js/library/fn/string/from-code-point":75}],49:[function(t,e,r){e.exports={default:t("core-js/library/fn/symbol"),__esModule:!0}},{"core-js/library/fn/symbol":77}],50:[function(t,e,r){e.exports={default:t("core-js/library/fn/symbol/has-instance"),__esModule:!0}},{"core-js/library/fn/symbol/has-instance":76}],51:[function(t,e,r){e.exports={default:t("core-js/library/fn/symbol/iterator"),__esModule:!0}},{"core-js/library/fn/symbol/iterator":78}],52:[function(t,e,r){"use strict";r.__esModule=!0,r.default=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}},{}],53:[function(t,e,r){"use strict";r.__esModule=!0;var n=t("../core-js/object/define-property"),o=function(t){return t&&t.__esModule?t:{default:t}}(n);r.default=function(){function t(t,e){for(var r=0;r0)throw new Error("Invalid string. Length must be a multiple of 4");var r=t.indexOf("=");return-1===r&&(r=e),[r,r===e?0:4-r%4]}function o(t){var e=n(t),r=e[0],o=e[1];return 3*(r+o)/4-o}function i(t,e,r){return 3*(e+r)/4-r}function s(t){for(var e,r=n(t),o=r[0],s=r[1],a=new f(i(t,o,s)),u=0,c=s>0?o-4:o,l=0;l>16&255,a[u++]=e>>8&255,a[u++]=255&e;return 2===s&&(e=p[t.charCodeAt(l)]<<2|p[t.charCodeAt(l+1)]>>4,a[u++]=255&e),1===s&&(e=p[t.charCodeAt(l)]<<10|p[t.charCodeAt(l+1)]<<4|p[t.charCodeAt(l+2)]>>2,a[u++]=e>>8&255,a[u++]=255&e),a}function a(t){return l[t>>18&63]+l[t>>12&63]+l[t>>6&63]+l[63&t]}function u(t,e,r){for(var n,o=[],i=e;is?s:i+16383));return 1===n?(e=t[r-1],o.push(l[e>>2]+l[e<<4&63]+"==")):2===n&&(e=(t[r-2]<<8)+t[r-1],o.push(l[e>>10]+l[e>>4&63]+l[e<<2&63]+"=")),o.join("")}r.byteLength=o,r.toByteArray=s,r.fromByteArray=c;for(var l=[],p=[],f="undefined"!=typeof Uint8Array?Uint8Array:Array,d="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",h=0,m=d.length;h1&&r[1]||""}function r(e){var r=t.match(e);return r&&r.length>1&&r[2]||""}var o,i=e(/(ipod|iphone|ipad)/i).toLowerCase(),a=/like android/i.test(t),u=!a&&/android/i.test(t),c=/nexus\s*[0-6]\s*/i.test(t),l=!c&&/nexus\s*[0-9]+/i.test(t),p=/CrOS/.test(t),f=/silk/i.test(t),d=/sailfish/i.test(t),h=/tizen/i.test(t),m=/(web|hpw)(o|0)s/i.test(t),y=/windows phone/i.test(t),b=(/SamsungBrowser/i.test(t),!y&&/windows/i.test(t)),g=!i&&!f&&/macintosh/i.test(t),v=!u&&!d&&!h&&!m&&/linux/i.test(t),w=r(/edg([ea]|ios)\/(\d+(\.\d+)?)/i),_=e(/version\/(\d+(\.\d+)?)/i),x=/tablet/i.test(t)&&!/tablet pc/i.test(t),T=!x&&/[^-]mobi/i.test(t),E=/xbox/i.test(t);/opera/i.test(t)?o={name:"Opera",opera:s,version:_||e(/(?:opera|opr|opios)[\s\/](\d+(\.\d+)?)/i)}:/opr\/|opios/i.test(t)?o={name:"Opera",opera:s,version:e(/(?:opr|opios)[\s\/](\d+(\.\d+)?)/i)||_}:/SamsungBrowser/i.test(t)?o={name:"Samsung Internet for Android",samsungBrowser:s,version:_||e(/(?:SamsungBrowser)[\s\/](\d+(\.\d+)?)/i)}:/Whale/i.test(t)?o={name:"NAVER Whale browser",whale:s,version:e(/(?:whale)[\s\/](\d+(?:\.\d+)+)/i)}:/MZBrowser/i.test(t)?o={name:"MZ Browser",mzbrowser:s,version:e(/(?:MZBrowser)[\s\/](\d+(?:\.\d+)+)/i)}:/coast/i.test(t)?o={name:"Opera Coast",coast:s,version:_||e(/(?:coast)[\s\/](\d+(\.\d+)?)/i)}:/focus/i.test(t)?o={name:"Focus",focus:s,version:e(/(?:focus)[\s\/](\d+(?:\.\d+)+)/i)}:/yabrowser/i.test(t)?o={name:"Yandex Browser",yandexbrowser:s,version:_||e(/(?:yabrowser)[\s\/](\d+(\.\d+)?)/i)}:/ucbrowser/i.test(t)?o={name:"UC Browser",ucbrowser:s,version:e(/(?:ucbrowser)[\s\/](\d+(?:\.\d+)+)/i)}:/mxios/i.test(t)?o={name:"Maxthon",maxthon:s,version:e(/(?:mxios)[\s\/](\d+(?:\.\d+)+)/i)}:/epiphany/i.test(t)?o={name:"Epiphany",epiphany:s,version:e(/(?:epiphany)[\s\/](\d+(?:\.\d+)+)/i)}:/puffin/i.test(t)?o={name:"Puffin",puffin:s,version:e(/(?:puffin)[\s\/](\d+(?:\.\d+)?)/i)}:/sleipnir/i.test(t)?o={name:"Sleipnir",sleipnir:s,version:e(/(?:sleipnir)[\s\/](\d+(?:\.\d+)+)/i)}:/k-meleon/i.test(t)?o={name:"K-Meleon",kMeleon:s,version:e(/(?:k-meleon)[\s\/](\d+(?:\.\d+)+)/i)}:y?(o={name:"Windows Phone",osname:"Windows Phone",windowsphone:s},w?(o.msedge=s,o.version=w):(o.msie=s,o.version=e(/iemobile\/(\d+(\.\d+)?)/i))):/msie|trident/i.test(t)?o={name:"Internet Explorer",msie:s,version:e(/(?:msie |rv:)(\d+(\.\d+)?)/i)}:p?o={name:"Chrome",osname:"Chrome OS",chromeos:s,chromeBook:s,chrome:s,version:e(/(?:chrome|crios|crmo)\/(\d+(\.\d+)?)/i)}:/edg([ea]|ios)/i.test(t)?o={name:"Microsoft Edge",msedge:s,version:w}:/vivaldi/i.test(t)?o={name:"Vivaldi",vivaldi:s,version:e(/vivaldi\/(\d+(\.\d+)?)/i)||_}:d?o={name:"Sailfish",osname:"Sailfish OS",sailfish:s,version:e(/sailfish\s?browser\/(\d+(\.\d+)?)/i)}:/seamonkey\//i.test(t)?o={name:"SeaMonkey",seamonkey:s,version:e(/seamonkey\/(\d+(\.\d+)?)/i)}:/firefox|iceweasel|fxios/i.test(t)?(o={name:"Firefox",firefox:s,version:e(/(?:firefox|iceweasel|fxios)[ \/](\d+(\.\d+)?)/i)},/\((mobile|tablet);[^\)]*rv:[\d\.]+\)/i.test(t)&&(o.firefoxos=s,o.osname="Firefox OS")):f?o={name:"Amazon Silk",silk:s,version:e(/silk\/(\d+(\.\d+)?)/i)}:/phantom/i.test(t)?o={name:"PhantomJS",phantom:s,version:e(/phantomjs\/(\d+(\.\d+)?)/i)}:/slimerjs/i.test(t)?o={name:"SlimerJS",slimer:s,version:e(/slimerjs\/(\d+(\.\d+)?)/i)}:/blackberry|\bbb\d+/i.test(t)||/rim\stablet/i.test(t)?o={name:"BlackBerry",osname:"BlackBerry OS",blackberry:s,version:_||e(/blackberry[\d]+\/(\d+(\.\d+)?)/i)}:m?(o={name:"WebOS",osname:"WebOS",webos:s,version:_||e(/w(?:eb)?osbrowser\/(\d+(\.\d+)?)/i)},/touchpad\//i.test(t)&&(o.touchpad=s)):/bada/i.test(t)?o={name:"Bada",osname:"Bada",bada:s,version:e(/dolfin\/(\d+(\.\d+)?)/i)}:h?o={name:"Tizen",osname:"Tizen",tizen:s,version:e(/(?:tizen\s?)?browser\/(\d+(\.\d+)?)/i)||_}:/qupzilla/i.test(t)?o={name:"QupZilla",qupzilla:s,version:e(/(?:qupzilla)[\s\/](\d+(?:\.\d+)+)/i)||_}:/chromium/i.test(t)?o={name:"Chromium",chromium:s,version:e(/(?:chromium)[\s\/](\d+(?:\.\d+)?)/i)||_}:/chrome|crios|crmo/i.test(t)?o={name:"Chrome",chrome:s,version:e(/(?:chrome|crios|crmo)\/(\d+(\.\d+)?)/i)}:u?o={name:"Android",version:_}:/safari|applewebkit/i.test(t)?(o={name:"Safari",safari:s},_&&(o.version=_)):i?(o={name:"iphone"==i?"iPhone":"ipad"==i?"iPad":"iPod"},_&&(o.version=_)):o=/googlebot/i.test(t)?{name:"Googlebot",googlebot:s,version:e(/googlebot\/(\d+(\.\d+))/i)||_}:{name:e(/^(.*)\/(.*) /),version:r(/^(.*)\/(.*) /)},!o.msedge&&/(apple)?webkit/i.test(t)?(/(apple)?webkit\/537\.36/i.test(t)?(o.name=o.name||"Blink",o.blink=s):(o.name=o.name||"Webkit",o.webkit=s), -!o.version&&_&&(o.version=_)):!o.opera&&/gecko\//i.test(t)&&(o.name=o.name||"Gecko",o.gecko=s,o.version=o.version||e(/gecko\/(\d+(\.\d+)?)/i)),o.windowsphone||!u&&!o.silk?!o.windowsphone&&i?(o[i]=s,o.ios=s,o.osname="iOS"):g?(o.mac=s,o.osname="macOS"):E?(o.xbox=s,o.osname="Xbox"):b?(o.windows=s,o.osname="Windows"):v&&(o.linux=s,o.osname="Linux"):(o.android=s,o.osname="Android");var S="";o.windows?S=function(t){switch(t){case"NT":return"NT";case"XP":return"XP";case"NT 5.0":return"2000";case"NT 5.1":return"XP";case"NT 5.2":return"2003";case"NT 6.0":return"Vista";case"NT 6.1":return"7";case"NT 6.2":return"8";case"NT 6.3":return"8.1";case"NT 10.0":return"10";default:return}}(e(/Windows ((NT|XP)( \d\d?.\d)?)/i)):o.windowsphone?S=e(/windows phone (?:os)?\s?(\d+(\.\d+)*)/i):o.mac?(S=e(/Mac OS X (\d+([_\.\s]\d+)*)/i),S=S.replace(/[_\s]/g,".")):i?(S=e(/os (\d+([_\s]\d+)*) like mac os x/i),S=S.replace(/[_\s]/g,".")):u?S=e(/android[ \/-](\d+(\.\d+)*)/i):o.webos?S=e(/(?:web|hpw)os\/(\d+(\.\d+)*)/i):o.blackberry?S=e(/rim\stablet\sos\s(\d+(\.\d+)*)/i):o.bada?S=e(/bada\/(\d+(\.\d+)*)/i):o.tizen&&(S=e(/tizen[\/\s](\d+(\.\d+)*)/i)),S&&(o.osversion=S);var O=!o.windows&&S.split(".")[0];return x||l||"ipad"==i||u&&(3==O||O>=4&&!T)||o.silk?o.tablet=s:(T||"iphone"==i||"ipod"==i||u||c||o.blackberry||o.webos||o.bada)&&(o.mobile=s),o.msedge||o.msie&&o.version>=10||o.yandexbrowser&&o.version>=15||o.vivaldi&&o.version>=1||o.chrome&&o.version>=20||o.samsungBrowser&&o.version>=4||o.whale&&1===n([o.version,"1.0"])||o.mzbrowser&&1===n([o.version,"6.0"])||o.focus&&1===n([o.version,"1.0"])||o.firefox&&o.version>=20||o.safari&&o.version>=6||o.opera&&o.version>=10||o.ios&&o.osversion&&o.osversion.split(".")[0]>=6||o.blackberry&&o.version>=10.1||o.chromium&&o.version>=20?o.a=s:o.msie&&o.version<10||o.chrome&&o.version<20||o.firefox&&o.version<20||o.safari&&o.version<6||o.opera&&o.version<10||o.ios&&o.osversion&&o.osversion.split(".")[0]<6||o.chromium&&o.version<20?o.c=s:o.x=s,o}function e(t){return t.split(".").length}function r(t,e){var r,n=[];if(Array.prototype.map)return Array.prototype.map.call(t,e);for(r=0;r=0;){if(o[0][n]>o[1][n])return 1;if(o[0][n]!==o[1][n])return-1;if(0===n)return 0}}function o(e,r,o){var i=a;"string"==typeof r&&(o=r,r=void 0),void 0===r&&(r=!1),o&&(i=t(o));var s=""+i.version;for(var u in e)if(e.hasOwnProperty(u)&&i[u]){if("string"!=typeof e[u])throw new Error("Browser version in the minVersion map should be a string: "+u+": "+String(e));return n([s,e[u]])<0}return r}function i(t,e,r){return!o(t,e,r)}var s=!0,a=t("undefined"!=typeof navigator?navigator.userAgent||"":"");return a.test=function(t){for(var e=0;e=this.charLength-this.charReceived?this.charLength-this.charReceived:t.length;if(t.copy(this.charBuffer,this.charReceived,0,r),this.charReceived+=r,this.charReceived=55296&&n<=56319)){if(this.charReceived=this.charLength=0,0===t.length)return e;break}this.charLength+=this.surrogateSize,e=""}this.detectIncompleteChar(t);var o=t.length;this.charLength&&(t.copy(this.charBuffer,0,t.length-this.charReceived,o),o-=this.charReceived),e+=t.toString(this.encoding,0,o);var o=e.length-1,n=e.charCodeAt(o);if(n>=55296&&n<=56319){var i=this.surrogateSize;return this.charLength+=i,this.charReceived+=i,this.charBuffer.copy(this.charBuffer,i,0,i),t.copy(this.charBuffer,0,0,i),e.substring(0,o)}return e},c.prototype.detectIncompleteChar=function(t){for(var e=t.length>=3?3:t.length;e>0;e--){var r=t[t.length-e];if(1==e&&r>>5==6){this.charLength=2;break}if(e<=2&&r>>4==14){this.charLength=3;break}if(e<=3&&r>>3==30){this.charLength=4;break}}this.charReceived=e},c.prototype.end=function(t){var e="";if(t&&t.length&&(e=this.write(t)),this.charReceived){var r=this.charReceived,n=this.charBuffer,o=this.encoding;e+=n.slice(0,r).toString(o)}return e}},{buffer:60}],60:[function(t,e,r){(function(e){"use strict";function n(){return i.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function o(t,e){if(n()=n())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+n().toString(16)+" bytes");return 0|t}function m(t){return+t!=t&&(t=0),i.alloc(+t)}function y(t,e){if(i.isBuffer(t))return t.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(t)||t instanceof ArrayBuffer))return t.byteLength;"string"!=typeof t&&(t=""+t);var r=t.length;if(0===r)return 0;for(var n=!1;;)switch(e){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":case void 0:return X(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return V(t).length;default:if(n)return X(t).length;e=(""+e).toLowerCase(),n=!0}}function b(t,e,r){var n=!1;if((void 0===e||e<0)&&(e=0),e>this.length)return"";if((void 0===r||r>this.length)&&(r=this.length),r<=0)return"";if(r>>>=0,e>>>=0,r<=e)return"";for(t||(t="utf8");;)switch(t){case"hex":return N(this,e,r);case"utf8":case"utf-8":return A(this,e,r);case"ascii":return I(this,e,r);case"latin1":case"binary":return k(this,e,r);case"base64":return j(this,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return D(this,e,r);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}function g(t,e,r){var n=t[e];t[e]=t[r],t[r]=n}function v(t,e,r,n,o){if(0===t.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:t.length-1),r<0&&(r=t.length+r),r>=t.length){if(o)return-1;r=t.length-1}else if(r<0){if(!o)return-1;r=0}if("string"==typeof e&&(e=i.from(e,n)),i.isBuffer(e))return 0===e.length?-1:w(t,e,r,n,o);if("number"==typeof e)return e&=255,i.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?o?Uint8Array.prototype.indexOf.call(t,e,r):Uint8Array.prototype.lastIndexOf.call(t,e,r):w(t,[e],r,n,o);throw new TypeError("val must be string, number or Buffer")}function w(t,e,r,n,o){function i(t,e){return 1===s?t[e]:t.readUInt16BE(e*s)}var s=1,a=t.length,u=e.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(t.length<2||e.length<2)return-1;s=2,a/=2,u/=2,r/=2}var c;if(o){var l=-1;for(c=r;ca&&(r=a-u),c=r;c>=0;c--){for(var p=!0,f=0;fo&&(n=o):n=o;var i=e.length;if(i%2!=0)throw new TypeError("Invalid hex string");n>i/2&&(n=i/2);for(var s=0;s239?4:i>223?3:i>191?2:1;if(o+a<=r){var u,c,l,p;switch(a){case 1:i<128&&(s=i);break;case 2:u=t[o+1],128==(192&u)&&(p=(31&i)<<6|63&u)>127&&(s=p);break;case 3:u=t[o+1],c=t[o+2],128==(192&u)&&128==(192&c)&&(p=(15&i)<<12|(63&u)<<6|63&c)>2047&&(p<55296||p>57343)&&(s=p);break;case 4:u=t[o+1],c=t[o+2],l=t[o+3],128==(192&u)&&128==(192&c)&&128==(192&l)&&(p=(15&i)<<18|(63&u)<<12|(63&c)<<6|63&l)>65535&&p<1114112&&(s=p)}}null===s?(s=65533,a=1):s>65535&&(s-=65536,n.push(s>>>10&1023|55296),s=56320|1023&s),n.push(s),o+=a}return P(n)}function P(t){var e=t.length;if(e<=Z)return String.fromCharCode.apply(String,t);for(var r="",n=0;nn)&&(r=n);for(var o="",i=e;ir)throw new RangeError("Trying to access beyond buffer length")}function M(t,e,r,n,o,s){if(!i.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>o||et.length)throw new RangeError("Index out of range")}function L(t,e,r,n){e<0&&(e=65535+e+1);for(var o=0,i=Math.min(t.length-r,2);o>>8*(n?o:1-o)}function R(t,e,r,n){e<0&&(e=4294967295+e+1);for(var o=0,i=Math.min(t.length-r,4);o>>8*(n?o:3-o)&255}function B(t,e,r,n,o,i){if(r+n>t.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function F(t,e,r,n,o){return o||B(t,e,r,4,3.4028234663852886e38,-3.4028234663852886e38),J.write(t,e,r,n,23,4),r+4}function U(t,e,r,n,o){return o||B(t,e,r,8,1.7976931348623157e308,-1.7976931348623157e308),J.write(t,e,r,n,52,8),r+8}function q(t){if(t=G(t).replace(tt,""),t.length<2)return"";for(;t.length%4!=0;)t+="=";return t}function G(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}function z(t){return t<16?"0"+t.toString(16):t.toString(16)}function X(t,e){e=e||1/0;for(var r,n=t.length,o=null,i=[],s=0;s55295&&r<57344){if(!o){if(r>56319){(e-=3)>-1&&i.push(239,191,189);continue}if(s+1===n){(e-=3)>-1&&i.push(239,191,189);continue}o=r;continue}if(r<56320){(e-=3)>-1&&i.push(239,191,189),o=r;continue}r=65536+(o-55296<<10|r-56320)}else o&&(e-=3)>-1&&i.push(239,191,189);if(o=null,r<128){if((e-=1)<0)break;i.push(r)}else if(r<2048){if((e-=2)<0)break;i.push(r>>6|192,63&r|128)}else if(r<65536){if((e-=3)<0)break;i.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((e-=4)<0)break;i.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return i}function $(t){for(var e=[],r=0;r>8,o=r%256,i.push(o),i.push(n);return i}function V(t){return Y.toByteArray(q(t))}function H(t,e,r,n){for(var o=0;o=e.length||o>=t.length);++o)e[o+r]=t[o];return o}function K(t){return t!==t}var Y=t("base64-js"),J=t("ieee754"),Q=t("isarray");r.Buffer=i,r.SlowBuffer=m,r.INSPECT_MAX_BYTES=50,i.TYPED_ARRAY_SUPPORT=void 0!==e.TYPED_ARRAY_SUPPORT?e.TYPED_ARRAY_SUPPORT:function(){try{var t=new Uint8Array(1);return t.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===t.foo()&&"function"==typeof t.subarray&&0===t.subarray(1,1).byteLength}catch(t){return!1}}(),r.kMaxLength=n(),i.poolSize=8192,i._augment=function(t){return t.__proto__=i.prototype,t},i.from=function(t,e,r){return s(null,t,e,r)},i.TYPED_ARRAY_SUPPORT&&(i.prototype.__proto__=Uint8Array.prototype,i.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&i[Symbol.species]===i&&Object.defineProperty(i,Symbol.species,{value:null,configurable:!0})),i.alloc=function(t,e,r){return u(null,t,e,r)},i.allocUnsafe=function(t){return c(null,t)},i.allocUnsafeSlow=function(t){return c(null,t)},i.isBuffer=function(t){return!(null==t||!t._isBuffer)},i.compare=function(t,e){if(!i.isBuffer(t)||!i.isBuffer(e))throw new TypeError("Arguments must be Buffers");if(t===e)return 0;for(var r=t.length,n=e.length,o=0,s=Math.min(r,n);o0&&(t=this.toString("hex",0,e).match(/.{2}/g).join(" "),this.length>e&&(t+=" ... ")),""},i.prototype.compare=function(t,e,r,n,o){if(!i.isBuffer(t))throw new TypeError("Argument must be a Buffer");if(void 0===e&&(e=0),void 0===r&&(r=t?t.length:0),void 0===n&&(n=0),void 0===o&&(o=this.length),e<0||r>t.length||n<0||o>this.length)throw new RangeError("out of range index");if(n>=o&&e>=r)return 0;if(n>=o)return-1;if(e>=r)return 1;if(e>>>=0,r>>>=0,n>>>=0,o>>>=0,this===t)return 0;for(var s=o-n,a=r-e,u=Math.min(s,a),c=this.slice(n,o),l=t.slice(e,r),p=0;po)&&(r=o),t.length>0&&(r<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var i=!1;;)switch(n){case"hex":return _(this,t,e,r);case"utf8":case"utf-8":return x(this,t,e,r);case"ascii":return T(this,t,e,r);case"latin1":case"binary":return E(this,t,e,r);case"base64":return S(this,t,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return O(this,t,e,r);default:if(i)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),i=!0}},i.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var Z=4096;i.prototype.slice=function(t,e){var r=this.length;t=~~t,e=void 0===e?r:~~e,t<0?(t+=r)<0&&(t=0):t>r&&(t=r),e<0?(e+=r)<0&&(e=0):e>r&&(e=r),e0&&(o*=256);)n+=this[t+--e]*o;return n},i.prototype.readUInt8=function(t,e){return e||C(t,1,this.length),this[t]},i.prototype.readUInt16LE=function(t,e){return e||C(t,2,this.length),this[t]|this[t+1]<<8},i.prototype.readUInt16BE=function(t,e){return e||C(t,2,this.length),this[t]<<8|this[t+1]},i.prototype.readUInt32LE=function(t,e){return e||C(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},i.prototype.readUInt32BE=function(t,e){return e||C(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},i.prototype.readIntLE=function(t,e,r){t|=0,e|=0,r||C(t,e,this.length);for(var n=this[t],o=1,i=0;++i=o&&(n-=Math.pow(2,8*e)),n},i.prototype.readIntBE=function(t,e,r){t|=0,e|=0,r||C(t,e,this.length);for(var n=e,o=1,i=this[t+--n];n>0&&(o*=256);)i+=this[t+--n]*o;return o*=128,i>=o&&(i-=Math.pow(2,8*e)),i},i.prototype.readInt8=function(t,e){return e||C(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},i.prototype.readInt16LE=function(t,e){e||C(t,2,this.length);var r=this[t]|this[t+1]<<8;return 32768&r?4294901760|r:r},i.prototype.readInt16BE=function(t,e){e||C(t,2,this.length);var r=this[t+1]|this[t]<<8;return 32768&r?4294901760|r:r},i.prototype.readInt32LE=function(t,e){return e||C(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},i.prototype.readInt32BE=function(t,e){return e||C(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},i.prototype.readFloatLE=function(t,e){return e||C(t,4,this.length),J.read(this,t,!0,23,4)},i.prototype.readFloatBE=function(t,e){return e||C(t,4,this.length),J.read(this,t,!1,23,4)},i.prototype.readDoubleLE=function(t,e){return e||C(t,8,this.length),J.read(this,t,!0,52,8)},i.prototype.readDoubleBE=function(t,e){return e||C(t,8,this.length),J.read(this,t,!1,52,8)},i.prototype.writeUIntLE=function(t,e,r,n){if(t=+t,e|=0,r|=0,!n){M(this,t,e,r,Math.pow(2,8*r)-1,0)}var o=1,i=0;for(this[e]=255&t;++i=0&&(i*=256);)this[e+o]=t/i&255;return e+r},i.prototype.writeUInt8=function(t,e,r){return t=+t,e|=0,r||M(this,t,e,1,255,0),i.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),this[e]=255&t,e+1},i.prototype.writeUInt16LE=function(t,e,r){return t=+t,e|=0,r||M(this,t,e,2,65535,0),i.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):L(this,t,e,!0),e+2},i.prototype.writeUInt16BE=function(t,e,r){return t=+t,e|=0,r||M(this,t,e,2,65535,0),i.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):L(this,t,e,!1),e+2},i.prototype.writeUInt32LE=function(t,e,r){return t=+t,e|=0,r||M(this,t,e,4,4294967295,0),i.TYPED_ARRAY_SUPPORT?(this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t):R(this,t,e,!0),e+4},i.prototype.writeUInt32BE=function(t,e,r){return t=+t,e|=0,r||M(this,t,e,4,4294967295,0),i.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):R(this,t,e,!1),e+4},i.prototype.writeIntLE=function(t,e,r,n){if(t=+t,e|=0,!n){var o=Math.pow(2,8*r-1);M(this,t,e,r,o-1,-o)}var i=0,s=1,a=0;for(this[e]=255&t;++i>0)-a&255;return e+r},i.prototype.writeIntBE=function(t,e,r,n){if(t=+t,e|=0,!n){var o=Math.pow(2,8*r-1);M(this,t,e,r,o-1,-o)}var i=r-1,s=1,a=0;for(this[e+i]=255&t;--i>=0&&(s*=256);)t<0&&0===a&&0!==this[e+i+1]&&(a=1),this[e+i]=(t/s>>0)-a&255;return e+r},i.prototype.writeInt8=function(t,e,r){return t=+t,e|=0,r||M(this,t,e,1,127,-128),i.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),t<0&&(t=255+t+1),this[e]=255&t,e+1},i.prototype.writeInt16LE=function(t,e,r){return t=+t,e|=0,r||M(this,t,e,2,32767,-32768),i.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):L(this,t,e,!0),e+2},i.prototype.writeInt16BE=function(t,e,r){return t=+t,e|=0,r||M(this,t,e,2,32767,-32768),i.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):L(this,t,e,!1),e+2},i.prototype.writeInt32LE=function(t,e,r){return t=+t,e|=0,r||M(this,t,e,4,2147483647,-2147483648),i.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24):R(this,t,e,!0),e+4},i.prototype.writeInt32BE=function(t,e,r){return t=+t,e|=0,r||M(this,t,e,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),i.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):R(this,t,e,!1),e+4},i.prototype.writeFloatLE=function(t,e,r){return F(this,t,e,!0,r)},i.prototype.writeFloatBE=function(t,e,r){return F(this,t,e,!1,r)},i.prototype.writeDoubleLE=function(t,e,r){return U(this,t,e,!0,r)},i.prototype.writeDoubleBE=function(t,e,r){return U(this,t,e,!1,r)},i.prototype.copy=function(t,e,r,n){if(r||(r=0),n||0===n||(n=this.length),e>=t.length&&(e=t.length),e||(e=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),t.length-e=0;--o)t[o+e]=this[o+r];else if(s<1e3||!i.TYPED_ARRAY_SUPPORT)for(o=0;o>>=0,r=void 0===r?this.length:r>>>0,t||(t=0);var s;if("number"==typeof t)for(s=e;sl;)if((a=u[l++])!=a)return!0}else for(;c>l;l++)if((t||l in u)&&u[l]===r)return t||l||0;return!t&&-1}}},{"./_to-absolute-index":143,"./_to-iobject":145,"./_to-length":146}],84:[function(t,e,r){var n=t("./_cof"),o=t("./_wks")("toStringTag"),i="Arguments"==n(function(){return arguments}()),s=function(t,e){try{return t[e]}catch(t){}};e.exports=function(t){var e,r,a;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(r=s(e=Object(t),o))?r:i?n(e):"Object"==(a=n(e))&&"function"==typeof e.callee?"Arguments":a}},{"./_cof":85,"./_wks":153}],85:[function(t,e,r){var n={}.toString;e.exports=function(t){return n.call(t).slice(8,-1)}},{}],86:[function(t,e,r){var n=e.exports={version:"2.5.7"};"number"==typeof __e&&(__e=n)},{}],87:[function(t,e,r){"use strict";var n=t("./_object-dp"),o=t("./_property-desc");e.exports=function(t,e,r){e in t?n.f(t,e,o(0,r)):t[e]=r}},{"./_object-dp":119,"./_property-desc":133}],88:[function(t,e,r){var n=t("./_a-function");e.exports=function(t,e,r){if(n(t),void 0===e)return t;switch(r){case 1:return function(r){return t.call(e,r)};case 2:return function(r,n){return t.call(e,r,n)};case 3:return function(r,n,o){return t.call(e,r,n,o)}}return function(){return t.apply(e,arguments)}}},{"./_a-function":79}],89:[function(t,e,r){e.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},{}],90:[function(t,e,r){e.exports=!t("./_fails")(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},{"./_fails":95}],91:[function(t,e,r){var n=t("./_is-object"),o=t("./_global").document,i=n(o)&&n(o.createElement);e.exports=function(t){return i?o.createElement(t):{}}},{"./_global":97,"./_is-object":106}],92:[function(t,e,r){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},{}],93:[function(t,e,r){var n=t("./_object-keys"),o=t("./_object-gops"),i=t("./_object-pie");e.exports=function(t){var e=n(t),r=o.f;if(r)for(var s,a=r(t),u=i.f,c=0;a.length>c;)u.call(t,s=a[c++])&&e.push(s);return e}},{"./_object-gops":124,"./_object-keys":127,"./_object-pie":128}],94:[function(t,e,r){var n=t("./_global"),o=t("./_core"),i=t("./_ctx"),s=t("./_hide"),a=t("./_has"),u=function(t,e,r){var c,l,p,f=t&u.F,d=t&u.G,h=t&u.S,m=t&u.P,y=t&u.B,b=t&u.W,g=d?o:o[e]||(o[e]={}),v=g.prototype,w=d?n:h?n[e]:(n[e]||{}).prototype;d&&(r=e);for(c in r)(l=!f&&w&&void 0!==w[c])&&a(g,c)||(p=l?w[c]:r[c],g[c]=d&&"function"!=typeof w[c]?r[c]:y&&l?i(p,n):b&&w[c]==p?function(t){var e=function(e,r,n){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(e);case 2:return new t(e,r)}return new t(e,r,n)}return t.apply(this,arguments)};return e.prototype=t.prototype,e}(p):m&&"function"==typeof p?i(Function.call,p):p,m&&((g.virtual||(g.virtual={}))[c]=p,t&u.R&&v&&!v[c]&&s(v,c,p)))};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},{"./_core":86,"./_ctx":88,"./_global":97,"./_has":98,"./_hide":99}],95:[function(t,e,r){e.exports=function(t){try{return!!t()}catch(t){return!0}}},{}],96:[function(t,e,r){var n=t("./_ctx"),o=t("./_iter-call"),i=t("./_is-array-iter"),s=t("./_an-object"),a=t("./_to-length"),u=t("./core.get-iterator-method"),c={},l={},r=e.exports=function(t,e,r,p,f){var d,h,m,y,b=f?function(){return t}:u(t),g=n(r,p,e?2:1),v=0;if("function"!=typeof b)throw TypeError(t+" is not iterable!");if(i(b)){for(d=a(t.length);d>v;v++)if((y=e?g(s(h=t[v])[0],h[1]):g(t[v]))===c||y===l)return y}else for(m=b.call(t);!(h=m.next()).done;)if((y=o(m,g,h.value,e))===c||y===l)return y};r.BREAK=c,r.RETURN=l},{"./_an-object":82,"./_ctx":88,"./_is-array-iter":104,"./_iter-call":107,"./_to-length":146,"./core.get-iterator-method":154}],97:[function(t,e,r){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)},{}],98:[function(t,e,r){var n={}.hasOwnProperty;e.exports=function(t,e){return n.call(t,e)}},{}],99:[function(t,e,r){var n=t("./_object-dp"),o=t("./_property-desc");e.exports=t("./_descriptors")?function(t,e,r){return n.f(t,e,o(1,r))}:function(t,e,r){return t[e]=r,t}},{"./_descriptors":90,"./_object-dp":119,"./_property-desc":133}],100:[function(t,e,r){var n=t("./_global").document;e.exports=n&&n.documentElement},{"./_global":97}],101:[function(t,e,r){e.exports=!t("./_descriptors")&&!t("./_fails")(function(){return 7!=Object.defineProperty(t("./_dom-create")("div"),"a",{get:function(){return 7}}).a})},{"./_descriptors":90,"./_dom-create":91,"./_fails":95}],102:[function(t,e,r){e.exports=function(t,e,r){var n=void 0===r;switch(e.length){case 0:return n?t():t.call(r);case 1:return n?t(e[0]):t.call(r,e[0]);case 2:return n?t(e[0],e[1]):t.call(r,e[0],e[1]);case 3:return n?t(e[0],e[1],e[2]):t.call(r,e[0],e[1],e[2]);case 4:return n?t(e[0],e[1],e[2],e[3]):t.call(r,e[0],e[1],e[2],e[3])}return t.apply(r,e)}},{}],103:[function(t,e,r){var n=t("./_cof");e.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==n(t)?t.split(""):Object(t)}},{"./_cof":85}],104:[function(t,e,r){var n=t("./_iterators"),o=t("./_wks")("iterator"),i=Array.prototype;e.exports=function(t){return void 0!==t&&(n.Array===t||i[o]===t)}},{"./_iterators":112,"./_wks":153}],105:[function(t,e,r){var n=t("./_cof");e.exports=Array.isArray||function(t){return"Array"==n(t)}},{"./_cof":85}],106:[function(t,e,r){e.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},{}],107:[function(t,e,r){var n=t("./_an-object");e.exports=function(t,e,r,o){try{return o?e(n(r)[0],r[1]):e(r)}catch(e){var i=t.return;throw void 0!==i&&n(i.call(t)),e}}},{"./_an-object":82}],108:[function(t,e,r){"use strict";var n=t("./_object-create"),o=t("./_property-desc"),i=t("./_set-to-string-tag"),s={};t("./_hide")(s,t("./_wks")("iterator"),function(){return this}),e.exports=function(t,e,r){t.prototype=n(s,{next:o(1,r)}),i(t,e+" Iterator")}},{"./_hide":99,"./_object-create":118,"./_property-desc":133,"./_set-to-string-tag":137,"./_wks":153}],109:[function(t,e,r){"use strict";var n=t("./_library"),o=t("./_export"),i=t("./_redefine"),s=t("./_hide"),a=t("./_iterators"),u=t("./_iter-create"),c=t("./_set-to-string-tag"),l=t("./_object-gpo"),p=t("./_wks")("iterator"),f=!([].keys&&"next"in[].keys()),d=function(){return this};e.exports=function(t,e,r,h,m,y,b){u(r,e,h);var g,v,w,_=function(t){if(!f&&t in S)return S[t];switch(t){case"keys":case"values":return function(){return new r(this,t)}}return function(){return new r(this,t)}},x=e+" Iterator",T="values"==m,E=!1,S=t.prototype,O=S[p]||S["@@iterator"]||m&&S[m],j=O||_(m),A=m?T?_("entries"):j:void 0,P="Array"==e?S.entries||O:O;if(P&&(w=l(P.call(new t)))!==Object.prototype&&w.next&&(c(w,x,!0),n||"function"==typeof w[p]||s(w,p,d)),T&&O&&"values"!==O.name&&(E=!0,j=function(){return O.call(this)}),n&&!b||!f&&!E&&S[p]||s(S,p,j),a[e]=j,a[x]=d,m)if(g={values:T?j:_("values"),keys:y?j:_("keys"),entries:A},b)for(v in g)v in S||i(S,v,g[v]);else o(o.P+o.F*(f||E),e,g);return g}},{"./_export":94,"./_hide":99,"./_iter-create":108,"./_iterators":112,"./_library":113,"./_object-gpo":125,"./_redefine":135,"./_set-to-string-tag":137,"./_wks":153}],110:[function(t,e,r){var n=t("./_wks")("iterator"),o=!1;try{var i=[7][n]();i.return=function(){o=!0},Array.from(i,function(){throw 2})}catch(t){}e.exports=function(t,e){if(!e&&!o)return!1;var r=!1;try{var i=[7],s=i[n]();s.next=function(){return{done:r=!0}},i[n]=function(){return s},t(i)}catch(t){}return r}},{"./_wks":153}],111:[function(t,e,r){e.exports=function(t,e){return{value:e,done:!!t}}},{}],112:[function(t,e,r){e.exports={}},{}],113:[function(t,e,r){e.exports=!0},{}],114:[function(t,e,r){var n=t("./_uid")("meta"),o=t("./_is-object"),i=t("./_has"),s=t("./_object-dp").f,a=0,u=Object.isExtensible||function(){return!0},c=!t("./_fails")(function(){return u(Object.preventExtensions({}))}),l=function(t){s(t,n,{value:{i:"O"+ ++a,w:{}}})},p=function(t,e){if(!o(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!i(t,n)){if(!u(t))return"F";if(!e)return"E";l(t)}return t[n].i},f=function(t,e){if(!i(t,n)){if(!u(t))return!0;if(!e)return!1;l(t)}return t[n].w},d=function(t){return c&&h.NEED&&u(t)&&!i(t,n)&&l(t),t},h=e.exports={KEY:n,NEED:!1,fastKey:p,getWeak:f,onFreeze:d}},{"./_fails":95,"./_has":98,"./_is-object":106,"./_object-dp":119,"./_uid":149}],115:[function(t,e,r){var n=t("./_global"),o=t("./_task").set,i=n.MutationObserver||n.WebKitMutationObserver,s=n.process,a=n.Promise,u="process"==t("./_cof")(s);e.exports=function(){var t,e,r,c=function(){var n,o;for(u&&(n=s.domain)&&n.exit();t;){o=t.fn,t=t.next;try{o()}catch(n){throw t?r():e=void 0,n}}e=void 0,n&&n.enter()};if(u)r=function(){s.nextTick(c)};else if(!i||n.navigator&&n.navigator.standalone)if(a&&a.resolve){var l=a.resolve(void 0);r=function(){l.then(c)}}else r=function(){o.call(n,c)};else{var p=!0,f=document.createTextNode("");new i(c).observe(f,{characterData:!0}),r=function(){f.data=p=!p}}return function(n){var o={fn:n,next:void 0};e&&(e.next=o),t||(t=o,r()),e=o}}},{"./_cof":85,"./_global":97,"./_task":142}],116:[function(t,e,r){"use strict";function n(t){var e,r;this.promise=new t(function(t,n){if(void 0!==e||void 0!==r)throw TypeError("Bad Promise constructor");e=t,r=n}),this.resolve=o(e),this.reject=o(r)}var o=t("./_a-function");e.exports.f=function(t){return new n(t)}},{"./_a-function":79}],117:[function(t,e,r){"use strict";var n=t("./_object-keys"),o=t("./_object-gops"),i=t("./_object-pie"),s=t("./_to-object"),a=t("./_iobject"),u=Object.assign;e.exports=!u||t("./_fails")(function(){var t={},e={},r=Symbol(),n="abcdefghijklmnopqrst";return t[r]=7,n.split("").forEach(function(t){e[t]=t}),7!=u({},t)[r]||Object.keys(u({},e)).join("")!=n})?function(t,e){for(var r=s(t),u=arguments.length,c=1,l=o.f,p=i.f;u>c;)for(var f,d=a(arguments[c++]),h=l?n(d).concat(l(d)):n(d),m=h.length,y=0;m>y;)p.call(d,f=h[y++])&&(r[f]=d[f]);return r}:u},{"./_fails":95,"./_iobject":103,"./_object-gops":124,"./_object-keys":127,"./_object-pie":128,"./_to-object":147}],118:[function(t,e,r){var n=t("./_an-object"),o=t("./_object-dps"),i=t("./_enum-bug-keys"),s=t("./_shared-key")("IE_PROTO"),a=function(){},u=function(){var e,r=t("./_dom-create")("iframe"),n=i.length;for(r.style.display="none",t("./_html").appendChild(r),r.src="javascript:",e=r.contentWindow.document,e.open(),e.write("