@smart100/spu-web-plugin 0.0.4 → 0.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -0
- package/dist/index.d.ts +79 -11
- package/dist/spu-web-plugin.mjs +2 -2
- package/package.json +1 -1
- package/src/index.ts +21 -1
- package/src/location.ts +19 -0
- package/src/oss/downloadService.ts +10 -7
- package/src/utils.ts +17 -1
- package/src/types/index.d.ts +0 -28
package/dist/spu-web-plugin.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{defineComponent,ref,openBlock,createElementBlock,pushScopeId,popScopeId,createElementVNode,createVNode,render as render$1}from"vue";var version="0.0.4";function _regeneratorRuntime(){_regeneratorRuntime=function(){return e};var t,e={},n=Object.prototype,r=n.hasOwnProperty,o=Object.defineProperty||function(t,e,n){t[e]=n.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",s=i.asyncIterator||"@@asyncIterator",c=i.toStringTag||"@@toStringTag";function u(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(t){u=function(t,e,n){return t[e]=n}}function l(t,e,n,r){var i=e&&e.prototype instanceof v?e:v,a=Object.create(i.prototype),s=new O(r||[]);return o(a,"_invoke",{value:S(t,n,s)}),a}function p(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}e.wrap=l;var f="suspendedStart",d="suspendedYield",h="executing",m="completed",g={};function v(){}function y(){}function b(){}var w={};u(w,a,(function(){return this}));var x=Object.getPrototypeOf,_=x&&x(x(L([])));_&&_!==n&&r.call(_,a)&&(w=_);var A=b.prototype=v.prototype=Object.create(w);function k(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function E(t,e){function n(o,i,a,s){var c=p(t[o],t,i);if("throw"!==c.type){var u=c.arg,l=u.value;return l&&"object"==typeof l&&r.call(l,"__await")?e.resolve(l.__await).then((function(t){n("next",t,a,s)}),(function(t){n("throw",t,a,s)})):e.resolve(l).then((function(t){u.value=t,a(u)}),(function(t){return n("throw",t,a,s)}))}s(c.arg)}var i;o(this,"_invoke",{value:function(t,r){function o(){return new e((function(e,o){n(t,r,e,o)}))}return i=i?i.then(o,o):o()}})}function S(e,n,r){var o=f;return function(i,a){if(o===h)throw new Error("Generator is already running");if(o===m){if("throw"===i)throw a;return{value:t,done:!0}}for(r.method=i,r.arg=a;;){var s=r.delegate;if(s){var c=T(s,r);if(c){if(c===g)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===f)throw o=m,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=h;var u=p(e,n,r);if("normal"===u.type){if(o=r.done?m:d,u.arg===g)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(o=m,r.method="throw",r.arg=u.arg)}}}function T(e,n){var r=n.method,o=e.iterator[r];if(o===t)return n.delegate=null,"throw"===r&&e.iterator.return&&(n.method="return",n.arg=t,T(e,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),g;var i=p(o,e.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,g;var a=i.arg;return a?a.done?(n[e.resultName]=a.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,g):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,g)}function C(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function P(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function O(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(C,this),this.reset(!0)}function L(e){if(e||""===e){var n=e[a];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function n(){for(;++o<e.length;)if(r.call(e,o))return n.value=e[o],n.done=!1,n;return n.value=t,n.done=!0,n};return i.next=i}}throw new TypeError(typeof e+" is not iterable")}return y.prototype=b,o(A,"constructor",{value:b,configurable:!0}),o(b,"constructor",{value:y,configurable:!0}),y.displayName=u(b,c,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===y||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,b):(t.__proto__=b,u(t,c,"GeneratorFunction")),t.prototype=Object.create(A),t},e.awrap=function(t){return{__await:t}},k(E.prototype),u(E.prototype,s,(function(){return this})),e.AsyncIterator=E,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new E(l(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},k(A),u(A,c,"Generator"),u(A,a,(function(){return this})),u(A,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),n=[];for(var r in e)n.push(r);return n.reverse(),function t(){for(;n.length;){var r=n.pop();if(r in e)return t.value=r,t.done=!1,t}return t.done=!0,t}},e.values=L,O.prototype={constructor:O,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(P),!e)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function o(r,o){return s.type="throw",s.arg=e,n.next=r,o&&(n.method="next",n.arg=t),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var c=r.call(a,"catchLoc"),u=r.call(a,"finallyLoc");if(c&&u){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,g):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),g},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),P(n),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var o=r.arg;P(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:L(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),g}},e}function _typeof(t){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},_typeof(t)}function asyncGeneratorStep(t,e,n,r,o,i,a){try{var s=t[i](a),c=s.value}catch(t){return void n(t)}s.done?e(c):Promise.resolve(c).then(r,o)}function _asyncToGenerator(t){return function(){var e=this,n=arguments;return new Promise((function(r,o){var i=t.apply(e,n);function a(t){asyncGeneratorStep(i,r,o,a,s,"next",t)}function s(t){asyncGeneratorStep(i,r,o,a,s,"throw",t)}a(void 0)}))}}function _classCallCheck(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function _defineProperties(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,_toPropertyKey(r.key),r)}}function _createClass(t,e,n){return e&&_defineProperties(t.prototype,e),n&&_defineProperties(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}function _defineProperty(t,e,n){return(e=_toPropertyKey(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function _toPrimitive(t,e){if("object"!=typeof t||null===t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}function _toPropertyKey(t){var e=_toPrimitive(t,"string");return"symbol"==typeof e?e:String(e)}var STORAGENAMESPACE="",StorageProxy=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"local";_classCallCheck(this,t),_defineProperty(this,"provider",void 0),this.provider=window["".concat(e,"Storage")]}return _createClass(t,[{key:"getItem",value:function(t){return this.provider.getItem("".concat(STORAGENAMESPACE?STORAGENAMESPACE+"-"+t:t))}},{key:"setItem",value:function(t,e){return this.provider.setItem("".concat(STORAGENAMESPACE?STORAGENAMESPACE+"-"+t:t),e)}},{key:"removeItem",value:function(t){return this.provider.removeItem("".concat(STORAGENAMESPACE?STORAGENAMESPACE+"-"+t:t))}},{key:"clear",value:function(){for(var t=this,e=[],n=0,r=this.provider.length;n<r;n++){var o=this.provider.key(n);o&&0===o.indexOf("".concat(STORAGENAMESPACE,"-"))&&e.push(o)}e.forEach((function(e){t.removeItem(e)}))}}]),t}(),lsProxy=new StorageProxy("local"),ssProxy=new StorageProxy("session");function initStorageProxy(t){STORAGENAMESPACE=t.modulekey}var freeGlobal="object"==typeof global&&global&&global.Object===Object&&global,freeGlobal$1=freeGlobal,freeSelf="object"==typeof self&&self&&self.Object===Object&&self,root=freeGlobal$1||freeSelf||Function("return this")(),root$1=root,Symbol$1=root$1.Symbol,Symbol$2=Symbol$1,objectProto$c=Object.prototype,hasOwnProperty$a=objectProto$c.hasOwnProperty,nativeObjectToString$1=objectProto$c.toString,symToStringTag$1=Symbol$2?Symbol$2.toStringTag:void 0;function getRawTag(t){var e=hasOwnProperty$a.call(t,symToStringTag$1),n=t[symToStringTag$1];try{t[symToStringTag$1]=void 0;var r=!0}catch(t){}var o=nativeObjectToString$1.call(t);return r&&(e?t[symToStringTag$1]=n:delete t[symToStringTag$1]),o}var objectProto$b=Object.prototype,nativeObjectToString=objectProto$b.toString;function objectToString(t){return nativeObjectToString.call(t)}var nullTag="[object Null]",undefinedTag="[object Undefined]",symToStringTag=Symbol$2?Symbol$2.toStringTag:void 0;function baseGetTag(t){return null==t?void 0===t?undefinedTag:nullTag:symToStringTag&&symToStringTag in Object(t)?getRawTag(t):objectToString(t)}function isObjectLike(t){return null!=t&&"object"==typeof t}var symbolTag$2="[object Symbol]";function isSymbol(t){return"symbol"==typeof t||isObjectLike(t)&&baseGetTag(t)==symbolTag$2}function arrayMap(t,e){for(var n=-1,r=null==t?0:t.length,o=Array(r);++n<r;)o[n]=e(t[n],n,t);return o}var isArray$1=Array.isArray,isArray$2=isArray$1,INFINITY$1=1/0,symbolProto$1=Symbol$2?Symbol$2.prototype:void 0,symbolToString=symbolProto$1?symbolProto$1.toString:void 0;function baseToString(t){if("string"==typeof t)return t;if(isArray$2(t))return arrayMap(t,baseToString)+"";if(isSymbol(t))return symbolToString?symbolToString.call(t):"";var e=t+"";return"0"==e&&1/t==-INFINITY$1?"-0":e}function isObject$2(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}var asyncTag="[object AsyncFunction]",funcTag$2="[object Function]",genTag$1="[object GeneratorFunction]",proxyTag="[object Proxy]";function isFunction$1(t){if(!isObject$2(t))return!1;var e=baseGetTag(t);return e==funcTag$2||e==genTag$1||e==asyncTag||e==proxyTag}var coreJsData=root$1["__core-js_shared__"],coreJsData$1=coreJsData,maskSrcKey=(uid=/[^.]+$/.exec(coreJsData$1&&coreJsData$1.keys&&coreJsData$1.keys.IE_PROTO||""),uid?"Symbol(src)_1."+uid:""),uid;function isMasked(t){return!!maskSrcKey&&maskSrcKey in t}var funcProto$1=Function.prototype,funcToString$1=funcProto$1.toString;function toSource(t){if(null!=t){try{return funcToString$1.call(t)}catch(t){}try{return t+""}catch(t){}}return""}var reRegExpChar=/[\\^$.*+?()[\]{}|]/g,reIsHostCtor=/^\[object .+?Constructor\]$/,funcProto=Function.prototype,objectProto$a=Object.prototype,funcToString=funcProto.toString,hasOwnProperty$9=objectProto$a.hasOwnProperty,reIsNative=RegExp("^"+funcToString.call(hasOwnProperty$9).replace(reRegExpChar,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function baseIsNative(t){return!(!isObject$2(t)||isMasked(t))&&(isFunction$1(t)?reIsNative:reIsHostCtor).test(toSource(t))}function getValue(t,e){return null==t?void 0:t[e]}function getNative(t,e){var n=getValue(t,e);return baseIsNative(n)?n:void 0}var WeakMap$1=getNative(root$1,"WeakMap"),WeakMap$2=WeakMap$1,objectCreate=Object.create,baseCreate=function(){function t(){}return function(e){if(!isObject$2(e))return{};if(objectCreate)return objectCreate(e);t.prototype=e;var n=new t;return t.prototype=void 0,n}}(),baseCreate$1=baseCreate;function copyArray(t,e){var n=-1,r=t.length;for(e||(e=Array(r));++n<r;)e[n]=t[n];return e}var defineProperty=function(){try{var t=getNative(Object,"defineProperty");return t({},"",{}),t}catch(t){}}(),defineProperty$1=defineProperty;function arrayEach(t,e){for(var n=-1,r=null==t?0:t.length;++n<r&&!1!==e(t[n],n,t););return t}var MAX_SAFE_INTEGER$1=9007199254740991,reIsUint=/^(?:0|[1-9]\d*)$/;function isIndex(t,e){var n=typeof t;return!!(e=null==e?MAX_SAFE_INTEGER$1:e)&&("number"==n||"symbol"!=n&&reIsUint.test(t))&&t>-1&&t%1==0&&t<e}function baseAssignValue(t,e,n){"__proto__"==e&&defineProperty$1?defineProperty$1(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n}function eq(t,e){return t===e||t!=t&&e!=e}var objectProto$9=Object.prototype,hasOwnProperty$8=objectProto$9.hasOwnProperty;function assignValue(t,e,n){var r=t[e];hasOwnProperty$8.call(t,e)&&eq(r,n)&&(void 0!==n||e in t)||baseAssignValue(t,e,n)}function copyObject(t,e,n,r){var o=!n;n||(n={});for(var i=-1,a=e.length;++i<a;){var s=e[i],c=r?r(n[s],t[s],s,n,t):void 0;void 0===c&&(c=t[s]),o?baseAssignValue(n,s,c):assignValue(n,s,c)}return n}var MAX_SAFE_INTEGER=9007199254740991;function isLength(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=MAX_SAFE_INTEGER}function isArrayLike(t){return null!=t&&isLength(t.length)&&!isFunction$1(t)}var objectProto$8=Object.prototype;function isPrototype(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||objectProto$8)}function baseTimes(t,e){for(var n=-1,r=Array(t);++n<t;)r[n]=e(n);return r}var argsTag$2="[object Arguments]";function baseIsArguments(t){return isObjectLike(t)&&baseGetTag(t)==argsTag$2}var objectProto$7=Object.prototype,hasOwnProperty$7=objectProto$7.hasOwnProperty,propertyIsEnumerable$1=objectProto$7.propertyIsEnumerable,isArguments=baseIsArguments(function(){return arguments}())?baseIsArguments:function(t){return isObjectLike(t)&&hasOwnProperty$7.call(t,"callee")&&!propertyIsEnumerable$1.call(t,"callee")},isArguments$1=isArguments;function stubFalse(){return!1}var freeExports$2="object"==typeof exports&&exports&&!exports.nodeType&&exports,freeModule$2=freeExports$2&&"object"==typeof module&&module&&!module.nodeType&&module,moduleExports$2=freeModule$2&&freeModule$2.exports===freeExports$2,Buffer$2=moduleExports$2?root$1.Buffer:void 0,nativeIsBuffer=Buffer$2?Buffer$2.isBuffer:void 0,isBuffer$1=nativeIsBuffer||stubFalse,isBuffer$2=isBuffer$1,argsTag$1="[object Arguments]",arrayTag$1="[object Array]",boolTag$2="[object Boolean]",dateTag$2="[object Date]",errorTag$1="[object Error]",funcTag$1="[object Function]",mapTag$4="[object Map]",numberTag$2="[object Number]",objectTag$2="[object Object]",regexpTag$2="[object RegExp]",setTag$4="[object Set]",stringTag$2="[object String]",weakMapTag$2="[object WeakMap]",arrayBufferTag$2="[object ArrayBuffer]",dataViewTag$3="[object DataView]",float32Tag$2="[object Float32Array]",float64Tag$2="[object Float64Array]",int8Tag$2="[object Int8Array]",int16Tag$2="[object Int16Array]",int32Tag$2="[object Int32Array]",uint8Tag$2="[object Uint8Array]",uint8ClampedTag$2="[object Uint8ClampedArray]",uint16Tag$2="[object Uint16Array]",uint32Tag$2="[object Uint32Array]",typedArrayTags={};function baseIsTypedArray(t){return isObjectLike(t)&&isLength(t.length)&&!!typedArrayTags[baseGetTag(t)]}function baseUnary(t){return function(e){return t(e)}}typedArrayTags[float32Tag$2]=typedArrayTags[float64Tag$2]=typedArrayTags[int8Tag$2]=typedArrayTags[int16Tag$2]=typedArrayTags[int32Tag$2]=typedArrayTags[uint8Tag$2]=typedArrayTags[uint8ClampedTag$2]=typedArrayTags[uint16Tag$2]=typedArrayTags[uint32Tag$2]=!0,typedArrayTags[argsTag$1]=typedArrayTags[arrayTag$1]=typedArrayTags[arrayBufferTag$2]=typedArrayTags[boolTag$2]=typedArrayTags[dataViewTag$3]=typedArrayTags[dateTag$2]=typedArrayTags[errorTag$1]=typedArrayTags[funcTag$1]=typedArrayTags[mapTag$4]=typedArrayTags[numberTag$2]=typedArrayTags[objectTag$2]=typedArrayTags[regexpTag$2]=typedArrayTags[setTag$4]=typedArrayTags[stringTag$2]=typedArrayTags[weakMapTag$2]=!1;var freeExports$1="object"==typeof exports&&exports&&!exports.nodeType&&exports,freeModule$1=freeExports$1&&"object"==typeof module&&module&&!module.nodeType&&module,moduleExports$1=freeModule$1&&freeModule$1.exports===freeExports$1,freeProcess=moduleExports$1&&freeGlobal$1.process,nodeUtil=function(){try{var t=freeModule$1&&freeModule$1.require&&freeModule$1.require("util").types;return t||freeProcess&&freeProcess.binding&&freeProcess.binding("util")}catch(t){}}(),nodeUtil$1=nodeUtil,nodeIsTypedArray=nodeUtil$1&&nodeUtil$1.isTypedArray,isTypedArray$1=nodeIsTypedArray?baseUnary(nodeIsTypedArray):baseIsTypedArray,isTypedArray$2=isTypedArray$1,objectProto$6=Object.prototype,hasOwnProperty$6=objectProto$6.hasOwnProperty;function arrayLikeKeys(t,e){var n=isArray$2(t),r=!n&&isArguments$1(t),o=!n&&!r&&isBuffer$2(t),i=!n&&!r&&!o&&isTypedArray$2(t),a=n||r||o||i,s=a?baseTimes(t.length,String):[],c=s.length;for(var u in t)!e&&!hasOwnProperty$6.call(t,u)||a&&("length"==u||o&&("offset"==u||"parent"==u)||i&&("buffer"==u||"byteLength"==u||"byteOffset"==u)||isIndex(u,c))||s.push(u);return s}function overArg(t,e){return function(n){return t(e(n))}}var nativeKeys=overArg(Object.keys,Object),nativeKeys$1=nativeKeys,objectProto$5=Object.prototype,hasOwnProperty$5=objectProto$5.hasOwnProperty;function baseKeys(t){if(!isPrototype(t))return nativeKeys$1(t);var e=[];for(var n in Object(t))hasOwnProperty$5.call(t,n)&&"constructor"!=n&&e.push(n);return e}function keys(t){return isArrayLike(t)?arrayLikeKeys(t):baseKeys(t)}function nativeKeysIn(t){var e=[];if(null!=t)for(var n in Object(t))e.push(n);return e}var objectProto$4=Object.prototype,hasOwnProperty$4=objectProto$4.hasOwnProperty;function baseKeysIn(t){if(!isObject$2(t))return nativeKeysIn(t);var e=isPrototype(t),n=[];for(var r in t)("constructor"!=r||!e&&hasOwnProperty$4.call(t,r))&&n.push(r);return n}function keysIn(t){return isArrayLike(t)?arrayLikeKeys(t,!0):baseKeysIn(t)}var reIsDeepProp=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,reIsPlainProp=/^\w*$/;function isKey(t,e){if(isArray$2(t))return!1;var n=typeof t;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=t&&!isSymbol(t))||(reIsPlainProp.test(t)||!reIsDeepProp.test(t)||null!=e&&t in Object(e))}var nativeCreate=getNative(Object,"create"),nativeCreate$1=nativeCreate;function hashClear(){this.__data__=nativeCreate$1?nativeCreate$1(null):{},this.size=0}function hashDelete(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}var HASH_UNDEFINED$1="__lodash_hash_undefined__",objectProto$3=Object.prototype,hasOwnProperty$3=objectProto$3.hasOwnProperty;function hashGet(t){var e=this.__data__;if(nativeCreate$1){var n=e[t];return n===HASH_UNDEFINED$1?void 0:n}return hasOwnProperty$3.call(e,t)?e[t]:void 0}var objectProto$2=Object.prototype,hasOwnProperty$2=objectProto$2.hasOwnProperty;function hashHas(t){var e=this.__data__;return nativeCreate$1?void 0!==e[t]:hasOwnProperty$2.call(e,t)}var HASH_UNDEFINED="__lodash_hash_undefined__";function hashSet(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=nativeCreate$1&&void 0===e?HASH_UNDEFINED:e,this}function Hash(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function listCacheClear(){this.__data__=[],this.size=0}function assocIndexOf(t,e){for(var n=t.length;n--;)if(eq(t[n][0],e))return n;return-1}Hash.prototype.clear=hashClear,Hash.prototype.delete=hashDelete,Hash.prototype.get=hashGet,Hash.prototype.has=hashHas,Hash.prototype.set=hashSet;var arrayProto=Array.prototype,splice=arrayProto.splice;function listCacheDelete(t){var e=this.__data__,n=assocIndexOf(e,t);return!(n<0)&&(n==e.length-1?e.pop():splice.call(e,n,1),--this.size,!0)}function listCacheGet(t){var e=this.__data__,n=assocIndexOf(e,t);return n<0?void 0:e[n][1]}function listCacheHas(t){return assocIndexOf(this.__data__,t)>-1}function listCacheSet(t,e){var n=this.__data__,r=assocIndexOf(n,t);return r<0?(++this.size,n.push([t,e])):n[r][1]=e,this}function ListCache(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}ListCache.prototype.clear=listCacheClear,ListCache.prototype.delete=listCacheDelete,ListCache.prototype.get=listCacheGet,ListCache.prototype.has=listCacheHas,ListCache.prototype.set=listCacheSet;var Map$1=getNative(root$1,"Map"),Map$2=Map$1;function mapCacheClear(){this.size=0,this.__data__={hash:new Hash,map:new(Map$2||ListCache),string:new Hash}}function isKeyable(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t}function getMapData(t,e){var n=t.__data__;return isKeyable(e)?n["string"==typeof e?"string":"hash"]:n.map}function mapCacheDelete(t){var e=getMapData(this,t).delete(t);return this.size-=e?1:0,e}function mapCacheGet(t){return getMapData(this,t).get(t)}function mapCacheHas(t){return getMapData(this,t).has(t)}function mapCacheSet(t,e){var n=getMapData(this,t),r=n.size;return n.set(t,e),this.size+=n.size==r?0:1,this}function MapCache(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}MapCache.prototype.clear=mapCacheClear,MapCache.prototype.delete=mapCacheDelete,MapCache.prototype.get=mapCacheGet,MapCache.prototype.has=mapCacheHas,MapCache.prototype.set=mapCacheSet;var FUNC_ERROR_TEXT="Expected a function";function memoize(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new TypeError(FUNC_ERROR_TEXT);var n=function(){var r=arguments,o=e?e.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var a=t.apply(this,r);return n.cache=i.set(o,a)||i,a};return n.cache=new(memoize.Cache||MapCache),n}memoize.Cache=MapCache;var MAX_MEMOIZE_SIZE=500;function memoizeCapped(t){var e=memoize(t,(function(t){return n.size===MAX_MEMOIZE_SIZE&&n.clear(),t})),n=e.cache;return e}var rePropName=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,reEscapeChar=/\\(\\)?/g,stringToPath=memoizeCapped((function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(rePropName,(function(t,n,r,o){e.push(r?o.replace(reEscapeChar,"$1"):n||t)})),e})),stringToPath$1=stringToPath;function toString$1(t){return null==t?"":baseToString(t)}function castPath(t,e){return isArray$2(t)?t:isKey(t,e)?[t]:stringToPath$1(toString$1(t))}var INFINITY=1/0;function toKey(t){if("string"==typeof t||isSymbol(t))return t;var e=t+"";return"0"==e&&1/t==-INFINITY?"-0":e}function baseGet(t,e){for(var n=0,r=(e=castPath(e,t)).length;null!=t&&n<r;)t=t[toKey(e[n++])];return n&&n==r?t:void 0}function get(t,e,n){var r=null==t?void 0:baseGet(t,e);return void 0===r?n:r}function arrayPush(t,e){for(var n=-1,r=e.length,o=t.length;++n<r;)t[o+n]=e[n];return t}var getPrototype=overArg(Object.getPrototypeOf,Object),getPrototype$1=getPrototype;function stackClear(){this.__data__=new ListCache,this.size=0}function stackDelete(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n}function stackGet(t){return this.__data__.get(t)}function stackHas(t){return this.__data__.has(t)}var LARGE_ARRAY_SIZE=200;function stackSet(t,e){var n=this.__data__;if(n instanceof ListCache){var r=n.__data__;if(!Map$2||r.length<LARGE_ARRAY_SIZE-1)return r.push([t,e]),this.size=++n.size,this;n=this.__data__=new MapCache(r)}return n.set(t,e),this.size=n.size,this}function Stack(t){var e=this.__data__=new ListCache(t);this.size=e.size}function baseAssign(t,e){return t&©Object(e,keys(e),t)}function baseAssignIn(t,e){return t&©Object(e,keysIn(e),t)}Stack.prototype.clear=stackClear,Stack.prototype.delete=stackDelete,Stack.prototype.get=stackGet,Stack.prototype.has=stackHas,Stack.prototype.set=stackSet;var freeExports="object"==typeof exports&&exports&&!exports.nodeType&&exports,freeModule=freeExports&&"object"==typeof module&&module&&!module.nodeType&&module,moduleExports=freeModule&&freeModule.exports===freeExports,Buffer$1=moduleExports?root$1.Buffer:void 0,allocUnsafe=Buffer$1?Buffer$1.allocUnsafe:void 0;function cloneBuffer(t,e){if(e)return t.slice();var n=t.length,r=allocUnsafe?allocUnsafe(n):new t.constructor(n);return t.copy(r),r}function arrayFilter(t,e){for(var n=-1,r=null==t?0:t.length,o=0,i=[];++n<r;){var a=t[n];e(a,n,t)&&(i[o++]=a)}return i}function stubArray(){return[]}var objectProto$1=Object.prototype,propertyIsEnumerable=objectProto$1.propertyIsEnumerable,nativeGetSymbols$1=Object.getOwnPropertySymbols,getSymbols=nativeGetSymbols$1?function(t){return null==t?[]:(t=Object(t),arrayFilter(nativeGetSymbols$1(t),(function(e){return propertyIsEnumerable.call(t,e)})))}:stubArray,getSymbols$1=getSymbols;function copySymbols(t,e){return copyObject(t,getSymbols$1(t),e)}var nativeGetSymbols=Object.getOwnPropertySymbols,getSymbolsIn=nativeGetSymbols?function(t){for(var e=[];t;)arrayPush(e,getSymbols$1(t)),t=getPrototype$1(t);return e}:stubArray,getSymbolsIn$1=getSymbolsIn;function copySymbolsIn(t,e){return copyObject(t,getSymbolsIn$1(t),e)}function baseGetAllKeys(t,e,n){var r=e(t);return isArray$2(t)?r:arrayPush(r,n(t))}function getAllKeys(t){return baseGetAllKeys(t,keys,getSymbols$1)}function getAllKeysIn(t){return baseGetAllKeys(t,keysIn,getSymbolsIn$1)}var DataView=getNative(root$1,"DataView"),DataView$1=DataView,Promise$1=getNative(root$1,"Promise"),Promise$2=Promise$1,Set$1=getNative(root$1,"Set"),Set$2=Set$1,mapTag$3="[object Map]",objectTag$1="[object Object]",promiseTag="[object Promise]",setTag$3="[object Set]",weakMapTag$1="[object WeakMap]",dataViewTag$2="[object DataView]",dataViewCtorString=toSource(DataView$1),mapCtorString=toSource(Map$2),promiseCtorString=toSource(Promise$2),setCtorString=toSource(Set$2),weakMapCtorString=toSource(WeakMap$2),getTag=baseGetTag;(DataView$1&&getTag(new DataView$1(new ArrayBuffer(1)))!=dataViewTag$2||Map$2&&getTag(new Map$2)!=mapTag$3||Promise$2&&getTag(Promise$2.resolve())!=promiseTag||Set$2&&getTag(new Set$2)!=setTag$3||WeakMap$2&&getTag(new WeakMap$2)!=weakMapTag$1)&&(getTag=function(t){var e=baseGetTag(t),n=e==objectTag$1?t.constructor:void 0,r=n?toSource(n):"";if(r)switch(r){case dataViewCtorString:return dataViewTag$2;case mapCtorString:return mapTag$3;case promiseCtorString:return promiseTag;case setCtorString:return setTag$3;case weakMapCtorString:return weakMapTag$1}return e});var getTag$1=getTag,objectProto=Object.prototype,hasOwnProperty$1=objectProto.hasOwnProperty;function initCloneArray(t){var e=t.length,n=new t.constructor(e);return e&&"string"==typeof t[0]&&hasOwnProperty$1.call(t,"index")&&(n.index=t.index,n.input=t.input),n}var Uint8Array$1=root$1.Uint8Array,Uint8Array$2=Uint8Array$1;function cloneArrayBuffer(t){var e=new t.constructor(t.byteLength);return new Uint8Array$2(e).set(new Uint8Array$2(t)),e}function cloneDataView(t,e){var n=e?cloneArrayBuffer(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.byteLength)}var reFlags=/\w*$/;function cloneRegExp(t){var e=new t.constructor(t.source,reFlags.exec(t));return e.lastIndex=t.lastIndex,e}var symbolProto=Symbol$2?Symbol$2.prototype:void 0,symbolValueOf=symbolProto?symbolProto.valueOf:void 0;function cloneSymbol(t){return symbolValueOf?Object(symbolValueOf.call(t)):{}}function cloneTypedArray(t,e){var n=e?cloneArrayBuffer(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.length)}var boolTag$1="[object Boolean]",dateTag$1="[object Date]",mapTag$2="[object Map]",numberTag$1="[object Number]",regexpTag$1="[object RegExp]",setTag$2="[object Set]",stringTag$1="[object String]",symbolTag$1="[object Symbol]",arrayBufferTag$1="[object ArrayBuffer]",dataViewTag$1="[object DataView]",float32Tag$1="[object Float32Array]",float64Tag$1="[object Float64Array]",int8Tag$1="[object Int8Array]",int16Tag$1="[object Int16Array]",int32Tag$1="[object Int32Array]",uint8Tag$1="[object Uint8Array]",uint8ClampedTag$1="[object Uint8ClampedArray]",uint16Tag$1="[object Uint16Array]",uint32Tag$1="[object Uint32Array]";function initCloneByTag(t,e,n){var r=t.constructor;switch(e){case arrayBufferTag$1:return cloneArrayBuffer(t);case boolTag$1:case dateTag$1:return new r(+t);case dataViewTag$1:return cloneDataView(t,n);case float32Tag$1:case float64Tag$1:case int8Tag$1:case int16Tag$1:case int32Tag$1:case uint8Tag$1:case uint8ClampedTag$1:case uint16Tag$1:case uint32Tag$1:return cloneTypedArray(t,n);case mapTag$2:return new r;case numberTag$1:case stringTag$1:return new r(t);case regexpTag$1:return cloneRegExp(t);case setTag$2:return new r;case symbolTag$1:return cloneSymbol(t)}}function initCloneObject(t){return"function"!=typeof t.constructor||isPrototype(t)?{}:baseCreate$1(getPrototype$1(t))}var mapTag$1="[object Map]";function baseIsMap(t){return isObjectLike(t)&&getTag$1(t)==mapTag$1}var nodeIsMap=nodeUtil$1&&nodeUtil$1.isMap,isMap=nodeIsMap?baseUnary(nodeIsMap):baseIsMap,isMap$1=isMap,setTag$1="[object Set]";function baseIsSet(t){return isObjectLike(t)&&getTag$1(t)==setTag$1}var nodeIsSet=nodeUtil$1&&nodeUtil$1.isSet,isSet=nodeIsSet?baseUnary(nodeIsSet):baseIsSet,isSet$1=isSet,CLONE_DEEP_FLAG$1=1,CLONE_FLAT_FLAG=2,CLONE_SYMBOLS_FLAG$1=4,argsTag="[object Arguments]",arrayTag="[object Array]",boolTag="[object Boolean]",dateTag="[object Date]",errorTag="[object Error]",funcTag="[object Function]",genTag="[object GeneratorFunction]",mapTag="[object Map]",numberTag="[object Number]",objectTag="[object Object]",regexpTag="[object RegExp]",setTag="[object Set]",stringTag="[object String]",symbolTag="[object Symbol]",weakMapTag="[object WeakMap]",arrayBufferTag="[object ArrayBuffer]",dataViewTag="[object DataView]",float32Tag="[object Float32Array]",float64Tag="[object Float64Array]",int8Tag="[object Int8Array]",int16Tag="[object Int16Array]",int32Tag="[object Int32Array]",uint8Tag="[object Uint8Array]",uint8ClampedTag="[object Uint8ClampedArray]",uint16Tag="[object Uint16Array]",uint32Tag="[object Uint32Array]",cloneableTags={};function baseClone(t,e,n,r,o,i){var a,s=e&CLONE_DEEP_FLAG$1,c=e&CLONE_FLAT_FLAG,u=e&CLONE_SYMBOLS_FLAG$1;if(n&&(a=o?n(t,r,o,i):n(t)),void 0!==a)return a;if(!isObject$2(t))return t;var l=isArray$2(t);if(l){if(a=initCloneArray(t),!s)return copyArray(t,a)}else{var p=getTag$1(t),f=p==funcTag||p==genTag;if(isBuffer$2(t))return cloneBuffer(t,s);if(p==objectTag||p==argsTag||f&&!o){if(a=c||f?{}:initCloneObject(t),!s)return c?copySymbolsIn(t,baseAssignIn(a,t)):copySymbols(t,baseAssign(a,t))}else{if(!cloneableTags[p])return o?t:{};a=initCloneByTag(t,p,s)}}i||(i=new Stack);var d=i.get(t);if(d)return d;i.set(t,a),isSet$1(t)?t.forEach((function(r){a.add(baseClone(r,e,n,r,t,i))})):isMap$1(t)&&t.forEach((function(r,o){a.set(o,baseClone(r,e,n,o,t,i))}));var h=l?void 0:(u?c?getAllKeysIn:getAllKeys:c?keysIn:keys)(t);return arrayEach(h||t,(function(r,o){h&&(r=t[o=r]),assignValue(a,o,baseClone(r,e,n,o,t,i))})),a}cloneableTags[argsTag]=cloneableTags[arrayTag]=cloneableTags[arrayBufferTag]=cloneableTags[dataViewTag]=cloneableTags[boolTag]=cloneableTags[dateTag]=cloneableTags[float32Tag]=cloneableTags[float64Tag]=cloneableTags[int8Tag]=cloneableTags[int16Tag]=cloneableTags[int32Tag]=cloneableTags[mapTag]=cloneableTags[numberTag]=cloneableTags[objectTag]=cloneableTags[regexpTag]=cloneableTags[setTag]=cloneableTags[stringTag]=cloneableTags[symbolTag]=cloneableTags[uint8Tag]=cloneableTags[uint8ClampedTag]=cloneableTags[uint16Tag]=cloneableTags[uint32Tag]=!0,cloneableTags[errorTag]=cloneableTags[funcTag]=cloneableTags[weakMapTag]=!1;var CLONE_DEEP_FLAG=1,CLONE_SYMBOLS_FLAG=4;function cloneDeep(t){return baseClone(t,CLONE_DEEP_FLAG|CLONE_SYMBOLS_FLAG)}function e(t){this.message=t}e.prototype=new Error,e.prototype.name="InvalidCharacterError";var r="undefined"!=typeof window&&window.atob&&window.atob.bind(window)||function(t){var n=String(t).replace(/=+$/,"");if(n.length%4==1)throw new e("'atob' failed: The string to be decoded is not correctly encoded.");for(var r,o,i=0,a=0,s="";o=n.charAt(a++);~o&&(r=i%4?64*r+o:o,i++%4)?s+=String.fromCharCode(255&r>>(-2*i&6)):0)o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(o);return s};function t(t){var e=t.replace(/-/g,"+").replace(/_/g,"/");switch(e.length%4){case 0:break;case 2:e+="==";break;case 3:e+="=";break;default:throw"Illegal base64url string!"}try{return function(t){return decodeURIComponent(r(t).replace(/(.)/g,(function(t,e){var n=e.charCodeAt(0).toString(16).toUpperCase();return n.length<2&&(n="0"+n),"%"+n})))}(e)}catch(t){return r(e)}}function n(t){this.message=t}function o(e,r){if("string"!=typeof e)throw new n("Invalid token specified");var o=!0===(r=r||{}).header?0:1;try{return JSON.parse(t(e.split(".")[o]))}catch(e){throw new n("Invalid token specified: "+e.message)}}function bind(t,e){return function(){return t.apply(e,arguments)}}n.prototype=new Error,n.prototype.name="InvalidTokenError";const{toString:toString}=Object.prototype,{getPrototypeOf:getPrototypeOf}=Object,kindOf=(cache=Object.create(null),t=>{const e=toString.call(t);return cache[e]||(cache[e]=e.slice(8,-1).toLowerCase())});var cache;const kindOfTest=t=>(t=t.toLowerCase(),e=>kindOf(e)===t),typeOfTest=t=>e=>typeof e===t,{isArray:isArray}=Array,isUndefined=typeOfTest("undefined");function isBuffer(t){return null!==t&&!isUndefined(t)&&null!==t.constructor&&!isUndefined(t.constructor)&&isFunction(t.constructor.isBuffer)&&t.constructor.isBuffer(t)}const isArrayBuffer=kindOfTest("ArrayBuffer");function isArrayBufferView(t){let e;return e="undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(t):t&&t.buffer&&isArrayBuffer(t.buffer),e}const isString=typeOfTest("string"),isFunction=typeOfTest("function"),isNumber=typeOfTest("number"),isObject$1=t=>null!==t&&"object"==typeof t,isBoolean=t=>!0===t||!1===t,isPlainObject=t=>{if("object"!==kindOf(t))return!1;const e=getPrototypeOf(t);return!(null!==e&&e!==Object.prototype&&null!==Object.getPrototypeOf(e)||Symbol.toStringTag in t||Symbol.iterator in t)},isDate=kindOfTest("Date"),isFile=kindOfTest("File"),isBlob=kindOfTest("Blob"),isFileList=kindOfTest("FileList"),isStream=t=>isObject$1(t)&&isFunction(t.pipe),isFormData=t=>{let e;return t&&("function"==typeof FormData&&t instanceof FormData||isFunction(t.append)&&("formdata"===(e=kindOf(t))||"object"===e&&isFunction(t.toString)&&"[object FormData]"===t.toString()))},isURLSearchParams=kindOfTest("URLSearchParams"),trim=t=>t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function forEach(t,e,{allOwnKeys:n=!1}={}){if(null==t)return;let r,o;if("object"!=typeof t&&(t=[t]),isArray(t))for(r=0,o=t.length;r<o;r++)e.call(null,t[r],r,t);else{const o=n?Object.getOwnPropertyNames(t):Object.keys(t),i=o.length;let a;for(r=0;r<i;r++)a=o[r],e.call(null,t[a],a,t)}}function findKey(t,e){e=e.toLowerCase();const n=Object.keys(t);let r,o=n.length;for(;o-- >0;)if(r=n[o],e===r.toLowerCase())return r;return null}const _global="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:global,isContextDefined=t=>!isUndefined(t)&&t!==_global;function merge(){const{caseless:t}=isContextDefined(this)&&this||{},e={},n=(n,r)=>{const o=t&&findKey(e,r)||r;isPlainObject(e[o])&&isPlainObject(n)?e[o]=merge(e[o],n):isPlainObject(n)?e[o]=merge({},n):isArray(n)?e[o]=n.slice():e[o]=n};for(let t=0,e=arguments.length;t<e;t++)arguments[t]&&forEach(arguments[t],n);return e}const extend=(t,e,n,{allOwnKeys:r}={})=>(forEach(e,((e,r)=>{n&&isFunction(e)?t[r]=bind(e,n):t[r]=e}),{allOwnKeys:r}),t),stripBOM=t=>(65279===t.charCodeAt(0)&&(t=t.slice(1)),t),inherits=(t,e,n,r)=>{t.prototype=Object.create(e.prototype,r),t.prototype.constructor=t,Object.defineProperty(t,"super",{value:e.prototype}),n&&Object.assign(t.prototype,n)},toFlatObject=(t,e,n,r)=>{let o,i,a;const s={};if(e=e||{},null==t)return e;do{for(o=Object.getOwnPropertyNames(t),i=o.length;i-- >0;)a=o[i],r&&!r(a,t,e)||s[a]||(e[a]=t[a],s[a]=!0);t=!1!==n&&getPrototypeOf(t)}while(t&&(!n||n(t,e))&&t!==Object.prototype);return e},endsWith=(t,e,n)=>{t=String(t),(void 0===n||n>t.length)&&(n=t.length),n-=e.length;const r=t.indexOf(e,n);return-1!==r&&r===n},toArray=t=>{if(!t)return null;if(isArray(t))return t;let e=t.length;if(!isNumber(e))return null;const n=new Array(e);for(;e-- >0;)n[e]=t[e];return n},isTypedArray=(TypedArray="undefined"!=typeof Uint8Array&&getPrototypeOf(Uint8Array),t=>TypedArray&&t instanceof TypedArray);var TypedArray;const forEachEntry=(t,e)=>{const n=(t&&t[Symbol.iterator]).call(t);let r;for(;(r=n.next())&&!r.done;){const n=r.value;e.call(t,n[0],n[1])}},matchAll=(t,e)=>{let n;const r=[];for(;null!==(n=t.exec(e));)r.push(n);return r},isHTMLForm=kindOfTest("HTMLFormElement"),toCamelCase=t=>t.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,(function(t,e,n){return e.toUpperCase()+n})),hasOwnProperty=(({hasOwnProperty:t})=>(e,n)=>t.call(e,n))(Object.prototype),isRegExp=kindOfTest("RegExp"),reduceDescriptors=(t,e)=>{const n=Object.getOwnPropertyDescriptors(t),r={};forEach(n,((n,o)=>{let i;!1!==(i=e(n,o,t))&&(r[o]=i||n)})),Object.defineProperties(t,r)},freezeMethods=t=>{reduceDescriptors(t,((e,n)=>{if(isFunction(t)&&-1!==["arguments","caller","callee"].indexOf(n))return!1;const r=t[n];isFunction(r)&&(e.enumerable=!1,"writable"in e?e.writable=!1:e.set||(e.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")}))}))},toObjectSet=(t,e)=>{const n={},r=t=>{t.forEach((t=>{n[t]=!0}))};return isArray(t)?r(t):r(String(t).split(e)),n},noop=()=>{},toFiniteNumber=(t,e)=>(t=+t,Number.isFinite(t)?t:e),ALPHA="abcdefghijklmnopqrstuvwxyz",DIGIT="0123456789",ALPHABET={DIGIT:DIGIT,ALPHA:ALPHA,ALPHA_DIGIT:ALPHA+ALPHA.toUpperCase()+DIGIT},generateString=(t=16,e=ALPHABET.ALPHA_DIGIT)=>{let n="";const{length:r}=e;for(;t--;)n+=e[Math.random()*r|0];return n};function isSpecCompliantForm(t){return!!(t&&isFunction(t.append)&&"FormData"===t[Symbol.toStringTag]&&t[Symbol.iterator])}const toJSONObject=t=>{const e=new Array(10),n=(t,r)=>{if(isObject$1(t)){if(e.indexOf(t)>=0)return;if(!("toJSON"in t)){e[r]=t;const o=isArray(t)?[]:{};return forEach(t,((t,e)=>{const i=n(t,r+1);!isUndefined(i)&&(o[e]=i)})),e[r]=void 0,o}}return t};return n(t,0)},isAsyncFn=kindOfTest("AsyncFunction"),isThenable=t=>t&&(isObject$1(t)||isFunction(t))&&isFunction(t.then)&&isFunction(t.catch);var utils={isArray:isArray,isArrayBuffer:isArrayBuffer,isBuffer:isBuffer,isFormData:isFormData,isArrayBufferView:isArrayBufferView,isString:isString,isNumber:isNumber,isBoolean:isBoolean,isObject:isObject$1,isPlainObject:isPlainObject,isUndefined:isUndefined,isDate:isDate,isFile:isFile,isBlob:isBlob,isRegExp:isRegExp,isFunction:isFunction,isStream:isStream,isURLSearchParams:isURLSearchParams,isTypedArray:isTypedArray,isFileList:isFileList,forEach:forEach,merge:merge,extend:extend,trim:trim,stripBOM:stripBOM,inherits:inherits,toFlatObject:toFlatObject,kindOf:kindOf,kindOfTest:kindOfTest,endsWith:endsWith,toArray:toArray,forEachEntry:forEachEntry,matchAll:matchAll,isHTMLForm:isHTMLForm,hasOwnProperty:hasOwnProperty,hasOwnProp:hasOwnProperty,reduceDescriptors:reduceDescriptors,freezeMethods:freezeMethods,toObjectSet:toObjectSet,toCamelCase:toCamelCase,noop:noop,toFiniteNumber:toFiniteNumber,findKey:findKey,global:_global,isContextDefined:isContextDefined,ALPHABET:ALPHABET,generateString:generateString,isSpecCompliantForm:isSpecCompliantForm,toJSONObject:toJSONObject,isAsyncFn:isAsyncFn,isThenable:isThenable};function AxiosError(t,e,n,r,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack,this.message=t,this.name="AxiosError",e&&(this.code=e),n&&(this.config=n),r&&(this.request=r),o&&(this.response=o)}utils.inherits(AxiosError,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:utils.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const prototype$1=AxiosError.prototype,descriptors={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach((t=>{descriptors[t]={value:t}})),Object.defineProperties(AxiosError,descriptors),Object.defineProperty(prototype$1,"isAxiosError",{value:!0}),AxiosError.from=(t,e,n,r,o,i)=>{const a=Object.create(prototype$1);return utils.toFlatObject(t,a,(function(t){return t!==Error.prototype}),(t=>"isAxiosError"!==t)),AxiosError.call(a,t.message,e,n,r,o),a.cause=t,a.name=t.name,i&&Object.assign(a,i),a};var httpAdapter=null;function isVisitable(t){return utils.isPlainObject(t)||utils.isArray(t)}function removeBrackets(t){return utils.endsWith(t,"[]")?t.slice(0,-2):t}function renderKey(t,e,n){return t?t.concat(e).map((function(t,e){return t=removeBrackets(t),!n&&e?"["+t+"]":t})).join(n?".":""):e}function isFlatArray(t){return utils.isArray(t)&&!t.some(isVisitable)}const predicates=utils.toFlatObject(utils,{},null,(function(t){return/^is[A-Z]/.test(t)}));function toFormData(t,e,n){if(!utils.isObject(t))throw new TypeError("target must be an object");e=e||new FormData;const r=(n=utils.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,(function(t,e){return!utils.isUndefined(e[t])}))).metaTokens,o=n.visitor||u,i=n.dots,a=n.indexes,s=(n.Blob||"undefined"!=typeof Blob&&Blob)&&utils.isSpecCompliantForm(e);if(!utils.isFunction(o))throw new TypeError("visitor must be a function");function c(t){if(null===t)return"";if(utils.isDate(t))return t.toISOString();if(!s&&utils.isBlob(t))throw new AxiosError("Blob is not supported. Use a Buffer instead.");return utils.isArrayBuffer(t)||utils.isTypedArray(t)?s&&"function"==typeof Blob?new Blob([t]):Buffer.from(t):t}function u(t,n,o){let s=t;if(t&&!o&&"object"==typeof t)if(utils.endsWith(n,"{}"))n=r?n:n.slice(0,-2),t=JSON.stringify(t);else if(utils.isArray(t)&&isFlatArray(t)||(utils.isFileList(t)||utils.endsWith(n,"[]"))&&(s=utils.toArray(t)))return n=removeBrackets(n),s.forEach((function(t,r){!utils.isUndefined(t)&&null!==t&&e.append(!0===a?renderKey([n],r,i):null===a?n:n+"[]",c(t))})),!1;return!!isVisitable(t)||(e.append(renderKey(o,n,i),c(t)),!1)}const l=[],p=Object.assign(predicates,{defaultVisitor:u,convertValue:c,isVisitable:isVisitable});if(!utils.isObject(t))throw new TypeError("data must be an object");return function t(n,r){if(!utils.isUndefined(n)){if(-1!==l.indexOf(n))throw Error("Circular reference detected in "+r.join("."));l.push(n),utils.forEach(n,(function(n,i){!0===(!(utils.isUndefined(n)||null===n)&&o.call(e,n,utils.isString(i)?i.trim():i,r,p))&&t(n,r?r.concat(i):[i])})),l.pop()}}(t),e}function encode$1(t){const e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(t).replace(/[!'()~]|%20|%00/g,(function(t){return e[t]}))}function AxiosURLSearchParams(t,e){this._pairs=[],t&&toFormData(t,this,e)}const prototype=AxiosURLSearchParams.prototype;function encode(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function buildURL(t,e,n){if(!e)return t;const r=n&&n.encode||encode,o=n&&n.serialize;let i;if(i=o?o(e,n):utils.isURLSearchParams(e)?e.toString():new AxiosURLSearchParams(e,n).toString(r),i){const e=t.indexOf("#");-1!==e&&(t=t.slice(0,e)),t+=(-1===t.indexOf("?")?"?":"&")+i}return t}prototype.append=function(t,e){this._pairs.push([t,e])},prototype.toString=function(t){const e=t?function(e){return t.call(this,e,encode$1)}:encode$1;return this._pairs.map((function(t){return e(t[0])+"="+e(t[1])}),"").join("&")};class InterceptorManager{constructor(){this.handlers=[]}use(t,e,n){return this.handlers.push({fulfilled:t,rejected:e,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){utils.forEach(this.handlers,(function(e){null!==e&&t(e)}))}}var InterceptorManager$1=InterceptorManager,transitionalDefaults={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},URLSearchParams$1="undefined"!=typeof URLSearchParams?URLSearchParams:AxiosURLSearchParams,FormData$1="undefined"!=typeof FormData?FormData:null,Blob$1="undefined"!=typeof Blob?Blob:null;const isStandardBrowserEnv=(()=>{let t;return("undefined"==typeof navigator||"ReactNative"!==(t=navigator.product)&&"NativeScript"!==t&&"NS"!==t)&&("undefined"!=typeof window&&"undefined"!=typeof document)})(),isStandardBrowserWebWorkerEnv="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts;var platform={isBrowser:!0,classes:{URLSearchParams:URLSearchParams$1,FormData:FormData$1,Blob:Blob$1},isStandardBrowserEnv:isStandardBrowserEnv,isStandardBrowserWebWorkerEnv:isStandardBrowserWebWorkerEnv,protocols:["http","https","file","blob","url","data"]};function toURLEncodedForm(t,e){return toFormData(t,new platform.classes.URLSearchParams,Object.assign({visitor:function(t,e,n,r){return platform.isNode&&utils.isBuffer(t)?(this.append(e,t.toString("base64")),!1):r.defaultVisitor.apply(this,arguments)}},e))}function parsePropPath(t){return utils.matchAll(/\w+|\[(\w*)]/g,t).map((t=>"[]"===t[0]?"":t[1]||t[0]))}function arrayToObject(t){const e={},n=Object.keys(t);let r;const o=n.length;let i;for(r=0;r<o;r++)i=n[r],e[i]=t[i];return e}function formDataToJSON(t){function e(t,n,r,o){let i=t[o++];const a=Number.isFinite(+i),s=o>=t.length;if(i=!i&&utils.isArray(r)?r.length:i,s)return utils.hasOwnProp(r,i)?r[i]=[r[i],n]:r[i]=n,!a;r[i]&&utils.isObject(r[i])||(r[i]=[]);return e(t,n,r[i],o)&&utils.isArray(r[i])&&(r[i]=arrayToObject(r[i])),!a}if(utils.isFormData(t)&&utils.isFunction(t.entries)){const n={};return utils.forEachEntry(t,((t,r)=>{e(parsePropPath(t),r,n,0)})),n}return null}function stringifySafely(t,e,n){if(utils.isString(t))try{return(e||JSON.parse)(t),utils.trim(t)}catch(t){if("SyntaxError"!==t.name)throw t}return(n||JSON.stringify)(t)}const defaults={transitional:transitionalDefaults,adapter:["xhr","http"],transformRequest:[function(t,e){const n=e.getContentType()||"",r=n.indexOf("application/json")>-1,o=utils.isObject(t);o&&utils.isHTMLForm(t)&&(t=new FormData(t));if(utils.isFormData(t))return r&&r?JSON.stringify(formDataToJSON(t)):t;if(utils.isArrayBuffer(t)||utils.isBuffer(t)||utils.isStream(t)||utils.isFile(t)||utils.isBlob(t))return t;if(utils.isArrayBufferView(t))return t.buffer;if(utils.isURLSearchParams(t))return e.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let i;if(o){if(n.indexOf("application/x-www-form-urlencoded")>-1)return toURLEncodedForm(t,this.formSerializer).toString();if((i=utils.isFileList(t))||n.indexOf("multipart/form-data")>-1){const e=this.env&&this.env.FormData;return toFormData(i?{"files[]":t}:t,e&&new e,this.formSerializer)}}return o||r?(e.setContentType("application/json",!1),stringifySafely(t)):t}],transformResponse:[function(t){const e=this.transitional||defaults.transitional,n=e&&e.forcedJSONParsing,r="json"===this.responseType;if(t&&utils.isString(t)&&(n&&!this.responseType||r)){const n=!(e&&e.silentJSONParsing)&&r;try{return JSON.parse(t)}catch(t){if(n){if("SyntaxError"===t.name)throw AxiosError.from(t,AxiosError.ERR_BAD_RESPONSE,this,null,this.response);throw t}}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:platform.classes.FormData,Blob:platform.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};utils.forEach(["delete","get","head","post","put","patch"],(t=>{defaults.headers[t]={}}));var defaults$1=defaults;const ignoreDuplicateOf=utils.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]);var parseHeaders=t=>{const e={};let n,r,o;return t&&t.split("\n").forEach((function(t){o=t.indexOf(":"),n=t.substring(0,o).trim().toLowerCase(),r=t.substring(o+1).trim(),!n||e[n]&&ignoreDuplicateOf[n]||("set-cookie"===n?e[n]?e[n].push(r):e[n]=[r]:e[n]=e[n]?e[n]+", "+r:r)})),e};const $internals=Symbol("internals");function normalizeHeader(t){return t&&String(t).trim().toLowerCase()}function normalizeValue(t){return!1===t||null==t?t:utils.isArray(t)?t.map(normalizeValue):String(t)}function parseTokens(t){const e=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(t);)e[r[1]]=r[2];return e}const isValidHeaderName=t=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(t.trim());function matchHeaderValue(t,e,n,r,o){return utils.isFunction(r)?r.call(this,e,n):(o&&(e=n),utils.isString(e)?utils.isString(r)?-1!==e.indexOf(r):utils.isRegExp(r)?r.test(e):void 0:void 0)}function formatHeader(t){return t.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,((t,e,n)=>e.toUpperCase()+n))}function buildAccessors(t,e){const n=utils.toCamelCase(" "+e);["get","set","has"].forEach((r=>{Object.defineProperty(t,r+n,{value:function(t,n,o){return this[r].call(this,e,t,n,o)},configurable:!0})}))}class AxiosHeaders{constructor(t){t&&this.set(t)}set(t,e,n){const r=this;function o(t,e,n){const o=normalizeHeader(e);if(!o)throw new Error("header name must be a non-empty string");const i=utils.findKey(r,o);(!i||void 0===r[i]||!0===n||void 0===n&&!1!==r[i])&&(r[i||e]=normalizeValue(t))}const i=(t,e)=>utils.forEach(t,((t,n)=>o(t,n,e)));return utils.isPlainObject(t)||t instanceof this.constructor?i(t,e):utils.isString(t)&&(t=t.trim())&&!isValidHeaderName(t)?i(parseHeaders(t),e):null!=t&&o(e,t,n),this}get(t,e){if(t=normalizeHeader(t)){const n=utils.findKey(this,t);if(n){const t=this[n];if(!e)return t;if(!0===e)return parseTokens(t);if(utils.isFunction(e))return e.call(this,t,n);if(utils.isRegExp(e))return e.exec(t);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,e){if(t=normalizeHeader(t)){const n=utils.findKey(this,t);return!(!n||void 0===this[n]||e&&!matchHeaderValue(this,this[n],n,e))}return!1}delete(t,e){const n=this;let r=!1;function o(t){if(t=normalizeHeader(t)){const o=utils.findKey(n,t);!o||e&&!matchHeaderValue(n,n[o],o,e)||(delete n[o],r=!0)}}return utils.isArray(t)?t.forEach(o):o(t),r}clear(t){const e=Object.keys(this);let n=e.length,r=!1;for(;n--;){const o=e[n];t&&!matchHeaderValue(this,this[o],o,t,!0)||(delete this[o],r=!0)}return r}normalize(t){const e=this,n={};return utils.forEach(this,((r,o)=>{const i=utils.findKey(n,o);if(i)return e[i]=normalizeValue(r),void delete e[o];const a=t?formatHeader(o):String(o).trim();a!==o&&delete e[o],e[a]=normalizeValue(r),n[a]=!0})),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const e=Object.create(null);return utils.forEach(this,((n,r)=>{null!=n&&!1!==n&&(e[r]=t&&utils.isArray(n)?n.join(", "):n)})),e}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map((([t,e])=>t+": "+e)).join("\n")}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...e){const n=new this(t);return e.forEach((t=>n.set(t))),n}static accessor(t){const e=(this[$internals]=this[$internals]={accessors:{}}).accessors,n=this.prototype;function r(t){const r=normalizeHeader(t);e[r]||(buildAccessors(n,t),e[r]=!0)}return utils.isArray(t)?t.forEach(r):r(t),this}}AxiosHeaders.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),utils.reduceDescriptors(AxiosHeaders.prototype,(({value:t},e)=>{let n=e[0].toUpperCase()+e.slice(1);return{get:()=>t,set(t){this[n]=t}}})),utils.freezeMethods(AxiosHeaders);var AxiosHeaders$1=AxiosHeaders;function transformData(t,e){const n=this||defaults$1,r=e||n,o=AxiosHeaders$1.from(r.headers);let i=r.data;return utils.forEach(t,(function(t){i=t.call(n,i,o.normalize(),e?e.status:void 0)})),o.normalize(),i}function isCancel(t){return!(!t||!t.__CANCEL__)}function CanceledError(t,e,n){AxiosError.call(this,null==t?"canceled":t,AxiosError.ERR_CANCELED,e,n),this.name="CanceledError"}function settle(t,e,n){const r=n.config.validateStatus;n.status&&r&&!r(n.status)?e(new AxiosError("Request failed with status code "+n.status,[AxiosError.ERR_BAD_REQUEST,AxiosError.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n)):t(n)}utils.inherits(CanceledError,AxiosError,{__CANCEL__:!0});var cookies=platform.isStandardBrowserEnv?{write:function(t,e,n,r,o,i){const a=[];a.push(t+"="+encodeURIComponent(e)),utils.isNumber(n)&&a.push("expires="+new Date(n).toGMTString()),utils.isString(r)&&a.push("path="+r),utils.isString(o)&&a.push("domain="+o),!0===i&&a.push("secure"),document.cookie=a.join("; ")},read:function(t){const e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove:function(t){this.write(t,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}};function isAbsoluteURL(t){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)}function combineURLs(t,e){return e?t.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,""):t}function buildFullPath(t,e){return t&&!isAbsoluteURL(e)?combineURLs(t,e):e}var isURLSameOrigin=platform.isStandardBrowserEnv?function(){const t=/(msie|trident)/i.test(navigator.userAgent),e=document.createElement("a");let n;function r(n){let r=n;return t&&(e.setAttribute("href",r),r=e.href),e.setAttribute("href",r),{href:e.href,protocol:e.protocol?e.protocol.replace(/:$/,""):"",host:e.host,search:e.search?e.search.replace(/^\?/,""):"",hash:e.hash?e.hash.replace(/^#/,""):"",hostname:e.hostname,port:e.port,pathname:"/"===e.pathname.charAt(0)?e.pathname:"/"+e.pathname}}return n=r(window.location.href),function(t){const e=utils.isString(t)?r(t):t;return e.protocol===n.protocol&&e.host===n.host}}():function(){return!0};function parseProtocol(t){const e=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return e&&e[1]||""}function speedometer(t,e){t=t||10;const n=new Array(t),r=new Array(t);let o,i=0,a=0;return e=void 0!==e?e:1e3,function(s){const c=Date.now(),u=r[a];o||(o=c),n[i]=s,r[i]=c;let l=a,p=0;for(;l!==i;)p+=n[l++],l%=t;if(i=(i+1)%t,i===a&&(a=(a+1)%t),c-o<e)return;const f=u&&c-u;return f?Math.round(1e3*p/f):void 0}}function progressEventReducer(t,e){let n=0;const r=speedometer(50,250);return o=>{const i=o.loaded,a=o.lengthComputable?o.total:void 0,s=i-n,c=r(s);n=i;const u={loaded:i,total:a,progress:a?i/a:void 0,bytes:s,rate:c||void 0,estimated:c&&a&&i<=a?(a-i)/c:void 0,event:o};u[e?"download":"upload"]=!0,t(u)}}const isXHRAdapterSupported="undefined"!=typeof XMLHttpRequest;var xhrAdapter=isXHRAdapterSupported&&function(t){return new Promise((function(e,n){let r=t.data;const o=AxiosHeaders$1.from(t.headers).normalize(),i=t.responseType;let a,s;function c(){t.cancelToken&&t.cancelToken.unsubscribe(a),t.signal&&t.signal.removeEventListener("abort",a)}utils.isFormData(r)&&(platform.isStandardBrowserEnv||platform.isStandardBrowserWebWorkerEnv?o.setContentType(!1):o.getContentType(/^\s*multipart\/form-data/)?utils.isString(s=o.getContentType())&&o.setContentType(s.replace(/^\s*(multipart\/form-data);+/,"$1")):o.setContentType("multipart/form-data"));let u=new XMLHttpRequest;if(t.auth){const e=t.auth.username||"",n=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";o.set("Authorization","Basic "+btoa(e+":"+n))}const l=buildFullPath(t.baseURL,t.url);function p(){if(!u)return;const r=AxiosHeaders$1.from("getAllResponseHeaders"in u&&u.getAllResponseHeaders());settle((function(t){e(t),c()}),(function(t){n(t),c()}),{data:i&&"text"!==i&&"json"!==i?u.response:u.responseText,status:u.status,statusText:u.statusText,headers:r,config:t,request:u}),u=null}if(u.open(t.method.toUpperCase(),buildURL(l,t.params,t.paramsSerializer),!0),u.timeout=t.timeout,"onloadend"in u?u.onloadend=p:u.onreadystatechange=function(){u&&4===u.readyState&&(0!==u.status||u.responseURL&&0===u.responseURL.indexOf("file:"))&&setTimeout(p)},u.onabort=function(){u&&(n(new AxiosError("Request aborted",AxiosError.ECONNABORTED,t,u)),u=null)},u.onerror=function(){n(new AxiosError("Network Error",AxiosError.ERR_NETWORK,t,u)),u=null},u.ontimeout=function(){let e=t.timeout?"timeout of "+t.timeout+"ms exceeded":"timeout exceeded";const r=t.transitional||transitionalDefaults;t.timeoutErrorMessage&&(e=t.timeoutErrorMessage),n(new AxiosError(e,r.clarifyTimeoutError?AxiosError.ETIMEDOUT:AxiosError.ECONNABORTED,t,u)),u=null},platform.isStandardBrowserEnv){const e=isURLSameOrigin(l)&&t.xsrfCookieName&&cookies.read(t.xsrfCookieName);e&&o.set(t.xsrfHeaderName,e)}void 0===r&&o.setContentType(null),"setRequestHeader"in u&&utils.forEach(o.toJSON(),(function(t,e){u.setRequestHeader(e,t)})),utils.isUndefined(t.withCredentials)||(u.withCredentials=!!t.withCredentials),i&&"json"!==i&&(u.responseType=t.responseType),"function"==typeof t.onDownloadProgress&&u.addEventListener("progress",progressEventReducer(t.onDownloadProgress,!0)),"function"==typeof t.onUploadProgress&&u.upload&&u.upload.addEventListener("progress",progressEventReducer(t.onUploadProgress)),(t.cancelToken||t.signal)&&(a=e=>{u&&(n(!e||e.type?new CanceledError(null,t,u):e),u.abort(),u=null)},t.cancelToken&&t.cancelToken.subscribe(a),t.signal&&(t.signal.aborted?a():t.signal.addEventListener("abort",a)));const f=parseProtocol(l);f&&-1===platform.protocols.indexOf(f)?n(new AxiosError("Unsupported protocol "+f+":",AxiosError.ERR_BAD_REQUEST,t)):u.send(r||null)}))};const knownAdapters={http:httpAdapter,xhr:xhrAdapter};utils.forEach(knownAdapters,((t,e)=>{if(t){try{Object.defineProperty(t,"name",{value:e})}catch(t){}Object.defineProperty(t,"adapterName",{value:e})}}));const renderReason=t=>`- ${t}`,isResolvedHandle=t=>utils.isFunction(t)||null===t||!1===t;var adapters={getAdapter:t=>{t=utils.isArray(t)?t:[t];const{length:e}=t;let n,r;const o={};for(let i=0;i<e;i++){let e;if(n=t[i],r=n,!isResolvedHandle(n)&&(r=knownAdapters[(e=String(n)).toLowerCase()],void 0===r))throw new AxiosError(`Unknown adapter '${e}'`);if(r)break;o[e||"#"+i]=r}if(!r){const t=Object.entries(o).map((([t,e])=>`adapter ${t} `+(!1===e?"is not supported by the environment":"is not available in the build")));throw new AxiosError("There is no suitable adapter to dispatch the request "+(e?t.length>1?"since :\n"+t.map(renderReason).join("\n"):" "+renderReason(t[0]):"as no adapter specified"),"ERR_NOT_SUPPORT")}return r},adapters:knownAdapters};function throwIfCancellationRequested(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new CanceledError(null,t)}function dispatchRequest(t){throwIfCancellationRequested(t),t.headers=AxiosHeaders$1.from(t.headers),t.data=transformData.call(t,t.transformRequest),-1!==["post","put","patch"].indexOf(t.method)&&t.headers.setContentType("application/x-www-form-urlencoded",!1);return adapters.getAdapter(t.adapter||defaults$1.adapter)(t).then((function(e){return throwIfCancellationRequested(t),e.data=transformData.call(t,t.transformResponse,e),e.headers=AxiosHeaders$1.from(e.headers),e}),(function(e){return isCancel(e)||(throwIfCancellationRequested(t),e&&e.response&&(e.response.data=transformData.call(t,t.transformResponse,e.response),e.response.headers=AxiosHeaders$1.from(e.response.headers))),Promise.reject(e)}))}const headersToObject=t=>t instanceof AxiosHeaders$1?t.toJSON():t;function mergeConfig(t,e){e=e||{};const n={};function r(t,e,n){return utils.isPlainObject(t)&&utils.isPlainObject(e)?utils.merge.call({caseless:n},t,e):utils.isPlainObject(e)?utils.merge({},e):utils.isArray(e)?e.slice():e}function o(t,e,n){return utils.isUndefined(e)?utils.isUndefined(t)?void 0:r(void 0,t,n):r(t,e,n)}function i(t,e){if(!utils.isUndefined(e))return r(void 0,e)}function a(t,e){return utils.isUndefined(e)?utils.isUndefined(t)?void 0:r(void 0,t):r(void 0,e)}function s(n,o,i){return i in e?r(n,o):i in t?r(void 0,n):void 0}const c={url:i,method:i,data:i,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:s,headers:(t,e)=>o(headersToObject(t),headersToObject(e),!0)};return utils.forEach(Object.keys(Object.assign({},t,e)),(function(r){const i=c[r]||o,a=i(t[r],e[r],r);utils.isUndefined(a)&&i!==s||(n[r]=a)})),n}const VERSION="1.6.0",validators$1={};["object","boolean","number","function","string","symbol"].forEach(((t,e)=>{validators$1[t]=function(n){return typeof n===t||"a"+(e<1?"n ":" ")+t}}));const deprecatedWarnings={};function assertOptions(t,e,n){if("object"!=typeof t)throw new AxiosError("options must be an object",AxiosError.ERR_BAD_OPTION_VALUE);const r=Object.keys(t);let o=r.length;for(;o-- >0;){const i=r[o],a=e[i];if(a){const e=t[i],n=void 0===e||a(e,i,t);if(!0!==n)throw new AxiosError("option "+i+" must be "+n,AxiosError.ERR_BAD_OPTION_VALUE)}else if(!0!==n)throw new AxiosError("Unknown option "+i,AxiosError.ERR_BAD_OPTION)}}validators$1.transitional=function(t,e,n){function r(t,e){return"[Axios v"+VERSION+"] Transitional option '"+t+"'"+e+(n?". "+n:"")}return(n,o,i)=>{if(!1===t)throw new AxiosError(r(o," has been removed"+(e?" in "+e:"")),AxiosError.ERR_DEPRECATED);return e&&!deprecatedWarnings[o]&&(deprecatedWarnings[o]=!0,console.warn(r(o," has been deprecated since v"+e+" and will be removed in the near future"))),!t||t(n,o,i)}};var validator={assertOptions:assertOptions,validators:validators$1};const validators=validator.validators;class Axios{constructor(t){this.defaults=t,this.interceptors={request:new InterceptorManager$1,response:new InterceptorManager$1}}request(t,e){"string"==typeof t?(e=e||{}).url=t:e=t||{},e=mergeConfig(this.defaults,e);const{transitional:n,paramsSerializer:r,headers:o}=e;void 0!==n&&validator.assertOptions(n,{silentJSONParsing:validators.transitional(validators.boolean),forcedJSONParsing:validators.transitional(validators.boolean),clarifyTimeoutError:validators.transitional(validators.boolean)},!1),null!=r&&(utils.isFunction(r)?e.paramsSerializer={serialize:r}:validator.assertOptions(r,{encode:validators.function,serialize:validators.function},!0)),e.method=(e.method||this.defaults.method||"get").toLowerCase();let i=o&&utils.merge(o.common,o[e.method]);o&&utils.forEach(["delete","get","head","post","put","patch","common"],(t=>{delete o[t]})),e.headers=AxiosHeaders$1.concat(i,o);const a=[];let s=!0;this.interceptors.request.forEach((function(t){"function"==typeof t.runWhen&&!1===t.runWhen(e)||(s=s&&t.synchronous,a.unshift(t.fulfilled,t.rejected))}));const c=[];let u;this.interceptors.response.forEach((function(t){c.push(t.fulfilled,t.rejected)}));let l,p=0;if(!s){const t=[dispatchRequest.bind(this),void 0];for(t.unshift.apply(t,a),t.push.apply(t,c),l=t.length,u=Promise.resolve(e);p<l;)u=u.then(t[p++],t[p++]);return u}l=a.length;let f=e;for(p=0;p<l;){const t=a[p++],e=a[p++];try{f=t(f)}catch(t){e.call(this,t);break}}try{u=dispatchRequest.call(this,f)}catch(t){return Promise.reject(t)}for(p=0,l=c.length;p<l;)u=u.then(c[p++],c[p++]);return u}getUri(t){return buildURL(buildFullPath((t=mergeConfig(this.defaults,t)).baseURL,t.url),t.params,t.paramsSerializer)}}utils.forEach(["delete","get","head","options"],(function(t){Axios.prototype[t]=function(e,n){return this.request(mergeConfig(n||{},{method:t,url:e,data:(n||{}).data}))}})),utils.forEach(["post","put","patch"],(function(t){function e(e){return function(n,r,o){return this.request(mergeConfig(o||{},{method:t,headers:e?{"Content-Type":"multipart/form-data"}:{},url:n,data:r}))}}Axios.prototype[t]=e(),Axios.prototype[t+"Form"]=e(!0)}));var Axios$1=Axios;class CancelToken{constructor(t){if("function"!=typeof t)throw new TypeError("executor must be a function.");let e;this.promise=new Promise((function(t){e=t}));const n=this;this.promise.then((t=>{if(!n._listeners)return;let e=n._listeners.length;for(;e-- >0;)n._listeners[e](t);n._listeners=null})),this.promise.then=t=>{let e;const r=new Promise((t=>{n.subscribe(t),e=t})).then(t);return r.cancel=function(){n.unsubscribe(e)},r},t((function(t,r,o){n.reason||(n.reason=new CanceledError(t,r,o),e(n.reason))}))}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){this.reason?t(this.reason):this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const e=this._listeners.indexOf(t);-1!==e&&this._listeners.splice(e,1)}static source(){let t;return{token:new CancelToken((function(e){t=e})),cancel:t}}}var CancelToken$1=CancelToken;function spread(t){return function(e){return t.apply(null,e)}}function isAxiosError(t){return utils.isObject(t)&&!0===t.isAxiosError}const HttpStatusCode={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(HttpStatusCode).forEach((([t,e])=>{HttpStatusCode[e]=t}));var HttpStatusCode$1=HttpStatusCode;function createInstance(t){const e=new Axios$1(t),n=bind(Axios$1.prototype.request,e);return utils.extend(n,Axios$1.prototype,e,{allOwnKeys:!0}),utils.extend(n,e,null,{allOwnKeys:!0}),n.create=function(e){return createInstance(mergeConfig(t,e))},n}const axios=createInstance(defaults$1);axios.Axios=Axios$1,axios.CanceledError=CanceledError,axios.CancelToken=CancelToken$1,axios.isCancel=isCancel,axios.VERSION=VERSION,axios.toFormData=toFormData,axios.AxiosError=AxiosError,axios.Cancel=axios.CanceledError,axios.all=function(t){return Promise.all(t)},axios.spread=spread,axios.isAxiosError=isAxiosError,axios.mergeConfig=mergeConfig,axios.AxiosHeaders=AxiosHeaders$1,axios.formToJSON=t=>formDataToJSON(utils.isHTMLForm(t)?new FormData(t):t),axios.getAdapter=adapters.getAdapter,axios.HttpStatusCode=HttpStatusCode$1,axios.default=axios;var axios$1=axios,script=defineComponent({props:{msg:String},setup:()=>({show:ref(!0)})}),img="data:image/gif;base64,R0lGODlhIAAgALMAAP///7Ozs/v7+9bW1uHh4fLy8rq6uoGBgTQ0NAEBARsbG8TExJeXl/39/VRUVAAAACH/C05FVFNDQVBFMi4wAwEAAAAh+QQFBQAAACwAAAAAIAAgAAAE5xDISSlLrOrNp0pKNRCdFhxVolJLEJQUoSgOpSYT4RowNSsvyW1icA16k8MMMRkCBjskBTFDAZyuAEkqCfxIQ2hgQRFvAQEEIjNxVDW6XNE4YagRjuBCwe60smQUDnd4Rz1ZAQZnFAGDd0hihh12CEE9kjAEVlycXIg7BAsMB6SlnJ87paqbSKiKoqusnbMdmDC2tXQlkUhziYtyWTxIfy6BE8WJt5YEvpJivxNaGmLHT0VnOgGYf0dZXS7APdpB309RnHOG5gDqXGLDaC457D1zZ/V/nmOM82XiHQjYKhKP1oZmADdEAAAh+QQFBQAAACwAAAAAGAAXAAAEchDISasKNeuJFKoHs4mUYlJIkmjIV54Soypsa0wmLSnqoTEtBw52mG0AjhYpBxioEqRNy8V0qFzNw+GGwlJki4lBqx1IBgjMkRIghwjrzcDti2/Gh7D9qN774wQGAYOEfwCChIV/gYmDho+QkZKTR3p7EQAh+QQFBQAAACwBAAAAHQAOAAAEchDISWdANesNHHJZwE2DUSEo5SjKKB2HOKGYFLD1CB/DnEoIlkti2PlyuKGEATMBaAACSyGbEDYD4zN1YIEmh0SCQQgYehNmTNNaKsQJXmBuuEYPi9ECAU/UFnNzeUp9VBQEBoFOLmFxWHNoQw6RWEocEQAh+QQFBQAAACwHAAAAGQARAAAEaRDICdZZNOvNDsvfBhBDdpwZgohBgE3nQaki0AYEjEqOGmqDlkEnAzBUjhrA0CoBYhLVSkm4SaAAWkahCFAWTU0A4RxzFWJnzXFWJJWb9pTihRu5dvghl+/7NQmBggo/fYKHCX8AiAmEEQAh+QQFBQAAACwOAAAAEgAYAAAEZXCwAaq9ODAMDOUAI17McYDhWA3mCYpb1RooXBktmsbt944BU6zCQCBQiwPB4jAihiCK86irTB20qvWp7Xq/FYV4TNWNz4oqWoEIgL0HX/eQSLi69boCikTkE2VVDAp5d1p0CW4RACH5BAUFAAAALA4AAAASAB4AAASAkBgCqr3YBIMXvkEIMsxXhcFFpiZqBaTXisBClibgAnd+ijYGq2I4HAamwXBgNHJ8BEbzgPNNjz7LwpnFDLvgLGJMdnw/5DRCrHaE3xbKm6FQwOt1xDnpwCvcJgcJMgEIeCYOCQlrF4YmBIoJVV2CCXZvCooHbwGRcAiKcmFUJhEAIfkEBQUAAAAsDwABABEAHwAABHsQyAkGoRivELInnOFlBjeM1BCiFBdcbMUtKQdTN0CUJru5NJQrYMh5VIFTTKJcOj2HqJQRhEqvqGuU+uw6AwgEwxkOO55lxIihoDjKY8pBoThPxmpAYi+hKzoeewkTdHkZghMIdCOIhIuHfBMOjxiNLR4KCW1ODAlxSxEAIfkEBQUAAAAsCAAOABgAEgAABGwQyEkrCDgbYvvMoOF5ILaNaIoGKroch9hacD3MFMHUBzMHiBtgwJMBFolDB4GoGGBCACKRcAAUWAmzOWJQExysQsJgWj0KqvKalTiYPhp1LBFTtp10Is6mT5gdVFx1bRN8FTsVCAqDOB9+KhEAIfkEBQUAAAAsAgASAB0ADgAABHgQyEmrBePS4bQdQZBdR5IcHmWEgUFQgWKaKbWwwSIhc4LonsXhBSCsQoOSScGQDJiWwOHQnAxWBIYJNXEoFCiEWDI9jCzESey7GwMM5doEwW4jJoypQQ743u1WcTV0CgFzbhJ5XClfHYd/EwZnHoYVDgiOfHKQNREAIfkEBQUAAAAsAAAPABkAEQAABGeQqUQruDjrW3vaYCZ5X2ie6EkcKaooTAsi7ytnTq046BBsNcTvItz4AotMwKZBIC6H6CVAJaCcT0CUBTgaTg5nTCu9GKiDEMPJg5YBBOpwlnVzLwtqyKnZagZWahoMB2M3GgsHSRsRACH5BAUFAAAALAEACAARABgAAARcMKR0gL34npkUyyCAcAmyhBijkGi2UW02VHFt33iu7yiDIDaD4/erEYGDlu/nuBAOJ9Dvc2EcDgFAYIuaXS3bbOh6MIC5IAP5Eh5fk2exC4tpgwZyiyFgvhEMBBEAIfkEBQUAAAAsAAACAA4AHQAABHMQyAnYoViSlFDGXBJ808Ep5KRwV8qEg+pRCOeoioKMwJK0Ekcu54h9AoghKgXIMZgAApQZcCCu2Ax2O6NUud2pmJcyHA4L0uDM/ljYDCnGfGakJQE5YH0wUBYBAUYfBIFkHwaBgxkDgX5lgXpHAXcpBIsRADs=";const _withScopeId=t=>(pushScopeId("data-v-4779cb00"),t=t(),popScopeId(),t),_hoisted_1={class:"loadding"},_hoisted_2=_withScopeId((()=>createElementVNode("div",{class:"loadding-icon"},[createElementVNode("img",{src:img,alt:""})],-1))),_hoisted_3=[_hoisted_2];function render(t,e,n,r,o,i){return openBlock(),createElementBlock("div",_hoisted_1,[..._hoisted_3])}function styleInject(t,e){void 0===e&&(e={});var n=e.insertAt;if(t&&"undefined"!=typeof document){var r=document.head||document.getElementsByTagName("head")[0],o=document.createElement("style");o.type="text/css","top"===n&&r.firstChild?r.insertBefore(o,r.firstChild):r.appendChild(o),o.styleSheet?o.styleSheet.cssText=t:o.appendChild(document.createTextNode(t))}}var css_248z="\n.loadding[data-v-4779cb00] {\r\n width: 100%;\r\n height: 100%;\r\n position: fixed;\r\n top: 0;\r\n left: 0;\r\n background-color: rgba(255, 255, 255, 0.2);\n}\n.loadding-icon[data-v-4779cb00] {\r\n display: flex;\r\n align-items: center;\r\n justify-content: center;\r\n height: 100%;\n}\n.loadding-icon img[data-v-4779cb00] {\r\n display: block;\r\n width: 24px;\r\n height: 24px;\n}\r\n";styleInject(css_248z),script.render=render,script.__scopeId="data-v-4779cb00",script.__file="src/loadding/index.vue";var Loadding=function(){function t(){_classCallCheck(this,t),_defineProperty(this,"count",0),_defineProperty(this,"mountNode",null)}return _createClass(t,[{key:"open",value:function(){if(this.count++,!this.mountNode){var t=createVNode(script,{});this.mountNode=document.createElement("div"),render$1(t,this.mountNode),document.body.appendChild(this.mountNode)}}},{key:"close",value:function(){this.count--,this.count<=0&&(this.count=0,this.mountNode&&(document.body.removeChild(this.mountNode),this.mountNode=null))}}]),t}(),loadding=new Loadding,createAxiosInstance=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"spu",e=arguments.length>1?arguments[1]:void 0,n=axios$1.create({baseURL:"spu"===t?"/api/".concat(e.modulekey,"/").concat(e.moduleversion):""});return n.interceptors.request.use((function(t){if(get(t,"isShowLoading",!0)&&loadding.open(),get(t,"isSendToken",!0)){var e=login.getToken();null!=t&&t.headers&&e&&(t.headers.token=e)}return t}),(function(t){return Promise.reject(t)})),n.interceptors.response.use((function(e){get(e,"config.isShowLoading",!0)&&loadding.close();var n,r,o,i={code:404,data:"",msg:""};return"spu"===t?200===e.data.code?i={code:e.data.code,data:e.data.data,msg:e.data.msg}:(null==e||null===(n=e.data)||void 0===n||n.msg,get(e,"config.isShowErrorMessage",!0),i={code:e.data.code,data:e.data.data,msg:e.data.msg},Promise.reject(i)):"apaas"===t?i={code:e.status||200,data:(null===(r=e.data)||void 0===r?void 0:r.resp_data)||e.data,msg:(null===(o=e.data)||void 0===o?void 0:o.error_code)||""}:void 0}),(function(e){return get(e,"config.isShowLoading",!0)&&loadding.close(),get(e,"spu"===t?"response.data.msg":"response.data.error_code")||get(e,"response.statusText")||get(e,"message","网络异常,请稍后重试。"),get(e,"config.isShowErrorMessage",!0),Promise.reject(e)})),n},spuAxios=null,apaasAxios=null;function initAxios(t){spuAxios=createAxiosInstance("spu",t),apaasAxios=createAxiosInstance("apaas",t)}var CloudServ=function(){function t(){_classCallCheck(this,t),_defineProperty(this,"CLOUD_SERVE_KEY","cloudserv"),_defineProperty(this,"cacheStorage",null)}return _createClass(t,[{key:"get",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"storage";if(this.cacheStorage)return this.cacheStorage[t]||null;var e=lsProxy.getItem(this.CLOUD_SERVE_KEY);if(!e)return null;var n=JSON.parse(e);return this.cacheStorage=n,n[t]}},{key:"set",value:function(t){"object"===_typeof(t)&&(this.cacheStorage=t,t=JSON.stringify(t)),lsProxy.setItem(this.CLOUD_SERVE_KEY,t)}},{key:"getProvider",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"storage",e=this.get(t);return!!e&&e.cloudserv_storage_provider}},{key:"isAliyun",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"storage";return"aliyun"===this.getProvider(t)}},{key:"isAzure",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"storage";return"azure"===this.getProvider(t)}},{key:"isAwss3",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"storage";return"awss3"===this.getProvider(t)}},{key:"isHuawei",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"storage";return"huawei"===this.getProvider(t)}}]),t}(),CloudServ$1=new CloudServ,TenantInfo=function(){function t(){_classCallCheck(this,t)}var e,n;return _createClass(t,[{key:"get",value:(n=_asyncToGenerator(_regeneratorRuntime().mark((function t(e){var n,r;return _regeneratorRuntime().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,apaasAxios.get("/api/auth/tenantlist",{}).then((function(t){var e;return null==t||null===(e=t.data)||void 0===e?void 0:e.tenants}));case 3:if(!(n=t.sent)||!n.length){t.next=13;break}if(e){t.next=9;break}return t.abrupt("return",n[0]);case 9:return r=n.find((function(t){return t.code===e}))||null,t.abrupt("return",r);case 11:t.next=14;break;case 13:return t.abrupt("return",null);case 14:t.next=19;break;case 16:throw t.prev=16,t.t0=t.catch(0),new Error(t.t0.errorMsg);case 19:case"end":return t.stop()}}),t,null,[[0,16]])}))),function(t){return n.apply(this,arguments)})},{key:"save",value:function(t){t&&CloudServ$1.set(t)}},{key:"format",value:function(t){if(!t)return null;for(var e={},n=0,r=["storage","storage-1d","storage-1y","storage-3m"];n<r.length;n++){var o=r[n],i=t.cloudserv[o];i&&(e[o]={cloudserv_storage_provider:i.provider,cloudserv_storage_storagebucket:i.storagebucket,cloudserv_storage_storageendpoint:i.storageendpoint,cloudserv_storage_storageurl:i.storageurl,cloudserv_storage_accesskeyid:i.accesskeyid,cloudserv_storage_region:i.region})}return 0===Object.keys(e).length?null:e}},{key:"getAndSave",value:(e=_asyncToGenerator(_regeneratorRuntime().mark((function t(e){var n,r;return _regeneratorRuntime().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.get(e);case 2:if(n=t.sent){t.next=5;break}return t.abrupt("return");case 5:lsProxy.setItem("tenant",JSON.stringify(n)),(r=this.format(n))&&this.save(r);case 8:case"end":return t.stop()}}),t,this)}))),function(t){return e.apply(this,arguments)})}]),t}(),tenantInfo=new TenantInfo,Login=function(){function t(){_classCallCheck(this,t),_defineProperty(this,"cache",{}),_defineProperty(this,"refreshtokenTimer",null)}var e;return _createClass(t,[{key:"getData",value:function(t){if(this.cache[t])return this.cache[t];var e=lsProxy.getItem(t);return this.cache[t]=e,e}},{key:"setData",value:function(t,e){this.cache[t]=e,lsProxy.setItem(t,e)}},{key:"removeData",value:function(t){delete this.cache[t],lsProxy.removeItem(t)}},{key:"getEnvname",value:function(){return this.getData("envname")}},{key:"setEnvname",value:function(t){this.setData("envname",t)}},{key:"removeEnvname",value:function(){this.removeData("envname")}},{key:"getToken",value:function(){return this.getData("token")}},{key:"setToken",value:function(t){this.setData("token",t)}},{key:"removeToken",value:function(){this.removeData("token")}},{key:"getTokenExpires",value:function(){return this.getData("tokenexpires")}},{key:"setTokenExpires",value:function(t){this.setData("tokenexpires",t)}},{key:"removeTokenExpires",value:function(){this.removeData("tokenexpires")}},{key:"getRefreshToken",value:function(){return this.getData("refreshtoken")}},{key:"setRefreshToken",value:function(t){this.setData("refreshtoken",t)}},{key:"removeRefreshToken",value:function(){this.removeData("refreshtoken")}},{key:"updateToken",value:function(){var t=this;return apaasAxios.get("/api/auth/refreshtoken",{params:{refreshtoken:this.getRefreshToken()},isShowLoadding:!1,isShowErrorMessage:!1}).then((function(e){var n=null==e?void 0:e.data;n&&(t.setToken(n.token),t.setRefreshToken(n.refreshtoken),t.setTokenExpires(n.tokenexpires))}))}},{key:"startRefreshtoken",value:function(){var t=this;this.stopRefreshtoken();var e=this.checkLogin()?Number(this.getTokenExpires())-Date.now()-15e3:6e4;e>0&&(this.refreshtokenTimer=window.setTimeout(_asyncToGenerator(_regeneratorRuntime().mark((function e(){return _regeneratorRuntime().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!t.checkLogin()){e.next=3;break}return e.next=3,t.updateToken();case 3:t.startRefreshtoken();case 4:case"end":return e.stop()}}),e)}))),e))}},{key:"stopRefreshtoken",value:function(){clearTimeout(this.refreshtokenTimer),this.refreshtokenTimer=null}},{key:"getUser",value:function(t){var e=this.getData("user"),n=e?JSON.parse(e):null;return t?n&&n[t]||"":n}},{key:"setUser",value:function(t){var e;for(var n in e="string"==typeof t?JSON.parse(t):cloneDeep(t))e[n.toLowerCase()]=e[n];this.setData("user",JSON.stringify(e))}},{key:"setUserByToken",value:function(t){var e=this.jwtDecode(t);e&&e.LoginUser?this.setUser(e.LoginUser):this.removeUser()}},{key:"removeUser",value:function(){this.removeData("user")}},{key:"jwtDecode",value:function(t){if(!t)return console.error("token为空 jwt解析token出错"),null;try{return o(t)}catch(e){return console.error("jwt解析token出错",t,e),null}}},{key:"checkLogin",value:function(){var t=!1,e=this.getToken(),n=this.getRefreshToken(),r=this.getTokenExpires(),o=Date.now();if(e&&n&&r&&Number(r)>o){var i=this.jwtDecode(e);t=!(null==i||!i.exp)&&Number(i.exp+"000")>o}return t}},{key:"singleLogin",value:(e=_asyncToGenerator(_regeneratorRuntime().mark((function t(e){var n,r,o,i;return _regeneratorRuntime().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e=cloneDeep(e),!(n=e.token)){t.next=15;break}return this.setToken(n),this.setUserByToken(n),r=e.refreshtoken,o=e.tokenexpires,r&&this.setRefreshToken(r),o&&this.setTokenExpires(o),(i=e.context)&&(i=decodeURIComponent(i),lsProxy.setItem("context",i),delete e.context),t.next=13,tenantInfo.getAndSave();case 13:t.next=16;break;case 15:console.error("query 中没有 token,无法单点登录。");case 16:return delete e.token,delete e.refreshtoken,delete e.tokenexpires,delete e.context,t.abrupt("return",{query:e});case 21:case"end":return t.stop()}}),t,this)}))),function(t){return e.apply(this,arguments)})}]),t}(),login=new Login,commonjsGlobal="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function getDefaultExportFromCjs(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var vconsole_min={exports:{}};
|
|
1
|
+
import{defineComponent,ref,openBlock,createElementBlock,pushScopeId,popScopeId,createElementVNode,createVNode,render as render$1}from"vue";var version="0.0.6";function _regeneratorRuntime(){_regeneratorRuntime=function(){return e};var t,e={},n=Object.prototype,r=n.hasOwnProperty,o=Object.defineProperty||function(t,e,n){t[e]=n.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",s=i.asyncIterator||"@@asyncIterator",c=i.toStringTag||"@@toStringTag";function u(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(t){u=function(t,e,n){return t[e]=n}}function l(t,e,n,r){var i=e&&e.prototype instanceof v?e:v,a=Object.create(i.prototype),s=new O(r||[]);return o(a,"_invoke",{value:S(t,n,s)}),a}function p(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}e.wrap=l;var f="suspendedStart",d="suspendedYield",h="executing",m="completed",g={};function v(){}function y(){}function b(){}var w={};u(w,a,(function(){return this}));var x=Object.getPrototypeOf,_=x&&x(x(L([])));_&&_!==n&&r.call(_,a)&&(w=_);var A=b.prototype=v.prototype=Object.create(w);function k(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function E(t,e){function n(o,i,a,s){var c=p(t[o],t,i);if("throw"!==c.type){var u=c.arg,l=u.value;return l&&"object"==typeof l&&r.call(l,"__await")?e.resolve(l.__await).then((function(t){n("next",t,a,s)}),(function(t){n("throw",t,a,s)})):e.resolve(l).then((function(t){u.value=t,a(u)}),(function(t){return n("throw",t,a,s)}))}s(c.arg)}var i;o(this,"_invoke",{value:function(t,r){function o(){return new e((function(e,o){n(t,r,e,o)}))}return i=i?i.then(o,o):o()}})}function S(e,n,r){var o=f;return function(i,a){if(o===h)throw new Error("Generator is already running");if(o===m){if("throw"===i)throw a;return{value:t,done:!0}}for(r.method=i,r.arg=a;;){var s=r.delegate;if(s){var c=T(s,r);if(c){if(c===g)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===f)throw o=m,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=h;var u=p(e,n,r);if("normal"===u.type){if(o=r.done?m:d,u.arg===g)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(o=m,r.method="throw",r.arg=u.arg)}}}function T(e,n){var r=n.method,o=e.iterator[r];if(o===t)return n.delegate=null,"throw"===r&&e.iterator.return&&(n.method="return",n.arg=t,T(e,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),g;var i=p(o,e.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,g;var a=i.arg;return a?a.done?(n[e.resultName]=a.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,g):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,g)}function C(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function P(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function O(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(C,this),this.reset(!0)}function L(e){if(e||""===e){var n=e[a];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function n(){for(;++o<e.length;)if(r.call(e,o))return n.value=e[o],n.done=!1,n;return n.value=t,n.done=!0,n};return i.next=i}}throw new TypeError(typeof e+" is not iterable")}return y.prototype=b,o(A,"constructor",{value:b,configurable:!0}),o(b,"constructor",{value:y,configurable:!0}),y.displayName=u(b,c,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===y||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,b):(t.__proto__=b,u(t,c,"GeneratorFunction")),t.prototype=Object.create(A),t},e.awrap=function(t){return{__await:t}},k(E.prototype),u(E.prototype,s,(function(){return this})),e.AsyncIterator=E,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new E(l(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},k(A),u(A,c,"Generator"),u(A,a,(function(){return this})),u(A,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),n=[];for(var r in e)n.push(r);return n.reverse(),function t(){for(;n.length;){var r=n.pop();if(r in e)return t.value=r,t.done=!1,t}return t.done=!0,t}},e.values=L,O.prototype={constructor:O,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(P),!e)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function o(r,o){return s.type="throw",s.arg=e,n.next=r,o&&(n.method="next",n.arg=t),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var c=r.call(a,"catchLoc"),u=r.call(a,"finallyLoc");if(c&&u){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,g):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),g},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),P(n),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var o=r.arg;P(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:L(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),g}},e}function _typeof(t){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},_typeof(t)}function asyncGeneratorStep(t,e,n,r,o,i,a){try{var s=t[i](a),c=s.value}catch(t){return void n(t)}s.done?e(c):Promise.resolve(c).then(r,o)}function _asyncToGenerator(t){return function(){var e=this,n=arguments;return new Promise((function(r,o){var i=t.apply(e,n);function a(t){asyncGeneratorStep(i,r,o,a,s,"next",t)}function s(t){asyncGeneratorStep(i,r,o,a,s,"throw",t)}a(void 0)}))}}function _classCallCheck(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function _defineProperties(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,_toPropertyKey(r.key),r)}}function _createClass(t,e,n){return e&&_defineProperties(t.prototype,e),n&&_defineProperties(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}function _defineProperty(t,e,n){return(e=_toPropertyKey(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function _toPrimitive(t,e){if("object"!=typeof t||null===t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}function _toPropertyKey(t){var e=_toPrimitive(t,"string");return"symbol"==typeof e?e:String(e)}var STORAGENAMESPACE="",StorageProxy=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"local";_classCallCheck(this,t),_defineProperty(this,"provider",void 0),this.provider=window["".concat(e,"Storage")]}return _createClass(t,[{key:"getItem",value:function(t){return this.provider.getItem("".concat(STORAGENAMESPACE?STORAGENAMESPACE+"-"+t:t))}},{key:"setItem",value:function(t,e){return this.provider.setItem("".concat(STORAGENAMESPACE?STORAGENAMESPACE+"-"+t:t),e)}},{key:"removeItem",value:function(t){return this.provider.removeItem("".concat(STORAGENAMESPACE?STORAGENAMESPACE+"-"+t:t))}},{key:"clear",value:function(){for(var t=this,e=[],n=0,r=this.provider.length;n<r;n++){var o=this.provider.key(n);o&&0===o.indexOf("".concat(STORAGENAMESPACE,"-"))&&e.push(o)}e.forEach((function(e){t.removeItem(e)}))}}]),t}(),lsProxy=new StorageProxy("local"),ssProxy=new StorageProxy("session");function initStorageProxy(t){STORAGENAMESPACE=t.modulekey}var freeGlobal="object"==typeof global&&global&&global.Object===Object&&global,freeGlobal$1=freeGlobal,freeSelf="object"==typeof self&&self&&self.Object===Object&&self,root=freeGlobal$1||freeSelf||Function("return this")(),root$1=root,Symbol$1=root$1.Symbol,Symbol$2=Symbol$1,objectProto$c=Object.prototype,hasOwnProperty$a=objectProto$c.hasOwnProperty,nativeObjectToString$1=objectProto$c.toString,symToStringTag$1=Symbol$2?Symbol$2.toStringTag:void 0;function getRawTag(t){var e=hasOwnProperty$a.call(t,symToStringTag$1),n=t[symToStringTag$1];try{t[symToStringTag$1]=void 0;var r=!0}catch(t){}var o=nativeObjectToString$1.call(t);return r&&(e?t[symToStringTag$1]=n:delete t[symToStringTag$1]),o}var objectProto$b=Object.prototype,nativeObjectToString=objectProto$b.toString;function objectToString(t){return nativeObjectToString.call(t)}var nullTag="[object Null]",undefinedTag="[object Undefined]",symToStringTag=Symbol$2?Symbol$2.toStringTag:void 0;function baseGetTag(t){return null==t?void 0===t?undefinedTag:nullTag:symToStringTag&&symToStringTag in Object(t)?getRawTag(t):objectToString(t)}function isObjectLike(t){return null!=t&&"object"==typeof t}var symbolTag$2="[object Symbol]";function isSymbol(t){return"symbol"==typeof t||isObjectLike(t)&&baseGetTag(t)==symbolTag$2}function arrayMap(t,e){for(var n=-1,r=null==t?0:t.length,o=Array(r);++n<r;)o[n]=e(t[n],n,t);return o}var isArray$1=Array.isArray,isArray$2=isArray$1,INFINITY$1=1/0,symbolProto$1=Symbol$2?Symbol$2.prototype:void 0,symbolToString=symbolProto$1?symbolProto$1.toString:void 0;function baseToString(t){if("string"==typeof t)return t;if(isArray$2(t))return arrayMap(t,baseToString)+"";if(isSymbol(t))return symbolToString?symbolToString.call(t):"";var e=t+"";return"0"==e&&1/t==-INFINITY$1?"-0":e}function isObject$2(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}var asyncTag="[object AsyncFunction]",funcTag$2="[object Function]",genTag$1="[object GeneratorFunction]",proxyTag="[object Proxy]";function isFunction$1(t){if(!isObject$2(t))return!1;var e=baseGetTag(t);return e==funcTag$2||e==genTag$1||e==asyncTag||e==proxyTag}var coreJsData=root$1["__core-js_shared__"],coreJsData$1=coreJsData,maskSrcKey=(uid=/[^.]+$/.exec(coreJsData$1&&coreJsData$1.keys&&coreJsData$1.keys.IE_PROTO||""),uid?"Symbol(src)_1."+uid:""),uid;function isMasked(t){return!!maskSrcKey&&maskSrcKey in t}var funcProto$1=Function.prototype,funcToString$1=funcProto$1.toString;function toSource(t){if(null!=t){try{return funcToString$1.call(t)}catch(t){}try{return t+""}catch(t){}}return""}var reRegExpChar=/[\\^$.*+?()[\]{}|]/g,reIsHostCtor=/^\[object .+?Constructor\]$/,funcProto=Function.prototype,objectProto$a=Object.prototype,funcToString=funcProto.toString,hasOwnProperty$9=objectProto$a.hasOwnProperty,reIsNative=RegExp("^"+funcToString.call(hasOwnProperty$9).replace(reRegExpChar,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function baseIsNative(t){return!(!isObject$2(t)||isMasked(t))&&(isFunction$1(t)?reIsNative:reIsHostCtor).test(toSource(t))}function getValue(t,e){return null==t?void 0:t[e]}function getNative(t,e){var n=getValue(t,e);return baseIsNative(n)?n:void 0}var WeakMap$1=getNative(root$1,"WeakMap"),WeakMap$2=WeakMap$1,objectCreate=Object.create,baseCreate=function(){function t(){}return function(e){if(!isObject$2(e))return{};if(objectCreate)return objectCreate(e);t.prototype=e;var n=new t;return t.prototype=void 0,n}}(),baseCreate$1=baseCreate;function copyArray(t,e){var n=-1,r=t.length;for(e||(e=Array(r));++n<r;)e[n]=t[n];return e}var defineProperty=function(){try{var t=getNative(Object,"defineProperty");return t({},"",{}),t}catch(t){}}(),defineProperty$1=defineProperty;function arrayEach(t,e){for(var n=-1,r=null==t?0:t.length;++n<r&&!1!==e(t[n],n,t););return t}var MAX_SAFE_INTEGER$1=9007199254740991,reIsUint=/^(?:0|[1-9]\d*)$/;function isIndex(t,e){var n=typeof t;return!!(e=null==e?MAX_SAFE_INTEGER$1:e)&&("number"==n||"symbol"!=n&&reIsUint.test(t))&&t>-1&&t%1==0&&t<e}function baseAssignValue(t,e,n){"__proto__"==e&&defineProperty$1?defineProperty$1(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n}function eq(t,e){return t===e||t!=t&&e!=e}var objectProto$9=Object.prototype,hasOwnProperty$8=objectProto$9.hasOwnProperty;function assignValue(t,e,n){var r=t[e];hasOwnProperty$8.call(t,e)&&eq(r,n)&&(void 0!==n||e in t)||baseAssignValue(t,e,n)}function copyObject(t,e,n,r){var o=!n;n||(n={});for(var i=-1,a=e.length;++i<a;){var s=e[i],c=r?r(n[s],t[s],s,n,t):void 0;void 0===c&&(c=t[s]),o?baseAssignValue(n,s,c):assignValue(n,s,c)}return n}var MAX_SAFE_INTEGER=9007199254740991;function isLength(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=MAX_SAFE_INTEGER}function isArrayLike(t){return null!=t&&isLength(t.length)&&!isFunction$1(t)}var objectProto$8=Object.prototype;function isPrototype(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||objectProto$8)}function baseTimes(t,e){for(var n=-1,r=Array(t);++n<t;)r[n]=e(n);return r}var argsTag$2="[object Arguments]";function baseIsArguments(t){return isObjectLike(t)&&baseGetTag(t)==argsTag$2}var objectProto$7=Object.prototype,hasOwnProperty$7=objectProto$7.hasOwnProperty,propertyIsEnumerable$1=objectProto$7.propertyIsEnumerable,isArguments=baseIsArguments(function(){return arguments}())?baseIsArguments:function(t){return isObjectLike(t)&&hasOwnProperty$7.call(t,"callee")&&!propertyIsEnumerable$1.call(t,"callee")},isArguments$1=isArguments;function stubFalse(){return!1}var freeExports$2="object"==typeof exports&&exports&&!exports.nodeType&&exports,freeModule$2=freeExports$2&&"object"==typeof module&&module&&!module.nodeType&&module,moduleExports$2=freeModule$2&&freeModule$2.exports===freeExports$2,Buffer$2=moduleExports$2?root$1.Buffer:void 0,nativeIsBuffer=Buffer$2?Buffer$2.isBuffer:void 0,isBuffer$1=nativeIsBuffer||stubFalse,isBuffer$2=isBuffer$1,argsTag$1="[object Arguments]",arrayTag$1="[object Array]",boolTag$2="[object Boolean]",dateTag$2="[object Date]",errorTag$1="[object Error]",funcTag$1="[object Function]",mapTag$4="[object Map]",numberTag$2="[object Number]",objectTag$2="[object Object]",regexpTag$2="[object RegExp]",setTag$4="[object Set]",stringTag$2="[object String]",weakMapTag$2="[object WeakMap]",arrayBufferTag$2="[object ArrayBuffer]",dataViewTag$3="[object DataView]",float32Tag$2="[object Float32Array]",float64Tag$2="[object Float64Array]",int8Tag$2="[object Int8Array]",int16Tag$2="[object Int16Array]",int32Tag$2="[object Int32Array]",uint8Tag$2="[object Uint8Array]",uint8ClampedTag$2="[object Uint8ClampedArray]",uint16Tag$2="[object Uint16Array]",uint32Tag$2="[object Uint32Array]",typedArrayTags={};function baseIsTypedArray(t){return isObjectLike(t)&&isLength(t.length)&&!!typedArrayTags[baseGetTag(t)]}function baseUnary(t){return function(e){return t(e)}}typedArrayTags[float32Tag$2]=typedArrayTags[float64Tag$2]=typedArrayTags[int8Tag$2]=typedArrayTags[int16Tag$2]=typedArrayTags[int32Tag$2]=typedArrayTags[uint8Tag$2]=typedArrayTags[uint8ClampedTag$2]=typedArrayTags[uint16Tag$2]=typedArrayTags[uint32Tag$2]=!0,typedArrayTags[argsTag$1]=typedArrayTags[arrayTag$1]=typedArrayTags[arrayBufferTag$2]=typedArrayTags[boolTag$2]=typedArrayTags[dataViewTag$3]=typedArrayTags[dateTag$2]=typedArrayTags[errorTag$1]=typedArrayTags[funcTag$1]=typedArrayTags[mapTag$4]=typedArrayTags[numberTag$2]=typedArrayTags[objectTag$2]=typedArrayTags[regexpTag$2]=typedArrayTags[setTag$4]=typedArrayTags[stringTag$2]=typedArrayTags[weakMapTag$2]=!1;var freeExports$1="object"==typeof exports&&exports&&!exports.nodeType&&exports,freeModule$1=freeExports$1&&"object"==typeof module&&module&&!module.nodeType&&module,moduleExports$1=freeModule$1&&freeModule$1.exports===freeExports$1,freeProcess=moduleExports$1&&freeGlobal$1.process,nodeUtil=function(){try{var t=freeModule$1&&freeModule$1.require&&freeModule$1.require("util").types;return t||freeProcess&&freeProcess.binding&&freeProcess.binding("util")}catch(t){}}(),nodeUtil$1=nodeUtil,nodeIsTypedArray=nodeUtil$1&&nodeUtil$1.isTypedArray,isTypedArray$1=nodeIsTypedArray?baseUnary(nodeIsTypedArray):baseIsTypedArray,isTypedArray$2=isTypedArray$1,objectProto$6=Object.prototype,hasOwnProperty$6=objectProto$6.hasOwnProperty;function arrayLikeKeys(t,e){var n=isArray$2(t),r=!n&&isArguments$1(t),o=!n&&!r&&isBuffer$2(t),i=!n&&!r&&!o&&isTypedArray$2(t),a=n||r||o||i,s=a?baseTimes(t.length,String):[],c=s.length;for(var u in t)!e&&!hasOwnProperty$6.call(t,u)||a&&("length"==u||o&&("offset"==u||"parent"==u)||i&&("buffer"==u||"byteLength"==u||"byteOffset"==u)||isIndex(u,c))||s.push(u);return s}function overArg(t,e){return function(n){return t(e(n))}}var nativeKeys=overArg(Object.keys,Object),nativeKeys$1=nativeKeys,objectProto$5=Object.prototype,hasOwnProperty$5=objectProto$5.hasOwnProperty;function baseKeys(t){if(!isPrototype(t))return nativeKeys$1(t);var e=[];for(var n in Object(t))hasOwnProperty$5.call(t,n)&&"constructor"!=n&&e.push(n);return e}function keys(t){return isArrayLike(t)?arrayLikeKeys(t):baseKeys(t)}function nativeKeysIn(t){var e=[];if(null!=t)for(var n in Object(t))e.push(n);return e}var objectProto$4=Object.prototype,hasOwnProperty$4=objectProto$4.hasOwnProperty;function baseKeysIn(t){if(!isObject$2(t))return nativeKeysIn(t);var e=isPrototype(t),n=[];for(var r in t)("constructor"!=r||!e&&hasOwnProperty$4.call(t,r))&&n.push(r);return n}function keysIn(t){return isArrayLike(t)?arrayLikeKeys(t,!0):baseKeysIn(t)}var reIsDeepProp=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,reIsPlainProp=/^\w*$/;function isKey(t,e){if(isArray$2(t))return!1;var n=typeof t;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=t&&!isSymbol(t))||(reIsPlainProp.test(t)||!reIsDeepProp.test(t)||null!=e&&t in Object(e))}var nativeCreate=getNative(Object,"create"),nativeCreate$1=nativeCreate;function hashClear(){this.__data__=nativeCreate$1?nativeCreate$1(null):{},this.size=0}function hashDelete(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}var HASH_UNDEFINED$1="__lodash_hash_undefined__",objectProto$3=Object.prototype,hasOwnProperty$3=objectProto$3.hasOwnProperty;function hashGet(t){var e=this.__data__;if(nativeCreate$1){var n=e[t];return n===HASH_UNDEFINED$1?void 0:n}return hasOwnProperty$3.call(e,t)?e[t]:void 0}var objectProto$2=Object.prototype,hasOwnProperty$2=objectProto$2.hasOwnProperty;function hashHas(t){var e=this.__data__;return nativeCreate$1?void 0!==e[t]:hasOwnProperty$2.call(e,t)}var HASH_UNDEFINED="__lodash_hash_undefined__";function hashSet(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=nativeCreate$1&&void 0===e?HASH_UNDEFINED:e,this}function Hash(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function listCacheClear(){this.__data__=[],this.size=0}function assocIndexOf(t,e){for(var n=t.length;n--;)if(eq(t[n][0],e))return n;return-1}Hash.prototype.clear=hashClear,Hash.prototype.delete=hashDelete,Hash.prototype.get=hashGet,Hash.prototype.has=hashHas,Hash.prototype.set=hashSet;var arrayProto=Array.prototype,splice=arrayProto.splice;function listCacheDelete(t){var e=this.__data__,n=assocIndexOf(e,t);return!(n<0)&&(n==e.length-1?e.pop():splice.call(e,n,1),--this.size,!0)}function listCacheGet(t){var e=this.__data__,n=assocIndexOf(e,t);return n<0?void 0:e[n][1]}function listCacheHas(t){return assocIndexOf(this.__data__,t)>-1}function listCacheSet(t,e){var n=this.__data__,r=assocIndexOf(n,t);return r<0?(++this.size,n.push([t,e])):n[r][1]=e,this}function ListCache(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}ListCache.prototype.clear=listCacheClear,ListCache.prototype.delete=listCacheDelete,ListCache.prototype.get=listCacheGet,ListCache.prototype.has=listCacheHas,ListCache.prototype.set=listCacheSet;var Map$1=getNative(root$1,"Map"),Map$2=Map$1;function mapCacheClear(){this.size=0,this.__data__={hash:new Hash,map:new(Map$2||ListCache),string:new Hash}}function isKeyable(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t}function getMapData(t,e){var n=t.__data__;return isKeyable(e)?n["string"==typeof e?"string":"hash"]:n.map}function mapCacheDelete(t){var e=getMapData(this,t).delete(t);return this.size-=e?1:0,e}function mapCacheGet(t){return getMapData(this,t).get(t)}function mapCacheHas(t){return getMapData(this,t).has(t)}function mapCacheSet(t,e){var n=getMapData(this,t),r=n.size;return n.set(t,e),this.size+=n.size==r?0:1,this}function MapCache(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}MapCache.prototype.clear=mapCacheClear,MapCache.prototype.delete=mapCacheDelete,MapCache.prototype.get=mapCacheGet,MapCache.prototype.has=mapCacheHas,MapCache.prototype.set=mapCacheSet;var FUNC_ERROR_TEXT="Expected a function";function memoize(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new TypeError(FUNC_ERROR_TEXT);var n=function(){var r=arguments,o=e?e.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var a=t.apply(this,r);return n.cache=i.set(o,a)||i,a};return n.cache=new(memoize.Cache||MapCache),n}memoize.Cache=MapCache;var MAX_MEMOIZE_SIZE=500;function memoizeCapped(t){var e=memoize(t,(function(t){return n.size===MAX_MEMOIZE_SIZE&&n.clear(),t})),n=e.cache;return e}var rePropName=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,reEscapeChar=/\\(\\)?/g,stringToPath=memoizeCapped((function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(rePropName,(function(t,n,r,o){e.push(r?o.replace(reEscapeChar,"$1"):n||t)})),e})),stringToPath$1=stringToPath;function toString$1(t){return null==t?"":baseToString(t)}function castPath(t,e){return isArray$2(t)?t:isKey(t,e)?[t]:stringToPath$1(toString$1(t))}var INFINITY=1/0;function toKey(t){if("string"==typeof t||isSymbol(t))return t;var e=t+"";return"0"==e&&1/t==-INFINITY?"-0":e}function baseGet(t,e){for(var n=0,r=(e=castPath(e,t)).length;null!=t&&n<r;)t=t[toKey(e[n++])];return n&&n==r?t:void 0}function get(t,e,n){var r=null==t?void 0:baseGet(t,e);return void 0===r?n:r}function arrayPush(t,e){for(var n=-1,r=e.length,o=t.length;++n<r;)t[o+n]=e[n];return t}var getPrototype=overArg(Object.getPrototypeOf,Object),getPrototype$1=getPrototype;function stackClear(){this.__data__=new ListCache,this.size=0}function stackDelete(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n}function stackGet(t){return this.__data__.get(t)}function stackHas(t){return this.__data__.has(t)}var LARGE_ARRAY_SIZE=200;function stackSet(t,e){var n=this.__data__;if(n instanceof ListCache){var r=n.__data__;if(!Map$2||r.length<LARGE_ARRAY_SIZE-1)return r.push([t,e]),this.size=++n.size,this;n=this.__data__=new MapCache(r)}return n.set(t,e),this.size=n.size,this}function Stack(t){var e=this.__data__=new ListCache(t);this.size=e.size}function baseAssign(t,e){return t&©Object(e,keys(e),t)}function baseAssignIn(t,e){return t&©Object(e,keysIn(e),t)}Stack.prototype.clear=stackClear,Stack.prototype.delete=stackDelete,Stack.prototype.get=stackGet,Stack.prototype.has=stackHas,Stack.prototype.set=stackSet;var freeExports="object"==typeof exports&&exports&&!exports.nodeType&&exports,freeModule=freeExports&&"object"==typeof module&&module&&!module.nodeType&&module,moduleExports=freeModule&&freeModule.exports===freeExports,Buffer$1=moduleExports?root$1.Buffer:void 0,allocUnsafe=Buffer$1?Buffer$1.allocUnsafe:void 0;function cloneBuffer(t,e){if(e)return t.slice();var n=t.length,r=allocUnsafe?allocUnsafe(n):new t.constructor(n);return t.copy(r),r}function arrayFilter(t,e){for(var n=-1,r=null==t?0:t.length,o=0,i=[];++n<r;){var a=t[n];e(a,n,t)&&(i[o++]=a)}return i}function stubArray(){return[]}var objectProto$1=Object.prototype,propertyIsEnumerable=objectProto$1.propertyIsEnumerable,nativeGetSymbols$1=Object.getOwnPropertySymbols,getSymbols=nativeGetSymbols$1?function(t){return null==t?[]:(t=Object(t),arrayFilter(nativeGetSymbols$1(t),(function(e){return propertyIsEnumerable.call(t,e)})))}:stubArray,getSymbols$1=getSymbols;function copySymbols(t,e){return copyObject(t,getSymbols$1(t),e)}var nativeGetSymbols=Object.getOwnPropertySymbols,getSymbolsIn=nativeGetSymbols?function(t){for(var e=[];t;)arrayPush(e,getSymbols$1(t)),t=getPrototype$1(t);return e}:stubArray,getSymbolsIn$1=getSymbolsIn;function copySymbolsIn(t,e){return copyObject(t,getSymbolsIn$1(t),e)}function baseGetAllKeys(t,e,n){var r=e(t);return isArray$2(t)?r:arrayPush(r,n(t))}function getAllKeys(t){return baseGetAllKeys(t,keys,getSymbols$1)}function getAllKeysIn(t){return baseGetAllKeys(t,keysIn,getSymbolsIn$1)}var DataView=getNative(root$1,"DataView"),DataView$1=DataView,Promise$1=getNative(root$1,"Promise"),Promise$2=Promise$1,Set$1=getNative(root$1,"Set"),Set$2=Set$1,mapTag$3="[object Map]",objectTag$1="[object Object]",promiseTag="[object Promise]",setTag$3="[object Set]",weakMapTag$1="[object WeakMap]",dataViewTag$2="[object DataView]",dataViewCtorString=toSource(DataView$1),mapCtorString=toSource(Map$2),promiseCtorString=toSource(Promise$2),setCtorString=toSource(Set$2),weakMapCtorString=toSource(WeakMap$2),getTag=baseGetTag;(DataView$1&&getTag(new DataView$1(new ArrayBuffer(1)))!=dataViewTag$2||Map$2&&getTag(new Map$2)!=mapTag$3||Promise$2&&getTag(Promise$2.resolve())!=promiseTag||Set$2&&getTag(new Set$2)!=setTag$3||WeakMap$2&&getTag(new WeakMap$2)!=weakMapTag$1)&&(getTag=function(t){var e=baseGetTag(t),n=e==objectTag$1?t.constructor:void 0,r=n?toSource(n):"";if(r)switch(r){case dataViewCtorString:return dataViewTag$2;case mapCtorString:return mapTag$3;case promiseCtorString:return promiseTag;case setCtorString:return setTag$3;case weakMapCtorString:return weakMapTag$1}return e});var getTag$1=getTag,objectProto=Object.prototype,hasOwnProperty$1=objectProto.hasOwnProperty;function initCloneArray(t){var e=t.length,n=new t.constructor(e);return e&&"string"==typeof t[0]&&hasOwnProperty$1.call(t,"index")&&(n.index=t.index,n.input=t.input),n}var Uint8Array$1=root$1.Uint8Array,Uint8Array$2=Uint8Array$1;function cloneArrayBuffer(t){var e=new t.constructor(t.byteLength);return new Uint8Array$2(e).set(new Uint8Array$2(t)),e}function cloneDataView(t,e){var n=e?cloneArrayBuffer(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.byteLength)}var reFlags=/\w*$/;function cloneRegExp(t){var e=new t.constructor(t.source,reFlags.exec(t));return e.lastIndex=t.lastIndex,e}var symbolProto=Symbol$2?Symbol$2.prototype:void 0,symbolValueOf=symbolProto?symbolProto.valueOf:void 0;function cloneSymbol(t){return symbolValueOf?Object(symbolValueOf.call(t)):{}}function cloneTypedArray(t,e){var n=e?cloneArrayBuffer(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.length)}var boolTag$1="[object Boolean]",dateTag$1="[object Date]",mapTag$2="[object Map]",numberTag$1="[object Number]",regexpTag$1="[object RegExp]",setTag$2="[object Set]",stringTag$1="[object String]",symbolTag$1="[object Symbol]",arrayBufferTag$1="[object ArrayBuffer]",dataViewTag$1="[object DataView]",float32Tag$1="[object Float32Array]",float64Tag$1="[object Float64Array]",int8Tag$1="[object Int8Array]",int16Tag$1="[object Int16Array]",int32Tag$1="[object Int32Array]",uint8Tag$1="[object Uint8Array]",uint8ClampedTag$1="[object Uint8ClampedArray]",uint16Tag$1="[object Uint16Array]",uint32Tag$1="[object Uint32Array]";function initCloneByTag(t,e,n){var r=t.constructor;switch(e){case arrayBufferTag$1:return cloneArrayBuffer(t);case boolTag$1:case dateTag$1:return new r(+t);case dataViewTag$1:return cloneDataView(t,n);case float32Tag$1:case float64Tag$1:case int8Tag$1:case int16Tag$1:case int32Tag$1:case uint8Tag$1:case uint8ClampedTag$1:case uint16Tag$1:case uint32Tag$1:return cloneTypedArray(t,n);case mapTag$2:return new r;case numberTag$1:case stringTag$1:return new r(t);case regexpTag$1:return cloneRegExp(t);case setTag$2:return new r;case symbolTag$1:return cloneSymbol(t)}}function initCloneObject(t){return"function"!=typeof t.constructor||isPrototype(t)?{}:baseCreate$1(getPrototype$1(t))}var mapTag$1="[object Map]";function baseIsMap(t){return isObjectLike(t)&&getTag$1(t)==mapTag$1}var nodeIsMap=nodeUtil$1&&nodeUtil$1.isMap,isMap=nodeIsMap?baseUnary(nodeIsMap):baseIsMap,isMap$1=isMap,setTag$1="[object Set]";function baseIsSet(t){return isObjectLike(t)&&getTag$1(t)==setTag$1}var nodeIsSet=nodeUtil$1&&nodeUtil$1.isSet,isSet=nodeIsSet?baseUnary(nodeIsSet):baseIsSet,isSet$1=isSet,CLONE_DEEP_FLAG$1=1,CLONE_FLAT_FLAG=2,CLONE_SYMBOLS_FLAG$1=4,argsTag="[object Arguments]",arrayTag="[object Array]",boolTag="[object Boolean]",dateTag="[object Date]",errorTag="[object Error]",funcTag="[object Function]",genTag="[object GeneratorFunction]",mapTag="[object Map]",numberTag="[object Number]",objectTag="[object Object]",regexpTag="[object RegExp]",setTag="[object Set]",stringTag="[object String]",symbolTag="[object Symbol]",weakMapTag="[object WeakMap]",arrayBufferTag="[object ArrayBuffer]",dataViewTag="[object DataView]",float32Tag="[object Float32Array]",float64Tag="[object Float64Array]",int8Tag="[object Int8Array]",int16Tag="[object Int16Array]",int32Tag="[object Int32Array]",uint8Tag="[object Uint8Array]",uint8ClampedTag="[object Uint8ClampedArray]",uint16Tag="[object Uint16Array]",uint32Tag="[object Uint32Array]",cloneableTags={};function baseClone(t,e,n,r,o,i){var a,s=e&CLONE_DEEP_FLAG$1,c=e&CLONE_FLAT_FLAG,u=e&CLONE_SYMBOLS_FLAG$1;if(n&&(a=o?n(t,r,o,i):n(t)),void 0!==a)return a;if(!isObject$2(t))return t;var l=isArray$2(t);if(l){if(a=initCloneArray(t),!s)return copyArray(t,a)}else{var p=getTag$1(t),f=p==funcTag||p==genTag;if(isBuffer$2(t))return cloneBuffer(t,s);if(p==objectTag||p==argsTag||f&&!o){if(a=c||f?{}:initCloneObject(t),!s)return c?copySymbolsIn(t,baseAssignIn(a,t)):copySymbols(t,baseAssign(a,t))}else{if(!cloneableTags[p])return o?t:{};a=initCloneByTag(t,p,s)}}i||(i=new Stack);var d=i.get(t);if(d)return d;i.set(t,a),isSet$1(t)?t.forEach((function(r){a.add(baseClone(r,e,n,r,t,i))})):isMap$1(t)&&t.forEach((function(r,o){a.set(o,baseClone(r,e,n,o,t,i))}));var h=l?void 0:(u?c?getAllKeysIn:getAllKeys:c?keysIn:keys)(t);return arrayEach(h||t,(function(r,o){h&&(r=t[o=r]),assignValue(a,o,baseClone(r,e,n,o,t,i))})),a}cloneableTags[argsTag]=cloneableTags[arrayTag]=cloneableTags[arrayBufferTag]=cloneableTags[dataViewTag]=cloneableTags[boolTag]=cloneableTags[dateTag]=cloneableTags[float32Tag]=cloneableTags[float64Tag]=cloneableTags[int8Tag]=cloneableTags[int16Tag]=cloneableTags[int32Tag]=cloneableTags[mapTag]=cloneableTags[numberTag]=cloneableTags[objectTag]=cloneableTags[regexpTag]=cloneableTags[setTag]=cloneableTags[stringTag]=cloneableTags[symbolTag]=cloneableTags[uint8Tag]=cloneableTags[uint8ClampedTag]=cloneableTags[uint16Tag]=cloneableTags[uint32Tag]=!0,cloneableTags[errorTag]=cloneableTags[funcTag]=cloneableTags[weakMapTag]=!1;var CLONE_DEEP_FLAG=1,CLONE_SYMBOLS_FLAG=4;function cloneDeep(t){return baseClone(t,CLONE_DEEP_FLAG|CLONE_SYMBOLS_FLAG)}function e(t){this.message=t}e.prototype=new Error,e.prototype.name="InvalidCharacterError";var r="undefined"!=typeof window&&window.atob&&window.atob.bind(window)||function(t){var n=String(t).replace(/=+$/,"");if(n.length%4==1)throw new e("'atob' failed: The string to be decoded is not correctly encoded.");for(var r,o,i=0,a=0,s="";o=n.charAt(a++);~o&&(r=i%4?64*r+o:o,i++%4)?s+=String.fromCharCode(255&r>>(-2*i&6)):0)o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(o);return s};function t(t){var e=t.replace(/-/g,"+").replace(/_/g,"/");switch(e.length%4){case 0:break;case 2:e+="==";break;case 3:e+="=";break;default:throw"Illegal base64url string!"}try{return function(t){return decodeURIComponent(r(t).replace(/(.)/g,(function(t,e){var n=e.charCodeAt(0).toString(16).toUpperCase();return n.length<2&&(n="0"+n),"%"+n})))}(e)}catch(t){return r(e)}}function n(t){this.message=t}function o(e,r){if("string"!=typeof e)throw new n("Invalid token specified");var o=!0===(r=r||{}).header?0:1;try{return JSON.parse(t(e.split(".")[o]))}catch(e){throw new n("Invalid token specified: "+e.message)}}function bind(t,e){return function(){return t.apply(e,arguments)}}n.prototype=new Error,n.prototype.name="InvalidTokenError";const{toString:toString}=Object.prototype,{getPrototypeOf:getPrototypeOf}=Object,kindOf=(cache=Object.create(null),t=>{const e=toString.call(t);return cache[e]||(cache[e]=e.slice(8,-1).toLowerCase())});var cache;const kindOfTest=t=>(t=t.toLowerCase(),e=>kindOf(e)===t),typeOfTest=t=>e=>typeof e===t,{isArray:isArray}=Array,isUndefined=typeOfTest("undefined");function isBuffer(t){return null!==t&&!isUndefined(t)&&null!==t.constructor&&!isUndefined(t.constructor)&&isFunction(t.constructor.isBuffer)&&t.constructor.isBuffer(t)}const isArrayBuffer=kindOfTest("ArrayBuffer");function isArrayBufferView(t){let e;return e="undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(t):t&&t.buffer&&isArrayBuffer(t.buffer),e}const isString=typeOfTest("string"),isFunction=typeOfTest("function"),isNumber=typeOfTest("number"),isObject$1=t=>null!==t&&"object"==typeof t,isBoolean=t=>!0===t||!1===t,isPlainObject=t=>{if("object"!==kindOf(t))return!1;const e=getPrototypeOf(t);return!(null!==e&&e!==Object.prototype&&null!==Object.getPrototypeOf(e)||Symbol.toStringTag in t||Symbol.iterator in t)},isDate=kindOfTest("Date"),isFile=kindOfTest("File"),isBlob=kindOfTest("Blob"),isFileList=kindOfTest("FileList"),isStream=t=>isObject$1(t)&&isFunction(t.pipe),isFormData=t=>{let e;return t&&("function"==typeof FormData&&t instanceof FormData||isFunction(t.append)&&("formdata"===(e=kindOf(t))||"object"===e&&isFunction(t.toString)&&"[object FormData]"===t.toString()))},isURLSearchParams=kindOfTest("URLSearchParams"),trim=t=>t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function forEach(t,e,{allOwnKeys:n=!1}={}){if(null==t)return;let r,o;if("object"!=typeof t&&(t=[t]),isArray(t))for(r=0,o=t.length;r<o;r++)e.call(null,t[r],r,t);else{const o=n?Object.getOwnPropertyNames(t):Object.keys(t),i=o.length;let a;for(r=0;r<i;r++)a=o[r],e.call(null,t[a],a,t)}}function findKey(t,e){e=e.toLowerCase();const n=Object.keys(t);let r,o=n.length;for(;o-- >0;)if(r=n[o],e===r.toLowerCase())return r;return null}const _global="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:global,isContextDefined=t=>!isUndefined(t)&&t!==_global;function merge(){const{caseless:t}=isContextDefined(this)&&this||{},e={},n=(n,r)=>{const o=t&&findKey(e,r)||r;isPlainObject(e[o])&&isPlainObject(n)?e[o]=merge(e[o],n):isPlainObject(n)?e[o]=merge({},n):isArray(n)?e[o]=n.slice():e[o]=n};for(let t=0,e=arguments.length;t<e;t++)arguments[t]&&forEach(arguments[t],n);return e}const extend=(t,e,n,{allOwnKeys:r}={})=>(forEach(e,((e,r)=>{n&&isFunction(e)?t[r]=bind(e,n):t[r]=e}),{allOwnKeys:r}),t),stripBOM=t=>(65279===t.charCodeAt(0)&&(t=t.slice(1)),t),inherits=(t,e,n,r)=>{t.prototype=Object.create(e.prototype,r),t.prototype.constructor=t,Object.defineProperty(t,"super",{value:e.prototype}),n&&Object.assign(t.prototype,n)},toFlatObject=(t,e,n,r)=>{let o,i,a;const s={};if(e=e||{},null==t)return e;do{for(o=Object.getOwnPropertyNames(t),i=o.length;i-- >0;)a=o[i],r&&!r(a,t,e)||s[a]||(e[a]=t[a],s[a]=!0);t=!1!==n&&getPrototypeOf(t)}while(t&&(!n||n(t,e))&&t!==Object.prototype);return e},endsWith=(t,e,n)=>{t=String(t),(void 0===n||n>t.length)&&(n=t.length),n-=e.length;const r=t.indexOf(e,n);return-1!==r&&r===n},toArray=t=>{if(!t)return null;if(isArray(t))return t;let e=t.length;if(!isNumber(e))return null;const n=new Array(e);for(;e-- >0;)n[e]=t[e];return n},isTypedArray=(TypedArray="undefined"!=typeof Uint8Array&&getPrototypeOf(Uint8Array),t=>TypedArray&&t instanceof TypedArray);var TypedArray;const forEachEntry=(t,e)=>{const n=(t&&t[Symbol.iterator]).call(t);let r;for(;(r=n.next())&&!r.done;){const n=r.value;e.call(t,n[0],n[1])}},matchAll=(t,e)=>{let n;const r=[];for(;null!==(n=t.exec(e));)r.push(n);return r},isHTMLForm=kindOfTest("HTMLFormElement"),toCamelCase=t=>t.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,(function(t,e,n){return e.toUpperCase()+n})),hasOwnProperty=(({hasOwnProperty:t})=>(e,n)=>t.call(e,n))(Object.prototype),isRegExp=kindOfTest("RegExp"),reduceDescriptors=(t,e)=>{const n=Object.getOwnPropertyDescriptors(t),r={};forEach(n,((n,o)=>{let i;!1!==(i=e(n,o,t))&&(r[o]=i||n)})),Object.defineProperties(t,r)},freezeMethods=t=>{reduceDescriptors(t,((e,n)=>{if(isFunction(t)&&-1!==["arguments","caller","callee"].indexOf(n))return!1;const r=t[n];isFunction(r)&&(e.enumerable=!1,"writable"in e?e.writable=!1:e.set||(e.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")}))}))},toObjectSet=(t,e)=>{const n={},r=t=>{t.forEach((t=>{n[t]=!0}))};return isArray(t)?r(t):r(String(t).split(e)),n},noop=()=>{},toFiniteNumber=(t,e)=>(t=+t,Number.isFinite(t)?t:e),ALPHA="abcdefghijklmnopqrstuvwxyz",DIGIT="0123456789",ALPHABET={DIGIT:DIGIT,ALPHA:ALPHA,ALPHA_DIGIT:ALPHA+ALPHA.toUpperCase()+DIGIT},generateString=(t=16,e=ALPHABET.ALPHA_DIGIT)=>{let n="";const{length:r}=e;for(;t--;)n+=e[Math.random()*r|0];return n};function isSpecCompliantForm(t){return!!(t&&isFunction(t.append)&&"FormData"===t[Symbol.toStringTag]&&t[Symbol.iterator])}const toJSONObject=t=>{const e=new Array(10),n=(t,r)=>{if(isObject$1(t)){if(e.indexOf(t)>=0)return;if(!("toJSON"in t)){e[r]=t;const o=isArray(t)?[]:{};return forEach(t,((t,e)=>{const i=n(t,r+1);!isUndefined(i)&&(o[e]=i)})),e[r]=void 0,o}}return t};return n(t,0)},isAsyncFn=kindOfTest("AsyncFunction"),isThenable=t=>t&&(isObject$1(t)||isFunction(t))&&isFunction(t.then)&&isFunction(t.catch);var utils={isArray:isArray,isArrayBuffer:isArrayBuffer,isBuffer:isBuffer,isFormData:isFormData,isArrayBufferView:isArrayBufferView,isString:isString,isNumber:isNumber,isBoolean:isBoolean,isObject:isObject$1,isPlainObject:isPlainObject,isUndefined:isUndefined,isDate:isDate,isFile:isFile,isBlob:isBlob,isRegExp:isRegExp,isFunction:isFunction,isStream:isStream,isURLSearchParams:isURLSearchParams,isTypedArray:isTypedArray,isFileList:isFileList,forEach:forEach,merge:merge,extend:extend,trim:trim,stripBOM:stripBOM,inherits:inherits,toFlatObject:toFlatObject,kindOf:kindOf,kindOfTest:kindOfTest,endsWith:endsWith,toArray:toArray,forEachEntry:forEachEntry,matchAll:matchAll,isHTMLForm:isHTMLForm,hasOwnProperty:hasOwnProperty,hasOwnProp:hasOwnProperty,reduceDescriptors:reduceDescriptors,freezeMethods:freezeMethods,toObjectSet:toObjectSet,toCamelCase:toCamelCase,noop:noop,toFiniteNumber:toFiniteNumber,findKey:findKey,global:_global,isContextDefined:isContextDefined,ALPHABET:ALPHABET,generateString:generateString,isSpecCompliantForm:isSpecCompliantForm,toJSONObject:toJSONObject,isAsyncFn:isAsyncFn,isThenable:isThenable};function AxiosError(t,e,n,r,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack,this.message=t,this.name="AxiosError",e&&(this.code=e),n&&(this.config=n),r&&(this.request=r),o&&(this.response=o)}utils.inherits(AxiosError,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:utils.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const prototype$1=AxiosError.prototype,descriptors={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach((t=>{descriptors[t]={value:t}})),Object.defineProperties(AxiosError,descriptors),Object.defineProperty(prototype$1,"isAxiosError",{value:!0}),AxiosError.from=(t,e,n,r,o,i)=>{const a=Object.create(prototype$1);return utils.toFlatObject(t,a,(function(t){return t!==Error.prototype}),(t=>"isAxiosError"!==t)),AxiosError.call(a,t.message,e,n,r,o),a.cause=t,a.name=t.name,i&&Object.assign(a,i),a};var httpAdapter=null;function isVisitable(t){return utils.isPlainObject(t)||utils.isArray(t)}function removeBrackets(t){return utils.endsWith(t,"[]")?t.slice(0,-2):t}function renderKey(t,e,n){return t?t.concat(e).map((function(t,e){return t=removeBrackets(t),!n&&e?"["+t+"]":t})).join(n?".":""):e}function isFlatArray(t){return utils.isArray(t)&&!t.some(isVisitable)}const predicates=utils.toFlatObject(utils,{},null,(function(t){return/^is[A-Z]/.test(t)}));function toFormData(t,e,n){if(!utils.isObject(t))throw new TypeError("target must be an object");e=e||new FormData;const r=(n=utils.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,(function(t,e){return!utils.isUndefined(e[t])}))).metaTokens,o=n.visitor||u,i=n.dots,a=n.indexes,s=(n.Blob||"undefined"!=typeof Blob&&Blob)&&utils.isSpecCompliantForm(e);if(!utils.isFunction(o))throw new TypeError("visitor must be a function");function c(t){if(null===t)return"";if(utils.isDate(t))return t.toISOString();if(!s&&utils.isBlob(t))throw new AxiosError("Blob is not supported. Use a Buffer instead.");return utils.isArrayBuffer(t)||utils.isTypedArray(t)?s&&"function"==typeof Blob?new Blob([t]):Buffer.from(t):t}function u(t,n,o){let s=t;if(t&&!o&&"object"==typeof t)if(utils.endsWith(n,"{}"))n=r?n:n.slice(0,-2),t=JSON.stringify(t);else if(utils.isArray(t)&&isFlatArray(t)||(utils.isFileList(t)||utils.endsWith(n,"[]"))&&(s=utils.toArray(t)))return n=removeBrackets(n),s.forEach((function(t,r){!utils.isUndefined(t)&&null!==t&&e.append(!0===a?renderKey([n],r,i):null===a?n:n+"[]",c(t))})),!1;return!!isVisitable(t)||(e.append(renderKey(o,n,i),c(t)),!1)}const l=[],p=Object.assign(predicates,{defaultVisitor:u,convertValue:c,isVisitable:isVisitable});if(!utils.isObject(t))throw new TypeError("data must be an object");return function t(n,r){if(!utils.isUndefined(n)){if(-1!==l.indexOf(n))throw Error("Circular reference detected in "+r.join("."));l.push(n),utils.forEach(n,(function(n,i){!0===(!(utils.isUndefined(n)||null===n)&&o.call(e,n,utils.isString(i)?i.trim():i,r,p))&&t(n,r?r.concat(i):[i])})),l.pop()}}(t),e}function encode$1(t){const e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(t).replace(/[!'()~]|%20|%00/g,(function(t){return e[t]}))}function AxiosURLSearchParams(t,e){this._pairs=[],t&&toFormData(t,this,e)}const prototype=AxiosURLSearchParams.prototype;function encode(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function buildURL(t,e,n){if(!e)return t;const r=n&&n.encode||encode,o=n&&n.serialize;let i;if(i=o?o(e,n):utils.isURLSearchParams(e)?e.toString():new AxiosURLSearchParams(e,n).toString(r),i){const e=t.indexOf("#");-1!==e&&(t=t.slice(0,e)),t+=(-1===t.indexOf("?")?"?":"&")+i}return t}prototype.append=function(t,e){this._pairs.push([t,e])},prototype.toString=function(t){const e=t?function(e){return t.call(this,e,encode$1)}:encode$1;return this._pairs.map((function(t){return e(t[0])+"="+e(t[1])}),"").join("&")};class InterceptorManager{constructor(){this.handlers=[]}use(t,e,n){return this.handlers.push({fulfilled:t,rejected:e,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){utils.forEach(this.handlers,(function(e){null!==e&&t(e)}))}}var InterceptorManager$1=InterceptorManager,transitionalDefaults={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},URLSearchParams$1="undefined"!=typeof URLSearchParams?URLSearchParams:AxiosURLSearchParams,FormData$1="undefined"!=typeof FormData?FormData:null,Blob$1="undefined"!=typeof Blob?Blob:null;const isStandardBrowserEnv=(()=>{let t;return("undefined"==typeof navigator||"ReactNative"!==(t=navigator.product)&&"NativeScript"!==t&&"NS"!==t)&&("undefined"!=typeof window&&"undefined"!=typeof document)})(),isStandardBrowserWebWorkerEnv="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts;var platform={isBrowser:!0,classes:{URLSearchParams:URLSearchParams$1,FormData:FormData$1,Blob:Blob$1},isStandardBrowserEnv:isStandardBrowserEnv,isStandardBrowserWebWorkerEnv:isStandardBrowserWebWorkerEnv,protocols:["http","https","file","blob","url","data"]};function toURLEncodedForm(t,e){return toFormData(t,new platform.classes.URLSearchParams,Object.assign({visitor:function(t,e,n,r){return platform.isNode&&utils.isBuffer(t)?(this.append(e,t.toString("base64")),!1):r.defaultVisitor.apply(this,arguments)}},e))}function parsePropPath(t){return utils.matchAll(/\w+|\[(\w*)]/g,t).map((t=>"[]"===t[0]?"":t[1]||t[0]))}function arrayToObject(t){const e={},n=Object.keys(t);let r;const o=n.length;let i;for(r=0;r<o;r++)i=n[r],e[i]=t[i];return e}function formDataToJSON(t){function e(t,n,r,o){let i=t[o++];const a=Number.isFinite(+i),s=o>=t.length;if(i=!i&&utils.isArray(r)?r.length:i,s)return utils.hasOwnProp(r,i)?r[i]=[r[i],n]:r[i]=n,!a;r[i]&&utils.isObject(r[i])||(r[i]=[]);return e(t,n,r[i],o)&&utils.isArray(r[i])&&(r[i]=arrayToObject(r[i])),!a}if(utils.isFormData(t)&&utils.isFunction(t.entries)){const n={};return utils.forEachEntry(t,((t,r)=>{e(parsePropPath(t),r,n,0)})),n}return null}function stringifySafely(t,e,n){if(utils.isString(t))try{return(e||JSON.parse)(t),utils.trim(t)}catch(t){if("SyntaxError"!==t.name)throw t}return(n||JSON.stringify)(t)}const defaults={transitional:transitionalDefaults,adapter:["xhr","http"],transformRequest:[function(t,e){const n=e.getContentType()||"",r=n.indexOf("application/json")>-1,o=utils.isObject(t);o&&utils.isHTMLForm(t)&&(t=new FormData(t));if(utils.isFormData(t))return r&&r?JSON.stringify(formDataToJSON(t)):t;if(utils.isArrayBuffer(t)||utils.isBuffer(t)||utils.isStream(t)||utils.isFile(t)||utils.isBlob(t))return t;if(utils.isArrayBufferView(t))return t.buffer;if(utils.isURLSearchParams(t))return e.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let i;if(o){if(n.indexOf("application/x-www-form-urlencoded")>-1)return toURLEncodedForm(t,this.formSerializer).toString();if((i=utils.isFileList(t))||n.indexOf("multipart/form-data")>-1){const e=this.env&&this.env.FormData;return toFormData(i?{"files[]":t}:t,e&&new e,this.formSerializer)}}return o||r?(e.setContentType("application/json",!1),stringifySafely(t)):t}],transformResponse:[function(t){const e=this.transitional||defaults.transitional,n=e&&e.forcedJSONParsing,r="json"===this.responseType;if(t&&utils.isString(t)&&(n&&!this.responseType||r)){const n=!(e&&e.silentJSONParsing)&&r;try{return JSON.parse(t)}catch(t){if(n){if("SyntaxError"===t.name)throw AxiosError.from(t,AxiosError.ERR_BAD_RESPONSE,this,null,this.response);throw t}}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:platform.classes.FormData,Blob:platform.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};utils.forEach(["delete","get","head","post","put","patch"],(t=>{defaults.headers[t]={}}));var defaults$1=defaults;const ignoreDuplicateOf=utils.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]);var parseHeaders=t=>{const e={};let n,r,o;return t&&t.split("\n").forEach((function(t){o=t.indexOf(":"),n=t.substring(0,o).trim().toLowerCase(),r=t.substring(o+1).trim(),!n||e[n]&&ignoreDuplicateOf[n]||("set-cookie"===n?e[n]?e[n].push(r):e[n]=[r]:e[n]=e[n]?e[n]+", "+r:r)})),e};const $internals=Symbol("internals");function normalizeHeader(t){return t&&String(t).trim().toLowerCase()}function normalizeValue(t){return!1===t||null==t?t:utils.isArray(t)?t.map(normalizeValue):String(t)}function parseTokens(t){const e=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(t);)e[r[1]]=r[2];return e}const isValidHeaderName=t=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(t.trim());function matchHeaderValue(t,e,n,r,o){return utils.isFunction(r)?r.call(this,e,n):(o&&(e=n),utils.isString(e)?utils.isString(r)?-1!==e.indexOf(r):utils.isRegExp(r)?r.test(e):void 0:void 0)}function formatHeader(t){return t.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,((t,e,n)=>e.toUpperCase()+n))}function buildAccessors(t,e){const n=utils.toCamelCase(" "+e);["get","set","has"].forEach((r=>{Object.defineProperty(t,r+n,{value:function(t,n,o){return this[r].call(this,e,t,n,o)},configurable:!0})}))}class AxiosHeaders{constructor(t){t&&this.set(t)}set(t,e,n){const r=this;function o(t,e,n){const o=normalizeHeader(e);if(!o)throw new Error("header name must be a non-empty string");const i=utils.findKey(r,o);(!i||void 0===r[i]||!0===n||void 0===n&&!1!==r[i])&&(r[i||e]=normalizeValue(t))}const i=(t,e)=>utils.forEach(t,((t,n)=>o(t,n,e)));return utils.isPlainObject(t)||t instanceof this.constructor?i(t,e):utils.isString(t)&&(t=t.trim())&&!isValidHeaderName(t)?i(parseHeaders(t),e):null!=t&&o(e,t,n),this}get(t,e){if(t=normalizeHeader(t)){const n=utils.findKey(this,t);if(n){const t=this[n];if(!e)return t;if(!0===e)return parseTokens(t);if(utils.isFunction(e))return e.call(this,t,n);if(utils.isRegExp(e))return e.exec(t);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,e){if(t=normalizeHeader(t)){const n=utils.findKey(this,t);return!(!n||void 0===this[n]||e&&!matchHeaderValue(this,this[n],n,e))}return!1}delete(t,e){const n=this;let r=!1;function o(t){if(t=normalizeHeader(t)){const o=utils.findKey(n,t);!o||e&&!matchHeaderValue(n,n[o],o,e)||(delete n[o],r=!0)}}return utils.isArray(t)?t.forEach(o):o(t),r}clear(t){const e=Object.keys(this);let n=e.length,r=!1;for(;n--;){const o=e[n];t&&!matchHeaderValue(this,this[o],o,t,!0)||(delete this[o],r=!0)}return r}normalize(t){const e=this,n={};return utils.forEach(this,((r,o)=>{const i=utils.findKey(n,o);if(i)return e[i]=normalizeValue(r),void delete e[o];const a=t?formatHeader(o):String(o).trim();a!==o&&delete e[o],e[a]=normalizeValue(r),n[a]=!0})),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const e=Object.create(null);return utils.forEach(this,((n,r)=>{null!=n&&!1!==n&&(e[r]=t&&utils.isArray(n)?n.join(", "):n)})),e}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map((([t,e])=>t+": "+e)).join("\n")}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...e){const n=new this(t);return e.forEach((t=>n.set(t))),n}static accessor(t){const e=(this[$internals]=this[$internals]={accessors:{}}).accessors,n=this.prototype;function r(t){const r=normalizeHeader(t);e[r]||(buildAccessors(n,t),e[r]=!0)}return utils.isArray(t)?t.forEach(r):r(t),this}}AxiosHeaders.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),utils.reduceDescriptors(AxiosHeaders.prototype,(({value:t},e)=>{let n=e[0].toUpperCase()+e.slice(1);return{get:()=>t,set(t){this[n]=t}}})),utils.freezeMethods(AxiosHeaders);var AxiosHeaders$1=AxiosHeaders;function transformData(t,e){const n=this||defaults$1,r=e||n,o=AxiosHeaders$1.from(r.headers);let i=r.data;return utils.forEach(t,(function(t){i=t.call(n,i,o.normalize(),e?e.status:void 0)})),o.normalize(),i}function isCancel(t){return!(!t||!t.__CANCEL__)}function CanceledError(t,e,n){AxiosError.call(this,null==t?"canceled":t,AxiosError.ERR_CANCELED,e,n),this.name="CanceledError"}function settle(t,e,n){const r=n.config.validateStatus;n.status&&r&&!r(n.status)?e(new AxiosError("Request failed with status code "+n.status,[AxiosError.ERR_BAD_REQUEST,AxiosError.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n)):t(n)}utils.inherits(CanceledError,AxiosError,{__CANCEL__:!0});var cookies=platform.isStandardBrowserEnv?{write:function(t,e,n,r,o,i){const a=[];a.push(t+"="+encodeURIComponent(e)),utils.isNumber(n)&&a.push("expires="+new Date(n).toGMTString()),utils.isString(r)&&a.push("path="+r),utils.isString(o)&&a.push("domain="+o),!0===i&&a.push("secure"),document.cookie=a.join("; ")},read:function(t){const e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove:function(t){this.write(t,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}};function isAbsoluteURL(t){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)}function combineURLs(t,e){return e?t.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,""):t}function buildFullPath(t,e){return t&&!isAbsoluteURL(e)?combineURLs(t,e):e}var isURLSameOrigin=platform.isStandardBrowserEnv?function(){const t=/(msie|trident)/i.test(navigator.userAgent),e=document.createElement("a");let n;function r(n){let r=n;return t&&(e.setAttribute("href",r),r=e.href),e.setAttribute("href",r),{href:e.href,protocol:e.protocol?e.protocol.replace(/:$/,""):"",host:e.host,search:e.search?e.search.replace(/^\?/,""):"",hash:e.hash?e.hash.replace(/^#/,""):"",hostname:e.hostname,port:e.port,pathname:"/"===e.pathname.charAt(0)?e.pathname:"/"+e.pathname}}return n=r(window.location.href),function(t){const e=utils.isString(t)?r(t):t;return e.protocol===n.protocol&&e.host===n.host}}():function(){return!0};function parseProtocol(t){const e=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return e&&e[1]||""}function speedometer(t,e){t=t||10;const n=new Array(t),r=new Array(t);let o,i=0,a=0;return e=void 0!==e?e:1e3,function(s){const c=Date.now(),u=r[a];o||(o=c),n[i]=s,r[i]=c;let l=a,p=0;for(;l!==i;)p+=n[l++],l%=t;if(i=(i+1)%t,i===a&&(a=(a+1)%t),c-o<e)return;const f=u&&c-u;return f?Math.round(1e3*p/f):void 0}}function progressEventReducer(t,e){let n=0;const r=speedometer(50,250);return o=>{const i=o.loaded,a=o.lengthComputable?o.total:void 0,s=i-n,c=r(s);n=i;const u={loaded:i,total:a,progress:a?i/a:void 0,bytes:s,rate:c||void 0,estimated:c&&a&&i<=a?(a-i)/c:void 0,event:o};u[e?"download":"upload"]=!0,t(u)}}const isXHRAdapterSupported="undefined"!=typeof XMLHttpRequest;var xhrAdapter=isXHRAdapterSupported&&function(t){return new Promise((function(e,n){let r=t.data;const o=AxiosHeaders$1.from(t.headers).normalize(),i=t.responseType;let a,s;function c(){t.cancelToken&&t.cancelToken.unsubscribe(a),t.signal&&t.signal.removeEventListener("abort",a)}utils.isFormData(r)&&(platform.isStandardBrowserEnv||platform.isStandardBrowserWebWorkerEnv?o.setContentType(!1):o.getContentType(/^\s*multipart\/form-data/)?utils.isString(s=o.getContentType())&&o.setContentType(s.replace(/^\s*(multipart\/form-data);+/,"$1")):o.setContentType("multipart/form-data"));let u=new XMLHttpRequest;if(t.auth){const e=t.auth.username||"",n=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";o.set("Authorization","Basic "+btoa(e+":"+n))}const l=buildFullPath(t.baseURL,t.url);function p(){if(!u)return;const r=AxiosHeaders$1.from("getAllResponseHeaders"in u&&u.getAllResponseHeaders());settle((function(t){e(t),c()}),(function(t){n(t),c()}),{data:i&&"text"!==i&&"json"!==i?u.response:u.responseText,status:u.status,statusText:u.statusText,headers:r,config:t,request:u}),u=null}if(u.open(t.method.toUpperCase(),buildURL(l,t.params,t.paramsSerializer),!0),u.timeout=t.timeout,"onloadend"in u?u.onloadend=p:u.onreadystatechange=function(){u&&4===u.readyState&&(0!==u.status||u.responseURL&&0===u.responseURL.indexOf("file:"))&&setTimeout(p)},u.onabort=function(){u&&(n(new AxiosError("Request aborted",AxiosError.ECONNABORTED,t,u)),u=null)},u.onerror=function(){n(new AxiosError("Network Error",AxiosError.ERR_NETWORK,t,u)),u=null},u.ontimeout=function(){let e=t.timeout?"timeout of "+t.timeout+"ms exceeded":"timeout exceeded";const r=t.transitional||transitionalDefaults;t.timeoutErrorMessage&&(e=t.timeoutErrorMessage),n(new AxiosError(e,r.clarifyTimeoutError?AxiosError.ETIMEDOUT:AxiosError.ECONNABORTED,t,u)),u=null},platform.isStandardBrowserEnv){const e=isURLSameOrigin(l)&&t.xsrfCookieName&&cookies.read(t.xsrfCookieName);e&&o.set(t.xsrfHeaderName,e)}void 0===r&&o.setContentType(null),"setRequestHeader"in u&&utils.forEach(o.toJSON(),(function(t,e){u.setRequestHeader(e,t)})),utils.isUndefined(t.withCredentials)||(u.withCredentials=!!t.withCredentials),i&&"json"!==i&&(u.responseType=t.responseType),"function"==typeof t.onDownloadProgress&&u.addEventListener("progress",progressEventReducer(t.onDownloadProgress,!0)),"function"==typeof t.onUploadProgress&&u.upload&&u.upload.addEventListener("progress",progressEventReducer(t.onUploadProgress)),(t.cancelToken||t.signal)&&(a=e=>{u&&(n(!e||e.type?new CanceledError(null,t,u):e),u.abort(),u=null)},t.cancelToken&&t.cancelToken.subscribe(a),t.signal&&(t.signal.aborted?a():t.signal.addEventListener("abort",a)));const f=parseProtocol(l);f&&-1===platform.protocols.indexOf(f)?n(new AxiosError("Unsupported protocol "+f+":",AxiosError.ERR_BAD_REQUEST,t)):u.send(r||null)}))};const knownAdapters={http:httpAdapter,xhr:xhrAdapter};utils.forEach(knownAdapters,((t,e)=>{if(t){try{Object.defineProperty(t,"name",{value:e})}catch(t){}Object.defineProperty(t,"adapterName",{value:e})}}));const renderReason=t=>`- ${t}`,isResolvedHandle=t=>utils.isFunction(t)||null===t||!1===t;var adapters={getAdapter:t=>{t=utils.isArray(t)?t:[t];const{length:e}=t;let n,r;const o={};for(let i=0;i<e;i++){let e;if(n=t[i],r=n,!isResolvedHandle(n)&&(r=knownAdapters[(e=String(n)).toLowerCase()],void 0===r))throw new AxiosError(`Unknown adapter '${e}'`);if(r)break;o[e||"#"+i]=r}if(!r){const t=Object.entries(o).map((([t,e])=>`adapter ${t} `+(!1===e?"is not supported by the environment":"is not available in the build")));throw new AxiosError("There is no suitable adapter to dispatch the request "+(e?t.length>1?"since :\n"+t.map(renderReason).join("\n"):" "+renderReason(t[0]):"as no adapter specified"),"ERR_NOT_SUPPORT")}return r},adapters:knownAdapters};function throwIfCancellationRequested(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new CanceledError(null,t)}function dispatchRequest(t){throwIfCancellationRequested(t),t.headers=AxiosHeaders$1.from(t.headers),t.data=transformData.call(t,t.transformRequest),-1!==["post","put","patch"].indexOf(t.method)&&t.headers.setContentType("application/x-www-form-urlencoded",!1);return adapters.getAdapter(t.adapter||defaults$1.adapter)(t).then((function(e){return throwIfCancellationRequested(t),e.data=transformData.call(t,t.transformResponse,e),e.headers=AxiosHeaders$1.from(e.headers),e}),(function(e){return isCancel(e)||(throwIfCancellationRequested(t),e&&e.response&&(e.response.data=transformData.call(t,t.transformResponse,e.response),e.response.headers=AxiosHeaders$1.from(e.response.headers))),Promise.reject(e)}))}const headersToObject=t=>t instanceof AxiosHeaders$1?t.toJSON():t;function mergeConfig(t,e){e=e||{};const n={};function r(t,e,n){return utils.isPlainObject(t)&&utils.isPlainObject(e)?utils.merge.call({caseless:n},t,e):utils.isPlainObject(e)?utils.merge({},e):utils.isArray(e)?e.slice():e}function o(t,e,n){return utils.isUndefined(e)?utils.isUndefined(t)?void 0:r(void 0,t,n):r(t,e,n)}function i(t,e){if(!utils.isUndefined(e))return r(void 0,e)}function a(t,e){return utils.isUndefined(e)?utils.isUndefined(t)?void 0:r(void 0,t):r(void 0,e)}function s(n,o,i){return i in e?r(n,o):i in t?r(void 0,n):void 0}const c={url:i,method:i,data:i,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:s,headers:(t,e)=>o(headersToObject(t),headersToObject(e),!0)};return utils.forEach(Object.keys(Object.assign({},t,e)),(function(r){const i=c[r]||o,a=i(t[r],e[r],r);utils.isUndefined(a)&&i!==s||(n[r]=a)})),n}const VERSION="1.6.0",validators$1={};["object","boolean","number","function","string","symbol"].forEach(((t,e)=>{validators$1[t]=function(n){return typeof n===t||"a"+(e<1?"n ":" ")+t}}));const deprecatedWarnings={};function assertOptions(t,e,n){if("object"!=typeof t)throw new AxiosError("options must be an object",AxiosError.ERR_BAD_OPTION_VALUE);const r=Object.keys(t);let o=r.length;for(;o-- >0;){const i=r[o],a=e[i];if(a){const e=t[i],n=void 0===e||a(e,i,t);if(!0!==n)throw new AxiosError("option "+i+" must be "+n,AxiosError.ERR_BAD_OPTION_VALUE)}else if(!0!==n)throw new AxiosError("Unknown option "+i,AxiosError.ERR_BAD_OPTION)}}validators$1.transitional=function(t,e,n){function r(t,e){return"[Axios v"+VERSION+"] Transitional option '"+t+"'"+e+(n?". "+n:"")}return(n,o,i)=>{if(!1===t)throw new AxiosError(r(o," has been removed"+(e?" in "+e:"")),AxiosError.ERR_DEPRECATED);return e&&!deprecatedWarnings[o]&&(deprecatedWarnings[o]=!0,console.warn(r(o," has been deprecated since v"+e+" and will be removed in the near future"))),!t||t(n,o,i)}};var validator={assertOptions:assertOptions,validators:validators$1};const validators=validator.validators;class Axios{constructor(t){this.defaults=t,this.interceptors={request:new InterceptorManager$1,response:new InterceptorManager$1}}request(t,e){"string"==typeof t?(e=e||{}).url=t:e=t||{},e=mergeConfig(this.defaults,e);const{transitional:n,paramsSerializer:r,headers:o}=e;void 0!==n&&validator.assertOptions(n,{silentJSONParsing:validators.transitional(validators.boolean),forcedJSONParsing:validators.transitional(validators.boolean),clarifyTimeoutError:validators.transitional(validators.boolean)},!1),null!=r&&(utils.isFunction(r)?e.paramsSerializer={serialize:r}:validator.assertOptions(r,{encode:validators.function,serialize:validators.function},!0)),e.method=(e.method||this.defaults.method||"get").toLowerCase();let i=o&&utils.merge(o.common,o[e.method]);o&&utils.forEach(["delete","get","head","post","put","patch","common"],(t=>{delete o[t]})),e.headers=AxiosHeaders$1.concat(i,o);const a=[];let s=!0;this.interceptors.request.forEach((function(t){"function"==typeof t.runWhen&&!1===t.runWhen(e)||(s=s&&t.synchronous,a.unshift(t.fulfilled,t.rejected))}));const c=[];let u;this.interceptors.response.forEach((function(t){c.push(t.fulfilled,t.rejected)}));let l,p=0;if(!s){const t=[dispatchRequest.bind(this),void 0];for(t.unshift.apply(t,a),t.push.apply(t,c),l=t.length,u=Promise.resolve(e);p<l;)u=u.then(t[p++],t[p++]);return u}l=a.length;let f=e;for(p=0;p<l;){const t=a[p++],e=a[p++];try{f=t(f)}catch(t){e.call(this,t);break}}try{u=dispatchRequest.call(this,f)}catch(t){return Promise.reject(t)}for(p=0,l=c.length;p<l;)u=u.then(c[p++],c[p++]);return u}getUri(t){return buildURL(buildFullPath((t=mergeConfig(this.defaults,t)).baseURL,t.url),t.params,t.paramsSerializer)}}utils.forEach(["delete","get","head","options"],(function(t){Axios.prototype[t]=function(e,n){return this.request(mergeConfig(n||{},{method:t,url:e,data:(n||{}).data}))}})),utils.forEach(["post","put","patch"],(function(t){function e(e){return function(n,r,o){return this.request(mergeConfig(o||{},{method:t,headers:e?{"Content-Type":"multipart/form-data"}:{},url:n,data:r}))}}Axios.prototype[t]=e(),Axios.prototype[t+"Form"]=e(!0)}));var Axios$1=Axios;class CancelToken{constructor(t){if("function"!=typeof t)throw new TypeError("executor must be a function.");let e;this.promise=new Promise((function(t){e=t}));const n=this;this.promise.then((t=>{if(!n._listeners)return;let e=n._listeners.length;for(;e-- >0;)n._listeners[e](t);n._listeners=null})),this.promise.then=t=>{let e;const r=new Promise((t=>{n.subscribe(t),e=t})).then(t);return r.cancel=function(){n.unsubscribe(e)},r},t((function(t,r,o){n.reason||(n.reason=new CanceledError(t,r,o),e(n.reason))}))}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){this.reason?t(this.reason):this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const e=this._listeners.indexOf(t);-1!==e&&this._listeners.splice(e,1)}static source(){let t;return{token:new CancelToken((function(e){t=e})),cancel:t}}}var CancelToken$1=CancelToken;function spread(t){return function(e){return t.apply(null,e)}}function isAxiosError(t){return utils.isObject(t)&&!0===t.isAxiosError}const HttpStatusCode={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(HttpStatusCode).forEach((([t,e])=>{HttpStatusCode[e]=t}));var HttpStatusCode$1=HttpStatusCode;function createInstance(t){const e=new Axios$1(t),n=bind(Axios$1.prototype.request,e);return utils.extend(n,Axios$1.prototype,e,{allOwnKeys:!0}),utils.extend(n,e,null,{allOwnKeys:!0}),n.create=function(e){return createInstance(mergeConfig(t,e))},n}const axios=createInstance(defaults$1);axios.Axios=Axios$1,axios.CanceledError=CanceledError,axios.CancelToken=CancelToken$1,axios.isCancel=isCancel,axios.VERSION=VERSION,axios.toFormData=toFormData,axios.AxiosError=AxiosError,axios.Cancel=axios.CanceledError,axios.all=function(t){return Promise.all(t)},axios.spread=spread,axios.isAxiosError=isAxiosError,axios.mergeConfig=mergeConfig,axios.AxiosHeaders=AxiosHeaders$1,axios.formToJSON=t=>formDataToJSON(utils.isHTMLForm(t)?new FormData(t):t),axios.getAdapter=adapters.getAdapter,axios.HttpStatusCode=HttpStatusCode$1,axios.default=axios;var axios$1=axios,script=defineComponent({props:{msg:String},setup:()=>({show:ref(!0)})}),img="data:image/gif;base64,R0lGODlhIAAgALMAAP///7Ozs/v7+9bW1uHh4fLy8rq6uoGBgTQ0NAEBARsbG8TExJeXl/39/VRUVAAAACH/C05FVFNDQVBFMi4wAwEAAAAh+QQFBQAAACwAAAAAIAAgAAAE5xDISSlLrOrNp0pKNRCdFhxVolJLEJQUoSgOpSYT4RowNSsvyW1icA16k8MMMRkCBjskBTFDAZyuAEkqCfxIQ2hgQRFvAQEEIjNxVDW6XNE4YagRjuBCwe60smQUDnd4Rz1ZAQZnFAGDd0hihh12CEE9kjAEVlycXIg7BAsMB6SlnJ87paqbSKiKoqusnbMdmDC2tXQlkUhziYtyWTxIfy6BE8WJt5YEvpJivxNaGmLHT0VnOgGYf0dZXS7APdpB309RnHOG5gDqXGLDaC457D1zZ/V/nmOM82XiHQjYKhKP1oZmADdEAAAh+QQFBQAAACwAAAAAGAAXAAAEchDISasKNeuJFKoHs4mUYlJIkmjIV54Soypsa0wmLSnqoTEtBw52mG0AjhYpBxioEqRNy8V0qFzNw+GGwlJki4lBqx1IBgjMkRIghwjrzcDti2/Gh7D9qN774wQGAYOEfwCChIV/gYmDho+QkZKTR3p7EQAh+QQFBQAAACwBAAAAHQAOAAAEchDISWdANesNHHJZwE2DUSEo5SjKKB2HOKGYFLD1CB/DnEoIlkti2PlyuKGEATMBaAACSyGbEDYD4zN1YIEmh0SCQQgYehNmTNNaKsQJXmBuuEYPi9ECAU/UFnNzeUp9VBQEBoFOLmFxWHNoQw6RWEocEQAh+QQFBQAAACwHAAAAGQARAAAEaRDICdZZNOvNDsvfBhBDdpwZgohBgE3nQaki0AYEjEqOGmqDlkEnAzBUjhrA0CoBYhLVSkm4SaAAWkahCFAWTU0A4RxzFWJnzXFWJJWb9pTihRu5dvghl+/7NQmBggo/fYKHCX8AiAmEEQAh+QQFBQAAACwOAAAAEgAYAAAEZXCwAaq9ODAMDOUAI17McYDhWA3mCYpb1RooXBktmsbt944BU6zCQCBQiwPB4jAihiCK86irTB20qvWp7Xq/FYV4TNWNz4oqWoEIgL0HX/eQSLi69boCikTkE2VVDAp5d1p0CW4RACH5BAUFAAAALA4AAAASAB4AAASAkBgCqr3YBIMXvkEIMsxXhcFFpiZqBaTXisBClibgAnd+ijYGq2I4HAamwXBgNHJ8BEbzgPNNjz7LwpnFDLvgLGJMdnw/5DRCrHaE3xbKm6FQwOt1xDnpwCvcJgcJMgEIeCYOCQlrF4YmBIoJVV2CCXZvCooHbwGRcAiKcmFUJhEAIfkEBQUAAAAsDwABABEAHwAABHsQyAkGoRivELInnOFlBjeM1BCiFBdcbMUtKQdTN0CUJru5NJQrYMh5VIFTTKJcOj2HqJQRhEqvqGuU+uw6AwgEwxkOO55lxIihoDjKY8pBoThPxmpAYi+hKzoeewkTdHkZghMIdCOIhIuHfBMOjxiNLR4KCW1ODAlxSxEAIfkEBQUAAAAsCAAOABgAEgAABGwQyEkrCDgbYvvMoOF5ILaNaIoGKroch9hacD3MFMHUBzMHiBtgwJMBFolDB4GoGGBCACKRcAAUWAmzOWJQExysQsJgWj0KqvKalTiYPhp1LBFTtp10Is6mT5gdVFx1bRN8FTsVCAqDOB9+KhEAIfkEBQUAAAAsAgASAB0ADgAABHgQyEmrBePS4bQdQZBdR5IcHmWEgUFQgWKaKbWwwSIhc4LonsXhBSCsQoOSScGQDJiWwOHQnAxWBIYJNXEoFCiEWDI9jCzESey7GwMM5doEwW4jJoypQQ743u1WcTV0CgFzbhJ5XClfHYd/EwZnHoYVDgiOfHKQNREAIfkEBQUAAAAsAAAPABkAEQAABGeQqUQruDjrW3vaYCZ5X2ie6EkcKaooTAsi7ytnTq046BBsNcTvItz4AotMwKZBIC6H6CVAJaCcT0CUBTgaTg5nTCu9GKiDEMPJg5YBBOpwlnVzLwtqyKnZagZWahoMB2M3GgsHSRsRACH5BAUFAAAALAEACAARABgAAARcMKR0gL34npkUyyCAcAmyhBijkGi2UW02VHFt33iu7yiDIDaD4/erEYGDlu/nuBAOJ9Dvc2EcDgFAYIuaXS3bbOh6MIC5IAP5Eh5fk2exC4tpgwZyiyFgvhEMBBEAIfkEBQUAAAAsAAACAA4AHQAABHMQyAnYoViSlFDGXBJ808Ep5KRwV8qEg+pRCOeoioKMwJK0Ekcu54h9AoghKgXIMZgAApQZcCCu2Ax2O6NUud2pmJcyHA4L0uDM/ljYDCnGfGakJQE5YH0wUBYBAUYfBIFkHwaBgxkDgX5lgXpHAXcpBIsRADs=";const _withScopeId=t=>(pushScopeId("data-v-4779cb00"),t=t(),popScopeId(),t),_hoisted_1={class:"loadding"},_hoisted_2=_withScopeId((()=>createElementVNode("div",{class:"loadding-icon"},[createElementVNode("img",{src:img,alt:""})],-1))),_hoisted_3=[_hoisted_2];function render(t,e,n,r,o,i){return openBlock(),createElementBlock("div",_hoisted_1,[..._hoisted_3])}function styleInject(t,e){void 0===e&&(e={});var n=e.insertAt;if(t&&"undefined"!=typeof document){var r=document.head||document.getElementsByTagName("head")[0],o=document.createElement("style");o.type="text/css","top"===n&&r.firstChild?r.insertBefore(o,r.firstChild):r.appendChild(o),o.styleSheet?o.styleSheet.cssText=t:o.appendChild(document.createTextNode(t))}}var css_248z="\n.loadding[data-v-4779cb00] {\r\n width: 100%;\r\n height: 100%;\r\n position: fixed;\r\n top: 0;\r\n left: 0;\r\n background-color: rgba(255, 255, 255, 0.2);\n}\n.loadding-icon[data-v-4779cb00] {\r\n display: flex;\r\n align-items: center;\r\n justify-content: center;\r\n height: 100%;\n}\n.loadding-icon img[data-v-4779cb00] {\r\n display: block;\r\n width: 24px;\r\n height: 24px;\n}\r\n";styleInject(css_248z),script.render=render,script.__scopeId="data-v-4779cb00",script.__file="src/loadding/index.vue";var Loadding=function(){function t(){_classCallCheck(this,t),_defineProperty(this,"count",0),_defineProperty(this,"mountNode",null)}return _createClass(t,[{key:"open",value:function(){if(this.count++,!this.mountNode){var t=createVNode(script,{});this.mountNode=document.createElement("div"),render$1(t,this.mountNode),document.body.appendChild(this.mountNode)}}},{key:"close",value:function(){this.count--,this.count<=0&&(this.count=0,this.mountNode&&(document.body.removeChild(this.mountNode),this.mountNode=null))}}]),t}(),loadding=new Loadding,createAxiosInstance=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"spu",e=arguments.length>1?arguments[1]:void 0,n=axios$1.create({baseURL:"spu"===t?"/api/".concat(e.modulekey,"/").concat(e.moduleversion):""});return n.interceptors.request.use((function(t){if(get(t,"isShowLoading",!0)&&loadding.open(),get(t,"isSendToken",!0)){var e=login.getToken();null!=t&&t.headers&&e&&(t.headers.token=e)}return t}),(function(t){return Promise.reject(t)})),n.interceptors.response.use((function(e){get(e,"config.isShowLoading",!0)&&loadding.close();var n,r,o,i={code:404,data:"",msg:""};return"spu"===t?200===e.data.code?i={code:e.data.code,data:e.data.data,msg:e.data.msg}:(null==e||null===(n=e.data)||void 0===n||n.msg,get(e,"config.isShowErrorMessage",!0),i={code:e.data.code,data:e.data.data,msg:e.data.msg},Promise.reject(i)):"apaas"===t?i={code:e.status||200,data:(null===(r=e.data)||void 0===r?void 0:r.resp_data)||e.data,msg:(null===(o=e.data)||void 0===o?void 0:o.error_code)||""}:void 0}),(function(e){return get(e,"config.isShowLoading",!0)&&loadding.close(),get(e,"spu"===t?"response.data.msg":"response.data.error_code")||get(e,"response.statusText")||get(e,"message","网络异常,请稍后重试。"),get(e,"config.isShowErrorMessage",!0),Promise.reject(e)})),n},spuAxios=null,apaasAxios=null;function initAxios(t){spuAxios=createAxiosInstance("spu",t),apaasAxios=createAxiosInstance("apaas",t)}var CloudServ=function(){function t(){_classCallCheck(this,t),_defineProperty(this,"CLOUD_SERVE_KEY","cloudserv"),_defineProperty(this,"cacheStorage",null)}return _createClass(t,[{key:"get",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"storage";if(this.cacheStorage)return this.cacheStorage[t]||null;var e=lsProxy.getItem(this.CLOUD_SERVE_KEY);if(!e)return null;var n=JSON.parse(e);return this.cacheStorage=n,n[t]}},{key:"set",value:function(t){"object"===_typeof(t)&&(this.cacheStorage=t,t=JSON.stringify(t)),lsProxy.setItem(this.CLOUD_SERVE_KEY,t)}},{key:"getProvider",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"storage",e=this.get(t);return!!e&&e.cloudserv_storage_provider}},{key:"isAliyun",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"storage";return"aliyun"===this.getProvider(t)}},{key:"isAzure",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"storage";return"azure"===this.getProvider(t)}},{key:"isAwss3",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"storage";return"awss3"===this.getProvider(t)}},{key:"isHuawei",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"storage";return"huawei"===this.getProvider(t)}}]),t}(),CloudServ$1=new CloudServ,TenantInfo=function(){function t(){_classCallCheck(this,t)}var e,n;return _createClass(t,[{key:"get",value:(n=_asyncToGenerator(_regeneratorRuntime().mark((function t(e){var n,r;return _regeneratorRuntime().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,apaasAxios.get("/api/auth/tenantlist",{}).then((function(t){var e;return null==t||null===(e=t.data)||void 0===e?void 0:e.tenants}));case 3:if(!(n=t.sent)||!n.length){t.next=13;break}if(e){t.next=9;break}return t.abrupt("return",n[0]);case 9:return r=n.find((function(t){return t.code===e}))||null,t.abrupt("return",r);case 11:t.next=14;break;case 13:return t.abrupt("return",null);case 14:t.next=19;break;case 16:throw t.prev=16,t.t0=t.catch(0),new Error(t.t0.errorMsg);case 19:case"end":return t.stop()}}),t,null,[[0,16]])}))),function(t){return n.apply(this,arguments)})},{key:"save",value:function(t){t&&CloudServ$1.set(t)}},{key:"format",value:function(t){if(!t)return null;for(var e={},n=0,r=["storage","storage-1d","storage-1y","storage-3m"];n<r.length;n++){var o=r[n],i=t.cloudserv[o];i&&(e[o]={cloudserv_storage_provider:i.provider,cloudserv_storage_storagebucket:i.storagebucket,cloudserv_storage_storageendpoint:i.storageendpoint,cloudserv_storage_storageurl:i.storageurl,cloudserv_storage_accesskeyid:i.accesskeyid,cloudserv_storage_region:i.region})}return 0===Object.keys(e).length?null:e}},{key:"getAndSave",value:(e=_asyncToGenerator(_regeneratorRuntime().mark((function t(e){var n,r;return _regeneratorRuntime().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.get(e);case 2:if(n=t.sent){t.next=5;break}return t.abrupt("return");case 5:lsProxy.setItem("tenant",JSON.stringify(n)),(r=this.format(n))&&this.save(r);case 8:case"end":return t.stop()}}),t,this)}))),function(t){return e.apply(this,arguments)})}]),t}(),tenantInfo=new TenantInfo,Login=function(){function t(){_classCallCheck(this,t),_defineProperty(this,"cache",{}),_defineProperty(this,"refreshtokenTimer",null)}var e;return _createClass(t,[{key:"getData",value:function(t){if(this.cache[t])return this.cache[t];var e=lsProxy.getItem(t);return this.cache[t]=e,e}},{key:"setData",value:function(t,e){this.cache[t]=e,lsProxy.setItem(t,e)}},{key:"removeData",value:function(t){delete this.cache[t],lsProxy.removeItem(t)}},{key:"getEnvname",value:function(){return this.getData("envname")}},{key:"setEnvname",value:function(t){this.setData("envname",t)}},{key:"removeEnvname",value:function(){this.removeData("envname")}},{key:"getToken",value:function(){return this.getData("token")}},{key:"setToken",value:function(t){this.setData("token",t)}},{key:"removeToken",value:function(){this.removeData("token")}},{key:"getTokenExpires",value:function(){return this.getData("tokenexpires")}},{key:"setTokenExpires",value:function(t){this.setData("tokenexpires",t)}},{key:"removeTokenExpires",value:function(){this.removeData("tokenexpires")}},{key:"getRefreshToken",value:function(){return this.getData("refreshtoken")}},{key:"setRefreshToken",value:function(t){this.setData("refreshtoken",t)}},{key:"removeRefreshToken",value:function(){this.removeData("refreshtoken")}},{key:"updateToken",value:function(){var t=this;return apaasAxios.get("/api/auth/refreshtoken",{params:{refreshtoken:this.getRefreshToken()},isShowLoadding:!1,isShowErrorMessage:!1}).then((function(e){var n=null==e?void 0:e.data;n&&(t.setToken(n.token),t.setRefreshToken(n.refreshtoken),t.setTokenExpires(n.tokenexpires))}))}},{key:"startRefreshtoken",value:function(){var t=this;this.stopRefreshtoken();var e=this.checkLogin()?Number(this.getTokenExpires())-Date.now()-15e3:6e4;e>0&&(this.refreshtokenTimer=window.setTimeout(_asyncToGenerator(_regeneratorRuntime().mark((function e(){return _regeneratorRuntime().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!t.checkLogin()){e.next=3;break}return e.next=3,t.updateToken();case 3:t.startRefreshtoken();case 4:case"end":return e.stop()}}),e)}))),e))}},{key:"stopRefreshtoken",value:function(){clearTimeout(this.refreshtokenTimer),this.refreshtokenTimer=null}},{key:"getUser",value:function(t){var e=this.getData("user"),n=e?JSON.parse(e):null;return t?n&&n[t]||"":n}},{key:"setUser",value:function(t){var e;for(var n in e="string"==typeof t?JSON.parse(t):cloneDeep(t))e[n.toLowerCase()]=e[n];this.setData("user",JSON.stringify(e))}},{key:"setUserByToken",value:function(t){var e=this.jwtDecode(t);e&&e.LoginUser?this.setUser(e.LoginUser):this.removeUser()}},{key:"removeUser",value:function(){this.removeData("user")}},{key:"jwtDecode",value:function(t){if(!t)return console.error("token为空 jwt解析token出错"),null;try{return o(t)}catch(e){return console.error("jwt解析token出错",t,e),null}}},{key:"checkLogin",value:function(){var t=!1,e=this.getToken(),n=this.getRefreshToken(),r=this.getTokenExpires(),o=Date.now();if(e&&n&&r&&Number(r)>o){var i=this.jwtDecode(e);t=!(null==i||!i.exp)&&Number(i.exp+"000")>o}return t}},{key:"singleLogin",value:(e=_asyncToGenerator(_regeneratorRuntime().mark((function t(e){var n,r,o,i;return _regeneratorRuntime().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e=cloneDeep(e),!(n=e.token)){t.next=15;break}return this.setToken(n),this.setUserByToken(n),r=e.refreshtoken,o=e.tokenexpires,r&&this.setRefreshToken(r),o&&this.setTokenExpires(o),(i=e.context)&&(i=decodeURIComponent(i),lsProxy.setItem("context",i),delete e.context),t.next=13,tenantInfo.getAndSave();case 13:t.next=16;break;case 15:console.error("query 中没有 token,无法单点登录。");case 16:return delete e.token,delete e.refreshtoken,delete e.tokenexpires,delete e.context,t.abrupt("return",{query:e});case 21:case"end":return t.stop()}}),t,this)}))),function(t){return e.apply(this,arguments)})}]),t}(),login=new Login,commonjsGlobal="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function getDefaultExportFromCjs(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var vconsole_min={exports:{}};
|
|
2
2
|
/*!
|
|
3
3
|
* vConsole v3.15.1 (https://github.com/Tencent/vConsole)
|
|
4
4
|
*
|
|
@@ -11,4 +11,4 @@ import{defineComponent,ref,openBlock,createElementBlock,pushScopeId,popScopeId,c
|
|
|
11
11
|
/*!
|
|
12
12
|
* Powered by uglifiyJS v2.6.1, Build by http://tool.uis.cc/jsmin/
|
|
13
13
|
* build time: Wed Jun 30 2021 11:54:36 GMT+0800 (中国标准时间)
|
|
14
|
-
*/aliyunOssSdk_apaas_min.exports=function(){var t;return function(){function t(e,n,r){function o(a,s){if(!n[a]){if(!e[a]){var c="function"==typeof commonjsRequire&&commonjsRequire;if(!s&&c)return c(a,!0);if(i)return i(a,!0);var u=new Error("Cannot find module '"+a+"'");throw u.code="MODULE_NOT_FOUND",u}var l=n[a]={exports:{}};e[a][0].call(l.exports,(function(t){return o(e[a][1][t]||t)}),l,l.exports,t,e,n,r)}return n[a].exports}for(var i="function"==typeof commonjsRequire&&commonjsRequire,a=0;a<r.length;a++)o(r[a]);return o}return t}()({1:[function(t,e,n){var r=t("./browser/client");r.Buffer=t("buffer").Buffer,r.co=t("co"),r.urllib=t("../shims/xhr"),r.version=t("./browser/version").version,e.exports=r},{"../shims/xhr":244,"./browser/client":2,"./browser/version":5,buffer:38,co:41}],2:[function(t,e,n){(function(n,r){function o(t){return t&&t.__esModule?t:{default:t}}function i(t,e){return t[e]||t[e.toLowerCase()]}function a(t,e){var n=x.parse(t);if(!n.protocol){var r=e?"https://":"http://";n=x.parse(r+t)}if("http:"!==n.protocol&&"https:"!==n.protocol)throw new Error("Endpoint protocol must be http or https.");return n}function s(t,e,n){var r=n?"https://":"http://",o=e?"-internal.aliyuncs.com":".aliyuncs.com",i="vpc100-oss-cn-";return t.substr(0,i.length)===i&&(o=".aliyuncs.com"),x.parse(r+t+o)}function c(){return document&&document.location&&"https:"===document.location.protocol}function u(t,e){return this instanceof u?(t&&t.inited?this.options=t:this.options=u.initOptions(t),this.options.cancelFlag=!1,this.options.urllib?this.urllib=this.options.urllib:(this.urllib=E,this.agent=this.options.agent||L),this.ctx=e,this.userAgent=this._getUserAgent(),void(this.options.amendTimeSkewed=0)):new u(t,e)}var l=o(t("babel-runtime/regenerator")),p=o(t("babel-runtime/core-js/object/keys")),f=t("debug")("ali-oss"),d=t("./../../shims/crypto/crypto.js"),h=t("path"),m=t("copy-to"),g=t("mime"),v=t("xml2js"),y=t("humanize-ms"),b=t("agentkeepalive"),w=t("merge-descriptors"),x=t("url"),_=t("is-type-of"),A=t("platform"),k=t("utility"),E=t("urllib"),S=t("./version"),T=t("dateformat"),C=t("bowser"),P=t("../common/signUtils"),O=t("../common/utils"),L=new b;e.exports=u,u.initOptions=function(t){if(!t||!t.accessKeyId||!t.accessKeySecret)throw new Error("require accessKeyId, accessKeySecret");var e={region:"oss-cn-hangzhou",internal:!1,secure:c(),bucket:null,endpoint:null,cname:!1};if((0,p.default)(t).forEach((function(n){void 0!==t[n]&&(e[n]=t[n])})),e.accessKeyId=e.accessKeyId.trim(),e.accessKeySecret=e.accessKeySecret.trim(),e.timeout&&(e.timeout=y(e.timeout)),e.endpoint)e.endpoint=a(e.endpoint,e.secure);else{if(!e.region)throw new Error("require options.endpoint or options.region");e.endpoint=s(e.region,e.internal,e.secure)}return e.inited=!0,e};var M=u.prototype;w(M,t("./object")),w(M,t("./managed_upload")),w(M,t("../common/multipart")),w(M,t("../common/thunkpool.js")),u.Wrapper=t("./wrapper"),M.signature=function(t){return f("authorization stringToSign: %s",t),P.computeSignature(this.options.accessKeySecret,t)},M.authorization=function(t,e,n,r){var o=P.buildCanonicalString(t.toUpperCase(),e,{headers:r,parameters:n});return P.authorization(this.options.accessKeyId,this.options.accessKeySecret,o)},M.createRequest=function(t){var e={"x-oss-date":T(+new Date+this.options.amendTimeSkewed,"UTC:ddd, dd mmm yyyy HH:MM:ss 'GMT'"),"x-oss-user-agent":this.userAgent};this.options.stsToken&&(e["x-oss-security-token"]=this.options.stsToken),m(t.headers).to(e),i(e,"Content-Type")||(t.mime===g.default_type&&(t.mime=""),t.mime&&t.mime.indexOf("/")>0?e["Content-Type"]=t.mime:e["Content-Type"]=g.getType(t.mime||h.extname(t.object||""))||"application/octet-stream"),t.content&&(e["Content-Md5"]=d.createHash("md5").update(new r(t.content,"utf8")).digest("base64"),e["Content-Length"]||(e["Content-Length"]=t.content.length));var n=this._getResource(t);e.authorization=this.authorization(t.method,n,t.subres,e);var o=this._getReqUrl(t);f("request %s %s, with headers %j, !!stream: %s",t.method,o,e,!!t.stream);var a=t.timeout||this.options.timeout;return{url:o,params:{agent:this.agent,method:t.method,content:t.content,stream:t.stream,headers:e,timeout:a,writeStream:t.writeStream,customResponse:t.customResponse,ctx:t.ctx||this.ctx}}},M.request=l.default.mark((function t(e){var n,r,o,i;return l.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=this.createRequest(e),r=void 0,o=void 0,t.prev=3,t.next=6,this.urllib.request(n.url,n.params);case 6:r=t.sent,f("response %s %s, got %s, headers: %j",e.method,n.url,r.status,r.headers),t.next=13;break;case 10:t.prev=10,t.t0=t.catch(3),o=t.t0;case 13:if(i=void 0,!r||!e.successStatuses||-1!==e.successStatuses.indexOf(r.status)){t.next=26;break}return t.next=17,this.requestError(r);case 17:if("RequestTimeTooSkewed"!==(i=t.sent).code){t.next=23;break}return this.options.amendTimeSkewed=+new Date(i.serverTime)-new Date,t.next=22,this.request(e);case 22:return t.abrupt("return",t.sent);case 23:i.params=e,t.next=30;break;case 26:if(!o){t.next=30;break}return t.next=29,this.requestError(o);case 29:i=t.sent;case 30:if(!i){t.next=32;break}throw i;case 32:if(!e.xmlResponse){t.next=36;break}return t.next=35,this.parseXML(r.data);case 35:r.data=t.sent;case 36:return t.abrupt("return",r);case 37:case"end":return t.stop()}}),t,this,[[3,10]])})),M._getResource=function(t){var e="/";return t.bucket&&(e+=t.bucket+"/"),t.object&&(e+=t.object),e},M._isIP=function(t){return O._isIP(t)},M._escape=function(t){return k.encodeURIComponent(t).replace(/%2F/g,"/")},M._getReqUrl=function(t){var e={};m(this.options.endpoint).to(e);var n=this._isIP(e.hostname),r=this.options.cname,o="aliyuncs.com",i=~e.hostname.indexOf(o);t.bucket&&!r&&!n&&i&&(e.host=t.bucket+"."+e.host);var a="/";t.bucket&&(n||!n&&!i)&&(a+=t.bucket+"/"),t.object&&(a+=this._escape(t.object).replace(/\+/g,"%2B")),e.pathname=a;var s={};if(t.query&&w(s,t.query),t.subres){var c={};_.string(t.subres)?c[t.subres]="":_.array(t.subres)?t.subres.forEach((function(t){c[t]=""})):c=t.subres,w(s,c)}return e.query=s,x.format(e)},M._getUserAgent=function(){var t="aliyun-sdk-"+(n&&n.browser?"js":"nodejs")+"/"+S.version,e=A.description;return!e&&n&&(e="Node.js "+n.version.slice(1)+" on "+n.platform+" "+n.arch),this._checkUserAgent(t+" "+e)},M._checkUserAgent=function(t){return t.replace(/\u03b1/,"alpha").replace(/\u03b2/,"beta")},M.checkBrowserAndVersion=function(t,e){return C.name===t&&C.version.split(".")[0]===e},M.parseXML=function(t){return function(e){r.isBuffer(t)&&(t=t.toString()),v.parseString(t,{explicitRoot:!1,explicitArray:!1},e)}},M.requestError=l.default.mark((function t(e){var n,r,o,i;return l.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(n=null,e.data&&e.data.length){t.next=5;break}-1===e.status||-2===e.status?((n=new Error(e.message)).name=e.name,n.status=e.status,n.code=e.name):(404===e.status?((n=new Error("Object not exists")).name="NoSuchKeyError",n.status=404,n.code="NoSuchKey"):412===e.status?((n=new Error("Pre condition failed")).name="PreconditionFailedError",n.status=412,n.code="PreconditionFailed"):((n=new Error("Unknow error, status: "+e.status)).name="UnknowError",n.status=e.status),n.requestId=e.headers["x-oss-request-id"],n.host=""),t.next=30;break;case 5:return r=String(e.data),f("request response error data: %s",r),o=void 0,t.prev=8,t.next=11,this.parseXML(r)||{};case 11:o=t.sent,t.next=21;break;case 14:return t.prev=14,t.t0=t.catch(8),f(r),t.t0.message+="\nraw xml: "+r,t.t0.status=e.status,t.t0.requestId=e.headers["x-oss-request-id"],t.abrupt("return",t.t0);case 21:i=o.Message||"unknow request error, status: "+e.status,o.Condition&&(i+=" (condition: "+o.Condition+")"),(n=new Error(i)).name=o.Code?o.Code+"Error":"UnknowError",n.status=e.status,n.code=o.Code,n.requestId=o.RequestId,n.hostId=o.HostId,n.serverTime=o.ServerTime;case 30:return f("generate error %j",n),t.abrupt("return",n);case 32:case"end":return t.stop()}}),t,this,[[8,14]])}))}).call(this,t("_process"),t("buffer").Buffer)},{"../common/multipart":8,"../common/signUtils":9,"../common/thunkpool.js":10,"../common/utils":11,"./../../shims/crypto/crypto.js":237,"./managed_upload":3,"./object":4,"./version":5,"./wrapper":6,_process:173,agentkeepalive:12,"babel-runtime/core-js/object/keys":23,"babel-runtime/regenerator":33,bowser:35,buffer:38,"copy-to":43,dateformat:154,debug:155,"humanize-ms":160,"is-type-of":165,"merge-descriptors":168,mime:242,path:170,platform:171,url:203,urllib:244,utility:243,xml2js:213}],3:[function(t,e,n){(function(e){function r(t){return t&&t.__esModule?t:{default:t}}function o(t,e){return this instanceof o?(d.call(this,e),this.file=t,this.reader=new FileReader,this.start=0,this.finish=!1,void(this.fileBuffer=null)):new o(t,e)}var i=r(t("babel-runtime/core-js/array/from")),a=r(t("babel-runtime/regenerator")),s=t("is-type-of"),c=t("util"),u=t("path"),l=t("mime"),p=t("copy-to"),f=n;f.multipartUpload=a.default.mark((function t(e,n,r){var o,i,c,p,f,d,h,m,g;return a.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(this.resetCancelFlag(),!(r=r||{}).checkpoint||!r.checkpoint.uploadId){t.next=6;break}return t.next=5,this._resumeMultipart(r.checkpoint,r);case 5:case 38:return t.abrupt("return",t.sent);case 6:return o=102400,r.mime||(s.file(n)?r.mime=l.getType(u.extname(n.name)):s.blob(n)?r.mime=n.type:r.mime=l.getType(u.extname(n))),r.headers=r.headers||{},this._convertMetaToHeaders(r.meta,r.headers),t.next=12,this._getFileSize(n);case 12:if(i=t.sent,!(o>i)){t.next=25;break}return c=this._createStream(n,0,i),r.contentLength=i,t.next=18,this.putStream(e,c,r);case 18:if(p=t.sent,!r||!r.progress){t.next=22;break}return t.next=22,r.progress(1);case 22:return f={res:p.res,bucket:this.options.bucket,name:e,etag:p.res.headers.etag},(r.headers&&r.headers["x-oss-callback"]||r.callback)&&(f.data=p.data),t.abrupt("return",f);case 25:if(!(r.partSize&&r.partSize<o)){t.next=27;break}throw new Error("partSize must not be smaller than "+o);case 27:return t.next=29,this.initMultipartUpload(e,r);case 29:if(d=t.sent,h=d.uploadId,m=this._getPartSize(i,r.partSize),g={file:n,name:e,fileSize:i,partSize:m,uploadId:h,doneParts:[]},!r||!r.progress){t.next=36;break}return t.next=36,r.progress(0,g,d.res);case 36:return t.next=38,this._resumeMultipart(g,r);case 39:case"end":return t.stop()}}),t,this)})),f._resumeMultipart=a.default.mark((function t(e,n){var r,o,s,c,u,l,f,d,h,m,g,v,y,b,w,x,_,A,k,E,S;return a.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!this.isCancel()){t.next=2;break}throw this._makeCancelEvent();case 2:if(r=e.file,o=e.fileSize,s=e.partSize,c=e.uploadId,u=e.doneParts,l=e.name,f=[],u.length>0&&p(u).to(f),d=this._divideParts(o,s),h=d.length,m=!1,g=a.default.mark((function t(o,i){var s,p,g;return a.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(o.isCancel()){t.next=21;break}return t.prev=1,s=d[i-1],p={stream:o._createStream(r,s.start,s.end),size:s.end-s.start},t.next=6,o._uploadPart(l,c,i,p);case 6:if(g=t.sent,o.isCancel()||m){t.next=13;break}if(e.doneParts.push({number:i,etag:g.res.headers.etag}),f.push({number:i,etag:g.res.headers.etag}),!n||!n.progress){t.next=13;break}return t.next=13,n.progress(u.length/h,e,g.res);case 13:t.next=21;break;case 15:if(t.prev=15,t.t0=t.catch(1),o.isCancel()){t.next=21;break}throw o.cancel(),t.t0.partNum=i,t.t0;case 21:case"end":return t.stop()}}),t,this,[[1,15]])})),v=(0,i.default)(new Array(h),(function(t,e){return e+1})),y=f.map((function(t){return t.number})),b=v.filter((function(t){return y.indexOf(t)<0})),w=5,x=n.parallel||w,!this.checkBrowserAndVersion("Internet Explorer","10")&&1!==x){t.next=26;break}_=0;case 16:if(!(_<b.length)){t.next=24;break}if(!this.isCancel()){t.next=19;break}throw this._makeCancelEvent();case 19:return t.next=21,g(this,b[_]);case 21:_++,t.next=16;break;case 24:t.next=40;break;case 26:for(A=[],k=0;k<b.length;k++)A.push(g(this,b[k]));return t.next=30,this._thunkPool(A,x);case 30:if(E=t.sent,m=!0,!(E&&E.length>0)){t.next=37;break}throw this.resetCancelFlag(),(S=E[0]).message="Failed to upload some parts with error: "+S.toString()+" part_num: "+S.partNum,S;case 37:if(!this.isCancel()){t.next=40;break}throw A=null,this._makeCancelEvent();case 40:return t.next=42,this.completeMultipartUpload(l,c,f,n);case 42:return t.abrupt("return",t.sent);case 43:case"end":return t.stop()}}),t,this)})),s.file=function(t){return"undefined"!=typeof File&&t instanceof File},s.blob=function(t){return"undefined"!=typeof Blob&&t instanceof Blob},f._getFileSize=a.default.mark((function t(e){var n;return a.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!s.buffer(e)){t.next=4;break}return t.abrupt("return",e.length);case 4:if(!s.blob(e)&&!s.file(e)){t.next=6;break}return t.abrupt("return",e.size);case 6:if(!s.string(e)){t.next=11;break}return t.next=9,this._statFile(e);case 9:return n=t.sent,t.abrupt("return",n.size);case 11:throw new Error("_getFileSize requires Buffer/File/String.");case 12:case"end":return t.stop()}}),t,this)}));var d=t("stream").Readable;c.inherits(o,d),o.prototype.readFileAndPush=function(t){if(this.fileBuffer)for(var e=!0;e&&this.fileBuffer&&this.start<this.fileBuffer.length;){var n=this.start,r=n+t;r=r>this.fileBuffer.length?this.fileBuffer.length:r,this.start=r,e=this.push(this.fileBuffer.slice(n,r))}},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 n=this;this.reader.onload=function(r){n.fileBuffer=new e(new Uint8Array(r.target.result)),n.file=null,n.readFileAndPush(t)},0===this.start?this.reader.readAsArrayBuffer(this.file):this.readFileAndPush(t)},f._createStream=function(t,e,n){if(s.blob(t)||s.file(t))return new o(t.slice(e,n));throw new Error("_createStream requires File/String.")},f._getPartSize=function(t,e){var n=1e4,r=1048576;return e?Math.max(Math.ceil(t/n),e):r},f._divideParts=function(t,e){for(var n=Math.ceil(t/e),r=[],o=0;n>o;o++){var i=e*o,a=Math.min(i+e,t);r.push({start:i,end:a})}return r},f._makeCancelEvent=function(){return{status:0,name:"cancel"}}}).call(this,t("buffer").Buffer)},{"babel-runtime/core-js/array/from":16,"babel-runtime/regenerator":33,buffer:38,"copy-to":43,"is-type-of":165,mime:242,path:170,stream:195,util:207}],4:[function(t,e,n){function r(t){return t&&t.__esModule?t:{default:t}}var o=r(t("babel-runtime/core-js/object/keys")),i=r(t("babel-runtime/regenerator")),a=t("debug")("ali-oss:object"),s=t("utility"),c=t("fs"),u=t("is-type-of"),l=t("url"),p=t("copy-to"),f=t("path"),d=t("mime"),h=t("../common/callback"),m=t("../common/signUtils"),g=n;g.append=i.default.mark((function t(e,n,r){var o;return i.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return void 0===(r=r||{}).position&&(r.position="0"),r.subres={append:"",position:r.position},r.method="POST",t.next=6,this.put(e,n,r);case 6:return(o=t.sent).nextAppendPosition=o.res.headers["x-oss-next-append-position"],t.abrupt("return",o);case 9:case"end":return t.stop()}}),t,this)})),g.put=i.default.mark((function t(e,n,r){var o,a,s,c,l,p;return i.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(o=void 0,r=r||{},!u.buffer(n)){t.next=6;break}o=n,t.next=18;break;case 6:if(!u.blob(n)&&!u.file(n)){t.next=17;break}return r.mime||(u.file(n)?r.mime=d.getType(f.extname(n.name)):r.mime=n.type),a=this._createStream(n,0,n.size),t.next=11,this._getFileSize(n);case 11:return r.contentLength=t.sent,t.next=14,this.putStream(e,a,r);case 14:return t.abrupt("return",t.sent);case 17:throw new TypeError("Must provide Buffer/Blob for put.");case 18:return r.headers=r.headers||{},this._convertMetaToHeaders(r.meta,r.headers),s=r.method||"PUT",c=this._objectRequestParams(s,e,r),h.encodeCallback(c,r),c.mime=r.mime,c.content=o,c.successStatuses=[200],t.next=28,this.request(c);case 28:return l=t.sent,p={name:e,url:this._objectUrl(e),res:l.res},c.headers&&c.headers["x-oss-callback"]&&(p.data=JSON.parse(l.data.toString())),t.abrupt("return",p);case 32:case"end":return t.stop()}}),t,this)})),g.putStream=i.default.mark((function t(e,n,r){var o,a,s,c;return i.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return(r=r||{}).headers=r.headers||{},r.contentLength?r.headers["Content-Length"]=r.contentLength:r.headers["Transfer-Encoding"]="chunked",this._convertMetaToHeaders(r.meta,r.headers),o=r.method||"PUT",a=this._objectRequestParams(o,e,r),h.encodeCallback(a,r),a.mime=r.mime,a.stream=n,a.successStatuses=[200],t.next=12,this.request(a);case 12:return s=t.sent,c={name:e,url:this._objectUrl(e),res:s.res},a.headers&&a.headers["x-oss-callback"]&&(c.data=JSON.parse(s.data.toString())),t.abrupt("return",c);case 16:case"end":return t.stop()}}),t,this)})),g.head=i.default.mark((function t(e,n){var r,a,s;return i.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return(r=this._objectRequestParams("HEAD",e,n)).successStatuses=[200,304],t.next=4,this.request(r);case 4:return a=t.sent,s={meta:null,res:a.res,status:a.status},200===a.status&&(0,o.default)(a.headers).forEach((function(t){0===t.indexOf("x-oss-meta-")&&(s.meta||(s.meta={}),s.meta[t.substring(11)]=a.headers[t])})),t.abrupt("return",s);case 8:case"end":return t.stop()}}),t,this)})),g.get=i.default.mark((function t(e,n,r){var o,s,l,p;return i.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return o=null,s=!1,u.writableStream(n)?o=n:u.string(n)?(o=c.createWriteStream(n),s=!0):r=n,(r=r||{}).process&&(r.subres=r.subres||{},r.subres["x-oss-process"]=r.process),l=void 0,t.prev=6,(p=this._objectRequestParams("GET",e,r)).writeStream=o,p.successStatuses=[200,206,304],t.next=12,this.request(p);case 12:l=t.sent,s&&o.destroy(),t.next=24;break;case 16:if(t.prev=16,t.t0=t.catch(6),!s){t.next=23;break}return o.destroy(),a("get error: %s, delete the exists file %s",t.t0,n),t.next=23,this._deleteFileSafe(n);case 23:throw t.t0;case 24:return t.abrupt("return",{res:l.res,content:l.data});case 25:case"end":return t.stop()}}),t,this,[[6,16]])})),g.getStream=i.default.mark((function t(e,n){var r,o;return i.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=n||{},(r=this._objectRequestParams("GET",e,n)).customResponse=!0,r.successStatuses=[200,206,304],t.next=6,this.request(r);case 6:return o=t.sent,t.abrupt("return",{stream:o.res,res:{status:o.status,headers:o.headers}});case 8:case"end":return t.stop()}}),t,this)})),g.delete=i.default.mark((function t(e,n){var r,o;return i.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return(r=this._objectRequestParams("DELETE",e,n)).successStatuses=[204],t.next=4,this.request(r);case 4:return o=t.sent,t.abrupt("return",{res:o.res});case 6:case"end":return t.stop()}}),t,this)})),g.deleteMulti=i.default.mark((function t(e,n){var r,o,c,u,l,p;return i.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:for(r='<?xml version="1.0" encoding="UTF-8"?>\n<Delete>\n',r+=(n=n||{}).quiet?" <Quiet>true</Quiet>\n":" <Quiet>false</Quiet>\n",o=0;o<e.length;o++)r+=" <Object><Key>"+s.escape(this._objectName(e[o]))+"</Key></Object>\n";return a("delete multi objects: %s",r+="</Delete>"),n.subres="delete",(c=this._objectRequestParams("POST","",n)).mime="xml",c.content=r,c.xmlResponse=!0,c.successStatuses=[200],t.next=14,this.request(c);case 14:return u=t.sent,l=u.data,(p=l&&l.Deleted||null)&&(Array.isArray(p)||(p=[p]),p=p.map((function(t){return t.Key}))),t.abrupt("return",{res:u.res,deleted:p});case 19:case"end":return t.stop()}}),t,this)})),g.copy=i.default.mark((function t(e,n,r){var a,s,c;return i.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return(r=r||{}).headers=r.headers||{},(0,o.default)(r.headers).forEach((function(t){r.headers["x-oss-copy-source-"+t.toLowerCase()]=r.headers[t]})),r.meta&&(r.headers["x-oss-metadata-directive"]="REPLACE"),this._convertMetaToHeaders(r.meta,r.headers),n="/"!==n[0]?"/"+this.options.bucket+"/"+encodeURIComponent(n):"/"+encodeURIComponent(n.slice(1)),r.headers["x-oss-copy-source"]=n,(a=this._objectRequestParams("PUT",e,r)).xmlResponse=!0,a.successStatuses=[200,304],t.next=12,this.request(a);case 12:return s=t.sent,(c=s.data)&&(c={etag:c.ETag,lastModified:c.LastModified}),t.abrupt("return",{data:c,res:s.res});case 16:case"end":return t.stop()}}),t,this)})),g.putMeta=i.default.mark((function t(e,n,r){return i.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.copy(e,e,{meta:n||{},timeout:r&&r.timeout,ctx:r&&r.ctx});case 2:return t.abrupt("return",t.sent);case 3:case"end":return t.stop()}}),t,this)})),g.list=i.default.mark((function t(e,n){var r,o,a,s,c;return i.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return(r=this._objectRequestParams("GET","",n)).query=e,r.xmlResponse=!0,r.successStatuses=[200],t.next=6,this.request(r);case 6:return o=t.sent,a=o.data.Contents,s=this,a&&(Array.isArray(a)||(a=[a]),a=a.map((function(t){return{name:t.Key,url:s._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}}}))),(c=o.data.CommonPrefixes||null)&&(Array.isArray(c)||(c=[c]),c=c.map((function(t){return t.Prefix}))),t.abrupt("return",{res:o.res,objects:a,prefixes:c,nextMarker:o.data.NextMarker||null,isTruncated:"true"===o.data.IsTruncated});case 13:case"end":return t.stop()}}),t,this)})),g.putACL=i.default.mark((function t(e,n,r){var o,a;return i.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return(r=r||{}).subres="acl",r.headers=r.headers||{},r.headers["x-oss-object-acl"]=n,e=this._objectName(e),(o=this._objectRequestParams("PUT",e,r)).successStatuses=[200],t.next=9,this.request(o);case 9:return a=t.sent,t.abrupt("return",{res:a.res});case 11:case"end":return t.stop()}}),t,this)})),g.getACL=i.default.mark((function t(e,n){var r,o;return i.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return(n=n||{}).subres="acl",e=this._objectName(e),(r=this._objectRequestParams("GET",e,n)).successStatuses=[200],r.xmlResponse=!0,t.next=8,this.request(r);case 8:return o=t.sent,t.abrupt("return",{acl:o.data.AccessControlList.Grant,owner:{id:o.data.Owner.ID,displayName:o.data.Owner.DisplayName},res:o.res});case 10:case"end":return t.stop()}}),t,this)})),g.restore=i.default.mark((function t(e,n){var r,o;return i.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return(n=n||{}).subres="restore",(r=this._objectRequestParams("POST",e,n)).successStatuses=[202],t.next=6,this.request(r);case 6:return o=t.sent,t.abrupt("return",{res:o.res});case 8:case"end":return t.stop()}}),t,this)})),g.signatureUrl=function(t,e){e=e||{},t=this._objectName(t),e.method=e.method||"GET";var n=s.timestamp()+(e.expires||1800),r={bucket:this.options.bucket,object:t},o=this._getResource(r);this.options.stsToken&&(e["security-token"]=this.options.stsToken);var i=m._signatureForURL(this.options.accessKeySecret,e,o,n),a=l.parse(this._getReqUrl(r));return a.query={OSSAccessKeyId:this.options.accessKeyId,Expires:n,Signature:i.Signature},p(i.subResource).to(a.query),a.format()},g.getObjectUrl=function(t,e){return e?"/"!==e[e.length-1]&&(e+="/"):e=this.options.endpoint.format(),e+this._escape(this._objectName(t))},g._objectUrl=function(t){return this._getReqUrl({bucket:this.options.bucket,object:t})},g.generateObjectUrl=function(t,e){if(e)"/"!==e[e.length-1]&&(e+="/");else{e=this.options.endpoint.format();var n=l.parse(e),r=this.options.bucket;n.hostname=r+"."+n.hostname,n.host=r+"."+n.host,e=n.format()}return e+this._escape(this._objectName(t))},g._objectRequestParams=function(t,e,n){if(!this.options.bucket)throw new Error("Please create a bucket first");n=n||{};var r={object:e=this._objectName(e),bucket:this.options.bucket,method:t,subres:n&&n.subres,timeout:n&&n.timeout,ctx:n&&n.ctx};return n.headers&&(r.headers={},p(n.headers).to(r.headers)),r},g._objectName=function(t){return t.replace(/^\/+/,"")},g._statFile=function(t){return function(e){c.stat(t,e)}},g._convertMetaToHeaders=function(t,e){t&&(0,o.default)(t).forEach((function(n){e["x-oss-meta-"+n]=t[n]}))},g._deleteFileSafe=function(t){return function(e){c.exists(t,(function(n){n?c.unlink(t,(function(n){n&&a("unlink %j error: %s",t,n),e()})):e()}))}}},{"../common/callback":7,"../common/signUtils":9,"babel-runtime/core-js/object/keys":23,"babel-runtime/regenerator":33,"copy-to":43,debug:155,fs:36,"is-type-of":165,mime:242,path:170,url:203,utility:243}],5:[function(t,e,n){n.version="5.3.2"},{}],6:[function(t,e,n){function r(t){return t&&t.__esModule?t:{default:t}}function o(t){return t&&"function"==typeof t.next&&"function"==typeof t.throw}function i(t){if(!t)return!1;var e=t.constructor;return!!e&&("GeneratorFunction"===e.name||"GeneratorFunction"===e.displayName||o(e.prototype)||o(t.prototype))}function a(t,e){var n=new t(e),r=(0,u.default)(n),o=(0,u.default)((0,c.default)(n));r.concat(o).forEach((function(t){i(n[t])?this[t]=l.wrap(n[t]).bind(n):this[t]=n[t]}),this)}function s(t){return this instanceof s?void a.call(this,p,t):new s(t)}var c=r(t("babel-runtime/core-js/object/get-prototype-of")),u=r(t("babel-runtime/core-js/object/keys")),l=t("co"),p=t("./client");e.exports=s,s.STS=function t(e){return this instanceof t?void a.call(this,p.STS,e):new t(e)}},{"./client":2,"babel-runtime/core-js/object/get-prototype-of":22,"babel-runtime/core-js/object/keys":23,co:41}],7:[function(t,e,n){(function(e){function r(t){return t&&t.__esModule?t:{default:t}}var o=r(t("babel-runtime/core-js/object/keys")),i=r(t("babel-runtime/core-js/json/stringify"));n.encodeCallback=function(t,n){if(t.headers=t.headers||{},!Object.prototype.hasOwnProperty.call(t.headers,"x-oss-callback")&&n.callback){var r={callbackUrl:encodeURI(n.callback.url),callbackBody:n.callback.body};n.callback.host&&(r.callbackHost=n.callback.host),n.callback.contentType&&(r.callbackBodyType=n.callback.contentType);var a=new e((0,i.default)(r)).toString("base64");if(t.headers["x-oss-callback"]=a,n.callback.customValue){var s={};(0,o.default)(n.callback.customValue).forEach((function(t){s["x:"+t]=n.callback.customValue[t]})),t.headers["x-oss-callback-var"]=new e((0,i.default)(s)).toString("base64")}}}}).call(this,t("buffer").Buffer)},{"babel-runtime/core-js/json/stringify":17,"babel-runtime/core-js/object/keys":23,buffer:38}],8:[function(t,e,n){function r(t){return t&&t.__esModule?t:{default:t}}var o=r(t("babel-runtime/regenerator")),i=t("copy-to"),a=t("./callback"),s=n;s.listUploads=o.default.mark((function t(e,n){var r,a,s,c;return o.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r={},i(n=n||{}).to(r),r.subres="uploads",(a=this._objectRequestParams("GET","",r)).query=e,a.xmlResponse=!0,a.successStatuses=[200],t.next=10,this.request(a);case 10:return s=t.sent,c=s.data.Upload||[],Array.isArray(c)||(c=[c]),c=c.map((function(t){return{name:t.Key,uploadId:t.UploadId,initiated:t.Initiated}})),t.abrupt("return",{res:s.res,uploads:c,bucket:s.data.Bucket,nextKeyMarker:s.data.NextKeyMarker,nextUploadIdMarker:s.data.NextUploadIdMarker,isTruncated:"true"===s.data.IsTruncated});case 15:case"end":return t.stop()}}),t,this)})),s.listParts=o.default.mark((function t(e,n,r,a){var s,c,u;return o.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return s={},i(a=a||{}).to(s),s.subres={uploadId:n},(c=this._objectRequestParams("GET",e,s)).query=r,c.xmlResponse=!0,c.successStatuses=[200],t.next=10,this.request(c);case 10:return u=t.sent,t.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 t.stop()}}),t,this)})),s.abortMultipartUpload=o.default.mark((function t(e,n,r){var a,s,c;return o.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return this.cancel(),a={},i(r=r||{}).to(a),a.subres={uploadId:n},(s=this._objectRequestParams("DELETE",e,a)).successStatuses=[204],t.next=9,this.request(s);case 9:return c=t.sent,t.abrupt("return",{res:c.res});case 11:case"end":return t.stop()}}),t,this)})),s.initMultipartUpload=o.default.mark((function t(e,n){var r,a,s;return o.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r={},i(n=n||{}).to(r),r.headers=r.headers||{},this._convertMetaToHeaders(n.meta,r.headers),r.subres="uploads",(a=this._objectRequestParams("POST",e,r)).mime=n.mime,a.xmlResponse=!0,a.successStatuses=[200],t.next=12,this.request(a);case 12:return s=t.sent,t.abrupt("return",{res:s.res,bucket:s.data.Bucket,name:s.data.Key,uploadId:s.data.UploadId});case 14:case"end":return t.stop()}}),t,this)})),s.uploadPart=o.default.mark((function t(e,n,r,i,a,s,c){var u;return o.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return u={stream:this._createStream(i,a,s),size:s-a},t.next=3,this._uploadPart(e,n,r,u,c);case 3:return t.abrupt("return",t.sent);case 4:case"end":return t.stop()}}),t,this)})),s.completeMultipartUpload=o.default.mark((function t(e,n,r,s){var c,u,l,p,f,d,h,m;return o.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:for(c=r.concat().sort((function(t,e){return t.number-e.number})).filter((function(t,e,n){return!e||t.number!==n[e-1].number})),u='<?xml version="1.0" encoding="UTF-8"?>\n<CompleteMultipartUpload>\n',l=0;l<c.length;l++)p=c[l],u+="<Part>\n",u+="<PartNumber>"+p.number+"</PartNumber>\n",u+="<ETag>"+p.etag+"</ETag>\n",u+="</Part>\n";return u+="</CompleteMultipartUpload>",f={},i(s=s||{}).to(f),f.subres={uploadId:n},d=this._objectRequestParams("POST",e,f),a.encodeCallback(d,f),d.mime="xml",d.content=u,d.headers&&d.headers["x-oss-callback"]||(d.xmlResponse=!0),d.successStatuses=[200],t.next=16,this.request(d);case 16:return h=t.sent,m={res:h.res,bucket:d.bucket,name:e,etag:h.res.headers.etag},d.headers&&d.headers["x-oss-callback"]&&(m.data=JSON.parse(h.data.toString())),t.abrupt("return",m);case 20:case"end":return t.stop()}}),t,this)})),s._uploadPart=o.default.mark((function t(e,n,r,a,s){var c,u,l;return o.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return c={},i(s=s||{}).to(c),c.headers={"Content-Length":a.size},c.subres={partNumber:r,uploadId:n},(u=this._objectRequestParams("PUT",e,c)).mime=c.mime,u.stream=a.stream,u.successStatuses=[200],t.next=11,this.request(u);case 11:return l=t.sent,a.stream=null,u.stream=null,t.abrupt("return",{name:e,etag:l.res.headers.etag,res:l.res});case 15:case"end":return t.stop()}}),t,this)}))},{"./callback":7,"babel-runtime/regenerator":33,"copy-to":43}],9:[function(t,e,n){(function(e){function r(t){return t&&t.__esModule?t:{default:t}}var o=r(t("babel-runtime/core-js/json/stringify")),i=r(t("babel-runtime/core-js/object/keys")),a=t("./../../shims/crypto/crypto.js"),s=t("is-type-of");n.buildCanonicalizedResource=function(t,e){var n=""+t,r="?";if(s.string(e)&&""!==e.trim())n+=r+e;else if(s.array(e))e.sort(),n+=r+e.join("&");else if(e){var o=function(t,e){return t[0]>e[0]?1:t[0]<e[0]?-1:0},a=function(t){n+=r+t,e[t]&&(n+="="+e[t]),r="&"};(0,i.default)(e).sort(o).forEach(a)}return n},n.buildCanonicalString=function(t,e,n,r){var o=(n=n||{}).headers||{},a="x-oss-",s=[],c={},u=[t.toUpperCase(),o["Content-Md5"]||"",o["Content-Type"]||o["Content-Type".toLowerCase()],r||o["x-oss-date"]];return(0,i.default)(o).forEach((function(t){var e=t.toLowerCase();0===e.indexOf(a)&&(c[e]=String(o[t]).trim())})),(0,i.default)(c).sort().forEach((function(t){s.push(t+":"+c[t])})),(u=u.concat(s)).push(this.buildCanonicalizedResource(e,n.parameters)),u.join("\n")},n.computeSignature=function(t,n){return a.createHmac("sha1",t).update(new e(n,"utf8")).digest("base64")},n.authorization=function(t,e,n){return"OSS "+t+":"+this.computeSignature(e,n)},n._signatureForURL=function(t,n,r,a){var s={},c={};if(n.process&&(c["x-oss-process"]=n.process),n.response&&(0,i.default)(n.response).forEach((function(t){var e="response-"+t.toLowerCase();c[e]=n.response[t]})),(0,i.default)(n).forEach((function(t){var e=t.toLowerCase(),r=n[t];0===e.indexOf("x-oss-")?s[e]=r:0===e.indexOf("content-md5")||0===e.indexOf("content-type")?s[t]=r:"expires"!==e&&"response"!==e&&"process"!==e&&"method"!==e&&(c[e]=r)})),Object.prototype.hasOwnProperty.call(n,"security-token")&&(c["security-token"]=n["security-token"]),Object.prototype.hasOwnProperty.call(n,"callback")){var u={callbackUrl:encodeURI(n.callback.url),callbackBody:n.callback.body};if(n.callback.host&&(u.callbackHost=n.callback.host),n.callback.contentType&&(u.callbackBodyType=n.callback.contentType),c.callback=new e((0,o.default)(u)).toString("base64"),n.callback.customValue){var l={};(0,i.default)(n.callback.customValue).forEach((function(t){l["x:"+t]=n.callback.customValue[t]})),c["callback-var"]=new e((0,o.default)(l)).toString("base64")}}var p=this.buildCanonicalString(n.method,r,{headers:s,parameters:c},a.toString());return{Signature:this.computeSignature(t,p),subResource:c}}}).call(this,t("buffer").Buffer)},{"./../../shims/crypto/crypto.js":237,"babel-runtime/core-js/json/stringify":17,"babel-runtime/core-js/object/keys":23,buffer:38,"is-type-of":165}],10:[function(t,e,n){function r(t){return t&&t.__esModule?t:{default:t}}var o=r(t("babel-runtime/regenerator")),i=t("co"),a=t("co-priority-queue"),s=t("any-promise"),c=n;c._thunkPool=function(t,e){function n(t,e){++u===t.length&&e(l)}function r(t,e){function n(){var n;return o.default.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:n=void 0;case 1:if(c.isCancel()){r.next=9;break}return r.next=4,u.next();case 4:return n=r.sent,r.next=7,n();case 7:r.next=1;break;case 9:(p+=1)===t&&(u.fns=[],u.buffer=[],e(l));case 11:case"end":return r.stop()}}),s,this)}function r(t){}for(var s=o.default.mark(n),u=new a,p=0,f=0;t>f;f++)i(n).catch(r);var d=function(t,e){return function(n){u.push(o.default.mark((function e(){return o.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.t0=n,e.next=4,t;case 4:e.t1=e.sent,(0,e.t0)(null,e.t1),e.next=11;break;case 8:e.prev=8,e.t2=e.catch(0),n(e.t2);case 11:case"end":return e.stop()}}),e,this,[[0,8]])})),e)}};return d}var c=this,u=0,l=[];return new s((function(a){function s(e){return o.default.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,p(t[e]);case 2:n(t,a);case 3:case"end":return r.stop()}}),u,this)}function c(e){l.push(e),n(t,a)}for(var u=o.default.mark(s),p=new r(e,a),f=0;f<t.length;f++)i(s(f)).catch(c)}))},c.cancel=function(){this.options.cancelFlag=!0},c.isCancel=function(){return this.options.cancelFlag},c.resetCancelFlag=function(){this.options.cancelFlag=!1}},{"any-promise":13,"babel-runtime/regenerator":33,co:41,"co-priority-queue":40}],11:[function(t,e,n){n._isIP=function(t){var e=/^\s*((([0-9A-Fa-f]{1,4}:){7}([0-9A-Fa-f]{1,4}|:))|(([0-9A-Fa-f]{1,4}:){6}(:[0-9A-Fa-f]{1,4}|((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){5}(((:[0-9A-Fa-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){4}(((:[0-9A-Fa-f]{1,4}){1,3})|((:[0-9A-Fa-f]{1,4})?:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){3}(((:[0-9A-Fa-f]{1,4}){1,4})|((:[0-9A-Fa-f]{1,4}){0,2}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){2}(((:[0-9A-Fa-f]{1,4}){1,5})|((:[0-9A-Fa-f]{1,4}){0,3}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){1}(((:[0-9A-Fa-f]{1,4}){1,6})|((:[0-9A-Fa-f]{1,4}){0,4}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(:(((:[0-9A-Fa-f]{1,4}){1,7})|((:[0-9A-Fa-f]{1,4}){0,5}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))(%.+)?\s*$/;return/^(25[0-5]|2[0-4]\d|[0-1]?\d?\d)(\.(25[0-5]|2[0-4]\d|[0-1]?\d?\d)){3}$/.test(t)||e.test(t)}},{}],12:[function(t,e,n){function r(){}e.exports=r,e.exports.HttpsAgent=r},{}],13:[function(t,e,n){e.exports=t("./register")().Promise},{"./register":15}],14:[function(t,e,n){var r="@@any-promise/REGISTRATION",o=null;e.exports=function(t,e){return function(n,i){n=n||null;var a=!1!==(i=i||{}).global;if(null===o&&a&&(o=t[r]||null),null!==o&&null!==n&&o.implementation!==n)throw new Error('any-promise already defined as "'+o.implementation+'". You can only register an implementation before the first call to require("any-promise") and an implementation cannot be changed');return null===o&&(o=null!==n&&void 0!==i.Promise?{Promise:i.Promise,implementation:n}:e(n),a&&(t[r]=o)),o}}},{}],15:[function(t,e,n){function r(){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,r)},{"./loader":14}],16:[function(t,e,n){e.exports={default:t("core-js/library/fn/array/from"),__esModule:!0}},{"core-js/library/fn/array/from":44}],17:[function(t,e,n){e.exports={default:t("core-js/library/fn/json/stringify"),__esModule:!0}},{"core-js/library/fn/json/stringify":45}],18:[function(t,e,n){e.exports={default:t("core-js/library/fn/object/assign"),__esModule:!0}},{"core-js/library/fn/object/assign":46}],19:[function(t,e,n){e.exports={default:t("core-js/library/fn/object/create"),__esModule:!0}},{"core-js/library/fn/object/create":47}],20:[function(t,e,n){e.exports={default:t("core-js/library/fn/object/define-property"),__esModule:!0}},{"core-js/library/fn/object/define-property":48}],21:[function(t,e,n){e.exports={default:t("core-js/library/fn/object/get-own-property-names"),__esModule:!0}},{"core-js/library/fn/object/get-own-property-names":49}],22:[function(t,e,n){e.exports={default:t("core-js/library/fn/object/get-prototype-of"),__esModule:!0}},{"core-js/library/fn/object/get-prototype-of":50}],23:[function(t,e,n){e.exports={default:t("core-js/library/fn/object/keys"),__esModule:!0}},{"core-js/library/fn/object/keys":51}],24:[function(t,e,n){e.exports={default:t("core-js/library/fn/promise"),__esModule:!0}},{"core-js/library/fn/promise":52}],25:[function(t,e,n){e.exports={default:t("core-js/library/fn/set-immediate"),__esModule:!0}},{"core-js/library/fn/set-immediate":53}],26:[function(t,e,n){e.exports={default:t("core-js/library/fn/string/from-code-point"),__esModule:!0}},{"core-js/library/fn/string/from-code-point":54}],27:[function(t,e,n){e.exports={default:t("core-js/library/fn/symbol"),__esModule:!0}},{"core-js/library/fn/symbol":56}],28:[function(t,e,n){e.exports={default:t("core-js/library/fn/symbol/has-instance"),__esModule:!0}},{"core-js/library/fn/symbol/has-instance":55}],29:[function(t,e,n){e.exports={default:t("core-js/library/fn/symbol/iterator"),__esModule:!0}},{"core-js/library/fn/symbol/iterator":57}],30:[function(t,e,n){n.__esModule=!0,n.default=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}},{}],31:[function(t,e,n){function r(t){return t&&t.__esModule?t:{default:t}}n.__esModule=!0;var o=r(t("../core-js/object/define-property"));n.default=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),(0,o.default)(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}()},{"../core-js/object/define-property":20}],32:[function(t,e,n){function r(t){return t&&t.__esModule?t:{default:t}}n.__esModule=!0;var o=r(t("../core-js/symbol/iterator")),i=r(t("../core-js/symbol")),a="function"==typeof i.default&&"symbol"==typeof o.default?function(t){return typeof t}:function(t){return t&&"function"==typeof i.default&&t.constructor===i.default&&t!==i.default.prototype?"symbol":typeof t};n.default="function"==typeof i.default&&"symbol"===a(o.default)?function(t){return void 0===t?"undefined":a(t)}:function(t){return t&&"function"==typeof i.default&&t.constructor===i.default&&t!==i.default.prototype?"symbol":void 0===t?"undefined":a(t)}},{"../core-js/symbol":27,"../core-js/symbol/iterator":29}],33:[function(t,e,n){e.exports=t("regenerator-runtime")},{"regenerator-runtime":191}],34:[function(t,e,n){function r(t){var e=t.length;if(e%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var n=t.indexOf("=");return-1===n&&(n=e),[n,n===e?0:4-n%4]}function o(t){var e=r(t),n=e[0],o=e[1];return 3*(n+o)/4-o}function i(t,e,n){return 3*(e+n)/4-n}function a(t){for(var e,n=r(t),o=n[0],a=n[1],s=new f(i(t,o,a)),c=0,u=a>0?o-4:o,l=0;u>l;l+=4)e=p[t.charCodeAt(l)]<<18|p[t.charCodeAt(l+1)]<<12|p[t.charCodeAt(l+2)]<<6|p[t.charCodeAt(l+3)],s[c++]=e>>16&255,s[c++]=e>>8&255,s[c++]=255&e;return 2===a&&(e=p[t.charCodeAt(l)]<<2|p[t.charCodeAt(l+1)]>>4,s[c++]=255&e),1===a&&(e=p[t.charCodeAt(l)]<<10|p[t.charCodeAt(l+1)]<<4|p[t.charCodeAt(l+2)]>>2,s[c++]=e>>8&255,s[c++]=255&e),s}function s(t){return l[t>>18&63]+l[t>>12&63]+l[t>>6&63]+l[63&t]}function c(t,e,n){for(var r,o=[],i=e;n>i;i+=3)r=(t[i]<<16&16711680)+(t[i+1]<<8&65280)+(255&t[i+2]),o.push(s(r));return o.join("")}function u(t){for(var e,n=t.length,r=n%3,o=[],i=16383,a=0,s=n-r;s>a;a+=i)o.push(c(t,a,a+i>s?s:a+i));return 1===r?(e=t[n-1],o.push(l[e>>2]+l[e<<4&63]+"==")):2===r&&(e=(t[n-2]<<8)+t[n-1],o.push(l[e>>10]+l[e>>4&63]+l[e<<2&63]+"=")),o.join("")}n.byteLength=o,n.toByteArray=a,n.fromByteArray=u;for(var l=[],p=[],f="undefined"!=typeof Uint8Array?Uint8Array:Array,d="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",h=0,m=d.length;m>h;++h)l[h]=d[h],p[d.charCodeAt(h)]=h;p["-".charCodeAt(0)]=62,p["_".charCodeAt(0)]=63},{}],35:[function(t,e,n){!function(t,n,r){void 0!==e&&e.exports?e.exports=r():t[n]=r()}(this,"bowser",(function(){function t(t){function e(e){var n=t.match(e);return n&&n.length>1&&n[1]||""}function n(e){var n=t.match(e);return n&&n.length>1&&n[2]||""}function o(t){switch(t){case"NT":return"NT";case"XP":case"NT 5.1":return"XP";case"NT 5.0":return"2000";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}}var i,s=e(/(ipod|iphone|ipad)/i).toLowerCase(),c=!/like android/i.test(t)&&/android/i.test(t),u=/nexus\s*[0-6]\s*/i.test(t),l=!u&&/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),g=/windows phone/i.test(t),v=!g&&/windows/i.test(t),y=!s&&!f&&/macintosh/i.test(t),b=!c&&!d&&!h&&!m&&/linux/i.test(t),w=n(/edg([ea]|ios)\/(\d+(\.\d+)?)/i),x=e(/version\/(\d+(\.\d+)?)/i),_=/tablet/i.test(t)&&!/tablet pc/i.test(t),A=!_&&/[^-]mobi/i.test(t),k=/xbox/i.test(t);/opera/i.test(t)?i={name:"Opera",opera:a,version:x||e(/(?:opera|opr|opios)[\s\/](\d+(\.\d+)?)/i)}:/opr\/|opios/i.test(t)?i={name:"Opera",opera:a,version:e(/(?:opr|opios)[\s\/](\d+(\.\d+)?)/i)||x}:/SamsungBrowser/i.test(t)?i={name:"Samsung Internet for Android",samsungBrowser:a,version:x||e(/(?:SamsungBrowser)[\s\/](\d+(\.\d+)?)/i)}:/Whale/i.test(t)?i={name:"NAVER Whale browser",whale:a,version:e(/(?:whale)[\s\/](\d+(?:\.\d+)+)/i)}:/MZBrowser/i.test(t)?i={name:"MZ Browser",mzbrowser:a,version:e(/(?:MZBrowser)[\s\/](\d+(?:\.\d+)+)/i)}:/coast/i.test(t)?i={name:"Opera Coast",coast:a,version:x||e(/(?:coast)[\s\/](\d+(\.\d+)?)/i)}:/focus/i.test(t)?i={name:"Focus",focus:a,version:e(/(?:focus)[\s\/](\d+(?:\.\d+)+)/i)}:/yabrowser/i.test(t)?i={name:"Yandex Browser",yandexbrowser:a,version:x||e(/(?:yabrowser)[\s\/](\d+(\.\d+)?)/i)}:/ucbrowser/i.test(t)?i={name:"UC Browser",ucbrowser:a,version:e(/(?:ucbrowser)[\s\/](\d+(?:\.\d+)+)/i)}:/mxios/i.test(t)?i={name:"Maxthon",maxthon:a,version:e(/(?:mxios)[\s\/](\d+(?:\.\d+)+)/i)}:/epiphany/i.test(t)?i={name:"Epiphany",epiphany:a,version:e(/(?:epiphany)[\s\/](\d+(?:\.\d+)+)/i)}:/puffin/i.test(t)?i={name:"Puffin",puffin:a,version:e(/(?:puffin)[\s\/](\d+(?:\.\d+)?)/i)}:/sleipnir/i.test(t)?i={name:"Sleipnir",sleipnir:a,version:e(/(?:sleipnir)[\s\/](\d+(?:\.\d+)+)/i)}:/k-meleon/i.test(t)?i={name:"K-Meleon",kMeleon:a,version:e(/(?:k-meleon)[\s\/](\d+(?:\.\d+)+)/i)}:g?(i={name:"Windows Phone",osname:"Windows Phone",windowsphone:a},w?(i.msedge=a,i.version=w):(i.msie=a,i.version=e(/iemobile\/(\d+(\.\d+)?)/i))):/msie|trident/i.test(t)?i={name:"Internet Explorer",msie:a,version:e(/(?:msie |rv:)(\d+(\.\d+)?)/i)}:p?i={name:"Chrome",osname:"Chrome OS",chromeos:a,chromeBook:a,chrome:a,version:e(/(?:chrome|crios|crmo)\/(\d+(\.\d+)?)/i)}:/edg([ea]|ios)/i.test(t)?i={name:"Microsoft Edge",msedge:a,version:w}:/vivaldi/i.test(t)?i={name:"Vivaldi",vivaldi:a,version:e(/vivaldi\/(\d+(\.\d+)?)/i)||x}:d?i={name:"Sailfish",osname:"Sailfish OS",sailfish:a,version:e(/sailfish\s?browser\/(\d+(\.\d+)?)/i)}:/seamonkey\//i.test(t)?i={name:"SeaMonkey",seamonkey:a,version:e(/seamonkey\/(\d+(\.\d+)?)/i)}:/firefox|iceweasel|fxios/i.test(t)?(i={name:"Firefox",firefox:a,version:e(/(?:firefox|iceweasel|fxios)[ \/](\d+(\.\d+)?)/i)},/\((mobile|tablet);[^\)]*rv:[\d\.]+\)/i.test(t)&&(i.firefoxos=a,i.osname="Firefox OS")):f?i={name:"Amazon Silk",silk:a,version:e(/silk\/(\d+(\.\d+)?)/i)}:/phantom/i.test(t)?i={name:"PhantomJS",phantom:a,version:e(/phantomjs\/(\d+(\.\d+)?)/i)}:/slimerjs/i.test(t)?i={name:"SlimerJS",slimer:a,version:e(/slimerjs\/(\d+(\.\d+)?)/i)}:/blackberry|\bbb\d+/i.test(t)||/rim\stablet/i.test(t)?i={name:"BlackBerry",osname:"BlackBerry OS",blackberry:a,version:x||e(/blackberry[\d]+\/(\d+(\.\d+)?)/i)}:m?(i={name:"WebOS",osname:"WebOS",webos:a,version:x||e(/w(?:eb)?osbrowser\/(\d+(\.\d+)?)/i)},/touchpad\//i.test(t)&&(i.touchpad=a)):/bada/i.test(t)?i={name:"Bada",osname:"Bada",bada:a,version:e(/dolfin\/(\d+(\.\d+)?)/i)}:h?i={name:"Tizen",osname:"Tizen",tizen:a,version:e(/(?:tizen\s?)?browser\/(\d+(\.\d+)?)/i)||x}:/qupzilla/i.test(t)?i={name:"QupZilla",qupzilla:a,version:e(/(?:qupzilla)[\s\/](\d+(?:\.\d+)+)/i)||x}:/chromium/i.test(t)?i={name:"Chromium",chromium:a,version:e(/(?:chromium)[\s\/](\d+(?:\.\d+)?)/i)||x}:/chrome|crios|crmo/i.test(t)?i={name:"Chrome",chrome:a,version:e(/(?:chrome|crios|crmo)\/(\d+(\.\d+)?)/i)}:c?i={name:"Android",version:x}:/safari|applewebkit/i.test(t)?(i={name:"Safari",safari:a},x&&(i.version=x)):s?(i={name:"iphone"==s?"iPhone":"ipad"==s?"iPad":"iPod"},x&&(i.version=x)):i=/googlebot/i.test(t)?{name:"Googlebot",googlebot:a,version:e(/googlebot\/(\d+(\.\d+))/i)||x}:{name:e(/^(.*)\/(.*) /),version:n(/^(.*)\/(.*) /)},!i.msedge&&/(apple)?webkit/i.test(t)?(/(apple)?webkit\/537\.36/i.test(t)?(i.name=i.name||"Blink",i.blink=a):(i.name=i.name||"Webkit",i.webkit=a),!i.version&&x&&(i.version=x)):!i.opera&&/gecko\//i.test(t)&&(i.name=i.name||"Gecko",i.gecko=a,i.version=i.version||e(/gecko\/(\d+(\.\d+)?)/i)),i.windowsphone||!c&&!i.silk?!i.windowsphone&&s?(i[s]=a,i.ios=a,i.osname="iOS"):y?(i.mac=a,i.osname="macOS"):k?(i.xbox=a,i.osname="Xbox"):v?(i.windows=a,i.osname="Windows"):b&&(i.linux=a,i.osname="Linux"):(i.android=a,i.osname="Android");var E="";i.windows?E=o(e(/Windows ((NT|XP)( \d\d?.\d)?)/i)):i.windowsphone?E=e(/windows phone (?:os)?\s?(\d+(\.\d+)*)/i):i.mac?E=(E=e(/Mac OS X (\d+([_\.\s]\d+)*)/i)).replace(/[_\s]/g,"."):s?E=(E=e(/os (\d+([_\s]\d+)*) like mac os x/i)).replace(/[_\s]/g,"."):c?E=e(/android[ \/-](\d+(\.\d+)*)/i):i.webos?E=e(/(?:web|hpw)os\/(\d+(\.\d+)*)/i):i.blackberry?E=e(/rim\stablet\sos\s(\d+(\.\d+)*)/i):i.bada?E=e(/bada\/(\d+(\.\d+)*)/i):i.tizen&&(E=e(/tizen[\/\s](\d+(\.\d+)*)/i)),E&&(i.osversion=E);var S=!i.windows&&E.split(".")[0];return _||l||"ipad"==s||c&&(3==S||S>=4&&!A)||i.silk?i.tablet=a:(A||"iphone"==s||"ipod"==s||c||u||i.blackberry||i.webos||i.bada)&&(i.mobile=a),i.msedge||i.msie&&i.version>=10||i.yandexbrowser&&i.version>=15||i.vivaldi&&i.version>=1||i.chrome&&i.version>=20||i.samsungBrowser&&i.version>=4||i.whale&&1===r([i.version,"1.0"])||i.mzbrowser&&1===r([i.version,"6.0"])||i.focus&&1===r([i.version,"1.0"])||i.firefox&&i.version>=20||i.safari&&i.version>=6||i.opera&&i.version>=10||i.ios&&i.osversion&&i.osversion.split(".")[0]>=6||i.blackberry&&i.version>=10.1||i.chromium&&i.version>=20?i.a=a:i.msie&&i.version<10||i.chrome&&i.version<20||i.firefox&&i.version<20||i.safari&&i.version<6||i.opera&&i.version<10||i.ios&&i.osversion&&i.osversion.split(".")[0]<6||i.chromium&&i.version<20?i.c=a:i.x=a,i}function e(t){return t.split(".").length}function n(t,e){var n,r=[];if(Array.prototype.map)return Array.prototype.map.call(t,e);for(n=0;n<t.length;n++)r.push(e(t[n]));return r}function r(t){for(var r=Math.max(e(t[0]),e(t[1])),o=n(t,(function(t){var o=r-e(t);return n((t+=new Array(o+1).join(".0")).split("."),(function(t){return new Array(20-t.length).join("0")+t})).reverse()}));--r>=0;){if(o[0][r]>o[1][r])return 1;if(o[0][r]!==o[1][r])return-1;if(0===r)return 0}}function o(e,n,o){var i=s;"string"==typeof n&&(o=n,n=void 0),void 0===n&&(n=!1),o&&(i=t(o));var a=""+i.version;for(var c in e)if(e.hasOwnProperty(c)&&i[c]){if("string"!=typeof e[c])throw new Error("Browser version in the minVersion map should be a string: "+c+": "+String(e));return r([a,e[c]])<0}return n}function i(t,e,n){return!o(t,e,n)}var a=!0,s=t("undefined"!=typeof navigator&&navigator.userAgent||"");return s.test=function(t){for(var e=0;e<t.length;++e){var n=t[e];if("string"==typeof n&&n in s)return!0}return!1},s.isUnsupportedBrowser=o,s.compareVersions=r,s.check=i,s._detect=t,s.detect=t,s}))},{}],36:[function(t,e,n){},{}],37:[function(t,e,n){function r(t){if(t&&!c(t))throw new Error("Unknown encoding: "+t)}function o(t){return t.toString(this.encoding)}function i(t){this.charReceived=t.length%2,this.charLength=this.charReceived?2:0}function a(t){this.charReceived=t.length%3,this.charLength=this.charReceived?3:0}var s=t("buffer").Buffer,c=s.isEncoding||function(t){switch(t&&t.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}},u=n.StringDecoder=function(t){switch(this.encoding=(t||"utf8").toLowerCase().replace(/[-_]/,""),r(t),this.encoding){case"utf8":this.surrogateSize=3;break;case"ucs2":case"utf16le":this.surrogateSize=2,this.detectIncompleteChar=i;break;case"base64":this.surrogateSize=3,this.detectIncompleteChar=a;break;default:return void(this.write=o)}this.charBuffer=new s(6),this.charReceived=0,this.charLength=0};u.prototype.write=function(t){for(var e="";this.charLength;){var n=t.length>=this.charLength-this.charReceived?this.charLength-this.charReceived:t.length;if(t.copy(this.charBuffer,this.charReceived,0,n),this.charReceived+=n,this.charReceived<this.charLength)return"";if(t=t.slice(n,t.length),!((r=(e=this.charBuffer.slice(0,this.charLength).toString(this.encoding)).charCodeAt(e.length-1))>=55296&&56319>=r)){if(this.charReceived=this.charLength=0,0===t.length)return e;break}this.charLength+=this.surrogateSize,e=""}this.detectIncompleteChar(t);var r,o=t.length;if(this.charLength&&(t.copy(this.charBuffer,0,t.length-this.charReceived,o),o-=this.charReceived),o=(e+=t.toString(this.encoding,0,o)).length-1,(r=e.charCodeAt(o))>=55296&&56319>=r){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},u.prototype.detectIncompleteChar=function(t){for(var e=t.length>=3?3:t.length;e>0;e--){var n=t[t.length-e];if(1==e&&n>>5==6){this.charLength=2;break}if(2>=e&&n>>4==14){this.charLength=3;break}if(3>=e&&n>>3==30){this.charLength=4;break}}this.charReceived=e},u.prototype.end=function(t){var e="";if(t&&t.length&&(e=this.write(t)),this.charReceived){var n=this.charReceived,r=this.charBuffer,o=this.encoding;e+=r.slice(0,n).toString(o)}return e}},{buffer:38}],38:[function(t,e,n){(function(e){function r(){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}}function o(){return a.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function i(t,e){if(o()<e)throw new RangeError("Invalid typed array length");return a.TYPED_ARRAY_SUPPORT?(t=new Uint8Array(e)).__proto__=a.prototype:(null===t&&(t=new a(e)),t.length=e),t}function a(t,e,n){if(!(a.TYPED_ARRAY_SUPPORT||this instanceof a))return new a(t,e,n);if("number"==typeof t){if("string"==typeof e)throw new Error("If encoding is specified then the first argument must be a string");return l(this,t)}return s(this,t,e,n)}function s(t,e,n,r){if("number"==typeof e)throw new TypeError('"value" argument must not be a number');return"undefined"!=typeof ArrayBuffer&&e instanceof ArrayBuffer?d(t,e,n,r):"string"==typeof e?p(t,e,n):h(t,e)}function c(t){if("number"!=typeof t)throw new TypeError('"size" argument must be a number');if(0>t)throw new RangeError('"size" argument must not be negative')}function u(t,e,n,r){return c(e),0>=e?i(t,e):void 0!==n?"string"==typeof r?i(t,e).fill(n,r):i(t,e).fill(n):i(t,e)}function l(t,e){if(c(e),t=i(t,0>e?0:0|m(e)),!a.TYPED_ARRAY_SUPPORT)for(var n=0;e>n;++n)t[n]=0;return t}function p(t,e,n){if(("string"!=typeof n||""===n)&&(n="utf8"),!a.isEncoding(n))throw new TypeError('"encoding" must be a valid string encoding');var r=0|v(e,n),o=(t=i(t,r)).write(e,n);return o!==r&&(t=t.slice(0,o)),t}function f(t,e){var n=e.length<0?0:0|m(e.length);t=i(t,n);for(var r=0;n>r;r+=1)t[r]=255&e[r];return t}function d(t,e,n,r){if(e.byteLength,0>n||e.byteLength<n)throw new RangeError("'offset' is out of bounds");if(e.byteLength<n+(r||0))throw new RangeError("'length' is out of bounds");return e=void 0===n&&void 0===r?new Uint8Array(e):void 0===r?new Uint8Array(e,n):new Uint8Array(e,n,r),a.TYPED_ARRAY_SUPPORT?(t=e).__proto__=a.prototype:t=f(t,e),t}function h(t,e){if(a.isBuffer(e)){var n=0|m(e.length);return 0===(t=i(t,n)).length||e.copy(t,0,0,n),t}if(e){if("undefined"!=typeof ArrayBuffer&&e.buffer instanceof ArrayBuffer||"length"in e)return"number"!=typeof e.length||Y(e.length)?i(t,0):f(t,e);if("Buffer"===e.type&&J(e.data))return f(t,e.data)}throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}function m(t){if(t>=o())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+o().toString(16)+" bytes");return 0|t}function g(t){return+t!=t&&(t=0),a.alloc(+t)}function v(t,e){if(a.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 n=t.length;if(0===n)return 0;for(var r=!1;;)switch(e){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return H(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return W(t).length;default:if(r)return H(t).length;e=(""+e).toLowerCase(),r=!0}}function y(t,e,n){var r=!1;if((void 0===e||0>e)&&(e=0),e>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),0>=n)return"";if((e>>>=0)>=(n>>>=0))return"";for(t||(t="utf8");;)switch(t){case"hex":return R(this,e,n);case"utf8":case"utf-8":return P(this,e,n);case"ascii":return L(this,e,n);case"latin1":case"binary":return M(this,e,n);case"base64":return C(this,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return I(this,e,n);default:if(r)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),r=!0}}function b(t,e,n){var r=t[e];t[e]=t[n],t[n]=r}function w(t,e,n,r,o){if(0===t.length)return-1;if("string"==typeof n?(r=n,n=0):n>2147483647?n=2147483647:-2147483648>n&&(n=-2147483648),n=+n,isNaN(n)&&(n=o?0:t.length-1),0>n&&(n=t.length+n),n>=t.length){if(o)return-1;n=t.length-1}else if(0>n){if(!o)return-1;n=0}if("string"==typeof e&&(e=a.from(e,r)),a.isBuffer(e))return 0===e.length?-1:x(t,e,n,r,o);if("number"==typeof e)return e&=255,a.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?o?Uint8Array.prototype.indexOf.call(t,e,n):Uint8Array.prototype.lastIndexOf.call(t,e,n):x(t,[e],n,r,o);throw new TypeError("val must be string, number or Buffer")}function x(t,e,n,r,o){function i(t,e){return 1===s?t[e]:t.readUInt16BE(e*s)}var a,s=1,c=t.length,u=e.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(t.length<2||e.length<2)return-1;s=2,c/=2,u/=2,n/=2}if(o){var l=-1;for(a=n;c>a;a++)if(i(t,a)===i(e,-1===l?0:a-l)){if(-1===l&&(l=a),a-l+1===u)return l*s}else-1!==l&&(a-=a-l),l=-1}else for(n+u>c&&(n=c-u),a=n;a>=0;a--){for(var p=!0,f=0;u>f;f++)if(i(t,a+f)!==i(e,f)){p=!1;break}if(p)return a}return-1}function _(t,e,n,r){n=Number(n)||0;var o=t.length-n;r?(r=Number(r))>o&&(r=o):r=o;var i=e.length;if(i%2!=0)throw new TypeError("Invalid hex string");r>i/2&&(r=i/2);for(var a=0;r>a;++a){var s=parseInt(e.substr(2*a,2),16);if(isNaN(s))return a;t[n+a]=s}return a}function A(t,e,n,r){return X(H(e,t.length-n),t,n,r)}function k(t,e,n,r){return X(V(e),t,n,r)}function E(t,e,n,r){return k(t,e,n,r)}function S(t,e,n,r){return X(W(e),t,n,r)}function T(t,e,n,r){return X(z(e,t.length-n),t,n,r)}function C(t,e,n){return 0===e&&n===t.length?Z.fromByteArray(t):Z.fromByteArray(t.slice(e,n))}function P(t,e,n){n=Math.min(t.length,n);for(var r=[],o=e;n>o;){var i,a,s,c,u=t[o],l=null,p=u>239?4:u>223?3:u>191?2:1;if(n>=o+p)switch(p){case 1:128>u&&(l=u);break;case 2:128==(192&(i=t[o+1]))&&(c=(31&u)<<6|63&i)>127&&(l=c);break;case 3:i=t[o+1],a=t[o+2],128==(192&i)&&128==(192&a)&&(c=(15&u)<<12|(63&i)<<6|63&a)>2047&&(55296>c||c>57343)&&(l=c);break;case 4:i=t[o+1],a=t[o+2],s=t[o+3],128==(192&i)&&128==(192&a)&&128==(192&s)&&(c=(15&u)<<18|(63&i)<<12|(63&a)<<6|63&s)>65535&&1114112>c&&(l=c)}null===l?(l=65533,p=1):l>65535&&(l-=65536,r.push(l>>>10&1023|55296),l=56320|1023&l),r.push(l),o+=p}return O(r)}function O(t){var e=t.length;if(tt>=e)return String.fromCharCode.apply(String,t);for(var n="",r=0;e>r;)n+=String.fromCharCode.apply(String,t.slice(r,r+=tt));return n}function L(t,e,n){var r="";n=Math.min(t.length,n);for(var o=e;n>o;++o)r+=String.fromCharCode(127&t[o]);return r}function M(t,e,n){var r="";n=Math.min(t.length,n);for(var o=e;n>o;++o)r+=String.fromCharCode(t[o]);return r}function R(t,e,n){var r=t.length;(!e||0>e)&&(e=0),(!n||0>n||n>r)&&(n=r);for(var o="",i=e;n>i;++i)o+=K(t[i]);return o}function I(t,e,n){for(var r=t.slice(e,n),o="",i=0;i<r.length;i+=2)o+=String.fromCharCode(r[i]+256*r[i+1]);return o}function j(t,e,n){if(t%1!=0||0>t)throw new RangeError("offset is not uint");if(t+e>n)throw new RangeError("Trying to access beyond buffer length")}function D(t,e,n,r,o,i){if(!a.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>o||i>e)throw new RangeError('"value" argument is out of bounds');if(n+r>t.length)throw new RangeError("Index out of range")}function B(t,e,n,r){0>e&&(e=65535+e+1);for(var o=0,i=Math.min(t.length-n,2);i>o;++o)t[n+o]=(e&255<<8*(r?o:1-o))>>>8*(r?o:1-o)}function N(t,e,n,r){0>e&&(e=4294967295+e+1);for(var o=0,i=Math.min(t.length-n,4);i>o;++o)t[n+o]=e>>>8*(r?o:3-o)&255}function U(t,e,n,r,o,i){if(n+r>t.length)throw new RangeError("Index out of range");if(0>n)throw new RangeError("Index out of range")}function $(t,e,n,r,o){return o||U(t,e,n,4),Q.write(t,e,n,r,23,4),n+4}function F(t,e,n,r,o){return o||U(t,e,n,8),Q.write(t,e,n,r,52,8),n+8}function G(t){if((t=q(t).replace(et,"")).length<2)return"";for(;t.length%4!=0;)t+="=";return t}function q(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}function K(t){return 16>t?"0"+t.toString(16):t.toString(16)}function H(t,e){e=e||1/0;for(var n,r=t.length,o=null,i=[],a=0;r>a;++a){if((n=t.charCodeAt(a))>55295&&57344>n){if(!o){if(n>56319){(e-=3)>-1&&i.push(239,191,189);continue}if(a+1===r){(e-=3)>-1&&i.push(239,191,189);continue}o=n;continue}if(56320>n){(e-=3)>-1&&i.push(239,191,189),o=n;continue}n=65536+(o-55296<<10|n-56320)}else o&&(e-=3)>-1&&i.push(239,191,189);if(o=null,128>n){if((e-=1)<0)break;i.push(n)}else if(2048>n){if((e-=2)<0)break;i.push(n>>6|192,63&n|128)}else if(65536>n){if((e-=3)<0)break;i.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(1114112>n))throw new Error("Invalid code point");if((e-=4)<0)break;i.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return i}function V(t){for(var e=[],n=0;n<t.length;++n)e.push(255&t.charCodeAt(n));return e}function z(t,e){for(var n,r,o,i=[],a=0;a<t.length&&!((e-=2)<0);++a)r=(n=t.charCodeAt(a))>>8,o=n%256,i.push(o),i.push(r);return i}function W(t){return Z.toByteArray(G(t))}function X(t,e,n,r){for(var o=0;r>o&&!(o+n>=e.length||o>=t.length);++o)e[o+n]=t[o];return o}function Y(t){return t!=t}var Z=t("base64-js"),Q=t("ieee754"),J=t("isarray");n.Buffer=a,n.SlowBuffer=g,n.INSPECT_MAX_BYTES=50,a.TYPED_ARRAY_SUPPORT=void 0!==e.TYPED_ARRAY_SUPPORT?e.TYPED_ARRAY_SUPPORT:r(),n.kMaxLength=o(),a.poolSize=8192,a._augment=function(t){return t.__proto__=a.prototype,t},a.from=function(t,e,n){return s(null,t,e,n)},a.TYPED_ARRAY_SUPPORT&&(a.prototype.__proto__=Uint8Array.prototype,a.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&a[Symbol.species]===a&&Object.defineProperty(a,Symbol.species,{value:null,configurable:!0})),a.alloc=function(t,e,n){return u(null,t,e,n)},a.allocUnsafe=function(t){return l(null,t)},a.allocUnsafeSlow=function(t){return l(null,t)},a.isBuffer=function(t){return!(null==t||!t._isBuffer)},a.compare=function(t,e){if(!a.isBuffer(t)||!a.isBuffer(e))throw new TypeError("Arguments must be Buffers");if(t===e)return 0;for(var n=t.length,r=e.length,o=0,i=Math.min(n,r);i>o;++o)if(t[o]!==e[o]){n=t[o],r=e[o];break}return r>n?-1:n>r?1:0},a.isEncoding=function(t){switch(String(t).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},a.concat=function(t,e){if(!J(t))throw new TypeError('"list" argument must be an Array of Buffers');if(0===t.length)return a.alloc(0);var n;if(void 0===e)for(e=0,n=0;n<t.length;++n)e+=t[n].length;var r=a.allocUnsafe(e),o=0;for(n=0;n<t.length;++n){var i=t[n];if(!a.isBuffer(i))throw new TypeError('"list" argument must be an Array of Buffers');i.copy(r,o),o+=i.length}return r},a.byteLength=v,a.prototype._isBuffer=!0,a.prototype.swap16=function(){var t=this.length;if(t%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var e=0;t>e;e+=2)b(this,e,e+1);return this},a.prototype.swap32=function(){var t=this.length;if(t%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var e=0;t>e;e+=4)b(this,e,e+3),b(this,e+1,e+2);return this},a.prototype.swap64=function(){var t=this.length;if(t%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var e=0;t>e;e+=8)b(this,e,e+7),b(this,e+1,e+6),b(this,e+2,e+5),b(this,e+3,e+4);return this},a.prototype.toString=function(){var t=0|this.length;return 0===t?"":0===arguments.length?P(this,0,t):y.apply(this,arguments)},a.prototype.equals=function(t){if(!a.isBuffer(t))throw new TypeError("Argument must be a Buffer");return this===t||0===a.compare(this,t)},a.prototype.inspect=function(){var t="",e=n.INSPECT_MAX_BYTES;return this.length>0&&(t=this.toString("hex",0,e).match(/.{2}/g).join(" "),this.length>e&&(t+=" ... ")),"<Buffer "+t+">"},a.prototype.compare=function(t,e,n,r,o){if(!a.isBuffer(t))throw new TypeError("Argument must be a Buffer");if(void 0===e&&(e=0),void 0===n&&(n=t?t.length:0),void 0===r&&(r=0),void 0===o&&(o=this.length),0>e||n>t.length||0>r||o>this.length)throw new RangeError("out of range index");if(r>=o&&e>=n)return 0;if(r>=o)return-1;if(e>=n)return 1;if(this===t)return 0;for(var i=(o>>>=0)-(r>>>=0),s=(n>>>=0)-(e>>>=0),c=Math.min(i,s),u=this.slice(r,o),l=t.slice(e,n),p=0;c>p;++p)if(u[p]!==l[p]){i=u[p],s=l[p];break}return s>i?-1:i>s?1:0},a.prototype.includes=function(t,e,n){return-1!==this.indexOf(t,e,n)},a.prototype.indexOf=function(t,e,n){return w(this,t,e,n,!0)},a.prototype.lastIndexOf=function(t,e,n){return w(this,t,e,n,!1)},a.prototype.write=function(t,e,n,r){if(void 0===e)r="utf8",n=this.length,e=0;else if(void 0===n&&"string"==typeof e)r=e,n=this.length,e=0;else{if(!isFinite(e))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");e|=0,isFinite(n)?(n|=0,void 0===r&&(r="utf8")):(r=n,n=void 0)}var o=this.length-e;if((void 0===n||n>o)&&(n=o),t.length>0&&(0>n||0>e)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var i=!1;;)switch(r){case"hex":return _(this,t,e,n);case"utf8":case"utf-8":return A(this,t,e,n);case"ascii":return k(this,t,e,n);case"latin1":case"binary":return E(this,t,e,n);case"base64":return S(this,t,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return T(this,t,e,n);default:if(i)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),i=!0}},a.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var tt=4096;a.prototype.slice=function(t,e){var n,r=this.length;if(0>(t=~~t)?0>(t+=r)&&(t=0):t>r&&(t=r),0>(e=void 0===e?r:~~e)?0>(e+=r)&&(e=0):e>r&&(e=r),t>e&&(e=t),a.TYPED_ARRAY_SUPPORT)(n=this.subarray(t,e)).__proto__=a.prototype;else{var o=e-t;n=new a(o,void 0);for(var i=0;o>i;++i)n[i]=this[i+t]}return n},a.prototype.readUIntLE=function(t,e,n){t|=0,e|=0,n||j(t,e,this.length);for(var r=this[t],o=1,i=0;++i<e&&(o*=256);)r+=this[t+i]*o;return r},a.prototype.readUIntBE=function(t,e,n){t|=0,e|=0,n||j(t,e,this.length);for(var r=this[t+--e],o=1;e>0&&(o*=256);)r+=this[t+--e]*o;return r},a.prototype.readUInt8=function(t,e){return e||j(t,1,this.length),this[t]},a.prototype.readUInt16LE=function(t,e){return e||j(t,2,this.length),this[t]|this[t+1]<<8},a.prototype.readUInt16BE=function(t,e){return e||j(t,2,this.length),this[t]<<8|this[t+1]},a.prototype.readUInt32LE=function(t,e){return e||j(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},a.prototype.readUInt32BE=function(t,e){return e||j(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},a.prototype.readIntLE=function(t,e,n){t|=0,e|=0,n||j(t,e,this.length);for(var r=this[t],o=1,i=0;++i<e&&(o*=256);)r+=this[t+i]*o;return r>=(o*=128)&&(r-=Math.pow(2,8*e)),r},a.prototype.readIntBE=function(t,e,n){t|=0,e|=0,n||j(t,e,this.length);for(var r=e,o=1,i=this[t+--r];r>0&&(o*=256);)i+=this[t+--r]*o;return i>=(o*=128)&&(i-=Math.pow(2,8*e)),i},a.prototype.readInt8=function(t,e){return e||j(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},a.prototype.readInt16LE=function(t,e){e||j(t,2,this.length);var n=this[t]|this[t+1]<<8;return 32768&n?4294901760|n:n},a.prototype.readInt16BE=function(t,e){e||j(t,2,this.length);var n=this[t+1]|this[t]<<8;return 32768&n?4294901760|n:n},a.prototype.readInt32LE=function(t,e){return e||j(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},a.prototype.readInt32BE=function(t,e){return e||j(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},a.prototype.readFloatLE=function(t,e){return e||j(t,4,this.length),Q.read(this,t,!0,23,4)},a.prototype.readFloatBE=function(t,e){return e||j(t,4,this.length),Q.read(this,t,!1,23,4)},a.prototype.readDoubleLE=function(t,e){return e||j(t,8,this.length),Q.read(this,t,!0,52,8)},a.prototype.readDoubleBE=function(t,e){return e||j(t,8,this.length),Q.read(this,t,!1,52,8)},a.prototype.writeUIntLE=function(t,e,n,r){t=+t,e|=0,n|=0,r||D(this,t,e,n,Math.pow(2,8*n)-1,0);var o=1,i=0;for(this[e]=255&t;++i<n&&(o*=256);)this[e+i]=t/o&255;return e+n},a.prototype.writeUIntBE=function(t,e,n,r){t=+t,e|=0,n|=0,r||D(this,t,e,n,Math.pow(2,8*n)-1,0);var o=n-1,i=1;for(this[e+o]=255&t;--o>=0&&(i*=256);)this[e+o]=t/i&255;return e+n},a.prototype.writeUInt8=function(t,e,n){return t=+t,e|=0,n||D(this,t,e,1,255,0),a.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),this[e]=255&t,e+1},a.prototype.writeUInt16LE=function(t,e,n){return t=+t,e|=0,n||D(this,t,e,2,65535,0),a.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):B(this,t,e,!0),e+2},a.prototype.writeUInt16BE=function(t,e,n){return t=+t,e|=0,n||D(this,t,e,2,65535,0),a.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):B(this,t,e,!1),e+2},a.prototype.writeUInt32LE=function(t,e,n){return t=+t,e|=0,n||D(this,t,e,4,4294967295,0),a.TYPED_ARRAY_SUPPORT?(this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t):N(this,t,e,!0),e+4},a.prototype.writeUInt32BE=function(t,e,n){return t=+t,e|=0,n||D(this,t,e,4,4294967295,0),a.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):N(this,t,e,!1),e+4},a.prototype.writeIntLE=function(t,e,n,r){if(t=+t,e|=0,!r){var o=Math.pow(2,8*n-1);D(this,t,e,n,o-1,-o)}var i=0,a=1,s=0;for(this[e]=255&t;++i<n&&(a*=256);)0>t&&0===s&&0!==this[e+i-1]&&(s=1),this[e+i]=(t/a>>0)-s&255;return e+n},a.prototype.writeIntBE=function(t,e,n,r){if(t=+t,e|=0,!r){var o=Math.pow(2,8*n-1);D(this,t,e,n,o-1,-o)}var i=n-1,a=1,s=0;for(this[e+i]=255&t;--i>=0&&(a*=256);)0>t&&0===s&&0!==this[e+i+1]&&(s=1),this[e+i]=(t/a>>0)-s&255;return e+n},a.prototype.writeInt8=function(t,e,n){return t=+t,e|=0,n||D(this,t,e,1,127,-128),a.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),0>t&&(t=255+t+1),this[e]=255&t,e+1},a.prototype.writeInt16LE=function(t,e,n){return t=+t,e|=0,n||D(this,t,e,2,32767,-32768),a.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):B(this,t,e,!0),e+2},a.prototype.writeInt16BE=function(t,e,n){return t=+t,e|=0,n||D(this,t,e,2,32767,-32768),a.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):B(this,t,e,!1),e+2},a.prototype.writeInt32LE=function(t,e,n){return t=+t,e|=0,n||D(this,t,e,4,2147483647,-2147483648),a.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24):N(this,t,e,!0),e+4},a.prototype.writeInt32BE=function(t,e,n){return t=+t,e|=0,n||D(this,t,e,4,2147483647,-2147483648),0>t&&(t=4294967295+t+1),a.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):N(this,t,e,!1),e+4},a.prototype.writeFloatLE=function(t,e,n){return $(this,t,e,!0,n)},a.prototype.writeFloatBE=function(t,e,n){return $(this,t,e,!1,n)},a.prototype.writeDoubleLE=function(t,e,n){return F(this,t,e,!0,n)},a.prototype.writeDoubleBE=function(t,e,n){return F(this,t,e,!1,n)},a.prototype.copy=function(t,e,n,r){if(n||(n=0),r||0===r||(r=this.length),e>=t.length&&(e=t.length),e||(e=0),r>0&&n>r&&(r=n),r===n)return 0;if(0===t.length||0===this.length)return 0;if(0>e)throw new RangeError("targetStart out of bounds");if(0>n||n>=this.length)throw new RangeError("sourceStart out of bounds");if(0>r)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),t.length-e<r-n&&(r=t.length-e+n);var o,i=r-n;if(this===t&&e>n&&r>e)for(o=i-1;o>=0;--o)t[o+e]=this[o+n];else if(1e3>i||!a.TYPED_ARRAY_SUPPORT)for(o=0;i>o;++o)t[o+e]=this[o+n];else Uint8Array.prototype.set.call(t,this.subarray(n,n+i),e);return i},a.prototype.fill=function(t,e,n,r){if("string"==typeof t){if("string"==typeof e?(r=e,e=0,n=this.length):"string"==typeof n&&(r=n,n=this.length),1===t.length){var o=t.charCodeAt(0);256>o&&(t=o)}if(void 0!==r&&"string"!=typeof r)throw new TypeError("encoding must be a string");if("string"==typeof r&&!a.isEncoding(r))throw new TypeError("Unknown encoding: "+r)}else"number"==typeof t&&(t&=255);if(0>e||this.length<e||this.length<n)throw new RangeError("Out of range index");if(e>=n)return this;var i;if(e>>>=0,n=void 0===n?this.length:n>>>0,t||(t=0),"number"==typeof t)for(i=e;n>i;++i)this[i]=t;else{var s=a.isBuffer(t)?t:H(new a(t,r).toString()),c=s.length;for(i=0;n-e>i;++i)this[i+e]=s[i%c]}return this};var et=/[^+\/0-9A-Za-z-_]/g}).call(this,void 0!==commonjsGlobal?commonjsGlobal:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"base64-js":34,ieee754:161,isarray:166}],39:[function(t,e,n){e.exports={100:"Continue",101:"Switching Protocols",102:"Processing",200:"OK",201:"Created",202:"Accepted",203:"Non-Authoritative Information",204:"No Content",205:"Reset Content",206:"Partial Content",207:"Multi-Status",208:"Already Reported",226:"IM Used",300:"Multiple Choices",301:"Moved Permanently",302:"Found",303:"See Other",304:"Not Modified",305:"Use Proxy",307:"Temporary Redirect",308:"Permanent Redirect",400:"Bad Request",401:"Unauthorized",402:"Payment Required",403:"Forbidden",404:"Not Found",405:"Method Not Allowed",406:"Not Acceptable",407:"Proxy Authentication Required",408:"Request Timeout",409:"Conflict",410:"Gone",411:"Length Required",412:"Precondition Failed",413:"Payload Too Large",414:"URI Too Long",415:"Unsupported Media Type",416:"Range Not Satisfiable",417:"Expectation Failed",418:"I'm a teapot",421:"Misdirected Request",422:"Unprocessable Entity",423:"Locked",424:"Failed Dependency",425:"Unordered Collection",426:"Upgrade Required",428:"Precondition Required",429:"Too Many Requests",431:"Request Header Fields Too Large",451:"Unavailable For Legal Reasons",500:"Internal Server Error",501:"Not Implemented",502:"Bad Gateway",503:"Service Unavailable",504:"Gateway Timeout",505:"HTTP Version Not Supported",506:"Variant Also Negotiates",507:"Insufficient Storage",508:"Loop Detected",509:"Bandwidth Limit Exceeded",510:"Not Extended",511:"Network Authentication Required"}},{}],40:[function(t,e,n){var r=function(){this.buffer=[],this.fns=[]};r.prototype.push=function(t,e){if(this.fns.length)return this.fns.shift()(null,t);var n={data:t,priority:e},r=o(this.buffer,n,(function(t){return t.priority}));this.buffer.splice(r,0,n)},r.prototype.next=function(){var t=this;return function(e){return t.buffer.length?e(null,t.buffer.pop().data):void t.fns.push(e)}};var o=function(t,e,n){e=n(e);for(var r=0,o=t?t.length:r;o>r;){var i=r+o>>>1;n(t[i])<e?r=i+1:o=i}return r};e.exports=r},{}],41:[function(t,e,n){function r(t){var e=this,n=f.call(arguments,1);return new Promise((function(r,i){function a(e){var n;try{n=t.next(e)}catch(t){return i(t)}u(n)}function s(e){var n;try{n=t.throw(e)}catch(t){return i(t)}u(n)}function u(t){if(t.done)return r(t.value);var n=o.call(e,t.value);return n&&c(n)?n.then(a,s):s(new TypeError('You may only yield a function, promise, generator, array, or object, but the following object was passed: "'+String(t.value)+'"'))}return"function"==typeof t&&(t=t.apply(e,n)),t&&"function"==typeof t.next?void a():r(t)}))}function o(t){return t?c(t)?t:l(t)||u(t)?r.call(this,t):"function"==typeof t?i.call(this,t):Array.isArray(t)?a.call(this,t):p(t)?s.call(this,t):t:t}function i(t){var e=this;return new Promise((function(n,r){t.call(e,(function(t,e){return t?r(t):(arguments.length>2&&(e=f.call(arguments,1)),void n(e))}))}))}function a(t){return Promise.all(t.map(o,this))}function s(t){function e(t,e){n[e]=void 0,i.push(t.then((function(t){n[e]=t})))}for(var n=new t.constructor,r=Object.keys(t),i=[],a=0;a<r.length;a++){var s=r[a],u=o.call(this,t[s]);u&&c(u)?e(u,s):n[s]=t[s]}return Promise.all(i).then((function(){return n}))}function c(t){return"function"==typeof t.then}function u(t){return"function"==typeof t.next&&"function"==typeof t.throw}function l(t){var e=t.constructor;return!!e&&("GeneratorFunction"===e.name||"GeneratorFunction"===e.displayName||u(e.prototype))}function p(t){return Object==t.constructor}var f=Array.prototype.slice;e.exports=r.default=r.co=r,r.wrap=function(t){function e(){return r.call(this,t.apply(this,arguments))}return e.__generatorFunction__=t,e}},{}],42:[function(t,e,n){e.exports={O_RDONLY:0,O_WRONLY:1,O_RDWR:2,S_IFMT:61440,S_IFREG:32768,S_IFDIR:16384,S_IFCHR:8192,S_IFBLK:24576,S_IFIFO:4096,S_IFLNK:40960,S_IFSOCK:49152,O_CREAT:512,O_EXCL:2048,O_NOCTTY:131072,O_TRUNC:1024,O_APPEND:8,O_DIRECTORY:1048576,O_NOFOLLOW:256,O_SYNC:128,O_SYMLINK:2097152,O_NONBLOCK:4,S_IRWXU:448,S_IRUSR:256,S_IWUSR:128,S_IXUSR:64,S_IRWXG:56,S_IRGRP:32,S_IWGRP:16,S_IXGRP:8,S_IRWXO:7,S_IROTH:4,S_IWOTH:2,S_IXOTH:1,E2BIG:7,EACCES:13,EADDRINUSE:48,EADDRNOTAVAIL:49,EAFNOSUPPORT:47,EAGAIN:35,EALREADY:37,EBADF:9,EBADMSG:94,EBUSY:16,ECANCELED:89,ECHILD:10,ECONNABORTED:53,ECONNREFUSED:61,ECONNRESET:54,EDEADLK:11,EDESTADDRREQ:39,EDOM:33,EDQUOT:69,EEXIST:17,EFAULT:14,EFBIG:27,EHOSTUNREACH:65,EIDRM:90,EILSEQ:92,EINPROGRESS:36,EINTR:4,EINVAL:22,EIO:5,EISCONN:56,EISDIR:21,ELOOP:62,EMFILE:24,EMLINK:31,EMSGSIZE:40,EMULTIHOP:95,ENAMETOOLONG:63,ENETDOWN:50,ENETRESET:52,ENETUNREACH:51,ENFILE:23,ENOBUFS:55,ENODATA:96,ENODEV:19,ENOENT:2,ENOEXEC:8,ENOLCK:77,ENOLINK:97,ENOMEM:12,ENOMSG:91,ENOPROTOOPT:42,ENOSPC:28,ENOSR:98,ENOSTR:99,ENOSYS:78,ENOTCONN:57,ENOTDIR:20,ENOTEMPTY:66,ENOTSOCK:38,ENOTSUP:45,ENOTTY:25,ENXIO:6,EOPNOTSUPP:102,EOVERFLOW:84,EPERM:1,EPIPE:32,EPROTO:100,EPROTONOSUPPORT:43,EPROTOTYPE:41,ERANGE:34,EROFS:30,ESPIPE:29,ESRCH:3,ESTALE:70,ETIME:101,ETIMEDOUT:60,ETXTBSY:26,EWOULDBLOCK:35,EXDEV:18,SIGHUP:1,SIGINT:2,SIGQUIT:3,SIGILL:4,SIGTRAP:5,SIGABRT:6,SIGIOT:6,SIGBUS:10,SIGFPE:8,SIGKILL:9,SIGUSR1:30,SIGSEGV:11,SIGUSR2:31,SIGPIPE:13,SIGALRM:14,SIGTERM:15,SIGCHLD:20,SIGCONT:19,SIGSTOP:17,SIGTSTP:18,SIGTTIN:21,SIGTTOU:22,SIGURG:16,SIGXCPU:24,SIGXFSZ:25,SIGVTALRM:26,SIGPROF:27,SIGWINCH:28,SIGIO:23,SIGSYS:12,SSL_OP_ALL:2147486719,SSL_OP_ALLOW_UNSAFE_LEGACY_RENEGOTIATION:262144,SSL_OP_CIPHER_SERVER_PREFERENCE:4194304,SSL_OP_CISCO_ANYCONNECT:32768,SSL_OP_COOKIE_EXCHANGE:8192,SSL_OP_CRYPTOPRO_TLSEXT_BUG:2147483648,SSL_OP_DONT_INSERT_EMPTY_FRAGMENTS:2048,SSL_OP_EPHEMERAL_RSA:0,SSL_OP_LEGACY_SERVER_CONNECT:4,SSL_OP_MICROSOFT_BIG_SSLV3_BUFFER:32,SSL_OP_MICROSOFT_SESS_ID_BUG:1,SSL_OP_MSIE_SSLV2_RSA_PADDING:0,SSL_OP_NETSCAPE_CA_DN_BUG:536870912,SSL_OP_NETSCAPE_CHALLENGE_BUG:2,SSL_OP_NETSCAPE_DEMO_CIPHER_CHANGE_BUG:1073741824,SSL_OP_NETSCAPE_REUSE_CIPHER_CHANGE_BUG:8,SSL_OP_NO_COMPRESSION:131072,SSL_OP_NO_QUERY_MTU:4096,SSL_OP_NO_SESSION_RESUMPTION_ON_RENEGOTIATION:65536,SSL_OP_NO_SSLv2:16777216,SSL_OP_NO_SSLv3:33554432,SSL_OP_NO_TICKET:16384,SSL_OP_NO_TLSv1:67108864,SSL_OP_NO_TLSv1_1:268435456,SSL_OP_NO_TLSv1_2:134217728,SSL_OP_PKCS1_CHECK_1:0,SSL_OP_PKCS1_CHECK_2:0,SSL_OP_SINGLE_DH_USE:1048576,SSL_OP_SINGLE_ECDH_USE:524288,SSL_OP_SSLEAY_080_CLIENT_DH_BUG:128,SSL_OP_SSLREF2_REUSE_CERT_TYPE_BUG:0,SSL_OP_TLS_BLOCK_PADDING_BUG:512,SSL_OP_TLS_D5_BUG:256,SSL_OP_TLS_ROLLBACK_BUG:8388608,ENGINE_METHOD_DSA:2,ENGINE_METHOD_DH:4,ENGINE_METHOD_RAND:8,ENGINE_METHOD_ECDH:16,ENGINE_METHOD_ECDSA:32,ENGINE_METHOD_CIPHERS:64,ENGINE_METHOD_DIGESTS:128,ENGINE_METHOD_STORE:256,ENGINE_METHOD_PKEY_METHS:512,ENGINE_METHOD_PKEY_ASN1_METHS:1024,ENGINE_METHOD_ALL:65535,ENGINE_METHOD_NONE:0,DH_CHECK_P_NOT_SAFE_PRIME:2,DH_CHECK_P_NOT_PRIME:1,DH_UNABLE_TO_CHECK_GENERATOR:4,DH_NOT_SUITABLE_GENERATOR:8,NPN_ENABLED:1,RSA_PKCS1_PADDING:1,RSA_SSLV23_PADDING:2,RSA_NO_PADDING:3,RSA_PKCS1_OAEP_PADDING:4,RSA_X931_PADDING:5,RSA_PKCS1_PSS_PADDING:6,POINT_CONVERSION_COMPRESSED:2,POINT_CONVERSION_UNCOMPRESSED:4,POINT_CONVERSION_HYBRID:6,F_OK:0,R_OK:4,W_OK:2,X_OK:1,UV_UDP_REUSEADDR:4}},{}],43:[function(t,e,n){function r(t,e){return this instanceof r?(this.src=t,void(this._withAccess=e)):new r(t,e)}function o(t,e){return void 0===t[e]&&void 0===t.__lookupGetter__(e)&&void 0===t.__lookupSetter__(e)}var i=Array.prototype.slice;e.exports=r,r.prototype.withAccess=function(t){return this._withAccess=!1!==t,this},r.prototype.pick=function(t){return Array.isArray(t)||(t=i.call(arguments)),t.length&&(this.keys=t),this},r.prototype.to=function(t){if(t=t||{},!this.src)return t;var e=this.keys||Object.keys(this.src);if(!this._withAccess){for(var n=0;n<e.length;n++)void 0===t[r=e[n]]&&(t[r]=this.src[r]);return t}for(n=0;n<e.length;n++){var r=e[n];if(o(t,r)){var i=this.src.__lookupGetter__(r),a=this.src.__lookupSetter__(r);i&&t.__defineGetter__(r,i),a&&t.__defineSetter__(r,a),i||a||(t[r]=this.src[r])}}return t},r.prototype.toCover=function(t){for(var e=this.keys||Object.keys(this.src),n=0;n<e.length;n++){var r=e[n];delete t[r];var o=this.src.__lookupGetter__(r),i=this.src.__lookupSetter__(r);o&&t.__defineGetter__(r,o),i&&t.__defineSetter__(r,i),o||i||(t[r]=this.src[r])}},r.prototype.override=r.prototype.toCover,r.prototype.and=function(t){var e={};return this.to(e),this.src=t,this.to(e),this.src=e,this}},{}],44:[function(t,e,n){t("../../modules/es6.string.iterator"),t("../../modules/es6.array.from"),e.exports=t("../../modules/_core").Array.from},{"../../modules/_core":65,"../../modules/es6.array.from":133,"../../modules/es6.string.iterator":145}],45:[function(t,e,n){var r=t("../../modules/_core"),o=r.JSON||(r.JSON={stringify:JSON.stringify});e.exports=function(t){return o.stringify.apply(o,arguments)}},{"../../modules/_core":65}],46:[function(t,e,n){t("../../modules/es6.object.assign"),e.exports=t("../../modules/_core").Object.assign},{"../../modules/_core":65,"../../modules/es6.object.assign":136}],47:[function(t,e,n){t("../../modules/es6.object.create");var r=t("../../modules/_core").Object;e.exports=function(t,e){return r.create(t,e)}},{"../../modules/_core":65,"../../modules/es6.object.create":137}],48:[function(t,e,n){t("../../modules/es6.object.define-property");var r=t("../../modules/_core").Object;e.exports=function(t,e,n){return r.defineProperty(t,e,n)}},{"../../modules/_core":65,"../../modules/es6.object.define-property":138}],49:[function(t,e,n){t("../../modules/es6.object.get-own-property-names");var r=t("../../modules/_core").Object;e.exports=function(t){return r.getOwnPropertyNames(t)}},{"../../modules/_core":65,"../../modules/es6.object.get-own-property-names":139}],50:[function(t,e,n){t("../../modules/es6.object.get-prototype-of"),e.exports=t("../../modules/_core").Object.getPrototypeOf},{"../../modules/_core":65,"../../modules/es6.object.get-prototype-of":140}],51:[function(t,e,n){t("../../modules/es6.object.keys"),e.exports=t("../../modules/_core").Object.keys},{"../../modules/_core":65,"../../modules/es6.object.keys":141}],52:[function(t,e,n){t("../modules/es6.object.to-string"),t("../modules/es6.string.iterator"),t("../modules/web.dom.iterable"),t("../modules/es6.promise"),t("../modules/es7.promise.finally"),t("../modules/es7.promise.try"),e.exports=t("../modules/_core").Promise},{"../modules/_core":65,"../modules/es6.object.to-string":142,"../modules/es6.promise":143,"../modules/es6.string.iterator":145,"../modules/es7.promise.finally":147,"../modules/es7.promise.try":148,"../modules/web.dom.iterable":151}],53:[function(t,e,n){t("../modules/web.immediate"),e.exports=t("../modules/_core").setImmediate},{"../modules/_core":65,"../modules/web.immediate":152}],54:[function(t,e,n){t("../../modules/es6.string.from-code-point"),e.exports=t("../../modules/_core").String.fromCodePoint},{"../../modules/_core":65,"../../modules/es6.string.from-code-point":144}],55:[function(t,e,n){t("../../modules/es6.function.has-instance"),e.exports=t("../../modules/_wks-ext").f("hasInstance")},{"../../modules/_wks-ext":130,"../../modules/es6.function.has-instance":135}],56:[function(t,e,n){t("../../modules/es6.symbol"),t("../../modules/es6.object.to-string"),t("../../modules/es7.symbol.async-iterator"),t("../../modules/es7.symbol.observable"),e.exports=t("../../modules/_core").Symbol},{"../../modules/_core":65,"../../modules/es6.object.to-string":142,"../../modules/es6.symbol":146,"../../modules/es7.symbol.async-iterator":149,"../../modules/es7.symbol.observable":150}],57:[function(t,e,n){t("../../modules/es6.string.iterator"),t("../../modules/web.dom.iterable"),e.exports=t("../../modules/_wks-ext").f("iterator")},{"../../modules/_wks-ext":130,"../../modules/es6.string.iterator":145,"../../modules/web.dom.iterable":151}],58:[function(t,e,n){e.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},{}],59:[function(t,e,n){e.exports=function(){}},{}],60:[function(t,e,n){e.exports=function(t,e,n,r){if(!(t instanceof e)||void 0!==r&&r in t)throw TypeError(n+": incorrect invocation!");return t}},{}],61:[function(t,e,n){var r=t("./_is-object");e.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},{"./_is-object":85}],62:[function(t,e,n){var r=t("./_to-iobject"),o=t("./_to-length"),i=t("./_to-absolute-index");e.exports=function(t){return function(e,n,a){var s,c=r(e),u=o(c.length),l=i(a,u);if(t&&n!=n){for(;u>l;)if((s=c[l++])!=s)return!0}else for(;u>l;l++)if((t||l in c)&&c[l]===n)return t||l||0;return!t&&-1}}},{"./_to-absolute-index":121,"./_to-iobject":123,"./_to-length":124}],63:[function(t,e,n){var r=t("./_cof"),o=t("./_wks")("toStringTag"),i="Arguments"==r(function(){return arguments}()),a=function(t,e){try{return t[e]}catch(t){}};e.exports=function(t){var e,n,s;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=a(e=Object(t),o))?n:i?r(e):"Object"==(s=r(e))&&"function"==typeof e.callee?"Arguments":s}},{"./_cof":64,"./_wks":131}],64:[function(t,e,n){var r={}.toString;e.exports=function(t){return r.call(t).slice(8,-1)}},{}],65:[function(t,e,n){var r=e.exports={version:"2.5.7"};"number"==typeof __e&&(__e=r)},{}],66:[function(t,e,n){var r=t("./_object-dp"),o=t("./_property-desc");e.exports=function(t,e,n){e in t?r.f(t,e,o(0,n)):t[e]=n}},{"./_object-dp":98,"./_property-desc":111}],67:[function(t,e,n){var r=t("./_a-function");e.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,o){return t.call(e,n,r,o)}}return function(){return t.apply(e,arguments)}}},{"./_a-function":58}],68:[function(t,e,n){e.exports=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t}},{}],69:[function(t,e,n){e.exports=!t("./_fails")((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},{"./_fails":74}],70:[function(t,e,n){var r=t("./_is-object"),o=t("./_global").document,i=r(o)&&r(o.createElement);e.exports=function(t){return i?o.createElement(t):{}}},{"./_global":76,"./_is-object":85}],71:[function(t,e,n){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},{}],72:[function(t,e,n){var r=t("./_object-keys"),o=t("./_object-gops"),i=t("./_object-pie");e.exports=function(t){var e=r(t),n=o.f;if(n)for(var a,s=n(t),c=i.f,u=0;s.length>u;)c.call(t,a=s[u++])&&e.push(a);return e}},{"./_object-gops":103,"./_object-keys":106,"./_object-pie":107}],73:[function(t,e,n){var r=t("./_global"),o=t("./_core"),i=t("./_ctx"),a=t("./_hide"),s=t("./_has"),c="prototype",u=function(t,e,n){var l,p,f,d=t&u.F,h=t&u.G,m=t&u.S,g=t&u.P,v=t&u.B,y=t&u.W,b=h?o:o[e]||(o[e]={}),w=b[c],x=h?r:m?r[e]:(r[e]||{})[c];for(l in h&&(n=e),n)(p=!d&&x&&void 0!==x[l])&&s(b,l)||(f=p?x[l]:n[l],b[l]=h&&"function"!=typeof x[l]?n[l]:v&&p?i(f,r):y&&x[l]==f?function(t){var e=function(e,n,r){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(e);case 2:return new t(e,n)}return new t(e,n,r)}return t.apply(this,arguments)};return e[c]=t[c],e}(f):g&&"function"==typeof f?i(Function.call,f):f,g&&((b.virtual||(b.virtual={}))[l]=f,t&u.R&&w&&!w[l]&&a(w,l,f)))};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":65,"./_ctx":67,"./_global":76,"./_has":77,"./_hide":78}],74:[function(t,e,n){e.exports=function(t){try{return!!t()}catch(t){return!0}}},{}],75:[function(t,e,n){var r=t("./_ctx"),o=t("./_iter-call"),i=t("./_is-array-iter"),a=t("./_an-object"),s=t("./_to-length"),c=t("./core.get-iterator-method"),u={},l={};n=e.exports=function(t,e,n,p,f){var d,h,m,g,v=f?function(){return t}:c(t),y=r(n,p,e?2:1),b=0;if("function"!=typeof v)throw TypeError(t+" is not iterable!");if(i(v)){for(d=s(t.length);d>b;b++)if((g=e?y(a(h=t[b])[0],h[1]):y(t[b]))===u||g===l)return g}else for(m=v.call(t);!(h=m.next()).done;)if((g=o(m,y,h.value,e))===u||g===l)return g},n.BREAK=u,n.RETURN=l},{"./_an-object":61,"./_ctx":67,"./_is-array-iter":83,"./_iter-call":86,"./_to-length":124,"./core.get-iterator-method":132}],76:[function(t,e,n){var r=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=r)},{}],77:[function(t,e,n){var r={}.hasOwnProperty;e.exports=function(t,e){return r.call(t,e)}},{}],78:[function(t,e,n){var r=t("./_object-dp"),o=t("./_property-desc");e.exports=t("./_descriptors")?function(t,e,n){return r.f(t,e,o(1,n))}:function(t,e,n){return t[e]=n,t}},{"./_descriptors":69,"./_object-dp":98,"./_property-desc":111}],79:[function(t,e,n){var r=t("./_global").document;e.exports=r&&r.documentElement},{"./_global":76}],80:[function(t,e,n){e.exports=!t("./_descriptors")&&!t("./_fails")((function(){return 7!=Object.defineProperty(t("./_dom-create")("div"),"a",{get:function(){return 7}}).a}))},{"./_descriptors":69,"./_dom-create":70,"./_fails":74}],81:[function(t,e,n){e.exports=function(t,e,n){var r=void 0===n;switch(e.length){case 0:return r?t():t.call(n);case 1:return r?t(e[0]):t.call(n,e[0]);case 2:return r?t(e[0],e[1]):t.call(n,e[0],e[1]);case 3:return r?t(e[0],e[1],e[2]):t.call(n,e[0],e[1],e[2]);case 4:return r?t(e[0],e[1],e[2],e[3]):t.call(n,e[0],e[1],e[2],e[3])}return t.apply(n,e)}},{}],82:[function(t,e,n){var r=t("./_cof");e.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},{"./_cof":64}],83:[function(t,e,n){var r=t("./_iterators"),o=t("./_wks")("iterator"),i=Array.prototype;e.exports=function(t){return void 0!==t&&(r.Array===t||i[o]===t)}},{"./_iterators":91,"./_wks":131}],84:[function(t,e,n){var r=t("./_cof");e.exports=Array.isArray||function(t){return"Array"==r(t)}},{"./_cof":64}],85:[function(t,e,n){e.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},{}],86:[function(t,e,n){var r=t("./_an-object");e.exports=function(t,e,n,o){try{return o?e(r(n)[0],n[1]):e(n)}catch(e){var i=t.return;throw void 0!==i&&r(i.call(t)),e}}},{"./_an-object":61}],87:[function(t,e,n){var r=t("./_object-create"),o=t("./_property-desc"),i=t("./_set-to-string-tag"),a={};t("./_hide")(a,t("./_wks")("iterator"),(function(){return this})),e.exports=function(t,e,n){t.prototype=r(a,{next:o(1,n)}),i(t,e+" Iterator")}},{"./_hide":78,"./_object-create":97,"./_property-desc":111,"./_set-to-string-tag":115,"./_wks":131}],88:[function(t,e,n){var r=t("./_library"),o=t("./_export"),i=t("./_redefine"),a=t("./_hide"),s=t("./_iterators"),c=t("./_iter-create"),u=t("./_set-to-string-tag"),l=t("./_object-gpo"),p=t("./_wks")("iterator"),f=!([].keys&&"next"in[].keys()),d="@@iterator",h="keys",m="values",g=function(){return this};e.exports=function(t,e,n,v,y,b,w){c(n,e,v);var x,_,A,k=function(t){if(!f&&t in C)return C[t];switch(t){case h:case m:return function(){return new n(this,t)}}return function(){return new n(this,t)}},E=e+" Iterator",S=y==m,T=!1,C=t.prototype,P=C[p]||C[d]||y&&C[y],O=P||k(y),L=y?S?k("entries"):O:void 0,M="Array"==e&&C.entries||P;if(M&&(A=l(M.call(new t)))!==Object.prototype&&A.next&&(u(A,E,!0),r||"function"==typeof A[p]||a(A,p,g)),S&&P&&P.name!==m&&(T=!0,O=function(){return P.call(this)}),r&&!w||!f&&!T&&C[p]||a(C,p,O),s[e]=O,s[E]=g,y)if(x={values:S?O:k(m),keys:b?O:k(h),entries:L},w)for(_ in x)_ in C||i(C,_,x[_]);else o(o.P+o.F*(f||T),e,x);return x}},{"./_export":73,"./_hide":78,"./_iter-create":87,"./_iterators":91,"./_library":92,"./_object-gpo":104,"./_redefine":113,"./_set-to-string-tag":115,"./_wks":131}],89:[function(t,e,n){var r=t("./_wks")("iterator"),o=!1;try{var i=[7][r]();i.return=function(){o=!0},Array.from(i,(function(){throw 2}))}catch(t){}e.exports=function(t,e){if(!e&&!o)return!1;var n=!1;try{var i=[7],a=i[r]();a.next=function(){return{done:n=!0}},i[r]=function(){return a},t(i)}catch(t){}return n}},{"./_wks":131}],90:[function(t,e,n){e.exports=function(t,e){return{value:e,done:!!t}}},{}],91:[function(t,e,n){e.exports={}},{}],92:[function(t,e,n){e.exports=!0},{}],93:[function(t,e,n){var r=t("./_uid")("meta"),o=t("./_is-object"),i=t("./_has"),a=t("./_object-dp").f,s=0,c=Object.isExtensible||function(){return!0},u=!t("./_fails")((function(){return c(Object.preventExtensions({}))})),l=function(t){a(t,r,{value:{i:"O"+ ++s,w:{}}})},p=function(t,e){if(!o(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!i(t,r)){if(!c(t))return"F";if(!e)return"E";l(t)}return t[r].i},f=function(t,e){if(!i(t,r)){if(!c(t))return!0;if(!e)return!1;l(t)}return t[r].w},d=function(t){return u&&h.NEED&&c(t)&&!i(t,r)&&l(t),t},h=e.exports={KEY:r,NEED:!1,fastKey:p,getWeak:f,onFreeze:d}},{"./_fails":74,"./_has":77,"./_is-object":85,"./_object-dp":98,"./_uid":127}],94:[function(t,e,n){var r=t("./_global"),o=t("./_task").set,i=r.MutationObserver||r.WebKitMutationObserver,a=r.process,s=r.Promise,c="process"==t("./_cof")(a);e.exports=function(){var t,e,n,u=function(){var r,o;for(c&&(r=a.domain)&&r.exit();t;){o=t.fn,t=t.next;try{o()}catch(r){throw t?n():e=void 0,r}}e=void 0,r&&r.enter()};if(c)n=function(){a.nextTick(u)};else if(!i||r.navigator&&r.navigator.standalone)if(s&&s.resolve){var l=s.resolve(void 0);n=function(){l.then(u)}}else n=function(){o.call(r,u)};else{var p=!0,f=document.createTextNode("");new i(u).observe(f,{characterData:!0}),n=function(){f.data=p=!p}}return function(r){var o={fn:r,next:void 0};e&&(e.next=o),t||(t=o,n()),e=o}}},{"./_cof":64,"./_global":76,"./_task":120}],95:[function(t,e,n){function r(t){var e,n;this.promise=new t((function(t,r){if(void 0!==e||void 0!==n)throw TypeError("Bad Promise constructor");e=t,n=r})),this.resolve=o(e),this.reject=o(n)}var o=t("./_a-function");e.exports.f=function(t){return new r(t)}},{"./_a-function":58}],96:[function(t,e,n){var r=t("./_object-keys"),o=t("./_object-gops"),i=t("./_object-pie"),a=t("./_to-object"),s=t("./_iobject"),c=Object.assign;e.exports=!c||t("./_fails")((function(){var t={},e={},n=Symbol(),r="abcdefghijklmnopqrst";return t[n]=7,r.split("").forEach((function(t){e[t]=t})),7!=c({},t)[n]||Object.keys(c({},e)).join("")!=r}))?function(t,e){for(var n=a(t),c=arguments.length,u=1,l=o.f,p=i.f;c>u;)for(var f,d=s(arguments[u++]),h=l?r(d).concat(l(d)):r(d),m=h.length,g=0;m>g;)p.call(d,f=h[g++])&&(n[f]=d[f]);return n}:c},{"./_fails":74,"./_iobject":82,"./_object-gops":103,"./_object-keys":106,"./_object-pie":107,"./_to-object":125}],97:[function(t,e,n){var r=t("./_an-object"),o=t("./_object-dps"),i=t("./_enum-bug-keys"),a=t("./_shared-key")("IE_PROTO"),s=function(){},c="prototype",u=function(){var e,n=t("./_dom-create")("iframe"),r=i.length,o="<",a=">";for(n.style.display="none",t("./_html").appendChild(n),n.src="javascript:",(e=n.contentWindow.document).open(),e.write(o+"script"+a+"document.F=Object"+o+"/script"+a),e.close(),u=e.F;r--;)delete u[c][i[r]];return u()};e.exports=Object.create||function(t,e){var n;return null!==t?(s[c]=r(t),n=new s,s[c]=null,n[a]=t):n=u(),void 0===e?n:o(n,e)}},{"./_an-object":61,"./_dom-create":70,"./_enum-bug-keys":71,"./_html":79,"./_object-dps":99,"./_shared-key":116}],98:[function(t,e,n){var r=t("./_an-object"),o=t("./_ie8-dom-define"),i=t("./_to-primitive"),a=Object.defineProperty;n.f=t("./_descriptors")?Object.defineProperty:function(t,e,n){if(r(t),e=i(e,!0),r(n),o)try{return a(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},{"./_an-object":61,"./_descriptors":69,"./_ie8-dom-define":80,"./_to-primitive":126}],99:[function(t,e,n){var r=t("./_object-dp"),o=t("./_an-object"),i=t("./_object-keys");e.exports=t("./_descriptors")?Object.defineProperties:function(t,e){o(t);for(var n,a=i(e),s=a.length,c=0;s>c;)r.f(t,n=a[c++],e[n]);return t}},{"./_an-object":61,"./_descriptors":69,"./_object-dp":98,"./_object-keys":106}],100:[function(t,e,n){var r=t("./_object-pie"),o=t("./_property-desc"),i=t("./_to-iobject"),a=t("./_to-primitive"),s=t("./_has"),c=t("./_ie8-dom-define"),u=Object.getOwnPropertyDescriptor;n.f=t("./_descriptors")?u:function(t,e){if(t=i(t),e=a(e,!0),c)try{return u(t,e)}catch(t){}return s(t,e)?o(!r.f.call(t,e),t[e]):void 0}},{"./_descriptors":69,"./_has":77,"./_ie8-dom-define":80,"./_object-pie":107,"./_property-desc":111,"./_to-iobject":123,"./_to-primitive":126}],101:[function(t,e,n){var r=t("./_to-iobject"),o=t("./_object-gopn").f,i={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],s=function(t){try{return o(t)}catch(t){return a.slice()}};e.exports.f=function(t){return a&&"[object Window]"==i.call(t)?s(t):o(r(t))}},{"./_object-gopn":102,"./_to-iobject":123}],102:[function(t,e,n){var r=t("./_object-keys-internal"),o=t("./_enum-bug-keys").concat("length","prototype");n.f=Object.getOwnPropertyNames||function(t){return r(t,o)}},{"./_enum-bug-keys":71,"./_object-keys-internal":105}],103:[function(t,e,n){n.f=Object.getOwnPropertySymbols},{}],104:[function(t,e,n){var r=t("./_has"),o=t("./_to-object"),i=t("./_shared-key")("IE_PROTO"),a=Object.prototype;e.exports=Object.getPrototypeOf||function(t){return t=o(t),r(t,i)?t[i]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?a:null}},{"./_has":77,"./_shared-key":116,"./_to-object":125}],105:[function(t,e,n){var r=t("./_has"),o=t("./_to-iobject"),i=t("./_array-includes")(!1),a=t("./_shared-key")("IE_PROTO");e.exports=function(t,e){var n,s=o(t),c=0,u=[];for(n in s)n!=a&&r(s,n)&&u.push(n);for(;e.length>c;)r(s,n=e[c++])&&(~i(u,n)||u.push(n));return u}},{"./_array-includes":62,"./_has":77,"./_shared-key":116,"./_to-iobject":123}],106:[function(t,e,n){var r=t("./_object-keys-internal"),o=t("./_enum-bug-keys");e.exports=Object.keys||function(t){return r(t,o)}},{"./_enum-bug-keys":71,"./_object-keys-internal":105}],107:[function(t,e,n){n.f={}.propertyIsEnumerable},{}],108:[function(t,e,n){var r=t("./_export"),o=t("./_core"),i=t("./_fails");e.exports=function(t,e){var n=(o.Object||{})[t]||Object[t],a={};a[t]=e(n),r(r.S+r.F*i((function(){n(1)})),"Object",a)}},{"./_core":65,"./_export":73,"./_fails":74}],109:[function(t,e,n){e.exports=function(t){try{return{e:!1,v:t()}}catch(t){return{e:!0,v:t}}}},{}],110:[function(t,e,n){var r=t("./_an-object"),o=t("./_is-object"),i=t("./_new-promise-capability");e.exports=function(t,e){if(r(t),o(e)&&e.constructor===t)return e;var n=i.f(t);return(0,n.resolve)(e),n.promise}},{"./_an-object":61,"./_is-object":85,"./_new-promise-capability":95}],111:[function(t,e,n){e.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},{}],112:[function(t,e,n){var r=t("./_hide");e.exports=function(t,e,n){for(var o in e)n&&t[o]?t[o]=e[o]:r(t,o,e[o]);return t}},{"./_hide":78}],113:[function(t,e,n){e.exports=t("./_hide")},{"./_hide":78}],114:[function(t,e,n){var r=t("./_global"),o=t("./_core"),i=t("./_object-dp"),a=t("./_descriptors"),s=t("./_wks")("species");e.exports=function(t){var e="function"==typeof o[t]?o[t]:r[t];a&&e&&!e[s]&&i.f(e,s,{configurable:!0,get:function(){return this}})}},{"./_core":65,"./_descriptors":69,"./_global":76,"./_object-dp":98,"./_wks":131}],115:[function(t,e,n){var r=t("./_object-dp").f,o=t("./_has"),i=t("./_wks")("toStringTag");e.exports=function(t,e,n){t&&!o(t=n?t:t.prototype,i)&&r(t,i,{configurable:!0,value:e})}},{"./_has":77,"./_object-dp":98,"./_wks":131}],116:[function(t,e,n){var r=t("./_shared")("keys"),o=t("./_uid");e.exports=function(t){return r[t]||(r[t]=o(t))}},{"./_shared":117,"./_uid":127}],117:[function(t,e,n){var r=t("./_core"),o=t("./_global"),i="__core-js_shared__",a=o[i]||(o[i]={});(e.exports=function(t,e){return a[t]||(a[t]=void 0!==e?e:{})})("versions",[]).push({version:r.version,mode:t("./_library")?"pure":"global",copyright:"© 2018 Denis Pushkarev (zloirock.ru)"})},{"./_core":65,"./_global":76,"./_library":92}],118:[function(t,e,n){var r=t("./_an-object"),o=t("./_a-function"),i=t("./_wks")("species");e.exports=function(t,e){var n,a=r(t).constructor;return void 0===a||null==(n=r(a)[i])?e:o(n)}},{"./_a-function":58,"./_an-object":61,"./_wks":131}],119:[function(t,e,n){var r=t("./_to-integer"),o=t("./_defined");e.exports=function(t){return function(e,n){var i,a,s=String(o(e)),c=r(n),u=s.length;return 0>c||c>=u?t?"":void 0:55296>(i=s.charCodeAt(c))||i>56319||c+1===u||(a=s.charCodeAt(c+1))<56320||a>57343?t?s.charAt(c):i:t?s.slice(c,c+2):a-56320+(i-55296<<10)+65536}}},{"./_defined":68,"./_to-integer":122}],120:[function(t,e,n){var r,o,i,a=t("./_ctx"),s=t("./_invoke"),c=t("./_html"),u=t("./_dom-create"),l=t("./_global"),p=l.process,f=l.setImmediate,d=l.clearImmediate,h=l.MessageChannel,m=l.Dispatch,g=0,v={},y="onreadystatechange",b=function(){var t=+this;if(v.hasOwnProperty(t)){var e=v[t];delete v[t],e()}},w=function(t){b.call(t.data)};f&&d||(f=function(t){for(var e=[],n=1;arguments.length>n;)e.push(arguments[n++]);return v[++g]=function(){s("function"==typeof t?t:Function(t),e)},r(g),g},d=function(t){delete v[t]},"process"==t("./_cof")(p)?r=function(t){p.nextTick(a(b,t,1))}:m&&m.now?r=function(t){m.now(a(b,t,1))}:h?(i=(o=new h).port2,o.port1.onmessage=w,r=a(i.postMessage,i,1)):l.addEventListener&&"function"==typeof postMessage&&!l.importScripts?(r=function(t){l.postMessage(t+"","*")},l.addEventListener("message",w,!1)):r=y in u("script")?function(t){c.appendChild(u("script"))[y]=function(){c.removeChild(this),b.call(t)}}:function(t){setTimeout(a(b,t,1),0)}),e.exports={set:f,clear:d}},{"./_cof":64,"./_ctx":67,"./_dom-create":70,"./_global":76,"./_html":79,"./_invoke":81}],121:[function(t,e,n){var r=t("./_to-integer"),o=Math.max,i=Math.min;e.exports=function(t,e){return 0>(t=r(t))?o(t+e,0):i(t,e)}},{"./_to-integer":122}],122:[function(t,e,n){var r=Math.ceil,o=Math.floor;e.exports=function(t){return isNaN(t=+t)?0:(t>0?o:r)(t)}},{}],123:[function(t,e,n){var r=t("./_iobject"),o=t("./_defined");e.exports=function(t){return r(o(t))}},{"./_defined":68,"./_iobject":82}],124:[function(t,e,n){var r=t("./_to-integer"),o=Math.min;e.exports=function(t){return t>0?o(r(t),9007199254740991):0}},{"./_to-integer":122}],125:[function(t,e,n){var r=t("./_defined");e.exports=function(t){return Object(r(t))}},{"./_defined":68}],126:[function(t,e,n){var r=t("./_is-object");e.exports=function(t,e){if(!r(t))return t;var n,o;if(e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;if("function"==typeof(n=t.valueOf)&&!r(o=n.call(t)))return o;if(!e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},{"./_is-object":85}],127:[function(t,e,n){var r=0,o=Math.random();e.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++r+o).toString(36))}},{}],128:[function(t,e,n){var r=t("./_global").navigator;e.exports=r&&r.userAgent||""},{"./_global":76}],129:[function(t,e,n){var r=t("./_global"),o=t("./_core"),i=t("./_library"),a=t("./_wks-ext"),s=t("./_object-dp").f;e.exports=function(t){var e=o.Symbol||(o.Symbol=i?{}:r.Symbol||{});"_"==t.charAt(0)||t in e||s(e,t,{value:a.f(t)})}},{"./_core":65,"./_global":76,"./_library":92,"./_object-dp":98,"./_wks-ext":130}],130:[function(t,e,n){n.f=t("./_wks")},{"./_wks":131}],131:[function(t,e,n){var r=t("./_shared")("wks"),o=t("./_uid"),i=t("./_global").Symbol,a="function"==typeof i,s=e.exports=function(t){return r[t]||(r[t]=a&&i[t]||(a?i:o)("Symbol."+t))};s.store=r},{"./_global":76,"./_shared":117,"./_uid":127}],132:[function(t,e,n){var r=t("./_classof"),o=t("./_wks")("iterator"),i=t("./_iterators");e.exports=t("./_core").getIteratorMethod=function(t){return null!=t?t[o]||t["@@iterator"]||i[r(t)]:void 0}},{"./_classof":63,"./_core":65,"./_iterators":91,"./_wks":131}],133:[function(t,e,n){var r=t("./_ctx"),o=t("./_export"),i=t("./_to-object"),a=t("./_iter-call"),s=t("./_is-array-iter"),c=t("./_to-length"),u=t("./_create-property"),l=t("./core.get-iterator-method");o(o.S+o.F*!t("./_iter-detect")((function(t){Array.from(t)})),"Array",{from:function(t){var e,n,o,p,f=i(t),d="function"==typeof this?this:Array,h=arguments.length,m=h>1?arguments[1]:void 0,g=void 0!==m,v=0,y=l(f);if(g&&(m=r(m,h>2?arguments[2]:void 0,2)),null==y||d==Array&&s(y))for(n=new d(e=c(f.length));e>v;v++)u(n,v,g?m(f[v],v):f[v]);else for(p=y.call(f),n=new d;!(o=p.next()).done;v++)u(n,v,g?a(p,m,[o.value,v],!0):o.value);return n.length=v,n}})},{"./_create-property":66,"./_ctx":67,"./_export":73,"./_is-array-iter":83,"./_iter-call":86,"./_iter-detect":89,"./_to-length":124,"./_to-object":125,"./core.get-iterator-method":132}],134:[function(t,e,n){var r=t("./_add-to-unscopables"),o=t("./_iter-step"),i=t("./_iterators"),a=t("./_to-iobject");e.exports=t("./_iter-define")(Array,"Array",(function(t,e){this._t=a(t),this._i=0,this._k=e}),(function(){var t=this._t,e=this._k,n=this._i++;return!t||n>=t.length?(this._t=void 0,o(1)):o(0,"keys"==e?n:"values"==e?t[n]:[n,t[n]])}),"values"),i.Arguments=i.Array,r("keys"),r("values"),r("entries")},{"./_add-to-unscopables":59,"./_iter-define":88,"./_iter-step":90,"./_iterators":91,"./_to-iobject":123}],135:[function(t,e,n){var r=t("./_is-object"),o=t("./_object-gpo"),i=t("./_wks")("hasInstance"),a=Function.prototype;i in a||t("./_object-dp").f(a,i,{value:function(t){if("function"!=typeof this||!r(t))return!1;if(!r(this.prototype))return t instanceof this;for(;t=o(t);)if(this.prototype===t)return!0;return!1}})},{"./_is-object":85,"./_object-dp":98,"./_object-gpo":104,"./_wks":131}],136:[function(t,e,n){var r=t("./_export");r(r.S+r.F,"Object",{assign:t("./_object-assign")})},{"./_export":73,"./_object-assign":96}],137:[function(t,e,n){var r=t("./_export");r(r.S,"Object",{create:t("./_object-create")})},{"./_export":73,"./_object-create":97}],138:[function(t,e,n){var r=t("./_export");r(r.S+r.F*!t("./_descriptors"),"Object",{defineProperty:t("./_object-dp").f})},{"./_descriptors":69,"./_export":73,"./_object-dp":98}],139:[function(t,e,n){t("./_object-sap")("getOwnPropertyNames",(function(){return t("./_object-gopn-ext").f}))},{"./_object-gopn-ext":101,"./_object-sap":108}],140:[function(t,e,n){var r=t("./_to-object"),o=t("./_object-gpo");t("./_object-sap")("getPrototypeOf",(function(){return function(t){return o(r(t))}}))},{"./_object-gpo":104,"./_object-sap":108,"./_to-object":125}],141:[function(t,e,n){var r=t("./_to-object"),o=t("./_object-keys");t("./_object-sap")("keys",(function(){return function(t){return o(r(t))}}))},{"./_object-keys":106,"./_object-sap":108,"./_to-object":125}],142:[function(t,e,n){arguments[4][36][0].apply(n,arguments)},{dup:36}],143:[function(t,e,n){var r,o,i,a,s=t("./_library"),c=t("./_global"),u=t("./_ctx"),l=t("./_classof"),p=t("./_export"),f=t("./_is-object"),d=t("./_a-function"),h=t("./_an-instance"),m=t("./_for-of"),g=t("./_species-constructor"),v=t("./_task").set,y=t("./_microtask")(),b=t("./_new-promise-capability"),w=t("./_perform"),x=t("./_user-agent"),_=t("./_promise-resolve"),A="Promise",k=c.TypeError,E=c.process,S=E&&E.versions,T=S&&S.v8||"",C=c[A],P="process"==l(E),O=function(){},L=o=b.f,M=!!function(){try{var e=C.resolve(1),n=(e.constructor={})[t("./_wks")("species")]=function(t){t(O,O)};return(P||"function"==typeof PromiseRejectionEvent)&&e.then(O)instanceof n&&0!==T.indexOf("6.6")&&-1===x.indexOf("Chrome/66")}catch(t){}}(),R=function(t){var e;return!(!f(t)||"function"!=typeof(e=t.then))&&e},I=function(t,e){if(!t._n){t._n=!0;var n=t._c;y((function(){for(var r=t._v,o=1==t._s,i=0,a=function(e){var n,i,a,s=o?e.ok:e.fail,c=e.resolve,u=e.reject,l=e.domain;try{s?(o||(2==t._h&&B(t),t._h=1),!0===s?n=r:(l&&l.enter(),n=s(r),l&&(l.exit(),a=!0)),n===e.promise?u(k("Promise-chain cycle")):(i=R(n))?i.call(n,c,u):c(n)):u(r)}catch(t){l&&!a&&l.exit(),u(t)}};n.length>i;)a(n[i++]);t._c=[],t._n=!1,e&&!t._h&&j(t)}))}},j=function(t){v.call(c,(function(){var e,n,r,o=t._v,i=D(t);if(i&&(e=w((function(){P?E.emit("unhandledRejection",o,t):(n=c.onunhandledrejection)?n({promise:t,reason:o}):(r=c.console)&&r.error&&r.error("Unhandled promise rejection",o)})),t._h=P||D(t)?2:1),t._a=void 0,i&&e.e)throw e.v}))},D=function(t){return 1!==t._h&&0===(t._a||t._c).length},B=function(t){v.call(c,(function(){var e;P?E.emit("rejectionHandled",t):(e=c.onrejectionhandled)&&e({promise:t,reason:t._v})}))},N=function(t){var e=this;e._d||(e._d=!0,(e=e._w||e)._v=t,e._s=2,e._a||(e._a=e._c.slice()),I(e,!0))},U=function(t){var e,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===t)throw k("Promise can't be resolved itself");(e=R(t))?y((function(){var r={_w:n,_d:!1};try{e.call(t,u(U,r,1),u(N,r,1))}catch(t){N.call(r,t)}})):(n._v=t,n._s=1,I(n,!1))}catch(t){N.call({_w:n,_d:!1},t)}}};M||(C=function(t){h(this,C,A,"_h"),d(t),r.call(this);try{t(u(U,this,1),u(N,this,1))}catch(t){N.call(this,t)}},(r=function(t){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1}).prototype=t("./_redefine-all")(C.prototype,{then:function(t,e){var n=L(g(this,C));return n.ok="function"!=typeof t||t,n.fail="function"==typeof e&&e,n.domain=P?E.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&I(this,!1),n.promise},catch:function(t){return this.then(void 0,t)}}),i=function(){var t=new r;this.promise=t,this.resolve=u(U,t,1),this.reject=u(N,t,1)},b.f=L=function(t){return t===C||t===a?new i(t):o(t)}),p(p.G+p.W+p.F*!M,{Promise:C}),t("./_set-to-string-tag")(C,A),t("./_set-species")(A),a=t("./_core")[A],p(p.S+p.F*!M,A,{reject:function(t){var e=L(this);return(0,e.reject)(t),e.promise}}),p(p.S+p.F*(s||!M),A,{resolve:function(t){return _(s&&this===a?C:this,t)}}),p(p.S+p.F*!(M&&t("./_iter-detect")((function(t){C.all(t).catch(O)}))),A,{all:function(t){var e=this,n=L(e),r=n.resolve,o=n.reject,i=w((function(){var n=[],i=0,a=1;m(t,!1,(function(t){var s=i++,c=!1;n.push(void 0),a++,e.resolve(t).then((function(t){c||(c=!0,n[s]=t,--a||r(n))}),o)})),--a||r(n)}));return i.e&&o(i.v),n.promise},race:function(t){var e=this,n=L(e),r=n.reject,o=w((function(){m(t,!1,(function(t){e.resolve(t).then(n.resolve,r)}))}));return o.e&&r(o.v),n.promise}})},{"./_a-function":58,"./_an-instance":60,"./_classof":63,"./_core":65,"./_ctx":67,"./_export":73,"./_for-of":75,"./_global":76,"./_is-object":85,"./_iter-detect":89,"./_library":92,"./_microtask":94,"./_new-promise-capability":95,"./_perform":109,"./_promise-resolve":110,"./_redefine-all":112,"./_set-species":114,"./_set-to-string-tag":115,"./_species-constructor":118,"./_task":120,"./_user-agent":128,"./_wks":131}],144:[function(t,e,n){var r=t("./_export"),o=t("./_to-absolute-index"),i=String.fromCharCode,a=String.fromCodePoint;r(r.S+r.F*(!!a&&1!=a.length),"String",{fromCodePoint:function(t){for(var e,n=[],r=arguments.length,a=0;r>a;){if(e=+arguments[a++],o(e,1114111)!==e)throw RangeError(e+" is not a valid code point");n.push(65536>e?i(e):i(55296+((e-=65536)>>10),e%1024+56320))}return n.join("")}})},{"./_export":73,"./_to-absolute-index":121}],145:[function(t,e,n){var r=t("./_string-at")(!0);t("./_iter-define")(String,"String",(function(t){this._t=String(t),this._i=0}),(function(){var t,e=this._t,n=this._i;return n>=e.length?{value:void 0,done:!0}:(t=r(e,n),this._i+=t.length,{value:t,done:!1})}))},{"./_iter-define":88,"./_string-at":119}],146:[function(t,e,n){var r=t("./_global"),o=t("./_has"),i=t("./_descriptors"),a=t("./_export"),s=t("./_redefine"),c=t("./_meta").KEY,u=t("./_fails"),l=t("./_shared"),p=t("./_set-to-string-tag"),f=t("./_uid"),d=t("./_wks"),h=t("./_wks-ext"),m=t("./_wks-define"),g=t("./_enum-keys"),v=t("./_is-array"),y=t("./_an-object"),b=t("./_is-object"),w=t("./_to-iobject"),x=t("./_to-primitive"),_=t("./_property-desc"),A=t("./_object-create"),k=t("./_object-gopn-ext"),E=t("./_object-gopd"),S=t("./_object-dp"),T=t("./_object-keys"),C=E.f,P=S.f,O=k.f,L=r.Symbol,M=r.JSON,R=M&&M.stringify,I="prototype",j=d("_hidden"),D=d("toPrimitive"),B={}.propertyIsEnumerable,N=l("symbol-registry"),U=l("symbols"),$=l("op-symbols"),F=Object[I],G="function"==typeof L,q=r.QObject,K=!q||!q[I]||!q[I].findChild,H=i&&u((function(){return 7!=A(P({},"a",{get:function(){return P(this,"a",{value:7}).a}})).a}))?function(t,e,n){var r=C(F,e);r&&delete F[e],P(t,e,n),r&&t!==F&&P(F,e,r)}:P,V=function(t){var e=U[t]=A(L[I]);return e._k=t,e},z=G&&"symbol"==typeof L.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof L},W=function(t,e,n){return t===F&&W($,e,n),y(t),e=x(e,!0),y(n),o(U,e)?(n.enumerable?(o(t,j)&&t[j][e]&&(t[j][e]=!1),n=A(n,{enumerable:_(0,!1)})):(o(t,j)||P(t,j,_(1,{})),t[j][e]=!0),H(t,e,n)):P(t,e,n)},X=function(t,e){y(t);for(var n,r=g(e=w(e)),o=0,i=r.length;i>o;)W(t,n=r[o++],e[n]);return t},Y=function(t,e){return void 0===e?A(t):X(A(t),e)},Z=function(t){var e=B.call(this,t=x(t,!0));return!(this===F&&o(U,t)&&!o($,t))&&(!(e||!o(this,t)||!o(U,t)||o(this,j)&&this[j][t])||e)},Q=function(t,e){if(t=w(t),e=x(e,!0),t!==F||!o(U,e)||o($,e)){var n=C(t,e);return!n||!o(U,e)||o(t,j)&&t[j][e]||(n.enumerable=!0),n}},J=function(t){for(var e,n=O(w(t)),r=[],i=0;n.length>i;)o(U,e=n[i++])||e==j||e==c||r.push(e);return r},tt=function(t){for(var e,n=t===F,r=O(n?$:w(t)),i=[],a=0;r.length>a;)o(U,e=r[a++])&&(!n||o(F,e))&&i.push(U[e]);return i};G||(L=function(){if(this instanceof L)throw TypeError("Symbol is not a constructor!");var t=f(arguments.length>0?arguments[0]:void 0),e=function(n){this===F&&e.call($,n),o(this,j)&&o(this[j],t)&&(this[j][t]=!1),H(this,t,_(1,n))};return i&&K&&H(F,t,{configurable:!0,set:e}),V(t)},s(L[I],"toString",(function(){return this._k})),E.f=Q,S.f=W,t("./_object-gopn").f=k.f=J,t("./_object-pie").f=Z,t("./_object-gops").f=tt,i&&!t("./_library")&&s(F,"propertyIsEnumerable",Z,!0),h.f=function(t){return V(d(t))}),a(a.G+a.W+a.F*!G,{Symbol:L});for(var et="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),nt=0;et.length>nt;)d(et[nt++]);for(var rt=T(d.store),ot=0;rt.length>ot;)m(rt[ot++]);a(a.S+a.F*!G,"Symbol",{for:function(t){return o(N,t+="")?N[t]:N[t]=L(t)},keyFor:function(t){if(!z(t))throw TypeError(t+" is not a symbol!");for(var e in N)if(N[e]===t)return e},useSetter:function(){K=!0},useSimple:function(){K=!1}}),a(a.S+a.F*!G,"Object",{create:Y,defineProperty:W,defineProperties:X,getOwnPropertyDescriptor:Q,getOwnPropertyNames:J,getOwnPropertySymbols:tt}),M&&a(a.S+a.F*(!G||u((function(){var t=L();return"[null]"!=R([t])||"{}"!=R({a:t})||"{}"!=R(Object(t))}))),"JSON",{stringify:function(t){for(var e,n,r=[t],o=1;arguments.length>o;)r.push(arguments[o++]);return n=e=r[1],!b(e)&&void 0===t||z(t)?void 0:(v(e)||(e=function(t,e){return"function"==typeof n&&(e=n.call(this,t,e)),z(e)?void 0:e}),r[1]=e,R.apply(M,r))}}),L[I][D]||t("./_hide")(L[I],D,L[I].valueOf),p(L,"Symbol"),p(Math,"Math",!0),p(r.JSON,"JSON",!0)},{"./_an-object":61,"./_descriptors":69,"./_enum-keys":72,"./_export":73,"./_fails":74,"./_global":76,"./_has":77,"./_hide":78,"./_is-array":84,"./_is-object":85,"./_library":92,"./_meta":93,"./_object-create":97,"./_object-dp":98,"./_object-gopd":100,"./_object-gopn":102,"./_object-gopn-ext":101,"./_object-gops":103,"./_object-keys":106,"./_object-pie":107,"./_property-desc":111,"./_redefine":113,"./_set-to-string-tag":115,"./_shared":117,"./_to-iobject":123,"./_to-primitive":126,"./_uid":127,"./_wks":131,"./_wks-define":129,"./_wks-ext":130}],147:[function(t,e,n){var r=t("./_export"),o=t("./_core"),i=t("./_global"),a=t("./_species-constructor"),s=t("./_promise-resolve");r(r.P+r.R,"Promise",{finally:function(t){var e=a(this,o.Promise||i.Promise),n="function"==typeof t;return this.then(n?function(n){return s(e,t()).then((function(){return n}))}:t,n?function(n){return s(e,t()).then((function(){throw n}))}:t)}})},{"./_core":65,"./_export":73,"./_global":76,"./_promise-resolve":110,"./_species-constructor":118}],148:[function(t,e,n){var r=t("./_export"),o=t("./_new-promise-capability"),i=t("./_perform");r(r.S,"Promise",{try:function(t){var e=o.f(this),n=i(t);return(n.e?e.reject:e.resolve)(n.v),e.promise}})},{"./_export":73,"./_new-promise-capability":95,"./_perform":109}],149:[function(t,e,n){t("./_wks-define")("asyncIterator")},{"./_wks-define":129}],150:[function(t,e,n){t("./_wks-define")("observable")},{"./_wks-define":129}],151:[function(t,e,n){t("./es6.array.iterator");for(var r=t("./_global"),o=t("./_hide"),i=t("./_iterators"),a=t("./_wks")("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(","),c=0;c<s.length;c++){var u=s[c],l=r[u],p=l&&l.prototype;p&&!p[a]&&o(p,a,u),i[u]=i.Array}},{"./_global":76,"./_hide":78,"./_iterators":91,"./_wks":131,"./es6.array.iterator":134}],152:[function(t,e,n){var r=t("./_export"),o=t("./_task");r(r.G+r.B,{setImmediate:o.set,clearImmediate:o.clear})},{"./_export":73,"./_task":120}],153:[function(t,e,n){(function(e){function r(t){return t&&t.__esModule?t:{default:t}}function o(t){return Array.isArray?Array.isArray(t):"[object Array]"===y(t)}function i(t){return"boolean"==typeof t}function a(t){return null===t}function s(t){return null==t}function c(t){return"number"==typeof t}function u(t){return"string"==typeof t}function l(t){return"symbol"===(void 0===t?"undefined":(0,b.default)(t))}function p(t){return void 0===t}function f(t){return"[object RegExp]"===y(t)}function d(t){return"object"===(void 0===t?"undefined":(0,b.default)(t))&&null!==t}function h(t){return"[object Date]"===y(t)}function m(t){return"[object Error]"===y(t)||t instanceof Error}function g(t){return"function"==typeof t}function v(t){return null===t||"boolean"==typeof t||"number"==typeof t||"string"==typeof t||"symbol"===(void 0===t?"undefined":(0,b.default)(t))||void 0===t}function y(t){return Object.prototype.toString.call(t)}var b=r(t("babel-runtime/helpers/typeof"));n.isArray=o,n.isBoolean=i,n.isNull=a,n.isNullOrUndefined=s,n.isNumber=c,n.isString=u,n.isSymbol=l,n.isUndefined=p,n.isRegExp=f,n.isObject=d,n.isDate=h,n.isError=m,n.isFunction=g,n.isPrimitive=v,n.isBuffer=e.isBuffer}).call(this,{isBuffer:t("../../is-buffer/index.js")})},{"../../is-buffer/index.js":163,"babel-runtime/helpers/typeof":32}],154:[function(t,e,n){function r(t){return t&&t.__esModule?t:{default:t}}var o=r(t("babel-runtime/helpers/typeof"));!function(t){function r(t,e){for(t=String(t),e=e||2;t.length<e;)t="0"+t;return t}function i(t){var e=new Date(t.getFullYear(),t.getMonth(),t.getDate());e.setDate(e.getDate()-(e.getDay()+6)%7+3);var n=new Date(e.getFullYear(),0,4);n.setDate(n.getDate()-(n.getDay()+6)%7+3);var r=e.getTimezoneOffset()-n.getTimezoneOffset();e.setHours(e.getHours()-r);var o=(e-n)/6048e5;return 1+Math.floor(o)}function a(t){var e=t.getDay();return 0===e&&(e=7),e}function s(t){return null===t?"null":void 0===t?"undefined":"object"!==(void 0===t?"undefined":(0,o.default)(t))?void 0===t?"undefined":(0,o.default)(t):Array.isArray(t)?"array":{}.toString.call(t).slice(8,-1).toLowerCase()}var c=function(){var t=/d{1,4}|m{1,4}|yy(?:yy)?|([HhMsTt])\1?|[LloSZWN]|'[^']*'|'[^']*'/g,e=/\b(?:[PMCEA][SDP]T|(?:Pacific|Mountain|Central|Eastern|Atlantic) (?:Standard|Daylight|Prevailing) Time|(?:GMT|UTC)(?:[-+]\d{4})?)\b/g,n=/[^-+\dA-Z]/g;return function(o,u,l,p){if(1!==arguments.length||"string"!==s(o)||/\d/.test(o)||(u=o,o=void 0),(o=o||new Date)instanceof Date||(o=new Date(o)),isNaN(o))throw TypeError("Invalid date");var f=(u=String(c.masks[u]||u||c.masks.default)).slice(0,4);("UTC:"===f||"GMT:"===f)&&(u=u.slice(4),l=!0,"GMT:"===f&&(p=!0));var d=l?"getUTC":"get",h=o[d+"Date"](),m=o[d+"Day"](),g=o[d+"Month"](),v=o[d+"FullYear"](),y=o[d+"Hours"](),b=o[d+"Minutes"](),w=o[d+"Seconds"](),x=o[d+"Milliseconds"](),_=l?0:o.getTimezoneOffset(),A=i(o),k=a(o),E={d:h,dd:r(h),ddd:c.i18n.dayNames[m],dddd:c.i18n.dayNames[m+7],m:g+1,mm:r(g+1),mmm:c.i18n.monthNames[g],mmmm:c.i18n.monthNames[g+12],yy:String(v).slice(2),yyyy:v,h:y%12||12,hh:r(y%12||12),H:y,HH:r(y),M:b,MM:r(b),s:w,ss:r(w),l:r(x,3),L:r(Math.round(x/10)),t:12>y?"a":"p",tt:12>y?"am":"pm",T:12>y?"A":"P",TT:12>y?"AM":"PM",Z:p?"GMT":l?"UTC":(String(o).match(e)||[""]).pop().replace(n,""),o:(_>0?"-":"+")+r(100*Math.floor(Math.abs(_)/60)+Math.abs(_)%60,4),S:["th","st","nd","rd"][h%10>3?0:(h%100-h%10!=10)*h%10],W:A,N:k};return u.replace(t,(function(t){return t in E?E[t]:t.slice(1,t.length-1)}))}}();c.masks={default:"ddd mmm dd yyyy HH:MM:ss",shortDate:"m/d/yy",mediumDate:"mmm d, yyyy",longDate:"mmmm d, yyyy",fullDate:"dddd, mmmm d, yyyy",shortTime:"h:MM TT",mediumTime:"h:MM:ss TT",longTime:"h:MM:ss TT Z",isoDate:"yyyy-mm-dd",isoTime:"HH:MM:ss",isoDateTime:"yyyy-mm-dd'T'HH:MM:sso",isoUtcDateTime:"UTC:yyyy-mm-dd'T'HH:MM:ss'Z'",expiresHeaderFormat:"ddd, dd mmm yyyy HH:MM:ss Z"},c.i18n={dayNames:["Sun","Mon","Tue","Wed","Thu","Fri","Sat","Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],monthNames:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec","January","February","March","April","May","June","July","August","September","October","November","December"]},"object"===(void 0===n?"undefined":(0,o.default)(n))?e.exports=c:t.dateFormat=c}(void 0)},{"babel-runtime/helpers/typeof":32}],155:[function(t,e,n){(function(r){function o(){return!("undefined"==typeof window||!window.process||"renderer"!==window.process.type)||"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+)/)}function i(t){var e=this.useColors;if(t[0]=(e?"%c":"")+this.namespace+(e?" %c":" ")+t[0]+(e?"%c ":" ")+"+"+n.humanize(this.diff),e){var r="color: "+this.color;t.splice(1,0,r,"color: inherit");var o=0,i=0;t[0].replace(/%[a-zA-Z%]/g,(function(t){"%%"!==t&&(o++,"%c"===t&&(i=o))})),t.splice(i,0,r)}}function a(){return"object"==typeof console&&console.log&&Function.prototype.apply.call(console.log,console,arguments)}function s(t){try{null==t?n.storage.removeItem("debug"):n.storage.debug=t}catch(t){}}function c(){var t;try{t=n.storage.debug}catch(t){}return!t&&void 0!==r&&"env"in r&&(t=r.env.DEBUG),t}function u(){try{return window.localStorage}catch(t){}}(n=e.exports=t("./debug")).log=a,n.formatArgs=i,n.save=s,n.load=c,n.useColors=o,n.storage="undefined"!=typeof chrome&&void 0!==chrome.storage?chrome.storage.local:u(),n.colors=["lightseagreen","forestgreen","goldenrod","dodgerblue","darkorchid","crimson"],n.formatters.j=function(t){try{return JSON.stringify(t)}catch(t){return"[UnexpectedJSONParseError]: "+t.message}},n.enable(c())}).call(this,t("_process"))},{"./debug":156,_process:173}],156:[function(t,e,n){function r(t){var e,r=0;for(e in t)r=(r<<5)-r+t.charCodeAt(e),r|=0;return n.colors[Math.abs(r)%n.colors.length]}function o(t){function e(){if(e.enabled){var t=e,r=+new Date,o=r-(u||r);t.diff=o,t.prev=u,t.curr=r,u=r;for(var i=new Array(arguments.length),a=0;a<i.length;a++)i[a]=arguments[a];i[0]=n.coerce(i[0]),"string"!=typeof i[0]&&i.unshift("%O");var s=0;i[0]=i[0].replace(/%([a-zA-Z%])/g,(function(e,r){if("%%"===e)return e;s++;var o=n.formatters[r];if("function"==typeof o){var a=i[s];e=o.call(t,a),i.splice(s,1),s--}return e})),n.formatArgs.call(t,i),(e.log||n.log||void 0).apply(t,i)}}return e.namespace=t,e.enabled=n.enabled(t),e.useColors=n.useColors(),e.color=r(t),"function"==typeof n.init&&n.init(e),e}function i(t){n.save(t),n.names=[],n.skips=[];for(var e=("string"==typeof t?t:"").split(/[\s,]+/),r=e.length,o=0;r>o;o++)e[o]&&("-"===(t=e[o].replace(/\*/g,".*?"))[0]?n.skips.push(new RegExp("^"+t.substr(1)+"$")):n.names.push(new RegExp("^"+t+"$")))}function a(){n.enable("")}function s(t){var e,r;for(e=0,r=n.skips.length;r>e;e++)if(n.skips[e].test(t))return!1;for(e=0,r=n.names.length;r>e;e++)if(n.names[e].test(t))return!0;return!1}function c(t){return t instanceof Error?t.stack||t.message:t}var u;(n=e.exports=o.debug=o.default=o).coerce=c,n.disable=a,n.enable=i,n.enabled=s,n.humanize=t("ms"),n.names=[],n.skips=[],n.formatters={}},{ms:169}],157:[function(t,e,n){function r(t){var e=""+t,n=o.exec(e);if(!n)return e;var r,i="",a=0,s=0;for(a=n.index;a<e.length;a++){switch(e.charCodeAt(a)){case 34:r=""";break;case 38:r="&";break;case 39:r="'";break;case 60:r="<";break;case 62:r=">";break;default:continue}s!==a&&(i+=e.substring(s,a)),s=a+1,i+=r}return s!==a?i+e.substring(s,a):i}var o=/["'&<>]/;e.exports=r},{}],158:[function(t,e,n){function r(){this._events=this._events||{},this._maxListeners=this._maxListeners||void 0}function o(t){return"function"==typeof t}function i(t){return"number"==typeof t}function a(t){return"object"==typeof t&&null!==t}function s(t){return void 0===t}e.exports=r,r.EventEmitter=r,r.prototype._events=void 0,r.prototype._maxListeners=void 0,r.defaultMaxListeners=10,r.prototype.setMaxListeners=function(t){if(!i(t)||0>t||isNaN(t))throw TypeError("n must be a positive number");return this._maxListeners=t,this},r.prototype.emit=function(t){var e,n,r,i,c,u;if(this._events||(this._events={}),"error"===t&&(!this._events.error||a(this._events.error)&&!this._events.error.length)){if((e=arguments[1])instanceof Error)throw e;var l=new Error('Uncaught, unspecified "error" event. ('+e+")");throw l.context=e,l}if(s(n=this._events[t]))return!1;if(o(n))switch(arguments.length){case 1:n.call(this);break;case 2:n.call(this,arguments[1]);break;case 3:n.call(this,arguments[1],arguments[2]);break;default:i=Array.prototype.slice.call(arguments,1),n.apply(this,i)}else if(a(n))for(i=Array.prototype.slice.call(arguments,1),r=(u=n.slice()).length,c=0;r>c;c++)u[c].apply(this,i);return!0},r.prototype.addListener=function(t,e){var n;if(!o(e))throw TypeError("listener must be a function");return this._events||(this._events={}),this._events.newListener&&this.emit("newListener",t,o(e.listener)?e.listener:e),this._events[t]?a(this._events[t])?this._events[t].push(e):this._events[t]=[this._events[t],e]:this._events[t]=e,a(this._events[t])&&!this._events[t].warned&&(n=s(this._maxListeners)?r.defaultMaxListeners:this._maxListeners)&&n>0&&this._events[t].length>n&&(this._events[t].warned=!0,console.trace),this},r.prototype.on=r.prototype.addListener,r.prototype.once=function(t,e){function n(){this.removeListener(t,n),r||(r=!0,e.apply(this,arguments))}if(!o(e))throw TypeError("listener must be a function");var r=!1;return n.listener=e,this.on(t,n),this},r.prototype.removeListener=function(t,e){var n,r,i,s;if(!o(e))throw TypeError("listener must be a function");if(!this._events||!this._events[t])return this;if(i=(n=this._events[t]).length,r=-1,n===e||o(n.listener)&&n.listener===e)delete this._events[t],this._events.removeListener&&this.emit("removeListener",t,e);else if(a(n)){for(s=i;s-- >0;)if(n[s]===e||n[s].listener&&n[s].listener===e){r=s;break}if(0>r)return this;1===n.length?(n.length=0,delete this._events[t]):n.splice(r,1),this._events.removeListener&&this.emit("removeListener",t,e)}return this},r.prototype.removeAllListeners=function(t){var e,n;if(!this._events)return this;if(!this._events.removeListener)return 0===arguments.length?this._events={}:this._events[t]&&delete this._events[t],this;if(0===arguments.length){for(e in this._events)"removeListener"!==e&&this.removeAllListeners(e);return this.removeAllListeners("removeListener"),this._events={},this}if(o(n=this._events[t]))this.removeListener(t,n);else if(n)for(;n.length;)this.removeListener(t,n[n.length-1]);return delete this._events[t],this},r.prototype.listeners=function(t){return this._events&&this._events[t]?o(this._events[t])?[this._events[t]]:this._events[t].slice():[]},r.prototype.listenerCount=function(t){if(this._events){var e=this._events[t];if(o(e))return 1;if(e)return e.length}return 0},r.listenerCount=function(t,e){return t.listenerCount(e)}},{}],159:[function(t,e,n){var r=t("http"),o=e.exports;for(var i in r)r.hasOwnProperty(i)&&(o[i]=r[i]);o.request=function(t,e){return t||(t={}),t.scheme="https",t.protocol="https:",r.request.call(this,t,e)}},{http:196}],160:[function(t,e,n){var r=t("util"),o=t("ms");e.exports=function(t){if("number"==typeof t)return t;var e=o(t);return void 0===e&&new Error(r.format("humanize-ms(%j) result undefined",t)),e}},{ms:169,util:207}],161:[function(t,e,n){n.read=function(t,e,n,r,o){var i,a,s=8*o-r-1,c=(1<<s)-1,u=c>>1,l=-7,p=n?o-1:0,f=n?-1:1,d=t[e+p];for(p+=f,i=d&(1<<-l)-1,d>>=-l,l+=s;l>0;i=256*i+t[e+p],p+=f,l-=8);for(a=i&(1<<-l)-1,i>>=-l,l+=r;l>0;a=256*a+t[e+p],p+=f,l-=8);if(0===i)i=1-u;else{if(i===c)return a?NaN:1/0*(d?-1:1);a+=Math.pow(2,r),i-=u}return(d?-1:1)*a*Math.pow(2,i-r)},n.write=function(t,e,n,r,o,i){var a,s,c,u=8*i-o-1,l=(1<<u)-1,p=l>>1,f=23===o?Math.pow(2,-24)-Math.pow(2,-77):0,d=r?0:i-1,h=r?1:-1,m=0>e||0===e&&0>1/e?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(s=isNaN(e)?1:0,a=l):(a=Math.floor(Math.log(e)/Math.LN2),e*(c=Math.pow(2,-a))<1&&(a--,c*=2),(e+=a+p>=1?f/c:f*Math.pow(2,1-p))*c>=2&&(a++,c/=2),a+p>=l?(s=0,a=l):a+p>=1?(s=(e*c-1)*Math.pow(2,o),a+=p):(s=e*Math.pow(2,p-1)*Math.pow(2,o),a=0));o>=8;t[n+d]=255&s,d+=h,s/=256,o-=8);for(a=a<<o|s,u+=o;u>0;t[n+d]=255&a,d+=h,a/=256,u-=8);t[n+d-h]|=128*m}},{}],162:[function(t,e,n){"function"==typeof Object.create?e.exports=function(t,e){t.super_=e,t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}})}:e.exports=function(t,e){t.super_=e;var n=function(){};n.prototype=e.prototype,t.prototype=new n,t.prototype.constructor=t}},{}],163:[function(t,e,n){function r(t){return!!t.constructor&&"function"==typeof t.constructor.isBuffer&&t.constructor.isBuffer(t)}function o(t){return"function"==typeof t.readFloatLE&&"function"==typeof t.slice&&r(t.slice(0,0))}e.exports=function(t){return null!=t&&(r(t)||o(t)||!!t._isBuffer)}},{}],164:[function(t,e,n){!function(t){function r(t){return i.call(t).replace(/^[^{]*{\s*/,"").replace(/\s*}[^}]*$/,"")}function o(t){return"function"==typeof t&&(/^class(\s|\{\}$)/.test(i.call(t))||/^.*classCallCheck\(/.test(r(t)))}var i=Function.prototype.toString;void 0!==n?(void 0!==e&&e.exports&&(n=e.exports=o),n.isClass=o):t.isClass=o}(this)},{}],165:[function(t,e,n){function r(t){var e=t.slice(2);return e[0].toLowerCase()+e.slice(1)}var o=t("core-util-is"),i=t("isstream"),a=t("is-class");Object.keys(o).map((function(t){n[r(t)]=o[t]})),n.stream=i,n.readableStream=i.isReadable,n.writableStream=i.isWritable,n.duplexStream=i.isDuplex,n.class=a,n.finite=function(t){return Number.isFinite(t)},n.NaN=function(t){return Number.isNaN(t)},n.generator=function(t){return t&&"function"==typeof t.next&&"function"==typeof t.throw},n.generatorFunction=function(t){return t&&t.constructor&&"GeneratorFunction"===t.constructor.name},n.asyncFunction=function(t){return t&&t.constructor&&"AsyncFunction"===t.constructor.name},n.promise=function(t){return t&&"function"==typeof t.then};var s=Math.pow(2,31);n.int=function(t){return o.isNumber(t)&&t%1==0},n.int32=function(t){return n.int(t)&&s>t&&t>=-s},n.long=function(t){return n.int(t)&&(t>=s||-s>t)},n.Long=function(t){return n.object(t)&&n.number(t.high)&&n.number(t.low)},n.double=function(t){return o.isNumber(t)&&!isNaN(t)&&t%1!=0},n.date=function(t){return t instanceof Date},n.regExp=function(t){return t instanceof RegExp},n.regexp=n.regExp,n.error=function(t){return t instanceof Error},n.array=function(t){return Array.isArray(t)}},{"core-util-is":153,"is-class":164,isstream:167}],166:[function(t,e,n){var r={}.toString;e.exports=Array.isArray||function(t){return"[object Array]"==r.call(t)}},{}],167:[function(t,e,n){function r(t){return t instanceof s.Stream}function o(t){return r(t)&&"function"==typeof t._read&&"object"==typeof t._readableState}function i(t){return r(t)&&"function"==typeof t._write&&"object"==typeof t._writableState}function a(t){return o(t)&&i(t)}var s=t("stream");e.exports=r,e.exports.isReadable=o,e.exports.isWritable=i,e.exports.isDuplex=a},{stream:195}],168:[function(t,e,n){function r(t,e,n){if(!t)throw new TypeError("argument dest is required");if(!e)throw new TypeError("argument src is required");return void 0===n&&(n=!0),Object.getOwnPropertyNames(e).forEach((function(r){if(n||!o.call(t,r)){var i=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,i)}})),t}e.exports=r;var o=Object.prototype.hasOwnProperty},{}],169:[function(t,e,n){function r(t){if(!((t=String(t)).length>100)){var e=/^((?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(t);if(e){var n=parseFloat(e[1]);switch((e[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return n*p;case"days":case"day":case"d":return n*l;case"hours":case"hour":case"hrs":case"hr":case"h":return n*u;case"minutes":case"minute":case"mins":case"min":case"m":return n*c;case"seconds":case"second":case"secs":case"sec":case"s":return n*s;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return n;default:return}}}}function o(t){return t>=l?Math.round(t/l)+"d":t>=u?Math.round(t/u)+"h":t>=c?Math.round(t/c)+"m":t>=s?Math.round(t/s)+"s":t+"ms"}function i(t){return a(t,l,"day")||a(t,u,"hour")||a(t,c,"minute")||a(t,s,"second")||t+" ms"}function a(t,e,n){return e>t?void 0:1.5*e>t?Math.floor(t/e)+" "+n:Math.ceil(t/e)+" "+n+"s"}var s=1e3,c=60*s,u=60*c,l=24*u,p=365.25*l;e.exports=function(t,e){e=e||{};var n=typeof t;if("string"===n&&t.length>0)return r(t);if("number"===n&&!1===isNaN(t))return e.long?i(t):o(t);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(t))}},{}],170:[function(t,e,n){(function(t){function e(t,e){for(var n=0,r=t.length-1;r>=0;r--){var o=t[r];"."===o?t.splice(r,1):".."===o?(t.splice(r,1),n++):n&&(t.splice(r,1),n--)}if(e)for(;n--;n)t.unshift("..");return t}function r(t){"string"!=typeof t&&(t+="");var e,n=0,r=-1,o=!0;for(e=t.length-1;e>=0;--e)if(47===t.charCodeAt(e)){if(!o){n=e+1;break}}else-1===r&&(o=!1,r=e+1);return-1===r?"":t.slice(n,r)}function o(t,e){if(t.filter)return t.filter(e);for(var n=[],r=0;r<t.length;r++)e(t[r],r,t)&&n.push(t[r]);return n}n.resolve=function(){for(var n="",r=!1,i=arguments.length-1;i>=-1&&!r;i--){var a=i>=0?arguments[i]:t.cwd();if("string"!=typeof a)throw new TypeError("Arguments to path.resolve must be strings");a&&(n=a+"/"+n,r="/"===a.charAt(0))}return n=e(o(n.split("/"),(function(t){return!!t})),!r).join("/"),(r?"/":"")+n||"."},n.normalize=function(t){var r=n.isAbsolute(t),a="/"===i(t,-1);return(t=e(o(t.split("/"),(function(t){return!!t})),!r).join("/"))||r||(t="."),t&&a&&(t+="/"),(r?"/":"")+t},n.isAbsolute=function(t){return"/"===t.charAt(0)},n.join=function(){var t=Array.prototype.slice.call(arguments,0);return n.normalize(o(t,(function(t,e){if("string"!=typeof t)throw new TypeError("Arguments to path.join must be strings");return t})).join("/"))},n.relative=function(t,e){function r(t){for(var e=0;e<t.length&&""===t[e];e++);for(var n=t.length-1;n>=0&&""===t[n];n--);return e>n?[]:t.slice(e,n-e+1)}t=n.resolve(t).substr(1),e=n.resolve(e).substr(1);for(var o=r(t.split("/")),i=r(e.split("/")),a=Math.min(o.length,i.length),s=a,c=0;a>c;c++)if(o[c]!==i[c]){s=c;break}var u=[];for(c=s;c<o.length;c++)u.push("..");return(u=u.concat(i.slice(s))).join("/")},n.sep="/",n.delimiter=":",n.dirname=function(t){if("string"!=typeof t&&(t+=""),0===t.length)return".";for(var e=t.charCodeAt(0),n=47===e,r=-1,o=!0,i=t.length-1;i>=1;--i)if(47===(e=t.charCodeAt(i))){if(!o){r=i;break}}else o=!1;return-1===r?n?"/":".":n&&1===r?"/":t.slice(0,r)},n.basename=function(t,e){var n=r(t);return e&&n.substr(-1*e.length)===e&&(n=n.substr(0,n.length-e.length)),n},n.extname=function(t){"string"!=typeof t&&(t+="");for(var e=-1,n=0,r=-1,o=!0,i=0,a=t.length-1;a>=0;--a){var s=t.charCodeAt(a);if(47!==s)-1===r&&(o=!1,r=a+1),46===s?-1===e?e=a:1!==i&&(i=1):-1!==e&&(i=-1);else if(!o){n=a+1;break}}return-1===e||-1===r||0===i||1===i&&e===r-1&&e===n+1?"":t.slice(e,r)};var i="b"==="ab".substr(-1)?function(t,e,n){return t.substr(e,n)}:function(t,e,n){return 0>e&&(e=t.length+e),t.substr(e,n)}}).call(this,t("_process"))},{_process:173}],171:[function(t,e,n){(function(t){(function(){function r(t){return(t=String(t)).charAt(0).toUpperCase()+t.slice(1)}function o(t,e,n){var r={"10.0":"10",6.4:"10 Technical Preview",6.3:"8.1",6.2:"8",6.1:"Server 2008 R2 / 7","6.0":"Server 2008 / Vista",5.2:"Server 2003 / XP 64-bit",5.1:"XP",5.01:"2000 SP1","5.0":"2000","4.0":"NT","4.90":"ME"};return e&&n&&/^Win/i.test(t)&&!/^Windows Phone /i.test(t)&&(r=r[/[\d.]+$/.exec(t)])&&(t="Windows "+r),t=String(t),e&&n&&(t=t.replace(RegExp(e,"i"),n)),a(t.replace(/ ce$/i," CE").replace(/\bhpw/i,"web").replace(/\bMacintosh\b/,"Mac OS").replace(/_PowerPC\b/i," OS").replace(/\b(OS X) [^ \d]+/i,"$1").replace(/\bMac (OS X)\b/,"$1").replace(/\/(\d)/," $1").replace(/_/g,".").replace(/(?: BePC|[ .]*fc[ \d.]+)$/i,"").replace(/\bx86\.64\b/gi,"x86_64").replace(/\b(Windows Phone) OS\b/,"$1").replace(/\b(Chrome OS \w+) [\d.]+\b/,"$1").split(" on ")[0])}function i(t,e){var n=-1,r=t?t.length:0;if("number"==typeof r&&r>-1&&b>=r)for(;++n<r;)e(t[n],n,t);else s(t,e)}function a(t){return t=f(t),/^(?:webOS|i(?:OS|P))/.test(t)?t:r(t)}function s(t,e){for(var n in t)_.call(t,n)&&e(t[n],n,t)}function c(t){return null==t?r(t):A.call(t).slice(8,-1)}function u(t,e){var n=null!=t?typeof t[e]:"number";return!(/^(?:boolean|number|string|undefined)$/.test(n)||"object"==n&&!t[e])}function l(t){return String(t).replace(/([ -])(?!$)/g,"$1?")}function p(t,e){var n=null;return i(t,(function(r,o){n=e(n,r,o,t)})),n}function f(t){return String(t).replace(/^ +| +$/g,"")}function d(t){function e(e){return p(e,(function(e,n){return e||RegExp("\\b"+(n.pattern||l(n))+"\\b","i").exec(t)&&(n.label||n)}))}function n(e){return p(e,(function(e,n,r){return e||(n[V]||n[/^[a-z]+(?: +[a-z]+\b)*/i.exec(V)]||RegExp("\\b"+l(r)+"(?:\\b|\\w*\\d)","i").exec(t))&&r}))}function r(e){return p(e,(function(e,n){return e||RegExp("\\b"+(n.pattern||l(n))+"\\b","i").exec(t)&&(n.label||n)}))}function i(e){return p(e,(function(e,n){var r=n.pattern||l(n);return!e&&(e=RegExp("\\b"+r+"(?:/[\\d.]+|[ \\w.]*)","i").exec(t))&&(e=o(e,r,n.label||n)),e}))}function h(e){return p(e,(function(e,n){var r=n.pattern||l(n);return!e&&(e=RegExp("\\b"+r+" *\\d+[.\\w_]*","i").exec(t)||RegExp("\\b"+r+" *\\w+-[\\w]*","i").exec(t)||RegExp("\\b"+r+"(?:; *(?:[a-z]+[_-])?[a-z]+\\d+|[^ ();-]*)","i").exec(t))&&((e=String(n.label&&!RegExp(r,"i").test(n.label)?n.label:e).split("/"))[1]&&!/[\d.]+/.test(e[0])&&(e[0]+=" "+e[1]),n=n.label||n,e=a(e[0].replace(RegExp(r,"i"),n).replace(RegExp("; *(?:"+n+"[_-])?","i")," ").replace(RegExp("("+n+")[-_.]?(\\w)","i"),"$1 $2"))),e}))}function g(e){return p(e,(function(e,n){return e||(RegExp(n+"(?:-[\\d.]+/|(?: for [\\w-]+)?[ /-])([\\d.]+[^ ();/_-]*)","i").exec(t)||0)[1]||null}))}function v(){return this.description||""}var y=m,b=t&&"object"==typeof t&&"String"!=c(t);b&&(y=t,t=null);var x=y.navigator||{},_=x.userAgent||"";t||(t=_);var k,E,S=b?!!x.likeChrome:/\bChrome\b/.test(t)&&!/internal|\n/i.test(A.toString()),T="Object",C=b?T:"ScriptBridgingProxyObject",P=b?T:"Environment",O=b&&y.java?"JavaPackage":c(y.java),L=b?T:"RuntimeObject",M=/\bJava/.test(O)&&y.java,R=M&&c(y.environment)==P,I=M?"a":"α",j=M?"b":"β",D=y.document||{},B=y.operamini||y.opera,N=w.test(N=b&&B?B["[[Class]]"]:c(B))?N:B=null,U=t,$=[],F=null,G=t==_,q=G&&B&&"function"==typeof B.version&&B.version(),K=e([{label:"EdgeHTML",pattern:"Edge"},"Trident",{label:"WebKit",pattern:"AppleWebKit"},"iCab","Presto","NetFront","Tasman","KHTML","Gecko"]),H=r(["Adobe AIR","Arora","Avant Browser","Breach","Camino","Electron","Epiphany","Fennec","Flock","Galeon","GreenBrowser","iCab","Iceweasel","K-Meleon","Konqueror","Lunascape","Maxthon",{label:"Microsoft Edge",pattern:"Edge"},"Midori","Nook Browser","PaleMoon","PhantomJS","Raven","Rekonq","RockMelt",{label:"Samsung Internet",pattern:"SamsungBrowser"},"SeaMonkey",{label:"Silk",pattern:"(?:Cloud9|Silk-Accelerated)"},"Sleipnir","SlimBrowser",{label:"SRWare Iron",pattern:"Iron"},"Sunrise","Swiftfox","Waterfox","WebPositive","Opera Mini",{label:"Opera Mini",pattern:"OPiOS"},"Opera",{label:"Opera",pattern:"OPR"},"Chrome",{label:"Chrome Mobile",pattern:"(?:CriOS|CrMo)"},{label:"Firefox",pattern:"(?:Firefox|Minefield)"},{label:"Firefox for iOS",pattern:"FxiOS"},{label:"IE",pattern:"IEMobile"},{label:"IE",pattern:"MSIE"},"Safari"]),V=h([{label:"BlackBerry",pattern:"BB10"},"BlackBerry",{label:"Galaxy S",pattern:"GT-I9000"},{label:"Galaxy S2",pattern:"GT-I9100"},{label:"Galaxy S3",pattern:"GT-I9300"},{label:"Galaxy S4",pattern:"GT-I9500"},{label:"Galaxy S5",pattern:"SM-G900"},{label:"Galaxy S6",pattern:"SM-G920"},{label:"Galaxy S6 Edge",pattern:"SM-G925"},{label:"Galaxy S7",pattern:"SM-G930"},{label:"Galaxy S7 Edge",pattern:"SM-G935"},"Google TV","Lumia","iPad","iPod","iPhone","Kindle",{label:"Kindle Fire",pattern:"(?:Cloud9|Silk-Accelerated)"},"Nexus","Nook","PlayBook","PlayStation Vita","PlayStation","TouchPad","Transformer",{label:"Wii U",pattern:"WiiU"},"Wii","Xbox One",{label:"Xbox 360",pattern:"Xbox"},"Xoom"]),z=n({Apple:{iPad:1,iPhone:1,iPod:1},Archos:{},Amazon:{Kindle:1,"Kindle Fire":1},Asus:{Transformer:1},"Barnes & Noble":{Nook:1},BlackBerry:{PlayBook:1},Google:{"Google TV":1,Nexus:1},HP:{TouchPad:1},HTC:{},LG:{},Microsoft:{Xbox:1,"Xbox One":1},Motorola:{Xoom:1},Nintendo:{"Wii U":1,Wii:1},Nokia:{Lumia:1},Samsung:{"Galaxy S":1,"Galaxy S2":1,"Galaxy S3":1,"Galaxy S4":1},Sony:{PlayStation:1,"PlayStation Vita":1}}),W=i(["Windows Phone","Android","CentOS",{label:"Chrome OS",pattern:"CrOS"},"Debian","Fedora","FreeBSD","Gentoo","Haiku","Kubuntu","Linux Mint","OpenBSD","Red Hat","SuSE","Ubuntu","Xubuntu","Cygwin","Symbian OS","hpwOS","webOS ","webOS","Tablet OS","Tizen","Linux","Mac OS X","Macintosh","Mac","Windows 98;","Windows "]);if(K&&(K=[K]),z&&!V&&(V=h([z])),(k=/\bGoogle TV\b/.exec(V))&&(V=k[0]),/\bSimulator\b/i.test(t)&&(V=(V?V+" ":"")+"Simulator"),"Opera Mini"==H&&/\bOPiOS\b/.test(t)&&$.push("running in Turbo/Uncompressed mode"),"IE"==H&&/\blike iPhone OS\b/.test(t)?(z=(k=d(t.replace(/like iPhone OS/,""))).manufacturer,V=k.product):/^iP/.test(V)?(H||(H="Safari"),W="iOS"+((k=/ OS ([\d_]+)/i.exec(t))?" "+k[1].replace(/_/g,"."):"")):"Konqueror"!=H||/buntu/i.test(W)?z&&"Google"!=z&&(/Chrome/.test(H)&&!/\bMobile Safari\b/i.test(t)||/\bVita\b/.test(V))||/\bAndroid\b/.test(W)&&/^Chrome/.test(H)&&/\bVersion\//i.test(t)?(H="Android Browser",W=/\bAndroid\b/.test(W)?W:"Android"):"Silk"==H?(/\bMobi/i.test(t)||(W="Android",$.unshift("desktop mode")),/Accelerated *= *true/i.test(t)&&$.unshift("accelerated")):"PaleMoon"==H&&(k=/\bFirefox\/([\d.]+)\b/.exec(t))?$.push("identifying as Firefox "+k[1]):"Firefox"==H&&(k=/\b(Mobile|Tablet|TV)\b/i.exec(t))?(W||(W="Firefox OS"),V||(V=k[1])):!H||(k=!/\bMinefield\b/i.test(t)&&/\b(?:Firefox|Safari)\b/.exec(H))?(H&&!V&&/[\/,]|^[^(]+?\)/.test(t.slice(t.indexOf(k+"/")+8))&&(H=null),(k=V||z||W)&&(V||z||/\b(?:Android|Symbian OS|Tablet OS|webOS)\b/.test(W))&&(H=/[a-z]+(?: Hat)?/i.exec(/\bAndroid\b/.test(W)?W:k)+" Browser")):"Electron"==H&&(k=(/\bChrome\/([\d.]+)\b/.exec(t)||0)[1])&&$.push("Chromium "+k):W="Kubuntu",q||(q=g(["(?:Cloud9|CriOS|CrMo|Edge|FxiOS|IEMobile|Iron|Opera ?Mini|OPiOS|OPR|Raven|SamsungBrowser|Silk(?!/[\\d.]+$))","Version",l(H),"(?:Firefox|Minefield|NetFront)"])),(k=("iCab"==K&&parseFloat(q)>3?"WebKit":/\bOpera\b/.test(H)&&(/\bOPR\b/.test(t)?"Blink":"Presto"))||/\b(?:Midori|Nook|Safari)\b/i.test(t)&&!/^(?:Trident|EdgeHTML)$/.test(K)&&"WebKit"||!K&&/\bMSIE\b/i.test(t)&&("Mac OS"==W?"Tasman":"Trident")||"WebKit"==K&&/\bPlayStation\b(?! Vita\b)/i.test(H)&&"NetFront")&&(K=[k]),"IE"==H&&(k=(/; *(?:XBLWP|ZuneWP)(\d+)/i.exec(t)||0)[1])?(H+=" Mobile",W="Windows Phone "+(/\+$/.test(k)?k:k+".x"),$.unshift("desktop mode")):/\bWPDesktop\b/i.test(t)?(H="IE Mobile",W="Windows Phone 8.x",$.unshift("desktop mode"),q||(q=(/\brv:([\d.]+)/.exec(t)||0)[1])):"IE"!=H&&"Trident"==K&&(k=/\brv:([\d.]+)/.exec(t))&&(H&&$.push("identifying as "+H+(q?" "+q:"")),H="IE",q=k[1]),G){if(u(y,"global"))if(M&&(U=(k=M.lang.System).getProperty("os.arch"),W=W||k.getProperty("os.name")+" "+k.getProperty("os.version")),R){try{q=y.require("ringo/engine").version.join("."),H="RingoJS"}catch(t){(k=y.system)&&k.global.system==y.system&&(H="Narwhal",W||(W=k[0].os||null))}H||(H="Rhino")}else"object"==typeof y.process&&!y.process.browser&&(k=y.process)&&("object"==typeof k.versions&&("string"==typeof k.versions.electron?($.push("Node "+k.versions.node),H="Electron",q=k.versions.electron):"string"==typeof k.versions.nw&&($.push("Chromium "+q,"Node "+k.versions.node),H="NW.js",q=k.versions.nw)),H||(H="Node.js",U=k.arch,W=k.platform,q=(q=/[\d.]+/.exec(k.version))?q[0]:null));else c(k=y.runtime)==C?(H="Adobe AIR",W=k.flash.system.Capabilities.os):c(k=y.phantom)==L?(H="PhantomJS",q=(k=k.version||null)&&k.major+"."+k.minor+"."+k.patch):"number"==typeof D.documentMode&&(k=/\bTrident\/(\d+)/i.exec(t))?(q=[q,D.documentMode],(k=+k[1]+4)!=q[1]&&($.push("IE "+q[1]+" mode"),K&&(K[1]=""),q[1]=k),q="IE"==H?String(q[1].toFixed(1)):q[0]):"number"==typeof D.documentMode&&/^(?:Chrome|Firefox)\b/.test(H)&&($.push("masking as "+H+" "+q),H="IE",q="11.0",K=["Trident"],W="Windows");W=W&&a(W)}if(q&&(k=/(?:[ab]|dp|pre|[ab]\d+pre)(?:\d+\+?)?$/i.exec(q)||/(?:alpha|beta)(?: ?\d)?/i.exec(t+";"+(G&&x.appMinorVersion))||/\bMinefield\b/i.test(t)&&"a")&&(F=/b/i.test(k)?"beta":"alpha",q=q.replace(RegExp(k+"\\+?$"),"")+("beta"==F?j:I)+(/\d+\+?/.exec(k)||"")),"Fennec"==H||"Firefox"==H&&/\b(?:Android|Firefox OS)\b/.test(W))H="Firefox Mobile";else if("Maxthon"==H&&q)q=q.replace(/\.[\d.]+/,".x");else if(/\bXbox\b/i.test(V))"Xbox 360"==V&&(W=null),"Xbox 360"==V&&/\bIEMobile\b/.test(t)&&$.unshift("mobile mode");else if(!/^(?:Chrome|IE|Opera)$/.test(H)&&(!H||V||/Browser|Mobi/.test(H))||"Windows CE"!=W&&!/Mobi/i.test(t))if("IE"==H&&G)try{null===y.external&&$.unshift("platform preview")}catch(t){$.unshift("embedded")}else(/\bBlackBerry\b/.test(V)||/\bBB10\b/.test(t))&&(k=(RegExp(V.replace(/ +/g," *")+"/([.\\d]+)","i").exec(t)||0)[1]||q)?(W=((k=[k,/BB10/.test(t)])[1]?(V=null,z="BlackBerry"):"Device Software")+" "+k[0],q=null):this!=s&&"Wii"!=V&&(G&&B||/Opera/.test(H)&&/\b(?:MSIE|Firefox)\b/i.test(t)||"Firefox"==H&&/\bOS X (?:\d+\.){2,}/.test(W)||"IE"==H&&(W&&!/^Win/.test(W)&&q>5.5||/\bWindows XP\b/.test(W)&&q>8||8==q&&!/\bTrident\b/.test(t)))&&!w.test(k=d.call(s,t.replace(w,"")+";"))&&k.name&&(k="ing as "+k.name+((k=k.version)?" "+k:""),w.test(H)?(/\bIE\b/.test(k)&&"Mac OS"==W&&(W=null),k="identify"+k):(k="mask"+k,H=N?a(N.replace(/([a-z])([A-Z])/g,"$1 $2")):"Opera",/\bIE\b/.test(k)&&(W=null),G||(q=null)),K=["Presto"],$.push(k));else H+=" Mobile";(k=(/\bAppleWebKit\/([\d.]+\+?)/i.exec(t)||0)[1])&&(k=[parseFloat(k.replace(/\.(\d)$/,".0$1")),k],"Safari"==H&&"+"==k[1].slice(-1)?(H="WebKit Nightly",F="alpha",q=k[1].slice(0,-1)):(q==k[1]||q==(k[2]=(/\bSafari\/([\d.]+\+?)/i.exec(t)||0)[1]))&&(q=null),k[1]=(/\bChrome\/([\d.]+)/i.exec(t)||0)[1],537.36==k[0]&&537.36==k[2]&&parseFloat(k[1])>=28&&"WebKit"==K&&(K=["Blink"]),G&&(S||k[1])?(K&&(K[1]="like Chrome"),k=k[1]||(530>(k=k[0])?1:532>k?2:532.05>k?3:533>k?4:534.03>k?5:534.07>k?6:534.1>k?7:534.13>k?8:534.16>k?9:534.24>k?10:534.3>k?11:535.01>k?12:535.02>k?"13+":535.07>k?15:535.11>k?16:535.19>k?17:536.05>k?18:536.1>k?19:537.01>k?20:537.11>k?"21+":537.13>k?23:537.18>k?24:537.24>k?25:537.36>k?26:"Blink"!=K?"27":"28")):(K&&(K[1]="like Safari"),k=400>(k=k[0])?1:500>k?2:526>k?3:533>k?4:534>k?"4+":535>k?5:537>k?6:538>k?7:601>k?8:"8"),K&&(K[1]+=" "+(k+="number"==typeof k?".x":/[.+]/.test(k)?"":"+")),"Safari"==H&&(!q||parseInt(q)>45)&&(q=k)),"Opera"==H&&(k=/\bzbov|zvav$/.exec(W))?(H+=" ",$.unshift("desktop mode"),"zvav"==k?(H+="Mini",q=null):H+="Mobile",W=W.replace(RegExp(" *"+k+"$"),"")):"Safari"==H&&/\bChrome\b/.exec(K&&K[1])&&($.unshift("desktop mode"),H="Chrome Mobile",q=null,/\bOS X\b/.test(W)?(z="Apple",W="iOS 4.3+"):W=null),q&&0==q.indexOf(k=/[\d.]+$/.exec(W))&&t.indexOf("/"+k+"-")>-1&&(W=f(W.replace(k,""))),K&&!/\b(?:Avant|Nook)\b/.test(H)&&(/Browser|Lunascape|Maxthon/.test(H)||"Safari"!=H&&/^iOS/.test(W)&&/\bSafari\b/.test(K[1])||/^(?:Adobe|Arora|Breach|Midori|Opera|Phantom|Rekonq|Rock|Samsung Internet|Sleipnir|Web)/.test(H)&&K[1])&&(k=K[K.length-1])&&$.push(k),$.length&&($=["("+$.join("; ")+")"]),z&&V&&V.indexOf(z)<0&&$.push("on "+z),V&&$.push((/^on /.test($[$.length-1])?"":"on ")+V),W&&(k=/ ([\d.+]+)$/.exec(W),E=k&&"/"==W.charAt(W.length-k[0].length-1),W={architecture:32,family:k&&!E?W.replace(k[0],""):W,version:k?k[1]:null,toString:function(){var t=this.version;return this.family+(t&&!E?" "+t:"")+(64==this.architecture?" 64-bit":"")}}),(k=/\b(?:AMD|IA|Win|WOW|x86_|x)64\b/i.exec(U))&&!/\bi686\b/i.test(U)?(W&&(W.architecture=64,W.family=W.family.replace(RegExp(" *"+k),"")),H&&(/\bWOW64\b/i.test(t)||G&&/\w(?:86|32)$/.test(x.cpuClass||x.platform)&&!/\bWin64; x64\b/i.test(t))&&$.unshift("32-bit")):W&&/^OS X/.test(W.family)&&"Chrome"==H&&parseFloat(q)>=39&&(W.architecture=64),t||(t=null);var X={};return X.description=t,X.layout=K&&K[0],X.manufacturer=z,X.name=H,X.prerelease=F,X.product=V,X.ua=t,X.version=H&&q,X.os=W||{architecture:null,family:null,version:null,toString:function(){return"null"}},X.parse=d,X.toString=v,X.version&&$.unshift(q),X.name&&$.unshift(H),W&&H&&(W!=String(W).split(" ")[0]||W!=H.split(" ")[0]&&!V)&&$.push(V?"("+W+")":"on "+W),$.length&&(X.description=$.join(" ")),X}var h={function:!0,object:!0},m=h[typeof window]&&window||this,g=h[typeof n]&&n,v=h[typeof e]&&e&&!e.nodeType&&e,y=g&&v&&"object"==typeof t&&t;!y||y.global!==y&&y.window!==y&&y.self!==y||(m=y);var b=Math.pow(2,53)-1,w=/\bOpera/,x=Object.prototype,_=x.hasOwnProperty,A=x.toString,k=d();g&&v?s(k,(function(t,e){g[e]=t})):m.platform=k}).call(this)}).call(this,void 0!==commonjsGlobal?commonjsGlobal:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],172:[function(t,e,n){(function(t){function n(e,n,r,o){if("function"!=typeof e)throw new TypeError('"callback" argument must be a function');var i,a,s=arguments.length;switch(s){case 0:case 1:return t.nextTick(e);case 2:return t.nextTick((function(){e.call(null,n)}));case 3:return t.nextTick((function(){e.call(null,n,r)}));case 4:return t.nextTick((function(){e.call(null,n,r,o)}));default:for(i=new Array(s-1),a=0;a<i.length;)i[a++]=arguments[a];return t.nextTick((function(){e.apply(null,i)}))}}!t.version||0===t.version.indexOf("v0.")||0===t.version.indexOf("v1.")&&0!==t.version.indexOf("v1.8.")?e.exports={nextTick:n}:e.exports=t}).call(this,t("_process"))},{_process:173}],173:[function(t,e,n){function r(){throw new Error("setTimeout has not been defined")}function o(){throw new Error("clearTimeout has not been defined")}function i(t){if(p===setTimeout)return setTimeout(t,0);if((p===r||!p)&&setTimeout)return p=setTimeout,setTimeout(t,0);try{return p(t,0)}catch(e){try{return p.call(null,t,0)}catch(e){return p.call(this,t,0)}}}function a(t){if(f===clearTimeout)return clearTimeout(t);if((f===o||!f)&&clearTimeout)return f=clearTimeout,clearTimeout(t);try{return f(t)}catch(e){try{return f.call(null,t)}catch(e){return f.call(this,t)}}}function s(){g&&h&&(g=!1,h.length?m=h.concat(m):v=-1,m.length&&c())}function c(){if(!g){var t=i(s);g=!0;for(var e=m.length;e;){for(h=m,m=[];++v<e;)h&&h[v].run();v=-1,e=m.length}h=null,g=!1,a(t)}}function u(t,e){this.fun=t,this.array=e}function l(){}var p,f,d=e.exports={};!function(){try{p="function"==typeof setTimeout?setTimeout:r}catch(t){p=r}try{f="function"==typeof clearTimeout?clearTimeout:o}catch(t){f=o}}();var h,m=[],g=!1,v=-1;d.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)e[n-1]=arguments[n];m.push(new u(t,e)),1!==m.length||g||i(c)},u.prototype.run=function(){this.fun.apply(null,this.array)},d.title="browser",d.browser=!0,d.env={},d.argv=[],d.version="",d.versions={},d.on=l,d.addListener=l,d.once=l,d.off=l,d.removeListener=l,d.removeAllListeners=l,d.emit=l,d.prependListener=l,d.prependOnceListener=l,d.listeners=function(t){return[]},d.binding=function(t){throw new Error("process.binding is not supported")},d.cwd=function(){return"/"},d.chdir=function(t){throw new Error("process.chdir is not supported")},d.umask=function(){return 0}},{}],174:[function(e,n,r){(function(e){!function(o){function i(t){throw new RangeError(I[t])}function a(t,e){for(var n=t.length,r=[];n--;)r[n]=e(t[n]);return r}function s(t,e){var n=t.split("@"),r="";return n.length>1&&(r=n[0]+"@",t=n[1]),r+a((t=t.replace(R,".")).split("."),e).join(".")}function c(t){for(var e,n,r=[],o=0,i=t.length;i>o;)(e=t.charCodeAt(o++))>=55296&&56319>=e&&i>o?56320==(64512&(n=t.charCodeAt(o++)))?r.push(((1023&e)<<10)+(1023&n)+65536):(r.push(e),o--):r.push(e);return r}function u(t){return a(t,(function(t){var e="";return t>65535&&(e+=B((t-=65536)>>>10&1023|55296),t=56320|1023&t),e+B(t)})).join("")}function l(t){return 10>t-48?t-22:26>t-65?t-65:26>t-97?t-97:A}function p(t,e){return t+22+75*(26>t)-((0!=e)<<5)}function f(t,e,n){var r=0;for(t=n?D(t/T):t>>1,t+=D(t/e);t>j*E>>1;r+=A)t=D(t/j);return D(r+(j+1)*t/(t+S))}function d(t){var e,n,r,o,a,s,c,p,d,h,m=[],g=t.length,v=0,y=P,b=C;for(0>(n=t.lastIndexOf(O))&&(n=0),r=0;n>r;++r)t.charCodeAt(r)>=128&&i("not-basic"),m.push(t.charCodeAt(r));for(o=n>0?n+1:0;g>o;){for(a=v,s=1,c=A;o>=g&&i("invalid-input"),((p=l(t.charCodeAt(o++)))>=A||p>D((_-v)/s))&&i("overflow"),v+=p*s,!((d=b>=c?k:c>=b+E?E:c-b)>p);c+=A)s>D(_/(h=A-d))&&i("overflow"),s*=h;b=f(v-a,e=m.length+1,0==a),D(v/e)>_-y&&i("overflow"),y+=D(v/e),v%=e,m.splice(v++,0,y)}return u(m)}function h(t){var e,n,r,o,a,s,u,l,d,h,m,g,v,y,b,w=[];for(g=(t=c(t)).length,e=P,n=0,a=C,s=0;g>s;++s)128>(m=t[s])&&w.push(B(m));for(r=o=w.length,o&&w.push(O);g>r;){for(u=_,s=0;g>s;++s)(m=t[s])>=e&&u>m&&(u=m);for(u-e>D((_-n)/(v=r+1))&&i("overflow"),n+=(u-e)*v,e=u,s=0;g>s;++s)if(e>(m=t[s])&&++n>_&&i("overflow"),m==e){for(l=n,d=A;!((h=a>=d?k:d>=a+E?E:d-a)>l);d+=A)b=l-h,y=A-h,w.push(B(p(h+b%y,0))),l=D(b/y);w.push(B(p(l,0))),a=f(n,v,r==o),n=0,++r}++n,++e}return w.join("")}function m(t){return s(t,(function(t){return L.test(t)?d(t.slice(4).toLowerCase()):t}))}function g(t){return s(t,(function(t){return M.test(t)?"xn--"+h(t):t}))}var v="object"==typeof r&&r&&!r.nodeType&&r,y="object"==typeof n&&n&&!n.nodeType&&n,b="object"==typeof e&&e;(b.global===b||b.window===b||b.self===b)&&(o=b);var w,x,_=2147483647,A=36,k=1,E=26,S=38,T=700,C=72,P=128,O="-",L=/^xn--/,M=/[^\x20-\x7E]/,R=/[\x2E\u3002\uFF0E\uFF61]/g,I={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},j=A-k,D=Math.floor,B=String.fromCharCode;if(w={version:"1.4.1",ucs2:{decode:c,encode:u},decode:d,encode:h,toASCII:g,toUnicode:m},"function"==typeof t);else if(v&&y)if(n.exports==v)y.exports=w;else for(x in w)w.hasOwnProperty(x)&&(v[x]=w[x]);else o.punycode=w}(this)}).call(this,void 0!==commonjsGlobal?commonjsGlobal:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],175:[function(t,e,n){function r(t,e){return Object.prototype.hasOwnProperty.call(t,e)}e.exports=function(t,e,n,i){e=e||"&",n=n||"=";var a={};if("string"!=typeof t||0===t.length)return a;var s=/\+/g;t=t.split(e);var c=1e3;i&&"number"==typeof i.maxKeys&&(c=i.maxKeys);var u=t.length;c>0&&u>c&&(u=c);for(var l=0;u>l;++l){var p,f,d,h,m=t[l].replace(s,"%20"),g=m.indexOf(n);g>=0?(p=m.substr(0,g),f=m.substr(g+1)):(p=m,f=""),d=decodeURIComponent(p),h=decodeURIComponent(f),r(a,d)?o(a[d])?a[d].push(h):a[d]=[a[d],h]:a[d]=h}return a};var o=Array.isArray||function(t){return"[object Array]"===Object.prototype.toString.call(t)}},{}],176:[function(t,e,n){function r(t,e){if(t.map)return t.map(e);for(var n=[],r=0;r<t.length;r++)n.push(e(t[r],r));return n}var o=function(t){switch(typeof t){case"string":return t;case"boolean":return t?"true":"false";case"number":return isFinite(t)?t:"";default:return""}};e.exports=function(t,e,n,s){return e=e||"&",n=n||"=",null===t&&(t=void 0),"object"==typeof t?r(a(t),(function(a){var s=encodeURIComponent(o(a))+n;return i(t[a])?r(t[a],(function(t){return s+encodeURIComponent(o(t))})).join(e):s+encodeURIComponent(o(t[a]))})).join(e):s?encodeURIComponent(o(s))+n+encodeURIComponent(o(t)):""};var i=Array.isArray||function(t){return"[object Array]"===Object.prototype.toString.call(t)},a=Object.keys||function(t){var e=[];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.push(n);return e}},{}],177:[function(t,e,n){n.decode=n.parse=t("./decode"),n.encode=n.stringify=t("./encode")},{"./decode":175,"./encode":176}],178:[function(t,e,n){e.exports=t("./lib/_stream_duplex.js")},{"./lib/_stream_duplex.js":179}],179:[function(t,e,n){function r(t){return t&&t.__esModule?t:{default:t}}function o(t){return this instanceof o?(p.call(this,t),f.call(this,t),t&&!1===t.readable&&(this.readable=!1),t&&!1===t.writable&&(this.writable=!1),this.allowHalfOpen=!0,t&&!1===t.allowHalfOpen&&(this.allowHalfOpen=!1),void this.once("end",i)):new o(t)}function i(){this.allowHalfOpen||this._writableState.ended||c.nextTick(a,this)}function a(t){t.end()}var s=r(t("babel-runtime/core-js/object/keys")),c=t("process-nextick-args"),u=s.default||function(t){var e=[];for(var n in t)e.push(n);return e};e.exports=o;var l=t("core-util-is");l.inherits=t("inherits");var p=t("./_stream_readable"),f=t("./_stream_writable");l.inherits(o,p);for(var d=u(f.prototype),h=0;h<d.length;h++){var m=d[h];o.prototype[m]||(o.prototype[m]=f.prototype[m])}Object.defineProperty(o.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(o.prototype,"destroyed",{get:function(){return void 0!==this._readableState&&void 0!==this._writableState&&this._readableState.destroyed&&this._writableState.destroyed},set:function(t){void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed=t,this._writableState.destroyed=t)}}),o.prototype._destroy=function(t,e){this.push(null),this.end(),c.nextTick(e,t)}},{"./_stream_readable":181,"./_stream_writable":183,"babel-runtime/core-js/object/keys":23,"core-util-is":153,inherits:162,"process-nextick-args":172}],180:[function(t,e,n){function r(t){return this instanceof r?void o.call(this,t):new r(t)}e.exports=r;var o=t("./_stream_transform"),i=t("core-util-is");i.inherits=t("inherits"),i.inherits(r,o),r.prototype._transform=function(t,e,n){n(null,t)}},{"./_stream_transform":182,"core-util-is":153,inherits:162}],181:[function(t,e,n){(function(n,r){function o(t){return t&&t.__esModule?t:{default:t}}function i(t){return U.from(t)}function a(t){return U.isBuffer(t)||t instanceof $}function s(t,e,n){return"function"==typeof t.prependListener?t.prependListener(e,n):void(t._events&&t._events[e]?D(t._events[e])?t._events[e].unshift(n):t._events[e]=[n,t._events[e]]:t.on(e,n))}function c(e,n){e=e||{};var r=n instanceof(j=j||t("./_stream_duplex"));this.objectMode=!!e.objectMode,r&&(this.objectMode=this.objectMode||!!e.readableObjectMode);var o=e.highWaterMark,i=e.readableHighWaterMark,a=this.objectMode?16:16384;this.highWaterMark=o||0===o?o:r&&(i||0===i)?i:a,this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new H,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.destroyed=!1,this.defaultEncoding=e.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,e.encoding&&(K||(K=t("string_decoder/").StringDecoder),this.decoder=new K(e.encoding),this.encoding=e.encoding)}function u(e){return j=j||t("./_stream_duplex"),this instanceof u?(this._readableState=new c(e,this),this.readable=!0,e&&("function"==typeof e.read&&(this._read=e.read),"function"==typeof e.destroy&&(this._destroy=e.destroy)),void N.call(this)):new u(e)}function l(t,e,n,r,o){var a,s=t._readableState;return null===e?(s.reading=!1,g(t,s)):(o||(a=f(s,e)),a?t.emit("error",a):s.objectMode||e&&e.length>0?("string"==typeof e||s.objectMode||(0,R.default)(e)===U.prototype||(e=i(e)),r?s.endEmitted?t.emit("error",new Error("stream.unshift() after end event")):p(t,s,e,!0):s.ended?t.emit("error",new Error("stream.push() after EOF")):(s.reading=!1,s.decoder&&!n?(e=s.decoder.write(e),s.objectMode||0!==e.length?p(t,s,e,!1):b(t,s)):p(t,s,e,!1))):r||(s.reading=!1)),d(s)}function p(t,e,n,r){e.flowing&&0===e.length&&!e.sync?(t.emit("data",n),t.read(0)):(e.length+=e.objectMode?1:n.length,r?e.buffer.unshift(n):e.buffer.push(n),e.needReadable&&v(t)),b(t,e)}function f(t,e){var n;return a(e)||"string"==typeof e||void 0===e||t.objectMode||(n=new TypeError("Invalid non-string/buffer chunk")),n}function d(t){return!t.ended&&(t.needReadable||t.length<t.highWaterMark||0===t.length)}function h(t){return t>=W?t=W:(t--,t|=t>>>1,t|=t>>>2,t|=t>>>4,t|=t>>>8,t|=t>>>16,t++),t}function m(t,e){return 0>=t||0===e.length&&e.ended?0:e.objectMode?1:t!=t?e.flowing&&e.length?e.buffer.head.data.length:e.length:(t>e.highWaterMark&&(e.highWaterMark=h(t)),t<=e.length?t:e.ended?e.length:(e.needReadable=!0,0))}function g(t,e){if(!e.ended){if(e.decoder){var n=e.decoder.end();n&&n.length&&(e.buffer.push(n),e.length+=e.objectMode?1:n.length)}e.ended=!0,v(t)}}function v(t){var e=t._readableState;e.needReadable=!1,e.emittedReadable||(q("emitReadable",e.flowing),e.emittedReadable=!0,e.sync?I.nextTick(y,t):y(t))}function y(t){q("emit readable"),t.emit("readable"),E(t)}function b(t,e){e.readingMore||(e.readingMore=!0,I.nextTick(w,t,e))}function w(t,e){for(var n=e.length;!e.reading&&!e.flowing&&!e.ended&&e.length<e.highWaterMark&&(q("maybeReadMore read 0"),t.read(0),n!==e.length);)n=e.length;e.readingMore=!1}function x(t){return function(){var e=t._readableState;q("pipeOnDrain",e.awaitDrain),e.awaitDrain&&e.awaitDrain--,0===e.awaitDrain&&B(t,"data")&&(e.flowing=!0,E(t))}}function _(t){q("readable nexttick read 0"),t.read(0)}function A(t,e){e.resumeScheduled||(e.resumeScheduled=!0,I.nextTick(k,t,e))}function k(t,e){e.reading||(q("resume read 0"),t.read(0)),e.resumeScheduled=!1,e.awaitDrain=0,t.emit("resume"),E(t),e.flowing&&!e.reading&&t.read(0)}function E(t){var e=t._readableState;for(q("flow",e.flowing);e.flowing&&null!==t.read(););}function S(t,e){return 0===e.length?null:(e.objectMode?n=e.buffer.shift():!t||t>=e.length?(n=e.decoder?e.buffer.join(""):1===e.buffer.length?e.buffer.head.data:e.buffer.concat(e.length),e.buffer.clear()):n=T(t,e.buffer,e.decoder),n);var n}function T(t,e,n){var r;return t<e.head.data.length?(r=e.head.data.slice(0,t),e.head.data=e.head.data.slice(t)):r=t===e.head.data.length?e.shift():n?C(t,e):P(t,e),r}function C(t,e){var n=e.head,r=1,o=n.data;for(t-=o.length;n=n.next;){var i=n.data,a=t>i.length?i.length:t;if(o+=a===i.length?i:i.slice(0,t),0==(t-=a)){a===i.length?(++r,n.next?e.head=n.next:e.head=e.tail=null):(e.head=n,n.data=i.slice(a));break}++r}return e.length-=r,o}function P(t,e){var n=U.allocUnsafe(t),r=e.head,o=1;for(r.data.copy(n),t-=r.data.length;r=r.next;){var i=r.data,a=t>i.length?i.length:t;if(i.copy(n,n.length-t,0,a),0==(t-=a)){a===i.length?(++o,r.next?e.head=r.next:e.head=e.tail=null):(e.head=r,r.data=i.slice(a));break}++o}return e.length-=o,n}function O(t){var e=t._readableState;if(e.length>0)throw new Error('"endReadable()" called on non-empty stream');e.endEmitted||(e.ended=!0,I.nextTick(L,e,t))}function L(t,e){t.endEmitted||0!==t.length||(t.endEmitted=!0,e.readable=!1,e.emit("end"))}function M(t,e){for(var n=0,r=t.length;r>n;n++)if(t[n]===e)return n;return-1}var R=o(t("babel-runtime/core-js/object/get-prototype-of")),I=t("process-nextick-args");e.exports=u;var j,D=t("isarray");u.ReadableState=c;var B=(t("events").EventEmitter,function(t,e){return t.listeners(e).length}),N=t("./internal/streams/stream"),U=t("safe-buffer").Buffer,$=r.Uint8Array||function(){},F=t("core-util-is");F.inherits=t("inherits");var G=t("util"),q=void 0;q=G&&G.debuglog?G.debuglog("stream"):function(){};var K,H=t("./internal/streams/BufferList"),V=t("./internal/streams/destroy");F.inherits(u,N);var z=["error","close","destroy","pause","resume"];Object.defineProperty(u.prototype,"destroyed",{get:function(){return void 0!==this._readableState&&this._readableState.destroyed},set:function(t){this._readableState&&(this._readableState.destroyed=t)}}),u.prototype.destroy=V.destroy,u.prototype._undestroy=V.undestroy,u.prototype._destroy=function(t,e){this.push(null),e(t)},u.prototype.push=function(t,e){var n,r=this._readableState;return r.objectMode?n=!0:"string"==typeof t&&((e=e||r.defaultEncoding)!==r.encoding&&(t=U.from(t,e),e=""),n=!0),l(this,t,e,!1,n)},u.prototype.unshift=function(t){return l(this,t,null,!0,!1)},u.prototype.isPaused=function(){return!1===this._readableState.flowing},u.prototype.setEncoding=function(e){return K||(K=t("string_decoder/").StringDecoder),this._readableState.decoder=new K(e),this._readableState.encoding=e,this};var W=8388608;u.prototype.read=function(t){q("read",t),t=parseInt(t,10);var e=this._readableState,n=t;if(0!==t&&(e.emittedReadable=!1),0===t&&e.needReadable&&(e.length>=e.highWaterMark||e.ended))return q("read: emitReadable",e.length,e.ended),0===e.length&&e.ended?O(this):v(this),null;if(0===(t=m(t,e))&&e.ended)return 0===e.length&&O(this),null;var r,o=e.needReadable;return q("need readable",o),(0===e.length||e.length-t<e.highWaterMark)&&q("length less than watermark",o=!0),e.ended||e.reading?q("reading or ended",o=!1):o&&(q("do read"),e.reading=!0,e.sync=!0,0===e.length&&(e.needReadable=!0),this._read(e.highWaterMark),e.sync=!1,e.reading||(t=m(n,e))),null===(r=t>0?S(t,e):null)?(e.needReadable=!0,t=0):e.length-=t,0===e.length&&(e.ended||(e.needReadable=!0),n!==t&&e.ended&&O(this)),null!==r&&this.emit("data",r),r},u.prototype._read=function(t){this.emit("error",new Error("_read() is not implemented"))},u.prototype.pipe=function(t,e){function r(t,e){q("onunpipe"),t===f&&e&&!1===e.hasUnpiped&&(e.hasUnpiped=!0,i())}function o(){q("onend"),t.end()}function i(){q("cleanup"),t.removeListener("close",u),t.removeListener("finish",l),t.removeListener("drain",m),t.removeListener("error",c),t.removeListener("unpipe",r),f.removeListener("end",o),f.removeListener("end",p),f.removeListener("data",a),g=!0,!d.awaitDrain||t._writableState&&!t._writableState.needDrain||m()}function a(e){q("ondata"),v=!1,!1!==t.write(e)||v||((1===d.pipesCount&&d.pipes===t||d.pipesCount>1&&-1!==M(d.pipes,t))&&!g&&(q("false write response, pause",f._readableState.awaitDrain),f._readableState.awaitDrain++,v=!0),f.pause())}function c(e){q("onerror",e),p(),t.removeListener("error",c),0===B(t,"error")&&t.emit("error",e)}function u(){t.removeListener("finish",l),p()}function l(){q("onfinish"),t.removeListener("close",u),p()}function p(){q("unpipe"),f.unpipe(t)}var f=this,d=this._readableState;switch(d.pipesCount){case 0:d.pipes=t;break;case 1:d.pipes=[d.pipes,t];break;default:d.pipes.push(t)}d.pipesCount+=1,q("pipe count=%d opts=%j",d.pipesCount,e);var h=e&&!1===e.end||t===n.stdout||t===n.stderr?p:o;d.endEmitted?I.nextTick(h):f.once("end",h),t.on("unpipe",r);var m=x(f);t.on("drain",m);var g=!1,v=!1;return f.on("data",a),s(t,"error",c),t.once("close",u),t.once("finish",l),t.emit("pipe",f),d.flowing||(q("pipe resume"),f.resume()),t},u.prototype.unpipe=function(t){var e=this._readableState,n={hasUnpiped:!1};if(0===e.pipesCount)return this;if(1===e.pipesCount)return t&&t!==e.pipes||(t||(t=e.pipes),e.pipes=null,e.pipesCount=0,e.flowing=!1,t&&t.emit("unpipe",this,n)),this;if(!t){var r=e.pipes,o=e.pipesCount;e.pipes=null,e.pipesCount=0,e.flowing=!1;for(var i=0;o>i;i++)r[i].emit("unpipe",this,n);return this}var a=M(e.pipes,t);return-1===a||(e.pipes.splice(a,1),e.pipesCount-=1,1===e.pipesCount&&(e.pipes=e.pipes[0]),t.emit("unpipe",this,n)),this},u.prototype.on=function(t,e){var n=N.prototype.on.call(this,t,e);if("data"===t)!1!==this._readableState.flowing&&this.resume();else if("readable"===t){var r=this._readableState;r.endEmitted||r.readableListening||(r.readableListening=r.needReadable=!0,r.emittedReadable=!1,r.reading?r.length&&v(this):I.nextTick(_,this))}return n},u.prototype.addListener=u.prototype.on,u.prototype.resume=function(){var t=this._readableState;return t.flowing||(q("resume"),t.flowing=!0,A(this,t)),this},u.prototype.pause=function(){return q("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(q("pause"),this._readableState.flowing=!1,this.emit("pause")),this},u.prototype.wrap=function(t){var e=this,n=this._readableState,r=!1;for(var o in t.on("end",(function(){if(q("wrapped end"),n.decoder&&!n.ended){var t=n.decoder.end();t&&t.length&&e.push(t)}e.push(null)})),t.on("data",(function(o){q("wrapped data"),n.decoder&&(o=n.decoder.write(o)),n.objectMode&&null==o||!(n.objectMode||o&&o.length)||e.push(o)||(r=!0,t.pause())})),t)void 0===this[o]&&"function"==typeof t[o]&&(this[o]=function(e){return function(){return t[e].apply(t,arguments)}}(o));for(var i=0;i<z.length;i++)t.on(z[i],this.emit.bind(this,z[i]));return this._read=function(e){q("wrapped _read",e),r&&(r=!1,t.resume())},this},Object.defineProperty(u.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),u._fromList=S}).call(this,t("_process"),void 0!==commonjsGlobal?commonjsGlobal:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./_stream_duplex":179,"./internal/streams/BufferList":184,"./internal/streams/destroy":185,"./internal/streams/stream":186,_process:173,"babel-runtime/core-js/object/get-prototype-of":22,"core-util-is":153,events:158,inherits:162,isarray:166,"process-nextick-args":172,"safe-buffer":193,"string_decoder/":200,util:36}],182:[function(t,e,n){function r(t,e){var n=this._transformState;n.transforming=!1;var r=n.writecb;if(!r)return this.emit("error",new Error("write callback called multiple times"));n.writechunk=null,n.writecb=null,null!=e&&this.push(e),r(t);var o=this._readableState;o.reading=!1,(o.needReadable||o.length<o.highWaterMark)&&this._read(o.highWaterMark)}function o(t){return this instanceof o?(s.call(this,t),this._transformState={afterTransform:r.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,t&&("function"==typeof t.transform&&(this._transform=t.transform),"function"==typeof t.flush&&(this._flush=t.flush)),void this.on("prefinish",i)):new o(t)}function i(){var t=this;"function"==typeof this._flush?this._flush((function(e,n){a(t,e,n)})):a(this,null,null)}function a(t,e,n){if(e)return t.emit("error",e);if(null!=n&&t.push(n),t._writableState.length)throw new Error("Calling transform done when ws.length != 0");if(t._transformState.transforming)throw new Error("Calling transform done when still transforming");return t.push(null)}e.exports=o;var s=t("./_stream_duplex"),c=t("core-util-is");c.inherits=t("inherits"),c.inherits(o,s),o.prototype.push=function(t,e){return this._transformState.needTransform=!1,s.prototype.push.call(this,t,e)},o.prototype._transform=function(t,e,n){throw new Error("_transform() is not implemented")},o.prototype._write=function(t,e,n){var r=this._transformState;if(r.writecb=n,r.writechunk=t,r.writeencoding=e,!r.transforming){var o=this._readableState;(r.needTransform||o.needReadable||o.length<o.highWaterMark)&&this._read(o.highWaterMark)}},o.prototype._read=function(t){var e=this._transformState;null!==e.writechunk&&e.writecb&&!e.transforming?(e.transforming=!0,this._transform(e.writechunk,e.writeencoding,e.afterTransform)):e.needTransform=!0},o.prototype._destroy=function(t,e){var n=this;s.prototype._destroy.call(this,t,(function(t){e(t),n.emit("close")}))}},{"./_stream_duplex":179,"core-util-is":153,inherits:162}],183:[function(t,e,n){(function(n,r){function o(t){return t&&t.__esModule?t:{default:t}}function i(t){var e=this;this.next=null,this.entry=null,this.finish=function(){T(e,t)}}function a(t){return U.from(t)}function s(t){return U.isBuffer(t)||t instanceof $}function c(){}function u(e,n){R=R||t("./_stream_duplex"),e=e||{};var r=n instanceof R;this.objectMode=!!e.objectMode,r&&(this.objectMode=this.objectMode||!!e.writableObjectMode);var o=e.highWaterMark,a=e.writableHighWaterMark,s=this.objectMode?16:16384;this.highWaterMark=o||0===o?o:r&&(a||0===a)?a:s,this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var c=!1===e.decodeStrings;this.decodeStrings=!c,this.defaultEncoding=e.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(t){y(n,t)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new i(this)}function l(e){return R=R||t("./_stream_duplex"),D.call(l,this)||this instanceof R?(this._writableState=new u(e,this),this.writable=!0,e&&("function"==typeof e.write&&(this._write=e.write),"function"==typeof e.writev&&(this._writev=e.writev),"function"==typeof e.destroy&&(this._destroy=e.destroy),"function"==typeof e.final&&(this._final=e.final)),void N.call(this)):new l(e)}function p(t,e){var n=new Error("write after end");t.emit("error",n),M.nextTick(e,n)}function f(t,e,n,r){var o=!0,i=!1;return null===n?i=new TypeError("May not write null values to stream"):"string"==typeof n||void 0===n||e.objectMode||(i=new TypeError("Invalid non-string/buffer chunk")),i&&(t.emit("error",i),M.nextTick(r,i),o=!1),o}function d(t,e,n){return t.objectMode||!1===t.decodeStrings||"string"!=typeof e||(e=U.from(e,n)),e}function h(t,e,n,r,o,i){if(!n){var a=d(e,r,o);r!==a&&(n=!0,o="buffer",r=a)}var s=e.objectMode?1:r.length;e.length+=s;var c=e.length<e.highWaterMark;if(c||(e.needDrain=!0),e.writing||e.corked){var u=e.lastBufferedRequest;e.lastBufferedRequest={chunk:r,encoding:o,isBuf:n,callback:i,next:null},u?u.next=e.lastBufferedRequest:e.bufferedRequest=e.lastBufferedRequest,e.bufferedRequestCount+=1}else m(t,e,!1,s,r,o,i);return c}function m(t,e,n,r,o,i,a){e.writelen=r,e.writecb=a,e.writing=!0,e.sync=!0,n?t._writev(o,e.onwrite):t._write(o,i,e.onwrite),e.sync=!1}function g(t,e,n,r,o){--e.pendingcb,n?(M.nextTick(o,r),M.nextTick(E,t,e),t._writableState.errorEmitted=!0,t.emit("error",r)):(o(r),t._writableState.errorEmitted=!0,t.emit("error",r),E(t,e))}function v(t){t.writing=!1,t.writecb=null,t.length-=t.writelen,t.writelen=0}function y(t,e){var n=t._writableState,r=n.sync,o=n.writecb;if(v(n),e)g(t,n,r,e,o);else{var i=_(n);i||n.corked||n.bufferProcessing||!n.bufferedRequest||x(t,n),r?I(b,t,n,i,o):b(t,n,i,o)}}function b(t,e,n,r){n||w(t,e),e.pendingcb--,r(),E(t,e)}function w(t,e){0===e.length&&e.needDrain&&(e.needDrain=!1,t.emit("drain"))}function x(t,e){e.bufferProcessing=!0;var n=e.bufferedRequest;if(t._writev&&n&&n.next){var r=e.bufferedRequestCount,o=new Array(r),a=e.corkedRequestsFree;a.entry=n;for(var s=0,c=!0;n;)o[s]=n,n.isBuf||(c=!1),n=n.next,s+=1;o.allBuffers=c,m(t,e,!0,e.length,o,"",a.finish),e.pendingcb++,e.lastBufferedRequest=null,a.next?(e.corkedRequestsFree=a.next,a.next=null):e.corkedRequestsFree=new i(e),e.bufferedRequestCount=0}else{for(;n;){var u=n.chunk,l=n.encoding,p=n.callback;if(m(t,e,!1,e.objectMode?1:u.length,u,l,p),n=n.next,e.bufferedRequestCount--,e.writing)break}null===n&&(e.lastBufferedRequest=null)}e.bufferedRequest=n,e.bufferProcessing=!1}function _(t){return t.ending&&0===t.length&&null===t.bufferedRequest&&!t.finished&&!t.writing}function A(t,e){t._final((function(n){e.pendingcb--,n&&t.emit("error",n),e.prefinished=!0,t.emit("prefinish"),E(t,e)}))}function k(t,e){e.prefinished||e.finalCalled||("function"==typeof t._final?(e.pendingcb++,e.finalCalled=!0,M.nextTick(A,t,e)):(e.prefinished=!0,t.emit("prefinish")))}function E(t,e){var n=_(e);return n&&(k(t,e),0===e.pendingcb&&(e.finished=!0,t.emit("finish"))),n}function S(t,e,n){e.ending=!0,E(t,e),n&&(e.finished?M.nextTick(n):t.once("finish",n)),e.ended=!0,t.writable=!1}function T(t,e,n){var r=t.entry;for(t.entry=null;r;){var o=r.callback;e.pendingcb--,o(n),r=r.next}e.corkedRequestsFree?e.corkedRequestsFree.next=t:e.corkedRequestsFree=t}var C=o(t("babel-runtime/core-js/object/define-property")),P=o(t("babel-runtime/core-js/symbol/has-instance")),O=o(t("babel-runtime/core-js/symbol")),L=o(t("babel-runtime/core-js/set-immediate")),M=t("process-nextick-args");e.exports=l;var R,I=!n.browser&&["v0.10","v0.9."].indexOf(n.version.slice(0,5))>-1?L.default:M.nextTick;l.WritableState=u;var j=t("core-util-is");j.inherits=t("inherits");var D,B={deprecate:t("util-deprecate")},N=t("./internal/streams/stream"),U=t("safe-buffer").Buffer,$=r.Uint8Array||function(){},F=t("./internal/streams/destroy");j.inherits(l,N),u.prototype.getBuffer=function(){for(var t=this.bufferedRequest,e=[];t;)e.push(t),t=t.next;return e},function(){try{Object.defineProperty(u.prototype,"buffer",{get:B.deprecate((function(){return this.getBuffer()}),"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(t){}}(),"function"==typeof O.default&&P.default&&"function"==typeof Function.prototype[P.default]?(D=Function.prototype[P.default],(0,C.default)(l,P.default,{value:function(t){return!!D.call(this,t)||this===l&&t&&t._writableState instanceof u}})):D=function(t){return t instanceof this},l.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))},l.prototype.write=function(t,e,n){var r=this._writableState,o=!1,i=!r.objectMode&&s(t);return i&&!U.isBuffer(t)&&(t=a(t)),"function"==typeof e&&(n=e,e=null),i?e="buffer":e||(e=r.defaultEncoding),"function"!=typeof n&&(n=c),r.ended?p(this,n):(i||f(this,r,t,n))&&(r.pendingcb++,o=h(this,r,i,t,e,n)),o},l.prototype.cork=function(){this._writableState.corked++},l.prototype.uncork=function(){var t=this._writableState;t.corked&&(t.corked--,t.writing||t.corked||t.finished||t.bufferProcessing||!t.bufferedRequest||x(this,t))},l.prototype.setDefaultEncoding=function(t){if("string"==typeof t&&(t=t.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((t+"").toLowerCase())>-1))throw new TypeError("Unknown encoding: "+t);return this._writableState.defaultEncoding=t,this},Object.defineProperty(l.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),l.prototype._write=function(t,e,n){n(new Error("_write() is not implemented"))},l.prototype._writev=null,l.prototype.end=function(t,e,n){var r=this._writableState;"function"==typeof t?(n=t,t=null,e=null):"function"==typeof e&&(n=e,e=null),null!=t&&this.write(t,e),r.corked&&(r.corked=1,this.uncork()),r.ending||r.finished||S(this,r,n)},Object.defineProperty(l.prototype,"destroyed",{get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(t){this._writableState&&(this._writableState.destroyed=t)}}),l.prototype.destroy=F.destroy,l.prototype._undestroy=F.undestroy,l.prototype._destroy=function(t,e){this.end(),e(t)}}).call(this,t("_process"),void 0!==commonjsGlobal?commonjsGlobal:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./_stream_duplex":179,"./internal/streams/destroy":185,"./internal/streams/stream":186,_process:173,"babel-runtime/core-js/object/define-property":20,"babel-runtime/core-js/set-immediate":25,"babel-runtime/core-js/symbol":27,"babel-runtime/core-js/symbol/has-instance":28,"core-util-is":153,inherits:162,"process-nextick-args":172,"safe-buffer":193,"util-deprecate":205}],184:[function(t,e,n){function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e,n){t.copy(e,n)}var i=t("safe-buffer").Buffer,a=t("util");e.exports=function(){function t(){r(this,t),this.head=null,this.tail=null,this.length=0}return t.prototype.push=function(t){var e={data:t,next:null};this.length>0?this.tail.next=e:this.head=e,this.tail=e,++this.length},t.prototype.unshift=function(t){var e={data:t,next:this.head};0===this.length&&(this.tail=e),this.head=e,++this.length},t.prototype.shift=function(){if(0!==this.length){var t=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,t}},t.prototype.clear=function(){this.head=this.tail=null,this.length=0},t.prototype.join=function(t){if(0===this.length)return"";for(var e=this.head,n=""+e.data;e=e.next;)n+=t+e.data;return n},t.prototype.concat=function(t){if(0===this.length)return i.alloc(0);if(1===this.length)return this.head.data;for(var e=i.allocUnsafe(t>>>0),n=this.head,r=0;n;)o(n.data,e,r),r+=n.data.length,n=n.next;return e},t}(),a&&a.inspect&&a.inspect.custom&&(e.exports.prototype[a.inspect.custom]=function(){var t=a.inspect({length:this.length});return this.constructor.name+" "+t})},{"safe-buffer":193,util:36}],185:[function(t,e,n){function r(t,e){var n=this,r=this._readableState&&this._readableState.destroyed,o=this._writableState&&this._writableState.destroyed;return r||o?(e?e(t):!t||this._writableState&&this._writableState.errorEmitted||a.nextTick(i,this,t),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(t||null,(function(t){!e&&t?(a.nextTick(i,n,t),n._writableState&&(n._writableState.errorEmitted=!0)):e&&e(t)})),this)}function o(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}function i(t,e){t.emit("error",e)}var a=t("process-nextick-args");e.exports={destroy:r,undestroy:o}},{"process-nextick-args":172}],186:[function(t,e,n){e.exports=t("events").EventEmitter},{events:158}],187:[function(t,e,n){e.exports=t("./readable").PassThrough},{"./readable":188}],188:[function(t,e,n){(n=e.exports=t("./lib/_stream_readable.js")).Stream=n,n.Readable=n,n.Writable=t("./lib/_stream_writable.js"),n.Duplex=t("./lib/_stream_duplex.js"),n.Transform=t("./lib/_stream_transform.js"),n.PassThrough=t("./lib/_stream_passthrough.js")},{"./lib/_stream_duplex.js":179,"./lib/_stream_passthrough.js":180,"./lib/_stream_readable.js":181,"./lib/_stream_transform.js":182,"./lib/_stream_writable.js":183}],189:[function(t,e,n){e.exports=t("./readable").Transform},{"./readable":188}],190:[function(t,e,n){e.exports=t("./lib/_stream_writable.js")},{"./lib/_stream_writable.js":183}],191:[function(t,e,n){var r=function(){return this}()||Function("return this")(),o=r.regeneratorRuntime&&Object.getOwnPropertyNames(r).indexOf("regeneratorRuntime")>=0,i=o&&r.regeneratorRuntime;if(r.regeneratorRuntime=void 0,e.exports=t("./runtime"),o)r.regeneratorRuntime=i;else try{delete r.regeneratorRuntime}catch(t){r.regeneratorRuntime=void 0}},{"./runtime":192}],192:[function(t,e,n){!function(t){function n(t,e,n,r){var i=e&&e.prototype instanceof o?e:o,a=Object.create(i.prototype),s=new d(r||[]);return a._invoke=u(t,n,s),a}function r(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}function o(){}function i(){}function a(){}function s(t){["next","throw","return"].forEach((function(e){t[e]=function(t){return this._invoke(e,t)}}))}function c(t){function e(n,o,i,a){var s=r(t[n],t,o);if("throw"!==s.type){var c=s.arg,u=c.value;return u&&"object"==typeof u&&y.call(u,"__await")?Promise.resolve(u.__await).then((function(t){e("next",t,i,a)}),(function(t){e("throw",t,i,a)})):Promise.resolve(u).then((function(t){c.value=t,i(c)}),a)}a(s.arg)}function n(t,n){function r(){return new Promise((function(r,o){e(t,n,r,o)}))}return o=o?o.then(r,r):r()}var o;this._invoke=n}function u(t,e,n){var o=E;return function(i,a){if(o===T)throw new Error("Generator is already running");if(o===C){if("throw"===i)throw a;return m()}for(n.method=i,n.arg=a;;){var s=n.delegate;if(s){var c=l(s,n);if(c){if(c===P)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===E)throw o=C,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=T;var u=r(t,e,n);if("normal"===u.type){if(o=n.done?C:S,u.arg===P)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(o=C,n.method="throw",n.arg=u.arg)}}}function l(t,e){var n=t.iterator[e.method];if(n===g){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=g,l(t,e),"throw"===e.method))return P;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return P}var o=r(n,t.iterator,e.arg);if("throw"===o.type)return e.method="throw",e.arg=o.arg,e.delegate=null,P;var i=o.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=g),e.delegate=null,P):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,P)}function p(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function f(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function d(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(p,this),this.reset(!0)}function h(t){if(t){var e=t[w];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,r=function e(){for(;++n<t.length;)if(y.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=g,e.done=!0,e};return r.next=r}}return{next:m}}function m(){return{value:g,done:!0}}var g,v=Object.prototype,y=v.hasOwnProperty,b="function"==typeof Symbol?Symbol:{},w=b.iterator||"@@iterator",x=b.asyncIterator||"@@asyncIterator",_=b.toStringTag||"@@toStringTag",A="object"==typeof e,k=t.regeneratorRuntime;if(k)A&&(e.exports=k);else{(k=t.regeneratorRuntime=A?e.exports:{}).wrap=n;var E="suspendedStart",S="suspendedYield",T="executing",C="completed",P={},O={};O[w]=function(){return this};var L=Object.getPrototypeOf,M=L&&L(L(h([])));M&&M!==v&&y.call(M,w)&&(O=M);var R=a.prototype=o.prototype=Object.create(O);i.prototype=R.constructor=a,a.constructor=i,a[_]=i.displayName="GeneratorFunction",k.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===i||"GeneratorFunction"===(e.displayName||e.name))},k.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,a):(t.__proto__=a,_ in t||(t[_]="GeneratorFunction")),t.prototype=Object.create(R),t},k.awrap=function(t){return{__await:t}},s(c.prototype),c.prototype[x]=function(){return this},k.AsyncIterator=c,k.async=function(t,e,r,o){var i=new c(n(t,e,r,o));return k.isGeneratorFunction(e)?i:i.next().then((function(t){return t.done?t.value:i.next()}))},s(R),R[_]="Generator",R[w]=function(){return this},R.toString=function(){return"[object Generator]"},k.keys=function(t){var e=[];for(var n in t)e.push(n);return e.reverse(),function n(){for(;e.length;){var r=e.pop();if(r in t)return n.value=r,n.done=!1,n}return n.done=!0,n}},k.values=h,d.prototype={constructor:d,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=g,this.done=!1,this.delegate=null,this.method="next",this.arg=g,this.tryEntries.forEach(f),!t)for(var e in this)"t"===e.charAt(0)&&y.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=g)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){function e(e,r){return i.type="throw",i.arg=t,n.next=e,r&&(n.method="next",n.arg=g),!!r}if(this.done)throw t;for(var n=this,r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r],i=o.completion;if("root"===o.tryLoc)return e("end");if(o.tryLoc<=this.prev){var a=y.call(o,"catchLoc"),s=y.call(o,"finallyLoc");if(a&&s){if(this.prev<o.catchLoc)return e(o.catchLoc,!0);if(this.prev<o.finallyLoc)return e(o.finallyLoc)}else if(a){if(this.prev<o.catchLoc)return e(o.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return e(o.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&y.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var o=r;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var i=o?o.completion:{};return i.type=t,i.arg=e,o?(this.method="next",this.next=o.finallyLoc,P):this.complete(i)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),P},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),f(n),P}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var o=r.arg;f(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:h(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=g),P}}}}(function(){return this}()||Function("return this")())},{}],193:[function(t,e,n){function r(t,e){for(var n in t)e[n]=t[n]}function o(t,e,n){return a(t,e,n)}var i=t("buffer"),a=i.Buffer;a.from&&a.alloc&&a.allocUnsafe&&a.allocUnsafeSlow?e.exports=i:(r(i,n),n.Buffer=o),r(a,o),o.from=function(t,e,n){if("number"==typeof t)throw new TypeError("Argument must not be a number");return a(t,e,n)},o.alloc=function(t,e,n){if("number"!=typeof t)throw new TypeError("Argument must be a number");var r=a(t);return void 0!==e?"string"==typeof n?r.fill(e,n):r.fill(e):r.fill(0),r},o.allocUnsafe=function(t){if("number"!=typeof t)throw new TypeError("Argument must be a number");return a(t)},o.allocUnsafeSlow=function(t){if("number"!=typeof t)throw new TypeError("Argument must be a number");return i.SlowBuffer(t)}},{buffer:38}],194:[function(t,e,n){(function(e){function r(t){return t&&t.__esModule?t:{default:t}}var o=r(t("babel-runtime/core-js/string/from-code-point")),i=r(t("babel-runtime/core-js/json/stringify")),a=r(t("babel-runtime/helpers/typeof")),s=r(t("babel-runtime/core-js/object/define-property")),c=r(t("babel-runtime/core-js/object/keys")),u=r(t("babel-runtime/core-js/object/create"));!function(n){function r(t,e){if(!(this instanceof r))return new r(t,e);var o=this;p(o),o.q=o.c="",o.bufferCheckPosition=n.MAX_BUFFER_LENGTH,o.opt=e||{},o.opt.lowercase=o.opt.lowercase||o.opt.lowercasetags,o.looseCase=o.opt.lowercase?"toLowerCase":"toUpperCase",o.tags=[],o.closed=o.closedRoot=o.sawRoot=!1,o.tag=o.error=null,o.strict=!!t,o.noscript=!(!t&&!o.opt.noscript),o.state=W.BEGIN,o.strictEntities=o.opt.strictEntities,o.ENTITIES=o.strictEntities?(0,u.default)(n.XML_ENTITIES):(0,u.default)(n.ENTITIES),o.attribList=[],o.opt.xmlns&&(o.ns=(0,u.default)(q)),o.trackPosition=!1!==o.opt.position,o.trackPosition&&(o.position=o.line=o.column=0),w(o,"onready")}function l(t){for(var e=Math.max(n.MAX_BUFFER_LENGTH,10),r=0,o=0,i=B.length;i>o;o++){var a=t[B[o]].length;if(a>e)switch(B[o]){case"textNode":_(t);break;case"cdata":x(t,"oncdata",t.cdata),t.cdata="";break;case"script":x(t,"onscript",t.script),t.script="";break;default:k(t,"Max buffer length exceeded: "+B[o])}r=Math.max(r,a)}var s=n.MAX_BUFFER_LENGTH-r;t.bufferCheckPosition=s+t.position}function p(t){for(var e=0,n=B.length;n>e;e++)t[B[e]]=""}function f(t){_(t),""!==t.cdata&&(x(t,"oncdata",t.cdata),t.cdata=""),""!==t.script&&(x(t,"onscript",t.script),t.script="")}function d(t,e){return new h(t,e)}function h(t,e){if(!(this instanceof h))return new h(t,e);D.apply(this),this._parser=new r(t,e),this.writable=!0,this.readable=!0;var n=this;this._parser.onend=function(){n.emit("end")},this._parser.onerror=function(t){n.emit("error",t),n._parser.error=null},this._decoder=null,N.forEach((function(t){(0,s.default)(n,"on"+t,{get:function(){return n._parser["on"+t]},set:function(e){return e?void n.on(t,e):(n.removeAllListeners(t),n._parser["on"+t]=e,e)},enumerable:!0,configurable:!1})}))}function m(t){return" "===t||"\n"===t||"\r"===t||"\t"===t}function g(t){return'"'===t||"'"===t}function v(t){return">"===t||m(t)}function y(t,e){return t.test(e)}function b(t,e){return!y(t,e)}function w(t,e,n){t[e]&&t[e](n)}function x(t,e,n){t.textNode&&_(t),w(t,e,n)}function _(t){t.textNode=A(t.opt,t.textNode),t.textNode&&w(t,"ontext",t.textNode),t.textNode=""}function A(t,e){return t.trim&&(e=e.trim()),t.normalize&&(e=e.replace(/\s+/g," ")),e}function k(t,e){return _(t),t.trackPosition&&(e+="\nLine: "+t.line+"\nColumn: "+t.column+"\nChar: "+t.c),e=new Error(e),t.error=e,w(t,"onerror",e),t}function E(t){return t.sawRoot&&!t.closedRoot&&S(t,"Unclosed root tag"),t.state!==W.BEGIN&&t.state!==W.BEGIN_WHITESPACE&&t.state!==W.TEXT&&k(t,"Unexpected end"),_(t),t.c="",t.closed=!0,w(t,"onend"),r.call(t,t.strict,t.opt),t}function S(t,e){if("object"!==(void 0===t?"undefined":(0,a.default)(t))||!(t instanceof r))throw new Error("bad call to strictFail");t.strict&&k(t,e)}function T(t){t.strict||(t.tagName=t.tagName[t.looseCase]());var e=t.tags[t.tags.length-1]||t,n=t.tag={name:t.tagName,attributes:{}};t.opt.xmlns&&(n.ns=e.ns),t.attribList.length=0,x(t,"onopentagstart",n)}function C(t,e){var n=0>t.indexOf(":")?["",t]:t.split(":"),r=n[0],o=n[1];return e&&"xmlns"===t&&(r="xmlns",o=""),{prefix:r,local:o}}function P(t){if(t.strict||(t.attribName=t.attribName[t.looseCase]()),-1!==t.attribList.indexOf(t.attribName)||t.tag.attributes.hasOwnProperty(t.attribName))t.attribName=t.attribValue="";else{if(t.opt.xmlns){var e=C(t.attribName,!0),n=e.prefix,r=e.local;if("xmlns"===n)if("xml"===r&&t.attribValue!==F)S(t,"xml: prefix must be bound to "+F+"\nActual: "+t.attribValue);else if("xmlns"===r&&t.attribValue!==G)S(t,"xmlns: prefix must be bound to "+G+"\nActual: "+t.attribValue);else{var o=t.tag,i=t.tags[t.tags.length-1]||t;o.ns===i.ns&&(o.ns=(0,u.default)(i.ns)),o.ns[r]=t.attribValue}t.attribList.push([t.attribName,t.attribValue])}else t.tag.attributes[t.attribName]=t.attribValue,x(t,"onattribute",{name:t.attribName,value:t.attribValue});t.attribName=t.attribValue=""}}function O(t,e){if(t.opt.xmlns){var n=t.tag,r=C(t.tagName);n.prefix=r.prefix,n.local=r.local,n.uri=n.ns[r.prefix]||"",n.prefix&&!n.uri&&(S(t,"Unbound namespace prefix: "+(0,i.default)(t.tagName)),n.uri=r.prefix);var o=t.tags[t.tags.length-1]||t;n.ns&&o.ns!==n.ns&&(0,c.default)(n.ns).forEach((function(e){x(t,"onopennamespace",{prefix:e,uri:n.ns[e]})}));for(var a=0,s=t.attribList.length;s>a;a++){var u=t.attribList[a],l=u[0],p=u[1],f=C(l,!0),d=f.prefix,h=f.local,m=""===d?"":n.ns[d]||"",g={name:l,value:p,prefix:d,local:h,uri:m};d&&"xmlns"!==d&&!m&&(S(t,"Unbound namespace prefix: "+(0,i.default)(d)),g.uri=d),t.tag.attributes[l]=g,x(t,"onattribute",g)}t.attribList.length=0}t.tag.isSelfClosing=!!e,t.sawRoot=!0,t.tags.push(t.tag),x(t,"onopentag",t.tag),e||(t.noscript||"script"!==t.tagName.toLowerCase()?t.state=W.TEXT:t.state=W.SCRIPT,t.tag=null,t.tagName=""),t.attribName=t.attribValue="",t.attribList.length=0}function L(t){if(!t.tagName)return S(t,"Weird empty close tag."),t.textNode+="</>",void(t.state=W.TEXT);if(t.script){if("script"!==t.tagName)return t.script+="</"+t.tagName+">",t.tagName="",void(t.state=W.SCRIPT);x(t,"onscript",t.script),t.script=""}var e=t.tags.length,n=t.tagName;t.strict||(n=n[t.looseCase]());for(var r=n;e--&&t.tags[e].name!==r;)S(t,"Unexpected close tag");if(0>e)return S(t,"Unmatched closing tag: "+t.tagName),t.textNode+="</"+t.tagName+">",void(t.state=W.TEXT);t.tagName=n;for(var o=t.tags.length;o-- >e;){var i=t.tag=t.tags.pop();t.tagName=t.tag.name,x(t,"onclosetag",t.tagName);var a={};for(var s in i.ns)a[s]=i.ns[s];var u=t.tags[t.tags.length-1]||t;t.opt.xmlns&&i.ns!==u.ns&&(0,c.default)(i.ns).forEach((function(e){var n=i.ns[e];x(t,"onclosenamespace",{prefix:e,uri:n})}))}0===e&&(t.closedRoot=!0),t.tagName=t.attribValue=t.attribName="",t.attribList.length=0,t.state=W.TEXT}function M(t){var e,n=t.entity,r=n.toLowerCase(),i="";return t.ENTITIES[n]?t.ENTITIES[n]:t.ENTITIES[r]?t.ENTITIES[r]:("#"===(n=r).charAt(0)&&("x"===n.charAt(1)?(n=n.slice(2),i=(e=parseInt(n,16)).toString(16)):(n=n.slice(1),i=(e=parseInt(n,10)).toString(10))),n=n.replace(/^0+/,""),isNaN(e)||i.toLowerCase()!==n?(S(t,"Invalid character entity"),"&"+t.entity+";"):(0,o.default)(e))}function R(t,e){"<"===e?(t.state=W.OPEN_WAKA,t.startTagPosition=t.position):m(e)||(S(t,"Non-whitespace before first tag."),t.textNode=e,t.state=W.TEXT)}function I(t,e){var n="";return e<t.length&&(n=t.charAt(e)),n}function j(t){var e=this;if(this.error)throw this.error;if(e.closed)return k(e,"Cannot write after close. Assign an onready handler.");if(null===t)return E(e);"object"===(void 0===t?"undefined":(0,a.default)(t))&&(t=t.toString());for(var n=0,r="";r=I(t,n++),e.c=r,r;)switch(e.trackPosition&&(e.position++,"\n"===r?(e.line++,e.column=0):e.column++),e.state){case W.BEGIN:if(e.state=W.BEGIN_WHITESPACE,"\ufeff"===r)continue;R(e,r);continue;case W.BEGIN_WHITESPACE:R(e,r);continue;case W.TEXT:if(e.sawRoot&&!e.closedRoot){for(var o=n-1;r&&"<"!==r&&"&"!==r;)(r=I(t,n++))&&e.trackPosition&&(e.position++,"\n"===r?(e.line++,e.column=0):e.column++);e.textNode+=t.substring(o,n-1)}"<"!==r||e.sawRoot&&e.closedRoot&&!e.strict?(m(r)||e.sawRoot&&!e.closedRoot||S(e,"Text data outside of root node."),"&"===r?e.state=W.TEXT_ENTITY:e.textNode+=r):(e.state=W.OPEN_WAKA,e.startTagPosition=e.position);continue;case W.SCRIPT:"<"===r?e.state=W.SCRIPT_ENDING:e.script+=r;continue;case W.SCRIPT_ENDING:"/"===r?e.state=W.CLOSE_TAG:(e.script+="<"+r,e.state=W.SCRIPT);continue;case W.OPEN_WAKA:if("!"===r)e.state=W.SGML_DECL,e.sgmlDecl="";else if(m(r));else if(y(K,r))e.state=W.OPEN_TAG,e.tagName=r;else if("/"===r)e.state=W.CLOSE_TAG,e.tagName="";else if("?"===r)e.state=W.PROC_INST,e.procInstName=e.procInstBody="";else{if(S(e,"Unencoded <"),e.startTagPosition+1<e.position){var i=e.position-e.startTagPosition;r=new Array(i).join(" ")+r}e.textNode+="<"+r,e.state=W.TEXT}continue;case W.SGML_DECL:(e.sgmlDecl+r).toUpperCase()===U?(x(e,"onopencdata"),e.state=W.CDATA,e.sgmlDecl="",e.cdata=""):e.sgmlDecl+r==="--"?(e.state=W.COMMENT,e.comment="",e.sgmlDecl=""):(e.sgmlDecl+r).toUpperCase()===$?(e.state=W.DOCTYPE,(e.doctype||e.sawRoot)&&S(e,"Inappropriately located doctype declaration"),e.doctype="",e.sgmlDecl=""):">"===r?(x(e,"onsgmldeclaration",e.sgmlDecl),e.sgmlDecl="",e.state=W.TEXT):g(r)?(e.state=W.SGML_DECL_QUOTED,e.sgmlDecl+=r):e.sgmlDecl+=r;continue;case W.SGML_DECL_QUOTED:r===e.q&&(e.state=W.SGML_DECL,e.q=""),e.sgmlDecl+=r;continue;case W.DOCTYPE:">"===r?(e.state=W.TEXT,x(e,"ondoctype",e.doctype),e.doctype=!0):(e.doctype+=r,"["===r?e.state=W.DOCTYPE_DTD:g(r)&&(e.state=W.DOCTYPE_QUOTED,e.q=r));continue;case W.DOCTYPE_QUOTED:e.doctype+=r,r===e.q&&(e.q="",e.state=W.DOCTYPE);continue;case W.DOCTYPE_DTD:e.doctype+=r,"]"===r?e.state=W.DOCTYPE:g(r)&&(e.state=W.DOCTYPE_DTD_QUOTED,e.q=r);continue;case W.DOCTYPE_DTD_QUOTED:e.doctype+=r,r===e.q&&(e.state=W.DOCTYPE_DTD,e.q="");continue;case W.COMMENT:"-"===r?e.state=W.COMMENT_ENDING:e.comment+=r;continue;case W.COMMENT_ENDING:"-"===r?(e.state=W.COMMENT_ENDED,e.comment=A(e.opt,e.comment),e.comment&&x(e,"oncomment",e.comment),e.comment=""):(e.comment+="-"+r,e.state=W.COMMENT);continue;case W.COMMENT_ENDED:">"!==r?(S(e,"Malformed comment"),e.comment+="--"+r,e.state=W.COMMENT):e.state=W.TEXT;continue;case W.CDATA:"]"===r?e.state=W.CDATA_ENDING:e.cdata+=r;continue;case W.CDATA_ENDING:"]"===r?e.state=W.CDATA_ENDING_2:(e.cdata+="]"+r,e.state=W.CDATA);continue;case W.CDATA_ENDING_2:">"===r?(e.cdata&&x(e,"oncdata",e.cdata),x(e,"onclosecdata"),e.cdata="",e.state=W.TEXT):"]"===r?e.cdata+="]":(e.cdata+="]]"+r,e.state=W.CDATA);continue;case W.PROC_INST:"?"===r?e.state=W.PROC_INST_ENDING:m(r)?e.state=W.PROC_INST_BODY:e.procInstName+=r;continue;case W.PROC_INST_BODY:if(!e.procInstBody&&m(r))continue;"?"===r?e.state=W.PROC_INST_ENDING:e.procInstBody+=r;continue;case W.PROC_INST_ENDING:">"===r?(x(e,"onprocessinginstruction",{name:e.procInstName,body:e.procInstBody}),e.procInstName=e.procInstBody="",e.state=W.TEXT):(e.procInstBody+="?"+r,e.state=W.PROC_INST_BODY);continue;case W.OPEN_TAG:y(H,r)?e.tagName+=r:(T(e),">"===r?O(e):"/"===r?e.state=W.OPEN_TAG_SLASH:(m(r)||S(e,"Invalid character in tag name"),e.state=W.ATTRIB));continue;case W.OPEN_TAG_SLASH:">"===r?(O(e,!0),L(e)):(S(e,"Forward-slash in opening tag not followed by >"),e.state=W.ATTRIB);continue;case W.ATTRIB:if(m(r))continue;">"===r?O(e):"/"===r?e.state=W.OPEN_TAG_SLASH:y(K,r)?(e.attribName=r,e.attribValue="",e.state=W.ATTRIB_NAME):S(e,"Invalid attribute name");continue;case W.ATTRIB_NAME:"="===r?e.state=W.ATTRIB_VALUE:">"===r?(S(e,"Attribute without value"),e.attribValue=e.attribName,P(e),O(e)):m(r)?e.state=W.ATTRIB_NAME_SAW_WHITE:y(H,r)?e.attribName+=r:S(e,"Invalid attribute name");continue;case W.ATTRIB_NAME_SAW_WHITE:if("="===r)e.state=W.ATTRIB_VALUE;else{if(m(r))continue;S(e,"Attribute without value"),e.tag.attributes[e.attribName]="",e.attribValue="",x(e,"onattribute",{name:e.attribName,value:""}),e.attribName="",">"===r?O(e):y(K,r)?(e.attribName=r,e.state=W.ATTRIB_NAME):(S(e,"Invalid attribute name"),e.state=W.ATTRIB)}continue;case W.ATTRIB_VALUE:if(m(r))continue;g(r)?(e.q=r,e.state=W.ATTRIB_VALUE_QUOTED):(S(e,"Unquoted attribute value"),e.state=W.ATTRIB_VALUE_UNQUOTED,e.attribValue=r);continue;case W.ATTRIB_VALUE_QUOTED:if(r!==e.q){"&"===r?e.state=W.ATTRIB_VALUE_ENTITY_Q:e.attribValue+=r;continue}P(e),e.q="",e.state=W.ATTRIB_VALUE_CLOSED;continue;case W.ATTRIB_VALUE_CLOSED:m(r)?e.state=W.ATTRIB:">"===r?O(e):"/"===r?e.state=W.OPEN_TAG_SLASH:y(K,r)?(S(e,"No whitespace between attributes"),e.attribName=r,e.attribValue="",e.state=W.ATTRIB_NAME):S(e,"Invalid attribute name");continue;case W.ATTRIB_VALUE_UNQUOTED:if(!v(r)){"&"===r?e.state=W.ATTRIB_VALUE_ENTITY_U:e.attribValue+=r;continue}P(e),">"===r?O(e):e.state=W.ATTRIB;continue;case W.CLOSE_TAG:if(e.tagName)">"===r?L(e):y(H,r)?e.tagName+=r:e.script?(e.script+="</"+e.tagName,e.tagName="",e.state=W.SCRIPT):(m(r)||S(e,"Invalid tagname in closing tag"),e.state=W.CLOSE_TAG_SAW_WHITE);else{if(m(r))continue;b(K,r)?e.script?(e.script+="</"+r,e.state=W.SCRIPT):S(e,"Invalid tagname in closing tag."):e.tagName=r}continue;case W.CLOSE_TAG_SAW_WHITE:if(m(r))continue;">"===r?L(e):S(e,"Invalid characters in closing tag");continue;case W.TEXT_ENTITY:case W.ATTRIB_VALUE_ENTITY_Q:case W.ATTRIB_VALUE_ENTITY_U:var s,c;switch(e.state){case W.TEXT_ENTITY:s=W.TEXT,c="textNode";break;case W.ATTRIB_VALUE_ENTITY_Q:s=W.ATTRIB_VALUE_QUOTED,c="attribValue";break;case W.ATTRIB_VALUE_ENTITY_U:s=W.ATTRIB_VALUE_UNQUOTED,c="attribValue"}";"===r?(e[c]+=M(e),e.entity="",e.state=s):y(e.entity.length?z:V,r)?e.entity+=r:(S(e,"Invalid character in entity name"),e[c]+="&"+e.entity+r,e.entity="",e.state=s);continue;default:throw new Error(e,"Unknown state: "+e.state)}return e.position>=e.bufferCheckPosition&&l(e),e}n.parser=function(t,e){return new r(t,e)},n.SAXParser=r,n.SAXStream=h,n.createStream=d,n.MAX_BUFFER_LENGTH=65536;var D,B=["comment","sgmlDecl","textNode","tagName","doctype","procInstName","procInstBody","entity","attribName","attribValue","cdata","script"];n.EVENTS=["text","processinginstruction","sgmldeclaration","doctype","comment","opentagstart","attribute","opentag","closetag","opencdata","cdata","closecdata","error","end","ready","script","opennamespace","closenamespace"],u.default||(Object.create=function(t){function e(){}return e.prototype=t,new e}),c.default||(Object.keys=function(t){var e=[];for(var n in t)t.hasOwnProperty(n)&&e.push(n);return e}),r.prototype={end:function(){E(this)},write:j,resume:function(){return this.error=null,this},close:function(){return this.write(null)},flush:function(){f(this)}};try{D=t("stream").Stream}catch(t){D=function(){}}var N=n.EVENTS.filter((function(t){return"error"!==t&&"end"!==t}));h.prototype=(0,u.default)(D.prototype,{constructor:{value:h}}),h.prototype.write=function(n){if("function"==typeof e&&"function"==typeof e.isBuffer&&e.isBuffer(n)){if(!this._decoder){var r=t("string_decoder").StringDecoder;this._decoder=new r("utf8")}n=this._decoder.write(n)}return this._parser.write(n.toString()),this.emit("data",n),!0},h.prototype.end=function(t){return t&&t.length&&this.write(t),this._parser.end(),!0},h.prototype.on=function(t,e){var n=this;return n._parser["on"+t]||-1===N.indexOf(t)||(n._parser["on"+t]=function(){var e=1===arguments.length?[arguments[0]]:Array.apply(null,arguments);e.splice(0,0,t),n.emit.apply(n,e)}),D.prototype.on.call(n,t,e)};var U="[CDATA[",$="DOCTYPE",F="http://www.w3.org/XML/1998/namespace",G="http://www.w3.org/2000/xmlns/",q={xml:F,xmlns:G},K=/[:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,H=/[:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u00B7\u0300-\u036F\u203F-\u2040.\d-]/,V=/[#:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,z=/[#:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u00B7\u0300-\u036F\u203F-\u2040.\d-]/,W=0;for(var X in n.STATE={BEGIN:W++,BEGIN_WHITESPACE:W++,TEXT:W++,TEXT_ENTITY:W++,OPEN_WAKA:W++,SGML_DECL:W++,SGML_DECL_QUOTED:W++,DOCTYPE:W++,DOCTYPE_QUOTED:W++,DOCTYPE_DTD:W++,DOCTYPE_DTD_QUOTED:W++,COMMENT_STARTING:W++,COMMENT:W++,COMMENT_ENDING:W++,COMMENT_ENDED:W++,CDATA:W++,CDATA_ENDING:W++,CDATA_ENDING_2:W++,PROC_INST:W++,PROC_INST_BODY:W++,PROC_INST_ENDING:W++,OPEN_TAG:W++,OPEN_TAG_SLASH:W++,ATTRIB:W++,ATTRIB_NAME:W++,ATTRIB_NAME_SAW_WHITE:W++,ATTRIB_VALUE:W++,ATTRIB_VALUE_QUOTED:W++,ATTRIB_VALUE_CLOSED:W++,ATTRIB_VALUE_UNQUOTED:W++,ATTRIB_VALUE_ENTITY_Q:W++,ATTRIB_VALUE_ENTITY_U:W++,CLOSE_TAG:W++,CLOSE_TAG_SAW_WHITE:W++,SCRIPT:W++,SCRIPT_ENDING:W++},n.XML_ENTITIES={amp:"&",gt:">",lt:"<",quot:'"',apos:"'"},n.ENTITIES={amp:"&",gt:">",lt:"<",quot:'"',apos:"'",AElig:198,Aacute:193,Acirc:194,Agrave:192,Aring:197,Atilde:195,Auml:196,Ccedil:199,ETH:208,Eacute:201,Ecirc:202,Egrave:200,Euml:203,Iacute:205,Icirc:206,Igrave:204,Iuml:207,Ntilde:209,Oacute:211,Ocirc:212,Ograve:210,Oslash:216,Otilde:213,Ouml:214,THORN:222,Uacute:218,Ucirc:219,Ugrave:217,Uuml:220,Yacute:221,aacute:225,acirc:226,aelig:230,agrave:224,aring:229,atilde:227,auml:228,ccedil:231,eacute:233,ecirc:234,egrave:232,eth:240,euml:235,iacute:237,icirc:238,igrave:236,iuml:239,ntilde:241,oacute:243,ocirc:244,ograve:242,oslash:248,otilde:245,ouml:246,szlig:223,thorn:254,uacute:250,ucirc:251,ugrave:249,uuml:252,yacute:253,yuml:255,copy:169,reg:174,nbsp:160,iexcl:161,cent:162,pound:163,curren:164,yen:165,brvbar:166,sect:167,uml:168,ordf:170,laquo:171,not:172,shy:173,macr:175,deg:176,plusmn:177,sup1:185,sup2:178,sup3:179,acute:180,micro:181,para:182,middot:183,cedil:184,ordm:186,raquo:187,frac14:188,frac12:189,frac34:190,iquest:191,times:215,divide:247,OElig:338,oelig:339,Scaron:352,scaron:353,Yuml:376,fnof:402,circ:710,tilde:732,Alpha:913,Beta:914,Gamma:915,Delta:916,Epsilon:917,Zeta:918,Eta:919,Theta:920,Iota:921,Kappa:922,Lambda:923,Mu:924,Nu:925,Xi:926,Omicron:927,Pi:928,Rho:929,Sigma:931,Tau:932,Upsilon:933,Phi:934,Chi:935,Psi:936,Omega:937,alpha:945,beta:946,gamma:947,delta:948,epsilon:949,zeta:950,eta:951,theta:952,iota:953,kappa:954,lambda:955,mu:956,nu:957,xi:958,omicron:959,pi:960,rho:961,sigmaf:962,sigma:963,tau:964,upsilon:965,phi:966,chi:967,psi:968,omega:969,thetasym:977,upsih:978,piv:982,ensp:8194,emsp:8195,thinsp:8201,zwnj:8204,zwj:8205,lrm:8206,rlm:8207,ndash:8211,mdash:8212,lsquo:8216,rsquo:8217,sbquo:8218,ldquo:8220,rdquo:8221,bdquo:8222,dagger:8224,Dagger:8225,bull:8226,hellip:8230,permil:8240,prime:8242,Prime:8243,lsaquo:8249,rsaquo:8250,oline:8254,frasl:8260,euro:8364,image:8465,weierp:8472,real:8476,trade:8482,alefsym:8501,larr:8592,uarr:8593,rarr:8594,darr:8595,harr:8596,crarr:8629,lArr:8656,uArr:8657,rArr:8658,dArr:8659,hArr:8660,forall:8704,part:8706,exist:8707,empty:8709,nabla:8711,isin:8712,notin:8713,ni:8715,prod:8719,sum:8721,minus:8722,lowast:8727,radic:8730,prop:8733,infin:8734,ang:8736,and:8743,or:8744,cap:8745,cup:8746,int:8747,there4:8756,sim:8764,cong:8773,asymp:8776,ne:8800,equiv:8801,le:8804,ge:8805,sub:8834,sup:8835,nsub:8836,sube:8838,supe:8839,oplus:8853,otimes:8855,perp:8869,sdot:8901,lceil:8968,rceil:8969,lfloor:8970,rfloor:8971,lang:9001,rang:9002,loz:9674,spades:9824,clubs:9827,hearts:9829,diams:9830},(0,c.default)(n.ENTITIES).forEach((function(t){var e=n.ENTITIES[t],r="number"==typeof e?String.fromCharCode(e):e;n.ENTITIES[t]=r})),n.STATE)n.STATE[n.STATE[X]]=X;W=n.STATE,o.default||function(){var t=String.fromCharCode,e=Math.floor,n=function(){var n,r,o=16384,i=[],a=-1,s=arguments.length;if(!s)return"";for(var c="";++a<s;){var u=Number(arguments[a]);if(!isFinite(u)||0>u||u>1114111||e(u)!==u)throw RangeError("Invalid code point: "+u);65535>=u?i.push(u):(n=55296+((u-=65536)>>10),r=u%1024+56320,i.push(n,r)),(a+1===s||i.length>o)&&(c+=t.apply(null,i),i.length=0)}return c};s.default?Object.defineProperty(String,"fromCodePoint",{value:n,configurable:!0,writable:!0}):String.fromCodePoint=n}()}(void 0===n?(void 0).sax={}:n)}).call(this,t("buffer").Buffer)},{"babel-runtime/core-js/json/stringify":17,"babel-runtime/core-js/object/create":19,"babel-runtime/core-js/object/define-property":20,"babel-runtime/core-js/object/keys":23,"babel-runtime/core-js/string/from-code-point":26,"babel-runtime/helpers/typeof":32,buffer:38,stream:195,string_decoder:37}],195:[function(t,e,n){function r(){o.call(this)}e.exports=r;var o=t("events").EventEmitter;t("inherits")(r,o),r.Readable=t("readable-stream/readable.js"),r.Writable=t("readable-stream/writable.js"),r.Duplex=t("readable-stream/duplex.js"),r.Transform=t("readable-stream/transform.js"),r.PassThrough=t("readable-stream/passthrough.js"),r.Stream=r,r.prototype.pipe=function(t,e){function n(e){t.writable&&!1===t.write(e)&&u.pause&&u.pause()}function r(){u.readable&&u.resume&&u.resume()}function i(){l||(l=!0,t.end())}function a(){l||(l=!0,"function"==typeof t.destroy&&t.destroy())}function s(t){if(c(),0===o.listenerCount(this,"error"))throw t}function c(){u.removeListener("data",n),t.removeListener("drain",r),u.removeListener("end",i),u.removeListener("close",a),u.removeListener("error",s),t.removeListener("error",s),u.removeListener("end",c),u.removeListener("close",c),t.removeListener("close",c)}var u=this;u.on("data",n),t.on("drain",r),t._isStdio||e&&!1===e.end||(u.on("end",i),u.on("close",a));var l=!1;return u.on("error",s),t.on("error",s),u.on("end",c),u.on("close",c),t.on("close",c),t.emit("pipe",u),t}},{events:158,inherits:162,"readable-stream/duplex.js":178,"readable-stream/passthrough.js":187,"readable-stream/readable.js":188,"readable-stream/transform.js":189,"readable-stream/writable.js":190}],196:[function(t,e,n){(function(e){var r=t("./lib/request"),o=t("./lib/response"),i=t("xtend"),a=t("builtin-status-codes"),s=t("url"),c=n;c.request=function(t,n){t="string"==typeof t?s.parse(t):i(t);var o=-1===e.location.protocol.search(/^https?:$/)?"http:":"",a=t.protocol||o,c=t.hostname||t.host,u=t.port,l=t.path||"/";c&&-1!==c.indexOf(":")&&(c="["+c+"]"),t.url=(c?a+"//"+c:"")+(u?":"+u:"")+l,t.method=(t.method||"GET").toUpperCase(),t.headers=t.headers||{};var p=new r(t);return n&&p.on("response",n),p},c.get=function(t,e){var n=c.request(t,e);return n.end(),n},c.ClientRequest=r,c.IncomingMessage=o.IncomingMessage,c.Agent=function(){},c.Agent.defaultMaxSockets=4,c.globalAgent=new c.Agent,c.STATUS_CODES=a,c.METHODS=["CHECKOUT","CONNECT","COPY","DELETE","GET","HEAD","LOCK","M-SEARCH","MERGE","MKACTIVITY","MKCOL","MOVE","NOTIFY","OPTIONS","PATCH","POST","PROPFIND","PROPPATCH","PURGE","PUT","REPORT","SEARCH","SUBSCRIBE","TRACE","UNLOCK","UNSUBSCRIBE"]}).call(this,void 0!==commonjsGlobal?commonjsGlobal:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./lib/request":198,"./lib/response":199,"builtin-status-codes":39,url:203,xtend:236}],197:[function(t,e,n){(function(t){function e(){if(void 0!==i)return i;if(t.XMLHttpRequest){i=new t.XMLHttpRequest;try{i.open("GET",t.XDomainRequest?"/":"https://example.com")}catch(t){i=null}}else i=null;return i}function r(t){var n=e();if(!n)return!1;try{return n.responseType=t,n.responseType===t}catch(t){}return!1}function o(t){return"function"==typeof t}n.fetch=o(t.fetch)&&o(t.ReadableStream),n.writableStream=o(t.WritableStream),n.abortController=o(t.AbortController),n.blobConstructor=!1;try{new Blob([new ArrayBuffer(1)]),n.blobConstructor=!0}catch(t){}var i,a=void 0!==t.ArrayBuffer,s=a&&o(t.ArrayBuffer.prototype.slice);n.arraybuffer=n.fetch||a&&r("arraybuffer"),n.msstream=!n.fetch&&s&&r("ms-stream"),n.mozchunkedarraybuffer=!n.fetch&&a&&r("moz-chunked-arraybuffer"),n.overrideMimeType=n.fetch||!!e()&&o(e().overrideMimeType),n.vbArray=o(t.VBArray),i=null}).call(this,void 0!==commonjsGlobal?commonjsGlobal:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],198:[function(t,e,n){(function(n,r,o){function i(t){return t&&t.__esModule?t:{default:t}}function a(t,e){return u.fetch&&e?"fetch":u.mozchunkedarraybuffer?"moz-chunked-arraybuffer":u.msstream?"ms-stream":u.arraybuffer&&t?"arraybuffer":u.vbArray&&t?"text:vbarray":"text"}function s(t){try{var e=t.status;return null!==e&&0!==e}catch(t){return!1}}var c=i(t("babel-runtime/core-js/object/keys")),u=t("./capability"),l=t("inherits"),p=t("./response"),f=t("readable-stream"),d=t("to-arraybuffer"),h=p.IncomingMessage,m=p.readyStates,g=e.exports=function(t){var e=this;f.Writable.call(e),e._opts=t,e._body=[],e._headers={},t.auth&&e.setHeader("Authorization","Basic "+new o(t.auth).toString("base64")),(0,c.default)(t.headers).forEach((function(n){e.setHeader(n,t.headers[n])}));var n,r=!0;if("disable-fetch"===t.mode||"requestTimeout"in t&&!u.abortController)r=!1,n=!0;else if("prefer-streaming"===t.mode)n=!1;else if("allow-wrong-content-type"===t.mode)n=!u.overrideMimeType;else{if(t.mode&&"default"!==t.mode&&"prefer-fast"!==t.mode)throw new Error("Invalid value for opts.mode");n=!0}e._mode=a(n,r),e._fetchTimer=null,e.on("finish",(function(){e._onFinish()}))};l(g,f.Writable),g.prototype.setHeader=function(t,e){var n=this,r=t.toLowerCase();-1===v.indexOf(r)&&(n._headers[r]={name:t,value:e})},g.prototype.getHeader=function(t){var e=this._headers[t.toLowerCase()];return e?e.value:null},g.prototype.removeHeader=function(t){delete this._headers[t.toLowerCase()]},g.prototype._onFinish=function(){var t=this;if(!t._destroyed){var e=t._opts,i=t._headers,a=null;"GET"!==e.method&&"HEAD"!==e.method&&(a=u.arraybuffer?d(o.concat(t._body)):u.blobConstructor?new r.Blob(t._body.map((function(t){return d(t)})),{type:(i["content-type"]||{}).value||""}):o.concat(t._body).toString());var s=[];if((0,c.default)(i).forEach((function(t){var e=i[t].name,n=i[t].value;Array.isArray(n)?n.forEach((function(t){s.push([e,t])})):s.push([e,n])})),"fetch"===t._mode){var l=null;if(u.abortController){var p=new AbortController;l=p.signal,t._fetchAbortController=p,"requestTimeout"in e&&0!==e.requestTimeout&&(t._fetchTimer=r.setTimeout((function(){t.emit("requestTimeout"),t._fetchAbortController&&t._fetchAbortController.abort()}),e.requestTimeout))}r.fetch(t._opts.url,{method:t._opts.method,headers:s,body:a||void 0,mode:"cors",credentials:e.withCredentials?"include":"same-origin",signal:l}).then((function(e){t._fetchResponse=e,t._connect()}),(function(e){r.clearTimeout(t._fetchTimer),t._destroyed||t.emit("error",e)}))}else{var f=t._xhr=new r.XMLHttpRequest;try{f.open(t._opts.method,t._opts.url,!0)}catch(e){return void n.nextTick((function(){t.emit("error",e)}))}"responseType"in f&&(f.responseType=t._mode.split(":")[0]),"withCredentials"in f&&(f.withCredentials=!!e.withCredentials),"text"===t._mode&&"overrideMimeType"in f&&f.overrideMimeType("text/plain; charset=x-user-defined"),"requestTimeout"in e&&(f.timeout=e.requestTimeout,f.ontimeout=function(){t.emit("requestTimeout")}),s.forEach((function(t){f.setRequestHeader(t[0],t[1])})),t._response=null,f.onreadystatechange=function(){switch(f.readyState){case m.LOADING:case m.DONE:t._onXHRProgress()}},"moz-chunked-arraybuffer"===t._mode&&(f.onprogress=function(){t._onXHRProgress()}),f.onerror=function(){t._destroyed||t.emit("error",new Error("XHR error"))};try{f.send(a)}catch(e){return void n.nextTick((function(){t.emit("error",e)}))}}}},g.prototype._onXHRProgress=function(){var t=this;s(t._xhr)&&!t._destroyed&&(t._response||t._connect(),t._response._onXHRProgress())},g.prototype._connect=function(){var t=this;t._destroyed||(t._response=new h(t._xhr,t._fetchResponse,t._mode,t._fetchTimer),t._response.on("error",(function(e){t.emit("error",e)})),t.emit("response",t._response))},g.prototype._write=function(t,e,n){this._body.push(t),n()},g.prototype.abort=g.prototype.destroy=function(){var t=this;t._destroyed=!0,r.clearTimeout(t._fetchTimer),t._response&&(t._response._destroyed=!0),t._xhr?t._xhr.abort():t._fetchAbortController&&t._fetchAbortController.abort()},g.prototype.end=function(t,e,n){var r=this;"function"==typeof t&&(n=t,t=void 0),f.Writable.prototype.end.call(r,t,e,n)},g.prototype.flushHeaders=function(){},g.prototype.setTimeout=function(){},g.prototype.setNoDelay=function(){},g.prototype.setSocketKeepAlive=function(){};var v=["accept-charset","accept-encoding","access-control-request-headers","access-control-request-method","connection","content-length","cookie","cookie2","date","dnt","expect","host","keep-alive","origin","referer","te","trailer","transfer-encoding","upgrade","user-agent","via"]}).call(this,t("_process"),void 0!==commonjsGlobal?commonjsGlobal:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},t("buffer").Buffer)},{"./capability":197,"./response":199,_process:173,"babel-runtime/core-js/object/keys":23,buffer:38,inherits:162,"readable-stream":188,"to-arraybuffer":202}],199:[function(t,e,n){(function(e,r,o){function i(t){return t&&t.__esModule?t:{default:t}}var a=i(t("babel-runtime/core-js/promise")),s=t("./capability"),c=t("inherits"),u=t("readable-stream"),l=n.readyStates={UNSENT:0,OPENED:1,HEADERS_RECEIVED:2,LOADING:3,DONE:4},p=n.IncomingMessage=function(t,n,i,c){var l=this;if(u.Readable.call(l),l._mode=i,l.headers={},l.rawHeaders=[],l.trailers={},l.rawTrailers=[],l.on("end",(function(){e.nextTick((function(){l.emit("close")}))})),"fetch"===i){var p=function t(){d.read().then((function(e){if(!l._destroyed){if(e.done)return r.clearTimeout(c),void l.push(null);l.push(new o(e.value)),t()}})).catch((function(t){r.clearTimeout(c),l._destroyed||l.emit("error",t)}))};if(l._fetchResponse=n,l.url=n.url,l.statusCode=n.status,l.statusMessage=n.statusText,n.headers.forEach((function(t,e){l.headers[e.toLowerCase()]=t,l.rawHeaders.push(e,t)})),s.writableStream){var f=new WritableStream({write:function(t){return new a.default((function(e,n){l._destroyed?n():l.push(new o(t))?e():l._resumeFetch=e}))},close:function(){r.clearTimeout(c),l._destroyed||l.push(null)},abort:function(t){l._destroyed||l.emit("error",t)}});try{return void n.body.pipeTo(f).catch((function(t){r.clearTimeout(c),l._destroyed||l.emit("error",t)}))}catch(t){}}var d=n.body.getReader();p()}else if(l._xhr=t,l._pos=0,l.url=t.responseURL,l.statusCode=t.status,l.statusMessage=t.statusText,t.getAllResponseHeaders().split(/\r?\n/).forEach((function(t){var e=t.match(/^([^:]+):\s*(.*)/);if(e){var n=e[1].toLowerCase();"set-cookie"===n?(void 0===l.headers[n]&&(l.headers[n]=[]),l.headers[n].push(e[2])):void 0!==l.headers[n]?l.headers[n]+=", "+e[2]:l.headers[n]=e[2],l.rawHeaders.push(e[1],e[2])}})),l._charset="x-user-defined",!s.overrideMimeType){var h=l.rawHeaders["mime-type"];if(h){var m=h.match(/;\s*charset=([^;])(;|$)/);m&&(l._charset=m[1].toLowerCase())}l._charset||(l._charset="utf-8")}};c(p,u.Readable),p.prototype._read=function(){var t=this,e=t._resumeFetch;e&&(t._resumeFetch=null,e())},p.prototype._onXHRProgress=function(){var t=this,e=t._xhr,n=null;switch(t._mode){case"text:vbarray":if(e.readyState!==l.DONE)break;try{n=new r.VBArray(e.responseBody).toArray()}catch(t){}if(null!==n){t.push(new o(n));break}case"text":try{n=e.responseText}catch(e){t._mode="text:vbarray";break}if(n.length>t._pos){var i=n.substr(t._pos);if("x-user-defined"===t._charset){for(var a=new o(i.length),s=0;s<i.length;s++)a[s]=255&i.charCodeAt(s);t.push(a)}else t.push(i,t._charset);t._pos=n.length}break;case"arraybuffer":if(e.readyState!==l.DONE||!e.response)break;n=e.response,t.push(new o(new Uint8Array(n)));break;case"moz-chunked-arraybuffer":if(n=e.response,e.readyState!==l.LOADING||!n)break;t.push(new o(new Uint8Array(n)));break;case"ms-stream":if(n=e.response,e.readyState!==l.LOADING)break;var c=new r.MSStreamReader;c.onprogress=function(){c.result.byteLength>t._pos&&(t.push(new o(new Uint8Array(c.result.slice(t._pos)))),t._pos=c.result.byteLength)},c.onload=function(){t.push(null)},c.readAsArrayBuffer(n)}t._xhr.readyState===l.DONE&&"ms-stream"!==t._mode&&t.push(null)}}).call(this,t("_process"),void 0!==commonjsGlobal?commonjsGlobal:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},t("buffer").Buffer)},{"./capability":197,_process:173,"babel-runtime/core-js/promise":24,buffer:38,inherits:162,"readable-stream":188}],200:[function(t,e,n){function r(t){if(!t)return"utf8";for(var e;;)switch(t){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return t;default:if(e)return;t=(""+t).toLowerCase(),e=!0}}function o(t){var e=r(t);if("string"!=typeof e&&(y.isEncoding===b||!b(t)))throw new Error("Unknown encoding: "+t);return e||t}function i(t){var e;switch(this.encoding=o(t),this.encoding){case"utf16le":this.text=f,this.end=d,e=4;break;case"utf8":this.fillLast=u,e=4;break;case"base64":this.text=h,this.end=m,e=3;break;default:return this.write=g,void(this.end=v)}this.lastNeed=0,this.lastTotal=0,this.lastChar=y.allocUnsafe(e)}function a(t){return 127>=t?0:t>>5==6?2:t>>4==14?3:t>>3==30?4:t>>6==2?-1:-2}function s(t,e,n){var r=e.length-1;if(n>r)return 0;var o=a(e[r]);return o>=0?(o>0&&(t.lastNeed=o-1),o):--r<n||-2===o?0:(o=a(e[r]))>=0?(o>0&&(t.lastNeed=o-2),o):--r<n||-2===o?0:(o=a(e[r]))>=0?(o>0&&(2===o?o=0:t.lastNeed=o-3),o):0}function c(t,e,n){if(128!=(192&e[0]))return t.lastNeed=0,"�";if(t.lastNeed>1&&e.length>1){if(128!=(192&e[1]))return t.lastNeed=1,"�";if(t.lastNeed>2&&e.length>2&&128!=(192&e[2]))return t.lastNeed=2,"�"}}function u(t){var e=this.lastTotal-this.lastNeed,n=c(this,t);return void 0!==n?n:this.lastNeed<=t.length?(t.copy(this.lastChar,e,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(t.copy(this.lastChar,e,0,t.length),void(this.lastNeed-=t.length))}function l(t,e){var n=s(this,t,e);if(!this.lastNeed)return t.toString("utf8",e);this.lastTotal=n;var r=t.length-(n-this.lastNeed);return t.copy(this.lastChar,0,r),t.toString("utf8",e,r)}function p(t){var e=t&&t.length?this.write(t):"";return this.lastNeed?e+"�":e}function f(t,e){if((t.length-e)%2==0){var n=t.toString("utf16le",e);if(n){var r=n.charCodeAt(n.length-1);if(r>=55296&&56319>=r)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=t[t.length-2],this.lastChar[1]=t[t.length-1],n.slice(0,-1)}return n}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=t[t.length-1],t.toString("utf16le",e,t.length-1)}function d(t){var e=t&&t.length?this.write(t):"";if(this.lastNeed){var n=this.lastTotal-this.lastNeed;return e+this.lastChar.toString("utf16le",0,n)}return e}function h(t,e){var n=(t.length-e)%3;return 0===n?t.toString("base64",e):(this.lastNeed=3-n,this.lastTotal=3,1===n?this.lastChar[0]=t[t.length-1]:(this.lastChar[0]=t[t.length-2],this.lastChar[1]=t[t.length-1]),t.toString("base64",e,t.length-n))}function m(t){var e=t&&t.length?this.write(t):"";return this.lastNeed?e+this.lastChar.toString("base64",0,3-this.lastNeed):e}function g(t){return t.toString(this.encoding)}function v(t){return t&&t.length?this.write(t):""}var y=t("safe-buffer").Buffer,b=y.isEncoding||function(t){switch((t=""+t)&&t.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};n.StringDecoder=i,i.prototype.write=function(t){if(0===t.length)return"";var e,n;if(this.lastNeed){if(void 0===(e=this.fillLast(t)))return"";n=this.lastNeed,this.lastNeed=0}else n=0;return n<t.length?e?e+this.text(t,n):this.text(t,n):e||""},i.prototype.end=p,i.prototype.text=l,i.prototype.fillLast=function(t){return this.lastNeed<=t.length?(t.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(t.copy(this.lastChar,this.lastTotal-this.lastNeed,0,t.length),void(this.lastNeed-=t.length))}},{"safe-buffer":193}],201:[function(t,e,n){(function(e,r){function o(t,e){this._id=t,this._clearFn=e}var i=t("process/browser.js").nextTick,a=Function.prototype.apply,s=Array.prototype.slice,c={},u=0;n.setTimeout=function(){return new o(a.call(setTimeout,window,arguments),clearTimeout)},n.setInterval=function(){return new o(a.call(setInterval,window,arguments),clearInterval)},n.clearTimeout=n.clearInterval=function(t){t.close()},o.prototype.unref=o.prototype.ref=function(){},o.prototype.close=function(){this._clearFn.call(window,this._id)},n.enroll=function(t,e){clearTimeout(t._idleTimeoutId),t._idleTimeout=e},n.unenroll=function(t){clearTimeout(t._idleTimeoutId),t._idleTimeout=-1},n._unrefActive=n.active=function(t){clearTimeout(t._idleTimeoutId);var e=t._idleTimeout;e>=0&&(t._idleTimeoutId=setTimeout((function(){t._onTimeout&&t._onTimeout()}),e))},n.setImmediate="function"==typeof e?e:function(t){var e=u++,r=!(arguments.length<2)&&s.call(arguments,1);return c[e]=!0,i((function(){c[e]&&(r?t.apply(null,r):t.call(null),n.clearImmediate(e))})),e},n.clearImmediate="function"==typeof r?r:function(t){delete c[t]}}).call(this,t("timers").setImmediate,t("timers").clearImmediate)},{"process/browser.js":173,timers:201}],202:[function(t,e,n){var r=t("buffer").Buffer;e.exports=function(t){if(t instanceof Uint8Array){if(0===t.byteOffset&&t.byteLength===t.buffer.byteLength)return t.buffer;if("function"==typeof t.buffer.slice)return t.buffer.slice(t.byteOffset,t.byteOffset+t.byteLength)}if(r.isBuffer(t)){for(var e=new Uint8Array(t.length),n=t.length,o=0;n>o;o++)e[o]=t[o];return e.buffer}throw new Error("Argument must be a Buffer")}},{buffer:38}],203:[function(t,e,n){function r(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}function o(t,e,n){if(t&&u.isObject(t)&&t instanceof r)return t;var o=new r;return o.parse(t,e,n),o}function i(t){return u.isString(t)&&(t=o(t)),t instanceof r?t.format():r.prototype.format.call(t)}function a(t,e){return o(t,!1,!0).resolve(e)}function s(t,e){return t?o(t,!1,!0).resolveObject(e):e}var c=t("punycode"),u=t("./util");n.parse=o,n.resolve=a,n.resolveObject=s,n.format=i,n.Url=r;var l=/^([a-z0-9.+-]+:)/i,p=/:[0-9]*$/,f=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,d=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),h=["'"].concat(d),m=["%","/","?",";","#"].concat(h),g=["/","?","#"],v=255,y=/^[+a-z0-9A-Z_-]{0,63}$/,b=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,w={javascript:!0,"javascript:":!0},x={javascript:!0,"javascript:":!0},_={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},A=t("querystring");r.prototype.parse=function(t,e,n){if(!u.isString(t))throw new TypeError("Parameter 'url' must be a string, not "+typeof t);var r=t.indexOf("?"),o=-1!==r&&r<t.indexOf("#")?"?":"#",i=t.split(o),a=/\\/g;i[0]=i[0].replace(a,"/");var s=t=i.join(o);if(s=s.trim(),!n&&1===t.split("#").length){var p=f.exec(s);if(p)return this.path=s,this.href=s,this.pathname=p[1],p[2]?(this.search=p[2],this.query=e?A.parse(this.search.substr(1)):this.search.substr(1)):e&&(this.search="",this.query={}),this}var d=l.exec(s);if(d){var k=(d=d[0]).toLowerCase();this.protocol=k,s=s.substr(d.length)}if(n||d||s.match(/^\/\/[^@\/]+@[^@\/]+/)){var E="//"===s.substr(0,2);!E||d&&x[d]||(s=s.substr(2),this.slashes=!0)}if(!x[d]&&(E||d&&!_[d])){for(var S=-1,T=0;T<g.length;T++)-1!==(O=s.indexOf(g[T]))&&(-1===S||S>O)&&(S=O);var C,P;for(-1!==(P=-1===S?s.lastIndexOf("@"):s.lastIndexOf("@",S))&&(C=s.slice(0,P),s=s.slice(P+1),this.auth=decodeURIComponent(C)),S=-1,T=0;T<m.length;T++){var O;-1!==(O=s.indexOf(m[T]))&&(-1===S||S>O)&&(S=O)}-1===S&&(S=s.length),this.host=s.slice(0,S),s=s.slice(S),this.parseHost(),this.hostname=this.hostname||"";var L="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!L)for(var M=this.hostname.split(/\./),R=(T=0,M.length);R>T;T++){var I=M[T];if(I&&!I.match(y)){for(var j="",D=0,B=I.length;B>D;D++)j+=I.charCodeAt(D)>127?"x":I[D];if(!j.match(y)){var N=M.slice(0,T),U=M.slice(T+1),$=I.match(b);$&&(N.push($[1]),U.unshift($[2])),U.length&&(s="/"+U.join(".")+s),this.hostname=N.join(".");break}}}this.hostname.length>v?this.hostname="":this.hostname=this.hostname.toLowerCase(),L||(this.hostname=c.toASCII(this.hostname));var F=this.port?":"+this.port:"",G=this.hostname||"";this.host=G+F,this.href+=this.host,L&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==s[0]&&(s="/"+s))}if(!w[k])for(T=0,R=h.length;R>T;T++){var q=h[T];if(-1!==s.indexOf(q)){var K=encodeURIComponent(q);K===q&&(K=escape(q)),s=s.split(q).join(K)}}var H=s.indexOf("#");-1!==H&&(this.hash=s.substr(H),s=s.slice(0,H));var V=s.indexOf("?");if(-1!==V?(this.search=s.substr(V),this.query=s.substr(V+1),e&&(this.query=A.parse(this.query)),s=s.slice(0,V)):e&&(this.search="",this.query={}),s&&(this.pathname=s),_[k]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){F=this.pathname||"";var z=this.search||"";this.path=F+z}return this.href=this.format(),this},r.prototype.format=function(){var t=this.auth||"";t&&(t=(t=encodeURIComponent(t)).replace(/%3A/i,":"),t+="@");var e=this.protocol||"",n=this.pathname||"",r=this.hash||"",o=!1,i="";this.host?o=t+this.host:this.hostname&&(o=t+(-1===this.hostname.indexOf(":")?this.hostname:"["+this.hostname+"]"),this.port&&(o+=":"+this.port)),this.query&&u.isObject(this.query)&&Object.keys(this.query).length&&(i=A.stringify(this.query));var a=this.search||i&&"?"+i||"";return e&&":"!==e.substr(-1)&&(e+=":"),this.slashes||(!e||_[e])&&!1!==o?(o="//"+(o||""),n&&"/"!==n.charAt(0)&&(n="/"+n)):o||(o=""),r&&"#"!==r.charAt(0)&&(r="#"+r),a&&"?"!==a.charAt(0)&&(a="?"+a),n=n.replace(/[?#]/g,(function(t){return encodeURIComponent(t)})),e+o+n+(a=a.replace("#","%23"))+r},r.prototype.resolve=function(t){return this.resolveObject(o(t,!1,!0)).format()},r.prototype.resolveObject=function(t){if(u.isString(t)){var e=new r;e.parse(t,!1,!0),t=e}for(var n=new r,o=Object.keys(this),i=0;i<o.length;i++){var a=o[i];n[a]=this[a]}if(n.hash=t.hash,""===t.href)return n.href=n.format(),n;if(t.slashes&&!t.protocol){for(var s=Object.keys(t),c=0;c<s.length;c++){var l=s[c];"protocol"!==l&&(n[l]=t[l])}return _[n.protocol]&&n.hostname&&!n.pathname&&(n.path=n.pathname="/"),n.href=n.format(),n}if(t.protocol&&t.protocol!==n.protocol){if(!_[t.protocol]){for(var p=Object.keys(t),f=0;f<p.length;f++){var d=p[f];n[d]=t[d]}return n.href=n.format(),n}if(n.protocol=t.protocol,t.host||x[t.protocol])n.pathname=t.pathname;else{for(var h=(t.pathname||"").split("/");h.length&&!(t.host=h.shift()););t.host||(t.host=""),t.hostname||(t.hostname=""),""!==h[0]&&h.unshift(""),h.length<2&&h.unshift(""),n.pathname=h.join("/")}if(n.search=t.search,n.query=t.query,n.host=t.host||"",n.auth=t.auth,n.hostname=t.hostname||t.host,n.port=t.port,n.pathname||n.search){var m=n.pathname||"",g=n.search||"";n.path=m+g}return n.slashes=n.slashes||t.slashes,n.href=n.format(),n}var v=n.pathname&&"/"===n.pathname.charAt(0),y=t.host||t.pathname&&"/"===t.pathname.charAt(0),b=y||v||n.host&&t.pathname,w=b,A=n.pathname&&n.pathname.split("/")||[],k=(h=t.pathname&&t.pathname.split("/")||[],n.protocol&&!_[n.protocol]);if(k&&(n.hostname="",n.port=null,n.host&&(""===A[0]?A[0]=n.host:A.unshift(n.host)),n.host="",t.protocol&&(t.hostname=null,t.port=null,t.host&&(""===h[0]?h[0]=t.host:h.unshift(t.host)),t.host=null),b=b&&(""===h[0]||""===A[0])),y)n.host=t.host||""===t.host?t.host:n.host,n.hostname=t.hostname||""===t.hostname?t.hostname:n.hostname,n.search=t.search,n.query=t.query,A=h;else if(h.length)A||(A=[]),A.pop(),A=A.concat(h),n.search=t.search,n.query=t.query;else if(!u.isNullOrUndefined(t.search))return k&&(n.hostname=n.host=A.shift(),(P=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@"))&&(n.auth=P.shift(),n.host=n.hostname=P.shift())),n.search=t.search,n.query=t.query,u.isNull(n.pathname)&&u.isNull(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.href=n.format(),n;if(!A.length)return n.pathname=null,n.search?n.path="/"+n.search:n.path=null,n.href=n.format(),n;for(var E=A.slice(-1)[0],S=(n.host||t.host||A.length>1)&&("."===E||".."===E)||""===E,T=0,C=A.length;C>=0;C--)"."===(E=A[C])?A.splice(C,1):".."===E?(A.splice(C,1),T++):T&&(A.splice(C,1),T--);if(!b&&!w)for(;T--;T)A.unshift("..");!b||""===A[0]||A[0]&&"/"===A[0].charAt(0)||A.unshift(""),S&&"/"!==A.join("/").substr(-1)&&A.push("");var P,O=""===A[0]||A[0]&&"/"===A[0].charAt(0);return k&&(n.hostname=n.host=O?"":A.length?A.shift():"",(P=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@"))&&(n.auth=P.shift(),n.host=n.hostname=P.shift())),(b=b||n.host&&A.length)&&!O&&A.unshift(""),A.length?n.pathname=A.join("/"):(n.pathname=null,n.path=null),u.isNull(n.pathname)&&u.isNull(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.auth=t.auth||n.auth,n.slashes=n.slashes||t.slashes,n.href=n.format(),n},r.prototype.parseHost=function(){var t=this.host,e=p.exec(t);e&&(":"!==(e=e[0])&&(this.port=e.substr(1)),t=t.substr(0,t.length-e.length)),t&&(this.hostname=t)}},{"./util":204,punycode:174,querystring:177}],204:[function(t,e,n){e.exports={isString:function(t){return"string"==typeof t},isObject:function(t){return"object"==typeof t&&null!==t},isNull:function(t){return null===t},isNullOrUndefined:function(t){return null==t}}},{}],205:[function(t,e,n){(function(t){function n(t,e){function n(){if(!o){if(r("throwDeprecation"))throw new Error(e);r("traceDeprecation"),o=!0}return t.apply(this,arguments)}if(r("noDeprecation"))return t;var o=!1;return n}function r(e){try{if(!t.localStorage)return!1}catch(t){return!1}var n=t.localStorage[e];return null!=n&&"true"===String(n).toLowerCase()}e.exports=n}).call(this,void 0!==commonjsGlobal?commonjsGlobal:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],206:[function(t,e,n){e.exports=function(t){return t&&"object"==typeof t&&"function"==typeof t.copy&&"function"==typeof t.fill&&"function"==typeof t.readUInt8}},{}],207:[function(t,e,n){(function(e,r){function o(t,e){var r={seen:[],stylize:a};return arguments.length>=3&&(r.depth=arguments[2]),arguments.length>=4&&(r.colors=arguments[3]),m(e)?r.showHidden=e:e&&n._extend(r,e),x(r.showHidden)&&(r.showHidden=!1),x(r.depth)&&(r.depth=2),x(r.colors)&&(r.colors=!1),x(r.customInspect)&&(r.customInspect=!0),r.colors&&(r.stylize=i),c(r,t,r.depth)}function i(t,e){var n=o.styles[e];return n?"["+o.colors[n][0]+"m"+t+"["+o.colors[n][1]+"m":t}function a(t,e){return t}function s(t){var e={};return t.forEach((function(t,n){e[t]=!0})),e}function c(t,e,r){if(t.customInspect&&e&&S(e.inspect)&&e.inspect!==n.inspect&&(!e.constructor||e.constructor.prototype!==e)){var o=e.inspect(r,t);return b(o)||(o=c(t,o,r)),o}var i=u(t,e);if(i)return i;var a=Object.keys(e),m=s(a);if(t.showHidden&&(a=Object.getOwnPropertyNames(e)),E(e)&&(a.indexOf("message")>=0||a.indexOf("description")>=0))return l(e);if(0===a.length){if(S(e)){var g=e.name?": "+e.name:"";return t.stylize("[Function"+g+"]","special")}if(_(e))return t.stylize(RegExp.prototype.toString.call(e),"regexp");if(k(e))return t.stylize(Date.prototype.toString.call(e),"date");if(E(e))return l(e)}var v,y="",w=!1,x=["{","}"];return h(e)&&(w=!0,x=["[","]"]),S(e)&&(y=" [Function"+(e.name?": "+e.name:"")+"]"),_(e)&&(y=" "+RegExp.prototype.toString.call(e)),k(e)&&(y=" "+Date.prototype.toUTCString.call(e)),E(e)&&(y=" "+l(e)),0!==a.length||w&&0!=e.length?0>r?_(e)?t.stylize(RegExp.prototype.toString.call(e),"regexp"):t.stylize("[Object]","special"):(t.seen.push(e),v=w?p(t,e,r,m,a):a.map((function(n){return f(t,e,r,m,n,w)})),t.seen.pop(),d(v,y,x)):x[0]+y+x[1]}function u(t,e){if(x(e))return t.stylize("undefined","undefined");if(b(e)){var n="'"+JSON.stringify(e).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return t.stylize(n,"string")}return y(e)?t.stylize(""+e,"number"):m(e)?t.stylize(""+e,"boolean"):g(e)?t.stylize("null","null"):void 0}function l(t){return"["+Error.prototype.toString.call(t)+"]"}function p(t,e,n,r,o){for(var i=[],a=0,s=e.length;s>a;++a)P(e,String(a))?i.push(f(t,e,n,r,String(a),!0)):i.push("");return o.forEach((function(o){o.match(/^\d+$/)||i.push(f(t,e,n,r,o,!0))})),i}function f(t,e,n,r,o,i){var a,s,u;if((u=Object.getOwnPropertyDescriptor(e,o)||{value:e[o]}).get?s=u.set?t.stylize("[Getter/Setter]","special"):t.stylize("[Getter]","special"):u.set&&(s=t.stylize("[Setter]","special")),P(r,o)||(a="["+o+"]"),s||(t.seen.indexOf(u.value)<0?(s=g(n)?c(t,u.value,null):c(t,u.value,n-1)).indexOf("\n")>-1&&(s=i?s.split("\n").map((function(t){return" "+t})).join("\n").substr(2):"\n"+s.split("\n").map((function(t){return" "+t})).join("\n")):s=t.stylize("[Circular]","special")),x(a)){if(i&&o.match(/^\d+$/))return s;(a=JSON.stringify(""+o)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(a=a.substr(1,a.length-2),a=t.stylize(a,"name")):(a=a.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),a=t.stylize(a,"string"))}return a+": "+s}function d(t,e,n){var r=t.reduce((function(t,e){return e.indexOf("\n"),t+e.replace(/\u001b\[\d\d?m/g,"").length+1}),0);return r>60?n[0]+(""===e?"":e+"\n ")+" "+t.join(",\n ")+" "+n[1]:n[0]+e+" "+t.join(", ")+" "+n[1]}function h(t){return Array.isArray(t)}function m(t){return"boolean"==typeof t}function g(t){return null===t}function v(t){return null==t}function y(t){return"number"==typeof t}function b(t){return"string"==typeof t}function w(t){return"symbol"==typeof t}function x(t){return void 0===t}function _(t){return A(t)&&"[object RegExp]"===C(t)}function A(t){return"object"==typeof t&&null!==t}function k(t){return A(t)&&"[object Date]"===C(t)}function E(t){return A(t)&&("[object Error]"===C(t)||t instanceof Error)}function S(t){return"function"==typeof t}function T(t){return null===t||"boolean"==typeof t||"number"==typeof t||"string"==typeof t||"symbol"==typeof t||void 0===t}function C(t){return Object.prototype.toString.call(t)}function P(t,e){return Object.prototype.hasOwnProperty.call(t,e)}var O=/%[sdj%]/g;n.format=function(t){if(!b(t)){for(var e=[],n=0;n<arguments.length;n++)e.push(o(arguments[n]));return e.join(" ")}n=1;for(var r=arguments,i=r.length,a=String(t).replace(O,(function(t){if("%%"===t)return"%";if(n>=i)return t;switch(t){case"%s":return String(r[n++]);case"%d":return Number(r[n++]);case"%j":try{return JSON.stringify(r[n++])}catch(t){return"[Circular]"}default:return t}})),s=r[n];i>n;s=r[++n])a+=g(s)||!A(s)?" "+s:" "+o(s);return a},n.deprecate=function(t,o){function i(){if(!a){if(e.throwDeprecation)throw new Error(o);e.traceDeprecation,a=!0}return t.apply(this,arguments)}if(x(r.process))return function(){return n.deprecate(t,o).apply(this,arguments)};if(!0===e.noDeprecation)return t;var a=!1;return i};var L,M={};n.debuglog=function(t){return x(L)&&(L=e.env.NODE_DEBUG||""),t=t.toUpperCase(),M[t]||(new RegExp("\\b"+t+"\\b","i").test(L)?(e.pid,M[t]=function(){n.format.apply(n,arguments)}):M[t]=function(){}),M[t]},n.inspect=o,o.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},o.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},n.isArray=h,n.isBoolean=m,n.isNull=g,n.isNullOrUndefined=v,n.isNumber=y,n.isString=b,n.isSymbol=w,n.isUndefined=x,n.isRegExp=_,n.isObject=A,n.isDate=k,n.isError=E,n.isFunction=S,n.isPrimitive=T,n.isBuffer=t("./support/isBuffer"),n.log=function(){},n.inherits=t("inherits"),n._extend=function(t,e){if(!e||!A(e))return t;for(var n=Object.keys(e),r=n.length;r--;)t[n[r]]=e[n[r]];return t}}).call(this,t("_process"),void 0!==commonjsGlobal?commonjsGlobal:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./support/isBuffer":206,_process:173,inherits:162}],208:[function(t,e,n){(function(){n.stripBOM=function(t){return"\ufeff"===t[0]?t.substring(1):t}}).call(void 0)},{}],209:[function(t,e,n){function r(t){return t&&t.__esModule?t:{default:t}}var o=r(t("babel-runtime/helpers/typeof")),i=r(t("babel-runtime/core-js/object/keys"));(function(){var e,r,a,s,c,u={}.hasOwnProperty;e=t("xmlbuilder"),r=t("./defaults").defaults,s=function(t){return"string"==typeof t&&(t.indexOf("&")>=0||t.indexOf(">")>=0||t.indexOf("<")>=0)},c=function(t){return"<![CDATA["+a(t)+"]]>"},a=function(t){return t.replace("]]>","]]]]><![CDATA[>")},n.Builder=function(){function t(t){var e,n,o;for(e in this.options={},n=r[.2])u.call(n,e)&&(o=n[e],this.options[e]=o);for(e in t)u.call(t,e)&&(o=t[e],this.options[e]=o)}return t.prototype.buildObject=function(t){var n,a,l,p,f;return n=this.options.attrkey,a=this.options.charkey,1===(0,i.default)(t).length&&this.options.rootName===r[.2].rootName?t=t[f=(0,i.default)(t)[0]]:f=this.options.rootName,l=function(t){return function(e,r){var i,p,f,d,h,m;if("object"!==(void 0===r?"undefined":(0,o.default)(r)))t.options.cdata&&s(r)?e.raw(c(r)):e.txt(r);else if(Array.isArray(r)){for(d in r)if(u.call(r,d))for(h in p=r[d])f=p[h],e=l(e.ele(h),f).up()}else for(h in r)if(u.call(r,h))if(p=r[h],h===n){if("object"===(void 0===p?"undefined":(0,o.default)(p)))for(i in p)m=p[i],e=e.att(i,m)}else if(h===a)e=t.options.cdata&&s(p)?e.raw(c(p)):e.txt(p);else if(Array.isArray(p))for(d in p)u.call(p,d)&&(e="string"==typeof(f=p[d])?t.options.cdata&&s(f)?e.ele(h).raw(c(f)).up():e.ele(h,f).up():l(e.ele(h),f).up());else"object"===(void 0===p?"undefined":(0,o.default)(p))?e=l(e.ele(h),p).up():"string"==typeof p&&t.options.cdata&&s(p)?e=e.ele(h).raw(c(p)).up():(null==p&&(p=""),e=e.ele(h,p.toString()).up());return e}}(this),p=e.create(f,this.options.xmldec,this.options.doctype,{headless:this.options.headless,allowSurrogateChars:this.options.allowSurrogateChars}),l(p,t).end(this.options.renderOpts)},t}()}).call(void 0)},{"./defaults":210,"babel-runtime/core-js/object/keys":23,"babel-runtime/helpers/typeof":32,xmlbuilder:235}],210:[function(t,e,n){(function(){n.defaults={.1:{explicitCharkey:!1,trim:!0,normalize:!0,normalizeTags:!1,attrkey:"@",charkey:"#",explicitArray:!1,ignoreAttrs:!1,mergeAttrs:!1,explicitRoot:!1,validator:null,xmlns:!1,explicitChildren:!1,childkey:"@@",charsAsChildren:!1,includeWhiteChars:!1,async:!1,strict:!0,attrNameProcessors:null,attrValueProcessors:null,tagNameProcessors:null,valueProcessors:null,emptyTag:""},.2:{explicitCharkey:!1,trim:!1,normalize:!1,normalizeTags:!1,attrkey:"$",charkey:"_",explicitArray:!0,ignoreAttrs:!1,mergeAttrs:!1,explicitRoot:!0,validator:null,xmlns:!1,explicitChildren:!1,preserveChildrenOrder:!1,childkey:"$$",charsAsChildren:!1,includeWhiteChars:!1,async:!1,strict:!0,attrNameProcessors:null,attrValueProcessors:null,tagNameProcessors:null,valueProcessors:null,rootName:"root",xmldec:{version:"1.0",encoding:"UTF-8",standalone:!0},doctype:null,renderOpts:{pretty:!0,indent:" ",newline:"\n"},headless:!1,chunkSize:1e4,emptyTag:"",cdata:!1}}}).call(void 0)},{}],211:[function(t,e,n){function r(t){return t&&t.__esModule?t:{default:t}}var o=r(t("babel-runtime/core-js/object/get-own-property-names")),i=r(t("babel-runtime/core-js/object/keys")),a=r(t("babel-runtime/helpers/typeof"));(function(){var e,r,s,c,u,l,p,f,d=function(t,e){return function(){return t.apply(e,arguments)}},h=function(t,e){function n(){this.constructor=t}for(var r in e)m.call(e,r)&&(t[r]=e[r]);return n.prototype=e.prototype,t.prototype=new n,t.__super__=e.prototype,t},m={}.hasOwnProperty;p=t("sax"),s=t("events"),e=t("./bom"),l=t("./processors"),f=t("timers").setImmediate,r=t("./defaults").defaults,c=function(t){return"object"===(void 0===t?"undefined":(0,a.default)(t))&&null!=t&&0===(0,i.default)(t).length},u=function(t,e,n){var r,o;for(r=0,o=t.length;o>r;r++)e=(0,t[r])(e,n);return e},n.Parser=function(t){function s(t){var e,o,i;if(this.parseString=d(this.parseString,this),this.reset=d(this.reset,this),this.assignOrPush=d(this.assignOrPush,this),this.processAsync=d(this.processAsync,this),!(this instanceof n.Parser))return new n.Parser(t);for(e in this.options={},o=r[.2])m.call(o,e)&&(i=o[e],this.options[e]=i);for(e in t)m.call(t,e)&&(i=t[e],this.options[e]=i);this.options.xmlns&&(this.options.xmlnskey=this.options.attrkey+"ns"),this.options.normalizeTags&&(this.options.tagNameProcessors||(this.options.tagNameProcessors=[]),this.options.tagNameProcessors.unshift(l.normalize)),this.reset()}return h(s,t),s.prototype.processAsync=function(){var t,e;try{return this.remaining.length<=this.options.chunkSize?(t=this.remaining,this.remaining="",this.saxParser=this.saxParser.write(t),this.saxParser.close()):(t=this.remaining.substr(0,this.options.chunkSize),this.remaining=this.remaining.substr(this.options.chunkSize,this.remaining.length),this.saxParser=this.saxParser.write(t),f(this.processAsync))}catch(t){if(e=t,!this.saxParser.errThrown)return this.saxParser.errThrown=!0,this.emit(e)}},s.prototype.assignOrPush=function(t,e,n){return e in t?(t[e]instanceof Array||(t[e]=[t[e]]),t[e].push(n)):this.options.explicitArray?t[e]=[n]:t[e]=n},s.prototype.reset=function(){var t,e,n,r;return this.removeAllListeners(),this.saxParser=p.parser(this.options.strict,{trim:!1,normalize:!1,xmlns:this.options.xmlns}),this.saxParser.errThrown=!1,this.saxParser.onerror=function(t){return function(e){return t.saxParser.resume(),t.saxParser.errThrown?void 0:(t.saxParser.errThrown=!0,t.emit("error",e))}}(this),this.saxParser.onend=function(t){return function(){return t.saxParser.ended?void 0:(t.saxParser.ended=!0,t.emit("end",t.resultObject))}}(this),this.saxParser.ended=!1,this.EXPLICIT_CHARKEY=this.options.explicitCharkey,this.resultObject=null,r=[],t=this.options.attrkey,e=this.options.charkey,this.saxParser.onopentag=function(n){return function(o){var i,a,s,c,l;if((s={})[e]="",!n.options.ignoreAttrs)for(i in l=o.attributes)m.call(l,i)&&(t in s||n.options.mergeAttrs||(s[t]={}),a=n.options.attrValueProcessors?u(n.options.attrValueProcessors,o.attributes[i],i):o.attributes[i],c=n.options.attrNameProcessors?u(n.options.attrNameProcessors,i):i,n.options.mergeAttrs?n.assignOrPush(s,c,a):s[t][c]=a);return s["#name"]=n.options.tagNameProcessors?u(n.options.tagNameProcessors,o.name):o.name,n.options.xmlns&&(s[n.options.xmlnskey]={uri:o.uri,local:o.local}),r.push(s)}}(this),this.saxParser.onclosetag=function(t){return function(){var n,s,l,p,f,d,h,g,v,y;if(d=r.pop(),f=d["#name"],t.options.explicitChildren&&t.options.preserveChildrenOrder||delete d["#name"],!0===d.cdata&&(n=d.cdata,delete d.cdata),v=r[r.length-1],d[e].match(/^\s*$/)&&!n?(s=d[e],delete d[e]):(t.options.trim&&(d[e]=d[e].trim()),t.options.normalize&&(d[e]=d[e].replace(/\s{2,}/g," ").trim()),d[e]=t.options.valueProcessors?u(t.options.valueProcessors,d[e],f):d[e],1===(0,i.default)(d).length&&e in d&&!t.EXPLICIT_CHARKEY&&(d=d[e])),c(d)&&(d=""!==t.options.emptyTag?t.options.emptyTag:s),null!=t.options.validator&&(y="/"+function(){var t,e,n;for(n=[],t=0,e=r.length;e>t;t++)p=r[t],n.push(p["#name"]);return n}().concat(f).join("/"),function(){var e;try{return d=t.options.validator(y,v&&v[f],d)}catch(n){return e=n,t.emit("error",e)}}()),t.options.explicitChildren&&!t.options.mergeAttrs&&"object"===(void 0===d?"undefined":(0,a.default)(d)))if(t.options.preserveChildrenOrder){if(v){for(l in v[t.options.childkey]=v[t.options.childkey]||[],h={},d)m.call(d,l)&&(h[l]=d[l]);v[t.options.childkey].push(h),delete d["#name"],1===(0,i.default)(d).length&&e in d&&!t.EXPLICIT_CHARKEY&&(d=d[e])}}else p={},t.options.attrkey in d&&(p[t.options.attrkey]=d[t.options.attrkey],delete d[t.options.attrkey]),!t.options.charsAsChildren&&t.options.charkey in d&&(p[t.options.charkey]=d[t.options.charkey],delete d[t.options.charkey]),(0,o.default)(d).length>0&&(p[t.options.childkey]=d),d=p;return r.length>0?t.assignOrPush(v,f,d):(t.options.explicitRoot&&(g=d,(d={})[f]=g),t.resultObject=d,t.saxParser.ended=!0,t.emit("end",t.resultObject))}}(this),n=function(t){return function(n){var o,i;return(i=r[r.length-1])?(i[e]+=n,t.options.explicitChildren&&t.options.preserveChildrenOrder&&t.options.charsAsChildren&&(t.options.includeWhiteChars||""!==n.replace(/\\n/g,"").trim())&&(i[t.options.childkey]=i[t.options.childkey]||[],(o={"#name":"__text__"})[e]=n,t.options.normalize&&(o[e]=o[e].replace(/\s{2,}/g," ").trim()),i[t.options.childkey].push(o)),i):void 0}}(this),this.saxParser.ontext=n,this.saxParser.oncdata=function(t){var e;return(e=n(t))?e.cdata=!0:void 0}},s.prototype.parseString=function(t,n){var r;null!=n&&"function"==typeof n&&(this.on("end",(function(t){return this.reset(),n(null,t)})),this.on("error",(function(t){return this.reset(),n(t)})));try{return""===(t=t.toString()).trim()?(this.emit("end",null),!0):(t=e.stripBOM(t),this.options.async?(this.remaining=t,f(this.processAsync),this.saxParser):this.saxParser.write(t).close())}catch(t){if(r=t,!this.saxParser.errThrown&&!this.saxParser.ended)return this.emit("error",r),this.saxParser.errThrown=!0;if(this.saxParser.ended)throw r}},s}(s.EventEmitter),n.parseString=function(t,e,r){var o,i;return null!=r?("function"==typeof r&&(o=r),"object"===(void 0===e?"undefined":(0,a.default)(e))&&(i=e)):("function"==typeof e&&(o=e),i={}),new n.Parser(i).parseString(t,o)}}).call(void 0)},{"./bom":208,"./defaults":210,"./processors":212,"babel-runtime/core-js/object/get-own-property-names":21,"babel-runtime/core-js/object/keys":23,"babel-runtime/helpers/typeof":32,events:158,sax:194,timers:201}],212:[function(t,e,n){(function(){var t;t=new RegExp(/(?!xmlns)^.*:/),n.normalize=function(t){return t.toLowerCase()},n.firstCharLowerCase=function(t){return t.charAt(0).toLowerCase()+t.slice(1)},n.stripPrefix=function(e){return e.replace(t,"")},n.parseNumbers=function(t){return isNaN(t)||(t=t%1==0?parseInt(t,10):parseFloat(t)),t},n.parseBooleans=function(t){return/^(?:true|false)$/i.test(t)&&(t="true"===t.toLowerCase()),t}}).call(void 0)},{}],213:[function(t,e,n){(function(){var e,r,o,i,a=function(t,e){function n(){this.constructor=t}for(var r in e)s.call(e,r)&&(t[r]=e[r]);return n.prototype=e.prototype,t.prototype=new n,t.__super__=e.prototype,t},s={}.hasOwnProperty;r=t("./defaults"),e=t("./builder"),o=t("./parser"),i=t("./processors"),n.defaults=r.defaults,n.processors=i,n.ValidationError=function(t){function e(t){this.message=t}return a(e,t),e}(Error),n.Builder=e.Builder,n.Parser=o.Parser,n.parseString=o.parseString}).call(void 0)},{"./builder":209,"./defaults":210,"./parser":211,"./processors":212}],214:[function(t,e,n){function r(t){return t&&t.__esModule?t:{default:t}}var o=r(t("babel-runtime/core-js/object/get-prototype-of")),i=r(t("babel-runtime/helpers/typeof")),a=r(t("babel-runtime/core-js/object/assign"));(function(){var t,n,r,s,c,u,l=[].slice,p={}.hasOwnProperty;t=function(){var t,e,n,r,o,i;if(i=arguments[0],o=2<=arguments.length?l.call(arguments,1):[],s(a.default))a.default.apply(null,arguments);else for(t=0,n=o.length;n>t;t++)if(null!=(r=o[t]))for(e in r)p.call(r,e)&&(i[e]=r[e]);return i},s=function(t){return!!t&&"[object Function]"===Object.prototype.toString.call(t)},c=function(t){var e;return!!t&&("function"===(e=void 0===t?"undefined":(0,i.default)(t))||"object"===e)},n=function(t){return s(Array.isArray)?Array.isArray(t):"[object Array]"===Object.prototype.toString.call(t)},r=function(t){var e;if(n(t))return!t.length;for(e in t)if(p.call(t,e))return!1;return!0},u=function(t){var e,n;return c(t)&&(n=(0,o.default)(t))&&(e=n.constructor)&&"function"==typeof e&&e instanceof e&&Function.prototype.toString.call(e)===Function.prototype.toString.call(Object)},e.exports.assign=t,e.exports.isFunction=s,e.exports.isObject=c,e.exports.isArray=n,e.exports.isEmpty=r,e.exports.isPlainObject=u}).call(void 0)},{"babel-runtime/core-js/object/assign":18,"babel-runtime/core-js/object/get-prototype-of":22,"babel-runtime/helpers/typeof":32}],215:[function(t,e,n){function r(t){return t&&t.__esModule?t:{default:t}}var o=r(t("babel-runtime/core-js/object/create"));(function(){e.exports=function(){function t(t,e,n){if(this.options=t.options,this.stringify=t.stringify,null==e)throw new Error("Missing attribute name of element "+t.name);if(null==n)throw new Error("Missing attribute value for attribute "+e+" of element "+t.name);this.name=this.stringify.attName(e),this.value=this.stringify.attValue(n)}return t.prototype.clone=function(){return(0,o.default)(this)},t.prototype.toString=function(t){return this.options.writer.set(t).attribute(this)},t}()}).call(void 0)},{"babel-runtime/core-js/object/create":19}],216:[function(t,e,n){function r(t){return t&&t.__esModule?t:{default:t}}var o=r(t("babel-runtime/core-js/object/create"));(function(){var n,r=function(t,e){function n(){this.constructor=t}for(var r in e)i.call(e,r)&&(t[r]=e[r]);return n.prototype=e.prototype,t.prototype=new n,t.__super__=e.prototype,t},i={}.hasOwnProperty;n=t("./XMLNode"),e.exports=function(t){function e(t,n){if(e.__super__.constructor.call(this,t),null==n)throw new Error("Missing CDATA text");this.text=this.stringify.cdata(n)}return r(e,t),e.prototype.clone=function(){return(0,o.default)(this)},e.prototype.toString=function(t){return this.options.writer.set(t).cdata(this)},e}(n)}).call(void 0)},{"./XMLNode":227,"babel-runtime/core-js/object/create":19}],217:[function(t,e,n){function r(t){return t&&t.__esModule?t:{default:t}}var o=r(t("babel-runtime/core-js/object/create"));(function(){var n,r=function(t,e){function n(){this.constructor=t}for(var r in e)i.call(e,r)&&(t[r]=e[r]);return n.prototype=e.prototype,t.prototype=new n,t.__super__=e.prototype,t},i={}.hasOwnProperty;n=t("./XMLNode"),e.exports=function(t){function e(t,n){if(e.__super__.constructor.call(this,t),null==n)throw new Error("Missing comment text");this.text=this.stringify.comment(n)}return r(e,t),e.prototype.clone=function(){return(0,o.default)(this)},e.prototype.toString=function(t){return this.options.writer.set(t).comment(this)},e}(n)}).call(void 0)},{"./XMLNode":227,"babel-runtime/core-js/object/create":19}],218:[function(t,e,n){(function(){var n,r=function(t,e){function n(){this.constructor=t}for(var r in e)o.call(e,r)&&(t[r]=e[r]);return n.prototype=e.prototype,t.prototype=new n,t.__super__=e.prototype,t},o={}.hasOwnProperty;n=t("./XMLNode"),e.exports=function(t){function e(t,n,r,o,i,a){if(e.__super__.constructor.call(this,t),null==n)throw new Error("Missing DTD element name");if(null==r)throw new Error("Missing DTD attribute name");if(!o)throw new Error("Missing DTD attribute type");if(!i)throw new Error("Missing DTD attribute default");if(0!==i.indexOf("#")&&(i="#"+i),!i.match(/^(#REQUIRED|#IMPLIED|#FIXED|#DEFAULT)$/))throw new Error("Invalid default value type; expected: #REQUIRED, #IMPLIED, #FIXED or #DEFAULT");if(a&&!i.match(/^(#FIXED|#DEFAULT)$/))throw new Error("Default value only applies to #FIXED or #DEFAULT");this.elementName=this.stringify.eleName(n),this.attributeName=this.stringify.attName(r),this.attributeType=this.stringify.dtdAttType(o),this.defaultValue=this.stringify.dtdAttDefault(a),this.defaultValueType=i}return r(e,t),e.prototype.toString=function(t){return this.options.writer.set(t).dtdAttList(this)},e}(n)}).call(void 0)},{"./XMLNode":227}],219:[function(t,e,n){(function(){var n,r=function(t,e){function n(){this.constructor=t}for(var r in e)o.call(e,r)&&(t[r]=e[r]);return n.prototype=e.prototype,t.prototype=new n,t.__super__=e.prototype,t},o={}.hasOwnProperty;n=t("./XMLNode"),e.exports=function(t){function e(t,n,r){if(e.__super__.constructor.call(this,t),null==n)throw new Error("Missing DTD element name");r||(r="(#PCDATA)"),Array.isArray(r)&&(r="("+r.join(",")+")"),this.name=this.stringify.eleName(n),this.value=this.stringify.dtdElementValue(r)}return r(e,t),e.prototype.toString=function(t){return this.options.writer.set(t).dtdElement(this)},e}(n)}).call(void 0)},{"./XMLNode":227}],220:[function(t,e,n){(function(){var n,r,o=function(t,e){function n(){this.constructor=t}for(var r in e)i.call(e,r)&&(t[r]=e[r]);return n.prototype=e.prototype,t.prototype=new n,t.__super__=e.prototype,t},i={}.hasOwnProperty;r=t("./Utility").isObject,n=t("./XMLNode"),e.exports=function(t){function e(t,n,o,i){if(e.__super__.constructor.call(this,t),null==o)throw new Error("Missing entity name");if(null==i)throw new Error("Missing entity value");if(this.pe=!!n,this.name=this.stringify.eleName(o),r(i)){if(!i.pubID&&!i.sysID)throw new Error("Public and/or system identifiers are required for an external entity");if(i.pubID&&!i.sysID)throw new Error("System identifier is required for a public external entity");if(null!=i.pubID&&(this.pubID=this.stringify.dtdPubID(i.pubID)),null!=i.sysID&&(this.sysID=this.stringify.dtdSysID(i.sysID)),null!=i.nData&&(this.nData=this.stringify.dtdNData(i.nData)),this.pe&&this.nData)throw new Error("Notation declaration is not allowed in a parameter entity")}else this.value=this.stringify.dtdEntityValue(i)}return o(e,t),e.prototype.toString=function(t){return this.options.writer.set(t).dtdEntity(this)},e}(n)}).call(void 0)},{"./Utility":214,"./XMLNode":227}],221:[function(t,e,n){(function(){var n,r=function(t,e){function n(){this.constructor=t}for(var r in e)o.call(e,r)&&(t[r]=e[r]);return n.prototype=e.prototype,t.prototype=new n,t.__super__=e.prototype,t},o={}.hasOwnProperty;n=t("./XMLNode"),e.exports=function(t){function e(t,n,r){if(e.__super__.constructor.call(this,t),null==n)throw new Error("Missing notation name");if(!r.pubID&&!r.sysID)throw new Error("Public or system identifiers are required for an external entity");this.name=this.stringify.eleName(n),null!=r.pubID&&(this.pubID=this.stringify.dtdPubID(r.pubID)),null!=r.sysID&&(this.sysID=this.stringify.dtdSysID(r.sysID))}return r(e,t),e.prototype.toString=function(t){return this.options.writer.set(t).dtdNotation(this)},e}(n)}).call(void 0)},{"./XMLNode":227}],222:[function(t,e,n){(function(){var n,r,o=function(t,e){function n(){this.constructor=t}for(var r in e)i.call(e,r)&&(t[r]=e[r]);return n.prototype=e.prototype,t.prototype=new n,t.__super__=e.prototype,t},i={}.hasOwnProperty;r=t("./Utility").isObject,n=t("./XMLNode"),e.exports=function(t){function e(t,n,o,i){var a;e.__super__.constructor.call(this,t),r(n)&&(n=(a=n).version,o=a.encoding,i=a.standalone),n||(n="1.0"),this.version=this.stringify.xmlVersion(n),null!=o&&(this.encoding=this.stringify.xmlEncoding(o)),null!=i&&(this.standalone=this.stringify.xmlStandalone(i))}return o(e,t),e.prototype.toString=function(t){return this.options.writer.set(t).declaration(this)},e}(n)}).call(void 0)},{"./Utility":214,"./XMLNode":227}],223:[function(t,e,n){(function(){var n,r,o,i,a,s,c=function(t,e){function n(){this.constructor=t}for(var r in e)u.call(e,r)&&(t[r]=e[r]);return n.prototype=e.prototype,t.prototype=new n,t.__super__=e.prototype,t},u={}.hasOwnProperty;s=t("./Utility").isObject,a=t("./XMLNode"),n=t("./XMLDTDAttList"),o=t("./XMLDTDEntity"),r=t("./XMLDTDElement"),i=t("./XMLDTDNotation"),e.exports=function(t){function e(t,n,r){var o,i;e.__super__.constructor.call(this,t),this.documentObject=t,s(n)&&(n=(o=n).pubID,r=o.sysID),null==r&&(r=(i=[n,r])[0],n=i[1]),null!=n&&(this.pubID=this.stringify.dtdPubID(n)),null!=r&&(this.sysID=this.stringify.dtdSysID(r))}return c(e,t),e.prototype.element=function(t,e){var n;return n=new r(this,t,e),this.children.push(n),this},e.prototype.attList=function(t,e,r,o,i){var a;return a=new n(this,t,e,r,o,i),this.children.push(a),this},e.prototype.entity=function(t,e){var n;return n=new o(this,!1,t,e),this.children.push(n),this},e.prototype.pEntity=function(t,e){var n;return n=new o(this,!0,t,e),this.children.push(n),this},e.prototype.notation=function(t,e){var n;return n=new i(this,t,e),this.children.push(n),this},e.prototype.toString=function(t){return this.options.writer.set(t).docType(this)},e.prototype.ele=function(t,e){return this.element(t,e)},e.prototype.att=function(t,e,n,r,o){return this.attList(t,e,n,r,o)},e.prototype.ent=function(t,e){return this.entity(t,e)},e.prototype.pent=function(t,e){return this.pEntity(t,e)},e.prototype.not=function(t,e){return this.notation(t,e)},e.prototype.up=function(){return this.root()||this.documentObject},e}(a)}).call(void 0)},{"./Utility":214,"./XMLDTDAttList":218,"./XMLDTDElement":219,"./XMLDTDEntity":220,"./XMLDTDNotation":221,"./XMLNode":227}],224:[function(t,e,n){(function(){var n,r,o,i,a=function(t,e){function n(){this.constructor=t}for(var r in e)s.call(e,r)&&(t[r]=e[r]);return n.prototype=e.prototype,t.prototype=new n,t.__super__=e.prototype,t},s={}.hasOwnProperty;i=t("./Utility").isPlainObject,n=t("./XMLNode"),o=t("./XMLStringifier"),r=t("./XMLStringWriter"),e.exports=function(t){function e(t){e.__super__.constructor.call(this,null),t||(t={}),t.writer||(t.writer=new r),this.options=t,this.stringify=new o(t),this.isDocument=!0}return a(e,t),e.prototype.end=function(t){var e;return t?i(t)&&(e=t,t=this.options.writer.set(e)):t=this.options.writer,t.document(this)},e.prototype.toString=function(t){return this.options.writer.set(t).document(this)},e}(n)}).call(void 0)},{"./Utility":214,"./XMLNode":227,"./XMLStringWriter":231,"./XMLStringifier":232}],225:[function(t,e,n){(function(){var n,r,o,i,a,s,c,u,l,p,f,d,h,m,g,v,y,b,w,x={}.hasOwnProperty;w=t("./Utility"),y=w.isObject,v=w.isFunction,b=w.isPlainObject,p=t("./XMLElement"),r=t("./XMLCData"),o=t("./XMLComment"),d=t("./XMLRaw"),g=t("./XMLText"),f=t("./XMLProcessingInstruction"),u=t("./XMLDeclaration"),l=t("./XMLDocType"),i=t("./XMLDTDAttList"),s=t("./XMLDTDEntity"),a=t("./XMLDTDElement"),c=t("./XMLDTDNotation"),n=t("./XMLAttribute"),m=t("./XMLStringifier"),h=t("./XMLStringWriter"),e.exports=function(){function t(t,e,n){var r;t||(t={}),t.writer?b(t.writer)&&(r=t.writer,t.writer=new h(r)):t.writer=new h(t),this.options=t,this.writer=t.writer,this.stringify=new m(t),this.onDataCallback=e||function(){},this.onEndCallback=n||function(){},this.currentNode=null,this.currentLevel=-1,this.openTags={},this.documentStarted=!1,this.documentCompleted=!1,this.root=null}return t.prototype.node=function(t,e,n){var r;if(null==t)throw new Error("Missing node name");if(this.root&&-1===this.currentLevel)throw new Error("Document can only have one root node");return this.openCurrent(),t=t.valueOf(),null==e&&(e={}),e=e.valueOf(),y(e)||(n=(r=[e,n])[0],e=r[1]),this.currentNode=new p(this,t,e),this.currentNode.children=!1,this.currentLevel++,this.openTags[this.currentLevel]=this.currentNode,null!=n&&this.text(n),this},t.prototype.element=function(t,e,n){return this.currentNode&&this.currentNode instanceof l?this.dtdElement.apply(this,arguments):this.node(t,e,n)},t.prototype.attribute=function(t,e){var r,o;if(!this.currentNode||this.currentNode.children)throw new Error("att() can only be used immediately after an ele() call in callback mode");if(null!=t&&(t=t.valueOf()),y(t))for(r in t)x.call(t,r)&&(o=t[r],this.attribute(r,o));else v(e)&&(e=e.apply()),this.options.skipNullAttributes&&null==e||(this.currentNode.attributes[t]=new n(this,t,e));return this},t.prototype.text=function(t){var e;return this.openCurrent(),e=new g(this,t),this.onData(this.writer.text(e,this.currentLevel+1)),this},t.prototype.cdata=function(t){var e;return this.openCurrent(),e=new r(this,t),this.onData(this.writer.cdata(e,this.currentLevel+1)),this},t.prototype.comment=function(t){var e;return this.openCurrent(),e=new o(this,t),this.onData(this.writer.comment(e,this.currentLevel+1)),this},t.prototype.raw=function(t){var e;return this.openCurrent(),e=new d(this,t),this.onData(this.writer.raw(e,this.currentLevel+1)),this},t.prototype.instruction=function(t,e){var n,r,o,i,a;if(this.openCurrent(),null!=t&&(t=t.valueOf()),null!=e&&(e=e.valueOf()),Array.isArray(t))for(n=0,i=t.length;i>n;n++)r=t[n],this.instruction(r);else if(y(t))for(r in t)x.call(t,r)&&(o=t[r],this.instruction(r,o));else v(e)&&(e=e.apply()),a=new f(this,t,e),this.onData(this.writer.processingInstruction(a,this.currentLevel+1));return this},t.prototype.declaration=function(t,e,n){var r;if(this.openCurrent(),this.documentStarted)throw new Error("declaration() must be the first node");return r=new u(this,t,e,n),this.onData(this.writer.declaration(r,this.currentLevel+1)),this},t.prototype.doctype=function(t,e,n){if(this.openCurrent(),null==t)throw new Error("Missing root node name");if(this.root)throw new Error("dtd() must come before the root node");return this.currentNode=new l(this,e,n),this.currentNode.rootNodeName=t,this.currentNode.children=!1,this.currentLevel++,this.openTags[this.currentLevel]=this.currentNode,this},t.prototype.dtdElement=function(t,e){var n;return this.openCurrent(),n=new a(this,t,e),this.onData(this.writer.dtdElement(n,this.currentLevel+1)),this},t.prototype.attList=function(t,e,n,r,o){var a;return this.openCurrent(),a=new i(this,t,e,n,r,o),this.onData(this.writer.dtdAttList(a,this.currentLevel+1)),this},t.prototype.entity=function(t,e){var n;return this.openCurrent(),n=new s(this,!1,t,e),this.onData(this.writer.dtdEntity(n,this.currentLevel+1)),this},t.prototype.pEntity=function(t,e){var n;return this.openCurrent(),n=new s(this,!0,t,e),this.onData(this.writer.dtdEntity(n,this.currentLevel+1)),this},t.prototype.notation=function(t,e){var n;return this.openCurrent(),n=new c(this,t,e),this.onData(this.writer.dtdNotation(n,this.currentLevel+1)),this},t.prototype.up=function(){if(this.currentLevel<0)throw new Error("The document node has no parent");return this.currentNode?(this.currentNode.children?this.closeNode(this.currentNode):this.openNode(this.currentNode),this.currentNode=null):this.closeNode(this.openTags[this.currentLevel]),delete this.openTags[this.currentLevel],this.currentLevel--,this},t.prototype.end=function(){for(;this.currentLevel>=0;)this.up();return this.onEnd()},t.prototype.openCurrent=function(){return this.currentNode?(this.currentNode.children=!0,this.openNode(this.currentNode)):void 0},t.prototype.openNode=function(t){return t.isOpen?void 0:(!this.root&&0===this.currentLevel&&t instanceof p&&(this.root=t),this.onData(this.writer.openNode(t,this.currentLevel)),t.isOpen=!0)},t.prototype.closeNode=function(t){return t.isClosed?void 0:(this.onData(this.writer.closeNode(t,this.currentLevel)),t.isClosed=!0)},t.prototype.onData=function(t){return this.documentStarted=!0,this.onDataCallback(t)},t.prototype.onEnd=function(){return this.documentCompleted=!0,this.onEndCallback()},t.prototype.ele=function(){return this.element.apply(this,arguments)},t.prototype.nod=function(t,e,n){return this.node(t,e,n)},t.prototype.txt=function(t){return this.text(t)},t.prototype.dat=function(t){return this.cdata(t)},t.prototype.com=function(t){return this.comment(t)},t.prototype.ins=function(t,e){return this.instruction(t,e)},t.prototype.dec=function(t,e,n){return this.declaration(t,e,n)},t.prototype.dtd=function(t,e,n){return this.doctype(t,e,n)},t.prototype.e=function(t,e,n){return this.element(t,e,n)},t.prototype.n=function(t,e,n){return this.node(t,e,n)},t.prototype.t=function(t){return this.text(t)},t.prototype.d=function(t){return this.cdata(t)},t.prototype.c=function(t){return this.comment(t)},t.prototype.r=function(t){return this.raw(t)},t.prototype.i=function(t,e){return this.instruction(t,e)},t.prototype.att=function(){return this.currentNode&&this.currentNode instanceof l?this.attList.apply(this,arguments):this.attribute.apply(this,arguments)},t.prototype.a=function(){return this.currentNode&&this.currentNode instanceof l?this.attList.apply(this,arguments):this.attribute.apply(this,arguments)},t.prototype.ent=function(t,e){return this.entity(t,e)},t.prototype.pent=function(t,e){return this.pEntity(t,e)},t.prototype.not=function(t,e){return this.notation(t,e)},t}()}).call(void 0)},{"./Utility":214,"./XMLAttribute":215,"./XMLCData":216,"./XMLComment":217,"./XMLDTDAttList":218,"./XMLDTDElement":219,"./XMLDTDEntity":220,"./XMLDTDNotation":221,"./XMLDeclaration":222,"./XMLDocType":223,"./XMLElement":226,"./XMLProcessingInstruction":228,"./XMLRaw":229,"./XMLStringWriter":231,"./XMLStringifier":232,"./XMLText":233}],226:[function(t,e,n){function r(t){return t&&t.__esModule?t:{default:t}}var o=r(t("babel-runtime/core-js/object/create"));(function(){var n,r,i,a,s,c=function(t,e){function n(){this.constructor=t}for(var r in e)u.call(e,r)&&(t[r]=e[r]);return n.prototype=e.prototype,t.prototype=new n,t.__super__=e.prototype,t},u={}.hasOwnProperty;s=t("./Utility"),a=s.isObject,i=s.isFunction,r=t("./XMLNode"),n=t("./XMLAttribute"),e.exports=function(t){function e(t,n,r){if(e.__super__.constructor.call(this,t),null==n)throw new Error("Missing element name");this.name=this.stringify.eleName(n),this.attributes={},null!=r&&this.attribute(r),t.isDocument&&(this.isRoot=!0,this.documentObject=t,t.rootObject=this)}return c(e,t),e.prototype.clone=function(){var t,e,n,r;for(e in(n=(0,o.default)(this)).isRoot&&(n.documentObject=null),n.attributes={},r=this.attributes)u.call(r,e)&&(t=r[e],n.attributes[e]=t.clone());return n.children=[],this.children.forEach((function(t){var e;return(e=t.clone()).parent=n,n.children.push(e)})),n},e.prototype.attribute=function(t,e){var r,o;if(null!=t&&(t=t.valueOf()),a(t))for(r in t)u.call(t,r)&&(o=t[r],this.attribute(r,o));else i(e)&&(e=e.apply()),this.options.skipNullAttributes&&null==e||(this.attributes[t]=new n(this,t,e));return this},e.prototype.removeAttribute=function(t){var e,n,r;if(null==t)throw new Error("Missing attribute name");if(t=t.valueOf(),Array.isArray(t))for(n=0,r=t.length;r>n;n++)e=t[n],delete this.attributes[e];else delete this.attributes[t];return this},e.prototype.toString=function(t){return this.options.writer.set(t).element(this)},e.prototype.att=function(t,e){return this.attribute(t,e)},e.prototype.a=function(t,e){return this.attribute(t,e)},e}(r)}).call(void 0)},{"./Utility":214,"./XMLAttribute":215,"./XMLNode":227,"babel-runtime/core-js/object/create":19}],227:[function(t,e,n){(function(){var n,r,o,i,a,s,c,u,l,p,f,d,h={}.hasOwnProperty;d=t("./Utility"),f=d.isObject,p=d.isFunction,l=d.isEmpty,a=null,n=null,r=null,o=null,i=null,c=null,u=null,s=null,e.exports=function(){function e(e){this.parent=e,this.parent&&(this.options=this.parent.options,this.stringify=this.parent.stringify),this.children=[],a||(a=t("./XMLElement"),n=t("./XMLCData"),r=t("./XMLComment"),o=t("./XMLDeclaration"),i=t("./XMLDocType"),c=t("./XMLRaw"),u=t("./XMLText"),s=t("./XMLProcessingInstruction"))}return e.prototype.element=function(t,e,n){var r,o,i,a,s,c,u,d,m,g;if(c=null,null==e&&(e={}),e=e.valueOf(),f(e)||(n=(m=[e,n])[0],e=m[1]),null!=t&&(t=t.valueOf()),Array.isArray(t))for(i=0,u=t.length;u>i;i++)o=t[i],c=this.element(o);else if(p(t))c=this.element(t.apply());else if(f(t)){for(s in t)if(h.call(t,s))if(g=t[s],p(g)&&(g=g.apply()),f(g)&&l(g)&&(g=null),!this.options.ignoreDecorators&&this.stringify.convertAttKey&&0===s.indexOf(this.stringify.convertAttKey))c=this.attribute(s.substr(this.stringify.convertAttKey.length),g);else if(!this.options.separateArrayItems&&Array.isArray(g))for(a=0,d=g.length;d>a;a++)o=g[a],(r={})[s]=o,c=this.element(r);else f(g)?(c=this.element(s)).element(g):c=this.element(s,g)}else c=!this.options.ignoreDecorators&&this.stringify.convertTextKey&&0===t.indexOf(this.stringify.convertTextKey)?this.text(n):!this.options.ignoreDecorators&&this.stringify.convertCDataKey&&0===t.indexOf(this.stringify.convertCDataKey)?this.cdata(n):!this.options.ignoreDecorators&&this.stringify.convertCommentKey&&0===t.indexOf(this.stringify.convertCommentKey)?this.comment(n):!this.options.ignoreDecorators&&this.stringify.convertRawKey&&0===t.indexOf(this.stringify.convertRawKey)?this.raw(n):!this.options.ignoreDecorators&&this.stringify.convertPIKey&&0===t.indexOf(this.stringify.convertPIKey)?this.instruction(t.substr(this.stringify.convertPIKey.length),n):this.node(t,e,n);if(null==c)throw new Error("Could not create any elements with: "+t);return c},e.prototype.insertBefore=function(t,e,n){var r,o,i;if(this.isRoot)throw new Error("Cannot insert elements at root level");return o=this.parent.children.indexOf(this),i=this.parent.children.splice(o),r=this.parent.element(t,e,n),Array.prototype.push.apply(this.parent.children,i),r},e.prototype.insertAfter=function(t,e,n){var r,o,i;if(this.isRoot)throw new Error("Cannot insert elements at root level");return o=this.parent.children.indexOf(this),i=this.parent.children.splice(o+1),r=this.parent.element(t,e,n),Array.prototype.push.apply(this.parent.children,i),r},e.prototype.remove=function(){var t;if(this.isRoot)throw new Error("Cannot remove the root element");return t=this.parent.children.indexOf(this),[].splice.apply(this.parent.children,[t,t-t+1].concat([])),this.parent},e.prototype.node=function(t,e,n){var r,o;return null!=t&&(t=t.valueOf()),e||(e={}),e=e.valueOf(),f(e)||(n=(o=[e,n])[0],e=o[1]),r=new a(this,t,e),null!=n&&r.text(n),this.children.push(r),r},e.prototype.text=function(t){var e;return e=new u(this,t),this.children.push(e),this},e.prototype.cdata=function(t){var e;return e=new n(this,t),this.children.push(e),this},e.prototype.comment=function(t){var e;return e=new r(this,t),this.children.push(e),this},e.prototype.commentBefore=function(t){var e,n;return e=this.parent.children.indexOf(this),n=this.parent.children.splice(e),this.parent.comment(t),Array.prototype.push.apply(this.parent.children,n),this},e.prototype.commentAfter=function(t){var e,n;return e=this.parent.children.indexOf(this),n=this.parent.children.splice(e+1),this.parent.comment(t),Array.prototype.push.apply(this.parent.children,n),this},e.prototype.raw=function(t){var e;return e=new c(this,t),this.children.push(e),this},e.prototype.instruction=function(t,e){var n,r,o,i,a;if(null!=t&&(t=t.valueOf()),null!=e&&(e=e.valueOf()),Array.isArray(t))for(i=0,a=t.length;a>i;i++)n=t[i],this.instruction(n);else if(f(t))for(n in t)h.call(t,n)&&(r=t[n],this.instruction(n,r));else p(e)&&(e=e.apply()),o=new s(this,t,e),this.children.push(o);return this},e.prototype.instructionBefore=function(t,e){var n,r;return n=this.parent.children.indexOf(this),r=this.parent.children.splice(n),this.parent.instruction(t,e),Array.prototype.push.apply(this.parent.children,r),this},e.prototype.instructionAfter=function(t,e){var n,r;return n=this.parent.children.indexOf(this),r=this.parent.children.splice(n+1),this.parent.instruction(t,e),Array.prototype.push.apply(this.parent.children,r),this},e.prototype.declaration=function(t,e,n){var r,i;return r=this.document(),i=new o(r,t,e,n),r.children[0]instanceof o?r.children[0]=i:r.children.unshift(i),r.root()||r},e.prototype.doctype=function(t,e){var n,r,o,a,s,c,u,l,p;for(n=this.document(),r=new i(n,t,e),o=a=0,c=(l=n.children).length;c>a;o=++a)if(l[o]instanceof i)return n.children[o]=r,r;for(o=s=0,u=(p=n.children).length;u>s;o=++s)if(p[o].isRoot)return n.children.splice(o,0,r),r;return n.children.push(r),r},e.prototype.up=function(){if(this.isRoot)throw new Error("The root node has no parent. Use doc() if you need to get the document object.");return this.parent},e.prototype.root=function(){var t;for(t=this;t;){if(t.isDocument)return t.rootObject;if(t.isRoot)return t;t=t.parent}},e.prototype.document=function(){var t;for(t=this;t;){if(t.isDocument)return t;t=t.parent}},e.prototype.end=function(t){return this.document().end(t)},e.prototype.prev=function(){var t;if(1>(t=this.parent.children.indexOf(this)))throw new Error("Already at the first node");return this.parent.children[t-1]},e.prototype.next=function(){var t;if(-1===(t=this.parent.children.indexOf(this))||t===this.parent.children.length-1)throw new Error("Already at the last node");return this.parent.children[t+1]},e.prototype.importDocument=function(t){var e;return(e=t.root().clone()).parent=this,e.isRoot=!1,this.children.push(e),this},e.prototype.ele=function(t,e,n){return this.element(t,e,n)},e.prototype.nod=function(t,e,n){return this.node(t,e,n)},e.prototype.txt=function(t){return this.text(t)},e.prototype.dat=function(t){return this.cdata(t)},e.prototype.com=function(t){return this.comment(t)},e.prototype.ins=function(t,e){return this.instruction(t,e)},e.prototype.doc=function(){return this.document()},e.prototype.dec=function(t,e,n){return this.declaration(t,e,n)},e.prototype.dtd=function(t,e){return this.doctype(t,e)},e.prototype.e=function(t,e,n){return this.element(t,e,n)},e.prototype.n=function(t,e,n){return this.node(t,e,n)},e.prototype.t=function(t){return this.text(t)},e.prototype.d=function(t){return this.cdata(t)},e.prototype.c=function(t){return this.comment(t)},e.prototype.r=function(t){return this.raw(t)},e.prototype.i=function(t,e){return this.instruction(t,e)},e.prototype.u=function(){return this.up()},e.prototype.importXMLBuilder=function(t){return this.importDocument(t)},e}()}).call(void 0)},{"./Utility":214,"./XMLCData":216,"./XMLComment":217,"./XMLDeclaration":222,"./XMLDocType":223,"./XMLElement":226,"./XMLProcessingInstruction":228,"./XMLRaw":229,"./XMLText":233}],228:[function(t,e,n){function r(t){return t&&t.__esModule?t:{default:t}}var o=r(t("babel-runtime/core-js/object/create"));(function(){var n,r=function(t,e){function n(){this.constructor=t}for(var r in e)i.call(e,r)&&(t[r]=e[r]);return n.prototype=e.prototype,t.prototype=new n,t.__super__=e.prototype,t},i={}.hasOwnProperty;n=t("./XMLNode"),e.exports=function(t){function e(t,n,r){if(e.__super__.constructor.call(this,t),null==n)throw new Error("Missing instruction target");this.target=this.stringify.insTarget(n),r&&(this.value=this.stringify.insValue(r))}return r(e,t),e.prototype.clone=function(){return(0,o.default)(this)},e.prototype.toString=function(t){return this.options.writer.set(t).processingInstruction(this)},e}(n)}).call(void 0)},{"./XMLNode":227,"babel-runtime/core-js/object/create":19}],229:[function(t,e,n){function r(t){return t&&t.__esModule?t:{default:t}}var o=r(t("babel-runtime/core-js/object/create"));(function(){var n,r=function(t,e){function n(){this.constructor=t}for(var r in e)i.call(e,r)&&(t[r]=e[r]);return n.prototype=e.prototype,t.prototype=new n,t.__super__=e.prototype,t},i={}.hasOwnProperty;n=t("./XMLNode"),e.exports=function(t){function e(t,n){if(e.__super__.constructor.call(this,t),null==n)throw new Error("Missing raw text");this.value=this.stringify.raw(n)}return r(e,t),e.prototype.clone=function(){return(0,o.default)(this)},e.prototype.toString=function(t){return this.options.writer.set(t).raw(this)},e}(n)}).call(void 0)},{"./XMLNode":227,"babel-runtime/core-js/object/create":19}],230:[function(t,e,n){(function(){var n,r,o,i,a,s,c,u,l,p,f,d,h,m=function(t,e){function n(){this.constructor=t}for(var r in e)g.call(e,r)&&(t[r]=e[r]);return n.prototype=e.prototype,t.prototype=new n,t.__super__=e.prototype,t},g={}.hasOwnProperty;c=t("./XMLDeclaration"),u=t("./XMLDocType"),n=t("./XMLCData"),r=t("./XMLComment"),l=t("./XMLElement"),f=t("./XMLRaw"),d=t("./XMLText"),p=t("./XMLProcessingInstruction"),o=t("./XMLDTDAttList"),i=t("./XMLDTDElement"),a=t("./XMLDTDEntity"),s=t("./XMLDTDNotation"),h=t("./XMLWriterBase"),e.exports=function(t){function e(t,n){e.__super__.constructor.call(this,n),this.stream=t}return m(e,t),e.prototype.document=function(t){var e,n,o,i,a,s,l,f;for(n=0,i=(s=t.children).length;i>n;n++)(e=s[n]).isLastRootNode=!1;for(t.children[t.children.length-1].isLastRootNode=!0,f=[],o=0,a=(l=t.children).length;a>o;o++)switch(e=l[o],!1){case!(e instanceof c):f.push(this.declaration(e));break;case!(e instanceof u):f.push(this.docType(e));break;case!(e instanceof r):f.push(this.comment(e));break;case!(e instanceof p):f.push(this.processingInstruction(e));break;default:f.push(this.element(e))}return f},e.prototype.attribute=function(t){return this.stream.write(" "+t.name+'="'+t.value+'"')},e.prototype.cdata=function(t,e){return this.stream.write(this.space(e)+"<![CDATA["+t.text+"]]>"+this.endline(t))},e.prototype.comment=function(t,e){return this.stream.write(this.space(e)+"\x3c!-- "+t.text+" --\x3e"+this.endline(t))},e.prototype.declaration=function(t,e){return this.stream.write(this.space(e)),this.stream.write('<?xml version="'+t.version+'"'),null!=t.encoding&&this.stream.write(' encoding="'+t.encoding+'"'),null!=t.standalone&&this.stream.write(' standalone="'+t.standalone+'"'),this.stream.write(this.spacebeforeslash+"?>"),this.stream.write(this.endline(t))},e.prototype.docType=function(t,e){var c,u,l,f;if(e||(e=0),this.stream.write(this.space(e)),this.stream.write("<!DOCTYPE "+t.root().name),t.pubID&&t.sysID?this.stream.write(' PUBLIC "'+t.pubID+'" "'+t.sysID+'"'):t.sysID&&this.stream.write(' SYSTEM "'+t.sysID+'"'),t.children.length>0){for(this.stream.write(" ["),this.stream.write(this.endline(t)),u=0,l=(f=t.children).length;l>u;u++)switch(c=f[u],!1){case!(c instanceof o):this.dtdAttList(c,e+1);break;case!(c instanceof i):this.dtdElement(c,e+1);break;case!(c instanceof a):this.dtdEntity(c,e+1);break;case!(c instanceof s):this.dtdNotation(c,e+1);break;case!(c instanceof n):this.cdata(c,e+1);break;case!(c instanceof r):this.comment(c,e+1);break;case!(c instanceof p):this.processingInstruction(c,e+1);break;default:throw new Error("Unknown DTD node type: "+c.constructor.name)}this.stream.write("]")}return this.stream.write(this.spacebeforeslash+">"),this.stream.write(this.endline(t))},e.prototype.element=function(t,e){var o,i,a,s,c,u,h,m;for(c in e||(e=0),m=this.space(e),this.stream.write(m+"<"+t.name),u=t.attributes)g.call(u,c)&&(o=u[c],this.attribute(o));if(0===t.children.length||t.children.every((function(t){return""===t.value})))this.allowEmpty?this.stream.write("></"+t.name+">"):this.stream.write(this.spacebeforeslash+"/>");else if(this.pretty&&1===t.children.length&&null!=t.children[0].value)this.stream.write(">"),this.stream.write(t.children[0].value),this.stream.write("</"+t.name+">");else{for(this.stream.write(">"+this.newline),a=0,s=(h=t.children).length;s>a;a++)switch(i=h[a],!1){case!(i instanceof n):this.cdata(i,e+1);break;case!(i instanceof r):this.comment(i,e+1);break;case!(i instanceof l):this.element(i,e+1);break;case!(i instanceof f):this.raw(i,e+1);break;case!(i instanceof d):this.text(i,e+1);break;case!(i instanceof p):this.processingInstruction(i,e+1);break;default:throw new Error("Unknown XML node type: "+i.constructor.name)}this.stream.write(m+"</"+t.name+">")}return this.stream.write(this.endline(t))},e.prototype.processingInstruction=function(t,e){return this.stream.write(this.space(e)+"<?"+t.target),t.value&&this.stream.write(" "+t.value),this.stream.write(this.spacebeforeslash+"?>"+this.endline(t))},e.prototype.raw=function(t,e){return this.stream.write(this.space(e)+t.value+this.endline(t))},e.prototype.text=function(t,e){return this.stream.write(this.space(e)+t.value+this.endline(t))},e.prototype.dtdAttList=function(t,e){return this.stream.write(this.space(e)+"<!ATTLIST "+t.elementName+" "+t.attributeName+" "+t.attributeType),"#DEFAULT"!==t.defaultValueType&&this.stream.write(" "+t.defaultValueType),t.defaultValue&&this.stream.write(' "'+t.defaultValue+'"'),this.stream.write(this.spacebeforeslash+">"+this.endline(t))},e.prototype.dtdElement=function(t,e){return this.stream.write(this.space(e)+"<!ELEMENT "+t.name+" "+t.value),this.stream.write(this.spacebeforeslash+">"+this.endline(t))},e.prototype.dtdEntity=function(t,e){return this.stream.write(this.space(e)+"<!ENTITY"),t.pe&&this.stream.write(" %"),this.stream.write(" "+t.name),t.value?this.stream.write(' "'+t.value+'"'):(t.pubID&&t.sysID?this.stream.write(' PUBLIC "'+t.pubID+'" "'+t.sysID+'"'):t.sysID&&this.stream.write(' SYSTEM "'+t.sysID+'"'),t.nData&&this.stream.write(" NDATA "+t.nData)),this.stream.write(this.spacebeforeslash+">"+this.endline(t))},e.prototype.dtdNotation=function(t,e){return this.stream.write(this.space(e)+"<!NOTATION "+t.name),t.pubID&&t.sysID?this.stream.write(' PUBLIC "'+t.pubID+'" "'+t.sysID+'"'):t.pubID?this.stream.write(' PUBLIC "'+t.pubID+'"'):t.sysID&&this.stream.write(' SYSTEM "'+t.sysID+'"'),this.stream.write(this.spacebeforeslash+">"+this.endline(t))},e.prototype.endline=function(t){return t.isLastRootNode?"":this.newline},e}(h)}).call(void 0)},{"./XMLCData":216,"./XMLComment":217,"./XMLDTDAttList":218,"./XMLDTDElement":219,"./XMLDTDEntity":220,"./XMLDTDNotation":221,"./XMLDeclaration":222,"./XMLDocType":223,"./XMLElement":226,"./XMLProcessingInstruction":228,"./XMLRaw":229,"./XMLText":233,"./XMLWriterBase":234}],231:[function(t,e,n){(function(){var n,r,o,i,a,s,c,u,l,p,f,d,h,m=function(t,e){function n(){this.constructor=t}for(var r in e)g.call(e,r)&&(t[r]=e[r]);return n.prototype=e.prototype,t.prototype=new n,t.__super__=e.prototype,t},g={}.hasOwnProperty;c=t("./XMLDeclaration"),u=t("./XMLDocType"),n=t("./XMLCData"),r=t("./XMLComment"),l=t("./XMLElement"),f=t("./XMLRaw"),d=t("./XMLText"),p=t("./XMLProcessingInstruction"),o=t("./XMLDTDAttList"),i=t("./XMLDTDElement"),a=t("./XMLDTDEntity"),s=t("./XMLDTDNotation"),h=t("./XMLWriterBase"),e.exports=function(t){function e(t){e.__super__.constructor.call(this,t)}return m(e,t),e.prototype.document=function(t){var e,n,o,i,a;for(this.textispresent=!1,i="",n=0,o=(a=t.children).length;o>n;n++)e=a[n],i+=function(){switch(!1){case!(e instanceof c):return this.declaration(e);case!(e instanceof u):return this.docType(e);case!(e instanceof r):return this.comment(e);case!(e instanceof p):return this.processingInstruction(e);default:return this.element(e,0)}}.call(this);return this.pretty&&i.slice(-this.newline.length)===this.newline&&(i=i.slice(0,-this.newline.length)),i},e.prototype.attribute=function(t){return" "+t.name+'="'+t.value+'"'},e.prototype.cdata=function(t,e){return this.space(e)+"<![CDATA["+t.text+"]]>"+this.newline},e.prototype.comment=function(t,e){return this.space(e)+"\x3c!-- "+t.text+" --\x3e"+this.newline},e.prototype.declaration=function(t,e){var n;return n=this.space(e),n+='<?xml version="'+t.version+'"',null!=t.encoding&&(n+=' encoding="'+t.encoding+'"'),null!=t.standalone&&(n+=' standalone="'+t.standalone+'"'),(n+=this.spacebeforeslash+"?>")+this.newline},e.prototype.docType=function(t,e){var c,u,l,f,d;if(e||(e=0),f=this.space(e),f+="<!DOCTYPE "+t.root().name,t.pubID&&t.sysID?f+=' PUBLIC "'+t.pubID+'" "'+t.sysID+'"':t.sysID&&(f+=' SYSTEM "'+t.sysID+'"'),t.children.length>0){for(f+=" [",f+=this.newline,u=0,l=(d=t.children).length;l>u;u++)c=d[u],f+=function(){switch(!1){case!(c instanceof o):return this.dtdAttList(c,e+1);case!(c instanceof i):return this.dtdElement(c,e+1);case!(c instanceof a):return this.dtdEntity(c,e+1);case!(c instanceof s):return this.dtdNotation(c,e+1);case!(c instanceof n):return this.cdata(c,e+1);case!(c instanceof r):return this.comment(c,e+1);case!(c instanceof p):return this.processingInstruction(c,e+1);default:throw new Error("Unknown DTD node type: "+c.constructor.name)}}.call(this);f+="]"}return(f+=this.spacebeforeslash+">")+this.newline},e.prototype.element=function(t,e){var o,i,a,s,c,u,h,m,v,y,b,w,x;for(h in e||(e=0),x=!1,this.textispresent?(this.newline="",this.pretty=!1):(this.newline=this.newlinedefault,this.pretty=this.prettydefault),m="",m+=(w=this.space(e))+"<"+t.name,v=t.attributes)g.call(v,h)&&(o=v[h],m+=this.attribute(o));if(0===t.children.length||t.children.every((function(t){return""===t.value})))m+=this.allowEmpty?"></"+t.name+">"+this.newline:this.spacebeforeslash+"/>"+this.newline;else if(this.pretty&&1===t.children.length&&null!=t.children[0].value)m+=">",m+=t.children[0].value,m+="</"+t.name+">"+this.newline;else{if(this.dontprettytextnodes)for(a=0,c=(y=t.children).length;c>a;a++)if(null!=(i=y[a]).value){this.textispresent++,x=!0;break}for(this.textispresent&&(this.newline="",this.pretty=!1,w=this.space(e)),m+=">"+this.newline,s=0,u=(b=t.children).length;u>s;s++)i=b[s],m+=function(){switch(!1){case!(i instanceof n):return this.cdata(i,e+1);case!(i instanceof r):return this.comment(i,e+1);case!(i instanceof l):return this.element(i,e+1);case!(i instanceof f):return this.raw(i,e+1);case!(i instanceof d):return this.text(i,e+1);case!(i instanceof p):return this.processingInstruction(i,e+1);default:throw new Error("Unknown XML node type: "+i.constructor.name)}}.call(this);x&&this.textispresent--,this.textispresent||(this.newline=this.newlinedefault,this.pretty=this.prettydefault),m+=w+"</"+t.name+">"+this.newline}return m},e.prototype.processingInstruction=function(t,e){var n;return n=this.space(e)+"<?"+t.target,t.value&&(n+=" "+t.value),n+(this.spacebeforeslash+"?>")+this.newline},e.prototype.raw=function(t,e){return this.space(e)+t.value+this.newline},e.prototype.text=function(t,e){return this.space(e)+t.value+this.newline},e.prototype.dtdAttList=function(t,e){var n;return n=this.space(e)+"<!ATTLIST "+t.elementName+" "+t.attributeName+" "+t.attributeType,"#DEFAULT"!==t.defaultValueType&&(n+=" "+t.defaultValueType),t.defaultValue&&(n+=' "'+t.defaultValue+'"'),n+(this.spacebeforeslash+">")+this.newline},e.prototype.dtdElement=function(t,e){return this.space(e)+"<!ELEMENT "+t.name+" "+t.value+this.spacebeforeslash+">"+this.newline},e.prototype.dtdEntity=function(t,e){var n;return n=this.space(e)+"<!ENTITY",t.pe&&(n+=" %"),n+=" "+t.name,t.value?n+=' "'+t.value+'"':(t.pubID&&t.sysID?n+=' PUBLIC "'+t.pubID+'" "'+t.sysID+'"':t.sysID&&(n+=' SYSTEM "'+t.sysID+'"'),t.nData&&(n+=" NDATA "+t.nData)),n+(this.spacebeforeslash+">")+this.newline},e.prototype.dtdNotation=function(t,e){var n;return n=this.space(e)+"<!NOTATION "+t.name,t.pubID&&t.sysID?n+=' PUBLIC "'+t.pubID+'" "'+t.sysID+'"':t.pubID?n+=' PUBLIC "'+t.pubID+'"':t.sysID&&(n+=' SYSTEM "'+t.sysID+'"'),n+(this.spacebeforeslash+">")+this.newline},e.prototype.openNode=function(t,e){var n,r,o,i;if(e||(e=0),t instanceof l){for(r in o=this.space(e)+"<"+t.name,i=t.attributes)g.call(i,r)&&(n=i[r],o+=this.attribute(n));return o+(t.children?">":"/>")+this.newline}return o=this.space(e)+"<!DOCTYPE "+t.rootNodeName,t.pubID&&t.sysID?o+=' PUBLIC "'+t.pubID+'" "'+t.sysID+'"':t.sysID&&(o+=' SYSTEM "'+t.sysID+'"'),o+(t.children?" [":">")+this.newline},e.prototype.closeNode=function(t,e){switch(e||(e=0),!1){case!(t instanceof l):return this.space(e)+"</"+t.name+">"+this.newline;case!(t instanceof u):return this.space(e)+"]>"+this.newline}},e}(h)}).call(void 0)},{"./XMLCData":216,"./XMLComment":217,"./XMLDTDAttList":218,"./XMLDTDElement":219,"./XMLDTDEntity":220,"./XMLDTDNotation":221,"./XMLDeclaration":222,"./XMLDocType":223,"./XMLElement":226,"./XMLProcessingInstruction":228,"./XMLRaw":229,"./XMLText":233,"./XMLWriterBase":234}],232:[function(t,e,n){(function(){var t=function(t,e){return function(){return t.apply(e,arguments)}},n={}.hasOwnProperty;e.exports=function(){function e(e){var r,o,i;for(r in this.assertLegalChar=t(this.assertLegalChar,this),e||(e={}),this.noDoubleEncoding=e.noDoubleEncoding,o=e.stringify||{})n.call(o,r)&&(i=o[r],this[r]=i)}return e.prototype.eleName=function(t){return t=""+t||"",this.assertLegalChar(t)},e.prototype.eleText=function(t){return t=""+t||"",this.assertLegalChar(this.elEscape(t))},e.prototype.cdata=function(t){return t=(t=""+t||"").replace("]]>","]]]]><![CDATA[>"),this.assertLegalChar(t)},e.prototype.comment=function(t){if((t=""+t||"").match(/--/))throw new Error("Comment text cannot contain double-hypen: "+t);return this.assertLegalChar(t)},e.prototype.raw=function(t){return""+t||""},e.prototype.attName=function(t){return""+t||""},e.prototype.attValue=function(t){return t=""+t||"",this.attEscape(t)},e.prototype.insTarget=function(t){return""+t||""},e.prototype.insValue=function(t){if((t=""+t||"").match(/\?>/))throw new Error("Invalid processing instruction value: "+t);return t},e.prototype.xmlVersion=function(t){if(!(t=""+t||"").match(/1\.[0-9]+/))throw new Error("Invalid version number: "+t);return t},e.prototype.xmlEncoding=function(t){if(!(t=""+t||"").match(/^[A-Za-z](?:[A-Za-z0-9._-])*$/))throw new Error("Invalid encoding: "+t);return t},e.prototype.xmlStandalone=function(t){return t?"yes":"no"},e.prototype.dtdPubID=function(t){return""+t||""},e.prototype.dtdSysID=function(t){return""+t||""},e.prototype.dtdElementValue=function(t){return""+t||""},e.prototype.dtdAttType=function(t){return""+t||""},e.prototype.dtdAttDefault=function(t){return null!=t?""+t||"":t},e.prototype.dtdEntityValue=function(t){return""+t||""},e.prototype.dtdNData=function(t){return""+t||""},e.prototype.convertAttKey="@",e.prototype.convertPIKey="?",e.prototype.convertTextKey="#text",e.prototype.convertCDataKey="#cdata",e.prototype.convertCommentKey="#comment",e.prototype.convertRawKey="#raw",e.prototype.assertLegalChar=function(t){var e;if(e=t.match(/[\0\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/))throw new Error("Invalid character in string: "+t+" at index "+e.index);return t},e.prototype.elEscape=function(t){var e;return e=this.noDoubleEncoding?/(?!&\S+;)&/g:/&/g,t.replace(e,"&").replace(/</g,"<").replace(/>/g,">").replace(/\r/g,"
")},e.prototype.attEscape=function(t){var e;return e=this.noDoubleEncoding?/(?!&\S+;)&/g:/&/g,t.replace(e,"&").replace(/</g,"<").replace(/"/g,""").replace(/\t/g,"	").replace(/\n/g,"
").replace(/\r/g,"
")},e}()}).call(void 0)},{}],233:[function(t,e,n){function r(t){return t&&t.__esModule?t:{default:t}}var o=r(t("babel-runtime/core-js/object/create"));(function(){var n,r=function(t,e){function n(){this.constructor=t}for(var r in e)i.call(e,r)&&(t[r]=e[r]);return n.prototype=e.prototype,t.prototype=new n,t.__super__=e.prototype,t},i={}.hasOwnProperty;n=t("./XMLNode"),e.exports=function(t){function e(t,n){if(e.__super__.constructor.call(this,t),null==n)throw new Error("Missing element text");this.value=this.stringify.eleText(n)}return r(e,t),e.prototype.clone=function(){return(0,o.default)(this)},e.prototype.toString=function(t){return this.options.writer.set(t).text(this)},e}(n)}).call(void 0)},{"./XMLNode":227,"babel-runtime/core-js/object/create":19}],234:[function(t,e,n){(function(){var t={}.hasOwnProperty;e.exports=function(){function e(e){var n,r,o,i,a,s,c,u,l;for(n in e||(e={}),this.pretty=e.pretty||!1,this.allowEmpty=null!=(r=e.allowEmpty)&&r,this.pretty?(this.indent=null!=(o=e.indent)?o:" ",this.newline=null!=(i=e.newline)?i:"\n",this.offset=null!=(a=e.offset)?a:0,this.dontprettytextnodes=null!=(s=e.dontprettytextnodes)?s:0):(this.indent="",this.newline="",this.offset=0,this.dontprettytextnodes=0),this.spacebeforeslash=null!=(c=e.spacebeforeslash)?c:"",!0===this.spacebeforeslash&&(this.spacebeforeslash=" "),this.newlinedefault=this.newline,this.prettydefault=this.pretty,u=e.writer||{})t.call(u,n)&&(l=u[n],this[n]=l)}return e.prototype.set=function(e){var n,r,o;for(n in e||(e={}),"pretty"in e&&(this.pretty=e.pretty),"allowEmpty"in e&&(this.allowEmpty=e.allowEmpty),this.pretty?(this.indent="indent"in e?e.indent:" ",this.newline="newline"in e?e.newline:"\n",this.offset="offset"in e?e.offset:0,this.dontprettytextnodes="dontprettytextnodes"in e?e.dontprettytextnodes:0):(this.indent="",this.newline="",this.offset=0,this.dontprettytextnodes=0),this.spacebeforeslash="spacebeforeslash"in e?e.spacebeforeslash:"",!0===this.spacebeforeslash&&(this.spacebeforeslash=" "),this.newlinedefault=this.newline,this.prettydefault=this.pretty,r=e.writer||{})t.call(r,n)&&(o=r[n],this[n]=o);return this},e.prototype.space=function(t){var e;return this.pretty&&(e=(t||0)+this.offset+1)>0?new Array(e).join(this.indent):""},e}()}).call(void 0)},{}],235:[function(t,e,n){(function(){var n,r,o,i,a,s,c;c=t("./Utility"),a=c.assign,s=c.isFunction,n=t("./XMLDocument"),r=t("./XMLDocumentCB"),i=t("./XMLStringWriter"),o=t("./XMLStreamWriter"),e.exports.create=function(t,e,r,o){var i,s;if(null==t)throw new Error("Root element needs a name");return o=a({},e,r,o),s=(i=new n(o)).element(t),o.headless||(i.declaration(o),(null!=o.pubID||null!=o.sysID)&&i.doctype(o)),s},e.exports.begin=function(t,e,o){var i;return s(t)&&(e=(i=[t,e])[0],o=i[1],t={}),e?new r(t,e,o):new n(t)},e.exports.stringWriter=function(t){return new i(t)},e.exports.streamWriter=function(t,e){return new o(t,e)}}).call(void 0)},{"./Utility":214,"./XMLDocument":224,"./XMLDocumentCB":225,"./XMLStreamWriter":230,"./XMLStringWriter":231}],236:[function(t,e,n){function r(){for(var t={},e=0;e<arguments.length;e++){var n=arguments[e];for(var r in n)o.call(n,r)&&(t[r]=n[r])}return t}e.exports=r;var o=Object.prototype.hasOwnProperty},{}],237:[function(t,e,n){function r(t,e,n){s.isBuffer(e)||(e=new s(e)),s.isBuffer(n)||(n=new s(n)),e.length>u?e=t(e):e.length<u&&(e=s.concat([e,l],u));for(var r=new s(u),o=new s(u),i=0;u>i;i++)r[i]=54^e[i],o[i]=92^e[i];var a=t(s.concat([r,n]));return t(s.concat([o,a]))}function o(t,e){var n=c[t=t||"sha1"],o=[];return n||i("algorithm:",t,"is not yet supported"),{update:function(t){return s.isBuffer(t)||(t=new s(t)),o.push(t),t.length,this},digest:function(t){var i=s.concat(o),a=e?r(n,e,i):n(i);return o=null,t?a.toString(t):a}}}function i(){var t=[].slice.call(arguments).join(" ");throw new Error([t,"we accept pull requests","http://github.com/dominictarr/crypto-browserify"].join("\n"))}function a(t,e){for(var n in t)e(t[n],n)}var s=t("buffer").Buffer,c={sha1:t("./sha"),sha256:t("./sha256"),md5:t("./md5")},u=64,l=new s(u);l.fill(0),n.createHash=function(t){return o(t)},n.createHmac=function(t,e){return o(t,e)},a(["createCredentials","createCipher","createCipheriv","createDecipher","createDecipheriv","createSign","createVerify","createDiffieHellman","pbkdf2"],(function(t){n[t]=function(){i("sorry,",t,"is not implemented yet")}}))},{"./md5":239,"./sha":240,"./sha256":241,buffer:38}],238:[function(t,e,n){function r(t,e){if(t.length%s!=0){var n=t.length+(s-t.length%s);t=a.concat([t,c],n)}for(var r=[],o=e?t.readInt32BE:t.readInt32LE,i=0;i<t.length;i+=s)r.push(o.call(t,i));return r}function o(t,e,n){for(var r=new a(e),o=n?r.writeInt32BE:r.writeInt32LE,i=0;i<t.length;i++)o.call(r,t[i],4*i,!0);return r}function i(t,e,n,i){return a.isBuffer(t)||(t=new a(t)),o(e(r(t,i),t.length*u),n,i)}var a=t("buffer").Buffer,s=4,c=new a(s);c.fill(0);var u=8;e.exports={hash:i}},{buffer:38}],239:[function(t,e,n){function r(t,e){t[e>>5]|=128<<e%32,t[14+(e+64>>>9<<4)]=e;for(var n=1732584193,r=-271733879,o=-1732584194,l=271733878,p=0;p<t.length;p+=16){var f=n,d=r,h=o,m=l;n=i(n,r,o,l,t[p+0],7,-680876936),l=i(l,n,r,o,t[p+1],12,-389564586),o=i(o,l,n,r,t[p+2],17,606105819),r=i(r,o,l,n,t[p+3],22,-1044525330),n=i(n,r,o,l,t[p+4],7,-176418897),l=i(l,n,r,o,t[p+5],12,1200080426),o=i(o,l,n,r,t[p+6],17,-1473231341),r=i(r,o,l,n,t[p+7],22,-45705983),n=i(n,r,o,l,t[p+8],7,1770035416),l=i(l,n,r,o,t[p+9],12,-1958414417),o=i(o,l,n,r,t[p+10],17,-42063),r=i(r,o,l,n,t[p+11],22,-1990404162),n=i(n,r,o,l,t[p+12],7,1804603682),l=i(l,n,r,o,t[p+13],12,-40341101),o=i(o,l,n,r,t[p+14],17,-1502002290),n=a(n,r=i(r,o,l,n,t[p+15],22,1236535329),o,l,t[p+1],5,-165796510),l=a(l,n,r,o,t[p+6],9,-1069501632),o=a(o,l,n,r,t[p+11],14,643717713),r=a(r,o,l,n,t[p+0],20,-373897302),n=a(n,r,o,l,t[p+5],5,-701558691),l=a(l,n,r,o,t[p+10],9,38016083),o=a(o,l,n,r,t[p+15],14,-660478335),r=a(r,o,l,n,t[p+4],20,-405537848),n=a(n,r,o,l,t[p+9],5,568446438),l=a(l,n,r,o,t[p+14],9,-1019803690),o=a(o,l,n,r,t[p+3],14,-187363961),r=a(r,o,l,n,t[p+8],20,1163531501),n=a(n,r,o,l,t[p+13],5,-1444681467),l=a(l,n,r,o,t[p+2],9,-51403784),o=a(o,l,n,r,t[p+7],14,1735328473),n=s(n,r=a(r,o,l,n,t[p+12],20,-1926607734),o,l,t[p+5],4,-378558),l=s(l,n,r,o,t[p+8],11,-2022574463),o=s(o,l,n,r,t[p+11],16,1839030562),r=s(r,o,l,n,t[p+14],23,-35309556),n=s(n,r,o,l,t[p+1],4,-1530992060),l=s(l,n,r,o,t[p+4],11,1272893353),o=s(o,l,n,r,t[p+7],16,-155497632),r=s(r,o,l,n,t[p+10],23,-1094730640),n=s(n,r,o,l,t[p+13],4,681279174),l=s(l,n,r,o,t[p+0],11,-358537222),o=s(o,l,n,r,t[p+3],16,-722521979),r=s(r,o,l,n,t[p+6],23,76029189),n=s(n,r,o,l,t[p+9],4,-640364487),l=s(l,n,r,o,t[p+12],11,-421815835),o=s(o,l,n,r,t[p+15],16,530742520),n=c(n,r=s(r,o,l,n,t[p+2],23,-995338651),o,l,t[p+0],6,-198630844),l=c(l,n,r,o,t[p+7],10,1126891415),o=c(o,l,n,r,t[p+14],15,-1416354905),r=c(r,o,l,n,t[p+5],21,-57434055),n=c(n,r,o,l,t[p+12],6,1700485571),l=c(l,n,r,o,t[p+3],10,-1894986606),o=c(o,l,n,r,t[p+10],15,-1051523),r=c(r,o,l,n,t[p+1],21,-2054922799),n=c(n,r,o,l,t[p+8],6,1873313359),l=c(l,n,r,o,t[p+15],10,-30611744),o=c(o,l,n,r,t[p+6],15,-1560198380),r=c(r,o,l,n,t[p+13],21,1309151649),n=c(n,r,o,l,t[p+4],6,-145523070),l=c(l,n,r,o,t[p+11],10,-1120210379),o=c(o,l,n,r,t[p+2],15,718787259),r=c(r,o,l,n,t[p+9],21,-343485551),n=u(n,f),r=u(r,d),o=u(o,h),l=u(l,m)}return Array(n,r,o,l)}function o(t,e,n,r,o,i){return u(l(u(u(e,t),u(r,i)),o),n)}function i(t,e,n,r,i,a,s){return o(e&n|~e&r,t,e,i,a,s)}function a(t,e,n,r,i,a,s){return o(e&r|n&~r,t,e,i,a,s)}function s(t,e,n,r,i,a,s){return o(e^n^r,t,e,i,a,s)}function c(t,e,n,r,i,a,s){return o(n^(e|~r),t,e,i,a,s)}function u(t,e){var n=(65535&t)+(65535&e);return(t>>16)+(e>>16)+(n>>16)<<16|65535&n}function l(t,e){return t<<e|t>>>32-e}var p=t("./helpers");e.exports=function(t){return p.hash(t,r,16)}},{"./helpers":238}],240:[function(t,e,n){function r(t,e){t[e>>5]|=128<<24-e%32,t[15+(e+64>>9<<4)]=e;for(var n=Array(80),r=1732584193,c=-271733879,u=-1732584194,l=271733878,p=-1009589776,f=0;f<t.length;f+=16){for(var d=r,h=c,m=u,g=l,v=p,y=0;80>y;y++){n[y]=16>y?t[f+y]:s(n[y-3]^n[y-8]^n[y-14]^n[y-16],1);var b=a(a(s(r,5),o(y,c,u,l)),a(a(p,n[y]),i(y)));p=l,l=u,u=s(c,30),c=r,r=b}r=a(r,d),c=a(c,h),u=a(u,m),l=a(l,g),p=a(p,v)}return Array(r,c,u,l,p)}function o(t,e,n,r){return 20>t?e&n|~e&r:40>t?e^n^r:60>t?e&n|e&r|n&r:e^n^r}function i(t){return 20>t?1518500249:40>t?1859775393:60>t?-1894007588:-899497514}function a(t,e){var n=(65535&t)+(65535&e);return(t>>16)+(e>>16)+(n>>16)<<16|65535&n}function s(t,e){return t<<e|t>>>32-e}var c=t("./helpers");e.exports=function(t){return c.hash(t,r,20,!0)}},{"./helpers":238}],241:[function(t,e,n){var r=t("./helpers"),o=function(t,e){var n=(65535&t)+(65535&e);return(t>>16)+(e>>16)+(n>>16)<<16|65535&n},i=function(t,e){return t>>>e|t<<32-e},a=function(t,e){return t>>>e},s=function(t,e,n){return t&e^~t&n},c=function(t,e,n){return t&e^t&n^e&n},u=function(t){return i(t,2)^i(t,13)^i(t,22)},l=function(t){return i(t,6)^i(t,11)^i(t,25)},p=function(t){return i(t,7)^i(t,18)^a(t,3)},f=function(t){return i(t,17)^i(t,19)^a(t,10)},d=function(t,e){var n,r,i,a,d,h,m,g,v,y,b=new Array(1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298),w=new Array(1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225),x=new Array(64);t[e>>5]|=128<<24-e%32,t[15+(e+64>>9<<4)]=e;for(var _=0;_<t.length;_+=16){n=w[0],r=w[1],i=w[2],a=w[3],d=w[4],h=w[5],m=w[6],g=w[7];for(var A=0;64>A;A++)x[A]=16>A?t[A+_]:o(o(o(f(x[A-2]),x[A-7]),p(x[A-15])),x[A-16]),v=o(o(o(o(g,l(d)),s(d,h,m)),b[A]),x[A]),y=o(u(n),c(n,r,i)),g=m,m=h,h=d,d=o(a,v),a=i,i=r,r=n,n=o(v,y);w[0]=o(n,w[0]),w[1]=o(r,w[1]),w[2]=o(i,w[2]),w[3]=o(a,w[3]),w[4]=o(d,w[4]),w[5]=o(h,w[5]),w[6]=o(m,w[6]),w[7]=o(g,w[7])}return w};e.exports=function(t){return r.hash(t,d,32,!0)}},{"./helpers":238}],242:[function(t,e,n){(function(r){function o(t){return t&&t.__esModule?t:{default:t}}var i=o(t("babel-runtime/core-js/object/create")),a=o(t("babel-runtime/helpers/classCallCheck")),s=o(t("babel-runtime/helpers/createClass")),c=o(t("babel-runtime/helpers/typeof"));!function(t){"object"===(void 0===n?"undefined":(0,c.default)(n))&&void 0!==e?e.exports=t():("undefined"!=typeof window?window:void 0!==r?r:"undefined"!=typeof self?self:this).mime=t()}((function(){return function e(n,r,o){function i(s,c){if(!r[s]){if(!n[s]){var u="function"==typeof t&&t;if(!c&&u)return u(s,!0);if(a)return a(s,!0);var l=new Error("Cannot find module '"+s+"'");throw l.code="MODULE_NOT_FOUND",l}var p=r[s]={exports:{}};n[s][0].call(p.exports,(function(t){var e=n[s][1][t];return i(e||t)}),p,p.exports,e,n,r,o)}return r[s].exports}for(var a="function"==typeof t&&t,s=0;s<o.length;s++)i(o[s]);return i}({1:[function(t,e,n){var r=function(){function t(){(0,a.default)(this,t),this._types=(0,i.default)(null),this._extensions=(0,i.default)(null);for(var e=0;e<arguments.length;e++)this.define(arguments[e])}return(0,s.default)(t,[{key:"define",value:function(t,e){for(var n in t){for(var r=t[n],o=0;o<r.length;o++){var i=r[o];if(!e&&i in this._types)throw new Error('Attempt to change mapping for "'+i+'" extension from "'+this._types[i]+'" to "'+n+'". Pass `force=true` to allow this, otherwise remove "'+i+'" from the list of extensions for "'+n+'".');this._types[i]=n}(e||!this._extensions[n])&&(this._extensions[n]=r[0])}}},{key:"getType",value:function(t){var e=(t=String(t)).replace(/^.*[/\\]/,"").toLowerCase(),n=e.replace(/^.*\./,"").toLowerCase(),r=e.length<t.length;return(n.length<e.length-1||!r)&&this._types[n]||null}},{key:"getExtension",value:function(t){return(t=/^\s*([^;\s]*)/.test(t)&&RegExp.$1)&&this._extensions[t.toLowerCase()]||null}}]),t}();e.exports=r},{}],2:[function(t,e,n){var r=t("./Mime");e.exports=new r(t("./types/standard"),t("./types/other"))},{"./Mime":1,"./types/other":3,"./types/standard":4}],3:[function(t,e,n){e.exports={"application/prs.cww":["cww"],"application/vnd.3gpp.pic-bw-large":["plb"],"application/vnd.3gpp.pic-bw-small":["psb"],"application/vnd.3gpp.pic-bw-var":["pvb"],"application/vnd.3gpp2.tcap":["tcap"],"application/vnd.3m.post-it-notes":["pwn"],"application/vnd.accpac.simply.aso":["aso"],"application/vnd.accpac.simply.imp":["imp"],"application/vnd.acucobol":["acu"],"application/vnd.acucorp":["atc","acutc"],"application/vnd.adobe.air-application-installer-package+zip":["air"],"application/vnd.adobe.formscentral.fcdt":["fcdt"],"application/vnd.adobe.fxp":["fxp","fxpl"],"application/vnd.adobe.xdp+xml":["xdp"],"application/vnd.adobe.xfdf":["xfdf"],"application/vnd.ahead.space":["ahead"],"application/vnd.airzip.filesecure.azf":["azf"],"application/vnd.airzip.filesecure.azs":["azs"],"application/vnd.amazon.ebook":["azw"],"application/vnd.americandynamics.acc":["acc"],"application/vnd.amiga.ami":["ami"],"application/vnd.android.package-archive":["apk"],"application/vnd.anser-web-certificate-issue-initiation":["cii"],"application/vnd.anser-web-funds-transfer-initiation":["fti"],"application/vnd.antix.game-component":["atx"],"application/vnd.apple.installer+xml":["mpkg"],"application/vnd.apple.mpegurl":["m3u8"],"application/vnd.apple.pkpass":["pkpass"],"application/vnd.aristanetworks.swi":["swi"],"application/vnd.astraea-software.iota":["iota"],"application/vnd.audiograph":["aep"],"application/vnd.blueice.multipass":["mpm"],"application/vnd.bmi":["bmi"],"application/vnd.businessobjects":["rep"],"application/vnd.chemdraw+xml":["cdxml"],"application/vnd.chipnuts.karaoke-mmd":["mmd"],"application/vnd.cinderella":["cdy"],"application/vnd.claymore":["cla"],"application/vnd.cloanto.rp9":["rp9"],"application/vnd.clonk.c4group":["c4g","c4d","c4f","c4p","c4u"],"application/vnd.cluetrust.cartomobile-config":["c11amc"],"application/vnd.cluetrust.cartomobile-config-pkg":["c11amz"],"application/vnd.commonspace":["csp"],"application/vnd.contact.cmsg":["cdbcmsg"],"application/vnd.cosmocaller":["cmc"],"application/vnd.crick.clicker":["clkx"],"application/vnd.crick.clicker.keyboard":["clkk"],"application/vnd.crick.clicker.palette":["clkp"],"application/vnd.crick.clicker.template":["clkt"],"application/vnd.crick.clicker.wordbank":["clkw"],"application/vnd.criticaltools.wbs+xml":["wbs"],"application/vnd.ctc-posml":["pml"],"application/vnd.cups-ppd":["ppd"],"application/vnd.curl.car":["car"],"application/vnd.curl.pcurl":["pcurl"],"application/vnd.dart":["dart"],"application/vnd.data-vision.rdz":["rdz"],"application/vnd.dece.data":["uvf","uvvf","uvd","uvvd"],"application/vnd.dece.ttml+xml":["uvt","uvvt"],"application/vnd.dece.unspecified":["uvx","uvvx"],"application/vnd.dece.zip":["uvz","uvvz"],"application/vnd.denovo.fcselayout-link":["fe_launch"],"application/vnd.dna":["dna"],"application/vnd.dolby.mlp":["mlp"],"application/vnd.dpgraph":["dpg"],"application/vnd.dreamfactory":["dfac"],"application/vnd.ds-keypoint":["kpxx"],"application/vnd.dvb.ait":["ait"],"application/vnd.dvb.service":["svc"],"application/vnd.dynageo":["geo"],"application/vnd.ecowin.chart":["mag"],"application/vnd.enliven":["nml"],"application/vnd.epson.esf":["esf"],"application/vnd.epson.msf":["msf"],"application/vnd.epson.quickanime":["qam"],"application/vnd.epson.salt":["slt"],"application/vnd.epson.ssf":["ssf"],"application/vnd.eszigno3+xml":["es3","et3"],"application/vnd.ezpix-album":["ez2"],"application/vnd.ezpix-package":["ez3"],"application/vnd.fdf":["fdf"],"application/vnd.fdsn.mseed":["mseed"],"application/vnd.fdsn.seed":["seed","dataless"],"application/vnd.flographit":["gph"],"application/vnd.fluxtime.clip":["ftc"],"application/vnd.framemaker":["fm","frame","maker","book"],"application/vnd.frogans.fnc":["fnc"],"application/vnd.frogans.ltf":["ltf"],"application/vnd.fsc.weblaunch":["fsc"],"application/vnd.fujitsu.oasys":["oas"],"application/vnd.fujitsu.oasys2":["oa2"],"application/vnd.fujitsu.oasys3":["oa3"],"application/vnd.fujitsu.oasysgp":["fg5"],"application/vnd.fujitsu.oasysprs":["bh2"],"application/vnd.fujixerox.ddd":["ddd"],"application/vnd.fujixerox.docuworks":["xdw"],"application/vnd.fujixerox.docuworks.binder":["xbd"],"application/vnd.fuzzysheet":["fzs"],"application/vnd.genomatix.tuxedo":["txd"],"application/vnd.geogebra.file":["ggb"],"application/vnd.geogebra.tool":["ggt"],"application/vnd.geometry-explorer":["gex","gre"],"application/vnd.geonext":["gxt"],"application/vnd.geoplan":["g2w"],"application/vnd.geospace":["g3w"],"application/vnd.gmx":["gmx"],"application/vnd.google-apps.document":["gdoc"],"application/vnd.google-apps.presentation":["gslides"],"application/vnd.google-apps.spreadsheet":["gsheet"],"application/vnd.google-earth.kml+xml":["kml"],"application/vnd.google-earth.kmz":["kmz"],"application/vnd.grafeq":["gqf","gqs"],"application/vnd.groove-account":["gac"],"application/vnd.groove-help":["ghf"],"application/vnd.groove-identity-message":["gim"],"application/vnd.groove-injector":["grv"],"application/vnd.groove-tool-message":["gtm"],"application/vnd.groove-tool-template":["tpl"],"application/vnd.groove-vcard":["vcg"],"application/vnd.hal+xml":["hal"],"application/vnd.handheld-entertainment+xml":["zmm"],"application/vnd.hbci":["hbci"],"application/vnd.hhe.lesson-player":["les"],"application/vnd.hp-hpgl":["hpgl"],"application/vnd.hp-hpid":["hpid"],"application/vnd.hp-hps":["hps"],"application/vnd.hp-jlyt":["jlt"],"application/vnd.hp-pcl":["pcl"],"application/vnd.hp-pclxl":["pclxl"],"application/vnd.hydrostatix.sof-data":["sfd-hdstx"],"application/vnd.ibm.minipay":["mpy"],"application/vnd.ibm.modcap":["afp","listafp","list3820"],"application/vnd.ibm.rights-management":["irm"],"application/vnd.ibm.secure-container":["sc"],"application/vnd.iccprofile":["icc","icm"],"application/vnd.igloader":["igl"],"application/vnd.immervision-ivp":["ivp"],"application/vnd.immervision-ivu":["ivu"],"application/vnd.insors.igm":["igm"],"application/vnd.intercon.formnet":["xpw","xpx"],"application/vnd.intergeo":["i2g"],"application/vnd.intu.qbo":["qbo"],"application/vnd.intu.qfx":["qfx"],"application/vnd.ipunplugged.rcprofile":["rcprofile"],"application/vnd.irepository.package+xml":["irp"],"application/vnd.is-xpr":["xpr"],"application/vnd.isac.fcs":["fcs"],"application/vnd.jam":["jam"],"application/vnd.jcp.javame.midlet-rms":["rms"],"application/vnd.jisp":["jisp"],"application/vnd.joost.joda-archive":["joda"],"application/vnd.kahootz":["ktz","ktr"],"application/vnd.kde.karbon":["karbon"],"application/vnd.kde.kchart":["chrt"],"application/vnd.kde.kformula":["kfo"],"application/vnd.kde.kivio":["flw"],"application/vnd.kde.kontour":["kon"],"application/vnd.kde.kpresenter":["kpr","kpt"],"application/vnd.kde.kspread":["ksp"],"application/vnd.kde.kword":["kwd","kwt"],"application/vnd.kenameaapp":["htke"],"application/vnd.kidspiration":["kia"],"application/vnd.kinar":["kne","knp"],"application/vnd.koan":["skp","skd","skt","skm"],"application/vnd.kodak-descriptor":["sse"],"application/vnd.las.las+xml":["lasxml"],"application/vnd.llamagraphics.life-balance.desktop":["lbd"],"application/vnd.llamagraphics.life-balance.exchange+xml":["lbe"],"application/vnd.lotus-1-2-3":["123"],"application/vnd.lotus-approach":["apr"],"application/vnd.lotus-freelance":["pre"],"application/vnd.lotus-notes":["nsf"],"application/vnd.lotus-organizer":["org"],"application/vnd.lotus-screencam":["scm"],"application/vnd.lotus-wordpro":["lwp"],"application/vnd.macports.portpkg":["portpkg"],"application/vnd.mcd":["mcd"],"application/vnd.medcalcdata":["mc1"],"application/vnd.mediastation.cdkey":["cdkey"],"application/vnd.mfer":["mwf"],"application/vnd.mfmp":["mfm"],"application/vnd.micrografx.flo":["flo"],"application/vnd.micrografx.igx":["igx"],"application/vnd.mif":["mif"],"application/vnd.mobius.daf":["daf"],"application/vnd.mobius.dis":["dis"],"application/vnd.mobius.mbk":["mbk"],"application/vnd.mobius.mqy":["mqy"],"application/vnd.mobius.msl":["msl"],"application/vnd.mobius.plc":["plc"],"application/vnd.mobius.txf":["txf"],"application/vnd.mophun.application":["mpn"],"application/vnd.mophun.certificate":["mpc"],"application/vnd.mozilla.xul+xml":["xul"],"application/vnd.ms-artgalry":["cil"],"application/vnd.ms-cab-compressed":["cab"],"application/vnd.ms-excel":["xls","xlm","xla","xlc","xlt","xlw"],"application/vnd.ms-excel.addin.macroenabled.12":["xlam"],"application/vnd.ms-excel.sheet.binary.macroenabled.12":["xlsb"],"application/vnd.ms-excel.sheet.macroenabled.12":["xlsm"],"application/vnd.ms-excel.template.macroenabled.12":["xltm"],"application/vnd.ms-fontobject":["eot"],"application/vnd.ms-htmlhelp":["chm"],"application/vnd.ms-ims":["ims"],"application/vnd.ms-lrm":["lrm"],"application/vnd.ms-officetheme":["thmx"],"application/vnd.ms-outlook":["msg"],"application/vnd.ms-pki.seccat":["cat"],"application/vnd.ms-pki.stl":["stl"],"application/vnd.ms-powerpoint":["ppt","pps","pot"],"application/vnd.ms-powerpoint.addin.macroenabled.12":["ppam"],"application/vnd.ms-powerpoint.presentation.macroenabled.12":["pptm"],"application/vnd.ms-powerpoint.slide.macroenabled.12":["sldm"],"application/vnd.ms-powerpoint.slideshow.macroenabled.12":["ppsm"],"application/vnd.ms-powerpoint.template.macroenabled.12":["potm"],"application/vnd.ms-project":["mpp","mpt"],"application/vnd.ms-word.document.macroenabled.12":["docm"],"application/vnd.ms-word.template.macroenabled.12":["dotm"],"application/vnd.ms-works":["wps","wks","wcm","wdb"],"application/vnd.ms-wpl":["wpl"],"application/vnd.ms-xpsdocument":["xps"],"application/vnd.mseq":["mseq"],"application/vnd.musician":["mus"],"application/vnd.muvee.style":["msty"],"application/vnd.mynfc":["taglet"],"application/vnd.neurolanguage.nlu":["nlu"],"application/vnd.nitf":["ntf","nitf"],"application/vnd.noblenet-directory":["nnd"],"application/vnd.noblenet-sealer":["nns"],"application/vnd.noblenet-web":["nnw"],"application/vnd.nokia.n-gage.data":["ngdat"],"application/vnd.nokia.n-gage.symbian.install":["n-gage"],"application/vnd.nokia.radio-preset":["rpst"],"application/vnd.nokia.radio-presets":["rpss"],"application/vnd.novadigm.edm":["edm"],"application/vnd.novadigm.edx":["edx"],"application/vnd.novadigm.ext":["ext"],"application/vnd.oasis.opendocument.chart":["odc"],"application/vnd.oasis.opendocument.chart-template":["otc"],"application/vnd.oasis.opendocument.database":["odb"],"application/vnd.oasis.opendocument.formula":["odf"],"application/vnd.oasis.opendocument.formula-template":["odft"],"application/vnd.oasis.opendocument.graphics":["odg"],"application/vnd.oasis.opendocument.graphics-template":["otg"],"application/vnd.oasis.opendocument.image":["odi"],"application/vnd.oasis.opendocument.image-template":["oti"],"application/vnd.oasis.opendocument.presentation":["odp"],"application/vnd.oasis.opendocument.presentation-template":["otp"],"application/vnd.oasis.opendocument.spreadsheet":["ods"],"application/vnd.oasis.opendocument.spreadsheet-template":["ots"],"application/vnd.oasis.opendocument.text":["odt"],"application/vnd.oasis.opendocument.text-master":["odm"],"application/vnd.oasis.opendocument.text-template":["ott"],"application/vnd.oasis.opendocument.text-web":["oth"],"application/vnd.olpc-sugar":["xo"],"application/vnd.oma.dd2+xml":["dd2"],"application/vnd.openofficeorg.extension":["oxt"],"application/vnd.openxmlformats-officedocument.presentationml.presentation":["pptx"],"application/vnd.openxmlformats-officedocument.presentationml.slide":["sldx"],"application/vnd.openxmlformats-officedocument.presentationml.slideshow":["ppsx"],"application/vnd.openxmlformats-officedocument.presentationml.template":["potx"],"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":["xlsx"],"application/vnd.openxmlformats-officedocument.spreadsheetml.template":["xltx"],"application/vnd.openxmlformats-officedocument.wordprocessingml.document":["docx"],"application/vnd.openxmlformats-officedocument.wordprocessingml.template":["dotx"],"application/vnd.osgeo.mapguide.package":["mgp"],"application/vnd.osgi.dp":["dp"],"application/vnd.osgi.subsystem":["esa"],"application/vnd.palm":["pdb","pqa","oprc"],"application/vnd.pawaafile":["paw"],"application/vnd.pg.format":["str"],"application/vnd.pg.osasli":["ei6"],"application/vnd.picsel":["efif"],"application/vnd.pmi.widget":["wg"],"application/vnd.pocketlearn":["plf"],"application/vnd.powerbuilder6":["pbd"],"application/vnd.previewsystems.box":["box"],"application/vnd.proteus.magazine":["mgz"],"application/vnd.publishare-delta-tree":["qps"],"application/vnd.pvi.ptid1":["ptid"],"application/vnd.quark.quarkxpress":["qxd","qxt","qwd","qwt","qxl","qxb"],"application/vnd.realvnc.bed":["bed"],"application/vnd.recordare.musicxml":["mxl"],"application/vnd.recordare.musicxml+xml":["musicxml"],"application/vnd.rig.cryptonote":["cryptonote"],"application/vnd.rim.cod":["cod"],"application/vnd.rn-realmedia":["rm"],"application/vnd.rn-realmedia-vbr":["rmvb"],"application/vnd.route66.link66+xml":["link66"],"application/vnd.sailingtracker.track":["st"],"application/vnd.seemail":["see"],"application/vnd.sema":["sema"],"application/vnd.semd":["semd"],"application/vnd.semf":["semf"],"application/vnd.shana.informed.formdata":["ifm"],"application/vnd.shana.informed.formtemplate":["itp"],"application/vnd.shana.informed.interchange":["iif"],"application/vnd.shana.informed.package":["ipk"],"application/vnd.simtech-mindmapper":["twd","twds"],"application/vnd.smaf":["mmf"],"application/vnd.smart.teacher":["teacher"],"application/vnd.solent.sdkm+xml":["sdkm","sdkd"],"application/vnd.spotfire.dxp":["dxp"],"application/vnd.spotfire.sfs":["sfs"],"application/vnd.stardivision.calc":["sdc"],"application/vnd.stardivision.draw":["sda"],"application/vnd.stardivision.impress":["sdd"],"application/vnd.stardivision.math":["smf"],"application/vnd.stardivision.writer":["sdw","vor"],"application/vnd.stardivision.writer-global":["sgl"],"application/vnd.stepmania.package":["smzip"],"application/vnd.stepmania.stepchart":["sm"],"application/vnd.sun.wadl+xml":["wadl"],"application/vnd.sun.xml.calc":["sxc"],"application/vnd.sun.xml.calc.template":["stc"],"application/vnd.sun.xml.draw":["sxd"],"application/vnd.sun.xml.draw.template":["std"],"application/vnd.sun.xml.impress":["sxi"],"application/vnd.sun.xml.impress.template":["sti"],"application/vnd.sun.xml.math":["sxm"],"application/vnd.sun.xml.writer":["sxw"],"application/vnd.sun.xml.writer.global":["sxg"],"application/vnd.sun.xml.writer.template":["stw"],"application/vnd.sus-calendar":["sus","susp"],"application/vnd.svd":["svd"],"application/vnd.symbian.install":["sis","sisx"],"application/vnd.syncml+xml":["xsm"],"application/vnd.syncml.dm+wbxml":["bdm"],"application/vnd.syncml.dm+xml":["xdm"],"application/vnd.tao.intent-module-archive":["tao"],"application/vnd.tcpdump.pcap":["pcap","cap","dmp"],"application/vnd.tmobile-livetv":["tmo"],"application/vnd.trid.tpt":["tpt"],"application/vnd.triscape.mxs":["mxs"],"application/vnd.trueapp":["tra"],"application/vnd.ufdl":["ufd","ufdl"],"application/vnd.uiq.theme":["utz"],"application/vnd.umajin":["umj"],"application/vnd.unity":["unityweb"],"application/vnd.uoml+xml":["uoml"],"application/vnd.vcx":["vcx"],"application/vnd.visio":["vsd","vst","vss","vsw"],"application/vnd.visionary":["vis"],"application/vnd.vsf":["vsf"],"application/vnd.wap.wbxml":["wbxml"],"application/vnd.wap.wmlc":["wmlc"],"application/vnd.wap.wmlscriptc":["wmlsc"],"application/vnd.webturbo":["wtb"],"application/vnd.wolfram.player":["nbp"],"application/vnd.wordperfect":["wpd"],"application/vnd.wqd":["wqd"],"application/vnd.wt.stf":["stf"],"application/vnd.xara":["xar"],"application/vnd.xfdl":["xfdl"],"application/vnd.yamaha.hv-dic":["hvd"],"application/vnd.yamaha.hv-script":["hvs"],"application/vnd.yamaha.hv-voice":["hvp"],"application/vnd.yamaha.openscoreformat":["osf"],"application/vnd.yamaha.openscoreformat.osfpvg+xml":["osfpvg"],"application/vnd.yamaha.smaf-audio":["saf"],"application/vnd.yamaha.smaf-phrase":["spf"],"application/vnd.yellowriver-custom-menu":["cmp"],"application/vnd.zul":["zir","zirz"],"application/vnd.zzazz.deck+xml":["zaz"],"application/x-7z-compressed":["7z"],"application/x-abiword":["abw"],"application/x-ace-compressed":["ace"],"application/x-apple-diskimage":[],"application/x-arj":["arj"],"application/x-authorware-bin":["aab","x32","u32","vox"],"application/x-authorware-map":["aam"],"application/x-authorware-seg":["aas"],"application/x-bcpio":["bcpio"],"application/x-bdoc":[],"application/x-bittorrent":["torrent"],"application/x-blorb":["blb","blorb"],"application/x-bzip":["bz"],"application/x-bzip2":["bz2","boz"],"application/x-cbr":["cbr","cba","cbt","cbz","cb7"],"application/x-cdlink":["vcd"],"application/x-cfs-compressed":["cfs"],"application/x-chat":["chat"],"application/x-chess-pgn":["pgn"],"application/x-chrome-extension":["crx"],"application/x-cocoa":["cco"],"application/x-conference":["nsc"],"application/x-cpio":["cpio"],"application/x-csh":["csh"],"application/x-debian-package":["udeb"],"application/x-dgc-compressed":["dgc"],"application/x-director":["dir","dcr","dxr","cst","cct","cxt","w3d","fgd","swa"],"application/x-doom":["wad"],"application/x-dtbncx+xml":["ncx"],"application/x-dtbook+xml":["dtb"],"application/x-dtbresource+xml":["res"],"application/x-dvi":["dvi"],"application/x-envoy":["evy"],"application/x-eva":["eva"],"application/x-font-bdf":["bdf"],"application/x-font-ghostscript":["gsf"],"application/x-font-linux-psf":["psf"],"application/x-font-otf":[],"application/x-font-pcf":["pcf"],"application/x-font-snf":["snf"],"application/x-font-ttf":["ttf","ttc"],"application/x-font-type1":["pfa","pfb","pfm","afm"],"application/x-freearc":["arc"],"application/x-futuresplash":["spl"],"application/x-gca-compressed":["gca"],"application/x-glulx":["ulx"],"application/x-gnumeric":["gnumeric"],"application/x-gramps-xml":["gramps"],"application/x-gtar":["gtar"],"application/x-hdf":["hdf"],"application/x-httpd-php":["php"],"application/x-install-instructions":["install"],"application/x-iso9660-image":[],"application/x-java-archive-diff":["jardiff"],"application/x-java-jnlp-file":["jnlp"],"application/x-latex":["latex"],"application/x-lua-bytecode":["luac"],"application/x-lzh-compressed":["lzh","lha"],"application/x-makeself":["run"],"application/x-mie":["mie"],"application/x-mobipocket-ebook":["prc","mobi"],"application/x-ms-application":["application"],"application/x-ms-shortcut":["lnk"],"application/x-ms-wmd":["wmd"],"application/x-ms-wmz":["wmz"],"application/x-ms-xbap":["xbap"],"application/x-msaccess":["mdb"],"application/x-msbinder":["obd"],"application/x-mscardfile":["crd"],"application/x-msclip":["clp"],"application/x-msdos-program":[],"application/x-msdownload":["com","bat"],"application/x-msmediaview":["mvb","m13","m14"],"application/x-msmetafile":["wmf","emf","emz"],"application/x-msmoney":["mny"],"application/x-mspublisher":["pub"],"application/x-msschedule":["scd"],"application/x-msterminal":["trm"],"application/x-mswrite":["wri"],"application/x-netcdf":["nc","cdf"],"application/x-ns-proxy-autoconfig":["pac"],"application/x-nzb":["nzb"],"application/x-perl":["pl","pm"],"application/x-pilot":[],"application/x-pkcs12":["p12","pfx"],"application/x-pkcs7-certificates":["p7b","spc"],"application/x-pkcs7-certreqresp":["p7r"],"application/x-rar-compressed":["rar"],"application/x-redhat-package-manager":["rpm"],"application/x-research-info-systems":["ris"],"application/x-sea":["sea"],"application/x-sh":["sh"],"application/x-shar":["shar"],"application/x-shockwave-flash":["swf"],"application/x-silverlight-app":["xap"],"application/x-sql":["sql"],"application/x-stuffit":["sit"],"application/x-stuffitx":["sitx"],"application/x-subrip":["srt"],"application/x-sv4cpio":["sv4cpio"],"application/x-sv4crc":["sv4crc"],"application/x-t3vm-image":["t3"],"application/x-tads":["gam"],"application/x-tar":["tar"],"application/x-tcl":["tcl","tk"],"application/x-tex":["tex"],"application/x-tex-tfm":["tfm"],"application/x-texinfo":["texinfo","texi"],"application/x-tgif":["obj"],"application/x-ustar":["ustar"],"application/x-virtualbox-hdd":["hdd"],"application/x-virtualbox-ova":["ova"],"application/x-virtualbox-ovf":["ovf"],"application/x-virtualbox-vbox":["vbox"],"application/x-virtualbox-vbox-extpack":["vbox-extpack"],"application/x-virtualbox-vdi":["vdi"],"application/x-virtualbox-vhd":["vhd"],"application/x-virtualbox-vmdk":["vmdk"],"application/x-wais-source":["src"],"application/x-web-app-manifest+json":["webapp"],"application/x-x509-ca-cert":["der","crt","pem"],"application/x-xfig":["fig"],"application/x-xliff+xml":["xlf"],"application/x-xpinstall":["xpi"],"application/x-xz":["xz"],"application/x-zmachine":["z1","z2","z3","z4","z5","z6","z7","z8"],"audio/vnd.dece.audio":["uva","uvva"],"audio/vnd.digital-winds":["eol"],"audio/vnd.dra":["dra"],"audio/vnd.dts":["dts"],"audio/vnd.dts.hd":["dtshd"],"audio/vnd.lucent.voice":["lvp"],"audio/vnd.ms-playready.media.pya":["pya"],"audio/vnd.nuera.ecelp4800":["ecelp4800"],"audio/vnd.nuera.ecelp7470":["ecelp7470"],"audio/vnd.nuera.ecelp9600":["ecelp9600"],"audio/vnd.rip":["rip"],"audio/x-aac":["aac"],"audio/x-aiff":["aif","aiff","aifc"],"audio/x-caf":["caf"],"audio/x-flac":["flac"],"audio/x-m4a":[],"audio/x-matroska":["mka"],"audio/x-mpegurl":["m3u"],"audio/x-ms-wax":["wax"],"audio/x-ms-wma":["wma"],"audio/x-pn-realaudio":["ram","ra"],"audio/x-pn-realaudio-plugin":["rmp"],"audio/x-realaudio":[],"audio/x-wav":[],"chemical/x-cdx":["cdx"],"chemical/x-cif":["cif"],"chemical/x-cmdf":["cmdf"],"chemical/x-cml":["cml"],"chemical/x-csml":["csml"],"chemical/x-xyz":["xyz"],"image/prs.btif":["btif"],"image/vnd.adobe.photoshop":["psd"],"image/vnd.dece.graphic":["uvi","uvvi","uvg","uvvg"],"image/vnd.djvu":["djvu","djv"],"image/vnd.dvb.subtitle":[],"image/vnd.dwg":["dwg"],"image/vnd.dxf":["dxf"],"image/vnd.fastbidsheet":["fbs"],"image/vnd.fpx":["fpx"],"image/vnd.fst":["fst"],"image/vnd.fujixerox.edmics-mmr":["mmr"],"image/vnd.fujixerox.edmics-rlc":["rlc"],"image/vnd.ms-modi":["mdi"],"image/vnd.ms-photo":["wdp"],"image/vnd.net-fpx":["npx"],"image/vnd.wap.wbmp":["wbmp"],"image/vnd.xiff":["xif"],"image/x-3ds":["3ds"],"image/x-cmu-raster":["ras"],"image/x-cmx":["cmx"],"image/x-freehand":["fh","fhc","fh4","fh5","fh7"],"image/x-icon":["ico"],"image/x-jng":["jng"],"image/x-mrsid-image":["sid"],"image/x-ms-bmp":[],"image/x-pcx":["pcx"],"image/x-pict":["pic","pct"],"image/x-portable-anymap":["pnm"],"image/x-portable-bitmap":["pbm"],"image/x-portable-graymap":["pgm"],"image/x-portable-pixmap":["ppm"],"image/x-rgb":["rgb"],"image/x-tga":["tga"],"image/x-xbitmap":["xbm"],"image/x-xpixmap":["xpm"],"image/x-xwindowdump":["xwd"],"model/vnd.collada+xml":["dae"],"model/vnd.dwf":["dwf"],"model/vnd.gdl":["gdl"],"model/vnd.gtw":["gtw"],"model/vnd.mts":["mts"],"model/vnd.vtu":["vtu"],"text/prs.lines.tag":["dsc"],"text/vnd.curl":["curl"],"text/vnd.curl.dcurl":["dcurl"],"text/vnd.curl.mcurl":["mcurl"],"text/vnd.curl.scurl":["scurl"],"text/vnd.dvb.subtitle":["sub"],"text/vnd.fly":["fly"],"text/vnd.fmi.flexstor":["flx"],"text/vnd.graphviz":["gv"],"text/vnd.in3d.3dml":["3dml"],"text/vnd.in3d.spot":["spot"],"text/vnd.sun.j2me.app-descriptor":["jad"],"text/vnd.wap.wml":["wml"],"text/vnd.wap.wmlscript":["wmls"],"text/x-asm":["s","asm"],"text/x-c":["c","cc","cxx","cpp","h","hh","dic"],"text/x-component":["htc"],"text/x-fortran":["f","for","f77","f90"],"text/x-handlebars-template":["hbs"],"text/x-java-source":["java"],"text/x-lua":["lua"],"text/x-markdown":["mkd"],"text/x-nfo":["nfo"],"text/x-opml":["opml"],"text/x-org":[],"text/x-pascal":["p","pas"],"text/x-processing":["pde"],"text/x-sass":["sass"],"text/x-scss":["scss"],"text/x-setext":["etx"],"text/x-sfv":["sfv"],"text/x-suse-ymp":["ymp"],"text/x-uuencode":["uu"],"text/x-vcalendar":["vcs"],"text/x-vcard":["vcf"],"video/vnd.dece.hd":["uvh","uvvh"],"video/vnd.dece.mobile":["uvm","uvvm"],"video/vnd.dece.pd":["uvp","uvvp"],"video/vnd.dece.sd":["uvs","uvvs"],"video/vnd.dece.video":["uvv","uvvv"],"video/vnd.dvb.file":["dvb"],"video/vnd.fvt":["fvt"],"video/vnd.mpegurl":["mxu","m4u"],"video/vnd.ms-playready.media.pyv":["pyv"],"video/vnd.uvvu.mp4":["uvu","uvvu"],"video/vnd.vivo":["viv"],"video/x-f4v":["f4v"],"video/x-fli":["fli"],"video/x-flv":["flv"],"video/x-m4v":["m4v"],"video/x-matroska":["mkv","mk3d","mks"],"video/x-mng":["mng"],"video/x-ms-asf":["asf","asx"],"video/x-ms-vob":["vob"],"video/x-ms-wm":["wm"],"video/x-ms-wmv":["wmv"],"video/x-ms-wmx":["wmx"],"video/x-ms-wvx":["wvx"],"video/x-msvideo":["avi"],"video/x-sgi-movie":["movie"],"video/x-smv":["smv"],"x-conference/x-cooltalk":["ice"]}},{}],4:[function(t,e,n){e.exports={"application/andrew-inset":["ez"],"application/applixware":["aw"],"application/atom+xml":["atom"],"application/atomcat+xml":["atomcat"],"application/atomsvc+xml":["atomsvc"],"application/bdoc":["bdoc"],"application/ccxml+xml":["ccxml"],"application/cdmi-capability":["cdmia"],"application/cdmi-container":["cdmic"],"application/cdmi-domain":["cdmid"],"application/cdmi-object":["cdmio"],"application/cdmi-queue":["cdmiq"],"application/cu-seeme":["cu"],"application/dash+xml":["mpd"],"application/davmount+xml":["davmount"],"application/docbook+xml":["dbk"],"application/dssc+der":["dssc"],"application/dssc+xml":["xdssc"],"application/ecmascript":["ecma"],"application/emma+xml":["emma"],"application/epub+zip":["epub"],"application/exi":["exi"],"application/font-tdpfr":["pfr"],"application/font-woff":["woff"],"application/font-woff2":["woff2"],"application/geo+json":["geojson"],"application/gml+xml":["gml"],"application/gpx+xml":["gpx"],"application/gxf":["gxf"],"application/gzip":["gz"],"application/hyperstudio":["stk"],"application/inkml+xml":["ink","inkml"],"application/ipfix":["ipfix"],"application/java-archive":["jar","war","ear"],"application/java-serialized-object":["ser"],"application/java-vm":["class"],"application/javascript":["js","mjs"],"application/json":["json","map"],"application/json5":["json5"],"application/jsonml+json":["jsonml"],"application/ld+json":["jsonld"],"application/lost+xml":["lostxml"],"application/mac-binhex40":["hqx"],"application/mac-compactpro":["cpt"],"application/mads+xml":["mads"],"application/manifest+json":["webmanifest"],"application/marc":["mrc"],"application/marcxml+xml":["mrcx"],"application/mathematica":["ma","nb","mb"],"application/mathml+xml":["mathml"],"application/mbox":["mbox"],"application/mediaservercontrol+xml":["mscml"],"application/metalink+xml":["metalink"],"application/metalink4+xml":["meta4"],"application/mets+xml":["mets"],"application/mods+xml":["mods"],"application/mp21":["m21","mp21"],"application/mp4":["mp4s","m4p"],"application/msword":["doc","dot"],"application/mxf":["mxf"],"application/octet-stream":["bin","dms","lrf","mar","so","dist","distz","pkg","bpk","dump","elc","deploy","exe","dll","deb","dmg","iso","img","msi","msp","msm","buffer"],"application/oda":["oda"],"application/oebps-package+xml":["opf"],"application/ogg":["ogx"],"application/omdoc+xml":["omdoc"],"application/onenote":["onetoc","onetoc2","onetmp","onepkg"],"application/oxps":["oxps"],"application/patch-ops-error+xml":["xer"],"application/pdf":["pdf"],"application/pgp-encrypted":["pgp"],"application/pgp-signature":["asc","sig"],"application/pics-rules":["prf"],"application/pkcs10":["p10"],"application/pkcs7-mime":["p7m","p7c"],"application/pkcs7-signature":["p7s"],"application/pkcs8":["p8"],"application/pkix-attr-cert":["ac"],"application/pkix-cert":["cer"],"application/pkix-crl":["crl"],"application/pkix-pkipath":["pkipath"],"application/pkixcmp":["pki"],"application/pls+xml":["pls"],"application/postscript":["ai","eps","ps"],"application/pskc+xml":["pskcxml"],"application/rdf+xml":["rdf"],"application/reginfo+xml":["rif"],"application/relax-ng-compact-syntax":["rnc"],"application/resource-lists+xml":["rl"],"application/resource-lists-diff+xml":["rld"],"application/rls-services+xml":["rs"],"application/rpki-ghostbusters":["gbr"],"application/rpki-manifest":["mft"],"application/rpki-roa":["roa"],"application/rsd+xml":["rsd"],"application/rss+xml":["rss"],"application/rtf":["rtf"],"application/sbml+xml":["sbml"],"application/scvp-cv-request":["scq"],"application/scvp-cv-response":["scs"],"application/scvp-vp-request":["spq"],"application/scvp-vp-response":["spp"],"application/sdp":["sdp"],"application/set-payment-initiation":["setpay"],"application/set-registration-initiation":["setreg"],"application/shf+xml":["shf"],"application/smil+xml":["smi","smil"],"application/sparql-query":["rq"],"application/sparql-results+xml":["srx"],"application/srgs":["gram"],"application/srgs+xml":["grxml"],"application/sru+xml":["sru"],"application/ssdl+xml":["ssdl"],"application/ssml+xml":["ssml"],"application/tei+xml":["tei","teicorpus"],"application/thraud+xml":["tfi"],"application/timestamped-data":["tsd"],"application/voicexml+xml":["vxml"],"application/widget":["wgt"],"application/winhlp":["hlp"],"application/wsdl+xml":["wsdl"],"application/wspolicy+xml":["wspolicy"],"application/xaml+xml":["xaml"],"application/xcap-diff+xml":["xdf"],"application/xenc+xml":["xenc"],"application/xhtml+xml":["xhtml","xht"],"application/xml":["xml","xsl","xsd","rng"],"application/xml-dtd":["dtd"],"application/xop+xml":["xop"],"application/xproc+xml":["xpl"],"application/xslt+xml":["xslt"],"application/xspf+xml":["xspf"],"application/xv+xml":["mxml","xhvml","xvml","xvm"],"application/yang":["yang"],"application/yin+xml":["yin"],"application/zip":["zip"],"audio/3gpp":[],"audio/adpcm":["adp"],"audio/basic":["au","snd"],"audio/midi":["mid","midi","kar","rmi"],"audio/mp3":[],"audio/mp4":["m4a","mp4a"],"audio/mpeg":["mpga","mp2","mp2a","mp3","m2a","m3a"],"audio/ogg":["oga","ogg","spx"],"audio/s3m":["s3m"],"audio/silk":["sil"],"audio/wav":["wav"],"audio/wave":[],"audio/webm":["weba"],"audio/xm":["xm"],"font/otf":["otf"],"image/apng":["apng"],"image/bmp":["bmp"],"image/cgm":["cgm"],"image/g3fax":["g3"],"image/gif":["gif"],"image/ief":["ief"],"image/jpeg":["jpeg","jpg","jpe"],"image/ktx":["ktx"],"image/png":["png"],"image/sgi":["sgi"],"image/svg+xml":["svg","svgz"],"image/tiff":["tiff","tif"],"image/webp":["webp"],"message/rfc822":["eml","mime"],"model/gltf+json":["gltf"],"model/gltf-binary":["glb"],"model/iges":["igs","iges"],"model/mesh":["msh","mesh","silo"],"model/vrml":["wrl","vrml"],"model/x3d+binary":["x3db","x3dbz"],"model/x3d+vrml":["x3dv","x3dvz"],"model/x3d+xml":["x3d","x3dz"],"text/cache-manifest":["appcache","manifest"],"text/calendar":["ics","ifb"],"text/coffeescript":["coffee","litcoffee"],"text/css":["css"],"text/csv":["csv"],"text/hjson":["hjson"],"text/html":["html","htm","shtml"],"text/jade":["jade"],"text/jsx":["jsx"],"text/less":["less"],"text/markdown":["markdown","md"],"text/mathml":["mml"],"text/n3":["n3"],"text/plain":["txt","text","conf","def","list","log","in","ini"],"text/richtext":["rtx"],"text/rtf":[],"text/sgml":["sgml","sgm"],"text/slim":["slim","slm"],"text/stylus":["stylus","styl"],"text/tab-separated-values":["tsv"],"text/troff":["t","tr","roff","man","me","ms"],"text/turtle":["ttl"],"text/uri-list":["uri","uris","urls"],"text/vcard":["vcard"],"text/vtt":["vtt"],"text/xml":[],"text/yaml":["yaml","yml"],"video/3gpp":["3gp","3gpp"],"video/3gpp2":["3g2"],"video/h261":["h261"],"video/h263":["h263"],"video/h264":["h264"],"video/jpeg":["jpgv"],"video/jpm":["jpm","jpgm"],"video/mj2":["mj2","mjp2"],"video/mp2t":["ts"],"video/mp4":["mp4","mp4v","mpg4"],"video/mpeg":["mpeg","mpg","mpe","m1v","m2v"],"video/ogg":["ogv"],"video/quicktime":["qt","mov"],"video/webm":["webm"]}},{}]},{},[2])(2)}))}).call(this,void 0!==commonjsGlobal?commonjsGlobal:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"babel-runtime/core-js/object/create":19,"babel-runtime/helpers/classCallCheck":30,"babel-runtime/helpers/createClass":31,"babel-runtime/helpers/typeof":32}],243:[function(t,e,n){n.encodeURIComponent=function(t){try{return encodeURIComponent(t)}catch(e){return t}},n.escape=t("escape-html"),n.timestamp=function(t){if(t){var e=t;return"string"==typeof e&&(e=Number(e)),10===String(t).length&&(e*=1e3),new Date(e)}return Math.round(Date.now()/1e3)}},{"escape-html":157}],244:[function(t,e,n){(function(e,r){function o(t){return t&&t.__esModule?t:{default:t}}function i(t,e){return void 0===t?e:t}function a(t,e){return function(n,r,o){return n?e(n):void t({data:r,status:o.statusCode,headers:o.headers,res:o})}}var s,c=o(t("babel-runtime/core-js/json/stringify")),u=o(t("babel-runtime/helpers/typeof")),l=t("util"),p=t("url"),f=t("http"),d=t("https"),h=t("debug")("urllib"),m=t("humanize-ms"),g=0,v=Math.pow(2,31)-10,y=/^https?:\/\//i;n.TIMEOUTS=[m("300s"),m("300s")];var b=["json","text"];n.request=function(e,r,o){return 2===arguments.length&&"function"==typeof r&&(o=r,r=null),"function"==typeof o?n.requestWithCallback(e,r,o):(s||(s=t("any-promise")),new s((function(t,o){n.requestWithCallback(e,r,a(t,o))})))},n.requestWithCallback=function(e,o,a){function s(){W&&(clearTimeout(W),W=null)}function w(){X&&(clearTimeout(X),X=null)}function x(t,r,i){if(w(),a){var s=a;a=null;var u={};if(i&&(tt=i.statusCode,u=i.headers),401===tt&&u["www-authenticate"]&&(!o.headers||!o.headers.Authorization)&&o.digestAuth){var l=u["www-authenticate"];if(l.indexOf("Digest ")>=0)return h("Request#%d %s: got digest auth header WWW-Authenticate: %s",P,e,l),o.headers=o.headers||{},o.headers.Authorization=digestAuthHeader(N.method,N.path,l,o.digestAuth),h("Request#%d %s: auth with digest header: %s",P,e,o.headers.Authorization),i.headers["set-cookie"]&&(o.headers.Cookie=i.headers["set-cookie"].join(";")),n.requestWithCallback(e,o,s)}var p=Date.now()-M;ot&&(ot.contentDownload=p),h("[%sms] done, %s bytes HTTP %s %s %s %s, keepAliveSocket: %s, timing: %j",p,J,tt,N.method,N.host,N.path,Q,ot);var f={status:tt,statusCode:tt,headers:u,size:J,aborted:et,rt:p,keepAliveSocket:Q,data:r,requestUrls:o.requestUrls,timing:ot,remoteAddress:nt,remotePort:rt};if(t){var d="";D&&"function"==typeof D.getCurrentStatus&&(d=", agent status: "+(0,c.default)(D.getCurrentStatus())),t.message+=", "+N.method+" "+e+" "+tt+" (connected: "+Z+", keepalive socket: "+Q+d+")\nheaders: "+(0,c.default)(u),t.data=r,t.path=N.path,t.status=tt,t.headers=u,t.res=f}s(t,r,o.streaming?i:f),o.emitter&&(O.url=e,O.socket=st&&st.connection,O.options=N,O.size=V,o.emitter.emit("response",{requestId:P,error:t,ctx:o.ctx,req:O,res:f}))}}function _(t){var r=null;if(o.followRedirect&&statuses.redirect[t.statusCode]){o._followRedirectCount=(o._followRedirectCount||0)+1;var i=t.headers.location;if(i){if(!(o._followRedirectCount>o.maxRedirects)){var s=o.formatRedirectUrl?o.formatRedirectUrl(e,i):p.resolve(e,i);h("Request#%d %s: `redirected` from %s to %s",P,N.path,e,s),w(),o.headers&&o.headers.Host&&y.test(i)&&(o.headers.Host=null);var c=a;return a=null,n.requestWithCallback(s,o,c),{redirect:!0,error:null}}(r=new Error("Exceeded maxRedirects. Probably stuck in a redirect loop "+e)).name="MaxRedirectError"}else(r=new Error("Got statusCode "+t.statusCode+" but cannot resolve next location from headers")).name="FollowRedirectError"}return{redirect:!1,error:r}}function A(t,e,n){return n(null,e,t.headers["content-encoding"])}function k(t){var n;if(ot&&(ot.waiting=Date.now()-M),h("Request#%d %s `req response` event emit: status %d, headers: %j",P,e,t.statusCode,t.headers),o.streaming)return(n=_(t)).redirect?void t.resume():n.error?(t.resume(),x(n.error,null,t)):x(null,null,t);if(t.on("close",(function(){h("Request#%d %s: `res close` event emit, total size %d",P,e,J)})),t.on("error",(function(){h("Request#%d %s: `res error` event emit, total size %d",P,e,J)})),t.on("aborted",(function(){et=!0,h("Request#%d %s: `res aborted` event emit, total size %d",P,e,J)})),ct)return(n=_(t)).redirect?void t.resume():n.error?(t.resume(),ct.end(),x(n.error,null,t)):(!1===o.consumeWriteStream?t.on("end",x.bind(null,null,null,t)):isNode010||isNode012?first([[ct,"close"],[t,"aborted"]],(function(n,r,o){h("Request#%d %s: writeStream or res %s event emitted",P,e,o),x(Y||null,null,t)})):ct.on("close",(function(){h("Request#%d %s: writeStream close event emitted",P,e),x(Y||null,null,t)})),t.pipe(ct));var i=[];t.on("data",(function(t){h("Request#%d %s: `res data` event emit, size %d",P,e,t.length),J+=t.length,i.push(t)})),t.on("end",(function(){var n=r.concat(i,J);if(h("Request#%d %s: `res end` event emit, total size %d, _dumped: %s",P,e,J,t._dumped),Y)return x(Y,n,t);var a=_(t);return a.error?x(a.error,n,t):void(a.redirect||A(t,n,(function(r,i,a){if(r)return x(r,n,t);if(!a&&b.indexOf(o.dataType)>=0){try{i=decodeBodyByCharset(i,t)}catch(e){return h("decodeBodyByCharset error: %s",e),x(null,i,t)}if("json"===o.dataType)if(0===J)i=null;else{var s=parseJSON(i,B);s.error?r=s.error:i=s.data}}et&&h("Request#%d %s: Remote socket was terminated before `response.end()` was called",P,e),x(r,i,t)})))}))}function E(){h("Connect timer ticking, timeout: %d",it),W=setTimeout((function(){W=null,-1===tt&&(tt=-2);var t="Connect timeout for "+it+"ms",n="ConnectionTimeoutError";st.socket||(n="SocketAssignTimeoutError",t+=", working sockets is full"),(Y=new Error(t)).name=n,Y.requestId=P,h("ConnectTimeout: Request#%d %s %s: %s, connected: %s",P,e,Y.name,t,Z),T()}),it)}function S(){h("Response timer ticking, timeout: %d",at),X=setTimeout((function(){X=null;var t="Response timeout for "+at+"ms",n="ResponseTimeoutError";(Y=new Error(t)).name=n,Y.requestId=P,h("ResponseTimeout: Request#%d %s %s: %s, connected: %s",P,e,Y.name,t,Z),T()}),at)}function T(){h("Request#%d %s abort, connected: %s",P,e,Z),st.socket||(Y.noSocket=!0,x(Y)),st.abort()}if(!e||"string"!=typeof e&&"object"!==(void 0===e?"undefined":(0,u.default)(e))){var C=l.format("expect request url to be a string or a http request options, but got %j",e);throw new Error(C)}2===arguments.length&&"function"==typeof o&&(a=o,o=null),g>=v&&(g=0);var P=++g;(o=o||{}).requestUrls=o.requestUrls||[];var O={requestId:P,url:e,args:o,ctx:o.ctx};o.emitter&&o.emitter.emit("request",O),o.timeout=o.timeout||n.TIMEOUTS,o.maxRedirects=o.maxRedirects||10,o.streaming=o.streaming||o.customResponse;var L,M=Date.now();"string"==typeof e?(y.test(e)||(e="http://"+e),L=p.parse(e)):L=e;var R=(o.type||o.method||L.method||"GET").toUpperCase(),I=L.port||80,j=f,D=i(o.agent,n.agent),B=o.fixJSONCtlChars;"https:"===L.protocol&&(j=d,D=i(o.httpsAgent,n.httpsAgent),L.port||(I=443));var N={host:L.hostname||L.host||"localhost",path:L.path||"/",method:R,port:I,agent:D,headers:o.headers||{},lookup:o.lookup};Array.isArray(o.timeout)?N.requestTimeout=o.timeout[o.timeout.length-1]:void 0!==o.timeout&&(N.requestTimeout=o.timeout);for(var U=["pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","secureProtocol","secureOptions"],$=0;$<U.length;$++){var F=U[$];o.hasOwnProperty(F)&&(N[F]=o[F])}!1!==N.rejectUnauthorized||N.hasOwnProperty("secureOptions")||(N.secureOptions=t("constants").SSL_OP_NO_TLSv1_2);var G=o.auth||L.auth;G&&(N.auth=G);var q=o.content||o.data,K="GET"===R||"HEAD"===R||o.dataAsQueryString;if(!o.content&&q&&"string"!=typeof q&&!r.isBuffer(q))if(K)q=o.nestedQuerystring?qs.stringify(q):querystring.stringify(q);else{var H=N.headers["Content-Type"]||N.headers["content-type"];H||(H="json"===o.contentType?"application/json":"application/x-www-form-urlencoded",N.headers["Content-Type"]=H),q="application/json"===parseContentType(H).type?(0,c.default)(q):o.nestedQuerystring?qs.stringify(q):querystring.stringify(q)}K&&q&&(N.path+=(L.query?"&":"?")+q,q=null);var V=0;if(q){var z=q.length;r.isBuffer(q)||(z=r.byteLength(q)),V=N.headers["Content-Length"]=z}"json"===o.dataType&&(N.headers.Accept="application/json"),"function"==typeof o.beforeRequest&&o.beforeRequest(N);var W=null,X=null,Y=null,Z=!1,Q=!1,J=0,tt=-1,et=!1,nt="",rt="",ot=null;o.timing&&(ot={queuing:0,dnslookup:0,connected:0,requestSent:0,waiting:0,contentDownload:0}),N.headers["User-Agent"]||N.headers["user-agent"]||(N.headers["User-Agent"]=navigator.userAgent),o.gzip&&(N.headers["Accept-Encoding"]||N.headers["accept-encoding"]||(N.headers["Accept-Encoding"]="gzip"));var it,at,st,ct=o.writeStream;h("Request#%d %s %s with headers %j, options.path: %s",P,R,e,N.headers,N.path),o.requestUrls.push(e),Array.isArray(o.timeout)?(it=m(o.timeout[0]),at=m(o.timeout[1])):it=at=m(o.timeout),h("ConnectTimeout: %d, ResponseTimeout: %d",it,at);try{st=j.request(N,k)}catch(t){return x(t)}return"undefined"==typeof window?E():st.on("requestTimeout",(function(){-1===tt&&(tt=-2);var t="ConnectionTimeoutError";(Y=new Error("Connect timeout for "+it+"ms")).name=t,Y.requestId=P,T()})),ot&&st.on("finish",(function(){ot.requestSent=Date.now()-M})),st.once("socket",(function(t){ot&&(ot.queuing=Date.now()-M),isNode010&&t.socket&&(t=t.socket);var n=t.readyState;return"opening"===n?(t.once("lookup",(function(t,n,r){h("Request#%d %s lookup: %s, %s, %s",P,e,t,n,r),ot&&(ot.dnslookup=Date.now()-M),n&&(nt=n)})),void t.once("connect",(function(){ot&&(ot.connected=Date.now()-M),s(),S(),h("Request#%d %s new socket connected",P,e),Z=!0,nt||(nt=t.remoteAddress),rt=t.remotePort}))):(h("Request#%d %s reuse socket connected, readyState: %s",P,e,n),Z=!0,Q=!0,nt||(nt=t.remoteAddress),rt=t.remotePort,s(),void S())})),st.on("error",(function(t){("Error"===t.name||"TypeError"===t.name)&&(t.name=Z?"ResponseError":"RequestError"),t.message+=' (req "error")',h("Request#%d %s `req error` event emit, %s: %s",P,e,t.name,t.message),x(Y||t)})),ct&&ct.once("error",(function(t){t.message+=' (writeStream "error")',Y=t,h("Request#%d %s `writeStream error` event emit, %s: %s",P,e,t.name,t.message),T()})),o.stream?(o.stream.pipe(st),o.stream.once("error",(function(t){t.message+=' (stream "error")',Y=t,h("Request#%d %s `readStream error` event emit, %s: %s",P,e,t.name,t.message),T()}))):st.end(q),st.requestId=P,st}}).call(this,t("_process"),t("buffer").Buffer)},{_process:173,"any-promise":13,"babel-runtime/core-js/json/stringify":17,"babel-runtime/helpers/typeof":32,buffer:38,constants:42,debug:155,http:196,https:159,"humanize-ms":160,url:203,util:207}]},{},[1])(1)}();var aliyunOssSdk_apaas_minExports=aliyunOssSdk_apaas_min.exports,OSS=getDefaultExportFromCjs(aliyunOssSdk_apaas_minExports),esdkObsBrowserjs_3_22_3_min={exports:{}};self,esdkObsBrowserjs_3_22_3_min.exports=function(){var t,e,n={8392:function(t,e,n){n(824),n(303),n(9265),n(706),n(6753),n(730),n(4906),n(4525),n(3618),n(1844),n(6371),n(1446),n(70),n(6028)},2990:function(t,e,n){t.exports=n(7408)},7648:function(t,e,n){var r=n(610),o=n(2334),i=n(4942),a=n(3210),s=n(5755),c=n(3741),u=n(9912),l=n(5080),p=n(1306),f=n(5092);t.exports=function(t){return new Promise((function(e,n){var d,h=t.data,m=t.headers,g=t.responseType;function v(){t.cancelToken&&t.cancelToken.unsubscribe(d),t.signal&&t.signal.removeEventListener("abort",d)}r.isFormData(h)&&delete m["Content-Type"];var y=new XMLHttpRequest;if(t.auth){var b=t.auth.username||"",w=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";m.Authorization="Basic "+btoa(b+":"+w)}var x=s(t.baseURL,t.url);function _(){if(y){var r="getAllResponseHeaders"in y?c(y.getAllResponseHeaders()):null,i={data:g&&"text"!==g&&"json"!==g?y.response:y.responseText,status:y.status,statusText:y.statusText,headers:r,config:t,request:y};o((function(t){e(t),v()}),(function(t){n(t),v()}),i),y=null}}if(y.open(t.method.toUpperCase(),a(x,t.params,t.paramsSerializer),!0),y.timeout=t.timeout,"onloadend"in y?y.onloadend=_:y.onreadystatechange=function(){y&&4===y.readyState&&(0!==y.status||y.responseURL&&0===y.responseURL.indexOf("file:"))&&setTimeout(_)},y.onabort=function(){y&&(n(l("Request aborted",t,"ECONNABORTED",y)),y=null)},y.onerror=function(){n(l("Network Error",t,null,y)),y=null},y.ontimeout=function(){var e=t.timeout?"timeout of "+t.timeout+"ms exceeded":"timeout exceeded",r=t.transitional||p;t.timeoutErrorMessage&&(e=t.timeoutErrorMessage),n(l(e,t,r.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",y)),y=null},r.isStandardBrowserEnv()){var A=(t.withCredentials||u(x))&&t.xsrfCookieName?i.read(t.xsrfCookieName):void 0;A&&(m[t.xsrfHeaderName]=A)}"setRequestHeader"in y&&r.forEach(m,(function(t,e){void 0===h&&"content-type"===e.toLowerCase()?delete m[e]:y.setRequestHeader(e,t)})),r.isUndefined(t.withCredentials)||(y.withCredentials=!!t.withCredentials),g&&"json"!==g&&(y.responseType=t.responseType),"function"==typeof t.onDownloadProgress&&y.addEventListener("progress",t.onDownloadProgress),"function"==typeof t.onUploadProgress&&y.upload&&y.upload.addEventListener("progress",t.onUploadProgress),(t.cancelToken||t.signal)&&(d=function(t){y&&(n(!t||t&&t.type?new f("canceled"):t),y.abort(),y=null)},t.cancelToken&&t.cancelToken.subscribe(d),t.signal&&(t.signal.aborted?d():t.signal.addEventListener("abort",d))),h||(h=null),y.send(h)}))}},7408:function(t,e,n){var r=n(610),o=n(3824),i=n(1030),a=n(8261),s=function t(e){var n=new i(e),s=o(i.prototype.request,n);return r.extend(s,i.prototype,n),r.extend(s,n),s.create=function(n){return t(a(e,n))},s}(n(479));s.Axios=i,s.Cancel=n(5092),s.CancelToken=n(1667),s.isCancel=n(2969),s.VERSION=n(9815).version,s.all=function(t){return Promise.all(t)},s.spread=n(8629),s.isAxiosError=n(2101),t.exports=s,t.exports.default=s},5092:function(t){function e(t){this.message=t}e.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},e.prototype.__CANCEL__=!0,t.exports=e},1667:function(t,e,n){var r=n(5092);function o(t){if("function"!=typeof t)throw new TypeError("executor must be a function.");var e;this.promise=new Promise((function(t){e=t}));var n=this;this.promise.then((function(t){if(n._listeners){var e,r=n._listeners.length;for(e=0;e<r;e++)n._listeners[e](t);n._listeners=null}})),this.promise.then=function(t){var e,r=new Promise((function(t){n.subscribe(t),e=t})).then(t);return r.cancel=function(){n.unsubscribe(e)},r},t((function(t){n.reason||(n.reason=new r(t),e(n.reason))}))}o.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},o.prototype.subscribe=function(t){this.reason?t(this.reason):this._listeners?this._listeners.push(t):this._listeners=[t]},o.prototype.unsubscribe=function(t){if(this._listeners){var e=this._listeners.indexOf(t);-1!==e&&this._listeners.splice(e,1)}},o.source=function(){var t;return{token:new o((function(e){t=e})),cancel:t}},t.exports=o},2969:function(t){t.exports=function(t){return!(!t||!t.__CANCEL__)}},1030:function(t,e,n){var r=n(610),o=n(3210),i=n(3952),a=n(7544),s=n(8261),c=n(6660),u=c.validators;function l(t){this.defaults=t,this.interceptors={request:new i,response:new i}}l.prototype.request=function(t,e){"string"==typeof t?(e=e||{}).url=t:e=t||{},(e=s(this.defaults,e)).method?e.method=e.method.toLowerCase():this.defaults.method?e.method=this.defaults.method.toLowerCase():e.method="get";var n=e.transitional;void 0!==n&&c.assertOptions(n,{silentJSONParsing:u.transitional(u.boolean),forcedJSONParsing:u.transitional(u.boolean),clarifyTimeoutError:u.transitional(u.boolean)},!1);var r=[],o=!0;this.interceptors.request.forEach((function(t){"function"==typeof t.runWhen&&!1===t.runWhen(e)||(o=o&&t.synchronous,r.unshift(t.fulfilled,t.rejected))}));var i,l=[];if(this.interceptors.response.forEach((function(t){l.push(t.fulfilled,t.rejected)})),!o){var p=[a,void 0];for(Array.prototype.unshift.apply(p,r),p=p.concat(l),i=Promise.resolve(e);p.length;)i=i.then(p.shift(),p.shift());return i}for(var f=e;r.length;){var d=r.shift(),h=r.shift();try{f=d(f)}catch(t){h(t);break}}try{i=a(f)}catch(t){return Promise.reject(t)}for(;l.length;)i=i.then(l.shift(),l.shift());return i},l.prototype.getUri=function(t){return t=s(this.defaults,t),o(t.url,t.params,t.paramsSerializer).replace(/^\?/,"")},r.forEach(["delete","get","head","options"],(function(t){l.prototype[t]=function(e,n){return this.request(s(n||{},{method:t,url:e,data:(n||{}).data}))}})),r.forEach(["post","put","patch"],(function(t){l.prototype[t]=function(e,n,r){return this.request(s(r||{},{method:t,url:e,data:n}))}})),t.exports=l},3952:function(t,e,n){var r=n(610);function o(){this.handlers=[]}o.prototype.use=function(t,e,n){return this.handlers.push({fulfilled:t,rejected:e,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1},o.prototype.eject=function(t){this.handlers[t]&&(this.handlers[t]=null)},o.prototype.forEach=function(t){r.forEach(this.handlers,(function(e){null!==e&&t(e)}))},t.exports=o},5755:function(t,e,n){var r=n(7204),o=n(117);t.exports=function(t,e){return t&&!r(e)?o(t,e):e}},5080:function(t,e,n){var r=n(4980);t.exports=function(t,e,n,o,i){var a=new Error(t);return r(a,e,n,o,i)}},7544:function(t,e,n){var r=n(610),o=n(8622),i=n(2969),a=n(479),s=n(5092);function c(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new s("canceled")}t.exports=function(t){return c(t),t.headers=t.headers||{},t.data=o.call(t,t.data,t.headers,t.transformRequest),t.headers=r.merge(t.headers.common||{},t.headers[t.method]||{},t.headers),r.forEach(["delete","get","head","post","put","patch","common"],(function(e){delete t.headers[e]})),(t.adapter||a.adapter)(t).then((function(e){return c(t),e.data=o.call(t,e.data,e.headers,t.transformResponse),e}),(function(e){return i(e)||(c(t),e&&e.response&&(e.response.data=o.call(t,e.response.data,e.response.headers,t.transformResponse))),Promise.reject(e)}))}},4980:function(t){t.exports=function(t,e,n,r,o){return t.config=e,n&&(t.code=n),t.request=r,t.response=o,t.isAxiosError=!0,t.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code,status:this.response&&this.response.status?this.response.status:null}},t}},8261:function(t,e,n){var r=n(610);t.exports=function(t,e){e=e||{};var n={};function o(t,e){return r.isPlainObject(t)&&r.isPlainObject(e)?r.merge(t,e):r.isPlainObject(e)?r.merge({},e):r.isArray(e)?e.slice():e}function i(n){return r.isUndefined(e[n])?r.isUndefined(t[n])?void 0:o(void 0,t[n]):o(t[n],e[n])}function a(t){if(!r.isUndefined(e[t]))return o(void 0,e[t])}function s(n){return r.isUndefined(e[n])?r.isUndefined(t[n])?void 0:o(void 0,t[n]):o(void 0,e[n])}function c(n){return n in e?o(t[n],e[n]):n in t?o(void 0,t[n]):void 0}var u={url:a,method:a,data:a,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:c};return r.forEach(Object.keys(t).concat(Object.keys(e)),(function(t){var e=u[t]||i,o=e(t);r.isUndefined(o)&&e!==c||(n[t]=o)})),n}},2334:function(t,e,n){var r=n(5080);t.exports=function(t,e,n){var o=n.config.validateStatus;n.status&&o&&!o(n.status)?e(r("Request failed with status code "+n.status,n.config,null,n.request,n)):t(n)}},8622:function(t,e,n){var r=n(610),o=n(479);t.exports=function(t,e,n){var i=this||o;return r.forEach(n,(function(n){t=n.call(i,t,e)})),t}},479:function(t,e,n){var r=n(610),o=n(928),i=n(4980),a=n(1306),s={"Content-Type":"application/x-www-form-urlencoded"};function c(t,e){!r.isUndefined(t)&&r.isUndefined(t["Content-Type"])&&(t["Content-Type"]=e)}var u,l={transitional:a,adapter:(("undefined"!=typeof XMLHttpRequest||"undefined"!=typeof process&&"[object process]"===Object.prototype.toString.call(process))&&(u=n(7648)),u),transformRequest:[function(t,e){return o(e,"Accept"),o(e,"Content-Type"),r.isFormData(t)||r.isArrayBuffer(t)||r.isBuffer(t)||r.isStream(t)||r.isFile(t)||r.isBlob(t)?t:r.isArrayBufferView(t)?t.buffer:r.isURLSearchParams(t)?(c(e,"application/x-www-form-urlencoded;charset=utf-8"),t.toString()):r.isObject(t)||e&&"application/json"===e["Content-Type"]?(c(e,"application/json"),function(t,e,n){if(r.isString(t))try{return(0,JSON.parse)(t),r.trim(t)}catch(t){if("SyntaxError"!==t.name)throw t}return(0,JSON.stringify)(t)}(t)):t}],transformResponse:[function(t){var e=this.transitional||l.transitional,n=e&&e.silentJSONParsing,o=e&&e.forcedJSONParsing,a=!n&&"json"===this.responseType;if(a||o&&r.isString(t)&&t.length)try{return JSON.parse(t)}catch(t){if(a){if("SyntaxError"===t.name)throw i(t,this,"E_JSON_PARSE");throw t}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};r.forEach(["delete","get","head"],(function(t){l.headers[t]={}})),r.forEach(["post","put","patch"],(function(t){l.headers[t]=r.merge(s)})),t.exports=l},1306:function(t){t.exports={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1}},9815:function(t){t.exports={version:"0.26.1"}},3824:function(t){t.exports=function(t,e){return function(){for(var n=new Array(arguments.length),r=0;r<n.length;r++)n[r]=arguments[r];return t.apply(e,n)}}},3210:function(t,e,n){var r=n(610);function o(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}t.exports=function(t,e,n){if(!e)return t;var i;if(n)i=n(e);else if(r.isURLSearchParams(e))i=e.toString();else{var a=[];r.forEach(e,(function(t,e){null!=t&&(r.isArray(t)?e+="[]":t=[t],r.forEach(t,(function(t){r.isDate(t)?t=t.toISOString():r.isObject(t)&&(t=JSON.stringify(t)),a.push(o(e)+"="+o(t))})))})),i=a.join("&")}if(i){var s=t.indexOf("#");-1!==s&&(t=t.slice(0,s)),t+=(-1===t.indexOf("?")?"?":"&")+i}return t}},117:function(t){t.exports=function(t,e){return e?t.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,""):t}},4942:function(t,e,n){var r=n(610);t.exports=r.isStandardBrowserEnv()?{write:function(t,e,n,o,i,a){var s=[];s.push(t+"="+encodeURIComponent(e)),r.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),r.isString(o)&&s.push("path="+o),r.isString(i)&&s.push("domain="+i),!0===a&&s.push("secure"),document.cookie=s.join("; ")},read:function(t){var e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove:function(t){this.write(t,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},7204:function(t){t.exports=function(t){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)}},2101:function(t,e,n){var r=n(610);t.exports=function(t){return r.isObject(t)&&!0===t.isAxiosError}},9912:function(t,e,n){var r=n(610);t.exports=r.isStandardBrowserEnv()?function(){var t,e=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function o(t){var r=t;return e&&(n.setAttribute("href",r),r=n.href),n.setAttribute("href",r),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return t=o(window.location.href),function(e){var n=r.isString(e)?o(e):e;return n.protocol===t.protocol&&n.host===t.host}}():function(){return!0}},928:function(t,e,n){var r=n(610);t.exports=function(t,e){r.forEach(t,(function(n,r){r!==e&&r.toUpperCase()===e.toUpperCase()&&(t[e]=n,delete t[r])}))}},3741:function(t,e,n){var r=n(610),o=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];t.exports=function(t){var e,n,i,a={};return t?(r.forEach(t.split("\n"),(function(t){if(i=t.indexOf(":"),e=r.trim(t.substr(0,i)).toLowerCase(),n=r.trim(t.substr(i+1)),e){if(a[e]&&o.indexOf(e)>=0)return;a[e]="set-cookie"===e?(a[e]?a[e]:[]).concat([n]):a[e]?a[e]+", "+n:n}})),a):a}},8629:function(t){t.exports=function(t){return function(e){return t.apply(null,e)}}},6660:function(t,e,n){function r(t){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r(t)}var o=n(9815).version,i={};["object","boolean","number","function","string","symbol"].forEach((function(t,e){i[t]=function(n){return r(n)===t||"a"+(e<1?"n ":" ")+t}}));var a={};i.transitional=function(t,e,n){function r(t,e){return"[Axios v"+o+"] Transitional option '"+t+"'"+e+(n?". "+n:"")}return function(n,o,i){if(!1===t)throw new Error(r(o," has been removed"+(e?" in "+e:"")));return e&&!a[o]&&(a[o]=!0,console.warn(r(o," has been deprecated since v"+e+" and will be removed in the near future"))),!t||t(n,o,i)}},t.exports={assertOptions:function(t,e,n){if("object"!==r(t))throw new TypeError("options must be an object");for(var o=Object.keys(t),i=o.length;i-- >0;){var a=o[i],s=e[a];if(s){var c=t[a],u=void 0===c||s(c,a,t);if(!0!==u)throw new TypeError("option "+a+" must be "+u)}else if(!0!==n)throw Error("Unknown option "+a)}},validators:i}},610:function(t,e,n){function r(t){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r(t)}var o=n(3824),i=Object.prototype.toString;function a(t){return Array.isArray(t)}function s(t){return void 0===t}function c(t){return"[object ArrayBuffer]"===i.call(t)}function u(t){return null!==t&&"object"===r(t)}function l(t){if("[object Object]"!==i.call(t))return!1;var e=Object.getPrototypeOf(t);return null===e||e===Object.prototype}function p(t){return"[object Function]"===i.call(t)}function f(t,e){if(null!=t)if("object"!==r(t)&&(t=[t]),a(t))for(var n=0,o=t.length;n<o;n++)e.call(null,t[n],n,t);else for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.call(null,t[i],i,t)}t.exports={isArray:a,isArrayBuffer:c,isBuffer:function(t){return null!==t&&!s(t)&&null!==t.constructor&&!s(t.constructor)&&"function"==typeof t.constructor.isBuffer&&t.constructor.isBuffer(t)},isFormData:function(t){return"[object FormData]"===i.call(t)},isArrayBufferView:function(t){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(t):t&&t.buffer&&c(t.buffer)},isString:function(t){return"string"==typeof t},isNumber:function(t){return"number"==typeof t},isObject:u,isPlainObject:l,isUndefined:s,isDate:function(t){return"[object Date]"===i.call(t)},isFile:function(t){return"[object File]"===i.call(t)},isBlob:function(t){return"[object Blob]"===i.call(t)},isFunction:p,isStream:function(t){return u(t)&&p(t.pipe)},isURLSearchParams:function(t){return"[object URLSearchParams]"===i.call(t)},isStandardBrowserEnv:function(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&"undefined"!=typeof window&&"undefined"!=typeof document},forEach:f,merge:function t(){var e={};function n(n,r){l(e[r])&&l(n)?e[r]=t(e[r],n):l(n)?e[r]=t({},n):a(n)?e[r]=n.slice():e[r]=n}for(var r=0,o=arguments.length;r<o;r++)f(arguments[r],n);return e},extend:function(t,e,n){return f(e,(function(e,r){t[r]=n&&"function"==typeof e?o(e,n):e})),t},trim:function(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")},stripBOM:function(t){return 65279===t.charCodeAt(0)&&(t=t.slice(1)),t}}},5917:function(t,e,n){var r;!function(o){function i(t,e){var n=(65535&t)+(65535&e);return(t>>16)+(e>>16)+(n>>16)<<16|65535&n}function a(t,e,n,r,o,a){return i((s=i(i(e,t),i(r,a)))<<(c=o)|s>>>32-c,n);var s,c}function s(t,e,n,r,o,i,s){return a(e&n|~e&r,t,e,o,i,s)}function c(t,e,n,r,o,i,s){return a(e&r|n&~r,t,e,o,i,s)}function u(t,e,n,r,o,i,s){return a(e^n^r,t,e,o,i,s)}function l(t,e,n,r,o,i,s){return a(n^(e|~r),t,e,o,i,s)}function p(t,e){var n,r,o,a,p;t[e>>5]|=128<<e%32,t[14+(e+64>>>9<<4)]=e;var f=1732584193,d=-271733879,h=-1732584194,m=271733878;for(n=0;n<t.length;n+=16)r=f,o=d,a=h,p=m,f=s(f,d,h,m,t[n],7,-680876936),m=s(m,f,d,h,t[n+1],12,-389564586),h=s(h,m,f,d,t[n+2],17,606105819),d=s(d,h,m,f,t[n+3],22,-1044525330),f=s(f,d,h,m,t[n+4],7,-176418897),m=s(m,f,d,h,t[n+5],12,1200080426),h=s(h,m,f,d,t[n+6],17,-1473231341),d=s(d,h,m,f,t[n+7],22,-45705983),f=s(f,d,h,m,t[n+8],7,1770035416),m=s(m,f,d,h,t[n+9],12,-1958414417),h=s(h,m,f,d,t[n+10],17,-42063),d=s(d,h,m,f,t[n+11],22,-1990404162),f=s(f,d,h,m,t[n+12],7,1804603682),m=s(m,f,d,h,t[n+13],12,-40341101),h=s(h,m,f,d,t[n+14],17,-1502002290),f=c(f,d=s(d,h,m,f,t[n+15],22,1236535329),h,m,t[n+1],5,-165796510),m=c(m,f,d,h,t[n+6],9,-1069501632),h=c(h,m,f,d,t[n+11],14,643717713),d=c(d,h,m,f,t[n],20,-373897302),f=c(f,d,h,m,t[n+5],5,-701558691),m=c(m,f,d,h,t[n+10],9,38016083),h=c(h,m,f,d,t[n+15],14,-660478335),d=c(d,h,m,f,t[n+4],20,-405537848),f=c(f,d,h,m,t[n+9],5,568446438),m=c(m,f,d,h,t[n+14],9,-1019803690),h=c(h,m,f,d,t[n+3],14,-187363961),d=c(d,h,m,f,t[n+8],20,1163531501),f=c(f,d,h,m,t[n+13],5,-1444681467),m=c(m,f,d,h,t[n+2],9,-51403784),h=c(h,m,f,d,t[n+7],14,1735328473),f=u(f,d=c(d,h,m,f,t[n+12],20,-1926607734),h,m,t[n+5],4,-378558),m=u(m,f,d,h,t[n+8],11,-2022574463),h=u(h,m,f,d,t[n+11],16,1839030562),d=u(d,h,m,f,t[n+14],23,-35309556),f=u(f,d,h,m,t[n+1],4,-1530992060),m=u(m,f,d,h,t[n+4],11,1272893353),h=u(h,m,f,d,t[n+7],16,-155497632),d=u(d,h,m,f,t[n+10],23,-1094730640),f=u(f,d,h,m,t[n+13],4,681279174),m=u(m,f,d,h,t[n],11,-358537222),h=u(h,m,f,d,t[n+3],16,-722521979),d=u(d,h,m,f,t[n+6],23,76029189),f=u(f,d,h,m,t[n+9],4,-640364487),m=u(m,f,d,h,t[n+12],11,-421815835),h=u(h,m,f,d,t[n+15],16,530742520),f=l(f,d=u(d,h,m,f,t[n+2],23,-995338651),h,m,t[n],6,-198630844),m=l(m,f,d,h,t[n+7],10,1126891415),h=l(h,m,f,d,t[n+14],15,-1416354905),d=l(d,h,m,f,t[n+5],21,-57434055),f=l(f,d,h,m,t[n+12],6,1700485571),m=l(m,f,d,h,t[n+3],10,-1894986606),h=l(h,m,f,d,t[n+10],15,-1051523),d=l(d,h,m,f,t[n+1],21,-2054922799),f=l(f,d,h,m,t[n+8],6,1873313359),m=l(m,f,d,h,t[n+15],10,-30611744),h=l(h,m,f,d,t[n+6],15,-1560198380),d=l(d,h,m,f,t[n+13],21,1309151649),f=l(f,d,h,m,t[n+4],6,-145523070),m=l(m,f,d,h,t[n+11],10,-1120210379),h=l(h,m,f,d,t[n+2],15,718787259),d=l(d,h,m,f,t[n+9],21,-343485551),f=i(f,r),d=i(d,o),h=i(h,a),m=i(m,p);return[f,d,h,m]}function f(t){var e,n="",r=32*t.length;for(e=0;e<r;e+=8)n+=String.fromCharCode(t[e>>5]>>>e%32&255);return n}function d(t){var e,n=[];for(n[(t.length>>2)-1]=void 0,e=0;e<n.length;e+=1)n[e]=0;var r=8*t.length;for(e=0;e<r;e+=8)n[e>>5]|=(255&t.charCodeAt(e/8))<<e%32;return n}function h(t){var e,n,r="0123456789abcdef",o="";for(n=0;n<t.length;n+=1)e=t.charCodeAt(n),o+=r.charAt(e>>>4&15)+r.charAt(15&e);return o}function m(t){return unescape(encodeURIComponent(t))}function g(t){return function(t){return f(p(d(t),8*t.length))}(m(t))}function v(t,e){return function(t,e){var n,r,o=d(t),i=[],a=[];for(i[15]=a[15]=void 0,o.length>16&&(o=p(o,8*t.length)),n=0;n<16;n+=1)i[n]=909522486^o[n],a[n]=1549556828^o[n];return r=p(i.concat(d(e)),512+8*e.length),f(p(a.concat(r),640))}(m(t),m(e))}function y(t,e,n){return e?n?v(e,t):h(v(e,t)):n?g(t):h(g(t))}void 0===(r=function(){return y}.call(e,n,e,t))||(t.exports=r)}()},824:function(t,e,n){n(2353),n(3719),n(7279),n(6462),n(5048),n(3085),n(8149),n(1862),n(4151),n(1422),n(4289),n(7247),n(2490),n(513),n(5471),n(8848),n(7004),n(7678),n(4060),n(5283),n(1764),n(6831),n(5318),n(6597),n(6865),n(2750),n(7879),n(5878),n(2825),n(580),n(475),n(2346),n(1877),n(7156),n(6630),n(7494),n(8781),n(7533),n(3301),n(422),n(9705),n(711),n(6160),n(5387),n(4386),n(3568),n(6739),n(156),n(7022),n(4132),n(8463),n(3695),n(4795),n(7367),n(3184),n(6331),n(6617),n(2793),n(688),n(7793),n(5297),n(1937),n(7613),n(6270),n(7056),n(2307),n(3391),n(7770),n(8812),n(4518),n(5554),n(1986),n(7572),n(3844),n(8185),n(3375),n(5824),n(6103),n(2173),n(9752),n(8471),n(1655),n(2336),n(7909),n(760),n(5742),n(4358),n(9574),n(6167),n(7243),n(7084),n(9152),n(6674),n(2125),n(197),n(7536),n(3144),n(1094),n(7378),n(3774),n(9721),n(5488),n(9021),n(5743),n(7600),n(2953),n(3024),n(7977),n(5164),n(7679),n(900),n(3313),n(959),n(9511),n(6708),n(3443),n(5558),n(9159),n(8095),n(5977),n(5187),n(7444),n(925),n(7865),n(7053),n(3122),n(56),n(2162),n(1078),n(8981),n(9160),n(4082),n(1723),n(8324),n(7372),n(8490),n(7454),n(4728),t.exports=n(7619)},9265:function(t,e,n){n(8465),t.exports=n(7619).Array.flatMap},303:function(t,e,n){n(1248),t.exports=n(7619).Array.includes},6371:function(t,e,n){n(847),t.exports=n(7619).Object.entries},3618:function(t,e,n){n(3947),t.exports=n(7619).Object.getOwnPropertyDescriptors},1844:function(t,e,n){n(5378),t.exports=n(7619).Object.values},1446:function(t,e,n){n(5164),n(6002),t.exports=n(7619).Promise.finally},6753:function(t,e,n){n(4234),t.exports=n(7619).String.padEnd},706:function(t,e,n){n(7087),t.exports=n(7619).String.padStart},4906:function(t,e,n){n(4834),t.exports=n(7619).String.trimRight},730:function(t,e,n){n(4931),t.exports=n(7619).String.trimLeft},4525:function(t,e,n){n(6177),t.exports=n(185).f("asyncIterator")},9269:function(t,e,n){n(8440),t.exports=n(2467).global},4732:function(t){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},4921:function(t,e,n){var r=n(8096);t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},2467:function(t){var e=t.exports={version:"2.6.12"};"number"==typeof __e&&(__e=e)},8510:function(t,e,n){var r=n(4732);t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,o){return t.call(e,n,r,o)}}return function(){return t.apply(e,arguments)}}},825:function(t,e,n){t.exports=!n(7435)((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},4676:function(t,e,n){var r=n(8096),o=n(1554).document,i=r(o)&&r(o.createElement);t.exports=function(t){return i?o.createElement(t):{}}},5685:function(t,e,n){var r=n(1554),o=n(2467),i=n(8510),a=n(4609),s=n(1056),c=function t(e,n,c){var u,l,p,f=e&t.F,d=e&t.G,h=e&t.S,m=e&t.P,g=e&t.B,v=e&t.W,y=d?o:o[n]||(o[n]={}),b=y.prototype,w=d?r:h?r[n]:(r[n]||{}).prototype;for(u in d&&(c=n),c)(l=!f&&w&&void 0!==w[u])&&s(y,u)||(p=l?w[u]:c[u],y[u]=d&&"function"!=typeof w[u]?c[u]:g&&l?i(p,r):v&&w[u]==p?function(t){var e=function(e,n,r){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(e);case 2:return new t(e,n)}return new t(e,n,r)}return t.apply(this,arguments)};return e.prototype=t.prototype,e}(p):m&&"function"==typeof p?i(Function.call,p):p,m&&((y.virtual||(y.virtual={}))[u]=p,e&t.R&&b&&!b[u]&&a(b,u,p)))};c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,t.exports=c},7435:function(t){t.exports=function(t){try{return!!t()}catch(t){return!0}}},1554:function(t){var e=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=e)},1056:function(t){var e={}.hasOwnProperty;t.exports=function(t,n){return e.call(t,n)}},4609:function(t,e,n){var r=n(8052),o=n(3625);t.exports=n(825)?function(t,e,n){return r.f(t,e,o(1,n))}:function(t,e,n){return t[e]=n,t}},5481:function(t,e,n){t.exports=!n(825)&&!n(7435)((function(){return 7!=Object.defineProperty(n(4676)("div"),"a",{get:function(){return 7}}).a}))},8096:function(t){function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},e(t)}t.exports=function(t){return"object"===e(t)?null!==t:"function"==typeof t}},8052:function(t,e,n){var r=n(4921),o=n(5481),i=n(5497),a=Object.defineProperty;e.f=n(825)?Object.defineProperty:function(t,e,n){if(r(t),e=i(e,!0),r(n),o)try{return a(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},3625:function(t){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},5497:function(t,e,n){var r=n(8096);t.exports=function(t,e){if(!r(t))return t;var n,o;if(e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;if("function"==typeof(n=t.valueOf)&&!r(o=n.call(t)))return o;if(!e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},8440:function(t,e,n){var r=n(5685);r(r.G,{global:n(1554)})},3679:function(t){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},5801:function(t,e,n){var r=n(1647);t.exports=function(t,e){if("number"!=typeof t&&"Number"!=r(t))throw TypeError(e);return+t}},3680:function(t,e,n){var r=n(3567)("unscopables"),o=Array.prototype;null==o[r]&&n(6879)(o,r,{}),t.exports=function(t){o[r][t]=!0}},1501:function(t,e,n){var r=n(1692)(!0);t.exports=function(t,e,n){return e+(n?r(t,e).length:1)}},2450:function(t){t.exports=function(t,e,n,r){if(!(t instanceof e)||void 0!==r&&r in t)throw TypeError(n+": incorrect invocation!");return t}},8069:function(t,e,n){var r=n(3506);t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},2670:function(t,e,n){var r=n(4674),o=n(8413),i=n(1284);t.exports=[].copyWithin||function(t,e){var n=r(this),a=i(n.length),s=o(t,a),c=o(e,a),u=arguments.length>2?arguments[2]:void 0,l=Math.min((void 0===u?a:o(u,a))-c,a-s),p=1;for(c<s&&s<c+l&&(p=-1,c+=l-1,s+=l-1);l-- >0;)c in n?n[s]=n[c]:delete n[s],s+=p,c+=p;return n}},73:function(t,e,n){var r=n(4674),o=n(8413),i=n(1284);t.exports=function(t){for(var e=r(this),n=i(e.length),a=arguments.length,s=o(a>1?arguments[1]:void 0,n),c=a>2?arguments[2]:void 0,u=void 0===c?n:o(c,n);u>s;)e[s++]=t;return e}},6329:function(t,e,n){var r=n(8670),o=n(1284),i=n(8413);t.exports=function(t){return function(e,n,a){var s,c=r(e),u=o(c.length),l=i(a,u);if(t&&n!=n){for(;u>l;)if((s=c[l++])!=s)return!0}else for(;u>l;l++)if((t||l in c)&&c[l]===n)return t||l||0;return!t&&-1}}},3828:function(t,e,n){var r=n(7863),o=n(7751),i=n(4674),a=n(1284),s=n(5026);t.exports=function(t,e){var n=1==t,c=2==t,u=3==t,l=4==t,p=6==t,f=5==t||p,d=e||s;return function(e,s,h){for(var m,g,v=i(e),y=o(v),b=r(s,h,3),w=a(y.length),x=0,_=n?d(e,w):c?d(e,0):void 0;w>x;x++)if((f||x in y)&&(g=b(m=y[x],x,v),t))if(n)_[x]=g;else if(g)switch(t){case 3:return!0;case 5:return m;case 6:return x;case 2:_.push(m)}else if(l)return!1;return p?-1:u||l?l:_}}},9222:function(t,e,n){var r=n(3679),o=n(4674),i=n(7751),a=n(1284);t.exports=function(t,e,n,s,c){r(e);var u=o(t),l=i(u),p=a(u.length),f=c?p-1:0,d=c?-1:1;if(n<2)for(;;){if(f in l){s=l[f],f+=d;break}if(f+=d,c?f<0:p<=f)throw TypeError("Reduce of empty array with no initial value")}for(;c?f>=0:p>f;f+=d)f in l&&(s=e(s,l[f],f,u));return s}},2475:function(t,e,n){var r=n(3506),o=n(8151),i=n(3567)("species");t.exports=function(t){var e;return o(t)&&("function"!=typeof(e=t.constructor)||e!==Array&&!o(e.prototype)||(e=void 0),r(e)&&null===(e=e[i])&&(e=void 0)),void 0===e?Array:e}},5026:function(t,e,n){var r=n(2475);t.exports=function(t,e){return new(r(t))(e)}},6059:function(t,e,n){var r=n(3679),o=n(3506),i=n(4709),a=[].slice,s={},c=function(t,e,n){if(!(e in s)){for(var r=[],o=0;o<e;o++)r[o]="a["+o+"]";s[e]=Function("F,a","return new F("+r.join(",")+")")}return s[e](t,n)};t.exports=Function.bind||function(t){var e=r(this),n=a.call(arguments,1),s=function r(){var o=n.concat(a.call(arguments));return this instanceof r?c(e,o.length,o):i(e,o,t)};return o(e.prototype)&&(s.prototype=e.prototype),s}},9736:function(t,e,n){var r=n(1647),o=n(3567)("toStringTag"),i="Arguments"==r(function(){return arguments}());t.exports=function(t){var e,n,a;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=function(t,e){try{return t[e]}catch(t){}}(e=Object(t),o))?n:i?r(e):"Object"==(a=r(e))&&"function"==typeof e.callee?"Arguments":a}},1647:function(t){var e={}.toString;t.exports=function(t){return e.call(t).slice(8,-1)}},5019:function(t,e,n){var r=n(5395).f,o=n(1693),i=n(4112),a=n(7863),s=n(2450),c=n(8302),u=n(2117),l=n(3337),p=n(9629),f=n(508),d=n(3797).fastKey,h=n(1364),m=f?"_s":"size",g=function(t,e){var n,r=d(e);if("F"!==r)return t._i[r];for(n=t._f;n;n=n.n)if(n.k==e)return n};t.exports={getConstructor:function(t,e,n,u){var l=t((function(t,r){s(t,l,e,"_i"),t._t=e,t._i=o(null),t._f=void 0,t._l=void 0,t[m]=0,null!=r&&c(r,n,t[u],t)}));return i(l.prototype,{clear:function(){for(var t=h(this,e),n=t._i,r=t._f;r;r=r.n)r.r=!0,r.p&&(r.p=r.p.n=void 0),delete n[r.i];t._f=t._l=void 0,t[m]=0},delete:function(t){var n=h(this,e),r=g(n,t);if(r){var o=r.n,i=r.p;delete n._i[r.i],r.r=!0,i&&(i.n=o),o&&(o.p=i),n._f==r&&(n._f=o),n._l==r&&(n._l=i),n[m]--}return!!r},forEach:function(t){h(this,e);for(var n,r=a(t,arguments.length>1?arguments[1]:void 0,3);n=n?n.n:this._f;)for(r(n.v,n.k,this);n&&n.r;)n=n.p},has:function(t){return!!g(h(this,e),t)}}),f&&r(l.prototype,"size",{get:function(){return h(this,e)[m]}}),l},def:function(t,e,n){var r,o,i=g(t,e);return i?i.v=n:(t._l=i={i:o=d(e,!0),k:e,v:n,p:r=t._l,n:void 0,r:!1},t._f||(t._f=i),r&&(r.n=i),t[m]++,"F"!==o&&(t._i[o]=i)),t},getEntry:g,setStrong:function(t,e,n){u(t,e,(function(t,n){this._t=h(t,e),this._k=n,this._l=void 0}),(function(){for(var t=this,e=t._k,n=t._l;n&&n.r;)n=n.p;return t._t&&(t._l=n=n?n.n:t._t._f)?l(0,"keys"==e?n.k:"values"==e?n.v:[n.k,n.v]):(t._t=void 0,l(1))}),n?"entries":"values",!n,!0),p(e)}}},8888:function(t,e,n){var r=n(4112),o=n(3797).getWeak,i=n(8069),a=n(3506),s=n(2450),c=n(8302),u=n(3828),l=n(4307),p=n(1364),f=u(5),d=u(6),h=0,m=function(t){return t._l||(t._l=new g)},g=function(){this.a=[]},v=function(t,e){return f(t.a,(function(t){return t[0]===e}))};g.prototype={get:function(t){var e=v(this,t);if(e)return e[1]},has:function(t){return!!v(this,t)},set:function(t,e){var n=v(this,t);n?n[1]=e:this.a.push([t,e])},delete:function(t){var e=d(this.a,(function(e){return e[0]===t}));return~e&&this.a.splice(e,1),!!~e}},t.exports={getConstructor:function(t,e,n,i){var u=t((function(t,r){s(t,u,e,"_i"),t._t=e,t._i=h++,t._l=void 0,null!=r&&c(r,n,t[i],t)}));return r(u.prototype,{delete:function(t){if(!a(t))return!1;var n=o(t);return!0===n?m(p(this,e)).delete(t):n&&l(n,this._i)&&delete n[this._i]},has:function(t){if(!a(t))return!1;var n=o(t);return!0===n?m(p(this,e)).has(t):n&&l(n,this._i)}}),u},def:function(t,e,n){var r=o(i(e),!0);return!0===r?m(t).set(e,n):r[t._i]=n,t},ufstore:m}},1107:function(t,e,n){var r=n(3349),o=n(3276),i=n(5911),a=n(4112),s=n(3797),c=n(8302),u=n(2450),l=n(3506),p=n(4277),f=n(2569),d=n(481),h=n(672);t.exports=function(t,e,n,m,g,v){var y=r[t],b=y,w=g?"set":"add",x=b&&b.prototype,_={},A=function(t){var e=x[t];i(x,t,"delete"==t||"has"==t?function(t){return!(v&&!l(t))&&e.call(this,0===t?0:t)}:"get"==t?function(t){return v&&!l(t)?void 0:e.call(this,0===t?0:t)}:"add"==t?function(t){return e.call(this,0===t?0:t),this}:function(t,n){return e.call(this,0===t?0:t,n),this})};if("function"==typeof b&&(v||x.forEach&&!p((function(){(new b).entries().next()})))){var k=new b,E=k[w](v?{}:-0,1)!=k,S=p((function(){k.has(1)})),T=f((function(t){new b(t)})),C=!v&&p((function(){for(var t=new b,e=5;e--;)t[w](e,e);return!t.has(-0)}));T||((b=e((function(e,n){u(e,b,t);var r=h(new y,e,b);return null!=n&&c(n,g,r[w],r),r}))).prototype=x,x.constructor=b),(S||C)&&(A("delete"),A("has"),g&&A("get")),(C||E)&&A(w),v&&x.clear&&delete x.clear}else b=m.getConstructor(e,t,g,w),a(b.prototype,n),s.NEED=!0;return d(b,t),_[t]=b,o(o.G+o.W+o.F*(b!=y),_),v||m.setStrong(b,t,g),b}},7619:function(t){var e=t.exports={version:"2.6.12"};"number"==typeof __e&&(__e=e)},5094:function(t,e,n){var r=n(5395),o=n(432);t.exports=function(t,e,n){e in t?r.f(t,e,o(0,n)):t[e]=n}},7863:function(t,e,n){var r=n(3679);t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,o){return t.call(e,n,r,o)}}return function(){return t.apply(e,arguments)}}},5325:function(t,e,n){var r=n(4277),o=Date.prototype.getTime,i=Date.prototype.toISOString,a=function(t){return t>9?t:"0"+t};t.exports=r((function(){return"0385-07-25T07:06:39.999Z"!=i.call(new Date(-50000000000001))}))||!r((function(){i.call(new Date(NaN))}))?function(){if(!isFinite(o.call(this)))throw RangeError("Invalid time value");var t=this,e=t.getUTCFullYear(),n=t.getUTCMilliseconds(),r=e<0?"-":e>9999?"+":"";return r+("00000"+Math.abs(e)).slice(r?-6:-4)+"-"+a(t.getUTCMonth()+1)+"-"+a(t.getUTCDate())+"T"+a(t.getUTCHours())+":"+a(t.getUTCMinutes())+":"+a(t.getUTCSeconds())+"."+(n>99?n:"0"+a(n))+"Z"}:i},2556:function(t,e,n){var r=n(8069),o=n(2950),i="number";t.exports=function(t){if("string"!==t&&t!==i&&"default"!==t)throw TypeError("Incorrect hint");return o(r(this),t!=i)}},6022:function(t){t.exports=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t}},508:function(t,e,n){t.exports=!n(4277)((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},8931:function(t,e,n){var r=n(3506),o=n(3349).document,i=r(o)&&r(o.createElement);t.exports=function(t){return i?o.createElement(t):{}}},5148:function(t){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},2337:function(t,e,n){var r=n(4190),o=n(4128),i=n(2224);t.exports=function(t){var e=r(t),n=o.f;if(n)for(var a,s=n(t),c=i.f,u=0;s.length>u;)c.call(t,a=s[u++])&&e.push(a);return e}},3276:function(t,e,n){var r=n(3349),o=n(7619),i=n(6879),a=n(5911),s=n(7863),c=function t(e,n,c){var u,l,p,f,d=e&t.F,h=e&t.G,m=e&t.P,g=e&t.B,v=h?r:e&t.S?r[n]||(r[n]={}):(r[n]||{}).prototype,y=h?o:o[n]||(o[n]={}),b=y.prototype||(y.prototype={});for(u in h&&(c=n),c)p=((l=!d&&v&&void 0!==v[u])?v:c)[u],f=g&&l?s(p,r):m&&"function"==typeof p?s(Function.call,p):p,v&&a(v,u,p,e&t.U),y[u]!=p&&i(y,u,f),m&&b[u]!=p&&(b[u]=p)};r.core=o,c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,t.exports=c},8834:function(t,e,n){var r=n(3567)("match");t.exports=function(t){var e=/./;try{"/./"[t](e)}catch(n){try{return e[r]=!1,!"/./"[t](e)}catch(t){}}return!0}},4277:function(t){t.exports=function(t){try{return!!t()}catch(t){return!0}}},5844:function(t,e,n){n(5488);var r=n(5911),o=n(6879),i=n(4277),a=n(6022),s=n(3567),c=n(1796),u=s("species"),l=!i((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")})),p=function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var n="ab".split(t);return 2===n.length&&"a"===n[0]&&"b"===n[1]}();t.exports=function(t,e,n){var f=s(t),d=!i((function(){var e={};return e[f]=function(){return 7},7!=""[t](e)})),h=d?!i((function(){var e=!1,n=/a/;return n.exec=function(){return e=!0,null},"split"===t&&(n.constructor={},n.constructor[u]=function(){return n}),n[f](""),!e})):void 0;if(!d||!h||"replace"===t&&!l||"split"===t&&!p){var m=/./[f],g=n(a,f,""[t],(function(t,e,n,r,o){return e.exec===c?d&&!o?{done:!0,value:m.call(e,n,r)}:{done:!0,value:t.call(n,e,r)}:{done:!1}})),v=g[0],y=g[1];r(String.prototype,t,v),o(RegExp.prototype,f,2==e?function(t,e){return y.call(t,this,e)}:function(t){return y.call(t,this)})}}},5056:function(t,e,n){var r=n(8069);t.exports=function(){var t=r(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e}},1835:function(t,e,n){var r=n(8151),o=n(3506),i=n(1284),a=n(7863),s=n(3567)("isConcatSpreadable");t.exports=function t(e,n,c,u,l,p,f,d){for(var h,m,g=l,v=0,y=!!f&&a(f,d,3);v<u;){if(v in c){if(h=y?y(c[v],v,n):c[v],m=!1,o(h)&&(m=void 0!==(m=h[s])?!!m:r(h)),m&&p>0)g=t(e,n,h,i(h.length),g,p-1)-1;else{if(g>=9007199254740991)throw TypeError();e[g]=h}g++}v++}return g}},8302:function(t,e,n){var r=n(7863),o=n(5684),i=n(6136),a=n(8069),s=n(1284),c=n(3613),u={},l={},p=t.exports=function(t,e,n,p,f){var d,h,m,g,v=f?function(){return t}:c(t),y=r(n,p,e?2:1),b=0;if("function"!=typeof v)throw TypeError(t+" is not iterable!");if(i(v)){for(d=s(t.length);d>b;b++)if((g=e?y(a(h=t[b])[0],h[1]):y(t[b]))===u||g===l)return g}else for(m=v.call(t);!(h=m.next()).done;)if((g=o(m,y,h.value,e))===u||g===l)return g};p.BREAK=u,p.RETURN=l},3699:function(t,e,n){t.exports=n(1375)("native-function-to-string",Function.toString)},3349:function(t){var e=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=e)},4307:function(t){var e={}.hasOwnProperty;t.exports=function(t,n){return e.call(t,n)}},6879:function(t,e,n){var r=n(5395),o=n(432);t.exports=n(508)?function(t,e,n){return r.f(t,e,o(1,n))}:function(t,e,n){return t[e]=n,t}},9684:function(t,e,n){var r=n(3349).document;t.exports=r&&r.documentElement},7581:function(t,e,n){t.exports=!n(508)&&!n(4277)((function(){return 7!=Object.defineProperty(n(8931)("div"),"a",{get:function(){return 7}}).a}))},672:function(t,e,n){var r=n(3506),o=n(4106).set;t.exports=function(t,e,n){var i,a=e.constructor;return a!==n&&"function"==typeof a&&(i=a.prototype)!==n.prototype&&r(i)&&o&&o(t,i),t}},4709:function(t){t.exports=function(t,e,n){var r=void 0===n;switch(e.length){case 0:return r?t():t.call(n);case 1:return r?t(e[0]):t.call(n,e[0]);case 2:return r?t(e[0],e[1]):t.call(n,e[0],e[1]);case 3:return r?t(e[0],e[1],e[2]):t.call(n,e[0],e[1],e[2]);case 4:return r?t(e[0],e[1],e[2],e[3]):t.call(n,e[0],e[1],e[2],e[3])}return t.apply(n,e)}},7751:function(t,e,n){var r=n(1647);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},6136:function(t,e,n){var r=n(9746),o=n(3567)("iterator"),i=Array.prototype;t.exports=function(t){return void 0!==t&&(r.Array===t||i[o]===t)}},8151:function(t,e,n){var r=n(1647);t.exports=Array.isArray||function(t){return"Array"==r(t)}},3830:function(t,e,n){var r=n(3506),o=Math.floor;t.exports=function(t){return!r(t)&&isFinite(t)&&o(t)===t}},3506:function(t){function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},e(t)}t.exports=function(t){return"object"===e(t)?null!==t:"function"==typeof t}},2741:function(t,e,n){var r=n(3506),o=n(1647),i=n(3567)("match");t.exports=function(t){var e;return r(t)&&(void 0!==(e=t[i])?!!e:"RegExp"==o(t))}},5684:function(t,e,n){var r=n(8069);t.exports=function(t,e,n,o){try{return o?e(r(n)[0],n[1]):e(n)}catch(e){var i=t.return;throw void 0!==i&&r(i.call(t)),e}}},4076:function(t,e,n){var r=n(1693),o=n(432),i=n(481),a={};n(6879)(a,n(3567)("iterator"),(function(){return this})),t.exports=function(t,e,n){t.prototype=r(a,{next:o(1,n)}),i(t,e+" Iterator")}},2117:function(t,e,n){var r=n(5437),o=n(3276),i=n(5911),a=n(6879),s=n(9746),c=n(4076),u=n(481),l=n(8300),p=n(3567)("iterator"),f=!([].keys&&"next"in[].keys()),d="keys",h="values",m=function(){return this};t.exports=function(t,e,n,g,v,y,b){c(n,e,g);var w,x,_,A=function(t){if(!f&&t in T)return T[t];switch(t){case d:case h:return function(){return new n(this,t)}}return function(){return new n(this,t)}},k=e+" Iterator",E=v==h,S=!1,T=t.prototype,C=T[p]||T["@@iterator"]||v&&T[v],P=C||A(v),O=v?E?A("entries"):P:void 0,L="Array"==e&&T.entries||C;if(L&&(_=l(L.call(new t)))!==Object.prototype&&_.next&&(u(_,k,!0),r||"function"==typeof _[p]||a(_,p,m)),E&&C&&C.name!==h&&(S=!0,P=function(){return C.call(this)}),r&&!b||!f&&!S&&T[p]||a(T,p,P),s[e]=P,s[k]=m,v)if(w={values:E?P:A(h),keys:y?P:A(d),entries:O},b)for(x in w)x in T||i(T,x,w[x]);else o(o.P+o.F*(f||S),e,w);return w}},2569:function(t,e,n){var r=n(3567)("iterator"),o=!1;try{var i=[7][r]();i.return=function(){o=!0},Array.from(i,(function(){throw 2}))}catch(t){}t.exports=function(t,e){if(!e&&!o)return!1;var n=!1;try{var i=[7],a=i[r]();a.next=function(){return{done:n=!0}},i[r]=function(){return a},t(i)}catch(t){}return n}},3337:function(t){t.exports=function(t,e){return{value:e,done:!!t}}},9746:function(t){t.exports={}},5437:function(t){t.exports=!1},2998:function(t){var e=Math.expm1;t.exports=!e||e(10)>22025.465794806718||e(10)<22025.465794806718||-2e-17!=e(-2e-17)?function(t){return 0==(t=+t)?t:t>-1e-6&&t<1e-6?t+t*t/2:Math.exp(t)-1}:e},4619:function(t,e,n){var r=n(5596),o=Math.pow,i=o(2,-52),a=o(2,-23),s=o(2,127)*(2-a),c=o(2,-126);t.exports=Math.fround||function(t){var e,n,o=Math.abs(t),u=r(t);return o<c?u*(o/c/a+1/i-1/i)*c*a:(n=(e=(1+a/i)*o)-(e-o))>s||n!=n?u*(1/0):u*n}},5242:function(t){t.exports=Math.log1p||function(t){return(t=+t)>-1e-8&&t<1e-8?t-t*t/2:Math.log(1+t)}},5596:function(t){t.exports=Math.sign||function(t){return 0==(t=+t)||t!=t?t:t<0?-1:1}},3797:function(t,e,n){function r(t){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r(t)}var o=n(7398)("meta"),i=n(3506),a=n(4307),s=n(5395).f,c=0,u=Object.isExtensible||function(){return!0},l=!n(4277)((function(){return u(Object.preventExtensions({}))})),p=function(t){s(t,o,{value:{i:"O"+ ++c,w:{}}})},f=t.exports={KEY:o,NEED:!1,fastKey:function(t,e){if(!i(t))return"symbol"==r(t)?t:("string"==typeof t?"S":"P")+t;if(!a(t,o)){if(!u(t))return"F";if(!e)return"E";p(t)}return t[o].i},getWeak:function(t,e){if(!a(t,o)){if(!u(t))return!0;if(!e)return!1;p(t)}return t[o].w},onFreeze:function(t){return l&&f.NEED&&u(t)&&!a(t,o)&&p(t),t}}},2739:function(t,e,n){var r=n(3349),o=n(2007).set,i=r.MutationObserver||r.WebKitMutationObserver,a=r.process,s=r.Promise,c="process"==n(1647)(a);t.exports=function(){var t,e,n,u=function(){var r,o;for(c&&(r=a.domain)&&r.exit();t;){o=t.fn,t=t.next;try{o()}catch(r){throw t?n():e=void 0,r}}e=void 0,r&&r.enter()};if(c)n=function(){a.nextTick(u)};else if(!i||r.navigator&&r.navigator.standalone)if(s&&s.resolve){var l=s.resolve(void 0);n=function(){l.then(u)}}else n=function(){o.call(r,u)};else{var p=!0,f=document.createTextNode("");new i(u).observe(f,{characterData:!0}),n=function(){f.data=p=!p}}return function(r){var o={fn:r,next:void 0};e&&(e.next=o),t||(t=o,n()),e=o}}},8238:function(t,e,n){var r=n(3679);function o(t){var e,n;this.promise=new t((function(t,r){if(void 0!==e||void 0!==n)throw TypeError("Bad Promise constructor");e=t,n=r})),this.resolve=r(e),this.reject=r(n)}t.exports.f=function(t){return new o(t)}},4236:function(t,e,n){var r=n(508),o=n(4190),i=n(4128),a=n(2224),s=n(4674),c=n(7751),u=Object.assign;t.exports=!u||n(4277)((function(){var t={},e={},n=Symbol(),r="abcdefghijklmnopqrst";return t[n]=7,r.split("").forEach((function(t){e[t]=t})),7!=u({},t)[n]||Object.keys(u({},e)).join("")!=r}))?function(t,e){for(var n=s(t),u=arguments.length,l=1,p=i.f,f=a.f;u>l;)for(var d,h=c(arguments[l++]),m=p?o(h).concat(p(h)):o(h),g=m.length,v=0;g>v;)d=m[v++],r&&!f.call(h,d)||(n[d]=h[d]);return n}:u},1693:function(t,e,n){var r=n(8069),o=n(4553),i=n(5148),a=n(7967)("IE_PROTO"),s=function(){},c=function(){var t,e=n(8931)("iframe"),r=i.length;for(e.style.display="none",n(9684).appendChild(e),e.src="javascript:",(t=e.contentWindow.document).open(),t.write("<script>document.F=Object<\/script>"),t.close(),c=t.F;r--;)delete c.prototype[i[r]];return c()};t.exports=Object.create||function(t,e){var n;return null!==t?(s.prototype=r(t),n=new s,s.prototype=null,n[a]=t):n=c(),void 0===e?n:o(n,e)}},5395:function(t,e,n){var r=n(8069),o=n(7581),i=n(2950),a=Object.defineProperty;e.f=n(508)?Object.defineProperty:function(t,e,n){if(r(t),e=i(e,!0),r(n),o)try{return a(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},4553:function(t,e,n){var r=n(5395),o=n(8069),i=n(4190);t.exports=n(508)?Object.defineProperties:function(t,e){o(t);for(var n,a=i(e),s=a.length,c=0;s>c;)r.f(t,n=a[c++],e[n]);return t}},833:function(t,e,n){var r=n(2224),o=n(432),i=n(8670),a=n(2950),s=n(4307),c=n(7581),u=Object.getOwnPropertyDescriptor;e.f=n(508)?u:function(t,e){if(t=i(t),e=a(e,!0),c)try{return u(t,e)}catch(t){}if(s(t,e))return o(!r.f.call(t,e),t[e])}},645:function(t,e,n){function r(t){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r(t)}var o=n(8670),i=n(1676).f,a={}.toString,s="object"==("undefined"==typeof window?"undefined":r(window))&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];t.exports.f=function(t){return s&&"[object Window]"==a.call(t)?function(t){try{return i(t)}catch(t){return s.slice()}}(t):i(o(t))}},1676:function(t,e,n){var r=n(9593),o=n(5148).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,o)}},4128:function(t,e){e.f=Object.getOwnPropertySymbols},8300:function(t,e,n){var r=n(4307),o=n(4674),i=n(7967)("IE_PROTO"),a=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=o(t),r(t,i)?t[i]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?a:null}},9593:function(t,e,n){var r=n(4307),o=n(8670),i=n(6329)(!1),a=n(7967)("IE_PROTO");t.exports=function(t,e){var n,s=o(t),c=0,u=[];for(n in s)n!=a&&r(s,n)&&u.push(n);for(;e.length>c;)r(s,n=e[c++])&&(~i(u,n)||u.push(n));return u}},4190:function(t,e,n){var r=n(9593),o=n(5148);t.exports=Object.keys||function(t){return r(t,o)}},2224:function(t,e){e.f={}.propertyIsEnumerable},139:function(t,e,n){var r=n(3276),o=n(7619),i=n(4277);t.exports=function(t,e){var n=(o.Object||{})[t]||Object[t],a={};a[t]=e(n),r(r.S+r.F*i((function(){n(1)})),"Object",a)}},4399:function(t,e,n){var r=n(508),o=n(4190),i=n(8670),a=n(2224).f;t.exports=function(t){return function(e){for(var n,s=i(e),c=o(s),u=c.length,l=0,p=[];u>l;)n=c[l++],r&&!a.call(s,n)||p.push(t?[n,s[n]]:s[n]);return p}}},456:function(t,e,n){var r=n(1676),o=n(4128),i=n(8069),a=n(3349).Reflect;t.exports=a&&a.ownKeys||function(t){var e=r.f(i(t)),n=o.f;return n?e.concat(n(t)):e}},3135:function(t,e,n){var r=n(3349).parseFloat,o=n(2829).trim;t.exports=1/r(n(3945)+"-0")!=-1/0?function(t){var e=o(String(t),3),n=r(e);return 0===n&&"-"==e.charAt(0)?-0:n}:r},2134:function(t,e,n){var r=n(3349).parseInt,o=n(2829).trim,i=n(3945),a=/^[-+]?0[xX]/;t.exports=8!==r(i+"08")||22!==r(i+"0x16")?function(t,e){var n=o(String(t),3);return r(n,e>>>0||(a.test(n)?16:10))}:r},5243:function(t){t.exports=function(t){try{return{e:!1,v:t()}}catch(t){return{e:!0,v:t}}}},5750:function(t,e,n){var r=n(8069),o=n(3506),i=n(8238);t.exports=function(t,e){if(r(t),o(e)&&e.constructor===t)return e;var n=i.f(t);return(0,n.resolve)(e),n.promise}},432:function(t){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},4112:function(t,e,n){var r=n(5911);t.exports=function(t,e,n){for(var o in e)r(t,o,e[o],n);return t}},5911:function(t,e,n){var r=n(3349),o=n(6879),i=n(4307),a=n(7398)("src"),s=n(3699),c="toString",u=(""+s).split(c);n(7619).inspectSource=function(t){return s.call(t)},(t.exports=function(t,e,n,s){var c="function"==typeof n;c&&(i(n,"name")||o(n,"name",e)),t[e]!==n&&(c&&(i(n,a)||o(n,a,t[e]?""+t[e]:u.join(String(e)))),t===r?t[e]=n:s?t[e]?t[e]=n:o(t,e,n):(delete t[e],o(t,e,n)))})(Function.prototype,c,(function(){return"function"==typeof this&&this[a]||s.call(this)}))},3059:function(t,e,n){function r(t){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r(t)}var o=n(9736),i=RegExp.prototype.exec;t.exports=function(t,e){var n=t.exec;if("function"==typeof n){var a=n.call(t,e);if("object"!==r(a))throw new TypeError("RegExp exec method returned something other than an Object or null");return a}if("RegExp"!==o(t))throw new TypeError("RegExp#exec called on incompatible receiver");return i.call(t,e)}},1796:function(t,e,n){var r,o,i=n(5056),a=RegExp.prototype.exec,s=String.prototype.replace,c=a,u=(r=/a/,o=/b*/g,a.call(r,"a"),a.call(o,"a"),0!==r.lastIndex||0!==o.lastIndex),l=void 0!==/()??/.exec("")[1];(u||l)&&(c=function(t){var e,n,r,o,c=this;return l&&(n=new RegExp("^"+c.source+"$(?!\\s)",i.call(c))),u&&(e=c.lastIndex),r=a.call(c,t),u&&r&&(c.lastIndex=c.global?r.index+r[0].length:e),l&&r&&r.length>1&&s.call(r[0],n,(function(){for(o=1;o<arguments.length-2;o++)void 0===arguments[o]&&(r[o]=void 0)})),r}),t.exports=c},5681:function(t){t.exports=Object.is||function(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e}},4106:function(t,e,n){var r=n(3506),o=n(8069),i=function(t,e){if(o(t),!r(e)&&null!==e)throw TypeError(e+": can't set as prototype!")};t.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(t,e,r){try{(r=n(7863)(Function.call,n(833).f(Object.prototype,"__proto__").set,2))(t,[]),e=!(t instanceof Array)}catch(t){e=!0}return function(t,n){return i(t,n),e?t.__proto__=n:r(t,n),t}}({},!1):void 0),check:i}},9629:function(t,e,n){var r=n(3349),o=n(5395),i=n(508),a=n(3567)("species");t.exports=function(t){var e=r[t];i&&e&&!e[a]&&o.f(e,a,{configurable:!0,get:function(){return this}})}},481:function(t,e,n){var r=n(5395).f,o=n(4307),i=n(3567)("toStringTag");t.exports=function(t,e,n){t&&!o(t=n?t:t.prototype,i)&&r(t,i,{configurable:!0,value:e})}},7967:function(t,e,n){var r=n(1375)("keys"),o=n(7398);t.exports=function(t){return r[t]||(r[t]=o(t))}},1375:function(t,e,n){var r=n(7619),o=n(3349),i="__core-js_shared__",a=o[i]||(o[i]={});(t.exports=function(t,e){return a[t]||(a[t]=void 0!==e?e:{})})("versions",[]).push({version:r.version,mode:n(5437)?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},5168:function(t,e,n){var r=n(8069),o=n(3679),i=n(3567)("species");t.exports=function(t,e){var n,a=r(t).constructor;return void 0===a||null==(n=r(a)[i])?e:o(n)}},4433:function(t,e,n){var r=n(4277);t.exports=function(t,e){return!!t&&r((function(){e?t.call(null,(function(){}),1):t.call(null)}))}},1692:function(t,e,n){var r=n(8591),o=n(6022);t.exports=function(t){return function(e,n){var i,a,s=String(o(e)),c=r(n),u=s.length;return c<0||c>=u?t?"":void 0:(i=s.charCodeAt(c))<55296||i>56319||c+1===u||(a=s.charCodeAt(c+1))<56320||a>57343?t?s.charAt(c):i:t?s.slice(c,c+2):a-56320+(i-55296<<10)+65536}}},2445:function(t,e,n){var r=n(2741),o=n(6022);t.exports=function(t,e,n){if(r(e))throw TypeError("String#"+n+" doesn't accept regex!");return String(o(t))}},591:function(t,e,n){var r=n(3276),o=n(4277),i=n(6022),a=/"/g,s=function(t,e,n,r){var o=String(i(t)),s="<"+e;return""!==n&&(s+=" "+n+'="'+String(r).replace(a,""")+'"'),s+">"+o+"</"+e+">"};t.exports=function(t,e){var n={};n[t]=e(s),r(r.P+r.F*o((function(){var e=""[t]('"');return e!==e.toLowerCase()||e.split('"').length>3})),"String",n)}},2713:function(t,e,n){var r=n(1284),o=n(5067),i=n(6022);t.exports=function(t,e,n,a){var s=String(i(t)),c=s.length,u=void 0===n?" ":String(n),l=r(e);if(l<=c||""==u)return s;var p=l-c,f=o.call(u,Math.ceil(p/u.length));return f.length>p&&(f=f.slice(0,p)),a?f+s:s+f}},5067:function(t,e,n){var r=n(8591),o=n(6022);t.exports=function(t){var e=String(o(this)),n="",i=r(t);if(i<0||i==1/0)throw RangeError("Count can't be negative");for(;i>0;(i>>>=1)&&(e+=e))1&i&&(n+=e);return n}},2829:function(t,e,n){var r=n(3276),o=n(6022),i=n(4277),a=n(3945),s="["+a+"]",c=RegExp("^"+s+s+"*"),u=RegExp(s+s+"*$"),l=function(t,e,n){var o={},s=i((function(){return!!a[t]()||"
"!="
"[t]()})),c=o[t]=s?e(p):a[t];n&&(o[n]=c),r(r.P+r.F*s,"String",o)},p=l.trim=function(t,e){return t=String(o(t)),1&e&&(t=t.replace(c,"")),2&e&&(t=t.replace(u,"")),t};t.exports=l},3945:function(t){t.exports="\t\n\v\f\r \u2028\u2029\ufeff"},2007:function(t,e,n){var r,o,i,a=n(7863),s=n(4709),c=n(9684),u=n(8931),l=n(3349),p=l.process,f=l.setImmediate,d=l.clearImmediate,h=l.MessageChannel,m=l.Dispatch,g=0,v={},y=function(){var t=+this;if(v.hasOwnProperty(t)){var e=v[t];delete v[t],e()}},b=function(t){y.call(t.data)};f&&d||(f=function(t){for(var e=[],n=1;arguments.length>n;)e.push(arguments[n++]);return v[++g]=function(){s("function"==typeof t?t:Function(t),e)},r(g),g},d=function(t){delete v[t]},"process"==n(1647)(p)?r=function(t){p.nextTick(a(y,t,1))}:m&&m.now?r=function(t){m.now(a(y,t,1))}:h?(i=(o=new h).port2,o.port1.onmessage=b,r=a(i.postMessage,i,1)):l.addEventListener&&"function"==typeof postMessage&&!l.importScripts?(r=function(t){l.postMessage(t+"","*")},l.addEventListener("message",b,!1)):r="onreadystatechange"in u("script")?function(t){c.appendChild(u("script")).onreadystatechange=function(){c.removeChild(this),y.call(t)}}:function(t){setTimeout(a(y,t,1),0)}),t.exports={set:f,clear:d}},8413:function(t,e,n){var r=n(8591),o=Math.max,i=Math.min;t.exports=function(t,e){return(t=r(t))<0?o(t+e,0):i(t,e)}},5568:function(t,e,n){var r=n(8591),o=n(1284);t.exports=function(t){if(void 0===t)return 0;var e=r(t),n=o(e);if(e!==n)throw RangeError("Wrong length!");return n}},8591:function(t){var e=Math.ceil,n=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?n:e)(t)}},8670:function(t,e,n){var r=n(7751),o=n(6022);t.exports=function(t){return r(o(t))}},1284:function(t,e,n){var r=n(8591),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},4674:function(t,e,n){var r=n(6022);t.exports=function(t){return Object(r(t))}},2950:function(t,e,n){var r=n(3506);t.exports=function(t,e){if(!r(t))return t;var n,o;if(e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;if("function"==typeof(n=t.valueOf)&&!r(o=n.call(t)))return o;if(!e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},6500:function(t,e,n){function r(t){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r(t)}if(n(508)){var o=n(5437),i=n(3349),a=n(4277),s=n(3276),c=n(6303),u=n(2428),l=n(7863),p=n(2450),f=n(432),d=n(6879),h=n(4112),m=n(8591),g=n(1284),v=n(5568),y=n(8413),b=n(2950),w=n(4307),x=n(9736),_=n(3506),A=n(4674),k=n(6136),E=n(1693),S=n(8300),T=n(1676).f,C=n(3613),P=n(7398),O=n(3567),L=n(3828),M=n(6329),R=n(5168),I=n(3774),j=n(9746),D=n(2569),B=n(9629),N=n(73),U=n(2670),$=n(5395),F=n(833),G=$.f,q=F.f,K=i.RangeError,H=i.TypeError,V=i.Uint8Array,z="ArrayBuffer",W="SharedArrayBuffer",X="BYTES_PER_ELEMENT",Y=Array.prototype,Z=u.ArrayBuffer,Q=u.DataView,J=L(0),tt=L(2),et=L(3),nt=L(4),rt=L(5),ot=L(6),it=M(!0),at=M(!1),st=I.values,ct=I.keys,ut=I.entries,lt=Y.lastIndexOf,pt=Y.reduce,ft=Y.reduceRight,dt=Y.join,ht=Y.sort,mt=Y.slice,gt=Y.toString,vt=Y.toLocaleString,yt=O("iterator"),bt=O("toStringTag"),wt=P("typed_constructor"),xt=P("def_constructor"),_t=c.CONSTR,At=c.TYPED,kt=c.VIEW,Et="Wrong length!",St=L(1,(function(t,e){return Lt(R(t,t[xt]),e)})),Tt=a((function(){return 1===new V(new Uint16Array([1]).buffer)[0]})),Ct=!!V&&!!V.prototype.set&&a((function(){new V(1).set({})})),Pt=function(t,e){var n=m(t);if(n<0||n%e)throw K("Wrong offset!");return n},Ot=function(t){if(_(t)&&At in t)return t;throw H(t+" is not a typed array!")},Lt=function(t,e){if(!_(t)||!(wt in t))throw H("It is not a typed array constructor!");return new t(e)},Mt=function(t,e){return Rt(R(t,t[xt]),e)},Rt=function(t,e){for(var n=0,r=e.length,o=Lt(t,r);r>n;)o[n]=e[n++];return o},It=function(t,e,n){G(t,e,{get:function(){return this._d[n]}})},jt=function(t){var e,n,r,o,i,a,s=A(t),c=arguments.length,u=c>1?arguments[1]:void 0,p=void 0!==u,f=C(s);if(null!=f&&!k(f)){for(a=f.call(s),r=[],e=0;!(i=a.next()).done;e++)r.push(i.value);s=r}for(p&&c>2&&(u=l(u,arguments[2],2)),e=0,n=g(s.length),o=Lt(this,n);n>e;e++)o[e]=p?u(s[e],e):s[e];return o},Dt=function(){for(var t=0,e=arguments.length,n=Lt(this,e);e>t;)n[t]=arguments[t++];return n},Bt=!!V&&a((function(){vt.call(new V(1))})),Nt=function(){return vt.apply(Bt?mt.call(Ot(this)):Ot(this),arguments)},Ut={copyWithin:function(t,e){return U.call(Ot(this),t,e,arguments.length>2?arguments[2]:void 0)},every:function(t){return nt(Ot(this),t,arguments.length>1?arguments[1]:void 0)},fill:function(t){return N.apply(Ot(this),arguments)},filter:function(t){return Mt(this,tt(Ot(this),t,arguments.length>1?arguments[1]:void 0))},find:function(t){return rt(Ot(this),t,arguments.length>1?arguments[1]:void 0)},findIndex:function(t){return ot(Ot(this),t,arguments.length>1?arguments[1]:void 0)},forEach:function(t){J(Ot(this),t,arguments.length>1?arguments[1]:void 0)},indexOf:function(t){return at(Ot(this),t,arguments.length>1?arguments[1]:void 0)},includes:function(t){return it(Ot(this),t,arguments.length>1?arguments[1]:void 0)},join:function(t){return dt.apply(Ot(this),arguments)},lastIndexOf:function(t){return lt.apply(Ot(this),arguments)},map:function(t){return St(Ot(this),t,arguments.length>1?arguments[1]:void 0)},reduce:function(t){return pt.apply(Ot(this),arguments)},reduceRight:function(t){return ft.apply(Ot(this),arguments)},reverse:function(){for(var t,e=this,n=Ot(e).length,r=Math.floor(n/2),o=0;o<r;)t=e[o],e[o++]=e[--n],e[n]=t;return e},some:function(t){return et(Ot(this),t,arguments.length>1?arguments[1]:void 0)},sort:function(t){return ht.call(Ot(this),t)},subarray:function(t,e){var n=Ot(this),r=n.length,o=y(t,r);return new(R(n,n[xt]))(n.buffer,n.byteOffset+o*n.BYTES_PER_ELEMENT,g((void 0===e?r:y(e,r))-o))}},$t=function(t,e){return Mt(this,mt.call(Ot(this),t,e))},Ft=function(t){Ot(this);var e=Pt(arguments[1],1),n=this.length,r=A(t),o=g(r.length),i=0;if(o+e>n)throw K(Et);for(;i<o;)this[e+i]=r[i++]},Gt={entries:function(){return ut.call(Ot(this))},keys:function(){return ct.call(Ot(this))},values:function(){return st.call(Ot(this))}},qt=function(t,e){return _(t)&&t[At]&&"symbol"!=r(e)&&e in t&&String(+e)==String(e)},Kt=function(t,e){return qt(t,e=b(e,!0))?f(2,t[e]):q(t,e)},Ht=function(t,e,n){return!(qt(t,e=b(e,!0))&&_(n)&&w(n,"value"))||w(n,"get")||w(n,"set")||n.configurable||w(n,"writable")&&!n.writable||w(n,"enumerable")&&!n.enumerable?G(t,e,n):(t[e]=n.value,t)};_t||(F.f=Kt,$.f=Ht),s(s.S+s.F*!_t,"Object",{getOwnPropertyDescriptor:Kt,defineProperty:Ht}),a((function(){gt.call({})}))&&(gt=vt=function(){return dt.call(this)});var Vt=h({},Ut);h(Vt,Gt),d(Vt,yt,Gt.values),h(Vt,{slice:$t,set:Ft,constructor:function(){},toString:gt,toLocaleString:Nt}),It(Vt,"buffer","b"),It(Vt,"byteOffset","o"),It(Vt,"byteLength","l"),It(Vt,"length","e"),G(Vt,bt,{get:function(){return this[At]}}),t.exports=function(t,e,n,r){var u=t+((r=!!r)?"Clamped":"")+"Array",l="get"+t,f="set"+t,h=i[u],m=h||{},y=h&&S(h),b=!h||!c.ABV,w={},A=h&&h.prototype,k=function(t,n){G(t,n,{get:function(){return function(t,n){var r=t._d;return r.v[l](n*e+r.o,Tt)}(this,n)},set:function(t){return function(t,n,o){var i=t._d;r&&(o=(o=Math.round(o))<0?0:o>255?255:255&o),i.v[f](n*e+i.o,o,Tt)}(this,n,t)},enumerable:!0})};b?(h=n((function(t,n,r,o){p(t,h,u,"_d");var i,a,s,c,l=0,f=0;if(_(n)){if(!(n instanceof Z||(c=x(n))==z||c==W))return At in n?Rt(h,n):jt.call(h,n);i=n,f=Pt(r,e);var m=n.byteLength;if(void 0===o){if(m%e)throw K(Et);if((a=m-f)<0)throw K(Et)}else if((a=g(o)*e)+f>m)throw K(Et);s=a/e}else s=v(n),i=new Z(a=s*e);for(d(t,"_d",{b:i,o:f,l:a,e:s,v:new Q(i)});l<s;)k(t,l++)})),A=h.prototype=E(Vt),d(A,"constructor",h)):a((function(){h(1)}))&&a((function(){new h(-1)}))&&D((function(t){new h,new h(null),new h(1.5),new h(t)}),!0)||(h=n((function(t,n,r,o){var i;return p(t,h,u),_(n)?n instanceof Z||(i=x(n))==z||i==W?void 0!==o?new m(n,Pt(r,e),o):void 0!==r?new m(n,Pt(r,e)):new m(n):At in n?Rt(h,n):jt.call(h,n):new m(v(n))})),J(y!==Function.prototype?T(m).concat(T(y)):T(m),(function(t){t in h||d(h,t,m[t])})),h.prototype=A,o||(A.constructor=h));var C=A[yt],P=!!C&&("values"==C.name||null==C.name),O=Gt.values;d(h,wt,!0),d(A,At,u),d(A,kt,!0),d(A,xt,h),(r?new h(1)[bt]==u:bt in A)||G(A,bt,{get:function(){return u}}),w[u]=h,s(s.G+s.W+s.F*(h!=m),w),s(s.S,u,{BYTES_PER_ELEMENT:e}),s(s.S+s.F*a((function(){m.of.call(h,1)})),u,{from:jt,of:Dt}),X in A||d(A,X,e),s(s.P,u,Ut),B(u),s(s.P+s.F*Ct,u,{set:Ft}),s(s.P+s.F*!P,u,Gt),o||A.toString==gt||(A.toString=gt),s(s.P+s.F*a((function(){new h(1).slice()})),u,{slice:$t}),s(s.P+s.F*(a((function(){return[1,2].toLocaleString()!=new h([1,2]).toLocaleString()}))||!a((function(){A.toLocaleString.call([1,2])}))),u,{toLocaleString:Nt}),j[u]=P?C:O,o||P||d(A,yt,O)}}else t.exports=function(){}},2428:function(t,e,n){var r=n(3349),o=n(508),i=n(5437),a=n(6303),s=n(6879),c=n(4112),u=n(4277),l=n(2450),p=n(8591),f=n(1284),d=n(5568),h=n(1676).f,m=n(5395).f,g=n(73),v=n(481),y="ArrayBuffer",b="DataView",w="Wrong index!",x=r.ArrayBuffer,_=r.DataView,A=r.Math,k=r.RangeError,E=r.Infinity,S=x,T=A.abs,C=A.pow,P=A.floor,O=A.log,L=A.LN2,M="buffer",R="byteLength",I="byteOffset",j=o?"_b":M,D=o?"_l":R,B=o?"_o":I;function N(t,e,n){var r,o,i,a=new Array(n),s=8*n-e-1,c=(1<<s)-1,u=c>>1,l=23===e?C(2,-24)-C(2,-77):0,p=0,f=t<0||0===t&&1/t<0?1:0;for((t=T(t))!=t||t===E?(o=t!=t?1:0,r=c):(r=P(O(t)/L),t*(i=C(2,-r))<1&&(r--,i*=2),(t+=r+u>=1?l/i:l*C(2,1-u))*i>=2&&(r++,i/=2),r+u>=c?(o=0,r=c):r+u>=1?(o=(t*i-1)*C(2,e),r+=u):(o=t*C(2,u-1)*C(2,e),r=0));e>=8;a[p++]=255&o,o/=256,e-=8);for(r=r<<e|o,s+=e;s>0;a[p++]=255&r,r/=256,s-=8);return a[--p]|=128*f,a}function U(t,e,n){var r,o=8*n-e-1,i=(1<<o)-1,a=i>>1,s=o-7,c=n-1,u=t[c--],l=127&u;for(u>>=7;s>0;l=256*l+t[c],c--,s-=8);for(r=l&(1<<-s)-1,l>>=-s,s+=e;s>0;r=256*r+t[c],c--,s-=8);if(0===l)l=1-a;else{if(l===i)return r?NaN:u?-E:E;r+=C(2,e),l-=a}return(u?-1:1)*r*C(2,l-e)}function $(t){return t[3]<<24|t[2]<<16|t[1]<<8|t[0]}function F(t){return[255&t]}function G(t){return[255&t,t>>8&255]}function q(t){return[255&t,t>>8&255,t>>16&255,t>>24&255]}function K(t){return N(t,52,8)}function H(t){return N(t,23,4)}function V(t,e,n){m(t.prototype,e,{get:function(){return this[n]}})}function z(t,e,n,r){var o=d(+n);if(o+e>t[D])throw k(w);var i=t[j]._b,a=o+t[B],s=i.slice(a,a+e);return r?s:s.reverse()}function W(t,e,n,r,o,i){var a=d(+n);if(a+e>t[D])throw k(w);for(var s=t[j]._b,c=a+t[B],u=r(+o),l=0;l<e;l++)s[c+l]=u[i?l:e-l-1]}if(a.ABV){if(!u((function(){x(1)}))||!u((function(){new x(-1)}))||u((function(){return new x,new x(1.5),new x(NaN),x.name!=y}))){for(var X,Y=(x=function(t){return l(this,x),new S(d(t))}).prototype=S.prototype,Z=h(S),Q=0;Z.length>Q;)(X=Z[Q++])in x||s(x,X,S[X]);i||(Y.constructor=x)}var J=new _(new x(2)),tt=_.prototype.setInt8;J.setInt8(0,2147483648),J.setInt8(1,2147483649),!J.getInt8(0)&&J.getInt8(1)||c(_.prototype,{setInt8:function(t,e){tt.call(this,t,e<<24>>24)},setUint8:function(t,e){tt.call(this,t,e<<24>>24)}},!0)}else x=function(t){l(this,x,y);var e=d(t);this._b=g.call(new Array(e),0),this[D]=e},_=function(t,e,n){l(this,_,b),l(t,x,b);var r=t[D],o=p(e);if(o<0||o>r)throw k("Wrong offset!");if(o+(n=void 0===n?r-o:f(n))>r)throw k("Wrong length!");this[j]=t,this[B]=o,this[D]=n},o&&(V(x,R,"_l"),V(_,M,"_b"),V(_,R,"_l"),V(_,I,"_o")),c(_.prototype,{getInt8:function(t){return z(this,1,t)[0]<<24>>24},getUint8:function(t){return z(this,1,t)[0]},getInt16:function(t){var e=z(this,2,t,arguments[1]);return(e[1]<<8|e[0])<<16>>16},getUint16:function(t){var e=z(this,2,t,arguments[1]);return e[1]<<8|e[0]},getInt32:function(t){return $(z(this,4,t,arguments[1]))},getUint32:function(t){return $(z(this,4,t,arguments[1]))>>>0},getFloat32:function(t){return U(z(this,4,t,arguments[1]),23,4)},getFloat64:function(t){return U(z(this,8,t,arguments[1]),52,8)},setInt8:function(t,e){W(this,1,t,F,e)},setUint8:function(t,e){W(this,1,t,F,e)},setInt16:function(t,e){W(this,2,t,G,e,arguments[2])},setUint16:function(t,e){W(this,2,t,G,e,arguments[2])},setInt32:function(t,e){W(this,4,t,q,e,arguments[2])},setUint32:function(t,e){W(this,4,t,q,e,arguments[2])},setFloat32:function(t,e){W(this,4,t,H,e,arguments[2])},setFloat64:function(t,e){W(this,8,t,K,e,arguments[2])}});v(x,y),v(_,b),s(_.prototype,a.VIEW,!0),e.ArrayBuffer=x,e.DataView=_},6303:function(t,e,n){for(var r,o=n(3349),i=n(6879),a=n(7398),s=a("typed_array"),c=a("view"),u=!(!o.ArrayBuffer||!o.DataView),l=u,p=0,f="Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array".split(",");p<9;)(r=o[f[p++]])?(i(r.prototype,s,!0),i(r.prototype,c,!0)):l=!1;t.exports={ABV:u,CONSTR:l,TYPED:s,VIEW:c}},7398:function(t){var e=0,n=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++e+n).toString(36))}},3115:function(t,e,n){var r=n(3349).navigator;t.exports=r&&r.userAgent||""},1364:function(t,e,n){var r=n(3506);t.exports=function(t,e){if(!r(t)||t._t!==e)throw TypeError("Incompatible receiver, "+e+" required!");return t}},5490:function(t,e,n){var r=n(3349),o=n(7619),i=n(5437),a=n(185),s=n(5395).f;t.exports=function(t){var e=o.Symbol||(o.Symbol=i?{}:r.Symbol||{});"_"==t.charAt(0)||t in e||s(e,t,{value:a.f(t)})}},185:function(t,e,n){e.f=n(3567)},3567:function(t,e,n){var r=n(1375)("wks"),o=n(7398),i=n(3349).Symbol,a="function"==typeof i;(t.exports=function(t){return r[t]||(r[t]=a&&i[t]||(a?i:o)("Symbol."+t))}).store=r},3613:function(t,e,n){var r=n(9736),o=n(3567)("iterator"),i=n(9746);t.exports=n(7619).getIteratorMethod=function(t){if(null!=t)return t[o]||t["@@iterator"]||i[r(t)]}},197:function(t,e,n){var r=n(3276);r(r.P,"Array",{copyWithin:n(2670)}),n(3680)("copyWithin")},7243:function(t,e,n){var r=n(3276),o=n(3828)(4);r(r.P+r.F*!n(4433)([].every,!0),"Array",{every:function(t){return o(this,t,arguments[1])}})},7536:function(t,e,n){var r=n(3276);r(r.P,"Array",{fill:n(73)}),n(3680)("fill")},9574:function(t,e,n){var r=n(3276),o=n(3828)(2);r(r.P+r.F*!n(4433)([].filter,!0),"Array",{filter:function(t){return o(this,t,arguments[1])}})},1094:function(t,e,n){var r=n(3276),o=n(3828)(6),i="findIndex",a=!0;i in[]&&Array(1)[i]((function(){a=!1})),r(r.P+r.F*a,"Array",{findIndex:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}}),n(3680)(i)},3144:function(t,e,n){var r=n(3276),o=n(3828)(5),i="find",a=!0;i in[]&&Array(1).find((function(){a=!1})),r(r.P+r.F*a,"Array",{find:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}}),n(3680)(i)},5742:function(t,e,n){var r=n(3276),o=n(3828)(0),i=n(4433)([].forEach,!0);r(r.P+r.F*!i,"Array",{forEach:function(t){return o(this,t,arguments[1])}})},8471:function(t,e,n){var r=n(7863),o=n(3276),i=n(4674),a=n(5684),s=n(6136),c=n(1284),u=n(5094),l=n(3613);o(o.S+o.F*!n(2569)((function(t){Array.from(t)})),"Array",{from:function(t){var e,n,o,p,f=i(t),d="function"==typeof this?this:Array,h=arguments.length,m=h>1?arguments[1]:void 0,g=void 0!==m,v=0,y=l(f);if(g&&(m=r(m,h>2?arguments[2]:void 0,2)),null==y||d==Array&&s(y))for(n=new d(e=c(f.length));e>v;v++)u(n,v,g?m(f[v],v):f[v]);else for(p=y.call(f),n=new d;!(o=p.next()).done;v++)u(n,v,g?a(p,m,[o.value,v],!0):o.value);return n.length=v,n}})},6674:function(t,e,n){var r=n(3276),o=n(6329)(!1),i=[].indexOf,a=!!i&&1/[1].indexOf(1,-0)<0;r(r.P+r.F*(a||!n(4433)(i)),"Array",{indexOf:function(t){return a?i.apply(this,arguments)||0:o(this,t,arguments[1])}})},9752:function(t,e,n){var r=n(3276);r(r.S,"Array",{isArray:n(8151)})},3774:function(t,e,n){var r=n(3680),o=n(3337),i=n(9746),a=n(8670);t.exports=n(2117)(Array,"Array",(function(t,e){this._t=a(t),this._i=0,this._k=e}),(function(){var t=this._t,e=this._k,n=this._i++;return!t||n>=t.length?(this._t=void 0,o(1)):o(0,"keys"==e?n:"values"==e?t[n]:[n,t[n]])}),"values"),i.Arguments=i.Array,r("keys"),r("values"),r("entries")},2336:function(t,e,n){var r=n(3276),o=n(8670),i=[].join;r(r.P+r.F*(n(7751)!=Object||!n(4433)(i)),"Array",{join:function(t){return i.call(o(this),void 0===t?",":t)}})},2125:function(t,e,n){var r=n(3276),o=n(8670),i=n(8591),a=n(1284),s=[].lastIndexOf,c=!!s&&1/[1].lastIndexOf(1,-0)<0;r(r.P+r.F*(c||!n(4433)(s)),"Array",{lastIndexOf:function(t){if(c)return s.apply(this,arguments)||0;var e=o(this),n=a(e.length),r=n-1;for(arguments.length>1&&(r=Math.min(r,i(arguments[1]))),r<0&&(r=n+r);r>=0;r--)if(r in e&&e[r]===t)return r||0;return-1}})},4358:function(t,e,n){var r=n(3276),o=n(3828)(1);r(r.P+r.F*!n(4433)([].map,!0),"Array",{map:function(t){return o(this,t,arguments[1])}})},1655:function(t,e,n){var r=n(3276),o=n(5094);r(r.S+r.F*n(4277)((function(){function t(){}return!(Array.of.call(t)instanceof t)})),"Array",{of:function(){for(var t=0,e=arguments.length,n=new("function"==typeof this?this:Array)(e);e>t;)o(n,t,arguments[t++]);return n.length=e,n}})},9152:function(t,e,n){var r=n(3276),o=n(9222);r(r.P+r.F*!n(4433)([].reduceRight,!0),"Array",{reduceRight:function(t){return o(this,t,arguments.length,arguments[1],!0)}})},7084:function(t,e,n){var r=n(3276),o=n(9222);r(r.P+r.F*!n(4433)([].reduce,!0),"Array",{reduce:function(t){return o(this,t,arguments.length,arguments[1],!1)}})},7909:function(t,e,n){var r=n(3276),o=n(9684),i=n(1647),a=n(8413),s=n(1284),c=[].slice;r(r.P+r.F*n(4277)((function(){o&&c.call(o)})),"Array",{slice:function(t,e){var n=s(this.length),r=i(this);if(e=void 0===e?n:e,"Array"==r)return c.call(this,t,e);for(var o=a(t,n),u=a(e,n),l=s(u-o),p=new Array(l),f=0;f<l;f++)p[f]="String"==r?this.charAt(o+f):this[o+f];return p}})},6167:function(t,e,n){var r=n(3276),o=n(3828)(3);r(r.P+r.F*!n(4433)([].some,!0),"Array",{some:function(t){return o(this,t,arguments[1])}})},760:function(t,e,n){var r=n(3276),o=n(3679),i=n(4674),a=n(4277),s=[].sort,c=[1,2,3];r(r.P+r.F*(a((function(){c.sort(void 0)}))||!a((function(){c.sort(null)}))||!n(4433)(s)),"Array",{sort:function(t){return void 0===t?s.call(i(this)):s.call(i(this),o(t))}})},7378:function(t,e,n){n(9629)("Array")},8185:function(t,e,n){var r=n(3276);r(r.S,"Date",{now:function(){return(new Date).getTime()}})},5824:function(t,e,n){var r=n(3276),o=n(5325);r(r.P+r.F*(Date.prototype.toISOString!==o),"Date",{toISOString:o})},3375:function(t,e,n){var r=n(3276),o=n(4674),i=n(2950);r(r.P+r.F*n(4277)((function(){return null!==new Date(NaN).toJSON()||1!==Date.prototype.toJSON.call({toISOString:function(){return 1}})})),"Date",{toJSON:function(t){var e=o(this),n=i(e);return"number"!=typeof n||isFinite(n)?e.toISOString():null}})},2173:function(t,e,n){var r=n(3567)("toPrimitive"),o=Date.prototype;r in o||n(6879)(o,r,n(2556))},6103:function(t,e,n){var r=Date.prototype,o="Invalid Date",i=r.toString,a=r.getTime;new Date(NaN)+""!=o&&n(5911)(r,"toString",(function(){var t=a.call(this);return t==t?i.call(this):o}))},4060:function(t,e,n){var r=n(3276);r(r.P,"Function",{bind:n(6059)})},1764:function(t,e,n){var r=n(3506),o=n(8300),i=n(3567)("hasInstance"),a=Function.prototype;i in a||n(5395).f(a,i,{value:function(t){if("function"!=typeof this||!r(t))return!1;if(!r(this.prototype))return t instanceof this;for(;t=o(t);)if(this.prototype===t)return!0;return!1}})},5283:function(t,e,n){var r=n(5395).f,o=Function.prototype,i=/^\s*function ([^ (]*)/,a="name";a in o||n(508)&&r(o,a,{configurable:!0,get:function(){try{return(""+this).match(i)[1]}catch(t){return""}}})},7679:function(t,e,n){var r=n(5019),o=n(1364),i="Map";t.exports=n(1107)(i,(function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}}),{get:function(t){var e=r.getEntry(o(this,i),t);return e&&e.v},set:function(t,e){return r.def(o(this,i),0===t?0:t,e)}},r,!0)},7494:function(t,e,n){var r=n(3276),o=n(5242),i=Math.sqrt,a=Math.acosh;r(r.S+r.F*!(a&&710==Math.floor(a(Number.MAX_VALUE))&&a(1/0)==1/0),"Math",{acosh:function(t){return(t=+t)<1?NaN:t>94906265.62425156?Math.log(t)+Math.LN2:o(t-1+i(t-1)*i(t+1))}})},8781:function(t,e,n){var r=n(3276),o=Math.asinh;r(r.S+r.F*!(o&&1/o(0)>0),"Math",{asinh:function t(e){return isFinite(e=+e)&&0!=e?e<0?-t(-e):Math.log(e+Math.sqrt(e*e+1)):e}})},7533:function(t,e,n){var r=n(3276),o=Math.atanh;r(r.S+r.F*!(o&&1/o(-0)<0),"Math",{atanh:function(t){return 0==(t=+t)?t:Math.log((1+t)/(1-t))/2}})},3301:function(t,e,n){var r=n(3276),o=n(5596);r(r.S,"Math",{cbrt:function(t){return o(t=+t)*Math.pow(Math.abs(t),1/3)}})},422:function(t,e,n){var r=n(3276);r(r.S,"Math",{clz32:function(t){return(t>>>=0)?31-Math.floor(Math.log(t+.5)*Math.LOG2E):32}})},9705:function(t,e,n){var r=n(3276),o=Math.exp;r(r.S,"Math",{cosh:function(t){return(o(t=+t)+o(-t))/2}})},711:function(t,e,n){var r=n(3276),o=n(2998);r(r.S+r.F*(o!=Math.expm1),"Math",{expm1:o})},6160:function(t,e,n){var r=n(3276);r(r.S,"Math",{fround:n(4619)})},5387:function(t,e,n){var r=n(3276),o=Math.abs;r(r.S,"Math",{hypot:function(t,e){for(var n,r,i=0,a=0,s=arguments.length,c=0;a<s;)c<(n=o(arguments[a++]))?(i=i*(r=c/n)*r+1,c=n):i+=n>0?(r=n/c)*r:n;return c===1/0?1/0:c*Math.sqrt(i)}})},4386:function(t,e,n){var r=n(3276),o=Math.imul;r(r.S+r.F*n(4277)((function(){return-5!=o(4294967295,5)||2!=o.length})),"Math",{imul:function(t,e){var n=65535,r=+t,o=+e,i=n&r,a=n&o;return 0|i*a+((n&r>>>16)*a+i*(n&o>>>16)<<16>>>0)}})},3568:function(t,e,n){var r=n(3276);r(r.S,"Math",{log10:function(t){return Math.log(t)*Math.LOG10E}})},6739:function(t,e,n){var r=n(3276);r(r.S,"Math",{log1p:n(5242)})},156:function(t,e,n){var r=n(3276);r(r.S,"Math",{log2:function(t){return Math.log(t)/Math.LN2}})},7022:function(t,e,n){var r=n(3276);r(r.S,"Math",{sign:n(5596)})},4132:function(t,e,n){var r=n(3276),o=n(2998),i=Math.exp;r(r.S+r.F*n(4277)((function(){return-2e-17!=!Math.sinh(-2e-17)})),"Math",{sinh:function(t){return Math.abs(t=+t)<1?(o(t)-o(-t))/2:(i(t-1)-i(-t-1))*(Math.E/2)}})},8463:function(t,e,n){var r=n(3276),o=n(2998),i=Math.exp;r(r.S,"Math",{tanh:function(t){var e=o(t=+t),n=o(-t);return e==1/0?1:n==1/0?-1:(e-n)/(i(t)+i(-t))}})},3695:function(t,e,n){var r=n(3276);r(r.S,"Math",{trunc:function(t){return(t>0?Math.floor:Math.ceil)(t)}})},6597:function(t,e,n){var r=n(3349),o=n(4307),i=n(1647),a=n(672),s=n(2950),c=n(4277),u=n(1676).f,l=n(833).f,p=n(5395).f,f=n(2829).trim,d="Number",h=r.Number,m=h,g=h.prototype,v=i(n(1693)(g))==d,y="trim"in String.prototype,b=function(t){var e=s(t,!1);if("string"==typeof e&&e.length>2){var n,r,o,i=(e=y?e.trim():f(e,3)).charCodeAt(0);if(43===i||45===i){if(88===(n=e.charCodeAt(2))||120===n)return NaN}else if(48===i){switch(e.charCodeAt(1)){case 66:case 98:r=2,o=49;break;case 79:case 111:r=8,o=55;break;default:return+e}for(var a,c=e.slice(2),u=0,l=c.length;u<l;u++)if((a=c.charCodeAt(u))<48||a>o)return NaN;return parseInt(c,r)}}return+e};if(!h(" 0o1")||!h("0b1")||h("+0x1")){h=function(t){var e=arguments.length<1?0:t,n=this;return n instanceof h&&(v?c((function(){g.valueOf.call(n)})):i(n)!=d)?a(new m(b(e)),n,h):b(e)};for(var w,x=n(508)?u(m):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),_=0;x.length>_;_++)o(m,w=x[_])&&!o(h,w)&&p(h,w,l(m,w));h.prototype=g,g.constructor=h,n(5911)(r,d,h)}},7879:function(t,e,n){var r=n(3276);r(r.S,"Number",{EPSILON:Math.pow(2,-52)})},5878:function(t,e,n){var r=n(3276),o=n(3349).isFinite;r(r.S,"Number",{isFinite:function(t){return"number"==typeof t&&o(t)}})},2825:function(t,e,n){var r=n(3276);r(r.S,"Number",{isInteger:n(3830)})},580:function(t,e,n){var r=n(3276);r(r.S,"Number",{isNaN:function(t){return t!=t}})},475:function(t,e,n){var r=n(3276),o=n(3830),i=Math.abs;r(r.S,"Number",{isSafeInteger:function(t){return o(t)&&i(t)<=9007199254740991}})},2346:function(t,e,n){var r=n(3276);r(r.S,"Number",{MAX_SAFE_INTEGER:9007199254740991})},1877:function(t,e,n){var r=n(3276);r(r.S,"Number",{MIN_SAFE_INTEGER:-9007199254740991})},7156:function(t,e,n){var r=n(3276),o=n(3135);r(r.S+r.F*(Number.parseFloat!=o),"Number",{parseFloat:o})},6630:function(t,e,n){var r=n(3276),o=n(2134);r(r.S+r.F*(Number.parseInt!=o),"Number",{parseInt:o})},6865:function(t,e,n){var r=n(3276),o=n(8591),i=n(5801),a=n(5067),s=1..toFixed,c=Math.floor,u=[0,0,0,0,0,0],l="Number.toFixed: incorrect invocation!",p="0",f=function(t,e){for(var n=-1,r=e;++n<6;)r+=t*u[n],u[n]=r%1e7,r=c(r/1e7)},d=function(t){for(var e=6,n=0;--e>=0;)n+=u[e],u[e]=c(n/t),n=n%t*1e7},h=function(){for(var t=6,e="";--t>=0;)if(""!==e||0===t||0!==u[t]){var n=String(u[t]);e=""===e?n:e+a.call(p,7-n.length)+n}return e},m=function t(e,n,r){return 0===n?r:n%2==1?t(e,n-1,r*e):t(e*e,n/2,r)};r(r.P+r.F*(!!s&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==(0xde0b6b3a7640080).toFixed(0))||!n(4277)((function(){s.call({})}))),"Number",{toFixed:function(t){var e,n,r,s,c=i(this,l),u=o(t),g="",v=p;if(u<0||u>20)throw RangeError(l);if(c!=c)return"NaN";if(c<=-1e21||c>=1e21)return String(c);if(c<0&&(g="-",c=-c),c>1e-21)if(e=function(t){for(var e=0,n=t;n>=4096;)e+=12,n/=4096;for(;n>=2;)e+=1,n/=2;return e}(c*m(2,69,1))-69,n=e<0?c*m(2,-e,1):c/m(2,e,1),n*=4503599627370496,(e=52-e)>0){for(f(0,n),r=u;r>=7;)f(1e7,0),r-=7;for(f(m(10,r,1),0),r=e-1;r>=23;)d(1<<23),r-=23;d(1<<r),f(1,1),d(2),v=h()}else f(0,n),f(1<<-e,0),v=h()+a.call(p,u);return u>0?g+((s=v.length)<=u?"0."+a.call(p,u-s)+v:v.slice(0,s-u)+"."+v.slice(s-u)):g+v}})},2750:function(t,e,n){var r=n(3276),o=n(4277),i=n(5801),a=1..toPrecision;r(r.P+r.F*(o((function(){return"1"!==a.call(1,void 0)}))||!o((function(){a.call({})}))),"Number",{toPrecision:function(t){var e=i(this,"Number#toPrecision: incorrect invocation!");return void 0===t?a.call(e):a.call(e,t)}})},5471:function(t,e,n){var r=n(3276);r(r.S+r.F,"Object",{assign:n(4236)})},3719:function(t,e,n){var r=n(3276);r(r.S,"Object",{create:n(1693)})},6462:function(t,e,n){var r=n(3276);r(r.S+r.F*!n(508),"Object",{defineProperties:n(4553)})},7279:function(t,e,n){var r=n(3276);r(r.S+r.F*!n(508),"Object",{defineProperty:n(5395).f})},4151:function(t,e,n){var r=n(3506),o=n(3797).onFreeze;n(139)("freeze",(function(t){return function(e){return t&&r(e)?t(o(e)):e}}))},5048:function(t,e,n){var r=n(8670),o=n(833).f;n(139)("getOwnPropertyDescriptor",(function(){return function(t,e){return o(r(t),e)}}))},1862:function(t,e,n){n(139)("getOwnPropertyNames",(function(){return n(645).f}))},3085:function(t,e,n){var r=n(4674),o=n(8300);n(139)("getPrototypeOf",(function(){return function(t){return o(r(t))}}))},513:function(t,e,n){var r=n(3506);n(139)("isExtensible",(function(t){return function(e){return!!r(e)&&(!t||t(e))}}))},7247:function(t,e,n){var r=n(3506);n(139)("isFrozen",(function(t){return function(e){return!r(e)||!!t&&t(e)}}))},2490:function(t,e,n){var r=n(3506);n(139)("isSealed",(function(t){return function(e){return!r(e)||!!t&&t(e)}}))},8848:function(t,e,n){var r=n(3276);r(r.S,"Object",{is:n(5681)})},8149:function(t,e,n){var r=n(4674),o=n(4190);n(139)("keys",(function(){return function(t){return o(r(t))}}))},4289:function(t,e,n){var r=n(3506),o=n(3797).onFreeze;n(139)("preventExtensions",(function(t){return function(e){return t&&r(e)?t(o(e)):e}}))},1422:function(t,e,n){var r=n(3506),o=n(3797).onFreeze;n(139)("seal",(function(t){return function(e){return t&&r(e)?t(o(e)):e}}))},7004:function(t,e,n){var r=n(3276);r(r.S,"Object",{setPrototypeOf:n(4106).set})},7678:function(t,e,n){var r=n(9736),o={};o[n(3567)("toStringTag")]="z",o+""!="[object z]"&&n(5911)(Object.prototype,"toString",(function(){return"[object "+r(this)+"]"}),!0)},5318:function(t,e,n){var r=n(3276),o=n(3135);r(r.G+r.F*(parseFloat!=o),{parseFloat:o})},6831:function(t,e,n){var r=n(3276),o=n(2134);r(r.G+r.F*(parseInt!=o),{parseInt:o})},5164:function(t,e,n){var r,o,i,a,s=n(5437),c=n(3349),u=n(7863),l=n(9736),p=n(3276),f=n(3506),d=n(3679),h=n(2450),m=n(8302),g=n(5168),v=n(2007).set,y=n(2739)(),b=n(8238),w=n(5243),x=n(3115),_=n(5750),A="Promise",k=c.TypeError,E=c.process,S=E&&E.versions,T=S&&S.v8||"",C=c.Promise,P="process"==l(E),O=function(){},L=o=b.f,M=!!function(){try{var t=C.resolve(1),e=(t.constructor={})[n(3567)("species")]=function(t){t(O,O)};return(P||"function"==typeof PromiseRejectionEvent)&&t.then(O)instanceof e&&0!==T.indexOf("6.6")&&-1===x.indexOf("Chrome/66")}catch(t){}}(),R=function(t){var e;return!(!f(t)||"function"!=typeof(e=t.then))&&e},I=function(t,e){if(!t._n){t._n=!0;var n=t._c;y((function(){for(var r=t._v,o=1==t._s,i=0,a=function(e){var n,i,a,s=o?e.ok:e.fail,c=e.resolve,u=e.reject,l=e.domain;try{s?(o||(2==t._h&&B(t),t._h=1),!0===s?n=r:(l&&l.enter(),n=s(r),l&&(l.exit(),a=!0)),n===e.promise?u(k("Promise-chain cycle")):(i=R(n))?i.call(n,c,u):c(n)):u(r)}catch(t){l&&!a&&l.exit(),u(t)}};n.length>i;)a(n[i++]);t._c=[],t._n=!1,e&&!t._h&&j(t)}))}},j=function(t){v.call(c,(function(){var e,n,r,o=t._v,i=D(t);if(i&&(e=w((function(){P?E.emit("unhandledRejection",o,t):(n=c.onunhandledrejection)?n({promise:t,reason:o}):(r=c.console)&&r.error&&r.error("Unhandled promise rejection",o)})),t._h=P||D(t)?2:1),t._a=void 0,i&&e.e)throw e.v}))},D=function(t){return 1!==t._h&&0===(t._a||t._c).length},B=function(t){v.call(c,(function(){var e;P?E.emit("rejectionHandled",t):(e=c.onrejectionhandled)&&e({promise:t,reason:t._v})}))},N=function(t){var e=this;e._d||(e._d=!0,(e=e._w||e)._v=t,e._s=2,e._a||(e._a=e._c.slice()),I(e,!0))},U=function t(e){var n,r=this;if(!r._d){r._d=!0,r=r._w||r;try{if(r===e)throw k("Promise can't be resolved itself");(n=R(e))?y((function(){var o={_w:r,_d:!1};try{n.call(e,u(t,o,1),u(N,o,1))}catch(t){N.call(o,t)}})):(r._v=e,r._s=1,I(r,!1))}catch(t){N.call({_w:r,_d:!1},t)}}};M||(C=function(t){h(this,C,A,"_h"),d(t),r.call(this);try{t(u(U,this,1),u(N,this,1))}catch(t){N.call(this,t)}},(r=function(t){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1}).prototype=n(4112)(C.prototype,{then:function(t,e){var n=L(g(this,C));return n.ok="function"!=typeof t||t,n.fail="function"==typeof e&&e,n.domain=P?E.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&I(this,!1),n.promise},catch:function(t){return this.then(void 0,t)}}),i=function(){var t=new r;this.promise=t,this.resolve=u(U,t,1),this.reject=u(N,t,1)},b.f=L=function(t){return t===C||t===a?new i(t):o(t)}),p(p.G+p.W+p.F*!M,{Promise:C}),n(481)(C,A),n(9629)(A),a=n(7619).Promise,p(p.S+p.F*!M,A,{reject:function(t){var e=L(this);return(0,e.reject)(t),e.promise}}),p(p.S+p.F*(s||!M),A,{resolve:function(t){return _(s&&this===a?C:this,t)}}),p(p.S+p.F*!(M&&n(2569)((function(t){C.all(t).catch(O)}))),A,{all:function(t){var e=this,n=L(e),r=n.resolve,o=n.reject,i=w((function(){var n=[],i=0,a=1;m(t,!1,(function(t){var s=i++,c=!1;n.push(void 0),a++,e.resolve(t).then((function(t){c||(c=!0,n[s]=t,--a||r(n))}),o)})),--a||r(n)}));return i.e&&o(i.v),n.promise},race:function(t){var e=this,n=L(e),r=n.reject,o=w((function(){m(t,!1,(function(t){e.resolve(t).then(n.resolve,r)}))}));return o.e&&r(o.v),n.promise}})},7053:function(t,e,n){var r=n(3276),o=n(3679),i=n(8069),a=(n(3349).Reflect||{}).apply,s=Function.apply;r(r.S+r.F*!n(4277)((function(){a((function(){}))})),"Reflect",{apply:function(t,e,n){var r=o(t),c=i(n);return a?a(r,e,c):s.call(r,e,c)}})},3122:function(t,e,n){var r=n(3276),o=n(1693),i=n(3679),a=n(8069),s=n(3506),c=n(4277),u=n(6059),l=(n(3349).Reflect||{}).construct,p=c((function(){function t(){}return!(l((function(){}),[],t)instanceof t)})),f=!c((function(){l((function(){}))}));r(r.S+r.F*(p||f),"Reflect",{construct:function(t,e){i(t),a(e);var n=arguments.length<3?t:i(arguments[2]);if(f&&!p)return l(t,e,n);if(t==n){switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3])}var r=[null];return r.push.apply(r,e),new(u.apply(t,r))}var c=n.prototype,d=o(s(c)?c:Object.prototype),h=Function.apply.call(t,d,e);return s(h)?h:d}})},56:function(t,e,n){var r=n(5395),o=n(3276),i=n(8069),a=n(2950);o(o.S+o.F*n(4277)((function(){Reflect.defineProperty(r.f({},1,{value:1}),1,{value:2})})),"Reflect",{defineProperty:function(t,e,n){i(t),e=a(e,!0),i(n);try{return r.f(t,e,n),!0}catch(t){return!1}}})},2162:function(t,e,n){var r=n(3276),o=n(833).f,i=n(8069);r(r.S,"Reflect",{deleteProperty:function(t,e){var n=o(i(t),e);return!(n&&!n.configurable)&&delete t[e]}})},1078:function(t,e,n){var r=n(3276),o=n(8069),i=function(t){this._t=o(t),this._i=0;var e,n=this._k=[];for(e in t)n.push(e)};n(4076)(i,"Object",(function(){var t,e=this,n=e._k;do{if(e._i>=n.length)return{value:void 0,done:!0}}while(!((t=n[e._i++])in e._t));return{value:t,done:!1}})),r(r.S,"Reflect",{enumerate:function(t){return new i(t)}})},9160:function(t,e,n){var r=n(833),o=n(3276),i=n(8069);o(o.S,"Reflect",{getOwnPropertyDescriptor:function(t,e){return r.f(i(t),e)}})},4082:function(t,e,n){var r=n(3276),o=n(8300),i=n(8069);r(r.S,"Reflect",{getPrototypeOf:function(t){return o(i(t))}})},8981:function(t,e,n){var r=n(833),o=n(8300),i=n(4307),a=n(3276),s=n(3506),c=n(8069);a(a.S,"Reflect",{get:function t(e,n){var a,u,l=arguments.length<3?e:arguments[2];return c(e)===l?e[n]:(a=r.f(e,n))?i(a,"value")?a.value:void 0!==a.get?a.get.call(l):void 0:s(u=o(e))?t(u,n,l):void 0}})},1723:function(t,e,n){var r=n(3276);r(r.S,"Reflect",{has:function(t,e){return e in t}})},8324:function(t,e,n){var r=n(3276),o=n(8069),i=Object.isExtensible;r(r.S,"Reflect",{isExtensible:function(t){return o(t),!i||i(t)}})},7372:function(t,e,n){var r=n(3276);r(r.S,"Reflect",{ownKeys:n(456)})},8490:function(t,e,n){var r=n(3276),o=n(8069),i=Object.preventExtensions;r(r.S,"Reflect",{preventExtensions:function(t){o(t);try{return i&&i(t),!0}catch(t){return!1}}})},4728:function(t,e,n){var r=n(3276),o=n(4106);o&&r(r.S,"Reflect",{setPrototypeOf:function(t,e){o.check(t,e);try{return o.set(t,e),!0}catch(t){return!1}}})},7454:function(t,e,n){var r=n(5395),o=n(833),i=n(8300),a=n(4307),s=n(3276),c=n(432),u=n(8069),l=n(3506);s(s.S,"Reflect",{set:function t(e,n,s){var p,f,d=arguments.length<4?e:arguments[3],h=o.f(u(e),n);if(!h){if(l(f=i(e)))return t(f,n,s,d);h=c(0)}if(a(h,"value")){if(!1===h.writable||!l(d))return!1;if(p=o.f(d,n)){if(p.get||p.set||!1===p.writable)return!1;p.value=s,r.f(d,n,p)}else r.f(d,n,c(0,s));return!0}return void 0!==h.set&&(h.set.call(d,s),!0)}})},9721:function(t,e,n){var r=n(3349),o=n(672),i=n(5395).f,a=n(1676).f,s=n(2741),c=n(5056),u=r.RegExp,l=u,p=u.prototype,f=/a/g,d=/a/g,h=new u(f)!==f;if(n(508)&&(!h||n(4277)((function(){return d[n(3567)("match")]=!1,u(f)!=f||u(d)==d||"/a/i"!=u(f,"i")})))){u=function(t,e){var n=this instanceof u,r=s(t),i=void 0===e;return!n&&r&&t.constructor===u&&i?t:o(h?new l(r&&!i?t.source:t,e):l((r=t instanceof u)?t.source:t,r&&i?c.call(t):e),n?this:p,u)};for(var m=function(t){t in u||i(u,t,{configurable:!0,get:function(){return l[t]},set:function(e){l[t]=e}})},g=a(l),v=0;g.length>v;)m(g[v++]);p.constructor=u,u.prototype=p,n(5911)(r,"RegExp",u)}n(9629)("RegExp")},5488:function(t,e,n){var r=n(1796);n(3276)({target:"RegExp",proto:!0,forced:r!==/./.exec},{exec:r})},5743:function(t,e,n){n(508)&&"g"!=/./g.flags&&n(5395).f(RegExp.prototype,"flags",{configurable:!0,get:n(5056)})},7600:function(t,e,n){var r=n(8069),o=n(1284),i=n(1501),a=n(3059);n(5844)("match",1,(function(t,e,n,s){return[function(n){var r=t(this),o=null==n?void 0:n[e];return void 0!==o?o.call(n,r):new RegExp(n)[e](String(r))},function(t){var e=s(n,t,this);if(e.done)return e.value;var c=r(t),u=String(this);if(!c.global)return a(c,u);var l=c.unicode;c.lastIndex=0;for(var p,f=[],d=0;null!==(p=a(c,u));){var h=String(p[0]);f[d]=h,""===h&&(c.lastIndex=i(u,o(c.lastIndex),l)),d++}return 0===d?null:f}]}))},2953:function(t,e,n){var r=n(8069),o=n(4674),i=n(1284),a=n(8591),s=n(1501),c=n(3059),u=Math.max,l=Math.min,p=Math.floor,f=/\$([$&`']|\d\d?|<[^>]*>)/g,d=/\$([$&`']|\d\d?)/g;n(5844)("replace",2,(function(t,e,n,h){return[function(r,o){var i=t(this),a=null==r?void 0:r[e];return void 0!==a?a.call(r,i,o):n.call(String(i),r,o)},function(t,e){var o=h(n,t,this,e);if(o.done)return o.value;var p=r(t),f=String(this),d="function"==typeof e;d||(e=String(e));var g=p.global;if(g){var v=p.unicode;p.lastIndex=0}for(var y=[];;){var b=c(p,f);if(null===b)break;if(y.push(b),!g)break;""===String(b[0])&&(p.lastIndex=s(f,i(p.lastIndex),v))}for(var w,x="",_=0,A=0;A<y.length;A++){b=y[A];for(var k=String(b[0]),E=u(l(a(b.index),f.length),0),S=[],T=1;T<b.length;T++)S.push(void 0===(w=b[T])?w:String(w));var C=b.groups;if(d){var P=[k].concat(S,E,f);void 0!==C&&P.push(C);var O=String(e.apply(void 0,P))}else O=m(k,f,E,S,C,e);E>=_&&(x+=f.slice(_,E)+O,_=E+k.length)}return x+f.slice(_)}];function m(t,e,r,i,a,s){var c=r+t.length,u=i.length,l=d;return void 0!==a&&(a=o(a),l=f),n.call(s,l,(function(n,o){var s;switch(o.charAt(0)){case"$":return"$";case"&":return t;case"`":return e.slice(0,r);case"'":return e.slice(c);case"<":s=a[o.slice(1,-1)];break;default:var l=+o;if(0===l)return n;if(l>u){var f=p(l/10);return 0===f?n:f<=u?void 0===i[f-1]?o.charAt(1):i[f-1]+o.charAt(1):n}s=i[l-1]}return void 0===s?"":s}))}}))},3024:function(t,e,n){var r=n(8069),o=n(5681),i=n(3059);n(5844)("search",1,(function(t,e,n,a){return[function(n){var r=t(this),o=null==n?void 0:n[e];return void 0!==o?o.call(n,r):new RegExp(n)[e](String(r))},function(t){var e=a(n,t,this);if(e.done)return e.value;var s=r(t),c=String(this),u=s.lastIndex;o(u,0)||(s.lastIndex=0);var l=i(s,c);return o(s.lastIndex,u)||(s.lastIndex=u),null===l?-1:l.index}]}))},7977:function(t,e,n){var r=n(2741),o=n(8069),i=n(5168),a=n(1501),s=n(1284),c=n(3059),u=n(1796),l=n(4277),p=Math.min,f=[].push,d=4294967295,h=!l((function(){}));n(5844)("split",2,(function(t,e,n,l){var m;return m="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(t,e){var o=String(this);if(void 0===t&&0===e)return[];if(!r(t))return n.call(o,t,e);for(var i,a,s,c=[],l=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),p=0,h=void 0===e?d:e>>>0,m=new RegExp(t.source,l+"g");(i=u.call(m,o))&&!((a=m.lastIndex)>p&&(c.push(o.slice(p,i.index)),i.length>1&&i.index<o.length&&f.apply(c,i.slice(1)),s=i[0].length,p=a,c.length>=h));)m.lastIndex===i.index&&m.lastIndex++;return p===o.length?!s&&m.test("")||c.push(""):c.push(o.slice(p)),c.length>h?c.slice(0,h):c}:"0".split(void 0,0).length?function(t,e){return void 0===t&&0===e?[]:n.call(this,t,e)}:n,[function(n,r){var o=t(this),i=null==n?void 0:n[e];return void 0!==i?i.call(n,o,r):m.call(String(o),n,r)},function(t,e){var r=l(m,t,this,e,m!==n);if(r.done)return r.value;var u=o(t),f=String(this),g=i(u,RegExp),v=u.unicode,y=(u.ignoreCase?"i":"")+(u.multiline?"m":"")+(u.unicode?"u":"")+(h?"y":"g"),b=new g(h?u:"^(?:"+u.source+")",y),w=void 0===e?d:e>>>0;if(0===w)return[];if(0===f.length)return null===c(b,f)?[f]:[];for(var x=0,_=0,A=[];_<f.length;){b.lastIndex=h?_:0;var k,E=c(b,h?f:f.slice(_));if(null===E||(k=p(s(b.lastIndex+(h?0:_)),f.length))===x)_=a(f,_,v);else{if(A.push(f.slice(x,_)),A.length===w)return A;for(var S=1;S<=E.length-1;S++)if(A.push(E[S]),A.length===w)return A;_=x=k}}return A.push(f.slice(x)),A}]}))},9021:function(t,e,n){n(5743);var r=n(8069),o=n(5056),i=n(508),a="toString",s=/./.toString,c=function(t){n(5911)(RegExp.prototype,a,t,!0)};n(4277)((function(){return"/a/b"!=s.call({source:"a",flags:"b"})}))?c((function(){var t=r(this);return"/".concat(t.source,"/","flags"in t?t.flags:!i&&t instanceof RegExp?o.call(t):void 0)})):s.name!=a&&c((function(){return s.call(this)}))},900:function(t,e,n){var r=n(5019),o=n(1364);t.exports=n(1107)("Set",(function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}}),{add:function(t){return r.def(o(this,"Set"),t=0===t?0:t,t)}},r)},1937:function(t,e,n){n(591)("anchor",(function(t){return function(e){return t(this,"a","name",e)}}))},7613:function(t,e,n){n(591)("big",(function(t){return function(){return t(this,"big","","")}}))},6270:function(t,e,n){n(591)("blink",(function(t){return function(){return t(this,"blink","","")}}))},7056:function(t,e,n){n(591)("bold",(function(t){return function(){return t(this,"b","","")}}))},6617:function(t,e,n){var r=n(3276),o=n(1692)(!1);r(r.P,"String",{codePointAt:function(t){return o(this,t)}})},2793:function(t,e,n){var r=n(3276),o=n(1284),i=n(2445),a="endsWith",s="".endsWith;r(r.P+r.F*n(8834)(a),"String",{endsWith:function(t){var e=i(this,t,a),n=arguments.length>1?arguments[1]:void 0,r=o(e.length),c=void 0===n?r:Math.min(o(n),r),u=String(t);return s?s.call(e,u,c):e.slice(c-u.length,c)===u}})},2307:function(t,e,n){n(591)("fixed",(function(t){return function(){return t(this,"tt","","")}}))},3391:function(t,e,n){n(591)("fontcolor",(function(t){return function(e){return t(this,"font","color",e)}}))},7770:function(t,e,n){n(591)("fontsize",(function(t){return function(e){return t(this,"font","size",e)}}))},4795:function(t,e,n){var r=n(3276),o=n(8413),i=String.fromCharCode,a=String.fromCodePoint;r(r.S+r.F*(!!a&&1!=a.length),"String",{fromCodePoint:function(t){for(var e,n=[],r=arguments.length,a=0;r>a;){if(e=+arguments[a++],o(e,1114111)!==e)throw RangeError(e+" is not a valid code point");n.push(e<65536?i(e):i(55296+((e-=65536)>>10),e%1024+56320))}return n.join("")}})},688:function(t,e,n){var r=n(3276),o=n(2445),i="includes";r(r.P+r.F*n(8834)(i),"String",{includes:function(t){return!!~o(this,t,i).indexOf(t,arguments.length>1?arguments[1]:void 0)}})},8812:function(t,e,n){n(591)("italics",(function(t){return function(){return t(this,"i","","")}}))},6331:function(t,e,n){var r=n(1692)(!0);n(2117)(String,"String",(function(t){this._t=String(t),this._i=0}),(function(){var t,e=this._t,n=this._i;return n>=e.length?{value:void 0,done:!0}:(t=r(e,n),this._i+=t.length,{value:t,done:!1})}))},4518:function(t,e,n){n(591)("link",(function(t){return function(e){return t(this,"a","href",e)}}))},7367:function(t,e,n){var r=n(3276),o=n(8670),i=n(1284);r(r.S,"String",{raw:function(t){for(var e=o(t.raw),n=i(e.length),r=arguments.length,a=[],s=0;n>s;)a.push(String(e[s++])),s<r&&a.push(String(arguments[s]));return a.join("")}})},7793:function(t,e,n){var r=n(3276);r(r.P,"String",{repeat:n(5067)})},5554:function(t,e,n){n(591)("small",(function(t){return function(){return t(this,"small","","")}}))},5297:function(t,e,n){var r=n(3276),o=n(1284),i=n(2445),a="startsWith",s="".startsWith;r(r.P+r.F*n(8834)(a),"String",{startsWith:function(t){var e=i(this,t,a),n=o(Math.min(arguments.length>1?arguments[1]:void 0,e.length)),r=String(t);return s?s.call(e,r,n):e.slice(n,n+r.length)===r}})},1986:function(t,e,n){n(591)("strike",(function(t){return function(){return t(this,"strike","","")}}))},7572:function(t,e,n){n(591)("sub",(function(t){return function(){return t(this,"sub","","")}}))},3844:function(t,e,n){n(591)("sup",(function(t){return function(){return t(this,"sup","","")}}))},3184:function(t,e,n){n(2829)("trim",(function(t){return function(){return t(this,3)}}))},2353:function(t,e,n){function r(t){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r(t)}var o=n(3349),i=n(4307),a=n(508),s=n(3276),c=n(5911),u=n(3797).KEY,l=n(4277),p=n(1375),f=n(481),d=n(7398),h=n(3567),m=n(185),g=n(5490),v=n(2337),y=n(8151),b=n(8069),w=n(3506),x=n(4674),_=n(8670),A=n(2950),k=n(432),E=n(1693),S=n(645),T=n(833),C=n(4128),P=n(5395),O=n(4190),L=T.f,M=P.f,R=S.f,I=o.Symbol,j=o.JSON,D=j&&j.stringify,B=h("_hidden"),N=h("toPrimitive"),U={}.propertyIsEnumerable,$=p("symbol-registry"),F=p("symbols"),G=p("op-symbols"),q=Object.prototype,K="function"==typeof I&&!!C.f,H=o.QObject,V=!H||!H.prototype||!H.prototype.findChild,z=a&&l((function(){return 7!=E(M({},"a",{get:function(){return M(this,"a",{value:7}).a}})).a}))?function(t,e,n){var r=L(q,e);r&&delete q[e],M(t,e,n),r&&t!==q&&M(q,e,r)}:M,W=function(t){var e=F[t]=E(I.prototype);return e._k=t,e},X=K&&"symbol"==r(I.iterator)?function(t){return"symbol"==r(t)}:function(t){return t instanceof I},Y=function(t,e,n){return t===q&&Y(G,e,n),b(t),e=A(e,!0),b(n),i(F,e)?(n.enumerable?(i(t,B)&&t[B][e]&&(t[B][e]=!1),n=E(n,{enumerable:k(0,!1)})):(i(t,B)||M(t,B,k(1,{})),t[B][e]=!0),z(t,e,n)):M(t,e,n)},Z=function(t,e){b(t);for(var n,r=v(e=_(e)),o=0,i=r.length;i>o;)Y(t,n=r[o++],e[n]);return t},Q=function(t){var e=U.call(this,t=A(t,!0));return!(this===q&&i(F,t)&&!i(G,t))&&(!(e||!i(this,t)||!i(F,t)||i(this,B)&&this[B][t])||e)},J=function(t,e){if(t=_(t),e=A(e,!0),t!==q||!i(F,e)||i(G,e)){var n=L(t,e);return!n||!i(F,e)||i(t,B)&&t[B][e]||(n.enumerable=!0),n}},tt=function(t){for(var e,n=R(_(t)),r=[],o=0;n.length>o;)i(F,e=n[o++])||e==B||e==u||r.push(e);return r},et=function(t){for(var e,n=t===q,r=R(n?G:_(t)),o=[],a=0;r.length>a;)!i(F,e=r[a++])||n&&!i(q,e)||o.push(F[e]);return o};K||(I=function(){if(this instanceof I)throw TypeError("Symbol is not a constructor!");var t=d(arguments.length>0?arguments[0]:void 0),e=function e(n){this===q&&e.call(G,n),i(this,B)&&i(this[B],t)&&(this[B][t]=!1),z(this,t,k(1,n))};return a&&V&&z(q,t,{configurable:!0,set:e}),W(t)},c(I.prototype,"toString",(function(){return this._k})),T.f=J,P.f=Y,n(1676).f=S.f=tt,n(2224).f=Q,C.f=et,a&&!n(5437)&&c(q,"propertyIsEnumerable",Q,!0),m.f=function(t){return W(h(t))}),s(s.G+s.W+s.F*!K,{Symbol:I});for(var nt="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),rt=0;nt.length>rt;)h(nt[rt++]);for(var ot=O(h.store),it=0;ot.length>it;)g(ot[it++]);s(s.S+s.F*!K,"Symbol",{for:function(t){return i($,t+="")?$[t]:$[t]=I(t)},keyFor:function(t){if(!X(t))throw TypeError(t+" is not a symbol!");for(var e in $)if($[e]===t)return e},useSetter:function(){V=!0},useSimple:function(){V=!1}}),s(s.S+s.F*!K,"Object",{create:function(t,e){return void 0===e?E(t):Z(E(t),e)},defineProperty:Y,defineProperties:Z,getOwnPropertyDescriptor:J,getOwnPropertyNames:tt,getOwnPropertySymbols:et});var at=l((function(){C.f(1)}));s(s.S+s.F*at,"Object",{getOwnPropertySymbols:function(t){return C.f(x(t))}}),j&&s(s.S+s.F*(!K||l((function(){var t=I();return"[null]"!=D([t])||"{}"!=D({a:t})||"{}"!=D(Object(t))}))),"JSON",{stringify:function(t){for(var e,n,r=[t],o=1;arguments.length>o;)r.push(arguments[o++]);if(n=e=r[1],(w(e)||void 0!==t)&&!X(t))return y(e)||(e=function(t,e){if("function"==typeof n&&(e=n.call(this,t,e)),!X(e))return e}),r[1]=e,D.apply(j,r)}}),I.prototype[N]||n(6879)(I.prototype,N,I.prototype.valueOf),f(I,"Symbol"),f(Math,"Math",!0),f(o.JSON,"JSON",!0)},9511:function(t,e,n){var r=n(3276),o=n(6303),i=n(2428),a=n(8069),s=n(8413),c=n(1284),u=n(3506),l=n(3349).ArrayBuffer,p=n(5168),f=i.ArrayBuffer,d=i.DataView,h=o.ABV&&l.isView,m=f.prototype.slice,g=o.VIEW,v="ArrayBuffer";r(r.G+r.W+r.F*(l!==f),{ArrayBuffer:f}),r(r.S+r.F*!o.CONSTR,v,{isView:function(t){return h&&h(t)||u(t)&&g in t}}),r(r.P+r.U+r.F*n(4277)((function(){return!new f(2).slice(1,void 0).byteLength})),v,{slice:function(t,e){if(void 0!==m&&void 0===e)return m.call(a(this),t);for(var n=a(this).byteLength,r=s(t,n),o=s(void 0===e?n:e,n),i=new(p(this,f))(c(o-r)),u=new d(this),l=new d(i),h=0;r<o;)l.setUint8(h++,u.getUint8(r++));return i}}),n(9629)(v)},6708:function(t,e,n){var r=n(3276);r(r.G+r.W+r.F*!n(6303).ABV,{DataView:n(2428).DataView})},925:function(t,e,n){n(6500)("Float32",4,(function(t){return function(e,n,r){return t(this,e,n,r)}}))},7865:function(t,e,n){n(6500)("Float64",8,(function(t){return function(e,n,r){return t(this,e,n,r)}}))},8095:function(t,e,n){n(6500)("Int16",2,(function(t){return function(e,n,r){return t(this,e,n,r)}}))},5187:function(t,e,n){n(6500)("Int32",4,(function(t){return function(e,n,r){return t(this,e,n,r)}}))},3443:function(t,e,n){n(6500)("Int8",1,(function(t){return function(e,n,r){return t(this,e,n,r)}}))},5977:function(t,e,n){n(6500)("Uint16",2,(function(t){return function(e,n,r){return t(this,e,n,r)}}))},7444:function(t,e,n){n(6500)("Uint32",4,(function(t){return function(e,n,r){return t(this,e,n,r)}}))},5558:function(t,e,n){n(6500)("Uint8",1,(function(t){return function(e,n,r){return t(this,e,n,r)}}))},9159:function(t,e,n){n(6500)("Uint8",1,(function(t){return function(e,n,r){return t(this,e,n,r)}}),!0)},3313:function(t,e,n){var r,o=n(3349),i=n(3828)(0),a=n(5911),s=n(3797),c=n(4236),u=n(8888),l=n(3506),p=n(1364),f=n(1364),d=!o.ActiveXObject&&"ActiveXObject"in o,h="WeakMap",m=s.getWeak,g=Object.isExtensible,v=u.ufstore,y=function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}},b={get:function(t){if(l(t)){var e=m(t);return!0===e?v(p(this,h)).get(t):e?e[this._i]:void 0}},set:function(t,e){return u.def(p(this,h),t,e)}},w=t.exports=n(1107)(h,y,b,u,!0,!0);f&&d&&(c((r=u.getConstructor(y,h)).prototype,b),s.NEED=!0,i(["delete","has","get","set"],(function(t){var e=w.prototype,n=e[t];a(e,t,(function(e,o){if(l(e)&&!g(e)){this._f||(this._f=new r);var i=this._f[t](e,o);return"set"==t?this:i}return n.call(this,e,o)}))})))},959:function(t,e,n){var r=n(8888),o=n(1364),i="WeakSet";n(1107)(i,(function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}}),{add:function(t){return r.def(o(this,i),t,!0)}},r,!1,!0)},8465:function(t,e,n){var r=n(3276),o=n(1835),i=n(4674),a=n(1284),s=n(3679),c=n(5026);r(r.P,"Array",{flatMap:function(t){var e,n,r=i(this);return s(t),e=a(r.length),n=c(r,0),o(n,r,r,e,0,1,t,arguments[1]),n}}),n(3680)("flatMap")},1248:function(t,e,n){var r=n(3276),o=n(6329)(!0);r(r.P,"Array",{includes:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}}),n(3680)("includes")},847:function(t,e,n){var r=n(3276),o=n(4399)(!0);r(r.S,"Object",{entries:function(t){return o(t)}})},3947:function(t,e,n){var r=n(3276),o=n(456),i=n(8670),a=n(833),s=n(5094);r(r.S,"Object",{getOwnPropertyDescriptors:function(t){for(var e,n,r=i(t),c=a.f,u=o(r),l={},p=0;u.length>p;)void 0!==(n=c(r,e=u[p++]))&&s(l,e,n);return l}})},5378:function(t,e,n){var r=n(3276),o=n(4399)(!1);r(r.S,"Object",{values:function(t){return o(t)}})},6002:function(t,e,n){var r=n(3276),o=n(7619),i=n(3349),a=n(5168),s=n(5750);r(r.P+r.R,"Promise",{finally:function(t){var e=a(this,o.Promise||i.Promise),n="function"==typeof t;return this.then(n?function(n){return s(e,t()).then((function(){return n}))}:t,n?function(n){return s(e,t()).then((function(){throw n}))}:t)}})},4234:function(t,e,n){var r=n(3276),o=n(2713),i=n(3115),a=/Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(i);r(r.P+r.F*a,"String",{padEnd:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0,!1)}})},7087:function(t,e,n){var r=n(3276),o=n(2713),i=n(3115),a=/Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(i);r(r.P+r.F*a,"String",{padStart:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0,!0)}})},4931:function(t,e,n){n(2829)("trimLeft",(function(t){return function(){return t(this,1)}}),"trimStart")},4834:function(t,e,n){n(2829)("trimRight",(function(t){return function(){return t(this,2)}}),"trimEnd")},6177:function(t,e,n){n(5490)("asyncIterator")},7986:function(t,e,n){for(var r=n(3774),o=n(4190),i=n(5911),a=n(3349),s=n(6879),c=n(9746),u=n(3567),l=u("iterator"),p=u("toStringTag"),f=c.Array,d={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},h=o(d),m=0;m<h.length;m++){var g,v=h[m],y=d[v],b=a[v],w=b&&b.prototype;if(w&&(w[l]||s(w,l,f),w[p]||s(w,p,v),c[v]=f,y))for(g in r)w[g]||i(w,g,r[g],!0)}},5908:function(t,e,n){var r=n(3276),o=n(2007);r(r.G+r.B,{setImmediate:o.set,clearImmediate:o.clear})},16:function(t,e,n){var r=n(3349),o=n(3276),i=n(3115),a=[].slice,s=/MSIE .\./.test(i),c=function(t){return function(e,n){var r=arguments.length>2,o=!!r&&a.call(arguments,2);return t(r?function(){("function"==typeof e?e:Function(e)).apply(this,o)}:e,n)}};o(o.G+o.B+o.F*s,{setTimeout:c(r.setTimeout),setInterval:c(r.setInterval)})},70:function(t,e,n){n(16),n(5908),n(7986),t.exports=n(7619)},6028:function(t,e,n){function r(t){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r(t)}var o=function(t){var e,n=Object.prototype,o=n.hasOwnProperty,i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",s=i.asyncIterator||"@@asyncIterator",c=i.toStringTag||"@@toStringTag";function u(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(t){u=function(t,e,n){return t[e]=n}}function l(t,e,n,r){var o=e&&e.prototype instanceof v?e:v,i=Object.create(o.prototype),a=new P(r||[]);return i._invoke=function(t,e,n){var r=f;return function(o,i){if(r===h)throw new Error("Generator is already running");if(r===m){if("throw"===o)throw i;return L()}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var s=S(a,n);if(s){if(s===g)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===f)throw r=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=h;var c=p(t,e,n);if("normal"===c.type){if(r=n.done?m:d,c.arg===g)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(r=m,n.method="throw",n.arg=c.arg)}}}(t,n,a),i}function p(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}t.wrap=l;var f="suspendedStart",d="suspendedYield",h="executing",m="completed",g={};function v(){}function y(){}function b(){}var w={};u(w,a,(function(){return this}));var x=Object.getPrototypeOf,_=x&&x(x(O([])));_&&_!==n&&o.call(_,a)&&(w=_);var A=b.prototype=v.prototype=Object.create(w);function k(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function E(t,e){function n(i,a,s,c){var u=p(t[i],t,a);if("throw"!==u.type){var l=u.arg,f=l.value;return f&&"object"===r(f)&&o.call(f,"__await")?e.resolve(f.__await).then((function(t){n("next",t,s,c)}),(function(t){n("throw",t,s,c)})):e.resolve(f).then((function(t){l.value=t,s(l)}),(function(t){return n("throw",t,s,c)}))}c(u.arg)}var i;this._invoke=function(t,r){function o(){return new e((function(e,o){n(t,r,e,o)}))}return i=i?i.then(o,o):o()}}function S(t,n){var r=t.iterator[n.method];if(r===e){if(n.delegate=null,"throw"===n.method){if(t.iterator.return&&(n.method="return",n.arg=e,S(t,n),"throw"===n.method))return g;n.method="throw",n.arg=new TypeError("The iterator does not provide a 'throw' method")}return g}var o=p(r,t.iterator,n.arg);if("throw"===o.type)return n.method="throw",n.arg=o.arg,n.delegate=null,g;var i=o.arg;return i?i.done?(n[t.resultName]=i.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,g):i:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,g)}function T(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function C(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(T,this),this.reset(!0)}function O(t){if(t){var n=t[a];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var r=-1,i=function n(){for(;++r<t.length;)if(o.call(t,r))return n.value=t[r],n.done=!1,n;return n.value=e,n.done=!0,n};return i.next=i}}return{next:L}}function L(){return{value:e,done:!0}}return y.prototype=b,u(A,"constructor",b),u(b,"constructor",y),y.displayName=u(b,c,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===y||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,b):(t.__proto__=b,u(t,c,"GeneratorFunction")),t.prototype=Object.create(A),t},t.awrap=function(t){return{__await:t}},k(E.prototype),u(E.prototype,s,(function(){return this})),t.AsyncIterator=E,t.async=function(e,n,r,o,i){void 0===i&&(i=Promise);var a=new E(l(e,n,r,o),i);return t.isGeneratorFunction(n)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},k(A),u(A,c,"Generator"),u(A,a,(function(){return this})),u(A,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=[];for(var n in t)e.push(n);return e.reverse(),function n(){for(;e.length;){var r=e.pop();if(r in t)return n.value=r,n.done=!1,n}return n.done=!0,n}},t.values=O,P.prototype={constructor:P,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(C),!t)for(var n in this)"t"===n.charAt(0)&&o.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=e)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var n=this;function r(r,o){return s.type="throw",s.arg=t,n.next=r,o&&(n.method="next",n.arg=e),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return r("end");if(a.tryLoc<=this.prev){var c=o.call(a,"catchLoc"),u=o.call(a,"finallyLoc");if(c&&u){if(this.prev<a.catchLoc)return r(a.catchLoc,!0);if(this.prev<a.finallyLoc)return r(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return r(a.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return r(a.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&o.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var i=r;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,g):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),g},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),C(n),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var o=r.arg;C(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:O(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),g}},t}("object"===r(t=n.nmd(t))?t.exports:{});try{regeneratorRuntime=o}catch(t){"object"===("undefined"==typeof globalThis?"undefined":r(globalThis))?globalThis.regeneratorRuntime=o:Function("r","regeneratorRuntime = r")(o)}},9239:function(t,e,n){var r,o,i;function a(t){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},a(t)}t=n.nmd(t),i=function(t){var e=t&&t.IPv6;return{best:function(t){var e,n,r=t.toLowerCase().split(":"),o=r.length,i=8;for(""===r[0]&&""===r[1]&&""===r[2]?(r.shift(),r.shift()):""===r[0]&&""===r[1]?r.shift():""===r[o-1]&&""===r[o-2]&&r.pop(),-1!==r[(o=r.length)-1].indexOf(".")&&(i=7),e=0;e<o&&""!==r[e];e++);if(e<i)for(r.splice(e,1,"0000");r.length<i;)r.splice(e,0,"0000");for(var a=0;a<i;a++){n=r[a].split("");for(var s=0;s<3&&"0"===n[0]&&n.length>1;s++)n.splice(0,1);r[a]=n.join("")}var c=-1,u=0,l=0,p=-1,f=!1;for(a=0;a<i;a++)f?"0"===r[a]?l+=1:(f=!1,l>u&&(c=p,u=l)):"0"===r[a]&&(f=!0,p=a,l=1);l>u&&(c=p,u=l),u>1&&r.splice(c,u,""),o=r.length;var d="";for(""===r[0]&&(d=":"),a=0;a<o&&(d+=r[a],a!==o-1);a++)d+=":";return""===r[o-1]&&(d+=":"),d},noConflict:function(){return t.IPv6===this&&(t.IPv6=e),this}}},"object"===a(t)&&t.exports?t.exports=i():void 0===(o="function"==typeof(r=i)?r.call(e,n,e,t):r)||(t.exports=o)},4035:function(t,e,n){var r,o,i;function a(t){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},a(t)}t=n.nmd(t),i=function(t){var e=t&&t.SecondLevelDomains,n={list:{ac:" com gov mil net org ",ae:" ac co gov mil name net org pro sch ",af:" com edu gov net org ",al:" com edu gov mil net org ",ao:" co ed gv it og pb ",ar:" com edu gob gov int mil net org tur ",at:" ac co gv or ",au:" asn com csiro edu gov id net org ",ba:" co com edu gov mil net org rs unbi unmo unsa untz unze ",bb:" biz co com edu gov info net org store tv ",bh:" biz cc com edu gov info net org ",bn:" com edu gov net org ",bo:" com edu gob gov int mil net org tv ",br:" adm adv agr am arq art ato b bio blog bmd cim cng cnt com coop ecn edu eng esp etc eti far flog fm fnd fot fst g12 ggf gov imb ind inf jor jus lel mat med mil mus net nom not ntr odo org ppg pro psc psi qsl rec slg srv tmp trd tur tv vet vlog wiki zlg ",bs:" com edu gov net org ",bz:" du et om ov rg ",ca:" ab bc mb nb nf nl ns nt nu on pe qc sk yk ",ck:" biz co edu gen gov info net org ",cn:" ac ah bj com cq edu fj gd gov gs gx gz ha hb he hi hl hn jl js jx ln mil net nm nx org qh sc sd sh sn sx tj tw xj xz yn zj ",co:" com edu gov mil net nom org ",cr:" ac c co ed fi go or sa ",cy:" ac biz com ekloges gov ltd name net org parliament press pro tm ",do:" art com edu gob gov mil net org sld web ",dz:" art asso com edu gov net org pol ",ec:" com edu fin gov info med mil net org pro ",eg:" com edu eun gov mil name net org sci ",er:" com edu gov ind mil net org rochest w ",es:" com edu gob nom org ",et:" biz com edu gov info name net org ",fj:" ac biz com info mil name net org pro ",fk:" ac co gov net nom org ",fr:" asso com f gouv nom prd presse tm ",gg:" co net org ",gh:" com edu gov mil org ",gn:" ac com gov net org ",gr:" com edu gov mil net org ",gt:" com edu gob ind mil net org ",gu:" com edu gov net org ",hk:" com edu gov idv net org ",hu:" 2000 agrar bolt casino city co erotica erotika film forum games hotel info ingatlan jogasz konyvelo lakas media news org priv reklam sex shop sport suli szex tm tozsde utazas video ",id:" ac co go mil net or sch web ",il:" ac co gov idf k12 muni net org ",in:" ac co edu ernet firm gen gov i ind mil net nic org res ",iq:" com edu gov i mil net org ",ir:" ac co dnssec gov i id net org sch ",it:" edu gov ",je:" co net org ",jo:" com edu gov mil name net org sch ",jp:" ac ad co ed go gr lg ne or ",ke:" ac co go info me mobi ne or sc ",kh:" com edu gov mil net org per ",ki:" biz com de edu gov info mob net org tel ",km:" asso com coop edu gouv k medecin mil nom notaires pharmaciens presse tm veterinaire ",kn:" edu gov net org ",kr:" ac busan chungbuk chungnam co daegu daejeon es gangwon go gwangju gyeongbuk gyeonggi gyeongnam hs incheon jeju jeonbuk jeonnam k kg mil ms ne or pe re sc seoul ulsan ",kw:" com edu gov net org ",ky:" com edu gov net org ",kz:" com edu gov mil net org ",lb:" com edu gov net org ",lk:" assn com edu gov grp hotel int ltd net ngo org sch soc web ",lr:" com edu gov net org ",lv:" asn com conf edu gov id mil net org ",ly:" com edu gov id med net org plc sch ",ma:" ac co gov m net org press ",mc:" asso tm ",me:" ac co edu gov its net org priv ",mg:" com edu gov mil nom org prd tm ",mk:" com edu gov inf name net org pro ",ml:" com edu gov net org presse ",mn:" edu gov org ",mo:" com edu gov net org ",mt:" com edu gov net org ",mv:" aero biz com coop edu gov info int mil museum name net org pro ",mw:" ac co com coop edu gov int museum net org ",mx:" com edu gob net org ",my:" com edu gov mil name net org sch ",nf:" arts com firm info net other per rec store web ",ng:" biz com edu gov mil mobi name net org sch ",ni:" ac co com edu gob mil net nom org ",np:" com edu gov mil net org ",nr:" biz com edu gov info net org ",om:" ac biz co com edu gov med mil museum net org pro sch ",pe:" com edu gob mil net nom org sld ",ph:" com edu gov i mil net ngo org ",pk:" biz com edu fam gob gok gon gop gos gov net org web ",pl:" art bialystok biz com edu gda gdansk gorzow gov info katowice krakow lodz lublin mil net ngo olsztyn org poznan pwr radom slupsk szczecin torun warszawa waw wroc wroclaw zgora ",pr:" ac biz com edu est gov info isla name net org pro prof ",ps:" com edu gov net org plo sec ",pw:" belau co ed go ne or ",ro:" arts com firm info nom nt org rec store tm www ",rs:" ac co edu gov in org ",sb:" com edu gov net org ",sc:" com edu gov net org ",sh:" co com edu gov net nom org ",sl:" com edu gov net org ",st:" co com consulado edu embaixada gov mil net org principe saotome store ",sv:" com edu gob org red ",sz:" ac co org ",tr:" av bbs bel biz com dr edu gen gov info k12 name net org pol tel tsk tv web ",tt:" aero biz cat co com coop edu gov info int jobs mil mobi museum name net org pro tel travel ",tw:" club com ebiz edu game gov idv mil net org ",mu:" ac co com gov net or org ",mz:" ac co edu gov org ",na:" co com ",nz:" ac co cri geek gen govt health iwi maori mil net org parliament school ",pa:" abo ac com edu gob ing med net nom org sld ",pt:" com edu gov int net nome org publ ",py:" com edu gov mil net org ",qa:" com edu gov mil net org ",re:" asso com nom ",ru:" ac adygeya altai amur arkhangelsk astrakhan bashkiria belgorod bir bryansk buryatia cbg chel chelyabinsk chita chukotka chuvashia com dagestan e-burg edu gov grozny int irkutsk ivanovo izhevsk jar joshkar-ola kalmykia kaluga kamchatka karelia kazan kchr kemerovo khabarovsk khakassia khv kirov koenig komi kostroma kranoyarsk kuban kurgan kursk lipetsk magadan mari mari-el marine mil mordovia mosreg msk murmansk nalchik net nnov nov novosibirsk nsk omsk orenburg org oryol penza perm pp pskov ptz rnd ryazan sakhalin samara saratov simbirsk smolensk spb stavropol stv surgut tambov tatarstan tom tomsk tsaritsyn tsk tula tuva tver tyumen udm udmurtia ulan-ude vladikavkaz vladimir vladivostok volgograd vologda voronezh vrn vyatka yakutia yamal yekaterinburg yuzhno-sakhalinsk ",rw:" ac co com edu gouv gov int mil net ",sa:" com edu gov med net org pub sch ",sd:" com edu gov info med net org tv ",se:" a ac b bd c d e f g h i k l m n o org p parti pp press r s t tm u w x y z ",sg:" com edu gov idn net org per ",sn:" art com edu gouv org perso univ ",sy:" com edu gov mil net news org ",th:" ac co go in mi net or ",tj:" ac biz co com edu go gov info int mil name net nic org test web ",tn:" agrinet com defense edunet ens fin gov ind info intl mincom nat net org perso rnrt rns rnu tourism ",tz:" ac co go ne or ",ua:" biz cherkassy chernigov chernovtsy ck cn co com crimea cv dn dnepropetrovsk donetsk dp edu gov if in ivano-frankivsk kh kharkov kherson khmelnitskiy kiev kirovograd km kr ks kv lg lugansk lutsk lviv me mk net nikolaev od odessa org pl poltava pp rovno rv sebastopol sumy te ternopil uzhgorod vinnica vn zaporizhzhe zhitomir zp zt ",ug:" ac co go ne or org sc ",uk:" ac bl british-library co cym gov govt icnet jet lea ltd me mil mod national-library-scotland nel net nhs nic nls org orgn parliament plc police sch scot soc ",us:" dni fed isa kids nsn ",uy:" com edu gub mil net org ",ve:" co com edu gob info mil net org web ",vi:" co com k12 net org ",vn:" ac biz com edu gov health info int name net org pro ",ye:" co com gov ltd me net org plc ",yu:" ac co edu gov org ",za:" ac agric alt bourse city co cybernet db edu gov grondar iaccess imt inca landesign law mil net ngo nis nom olivetti org pix school tm web ",zm:" ac co com edu gov net org sch ",com:"ar br cn de eu gb gr hu jpn kr no qc ru sa se uk us uy za ",net:"gb jp se uk ",org:"ae",de:"com "},has:function(t){var e=t.lastIndexOf(".");if(e<=0||e>=t.length-1)return!1;var r=t.lastIndexOf(".",e-1);if(r<=0||r>=e-1)return!1;var o=n.list[t.slice(e+1)];return!!o&&o.indexOf(" "+t.slice(r+1,e)+" ")>=0},is:function(t){var e=t.lastIndexOf(".");if(e<=0||e>=t.length-1)return!1;if(t.lastIndexOf(".",e-1)>=0)return!1;var r=n.list[t.slice(e+1)];return!!r&&r.indexOf(" "+t.slice(0,e)+" ")>=0},get:function(t){var e=t.lastIndexOf(".");if(e<=0||e>=t.length-1)return null;var r=t.lastIndexOf(".",e-1);if(r<=0||r>=e-1)return null;var o=n.list[t.slice(e+1)];return o?o.indexOf(" "+t.slice(r+1,e)+" ")<0?null:t.slice(r+1):null},noConflict:function(){return t.SecondLevelDomains===this&&(t.SecondLevelDomains=e),this}};return n},"object"===a(t)&&t.exports?t.exports=i():void 0===(o="function"==typeof(r=i)?r.call(e,n,e,t):r)||(t.exports=o)},5016:function(t,e,n){var r,o,i,a;function s(t){return s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},s(t)}t=n.nmd(t),a=function(t,e,n,r){var o=r&&r.URI;function i(t,e){var n=arguments.length>=1;if(!(this instanceof i))return n?arguments.length>=2?new i(t,e):new i(t):new i;if(void 0===t){if(n)throw new TypeError("undefined is not a valid argument for URI");t="undefined"!=typeof location?location.href+"":""}if(null===t&&n)throw new TypeError("null is not a valid argument for URI");return this.href(t),void 0!==e?this.absoluteTo(e):this}i.version="1.19.10";var a=i.prototype,c=Object.prototype.hasOwnProperty;function u(t){return t.replace(/([.*+?^=!:${}()|[\]\/\\])/g,"\\$1")}function l(t){return void 0===t?"Undefined":String(Object.prototype.toString.call(t)).slice(8,-1)}function p(t){return"Array"===l(t)}function f(t,e){var n,r,o={};if("RegExp"===l(e))o=null;else if(p(e))for(n=0,r=e.length;n<r;n++)o[e[n]]=!0;else o[e]=!0;for(n=0,r=t.length;n<r;n++)(o&&void 0!==o[t[n]]||!o&&e.test(t[n]))&&(t.splice(n,1),r--,n--);return t}function d(t,e){var n,r;if(p(e)){for(n=0,r=e.length;n<r;n++)if(!d(t,e[n]))return!1;return!0}var o=l(e);for(n=0,r=t.length;n<r;n++)if("RegExp"===o){if("string"==typeof t[n]&&t[n].match(e))return!0}else if(t[n]===e)return!0;return!1}function h(t,e){if(!p(t)||!p(e))return!1;if(t.length!==e.length)return!1;t.sort(),e.sort();for(var n=0,r=t.length;n<r;n++)if(t[n]!==e[n])return!1;return!0}function m(t){return t.replace(/^\/+|\/+$/g,"")}function g(t){return escape(t)}function v(t){return encodeURIComponent(t).replace(/[!'()*]/g,g).replace(/\*/g,"%2A")}i._parts=function(){return{protocol:null,username:null,password:null,hostname:null,urn:null,port:null,path:null,query:null,fragment:null,preventInvalidHostname:i.preventInvalidHostname,duplicateQueryParameters:i.duplicateQueryParameters,escapeQuerySpace:i.escapeQuerySpace}},i.preventInvalidHostname=!1,i.duplicateQueryParameters=!1,i.escapeQuerySpace=!0,i.protocol_expression=/^[a-z][a-z0-9.+-]*$/i,i.idn_expression=/[^a-z0-9\._-]/i,i.punycode_expression=/(xn--)/i,i.ip4_expression=/^\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}$/,i.ip6_expression=/^\s*((([0-9A-Fa-f]{1,4}:){7}([0-9A-Fa-f]{1,4}|:))|(([0-9A-Fa-f]{1,4}:){6}(:[0-9A-Fa-f]{1,4}|((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){5}(((:[0-9A-Fa-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){4}(((:[0-9A-Fa-f]{1,4}){1,3})|((:[0-9A-Fa-f]{1,4})?:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){3}(((:[0-9A-Fa-f]{1,4}){1,4})|((:[0-9A-Fa-f]{1,4}){0,2}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){2}(((:[0-9A-Fa-f]{1,4}){1,5})|((:[0-9A-Fa-f]{1,4}){0,3}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){1}(((:[0-9A-Fa-f]{1,4}){1,6})|((:[0-9A-Fa-f]{1,4}){0,4}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(:(((:[0-9A-Fa-f]{1,4}){1,7})|((:[0-9A-Fa-f]{1,4}){0,5}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))(%.+)?\s*$/,i.find_uri_expression=/\b((?:[a-z][\w-]+:(?:\/{1,3}|[a-z0-9%])|www\d{0,3}[.]|[a-z0-9.\-]+[.][a-z]{2,4}\/)(?:[^\s()<>]+|\(([^\s()<>]+|(\([^\s()<>]+\)))*\))+(?:\(([^\s()<>]+|(\([^\s()<>]+\)))*\)|[^\s`!()\[\]{};:'".,<>?«»“”‘’]))/gi,i.findUri={start:/\b(?:([a-z][a-z0-9.+-]*:\/\/)|www\.)/gi,end:/[\s\r\n]|$/,trim:/[`!()\[\]{};:'".,<>?«»“”„‘’]+$/,parens:/(\([^\)]*\)|\[[^\]]*\]|\{[^}]*\}|<[^>]*>)/g},i.leading_whitespace_expression=/^[\x00-\x20\u00a0\u1680\u2000-\u200a\u2028\u2029\u202f\u205f\u3000\ufeff]+/,i.defaultPorts={http:"80",https:"443",ftp:"21",gopher:"70",ws:"80",wss:"443"},i.hostProtocols=["http","https"],i.invalid_hostname_characters=/[^a-zA-Z0-9\.\-:_]/,i.domAttributes={a:"href",blockquote:"cite",link:"href",base:"href",script:"src",form:"action",img:"src",area:"href",iframe:"src",embed:"src",source:"src",track:"src",input:"src",audio:"src",video:"src"},i.getDomAttribute=function(t){if(t&&t.nodeName){var e=t.nodeName.toLowerCase();if("input"!==e||"image"===t.type)return i.domAttributes[e]}},i.encode=v,i.decode=decodeURIComponent,i.iso8859=function(){i.encode=escape,i.decode=unescape},i.unicode=function(){i.encode=v,i.decode=decodeURIComponent},i.characters={pathname:{encode:{expression:/%(24|26|2B|2C|3B|3D|3A|40)/gi,map:{"%24":"$","%26":"&","%2B":"+","%2C":",","%3B":";","%3D":"=","%3A":":","%40":"@"}},decode:{expression:/[\/\?#]/g,map:{"/":"%2F","?":"%3F","#":"%23"}}},reserved:{encode:{expression:/%(21|23|24|26|27|28|29|2A|2B|2C|2F|3A|3B|3D|3F|40|5B|5D)/gi,map:{"%3A":":","%2F":"/","%3F":"?","%23":"#","%5B":"[","%5D":"]","%40":"@","%21":"!","%24":"$","%26":"&","%27":"'","%28":"(","%29":")","%2A":"*","%2B":"+","%2C":",","%3B":";","%3D":"="}}},urnpath:{encode:{expression:/%(21|24|27|28|29|2A|2B|2C|3B|3D|40)/gi,map:{"%21":"!","%24":"$","%27":"'","%28":"(","%29":")","%2A":"*","%2B":"+","%2C":",","%3B":";","%3D":"=","%40":"@"}},decode:{expression:/[\/\?#:]/g,map:{"/":"%2F","?":"%3F","#":"%23",":":"%3A"}}}},i.encodeQuery=function(t,e){var n=i.encode(t+"");return void 0===e&&(e=i.escapeQuerySpace),e?n.replace(/%20/g,"+"):n},i.decodeQuery=function(t,e){t+="",void 0===e&&(e=i.escapeQuerySpace);try{return i.decode(e?t.replace(/\+/g,"%20"):t)}catch(e){return t}};var y,b={encode:"encode",decode:"decode"},w=function(t,e){return function(n){try{return i[e](n+"").replace(i.characters[t][e].expression,(function(n){return i.characters[t][e].map[n]}))}catch(t){return n}}};for(y in b)i[y+"PathSegment"]=w("pathname",b[y]),i[y+"UrnPathSegment"]=w("urnpath",b[y]);var x=function(t,e,n){return function(r){var o;o=n?function(t){return i[e](i[n](t))}:i[e];for(var a=(r+"").split(t),s=0,c=a.length;s<c;s++)a[s]=o(a[s]);return a.join(t)}};function _(t){return function(e,n){return void 0===e?this._parts[t]||"":(this._parts[t]=e||null,this.build(!n),this)}}function A(t,e){return function(n,r){return void 0===n?this._parts[t]||"":(null!==n&&(n+="").charAt(0)===e&&(n=n.substring(1)),this._parts[t]=n,this.build(!r),this)}}i.decodePath=x("/","decodePathSegment"),i.decodeUrnPath=x(":","decodeUrnPathSegment"),i.recodePath=x("/","encodePathSegment","decode"),i.recodeUrnPath=x(":","encodeUrnPathSegment","decode"),i.encodeReserved=w("reserved","encode"),i.parse=function(t,e){var n;return e||(e={preventInvalidHostname:i.preventInvalidHostname}),(n=(t=t.replace(i.leading_whitespace_expression,"")).indexOf("#"))>-1&&(e.fragment=t.substring(n+1)||null,t=t.substring(0,n)),(n=t.indexOf("?"))>-1&&(e.query=t.substring(n+1)||null,t=t.substring(0,n)),"//"===(t=t.replace(/^(https?|ftp|wss?)?:+[/\\]*/i,"$1://")).substring(0,2)?(e.protocol=null,t=t.substring(2),t=i.parseAuthority(t,e)):(n=t.indexOf(":"))>-1&&(e.protocol=t.substring(0,n)||null,e.protocol&&!e.protocol.match(i.protocol_expression)?e.protocol=void 0:"//"===t.substring(n+1,n+3).replace(/\\/g,"/")?(t=t.substring(n+3),t=i.parseAuthority(t,e)):(t=t.substring(n+1),e.urn=!0)),e.path=t,e},i.parseHost=function(t,e){t||(t="");var n,r,o=(t=t.replace(/\\/g,"/")).indexOf("/");if(-1===o&&(o=t.length),"["===t.charAt(0))n=t.indexOf("]"),e.hostname=t.substring(1,n)||null,e.port=t.substring(n+2,o)||null,"/"===e.port&&(e.port=null);else{var a=t.indexOf(":"),s=t.indexOf("/"),c=t.indexOf(":",a+1);-1!==c&&(-1===s||c<s)?(e.hostname=t.substring(0,o)||null,e.port=null):(r=t.substring(0,o).split(":"),e.hostname=r[0]||null,e.port=r[1]||null)}return e.hostname&&"/"!==t.substring(o).charAt(0)&&(o++,t="/"+t),e.preventInvalidHostname&&i.ensureValidHostname(e.hostname,e.protocol),e.port&&i.ensureValidPort(e.port),t.substring(o)||"/"},i.parseAuthority=function(t,e){return t=i.parseUserinfo(t,e),i.parseHost(t,e)},i.parseUserinfo=function(t,e){var n=t;-1!==t.indexOf("\\")&&(t=t.replace(/\\/g,"/"));var r,o=t.indexOf("/"),a=t.lastIndexOf("@",o>-1?o:t.length-1);return a>-1&&(-1===o||a<o)?(r=t.substring(0,a).split(":"),e.username=r[0]?i.decode(r[0]):null,r.shift(),e.password=r[0]?i.decode(r.join(":")):null,t=n.substring(a+1)):(e.username=null,e.password=null),t},i.parseQuery=function(t,e){if(!t)return{};if(!(t=t.replace(/&+/g,"&").replace(/^\?*&*|&+$/g,"")))return{};for(var n,r,o,a={},s=t.split("&"),u=s.length,l=0;l<u;l++)n=s[l].split("="),r=i.decodeQuery(n.shift(),e),o=n.length?i.decodeQuery(n.join("="),e):null,"__proto__"!==r&&(c.call(a,r)?("string"!=typeof a[r]&&null!==a[r]||(a[r]=[a[r]]),a[r].push(o)):a[r]=o);return a},i.build=function(t){var e="",n=!1;return t.protocol&&(e+=t.protocol+":"),t.urn||!e&&!t.hostname||(e+="//",n=!0),e+=i.buildAuthority(t)||"","string"==typeof t.path&&("/"!==t.path.charAt(0)&&n&&(e+="/"),e+=t.path),"string"==typeof t.query&&t.query&&(e+="?"+t.query),"string"==typeof t.fragment&&t.fragment&&(e+="#"+t.fragment),e},i.buildHost=function(t){var e="";return t.hostname?(i.ip6_expression.test(t.hostname)?e+="["+t.hostname+"]":e+=t.hostname,t.port&&(e+=":"+t.port),e):""},i.buildAuthority=function(t){return i.buildUserinfo(t)+i.buildHost(t)},i.buildUserinfo=function(t){var e="";return t.username&&(e+=i.encode(t.username)),t.password&&(e+=":"+i.encode(t.password)),e&&(e+="@"),e},i.buildQuery=function(t,e,n){var r,o,a,s,u="";for(o in t)if("__proto__"!==o&&c.call(t,o))if(p(t[o]))for(r={},a=0,s=t[o].length;a<s;a++)void 0!==t[o][a]&&void 0===r[t[o][a]+""]&&(u+="&"+i.buildQueryParameter(o,t[o][a],n),!0!==e&&(r[t[o][a]+""]=!0));else void 0!==t[o]&&(u+="&"+i.buildQueryParameter(o,t[o],n));return u.substring(1)},i.buildQueryParameter=function(t,e,n){return i.encodeQuery(t,n)+(null!==e?"="+i.encodeQuery(e,n):"")},i.addQuery=function(t,e,n){if("object"===s(e))for(var r in e)c.call(e,r)&&i.addQuery(t,r,e[r]);else{if("string"!=typeof e)throw new TypeError("URI.addQuery() accepts an object, string as the name parameter");if(void 0===t[e])return void(t[e]=n);"string"==typeof t[e]&&(t[e]=[t[e]]),p(n)||(n=[n]),t[e]=(t[e]||[]).concat(n)}},i.setQuery=function(t,e,n){if("object"===s(e))for(var r in e)c.call(e,r)&&i.setQuery(t,r,e[r]);else{if("string"!=typeof e)throw new TypeError("URI.setQuery() accepts an object, string as the name parameter");t[e]=void 0===n?null:n}},i.removeQuery=function(t,e,n){var r,o,a;if(p(e))for(r=0,o=e.length;r<o;r++)t[e[r]]=void 0;else if("RegExp"===l(e))for(a in t)e.test(a)&&(t[a]=void 0);else if("object"===s(e))for(a in e)c.call(e,a)&&i.removeQuery(t,a,e[a]);else{if("string"!=typeof e)throw new TypeError("URI.removeQuery() accepts an object, string, RegExp as the first parameter");void 0!==n?"RegExp"===l(n)?!p(t[e])&&n.test(t[e])?t[e]=void 0:t[e]=f(t[e],n):t[e]!==String(n)||p(n)&&1!==n.length?p(t[e])&&(t[e]=f(t[e],n)):t[e]=void 0:t[e]=void 0}},i.hasQuery=function(t,e,n,r){switch(l(e)){case"String":break;case"RegExp":for(var o in t)if(c.call(t,o)&&e.test(o)&&(void 0===n||i.hasQuery(t,o,n)))return!0;return!1;case"Object":for(var a in e)if(c.call(e,a)&&!i.hasQuery(t,a,e[a]))return!1;return!0;default:throw new TypeError("URI.hasQuery() accepts a string, regular expression or object as the name parameter")}switch(l(n)){case"Undefined":return e in t;case"Boolean":return n===Boolean(p(t[e])?t[e].length:t[e]);case"Function":return!!n(t[e],e,t);case"Array":return!!p(t[e])&&(r?d:h)(t[e],n);case"RegExp":return p(t[e])?!!r&&d(t[e],n):Boolean(t[e]&&t[e].match(n));case"Number":n=String(n);case"String":return p(t[e])?!!r&&d(t[e],n):t[e]===n;default:throw new TypeError("URI.hasQuery() accepts undefined, boolean, string, number, RegExp, Function as the value parameter")}},i.joinPaths=function(){for(var t=[],e=[],n=0,r=0;r<arguments.length;r++){var o=new i(arguments[r]);t.push(o);for(var a=o.segment(),s=0;s<a.length;s++)"string"==typeof a[s]&&e.push(a[s]),a[s]&&n++}if(!e.length||!n)return new i("");var c=new i("").segment(e);return""!==t[0].path()&&"/"!==t[0].path().slice(0,1)||c.path("/"+c.path()),c.normalize()},i.commonPath=function(t,e){var n,r=Math.min(t.length,e.length);for(n=0;n<r;n++)if(t.charAt(n)!==e.charAt(n)){n--;break}return n<1?t.charAt(0)===e.charAt(0)&&"/"===t.charAt(0)?"/":"":("/"===t.charAt(n)&&"/"===e.charAt(n)||(n=t.substring(0,n).lastIndexOf("/")),t.substring(0,n+1))},i.withinString=function(t,e,n){n||(n={});var r=n.start||i.findUri.start,o=n.end||i.findUri.end,a=n.trim||i.findUri.trim,s=n.parens||i.findUri.parens,c=/[a-z0-9-]=["']?$/i;for(r.lastIndex=0;;){var u=r.exec(t);if(!u)break;var l=u.index;if(n.ignoreHtml){var p=t.slice(Math.max(l-3,0),l);if(p&&c.test(p))continue}for(var f=l+t.slice(l).search(o),d=t.slice(l,f),h=-1;;){var m=s.exec(d);if(!m)break;var g=m.index+m[0].length;h=Math.max(h,g)}if(!((d=h>-1?d.slice(0,h)+d.slice(h).replace(a,""):d.replace(a,"")).length<=u[0].length||n.ignore&&n.ignore.test(d))){var v=e(d,l,f=l+d.length,t);void 0!==v?(v=String(v),t=t.slice(0,l)+v+t.slice(f),r.lastIndex=l+v.length):r.lastIndex=f}}return r.lastIndex=0,t},i.ensureValidHostname=function(e,n){var r=!!e,o=!1;if(!!n&&(o=d(i.hostProtocols,n)),o&&!r)throw new TypeError("Hostname cannot be empty, if protocol is "+n);if(e&&e.match(i.invalid_hostname_characters)){if(!t)throw new TypeError('Hostname "'+e+'" contains characters other than [A-Z0-9.-:_] and Punycode.js is not available');if(t.toASCII(e).match(i.invalid_hostname_characters))throw new TypeError('Hostname "'+e+'" contains characters other than [A-Z0-9.-:_]')}},i.ensureValidPort=function(t){if(t){var e=Number(t);if(!(/^[0-9]+$/.test(e)&&e>0&&e<65536))throw new TypeError('Port "'+t+'" is not a valid port')}},i.noConflict=function(t){if(t){var e={URI:this.noConflict()};return r.URITemplate&&"function"==typeof r.URITemplate.noConflict&&(e.URITemplate=r.URITemplate.noConflict()),r.IPv6&&"function"==typeof r.IPv6.noConflict&&(e.IPv6=r.IPv6.noConflict()),r.SecondLevelDomains&&"function"==typeof r.SecondLevelDomains.noConflict&&(e.SecondLevelDomains=r.SecondLevelDomains.noConflict()),e}return r.URI===this&&(r.URI=o),this},a.build=function(t){return!0===t?this._deferred_build=!0:(void 0===t||this._deferred_build)&&(this._string=i.build(this._parts),this._deferred_build=!1),this},a.clone=function(){return new i(this)},a.valueOf=a.toString=function(){return this.build(!1)._string},a.protocol=_("protocol"),a.username=_("username"),a.password=_("password"),a.hostname=_("hostname"),a.port=_("port"),a.query=A("query","?"),a.fragment=A("fragment","#"),a.search=function(t,e){var n=this.query(t,e);return"string"==typeof n&&n.length?"?"+n:n},a.hash=function(t,e){var n=this.fragment(t,e);return"string"==typeof n&&n.length?"#"+n:n},a.pathname=function(t,e){if(void 0===t||!0===t){var n=this._parts.path||(this._parts.hostname?"/":"");return t?(this._parts.urn?i.decodeUrnPath:i.decodePath)(n):n}return this._parts.urn?this._parts.path=t?i.recodeUrnPath(t):"":this._parts.path=t?i.recodePath(t):"/",this.build(!e),this},a.path=a.pathname,a.href=function(t,e){var n;if(void 0===t)return this.toString();this._string="",this._parts=i._parts();var r=t instanceof i,o="object"===s(t)&&(t.hostname||t.path||t.pathname);if(t.nodeName&&(t=t[i.getDomAttribute(t)]||"",o=!1),!r&&o&&void 0!==t.pathname&&(t=t.toString()),"string"==typeof t||t instanceof String)this._parts=i.parse(String(t),this._parts);else{if(!r&&!o)throw new TypeError("invalid input");var a=r?t._parts:t;for(n in a)"query"!==n&&c.call(this._parts,n)&&(this._parts[n]=a[n]);a.query&&this.query(a.query,!1)}return this.build(!e),this},a.is=function(t){var e=!1,r=!1,o=!1,a=!1,s=!1,c=!1,u=!1,l=!this._parts.urn;switch(this._parts.hostname&&(l=!1,r=i.ip4_expression.test(this._parts.hostname),o=i.ip6_expression.test(this._parts.hostname),s=(a=!(e=r||o))&&n&&n.has(this._parts.hostname),c=a&&i.idn_expression.test(this._parts.hostname),u=a&&i.punycode_expression.test(this._parts.hostname)),t.toLowerCase()){case"relative":return l;case"absolute":return!l;case"domain":case"name":return a;case"sld":return s;case"ip":return e;case"ip4":case"ipv4":case"inet4":return r;case"ip6":case"ipv6":case"inet6":return o;case"idn":return c;case"url":return!this._parts.urn;case"urn":return!!this._parts.urn;case"punycode":return u}return null};var k=a.protocol,E=a.port,S=a.hostname;a.protocol=function(t,e){if(t&&!(t=t.replace(/:(\/\/)?$/,"")).match(i.protocol_expression))throw new TypeError('Protocol "'+t+"\" contains characters other than [A-Z0-9.+-] or doesn't start with [A-Z]");return k.call(this,t,e)},a.scheme=a.protocol,a.port=function(t,e){return this._parts.urn?void 0===t?"":this:(void 0!==t&&(0===t&&(t=null),t&&(":"===(t+="").charAt(0)&&(t=t.substring(1)),i.ensureValidPort(t))),E.call(this,t,e))},a.hostname=function(t,e){if(this._parts.urn)return void 0===t?"":this;if(void 0!==t){var n={preventInvalidHostname:this._parts.preventInvalidHostname};if("/"!==i.parseHost(t,n))throw new TypeError('Hostname "'+t+'" contains characters other than [A-Z0-9.-]');t=n.hostname,this._parts.preventInvalidHostname&&i.ensureValidHostname(t,this._parts.protocol)}return S.call(this,t,e)},a.origin=function(t,e){if(this._parts.urn)return void 0===t?"":this;if(void 0===t){var n=this.protocol();return this.authority()?(n?n+"://":"")+this.authority():""}var r=i(t);return this.protocol(r.protocol()).authority(r.authority()).build(!e),this},a.host=function(t,e){if(this._parts.urn)return void 0===t?"":this;if(void 0===t)return this._parts.hostname?i.buildHost(this._parts):"";if("/"!==i.parseHost(t,this._parts))throw new TypeError('Hostname "'+t+'" contains characters other than [A-Z0-9.-]');return this.build(!e),this},a.authority=function(t,e){if(this._parts.urn)return void 0===t?"":this;if(void 0===t)return this._parts.hostname?i.buildAuthority(this._parts):"";if("/"!==i.parseAuthority(t,this._parts))throw new TypeError('Hostname "'+t+'" contains characters other than [A-Z0-9.-]');return this.build(!e),this},a.userinfo=function(t,e){if(this._parts.urn)return void 0===t?"":this;if(void 0===t){var n=i.buildUserinfo(this._parts);return n?n.substring(0,n.length-1):n}return"@"!==t[t.length-1]&&(t+="@"),i.parseUserinfo(t,this._parts),this.build(!e),this},a.resource=function(t,e){var n;return void 0===t?this.path()+this.search()+this.hash():(n=i.parse(t),this._parts.path=n.path,this._parts.query=n.query,this._parts.fragment=n.fragment,this.build(!e),this)},a.subdomain=function(t,e){if(this._parts.urn)return void 0===t?"":this;if(void 0===t){if(!this._parts.hostname||this.is("IP"))return"";var n=this._parts.hostname.length-this.domain().length-1;return this._parts.hostname.substring(0,n)||""}var r=this._parts.hostname.length-this.domain().length,o=this._parts.hostname.substring(0,r),a=new RegExp("^"+u(o));if(t&&"."!==t.charAt(t.length-1)&&(t+="."),-1!==t.indexOf(":"))throw new TypeError("Domains cannot contain colons");return t&&i.ensureValidHostname(t,this._parts.protocol),this._parts.hostname=this._parts.hostname.replace(a,t),this.build(!e),this},a.domain=function(t,e){if(this._parts.urn)return void 0===t?"":this;if("boolean"==typeof t&&(e=t,t=void 0),void 0===t){if(!this._parts.hostname||this.is("IP"))return"";var n=this._parts.hostname.match(/\./g);if(n&&n.length<2)return this._parts.hostname;var r=this._parts.hostname.length-this.tld(e).length-1;return r=this._parts.hostname.lastIndexOf(".",r-1)+1,this._parts.hostname.substring(r)||""}if(!t)throw new TypeError("cannot set domain empty");if(-1!==t.indexOf(":"))throw new TypeError("Domains cannot contain colons");if(i.ensureValidHostname(t,this._parts.protocol),!this._parts.hostname||this.is("IP"))this._parts.hostname=t;else{var o=new RegExp(u(this.domain())+"$");this._parts.hostname=this._parts.hostname.replace(o,t)}return this.build(!e),this},a.tld=function(t,e){if(this._parts.urn)return void 0===t?"":this;if("boolean"==typeof t&&(e=t,t=void 0),void 0===t){if(!this._parts.hostname||this.is("IP"))return"";var r=this._parts.hostname.lastIndexOf("."),o=this._parts.hostname.substring(r+1);return!0!==e&&n&&n.list[o.toLowerCase()]&&n.get(this._parts.hostname)||o}var i;if(!t)throw new TypeError("cannot set TLD empty");if(t.match(/[^a-zA-Z0-9-]/)){if(!n||!n.is(t))throw new TypeError('TLD "'+t+'" contains characters other than [A-Z0-9]');i=new RegExp(u(this.tld())+"$"),this._parts.hostname=this._parts.hostname.replace(i,t)}else{if(!this._parts.hostname||this.is("IP"))throw new ReferenceError("cannot set TLD on non-domain host");i=new RegExp(u(this.tld())+"$"),this._parts.hostname=this._parts.hostname.replace(i,t)}return this.build(!e),this},a.directory=function(t,e){if(this._parts.urn)return void 0===t?"":this;if(void 0===t||!0===t){if(!this._parts.path&&!this._parts.hostname)return"";if("/"===this._parts.path)return"/";var n=this._parts.path.length-this.filename().length-1,r=this._parts.path.substring(0,n)||(this._parts.hostname?"/":"");return t?i.decodePath(r):r}var o=this._parts.path.length-this.filename().length,a=this._parts.path.substring(0,o),s=new RegExp("^"+u(a));return this.is("relative")||(t||(t="/"),"/"!==t.charAt(0)&&(t="/"+t)),t&&"/"!==t.charAt(t.length-1)&&(t+="/"),t=i.recodePath(t),this._parts.path=this._parts.path.replace(s,t),this.build(!e),this},a.filename=function(t,e){if(this._parts.urn)return void 0===t?"":this;if("string"!=typeof t){if(!this._parts.path||"/"===this._parts.path)return"";var n=this._parts.path.lastIndexOf("/"),r=this._parts.path.substring(n+1);return t?i.decodePathSegment(r):r}var o=!1;"/"===t.charAt(0)&&(t=t.substring(1)),t.match(/\.?\//)&&(o=!0);var a=new RegExp(u(this.filename())+"$");return t=i.recodePath(t),this._parts.path=this._parts.path.replace(a,t),o?this.normalizePath(e):this.build(!e),this},a.suffix=function(t,e){if(this._parts.urn)return void 0===t?"":this;if(void 0===t||!0===t){if(!this._parts.path||"/"===this._parts.path)return"";var n,r,o=this.filename(),a=o.lastIndexOf(".");return-1===a?"":(n=o.substring(a+1),r=/^[a-z0-9%]+$/i.test(n)?n:"",t?i.decodePathSegment(r):r)}"."===t.charAt(0)&&(t=t.substring(1));var s,c=this.suffix();if(c)s=t?new RegExp(u(c)+"$"):new RegExp(u("."+c)+"$");else{if(!t)return this;this._parts.path+="."+i.recodePath(t)}return s&&(t=i.recodePath(t),this._parts.path=this._parts.path.replace(s,t)),this.build(!e),this},a.segment=function(t,e,n){var r=this._parts.urn?":":"/",o=this.path(),i="/"===o.substring(0,1),a=o.split(r);if(void 0!==t&&"number"!=typeof t&&(n=e,e=t,t=void 0),void 0!==t&&"number"!=typeof t)throw new Error('Bad segment "'+t+'", must be 0-based integer');if(i&&a.shift(),t<0&&(t=Math.max(a.length+t,0)),void 0===e)return void 0===t?a:a[t];if(null===t||void 0===a[t])if(p(e)){a=[];for(var s=0,c=e.length;s<c;s++)(e[s].length||a.length&&a[a.length-1].length)&&(a.length&&!a[a.length-1].length&&a.pop(),a.push(m(e[s])))}else(e||"string"==typeof e)&&(e=m(e),""===a[a.length-1]?a[a.length-1]=e:a.push(e));else e?a[t]=m(e):a.splice(t,1);return i&&a.unshift(""),this.path(a.join(r),n)},a.segmentCoded=function(t,e,n){var r,o,a;if("number"!=typeof t&&(n=e,e=t,t=void 0),void 0===e){if(p(r=this.segment(t,e,n)))for(o=0,a=r.length;o<a;o++)r[o]=i.decode(r[o]);else r=void 0!==r?i.decode(r):void 0;return r}if(p(e))for(o=0,a=e.length;o<a;o++)e[o]=i.encode(e[o]);else e="string"==typeof e||e instanceof String?i.encode(e):e;return this.segment(t,e,n)};var T=a.query;return a.query=function(t,e){if(!0===t)return i.parseQuery(this._parts.query,this._parts.escapeQuerySpace);if("function"==typeof t){var n=i.parseQuery(this._parts.query,this._parts.escapeQuerySpace),r=t.call(this,n);return this._parts.query=i.buildQuery(r||n,this._parts.duplicateQueryParameters,this._parts.escapeQuerySpace),this.build(!e),this}return void 0!==t&&"string"!=typeof t?(this._parts.query=i.buildQuery(t,this._parts.duplicateQueryParameters,this._parts.escapeQuerySpace),this.build(!e),this):T.call(this,t,e)},a.setQuery=function(t,e,n){var r=i.parseQuery(this._parts.query,this._parts.escapeQuerySpace);if("string"==typeof t||t instanceof String)r[t]=void 0!==e?e:null;else{if("object"!==s(t))throw new TypeError("URI.addQuery() accepts an object, string as the name parameter");for(var o in t)c.call(t,o)&&(r[o]=t[o])}return this._parts.query=i.buildQuery(r,this._parts.duplicateQueryParameters,this._parts.escapeQuerySpace),"string"!=typeof t&&(n=e),this.build(!n),this},a.addQuery=function(t,e,n){var r=i.parseQuery(this._parts.query,this._parts.escapeQuerySpace);return i.addQuery(r,t,void 0===e?null:e),this._parts.query=i.buildQuery(r,this._parts.duplicateQueryParameters,this._parts.escapeQuerySpace),"string"!=typeof t&&(n=e),this.build(!n),this},a.removeQuery=function(t,e,n){var r=i.parseQuery(this._parts.query,this._parts.escapeQuerySpace);return i.removeQuery(r,t,e),this._parts.query=i.buildQuery(r,this._parts.duplicateQueryParameters,this._parts.escapeQuerySpace),"string"!=typeof t&&(n=e),this.build(!n),this},a.hasQuery=function(t,e,n){var r=i.parseQuery(this._parts.query,this._parts.escapeQuerySpace);return i.hasQuery(r,t,e,n)},a.setSearch=a.setQuery,a.addSearch=a.addQuery,a.removeSearch=a.removeQuery,a.hasSearch=a.hasQuery,a.normalize=function(){return this._parts.urn?this.normalizeProtocol(!1).normalizePath(!1).normalizeQuery(!1).normalizeFragment(!1).build():this.normalizeProtocol(!1).normalizeHostname(!1).normalizePort(!1).normalizePath(!1).normalizeQuery(!1).normalizeFragment(!1).build()},a.normalizeProtocol=function(t){return"string"==typeof this._parts.protocol&&(this._parts.protocol=this._parts.protocol.toLowerCase(),this.build(!t)),this},a.normalizeHostname=function(n){return this._parts.hostname&&(this.is("IDN")&&t?this._parts.hostname=t.toASCII(this._parts.hostname):this.is("IPv6")&&e&&(this._parts.hostname=e.best(this._parts.hostname)),this._parts.hostname=this._parts.hostname.toLowerCase(),this.build(!n)),this},a.normalizePort=function(t){return"string"==typeof this._parts.protocol&&this._parts.port===i.defaultPorts[this._parts.protocol]&&(this._parts.port=null,this.build(!t)),this},a.normalizePath=function(t){var e,n=this._parts.path;if(!n)return this;if(this._parts.urn)return this._parts.path=i.recodeUrnPath(this._parts.path),this.build(!t),this;if("/"===this._parts.path)return this;var r,o,a="";for("/"!==(n=i.recodePath(n)).charAt(0)&&(e=!0,n="/"+n),"/.."!==n.slice(-3)&&"/."!==n.slice(-2)||(n+="/"),n=n.replace(/(\/(\.\/)+)|(\/\.$)/g,"/").replace(/\/{2,}/g,"/"),e&&(a=n.substring(1).match(/^(\.\.\/)+/)||"")&&(a=a[0]);-1!==(r=n.search(/\/\.\.(\/|$)/));)0!==r?(-1===(o=n.substring(0,r).lastIndexOf("/"))&&(o=r),n=n.substring(0,o)+n.substring(r+3)):n=n.substring(3);return e&&this.is("relative")&&(n=a+n.substring(1)),this._parts.path=n,this.build(!t),this},a.normalizePathname=a.normalizePath,a.normalizeQuery=function(t){return"string"==typeof this._parts.query&&(this._parts.query.length?this.query(i.parseQuery(this._parts.query,this._parts.escapeQuerySpace)):this._parts.query=null,this.build(!t)),this},a.normalizeFragment=function(t){return this._parts.fragment||(this._parts.fragment=null,this.build(!t)),this},a.normalizeSearch=a.normalizeQuery,a.normalizeHash=a.normalizeFragment,a.iso8859=function(){var t=i.encode,e=i.decode;i.encode=escape,i.decode=decodeURIComponent;try{this.normalize()}finally{i.encode=t,i.decode=e}return this},a.unicode=function(){var t=i.encode,e=i.decode;i.encode=v,i.decode=unescape;try{this.normalize()}finally{i.encode=t,i.decode=e}return this},a.readable=function(){var e=this.clone();e.username("").password("").normalize();var n="";if(e._parts.protocol&&(n+=e._parts.protocol+"://"),e._parts.hostname&&(e.is("punycode")&&t?(n+=t.toUnicode(e._parts.hostname),e._parts.port&&(n+=":"+e._parts.port)):n+=e.host()),e._parts.hostname&&e._parts.path&&"/"!==e._parts.path.charAt(0)&&(n+="/"),n+=e.path(!0),e._parts.query){for(var r="",o=0,a=e._parts.query.split("&"),s=a.length;o<s;o++){var c=(a[o]||"").split("=");r+="&"+i.decodeQuery(c[0],this._parts.escapeQuerySpace).replace(/&/g,"%26"),void 0!==c[1]&&(r+="="+i.decodeQuery(c[1],this._parts.escapeQuerySpace).replace(/&/g,"%26"))}n+="?"+r.substring(1)}return n+i.decodeQuery(e.hash(),!0)},a.absoluteTo=function(t){var e,n,r,o=this.clone(),a=["protocol","username","password","hostname","port"];if(this._parts.urn)throw new Error("URNs do not have any generally defined hierarchical components");if(t instanceof i||(t=new i(t)),o._parts.protocol)return o;if(o._parts.protocol=t._parts.protocol,this._parts.hostname)return o;for(n=0;r=a[n];n++)o._parts[r]=t._parts[r];return o._parts.path?(".."===o._parts.path.substring(-2)&&(o._parts.path+="/"),"/"!==o.path().charAt(0)&&(e=(e=t.directory())||(0===t.path().indexOf("/")?"/":""),o._parts.path=(e?e+"/":"")+o._parts.path,o.normalizePath())):(o._parts.path=t._parts.path,o._parts.query||(o._parts.query=t._parts.query)),o.build(),o},a.relativeTo=function(t){var e,n,r,o,a,s=this.clone().normalize();if(s._parts.urn)throw new Error("URNs do not have any generally defined hierarchical components");if(t=new i(t).normalize(),e=s._parts,n=t._parts,o=s.path(),a=t.path(),"/"!==o.charAt(0))throw new Error("URI is already relative");if("/"!==a.charAt(0))throw new Error("Cannot calculate a URI relative to another relative URI");if(e.protocol===n.protocol&&(e.protocol=null),e.username!==n.username||e.password!==n.password)return s.build();if(null!==e.protocol||null!==e.username||null!==e.password)return s.build();if(e.hostname!==n.hostname||e.port!==n.port)return s.build();if(e.hostname=null,e.port=null,o===a)return e.path="",s.build();if(!(r=i.commonPath(o,a)))return s.build();var c=n.path.substring(r.length).replace(/[^\/]*$/,"").replace(/.*?\//g,"../");return e.path=c+e.path.substring(r.length)||"./",s.build()},a.equals=function(t){var e,n,r,o,a,s=this.clone(),u=new i(t),l={};if(s.normalize(),u.normalize(),s.toString()===u.toString())return!0;if(r=s.query(),o=u.query(),s.query(""),u.query(""),s.toString()!==u.toString())return!1;if(r.length!==o.length)return!1;for(a in e=i.parseQuery(r,this._parts.escapeQuerySpace),n=i.parseQuery(o,this._parts.escapeQuerySpace),e)if(c.call(e,a)){if(p(e[a])){if(!h(e[a],n[a]))return!1}else if(e[a]!==n[a])return!1;l[a]=!0}for(a in n)if(c.call(n,a)&&!l[a])return!1;return!0},a.preventInvalidHostname=function(t){return this._parts.preventInvalidHostname=!!t,this},a.duplicateQueryParameters=function(t){return this._parts.duplicateQueryParameters=!!t,this},a.escapeQuerySpace=function(t){return this._parts.escapeQuerySpace=!!t,this},i},"object"===s(t)&&t.exports?t.exports=a(n(2456),n(9239),n(4035)):(o=[n(2456),n(9239),n(4035)],void 0===(i="function"==typeof(r=a)?r.apply(e,o):r)||(t.exports=i))},2456:function(t,e,n){var r;function o(t){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o(t)}t=n.nmd(t),function(i){var a="object"==o(e)&&e&&!e.nodeType&&e,s="object"==o(t)&&t&&!t.nodeType&&t,c="object"==(void 0===n.g?"undefined":o(n.g))&&n.g;c.global!==c&&c.window!==c&&c.self!==c||(i=c);var u,l,p=2147483647,f=36,d=/^xn--/,h=/[^\x20-\x7E]/,m=/[\x2E\u3002\uFF0E\uFF61]/g,g={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},v=Math.floor,y=String.fromCharCode;function b(t){throw new RangeError(g[t])}function w(t,e){for(var n=t.length,r=[];n--;)r[n]=e(t[n]);return r}function x(t,e){var n=t.split("@"),r="";return n.length>1&&(r=n[0]+"@",t=n[1]),r+w((t=t.replace(m,".")).split("."),e).join(".")}function _(t){for(var e,n,r=[],o=0,i=t.length;o<i;)(e=t.charCodeAt(o++))>=55296&&e<=56319&&o<i?56320==(64512&(n=t.charCodeAt(o++)))?r.push(((1023&e)<<10)+(1023&n)+65536):(r.push(e),o--):r.push(e);return r}function A(t){return w(t,(function(t){var e="";return t>65535&&(e+=y((t-=65536)>>>10&1023|55296),t=56320|1023&t),e+y(t)})).join("")}function k(t,e){return t+22+75*(t<26)-((0!=e)<<5)}function E(t,e,n){var r=0;for(t=n?v(t/700):t>>1,t+=v(t/e);t>455;r+=f)t=v(t/35);return v(r+36*t/(t+38))}function S(t){var e,n,r,o,i,a,s,c,u,l,d,h=[],m=t.length,g=0,y=128,w=72;for((n=t.lastIndexOf("-"))<0&&(n=0),r=0;r<n;++r)t.charCodeAt(r)>=128&&b("not-basic"),h.push(t.charCodeAt(r));for(o=n>0?n+1:0;o<m;){for(i=g,a=1,s=f;o>=m&&b("invalid-input"),((c=(d=t.charCodeAt(o++))-48<10?d-22:d-65<26?d-65:d-97<26?d-97:f)>=f||c>v((p-g)/a))&&b("overflow"),g+=c*a,!(c<(u=s<=w?1:s>=w+26?26:s-w));s+=f)a>v(p/(l=f-u))&&b("overflow"),a*=l;w=E(g-i,e=h.length+1,0==i),v(g/e)>p-y&&b("overflow"),y+=v(g/e),g%=e,h.splice(g++,0,y)}return A(h)}function T(t){var e,n,r,o,i,a,s,c,u,l,d,h,m,g,w,x=[];for(h=(t=_(t)).length,e=128,n=0,i=72,a=0;a<h;++a)(d=t[a])<128&&x.push(y(d));for(r=o=x.length,o&&x.push("-");r<h;){for(s=p,a=0;a<h;++a)(d=t[a])>=e&&d<s&&(s=d);for(s-e>v((p-n)/(m=r+1))&&b("overflow"),n+=(s-e)*m,e=s,a=0;a<h;++a)if((d=t[a])<e&&++n>p&&b("overflow"),d==e){for(c=n,u=f;!(c<(l=u<=i?1:u>=i+26?26:u-i));u+=f)w=c-l,g=f-l,x.push(y(k(l+w%g,0))),c=v(w/g);x.push(y(k(c,0))),i=E(n,m,r==o),n=0,++r}++n,++e}return x.join("")}if(u={version:"1.3.2",ucs2:{decode:_,encode:A},decode:S,encode:T,toASCII:function(t){return x(t,(function(t){return h.test(t)?"xn--"+T(t):t}))},toUnicode:function(t){return x(t,(function(t){return d.test(t)?S(t.slice(4).toLowerCase()):t}))}},"object"==o(n.amdO)&&n.amdO)void 0===(r=function(){return u}.call(e,n,e,t))||(t.exports=r);else if(a&&s)if(t.exports==a)s.exports=u;else for(l in u)u.hasOwnProperty(l)&&(a[l]=u[l]);else i.punycode=u}(this)},1062:function(t,e){e.AclPrivate="private",e.AclPublicRead="public-read",e.AclPublicReadWrite="public-read-write",e.AclPublicReadDelivered="public-read-delivered",e.AclPublicReadWriteDelivered="public-read-write-delivered",e.AclAuthenticatedRead="authenticated-read",e.AclBucketOwnerRead="bucket-owner-read",e.AclBucketOwnerFullControl="bucket-owner-full-control",e.AclLogDeliveryWrite="log-delivery-write",e.StorageClassStandard="STANDARD",e.StorageClassWarm="WARM",e.StorageClassCold="COLD",e.PermissionRead="READ",e.PermissionWrite="WRITE",e.PermissionReadAcp="READ_ACP",e.PermissionWriteAcp="WRITE_ACP",e.PermissionFullControl="FULL_CONTROL",e.GroupAllUsers="AllUsers",e.GroupAuthenticatedUsers="AuthenticatedUsers",e.GroupLogDelivery="LogDelivery",e.RestoreTierExpedited="Expedited",e.RestoreTierStandard="Standard",e.RestoreTierBulk="Bulk",e.GranteeGroup="Group",e.GranteeUser="CanonicalUser",e.CopyMetadata="COPY",e.ReplaceMetadata="REPLACE",e.EventObjectCreatedAll="ObjectCreated:*",e.EventObjectCreatedPut="ObjectCreated:Put",e.EventObjectCreatedPost="ObjectCreated:Post",e.EventObjectCreatedCopy="ObjectCreated:Copy",e.EventObjectCreatedCompleteMultipartUpload="ObjectCreated:CompleteMultipartUpload",e.EventObjectRemovedAll="ObjectRemoved:*",e.EventObjectRemovedDelete="ObjectRemoved:Delete",e.EventObjectRemovedDeleteMarkerCreated="ObjectRemoved:DeleteMarkerCreated"}},r={};function o(t){var e=r[t];if(void 0!==e)return e.exports;var i=r[t]={id:t,loaded:!1,exports:{}};return n[t].call(i.exports,i,i.exports,o),i.loaded=!0,i.exports}o.amdO={},o.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return o.d(e,{a:e}),e},e=Object.getPrototypeOf?function(t){return Object.getPrototypeOf(t)}:function(t){return t.__proto__},o.t=function(n,r){if(1&r&&(n=this(n)),8&r)return n;if("object"==typeof n&&n){if(4&r&&n.__esModule)return n;if(16&r&&"function"==typeof n.then)return n}var i=Object.create(null);o.r(i);var a={};t=t||[null,e({}),e([]),e(e)];for(var s=2&r&&n;"object"==typeof s&&!~t.indexOf(s);s=e(s))Object.getOwnPropertyNames(s).forEach((function(t){a[t]=function(){return n[t]}}));return a.default=function(){return n},o.d(i,a),i},o.d=function(t,e){for(var n in e)o.o(e,n)&&!o.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},o.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),o.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},o.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},o.nmd=function(t){return t.paths=[],t.children||(t.children=[]),t};var i={};return function(){o(8392);var t,e=(t=o(9269))&&t.__esModule?t:{default:t};e.default._babelPolyfill&&"undefined"!=typeof console&&console.warn&&console.warn("@babel/polyfill is loaded more than once on this page. This is probably not desirable/intended and may have consequences if different versions of the polyfills are applied sequentially. If you do need to load the polyfill more than once, use @babel/polyfill/noConflict instead to bypass the warning."),e.default._babelPolyfill=!0}(),function(){o.d(i,{default:function(){return Qn}});var t=o(5016),e=o.n(t),n=o(2990),r=o.n(n);function a(t){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},a(t)}function s(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&c(t,e)}function c(t,e){return c=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},c(t,e)}function u(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=p(t);if(e){var o=p(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return l(this,n)}}function l(t,e){if(e&&("object"===a(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}function p(t){return p=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},p(t)}function f(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function d(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function h(t,e,n){return e&&d(t.prototype,e),n&&d(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}var m="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";function g(t,e,n,r){var o,i,a,s=e||[0],c=(n=n||0)>>>3,u=-1===r?3:0;for(o=0;o<t.length;o+=1)i=(a=o+c)>>>2,s.length<=i&&s.push(0),s[i]|=t[o]<<8*(u+r*(a%4));return{value:s,binLen:8*t.length+n}}function v(t,e,n){switch(e){case"UTF8":case"UTF16BE":case"UTF16LE":break;default:throw new Error("encoding must be UTF8, UTF16BE, or UTF16LE")}switch(t){case"HEX":return function(t,e,r){return function(t,e,n,r){var o,i,a,s;if(0!=t.length%2)throw new Error("String of HEX type must be in byte increments");var c=e||[0],u=(n=n||0)>>>3,l=-1===r?3:0;for(o=0;o<t.length;o+=2){if(i=parseInt(t.substr(o,2),16),isNaN(i))throw new Error("String of HEX type contains invalid characters");for(a=(s=(o>>>1)+u)>>>2;c.length<=a;)c.push(0);c[a]|=i<<8*(l+r*(s%4))}return{value:c,binLen:4*t.length+n}}(t,e,r,n)};case"TEXT":return function(t,r,o){return function(t,e,n,r,o){var i,a,s,c,u,l,p,f,d=0,h=n||[0],m=(r=r||0)>>>3;if("UTF8"===e)for(p=-1===o?3:0,s=0;s<t.length;s+=1)for(a=[],128>(i=t.charCodeAt(s))?a.push(i):2048>i?(a.push(192|i>>>6),a.push(128|63&i)):55296>i||57344<=i?a.push(224|i>>>12,128|i>>>6&63,128|63&i):(s+=1,i=65536+((1023&i)<<10|1023&t.charCodeAt(s)),a.push(240|i>>>18,128|i>>>12&63,128|i>>>6&63,128|63&i)),c=0;c<a.length;c+=1){for(u=(l=d+m)>>>2;h.length<=u;)h.push(0);h[u]|=a[c]<<8*(p+o*(l%4)),d+=1}else for(p=-1===o?2:0,f="UTF16LE"===e&&1!==o||"UTF16LE"!==e&&1===o,s=0;s<t.length;s+=1){for(i=t.charCodeAt(s),!0===f&&(i=(c=255&i)<<8|i>>>8),u=(l=d+m)>>>2;h.length<=u;)h.push(0);h[u]|=i<<8*(p+o*(l%4)),d+=2}return{value:h,binLen:8*d+r}}(t,e,r,o,n)};case"B64":return function(t,e,r){return function(t,e,n,r){var o,i,a,s,c,u,l=0,p=e||[0],f=(n=n||0)>>>3,d=-1===r?3:0,h=t.indexOf("=");if(-1===t.search(/^[a-zA-Z0-9=+/]+$/))throw new Error("Invalid character in base-64 string");if(t=t.replace(/=/g,""),-1!==h&&h<t.length)throw new Error("Invalid '=' found in base-64 string");for(o=0;o<t.length;o+=4){for(s=t.substr(o,4),a=0,i=0;i<s.length;i+=1)a|=m.indexOf(s.charAt(i))<<18-6*i;for(i=0;i<s.length-1;i+=1){for(c=(u=l+f)>>>2;p.length<=c;)p.push(0);p[c]|=(a>>>16-8*i&255)<<8*(d+r*(u%4)),l+=1}}return{value:p,binLen:8*l+n}}(t,e,r,n)};case"BYTES":return function(t,e,r){return function(t,e,n,r){var o,i,a,s,c=e||[0],u=(n=n||0)>>>3,l=-1===r?3:0;for(i=0;i<t.length;i+=1)o=t.charCodeAt(i),a=(s=i+u)>>>2,c.length<=a&&c.push(0),c[a]|=o<<8*(l+r*(s%4));return{value:c,binLen:8*t.length+n}}(t,e,r,n)};case"ARRAYBUFFER":try{new ArrayBuffer(0)}catch(t){throw new Error("ARRAYBUFFER not supported by this environment")}return function(t,e,r){return function(t,e,n,r){return g(new Uint8Array(t),e,n,r)}(t,e,r,n)};case"UINT8ARRAY":try{new Uint8Array(0)}catch(t){throw new Error("UINT8ARRAY not supported by this environment")}return function(t,e,r){return g(t,e,r,n)};default:throw new Error("format must be HEX, TEXT, B64, BYTES, ARRAYBUFFER, or UINT8ARRAY")}}function y(t,e,n,r){switch(t){case"HEX":return function(t){return function(t,e,n,r){var o,i,a="",s=e/8,c=-1===n?3:0;for(o=0;o<s;o+=1)i=t[o>>>2]>>>8*(c+n*(o%4)),a+="0123456789abcdef".charAt(i>>>4&15)+"0123456789abcdef".charAt(15&i);return r.outputUpper?a.toUpperCase():a}(t,e,n,r)};case"B64":return function(t){return function(t,e,n,r){var o,i,a,s,c,u="",l=e/8,p=-1===n?3:0;for(o=0;o<l;o+=3)for(s=o+1<l?t[o+1>>>2]:0,c=o+2<l?t[o+2>>>2]:0,a=(t[o>>>2]>>>8*(p+n*(o%4))&255)<<16|(s>>>8*(p+n*((o+1)%4))&255)<<8|c>>>8*(p+n*((o+2)%4))&255,i=0;i<4;i+=1)u+=8*o+6*i<=e?m.charAt(a>>>6*(3-i)&63):r.b64Pad;return u}(t,e,n,r)};case"BYTES":return function(t){return function(t,e,n){var r,o,i="",a=e/8,s=-1===n?3:0;for(r=0;r<a;r+=1)o=t[r>>>2]>>>8*(s+n*(r%4))&255,i+=String.fromCharCode(o);return i}(t,e,n)};case"ARRAYBUFFER":try{new ArrayBuffer(0)}catch(t){throw new Error("ARRAYBUFFER not supported by this environment")}return function(t){return function(t,e,n){var r,o=e/8,i=new ArrayBuffer(o),a=new Uint8Array(i),s=-1===n?3:0;for(r=0;r<o;r+=1)a[r]=t[r>>>2]>>>8*(s+n*(r%4))&255;return i}(t,e,n)};case"UINT8ARRAY":try{new Uint8Array(0)}catch(t){throw new Error("UINT8ARRAY not supported by this environment")}return function(t){return function(t,e,n){var r,o=e/8,i=-1===n?3:0,a=new Uint8Array(o);for(r=0;r<o;r+=1)a[r]=t[r>>>2]>>>8*(i+n*(r%4))&255;return a}(t,e,n)};default:throw new Error("format must be HEX, B64, BYTES, ARRAYBUFFER, or UINT8ARRAY")}}var b=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],w=[3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428],x=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],_="Chosen SHA variant is not supported";function A(t,e){var n,r,o=t.binLen>>>3,i=e.binLen>>>3,a=o<<3,s=4-o<<3;if(o%4!=0){for(n=0;n<i;n+=4)r=o+n>>>2,t.value[r]|=e.value[n>>>2]<<a,t.value.push(0),t.value[r+1]|=e.value[n>>>2]>>>s;return(t.value.length<<2)-4>=i+o&&t.value.pop(),{value:t.value,binLen:t.binLen+e.binLen}}return{value:t.value.concat(e.value),binLen:t.binLen+e.binLen}}function k(t){var e={outputUpper:!1,b64Pad:"=",outputLen:-1},n=t||{},r="Output length must be a multiple of 8";if(e.outputUpper=n.outputUpper||!1,n.b64Pad&&(e.b64Pad=n.b64Pad),n.outputLen){if(n.outputLen%8!=0)throw new Error(r);e.outputLen=n.outputLen}else if(n.shakeLen){if(n.shakeLen%8!=0)throw new Error(r);e.outputLen=n.shakeLen}if("boolean"!=typeof e.outputUpper)throw new Error("Invalid outputUpper formatting option");if("string"!=typeof e.b64Pad)throw new Error("Invalid b64Pad formatting option");return e}function E(t,e,n,r){var o=t+" must include a value and format";if(!e){if(!r)throw new Error(o);return r}if(void 0===e.value||!e.format)throw new Error(o);return v(e.format,e.encoding||"UTF8",n)(e.value)}var S=function(){function t(e,n,r){f(this,t);var o=r||{};if(this.t=n,this.i=o.encoding||"UTF8",this.numRounds=o.numRounds||1,isNaN(this.numRounds)||this.numRounds!==parseInt(this.numRounds,10)||1>this.numRounds)throw new Error("numRounds must a integer >= 1");this.s=e,this.o=[],this.h=0,this.u=!1,this.l=0,this.A=!1,this.H=[],this.S=[]}return h(t,[{key:"update",value:function(t){var e,n=0,r=this.p>>>5,o=this.m(t,this.o,this.h),i=o.binLen,a=o.value,s=i>>>5;for(e=0;e<s;e+=r)n+this.p<=i&&(this.C=this.R(a.slice(e,e+r),this.C),n+=this.p);this.l+=n,this.o=a.slice(n>>>5),this.h=i%this.p,this.u=!0}},{key:"getHash",value:function(t,e){var n,r,o=this.U,i=k(e);if(this.v){if(-1===i.outputLen)throw new Error("Output length must be specified in options");o=i.outputLen}var a=y(t,o,this.K,i);if(this.A&&this.T)return a(this.T(i));for(r=this.F(this.o.slice(),this.h,this.l,this.g(this.C),o),n=1;n<this.numRounds;n+=1)this.v&&o%32!=0&&(r[r.length-1]&=16777215>>>24-o%32),r=this.F(r,o,0,this.B(this.s),o);return a(r)}},{key:"setHMACKey",value:function(t,e,n){if(!this.L)throw new Error("Variant does not support HMAC");if(this.u)throw new Error("Cannot set MAC key after calling update");var r=v(e,(n||{}).encoding||"UTF8",this.K);this.M(r(t))}},{key:"M",value:function(t){var e,n=this.p>>>3,r=n/4-1;if(1!==this.numRounds)throw new Error("Cannot set numRounds with MAC");if(this.A)throw new Error("MAC key already set");for(n<t.binLen/8&&(t.value=this.F(t.value,t.binLen,0,this.B(this.s),this.U));t.value.length<=r;)t.value.push(0);for(e=0;e<=r;e+=1)this.H[e]=909522486^t.value[e],this.S[e]=1549556828^t.value[e];this.C=this.R(this.H,this.C),this.l=this.p,this.A=!0}},{key:"getHMAC",value:function(t,e){var n=k(e);return y(t,this.U,this.K,n)(this.k())}},{key:"k",value:function(){var t;if(!this.A)throw new Error("Cannot call getHMAC without first setting MAC key");var e=this.F(this.o.slice(),this.h,this.l,this.g(this.C),this.U);return t=this.R(this.S,this.B(this.s)),this.F(e,this.U,this.p,t,this.U)}}]),t}();function T(t,e){return t<<e|t>>>32-e}function C(t,e){return t>>>e|t<<32-e}function P(t,e){return t>>>e}function O(t,e,n){return t^e^n}function L(t,e,n){return t&e^~t&n}function M(t,e,n){return t&e^t&n^e&n}function R(t){return C(t,2)^C(t,13)^C(t,22)}function I(t,e){var n=(65535&t)+(65535&e);return(65535&(t>>>16)+(e>>>16)+(n>>>16))<<16|65535&n}function j(t,e,n,r){var o=(65535&t)+(65535&e)+(65535&n)+(65535&r);return(65535&(t>>>16)+(e>>>16)+(n>>>16)+(r>>>16)+(o>>>16))<<16|65535&o}function D(t,e,n,r,o){var i=(65535&t)+(65535&e)+(65535&n)+(65535&r)+(65535&o);return(65535&(t>>>16)+(e>>>16)+(n>>>16)+(r>>>16)+(o>>>16)+(i>>>16))<<16|65535&i}function B(t){return C(t,7)^C(t,18)^P(t,3)}function N(t){return C(t,6)^C(t,11)^C(t,25)}function U(t){return[1732584193,4023233417,2562383102,271733878,3285377520]}function $(t,e){var n,r,o,i,a,s,c,u=[];for(n=e[0],r=e[1],o=e[2],i=e[3],a=e[4],c=0;c<80;c+=1)u[c]=c<16?t[c]:T(u[c-3]^u[c-8]^u[c-14]^u[c-16],1),s=c<20?D(T(n,5),L(r,o,i),a,1518500249,u[c]):c<40?D(T(n,5),O(r,o,i),a,1859775393,u[c]):c<60?D(T(n,5),M(r,o,i),a,2400959708,u[c]):D(T(n,5),O(r,o,i),a,3395469782,u[c]),a=i,i=o,o=T(r,30),r=n,n=s;return e[0]=I(n,e[0]),e[1]=I(r,e[1]),e[2]=I(o,e[2]),e[3]=I(i,e[3]),e[4]=I(a,e[4]),e}function F(t,e,n,r){for(var o,i=15+(e+65>>>9<<4),a=e+n;t.length<=i;)t.push(0);for(t[e>>>5]|=128<<24-e%32,t[i]=4294967295&a,t[i-1]=a/4294967296|0,o=0;o<t.length;o+=16)r=$(t.slice(o,o+16),r);return r}var G=function(t){s(n,t);var e=u(n);function n(t,r,o){var i;if(f(this,n),"SHA-1"!==t)throw new Error(_);var a=o||{};return(i=e.call(this,t,r,o)).L=!0,i.T=i.k,i.K=-1,i.m=v(i.t,i.i,i.K),i.R=$,i.g=function(t){return t.slice()},i.B=U,i.F=F,i.C=[1732584193,4023233417,2562383102,271733878,3285377520],i.p=512,i.U=160,i.v=!1,a.hmacKey&&i.M(E("hmacKey",a.hmacKey,i.K)),i}return h(n)}(S);function q(t){return"SHA-224"==t?w.slice():x.slice()}function K(t,e){var n,r,o,i,a,s,c,u,l,p,f,d,h=[];for(n=e[0],r=e[1],o=e[2],i=e[3],a=e[4],s=e[5],c=e[6],u=e[7],f=0;f<64;f+=1)h[f]=f<16?t[f]:j(C(d=h[f-2],17)^C(d,19)^P(d,10),h[f-7],B(h[f-15]),h[f-16]),l=D(u,N(a),L(a,s,c),b[f],h[f]),p=I(R(n),M(n,r,o)),u=c,c=s,s=a,a=I(i,l),i=o,o=r,r=n,n=I(l,p);return e[0]=I(n,e[0]),e[1]=I(r,e[1]),e[2]=I(o,e[2]),e[3]=I(i,e[3]),e[4]=I(a,e[4]),e[5]=I(s,e[5]),e[6]=I(c,e[6]),e[7]=I(u,e[7]),e}var H=function(t){s(n,t);var e=u(n);function n(t,r,o){var i;if(f(this,n),"SHA-224"!==t&&"SHA-256"!==t)throw new Error(_);var a=o||{};return(i=e.call(this,t,r,o)).T=i.k,i.L=!0,i.K=-1,i.m=v(i.t,i.i,i.K),i.R=K,i.g=function(t){return t.slice()},i.B=q,i.F=function(e,n,r,o){return function(t,e,n,r,o){for(var i,a=15+(e+65>>>9<<4),s=e+n;t.length<=a;)t.push(0);for(t[e>>>5]|=128<<24-e%32,t[a]=4294967295&s,t[a-1]=s/4294967296|0,i=0;i<t.length;i+=16)r=K(t.slice(i,i+16),r);return"SHA-224"===o?[r[0],r[1],r[2],r[3],r[4],r[5],r[6]]:r}(e,n,r,o,t)},i.C=q(t),i.p=512,i.U="SHA-224"===t?224:256,i.v=!1,a.hmacKey&&i.M(E("hmacKey",a.hmacKey,i.K)),i}return h(n)}(S),V=h((function t(e,n){f(this,t),this.Y=e,this.N=n}));function z(t,e){var n;return e>32?(n=64-e,new V(t.N<<e|t.Y>>>n,t.Y<<e|t.N>>>n)):0!==e?(n=32-e,new V(t.Y<<e|t.N>>>n,t.N<<e|t.Y>>>n)):t}function W(t,e){var n;return e<32?(n=32-e,new V(t.Y>>>e|t.N<<n,t.N>>>e|t.Y<<n)):(n=64-e,new V(t.N>>>e|t.Y<<n,t.Y>>>e|t.N<<n))}function X(t,e){return new V(t.Y>>>e,t.N>>>e|t.Y<<32-e)}function Y(t,e,n){return new V(t.Y&e.Y^t.Y&n.Y^e.Y&n.Y,t.N&e.N^t.N&n.N^e.N&n.N)}function Z(t){var e=W(t,28),n=W(t,34),r=W(t,39);return new V(e.Y^n.Y^r.Y,e.N^n.N^r.N)}function Q(t,e){var n,r;n=(65535&t.N)+(65535&e.N);var o=(65535&(r=(t.N>>>16)+(e.N>>>16)+(n>>>16)))<<16|65535&n;return n=(65535&t.Y)+(65535&e.Y)+(r>>>16),r=(t.Y>>>16)+(e.Y>>>16)+(n>>>16),new V((65535&r)<<16|65535&n,o)}function J(t,e,n,r){var o,i;o=(65535&t.N)+(65535&e.N)+(65535&n.N)+(65535&r.N);var a=(65535&(i=(t.N>>>16)+(e.N>>>16)+(n.N>>>16)+(r.N>>>16)+(o>>>16)))<<16|65535&o;return o=(65535&t.Y)+(65535&e.Y)+(65535&n.Y)+(65535&r.Y)+(i>>>16),i=(t.Y>>>16)+(e.Y>>>16)+(n.Y>>>16)+(r.Y>>>16)+(o>>>16),new V((65535&i)<<16|65535&o,a)}function tt(t,e,n,r,o){var i,a;i=(65535&t.N)+(65535&e.N)+(65535&n.N)+(65535&r.N)+(65535&o.N);var s=(65535&(a=(t.N>>>16)+(e.N>>>16)+(n.N>>>16)+(r.N>>>16)+(o.N>>>16)+(i>>>16)))<<16|65535&i;return i=(65535&t.Y)+(65535&e.Y)+(65535&n.Y)+(65535&r.Y)+(65535&o.Y)+(a>>>16),a=(t.Y>>>16)+(e.Y>>>16)+(n.Y>>>16)+(r.Y>>>16)+(o.Y>>>16)+(i>>>16),new V((65535&a)<<16|65535&i,s)}function et(t,e){return new V(t.Y^e.Y,t.N^e.N)}function nt(t){var e=W(t,19),n=W(t,61),r=X(t,6);return new V(e.Y^n.Y^r.Y,e.N^n.N^r.N)}function rt(t){var e=W(t,1),n=W(t,8),r=X(t,7);return new V(e.Y^n.Y^r.Y,e.N^n.N^r.N)}function ot(t){var e=W(t,14),n=W(t,18),r=W(t,41);return new V(e.Y^n.Y^r.Y,e.N^n.N^r.N)}var it=[new V(b[0],3609767458),new V(b[1],602891725),new V(b[2],3964484399),new V(b[3],2173295548),new V(b[4],4081628472),new V(b[5],3053834265),new V(b[6],2937671579),new V(b[7],3664609560),new V(b[8],2734883394),new V(b[9],1164996542),new V(b[10],1323610764),new V(b[11],3590304994),new V(b[12],4068182383),new V(b[13],991336113),new V(b[14],633803317),new V(b[15],3479774868),new V(b[16],2666613458),new V(b[17],944711139),new V(b[18],2341262773),new V(b[19],2007800933),new V(b[20],1495990901),new V(b[21],1856431235),new V(b[22],3175218132),new V(b[23],2198950837),new V(b[24],3999719339),new V(b[25],766784016),new V(b[26],2566594879),new V(b[27],3203337956),new V(b[28],1034457026),new V(b[29],2466948901),new V(b[30],3758326383),new V(b[31],168717936),new V(b[32],1188179964),new V(b[33],1546045734),new V(b[34],1522805485),new V(b[35],2643833823),new V(b[36],2343527390),new V(b[37],1014477480),new V(b[38],1206759142),new V(b[39],344077627),new V(b[40],1290863460),new V(b[41],3158454273),new V(b[42],3505952657),new V(b[43],106217008),new V(b[44],3606008344),new V(b[45],1432725776),new V(b[46],1467031594),new V(b[47],851169720),new V(b[48],3100823752),new V(b[49],1363258195),new V(b[50],3750685593),new V(b[51],3785050280),new V(b[52],3318307427),new V(b[53],3812723403),new V(b[54],2003034995),new V(b[55],3602036899),new V(b[56],1575990012),new V(b[57],1125592928),new V(b[58],2716904306),new V(b[59],442776044),new V(b[60],593698344),new V(b[61],3733110249),new V(b[62],2999351573),new V(b[63],3815920427),new V(3391569614,3928383900),new V(3515267271,566280711),new V(3940187606,3454069534),new V(4118630271,4000239992),new V(116418474,1914138554),new V(174292421,2731055270),new V(289380356,3203993006),new V(460393269,320620315),new V(685471733,587496836),new V(852142971,1086792851),new V(1017036298,365543100),new V(1126000580,2618297676),new V(1288033470,3409855158),new V(1501505948,4234509866),new V(1607167915,987167468),new V(1816402316,1246189591)];function at(t){return"SHA-384"===t?[new V(3418070365,w[0]),new V(1654270250,w[1]),new V(2438529370,w[2]),new V(355462360,w[3]),new V(1731405415,w[4]),new V(41048885895,w[5]),new V(3675008525,w[6]),new V(1203062813,w[7])]:[new V(x[0],4089235720),new V(x[1],2227873595),new V(x[2],4271175723),new V(x[3],1595750129),new V(x[4],2917565137),new V(x[5],725511199),new V(x[6],4215389547),new V(x[7],327033209)]}function st(t,e){var n,r,o,i,a,s,c,u,l,p,f,d,h,m,g,v=[];for(n=e[0],r=e[1],o=e[2],i=e[3],a=e[4],s=e[5],c=e[6],u=e[7],f=0;f<80;f+=1)f<16?(d=2*f,v[f]=new V(t[d],t[d+1])):v[f]=J(nt(v[f-2]),v[f-7],rt(v[f-15]),v[f-16]),l=tt(u,ot(a),(m=s,g=c,new V((h=a).Y&m.Y^~h.Y&g.Y,h.N&m.N^~h.N&g.N)),it[f],v[f]),p=Q(Z(n),Y(n,r,o)),u=c,c=s,s=a,a=Q(i,l),i=o,o=r,r=n,n=Q(l,p);return e[0]=Q(n,e[0]),e[1]=Q(r,e[1]),e[2]=Q(o,e[2]),e[3]=Q(i,e[3]),e[4]=Q(a,e[4]),e[5]=Q(s,e[5]),e[6]=Q(c,e[6]),e[7]=Q(u,e[7]),e}var ct=function(t){s(n,t);var e=u(n);function n(t,r,o){var i;if(f(this,n),"SHA-384"!==t&&"SHA-512"!==t)throw new Error(_);var a=o||{};return(i=e.call(this,t,r,o)).T=i.k,i.L=!0,i.K=-1,i.m=v(i.t,i.i,i.K),i.R=st,i.g=function(t){return t.slice()},i.B=at,i.F=function(e,n,r,o){return function(t,e,n,r,o){for(var i,a=31+(e+129>>>10<<5),s=e+n;t.length<=a;)t.push(0);for(t[e>>>5]|=128<<24-e%32,t[a]=4294967295&s,t[a-1]=s/4294967296|0,i=0;i<t.length;i+=32)r=st(t.slice(i,i+32),r);return"SHA-384"===o?[r[0].Y,r[0].N,r[1].Y,r[1].N,r[2].Y,r[2].N,r[3].Y,r[3].N,r[4].Y,r[4].N,r[5].Y,r[5].N]:[r[0].Y,r[0].N,r[1].Y,r[1].N,r[2].Y,r[2].N,r[3].Y,r[3].N,r[4].Y,r[4].N,r[5].Y,r[5].N,r[6].Y,r[6].N,r[7].Y,r[7].N]}(e,n,r,o,t)},i.C=at(t),i.p=1024,i.U="SHA-384"===t?384:512,i.v=!1,a.hmacKey&&i.M(E("hmacKey",a.hmacKey,i.K)),i}return h(n)}(S),ut=[new V(0,1),new V(0,32898),new V(2147483648,32906),new V(2147483648,2147516416),new V(0,32907),new V(0,2147483649),new V(2147483648,2147516545),new V(2147483648,32777),new V(0,138),new V(0,136),new V(0,2147516425),new V(0,2147483658),new V(0,2147516555),new V(2147483648,139),new V(2147483648,32905),new V(2147483648,32771),new V(2147483648,32770),new V(2147483648,128),new V(0,32778),new V(2147483648,2147483658),new V(2147483648,2147516545),new V(2147483648,32896),new V(0,2147483649),new V(2147483648,2147516424)],lt=[[0,36,3,41,18],[1,44,10,45,2],[62,6,43,15,61],[28,55,25,21,56],[27,20,39,8,14]];function pt(t){var e,n=[];for(e=0;e<5;e+=1)n[e]=[new V(0,0),new V(0,0),new V(0,0),new V(0,0),new V(0,0)];return n}function ft(t){var e,n=[];for(e=0;e<5;e+=1)n[e]=t[e].slice();return n}function dt(t,e){var n,r,o,i,a,s,c,u,l,p=[],f=[];if(null!==t)for(r=0;r<t.length;r+=2)e[(r>>>1)%5][(r>>>1)/5|0]=et(e[(r>>>1)%5][(r>>>1)/5|0],new V(t[r+1],t[r]));for(n=0;n<24;n+=1){for(i=pt(),r=0;r<5;r+=1)p[r]=(a=e[r][0],s=e[r][1],c=e[r][2],u=e[r][3],l=e[r][4],new V(a.Y^s.Y^c.Y^u.Y^l.Y,a.N^s.N^c.N^u.N^l.N));for(r=0;r<5;r+=1)f[r]=et(p[(r+4)%5],z(p[(r+1)%5],1));for(r=0;r<5;r+=1)for(o=0;o<5;o+=1)e[r][o]=et(e[r][o],f[r]);for(r=0;r<5;r+=1)for(o=0;o<5;o+=1)i[o][(2*r+3*o)%5]=z(e[r][o],lt[r][o]);for(r=0;r<5;r+=1)for(o=0;o<5;o+=1)e[r][o]=et(i[r][o],new V(~i[(r+1)%5][o].Y&i[(r+2)%5][o].Y,~i[(r+1)%5][o].N&i[(r+2)%5][o].N));e[0][0]=et(e[0][0],ut[n])}return e}function ht(t){var e,n,r=0,o=[0,0],i=[4294967295&t,t/4294967296&2097151];for(e=6;e>=0;e--)0==(n=i[e>>2]>>>8*e&255)&&0===r||(o[r+1>>2]|=n<<8*(r+1),r+=1);return r=0!==r?r:1,o[0]|=r,{value:r+1>4?o:[o[0]],binLen:8+8*r}}function mt(t){return A(ht(t.binLen),t)}function gt(t,e){var n,r=ht(e),o=e>>>2,i=(o-(r=A(r,t)).value.length%o)%o;for(n=0;n<i;n++)r.value.push(0);return r.value}var vt=function(t){s(n,t);var e=u(n);function n(t,r,o){var i;f(this,n);var a=6,s=0,c=o||{};if(1!==(i=e.call(this,t,r,o)).numRounds){if(c.kmacKey||c.hmacKey)throw new Error("Cannot set numRounds with MAC");if("CSHAKE128"===i.s||"CSHAKE256"===i.s)throw new Error("Cannot set numRounds for CSHAKE variants")}switch(i.K=1,i.m=v(i.t,i.i,i.K),i.R=dt,i.g=ft,i.B=pt,i.C=pt(),i.v=!1,t){case"SHA3-224":i.p=s=1152,i.U=224,i.L=!0,i.T=i.k;break;case"SHA3-256":i.p=s=1088,i.U=256,i.L=!0,i.T=i.k;break;case"SHA3-384":i.p=s=832,i.U=384,i.L=!0,i.T=i.k;break;case"SHA3-512":i.p=s=576,i.U=512,i.L=!0,i.T=i.k;break;case"SHAKE128":a=31,i.p=s=1344,i.U=-1,i.v=!0,i.L=!1,i.T=null;break;case"SHAKE256":a=31,i.p=s=1088,i.U=-1,i.v=!0,i.L=!1,i.T=null;break;case"KMAC128":a=4,i.p=s=1344,i.I(o),i.U=-1,i.v=!0,i.L=!1,i.T=i.X;break;case"KMAC256":a=4,i.p=s=1088,i.I(o),i.U=-1,i.v=!0,i.L=!1,i.T=i.X;break;case"CSHAKE128":i.p=s=1344,a=i._(o),i.U=-1,i.v=!0,i.L=!1,i.T=null;break;case"CSHAKE256":i.p=s=1088,a=i._(o),i.U=-1,i.v=!0,i.L=!1,i.T=null;break;default:throw new Error(_)}return i.F=function(t,e,n,r,o){return function(t,e,n,r,o,i,a){var s,c,u=0,l=[],p=o>>>5,f=e>>>5;for(s=0;s<f&&e>=o;s+=p)r=dt(t.slice(s,s+p),r),e-=o;for(t=t.slice(s),e%=o;t.length<p;)t.push(0);for(t[(s=e>>>3)>>2]^=i<<s%4*8,t[p-1]^=2147483648,r=dt(t,r);32*l.length<a&&(c=r[u%5][u/5|0],l.push(c.N),!(32*l.length>=a));)l.push(c.Y),0==64*(u+=1)%o&&(dt(null,r),u=0);return l}(t,e,0,r,s,a,o)},c.hmacKey&&i.M(E("hmacKey",c.hmacKey,i.K)),i}return h(n,[{key:"_",value:function(t,e){var n=function(t){var e=t||{};return{funcName:E("funcName",e.funcName,1,{value:[],binLen:0}),customization:E("Customization",e.customization,1,{value:[],binLen:0})}}(t||{});e&&(n.funcName=e);var r=A(mt(n.funcName),mt(n.customization));if(0!==n.customization.binLen||0!==n.funcName.binLen){for(var o=gt(r,this.p>>>3),i=0;i<o.length;i+=this.p>>>5)this.C=this.R(o.slice(i,i+(this.p>>>5)),this.C),this.l+=this.p;return 4}return 31}},{key:"I",value:function(t){var e=function(t){var e=t||{};return{kmacKey:E("kmacKey",e.kmacKey,1),funcName:{value:[1128353099],binLen:32},customization:E("Customization",e.customization,1,{value:[],binLen:0})}}(t||{});this._(t,e.funcName);for(var n=gt(mt(e.kmacKey),this.p>>>3),r=0;r<n.length;r+=this.p>>>5)this.C=this.R(n.slice(r,r+(this.p>>>5)),this.C),this.l+=this.p;this.A=!0}},{key:"X",value:function(t){var e=A({value:this.o.slice(),binLen:this.h},function(t){var e,n,r=0,o=[0,0],i=[4294967295&t,t/4294967296&2097151];for(e=6;e>=0;e--)0==(n=i[e>>2]>>>8*e&255)&&0===r||(o[r>>2]|=n<<8*r,r+=1);return o[(r=0!==r?r:1)>>2]|=r<<8*r,{value:r+1>4?o:[o[0]],binLen:8+8*r}}(t.outputLen));return this.F(e.value,e.binLen,this.l,this.g(this.C),t.outputLen)}}]),n}(S),yt=function(){function t(e,n,r){if(f(this,t),"SHA-1"==e)this.O=new G(e,n,r);else if("SHA-224"==e||"SHA-256"==e)this.O=new H(e,n,r);else if("SHA-384"==e||"SHA-512"==e)this.O=new ct(e,n,r);else{if("SHA3-224"!=e&&"SHA3-256"!=e&&"SHA3-384"!=e&&"SHA3-512"!=e&&"SHAKE128"!=e&&"SHAKE256"!=e&&"CSHAKE128"!=e&&"CSHAKE256"!=e&&"KMAC128"!=e&&"KMAC256"!=e)throw new Error(_);this.O=new vt(e,n,r)}}return h(t,[{key:"update",value:function(t){this.O.update(t)}},{key:"getHash",value:function(t,e){return this.O.getHash(t,e)}},{key:"setHMACKey",value:function(t,e,n){this.O.setHMACKey(t,e,n)}},{key:"getHMAC",value:function(t,e){return this.O.getHMAC(t,e)}}]),t}(),bt="function"==typeof atob,wt="function"==typeof btoa,xt="function"==typeof Buffer,_t="function"==typeof TextDecoder?new TextDecoder:void 0,At="function"==typeof TextEncoder?new TextEncoder:void 0,kt=Array.prototype.slice.call("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="),Et=function(t){var e={};return t.forEach((function(t,n){return e[t]=n})),e}(kt),St=/^(?:[A-Za-z\d+\/]{4})*?(?:[A-Za-z\d+\/]{2}(?:==)?|[A-Za-z\d+\/]{3}=?)?$/,Tt=String.fromCharCode.bind(String),Ct="function"==typeof Uint8Array.from?Uint8Array.from.bind(Uint8Array):function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(t){return t};return new Uint8Array(Array.prototype.slice.call(t,0).map(e))},Pt=function(t){return t.replace(/=/g,"").replace(/[+\/]/g,(function(t){return"+"==t?"-":"_"}))},Ot=function(t){return t.replace(/[^A-Za-z0-9\+\/]/g,"")},Lt=function(t){for(var e,n,r,o,i="",a=t.length%3,s=0;s<t.length;){if((n=t.charCodeAt(s++))>255||(r=t.charCodeAt(s++))>255||(o=t.charCodeAt(s++))>255)throw new TypeError("invalid character found");i+=kt[(e=n<<16|r<<8|o)>>18&63]+kt[e>>12&63]+kt[e>>6&63]+kt[63&e]}return a?i.slice(0,a-3)+"===".substring(a):i},Mt=wt?function(t){return btoa(t)}:xt?function(t){return Buffer.from(t,"binary").toString("base64")}:Lt,Rt=xt?function(t){return Buffer.from(t).toString("base64")}:function(t){for(var e=[],n=0,r=t.length;n<r;n+=4096)e.push(Tt.apply(null,t.subarray(n,n+4096)));return Mt(e.join(""))},It=function(t){return arguments.length>1&&void 0!==arguments[1]&&arguments[1]?Pt(Rt(t)):Rt(t)},jt=function(t){if(t.length<2)return(e=t.charCodeAt(0))<128?t:e<2048?Tt(192|e>>>6)+Tt(128|63&e):Tt(224|e>>>12&15)+Tt(128|e>>>6&63)+Tt(128|63&e);var e=65536+1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320);return Tt(240|e>>>18&7)+Tt(128|e>>>12&63)+Tt(128|e>>>6&63)+Tt(128|63&e)},Dt=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,Bt=function(t){return t.replace(Dt,jt)},Nt=xt?function(t){return Buffer.from(t,"utf8").toString("base64")}:At?function(t){return Rt(At.encode(t))}:function(t){return Mt(Bt(t))},Ut=function(t){return arguments.length>1&&void 0!==arguments[1]&&arguments[1]?Pt(Nt(t)):Nt(t)},$t=function(t){return Ut(t,!0)},Ft=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,Gt=function(t){switch(t.length){case 4:var e=((7&t.charCodeAt(0))<<18|(63&t.charCodeAt(1))<<12|(63&t.charCodeAt(2))<<6|63&t.charCodeAt(3))-65536;return Tt(55296+(e>>>10))+Tt(56320+(1023&e));case 3:return Tt((15&t.charCodeAt(0))<<12|(63&t.charCodeAt(1))<<6|63&t.charCodeAt(2));default:return Tt((31&t.charCodeAt(0))<<6|63&t.charCodeAt(1))}},qt=function(t){return t.replace(Ft,Gt)},Kt=function(t){if(t=t.replace(/\s+/g,""),!St.test(t))throw new TypeError("malformed base64.");t+="==".slice(2-(3&t.length));for(var e,n,r,o="",i=0;i<t.length;)e=Et[t.charAt(i++)]<<18|Et[t.charAt(i++)]<<12|(n=Et[t.charAt(i++)])<<6|(r=Et[t.charAt(i++)]),o+=64===n?Tt(e>>16&255):64===r?Tt(e>>16&255,e>>8&255):Tt(e>>16&255,e>>8&255,255&e);return o},Ht=bt?function(t){return atob(Ot(t))}:xt?function(t){return Buffer.from(t,"base64").toString("binary")}:Kt,Vt=xt?function(t){return Ct(Buffer.from(t,"base64"))}:function(t){return Ct(Ht(t),(function(t){return t.charCodeAt(0)}))},zt=function(t){return Vt(Xt(t))},Wt=xt?function(t){return Buffer.from(t,"base64").toString("utf8")}:_t?function(t){return _t.decode(Vt(t))}:function(t){return qt(Ht(t))},Xt=function(t){return Ot(t.replace(/[-_]/g,(function(t){return"-"==t?"+":"/"})))},Yt=function(t){return Wt(Xt(t))},Zt=function(t){return{value:t,enumerable:!1,writable:!0,configurable:!0}},Qt=function(){var t=function(t,e){return Object.defineProperty(String.prototype,t,Zt(e))};t("fromBase64",(function(){return Yt(this)})),t("toBase64",(function(t){return Ut(this,t)})),t("toBase64URI",(function(){return Ut(this,!0)})),t("toBase64URL",(function(){return Ut(this,!0)})),t("toUint8Array",(function(){return zt(this)}))},Jt=function(){var t=function(t,e){return Object.defineProperty(Uint8Array.prototype,t,Zt(e))};t("toBase64",(function(t){return It(this,t)})),t("toBase64URI",(function(){return It(this,!0)})),t("toBase64URL",(function(){return It(this,!0)}))},te={version:"3.7.2",VERSION:"3.7.2",atob:Ht,atobPolyfill:Kt,btoa:Mt,btoaPolyfill:Lt,fromBase64:Yt,toBase64:Ut,encode:Ut,encodeURI:$t,encodeURL:$t,utob:Bt,btou:qt,decode:Yt,isValid:function(t){if("string"!=typeof t)return!1;var e=t.replace(/\s+/g,"").replace(/={0,2}$/,"");return!/[^\s0-9a-zA-Z\+/]/.test(e)||!/[^\s0-9a-zA-Z\-_]/.test(e)},fromUint8Array:It,toUint8Array:zt,extendString:Qt,extendUint8Array:Jt,extendBuiltins:function(){Qt(),Jt()}},ee=o(5917),ne=o.n(ee),re=new function(){var t=function t(e){var n={};if(1===e.nodeType){if(e.attributes.length>0){n["@attributes"]={};for(var r=0;r<e.attributes.length;r++){var o=e.attributes.item(r);n["@attributes"][o.nodeName]=o.value}}}else 3===e.nodeType&&(n=e.nodeValue);if(e.hasChildNodes())for(var i=0;i<e.childNodes.length;i++){var a=e.childNodes.item(i),s=a.nodeName;if(void 0===n[s])n[s]=t(a);else{if(void 0===n[s].push){var c=n[s];n[s]=[],n[s].push(c)}n[s].push(t(a))}}return n};this.parseString=function(e,n){var r;window.DOMParser?r=(new window.DOMParser).parseFromString(e,"text/xml"):(r=new window.ActiveXObject("Microsoft.XMLDOM")).async="false";var o,i,a=(o=t(r),-1===(i=JSON.stringify(o,void 0,2).replace(/(\\t|\\r|\\n)/g,"").replace(/"",[\n\t\r\s]+""[,]*/g,"").replace(/(\n[\t\s\r]*\n)/g,"").replace(/[\s\t]{2,}""[,]{0,1}/g,"").replace(/"[\s\t]{1,}"[,]{0,1}/g,"")).indexOf('"parsererror": {')?i:"Invalid XML format");return void 0===n?JSON.parse(a):a}},oe={type:"object",location:"xml",sentAs:"Owner",parameters:{ID:{sentAs:"ID"}}},ie={type:"object",location:"xml",sentAs:"Initiator",parameters:{ID:{sentAs:"ID"}}},ae={sentAs:"BackToSourceRule",required:!0,location:"xml",type:"array",items:{type:"object",parameters:{ID:{sentAs:"ID"},Condition:{sentAs:"Condition",type:"object",parameters:{ObjectKeyPrefixEquals:{sentAs:"ObjectKeyPrefixEquals"},HttpErrorCodeReturnedEquals:{sentAs:"HttpErrorCodeReturnedEquals"}}},Redirect:{sentAs:"Redirect",type:"object",parameters:{HttpRedirectCode:{sentAs:"HttpRedirectCode"},SourceEndpoint:{sentAs:"SourceEndpoint"},SourceBucketName:{sentAs:"SourceBucketName"},ReplaceKeyWith:{sentAs:"ReplaceKeyWith"},StaticUri:{sentAs:"StaticUri"},ReplaceKeyPrefixWith:{sentAs:"ReplaceKeyPrefixWith"},MigrationConfiguration:{sentAs:"MigrationConfiguration",type:"object",parameters:{Agency:{sentAs:"Agency"},LogBucketName:{sentAs:"LogBucketName"},PrivateBucketConfiguration:{sentAs:"PrivateBucketConfiguration",type:"object",parameters:{SourceStorageProvider:{sentAs:"SourceStorageProvider"},SourceBucketAK:{sentAs:"SourceBucketAK"},SourceBucketSK:{sentAs:"SourceBucketSK"},SourceBucketZone:{sentAs:"SourceBucketZone"}}}}}}}}}},se={type:"array",location:"xml",sentAs:"CommonPrefixes",items:{type:"object",parameters:{Prefix:{decode:!0,sentAs:"Prefix"},MTime:{sentAs:"MTime"},InodeNo:{sentAs:"InodeNo"}}}},ce={type:"array",location:"xml",wrapper:"AccessControlList",sentAs:"Grant",items:{type:"object",parameters:{Grantee:{type:"object",sentAs:"Grantee",parameters:{Type:{type:"ignore"},ID:{sentAs:"ID",notAllowEmpty:!0},URI:{sentAs:"Canned",type:"adapter",notAllowEmpty:!0}}},Permission:{sentAs:"Permission"},Delivered:{sentAs:"Delivered"}}}},ue={type:"object",location:"xml",sentAs:"LoggingEnabled",parameters:{TargetBucket:{sentAs:"TargetBucket"},TargetPrefix:{sentAs:"TargetPrefix"},TargetGrants:{type:"array",wrapper:"TargetGrants",sentAs:"Grant",items:{type:"object",parameters:{Grantee:{type:"object",sentAs:"Grantee",parameters:{Type:{type:"ignore"},ID:{sentAs:"ID"},URI:{sentAs:"Canned",type:"adapter"}}},Permission:{sentAs:"Permission"}}}}}},le={required:!0,type:"array",location:"xml",sentAs:"Rule",items:{type:"object",parameters:{ID:{sentAs:"ID"},Prefix:{sentAs:"Prefix"},Status:{sentAs:"Status"},Transitions:{type:"array",sentAs:"Transition",items:{type:"object",parameters:{StorageClass:{sentAs:"StorageClass",type:"adapter"},Date:{sentAs:"Date"},Days:{type:"number",sentAs:"Days"}}}},Expiration:{type:"object",sentAs:"Expiration",parameters:{Date:{sentAs:"Date"},Days:{type:"number",sentAs:"Days"}}},AbortIncompleteMultipartUpload:{type:"object",sentAs:"AbortIncompleteMultipartUpload",parameters:{DaysAfterInitiation:{type:"number",sentAs:"DaysAfterInitiation"}}},NoncurrentVersionTransitions:{type:"array",sentAs:"NoncurrentVersionTransition",items:{type:"object",parameters:{StorageClass:{sentAs:"StorageClass",type:"adapter"},NoncurrentDays:{type:"number",sentAs:"NoncurrentDays"}}}},NoncurrentVersionExpiration:{type:"object",sentAs:"NoncurrentVersionExpiration",parameters:{NoncurrentDays:{type:"number",sentAs:"NoncurrentDays"}}}}}},pe={type:"object",location:"xml",sentAs:"RedirectAllRequestsTo",parameters:{HostName:{sentAs:"HostName"},Protocol:{sentAs:"Protocol"}}},fe={type:"array",wrapper:"RoutingRules",location:"xml",sentAs:"RoutingRule",items:{type:"object",parameters:{Condition:{type:"object",sentAs:"Condition",parameters:{HttpErrorCodeReturnedEquals:{sentAs:"HttpErrorCodeReturnedEquals"},KeyPrefixEquals:{sentAs:"KeyPrefixEquals"}}},Redirect:{type:"object",sentAs:"Redirect",parameters:{HostName:{sentAs:"HostName"},HttpRedirectCode:{sentAs:"HttpRedirectCode"},Protocol:{sentAs:"Protocol"},ReplaceKeyPrefixWith:{sentAs:"ReplaceKeyPrefixWith"},ReplaceKeyWith:{sentAs:"ReplaceKeyWith"}}}}}},de={type:"object",location:"xml",sentAs:"IndexDocument",parameters:{Suffix:{sentAs:"Suffix"}}},he={type:"object",location:"xml",sentAs:"ErrorDocument",parameters:{Key:{sentAs:"Key"}}},me={required:!0,type:"array",location:"xml",sentAs:"CORSRule",items:{type:"object",parameters:{ID:{sentAs:"ID"},AllowedMethod:{type:"array",sentAs:"AllowedMethod",items:{type:"string"}},AllowedOrigin:{type:"array",sentAs:"AllowedOrigin",items:{type:"string"}},AllowedHeader:{type:"array",sentAs:"AllowedHeader",items:{type:"string"}},MaxAgeSeconds:{type:"number",sentAs:"MaxAgeSeconds"},ExposeHeader:{type:"array",sentAs:"ExposeHeader",items:{type:"string"}}}}},ge={type:"array",location:"xml",sentAs:"FunctionGraphConfiguration",items:{type:"object",location:"xml",parameters:{ID:{sentAs:"Id"},Filter:{type:"object",parameters:{FilterRules:{wrapper:"Object",type:"array",sentAs:"FilterRule",items:{type:"object",parameters:{Name:{},Value:{}}}}}},FunctionGraph:{},Event:{type:"array",items:{type:"adapter"}}}}},ve={type:"array",location:"xml",sentAs:"TopicConfiguration",items:{type:"object",location:"xml",parameters:{ID:{sentAs:"Id"},Filter:{type:"object",parameters:{FilterRules:{wrapper:"Object",type:"array",sentAs:"FilterRule",items:{type:"object",parameters:{Name:{},Value:{}}}}}},Topic:{},Event:{type:"array",items:{type:"adapter"}}}}},ye={type:"array",location:"xml",sentAs:"FunctionStageConfiguration",items:{type:"object",location:"xml",parameters:{ID:{sentAs:"Id"},Filter:{type:"object",parameters:{FilterRules:{wrapper:"Object",type:"array",sentAs:"FilterRule",items:{type:"object",parameters:{Name:{},Value:{}}}}}},FunctionStage:{},Event:{type:"array",items:{type:"adapter"}}}}},be={required:!0,type:"array",location:"xml",wrapper:"TagSet",sentAs:"Tag",items:{type:"object",parameters:{Key:{sentAs:"Key"},Value:{sentAs:"Value"}}}},we={required:!0,type:"array",location:"xml",sentAs:"Rule",items:{type:"object",parameters:{ID:{sentAs:"ID"},Prefix:{sentAs:"Prefix"},Status:{sentAs:"Status"},Destination:{type:"object",sentAs:"Destination",parameters:{Bucket:{sentAs:"Bucket",type:"adapter"},StorageClass:{sentAs:"StorageClass",type:"adapter"},DeleteData:{sentAs:"DeleteData",type:"string"}}},HistoricalObjectReplication:{sentAs:"HistoricalObjectReplication"}}}},xe={type:"object",location:"xml",sentAs:"Rule",parameters:{ApplyServerSideEncryptionByDefault:{type:"object",sentAs:"ApplyServerSideEncryptionByDefault",parameters:{SSEAlgorithm:{sentAs:"SSEAlgorithm"},KMSMasterKeyID:{sentAs:"KMSMasterKeyID"},ProjectID:{sentAs:"ProjectID"}}}}},_e={type:"object",location:"xml",sentAs:"InventoryConfiguration",parameters:{Id:{sentAs:"Id"},IsEnabled:{sentAs:"IsEnabled"},Filter:{type:"object",sentAs:"Filter",parameters:{Prefix:{sentAs:"Prefix"}}},Destination:{type:"object",sentAs:"Destination",parameters:{Format:{sentAs:"Format"},Bucket:{sentAs:"Bucket"},Prefix:{sentAs:"Prefix"},Encryption:{type:"object",sentAs:"Encryption",parameters:{"SSE-KMS":{type:"object",sentAs:"SSE-KMS",parameters:{KeyId:{sentAs:"KeyId",type:"adapter"}}}}}}},Schedule:{type:"object",sentAs:"Schedule",parameters:{Frequency:{sentAs:"Frequency"}}},IncludedObjectVersions:{sentAs:"IncludedObjectVersions"},OptionalFields:{type:"object",location:"xml",sentAs:"OptionalFields",parameters:{Field:{type:"array",sentAs:"Field",items:{type:"string"}}}}}},Ae={HeadBucket:{httpMethod:"HEAD",parameters:{Bucket:{required:!0,location:"uri"}}},HeadApiVersion:{httpMethod:"HEAD",urlPath:"apiversion",parameters:{Bucket:{location:"uri"}}},HeadApiVersionOutput:{parameters:{ApiVersion:{location:"header",sentAs:"x-obs-api"}}},CreateBucket:{httpMethod:"PUT",data:{xmlRoot:"CreateBucketConfiguration"},parameters:{Bucket:{required:!0,location:"uri"},ACL:{location:"header",sentAs:"acl",withPrefix:!0},StorageType:{location:"header",sentAs:"storage-class",withPrefix:!0},FileInterface:{location:"header",sentAs:"fs-file-interface",withPrefix:!0},Type:{location:"header",sentAs:"bucket-type",withPrefix:!0},MultiAz:{location:"header",sentAs:"az-redundancy",withPrefix:!0},Cluster:{location:"header",sentAs:"location-clustergroup-id",withPrefix:!0},GrantFullControl:{location:"header",sentAs:"grant-full-control",withPrefix:!0},GrantRead:{location:"header",sentAs:"grant-read",withPrefix:!0},GrantReadACP:{location:"header",sentAs:"grant-read-acp",withPrefix:!0},GrantWrite:{location:"header",sentAs:"grant-write",withPrefix:!0},GrantWriteACP:{location:"header",sentAs:"grant-write-acp",withPrefix:!0},ClusterType:{location:"header",sentAs:"cluster-type",withPrefix:!0},MultiEnterprise:{location:"header",sentAs:"epid",withPrefix:!0},Location:{location:"xml",sentAs:"Location"}}},GetBucketMetadata:{httpMethod:"HEAD",parameters:{Bucket:{required:!0,location:"uri"},Origin:{location:"header",sentAs:"Origin"},RequestHeader:{location:"header",sentAs:"Access-Control-Request-Headers"}}},GetBucketMetadataOutput:{parameters:{StorageClass:{location:"header",sentAs:"storage-class",withPrefix:!0},ObsVersion:{location:"header",sentAs:"version",withPrefix:!0},Location:{location:"header",sentAs:"bucket-location",withPrefix:!0},FileInterface:{location:"header",sentAs:"fs-file-interface",withPrefix:!0},Type:{location:"header",sentAs:"bucket-type",withPrefix:!0},MultiAz:{location:"header",sentAs:"az-redundancy",withPrefix:!0},Cluster:{location:"header",sentAs:"location-clustergroup-id",withPrefix:!0},MultiEnterprise:{location:"header",sentAs:"epid",withPrefix:!0},ClusterType:{location:"header",sentAs:"cluster-type",withPrefix:!0},AllowOrigin:{location:"header",sentAs:"access-control-allow-origin"},MaxAgeSeconds:{location:"header",sentAs:"access-control-max-age"},ExposeHeader:{location:"header",sentAs:"access-control-expose-headers"},AllowMethod:{location:"header",sentAs:"access-control-allow-methods"},AllowHeader:{location:"header",sentAs:"access-control-allow-headers"}}},DeleteBucket:{httpMethod:"DELETE",parameters:{Bucket:{required:!0,location:"uri"}}},ListBuckets:{httpMethod:"GET",parameters:{Type:{sentAs:"x-obs-bucket-type",location:"header"},Location:{sentAs:"location",location:"header",withPrefix:!0}}},ListBucketsOutput:{data:{type:"xml",xmlRoot:"ListAllMyBucketsResult"},parameters:{Buckets:{location:"xml",sentAs:"Bucket",type:"array",wrapper:"Buckets",items:{type:"object",location:"xml",sentAs:"Bucket",parameters:{Name:{sentAs:"Name"},CreationDate:{sentAs:"CreationDate"},Location:{sentAs:"Location"},ClusterType:{sentAs:"ClusterType"}}}},Owner:{type:"object",location:"xml",sentAs:"Owner",parameters:{ID:{sentAs:"ID"},DisplayName:{sentAs:"DisplayName"}}}}},ListObjects:{httpMethod:"GET",parameters:{Bucket:{required:!0,location:"uri"},Prefix:{location:"urlPath",sentAs:"prefix"},Marker:{location:"urlPath",sentAs:"marker"},MaxKeys:{type:"number",location:"urlPath",sentAs:"max-keys"},Delimiter:{location:"urlPath",sentAs:"delimiter"},EncodingType:{location:"urlPath",sentAs:"encoding-type"}}},ListObjectsOutput:{data:{type:"xml",xmlRoot:"ListBucketResult"},parameters:{Location:{location:"header",sentAs:"bucket-location",withPrefix:!0},Bucket:{location:"xml",sentAs:"Name"},Delimiter:{decode:!0,location:"xml",sentAs:"Delimiter"},IsTruncated:{location:"xml",sentAs:"IsTruncated"},Prefix:{decode:!0,location:"xml",sentAs:"Prefix"},Marker:{decode:!0,location:"xml",sentAs:"Marker"},NextMarker:{decode:!0,location:"xml",sentAs:"NextMarker"},MaxKeys:{location:"xml",sentAs:"MaxKeys"},EncodingType:{location:"xml",sentAs:"EncodingType"},Contents:{type:"array",location:"xml",sentAs:"Contents",items:{type:"object",parameters:{Key:{decode:!0,sentAs:"Key"},LastModified:{sentAs:"LastModified"},ETag:{sentAs:"ETag"},Size:{sentAs:"Size"},Type:{sentAs:"Type"},StorageClass:{sentAs:"StorageClass"},Owner:oe}}},CommonPrefixes:se}},ListVersions:{httpMethod:"GET",urlPath:"versions",parameters:{Bucket:{required:!0,location:"uri"},Prefix:{location:"urlPath",sentAs:"prefix"},KeyMarker:{location:"urlPath",sentAs:"key-marker"},MaxKeys:{type:"number",location:"urlPath",sentAs:"max-keys"},Delimiter:{location:"urlPath",sentAs:"delimiter"},VersionIdMarker:{location:"urlPath",sentAs:"version-id-marker"},EncodingType:{location:"urlPath",sentAs:"encoding-type"}}},ListVersionsOutput:{data:{type:"xml",xmlRoot:"ListVersionsResult"},parameters:{EncodingType:{location:"xml",sentAs:"EncodingType"},Location:{location:"header",sentAs:"bucket-location",withPrefix:!0},Bucket:{location:"xml",sentAs:"Name"},Prefix:{decode:!0,location:"xml",sentAs:"Prefix"},Delimiter:{decode:!0,location:"xml",sentAs:"Delimiter"},KeyMarker:{decode:!0,location:"xml",sentAs:"KeyMarker"},VersionIdMarker:{location:"xml",sentAs:"VersionIdMarker"},NextKeyMarker:{decode:!0,location:"xml",sentAs:"NextKeyMarker"},NextVersionIdMarker:{location:"xml",sentAs:"NextVersionIdMarker"},MaxKeys:{location:"xml",sentAs:"MaxKeys"},IsTruncated:{location:"xml",sentAs:"IsTruncated"},Versions:{type:"array",location:"xml",sentAs:"Version",items:{type:"object",parameters:{Key:{decode:!0,sentAs:"Key"},VersionId:{sentAs:"VersionId"},IsLatest:{sentAs:"IsLatest"},LastModified:{sentAs:"LastModified"},ETag:{sentAs:"ETag"},Size:{sentAs:"Size"},Type:{sentAs:"Type"},Owner:oe,StorageClass:{sentAs:"StorageClass"}}}},DeleteMarkers:{type:"array",location:"xml",sentAs:"DeleteMarker",items:{type:"object",parameters:{Key:{decode:!0,sentAs:"Key"},VersionId:{sentAs:"VersionId"},IsLatest:{sentAs:"IsLatest"},LastModified:{sentAs:"LastModified"},Owner:oe}}},CommonPrefixes:se}},PutBackToSource:{httpMethod:"PUT",data:{xmlRoot:"BackToSourceConfiguration"},urlPath:"backtosource",parameters:{Bucket:{required:!0,location:"uri"},BackToSourceRules:ae,ContentMD5:{location:"header",sentAs:"Content-MD5"}}},DeleteBackToSource:{httpMethod:"DELETE",urlPath:"backtosource",parameters:{Bucket:{required:!0,location:"uri"}}},GetBackToSource:{httpMethod:"GET",urlPath:"backtosource",parameters:{Bucket:{required:!0,location:"uri"}}},GetBackToSourceOutput:{data:{type:"xml",xmlRoot:"BackToSourceConfiguration"},parameters:{BackToSourceRules:ae}},GetBucketLocation:{httpMethod:"GET",urlPath:"location",parameters:{Bucket:{required:!0,location:"uri"}}},GetBucketLocationOutput:{data:{type:"xml"},parameters:{Location:{location:"xml",sentAs:"Location"}}},GetBucketStorageInfo:{httpMethod:"GET",urlPath:"storageinfo",parameters:{Bucket:{required:!0,location:"uri"}}},GetBucketStorageInfoOutput:{data:{type:"xml",xmlRoot:"GetBucketStorageInfoResult"},parameters:{Size:{location:"xml",sentAs:"Size"},ObjectNumber:{location:"xml",sentAs:"ObjectNumber"}}},SetBucketQuota:{httpMethod:"PUT",urlPath:"quota",data:{xmlRoot:"Quota"},parameters:{Bucket:{required:!0,location:"uri"},StorageQuota:{required:!0,location:"xml",sentAs:"StorageQuota"}}},GetBucketQuota:{httpMethod:"GET",urlPath:"quota",parameters:{Bucket:{required:!0,location:"uri"}}},GetBucketQuotaOutput:{data:{type:"xml",xmlRoot:"Quota"},parameters:{StorageQuota:{location:"xml",sentAs:"StorageQuota"}}},SetBucketAcl:{httpMethod:"PUT",urlPath:"acl",data:{xmlRoot:"AccessControlPolicy"},parameters:{Bucket:{required:!0,location:"uri"},ACL:{location:"header",sentAs:"acl",withPrefix:!0,type:"adapter"},Owner:oe,Grants:ce}},GetBucketInventory:{httpMethod:"GET",urlPath:"inventory",parameters:{Bucket:{required:!0,location:"uri"}}},GetBucketInventoryOutput:{data:{type:"xml",xmlRoot:"ListInventoryConfiguration"},parameters:{Rules:{type:"array",location:"xml",sentAs:"InventoryConfiguration",items:{type:"object",parameters:{Id:{sentAs:"Id"},IsEnabled:{sentAs:"IsEnabled"},Filter:{type:"object",sentAs:"Filter",parameters:{Prefix:{sentAs:"Prefix"}}},Destination:{type:"object",sentAs:"Destination",parameters:{Format:{sentAs:"Format"},Bucket:{sentAs:"Bucket"},Prefix:{sentAs:"Prefix"}}},Schedule:{type:"object",sentAs:"Schedule",parameters:{Frequency:{sentAs:"Frequency"}}},IncludedObjectVersions:{sentAs:"IncludedObjectVersions"},OptionalFields:{type:"object",location:"xml",sentAs:"OptionalFields",parameters:{Field:{type:"array",sentAs:"Field",items:{type:"string"}}}},LastExportTime:{sentAs:"LastExportTime"}}}}}},SetBucketInventory:{httpMethod:"PUT",urlPath:"inventory",parameters:{Bucket:{required:!0,location:"uri"},Id:{location:"urlPath",sentAs:"id"},InventoryConfiguration:_e}},SetBucketInventoryOutput:{data:{type:"xml",xmlRoot:"InventoryConfiguration"},parameters:{InventoryConfiguration:_e}},DeleteBucketInventory:{httpMethod:"DELETE",urlPath:"inventory",parameters:{Bucket:{required:!0,location:"uri"},Id:{location:"urlPath",sentAs:"id"}}},DeleteBucketInventoryOutput:{data:{type:"xml",xmlRoot:"InventoryConfiguration"},parameters:{InventoryConfiguration:_e}},GetBucketAcl:{httpMethod:"GET",urlPath:"acl",parameters:{Bucket:{required:!0,location:"uri"}}},GetBucketAclOutput:{data:{type:"xml",xmlRoot:"AccessControlPolicy"},parameters:{Owner:oe,Grants:ce}},SetBucketLoggingConfiguration:{httpMethod:"PUT",urlPath:"logging",data:{xmlRoot:"BucketLoggingStatus",xmlAllowEmpty:!0},parameters:{Bucket:{required:!0,location:"uri"},Agency:{location:"xml",sentAs:"Agency"},LoggingEnabled:ue}},GetBucketLoggingConfiguration:{httpMethod:"GET",urlPath:"logging",parameters:{Bucket:{required:!0,location:"uri"}}},GetBucketLoggingConfigurationOutput:{data:{type:"xml",xmlRoot:"BucketLoggingStatus"},parameters:{Agency:{location:"xml",sentAs:"Agency"},LoggingEnabled:ue}},SetSFSAcl:{httpMethod:"PUT",urlPath:"sfsacl",parameters:{Bucket:{required:!0,location:"uri"},Policy:{required:!0,location:"body"}}},GetSFSAcl:{httpMethod:"GET",urlPath:"sfsacl",parameters:{Bucket:{required:!0,location:"uri"}}},GetSFSAclOutput:{data:{type:"body"},parameters:{Policy:{location:"body"}}},DeleteSFSAcl:{httpMethod:"DELETE",urlPath:"sfsacl",parameters:{Bucket:{required:!0,location:"uri"}}},SetBucketPolicy:{httpMethod:"PUT",urlPath:"policy",parameters:{Bucket:{required:!0,location:"uri"},Policy:{required:!0,location:"body"}}},GetBucketPolicy:{httpMethod:"GET",urlPath:"policy",parameters:{Bucket:{required:!0,location:"uri"}}},GetBucketPolicyOutput:{data:{type:"body"},parameters:{Policy:{location:"body"}}},DeleteBucketPolicy:{httpMethod:"DELETE",urlPath:"policy",parameters:{Bucket:{required:!0,location:"uri"}}},SetBucketDisPolicy:{httpMethod:"PUT",urlPath:"disPolicy",parameters:{Bucket:{required:!0,location:"uri"},ApiPath:{location:"uri"},Rules:{required:!0,location:"body"}}},GetBucketDisPolicy:{httpMethod:"GET",urlPath:"disPolicy",parameters:{Bucket:{required:!0,location:"uri"},ApiPath:{location:"uri"},ContentType:{location:"header",sentAs:"Content-Type"}}},GetBucketDisPolicyOutput:{data:{type:"body"},parameters:{Rules:{location:"body"}}},DeleteBucketDisPolicy:{httpMethod:"DELETE",urlPath:"disPolicy",parameters:{Bucket:{required:!0,location:"uri"},ApiPath:{location:"uri"}}},SetBucketLifecycleConfiguration:{httpMethod:"PUT",urlPath:"lifecycle",data:{xmlRoot:"LifecycleConfiguration",md5:!0},parameters:{Bucket:{required:!0,location:"uri"},Rules:le}},GetBucketLifecycleConfiguration:{httpMethod:"GET",urlPath:"lifecycle",parameters:{Bucket:{required:!0,location:"uri"}}},GetBucketLifecycleConfigurationOutput:{data:{type:"xml",xmlRoot:"LifecycleConfiguration"},parameters:{Rules:le}},DeleteBucketLifecycleConfiguration:{httpMethod:"DELETE",urlPath:"lifecycle",parameters:{Bucket:{required:!0,location:"uri"}}},SetBucketWebsiteConfiguration:{httpMethod:"PUT",urlPath:"website",data:{xmlRoot:"WebsiteConfiguration"},parameters:{Bucket:{required:!0,location:"uri"},RedirectAllRequestsTo:pe,IndexDocument:de,ErrorDocument:he,RoutingRules:fe}},GetBucketWebsiteConfiguration:{httpMethod:"GET",urlPath:"website",parameters:{Bucket:{required:!0,location:"uri"}}},GetBucketWebsiteConfigurationOutput:{data:{type:"xml",xmlRoot:"WebsiteConfiguration"},parameters:{RedirectAllRequestsTo:pe,IndexDocument:de,ErrorDocument:he,RoutingRules:fe}},DeleteBucketWebsiteConfiguration:{httpMethod:"DELETE",urlPath:"website",parameters:{Bucket:{required:!0,location:"uri"}}},SetBucketVersioningConfiguration:{httpMethod:"PUT",urlPath:"versioning",data:{xmlRoot:"VersioningConfiguration"},parameters:{Bucket:{required:!0,location:"uri"},VersionStatus:{required:!0,location:"xml",sentAs:"Status"}}},GetBucketVersioningConfiguration:{httpMethod:"GET",urlPath:"versioning",parameters:{Bucket:{required:!0,location:"uri"}}},GetBucketVersioningConfigurationOutput:{data:{type:"xml",xmlRoot:"VersioningConfiguration"},parameters:{VersionStatus:{location:"xml",sentAs:"Status"}}},SetBucketCors:{httpMethod:"PUT",urlPath:"cors",data:{xmlRoot:"CORSConfiguration",md5:!0},parameters:{Bucket:{required:!0,location:"uri"},CorsRules:me}},GetBucketCors:{httpMethod:"GET",urlPath:"cors",parameters:{Bucket:{required:!0,location:"uri"}}},GetBucketCorsOutput:{data:{type:"xml",xmlRoot:"CORSConfiguration"},parameters:{CorsRules:me}},DeleteBucketCors:{httpMethod:"DELETE",urlPath:"cors",parameters:{Bucket:{required:!0,location:"uri"}}},SetBucketNotification:{httpMethod:"PUT",urlPath:"notification",data:{xmlRoot:"NotificationConfiguration",xmlAllowEmpty:!0},parameters:{Bucket:{required:!0,location:"uri"},TopicConfigurations:ve,FunctionGraphConfigurations:ge,FunctionStageConfigurations:ye}},GetBucketNotification:{httpMethod:"GET",urlPath:"notification",parameters:{Bucket:{required:!0,location:"uri"}}},GetBucketNotificationOutput:{data:{type:"xml",xmlRoot:"NotificationConfiguration"},parameters:{RequestId:{location:"header",sentAs:"x-obs-request-id"},TopicConfigurations:ve,FunctionGraphConfigurations:ge,FunctionStageConfigurations:ye}},SetBucketTagging:{httpMethod:"PUT",urlPath:"tagging",data:{xmlRoot:"Tagging",md5:!0},parameters:{Bucket:{required:!0,location:"uri"},Tags:be}},DeleteBucketTagging:{httpMethod:"DELETE",urlPath:"tagging",parameters:{Bucket:{required:!0,location:"uri"}}},GetBucketTagging:{httpMethod:"GET",urlPath:"tagging",parameters:{Bucket:{required:!0,location:"uri"}}},GetBucketTaggingOutput:{data:{type:"xml",xmlRoot:"Tagging"},parameters:{Tags:be}},SetBucketStoragePolicy:{httpMethod:"PUT",urlPath:"storageClass",parameters:{Bucket:{required:!0,location:"uri"},StorageClass:{required:!0,location:"xml",type:"adapter",sentAs:"StorageClass"}}},GetBucketStoragePolicy:{httpMethod:"GET",urlPath:"storageClass",parameters:{Bucket:{required:!0,location:"uri"}}},GetBucketStoragePolicyOutput:{data:{type:"xml"},parameters:{StorageClass:{location:"xml",type:"string",sentAs:"StorageClass"}}},SetBucketReplication:{httpMethod:"PUT",urlPath:"replication",data:{xmlRoot:"ReplicationConfiguration",md5:!0},parameters:{Bucket:{required:!0,location:"uri"},Agency:{location:"xml",sentAs:"Agency"},Rules:we}},GetBucketReplication:{httpMethod:"GET",urlPath:"replication",parameters:{Bucket:{required:!0,location:"uri"}}},GetBucketReplicationOutput:{data:{type:"xml",xmlRoot:"ReplicationConfiguration"},parameters:{Agency:{location:"xml",sentAs:"Agency"},Rules:we}},DeleteBucketReplication:{httpMethod:"DELETE",urlPath:"replication",parameters:{Bucket:{required:!0,location:"uri"}}},PutObject:{httpMethod:"PUT",parameters:{Bucket:{required:!0,location:"uri"},Key:{required:!0,location:"uri"},ContentMD5:{location:"header",sentAs:"Content-MD5"},ContentType:{location:"header",sentAs:"Content-Type"},Offset:{type:"plain"},ContentLength:{location:"header",sentAs:"Content-Length",type:"plain"},ACL:{location:"header",sentAs:"acl",withPrefix:!0,type:"adapter"},GrantRead:{location:"header",sentAs:"grant-read",withPrefix:!0},GrantReadAcp:{location:"header",sentAs:"grant-read-acp",withPrefix:!0},GrantWriteAcp:{location:"header",sentAs:"grant-write-acp",withPrefix:!0},GrantFullControl:{location:"header",sentAs:"grant-full-control",withPrefix:!0},StorageClass:{location:"header",sentAs:"storage-class",withPrefix:!0,type:"adapter"},Metadata:{type:"object",location:"header",sentAs:"meta-",withPrefix:!0},CacheControl:{location:"header",sentAs:"Cache-Control"},ContentDisposition:{location:"header",sentAs:"Content-Disposition",encodingSafe:' ;/?:@&=+$,"'},ContentLanguage:{location:"header",sentAs:"Content-Language"},ContentEncoding:{location:"header",sentAs:"Content-Encoding"},WebsiteRedirectLocation:{location:"header",sentAs:"website-redirect-location",withPrefix:!0},Expires:{location:"header",sentAs:"expires",type:"number",withPrefix:!0},SuccessActionRedirect:{location:"header",sentAs:"success-action-redirect"},SseKms:{location:"header",sentAs:"server-side-encryption",withPrefix:!0,type:"adapter"},SseKmsKey:{location:"header",sentAs:"server-side-encryption-kms-key-id",withPrefix:!0},SseKmsProjectId:{location:"header",sentAs:"sse-kms-key-project-id",withPrefix:!0},SseC:{location:"header",sentAs:"server-side-encryption-customer-algorithm",withPrefix:!0},SseCKey:{location:"header",sentAs:"server-side-encryption-customer-key",type:"password",withPrefix:!0},Body:{location:"body"},SourceFile:{type:"srcFile"},ProgressCallback:{type:"plain"}}},PutObjectOutput:{parameters:{ETag:{location:"header",sentAs:"etag"},VersionId:{location:"header",sentAs:"version-id",withPrefix:!0},StorageClass:{location:"header",sentAs:"storage-class",withPrefix:!0},SseKms:{location:"header",sentAs:"server-side-encryption",withPrefix:!0},SseKmsKey:{location:"header",sentAs:"server-side-encryption-kms-key-id",withPrefix:!0},SseKmsProjectId:{location:"header",sentAs:"sse-kms-key-project-id",withPrefix:!0},SseC:{location:"header",sentAs:"server-side-encryption-customer-algorithm",withPrefix:!0},SseCKeyMd5:{location:"header",sentAs:"server-side-encryption-customer-key-MD5",withPrefix:!0}}},AppendObject:{httpMethod:"POST",urlPath:"append",parameters:{Bucket:{required:!0,location:"uri"},Key:{required:!0,location:"uri"},Position:{location:"urlPath",sentAs:"position",type:"number"},ContentMD5:{location:"header",sentAs:"Content-MD5"},ContentType:{location:"header",sentAs:"Content-Type"},Offset:{type:"plain"},ContentLength:{location:"header",sentAs:"Content-Length",type:"plain"},ACL:{location:"header",sentAs:"acl",withPrefix:!0,type:"adapter"},GrantRead:{location:"header",sentAs:"grant-read",withPrefix:!0},GrantReadAcp:{location:"header",sentAs:"grant-read-acp",withPrefix:!0},GrantWriteAcp:{location:"header",sentAs:"grant-write-acp",withPrefix:!0},GrantFullControl:{location:"header",sentAs:"grant-full-control",withPrefix:!0},StorageClass:{location:"header",sentAs:"storage-class",withPrefix:!0,type:"adapter"},Metadata:{type:"object",location:"header",sentAs:"meta-",withPrefix:!0},WebsiteRedirectLocation:{location:"header",sentAs:"website-redirect-location",withPrefix:!0},Expires:{location:"header",sentAs:"expires",type:"number",withPrefix:!0},SseKms:{location:"header",sentAs:"server-side-encryption",withPrefix:!0,type:"adapter"},SseKmsKey:{location:"header",sentAs:"server-side-encryption-kms-key-id",withPrefix:!0},SseC:{location:"header",sentAs:"server-side-encryption-customer-algorithm",withPrefix:!0},SseCKey:{location:"header",sentAs:"server-side-encryption-customer-key",type:"password",withPrefix:!0},Body:{location:"body"},SourceFile:{type:"srcFile"},ProgressCallback:{type:"plain"}}},AppendObjectOutput:{parameters:{ETag:{location:"header",sentAs:"etag"},NextPosition:{location:"header",sentAs:"next-append-position",withPrefix:!0},StorageClass:{location:"header",sentAs:"storage-class",withPrefix:!0},SseKms:{location:"header",sentAs:"server-side-encryption",withPrefix:!0},SseKmsKey:{location:"header",sentAs:"server-side-encryption-kms-key-id",withPrefix:!0},SseC:{location:"header",sentAs:"server-side-encryption-customer-algorithm",withPrefix:!0},SseCKeyMd5:{location:"header",sentAs:"server-side-encryption-customer-key-MD5",withPrefix:!0}}},GetObject:{httpMethod:"GET",parameters:{Bucket:{required:!0,location:"uri"},Key:{required:!0,location:"uri"},ResponseCacheControl:{location:"urlPath",sentAs:"response-cache-control"},ResponseContentDisposition:{location:"urlPath",sentAs:"response-content-disposition"},ResponseContentEncoding:{location:"urlPath",sentAs:"response-content-encoding"},ResponseContentLanguage:{location:"urlPath",sentAs:"response-content-language"},ResponseContentType:{location:"urlPath",sentAs:"response-content-type"},ResponseExpires:{location:"urlPath",sentAs:"response-expires"},VersionId:{location:"urlPath",sentAs:"versionId"},ImageProcess:{location:"urlPath",sentAs:"x-image-process"},IfMatch:{location:"header",sentAs:"If-Match"},IfModifiedSince:{location:"header",sentAs:"If-Modified-Since"},IfNoneMatch:{location:"header",sentAs:"If-None-Match"},IfUnmodifiedSince:{location:"header",sentAs:"If-Unmodified-Since"},Range:{location:"header",sentAs:"Range"},Origin:{location:"header",sentAs:"Origin"},RequestHeader:{location:"header",sentAs:"Access-Control-Request-Headers"},SaveByType:{type:"dstFile"},SseC:{location:"header",sentAs:"server-side-encryption-customer-algorithm",withPrefix:!0},SseCKey:{location:"header",sentAs:"server-side-encryption-customer-key",type:"password",withPrefix:!0},ProgressCallback:{type:"plain"}}},GetObjectOutput:{data:{type:"body"},parameters:{Content:{location:"body"},Expiration:{location:"header",sentAs:"expiration",withPrefix:!0},ETag:{location:"header",sentAs:"etag"},CacheControl:{location:"header",sentAs:"Cache-Control"},ContentDisposition:{location:"header",sentAs:"Content-Disposition"},ContentEncoding:{location:"header",sentAs:"Content-Encoding"},ContentLanguage:{location:"header",sentAs:"Content-Language"},ContentType:{location:"header",sentAs:"Content-Type"},Expires:{location:"header",sentAs:"Expires"},VersionId:{location:"header",sentAs:"version-id",withPrefix:!0},ContentLength:{location:"header",sentAs:"Content-Length"},DeleteMarker:{location:"header",sentAs:"delete-marker",withPrefix:!0},LastModified:{location:"header",sentAs:"Last-Modified"},WebsiteRedirectLocation:{location:"header",sentAs:"website-redirect-location",withPrefix:!0},StorageClass:{location:"header",sentAs:"storage-class",withPrefix:!0},Restore:{location:"header",sentAs:"restore",withPrefix:!0},AllowOrigin:{location:"header",sentAs:"access-control-allow-origin"},MaxAgeSeconds:{location:"header",sentAs:"access-control-max-age"},ExposeHeader:{location:"header",sentAs:"access-control-expose-headers"},AllowMethod:{location:"header",sentAs:"access-control-allow-methods"},AllowHeader:{location:"header",sentAs:"access-control-allow-headers"},SseKms:{location:"header",sentAs:"server-side-encryption",withPrefix:!0},SseKmsKey:{location:"header",sentAs:"server-side-encryption-kms-key-id",withPrefix:!0},SseC:{location:"header",sentAs:"server-side-encryption-customer-algorithm",withPrefix:!0},SseCKeyMd5:{location:"header",sentAs:"server-side-encryption-customer-key-MD5",withPrefix:!0},Metadata:{location:"header",type:"object",sentAs:"meta-",withPrefix:!0}}},CopyObject:{httpMethod:"PUT",parameters:{Bucket:{required:!0,location:"uri"},Key:{required:!0,location:"uri"},ACL:{location:"header",sentAs:"acl",withPrefix:!0,type:"adapter"},GrantRead:{location:"header",sentAs:"grant-read",withPrefix:!0},GrantReadAcp:{location:"header",sentAs:"grant-read-acp",withPrefix:!0},GrantWriteAcp:{location:"header",sentAs:"grant-write-acp",withPrefix:!0},GrantFullControl:{location:"header",sentAs:"grant-full-control",withPrefix:!0},StorageClass:{location:"header",sentAs:"storage-class",withPrefix:!0,type:"adapter"},CopySource:{required:!0,location:"header",sentAs:"copy-source",withPrefix:!0,skipEncoding:!0},CopySourceIfMatch:{location:"header",sentAs:"copy-source-if-match",withPrefix:!0},CopySourceIfModifiedSince:{location:"header",sentAs:"copy-source-if-modified-since",withPrefix:!0},CopySourceIfNoneMatch:{location:"header",sentAs:"copy-source-if-none-match",withPrefix:!0},CopySourceIfUnmodifiedSince:{location:"header",sentAs:"copy-source-if-unmodified-since",withPrefix:!0},ContentType:{location:"header",sentAs:"Content-Type"},ContentEncoding:{location:"header",sentAs:"content-encoding"},ContentLanguage:{location:"header",sentAs:"content-language"},ContentDisposition:{location:"header",sentAs:"content-disposition"},CacheControl:{location:"header",sentAs:"cache-control"},Expires:{location:"header",sentAs:"expires"},Metadata:{type:"object",location:"header",sentAs:"meta-",withPrefix:!0},MetadataDirective:{location:"header",sentAs:"metadata-directive",withPrefix:!0},WebsiteRedirectLocation:{location:"header",sentAs:"website-redirect-location",withPrefix:!0},SuccessActionRedirect:{location:"header",sentAs:"success-action-redirect"},SseKms:{location:"header",sentAs:"server-side-encryption",withPrefix:!0,type:"adapter"},SseKmsKey:{location:"header",sentAs:"server-side-encryption-kms-key-id",withPrefix:!0},SseC:{location:"header",sentAs:"server-side-encryption-customer-algorithm",withPrefix:!0},SseCKey:{location:"header",sentAs:"server-side-encryption-customer-key",type:"password",withPrefix:!0},CopySourceSseC:{location:"header",sentAs:"copy-source-server-side-encryption-customer-algorithm",withPrefix:!0},CopySourceSseCKey:{location:"header",sentAs:"copy-source-server-side-encryption-customer-key",type:"password",withPrefix:!0}}},CopyObjectOutput:{data:{type:"xml",xmlRoot:"CopyObjectResult"},parameters:{VersionId:{location:"header",sentAs:"version-id",withPrefix:!0},CopySourceVersionId:{location:"header",sentAs:"copy-source-version-id",withPrefix:!0},ETag:{location:"xml",sentAs:"ETag"},LastModified:{location:"xml",sentAs:"LastModified"},SseKms:{location:"header",sentAs:"server-side-encryption",withPrefix:!0},SseKmsKey:{location:"header",sentAs:"server-side-encryption-kms-key-id",withPrefix:!0},SseC:{location:"header",sentAs:"server-side-encryption-customer-algorithm",withPrefix:!0},SseCKeyMd5:{location:"header",sentAs:"server-side-encryption-customer-key-MD5",withPrefix:!0}}},RestoreObject:{httpMethod:"POST",urlPath:"restore",data:{xmlRoot:"RestoreRequest",md5:!0},parameters:{Bucket:{required:!0,location:"uri"},Key:{required:!0,location:"uri"},VersionId:{location:"urlPath",sentAs:"versionId"},Days:{location:"xml",sentAs:"Days"},Tier:{wrapper:"RestoreJob",location:"xml",sentAs:"Tier"}}},GetObjectMetadata:{httpMethod:"HEAD",parameters:{Bucket:{required:!0,location:"uri"},Key:{required:!0,location:"uri"},VersionId:{location:"urlPath",sentAs:"versionId"},Origin:{location:"header",sentAs:"Origin"},RequestHeader:{location:"header",sentAs:"Access-Control-Request-Headers"},SseC:{location:"header",sentAs:"server-side-encryption-customer-algorithm",withPrefix:!0},SseCKey:{location:"header",sentAs:"server-side-encryption-customer-key",type:"password",withPrefix:!0}}},GetObjectMetadataOutput:{parameters:{Expiration:{location:"header",sentAs:"expiration",withPrefix:!0},LastModified:{location:"header",sentAs:"Last-Modified"},ContentLength:{location:"header",sentAs:"Content-Length"},ContentType:{location:"header",sentAs:"Content-Type"},ETag:{location:"header",sentAs:"etag"},VersionId:{location:"header",sentAs:"version-id",withPrefix:!0},WebsiteRedirectLocation:{location:"header",sentAs:"website-redirect-location",withPrefix:!0},StorageClass:{location:"header",sentAs:"storage-class",withPrefix:!0},Restore:{location:"header",sentAs:"restore",withPrefix:!0},ObjectType:{location:"header",sentAs:"x-obs-object-type"},NextPosition:{location:"header",sentAs:"x-obs-next-append-position"},AllowOrigin:{location:"header",sentAs:"access-control-allow-origin"},MaxAgeSeconds:{location:"header",sentAs:"access-control-max-age"},ExposeHeader:{location:"header",sentAs:"access-control-expose-headers"},AllowMethod:{location:"header",sentAs:"access-control-allow-methods"},AllowHeader:{location:"header",sentAs:"access-control-allow-headers"},SseKms:{location:"header",sentAs:"server-side-encryption",withPrefix:!0},SseKmsKey:{location:"header",sentAs:"x-obs-server-side-encryption-kms-key-id"},SseKmsProjectId:{location:"header",sentAs:"sse-kms-key-project-id",withPrefix:!0},SseC:{location:"header",sentAs:"server-side-encryption-customer-algorithm",withPrefix:!0},SseCKeyMd5:{location:"header",sentAs:"server-side-encryption-customer-key-MD5",withPrefix:!0},Metadata:{location:"header",type:"object",sentAs:"meta-",withPrefix:!0},ContentLanguage:{location:"header",sentAs:"Content-Language"},ContentEncoding:{location:"header",sentAs:"Content-Encoding"},CacheControl:{location:"header",sentAs:"Cache-Control"},ContentDisposition:{location:"header",sentAs:"Content-Disposition"},Expires:{location:"header",sentAs:"Expires"},ReplicationStatus:{location:"header",sentAs:"replication-status",withPrefix:!0}}},SetObjectMetadata:{httpMethod:"PUT",urlPath:"metadata",parameters:{Bucket:{required:!0,location:"uri"},Key:{required:!0,location:"uri"},VersionId:{location:"urlPath",sentAs:"versionId"},Origin:{location:"header",sentAs:"Origin"},RequestHeader:{location:"header",sentAs:"Access-Control-Request-Headers"},CacheControl:{location:"header",sentAs:"Cache-Control"},ContentDisposition:{location:"header",sentAs:"Content-Disposition",encodingSafe:' ;/?:@&=+$,"'},ContentLanguage:{location:"header",sentAs:"Content-Language"},ContentEncoding:{location:"header",sentAs:"Content-Encoding"},ContentType:{location:"header",sentAs:"Content-Type"},Expires:{location:"header",sentAs:"Expires"},Metadata:{shape:"Sy",location:"header",type:"object",sentAs:"meta-",withPrefix:!0},MetadataDirective:{location:"header",sentAs:"metadata-directive",withPrefix:!0},StorageClass:{location:"header",sentAs:"storage-class",withPrefix:!0},WebsiteRedirectLocation:{location:"header",sentAs:"website-redirect-location",withPrefix:!0}}},SetObjectMetadataOutput:{parameters:{Expires:{location:"header",sentAs:"Expires"},ContentLength:{location:"header",sentAs:"Content-Length"},ContentType:{location:"header",sentAs:"Content-Type"},ContentLanguage:{location:"header",sentAs:"Content-Language"},CacheControl:{location:"header",sentAs:"Cache-Control"},ContentDisposition:{location:"header",sentAs:"Content-Disposition"},WebsiteRedirectLocation:{location:"header",sentAs:"website-redirect-location",withPrefix:!0},StorageClass:{location:"header",sentAs:"storage-class",withPrefix:!0,type:"adapter"},Metadata:{location:"header",type:"object",sentAs:"meta-",withPrefix:!0}}},SetObjectAcl:{httpMethod:"PUT",urlPath:"acl",data:{xmlRoot:"AccessControlPolicy"},parameters:{Bucket:{required:!0,location:"uri"},Key:{required:!0,location:"uri"},VersionId:{location:"urlPath",sentAs:"versionId"},ACL:{location:"header",sentAs:"acl",withPrefix:!0,type:"adapter"},Delivered:{location:"xml",sentAs:"Delivered"},Owner:oe,Grants:ce}},SetObjectAclOutput:{parameters:{VersionId:{location:"header",sentAs:"version-id",withPrefix:!0}}},GetObjectAcl:{httpMethod:"GET",urlPath:"acl",parameters:{Bucket:{required:!0,location:"uri"},Key:{required:!0,location:"uri"},VersionId:{location:"urlPath",sentAs:"versionId"}}},GetObjectAclOutput:{data:{type:"xml",xmlRoot:"AccessControlPolicy"},parameters:{VersionId:{location:"header",sentAs:"version-id",withPrefix:!0},Delivered:{location:"xml",sentAs:"Delivered"},Owner:oe,Grants:ce}},DeleteObject:{httpMethod:"DELETE",parameters:{Bucket:{required:!0,location:"uri"},Key:{required:!0,location:"uri"},VersionId:{location:"urlPath",sentAs:"versionId"}}},DeleteObjectOutput:{parameters:{VersionId:{location:"header",sentAs:"version-id",withPrefix:!0},DeleteMarker:{location:"header",sentAs:"delete-marker",withPrefix:!0}}},DeleteObjects:{httpMethod:"POST",urlPath:"delete",data:{xmlRoot:"Delete",md5:!0},parameters:{Bucket:{required:!0,location:"uri"},Quiet:{location:"xml",sentAs:"Quiet"},EncodingType:{location:"xml",sentAs:"EncodingType"},Objects:{required:!0,type:"array",location:"xml",sentAs:"Object",items:{type:"object",parameters:{Key:{sentAs:"Key"},VersionId:{sentAs:"VersionId"}}}}}},DeleteObjectsOutput:{data:{type:"xml",xmlRoot:"DeleteResult"},EncodingType:{location:"xml",sentAs:"EncodingType"},parameters:{Deleteds:{type:"array",location:"xml",sentAs:"Deleted",items:{type:"object",parameters:{Key:{decode:!0,sentAs:"Key"},VersionId:{sentAs:"VersionId"},DeleteMarker:{sentAs:"DeleteMarker"},DeleteMarkerVersionId:{sentAs:"DeleteMarkerVersionId"}}}},Errors:{type:"array",location:"xml",sentAs:"Error",items:{type:"object",parameters:{Key:{sentAs:"Key"},VersionId:{sentAs:"VersionId"},Code:{sentAs:"Code"},Message:{sentAs:"Message"}}}}}},InitiateMultipartUpload:{httpMethod:"POST",urlPath:"uploads",parameters:{EncodingType:{location:"urlPath",sentAs:"encoding-type"},Bucket:{required:!0,location:"uri"},Key:{required:!0,location:"uri"},ACL:{location:"header",sentAs:"acl",withPrefix:!0,type:"adapter"},GrantRead:{location:"header",sentAs:"grant-read",withPrefix:!0},GrantReadAcp:{location:"header",sentAs:"grant-read-acp",withPrefix:!0},GrantWriteAcp:{location:"header",sentAs:"grant-write-acp",withPrefix:!0},GrantFullControl:{location:"header",sentAs:"grant-full-control",withPrefix:!0},StorageClass:{location:"header",sentAs:"storage-class",withPrefix:!0,type:"adapter"},Metadata:{type:"object",location:"header",sentAs:"meta-",withPrefix:!0},WebsiteRedirectLocation:{location:"header",sentAs:"website-redirect-location",withPrefix:!0},Expires:{location:"header",sentAs:"expires",type:"number",withPrefix:!0},ContentType:{location:"header",sentAs:"Content-Type"},SseKms:{location:"header",sentAs:"server-side-encryption",withPrefix:!0,type:"adapter"},SseKmsKey:{location:"header",sentAs:"server-side-encryption-kms-key-id",withPrefix:!0},SseKmsProjectId:{location:"header",sentAs:"sse-kms-key-project-id",withPrefix:!0},SseC:{location:"header",sentAs:"server-side-encryption-customer-algorithm",withPrefix:!0},SseCKey:{location:"header",sentAs:"server-side-encryption-customer-key",type:"password",withPrefix:!0}}},InitiateMultipartUploadOutput:{data:{type:"xml",xmlRoot:"InitiateMultipartUploadResult"},parameters:{EncodingType:{location:"xml",sentAs:"EncodingType"},Bucket:{location:"xml",sentAs:"Bucket"},Key:{location:"xml",sentAs:"Key"},UploadId:{location:"xml",sentAs:"UploadId"},SseKms:{location:"header",sentAs:"server-side-encryption",withPrefix:!0},SseKmsKey:{location:"header",sentAs:"server-side-encryption-kms-key-id",withPrefix:!0},SseKmsProjectId:{location:"header",sentAs:"sse-kms-key-project-id",withPrefix:!0},SseC:{location:"header",sentAs:"server-side-encryption-customer-algorithm",withPrefix:!0},SseCKeyMd5:{location:"header",sentAs:"server-side-encryption-customer-key-MD5",withPrefix:!0}}},ListMultipartUploads:{httpMethod:"GET",urlPath:"uploads",parameters:{Bucket:{required:!0,location:"uri"},Delimiter:{location:"urlPath",sentAs:"delimiter"},KeyMarker:{location:"urlPath",sentAs:"key-marker"},MaxUploads:{type:"number",location:"urlPath",sentAs:"max-uploads"},Prefix:{location:"urlPath",sentAs:"prefix"},UploadIdMarker:{location:"urlPath",sentAs:"upload-id-marker"},EncodingType:{location:"urlPath",sentAs:"encoding-type"}}},ListMultipartUploadsOutput:{data:{type:"xml",xmlRoot:"ListMultipartUploadsResult"},parameters:{Bucket:{location:"xml",sentAs:"Bucket"},KeyMarker:{decode:!0,location:"xml",sentAs:"KeyMarker"},UploadIdMarker:{location:"xml",sentAs:"UploadIdMarker"},NextKeyMarker:{decode:!0,location:"xml",sentAs:"NextKeyMarker"},Prefix:{decode:!0,location:"xml",sentAs:"Prefix"},Delimiter:{decode:!0,location:"xml",sentAs:"Delimiter"},NextUploadIdMarker:{location:"xml",sentAs:"NextUploadIdMarker"},MaxUploads:{location:"xml",sentAs:"MaxUploads"},IsTruncated:{location:"xml",sentAs:"IsTruncated"},EncodingType:{location:"xml",sentAs:"EncodingType"},Uploads:{type:"array",location:"xml",sentAs:"Upload",items:{type:"object",parameters:{UploadId:{sentAs:"UploadId"},Key:{decode:!0,sentAs:"Key"},Initiated:{sentAs:"Initiated"},StorageClass:{sentAs:"StorageClass"},Owner:oe,Initiator:ie}}},CommonPrefixes:se}},UploadPart:{httpMethod:"PUT",parameters:{Bucket:{required:!0,location:"uri"},Key:{required:!0,location:"uri"},PartNumber:{required:!0,type:"number",location:"urlPath",sentAs:"partNumber"},UploadId:{required:!0,location:"urlPath",sentAs:"uploadId"},ContentMD5:{location:"header",sentAs:"Content-MD5"},Body:{location:"body"},SourceFile:{type:"srcFile"},Offset:{type:"plain"},PartSize:{type:"plain"},SseKms:{location:"header",sentAs:"server-side-encryption",withPrefix:!0},SseKmsKey:{location:"header",sentAs:"server-side-encryption-kms-key-id",withPrefix:!0},SseKmsProjectId:{location:"header",sentAs:"sse-kms-key-project-id",withPrefix:!0},SseC:{location:"header",sentAs:"server-side-encryption-customer-algorithm",withPrefix:!0},SseCKey:{location:"header",sentAs:"server-side-encryption-customer-key",type:"password",withPrefix:!0},ProgressCallback:{type:"plain"}}},UploadPartOutput:{parameters:{ETag:{location:"header",sentAs:"etag"},SseKms:{location:"header",sentAs:"server-side-encryption",withPrefix:!0},SseKmsKey:{location:"header",sentAs:"server-side-encryption-kms-key-id",withPrefix:!0},SseKmsProjectId:{location:"header",sentAs:"sse-kms-key-project-id",withPrefix:!0},SseC:{location:"header",sentAs:"server-side-encryption-customer-algorithm",withPrefix:!0},SseCKeyMd5:{location:"header",sentAs:"server-side-encryption-customer-key-MD5",withPrefix:!0}}},ListParts:{httpMethod:"GET",parameters:{Bucket:{required:!0,location:"uri"},Key:{required:!0,location:"uri"},UploadId:{required:!0,location:"urlPath",sentAs:"uploadId"},MaxParts:{type:"number",location:"urlPath",sentAs:"max-parts"},PartNumberMarker:{type:"number",location:"urlPath",sentAs:"part-number-marker"},EncodingType:{location:"urlPath",sentAs:"encoding-type"}}},ListPartsOutput:{data:{type:"xml",xmlRoot:"ListPartsResult"},parameters:{Bucket:{location:"xml",sentAs:"Bucket"},Key:{decode:!0,location:"xml",sentAs:"Key"},UploadId:{location:"xml",sentAs:"UploadId"},PartNumberMarker:{location:"xml",sentAs:"PartNumberMarker"},NextPartNumberMarker:{location:"xml",sentAs:"NextPartNumberMarker"},MaxParts:{location:"xml",sentAs:"MaxParts"},IsTruncated:{location:"xml",sentAs:"IsTruncated"},StorageClass:{location:"xml",sentAs:"StorageClass"},EncodingType:{location:"urlPath",sentAs:"EncodingType"},Initiator:ie,Owner:oe,Parts:{type:"array",location:"xml",sentAs:"Part",items:{type:"object",parameters:{PartNumber:{sentAs:"PartNumber"},LastModified:{sentAs:"LastModified"},ETag:{sentAs:"ETag"},Size:{sentAs:"Size"}}}}}},CopyPart:{httpMethod:"PUT",parameters:{Bucket:{required:!0,location:"uri"},Key:{required:!0,location:"uri"},PartNumber:{required:!0,location:"urlPath",sentAs:"partNumber",type:"number"},UploadId:{required:!0,location:"urlPath",sentAs:"uploadId"},CopySource:{required:!0,location:"header",sentAs:"copy-source",skipEncoding:!0,withPrefix:!0},CopySourceRange:{location:"header",sentAs:"copy-source-range",withPrefix:!0},SseC:{location:"header",sentAs:"server-side-encryption-customer-algorithm",withPrefix:!0},SseCKey:{location:"header",sentAs:"server-side-encryption-customer-key",type:"password",withPrefix:!0},CopySourceSseC:{location:"header",sentAs:"copy-source-server-side-encryption-customer-algorithm",withPrefix:!0},CopySourceSseCKey:{location:"header",sentAs:"copy-source-server-side-encryption-customer-key",type:"password",withPrefix:!0}}},CopyPartOutput:{data:{type:"xml",xmlRoot:"CopyPartResult"},parameters:{LastModified:{location:"xml",sentAs:"LastModified"},ETag:{location:"xml",sentAs:"ETag"},SseKms:{location:"header",sentAs:"server-side-encryption",withPrefix:!0},SseKmsKey:{location:"header",sentAs:"server-side-encryption-kms-key-id",withPrefix:!0},SseC:{location:"header",sentAs:"server-side-encryption-customer-algorithm",withPrefix:!0},SseCKeyMd5:{location:"header",sentAs:"server-side-encryption-customer-key-MD5",withPrefix:!0}}},AbortMultipartUpload:{httpMethod:"DELETE",parameters:{Bucket:{required:!0,location:"uri"},Key:{required:!0,location:"uri"},UploadId:{required:!0,location:"urlPath",sentAs:"uploadId"}}},CompleteMultipartUpload:{httpMethod:"POST",data:{xmlRoot:"CompleteMultipartUpload"},parameters:{Bucket:{required:!0,location:"uri"},Key:{required:!0,location:"uri"},UploadId:{required:!0,location:"urlPath",sentAs:"uploadId"},EncodingType:{location:"urlPath",sentAs:"encoding-type"},SseKms:{location:"header",sentAs:"server-side-encryption",withPrefix:!0},SseKmsKey:{location:"header",sentAs:"server-side-encryption-kms-key-id",withPrefix:!0},SseKmsProjectId:{location:"header",sentAs:"sse-kms-key-project-id",withPrefix:!0},Parts:{required:!0,type:"array",location:"xml",sentAs:"Part",items:{type:"object",parameters:{PartNumber:{sentAs:"PartNumber"},ETag:{sentAs:"ETag"}}}},Callback:{location:"header",sentAs:"callback",withPrefix:!0,type:"callback",parameters:{CallbackUrl:{required:!0},CallbackBody:{required:!0},CallbackHost:{},CallbackBodyType:{}}}}},CompleteMultipartUploadOutput:{data:{type:"xml",xmlRoot:"CompleteMultipartUploadResult"},parameters:{VersionId:{location:"header",sentAs:"version-id",withPrefix:!0},Location:{location:"xml",sentAs:"Location"},EncodingType:{location:"xml",sentAs:"EncodingType"},Bucket:{location:"xml",sentAs:"Bucket"},Key:{decode:!0,location:"xml",sentAs:"Key"},ETag:{location:"xml",sentAs:"ETag"},SseKms:{location:"header",sentAs:"server-side-encryption",withPrefix:!0},SseKmsKey:{location:"header",sentAs:"server-side-encryption-kms-key-id",withPrefix:!0},SseKmsProjectId:{location:"header",sentAs:"sse-kms-key-project-id",withPrefix:!0},SseC:{location:"header",sentAs:"server-side-encryption-customer-algorithm",withPrefix:!0},SseCKeyMd5:{location:"header",sentAs:"server-side-encryption-customer-key-MD5",withPrefix:!0}},CallbackResponse:{location:"body",sentAs:"CallbackResponseBody"}},OptionsBucket:{httpMethod:"OPTIONS",parameters:{Bucket:{required:!0,location:"uri"},Origin:{required:!0,location:"header",sentAs:"Origin"},AccessControlRequestMethods:{required:!0,type:"array",location:"header",sentAs:"Access-Control-Request-Method",items:{type:"string"}},AccessControlRequestHeaders:{type:"array",location:"header",sentAs:"Access-Control-Request-Headers",items:{type:"string"}}}},OptionsBucketOutput:{parameters:{AllowOrigin:{location:"header",sentAs:"access-control-allow-origin"},AllowHeader:{location:"header",sentAs:"access-control-allow-headers"},AllowMethod:{location:"header",sentAs:"access-control-allow-methods"},ExposeHeader:{location:"header",sentAs:"access-control-expose-headers"},MaxAgeSeconds:{location:"header",sentAs:"access-control-max-age"}}},OptionsObject:{httpMethod:"OPTIONS",parameters:{Bucket:{required:!0,location:"uri"},Key:{required:!0,location:"uri"},Origin:{required:!0,location:"header",sentAs:"Origin"},AccessControlRequestMethods:{required:!0,type:"array",location:"header",sentAs:"Access-Control-Request-Method",items:{type:"string"}},AccessControlRequestHeaders:{type:"array",location:"header",sentAs:"Access-Control-Request-Headers",items:{type:"string"}}}},OptionsObjectOutput:{parameters:{AllowOrigin:{location:"header",sentAs:"access-control-allow-origin"},AllowHeader:{location:"header",sentAs:"access-control-allow-headers"},AllowMethod:{location:"header",sentAs:"access-control-allow-methods"},ExposeHeader:{location:"header",sentAs:"access-control-expose-headers"},MaxAgeSeconds:{location:"header",sentAs:"access-control-max-age"}}},GetBucketEncryption:{httpMethod:"GET",urlPath:"encryption",parameters:{Bucket:{required:!0,location:"uri"}}},GetBucketEncryptionOutput:{data:{type:"xml",xmlRoot:"ServerSideEncryptionConfiguration"},parameters:{Rule:{type:"object",location:"xml",sentAs:"Rule",parameters:{ApplyServerSideEncryptionByDefault:{type:"object",sentAs:"ApplyServerSideEncryptionByDefault",parameters:{SSEAlgorithm:{sentAs:"SSEAlgorithm"},KMSMasterKeyID:{sentAs:"KMSMasterKeyID"},ProjectID:{sentAs:"ProjectID"}}}}}}},SetBucketEncryption:{httpMethod:"PUT",urlPath:"encryption",data:{xmlRoot:"ServerSideEncryptionConfiguration"},parameters:{Bucket:{required:!0,location:"uri"},Rule:xe}},SetBucketEncryptionOutput:{data:{type:"xml",xmlRoot:"ServerSideEncryptionConfiguration"},parameters:{Rule:xe}},DeleteBucketEncryption:{httpMethod:"DELETE",urlPath:"encryption",parameters:{Bucket:{required:!0,location:"uri"}}},DeleteBucketEncryptionOutput:{data:{type:"xml",xmlRoot:"ServerSideEncryptionConfiguration"},parameters:{Rule:xe}},GetBucketRequesterPay:{httpMethod:"GET",urlPath:"requestPayment",parameters:{Bucket:{required:!0,location:"uri"}}},GetBucketRequesterPayOutput:{data:{type:"xml",xmlRoot:"RequestPaymentConfiguration"},parameters:{Payer:{location:"xml",sentAs:"Payer"}}},SetBucketRequesterPay:{httpMethod:"PUT",urlPath:"requestPayment",data:{xmlRoot:"RequestPaymentConfiguration"},parameters:{Bucket:{required:!0,location:"uri"},Payer:{location:"xml",sentAs:"Payer"}}},SetBucketRequesterPayOutput:{data:{type:"xml",xmlRoot:"RequestPaymentConfiguration"},parameters:{Payer:{location:"xml",sentAs:"Payer"}}},SetMirrorBackToSource:{httpMethod:"PUT",urlPath:"mirrorBackToSource",parameters:{Bucket:{required:!0,location:"uri"},ApiPath:{location:"uri"},Rules:{required:!0,location:"body"}}},SetMirrorBackToSourceOutput:{data:{type:"body"},parameters:{Rules:{location:"body"}}},GetMirrorBackToSource:{httpMethod:"GET",urlPath:"mirrorBackToSource",parameters:{Bucket:{required:!0,location:"uri"},ApiPath:{location:"uri"}}},GetMirrorBackToSourceOutput:{data:{type:"body"},parameters:{Rules:{location:"body"}}},DeleteMirrorBackToSource:{httpMethod:"DELETE",urlPath:"mirrorBackToSource",parameters:{Bucket:{required:!0,location:"uri"},ApiPath:{location:"uri"}}},GetBucketDirectColdAccess:{httpMethod:"GET",urlPath:"directcoldaccess",parameters:{Bucket:{required:!0,location:"uri"}}},GetBucketDirectColdAccessOutput:{data:{type:"xml",xmlRoot:"DirectColdAccessConfiguration"},parameters:{Status:{location:"xml",sentAs:"Status"}}},SetBucketDirectColdAccess:{httpMethod:"PUT",urlPath:"directcoldaccess",data:{xmlRoot:"DirectColdAccessConfiguration",md5:!0},parameters:{Bucket:{required:!0,location:"uri"},Status:{required:!0,location:"xml",sentAs:"Status"}}},SetBucketDirectColdAccessOutput:{data:{type:"xml",xmlRoot:"DirectColdAccessConfiguration"},parameters:{Status:{location:"xml",sentAs:"Status"}}},DeleteBucketDirectColdAccess:{httpMethod:"DELETE",urlPath:"directcoldaccess",parameters:{Bucket:{required:!0,location:"uri"}}},DeleteBucketDirectColdAccessOutput:{data:{type:"xml",xmlRoot:"DirectColdAccessConfiguration"},parameters:{Status:{location:"xml",sentAs:"Status"}}},GetBucketCustomDomain:{httpMethod:"GET",urlPath:"customdomain",parameters:{Bucket:{required:!0,location:"uri"}}},GetBucketCustomDomainOutput:{data:{type:"xml",xmlRoot:"ListBucketCustomDomainsResult"},parameters:{Domains:{location:"xml",type:"array",sentAs:"Domains",items:{type:"object",parameters:{DomainName:{sentAs:"DomainName"},Value:{sentAs:"CreateTime"}}}}}},SetBucketCustomDomain:{httpMethod:"PUT",parameters:{Bucket:{required:!0,location:"uri"},DomainName:{location:"urlPath",sentAs:"customdomain"}}},DeleteBucketCustomDomain:{httpMethod:"DELETE",parameters:{Bucket:{required:!0,location:"uri"},DomainName:{location:"urlPath",sentAs:"customdomain"}}},GetCDNNotifyConfiguration:{httpMethod:"GET",urlPath:"CDNNotifyConfiguration",parameters:{Bucket:{required:!0,location:"uri"}}},GetCDNNotifyConfigurationOutput:{data:{type:"xml",xmlRoot:"CDNNotifyConfiguration"},parameters:{Domain:{location:"xml",type:"array",sentAs:"Domain",items:{type:"object",parameters:{Name:{sentAs:"Name"},Events:{type:"array",items:{type:"adapter"},sentAs:"Event"}}}}}},SetCdnNotifyConfiguration:{httpMethod:"PUT",urlPath:"CDNNotifyConfiguration",data:{xmlRoot:"CDNNotifyConfiguration",xmlAllowEmpty:!0},parameters:{Bucket:{required:!0,location:"uri"},Domain:{location:"xml",sentAs:"Domain",type:"array",items:{type:"object",parameters:{Name:{type:"string",sentAs:"Name"},Event:{type:"array",items:{type:"adapter"},sentAs:"Event"}}}}}},GetQuota:{httpMethod:"GET",urlPath:"quota"},GetQuotaOutput:{data:{type:"xml",xmlRoot:"MaxBucketNumber"},parameters:{Size:{location:"xml",sentAs:"Number"}}},GetWorkflowTrigger:{httpMethod:"GET",urlPath:"obsworkflowtriggerpolicy",parameters:{Bucket:{required:!0,location:"uri"},ApiPath:{location:"uri"}}},GetWorkflowTriggerOutput:{data:{type:"body"},parameters:{rules:{location:"body"}}},DeleteWorkflowTrigger:{httpMethod:"DELETE",urlPath:"obsworkflowtriggerpolicy",parameters:{Bucket:{required:!0,location:"uri"},ApiPath:{location:"uri"}}},CreateWorkflowTrigger:{httpMethod:"PUT",urlPath:"obsworkflowtriggerpolicy",parameters:{Bucket:{required:!0,location:"uri"},ApiPath:{location:"uri"},Rule:{required:!0,location:"body"}}},RestoreFailedWorkflowExecution:{httpMethod:"PUT",parameters:{ApiPath:{location:"uri"},Other_parameter:{required:!0,location:"uri",sentAs:"execution_name"},GraphName:{required:!0,location:"urlPath",sentAs:"x-workflow-graph-name"}}},CreateTemplate:{httpMethod:"POST",parameters:{ApiPath:{location:"uri"},Template:{required:!0,location:"body"}}},CreateWorkflow:{httpMethod:"POST",parameters:{ApiPath:{location:"uri"},Other_parameter:{required:!0,location:"uri",sentAs:"graph_name"},Workflow_create:{location:"urlPath",sentAs:"x-workflow-create"},Workflow:{required:!0,location:"body"}}},DeleteWorkflow:{httpMethod:"DELETE",parameters:{ApiPath:{location:"uri"},Other_parameter:{location:"uri",sentAs:"graph_name"}}},UpdateWorkflow:{httpMethod:"PUT",parameters:{ApiPath:{location:"uri"},Other_parameter:{location:"uri",sentAs:"graph_name"},Graph_name:{required:!0,location:"body"}}},GetWorkflowList:{httpMethod:"GET",parameters:{ApiPath:{location:"uri"},Other_parameter:{location:"uri",sentAs:"graph_name_prefix"},XObsLimit:{type:"number",location:"urlPath",sentAs:"x-workflow-limit"},XObsPrefix:{location:"urlPath",sentAs:"x-workflow-prefix"},XObsStart:{type:"number",location:"urlPath",sentAs:"x-workflow-start"}}},GetWorkflowListOutput:{data:{type:"body"},parameters:{workflows:{location:"body"}}},GetWorkflowTemplateList:{httpMethod:"GET",parameters:{ApiPath:{location:"uri"},Other_parameter:{location:"uri",sentAs:"template_name_prefix"},Start:{type:"number",location:"urlPath",sentAs:"x-workflow-start"},Limit:{type:"number",location:"urlPath",sentAs:"x-workflow-limit"},"X-workflow-prefix":{location:"urlPath",sentAs:"x-workflow-prefix"}}},GetWorkflowTemplateListOutput:{data:{type:"body"},parameters:{templates:{location:"body"}}},GetWorkflowInstanceList:{httpMethod:"GET",parameters:{ApiPath:{location:"uri"},Other_parameter:{location:"uri",sentAs:"execution_name_prefix"},Start:{type:"number",location:"urlPath",sentAs:"x-workflow-start"},Limit:{type:"number",location:"urlPath",sentAs:"x-workflow-limit"},Graph_name:{location:"urlPath",sentAs:"x-workflow-graph-name"},State:{location:"urlPath",sentAs:"x-workflow-execution-state"},"X-workflow-prefix":{location:"urlPath",sentAs:"x-workflow-prefix"}}},GetWorkflowInstanceListOutput:{data:{type:"body"},parameters:{instances:{location:"body"}}},DeleteTemplate:{httpMethod:"DELETE",parameters:{ApiPath:{location:"uri"},Other_parameter:{location:"uri",sentAs:"template_name"}}},GetActionTemplates:{httpMethod:"GET",parameters:{ApiPath:{location:"uri"},Other_parameter:{location:"uri",sentAs:"template_name_prefix"},XObsPrefix:{location:"urlPath",sentAs:"x-workflow-prefix"},XObsCategory:{type:"String",location:"urlPath",sentAs:"x-workflow-category"}}},GetActionTemplatesOutput:{data:{type:"body"},parameters:{actions:{location:"body"}}},GetWorkflowAuthorization:{httpMethod:"GET",parameters:{ApiPath:{location:"uri"}}},GetWorkflowAuthorizationOutput:{data:{type:"body"},parameters:{authorization:{location:"body"}}},OpenWorkflowAuthorization:{httpMethod:"POST",parameters:{ApiPath:{location:"uri"}}},CreateOnlineDecom:{httpMethod:"PUT",urlPath:"obscompresspolicy",parameters:{Bucket:{required:!0,location:"uri"},Decom:{required:!0,location:"body"}}},GetOnlineDecom:{httpMethod:"GET",urlPath:"obscompresspolicy",parameters:{Bucket:{required:!0,location:"uri"}}},GetOnlineDecomOutput:{data:{type:"body"},parameters:{Decom:{location:"body"}}},DeleteOnlineDecom:{httpMethod:"DELETE",urlPath:"obscompresspolicy",parameters:{Bucket:{required:!0,location:"uri"}}},GetPublicationTemplates:{httpMethod:"GET",parameters:{ApiPath:{location:"uri"},OtherParameter:{location:"uri",sentAs:"template_name_prefix"},XObsCategory:{location:"urlPath",sentAs:"x-workflow-category"},XObsOtatus:{location:"urlPath",sentAs:"x-workflow-status"},XObsPrefix:{location:"urlPath",sentAs:"x-workflow-prefix"}}},GetPublicationTemplatesOutput:{data:{type:"body"},parameters:{PublishedTemplates:{location:"body"}}},GetPublicationTemplateDetail:{httpMethod:"GET",parameters:{ApiPath:{location:"uri"},OtherParameter:{location:"uri",sentAs:"template_name"}}},GetPublicationTemplateDetailOutput:{data:{type:"body"},parameters:{PublishTemplate:{location:"body"}}},GetWorkflowAgreements:{httpMethod:"GET",parameters:{ApiPath:{location:"uri"},XWorkflowType:{required:!0,location:"urlPath",sentAs:"x-workflow-type"}}},GetWorkflowAgreementsOutput:{data:{type:"body"},parameters:{authorization:{location:"body"}}},OpenWorkflowAgreements:{httpMethod:"POST",parameters:{ApiPath:{location:"uri"},XWorkflowType:{required:!0,location:"urlPath",sentAs:"x-workflow-type"}}},CreateMyActionTemplate:{httpMethod:"POST",parameters:{ApiPath:{location:"uri"},OtherParameter:{location:"uri",sentAs:"template_name"},ActionTemplate:{required:!0,location:"body"}}},CreateMyActionTemplateOutput:{data:{type:"body"},parameters:{ActionTemplate:{location:"body"}}},GetMyActionTemplates:{httpMethod:"GET",parameters:{ApiPath:{location:"uri"},OtherParameter:{location:"uri",sentAs:"template_name_prefix"},XObsCategory:{location:"urlPath",sentAs:"x-workflow-category"},XObsOtatus:{location:"urlPath",sentAs:"x-workflow-status"},XObsPrefix:{location:"urlPath",sentAs:"x-workflow-prefix"}}},GetMyActionTemplatesOutput:{data:{type:"body"},parameters:{ActionTemplates:{location:"body"}}},GetMyactiontemplateDetail:{httpMethod:"GET",parameters:{ApiPath:{location:"uri"},OtherParameter:{location:"uri",sentAs:"template_name"}}},GetMyactiontemplateDetailOutput:{data:{type:"body"},parameters:{ActionTemplate:{location:"body"}}},UpdateMyActionTemplate:{httpMethod:"PUT",parameters:{ApiPath:{location:"uri"},OtherParameter:{location:"uri",sentAs:"template_name"},ActionTemplate:{required:!0,location:"body"}}},UpdateMyActionTemplateOutput:{data:{type:"body"},parameters:{ActionTemplate:{location:"body"}}},DeleteMyActionTemplate:{httpMethod:"DELETE",parameters:{ApiPath:{location:"uri"},OtherParameter:{location:"uri",sentAs:"template_name"}}},ForbidMyActionTemplate:{httpMethod:"DELETE",parameters:{ApiPath:{location:"uri"},OtherParameter:{location:"uri",sentAs:"template_name"},XObsForbid:{location:"urlPath",sentAs:"x-workflow-forbid"}}},UpdatePublicActionTemplate:{httpMethod:"PUT",parameters:{ApiPath:{location:"uri"},OtherParameter:{location:"uri",sentAs:"template_name"},PublicAction:{required:!0,location:"body"}}},GetOmPublicActionTemplates:{httpMethod:"GET",parameters:{ApiPath:{location:"uri"},OtherParameter:{location:"uri",sentAs:"template_name_prefix"},XObsCategory:{location:"urlPath",sentAs:"x-workflow-category"},XObsOtatus:{location:"urlPath",sentAs:"x-workflow-status"},XObsPrefix:{location:"urlPath",sentAs:"x-workflow-prefix"}}},GetOmPublicActionTemplatesOutput:{data:{type:"body"},parameters:{Templates:{location:"body"}}},SetBucketAlias:{httpMethod:"PUT",urlPath:"obsbucketalias",data:{xmlRoot:"CreateBucketAlias"},parameters:{Bucket:{required:!0,location:"uri"},BucketList:{location:"xml",type:"object",sentAs:"BucketList",parameters:{Bucket:{location:"xml",type:"array",items:{parameters:{sentAs:"Bucket"}}}}}}},GetBucketAlias:{httpMethod:"GET",urlPath:"obsalias",parameters:{Bucket:{required:!0,location:"uri"}}},GetBucketAliasOutput:{data:{type:"xml",xmlRoot:"AliasList"},parameters:{BucketAlias:{location:"xml",type:"object",sentAs:"BucketAlias",parameters:{Alias:{sentAs:"Alias"},BucketList:{sentAs:"Bucket",location:"xml",type:"array",wrapper:"BucketList",items:{type:"string"}}}}}},DeleteBucketAlias:{httpMethod:"DELETE",urlPath:"obsbucketalias",parameters:{Bucket:{required:!0,location:"uri"}}},BindBucketAlias:{httpMethod:"PUT",urlPath:"obsalias",data:{xmlRoot:"AliasList"},parameters:{Bucket:{required:!0,location:"uri"},Alias:{location:"xml",type:"string",sentAs:"Alias"}}},BindBucketAliasOutput:{data:{xmlRoot:"AliasList"},parameters:{Bucket:{required:!0,location:"uri"},Alias:{location:"xml",type:"string",sentAs:"Alias"}}},UnbindBucketAlias:{httpMethod:"DELETE",urlPath:"obsalias",parameters:{Bucket:{required:!0,location:"uri"}}},ListBucketsAlias:{httpMethod:"GET",urlPath:"obsbucketalias"},ListBucketsAliasOutput:{data:{type:"xml",xmlRoot:"ListBucketAliasResult"},parameters:{BucketAliasList:{location:"xml",sentAs:"BucketAliasList",type:"object",parameters:{BucketAlias:{location:"xml",type:"array",sentAs:"BucketAlias",items:{type:"object",parameters:{Alias:{sentAs:"Alias"},CreationDate:{sentAs:"CreationDate"},BucketList:{location:"xml",type:"object",sentAs:"BucketList",parameters:{Bucket:{location:"xml",type:"array",items:{parameters:{sentAs:"Bucket"}}}}}}}}}},Owner:{location:"xml",sentAs:"Owner",type:"object",parameters:{ID:{sentAs:"ID"}}}}}},ke={type:"object",location:"xml",sentAs:"Owner",parameters:{ID:{sentAs:"ID"},Name:{sentAs:"DisplayName"}}},Ee={type:"object",location:"xml",sentAs:"Rule",parameters:{ApplyServerSideEncryptionByDefault:{type:"object",sentAs:"ApplyServerSideEncryptionByDefault",parameters:{SSEAlgorithm:{sentAs:"SSEAlgorithm"},KMSMasterKeyID:{sentAs:"KMSMasterKeyID"},ProjectID:{sentAs:"ProjectID"}}}}},Se={type:"object",location:"xml",sentAs:"InventoryConfiguration",parameters:{Id:{sentAs:"Id"},IsEnabled:{sentAs:"IsEnabled"},Filter:{type:"object",sentAs:"Filter",parameters:{Prefix:{sentAs:"Prefix"}}},Destination:{type:"object",sentAs:"Destination",parameters:{Format:{sentAs:"Format"},Bucket:{sentAs:"Bucket"},Prefix:{sentAs:"Prefix"},Encryption:{type:"object",sentAs:"Encryption",parameters:{"SSE-KMS":{type:"object",sentAs:"SSE-KMS",parameters:{KeyId:{sentAs:"KeyId",type:"adapter"}}}}}}},Schedule:{type:"object",sentAs:"Schedule",parameters:{Frequency:{sentAs:"Frequency"}}},IncludedObjectVersions:{sentAs:"IncludedObjectVersions"},OptionalFields:{type:"object",location:"xml",sentAs:"OptionalFields",parameters:{Field:{type:"array",sentAs:"Field",items:{type:"string"}}}}}},Te={type:"object",location:"xml",sentAs:"Initiator",parameters:{ID:{sentAs:"ID"},Name:{sentAs:"DisplayName"}}},Ce={sentAs:"BackToSourceRule",required:!0,location:"xml",type:"array",items:{type:"object",parameters:{ID:{sentAs:"ID"},Condition:{sentAs:"Condition",type:"object",parameters:{ObjectKeyPrefixEquals:{sentAs:"ObjectKeyPrefixEquals"},HttpErrorCodeReturnedEquals:{sentAs:"HttpErrorCodeReturnedEquals"}}},Redirect:{sentAs:"Redirect",type:"object",parameters:{HttpRedirectCode:{sentAs:"HttpRedirectCode"},SourceEndpoint:{sentAs:"SourceEndpoint"},SourceBucketName:{sentAs:"SourceBucketName"},ReplaceKeyWith:{sentAs:"ReplaceKeyWith"},StaticUri:{sentAs:"StaticUri"},ReplaceKeyPrefixWith:{sentAs:"ReplaceKeyPrefixWith"},MigrationConfiguration:{sentAs:"MigrationConfiguration",type:"object",parameters:{Agency:{sentAs:"Agency"},LogBucketName:{sentAs:"LogBucketName"},PrivateBucketConfiguration:{sentAs:"PrivateBucketConfiguration",type:"object",parameters:{SourceStorageProvider:{sentAs:"SourceStorageProvider"},SourceBucketAK:{sentAs:"SourceBucketAK"},SourceBucketSK:{sentAs:"SourceBucketSK"},SourceBucketZone:{sentAs:"SourceBucketZone"}}}}}}}}}},Pe={type:"array",location:"xml",sentAs:"CommonPrefixes",items:{type:"object",parameters:{Prefix:{decode:!0,sentAs:"Prefix"},MTime:{sentAs:"MTime"},InodeNo:{sentAs:"InodeNo"}}}},Oe={type:"array",location:"xml",wrapper:"AccessControlList",sentAs:"Grant",items:{type:"object",parameters:{Grantee:{data:{xsiNamespace:"http://www.w3.org/2001/XMLSchema-instance",xsiType:"Type"},type:"object",sentAs:"Grantee",parameters:{Type:{type:"ignore"},ID:{sentAs:"ID",notAllowEmpty:!0},Name:{sentAs:"DisplayName"},URI:{sentAs:"URI",type:"adapter",notAllowEmpty:!0}}},Permission:{sentAs:"Permission"}}}},Le={type:"object",location:"xml",sentAs:"LoggingEnabled",parameters:{TargetBucket:{sentAs:"TargetBucket"},TargetPrefix:{sentAs:"TargetPrefix"},TargetGrants:{type:"array",wrapper:"TargetGrants",sentAs:"Grant",items:{type:"object",parameters:{Grantee:{data:{xsiNamespace:"http://www.w3.org/2001/XMLSchema-instance",xsiType:"Type"},type:"object",sentAs:"Grantee",parameters:{Type:{type:"ignore"},ID:{sentAs:"ID"},Name:{sentAs:"DisplayName"},URI:{sentAs:"URI",type:"adapter"}}},Permission:{sentAs:"Permission"}}}}}},Me={required:!0,type:"array",location:"xml",sentAs:"Rule",items:{type:"object",parameters:{ID:{sentAs:"ID"},Prefix:{sentAs:"Prefix"},Status:{sentAs:"Status"},Transitions:{type:"array",sentAs:"Transition",items:{type:"object",parameters:{StorageClass:{sentAs:"StorageClass",type:"adapter"},Date:{sentAs:"Date"},Days:{type:"number",sentAs:"Days"}}}},Expiration:{type:"object",sentAs:"Expiration",parameters:{Date:{sentAs:"Date"},Days:{type:"number",sentAs:"Days"}}},AbortIncompleteMultipartUpload:{type:"object",sentAs:"AbortIncompleteMultipartUpload",parameters:{DaysAfterInitiation:{type:"number",sentAs:"DaysAfterInitiation"}}},NoncurrentVersionTransitions:{type:"array",sentAs:"NoncurrentVersionTransition",items:{type:"object",parameters:{StorageClass:{sentAs:"StorageClass",type:"adapter"},NoncurrentDays:{type:"number",sentAs:"NoncurrentDays"}}}},NoncurrentVersionExpiration:{type:"object",sentAs:"NoncurrentVersionExpiration",parameters:{NoncurrentDays:{type:"number",sentAs:"NoncurrentDays"}}}}}},Re={type:"object",location:"xml",sentAs:"RedirectAllRequestsTo",parameters:{HostName:{sentAs:"HostName"},Protocol:{sentAs:"Protocol"}}},Ie={type:"array",wrapper:"RoutingRules",location:"xml",sentAs:"RoutingRule",items:{type:"object",parameters:{Condition:{type:"object",sentAs:"Condition",parameters:{HttpErrorCodeReturnedEquals:{sentAs:"HttpErrorCodeReturnedEquals"},KeyPrefixEquals:{sentAs:"KeyPrefixEquals"}}},Redirect:{type:"object",sentAs:"Redirect",parameters:{HostName:{sentAs:"HostName"},HttpRedirectCode:{sentAs:"HttpRedirectCode"},Protocol:{sentAs:"Protocol"},ReplaceKeyPrefixWith:{sentAs:"ReplaceKeyPrefixWith"},ReplaceKeyWith:{sentAs:"ReplaceKeyWith"}}}}}},je={type:"object",location:"xml",sentAs:"IndexDocument",parameters:{Suffix:{sentAs:"Suffix"}}},De={type:"object",location:"xml",sentAs:"ErrorDocument",parameters:{Key:{sentAs:"Key"}}},Be={required:!0,type:"array",location:"xml",sentAs:"CORSRule",items:{type:"object",parameters:{ID:{sentAs:"ID"},AllowedMethod:{type:"array",sentAs:"AllowedMethod",items:{type:"string"}},AllowedOrigin:{type:"array",sentAs:"AllowedOrigin",items:{type:"string"}},AllowedHeader:{type:"array",sentAs:"AllowedHeader",items:{type:"string"}},MaxAgeSeconds:{type:"number",sentAs:"MaxAgeSeconds"},ExposeHeader:{type:"array",sentAs:"ExposeHeader",items:{type:"string"}}}}},Ne={type:"array",location:"xml",sentAs:"FunctionGraphConfiguration",items:{type:"object",location:"xml",parameters:{ID:{sentAs:"Id"},Filter:{type:"object",parameters:{FilterRules:{wrapper:"S3Key",type:"array",sentAs:"FilterRule",items:{type:"object",parameters:{Name:{},Value:{}}}}}},FunctionGraph:{},Event:{type:"array",items:{type:"adapter"}}}}},Ue={type:"array",location:"xml",sentAs:"FunctionStageConfiguration",items:{type:"object",location:"xml",parameters:{ID:{sentAs:"Id"},Filter:{type:"object",parameters:{FilterRules:{wrapper:"S3Key",type:"array",sentAs:"FilterRule",items:{type:"object",parameters:{Name:{},Value:{}}}}}},FunctionStage:{},Event:{type:"array",items:{type:"adapter"}}}}},$e={type:"array",location:"xml",sentAs:"TopicConfiguration",items:{type:"object",location:"xml",parameters:{ID:{sentAs:"Id"},Filter:{type:"object",parameters:{FilterRules:{wrapper:"S3Key",type:"array",sentAs:"FilterRule",items:{type:"object",parameters:{Name:{},Value:{}}}}}},Topic:{},Event:{type:"array",items:{type:"adapter"}}}}},Fe={required:!0,type:"array",location:"xml",wrapper:"TagSet",sentAs:"Tag",items:{type:"object",parameters:{Key:{sentAs:"Key"},Value:{sentAs:"Value"}}}},Ge={required:!0,type:"array",location:"xml",sentAs:"Rule",items:{type:"object",parameters:{ID:{sentAs:"ID"},Prefix:{sentAs:"Prefix"},Status:{sentAs:"Status"},Destination:{type:"object",sentAs:"Destination",parameters:{Bucket:{sentAs:"Bucket",type:"adapter"},StorageClass:{sentAs:"StorageClass",type:"adapter"},DeleteData:{sentAs:"DeleteData",type:"string"}}},HistoricalObjectReplication:{sentAs:"HistoricalObjectReplication"}}}},qe={HeadBucket:{httpMethod:"HEAD",parameters:{Bucket:{required:!0,location:"uri"}}},HeadApiVersion:{httpMethod:"HEAD",urlPath:"apiversion",parameters:{Bucket:{location:"uri"}}},HeadApiVersionOutput:{parameters:{ApiVersion:{location:"header",sentAs:"x-obs-api"}}},CreateBucket:{httpMethod:"PUT",data:{xmlRoot:"CreateBucketConfiguration"},parameters:{Bucket:{required:!0,location:"uri"},ACL:{location:"header",sentAs:"acl",withPrefix:!0},StorageType:{location:"header",sentAs:"x-default-storage-class"},FileInterface:{location:"header",sentAs:"fs-file-interface",withPrefix:!0},Type:{location:"header",sentAs:"bucket-type",withPrefix:!0},MultiAz:{location:"header",sentAs:"x-obs-az-redundancy"},Cluster:{location:"header",sentAs:"location-clustergroup-id",withPrefix:!0},GrantFullControl:{location:"header",sentAs:"grant-full-control",withPrefix:!0},GrantRead:{location:"header",sentAs:"grant-read",withPrefix:!0},GrantReadACP:{location:"header",sentAs:"grant-read-acp",withPrefix:!0},GrantWrite:{location:"header",sentAs:"grant-write",withPrefix:!0},GrantWriteACP:{location:"header",sentAs:"grant-write-acp",withPrefix:!0},ClusterType:{location:"header",sentAs:"cluster-type",withPrefix:!0},MultiEnterprise:{location:"header",sentAs:"epid",withPrefix:!0},Location:{location:"xml",sentAs:"LocationConstraint"}}},GetBucketMetadata:{httpMethod:"HEAD",parameters:{Bucket:{required:!0,location:"uri"},Origin:{location:"header",sentAs:"Origin"},RequestHeader:{location:"header",sentAs:"Access-Control-Request-Headers"}}},GetBucketMetadataOutput:{parameters:{StorageClass:{location:"header",sentAs:"x-default-storage-class"},ObsVersion:{location:"header",sentAs:"x-obs-version"},Location:{location:"header",sentAs:"bucket-region",withPrefix:!0},FileInterface:{location:"header",sentAs:"fs-file-interface",withPrefix:!0},Type:{location:"header",sentAs:"bucket-type",withPrefix:!0},MultiAz:{location:"header",sentAs:"x-obs-az-redundancy"},MultiEnterprise:{location:"header",sentAs:"epid",withPrefix:!0},ClusterType:{location:"header",sentAs:"cluster-type",withPrefix:!0},Cluster:{location:"header",sentAs:"location-clustergroup-id",withPrefix:!0},AllowOrigin:{location:"header",sentAs:"access-control-allow-origin"},MaxAgeSeconds:{location:"header",sentAs:"access-control-max-age"},ExposeHeader:{location:"header",sentAs:"access-control-expose-headers"},AllowMethod:{location:"header",sentAs:"access-control-allow-methods"},AllowHeader:{location:"header",sentAs:"access-control-allow-headers"}}},DeleteBucket:{httpMethod:"DELETE",parameters:{Bucket:{required:!0,location:"uri"}}},ListBuckets:{httpMethod:"GET",parameters:{Type:{sentAs:"x-obs-bucket-type",location:"header"},Location:{sentAs:"location",location:"header",withPrefix:!0}}},ListBucketsOutput:{data:{type:"xml",xmlRoot:"ListAllMyBucketsResult"},parameters:{Buckets:{location:"xml",sentAs:"Bucket",type:"array",wrapper:"Buckets",items:{type:"object",location:"xml",sentAs:"Bucket",parameters:{Name:{sentAs:"Name"},CreationDate:{sentAs:"CreationDate"},Location:{sentAs:"Location"},ClusterType:{sentAs:"ClusterType"}}}},Owner:{type:"object",location:"xml",sentAs:"Owner",parameters:{ID:{sentAs:"ID"},DisplayName:{sentAs:"DisplayName"}}}}},ListObjects:{httpMethod:"GET",parameters:{Bucket:{required:!0,location:"uri"},Prefix:{location:"urlPath",sentAs:"prefix"},Marker:{location:"urlPath",sentAs:"marker"},MaxKeys:{type:"number",location:"urlPath",sentAs:"max-keys"},Delimiter:{location:"urlPath",sentAs:"delimiter"},EncodingType:{location:"urlPath",sentAs:"encoding-type"}}},ListObjectsOutput:{data:{type:"xml",xmlRoot:"ListBucketResult"},parameters:{Location:{location:"header",sentAs:"bucket-region",withPrefix:!0},Bucket:{location:"xml",sentAs:"Name"},Delimiter:{decode:!0,location:"xml",sentAs:"Delimiter"},IsTruncated:{location:"xml",sentAs:"IsTruncated"},Prefix:{decode:!0,location:"xml",sentAs:"Prefix"},Marker:{decode:!0,location:"xml",sentAs:"Marker"},NextMarker:{decode:!0,location:"xml",sentAs:"NextMarker"},MaxKeys:{location:"xml",sentAs:"MaxKeys"},EncodingType:{location:"xml",sentAs:"EncodingType"},Contents:{type:"array",location:"xml",sentAs:"Contents",items:{type:"object",parameters:{Key:{decode:!0,sentAs:"Key"},LastModified:{sentAs:"LastModified"},ETag:{sentAs:"ETag"},Size:{sentAs:"Size"},Type:{sentAs:"Type"},StorageClass:{sentAs:"StorageClass"},Owner:ke}}},CommonPrefixes:Pe}},ListVersions:{httpMethod:"GET",urlPath:"versions",parameters:{Bucket:{required:!0,location:"uri"},Prefix:{location:"urlPath",sentAs:"prefix"},KeyMarker:{location:"urlPath",sentAs:"key-marker"},MaxKeys:{type:"number",location:"urlPath",sentAs:"max-keys"},Delimiter:{location:"urlPath",sentAs:"delimiter"},VersionIdMarker:{location:"urlPath",sentAs:"version-id-marker"},EncodingType:{location:"urlPath",sentAs:"encoding-type"}}},ListVersionsOutput:{data:{type:"xml",xmlRoot:"ListVersionsResult"},parameters:{EncodingType:{location:"xml",sentAs:"EncodingType"},Location:{location:"header",sentAs:"bucket-region",withPrefix:!0},Bucket:{location:"xml",sentAs:"Name"},Prefix:{decode:!0,location:"xml",sentAs:"Prefix"},Delimiter:{decode:!0,location:"xml",sentAs:"Delimiter"},KeyMarker:{decode:!0,location:"xml",sentAs:"KeyMarker"},VersionIdMarker:{location:"xml",sentAs:"VersionIdMarker"},NextKeyMarker:{decode:!0,location:"xml",sentAs:"NextKeyMarker"},NextVersionIdMarker:{location:"xml",sentAs:"NextVersionIdMarker"},MaxKeys:{location:"xml",sentAs:"MaxKeys"},IsTruncated:{location:"xml",sentAs:"IsTruncated"},Versions:{type:"array",location:"xml",sentAs:"Version",items:{type:"object",parameters:{Key:{decode:!0,sentAs:"Key"},VersionId:{sentAs:"VersionId"},IsLatest:{sentAs:"IsLatest"},LastModified:{sentAs:"LastModified"},ETag:{sentAs:"ETag"},Size:{sentAs:"Size"},Type:{sentAs:"Type"},Owner:ke,StorageClass:{sentAs:"StorageClass"}}}},DeleteMarkers:{type:"array",location:"xml",sentAs:"DeleteMarker",items:{type:"object",parameters:{Key:{decode:!0,sentAs:"Key"},VersionId:{sentAs:"VersionId"},IsLatest:{sentAs:"IsLatest"},LastModified:{sentAs:"LastModified"},Owner:ke}}},CommonPrefixes:Pe}},PutBackToSource:{httpMethod:"PUT",data:{xmlRoot:"BackToSourceConfiguration"},urlPath:"backtosource",parameters:{Bucket:{required:!0,location:"uri"},BackToSourceRules:Ce,ContentMD5:{location:"header",sentAs:"Content-MD5"}}},DeleteBackToSource:{httpMethod:"DELETE",urlPath:"backtosource",parameters:{Bucket:{required:!0,location:"uri"}}},GetBackToSource:{httpMethod:"GET",urlPath:"backtosource",parameters:{Bucket:{required:!0,location:"uri"}}},GetBackToSourceOutput:{data:{type:"xml",xmlRoot:"BackToSourceConfiguration"},parameters:{BackToSourceRules:Ce}},GetBucketLocation:{httpMethod:"GET",urlPath:"location",parameters:{Bucket:{required:!0,location:"uri"}}},GetBucketLocationOutput:{data:{type:"xml",xmlRoot:"CreateBucketConfiguration"},parameters:{Location:{location:"xml",sentAs:"LocationConstraint"}}},GetBucketStorageInfo:{httpMethod:"GET",urlPath:"storageinfo",parameters:{Bucket:{required:!0,location:"uri"}}},GetBucketStorageInfoOutput:{data:{type:"xml",xmlRoot:"GetBucketStorageInfoResult"},parameters:{Size:{location:"xml",sentAs:"Size"},ObjectNumber:{location:"xml",sentAs:"ObjectNumber"}}},SetBucketQuota:{httpMethod:"PUT",urlPath:"quota",data:{xmlRoot:"Quota"},parameters:{Bucket:{required:!0,location:"uri"},StorageQuota:{required:!0,location:"xml",sentAs:"StorageQuota"}}},GetBucketQuota:{httpMethod:"GET",urlPath:"quota",parameters:{Bucket:{required:!0,location:"uri"}}},GetBucketQuotaOutput:{data:{type:"xml",xmlRoot:"Quota"},parameters:{StorageQuota:{location:"xml",sentAs:"StorageQuota"}}},SetBucketAcl:{httpMethod:"PUT",urlPath:"acl",data:{xmlRoot:"AccessControlPolicy"},parameters:{Bucket:{required:!0,location:"uri"},ACL:{location:"header",sentAs:"acl",withPrefix:!0,type:"adapter"},Owner:ke,Grants:Oe}},GetBucketAcl:{httpMethod:"GET",urlPath:"acl",parameters:{Bucket:{required:!0,location:"uri"}}},GetBucketAclOutput:{data:{type:"xml",xmlRoot:"AccessControlPolicy"},parameters:{Owner:ke,Grants:Oe}},SetBucketLoggingConfiguration:{httpMethod:"PUT",urlPath:"logging",data:{xmlRoot:"BucketLoggingStatus",xmlAllowEmpty:!0},parameters:{Bucket:{required:!0,location:"uri"},LoggingEnabled:Le}},GetBucketLoggingConfiguration:{httpMethod:"GET",urlPath:"logging",parameters:{Bucket:{required:!0,location:"uri"}}},GetBucketLoggingConfigurationOutput:{data:{type:"xml",xmlRoot:"BucketLoggingStatus"},parameters:{LoggingEnabled:Le}},SetBucketPolicy:{httpMethod:"PUT",urlPath:"policy",parameters:{Bucket:{required:!0,location:"uri"},Policy:{required:!0,location:"body"}}},SetSFSAcl:{httpMethod:"PUT",urlPath:"sfsacl",parameters:{Bucket:{required:!0,location:"uri"},Policy:{required:!0,location:"body"}}},GetSFSAcl:{httpMethod:"GET",urlPath:"sfsacl",parameters:{Bucket:{required:!0,location:"uri"}}},GetSFSAclOutput:{data:{type:"body"},parameters:{Policy:{location:"body"}}},DeleteSFSAcl:{httpMethod:"DELETE",urlPath:"sfsacl",parameters:{Bucket:{required:!0,location:"uri"}}},GetBucketPolicy:{httpMethod:"GET",urlPath:"policy",parameters:{Bucket:{required:!0,location:"uri"}}},GetBucketPolicyOutput:{data:{type:"body"},parameters:{Policy:{location:"body"}}},DeleteBucketPolicy:{httpMethod:"DELETE",urlPath:"policy",parameters:{Bucket:{required:!0,location:"uri"}}},SetBucketDisPolicy:{httpMethod:"PUT",urlPath:"disPolicy",parameters:{Bucket:{required:!0,location:"uri"},ApiPath:{location:"uri"},Rules:{required:!0,location:"body"}}},GetBucketDisPolicy:{httpMethod:"GET",urlPath:"disPolicy",parameters:{Bucket:{required:!0,location:"uri"},ApiPath:{location:"uri"},ContentType:{location:"header",sentAs:"Content-Type"}}},GetBucketDisPolicyOutput:{data:{type:"body"},parameters:{Rules:{location:"body"}}},DeleteBucketDisPolicy:{httpMethod:"DELETE",urlPath:"disPolicy",parameters:{Bucket:{required:!0,location:"uri"},ApiPath:{location:"uri"}}},SetBucketLifecycleConfiguration:{httpMethod:"PUT",urlPath:"lifecycle",data:{xmlRoot:"LifecycleConfiguration",md5:!0},parameters:{Bucket:{required:!0,location:"uri"},Rules:Me}},GetBucketLifecycleConfiguration:{httpMethod:"GET",urlPath:"lifecycle",parameters:{Bucket:{required:!0,location:"uri"}}},GetBucketLifecycleConfigurationOutput:{data:{type:"xml",xmlRoot:"LifecycleConfiguration"},parameters:{Rules:Me}},DeleteBucketLifecycleConfiguration:{httpMethod:"DELETE",urlPath:"lifecycle",parameters:{Bucket:{required:!0,location:"uri"}}},SetBucketWebsiteConfiguration:{httpMethod:"PUT",urlPath:"website",data:{xmlRoot:"WebsiteConfiguration"},parameters:{Bucket:{required:!0,location:"uri"},RedirectAllRequestsTo:Re,IndexDocument:je,ErrorDocument:De,RoutingRules:Ie}},GetBucketWebsiteConfiguration:{httpMethod:"GET",urlPath:"website",parameters:{Bucket:{required:!0,location:"uri"}}},GetBucketWebsiteConfigurationOutput:{data:{type:"xml",xmlRoot:"WebsiteConfiguration"},parameters:{RedirectAllRequestsTo:Re,IndexDocument:je,ErrorDocument:De,RoutingRules:Ie}},DeleteBucketWebsiteConfiguration:{httpMethod:"DELETE",urlPath:"website",parameters:{Bucket:{required:!0,location:"uri"}}},SetBucketVersioningConfiguration:{httpMethod:"PUT",urlPath:"versioning",data:{xmlRoot:"VersioningConfiguration"},parameters:{Bucket:{required:!0,location:"uri"},VersionStatus:{required:!0,location:"xml",sentAs:"Status"}}},GetBucketVersioningConfiguration:{httpMethod:"GET",urlPath:"versioning",parameters:{Bucket:{required:!0,location:"uri"}}},GetBucketVersioningConfigurationOutput:{data:{type:"xml",xmlRoot:"VersioningConfiguration"},parameters:{VersionStatus:{location:"xml",sentAs:"Status"}}},SetBucketCors:{httpMethod:"PUT",urlPath:"cors",data:{xmlRoot:"CORSConfiguration",md5:!0},parameters:{Bucket:{required:!0,location:"uri"},CorsRules:Be}},GetBucketCors:{httpMethod:"GET",urlPath:"cors",parameters:{Bucket:{required:!0,location:"uri"}}},GetBucketCorsOutput:{data:{type:"xml",xmlRoot:"CORSConfiguration"},parameters:{CorsRules:Be}},DeleteBucketCors:{httpMethod:"DELETE",urlPath:"cors",parameters:{Bucket:{required:!0,location:"uri"}}},SetBucketNotification:{httpMethod:"PUT",urlPath:"notification",data:{xmlRoot:"NotificationConfiguration",xmlAllowEmpty:!0},parameters:{Bucket:{required:!0,location:"uri"},TopicConfigurations:$e,FunctionGraphConfigurations:Ne,FunctionStageConfigurations:Ue}},GetBucketNotification:{httpMethod:"GET",urlPath:"notification",parameters:{Bucket:{required:!0,location:"uri"}}},GetBucketNotificationOutput:{data:{type:"xml",xmlRoot:"NotificationConfiguration"},parameters:{TopicConfigurations:$e,FunctionGraphConfigurations:Ne,FunctionStageConfigurations:Ue}},SetBucketTagging:{httpMethod:"PUT",urlPath:"tagging",data:{xmlRoot:"Tagging",md5:!0},parameters:{Bucket:{required:!0,location:"uri"},Tags:Fe}},DeleteBucketTagging:{httpMethod:"DELETE",urlPath:"tagging",parameters:{Bucket:{required:!0,location:"uri"}}},GetBucketTagging:{httpMethod:"GET",urlPath:"tagging",parameters:{Bucket:{required:!0,location:"uri"}}},GetBucketTaggingOutput:{data:{type:"xml",xmlRoot:"Tagging"},parameters:{Tags:Fe}},SetBucketStoragePolicy:{httpMethod:"PUT",urlPath:"storagePolicy",data:{xmlRoot:"StoragePolicy"},parameters:{Bucket:{required:!0,location:"uri"},StorageClass:{required:!0,location:"xml",type:"adapter",sentAs:"DefaultStorageClass"}}},GetBucketStoragePolicy:{httpMethod:"GET",urlPath:"storagePolicy",parameters:{Bucket:{required:!0,location:"uri"}}},GetBucketStoragePolicyOutput:{data:{type:"xml",xmlRoot:"StoragePolicy"},parameters:{StorageClass:{location:"xml",type:"string",sentAs:"DefaultStorageClass"}}},SetBucketReplication:{httpMethod:"PUT",urlPath:"replication",data:{xmlRoot:"ReplicationConfiguration",md5:!0},parameters:{Bucket:{required:!0,location:"uri"},Agency:{location:"xml",sentAs:"Agency"},Rules:Ge}},GetBucketReplication:{httpMethod:"GET",urlPath:"replication",parameters:{Bucket:{required:!0,location:"uri"}}},GetBucketReplicationOutput:{data:{type:"xml",xmlRoot:"ReplicationConfiguration"},parameters:{Agency:{location:"xml",sentAs:"Agency"},Rules:Ge}},DeleteBucketReplication:{httpMethod:"DELETE",urlPath:"replication",parameters:{Bucket:{required:!0,location:"uri"}}},PutObject:{httpMethod:"PUT",parameters:{Bucket:{required:!0,location:"uri"},Key:{required:!0,location:"uri"},ContentMD5:{location:"header",sentAs:"Content-MD5"},ContentType:{location:"header",sentAs:"Content-Type"},Offset:{type:"plain"},ContentLength:{location:"header",sentAs:"Content-Length",type:"plain"},ACL:{location:"header",sentAs:"acl",withPrefix:!0,type:"adapter"},GrantRead:{location:"header",sentAs:"grant-read",withPrefix:!0},GrantReadAcp:{location:"header",sentAs:"grant-read-acp",withPrefix:!0},GrantWriteAcp:{location:"header",sentAs:"grant-write-acp",withPrefix:!0},GrantFullControl:{location:"header",sentAs:"grant-full-control",withPrefix:!0},StorageClass:{location:"header",sentAs:"storage-class",withPrefix:!0,type:"adapter"},Metadata:{type:"object",location:"header",sentAs:"meta-",withPrefix:!0},CacheControl:{location:"header",sentAs:"Cache-Control"},ContentDisposition:{location:"header",sentAs:"Content-Disposition",encodingSafe:' ;/?:@&=+$,"'},ContentLanguage:{location:"header",sentAs:"Content-Language"},ContentEncoding:{location:"header",sentAs:"Content-Encoding"},WebsiteRedirectLocation:{location:"header",sentAs:"website-redirect-location",withPrefix:!0},Expires:{location:"header",sentAs:"x-obs-expires",type:"number"},SseKms:{location:"header",sentAs:"server-side-encryption",withPrefix:!0,type:"adapter"},SseKmsKey:{location:"header",sentAs:"server-side-encryption-aws-kms-key-id",withPrefix:!0},SseKmsProjectId:{location:"header",sentAs:"sse-kms-key-project-id",withPrefix:!0},SseC:{location:"header",sentAs:"server-side-encryption-customer-algorithm",withPrefix:!0},SseCKey:{location:"header",sentAs:"server-side-encryption-customer-key",type:"password",withPrefix:!0},Body:{location:"body"},SourceFile:{type:"srcFile"},ProgressCallback:{type:"plain"}}},PutObjectOutput:{parameters:{ETag:{location:"header",sentAs:"etag"},VersionId:{location:"header",sentAs:"version-id",withPrefix:!0},StorageClass:{location:"header",sentAs:"storage-class",withPrefix:!0},SseKms:{location:"header",sentAs:"server-side-encryption",withPrefix:!0},SseKmsKey:{location:"header",sentAs:"server-side-encryption-aws-kms-key-id",withPrefix:!0},SseKmsProjectId:{location:"header",sentAs:"sse-kms-key-project-id",withPrefix:!0},SseC:{location:"header",sentAs:"server-side-encryption-customer-algorithm",withPrefix:!0},SseCKeyMd5:{location:"header",sentAs:"server-side-encryption-customer-key-MD5",withPrefix:!0}}},AppendObject:{httpMethod:"POST",urlPath:"append",parameters:{Bucket:{required:!0,location:"uri"},Key:{required:!0,location:"uri"},Position:{location:"urlPath",sentAs:"position",type:"number"},ContentMD5:{location:"header",sentAs:"Content-MD5"},Offset:{type:"plain"},ContentType:{location:"header",sentAs:"Content-Type"},ContentLength:{location:"header",sentAs:"Content-Length",type:"plain"},ACL:{location:"header",sentAs:"acl",withPrefix:!0,type:"adapter"},GrantRead:{location:"header",sentAs:"grant-read",withPrefix:!0},GrantReadAcp:{location:"header",sentAs:"grant-read-acp",withPrefix:!0},GrantWriteAcp:{location:"header",sentAs:"grant-write-acp",withPrefix:!0},GrantFullControl:{location:"header",sentAs:"grant-full-control",withPrefix:!0},StorageClass:{location:"header",sentAs:"storage-class",withPrefix:!0,type:"adapter"},Metadata:{type:"object",location:"header",sentAs:"meta-",withPrefix:!0},WebsiteRedirectLocation:{location:"header",sentAs:"website-redirect-location",withPrefix:!0},Expires:{location:"header",sentAs:"x-obs-expires",type:"number"},SseKms:{location:"header",sentAs:"server-side-encryption",withPrefix:!0,type:"adapter"},SseKmsKey:{location:"header",sentAs:"server-side-encryption-kms-key-id",withPrefix:!0},SseC:{location:"header",sentAs:"server-side-encryption-customer-algorithm",withPrefix:!0},SseCKey:{location:"header",sentAs:"server-side-encryption-customer-key",type:"password",withPrefix:!0},Body:{location:"body"},SourceFile:{type:"srcFile"},ProgressCallback:{type:"plain"}}},AppendObjectOutput:{parameters:{ETag:{location:"header",sentAs:"etag"},NextPosition:{location:"header",sentAs:"x-obs-next-append-position"},StorageClass:{location:"header",sentAs:"storage-class",withPrefix:!0},SseKms:{location:"header",sentAs:"server-side-encryption",withPrefix:!0},SseKmsKey:{location:"header",sentAs:"server-side-encryption-kms-key-id",withPrefix:!0},SseC:{location:"header",sentAs:"server-side-encryption-customer-algorithm",withPrefix:!0},SseCKeyMd5:{location:"header",sentAs:"server-side-encryption-customer-key-MD5",withPrefix:!0}}},GetObject:{httpMethod:"GET",parameters:{Bucket:{required:!0,location:"uri"},Key:{required:!0,location:"uri"},ResponseCacheControl:{location:"urlPath",sentAs:"response-cache-control"},ResponseContentDisposition:{location:"urlPath",sentAs:"response-content-disposition"},ResponseContentEncoding:{location:"urlPath",sentAs:"response-content-encoding"},ResponseContentLanguage:{location:"urlPath",sentAs:"response-content-language"},ResponseContentType:{location:"urlPath",sentAs:"response-content-type"},ResponseExpires:{location:"urlPath",sentAs:"response-expires"},VersionId:{location:"urlPath",sentAs:"versionId"},ImageProcess:{location:"urlPath",sentAs:"x-image-process"},IfMatch:{location:"header",sentAs:"If-Match"},IfModifiedSince:{location:"header",sentAs:"If-Modified-Since"},IfNoneMatch:{location:"header",sentAs:"If-None-Match"},IfUnmodifiedSince:{location:"header",sentAs:"If-Unmodified-Since"},Range:{location:"header",sentAs:"Range"},Origin:{location:"header",sentAs:"Origin"},RequestHeader:{location:"header",sentAs:"Access-Control-Request-Headers"},SaveByType:{type:"dstFile"},SseC:{location:"header",sentAs:"server-side-encryption-customer-algorithm",withPrefix:!0},SseCKey:{location:"header",sentAs:"server-side-encryption-customer-key",type:"password",withPrefix:!0},ProgressCallback:{type:"plain"}}},GetObjectOutput:{data:{type:"body"},parameters:{Content:{location:"body"},Expiration:{location:"header",sentAs:"expiration",withPrefix:!0},ETag:{location:"header",sentAs:"etag"},CacheControl:{location:"header",sentAs:"Cache-Control"},ContentDisposition:{location:"header",sentAs:"Content-Disposition"},ContentEncoding:{location:"header",sentAs:"Content-Encoding"},ContentLanguage:{location:"header",sentAs:"Content-Language"},ContentType:{location:"header",sentAs:"Content-Type"},Expires:{location:"header",sentAs:"Expires"},VersionId:{location:"header",sentAs:"version-id",withPrefix:!0},ContentLength:{location:"header",sentAs:"Content-Length"},DeleteMarker:{location:"header",sentAs:"delete-marker",withPrefix:!0},LastModified:{location:"header",sentAs:"Last-Modified"},WebsiteRedirectLocation:{location:"header",sentAs:"website-redirect-location",withPrefix:!0},StorageClass:{location:"header",sentAs:"storage-class",withPrefix:!0},Restore:{location:"header",sentAs:"restore",withPrefix:!0},AllowOrigin:{location:"header",sentAs:"access-control-allow-origin"},MaxAgeSeconds:{location:"header",sentAs:"access-control-max-age"},ExposeHeader:{location:"header",sentAs:"access-control-expose-headers"},AllowMethod:{location:"header",sentAs:"access-control-allow-methods"},AllowHeader:{location:"header",sentAs:"access-control-allow-headers"},SseKms:{location:"header",sentAs:"server-side-encryption",withPrefix:!0},SseKmsKey:{location:"header",sentAs:"server-side-encryption-aws-kms-key-id",withPrefix:!0},SseC:{location:"header",sentAs:"server-side-encryption-customer-algorithm",withPrefix:!0},SseCKeyMd5:{location:"header",sentAs:"server-side-encryption-customer-key-MD5",withPrefix:!0},Metadata:{location:"header",type:"object",sentAs:"meta-",withPrefix:!0}}},CopyObject:{httpMethod:"PUT",parameters:{Bucket:{required:!0,location:"uri"},Key:{required:!0,location:"uri"},ACL:{location:"header",sentAs:"acl",withPrefix:!0,type:"adapter"},GrantRead:{location:"header",sentAs:"grant-read",withPrefix:!0},GrantReadAcp:{location:"header",sentAs:"grant-read-acp",withPrefix:!0},GrantWriteAcp:{location:"header",sentAs:"grant-write-acp",withPrefix:!0},GrantFullControl:{location:"header",sentAs:"grant-full-control",withPrefix:!0},StorageClass:{location:"header",sentAs:"storage-class",withPrefix:!0,type:"adapter"},CopySource:{required:!0,location:"header",sentAs:"copy-source",withPrefix:!0,skipEncoding:!0},CopySourceIfMatch:{location:"header",sentAs:"copy-source-if-match",withPrefix:!0},CopySourceIfModifiedSince:{location:"header",sentAs:"copy-source-if-modified-since",withPrefix:!0},CopySourceIfNoneMatch:{location:"header",sentAs:"copy-source-if-none-match",withPrefix:!0},CopySourceIfUnmodifiedSince:{location:"header",sentAs:"copy-source-if-unmodified-since",withPrefix:!0},ContentType:{location:"header",sentAs:"Content-Type"},ContentEncoding:{location:"header",sentAs:"content-encoding"},ContentLanguage:{location:"header",sentAs:"content-language"},ContentDisposition:{location:"header",sentAs:"content-disposition"},CacheControl:{location:"header",sentAs:"cache-control"},Expires:{location:"header",sentAs:"expires"},Metadata:{type:"object",location:"header",sentAs:"meta-",withPrefix:!0},MetadataDirective:{location:"header",sentAs:"metadata-directive",withPrefix:!0},WebsiteRedirectLocation:{location:"header",sentAs:"website-redirect-location",withPrefix:!0},SseKms:{location:"header",sentAs:"server-side-encryption",withPrefix:!0,type:"adapter"},SseKmsKey:{location:"header",sentAs:"server-side-encryption-aws-kms-key-id",withPrefix:!0},SseC:{location:"header",sentAs:"server-side-encryption-customer-algorithm",withPrefix:!0},SseCKey:{location:"header",sentAs:"server-side-encryption-customer-key",type:"password",withPrefix:!0},CopySourceSseC:{location:"header",sentAs:"copy-source-server-side-encryption-customer-algorithm",withPrefix:!0},CopySourceSseCKey:{location:"header",sentAs:"copy-source-server-side-encryption-customer-key",type:"password",withPrefix:!0}}},CopyObjectOutput:{data:{type:"xml",xmlRoot:"CopyObjectResult"},parameters:{VersionId:{location:"header",sentAs:"version-id",withPrefix:!0},CopySourceVersionId:{location:"header",sentAs:"copy-source-version-id",withPrefix:!0},ETag:{location:"xml",sentAs:"ETag"},LastModified:{location:"xml",sentAs:"LastModified"},SseKms:{location:"header",sentAs:"server-side-encryption",withPrefix:!0},SseKmsKey:{location:"header",sentAs:"server-side-encryption-aws-kms-key-id",withPrefix:!0},SseC:{location:"header",sentAs:"server-side-encryption-customer-algorithm",withPrefix:!0},SseCKeyMd5:{location:"header",sentAs:"server-side-encryption-customer-key-MD5",withPrefix:!0}}},RestoreObject:{httpMethod:"POST",urlPath:"restore",data:{xmlRoot:"RestoreRequest",md5:!0},parameters:{Bucket:{required:!0,location:"uri"},Key:{required:!0,location:"uri"},VersionId:{location:"urlPath",sentAs:"versionId"},Days:{location:"xml",sentAs:"Days"},Tier:{wrapper:"GlacierJobParameters",location:"xml",sentAs:"Tier"}}},GetObjectMetadata:{httpMethod:"HEAD",parameters:{Bucket:{required:!0,location:"uri"},Key:{required:!0,location:"uri"},VersionId:{location:"urlPath",sentAs:"versionId"},Origin:{location:"header",sentAs:"Origin"},RequestHeader:{location:"header",sentAs:"Access-Control-Request-Headers"},SseC:{location:"header",sentAs:"server-side-encryption-customer-algorithm",withPrefix:!0},SseCKey:{location:"header",sentAs:"server-side-encryption-customer-key",type:"password",withPrefix:!0}}},GetObjectMetadataOutput:{parameters:{Expiration:{location:"header",sentAs:"expiration",withPrefix:!0},LastModified:{location:"header",sentAs:"Last-Modified"},ContentLength:{location:"header",sentAs:"Content-Length"},ContentType:{location:"header",sentAs:"Content-Type"},ETag:{location:"header",sentAs:"etag"},VersionId:{location:"header",sentAs:"version-id",withPrefix:!0},WebsiteRedirectLocation:{location:"header",sentAs:"website-redirect-location",withPrefix:!0},StorageClass:{location:"header",sentAs:"storage-class",withPrefix:!0},Restore:{location:"header",sentAs:"restore",withPrefix:!0},ObjectType:{location:"header",sentAs:"x-obs-object-type"},NextPosition:{location:"header",sentAs:"x-obs-next-append-position"},AllowOrigin:{location:"header",sentAs:"access-control-allow-origin"},MaxAgeSeconds:{location:"header",sentAs:"access-control-max-age"},ExposeHeader:{location:"header",sentAs:"access-control-expose-headers"},AllowMethod:{location:"header",sentAs:"access-control-allow-methods"},AllowHeader:{location:"header",sentAs:"access-control-allow-headers"},SseKms:{location:"header",sentAs:"server-side-encryption",withPrefix:!0},SseKmsKey:{location:"header",sentAs:"server-side-encryption-aws-kms-key-id",withPrefix:!0},SseC:{location:"header",sentAs:"server-side-encryption-customer-algorithm",withPrefix:!0},SseCKeyMd5:{location:"header",sentAs:"server-side-encryption-customer-key-MD5",withPrefix:!0},Metadata:{location:"header",type:"object",sentAs:"meta-",withPrefix:!0},ContentLanguage:{location:"header",sentAs:"Content-Language"},ContentEncoding:{location:"header",sentAs:"Content-Encoding"},CacheControl:{location:"header",sentAs:"Cache-Control"},ContentDisposition:{location:"header",sentAs:"Content-Disposition"},Expires:{location:"header",sentAs:"Expires"},ReplicationStatus:{location:"header",sentAs:"replication-status",withPrefix:!0}}},SetObjectMetadata:{httpMethod:"PUT",urlPath:"metadata",parameters:{Bucket:{required:!0,location:"uri"},Key:{required:!0,location:"uri"},VersionId:{location:"urlPath",sentAs:"versionId"},Origin:{location:"header",sentAs:"Origin"},RequestHeader:{location:"header",sentAs:"Access-Control-Request-Headers"},CacheControl:{location:"header",sentAs:"Cache-Control"},ContentDisposition:{location:"header",sentAs:"Content-Disposition",encodingSafe:' ;/?:@&=+$,"'},ContentLanguage:{location:"header",sentAs:"Content-Language"},ContentEncoding:{location:"header",sentAs:"Content-Encoding"},ContentType:{location:"header",sentAs:"Content-Type"},Expires:{location:"header",sentAs:"Expires"},Metadata:{shape:"Sy",location:"header",type:"object",sentAs:"meta-",withPrefix:!0},MetadataDirective:{location:"header",sentAs:"metadata-directive",withPrefix:!0},StorageClass:{location:"header",sentAs:"storage-class",withPrefix:!0},WebsiteRedirectLocation:{location:"header",sentAs:"website-redirect-location",withPrefix:!0}}},SetObjectMetadataOutput:{parameters:{Expires:{location:"header",sentAs:"Expires"},ContentLength:{location:"header",sentAs:"Content-Length"},ContentType:{location:"header",sentAs:"Content-Type"},ContentLanguage:{location:"header",sentAs:"Content-Language"},CacheControl:{location:"header",sentAs:"Cache-Control"},ContentDisposition:{location:"header",sentAs:"Content-Disposition"},WebsiteRedirectLocation:{location:"header",sentAs:"website-redirect-location",withPrefix:!0},StorageClass:{location:"header",sentAs:"storage-class",withPrefix:!0,type:"adapter"},Metadata:{location:"header",type:"object",sentAs:"meta-",withPrefix:!0}}},SetObjectAcl:{httpMethod:"PUT",urlPath:"acl",data:{xmlRoot:"AccessControlPolicy"},parameters:{Bucket:{required:!0,location:"uri"},Key:{required:!0,location:"uri"},VersionId:{location:"urlPath",sentAs:"versionId"},ACL:{location:"header",sentAs:"acl",withPrefix:!0,type:"adapter"},Owner:ke,Grants:Oe}},SetObjectAclOutput:{parameters:{VersionId:{location:"header",sentAs:"version-id",withPrefix:!0}}},GetObjectAcl:{httpMethod:"GET",urlPath:"acl",parameters:{Bucket:{required:!0,location:"uri"},Key:{required:!0,location:"uri"},VersionId:{location:"urlPath",sentAs:"versionId"}}},GetObjectAclOutput:{data:{type:"xml",xmlRoot:"AccessControlPolicy"},parameters:{VersionId:{location:"header",sentAs:"version-id",withPrefix:!0},Owner:ke,Grants:Oe}},DeleteObject:{httpMethod:"DELETE",parameters:{Bucket:{required:!0,location:"uri"},Key:{required:!0,location:"uri"},VersionId:{location:"urlPath",sentAs:"versionId"}}},DeleteObjectOutput:{parameters:{VersionId:{location:"header",sentAs:"version-id",withPrefix:!0},DeleteMarker:{location:"header",sentAs:"delete-marker",withPrefix:!0}}},DeleteObjects:{httpMethod:"POST",urlPath:"delete",data:{xmlRoot:"Delete",md5:!0},parameters:{Bucket:{required:!0,location:"uri"},Quiet:{location:"xml",sentAs:"Quiet"},EncodingType:{location:"xml",sentAs:"EncodingType"},Objects:{required:!0,type:"array",location:"xml",sentAs:"Object",items:{type:"object",parameters:{Key:{sentAs:"Key"},VersionId:{sentAs:"VersionId"}}}}}},DeleteObjectsOutput:{data:{type:"xml",xmlRoot:"DeleteResult"},parameters:{EncodingType:{location:"xml",sentAs:"EncodingType"},Deleteds:{type:"array",location:"xml",sentAs:"Deleted",items:{type:"object",parameters:{Key:{decode:!0,sentAs:"Key"},VersionId:{sentAs:"VersionId"},DeleteMarker:{sentAs:"DeleteMarker"},DeleteMarkerVersionId:{sentAs:"DeleteMarkerVersionId"}}}},Errors:{type:"array",location:"xml",sentAs:"Error",items:{type:"object",parameters:{Key:{decode:!0,sentAs:"Key"},VersionId:{sentAs:"VersionId"},Code:{sentAs:"Code"},Message:{sentAs:"Message"}}}}}},InitiateMultipartUpload:{httpMethod:"POST",urlPath:"uploads",parameters:{EncodingType:{location:"urlPath",sentAs:"encoding-type"},Bucket:{required:!0,location:"uri"},Key:{required:!0,location:"uri"},ACL:{location:"header",sentAs:"acl",withPrefix:!0,type:"adapter"},GrantRead:{location:"header",sentAs:"grant-read",withPrefix:!0},GrantReadAcp:{location:"header",sentAs:"grant-read-acp",withPrefix:!0},GrantWriteAcp:{location:"header",sentAs:"grant-write-acp",withPrefix:!0},GrantFullControl:{location:"header",sentAs:"grant-full-control",withPrefix:!0},StorageClass:{location:"header",sentAs:"storage-class",withPrefix:!0,type:"adapter"},Metadata:{type:"object",location:"header",sentAs:"meta-",withPrefix:!0},WebsiteRedirectLocation:{location:"header",sentAs:"website-redirect-location",withPrefix:!0},Expires:{location:"header",sentAs:"x-obs-expires",type:"number"},ContentType:{location:"header",sentAs:"Content-Type"},SseKms:{location:"header",sentAs:"server-side-encryption",withPrefix:!0,type:"adapter"},SseKmsKey:{location:"header",sentAs:"server-side-encryption-aws-kms-key-id",withPrefix:!0},SseC:{location:"header",sentAs:"server-side-encryption-customer-algorithm",withPrefix:!0},SseCKey:{location:"header",sentAs:"server-side-encryption-customer-key",type:"password",withPrefix:!0}}},InitiateMultipartUploadOutput:{data:{type:"xml",xmlRoot:"InitiateMultipartUploadResult"},parameters:{EncodingType:{location:"xml",sentAs:"EncodingType"},Bucket:{location:"xml",sentAs:"Bucket"},Key:{decode:!0,location:"xml",sentAs:"Key"},UploadId:{location:"xml",sentAs:"UploadId"},SseKms:{location:"header",sentAs:"server-side-encryption",withPrefix:!0},SseKmsKey:{location:"header",sentAs:"server-side-encryption-aws-kms-key-id",withPrefix:!0},SseC:{location:"header",sentAs:"server-side-encryption-customer-algorithm",withPrefix:!0},SseCKeyMd5:{location:"header",sentAs:"server-side-encryption-customer-key-MD5",withPrefix:!0}}},ListMultipartUploads:{httpMethod:"GET",urlPath:"uploads",parameters:{Bucket:{required:!0,location:"uri"},Delimiter:{location:"urlPath",sentAs:"delimiter"},KeyMarker:{location:"urlPath",sentAs:"key-marker"},MaxUploads:{type:"number",location:"urlPath",sentAs:"max-uploads"},Prefix:{location:"urlPath",sentAs:"prefix"},UploadIdMarker:{location:"urlPath",sentAs:"upload-id-marker"},EncodingType:{location:"urlPath",sentAs:"encoding-type"}}},ListMultipartUploadsOutput:{data:{type:"xml",xmlRoot:"ListMultipartUploadsResult"},parameters:{Bucket:{location:"xml",sentAs:"Bucket"},KeyMarker:{decode:!0,location:"xml",sentAs:"KeyMarker"},UploadIdMarker:{location:"xml",sentAs:"UploadIdMarker"},NextKeyMarker:{decode:!0,location:"xml",sentAs:"NextKeyMarker"},Prefix:{decode:!0,location:"xml",sentAs:"Prefix"},Delimiter:{decode:!0,location:"xml",sentAs:"Delimiter"},NextUploadIdMarker:{location:"xml",sentAs:"NextUploadIdMarker"},MaxUploads:{location:"xml",sentAs:"MaxUploads"},IsTruncated:{location:"xml",sentAs:"IsTruncated"},EncodingType:{location:"xml",sentAs:"EncodingType"},Uploads:{type:"array",location:"xml",sentAs:"Upload",items:{type:"object",parameters:{UploadId:{sentAs:"UploadId"},Key:{decode:!0,sentAs:"Key"},Initiated:{sentAs:"Initiated"},StorageClass:{sentAs:"StorageClass"},Owner:ke,Initiator:Te}}},CommonPrefixes:Pe}},UploadPart:{httpMethod:"PUT",parameters:{Bucket:{required:!0,location:"uri"},Key:{required:!0,location:"uri"},PartNumber:{required:!0,type:"number",location:"urlPath",sentAs:"partNumber"},UploadId:{required:!0,location:"urlPath",sentAs:"uploadId"},ContentMD5:{location:"header",sentAs:"Content-MD5"},Body:{location:"body"},SourceFile:{type:"srcFile"},Offset:{type:"plain"},PartSize:{type:"plain"},SseC:{location:"header",sentAs:"server-side-encryption-customer-algorithm",withPrefix:!0},SseCKey:{location:"header",sentAs:"server-side-encryption-customer-key",type:"password",withPrefix:!0},ProgressCallback:{type:"plain"}}},UploadPartOutput:{parameters:{ETag:{location:"header",sentAs:"etag"},SseKms:{location:"header",sentAs:"server-side-encryption",withPrefix:!0},SseKmsKey:{location:"header",sentAs:"server-side-encryption-aws-kms-key-id",withPrefix:!0},SseC:{location:"header",sentAs:"server-side-encryption-customer-algorithm",withPrefix:!0},SseCKeyMd5:{location:"header",sentAs:"server-side-encryption-customer-key-MD5",withPrefix:!0}}},ListParts:{httpMethod:"GET",parameters:{Bucket:{required:!0,location:"uri"},Key:{required:!0,location:"uri"},UploadId:{required:!0,location:"urlPath",sentAs:"uploadId"},MaxParts:{type:"number",location:"urlPath",sentAs:"max-parts"},PartNumberMarker:{type:"number",location:"urlPath",sentAs:"part-number-marker"},EncodingType:{location:"urlPath",sentAs:"encoding-type"}}},ListPartsOutput:{data:{type:"xml",xmlRoot:"ListPartsResult"},parameters:{Bucket:{location:"xml",sentAs:"Bucket"},Key:{decode:!0,location:"xml",sentAs:"Key"},UploadId:{location:"xml",sentAs:"UploadId"},PartNumberMarker:{location:"xml",sentAs:"PartNumberMarker"},NextPartNumberMarker:{location:"xml",sentAs:"NextPartNumberMarker"},MaxParts:{location:"xml",sentAs:"MaxParts"},IsTruncated:{location:"xml",sentAs:"IsTruncated"},StorageClass:{location:"xml",sentAs:"StorageClass"},EncodingType:{location:"urlPath",sentAs:"EncodingType"},Initiator:Te,Owner:ke,Parts:{type:"array",location:"xml",sentAs:"Part",items:{type:"object",parameters:{PartNumber:{sentAs:"PartNumber"},LastModified:{sentAs:"LastModified"},ETag:{sentAs:"ETag"},Size:{sentAs:"Size"}}}}}},CopyPart:{httpMethod:"PUT",parameters:{Bucket:{required:!0,location:"uri"},Key:{required:!0,location:"uri"},PartNumber:{required:!0,location:"urlPath",sentAs:"partNumber",type:"number"},UploadId:{required:!0,location:"urlPath",sentAs:"uploadId"},CopySource:{required:!0,location:"header",sentAs:"copy-source",skipEncoding:!0,withPrefix:!0},CopySourceRange:{location:"header",sentAs:"copy-source-range",withPrefix:!0},SseC:{location:"header",sentAs:"server-side-encryption-customer-algorithm",withPrefix:!0},SseCKey:{location:"header",sentAs:"server-side-encryption-customer-key",type:"password",withPrefix:!0},CopySourceSseC:{location:"header",sentAs:"copy-source-server-side-encryption-customer-algorithm",withPrefix:!0},CopySourceSseCKey:{location:"header",sentAs:"copy-source-server-side-encryption-customer-key",type:"password",withPrefix:!0}}},CopyPartOutput:{data:{type:"xml",xmlRoot:"CopyPartResult"},parameters:{LastModified:{location:"xml",sentAs:"LastModified"},ETag:{location:"xml",sentAs:"ETag"},SseKms:{location:"header",sentAs:"server-side-encryption",withPrefix:!0},SseKmsKey:{location:"header",sentAs:"server-side-encryption-aws-kms-key-id",withPrefix:!0},SseC:{location:"header",sentAs:"server-side-encryption-customer-algorithm",withPrefix:!0},SseCKeyMd5:{location:"header",sentAs:"server-side-encryption-customer-key-MD5",withPrefix:!0}}},AbortMultipartUpload:{httpMethod:"DELETE",parameters:{Bucket:{required:!0,location:"uri"},Key:{required:!0,location:"uri"},UploadId:{required:!0,location:"urlPath",sentAs:"uploadId"}}},CompleteMultipartUpload:{httpMethod:"POST",data:{xmlRoot:"CompleteMultipartUpload"},parameters:{Bucket:{required:!0,location:"uri"},Key:{required:!0,location:"uri"},UploadId:{required:!0,location:"urlPath",sentAs:"uploadId"},EncodingType:{location:"urlPath",sentAs:"encoding-type"},Parts:{required:!0,type:"array",location:"xml",sentAs:"Part",items:{type:"object",parameters:{PartNumber:{sentAs:"PartNumber"},ETag:{sentAs:"ETag"}}}},Callback:{location:"header",sentAs:"callback",withPrefix:!0,type:"callback",parameters:{CallbackUrl:{required:!0},CallbackBody:{required:!0},CallbackHost:{},CallbackBodyType:{}}}}},CompleteMultipartUploadOutput:{data:{type:"xml",xmlRoot:"CompleteMultipartUploadResult"},parameters:{VersionId:{location:"header",sentAs:"version-id",withPrefix:!0},Location:{location:"xml",sentAs:"Location"},EncodingType:{location:"xml",sentAs:"EncodingType"},Bucket:{location:"xml",sentAs:"Bucket"},Key:{decode:!0,location:"xml",sentAs:"Key"},ETag:{location:"xml",sentAs:"ETag"},SseKms:{location:"header",sentAs:"server-side-encryption",withPrefix:!0},SseKmsKey:{location:"header",sentAs:"server-side-encryption-aws-kms-key-id",withPrefix:!0},SseC:{location:"header",sentAs:"server-side-encryption-customer-algorithm",withPrefix:!0},SseCKeyMd5:{location:"header",sentAs:"server-side-encryption-customer-key-MD5",withPrefix:!0}},CallbackResponse:{location:"body",sentAs:"CallbackResponseBody"}},GetBucketInventory:{httpMethod:"GET",urlPath:"inventory",parameters:{Bucket:{required:!0,location:"uri"}}},GetBucketInventoryOutput:{data:{type:"xml",xmlRoot:"ListInventoryConfiguration"},parameters:{Rules:{type:"array",location:"xml",sentAs:"InventoryConfiguration",items:{type:"object",parameters:{Id:{sentAs:"Id"},IsEnabled:{sentAs:"IsEnabled"},Filter:{type:"object",sentAs:"Filter",parameters:{Prefix:{sentAs:"Prefix"}}},Destination:{type:"object",sentAs:"Destination",parameters:{Format:{sentAs:"Format"},Bucket:{sentAs:"Bucket"},Prefix:{sentAs:"Prefix"}}},Schedule:{type:"object",sentAs:"Schedule",parameters:{Frequency:{sentAs:"Frequency"}}},IncludedObjectVersions:{sentAs:"IncludedObjectVersions"},OptionalFields:{type:"object",location:"xml",sentAs:"OptionalFields",parameters:{Field:{type:"array",sentAs:"Field",items:{type:"string"}}}},LastExportTime:{sentAs:"LastExportTime"}}}}}},SetBucketInventory:{httpMethod:"PUT",urlPath:"inventory",parameters:{Bucket:{required:!0,location:"uri"},Id:{location:"urlPath",sentAs:"id"},InventoryConfiguration:Se}},SetBucketInventoryOutput:{data:{type:"xml",xmlRoot:"InventoryConfiguration"},parameters:{InventoryConfiguration:Se}},DeleteInventory:{httpMethod:"DELETE",urlPath:"inventory",parameters:{Bucket:{required:!0,location:"uri"},Id:{location:"urlPath",sentAs:"id"}}},DeleteInventoryOutput:{data:{type:"xml",xmlRoot:"InventoryConfiguration"},parameters:{InventoryConfiguration:Se}},GetBucketEncryption:{httpMethod:"GET",urlPath:"encryption",parameters:{Bucket:{required:!0,location:"uri"}}},GetBucketEncryptionOutput:{data:{type:"xml",xmlRoot:"ServerSideEncryptionConfiguration"},parameters:{Rule:{type:"object",location:"xml",sentAs:"Rule",parameters:{ApplyServerSideEncryptionByDefault:{type:"object",sentAs:"ApplyServerSideEncryptionByDefault",parameters:{SSEAlgorithm:{sentAs:"SSEAlgorithm"},KMSMasterKeyID:{sentAs:"KMSMasterKeyID"},ProjectID:{sentAs:"ProjectID"}}}}}}},SetBucketEncryption:{httpMethod:"PUT",urlPath:"encryption",data:{xmlRoot:"ServerSideEncryptionConfiguration"},parameters:{Bucket:{required:!0,location:"uri"},Rule:Ee}},SetBucketEncryptionOutput:{data:{type:"xml",xmlRoot:"ServerSideEncryptionConfiguration"},parameters:{Rule:Ee}},DeleteBucketEncryption:{httpMethod:"DELETE",urlPath:"encryption",parameters:{Bucket:{required:!0,location:"uri"}}},DeleteBucketEncryptionOutput:{data:{type:"xml",xmlRoot:"ServerSideEncryptionConfiguration"},parameters:{Rule:Ee}},GetBucketRequesterPay:{httpMethod:"GET",urlPath:"requestPayment",parameters:{Bucket:{required:!0,location:"uri"}}},GetBucketRequesterPayOutput:{data:{type:"xml",xmlRoot:"RequestPaymentConfiguration"},parameters:{Payer:{location:"xml",sentAs:"Payer"}}},SetBucketRequesterPay:{httpMethod:"PUT",urlPath:"requestPayment",data:{xmlRoot:"RequestPaymentConfiguration"},parameters:{Bucket:{required:!0,location:"uri"},Payer:{location:"xml",sentAs:"Payer"}}},SetBucketRequesterPayOutput:{data:{type:"xml",xmlRoot:"RequestPaymentConfiguration"},parameters:{Payer:{location:"xml",sentAs:"Payer"}}},OptionsBucket:{httpMethod:"OPTIONS",parameters:{Bucket:{required:!0,location:"uri"},Origin:{required:!0,location:"header",sentAs:"Origin"},AccessControlRequestMethods:{required:!0,type:"array",location:"header",sentAs:"Access-Control-Request-Method",items:{type:"string"}},AccessControlRequestHeaders:{type:"array",location:"header",sentAs:"Access-Control-Request-Headers",items:{type:"string"}}}},OptionsBucketOutput:{parameters:{AllowOrigin:{location:"header",sentAs:"access-control-allow-origin"},AllowHeader:{location:"header",sentAs:"access-control-allow-headers"},AllowMethod:{location:"header",sentAs:"access-control-allow-methods"},ExposeHeader:{location:"header",sentAs:"access-control-expose-headers"},MaxAgeSeconds:{location:"header",sentAs:"access-control-max-age"}}},OptionsObject:{httpMethod:"OPTIONS",parameters:{Bucket:{required:!0,location:"uri"},Key:{required:!0,location:"uri"},Origin:{required:!0,location:"header",sentAs:"Origin"},AccessControlRequestMethods:{required:!0,type:"array",location:"header",sentAs:"Access-Control-Request-Method",items:{type:"string"}},AccessControlRequestHeaders:{type:"array",location:"header",sentAs:"Access-Control-Request-Headers",items:{type:"string"}}}},OptionsObjectOutput:{parameters:{AllowOrigin:{location:"header",sentAs:"access-control-allow-origin"},AllowHeader:{location:"header",sentAs:"access-control-allow-headers"},AllowMethod:{location:"header",sentAs:"access-control-allow-methods"},ExposeHeader:{location:"header",sentAs:"access-control-expose-headers"},MaxAgeSeconds:{location:"header",sentAs:"access-control-max-age"}}},SetMirrorBackToSource:{httpMethod:"PUT",urlPath:"mirrorBackToSource",parameters:{Bucket:{required:!0,location:"uri"},ApiPath:{location:"uri"},Rules:{required:!0,location:"body"}}},SetMirrorBackToSourceOutput:{data:{type:"body"},parameters:{Rules:{location:"body"}}},GetMirrorBackToSource:{httpMethod:"GET",urlPath:"mirrorBackToSource",parameters:{Bucket:{required:!0,location:"uri"},ApiPath:{location:"uri"}}},GetMirrorBackToSourceOutput:{data:{type:"body"},parameters:{Rules:{location:"body"}}},deleteMirrorBackToSource:{httpMethod:"DELETE",urlPath:"mirrorBackToSource",parameters:{Bucket:{required:!0,location:"uri"},ApiPath:{location:"uri"}}},GetBucketDirectColdAccess:{httpMethod:"GET",urlPath:"directcoldaccess",parameters:{Bucket:{required:!0,location:"uri"}}},GetBucketDirectColdAccessOutput:{data:{type:"xml",xmlRoot:"DirectColdAccessConfiguration"},parameters:{Status:{location:"xml",sentAs:"Status"}}},SetBucketDirectColdAccess:{httpMethod:"PUT",urlPath:"directcoldaccess",data:{xmlRoot:"DirectColdAccessConfiguration",md5:!0},parameters:{Bucket:{required:!0,location:"uri"},Status:{required:!0,location:"xml",sentAs:"Status"}}},SetBucketDirectColdAccessOutput:{data:{type:"xml",xmlRoot:"DirectColdAccessConfiguration"},parameters:{Status:{location:"xml",sentAs:"Status"}}},DeleteBucketDirectColdAccess:{httpMethod:"DELETE",urlPath:"directcoldaccess",parameters:{Bucket:{required:!0,location:"uri"}}},DeleteBucketDirectColdAccessOutput:{data:{type:"xml",xmlRoot:"DirectColdAccessConfiguration"},parameters:{Status:{location:"xml",sentAs:"Status"}}},GetBucketCustomDomain:{httpMethod:"GET",urlPath:"customdomain",parameters:{Bucket:{required:!0,location:"uri"}}},GetBucketCustomDomainOutput:{data:{type:"xml",xmlRoot:"ListBucketCustomDomainsResult"},parameters:{Domains:{location:"xml",type:"array",sentAs:"Domains",items:{type:"object",parameters:{DomainName:{sentAs:"DomainName"},Value:{sentAs:"CreateTime"}}}}}},SetBucketCustomDomain:{httpMethod:"PUT",parameters:{Bucket:{required:!0,location:"uri"},DomainName:{location:"urlPath",sentAs:"customdomain"}}},DeleteBucketCustomDomain:{httpMethod:"DELETE",parameters:{Bucket:{required:!0,location:"uri"},DomainName:{location:"urlPath",sentAs:"customdomain"}}},GetCDNNotifyConfiguration:{httpMethod:"GET",urlPath:"CDNNotifyConfiguration",parameters:{Bucket:{required:!0,location:"uri"}}},GetCDNNotifyConfigurationOutput:{data:{type:"xml",xmlRoot:"CDNNotifyConfiguration"},parameters:{Domain:{location:"xml",type:"array",sentAs:"Domain",items:{type:"object",parameters:{Name:{sentAs:"Name"},Events:{type:"array",items:{type:"adapter"},sentAs:"Event"}}}}}},SetCdnNotifyConfiguration:{httpMethod:"PUT",urlPath:"CDNNotifyConfiguration",data:{xmlRoot:"CDNNotifyConfiguration",xmlAllowEmpty:!0},parameters:{Bucket:{required:!0,location:"uri"},Domain:{location:"xml",sentAs:"Domain",type:"array",items:{type:"object",parameters:{Name:{type:"string",sentAs:"Name"},Event:{type:"array",items:{type:"adapter"},sentAs:"Event"}}}}}},GetQuota:{httpMethod:"GET",urlPath:"quota"},GetQuotaOutput:{data:{type:"xml",xmlRoot:"MaxBucketNumber"},parameters:{Size:{location:"xml",sentAs:"Number"}}},GetWorkflowTrigger:{httpMethod:"GET",urlPath:"triggerpolicy",parameters:{Bucket:{required:!0,location:"uri"},ApiPath:{location:"uri"}}},GetWorkflowTriggerOutput:{data:{type:"body"},parameters:{rules:{location:"body"}}},DeleteWorkflowTrigger:{httpMethod:"DELETE",urlPath:"triggerpolicy",parameters:{Bucket:{required:!0,location:"uri"},ApiPath:{location:"uri"}}},CreateWorkflowTrigger:{httpMethod:"PUT",urlPath:"triggerpolicy",parameters:{Bucket:{required:!0,location:"uri"},ApiPath:{location:"uri"},Rule:{required:!0,location:"body"}}},RestoreFailedWorkflowExecution:{httpMethod:"PUT",parameters:{ApiPath:{location:"uri"},Other_parameter:{required:!0,location:"uri",sentAs:"execution_name"},GraphName:{required:!0,location:"urlPath",sentAs:"x-workflow-graph-name"}}},CreateTemplate:{httpMethod:"POST",parameters:{ApiPath:{location:"uri"},Template:{required:!0,location:"body"}}},CreateWorkflow:{httpMethod:"POST",parameters:{ApiPath:{location:"uri"},Other_parameter:{required:!0,location:"uri",sentAs:"graph_name"},Workflow_create:{location:"urlPath",sentAs:"x-workflow-create"},Workflow:{required:!0,location:"body"}}},DeleteWorkflow:{httpMethod:"DELETE",parameters:{ApiPath:{location:"uri"},Other_parameter:{location:"uri",sentAs:"graph_name"}}},UpdateWorkflow:{httpMethod:"PUT",parameters:{ApiPath:{location:"uri"},Other_parameter:{location:"uri",sentAs:"graph_name"},Graph_name:{required:!0,location:"body"}}},GetWorkflowList:{httpMethod:"GET",parameters:{ApiPath:{location:"uri"},Other_parameter:{location:"uri",sentAs:"graph_name_prefix"},XObsLimit:{type:"number",location:"urlPath",sentAs:"x-workflow-limit"},XObsPrefix:{location:"urlPath",sentAs:"x-workflow-prefix"},XObsStart:{type:"number",location:"urlPath",sentAs:"x-workflow-start"}}},GetWorkflowListOutput:{data:{type:"body"},parameters:{workflows:{location:"body"}}},GetWorkflowTemplateList:{httpMethod:"GET",parameters:{ApiPath:{location:"uri"},Other_parameter:{location:"uri",sentAs:"template_name_prefix"},Start:{type:"number",location:"urlPath",sentAs:"x-workflow-start"},Limit:{type:"number",location:"urlPath",sentAs:"x-workflow-limit"},"X-workflow-prefix":{location:"urlPath",sentAs:"x-workflow-prefix"}}},GetWorkflowTemplateListOutput:{data:{type:"body"},parameters:{templates:{location:"body"}}},GetWorkflowInstanceList:{httpMethod:"GET",parameters:{ApiPath:{location:"uri"},Other_parameter:{location:"uri",sentAs:"execution_name_prefix"},Start:{type:"number",location:"urlPath",sentAs:"x-workflow-start"},Limit:{type:"number",location:"urlPath",sentAs:"x-workflow-limit"},Graph_name:{location:"urlPath",sentAs:"x-workflow-graph-name"},State:{location:"urlPath",sentAs:"x-workflow-execution-state"},"X-workflow-prefix":{location:"urlPath",sentAs:"x-workflow-prefix"}}},GetWorkflowInstanceListOutput:{data:{type:"body"},parameters:{instances:{location:"body"}}},DeleteTemplate:{httpMethod:"DELETE",parameters:{ApiPath:{location:"uri"},Other_parameter:{location:"uri",sentAs:"template_name"}}},GetActionTemplates:{httpMethod:"GET",parameters:{ApiPath:{location:"uri"},Other_parameter:{location:"uri",sentAs:"template_name_prefix"},XObsPrefix:{location:"urlPath",sentAs:"x-workflow-prefix"},XObsCategory:{type:"String",location:"urlPath",sentAs:"x-workflow-category"}}},GetActionTemplatesOutput:{data:{type:"body"},parameters:{templates:{location:"body"}}},GetWorkflowAuthorization:{httpMethod:"GET",parameters:{ApiPath:{location:"uri"}}},GetWorkflowAuthorizationOutput:{data:{type:"body"},parameters:{authorization:{location:"body"}}},OpenWorkflowAuthorization:{httpMethod:"POST",parameters:{ApiPath:{location:"uri"}}},CreateOnlineDecom:{httpMethod:"PUT",urlPath:"obscompresspolicy",parameters:{Bucket:{required:!0,location:"uri"},Decom:{required:!0,location:"body"}}},GetOnlineDecom:{httpMethod:"GET",urlPath:"obscompresspolicy",parameters:{Bucket:{required:!0,location:"uri"}}},GetOnlineDecomOutput:{data:{type:"body"},parameters:{Decom:{location:"body"}}},DeleteOnlineDecom:{httpMethod:"DELETE",urlPath:"obscompresspolicy",parameters:{Bucket:{required:!0,location:"uri"}}},GetPublicationTemplates:{httpMethod:"GET",parameters:{ApiPath:{location:"uri"},OtherParameter:{location:"uri",sentAs:"template_name_prefix"},XObsCategory:{location:"urlPath",sentAs:"x-workflow-category"},XObsOtatus:{location:"urlPath",sentAs:"x-workflow-status"},XObsPrefix:{location:"urlPath",sentAs:"x-workflow-prefix"}}},GetPublicationTemplatesOutput:{data:{type:"body"},parameters:{PublishedTemplates:{location:"body"}}},GetPublicationTemplateDetail:{httpMethod:"GET",parameters:{ApiPath:{location:"uri"},OtherParameter:{location:"uri",sentAs:"template_name"}}},GetPublicationTemplateDetailOutput:{data:{type:"body"},parameters:{PublishTemplate:{location:"body"}}},GetWorkflowAgreements:{httpMethod:"GET",parameters:{ApiPath:{location:"uri"},XWorkflowType:{required:!0,location:"urlPath",sentAs:"x-workflow-type"}}},GetWorkflowAgreementsOutput:{data:{type:"body"},parameters:{authorization:{location:"body"}}},OpenWorkflowAgreements:{httpMethod:"POST",parameters:{ApiPath:{location:"uri"},XWorkflowType:{required:!0,location:"urlPath",sentAs:"x-workflow-type"}}},CreateMyActionTemplate:{httpMethod:"POST",parameters:{ApiPath:{location:"uri"},OtherParameter:{location:"uri",sentAs:"template_name"},ActionTemplate:{required:!0,location:"body"}}},CreateMyActionTemplateOutput:{data:{type:"body"},parameters:{ActionTemplate:{location:"body"}}},GetMyActionTemplates:{httpMethod:"GET",parameters:{ApiPath:{location:"uri"},OtherParameter:{location:"uri",sentAs:"template_name_prefix"},XObsCategory:{location:"urlPath",sentAs:"x-workflow-category"},XObsOtatus:{location:"urlPath",sentAs:"x-workflow-status"},XObsPrefix:{location:"urlPath",sentAs:"x-workflow-prefix"}}},GetMyActionTemplatesOutput:{data:{type:"body"},parameters:{ActionTemplates:{location:"body"}}},GetMyactiontemplateDetail:{httpMethod:"GET",parameters:{ApiPath:{location:"uri"},OtherParameter:{location:"uri",sentAs:"template_name"}}},GetMyactiontemplateDetailOutput:{data:{type:"body"},parameters:{ActionTemplate:{location:"body"}}},UpdateMyActionTemplate:{httpMethod:"PUT",parameters:{ApiPath:{location:"uri"},OtherParameter:{location:"uri",sentAs:"template_name"},ActionTemplate:{required:!0,location:"body"}}},UpdateMyActionTemplateOutput:{data:{type:"body"},parameters:{ActionTemplate:{location:"body"}}},DeleteMyActionTemplate:{httpMethod:"DELETE",parameters:{ApiPath:{location:"uri"},OtherParameter:{location:"uri",sentAs:"template_name"}}},ForbidMyActionTemplate:{httpMethod:"DELETE",parameters:{ApiPath:{location:"uri"},OtherParameter:{location:"uri",sentAs:"template_name"},XObsForbid:{location:"urlPath",sentAs:"x-workflow-forbid"}}},UpdatePublicActionTemplate:{httpMethod:"PUT",parameters:{ApiPath:{location:"uri"},OtherParameter:{location:"uri",sentAs:"template_name"},PublicAction:{required:!0,location:"body"}}},GetOmPublicActionTemplates:{httpMethod:"GET",parameters:{ApiPath:{location:"uri"},OtherParameter:{location:"uri",sentAs:"template_name_prefix"},XObsCategory:{location:"urlPath",sentAs:"x-workflow-category"},XObsOtatus:{location:"urlPath",sentAs:"x-workflow-status"},XObsPrefix:{location:"urlPath",sentAs:"x-workflow-prefix"}}},GetOmPublicActionTemplatesOutput:{data:{type:"body"},parameters:{Templates:{location:"body"}}},SetBucketAlias:{httpMethod:"PUT",urlPath:"obsbucketalias",data:{xmlRoot:"CreateBucketAlias"},parameters:{Bucket:{required:!0,location:"uri"},BucketList:{location:"xml",type:"object",sentAs:"BucketList",parameters:{Bucket:{location:"xml",type:"array",items:{parameters:{sentAs:"Bucket"}}}}}}},GetBucketAlias:{httpMethod:"GET",urlPath:"obsalias",parameters:{Bucket:{required:!0,location:"uri"}}},GetBucketAliasOutput:{data:{type:"xml",xmlRoot:"AliasList"},parameters:{BucketAlias:{location:"xml",type:"object",sentAs:"BucketAlias",parameters:{Alias:{sentAs:"Alias"},BucketList:{sentAs:"Bucket",location:"xml",type:"array",wrapper:"BucketList",items:{type:"string"}}}}}},DeleteBucketAlias:{httpMethod:"DELETE",urlPath:"obsbucketalias",parameters:{Bucket:{required:!0,location:"uri"}}},BindBucketAlias:{httpMethod:"PUT",urlPath:"obsalias",data:{xmlRoot:"AliasList"},parameters:{Bucket:{required:!0,location:"uri"},Alias:{location:"xml",type:"string",sentAs:"Alias"}}},BindBucketAliasOutput:{data:{xmlRoot:"AliasList"},parameters:{Bucket:{required:!0,location:"uri"},Alias:{location:"xml",type:"string",sentAs:"Alias"}}},UnbindBucketAlias:{httpMethod:"DELETE",urlPath:"obsalias",parameters:{Bucket:{required:!0,location:"uri"}}},ListBucketsAlias:{httpMethod:"GET",urlPath:"obsbucketalias"},ListBucketsAliasOutput:{data:{type:"xml",xmlRoot:"ListBucketAliasResult"},parameters:{BucketAliasList:{location:"xml",sentAs:"BucketAliasList",type:"object",parameters:{BucketAlias:{location:"xml",type:"array",sentAs:"BucketAlias",items:{type:"object",parameters:{Alias:{sentAs:"Alias"},CreationDate:{sentAs:"CreationDate"},BucketList:{location:"xml",type:"object",sentAs:"BucketList",parameters:{Bucket:{location:"xml",type:"array",items:{parameters:{sentAs:"Bucket"}}}}}}}}}},Owner:{location:"xml",sentAs:"Owner",type:"object",parameters:{ID:{sentAs:"ID"}}}}}};function Ke(t){return Ke="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ke(t)}function He(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}var Ve=function(t,e){var n=new yt("sha1"===t?"SHA-1":"sha512"===t?"SHA-512":"SHA-256","TEXT");return n.setHMACKey(e,e instanceof ArrayBuffer?"ARRAYBUFFER":"TEXT"),{update:function(t){return n.update(t),this},digest:function(t){return"hex"===t?n.getHMAC("HEX"):"base64"===t?n.getHMAC("B64"):n.getHMAC("ARRAYBUFFER")}}},ze=function(t){if("md5"===t)return{update:function(t){return this.message?this.message+=t:this.message=t,this},digest:function(t){return"hex"===t?ne()(this.message):"base64"===t||"rawbase64"===t?(window.btoa?window.btoa:te.encode)(ne()(this.message,!1,!0)):ne()(this.message,!1,!0)}};var e=new yt("sha1"===t?"SHA-1":"sha512"===t?"SHA-512":"SHA-256","TEXT");return{update:function(t){return e.update(t),this},digest:function(t){return"hex"===t?e.getHash("HEX"):"base64"===t?e.getHash("B64"):e.getHash("ARRAYBUFFER")}}},We="e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",Xe=["inventory","acl","backtosource","policy","torrent","logging","location","storageinfo","quota","storageclass","storagepolicy","mirrorbacktosource","requestpayment","versions","versioning","versionid","uploads","uploadid","partnumber","website","notification","replication","lifecycle","deletebucket","delete","cors","restore","tagging","append","position","response-content-type","response-content-language","response-expires","response-cache-control","response-content-disposition","response-content-encoding","x-image-process","x-oss-process","encryption","obsworkflowtriggerpolicy","x-workflow-limit","x-workflow-prefix","x-workflow-start","x-workflow-template-name","x-workflow-graph-name","x-workflow-execution-state","x-workflow-category","x-workflow-prefix","x-workflow-create","directcoldaccess","customdomain","cdnnotifyconfiguration","metadata","dispolicy","obscompresspolicy","template_name","template_name_prefix","x-workflow-status","x-workflow-type","x-workflow-forbid","sfsacl","obsbucketalias","obsalias"],Ye=["content-type","content-md5","content-length","content-language","expires","origin","cache-control","content-disposition","content-encoding","x-default-storage-class","location","date","etag","host","last-modified","content-range","x-reserved","access-control-allow-origin","access-control-allow-headers","access-control-max-age","access-control-allow-methods","access-control-expose-headers","connection","x-obs-location-clustergroup-id"],Ze={"content-length":"ContentLength",date:"Date","x-reserved":"Reserved"},Qe=["STANDARD","WARM","COLD"],Je=["STANDARD","STANDARD_IA","GLACIER"],tn=["private","public-read","public-read-write","public-read-delivered","public-read-write-delivered"],en=["private","public-read","public-read-write","authenticated-read","bucket-owner-read","bucket-owner-full-control","log-delivery-write"],nn=["Everyone","LogDelivery"],rn=["http://acs.amazonaws.com/groups/global/AllUsers","http://acs.amazonaws.com/groups/global/AuthenticatedUsers","http://acs.amazonaws.com/groups/s3/LogDelivery"],on=["ObjectCreated","ObjectRemoved","ObjectCreated:*","ObjectCreated:Put","ObjectCreated:Post","ObjectCreated:Copy","ObjectCreated:CompleteMultipartUpload","ObjectRemoved:*","ObjectRemoved:Delete","ObjectRemoved:DeleteMarkerCreated"],an=["ObjectCreated","ObjectRemoved","s3:ObjectCreated:*","s3:ObjectCreated:Put","s3:ObjectCreated:Post","s3:ObjectCreated:Copy","s3:ObjectCreated:CompleteMultipartUpload","s3:ObjectRemoved:*","s3:ObjectRemoved:Delete","s3:ObjectRemoved:DeleteMarkerCreated"],sn=["CreateBucket","SetBucketAlias","BindBucketAlias","UnbindBucketAlias","DeleteBucketAlias","GetBucketAlias"],cn="HeadApiVersion",un={signature:"obs",headerPrefix:"x-obs-",headerMetaPrefix:"x-obs-meta-",authPrefix:"OBS"},ln={signature:"v2",headerPrefix:"x-amz-",headerMetaPrefix:"x-amz-meta-",authPrefix:"AWS"};function pn(t,e,n){if(0===(t=String(t)).length)return"";if(n)return t;var r;if(e){r=[];var o,i=function(t,e){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!n){if(Array.isArray(t)||(n=function(t,e){if(t){if("string"==typeof t)return He(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?He(t,e):void 0}}(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var r=0,o=function(){};return{s:o,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return a=t.done,t},e:function(t){s=!0,i=t},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}(t);try{for(i.s();!(o=i.n()).done;){var a=o.value;r.push(e.indexOf(a)>=0?a:encodeURIComponent(a))}}catch(t){i.e(t)}finally{i.f()}r=r.join("")}else r=encodeURIComponent(t);return r.replace(/!/g,"%21").replace(/\*/g,"%2A").replace(/'/g,"%27").replace(/\(/g,"%28").replace(/\)/g,"%29")}function fn(t){return JSON?JSON.stringify(t):""}function dn(t,e){var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){var o=String(r).toLowerCase();0===o.indexOf(t)&&(n[o.slice(t.length)]=e[r])}return n}function hn(t){return"[object Function]"===Object.prototype.toString.call(t)}function mn(t){return"[object Object]"===Object.prototype.toString.call(t)}function gn(t,e){if("object"===Ke(t))return e(null,t);try{return e(null,re.parseString(t))}catch(t){return e(t,null)}}function vn(t){var e=new Date(Date.parse(t)),n=e.getUTCHours(),r=e.getUTCMinutes(),o=e.getUTCSeconds(),i=e.getUTCDate(),a=e.getUTCMonth()+1,s="";return s+=e.getUTCFullYear()+"-",a<10&&(s+="0"),s+=a+"-",i<10&&(s+="0"),s+=i+"T",n<10&&(s+="0"),s+=n+":",r<10&&(s+="0"),s+=r+":",o<10&&(s+="0"),s+(o+"Z")}function yn(t){var e=new Date(Date.parse(t)),n=e.getUTCHours(),r=e.getUTCMinutes(),o=e.getUTCSeconds(),i=e.getUTCDate(),a=e.getUTCMonth()+1,s="",c="";return s+=e.getUTCFullYear(),a<10&&(s+="0"),s+=a,i<10&&(s+="0"),c+=(s+=i)+"T",n<10&&(c+="0"),c+=n,r<10&&(c+="0"),c+=r,o<10&&(c+="0"),[s,c+=o+"Z"]}function bn(t){var e=[],n={};for(var r in t)({}).hasOwnProperty.call(t,r)&&(e.push(r.toLowerCase()),n[r.toLowerCase()]=t[r]);e=e.sort();for(var o="",i="",a=0;a<e.length;a++)0!==a&&(o+=";"),o+=e[a],i+=e[a]+":"+n[e[a]]+"\n";return[o,i]}function wn(t,e,n,r){var o=Ve("sha256","AWS4"+e).update(t).digest(),i=Ve("sha256",o).update(n).digest(),a=Ve("sha256",i).update("s3").digest(),s=Ve("sha256",a).update("aws4_request").digest();return Ve("sha256",s).update(r).digest("hex")}function xn(t,e,n,r,o){var i="AWS4-HMAC-SHA256\n";return i+=e+"\n",i+=t+"/"+r+"/s3/aws4_request\n",wn(t,n,r,i+=ze("sha256").update(o).digest("hex"))}function _n(t){this.log=t,this.ak=null,this.sk=null,this.securityToken=null,this.isSecure=!0,this.server=null,this.pathStyle=!1,this.signatureContext=null,this.isSignatureNegotiation=!0,this.bucketSignatureCache={},this.region="region",this.port=null,this.timeout=300,this.obsSdkVersion="3.22.3",this.isCname=!1,this.bucketEventEmitters={},this.useRawXhr=!1}_n.prototype.encodeURIWithSafe=pn,_n.prototype.mimeTypes={"7z":"application/x-7z-compressed",aac:"audio/x-aac",ai:"application/postscript",aif:"audio/x-aiff",asc:"text/plain",asf:"video/x-ms-asf",atom:"application/atom+xml",avi:"video/x-msvideo",bmp:"image/bmp",bz2:"application/x-bzip2",cer:"application/pkix-cert",crl:"application/pkix-crl",crt:"application/x-x509-ca-cert",css:"text/css",csv:"text/csv",cu:"application/cu-seeme",deb:"application/x-debian-package",doc:"application/msword",docx:"application/vnd.openxmlformats-officedocument.wordprocessingml.document",dvi:"application/x-dvi",eot:"application/vnd.ms-fontobject",eps:"application/postscript",epub:"application/epub+zip",etx:"text/x-setext",flac:"audio/flac",flv:"video/x-flv",gif:"image/gif",gz:"application/gzip",htm:"text/html",html:"text/html",ico:"image/x-icon",ics:"text/calendar",ini:"text/plain",iso:"application/x-iso9660-image",jar:"application/java-archive",jpe:"image/jpeg",jpeg:"image/jpeg",jpg:"image/jpeg",js:"text/javascript",json:"application/json",latex:"application/x-latex",log:"text/plain",m4a:"audio/mp4",m4v:"video/mp4",mid:"audio/midi",midi:"audio/midi",mov:"video/quicktime",mp3:"audio/mpeg",mp4:"video/mp4",mp4a:"audio/mp4",mp4v:"video/mp4",mpe:"video/mpeg",mpeg:"video/mpeg",mpg:"video/mpeg",mpg4:"video/mp4",oga:"audio/ogg",ogg:"audio/ogg",ogv:"video/ogg",ogx:"application/ogg",pbm:"image/x-portable-bitmap",pdf:"application/pdf",pgm:"image/x-portable-graymap",png:"image/png",pnm:"image/x-portable-anymap",ppm:"image/x-portable-pixmap",ppt:"application/vnd.ms-powerpoint",pptx:"application/vnd.openxmlformats-officedocument.presentationml.presentation",ps:"application/postscript",qt:"video/quicktime",rar:"application/x-rar-compressed",ras:"image/x-cmu-raster",rss:"application/rss+xml",rtf:"application/rtf",sgm:"text/sgml",sgml:"text/sgml",svg:"image/svg+xml",swf:"application/x-shockwave-flash",tar:"application/x-tar",tif:"image/tiff",tiff:"image/tiff",torrent:"application/x-bittorrent",ttf:"application/x-font-ttf",txt:"text/plain",wav:"audio/x-wav",webm:"video/webm",wma:"audio/x-ms-wma",wmv:"video/x-ms-wmv",woff:"application/x-font-woff",wsdl:"application/wsdl+xml",xbm:"image/x-xbitmap",xls:"application/vnd.ms-excel",xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",xml:"application/xml",xpm:"image/x-xpixmap",xwd:"image/x-xwindowdump",yaml:"text/yaml",yml:"text/yaml",zip:"application/zip"},_n.prototype.refresh=function(t,e,n){this.ak=t?String(t).trim():null,this.sk=e?String(e).trim():null,this.securityToken=n?String(n).trim():null},_n.prototype.initFactory=function(t,e,n,r,o,i,a,s,c,u,l,p,f,d,h,m){if(this.refresh(t,e,u),this.urlPrefix=f||"",this.regionDomains=d||null,this.setRequestHeaderHook=h||null,!r)throw new Error("Server is not set");0===(r=String(r).trim()).indexOf("https://")?(r=r.slice(8),n=!0):0===r.indexOf("http://")&&(r=r.slice(7),n=!1);for(var g=r.lastIndexOf("/");g>=0;)g=(r=r.slice(0,g)).lastIndexOf("/");(g=r.indexOf(":"))>=0&&(s=r.slice(g+1),r=r.slice(0,g)),this.server=r,/^[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+$/.test(this.server)&&(o=!0),void 0!==n&&(this.isSecure=n),void 0!==o&&(this.pathStyle=o),i=void 0!==i?String(i).trim().toLowerCase():"obs",void 0!==l&&(this.isSignatureNegotiation=l),this.isCname=p,(this.pathStyle||this.isCname)&&(this.isSignatureNegotiation=!1,"obs"===i&&(i="v2")),this.signatureContext="obs"===i?un:ln,void 0!==a&&(this.region=String(a)),this.port=s?parseInt(s,10):this.isSecure?443:80,void 0!==c&&(this.timeout=parseInt(c,10)),void 0!==m&&(this.useRawXhr=m)},_n.prototype.SseKmsAdapter=function(t,e){t=t||"";var n=(t=String(t)).indexOf("aws:");return"obs"===e.signature?0===n?t.slice(4):t:0===n?t:"aws:"+t},_n.prototype.BucketAdapter=function(t,e){t=t||"";var n=(t=String(t)).indexOf("arn:aws:s3:::");return"obs"===e.signature?0===n?t.slice(13):t:0===n?t:"arn:aws:s3:::"+t},_n.prototype.EventAdapter=function(t,e){return t=t||"",t=String(t),"obs"===e.signature?on.indexOf(t)>=0?t:an.indexOf(t)>=0?t.substring(3):"":an.indexOf(t)>=0?t:on.indexOf(t)>=0?"s3:"+t:""},_n.prototype.URIAdapter=function(t,e){return t=t||"",t=String(t),"obs"===e.signature?nn.indexOf(t)>=0?t:"AllUsers"===t||"http://acs.amazonaws.com/groups/global/AllUsers"===t?"Everyone":"":rn.indexOf(t)>=0?t:"Everyone"===t||"AllUsers"===t?"http://acs.amazonaws.com/groups/global/AllUsers":"AuthenticatedUsers"===t?"http://acs.amazonaws.com/groups/global/AuthenticatedUsers":"LogDelivery"===t?"http://acs.amazonaws.com/groups/s3/LogDelivery":""},_n.prototype.StorageClassAdapter=function(t,e){return t=t||"",t=String(t).toUpperCase(),"obs"===e.signature?Qe.indexOf(t)>=0?t:"STANDARD_IA"===t?"WARM":"GLACIER"===t?"COLD":"":Je.indexOf(t)>=0?t:"WARM"===t?"STANDARD_IA":"COLD"===t?"GLACIER":""},_n.prototype.ACLAdapter=function(t,e){return t=t||"",t=String(t).toLowerCase(),"obs"===e.signature?tn.indexOf(t)>=0?t:"":("public-read-delivered"===t?t="public-read":"public-read-write-delivered"===t&&(t="public-read-write"),en.indexOf(t)>=0?t:"")},_n.prototype.doExec=function(t,e,n){var r=this.makeParam(t,e);if("err"in r)return n(r.err,null);this.sendRequest(t,r,n)},_n.prototype.doNegotiation=function(t,e,n,r,o,i){var a=null,s=this;if(o&&e.Bucket){var c=this.bucketSignatureCache[e.Bucket];if(c&&c.signatureContext&&c.expireTime>(new Date).getTime()){e.signatureContext=c.signatureContext;var u=this.makeParam(t,e);return"err"in u?n(u.err,null):(u.signatureContext=c.signatureContext,this.sendRequest(t,u,n))}if((a=this.bucketEventEmitters[e.Bucket])||(a={s:0,n:function(){for(;this.e&&this.e.length>0;)this.e.shift()()}},this.bucketEventEmitters[e.Bucket]=a),a.s)return void a.e.push((function(){s.doNegotiation(t,e,n,r,o,i)}));a.e=[],a.s=1}this.doExec(cn,r?{Bucket:e.Bucket}:{},(function(o,c){if(o)return n(o,null),void(a&&(a.s=0,a.n()));if(r&&404===c.CommonMsg.Status||c.CommonMsg.Status>=500)return n(o,c),void(a&&(a.s=0,a.n()));var u=ln;c.CommonMsg.Status<300&&c.InterfaceResult&&c.InterfaceResult.ApiVersion>="3.0"&&(u=un),i&&(s.bucketSignatureCache[e.Bucket]={signatureContext:u,expireTime:(new Date).getTime()+15+60*Math.ceil(5*Math.random())*1e3}),a&&(a.s=0,a.n()),e.signatureContext=u;var l=s.makeParam(t,e);if("err"in l)return n(l.err,null);l.signatureContext=u,s.sendRequest(t,l,n)}))},_n.prototype.exec=function(t,e,n){var r=this;r.isSignatureNegotiation&&t!==cn?"ListBuckets"===t?r.doNegotiation(t,e,n,!1,!1,!1):sn.indexOf(t)>-1?r.doNegotiation(t,e,(function(o,i){if(!o&&400===i.CommonMsg.Status&&"Unsupported Authorization Type"===i.CommonMsg.Message&&e.signatureContext&&"v2"===e.signatureContext.signature){e.signatureContext=ln;var a=r.makeParam(t,e);return"err"in a?n(a.err,null):(a.signatureContext=e.signatureContext,void r.sendRequest(t,a,n))}n(o,i)}),!1,!0,!1):r.doNegotiation(t,e,n,!0,!0,!0):r.doExec(t,e,n)},_n.prototype.sliceBlob=function(t,e,n,r){return r=r||t.type,t.mozSlice?t.mozSlice(e,n,r):t.webkitSlice?t.webkitSlice(e,n,r):t.slice(e,n,r)},_n.prototype.toXml=function(t,e,n,r,o){var i="";if(null!==n)return i+this.buildXml(t,e,n,r,o);for(var a in e)if(a in t){var s=e[a].sentAs||a;i+=this.buildXml(t,e[a],a,s,o)}return i},_n.prototype.buildXml=function(t,e,n,r,o){var i="",a=e.type;if("array"===a)for(var s=0;s<t[n].length;s++)if("object"===e.items.type){if(!t[n][s])return i;var c=this.toXml(t[n][s],e.items.parameters,null,null,o);""!==c&&(i+="<"+r+">"+c+"</"+r+">")}else"adapter"===e.items.type?i+="<"+r+">"+String(this[n+"Adapter"](t[n][s],o)).replace(/&/g,"&").replace(/'/g,"'").replace(/"/g,""")+"</"+r+">":"array"!==e.items.type&&(i+="<"+r+">"+String(t[n][s]).replace(/&/g,"&").replace(/'/g,"'").replace(/"/g,""")+"</"+r+">");else if("object"===a){if(!t[n])return i;var u=this.toXml(t[n],e.parameters,null,null,o);""!==u&&(i+="<"+r,"data"in e&&("xsiNamespace"in e.data&&(i+=' xmlns:xsi="'+e.data.xsiNamespace+'"'),"xsiType"in e.data&&(i+=' xsi:type="'+t[n][e.data.xsiType]+'"')),i+=">",i+=u+"</"+r+">")}else"adapter"===a?i+="<"+r+">"+String(this[n+"Adapter"](t[n],o)).replace(/&/g,"&").replace(/'/g,"'").replace(/"/g,""")+"</"+r+">":"ignore"!==a&&(i+="<"+r+">"+String(t[n]).replace(/&/g,"&").replace(/'/g,"'").replace(/"/g,""")+"</"+r+">");if(i&&e.wrapper){var l=e.wrapper;i="<"+l+">"+i+"</"+l+">"}return i},_n.prototype.jsonToObject=function(t,e,n,r){var o={};if(null!==n)this.buildObject(t,e,n,o,r);else for(var i in t)({}).hasOwnProperty.call(t,i)&&this.buildObject(t,e,i,o,r);return o},_n.prototype.buildObject=function(t,e,n,r,o){var i=function(e){return e&&t[n].decode&&o?decodeURIComponent(e.replace(/\+/g,"%20")):e};if(mn(e)){var a=!0,s=t[n].wrapper;if(s&&s in e&&(a=mn(e=e[s])),a){var c=t[n].sentAs||n;if(c in e)if("object"===t[n].type)r[n]=this.jsonToObject(t[n].parameters,e[c],null,o);else if("array"===t[n].type){var u=[];if(function(t){return"[object Array]"===Object.prototype.toString.call(t)}(e[c]))for(var l=0;l<e[c].length;l++)u[l]="object"===t[n].items.type?this.jsonToObject(t[n].items.parameters,e[c][l],null,o):i(e[c][l]["#text"]);else u[0]="object"===t[n].items.type?this.jsonToObject(t[n].items.parameters,e[c],null,o):i(e[c]["#text"]||"");r[n]=u}else r[n]=i(e[c]["#text"])}}void 0===r[n]&&("object"===t[n].type?r[n]=t[n].parameters?this.jsonToObject(t[n].parameters,null,null,o):{}:"array"===t[n].type&&(r[n]=[]))},_n.prototype.makeParam=function(t,e){var n=e.signatureContext||this.signatureContext,r="obs"===n.signature?Ae[t]:qe[t],o=r.httpMethod,i="/",a="",s="",c={},u={};for(var l in u.$requestParam=e,"urlPath"in r&&(a+="?",a+=r.urlPath),r.parameters)if({}.hasOwnProperty.call(r.parameters,l)){var p=r.parameters[l];if("Bucket"===l&&this.isCname)continue;var f=e[l];if("callback"===p.type&&void 0===f&&p.parameters&&(void 0!==e.CallbackUrl||void 0!==e.CallbackBody)){f={};for(var d=0,h=Object.keys(p.parameters);d<h.length;d++){var m=h[d],g=p.parameters[m],v=e[m];if(g.required&&(null==v||"[object String]"===Object.prototype.toString.call(v)&&""===v))return u.err=m+" is a required element!",this.log.runLog("error",t,u.err),u;f[m.slice(0,1).toLowerCase()+m.slice(1)]=v}}if(p.required&&(null==f||"[object String]"===Object.prototype.toString.call(f)&&""===f))return u.err=l+" is a required element!",this.log.runLog("error",t,u.err),u;if(null!=f){if("srcFile"===p.type||"dstFile"===p.type){u[p.type]=f;continue}"plain"===p.type&&(u[l]=f);var y=p.sentAs||l;if(p.withPrefix&&(y=n.headerPrefix+y),"uri"===p.location)"/"!==i&&(i+="/"),i+=f;else if("header"===p.location){var b=p.encodingSafe||" ;/?:@&=+$,";if("object"===p.type){if(n.headerMetaPrefix===y)for(var w in f)if({}.hasOwnProperty.call(f,w)){var x=f[w];c[0===(w=String(w).trim().toLowerCase()).indexOf(y)?w:y+w]=pn(x,b)}}else if("array"===p.type){var _=[];for(var A in f)({}).hasOwnProperty.call(f,A)&&(_[A]=pn(f[A],b));c[y]=_}else if("password"===p.type){var k=window.btoa?window.btoa:te.encode;c[y]=k(f),c[p.pwdSentAs||y+"-MD5"]=this.rawBufMD5(f)}else if("number"===p.type&&Number(f))c[y]=pn(String(f),b);else if("boolean"===p.type)c[y]=pn(f?"true":"false",b);else if("callback"===p.type)c[y]=te.encode(JSON.stringify(f));else if("adapter"===p.type){var E=this[l+"Adapter"](f,n);E&&(c[y]=pn(String(E),b))}else c[y]=pn(String(f),b,p.skipEncoding)}else if("urlPath"===p.location){var S=""===a?"?":"&",T=f;("number"!==p.type||"number"===p.type&&Number(T)>=0)&&(a+=S+pn(y,"/")+"="+pn(String(T),"/"))}else if("xml"===p.location){var C=this.toXml(e,p,l,y,n);C&&(s+=C)}else"body"===p.location&&(s=f)}}var P="file"===u.dstFile;if("Content-Type"in c||P||(c["Content-Type"]="binary/octet-stream"),"data"in r&&"xmlRoot"in r.data&&(s||r.data.xmlAllowEmpty)){var O=r.data.xmlRoot;s="<"+O+">"+s+"</"+O+">",c["Content-Type"]="application/xml"}if(P&&(u.rawUri=i),c.Host=this.server+(80===this.port||443===this.port?"":":"+this.port),!this.pathStyle&&!this.isCname){var L=i.split("/");if(L.length>=2&&L[1]){c.Host=L[1]+"."+c.Host;var M=i.replace(L[1],"");0===M.indexOf("//")&&(M=M.slice(1)),"v4"===n.signature?i=M:"/"===M&&(i+="/"),u.requestUri=pn(M,"/")}}if(u.method=o,u.uri=pn(i,"/"),u.urlPath=a,s&&(r.data&&r.data.md5&&(c["Content-MD5"]=this.bufMD5(s),c["Content-Length"]=0===s.length?"0":String(s.length)),u.xml=s,this.log.runLog("debug",t,"request content:"+s)),u.headers=c,"srcFile"in u&&(u.srcFile instanceof window.File||u.srcFile instanceof window.Blob)){var R=u.srcFile.size;if("Content-Length"in u.headers||"PartSize"in u||"Offset"in u){var I,j=u.Offset;j=j&&j>=0&&j<R?j:0,I=(I="PartSize"in u?u.PartSize:"Content-Length"in u.headers?parseInt(u.headers["Content-Length"],10):R)&&I>0&&I<=R-j?I:R-j,u.PartSize=I,u.Offset=j,u.headers["Content-Length"]=String(u.PartSize)}}return u},_n.prototype.parseCommonHeaders=function(t,e,n){for(var r in Ze)({}).hasOwnProperty.call(Ze,r)&&(t.InterfaceResult[Ze[r]]=e[r]);t.InterfaceResult.RequestId=e[n.headerPrefix+"request-id"],t.InterfaceResult.Id2=e[n.headerPrefix+"id-2"],t.CommonMsg.RequestId=t.InterfaceResult.RequestId,t.CommonMsg.Id2=t.InterfaceResult.Id2},_n.prototype.contrustCommonMsg=function(t,e,n,r){for(var o in t.InterfaceResult={},this.parseCommonHeaders(t,n,r),e)if("header"===e[o].location){var i=e[o].sentAs||o;if(e[o].withPrefix&&(i=r.headerPrefix+i),"object"===e[o].type)t.InterfaceResult[o]=dn(i,n);else{var a=null;i in n?a=n[i]:i.toLowerCase()in n&&(a=n[i.toLowerCase()]),null!==a&&(t.InterfaceResult[o]=a)}}},_n.prototype.getRequest=function(t,e,n,r,o,i){var a=this.regionDomains,s={},c=this.log,u="obs"===n.signature?Ae[t+"Output"]:qe[t+"Output"],l=(u=u||{}).parameters||{};s.CommonMsg={Status:e.status,Code:"",Message:"",HostId:"",RequestId:"",InterfaceResult:null};var p=e.headers,f=fn(p);c.runLog("info",t,"get response start, statusCode:"+e.status),c.runLog("debug",t,"response msg :statusCode:"+e.status+", headers:"+f);var d=function(){var e="Status:"+s.CommonMsg.Status+", Code:"+s.CommonMsg.Code+", Message:"+s.CommonMsg.Message;c.runLog("debug",t,"exec interface "+t+" finish, "+e),i(null,s)};if(e.status>=300&&e.status<400&&304!==e.status&&r<=5){var h=p.location||p.Location;if(h){var m="http code is 3xx, need to redirect to "+h;c.runLog("warn",t,m);var g=new Error("redirect");return g.location=h,g.bucketLocation=p["x-amz-bucket-region"]||p["x-obs-bucket-region"],i(g)}var v=p["x-amz-bucket-region"]||p["x-obs-bucket-location"];if(v&&a[v]){var y=(this.isSecure?"https://":"http://")+a[v];hn(this.setRequestHeaderHook)&&this.setRequestHeaderHook(p,o,t,a[v]);var b="get redirect code 3xx, need to redirect to"+y;c.runLog("error",t,b);var w=new Error("redirect");return w.location=y,i(w)}c.runLog("error",t,"get redirect code 3xx, but no location in headers")}if(e.status<300){var x=e.data;this.contrustCommonMsg(s,l,p,n);var _="Status: "+s.CommonMsg.Status+", headers: "+f;if(x&&(_+="body length: "+x.length,c.runLog("debug",t,"response body length:"+x.length)),c.runLog("debug",t,_),x&&"data"in u){if(o.CallbackUrl&&u.CallbackResponse)return s.InterfaceResult[u.CallbackResponse.sentAs]=x,void d();if("xml"===u.data.type){var A=this;return gn(x,(function(e,n){if(e)return c.runLog("error",t,"change xml to json err ["+fn(e)+"]"),i(e,null);var r=n;u.data.xmlRoot&&u.data.xmlRoot in r&&(r=n[u.data.xmlRoot]);var o=!!r.EncodingType;if(mn(r))for(var a in l)"xml"===l[a].location&&(s.InterfaceResult[a]=A.jsonToObject(l,r,a,o)[a]);d()}))}if("body"===u.data.type)for(var k in l)if("body"===l[k].location){s.InterfaceResult[k]=x;break}}return d()}var E=e.data,S="Status: "+s.CommonMsg.Status+", headers: "+f;return""!==E&&(S+="body: "+E,c.runLog("debug",t,"response body :"+E)),s.CommonMsg.RequestId=p[n.headerPrefix+"request-id"],s.CommonMsg.Id2=p[n.headerPrefix+"id2"],s.CommonMsg.Indicator=p["x-reserved-indicator"],c.runLog("info",t,"request finished with request id:"+s.CommonMsg.RequestId),c.runLog("debug",t,S),E?gn(E,(function(e,n){if(e)c.runLog("error",t,"change xml to json err ["+fn(e)+"]"),s.CommonMsg.Message=e.message;else if(n){if("Error"in n){var r=n.Error;for(var o in r)r[o]&&r[o]["#text"]&&(s.CommonMsg[o]=r[o]["#text"])}else{var i=n;"code"in i&&(s.CommonMsg.Code=i.code),"message"in i&&(s.CommonMsg.Message=i.message),"hostId"in i&&(s.CommonMsg.HostId=i.hostId),"request_id"in i&&i.request_id&&(s.CommonMsg.RequestId=i.request_id)}c.runLog("error",t,"request error with error code:"+s.CommonMsg.Code+", error message:"+s.CommonMsg.Message+", request id:"+s.CommonMsg.RequestId)}d()})):d()},_n.prototype.makeRequest=function(t,e,n,o){var i=this.log,a=e.xml||null,s=e.signatureContext||this.signatureContext;if(delete e.headers.Authorization,"file"===e.dstFile){var c={};if(e.urlPath)for(var u=e.urlPath.slice(1).split("&"),l=0;l<u.length;l++)if(-1===u[l].indexOf("="))c[u[l]]="";else{var p=u[l].split("=");c[p[0]]=p[1]}var f=e.rawUri.split("/")[1],d=e.rawUri.slice(("/"+f+"/").length),h={CommonMsg:{Status:0,Code:"",Message:"",HostId:""},InterfaceResult:{}},m=("obs"===s.signature?Ae[t+"Output"]:qe[t+"Output"]).parameters;for(var g in m)if("body"===m[g].location){h.InterfaceResult[g]=this.createSignedUrlSync({Method:e.method,Bucket:f,Key:d,Expires:3600,Headers:e.headers,QueryParams:c,signatureContext:s});break}return o(null,h)}var v,y=e.$requestParam.RequestDate,b=Object.prototype.toString.call(y);if("[object Date]"===b)v=y;else if("[object String]"===b)try{(v=new Date).setTime(Date.parse(y))}catch(t){}v||(v=new Date);var w=v.toUTCString(),x="v4"===s.signature.toLowerCase();e.headers[s.headerPrefix+"date"]=x?yn(w)[1]:w;var _=(e.requestUri?e.requestUri:e.uri)+e.urlPath;this.ak&&this.sk&&t!==cn&&(this.securityToken&&(e.headers[s.headerPrefix+"security-token"]=this.securityToken),x?this.v4Auth(e,t,s):this.doAuth(e,t,s));var A=e.headers;hn(this.setRequestHeaderHook)&&this.setRequestHeaderHook(A,e.$requestParam,t);var k=A.Host,E=e.method,S={};for(var T in A)({}).hasOwnProperty.call(A,T)&&(S[T]=A[T]);S.Authorization="****";var C="method:"+E+", path:"+_+"headers:"+fn(S);a&&(C+="body:"+a),i.runLog("info",t,"prepare request parameters ok,then Send request to service start"),i.runLog("debug",t,"request msg:"+C);var P=e.protocol?0===e.protocol.toLowerCase().indexOf("https"):this.isSecure,O=e.port||this.port;delete A.Host,delete A["Content-Length"];var L="text";!e.dstFile||"file"===e.dstFile||"arraybuffer"!==e.dstFile&&"blob"!==e.dstFile||(L=String(e.dstFile));var M=v.getTime(),R=this,I=function(e){try{var n=fn(e);i.runLog("error",t,"Send request to service error ["+n+"]")}catch(n){e.toString&&i.runLog("error",t,"Send request to service error ["+e.toString()+"]")}i.runLog("info",t,"http cost "+((new Date).getTime()-M)+" ms"),o(e,null)};if(this.useRawXhr){var j=null;try{j=new XMLHttpRequest}catch(t){try{j=new ActiveXObject("Msxml2.XMLHTTP")}catch(t){try{j=new ActiveXObject("Microsoft.XMLHTTP")}catch(t){}}}if(null===j)return o(new Error("XHR is not available"),null);if(e.srcFile){if(!(e.srcFile instanceof window.File||e.srcFile instanceof window.Blob))return o(new Error("source file must be an instance of window.File or window.Blob"),null);try{var D=e.srcFile;if(e.Offset>=0&&e.PartSize>0)D=this.sliceBlob(D,e.Offset,e.Offset+e.PartSize);else if("ContentLength"in e){var B=parseInt(e.ContentLength,10);B>0&&(D=this.sliceBlob(D,0,B))}a=D}catch(t){return o(t)}}for(var N in j.open(E,(P?"https://"+this.urlPrefix+k:"http://"+this.urlPrefix+k)+_),j.withCredentials=!1,A)({}).hasOwnProperty.call(A,N)&&j.setRequestHeader(N,A[N]);j.timeout=1e3*R.timeout,j.responseType=L,e.$requestParam.cancelHook=function(){j.abort()},j.onreadystatechange=function(){if(4===j.readyState&&j.status>=200){i.runLog("info",t,"http cost "+((new Date).getTime()-M)+" ms");for(var r=j.getAllResponseHeaders().trim().split(/[\r\n]+/),a={},c=0;c<r.length;c++){var u=r[c].split(": "),l=u.shift(),p=u.join(": ");a[l.toLowerCase()]=p}var f=j.response;f||""!==L&&"text"!==L||(f=j.responseText);var d={status:j.status,headers:a,data:f};R.getRequest(t,d,s,n,e.$requestParam,o)}};var U=!1,$=function(t){U||(U=!0,I(t))};j.ontimeout=function(){$(new Error("timeout of "+j.timeout+"ms exceed"))},j.onerror=function(){$(new Error("Network Error"))},j.onabort=function(){$(new Error("Cancel"))},j.upload&&(j.upload.ontimeout=function(){$(new Error("timeout of "+j.timeout+"ms exceed"))},j.upload.onerror=function(){$(new Error("Network Error"))},j.upload.onabort=function(t){$(new Error("Cancel"))}),hn(e.ProgressCallback)&&("GET"!==E&&j.upload?"PUT"!==E&&"POST"!==E||(j.upload.onprogress=function(t){t.lengthComputable&&e.ProgressCallback(t.loaded,t.total,((new Date).getTime()-M)/1e3)}):j.onprogress=function(t){t.lengthComputable&&e.ProgressCallback(t.loaded,t.total,((new Date).getTime()-M)/1e3)}),j.send(a)}else{var F=null,G=null;if(hn(e.ProgressCallback)){var q=function(t){t.lengthComputable&&e.ProgressCallback(t.loaded,t.total,((new Date).getTime()-M)/1e3)};"GET"===E?G=q:"PUT"!==E&&"POST"!==E||(F=q)}var K=":"+O;k.indexOf(":")>=0&&(K="");var H="",V=P?"https://":"http://";if(this.urlPrefix&&hn(this.setRequestHeaderHook)&&"InitiateMultipartUpload"!==t&&"UploadPart"!==t&&"CompleteMultipartUpload"!==t){var z=!0;(e.$requestParam.hasRegion||e.$requestParam.redirectRegion)&&(z=!1);var W="";5443===O&&(W="-5443"),z?e.$requestParam.Bucket?(-1!==e.$requestParam.Bucket.indexOf(".")&&(H=V+this.urlPrefix+"/bucket"+W),H=V+this.urlPrefix+"/bucket"+W):H="/"===_.split("?")[0]?V+this.urlPrefix+W:V+this.urlPrefix+"/place"+W:H=e.$requestParam.Bucket?V+this.urlPrefix+"/region-bucket"+W:V+this.urlPrefix+"/region"+W}else H=V+k+K;var X={method:E,url:H+_,withCredentials:!1,headers:A,validateStatus:function(t){return t>=200},maxRedirects:0,responseType:L,data:a,timeout:1e3*this.timeout,onUploadProgress:F,onDownloadProgress:G,cancelToken:new(r().CancelToken)((function(t){e.$requestParam.cancelHook=t}))};if(e.srcFile){if(!(e.srcFile instanceof window.File||e.srcFile instanceof window.Blob))return o(new Error("source file must be an instance of window.File or window.Blob"),null);var Y=e.srcFile;try{if(e.Offset>=0&&e.PartSize>0)Y=this.sliceBlob(Y,e.Offset,e.Offset+e.PartSize);else if("ContentLength"in e){var Z=parseInt(e.ContentLength,10);Z>0&&(Y=this.sliceBlob(Y,0,Z))}}catch(t){return o(t)}X.data=Y}r().request(X).then((function(r){i.runLog("info",t,"http cost "+((new Date).getTime()-M)+" ms"),R.getRequest(t,r,s,n,e.$requestParam,o)})).catch((function(t){I(t)}))}},_n.prototype.sendRequest=function(t,n,r,o){void 0===o&&(o=1);var i=this;i.makeRequest(t,n,o,(function(a,s){if(a&&"redirect"===a.message){var c=function(t){var n=e().parse(t);return{hostname:n.hostname,port:n.port,host:n.hostname,protocol:n.protocol?n.protocol+":":"",query:n.query,path:n.path+(n.query?"?"+n.query:""),pathname:n.path,search:n.query?"?"+n.query:""}}(a.location);a.bucketLocation&&-1!==c.hostname.indexOf(n.$requestParam.Bucket)&&(n.$requestParam.redirectRegion=a.bucketLocation),n.headers.Host=c.hostname,n.protocol=c.protocol,n.port=c.port||(n.protocol&&0===n.protocol.toLowerCase().indexOf("https")?443:80),i.sendRequest(t,n,r,o+1)}else r(a,s)}))},_n.prototype.doAuth=function(t,e,n){for(var r=["Content-MD5","Content-Type"],o=t.method+"\n",i=0;i<r.length;i++)r[i]in t.headers&&(o+=t.headers[r[i]]),o+="\n";n.headerPrefix+"date"in t.headers||(o+=t.headers.Date),o+="\n";var a=[];for(var s in t.headers)if({}.hasOwnProperty.call(t.headers,s)){var c=s.toLowerCase();0===c.indexOf(n.headerPrefix)&&a.push({key:c,value:t.headers[s]})}a=a.sort((function(t,e){return t.key<e.key?-1:t.key>e.key?1:0}));for(var u=0;u<a.length;u++){var l=a[u].key,p=0===l.indexOf(n.headerMetaPrefix)?a[u].value.trim():a[u].value;o+=l+":"+p+"\n"}var f=t.uri;if(this.isCname&&("/"===f?f+=t.headers.Host+"/":0===f.indexOf("/")&&(f="/"+t.headers.Host+f)),t.urlPath){for(var d=t.urlPath.slice(1).split("&").sort(),h="",m=0;m<d.length;m++){var g=d[m].split("="),v=decodeURIComponent(g[0]);Xe.indexOf(v.toLowerCase())>=0&&(h+=""===h?"?":"&",h+=v,2===g.length&&g[1]&&(h+="="+decodeURIComponent(g[1])))}f+=h}o+=f,this.log.runLog("debug",e,"stringToSign:"+o),t.headers.Authorization=n.authPrefix+" "+this.ak+":"+Ve("sha1",this.sk).update(o).digest("base64")},_n.prototype.v4Auth=function(t,e,n){t.headers[n.headerPrefix+"content-sha256"]=We;var r=t.headers,o=this.log,i=null,a=null;if(n.headerPrefix+"date"in r)i=(a=r[n.headerPrefix+"date"]).slice(0,a.indexOf("T"));else{var s=yn(r.Date);i=s[0],a=s[1]}var c=this.ak+"/"+i+"/"+this.region+"/s3/aws4_request",u=bn(r),l=u[0],p=u[1],f="";if(t.urlPath){var d=t.urlPath.slice(1).split("&");d=d.sort();for(var h=0;h<d.length;h++)f+=d[h],-1===d[h].indexOf("=")&&(f+="="),h!==d.length-1&&(f+="&")}var m=t.method+"\n";m+=t.uri+"\n",m+=f+"\n",m+=p+"\n",m+=l+"\n",m+=We,o.runLog("debug",e,"canonicalRequest:"+m);var g=xn(i,a,this.sk,this.region,m);t.headers.Authorization="AWS4-HMAC-SHA256 Credential="+c+",SignedHeaders="+l+",Signature="+g},_n.prototype.bufMD5=function(t){return ze("md5").update(t).digest("base64")},_n.prototype.rawBufMD5=function(t){return ze("md5").update(t).digest("rawbase64")},_n.prototype.createSignedUrlSync=function(t){return"v4"===(t.signatureContext||this.signatureContext).signature.toLowerCase()?this.createV4SignedUrlSync(t):this.createV2SignedUrlSync(t)},_n.prototype.createV2SignedUrlSync=function(t){var e=(t=t||{}).signatureContext||this.signatureContext,n=t.Method?String(t.Method):"GET",r=t.Bucket?String(t.Bucket):null,o=t.Key?String(t.Key):null,i=t.SpecialParam?String(t.SpecialParam):null;"obs"===e.signature.toLowerCase()&&"storagePolicy"===i?i="storageClass":"v2"===e.signature.toLowerCase()&&"storageClass"===i&&(i="storagePolicy");var a=t.Policy?String(t.Policy):null,s=t.Prefix?String(t.Prefix):null,c=t.Expires?parseInt(t.Expires,10):300,u={};if(t.Headers&&t.Headers instanceof Object&&!(t.Headers instanceof Array))for(var l in t.Headers)({}).hasOwnProperty.call(t.Headers,l)&&(u[l]=t.Headers[l]);var p={};if(t.QueryParams&&t.QueryParams instanceof Object&&!(t.QueryParams instanceof Array))for(var f in t.QueryParams)({}).hasOwnProperty.call(t.QueryParams,f)&&(p[f]=t.QueryParams[f]);this.securityToken&&!p[e.headerPrefix+"security-token"]&&(p[e.headerPrefix+"security-token"]=this.securityToken);var d="",h="",m=this.server;this.isCname?h+="/"+m+"/":r&&(h+="/"+r,this.pathStyle?d+="/"+r:(m=r+"."+m,h+="/")),o&&(d+="/"+(o=pn(o,"/")),h.lastIndexOf("/")!==h.length-1&&(h+="/"),h+=o),""===h&&(h="/"),d+="?",i&&(p[i]=""),"v2"===e.signature.toLowerCase()?p.AWSAccessKeyId=this.ak:p.AccessKeyId=this.ak,c<0&&(c=300),c=parseInt((new Date).getTime()/1e3,10)+c,a&&s?(p.Policy=a,p.prefix=s):p.Expires=String(c);var g={};for(var v in u)if({}.hasOwnProperty.call(u,v)){var y=String(v).toLowerCase();("content-type"===y||"content-md5"===y||y.length>e.headerPrefix.length&&y.slice(0,e.headerPrefix.length)===e.headerPrefix)&&(g[y]=u[v])}var b=[];for(var w in p)({}).hasOwnProperty.call(p,w)&&b.push(w);b.sort();for(var x=a&&s,_=!1,A=[],k=a&&s?"":"/",E=0;E<b.length;E++){var S=b[E],T=p[S];if(d+=S=pn(S,k),(T=pn(T,k))&&(d+="="+T),(!x||"policy"!==S.toLowerCase())&&(Xe.indexOf(S.toLowerCase())>=0||0===S.toLowerCase().indexOf(e.headerPrefix))){_=!0;var C=T?S+"="+decodeURIComponent(T):S;A.push(C)}d+="&"}A=A.join("&"),_&&(A="?"+A),h+=A;var P=[n];if(P.push("\n"),"content-md5"in g&&P.push(g["content-md5"]),P.push("\n"),"content-type"in g&&P.push(g["content-type"]),P.push("\n"),x?P.push(a):P.push(String(c)),P.push("\n"),x)P.push(A);else{var O=[],L=0;for(var M in g)M.length>e.headerPrefix.length&&M.slice(0,e.headerPrefix.length)===e.headerPrefix&&(O[L++]=M);O=O.sort();for(var R=0;R<O.length;R++)P.push(O[R]),P.push(":"),P.push(g[O[R]]),P.push("\n");P.push(h)}var I=Ve("sha1",this.sk);return I.update(P.join("")),d+=x?"Signature="+pn(I.digest("base64")):"Signature="+pn(I.digest("base64"),"/"),{ActualSignedRequestHeaders:u,SignedUrl:(this.isSecure?"https":"http")+"://"+m+":"+this.port+d}},_n.prototype.createV4SignedUrlSync=function(t){var e=(t=t||{}).signatureContext||this.signatureContext,n=t.Method?String(t.Method):"GET",r=t.Bucket?String(t.Bucket):null,o=t.Key?String(t.Key):null,i=t.SpecialParam?String(t.SpecialParam):null;"storageClass"===i&&(i="storagePolicy");var a=t.Expires?parseInt(t.Expires,10):300,s={};if(t.Headers&&t.Headers instanceof Object&&!(t.Headers instanceof Array))for(var c in t.Headers)({}).hasOwnProperty.call(t.Headers,c)&&(s[c]=t.Headers[c]);var u={};if(t.QueryParams&&t.QueryParams instanceof Object&&!(t.QueryParams instanceof Array))for(var l in t.QueryParams)({}).hasOwnProperty.call(t.QueryParams,l)&&(u[l]=t.QueryParams[l]);this.securityToken&&!u[e.headerPrefix+"security-token"]&&(u[e.headerPrefix+"security-token"]=this.securityToken);var p="",f="",d=this.server;r&&(this.pathStyle?(p+="/"+r,f+="/"+r):d=r+"."+d),o&&(p+="/"+(o=pn(o,"/")),f+="/"+o),""===f&&(f="/"),p+="?",i&&(u[i]=""),a<0&&(a=300);var h=yn(s.date||s.Date||(new Date).toUTCString()),m=h[0],g=h[1];s.Host=d+(80===this.port||443===this.port?"":":"+this.port),u["X-Amz-Algorithm"]="AWS4-HMAC-SHA256",u["X-Amz-Credential"]=this.ak+"/"+m+"/"+this.region+"/s3/aws4_request",u["X-Amz-Date"]=g,u["X-Amz-Expires"]=String(a);var v=bn(s);u["X-Amz-SignedHeaders"]=v[0];var y={},b=[];for(var w in u)if({}.hasOwnProperty.call(u,w)){var x=u[w];w=pn(w,"/"),x=pn(x),y[w]=x,b.push(w),p+=w,x&&(p+="="+x),p+="&"}var _="";b.sort();for(var A=0;A<b.length;)_+=b[A]+"="+y[b[A]],++A!==b.length&&(_+="&");var k=n+"\n";return k+=f+"\n",k+=_+"\n",k+=v[1]+"\n",k+=v[0]+"\n",k+="UNSIGNED-PAYLOAD",p+="X-Amz-Signature="+pn(xn(m,g,this.sk,this.region,k)),{ActualSignedRequestHeaders:s,SignedUrl:(this.isSecure?"https":"http")+"://"+d+":"+this.port+p}},_n.prototype.createPostSignatureSync=function(t){var e=t.signatureContext||this.signatureContext;if("v4"===e.signature)return this.createV4PostSignatureSync(t);var n=(t=t||{}).Bucket?String(t.Bucket):null,r=t.Key?String(t.Key):null,o=t.Expires?parseInt(t.Expires,10):300,i={};if(t.FormParams&&t.FormParams instanceof Object&&!(t.FormParams instanceof Array))for(var a in t.FormParams)({}).hasOwnProperty.call(t.FormParams,a)&&(i[a]=t.FormParams[a]);this.securityToken&&!i[e.headerPrefix+"security-token"]&&(i[e.headerPrefix+"security-token"]=this.securityToken);var s=new Date;s.setTime(parseInt((new Date).getTime(),10)+1e3*o),s=vn(s.toUTCString()),n&&(i.bucket=n),r&&(i.key=r);var c=[];c.push('{"expiration":"'),c.push(s),c.push('", "conditions":[');var u=!0,l=!0,p=["acl","bucket","key","success_action_redirect","redirect","success_action_status"];for(var f in i)if(f){var d=i[f];"bucket"===(f=String(f).toLowerCase())?u=!1:"key"===f&&(l=!1),Ye.indexOf(f)<0&&p.indexOf(f)<0&&0!==f.indexOf(e.headerPrefix)||(c.push('{"'),c.push(f),c.push('":"'),c.push(null!==d?String(d):""),c.push('"},'))}u&&c.push('["starts-with", "$bucket", ""],'),l&&c.push('["starts-with", "$key", ""],'),c.push("]}");var h=c.join("");c=window.btoa?window.btoa(h):te.encode(h);var m=Ve("sha1",this.sk).update(c).digest("base64");return{OriginPolicy:h,Policy:c,Signature:m,Token:this.ak+":"+m+":"+c}},_n.prototype.createV4PostSignatureSync=function(t){var e=(t=t||{}).signatureContext||this.signatureContext,n=t.Bucket?String(t.Bucket):null,r=t.Key?String(t.Key):null,o=t.Expires?parseInt(t.Expires,10):300,i={};if(t.FormParams&&t.FormParams instanceof Object&&!(t.FormParams instanceof Array))for(var a in t.FormParams)({}).hasOwnProperty.call(t.FormParams,a)&&(i[a]=t.FormParams[a]);this.securityToken&&!i[e.headerPrefix+"security-token"]&&(i[e.headerPrefix+"security-token"]=this.securityToken);var s=yn((new Date).toUTCString()),c=s[0],u=s[1],l=this.ak+"/"+c+"/"+this.region+"/s3/aws4_request",p=new Date;p.setTime(parseInt((new Date).getTime(),10)+1e3*o),p=vn(p.toUTCString()),i["X-Amz-Algorithm"]="AWS4-HMAC-SHA256",i["X-Amz-Date"]=u,i["X-Amz-Credential"]=l,n&&(i.bucket=n),r&&(i.key=r);var f=[];f.push('{"expiration":"'),f.push(p),f.push('", "conditions":[');var d=!0,h=!0,m=["acl","bucket","key","success_action_redirect","redirect","success_action_status"];for(var g in i)if(g){var v=i[g];"bucket"===(g=String(g).toLowerCase())?d=!1:"key"===g&&(h=!1),Ye.indexOf(g)<0&&m.indexOf(g)<0&&0!==g.indexOf(e.headerPrefix)||(f.push('{"'),f.push(g),f.push('":"'),f.push(null!==v?String(v):""),f.push('"},'))}d&&f.push('["starts-with", "$bucket", ""],'),h&&f.push('["starts-with", "$key", ""],'),f.push("]}");var y=f.join("");f=window.btoa?window.btoa(y):te.encode(y);var b=wn(c,this.sk,this.region,f);return{OriginPolicy:y,Policy:f,Algorithm:i["X-Amz-Algorithm"],Credential:i["X-Amz-Credential"],Date:i["X-Amz-Date"],Signature:b}};var An=_n,kn=Number.MAX_VALUE;function En(){this.consoleLog=window.console,this._level=kn}En.prototype.setLevel=function(t){t&&(t="info"===(t=String(t).toLowerCase())?20:"warn"===t?30:"error"===t?40:"debug"===t?10:kn,this._level=t)},En.prototype.runLog=function(t,e,n){if(t){var r=[(new Date).toLocaleString(),t.toLowerCase(),e,n].join("|");"debug"===t.toLowerCase()&&this._level<=10?this.consoleLog.debug(r):"info"===t.toLowerCase()&&this._level<=20?this.consoleLog.info(r):"warn"===t.toLowerCase()&&this._level<=30?this.consoleLog.warn(r):"error"===t.toLowerCase()&&this._level<=40&&this.consoleLog.error(r)}};var Sn=En,Tn=o(1062),Cn=o.t(Tn,2),Pn=function(t){return"[object String]"===Object.prototype.toString.call(t)&&t.lastIndexOf("/")!==t.length-1&&(t+="/"),t},On={extend:function(t){t.prototype.dropFile=function(t,e){this.deleteObject(t,e)},t.prototype.dropFolder=function(t,e){var n=this;t=t||{};var r=function(t,e,n){t=t||function(){};var r=(new Date).getTime();return function(n,o){return e.runLog("info","dropFolder","ObsClient cost "+((new Date).getTime()-r)+" ms"),"[object String]"===Object.prototype.toString.call(n)?t(new Error(n),o):t(n,o)}}(e,n.log),o=function(t){return t=t||function(){},function(e,n,r){return"[object Error]"===Object.prototype.toString.call(r)?t(e,n,r):"[object String]"===Object.prototype.toString.call(r)?t(e,n,new Error(r)):r?r.CommonMsg.Status>300?t(e,n,new Error("status:"+r.CommonMsg.Status+", code:"+r.CommonMsg.Code+", message:"+r.CommonMsg.Message)):void t(e,n,r):void 0}}(t.EventCallback),i=t.TaskNum||1,a=0,s=[],c=function(t,e,r,c){if(c)return e.finished++,void r(e);var u=function(){a++,n.dropFile({Bucket:e.bucket,Key:t},(function(n,c){a--,e.finished++,function(){for(;a<i&&s.length>0;)s.shift()()}(),n?(o("dropFileFailed",t,n),e.subDeleted=!1):c.CommonMsg.Status>=300?(o("dropFileFailed",t,c),e.subDeleted=!1):o("dropFileSucceed",t,c),r(e)}))};a<i?u():s.push(u)},u=function(t,e,n){return function(r){!r.isTruncated&&r.finished===r.total&&r.subDeleted&&c(t,e,n,!1)}},l=Pn(t.Prefix);!function t(e,o,l,p,f){a++,n.listObjects({Bucket:o,Prefix:l,Delimiter:"/",Marker:p},(function(n,p){if(a--,n)return r(n);if(p.CommonMsg.Status>=300)return r(null,p);if(e.total+=p.InterfaceResult.Contents.length,e.total+=p.InterfaceResult.CommonPrefixes.length,0!==e.total){e.isTruncated="true"===p.InterfaceResult.IsTruncated;for(var d=function(n){return function(){t({total:0,finished:0,isTruncated:!1,bucket:o,subDeleted:!0},o,n,null,u(n,e,f))}},h=0;h<p.InterfaceResult.CommonPrefixes.length;h++){var m=Pn(p.InterfaceResult.CommonPrefixes[h].Prefix);a<i?t({total:0,finished:0,isTruncated:!1,bucket:o,subDeleted:!0},o,m,null,u(m,e,f)):s.push(d(m))}for(var g=0;g<p.InterfaceResult.Contents.length;g++){var v=p.InterfaceResult.Contents[g].Key;c(v,e,f,v.lastIndexOf("/")===v.length-1)}e.isTruncated&&(a<i?t(e,o,l,p.InterfaceResult.NextMarker,f):s.push((function(){t(e,o,l,p.InterfaceResult.NextMarker,f)})))}else f(e)}))}({total:0,finished:0,isTruncated:!1,bucket:t.Bucket,subDeleted:!0},t.Bucket,l,null,(function(t){if(!t.isTruncated&&t.finished===t.total)if(t.subDeleted)n.dropFile({Bucket:t.bucket,Key:l},(function(t,e){return t?(o("dropFileFailed",l,t),r(t)):e.CommonMsg.Status>=300?(o("dropFileFailed",l,e),r(null,e)):(o("dropFileSucceed",l,e),r(null,e))}));else{var e="drop folder "+l+" failed due to child file deletion failed";o("dropFileFailed",l,new Error(e)),r(e)}}))}}},Ln=On,Mn=5368709120,Rn=function(t){var e=[];if(e.push(t.bucket),e.push(t.key),e.push(t.sourceFile.name),e.push(String(t.partSize)),e.push(String(t.partCount)),e.push(String(t.fileStat.fileSize)),e.push(String(t.fileStat.lastModified)),t.uploadId&&e.push(t.uploadId),t.sseC&&e.push(t.sseC),t.sseCKey&&e.push(t.sseCKey),t.parts)for(var n=0;n<t.parts.length;n++){var r=t.parts[n];r&&(e.push(String(r.partNumber)),e.push(String(r.offset)),e.push(String(r.partSize)),e.push(String(r.isCompleted)),r.etag&&e.push(String(r.etag)))}return window.btoa(ne()(e.join(""),!1,!0))},In=function(t,e,n){t&&t.uploadId&&n.abortMultipartUpload({Bucket:t.bucket,Key:t.key,RequestDate:t.requestDate,UploadId:t.uploadId},(function(r,o){r?n.log.runLog("warn",e,"abort multipart upload failed, bucket:"+t.bucket+", key:"+t.key+", uploadId:"+t.uploadId+", err:"+r):o.CommonMsg.Status>=300?n.log.runLog("warn",e,"abort multipart upload failed, bucket:"+t.bucket+", key:"+t.key+", uploadId:"+t.uploadId+", status:"+o.CommonMsg.Status+", code:"+o.CommonMsg.Code+", message:"+o.CommonMsg.Message):(delete t.uploadId,n.log.runLog("warn",e,"abort multipart upload succeed, bucket:"+t.bucket+", key:"+t.key+", uploadId:"+t.uploadId))}))},jn=function(t){if(!(t.finishedCount<t.uploadCheckpoint.partCount)){if(t.isAbort)return In(t.uploadCheckpoint,t.funcName,t.that),t.callback("uploadFile failed the upload task is aborted");if(t.isSuspend)return t.callback("the process of uploadFile is suspened, you can retry with the uploadCheckpoint");if(t.hasError)return t.callback("uploadFile finished with error, you can retry with the uploadCheckpoint");for(var e=[],n=0;n<t.uploadCheckpoint.partCount;n++){var r=t.uploadCheckpoint.parts[n];e.push({PartNumber:r.partNumber,ETag:r.etag})}t.that.completeMultipartUpload({Bucket:t.uploadCheckpoint.bucket,Key:t.uploadCheckpoint.key,RequestDate:t.uploadCheckpoint.requestDate,UploadId:t.uploadCheckpoint.uploadId,Parts:e,CallbackUrl:t.callbackUrl,CallbackHost:t.callbackHost,CallbackBody:t.callbackBody,CallbackBodyType:t.callbackBodyType},(function(e,n){var r={bucket:t.uploadCheckpoint.bucket,key:t.uploadCheckpoint.key,uploadId:t.uploadCheckpoint.uploadId};return e?(t.eventCallback("completeMultipartUploadFailed",r,e),t.callback(e)):n.CommonMsg.Status>=500?(t.eventCallback("completeMultipartUploadFailed",r,n),t.callback(null,n)):n.CommonMsg.Status>=300&&n.CommonMsg.Status<500?(t.eventCallback("completeMultipartUploadAborted",r,n),In(t.uploadCheckpoint,t.funcName,t.that),t.callback(null,n)):(t.eventCallback("completeMultipartUploadSucceed",r,n),void t.callback(null,n))}))}},Dn=function(t){t.resumeCallback({cancel:function(){t.isSuspend=!0;for(var e=0;e<t.uploadPartParams.length;e++){var n=t.uploadPartParams[e].cancelHook;r=n,"[object Function]"===Object.prototype.toString.call(r)&&n()}var r}},t.uploadCheckpoint);var e=[],n=function(){for(;t.runningTask<t.taskNum&&e.length>0;)e.shift()();0===e.length&&jn(t)},r=window.btoa?window.btoa:te.encode,o=function(o){return function(){if(t.runningTask++,t.isSuspend||t.isAbort)return t.runningTask--,t.finishedCount++,t.finishedCount+=e.length,e=[],n();var i,a,s,c,u=0,l=function(e){if(!u){u=1;var r,i={Bucket:t.uploadCheckpoint.bucket,Key:t.uploadCheckpoint.key,RequestDate:t.uploadCheckpoint.requestDate,PartNumber:o.partNumber,UploadId:t.uploadCheckpoint.uploadId,SourceFile:t.uploadCheckpoint.sourceFile,Offset:o.offset,PartSize:o.partSize,SseC:t.uploadCheckpoint.sseC,SseCKey:t.uploadCheckpoint.sseCKey,ProgressCallback:(r=o.partNumber,function(e,n,o){t.progressCallback(r,e)}),ContentMD5:e};t.uploadPartParams.push(i),t.that.uploadPart(i,(function(e,r){if(t.runningTask--,t.finishedCount++,t.isSuspend)return n();var i={partNumber:o.partNumber,bucket:t.uploadCheckpoint.bucket,key:t.uploadCheckpoint.key,uploadId:t.uploadCheckpoint.uploadId};e?(t.eventCallback("uploadPartFailed",i,e),t.hasError=!0):r.CommonMsg.Status>=500||400===r.CommonMsg.Status&&"BadDigest"===r.CommonMsg.Code?(t.eventCallback("uploadPartFailed",i,r),t.hasError=!0):r.CommonMsg.Status>=300&&r.CommonMsg.Status<500?(t.isAbort=!0,t.hasError=!0,t.eventCallback("uploadPartAborted",i,r)):(o.etag=r.InterfaceResult.ETag,o.isCompleted=!0,i.etag=o.etag,t.uploadCheckpoint.md5=Rn(t.uploadCheckpoint),t.eventCallback("uploadPartSucceed",i,r),t.that.log.runLog("debug",t.funcName,"Part "+String(o.partNumber)+" is finished, uploadId "+t.uploadCheckpoint.uploadId)),n()}))}};if(t.verifyMd5&&window.FileReader&&(t.uploadCheckpoint.sourceFile instanceof window.File||t.uploadCheckpoint.sourceFile instanceof window.Blob)){var p=(i=t.uploadCheckpoint.sourceFile,a=o.offset,s=o.offset+o.partSize,c=c||i.type,i.mozSlice?i.mozSlice(a,s,c):i.webkitSlice?i.webkitSlice(a,s,c):i.slice(a,s,c)),f=new window.FileReader;return f.onload=function(t){var e=function(t){t=new Uint8Array(t);for(var e,n=0;n<t.length;){var r=n+16384;r=r<=t.length?r:t.length,e?e+=String.fromCharCode.apply(null,t.slice(n,r)):e=String.fromCharCode.apply(null,t.slice(n,r)),n=r}return t=null,e}(t.target.result),n=r(ne()(e,!1,!0));e=null,l(n)},f.onerror=function(e){t.that.log.runLog("error",t.funcName,"Caculate md5 for part "+String(o.partNumber)+" failed"),l()},void f.readAsArrayBuffer(p)}l()}};if(!t.isSuspend){for(var i=0;i<t.uploadCheckpoint.partCount;i++){var a=t.uploadCheckpoint.parts[i];a.isCompleted?(t.finishedCount++,t.finishedBytes+=a.partSize):e.push(o(a))}return 0===e.length?jn(t):n()}t.callback("the process of uploadFile is suspened, you can retry with the uploadCheckpoint")},Bn={extend:function(t){t.prototype.uploadFile=function(t,e){var n=this;t=t||{};var r="uploadFile",o=function(t,e,n){t=t||function(){};var r=(new Date).getTime();return function(n,o){return e.runLog("info","uploadFile","ObsClient cost "+((new Date).getTime()-r)+" ms"),"[object String]"===Object.prototype.toString.call(n)?t(new Error(n),o):t(n,o)}}(e,n.log),i=function(t){return t=t||function(){},function(e,n,r){return"[object Error]"===Object.prototype.toString.call(r)?t(e,n,r):"[object String]"===Object.prototype.toString.call(r)?t(e,n,new Error(r)):r?r.CommonMsg.Status>300?t(e,n,new Error("status:"+r.CommonMsg.Status+", code:"+r.CommonMsg.Code+", message:"+r.CommonMsg.Message)):void t(e,n,r):void 0}}(t.EventCallback),a=t.TaskNum||1,s=t.ProgressCallback||function(){},c=t.ResumeCallback||function(){},u=t.VerifyMd5||!1;n.log.runLog("info",r,"enter uploadFile...");var l=null;if(t.UploadCheckpoint&&t.UploadCheckpoint.sourceFile&&t.UploadCheckpoint.fileStat&&t.UploadCheckpoint.uploadId&&t.UploadCheckpoint.md5===Rn(t.UploadCheckpoint)?l=t.UploadCheckpoint:In(t.UploadCheckpoint,r,n),l){var p=l.sourceFile;if(!(p instanceof window.File||p instanceof window.Blob))return o("source file is not valid, must be an instanceof [File | Blob]");if(!p.mozSlice&&!p.webkitSlice&&!p.slice)return o("your browser cannot support the slice method for [File | Blob]")}else{var f=t.SourceFile;if(!(f instanceof window.File||f instanceof window.Blob))return o("source file is not valid, must be an instanceof [File | Blob]");if(!f.mozSlice&&!f.webkitSlice&&!f.slice)return o("your browser cannot support the slice method for [File | Blob]");n.log.runLog("debug",r,"Begin to uploadFile to OBS from file:"+f.name);var d=f.size,h=parseInt(t.PartSize,10),m=0,g=[];if(0===d)h=0,m=1,g.push({partNumber:1,offset:0,partSize:0,isCompleted:!1});else{if(h=isNaN(h)||h<102400?9437184:h>Mn?Mn:h,(m=Math.floor(d/h))>=1e4&&(h=Math.floor(d/1e4),d%1e4!=0&&(h+=1),m=Math.floor(d/h)),h>Mn)return o("The source file "+f.name+" is too large");var v=d%h;0!==v&&m++;for(var y=0;y<m;y++)g.push({partNumber:y+1,offset:y*h,partSize:h,isCompleted:!1});0!==v&&(g[m-1].partSize=v)}n.log.runLog("debug",r,"Total parts count "+m),(l={bucket:t.Bucket,key:t.Key,sourceFile:f,partSize:h,partCount:m,parts:g}).fileStat={fileSize:d,lastModified:f.lastModified},t.SseC&&t.SseCKey&&(l.sseC=t.SseC,l.sseCKey=t.SseCKey),l.md5=Rn(l)}l.requestDate=t.RequestDate;var b={start:(new Date).getTime(),uploadCheckpoint:l,funcName:r,taskNum:a,callback:o,that:n,runningTask:0,finishedCount:0,hasError:!1,finishedBytes:0,isAbort:!1,resumeCallback:c,isSuspend:!1,partsLoaded:{},requestDate:t.RequestDate,uploadPartParams:[],verifyMd5:u,callbackUrl:t.CallbackUrl,callbackHost:t.CallbackHost,callbackBody:t.CallbackBody,callbackBodyType:t.CallbackBodyType,eventCallback:function(t,e,n){b.isSuspend||i(t,e,n)},progressCallback:function(t,e){b.isSuspend||(b.finishedBytes+=e,b.partsLoaded[t]&&(b.finishedBytes-=b.partsLoaded[t]),b.partsLoaded[t]=e,s(b.finishedBytes,b.uploadCheckpoint.fileStat.fileSize,((new Date).getTime()-b.start)/1e3))}};if(!l.uploadId){var w=t.ContentType;return!w&&l.key&&(w=n.util.mimeTypes[l.key.substring(l.key.lastIndexOf(".")+1)]),!w&&l.sourceFile.name&&(w=n.util.mimeTypes[l.sourceFile.name.substring(l.sourceFile.name.lastIndexOf(".")+1)]),void n.initiateMultipartUpload({Bucket:t.Bucket,Key:t.Key,RequestDate:t.RequestDate,ACL:t.ACL,Metadata:t.Metadata,WebsiteRedirectLocation:t.WebsiteRedirectLocation,StorageClass:t.StorageClass,ContentType:w,Expires:t.Expires,SseKms:t.SseKms,SseKmsKey:t.SseKmsKey,SseC:t.SseC,SseCKey:t.SseCKey},(function(e,i){var a={bucket:t.Bucket,key:t.Key};if(e)return b.eventCallback("initiateMultipartUploadFailed",a,e),o(e);if(i.CommonMsg.Status>=300)return b.eventCallback("initiateMultipartUploadFailed",a,i),o(null,i);var s=i.InterfaceResult.UploadId;l.uploadId=s,l.md5=Rn(l),b.uploadCheckpoint=l,a.uploadId=s,n.log.runLog("info",r,"Claim a new upload id "+s),b.eventCallback("initiateMultipartUploadSucceed",a,i),Dn(b)}))}Dn(b)}}},Nn=Bn;function Un(t){this.factory(t)}function $n(t){return t.slice(0,1).toUpperCase()+t.slice(1)}var Fn=["createBucket","listBuckets","getBucketMetadata","headBucket","deleteBucket","setBucketQuota","getBucketQuota","getBucketStorageInfo","setBucketPolicy","getBucketPolicy","deleteBucketPolicy","setBucketVersioningConfiguration","getBucketVersioningConfiguration","putBackToSource","deleteBackToSource","getBackToSource","getBucketLocation","listVersions","listObjects","setBucketLifecycleConfiguration","getBucketLifecycleConfiguration","deleteBucketLifecycleConfiguration","setBucketAcl","getBucketAcl","setBucketLoggingConfiguration","getBucketLoggingConfiguration","setBucketWebsiteConfiguration","getBucketWebsiteConfiguration","deleteBucketWebsiteConfiguration","setBucketNotification","getBucketNotification","setBucketTagging","getBucketTagging","deleteBucketTagging","getBucketCors","deleteBucketCors","setBucketStoragePolicy","getBucketStoragePolicy","getObject","getObjectMetadata","setObjectMetadata","setObjectAcl","getObjectAcl","deleteObject","deleteObjects","listMultipartUploads","listParts","abortMultipartUpload","completeMultipartUpload","getBucketInventory","setBucketInventory","deleteBucketInventory","getBucketEncryption","setBucketEncryption","deleteBucketEncryption","getBucketRequesterPay","setBucketRequesterPay","setMirrorBackToSource","getMirrorBackToSource","deleteMirrorBackToSource","getWorkflowTrigger","deleteWorkflowTrigger","createWorkflowTrigger","restoreFailedWorkflowExecution","createTemplate","createWorkflow","getWorkflowList","deleteWorkflow","getWorkflowTemplateList","getWorkflowInstanceList","deleteTemplate","updateWorkflow","getActionTemplates","getWorkflowAuthorization","openWorkflowAuthorization","getBucketDirectColdAccess","setBucketDirectColdAccess","deleteBucketDirectColdAccess","getBucketCustomDomain","setBucketCustomDomain","deleteBucketCustomDomain","setBucketCors","getBucketReplication","setBucketReplication","deleteBucketReplication","getCDNNotifyConfiguration","setCdnNotifyConfiguration","getQuota","getBucketDisPolicy","setBucketDisPolicy","deleteBucketDisPolicy","createOnlineDecom","getOnlineDecom","getWorkflowAgreements","openWorkflowAgreements","deleteOnlineDecom","getMyActionTemplates","createMyActionTemplate","getMyactiontemplateDetail","updateMyActionTemplate","deleteMyActionTemplate","forbidMyActionTemplate","updatePublicActionTemplate","getOmPublicActionTemplates","setSFSAcl","getSFSAcl","deleteSFSAcl","setBucketAlias","bindBucketAlias","unbindBucketAlias","deleteBucketAlias","listBucketsAlias","getBucketAlias"];function Gn(t){return function(e,n){this.exec($n(t),e,n)}}for(var qn=0;qn<Fn.length;qn++){var Kn=Fn[qn];Un.prototype[Kn]=Gn(Kn)}function Hn(t){return"[object Function]"===Object.prototype.toString.call(t)}function Vn(t){return function(e,n){if(Hn(e))t.call(this,null,e);else{if(!Hn(n)){var r=this;return new Promise((function(n,o){t.call(r,e,(function(t,e){if(t)return o(t);n(e)}))}))}t.call(this,e,n)}}}if(Un.prototype.createTemplate=function(t,e){t.ApiPath="v2/workflowtemplates",this.exec("CreateTemplate",t,e)},Un.prototype.createWorkflow=function(t,e){t.ApiPath="v2/workflows",this.exec("CreateWorkflow",t,e)},Un.prototype.restoreFailedWorkflowExecution=function(t,e){t.ApiPath="v2/workflowexecutions",this.exec("RestoreFailedWorkflowExecution",t,e)},Un.prototype.getWorkflowList=function(t,e){t.ApiPath="v2/workflows",this.exec("GetWorkflowList",t,e)},Un.prototype.deleteWorkflow=function(t,e){t.ApiPath="v2/workflows",this.exec("DeleteWorkflow",t,e)},Un.prototype.deleteTemplate=function(t,e){t.ApiPath="v2/workflowtemplates",this.exec("DeleteTemplate",t,e)},Un.prototype.getWorkflowTemplateList=function(t,e){t.ApiPath="v2/workflowtemplates",this.exec("GetWorkflowTemplateList",t,e)},Un.prototype.getWorkflowInstanceList=function(t,e){t.ApiPath="v2/workflowexecutions",this.exec("GetWorkflowInstanceList",t,e)},Un.prototype.updateWorkflow=function(t,e){t.ApiPath="v2/workflows",this.exec("UpdateWorkflow",t,e)},Un.prototype.getActionTemplates=function(t,e){t.ApiPath="v2/actiontemplates",this.exec("GetActionTemplates",t,e)},Un.prototype.getWorkflowAuthorization=function(t,e){t.ApiPath="v2/workflow-authorization",this.exec("GetWorkflowAuthorization",t,e)},Un.prototype.openWorkflowAuthorization=function(t,e){t.ApiPath="v2/workflow-authorization",this.exec("OpenWorkflowAuthorization",t,e)},Un.prototype.getPublicationTemplates=function(t,e){this.util.pathStyle=!0,t.ApiPath="v2/publicactiontemplates",this.exec("GetPublicationTemplates",t,e),this.util.pathStyle=!1},Un.prototype.getPublicationTemplateDetail=function(t,e){this.util.pathStyle=!0,t.ApiPath="v2/publicactiontemplates",this.exec("GetPublicationTemplateDetail",t,e),this.util.pathStyle=!1},Un.prototype.getWorkflowAgreements=function(t,e){this.util.pathStyle=!0,t.ApiPath="v2/workflow-agreements",this.exec("GetWorkflowAgreements",t,e),this.util.pathStyle=!1},Un.prototype.openWorkflowAgreements=function(t,e){this.util.pathStyle=!0,t.ApiPath="v2/workflow-agreements",this.exec("OpenWorkflowAgreements",t,e),this.util.pathStyle=!1},Un.prototype.createMyActionTemplate=function(t,e){this.util.pathStyle=!0,t.ApiPath="v2/myactiontemplates",this.exec("CreateMyActionTemplate",t,e),this.util.pathStyle=!1},Un.prototype.getMyActionTemplates=function(t,e){this.util.pathStyle=!0,t.ApiPath="v2/myactiontemplates",this.exec("GetMyActionTemplates",t,e),this.util.pathStyle=!1},Un.prototype.getMyactiontemplateDetail=function(t,e){this.util.pathStyle=!0,t.ApiPath="v2/myactiontemplates",this.exec("GetMyactiontemplateDetail",t,e),this.util.pathStyle=!1},Un.prototype.updateMyActionTemplate=function(t,e){this.util.pathStyle=!0,t.ApiPath="v2/myactiontemplates",this.exec("UpdateMyActionTemplate",t,e),this.util.pathStyle=!1},Un.prototype.deleteMyActionTemplate=function(t,e){this.util.pathStyle=!0,t.ApiPath="v2/myactiontemplates",this.exec("DeleteMyActionTemplate",t,e),this.util.pathStyle=!1},Un.prototype.forbidMyActionTemplate=function(t,e){this.util.pathStyle=!0,t.ApiPath="v2/myactiontemplates",this.exec("ForbidMyActionTemplate",t,e),this.util.pathStyle=!1},Un.prototype.updatePublicActionTemplate=function(t,e){this.util.pathStyle=!0,t.ApiPath="v2/ompublicactiontemplates",this.exec("UpdatePublicActionTemplate",t,e),this.util.pathStyle=!1},Un.prototype.getOmPublicActionTemplates=function(t,e){this.util.pathStyle=!0,t.ApiPath="v2/ompublicactiontemplates",this.exec("GetOmPublicActionTemplates",t,e),this.util.pathStyle=!1},Un.prototype.putObject=function(t,e){if("Body"in t&&"SourceFile"in t){var n="the input body and sourcefile exist at same time,please specify one of eigther a string or file to be send!";return this.log.runLog("error","PutObject",n),e(new Error(n),null)}if(!("ContentType"in t)&&("Key"in t&&(t.ContentType=this.util.mimeTypes[t.Key.substring(t.Key.lastIndexOf(".")+1)]),!t.ContentType&&"SourceFile"in t)){var r=t.SourceFile.name;t.ContentType=this.util.mimeTypes[r.substring(r.lastIndexOf(".")+1)]}this.exec("PutObject",t,e)},Un.prototype.appendObject=function(t,e){if("Body"in t&&"SourceFile"in t){var n="the input body and sourcefile exist at same time,please specify one of eigther a string or file to be send!";return this.log.isLevelEnabled("error")&&this.log.runLog("error","PutObject",n),e(new Error(n),null)}"ContentType"in t||("Key"in t&&(t.ContentType=this.util.mimeTypes[t.Key.substring(t.Key.lastIndexOf(".")+1)]),!t.ContentType&&"SourceFile"in t&&(t.ContentType=this.util.mimeTypes[t.SourceFile.substring(t.SourceFile.lastIndexOf(".")+1)])),this.exec("AppendObject",t,e)},Un.prototype.copyObject=function(t,e){var n="CopySource";if(n in t){var r=t[n],o=r.lastIndexOf("?versionId=");t[n]=o>0?this.util.encodeURIWithSafe(r.slice(0,o))+r.slice(o):this.util.encodeURIWithSafe(r)}this.exec("CopyObject",t,e)},Un.prototype.copyPart=function(t,e){var n="CopySource";if(n in t){var r=t[n],o=r.lastIndexOf("?versionId=");t[n]=o>0?this.util.encodeURIWithSafe(r.slice(0,o))+r.slice(o):this.util.encodeURIWithSafe(r)}this.exec("CopyPart",t,e)},Un.prototype.restoreObject=function(t,e){this.exec("RestoreObject",t,(function(t,n){!t&&n.InterfaceResult&&n.CommonMsg.Status<300&&(n.InterfaceResult.RestoreStatus=200===n.CommonMsg.Status?"AVALIABLE":"INPROGRESS"),e(t,n)}))},Un.prototype.initiateMultipartUpload=function(t,e){"ContentType"in t||"Key"in t&&(t.ContentType=this.util.mimeTypes[t.Key.substring(t.Key.lastIndexOf(".")+1)]),this.exec("InitiateMultipartUpload",t,e)},Un.prototype.uploadPart=function(t,e){if("Body"in t&&"SourceFile"in t){var n="the input body and sourcefile exist at same time, please specify one of eigther a string or file to be send!";return this.log.runLog("error","UploadPart",n),e(new Error(n),null)}this.exec("UploadPart",t,e)},Ln.extend(Un),Nn.extend(Un),Hn(Promise))for(var zn in Un.prototype)if({}.hasOwnProperty.call(Un.prototype,zn)){var Wn=Un.prototype[zn];Un.prototype[zn]=Vn(Wn)}for(var Xn in Un.prototype.exec=function(t,e,n){var r=this.log;r.runLog("info",t,"enter "+t+"...");var o=(new Date).getTime();e=e||{},n=n||function(){},this.util.exec(t,e,(function e(i,a){e.$called||(e.$called=!0,!i||i instanceof Error||(i=new Error(i)),r.runLog("debug",t,"ObsClient cost "+((new Date).getTime()-o)+" ms"),n(i,a))}))},Un.prototype.initLog=function(t){t=t||{},this.log.setLevel(t.level);var e=["[OBS SDK Version="+this.util.obsSdkVersion];if(this.util.server){var n=this.util.port?":"+this.util.port:"";e.push("Endpoint="+(this.util.is_secure?"https":"http")+"://"+this.util.server+n)}e.push("Access Mode="+(this.util.path_style?"Path":"Virtual Hosting")+"]"),this.log.runLog("warn","init",e.join("];["))},Un.prototype.factory=function(t){this.log=new Sn,this.util=new An(this.log),t=t||{},this.util.initFactory(t.access_key_id,t.secret_access_key,t.is_secure,t.server,t.path_style,t.signature,t.region,t.port,t.timeout,t.security_token,t.is_signature_negotiation,t.is_cname,t.url_prefix,t.region_domains,t.setRequestHeaderHook,t.useRawXhr)},Un.prototype.refresh=function(t,e,n){this.util.refresh(t,e,n)},Un.prototype.createSignedUrlSync=function(t){return this.util.createSignedUrlSync(t)},Un.prototype.createV2SignedUrlSync=function(t){return this.util.createV2SignedUrlSync(t)},Un.prototype.createV4SignedUrlSync=function(t){return this.util.createV4SignedUrlSync(t)},Un.prototype.createPostSignatureSync=function(t){return this.util.createPostSignatureSync(t)},Un.prototype.createV4PostSignatureSync=function(t){return this.util.createV4PostSignatureSync(t)},Un.prototype.enums=Cn,Un.prototype)({}).hasOwnProperty.call(Un.prototype,Xn)&&(Un.prototype[$n(Xn)]=Un.prototype[Xn]);for(var Yn in Un.prototype)if({}.hasOwnProperty.call(Un.prototype,Yn)){var Zn=Yn.indexOf("Configuration");Zn>0&&Zn+13===Yn.length&&(Un.prototype[Yn.slice(0,Zn)]=Un.prototype[Yn])}var Qn=Un}(),i.default}();var esdkObsBrowserjs_3_22_3_minExports=esdkObsBrowserjs_3_22_3_min.exports,ObsClient=getDefaultExportFromCjs(esdkObsBrowserjs_3_22_3_minExports),dayjs_min={exports:{}};dayjs_min.exports=function(){var t=1e3,e=6e4,n=36e5,r="millisecond",o="second",i="minute",a="hour",s="day",c="week",u="month",l="quarter",p="year",f="date",d="Invalid Date",h=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,m=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,g={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(t){var e=["th","st","nd","rd"],n=t%100;return"["+t+(e[(n-20)%10]||e[n]||e[0])+"]"}},v=function(t,e,n){var r=String(t);return!r||r.length>=e?t:""+Array(e+1-r.length).join(n)+t},y={s:v,z:function(t){var e=-t.utcOffset(),n=Math.abs(e),r=Math.floor(n/60),o=n%60;return(e<=0?"+":"-")+v(r,2,"0")+":"+v(o,2,"0")},m:function t(e,n){if(e.date()<n.date())return-t(n,e);var r=12*(n.year()-e.year())+(n.month()-e.month()),o=e.clone().add(r,u),i=n-o<0,a=e.clone().add(r+(i?-1:1),u);return+(-(r+(n-o)/(i?o-a:a-o))||0)},a:function(t){return t<0?Math.ceil(t)||0:Math.floor(t)},p:function(t){return{M:u,y:p,w:c,d:s,D:f,h:a,m:i,s:o,ms:r,Q:l}[t]||String(t||"").toLowerCase().replace(/s$/,"")},u:function(t){return void 0===t}},b="en",w={};w[b]=g;var x="$isDayjsObject",_=function(t){return t instanceof S||!(!t||!t[x])},A=function t(e,n,r){var o;if(!e)return b;if("string"==typeof e){var i=e.toLowerCase();w[i]&&(o=i),n&&(w[i]=n,o=i);var a=e.split("-");if(!o&&a.length>1)return t(a[0])}else{var s=e.name;w[s]=e,o=s}return!r&&o&&(b=o),o||!r&&b},k=function(t,e){if(_(t))return t.clone();var n="object"==typeof e?e:{};return n.date=t,n.args=arguments,new S(n)},E=y;E.l=A,E.i=_,E.w=function(t,e){return k(t,{locale:e.$L,utc:e.$u,x:e.$x,$offset:e.$offset})};var S=function(){function g(t){this.$L=A(t.locale,null,!0),this.parse(t),this.$x=this.$x||t.x||{},this[x]=!0}var v=g.prototype;return v.parse=function(t){this.$d=function(t){var e=t.date,n=t.utc;if(null===e)return new Date(NaN);if(E.u(e))return new Date;if(e instanceof Date)return new Date(e);if("string"==typeof e&&!/Z$/i.test(e)){var r=e.match(h);if(r){var o=r[2]-1||0,i=(r[7]||"0").substring(0,3);return n?new Date(Date.UTC(r[1],o,r[3]||1,r[4]||0,r[5]||0,r[6]||0,i)):new Date(r[1],o,r[3]||1,r[4]||0,r[5]||0,r[6]||0,i)}}return new Date(e)}(t),this.init()},v.init=function(){var t=this.$d;this.$y=t.getFullYear(),this.$M=t.getMonth(),this.$D=t.getDate(),this.$W=t.getDay(),this.$H=t.getHours(),this.$m=t.getMinutes(),this.$s=t.getSeconds(),this.$ms=t.getMilliseconds()},v.$utils=function(){return E},v.isValid=function(){return!(this.$d.toString()===d)},v.isSame=function(t,e){var n=k(t);return this.startOf(e)<=n&&n<=this.endOf(e)},v.isAfter=function(t,e){return k(t)<this.startOf(e)},v.isBefore=function(t,e){return this.endOf(e)<k(t)},v.$g=function(t,e,n){return E.u(t)?this[e]:this.set(n,t)},v.unix=function(){return Math.floor(this.valueOf()/1e3)},v.valueOf=function(){return this.$d.getTime()},v.startOf=function(t,e){var n=this,r=!!E.u(e)||e,l=E.p(t),d=function(t,e){var o=E.w(n.$u?Date.UTC(n.$y,e,t):new Date(n.$y,e,t),n);return r?o:o.endOf(s)},h=function(t,e){return E.w(n.toDate()[t].apply(n.toDate("s"),(r?[0,0,0,0]:[23,59,59,999]).slice(e)),n)},m=this.$W,g=this.$M,v=this.$D,y="set"+(this.$u?"UTC":"");switch(l){case p:return r?d(1,0):d(31,11);case u:return r?d(1,g):d(0,g+1);case c:var b=this.$locale().weekStart||0,w=(m<b?m+7:m)-b;return d(r?v-w:v+(6-w),g);case s:case f:return h(y+"Hours",0);case a:return h(y+"Minutes",1);case i:return h(y+"Seconds",2);case o:return h(y+"Milliseconds",3);default:return this.clone()}},v.endOf=function(t){return this.startOf(t,!1)},v.$set=function(t,e){var n,c=E.p(t),l="set"+(this.$u?"UTC":""),d=(n={},n[s]=l+"Date",n[f]=l+"Date",n[u]=l+"Month",n[p]=l+"FullYear",n[a]=l+"Hours",n[i]=l+"Minutes",n[o]=l+"Seconds",n[r]=l+"Milliseconds",n)[c],h=c===s?this.$D+(e-this.$W):e;if(c===u||c===p){var m=this.clone().set(f,1);m.$d[d](h),m.init(),this.$d=m.set(f,Math.min(this.$D,m.daysInMonth())).$d}else d&&this.$d[d](h);return this.init(),this},v.set=function(t,e){return this.clone().$set(t,e)},v.get=function(t){return this[E.p(t)]()},v.add=function(r,l){var f,d=this;r=Number(r);var h=E.p(l),m=function(t){var e=k(d);return E.w(e.date(e.date()+Math.round(t*r)),d)};if(h===u)return this.set(u,this.$M+r);if(h===p)return this.set(p,this.$y+r);if(h===s)return m(1);if(h===c)return m(7);var g=(f={},f[i]=e,f[a]=n,f[o]=t,f)[h]||1,v=this.$d.getTime()+r*g;return E.w(v,this)},v.subtract=function(t,e){return this.add(-1*t,e)},v.format=function(t){var e=this,n=this.$locale();if(!this.isValid())return n.invalidDate||d;var r=t||"YYYY-MM-DDTHH:mm:ssZ",o=E.z(this),i=this.$H,a=this.$m,s=this.$M,c=n.weekdays,u=n.months,l=n.meridiem,p=function(t,n,o,i){return t&&(t[n]||t(e,r))||o[n].slice(0,i)},f=function(t){return E.s(i%12||12,t,"0")},h=l||function(t,e,n){var r=t<12?"AM":"PM";return n?r.toLowerCase():r};return r.replace(m,(function(t,r){return r||function(t){switch(t){case"YY":return String(e.$y).slice(-2);case"YYYY":return E.s(e.$y,4,"0");case"M":return s+1;case"MM":return E.s(s+1,2,"0");case"MMM":return p(n.monthsShort,s,u,3);case"MMMM":return p(u,s);case"D":return e.$D;case"DD":return E.s(e.$D,2,"0");case"d":return String(e.$W);case"dd":return p(n.weekdaysMin,e.$W,c,2);case"ddd":return p(n.weekdaysShort,e.$W,c,3);case"dddd":return c[e.$W];case"H":return String(i);case"HH":return E.s(i,2,"0");case"h":return f(1);case"hh":return f(2);case"a":return h(i,a,!0);case"A":return h(i,a,!1);case"m":return String(a);case"mm":return E.s(a,2,"0");case"s":return String(e.$s);case"ss":return E.s(e.$s,2,"0");case"SSS":return E.s(e.$ms,3,"0");case"Z":return o}return null}(t)||o.replace(":","")}))},v.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},v.diff=function(r,f,d){var h,m=this,g=E.p(f),v=k(r),y=(v.utcOffset()-this.utcOffset())*e,b=this-v,w=function(){return E.m(m,v)};switch(g){case p:h=w()/12;break;case u:h=w();break;case l:h=w()/3;break;case c:h=(b-y)/6048e5;break;case s:h=(b-y)/864e5;break;case a:h=b/n;break;case i:h=b/e;break;case o:h=b/t;break;default:h=b}return d?h:E.a(h)},v.daysInMonth=function(){return this.endOf(u).$D},v.$locale=function(){return w[this.$L]},v.locale=function(t,e){if(!t)return this.$L;var n=this.clone(),r=A(t,e,!0);return r&&(n.$L=r),n},v.clone=function(){return E.w(this.$d,this)},v.toDate=function(){return new Date(this.valueOf())},v.toJSON=function(){return this.isValid()?this.toISOString():null},v.toISOString=function(){return this.$d.toISOString()},v.toString=function(){return this.$d.toUTCString()},g}(),T=S.prototype;return k.prototype=T,[["$ms",r],["$s",o],["$m",i],["$H",a],["$W",s],["$M",u],["$y",p],["$D",f]].forEach((function(t){T[t[1]]=function(e){return this.$g(e,t[0],t[1])}})),k.extend=function(t,e){return t.$i||(t(e,S,k),t.$i=!0),k},k.locale=A,k.isDayjs=_,k.unix=function(t){return k(1e3*t)},k.en=w[b],k.Ls=w,k.p={},k}();var dayjs_minExports=dayjs_min.exports,dayjs=getDefaultExportFromCjs(dayjs_minExports),getContentType=function(t){return{".jpg":"image/jpeg",".jpeg":"image/jpeg",".png":"image/png",".gif":"image/gif"}[t.toLowerCase()]||""},getNormalizeAliOssCope=function(t){var e="";return t&&(!0===t?e="image/resize,m_fixed,w_100,h_100":"string"==typeof t?e=t:(t.width||t.height)&&(e="image/resize,m_fixed",t.width&&(e+=",w_".concat(t.width)),t.height&&(e+=",h_".concat(t.height)))),e},getUrl=function(){var t=_asyncToGenerator(_regeneratorRuntime().mark((function t(e){var n,r,o,i,a,s,c,u,l,p,f,d,h,m,g,v,y,b,w,x,_,A,k,E,S,T,C,P;return _regeneratorRuntime().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(n=e.type,r=void 0===n?"img":n,o=e.source,i=void 0===o?"":o,a=e.datetime,s=void 0===a?"":a,c=e.storagetype,u=void 0===c?"storage":c,l=e.cope,p=void 0===l?"":l,f=CloudServ$1.get(u)){t.next=4;break}throw Error("无可用存储设置");case 4:return t.next=6,initServToken();case 6:if(d=t.sent){t.next=9;break}throw Error("无可用servToken");case 9:if(h=CloudServ$1.isAliyun(u),m=CloudServ$1.isHuawei(u),g=login.getUser("tenantcode"),v=!!(i.match(/\/att\//)||i.match(/\/img\//)||i.match(/att\//)||i.match(/img\//)),y=i.slice(i.lastIndexOf(".")),b=dayjs(+s).format("YYYYMMDD"),w=v?i:"".concat(i.slice(0,3),"/").concat(r,"/").concat(b,"/").concat(g,"/").concat(i),x=getNormalizeAliOssCope(p),_=getContentType(y),!h){t.next=26;break}return A=new OSS({endpoint:f.cloudserv_storage_storageendpoint,accessKeyId:d.accesskeyid,accessKeySecret:d.accesskeysecret,stsToken:d.securitytoken,bucket:f.cloudserv_storage_storagebucket,secure:!0}),k={"content-disposition":"attachment; filename="+(i&&encodeURIComponent(i))},_&&(k["content-type"]=_),E=A.signatureUrl(w,{response:k,process:x}),t.abrupt("return",E);case 26:if(!m){t.next=43;break}return S=new ObsClient({access_key_id:d.accesskeyid,secret_access_key:d.accesskeysecret,server:f.cloudserv_storage_storageendpoint,security_token:d.securitytoken}),w&&"/"===w[0]&&(w=w.slice(1)),t.prev=29,T={Bucket:f.cloudserv_storage_storagebucket,Key:w},_.startsWith("image")&&x&&(T.QueryParams={"x-image-process":x}),C=S.createSignedUrlSync(T),P=C.SignedUrl,t.abrupt("return",P);case 37:throw t.prev=37,t.t0=t.catch(29),console.error(t.t0),Error(t.t0);case 41:t.next=44;break;case 43:throw Error("暂不支持非阿里云OSS/华为云OBS存储类型");case 44:case"end":return t.stop()}}),t,null,[[29,37]])})));return function(e){return t.apply(this,arguments)}}(),downloadService={getUrl:getUrl};let getRandomValues;const rnds8=new Uint8Array(16);function rng(){if(!getRandomValues&&(getRandomValues="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!getRandomValues))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return getRandomValues(rnds8)}const byteToHex=[];for(let t=0;t<256;++t)byteToHex.push((t+256).toString(16).slice(1));function unsafeStringify(t,e=0){return byteToHex[t[e+0]]+byteToHex[t[e+1]]+byteToHex[t[e+2]]+byteToHex[t[e+3]]+"-"+byteToHex[t[e+4]]+byteToHex[t[e+5]]+"-"+byteToHex[t[e+6]]+byteToHex[t[e+7]]+"-"+byteToHex[t[e+8]]+byteToHex[t[e+9]]+"-"+byteToHex[t[e+10]]+byteToHex[t[e+11]]+byteToHex[t[e+12]]+byteToHex[t[e+13]]+byteToHex[t[e+14]]+byteToHex[t[e+15]]}const randomUUID="undefined"!=typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto);var native={randomUUID:randomUUID};function v4(t,e,n){if(native.randomUUID&&!e&&!t)return native.randomUUID();const r=(t=t||{}).random||(t.rng||rng)();if(r[6]=15&r[6]|64,r[8]=63&r[8]|128,e){n=n||0;for(let t=0;t<16;++t)e[n+t]=r[t];return e}return unsafeStringify(r)}var slice=Array.prototype.slice,co_1=co.default=co.co=co;function co(t){var e=this,n=slice.call(arguments,1);return new Promise((function(r,o){if("function"==typeof t&&(t=t.apply(e,n)),!t||"function"!=typeof t.next)return r(t);function i(e){var n;try{n=t.next(e)}catch(t){return o(t)}s(n)}function a(e){var n;try{n=t.throw(e)}catch(t){return o(t)}s(n)}function s(t){if(t.done)return r(t.value);var n=toPromise.call(e,t.value);return n&&isPromise(n)?n.then(i,a):a(new TypeError('You may only yield a function, promise, generator, array, or object, but the following object was passed: "'+String(t.value)+'"'))}i()}))}function toPromise(t){return t?isPromise(t)?t:isGeneratorFunction(t)||isGenerator(t)?co.call(this,t):"function"==typeof t?thunkToPromise.call(this,t):Array.isArray(t)?arrayToPromise.call(this,t):isObject(t)?objectToPromise.call(this,t):t:t}function thunkToPromise(t){var e=this;return new Promise((function(n,r){t.call(e,(function(t,e){if(t)return r(t);arguments.length>2&&(e=slice.call(arguments,1)),n(e)}))}))}function arrayToPromise(t){return Promise.all(t.map(toPromise,this))}function objectToPromise(t){for(var e=new t.constructor,n=Object.keys(t),r=[],o=0;o<n.length;o++){var i=n[o],a=toPromise.call(this,t[i]);a&&isPromise(a)?s(a,i):e[i]=t[i]}return Promise.all(r).then((function(){return e}));function s(t,n){e[n]=void 0,r.push(t.then((function(t){e[n]=t})))}}function isPromise(t){return"function"==typeof t.then}function isGenerator(t){return"function"==typeof t.next&&"function"==typeof t.throw}function isGeneratorFunction(t){var e=t.constructor;return!!e&&("GeneratorFunction"===e.name||"GeneratorFunction"===e.displayName||isGenerator(e.prototype))}function isObject(t){return Object==t.constructor}co.wrap=function(t){return e.__generatorFunction__=t,e;function e(){return co.call(this,t.apply(this,arguments))}};var co$1=getDefaultExportFromCjs(co_1),obsMultiUpload=function(){var t=_asyncToGenerator(_regeneratorRuntime().mark((function t(e,n,r){var o,i,a,s,c,u,l,p,f,d,h;return _regeneratorRuntime().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return o=r.partSize||1048576,i=r.parallel||3,t.next=4,e.initiateMultipartUpload({Bucket:r.bucket,Key:r.key});case 4:if(!((a=t.sent).CommonMsg.Status<300)){t.next=31;break}s=a.InterfaceResult.UploadId,c=Math.ceil(n.size/o),u=[],l=new Array(c).fill(0),p=_regeneratorRuntime().mark((function t(i){var a;return _regeneratorRuntime().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:a=function(){var t=_asyncToGenerator(_regeneratorRuntime().mark((function t(){var a;return _regeneratorRuntime().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e.uploadPart({Bucket:r.bucket,Key:r.key,PartNumber:i,UploadId:s,SourceFile:n,PartSize:o,Offset:o*(i-1),ProgressCallback:function(t,e){l[i-1]=t;var o=l.reduce((function(t,e){return t+e}),0)/n.size;1===o&&(o=.9999999),r.onProgress&&r.onProgress(o)}});case 2:if(!((a=t.sent).CommonMsg.Status<300)){t.next=7;break}return t.abrupt("return",{PartNumber:i,ETag:a.InterfaceResult.ETag});case 7:throw a.CommonMsg.Message;case 8:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),u.push(a);case 2:case"end":return t.stop()}}),t)})),f=1;case 12:if(!(f<=c)){t.next=17;break}return t.delegateYield(p(f),"t0",14);case 14:f++,t.next=12;break;case 17:return t.next=19,executeTasks(u,i);case 19:return d=t.sent,t.next=22,e.completeMultipartUpload({Bucket:r.bucket,Key:r.key,UploadId:s,Parts:d});case 22:if(!((h=t.sent).CommonMsg.Status<300)){t.next=28;break}return r.onProgress&&r.onProgress(1),t.abrupt("return",!0);case 28:throw h.CommonMsg.Message;case 29:t.next=33;break;case 31:throw console.error(a),a.CommonMsg.Message;case 33:case"end":return t.stop()}}),t)})));return function(e,n,r){return t.apply(this,arguments)}}(),executeTasks=function(){var t=_asyncToGenerator(_regeneratorRuntime().mark((function t(e){var n,r=arguments;return _regeneratorRuntime().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=r.length>1&&void 0!==r[1]?r[1]:3,t.abrupt("return",new Promise((function(t,r){var o=e.slice(0,n),i=e.slice(n),a=0,s=[],c=function n(o,c){if(a+=1,null!=c&&(s[c]=o),a===e.length&&t(s),i.length){var u=i.shift(),l=e.findIndex((function(t){return t===u}));return u&&u().then((function(t){return n(t,l)})).catch(r)}};if(!i.length){var u=o.map((function(t){return t()}));return Promise.all(u).then(t).catch(r)}for(var l=function(t){(0,o[t])().then((function(e){return c(e,t)})).catch(r)},p=0;p<o.length;p++)l(p)})));case 2:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),upload=function(){var t=_asyncToGenerator(_regeneratorRuntime().mark((function t(e){var n,r,o,i,a,s,c,u,l,p,f,d,h,m,g,v,y,b,w;return _regeneratorRuntime().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(n=e.type,r=void 0===n?"img":n,o=e.file,i=e.source,a=void 0===i?"":i,s=e.datetime,c=void 0===s?"":s,u=e.storagetype,l=void 0===u?"storage":u,p=e.onprogress,o){t.next=3;break}throw Error("请传入文件");case 3:if(f=CloudServ$1.get(l)){t.next=6;break}throw Error("无可用存储设置");case 6:return t.next=8,initServToken();case 8:if(d=t.sent){t.next=11;break}throw Error("无可用servToken");case 11:return h=CloudServ$1.isAliyun(l),m=CloudServ$1.isHuawei(l),g=login.getUser("tenantcode"),v="."+o.name.substring(o.name.lastIndexOf(".")+1),a=a||v4()+v,c=c||Date.now(),y=dayjs(+c).format("YYYYMMDD"),b="".concat(a.slice(0,3),"/").concat(r,"/").concat(y,"/").concat(g,"/").concat(a),w=new Promise(function(){var t=_asyncToGenerator(_regeneratorRuntime().mark((function t(e,n){var r,i;return _regeneratorRuntime().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!h){t.next=5;break}r=new OSS({endpoint:f.cloudserv_storage_storageendpoint,accessKeyId:d.accesskeyid,accessKeySecret:d.accesskeysecret,stsToken:d.securitytoken,bucket:f.cloudserv_storage_storagebucket,secure:!0}),co$1(_regeneratorRuntime().mark((function t(){return _regeneratorRuntime().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,r.multipartUpload(b,o,{headers:{"Content-Disposition":'filename="'+(o.name&&encodeURIComponent(o.name))},progress:_regeneratorRuntime().mark((function t(n,r){return _regeneratorRuntime().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:p&&p(n,r),1===n&&e({source:a,filename:o.name,type:o.type,date:y,datetime:c,file:o});case 2:case"end":return t.stop()}}),t)}))});case 2:case"end":return t.stop()}}),t)}))).catch((function(t){console.error(t),n(t)})),t.next=21;break;case 5:if(!m){t.next=20;break}return i=new ObsClient({access_key_id:d.accesskeyid,secret_access_key:d.accesskeysecret,server:f.cloudserv_storage_storageendpoint,security_token:d.securitytoken}),t.prev=7,t.next=10,obsMultiUpload(i,o,{bucket:f.cloudserv_storage_storagebucket,key:b,parallel:3,onProgress:function(t){p&&p(t)}});case 10:t.sent&&e({source:a,filename:o.name,type:o.type,date:y,datetime:c,file:o}),t.next=18;break;case 14:t.prev=14,t.t0=t.catch(7),console.error(t.t0),n(t.t0);case 18:t.next=21;break;case 20:throw Error("暂不支持非阿里云OSS/华为云OBS存储类型");case 21:case"end":return t.stop()}}),t,null,[[7,14]])})));return function(e,n){return t.apply(this,arguments)}}()),t.abrupt("return",w);case 21:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),uploadService={upload:upload},SPUWebPlugin={install:install,version:version};export{apaasAxios,SPUWebPlugin as default,downloadService,getDistance,getLocation,lsProxy,spuAxios,ssProxy,uploadService};
|
|
14
|
+
*/aliyunOssSdk_apaas_min.exports=function(){var t;return function(){function t(e,n,r){function o(a,s){if(!n[a]){if(!e[a]){var c="function"==typeof commonjsRequire&&commonjsRequire;if(!s&&c)return c(a,!0);if(i)return i(a,!0);var u=new Error("Cannot find module '"+a+"'");throw u.code="MODULE_NOT_FOUND",u}var l=n[a]={exports:{}};e[a][0].call(l.exports,(function(t){return o(e[a][1][t]||t)}),l,l.exports,t,e,n,r)}return n[a].exports}for(var i="function"==typeof commonjsRequire&&commonjsRequire,a=0;a<r.length;a++)o(r[a]);return o}return t}()({1:[function(t,e,n){var r=t("./browser/client");r.Buffer=t("buffer").Buffer,r.co=t("co"),r.urllib=t("../shims/xhr"),r.version=t("./browser/version").version,e.exports=r},{"../shims/xhr":244,"./browser/client":2,"./browser/version":5,buffer:38,co:41}],2:[function(t,e,n){(function(n,r){function o(t){return t&&t.__esModule?t:{default:t}}function i(t,e){return t[e]||t[e.toLowerCase()]}function a(t,e){var n=x.parse(t);if(!n.protocol){var r=e?"https://":"http://";n=x.parse(r+t)}if("http:"!==n.protocol&&"https:"!==n.protocol)throw new Error("Endpoint protocol must be http or https.");return n}function s(t,e,n){var r=n?"https://":"http://",o=e?"-internal.aliyuncs.com":".aliyuncs.com",i="vpc100-oss-cn-";return t.substr(0,i.length)===i&&(o=".aliyuncs.com"),x.parse(r+t+o)}function c(){return document&&document.location&&"https:"===document.location.protocol}function u(t,e){return this instanceof u?(t&&t.inited?this.options=t:this.options=u.initOptions(t),this.options.cancelFlag=!1,this.options.urllib?this.urllib=this.options.urllib:(this.urllib=E,this.agent=this.options.agent||L),this.ctx=e,this.userAgent=this._getUserAgent(),void(this.options.amendTimeSkewed=0)):new u(t,e)}var l=o(t("babel-runtime/regenerator")),p=o(t("babel-runtime/core-js/object/keys")),f=t("debug")("ali-oss"),d=t("./../../shims/crypto/crypto.js"),h=t("path"),m=t("copy-to"),g=t("mime"),v=t("xml2js"),y=t("humanize-ms"),b=t("agentkeepalive"),w=t("merge-descriptors"),x=t("url"),_=t("is-type-of"),A=t("platform"),k=t("utility"),E=t("urllib"),S=t("./version"),T=t("dateformat"),C=t("bowser"),P=t("../common/signUtils"),O=t("../common/utils"),L=new b;e.exports=u,u.initOptions=function(t){if(!t||!t.accessKeyId||!t.accessKeySecret)throw new Error("require accessKeyId, accessKeySecret");var e={region:"oss-cn-hangzhou",internal:!1,secure:c(),bucket:null,endpoint:null,cname:!1};if((0,p.default)(t).forEach((function(n){void 0!==t[n]&&(e[n]=t[n])})),e.accessKeyId=e.accessKeyId.trim(),e.accessKeySecret=e.accessKeySecret.trim(),e.timeout&&(e.timeout=y(e.timeout)),e.endpoint)e.endpoint=a(e.endpoint,e.secure);else{if(!e.region)throw new Error("require options.endpoint or options.region");e.endpoint=s(e.region,e.internal,e.secure)}return e.inited=!0,e};var M=u.prototype;w(M,t("./object")),w(M,t("./managed_upload")),w(M,t("../common/multipart")),w(M,t("../common/thunkpool.js")),u.Wrapper=t("./wrapper"),M.signature=function(t){return f("authorization stringToSign: %s",t),P.computeSignature(this.options.accessKeySecret,t)},M.authorization=function(t,e,n,r){var o=P.buildCanonicalString(t.toUpperCase(),e,{headers:r,parameters:n});return P.authorization(this.options.accessKeyId,this.options.accessKeySecret,o)},M.createRequest=function(t){var e={"x-oss-date":T(+new Date+this.options.amendTimeSkewed,"UTC:ddd, dd mmm yyyy HH:MM:ss 'GMT'"),"x-oss-user-agent":this.userAgent};this.options.stsToken&&(e["x-oss-security-token"]=this.options.stsToken),m(t.headers).to(e),i(e,"Content-Type")||(t.mime===g.default_type&&(t.mime=""),t.mime&&t.mime.indexOf("/")>0?e["Content-Type"]=t.mime:e["Content-Type"]=g.getType(t.mime||h.extname(t.object||""))||"application/octet-stream"),t.content&&(e["Content-Md5"]=d.createHash("md5").update(new r(t.content,"utf8")).digest("base64"),e["Content-Length"]||(e["Content-Length"]=t.content.length));var n=this._getResource(t);e.authorization=this.authorization(t.method,n,t.subres,e);var o=this._getReqUrl(t);f("request %s %s, with headers %j, !!stream: %s",t.method,o,e,!!t.stream);var a=t.timeout||this.options.timeout;return{url:o,params:{agent:this.agent,method:t.method,content:t.content,stream:t.stream,headers:e,timeout:a,writeStream:t.writeStream,customResponse:t.customResponse,ctx:t.ctx||this.ctx}}},M.request=l.default.mark((function t(e){var n,r,o,i;return l.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=this.createRequest(e),r=void 0,o=void 0,t.prev=3,t.next=6,this.urllib.request(n.url,n.params);case 6:r=t.sent,f("response %s %s, got %s, headers: %j",e.method,n.url,r.status,r.headers),t.next=13;break;case 10:t.prev=10,t.t0=t.catch(3),o=t.t0;case 13:if(i=void 0,!r||!e.successStatuses||-1!==e.successStatuses.indexOf(r.status)){t.next=26;break}return t.next=17,this.requestError(r);case 17:if("RequestTimeTooSkewed"!==(i=t.sent).code){t.next=23;break}return this.options.amendTimeSkewed=+new Date(i.serverTime)-new Date,t.next=22,this.request(e);case 22:return t.abrupt("return",t.sent);case 23:i.params=e,t.next=30;break;case 26:if(!o){t.next=30;break}return t.next=29,this.requestError(o);case 29:i=t.sent;case 30:if(!i){t.next=32;break}throw i;case 32:if(!e.xmlResponse){t.next=36;break}return t.next=35,this.parseXML(r.data);case 35:r.data=t.sent;case 36:return t.abrupt("return",r);case 37:case"end":return t.stop()}}),t,this,[[3,10]])})),M._getResource=function(t){var e="/";return t.bucket&&(e+=t.bucket+"/"),t.object&&(e+=t.object),e},M._isIP=function(t){return O._isIP(t)},M._escape=function(t){return k.encodeURIComponent(t).replace(/%2F/g,"/")},M._getReqUrl=function(t){var e={};m(this.options.endpoint).to(e);var n=this._isIP(e.hostname),r=this.options.cname,o="aliyuncs.com",i=~e.hostname.indexOf(o);t.bucket&&!r&&!n&&i&&(e.host=t.bucket+"."+e.host);var a="/";t.bucket&&(n||!n&&!i)&&(a+=t.bucket+"/"),t.object&&(a+=this._escape(t.object).replace(/\+/g,"%2B")),e.pathname=a;var s={};if(t.query&&w(s,t.query),t.subres){var c={};_.string(t.subres)?c[t.subres]="":_.array(t.subres)?t.subres.forEach((function(t){c[t]=""})):c=t.subres,w(s,c)}return e.query=s,x.format(e)},M._getUserAgent=function(){var t="aliyun-sdk-"+(n&&n.browser?"js":"nodejs")+"/"+S.version,e=A.description;return!e&&n&&(e="Node.js "+n.version.slice(1)+" on "+n.platform+" "+n.arch),this._checkUserAgent(t+" "+e)},M._checkUserAgent=function(t){return t.replace(/\u03b1/,"alpha").replace(/\u03b2/,"beta")},M.checkBrowserAndVersion=function(t,e){return C.name===t&&C.version.split(".")[0]===e},M.parseXML=function(t){return function(e){r.isBuffer(t)&&(t=t.toString()),v.parseString(t,{explicitRoot:!1,explicitArray:!1},e)}},M.requestError=l.default.mark((function t(e){var n,r,o,i;return l.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(n=null,e.data&&e.data.length){t.next=5;break}-1===e.status||-2===e.status?((n=new Error(e.message)).name=e.name,n.status=e.status,n.code=e.name):(404===e.status?((n=new Error("Object not exists")).name="NoSuchKeyError",n.status=404,n.code="NoSuchKey"):412===e.status?((n=new Error("Pre condition failed")).name="PreconditionFailedError",n.status=412,n.code="PreconditionFailed"):((n=new Error("Unknow error, status: "+e.status)).name="UnknowError",n.status=e.status),n.requestId=e.headers["x-oss-request-id"],n.host=""),t.next=30;break;case 5:return r=String(e.data),f("request response error data: %s",r),o=void 0,t.prev=8,t.next=11,this.parseXML(r)||{};case 11:o=t.sent,t.next=21;break;case 14:return t.prev=14,t.t0=t.catch(8),f(r),t.t0.message+="\nraw xml: "+r,t.t0.status=e.status,t.t0.requestId=e.headers["x-oss-request-id"],t.abrupt("return",t.t0);case 21:i=o.Message||"unknow request error, status: "+e.status,o.Condition&&(i+=" (condition: "+o.Condition+")"),(n=new Error(i)).name=o.Code?o.Code+"Error":"UnknowError",n.status=e.status,n.code=o.Code,n.requestId=o.RequestId,n.hostId=o.HostId,n.serverTime=o.ServerTime;case 30:return f("generate error %j",n),t.abrupt("return",n);case 32:case"end":return t.stop()}}),t,this,[[8,14]])}))}).call(this,t("_process"),t("buffer").Buffer)},{"../common/multipart":8,"../common/signUtils":9,"../common/thunkpool.js":10,"../common/utils":11,"./../../shims/crypto/crypto.js":237,"./managed_upload":3,"./object":4,"./version":5,"./wrapper":6,_process:173,agentkeepalive:12,"babel-runtime/core-js/object/keys":23,"babel-runtime/regenerator":33,bowser:35,buffer:38,"copy-to":43,dateformat:154,debug:155,"humanize-ms":160,"is-type-of":165,"merge-descriptors":168,mime:242,path:170,platform:171,url:203,urllib:244,utility:243,xml2js:213}],3:[function(t,e,n){(function(e){function r(t){return t&&t.__esModule?t:{default:t}}function o(t,e){return this instanceof o?(d.call(this,e),this.file=t,this.reader=new FileReader,this.start=0,this.finish=!1,void(this.fileBuffer=null)):new o(t,e)}var i=r(t("babel-runtime/core-js/array/from")),a=r(t("babel-runtime/regenerator")),s=t("is-type-of"),c=t("util"),u=t("path"),l=t("mime"),p=t("copy-to"),f=n;f.multipartUpload=a.default.mark((function t(e,n,r){var o,i,c,p,f,d,h,m,g;return a.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(this.resetCancelFlag(),!(r=r||{}).checkpoint||!r.checkpoint.uploadId){t.next=6;break}return t.next=5,this._resumeMultipart(r.checkpoint,r);case 5:case 38:return t.abrupt("return",t.sent);case 6:return o=102400,r.mime||(s.file(n)?r.mime=l.getType(u.extname(n.name)):s.blob(n)?r.mime=n.type:r.mime=l.getType(u.extname(n))),r.headers=r.headers||{},this._convertMetaToHeaders(r.meta,r.headers),t.next=12,this._getFileSize(n);case 12:if(i=t.sent,!(o>i)){t.next=25;break}return c=this._createStream(n,0,i),r.contentLength=i,t.next=18,this.putStream(e,c,r);case 18:if(p=t.sent,!r||!r.progress){t.next=22;break}return t.next=22,r.progress(1);case 22:return f={res:p.res,bucket:this.options.bucket,name:e,etag:p.res.headers.etag},(r.headers&&r.headers["x-oss-callback"]||r.callback)&&(f.data=p.data),t.abrupt("return",f);case 25:if(!(r.partSize&&r.partSize<o)){t.next=27;break}throw new Error("partSize must not be smaller than "+o);case 27:return t.next=29,this.initMultipartUpload(e,r);case 29:if(d=t.sent,h=d.uploadId,m=this._getPartSize(i,r.partSize),g={file:n,name:e,fileSize:i,partSize:m,uploadId:h,doneParts:[]},!r||!r.progress){t.next=36;break}return t.next=36,r.progress(0,g,d.res);case 36:return t.next=38,this._resumeMultipart(g,r);case 39:case"end":return t.stop()}}),t,this)})),f._resumeMultipart=a.default.mark((function t(e,n){var r,o,s,c,u,l,f,d,h,m,g,v,y,b,w,x,_,A,k,E,S;return a.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!this.isCancel()){t.next=2;break}throw this._makeCancelEvent();case 2:if(r=e.file,o=e.fileSize,s=e.partSize,c=e.uploadId,u=e.doneParts,l=e.name,f=[],u.length>0&&p(u).to(f),d=this._divideParts(o,s),h=d.length,m=!1,g=a.default.mark((function t(o,i){var s,p,g;return a.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(o.isCancel()){t.next=21;break}return t.prev=1,s=d[i-1],p={stream:o._createStream(r,s.start,s.end),size:s.end-s.start},t.next=6,o._uploadPart(l,c,i,p);case 6:if(g=t.sent,o.isCancel()||m){t.next=13;break}if(e.doneParts.push({number:i,etag:g.res.headers.etag}),f.push({number:i,etag:g.res.headers.etag}),!n||!n.progress){t.next=13;break}return t.next=13,n.progress(u.length/h,e,g.res);case 13:t.next=21;break;case 15:if(t.prev=15,t.t0=t.catch(1),o.isCancel()){t.next=21;break}throw o.cancel(),t.t0.partNum=i,t.t0;case 21:case"end":return t.stop()}}),t,this,[[1,15]])})),v=(0,i.default)(new Array(h),(function(t,e){return e+1})),y=f.map((function(t){return t.number})),b=v.filter((function(t){return y.indexOf(t)<0})),w=5,x=n.parallel||w,!this.checkBrowserAndVersion("Internet Explorer","10")&&1!==x){t.next=26;break}_=0;case 16:if(!(_<b.length)){t.next=24;break}if(!this.isCancel()){t.next=19;break}throw this._makeCancelEvent();case 19:return t.next=21,g(this,b[_]);case 21:_++,t.next=16;break;case 24:t.next=40;break;case 26:for(A=[],k=0;k<b.length;k++)A.push(g(this,b[k]));return t.next=30,this._thunkPool(A,x);case 30:if(E=t.sent,m=!0,!(E&&E.length>0)){t.next=37;break}throw this.resetCancelFlag(),(S=E[0]).message="Failed to upload some parts with error: "+S.toString()+" part_num: "+S.partNum,S;case 37:if(!this.isCancel()){t.next=40;break}throw A=null,this._makeCancelEvent();case 40:return t.next=42,this.completeMultipartUpload(l,c,f,n);case 42:return t.abrupt("return",t.sent);case 43:case"end":return t.stop()}}),t,this)})),s.file=function(t){return"undefined"!=typeof File&&t instanceof File},s.blob=function(t){return"undefined"!=typeof Blob&&t instanceof Blob},f._getFileSize=a.default.mark((function t(e){var n;return a.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!s.buffer(e)){t.next=4;break}return t.abrupt("return",e.length);case 4:if(!s.blob(e)&&!s.file(e)){t.next=6;break}return t.abrupt("return",e.size);case 6:if(!s.string(e)){t.next=11;break}return t.next=9,this._statFile(e);case 9:return n=t.sent,t.abrupt("return",n.size);case 11:throw new Error("_getFileSize requires Buffer/File/String.");case 12:case"end":return t.stop()}}),t,this)}));var d=t("stream").Readable;c.inherits(o,d),o.prototype.readFileAndPush=function(t){if(this.fileBuffer)for(var e=!0;e&&this.fileBuffer&&this.start<this.fileBuffer.length;){var n=this.start,r=n+t;r=r>this.fileBuffer.length?this.fileBuffer.length:r,this.start=r,e=this.push(this.fileBuffer.slice(n,r))}},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 n=this;this.reader.onload=function(r){n.fileBuffer=new e(new Uint8Array(r.target.result)),n.file=null,n.readFileAndPush(t)},0===this.start?this.reader.readAsArrayBuffer(this.file):this.readFileAndPush(t)},f._createStream=function(t,e,n){if(s.blob(t)||s.file(t))return new o(t.slice(e,n));throw new Error("_createStream requires File/String.")},f._getPartSize=function(t,e){var n=1e4,r=1048576;return e?Math.max(Math.ceil(t/n),e):r},f._divideParts=function(t,e){for(var n=Math.ceil(t/e),r=[],o=0;n>o;o++){var i=e*o,a=Math.min(i+e,t);r.push({start:i,end:a})}return r},f._makeCancelEvent=function(){return{status:0,name:"cancel"}}}).call(this,t("buffer").Buffer)},{"babel-runtime/core-js/array/from":16,"babel-runtime/regenerator":33,buffer:38,"copy-to":43,"is-type-of":165,mime:242,path:170,stream:195,util:207}],4:[function(t,e,n){function r(t){return t&&t.__esModule?t:{default:t}}var o=r(t("babel-runtime/core-js/object/keys")),i=r(t("babel-runtime/regenerator")),a=t("debug")("ali-oss:object"),s=t("utility"),c=t("fs"),u=t("is-type-of"),l=t("url"),p=t("copy-to"),f=t("path"),d=t("mime"),h=t("../common/callback"),m=t("../common/signUtils"),g=n;g.append=i.default.mark((function t(e,n,r){var o;return i.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return void 0===(r=r||{}).position&&(r.position="0"),r.subres={append:"",position:r.position},r.method="POST",t.next=6,this.put(e,n,r);case 6:return(o=t.sent).nextAppendPosition=o.res.headers["x-oss-next-append-position"],t.abrupt("return",o);case 9:case"end":return t.stop()}}),t,this)})),g.put=i.default.mark((function t(e,n,r){var o,a,s,c,l,p;return i.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(o=void 0,r=r||{},!u.buffer(n)){t.next=6;break}o=n,t.next=18;break;case 6:if(!u.blob(n)&&!u.file(n)){t.next=17;break}return r.mime||(u.file(n)?r.mime=d.getType(f.extname(n.name)):r.mime=n.type),a=this._createStream(n,0,n.size),t.next=11,this._getFileSize(n);case 11:return r.contentLength=t.sent,t.next=14,this.putStream(e,a,r);case 14:return t.abrupt("return",t.sent);case 17:throw new TypeError("Must provide Buffer/Blob for put.");case 18:return r.headers=r.headers||{},this._convertMetaToHeaders(r.meta,r.headers),s=r.method||"PUT",c=this._objectRequestParams(s,e,r),h.encodeCallback(c,r),c.mime=r.mime,c.content=o,c.successStatuses=[200],t.next=28,this.request(c);case 28:return l=t.sent,p={name:e,url:this._objectUrl(e),res:l.res},c.headers&&c.headers["x-oss-callback"]&&(p.data=JSON.parse(l.data.toString())),t.abrupt("return",p);case 32:case"end":return t.stop()}}),t,this)})),g.putStream=i.default.mark((function t(e,n,r){var o,a,s,c;return i.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return(r=r||{}).headers=r.headers||{},r.contentLength?r.headers["Content-Length"]=r.contentLength:r.headers["Transfer-Encoding"]="chunked",this._convertMetaToHeaders(r.meta,r.headers),o=r.method||"PUT",a=this._objectRequestParams(o,e,r),h.encodeCallback(a,r),a.mime=r.mime,a.stream=n,a.successStatuses=[200],t.next=12,this.request(a);case 12:return s=t.sent,c={name:e,url:this._objectUrl(e),res:s.res},a.headers&&a.headers["x-oss-callback"]&&(c.data=JSON.parse(s.data.toString())),t.abrupt("return",c);case 16:case"end":return t.stop()}}),t,this)})),g.head=i.default.mark((function t(e,n){var r,a,s;return i.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return(r=this._objectRequestParams("HEAD",e,n)).successStatuses=[200,304],t.next=4,this.request(r);case 4:return a=t.sent,s={meta:null,res:a.res,status:a.status},200===a.status&&(0,o.default)(a.headers).forEach((function(t){0===t.indexOf("x-oss-meta-")&&(s.meta||(s.meta={}),s.meta[t.substring(11)]=a.headers[t])})),t.abrupt("return",s);case 8:case"end":return t.stop()}}),t,this)})),g.get=i.default.mark((function t(e,n,r){var o,s,l,p;return i.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return o=null,s=!1,u.writableStream(n)?o=n:u.string(n)?(o=c.createWriteStream(n),s=!0):r=n,(r=r||{}).process&&(r.subres=r.subres||{},r.subres["x-oss-process"]=r.process),l=void 0,t.prev=6,(p=this._objectRequestParams("GET",e,r)).writeStream=o,p.successStatuses=[200,206,304],t.next=12,this.request(p);case 12:l=t.sent,s&&o.destroy(),t.next=24;break;case 16:if(t.prev=16,t.t0=t.catch(6),!s){t.next=23;break}return o.destroy(),a("get error: %s, delete the exists file %s",t.t0,n),t.next=23,this._deleteFileSafe(n);case 23:throw t.t0;case 24:return t.abrupt("return",{res:l.res,content:l.data});case 25:case"end":return t.stop()}}),t,this,[[6,16]])})),g.getStream=i.default.mark((function t(e,n){var r,o;return i.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=n||{},(r=this._objectRequestParams("GET",e,n)).customResponse=!0,r.successStatuses=[200,206,304],t.next=6,this.request(r);case 6:return o=t.sent,t.abrupt("return",{stream:o.res,res:{status:o.status,headers:o.headers}});case 8:case"end":return t.stop()}}),t,this)})),g.delete=i.default.mark((function t(e,n){var r,o;return i.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return(r=this._objectRequestParams("DELETE",e,n)).successStatuses=[204],t.next=4,this.request(r);case 4:return o=t.sent,t.abrupt("return",{res:o.res});case 6:case"end":return t.stop()}}),t,this)})),g.deleteMulti=i.default.mark((function t(e,n){var r,o,c,u,l,p;return i.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:for(r='<?xml version="1.0" encoding="UTF-8"?>\n<Delete>\n',r+=(n=n||{}).quiet?" <Quiet>true</Quiet>\n":" <Quiet>false</Quiet>\n",o=0;o<e.length;o++)r+=" <Object><Key>"+s.escape(this._objectName(e[o]))+"</Key></Object>\n";return a("delete multi objects: %s",r+="</Delete>"),n.subres="delete",(c=this._objectRequestParams("POST","",n)).mime="xml",c.content=r,c.xmlResponse=!0,c.successStatuses=[200],t.next=14,this.request(c);case 14:return u=t.sent,l=u.data,(p=l&&l.Deleted||null)&&(Array.isArray(p)||(p=[p]),p=p.map((function(t){return t.Key}))),t.abrupt("return",{res:u.res,deleted:p});case 19:case"end":return t.stop()}}),t,this)})),g.copy=i.default.mark((function t(e,n,r){var a,s,c;return i.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return(r=r||{}).headers=r.headers||{},(0,o.default)(r.headers).forEach((function(t){r.headers["x-oss-copy-source-"+t.toLowerCase()]=r.headers[t]})),r.meta&&(r.headers["x-oss-metadata-directive"]="REPLACE"),this._convertMetaToHeaders(r.meta,r.headers),n="/"!==n[0]?"/"+this.options.bucket+"/"+encodeURIComponent(n):"/"+encodeURIComponent(n.slice(1)),r.headers["x-oss-copy-source"]=n,(a=this._objectRequestParams("PUT",e,r)).xmlResponse=!0,a.successStatuses=[200,304],t.next=12,this.request(a);case 12:return s=t.sent,(c=s.data)&&(c={etag:c.ETag,lastModified:c.LastModified}),t.abrupt("return",{data:c,res:s.res});case 16:case"end":return t.stop()}}),t,this)})),g.putMeta=i.default.mark((function t(e,n,r){return i.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.copy(e,e,{meta:n||{},timeout:r&&r.timeout,ctx:r&&r.ctx});case 2:return t.abrupt("return",t.sent);case 3:case"end":return t.stop()}}),t,this)})),g.list=i.default.mark((function t(e,n){var r,o,a,s,c;return i.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return(r=this._objectRequestParams("GET","",n)).query=e,r.xmlResponse=!0,r.successStatuses=[200],t.next=6,this.request(r);case 6:return o=t.sent,a=o.data.Contents,s=this,a&&(Array.isArray(a)||(a=[a]),a=a.map((function(t){return{name:t.Key,url:s._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}}}))),(c=o.data.CommonPrefixes||null)&&(Array.isArray(c)||(c=[c]),c=c.map((function(t){return t.Prefix}))),t.abrupt("return",{res:o.res,objects:a,prefixes:c,nextMarker:o.data.NextMarker||null,isTruncated:"true"===o.data.IsTruncated});case 13:case"end":return t.stop()}}),t,this)})),g.putACL=i.default.mark((function t(e,n,r){var o,a;return i.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return(r=r||{}).subres="acl",r.headers=r.headers||{},r.headers["x-oss-object-acl"]=n,e=this._objectName(e),(o=this._objectRequestParams("PUT",e,r)).successStatuses=[200],t.next=9,this.request(o);case 9:return a=t.sent,t.abrupt("return",{res:a.res});case 11:case"end":return t.stop()}}),t,this)})),g.getACL=i.default.mark((function t(e,n){var r,o;return i.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return(n=n||{}).subres="acl",e=this._objectName(e),(r=this._objectRequestParams("GET",e,n)).successStatuses=[200],r.xmlResponse=!0,t.next=8,this.request(r);case 8:return o=t.sent,t.abrupt("return",{acl:o.data.AccessControlList.Grant,owner:{id:o.data.Owner.ID,displayName:o.data.Owner.DisplayName},res:o.res});case 10:case"end":return t.stop()}}),t,this)})),g.restore=i.default.mark((function t(e,n){var r,o;return i.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return(n=n||{}).subres="restore",(r=this._objectRequestParams("POST",e,n)).successStatuses=[202],t.next=6,this.request(r);case 6:return o=t.sent,t.abrupt("return",{res:o.res});case 8:case"end":return t.stop()}}),t,this)})),g.signatureUrl=function(t,e){e=e||{},t=this._objectName(t),e.method=e.method||"GET";var n=s.timestamp()+(e.expires||1800),r={bucket:this.options.bucket,object:t},o=this._getResource(r);this.options.stsToken&&(e["security-token"]=this.options.stsToken);var i=m._signatureForURL(this.options.accessKeySecret,e,o,n),a=l.parse(this._getReqUrl(r));return a.query={OSSAccessKeyId:this.options.accessKeyId,Expires:n,Signature:i.Signature},p(i.subResource).to(a.query),a.format()},g.getObjectUrl=function(t,e){return e?"/"!==e[e.length-1]&&(e+="/"):e=this.options.endpoint.format(),e+this._escape(this._objectName(t))},g._objectUrl=function(t){return this._getReqUrl({bucket:this.options.bucket,object:t})},g.generateObjectUrl=function(t,e){if(e)"/"!==e[e.length-1]&&(e+="/");else{e=this.options.endpoint.format();var n=l.parse(e),r=this.options.bucket;n.hostname=r+"."+n.hostname,n.host=r+"."+n.host,e=n.format()}return e+this._escape(this._objectName(t))},g._objectRequestParams=function(t,e,n){if(!this.options.bucket)throw new Error("Please create a bucket first");n=n||{};var r={object:e=this._objectName(e),bucket:this.options.bucket,method:t,subres:n&&n.subres,timeout:n&&n.timeout,ctx:n&&n.ctx};return n.headers&&(r.headers={},p(n.headers).to(r.headers)),r},g._objectName=function(t){return t.replace(/^\/+/,"")},g._statFile=function(t){return function(e){c.stat(t,e)}},g._convertMetaToHeaders=function(t,e){t&&(0,o.default)(t).forEach((function(n){e["x-oss-meta-"+n]=t[n]}))},g._deleteFileSafe=function(t){return function(e){c.exists(t,(function(n){n?c.unlink(t,(function(n){n&&a("unlink %j error: %s",t,n),e()})):e()}))}}},{"../common/callback":7,"../common/signUtils":9,"babel-runtime/core-js/object/keys":23,"babel-runtime/regenerator":33,"copy-to":43,debug:155,fs:36,"is-type-of":165,mime:242,path:170,url:203,utility:243}],5:[function(t,e,n){n.version="5.3.2"},{}],6:[function(t,e,n){function r(t){return t&&t.__esModule?t:{default:t}}function o(t){return t&&"function"==typeof t.next&&"function"==typeof t.throw}function i(t){if(!t)return!1;var e=t.constructor;return!!e&&("GeneratorFunction"===e.name||"GeneratorFunction"===e.displayName||o(e.prototype)||o(t.prototype))}function a(t,e){var n=new t(e),r=(0,u.default)(n),o=(0,u.default)((0,c.default)(n));r.concat(o).forEach((function(t){i(n[t])?this[t]=l.wrap(n[t]).bind(n):this[t]=n[t]}),this)}function s(t){return this instanceof s?void a.call(this,p,t):new s(t)}var c=r(t("babel-runtime/core-js/object/get-prototype-of")),u=r(t("babel-runtime/core-js/object/keys")),l=t("co"),p=t("./client");e.exports=s,s.STS=function t(e){return this instanceof t?void a.call(this,p.STS,e):new t(e)}},{"./client":2,"babel-runtime/core-js/object/get-prototype-of":22,"babel-runtime/core-js/object/keys":23,co:41}],7:[function(t,e,n){(function(e){function r(t){return t&&t.__esModule?t:{default:t}}var o=r(t("babel-runtime/core-js/object/keys")),i=r(t("babel-runtime/core-js/json/stringify"));n.encodeCallback=function(t,n){if(t.headers=t.headers||{},!Object.prototype.hasOwnProperty.call(t.headers,"x-oss-callback")&&n.callback){var r={callbackUrl:encodeURI(n.callback.url),callbackBody:n.callback.body};n.callback.host&&(r.callbackHost=n.callback.host),n.callback.contentType&&(r.callbackBodyType=n.callback.contentType);var a=new e((0,i.default)(r)).toString("base64");if(t.headers["x-oss-callback"]=a,n.callback.customValue){var s={};(0,o.default)(n.callback.customValue).forEach((function(t){s["x:"+t]=n.callback.customValue[t]})),t.headers["x-oss-callback-var"]=new e((0,i.default)(s)).toString("base64")}}}}).call(this,t("buffer").Buffer)},{"babel-runtime/core-js/json/stringify":17,"babel-runtime/core-js/object/keys":23,buffer:38}],8:[function(t,e,n){function r(t){return t&&t.__esModule?t:{default:t}}var o=r(t("babel-runtime/regenerator")),i=t("copy-to"),a=t("./callback"),s=n;s.listUploads=o.default.mark((function t(e,n){var r,a,s,c;return o.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r={},i(n=n||{}).to(r),r.subres="uploads",(a=this._objectRequestParams("GET","",r)).query=e,a.xmlResponse=!0,a.successStatuses=[200],t.next=10,this.request(a);case 10:return s=t.sent,c=s.data.Upload||[],Array.isArray(c)||(c=[c]),c=c.map((function(t){return{name:t.Key,uploadId:t.UploadId,initiated:t.Initiated}})),t.abrupt("return",{res:s.res,uploads:c,bucket:s.data.Bucket,nextKeyMarker:s.data.NextKeyMarker,nextUploadIdMarker:s.data.NextUploadIdMarker,isTruncated:"true"===s.data.IsTruncated});case 15:case"end":return t.stop()}}),t,this)})),s.listParts=o.default.mark((function t(e,n,r,a){var s,c,u;return o.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return s={},i(a=a||{}).to(s),s.subres={uploadId:n},(c=this._objectRequestParams("GET",e,s)).query=r,c.xmlResponse=!0,c.successStatuses=[200],t.next=10,this.request(c);case 10:return u=t.sent,t.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 t.stop()}}),t,this)})),s.abortMultipartUpload=o.default.mark((function t(e,n,r){var a,s,c;return o.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return this.cancel(),a={},i(r=r||{}).to(a),a.subres={uploadId:n},(s=this._objectRequestParams("DELETE",e,a)).successStatuses=[204],t.next=9,this.request(s);case 9:return c=t.sent,t.abrupt("return",{res:c.res});case 11:case"end":return t.stop()}}),t,this)})),s.initMultipartUpload=o.default.mark((function t(e,n){var r,a,s;return o.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r={},i(n=n||{}).to(r),r.headers=r.headers||{},this._convertMetaToHeaders(n.meta,r.headers),r.subres="uploads",(a=this._objectRequestParams("POST",e,r)).mime=n.mime,a.xmlResponse=!0,a.successStatuses=[200],t.next=12,this.request(a);case 12:return s=t.sent,t.abrupt("return",{res:s.res,bucket:s.data.Bucket,name:s.data.Key,uploadId:s.data.UploadId});case 14:case"end":return t.stop()}}),t,this)})),s.uploadPart=o.default.mark((function t(e,n,r,i,a,s,c){var u;return o.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return u={stream:this._createStream(i,a,s),size:s-a},t.next=3,this._uploadPart(e,n,r,u,c);case 3:return t.abrupt("return",t.sent);case 4:case"end":return t.stop()}}),t,this)})),s.completeMultipartUpload=o.default.mark((function t(e,n,r,s){var c,u,l,p,f,d,h,m;return o.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:for(c=r.concat().sort((function(t,e){return t.number-e.number})).filter((function(t,e,n){return!e||t.number!==n[e-1].number})),u='<?xml version="1.0" encoding="UTF-8"?>\n<CompleteMultipartUpload>\n',l=0;l<c.length;l++)p=c[l],u+="<Part>\n",u+="<PartNumber>"+p.number+"</PartNumber>\n",u+="<ETag>"+p.etag+"</ETag>\n",u+="</Part>\n";return u+="</CompleteMultipartUpload>",f={},i(s=s||{}).to(f),f.subres={uploadId:n},d=this._objectRequestParams("POST",e,f),a.encodeCallback(d,f),d.mime="xml",d.content=u,d.headers&&d.headers["x-oss-callback"]||(d.xmlResponse=!0),d.successStatuses=[200],t.next=16,this.request(d);case 16:return h=t.sent,m={res:h.res,bucket:d.bucket,name:e,etag:h.res.headers.etag},d.headers&&d.headers["x-oss-callback"]&&(m.data=JSON.parse(h.data.toString())),t.abrupt("return",m);case 20:case"end":return t.stop()}}),t,this)})),s._uploadPart=o.default.mark((function t(e,n,r,a,s){var c,u,l;return o.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return c={},i(s=s||{}).to(c),c.headers={"Content-Length":a.size},c.subres={partNumber:r,uploadId:n},(u=this._objectRequestParams("PUT",e,c)).mime=c.mime,u.stream=a.stream,u.successStatuses=[200],t.next=11,this.request(u);case 11:return l=t.sent,a.stream=null,u.stream=null,t.abrupt("return",{name:e,etag:l.res.headers.etag,res:l.res});case 15:case"end":return t.stop()}}),t,this)}))},{"./callback":7,"babel-runtime/regenerator":33,"copy-to":43}],9:[function(t,e,n){(function(e){function r(t){return t&&t.__esModule?t:{default:t}}var o=r(t("babel-runtime/core-js/json/stringify")),i=r(t("babel-runtime/core-js/object/keys")),a=t("./../../shims/crypto/crypto.js"),s=t("is-type-of");n.buildCanonicalizedResource=function(t,e){var n=""+t,r="?";if(s.string(e)&&""!==e.trim())n+=r+e;else if(s.array(e))e.sort(),n+=r+e.join("&");else if(e){var o=function(t,e){return t[0]>e[0]?1:t[0]<e[0]?-1:0},a=function(t){n+=r+t,e[t]&&(n+="="+e[t]),r="&"};(0,i.default)(e).sort(o).forEach(a)}return n},n.buildCanonicalString=function(t,e,n,r){var o=(n=n||{}).headers||{},a="x-oss-",s=[],c={},u=[t.toUpperCase(),o["Content-Md5"]||"",o["Content-Type"]||o["Content-Type".toLowerCase()],r||o["x-oss-date"]];return(0,i.default)(o).forEach((function(t){var e=t.toLowerCase();0===e.indexOf(a)&&(c[e]=String(o[t]).trim())})),(0,i.default)(c).sort().forEach((function(t){s.push(t+":"+c[t])})),(u=u.concat(s)).push(this.buildCanonicalizedResource(e,n.parameters)),u.join("\n")},n.computeSignature=function(t,n){return a.createHmac("sha1",t).update(new e(n,"utf8")).digest("base64")},n.authorization=function(t,e,n){return"OSS "+t+":"+this.computeSignature(e,n)},n._signatureForURL=function(t,n,r,a){var s={},c={};if(n.process&&(c["x-oss-process"]=n.process),n.response&&(0,i.default)(n.response).forEach((function(t){var e="response-"+t.toLowerCase();c[e]=n.response[t]})),(0,i.default)(n).forEach((function(t){var e=t.toLowerCase(),r=n[t];0===e.indexOf("x-oss-")?s[e]=r:0===e.indexOf("content-md5")||0===e.indexOf("content-type")?s[t]=r:"expires"!==e&&"response"!==e&&"process"!==e&&"method"!==e&&(c[e]=r)})),Object.prototype.hasOwnProperty.call(n,"security-token")&&(c["security-token"]=n["security-token"]),Object.prototype.hasOwnProperty.call(n,"callback")){var u={callbackUrl:encodeURI(n.callback.url),callbackBody:n.callback.body};if(n.callback.host&&(u.callbackHost=n.callback.host),n.callback.contentType&&(u.callbackBodyType=n.callback.contentType),c.callback=new e((0,o.default)(u)).toString("base64"),n.callback.customValue){var l={};(0,i.default)(n.callback.customValue).forEach((function(t){l["x:"+t]=n.callback.customValue[t]})),c["callback-var"]=new e((0,o.default)(l)).toString("base64")}}var p=this.buildCanonicalString(n.method,r,{headers:s,parameters:c},a.toString());return{Signature:this.computeSignature(t,p),subResource:c}}}).call(this,t("buffer").Buffer)},{"./../../shims/crypto/crypto.js":237,"babel-runtime/core-js/json/stringify":17,"babel-runtime/core-js/object/keys":23,buffer:38,"is-type-of":165}],10:[function(t,e,n){function r(t){return t&&t.__esModule?t:{default:t}}var o=r(t("babel-runtime/regenerator")),i=t("co"),a=t("co-priority-queue"),s=t("any-promise"),c=n;c._thunkPool=function(t,e){function n(t,e){++u===t.length&&e(l)}function r(t,e){function n(){var n;return o.default.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:n=void 0;case 1:if(c.isCancel()){r.next=9;break}return r.next=4,u.next();case 4:return n=r.sent,r.next=7,n();case 7:r.next=1;break;case 9:(p+=1)===t&&(u.fns=[],u.buffer=[],e(l));case 11:case"end":return r.stop()}}),s,this)}function r(t){}for(var s=o.default.mark(n),u=new a,p=0,f=0;t>f;f++)i(n).catch(r);var d=function(t,e){return function(n){u.push(o.default.mark((function e(){return o.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.t0=n,e.next=4,t;case 4:e.t1=e.sent,(0,e.t0)(null,e.t1),e.next=11;break;case 8:e.prev=8,e.t2=e.catch(0),n(e.t2);case 11:case"end":return e.stop()}}),e,this,[[0,8]])})),e)}};return d}var c=this,u=0,l=[];return new s((function(a){function s(e){return o.default.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,p(t[e]);case 2:n(t,a);case 3:case"end":return r.stop()}}),u,this)}function c(e){l.push(e),n(t,a)}for(var u=o.default.mark(s),p=new r(e,a),f=0;f<t.length;f++)i(s(f)).catch(c)}))},c.cancel=function(){this.options.cancelFlag=!0},c.isCancel=function(){return this.options.cancelFlag},c.resetCancelFlag=function(){this.options.cancelFlag=!1}},{"any-promise":13,"babel-runtime/regenerator":33,co:41,"co-priority-queue":40}],11:[function(t,e,n){n._isIP=function(t){var e=/^\s*((([0-9A-Fa-f]{1,4}:){7}([0-9A-Fa-f]{1,4}|:))|(([0-9A-Fa-f]{1,4}:){6}(:[0-9A-Fa-f]{1,4}|((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){5}(((:[0-9A-Fa-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){4}(((:[0-9A-Fa-f]{1,4}){1,3})|((:[0-9A-Fa-f]{1,4})?:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){3}(((:[0-9A-Fa-f]{1,4}){1,4})|((:[0-9A-Fa-f]{1,4}){0,2}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){2}(((:[0-9A-Fa-f]{1,4}){1,5})|((:[0-9A-Fa-f]{1,4}){0,3}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){1}(((:[0-9A-Fa-f]{1,4}){1,6})|((:[0-9A-Fa-f]{1,4}){0,4}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(:(((:[0-9A-Fa-f]{1,4}){1,7})|((:[0-9A-Fa-f]{1,4}){0,5}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))(%.+)?\s*$/;return/^(25[0-5]|2[0-4]\d|[0-1]?\d?\d)(\.(25[0-5]|2[0-4]\d|[0-1]?\d?\d)){3}$/.test(t)||e.test(t)}},{}],12:[function(t,e,n){function r(){}e.exports=r,e.exports.HttpsAgent=r},{}],13:[function(t,e,n){e.exports=t("./register")().Promise},{"./register":15}],14:[function(t,e,n){var r="@@any-promise/REGISTRATION",o=null;e.exports=function(t,e){return function(n,i){n=n||null;var a=!1!==(i=i||{}).global;if(null===o&&a&&(o=t[r]||null),null!==o&&null!==n&&o.implementation!==n)throw new Error('any-promise already defined as "'+o.implementation+'". You can only register an implementation before the first call to require("any-promise") and an implementation cannot be changed');return null===o&&(o=null!==n&&void 0!==i.Promise?{Promise:i.Promise,implementation:n}:e(n),a&&(t[r]=o)),o}}},{}],15:[function(t,e,n){function r(){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,r)},{"./loader":14}],16:[function(t,e,n){e.exports={default:t("core-js/library/fn/array/from"),__esModule:!0}},{"core-js/library/fn/array/from":44}],17:[function(t,e,n){e.exports={default:t("core-js/library/fn/json/stringify"),__esModule:!0}},{"core-js/library/fn/json/stringify":45}],18:[function(t,e,n){e.exports={default:t("core-js/library/fn/object/assign"),__esModule:!0}},{"core-js/library/fn/object/assign":46}],19:[function(t,e,n){e.exports={default:t("core-js/library/fn/object/create"),__esModule:!0}},{"core-js/library/fn/object/create":47}],20:[function(t,e,n){e.exports={default:t("core-js/library/fn/object/define-property"),__esModule:!0}},{"core-js/library/fn/object/define-property":48}],21:[function(t,e,n){e.exports={default:t("core-js/library/fn/object/get-own-property-names"),__esModule:!0}},{"core-js/library/fn/object/get-own-property-names":49}],22:[function(t,e,n){e.exports={default:t("core-js/library/fn/object/get-prototype-of"),__esModule:!0}},{"core-js/library/fn/object/get-prototype-of":50}],23:[function(t,e,n){e.exports={default:t("core-js/library/fn/object/keys"),__esModule:!0}},{"core-js/library/fn/object/keys":51}],24:[function(t,e,n){e.exports={default:t("core-js/library/fn/promise"),__esModule:!0}},{"core-js/library/fn/promise":52}],25:[function(t,e,n){e.exports={default:t("core-js/library/fn/set-immediate"),__esModule:!0}},{"core-js/library/fn/set-immediate":53}],26:[function(t,e,n){e.exports={default:t("core-js/library/fn/string/from-code-point"),__esModule:!0}},{"core-js/library/fn/string/from-code-point":54}],27:[function(t,e,n){e.exports={default:t("core-js/library/fn/symbol"),__esModule:!0}},{"core-js/library/fn/symbol":56}],28:[function(t,e,n){e.exports={default:t("core-js/library/fn/symbol/has-instance"),__esModule:!0}},{"core-js/library/fn/symbol/has-instance":55}],29:[function(t,e,n){e.exports={default:t("core-js/library/fn/symbol/iterator"),__esModule:!0}},{"core-js/library/fn/symbol/iterator":57}],30:[function(t,e,n){n.__esModule=!0,n.default=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}},{}],31:[function(t,e,n){function r(t){return t&&t.__esModule?t:{default:t}}n.__esModule=!0;var o=r(t("../core-js/object/define-property"));n.default=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),(0,o.default)(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}()},{"../core-js/object/define-property":20}],32:[function(t,e,n){function r(t){return t&&t.__esModule?t:{default:t}}n.__esModule=!0;var o=r(t("../core-js/symbol/iterator")),i=r(t("../core-js/symbol")),a="function"==typeof i.default&&"symbol"==typeof o.default?function(t){return typeof t}:function(t){return t&&"function"==typeof i.default&&t.constructor===i.default&&t!==i.default.prototype?"symbol":typeof t};n.default="function"==typeof i.default&&"symbol"===a(o.default)?function(t){return void 0===t?"undefined":a(t)}:function(t){return t&&"function"==typeof i.default&&t.constructor===i.default&&t!==i.default.prototype?"symbol":void 0===t?"undefined":a(t)}},{"../core-js/symbol":27,"../core-js/symbol/iterator":29}],33:[function(t,e,n){e.exports=t("regenerator-runtime")},{"regenerator-runtime":191}],34:[function(t,e,n){function r(t){var e=t.length;if(e%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var n=t.indexOf("=");return-1===n&&(n=e),[n,n===e?0:4-n%4]}function o(t){var e=r(t),n=e[0],o=e[1];return 3*(n+o)/4-o}function i(t,e,n){return 3*(e+n)/4-n}function a(t){for(var e,n=r(t),o=n[0],a=n[1],s=new f(i(t,o,a)),c=0,u=a>0?o-4:o,l=0;u>l;l+=4)e=p[t.charCodeAt(l)]<<18|p[t.charCodeAt(l+1)]<<12|p[t.charCodeAt(l+2)]<<6|p[t.charCodeAt(l+3)],s[c++]=e>>16&255,s[c++]=e>>8&255,s[c++]=255&e;return 2===a&&(e=p[t.charCodeAt(l)]<<2|p[t.charCodeAt(l+1)]>>4,s[c++]=255&e),1===a&&(e=p[t.charCodeAt(l)]<<10|p[t.charCodeAt(l+1)]<<4|p[t.charCodeAt(l+2)]>>2,s[c++]=e>>8&255,s[c++]=255&e),s}function s(t){return l[t>>18&63]+l[t>>12&63]+l[t>>6&63]+l[63&t]}function c(t,e,n){for(var r,o=[],i=e;n>i;i+=3)r=(t[i]<<16&16711680)+(t[i+1]<<8&65280)+(255&t[i+2]),o.push(s(r));return o.join("")}function u(t){for(var e,n=t.length,r=n%3,o=[],i=16383,a=0,s=n-r;s>a;a+=i)o.push(c(t,a,a+i>s?s:a+i));return 1===r?(e=t[n-1],o.push(l[e>>2]+l[e<<4&63]+"==")):2===r&&(e=(t[n-2]<<8)+t[n-1],o.push(l[e>>10]+l[e>>4&63]+l[e<<2&63]+"=")),o.join("")}n.byteLength=o,n.toByteArray=a,n.fromByteArray=u;for(var l=[],p=[],f="undefined"!=typeof Uint8Array?Uint8Array:Array,d="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",h=0,m=d.length;m>h;++h)l[h]=d[h],p[d.charCodeAt(h)]=h;p["-".charCodeAt(0)]=62,p["_".charCodeAt(0)]=63},{}],35:[function(t,e,n){!function(t,n,r){void 0!==e&&e.exports?e.exports=r():t[n]=r()}(this,"bowser",(function(){function t(t){function e(e){var n=t.match(e);return n&&n.length>1&&n[1]||""}function n(e){var n=t.match(e);return n&&n.length>1&&n[2]||""}function o(t){switch(t){case"NT":return"NT";case"XP":case"NT 5.1":return"XP";case"NT 5.0":return"2000";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}}var i,s=e(/(ipod|iphone|ipad)/i).toLowerCase(),c=!/like android/i.test(t)&&/android/i.test(t),u=/nexus\s*[0-6]\s*/i.test(t),l=!u&&/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),g=/windows phone/i.test(t),v=!g&&/windows/i.test(t),y=!s&&!f&&/macintosh/i.test(t),b=!c&&!d&&!h&&!m&&/linux/i.test(t),w=n(/edg([ea]|ios)\/(\d+(\.\d+)?)/i),x=e(/version\/(\d+(\.\d+)?)/i),_=/tablet/i.test(t)&&!/tablet pc/i.test(t),A=!_&&/[^-]mobi/i.test(t),k=/xbox/i.test(t);/opera/i.test(t)?i={name:"Opera",opera:a,version:x||e(/(?:opera|opr|opios)[\s\/](\d+(\.\d+)?)/i)}:/opr\/|opios/i.test(t)?i={name:"Opera",opera:a,version:e(/(?:opr|opios)[\s\/](\d+(\.\d+)?)/i)||x}:/SamsungBrowser/i.test(t)?i={name:"Samsung Internet for Android",samsungBrowser:a,version:x||e(/(?:SamsungBrowser)[\s\/](\d+(\.\d+)?)/i)}:/Whale/i.test(t)?i={name:"NAVER Whale browser",whale:a,version:e(/(?:whale)[\s\/](\d+(?:\.\d+)+)/i)}:/MZBrowser/i.test(t)?i={name:"MZ Browser",mzbrowser:a,version:e(/(?:MZBrowser)[\s\/](\d+(?:\.\d+)+)/i)}:/coast/i.test(t)?i={name:"Opera Coast",coast:a,version:x||e(/(?:coast)[\s\/](\d+(\.\d+)?)/i)}:/focus/i.test(t)?i={name:"Focus",focus:a,version:e(/(?:focus)[\s\/](\d+(?:\.\d+)+)/i)}:/yabrowser/i.test(t)?i={name:"Yandex Browser",yandexbrowser:a,version:x||e(/(?:yabrowser)[\s\/](\d+(\.\d+)?)/i)}:/ucbrowser/i.test(t)?i={name:"UC Browser",ucbrowser:a,version:e(/(?:ucbrowser)[\s\/](\d+(?:\.\d+)+)/i)}:/mxios/i.test(t)?i={name:"Maxthon",maxthon:a,version:e(/(?:mxios)[\s\/](\d+(?:\.\d+)+)/i)}:/epiphany/i.test(t)?i={name:"Epiphany",epiphany:a,version:e(/(?:epiphany)[\s\/](\d+(?:\.\d+)+)/i)}:/puffin/i.test(t)?i={name:"Puffin",puffin:a,version:e(/(?:puffin)[\s\/](\d+(?:\.\d+)?)/i)}:/sleipnir/i.test(t)?i={name:"Sleipnir",sleipnir:a,version:e(/(?:sleipnir)[\s\/](\d+(?:\.\d+)+)/i)}:/k-meleon/i.test(t)?i={name:"K-Meleon",kMeleon:a,version:e(/(?:k-meleon)[\s\/](\d+(?:\.\d+)+)/i)}:g?(i={name:"Windows Phone",osname:"Windows Phone",windowsphone:a},w?(i.msedge=a,i.version=w):(i.msie=a,i.version=e(/iemobile\/(\d+(\.\d+)?)/i))):/msie|trident/i.test(t)?i={name:"Internet Explorer",msie:a,version:e(/(?:msie |rv:)(\d+(\.\d+)?)/i)}:p?i={name:"Chrome",osname:"Chrome OS",chromeos:a,chromeBook:a,chrome:a,version:e(/(?:chrome|crios|crmo)\/(\d+(\.\d+)?)/i)}:/edg([ea]|ios)/i.test(t)?i={name:"Microsoft Edge",msedge:a,version:w}:/vivaldi/i.test(t)?i={name:"Vivaldi",vivaldi:a,version:e(/vivaldi\/(\d+(\.\d+)?)/i)||x}:d?i={name:"Sailfish",osname:"Sailfish OS",sailfish:a,version:e(/sailfish\s?browser\/(\d+(\.\d+)?)/i)}:/seamonkey\//i.test(t)?i={name:"SeaMonkey",seamonkey:a,version:e(/seamonkey\/(\d+(\.\d+)?)/i)}:/firefox|iceweasel|fxios/i.test(t)?(i={name:"Firefox",firefox:a,version:e(/(?:firefox|iceweasel|fxios)[ \/](\d+(\.\d+)?)/i)},/\((mobile|tablet);[^\)]*rv:[\d\.]+\)/i.test(t)&&(i.firefoxos=a,i.osname="Firefox OS")):f?i={name:"Amazon Silk",silk:a,version:e(/silk\/(\d+(\.\d+)?)/i)}:/phantom/i.test(t)?i={name:"PhantomJS",phantom:a,version:e(/phantomjs\/(\d+(\.\d+)?)/i)}:/slimerjs/i.test(t)?i={name:"SlimerJS",slimer:a,version:e(/slimerjs\/(\d+(\.\d+)?)/i)}:/blackberry|\bbb\d+/i.test(t)||/rim\stablet/i.test(t)?i={name:"BlackBerry",osname:"BlackBerry OS",blackberry:a,version:x||e(/blackberry[\d]+\/(\d+(\.\d+)?)/i)}:m?(i={name:"WebOS",osname:"WebOS",webos:a,version:x||e(/w(?:eb)?osbrowser\/(\d+(\.\d+)?)/i)},/touchpad\//i.test(t)&&(i.touchpad=a)):/bada/i.test(t)?i={name:"Bada",osname:"Bada",bada:a,version:e(/dolfin\/(\d+(\.\d+)?)/i)}:h?i={name:"Tizen",osname:"Tizen",tizen:a,version:e(/(?:tizen\s?)?browser\/(\d+(\.\d+)?)/i)||x}:/qupzilla/i.test(t)?i={name:"QupZilla",qupzilla:a,version:e(/(?:qupzilla)[\s\/](\d+(?:\.\d+)+)/i)||x}:/chromium/i.test(t)?i={name:"Chromium",chromium:a,version:e(/(?:chromium)[\s\/](\d+(?:\.\d+)?)/i)||x}:/chrome|crios|crmo/i.test(t)?i={name:"Chrome",chrome:a,version:e(/(?:chrome|crios|crmo)\/(\d+(\.\d+)?)/i)}:c?i={name:"Android",version:x}:/safari|applewebkit/i.test(t)?(i={name:"Safari",safari:a},x&&(i.version=x)):s?(i={name:"iphone"==s?"iPhone":"ipad"==s?"iPad":"iPod"},x&&(i.version=x)):i=/googlebot/i.test(t)?{name:"Googlebot",googlebot:a,version:e(/googlebot\/(\d+(\.\d+))/i)||x}:{name:e(/^(.*)\/(.*) /),version:n(/^(.*)\/(.*) /)},!i.msedge&&/(apple)?webkit/i.test(t)?(/(apple)?webkit\/537\.36/i.test(t)?(i.name=i.name||"Blink",i.blink=a):(i.name=i.name||"Webkit",i.webkit=a),!i.version&&x&&(i.version=x)):!i.opera&&/gecko\//i.test(t)&&(i.name=i.name||"Gecko",i.gecko=a,i.version=i.version||e(/gecko\/(\d+(\.\d+)?)/i)),i.windowsphone||!c&&!i.silk?!i.windowsphone&&s?(i[s]=a,i.ios=a,i.osname="iOS"):y?(i.mac=a,i.osname="macOS"):k?(i.xbox=a,i.osname="Xbox"):v?(i.windows=a,i.osname="Windows"):b&&(i.linux=a,i.osname="Linux"):(i.android=a,i.osname="Android");var E="";i.windows?E=o(e(/Windows ((NT|XP)( \d\d?.\d)?)/i)):i.windowsphone?E=e(/windows phone (?:os)?\s?(\d+(\.\d+)*)/i):i.mac?E=(E=e(/Mac OS X (\d+([_\.\s]\d+)*)/i)).replace(/[_\s]/g,"."):s?E=(E=e(/os (\d+([_\s]\d+)*) like mac os x/i)).replace(/[_\s]/g,"."):c?E=e(/android[ \/-](\d+(\.\d+)*)/i):i.webos?E=e(/(?:web|hpw)os\/(\d+(\.\d+)*)/i):i.blackberry?E=e(/rim\stablet\sos\s(\d+(\.\d+)*)/i):i.bada?E=e(/bada\/(\d+(\.\d+)*)/i):i.tizen&&(E=e(/tizen[\/\s](\d+(\.\d+)*)/i)),E&&(i.osversion=E);var S=!i.windows&&E.split(".")[0];return _||l||"ipad"==s||c&&(3==S||S>=4&&!A)||i.silk?i.tablet=a:(A||"iphone"==s||"ipod"==s||c||u||i.blackberry||i.webos||i.bada)&&(i.mobile=a),i.msedge||i.msie&&i.version>=10||i.yandexbrowser&&i.version>=15||i.vivaldi&&i.version>=1||i.chrome&&i.version>=20||i.samsungBrowser&&i.version>=4||i.whale&&1===r([i.version,"1.0"])||i.mzbrowser&&1===r([i.version,"6.0"])||i.focus&&1===r([i.version,"1.0"])||i.firefox&&i.version>=20||i.safari&&i.version>=6||i.opera&&i.version>=10||i.ios&&i.osversion&&i.osversion.split(".")[0]>=6||i.blackberry&&i.version>=10.1||i.chromium&&i.version>=20?i.a=a:i.msie&&i.version<10||i.chrome&&i.version<20||i.firefox&&i.version<20||i.safari&&i.version<6||i.opera&&i.version<10||i.ios&&i.osversion&&i.osversion.split(".")[0]<6||i.chromium&&i.version<20?i.c=a:i.x=a,i}function e(t){return t.split(".").length}function n(t,e){var n,r=[];if(Array.prototype.map)return Array.prototype.map.call(t,e);for(n=0;n<t.length;n++)r.push(e(t[n]));return r}function r(t){for(var r=Math.max(e(t[0]),e(t[1])),o=n(t,(function(t){var o=r-e(t);return n((t+=new Array(o+1).join(".0")).split("."),(function(t){return new Array(20-t.length).join("0")+t})).reverse()}));--r>=0;){if(o[0][r]>o[1][r])return 1;if(o[0][r]!==o[1][r])return-1;if(0===r)return 0}}function o(e,n,o){var i=s;"string"==typeof n&&(o=n,n=void 0),void 0===n&&(n=!1),o&&(i=t(o));var a=""+i.version;for(var c in e)if(e.hasOwnProperty(c)&&i[c]){if("string"!=typeof e[c])throw new Error("Browser version in the minVersion map should be a string: "+c+": "+String(e));return r([a,e[c]])<0}return n}function i(t,e,n){return!o(t,e,n)}var a=!0,s=t("undefined"!=typeof navigator&&navigator.userAgent||"");return s.test=function(t){for(var e=0;e<t.length;++e){var n=t[e];if("string"==typeof n&&n in s)return!0}return!1},s.isUnsupportedBrowser=o,s.compareVersions=r,s.check=i,s._detect=t,s.detect=t,s}))},{}],36:[function(t,e,n){},{}],37:[function(t,e,n){function r(t){if(t&&!c(t))throw new Error("Unknown encoding: "+t)}function o(t){return t.toString(this.encoding)}function i(t){this.charReceived=t.length%2,this.charLength=this.charReceived?2:0}function a(t){this.charReceived=t.length%3,this.charLength=this.charReceived?3:0}var s=t("buffer").Buffer,c=s.isEncoding||function(t){switch(t&&t.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}},u=n.StringDecoder=function(t){switch(this.encoding=(t||"utf8").toLowerCase().replace(/[-_]/,""),r(t),this.encoding){case"utf8":this.surrogateSize=3;break;case"ucs2":case"utf16le":this.surrogateSize=2,this.detectIncompleteChar=i;break;case"base64":this.surrogateSize=3,this.detectIncompleteChar=a;break;default:return void(this.write=o)}this.charBuffer=new s(6),this.charReceived=0,this.charLength=0};u.prototype.write=function(t){for(var e="";this.charLength;){var n=t.length>=this.charLength-this.charReceived?this.charLength-this.charReceived:t.length;if(t.copy(this.charBuffer,this.charReceived,0,n),this.charReceived+=n,this.charReceived<this.charLength)return"";if(t=t.slice(n,t.length),!((r=(e=this.charBuffer.slice(0,this.charLength).toString(this.encoding)).charCodeAt(e.length-1))>=55296&&56319>=r)){if(this.charReceived=this.charLength=0,0===t.length)return e;break}this.charLength+=this.surrogateSize,e=""}this.detectIncompleteChar(t);var r,o=t.length;if(this.charLength&&(t.copy(this.charBuffer,0,t.length-this.charReceived,o),o-=this.charReceived),o=(e+=t.toString(this.encoding,0,o)).length-1,(r=e.charCodeAt(o))>=55296&&56319>=r){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},u.prototype.detectIncompleteChar=function(t){for(var e=t.length>=3?3:t.length;e>0;e--){var n=t[t.length-e];if(1==e&&n>>5==6){this.charLength=2;break}if(2>=e&&n>>4==14){this.charLength=3;break}if(3>=e&&n>>3==30){this.charLength=4;break}}this.charReceived=e},u.prototype.end=function(t){var e="";if(t&&t.length&&(e=this.write(t)),this.charReceived){var n=this.charReceived,r=this.charBuffer,o=this.encoding;e+=r.slice(0,n).toString(o)}return e}},{buffer:38}],38:[function(t,e,n){(function(e){function r(){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}}function o(){return a.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function i(t,e){if(o()<e)throw new RangeError("Invalid typed array length");return a.TYPED_ARRAY_SUPPORT?(t=new Uint8Array(e)).__proto__=a.prototype:(null===t&&(t=new a(e)),t.length=e),t}function a(t,e,n){if(!(a.TYPED_ARRAY_SUPPORT||this instanceof a))return new a(t,e,n);if("number"==typeof t){if("string"==typeof e)throw new Error("If encoding is specified then the first argument must be a string");return l(this,t)}return s(this,t,e,n)}function s(t,e,n,r){if("number"==typeof e)throw new TypeError('"value" argument must not be a number');return"undefined"!=typeof ArrayBuffer&&e instanceof ArrayBuffer?d(t,e,n,r):"string"==typeof e?p(t,e,n):h(t,e)}function c(t){if("number"!=typeof t)throw new TypeError('"size" argument must be a number');if(0>t)throw new RangeError('"size" argument must not be negative')}function u(t,e,n,r){return c(e),0>=e?i(t,e):void 0!==n?"string"==typeof r?i(t,e).fill(n,r):i(t,e).fill(n):i(t,e)}function l(t,e){if(c(e),t=i(t,0>e?0:0|m(e)),!a.TYPED_ARRAY_SUPPORT)for(var n=0;e>n;++n)t[n]=0;return t}function p(t,e,n){if(("string"!=typeof n||""===n)&&(n="utf8"),!a.isEncoding(n))throw new TypeError('"encoding" must be a valid string encoding');var r=0|v(e,n),o=(t=i(t,r)).write(e,n);return o!==r&&(t=t.slice(0,o)),t}function f(t,e){var n=e.length<0?0:0|m(e.length);t=i(t,n);for(var r=0;n>r;r+=1)t[r]=255&e[r];return t}function d(t,e,n,r){if(e.byteLength,0>n||e.byteLength<n)throw new RangeError("'offset' is out of bounds");if(e.byteLength<n+(r||0))throw new RangeError("'length' is out of bounds");return e=void 0===n&&void 0===r?new Uint8Array(e):void 0===r?new Uint8Array(e,n):new Uint8Array(e,n,r),a.TYPED_ARRAY_SUPPORT?(t=e).__proto__=a.prototype:t=f(t,e),t}function h(t,e){if(a.isBuffer(e)){var n=0|m(e.length);return 0===(t=i(t,n)).length||e.copy(t,0,0,n),t}if(e){if("undefined"!=typeof ArrayBuffer&&e.buffer instanceof ArrayBuffer||"length"in e)return"number"!=typeof e.length||Y(e.length)?i(t,0):f(t,e);if("Buffer"===e.type&&J(e.data))return f(t,e.data)}throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}function m(t){if(t>=o())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+o().toString(16)+" bytes");return 0|t}function g(t){return+t!=t&&(t=0),a.alloc(+t)}function v(t,e){if(a.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 n=t.length;if(0===n)return 0;for(var r=!1;;)switch(e){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return H(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return W(t).length;default:if(r)return H(t).length;e=(""+e).toLowerCase(),r=!0}}function y(t,e,n){var r=!1;if((void 0===e||0>e)&&(e=0),e>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),0>=n)return"";if((e>>>=0)>=(n>>>=0))return"";for(t||(t="utf8");;)switch(t){case"hex":return R(this,e,n);case"utf8":case"utf-8":return P(this,e,n);case"ascii":return L(this,e,n);case"latin1":case"binary":return M(this,e,n);case"base64":return C(this,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return I(this,e,n);default:if(r)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),r=!0}}function b(t,e,n){var r=t[e];t[e]=t[n],t[n]=r}function w(t,e,n,r,o){if(0===t.length)return-1;if("string"==typeof n?(r=n,n=0):n>2147483647?n=2147483647:-2147483648>n&&(n=-2147483648),n=+n,isNaN(n)&&(n=o?0:t.length-1),0>n&&(n=t.length+n),n>=t.length){if(o)return-1;n=t.length-1}else if(0>n){if(!o)return-1;n=0}if("string"==typeof e&&(e=a.from(e,r)),a.isBuffer(e))return 0===e.length?-1:x(t,e,n,r,o);if("number"==typeof e)return e&=255,a.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?o?Uint8Array.prototype.indexOf.call(t,e,n):Uint8Array.prototype.lastIndexOf.call(t,e,n):x(t,[e],n,r,o);throw new TypeError("val must be string, number or Buffer")}function x(t,e,n,r,o){function i(t,e){return 1===s?t[e]:t.readUInt16BE(e*s)}var a,s=1,c=t.length,u=e.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(t.length<2||e.length<2)return-1;s=2,c/=2,u/=2,n/=2}if(o){var l=-1;for(a=n;c>a;a++)if(i(t,a)===i(e,-1===l?0:a-l)){if(-1===l&&(l=a),a-l+1===u)return l*s}else-1!==l&&(a-=a-l),l=-1}else for(n+u>c&&(n=c-u),a=n;a>=0;a--){for(var p=!0,f=0;u>f;f++)if(i(t,a+f)!==i(e,f)){p=!1;break}if(p)return a}return-1}function _(t,e,n,r){n=Number(n)||0;var o=t.length-n;r?(r=Number(r))>o&&(r=o):r=o;var i=e.length;if(i%2!=0)throw new TypeError("Invalid hex string");r>i/2&&(r=i/2);for(var a=0;r>a;++a){var s=parseInt(e.substr(2*a,2),16);if(isNaN(s))return a;t[n+a]=s}return a}function A(t,e,n,r){return X(H(e,t.length-n),t,n,r)}function k(t,e,n,r){return X(V(e),t,n,r)}function E(t,e,n,r){return k(t,e,n,r)}function S(t,e,n,r){return X(W(e),t,n,r)}function T(t,e,n,r){return X(z(e,t.length-n),t,n,r)}function C(t,e,n){return 0===e&&n===t.length?Z.fromByteArray(t):Z.fromByteArray(t.slice(e,n))}function P(t,e,n){n=Math.min(t.length,n);for(var r=[],o=e;n>o;){var i,a,s,c,u=t[o],l=null,p=u>239?4:u>223?3:u>191?2:1;if(n>=o+p)switch(p){case 1:128>u&&(l=u);break;case 2:128==(192&(i=t[o+1]))&&(c=(31&u)<<6|63&i)>127&&(l=c);break;case 3:i=t[o+1],a=t[o+2],128==(192&i)&&128==(192&a)&&(c=(15&u)<<12|(63&i)<<6|63&a)>2047&&(55296>c||c>57343)&&(l=c);break;case 4:i=t[o+1],a=t[o+2],s=t[o+3],128==(192&i)&&128==(192&a)&&128==(192&s)&&(c=(15&u)<<18|(63&i)<<12|(63&a)<<6|63&s)>65535&&1114112>c&&(l=c)}null===l?(l=65533,p=1):l>65535&&(l-=65536,r.push(l>>>10&1023|55296),l=56320|1023&l),r.push(l),o+=p}return O(r)}function O(t){var e=t.length;if(tt>=e)return String.fromCharCode.apply(String,t);for(var n="",r=0;e>r;)n+=String.fromCharCode.apply(String,t.slice(r,r+=tt));return n}function L(t,e,n){var r="";n=Math.min(t.length,n);for(var o=e;n>o;++o)r+=String.fromCharCode(127&t[o]);return r}function M(t,e,n){var r="";n=Math.min(t.length,n);for(var o=e;n>o;++o)r+=String.fromCharCode(t[o]);return r}function R(t,e,n){var r=t.length;(!e||0>e)&&(e=0),(!n||0>n||n>r)&&(n=r);for(var o="",i=e;n>i;++i)o+=K(t[i]);return o}function I(t,e,n){for(var r=t.slice(e,n),o="",i=0;i<r.length;i+=2)o+=String.fromCharCode(r[i]+256*r[i+1]);return o}function j(t,e,n){if(t%1!=0||0>t)throw new RangeError("offset is not uint");if(t+e>n)throw new RangeError("Trying to access beyond buffer length")}function D(t,e,n,r,o,i){if(!a.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>o||i>e)throw new RangeError('"value" argument is out of bounds');if(n+r>t.length)throw new RangeError("Index out of range")}function B(t,e,n,r){0>e&&(e=65535+e+1);for(var o=0,i=Math.min(t.length-n,2);i>o;++o)t[n+o]=(e&255<<8*(r?o:1-o))>>>8*(r?o:1-o)}function N(t,e,n,r){0>e&&(e=4294967295+e+1);for(var o=0,i=Math.min(t.length-n,4);i>o;++o)t[n+o]=e>>>8*(r?o:3-o)&255}function U(t,e,n,r,o,i){if(n+r>t.length)throw new RangeError("Index out of range");if(0>n)throw new RangeError("Index out of range")}function $(t,e,n,r,o){return o||U(t,e,n,4),Q.write(t,e,n,r,23,4),n+4}function F(t,e,n,r,o){return o||U(t,e,n,8),Q.write(t,e,n,r,52,8),n+8}function G(t){if((t=q(t).replace(et,"")).length<2)return"";for(;t.length%4!=0;)t+="=";return t}function q(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}function K(t){return 16>t?"0"+t.toString(16):t.toString(16)}function H(t,e){e=e||1/0;for(var n,r=t.length,o=null,i=[],a=0;r>a;++a){if((n=t.charCodeAt(a))>55295&&57344>n){if(!o){if(n>56319){(e-=3)>-1&&i.push(239,191,189);continue}if(a+1===r){(e-=3)>-1&&i.push(239,191,189);continue}o=n;continue}if(56320>n){(e-=3)>-1&&i.push(239,191,189),o=n;continue}n=65536+(o-55296<<10|n-56320)}else o&&(e-=3)>-1&&i.push(239,191,189);if(o=null,128>n){if((e-=1)<0)break;i.push(n)}else if(2048>n){if((e-=2)<0)break;i.push(n>>6|192,63&n|128)}else if(65536>n){if((e-=3)<0)break;i.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(1114112>n))throw new Error("Invalid code point");if((e-=4)<0)break;i.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return i}function V(t){for(var e=[],n=0;n<t.length;++n)e.push(255&t.charCodeAt(n));return e}function z(t,e){for(var n,r,o,i=[],a=0;a<t.length&&!((e-=2)<0);++a)r=(n=t.charCodeAt(a))>>8,o=n%256,i.push(o),i.push(r);return i}function W(t){return Z.toByteArray(G(t))}function X(t,e,n,r){for(var o=0;r>o&&!(o+n>=e.length||o>=t.length);++o)e[o+n]=t[o];return o}function Y(t){return t!=t}var Z=t("base64-js"),Q=t("ieee754"),J=t("isarray");n.Buffer=a,n.SlowBuffer=g,n.INSPECT_MAX_BYTES=50,a.TYPED_ARRAY_SUPPORT=void 0!==e.TYPED_ARRAY_SUPPORT?e.TYPED_ARRAY_SUPPORT:r(),n.kMaxLength=o(),a.poolSize=8192,a._augment=function(t){return t.__proto__=a.prototype,t},a.from=function(t,e,n){return s(null,t,e,n)},a.TYPED_ARRAY_SUPPORT&&(a.prototype.__proto__=Uint8Array.prototype,a.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&a[Symbol.species]===a&&Object.defineProperty(a,Symbol.species,{value:null,configurable:!0})),a.alloc=function(t,e,n){return u(null,t,e,n)},a.allocUnsafe=function(t){return l(null,t)},a.allocUnsafeSlow=function(t){return l(null,t)},a.isBuffer=function(t){return!(null==t||!t._isBuffer)},a.compare=function(t,e){if(!a.isBuffer(t)||!a.isBuffer(e))throw new TypeError("Arguments must be Buffers");if(t===e)return 0;for(var n=t.length,r=e.length,o=0,i=Math.min(n,r);i>o;++o)if(t[o]!==e[o]){n=t[o],r=e[o];break}return r>n?-1:n>r?1:0},a.isEncoding=function(t){switch(String(t).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},a.concat=function(t,e){if(!J(t))throw new TypeError('"list" argument must be an Array of Buffers');if(0===t.length)return a.alloc(0);var n;if(void 0===e)for(e=0,n=0;n<t.length;++n)e+=t[n].length;var r=a.allocUnsafe(e),o=0;for(n=0;n<t.length;++n){var i=t[n];if(!a.isBuffer(i))throw new TypeError('"list" argument must be an Array of Buffers');i.copy(r,o),o+=i.length}return r},a.byteLength=v,a.prototype._isBuffer=!0,a.prototype.swap16=function(){var t=this.length;if(t%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var e=0;t>e;e+=2)b(this,e,e+1);return this},a.prototype.swap32=function(){var t=this.length;if(t%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var e=0;t>e;e+=4)b(this,e,e+3),b(this,e+1,e+2);return this},a.prototype.swap64=function(){var t=this.length;if(t%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var e=0;t>e;e+=8)b(this,e,e+7),b(this,e+1,e+6),b(this,e+2,e+5),b(this,e+3,e+4);return this},a.prototype.toString=function(){var t=0|this.length;return 0===t?"":0===arguments.length?P(this,0,t):y.apply(this,arguments)},a.prototype.equals=function(t){if(!a.isBuffer(t))throw new TypeError("Argument must be a Buffer");return this===t||0===a.compare(this,t)},a.prototype.inspect=function(){var t="",e=n.INSPECT_MAX_BYTES;return this.length>0&&(t=this.toString("hex",0,e).match(/.{2}/g).join(" "),this.length>e&&(t+=" ... ")),"<Buffer "+t+">"},a.prototype.compare=function(t,e,n,r,o){if(!a.isBuffer(t))throw new TypeError("Argument must be a Buffer");if(void 0===e&&(e=0),void 0===n&&(n=t?t.length:0),void 0===r&&(r=0),void 0===o&&(o=this.length),0>e||n>t.length||0>r||o>this.length)throw new RangeError("out of range index");if(r>=o&&e>=n)return 0;if(r>=o)return-1;if(e>=n)return 1;if(this===t)return 0;for(var i=(o>>>=0)-(r>>>=0),s=(n>>>=0)-(e>>>=0),c=Math.min(i,s),u=this.slice(r,o),l=t.slice(e,n),p=0;c>p;++p)if(u[p]!==l[p]){i=u[p],s=l[p];break}return s>i?-1:i>s?1:0},a.prototype.includes=function(t,e,n){return-1!==this.indexOf(t,e,n)},a.prototype.indexOf=function(t,e,n){return w(this,t,e,n,!0)},a.prototype.lastIndexOf=function(t,e,n){return w(this,t,e,n,!1)},a.prototype.write=function(t,e,n,r){if(void 0===e)r="utf8",n=this.length,e=0;else if(void 0===n&&"string"==typeof e)r=e,n=this.length,e=0;else{if(!isFinite(e))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");e|=0,isFinite(n)?(n|=0,void 0===r&&(r="utf8")):(r=n,n=void 0)}var o=this.length-e;if((void 0===n||n>o)&&(n=o),t.length>0&&(0>n||0>e)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var i=!1;;)switch(r){case"hex":return _(this,t,e,n);case"utf8":case"utf-8":return A(this,t,e,n);case"ascii":return k(this,t,e,n);case"latin1":case"binary":return E(this,t,e,n);case"base64":return S(this,t,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return T(this,t,e,n);default:if(i)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),i=!0}},a.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var tt=4096;a.prototype.slice=function(t,e){var n,r=this.length;if(0>(t=~~t)?0>(t+=r)&&(t=0):t>r&&(t=r),0>(e=void 0===e?r:~~e)?0>(e+=r)&&(e=0):e>r&&(e=r),t>e&&(e=t),a.TYPED_ARRAY_SUPPORT)(n=this.subarray(t,e)).__proto__=a.prototype;else{var o=e-t;n=new a(o,void 0);for(var i=0;o>i;++i)n[i]=this[i+t]}return n},a.prototype.readUIntLE=function(t,e,n){t|=0,e|=0,n||j(t,e,this.length);for(var r=this[t],o=1,i=0;++i<e&&(o*=256);)r+=this[t+i]*o;return r},a.prototype.readUIntBE=function(t,e,n){t|=0,e|=0,n||j(t,e,this.length);for(var r=this[t+--e],o=1;e>0&&(o*=256);)r+=this[t+--e]*o;return r},a.prototype.readUInt8=function(t,e){return e||j(t,1,this.length),this[t]},a.prototype.readUInt16LE=function(t,e){return e||j(t,2,this.length),this[t]|this[t+1]<<8},a.prototype.readUInt16BE=function(t,e){return e||j(t,2,this.length),this[t]<<8|this[t+1]},a.prototype.readUInt32LE=function(t,e){return e||j(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},a.prototype.readUInt32BE=function(t,e){return e||j(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},a.prototype.readIntLE=function(t,e,n){t|=0,e|=0,n||j(t,e,this.length);for(var r=this[t],o=1,i=0;++i<e&&(o*=256);)r+=this[t+i]*o;return r>=(o*=128)&&(r-=Math.pow(2,8*e)),r},a.prototype.readIntBE=function(t,e,n){t|=0,e|=0,n||j(t,e,this.length);for(var r=e,o=1,i=this[t+--r];r>0&&(o*=256);)i+=this[t+--r]*o;return i>=(o*=128)&&(i-=Math.pow(2,8*e)),i},a.prototype.readInt8=function(t,e){return e||j(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},a.prototype.readInt16LE=function(t,e){e||j(t,2,this.length);var n=this[t]|this[t+1]<<8;return 32768&n?4294901760|n:n},a.prototype.readInt16BE=function(t,e){e||j(t,2,this.length);var n=this[t+1]|this[t]<<8;return 32768&n?4294901760|n:n},a.prototype.readInt32LE=function(t,e){return e||j(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},a.prototype.readInt32BE=function(t,e){return e||j(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},a.prototype.readFloatLE=function(t,e){return e||j(t,4,this.length),Q.read(this,t,!0,23,4)},a.prototype.readFloatBE=function(t,e){return e||j(t,4,this.length),Q.read(this,t,!1,23,4)},a.prototype.readDoubleLE=function(t,e){return e||j(t,8,this.length),Q.read(this,t,!0,52,8)},a.prototype.readDoubleBE=function(t,e){return e||j(t,8,this.length),Q.read(this,t,!1,52,8)},a.prototype.writeUIntLE=function(t,e,n,r){t=+t,e|=0,n|=0,r||D(this,t,e,n,Math.pow(2,8*n)-1,0);var o=1,i=0;for(this[e]=255&t;++i<n&&(o*=256);)this[e+i]=t/o&255;return e+n},a.prototype.writeUIntBE=function(t,e,n,r){t=+t,e|=0,n|=0,r||D(this,t,e,n,Math.pow(2,8*n)-1,0);var o=n-1,i=1;for(this[e+o]=255&t;--o>=0&&(i*=256);)this[e+o]=t/i&255;return e+n},a.prototype.writeUInt8=function(t,e,n){return t=+t,e|=0,n||D(this,t,e,1,255,0),a.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),this[e]=255&t,e+1},a.prototype.writeUInt16LE=function(t,e,n){return t=+t,e|=0,n||D(this,t,e,2,65535,0),a.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):B(this,t,e,!0),e+2},a.prototype.writeUInt16BE=function(t,e,n){return t=+t,e|=0,n||D(this,t,e,2,65535,0),a.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):B(this,t,e,!1),e+2},a.prototype.writeUInt32LE=function(t,e,n){return t=+t,e|=0,n||D(this,t,e,4,4294967295,0),a.TYPED_ARRAY_SUPPORT?(this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t):N(this,t,e,!0),e+4},a.prototype.writeUInt32BE=function(t,e,n){return t=+t,e|=0,n||D(this,t,e,4,4294967295,0),a.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):N(this,t,e,!1),e+4},a.prototype.writeIntLE=function(t,e,n,r){if(t=+t,e|=0,!r){var o=Math.pow(2,8*n-1);D(this,t,e,n,o-1,-o)}var i=0,a=1,s=0;for(this[e]=255&t;++i<n&&(a*=256);)0>t&&0===s&&0!==this[e+i-1]&&(s=1),this[e+i]=(t/a>>0)-s&255;return e+n},a.prototype.writeIntBE=function(t,e,n,r){if(t=+t,e|=0,!r){var o=Math.pow(2,8*n-1);D(this,t,e,n,o-1,-o)}var i=n-1,a=1,s=0;for(this[e+i]=255&t;--i>=0&&(a*=256);)0>t&&0===s&&0!==this[e+i+1]&&(s=1),this[e+i]=(t/a>>0)-s&255;return e+n},a.prototype.writeInt8=function(t,e,n){return t=+t,e|=0,n||D(this,t,e,1,127,-128),a.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),0>t&&(t=255+t+1),this[e]=255&t,e+1},a.prototype.writeInt16LE=function(t,e,n){return t=+t,e|=0,n||D(this,t,e,2,32767,-32768),a.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):B(this,t,e,!0),e+2},a.prototype.writeInt16BE=function(t,e,n){return t=+t,e|=0,n||D(this,t,e,2,32767,-32768),a.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):B(this,t,e,!1),e+2},a.prototype.writeInt32LE=function(t,e,n){return t=+t,e|=0,n||D(this,t,e,4,2147483647,-2147483648),a.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24):N(this,t,e,!0),e+4},a.prototype.writeInt32BE=function(t,e,n){return t=+t,e|=0,n||D(this,t,e,4,2147483647,-2147483648),0>t&&(t=4294967295+t+1),a.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):N(this,t,e,!1),e+4},a.prototype.writeFloatLE=function(t,e,n){return $(this,t,e,!0,n)},a.prototype.writeFloatBE=function(t,e,n){return $(this,t,e,!1,n)},a.prototype.writeDoubleLE=function(t,e,n){return F(this,t,e,!0,n)},a.prototype.writeDoubleBE=function(t,e,n){return F(this,t,e,!1,n)},a.prototype.copy=function(t,e,n,r){if(n||(n=0),r||0===r||(r=this.length),e>=t.length&&(e=t.length),e||(e=0),r>0&&n>r&&(r=n),r===n)return 0;if(0===t.length||0===this.length)return 0;if(0>e)throw new RangeError("targetStart out of bounds");if(0>n||n>=this.length)throw new RangeError("sourceStart out of bounds");if(0>r)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),t.length-e<r-n&&(r=t.length-e+n);var o,i=r-n;if(this===t&&e>n&&r>e)for(o=i-1;o>=0;--o)t[o+e]=this[o+n];else if(1e3>i||!a.TYPED_ARRAY_SUPPORT)for(o=0;i>o;++o)t[o+e]=this[o+n];else Uint8Array.prototype.set.call(t,this.subarray(n,n+i),e);return i},a.prototype.fill=function(t,e,n,r){if("string"==typeof t){if("string"==typeof e?(r=e,e=0,n=this.length):"string"==typeof n&&(r=n,n=this.length),1===t.length){var o=t.charCodeAt(0);256>o&&(t=o)}if(void 0!==r&&"string"!=typeof r)throw new TypeError("encoding must be a string");if("string"==typeof r&&!a.isEncoding(r))throw new TypeError("Unknown encoding: "+r)}else"number"==typeof t&&(t&=255);if(0>e||this.length<e||this.length<n)throw new RangeError("Out of range index");if(e>=n)return this;var i;if(e>>>=0,n=void 0===n?this.length:n>>>0,t||(t=0),"number"==typeof t)for(i=e;n>i;++i)this[i]=t;else{var s=a.isBuffer(t)?t:H(new a(t,r).toString()),c=s.length;for(i=0;n-e>i;++i)this[i+e]=s[i%c]}return this};var et=/[^+\/0-9A-Za-z-_]/g}).call(this,void 0!==commonjsGlobal?commonjsGlobal:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"base64-js":34,ieee754:161,isarray:166}],39:[function(t,e,n){e.exports={100:"Continue",101:"Switching Protocols",102:"Processing",200:"OK",201:"Created",202:"Accepted",203:"Non-Authoritative Information",204:"No Content",205:"Reset Content",206:"Partial Content",207:"Multi-Status",208:"Already Reported",226:"IM Used",300:"Multiple Choices",301:"Moved Permanently",302:"Found",303:"See Other",304:"Not Modified",305:"Use Proxy",307:"Temporary Redirect",308:"Permanent Redirect",400:"Bad Request",401:"Unauthorized",402:"Payment Required",403:"Forbidden",404:"Not Found",405:"Method Not Allowed",406:"Not Acceptable",407:"Proxy Authentication Required",408:"Request Timeout",409:"Conflict",410:"Gone",411:"Length Required",412:"Precondition Failed",413:"Payload Too Large",414:"URI Too Long",415:"Unsupported Media Type",416:"Range Not Satisfiable",417:"Expectation Failed",418:"I'm a teapot",421:"Misdirected Request",422:"Unprocessable Entity",423:"Locked",424:"Failed Dependency",425:"Unordered Collection",426:"Upgrade Required",428:"Precondition Required",429:"Too Many Requests",431:"Request Header Fields Too Large",451:"Unavailable For Legal Reasons",500:"Internal Server Error",501:"Not Implemented",502:"Bad Gateway",503:"Service Unavailable",504:"Gateway Timeout",505:"HTTP Version Not Supported",506:"Variant Also Negotiates",507:"Insufficient Storage",508:"Loop Detected",509:"Bandwidth Limit Exceeded",510:"Not Extended",511:"Network Authentication Required"}},{}],40:[function(t,e,n){var r=function(){this.buffer=[],this.fns=[]};r.prototype.push=function(t,e){if(this.fns.length)return this.fns.shift()(null,t);var n={data:t,priority:e},r=o(this.buffer,n,(function(t){return t.priority}));this.buffer.splice(r,0,n)},r.prototype.next=function(){var t=this;return function(e){return t.buffer.length?e(null,t.buffer.pop().data):void t.fns.push(e)}};var o=function(t,e,n){e=n(e);for(var r=0,o=t?t.length:r;o>r;){var i=r+o>>>1;n(t[i])<e?r=i+1:o=i}return r};e.exports=r},{}],41:[function(t,e,n){function r(t){var e=this,n=f.call(arguments,1);return new Promise((function(r,i){function a(e){var n;try{n=t.next(e)}catch(t){return i(t)}u(n)}function s(e){var n;try{n=t.throw(e)}catch(t){return i(t)}u(n)}function u(t){if(t.done)return r(t.value);var n=o.call(e,t.value);return n&&c(n)?n.then(a,s):s(new TypeError('You may only yield a function, promise, generator, array, or object, but the following object was passed: "'+String(t.value)+'"'))}return"function"==typeof t&&(t=t.apply(e,n)),t&&"function"==typeof t.next?void a():r(t)}))}function o(t){return t?c(t)?t:l(t)||u(t)?r.call(this,t):"function"==typeof t?i.call(this,t):Array.isArray(t)?a.call(this,t):p(t)?s.call(this,t):t:t}function i(t){var e=this;return new Promise((function(n,r){t.call(e,(function(t,e){return t?r(t):(arguments.length>2&&(e=f.call(arguments,1)),void n(e))}))}))}function a(t){return Promise.all(t.map(o,this))}function s(t){function e(t,e){n[e]=void 0,i.push(t.then((function(t){n[e]=t})))}for(var n=new t.constructor,r=Object.keys(t),i=[],a=0;a<r.length;a++){var s=r[a],u=o.call(this,t[s]);u&&c(u)?e(u,s):n[s]=t[s]}return Promise.all(i).then((function(){return n}))}function c(t){return"function"==typeof t.then}function u(t){return"function"==typeof t.next&&"function"==typeof t.throw}function l(t){var e=t.constructor;return!!e&&("GeneratorFunction"===e.name||"GeneratorFunction"===e.displayName||u(e.prototype))}function p(t){return Object==t.constructor}var f=Array.prototype.slice;e.exports=r.default=r.co=r,r.wrap=function(t){function e(){return r.call(this,t.apply(this,arguments))}return e.__generatorFunction__=t,e}},{}],42:[function(t,e,n){e.exports={O_RDONLY:0,O_WRONLY:1,O_RDWR:2,S_IFMT:61440,S_IFREG:32768,S_IFDIR:16384,S_IFCHR:8192,S_IFBLK:24576,S_IFIFO:4096,S_IFLNK:40960,S_IFSOCK:49152,O_CREAT:512,O_EXCL:2048,O_NOCTTY:131072,O_TRUNC:1024,O_APPEND:8,O_DIRECTORY:1048576,O_NOFOLLOW:256,O_SYNC:128,O_SYMLINK:2097152,O_NONBLOCK:4,S_IRWXU:448,S_IRUSR:256,S_IWUSR:128,S_IXUSR:64,S_IRWXG:56,S_IRGRP:32,S_IWGRP:16,S_IXGRP:8,S_IRWXO:7,S_IROTH:4,S_IWOTH:2,S_IXOTH:1,E2BIG:7,EACCES:13,EADDRINUSE:48,EADDRNOTAVAIL:49,EAFNOSUPPORT:47,EAGAIN:35,EALREADY:37,EBADF:9,EBADMSG:94,EBUSY:16,ECANCELED:89,ECHILD:10,ECONNABORTED:53,ECONNREFUSED:61,ECONNRESET:54,EDEADLK:11,EDESTADDRREQ:39,EDOM:33,EDQUOT:69,EEXIST:17,EFAULT:14,EFBIG:27,EHOSTUNREACH:65,EIDRM:90,EILSEQ:92,EINPROGRESS:36,EINTR:4,EINVAL:22,EIO:5,EISCONN:56,EISDIR:21,ELOOP:62,EMFILE:24,EMLINK:31,EMSGSIZE:40,EMULTIHOP:95,ENAMETOOLONG:63,ENETDOWN:50,ENETRESET:52,ENETUNREACH:51,ENFILE:23,ENOBUFS:55,ENODATA:96,ENODEV:19,ENOENT:2,ENOEXEC:8,ENOLCK:77,ENOLINK:97,ENOMEM:12,ENOMSG:91,ENOPROTOOPT:42,ENOSPC:28,ENOSR:98,ENOSTR:99,ENOSYS:78,ENOTCONN:57,ENOTDIR:20,ENOTEMPTY:66,ENOTSOCK:38,ENOTSUP:45,ENOTTY:25,ENXIO:6,EOPNOTSUPP:102,EOVERFLOW:84,EPERM:1,EPIPE:32,EPROTO:100,EPROTONOSUPPORT:43,EPROTOTYPE:41,ERANGE:34,EROFS:30,ESPIPE:29,ESRCH:3,ESTALE:70,ETIME:101,ETIMEDOUT:60,ETXTBSY:26,EWOULDBLOCK:35,EXDEV:18,SIGHUP:1,SIGINT:2,SIGQUIT:3,SIGILL:4,SIGTRAP:5,SIGABRT:6,SIGIOT:6,SIGBUS:10,SIGFPE:8,SIGKILL:9,SIGUSR1:30,SIGSEGV:11,SIGUSR2:31,SIGPIPE:13,SIGALRM:14,SIGTERM:15,SIGCHLD:20,SIGCONT:19,SIGSTOP:17,SIGTSTP:18,SIGTTIN:21,SIGTTOU:22,SIGURG:16,SIGXCPU:24,SIGXFSZ:25,SIGVTALRM:26,SIGPROF:27,SIGWINCH:28,SIGIO:23,SIGSYS:12,SSL_OP_ALL:2147486719,SSL_OP_ALLOW_UNSAFE_LEGACY_RENEGOTIATION:262144,SSL_OP_CIPHER_SERVER_PREFERENCE:4194304,SSL_OP_CISCO_ANYCONNECT:32768,SSL_OP_COOKIE_EXCHANGE:8192,SSL_OP_CRYPTOPRO_TLSEXT_BUG:2147483648,SSL_OP_DONT_INSERT_EMPTY_FRAGMENTS:2048,SSL_OP_EPHEMERAL_RSA:0,SSL_OP_LEGACY_SERVER_CONNECT:4,SSL_OP_MICROSOFT_BIG_SSLV3_BUFFER:32,SSL_OP_MICROSOFT_SESS_ID_BUG:1,SSL_OP_MSIE_SSLV2_RSA_PADDING:0,SSL_OP_NETSCAPE_CA_DN_BUG:536870912,SSL_OP_NETSCAPE_CHALLENGE_BUG:2,SSL_OP_NETSCAPE_DEMO_CIPHER_CHANGE_BUG:1073741824,SSL_OP_NETSCAPE_REUSE_CIPHER_CHANGE_BUG:8,SSL_OP_NO_COMPRESSION:131072,SSL_OP_NO_QUERY_MTU:4096,SSL_OP_NO_SESSION_RESUMPTION_ON_RENEGOTIATION:65536,SSL_OP_NO_SSLv2:16777216,SSL_OP_NO_SSLv3:33554432,SSL_OP_NO_TICKET:16384,SSL_OP_NO_TLSv1:67108864,SSL_OP_NO_TLSv1_1:268435456,SSL_OP_NO_TLSv1_2:134217728,SSL_OP_PKCS1_CHECK_1:0,SSL_OP_PKCS1_CHECK_2:0,SSL_OP_SINGLE_DH_USE:1048576,SSL_OP_SINGLE_ECDH_USE:524288,SSL_OP_SSLEAY_080_CLIENT_DH_BUG:128,SSL_OP_SSLREF2_REUSE_CERT_TYPE_BUG:0,SSL_OP_TLS_BLOCK_PADDING_BUG:512,SSL_OP_TLS_D5_BUG:256,SSL_OP_TLS_ROLLBACK_BUG:8388608,ENGINE_METHOD_DSA:2,ENGINE_METHOD_DH:4,ENGINE_METHOD_RAND:8,ENGINE_METHOD_ECDH:16,ENGINE_METHOD_ECDSA:32,ENGINE_METHOD_CIPHERS:64,ENGINE_METHOD_DIGESTS:128,ENGINE_METHOD_STORE:256,ENGINE_METHOD_PKEY_METHS:512,ENGINE_METHOD_PKEY_ASN1_METHS:1024,ENGINE_METHOD_ALL:65535,ENGINE_METHOD_NONE:0,DH_CHECK_P_NOT_SAFE_PRIME:2,DH_CHECK_P_NOT_PRIME:1,DH_UNABLE_TO_CHECK_GENERATOR:4,DH_NOT_SUITABLE_GENERATOR:8,NPN_ENABLED:1,RSA_PKCS1_PADDING:1,RSA_SSLV23_PADDING:2,RSA_NO_PADDING:3,RSA_PKCS1_OAEP_PADDING:4,RSA_X931_PADDING:5,RSA_PKCS1_PSS_PADDING:6,POINT_CONVERSION_COMPRESSED:2,POINT_CONVERSION_UNCOMPRESSED:4,POINT_CONVERSION_HYBRID:6,F_OK:0,R_OK:4,W_OK:2,X_OK:1,UV_UDP_REUSEADDR:4}},{}],43:[function(t,e,n){function r(t,e){return this instanceof r?(this.src=t,void(this._withAccess=e)):new r(t,e)}function o(t,e){return void 0===t[e]&&void 0===t.__lookupGetter__(e)&&void 0===t.__lookupSetter__(e)}var i=Array.prototype.slice;e.exports=r,r.prototype.withAccess=function(t){return this._withAccess=!1!==t,this},r.prototype.pick=function(t){return Array.isArray(t)||(t=i.call(arguments)),t.length&&(this.keys=t),this},r.prototype.to=function(t){if(t=t||{},!this.src)return t;var e=this.keys||Object.keys(this.src);if(!this._withAccess){for(var n=0;n<e.length;n++)void 0===t[r=e[n]]&&(t[r]=this.src[r]);return t}for(n=0;n<e.length;n++){var r=e[n];if(o(t,r)){var i=this.src.__lookupGetter__(r),a=this.src.__lookupSetter__(r);i&&t.__defineGetter__(r,i),a&&t.__defineSetter__(r,a),i||a||(t[r]=this.src[r])}}return t},r.prototype.toCover=function(t){for(var e=this.keys||Object.keys(this.src),n=0;n<e.length;n++){var r=e[n];delete t[r];var o=this.src.__lookupGetter__(r),i=this.src.__lookupSetter__(r);o&&t.__defineGetter__(r,o),i&&t.__defineSetter__(r,i),o||i||(t[r]=this.src[r])}},r.prototype.override=r.prototype.toCover,r.prototype.and=function(t){var e={};return this.to(e),this.src=t,this.to(e),this.src=e,this}},{}],44:[function(t,e,n){t("../../modules/es6.string.iterator"),t("../../modules/es6.array.from"),e.exports=t("../../modules/_core").Array.from},{"../../modules/_core":65,"../../modules/es6.array.from":133,"../../modules/es6.string.iterator":145}],45:[function(t,e,n){var r=t("../../modules/_core"),o=r.JSON||(r.JSON={stringify:JSON.stringify});e.exports=function(t){return o.stringify.apply(o,arguments)}},{"../../modules/_core":65}],46:[function(t,e,n){t("../../modules/es6.object.assign"),e.exports=t("../../modules/_core").Object.assign},{"../../modules/_core":65,"../../modules/es6.object.assign":136}],47:[function(t,e,n){t("../../modules/es6.object.create");var r=t("../../modules/_core").Object;e.exports=function(t,e){return r.create(t,e)}},{"../../modules/_core":65,"../../modules/es6.object.create":137}],48:[function(t,e,n){t("../../modules/es6.object.define-property");var r=t("../../modules/_core").Object;e.exports=function(t,e,n){return r.defineProperty(t,e,n)}},{"../../modules/_core":65,"../../modules/es6.object.define-property":138}],49:[function(t,e,n){t("../../modules/es6.object.get-own-property-names");var r=t("../../modules/_core").Object;e.exports=function(t){return r.getOwnPropertyNames(t)}},{"../../modules/_core":65,"../../modules/es6.object.get-own-property-names":139}],50:[function(t,e,n){t("../../modules/es6.object.get-prototype-of"),e.exports=t("../../modules/_core").Object.getPrototypeOf},{"../../modules/_core":65,"../../modules/es6.object.get-prototype-of":140}],51:[function(t,e,n){t("../../modules/es6.object.keys"),e.exports=t("../../modules/_core").Object.keys},{"../../modules/_core":65,"../../modules/es6.object.keys":141}],52:[function(t,e,n){t("../modules/es6.object.to-string"),t("../modules/es6.string.iterator"),t("../modules/web.dom.iterable"),t("../modules/es6.promise"),t("../modules/es7.promise.finally"),t("../modules/es7.promise.try"),e.exports=t("../modules/_core").Promise},{"../modules/_core":65,"../modules/es6.object.to-string":142,"../modules/es6.promise":143,"../modules/es6.string.iterator":145,"../modules/es7.promise.finally":147,"../modules/es7.promise.try":148,"../modules/web.dom.iterable":151}],53:[function(t,e,n){t("../modules/web.immediate"),e.exports=t("../modules/_core").setImmediate},{"../modules/_core":65,"../modules/web.immediate":152}],54:[function(t,e,n){t("../../modules/es6.string.from-code-point"),e.exports=t("../../modules/_core").String.fromCodePoint},{"../../modules/_core":65,"../../modules/es6.string.from-code-point":144}],55:[function(t,e,n){t("../../modules/es6.function.has-instance"),e.exports=t("../../modules/_wks-ext").f("hasInstance")},{"../../modules/_wks-ext":130,"../../modules/es6.function.has-instance":135}],56:[function(t,e,n){t("../../modules/es6.symbol"),t("../../modules/es6.object.to-string"),t("../../modules/es7.symbol.async-iterator"),t("../../modules/es7.symbol.observable"),e.exports=t("../../modules/_core").Symbol},{"../../modules/_core":65,"../../modules/es6.object.to-string":142,"../../modules/es6.symbol":146,"../../modules/es7.symbol.async-iterator":149,"../../modules/es7.symbol.observable":150}],57:[function(t,e,n){t("../../modules/es6.string.iterator"),t("../../modules/web.dom.iterable"),e.exports=t("../../modules/_wks-ext").f("iterator")},{"../../modules/_wks-ext":130,"../../modules/es6.string.iterator":145,"../../modules/web.dom.iterable":151}],58:[function(t,e,n){e.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},{}],59:[function(t,e,n){e.exports=function(){}},{}],60:[function(t,e,n){e.exports=function(t,e,n,r){if(!(t instanceof e)||void 0!==r&&r in t)throw TypeError(n+": incorrect invocation!");return t}},{}],61:[function(t,e,n){var r=t("./_is-object");e.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},{"./_is-object":85}],62:[function(t,e,n){var r=t("./_to-iobject"),o=t("./_to-length"),i=t("./_to-absolute-index");e.exports=function(t){return function(e,n,a){var s,c=r(e),u=o(c.length),l=i(a,u);if(t&&n!=n){for(;u>l;)if((s=c[l++])!=s)return!0}else for(;u>l;l++)if((t||l in c)&&c[l]===n)return t||l||0;return!t&&-1}}},{"./_to-absolute-index":121,"./_to-iobject":123,"./_to-length":124}],63:[function(t,e,n){var r=t("./_cof"),o=t("./_wks")("toStringTag"),i="Arguments"==r(function(){return arguments}()),a=function(t,e){try{return t[e]}catch(t){}};e.exports=function(t){var e,n,s;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=a(e=Object(t),o))?n:i?r(e):"Object"==(s=r(e))&&"function"==typeof e.callee?"Arguments":s}},{"./_cof":64,"./_wks":131}],64:[function(t,e,n){var r={}.toString;e.exports=function(t){return r.call(t).slice(8,-1)}},{}],65:[function(t,e,n){var r=e.exports={version:"2.5.7"};"number"==typeof __e&&(__e=r)},{}],66:[function(t,e,n){var r=t("./_object-dp"),o=t("./_property-desc");e.exports=function(t,e,n){e in t?r.f(t,e,o(0,n)):t[e]=n}},{"./_object-dp":98,"./_property-desc":111}],67:[function(t,e,n){var r=t("./_a-function");e.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,o){return t.call(e,n,r,o)}}return function(){return t.apply(e,arguments)}}},{"./_a-function":58}],68:[function(t,e,n){e.exports=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t}},{}],69:[function(t,e,n){e.exports=!t("./_fails")((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},{"./_fails":74}],70:[function(t,e,n){var r=t("./_is-object"),o=t("./_global").document,i=r(o)&&r(o.createElement);e.exports=function(t){return i?o.createElement(t):{}}},{"./_global":76,"./_is-object":85}],71:[function(t,e,n){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},{}],72:[function(t,e,n){var r=t("./_object-keys"),o=t("./_object-gops"),i=t("./_object-pie");e.exports=function(t){var e=r(t),n=o.f;if(n)for(var a,s=n(t),c=i.f,u=0;s.length>u;)c.call(t,a=s[u++])&&e.push(a);return e}},{"./_object-gops":103,"./_object-keys":106,"./_object-pie":107}],73:[function(t,e,n){var r=t("./_global"),o=t("./_core"),i=t("./_ctx"),a=t("./_hide"),s=t("./_has"),c="prototype",u=function(t,e,n){var l,p,f,d=t&u.F,h=t&u.G,m=t&u.S,g=t&u.P,v=t&u.B,y=t&u.W,b=h?o:o[e]||(o[e]={}),w=b[c],x=h?r:m?r[e]:(r[e]||{})[c];for(l in h&&(n=e),n)(p=!d&&x&&void 0!==x[l])&&s(b,l)||(f=p?x[l]:n[l],b[l]=h&&"function"!=typeof x[l]?n[l]:v&&p?i(f,r):y&&x[l]==f?function(t){var e=function(e,n,r){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(e);case 2:return new t(e,n)}return new t(e,n,r)}return t.apply(this,arguments)};return e[c]=t[c],e}(f):g&&"function"==typeof f?i(Function.call,f):f,g&&((b.virtual||(b.virtual={}))[l]=f,t&u.R&&w&&!w[l]&&a(w,l,f)))};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":65,"./_ctx":67,"./_global":76,"./_has":77,"./_hide":78}],74:[function(t,e,n){e.exports=function(t){try{return!!t()}catch(t){return!0}}},{}],75:[function(t,e,n){var r=t("./_ctx"),o=t("./_iter-call"),i=t("./_is-array-iter"),a=t("./_an-object"),s=t("./_to-length"),c=t("./core.get-iterator-method"),u={},l={};n=e.exports=function(t,e,n,p,f){var d,h,m,g,v=f?function(){return t}:c(t),y=r(n,p,e?2:1),b=0;if("function"!=typeof v)throw TypeError(t+" is not iterable!");if(i(v)){for(d=s(t.length);d>b;b++)if((g=e?y(a(h=t[b])[0],h[1]):y(t[b]))===u||g===l)return g}else for(m=v.call(t);!(h=m.next()).done;)if((g=o(m,y,h.value,e))===u||g===l)return g},n.BREAK=u,n.RETURN=l},{"./_an-object":61,"./_ctx":67,"./_is-array-iter":83,"./_iter-call":86,"./_to-length":124,"./core.get-iterator-method":132}],76:[function(t,e,n){var r=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=r)},{}],77:[function(t,e,n){var r={}.hasOwnProperty;e.exports=function(t,e){return r.call(t,e)}},{}],78:[function(t,e,n){var r=t("./_object-dp"),o=t("./_property-desc");e.exports=t("./_descriptors")?function(t,e,n){return r.f(t,e,o(1,n))}:function(t,e,n){return t[e]=n,t}},{"./_descriptors":69,"./_object-dp":98,"./_property-desc":111}],79:[function(t,e,n){var r=t("./_global").document;e.exports=r&&r.documentElement},{"./_global":76}],80:[function(t,e,n){e.exports=!t("./_descriptors")&&!t("./_fails")((function(){return 7!=Object.defineProperty(t("./_dom-create")("div"),"a",{get:function(){return 7}}).a}))},{"./_descriptors":69,"./_dom-create":70,"./_fails":74}],81:[function(t,e,n){e.exports=function(t,e,n){var r=void 0===n;switch(e.length){case 0:return r?t():t.call(n);case 1:return r?t(e[0]):t.call(n,e[0]);case 2:return r?t(e[0],e[1]):t.call(n,e[0],e[1]);case 3:return r?t(e[0],e[1],e[2]):t.call(n,e[0],e[1],e[2]);case 4:return r?t(e[0],e[1],e[2],e[3]):t.call(n,e[0],e[1],e[2],e[3])}return t.apply(n,e)}},{}],82:[function(t,e,n){var r=t("./_cof");e.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},{"./_cof":64}],83:[function(t,e,n){var r=t("./_iterators"),o=t("./_wks")("iterator"),i=Array.prototype;e.exports=function(t){return void 0!==t&&(r.Array===t||i[o]===t)}},{"./_iterators":91,"./_wks":131}],84:[function(t,e,n){var r=t("./_cof");e.exports=Array.isArray||function(t){return"Array"==r(t)}},{"./_cof":64}],85:[function(t,e,n){e.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},{}],86:[function(t,e,n){var r=t("./_an-object");e.exports=function(t,e,n,o){try{return o?e(r(n)[0],n[1]):e(n)}catch(e){var i=t.return;throw void 0!==i&&r(i.call(t)),e}}},{"./_an-object":61}],87:[function(t,e,n){var r=t("./_object-create"),o=t("./_property-desc"),i=t("./_set-to-string-tag"),a={};t("./_hide")(a,t("./_wks")("iterator"),(function(){return this})),e.exports=function(t,e,n){t.prototype=r(a,{next:o(1,n)}),i(t,e+" Iterator")}},{"./_hide":78,"./_object-create":97,"./_property-desc":111,"./_set-to-string-tag":115,"./_wks":131}],88:[function(t,e,n){var r=t("./_library"),o=t("./_export"),i=t("./_redefine"),a=t("./_hide"),s=t("./_iterators"),c=t("./_iter-create"),u=t("./_set-to-string-tag"),l=t("./_object-gpo"),p=t("./_wks")("iterator"),f=!([].keys&&"next"in[].keys()),d="@@iterator",h="keys",m="values",g=function(){return this};e.exports=function(t,e,n,v,y,b,w){c(n,e,v);var x,_,A,k=function(t){if(!f&&t in C)return C[t];switch(t){case h:case m:return function(){return new n(this,t)}}return function(){return new n(this,t)}},E=e+" Iterator",S=y==m,T=!1,C=t.prototype,P=C[p]||C[d]||y&&C[y],O=P||k(y),L=y?S?k("entries"):O:void 0,M="Array"==e&&C.entries||P;if(M&&(A=l(M.call(new t)))!==Object.prototype&&A.next&&(u(A,E,!0),r||"function"==typeof A[p]||a(A,p,g)),S&&P&&P.name!==m&&(T=!0,O=function(){return P.call(this)}),r&&!w||!f&&!T&&C[p]||a(C,p,O),s[e]=O,s[E]=g,y)if(x={values:S?O:k(m),keys:b?O:k(h),entries:L},w)for(_ in x)_ in C||i(C,_,x[_]);else o(o.P+o.F*(f||T),e,x);return x}},{"./_export":73,"./_hide":78,"./_iter-create":87,"./_iterators":91,"./_library":92,"./_object-gpo":104,"./_redefine":113,"./_set-to-string-tag":115,"./_wks":131}],89:[function(t,e,n){var r=t("./_wks")("iterator"),o=!1;try{var i=[7][r]();i.return=function(){o=!0},Array.from(i,(function(){throw 2}))}catch(t){}e.exports=function(t,e){if(!e&&!o)return!1;var n=!1;try{var i=[7],a=i[r]();a.next=function(){return{done:n=!0}},i[r]=function(){return a},t(i)}catch(t){}return n}},{"./_wks":131}],90:[function(t,e,n){e.exports=function(t,e){return{value:e,done:!!t}}},{}],91:[function(t,e,n){e.exports={}},{}],92:[function(t,e,n){e.exports=!0},{}],93:[function(t,e,n){var r=t("./_uid")("meta"),o=t("./_is-object"),i=t("./_has"),a=t("./_object-dp").f,s=0,c=Object.isExtensible||function(){return!0},u=!t("./_fails")((function(){return c(Object.preventExtensions({}))})),l=function(t){a(t,r,{value:{i:"O"+ ++s,w:{}}})},p=function(t,e){if(!o(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!i(t,r)){if(!c(t))return"F";if(!e)return"E";l(t)}return t[r].i},f=function(t,e){if(!i(t,r)){if(!c(t))return!0;if(!e)return!1;l(t)}return t[r].w},d=function(t){return u&&h.NEED&&c(t)&&!i(t,r)&&l(t),t},h=e.exports={KEY:r,NEED:!1,fastKey:p,getWeak:f,onFreeze:d}},{"./_fails":74,"./_has":77,"./_is-object":85,"./_object-dp":98,"./_uid":127}],94:[function(t,e,n){var r=t("./_global"),o=t("./_task").set,i=r.MutationObserver||r.WebKitMutationObserver,a=r.process,s=r.Promise,c="process"==t("./_cof")(a);e.exports=function(){var t,e,n,u=function(){var r,o;for(c&&(r=a.domain)&&r.exit();t;){o=t.fn,t=t.next;try{o()}catch(r){throw t?n():e=void 0,r}}e=void 0,r&&r.enter()};if(c)n=function(){a.nextTick(u)};else if(!i||r.navigator&&r.navigator.standalone)if(s&&s.resolve){var l=s.resolve(void 0);n=function(){l.then(u)}}else n=function(){o.call(r,u)};else{var p=!0,f=document.createTextNode("");new i(u).observe(f,{characterData:!0}),n=function(){f.data=p=!p}}return function(r){var o={fn:r,next:void 0};e&&(e.next=o),t||(t=o,n()),e=o}}},{"./_cof":64,"./_global":76,"./_task":120}],95:[function(t,e,n){function r(t){var e,n;this.promise=new t((function(t,r){if(void 0!==e||void 0!==n)throw TypeError("Bad Promise constructor");e=t,n=r})),this.resolve=o(e),this.reject=o(n)}var o=t("./_a-function");e.exports.f=function(t){return new r(t)}},{"./_a-function":58}],96:[function(t,e,n){var r=t("./_object-keys"),o=t("./_object-gops"),i=t("./_object-pie"),a=t("./_to-object"),s=t("./_iobject"),c=Object.assign;e.exports=!c||t("./_fails")((function(){var t={},e={},n=Symbol(),r="abcdefghijklmnopqrst";return t[n]=7,r.split("").forEach((function(t){e[t]=t})),7!=c({},t)[n]||Object.keys(c({},e)).join("")!=r}))?function(t,e){for(var n=a(t),c=arguments.length,u=1,l=o.f,p=i.f;c>u;)for(var f,d=s(arguments[u++]),h=l?r(d).concat(l(d)):r(d),m=h.length,g=0;m>g;)p.call(d,f=h[g++])&&(n[f]=d[f]);return n}:c},{"./_fails":74,"./_iobject":82,"./_object-gops":103,"./_object-keys":106,"./_object-pie":107,"./_to-object":125}],97:[function(t,e,n){var r=t("./_an-object"),o=t("./_object-dps"),i=t("./_enum-bug-keys"),a=t("./_shared-key")("IE_PROTO"),s=function(){},c="prototype",u=function(){var e,n=t("./_dom-create")("iframe"),r=i.length,o="<",a=">";for(n.style.display="none",t("./_html").appendChild(n),n.src="javascript:",(e=n.contentWindow.document).open(),e.write(o+"script"+a+"document.F=Object"+o+"/script"+a),e.close(),u=e.F;r--;)delete u[c][i[r]];return u()};e.exports=Object.create||function(t,e){var n;return null!==t?(s[c]=r(t),n=new s,s[c]=null,n[a]=t):n=u(),void 0===e?n:o(n,e)}},{"./_an-object":61,"./_dom-create":70,"./_enum-bug-keys":71,"./_html":79,"./_object-dps":99,"./_shared-key":116}],98:[function(t,e,n){var r=t("./_an-object"),o=t("./_ie8-dom-define"),i=t("./_to-primitive"),a=Object.defineProperty;n.f=t("./_descriptors")?Object.defineProperty:function(t,e,n){if(r(t),e=i(e,!0),r(n),o)try{return a(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},{"./_an-object":61,"./_descriptors":69,"./_ie8-dom-define":80,"./_to-primitive":126}],99:[function(t,e,n){var r=t("./_object-dp"),o=t("./_an-object"),i=t("./_object-keys");e.exports=t("./_descriptors")?Object.defineProperties:function(t,e){o(t);for(var n,a=i(e),s=a.length,c=0;s>c;)r.f(t,n=a[c++],e[n]);return t}},{"./_an-object":61,"./_descriptors":69,"./_object-dp":98,"./_object-keys":106}],100:[function(t,e,n){var r=t("./_object-pie"),o=t("./_property-desc"),i=t("./_to-iobject"),a=t("./_to-primitive"),s=t("./_has"),c=t("./_ie8-dom-define"),u=Object.getOwnPropertyDescriptor;n.f=t("./_descriptors")?u:function(t,e){if(t=i(t),e=a(e,!0),c)try{return u(t,e)}catch(t){}return s(t,e)?o(!r.f.call(t,e),t[e]):void 0}},{"./_descriptors":69,"./_has":77,"./_ie8-dom-define":80,"./_object-pie":107,"./_property-desc":111,"./_to-iobject":123,"./_to-primitive":126}],101:[function(t,e,n){var r=t("./_to-iobject"),o=t("./_object-gopn").f,i={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],s=function(t){try{return o(t)}catch(t){return a.slice()}};e.exports.f=function(t){return a&&"[object Window]"==i.call(t)?s(t):o(r(t))}},{"./_object-gopn":102,"./_to-iobject":123}],102:[function(t,e,n){var r=t("./_object-keys-internal"),o=t("./_enum-bug-keys").concat("length","prototype");n.f=Object.getOwnPropertyNames||function(t){return r(t,o)}},{"./_enum-bug-keys":71,"./_object-keys-internal":105}],103:[function(t,e,n){n.f=Object.getOwnPropertySymbols},{}],104:[function(t,e,n){var r=t("./_has"),o=t("./_to-object"),i=t("./_shared-key")("IE_PROTO"),a=Object.prototype;e.exports=Object.getPrototypeOf||function(t){return t=o(t),r(t,i)?t[i]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?a:null}},{"./_has":77,"./_shared-key":116,"./_to-object":125}],105:[function(t,e,n){var r=t("./_has"),o=t("./_to-iobject"),i=t("./_array-includes")(!1),a=t("./_shared-key")("IE_PROTO");e.exports=function(t,e){var n,s=o(t),c=0,u=[];for(n in s)n!=a&&r(s,n)&&u.push(n);for(;e.length>c;)r(s,n=e[c++])&&(~i(u,n)||u.push(n));return u}},{"./_array-includes":62,"./_has":77,"./_shared-key":116,"./_to-iobject":123}],106:[function(t,e,n){var r=t("./_object-keys-internal"),o=t("./_enum-bug-keys");e.exports=Object.keys||function(t){return r(t,o)}},{"./_enum-bug-keys":71,"./_object-keys-internal":105}],107:[function(t,e,n){n.f={}.propertyIsEnumerable},{}],108:[function(t,e,n){var r=t("./_export"),o=t("./_core"),i=t("./_fails");e.exports=function(t,e){var n=(o.Object||{})[t]||Object[t],a={};a[t]=e(n),r(r.S+r.F*i((function(){n(1)})),"Object",a)}},{"./_core":65,"./_export":73,"./_fails":74}],109:[function(t,e,n){e.exports=function(t){try{return{e:!1,v:t()}}catch(t){return{e:!0,v:t}}}},{}],110:[function(t,e,n){var r=t("./_an-object"),o=t("./_is-object"),i=t("./_new-promise-capability");e.exports=function(t,e){if(r(t),o(e)&&e.constructor===t)return e;var n=i.f(t);return(0,n.resolve)(e),n.promise}},{"./_an-object":61,"./_is-object":85,"./_new-promise-capability":95}],111:[function(t,e,n){e.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},{}],112:[function(t,e,n){var r=t("./_hide");e.exports=function(t,e,n){for(var o in e)n&&t[o]?t[o]=e[o]:r(t,o,e[o]);return t}},{"./_hide":78}],113:[function(t,e,n){e.exports=t("./_hide")},{"./_hide":78}],114:[function(t,e,n){var r=t("./_global"),o=t("./_core"),i=t("./_object-dp"),a=t("./_descriptors"),s=t("./_wks")("species");e.exports=function(t){var e="function"==typeof o[t]?o[t]:r[t];a&&e&&!e[s]&&i.f(e,s,{configurable:!0,get:function(){return this}})}},{"./_core":65,"./_descriptors":69,"./_global":76,"./_object-dp":98,"./_wks":131}],115:[function(t,e,n){var r=t("./_object-dp").f,o=t("./_has"),i=t("./_wks")("toStringTag");e.exports=function(t,e,n){t&&!o(t=n?t:t.prototype,i)&&r(t,i,{configurable:!0,value:e})}},{"./_has":77,"./_object-dp":98,"./_wks":131}],116:[function(t,e,n){var r=t("./_shared")("keys"),o=t("./_uid");e.exports=function(t){return r[t]||(r[t]=o(t))}},{"./_shared":117,"./_uid":127}],117:[function(t,e,n){var r=t("./_core"),o=t("./_global"),i="__core-js_shared__",a=o[i]||(o[i]={});(e.exports=function(t,e){return a[t]||(a[t]=void 0!==e?e:{})})("versions",[]).push({version:r.version,mode:t("./_library")?"pure":"global",copyright:"© 2018 Denis Pushkarev (zloirock.ru)"})},{"./_core":65,"./_global":76,"./_library":92}],118:[function(t,e,n){var r=t("./_an-object"),o=t("./_a-function"),i=t("./_wks")("species");e.exports=function(t,e){var n,a=r(t).constructor;return void 0===a||null==(n=r(a)[i])?e:o(n)}},{"./_a-function":58,"./_an-object":61,"./_wks":131}],119:[function(t,e,n){var r=t("./_to-integer"),o=t("./_defined");e.exports=function(t){return function(e,n){var i,a,s=String(o(e)),c=r(n),u=s.length;return 0>c||c>=u?t?"":void 0:55296>(i=s.charCodeAt(c))||i>56319||c+1===u||(a=s.charCodeAt(c+1))<56320||a>57343?t?s.charAt(c):i:t?s.slice(c,c+2):a-56320+(i-55296<<10)+65536}}},{"./_defined":68,"./_to-integer":122}],120:[function(t,e,n){var r,o,i,a=t("./_ctx"),s=t("./_invoke"),c=t("./_html"),u=t("./_dom-create"),l=t("./_global"),p=l.process,f=l.setImmediate,d=l.clearImmediate,h=l.MessageChannel,m=l.Dispatch,g=0,v={},y="onreadystatechange",b=function(){var t=+this;if(v.hasOwnProperty(t)){var e=v[t];delete v[t],e()}},w=function(t){b.call(t.data)};f&&d||(f=function(t){for(var e=[],n=1;arguments.length>n;)e.push(arguments[n++]);return v[++g]=function(){s("function"==typeof t?t:Function(t),e)},r(g),g},d=function(t){delete v[t]},"process"==t("./_cof")(p)?r=function(t){p.nextTick(a(b,t,1))}:m&&m.now?r=function(t){m.now(a(b,t,1))}:h?(i=(o=new h).port2,o.port1.onmessage=w,r=a(i.postMessage,i,1)):l.addEventListener&&"function"==typeof postMessage&&!l.importScripts?(r=function(t){l.postMessage(t+"","*")},l.addEventListener("message",w,!1)):r=y in u("script")?function(t){c.appendChild(u("script"))[y]=function(){c.removeChild(this),b.call(t)}}:function(t){setTimeout(a(b,t,1),0)}),e.exports={set:f,clear:d}},{"./_cof":64,"./_ctx":67,"./_dom-create":70,"./_global":76,"./_html":79,"./_invoke":81}],121:[function(t,e,n){var r=t("./_to-integer"),o=Math.max,i=Math.min;e.exports=function(t,e){return 0>(t=r(t))?o(t+e,0):i(t,e)}},{"./_to-integer":122}],122:[function(t,e,n){var r=Math.ceil,o=Math.floor;e.exports=function(t){return isNaN(t=+t)?0:(t>0?o:r)(t)}},{}],123:[function(t,e,n){var r=t("./_iobject"),o=t("./_defined");e.exports=function(t){return r(o(t))}},{"./_defined":68,"./_iobject":82}],124:[function(t,e,n){var r=t("./_to-integer"),o=Math.min;e.exports=function(t){return t>0?o(r(t),9007199254740991):0}},{"./_to-integer":122}],125:[function(t,e,n){var r=t("./_defined");e.exports=function(t){return Object(r(t))}},{"./_defined":68}],126:[function(t,e,n){var r=t("./_is-object");e.exports=function(t,e){if(!r(t))return t;var n,o;if(e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;if("function"==typeof(n=t.valueOf)&&!r(o=n.call(t)))return o;if(!e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},{"./_is-object":85}],127:[function(t,e,n){var r=0,o=Math.random();e.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++r+o).toString(36))}},{}],128:[function(t,e,n){var r=t("./_global").navigator;e.exports=r&&r.userAgent||""},{"./_global":76}],129:[function(t,e,n){var r=t("./_global"),o=t("./_core"),i=t("./_library"),a=t("./_wks-ext"),s=t("./_object-dp").f;e.exports=function(t){var e=o.Symbol||(o.Symbol=i?{}:r.Symbol||{});"_"==t.charAt(0)||t in e||s(e,t,{value:a.f(t)})}},{"./_core":65,"./_global":76,"./_library":92,"./_object-dp":98,"./_wks-ext":130}],130:[function(t,e,n){n.f=t("./_wks")},{"./_wks":131}],131:[function(t,e,n){var r=t("./_shared")("wks"),o=t("./_uid"),i=t("./_global").Symbol,a="function"==typeof i,s=e.exports=function(t){return r[t]||(r[t]=a&&i[t]||(a?i:o)("Symbol."+t))};s.store=r},{"./_global":76,"./_shared":117,"./_uid":127}],132:[function(t,e,n){var r=t("./_classof"),o=t("./_wks")("iterator"),i=t("./_iterators");e.exports=t("./_core").getIteratorMethod=function(t){return null!=t?t[o]||t["@@iterator"]||i[r(t)]:void 0}},{"./_classof":63,"./_core":65,"./_iterators":91,"./_wks":131}],133:[function(t,e,n){var r=t("./_ctx"),o=t("./_export"),i=t("./_to-object"),a=t("./_iter-call"),s=t("./_is-array-iter"),c=t("./_to-length"),u=t("./_create-property"),l=t("./core.get-iterator-method");o(o.S+o.F*!t("./_iter-detect")((function(t){Array.from(t)})),"Array",{from:function(t){var e,n,o,p,f=i(t),d="function"==typeof this?this:Array,h=arguments.length,m=h>1?arguments[1]:void 0,g=void 0!==m,v=0,y=l(f);if(g&&(m=r(m,h>2?arguments[2]:void 0,2)),null==y||d==Array&&s(y))for(n=new d(e=c(f.length));e>v;v++)u(n,v,g?m(f[v],v):f[v]);else for(p=y.call(f),n=new d;!(o=p.next()).done;v++)u(n,v,g?a(p,m,[o.value,v],!0):o.value);return n.length=v,n}})},{"./_create-property":66,"./_ctx":67,"./_export":73,"./_is-array-iter":83,"./_iter-call":86,"./_iter-detect":89,"./_to-length":124,"./_to-object":125,"./core.get-iterator-method":132}],134:[function(t,e,n){var r=t("./_add-to-unscopables"),o=t("./_iter-step"),i=t("./_iterators"),a=t("./_to-iobject");e.exports=t("./_iter-define")(Array,"Array",(function(t,e){this._t=a(t),this._i=0,this._k=e}),(function(){var t=this._t,e=this._k,n=this._i++;return!t||n>=t.length?(this._t=void 0,o(1)):o(0,"keys"==e?n:"values"==e?t[n]:[n,t[n]])}),"values"),i.Arguments=i.Array,r("keys"),r("values"),r("entries")},{"./_add-to-unscopables":59,"./_iter-define":88,"./_iter-step":90,"./_iterators":91,"./_to-iobject":123}],135:[function(t,e,n){var r=t("./_is-object"),o=t("./_object-gpo"),i=t("./_wks")("hasInstance"),a=Function.prototype;i in a||t("./_object-dp").f(a,i,{value:function(t){if("function"!=typeof this||!r(t))return!1;if(!r(this.prototype))return t instanceof this;for(;t=o(t);)if(this.prototype===t)return!0;return!1}})},{"./_is-object":85,"./_object-dp":98,"./_object-gpo":104,"./_wks":131}],136:[function(t,e,n){var r=t("./_export");r(r.S+r.F,"Object",{assign:t("./_object-assign")})},{"./_export":73,"./_object-assign":96}],137:[function(t,e,n){var r=t("./_export");r(r.S,"Object",{create:t("./_object-create")})},{"./_export":73,"./_object-create":97}],138:[function(t,e,n){var r=t("./_export");r(r.S+r.F*!t("./_descriptors"),"Object",{defineProperty:t("./_object-dp").f})},{"./_descriptors":69,"./_export":73,"./_object-dp":98}],139:[function(t,e,n){t("./_object-sap")("getOwnPropertyNames",(function(){return t("./_object-gopn-ext").f}))},{"./_object-gopn-ext":101,"./_object-sap":108}],140:[function(t,e,n){var r=t("./_to-object"),o=t("./_object-gpo");t("./_object-sap")("getPrototypeOf",(function(){return function(t){return o(r(t))}}))},{"./_object-gpo":104,"./_object-sap":108,"./_to-object":125}],141:[function(t,e,n){var r=t("./_to-object"),o=t("./_object-keys");t("./_object-sap")("keys",(function(){return function(t){return o(r(t))}}))},{"./_object-keys":106,"./_object-sap":108,"./_to-object":125}],142:[function(t,e,n){arguments[4][36][0].apply(n,arguments)},{dup:36}],143:[function(t,e,n){var r,o,i,a,s=t("./_library"),c=t("./_global"),u=t("./_ctx"),l=t("./_classof"),p=t("./_export"),f=t("./_is-object"),d=t("./_a-function"),h=t("./_an-instance"),m=t("./_for-of"),g=t("./_species-constructor"),v=t("./_task").set,y=t("./_microtask")(),b=t("./_new-promise-capability"),w=t("./_perform"),x=t("./_user-agent"),_=t("./_promise-resolve"),A="Promise",k=c.TypeError,E=c.process,S=E&&E.versions,T=S&&S.v8||"",C=c[A],P="process"==l(E),O=function(){},L=o=b.f,M=!!function(){try{var e=C.resolve(1),n=(e.constructor={})[t("./_wks")("species")]=function(t){t(O,O)};return(P||"function"==typeof PromiseRejectionEvent)&&e.then(O)instanceof n&&0!==T.indexOf("6.6")&&-1===x.indexOf("Chrome/66")}catch(t){}}(),R=function(t){var e;return!(!f(t)||"function"!=typeof(e=t.then))&&e},I=function(t,e){if(!t._n){t._n=!0;var n=t._c;y((function(){for(var r=t._v,o=1==t._s,i=0,a=function(e){var n,i,a,s=o?e.ok:e.fail,c=e.resolve,u=e.reject,l=e.domain;try{s?(o||(2==t._h&&B(t),t._h=1),!0===s?n=r:(l&&l.enter(),n=s(r),l&&(l.exit(),a=!0)),n===e.promise?u(k("Promise-chain cycle")):(i=R(n))?i.call(n,c,u):c(n)):u(r)}catch(t){l&&!a&&l.exit(),u(t)}};n.length>i;)a(n[i++]);t._c=[],t._n=!1,e&&!t._h&&j(t)}))}},j=function(t){v.call(c,(function(){var e,n,r,o=t._v,i=D(t);if(i&&(e=w((function(){P?E.emit("unhandledRejection",o,t):(n=c.onunhandledrejection)?n({promise:t,reason:o}):(r=c.console)&&r.error&&r.error("Unhandled promise rejection",o)})),t._h=P||D(t)?2:1),t._a=void 0,i&&e.e)throw e.v}))},D=function(t){return 1!==t._h&&0===(t._a||t._c).length},B=function(t){v.call(c,(function(){var e;P?E.emit("rejectionHandled",t):(e=c.onrejectionhandled)&&e({promise:t,reason:t._v})}))},N=function(t){var e=this;e._d||(e._d=!0,(e=e._w||e)._v=t,e._s=2,e._a||(e._a=e._c.slice()),I(e,!0))},U=function(t){var e,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===t)throw k("Promise can't be resolved itself");(e=R(t))?y((function(){var r={_w:n,_d:!1};try{e.call(t,u(U,r,1),u(N,r,1))}catch(t){N.call(r,t)}})):(n._v=t,n._s=1,I(n,!1))}catch(t){N.call({_w:n,_d:!1},t)}}};M||(C=function(t){h(this,C,A,"_h"),d(t),r.call(this);try{t(u(U,this,1),u(N,this,1))}catch(t){N.call(this,t)}},(r=function(t){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1}).prototype=t("./_redefine-all")(C.prototype,{then:function(t,e){var n=L(g(this,C));return n.ok="function"!=typeof t||t,n.fail="function"==typeof e&&e,n.domain=P?E.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&I(this,!1),n.promise},catch:function(t){return this.then(void 0,t)}}),i=function(){var t=new r;this.promise=t,this.resolve=u(U,t,1),this.reject=u(N,t,1)},b.f=L=function(t){return t===C||t===a?new i(t):o(t)}),p(p.G+p.W+p.F*!M,{Promise:C}),t("./_set-to-string-tag")(C,A),t("./_set-species")(A),a=t("./_core")[A],p(p.S+p.F*!M,A,{reject:function(t){var e=L(this);return(0,e.reject)(t),e.promise}}),p(p.S+p.F*(s||!M),A,{resolve:function(t){return _(s&&this===a?C:this,t)}}),p(p.S+p.F*!(M&&t("./_iter-detect")((function(t){C.all(t).catch(O)}))),A,{all:function(t){var e=this,n=L(e),r=n.resolve,o=n.reject,i=w((function(){var n=[],i=0,a=1;m(t,!1,(function(t){var s=i++,c=!1;n.push(void 0),a++,e.resolve(t).then((function(t){c||(c=!0,n[s]=t,--a||r(n))}),o)})),--a||r(n)}));return i.e&&o(i.v),n.promise},race:function(t){var e=this,n=L(e),r=n.reject,o=w((function(){m(t,!1,(function(t){e.resolve(t).then(n.resolve,r)}))}));return o.e&&r(o.v),n.promise}})},{"./_a-function":58,"./_an-instance":60,"./_classof":63,"./_core":65,"./_ctx":67,"./_export":73,"./_for-of":75,"./_global":76,"./_is-object":85,"./_iter-detect":89,"./_library":92,"./_microtask":94,"./_new-promise-capability":95,"./_perform":109,"./_promise-resolve":110,"./_redefine-all":112,"./_set-species":114,"./_set-to-string-tag":115,"./_species-constructor":118,"./_task":120,"./_user-agent":128,"./_wks":131}],144:[function(t,e,n){var r=t("./_export"),o=t("./_to-absolute-index"),i=String.fromCharCode,a=String.fromCodePoint;r(r.S+r.F*(!!a&&1!=a.length),"String",{fromCodePoint:function(t){for(var e,n=[],r=arguments.length,a=0;r>a;){if(e=+arguments[a++],o(e,1114111)!==e)throw RangeError(e+" is not a valid code point");n.push(65536>e?i(e):i(55296+((e-=65536)>>10),e%1024+56320))}return n.join("")}})},{"./_export":73,"./_to-absolute-index":121}],145:[function(t,e,n){var r=t("./_string-at")(!0);t("./_iter-define")(String,"String",(function(t){this._t=String(t),this._i=0}),(function(){var t,e=this._t,n=this._i;return n>=e.length?{value:void 0,done:!0}:(t=r(e,n),this._i+=t.length,{value:t,done:!1})}))},{"./_iter-define":88,"./_string-at":119}],146:[function(t,e,n){var r=t("./_global"),o=t("./_has"),i=t("./_descriptors"),a=t("./_export"),s=t("./_redefine"),c=t("./_meta").KEY,u=t("./_fails"),l=t("./_shared"),p=t("./_set-to-string-tag"),f=t("./_uid"),d=t("./_wks"),h=t("./_wks-ext"),m=t("./_wks-define"),g=t("./_enum-keys"),v=t("./_is-array"),y=t("./_an-object"),b=t("./_is-object"),w=t("./_to-iobject"),x=t("./_to-primitive"),_=t("./_property-desc"),A=t("./_object-create"),k=t("./_object-gopn-ext"),E=t("./_object-gopd"),S=t("./_object-dp"),T=t("./_object-keys"),C=E.f,P=S.f,O=k.f,L=r.Symbol,M=r.JSON,R=M&&M.stringify,I="prototype",j=d("_hidden"),D=d("toPrimitive"),B={}.propertyIsEnumerable,N=l("symbol-registry"),U=l("symbols"),$=l("op-symbols"),F=Object[I],G="function"==typeof L,q=r.QObject,K=!q||!q[I]||!q[I].findChild,H=i&&u((function(){return 7!=A(P({},"a",{get:function(){return P(this,"a",{value:7}).a}})).a}))?function(t,e,n){var r=C(F,e);r&&delete F[e],P(t,e,n),r&&t!==F&&P(F,e,r)}:P,V=function(t){var e=U[t]=A(L[I]);return e._k=t,e},z=G&&"symbol"==typeof L.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof L},W=function(t,e,n){return t===F&&W($,e,n),y(t),e=x(e,!0),y(n),o(U,e)?(n.enumerable?(o(t,j)&&t[j][e]&&(t[j][e]=!1),n=A(n,{enumerable:_(0,!1)})):(o(t,j)||P(t,j,_(1,{})),t[j][e]=!0),H(t,e,n)):P(t,e,n)},X=function(t,e){y(t);for(var n,r=g(e=w(e)),o=0,i=r.length;i>o;)W(t,n=r[o++],e[n]);return t},Y=function(t,e){return void 0===e?A(t):X(A(t),e)},Z=function(t){var e=B.call(this,t=x(t,!0));return!(this===F&&o(U,t)&&!o($,t))&&(!(e||!o(this,t)||!o(U,t)||o(this,j)&&this[j][t])||e)},Q=function(t,e){if(t=w(t),e=x(e,!0),t!==F||!o(U,e)||o($,e)){var n=C(t,e);return!n||!o(U,e)||o(t,j)&&t[j][e]||(n.enumerable=!0),n}},J=function(t){for(var e,n=O(w(t)),r=[],i=0;n.length>i;)o(U,e=n[i++])||e==j||e==c||r.push(e);return r},tt=function(t){for(var e,n=t===F,r=O(n?$:w(t)),i=[],a=0;r.length>a;)o(U,e=r[a++])&&(!n||o(F,e))&&i.push(U[e]);return i};G||(L=function(){if(this instanceof L)throw TypeError("Symbol is not a constructor!");var t=f(arguments.length>0?arguments[0]:void 0),e=function(n){this===F&&e.call($,n),o(this,j)&&o(this[j],t)&&(this[j][t]=!1),H(this,t,_(1,n))};return i&&K&&H(F,t,{configurable:!0,set:e}),V(t)},s(L[I],"toString",(function(){return this._k})),E.f=Q,S.f=W,t("./_object-gopn").f=k.f=J,t("./_object-pie").f=Z,t("./_object-gops").f=tt,i&&!t("./_library")&&s(F,"propertyIsEnumerable",Z,!0),h.f=function(t){return V(d(t))}),a(a.G+a.W+a.F*!G,{Symbol:L});for(var et="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),nt=0;et.length>nt;)d(et[nt++]);for(var rt=T(d.store),ot=0;rt.length>ot;)m(rt[ot++]);a(a.S+a.F*!G,"Symbol",{for:function(t){return o(N,t+="")?N[t]:N[t]=L(t)},keyFor:function(t){if(!z(t))throw TypeError(t+" is not a symbol!");for(var e in N)if(N[e]===t)return e},useSetter:function(){K=!0},useSimple:function(){K=!1}}),a(a.S+a.F*!G,"Object",{create:Y,defineProperty:W,defineProperties:X,getOwnPropertyDescriptor:Q,getOwnPropertyNames:J,getOwnPropertySymbols:tt}),M&&a(a.S+a.F*(!G||u((function(){var t=L();return"[null]"!=R([t])||"{}"!=R({a:t})||"{}"!=R(Object(t))}))),"JSON",{stringify:function(t){for(var e,n,r=[t],o=1;arguments.length>o;)r.push(arguments[o++]);return n=e=r[1],!b(e)&&void 0===t||z(t)?void 0:(v(e)||(e=function(t,e){return"function"==typeof n&&(e=n.call(this,t,e)),z(e)?void 0:e}),r[1]=e,R.apply(M,r))}}),L[I][D]||t("./_hide")(L[I],D,L[I].valueOf),p(L,"Symbol"),p(Math,"Math",!0),p(r.JSON,"JSON",!0)},{"./_an-object":61,"./_descriptors":69,"./_enum-keys":72,"./_export":73,"./_fails":74,"./_global":76,"./_has":77,"./_hide":78,"./_is-array":84,"./_is-object":85,"./_library":92,"./_meta":93,"./_object-create":97,"./_object-dp":98,"./_object-gopd":100,"./_object-gopn":102,"./_object-gopn-ext":101,"./_object-gops":103,"./_object-keys":106,"./_object-pie":107,"./_property-desc":111,"./_redefine":113,"./_set-to-string-tag":115,"./_shared":117,"./_to-iobject":123,"./_to-primitive":126,"./_uid":127,"./_wks":131,"./_wks-define":129,"./_wks-ext":130}],147:[function(t,e,n){var r=t("./_export"),o=t("./_core"),i=t("./_global"),a=t("./_species-constructor"),s=t("./_promise-resolve");r(r.P+r.R,"Promise",{finally:function(t){var e=a(this,o.Promise||i.Promise),n="function"==typeof t;return this.then(n?function(n){return s(e,t()).then((function(){return n}))}:t,n?function(n){return s(e,t()).then((function(){throw n}))}:t)}})},{"./_core":65,"./_export":73,"./_global":76,"./_promise-resolve":110,"./_species-constructor":118}],148:[function(t,e,n){var r=t("./_export"),o=t("./_new-promise-capability"),i=t("./_perform");r(r.S,"Promise",{try:function(t){var e=o.f(this),n=i(t);return(n.e?e.reject:e.resolve)(n.v),e.promise}})},{"./_export":73,"./_new-promise-capability":95,"./_perform":109}],149:[function(t,e,n){t("./_wks-define")("asyncIterator")},{"./_wks-define":129}],150:[function(t,e,n){t("./_wks-define")("observable")},{"./_wks-define":129}],151:[function(t,e,n){t("./es6.array.iterator");for(var r=t("./_global"),o=t("./_hide"),i=t("./_iterators"),a=t("./_wks")("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(","),c=0;c<s.length;c++){var u=s[c],l=r[u],p=l&&l.prototype;p&&!p[a]&&o(p,a,u),i[u]=i.Array}},{"./_global":76,"./_hide":78,"./_iterators":91,"./_wks":131,"./es6.array.iterator":134}],152:[function(t,e,n){var r=t("./_export"),o=t("./_task");r(r.G+r.B,{setImmediate:o.set,clearImmediate:o.clear})},{"./_export":73,"./_task":120}],153:[function(t,e,n){(function(e){function r(t){return t&&t.__esModule?t:{default:t}}function o(t){return Array.isArray?Array.isArray(t):"[object Array]"===y(t)}function i(t){return"boolean"==typeof t}function a(t){return null===t}function s(t){return null==t}function c(t){return"number"==typeof t}function u(t){return"string"==typeof t}function l(t){return"symbol"===(void 0===t?"undefined":(0,b.default)(t))}function p(t){return void 0===t}function f(t){return"[object RegExp]"===y(t)}function d(t){return"object"===(void 0===t?"undefined":(0,b.default)(t))&&null!==t}function h(t){return"[object Date]"===y(t)}function m(t){return"[object Error]"===y(t)||t instanceof Error}function g(t){return"function"==typeof t}function v(t){return null===t||"boolean"==typeof t||"number"==typeof t||"string"==typeof t||"symbol"===(void 0===t?"undefined":(0,b.default)(t))||void 0===t}function y(t){return Object.prototype.toString.call(t)}var b=r(t("babel-runtime/helpers/typeof"));n.isArray=o,n.isBoolean=i,n.isNull=a,n.isNullOrUndefined=s,n.isNumber=c,n.isString=u,n.isSymbol=l,n.isUndefined=p,n.isRegExp=f,n.isObject=d,n.isDate=h,n.isError=m,n.isFunction=g,n.isPrimitive=v,n.isBuffer=e.isBuffer}).call(this,{isBuffer:t("../../is-buffer/index.js")})},{"../../is-buffer/index.js":163,"babel-runtime/helpers/typeof":32}],154:[function(t,e,n){function r(t){return t&&t.__esModule?t:{default:t}}var o=r(t("babel-runtime/helpers/typeof"));!function(t){function r(t,e){for(t=String(t),e=e||2;t.length<e;)t="0"+t;return t}function i(t){var e=new Date(t.getFullYear(),t.getMonth(),t.getDate());e.setDate(e.getDate()-(e.getDay()+6)%7+3);var n=new Date(e.getFullYear(),0,4);n.setDate(n.getDate()-(n.getDay()+6)%7+3);var r=e.getTimezoneOffset()-n.getTimezoneOffset();e.setHours(e.getHours()-r);var o=(e-n)/6048e5;return 1+Math.floor(o)}function a(t){var e=t.getDay();return 0===e&&(e=7),e}function s(t){return null===t?"null":void 0===t?"undefined":"object"!==(void 0===t?"undefined":(0,o.default)(t))?void 0===t?"undefined":(0,o.default)(t):Array.isArray(t)?"array":{}.toString.call(t).slice(8,-1).toLowerCase()}var c=function(){var t=/d{1,4}|m{1,4}|yy(?:yy)?|([HhMsTt])\1?|[LloSZWN]|'[^']*'|'[^']*'/g,e=/\b(?:[PMCEA][SDP]T|(?:Pacific|Mountain|Central|Eastern|Atlantic) (?:Standard|Daylight|Prevailing) Time|(?:GMT|UTC)(?:[-+]\d{4})?)\b/g,n=/[^-+\dA-Z]/g;return function(o,u,l,p){if(1!==arguments.length||"string"!==s(o)||/\d/.test(o)||(u=o,o=void 0),(o=o||new Date)instanceof Date||(o=new Date(o)),isNaN(o))throw TypeError("Invalid date");var f=(u=String(c.masks[u]||u||c.masks.default)).slice(0,4);("UTC:"===f||"GMT:"===f)&&(u=u.slice(4),l=!0,"GMT:"===f&&(p=!0));var d=l?"getUTC":"get",h=o[d+"Date"](),m=o[d+"Day"](),g=o[d+"Month"](),v=o[d+"FullYear"](),y=o[d+"Hours"](),b=o[d+"Minutes"](),w=o[d+"Seconds"](),x=o[d+"Milliseconds"](),_=l?0:o.getTimezoneOffset(),A=i(o),k=a(o),E={d:h,dd:r(h),ddd:c.i18n.dayNames[m],dddd:c.i18n.dayNames[m+7],m:g+1,mm:r(g+1),mmm:c.i18n.monthNames[g],mmmm:c.i18n.monthNames[g+12],yy:String(v).slice(2),yyyy:v,h:y%12||12,hh:r(y%12||12),H:y,HH:r(y),M:b,MM:r(b),s:w,ss:r(w),l:r(x,3),L:r(Math.round(x/10)),t:12>y?"a":"p",tt:12>y?"am":"pm",T:12>y?"A":"P",TT:12>y?"AM":"PM",Z:p?"GMT":l?"UTC":(String(o).match(e)||[""]).pop().replace(n,""),o:(_>0?"-":"+")+r(100*Math.floor(Math.abs(_)/60)+Math.abs(_)%60,4),S:["th","st","nd","rd"][h%10>3?0:(h%100-h%10!=10)*h%10],W:A,N:k};return u.replace(t,(function(t){return t in E?E[t]:t.slice(1,t.length-1)}))}}();c.masks={default:"ddd mmm dd yyyy HH:MM:ss",shortDate:"m/d/yy",mediumDate:"mmm d, yyyy",longDate:"mmmm d, yyyy",fullDate:"dddd, mmmm d, yyyy",shortTime:"h:MM TT",mediumTime:"h:MM:ss TT",longTime:"h:MM:ss TT Z",isoDate:"yyyy-mm-dd",isoTime:"HH:MM:ss",isoDateTime:"yyyy-mm-dd'T'HH:MM:sso",isoUtcDateTime:"UTC:yyyy-mm-dd'T'HH:MM:ss'Z'",expiresHeaderFormat:"ddd, dd mmm yyyy HH:MM:ss Z"},c.i18n={dayNames:["Sun","Mon","Tue","Wed","Thu","Fri","Sat","Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],monthNames:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec","January","February","March","April","May","June","July","August","September","October","November","December"]},"object"===(void 0===n?"undefined":(0,o.default)(n))?e.exports=c:t.dateFormat=c}(void 0)},{"babel-runtime/helpers/typeof":32}],155:[function(t,e,n){(function(r){function o(){return!("undefined"==typeof window||!window.process||"renderer"!==window.process.type)||"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+)/)}function i(t){var e=this.useColors;if(t[0]=(e?"%c":"")+this.namespace+(e?" %c":" ")+t[0]+(e?"%c ":" ")+"+"+n.humanize(this.diff),e){var r="color: "+this.color;t.splice(1,0,r,"color: inherit");var o=0,i=0;t[0].replace(/%[a-zA-Z%]/g,(function(t){"%%"!==t&&(o++,"%c"===t&&(i=o))})),t.splice(i,0,r)}}function a(){return"object"==typeof console&&console.log&&Function.prototype.apply.call(console.log,console,arguments)}function s(t){try{null==t?n.storage.removeItem("debug"):n.storage.debug=t}catch(t){}}function c(){var t;try{t=n.storage.debug}catch(t){}return!t&&void 0!==r&&"env"in r&&(t=r.env.DEBUG),t}function u(){try{return window.localStorage}catch(t){}}(n=e.exports=t("./debug")).log=a,n.formatArgs=i,n.save=s,n.load=c,n.useColors=o,n.storage="undefined"!=typeof chrome&&void 0!==chrome.storage?chrome.storage.local:u(),n.colors=["lightseagreen","forestgreen","goldenrod","dodgerblue","darkorchid","crimson"],n.formatters.j=function(t){try{return JSON.stringify(t)}catch(t){return"[UnexpectedJSONParseError]: "+t.message}},n.enable(c())}).call(this,t("_process"))},{"./debug":156,_process:173}],156:[function(t,e,n){function r(t){var e,r=0;for(e in t)r=(r<<5)-r+t.charCodeAt(e),r|=0;return n.colors[Math.abs(r)%n.colors.length]}function o(t){function e(){if(e.enabled){var t=e,r=+new Date,o=r-(u||r);t.diff=o,t.prev=u,t.curr=r,u=r;for(var i=new Array(arguments.length),a=0;a<i.length;a++)i[a]=arguments[a];i[0]=n.coerce(i[0]),"string"!=typeof i[0]&&i.unshift("%O");var s=0;i[0]=i[0].replace(/%([a-zA-Z%])/g,(function(e,r){if("%%"===e)return e;s++;var o=n.formatters[r];if("function"==typeof o){var a=i[s];e=o.call(t,a),i.splice(s,1),s--}return e})),n.formatArgs.call(t,i),(e.log||n.log||void 0).apply(t,i)}}return e.namespace=t,e.enabled=n.enabled(t),e.useColors=n.useColors(),e.color=r(t),"function"==typeof n.init&&n.init(e),e}function i(t){n.save(t),n.names=[],n.skips=[];for(var e=("string"==typeof t?t:"").split(/[\s,]+/),r=e.length,o=0;r>o;o++)e[o]&&("-"===(t=e[o].replace(/\*/g,".*?"))[0]?n.skips.push(new RegExp("^"+t.substr(1)+"$")):n.names.push(new RegExp("^"+t+"$")))}function a(){n.enable("")}function s(t){var e,r;for(e=0,r=n.skips.length;r>e;e++)if(n.skips[e].test(t))return!1;for(e=0,r=n.names.length;r>e;e++)if(n.names[e].test(t))return!0;return!1}function c(t){return t instanceof Error?t.stack||t.message:t}var u;(n=e.exports=o.debug=o.default=o).coerce=c,n.disable=a,n.enable=i,n.enabled=s,n.humanize=t("ms"),n.names=[],n.skips=[],n.formatters={}},{ms:169}],157:[function(t,e,n){function r(t){var e=""+t,n=o.exec(e);if(!n)return e;var r,i="",a=0,s=0;for(a=n.index;a<e.length;a++){switch(e.charCodeAt(a)){case 34:r=""";break;case 38:r="&";break;case 39:r="'";break;case 60:r="<";break;case 62:r=">";break;default:continue}s!==a&&(i+=e.substring(s,a)),s=a+1,i+=r}return s!==a?i+e.substring(s,a):i}var o=/["'&<>]/;e.exports=r},{}],158:[function(t,e,n){function r(){this._events=this._events||{},this._maxListeners=this._maxListeners||void 0}function o(t){return"function"==typeof t}function i(t){return"number"==typeof t}function a(t){return"object"==typeof t&&null!==t}function s(t){return void 0===t}e.exports=r,r.EventEmitter=r,r.prototype._events=void 0,r.prototype._maxListeners=void 0,r.defaultMaxListeners=10,r.prototype.setMaxListeners=function(t){if(!i(t)||0>t||isNaN(t))throw TypeError("n must be a positive number");return this._maxListeners=t,this},r.prototype.emit=function(t){var e,n,r,i,c,u;if(this._events||(this._events={}),"error"===t&&(!this._events.error||a(this._events.error)&&!this._events.error.length)){if((e=arguments[1])instanceof Error)throw e;var l=new Error('Uncaught, unspecified "error" event. ('+e+")");throw l.context=e,l}if(s(n=this._events[t]))return!1;if(o(n))switch(arguments.length){case 1:n.call(this);break;case 2:n.call(this,arguments[1]);break;case 3:n.call(this,arguments[1],arguments[2]);break;default:i=Array.prototype.slice.call(arguments,1),n.apply(this,i)}else if(a(n))for(i=Array.prototype.slice.call(arguments,1),r=(u=n.slice()).length,c=0;r>c;c++)u[c].apply(this,i);return!0},r.prototype.addListener=function(t,e){var n;if(!o(e))throw TypeError("listener must be a function");return this._events||(this._events={}),this._events.newListener&&this.emit("newListener",t,o(e.listener)?e.listener:e),this._events[t]?a(this._events[t])?this._events[t].push(e):this._events[t]=[this._events[t],e]:this._events[t]=e,a(this._events[t])&&!this._events[t].warned&&(n=s(this._maxListeners)?r.defaultMaxListeners:this._maxListeners)&&n>0&&this._events[t].length>n&&(this._events[t].warned=!0,console.trace),this},r.prototype.on=r.prototype.addListener,r.prototype.once=function(t,e){function n(){this.removeListener(t,n),r||(r=!0,e.apply(this,arguments))}if(!o(e))throw TypeError("listener must be a function");var r=!1;return n.listener=e,this.on(t,n),this},r.prototype.removeListener=function(t,e){var n,r,i,s;if(!o(e))throw TypeError("listener must be a function");if(!this._events||!this._events[t])return this;if(i=(n=this._events[t]).length,r=-1,n===e||o(n.listener)&&n.listener===e)delete this._events[t],this._events.removeListener&&this.emit("removeListener",t,e);else if(a(n)){for(s=i;s-- >0;)if(n[s]===e||n[s].listener&&n[s].listener===e){r=s;break}if(0>r)return this;1===n.length?(n.length=0,delete this._events[t]):n.splice(r,1),this._events.removeListener&&this.emit("removeListener",t,e)}return this},r.prototype.removeAllListeners=function(t){var e,n;if(!this._events)return this;if(!this._events.removeListener)return 0===arguments.length?this._events={}:this._events[t]&&delete this._events[t],this;if(0===arguments.length){for(e in this._events)"removeListener"!==e&&this.removeAllListeners(e);return this.removeAllListeners("removeListener"),this._events={},this}if(o(n=this._events[t]))this.removeListener(t,n);else if(n)for(;n.length;)this.removeListener(t,n[n.length-1]);return delete this._events[t],this},r.prototype.listeners=function(t){return this._events&&this._events[t]?o(this._events[t])?[this._events[t]]:this._events[t].slice():[]},r.prototype.listenerCount=function(t){if(this._events){var e=this._events[t];if(o(e))return 1;if(e)return e.length}return 0},r.listenerCount=function(t,e){return t.listenerCount(e)}},{}],159:[function(t,e,n){var r=t("http"),o=e.exports;for(var i in r)r.hasOwnProperty(i)&&(o[i]=r[i]);o.request=function(t,e){return t||(t={}),t.scheme="https",t.protocol="https:",r.request.call(this,t,e)}},{http:196}],160:[function(t,e,n){var r=t("util"),o=t("ms");e.exports=function(t){if("number"==typeof t)return t;var e=o(t);return void 0===e&&new Error(r.format("humanize-ms(%j) result undefined",t)),e}},{ms:169,util:207}],161:[function(t,e,n){n.read=function(t,e,n,r,o){var i,a,s=8*o-r-1,c=(1<<s)-1,u=c>>1,l=-7,p=n?o-1:0,f=n?-1:1,d=t[e+p];for(p+=f,i=d&(1<<-l)-1,d>>=-l,l+=s;l>0;i=256*i+t[e+p],p+=f,l-=8);for(a=i&(1<<-l)-1,i>>=-l,l+=r;l>0;a=256*a+t[e+p],p+=f,l-=8);if(0===i)i=1-u;else{if(i===c)return a?NaN:1/0*(d?-1:1);a+=Math.pow(2,r),i-=u}return(d?-1:1)*a*Math.pow(2,i-r)},n.write=function(t,e,n,r,o,i){var a,s,c,u=8*i-o-1,l=(1<<u)-1,p=l>>1,f=23===o?Math.pow(2,-24)-Math.pow(2,-77):0,d=r?0:i-1,h=r?1:-1,m=0>e||0===e&&0>1/e?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(s=isNaN(e)?1:0,a=l):(a=Math.floor(Math.log(e)/Math.LN2),e*(c=Math.pow(2,-a))<1&&(a--,c*=2),(e+=a+p>=1?f/c:f*Math.pow(2,1-p))*c>=2&&(a++,c/=2),a+p>=l?(s=0,a=l):a+p>=1?(s=(e*c-1)*Math.pow(2,o),a+=p):(s=e*Math.pow(2,p-1)*Math.pow(2,o),a=0));o>=8;t[n+d]=255&s,d+=h,s/=256,o-=8);for(a=a<<o|s,u+=o;u>0;t[n+d]=255&a,d+=h,a/=256,u-=8);t[n+d-h]|=128*m}},{}],162:[function(t,e,n){"function"==typeof Object.create?e.exports=function(t,e){t.super_=e,t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}})}:e.exports=function(t,e){t.super_=e;var n=function(){};n.prototype=e.prototype,t.prototype=new n,t.prototype.constructor=t}},{}],163:[function(t,e,n){function r(t){return!!t.constructor&&"function"==typeof t.constructor.isBuffer&&t.constructor.isBuffer(t)}function o(t){return"function"==typeof t.readFloatLE&&"function"==typeof t.slice&&r(t.slice(0,0))}e.exports=function(t){return null!=t&&(r(t)||o(t)||!!t._isBuffer)}},{}],164:[function(t,e,n){!function(t){function r(t){return i.call(t).replace(/^[^{]*{\s*/,"").replace(/\s*}[^}]*$/,"")}function o(t){return"function"==typeof t&&(/^class(\s|\{\}$)/.test(i.call(t))||/^.*classCallCheck\(/.test(r(t)))}var i=Function.prototype.toString;void 0!==n?(void 0!==e&&e.exports&&(n=e.exports=o),n.isClass=o):t.isClass=o}(this)},{}],165:[function(t,e,n){function r(t){var e=t.slice(2);return e[0].toLowerCase()+e.slice(1)}var o=t("core-util-is"),i=t("isstream"),a=t("is-class");Object.keys(o).map((function(t){n[r(t)]=o[t]})),n.stream=i,n.readableStream=i.isReadable,n.writableStream=i.isWritable,n.duplexStream=i.isDuplex,n.class=a,n.finite=function(t){return Number.isFinite(t)},n.NaN=function(t){return Number.isNaN(t)},n.generator=function(t){return t&&"function"==typeof t.next&&"function"==typeof t.throw},n.generatorFunction=function(t){return t&&t.constructor&&"GeneratorFunction"===t.constructor.name},n.asyncFunction=function(t){return t&&t.constructor&&"AsyncFunction"===t.constructor.name},n.promise=function(t){return t&&"function"==typeof t.then};var s=Math.pow(2,31);n.int=function(t){return o.isNumber(t)&&t%1==0},n.int32=function(t){return n.int(t)&&s>t&&t>=-s},n.long=function(t){return n.int(t)&&(t>=s||-s>t)},n.Long=function(t){return n.object(t)&&n.number(t.high)&&n.number(t.low)},n.double=function(t){return o.isNumber(t)&&!isNaN(t)&&t%1!=0},n.date=function(t){return t instanceof Date},n.regExp=function(t){return t instanceof RegExp},n.regexp=n.regExp,n.error=function(t){return t instanceof Error},n.array=function(t){return Array.isArray(t)}},{"core-util-is":153,"is-class":164,isstream:167}],166:[function(t,e,n){var r={}.toString;e.exports=Array.isArray||function(t){return"[object Array]"==r.call(t)}},{}],167:[function(t,e,n){function r(t){return t instanceof s.Stream}function o(t){return r(t)&&"function"==typeof t._read&&"object"==typeof t._readableState}function i(t){return r(t)&&"function"==typeof t._write&&"object"==typeof t._writableState}function a(t){return o(t)&&i(t)}var s=t("stream");e.exports=r,e.exports.isReadable=o,e.exports.isWritable=i,e.exports.isDuplex=a},{stream:195}],168:[function(t,e,n){function r(t,e,n){if(!t)throw new TypeError("argument dest is required");if(!e)throw new TypeError("argument src is required");return void 0===n&&(n=!0),Object.getOwnPropertyNames(e).forEach((function(r){if(n||!o.call(t,r)){var i=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,i)}})),t}e.exports=r;var o=Object.prototype.hasOwnProperty},{}],169:[function(t,e,n){function r(t){if(!((t=String(t)).length>100)){var e=/^((?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(t);if(e){var n=parseFloat(e[1]);switch((e[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return n*p;case"days":case"day":case"d":return n*l;case"hours":case"hour":case"hrs":case"hr":case"h":return n*u;case"minutes":case"minute":case"mins":case"min":case"m":return n*c;case"seconds":case"second":case"secs":case"sec":case"s":return n*s;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return n;default:return}}}}function o(t){return t>=l?Math.round(t/l)+"d":t>=u?Math.round(t/u)+"h":t>=c?Math.round(t/c)+"m":t>=s?Math.round(t/s)+"s":t+"ms"}function i(t){return a(t,l,"day")||a(t,u,"hour")||a(t,c,"minute")||a(t,s,"second")||t+" ms"}function a(t,e,n){return e>t?void 0:1.5*e>t?Math.floor(t/e)+" "+n:Math.ceil(t/e)+" "+n+"s"}var s=1e3,c=60*s,u=60*c,l=24*u,p=365.25*l;e.exports=function(t,e){e=e||{};var n=typeof t;if("string"===n&&t.length>0)return r(t);if("number"===n&&!1===isNaN(t))return e.long?i(t):o(t);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(t))}},{}],170:[function(t,e,n){(function(t){function e(t,e){for(var n=0,r=t.length-1;r>=0;r--){var o=t[r];"."===o?t.splice(r,1):".."===o?(t.splice(r,1),n++):n&&(t.splice(r,1),n--)}if(e)for(;n--;n)t.unshift("..");return t}function r(t){"string"!=typeof t&&(t+="");var e,n=0,r=-1,o=!0;for(e=t.length-1;e>=0;--e)if(47===t.charCodeAt(e)){if(!o){n=e+1;break}}else-1===r&&(o=!1,r=e+1);return-1===r?"":t.slice(n,r)}function o(t,e){if(t.filter)return t.filter(e);for(var n=[],r=0;r<t.length;r++)e(t[r],r,t)&&n.push(t[r]);return n}n.resolve=function(){for(var n="",r=!1,i=arguments.length-1;i>=-1&&!r;i--){var a=i>=0?arguments[i]:t.cwd();if("string"!=typeof a)throw new TypeError("Arguments to path.resolve must be strings");a&&(n=a+"/"+n,r="/"===a.charAt(0))}return n=e(o(n.split("/"),(function(t){return!!t})),!r).join("/"),(r?"/":"")+n||"."},n.normalize=function(t){var r=n.isAbsolute(t),a="/"===i(t,-1);return(t=e(o(t.split("/"),(function(t){return!!t})),!r).join("/"))||r||(t="."),t&&a&&(t+="/"),(r?"/":"")+t},n.isAbsolute=function(t){return"/"===t.charAt(0)},n.join=function(){var t=Array.prototype.slice.call(arguments,0);return n.normalize(o(t,(function(t,e){if("string"!=typeof t)throw new TypeError("Arguments to path.join must be strings");return t})).join("/"))},n.relative=function(t,e){function r(t){for(var e=0;e<t.length&&""===t[e];e++);for(var n=t.length-1;n>=0&&""===t[n];n--);return e>n?[]:t.slice(e,n-e+1)}t=n.resolve(t).substr(1),e=n.resolve(e).substr(1);for(var o=r(t.split("/")),i=r(e.split("/")),a=Math.min(o.length,i.length),s=a,c=0;a>c;c++)if(o[c]!==i[c]){s=c;break}var u=[];for(c=s;c<o.length;c++)u.push("..");return(u=u.concat(i.slice(s))).join("/")},n.sep="/",n.delimiter=":",n.dirname=function(t){if("string"!=typeof t&&(t+=""),0===t.length)return".";for(var e=t.charCodeAt(0),n=47===e,r=-1,o=!0,i=t.length-1;i>=1;--i)if(47===(e=t.charCodeAt(i))){if(!o){r=i;break}}else o=!1;return-1===r?n?"/":".":n&&1===r?"/":t.slice(0,r)},n.basename=function(t,e){var n=r(t);return e&&n.substr(-1*e.length)===e&&(n=n.substr(0,n.length-e.length)),n},n.extname=function(t){"string"!=typeof t&&(t+="");for(var e=-1,n=0,r=-1,o=!0,i=0,a=t.length-1;a>=0;--a){var s=t.charCodeAt(a);if(47!==s)-1===r&&(o=!1,r=a+1),46===s?-1===e?e=a:1!==i&&(i=1):-1!==e&&(i=-1);else if(!o){n=a+1;break}}return-1===e||-1===r||0===i||1===i&&e===r-1&&e===n+1?"":t.slice(e,r)};var i="b"==="ab".substr(-1)?function(t,e,n){return t.substr(e,n)}:function(t,e,n){return 0>e&&(e=t.length+e),t.substr(e,n)}}).call(this,t("_process"))},{_process:173}],171:[function(t,e,n){(function(t){(function(){function r(t){return(t=String(t)).charAt(0).toUpperCase()+t.slice(1)}function o(t,e,n){var r={"10.0":"10",6.4:"10 Technical Preview",6.3:"8.1",6.2:"8",6.1:"Server 2008 R2 / 7","6.0":"Server 2008 / Vista",5.2:"Server 2003 / XP 64-bit",5.1:"XP",5.01:"2000 SP1","5.0":"2000","4.0":"NT","4.90":"ME"};return e&&n&&/^Win/i.test(t)&&!/^Windows Phone /i.test(t)&&(r=r[/[\d.]+$/.exec(t)])&&(t="Windows "+r),t=String(t),e&&n&&(t=t.replace(RegExp(e,"i"),n)),a(t.replace(/ ce$/i," CE").replace(/\bhpw/i,"web").replace(/\bMacintosh\b/,"Mac OS").replace(/_PowerPC\b/i," OS").replace(/\b(OS X) [^ \d]+/i,"$1").replace(/\bMac (OS X)\b/,"$1").replace(/\/(\d)/," $1").replace(/_/g,".").replace(/(?: BePC|[ .]*fc[ \d.]+)$/i,"").replace(/\bx86\.64\b/gi,"x86_64").replace(/\b(Windows Phone) OS\b/,"$1").replace(/\b(Chrome OS \w+) [\d.]+\b/,"$1").split(" on ")[0])}function i(t,e){var n=-1,r=t?t.length:0;if("number"==typeof r&&r>-1&&b>=r)for(;++n<r;)e(t[n],n,t);else s(t,e)}function a(t){return t=f(t),/^(?:webOS|i(?:OS|P))/.test(t)?t:r(t)}function s(t,e){for(var n in t)_.call(t,n)&&e(t[n],n,t)}function c(t){return null==t?r(t):A.call(t).slice(8,-1)}function u(t,e){var n=null!=t?typeof t[e]:"number";return!(/^(?:boolean|number|string|undefined)$/.test(n)||"object"==n&&!t[e])}function l(t){return String(t).replace(/([ -])(?!$)/g,"$1?")}function p(t,e){var n=null;return i(t,(function(r,o){n=e(n,r,o,t)})),n}function f(t){return String(t).replace(/^ +| +$/g,"")}function d(t){function e(e){return p(e,(function(e,n){return e||RegExp("\\b"+(n.pattern||l(n))+"\\b","i").exec(t)&&(n.label||n)}))}function n(e){return p(e,(function(e,n,r){return e||(n[V]||n[/^[a-z]+(?: +[a-z]+\b)*/i.exec(V)]||RegExp("\\b"+l(r)+"(?:\\b|\\w*\\d)","i").exec(t))&&r}))}function r(e){return p(e,(function(e,n){return e||RegExp("\\b"+(n.pattern||l(n))+"\\b","i").exec(t)&&(n.label||n)}))}function i(e){return p(e,(function(e,n){var r=n.pattern||l(n);return!e&&(e=RegExp("\\b"+r+"(?:/[\\d.]+|[ \\w.]*)","i").exec(t))&&(e=o(e,r,n.label||n)),e}))}function h(e){return p(e,(function(e,n){var r=n.pattern||l(n);return!e&&(e=RegExp("\\b"+r+" *\\d+[.\\w_]*","i").exec(t)||RegExp("\\b"+r+" *\\w+-[\\w]*","i").exec(t)||RegExp("\\b"+r+"(?:; *(?:[a-z]+[_-])?[a-z]+\\d+|[^ ();-]*)","i").exec(t))&&((e=String(n.label&&!RegExp(r,"i").test(n.label)?n.label:e).split("/"))[1]&&!/[\d.]+/.test(e[0])&&(e[0]+=" "+e[1]),n=n.label||n,e=a(e[0].replace(RegExp(r,"i"),n).replace(RegExp("; *(?:"+n+"[_-])?","i")," ").replace(RegExp("("+n+")[-_.]?(\\w)","i"),"$1 $2"))),e}))}function g(e){return p(e,(function(e,n){return e||(RegExp(n+"(?:-[\\d.]+/|(?: for [\\w-]+)?[ /-])([\\d.]+[^ ();/_-]*)","i").exec(t)||0)[1]||null}))}function v(){return this.description||""}var y=m,b=t&&"object"==typeof t&&"String"!=c(t);b&&(y=t,t=null);var x=y.navigator||{},_=x.userAgent||"";t||(t=_);var k,E,S=b?!!x.likeChrome:/\bChrome\b/.test(t)&&!/internal|\n/i.test(A.toString()),T="Object",C=b?T:"ScriptBridgingProxyObject",P=b?T:"Environment",O=b&&y.java?"JavaPackage":c(y.java),L=b?T:"RuntimeObject",M=/\bJava/.test(O)&&y.java,R=M&&c(y.environment)==P,I=M?"a":"α",j=M?"b":"β",D=y.document||{},B=y.operamini||y.opera,N=w.test(N=b&&B?B["[[Class]]"]:c(B))?N:B=null,U=t,$=[],F=null,G=t==_,q=G&&B&&"function"==typeof B.version&&B.version(),K=e([{label:"EdgeHTML",pattern:"Edge"},"Trident",{label:"WebKit",pattern:"AppleWebKit"},"iCab","Presto","NetFront","Tasman","KHTML","Gecko"]),H=r(["Adobe AIR","Arora","Avant Browser","Breach","Camino","Electron","Epiphany","Fennec","Flock","Galeon","GreenBrowser","iCab","Iceweasel","K-Meleon","Konqueror","Lunascape","Maxthon",{label:"Microsoft Edge",pattern:"Edge"},"Midori","Nook Browser","PaleMoon","PhantomJS","Raven","Rekonq","RockMelt",{label:"Samsung Internet",pattern:"SamsungBrowser"},"SeaMonkey",{label:"Silk",pattern:"(?:Cloud9|Silk-Accelerated)"},"Sleipnir","SlimBrowser",{label:"SRWare Iron",pattern:"Iron"},"Sunrise","Swiftfox","Waterfox","WebPositive","Opera Mini",{label:"Opera Mini",pattern:"OPiOS"},"Opera",{label:"Opera",pattern:"OPR"},"Chrome",{label:"Chrome Mobile",pattern:"(?:CriOS|CrMo)"},{label:"Firefox",pattern:"(?:Firefox|Minefield)"},{label:"Firefox for iOS",pattern:"FxiOS"},{label:"IE",pattern:"IEMobile"},{label:"IE",pattern:"MSIE"},"Safari"]),V=h([{label:"BlackBerry",pattern:"BB10"},"BlackBerry",{label:"Galaxy S",pattern:"GT-I9000"},{label:"Galaxy S2",pattern:"GT-I9100"},{label:"Galaxy S3",pattern:"GT-I9300"},{label:"Galaxy S4",pattern:"GT-I9500"},{label:"Galaxy S5",pattern:"SM-G900"},{label:"Galaxy S6",pattern:"SM-G920"},{label:"Galaxy S6 Edge",pattern:"SM-G925"},{label:"Galaxy S7",pattern:"SM-G930"},{label:"Galaxy S7 Edge",pattern:"SM-G935"},"Google TV","Lumia","iPad","iPod","iPhone","Kindle",{label:"Kindle Fire",pattern:"(?:Cloud9|Silk-Accelerated)"},"Nexus","Nook","PlayBook","PlayStation Vita","PlayStation","TouchPad","Transformer",{label:"Wii U",pattern:"WiiU"},"Wii","Xbox One",{label:"Xbox 360",pattern:"Xbox"},"Xoom"]),z=n({Apple:{iPad:1,iPhone:1,iPod:1},Archos:{},Amazon:{Kindle:1,"Kindle Fire":1},Asus:{Transformer:1},"Barnes & Noble":{Nook:1},BlackBerry:{PlayBook:1},Google:{"Google TV":1,Nexus:1},HP:{TouchPad:1},HTC:{},LG:{},Microsoft:{Xbox:1,"Xbox One":1},Motorola:{Xoom:1},Nintendo:{"Wii U":1,Wii:1},Nokia:{Lumia:1},Samsung:{"Galaxy S":1,"Galaxy S2":1,"Galaxy S3":1,"Galaxy S4":1},Sony:{PlayStation:1,"PlayStation Vita":1}}),W=i(["Windows Phone","Android","CentOS",{label:"Chrome OS",pattern:"CrOS"},"Debian","Fedora","FreeBSD","Gentoo","Haiku","Kubuntu","Linux Mint","OpenBSD","Red Hat","SuSE","Ubuntu","Xubuntu","Cygwin","Symbian OS","hpwOS","webOS ","webOS","Tablet OS","Tizen","Linux","Mac OS X","Macintosh","Mac","Windows 98;","Windows "]);if(K&&(K=[K]),z&&!V&&(V=h([z])),(k=/\bGoogle TV\b/.exec(V))&&(V=k[0]),/\bSimulator\b/i.test(t)&&(V=(V?V+" ":"")+"Simulator"),"Opera Mini"==H&&/\bOPiOS\b/.test(t)&&$.push("running in Turbo/Uncompressed mode"),"IE"==H&&/\blike iPhone OS\b/.test(t)?(z=(k=d(t.replace(/like iPhone OS/,""))).manufacturer,V=k.product):/^iP/.test(V)?(H||(H="Safari"),W="iOS"+((k=/ OS ([\d_]+)/i.exec(t))?" "+k[1].replace(/_/g,"."):"")):"Konqueror"!=H||/buntu/i.test(W)?z&&"Google"!=z&&(/Chrome/.test(H)&&!/\bMobile Safari\b/i.test(t)||/\bVita\b/.test(V))||/\bAndroid\b/.test(W)&&/^Chrome/.test(H)&&/\bVersion\//i.test(t)?(H="Android Browser",W=/\bAndroid\b/.test(W)?W:"Android"):"Silk"==H?(/\bMobi/i.test(t)||(W="Android",$.unshift("desktop mode")),/Accelerated *= *true/i.test(t)&&$.unshift("accelerated")):"PaleMoon"==H&&(k=/\bFirefox\/([\d.]+)\b/.exec(t))?$.push("identifying as Firefox "+k[1]):"Firefox"==H&&(k=/\b(Mobile|Tablet|TV)\b/i.exec(t))?(W||(W="Firefox OS"),V||(V=k[1])):!H||(k=!/\bMinefield\b/i.test(t)&&/\b(?:Firefox|Safari)\b/.exec(H))?(H&&!V&&/[\/,]|^[^(]+?\)/.test(t.slice(t.indexOf(k+"/")+8))&&(H=null),(k=V||z||W)&&(V||z||/\b(?:Android|Symbian OS|Tablet OS|webOS)\b/.test(W))&&(H=/[a-z]+(?: Hat)?/i.exec(/\bAndroid\b/.test(W)?W:k)+" Browser")):"Electron"==H&&(k=(/\bChrome\/([\d.]+)\b/.exec(t)||0)[1])&&$.push("Chromium "+k):W="Kubuntu",q||(q=g(["(?:Cloud9|CriOS|CrMo|Edge|FxiOS|IEMobile|Iron|Opera ?Mini|OPiOS|OPR|Raven|SamsungBrowser|Silk(?!/[\\d.]+$))","Version",l(H),"(?:Firefox|Minefield|NetFront)"])),(k=("iCab"==K&&parseFloat(q)>3?"WebKit":/\bOpera\b/.test(H)&&(/\bOPR\b/.test(t)?"Blink":"Presto"))||/\b(?:Midori|Nook|Safari)\b/i.test(t)&&!/^(?:Trident|EdgeHTML)$/.test(K)&&"WebKit"||!K&&/\bMSIE\b/i.test(t)&&("Mac OS"==W?"Tasman":"Trident")||"WebKit"==K&&/\bPlayStation\b(?! Vita\b)/i.test(H)&&"NetFront")&&(K=[k]),"IE"==H&&(k=(/; *(?:XBLWP|ZuneWP)(\d+)/i.exec(t)||0)[1])?(H+=" Mobile",W="Windows Phone "+(/\+$/.test(k)?k:k+".x"),$.unshift("desktop mode")):/\bWPDesktop\b/i.test(t)?(H="IE Mobile",W="Windows Phone 8.x",$.unshift("desktop mode"),q||(q=(/\brv:([\d.]+)/.exec(t)||0)[1])):"IE"!=H&&"Trident"==K&&(k=/\brv:([\d.]+)/.exec(t))&&(H&&$.push("identifying as "+H+(q?" "+q:"")),H="IE",q=k[1]),G){if(u(y,"global"))if(M&&(U=(k=M.lang.System).getProperty("os.arch"),W=W||k.getProperty("os.name")+" "+k.getProperty("os.version")),R){try{q=y.require("ringo/engine").version.join("."),H="RingoJS"}catch(t){(k=y.system)&&k.global.system==y.system&&(H="Narwhal",W||(W=k[0].os||null))}H||(H="Rhino")}else"object"==typeof y.process&&!y.process.browser&&(k=y.process)&&("object"==typeof k.versions&&("string"==typeof k.versions.electron?($.push("Node "+k.versions.node),H="Electron",q=k.versions.electron):"string"==typeof k.versions.nw&&($.push("Chromium "+q,"Node "+k.versions.node),H="NW.js",q=k.versions.nw)),H||(H="Node.js",U=k.arch,W=k.platform,q=(q=/[\d.]+/.exec(k.version))?q[0]:null));else c(k=y.runtime)==C?(H="Adobe AIR",W=k.flash.system.Capabilities.os):c(k=y.phantom)==L?(H="PhantomJS",q=(k=k.version||null)&&k.major+"."+k.minor+"."+k.patch):"number"==typeof D.documentMode&&(k=/\bTrident\/(\d+)/i.exec(t))?(q=[q,D.documentMode],(k=+k[1]+4)!=q[1]&&($.push("IE "+q[1]+" mode"),K&&(K[1]=""),q[1]=k),q="IE"==H?String(q[1].toFixed(1)):q[0]):"number"==typeof D.documentMode&&/^(?:Chrome|Firefox)\b/.test(H)&&($.push("masking as "+H+" "+q),H="IE",q="11.0",K=["Trident"],W="Windows");W=W&&a(W)}if(q&&(k=/(?:[ab]|dp|pre|[ab]\d+pre)(?:\d+\+?)?$/i.exec(q)||/(?:alpha|beta)(?: ?\d)?/i.exec(t+";"+(G&&x.appMinorVersion))||/\bMinefield\b/i.test(t)&&"a")&&(F=/b/i.test(k)?"beta":"alpha",q=q.replace(RegExp(k+"\\+?$"),"")+("beta"==F?j:I)+(/\d+\+?/.exec(k)||"")),"Fennec"==H||"Firefox"==H&&/\b(?:Android|Firefox OS)\b/.test(W))H="Firefox Mobile";else if("Maxthon"==H&&q)q=q.replace(/\.[\d.]+/,".x");else if(/\bXbox\b/i.test(V))"Xbox 360"==V&&(W=null),"Xbox 360"==V&&/\bIEMobile\b/.test(t)&&$.unshift("mobile mode");else if(!/^(?:Chrome|IE|Opera)$/.test(H)&&(!H||V||/Browser|Mobi/.test(H))||"Windows CE"!=W&&!/Mobi/i.test(t))if("IE"==H&&G)try{null===y.external&&$.unshift("platform preview")}catch(t){$.unshift("embedded")}else(/\bBlackBerry\b/.test(V)||/\bBB10\b/.test(t))&&(k=(RegExp(V.replace(/ +/g," *")+"/([.\\d]+)","i").exec(t)||0)[1]||q)?(W=((k=[k,/BB10/.test(t)])[1]?(V=null,z="BlackBerry"):"Device Software")+" "+k[0],q=null):this!=s&&"Wii"!=V&&(G&&B||/Opera/.test(H)&&/\b(?:MSIE|Firefox)\b/i.test(t)||"Firefox"==H&&/\bOS X (?:\d+\.){2,}/.test(W)||"IE"==H&&(W&&!/^Win/.test(W)&&q>5.5||/\bWindows XP\b/.test(W)&&q>8||8==q&&!/\bTrident\b/.test(t)))&&!w.test(k=d.call(s,t.replace(w,"")+";"))&&k.name&&(k="ing as "+k.name+((k=k.version)?" "+k:""),w.test(H)?(/\bIE\b/.test(k)&&"Mac OS"==W&&(W=null),k="identify"+k):(k="mask"+k,H=N?a(N.replace(/([a-z])([A-Z])/g,"$1 $2")):"Opera",/\bIE\b/.test(k)&&(W=null),G||(q=null)),K=["Presto"],$.push(k));else H+=" Mobile";(k=(/\bAppleWebKit\/([\d.]+\+?)/i.exec(t)||0)[1])&&(k=[parseFloat(k.replace(/\.(\d)$/,".0$1")),k],"Safari"==H&&"+"==k[1].slice(-1)?(H="WebKit Nightly",F="alpha",q=k[1].slice(0,-1)):(q==k[1]||q==(k[2]=(/\bSafari\/([\d.]+\+?)/i.exec(t)||0)[1]))&&(q=null),k[1]=(/\bChrome\/([\d.]+)/i.exec(t)||0)[1],537.36==k[0]&&537.36==k[2]&&parseFloat(k[1])>=28&&"WebKit"==K&&(K=["Blink"]),G&&(S||k[1])?(K&&(K[1]="like Chrome"),k=k[1]||(530>(k=k[0])?1:532>k?2:532.05>k?3:533>k?4:534.03>k?5:534.07>k?6:534.1>k?7:534.13>k?8:534.16>k?9:534.24>k?10:534.3>k?11:535.01>k?12:535.02>k?"13+":535.07>k?15:535.11>k?16:535.19>k?17:536.05>k?18:536.1>k?19:537.01>k?20:537.11>k?"21+":537.13>k?23:537.18>k?24:537.24>k?25:537.36>k?26:"Blink"!=K?"27":"28")):(K&&(K[1]="like Safari"),k=400>(k=k[0])?1:500>k?2:526>k?3:533>k?4:534>k?"4+":535>k?5:537>k?6:538>k?7:601>k?8:"8"),K&&(K[1]+=" "+(k+="number"==typeof k?".x":/[.+]/.test(k)?"":"+")),"Safari"==H&&(!q||parseInt(q)>45)&&(q=k)),"Opera"==H&&(k=/\bzbov|zvav$/.exec(W))?(H+=" ",$.unshift("desktop mode"),"zvav"==k?(H+="Mini",q=null):H+="Mobile",W=W.replace(RegExp(" *"+k+"$"),"")):"Safari"==H&&/\bChrome\b/.exec(K&&K[1])&&($.unshift("desktop mode"),H="Chrome Mobile",q=null,/\bOS X\b/.test(W)?(z="Apple",W="iOS 4.3+"):W=null),q&&0==q.indexOf(k=/[\d.]+$/.exec(W))&&t.indexOf("/"+k+"-")>-1&&(W=f(W.replace(k,""))),K&&!/\b(?:Avant|Nook)\b/.test(H)&&(/Browser|Lunascape|Maxthon/.test(H)||"Safari"!=H&&/^iOS/.test(W)&&/\bSafari\b/.test(K[1])||/^(?:Adobe|Arora|Breach|Midori|Opera|Phantom|Rekonq|Rock|Samsung Internet|Sleipnir|Web)/.test(H)&&K[1])&&(k=K[K.length-1])&&$.push(k),$.length&&($=["("+$.join("; ")+")"]),z&&V&&V.indexOf(z)<0&&$.push("on "+z),V&&$.push((/^on /.test($[$.length-1])?"":"on ")+V),W&&(k=/ ([\d.+]+)$/.exec(W),E=k&&"/"==W.charAt(W.length-k[0].length-1),W={architecture:32,family:k&&!E?W.replace(k[0],""):W,version:k?k[1]:null,toString:function(){var t=this.version;return this.family+(t&&!E?" "+t:"")+(64==this.architecture?" 64-bit":"")}}),(k=/\b(?:AMD|IA|Win|WOW|x86_|x)64\b/i.exec(U))&&!/\bi686\b/i.test(U)?(W&&(W.architecture=64,W.family=W.family.replace(RegExp(" *"+k),"")),H&&(/\bWOW64\b/i.test(t)||G&&/\w(?:86|32)$/.test(x.cpuClass||x.platform)&&!/\bWin64; x64\b/i.test(t))&&$.unshift("32-bit")):W&&/^OS X/.test(W.family)&&"Chrome"==H&&parseFloat(q)>=39&&(W.architecture=64),t||(t=null);var X={};return X.description=t,X.layout=K&&K[0],X.manufacturer=z,X.name=H,X.prerelease=F,X.product=V,X.ua=t,X.version=H&&q,X.os=W||{architecture:null,family:null,version:null,toString:function(){return"null"}},X.parse=d,X.toString=v,X.version&&$.unshift(q),X.name&&$.unshift(H),W&&H&&(W!=String(W).split(" ")[0]||W!=H.split(" ")[0]&&!V)&&$.push(V?"("+W+")":"on "+W),$.length&&(X.description=$.join(" ")),X}var h={function:!0,object:!0},m=h[typeof window]&&window||this,g=h[typeof n]&&n,v=h[typeof e]&&e&&!e.nodeType&&e,y=g&&v&&"object"==typeof t&&t;!y||y.global!==y&&y.window!==y&&y.self!==y||(m=y);var b=Math.pow(2,53)-1,w=/\bOpera/,x=Object.prototype,_=x.hasOwnProperty,A=x.toString,k=d();g&&v?s(k,(function(t,e){g[e]=t})):m.platform=k}).call(this)}).call(this,void 0!==commonjsGlobal?commonjsGlobal:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],172:[function(t,e,n){(function(t){function n(e,n,r,o){if("function"!=typeof e)throw new TypeError('"callback" argument must be a function');var i,a,s=arguments.length;switch(s){case 0:case 1:return t.nextTick(e);case 2:return t.nextTick((function(){e.call(null,n)}));case 3:return t.nextTick((function(){e.call(null,n,r)}));case 4:return t.nextTick((function(){e.call(null,n,r,o)}));default:for(i=new Array(s-1),a=0;a<i.length;)i[a++]=arguments[a];return t.nextTick((function(){e.apply(null,i)}))}}!t.version||0===t.version.indexOf("v0.")||0===t.version.indexOf("v1.")&&0!==t.version.indexOf("v1.8.")?e.exports={nextTick:n}:e.exports=t}).call(this,t("_process"))},{_process:173}],173:[function(t,e,n){function r(){throw new Error("setTimeout has not been defined")}function o(){throw new Error("clearTimeout has not been defined")}function i(t){if(p===setTimeout)return setTimeout(t,0);if((p===r||!p)&&setTimeout)return p=setTimeout,setTimeout(t,0);try{return p(t,0)}catch(e){try{return p.call(null,t,0)}catch(e){return p.call(this,t,0)}}}function a(t){if(f===clearTimeout)return clearTimeout(t);if((f===o||!f)&&clearTimeout)return f=clearTimeout,clearTimeout(t);try{return f(t)}catch(e){try{return f.call(null,t)}catch(e){return f.call(this,t)}}}function s(){g&&h&&(g=!1,h.length?m=h.concat(m):v=-1,m.length&&c())}function c(){if(!g){var t=i(s);g=!0;for(var e=m.length;e;){for(h=m,m=[];++v<e;)h&&h[v].run();v=-1,e=m.length}h=null,g=!1,a(t)}}function u(t,e){this.fun=t,this.array=e}function l(){}var p,f,d=e.exports={};!function(){try{p="function"==typeof setTimeout?setTimeout:r}catch(t){p=r}try{f="function"==typeof clearTimeout?clearTimeout:o}catch(t){f=o}}();var h,m=[],g=!1,v=-1;d.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)e[n-1]=arguments[n];m.push(new u(t,e)),1!==m.length||g||i(c)},u.prototype.run=function(){this.fun.apply(null,this.array)},d.title="browser",d.browser=!0,d.env={},d.argv=[],d.version="",d.versions={},d.on=l,d.addListener=l,d.once=l,d.off=l,d.removeListener=l,d.removeAllListeners=l,d.emit=l,d.prependListener=l,d.prependOnceListener=l,d.listeners=function(t){return[]},d.binding=function(t){throw new Error("process.binding is not supported")},d.cwd=function(){return"/"},d.chdir=function(t){throw new Error("process.chdir is not supported")},d.umask=function(){return 0}},{}],174:[function(e,n,r){(function(e){!function(o){function i(t){throw new RangeError(I[t])}function a(t,e){for(var n=t.length,r=[];n--;)r[n]=e(t[n]);return r}function s(t,e){var n=t.split("@"),r="";return n.length>1&&(r=n[0]+"@",t=n[1]),r+a((t=t.replace(R,".")).split("."),e).join(".")}function c(t){for(var e,n,r=[],o=0,i=t.length;i>o;)(e=t.charCodeAt(o++))>=55296&&56319>=e&&i>o?56320==(64512&(n=t.charCodeAt(o++)))?r.push(((1023&e)<<10)+(1023&n)+65536):(r.push(e),o--):r.push(e);return r}function u(t){return a(t,(function(t){var e="";return t>65535&&(e+=B((t-=65536)>>>10&1023|55296),t=56320|1023&t),e+B(t)})).join("")}function l(t){return 10>t-48?t-22:26>t-65?t-65:26>t-97?t-97:A}function p(t,e){return t+22+75*(26>t)-((0!=e)<<5)}function f(t,e,n){var r=0;for(t=n?D(t/T):t>>1,t+=D(t/e);t>j*E>>1;r+=A)t=D(t/j);return D(r+(j+1)*t/(t+S))}function d(t){var e,n,r,o,a,s,c,p,d,h,m=[],g=t.length,v=0,y=P,b=C;for(0>(n=t.lastIndexOf(O))&&(n=0),r=0;n>r;++r)t.charCodeAt(r)>=128&&i("not-basic"),m.push(t.charCodeAt(r));for(o=n>0?n+1:0;g>o;){for(a=v,s=1,c=A;o>=g&&i("invalid-input"),((p=l(t.charCodeAt(o++)))>=A||p>D((_-v)/s))&&i("overflow"),v+=p*s,!((d=b>=c?k:c>=b+E?E:c-b)>p);c+=A)s>D(_/(h=A-d))&&i("overflow"),s*=h;b=f(v-a,e=m.length+1,0==a),D(v/e)>_-y&&i("overflow"),y+=D(v/e),v%=e,m.splice(v++,0,y)}return u(m)}function h(t){var e,n,r,o,a,s,u,l,d,h,m,g,v,y,b,w=[];for(g=(t=c(t)).length,e=P,n=0,a=C,s=0;g>s;++s)128>(m=t[s])&&w.push(B(m));for(r=o=w.length,o&&w.push(O);g>r;){for(u=_,s=0;g>s;++s)(m=t[s])>=e&&u>m&&(u=m);for(u-e>D((_-n)/(v=r+1))&&i("overflow"),n+=(u-e)*v,e=u,s=0;g>s;++s)if(e>(m=t[s])&&++n>_&&i("overflow"),m==e){for(l=n,d=A;!((h=a>=d?k:d>=a+E?E:d-a)>l);d+=A)b=l-h,y=A-h,w.push(B(p(h+b%y,0))),l=D(b/y);w.push(B(p(l,0))),a=f(n,v,r==o),n=0,++r}++n,++e}return w.join("")}function m(t){return s(t,(function(t){return L.test(t)?d(t.slice(4).toLowerCase()):t}))}function g(t){return s(t,(function(t){return M.test(t)?"xn--"+h(t):t}))}var v="object"==typeof r&&r&&!r.nodeType&&r,y="object"==typeof n&&n&&!n.nodeType&&n,b="object"==typeof e&&e;(b.global===b||b.window===b||b.self===b)&&(o=b);var w,x,_=2147483647,A=36,k=1,E=26,S=38,T=700,C=72,P=128,O="-",L=/^xn--/,M=/[^\x20-\x7E]/,R=/[\x2E\u3002\uFF0E\uFF61]/g,I={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},j=A-k,D=Math.floor,B=String.fromCharCode;if(w={version:"1.4.1",ucs2:{decode:c,encode:u},decode:d,encode:h,toASCII:g,toUnicode:m},"function"==typeof t);else if(v&&y)if(n.exports==v)y.exports=w;else for(x in w)w.hasOwnProperty(x)&&(v[x]=w[x]);else o.punycode=w}(this)}).call(this,void 0!==commonjsGlobal?commonjsGlobal:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],175:[function(t,e,n){function r(t,e){return Object.prototype.hasOwnProperty.call(t,e)}e.exports=function(t,e,n,i){e=e||"&",n=n||"=";var a={};if("string"!=typeof t||0===t.length)return a;var s=/\+/g;t=t.split(e);var c=1e3;i&&"number"==typeof i.maxKeys&&(c=i.maxKeys);var u=t.length;c>0&&u>c&&(u=c);for(var l=0;u>l;++l){var p,f,d,h,m=t[l].replace(s,"%20"),g=m.indexOf(n);g>=0?(p=m.substr(0,g),f=m.substr(g+1)):(p=m,f=""),d=decodeURIComponent(p),h=decodeURIComponent(f),r(a,d)?o(a[d])?a[d].push(h):a[d]=[a[d],h]:a[d]=h}return a};var o=Array.isArray||function(t){return"[object Array]"===Object.prototype.toString.call(t)}},{}],176:[function(t,e,n){function r(t,e){if(t.map)return t.map(e);for(var n=[],r=0;r<t.length;r++)n.push(e(t[r],r));return n}var o=function(t){switch(typeof t){case"string":return t;case"boolean":return t?"true":"false";case"number":return isFinite(t)?t:"";default:return""}};e.exports=function(t,e,n,s){return e=e||"&",n=n||"=",null===t&&(t=void 0),"object"==typeof t?r(a(t),(function(a){var s=encodeURIComponent(o(a))+n;return i(t[a])?r(t[a],(function(t){return s+encodeURIComponent(o(t))})).join(e):s+encodeURIComponent(o(t[a]))})).join(e):s?encodeURIComponent(o(s))+n+encodeURIComponent(o(t)):""};var i=Array.isArray||function(t){return"[object Array]"===Object.prototype.toString.call(t)},a=Object.keys||function(t){var e=[];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.push(n);return e}},{}],177:[function(t,e,n){n.decode=n.parse=t("./decode"),n.encode=n.stringify=t("./encode")},{"./decode":175,"./encode":176}],178:[function(t,e,n){e.exports=t("./lib/_stream_duplex.js")},{"./lib/_stream_duplex.js":179}],179:[function(t,e,n){function r(t){return t&&t.__esModule?t:{default:t}}function o(t){return this instanceof o?(p.call(this,t),f.call(this,t),t&&!1===t.readable&&(this.readable=!1),t&&!1===t.writable&&(this.writable=!1),this.allowHalfOpen=!0,t&&!1===t.allowHalfOpen&&(this.allowHalfOpen=!1),void this.once("end",i)):new o(t)}function i(){this.allowHalfOpen||this._writableState.ended||c.nextTick(a,this)}function a(t){t.end()}var s=r(t("babel-runtime/core-js/object/keys")),c=t("process-nextick-args"),u=s.default||function(t){var e=[];for(var n in t)e.push(n);return e};e.exports=o;var l=t("core-util-is");l.inherits=t("inherits");var p=t("./_stream_readable"),f=t("./_stream_writable");l.inherits(o,p);for(var d=u(f.prototype),h=0;h<d.length;h++){var m=d[h];o.prototype[m]||(o.prototype[m]=f.prototype[m])}Object.defineProperty(o.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(o.prototype,"destroyed",{get:function(){return void 0!==this._readableState&&void 0!==this._writableState&&this._readableState.destroyed&&this._writableState.destroyed},set:function(t){void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed=t,this._writableState.destroyed=t)}}),o.prototype._destroy=function(t,e){this.push(null),this.end(),c.nextTick(e,t)}},{"./_stream_readable":181,"./_stream_writable":183,"babel-runtime/core-js/object/keys":23,"core-util-is":153,inherits:162,"process-nextick-args":172}],180:[function(t,e,n){function r(t){return this instanceof r?void o.call(this,t):new r(t)}e.exports=r;var o=t("./_stream_transform"),i=t("core-util-is");i.inherits=t("inherits"),i.inherits(r,o),r.prototype._transform=function(t,e,n){n(null,t)}},{"./_stream_transform":182,"core-util-is":153,inherits:162}],181:[function(t,e,n){(function(n,r){function o(t){return t&&t.__esModule?t:{default:t}}function i(t){return U.from(t)}function a(t){return U.isBuffer(t)||t instanceof $}function s(t,e,n){return"function"==typeof t.prependListener?t.prependListener(e,n):void(t._events&&t._events[e]?D(t._events[e])?t._events[e].unshift(n):t._events[e]=[n,t._events[e]]:t.on(e,n))}function c(e,n){e=e||{};var r=n instanceof(j=j||t("./_stream_duplex"));this.objectMode=!!e.objectMode,r&&(this.objectMode=this.objectMode||!!e.readableObjectMode);var o=e.highWaterMark,i=e.readableHighWaterMark,a=this.objectMode?16:16384;this.highWaterMark=o||0===o?o:r&&(i||0===i)?i:a,this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new H,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.destroyed=!1,this.defaultEncoding=e.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,e.encoding&&(K||(K=t("string_decoder/").StringDecoder),this.decoder=new K(e.encoding),this.encoding=e.encoding)}function u(e){return j=j||t("./_stream_duplex"),this instanceof u?(this._readableState=new c(e,this),this.readable=!0,e&&("function"==typeof e.read&&(this._read=e.read),"function"==typeof e.destroy&&(this._destroy=e.destroy)),void N.call(this)):new u(e)}function l(t,e,n,r,o){var a,s=t._readableState;return null===e?(s.reading=!1,g(t,s)):(o||(a=f(s,e)),a?t.emit("error",a):s.objectMode||e&&e.length>0?("string"==typeof e||s.objectMode||(0,R.default)(e)===U.prototype||(e=i(e)),r?s.endEmitted?t.emit("error",new Error("stream.unshift() after end event")):p(t,s,e,!0):s.ended?t.emit("error",new Error("stream.push() after EOF")):(s.reading=!1,s.decoder&&!n?(e=s.decoder.write(e),s.objectMode||0!==e.length?p(t,s,e,!1):b(t,s)):p(t,s,e,!1))):r||(s.reading=!1)),d(s)}function p(t,e,n,r){e.flowing&&0===e.length&&!e.sync?(t.emit("data",n),t.read(0)):(e.length+=e.objectMode?1:n.length,r?e.buffer.unshift(n):e.buffer.push(n),e.needReadable&&v(t)),b(t,e)}function f(t,e){var n;return a(e)||"string"==typeof e||void 0===e||t.objectMode||(n=new TypeError("Invalid non-string/buffer chunk")),n}function d(t){return!t.ended&&(t.needReadable||t.length<t.highWaterMark||0===t.length)}function h(t){return t>=W?t=W:(t--,t|=t>>>1,t|=t>>>2,t|=t>>>4,t|=t>>>8,t|=t>>>16,t++),t}function m(t,e){return 0>=t||0===e.length&&e.ended?0:e.objectMode?1:t!=t?e.flowing&&e.length?e.buffer.head.data.length:e.length:(t>e.highWaterMark&&(e.highWaterMark=h(t)),t<=e.length?t:e.ended?e.length:(e.needReadable=!0,0))}function g(t,e){if(!e.ended){if(e.decoder){var n=e.decoder.end();n&&n.length&&(e.buffer.push(n),e.length+=e.objectMode?1:n.length)}e.ended=!0,v(t)}}function v(t){var e=t._readableState;e.needReadable=!1,e.emittedReadable||(q("emitReadable",e.flowing),e.emittedReadable=!0,e.sync?I.nextTick(y,t):y(t))}function y(t){q("emit readable"),t.emit("readable"),E(t)}function b(t,e){e.readingMore||(e.readingMore=!0,I.nextTick(w,t,e))}function w(t,e){for(var n=e.length;!e.reading&&!e.flowing&&!e.ended&&e.length<e.highWaterMark&&(q("maybeReadMore read 0"),t.read(0),n!==e.length);)n=e.length;e.readingMore=!1}function x(t){return function(){var e=t._readableState;q("pipeOnDrain",e.awaitDrain),e.awaitDrain&&e.awaitDrain--,0===e.awaitDrain&&B(t,"data")&&(e.flowing=!0,E(t))}}function _(t){q("readable nexttick read 0"),t.read(0)}function A(t,e){e.resumeScheduled||(e.resumeScheduled=!0,I.nextTick(k,t,e))}function k(t,e){e.reading||(q("resume read 0"),t.read(0)),e.resumeScheduled=!1,e.awaitDrain=0,t.emit("resume"),E(t),e.flowing&&!e.reading&&t.read(0)}function E(t){var e=t._readableState;for(q("flow",e.flowing);e.flowing&&null!==t.read(););}function S(t,e){return 0===e.length?null:(e.objectMode?n=e.buffer.shift():!t||t>=e.length?(n=e.decoder?e.buffer.join(""):1===e.buffer.length?e.buffer.head.data:e.buffer.concat(e.length),e.buffer.clear()):n=T(t,e.buffer,e.decoder),n);var n}function T(t,e,n){var r;return t<e.head.data.length?(r=e.head.data.slice(0,t),e.head.data=e.head.data.slice(t)):r=t===e.head.data.length?e.shift():n?C(t,e):P(t,e),r}function C(t,e){var n=e.head,r=1,o=n.data;for(t-=o.length;n=n.next;){var i=n.data,a=t>i.length?i.length:t;if(o+=a===i.length?i:i.slice(0,t),0==(t-=a)){a===i.length?(++r,n.next?e.head=n.next:e.head=e.tail=null):(e.head=n,n.data=i.slice(a));break}++r}return e.length-=r,o}function P(t,e){var n=U.allocUnsafe(t),r=e.head,o=1;for(r.data.copy(n),t-=r.data.length;r=r.next;){var i=r.data,a=t>i.length?i.length:t;if(i.copy(n,n.length-t,0,a),0==(t-=a)){a===i.length?(++o,r.next?e.head=r.next:e.head=e.tail=null):(e.head=r,r.data=i.slice(a));break}++o}return e.length-=o,n}function O(t){var e=t._readableState;if(e.length>0)throw new Error('"endReadable()" called on non-empty stream');e.endEmitted||(e.ended=!0,I.nextTick(L,e,t))}function L(t,e){t.endEmitted||0!==t.length||(t.endEmitted=!0,e.readable=!1,e.emit("end"))}function M(t,e){for(var n=0,r=t.length;r>n;n++)if(t[n]===e)return n;return-1}var R=o(t("babel-runtime/core-js/object/get-prototype-of")),I=t("process-nextick-args");e.exports=u;var j,D=t("isarray");u.ReadableState=c;var B=(t("events").EventEmitter,function(t,e){return t.listeners(e).length}),N=t("./internal/streams/stream"),U=t("safe-buffer").Buffer,$=r.Uint8Array||function(){},F=t("core-util-is");F.inherits=t("inherits");var G=t("util"),q=void 0;q=G&&G.debuglog?G.debuglog("stream"):function(){};var K,H=t("./internal/streams/BufferList"),V=t("./internal/streams/destroy");F.inherits(u,N);var z=["error","close","destroy","pause","resume"];Object.defineProperty(u.prototype,"destroyed",{get:function(){return void 0!==this._readableState&&this._readableState.destroyed},set:function(t){this._readableState&&(this._readableState.destroyed=t)}}),u.prototype.destroy=V.destroy,u.prototype._undestroy=V.undestroy,u.prototype._destroy=function(t,e){this.push(null),e(t)},u.prototype.push=function(t,e){var n,r=this._readableState;return r.objectMode?n=!0:"string"==typeof t&&((e=e||r.defaultEncoding)!==r.encoding&&(t=U.from(t,e),e=""),n=!0),l(this,t,e,!1,n)},u.prototype.unshift=function(t){return l(this,t,null,!0,!1)},u.prototype.isPaused=function(){return!1===this._readableState.flowing},u.prototype.setEncoding=function(e){return K||(K=t("string_decoder/").StringDecoder),this._readableState.decoder=new K(e),this._readableState.encoding=e,this};var W=8388608;u.prototype.read=function(t){q("read",t),t=parseInt(t,10);var e=this._readableState,n=t;if(0!==t&&(e.emittedReadable=!1),0===t&&e.needReadable&&(e.length>=e.highWaterMark||e.ended))return q("read: emitReadable",e.length,e.ended),0===e.length&&e.ended?O(this):v(this),null;if(0===(t=m(t,e))&&e.ended)return 0===e.length&&O(this),null;var r,o=e.needReadable;return q("need readable",o),(0===e.length||e.length-t<e.highWaterMark)&&q("length less than watermark",o=!0),e.ended||e.reading?q("reading or ended",o=!1):o&&(q("do read"),e.reading=!0,e.sync=!0,0===e.length&&(e.needReadable=!0),this._read(e.highWaterMark),e.sync=!1,e.reading||(t=m(n,e))),null===(r=t>0?S(t,e):null)?(e.needReadable=!0,t=0):e.length-=t,0===e.length&&(e.ended||(e.needReadable=!0),n!==t&&e.ended&&O(this)),null!==r&&this.emit("data",r),r},u.prototype._read=function(t){this.emit("error",new Error("_read() is not implemented"))},u.prototype.pipe=function(t,e){function r(t,e){q("onunpipe"),t===f&&e&&!1===e.hasUnpiped&&(e.hasUnpiped=!0,i())}function o(){q("onend"),t.end()}function i(){q("cleanup"),t.removeListener("close",u),t.removeListener("finish",l),t.removeListener("drain",m),t.removeListener("error",c),t.removeListener("unpipe",r),f.removeListener("end",o),f.removeListener("end",p),f.removeListener("data",a),g=!0,!d.awaitDrain||t._writableState&&!t._writableState.needDrain||m()}function a(e){q("ondata"),v=!1,!1!==t.write(e)||v||((1===d.pipesCount&&d.pipes===t||d.pipesCount>1&&-1!==M(d.pipes,t))&&!g&&(q("false write response, pause",f._readableState.awaitDrain),f._readableState.awaitDrain++,v=!0),f.pause())}function c(e){q("onerror",e),p(),t.removeListener("error",c),0===B(t,"error")&&t.emit("error",e)}function u(){t.removeListener("finish",l),p()}function l(){q("onfinish"),t.removeListener("close",u),p()}function p(){q("unpipe"),f.unpipe(t)}var f=this,d=this._readableState;switch(d.pipesCount){case 0:d.pipes=t;break;case 1:d.pipes=[d.pipes,t];break;default:d.pipes.push(t)}d.pipesCount+=1,q("pipe count=%d opts=%j",d.pipesCount,e);var h=e&&!1===e.end||t===n.stdout||t===n.stderr?p:o;d.endEmitted?I.nextTick(h):f.once("end",h),t.on("unpipe",r);var m=x(f);t.on("drain",m);var g=!1,v=!1;return f.on("data",a),s(t,"error",c),t.once("close",u),t.once("finish",l),t.emit("pipe",f),d.flowing||(q("pipe resume"),f.resume()),t},u.prototype.unpipe=function(t){var e=this._readableState,n={hasUnpiped:!1};if(0===e.pipesCount)return this;if(1===e.pipesCount)return t&&t!==e.pipes||(t||(t=e.pipes),e.pipes=null,e.pipesCount=0,e.flowing=!1,t&&t.emit("unpipe",this,n)),this;if(!t){var r=e.pipes,o=e.pipesCount;e.pipes=null,e.pipesCount=0,e.flowing=!1;for(var i=0;o>i;i++)r[i].emit("unpipe",this,n);return this}var a=M(e.pipes,t);return-1===a||(e.pipes.splice(a,1),e.pipesCount-=1,1===e.pipesCount&&(e.pipes=e.pipes[0]),t.emit("unpipe",this,n)),this},u.prototype.on=function(t,e){var n=N.prototype.on.call(this,t,e);if("data"===t)!1!==this._readableState.flowing&&this.resume();else if("readable"===t){var r=this._readableState;r.endEmitted||r.readableListening||(r.readableListening=r.needReadable=!0,r.emittedReadable=!1,r.reading?r.length&&v(this):I.nextTick(_,this))}return n},u.prototype.addListener=u.prototype.on,u.prototype.resume=function(){var t=this._readableState;return t.flowing||(q("resume"),t.flowing=!0,A(this,t)),this},u.prototype.pause=function(){return q("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(q("pause"),this._readableState.flowing=!1,this.emit("pause")),this},u.prototype.wrap=function(t){var e=this,n=this._readableState,r=!1;for(var o in t.on("end",(function(){if(q("wrapped end"),n.decoder&&!n.ended){var t=n.decoder.end();t&&t.length&&e.push(t)}e.push(null)})),t.on("data",(function(o){q("wrapped data"),n.decoder&&(o=n.decoder.write(o)),n.objectMode&&null==o||!(n.objectMode||o&&o.length)||e.push(o)||(r=!0,t.pause())})),t)void 0===this[o]&&"function"==typeof t[o]&&(this[o]=function(e){return function(){return t[e].apply(t,arguments)}}(o));for(var i=0;i<z.length;i++)t.on(z[i],this.emit.bind(this,z[i]));return this._read=function(e){q("wrapped _read",e),r&&(r=!1,t.resume())},this},Object.defineProperty(u.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),u._fromList=S}).call(this,t("_process"),void 0!==commonjsGlobal?commonjsGlobal:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./_stream_duplex":179,"./internal/streams/BufferList":184,"./internal/streams/destroy":185,"./internal/streams/stream":186,_process:173,"babel-runtime/core-js/object/get-prototype-of":22,"core-util-is":153,events:158,inherits:162,isarray:166,"process-nextick-args":172,"safe-buffer":193,"string_decoder/":200,util:36}],182:[function(t,e,n){function r(t,e){var n=this._transformState;n.transforming=!1;var r=n.writecb;if(!r)return this.emit("error",new Error("write callback called multiple times"));n.writechunk=null,n.writecb=null,null!=e&&this.push(e),r(t);var o=this._readableState;o.reading=!1,(o.needReadable||o.length<o.highWaterMark)&&this._read(o.highWaterMark)}function o(t){return this instanceof o?(s.call(this,t),this._transformState={afterTransform:r.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,t&&("function"==typeof t.transform&&(this._transform=t.transform),"function"==typeof t.flush&&(this._flush=t.flush)),void this.on("prefinish",i)):new o(t)}function i(){var t=this;"function"==typeof this._flush?this._flush((function(e,n){a(t,e,n)})):a(this,null,null)}function a(t,e,n){if(e)return t.emit("error",e);if(null!=n&&t.push(n),t._writableState.length)throw new Error("Calling transform done when ws.length != 0");if(t._transformState.transforming)throw new Error("Calling transform done when still transforming");return t.push(null)}e.exports=o;var s=t("./_stream_duplex"),c=t("core-util-is");c.inherits=t("inherits"),c.inherits(o,s),o.prototype.push=function(t,e){return this._transformState.needTransform=!1,s.prototype.push.call(this,t,e)},o.prototype._transform=function(t,e,n){throw new Error("_transform() is not implemented")},o.prototype._write=function(t,e,n){var r=this._transformState;if(r.writecb=n,r.writechunk=t,r.writeencoding=e,!r.transforming){var o=this._readableState;(r.needTransform||o.needReadable||o.length<o.highWaterMark)&&this._read(o.highWaterMark)}},o.prototype._read=function(t){var e=this._transformState;null!==e.writechunk&&e.writecb&&!e.transforming?(e.transforming=!0,this._transform(e.writechunk,e.writeencoding,e.afterTransform)):e.needTransform=!0},o.prototype._destroy=function(t,e){var n=this;s.prototype._destroy.call(this,t,(function(t){e(t),n.emit("close")}))}},{"./_stream_duplex":179,"core-util-is":153,inherits:162}],183:[function(t,e,n){(function(n,r){function o(t){return t&&t.__esModule?t:{default:t}}function i(t){var e=this;this.next=null,this.entry=null,this.finish=function(){T(e,t)}}function a(t){return U.from(t)}function s(t){return U.isBuffer(t)||t instanceof $}function c(){}function u(e,n){R=R||t("./_stream_duplex"),e=e||{};var r=n instanceof R;this.objectMode=!!e.objectMode,r&&(this.objectMode=this.objectMode||!!e.writableObjectMode);var o=e.highWaterMark,a=e.writableHighWaterMark,s=this.objectMode?16:16384;this.highWaterMark=o||0===o?o:r&&(a||0===a)?a:s,this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var c=!1===e.decodeStrings;this.decodeStrings=!c,this.defaultEncoding=e.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(t){y(n,t)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new i(this)}function l(e){return R=R||t("./_stream_duplex"),D.call(l,this)||this instanceof R?(this._writableState=new u(e,this),this.writable=!0,e&&("function"==typeof e.write&&(this._write=e.write),"function"==typeof e.writev&&(this._writev=e.writev),"function"==typeof e.destroy&&(this._destroy=e.destroy),"function"==typeof e.final&&(this._final=e.final)),void N.call(this)):new l(e)}function p(t,e){var n=new Error("write after end");t.emit("error",n),M.nextTick(e,n)}function f(t,e,n,r){var o=!0,i=!1;return null===n?i=new TypeError("May not write null values to stream"):"string"==typeof n||void 0===n||e.objectMode||(i=new TypeError("Invalid non-string/buffer chunk")),i&&(t.emit("error",i),M.nextTick(r,i),o=!1),o}function d(t,e,n){return t.objectMode||!1===t.decodeStrings||"string"!=typeof e||(e=U.from(e,n)),e}function h(t,e,n,r,o,i){if(!n){var a=d(e,r,o);r!==a&&(n=!0,o="buffer",r=a)}var s=e.objectMode?1:r.length;e.length+=s;var c=e.length<e.highWaterMark;if(c||(e.needDrain=!0),e.writing||e.corked){var u=e.lastBufferedRequest;e.lastBufferedRequest={chunk:r,encoding:o,isBuf:n,callback:i,next:null},u?u.next=e.lastBufferedRequest:e.bufferedRequest=e.lastBufferedRequest,e.bufferedRequestCount+=1}else m(t,e,!1,s,r,o,i);return c}function m(t,e,n,r,o,i,a){e.writelen=r,e.writecb=a,e.writing=!0,e.sync=!0,n?t._writev(o,e.onwrite):t._write(o,i,e.onwrite),e.sync=!1}function g(t,e,n,r,o){--e.pendingcb,n?(M.nextTick(o,r),M.nextTick(E,t,e),t._writableState.errorEmitted=!0,t.emit("error",r)):(o(r),t._writableState.errorEmitted=!0,t.emit("error",r),E(t,e))}function v(t){t.writing=!1,t.writecb=null,t.length-=t.writelen,t.writelen=0}function y(t,e){var n=t._writableState,r=n.sync,o=n.writecb;if(v(n),e)g(t,n,r,e,o);else{var i=_(n);i||n.corked||n.bufferProcessing||!n.bufferedRequest||x(t,n),r?I(b,t,n,i,o):b(t,n,i,o)}}function b(t,e,n,r){n||w(t,e),e.pendingcb--,r(),E(t,e)}function w(t,e){0===e.length&&e.needDrain&&(e.needDrain=!1,t.emit("drain"))}function x(t,e){e.bufferProcessing=!0;var n=e.bufferedRequest;if(t._writev&&n&&n.next){var r=e.bufferedRequestCount,o=new Array(r),a=e.corkedRequestsFree;a.entry=n;for(var s=0,c=!0;n;)o[s]=n,n.isBuf||(c=!1),n=n.next,s+=1;o.allBuffers=c,m(t,e,!0,e.length,o,"",a.finish),e.pendingcb++,e.lastBufferedRequest=null,a.next?(e.corkedRequestsFree=a.next,a.next=null):e.corkedRequestsFree=new i(e),e.bufferedRequestCount=0}else{for(;n;){var u=n.chunk,l=n.encoding,p=n.callback;if(m(t,e,!1,e.objectMode?1:u.length,u,l,p),n=n.next,e.bufferedRequestCount--,e.writing)break}null===n&&(e.lastBufferedRequest=null)}e.bufferedRequest=n,e.bufferProcessing=!1}function _(t){return t.ending&&0===t.length&&null===t.bufferedRequest&&!t.finished&&!t.writing}function A(t,e){t._final((function(n){e.pendingcb--,n&&t.emit("error",n),e.prefinished=!0,t.emit("prefinish"),E(t,e)}))}function k(t,e){e.prefinished||e.finalCalled||("function"==typeof t._final?(e.pendingcb++,e.finalCalled=!0,M.nextTick(A,t,e)):(e.prefinished=!0,t.emit("prefinish")))}function E(t,e){var n=_(e);return n&&(k(t,e),0===e.pendingcb&&(e.finished=!0,t.emit("finish"))),n}function S(t,e,n){e.ending=!0,E(t,e),n&&(e.finished?M.nextTick(n):t.once("finish",n)),e.ended=!0,t.writable=!1}function T(t,e,n){var r=t.entry;for(t.entry=null;r;){var o=r.callback;e.pendingcb--,o(n),r=r.next}e.corkedRequestsFree?e.corkedRequestsFree.next=t:e.corkedRequestsFree=t}var C=o(t("babel-runtime/core-js/object/define-property")),P=o(t("babel-runtime/core-js/symbol/has-instance")),O=o(t("babel-runtime/core-js/symbol")),L=o(t("babel-runtime/core-js/set-immediate")),M=t("process-nextick-args");e.exports=l;var R,I=!n.browser&&["v0.10","v0.9."].indexOf(n.version.slice(0,5))>-1?L.default:M.nextTick;l.WritableState=u;var j=t("core-util-is");j.inherits=t("inherits");var D,B={deprecate:t("util-deprecate")},N=t("./internal/streams/stream"),U=t("safe-buffer").Buffer,$=r.Uint8Array||function(){},F=t("./internal/streams/destroy");j.inherits(l,N),u.prototype.getBuffer=function(){for(var t=this.bufferedRequest,e=[];t;)e.push(t),t=t.next;return e},function(){try{Object.defineProperty(u.prototype,"buffer",{get:B.deprecate((function(){return this.getBuffer()}),"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(t){}}(),"function"==typeof O.default&&P.default&&"function"==typeof Function.prototype[P.default]?(D=Function.prototype[P.default],(0,C.default)(l,P.default,{value:function(t){return!!D.call(this,t)||this===l&&t&&t._writableState instanceof u}})):D=function(t){return t instanceof this},l.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))},l.prototype.write=function(t,e,n){var r=this._writableState,o=!1,i=!r.objectMode&&s(t);return i&&!U.isBuffer(t)&&(t=a(t)),"function"==typeof e&&(n=e,e=null),i?e="buffer":e||(e=r.defaultEncoding),"function"!=typeof n&&(n=c),r.ended?p(this,n):(i||f(this,r,t,n))&&(r.pendingcb++,o=h(this,r,i,t,e,n)),o},l.prototype.cork=function(){this._writableState.corked++},l.prototype.uncork=function(){var t=this._writableState;t.corked&&(t.corked--,t.writing||t.corked||t.finished||t.bufferProcessing||!t.bufferedRequest||x(this,t))},l.prototype.setDefaultEncoding=function(t){if("string"==typeof t&&(t=t.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((t+"").toLowerCase())>-1))throw new TypeError("Unknown encoding: "+t);return this._writableState.defaultEncoding=t,this},Object.defineProperty(l.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),l.prototype._write=function(t,e,n){n(new Error("_write() is not implemented"))},l.prototype._writev=null,l.prototype.end=function(t,e,n){var r=this._writableState;"function"==typeof t?(n=t,t=null,e=null):"function"==typeof e&&(n=e,e=null),null!=t&&this.write(t,e),r.corked&&(r.corked=1,this.uncork()),r.ending||r.finished||S(this,r,n)},Object.defineProperty(l.prototype,"destroyed",{get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(t){this._writableState&&(this._writableState.destroyed=t)}}),l.prototype.destroy=F.destroy,l.prototype._undestroy=F.undestroy,l.prototype._destroy=function(t,e){this.end(),e(t)}}).call(this,t("_process"),void 0!==commonjsGlobal?commonjsGlobal:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./_stream_duplex":179,"./internal/streams/destroy":185,"./internal/streams/stream":186,_process:173,"babel-runtime/core-js/object/define-property":20,"babel-runtime/core-js/set-immediate":25,"babel-runtime/core-js/symbol":27,"babel-runtime/core-js/symbol/has-instance":28,"core-util-is":153,inherits:162,"process-nextick-args":172,"safe-buffer":193,"util-deprecate":205}],184:[function(t,e,n){function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e,n){t.copy(e,n)}var i=t("safe-buffer").Buffer,a=t("util");e.exports=function(){function t(){r(this,t),this.head=null,this.tail=null,this.length=0}return t.prototype.push=function(t){var e={data:t,next:null};this.length>0?this.tail.next=e:this.head=e,this.tail=e,++this.length},t.prototype.unshift=function(t){var e={data:t,next:this.head};0===this.length&&(this.tail=e),this.head=e,++this.length},t.prototype.shift=function(){if(0!==this.length){var t=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,t}},t.prototype.clear=function(){this.head=this.tail=null,this.length=0},t.prototype.join=function(t){if(0===this.length)return"";for(var e=this.head,n=""+e.data;e=e.next;)n+=t+e.data;return n},t.prototype.concat=function(t){if(0===this.length)return i.alloc(0);if(1===this.length)return this.head.data;for(var e=i.allocUnsafe(t>>>0),n=this.head,r=0;n;)o(n.data,e,r),r+=n.data.length,n=n.next;return e},t}(),a&&a.inspect&&a.inspect.custom&&(e.exports.prototype[a.inspect.custom]=function(){var t=a.inspect({length:this.length});return this.constructor.name+" "+t})},{"safe-buffer":193,util:36}],185:[function(t,e,n){function r(t,e){var n=this,r=this._readableState&&this._readableState.destroyed,o=this._writableState&&this._writableState.destroyed;return r||o?(e?e(t):!t||this._writableState&&this._writableState.errorEmitted||a.nextTick(i,this,t),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(t||null,(function(t){!e&&t?(a.nextTick(i,n,t),n._writableState&&(n._writableState.errorEmitted=!0)):e&&e(t)})),this)}function o(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}function i(t,e){t.emit("error",e)}var a=t("process-nextick-args");e.exports={destroy:r,undestroy:o}},{"process-nextick-args":172}],186:[function(t,e,n){e.exports=t("events").EventEmitter},{events:158}],187:[function(t,e,n){e.exports=t("./readable").PassThrough},{"./readable":188}],188:[function(t,e,n){(n=e.exports=t("./lib/_stream_readable.js")).Stream=n,n.Readable=n,n.Writable=t("./lib/_stream_writable.js"),n.Duplex=t("./lib/_stream_duplex.js"),n.Transform=t("./lib/_stream_transform.js"),n.PassThrough=t("./lib/_stream_passthrough.js")},{"./lib/_stream_duplex.js":179,"./lib/_stream_passthrough.js":180,"./lib/_stream_readable.js":181,"./lib/_stream_transform.js":182,"./lib/_stream_writable.js":183}],189:[function(t,e,n){e.exports=t("./readable").Transform},{"./readable":188}],190:[function(t,e,n){e.exports=t("./lib/_stream_writable.js")},{"./lib/_stream_writable.js":183}],191:[function(t,e,n){var r=function(){return this}()||Function("return this")(),o=r.regeneratorRuntime&&Object.getOwnPropertyNames(r).indexOf("regeneratorRuntime")>=0,i=o&&r.regeneratorRuntime;if(r.regeneratorRuntime=void 0,e.exports=t("./runtime"),o)r.regeneratorRuntime=i;else try{delete r.regeneratorRuntime}catch(t){r.regeneratorRuntime=void 0}},{"./runtime":192}],192:[function(t,e,n){!function(t){function n(t,e,n,r){var i=e&&e.prototype instanceof o?e:o,a=Object.create(i.prototype),s=new d(r||[]);return a._invoke=u(t,n,s),a}function r(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}function o(){}function i(){}function a(){}function s(t){["next","throw","return"].forEach((function(e){t[e]=function(t){return this._invoke(e,t)}}))}function c(t){function e(n,o,i,a){var s=r(t[n],t,o);if("throw"!==s.type){var c=s.arg,u=c.value;return u&&"object"==typeof u&&y.call(u,"__await")?Promise.resolve(u.__await).then((function(t){e("next",t,i,a)}),(function(t){e("throw",t,i,a)})):Promise.resolve(u).then((function(t){c.value=t,i(c)}),a)}a(s.arg)}function n(t,n){function r(){return new Promise((function(r,o){e(t,n,r,o)}))}return o=o?o.then(r,r):r()}var o;this._invoke=n}function u(t,e,n){var o=E;return function(i,a){if(o===T)throw new Error("Generator is already running");if(o===C){if("throw"===i)throw a;return m()}for(n.method=i,n.arg=a;;){var s=n.delegate;if(s){var c=l(s,n);if(c){if(c===P)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===E)throw o=C,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=T;var u=r(t,e,n);if("normal"===u.type){if(o=n.done?C:S,u.arg===P)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(o=C,n.method="throw",n.arg=u.arg)}}}function l(t,e){var n=t.iterator[e.method];if(n===g){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=g,l(t,e),"throw"===e.method))return P;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return P}var o=r(n,t.iterator,e.arg);if("throw"===o.type)return e.method="throw",e.arg=o.arg,e.delegate=null,P;var i=o.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=g),e.delegate=null,P):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,P)}function p(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function f(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function d(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(p,this),this.reset(!0)}function h(t){if(t){var e=t[w];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,r=function e(){for(;++n<t.length;)if(y.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=g,e.done=!0,e};return r.next=r}}return{next:m}}function m(){return{value:g,done:!0}}var g,v=Object.prototype,y=v.hasOwnProperty,b="function"==typeof Symbol?Symbol:{},w=b.iterator||"@@iterator",x=b.asyncIterator||"@@asyncIterator",_=b.toStringTag||"@@toStringTag",A="object"==typeof e,k=t.regeneratorRuntime;if(k)A&&(e.exports=k);else{(k=t.regeneratorRuntime=A?e.exports:{}).wrap=n;var E="suspendedStart",S="suspendedYield",T="executing",C="completed",P={},O={};O[w]=function(){return this};var L=Object.getPrototypeOf,M=L&&L(L(h([])));M&&M!==v&&y.call(M,w)&&(O=M);var R=a.prototype=o.prototype=Object.create(O);i.prototype=R.constructor=a,a.constructor=i,a[_]=i.displayName="GeneratorFunction",k.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===i||"GeneratorFunction"===(e.displayName||e.name))},k.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,a):(t.__proto__=a,_ in t||(t[_]="GeneratorFunction")),t.prototype=Object.create(R),t},k.awrap=function(t){return{__await:t}},s(c.prototype),c.prototype[x]=function(){return this},k.AsyncIterator=c,k.async=function(t,e,r,o){var i=new c(n(t,e,r,o));return k.isGeneratorFunction(e)?i:i.next().then((function(t){return t.done?t.value:i.next()}))},s(R),R[_]="Generator",R[w]=function(){return this},R.toString=function(){return"[object Generator]"},k.keys=function(t){var e=[];for(var n in t)e.push(n);return e.reverse(),function n(){for(;e.length;){var r=e.pop();if(r in t)return n.value=r,n.done=!1,n}return n.done=!0,n}},k.values=h,d.prototype={constructor:d,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=g,this.done=!1,this.delegate=null,this.method="next",this.arg=g,this.tryEntries.forEach(f),!t)for(var e in this)"t"===e.charAt(0)&&y.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=g)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){function e(e,r){return i.type="throw",i.arg=t,n.next=e,r&&(n.method="next",n.arg=g),!!r}if(this.done)throw t;for(var n=this,r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r],i=o.completion;if("root"===o.tryLoc)return e("end");if(o.tryLoc<=this.prev){var a=y.call(o,"catchLoc"),s=y.call(o,"finallyLoc");if(a&&s){if(this.prev<o.catchLoc)return e(o.catchLoc,!0);if(this.prev<o.finallyLoc)return e(o.finallyLoc)}else if(a){if(this.prev<o.catchLoc)return e(o.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return e(o.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&y.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var o=r;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var i=o?o.completion:{};return i.type=t,i.arg=e,o?(this.method="next",this.next=o.finallyLoc,P):this.complete(i)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),P},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),f(n),P}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var o=r.arg;f(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:h(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=g),P}}}}(function(){return this}()||Function("return this")())},{}],193:[function(t,e,n){function r(t,e){for(var n in t)e[n]=t[n]}function o(t,e,n){return a(t,e,n)}var i=t("buffer"),a=i.Buffer;a.from&&a.alloc&&a.allocUnsafe&&a.allocUnsafeSlow?e.exports=i:(r(i,n),n.Buffer=o),r(a,o),o.from=function(t,e,n){if("number"==typeof t)throw new TypeError("Argument must not be a number");return a(t,e,n)},o.alloc=function(t,e,n){if("number"!=typeof t)throw new TypeError("Argument must be a number");var r=a(t);return void 0!==e?"string"==typeof n?r.fill(e,n):r.fill(e):r.fill(0),r},o.allocUnsafe=function(t){if("number"!=typeof t)throw new TypeError("Argument must be a number");return a(t)},o.allocUnsafeSlow=function(t){if("number"!=typeof t)throw new TypeError("Argument must be a number");return i.SlowBuffer(t)}},{buffer:38}],194:[function(t,e,n){(function(e){function r(t){return t&&t.__esModule?t:{default:t}}var o=r(t("babel-runtime/core-js/string/from-code-point")),i=r(t("babel-runtime/core-js/json/stringify")),a=r(t("babel-runtime/helpers/typeof")),s=r(t("babel-runtime/core-js/object/define-property")),c=r(t("babel-runtime/core-js/object/keys")),u=r(t("babel-runtime/core-js/object/create"));!function(n){function r(t,e){if(!(this instanceof r))return new r(t,e);var o=this;p(o),o.q=o.c="",o.bufferCheckPosition=n.MAX_BUFFER_LENGTH,o.opt=e||{},o.opt.lowercase=o.opt.lowercase||o.opt.lowercasetags,o.looseCase=o.opt.lowercase?"toLowerCase":"toUpperCase",o.tags=[],o.closed=o.closedRoot=o.sawRoot=!1,o.tag=o.error=null,o.strict=!!t,o.noscript=!(!t&&!o.opt.noscript),o.state=W.BEGIN,o.strictEntities=o.opt.strictEntities,o.ENTITIES=o.strictEntities?(0,u.default)(n.XML_ENTITIES):(0,u.default)(n.ENTITIES),o.attribList=[],o.opt.xmlns&&(o.ns=(0,u.default)(q)),o.trackPosition=!1!==o.opt.position,o.trackPosition&&(o.position=o.line=o.column=0),w(o,"onready")}function l(t){for(var e=Math.max(n.MAX_BUFFER_LENGTH,10),r=0,o=0,i=B.length;i>o;o++){var a=t[B[o]].length;if(a>e)switch(B[o]){case"textNode":_(t);break;case"cdata":x(t,"oncdata",t.cdata),t.cdata="";break;case"script":x(t,"onscript",t.script),t.script="";break;default:k(t,"Max buffer length exceeded: "+B[o])}r=Math.max(r,a)}var s=n.MAX_BUFFER_LENGTH-r;t.bufferCheckPosition=s+t.position}function p(t){for(var e=0,n=B.length;n>e;e++)t[B[e]]=""}function f(t){_(t),""!==t.cdata&&(x(t,"oncdata",t.cdata),t.cdata=""),""!==t.script&&(x(t,"onscript",t.script),t.script="")}function d(t,e){return new h(t,e)}function h(t,e){if(!(this instanceof h))return new h(t,e);D.apply(this),this._parser=new r(t,e),this.writable=!0,this.readable=!0;var n=this;this._parser.onend=function(){n.emit("end")},this._parser.onerror=function(t){n.emit("error",t),n._parser.error=null},this._decoder=null,N.forEach((function(t){(0,s.default)(n,"on"+t,{get:function(){return n._parser["on"+t]},set:function(e){return e?void n.on(t,e):(n.removeAllListeners(t),n._parser["on"+t]=e,e)},enumerable:!0,configurable:!1})}))}function m(t){return" "===t||"\n"===t||"\r"===t||"\t"===t}function g(t){return'"'===t||"'"===t}function v(t){return">"===t||m(t)}function y(t,e){return t.test(e)}function b(t,e){return!y(t,e)}function w(t,e,n){t[e]&&t[e](n)}function x(t,e,n){t.textNode&&_(t),w(t,e,n)}function _(t){t.textNode=A(t.opt,t.textNode),t.textNode&&w(t,"ontext",t.textNode),t.textNode=""}function A(t,e){return t.trim&&(e=e.trim()),t.normalize&&(e=e.replace(/\s+/g," ")),e}function k(t,e){return _(t),t.trackPosition&&(e+="\nLine: "+t.line+"\nColumn: "+t.column+"\nChar: "+t.c),e=new Error(e),t.error=e,w(t,"onerror",e),t}function E(t){return t.sawRoot&&!t.closedRoot&&S(t,"Unclosed root tag"),t.state!==W.BEGIN&&t.state!==W.BEGIN_WHITESPACE&&t.state!==W.TEXT&&k(t,"Unexpected end"),_(t),t.c="",t.closed=!0,w(t,"onend"),r.call(t,t.strict,t.opt),t}function S(t,e){if("object"!==(void 0===t?"undefined":(0,a.default)(t))||!(t instanceof r))throw new Error("bad call to strictFail");t.strict&&k(t,e)}function T(t){t.strict||(t.tagName=t.tagName[t.looseCase]());var e=t.tags[t.tags.length-1]||t,n=t.tag={name:t.tagName,attributes:{}};t.opt.xmlns&&(n.ns=e.ns),t.attribList.length=0,x(t,"onopentagstart",n)}function C(t,e){var n=0>t.indexOf(":")?["",t]:t.split(":"),r=n[0],o=n[1];return e&&"xmlns"===t&&(r="xmlns",o=""),{prefix:r,local:o}}function P(t){if(t.strict||(t.attribName=t.attribName[t.looseCase]()),-1!==t.attribList.indexOf(t.attribName)||t.tag.attributes.hasOwnProperty(t.attribName))t.attribName=t.attribValue="";else{if(t.opt.xmlns){var e=C(t.attribName,!0),n=e.prefix,r=e.local;if("xmlns"===n)if("xml"===r&&t.attribValue!==F)S(t,"xml: prefix must be bound to "+F+"\nActual: "+t.attribValue);else if("xmlns"===r&&t.attribValue!==G)S(t,"xmlns: prefix must be bound to "+G+"\nActual: "+t.attribValue);else{var o=t.tag,i=t.tags[t.tags.length-1]||t;o.ns===i.ns&&(o.ns=(0,u.default)(i.ns)),o.ns[r]=t.attribValue}t.attribList.push([t.attribName,t.attribValue])}else t.tag.attributes[t.attribName]=t.attribValue,x(t,"onattribute",{name:t.attribName,value:t.attribValue});t.attribName=t.attribValue=""}}function O(t,e){if(t.opt.xmlns){var n=t.tag,r=C(t.tagName);n.prefix=r.prefix,n.local=r.local,n.uri=n.ns[r.prefix]||"",n.prefix&&!n.uri&&(S(t,"Unbound namespace prefix: "+(0,i.default)(t.tagName)),n.uri=r.prefix);var o=t.tags[t.tags.length-1]||t;n.ns&&o.ns!==n.ns&&(0,c.default)(n.ns).forEach((function(e){x(t,"onopennamespace",{prefix:e,uri:n.ns[e]})}));for(var a=0,s=t.attribList.length;s>a;a++){var u=t.attribList[a],l=u[0],p=u[1],f=C(l,!0),d=f.prefix,h=f.local,m=""===d?"":n.ns[d]||"",g={name:l,value:p,prefix:d,local:h,uri:m};d&&"xmlns"!==d&&!m&&(S(t,"Unbound namespace prefix: "+(0,i.default)(d)),g.uri=d),t.tag.attributes[l]=g,x(t,"onattribute",g)}t.attribList.length=0}t.tag.isSelfClosing=!!e,t.sawRoot=!0,t.tags.push(t.tag),x(t,"onopentag",t.tag),e||(t.noscript||"script"!==t.tagName.toLowerCase()?t.state=W.TEXT:t.state=W.SCRIPT,t.tag=null,t.tagName=""),t.attribName=t.attribValue="",t.attribList.length=0}function L(t){if(!t.tagName)return S(t,"Weird empty close tag."),t.textNode+="</>",void(t.state=W.TEXT);if(t.script){if("script"!==t.tagName)return t.script+="</"+t.tagName+">",t.tagName="",void(t.state=W.SCRIPT);x(t,"onscript",t.script),t.script=""}var e=t.tags.length,n=t.tagName;t.strict||(n=n[t.looseCase]());for(var r=n;e--&&t.tags[e].name!==r;)S(t,"Unexpected close tag");if(0>e)return S(t,"Unmatched closing tag: "+t.tagName),t.textNode+="</"+t.tagName+">",void(t.state=W.TEXT);t.tagName=n;for(var o=t.tags.length;o-- >e;){var i=t.tag=t.tags.pop();t.tagName=t.tag.name,x(t,"onclosetag",t.tagName);var a={};for(var s in i.ns)a[s]=i.ns[s];var u=t.tags[t.tags.length-1]||t;t.opt.xmlns&&i.ns!==u.ns&&(0,c.default)(i.ns).forEach((function(e){var n=i.ns[e];x(t,"onclosenamespace",{prefix:e,uri:n})}))}0===e&&(t.closedRoot=!0),t.tagName=t.attribValue=t.attribName="",t.attribList.length=0,t.state=W.TEXT}function M(t){var e,n=t.entity,r=n.toLowerCase(),i="";return t.ENTITIES[n]?t.ENTITIES[n]:t.ENTITIES[r]?t.ENTITIES[r]:("#"===(n=r).charAt(0)&&("x"===n.charAt(1)?(n=n.slice(2),i=(e=parseInt(n,16)).toString(16)):(n=n.slice(1),i=(e=parseInt(n,10)).toString(10))),n=n.replace(/^0+/,""),isNaN(e)||i.toLowerCase()!==n?(S(t,"Invalid character entity"),"&"+t.entity+";"):(0,o.default)(e))}function R(t,e){"<"===e?(t.state=W.OPEN_WAKA,t.startTagPosition=t.position):m(e)||(S(t,"Non-whitespace before first tag."),t.textNode=e,t.state=W.TEXT)}function I(t,e){var n="";return e<t.length&&(n=t.charAt(e)),n}function j(t){var e=this;if(this.error)throw this.error;if(e.closed)return k(e,"Cannot write after close. Assign an onready handler.");if(null===t)return E(e);"object"===(void 0===t?"undefined":(0,a.default)(t))&&(t=t.toString());for(var n=0,r="";r=I(t,n++),e.c=r,r;)switch(e.trackPosition&&(e.position++,"\n"===r?(e.line++,e.column=0):e.column++),e.state){case W.BEGIN:if(e.state=W.BEGIN_WHITESPACE,"\ufeff"===r)continue;R(e,r);continue;case W.BEGIN_WHITESPACE:R(e,r);continue;case W.TEXT:if(e.sawRoot&&!e.closedRoot){for(var o=n-1;r&&"<"!==r&&"&"!==r;)(r=I(t,n++))&&e.trackPosition&&(e.position++,"\n"===r?(e.line++,e.column=0):e.column++);e.textNode+=t.substring(o,n-1)}"<"!==r||e.sawRoot&&e.closedRoot&&!e.strict?(m(r)||e.sawRoot&&!e.closedRoot||S(e,"Text data outside of root node."),"&"===r?e.state=W.TEXT_ENTITY:e.textNode+=r):(e.state=W.OPEN_WAKA,e.startTagPosition=e.position);continue;case W.SCRIPT:"<"===r?e.state=W.SCRIPT_ENDING:e.script+=r;continue;case W.SCRIPT_ENDING:"/"===r?e.state=W.CLOSE_TAG:(e.script+="<"+r,e.state=W.SCRIPT);continue;case W.OPEN_WAKA:if("!"===r)e.state=W.SGML_DECL,e.sgmlDecl="";else if(m(r));else if(y(K,r))e.state=W.OPEN_TAG,e.tagName=r;else if("/"===r)e.state=W.CLOSE_TAG,e.tagName="";else if("?"===r)e.state=W.PROC_INST,e.procInstName=e.procInstBody="";else{if(S(e,"Unencoded <"),e.startTagPosition+1<e.position){var i=e.position-e.startTagPosition;r=new Array(i).join(" ")+r}e.textNode+="<"+r,e.state=W.TEXT}continue;case W.SGML_DECL:(e.sgmlDecl+r).toUpperCase()===U?(x(e,"onopencdata"),e.state=W.CDATA,e.sgmlDecl="",e.cdata=""):e.sgmlDecl+r==="--"?(e.state=W.COMMENT,e.comment="",e.sgmlDecl=""):(e.sgmlDecl+r).toUpperCase()===$?(e.state=W.DOCTYPE,(e.doctype||e.sawRoot)&&S(e,"Inappropriately located doctype declaration"),e.doctype="",e.sgmlDecl=""):">"===r?(x(e,"onsgmldeclaration",e.sgmlDecl),e.sgmlDecl="",e.state=W.TEXT):g(r)?(e.state=W.SGML_DECL_QUOTED,e.sgmlDecl+=r):e.sgmlDecl+=r;continue;case W.SGML_DECL_QUOTED:r===e.q&&(e.state=W.SGML_DECL,e.q=""),e.sgmlDecl+=r;continue;case W.DOCTYPE:">"===r?(e.state=W.TEXT,x(e,"ondoctype",e.doctype),e.doctype=!0):(e.doctype+=r,"["===r?e.state=W.DOCTYPE_DTD:g(r)&&(e.state=W.DOCTYPE_QUOTED,e.q=r));continue;case W.DOCTYPE_QUOTED:e.doctype+=r,r===e.q&&(e.q="",e.state=W.DOCTYPE);continue;case W.DOCTYPE_DTD:e.doctype+=r,"]"===r?e.state=W.DOCTYPE:g(r)&&(e.state=W.DOCTYPE_DTD_QUOTED,e.q=r);continue;case W.DOCTYPE_DTD_QUOTED:e.doctype+=r,r===e.q&&(e.state=W.DOCTYPE_DTD,e.q="");continue;case W.COMMENT:"-"===r?e.state=W.COMMENT_ENDING:e.comment+=r;continue;case W.COMMENT_ENDING:"-"===r?(e.state=W.COMMENT_ENDED,e.comment=A(e.opt,e.comment),e.comment&&x(e,"oncomment",e.comment),e.comment=""):(e.comment+="-"+r,e.state=W.COMMENT);continue;case W.COMMENT_ENDED:">"!==r?(S(e,"Malformed comment"),e.comment+="--"+r,e.state=W.COMMENT):e.state=W.TEXT;continue;case W.CDATA:"]"===r?e.state=W.CDATA_ENDING:e.cdata+=r;continue;case W.CDATA_ENDING:"]"===r?e.state=W.CDATA_ENDING_2:(e.cdata+="]"+r,e.state=W.CDATA);continue;case W.CDATA_ENDING_2:">"===r?(e.cdata&&x(e,"oncdata",e.cdata),x(e,"onclosecdata"),e.cdata="",e.state=W.TEXT):"]"===r?e.cdata+="]":(e.cdata+="]]"+r,e.state=W.CDATA);continue;case W.PROC_INST:"?"===r?e.state=W.PROC_INST_ENDING:m(r)?e.state=W.PROC_INST_BODY:e.procInstName+=r;continue;case W.PROC_INST_BODY:if(!e.procInstBody&&m(r))continue;"?"===r?e.state=W.PROC_INST_ENDING:e.procInstBody+=r;continue;case W.PROC_INST_ENDING:">"===r?(x(e,"onprocessinginstruction",{name:e.procInstName,body:e.procInstBody}),e.procInstName=e.procInstBody="",e.state=W.TEXT):(e.procInstBody+="?"+r,e.state=W.PROC_INST_BODY);continue;case W.OPEN_TAG:y(H,r)?e.tagName+=r:(T(e),">"===r?O(e):"/"===r?e.state=W.OPEN_TAG_SLASH:(m(r)||S(e,"Invalid character in tag name"),e.state=W.ATTRIB));continue;case W.OPEN_TAG_SLASH:">"===r?(O(e,!0),L(e)):(S(e,"Forward-slash in opening tag not followed by >"),e.state=W.ATTRIB);continue;case W.ATTRIB:if(m(r))continue;">"===r?O(e):"/"===r?e.state=W.OPEN_TAG_SLASH:y(K,r)?(e.attribName=r,e.attribValue="",e.state=W.ATTRIB_NAME):S(e,"Invalid attribute name");continue;case W.ATTRIB_NAME:"="===r?e.state=W.ATTRIB_VALUE:">"===r?(S(e,"Attribute without value"),e.attribValue=e.attribName,P(e),O(e)):m(r)?e.state=W.ATTRIB_NAME_SAW_WHITE:y(H,r)?e.attribName+=r:S(e,"Invalid attribute name");continue;case W.ATTRIB_NAME_SAW_WHITE:if("="===r)e.state=W.ATTRIB_VALUE;else{if(m(r))continue;S(e,"Attribute without value"),e.tag.attributes[e.attribName]="",e.attribValue="",x(e,"onattribute",{name:e.attribName,value:""}),e.attribName="",">"===r?O(e):y(K,r)?(e.attribName=r,e.state=W.ATTRIB_NAME):(S(e,"Invalid attribute name"),e.state=W.ATTRIB)}continue;case W.ATTRIB_VALUE:if(m(r))continue;g(r)?(e.q=r,e.state=W.ATTRIB_VALUE_QUOTED):(S(e,"Unquoted attribute value"),e.state=W.ATTRIB_VALUE_UNQUOTED,e.attribValue=r);continue;case W.ATTRIB_VALUE_QUOTED:if(r!==e.q){"&"===r?e.state=W.ATTRIB_VALUE_ENTITY_Q:e.attribValue+=r;continue}P(e),e.q="",e.state=W.ATTRIB_VALUE_CLOSED;continue;case W.ATTRIB_VALUE_CLOSED:m(r)?e.state=W.ATTRIB:">"===r?O(e):"/"===r?e.state=W.OPEN_TAG_SLASH:y(K,r)?(S(e,"No whitespace between attributes"),e.attribName=r,e.attribValue="",e.state=W.ATTRIB_NAME):S(e,"Invalid attribute name");continue;case W.ATTRIB_VALUE_UNQUOTED:if(!v(r)){"&"===r?e.state=W.ATTRIB_VALUE_ENTITY_U:e.attribValue+=r;continue}P(e),">"===r?O(e):e.state=W.ATTRIB;continue;case W.CLOSE_TAG:if(e.tagName)">"===r?L(e):y(H,r)?e.tagName+=r:e.script?(e.script+="</"+e.tagName,e.tagName="",e.state=W.SCRIPT):(m(r)||S(e,"Invalid tagname in closing tag"),e.state=W.CLOSE_TAG_SAW_WHITE);else{if(m(r))continue;b(K,r)?e.script?(e.script+="</"+r,e.state=W.SCRIPT):S(e,"Invalid tagname in closing tag."):e.tagName=r}continue;case W.CLOSE_TAG_SAW_WHITE:if(m(r))continue;">"===r?L(e):S(e,"Invalid characters in closing tag");continue;case W.TEXT_ENTITY:case W.ATTRIB_VALUE_ENTITY_Q:case W.ATTRIB_VALUE_ENTITY_U:var s,c;switch(e.state){case W.TEXT_ENTITY:s=W.TEXT,c="textNode";break;case W.ATTRIB_VALUE_ENTITY_Q:s=W.ATTRIB_VALUE_QUOTED,c="attribValue";break;case W.ATTRIB_VALUE_ENTITY_U:s=W.ATTRIB_VALUE_UNQUOTED,c="attribValue"}";"===r?(e[c]+=M(e),e.entity="",e.state=s):y(e.entity.length?z:V,r)?e.entity+=r:(S(e,"Invalid character in entity name"),e[c]+="&"+e.entity+r,e.entity="",e.state=s);continue;default:throw new Error(e,"Unknown state: "+e.state)}return e.position>=e.bufferCheckPosition&&l(e),e}n.parser=function(t,e){return new r(t,e)},n.SAXParser=r,n.SAXStream=h,n.createStream=d,n.MAX_BUFFER_LENGTH=65536;var D,B=["comment","sgmlDecl","textNode","tagName","doctype","procInstName","procInstBody","entity","attribName","attribValue","cdata","script"];n.EVENTS=["text","processinginstruction","sgmldeclaration","doctype","comment","opentagstart","attribute","opentag","closetag","opencdata","cdata","closecdata","error","end","ready","script","opennamespace","closenamespace"],u.default||(Object.create=function(t){function e(){}return e.prototype=t,new e}),c.default||(Object.keys=function(t){var e=[];for(var n in t)t.hasOwnProperty(n)&&e.push(n);return e}),r.prototype={end:function(){E(this)},write:j,resume:function(){return this.error=null,this},close:function(){return this.write(null)},flush:function(){f(this)}};try{D=t("stream").Stream}catch(t){D=function(){}}var N=n.EVENTS.filter((function(t){return"error"!==t&&"end"!==t}));h.prototype=(0,u.default)(D.prototype,{constructor:{value:h}}),h.prototype.write=function(n){if("function"==typeof e&&"function"==typeof e.isBuffer&&e.isBuffer(n)){if(!this._decoder){var r=t("string_decoder").StringDecoder;this._decoder=new r("utf8")}n=this._decoder.write(n)}return this._parser.write(n.toString()),this.emit("data",n),!0},h.prototype.end=function(t){return t&&t.length&&this.write(t),this._parser.end(),!0},h.prototype.on=function(t,e){var n=this;return n._parser["on"+t]||-1===N.indexOf(t)||(n._parser["on"+t]=function(){var e=1===arguments.length?[arguments[0]]:Array.apply(null,arguments);e.splice(0,0,t),n.emit.apply(n,e)}),D.prototype.on.call(n,t,e)};var U="[CDATA[",$="DOCTYPE",F="http://www.w3.org/XML/1998/namespace",G="http://www.w3.org/2000/xmlns/",q={xml:F,xmlns:G},K=/[:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,H=/[:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u00B7\u0300-\u036F\u203F-\u2040.\d-]/,V=/[#:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,z=/[#:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u00B7\u0300-\u036F\u203F-\u2040.\d-]/,W=0;for(var X in n.STATE={BEGIN:W++,BEGIN_WHITESPACE:W++,TEXT:W++,TEXT_ENTITY:W++,OPEN_WAKA:W++,SGML_DECL:W++,SGML_DECL_QUOTED:W++,DOCTYPE:W++,DOCTYPE_QUOTED:W++,DOCTYPE_DTD:W++,DOCTYPE_DTD_QUOTED:W++,COMMENT_STARTING:W++,COMMENT:W++,COMMENT_ENDING:W++,COMMENT_ENDED:W++,CDATA:W++,CDATA_ENDING:W++,CDATA_ENDING_2:W++,PROC_INST:W++,PROC_INST_BODY:W++,PROC_INST_ENDING:W++,OPEN_TAG:W++,OPEN_TAG_SLASH:W++,ATTRIB:W++,ATTRIB_NAME:W++,ATTRIB_NAME_SAW_WHITE:W++,ATTRIB_VALUE:W++,ATTRIB_VALUE_QUOTED:W++,ATTRIB_VALUE_CLOSED:W++,ATTRIB_VALUE_UNQUOTED:W++,ATTRIB_VALUE_ENTITY_Q:W++,ATTRIB_VALUE_ENTITY_U:W++,CLOSE_TAG:W++,CLOSE_TAG_SAW_WHITE:W++,SCRIPT:W++,SCRIPT_ENDING:W++},n.XML_ENTITIES={amp:"&",gt:">",lt:"<",quot:'"',apos:"'"},n.ENTITIES={amp:"&",gt:">",lt:"<",quot:'"',apos:"'",AElig:198,Aacute:193,Acirc:194,Agrave:192,Aring:197,Atilde:195,Auml:196,Ccedil:199,ETH:208,Eacute:201,Ecirc:202,Egrave:200,Euml:203,Iacute:205,Icirc:206,Igrave:204,Iuml:207,Ntilde:209,Oacute:211,Ocirc:212,Ograve:210,Oslash:216,Otilde:213,Ouml:214,THORN:222,Uacute:218,Ucirc:219,Ugrave:217,Uuml:220,Yacute:221,aacute:225,acirc:226,aelig:230,agrave:224,aring:229,atilde:227,auml:228,ccedil:231,eacute:233,ecirc:234,egrave:232,eth:240,euml:235,iacute:237,icirc:238,igrave:236,iuml:239,ntilde:241,oacute:243,ocirc:244,ograve:242,oslash:248,otilde:245,ouml:246,szlig:223,thorn:254,uacute:250,ucirc:251,ugrave:249,uuml:252,yacute:253,yuml:255,copy:169,reg:174,nbsp:160,iexcl:161,cent:162,pound:163,curren:164,yen:165,brvbar:166,sect:167,uml:168,ordf:170,laquo:171,not:172,shy:173,macr:175,deg:176,plusmn:177,sup1:185,sup2:178,sup3:179,acute:180,micro:181,para:182,middot:183,cedil:184,ordm:186,raquo:187,frac14:188,frac12:189,frac34:190,iquest:191,times:215,divide:247,OElig:338,oelig:339,Scaron:352,scaron:353,Yuml:376,fnof:402,circ:710,tilde:732,Alpha:913,Beta:914,Gamma:915,Delta:916,Epsilon:917,Zeta:918,Eta:919,Theta:920,Iota:921,Kappa:922,Lambda:923,Mu:924,Nu:925,Xi:926,Omicron:927,Pi:928,Rho:929,Sigma:931,Tau:932,Upsilon:933,Phi:934,Chi:935,Psi:936,Omega:937,alpha:945,beta:946,gamma:947,delta:948,epsilon:949,zeta:950,eta:951,theta:952,iota:953,kappa:954,lambda:955,mu:956,nu:957,xi:958,omicron:959,pi:960,rho:961,sigmaf:962,sigma:963,tau:964,upsilon:965,phi:966,chi:967,psi:968,omega:969,thetasym:977,upsih:978,piv:982,ensp:8194,emsp:8195,thinsp:8201,zwnj:8204,zwj:8205,lrm:8206,rlm:8207,ndash:8211,mdash:8212,lsquo:8216,rsquo:8217,sbquo:8218,ldquo:8220,rdquo:8221,bdquo:8222,dagger:8224,Dagger:8225,bull:8226,hellip:8230,permil:8240,prime:8242,Prime:8243,lsaquo:8249,rsaquo:8250,oline:8254,frasl:8260,euro:8364,image:8465,weierp:8472,real:8476,trade:8482,alefsym:8501,larr:8592,uarr:8593,rarr:8594,darr:8595,harr:8596,crarr:8629,lArr:8656,uArr:8657,rArr:8658,dArr:8659,hArr:8660,forall:8704,part:8706,exist:8707,empty:8709,nabla:8711,isin:8712,notin:8713,ni:8715,prod:8719,sum:8721,minus:8722,lowast:8727,radic:8730,prop:8733,infin:8734,ang:8736,and:8743,or:8744,cap:8745,cup:8746,int:8747,there4:8756,sim:8764,cong:8773,asymp:8776,ne:8800,equiv:8801,le:8804,ge:8805,sub:8834,sup:8835,nsub:8836,sube:8838,supe:8839,oplus:8853,otimes:8855,perp:8869,sdot:8901,lceil:8968,rceil:8969,lfloor:8970,rfloor:8971,lang:9001,rang:9002,loz:9674,spades:9824,clubs:9827,hearts:9829,diams:9830},(0,c.default)(n.ENTITIES).forEach((function(t){var e=n.ENTITIES[t],r="number"==typeof e?String.fromCharCode(e):e;n.ENTITIES[t]=r})),n.STATE)n.STATE[n.STATE[X]]=X;W=n.STATE,o.default||function(){var t=String.fromCharCode,e=Math.floor,n=function(){var n,r,o=16384,i=[],a=-1,s=arguments.length;if(!s)return"";for(var c="";++a<s;){var u=Number(arguments[a]);if(!isFinite(u)||0>u||u>1114111||e(u)!==u)throw RangeError("Invalid code point: "+u);65535>=u?i.push(u):(n=55296+((u-=65536)>>10),r=u%1024+56320,i.push(n,r)),(a+1===s||i.length>o)&&(c+=t.apply(null,i),i.length=0)}return c};s.default?Object.defineProperty(String,"fromCodePoint",{value:n,configurable:!0,writable:!0}):String.fromCodePoint=n}()}(void 0===n?(void 0).sax={}:n)}).call(this,t("buffer").Buffer)},{"babel-runtime/core-js/json/stringify":17,"babel-runtime/core-js/object/create":19,"babel-runtime/core-js/object/define-property":20,"babel-runtime/core-js/object/keys":23,"babel-runtime/core-js/string/from-code-point":26,"babel-runtime/helpers/typeof":32,buffer:38,stream:195,string_decoder:37}],195:[function(t,e,n){function r(){o.call(this)}e.exports=r;var o=t("events").EventEmitter;t("inherits")(r,o),r.Readable=t("readable-stream/readable.js"),r.Writable=t("readable-stream/writable.js"),r.Duplex=t("readable-stream/duplex.js"),r.Transform=t("readable-stream/transform.js"),r.PassThrough=t("readable-stream/passthrough.js"),r.Stream=r,r.prototype.pipe=function(t,e){function n(e){t.writable&&!1===t.write(e)&&u.pause&&u.pause()}function r(){u.readable&&u.resume&&u.resume()}function i(){l||(l=!0,t.end())}function a(){l||(l=!0,"function"==typeof t.destroy&&t.destroy())}function s(t){if(c(),0===o.listenerCount(this,"error"))throw t}function c(){u.removeListener("data",n),t.removeListener("drain",r),u.removeListener("end",i),u.removeListener("close",a),u.removeListener("error",s),t.removeListener("error",s),u.removeListener("end",c),u.removeListener("close",c),t.removeListener("close",c)}var u=this;u.on("data",n),t.on("drain",r),t._isStdio||e&&!1===e.end||(u.on("end",i),u.on("close",a));var l=!1;return u.on("error",s),t.on("error",s),u.on("end",c),u.on("close",c),t.on("close",c),t.emit("pipe",u),t}},{events:158,inherits:162,"readable-stream/duplex.js":178,"readable-stream/passthrough.js":187,"readable-stream/readable.js":188,"readable-stream/transform.js":189,"readable-stream/writable.js":190}],196:[function(t,e,n){(function(e){var r=t("./lib/request"),o=t("./lib/response"),i=t("xtend"),a=t("builtin-status-codes"),s=t("url"),c=n;c.request=function(t,n){t="string"==typeof t?s.parse(t):i(t);var o=-1===e.location.protocol.search(/^https?:$/)?"http:":"",a=t.protocol||o,c=t.hostname||t.host,u=t.port,l=t.path||"/";c&&-1!==c.indexOf(":")&&(c="["+c+"]"),t.url=(c?a+"//"+c:"")+(u?":"+u:"")+l,t.method=(t.method||"GET").toUpperCase(),t.headers=t.headers||{};var p=new r(t);return n&&p.on("response",n),p},c.get=function(t,e){var n=c.request(t,e);return n.end(),n},c.ClientRequest=r,c.IncomingMessage=o.IncomingMessage,c.Agent=function(){},c.Agent.defaultMaxSockets=4,c.globalAgent=new c.Agent,c.STATUS_CODES=a,c.METHODS=["CHECKOUT","CONNECT","COPY","DELETE","GET","HEAD","LOCK","M-SEARCH","MERGE","MKACTIVITY","MKCOL","MOVE","NOTIFY","OPTIONS","PATCH","POST","PROPFIND","PROPPATCH","PURGE","PUT","REPORT","SEARCH","SUBSCRIBE","TRACE","UNLOCK","UNSUBSCRIBE"]}).call(this,void 0!==commonjsGlobal?commonjsGlobal:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./lib/request":198,"./lib/response":199,"builtin-status-codes":39,url:203,xtend:236}],197:[function(t,e,n){(function(t){function e(){if(void 0!==i)return i;if(t.XMLHttpRequest){i=new t.XMLHttpRequest;try{i.open("GET",t.XDomainRequest?"/":"https://example.com")}catch(t){i=null}}else i=null;return i}function r(t){var n=e();if(!n)return!1;try{return n.responseType=t,n.responseType===t}catch(t){}return!1}function o(t){return"function"==typeof t}n.fetch=o(t.fetch)&&o(t.ReadableStream),n.writableStream=o(t.WritableStream),n.abortController=o(t.AbortController),n.blobConstructor=!1;try{new Blob([new ArrayBuffer(1)]),n.blobConstructor=!0}catch(t){}var i,a=void 0!==t.ArrayBuffer,s=a&&o(t.ArrayBuffer.prototype.slice);n.arraybuffer=n.fetch||a&&r("arraybuffer"),n.msstream=!n.fetch&&s&&r("ms-stream"),n.mozchunkedarraybuffer=!n.fetch&&a&&r("moz-chunked-arraybuffer"),n.overrideMimeType=n.fetch||!!e()&&o(e().overrideMimeType),n.vbArray=o(t.VBArray),i=null}).call(this,void 0!==commonjsGlobal?commonjsGlobal:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],198:[function(t,e,n){(function(n,r,o){function i(t){return t&&t.__esModule?t:{default:t}}function a(t,e){return u.fetch&&e?"fetch":u.mozchunkedarraybuffer?"moz-chunked-arraybuffer":u.msstream?"ms-stream":u.arraybuffer&&t?"arraybuffer":u.vbArray&&t?"text:vbarray":"text"}function s(t){try{var e=t.status;return null!==e&&0!==e}catch(t){return!1}}var c=i(t("babel-runtime/core-js/object/keys")),u=t("./capability"),l=t("inherits"),p=t("./response"),f=t("readable-stream"),d=t("to-arraybuffer"),h=p.IncomingMessage,m=p.readyStates,g=e.exports=function(t){var e=this;f.Writable.call(e),e._opts=t,e._body=[],e._headers={},t.auth&&e.setHeader("Authorization","Basic "+new o(t.auth).toString("base64")),(0,c.default)(t.headers).forEach((function(n){e.setHeader(n,t.headers[n])}));var n,r=!0;if("disable-fetch"===t.mode||"requestTimeout"in t&&!u.abortController)r=!1,n=!0;else if("prefer-streaming"===t.mode)n=!1;else if("allow-wrong-content-type"===t.mode)n=!u.overrideMimeType;else{if(t.mode&&"default"!==t.mode&&"prefer-fast"!==t.mode)throw new Error("Invalid value for opts.mode");n=!0}e._mode=a(n,r),e._fetchTimer=null,e.on("finish",(function(){e._onFinish()}))};l(g,f.Writable),g.prototype.setHeader=function(t,e){var n=this,r=t.toLowerCase();-1===v.indexOf(r)&&(n._headers[r]={name:t,value:e})},g.prototype.getHeader=function(t){var e=this._headers[t.toLowerCase()];return e?e.value:null},g.prototype.removeHeader=function(t){delete this._headers[t.toLowerCase()]},g.prototype._onFinish=function(){var t=this;if(!t._destroyed){var e=t._opts,i=t._headers,a=null;"GET"!==e.method&&"HEAD"!==e.method&&(a=u.arraybuffer?d(o.concat(t._body)):u.blobConstructor?new r.Blob(t._body.map((function(t){return d(t)})),{type:(i["content-type"]||{}).value||""}):o.concat(t._body).toString());var s=[];if((0,c.default)(i).forEach((function(t){var e=i[t].name,n=i[t].value;Array.isArray(n)?n.forEach((function(t){s.push([e,t])})):s.push([e,n])})),"fetch"===t._mode){var l=null;if(u.abortController){var p=new AbortController;l=p.signal,t._fetchAbortController=p,"requestTimeout"in e&&0!==e.requestTimeout&&(t._fetchTimer=r.setTimeout((function(){t.emit("requestTimeout"),t._fetchAbortController&&t._fetchAbortController.abort()}),e.requestTimeout))}r.fetch(t._opts.url,{method:t._opts.method,headers:s,body:a||void 0,mode:"cors",credentials:e.withCredentials?"include":"same-origin",signal:l}).then((function(e){t._fetchResponse=e,t._connect()}),(function(e){r.clearTimeout(t._fetchTimer),t._destroyed||t.emit("error",e)}))}else{var f=t._xhr=new r.XMLHttpRequest;try{f.open(t._opts.method,t._opts.url,!0)}catch(e){return void n.nextTick((function(){t.emit("error",e)}))}"responseType"in f&&(f.responseType=t._mode.split(":")[0]),"withCredentials"in f&&(f.withCredentials=!!e.withCredentials),"text"===t._mode&&"overrideMimeType"in f&&f.overrideMimeType("text/plain; charset=x-user-defined"),"requestTimeout"in e&&(f.timeout=e.requestTimeout,f.ontimeout=function(){t.emit("requestTimeout")}),s.forEach((function(t){f.setRequestHeader(t[0],t[1])})),t._response=null,f.onreadystatechange=function(){switch(f.readyState){case m.LOADING:case m.DONE:t._onXHRProgress()}},"moz-chunked-arraybuffer"===t._mode&&(f.onprogress=function(){t._onXHRProgress()}),f.onerror=function(){t._destroyed||t.emit("error",new Error("XHR error"))};try{f.send(a)}catch(e){return void n.nextTick((function(){t.emit("error",e)}))}}}},g.prototype._onXHRProgress=function(){var t=this;s(t._xhr)&&!t._destroyed&&(t._response||t._connect(),t._response._onXHRProgress())},g.prototype._connect=function(){var t=this;t._destroyed||(t._response=new h(t._xhr,t._fetchResponse,t._mode,t._fetchTimer),t._response.on("error",(function(e){t.emit("error",e)})),t.emit("response",t._response))},g.prototype._write=function(t,e,n){this._body.push(t),n()},g.prototype.abort=g.prototype.destroy=function(){var t=this;t._destroyed=!0,r.clearTimeout(t._fetchTimer),t._response&&(t._response._destroyed=!0),t._xhr?t._xhr.abort():t._fetchAbortController&&t._fetchAbortController.abort()},g.prototype.end=function(t,e,n){var r=this;"function"==typeof t&&(n=t,t=void 0),f.Writable.prototype.end.call(r,t,e,n)},g.prototype.flushHeaders=function(){},g.prototype.setTimeout=function(){},g.prototype.setNoDelay=function(){},g.prototype.setSocketKeepAlive=function(){};var v=["accept-charset","accept-encoding","access-control-request-headers","access-control-request-method","connection","content-length","cookie","cookie2","date","dnt","expect","host","keep-alive","origin","referer","te","trailer","transfer-encoding","upgrade","user-agent","via"]}).call(this,t("_process"),void 0!==commonjsGlobal?commonjsGlobal:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},t("buffer").Buffer)},{"./capability":197,"./response":199,_process:173,"babel-runtime/core-js/object/keys":23,buffer:38,inherits:162,"readable-stream":188,"to-arraybuffer":202}],199:[function(t,e,n){(function(e,r,o){function i(t){return t&&t.__esModule?t:{default:t}}var a=i(t("babel-runtime/core-js/promise")),s=t("./capability"),c=t("inherits"),u=t("readable-stream"),l=n.readyStates={UNSENT:0,OPENED:1,HEADERS_RECEIVED:2,LOADING:3,DONE:4},p=n.IncomingMessage=function(t,n,i,c){var l=this;if(u.Readable.call(l),l._mode=i,l.headers={},l.rawHeaders=[],l.trailers={},l.rawTrailers=[],l.on("end",(function(){e.nextTick((function(){l.emit("close")}))})),"fetch"===i){var p=function t(){d.read().then((function(e){if(!l._destroyed){if(e.done)return r.clearTimeout(c),void l.push(null);l.push(new o(e.value)),t()}})).catch((function(t){r.clearTimeout(c),l._destroyed||l.emit("error",t)}))};if(l._fetchResponse=n,l.url=n.url,l.statusCode=n.status,l.statusMessage=n.statusText,n.headers.forEach((function(t,e){l.headers[e.toLowerCase()]=t,l.rawHeaders.push(e,t)})),s.writableStream){var f=new WritableStream({write:function(t){return new a.default((function(e,n){l._destroyed?n():l.push(new o(t))?e():l._resumeFetch=e}))},close:function(){r.clearTimeout(c),l._destroyed||l.push(null)},abort:function(t){l._destroyed||l.emit("error",t)}});try{return void n.body.pipeTo(f).catch((function(t){r.clearTimeout(c),l._destroyed||l.emit("error",t)}))}catch(t){}}var d=n.body.getReader();p()}else if(l._xhr=t,l._pos=0,l.url=t.responseURL,l.statusCode=t.status,l.statusMessage=t.statusText,t.getAllResponseHeaders().split(/\r?\n/).forEach((function(t){var e=t.match(/^([^:]+):\s*(.*)/);if(e){var n=e[1].toLowerCase();"set-cookie"===n?(void 0===l.headers[n]&&(l.headers[n]=[]),l.headers[n].push(e[2])):void 0!==l.headers[n]?l.headers[n]+=", "+e[2]:l.headers[n]=e[2],l.rawHeaders.push(e[1],e[2])}})),l._charset="x-user-defined",!s.overrideMimeType){var h=l.rawHeaders["mime-type"];if(h){var m=h.match(/;\s*charset=([^;])(;|$)/);m&&(l._charset=m[1].toLowerCase())}l._charset||(l._charset="utf-8")}};c(p,u.Readable),p.prototype._read=function(){var t=this,e=t._resumeFetch;e&&(t._resumeFetch=null,e())},p.prototype._onXHRProgress=function(){var t=this,e=t._xhr,n=null;switch(t._mode){case"text:vbarray":if(e.readyState!==l.DONE)break;try{n=new r.VBArray(e.responseBody).toArray()}catch(t){}if(null!==n){t.push(new o(n));break}case"text":try{n=e.responseText}catch(e){t._mode="text:vbarray";break}if(n.length>t._pos){var i=n.substr(t._pos);if("x-user-defined"===t._charset){for(var a=new o(i.length),s=0;s<i.length;s++)a[s]=255&i.charCodeAt(s);t.push(a)}else t.push(i,t._charset);t._pos=n.length}break;case"arraybuffer":if(e.readyState!==l.DONE||!e.response)break;n=e.response,t.push(new o(new Uint8Array(n)));break;case"moz-chunked-arraybuffer":if(n=e.response,e.readyState!==l.LOADING||!n)break;t.push(new o(new Uint8Array(n)));break;case"ms-stream":if(n=e.response,e.readyState!==l.LOADING)break;var c=new r.MSStreamReader;c.onprogress=function(){c.result.byteLength>t._pos&&(t.push(new o(new Uint8Array(c.result.slice(t._pos)))),t._pos=c.result.byteLength)},c.onload=function(){t.push(null)},c.readAsArrayBuffer(n)}t._xhr.readyState===l.DONE&&"ms-stream"!==t._mode&&t.push(null)}}).call(this,t("_process"),void 0!==commonjsGlobal?commonjsGlobal:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},t("buffer").Buffer)},{"./capability":197,_process:173,"babel-runtime/core-js/promise":24,buffer:38,inherits:162,"readable-stream":188}],200:[function(t,e,n){function r(t){if(!t)return"utf8";for(var e;;)switch(t){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return t;default:if(e)return;t=(""+t).toLowerCase(),e=!0}}function o(t){var e=r(t);if("string"!=typeof e&&(y.isEncoding===b||!b(t)))throw new Error("Unknown encoding: "+t);return e||t}function i(t){var e;switch(this.encoding=o(t),this.encoding){case"utf16le":this.text=f,this.end=d,e=4;break;case"utf8":this.fillLast=u,e=4;break;case"base64":this.text=h,this.end=m,e=3;break;default:return this.write=g,void(this.end=v)}this.lastNeed=0,this.lastTotal=0,this.lastChar=y.allocUnsafe(e)}function a(t){return 127>=t?0:t>>5==6?2:t>>4==14?3:t>>3==30?4:t>>6==2?-1:-2}function s(t,e,n){var r=e.length-1;if(n>r)return 0;var o=a(e[r]);return o>=0?(o>0&&(t.lastNeed=o-1),o):--r<n||-2===o?0:(o=a(e[r]))>=0?(o>0&&(t.lastNeed=o-2),o):--r<n||-2===o?0:(o=a(e[r]))>=0?(o>0&&(2===o?o=0:t.lastNeed=o-3),o):0}function c(t,e,n){if(128!=(192&e[0]))return t.lastNeed=0,"�";if(t.lastNeed>1&&e.length>1){if(128!=(192&e[1]))return t.lastNeed=1,"�";if(t.lastNeed>2&&e.length>2&&128!=(192&e[2]))return t.lastNeed=2,"�"}}function u(t){var e=this.lastTotal-this.lastNeed,n=c(this,t);return void 0!==n?n:this.lastNeed<=t.length?(t.copy(this.lastChar,e,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(t.copy(this.lastChar,e,0,t.length),void(this.lastNeed-=t.length))}function l(t,e){var n=s(this,t,e);if(!this.lastNeed)return t.toString("utf8",e);this.lastTotal=n;var r=t.length-(n-this.lastNeed);return t.copy(this.lastChar,0,r),t.toString("utf8",e,r)}function p(t){var e=t&&t.length?this.write(t):"";return this.lastNeed?e+"�":e}function f(t,e){if((t.length-e)%2==0){var n=t.toString("utf16le",e);if(n){var r=n.charCodeAt(n.length-1);if(r>=55296&&56319>=r)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=t[t.length-2],this.lastChar[1]=t[t.length-1],n.slice(0,-1)}return n}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=t[t.length-1],t.toString("utf16le",e,t.length-1)}function d(t){var e=t&&t.length?this.write(t):"";if(this.lastNeed){var n=this.lastTotal-this.lastNeed;return e+this.lastChar.toString("utf16le",0,n)}return e}function h(t,e){var n=(t.length-e)%3;return 0===n?t.toString("base64",e):(this.lastNeed=3-n,this.lastTotal=3,1===n?this.lastChar[0]=t[t.length-1]:(this.lastChar[0]=t[t.length-2],this.lastChar[1]=t[t.length-1]),t.toString("base64",e,t.length-n))}function m(t){var e=t&&t.length?this.write(t):"";return this.lastNeed?e+this.lastChar.toString("base64",0,3-this.lastNeed):e}function g(t){return t.toString(this.encoding)}function v(t){return t&&t.length?this.write(t):""}var y=t("safe-buffer").Buffer,b=y.isEncoding||function(t){switch((t=""+t)&&t.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};n.StringDecoder=i,i.prototype.write=function(t){if(0===t.length)return"";var e,n;if(this.lastNeed){if(void 0===(e=this.fillLast(t)))return"";n=this.lastNeed,this.lastNeed=0}else n=0;return n<t.length?e?e+this.text(t,n):this.text(t,n):e||""},i.prototype.end=p,i.prototype.text=l,i.prototype.fillLast=function(t){return this.lastNeed<=t.length?(t.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(t.copy(this.lastChar,this.lastTotal-this.lastNeed,0,t.length),void(this.lastNeed-=t.length))}},{"safe-buffer":193}],201:[function(t,e,n){(function(e,r){function o(t,e){this._id=t,this._clearFn=e}var i=t("process/browser.js").nextTick,a=Function.prototype.apply,s=Array.prototype.slice,c={},u=0;n.setTimeout=function(){return new o(a.call(setTimeout,window,arguments),clearTimeout)},n.setInterval=function(){return new o(a.call(setInterval,window,arguments),clearInterval)},n.clearTimeout=n.clearInterval=function(t){t.close()},o.prototype.unref=o.prototype.ref=function(){},o.prototype.close=function(){this._clearFn.call(window,this._id)},n.enroll=function(t,e){clearTimeout(t._idleTimeoutId),t._idleTimeout=e},n.unenroll=function(t){clearTimeout(t._idleTimeoutId),t._idleTimeout=-1},n._unrefActive=n.active=function(t){clearTimeout(t._idleTimeoutId);var e=t._idleTimeout;e>=0&&(t._idleTimeoutId=setTimeout((function(){t._onTimeout&&t._onTimeout()}),e))},n.setImmediate="function"==typeof e?e:function(t){var e=u++,r=!(arguments.length<2)&&s.call(arguments,1);return c[e]=!0,i((function(){c[e]&&(r?t.apply(null,r):t.call(null),n.clearImmediate(e))})),e},n.clearImmediate="function"==typeof r?r:function(t){delete c[t]}}).call(this,t("timers").setImmediate,t("timers").clearImmediate)},{"process/browser.js":173,timers:201}],202:[function(t,e,n){var r=t("buffer").Buffer;e.exports=function(t){if(t instanceof Uint8Array){if(0===t.byteOffset&&t.byteLength===t.buffer.byteLength)return t.buffer;if("function"==typeof t.buffer.slice)return t.buffer.slice(t.byteOffset,t.byteOffset+t.byteLength)}if(r.isBuffer(t)){for(var e=new Uint8Array(t.length),n=t.length,o=0;n>o;o++)e[o]=t[o];return e.buffer}throw new Error("Argument must be a Buffer")}},{buffer:38}],203:[function(t,e,n){function r(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}function o(t,e,n){if(t&&u.isObject(t)&&t instanceof r)return t;var o=new r;return o.parse(t,e,n),o}function i(t){return u.isString(t)&&(t=o(t)),t instanceof r?t.format():r.prototype.format.call(t)}function a(t,e){return o(t,!1,!0).resolve(e)}function s(t,e){return t?o(t,!1,!0).resolveObject(e):e}var c=t("punycode"),u=t("./util");n.parse=o,n.resolve=a,n.resolveObject=s,n.format=i,n.Url=r;var l=/^([a-z0-9.+-]+:)/i,p=/:[0-9]*$/,f=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,d=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),h=["'"].concat(d),m=["%","/","?",";","#"].concat(h),g=["/","?","#"],v=255,y=/^[+a-z0-9A-Z_-]{0,63}$/,b=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,w={javascript:!0,"javascript:":!0},x={javascript:!0,"javascript:":!0},_={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},A=t("querystring");r.prototype.parse=function(t,e,n){if(!u.isString(t))throw new TypeError("Parameter 'url' must be a string, not "+typeof t);var r=t.indexOf("?"),o=-1!==r&&r<t.indexOf("#")?"?":"#",i=t.split(o),a=/\\/g;i[0]=i[0].replace(a,"/");var s=t=i.join(o);if(s=s.trim(),!n&&1===t.split("#").length){var p=f.exec(s);if(p)return this.path=s,this.href=s,this.pathname=p[1],p[2]?(this.search=p[2],this.query=e?A.parse(this.search.substr(1)):this.search.substr(1)):e&&(this.search="",this.query={}),this}var d=l.exec(s);if(d){var k=(d=d[0]).toLowerCase();this.protocol=k,s=s.substr(d.length)}if(n||d||s.match(/^\/\/[^@\/]+@[^@\/]+/)){var E="//"===s.substr(0,2);!E||d&&x[d]||(s=s.substr(2),this.slashes=!0)}if(!x[d]&&(E||d&&!_[d])){for(var S=-1,T=0;T<g.length;T++)-1!==(O=s.indexOf(g[T]))&&(-1===S||S>O)&&(S=O);var C,P;for(-1!==(P=-1===S?s.lastIndexOf("@"):s.lastIndexOf("@",S))&&(C=s.slice(0,P),s=s.slice(P+1),this.auth=decodeURIComponent(C)),S=-1,T=0;T<m.length;T++){var O;-1!==(O=s.indexOf(m[T]))&&(-1===S||S>O)&&(S=O)}-1===S&&(S=s.length),this.host=s.slice(0,S),s=s.slice(S),this.parseHost(),this.hostname=this.hostname||"";var L="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!L)for(var M=this.hostname.split(/\./),R=(T=0,M.length);R>T;T++){var I=M[T];if(I&&!I.match(y)){for(var j="",D=0,B=I.length;B>D;D++)j+=I.charCodeAt(D)>127?"x":I[D];if(!j.match(y)){var N=M.slice(0,T),U=M.slice(T+1),$=I.match(b);$&&(N.push($[1]),U.unshift($[2])),U.length&&(s="/"+U.join(".")+s),this.hostname=N.join(".");break}}}this.hostname.length>v?this.hostname="":this.hostname=this.hostname.toLowerCase(),L||(this.hostname=c.toASCII(this.hostname));var F=this.port?":"+this.port:"",G=this.hostname||"";this.host=G+F,this.href+=this.host,L&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==s[0]&&(s="/"+s))}if(!w[k])for(T=0,R=h.length;R>T;T++){var q=h[T];if(-1!==s.indexOf(q)){var K=encodeURIComponent(q);K===q&&(K=escape(q)),s=s.split(q).join(K)}}var H=s.indexOf("#");-1!==H&&(this.hash=s.substr(H),s=s.slice(0,H));var V=s.indexOf("?");if(-1!==V?(this.search=s.substr(V),this.query=s.substr(V+1),e&&(this.query=A.parse(this.query)),s=s.slice(0,V)):e&&(this.search="",this.query={}),s&&(this.pathname=s),_[k]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){F=this.pathname||"";var z=this.search||"";this.path=F+z}return this.href=this.format(),this},r.prototype.format=function(){var t=this.auth||"";t&&(t=(t=encodeURIComponent(t)).replace(/%3A/i,":"),t+="@");var e=this.protocol||"",n=this.pathname||"",r=this.hash||"",o=!1,i="";this.host?o=t+this.host:this.hostname&&(o=t+(-1===this.hostname.indexOf(":")?this.hostname:"["+this.hostname+"]"),this.port&&(o+=":"+this.port)),this.query&&u.isObject(this.query)&&Object.keys(this.query).length&&(i=A.stringify(this.query));var a=this.search||i&&"?"+i||"";return e&&":"!==e.substr(-1)&&(e+=":"),this.slashes||(!e||_[e])&&!1!==o?(o="//"+(o||""),n&&"/"!==n.charAt(0)&&(n="/"+n)):o||(o=""),r&&"#"!==r.charAt(0)&&(r="#"+r),a&&"?"!==a.charAt(0)&&(a="?"+a),n=n.replace(/[?#]/g,(function(t){return encodeURIComponent(t)})),e+o+n+(a=a.replace("#","%23"))+r},r.prototype.resolve=function(t){return this.resolveObject(o(t,!1,!0)).format()},r.prototype.resolveObject=function(t){if(u.isString(t)){var e=new r;e.parse(t,!1,!0),t=e}for(var n=new r,o=Object.keys(this),i=0;i<o.length;i++){var a=o[i];n[a]=this[a]}if(n.hash=t.hash,""===t.href)return n.href=n.format(),n;if(t.slashes&&!t.protocol){for(var s=Object.keys(t),c=0;c<s.length;c++){var l=s[c];"protocol"!==l&&(n[l]=t[l])}return _[n.protocol]&&n.hostname&&!n.pathname&&(n.path=n.pathname="/"),n.href=n.format(),n}if(t.protocol&&t.protocol!==n.protocol){if(!_[t.protocol]){for(var p=Object.keys(t),f=0;f<p.length;f++){var d=p[f];n[d]=t[d]}return n.href=n.format(),n}if(n.protocol=t.protocol,t.host||x[t.protocol])n.pathname=t.pathname;else{for(var h=(t.pathname||"").split("/");h.length&&!(t.host=h.shift()););t.host||(t.host=""),t.hostname||(t.hostname=""),""!==h[0]&&h.unshift(""),h.length<2&&h.unshift(""),n.pathname=h.join("/")}if(n.search=t.search,n.query=t.query,n.host=t.host||"",n.auth=t.auth,n.hostname=t.hostname||t.host,n.port=t.port,n.pathname||n.search){var m=n.pathname||"",g=n.search||"";n.path=m+g}return n.slashes=n.slashes||t.slashes,n.href=n.format(),n}var v=n.pathname&&"/"===n.pathname.charAt(0),y=t.host||t.pathname&&"/"===t.pathname.charAt(0),b=y||v||n.host&&t.pathname,w=b,A=n.pathname&&n.pathname.split("/")||[],k=(h=t.pathname&&t.pathname.split("/")||[],n.protocol&&!_[n.protocol]);if(k&&(n.hostname="",n.port=null,n.host&&(""===A[0]?A[0]=n.host:A.unshift(n.host)),n.host="",t.protocol&&(t.hostname=null,t.port=null,t.host&&(""===h[0]?h[0]=t.host:h.unshift(t.host)),t.host=null),b=b&&(""===h[0]||""===A[0])),y)n.host=t.host||""===t.host?t.host:n.host,n.hostname=t.hostname||""===t.hostname?t.hostname:n.hostname,n.search=t.search,n.query=t.query,A=h;else if(h.length)A||(A=[]),A.pop(),A=A.concat(h),n.search=t.search,n.query=t.query;else if(!u.isNullOrUndefined(t.search))return k&&(n.hostname=n.host=A.shift(),(P=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@"))&&(n.auth=P.shift(),n.host=n.hostname=P.shift())),n.search=t.search,n.query=t.query,u.isNull(n.pathname)&&u.isNull(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.href=n.format(),n;if(!A.length)return n.pathname=null,n.search?n.path="/"+n.search:n.path=null,n.href=n.format(),n;for(var E=A.slice(-1)[0],S=(n.host||t.host||A.length>1)&&("."===E||".."===E)||""===E,T=0,C=A.length;C>=0;C--)"."===(E=A[C])?A.splice(C,1):".."===E?(A.splice(C,1),T++):T&&(A.splice(C,1),T--);if(!b&&!w)for(;T--;T)A.unshift("..");!b||""===A[0]||A[0]&&"/"===A[0].charAt(0)||A.unshift(""),S&&"/"!==A.join("/").substr(-1)&&A.push("");var P,O=""===A[0]||A[0]&&"/"===A[0].charAt(0);return k&&(n.hostname=n.host=O?"":A.length?A.shift():"",(P=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@"))&&(n.auth=P.shift(),n.host=n.hostname=P.shift())),(b=b||n.host&&A.length)&&!O&&A.unshift(""),A.length?n.pathname=A.join("/"):(n.pathname=null,n.path=null),u.isNull(n.pathname)&&u.isNull(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.auth=t.auth||n.auth,n.slashes=n.slashes||t.slashes,n.href=n.format(),n},r.prototype.parseHost=function(){var t=this.host,e=p.exec(t);e&&(":"!==(e=e[0])&&(this.port=e.substr(1)),t=t.substr(0,t.length-e.length)),t&&(this.hostname=t)}},{"./util":204,punycode:174,querystring:177}],204:[function(t,e,n){e.exports={isString:function(t){return"string"==typeof t},isObject:function(t){return"object"==typeof t&&null!==t},isNull:function(t){return null===t},isNullOrUndefined:function(t){return null==t}}},{}],205:[function(t,e,n){(function(t){function n(t,e){function n(){if(!o){if(r("throwDeprecation"))throw new Error(e);r("traceDeprecation"),o=!0}return t.apply(this,arguments)}if(r("noDeprecation"))return t;var o=!1;return n}function r(e){try{if(!t.localStorage)return!1}catch(t){return!1}var n=t.localStorage[e];return null!=n&&"true"===String(n).toLowerCase()}e.exports=n}).call(this,void 0!==commonjsGlobal?commonjsGlobal:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],206:[function(t,e,n){e.exports=function(t){return t&&"object"==typeof t&&"function"==typeof t.copy&&"function"==typeof t.fill&&"function"==typeof t.readUInt8}},{}],207:[function(t,e,n){(function(e,r){function o(t,e){var r={seen:[],stylize:a};return arguments.length>=3&&(r.depth=arguments[2]),arguments.length>=4&&(r.colors=arguments[3]),m(e)?r.showHidden=e:e&&n._extend(r,e),x(r.showHidden)&&(r.showHidden=!1),x(r.depth)&&(r.depth=2),x(r.colors)&&(r.colors=!1),x(r.customInspect)&&(r.customInspect=!0),r.colors&&(r.stylize=i),c(r,t,r.depth)}function i(t,e){var n=o.styles[e];return n?"["+o.colors[n][0]+"m"+t+"["+o.colors[n][1]+"m":t}function a(t,e){return t}function s(t){var e={};return t.forEach((function(t,n){e[t]=!0})),e}function c(t,e,r){if(t.customInspect&&e&&S(e.inspect)&&e.inspect!==n.inspect&&(!e.constructor||e.constructor.prototype!==e)){var o=e.inspect(r,t);return b(o)||(o=c(t,o,r)),o}var i=u(t,e);if(i)return i;var a=Object.keys(e),m=s(a);if(t.showHidden&&(a=Object.getOwnPropertyNames(e)),E(e)&&(a.indexOf("message")>=0||a.indexOf("description")>=0))return l(e);if(0===a.length){if(S(e)){var g=e.name?": "+e.name:"";return t.stylize("[Function"+g+"]","special")}if(_(e))return t.stylize(RegExp.prototype.toString.call(e),"regexp");if(k(e))return t.stylize(Date.prototype.toString.call(e),"date");if(E(e))return l(e)}var v,y="",w=!1,x=["{","}"];return h(e)&&(w=!0,x=["[","]"]),S(e)&&(y=" [Function"+(e.name?": "+e.name:"")+"]"),_(e)&&(y=" "+RegExp.prototype.toString.call(e)),k(e)&&(y=" "+Date.prototype.toUTCString.call(e)),E(e)&&(y=" "+l(e)),0!==a.length||w&&0!=e.length?0>r?_(e)?t.stylize(RegExp.prototype.toString.call(e),"regexp"):t.stylize("[Object]","special"):(t.seen.push(e),v=w?p(t,e,r,m,a):a.map((function(n){return f(t,e,r,m,n,w)})),t.seen.pop(),d(v,y,x)):x[0]+y+x[1]}function u(t,e){if(x(e))return t.stylize("undefined","undefined");if(b(e)){var n="'"+JSON.stringify(e).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return t.stylize(n,"string")}return y(e)?t.stylize(""+e,"number"):m(e)?t.stylize(""+e,"boolean"):g(e)?t.stylize("null","null"):void 0}function l(t){return"["+Error.prototype.toString.call(t)+"]"}function p(t,e,n,r,o){for(var i=[],a=0,s=e.length;s>a;++a)P(e,String(a))?i.push(f(t,e,n,r,String(a),!0)):i.push("");return o.forEach((function(o){o.match(/^\d+$/)||i.push(f(t,e,n,r,o,!0))})),i}function f(t,e,n,r,o,i){var a,s,u;if((u=Object.getOwnPropertyDescriptor(e,o)||{value:e[o]}).get?s=u.set?t.stylize("[Getter/Setter]","special"):t.stylize("[Getter]","special"):u.set&&(s=t.stylize("[Setter]","special")),P(r,o)||(a="["+o+"]"),s||(t.seen.indexOf(u.value)<0?(s=g(n)?c(t,u.value,null):c(t,u.value,n-1)).indexOf("\n")>-1&&(s=i?s.split("\n").map((function(t){return" "+t})).join("\n").substr(2):"\n"+s.split("\n").map((function(t){return" "+t})).join("\n")):s=t.stylize("[Circular]","special")),x(a)){if(i&&o.match(/^\d+$/))return s;(a=JSON.stringify(""+o)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(a=a.substr(1,a.length-2),a=t.stylize(a,"name")):(a=a.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),a=t.stylize(a,"string"))}return a+": "+s}function d(t,e,n){var r=t.reduce((function(t,e){return e.indexOf("\n"),t+e.replace(/\u001b\[\d\d?m/g,"").length+1}),0);return r>60?n[0]+(""===e?"":e+"\n ")+" "+t.join(",\n ")+" "+n[1]:n[0]+e+" "+t.join(", ")+" "+n[1]}function h(t){return Array.isArray(t)}function m(t){return"boolean"==typeof t}function g(t){return null===t}function v(t){return null==t}function y(t){return"number"==typeof t}function b(t){return"string"==typeof t}function w(t){return"symbol"==typeof t}function x(t){return void 0===t}function _(t){return A(t)&&"[object RegExp]"===C(t)}function A(t){return"object"==typeof t&&null!==t}function k(t){return A(t)&&"[object Date]"===C(t)}function E(t){return A(t)&&("[object Error]"===C(t)||t instanceof Error)}function S(t){return"function"==typeof t}function T(t){return null===t||"boolean"==typeof t||"number"==typeof t||"string"==typeof t||"symbol"==typeof t||void 0===t}function C(t){return Object.prototype.toString.call(t)}function P(t,e){return Object.prototype.hasOwnProperty.call(t,e)}var O=/%[sdj%]/g;n.format=function(t){if(!b(t)){for(var e=[],n=0;n<arguments.length;n++)e.push(o(arguments[n]));return e.join(" ")}n=1;for(var r=arguments,i=r.length,a=String(t).replace(O,(function(t){if("%%"===t)return"%";if(n>=i)return t;switch(t){case"%s":return String(r[n++]);case"%d":return Number(r[n++]);case"%j":try{return JSON.stringify(r[n++])}catch(t){return"[Circular]"}default:return t}})),s=r[n];i>n;s=r[++n])a+=g(s)||!A(s)?" "+s:" "+o(s);return a},n.deprecate=function(t,o){function i(){if(!a){if(e.throwDeprecation)throw new Error(o);e.traceDeprecation,a=!0}return t.apply(this,arguments)}if(x(r.process))return function(){return n.deprecate(t,o).apply(this,arguments)};if(!0===e.noDeprecation)return t;var a=!1;return i};var L,M={};n.debuglog=function(t){return x(L)&&(L=e.env.NODE_DEBUG||""),t=t.toUpperCase(),M[t]||(new RegExp("\\b"+t+"\\b","i").test(L)?(e.pid,M[t]=function(){n.format.apply(n,arguments)}):M[t]=function(){}),M[t]},n.inspect=o,o.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},o.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},n.isArray=h,n.isBoolean=m,n.isNull=g,n.isNullOrUndefined=v,n.isNumber=y,n.isString=b,n.isSymbol=w,n.isUndefined=x,n.isRegExp=_,n.isObject=A,n.isDate=k,n.isError=E,n.isFunction=S,n.isPrimitive=T,n.isBuffer=t("./support/isBuffer"),n.log=function(){},n.inherits=t("inherits"),n._extend=function(t,e){if(!e||!A(e))return t;for(var n=Object.keys(e),r=n.length;r--;)t[n[r]]=e[n[r]];return t}}).call(this,t("_process"),void 0!==commonjsGlobal?commonjsGlobal:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./support/isBuffer":206,_process:173,inherits:162}],208:[function(t,e,n){(function(){n.stripBOM=function(t){return"\ufeff"===t[0]?t.substring(1):t}}).call(void 0)},{}],209:[function(t,e,n){function r(t){return t&&t.__esModule?t:{default:t}}var o=r(t("babel-runtime/helpers/typeof")),i=r(t("babel-runtime/core-js/object/keys"));(function(){var e,r,a,s,c,u={}.hasOwnProperty;e=t("xmlbuilder"),r=t("./defaults").defaults,s=function(t){return"string"==typeof t&&(t.indexOf("&")>=0||t.indexOf(">")>=0||t.indexOf("<")>=0)},c=function(t){return"<![CDATA["+a(t)+"]]>"},a=function(t){return t.replace("]]>","]]]]><![CDATA[>")},n.Builder=function(){function t(t){var e,n,o;for(e in this.options={},n=r[.2])u.call(n,e)&&(o=n[e],this.options[e]=o);for(e in t)u.call(t,e)&&(o=t[e],this.options[e]=o)}return t.prototype.buildObject=function(t){var n,a,l,p,f;return n=this.options.attrkey,a=this.options.charkey,1===(0,i.default)(t).length&&this.options.rootName===r[.2].rootName?t=t[f=(0,i.default)(t)[0]]:f=this.options.rootName,l=function(t){return function(e,r){var i,p,f,d,h,m;if("object"!==(void 0===r?"undefined":(0,o.default)(r)))t.options.cdata&&s(r)?e.raw(c(r)):e.txt(r);else if(Array.isArray(r)){for(d in r)if(u.call(r,d))for(h in p=r[d])f=p[h],e=l(e.ele(h),f).up()}else for(h in r)if(u.call(r,h))if(p=r[h],h===n){if("object"===(void 0===p?"undefined":(0,o.default)(p)))for(i in p)m=p[i],e=e.att(i,m)}else if(h===a)e=t.options.cdata&&s(p)?e.raw(c(p)):e.txt(p);else if(Array.isArray(p))for(d in p)u.call(p,d)&&(e="string"==typeof(f=p[d])?t.options.cdata&&s(f)?e.ele(h).raw(c(f)).up():e.ele(h,f).up():l(e.ele(h),f).up());else"object"===(void 0===p?"undefined":(0,o.default)(p))?e=l(e.ele(h),p).up():"string"==typeof p&&t.options.cdata&&s(p)?e=e.ele(h).raw(c(p)).up():(null==p&&(p=""),e=e.ele(h,p.toString()).up());return e}}(this),p=e.create(f,this.options.xmldec,this.options.doctype,{headless:this.options.headless,allowSurrogateChars:this.options.allowSurrogateChars}),l(p,t).end(this.options.renderOpts)},t}()}).call(void 0)},{"./defaults":210,"babel-runtime/core-js/object/keys":23,"babel-runtime/helpers/typeof":32,xmlbuilder:235}],210:[function(t,e,n){(function(){n.defaults={.1:{explicitCharkey:!1,trim:!0,normalize:!0,normalizeTags:!1,attrkey:"@",charkey:"#",explicitArray:!1,ignoreAttrs:!1,mergeAttrs:!1,explicitRoot:!1,validator:null,xmlns:!1,explicitChildren:!1,childkey:"@@",charsAsChildren:!1,includeWhiteChars:!1,async:!1,strict:!0,attrNameProcessors:null,attrValueProcessors:null,tagNameProcessors:null,valueProcessors:null,emptyTag:""},.2:{explicitCharkey:!1,trim:!1,normalize:!1,normalizeTags:!1,attrkey:"$",charkey:"_",explicitArray:!0,ignoreAttrs:!1,mergeAttrs:!1,explicitRoot:!0,validator:null,xmlns:!1,explicitChildren:!1,preserveChildrenOrder:!1,childkey:"$$",charsAsChildren:!1,includeWhiteChars:!1,async:!1,strict:!0,attrNameProcessors:null,attrValueProcessors:null,tagNameProcessors:null,valueProcessors:null,rootName:"root",xmldec:{version:"1.0",encoding:"UTF-8",standalone:!0},doctype:null,renderOpts:{pretty:!0,indent:" ",newline:"\n"},headless:!1,chunkSize:1e4,emptyTag:"",cdata:!1}}}).call(void 0)},{}],211:[function(t,e,n){function r(t){return t&&t.__esModule?t:{default:t}}var o=r(t("babel-runtime/core-js/object/get-own-property-names")),i=r(t("babel-runtime/core-js/object/keys")),a=r(t("babel-runtime/helpers/typeof"));(function(){var e,r,s,c,u,l,p,f,d=function(t,e){return function(){return t.apply(e,arguments)}},h=function(t,e){function n(){this.constructor=t}for(var r in e)m.call(e,r)&&(t[r]=e[r]);return n.prototype=e.prototype,t.prototype=new n,t.__super__=e.prototype,t},m={}.hasOwnProperty;p=t("sax"),s=t("events"),e=t("./bom"),l=t("./processors"),f=t("timers").setImmediate,r=t("./defaults").defaults,c=function(t){return"object"===(void 0===t?"undefined":(0,a.default)(t))&&null!=t&&0===(0,i.default)(t).length},u=function(t,e,n){var r,o;for(r=0,o=t.length;o>r;r++)e=(0,t[r])(e,n);return e},n.Parser=function(t){function s(t){var e,o,i;if(this.parseString=d(this.parseString,this),this.reset=d(this.reset,this),this.assignOrPush=d(this.assignOrPush,this),this.processAsync=d(this.processAsync,this),!(this instanceof n.Parser))return new n.Parser(t);for(e in this.options={},o=r[.2])m.call(o,e)&&(i=o[e],this.options[e]=i);for(e in t)m.call(t,e)&&(i=t[e],this.options[e]=i);this.options.xmlns&&(this.options.xmlnskey=this.options.attrkey+"ns"),this.options.normalizeTags&&(this.options.tagNameProcessors||(this.options.tagNameProcessors=[]),this.options.tagNameProcessors.unshift(l.normalize)),this.reset()}return h(s,t),s.prototype.processAsync=function(){var t,e;try{return this.remaining.length<=this.options.chunkSize?(t=this.remaining,this.remaining="",this.saxParser=this.saxParser.write(t),this.saxParser.close()):(t=this.remaining.substr(0,this.options.chunkSize),this.remaining=this.remaining.substr(this.options.chunkSize,this.remaining.length),this.saxParser=this.saxParser.write(t),f(this.processAsync))}catch(t){if(e=t,!this.saxParser.errThrown)return this.saxParser.errThrown=!0,this.emit(e)}},s.prototype.assignOrPush=function(t,e,n){return e in t?(t[e]instanceof Array||(t[e]=[t[e]]),t[e].push(n)):this.options.explicitArray?t[e]=[n]:t[e]=n},s.prototype.reset=function(){var t,e,n,r;return this.removeAllListeners(),this.saxParser=p.parser(this.options.strict,{trim:!1,normalize:!1,xmlns:this.options.xmlns}),this.saxParser.errThrown=!1,this.saxParser.onerror=function(t){return function(e){return t.saxParser.resume(),t.saxParser.errThrown?void 0:(t.saxParser.errThrown=!0,t.emit("error",e))}}(this),this.saxParser.onend=function(t){return function(){return t.saxParser.ended?void 0:(t.saxParser.ended=!0,t.emit("end",t.resultObject))}}(this),this.saxParser.ended=!1,this.EXPLICIT_CHARKEY=this.options.explicitCharkey,this.resultObject=null,r=[],t=this.options.attrkey,e=this.options.charkey,this.saxParser.onopentag=function(n){return function(o){var i,a,s,c,l;if((s={})[e]="",!n.options.ignoreAttrs)for(i in l=o.attributes)m.call(l,i)&&(t in s||n.options.mergeAttrs||(s[t]={}),a=n.options.attrValueProcessors?u(n.options.attrValueProcessors,o.attributes[i],i):o.attributes[i],c=n.options.attrNameProcessors?u(n.options.attrNameProcessors,i):i,n.options.mergeAttrs?n.assignOrPush(s,c,a):s[t][c]=a);return s["#name"]=n.options.tagNameProcessors?u(n.options.tagNameProcessors,o.name):o.name,n.options.xmlns&&(s[n.options.xmlnskey]={uri:o.uri,local:o.local}),r.push(s)}}(this),this.saxParser.onclosetag=function(t){return function(){var n,s,l,p,f,d,h,g,v,y;if(d=r.pop(),f=d["#name"],t.options.explicitChildren&&t.options.preserveChildrenOrder||delete d["#name"],!0===d.cdata&&(n=d.cdata,delete d.cdata),v=r[r.length-1],d[e].match(/^\s*$/)&&!n?(s=d[e],delete d[e]):(t.options.trim&&(d[e]=d[e].trim()),t.options.normalize&&(d[e]=d[e].replace(/\s{2,}/g," ").trim()),d[e]=t.options.valueProcessors?u(t.options.valueProcessors,d[e],f):d[e],1===(0,i.default)(d).length&&e in d&&!t.EXPLICIT_CHARKEY&&(d=d[e])),c(d)&&(d=""!==t.options.emptyTag?t.options.emptyTag:s),null!=t.options.validator&&(y="/"+function(){var t,e,n;for(n=[],t=0,e=r.length;e>t;t++)p=r[t],n.push(p["#name"]);return n}().concat(f).join("/"),function(){var e;try{return d=t.options.validator(y,v&&v[f],d)}catch(n){return e=n,t.emit("error",e)}}()),t.options.explicitChildren&&!t.options.mergeAttrs&&"object"===(void 0===d?"undefined":(0,a.default)(d)))if(t.options.preserveChildrenOrder){if(v){for(l in v[t.options.childkey]=v[t.options.childkey]||[],h={},d)m.call(d,l)&&(h[l]=d[l]);v[t.options.childkey].push(h),delete d["#name"],1===(0,i.default)(d).length&&e in d&&!t.EXPLICIT_CHARKEY&&(d=d[e])}}else p={},t.options.attrkey in d&&(p[t.options.attrkey]=d[t.options.attrkey],delete d[t.options.attrkey]),!t.options.charsAsChildren&&t.options.charkey in d&&(p[t.options.charkey]=d[t.options.charkey],delete d[t.options.charkey]),(0,o.default)(d).length>0&&(p[t.options.childkey]=d),d=p;return r.length>0?t.assignOrPush(v,f,d):(t.options.explicitRoot&&(g=d,(d={})[f]=g),t.resultObject=d,t.saxParser.ended=!0,t.emit("end",t.resultObject))}}(this),n=function(t){return function(n){var o,i;return(i=r[r.length-1])?(i[e]+=n,t.options.explicitChildren&&t.options.preserveChildrenOrder&&t.options.charsAsChildren&&(t.options.includeWhiteChars||""!==n.replace(/\\n/g,"").trim())&&(i[t.options.childkey]=i[t.options.childkey]||[],(o={"#name":"__text__"})[e]=n,t.options.normalize&&(o[e]=o[e].replace(/\s{2,}/g," ").trim()),i[t.options.childkey].push(o)),i):void 0}}(this),this.saxParser.ontext=n,this.saxParser.oncdata=function(t){var e;return(e=n(t))?e.cdata=!0:void 0}},s.prototype.parseString=function(t,n){var r;null!=n&&"function"==typeof n&&(this.on("end",(function(t){return this.reset(),n(null,t)})),this.on("error",(function(t){return this.reset(),n(t)})));try{return""===(t=t.toString()).trim()?(this.emit("end",null),!0):(t=e.stripBOM(t),this.options.async?(this.remaining=t,f(this.processAsync),this.saxParser):this.saxParser.write(t).close())}catch(t){if(r=t,!this.saxParser.errThrown&&!this.saxParser.ended)return this.emit("error",r),this.saxParser.errThrown=!0;if(this.saxParser.ended)throw r}},s}(s.EventEmitter),n.parseString=function(t,e,r){var o,i;return null!=r?("function"==typeof r&&(o=r),"object"===(void 0===e?"undefined":(0,a.default)(e))&&(i=e)):("function"==typeof e&&(o=e),i={}),new n.Parser(i).parseString(t,o)}}).call(void 0)},{"./bom":208,"./defaults":210,"./processors":212,"babel-runtime/core-js/object/get-own-property-names":21,"babel-runtime/core-js/object/keys":23,"babel-runtime/helpers/typeof":32,events:158,sax:194,timers:201}],212:[function(t,e,n){(function(){var t;t=new RegExp(/(?!xmlns)^.*:/),n.normalize=function(t){return t.toLowerCase()},n.firstCharLowerCase=function(t){return t.charAt(0).toLowerCase()+t.slice(1)},n.stripPrefix=function(e){return e.replace(t,"")},n.parseNumbers=function(t){return isNaN(t)||(t=t%1==0?parseInt(t,10):parseFloat(t)),t},n.parseBooleans=function(t){return/^(?:true|false)$/i.test(t)&&(t="true"===t.toLowerCase()),t}}).call(void 0)},{}],213:[function(t,e,n){(function(){var e,r,o,i,a=function(t,e){function n(){this.constructor=t}for(var r in e)s.call(e,r)&&(t[r]=e[r]);return n.prototype=e.prototype,t.prototype=new n,t.__super__=e.prototype,t},s={}.hasOwnProperty;r=t("./defaults"),e=t("./builder"),o=t("./parser"),i=t("./processors"),n.defaults=r.defaults,n.processors=i,n.ValidationError=function(t){function e(t){this.message=t}return a(e,t),e}(Error),n.Builder=e.Builder,n.Parser=o.Parser,n.parseString=o.parseString}).call(void 0)},{"./builder":209,"./defaults":210,"./parser":211,"./processors":212}],214:[function(t,e,n){function r(t){return t&&t.__esModule?t:{default:t}}var o=r(t("babel-runtime/core-js/object/get-prototype-of")),i=r(t("babel-runtime/helpers/typeof")),a=r(t("babel-runtime/core-js/object/assign"));(function(){var t,n,r,s,c,u,l=[].slice,p={}.hasOwnProperty;t=function(){var t,e,n,r,o,i;if(i=arguments[0],o=2<=arguments.length?l.call(arguments,1):[],s(a.default))a.default.apply(null,arguments);else for(t=0,n=o.length;n>t;t++)if(null!=(r=o[t]))for(e in r)p.call(r,e)&&(i[e]=r[e]);return i},s=function(t){return!!t&&"[object Function]"===Object.prototype.toString.call(t)},c=function(t){var e;return!!t&&("function"===(e=void 0===t?"undefined":(0,i.default)(t))||"object"===e)},n=function(t){return s(Array.isArray)?Array.isArray(t):"[object Array]"===Object.prototype.toString.call(t)},r=function(t){var e;if(n(t))return!t.length;for(e in t)if(p.call(t,e))return!1;return!0},u=function(t){var e,n;return c(t)&&(n=(0,o.default)(t))&&(e=n.constructor)&&"function"==typeof e&&e instanceof e&&Function.prototype.toString.call(e)===Function.prototype.toString.call(Object)},e.exports.assign=t,e.exports.isFunction=s,e.exports.isObject=c,e.exports.isArray=n,e.exports.isEmpty=r,e.exports.isPlainObject=u}).call(void 0)},{"babel-runtime/core-js/object/assign":18,"babel-runtime/core-js/object/get-prototype-of":22,"babel-runtime/helpers/typeof":32}],215:[function(t,e,n){function r(t){return t&&t.__esModule?t:{default:t}}var o=r(t("babel-runtime/core-js/object/create"));(function(){e.exports=function(){function t(t,e,n){if(this.options=t.options,this.stringify=t.stringify,null==e)throw new Error("Missing attribute name of element "+t.name);if(null==n)throw new Error("Missing attribute value for attribute "+e+" of element "+t.name);this.name=this.stringify.attName(e),this.value=this.stringify.attValue(n)}return t.prototype.clone=function(){return(0,o.default)(this)},t.prototype.toString=function(t){return this.options.writer.set(t).attribute(this)},t}()}).call(void 0)},{"babel-runtime/core-js/object/create":19}],216:[function(t,e,n){function r(t){return t&&t.__esModule?t:{default:t}}var o=r(t("babel-runtime/core-js/object/create"));(function(){var n,r=function(t,e){function n(){this.constructor=t}for(var r in e)i.call(e,r)&&(t[r]=e[r]);return n.prototype=e.prototype,t.prototype=new n,t.__super__=e.prototype,t},i={}.hasOwnProperty;n=t("./XMLNode"),e.exports=function(t){function e(t,n){if(e.__super__.constructor.call(this,t),null==n)throw new Error("Missing CDATA text");this.text=this.stringify.cdata(n)}return r(e,t),e.prototype.clone=function(){return(0,o.default)(this)},e.prototype.toString=function(t){return this.options.writer.set(t).cdata(this)},e}(n)}).call(void 0)},{"./XMLNode":227,"babel-runtime/core-js/object/create":19}],217:[function(t,e,n){function r(t){return t&&t.__esModule?t:{default:t}}var o=r(t("babel-runtime/core-js/object/create"));(function(){var n,r=function(t,e){function n(){this.constructor=t}for(var r in e)i.call(e,r)&&(t[r]=e[r]);return n.prototype=e.prototype,t.prototype=new n,t.__super__=e.prototype,t},i={}.hasOwnProperty;n=t("./XMLNode"),e.exports=function(t){function e(t,n){if(e.__super__.constructor.call(this,t),null==n)throw new Error("Missing comment text");this.text=this.stringify.comment(n)}return r(e,t),e.prototype.clone=function(){return(0,o.default)(this)},e.prototype.toString=function(t){return this.options.writer.set(t).comment(this)},e}(n)}).call(void 0)},{"./XMLNode":227,"babel-runtime/core-js/object/create":19}],218:[function(t,e,n){(function(){var n,r=function(t,e){function n(){this.constructor=t}for(var r in e)o.call(e,r)&&(t[r]=e[r]);return n.prototype=e.prototype,t.prototype=new n,t.__super__=e.prototype,t},o={}.hasOwnProperty;n=t("./XMLNode"),e.exports=function(t){function e(t,n,r,o,i,a){if(e.__super__.constructor.call(this,t),null==n)throw new Error("Missing DTD element name");if(null==r)throw new Error("Missing DTD attribute name");if(!o)throw new Error("Missing DTD attribute type");if(!i)throw new Error("Missing DTD attribute default");if(0!==i.indexOf("#")&&(i="#"+i),!i.match(/^(#REQUIRED|#IMPLIED|#FIXED|#DEFAULT)$/))throw new Error("Invalid default value type; expected: #REQUIRED, #IMPLIED, #FIXED or #DEFAULT");if(a&&!i.match(/^(#FIXED|#DEFAULT)$/))throw new Error("Default value only applies to #FIXED or #DEFAULT");this.elementName=this.stringify.eleName(n),this.attributeName=this.stringify.attName(r),this.attributeType=this.stringify.dtdAttType(o),this.defaultValue=this.stringify.dtdAttDefault(a),this.defaultValueType=i}return r(e,t),e.prototype.toString=function(t){return this.options.writer.set(t).dtdAttList(this)},e}(n)}).call(void 0)},{"./XMLNode":227}],219:[function(t,e,n){(function(){var n,r=function(t,e){function n(){this.constructor=t}for(var r in e)o.call(e,r)&&(t[r]=e[r]);return n.prototype=e.prototype,t.prototype=new n,t.__super__=e.prototype,t},o={}.hasOwnProperty;n=t("./XMLNode"),e.exports=function(t){function e(t,n,r){if(e.__super__.constructor.call(this,t),null==n)throw new Error("Missing DTD element name");r||(r="(#PCDATA)"),Array.isArray(r)&&(r="("+r.join(",")+")"),this.name=this.stringify.eleName(n),this.value=this.stringify.dtdElementValue(r)}return r(e,t),e.prototype.toString=function(t){return this.options.writer.set(t).dtdElement(this)},e}(n)}).call(void 0)},{"./XMLNode":227}],220:[function(t,e,n){(function(){var n,r,o=function(t,e){function n(){this.constructor=t}for(var r in e)i.call(e,r)&&(t[r]=e[r]);return n.prototype=e.prototype,t.prototype=new n,t.__super__=e.prototype,t},i={}.hasOwnProperty;r=t("./Utility").isObject,n=t("./XMLNode"),e.exports=function(t){function e(t,n,o,i){if(e.__super__.constructor.call(this,t),null==o)throw new Error("Missing entity name");if(null==i)throw new Error("Missing entity value");if(this.pe=!!n,this.name=this.stringify.eleName(o),r(i)){if(!i.pubID&&!i.sysID)throw new Error("Public and/or system identifiers are required for an external entity");if(i.pubID&&!i.sysID)throw new Error("System identifier is required for a public external entity");if(null!=i.pubID&&(this.pubID=this.stringify.dtdPubID(i.pubID)),null!=i.sysID&&(this.sysID=this.stringify.dtdSysID(i.sysID)),null!=i.nData&&(this.nData=this.stringify.dtdNData(i.nData)),this.pe&&this.nData)throw new Error("Notation declaration is not allowed in a parameter entity")}else this.value=this.stringify.dtdEntityValue(i)}return o(e,t),e.prototype.toString=function(t){return this.options.writer.set(t).dtdEntity(this)},e}(n)}).call(void 0)},{"./Utility":214,"./XMLNode":227}],221:[function(t,e,n){(function(){var n,r=function(t,e){function n(){this.constructor=t}for(var r in e)o.call(e,r)&&(t[r]=e[r]);return n.prototype=e.prototype,t.prototype=new n,t.__super__=e.prototype,t},o={}.hasOwnProperty;n=t("./XMLNode"),e.exports=function(t){function e(t,n,r){if(e.__super__.constructor.call(this,t),null==n)throw new Error("Missing notation name");if(!r.pubID&&!r.sysID)throw new Error("Public or system identifiers are required for an external entity");this.name=this.stringify.eleName(n),null!=r.pubID&&(this.pubID=this.stringify.dtdPubID(r.pubID)),null!=r.sysID&&(this.sysID=this.stringify.dtdSysID(r.sysID))}return r(e,t),e.prototype.toString=function(t){return this.options.writer.set(t).dtdNotation(this)},e}(n)}).call(void 0)},{"./XMLNode":227}],222:[function(t,e,n){(function(){var n,r,o=function(t,e){function n(){this.constructor=t}for(var r in e)i.call(e,r)&&(t[r]=e[r]);return n.prototype=e.prototype,t.prototype=new n,t.__super__=e.prototype,t},i={}.hasOwnProperty;r=t("./Utility").isObject,n=t("./XMLNode"),e.exports=function(t){function e(t,n,o,i){var a;e.__super__.constructor.call(this,t),r(n)&&(n=(a=n).version,o=a.encoding,i=a.standalone),n||(n="1.0"),this.version=this.stringify.xmlVersion(n),null!=o&&(this.encoding=this.stringify.xmlEncoding(o)),null!=i&&(this.standalone=this.stringify.xmlStandalone(i))}return o(e,t),e.prototype.toString=function(t){return this.options.writer.set(t).declaration(this)},e}(n)}).call(void 0)},{"./Utility":214,"./XMLNode":227}],223:[function(t,e,n){(function(){var n,r,o,i,a,s,c=function(t,e){function n(){this.constructor=t}for(var r in e)u.call(e,r)&&(t[r]=e[r]);return n.prototype=e.prototype,t.prototype=new n,t.__super__=e.prototype,t},u={}.hasOwnProperty;s=t("./Utility").isObject,a=t("./XMLNode"),n=t("./XMLDTDAttList"),o=t("./XMLDTDEntity"),r=t("./XMLDTDElement"),i=t("./XMLDTDNotation"),e.exports=function(t){function e(t,n,r){var o,i;e.__super__.constructor.call(this,t),this.documentObject=t,s(n)&&(n=(o=n).pubID,r=o.sysID),null==r&&(r=(i=[n,r])[0],n=i[1]),null!=n&&(this.pubID=this.stringify.dtdPubID(n)),null!=r&&(this.sysID=this.stringify.dtdSysID(r))}return c(e,t),e.prototype.element=function(t,e){var n;return n=new r(this,t,e),this.children.push(n),this},e.prototype.attList=function(t,e,r,o,i){var a;return a=new n(this,t,e,r,o,i),this.children.push(a),this},e.prototype.entity=function(t,e){var n;return n=new o(this,!1,t,e),this.children.push(n),this},e.prototype.pEntity=function(t,e){var n;return n=new o(this,!0,t,e),this.children.push(n),this},e.prototype.notation=function(t,e){var n;return n=new i(this,t,e),this.children.push(n),this},e.prototype.toString=function(t){return this.options.writer.set(t).docType(this)},e.prototype.ele=function(t,e){return this.element(t,e)},e.prototype.att=function(t,e,n,r,o){return this.attList(t,e,n,r,o)},e.prototype.ent=function(t,e){return this.entity(t,e)},e.prototype.pent=function(t,e){return this.pEntity(t,e)},e.prototype.not=function(t,e){return this.notation(t,e)},e.prototype.up=function(){return this.root()||this.documentObject},e}(a)}).call(void 0)},{"./Utility":214,"./XMLDTDAttList":218,"./XMLDTDElement":219,"./XMLDTDEntity":220,"./XMLDTDNotation":221,"./XMLNode":227}],224:[function(t,e,n){(function(){var n,r,o,i,a=function(t,e){function n(){this.constructor=t}for(var r in e)s.call(e,r)&&(t[r]=e[r]);return n.prototype=e.prototype,t.prototype=new n,t.__super__=e.prototype,t},s={}.hasOwnProperty;i=t("./Utility").isPlainObject,n=t("./XMLNode"),o=t("./XMLStringifier"),r=t("./XMLStringWriter"),e.exports=function(t){function e(t){e.__super__.constructor.call(this,null),t||(t={}),t.writer||(t.writer=new r),this.options=t,this.stringify=new o(t),this.isDocument=!0}return a(e,t),e.prototype.end=function(t){var e;return t?i(t)&&(e=t,t=this.options.writer.set(e)):t=this.options.writer,t.document(this)},e.prototype.toString=function(t){return this.options.writer.set(t).document(this)},e}(n)}).call(void 0)},{"./Utility":214,"./XMLNode":227,"./XMLStringWriter":231,"./XMLStringifier":232}],225:[function(t,e,n){(function(){var n,r,o,i,a,s,c,u,l,p,f,d,h,m,g,v,y,b,w,x={}.hasOwnProperty;w=t("./Utility"),y=w.isObject,v=w.isFunction,b=w.isPlainObject,p=t("./XMLElement"),r=t("./XMLCData"),o=t("./XMLComment"),d=t("./XMLRaw"),g=t("./XMLText"),f=t("./XMLProcessingInstruction"),u=t("./XMLDeclaration"),l=t("./XMLDocType"),i=t("./XMLDTDAttList"),s=t("./XMLDTDEntity"),a=t("./XMLDTDElement"),c=t("./XMLDTDNotation"),n=t("./XMLAttribute"),m=t("./XMLStringifier"),h=t("./XMLStringWriter"),e.exports=function(){function t(t,e,n){var r;t||(t={}),t.writer?b(t.writer)&&(r=t.writer,t.writer=new h(r)):t.writer=new h(t),this.options=t,this.writer=t.writer,this.stringify=new m(t),this.onDataCallback=e||function(){},this.onEndCallback=n||function(){},this.currentNode=null,this.currentLevel=-1,this.openTags={},this.documentStarted=!1,this.documentCompleted=!1,this.root=null}return t.prototype.node=function(t,e,n){var r;if(null==t)throw new Error("Missing node name");if(this.root&&-1===this.currentLevel)throw new Error("Document can only have one root node");return this.openCurrent(),t=t.valueOf(),null==e&&(e={}),e=e.valueOf(),y(e)||(n=(r=[e,n])[0],e=r[1]),this.currentNode=new p(this,t,e),this.currentNode.children=!1,this.currentLevel++,this.openTags[this.currentLevel]=this.currentNode,null!=n&&this.text(n),this},t.prototype.element=function(t,e,n){return this.currentNode&&this.currentNode instanceof l?this.dtdElement.apply(this,arguments):this.node(t,e,n)},t.prototype.attribute=function(t,e){var r,o;if(!this.currentNode||this.currentNode.children)throw new Error("att() can only be used immediately after an ele() call in callback mode");if(null!=t&&(t=t.valueOf()),y(t))for(r in t)x.call(t,r)&&(o=t[r],this.attribute(r,o));else v(e)&&(e=e.apply()),this.options.skipNullAttributes&&null==e||(this.currentNode.attributes[t]=new n(this,t,e));return this},t.prototype.text=function(t){var e;return this.openCurrent(),e=new g(this,t),this.onData(this.writer.text(e,this.currentLevel+1)),this},t.prototype.cdata=function(t){var e;return this.openCurrent(),e=new r(this,t),this.onData(this.writer.cdata(e,this.currentLevel+1)),this},t.prototype.comment=function(t){var e;return this.openCurrent(),e=new o(this,t),this.onData(this.writer.comment(e,this.currentLevel+1)),this},t.prototype.raw=function(t){var e;return this.openCurrent(),e=new d(this,t),this.onData(this.writer.raw(e,this.currentLevel+1)),this},t.prototype.instruction=function(t,e){var n,r,o,i,a;if(this.openCurrent(),null!=t&&(t=t.valueOf()),null!=e&&(e=e.valueOf()),Array.isArray(t))for(n=0,i=t.length;i>n;n++)r=t[n],this.instruction(r);else if(y(t))for(r in t)x.call(t,r)&&(o=t[r],this.instruction(r,o));else v(e)&&(e=e.apply()),a=new f(this,t,e),this.onData(this.writer.processingInstruction(a,this.currentLevel+1));return this},t.prototype.declaration=function(t,e,n){var r;if(this.openCurrent(),this.documentStarted)throw new Error("declaration() must be the first node");return r=new u(this,t,e,n),this.onData(this.writer.declaration(r,this.currentLevel+1)),this},t.prototype.doctype=function(t,e,n){if(this.openCurrent(),null==t)throw new Error("Missing root node name");if(this.root)throw new Error("dtd() must come before the root node");return this.currentNode=new l(this,e,n),this.currentNode.rootNodeName=t,this.currentNode.children=!1,this.currentLevel++,this.openTags[this.currentLevel]=this.currentNode,this},t.prototype.dtdElement=function(t,e){var n;return this.openCurrent(),n=new a(this,t,e),this.onData(this.writer.dtdElement(n,this.currentLevel+1)),this},t.prototype.attList=function(t,e,n,r,o){var a;return this.openCurrent(),a=new i(this,t,e,n,r,o),this.onData(this.writer.dtdAttList(a,this.currentLevel+1)),this},t.prototype.entity=function(t,e){var n;return this.openCurrent(),n=new s(this,!1,t,e),this.onData(this.writer.dtdEntity(n,this.currentLevel+1)),this},t.prototype.pEntity=function(t,e){var n;return this.openCurrent(),n=new s(this,!0,t,e),this.onData(this.writer.dtdEntity(n,this.currentLevel+1)),this},t.prototype.notation=function(t,e){var n;return this.openCurrent(),n=new c(this,t,e),this.onData(this.writer.dtdNotation(n,this.currentLevel+1)),this},t.prototype.up=function(){if(this.currentLevel<0)throw new Error("The document node has no parent");return this.currentNode?(this.currentNode.children?this.closeNode(this.currentNode):this.openNode(this.currentNode),this.currentNode=null):this.closeNode(this.openTags[this.currentLevel]),delete this.openTags[this.currentLevel],this.currentLevel--,this},t.prototype.end=function(){for(;this.currentLevel>=0;)this.up();return this.onEnd()},t.prototype.openCurrent=function(){return this.currentNode?(this.currentNode.children=!0,this.openNode(this.currentNode)):void 0},t.prototype.openNode=function(t){return t.isOpen?void 0:(!this.root&&0===this.currentLevel&&t instanceof p&&(this.root=t),this.onData(this.writer.openNode(t,this.currentLevel)),t.isOpen=!0)},t.prototype.closeNode=function(t){return t.isClosed?void 0:(this.onData(this.writer.closeNode(t,this.currentLevel)),t.isClosed=!0)},t.prototype.onData=function(t){return this.documentStarted=!0,this.onDataCallback(t)},t.prototype.onEnd=function(){return this.documentCompleted=!0,this.onEndCallback()},t.prototype.ele=function(){return this.element.apply(this,arguments)},t.prototype.nod=function(t,e,n){return this.node(t,e,n)},t.prototype.txt=function(t){return this.text(t)},t.prototype.dat=function(t){return this.cdata(t)},t.prototype.com=function(t){return this.comment(t)},t.prototype.ins=function(t,e){return this.instruction(t,e)},t.prototype.dec=function(t,e,n){return this.declaration(t,e,n)},t.prototype.dtd=function(t,e,n){return this.doctype(t,e,n)},t.prototype.e=function(t,e,n){return this.element(t,e,n)},t.prototype.n=function(t,e,n){return this.node(t,e,n)},t.prototype.t=function(t){return this.text(t)},t.prototype.d=function(t){return this.cdata(t)},t.prototype.c=function(t){return this.comment(t)},t.prototype.r=function(t){return this.raw(t)},t.prototype.i=function(t,e){return this.instruction(t,e)},t.prototype.att=function(){return this.currentNode&&this.currentNode instanceof l?this.attList.apply(this,arguments):this.attribute.apply(this,arguments)},t.prototype.a=function(){return this.currentNode&&this.currentNode instanceof l?this.attList.apply(this,arguments):this.attribute.apply(this,arguments)},t.prototype.ent=function(t,e){return this.entity(t,e)},t.prototype.pent=function(t,e){return this.pEntity(t,e)},t.prototype.not=function(t,e){return this.notation(t,e)},t}()}).call(void 0)},{"./Utility":214,"./XMLAttribute":215,"./XMLCData":216,"./XMLComment":217,"./XMLDTDAttList":218,"./XMLDTDElement":219,"./XMLDTDEntity":220,"./XMLDTDNotation":221,"./XMLDeclaration":222,"./XMLDocType":223,"./XMLElement":226,"./XMLProcessingInstruction":228,"./XMLRaw":229,"./XMLStringWriter":231,"./XMLStringifier":232,"./XMLText":233}],226:[function(t,e,n){function r(t){return t&&t.__esModule?t:{default:t}}var o=r(t("babel-runtime/core-js/object/create"));(function(){var n,r,i,a,s,c=function(t,e){function n(){this.constructor=t}for(var r in e)u.call(e,r)&&(t[r]=e[r]);return n.prototype=e.prototype,t.prototype=new n,t.__super__=e.prototype,t},u={}.hasOwnProperty;s=t("./Utility"),a=s.isObject,i=s.isFunction,r=t("./XMLNode"),n=t("./XMLAttribute"),e.exports=function(t){function e(t,n,r){if(e.__super__.constructor.call(this,t),null==n)throw new Error("Missing element name");this.name=this.stringify.eleName(n),this.attributes={},null!=r&&this.attribute(r),t.isDocument&&(this.isRoot=!0,this.documentObject=t,t.rootObject=this)}return c(e,t),e.prototype.clone=function(){var t,e,n,r;for(e in(n=(0,o.default)(this)).isRoot&&(n.documentObject=null),n.attributes={},r=this.attributes)u.call(r,e)&&(t=r[e],n.attributes[e]=t.clone());return n.children=[],this.children.forEach((function(t){var e;return(e=t.clone()).parent=n,n.children.push(e)})),n},e.prototype.attribute=function(t,e){var r,o;if(null!=t&&(t=t.valueOf()),a(t))for(r in t)u.call(t,r)&&(o=t[r],this.attribute(r,o));else i(e)&&(e=e.apply()),this.options.skipNullAttributes&&null==e||(this.attributes[t]=new n(this,t,e));return this},e.prototype.removeAttribute=function(t){var e,n,r;if(null==t)throw new Error("Missing attribute name");if(t=t.valueOf(),Array.isArray(t))for(n=0,r=t.length;r>n;n++)e=t[n],delete this.attributes[e];else delete this.attributes[t];return this},e.prototype.toString=function(t){return this.options.writer.set(t).element(this)},e.prototype.att=function(t,e){return this.attribute(t,e)},e.prototype.a=function(t,e){return this.attribute(t,e)},e}(r)}).call(void 0)},{"./Utility":214,"./XMLAttribute":215,"./XMLNode":227,"babel-runtime/core-js/object/create":19}],227:[function(t,e,n){(function(){var n,r,o,i,a,s,c,u,l,p,f,d,h={}.hasOwnProperty;d=t("./Utility"),f=d.isObject,p=d.isFunction,l=d.isEmpty,a=null,n=null,r=null,o=null,i=null,c=null,u=null,s=null,e.exports=function(){function e(e){this.parent=e,this.parent&&(this.options=this.parent.options,this.stringify=this.parent.stringify),this.children=[],a||(a=t("./XMLElement"),n=t("./XMLCData"),r=t("./XMLComment"),o=t("./XMLDeclaration"),i=t("./XMLDocType"),c=t("./XMLRaw"),u=t("./XMLText"),s=t("./XMLProcessingInstruction"))}return e.prototype.element=function(t,e,n){var r,o,i,a,s,c,u,d,m,g;if(c=null,null==e&&(e={}),e=e.valueOf(),f(e)||(n=(m=[e,n])[0],e=m[1]),null!=t&&(t=t.valueOf()),Array.isArray(t))for(i=0,u=t.length;u>i;i++)o=t[i],c=this.element(o);else if(p(t))c=this.element(t.apply());else if(f(t)){for(s in t)if(h.call(t,s))if(g=t[s],p(g)&&(g=g.apply()),f(g)&&l(g)&&(g=null),!this.options.ignoreDecorators&&this.stringify.convertAttKey&&0===s.indexOf(this.stringify.convertAttKey))c=this.attribute(s.substr(this.stringify.convertAttKey.length),g);else if(!this.options.separateArrayItems&&Array.isArray(g))for(a=0,d=g.length;d>a;a++)o=g[a],(r={})[s]=o,c=this.element(r);else f(g)?(c=this.element(s)).element(g):c=this.element(s,g)}else c=!this.options.ignoreDecorators&&this.stringify.convertTextKey&&0===t.indexOf(this.stringify.convertTextKey)?this.text(n):!this.options.ignoreDecorators&&this.stringify.convertCDataKey&&0===t.indexOf(this.stringify.convertCDataKey)?this.cdata(n):!this.options.ignoreDecorators&&this.stringify.convertCommentKey&&0===t.indexOf(this.stringify.convertCommentKey)?this.comment(n):!this.options.ignoreDecorators&&this.stringify.convertRawKey&&0===t.indexOf(this.stringify.convertRawKey)?this.raw(n):!this.options.ignoreDecorators&&this.stringify.convertPIKey&&0===t.indexOf(this.stringify.convertPIKey)?this.instruction(t.substr(this.stringify.convertPIKey.length),n):this.node(t,e,n);if(null==c)throw new Error("Could not create any elements with: "+t);return c},e.prototype.insertBefore=function(t,e,n){var r,o,i;if(this.isRoot)throw new Error("Cannot insert elements at root level");return o=this.parent.children.indexOf(this),i=this.parent.children.splice(o),r=this.parent.element(t,e,n),Array.prototype.push.apply(this.parent.children,i),r},e.prototype.insertAfter=function(t,e,n){var r,o,i;if(this.isRoot)throw new Error("Cannot insert elements at root level");return o=this.parent.children.indexOf(this),i=this.parent.children.splice(o+1),r=this.parent.element(t,e,n),Array.prototype.push.apply(this.parent.children,i),r},e.prototype.remove=function(){var t;if(this.isRoot)throw new Error("Cannot remove the root element");return t=this.parent.children.indexOf(this),[].splice.apply(this.parent.children,[t,t-t+1].concat([])),this.parent},e.prototype.node=function(t,e,n){var r,o;return null!=t&&(t=t.valueOf()),e||(e={}),e=e.valueOf(),f(e)||(n=(o=[e,n])[0],e=o[1]),r=new a(this,t,e),null!=n&&r.text(n),this.children.push(r),r},e.prototype.text=function(t){var e;return e=new u(this,t),this.children.push(e),this},e.prototype.cdata=function(t){var e;return e=new n(this,t),this.children.push(e),this},e.prototype.comment=function(t){var e;return e=new r(this,t),this.children.push(e),this},e.prototype.commentBefore=function(t){var e,n;return e=this.parent.children.indexOf(this),n=this.parent.children.splice(e),this.parent.comment(t),Array.prototype.push.apply(this.parent.children,n),this},e.prototype.commentAfter=function(t){var e,n;return e=this.parent.children.indexOf(this),n=this.parent.children.splice(e+1),this.parent.comment(t),Array.prototype.push.apply(this.parent.children,n),this},e.prototype.raw=function(t){var e;return e=new c(this,t),this.children.push(e),this},e.prototype.instruction=function(t,e){var n,r,o,i,a;if(null!=t&&(t=t.valueOf()),null!=e&&(e=e.valueOf()),Array.isArray(t))for(i=0,a=t.length;a>i;i++)n=t[i],this.instruction(n);else if(f(t))for(n in t)h.call(t,n)&&(r=t[n],this.instruction(n,r));else p(e)&&(e=e.apply()),o=new s(this,t,e),this.children.push(o);return this},e.prototype.instructionBefore=function(t,e){var n,r;return n=this.parent.children.indexOf(this),r=this.parent.children.splice(n),this.parent.instruction(t,e),Array.prototype.push.apply(this.parent.children,r),this},e.prototype.instructionAfter=function(t,e){var n,r;return n=this.parent.children.indexOf(this),r=this.parent.children.splice(n+1),this.parent.instruction(t,e),Array.prototype.push.apply(this.parent.children,r),this},e.prototype.declaration=function(t,e,n){var r,i;return r=this.document(),i=new o(r,t,e,n),r.children[0]instanceof o?r.children[0]=i:r.children.unshift(i),r.root()||r},e.prototype.doctype=function(t,e){var n,r,o,a,s,c,u,l,p;for(n=this.document(),r=new i(n,t,e),o=a=0,c=(l=n.children).length;c>a;o=++a)if(l[o]instanceof i)return n.children[o]=r,r;for(o=s=0,u=(p=n.children).length;u>s;o=++s)if(p[o].isRoot)return n.children.splice(o,0,r),r;return n.children.push(r),r},e.prototype.up=function(){if(this.isRoot)throw new Error("The root node has no parent. Use doc() if you need to get the document object.");return this.parent},e.prototype.root=function(){var t;for(t=this;t;){if(t.isDocument)return t.rootObject;if(t.isRoot)return t;t=t.parent}},e.prototype.document=function(){var t;for(t=this;t;){if(t.isDocument)return t;t=t.parent}},e.prototype.end=function(t){return this.document().end(t)},e.prototype.prev=function(){var t;if(1>(t=this.parent.children.indexOf(this)))throw new Error("Already at the first node");return this.parent.children[t-1]},e.prototype.next=function(){var t;if(-1===(t=this.parent.children.indexOf(this))||t===this.parent.children.length-1)throw new Error("Already at the last node");return this.parent.children[t+1]},e.prototype.importDocument=function(t){var e;return(e=t.root().clone()).parent=this,e.isRoot=!1,this.children.push(e),this},e.prototype.ele=function(t,e,n){return this.element(t,e,n)},e.prototype.nod=function(t,e,n){return this.node(t,e,n)},e.prototype.txt=function(t){return this.text(t)},e.prototype.dat=function(t){return this.cdata(t)},e.prototype.com=function(t){return this.comment(t)},e.prototype.ins=function(t,e){return this.instruction(t,e)},e.prototype.doc=function(){return this.document()},e.prototype.dec=function(t,e,n){return this.declaration(t,e,n)},e.prototype.dtd=function(t,e){return this.doctype(t,e)},e.prototype.e=function(t,e,n){return this.element(t,e,n)},e.prototype.n=function(t,e,n){return this.node(t,e,n)},e.prototype.t=function(t){return this.text(t)},e.prototype.d=function(t){return this.cdata(t)},e.prototype.c=function(t){return this.comment(t)},e.prototype.r=function(t){return this.raw(t)},e.prototype.i=function(t,e){return this.instruction(t,e)},e.prototype.u=function(){return this.up()},e.prototype.importXMLBuilder=function(t){return this.importDocument(t)},e}()}).call(void 0)},{"./Utility":214,"./XMLCData":216,"./XMLComment":217,"./XMLDeclaration":222,"./XMLDocType":223,"./XMLElement":226,"./XMLProcessingInstruction":228,"./XMLRaw":229,"./XMLText":233}],228:[function(t,e,n){function r(t){return t&&t.__esModule?t:{default:t}}var o=r(t("babel-runtime/core-js/object/create"));(function(){var n,r=function(t,e){function n(){this.constructor=t}for(var r in e)i.call(e,r)&&(t[r]=e[r]);return n.prototype=e.prototype,t.prototype=new n,t.__super__=e.prototype,t},i={}.hasOwnProperty;n=t("./XMLNode"),e.exports=function(t){function e(t,n,r){if(e.__super__.constructor.call(this,t),null==n)throw new Error("Missing instruction target");this.target=this.stringify.insTarget(n),r&&(this.value=this.stringify.insValue(r))}return r(e,t),e.prototype.clone=function(){return(0,o.default)(this)},e.prototype.toString=function(t){return this.options.writer.set(t).processingInstruction(this)},e}(n)}).call(void 0)},{"./XMLNode":227,"babel-runtime/core-js/object/create":19}],229:[function(t,e,n){function r(t){return t&&t.__esModule?t:{default:t}}var o=r(t("babel-runtime/core-js/object/create"));(function(){var n,r=function(t,e){function n(){this.constructor=t}for(var r in e)i.call(e,r)&&(t[r]=e[r]);return n.prototype=e.prototype,t.prototype=new n,t.__super__=e.prototype,t},i={}.hasOwnProperty;n=t("./XMLNode"),e.exports=function(t){function e(t,n){if(e.__super__.constructor.call(this,t),null==n)throw new Error("Missing raw text");this.value=this.stringify.raw(n)}return r(e,t),e.prototype.clone=function(){return(0,o.default)(this)},e.prototype.toString=function(t){return this.options.writer.set(t).raw(this)},e}(n)}).call(void 0)},{"./XMLNode":227,"babel-runtime/core-js/object/create":19}],230:[function(t,e,n){(function(){var n,r,o,i,a,s,c,u,l,p,f,d,h,m=function(t,e){function n(){this.constructor=t}for(var r in e)g.call(e,r)&&(t[r]=e[r]);return n.prototype=e.prototype,t.prototype=new n,t.__super__=e.prototype,t},g={}.hasOwnProperty;c=t("./XMLDeclaration"),u=t("./XMLDocType"),n=t("./XMLCData"),r=t("./XMLComment"),l=t("./XMLElement"),f=t("./XMLRaw"),d=t("./XMLText"),p=t("./XMLProcessingInstruction"),o=t("./XMLDTDAttList"),i=t("./XMLDTDElement"),a=t("./XMLDTDEntity"),s=t("./XMLDTDNotation"),h=t("./XMLWriterBase"),e.exports=function(t){function e(t,n){e.__super__.constructor.call(this,n),this.stream=t}return m(e,t),e.prototype.document=function(t){var e,n,o,i,a,s,l,f;for(n=0,i=(s=t.children).length;i>n;n++)(e=s[n]).isLastRootNode=!1;for(t.children[t.children.length-1].isLastRootNode=!0,f=[],o=0,a=(l=t.children).length;a>o;o++)switch(e=l[o],!1){case!(e instanceof c):f.push(this.declaration(e));break;case!(e instanceof u):f.push(this.docType(e));break;case!(e instanceof r):f.push(this.comment(e));break;case!(e instanceof p):f.push(this.processingInstruction(e));break;default:f.push(this.element(e))}return f},e.prototype.attribute=function(t){return this.stream.write(" "+t.name+'="'+t.value+'"')},e.prototype.cdata=function(t,e){return this.stream.write(this.space(e)+"<![CDATA["+t.text+"]]>"+this.endline(t))},e.prototype.comment=function(t,e){return this.stream.write(this.space(e)+"\x3c!-- "+t.text+" --\x3e"+this.endline(t))},e.prototype.declaration=function(t,e){return this.stream.write(this.space(e)),this.stream.write('<?xml version="'+t.version+'"'),null!=t.encoding&&this.stream.write(' encoding="'+t.encoding+'"'),null!=t.standalone&&this.stream.write(' standalone="'+t.standalone+'"'),this.stream.write(this.spacebeforeslash+"?>"),this.stream.write(this.endline(t))},e.prototype.docType=function(t,e){var c,u,l,f;if(e||(e=0),this.stream.write(this.space(e)),this.stream.write("<!DOCTYPE "+t.root().name),t.pubID&&t.sysID?this.stream.write(' PUBLIC "'+t.pubID+'" "'+t.sysID+'"'):t.sysID&&this.stream.write(' SYSTEM "'+t.sysID+'"'),t.children.length>0){for(this.stream.write(" ["),this.stream.write(this.endline(t)),u=0,l=(f=t.children).length;l>u;u++)switch(c=f[u],!1){case!(c instanceof o):this.dtdAttList(c,e+1);break;case!(c instanceof i):this.dtdElement(c,e+1);break;case!(c instanceof a):this.dtdEntity(c,e+1);break;case!(c instanceof s):this.dtdNotation(c,e+1);break;case!(c instanceof n):this.cdata(c,e+1);break;case!(c instanceof r):this.comment(c,e+1);break;case!(c instanceof p):this.processingInstruction(c,e+1);break;default:throw new Error("Unknown DTD node type: "+c.constructor.name)}this.stream.write("]")}return this.stream.write(this.spacebeforeslash+">"),this.stream.write(this.endline(t))},e.prototype.element=function(t,e){var o,i,a,s,c,u,h,m;for(c in e||(e=0),m=this.space(e),this.stream.write(m+"<"+t.name),u=t.attributes)g.call(u,c)&&(o=u[c],this.attribute(o));if(0===t.children.length||t.children.every((function(t){return""===t.value})))this.allowEmpty?this.stream.write("></"+t.name+">"):this.stream.write(this.spacebeforeslash+"/>");else if(this.pretty&&1===t.children.length&&null!=t.children[0].value)this.stream.write(">"),this.stream.write(t.children[0].value),this.stream.write("</"+t.name+">");else{for(this.stream.write(">"+this.newline),a=0,s=(h=t.children).length;s>a;a++)switch(i=h[a],!1){case!(i instanceof n):this.cdata(i,e+1);break;case!(i instanceof r):this.comment(i,e+1);break;case!(i instanceof l):this.element(i,e+1);break;case!(i instanceof f):this.raw(i,e+1);break;case!(i instanceof d):this.text(i,e+1);break;case!(i instanceof p):this.processingInstruction(i,e+1);break;default:throw new Error("Unknown XML node type: "+i.constructor.name)}this.stream.write(m+"</"+t.name+">")}return this.stream.write(this.endline(t))},e.prototype.processingInstruction=function(t,e){return this.stream.write(this.space(e)+"<?"+t.target),t.value&&this.stream.write(" "+t.value),this.stream.write(this.spacebeforeslash+"?>"+this.endline(t))},e.prototype.raw=function(t,e){return this.stream.write(this.space(e)+t.value+this.endline(t))},e.prototype.text=function(t,e){return this.stream.write(this.space(e)+t.value+this.endline(t))},e.prototype.dtdAttList=function(t,e){return this.stream.write(this.space(e)+"<!ATTLIST "+t.elementName+" "+t.attributeName+" "+t.attributeType),"#DEFAULT"!==t.defaultValueType&&this.stream.write(" "+t.defaultValueType),t.defaultValue&&this.stream.write(' "'+t.defaultValue+'"'),this.stream.write(this.spacebeforeslash+">"+this.endline(t))},e.prototype.dtdElement=function(t,e){return this.stream.write(this.space(e)+"<!ELEMENT "+t.name+" "+t.value),this.stream.write(this.spacebeforeslash+">"+this.endline(t))},e.prototype.dtdEntity=function(t,e){return this.stream.write(this.space(e)+"<!ENTITY"),t.pe&&this.stream.write(" %"),this.stream.write(" "+t.name),t.value?this.stream.write(' "'+t.value+'"'):(t.pubID&&t.sysID?this.stream.write(' PUBLIC "'+t.pubID+'" "'+t.sysID+'"'):t.sysID&&this.stream.write(' SYSTEM "'+t.sysID+'"'),t.nData&&this.stream.write(" NDATA "+t.nData)),this.stream.write(this.spacebeforeslash+">"+this.endline(t))},e.prototype.dtdNotation=function(t,e){return this.stream.write(this.space(e)+"<!NOTATION "+t.name),t.pubID&&t.sysID?this.stream.write(' PUBLIC "'+t.pubID+'" "'+t.sysID+'"'):t.pubID?this.stream.write(' PUBLIC "'+t.pubID+'"'):t.sysID&&this.stream.write(' SYSTEM "'+t.sysID+'"'),this.stream.write(this.spacebeforeslash+">"+this.endline(t))},e.prototype.endline=function(t){return t.isLastRootNode?"":this.newline},e}(h)}).call(void 0)},{"./XMLCData":216,"./XMLComment":217,"./XMLDTDAttList":218,"./XMLDTDElement":219,"./XMLDTDEntity":220,"./XMLDTDNotation":221,"./XMLDeclaration":222,"./XMLDocType":223,"./XMLElement":226,"./XMLProcessingInstruction":228,"./XMLRaw":229,"./XMLText":233,"./XMLWriterBase":234}],231:[function(t,e,n){(function(){var n,r,o,i,a,s,c,u,l,p,f,d,h,m=function(t,e){function n(){this.constructor=t}for(var r in e)g.call(e,r)&&(t[r]=e[r]);return n.prototype=e.prototype,t.prototype=new n,t.__super__=e.prototype,t},g={}.hasOwnProperty;c=t("./XMLDeclaration"),u=t("./XMLDocType"),n=t("./XMLCData"),r=t("./XMLComment"),l=t("./XMLElement"),f=t("./XMLRaw"),d=t("./XMLText"),p=t("./XMLProcessingInstruction"),o=t("./XMLDTDAttList"),i=t("./XMLDTDElement"),a=t("./XMLDTDEntity"),s=t("./XMLDTDNotation"),h=t("./XMLWriterBase"),e.exports=function(t){function e(t){e.__super__.constructor.call(this,t)}return m(e,t),e.prototype.document=function(t){var e,n,o,i,a;for(this.textispresent=!1,i="",n=0,o=(a=t.children).length;o>n;n++)e=a[n],i+=function(){switch(!1){case!(e instanceof c):return this.declaration(e);case!(e instanceof u):return this.docType(e);case!(e instanceof r):return this.comment(e);case!(e instanceof p):return this.processingInstruction(e);default:return this.element(e,0)}}.call(this);return this.pretty&&i.slice(-this.newline.length)===this.newline&&(i=i.slice(0,-this.newline.length)),i},e.prototype.attribute=function(t){return" "+t.name+'="'+t.value+'"'},e.prototype.cdata=function(t,e){return this.space(e)+"<![CDATA["+t.text+"]]>"+this.newline},e.prototype.comment=function(t,e){return this.space(e)+"\x3c!-- "+t.text+" --\x3e"+this.newline},e.prototype.declaration=function(t,e){var n;return n=this.space(e),n+='<?xml version="'+t.version+'"',null!=t.encoding&&(n+=' encoding="'+t.encoding+'"'),null!=t.standalone&&(n+=' standalone="'+t.standalone+'"'),(n+=this.spacebeforeslash+"?>")+this.newline},e.prototype.docType=function(t,e){var c,u,l,f,d;if(e||(e=0),f=this.space(e),f+="<!DOCTYPE "+t.root().name,t.pubID&&t.sysID?f+=' PUBLIC "'+t.pubID+'" "'+t.sysID+'"':t.sysID&&(f+=' SYSTEM "'+t.sysID+'"'),t.children.length>0){for(f+=" [",f+=this.newline,u=0,l=(d=t.children).length;l>u;u++)c=d[u],f+=function(){switch(!1){case!(c instanceof o):return this.dtdAttList(c,e+1);case!(c instanceof i):return this.dtdElement(c,e+1);case!(c instanceof a):return this.dtdEntity(c,e+1);case!(c instanceof s):return this.dtdNotation(c,e+1);case!(c instanceof n):return this.cdata(c,e+1);case!(c instanceof r):return this.comment(c,e+1);case!(c instanceof p):return this.processingInstruction(c,e+1);default:throw new Error("Unknown DTD node type: "+c.constructor.name)}}.call(this);f+="]"}return(f+=this.spacebeforeslash+">")+this.newline},e.prototype.element=function(t,e){var o,i,a,s,c,u,h,m,v,y,b,w,x;for(h in e||(e=0),x=!1,this.textispresent?(this.newline="",this.pretty=!1):(this.newline=this.newlinedefault,this.pretty=this.prettydefault),m="",m+=(w=this.space(e))+"<"+t.name,v=t.attributes)g.call(v,h)&&(o=v[h],m+=this.attribute(o));if(0===t.children.length||t.children.every((function(t){return""===t.value})))m+=this.allowEmpty?"></"+t.name+">"+this.newline:this.spacebeforeslash+"/>"+this.newline;else if(this.pretty&&1===t.children.length&&null!=t.children[0].value)m+=">",m+=t.children[0].value,m+="</"+t.name+">"+this.newline;else{if(this.dontprettytextnodes)for(a=0,c=(y=t.children).length;c>a;a++)if(null!=(i=y[a]).value){this.textispresent++,x=!0;break}for(this.textispresent&&(this.newline="",this.pretty=!1,w=this.space(e)),m+=">"+this.newline,s=0,u=(b=t.children).length;u>s;s++)i=b[s],m+=function(){switch(!1){case!(i instanceof n):return this.cdata(i,e+1);case!(i instanceof r):return this.comment(i,e+1);case!(i instanceof l):return this.element(i,e+1);case!(i instanceof f):return this.raw(i,e+1);case!(i instanceof d):return this.text(i,e+1);case!(i instanceof p):return this.processingInstruction(i,e+1);default:throw new Error("Unknown XML node type: "+i.constructor.name)}}.call(this);x&&this.textispresent--,this.textispresent||(this.newline=this.newlinedefault,this.pretty=this.prettydefault),m+=w+"</"+t.name+">"+this.newline}return m},e.prototype.processingInstruction=function(t,e){var n;return n=this.space(e)+"<?"+t.target,t.value&&(n+=" "+t.value),n+(this.spacebeforeslash+"?>")+this.newline},e.prototype.raw=function(t,e){return this.space(e)+t.value+this.newline},e.prototype.text=function(t,e){return this.space(e)+t.value+this.newline},e.prototype.dtdAttList=function(t,e){var n;return n=this.space(e)+"<!ATTLIST "+t.elementName+" "+t.attributeName+" "+t.attributeType,"#DEFAULT"!==t.defaultValueType&&(n+=" "+t.defaultValueType),t.defaultValue&&(n+=' "'+t.defaultValue+'"'),n+(this.spacebeforeslash+">")+this.newline},e.prototype.dtdElement=function(t,e){return this.space(e)+"<!ELEMENT "+t.name+" "+t.value+this.spacebeforeslash+">"+this.newline},e.prototype.dtdEntity=function(t,e){var n;return n=this.space(e)+"<!ENTITY",t.pe&&(n+=" %"),n+=" "+t.name,t.value?n+=' "'+t.value+'"':(t.pubID&&t.sysID?n+=' PUBLIC "'+t.pubID+'" "'+t.sysID+'"':t.sysID&&(n+=' SYSTEM "'+t.sysID+'"'),t.nData&&(n+=" NDATA "+t.nData)),n+(this.spacebeforeslash+">")+this.newline},e.prototype.dtdNotation=function(t,e){var n;return n=this.space(e)+"<!NOTATION "+t.name,t.pubID&&t.sysID?n+=' PUBLIC "'+t.pubID+'" "'+t.sysID+'"':t.pubID?n+=' PUBLIC "'+t.pubID+'"':t.sysID&&(n+=' SYSTEM "'+t.sysID+'"'),n+(this.spacebeforeslash+">")+this.newline},e.prototype.openNode=function(t,e){var n,r,o,i;if(e||(e=0),t instanceof l){for(r in o=this.space(e)+"<"+t.name,i=t.attributes)g.call(i,r)&&(n=i[r],o+=this.attribute(n));return o+(t.children?">":"/>")+this.newline}return o=this.space(e)+"<!DOCTYPE "+t.rootNodeName,t.pubID&&t.sysID?o+=' PUBLIC "'+t.pubID+'" "'+t.sysID+'"':t.sysID&&(o+=' SYSTEM "'+t.sysID+'"'),o+(t.children?" [":">")+this.newline},e.prototype.closeNode=function(t,e){switch(e||(e=0),!1){case!(t instanceof l):return this.space(e)+"</"+t.name+">"+this.newline;case!(t instanceof u):return this.space(e)+"]>"+this.newline}},e}(h)}).call(void 0)},{"./XMLCData":216,"./XMLComment":217,"./XMLDTDAttList":218,"./XMLDTDElement":219,"./XMLDTDEntity":220,"./XMLDTDNotation":221,"./XMLDeclaration":222,"./XMLDocType":223,"./XMLElement":226,"./XMLProcessingInstruction":228,"./XMLRaw":229,"./XMLText":233,"./XMLWriterBase":234}],232:[function(t,e,n){(function(){var t=function(t,e){return function(){return t.apply(e,arguments)}},n={}.hasOwnProperty;e.exports=function(){function e(e){var r,o,i;for(r in this.assertLegalChar=t(this.assertLegalChar,this),e||(e={}),this.noDoubleEncoding=e.noDoubleEncoding,o=e.stringify||{})n.call(o,r)&&(i=o[r],this[r]=i)}return e.prototype.eleName=function(t){return t=""+t||"",this.assertLegalChar(t)},e.prototype.eleText=function(t){return t=""+t||"",this.assertLegalChar(this.elEscape(t))},e.prototype.cdata=function(t){return t=(t=""+t||"").replace("]]>","]]]]><![CDATA[>"),this.assertLegalChar(t)},e.prototype.comment=function(t){if((t=""+t||"").match(/--/))throw new Error("Comment text cannot contain double-hypen: "+t);return this.assertLegalChar(t)},e.prototype.raw=function(t){return""+t||""},e.prototype.attName=function(t){return""+t||""},e.prototype.attValue=function(t){return t=""+t||"",this.attEscape(t)},e.prototype.insTarget=function(t){return""+t||""},e.prototype.insValue=function(t){if((t=""+t||"").match(/\?>/))throw new Error("Invalid processing instruction value: "+t);return t},e.prototype.xmlVersion=function(t){if(!(t=""+t||"").match(/1\.[0-9]+/))throw new Error("Invalid version number: "+t);return t},e.prototype.xmlEncoding=function(t){if(!(t=""+t||"").match(/^[A-Za-z](?:[A-Za-z0-9._-])*$/))throw new Error("Invalid encoding: "+t);return t},e.prototype.xmlStandalone=function(t){return t?"yes":"no"},e.prototype.dtdPubID=function(t){return""+t||""},e.prototype.dtdSysID=function(t){return""+t||""},e.prototype.dtdElementValue=function(t){return""+t||""},e.prototype.dtdAttType=function(t){return""+t||""},e.prototype.dtdAttDefault=function(t){return null!=t?""+t||"":t},e.prototype.dtdEntityValue=function(t){return""+t||""},e.prototype.dtdNData=function(t){return""+t||""},e.prototype.convertAttKey="@",e.prototype.convertPIKey="?",e.prototype.convertTextKey="#text",e.prototype.convertCDataKey="#cdata",e.prototype.convertCommentKey="#comment",e.prototype.convertRawKey="#raw",e.prototype.assertLegalChar=function(t){var e;if(e=t.match(/[\0\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/))throw new Error("Invalid character in string: "+t+" at index "+e.index);return t},e.prototype.elEscape=function(t){var e;return e=this.noDoubleEncoding?/(?!&\S+;)&/g:/&/g,t.replace(e,"&").replace(/</g,"<").replace(/>/g,">").replace(/\r/g,"
")},e.prototype.attEscape=function(t){var e;return e=this.noDoubleEncoding?/(?!&\S+;)&/g:/&/g,t.replace(e,"&").replace(/</g,"<").replace(/"/g,""").replace(/\t/g,"	").replace(/\n/g,"
").replace(/\r/g,"
")},e}()}).call(void 0)},{}],233:[function(t,e,n){function r(t){return t&&t.__esModule?t:{default:t}}var o=r(t("babel-runtime/core-js/object/create"));(function(){var n,r=function(t,e){function n(){this.constructor=t}for(var r in e)i.call(e,r)&&(t[r]=e[r]);return n.prototype=e.prototype,t.prototype=new n,t.__super__=e.prototype,t},i={}.hasOwnProperty;n=t("./XMLNode"),e.exports=function(t){function e(t,n){if(e.__super__.constructor.call(this,t),null==n)throw new Error("Missing element text");this.value=this.stringify.eleText(n)}return r(e,t),e.prototype.clone=function(){return(0,o.default)(this)},e.prototype.toString=function(t){return this.options.writer.set(t).text(this)},e}(n)}).call(void 0)},{"./XMLNode":227,"babel-runtime/core-js/object/create":19}],234:[function(t,e,n){(function(){var t={}.hasOwnProperty;e.exports=function(){function e(e){var n,r,o,i,a,s,c,u,l;for(n in e||(e={}),this.pretty=e.pretty||!1,this.allowEmpty=null!=(r=e.allowEmpty)&&r,this.pretty?(this.indent=null!=(o=e.indent)?o:" ",this.newline=null!=(i=e.newline)?i:"\n",this.offset=null!=(a=e.offset)?a:0,this.dontprettytextnodes=null!=(s=e.dontprettytextnodes)?s:0):(this.indent="",this.newline="",this.offset=0,this.dontprettytextnodes=0),this.spacebeforeslash=null!=(c=e.spacebeforeslash)?c:"",!0===this.spacebeforeslash&&(this.spacebeforeslash=" "),this.newlinedefault=this.newline,this.prettydefault=this.pretty,u=e.writer||{})t.call(u,n)&&(l=u[n],this[n]=l)}return e.prototype.set=function(e){var n,r,o;for(n in e||(e={}),"pretty"in e&&(this.pretty=e.pretty),"allowEmpty"in e&&(this.allowEmpty=e.allowEmpty),this.pretty?(this.indent="indent"in e?e.indent:" ",this.newline="newline"in e?e.newline:"\n",this.offset="offset"in e?e.offset:0,this.dontprettytextnodes="dontprettytextnodes"in e?e.dontprettytextnodes:0):(this.indent="",this.newline="",this.offset=0,this.dontprettytextnodes=0),this.spacebeforeslash="spacebeforeslash"in e?e.spacebeforeslash:"",!0===this.spacebeforeslash&&(this.spacebeforeslash=" "),this.newlinedefault=this.newline,this.prettydefault=this.pretty,r=e.writer||{})t.call(r,n)&&(o=r[n],this[n]=o);return this},e.prototype.space=function(t){var e;return this.pretty&&(e=(t||0)+this.offset+1)>0?new Array(e).join(this.indent):""},e}()}).call(void 0)},{}],235:[function(t,e,n){(function(){var n,r,o,i,a,s,c;c=t("./Utility"),a=c.assign,s=c.isFunction,n=t("./XMLDocument"),r=t("./XMLDocumentCB"),i=t("./XMLStringWriter"),o=t("./XMLStreamWriter"),e.exports.create=function(t,e,r,o){var i,s;if(null==t)throw new Error("Root element needs a name");return o=a({},e,r,o),s=(i=new n(o)).element(t),o.headless||(i.declaration(o),(null!=o.pubID||null!=o.sysID)&&i.doctype(o)),s},e.exports.begin=function(t,e,o){var i;return s(t)&&(e=(i=[t,e])[0],o=i[1],t={}),e?new r(t,e,o):new n(t)},e.exports.stringWriter=function(t){return new i(t)},e.exports.streamWriter=function(t,e){return new o(t,e)}}).call(void 0)},{"./Utility":214,"./XMLDocument":224,"./XMLDocumentCB":225,"./XMLStreamWriter":230,"./XMLStringWriter":231}],236:[function(t,e,n){function r(){for(var t={},e=0;e<arguments.length;e++){var n=arguments[e];for(var r in n)o.call(n,r)&&(t[r]=n[r])}return t}e.exports=r;var o=Object.prototype.hasOwnProperty},{}],237:[function(t,e,n){function r(t,e,n){s.isBuffer(e)||(e=new s(e)),s.isBuffer(n)||(n=new s(n)),e.length>u?e=t(e):e.length<u&&(e=s.concat([e,l],u));for(var r=new s(u),o=new s(u),i=0;u>i;i++)r[i]=54^e[i],o[i]=92^e[i];var a=t(s.concat([r,n]));return t(s.concat([o,a]))}function o(t,e){var n=c[t=t||"sha1"],o=[];return n||i("algorithm:",t,"is not yet supported"),{update:function(t){return s.isBuffer(t)||(t=new s(t)),o.push(t),t.length,this},digest:function(t){var i=s.concat(o),a=e?r(n,e,i):n(i);return o=null,t?a.toString(t):a}}}function i(){var t=[].slice.call(arguments).join(" ");throw new Error([t,"we accept pull requests","http://github.com/dominictarr/crypto-browserify"].join("\n"))}function a(t,e){for(var n in t)e(t[n],n)}var s=t("buffer").Buffer,c={sha1:t("./sha"),sha256:t("./sha256"),md5:t("./md5")},u=64,l=new s(u);l.fill(0),n.createHash=function(t){return o(t)},n.createHmac=function(t,e){return o(t,e)},a(["createCredentials","createCipher","createCipheriv","createDecipher","createDecipheriv","createSign","createVerify","createDiffieHellman","pbkdf2"],(function(t){n[t]=function(){i("sorry,",t,"is not implemented yet")}}))},{"./md5":239,"./sha":240,"./sha256":241,buffer:38}],238:[function(t,e,n){function r(t,e){if(t.length%s!=0){var n=t.length+(s-t.length%s);t=a.concat([t,c],n)}for(var r=[],o=e?t.readInt32BE:t.readInt32LE,i=0;i<t.length;i+=s)r.push(o.call(t,i));return r}function o(t,e,n){for(var r=new a(e),o=n?r.writeInt32BE:r.writeInt32LE,i=0;i<t.length;i++)o.call(r,t[i],4*i,!0);return r}function i(t,e,n,i){return a.isBuffer(t)||(t=new a(t)),o(e(r(t,i),t.length*u),n,i)}var a=t("buffer").Buffer,s=4,c=new a(s);c.fill(0);var u=8;e.exports={hash:i}},{buffer:38}],239:[function(t,e,n){function r(t,e){t[e>>5]|=128<<e%32,t[14+(e+64>>>9<<4)]=e;for(var n=1732584193,r=-271733879,o=-1732584194,l=271733878,p=0;p<t.length;p+=16){var f=n,d=r,h=o,m=l;n=i(n,r,o,l,t[p+0],7,-680876936),l=i(l,n,r,o,t[p+1],12,-389564586),o=i(o,l,n,r,t[p+2],17,606105819),r=i(r,o,l,n,t[p+3],22,-1044525330),n=i(n,r,o,l,t[p+4],7,-176418897),l=i(l,n,r,o,t[p+5],12,1200080426),o=i(o,l,n,r,t[p+6],17,-1473231341),r=i(r,o,l,n,t[p+7],22,-45705983),n=i(n,r,o,l,t[p+8],7,1770035416),l=i(l,n,r,o,t[p+9],12,-1958414417),o=i(o,l,n,r,t[p+10],17,-42063),r=i(r,o,l,n,t[p+11],22,-1990404162),n=i(n,r,o,l,t[p+12],7,1804603682),l=i(l,n,r,o,t[p+13],12,-40341101),o=i(o,l,n,r,t[p+14],17,-1502002290),n=a(n,r=i(r,o,l,n,t[p+15],22,1236535329),o,l,t[p+1],5,-165796510),l=a(l,n,r,o,t[p+6],9,-1069501632),o=a(o,l,n,r,t[p+11],14,643717713),r=a(r,o,l,n,t[p+0],20,-373897302),n=a(n,r,o,l,t[p+5],5,-701558691),l=a(l,n,r,o,t[p+10],9,38016083),o=a(o,l,n,r,t[p+15],14,-660478335),r=a(r,o,l,n,t[p+4],20,-405537848),n=a(n,r,o,l,t[p+9],5,568446438),l=a(l,n,r,o,t[p+14],9,-1019803690),o=a(o,l,n,r,t[p+3],14,-187363961),r=a(r,o,l,n,t[p+8],20,1163531501),n=a(n,r,o,l,t[p+13],5,-1444681467),l=a(l,n,r,o,t[p+2],9,-51403784),o=a(o,l,n,r,t[p+7],14,1735328473),n=s(n,r=a(r,o,l,n,t[p+12],20,-1926607734),o,l,t[p+5],4,-378558),l=s(l,n,r,o,t[p+8],11,-2022574463),o=s(o,l,n,r,t[p+11],16,1839030562),r=s(r,o,l,n,t[p+14],23,-35309556),n=s(n,r,o,l,t[p+1],4,-1530992060),l=s(l,n,r,o,t[p+4],11,1272893353),o=s(o,l,n,r,t[p+7],16,-155497632),r=s(r,o,l,n,t[p+10],23,-1094730640),n=s(n,r,o,l,t[p+13],4,681279174),l=s(l,n,r,o,t[p+0],11,-358537222),o=s(o,l,n,r,t[p+3],16,-722521979),r=s(r,o,l,n,t[p+6],23,76029189),n=s(n,r,o,l,t[p+9],4,-640364487),l=s(l,n,r,o,t[p+12],11,-421815835),o=s(o,l,n,r,t[p+15],16,530742520),n=c(n,r=s(r,o,l,n,t[p+2],23,-995338651),o,l,t[p+0],6,-198630844),l=c(l,n,r,o,t[p+7],10,1126891415),o=c(o,l,n,r,t[p+14],15,-1416354905),r=c(r,o,l,n,t[p+5],21,-57434055),n=c(n,r,o,l,t[p+12],6,1700485571),l=c(l,n,r,o,t[p+3],10,-1894986606),o=c(o,l,n,r,t[p+10],15,-1051523),r=c(r,o,l,n,t[p+1],21,-2054922799),n=c(n,r,o,l,t[p+8],6,1873313359),l=c(l,n,r,o,t[p+15],10,-30611744),o=c(o,l,n,r,t[p+6],15,-1560198380),r=c(r,o,l,n,t[p+13],21,1309151649),n=c(n,r,o,l,t[p+4],6,-145523070),l=c(l,n,r,o,t[p+11],10,-1120210379),o=c(o,l,n,r,t[p+2],15,718787259),r=c(r,o,l,n,t[p+9],21,-343485551),n=u(n,f),r=u(r,d),o=u(o,h),l=u(l,m)}return Array(n,r,o,l)}function o(t,e,n,r,o,i){return u(l(u(u(e,t),u(r,i)),o),n)}function i(t,e,n,r,i,a,s){return o(e&n|~e&r,t,e,i,a,s)}function a(t,e,n,r,i,a,s){return o(e&r|n&~r,t,e,i,a,s)}function s(t,e,n,r,i,a,s){return o(e^n^r,t,e,i,a,s)}function c(t,e,n,r,i,a,s){return o(n^(e|~r),t,e,i,a,s)}function u(t,e){var n=(65535&t)+(65535&e);return(t>>16)+(e>>16)+(n>>16)<<16|65535&n}function l(t,e){return t<<e|t>>>32-e}var p=t("./helpers");e.exports=function(t){return p.hash(t,r,16)}},{"./helpers":238}],240:[function(t,e,n){function r(t,e){t[e>>5]|=128<<24-e%32,t[15+(e+64>>9<<4)]=e;for(var n=Array(80),r=1732584193,c=-271733879,u=-1732584194,l=271733878,p=-1009589776,f=0;f<t.length;f+=16){for(var d=r,h=c,m=u,g=l,v=p,y=0;80>y;y++){n[y]=16>y?t[f+y]:s(n[y-3]^n[y-8]^n[y-14]^n[y-16],1);var b=a(a(s(r,5),o(y,c,u,l)),a(a(p,n[y]),i(y)));p=l,l=u,u=s(c,30),c=r,r=b}r=a(r,d),c=a(c,h),u=a(u,m),l=a(l,g),p=a(p,v)}return Array(r,c,u,l,p)}function o(t,e,n,r){return 20>t?e&n|~e&r:40>t?e^n^r:60>t?e&n|e&r|n&r:e^n^r}function i(t){return 20>t?1518500249:40>t?1859775393:60>t?-1894007588:-899497514}function a(t,e){var n=(65535&t)+(65535&e);return(t>>16)+(e>>16)+(n>>16)<<16|65535&n}function s(t,e){return t<<e|t>>>32-e}var c=t("./helpers");e.exports=function(t){return c.hash(t,r,20,!0)}},{"./helpers":238}],241:[function(t,e,n){var r=t("./helpers"),o=function(t,e){var n=(65535&t)+(65535&e);return(t>>16)+(e>>16)+(n>>16)<<16|65535&n},i=function(t,e){return t>>>e|t<<32-e},a=function(t,e){return t>>>e},s=function(t,e,n){return t&e^~t&n},c=function(t,e,n){return t&e^t&n^e&n},u=function(t){return i(t,2)^i(t,13)^i(t,22)},l=function(t){return i(t,6)^i(t,11)^i(t,25)},p=function(t){return i(t,7)^i(t,18)^a(t,3)},f=function(t){return i(t,17)^i(t,19)^a(t,10)},d=function(t,e){var n,r,i,a,d,h,m,g,v,y,b=new Array(1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298),w=new Array(1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225),x=new Array(64);t[e>>5]|=128<<24-e%32,t[15+(e+64>>9<<4)]=e;for(var _=0;_<t.length;_+=16){n=w[0],r=w[1],i=w[2],a=w[3],d=w[4],h=w[5],m=w[6],g=w[7];for(var A=0;64>A;A++)x[A]=16>A?t[A+_]:o(o(o(f(x[A-2]),x[A-7]),p(x[A-15])),x[A-16]),v=o(o(o(o(g,l(d)),s(d,h,m)),b[A]),x[A]),y=o(u(n),c(n,r,i)),g=m,m=h,h=d,d=o(a,v),a=i,i=r,r=n,n=o(v,y);w[0]=o(n,w[0]),w[1]=o(r,w[1]),w[2]=o(i,w[2]),w[3]=o(a,w[3]),w[4]=o(d,w[4]),w[5]=o(h,w[5]),w[6]=o(m,w[6]),w[7]=o(g,w[7])}return w};e.exports=function(t){return r.hash(t,d,32,!0)}},{"./helpers":238}],242:[function(t,e,n){(function(r){function o(t){return t&&t.__esModule?t:{default:t}}var i=o(t("babel-runtime/core-js/object/create")),a=o(t("babel-runtime/helpers/classCallCheck")),s=o(t("babel-runtime/helpers/createClass")),c=o(t("babel-runtime/helpers/typeof"));!function(t){"object"===(void 0===n?"undefined":(0,c.default)(n))&&void 0!==e?e.exports=t():("undefined"!=typeof window?window:void 0!==r?r:"undefined"!=typeof self?self:this).mime=t()}((function(){return function e(n,r,o){function i(s,c){if(!r[s]){if(!n[s]){var u="function"==typeof t&&t;if(!c&&u)return u(s,!0);if(a)return a(s,!0);var l=new Error("Cannot find module '"+s+"'");throw l.code="MODULE_NOT_FOUND",l}var p=r[s]={exports:{}};n[s][0].call(p.exports,(function(t){var e=n[s][1][t];return i(e||t)}),p,p.exports,e,n,r,o)}return r[s].exports}for(var a="function"==typeof t&&t,s=0;s<o.length;s++)i(o[s]);return i}({1:[function(t,e,n){var r=function(){function t(){(0,a.default)(this,t),this._types=(0,i.default)(null),this._extensions=(0,i.default)(null);for(var e=0;e<arguments.length;e++)this.define(arguments[e])}return(0,s.default)(t,[{key:"define",value:function(t,e){for(var n in t){for(var r=t[n],o=0;o<r.length;o++){var i=r[o];if(!e&&i in this._types)throw new Error('Attempt to change mapping for "'+i+'" extension from "'+this._types[i]+'" to "'+n+'". Pass `force=true` to allow this, otherwise remove "'+i+'" from the list of extensions for "'+n+'".');this._types[i]=n}(e||!this._extensions[n])&&(this._extensions[n]=r[0])}}},{key:"getType",value:function(t){var e=(t=String(t)).replace(/^.*[/\\]/,"").toLowerCase(),n=e.replace(/^.*\./,"").toLowerCase(),r=e.length<t.length;return(n.length<e.length-1||!r)&&this._types[n]||null}},{key:"getExtension",value:function(t){return(t=/^\s*([^;\s]*)/.test(t)&&RegExp.$1)&&this._extensions[t.toLowerCase()]||null}}]),t}();e.exports=r},{}],2:[function(t,e,n){var r=t("./Mime");e.exports=new r(t("./types/standard"),t("./types/other"))},{"./Mime":1,"./types/other":3,"./types/standard":4}],3:[function(t,e,n){e.exports={"application/prs.cww":["cww"],"application/vnd.3gpp.pic-bw-large":["plb"],"application/vnd.3gpp.pic-bw-small":["psb"],"application/vnd.3gpp.pic-bw-var":["pvb"],"application/vnd.3gpp2.tcap":["tcap"],"application/vnd.3m.post-it-notes":["pwn"],"application/vnd.accpac.simply.aso":["aso"],"application/vnd.accpac.simply.imp":["imp"],"application/vnd.acucobol":["acu"],"application/vnd.acucorp":["atc","acutc"],"application/vnd.adobe.air-application-installer-package+zip":["air"],"application/vnd.adobe.formscentral.fcdt":["fcdt"],"application/vnd.adobe.fxp":["fxp","fxpl"],"application/vnd.adobe.xdp+xml":["xdp"],"application/vnd.adobe.xfdf":["xfdf"],"application/vnd.ahead.space":["ahead"],"application/vnd.airzip.filesecure.azf":["azf"],"application/vnd.airzip.filesecure.azs":["azs"],"application/vnd.amazon.ebook":["azw"],"application/vnd.americandynamics.acc":["acc"],"application/vnd.amiga.ami":["ami"],"application/vnd.android.package-archive":["apk"],"application/vnd.anser-web-certificate-issue-initiation":["cii"],"application/vnd.anser-web-funds-transfer-initiation":["fti"],"application/vnd.antix.game-component":["atx"],"application/vnd.apple.installer+xml":["mpkg"],"application/vnd.apple.mpegurl":["m3u8"],"application/vnd.apple.pkpass":["pkpass"],"application/vnd.aristanetworks.swi":["swi"],"application/vnd.astraea-software.iota":["iota"],"application/vnd.audiograph":["aep"],"application/vnd.blueice.multipass":["mpm"],"application/vnd.bmi":["bmi"],"application/vnd.businessobjects":["rep"],"application/vnd.chemdraw+xml":["cdxml"],"application/vnd.chipnuts.karaoke-mmd":["mmd"],"application/vnd.cinderella":["cdy"],"application/vnd.claymore":["cla"],"application/vnd.cloanto.rp9":["rp9"],"application/vnd.clonk.c4group":["c4g","c4d","c4f","c4p","c4u"],"application/vnd.cluetrust.cartomobile-config":["c11amc"],"application/vnd.cluetrust.cartomobile-config-pkg":["c11amz"],"application/vnd.commonspace":["csp"],"application/vnd.contact.cmsg":["cdbcmsg"],"application/vnd.cosmocaller":["cmc"],"application/vnd.crick.clicker":["clkx"],"application/vnd.crick.clicker.keyboard":["clkk"],"application/vnd.crick.clicker.palette":["clkp"],"application/vnd.crick.clicker.template":["clkt"],"application/vnd.crick.clicker.wordbank":["clkw"],"application/vnd.criticaltools.wbs+xml":["wbs"],"application/vnd.ctc-posml":["pml"],"application/vnd.cups-ppd":["ppd"],"application/vnd.curl.car":["car"],"application/vnd.curl.pcurl":["pcurl"],"application/vnd.dart":["dart"],"application/vnd.data-vision.rdz":["rdz"],"application/vnd.dece.data":["uvf","uvvf","uvd","uvvd"],"application/vnd.dece.ttml+xml":["uvt","uvvt"],"application/vnd.dece.unspecified":["uvx","uvvx"],"application/vnd.dece.zip":["uvz","uvvz"],"application/vnd.denovo.fcselayout-link":["fe_launch"],"application/vnd.dna":["dna"],"application/vnd.dolby.mlp":["mlp"],"application/vnd.dpgraph":["dpg"],"application/vnd.dreamfactory":["dfac"],"application/vnd.ds-keypoint":["kpxx"],"application/vnd.dvb.ait":["ait"],"application/vnd.dvb.service":["svc"],"application/vnd.dynageo":["geo"],"application/vnd.ecowin.chart":["mag"],"application/vnd.enliven":["nml"],"application/vnd.epson.esf":["esf"],"application/vnd.epson.msf":["msf"],"application/vnd.epson.quickanime":["qam"],"application/vnd.epson.salt":["slt"],"application/vnd.epson.ssf":["ssf"],"application/vnd.eszigno3+xml":["es3","et3"],"application/vnd.ezpix-album":["ez2"],"application/vnd.ezpix-package":["ez3"],"application/vnd.fdf":["fdf"],"application/vnd.fdsn.mseed":["mseed"],"application/vnd.fdsn.seed":["seed","dataless"],"application/vnd.flographit":["gph"],"application/vnd.fluxtime.clip":["ftc"],"application/vnd.framemaker":["fm","frame","maker","book"],"application/vnd.frogans.fnc":["fnc"],"application/vnd.frogans.ltf":["ltf"],"application/vnd.fsc.weblaunch":["fsc"],"application/vnd.fujitsu.oasys":["oas"],"application/vnd.fujitsu.oasys2":["oa2"],"application/vnd.fujitsu.oasys3":["oa3"],"application/vnd.fujitsu.oasysgp":["fg5"],"application/vnd.fujitsu.oasysprs":["bh2"],"application/vnd.fujixerox.ddd":["ddd"],"application/vnd.fujixerox.docuworks":["xdw"],"application/vnd.fujixerox.docuworks.binder":["xbd"],"application/vnd.fuzzysheet":["fzs"],"application/vnd.genomatix.tuxedo":["txd"],"application/vnd.geogebra.file":["ggb"],"application/vnd.geogebra.tool":["ggt"],"application/vnd.geometry-explorer":["gex","gre"],"application/vnd.geonext":["gxt"],"application/vnd.geoplan":["g2w"],"application/vnd.geospace":["g3w"],"application/vnd.gmx":["gmx"],"application/vnd.google-apps.document":["gdoc"],"application/vnd.google-apps.presentation":["gslides"],"application/vnd.google-apps.spreadsheet":["gsheet"],"application/vnd.google-earth.kml+xml":["kml"],"application/vnd.google-earth.kmz":["kmz"],"application/vnd.grafeq":["gqf","gqs"],"application/vnd.groove-account":["gac"],"application/vnd.groove-help":["ghf"],"application/vnd.groove-identity-message":["gim"],"application/vnd.groove-injector":["grv"],"application/vnd.groove-tool-message":["gtm"],"application/vnd.groove-tool-template":["tpl"],"application/vnd.groove-vcard":["vcg"],"application/vnd.hal+xml":["hal"],"application/vnd.handheld-entertainment+xml":["zmm"],"application/vnd.hbci":["hbci"],"application/vnd.hhe.lesson-player":["les"],"application/vnd.hp-hpgl":["hpgl"],"application/vnd.hp-hpid":["hpid"],"application/vnd.hp-hps":["hps"],"application/vnd.hp-jlyt":["jlt"],"application/vnd.hp-pcl":["pcl"],"application/vnd.hp-pclxl":["pclxl"],"application/vnd.hydrostatix.sof-data":["sfd-hdstx"],"application/vnd.ibm.minipay":["mpy"],"application/vnd.ibm.modcap":["afp","listafp","list3820"],"application/vnd.ibm.rights-management":["irm"],"application/vnd.ibm.secure-container":["sc"],"application/vnd.iccprofile":["icc","icm"],"application/vnd.igloader":["igl"],"application/vnd.immervision-ivp":["ivp"],"application/vnd.immervision-ivu":["ivu"],"application/vnd.insors.igm":["igm"],"application/vnd.intercon.formnet":["xpw","xpx"],"application/vnd.intergeo":["i2g"],"application/vnd.intu.qbo":["qbo"],"application/vnd.intu.qfx":["qfx"],"application/vnd.ipunplugged.rcprofile":["rcprofile"],"application/vnd.irepository.package+xml":["irp"],"application/vnd.is-xpr":["xpr"],"application/vnd.isac.fcs":["fcs"],"application/vnd.jam":["jam"],"application/vnd.jcp.javame.midlet-rms":["rms"],"application/vnd.jisp":["jisp"],"application/vnd.joost.joda-archive":["joda"],"application/vnd.kahootz":["ktz","ktr"],"application/vnd.kde.karbon":["karbon"],"application/vnd.kde.kchart":["chrt"],"application/vnd.kde.kformula":["kfo"],"application/vnd.kde.kivio":["flw"],"application/vnd.kde.kontour":["kon"],"application/vnd.kde.kpresenter":["kpr","kpt"],"application/vnd.kde.kspread":["ksp"],"application/vnd.kde.kword":["kwd","kwt"],"application/vnd.kenameaapp":["htke"],"application/vnd.kidspiration":["kia"],"application/vnd.kinar":["kne","knp"],"application/vnd.koan":["skp","skd","skt","skm"],"application/vnd.kodak-descriptor":["sse"],"application/vnd.las.las+xml":["lasxml"],"application/vnd.llamagraphics.life-balance.desktop":["lbd"],"application/vnd.llamagraphics.life-balance.exchange+xml":["lbe"],"application/vnd.lotus-1-2-3":["123"],"application/vnd.lotus-approach":["apr"],"application/vnd.lotus-freelance":["pre"],"application/vnd.lotus-notes":["nsf"],"application/vnd.lotus-organizer":["org"],"application/vnd.lotus-screencam":["scm"],"application/vnd.lotus-wordpro":["lwp"],"application/vnd.macports.portpkg":["portpkg"],"application/vnd.mcd":["mcd"],"application/vnd.medcalcdata":["mc1"],"application/vnd.mediastation.cdkey":["cdkey"],"application/vnd.mfer":["mwf"],"application/vnd.mfmp":["mfm"],"application/vnd.micrografx.flo":["flo"],"application/vnd.micrografx.igx":["igx"],"application/vnd.mif":["mif"],"application/vnd.mobius.daf":["daf"],"application/vnd.mobius.dis":["dis"],"application/vnd.mobius.mbk":["mbk"],"application/vnd.mobius.mqy":["mqy"],"application/vnd.mobius.msl":["msl"],"application/vnd.mobius.plc":["plc"],"application/vnd.mobius.txf":["txf"],"application/vnd.mophun.application":["mpn"],"application/vnd.mophun.certificate":["mpc"],"application/vnd.mozilla.xul+xml":["xul"],"application/vnd.ms-artgalry":["cil"],"application/vnd.ms-cab-compressed":["cab"],"application/vnd.ms-excel":["xls","xlm","xla","xlc","xlt","xlw"],"application/vnd.ms-excel.addin.macroenabled.12":["xlam"],"application/vnd.ms-excel.sheet.binary.macroenabled.12":["xlsb"],"application/vnd.ms-excel.sheet.macroenabled.12":["xlsm"],"application/vnd.ms-excel.template.macroenabled.12":["xltm"],"application/vnd.ms-fontobject":["eot"],"application/vnd.ms-htmlhelp":["chm"],"application/vnd.ms-ims":["ims"],"application/vnd.ms-lrm":["lrm"],"application/vnd.ms-officetheme":["thmx"],"application/vnd.ms-outlook":["msg"],"application/vnd.ms-pki.seccat":["cat"],"application/vnd.ms-pki.stl":["stl"],"application/vnd.ms-powerpoint":["ppt","pps","pot"],"application/vnd.ms-powerpoint.addin.macroenabled.12":["ppam"],"application/vnd.ms-powerpoint.presentation.macroenabled.12":["pptm"],"application/vnd.ms-powerpoint.slide.macroenabled.12":["sldm"],"application/vnd.ms-powerpoint.slideshow.macroenabled.12":["ppsm"],"application/vnd.ms-powerpoint.template.macroenabled.12":["potm"],"application/vnd.ms-project":["mpp","mpt"],"application/vnd.ms-word.document.macroenabled.12":["docm"],"application/vnd.ms-word.template.macroenabled.12":["dotm"],"application/vnd.ms-works":["wps","wks","wcm","wdb"],"application/vnd.ms-wpl":["wpl"],"application/vnd.ms-xpsdocument":["xps"],"application/vnd.mseq":["mseq"],"application/vnd.musician":["mus"],"application/vnd.muvee.style":["msty"],"application/vnd.mynfc":["taglet"],"application/vnd.neurolanguage.nlu":["nlu"],"application/vnd.nitf":["ntf","nitf"],"application/vnd.noblenet-directory":["nnd"],"application/vnd.noblenet-sealer":["nns"],"application/vnd.noblenet-web":["nnw"],"application/vnd.nokia.n-gage.data":["ngdat"],"application/vnd.nokia.n-gage.symbian.install":["n-gage"],"application/vnd.nokia.radio-preset":["rpst"],"application/vnd.nokia.radio-presets":["rpss"],"application/vnd.novadigm.edm":["edm"],"application/vnd.novadigm.edx":["edx"],"application/vnd.novadigm.ext":["ext"],"application/vnd.oasis.opendocument.chart":["odc"],"application/vnd.oasis.opendocument.chart-template":["otc"],"application/vnd.oasis.opendocument.database":["odb"],"application/vnd.oasis.opendocument.formula":["odf"],"application/vnd.oasis.opendocument.formula-template":["odft"],"application/vnd.oasis.opendocument.graphics":["odg"],"application/vnd.oasis.opendocument.graphics-template":["otg"],"application/vnd.oasis.opendocument.image":["odi"],"application/vnd.oasis.opendocument.image-template":["oti"],"application/vnd.oasis.opendocument.presentation":["odp"],"application/vnd.oasis.opendocument.presentation-template":["otp"],"application/vnd.oasis.opendocument.spreadsheet":["ods"],"application/vnd.oasis.opendocument.spreadsheet-template":["ots"],"application/vnd.oasis.opendocument.text":["odt"],"application/vnd.oasis.opendocument.text-master":["odm"],"application/vnd.oasis.opendocument.text-template":["ott"],"application/vnd.oasis.opendocument.text-web":["oth"],"application/vnd.olpc-sugar":["xo"],"application/vnd.oma.dd2+xml":["dd2"],"application/vnd.openofficeorg.extension":["oxt"],"application/vnd.openxmlformats-officedocument.presentationml.presentation":["pptx"],"application/vnd.openxmlformats-officedocument.presentationml.slide":["sldx"],"application/vnd.openxmlformats-officedocument.presentationml.slideshow":["ppsx"],"application/vnd.openxmlformats-officedocument.presentationml.template":["potx"],"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":["xlsx"],"application/vnd.openxmlformats-officedocument.spreadsheetml.template":["xltx"],"application/vnd.openxmlformats-officedocument.wordprocessingml.document":["docx"],"application/vnd.openxmlformats-officedocument.wordprocessingml.template":["dotx"],"application/vnd.osgeo.mapguide.package":["mgp"],"application/vnd.osgi.dp":["dp"],"application/vnd.osgi.subsystem":["esa"],"application/vnd.palm":["pdb","pqa","oprc"],"application/vnd.pawaafile":["paw"],"application/vnd.pg.format":["str"],"application/vnd.pg.osasli":["ei6"],"application/vnd.picsel":["efif"],"application/vnd.pmi.widget":["wg"],"application/vnd.pocketlearn":["plf"],"application/vnd.powerbuilder6":["pbd"],"application/vnd.previewsystems.box":["box"],"application/vnd.proteus.magazine":["mgz"],"application/vnd.publishare-delta-tree":["qps"],"application/vnd.pvi.ptid1":["ptid"],"application/vnd.quark.quarkxpress":["qxd","qxt","qwd","qwt","qxl","qxb"],"application/vnd.realvnc.bed":["bed"],"application/vnd.recordare.musicxml":["mxl"],"application/vnd.recordare.musicxml+xml":["musicxml"],"application/vnd.rig.cryptonote":["cryptonote"],"application/vnd.rim.cod":["cod"],"application/vnd.rn-realmedia":["rm"],"application/vnd.rn-realmedia-vbr":["rmvb"],"application/vnd.route66.link66+xml":["link66"],"application/vnd.sailingtracker.track":["st"],"application/vnd.seemail":["see"],"application/vnd.sema":["sema"],"application/vnd.semd":["semd"],"application/vnd.semf":["semf"],"application/vnd.shana.informed.formdata":["ifm"],"application/vnd.shana.informed.formtemplate":["itp"],"application/vnd.shana.informed.interchange":["iif"],"application/vnd.shana.informed.package":["ipk"],"application/vnd.simtech-mindmapper":["twd","twds"],"application/vnd.smaf":["mmf"],"application/vnd.smart.teacher":["teacher"],"application/vnd.solent.sdkm+xml":["sdkm","sdkd"],"application/vnd.spotfire.dxp":["dxp"],"application/vnd.spotfire.sfs":["sfs"],"application/vnd.stardivision.calc":["sdc"],"application/vnd.stardivision.draw":["sda"],"application/vnd.stardivision.impress":["sdd"],"application/vnd.stardivision.math":["smf"],"application/vnd.stardivision.writer":["sdw","vor"],"application/vnd.stardivision.writer-global":["sgl"],"application/vnd.stepmania.package":["smzip"],"application/vnd.stepmania.stepchart":["sm"],"application/vnd.sun.wadl+xml":["wadl"],"application/vnd.sun.xml.calc":["sxc"],"application/vnd.sun.xml.calc.template":["stc"],"application/vnd.sun.xml.draw":["sxd"],"application/vnd.sun.xml.draw.template":["std"],"application/vnd.sun.xml.impress":["sxi"],"application/vnd.sun.xml.impress.template":["sti"],"application/vnd.sun.xml.math":["sxm"],"application/vnd.sun.xml.writer":["sxw"],"application/vnd.sun.xml.writer.global":["sxg"],"application/vnd.sun.xml.writer.template":["stw"],"application/vnd.sus-calendar":["sus","susp"],"application/vnd.svd":["svd"],"application/vnd.symbian.install":["sis","sisx"],"application/vnd.syncml+xml":["xsm"],"application/vnd.syncml.dm+wbxml":["bdm"],"application/vnd.syncml.dm+xml":["xdm"],"application/vnd.tao.intent-module-archive":["tao"],"application/vnd.tcpdump.pcap":["pcap","cap","dmp"],"application/vnd.tmobile-livetv":["tmo"],"application/vnd.trid.tpt":["tpt"],"application/vnd.triscape.mxs":["mxs"],"application/vnd.trueapp":["tra"],"application/vnd.ufdl":["ufd","ufdl"],"application/vnd.uiq.theme":["utz"],"application/vnd.umajin":["umj"],"application/vnd.unity":["unityweb"],"application/vnd.uoml+xml":["uoml"],"application/vnd.vcx":["vcx"],"application/vnd.visio":["vsd","vst","vss","vsw"],"application/vnd.visionary":["vis"],"application/vnd.vsf":["vsf"],"application/vnd.wap.wbxml":["wbxml"],"application/vnd.wap.wmlc":["wmlc"],"application/vnd.wap.wmlscriptc":["wmlsc"],"application/vnd.webturbo":["wtb"],"application/vnd.wolfram.player":["nbp"],"application/vnd.wordperfect":["wpd"],"application/vnd.wqd":["wqd"],"application/vnd.wt.stf":["stf"],"application/vnd.xara":["xar"],"application/vnd.xfdl":["xfdl"],"application/vnd.yamaha.hv-dic":["hvd"],"application/vnd.yamaha.hv-script":["hvs"],"application/vnd.yamaha.hv-voice":["hvp"],"application/vnd.yamaha.openscoreformat":["osf"],"application/vnd.yamaha.openscoreformat.osfpvg+xml":["osfpvg"],"application/vnd.yamaha.smaf-audio":["saf"],"application/vnd.yamaha.smaf-phrase":["spf"],"application/vnd.yellowriver-custom-menu":["cmp"],"application/vnd.zul":["zir","zirz"],"application/vnd.zzazz.deck+xml":["zaz"],"application/x-7z-compressed":["7z"],"application/x-abiword":["abw"],"application/x-ace-compressed":["ace"],"application/x-apple-diskimage":[],"application/x-arj":["arj"],"application/x-authorware-bin":["aab","x32","u32","vox"],"application/x-authorware-map":["aam"],"application/x-authorware-seg":["aas"],"application/x-bcpio":["bcpio"],"application/x-bdoc":[],"application/x-bittorrent":["torrent"],"application/x-blorb":["blb","blorb"],"application/x-bzip":["bz"],"application/x-bzip2":["bz2","boz"],"application/x-cbr":["cbr","cba","cbt","cbz","cb7"],"application/x-cdlink":["vcd"],"application/x-cfs-compressed":["cfs"],"application/x-chat":["chat"],"application/x-chess-pgn":["pgn"],"application/x-chrome-extension":["crx"],"application/x-cocoa":["cco"],"application/x-conference":["nsc"],"application/x-cpio":["cpio"],"application/x-csh":["csh"],"application/x-debian-package":["udeb"],"application/x-dgc-compressed":["dgc"],"application/x-director":["dir","dcr","dxr","cst","cct","cxt","w3d","fgd","swa"],"application/x-doom":["wad"],"application/x-dtbncx+xml":["ncx"],"application/x-dtbook+xml":["dtb"],"application/x-dtbresource+xml":["res"],"application/x-dvi":["dvi"],"application/x-envoy":["evy"],"application/x-eva":["eva"],"application/x-font-bdf":["bdf"],"application/x-font-ghostscript":["gsf"],"application/x-font-linux-psf":["psf"],"application/x-font-otf":[],"application/x-font-pcf":["pcf"],"application/x-font-snf":["snf"],"application/x-font-ttf":["ttf","ttc"],"application/x-font-type1":["pfa","pfb","pfm","afm"],"application/x-freearc":["arc"],"application/x-futuresplash":["spl"],"application/x-gca-compressed":["gca"],"application/x-glulx":["ulx"],"application/x-gnumeric":["gnumeric"],"application/x-gramps-xml":["gramps"],"application/x-gtar":["gtar"],"application/x-hdf":["hdf"],"application/x-httpd-php":["php"],"application/x-install-instructions":["install"],"application/x-iso9660-image":[],"application/x-java-archive-diff":["jardiff"],"application/x-java-jnlp-file":["jnlp"],"application/x-latex":["latex"],"application/x-lua-bytecode":["luac"],"application/x-lzh-compressed":["lzh","lha"],"application/x-makeself":["run"],"application/x-mie":["mie"],"application/x-mobipocket-ebook":["prc","mobi"],"application/x-ms-application":["application"],"application/x-ms-shortcut":["lnk"],"application/x-ms-wmd":["wmd"],"application/x-ms-wmz":["wmz"],"application/x-ms-xbap":["xbap"],"application/x-msaccess":["mdb"],"application/x-msbinder":["obd"],"application/x-mscardfile":["crd"],"application/x-msclip":["clp"],"application/x-msdos-program":[],"application/x-msdownload":["com","bat"],"application/x-msmediaview":["mvb","m13","m14"],"application/x-msmetafile":["wmf","emf","emz"],"application/x-msmoney":["mny"],"application/x-mspublisher":["pub"],"application/x-msschedule":["scd"],"application/x-msterminal":["trm"],"application/x-mswrite":["wri"],"application/x-netcdf":["nc","cdf"],"application/x-ns-proxy-autoconfig":["pac"],"application/x-nzb":["nzb"],"application/x-perl":["pl","pm"],"application/x-pilot":[],"application/x-pkcs12":["p12","pfx"],"application/x-pkcs7-certificates":["p7b","spc"],"application/x-pkcs7-certreqresp":["p7r"],"application/x-rar-compressed":["rar"],"application/x-redhat-package-manager":["rpm"],"application/x-research-info-systems":["ris"],"application/x-sea":["sea"],"application/x-sh":["sh"],"application/x-shar":["shar"],"application/x-shockwave-flash":["swf"],"application/x-silverlight-app":["xap"],"application/x-sql":["sql"],"application/x-stuffit":["sit"],"application/x-stuffitx":["sitx"],"application/x-subrip":["srt"],"application/x-sv4cpio":["sv4cpio"],"application/x-sv4crc":["sv4crc"],"application/x-t3vm-image":["t3"],"application/x-tads":["gam"],"application/x-tar":["tar"],"application/x-tcl":["tcl","tk"],"application/x-tex":["tex"],"application/x-tex-tfm":["tfm"],"application/x-texinfo":["texinfo","texi"],"application/x-tgif":["obj"],"application/x-ustar":["ustar"],"application/x-virtualbox-hdd":["hdd"],"application/x-virtualbox-ova":["ova"],"application/x-virtualbox-ovf":["ovf"],"application/x-virtualbox-vbox":["vbox"],"application/x-virtualbox-vbox-extpack":["vbox-extpack"],"application/x-virtualbox-vdi":["vdi"],"application/x-virtualbox-vhd":["vhd"],"application/x-virtualbox-vmdk":["vmdk"],"application/x-wais-source":["src"],"application/x-web-app-manifest+json":["webapp"],"application/x-x509-ca-cert":["der","crt","pem"],"application/x-xfig":["fig"],"application/x-xliff+xml":["xlf"],"application/x-xpinstall":["xpi"],"application/x-xz":["xz"],"application/x-zmachine":["z1","z2","z3","z4","z5","z6","z7","z8"],"audio/vnd.dece.audio":["uva","uvva"],"audio/vnd.digital-winds":["eol"],"audio/vnd.dra":["dra"],"audio/vnd.dts":["dts"],"audio/vnd.dts.hd":["dtshd"],"audio/vnd.lucent.voice":["lvp"],"audio/vnd.ms-playready.media.pya":["pya"],"audio/vnd.nuera.ecelp4800":["ecelp4800"],"audio/vnd.nuera.ecelp7470":["ecelp7470"],"audio/vnd.nuera.ecelp9600":["ecelp9600"],"audio/vnd.rip":["rip"],"audio/x-aac":["aac"],"audio/x-aiff":["aif","aiff","aifc"],"audio/x-caf":["caf"],"audio/x-flac":["flac"],"audio/x-m4a":[],"audio/x-matroska":["mka"],"audio/x-mpegurl":["m3u"],"audio/x-ms-wax":["wax"],"audio/x-ms-wma":["wma"],"audio/x-pn-realaudio":["ram","ra"],"audio/x-pn-realaudio-plugin":["rmp"],"audio/x-realaudio":[],"audio/x-wav":[],"chemical/x-cdx":["cdx"],"chemical/x-cif":["cif"],"chemical/x-cmdf":["cmdf"],"chemical/x-cml":["cml"],"chemical/x-csml":["csml"],"chemical/x-xyz":["xyz"],"image/prs.btif":["btif"],"image/vnd.adobe.photoshop":["psd"],"image/vnd.dece.graphic":["uvi","uvvi","uvg","uvvg"],"image/vnd.djvu":["djvu","djv"],"image/vnd.dvb.subtitle":[],"image/vnd.dwg":["dwg"],"image/vnd.dxf":["dxf"],"image/vnd.fastbidsheet":["fbs"],"image/vnd.fpx":["fpx"],"image/vnd.fst":["fst"],"image/vnd.fujixerox.edmics-mmr":["mmr"],"image/vnd.fujixerox.edmics-rlc":["rlc"],"image/vnd.ms-modi":["mdi"],"image/vnd.ms-photo":["wdp"],"image/vnd.net-fpx":["npx"],"image/vnd.wap.wbmp":["wbmp"],"image/vnd.xiff":["xif"],"image/x-3ds":["3ds"],"image/x-cmu-raster":["ras"],"image/x-cmx":["cmx"],"image/x-freehand":["fh","fhc","fh4","fh5","fh7"],"image/x-icon":["ico"],"image/x-jng":["jng"],"image/x-mrsid-image":["sid"],"image/x-ms-bmp":[],"image/x-pcx":["pcx"],"image/x-pict":["pic","pct"],"image/x-portable-anymap":["pnm"],"image/x-portable-bitmap":["pbm"],"image/x-portable-graymap":["pgm"],"image/x-portable-pixmap":["ppm"],"image/x-rgb":["rgb"],"image/x-tga":["tga"],"image/x-xbitmap":["xbm"],"image/x-xpixmap":["xpm"],"image/x-xwindowdump":["xwd"],"model/vnd.collada+xml":["dae"],"model/vnd.dwf":["dwf"],"model/vnd.gdl":["gdl"],"model/vnd.gtw":["gtw"],"model/vnd.mts":["mts"],"model/vnd.vtu":["vtu"],"text/prs.lines.tag":["dsc"],"text/vnd.curl":["curl"],"text/vnd.curl.dcurl":["dcurl"],"text/vnd.curl.mcurl":["mcurl"],"text/vnd.curl.scurl":["scurl"],"text/vnd.dvb.subtitle":["sub"],"text/vnd.fly":["fly"],"text/vnd.fmi.flexstor":["flx"],"text/vnd.graphviz":["gv"],"text/vnd.in3d.3dml":["3dml"],"text/vnd.in3d.spot":["spot"],"text/vnd.sun.j2me.app-descriptor":["jad"],"text/vnd.wap.wml":["wml"],"text/vnd.wap.wmlscript":["wmls"],"text/x-asm":["s","asm"],"text/x-c":["c","cc","cxx","cpp","h","hh","dic"],"text/x-component":["htc"],"text/x-fortran":["f","for","f77","f90"],"text/x-handlebars-template":["hbs"],"text/x-java-source":["java"],"text/x-lua":["lua"],"text/x-markdown":["mkd"],"text/x-nfo":["nfo"],"text/x-opml":["opml"],"text/x-org":[],"text/x-pascal":["p","pas"],"text/x-processing":["pde"],"text/x-sass":["sass"],"text/x-scss":["scss"],"text/x-setext":["etx"],"text/x-sfv":["sfv"],"text/x-suse-ymp":["ymp"],"text/x-uuencode":["uu"],"text/x-vcalendar":["vcs"],"text/x-vcard":["vcf"],"video/vnd.dece.hd":["uvh","uvvh"],"video/vnd.dece.mobile":["uvm","uvvm"],"video/vnd.dece.pd":["uvp","uvvp"],"video/vnd.dece.sd":["uvs","uvvs"],"video/vnd.dece.video":["uvv","uvvv"],"video/vnd.dvb.file":["dvb"],"video/vnd.fvt":["fvt"],"video/vnd.mpegurl":["mxu","m4u"],"video/vnd.ms-playready.media.pyv":["pyv"],"video/vnd.uvvu.mp4":["uvu","uvvu"],"video/vnd.vivo":["viv"],"video/x-f4v":["f4v"],"video/x-fli":["fli"],"video/x-flv":["flv"],"video/x-m4v":["m4v"],"video/x-matroska":["mkv","mk3d","mks"],"video/x-mng":["mng"],"video/x-ms-asf":["asf","asx"],"video/x-ms-vob":["vob"],"video/x-ms-wm":["wm"],"video/x-ms-wmv":["wmv"],"video/x-ms-wmx":["wmx"],"video/x-ms-wvx":["wvx"],"video/x-msvideo":["avi"],"video/x-sgi-movie":["movie"],"video/x-smv":["smv"],"x-conference/x-cooltalk":["ice"]}},{}],4:[function(t,e,n){e.exports={"application/andrew-inset":["ez"],"application/applixware":["aw"],"application/atom+xml":["atom"],"application/atomcat+xml":["atomcat"],"application/atomsvc+xml":["atomsvc"],"application/bdoc":["bdoc"],"application/ccxml+xml":["ccxml"],"application/cdmi-capability":["cdmia"],"application/cdmi-container":["cdmic"],"application/cdmi-domain":["cdmid"],"application/cdmi-object":["cdmio"],"application/cdmi-queue":["cdmiq"],"application/cu-seeme":["cu"],"application/dash+xml":["mpd"],"application/davmount+xml":["davmount"],"application/docbook+xml":["dbk"],"application/dssc+der":["dssc"],"application/dssc+xml":["xdssc"],"application/ecmascript":["ecma"],"application/emma+xml":["emma"],"application/epub+zip":["epub"],"application/exi":["exi"],"application/font-tdpfr":["pfr"],"application/font-woff":["woff"],"application/font-woff2":["woff2"],"application/geo+json":["geojson"],"application/gml+xml":["gml"],"application/gpx+xml":["gpx"],"application/gxf":["gxf"],"application/gzip":["gz"],"application/hyperstudio":["stk"],"application/inkml+xml":["ink","inkml"],"application/ipfix":["ipfix"],"application/java-archive":["jar","war","ear"],"application/java-serialized-object":["ser"],"application/java-vm":["class"],"application/javascript":["js","mjs"],"application/json":["json","map"],"application/json5":["json5"],"application/jsonml+json":["jsonml"],"application/ld+json":["jsonld"],"application/lost+xml":["lostxml"],"application/mac-binhex40":["hqx"],"application/mac-compactpro":["cpt"],"application/mads+xml":["mads"],"application/manifest+json":["webmanifest"],"application/marc":["mrc"],"application/marcxml+xml":["mrcx"],"application/mathematica":["ma","nb","mb"],"application/mathml+xml":["mathml"],"application/mbox":["mbox"],"application/mediaservercontrol+xml":["mscml"],"application/metalink+xml":["metalink"],"application/metalink4+xml":["meta4"],"application/mets+xml":["mets"],"application/mods+xml":["mods"],"application/mp21":["m21","mp21"],"application/mp4":["mp4s","m4p"],"application/msword":["doc","dot"],"application/mxf":["mxf"],"application/octet-stream":["bin","dms","lrf","mar","so","dist","distz","pkg","bpk","dump","elc","deploy","exe","dll","deb","dmg","iso","img","msi","msp","msm","buffer"],"application/oda":["oda"],"application/oebps-package+xml":["opf"],"application/ogg":["ogx"],"application/omdoc+xml":["omdoc"],"application/onenote":["onetoc","onetoc2","onetmp","onepkg"],"application/oxps":["oxps"],"application/patch-ops-error+xml":["xer"],"application/pdf":["pdf"],"application/pgp-encrypted":["pgp"],"application/pgp-signature":["asc","sig"],"application/pics-rules":["prf"],"application/pkcs10":["p10"],"application/pkcs7-mime":["p7m","p7c"],"application/pkcs7-signature":["p7s"],"application/pkcs8":["p8"],"application/pkix-attr-cert":["ac"],"application/pkix-cert":["cer"],"application/pkix-crl":["crl"],"application/pkix-pkipath":["pkipath"],"application/pkixcmp":["pki"],"application/pls+xml":["pls"],"application/postscript":["ai","eps","ps"],"application/pskc+xml":["pskcxml"],"application/rdf+xml":["rdf"],"application/reginfo+xml":["rif"],"application/relax-ng-compact-syntax":["rnc"],"application/resource-lists+xml":["rl"],"application/resource-lists-diff+xml":["rld"],"application/rls-services+xml":["rs"],"application/rpki-ghostbusters":["gbr"],"application/rpki-manifest":["mft"],"application/rpki-roa":["roa"],"application/rsd+xml":["rsd"],"application/rss+xml":["rss"],"application/rtf":["rtf"],"application/sbml+xml":["sbml"],"application/scvp-cv-request":["scq"],"application/scvp-cv-response":["scs"],"application/scvp-vp-request":["spq"],"application/scvp-vp-response":["spp"],"application/sdp":["sdp"],"application/set-payment-initiation":["setpay"],"application/set-registration-initiation":["setreg"],"application/shf+xml":["shf"],"application/smil+xml":["smi","smil"],"application/sparql-query":["rq"],"application/sparql-results+xml":["srx"],"application/srgs":["gram"],"application/srgs+xml":["grxml"],"application/sru+xml":["sru"],"application/ssdl+xml":["ssdl"],"application/ssml+xml":["ssml"],"application/tei+xml":["tei","teicorpus"],"application/thraud+xml":["tfi"],"application/timestamped-data":["tsd"],"application/voicexml+xml":["vxml"],"application/widget":["wgt"],"application/winhlp":["hlp"],"application/wsdl+xml":["wsdl"],"application/wspolicy+xml":["wspolicy"],"application/xaml+xml":["xaml"],"application/xcap-diff+xml":["xdf"],"application/xenc+xml":["xenc"],"application/xhtml+xml":["xhtml","xht"],"application/xml":["xml","xsl","xsd","rng"],"application/xml-dtd":["dtd"],"application/xop+xml":["xop"],"application/xproc+xml":["xpl"],"application/xslt+xml":["xslt"],"application/xspf+xml":["xspf"],"application/xv+xml":["mxml","xhvml","xvml","xvm"],"application/yang":["yang"],"application/yin+xml":["yin"],"application/zip":["zip"],"audio/3gpp":[],"audio/adpcm":["adp"],"audio/basic":["au","snd"],"audio/midi":["mid","midi","kar","rmi"],"audio/mp3":[],"audio/mp4":["m4a","mp4a"],"audio/mpeg":["mpga","mp2","mp2a","mp3","m2a","m3a"],"audio/ogg":["oga","ogg","spx"],"audio/s3m":["s3m"],"audio/silk":["sil"],"audio/wav":["wav"],"audio/wave":[],"audio/webm":["weba"],"audio/xm":["xm"],"font/otf":["otf"],"image/apng":["apng"],"image/bmp":["bmp"],"image/cgm":["cgm"],"image/g3fax":["g3"],"image/gif":["gif"],"image/ief":["ief"],"image/jpeg":["jpeg","jpg","jpe"],"image/ktx":["ktx"],"image/png":["png"],"image/sgi":["sgi"],"image/svg+xml":["svg","svgz"],"image/tiff":["tiff","tif"],"image/webp":["webp"],"message/rfc822":["eml","mime"],"model/gltf+json":["gltf"],"model/gltf-binary":["glb"],"model/iges":["igs","iges"],"model/mesh":["msh","mesh","silo"],"model/vrml":["wrl","vrml"],"model/x3d+binary":["x3db","x3dbz"],"model/x3d+vrml":["x3dv","x3dvz"],"model/x3d+xml":["x3d","x3dz"],"text/cache-manifest":["appcache","manifest"],"text/calendar":["ics","ifb"],"text/coffeescript":["coffee","litcoffee"],"text/css":["css"],"text/csv":["csv"],"text/hjson":["hjson"],"text/html":["html","htm","shtml"],"text/jade":["jade"],"text/jsx":["jsx"],"text/less":["less"],"text/markdown":["markdown","md"],"text/mathml":["mml"],"text/n3":["n3"],"text/plain":["txt","text","conf","def","list","log","in","ini"],"text/richtext":["rtx"],"text/rtf":[],"text/sgml":["sgml","sgm"],"text/slim":["slim","slm"],"text/stylus":["stylus","styl"],"text/tab-separated-values":["tsv"],"text/troff":["t","tr","roff","man","me","ms"],"text/turtle":["ttl"],"text/uri-list":["uri","uris","urls"],"text/vcard":["vcard"],"text/vtt":["vtt"],"text/xml":[],"text/yaml":["yaml","yml"],"video/3gpp":["3gp","3gpp"],"video/3gpp2":["3g2"],"video/h261":["h261"],"video/h263":["h263"],"video/h264":["h264"],"video/jpeg":["jpgv"],"video/jpm":["jpm","jpgm"],"video/mj2":["mj2","mjp2"],"video/mp2t":["ts"],"video/mp4":["mp4","mp4v","mpg4"],"video/mpeg":["mpeg","mpg","mpe","m1v","m2v"],"video/ogg":["ogv"],"video/quicktime":["qt","mov"],"video/webm":["webm"]}},{}]},{},[2])(2)}))}).call(this,void 0!==commonjsGlobal?commonjsGlobal:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"babel-runtime/core-js/object/create":19,"babel-runtime/helpers/classCallCheck":30,"babel-runtime/helpers/createClass":31,"babel-runtime/helpers/typeof":32}],243:[function(t,e,n){n.encodeURIComponent=function(t){try{return encodeURIComponent(t)}catch(e){return t}},n.escape=t("escape-html"),n.timestamp=function(t){if(t){var e=t;return"string"==typeof e&&(e=Number(e)),10===String(t).length&&(e*=1e3),new Date(e)}return Math.round(Date.now()/1e3)}},{"escape-html":157}],244:[function(t,e,n){(function(e,r){function o(t){return t&&t.__esModule?t:{default:t}}function i(t,e){return void 0===t?e:t}function a(t,e){return function(n,r,o){return n?e(n):void t({data:r,status:o.statusCode,headers:o.headers,res:o})}}var s,c=o(t("babel-runtime/core-js/json/stringify")),u=o(t("babel-runtime/helpers/typeof")),l=t("util"),p=t("url"),f=t("http"),d=t("https"),h=t("debug")("urllib"),m=t("humanize-ms"),g=0,v=Math.pow(2,31)-10,y=/^https?:\/\//i;n.TIMEOUTS=[m("300s"),m("300s")];var b=["json","text"];n.request=function(e,r,o){return 2===arguments.length&&"function"==typeof r&&(o=r,r=null),"function"==typeof o?n.requestWithCallback(e,r,o):(s||(s=t("any-promise")),new s((function(t,o){n.requestWithCallback(e,r,a(t,o))})))},n.requestWithCallback=function(e,o,a){function s(){W&&(clearTimeout(W),W=null)}function w(){X&&(clearTimeout(X),X=null)}function x(t,r,i){if(w(),a){var s=a;a=null;var u={};if(i&&(tt=i.statusCode,u=i.headers),401===tt&&u["www-authenticate"]&&(!o.headers||!o.headers.Authorization)&&o.digestAuth){var l=u["www-authenticate"];if(l.indexOf("Digest ")>=0)return h("Request#%d %s: got digest auth header WWW-Authenticate: %s",P,e,l),o.headers=o.headers||{},o.headers.Authorization=digestAuthHeader(N.method,N.path,l,o.digestAuth),h("Request#%d %s: auth with digest header: %s",P,e,o.headers.Authorization),i.headers["set-cookie"]&&(o.headers.Cookie=i.headers["set-cookie"].join(";")),n.requestWithCallback(e,o,s)}var p=Date.now()-M;ot&&(ot.contentDownload=p),h("[%sms] done, %s bytes HTTP %s %s %s %s, keepAliveSocket: %s, timing: %j",p,J,tt,N.method,N.host,N.path,Q,ot);var f={status:tt,statusCode:tt,headers:u,size:J,aborted:et,rt:p,keepAliveSocket:Q,data:r,requestUrls:o.requestUrls,timing:ot,remoteAddress:nt,remotePort:rt};if(t){var d="";D&&"function"==typeof D.getCurrentStatus&&(d=", agent status: "+(0,c.default)(D.getCurrentStatus())),t.message+=", "+N.method+" "+e+" "+tt+" (connected: "+Z+", keepalive socket: "+Q+d+")\nheaders: "+(0,c.default)(u),t.data=r,t.path=N.path,t.status=tt,t.headers=u,t.res=f}s(t,r,o.streaming?i:f),o.emitter&&(O.url=e,O.socket=st&&st.connection,O.options=N,O.size=V,o.emitter.emit("response",{requestId:P,error:t,ctx:o.ctx,req:O,res:f}))}}function _(t){var r=null;if(o.followRedirect&&statuses.redirect[t.statusCode]){o._followRedirectCount=(o._followRedirectCount||0)+1;var i=t.headers.location;if(i){if(!(o._followRedirectCount>o.maxRedirects)){var s=o.formatRedirectUrl?o.formatRedirectUrl(e,i):p.resolve(e,i);h("Request#%d %s: `redirected` from %s to %s",P,N.path,e,s),w(),o.headers&&o.headers.Host&&y.test(i)&&(o.headers.Host=null);var c=a;return a=null,n.requestWithCallback(s,o,c),{redirect:!0,error:null}}(r=new Error("Exceeded maxRedirects. Probably stuck in a redirect loop "+e)).name="MaxRedirectError"}else(r=new Error("Got statusCode "+t.statusCode+" but cannot resolve next location from headers")).name="FollowRedirectError"}return{redirect:!1,error:r}}function A(t,e,n){return n(null,e,t.headers["content-encoding"])}function k(t){var n;if(ot&&(ot.waiting=Date.now()-M),h("Request#%d %s `req response` event emit: status %d, headers: %j",P,e,t.statusCode,t.headers),o.streaming)return(n=_(t)).redirect?void t.resume():n.error?(t.resume(),x(n.error,null,t)):x(null,null,t);if(t.on("close",(function(){h("Request#%d %s: `res close` event emit, total size %d",P,e,J)})),t.on("error",(function(){h("Request#%d %s: `res error` event emit, total size %d",P,e,J)})),t.on("aborted",(function(){et=!0,h("Request#%d %s: `res aborted` event emit, total size %d",P,e,J)})),ct)return(n=_(t)).redirect?void t.resume():n.error?(t.resume(),ct.end(),x(n.error,null,t)):(!1===o.consumeWriteStream?t.on("end",x.bind(null,null,null,t)):isNode010||isNode012?first([[ct,"close"],[t,"aborted"]],(function(n,r,o){h("Request#%d %s: writeStream or res %s event emitted",P,e,o),x(Y||null,null,t)})):ct.on("close",(function(){h("Request#%d %s: writeStream close event emitted",P,e),x(Y||null,null,t)})),t.pipe(ct));var i=[];t.on("data",(function(t){h("Request#%d %s: `res data` event emit, size %d",P,e,t.length),J+=t.length,i.push(t)})),t.on("end",(function(){var n=r.concat(i,J);if(h("Request#%d %s: `res end` event emit, total size %d, _dumped: %s",P,e,J,t._dumped),Y)return x(Y,n,t);var a=_(t);return a.error?x(a.error,n,t):void(a.redirect||A(t,n,(function(r,i,a){if(r)return x(r,n,t);if(!a&&b.indexOf(o.dataType)>=0){try{i=decodeBodyByCharset(i,t)}catch(e){return h("decodeBodyByCharset error: %s",e),x(null,i,t)}if("json"===o.dataType)if(0===J)i=null;else{var s=parseJSON(i,B);s.error?r=s.error:i=s.data}}et&&h("Request#%d %s: Remote socket was terminated before `response.end()` was called",P,e),x(r,i,t)})))}))}function E(){h("Connect timer ticking, timeout: %d",it),W=setTimeout((function(){W=null,-1===tt&&(tt=-2);var t="Connect timeout for "+it+"ms",n="ConnectionTimeoutError";st.socket||(n="SocketAssignTimeoutError",t+=", working sockets is full"),(Y=new Error(t)).name=n,Y.requestId=P,h("ConnectTimeout: Request#%d %s %s: %s, connected: %s",P,e,Y.name,t,Z),T()}),it)}function S(){h("Response timer ticking, timeout: %d",at),X=setTimeout((function(){X=null;var t="Response timeout for "+at+"ms",n="ResponseTimeoutError";(Y=new Error(t)).name=n,Y.requestId=P,h("ResponseTimeout: Request#%d %s %s: %s, connected: %s",P,e,Y.name,t,Z),T()}),at)}function T(){h("Request#%d %s abort, connected: %s",P,e,Z),st.socket||(Y.noSocket=!0,x(Y)),st.abort()}if(!e||"string"!=typeof e&&"object"!==(void 0===e?"undefined":(0,u.default)(e))){var C=l.format("expect request url to be a string or a http request options, but got %j",e);throw new Error(C)}2===arguments.length&&"function"==typeof o&&(a=o,o=null),g>=v&&(g=0);var P=++g;(o=o||{}).requestUrls=o.requestUrls||[];var O={requestId:P,url:e,args:o,ctx:o.ctx};o.emitter&&o.emitter.emit("request",O),o.timeout=o.timeout||n.TIMEOUTS,o.maxRedirects=o.maxRedirects||10,o.streaming=o.streaming||o.customResponse;var L,M=Date.now();"string"==typeof e?(y.test(e)||(e="http://"+e),L=p.parse(e)):L=e;var R=(o.type||o.method||L.method||"GET").toUpperCase(),I=L.port||80,j=f,D=i(o.agent,n.agent),B=o.fixJSONCtlChars;"https:"===L.protocol&&(j=d,D=i(o.httpsAgent,n.httpsAgent),L.port||(I=443));var N={host:L.hostname||L.host||"localhost",path:L.path||"/",method:R,port:I,agent:D,headers:o.headers||{},lookup:o.lookup};Array.isArray(o.timeout)?N.requestTimeout=o.timeout[o.timeout.length-1]:void 0!==o.timeout&&(N.requestTimeout=o.timeout);for(var U=["pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","secureProtocol","secureOptions"],$=0;$<U.length;$++){var F=U[$];o.hasOwnProperty(F)&&(N[F]=o[F])}!1!==N.rejectUnauthorized||N.hasOwnProperty("secureOptions")||(N.secureOptions=t("constants").SSL_OP_NO_TLSv1_2);var G=o.auth||L.auth;G&&(N.auth=G);var q=o.content||o.data,K="GET"===R||"HEAD"===R||o.dataAsQueryString;if(!o.content&&q&&"string"!=typeof q&&!r.isBuffer(q))if(K)q=o.nestedQuerystring?qs.stringify(q):querystring.stringify(q);else{var H=N.headers["Content-Type"]||N.headers["content-type"];H||(H="json"===o.contentType?"application/json":"application/x-www-form-urlencoded",N.headers["Content-Type"]=H),q="application/json"===parseContentType(H).type?(0,c.default)(q):o.nestedQuerystring?qs.stringify(q):querystring.stringify(q)}K&&q&&(N.path+=(L.query?"&":"?")+q,q=null);var V=0;if(q){var z=q.length;r.isBuffer(q)||(z=r.byteLength(q)),V=N.headers["Content-Length"]=z}"json"===o.dataType&&(N.headers.Accept="application/json"),"function"==typeof o.beforeRequest&&o.beforeRequest(N);var W=null,X=null,Y=null,Z=!1,Q=!1,J=0,tt=-1,et=!1,nt="",rt="",ot=null;o.timing&&(ot={queuing:0,dnslookup:0,connected:0,requestSent:0,waiting:0,contentDownload:0}),N.headers["User-Agent"]||N.headers["user-agent"]||(N.headers["User-Agent"]=navigator.userAgent),o.gzip&&(N.headers["Accept-Encoding"]||N.headers["accept-encoding"]||(N.headers["Accept-Encoding"]="gzip"));var it,at,st,ct=o.writeStream;h("Request#%d %s %s with headers %j, options.path: %s",P,R,e,N.headers,N.path),o.requestUrls.push(e),Array.isArray(o.timeout)?(it=m(o.timeout[0]),at=m(o.timeout[1])):it=at=m(o.timeout),h("ConnectTimeout: %d, ResponseTimeout: %d",it,at);try{st=j.request(N,k)}catch(t){return x(t)}return"undefined"==typeof window?E():st.on("requestTimeout",(function(){-1===tt&&(tt=-2);var t="ConnectionTimeoutError";(Y=new Error("Connect timeout for "+it+"ms")).name=t,Y.requestId=P,T()})),ot&&st.on("finish",(function(){ot.requestSent=Date.now()-M})),st.once("socket",(function(t){ot&&(ot.queuing=Date.now()-M),isNode010&&t.socket&&(t=t.socket);var n=t.readyState;return"opening"===n?(t.once("lookup",(function(t,n,r){h("Request#%d %s lookup: %s, %s, %s",P,e,t,n,r),ot&&(ot.dnslookup=Date.now()-M),n&&(nt=n)})),void t.once("connect",(function(){ot&&(ot.connected=Date.now()-M),s(),S(),h("Request#%d %s new socket connected",P,e),Z=!0,nt||(nt=t.remoteAddress),rt=t.remotePort}))):(h("Request#%d %s reuse socket connected, readyState: %s",P,e,n),Z=!0,Q=!0,nt||(nt=t.remoteAddress),rt=t.remotePort,s(),void S())})),st.on("error",(function(t){("Error"===t.name||"TypeError"===t.name)&&(t.name=Z?"ResponseError":"RequestError"),t.message+=' (req "error")',h("Request#%d %s `req error` event emit, %s: %s",P,e,t.name,t.message),x(Y||t)})),ct&&ct.once("error",(function(t){t.message+=' (writeStream "error")',Y=t,h("Request#%d %s `writeStream error` event emit, %s: %s",P,e,t.name,t.message),T()})),o.stream?(o.stream.pipe(st),o.stream.once("error",(function(t){t.message+=' (stream "error")',Y=t,h("Request#%d %s `readStream error` event emit, %s: %s",P,e,t.name,t.message),T()}))):st.end(q),st.requestId=P,st}}).call(this,t("_process"),t("buffer").Buffer)},{_process:173,"any-promise":13,"babel-runtime/core-js/json/stringify":17,"babel-runtime/helpers/typeof":32,buffer:38,constants:42,debug:155,http:196,https:159,"humanize-ms":160,url:203,util:207}]},{},[1])(1)}();var aliyunOssSdk_apaas_minExports=aliyunOssSdk_apaas_min.exports,OSS=getDefaultExportFromCjs(aliyunOssSdk_apaas_minExports),esdkObsBrowserjs_3_22_3_min={exports:{}};self,esdkObsBrowserjs_3_22_3_min.exports=function(){var t,e,n={8392:function(t,e,n){n(824),n(303),n(9265),n(706),n(6753),n(730),n(4906),n(4525),n(3618),n(1844),n(6371),n(1446),n(70),n(6028)},2990:function(t,e,n){t.exports=n(7408)},7648:function(t,e,n){var r=n(610),o=n(2334),i=n(4942),a=n(3210),s=n(5755),c=n(3741),u=n(9912),l=n(5080),p=n(1306),f=n(5092);t.exports=function(t){return new Promise((function(e,n){var d,h=t.data,m=t.headers,g=t.responseType;function v(){t.cancelToken&&t.cancelToken.unsubscribe(d),t.signal&&t.signal.removeEventListener("abort",d)}r.isFormData(h)&&delete m["Content-Type"];var y=new XMLHttpRequest;if(t.auth){var b=t.auth.username||"",w=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";m.Authorization="Basic "+btoa(b+":"+w)}var x=s(t.baseURL,t.url);function _(){if(y){var r="getAllResponseHeaders"in y?c(y.getAllResponseHeaders()):null,i={data:g&&"text"!==g&&"json"!==g?y.response:y.responseText,status:y.status,statusText:y.statusText,headers:r,config:t,request:y};o((function(t){e(t),v()}),(function(t){n(t),v()}),i),y=null}}if(y.open(t.method.toUpperCase(),a(x,t.params,t.paramsSerializer),!0),y.timeout=t.timeout,"onloadend"in y?y.onloadend=_:y.onreadystatechange=function(){y&&4===y.readyState&&(0!==y.status||y.responseURL&&0===y.responseURL.indexOf("file:"))&&setTimeout(_)},y.onabort=function(){y&&(n(l("Request aborted",t,"ECONNABORTED",y)),y=null)},y.onerror=function(){n(l("Network Error",t,null,y)),y=null},y.ontimeout=function(){var e=t.timeout?"timeout of "+t.timeout+"ms exceeded":"timeout exceeded",r=t.transitional||p;t.timeoutErrorMessage&&(e=t.timeoutErrorMessage),n(l(e,t,r.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",y)),y=null},r.isStandardBrowserEnv()){var A=(t.withCredentials||u(x))&&t.xsrfCookieName?i.read(t.xsrfCookieName):void 0;A&&(m[t.xsrfHeaderName]=A)}"setRequestHeader"in y&&r.forEach(m,(function(t,e){void 0===h&&"content-type"===e.toLowerCase()?delete m[e]:y.setRequestHeader(e,t)})),r.isUndefined(t.withCredentials)||(y.withCredentials=!!t.withCredentials),g&&"json"!==g&&(y.responseType=t.responseType),"function"==typeof t.onDownloadProgress&&y.addEventListener("progress",t.onDownloadProgress),"function"==typeof t.onUploadProgress&&y.upload&&y.upload.addEventListener("progress",t.onUploadProgress),(t.cancelToken||t.signal)&&(d=function(t){y&&(n(!t||t&&t.type?new f("canceled"):t),y.abort(),y=null)},t.cancelToken&&t.cancelToken.subscribe(d),t.signal&&(t.signal.aborted?d():t.signal.addEventListener("abort",d))),h||(h=null),y.send(h)}))}},7408:function(t,e,n){var r=n(610),o=n(3824),i=n(1030),a=n(8261),s=function t(e){var n=new i(e),s=o(i.prototype.request,n);return r.extend(s,i.prototype,n),r.extend(s,n),s.create=function(n){return t(a(e,n))},s}(n(479));s.Axios=i,s.Cancel=n(5092),s.CancelToken=n(1667),s.isCancel=n(2969),s.VERSION=n(9815).version,s.all=function(t){return Promise.all(t)},s.spread=n(8629),s.isAxiosError=n(2101),t.exports=s,t.exports.default=s},5092:function(t){function e(t){this.message=t}e.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},e.prototype.__CANCEL__=!0,t.exports=e},1667:function(t,e,n){var r=n(5092);function o(t){if("function"!=typeof t)throw new TypeError("executor must be a function.");var e;this.promise=new Promise((function(t){e=t}));var n=this;this.promise.then((function(t){if(n._listeners){var e,r=n._listeners.length;for(e=0;e<r;e++)n._listeners[e](t);n._listeners=null}})),this.promise.then=function(t){var e,r=new Promise((function(t){n.subscribe(t),e=t})).then(t);return r.cancel=function(){n.unsubscribe(e)},r},t((function(t){n.reason||(n.reason=new r(t),e(n.reason))}))}o.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},o.prototype.subscribe=function(t){this.reason?t(this.reason):this._listeners?this._listeners.push(t):this._listeners=[t]},o.prototype.unsubscribe=function(t){if(this._listeners){var e=this._listeners.indexOf(t);-1!==e&&this._listeners.splice(e,1)}},o.source=function(){var t;return{token:new o((function(e){t=e})),cancel:t}},t.exports=o},2969:function(t){t.exports=function(t){return!(!t||!t.__CANCEL__)}},1030:function(t,e,n){var r=n(610),o=n(3210),i=n(3952),a=n(7544),s=n(8261),c=n(6660),u=c.validators;function l(t){this.defaults=t,this.interceptors={request:new i,response:new i}}l.prototype.request=function(t,e){"string"==typeof t?(e=e||{}).url=t:e=t||{},(e=s(this.defaults,e)).method?e.method=e.method.toLowerCase():this.defaults.method?e.method=this.defaults.method.toLowerCase():e.method="get";var n=e.transitional;void 0!==n&&c.assertOptions(n,{silentJSONParsing:u.transitional(u.boolean),forcedJSONParsing:u.transitional(u.boolean),clarifyTimeoutError:u.transitional(u.boolean)},!1);var r=[],o=!0;this.interceptors.request.forEach((function(t){"function"==typeof t.runWhen&&!1===t.runWhen(e)||(o=o&&t.synchronous,r.unshift(t.fulfilled,t.rejected))}));var i,l=[];if(this.interceptors.response.forEach((function(t){l.push(t.fulfilled,t.rejected)})),!o){var p=[a,void 0];for(Array.prototype.unshift.apply(p,r),p=p.concat(l),i=Promise.resolve(e);p.length;)i=i.then(p.shift(),p.shift());return i}for(var f=e;r.length;){var d=r.shift(),h=r.shift();try{f=d(f)}catch(t){h(t);break}}try{i=a(f)}catch(t){return Promise.reject(t)}for(;l.length;)i=i.then(l.shift(),l.shift());return i},l.prototype.getUri=function(t){return t=s(this.defaults,t),o(t.url,t.params,t.paramsSerializer).replace(/^\?/,"")},r.forEach(["delete","get","head","options"],(function(t){l.prototype[t]=function(e,n){return this.request(s(n||{},{method:t,url:e,data:(n||{}).data}))}})),r.forEach(["post","put","patch"],(function(t){l.prototype[t]=function(e,n,r){return this.request(s(r||{},{method:t,url:e,data:n}))}})),t.exports=l},3952:function(t,e,n){var r=n(610);function o(){this.handlers=[]}o.prototype.use=function(t,e,n){return this.handlers.push({fulfilled:t,rejected:e,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1},o.prototype.eject=function(t){this.handlers[t]&&(this.handlers[t]=null)},o.prototype.forEach=function(t){r.forEach(this.handlers,(function(e){null!==e&&t(e)}))},t.exports=o},5755:function(t,e,n){var r=n(7204),o=n(117);t.exports=function(t,e){return t&&!r(e)?o(t,e):e}},5080:function(t,e,n){var r=n(4980);t.exports=function(t,e,n,o,i){var a=new Error(t);return r(a,e,n,o,i)}},7544:function(t,e,n){var r=n(610),o=n(8622),i=n(2969),a=n(479),s=n(5092);function c(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new s("canceled")}t.exports=function(t){return c(t),t.headers=t.headers||{},t.data=o.call(t,t.data,t.headers,t.transformRequest),t.headers=r.merge(t.headers.common||{},t.headers[t.method]||{},t.headers),r.forEach(["delete","get","head","post","put","patch","common"],(function(e){delete t.headers[e]})),(t.adapter||a.adapter)(t).then((function(e){return c(t),e.data=o.call(t,e.data,e.headers,t.transformResponse),e}),(function(e){return i(e)||(c(t),e&&e.response&&(e.response.data=o.call(t,e.response.data,e.response.headers,t.transformResponse))),Promise.reject(e)}))}},4980:function(t){t.exports=function(t,e,n,r,o){return t.config=e,n&&(t.code=n),t.request=r,t.response=o,t.isAxiosError=!0,t.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code,status:this.response&&this.response.status?this.response.status:null}},t}},8261:function(t,e,n){var r=n(610);t.exports=function(t,e){e=e||{};var n={};function o(t,e){return r.isPlainObject(t)&&r.isPlainObject(e)?r.merge(t,e):r.isPlainObject(e)?r.merge({},e):r.isArray(e)?e.slice():e}function i(n){return r.isUndefined(e[n])?r.isUndefined(t[n])?void 0:o(void 0,t[n]):o(t[n],e[n])}function a(t){if(!r.isUndefined(e[t]))return o(void 0,e[t])}function s(n){return r.isUndefined(e[n])?r.isUndefined(t[n])?void 0:o(void 0,t[n]):o(void 0,e[n])}function c(n){return n in e?o(t[n],e[n]):n in t?o(void 0,t[n]):void 0}var u={url:a,method:a,data:a,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:c};return r.forEach(Object.keys(t).concat(Object.keys(e)),(function(t){var e=u[t]||i,o=e(t);r.isUndefined(o)&&e!==c||(n[t]=o)})),n}},2334:function(t,e,n){var r=n(5080);t.exports=function(t,e,n){var o=n.config.validateStatus;n.status&&o&&!o(n.status)?e(r("Request failed with status code "+n.status,n.config,null,n.request,n)):t(n)}},8622:function(t,e,n){var r=n(610),o=n(479);t.exports=function(t,e,n){var i=this||o;return r.forEach(n,(function(n){t=n.call(i,t,e)})),t}},479:function(t,e,n){var r=n(610),o=n(928),i=n(4980),a=n(1306),s={"Content-Type":"application/x-www-form-urlencoded"};function c(t,e){!r.isUndefined(t)&&r.isUndefined(t["Content-Type"])&&(t["Content-Type"]=e)}var u,l={transitional:a,adapter:(("undefined"!=typeof XMLHttpRequest||"undefined"!=typeof process&&"[object process]"===Object.prototype.toString.call(process))&&(u=n(7648)),u),transformRequest:[function(t,e){return o(e,"Accept"),o(e,"Content-Type"),r.isFormData(t)||r.isArrayBuffer(t)||r.isBuffer(t)||r.isStream(t)||r.isFile(t)||r.isBlob(t)?t:r.isArrayBufferView(t)?t.buffer:r.isURLSearchParams(t)?(c(e,"application/x-www-form-urlencoded;charset=utf-8"),t.toString()):r.isObject(t)||e&&"application/json"===e["Content-Type"]?(c(e,"application/json"),function(t,e,n){if(r.isString(t))try{return(0,JSON.parse)(t),r.trim(t)}catch(t){if("SyntaxError"!==t.name)throw t}return(0,JSON.stringify)(t)}(t)):t}],transformResponse:[function(t){var e=this.transitional||l.transitional,n=e&&e.silentJSONParsing,o=e&&e.forcedJSONParsing,a=!n&&"json"===this.responseType;if(a||o&&r.isString(t)&&t.length)try{return JSON.parse(t)}catch(t){if(a){if("SyntaxError"===t.name)throw i(t,this,"E_JSON_PARSE");throw t}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};r.forEach(["delete","get","head"],(function(t){l.headers[t]={}})),r.forEach(["post","put","patch"],(function(t){l.headers[t]=r.merge(s)})),t.exports=l},1306:function(t){t.exports={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1}},9815:function(t){t.exports={version:"0.26.1"}},3824:function(t){t.exports=function(t,e){return function(){for(var n=new Array(arguments.length),r=0;r<n.length;r++)n[r]=arguments[r];return t.apply(e,n)}}},3210:function(t,e,n){var r=n(610);function o(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}t.exports=function(t,e,n){if(!e)return t;var i;if(n)i=n(e);else if(r.isURLSearchParams(e))i=e.toString();else{var a=[];r.forEach(e,(function(t,e){null!=t&&(r.isArray(t)?e+="[]":t=[t],r.forEach(t,(function(t){r.isDate(t)?t=t.toISOString():r.isObject(t)&&(t=JSON.stringify(t)),a.push(o(e)+"="+o(t))})))})),i=a.join("&")}if(i){var s=t.indexOf("#");-1!==s&&(t=t.slice(0,s)),t+=(-1===t.indexOf("?")?"?":"&")+i}return t}},117:function(t){t.exports=function(t,e){return e?t.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,""):t}},4942:function(t,e,n){var r=n(610);t.exports=r.isStandardBrowserEnv()?{write:function(t,e,n,o,i,a){var s=[];s.push(t+"="+encodeURIComponent(e)),r.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),r.isString(o)&&s.push("path="+o),r.isString(i)&&s.push("domain="+i),!0===a&&s.push("secure"),document.cookie=s.join("; ")},read:function(t){var e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove:function(t){this.write(t,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},7204:function(t){t.exports=function(t){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)}},2101:function(t,e,n){var r=n(610);t.exports=function(t){return r.isObject(t)&&!0===t.isAxiosError}},9912:function(t,e,n){var r=n(610);t.exports=r.isStandardBrowserEnv()?function(){var t,e=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function o(t){var r=t;return e&&(n.setAttribute("href",r),r=n.href),n.setAttribute("href",r),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return t=o(window.location.href),function(e){var n=r.isString(e)?o(e):e;return n.protocol===t.protocol&&n.host===t.host}}():function(){return!0}},928:function(t,e,n){var r=n(610);t.exports=function(t,e){r.forEach(t,(function(n,r){r!==e&&r.toUpperCase()===e.toUpperCase()&&(t[e]=n,delete t[r])}))}},3741:function(t,e,n){var r=n(610),o=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];t.exports=function(t){var e,n,i,a={};return t?(r.forEach(t.split("\n"),(function(t){if(i=t.indexOf(":"),e=r.trim(t.substr(0,i)).toLowerCase(),n=r.trim(t.substr(i+1)),e){if(a[e]&&o.indexOf(e)>=0)return;a[e]="set-cookie"===e?(a[e]?a[e]:[]).concat([n]):a[e]?a[e]+", "+n:n}})),a):a}},8629:function(t){t.exports=function(t){return function(e){return t.apply(null,e)}}},6660:function(t,e,n){function r(t){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r(t)}var o=n(9815).version,i={};["object","boolean","number","function","string","symbol"].forEach((function(t,e){i[t]=function(n){return r(n)===t||"a"+(e<1?"n ":" ")+t}}));var a={};i.transitional=function(t,e,n){function r(t,e){return"[Axios v"+o+"] Transitional option '"+t+"'"+e+(n?". "+n:"")}return function(n,o,i){if(!1===t)throw new Error(r(o," has been removed"+(e?" in "+e:"")));return e&&!a[o]&&(a[o]=!0,console.warn(r(o," has been deprecated since v"+e+" and will be removed in the near future"))),!t||t(n,o,i)}},t.exports={assertOptions:function(t,e,n){if("object"!==r(t))throw new TypeError("options must be an object");for(var o=Object.keys(t),i=o.length;i-- >0;){var a=o[i],s=e[a];if(s){var c=t[a],u=void 0===c||s(c,a,t);if(!0!==u)throw new TypeError("option "+a+" must be "+u)}else if(!0!==n)throw Error("Unknown option "+a)}},validators:i}},610:function(t,e,n){function r(t){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r(t)}var o=n(3824),i=Object.prototype.toString;function a(t){return Array.isArray(t)}function s(t){return void 0===t}function c(t){return"[object ArrayBuffer]"===i.call(t)}function u(t){return null!==t&&"object"===r(t)}function l(t){if("[object Object]"!==i.call(t))return!1;var e=Object.getPrototypeOf(t);return null===e||e===Object.prototype}function p(t){return"[object Function]"===i.call(t)}function f(t,e){if(null!=t)if("object"!==r(t)&&(t=[t]),a(t))for(var n=0,o=t.length;n<o;n++)e.call(null,t[n],n,t);else for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.call(null,t[i],i,t)}t.exports={isArray:a,isArrayBuffer:c,isBuffer:function(t){return null!==t&&!s(t)&&null!==t.constructor&&!s(t.constructor)&&"function"==typeof t.constructor.isBuffer&&t.constructor.isBuffer(t)},isFormData:function(t){return"[object FormData]"===i.call(t)},isArrayBufferView:function(t){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(t):t&&t.buffer&&c(t.buffer)},isString:function(t){return"string"==typeof t},isNumber:function(t){return"number"==typeof t},isObject:u,isPlainObject:l,isUndefined:s,isDate:function(t){return"[object Date]"===i.call(t)},isFile:function(t){return"[object File]"===i.call(t)},isBlob:function(t){return"[object Blob]"===i.call(t)},isFunction:p,isStream:function(t){return u(t)&&p(t.pipe)},isURLSearchParams:function(t){return"[object URLSearchParams]"===i.call(t)},isStandardBrowserEnv:function(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&"undefined"!=typeof window&&"undefined"!=typeof document},forEach:f,merge:function t(){var e={};function n(n,r){l(e[r])&&l(n)?e[r]=t(e[r],n):l(n)?e[r]=t({},n):a(n)?e[r]=n.slice():e[r]=n}for(var r=0,o=arguments.length;r<o;r++)f(arguments[r],n);return e},extend:function(t,e,n){return f(e,(function(e,r){t[r]=n&&"function"==typeof e?o(e,n):e})),t},trim:function(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")},stripBOM:function(t){return 65279===t.charCodeAt(0)&&(t=t.slice(1)),t}}},5917:function(t,e,n){var r;!function(o){function i(t,e){var n=(65535&t)+(65535&e);return(t>>16)+(e>>16)+(n>>16)<<16|65535&n}function a(t,e,n,r,o,a){return i((s=i(i(e,t),i(r,a)))<<(c=o)|s>>>32-c,n);var s,c}function s(t,e,n,r,o,i,s){return a(e&n|~e&r,t,e,o,i,s)}function c(t,e,n,r,o,i,s){return a(e&r|n&~r,t,e,o,i,s)}function u(t,e,n,r,o,i,s){return a(e^n^r,t,e,o,i,s)}function l(t,e,n,r,o,i,s){return a(n^(e|~r),t,e,o,i,s)}function p(t,e){var n,r,o,a,p;t[e>>5]|=128<<e%32,t[14+(e+64>>>9<<4)]=e;var f=1732584193,d=-271733879,h=-1732584194,m=271733878;for(n=0;n<t.length;n+=16)r=f,o=d,a=h,p=m,f=s(f,d,h,m,t[n],7,-680876936),m=s(m,f,d,h,t[n+1],12,-389564586),h=s(h,m,f,d,t[n+2],17,606105819),d=s(d,h,m,f,t[n+3],22,-1044525330),f=s(f,d,h,m,t[n+4],7,-176418897),m=s(m,f,d,h,t[n+5],12,1200080426),h=s(h,m,f,d,t[n+6],17,-1473231341),d=s(d,h,m,f,t[n+7],22,-45705983),f=s(f,d,h,m,t[n+8],7,1770035416),m=s(m,f,d,h,t[n+9],12,-1958414417),h=s(h,m,f,d,t[n+10],17,-42063),d=s(d,h,m,f,t[n+11],22,-1990404162),f=s(f,d,h,m,t[n+12],7,1804603682),m=s(m,f,d,h,t[n+13],12,-40341101),h=s(h,m,f,d,t[n+14],17,-1502002290),f=c(f,d=s(d,h,m,f,t[n+15],22,1236535329),h,m,t[n+1],5,-165796510),m=c(m,f,d,h,t[n+6],9,-1069501632),h=c(h,m,f,d,t[n+11],14,643717713),d=c(d,h,m,f,t[n],20,-373897302),f=c(f,d,h,m,t[n+5],5,-701558691),m=c(m,f,d,h,t[n+10],9,38016083),h=c(h,m,f,d,t[n+15],14,-660478335),d=c(d,h,m,f,t[n+4],20,-405537848),f=c(f,d,h,m,t[n+9],5,568446438),m=c(m,f,d,h,t[n+14],9,-1019803690),h=c(h,m,f,d,t[n+3],14,-187363961),d=c(d,h,m,f,t[n+8],20,1163531501),f=c(f,d,h,m,t[n+13],5,-1444681467),m=c(m,f,d,h,t[n+2],9,-51403784),h=c(h,m,f,d,t[n+7],14,1735328473),f=u(f,d=c(d,h,m,f,t[n+12],20,-1926607734),h,m,t[n+5],4,-378558),m=u(m,f,d,h,t[n+8],11,-2022574463),h=u(h,m,f,d,t[n+11],16,1839030562),d=u(d,h,m,f,t[n+14],23,-35309556),f=u(f,d,h,m,t[n+1],4,-1530992060),m=u(m,f,d,h,t[n+4],11,1272893353),h=u(h,m,f,d,t[n+7],16,-155497632),d=u(d,h,m,f,t[n+10],23,-1094730640),f=u(f,d,h,m,t[n+13],4,681279174),m=u(m,f,d,h,t[n],11,-358537222),h=u(h,m,f,d,t[n+3],16,-722521979),d=u(d,h,m,f,t[n+6],23,76029189),f=u(f,d,h,m,t[n+9],4,-640364487),m=u(m,f,d,h,t[n+12],11,-421815835),h=u(h,m,f,d,t[n+15],16,530742520),f=l(f,d=u(d,h,m,f,t[n+2],23,-995338651),h,m,t[n],6,-198630844),m=l(m,f,d,h,t[n+7],10,1126891415),h=l(h,m,f,d,t[n+14],15,-1416354905),d=l(d,h,m,f,t[n+5],21,-57434055),f=l(f,d,h,m,t[n+12],6,1700485571),m=l(m,f,d,h,t[n+3],10,-1894986606),h=l(h,m,f,d,t[n+10],15,-1051523),d=l(d,h,m,f,t[n+1],21,-2054922799),f=l(f,d,h,m,t[n+8],6,1873313359),m=l(m,f,d,h,t[n+15],10,-30611744),h=l(h,m,f,d,t[n+6],15,-1560198380),d=l(d,h,m,f,t[n+13],21,1309151649),f=l(f,d,h,m,t[n+4],6,-145523070),m=l(m,f,d,h,t[n+11],10,-1120210379),h=l(h,m,f,d,t[n+2],15,718787259),d=l(d,h,m,f,t[n+9],21,-343485551),f=i(f,r),d=i(d,o),h=i(h,a),m=i(m,p);return[f,d,h,m]}function f(t){var e,n="",r=32*t.length;for(e=0;e<r;e+=8)n+=String.fromCharCode(t[e>>5]>>>e%32&255);return n}function d(t){var e,n=[];for(n[(t.length>>2)-1]=void 0,e=0;e<n.length;e+=1)n[e]=0;var r=8*t.length;for(e=0;e<r;e+=8)n[e>>5]|=(255&t.charCodeAt(e/8))<<e%32;return n}function h(t){var e,n,r="0123456789abcdef",o="";for(n=0;n<t.length;n+=1)e=t.charCodeAt(n),o+=r.charAt(e>>>4&15)+r.charAt(15&e);return o}function m(t){return unescape(encodeURIComponent(t))}function g(t){return function(t){return f(p(d(t),8*t.length))}(m(t))}function v(t,e){return function(t,e){var n,r,o=d(t),i=[],a=[];for(i[15]=a[15]=void 0,o.length>16&&(o=p(o,8*t.length)),n=0;n<16;n+=1)i[n]=909522486^o[n],a[n]=1549556828^o[n];return r=p(i.concat(d(e)),512+8*e.length),f(p(a.concat(r),640))}(m(t),m(e))}function y(t,e,n){return e?n?v(e,t):h(v(e,t)):n?g(t):h(g(t))}void 0===(r=function(){return y}.call(e,n,e,t))||(t.exports=r)}()},824:function(t,e,n){n(2353),n(3719),n(7279),n(6462),n(5048),n(3085),n(8149),n(1862),n(4151),n(1422),n(4289),n(7247),n(2490),n(513),n(5471),n(8848),n(7004),n(7678),n(4060),n(5283),n(1764),n(6831),n(5318),n(6597),n(6865),n(2750),n(7879),n(5878),n(2825),n(580),n(475),n(2346),n(1877),n(7156),n(6630),n(7494),n(8781),n(7533),n(3301),n(422),n(9705),n(711),n(6160),n(5387),n(4386),n(3568),n(6739),n(156),n(7022),n(4132),n(8463),n(3695),n(4795),n(7367),n(3184),n(6331),n(6617),n(2793),n(688),n(7793),n(5297),n(1937),n(7613),n(6270),n(7056),n(2307),n(3391),n(7770),n(8812),n(4518),n(5554),n(1986),n(7572),n(3844),n(8185),n(3375),n(5824),n(6103),n(2173),n(9752),n(8471),n(1655),n(2336),n(7909),n(760),n(5742),n(4358),n(9574),n(6167),n(7243),n(7084),n(9152),n(6674),n(2125),n(197),n(7536),n(3144),n(1094),n(7378),n(3774),n(9721),n(5488),n(9021),n(5743),n(7600),n(2953),n(3024),n(7977),n(5164),n(7679),n(900),n(3313),n(959),n(9511),n(6708),n(3443),n(5558),n(9159),n(8095),n(5977),n(5187),n(7444),n(925),n(7865),n(7053),n(3122),n(56),n(2162),n(1078),n(8981),n(9160),n(4082),n(1723),n(8324),n(7372),n(8490),n(7454),n(4728),t.exports=n(7619)},9265:function(t,e,n){n(8465),t.exports=n(7619).Array.flatMap},303:function(t,e,n){n(1248),t.exports=n(7619).Array.includes},6371:function(t,e,n){n(847),t.exports=n(7619).Object.entries},3618:function(t,e,n){n(3947),t.exports=n(7619).Object.getOwnPropertyDescriptors},1844:function(t,e,n){n(5378),t.exports=n(7619).Object.values},1446:function(t,e,n){n(5164),n(6002),t.exports=n(7619).Promise.finally},6753:function(t,e,n){n(4234),t.exports=n(7619).String.padEnd},706:function(t,e,n){n(7087),t.exports=n(7619).String.padStart},4906:function(t,e,n){n(4834),t.exports=n(7619).String.trimRight},730:function(t,e,n){n(4931),t.exports=n(7619).String.trimLeft},4525:function(t,e,n){n(6177),t.exports=n(185).f("asyncIterator")},9269:function(t,e,n){n(8440),t.exports=n(2467).global},4732:function(t){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},4921:function(t,e,n){var r=n(8096);t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},2467:function(t){var e=t.exports={version:"2.6.12"};"number"==typeof __e&&(__e=e)},8510:function(t,e,n){var r=n(4732);t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,o){return t.call(e,n,r,o)}}return function(){return t.apply(e,arguments)}}},825:function(t,e,n){t.exports=!n(7435)((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},4676:function(t,e,n){var r=n(8096),o=n(1554).document,i=r(o)&&r(o.createElement);t.exports=function(t){return i?o.createElement(t):{}}},5685:function(t,e,n){var r=n(1554),o=n(2467),i=n(8510),a=n(4609),s=n(1056),c=function t(e,n,c){var u,l,p,f=e&t.F,d=e&t.G,h=e&t.S,m=e&t.P,g=e&t.B,v=e&t.W,y=d?o:o[n]||(o[n]={}),b=y.prototype,w=d?r:h?r[n]:(r[n]||{}).prototype;for(u in d&&(c=n),c)(l=!f&&w&&void 0!==w[u])&&s(y,u)||(p=l?w[u]:c[u],y[u]=d&&"function"!=typeof w[u]?c[u]:g&&l?i(p,r):v&&w[u]==p?function(t){var e=function(e,n,r){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(e);case 2:return new t(e,n)}return new t(e,n,r)}return t.apply(this,arguments)};return e.prototype=t.prototype,e}(p):m&&"function"==typeof p?i(Function.call,p):p,m&&((y.virtual||(y.virtual={}))[u]=p,e&t.R&&b&&!b[u]&&a(b,u,p)))};c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,t.exports=c},7435:function(t){t.exports=function(t){try{return!!t()}catch(t){return!0}}},1554:function(t){var e=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=e)},1056:function(t){var e={}.hasOwnProperty;t.exports=function(t,n){return e.call(t,n)}},4609:function(t,e,n){var r=n(8052),o=n(3625);t.exports=n(825)?function(t,e,n){return r.f(t,e,o(1,n))}:function(t,e,n){return t[e]=n,t}},5481:function(t,e,n){t.exports=!n(825)&&!n(7435)((function(){return 7!=Object.defineProperty(n(4676)("div"),"a",{get:function(){return 7}}).a}))},8096:function(t){function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},e(t)}t.exports=function(t){return"object"===e(t)?null!==t:"function"==typeof t}},8052:function(t,e,n){var r=n(4921),o=n(5481),i=n(5497),a=Object.defineProperty;e.f=n(825)?Object.defineProperty:function(t,e,n){if(r(t),e=i(e,!0),r(n),o)try{return a(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},3625:function(t){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},5497:function(t,e,n){var r=n(8096);t.exports=function(t,e){if(!r(t))return t;var n,o;if(e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;if("function"==typeof(n=t.valueOf)&&!r(o=n.call(t)))return o;if(!e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},8440:function(t,e,n){var r=n(5685);r(r.G,{global:n(1554)})},3679:function(t){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},5801:function(t,e,n){var r=n(1647);t.exports=function(t,e){if("number"!=typeof t&&"Number"!=r(t))throw TypeError(e);return+t}},3680:function(t,e,n){var r=n(3567)("unscopables"),o=Array.prototype;null==o[r]&&n(6879)(o,r,{}),t.exports=function(t){o[r][t]=!0}},1501:function(t,e,n){var r=n(1692)(!0);t.exports=function(t,e,n){return e+(n?r(t,e).length:1)}},2450:function(t){t.exports=function(t,e,n,r){if(!(t instanceof e)||void 0!==r&&r in t)throw TypeError(n+": incorrect invocation!");return t}},8069:function(t,e,n){var r=n(3506);t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},2670:function(t,e,n){var r=n(4674),o=n(8413),i=n(1284);t.exports=[].copyWithin||function(t,e){var n=r(this),a=i(n.length),s=o(t,a),c=o(e,a),u=arguments.length>2?arguments[2]:void 0,l=Math.min((void 0===u?a:o(u,a))-c,a-s),p=1;for(c<s&&s<c+l&&(p=-1,c+=l-1,s+=l-1);l-- >0;)c in n?n[s]=n[c]:delete n[s],s+=p,c+=p;return n}},73:function(t,e,n){var r=n(4674),o=n(8413),i=n(1284);t.exports=function(t){for(var e=r(this),n=i(e.length),a=arguments.length,s=o(a>1?arguments[1]:void 0,n),c=a>2?arguments[2]:void 0,u=void 0===c?n:o(c,n);u>s;)e[s++]=t;return e}},6329:function(t,e,n){var r=n(8670),o=n(1284),i=n(8413);t.exports=function(t){return function(e,n,a){var s,c=r(e),u=o(c.length),l=i(a,u);if(t&&n!=n){for(;u>l;)if((s=c[l++])!=s)return!0}else for(;u>l;l++)if((t||l in c)&&c[l]===n)return t||l||0;return!t&&-1}}},3828:function(t,e,n){var r=n(7863),o=n(7751),i=n(4674),a=n(1284),s=n(5026);t.exports=function(t,e){var n=1==t,c=2==t,u=3==t,l=4==t,p=6==t,f=5==t||p,d=e||s;return function(e,s,h){for(var m,g,v=i(e),y=o(v),b=r(s,h,3),w=a(y.length),x=0,_=n?d(e,w):c?d(e,0):void 0;w>x;x++)if((f||x in y)&&(g=b(m=y[x],x,v),t))if(n)_[x]=g;else if(g)switch(t){case 3:return!0;case 5:return m;case 6:return x;case 2:_.push(m)}else if(l)return!1;return p?-1:u||l?l:_}}},9222:function(t,e,n){var r=n(3679),o=n(4674),i=n(7751),a=n(1284);t.exports=function(t,e,n,s,c){r(e);var u=o(t),l=i(u),p=a(u.length),f=c?p-1:0,d=c?-1:1;if(n<2)for(;;){if(f in l){s=l[f],f+=d;break}if(f+=d,c?f<0:p<=f)throw TypeError("Reduce of empty array with no initial value")}for(;c?f>=0:p>f;f+=d)f in l&&(s=e(s,l[f],f,u));return s}},2475:function(t,e,n){var r=n(3506),o=n(8151),i=n(3567)("species");t.exports=function(t){var e;return o(t)&&("function"!=typeof(e=t.constructor)||e!==Array&&!o(e.prototype)||(e=void 0),r(e)&&null===(e=e[i])&&(e=void 0)),void 0===e?Array:e}},5026:function(t,e,n){var r=n(2475);t.exports=function(t,e){return new(r(t))(e)}},6059:function(t,e,n){var r=n(3679),o=n(3506),i=n(4709),a=[].slice,s={},c=function(t,e,n){if(!(e in s)){for(var r=[],o=0;o<e;o++)r[o]="a["+o+"]";s[e]=Function("F,a","return new F("+r.join(",")+")")}return s[e](t,n)};t.exports=Function.bind||function(t){var e=r(this),n=a.call(arguments,1),s=function r(){var o=n.concat(a.call(arguments));return this instanceof r?c(e,o.length,o):i(e,o,t)};return o(e.prototype)&&(s.prototype=e.prototype),s}},9736:function(t,e,n){var r=n(1647),o=n(3567)("toStringTag"),i="Arguments"==r(function(){return arguments}());t.exports=function(t){var e,n,a;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=function(t,e){try{return t[e]}catch(t){}}(e=Object(t),o))?n:i?r(e):"Object"==(a=r(e))&&"function"==typeof e.callee?"Arguments":a}},1647:function(t){var e={}.toString;t.exports=function(t){return e.call(t).slice(8,-1)}},5019:function(t,e,n){var r=n(5395).f,o=n(1693),i=n(4112),a=n(7863),s=n(2450),c=n(8302),u=n(2117),l=n(3337),p=n(9629),f=n(508),d=n(3797).fastKey,h=n(1364),m=f?"_s":"size",g=function(t,e){var n,r=d(e);if("F"!==r)return t._i[r];for(n=t._f;n;n=n.n)if(n.k==e)return n};t.exports={getConstructor:function(t,e,n,u){var l=t((function(t,r){s(t,l,e,"_i"),t._t=e,t._i=o(null),t._f=void 0,t._l=void 0,t[m]=0,null!=r&&c(r,n,t[u],t)}));return i(l.prototype,{clear:function(){for(var t=h(this,e),n=t._i,r=t._f;r;r=r.n)r.r=!0,r.p&&(r.p=r.p.n=void 0),delete n[r.i];t._f=t._l=void 0,t[m]=0},delete:function(t){var n=h(this,e),r=g(n,t);if(r){var o=r.n,i=r.p;delete n._i[r.i],r.r=!0,i&&(i.n=o),o&&(o.p=i),n._f==r&&(n._f=o),n._l==r&&(n._l=i),n[m]--}return!!r},forEach:function(t){h(this,e);for(var n,r=a(t,arguments.length>1?arguments[1]:void 0,3);n=n?n.n:this._f;)for(r(n.v,n.k,this);n&&n.r;)n=n.p},has:function(t){return!!g(h(this,e),t)}}),f&&r(l.prototype,"size",{get:function(){return h(this,e)[m]}}),l},def:function(t,e,n){var r,o,i=g(t,e);return i?i.v=n:(t._l=i={i:o=d(e,!0),k:e,v:n,p:r=t._l,n:void 0,r:!1},t._f||(t._f=i),r&&(r.n=i),t[m]++,"F"!==o&&(t._i[o]=i)),t},getEntry:g,setStrong:function(t,e,n){u(t,e,(function(t,n){this._t=h(t,e),this._k=n,this._l=void 0}),(function(){for(var t=this,e=t._k,n=t._l;n&&n.r;)n=n.p;return t._t&&(t._l=n=n?n.n:t._t._f)?l(0,"keys"==e?n.k:"values"==e?n.v:[n.k,n.v]):(t._t=void 0,l(1))}),n?"entries":"values",!n,!0),p(e)}}},8888:function(t,e,n){var r=n(4112),o=n(3797).getWeak,i=n(8069),a=n(3506),s=n(2450),c=n(8302),u=n(3828),l=n(4307),p=n(1364),f=u(5),d=u(6),h=0,m=function(t){return t._l||(t._l=new g)},g=function(){this.a=[]},v=function(t,e){return f(t.a,(function(t){return t[0]===e}))};g.prototype={get:function(t){var e=v(this,t);if(e)return e[1]},has:function(t){return!!v(this,t)},set:function(t,e){var n=v(this,t);n?n[1]=e:this.a.push([t,e])},delete:function(t){var e=d(this.a,(function(e){return e[0]===t}));return~e&&this.a.splice(e,1),!!~e}},t.exports={getConstructor:function(t,e,n,i){var u=t((function(t,r){s(t,u,e,"_i"),t._t=e,t._i=h++,t._l=void 0,null!=r&&c(r,n,t[i],t)}));return r(u.prototype,{delete:function(t){if(!a(t))return!1;var n=o(t);return!0===n?m(p(this,e)).delete(t):n&&l(n,this._i)&&delete n[this._i]},has:function(t){if(!a(t))return!1;var n=o(t);return!0===n?m(p(this,e)).has(t):n&&l(n,this._i)}}),u},def:function(t,e,n){var r=o(i(e),!0);return!0===r?m(t).set(e,n):r[t._i]=n,t},ufstore:m}},1107:function(t,e,n){var r=n(3349),o=n(3276),i=n(5911),a=n(4112),s=n(3797),c=n(8302),u=n(2450),l=n(3506),p=n(4277),f=n(2569),d=n(481),h=n(672);t.exports=function(t,e,n,m,g,v){var y=r[t],b=y,w=g?"set":"add",x=b&&b.prototype,_={},A=function(t){var e=x[t];i(x,t,"delete"==t||"has"==t?function(t){return!(v&&!l(t))&&e.call(this,0===t?0:t)}:"get"==t?function(t){return v&&!l(t)?void 0:e.call(this,0===t?0:t)}:"add"==t?function(t){return e.call(this,0===t?0:t),this}:function(t,n){return e.call(this,0===t?0:t,n),this})};if("function"==typeof b&&(v||x.forEach&&!p((function(){(new b).entries().next()})))){var k=new b,E=k[w](v?{}:-0,1)!=k,S=p((function(){k.has(1)})),T=f((function(t){new b(t)})),C=!v&&p((function(){for(var t=new b,e=5;e--;)t[w](e,e);return!t.has(-0)}));T||((b=e((function(e,n){u(e,b,t);var r=h(new y,e,b);return null!=n&&c(n,g,r[w],r),r}))).prototype=x,x.constructor=b),(S||C)&&(A("delete"),A("has"),g&&A("get")),(C||E)&&A(w),v&&x.clear&&delete x.clear}else b=m.getConstructor(e,t,g,w),a(b.prototype,n),s.NEED=!0;return d(b,t),_[t]=b,o(o.G+o.W+o.F*(b!=y),_),v||m.setStrong(b,t,g),b}},7619:function(t){var e=t.exports={version:"2.6.12"};"number"==typeof __e&&(__e=e)},5094:function(t,e,n){var r=n(5395),o=n(432);t.exports=function(t,e,n){e in t?r.f(t,e,o(0,n)):t[e]=n}},7863:function(t,e,n){var r=n(3679);t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,o){return t.call(e,n,r,o)}}return function(){return t.apply(e,arguments)}}},5325:function(t,e,n){var r=n(4277),o=Date.prototype.getTime,i=Date.prototype.toISOString,a=function(t){return t>9?t:"0"+t};t.exports=r((function(){return"0385-07-25T07:06:39.999Z"!=i.call(new Date(-50000000000001))}))||!r((function(){i.call(new Date(NaN))}))?function(){if(!isFinite(o.call(this)))throw RangeError("Invalid time value");var t=this,e=t.getUTCFullYear(),n=t.getUTCMilliseconds(),r=e<0?"-":e>9999?"+":"";return r+("00000"+Math.abs(e)).slice(r?-6:-4)+"-"+a(t.getUTCMonth()+1)+"-"+a(t.getUTCDate())+"T"+a(t.getUTCHours())+":"+a(t.getUTCMinutes())+":"+a(t.getUTCSeconds())+"."+(n>99?n:"0"+a(n))+"Z"}:i},2556:function(t,e,n){var r=n(8069),o=n(2950),i="number";t.exports=function(t){if("string"!==t&&t!==i&&"default"!==t)throw TypeError("Incorrect hint");return o(r(this),t!=i)}},6022:function(t){t.exports=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t}},508:function(t,e,n){t.exports=!n(4277)((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},8931:function(t,e,n){var r=n(3506),o=n(3349).document,i=r(o)&&r(o.createElement);t.exports=function(t){return i?o.createElement(t):{}}},5148:function(t){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},2337:function(t,e,n){var r=n(4190),o=n(4128),i=n(2224);t.exports=function(t){var e=r(t),n=o.f;if(n)for(var a,s=n(t),c=i.f,u=0;s.length>u;)c.call(t,a=s[u++])&&e.push(a);return e}},3276:function(t,e,n){var r=n(3349),o=n(7619),i=n(6879),a=n(5911),s=n(7863),c=function t(e,n,c){var u,l,p,f,d=e&t.F,h=e&t.G,m=e&t.P,g=e&t.B,v=h?r:e&t.S?r[n]||(r[n]={}):(r[n]||{}).prototype,y=h?o:o[n]||(o[n]={}),b=y.prototype||(y.prototype={});for(u in h&&(c=n),c)p=((l=!d&&v&&void 0!==v[u])?v:c)[u],f=g&&l?s(p,r):m&&"function"==typeof p?s(Function.call,p):p,v&&a(v,u,p,e&t.U),y[u]!=p&&i(y,u,f),m&&b[u]!=p&&(b[u]=p)};r.core=o,c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,t.exports=c},8834:function(t,e,n){var r=n(3567)("match");t.exports=function(t){var e=/./;try{"/./"[t](e)}catch(n){try{return e[r]=!1,!"/./"[t](e)}catch(t){}}return!0}},4277:function(t){t.exports=function(t){try{return!!t()}catch(t){return!0}}},5844:function(t,e,n){n(5488);var r=n(5911),o=n(6879),i=n(4277),a=n(6022),s=n(3567),c=n(1796),u=s("species"),l=!i((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")})),p=function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var n="ab".split(t);return 2===n.length&&"a"===n[0]&&"b"===n[1]}();t.exports=function(t,e,n){var f=s(t),d=!i((function(){var e={};return e[f]=function(){return 7},7!=""[t](e)})),h=d?!i((function(){var e=!1,n=/a/;return n.exec=function(){return e=!0,null},"split"===t&&(n.constructor={},n.constructor[u]=function(){return n}),n[f](""),!e})):void 0;if(!d||!h||"replace"===t&&!l||"split"===t&&!p){var m=/./[f],g=n(a,f,""[t],(function(t,e,n,r,o){return e.exec===c?d&&!o?{done:!0,value:m.call(e,n,r)}:{done:!0,value:t.call(n,e,r)}:{done:!1}})),v=g[0],y=g[1];r(String.prototype,t,v),o(RegExp.prototype,f,2==e?function(t,e){return y.call(t,this,e)}:function(t){return y.call(t,this)})}}},5056:function(t,e,n){var r=n(8069);t.exports=function(){var t=r(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e}},1835:function(t,e,n){var r=n(8151),o=n(3506),i=n(1284),a=n(7863),s=n(3567)("isConcatSpreadable");t.exports=function t(e,n,c,u,l,p,f,d){for(var h,m,g=l,v=0,y=!!f&&a(f,d,3);v<u;){if(v in c){if(h=y?y(c[v],v,n):c[v],m=!1,o(h)&&(m=void 0!==(m=h[s])?!!m:r(h)),m&&p>0)g=t(e,n,h,i(h.length),g,p-1)-1;else{if(g>=9007199254740991)throw TypeError();e[g]=h}g++}v++}return g}},8302:function(t,e,n){var r=n(7863),o=n(5684),i=n(6136),a=n(8069),s=n(1284),c=n(3613),u={},l={},p=t.exports=function(t,e,n,p,f){var d,h,m,g,v=f?function(){return t}:c(t),y=r(n,p,e?2:1),b=0;if("function"!=typeof v)throw TypeError(t+" is not iterable!");if(i(v)){for(d=s(t.length);d>b;b++)if((g=e?y(a(h=t[b])[0],h[1]):y(t[b]))===u||g===l)return g}else for(m=v.call(t);!(h=m.next()).done;)if((g=o(m,y,h.value,e))===u||g===l)return g};p.BREAK=u,p.RETURN=l},3699:function(t,e,n){t.exports=n(1375)("native-function-to-string",Function.toString)},3349:function(t){var e=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=e)},4307:function(t){var e={}.hasOwnProperty;t.exports=function(t,n){return e.call(t,n)}},6879:function(t,e,n){var r=n(5395),o=n(432);t.exports=n(508)?function(t,e,n){return r.f(t,e,o(1,n))}:function(t,e,n){return t[e]=n,t}},9684:function(t,e,n){var r=n(3349).document;t.exports=r&&r.documentElement},7581:function(t,e,n){t.exports=!n(508)&&!n(4277)((function(){return 7!=Object.defineProperty(n(8931)("div"),"a",{get:function(){return 7}}).a}))},672:function(t,e,n){var r=n(3506),o=n(4106).set;t.exports=function(t,e,n){var i,a=e.constructor;return a!==n&&"function"==typeof a&&(i=a.prototype)!==n.prototype&&r(i)&&o&&o(t,i),t}},4709:function(t){t.exports=function(t,e,n){var r=void 0===n;switch(e.length){case 0:return r?t():t.call(n);case 1:return r?t(e[0]):t.call(n,e[0]);case 2:return r?t(e[0],e[1]):t.call(n,e[0],e[1]);case 3:return r?t(e[0],e[1],e[2]):t.call(n,e[0],e[1],e[2]);case 4:return r?t(e[0],e[1],e[2],e[3]):t.call(n,e[0],e[1],e[2],e[3])}return t.apply(n,e)}},7751:function(t,e,n){var r=n(1647);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},6136:function(t,e,n){var r=n(9746),o=n(3567)("iterator"),i=Array.prototype;t.exports=function(t){return void 0!==t&&(r.Array===t||i[o]===t)}},8151:function(t,e,n){var r=n(1647);t.exports=Array.isArray||function(t){return"Array"==r(t)}},3830:function(t,e,n){var r=n(3506),o=Math.floor;t.exports=function(t){return!r(t)&&isFinite(t)&&o(t)===t}},3506:function(t){function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},e(t)}t.exports=function(t){return"object"===e(t)?null!==t:"function"==typeof t}},2741:function(t,e,n){var r=n(3506),o=n(1647),i=n(3567)("match");t.exports=function(t){var e;return r(t)&&(void 0!==(e=t[i])?!!e:"RegExp"==o(t))}},5684:function(t,e,n){var r=n(8069);t.exports=function(t,e,n,o){try{return o?e(r(n)[0],n[1]):e(n)}catch(e){var i=t.return;throw void 0!==i&&r(i.call(t)),e}}},4076:function(t,e,n){var r=n(1693),o=n(432),i=n(481),a={};n(6879)(a,n(3567)("iterator"),(function(){return this})),t.exports=function(t,e,n){t.prototype=r(a,{next:o(1,n)}),i(t,e+" Iterator")}},2117:function(t,e,n){var r=n(5437),o=n(3276),i=n(5911),a=n(6879),s=n(9746),c=n(4076),u=n(481),l=n(8300),p=n(3567)("iterator"),f=!([].keys&&"next"in[].keys()),d="keys",h="values",m=function(){return this};t.exports=function(t,e,n,g,v,y,b){c(n,e,g);var w,x,_,A=function(t){if(!f&&t in T)return T[t];switch(t){case d:case h:return function(){return new n(this,t)}}return function(){return new n(this,t)}},k=e+" Iterator",E=v==h,S=!1,T=t.prototype,C=T[p]||T["@@iterator"]||v&&T[v],P=C||A(v),O=v?E?A("entries"):P:void 0,L="Array"==e&&T.entries||C;if(L&&(_=l(L.call(new t)))!==Object.prototype&&_.next&&(u(_,k,!0),r||"function"==typeof _[p]||a(_,p,m)),E&&C&&C.name!==h&&(S=!0,P=function(){return C.call(this)}),r&&!b||!f&&!S&&T[p]||a(T,p,P),s[e]=P,s[k]=m,v)if(w={values:E?P:A(h),keys:y?P:A(d),entries:O},b)for(x in w)x in T||i(T,x,w[x]);else o(o.P+o.F*(f||S),e,w);return w}},2569:function(t,e,n){var r=n(3567)("iterator"),o=!1;try{var i=[7][r]();i.return=function(){o=!0},Array.from(i,(function(){throw 2}))}catch(t){}t.exports=function(t,e){if(!e&&!o)return!1;var n=!1;try{var i=[7],a=i[r]();a.next=function(){return{done:n=!0}},i[r]=function(){return a},t(i)}catch(t){}return n}},3337:function(t){t.exports=function(t,e){return{value:e,done:!!t}}},9746:function(t){t.exports={}},5437:function(t){t.exports=!1},2998:function(t){var e=Math.expm1;t.exports=!e||e(10)>22025.465794806718||e(10)<22025.465794806718||-2e-17!=e(-2e-17)?function(t){return 0==(t=+t)?t:t>-1e-6&&t<1e-6?t+t*t/2:Math.exp(t)-1}:e},4619:function(t,e,n){var r=n(5596),o=Math.pow,i=o(2,-52),a=o(2,-23),s=o(2,127)*(2-a),c=o(2,-126);t.exports=Math.fround||function(t){var e,n,o=Math.abs(t),u=r(t);return o<c?u*(o/c/a+1/i-1/i)*c*a:(n=(e=(1+a/i)*o)-(e-o))>s||n!=n?u*(1/0):u*n}},5242:function(t){t.exports=Math.log1p||function(t){return(t=+t)>-1e-8&&t<1e-8?t-t*t/2:Math.log(1+t)}},5596:function(t){t.exports=Math.sign||function(t){return 0==(t=+t)||t!=t?t:t<0?-1:1}},3797:function(t,e,n){function r(t){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r(t)}var o=n(7398)("meta"),i=n(3506),a=n(4307),s=n(5395).f,c=0,u=Object.isExtensible||function(){return!0},l=!n(4277)((function(){return u(Object.preventExtensions({}))})),p=function(t){s(t,o,{value:{i:"O"+ ++c,w:{}}})},f=t.exports={KEY:o,NEED:!1,fastKey:function(t,e){if(!i(t))return"symbol"==r(t)?t:("string"==typeof t?"S":"P")+t;if(!a(t,o)){if(!u(t))return"F";if(!e)return"E";p(t)}return t[o].i},getWeak:function(t,e){if(!a(t,o)){if(!u(t))return!0;if(!e)return!1;p(t)}return t[o].w},onFreeze:function(t){return l&&f.NEED&&u(t)&&!a(t,o)&&p(t),t}}},2739:function(t,e,n){var r=n(3349),o=n(2007).set,i=r.MutationObserver||r.WebKitMutationObserver,a=r.process,s=r.Promise,c="process"==n(1647)(a);t.exports=function(){var t,e,n,u=function(){var r,o;for(c&&(r=a.domain)&&r.exit();t;){o=t.fn,t=t.next;try{o()}catch(r){throw t?n():e=void 0,r}}e=void 0,r&&r.enter()};if(c)n=function(){a.nextTick(u)};else if(!i||r.navigator&&r.navigator.standalone)if(s&&s.resolve){var l=s.resolve(void 0);n=function(){l.then(u)}}else n=function(){o.call(r,u)};else{var p=!0,f=document.createTextNode("");new i(u).observe(f,{characterData:!0}),n=function(){f.data=p=!p}}return function(r){var o={fn:r,next:void 0};e&&(e.next=o),t||(t=o,n()),e=o}}},8238:function(t,e,n){var r=n(3679);function o(t){var e,n;this.promise=new t((function(t,r){if(void 0!==e||void 0!==n)throw TypeError("Bad Promise constructor");e=t,n=r})),this.resolve=r(e),this.reject=r(n)}t.exports.f=function(t){return new o(t)}},4236:function(t,e,n){var r=n(508),o=n(4190),i=n(4128),a=n(2224),s=n(4674),c=n(7751),u=Object.assign;t.exports=!u||n(4277)((function(){var t={},e={},n=Symbol(),r="abcdefghijklmnopqrst";return t[n]=7,r.split("").forEach((function(t){e[t]=t})),7!=u({},t)[n]||Object.keys(u({},e)).join("")!=r}))?function(t,e){for(var n=s(t),u=arguments.length,l=1,p=i.f,f=a.f;u>l;)for(var d,h=c(arguments[l++]),m=p?o(h).concat(p(h)):o(h),g=m.length,v=0;g>v;)d=m[v++],r&&!f.call(h,d)||(n[d]=h[d]);return n}:u},1693:function(t,e,n){var r=n(8069),o=n(4553),i=n(5148),a=n(7967)("IE_PROTO"),s=function(){},c=function(){var t,e=n(8931)("iframe"),r=i.length;for(e.style.display="none",n(9684).appendChild(e),e.src="javascript:",(t=e.contentWindow.document).open(),t.write("<script>document.F=Object<\/script>"),t.close(),c=t.F;r--;)delete c.prototype[i[r]];return c()};t.exports=Object.create||function(t,e){var n;return null!==t?(s.prototype=r(t),n=new s,s.prototype=null,n[a]=t):n=c(),void 0===e?n:o(n,e)}},5395:function(t,e,n){var r=n(8069),o=n(7581),i=n(2950),a=Object.defineProperty;e.f=n(508)?Object.defineProperty:function(t,e,n){if(r(t),e=i(e,!0),r(n),o)try{return a(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},4553:function(t,e,n){var r=n(5395),o=n(8069),i=n(4190);t.exports=n(508)?Object.defineProperties:function(t,e){o(t);for(var n,a=i(e),s=a.length,c=0;s>c;)r.f(t,n=a[c++],e[n]);return t}},833:function(t,e,n){var r=n(2224),o=n(432),i=n(8670),a=n(2950),s=n(4307),c=n(7581),u=Object.getOwnPropertyDescriptor;e.f=n(508)?u:function(t,e){if(t=i(t),e=a(e,!0),c)try{return u(t,e)}catch(t){}if(s(t,e))return o(!r.f.call(t,e),t[e])}},645:function(t,e,n){function r(t){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r(t)}var o=n(8670),i=n(1676).f,a={}.toString,s="object"==("undefined"==typeof window?"undefined":r(window))&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];t.exports.f=function(t){return s&&"[object Window]"==a.call(t)?function(t){try{return i(t)}catch(t){return s.slice()}}(t):i(o(t))}},1676:function(t,e,n){var r=n(9593),o=n(5148).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,o)}},4128:function(t,e){e.f=Object.getOwnPropertySymbols},8300:function(t,e,n){var r=n(4307),o=n(4674),i=n(7967)("IE_PROTO"),a=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=o(t),r(t,i)?t[i]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?a:null}},9593:function(t,e,n){var r=n(4307),o=n(8670),i=n(6329)(!1),a=n(7967)("IE_PROTO");t.exports=function(t,e){var n,s=o(t),c=0,u=[];for(n in s)n!=a&&r(s,n)&&u.push(n);for(;e.length>c;)r(s,n=e[c++])&&(~i(u,n)||u.push(n));return u}},4190:function(t,e,n){var r=n(9593),o=n(5148);t.exports=Object.keys||function(t){return r(t,o)}},2224:function(t,e){e.f={}.propertyIsEnumerable},139:function(t,e,n){var r=n(3276),o=n(7619),i=n(4277);t.exports=function(t,e){var n=(o.Object||{})[t]||Object[t],a={};a[t]=e(n),r(r.S+r.F*i((function(){n(1)})),"Object",a)}},4399:function(t,e,n){var r=n(508),o=n(4190),i=n(8670),a=n(2224).f;t.exports=function(t){return function(e){for(var n,s=i(e),c=o(s),u=c.length,l=0,p=[];u>l;)n=c[l++],r&&!a.call(s,n)||p.push(t?[n,s[n]]:s[n]);return p}}},456:function(t,e,n){var r=n(1676),o=n(4128),i=n(8069),a=n(3349).Reflect;t.exports=a&&a.ownKeys||function(t){var e=r.f(i(t)),n=o.f;return n?e.concat(n(t)):e}},3135:function(t,e,n){var r=n(3349).parseFloat,o=n(2829).trim;t.exports=1/r(n(3945)+"-0")!=-1/0?function(t){var e=o(String(t),3),n=r(e);return 0===n&&"-"==e.charAt(0)?-0:n}:r},2134:function(t,e,n){var r=n(3349).parseInt,o=n(2829).trim,i=n(3945),a=/^[-+]?0[xX]/;t.exports=8!==r(i+"08")||22!==r(i+"0x16")?function(t,e){var n=o(String(t),3);return r(n,e>>>0||(a.test(n)?16:10))}:r},5243:function(t){t.exports=function(t){try{return{e:!1,v:t()}}catch(t){return{e:!0,v:t}}}},5750:function(t,e,n){var r=n(8069),o=n(3506),i=n(8238);t.exports=function(t,e){if(r(t),o(e)&&e.constructor===t)return e;var n=i.f(t);return(0,n.resolve)(e),n.promise}},432:function(t){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},4112:function(t,e,n){var r=n(5911);t.exports=function(t,e,n){for(var o in e)r(t,o,e[o],n);return t}},5911:function(t,e,n){var r=n(3349),o=n(6879),i=n(4307),a=n(7398)("src"),s=n(3699),c="toString",u=(""+s).split(c);n(7619).inspectSource=function(t){return s.call(t)},(t.exports=function(t,e,n,s){var c="function"==typeof n;c&&(i(n,"name")||o(n,"name",e)),t[e]!==n&&(c&&(i(n,a)||o(n,a,t[e]?""+t[e]:u.join(String(e)))),t===r?t[e]=n:s?t[e]?t[e]=n:o(t,e,n):(delete t[e],o(t,e,n)))})(Function.prototype,c,(function(){return"function"==typeof this&&this[a]||s.call(this)}))},3059:function(t,e,n){function r(t){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r(t)}var o=n(9736),i=RegExp.prototype.exec;t.exports=function(t,e){var n=t.exec;if("function"==typeof n){var a=n.call(t,e);if("object"!==r(a))throw new TypeError("RegExp exec method returned something other than an Object or null");return a}if("RegExp"!==o(t))throw new TypeError("RegExp#exec called on incompatible receiver");return i.call(t,e)}},1796:function(t,e,n){var r,o,i=n(5056),a=RegExp.prototype.exec,s=String.prototype.replace,c=a,u=(r=/a/,o=/b*/g,a.call(r,"a"),a.call(o,"a"),0!==r.lastIndex||0!==o.lastIndex),l=void 0!==/()??/.exec("")[1];(u||l)&&(c=function(t){var e,n,r,o,c=this;return l&&(n=new RegExp("^"+c.source+"$(?!\\s)",i.call(c))),u&&(e=c.lastIndex),r=a.call(c,t),u&&r&&(c.lastIndex=c.global?r.index+r[0].length:e),l&&r&&r.length>1&&s.call(r[0],n,(function(){for(o=1;o<arguments.length-2;o++)void 0===arguments[o]&&(r[o]=void 0)})),r}),t.exports=c},5681:function(t){t.exports=Object.is||function(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e}},4106:function(t,e,n){var r=n(3506),o=n(8069),i=function(t,e){if(o(t),!r(e)&&null!==e)throw TypeError(e+": can't set as prototype!")};t.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(t,e,r){try{(r=n(7863)(Function.call,n(833).f(Object.prototype,"__proto__").set,2))(t,[]),e=!(t instanceof Array)}catch(t){e=!0}return function(t,n){return i(t,n),e?t.__proto__=n:r(t,n),t}}({},!1):void 0),check:i}},9629:function(t,e,n){var r=n(3349),o=n(5395),i=n(508),a=n(3567)("species");t.exports=function(t){var e=r[t];i&&e&&!e[a]&&o.f(e,a,{configurable:!0,get:function(){return this}})}},481:function(t,e,n){var r=n(5395).f,o=n(4307),i=n(3567)("toStringTag");t.exports=function(t,e,n){t&&!o(t=n?t:t.prototype,i)&&r(t,i,{configurable:!0,value:e})}},7967:function(t,e,n){var r=n(1375)("keys"),o=n(7398);t.exports=function(t){return r[t]||(r[t]=o(t))}},1375:function(t,e,n){var r=n(7619),o=n(3349),i="__core-js_shared__",a=o[i]||(o[i]={});(t.exports=function(t,e){return a[t]||(a[t]=void 0!==e?e:{})})("versions",[]).push({version:r.version,mode:n(5437)?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},5168:function(t,e,n){var r=n(8069),o=n(3679),i=n(3567)("species");t.exports=function(t,e){var n,a=r(t).constructor;return void 0===a||null==(n=r(a)[i])?e:o(n)}},4433:function(t,e,n){var r=n(4277);t.exports=function(t,e){return!!t&&r((function(){e?t.call(null,(function(){}),1):t.call(null)}))}},1692:function(t,e,n){var r=n(8591),o=n(6022);t.exports=function(t){return function(e,n){var i,a,s=String(o(e)),c=r(n),u=s.length;return c<0||c>=u?t?"":void 0:(i=s.charCodeAt(c))<55296||i>56319||c+1===u||(a=s.charCodeAt(c+1))<56320||a>57343?t?s.charAt(c):i:t?s.slice(c,c+2):a-56320+(i-55296<<10)+65536}}},2445:function(t,e,n){var r=n(2741),o=n(6022);t.exports=function(t,e,n){if(r(e))throw TypeError("String#"+n+" doesn't accept regex!");return String(o(t))}},591:function(t,e,n){var r=n(3276),o=n(4277),i=n(6022),a=/"/g,s=function(t,e,n,r){var o=String(i(t)),s="<"+e;return""!==n&&(s+=" "+n+'="'+String(r).replace(a,""")+'"'),s+">"+o+"</"+e+">"};t.exports=function(t,e){var n={};n[t]=e(s),r(r.P+r.F*o((function(){var e=""[t]('"');return e!==e.toLowerCase()||e.split('"').length>3})),"String",n)}},2713:function(t,e,n){var r=n(1284),o=n(5067),i=n(6022);t.exports=function(t,e,n,a){var s=String(i(t)),c=s.length,u=void 0===n?" ":String(n),l=r(e);if(l<=c||""==u)return s;var p=l-c,f=o.call(u,Math.ceil(p/u.length));return f.length>p&&(f=f.slice(0,p)),a?f+s:s+f}},5067:function(t,e,n){var r=n(8591),o=n(6022);t.exports=function(t){var e=String(o(this)),n="",i=r(t);if(i<0||i==1/0)throw RangeError("Count can't be negative");for(;i>0;(i>>>=1)&&(e+=e))1&i&&(n+=e);return n}},2829:function(t,e,n){var r=n(3276),o=n(6022),i=n(4277),a=n(3945),s="["+a+"]",c=RegExp("^"+s+s+"*"),u=RegExp(s+s+"*$"),l=function(t,e,n){var o={},s=i((function(){return!!a[t]()||"
"!="
"[t]()})),c=o[t]=s?e(p):a[t];n&&(o[n]=c),r(r.P+r.F*s,"String",o)},p=l.trim=function(t,e){return t=String(o(t)),1&e&&(t=t.replace(c,"")),2&e&&(t=t.replace(u,"")),t};t.exports=l},3945:function(t){t.exports="\t\n\v\f\r \u2028\u2029\ufeff"},2007:function(t,e,n){var r,o,i,a=n(7863),s=n(4709),c=n(9684),u=n(8931),l=n(3349),p=l.process,f=l.setImmediate,d=l.clearImmediate,h=l.MessageChannel,m=l.Dispatch,g=0,v={},y=function(){var t=+this;if(v.hasOwnProperty(t)){var e=v[t];delete v[t],e()}},b=function(t){y.call(t.data)};f&&d||(f=function(t){for(var e=[],n=1;arguments.length>n;)e.push(arguments[n++]);return v[++g]=function(){s("function"==typeof t?t:Function(t),e)},r(g),g},d=function(t){delete v[t]},"process"==n(1647)(p)?r=function(t){p.nextTick(a(y,t,1))}:m&&m.now?r=function(t){m.now(a(y,t,1))}:h?(i=(o=new h).port2,o.port1.onmessage=b,r=a(i.postMessage,i,1)):l.addEventListener&&"function"==typeof postMessage&&!l.importScripts?(r=function(t){l.postMessage(t+"","*")},l.addEventListener("message",b,!1)):r="onreadystatechange"in u("script")?function(t){c.appendChild(u("script")).onreadystatechange=function(){c.removeChild(this),y.call(t)}}:function(t){setTimeout(a(y,t,1),0)}),t.exports={set:f,clear:d}},8413:function(t,e,n){var r=n(8591),o=Math.max,i=Math.min;t.exports=function(t,e){return(t=r(t))<0?o(t+e,0):i(t,e)}},5568:function(t,e,n){var r=n(8591),o=n(1284);t.exports=function(t){if(void 0===t)return 0;var e=r(t),n=o(e);if(e!==n)throw RangeError("Wrong length!");return n}},8591:function(t){var e=Math.ceil,n=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?n:e)(t)}},8670:function(t,e,n){var r=n(7751),o=n(6022);t.exports=function(t){return r(o(t))}},1284:function(t,e,n){var r=n(8591),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},4674:function(t,e,n){var r=n(6022);t.exports=function(t){return Object(r(t))}},2950:function(t,e,n){var r=n(3506);t.exports=function(t,e){if(!r(t))return t;var n,o;if(e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;if("function"==typeof(n=t.valueOf)&&!r(o=n.call(t)))return o;if(!e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},6500:function(t,e,n){function r(t){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r(t)}if(n(508)){var o=n(5437),i=n(3349),a=n(4277),s=n(3276),c=n(6303),u=n(2428),l=n(7863),p=n(2450),f=n(432),d=n(6879),h=n(4112),m=n(8591),g=n(1284),v=n(5568),y=n(8413),b=n(2950),w=n(4307),x=n(9736),_=n(3506),A=n(4674),k=n(6136),E=n(1693),S=n(8300),T=n(1676).f,C=n(3613),P=n(7398),O=n(3567),L=n(3828),M=n(6329),R=n(5168),I=n(3774),j=n(9746),D=n(2569),B=n(9629),N=n(73),U=n(2670),$=n(5395),F=n(833),G=$.f,q=F.f,K=i.RangeError,H=i.TypeError,V=i.Uint8Array,z="ArrayBuffer",W="SharedArrayBuffer",X="BYTES_PER_ELEMENT",Y=Array.prototype,Z=u.ArrayBuffer,Q=u.DataView,J=L(0),tt=L(2),et=L(3),nt=L(4),rt=L(5),ot=L(6),it=M(!0),at=M(!1),st=I.values,ct=I.keys,ut=I.entries,lt=Y.lastIndexOf,pt=Y.reduce,ft=Y.reduceRight,dt=Y.join,ht=Y.sort,mt=Y.slice,gt=Y.toString,vt=Y.toLocaleString,yt=O("iterator"),bt=O("toStringTag"),wt=P("typed_constructor"),xt=P("def_constructor"),_t=c.CONSTR,At=c.TYPED,kt=c.VIEW,Et="Wrong length!",St=L(1,(function(t,e){return Lt(R(t,t[xt]),e)})),Tt=a((function(){return 1===new V(new Uint16Array([1]).buffer)[0]})),Ct=!!V&&!!V.prototype.set&&a((function(){new V(1).set({})})),Pt=function(t,e){var n=m(t);if(n<0||n%e)throw K("Wrong offset!");return n},Ot=function(t){if(_(t)&&At in t)return t;throw H(t+" is not a typed array!")},Lt=function(t,e){if(!_(t)||!(wt in t))throw H("It is not a typed array constructor!");return new t(e)},Mt=function(t,e){return Rt(R(t,t[xt]),e)},Rt=function(t,e){for(var n=0,r=e.length,o=Lt(t,r);r>n;)o[n]=e[n++];return o},It=function(t,e,n){G(t,e,{get:function(){return this._d[n]}})},jt=function(t){var e,n,r,o,i,a,s=A(t),c=arguments.length,u=c>1?arguments[1]:void 0,p=void 0!==u,f=C(s);if(null!=f&&!k(f)){for(a=f.call(s),r=[],e=0;!(i=a.next()).done;e++)r.push(i.value);s=r}for(p&&c>2&&(u=l(u,arguments[2],2)),e=0,n=g(s.length),o=Lt(this,n);n>e;e++)o[e]=p?u(s[e],e):s[e];return o},Dt=function(){for(var t=0,e=arguments.length,n=Lt(this,e);e>t;)n[t]=arguments[t++];return n},Bt=!!V&&a((function(){vt.call(new V(1))})),Nt=function(){return vt.apply(Bt?mt.call(Ot(this)):Ot(this),arguments)},Ut={copyWithin:function(t,e){return U.call(Ot(this),t,e,arguments.length>2?arguments[2]:void 0)},every:function(t){return nt(Ot(this),t,arguments.length>1?arguments[1]:void 0)},fill:function(t){return N.apply(Ot(this),arguments)},filter:function(t){return Mt(this,tt(Ot(this),t,arguments.length>1?arguments[1]:void 0))},find:function(t){return rt(Ot(this),t,arguments.length>1?arguments[1]:void 0)},findIndex:function(t){return ot(Ot(this),t,arguments.length>1?arguments[1]:void 0)},forEach:function(t){J(Ot(this),t,arguments.length>1?arguments[1]:void 0)},indexOf:function(t){return at(Ot(this),t,arguments.length>1?arguments[1]:void 0)},includes:function(t){return it(Ot(this),t,arguments.length>1?arguments[1]:void 0)},join:function(t){return dt.apply(Ot(this),arguments)},lastIndexOf:function(t){return lt.apply(Ot(this),arguments)},map:function(t){return St(Ot(this),t,arguments.length>1?arguments[1]:void 0)},reduce:function(t){return pt.apply(Ot(this),arguments)},reduceRight:function(t){return ft.apply(Ot(this),arguments)},reverse:function(){for(var t,e=this,n=Ot(e).length,r=Math.floor(n/2),o=0;o<r;)t=e[o],e[o++]=e[--n],e[n]=t;return e},some:function(t){return et(Ot(this),t,arguments.length>1?arguments[1]:void 0)},sort:function(t){return ht.call(Ot(this),t)},subarray:function(t,e){var n=Ot(this),r=n.length,o=y(t,r);return new(R(n,n[xt]))(n.buffer,n.byteOffset+o*n.BYTES_PER_ELEMENT,g((void 0===e?r:y(e,r))-o))}},$t=function(t,e){return Mt(this,mt.call(Ot(this),t,e))},Ft=function(t){Ot(this);var e=Pt(arguments[1],1),n=this.length,r=A(t),o=g(r.length),i=0;if(o+e>n)throw K(Et);for(;i<o;)this[e+i]=r[i++]},Gt={entries:function(){return ut.call(Ot(this))},keys:function(){return ct.call(Ot(this))},values:function(){return st.call(Ot(this))}},qt=function(t,e){return _(t)&&t[At]&&"symbol"!=r(e)&&e in t&&String(+e)==String(e)},Kt=function(t,e){return qt(t,e=b(e,!0))?f(2,t[e]):q(t,e)},Ht=function(t,e,n){return!(qt(t,e=b(e,!0))&&_(n)&&w(n,"value"))||w(n,"get")||w(n,"set")||n.configurable||w(n,"writable")&&!n.writable||w(n,"enumerable")&&!n.enumerable?G(t,e,n):(t[e]=n.value,t)};_t||(F.f=Kt,$.f=Ht),s(s.S+s.F*!_t,"Object",{getOwnPropertyDescriptor:Kt,defineProperty:Ht}),a((function(){gt.call({})}))&&(gt=vt=function(){return dt.call(this)});var Vt=h({},Ut);h(Vt,Gt),d(Vt,yt,Gt.values),h(Vt,{slice:$t,set:Ft,constructor:function(){},toString:gt,toLocaleString:Nt}),It(Vt,"buffer","b"),It(Vt,"byteOffset","o"),It(Vt,"byteLength","l"),It(Vt,"length","e"),G(Vt,bt,{get:function(){return this[At]}}),t.exports=function(t,e,n,r){var u=t+((r=!!r)?"Clamped":"")+"Array",l="get"+t,f="set"+t,h=i[u],m=h||{},y=h&&S(h),b=!h||!c.ABV,w={},A=h&&h.prototype,k=function(t,n){G(t,n,{get:function(){return function(t,n){var r=t._d;return r.v[l](n*e+r.o,Tt)}(this,n)},set:function(t){return function(t,n,o){var i=t._d;r&&(o=(o=Math.round(o))<0?0:o>255?255:255&o),i.v[f](n*e+i.o,o,Tt)}(this,n,t)},enumerable:!0})};b?(h=n((function(t,n,r,o){p(t,h,u,"_d");var i,a,s,c,l=0,f=0;if(_(n)){if(!(n instanceof Z||(c=x(n))==z||c==W))return At in n?Rt(h,n):jt.call(h,n);i=n,f=Pt(r,e);var m=n.byteLength;if(void 0===o){if(m%e)throw K(Et);if((a=m-f)<0)throw K(Et)}else if((a=g(o)*e)+f>m)throw K(Et);s=a/e}else s=v(n),i=new Z(a=s*e);for(d(t,"_d",{b:i,o:f,l:a,e:s,v:new Q(i)});l<s;)k(t,l++)})),A=h.prototype=E(Vt),d(A,"constructor",h)):a((function(){h(1)}))&&a((function(){new h(-1)}))&&D((function(t){new h,new h(null),new h(1.5),new h(t)}),!0)||(h=n((function(t,n,r,o){var i;return p(t,h,u),_(n)?n instanceof Z||(i=x(n))==z||i==W?void 0!==o?new m(n,Pt(r,e),o):void 0!==r?new m(n,Pt(r,e)):new m(n):At in n?Rt(h,n):jt.call(h,n):new m(v(n))})),J(y!==Function.prototype?T(m).concat(T(y)):T(m),(function(t){t in h||d(h,t,m[t])})),h.prototype=A,o||(A.constructor=h));var C=A[yt],P=!!C&&("values"==C.name||null==C.name),O=Gt.values;d(h,wt,!0),d(A,At,u),d(A,kt,!0),d(A,xt,h),(r?new h(1)[bt]==u:bt in A)||G(A,bt,{get:function(){return u}}),w[u]=h,s(s.G+s.W+s.F*(h!=m),w),s(s.S,u,{BYTES_PER_ELEMENT:e}),s(s.S+s.F*a((function(){m.of.call(h,1)})),u,{from:jt,of:Dt}),X in A||d(A,X,e),s(s.P,u,Ut),B(u),s(s.P+s.F*Ct,u,{set:Ft}),s(s.P+s.F*!P,u,Gt),o||A.toString==gt||(A.toString=gt),s(s.P+s.F*a((function(){new h(1).slice()})),u,{slice:$t}),s(s.P+s.F*(a((function(){return[1,2].toLocaleString()!=new h([1,2]).toLocaleString()}))||!a((function(){A.toLocaleString.call([1,2])}))),u,{toLocaleString:Nt}),j[u]=P?C:O,o||P||d(A,yt,O)}}else t.exports=function(){}},2428:function(t,e,n){var r=n(3349),o=n(508),i=n(5437),a=n(6303),s=n(6879),c=n(4112),u=n(4277),l=n(2450),p=n(8591),f=n(1284),d=n(5568),h=n(1676).f,m=n(5395).f,g=n(73),v=n(481),y="ArrayBuffer",b="DataView",w="Wrong index!",x=r.ArrayBuffer,_=r.DataView,A=r.Math,k=r.RangeError,E=r.Infinity,S=x,T=A.abs,C=A.pow,P=A.floor,O=A.log,L=A.LN2,M="buffer",R="byteLength",I="byteOffset",j=o?"_b":M,D=o?"_l":R,B=o?"_o":I;function N(t,e,n){var r,o,i,a=new Array(n),s=8*n-e-1,c=(1<<s)-1,u=c>>1,l=23===e?C(2,-24)-C(2,-77):0,p=0,f=t<0||0===t&&1/t<0?1:0;for((t=T(t))!=t||t===E?(o=t!=t?1:0,r=c):(r=P(O(t)/L),t*(i=C(2,-r))<1&&(r--,i*=2),(t+=r+u>=1?l/i:l*C(2,1-u))*i>=2&&(r++,i/=2),r+u>=c?(o=0,r=c):r+u>=1?(o=(t*i-1)*C(2,e),r+=u):(o=t*C(2,u-1)*C(2,e),r=0));e>=8;a[p++]=255&o,o/=256,e-=8);for(r=r<<e|o,s+=e;s>0;a[p++]=255&r,r/=256,s-=8);return a[--p]|=128*f,a}function U(t,e,n){var r,o=8*n-e-1,i=(1<<o)-1,a=i>>1,s=o-7,c=n-1,u=t[c--],l=127&u;for(u>>=7;s>0;l=256*l+t[c],c--,s-=8);for(r=l&(1<<-s)-1,l>>=-s,s+=e;s>0;r=256*r+t[c],c--,s-=8);if(0===l)l=1-a;else{if(l===i)return r?NaN:u?-E:E;r+=C(2,e),l-=a}return(u?-1:1)*r*C(2,l-e)}function $(t){return t[3]<<24|t[2]<<16|t[1]<<8|t[0]}function F(t){return[255&t]}function G(t){return[255&t,t>>8&255]}function q(t){return[255&t,t>>8&255,t>>16&255,t>>24&255]}function K(t){return N(t,52,8)}function H(t){return N(t,23,4)}function V(t,e,n){m(t.prototype,e,{get:function(){return this[n]}})}function z(t,e,n,r){var o=d(+n);if(o+e>t[D])throw k(w);var i=t[j]._b,a=o+t[B],s=i.slice(a,a+e);return r?s:s.reverse()}function W(t,e,n,r,o,i){var a=d(+n);if(a+e>t[D])throw k(w);for(var s=t[j]._b,c=a+t[B],u=r(+o),l=0;l<e;l++)s[c+l]=u[i?l:e-l-1]}if(a.ABV){if(!u((function(){x(1)}))||!u((function(){new x(-1)}))||u((function(){return new x,new x(1.5),new x(NaN),x.name!=y}))){for(var X,Y=(x=function(t){return l(this,x),new S(d(t))}).prototype=S.prototype,Z=h(S),Q=0;Z.length>Q;)(X=Z[Q++])in x||s(x,X,S[X]);i||(Y.constructor=x)}var J=new _(new x(2)),tt=_.prototype.setInt8;J.setInt8(0,2147483648),J.setInt8(1,2147483649),!J.getInt8(0)&&J.getInt8(1)||c(_.prototype,{setInt8:function(t,e){tt.call(this,t,e<<24>>24)},setUint8:function(t,e){tt.call(this,t,e<<24>>24)}},!0)}else x=function(t){l(this,x,y);var e=d(t);this._b=g.call(new Array(e),0),this[D]=e},_=function(t,e,n){l(this,_,b),l(t,x,b);var r=t[D],o=p(e);if(o<0||o>r)throw k("Wrong offset!");if(o+(n=void 0===n?r-o:f(n))>r)throw k("Wrong length!");this[j]=t,this[B]=o,this[D]=n},o&&(V(x,R,"_l"),V(_,M,"_b"),V(_,R,"_l"),V(_,I,"_o")),c(_.prototype,{getInt8:function(t){return z(this,1,t)[0]<<24>>24},getUint8:function(t){return z(this,1,t)[0]},getInt16:function(t){var e=z(this,2,t,arguments[1]);return(e[1]<<8|e[0])<<16>>16},getUint16:function(t){var e=z(this,2,t,arguments[1]);return e[1]<<8|e[0]},getInt32:function(t){return $(z(this,4,t,arguments[1]))},getUint32:function(t){return $(z(this,4,t,arguments[1]))>>>0},getFloat32:function(t){return U(z(this,4,t,arguments[1]),23,4)},getFloat64:function(t){return U(z(this,8,t,arguments[1]),52,8)},setInt8:function(t,e){W(this,1,t,F,e)},setUint8:function(t,e){W(this,1,t,F,e)},setInt16:function(t,e){W(this,2,t,G,e,arguments[2])},setUint16:function(t,e){W(this,2,t,G,e,arguments[2])},setInt32:function(t,e){W(this,4,t,q,e,arguments[2])},setUint32:function(t,e){W(this,4,t,q,e,arguments[2])},setFloat32:function(t,e){W(this,4,t,H,e,arguments[2])},setFloat64:function(t,e){W(this,8,t,K,e,arguments[2])}});v(x,y),v(_,b),s(_.prototype,a.VIEW,!0),e.ArrayBuffer=x,e.DataView=_},6303:function(t,e,n){for(var r,o=n(3349),i=n(6879),a=n(7398),s=a("typed_array"),c=a("view"),u=!(!o.ArrayBuffer||!o.DataView),l=u,p=0,f="Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array".split(",");p<9;)(r=o[f[p++]])?(i(r.prototype,s,!0),i(r.prototype,c,!0)):l=!1;t.exports={ABV:u,CONSTR:l,TYPED:s,VIEW:c}},7398:function(t){var e=0,n=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++e+n).toString(36))}},3115:function(t,e,n){var r=n(3349).navigator;t.exports=r&&r.userAgent||""},1364:function(t,e,n){var r=n(3506);t.exports=function(t,e){if(!r(t)||t._t!==e)throw TypeError("Incompatible receiver, "+e+" required!");return t}},5490:function(t,e,n){var r=n(3349),o=n(7619),i=n(5437),a=n(185),s=n(5395).f;t.exports=function(t){var e=o.Symbol||(o.Symbol=i?{}:r.Symbol||{});"_"==t.charAt(0)||t in e||s(e,t,{value:a.f(t)})}},185:function(t,e,n){e.f=n(3567)},3567:function(t,e,n){var r=n(1375)("wks"),o=n(7398),i=n(3349).Symbol,a="function"==typeof i;(t.exports=function(t){return r[t]||(r[t]=a&&i[t]||(a?i:o)("Symbol."+t))}).store=r},3613:function(t,e,n){var r=n(9736),o=n(3567)("iterator"),i=n(9746);t.exports=n(7619).getIteratorMethod=function(t){if(null!=t)return t[o]||t["@@iterator"]||i[r(t)]}},197:function(t,e,n){var r=n(3276);r(r.P,"Array",{copyWithin:n(2670)}),n(3680)("copyWithin")},7243:function(t,e,n){var r=n(3276),o=n(3828)(4);r(r.P+r.F*!n(4433)([].every,!0),"Array",{every:function(t){return o(this,t,arguments[1])}})},7536:function(t,e,n){var r=n(3276);r(r.P,"Array",{fill:n(73)}),n(3680)("fill")},9574:function(t,e,n){var r=n(3276),o=n(3828)(2);r(r.P+r.F*!n(4433)([].filter,!0),"Array",{filter:function(t){return o(this,t,arguments[1])}})},1094:function(t,e,n){var r=n(3276),o=n(3828)(6),i="findIndex",a=!0;i in[]&&Array(1)[i]((function(){a=!1})),r(r.P+r.F*a,"Array",{findIndex:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}}),n(3680)(i)},3144:function(t,e,n){var r=n(3276),o=n(3828)(5),i="find",a=!0;i in[]&&Array(1).find((function(){a=!1})),r(r.P+r.F*a,"Array",{find:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}}),n(3680)(i)},5742:function(t,e,n){var r=n(3276),o=n(3828)(0),i=n(4433)([].forEach,!0);r(r.P+r.F*!i,"Array",{forEach:function(t){return o(this,t,arguments[1])}})},8471:function(t,e,n){var r=n(7863),o=n(3276),i=n(4674),a=n(5684),s=n(6136),c=n(1284),u=n(5094),l=n(3613);o(o.S+o.F*!n(2569)((function(t){Array.from(t)})),"Array",{from:function(t){var e,n,o,p,f=i(t),d="function"==typeof this?this:Array,h=arguments.length,m=h>1?arguments[1]:void 0,g=void 0!==m,v=0,y=l(f);if(g&&(m=r(m,h>2?arguments[2]:void 0,2)),null==y||d==Array&&s(y))for(n=new d(e=c(f.length));e>v;v++)u(n,v,g?m(f[v],v):f[v]);else for(p=y.call(f),n=new d;!(o=p.next()).done;v++)u(n,v,g?a(p,m,[o.value,v],!0):o.value);return n.length=v,n}})},6674:function(t,e,n){var r=n(3276),o=n(6329)(!1),i=[].indexOf,a=!!i&&1/[1].indexOf(1,-0)<0;r(r.P+r.F*(a||!n(4433)(i)),"Array",{indexOf:function(t){return a?i.apply(this,arguments)||0:o(this,t,arguments[1])}})},9752:function(t,e,n){var r=n(3276);r(r.S,"Array",{isArray:n(8151)})},3774:function(t,e,n){var r=n(3680),o=n(3337),i=n(9746),a=n(8670);t.exports=n(2117)(Array,"Array",(function(t,e){this._t=a(t),this._i=0,this._k=e}),(function(){var t=this._t,e=this._k,n=this._i++;return!t||n>=t.length?(this._t=void 0,o(1)):o(0,"keys"==e?n:"values"==e?t[n]:[n,t[n]])}),"values"),i.Arguments=i.Array,r("keys"),r("values"),r("entries")},2336:function(t,e,n){var r=n(3276),o=n(8670),i=[].join;r(r.P+r.F*(n(7751)!=Object||!n(4433)(i)),"Array",{join:function(t){return i.call(o(this),void 0===t?",":t)}})},2125:function(t,e,n){var r=n(3276),o=n(8670),i=n(8591),a=n(1284),s=[].lastIndexOf,c=!!s&&1/[1].lastIndexOf(1,-0)<0;r(r.P+r.F*(c||!n(4433)(s)),"Array",{lastIndexOf:function(t){if(c)return s.apply(this,arguments)||0;var e=o(this),n=a(e.length),r=n-1;for(arguments.length>1&&(r=Math.min(r,i(arguments[1]))),r<0&&(r=n+r);r>=0;r--)if(r in e&&e[r]===t)return r||0;return-1}})},4358:function(t,e,n){var r=n(3276),o=n(3828)(1);r(r.P+r.F*!n(4433)([].map,!0),"Array",{map:function(t){return o(this,t,arguments[1])}})},1655:function(t,e,n){var r=n(3276),o=n(5094);r(r.S+r.F*n(4277)((function(){function t(){}return!(Array.of.call(t)instanceof t)})),"Array",{of:function(){for(var t=0,e=arguments.length,n=new("function"==typeof this?this:Array)(e);e>t;)o(n,t,arguments[t++]);return n.length=e,n}})},9152:function(t,e,n){var r=n(3276),o=n(9222);r(r.P+r.F*!n(4433)([].reduceRight,!0),"Array",{reduceRight:function(t){return o(this,t,arguments.length,arguments[1],!0)}})},7084:function(t,e,n){var r=n(3276),o=n(9222);r(r.P+r.F*!n(4433)([].reduce,!0),"Array",{reduce:function(t){return o(this,t,arguments.length,arguments[1],!1)}})},7909:function(t,e,n){var r=n(3276),o=n(9684),i=n(1647),a=n(8413),s=n(1284),c=[].slice;r(r.P+r.F*n(4277)((function(){o&&c.call(o)})),"Array",{slice:function(t,e){var n=s(this.length),r=i(this);if(e=void 0===e?n:e,"Array"==r)return c.call(this,t,e);for(var o=a(t,n),u=a(e,n),l=s(u-o),p=new Array(l),f=0;f<l;f++)p[f]="String"==r?this.charAt(o+f):this[o+f];return p}})},6167:function(t,e,n){var r=n(3276),o=n(3828)(3);r(r.P+r.F*!n(4433)([].some,!0),"Array",{some:function(t){return o(this,t,arguments[1])}})},760:function(t,e,n){var r=n(3276),o=n(3679),i=n(4674),a=n(4277),s=[].sort,c=[1,2,3];r(r.P+r.F*(a((function(){c.sort(void 0)}))||!a((function(){c.sort(null)}))||!n(4433)(s)),"Array",{sort:function(t){return void 0===t?s.call(i(this)):s.call(i(this),o(t))}})},7378:function(t,e,n){n(9629)("Array")},8185:function(t,e,n){var r=n(3276);r(r.S,"Date",{now:function(){return(new Date).getTime()}})},5824:function(t,e,n){var r=n(3276),o=n(5325);r(r.P+r.F*(Date.prototype.toISOString!==o),"Date",{toISOString:o})},3375:function(t,e,n){var r=n(3276),o=n(4674),i=n(2950);r(r.P+r.F*n(4277)((function(){return null!==new Date(NaN).toJSON()||1!==Date.prototype.toJSON.call({toISOString:function(){return 1}})})),"Date",{toJSON:function(t){var e=o(this),n=i(e);return"number"!=typeof n||isFinite(n)?e.toISOString():null}})},2173:function(t,e,n){var r=n(3567)("toPrimitive"),o=Date.prototype;r in o||n(6879)(o,r,n(2556))},6103:function(t,e,n){var r=Date.prototype,o="Invalid Date",i=r.toString,a=r.getTime;new Date(NaN)+""!=o&&n(5911)(r,"toString",(function(){var t=a.call(this);return t==t?i.call(this):o}))},4060:function(t,e,n){var r=n(3276);r(r.P,"Function",{bind:n(6059)})},1764:function(t,e,n){var r=n(3506),o=n(8300),i=n(3567)("hasInstance"),a=Function.prototype;i in a||n(5395).f(a,i,{value:function(t){if("function"!=typeof this||!r(t))return!1;if(!r(this.prototype))return t instanceof this;for(;t=o(t);)if(this.prototype===t)return!0;return!1}})},5283:function(t,e,n){var r=n(5395).f,o=Function.prototype,i=/^\s*function ([^ (]*)/,a="name";a in o||n(508)&&r(o,a,{configurable:!0,get:function(){try{return(""+this).match(i)[1]}catch(t){return""}}})},7679:function(t,e,n){var r=n(5019),o=n(1364),i="Map";t.exports=n(1107)(i,(function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}}),{get:function(t){var e=r.getEntry(o(this,i),t);return e&&e.v},set:function(t,e){return r.def(o(this,i),0===t?0:t,e)}},r,!0)},7494:function(t,e,n){var r=n(3276),o=n(5242),i=Math.sqrt,a=Math.acosh;r(r.S+r.F*!(a&&710==Math.floor(a(Number.MAX_VALUE))&&a(1/0)==1/0),"Math",{acosh:function(t){return(t=+t)<1?NaN:t>94906265.62425156?Math.log(t)+Math.LN2:o(t-1+i(t-1)*i(t+1))}})},8781:function(t,e,n){var r=n(3276),o=Math.asinh;r(r.S+r.F*!(o&&1/o(0)>0),"Math",{asinh:function t(e){return isFinite(e=+e)&&0!=e?e<0?-t(-e):Math.log(e+Math.sqrt(e*e+1)):e}})},7533:function(t,e,n){var r=n(3276),o=Math.atanh;r(r.S+r.F*!(o&&1/o(-0)<0),"Math",{atanh:function(t){return 0==(t=+t)?t:Math.log((1+t)/(1-t))/2}})},3301:function(t,e,n){var r=n(3276),o=n(5596);r(r.S,"Math",{cbrt:function(t){return o(t=+t)*Math.pow(Math.abs(t),1/3)}})},422:function(t,e,n){var r=n(3276);r(r.S,"Math",{clz32:function(t){return(t>>>=0)?31-Math.floor(Math.log(t+.5)*Math.LOG2E):32}})},9705:function(t,e,n){var r=n(3276),o=Math.exp;r(r.S,"Math",{cosh:function(t){return(o(t=+t)+o(-t))/2}})},711:function(t,e,n){var r=n(3276),o=n(2998);r(r.S+r.F*(o!=Math.expm1),"Math",{expm1:o})},6160:function(t,e,n){var r=n(3276);r(r.S,"Math",{fround:n(4619)})},5387:function(t,e,n){var r=n(3276),o=Math.abs;r(r.S,"Math",{hypot:function(t,e){for(var n,r,i=0,a=0,s=arguments.length,c=0;a<s;)c<(n=o(arguments[a++]))?(i=i*(r=c/n)*r+1,c=n):i+=n>0?(r=n/c)*r:n;return c===1/0?1/0:c*Math.sqrt(i)}})},4386:function(t,e,n){var r=n(3276),o=Math.imul;r(r.S+r.F*n(4277)((function(){return-5!=o(4294967295,5)||2!=o.length})),"Math",{imul:function(t,e){var n=65535,r=+t,o=+e,i=n&r,a=n&o;return 0|i*a+((n&r>>>16)*a+i*(n&o>>>16)<<16>>>0)}})},3568:function(t,e,n){var r=n(3276);r(r.S,"Math",{log10:function(t){return Math.log(t)*Math.LOG10E}})},6739:function(t,e,n){var r=n(3276);r(r.S,"Math",{log1p:n(5242)})},156:function(t,e,n){var r=n(3276);r(r.S,"Math",{log2:function(t){return Math.log(t)/Math.LN2}})},7022:function(t,e,n){var r=n(3276);r(r.S,"Math",{sign:n(5596)})},4132:function(t,e,n){var r=n(3276),o=n(2998),i=Math.exp;r(r.S+r.F*n(4277)((function(){return-2e-17!=!Math.sinh(-2e-17)})),"Math",{sinh:function(t){return Math.abs(t=+t)<1?(o(t)-o(-t))/2:(i(t-1)-i(-t-1))*(Math.E/2)}})},8463:function(t,e,n){var r=n(3276),o=n(2998),i=Math.exp;r(r.S,"Math",{tanh:function(t){var e=o(t=+t),n=o(-t);return e==1/0?1:n==1/0?-1:(e-n)/(i(t)+i(-t))}})},3695:function(t,e,n){var r=n(3276);r(r.S,"Math",{trunc:function(t){return(t>0?Math.floor:Math.ceil)(t)}})},6597:function(t,e,n){var r=n(3349),o=n(4307),i=n(1647),a=n(672),s=n(2950),c=n(4277),u=n(1676).f,l=n(833).f,p=n(5395).f,f=n(2829).trim,d="Number",h=r.Number,m=h,g=h.prototype,v=i(n(1693)(g))==d,y="trim"in String.prototype,b=function(t){var e=s(t,!1);if("string"==typeof e&&e.length>2){var n,r,o,i=(e=y?e.trim():f(e,3)).charCodeAt(0);if(43===i||45===i){if(88===(n=e.charCodeAt(2))||120===n)return NaN}else if(48===i){switch(e.charCodeAt(1)){case 66:case 98:r=2,o=49;break;case 79:case 111:r=8,o=55;break;default:return+e}for(var a,c=e.slice(2),u=0,l=c.length;u<l;u++)if((a=c.charCodeAt(u))<48||a>o)return NaN;return parseInt(c,r)}}return+e};if(!h(" 0o1")||!h("0b1")||h("+0x1")){h=function(t){var e=arguments.length<1?0:t,n=this;return n instanceof h&&(v?c((function(){g.valueOf.call(n)})):i(n)!=d)?a(new m(b(e)),n,h):b(e)};for(var w,x=n(508)?u(m):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),_=0;x.length>_;_++)o(m,w=x[_])&&!o(h,w)&&p(h,w,l(m,w));h.prototype=g,g.constructor=h,n(5911)(r,d,h)}},7879:function(t,e,n){var r=n(3276);r(r.S,"Number",{EPSILON:Math.pow(2,-52)})},5878:function(t,e,n){var r=n(3276),o=n(3349).isFinite;r(r.S,"Number",{isFinite:function(t){return"number"==typeof t&&o(t)}})},2825:function(t,e,n){var r=n(3276);r(r.S,"Number",{isInteger:n(3830)})},580:function(t,e,n){var r=n(3276);r(r.S,"Number",{isNaN:function(t){return t!=t}})},475:function(t,e,n){var r=n(3276),o=n(3830),i=Math.abs;r(r.S,"Number",{isSafeInteger:function(t){return o(t)&&i(t)<=9007199254740991}})},2346:function(t,e,n){var r=n(3276);r(r.S,"Number",{MAX_SAFE_INTEGER:9007199254740991})},1877:function(t,e,n){var r=n(3276);r(r.S,"Number",{MIN_SAFE_INTEGER:-9007199254740991})},7156:function(t,e,n){var r=n(3276),o=n(3135);r(r.S+r.F*(Number.parseFloat!=o),"Number",{parseFloat:o})},6630:function(t,e,n){var r=n(3276),o=n(2134);r(r.S+r.F*(Number.parseInt!=o),"Number",{parseInt:o})},6865:function(t,e,n){var r=n(3276),o=n(8591),i=n(5801),a=n(5067),s=1..toFixed,c=Math.floor,u=[0,0,0,0,0,0],l="Number.toFixed: incorrect invocation!",p="0",f=function(t,e){for(var n=-1,r=e;++n<6;)r+=t*u[n],u[n]=r%1e7,r=c(r/1e7)},d=function(t){for(var e=6,n=0;--e>=0;)n+=u[e],u[e]=c(n/t),n=n%t*1e7},h=function(){for(var t=6,e="";--t>=0;)if(""!==e||0===t||0!==u[t]){var n=String(u[t]);e=""===e?n:e+a.call(p,7-n.length)+n}return e},m=function t(e,n,r){return 0===n?r:n%2==1?t(e,n-1,r*e):t(e*e,n/2,r)};r(r.P+r.F*(!!s&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==(0xde0b6b3a7640080).toFixed(0))||!n(4277)((function(){s.call({})}))),"Number",{toFixed:function(t){var e,n,r,s,c=i(this,l),u=o(t),g="",v=p;if(u<0||u>20)throw RangeError(l);if(c!=c)return"NaN";if(c<=-1e21||c>=1e21)return String(c);if(c<0&&(g="-",c=-c),c>1e-21)if(e=function(t){for(var e=0,n=t;n>=4096;)e+=12,n/=4096;for(;n>=2;)e+=1,n/=2;return e}(c*m(2,69,1))-69,n=e<0?c*m(2,-e,1):c/m(2,e,1),n*=4503599627370496,(e=52-e)>0){for(f(0,n),r=u;r>=7;)f(1e7,0),r-=7;for(f(m(10,r,1),0),r=e-1;r>=23;)d(1<<23),r-=23;d(1<<r),f(1,1),d(2),v=h()}else f(0,n),f(1<<-e,0),v=h()+a.call(p,u);return u>0?g+((s=v.length)<=u?"0."+a.call(p,u-s)+v:v.slice(0,s-u)+"."+v.slice(s-u)):g+v}})},2750:function(t,e,n){var r=n(3276),o=n(4277),i=n(5801),a=1..toPrecision;r(r.P+r.F*(o((function(){return"1"!==a.call(1,void 0)}))||!o((function(){a.call({})}))),"Number",{toPrecision:function(t){var e=i(this,"Number#toPrecision: incorrect invocation!");return void 0===t?a.call(e):a.call(e,t)}})},5471:function(t,e,n){var r=n(3276);r(r.S+r.F,"Object",{assign:n(4236)})},3719:function(t,e,n){var r=n(3276);r(r.S,"Object",{create:n(1693)})},6462:function(t,e,n){var r=n(3276);r(r.S+r.F*!n(508),"Object",{defineProperties:n(4553)})},7279:function(t,e,n){var r=n(3276);r(r.S+r.F*!n(508),"Object",{defineProperty:n(5395).f})},4151:function(t,e,n){var r=n(3506),o=n(3797).onFreeze;n(139)("freeze",(function(t){return function(e){return t&&r(e)?t(o(e)):e}}))},5048:function(t,e,n){var r=n(8670),o=n(833).f;n(139)("getOwnPropertyDescriptor",(function(){return function(t,e){return o(r(t),e)}}))},1862:function(t,e,n){n(139)("getOwnPropertyNames",(function(){return n(645).f}))},3085:function(t,e,n){var r=n(4674),o=n(8300);n(139)("getPrototypeOf",(function(){return function(t){return o(r(t))}}))},513:function(t,e,n){var r=n(3506);n(139)("isExtensible",(function(t){return function(e){return!!r(e)&&(!t||t(e))}}))},7247:function(t,e,n){var r=n(3506);n(139)("isFrozen",(function(t){return function(e){return!r(e)||!!t&&t(e)}}))},2490:function(t,e,n){var r=n(3506);n(139)("isSealed",(function(t){return function(e){return!r(e)||!!t&&t(e)}}))},8848:function(t,e,n){var r=n(3276);r(r.S,"Object",{is:n(5681)})},8149:function(t,e,n){var r=n(4674),o=n(4190);n(139)("keys",(function(){return function(t){return o(r(t))}}))},4289:function(t,e,n){var r=n(3506),o=n(3797).onFreeze;n(139)("preventExtensions",(function(t){return function(e){return t&&r(e)?t(o(e)):e}}))},1422:function(t,e,n){var r=n(3506),o=n(3797).onFreeze;n(139)("seal",(function(t){return function(e){return t&&r(e)?t(o(e)):e}}))},7004:function(t,e,n){var r=n(3276);r(r.S,"Object",{setPrototypeOf:n(4106).set})},7678:function(t,e,n){var r=n(9736),o={};o[n(3567)("toStringTag")]="z",o+""!="[object z]"&&n(5911)(Object.prototype,"toString",(function(){return"[object "+r(this)+"]"}),!0)},5318:function(t,e,n){var r=n(3276),o=n(3135);r(r.G+r.F*(parseFloat!=o),{parseFloat:o})},6831:function(t,e,n){var r=n(3276),o=n(2134);r(r.G+r.F*(parseInt!=o),{parseInt:o})},5164:function(t,e,n){var r,o,i,a,s=n(5437),c=n(3349),u=n(7863),l=n(9736),p=n(3276),f=n(3506),d=n(3679),h=n(2450),m=n(8302),g=n(5168),v=n(2007).set,y=n(2739)(),b=n(8238),w=n(5243),x=n(3115),_=n(5750),A="Promise",k=c.TypeError,E=c.process,S=E&&E.versions,T=S&&S.v8||"",C=c.Promise,P="process"==l(E),O=function(){},L=o=b.f,M=!!function(){try{var t=C.resolve(1),e=(t.constructor={})[n(3567)("species")]=function(t){t(O,O)};return(P||"function"==typeof PromiseRejectionEvent)&&t.then(O)instanceof e&&0!==T.indexOf("6.6")&&-1===x.indexOf("Chrome/66")}catch(t){}}(),R=function(t){var e;return!(!f(t)||"function"!=typeof(e=t.then))&&e},I=function(t,e){if(!t._n){t._n=!0;var n=t._c;y((function(){for(var r=t._v,o=1==t._s,i=0,a=function(e){var n,i,a,s=o?e.ok:e.fail,c=e.resolve,u=e.reject,l=e.domain;try{s?(o||(2==t._h&&B(t),t._h=1),!0===s?n=r:(l&&l.enter(),n=s(r),l&&(l.exit(),a=!0)),n===e.promise?u(k("Promise-chain cycle")):(i=R(n))?i.call(n,c,u):c(n)):u(r)}catch(t){l&&!a&&l.exit(),u(t)}};n.length>i;)a(n[i++]);t._c=[],t._n=!1,e&&!t._h&&j(t)}))}},j=function(t){v.call(c,(function(){var e,n,r,o=t._v,i=D(t);if(i&&(e=w((function(){P?E.emit("unhandledRejection",o,t):(n=c.onunhandledrejection)?n({promise:t,reason:o}):(r=c.console)&&r.error&&r.error("Unhandled promise rejection",o)})),t._h=P||D(t)?2:1),t._a=void 0,i&&e.e)throw e.v}))},D=function(t){return 1!==t._h&&0===(t._a||t._c).length},B=function(t){v.call(c,(function(){var e;P?E.emit("rejectionHandled",t):(e=c.onrejectionhandled)&&e({promise:t,reason:t._v})}))},N=function(t){var e=this;e._d||(e._d=!0,(e=e._w||e)._v=t,e._s=2,e._a||(e._a=e._c.slice()),I(e,!0))},U=function t(e){var n,r=this;if(!r._d){r._d=!0,r=r._w||r;try{if(r===e)throw k("Promise can't be resolved itself");(n=R(e))?y((function(){var o={_w:r,_d:!1};try{n.call(e,u(t,o,1),u(N,o,1))}catch(t){N.call(o,t)}})):(r._v=e,r._s=1,I(r,!1))}catch(t){N.call({_w:r,_d:!1},t)}}};M||(C=function(t){h(this,C,A,"_h"),d(t),r.call(this);try{t(u(U,this,1),u(N,this,1))}catch(t){N.call(this,t)}},(r=function(t){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1}).prototype=n(4112)(C.prototype,{then:function(t,e){var n=L(g(this,C));return n.ok="function"!=typeof t||t,n.fail="function"==typeof e&&e,n.domain=P?E.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&I(this,!1),n.promise},catch:function(t){return this.then(void 0,t)}}),i=function(){var t=new r;this.promise=t,this.resolve=u(U,t,1),this.reject=u(N,t,1)},b.f=L=function(t){return t===C||t===a?new i(t):o(t)}),p(p.G+p.W+p.F*!M,{Promise:C}),n(481)(C,A),n(9629)(A),a=n(7619).Promise,p(p.S+p.F*!M,A,{reject:function(t){var e=L(this);return(0,e.reject)(t),e.promise}}),p(p.S+p.F*(s||!M),A,{resolve:function(t){return _(s&&this===a?C:this,t)}}),p(p.S+p.F*!(M&&n(2569)((function(t){C.all(t).catch(O)}))),A,{all:function(t){var e=this,n=L(e),r=n.resolve,o=n.reject,i=w((function(){var n=[],i=0,a=1;m(t,!1,(function(t){var s=i++,c=!1;n.push(void 0),a++,e.resolve(t).then((function(t){c||(c=!0,n[s]=t,--a||r(n))}),o)})),--a||r(n)}));return i.e&&o(i.v),n.promise},race:function(t){var e=this,n=L(e),r=n.reject,o=w((function(){m(t,!1,(function(t){e.resolve(t).then(n.resolve,r)}))}));return o.e&&r(o.v),n.promise}})},7053:function(t,e,n){var r=n(3276),o=n(3679),i=n(8069),a=(n(3349).Reflect||{}).apply,s=Function.apply;r(r.S+r.F*!n(4277)((function(){a((function(){}))})),"Reflect",{apply:function(t,e,n){var r=o(t),c=i(n);return a?a(r,e,c):s.call(r,e,c)}})},3122:function(t,e,n){var r=n(3276),o=n(1693),i=n(3679),a=n(8069),s=n(3506),c=n(4277),u=n(6059),l=(n(3349).Reflect||{}).construct,p=c((function(){function t(){}return!(l((function(){}),[],t)instanceof t)})),f=!c((function(){l((function(){}))}));r(r.S+r.F*(p||f),"Reflect",{construct:function(t,e){i(t),a(e);var n=arguments.length<3?t:i(arguments[2]);if(f&&!p)return l(t,e,n);if(t==n){switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3])}var r=[null];return r.push.apply(r,e),new(u.apply(t,r))}var c=n.prototype,d=o(s(c)?c:Object.prototype),h=Function.apply.call(t,d,e);return s(h)?h:d}})},56:function(t,e,n){var r=n(5395),o=n(3276),i=n(8069),a=n(2950);o(o.S+o.F*n(4277)((function(){Reflect.defineProperty(r.f({},1,{value:1}),1,{value:2})})),"Reflect",{defineProperty:function(t,e,n){i(t),e=a(e,!0),i(n);try{return r.f(t,e,n),!0}catch(t){return!1}}})},2162:function(t,e,n){var r=n(3276),o=n(833).f,i=n(8069);r(r.S,"Reflect",{deleteProperty:function(t,e){var n=o(i(t),e);return!(n&&!n.configurable)&&delete t[e]}})},1078:function(t,e,n){var r=n(3276),o=n(8069),i=function(t){this._t=o(t),this._i=0;var e,n=this._k=[];for(e in t)n.push(e)};n(4076)(i,"Object",(function(){var t,e=this,n=e._k;do{if(e._i>=n.length)return{value:void 0,done:!0}}while(!((t=n[e._i++])in e._t));return{value:t,done:!1}})),r(r.S,"Reflect",{enumerate:function(t){return new i(t)}})},9160:function(t,e,n){var r=n(833),o=n(3276),i=n(8069);o(o.S,"Reflect",{getOwnPropertyDescriptor:function(t,e){return r.f(i(t),e)}})},4082:function(t,e,n){var r=n(3276),o=n(8300),i=n(8069);r(r.S,"Reflect",{getPrototypeOf:function(t){return o(i(t))}})},8981:function(t,e,n){var r=n(833),o=n(8300),i=n(4307),a=n(3276),s=n(3506),c=n(8069);a(a.S,"Reflect",{get:function t(e,n){var a,u,l=arguments.length<3?e:arguments[2];return c(e)===l?e[n]:(a=r.f(e,n))?i(a,"value")?a.value:void 0!==a.get?a.get.call(l):void 0:s(u=o(e))?t(u,n,l):void 0}})},1723:function(t,e,n){var r=n(3276);r(r.S,"Reflect",{has:function(t,e){return e in t}})},8324:function(t,e,n){var r=n(3276),o=n(8069),i=Object.isExtensible;r(r.S,"Reflect",{isExtensible:function(t){return o(t),!i||i(t)}})},7372:function(t,e,n){var r=n(3276);r(r.S,"Reflect",{ownKeys:n(456)})},8490:function(t,e,n){var r=n(3276),o=n(8069),i=Object.preventExtensions;r(r.S,"Reflect",{preventExtensions:function(t){o(t);try{return i&&i(t),!0}catch(t){return!1}}})},4728:function(t,e,n){var r=n(3276),o=n(4106);o&&r(r.S,"Reflect",{setPrototypeOf:function(t,e){o.check(t,e);try{return o.set(t,e),!0}catch(t){return!1}}})},7454:function(t,e,n){var r=n(5395),o=n(833),i=n(8300),a=n(4307),s=n(3276),c=n(432),u=n(8069),l=n(3506);s(s.S,"Reflect",{set:function t(e,n,s){var p,f,d=arguments.length<4?e:arguments[3],h=o.f(u(e),n);if(!h){if(l(f=i(e)))return t(f,n,s,d);h=c(0)}if(a(h,"value")){if(!1===h.writable||!l(d))return!1;if(p=o.f(d,n)){if(p.get||p.set||!1===p.writable)return!1;p.value=s,r.f(d,n,p)}else r.f(d,n,c(0,s));return!0}return void 0!==h.set&&(h.set.call(d,s),!0)}})},9721:function(t,e,n){var r=n(3349),o=n(672),i=n(5395).f,a=n(1676).f,s=n(2741),c=n(5056),u=r.RegExp,l=u,p=u.prototype,f=/a/g,d=/a/g,h=new u(f)!==f;if(n(508)&&(!h||n(4277)((function(){return d[n(3567)("match")]=!1,u(f)!=f||u(d)==d||"/a/i"!=u(f,"i")})))){u=function(t,e){var n=this instanceof u,r=s(t),i=void 0===e;return!n&&r&&t.constructor===u&&i?t:o(h?new l(r&&!i?t.source:t,e):l((r=t instanceof u)?t.source:t,r&&i?c.call(t):e),n?this:p,u)};for(var m=function(t){t in u||i(u,t,{configurable:!0,get:function(){return l[t]},set:function(e){l[t]=e}})},g=a(l),v=0;g.length>v;)m(g[v++]);p.constructor=u,u.prototype=p,n(5911)(r,"RegExp",u)}n(9629)("RegExp")},5488:function(t,e,n){var r=n(1796);n(3276)({target:"RegExp",proto:!0,forced:r!==/./.exec},{exec:r})},5743:function(t,e,n){n(508)&&"g"!=/./g.flags&&n(5395).f(RegExp.prototype,"flags",{configurable:!0,get:n(5056)})},7600:function(t,e,n){var r=n(8069),o=n(1284),i=n(1501),a=n(3059);n(5844)("match",1,(function(t,e,n,s){return[function(n){var r=t(this),o=null==n?void 0:n[e];return void 0!==o?o.call(n,r):new RegExp(n)[e](String(r))},function(t){var e=s(n,t,this);if(e.done)return e.value;var c=r(t),u=String(this);if(!c.global)return a(c,u);var l=c.unicode;c.lastIndex=0;for(var p,f=[],d=0;null!==(p=a(c,u));){var h=String(p[0]);f[d]=h,""===h&&(c.lastIndex=i(u,o(c.lastIndex),l)),d++}return 0===d?null:f}]}))},2953:function(t,e,n){var r=n(8069),o=n(4674),i=n(1284),a=n(8591),s=n(1501),c=n(3059),u=Math.max,l=Math.min,p=Math.floor,f=/\$([$&`']|\d\d?|<[^>]*>)/g,d=/\$([$&`']|\d\d?)/g;n(5844)("replace",2,(function(t,e,n,h){return[function(r,o){var i=t(this),a=null==r?void 0:r[e];return void 0!==a?a.call(r,i,o):n.call(String(i),r,o)},function(t,e){var o=h(n,t,this,e);if(o.done)return o.value;var p=r(t),f=String(this),d="function"==typeof e;d||(e=String(e));var g=p.global;if(g){var v=p.unicode;p.lastIndex=0}for(var y=[];;){var b=c(p,f);if(null===b)break;if(y.push(b),!g)break;""===String(b[0])&&(p.lastIndex=s(f,i(p.lastIndex),v))}for(var w,x="",_=0,A=0;A<y.length;A++){b=y[A];for(var k=String(b[0]),E=u(l(a(b.index),f.length),0),S=[],T=1;T<b.length;T++)S.push(void 0===(w=b[T])?w:String(w));var C=b.groups;if(d){var P=[k].concat(S,E,f);void 0!==C&&P.push(C);var O=String(e.apply(void 0,P))}else O=m(k,f,E,S,C,e);E>=_&&(x+=f.slice(_,E)+O,_=E+k.length)}return x+f.slice(_)}];function m(t,e,r,i,a,s){var c=r+t.length,u=i.length,l=d;return void 0!==a&&(a=o(a),l=f),n.call(s,l,(function(n,o){var s;switch(o.charAt(0)){case"$":return"$";case"&":return t;case"`":return e.slice(0,r);case"'":return e.slice(c);case"<":s=a[o.slice(1,-1)];break;default:var l=+o;if(0===l)return n;if(l>u){var f=p(l/10);return 0===f?n:f<=u?void 0===i[f-1]?o.charAt(1):i[f-1]+o.charAt(1):n}s=i[l-1]}return void 0===s?"":s}))}}))},3024:function(t,e,n){var r=n(8069),o=n(5681),i=n(3059);n(5844)("search",1,(function(t,e,n,a){return[function(n){var r=t(this),o=null==n?void 0:n[e];return void 0!==o?o.call(n,r):new RegExp(n)[e](String(r))},function(t){var e=a(n,t,this);if(e.done)return e.value;var s=r(t),c=String(this),u=s.lastIndex;o(u,0)||(s.lastIndex=0);var l=i(s,c);return o(s.lastIndex,u)||(s.lastIndex=u),null===l?-1:l.index}]}))},7977:function(t,e,n){var r=n(2741),o=n(8069),i=n(5168),a=n(1501),s=n(1284),c=n(3059),u=n(1796),l=n(4277),p=Math.min,f=[].push,d=4294967295,h=!l((function(){}));n(5844)("split",2,(function(t,e,n,l){var m;return m="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(t,e){var o=String(this);if(void 0===t&&0===e)return[];if(!r(t))return n.call(o,t,e);for(var i,a,s,c=[],l=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),p=0,h=void 0===e?d:e>>>0,m=new RegExp(t.source,l+"g");(i=u.call(m,o))&&!((a=m.lastIndex)>p&&(c.push(o.slice(p,i.index)),i.length>1&&i.index<o.length&&f.apply(c,i.slice(1)),s=i[0].length,p=a,c.length>=h));)m.lastIndex===i.index&&m.lastIndex++;return p===o.length?!s&&m.test("")||c.push(""):c.push(o.slice(p)),c.length>h?c.slice(0,h):c}:"0".split(void 0,0).length?function(t,e){return void 0===t&&0===e?[]:n.call(this,t,e)}:n,[function(n,r){var o=t(this),i=null==n?void 0:n[e];return void 0!==i?i.call(n,o,r):m.call(String(o),n,r)},function(t,e){var r=l(m,t,this,e,m!==n);if(r.done)return r.value;var u=o(t),f=String(this),g=i(u,RegExp),v=u.unicode,y=(u.ignoreCase?"i":"")+(u.multiline?"m":"")+(u.unicode?"u":"")+(h?"y":"g"),b=new g(h?u:"^(?:"+u.source+")",y),w=void 0===e?d:e>>>0;if(0===w)return[];if(0===f.length)return null===c(b,f)?[f]:[];for(var x=0,_=0,A=[];_<f.length;){b.lastIndex=h?_:0;var k,E=c(b,h?f:f.slice(_));if(null===E||(k=p(s(b.lastIndex+(h?0:_)),f.length))===x)_=a(f,_,v);else{if(A.push(f.slice(x,_)),A.length===w)return A;for(var S=1;S<=E.length-1;S++)if(A.push(E[S]),A.length===w)return A;_=x=k}}return A.push(f.slice(x)),A}]}))},9021:function(t,e,n){n(5743);var r=n(8069),o=n(5056),i=n(508),a="toString",s=/./.toString,c=function(t){n(5911)(RegExp.prototype,a,t,!0)};n(4277)((function(){return"/a/b"!=s.call({source:"a",flags:"b"})}))?c((function(){var t=r(this);return"/".concat(t.source,"/","flags"in t?t.flags:!i&&t instanceof RegExp?o.call(t):void 0)})):s.name!=a&&c((function(){return s.call(this)}))},900:function(t,e,n){var r=n(5019),o=n(1364);t.exports=n(1107)("Set",(function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}}),{add:function(t){return r.def(o(this,"Set"),t=0===t?0:t,t)}},r)},1937:function(t,e,n){n(591)("anchor",(function(t){return function(e){return t(this,"a","name",e)}}))},7613:function(t,e,n){n(591)("big",(function(t){return function(){return t(this,"big","","")}}))},6270:function(t,e,n){n(591)("blink",(function(t){return function(){return t(this,"blink","","")}}))},7056:function(t,e,n){n(591)("bold",(function(t){return function(){return t(this,"b","","")}}))},6617:function(t,e,n){var r=n(3276),o=n(1692)(!1);r(r.P,"String",{codePointAt:function(t){return o(this,t)}})},2793:function(t,e,n){var r=n(3276),o=n(1284),i=n(2445),a="endsWith",s="".endsWith;r(r.P+r.F*n(8834)(a),"String",{endsWith:function(t){var e=i(this,t,a),n=arguments.length>1?arguments[1]:void 0,r=o(e.length),c=void 0===n?r:Math.min(o(n),r),u=String(t);return s?s.call(e,u,c):e.slice(c-u.length,c)===u}})},2307:function(t,e,n){n(591)("fixed",(function(t){return function(){return t(this,"tt","","")}}))},3391:function(t,e,n){n(591)("fontcolor",(function(t){return function(e){return t(this,"font","color",e)}}))},7770:function(t,e,n){n(591)("fontsize",(function(t){return function(e){return t(this,"font","size",e)}}))},4795:function(t,e,n){var r=n(3276),o=n(8413),i=String.fromCharCode,a=String.fromCodePoint;r(r.S+r.F*(!!a&&1!=a.length),"String",{fromCodePoint:function(t){for(var e,n=[],r=arguments.length,a=0;r>a;){if(e=+arguments[a++],o(e,1114111)!==e)throw RangeError(e+" is not a valid code point");n.push(e<65536?i(e):i(55296+((e-=65536)>>10),e%1024+56320))}return n.join("")}})},688:function(t,e,n){var r=n(3276),o=n(2445),i="includes";r(r.P+r.F*n(8834)(i),"String",{includes:function(t){return!!~o(this,t,i).indexOf(t,arguments.length>1?arguments[1]:void 0)}})},8812:function(t,e,n){n(591)("italics",(function(t){return function(){return t(this,"i","","")}}))},6331:function(t,e,n){var r=n(1692)(!0);n(2117)(String,"String",(function(t){this._t=String(t),this._i=0}),(function(){var t,e=this._t,n=this._i;return n>=e.length?{value:void 0,done:!0}:(t=r(e,n),this._i+=t.length,{value:t,done:!1})}))},4518:function(t,e,n){n(591)("link",(function(t){return function(e){return t(this,"a","href",e)}}))},7367:function(t,e,n){var r=n(3276),o=n(8670),i=n(1284);r(r.S,"String",{raw:function(t){for(var e=o(t.raw),n=i(e.length),r=arguments.length,a=[],s=0;n>s;)a.push(String(e[s++])),s<r&&a.push(String(arguments[s]));return a.join("")}})},7793:function(t,e,n){var r=n(3276);r(r.P,"String",{repeat:n(5067)})},5554:function(t,e,n){n(591)("small",(function(t){return function(){return t(this,"small","","")}}))},5297:function(t,e,n){var r=n(3276),o=n(1284),i=n(2445),a="startsWith",s="".startsWith;r(r.P+r.F*n(8834)(a),"String",{startsWith:function(t){var e=i(this,t,a),n=o(Math.min(arguments.length>1?arguments[1]:void 0,e.length)),r=String(t);return s?s.call(e,r,n):e.slice(n,n+r.length)===r}})},1986:function(t,e,n){n(591)("strike",(function(t){return function(){return t(this,"strike","","")}}))},7572:function(t,e,n){n(591)("sub",(function(t){return function(){return t(this,"sub","","")}}))},3844:function(t,e,n){n(591)("sup",(function(t){return function(){return t(this,"sup","","")}}))},3184:function(t,e,n){n(2829)("trim",(function(t){return function(){return t(this,3)}}))},2353:function(t,e,n){function r(t){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r(t)}var o=n(3349),i=n(4307),a=n(508),s=n(3276),c=n(5911),u=n(3797).KEY,l=n(4277),p=n(1375),f=n(481),d=n(7398),h=n(3567),m=n(185),g=n(5490),v=n(2337),y=n(8151),b=n(8069),w=n(3506),x=n(4674),_=n(8670),A=n(2950),k=n(432),E=n(1693),S=n(645),T=n(833),C=n(4128),P=n(5395),O=n(4190),L=T.f,M=P.f,R=S.f,I=o.Symbol,j=o.JSON,D=j&&j.stringify,B=h("_hidden"),N=h("toPrimitive"),U={}.propertyIsEnumerable,$=p("symbol-registry"),F=p("symbols"),G=p("op-symbols"),q=Object.prototype,K="function"==typeof I&&!!C.f,H=o.QObject,V=!H||!H.prototype||!H.prototype.findChild,z=a&&l((function(){return 7!=E(M({},"a",{get:function(){return M(this,"a",{value:7}).a}})).a}))?function(t,e,n){var r=L(q,e);r&&delete q[e],M(t,e,n),r&&t!==q&&M(q,e,r)}:M,W=function(t){var e=F[t]=E(I.prototype);return e._k=t,e},X=K&&"symbol"==r(I.iterator)?function(t){return"symbol"==r(t)}:function(t){return t instanceof I},Y=function(t,e,n){return t===q&&Y(G,e,n),b(t),e=A(e,!0),b(n),i(F,e)?(n.enumerable?(i(t,B)&&t[B][e]&&(t[B][e]=!1),n=E(n,{enumerable:k(0,!1)})):(i(t,B)||M(t,B,k(1,{})),t[B][e]=!0),z(t,e,n)):M(t,e,n)},Z=function(t,e){b(t);for(var n,r=v(e=_(e)),o=0,i=r.length;i>o;)Y(t,n=r[o++],e[n]);return t},Q=function(t){var e=U.call(this,t=A(t,!0));return!(this===q&&i(F,t)&&!i(G,t))&&(!(e||!i(this,t)||!i(F,t)||i(this,B)&&this[B][t])||e)},J=function(t,e){if(t=_(t),e=A(e,!0),t!==q||!i(F,e)||i(G,e)){var n=L(t,e);return!n||!i(F,e)||i(t,B)&&t[B][e]||(n.enumerable=!0),n}},tt=function(t){for(var e,n=R(_(t)),r=[],o=0;n.length>o;)i(F,e=n[o++])||e==B||e==u||r.push(e);return r},et=function(t){for(var e,n=t===q,r=R(n?G:_(t)),o=[],a=0;r.length>a;)!i(F,e=r[a++])||n&&!i(q,e)||o.push(F[e]);return o};K||(I=function(){if(this instanceof I)throw TypeError("Symbol is not a constructor!");var t=d(arguments.length>0?arguments[0]:void 0),e=function e(n){this===q&&e.call(G,n),i(this,B)&&i(this[B],t)&&(this[B][t]=!1),z(this,t,k(1,n))};return a&&V&&z(q,t,{configurable:!0,set:e}),W(t)},c(I.prototype,"toString",(function(){return this._k})),T.f=J,P.f=Y,n(1676).f=S.f=tt,n(2224).f=Q,C.f=et,a&&!n(5437)&&c(q,"propertyIsEnumerable",Q,!0),m.f=function(t){return W(h(t))}),s(s.G+s.W+s.F*!K,{Symbol:I});for(var nt="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),rt=0;nt.length>rt;)h(nt[rt++]);for(var ot=O(h.store),it=0;ot.length>it;)g(ot[it++]);s(s.S+s.F*!K,"Symbol",{for:function(t){return i($,t+="")?$[t]:$[t]=I(t)},keyFor:function(t){if(!X(t))throw TypeError(t+" is not a symbol!");for(var e in $)if($[e]===t)return e},useSetter:function(){V=!0},useSimple:function(){V=!1}}),s(s.S+s.F*!K,"Object",{create:function(t,e){return void 0===e?E(t):Z(E(t),e)},defineProperty:Y,defineProperties:Z,getOwnPropertyDescriptor:J,getOwnPropertyNames:tt,getOwnPropertySymbols:et});var at=l((function(){C.f(1)}));s(s.S+s.F*at,"Object",{getOwnPropertySymbols:function(t){return C.f(x(t))}}),j&&s(s.S+s.F*(!K||l((function(){var t=I();return"[null]"!=D([t])||"{}"!=D({a:t})||"{}"!=D(Object(t))}))),"JSON",{stringify:function(t){for(var e,n,r=[t],o=1;arguments.length>o;)r.push(arguments[o++]);if(n=e=r[1],(w(e)||void 0!==t)&&!X(t))return y(e)||(e=function(t,e){if("function"==typeof n&&(e=n.call(this,t,e)),!X(e))return e}),r[1]=e,D.apply(j,r)}}),I.prototype[N]||n(6879)(I.prototype,N,I.prototype.valueOf),f(I,"Symbol"),f(Math,"Math",!0),f(o.JSON,"JSON",!0)},9511:function(t,e,n){var r=n(3276),o=n(6303),i=n(2428),a=n(8069),s=n(8413),c=n(1284),u=n(3506),l=n(3349).ArrayBuffer,p=n(5168),f=i.ArrayBuffer,d=i.DataView,h=o.ABV&&l.isView,m=f.prototype.slice,g=o.VIEW,v="ArrayBuffer";r(r.G+r.W+r.F*(l!==f),{ArrayBuffer:f}),r(r.S+r.F*!o.CONSTR,v,{isView:function(t){return h&&h(t)||u(t)&&g in t}}),r(r.P+r.U+r.F*n(4277)((function(){return!new f(2).slice(1,void 0).byteLength})),v,{slice:function(t,e){if(void 0!==m&&void 0===e)return m.call(a(this),t);for(var n=a(this).byteLength,r=s(t,n),o=s(void 0===e?n:e,n),i=new(p(this,f))(c(o-r)),u=new d(this),l=new d(i),h=0;r<o;)l.setUint8(h++,u.getUint8(r++));return i}}),n(9629)(v)},6708:function(t,e,n){var r=n(3276);r(r.G+r.W+r.F*!n(6303).ABV,{DataView:n(2428).DataView})},925:function(t,e,n){n(6500)("Float32",4,(function(t){return function(e,n,r){return t(this,e,n,r)}}))},7865:function(t,e,n){n(6500)("Float64",8,(function(t){return function(e,n,r){return t(this,e,n,r)}}))},8095:function(t,e,n){n(6500)("Int16",2,(function(t){return function(e,n,r){return t(this,e,n,r)}}))},5187:function(t,e,n){n(6500)("Int32",4,(function(t){return function(e,n,r){return t(this,e,n,r)}}))},3443:function(t,e,n){n(6500)("Int8",1,(function(t){return function(e,n,r){return t(this,e,n,r)}}))},5977:function(t,e,n){n(6500)("Uint16",2,(function(t){return function(e,n,r){return t(this,e,n,r)}}))},7444:function(t,e,n){n(6500)("Uint32",4,(function(t){return function(e,n,r){return t(this,e,n,r)}}))},5558:function(t,e,n){n(6500)("Uint8",1,(function(t){return function(e,n,r){return t(this,e,n,r)}}))},9159:function(t,e,n){n(6500)("Uint8",1,(function(t){return function(e,n,r){return t(this,e,n,r)}}),!0)},3313:function(t,e,n){var r,o=n(3349),i=n(3828)(0),a=n(5911),s=n(3797),c=n(4236),u=n(8888),l=n(3506),p=n(1364),f=n(1364),d=!o.ActiveXObject&&"ActiveXObject"in o,h="WeakMap",m=s.getWeak,g=Object.isExtensible,v=u.ufstore,y=function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}},b={get:function(t){if(l(t)){var e=m(t);return!0===e?v(p(this,h)).get(t):e?e[this._i]:void 0}},set:function(t,e){return u.def(p(this,h),t,e)}},w=t.exports=n(1107)(h,y,b,u,!0,!0);f&&d&&(c((r=u.getConstructor(y,h)).prototype,b),s.NEED=!0,i(["delete","has","get","set"],(function(t){var e=w.prototype,n=e[t];a(e,t,(function(e,o){if(l(e)&&!g(e)){this._f||(this._f=new r);var i=this._f[t](e,o);return"set"==t?this:i}return n.call(this,e,o)}))})))},959:function(t,e,n){var r=n(8888),o=n(1364),i="WeakSet";n(1107)(i,(function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}}),{add:function(t){return r.def(o(this,i),t,!0)}},r,!1,!0)},8465:function(t,e,n){var r=n(3276),o=n(1835),i=n(4674),a=n(1284),s=n(3679),c=n(5026);r(r.P,"Array",{flatMap:function(t){var e,n,r=i(this);return s(t),e=a(r.length),n=c(r,0),o(n,r,r,e,0,1,t,arguments[1]),n}}),n(3680)("flatMap")},1248:function(t,e,n){var r=n(3276),o=n(6329)(!0);r(r.P,"Array",{includes:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}}),n(3680)("includes")},847:function(t,e,n){var r=n(3276),o=n(4399)(!0);r(r.S,"Object",{entries:function(t){return o(t)}})},3947:function(t,e,n){var r=n(3276),o=n(456),i=n(8670),a=n(833),s=n(5094);r(r.S,"Object",{getOwnPropertyDescriptors:function(t){for(var e,n,r=i(t),c=a.f,u=o(r),l={},p=0;u.length>p;)void 0!==(n=c(r,e=u[p++]))&&s(l,e,n);return l}})},5378:function(t,e,n){var r=n(3276),o=n(4399)(!1);r(r.S,"Object",{values:function(t){return o(t)}})},6002:function(t,e,n){var r=n(3276),o=n(7619),i=n(3349),a=n(5168),s=n(5750);r(r.P+r.R,"Promise",{finally:function(t){var e=a(this,o.Promise||i.Promise),n="function"==typeof t;return this.then(n?function(n){return s(e,t()).then((function(){return n}))}:t,n?function(n){return s(e,t()).then((function(){throw n}))}:t)}})},4234:function(t,e,n){var r=n(3276),o=n(2713),i=n(3115),a=/Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(i);r(r.P+r.F*a,"String",{padEnd:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0,!1)}})},7087:function(t,e,n){var r=n(3276),o=n(2713),i=n(3115),a=/Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(i);r(r.P+r.F*a,"String",{padStart:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0,!0)}})},4931:function(t,e,n){n(2829)("trimLeft",(function(t){return function(){return t(this,1)}}),"trimStart")},4834:function(t,e,n){n(2829)("trimRight",(function(t){return function(){return t(this,2)}}),"trimEnd")},6177:function(t,e,n){n(5490)("asyncIterator")},7986:function(t,e,n){for(var r=n(3774),o=n(4190),i=n(5911),a=n(3349),s=n(6879),c=n(9746),u=n(3567),l=u("iterator"),p=u("toStringTag"),f=c.Array,d={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},h=o(d),m=0;m<h.length;m++){var g,v=h[m],y=d[v],b=a[v],w=b&&b.prototype;if(w&&(w[l]||s(w,l,f),w[p]||s(w,p,v),c[v]=f,y))for(g in r)w[g]||i(w,g,r[g],!0)}},5908:function(t,e,n){var r=n(3276),o=n(2007);r(r.G+r.B,{setImmediate:o.set,clearImmediate:o.clear})},16:function(t,e,n){var r=n(3349),o=n(3276),i=n(3115),a=[].slice,s=/MSIE .\./.test(i),c=function(t){return function(e,n){var r=arguments.length>2,o=!!r&&a.call(arguments,2);return t(r?function(){("function"==typeof e?e:Function(e)).apply(this,o)}:e,n)}};o(o.G+o.B+o.F*s,{setTimeout:c(r.setTimeout),setInterval:c(r.setInterval)})},70:function(t,e,n){n(16),n(5908),n(7986),t.exports=n(7619)},6028:function(t,e,n){function r(t){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r(t)}var o=function(t){var e,n=Object.prototype,o=n.hasOwnProperty,i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",s=i.asyncIterator||"@@asyncIterator",c=i.toStringTag||"@@toStringTag";function u(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(t){u=function(t,e,n){return t[e]=n}}function l(t,e,n,r){var o=e&&e.prototype instanceof v?e:v,i=Object.create(o.prototype),a=new P(r||[]);return i._invoke=function(t,e,n){var r=f;return function(o,i){if(r===h)throw new Error("Generator is already running");if(r===m){if("throw"===o)throw i;return L()}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var s=S(a,n);if(s){if(s===g)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===f)throw r=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=h;var c=p(t,e,n);if("normal"===c.type){if(r=n.done?m:d,c.arg===g)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(r=m,n.method="throw",n.arg=c.arg)}}}(t,n,a),i}function p(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}t.wrap=l;var f="suspendedStart",d="suspendedYield",h="executing",m="completed",g={};function v(){}function y(){}function b(){}var w={};u(w,a,(function(){return this}));var x=Object.getPrototypeOf,_=x&&x(x(O([])));_&&_!==n&&o.call(_,a)&&(w=_);var A=b.prototype=v.prototype=Object.create(w);function k(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function E(t,e){function n(i,a,s,c){var u=p(t[i],t,a);if("throw"!==u.type){var l=u.arg,f=l.value;return f&&"object"===r(f)&&o.call(f,"__await")?e.resolve(f.__await).then((function(t){n("next",t,s,c)}),(function(t){n("throw",t,s,c)})):e.resolve(f).then((function(t){l.value=t,s(l)}),(function(t){return n("throw",t,s,c)}))}c(u.arg)}var i;this._invoke=function(t,r){function o(){return new e((function(e,o){n(t,r,e,o)}))}return i=i?i.then(o,o):o()}}function S(t,n){var r=t.iterator[n.method];if(r===e){if(n.delegate=null,"throw"===n.method){if(t.iterator.return&&(n.method="return",n.arg=e,S(t,n),"throw"===n.method))return g;n.method="throw",n.arg=new TypeError("The iterator does not provide a 'throw' method")}return g}var o=p(r,t.iterator,n.arg);if("throw"===o.type)return n.method="throw",n.arg=o.arg,n.delegate=null,g;var i=o.arg;return i?i.done?(n[t.resultName]=i.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,g):i:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,g)}function T(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function C(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(T,this),this.reset(!0)}function O(t){if(t){var n=t[a];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var r=-1,i=function n(){for(;++r<t.length;)if(o.call(t,r))return n.value=t[r],n.done=!1,n;return n.value=e,n.done=!0,n};return i.next=i}}return{next:L}}function L(){return{value:e,done:!0}}return y.prototype=b,u(A,"constructor",b),u(b,"constructor",y),y.displayName=u(b,c,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===y||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,b):(t.__proto__=b,u(t,c,"GeneratorFunction")),t.prototype=Object.create(A),t},t.awrap=function(t){return{__await:t}},k(E.prototype),u(E.prototype,s,(function(){return this})),t.AsyncIterator=E,t.async=function(e,n,r,o,i){void 0===i&&(i=Promise);var a=new E(l(e,n,r,o),i);return t.isGeneratorFunction(n)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},k(A),u(A,c,"Generator"),u(A,a,(function(){return this})),u(A,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=[];for(var n in t)e.push(n);return e.reverse(),function n(){for(;e.length;){var r=e.pop();if(r in t)return n.value=r,n.done=!1,n}return n.done=!0,n}},t.values=O,P.prototype={constructor:P,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(C),!t)for(var n in this)"t"===n.charAt(0)&&o.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=e)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var n=this;function r(r,o){return s.type="throw",s.arg=t,n.next=r,o&&(n.method="next",n.arg=e),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return r("end");if(a.tryLoc<=this.prev){var c=o.call(a,"catchLoc"),u=o.call(a,"finallyLoc");if(c&&u){if(this.prev<a.catchLoc)return r(a.catchLoc,!0);if(this.prev<a.finallyLoc)return r(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return r(a.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return r(a.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&o.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var i=r;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,g):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),g},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),C(n),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var o=r.arg;C(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:O(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),g}},t}("object"===r(t=n.nmd(t))?t.exports:{});try{regeneratorRuntime=o}catch(t){"object"===("undefined"==typeof globalThis?"undefined":r(globalThis))?globalThis.regeneratorRuntime=o:Function("r","regeneratorRuntime = r")(o)}},9239:function(t,e,n){var r,o,i;function a(t){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},a(t)}t=n.nmd(t),i=function(t){var e=t&&t.IPv6;return{best:function(t){var e,n,r=t.toLowerCase().split(":"),o=r.length,i=8;for(""===r[0]&&""===r[1]&&""===r[2]?(r.shift(),r.shift()):""===r[0]&&""===r[1]?r.shift():""===r[o-1]&&""===r[o-2]&&r.pop(),-1!==r[(o=r.length)-1].indexOf(".")&&(i=7),e=0;e<o&&""!==r[e];e++);if(e<i)for(r.splice(e,1,"0000");r.length<i;)r.splice(e,0,"0000");for(var a=0;a<i;a++){n=r[a].split("");for(var s=0;s<3&&"0"===n[0]&&n.length>1;s++)n.splice(0,1);r[a]=n.join("")}var c=-1,u=0,l=0,p=-1,f=!1;for(a=0;a<i;a++)f?"0"===r[a]?l+=1:(f=!1,l>u&&(c=p,u=l)):"0"===r[a]&&(f=!0,p=a,l=1);l>u&&(c=p,u=l),u>1&&r.splice(c,u,""),o=r.length;var d="";for(""===r[0]&&(d=":"),a=0;a<o&&(d+=r[a],a!==o-1);a++)d+=":";return""===r[o-1]&&(d+=":"),d},noConflict:function(){return t.IPv6===this&&(t.IPv6=e),this}}},"object"===a(t)&&t.exports?t.exports=i():void 0===(o="function"==typeof(r=i)?r.call(e,n,e,t):r)||(t.exports=o)},4035:function(t,e,n){var r,o,i;function a(t){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},a(t)}t=n.nmd(t),i=function(t){var e=t&&t.SecondLevelDomains,n={list:{ac:" com gov mil net org ",ae:" ac co gov mil name net org pro sch ",af:" com edu gov net org ",al:" com edu gov mil net org ",ao:" co ed gv it og pb ",ar:" com edu gob gov int mil net org tur ",at:" ac co gv or ",au:" asn com csiro edu gov id net org ",ba:" co com edu gov mil net org rs unbi unmo unsa untz unze ",bb:" biz co com edu gov info net org store tv ",bh:" biz cc com edu gov info net org ",bn:" com edu gov net org ",bo:" com edu gob gov int mil net org tv ",br:" adm adv agr am arq art ato b bio blog bmd cim cng cnt com coop ecn edu eng esp etc eti far flog fm fnd fot fst g12 ggf gov imb ind inf jor jus lel mat med mil mus net nom not ntr odo org ppg pro psc psi qsl rec slg srv tmp trd tur tv vet vlog wiki zlg ",bs:" com edu gov net org ",bz:" du et om ov rg ",ca:" ab bc mb nb nf nl ns nt nu on pe qc sk yk ",ck:" biz co edu gen gov info net org ",cn:" ac ah bj com cq edu fj gd gov gs gx gz ha hb he hi hl hn jl js jx ln mil net nm nx org qh sc sd sh sn sx tj tw xj xz yn zj ",co:" com edu gov mil net nom org ",cr:" ac c co ed fi go or sa ",cy:" ac biz com ekloges gov ltd name net org parliament press pro tm ",do:" art com edu gob gov mil net org sld web ",dz:" art asso com edu gov net org pol ",ec:" com edu fin gov info med mil net org pro ",eg:" com edu eun gov mil name net org sci ",er:" com edu gov ind mil net org rochest w ",es:" com edu gob nom org ",et:" biz com edu gov info name net org ",fj:" ac biz com info mil name net org pro ",fk:" ac co gov net nom org ",fr:" asso com f gouv nom prd presse tm ",gg:" co net org ",gh:" com edu gov mil org ",gn:" ac com gov net org ",gr:" com edu gov mil net org ",gt:" com edu gob ind mil net org ",gu:" com edu gov net org ",hk:" com edu gov idv net org ",hu:" 2000 agrar bolt casino city co erotica erotika film forum games hotel info ingatlan jogasz konyvelo lakas media news org priv reklam sex shop sport suli szex tm tozsde utazas video ",id:" ac co go mil net or sch web ",il:" ac co gov idf k12 muni net org ",in:" ac co edu ernet firm gen gov i ind mil net nic org res ",iq:" com edu gov i mil net org ",ir:" ac co dnssec gov i id net org sch ",it:" edu gov ",je:" co net org ",jo:" com edu gov mil name net org sch ",jp:" ac ad co ed go gr lg ne or ",ke:" ac co go info me mobi ne or sc ",kh:" com edu gov mil net org per ",ki:" biz com de edu gov info mob net org tel ",km:" asso com coop edu gouv k medecin mil nom notaires pharmaciens presse tm veterinaire ",kn:" edu gov net org ",kr:" ac busan chungbuk chungnam co daegu daejeon es gangwon go gwangju gyeongbuk gyeonggi gyeongnam hs incheon jeju jeonbuk jeonnam k kg mil ms ne or pe re sc seoul ulsan ",kw:" com edu gov net org ",ky:" com edu gov net org ",kz:" com edu gov mil net org ",lb:" com edu gov net org ",lk:" assn com edu gov grp hotel int ltd net ngo org sch soc web ",lr:" com edu gov net org ",lv:" asn com conf edu gov id mil net org ",ly:" com edu gov id med net org plc sch ",ma:" ac co gov m net org press ",mc:" asso tm ",me:" ac co edu gov its net org priv ",mg:" com edu gov mil nom org prd tm ",mk:" com edu gov inf name net org pro ",ml:" com edu gov net org presse ",mn:" edu gov org ",mo:" com edu gov net org ",mt:" com edu gov net org ",mv:" aero biz com coop edu gov info int mil museum name net org pro ",mw:" ac co com coop edu gov int museum net org ",mx:" com edu gob net org ",my:" com edu gov mil name net org sch ",nf:" arts com firm info net other per rec store web ",ng:" biz com edu gov mil mobi name net org sch ",ni:" ac co com edu gob mil net nom org ",np:" com edu gov mil net org ",nr:" biz com edu gov info net org ",om:" ac biz co com edu gov med mil museum net org pro sch ",pe:" com edu gob mil net nom org sld ",ph:" com edu gov i mil net ngo org ",pk:" biz com edu fam gob gok gon gop gos gov net org web ",pl:" art bialystok biz com edu gda gdansk gorzow gov info katowice krakow lodz lublin mil net ngo olsztyn org poznan pwr radom slupsk szczecin torun warszawa waw wroc wroclaw zgora ",pr:" ac biz com edu est gov info isla name net org pro prof ",ps:" com edu gov net org plo sec ",pw:" belau co ed go ne or ",ro:" arts com firm info nom nt org rec store tm www ",rs:" ac co edu gov in org ",sb:" com edu gov net org ",sc:" com edu gov net org ",sh:" co com edu gov net nom org ",sl:" com edu gov net org ",st:" co com consulado edu embaixada gov mil net org principe saotome store ",sv:" com edu gob org red ",sz:" ac co org ",tr:" av bbs bel biz com dr edu gen gov info k12 name net org pol tel tsk tv web ",tt:" aero biz cat co com coop edu gov info int jobs mil mobi museum name net org pro tel travel ",tw:" club com ebiz edu game gov idv mil net org ",mu:" ac co com gov net or org ",mz:" ac co edu gov org ",na:" co com ",nz:" ac co cri geek gen govt health iwi maori mil net org parliament school ",pa:" abo ac com edu gob ing med net nom org sld ",pt:" com edu gov int net nome org publ ",py:" com edu gov mil net org ",qa:" com edu gov mil net org ",re:" asso com nom ",ru:" ac adygeya altai amur arkhangelsk astrakhan bashkiria belgorod bir bryansk buryatia cbg chel chelyabinsk chita chukotka chuvashia com dagestan e-burg edu gov grozny int irkutsk ivanovo izhevsk jar joshkar-ola kalmykia kaluga kamchatka karelia kazan kchr kemerovo khabarovsk khakassia khv kirov koenig komi kostroma kranoyarsk kuban kurgan kursk lipetsk magadan mari mari-el marine mil mordovia mosreg msk murmansk nalchik net nnov nov novosibirsk nsk omsk orenburg org oryol penza perm pp pskov ptz rnd ryazan sakhalin samara saratov simbirsk smolensk spb stavropol stv surgut tambov tatarstan tom tomsk tsaritsyn tsk tula tuva tver tyumen udm udmurtia ulan-ude vladikavkaz vladimir vladivostok volgograd vologda voronezh vrn vyatka yakutia yamal yekaterinburg yuzhno-sakhalinsk ",rw:" ac co com edu gouv gov int mil net ",sa:" com edu gov med net org pub sch ",sd:" com edu gov info med net org tv ",se:" a ac b bd c d e f g h i k l m n o org p parti pp press r s t tm u w x y z ",sg:" com edu gov idn net org per ",sn:" art com edu gouv org perso univ ",sy:" com edu gov mil net news org ",th:" ac co go in mi net or ",tj:" ac biz co com edu go gov info int mil name net nic org test web ",tn:" agrinet com defense edunet ens fin gov ind info intl mincom nat net org perso rnrt rns rnu tourism ",tz:" ac co go ne or ",ua:" biz cherkassy chernigov chernovtsy ck cn co com crimea cv dn dnepropetrovsk donetsk dp edu gov if in ivano-frankivsk kh kharkov kherson khmelnitskiy kiev kirovograd km kr ks kv lg lugansk lutsk lviv me mk net nikolaev od odessa org pl poltava pp rovno rv sebastopol sumy te ternopil uzhgorod vinnica vn zaporizhzhe zhitomir zp zt ",ug:" ac co go ne or org sc ",uk:" ac bl british-library co cym gov govt icnet jet lea ltd me mil mod national-library-scotland nel net nhs nic nls org orgn parliament plc police sch scot soc ",us:" dni fed isa kids nsn ",uy:" com edu gub mil net org ",ve:" co com edu gob info mil net org web ",vi:" co com k12 net org ",vn:" ac biz com edu gov health info int name net org pro ",ye:" co com gov ltd me net org plc ",yu:" ac co edu gov org ",za:" ac agric alt bourse city co cybernet db edu gov grondar iaccess imt inca landesign law mil net ngo nis nom olivetti org pix school tm web ",zm:" ac co com edu gov net org sch ",com:"ar br cn de eu gb gr hu jpn kr no qc ru sa se uk us uy za ",net:"gb jp se uk ",org:"ae",de:"com "},has:function(t){var e=t.lastIndexOf(".");if(e<=0||e>=t.length-1)return!1;var r=t.lastIndexOf(".",e-1);if(r<=0||r>=e-1)return!1;var o=n.list[t.slice(e+1)];return!!o&&o.indexOf(" "+t.slice(r+1,e)+" ")>=0},is:function(t){var e=t.lastIndexOf(".");if(e<=0||e>=t.length-1)return!1;if(t.lastIndexOf(".",e-1)>=0)return!1;var r=n.list[t.slice(e+1)];return!!r&&r.indexOf(" "+t.slice(0,e)+" ")>=0},get:function(t){var e=t.lastIndexOf(".");if(e<=0||e>=t.length-1)return null;var r=t.lastIndexOf(".",e-1);if(r<=0||r>=e-1)return null;var o=n.list[t.slice(e+1)];return o?o.indexOf(" "+t.slice(r+1,e)+" ")<0?null:t.slice(r+1):null},noConflict:function(){return t.SecondLevelDomains===this&&(t.SecondLevelDomains=e),this}};return n},"object"===a(t)&&t.exports?t.exports=i():void 0===(o="function"==typeof(r=i)?r.call(e,n,e,t):r)||(t.exports=o)},5016:function(t,e,n){var r,o,i,a;function s(t){return s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},s(t)}t=n.nmd(t),a=function(t,e,n,r){var o=r&&r.URI;function i(t,e){var n=arguments.length>=1;if(!(this instanceof i))return n?arguments.length>=2?new i(t,e):new i(t):new i;if(void 0===t){if(n)throw new TypeError("undefined is not a valid argument for URI");t="undefined"!=typeof location?location.href+"":""}if(null===t&&n)throw new TypeError("null is not a valid argument for URI");return this.href(t),void 0!==e?this.absoluteTo(e):this}i.version="1.19.10";var a=i.prototype,c=Object.prototype.hasOwnProperty;function u(t){return t.replace(/([.*+?^=!:${}()|[\]\/\\])/g,"\\$1")}function l(t){return void 0===t?"Undefined":String(Object.prototype.toString.call(t)).slice(8,-1)}function p(t){return"Array"===l(t)}function f(t,e){var n,r,o={};if("RegExp"===l(e))o=null;else if(p(e))for(n=0,r=e.length;n<r;n++)o[e[n]]=!0;else o[e]=!0;for(n=0,r=t.length;n<r;n++)(o&&void 0!==o[t[n]]||!o&&e.test(t[n]))&&(t.splice(n,1),r--,n--);return t}function d(t,e){var n,r;if(p(e)){for(n=0,r=e.length;n<r;n++)if(!d(t,e[n]))return!1;return!0}var o=l(e);for(n=0,r=t.length;n<r;n++)if("RegExp"===o){if("string"==typeof t[n]&&t[n].match(e))return!0}else if(t[n]===e)return!0;return!1}function h(t,e){if(!p(t)||!p(e))return!1;if(t.length!==e.length)return!1;t.sort(),e.sort();for(var n=0,r=t.length;n<r;n++)if(t[n]!==e[n])return!1;return!0}function m(t){return t.replace(/^\/+|\/+$/g,"")}function g(t){return escape(t)}function v(t){return encodeURIComponent(t).replace(/[!'()*]/g,g).replace(/\*/g,"%2A")}i._parts=function(){return{protocol:null,username:null,password:null,hostname:null,urn:null,port:null,path:null,query:null,fragment:null,preventInvalidHostname:i.preventInvalidHostname,duplicateQueryParameters:i.duplicateQueryParameters,escapeQuerySpace:i.escapeQuerySpace}},i.preventInvalidHostname=!1,i.duplicateQueryParameters=!1,i.escapeQuerySpace=!0,i.protocol_expression=/^[a-z][a-z0-9.+-]*$/i,i.idn_expression=/[^a-z0-9\._-]/i,i.punycode_expression=/(xn--)/i,i.ip4_expression=/^\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}$/,i.ip6_expression=/^\s*((([0-9A-Fa-f]{1,4}:){7}([0-9A-Fa-f]{1,4}|:))|(([0-9A-Fa-f]{1,4}:){6}(:[0-9A-Fa-f]{1,4}|((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){5}(((:[0-9A-Fa-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){4}(((:[0-9A-Fa-f]{1,4}){1,3})|((:[0-9A-Fa-f]{1,4})?:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){3}(((:[0-9A-Fa-f]{1,4}){1,4})|((:[0-9A-Fa-f]{1,4}){0,2}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){2}(((:[0-9A-Fa-f]{1,4}){1,5})|((:[0-9A-Fa-f]{1,4}){0,3}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){1}(((:[0-9A-Fa-f]{1,4}){1,6})|((:[0-9A-Fa-f]{1,4}){0,4}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(:(((:[0-9A-Fa-f]{1,4}){1,7})|((:[0-9A-Fa-f]{1,4}){0,5}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))(%.+)?\s*$/,i.find_uri_expression=/\b((?:[a-z][\w-]+:(?:\/{1,3}|[a-z0-9%])|www\d{0,3}[.]|[a-z0-9.\-]+[.][a-z]{2,4}\/)(?:[^\s()<>]+|\(([^\s()<>]+|(\([^\s()<>]+\)))*\))+(?:\(([^\s()<>]+|(\([^\s()<>]+\)))*\)|[^\s`!()\[\]{};:'".,<>?«»“”‘’]))/gi,i.findUri={start:/\b(?:([a-z][a-z0-9.+-]*:\/\/)|www\.)/gi,end:/[\s\r\n]|$/,trim:/[`!()\[\]{};:'".,<>?«»“”„‘’]+$/,parens:/(\([^\)]*\)|\[[^\]]*\]|\{[^}]*\}|<[^>]*>)/g},i.leading_whitespace_expression=/^[\x00-\x20\u00a0\u1680\u2000-\u200a\u2028\u2029\u202f\u205f\u3000\ufeff]+/,i.defaultPorts={http:"80",https:"443",ftp:"21",gopher:"70",ws:"80",wss:"443"},i.hostProtocols=["http","https"],i.invalid_hostname_characters=/[^a-zA-Z0-9\.\-:_]/,i.domAttributes={a:"href",blockquote:"cite",link:"href",base:"href",script:"src",form:"action",img:"src",area:"href",iframe:"src",embed:"src",source:"src",track:"src",input:"src",audio:"src",video:"src"},i.getDomAttribute=function(t){if(t&&t.nodeName){var e=t.nodeName.toLowerCase();if("input"!==e||"image"===t.type)return i.domAttributes[e]}},i.encode=v,i.decode=decodeURIComponent,i.iso8859=function(){i.encode=escape,i.decode=unescape},i.unicode=function(){i.encode=v,i.decode=decodeURIComponent},i.characters={pathname:{encode:{expression:/%(24|26|2B|2C|3B|3D|3A|40)/gi,map:{"%24":"$","%26":"&","%2B":"+","%2C":",","%3B":";","%3D":"=","%3A":":","%40":"@"}},decode:{expression:/[\/\?#]/g,map:{"/":"%2F","?":"%3F","#":"%23"}}},reserved:{encode:{expression:/%(21|23|24|26|27|28|29|2A|2B|2C|2F|3A|3B|3D|3F|40|5B|5D)/gi,map:{"%3A":":","%2F":"/","%3F":"?","%23":"#","%5B":"[","%5D":"]","%40":"@","%21":"!","%24":"$","%26":"&","%27":"'","%28":"(","%29":")","%2A":"*","%2B":"+","%2C":",","%3B":";","%3D":"="}}},urnpath:{encode:{expression:/%(21|24|27|28|29|2A|2B|2C|3B|3D|40)/gi,map:{"%21":"!","%24":"$","%27":"'","%28":"(","%29":")","%2A":"*","%2B":"+","%2C":",","%3B":";","%3D":"=","%40":"@"}},decode:{expression:/[\/\?#:]/g,map:{"/":"%2F","?":"%3F","#":"%23",":":"%3A"}}}},i.encodeQuery=function(t,e){var n=i.encode(t+"");return void 0===e&&(e=i.escapeQuerySpace),e?n.replace(/%20/g,"+"):n},i.decodeQuery=function(t,e){t+="",void 0===e&&(e=i.escapeQuerySpace);try{return i.decode(e?t.replace(/\+/g,"%20"):t)}catch(e){return t}};var y,b={encode:"encode",decode:"decode"},w=function(t,e){return function(n){try{return i[e](n+"").replace(i.characters[t][e].expression,(function(n){return i.characters[t][e].map[n]}))}catch(t){return n}}};for(y in b)i[y+"PathSegment"]=w("pathname",b[y]),i[y+"UrnPathSegment"]=w("urnpath",b[y]);var x=function(t,e,n){return function(r){var o;o=n?function(t){return i[e](i[n](t))}:i[e];for(var a=(r+"").split(t),s=0,c=a.length;s<c;s++)a[s]=o(a[s]);return a.join(t)}};function _(t){return function(e,n){return void 0===e?this._parts[t]||"":(this._parts[t]=e||null,this.build(!n),this)}}function A(t,e){return function(n,r){return void 0===n?this._parts[t]||"":(null!==n&&(n+="").charAt(0)===e&&(n=n.substring(1)),this._parts[t]=n,this.build(!r),this)}}i.decodePath=x("/","decodePathSegment"),i.decodeUrnPath=x(":","decodeUrnPathSegment"),i.recodePath=x("/","encodePathSegment","decode"),i.recodeUrnPath=x(":","encodeUrnPathSegment","decode"),i.encodeReserved=w("reserved","encode"),i.parse=function(t,e){var n;return e||(e={preventInvalidHostname:i.preventInvalidHostname}),(n=(t=t.replace(i.leading_whitespace_expression,"")).indexOf("#"))>-1&&(e.fragment=t.substring(n+1)||null,t=t.substring(0,n)),(n=t.indexOf("?"))>-1&&(e.query=t.substring(n+1)||null,t=t.substring(0,n)),"//"===(t=t.replace(/^(https?|ftp|wss?)?:+[/\\]*/i,"$1://")).substring(0,2)?(e.protocol=null,t=t.substring(2),t=i.parseAuthority(t,e)):(n=t.indexOf(":"))>-1&&(e.protocol=t.substring(0,n)||null,e.protocol&&!e.protocol.match(i.protocol_expression)?e.protocol=void 0:"//"===t.substring(n+1,n+3).replace(/\\/g,"/")?(t=t.substring(n+3),t=i.parseAuthority(t,e)):(t=t.substring(n+1),e.urn=!0)),e.path=t,e},i.parseHost=function(t,e){t||(t="");var n,r,o=(t=t.replace(/\\/g,"/")).indexOf("/");if(-1===o&&(o=t.length),"["===t.charAt(0))n=t.indexOf("]"),e.hostname=t.substring(1,n)||null,e.port=t.substring(n+2,o)||null,"/"===e.port&&(e.port=null);else{var a=t.indexOf(":"),s=t.indexOf("/"),c=t.indexOf(":",a+1);-1!==c&&(-1===s||c<s)?(e.hostname=t.substring(0,o)||null,e.port=null):(r=t.substring(0,o).split(":"),e.hostname=r[0]||null,e.port=r[1]||null)}return e.hostname&&"/"!==t.substring(o).charAt(0)&&(o++,t="/"+t),e.preventInvalidHostname&&i.ensureValidHostname(e.hostname,e.protocol),e.port&&i.ensureValidPort(e.port),t.substring(o)||"/"},i.parseAuthority=function(t,e){return t=i.parseUserinfo(t,e),i.parseHost(t,e)},i.parseUserinfo=function(t,e){var n=t;-1!==t.indexOf("\\")&&(t=t.replace(/\\/g,"/"));var r,o=t.indexOf("/"),a=t.lastIndexOf("@",o>-1?o:t.length-1);return a>-1&&(-1===o||a<o)?(r=t.substring(0,a).split(":"),e.username=r[0]?i.decode(r[0]):null,r.shift(),e.password=r[0]?i.decode(r.join(":")):null,t=n.substring(a+1)):(e.username=null,e.password=null),t},i.parseQuery=function(t,e){if(!t)return{};if(!(t=t.replace(/&+/g,"&").replace(/^\?*&*|&+$/g,"")))return{};for(var n,r,o,a={},s=t.split("&"),u=s.length,l=0;l<u;l++)n=s[l].split("="),r=i.decodeQuery(n.shift(),e),o=n.length?i.decodeQuery(n.join("="),e):null,"__proto__"!==r&&(c.call(a,r)?("string"!=typeof a[r]&&null!==a[r]||(a[r]=[a[r]]),a[r].push(o)):a[r]=o);return a},i.build=function(t){var e="",n=!1;return t.protocol&&(e+=t.protocol+":"),t.urn||!e&&!t.hostname||(e+="//",n=!0),e+=i.buildAuthority(t)||"","string"==typeof t.path&&("/"!==t.path.charAt(0)&&n&&(e+="/"),e+=t.path),"string"==typeof t.query&&t.query&&(e+="?"+t.query),"string"==typeof t.fragment&&t.fragment&&(e+="#"+t.fragment),e},i.buildHost=function(t){var e="";return t.hostname?(i.ip6_expression.test(t.hostname)?e+="["+t.hostname+"]":e+=t.hostname,t.port&&(e+=":"+t.port),e):""},i.buildAuthority=function(t){return i.buildUserinfo(t)+i.buildHost(t)},i.buildUserinfo=function(t){var e="";return t.username&&(e+=i.encode(t.username)),t.password&&(e+=":"+i.encode(t.password)),e&&(e+="@"),e},i.buildQuery=function(t,e,n){var r,o,a,s,u="";for(o in t)if("__proto__"!==o&&c.call(t,o))if(p(t[o]))for(r={},a=0,s=t[o].length;a<s;a++)void 0!==t[o][a]&&void 0===r[t[o][a]+""]&&(u+="&"+i.buildQueryParameter(o,t[o][a],n),!0!==e&&(r[t[o][a]+""]=!0));else void 0!==t[o]&&(u+="&"+i.buildQueryParameter(o,t[o],n));return u.substring(1)},i.buildQueryParameter=function(t,e,n){return i.encodeQuery(t,n)+(null!==e?"="+i.encodeQuery(e,n):"")},i.addQuery=function(t,e,n){if("object"===s(e))for(var r in e)c.call(e,r)&&i.addQuery(t,r,e[r]);else{if("string"!=typeof e)throw new TypeError("URI.addQuery() accepts an object, string as the name parameter");if(void 0===t[e])return void(t[e]=n);"string"==typeof t[e]&&(t[e]=[t[e]]),p(n)||(n=[n]),t[e]=(t[e]||[]).concat(n)}},i.setQuery=function(t,e,n){if("object"===s(e))for(var r in e)c.call(e,r)&&i.setQuery(t,r,e[r]);else{if("string"!=typeof e)throw new TypeError("URI.setQuery() accepts an object, string as the name parameter");t[e]=void 0===n?null:n}},i.removeQuery=function(t,e,n){var r,o,a;if(p(e))for(r=0,o=e.length;r<o;r++)t[e[r]]=void 0;else if("RegExp"===l(e))for(a in t)e.test(a)&&(t[a]=void 0);else if("object"===s(e))for(a in e)c.call(e,a)&&i.removeQuery(t,a,e[a]);else{if("string"!=typeof e)throw new TypeError("URI.removeQuery() accepts an object, string, RegExp as the first parameter");void 0!==n?"RegExp"===l(n)?!p(t[e])&&n.test(t[e])?t[e]=void 0:t[e]=f(t[e],n):t[e]!==String(n)||p(n)&&1!==n.length?p(t[e])&&(t[e]=f(t[e],n)):t[e]=void 0:t[e]=void 0}},i.hasQuery=function(t,e,n,r){switch(l(e)){case"String":break;case"RegExp":for(var o in t)if(c.call(t,o)&&e.test(o)&&(void 0===n||i.hasQuery(t,o,n)))return!0;return!1;case"Object":for(var a in e)if(c.call(e,a)&&!i.hasQuery(t,a,e[a]))return!1;return!0;default:throw new TypeError("URI.hasQuery() accepts a string, regular expression or object as the name parameter")}switch(l(n)){case"Undefined":return e in t;case"Boolean":return n===Boolean(p(t[e])?t[e].length:t[e]);case"Function":return!!n(t[e],e,t);case"Array":return!!p(t[e])&&(r?d:h)(t[e],n);case"RegExp":return p(t[e])?!!r&&d(t[e],n):Boolean(t[e]&&t[e].match(n));case"Number":n=String(n);case"String":return p(t[e])?!!r&&d(t[e],n):t[e]===n;default:throw new TypeError("URI.hasQuery() accepts undefined, boolean, string, number, RegExp, Function as the value parameter")}},i.joinPaths=function(){for(var t=[],e=[],n=0,r=0;r<arguments.length;r++){var o=new i(arguments[r]);t.push(o);for(var a=o.segment(),s=0;s<a.length;s++)"string"==typeof a[s]&&e.push(a[s]),a[s]&&n++}if(!e.length||!n)return new i("");var c=new i("").segment(e);return""!==t[0].path()&&"/"!==t[0].path().slice(0,1)||c.path("/"+c.path()),c.normalize()},i.commonPath=function(t,e){var n,r=Math.min(t.length,e.length);for(n=0;n<r;n++)if(t.charAt(n)!==e.charAt(n)){n--;break}return n<1?t.charAt(0)===e.charAt(0)&&"/"===t.charAt(0)?"/":"":("/"===t.charAt(n)&&"/"===e.charAt(n)||(n=t.substring(0,n).lastIndexOf("/")),t.substring(0,n+1))},i.withinString=function(t,e,n){n||(n={});var r=n.start||i.findUri.start,o=n.end||i.findUri.end,a=n.trim||i.findUri.trim,s=n.parens||i.findUri.parens,c=/[a-z0-9-]=["']?$/i;for(r.lastIndex=0;;){var u=r.exec(t);if(!u)break;var l=u.index;if(n.ignoreHtml){var p=t.slice(Math.max(l-3,0),l);if(p&&c.test(p))continue}for(var f=l+t.slice(l).search(o),d=t.slice(l,f),h=-1;;){var m=s.exec(d);if(!m)break;var g=m.index+m[0].length;h=Math.max(h,g)}if(!((d=h>-1?d.slice(0,h)+d.slice(h).replace(a,""):d.replace(a,"")).length<=u[0].length||n.ignore&&n.ignore.test(d))){var v=e(d,l,f=l+d.length,t);void 0!==v?(v=String(v),t=t.slice(0,l)+v+t.slice(f),r.lastIndex=l+v.length):r.lastIndex=f}}return r.lastIndex=0,t},i.ensureValidHostname=function(e,n){var r=!!e,o=!1;if(!!n&&(o=d(i.hostProtocols,n)),o&&!r)throw new TypeError("Hostname cannot be empty, if protocol is "+n);if(e&&e.match(i.invalid_hostname_characters)){if(!t)throw new TypeError('Hostname "'+e+'" contains characters other than [A-Z0-9.-:_] and Punycode.js is not available');if(t.toASCII(e).match(i.invalid_hostname_characters))throw new TypeError('Hostname "'+e+'" contains characters other than [A-Z0-9.-:_]')}},i.ensureValidPort=function(t){if(t){var e=Number(t);if(!(/^[0-9]+$/.test(e)&&e>0&&e<65536))throw new TypeError('Port "'+t+'" is not a valid port')}},i.noConflict=function(t){if(t){var e={URI:this.noConflict()};return r.URITemplate&&"function"==typeof r.URITemplate.noConflict&&(e.URITemplate=r.URITemplate.noConflict()),r.IPv6&&"function"==typeof r.IPv6.noConflict&&(e.IPv6=r.IPv6.noConflict()),r.SecondLevelDomains&&"function"==typeof r.SecondLevelDomains.noConflict&&(e.SecondLevelDomains=r.SecondLevelDomains.noConflict()),e}return r.URI===this&&(r.URI=o),this},a.build=function(t){return!0===t?this._deferred_build=!0:(void 0===t||this._deferred_build)&&(this._string=i.build(this._parts),this._deferred_build=!1),this},a.clone=function(){return new i(this)},a.valueOf=a.toString=function(){return this.build(!1)._string},a.protocol=_("protocol"),a.username=_("username"),a.password=_("password"),a.hostname=_("hostname"),a.port=_("port"),a.query=A("query","?"),a.fragment=A("fragment","#"),a.search=function(t,e){var n=this.query(t,e);return"string"==typeof n&&n.length?"?"+n:n},a.hash=function(t,e){var n=this.fragment(t,e);return"string"==typeof n&&n.length?"#"+n:n},a.pathname=function(t,e){if(void 0===t||!0===t){var n=this._parts.path||(this._parts.hostname?"/":"");return t?(this._parts.urn?i.decodeUrnPath:i.decodePath)(n):n}return this._parts.urn?this._parts.path=t?i.recodeUrnPath(t):"":this._parts.path=t?i.recodePath(t):"/",this.build(!e),this},a.path=a.pathname,a.href=function(t,e){var n;if(void 0===t)return this.toString();this._string="",this._parts=i._parts();var r=t instanceof i,o="object"===s(t)&&(t.hostname||t.path||t.pathname);if(t.nodeName&&(t=t[i.getDomAttribute(t)]||"",o=!1),!r&&o&&void 0!==t.pathname&&(t=t.toString()),"string"==typeof t||t instanceof String)this._parts=i.parse(String(t),this._parts);else{if(!r&&!o)throw new TypeError("invalid input");var a=r?t._parts:t;for(n in a)"query"!==n&&c.call(this._parts,n)&&(this._parts[n]=a[n]);a.query&&this.query(a.query,!1)}return this.build(!e),this},a.is=function(t){var e=!1,r=!1,o=!1,a=!1,s=!1,c=!1,u=!1,l=!this._parts.urn;switch(this._parts.hostname&&(l=!1,r=i.ip4_expression.test(this._parts.hostname),o=i.ip6_expression.test(this._parts.hostname),s=(a=!(e=r||o))&&n&&n.has(this._parts.hostname),c=a&&i.idn_expression.test(this._parts.hostname),u=a&&i.punycode_expression.test(this._parts.hostname)),t.toLowerCase()){case"relative":return l;case"absolute":return!l;case"domain":case"name":return a;case"sld":return s;case"ip":return e;case"ip4":case"ipv4":case"inet4":return r;case"ip6":case"ipv6":case"inet6":return o;case"idn":return c;case"url":return!this._parts.urn;case"urn":return!!this._parts.urn;case"punycode":return u}return null};var k=a.protocol,E=a.port,S=a.hostname;a.protocol=function(t,e){if(t&&!(t=t.replace(/:(\/\/)?$/,"")).match(i.protocol_expression))throw new TypeError('Protocol "'+t+"\" contains characters other than [A-Z0-9.+-] or doesn't start with [A-Z]");return k.call(this,t,e)},a.scheme=a.protocol,a.port=function(t,e){return this._parts.urn?void 0===t?"":this:(void 0!==t&&(0===t&&(t=null),t&&(":"===(t+="").charAt(0)&&(t=t.substring(1)),i.ensureValidPort(t))),E.call(this,t,e))},a.hostname=function(t,e){if(this._parts.urn)return void 0===t?"":this;if(void 0!==t){var n={preventInvalidHostname:this._parts.preventInvalidHostname};if("/"!==i.parseHost(t,n))throw new TypeError('Hostname "'+t+'" contains characters other than [A-Z0-9.-]');t=n.hostname,this._parts.preventInvalidHostname&&i.ensureValidHostname(t,this._parts.protocol)}return S.call(this,t,e)},a.origin=function(t,e){if(this._parts.urn)return void 0===t?"":this;if(void 0===t){var n=this.protocol();return this.authority()?(n?n+"://":"")+this.authority():""}var r=i(t);return this.protocol(r.protocol()).authority(r.authority()).build(!e),this},a.host=function(t,e){if(this._parts.urn)return void 0===t?"":this;if(void 0===t)return this._parts.hostname?i.buildHost(this._parts):"";if("/"!==i.parseHost(t,this._parts))throw new TypeError('Hostname "'+t+'" contains characters other than [A-Z0-9.-]');return this.build(!e),this},a.authority=function(t,e){if(this._parts.urn)return void 0===t?"":this;if(void 0===t)return this._parts.hostname?i.buildAuthority(this._parts):"";if("/"!==i.parseAuthority(t,this._parts))throw new TypeError('Hostname "'+t+'" contains characters other than [A-Z0-9.-]');return this.build(!e),this},a.userinfo=function(t,e){if(this._parts.urn)return void 0===t?"":this;if(void 0===t){var n=i.buildUserinfo(this._parts);return n?n.substring(0,n.length-1):n}return"@"!==t[t.length-1]&&(t+="@"),i.parseUserinfo(t,this._parts),this.build(!e),this},a.resource=function(t,e){var n;return void 0===t?this.path()+this.search()+this.hash():(n=i.parse(t),this._parts.path=n.path,this._parts.query=n.query,this._parts.fragment=n.fragment,this.build(!e),this)},a.subdomain=function(t,e){if(this._parts.urn)return void 0===t?"":this;if(void 0===t){if(!this._parts.hostname||this.is("IP"))return"";var n=this._parts.hostname.length-this.domain().length-1;return this._parts.hostname.substring(0,n)||""}var r=this._parts.hostname.length-this.domain().length,o=this._parts.hostname.substring(0,r),a=new RegExp("^"+u(o));if(t&&"."!==t.charAt(t.length-1)&&(t+="."),-1!==t.indexOf(":"))throw new TypeError("Domains cannot contain colons");return t&&i.ensureValidHostname(t,this._parts.protocol),this._parts.hostname=this._parts.hostname.replace(a,t),this.build(!e),this},a.domain=function(t,e){if(this._parts.urn)return void 0===t?"":this;if("boolean"==typeof t&&(e=t,t=void 0),void 0===t){if(!this._parts.hostname||this.is("IP"))return"";var n=this._parts.hostname.match(/\./g);if(n&&n.length<2)return this._parts.hostname;var r=this._parts.hostname.length-this.tld(e).length-1;return r=this._parts.hostname.lastIndexOf(".",r-1)+1,this._parts.hostname.substring(r)||""}if(!t)throw new TypeError("cannot set domain empty");if(-1!==t.indexOf(":"))throw new TypeError("Domains cannot contain colons");if(i.ensureValidHostname(t,this._parts.protocol),!this._parts.hostname||this.is("IP"))this._parts.hostname=t;else{var o=new RegExp(u(this.domain())+"$");this._parts.hostname=this._parts.hostname.replace(o,t)}return this.build(!e),this},a.tld=function(t,e){if(this._parts.urn)return void 0===t?"":this;if("boolean"==typeof t&&(e=t,t=void 0),void 0===t){if(!this._parts.hostname||this.is("IP"))return"";var r=this._parts.hostname.lastIndexOf("."),o=this._parts.hostname.substring(r+1);return!0!==e&&n&&n.list[o.toLowerCase()]&&n.get(this._parts.hostname)||o}var i;if(!t)throw new TypeError("cannot set TLD empty");if(t.match(/[^a-zA-Z0-9-]/)){if(!n||!n.is(t))throw new TypeError('TLD "'+t+'" contains characters other than [A-Z0-9]');i=new RegExp(u(this.tld())+"$"),this._parts.hostname=this._parts.hostname.replace(i,t)}else{if(!this._parts.hostname||this.is("IP"))throw new ReferenceError("cannot set TLD on non-domain host");i=new RegExp(u(this.tld())+"$"),this._parts.hostname=this._parts.hostname.replace(i,t)}return this.build(!e),this},a.directory=function(t,e){if(this._parts.urn)return void 0===t?"":this;if(void 0===t||!0===t){if(!this._parts.path&&!this._parts.hostname)return"";if("/"===this._parts.path)return"/";var n=this._parts.path.length-this.filename().length-1,r=this._parts.path.substring(0,n)||(this._parts.hostname?"/":"");return t?i.decodePath(r):r}var o=this._parts.path.length-this.filename().length,a=this._parts.path.substring(0,o),s=new RegExp("^"+u(a));return this.is("relative")||(t||(t="/"),"/"!==t.charAt(0)&&(t="/"+t)),t&&"/"!==t.charAt(t.length-1)&&(t+="/"),t=i.recodePath(t),this._parts.path=this._parts.path.replace(s,t),this.build(!e),this},a.filename=function(t,e){if(this._parts.urn)return void 0===t?"":this;if("string"!=typeof t){if(!this._parts.path||"/"===this._parts.path)return"";var n=this._parts.path.lastIndexOf("/"),r=this._parts.path.substring(n+1);return t?i.decodePathSegment(r):r}var o=!1;"/"===t.charAt(0)&&(t=t.substring(1)),t.match(/\.?\//)&&(o=!0);var a=new RegExp(u(this.filename())+"$");return t=i.recodePath(t),this._parts.path=this._parts.path.replace(a,t),o?this.normalizePath(e):this.build(!e),this},a.suffix=function(t,e){if(this._parts.urn)return void 0===t?"":this;if(void 0===t||!0===t){if(!this._parts.path||"/"===this._parts.path)return"";var n,r,o=this.filename(),a=o.lastIndexOf(".");return-1===a?"":(n=o.substring(a+1),r=/^[a-z0-9%]+$/i.test(n)?n:"",t?i.decodePathSegment(r):r)}"."===t.charAt(0)&&(t=t.substring(1));var s,c=this.suffix();if(c)s=t?new RegExp(u(c)+"$"):new RegExp(u("."+c)+"$");else{if(!t)return this;this._parts.path+="."+i.recodePath(t)}return s&&(t=i.recodePath(t),this._parts.path=this._parts.path.replace(s,t)),this.build(!e),this},a.segment=function(t,e,n){var r=this._parts.urn?":":"/",o=this.path(),i="/"===o.substring(0,1),a=o.split(r);if(void 0!==t&&"number"!=typeof t&&(n=e,e=t,t=void 0),void 0!==t&&"number"!=typeof t)throw new Error('Bad segment "'+t+'", must be 0-based integer');if(i&&a.shift(),t<0&&(t=Math.max(a.length+t,0)),void 0===e)return void 0===t?a:a[t];if(null===t||void 0===a[t])if(p(e)){a=[];for(var s=0,c=e.length;s<c;s++)(e[s].length||a.length&&a[a.length-1].length)&&(a.length&&!a[a.length-1].length&&a.pop(),a.push(m(e[s])))}else(e||"string"==typeof e)&&(e=m(e),""===a[a.length-1]?a[a.length-1]=e:a.push(e));else e?a[t]=m(e):a.splice(t,1);return i&&a.unshift(""),this.path(a.join(r),n)},a.segmentCoded=function(t,e,n){var r,o,a;if("number"!=typeof t&&(n=e,e=t,t=void 0),void 0===e){if(p(r=this.segment(t,e,n)))for(o=0,a=r.length;o<a;o++)r[o]=i.decode(r[o]);else r=void 0!==r?i.decode(r):void 0;return r}if(p(e))for(o=0,a=e.length;o<a;o++)e[o]=i.encode(e[o]);else e="string"==typeof e||e instanceof String?i.encode(e):e;return this.segment(t,e,n)};var T=a.query;return a.query=function(t,e){if(!0===t)return i.parseQuery(this._parts.query,this._parts.escapeQuerySpace);if("function"==typeof t){var n=i.parseQuery(this._parts.query,this._parts.escapeQuerySpace),r=t.call(this,n);return this._parts.query=i.buildQuery(r||n,this._parts.duplicateQueryParameters,this._parts.escapeQuerySpace),this.build(!e),this}return void 0!==t&&"string"!=typeof t?(this._parts.query=i.buildQuery(t,this._parts.duplicateQueryParameters,this._parts.escapeQuerySpace),this.build(!e),this):T.call(this,t,e)},a.setQuery=function(t,e,n){var r=i.parseQuery(this._parts.query,this._parts.escapeQuerySpace);if("string"==typeof t||t instanceof String)r[t]=void 0!==e?e:null;else{if("object"!==s(t))throw new TypeError("URI.addQuery() accepts an object, string as the name parameter");for(var o in t)c.call(t,o)&&(r[o]=t[o])}return this._parts.query=i.buildQuery(r,this._parts.duplicateQueryParameters,this._parts.escapeQuerySpace),"string"!=typeof t&&(n=e),this.build(!n),this},a.addQuery=function(t,e,n){var r=i.parseQuery(this._parts.query,this._parts.escapeQuerySpace);return i.addQuery(r,t,void 0===e?null:e),this._parts.query=i.buildQuery(r,this._parts.duplicateQueryParameters,this._parts.escapeQuerySpace),"string"!=typeof t&&(n=e),this.build(!n),this},a.removeQuery=function(t,e,n){var r=i.parseQuery(this._parts.query,this._parts.escapeQuerySpace);return i.removeQuery(r,t,e),this._parts.query=i.buildQuery(r,this._parts.duplicateQueryParameters,this._parts.escapeQuerySpace),"string"!=typeof t&&(n=e),this.build(!n),this},a.hasQuery=function(t,e,n){var r=i.parseQuery(this._parts.query,this._parts.escapeQuerySpace);return i.hasQuery(r,t,e,n)},a.setSearch=a.setQuery,a.addSearch=a.addQuery,a.removeSearch=a.removeQuery,a.hasSearch=a.hasQuery,a.normalize=function(){return this._parts.urn?this.normalizeProtocol(!1).normalizePath(!1).normalizeQuery(!1).normalizeFragment(!1).build():this.normalizeProtocol(!1).normalizeHostname(!1).normalizePort(!1).normalizePath(!1).normalizeQuery(!1).normalizeFragment(!1).build()},a.normalizeProtocol=function(t){return"string"==typeof this._parts.protocol&&(this._parts.protocol=this._parts.protocol.toLowerCase(),this.build(!t)),this},a.normalizeHostname=function(n){return this._parts.hostname&&(this.is("IDN")&&t?this._parts.hostname=t.toASCII(this._parts.hostname):this.is("IPv6")&&e&&(this._parts.hostname=e.best(this._parts.hostname)),this._parts.hostname=this._parts.hostname.toLowerCase(),this.build(!n)),this},a.normalizePort=function(t){return"string"==typeof this._parts.protocol&&this._parts.port===i.defaultPorts[this._parts.protocol]&&(this._parts.port=null,this.build(!t)),this},a.normalizePath=function(t){var e,n=this._parts.path;if(!n)return this;if(this._parts.urn)return this._parts.path=i.recodeUrnPath(this._parts.path),this.build(!t),this;if("/"===this._parts.path)return this;var r,o,a="";for("/"!==(n=i.recodePath(n)).charAt(0)&&(e=!0,n="/"+n),"/.."!==n.slice(-3)&&"/."!==n.slice(-2)||(n+="/"),n=n.replace(/(\/(\.\/)+)|(\/\.$)/g,"/").replace(/\/{2,}/g,"/"),e&&(a=n.substring(1).match(/^(\.\.\/)+/)||"")&&(a=a[0]);-1!==(r=n.search(/\/\.\.(\/|$)/));)0!==r?(-1===(o=n.substring(0,r).lastIndexOf("/"))&&(o=r),n=n.substring(0,o)+n.substring(r+3)):n=n.substring(3);return e&&this.is("relative")&&(n=a+n.substring(1)),this._parts.path=n,this.build(!t),this},a.normalizePathname=a.normalizePath,a.normalizeQuery=function(t){return"string"==typeof this._parts.query&&(this._parts.query.length?this.query(i.parseQuery(this._parts.query,this._parts.escapeQuerySpace)):this._parts.query=null,this.build(!t)),this},a.normalizeFragment=function(t){return this._parts.fragment||(this._parts.fragment=null,this.build(!t)),this},a.normalizeSearch=a.normalizeQuery,a.normalizeHash=a.normalizeFragment,a.iso8859=function(){var t=i.encode,e=i.decode;i.encode=escape,i.decode=decodeURIComponent;try{this.normalize()}finally{i.encode=t,i.decode=e}return this},a.unicode=function(){var t=i.encode,e=i.decode;i.encode=v,i.decode=unescape;try{this.normalize()}finally{i.encode=t,i.decode=e}return this},a.readable=function(){var e=this.clone();e.username("").password("").normalize();var n="";if(e._parts.protocol&&(n+=e._parts.protocol+"://"),e._parts.hostname&&(e.is("punycode")&&t?(n+=t.toUnicode(e._parts.hostname),e._parts.port&&(n+=":"+e._parts.port)):n+=e.host()),e._parts.hostname&&e._parts.path&&"/"!==e._parts.path.charAt(0)&&(n+="/"),n+=e.path(!0),e._parts.query){for(var r="",o=0,a=e._parts.query.split("&"),s=a.length;o<s;o++){var c=(a[o]||"").split("=");r+="&"+i.decodeQuery(c[0],this._parts.escapeQuerySpace).replace(/&/g,"%26"),void 0!==c[1]&&(r+="="+i.decodeQuery(c[1],this._parts.escapeQuerySpace).replace(/&/g,"%26"))}n+="?"+r.substring(1)}return n+i.decodeQuery(e.hash(),!0)},a.absoluteTo=function(t){var e,n,r,o=this.clone(),a=["protocol","username","password","hostname","port"];if(this._parts.urn)throw new Error("URNs do not have any generally defined hierarchical components");if(t instanceof i||(t=new i(t)),o._parts.protocol)return o;if(o._parts.protocol=t._parts.protocol,this._parts.hostname)return o;for(n=0;r=a[n];n++)o._parts[r]=t._parts[r];return o._parts.path?(".."===o._parts.path.substring(-2)&&(o._parts.path+="/"),"/"!==o.path().charAt(0)&&(e=(e=t.directory())||(0===t.path().indexOf("/")?"/":""),o._parts.path=(e?e+"/":"")+o._parts.path,o.normalizePath())):(o._parts.path=t._parts.path,o._parts.query||(o._parts.query=t._parts.query)),o.build(),o},a.relativeTo=function(t){var e,n,r,o,a,s=this.clone().normalize();if(s._parts.urn)throw new Error("URNs do not have any generally defined hierarchical components");if(t=new i(t).normalize(),e=s._parts,n=t._parts,o=s.path(),a=t.path(),"/"!==o.charAt(0))throw new Error("URI is already relative");if("/"!==a.charAt(0))throw new Error("Cannot calculate a URI relative to another relative URI");if(e.protocol===n.protocol&&(e.protocol=null),e.username!==n.username||e.password!==n.password)return s.build();if(null!==e.protocol||null!==e.username||null!==e.password)return s.build();if(e.hostname!==n.hostname||e.port!==n.port)return s.build();if(e.hostname=null,e.port=null,o===a)return e.path="",s.build();if(!(r=i.commonPath(o,a)))return s.build();var c=n.path.substring(r.length).replace(/[^\/]*$/,"").replace(/.*?\//g,"../");return e.path=c+e.path.substring(r.length)||"./",s.build()},a.equals=function(t){var e,n,r,o,a,s=this.clone(),u=new i(t),l={};if(s.normalize(),u.normalize(),s.toString()===u.toString())return!0;if(r=s.query(),o=u.query(),s.query(""),u.query(""),s.toString()!==u.toString())return!1;if(r.length!==o.length)return!1;for(a in e=i.parseQuery(r,this._parts.escapeQuerySpace),n=i.parseQuery(o,this._parts.escapeQuerySpace),e)if(c.call(e,a)){if(p(e[a])){if(!h(e[a],n[a]))return!1}else if(e[a]!==n[a])return!1;l[a]=!0}for(a in n)if(c.call(n,a)&&!l[a])return!1;return!0},a.preventInvalidHostname=function(t){return this._parts.preventInvalidHostname=!!t,this},a.duplicateQueryParameters=function(t){return this._parts.duplicateQueryParameters=!!t,this},a.escapeQuerySpace=function(t){return this._parts.escapeQuerySpace=!!t,this},i},"object"===s(t)&&t.exports?t.exports=a(n(2456),n(9239),n(4035)):(o=[n(2456),n(9239),n(4035)],void 0===(i="function"==typeof(r=a)?r.apply(e,o):r)||(t.exports=i))},2456:function(t,e,n){var r;function o(t){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o(t)}t=n.nmd(t),function(i){var a="object"==o(e)&&e&&!e.nodeType&&e,s="object"==o(t)&&t&&!t.nodeType&&t,c="object"==(void 0===n.g?"undefined":o(n.g))&&n.g;c.global!==c&&c.window!==c&&c.self!==c||(i=c);var u,l,p=2147483647,f=36,d=/^xn--/,h=/[^\x20-\x7E]/,m=/[\x2E\u3002\uFF0E\uFF61]/g,g={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},v=Math.floor,y=String.fromCharCode;function b(t){throw new RangeError(g[t])}function w(t,e){for(var n=t.length,r=[];n--;)r[n]=e(t[n]);return r}function x(t,e){var n=t.split("@"),r="";return n.length>1&&(r=n[0]+"@",t=n[1]),r+w((t=t.replace(m,".")).split("."),e).join(".")}function _(t){for(var e,n,r=[],o=0,i=t.length;o<i;)(e=t.charCodeAt(o++))>=55296&&e<=56319&&o<i?56320==(64512&(n=t.charCodeAt(o++)))?r.push(((1023&e)<<10)+(1023&n)+65536):(r.push(e),o--):r.push(e);return r}function A(t){return w(t,(function(t){var e="";return t>65535&&(e+=y((t-=65536)>>>10&1023|55296),t=56320|1023&t),e+y(t)})).join("")}function k(t,e){return t+22+75*(t<26)-((0!=e)<<5)}function E(t,e,n){var r=0;for(t=n?v(t/700):t>>1,t+=v(t/e);t>455;r+=f)t=v(t/35);return v(r+36*t/(t+38))}function S(t){var e,n,r,o,i,a,s,c,u,l,d,h=[],m=t.length,g=0,y=128,w=72;for((n=t.lastIndexOf("-"))<0&&(n=0),r=0;r<n;++r)t.charCodeAt(r)>=128&&b("not-basic"),h.push(t.charCodeAt(r));for(o=n>0?n+1:0;o<m;){for(i=g,a=1,s=f;o>=m&&b("invalid-input"),((c=(d=t.charCodeAt(o++))-48<10?d-22:d-65<26?d-65:d-97<26?d-97:f)>=f||c>v((p-g)/a))&&b("overflow"),g+=c*a,!(c<(u=s<=w?1:s>=w+26?26:s-w));s+=f)a>v(p/(l=f-u))&&b("overflow"),a*=l;w=E(g-i,e=h.length+1,0==i),v(g/e)>p-y&&b("overflow"),y+=v(g/e),g%=e,h.splice(g++,0,y)}return A(h)}function T(t){var e,n,r,o,i,a,s,c,u,l,d,h,m,g,w,x=[];for(h=(t=_(t)).length,e=128,n=0,i=72,a=0;a<h;++a)(d=t[a])<128&&x.push(y(d));for(r=o=x.length,o&&x.push("-");r<h;){for(s=p,a=0;a<h;++a)(d=t[a])>=e&&d<s&&(s=d);for(s-e>v((p-n)/(m=r+1))&&b("overflow"),n+=(s-e)*m,e=s,a=0;a<h;++a)if((d=t[a])<e&&++n>p&&b("overflow"),d==e){for(c=n,u=f;!(c<(l=u<=i?1:u>=i+26?26:u-i));u+=f)w=c-l,g=f-l,x.push(y(k(l+w%g,0))),c=v(w/g);x.push(y(k(c,0))),i=E(n,m,r==o),n=0,++r}++n,++e}return x.join("")}if(u={version:"1.3.2",ucs2:{decode:_,encode:A},decode:S,encode:T,toASCII:function(t){return x(t,(function(t){return h.test(t)?"xn--"+T(t):t}))},toUnicode:function(t){return x(t,(function(t){return d.test(t)?S(t.slice(4).toLowerCase()):t}))}},"object"==o(n.amdO)&&n.amdO)void 0===(r=function(){return u}.call(e,n,e,t))||(t.exports=r);else if(a&&s)if(t.exports==a)s.exports=u;else for(l in u)u.hasOwnProperty(l)&&(a[l]=u[l]);else i.punycode=u}(this)},1062:function(t,e){e.AclPrivate="private",e.AclPublicRead="public-read",e.AclPublicReadWrite="public-read-write",e.AclPublicReadDelivered="public-read-delivered",e.AclPublicReadWriteDelivered="public-read-write-delivered",e.AclAuthenticatedRead="authenticated-read",e.AclBucketOwnerRead="bucket-owner-read",e.AclBucketOwnerFullControl="bucket-owner-full-control",e.AclLogDeliveryWrite="log-delivery-write",e.StorageClassStandard="STANDARD",e.StorageClassWarm="WARM",e.StorageClassCold="COLD",e.PermissionRead="READ",e.PermissionWrite="WRITE",e.PermissionReadAcp="READ_ACP",e.PermissionWriteAcp="WRITE_ACP",e.PermissionFullControl="FULL_CONTROL",e.GroupAllUsers="AllUsers",e.GroupAuthenticatedUsers="AuthenticatedUsers",e.GroupLogDelivery="LogDelivery",e.RestoreTierExpedited="Expedited",e.RestoreTierStandard="Standard",e.RestoreTierBulk="Bulk",e.GranteeGroup="Group",e.GranteeUser="CanonicalUser",e.CopyMetadata="COPY",e.ReplaceMetadata="REPLACE",e.EventObjectCreatedAll="ObjectCreated:*",e.EventObjectCreatedPut="ObjectCreated:Put",e.EventObjectCreatedPost="ObjectCreated:Post",e.EventObjectCreatedCopy="ObjectCreated:Copy",e.EventObjectCreatedCompleteMultipartUpload="ObjectCreated:CompleteMultipartUpload",e.EventObjectRemovedAll="ObjectRemoved:*",e.EventObjectRemovedDelete="ObjectRemoved:Delete",e.EventObjectRemovedDeleteMarkerCreated="ObjectRemoved:DeleteMarkerCreated"}},r={};function o(t){var e=r[t];if(void 0!==e)return e.exports;var i=r[t]={id:t,loaded:!1,exports:{}};return n[t].call(i.exports,i,i.exports,o),i.loaded=!0,i.exports}o.amdO={},o.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return o.d(e,{a:e}),e},e=Object.getPrototypeOf?function(t){return Object.getPrototypeOf(t)}:function(t){return t.__proto__},o.t=function(n,r){if(1&r&&(n=this(n)),8&r)return n;if("object"==typeof n&&n){if(4&r&&n.__esModule)return n;if(16&r&&"function"==typeof n.then)return n}var i=Object.create(null);o.r(i);var a={};t=t||[null,e({}),e([]),e(e)];for(var s=2&r&&n;"object"==typeof s&&!~t.indexOf(s);s=e(s))Object.getOwnPropertyNames(s).forEach((function(t){a[t]=function(){return n[t]}}));return a.default=function(){return n},o.d(i,a),i},o.d=function(t,e){for(var n in e)o.o(e,n)&&!o.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},o.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),o.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},o.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},o.nmd=function(t){return t.paths=[],t.children||(t.children=[]),t};var i={};return function(){o(8392);var t,e=(t=o(9269))&&t.__esModule?t:{default:t};e.default._babelPolyfill&&"undefined"!=typeof console&&console.warn&&console.warn("@babel/polyfill is loaded more than once on this page. This is probably not desirable/intended and may have consequences if different versions of the polyfills are applied sequentially. If you do need to load the polyfill more than once, use @babel/polyfill/noConflict instead to bypass the warning."),e.default._babelPolyfill=!0}(),function(){o.d(i,{default:function(){return Qn}});var t=o(5016),e=o.n(t),n=o(2990),r=o.n(n);function a(t){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},a(t)}function s(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&c(t,e)}function c(t,e){return c=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},c(t,e)}function u(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=p(t);if(e){var o=p(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return l(this,n)}}function l(t,e){if(e&&("object"===a(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}function p(t){return p=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},p(t)}function f(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function d(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function h(t,e,n){return e&&d(t.prototype,e),n&&d(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}var m="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";function g(t,e,n,r){var o,i,a,s=e||[0],c=(n=n||0)>>>3,u=-1===r?3:0;for(o=0;o<t.length;o+=1)i=(a=o+c)>>>2,s.length<=i&&s.push(0),s[i]|=t[o]<<8*(u+r*(a%4));return{value:s,binLen:8*t.length+n}}function v(t,e,n){switch(e){case"UTF8":case"UTF16BE":case"UTF16LE":break;default:throw new Error("encoding must be UTF8, UTF16BE, or UTF16LE")}switch(t){case"HEX":return function(t,e,r){return function(t,e,n,r){var o,i,a,s;if(0!=t.length%2)throw new Error("String of HEX type must be in byte increments");var c=e||[0],u=(n=n||0)>>>3,l=-1===r?3:0;for(o=0;o<t.length;o+=2){if(i=parseInt(t.substr(o,2),16),isNaN(i))throw new Error("String of HEX type contains invalid characters");for(a=(s=(o>>>1)+u)>>>2;c.length<=a;)c.push(0);c[a]|=i<<8*(l+r*(s%4))}return{value:c,binLen:4*t.length+n}}(t,e,r,n)};case"TEXT":return function(t,r,o){return function(t,e,n,r,o){var i,a,s,c,u,l,p,f,d=0,h=n||[0],m=(r=r||0)>>>3;if("UTF8"===e)for(p=-1===o?3:0,s=0;s<t.length;s+=1)for(a=[],128>(i=t.charCodeAt(s))?a.push(i):2048>i?(a.push(192|i>>>6),a.push(128|63&i)):55296>i||57344<=i?a.push(224|i>>>12,128|i>>>6&63,128|63&i):(s+=1,i=65536+((1023&i)<<10|1023&t.charCodeAt(s)),a.push(240|i>>>18,128|i>>>12&63,128|i>>>6&63,128|63&i)),c=0;c<a.length;c+=1){for(u=(l=d+m)>>>2;h.length<=u;)h.push(0);h[u]|=a[c]<<8*(p+o*(l%4)),d+=1}else for(p=-1===o?2:0,f="UTF16LE"===e&&1!==o||"UTF16LE"!==e&&1===o,s=0;s<t.length;s+=1){for(i=t.charCodeAt(s),!0===f&&(i=(c=255&i)<<8|i>>>8),u=(l=d+m)>>>2;h.length<=u;)h.push(0);h[u]|=i<<8*(p+o*(l%4)),d+=2}return{value:h,binLen:8*d+r}}(t,e,r,o,n)};case"B64":return function(t,e,r){return function(t,e,n,r){var o,i,a,s,c,u,l=0,p=e||[0],f=(n=n||0)>>>3,d=-1===r?3:0,h=t.indexOf("=");if(-1===t.search(/^[a-zA-Z0-9=+/]+$/))throw new Error("Invalid character in base-64 string");if(t=t.replace(/=/g,""),-1!==h&&h<t.length)throw new Error("Invalid '=' found in base-64 string");for(o=0;o<t.length;o+=4){for(s=t.substr(o,4),a=0,i=0;i<s.length;i+=1)a|=m.indexOf(s.charAt(i))<<18-6*i;for(i=0;i<s.length-1;i+=1){for(c=(u=l+f)>>>2;p.length<=c;)p.push(0);p[c]|=(a>>>16-8*i&255)<<8*(d+r*(u%4)),l+=1}}return{value:p,binLen:8*l+n}}(t,e,r,n)};case"BYTES":return function(t,e,r){return function(t,e,n,r){var o,i,a,s,c=e||[0],u=(n=n||0)>>>3,l=-1===r?3:0;for(i=0;i<t.length;i+=1)o=t.charCodeAt(i),a=(s=i+u)>>>2,c.length<=a&&c.push(0),c[a]|=o<<8*(l+r*(s%4));return{value:c,binLen:8*t.length+n}}(t,e,r,n)};case"ARRAYBUFFER":try{new ArrayBuffer(0)}catch(t){throw new Error("ARRAYBUFFER not supported by this environment")}return function(t,e,r){return function(t,e,n,r){return g(new Uint8Array(t),e,n,r)}(t,e,r,n)};case"UINT8ARRAY":try{new Uint8Array(0)}catch(t){throw new Error("UINT8ARRAY not supported by this environment")}return function(t,e,r){return g(t,e,r,n)};default:throw new Error("format must be HEX, TEXT, B64, BYTES, ARRAYBUFFER, or UINT8ARRAY")}}function y(t,e,n,r){switch(t){case"HEX":return function(t){return function(t,e,n,r){var o,i,a="",s=e/8,c=-1===n?3:0;for(o=0;o<s;o+=1)i=t[o>>>2]>>>8*(c+n*(o%4)),a+="0123456789abcdef".charAt(i>>>4&15)+"0123456789abcdef".charAt(15&i);return r.outputUpper?a.toUpperCase():a}(t,e,n,r)};case"B64":return function(t){return function(t,e,n,r){var o,i,a,s,c,u="",l=e/8,p=-1===n?3:0;for(o=0;o<l;o+=3)for(s=o+1<l?t[o+1>>>2]:0,c=o+2<l?t[o+2>>>2]:0,a=(t[o>>>2]>>>8*(p+n*(o%4))&255)<<16|(s>>>8*(p+n*((o+1)%4))&255)<<8|c>>>8*(p+n*((o+2)%4))&255,i=0;i<4;i+=1)u+=8*o+6*i<=e?m.charAt(a>>>6*(3-i)&63):r.b64Pad;return u}(t,e,n,r)};case"BYTES":return function(t){return function(t,e,n){var r,o,i="",a=e/8,s=-1===n?3:0;for(r=0;r<a;r+=1)o=t[r>>>2]>>>8*(s+n*(r%4))&255,i+=String.fromCharCode(o);return i}(t,e,n)};case"ARRAYBUFFER":try{new ArrayBuffer(0)}catch(t){throw new Error("ARRAYBUFFER not supported by this environment")}return function(t){return function(t,e,n){var r,o=e/8,i=new ArrayBuffer(o),a=new Uint8Array(i),s=-1===n?3:0;for(r=0;r<o;r+=1)a[r]=t[r>>>2]>>>8*(s+n*(r%4))&255;return i}(t,e,n)};case"UINT8ARRAY":try{new Uint8Array(0)}catch(t){throw new Error("UINT8ARRAY not supported by this environment")}return function(t){return function(t,e,n){var r,o=e/8,i=-1===n?3:0,a=new Uint8Array(o);for(r=0;r<o;r+=1)a[r]=t[r>>>2]>>>8*(i+n*(r%4))&255;return a}(t,e,n)};default:throw new Error("format must be HEX, B64, BYTES, ARRAYBUFFER, or UINT8ARRAY")}}var b=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],w=[3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428],x=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],_="Chosen SHA variant is not supported";function A(t,e){var n,r,o=t.binLen>>>3,i=e.binLen>>>3,a=o<<3,s=4-o<<3;if(o%4!=0){for(n=0;n<i;n+=4)r=o+n>>>2,t.value[r]|=e.value[n>>>2]<<a,t.value.push(0),t.value[r+1]|=e.value[n>>>2]>>>s;return(t.value.length<<2)-4>=i+o&&t.value.pop(),{value:t.value,binLen:t.binLen+e.binLen}}return{value:t.value.concat(e.value),binLen:t.binLen+e.binLen}}function k(t){var e={outputUpper:!1,b64Pad:"=",outputLen:-1},n=t||{},r="Output length must be a multiple of 8";if(e.outputUpper=n.outputUpper||!1,n.b64Pad&&(e.b64Pad=n.b64Pad),n.outputLen){if(n.outputLen%8!=0)throw new Error(r);e.outputLen=n.outputLen}else if(n.shakeLen){if(n.shakeLen%8!=0)throw new Error(r);e.outputLen=n.shakeLen}if("boolean"!=typeof e.outputUpper)throw new Error("Invalid outputUpper formatting option");if("string"!=typeof e.b64Pad)throw new Error("Invalid b64Pad formatting option");return e}function E(t,e,n,r){var o=t+" must include a value and format";if(!e){if(!r)throw new Error(o);return r}if(void 0===e.value||!e.format)throw new Error(o);return v(e.format,e.encoding||"UTF8",n)(e.value)}var S=function(){function t(e,n,r){f(this,t);var o=r||{};if(this.t=n,this.i=o.encoding||"UTF8",this.numRounds=o.numRounds||1,isNaN(this.numRounds)||this.numRounds!==parseInt(this.numRounds,10)||1>this.numRounds)throw new Error("numRounds must a integer >= 1");this.s=e,this.o=[],this.h=0,this.u=!1,this.l=0,this.A=!1,this.H=[],this.S=[]}return h(t,[{key:"update",value:function(t){var e,n=0,r=this.p>>>5,o=this.m(t,this.o,this.h),i=o.binLen,a=o.value,s=i>>>5;for(e=0;e<s;e+=r)n+this.p<=i&&(this.C=this.R(a.slice(e,e+r),this.C),n+=this.p);this.l+=n,this.o=a.slice(n>>>5),this.h=i%this.p,this.u=!0}},{key:"getHash",value:function(t,e){var n,r,o=this.U,i=k(e);if(this.v){if(-1===i.outputLen)throw new Error("Output length must be specified in options");o=i.outputLen}var a=y(t,o,this.K,i);if(this.A&&this.T)return a(this.T(i));for(r=this.F(this.o.slice(),this.h,this.l,this.g(this.C),o),n=1;n<this.numRounds;n+=1)this.v&&o%32!=0&&(r[r.length-1]&=16777215>>>24-o%32),r=this.F(r,o,0,this.B(this.s),o);return a(r)}},{key:"setHMACKey",value:function(t,e,n){if(!this.L)throw new Error("Variant does not support HMAC");if(this.u)throw new Error("Cannot set MAC key after calling update");var r=v(e,(n||{}).encoding||"UTF8",this.K);this.M(r(t))}},{key:"M",value:function(t){var e,n=this.p>>>3,r=n/4-1;if(1!==this.numRounds)throw new Error("Cannot set numRounds with MAC");if(this.A)throw new Error("MAC key already set");for(n<t.binLen/8&&(t.value=this.F(t.value,t.binLen,0,this.B(this.s),this.U));t.value.length<=r;)t.value.push(0);for(e=0;e<=r;e+=1)this.H[e]=909522486^t.value[e],this.S[e]=1549556828^t.value[e];this.C=this.R(this.H,this.C),this.l=this.p,this.A=!0}},{key:"getHMAC",value:function(t,e){var n=k(e);return y(t,this.U,this.K,n)(this.k())}},{key:"k",value:function(){var t;if(!this.A)throw new Error("Cannot call getHMAC without first setting MAC key");var e=this.F(this.o.slice(),this.h,this.l,this.g(this.C),this.U);return t=this.R(this.S,this.B(this.s)),this.F(e,this.U,this.p,t,this.U)}}]),t}();function T(t,e){return t<<e|t>>>32-e}function C(t,e){return t>>>e|t<<32-e}function P(t,e){return t>>>e}function O(t,e,n){return t^e^n}function L(t,e,n){return t&e^~t&n}function M(t,e,n){return t&e^t&n^e&n}function R(t){return C(t,2)^C(t,13)^C(t,22)}function I(t,e){var n=(65535&t)+(65535&e);return(65535&(t>>>16)+(e>>>16)+(n>>>16))<<16|65535&n}function j(t,e,n,r){var o=(65535&t)+(65535&e)+(65535&n)+(65535&r);return(65535&(t>>>16)+(e>>>16)+(n>>>16)+(r>>>16)+(o>>>16))<<16|65535&o}function D(t,e,n,r,o){var i=(65535&t)+(65535&e)+(65535&n)+(65535&r)+(65535&o);return(65535&(t>>>16)+(e>>>16)+(n>>>16)+(r>>>16)+(o>>>16)+(i>>>16))<<16|65535&i}function B(t){return C(t,7)^C(t,18)^P(t,3)}function N(t){return C(t,6)^C(t,11)^C(t,25)}function U(t){return[1732584193,4023233417,2562383102,271733878,3285377520]}function $(t,e){var n,r,o,i,a,s,c,u=[];for(n=e[0],r=e[1],o=e[2],i=e[3],a=e[4],c=0;c<80;c+=1)u[c]=c<16?t[c]:T(u[c-3]^u[c-8]^u[c-14]^u[c-16],1),s=c<20?D(T(n,5),L(r,o,i),a,1518500249,u[c]):c<40?D(T(n,5),O(r,o,i),a,1859775393,u[c]):c<60?D(T(n,5),M(r,o,i),a,2400959708,u[c]):D(T(n,5),O(r,o,i),a,3395469782,u[c]),a=i,i=o,o=T(r,30),r=n,n=s;return e[0]=I(n,e[0]),e[1]=I(r,e[1]),e[2]=I(o,e[2]),e[3]=I(i,e[3]),e[4]=I(a,e[4]),e}function F(t,e,n,r){for(var o,i=15+(e+65>>>9<<4),a=e+n;t.length<=i;)t.push(0);for(t[e>>>5]|=128<<24-e%32,t[i]=4294967295&a,t[i-1]=a/4294967296|0,o=0;o<t.length;o+=16)r=$(t.slice(o,o+16),r);return r}var G=function(t){s(n,t);var e=u(n);function n(t,r,o){var i;if(f(this,n),"SHA-1"!==t)throw new Error(_);var a=o||{};return(i=e.call(this,t,r,o)).L=!0,i.T=i.k,i.K=-1,i.m=v(i.t,i.i,i.K),i.R=$,i.g=function(t){return t.slice()},i.B=U,i.F=F,i.C=[1732584193,4023233417,2562383102,271733878,3285377520],i.p=512,i.U=160,i.v=!1,a.hmacKey&&i.M(E("hmacKey",a.hmacKey,i.K)),i}return h(n)}(S);function q(t){return"SHA-224"==t?w.slice():x.slice()}function K(t,e){var n,r,o,i,a,s,c,u,l,p,f,d,h=[];for(n=e[0],r=e[1],o=e[2],i=e[3],a=e[4],s=e[5],c=e[6],u=e[7],f=0;f<64;f+=1)h[f]=f<16?t[f]:j(C(d=h[f-2],17)^C(d,19)^P(d,10),h[f-7],B(h[f-15]),h[f-16]),l=D(u,N(a),L(a,s,c),b[f],h[f]),p=I(R(n),M(n,r,o)),u=c,c=s,s=a,a=I(i,l),i=o,o=r,r=n,n=I(l,p);return e[0]=I(n,e[0]),e[1]=I(r,e[1]),e[2]=I(o,e[2]),e[3]=I(i,e[3]),e[4]=I(a,e[4]),e[5]=I(s,e[5]),e[6]=I(c,e[6]),e[7]=I(u,e[7]),e}var H=function(t){s(n,t);var e=u(n);function n(t,r,o){var i;if(f(this,n),"SHA-224"!==t&&"SHA-256"!==t)throw new Error(_);var a=o||{};return(i=e.call(this,t,r,o)).T=i.k,i.L=!0,i.K=-1,i.m=v(i.t,i.i,i.K),i.R=K,i.g=function(t){return t.slice()},i.B=q,i.F=function(e,n,r,o){return function(t,e,n,r,o){for(var i,a=15+(e+65>>>9<<4),s=e+n;t.length<=a;)t.push(0);for(t[e>>>5]|=128<<24-e%32,t[a]=4294967295&s,t[a-1]=s/4294967296|0,i=0;i<t.length;i+=16)r=K(t.slice(i,i+16),r);return"SHA-224"===o?[r[0],r[1],r[2],r[3],r[4],r[5],r[6]]:r}(e,n,r,o,t)},i.C=q(t),i.p=512,i.U="SHA-224"===t?224:256,i.v=!1,a.hmacKey&&i.M(E("hmacKey",a.hmacKey,i.K)),i}return h(n)}(S),V=h((function t(e,n){f(this,t),this.Y=e,this.N=n}));function z(t,e){var n;return e>32?(n=64-e,new V(t.N<<e|t.Y>>>n,t.Y<<e|t.N>>>n)):0!==e?(n=32-e,new V(t.Y<<e|t.N>>>n,t.N<<e|t.Y>>>n)):t}function W(t,e){var n;return e<32?(n=32-e,new V(t.Y>>>e|t.N<<n,t.N>>>e|t.Y<<n)):(n=64-e,new V(t.N>>>e|t.Y<<n,t.Y>>>e|t.N<<n))}function X(t,e){return new V(t.Y>>>e,t.N>>>e|t.Y<<32-e)}function Y(t,e,n){return new V(t.Y&e.Y^t.Y&n.Y^e.Y&n.Y,t.N&e.N^t.N&n.N^e.N&n.N)}function Z(t){var e=W(t,28),n=W(t,34),r=W(t,39);return new V(e.Y^n.Y^r.Y,e.N^n.N^r.N)}function Q(t,e){var n,r;n=(65535&t.N)+(65535&e.N);var o=(65535&(r=(t.N>>>16)+(e.N>>>16)+(n>>>16)))<<16|65535&n;return n=(65535&t.Y)+(65535&e.Y)+(r>>>16),r=(t.Y>>>16)+(e.Y>>>16)+(n>>>16),new V((65535&r)<<16|65535&n,o)}function J(t,e,n,r){var o,i;o=(65535&t.N)+(65535&e.N)+(65535&n.N)+(65535&r.N);var a=(65535&(i=(t.N>>>16)+(e.N>>>16)+(n.N>>>16)+(r.N>>>16)+(o>>>16)))<<16|65535&o;return o=(65535&t.Y)+(65535&e.Y)+(65535&n.Y)+(65535&r.Y)+(i>>>16),i=(t.Y>>>16)+(e.Y>>>16)+(n.Y>>>16)+(r.Y>>>16)+(o>>>16),new V((65535&i)<<16|65535&o,a)}function tt(t,e,n,r,o){var i,a;i=(65535&t.N)+(65535&e.N)+(65535&n.N)+(65535&r.N)+(65535&o.N);var s=(65535&(a=(t.N>>>16)+(e.N>>>16)+(n.N>>>16)+(r.N>>>16)+(o.N>>>16)+(i>>>16)))<<16|65535&i;return i=(65535&t.Y)+(65535&e.Y)+(65535&n.Y)+(65535&r.Y)+(65535&o.Y)+(a>>>16),a=(t.Y>>>16)+(e.Y>>>16)+(n.Y>>>16)+(r.Y>>>16)+(o.Y>>>16)+(i>>>16),new V((65535&a)<<16|65535&i,s)}function et(t,e){return new V(t.Y^e.Y,t.N^e.N)}function nt(t){var e=W(t,19),n=W(t,61),r=X(t,6);return new V(e.Y^n.Y^r.Y,e.N^n.N^r.N)}function rt(t){var e=W(t,1),n=W(t,8),r=X(t,7);return new V(e.Y^n.Y^r.Y,e.N^n.N^r.N)}function ot(t){var e=W(t,14),n=W(t,18),r=W(t,41);return new V(e.Y^n.Y^r.Y,e.N^n.N^r.N)}var it=[new V(b[0],3609767458),new V(b[1],602891725),new V(b[2],3964484399),new V(b[3],2173295548),new V(b[4],4081628472),new V(b[5],3053834265),new V(b[6],2937671579),new V(b[7],3664609560),new V(b[8],2734883394),new V(b[9],1164996542),new V(b[10],1323610764),new V(b[11],3590304994),new V(b[12],4068182383),new V(b[13],991336113),new V(b[14],633803317),new V(b[15],3479774868),new V(b[16],2666613458),new V(b[17],944711139),new V(b[18],2341262773),new V(b[19],2007800933),new V(b[20],1495990901),new V(b[21],1856431235),new V(b[22],3175218132),new V(b[23],2198950837),new V(b[24],3999719339),new V(b[25],766784016),new V(b[26],2566594879),new V(b[27],3203337956),new V(b[28],1034457026),new V(b[29],2466948901),new V(b[30],3758326383),new V(b[31],168717936),new V(b[32],1188179964),new V(b[33],1546045734),new V(b[34],1522805485),new V(b[35],2643833823),new V(b[36],2343527390),new V(b[37],1014477480),new V(b[38],1206759142),new V(b[39],344077627),new V(b[40],1290863460),new V(b[41],3158454273),new V(b[42],3505952657),new V(b[43],106217008),new V(b[44],3606008344),new V(b[45],1432725776),new V(b[46],1467031594),new V(b[47],851169720),new V(b[48],3100823752),new V(b[49],1363258195),new V(b[50],3750685593),new V(b[51],3785050280),new V(b[52],3318307427),new V(b[53],3812723403),new V(b[54],2003034995),new V(b[55],3602036899),new V(b[56],1575990012),new V(b[57],1125592928),new V(b[58],2716904306),new V(b[59],442776044),new V(b[60],593698344),new V(b[61],3733110249),new V(b[62],2999351573),new V(b[63],3815920427),new V(3391569614,3928383900),new V(3515267271,566280711),new V(3940187606,3454069534),new V(4118630271,4000239992),new V(116418474,1914138554),new V(174292421,2731055270),new V(289380356,3203993006),new V(460393269,320620315),new V(685471733,587496836),new V(852142971,1086792851),new V(1017036298,365543100),new V(1126000580,2618297676),new V(1288033470,3409855158),new V(1501505948,4234509866),new V(1607167915,987167468),new V(1816402316,1246189591)];function at(t){return"SHA-384"===t?[new V(3418070365,w[0]),new V(1654270250,w[1]),new V(2438529370,w[2]),new V(355462360,w[3]),new V(1731405415,w[4]),new V(41048885895,w[5]),new V(3675008525,w[6]),new V(1203062813,w[7])]:[new V(x[0],4089235720),new V(x[1],2227873595),new V(x[2],4271175723),new V(x[3],1595750129),new V(x[4],2917565137),new V(x[5],725511199),new V(x[6],4215389547),new V(x[7],327033209)]}function st(t,e){var n,r,o,i,a,s,c,u,l,p,f,d,h,m,g,v=[];for(n=e[0],r=e[1],o=e[2],i=e[3],a=e[4],s=e[5],c=e[6],u=e[7],f=0;f<80;f+=1)f<16?(d=2*f,v[f]=new V(t[d],t[d+1])):v[f]=J(nt(v[f-2]),v[f-7],rt(v[f-15]),v[f-16]),l=tt(u,ot(a),(m=s,g=c,new V((h=a).Y&m.Y^~h.Y&g.Y,h.N&m.N^~h.N&g.N)),it[f],v[f]),p=Q(Z(n),Y(n,r,o)),u=c,c=s,s=a,a=Q(i,l),i=o,o=r,r=n,n=Q(l,p);return e[0]=Q(n,e[0]),e[1]=Q(r,e[1]),e[2]=Q(o,e[2]),e[3]=Q(i,e[3]),e[4]=Q(a,e[4]),e[5]=Q(s,e[5]),e[6]=Q(c,e[6]),e[7]=Q(u,e[7]),e}var ct=function(t){s(n,t);var e=u(n);function n(t,r,o){var i;if(f(this,n),"SHA-384"!==t&&"SHA-512"!==t)throw new Error(_);var a=o||{};return(i=e.call(this,t,r,o)).T=i.k,i.L=!0,i.K=-1,i.m=v(i.t,i.i,i.K),i.R=st,i.g=function(t){return t.slice()},i.B=at,i.F=function(e,n,r,o){return function(t,e,n,r,o){for(var i,a=31+(e+129>>>10<<5),s=e+n;t.length<=a;)t.push(0);for(t[e>>>5]|=128<<24-e%32,t[a]=4294967295&s,t[a-1]=s/4294967296|0,i=0;i<t.length;i+=32)r=st(t.slice(i,i+32),r);return"SHA-384"===o?[r[0].Y,r[0].N,r[1].Y,r[1].N,r[2].Y,r[2].N,r[3].Y,r[3].N,r[4].Y,r[4].N,r[5].Y,r[5].N]:[r[0].Y,r[0].N,r[1].Y,r[1].N,r[2].Y,r[2].N,r[3].Y,r[3].N,r[4].Y,r[4].N,r[5].Y,r[5].N,r[6].Y,r[6].N,r[7].Y,r[7].N]}(e,n,r,o,t)},i.C=at(t),i.p=1024,i.U="SHA-384"===t?384:512,i.v=!1,a.hmacKey&&i.M(E("hmacKey",a.hmacKey,i.K)),i}return h(n)}(S),ut=[new V(0,1),new V(0,32898),new V(2147483648,32906),new V(2147483648,2147516416),new V(0,32907),new V(0,2147483649),new V(2147483648,2147516545),new V(2147483648,32777),new V(0,138),new V(0,136),new V(0,2147516425),new V(0,2147483658),new V(0,2147516555),new V(2147483648,139),new V(2147483648,32905),new V(2147483648,32771),new V(2147483648,32770),new V(2147483648,128),new V(0,32778),new V(2147483648,2147483658),new V(2147483648,2147516545),new V(2147483648,32896),new V(0,2147483649),new V(2147483648,2147516424)],lt=[[0,36,3,41,18],[1,44,10,45,2],[62,6,43,15,61],[28,55,25,21,56],[27,20,39,8,14]];function pt(t){var e,n=[];for(e=0;e<5;e+=1)n[e]=[new V(0,0),new V(0,0),new V(0,0),new V(0,0),new V(0,0)];return n}function ft(t){var e,n=[];for(e=0;e<5;e+=1)n[e]=t[e].slice();return n}function dt(t,e){var n,r,o,i,a,s,c,u,l,p=[],f=[];if(null!==t)for(r=0;r<t.length;r+=2)e[(r>>>1)%5][(r>>>1)/5|0]=et(e[(r>>>1)%5][(r>>>1)/5|0],new V(t[r+1],t[r]));for(n=0;n<24;n+=1){for(i=pt(),r=0;r<5;r+=1)p[r]=(a=e[r][0],s=e[r][1],c=e[r][2],u=e[r][3],l=e[r][4],new V(a.Y^s.Y^c.Y^u.Y^l.Y,a.N^s.N^c.N^u.N^l.N));for(r=0;r<5;r+=1)f[r]=et(p[(r+4)%5],z(p[(r+1)%5],1));for(r=0;r<5;r+=1)for(o=0;o<5;o+=1)e[r][o]=et(e[r][o],f[r]);for(r=0;r<5;r+=1)for(o=0;o<5;o+=1)i[o][(2*r+3*o)%5]=z(e[r][o],lt[r][o]);for(r=0;r<5;r+=1)for(o=0;o<5;o+=1)e[r][o]=et(i[r][o],new V(~i[(r+1)%5][o].Y&i[(r+2)%5][o].Y,~i[(r+1)%5][o].N&i[(r+2)%5][o].N));e[0][0]=et(e[0][0],ut[n])}return e}function ht(t){var e,n,r=0,o=[0,0],i=[4294967295&t,t/4294967296&2097151];for(e=6;e>=0;e--)0==(n=i[e>>2]>>>8*e&255)&&0===r||(o[r+1>>2]|=n<<8*(r+1),r+=1);return r=0!==r?r:1,o[0]|=r,{value:r+1>4?o:[o[0]],binLen:8+8*r}}function mt(t){return A(ht(t.binLen),t)}function gt(t,e){var n,r=ht(e),o=e>>>2,i=(o-(r=A(r,t)).value.length%o)%o;for(n=0;n<i;n++)r.value.push(0);return r.value}var vt=function(t){s(n,t);var e=u(n);function n(t,r,o){var i;f(this,n);var a=6,s=0,c=o||{};if(1!==(i=e.call(this,t,r,o)).numRounds){if(c.kmacKey||c.hmacKey)throw new Error("Cannot set numRounds with MAC");if("CSHAKE128"===i.s||"CSHAKE256"===i.s)throw new Error("Cannot set numRounds for CSHAKE variants")}switch(i.K=1,i.m=v(i.t,i.i,i.K),i.R=dt,i.g=ft,i.B=pt,i.C=pt(),i.v=!1,t){case"SHA3-224":i.p=s=1152,i.U=224,i.L=!0,i.T=i.k;break;case"SHA3-256":i.p=s=1088,i.U=256,i.L=!0,i.T=i.k;break;case"SHA3-384":i.p=s=832,i.U=384,i.L=!0,i.T=i.k;break;case"SHA3-512":i.p=s=576,i.U=512,i.L=!0,i.T=i.k;break;case"SHAKE128":a=31,i.p=s=1344,i.U=-1,i.v=!0,i.L=!1,i.T=null;break;case"SHAKE256":a=31,i.p=s=1088,i.U=-1,i.v=!0,i.L=!1,i.T=null;break;case"KMAC128":a=4,i.p=s=1344,i.I(o),i.U=-1,i.v=!0,i.L=!1,i.T=i.X;break;case"KMAC256":a=4,i.p=s=1088,i.I(o),i.U=-1,i.v=!0,i.L=!1,i.T=i.X;break;case"CSHAKE128":i.p=s=1344,a=i._(o),i.U=-1,i.v=!0,i.L=!1,i.T=null;break;case"CSHAKE256":i.p=s=1088,a=i._(o),i.U=-1,i.v=!0,i.L=!1,i.T=null;break;default:throw new Error(_)}return i.F=function(t,e,n,r,o){return function(t,e,n,r,o,i,a){var s,c,u=0,l=[],p=o>>>5,f=e>>>5;for(s=0;s<f&&e>=o;s+=p)r=dt(t.slice(s,s+p),r),e-=o;for(t=t.slice(s),e%=o;t.length<p;)t.push(0);for(t[(s=e>>>3)>>2]^=i<<s%4*8,t[p-1]^=2147483648,r=dt(t,r);32*l.length<a&&(c=r[u%5][u/5|0],l.push(c.N),!(32*l.length>=a));)l.push(c.Y),0==64*(u+=1)%o&&(dt(null,r),u=0);return l}(t,e,0,r,s,a,o)},c.hmacKey&&i.M(E("hmacKey",c.hmacKey,i.K)),i}return h(n,[{key:"_",value:function(t,e){var n=function(t){var e=t||{};return{funcName:E("funcName",e.funcName,1,{value:[],binLen:0}),customization:E("Customization",e.customization,1,{value:[],binLen:0})}}(t||{});e&&(n.funcName=e);var r=A(mt(n.funcName),mt(n.customization));if(0!==n.customization.binLen||0!==n.funcName.binLen){for(var o=gt(r,this.p>>>3),i=0;i<o.length;i+=this.p>>>5)this.C=this.R(o.slice(i,i+(this.p>>>5)),this.C),this.l+=this.p;return 4}return 31}},{key:"I",value:function(t){var e=function(t){var e=t||{};return{kmacKey:E("kmacKey",e.kmacKey,1),funcName:{value:[1128353099],binLen:32},customization:E("Customization",e.customization,1,{value:[],binLen:0})}}(t||{});this._(t,e.funcName);for(var n=gt(mt(e.kmacKey),this.p>>>3),r=0;r<n.length;r+=this.p>>>5)this.C=this.R(n.slice(r,r+(this.p>>>5)),this.C),this.l+=this.p;this.A=!0}},{key:"X",value:function(t){var e=A({value:this.o.slice(),binLen:this.h},function(t){var e,n,r=0,o=[0,0],i=[4294967295&t,t/4294967296&2097151];for(e=6;e>=0;e--)0==(n=i[e>>2]>>>8*e&255)&&0===r||(o[r>>2]|=n<<8*r,r+=1);return o[(r=0!==r?r:1)>>2]|=r<<8*r,{value:r+1>4?o:[o[0]],binLen:8+8*r}}(t.outputLen));return this.F(e.value,e.binLen,this.l,this.g(this.C),t.outputLen)}}]),n}(S),yt=function(){function t(e,n,r){if(f(this,t),"SHA-1"==e)this.O=new G(e,n,r);else if("SHA-224"==e||"SHA-256"==e)this.O=new H(e,n,r);else if("SHA-384"==e||"SHA-512"==e)this.O=new ct(e,n,r);else{if("SHA3-224"!=e&&"SHA3-256"!=e&&"SHA3-384"!=e&&"SHA3-512"!=e&&"SHAKE128"!=e&&"SHAKE256"!=e&&"CSHAKE128"!=e&&"CSHAKE256"!=e&&"KMAC128"!=e&&"KMAC256"!=e)throw new Error(_);this.O=new vt(e,n,r)}}return h(t,[{key:"update",value:function(t){this.O.update(t)}},{key:"getHash",value:function(t,e){return this.O.getHash(t,e)}},{key:"setHMACKey",value:function(t,e,n){this.O.setHMACKey(t,e,n)}},{key:"getHMAC",value:function(t,e){return this.O.getHMAC(t,e)}}]),t}(),bt="function"==typeof atob,wt="function"==typeof btoa,xt="function"==typeof Buffer,_t="function"==typeof TextDecoder?new TextDecoder:void 0,At="function"==typeof TextEncoder?new TextEncoder:void 0,kt=Array.prototype.slice.call("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="),Et=function(t){var e={};return t.forEach((function(t,n){return e[t]=n})),e}(kt),St=/^(?:[A-Za-z\d+\/]{4})*?(?:[A-Za-z\d+\/]{2}(?:==)?|[A-Za-z\d+\/]{3}=?)?$/,Tt=String.fromCharCode.bind(String),Ct="function"==typeof Uint8Array.from?Uint8Array.from.bind(Uint8Array):function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(t){return t};return new Uint8Array(Array.prototype.slice.call(t,0).map(e))},Pt=function(t){return t.replace(/=/g,"").replace(/[+\/]/g,(function(t){return"+"==t?"-":"_"}))},Ot=function(t){return t.replace(/[^A-Za-z0-9\+\/]/g,"")},Lt=function(t){for(var e,n,r,o,i="",a=t.length%3,s=0;s<t.length;){if((n=t.charCodeAt(s++))>255||(r=t.charCodeAt(s++))>255||(o=t.charCodeAt(s++))>255)throw new TypeError("invalid character found");i+=kt[(e=n<<16|r<<8|o)>>18&63]+kt[e>>12&63]+kt[e>>6&63]+kt[63&e]}return a?i.slice(0,a-3)+"===".substring(a):i},Mt=wt?function(t){return btoa(t)}:xt?function(t){return Buffer.from(t,"binary").toString("base64")}:Lt,Rt=xt?function(t){return Buffer.from(t).toString("base64")}:function(t){for(var e=[],n=0,r=t.length;n<r;n+=4096)e.push(Tt.apply(null,t.subarray(n,n+4096)));return Mt(e.join(""))},It=function(t){return arguments.length>1&&void 0!==arguments[1]&&arguments[1]?Pt(Rt(t)):Rt(t)},jt=function(t){if(t.length<2)return(e=t.charCodeAt(0))<128?t:e<2048?Tt(192|e>>>6)+Tt(128|63&e):Tt(224|e>>>12&15)+Tt(128|e>>>6&63)+Tt(128|63&e);var e=65536+1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320);return Tt(240|e>>>18&7)+Tt(128|e>>>12&63)+Tt(128|e>>>6&63)+Tt(128|63&e)},Dt=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,Bt=function(t){return t.replace(Dt,jt)},Nt=xt?function(t){return Buffer.from(t,"utf8").toString("base64")}:At?function(t){return Rt(At.encode(t))}:function(t){return Mt(Bt(t))},Ut=function(t){return arguments.length>1&&void 0!==arguments[1]&&arguments[1]?Pt(Nt(t)):Nt(t)},$t=function(t){return Ut(t,!0)},Ft=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,Gt=function(t){switch(t.length){case 4:var e=((7&t.charCodeAt(0))<<18|(63&t.charCodeAt(1))<<12|(63&t.charCodeAt(2))<<6|63&t.charCodeAt(3))-65536;return Tt(55296+(e>>>10))+Tt(56320+(1023&e));case 3:return Tt((15&t.charCodeAt(0))<<12|(63&t.charCodeAt(1))<<6|63&t.charCodeAt(2));default:return Tt((31&t.charCodeAt(0))<<6|63&t.charCodeAt(1))}},qt=function(t){return t.replace(Ft,Gt)},Kt=function(t){if(t=t.replace(/\s+/g,""),!St.test(t))throw new TypeError("malformed base64.");t+="==".slice(2-(3&t.length));for(var e,n,r,o="",i=0;i<t.length;)e=Et[t.charAt(i++)]<<18|Et[t.charAt(i++)]<<12|(n=Et[t.charAt(i++)])<<6|(r=Et[t.charAt(i++)]),o+=64===n?Tt(e>>16&255):64===r?Tt(e>>16&255,e>>8&255):Tt(e>>16&255,e>>8&255,255&e);return o},Ht=bt?function(t){return atob(Ot(t))}:xt?function(t){return Buffer.from(t,"base64").toString("binary")}:Kt,Vt=xt?function(t){return Ct(Buffer.from(t,"base64"))}:function(t){return Ct(Ht(t),(function(t){return t.charCodeAt(0)}))},zt=function(t){return Vt(Xt(t))},Wt=xt?function(t){return Buffer.from(t,"base64").toString("utf8")}:_t?function(t){return _t.decode(Vt(t))}:function(t){return qt(Ht(t))},Xt=function(t){return Ot(t.replace(/[-_]/g,(function(t){return"-"==t?"+":"/"})))},Yt=function(t){return Wt(Xt(t))},Zt=function(t){return{value:t,enumerable:!1,writable:!0,configurable:!0}},Qt=function(){var t=function(t,e){return Object.defineProperty(String.prototype,t,Zt(e))};t("fromBase64",(function(){return Yt(this)})),t("toBase64",(function(t){return Ut(this,t)})),t("toBase64URI",(function(){return Ut(this,!0)})),t("toBase64URL",(function(){return Ut(this,!0)})),t("toUint8Array",(function(){return zt(this)}))},Jt=function(){var t=function(t,e){return Object.defineProperty(Uint8Array.prototype,t,Zt(e))};t("toBase64",(function(t){return It(this,t)})),t("toBase64URI",(function(){return It(this,!0)})),t("toBase64URL",(function(){return It(this,!0)}))},te={version:"3.7.2",VERSION:"3.7.2",atob:Ht,atobPolyfill:Kt,btoa:Mt,btoaPolyfill:Lt,fromBase64:Yt,toBase64:Ut,encode:Ut,encodeURI:$t,encodeURL:$t,utob:Bt,btou:qt,decode:Yt,isValid:function(t){if("string"!=typeof t)return!1;var e=t.replace(/\s+/g,"").replace(/={0,2}$/,"");return!/[^\s0-9a-zA-Z\+/]/.test(e)||!/[^\s0-9a-zA-Z\-_]/.test(e)},fromUint8Array:It,toUint8Array:zt,extendString:Qt,extendUint8Array:Jt,extendBuiltins:function(){Qt(),Jt()}},ee=o(5917),ne=o.n(ee),re=new function(){var t=function t(e){var n={};if(1===e.nodeType){if(e.attributes.length>0){n["@attributes"]={};for(var r=0;r<e.attributes.length;r++){var o=e.attributes.item(r);n["@attributes"][o.nodeName]=o.value}}}else 3===e.nodeType&&(n=e.nodeValue);if(e.hasChildNodes())for(var i=0;i<e.childNodes.length;i++){var a=e.childNodes.item(i),s=a.nodeName;if(void 0===n[s])n[s]=t(a);else{if(void 0===n[s].push){var c=n[s];n[s]=[],n[s].push(c)}n[s].push(t(a))}}return n};this.parseString=function(e,n){var r;window.DOMParser?r=(new window.DOMParser).parseFromString(e,"text/xml"):(r=new window.ActiveXObject("Microsoft.XMLDOM")).async="false";var o,i,a=(o=t(r),-1===(i=JSON.stringify(o,void 0,2).replace(/(\\t|\\r|\\n)/g,"").replace(/"",[\n\t\r\s]+""[,]*/g,"").replace(/(\n[\t\s\r]*\n)/g,"").replace(/[\s\t]{2,}""[,]{0,1}/g,"").replace(/"[\s\t]{1,}"[,]{0,1}/g,"")).indexOf('"parsererror": {')?i:"Invalid XML format");return void 0===n?JSON.parse(a):a}},oe={type:"object",location:"xml",sentAs:"Owner",parameters:{ID:{sentAs:"ID"}}},ie={type:"object",location:"xml",sentAs:"Initiator",parameters:{ID:{sentAs:"ID"}}},ae={sentAs:"BackToSourceRule",required:!0,location:"xml",type:"array",items:{type:"object",parameters:{ID:{sentAs:"ID"},Condition:{sentAs:"Condition",type:"object",parameters:{ObjectKeyPrefixEquals:{sentAs:"ObjectKeyPrefixEquals"},HttpErrorCodeReturnedEquals:{sentAs:"HttpErrorCodeReturnedEquals"}}},Redirect:{sentAs:"Redirect",type:"object",parameters:{HttpRedirectCode:{sentAs:"HttpRedirectCode"},SourceEndpoint:{sentAs:"SourceEndpoint"},SourceBucketName:{sentAs:"SourceBucketName"},ReplaceKeyWith:{sentAs:"ReplaceKeyWith"},StaticUri:{sentAs:"StaticUri"},ReplaceKeyPrefixWith:{sentAs:"ReplaceKeyPrefixWith"},MigrationConfiguration:{sentAs:"MigrationConfiguration",type:"object",parameters:{Agency:{sentAs:"Agency"},LogBucketName:{sentAs:"LogBucketName"},PrivateBucketConfiguration:{sentAs:"PrivateBucketConfiguration",type:"object",parameters:{SourceStorageProvider:{sentAs:"SourceStorageProvider"},SourceBucketAK:{sentAs:"SourceBucketAK"},SourceBucketSK:{sentAs:"SourceBucketSK"},SourceBucketZone:{sentAs:"SourceBucketZone"}}}}}}}}}},se={type:"array",location:"xml",sentAs:"CommonPrefixes",items:{type:"object",parameters:{Prefix:{decode:!0,sentAs:"Prefix"},MTime:{sentAs:"MTime"},InodeNo:{sentAs:"InodeNo"}}}},ce={type:"array",location:"xml",wrapper:"AccessControlList",sentAs:"Grant",items:{type:"object",parameters:{Grantee:{type:"object",sentAs:"Grantee",parameters:{Type:{type:"ignore"},ID:{sentAs:"ID",notAllowEmpty:!0},URI:{sentAs:"Canned",type:"adapter",notAllowEmpty:!0}}},Permission:{sentAs:"Permission"},Delivered:{sentAs:"Delivered"}}}},ue={type:"object",location:"xml",sentAs:"LoggingEnabled",parameters:{TargetBucket:{sentAs:"TargetBucket"},TargetPrefix:{sentAs:"TargetPrefix"},TargetGrants:{type:"array",wrapper:"TargetGrants",sentAs:"Grant",items:{type:"object",parameters:{Grantee:{type:"object",sentAs:"Grantee",parameters:{Type:{type:"ignore"},ID:{sentAs:"ID"},URI:{sentAs:"Canned",type:"adapter"}}},Permission:{sentAs:"Permission"}}}}}},le={required:!0,type:"array",location:"xml",sentAs:"Rule",items:{type:"object",parameters:{ID:{sentAs:"ID"},Prefix:{sentAs:"Prefix"},Status:{sentAs:"Status"},Transitions:{type:"array",sentAs:"Transition",items:{type:"object",parameters:{StorageClass:{sentAs:"StorageClass",type:"adapter"},Date:{sentAs:"Date"},Days:{type:"number",sentAs:"Days"}}}},Expiration:{type:"object",sentAs:"Expiration",parameters:{Date:{sentAs:"Date"},Days:{type:"number",sentAs:"Days"}}},AbortIncompleteMultipartUpload:{type:"object",sentAs:"AbortIncompleteMultipartUpload",parameters:{DaysAfterInitiation:{type:"number",sentAs:"DaysAfterInitiation"}}},NoncurrentVersionTransitions:{type:"array",sentAs:"NoncurrentVersionTransition",items:{type:"object",parameters:{StorageClass:{sentAs:"StorageClass",type:"adapter"},NoncurrentDays:{type:"number",sentAs:"NoncurrentDays"}}}},NoncurrentVersionExpiration:{type:"object",sentAs:"NoncurrentVersionExpiration",parameters:{NoncurrentDays:{type:"number",sentAs:"NoncurrentDays"}}}}}},pe={type:"object",location:"xml",sentAs:"RedirectAllRequestsTo",parameters:{HostName:{sentAs:"HostName"},Protocol:{sentAs:"Protocol"}}},fe={type:"array",wrapper:"RoutingRules",location:"xml",sentAs:"RoutingRule",items:{type:"object",parameters:{Condition:{type:"object",sentAs:"Condition",parameters:{HttpErrorCodeReturnedEquals:{sentAs:"HttpErrorCodeReturnedEquals"},KeyPrefixEquals:{sentAs:"KeyPrefixEquals"}}},Redirect:{type:"object",sentAs:"Redirect",parameters:{HostName:{sentAs:"HostName"},HttpRedirectCode:{sentAs:"HttpRedirectCode"},Protocol:{sentAs:"Protocol"},ReplaceKeyPrefixWith:{sentAs:"ReplaceKeyPrefixWith"},ReplaceKeyWith:{sentAs:"ReplaceKeyWith"}}}}}},de={type:"object",location:"xml",sentAs:"IndexDocument",parameters:{Suffix:{sentAs:"Suffix"}}},he={type:"object",location:"xml",sentAs:"ErrorDocument",parameters:{Key:{sentAs:"Key"}}},me={required:!0,type:"array",location:"xml",sentAs:"CORSRule",items:{type:"object",parameters:{ID:{sentAs:"ID"},AllowedMethod:{type:"array",sentAs:"AllowedMethod",items:{type:"string"}},AllowedOrigin:{type:"array",sentAs:"AllowedOrigin",items:{type:"string"}},AllowedHeader:{type:"array",sentAs:"AllowedHeader",items:{type:"string"}},MaxAgeSeconds:{type:"number",sentAs:"MaxAgeSeconds"},ExposeHeader:{type:"array",sentAs:"ExposeHeader",items:{type:"string"}}}}},ge={type:"array",location:"xml",sentAs:"FunctionGraphConfiguration",items:{type:"object",location:"xml",parameters:{ID:{sentAs:"Id"},Filter:{type:"object",parameters:{FilterRules:{wrapper:"Object",type:"array",sentAs:"FilterRule",items:{type:"object",parameters:{Name:{},Value:{}}}}}},FunctionGraph:{},Event:{type:"array",items:{type:"adapter"}}}}},ve={type:"array",location:"xml",sentAs:"TopicConfiguration",items:{type:"object",location:"xml",parameters:{ID:{sentAs:"Id"},Filter:{type:"object",parameters:{FilterRules:{wrapper:"Object",type:"array",sentAs:"FilterRule",items:{type:"object",parameters:{Name:{},Value:{}}}}}},Topic:{},Event:{type:"array",items:{type:"adapter"}}}}},ye={type:"array",location:"xml",sentAs:"FunctionStageConfiguration",items:{type:"object",location:"xml",parameters:{ID:{sentAs:"Id"},Filter:{type:"object",parameters:{FilterRules:{wrapper:"Object",type:"array",sentAs:"FilterRule",items:{type:"object",parameters:{Name:{},Value:{}}}}}},FunctionStage:{},Event:{type:"array",items:{type:"adapter"}}}}},be={required:!0,type:"array",location:"xml",wrapper:"TagSet",sentAs:"Tag",items:{type:"object",parameters:{Key:{sentAs:"Key"},Value:{sentAs:"Value"}}}},we={required:!0,type:"array",location:"xml",sentAs:"Rule",items:{type:"object",parameters:{ID:{sentAs:"ID"},Prefix:{sentAs:"Prefix"},Status:{sentAs:"Status"},Destination:{type:"object",sentAs:"Destination",parameters:{Bucket:{sentAs:"Bucket",type:"adapter"},StorageClass:{sentAs:"StorageClass",type:"adapter"},DeleteData:{sentAs:"DeleteData",type:"string"}}},HistoricalObjectReplication:{sentAs:"HistoricalObjectReplication"}}}},xe={type:"object",location:"xml",sentAs:"Rule",parameters:{ApplyServerSideEncryptionByDefault:{type:"object",sentAs:"ApplyServerSideEncryptionByDefault",parameters:{SSEAlgorithm:{sentAs:"SSEAlgorithm"},KMSMasterKeyID:{sentAs:"KMSMasterKeyID"},ProjectID:{sentAs:"ProjectID"}}}}},_e={type:"object",location:"xml",sentAs:"InventoryConfiguration",parameters:{Id:{sentAs:"Id"},IsEnabled:{sentAs:"IsEnabled"},Filter:{type:"object",sentAs:"Filter",parameters:{Prefix:{sentAs:"Prefix"}}},Destination:{type:"object",sentAs:"Destination",parameters:{Format:{sentAs:"Format"},Bucket:{sentAs:"Bucket"},Prefix:{sentAs:"Prefix"},Encryption:{type:"object",sentAs:"Encryption",parameters:{"SSE-KMS":{type:"object",sentAs:"SSE-KMS",parameters:{KeyId:{sentAs:"KeyId",type:"adapter"}}}}}}},Schedule:{type:"object",sentAs:"Schedule",parameters:{Frequency:{sentAs:"Frequency"}}},IncludedObjectVersions:{sentAs:"IncludedObjectVersions"},OptionalFields:{type:"object",location:"xml",sentAs:"OptionalFields",parameters:{Field:{type:"array",sentAs:"Field",items:{type:"string"}}}}}},Ae={HeadBucket:{httpMethod:"HEAD",parameters:{Bucket:{required:!0,location:"uri"}}},HeadApiVersion:{httpMethod:"HEAD",urlPath:"apiversion",parameters:{Bucket:{location:"uri"}}},HeadApiVersionOutput:{parameters:{ApiVersion:{location:"header",sentAs:"x-obs-api"}}},CreateBucket:{httpMethod:"PUT",data:{xmlRoot:"CreateBucketConfiguration"},parameters:{Bucket:{required:!0,location:"uri"},ACL:{location:"header",sentAs:"acl",withPrefix:!0},StorageType:{location:"header",sentAs:"storage-class",withPrefix:!0},FileInterface:{location:"header",sentAs:"fs-file-interface",withPrefix:!0},Type:{location:"header",sentAs:"bucket-type",withPrefix:!0},MultiAz:{location:"header",sentAs:"az-redundancy",withPrefix:!0},Cluster:{location:"header",sentAs:"location-clustergroup-id",withPrefix:!0},GrantFullControl:{location:"header",sentAs:"grant-full-control",withPrefix:!0},GrantRead:{location:"header",sentAs:"grant-read",withPrefix:!0},GrantReadACP:{location:"header",sentAs:"grant-read-acp",withPrefix:!0},GrantWrite:{location:"header",sentAs:"grant-write",withPrefix:!0},GrantWriteACP:{location:"header",sentAs:"grant-write-acp",withPrefix:!0},ClusterType:{location:"header",sentAs:"cluster-type",withPrefix:!0},MultiEnterprise:{location:"header",sentAs:"epid",withPrefix:!0},Location:{location:"xml",sentAs:"Location"}}},GetBucketMetadata:{httpMethod:"HEAD",parameters:{Bucket:{required:!0,location:"uri"},Origin:{location:"header",sentAs:"Origin"},RequestHeader:{location:"header",sentAs:"Access-Control-Request-Headers"}}},GetBucketMetadataOutput:{parameters:{StorageClass:{location:"header",sentAs:"storage-class",withPrefix:!0},ObsVersion:{location:"header",sentAs:"version",withPrefix:!0},Location:{location:"header",sentAs:"bucket-location",withPrefix:!0},FileInterface:{location:"header",sentAs:"fs-file-interface",withPrefix:!0},Type:{location:"header",sentAs:"bucket-type",withPrefix:!0},MultiAz:{location:"header",sentAs:"az-redundancy",withPrefix:!0},Cluster:{location:"header",sentAs:"location-clustergroup-id",withPrefix:!0},MultiEnterprise:{location:"header",sentAs:"epid",withPrefix:!0},ClusterType:{location:"header",sentAs:"cluster-type",withPrefix:!0},AllowOrigin:{location:"header",sentAs:"access-control-allow-origin"},MaxAgeSeconds:{location:"header",sentAs:"access-control-max-age"},ExposeHeader:{location:"header",sentAs:"access-control-expose-headers"},AllowMethod:{location:"header",sentAs:"access-control-allow-methods"},AllowHeader:{location:"header",sentAs:"access-control-allow-headers"}}},DeleteBucket:{httpMethod:"DELETE",parameters:{Bucket:{required:!0,location:"uri"}}},ListBuckets:{httpMethod:"GET",parameters:{Type:{sentAs:"x-obs-bucket-type",location:"header"},Location:{sentAs:"location",location:"header",withPrefix:!0}}},ListBucketsOutput:{data:{type:"xml",xmlRoot:"ListAllMyBucketsResult"},parameters:{Buckets:{location:"xml",sentAs:"Bucket",type:"array",wrapper:"Buckets",items:{type:"object",location:"xml",sentAs:"Bucket",parameters:{Name:{sentAs:"Name"},CreationDate:{sentAs:"CreationDate"},Location:{sentAs:"Location"},ClusterType:{sentAs:"ClusterType"}}}},Owner:{type:"object",location:"xml",sentAs:"Owner",parameters:{ID:{sentAs:"ID"},DisplayName:{sentAs:"DisplayName"}}}}},ListObjects:{httpMethod:"GET",parameters:{Bucket:{required:!0,location:"uri"},Prefix:{location:"urlPath",sentAs:"prefix"},Marker:{location:"urlPath",sentAs:"marker"},MaxKeys:{type:"number",location:"urlPath",sentAs:"max-keys"},Delimiter:{location:"urlPath",sentAs:"delimiter"},EncodingType:{location:"urlPath",sentAs:"encoding-type"}}},ListObjectsOutput:{data:{type:"xml",xmlRoot:"ListBucketResult"},parameters:{Location:{location:"header",sentAs:"bucket-location",withPrefix:!0},Bucket:{location:"xml",sentAs:"Name"},Delimiter:{decode:!0,location:"xml",sentAs:"Delimiter"},IsTruncated:{location:"xml",sentAs:"IsTruncated"},Prefix:{decode:!0,location:"xml",sentAs:"Prefix"},Marker:{decode:!0,location:"xml",sentAs:"Marker"},NextMarker:{decode:!0,location:"xml",sentAs:"NextMarker"},MaxKeys:{location:"xml",sentAs:"MaxKeys"},EncodingType:{location:"xml",sentAs:"EncodingType"},Contents:{type:"array",location:"xml",sentAs:"Contents",items:{type:"object",parameters:{Key:{decode:!0,sentAs:"Key"},LastModified:{sentAs:"LastModified"},ETag:{sentAs:"ETag"},Size:{sentAs:"Size"},Type:{sentAs:"Type"},StorageClass:{sentAs:"StorageClass"},Owner:oe}}},CommonPrefixes:se}},ListVersions:{httpMethod:"GET",urlPath:"versions",parameters:{Bucket:{required:!0,location:"uri"},Prefix:{location:"urlPath",sentAs:"prefix"},KeyMarker:{location:"urlPath",sentAs:"key-marker"},MaxKeys:{type:"number",location:"urlPath",sentAs:"max-keys"},Delimiter:{location:"urlPath",sentAs:"delimiter"},VersionIdMarker:{location:"urlPath",sentAs:"version-id-marker"},EncodingType:{location:"urlPath",sentAs:"encoding-type"}}},ListVersionsOutput:{data:{type:"xml",xmlRoot:"ListVersionsResult"},parameters:{EncodingType:{location:"xml",sentAs:"EncodingType"},Location:{location:"header",sentAs:"bucket-location",withPrefix:!0},Bucket:{location:"xml",sentAs:"Name"},Prefix:{decode:!0,location:"xml",sentAs:"Prefix"},Delimiter:{decode:!0,location:"xml",sentAs:"Delimiter"},KeyMarker:{decode:!0,location:"xml",sentAs:"KeyMarker"},VersionIdMarker:{location:"xml",sentAs:"VersionIdMarker"},NextKeyMarker:{decode:!0,location:"xml",sentAs:"NextKeyMarker"},NextVersionIdMarker:{location:"xml",sentAs:"NextVersionIdMarker"},MaxKeys:{location:"xml",sentAs:"MaxKeys"},IsTruncated:{location:"xml",sentAs:"IsTruncated"},Versions:{type:"array",location:"xml",sentAs:"Version",items:{type:"object",parameters:{Key:{decode:!0,sentAs:"Key"},VersionId:{sentAs:"VersionId"},IsLatest:{sentAs:"IsLatest"},LastModified:{sentAs:"LastModified"},ETag:{sentAs:"ETag"},Size:{sentAs:"Size"},Type:{sentAs:"Type"},Owner:oe,StorageClass:{sentAs:"StorageClass"}}}},DeleteMarkers:{type:"array",location:"xml",sentAs:"DeleteMarker",items:{type:"object",parameters:{Key:{decode:!0,sentAs:"Key"},VersionId:{sentAs:"VersionId"},IsLatest:{sentAs:"IsLatest"},LastModified:{sentAs:"LastModified"},Owner:oe}}},CommonPrefixes:se}},PutBackToSource:{httpMethod:"PUT",data:{xmlRoot:"BackToSourceConfiguration"},urlPath:"backtosource",parameters:{Bucket:{required:!0,location:"uri"},BackToSourceRules:ae,ContentMD5:{location:"header",sentAs:"Content-MD5"}}},DeleteBackToSource:{httpMethod:"DELETE",urlPath:"backtosource",parameters:{Bucket:{required:!0,location:"uri"}}},GetBackToSource:{httpMethod:"GET",urlPath:"backtosource",parameters:{Bucket:{required:!0,location:"uri"}}},GetBackToSourceOutput:{data:{type:"xml",xmlRoot:"BackToSourceConfiguration"},parameters:{BackToSourceRules:ae}},GetBucketLocation:{httpMethod:"GET",urlPath:"location",parameters:{Bucket:{required:!0,location:"uri"}}},GetBucketLocationOutput:{data:{type:"xml"},parameters:{Location:{location:"xml",sentAs:"Location"}}},GetBucketStorageInfo:{httpMethod:"GET",urlPath:"storageinfo",parameters:{Bucket:{required:!0,location:"uri"}}},GetBucketStorageInfoOutput:{data:{type:"xml",xmlRoot:"GetBucketStorageInfoResult"},parameters:{Size:{location:"xml",sentAs:"Size"},ObjectNumber:{location:"xml",sentAs:"ObjectNumber"}}},SetBucketQuota:{httpMethod:"PUT",urlPath:"quota",data:{xmlRoot:"Quota"},parameters:{Bucket:{required:!0,location:"uri"},StorageQuota:{required:!0,location:"xml",sentAs:"StorageQuota"}}},GetBucketQuota:{httpMethod:"GET",urlPath:"quota",parameters:{Bucket:{required:!0,location:"uri"}}},GetBucketQuotaOutput:{data:{type:"xml",xmlRoot:"Quota"},parameters:{StorageQuota:{location:"xml",sentAs:"StorageQuota"}}},SetBucketAcl:{httpMethod:"PUT",urlPath:"acl",data:{xmlRoot:"AccessControlPolicy"},parameters:{Bucket:{required:!0,location:"uri"},ACL:{location:"header",sentAs:"acl",withPrefix:!0,type:"adapter"},Owner:oe,Grants:ce}},GetBucketInventory:{httpMethod:"GET",urlPath:"inventory",parameters:{Bucket:{required:!0,location:"uri"}}},GetBucketInventoryOutput:{data:{type:"xml",xmlRoot:"ListInventoryConfiguration"},parameters:{Rules:{type:"array",location:"xml",sentAs:"InventoryConfiguration",items:{type:"object",parameters:{Id:{sentAs:"Id"},IsEnabled:{sentAs:"IsEnabled"},Filter:{type:"object",sentAs:"Filter",parameters:{Prefix:{sentAs:"Prefix"}}},Destination:{type:"object",sentAs:"Destination",parameters:{Format:{sentAs:"Format"},Bucket:{sentAs:"Bucket"},Prefix:{sentAs:"Prefix"}}},Schedule:{type:"object",sentAs:"Schedule",parameters:{Frequency:{sentAs:"Frequency"}}},IncludedObjectVersions:{sentAs:"IncludedObjectVersions"},OptionalFields:{type:"object",location:"xml",sentAs:"OptionalFields",parameters:{Field:{type:"array",sentAs:"Field",items:{type:"string"}}}},LastExportTime:{sentAs:"LastExportTime"}}}}}},SetBucketInventory:{httpMethod:"PUT",urlPath:"inventory",parameters:{Bucket:{required:!0,location:"uri"},Id:{location:"urlPath",sentAs:"id"},InventoryConfiguration:_e}},SetBucketInventoryOutput:{data:{type:"xml",xmlRoot:"InventoryConfiguration"},parameters:{InventoryConfiguration:_e}},DeleteBucketInventory:{httpMethod:"DELETE",urlPath:"inventory",parameters:{Bucket:{required:!0,location:"uri"},Id:{location:"urlPath",sentAs:"id"}}},DeleteBucketInventoryOutput:{data:{type:"xml",xmlRoot:"InventoryConfiguration"},parameters:{InventoryConfiguration:_e}},GetBucketAcl:{httpMethod:"GET",urlPath:"acl",parameters:{Bucket:{required:!0,location:"uri"}}},GetBucketAclOutput:{data:{type:"xml",xmlRoot:"AccessControlPolicy"},parameters:{Owner:oe,Grants:ce}},SetBucketLoggingConfiguration:{httpMethod:"PUT",urlPath:"logging",data:{xmlRoot:"BucketLoggingStatus",xmlAllowEmpty:!0},parameters:{Bucket:{required:!0,location:"uri"},Agency:{location:"xml",sentAs:"Agency"},LoggingEnabled:ue}},GetBucketLoggingConfiguration:{httpMethod:"GET",urlPath:"logging",parameters:{Bucket:{required:!0,location:"uri"}}},GetBucketLoggingConfigurationOutput:{data:{type:"xml",xmlRoot:"BucketLoggingStatus"},parameters:{Agency:{location:"xml",sentAs:"Agency"},LoggingEnabled:ue}},SetSFSAcl:{httpMethod:"PUT",urlPath:"sfsacl",parameters:{Bucket:{required:!0,location:"uri"},Policy:{required:!0,location:"body"}}},GetSFSAcl:{httpMethod:"GET",urlPath:"sfsacl",parameters:{Bucket:{required:!0,location:"uri"}}},GetSFSAclOutput:{data:{type:"body"},parameters:{Policy:{location:"body"}}},DeleteSFSAcl:{httpMethod:"DELETE",urlPath:"sfsacl",parameters:{Bucket:{required:!0,location:"uri"}}},SetBucketPolicy:{httpMethod:"PUT",urlPath:"policy",parameters:{Bucket:{required:!0,location:"uri"},Policy:{required:!0,location:"body"}}},GetBucketPolicy:{httpMethod:"GET",urlPath:"policy",parameters:{Bucket:{required:!0,location:"uri"}}},GetBucketPolicyOutput:{data:{type:"body"},parameters:{Policy:{location:"body"}}},DeleteBucketPolicy:{httpMethod:"DELETE",urlPath:"policy",parameters:{Bucket:{required:!0,location:"uri"}}},SetBucketDisPolicy:{httpMethod:"PUT",urlPath:"disPolicy",parameters:{Bucket:{required:!0,location:"uri"},ApiPath:{location:"uri"},Rules:{required:!0,location:"body"}}},GetBucketDisPolicy:{httpMethod:"GET",urlPath:"disPolicy",parameters:{Bucket:{required:!0,location:"uri"},ApiPath:{location:"uri"},ContentType:{location:"header",sentAs:"Content-Type"}}},GetBucketDisPolicyOutput:{data:{type:"body"},parameters:{Rules:{location:"body"}}},DeleteBucketDisPolicy:{httpMethod:"DELETE",urlPath:"disPolicy",parameters:{Bucket:{required:!0,location:"uri"},ApiPath:{location:"uri"}}},SetBucketLifecycleConfiguration:{httpMethod:"PUT",urlPath:"lifecycle",data:{xmlRoot:"LifecycleConfiguration",md5:!0},parameters:{Bucket:{required:!0,location:"uri"},Rules:le}},GetBucketLifecycleConfiguration:{httpMethod:"GET",urlPath:"lifecycle",parameters:{Bucket:{required:!0,location:"uri"}}},GetBucketLifecycleConfigurationOutput:{data:{type:"xml",xmlRoot:"LifecycleConfiguration"},parameters:{Rules:le}},DeleteBucketLifecycleConfiguration:{httpMethod:"DELETE",urlPath:"lifecycle",parameters:{Bucket:{required:!0,location:"uri"}}},SetBucketWebsiteConfiguration:{httpMethod:"PUT",urlPath:"website",data:{xmlRoot:"WebsiteConfiguration"},parameters:{Bucket:{required:!0,location:"uri"},RedirectAllRequestsTo:pe,IndexDocument:de,ErrorDocument:he,RoutingRules:fe}},GetBucketWebsiteConfiguration:{httpMethod:"GET",urlPath:"website",parameters:{Bucket:{required:!0,location:"uri"}}},GetBucketWebsiteConfigurationOutput:{data:{type:"xml",xmlRoot:"WebsiteConfiguration"},parameters:{RedirectAllRequestsTo:pe,IndexDocument:de,ErrorDocument:he,RoutingRules:fe}},DeleteBucketWebsiteConfiguration:{httpMethod:"DELETE",urlPath:"website",parameters:{Bucket:{required:!0,location:"uri"}}},SetBucketVersioningConfiguration:{httpMethod:"PUT",urlPath:"versioning",data:{xmlRoot:"VersioningConfiguration"},parameters:{Bucket:{required:!0,location:"uri"},VersionStatus:{required:!0,location:"xml",sentAs:"Status"}}},GetBucketVersioningConfiguration:{httpMethod:"GET",urlPath:"versioning",parameters:{Bucket:{required:!0,location:"uri"}}},GetBucketVersioningConfigurationOutput:{data:{type:"xml",xmlRoot:"VersioningConfiguration"},parameters:{VersionStatus:{location:"xml",sentAs:"Status"}}},SetBucketCors:{httpMethod:"PUT",urlPath:"cors",data:{xmlRoot:"CORSConfiguration",md5:!0},parameters:{Bucket:{required:!0,location:"uri"},CorsRules:me}},GetBucketCors:{httpMethod:"GET",urlPath:"cors",parameters:{Bucket:{required:!0,location:"uri"}}},GetBucketCorsOutput:{data:{type:"xml",xmlRoot:"CORSConfiguration"},parameters:{CorsRules:me}},DeleteBucketCors:{httpMethod:"DELETE",urlPath:"cors",parameters:{Bucket:{required:!0,location:"uri"}}},SetBucketNotification:{httpMethod:"PUT",urlPath:"notification",data:{xmlRoot:"NotificationConfiguration",xmlAllowEmpty:!0},parameters:{Bucket:{required:!0,location:"uri"},TopicConfigurations:ve,FunctionGraphConfigurations:ge,FunctionStageConfigurations:ye}},GetBucketNotification:{httpMethod:"GET",urlPath:"notification",parameters:{Bucket:{required:!0,location:"uri"}}},GetBucketNotificationOutput:{data:{type:"xml",xmlRoot:"NotificationConfiguration"},parameters:{RequestId:{location:"header",sentAs:"x-obs-request-id"},TopicConfigurations:ve,FunctionGraphConfigurations:ge,FunctionStageConfigurations:ye}},SetBucketTagging:{httpMethod:"PUT",urlPath:"tagging",data:{xmlRoot:"Tagging",md5:!0},parameters:{Bucket:{required:!0,location:"uri"},Tags:be}},DeleteBucketTagging:{httpMethod:"DELETE",urlPath:"tagging",parameters:{Bucket:{required:!0,location:"uri"}}},GetBucketTagging:{httpMethod:"GET",urlPath:"tagging",parameters:{Bucket:{required:!0,location:"uri"}}},GetBucketTaggingOutput:{data:{type:"xml",xmlRoot:"Tagging"},parameters:{Tags:be}},SetBucketStoragePolicy:{httpMethod:"PUT",urlPath:"storageClass",parameters:{Bucket:{required:!0,location:"uri"},StorageClass:{required:!0,location:"xml",type:"adapter",sentAs:"StorageClass"}}},GetBucketStoragePolicy:{httpMethod:"GET",urlPath:"storageClass",parameters:{Bucket:{required:!0,location:"uri"}}},GetBucketStoragePolicyOutput:{data:{type:"xml"},parameters:{StorageClass:{location:"xml",type:"string",sentAs:"StorageClass"}}},SetBucketReplication:{httpMethod:"PUT",urlPath:"replication",data:{xmlRoot:"ReplicationConfiguration",md5:!0},parameters:{Bucket:{required:!0,location:"uri"},Agency:{location:"xml",sentAs:"Agency"},Rules:we}},GetBucketReplication:{httpMethod:"GET",urlPath:"replication",parameters:{Bucket:{required:!0,location:"uri"}}},GetBucketReplicationOutput:{data:{type:"xml",xmlRoot:"ReplicationConfiguration"},parameters:{Agency:{location:"xml",sentAs:"Agency"},Rules:we}},DeleteBucketReplication:{httpMethod:"DELETE",urlPath:"replication",parameters:{Bucket:{required:!0,location:"uri"}}},PutObject:{httpMethod:"PUT",parameters:{Bucket:{required:!0,location:"uri"},Key:{required:!0,location:"uri"},ContentMD5:{location:"header",sentAs:"Content-MD5"},ContentType:{location:"header",sentAs:"Content-Type"},Offset:{type:"plain"},ContentLength:{location:"header",sentAs:"Content-Length",type:"plain"},ACL:{location:"header",sentAs:"acl",withPrefix:!0,type:"adapter"},GrantRead:{location:"header",sentAs:"grant-read",withPrefix:!0},GrantReadAcp:{location:"header",sentAs:"grant-read-acp",withPrefix:!0},GrantWriteAcp:{location:"header",sentAs:"grant-write-acp",withPrefix:!0},GrantFullControl:{location:"header",sentAs:"grant-full-control",withPrefix:!0},StorageClass:{location:"header",sentAs:"storage-class",withPrefix:!0,type:"adapter"},Metadata:{type:"object",location:"header",sentAs:"meta-",withPrefix:!0},CacheControl:{location:"header",sentAs:"Cache-Control"},ContentDisposition:{location:"header",sentAs:"Content-Disposition",encodingSafe:' ;/?:@&=+$,"'},ContentLanguage:{location:"header",sentAs:"Content-Language"},ContentEncoding:{location:"header",sentAs:"Content-Encoding"},WebsiteRedirectLocation:{location:"header",sentAs:"website-redirect-location",withPrefix:!0},Expires:{location:"header",sentAs:"expires",type:"number",withPrefix:!0},SuccessActionRedirect:{location:"header",sentAs:"success-action-redirect"},SseKms:{location:"header",sentAs:"server-side-encryption",withPrefix:!0,type:"adapter"},SseKmsKey:{location:"header",sentAs:"server-side-encryption-kms-key-id",withPrefix:!0},SseKmsProjectId:{location:"header",sentAs:"sse-kms-key-project-id",withPrefix:!0},SseC:{location:"header",sentAs:"server-side-encryption-customer-algorithm",withPrefix:!0},SseCKey:{location:"header",sentAs:"server-side-encryption-customer-key",type:"password",withPrefix:!0},Body:{location:"body"},SourceFile:{type:"srcFile"},ProgressCallback:{type:"plain"}}},PutObjectOutput:{parameters:{ETag:{location:"header",sentAs:"etag"},VersionId:{location:"header",sentAs:"version-id",withPrefix:!0},StorageClass:{location:"header",sentAs:"storage-class",withPrefix:!0},SseKms:{location:"header",sentAs:"server-side-encryption",withPrefix:!0},SseKmsKey:{location:"header",sentAs:"server-side-encryption-kms-key-id",withPrefix:!0},SseKmsProjectId:{location:"header",sentAs:"sse-kms-key-project-id",withPrefix:!0},SseC:{location:"header",sentAs:"server-side-encryption-customer-algorithm",withPrefix:!0},SseCKeyMd5:{location:"header",sentAs:"server-side-encryption-customer-key-MD5",withPrefix:!0}}},AppendObject:{httpMethod:"POST",urlPath:"append",parameters:{Bucket:{required:!0,location:"uri"},Key:{required:!0,location:"uri"},Position:{location:"urlPath",sentAs:"position",type:"number"},ContentMD5:{location:"header",sentAs:"Content-MD5"},ContentType:{location:"header",sentAs:"Content-Type"},Offset:{type:"plain"},ContentLength:{location:"header",sentAs:"Content-Length",type:"plain"},ACL:{location:"header",sentAs:"acl",withPrefix:!0,type:"adapter"},GrantRead:{location:"header",sentAs:"grant-read",withPrefix:!0},GrantReadAcp:{location:"header",sentAs:"grant-read-acp",withPrefix:!0},GrantWriteAcp:{location:"header",sentAs:"grant-write-acp",withPrefix:!0},GrantFullControl:{location:"header",sentAs:"grant-full-control",withPrefix:!0},StorageClass:{location:"header",sentAs:"storage-class",withPrefix:!0,type:"adapter"},Metadata:{type:"object",location:"header",sentAs:"meta-",withPrefix:!0},WebsiteRedirectLocation:{location:"header",sentAs:"website-redirect-location",withPrefix:!0},Expires:{location:"header",sentAs:"expires",type:"number",withPrefix:!0},SseKms:{location:"header",sentAs:"server-side-encryption",withPrefix:!0,type:"adapter"},SseKmsKey:{location:"header",sentAs:"server-side-encryption-kms-key-id",withPrefix:!0},SseC:{location:"header",sentAs:"server-side-encryption-customer-algorithm",withPrefix:!0},SseCKey:{location:"header",sentAs:"server-side-encryption-customer-key",type:"password",withPrefix:!0},Body:{location:"body"},SourceFile:{type:"srcFile"},ProgressCallback:{type:"plain"}}},AppendObjectOutput:{parameters:{ETag:{location:"header",sentAs:"etag"},NextPosition:{location:"header",sentAs:"next-append-position",withPrefix:!0},StorageClass:{location:"header",sentAs:"storage-class",withPrefix:!0},SseKms:{location:"header",sentAs:"server-side-encryption",withPrefix:!0},SseKmsKey:{location:"header",sentAs:"server-side-encryption-kms-key-id",withPrefix:!0},SseC:{location:"header",sentAs:"server-side-encryption-customer-algorithm",withPrefix:!0},SseCKeyMd5:{location:"header",sentAs:"server-side-encryption-customer-key-MD5",withPrefix:!0}}},GetObject:{httpMethod:"GET",parameters:{Bucket:{required:!0,location:"uri"},Key:{required:!0,location:"uri"},ResponseCacheControl:{location:"urlPath",sentAs:"response-cache-control"},ResponseContentDisposition:{location:"urlPath",sentAs:"response-content-disposition"},ResponseContentEncoding:{location:"urlPath",sentAs:"response-content-encoding"},ResponseContentLanguage:{location:"urlPath",sentAs:"response-content-language"},ResponseContentType:{location:"urlPath",sentAs:"response-content-type"},ResponseExpires:{location:"urlPath",sentAs:"response-expires"},VersionId:{location:"urlPath",sentAs:"versionId"},ImageProcess:{location:"urlPath",sentAs:"x-image-process"},IfMatch:{location:"header",sentAs:"If-Match"},IfModifiedSince:{location:"header",sentAs:"If-Modified-Since"},IfNoneMatch:{location:"header",sentAs:"If-None-Match"},IfUnmodifiedSince:{location:"header",sentAs:"If-Unmodified-Since"},Range:{location:"header",sentAs:"Range"},Origin:{location:"header",sentAs:"Origin"},RequestHeader:{location:"header",sentAs:"Access-Control-Request-Headers"},SaveByType:{type:"dstFile"},SseC:{location:"header",sentAs:"server-side-encryption-customer-algorithm",withPrefix:!0},SseCKey:{location:"header",sentAs:"server-side-encryption-customer-key",type:"password",withPrefix:!0},ProgressCallback:{type:"plain"}}},GetObjectOutput:{data:{type:"body"},parameters:{Content:{location:"body"},Expiration:{location:"header",sentAs:"expiration",withPrefix:!0},ETag:{location:"header",sentAs:"etag"},CacheControl:{location:"header",sentAs:"Cache-Control"},ContentDisposition:{location:"header",sentAs:"Content-Disposition"},ContentEncoding:{location:"header",sentAs:"Content-Encoding"},ContentLanguage:{location:"header",sentAs:"Content-Language"},ContentType:{location:"header",sentAs:"Content-Type"},Expires:{location:"header",sentAs:"Expires"},VersionId:{location:"header",sentAs:"version-id",withPrefix:!0},ContentLength:{location:"header",sentAs:"Content-Length"},DeleteMarker:{location:"header",sentAs:"delete-marker",withPrefix:!0},LastModified:{location:"header",sentAs:"Last-Modified"},WebsiteRedirectLocation:{location:"header",sentAs:"website-redirect-location",withPrefix:!0},StorageClass:{location:"header",sentAs:"storage-class",withPrefix:!0},Restore:{location:"header",sentAs:"restore",withPrefix:!0},AllowOrigin:{location:"header",sentAs:"access-control-allow-origin"},MaxAgeSeconds:{location:"header",sentAs:"access-control-max-age"},ExposeHeader:{location:"header",sentAs:"access-control-expose-headers"},AllowMethod:{location:"header",sentAs:"access-control-allow-methods"},AllowHeader:{location:"header",sentAs:"access-control-allow-headers"},SseKms:{location:"header",sentAs:"server-side-encryption",withPrefix:!0},SseKmsKey:{location:"header",sentAs:"server-side-encryption-kms-key-id",withPrefix:!0},SseC:{location:"header",sentAs:"server-side-encryption-customer-algorithm",withPrefix:!0},SseCKeyMd5:{location:"header",sentAs:"server-side-encryption-customer-key-MD5",withPrefix:!0},Metadata:{location:"header",type:"object",sentAs:"meta-",withPrefix:!0}}},CopyObject:{httpMethod:"PUT",parameters:{Bucket:{required:!0,location:"uri"},Key:{required:!0,location:"uri"},ACL:{location:"header",sentAs:"acl",withPrefix:!0,type:"adapter"},GrantRead:{location:"header",sentAs:"grant-read",withPrefix:!0},GrantReadAcp:{location:"header",sentAs:"grant-read-acp",withPrefix:!0},GrantWriteAcp:{location:"header",sentAs:"grant-write-acp",withPrefix:!0},GrantFullControl:{location:"header",sentAs:"grant-full-control",withPrefix:!0},StorageClass:{location:"header",sentAs:"storage-class",withPrefix:!0,type:"adapter"},CopySource:{required:!0,location:"header",sentAs:"copy-source",withPrefix:!0,skipEncoding:!0},CopySourceIfMatch:{location:"header",sentAs:"copy-source-if-match",withPrefix:!0},CopySourceIfModifiedSince:{location:"header",sentAs:"copy-source-if-modified-since",withPrefix:!0},CopySourceIfNoneMatch:{location:"header",sentAs:"copy-source-if-none-match",withPrefix:!0},CopySourceIfUnmodifiedSince:{location:"header",sentAs:"copy-source-if-unmodified-since",withPrefix:!0},ContentType:{location:"header",sentAs:"Content-Type"},ContentEncoding:{location:"header",sentAs:"content-encoding"},ContentLanguage:{location:"header",sentAs:"content-language"},ContentDisposition:{location:"header",sentAs:"content-disposition"},CacheControl:{location:"header",sentAs:"cache-control"},Expires:{location:"header",sentAs:"expires"},Metadata:{type:"object",location:"header",sentAs:"meta-",withPrefix:!0},MetadataDirective:{location:"header",sentAs:"metadata-directive",withPrefix:!0},WebsiteRedirectLocation:{location:"header",sentAs:"website-redirect-location",withPrefix:!0},SuccessActionRedirect:{location:"header",sentAs:"success-action-redirect"},SseKms:{location:"header",sentAs:"server-side-encryption",withPrefix:!0,type:"adapter"},SseKmsKey:{location:"header",sentAs:"server-side-encryption-kms-key-id",withPrefix:!0},SseC:{location:"header",sentAs:"server-side-encryption-customer-algorithm",withPrefix:!0},SseCKey:{location:"header",sentAs:"server-side-encryption-customer-key",type:"password",withPrefix:!0},CopySourceSseC:{location:"header",sentAs:"copy-source-server-side-encryption-customer-algorithm",withPrefix:!0},CopySourceSseCKey:{location:"header",sentAs:"copy-source-server-side-encryption-customer-key",type:"password",withPrefix:!0}}},CopyObjectOutput:{data:{type:"xml",xmlRoot:"CopyObjectResult"},parameters:{VersionId:{location:"header",sentAs:"version-id",withPrefix:!0},CopySourceVersionId:{location:"header",sentAs:"copy-source-version-id",withPrefix:!0},ETag:{location:"xml",sentAs:"ETag"},LastModified:{location:"xml",sentAs:"LastModified"},SseKms:{location:"header",sentAs:"server-side-encryption",withPrefix:!0},SseKmsKey:{location:"header",sentAs:"server-side-encryption-kms-key-id",withPrefix:!0},SseC:{location:"header",sentAs:"server-side-encryption-customer-algorithm",withPrefix:!0},SseCKeyMd5:{location:"header",sentAs:"server-side-encryption-customer-key-MD5",withPrefix:!0}}},RestoreObject:{httpMethod:"POST",urlPath:"restore",data:{xmlRoot:"RestoreRequest",md5:!0},parameters:{Bucket:{required:!0,location:"uri"},Key:{required:!0,location:"uri"},VersionId:{location:"urlPath",sentAs:"versionId"},Days:{location:"xml",sentAs:"Days"},Tier:{wrapper:"RestoreJob",location:"xml",sentAs:"Tier"}}},GetObjectMetadata:{httpMethod:"HEAD",parameters:{Bucket:{required:!0,location:"uri"},Key:{required:!0,location:"uri"},VersionId:{location:"urlPath",sentAs:"versionId"},Origin:{location:"header",sentAs:"Origin"},RequestHeader:{location:"header",sentAs:"Access-Control-Request-Headers"},SseC:{location:"header",sentAs:"server-side-encryption-customer-algorithm",withPrefix:!0},SseCKey:{location:"header",sentAs:"server-side-encryption-customer-key",type:"password",withPrefix:!0}}},GetObjectMetadataOutput:{parameters:{Expiration:{location:"header",sentAs:"expiration",withPrefix:!0},LastModified:{location:"header",sentAs:"Last-Modified"},ContentLength:{location:"header",sentAs:"Content-Length"},ContentType:{location:"header",sentAs:"Content-Type"},ETag:{location:"header",sentAs:"etag"},VersionId:{location:"header",sentAs:"version-id",withPrefix:!0},WebsiteRedirectLocation:{location:"header",sentAs:"website-redirect-location",withPrefix:!0},StorageClass:{location:"header",sentAs:"storage-class",withPrefix:!0},Restore:{location:"header",sentAs:"restore",withPrefix:!0},ObjectType:{location:"header",sentAs:"x-obs-object-type"},NextPosition:{location:"header",sentAs:"x-obs-next-append-position"},AllowOrigin:{location:"header",sentAs:"access-control-allow-origin"},MaxAgeSeconds:{location:"header",sentAs:"access-control-max-age"},ExposeHeader:{location:"header",sentAs:"access-control-expose-headers"},AllowMethod:{location:"header",sentAs:"access-control-allow-methods"},AllowHeader:{location:"header",sentAs:"access-control-allow-headers"},SseKms:{location:"header",sentAs:"server-side-encryption",withPrefix:!0},SseKmsKey:{location:"header",sentAs:"x-obs-server-side-encryption-kms-key-id"},SseKmsProjectId:{location:"header",sentAs:"sse-kms-key-project-id",withPrefix:!0},SseC:{location:"header",sentAs:"server-side-encryption-customer-algorithm",withPrefix:!0},SseCKeyMd5:{location:"header",sentAs:"server-side-encryption-customer-key-MD5",withPrefix:!0},Metadata:{location:"header",type:"object",sentAs:"meta-",withPrefix:!0},ContentLanguage:{location:"header",sentAs:"Content-Language"},ContentEncoding:{location:"header",sentAs:"Content-Encoding"},CacheControl:{location:"header",sentAs:"Cache-Control"},ContentDisposition:{location:"header",sentAs:"Content-Disposition"},Expires:{location:"header",sentAs:"Expires"},ReplicationStatus:{location:"header",sentAs:"replication-status",withPrefix:!0}}},SetObjectMetadata:{httpMethod:"PUT",urlPath:"metadata",parameters:{Bucket:{required:!0,location:"uri"},Key:{required:!0,location:"uri"},VersionId:{location:"urlPath",sentAs:"versionId"},Origin:{location:"header",sentAs:"Origin"},RequestHeader:{location:"header",sentAs:"Access-Control-Request-Headers"},CacheControl:{location:"header",sentAs:"Cache-Control"},ContentDisposition:{location:"header",sentAs:"Content-Disposition",encodingSafe:' ;/?:@&=+$,"'},ContentLanguage:{location:"header",sentAs:"Content-Language"},ContentEncoding:{location:"header",sentAs:"Content-Encoding"},ContentType:{location:"header",sentAs:"Content-Type"},Expires:{location:"header",sentAs:"Expires"},Metadata:{shape:"Sy",location:"header",type:"object",sentAs:"meta-",withPrefix:!0},MetadataDirective:{location:"header",sentAs:"metadata-directive",withPrefix:!0},StorageClass:{location:"header",sentAs:"storage-class",withPrefix:!0},WebsiteRedirectLocation:{location:"header",sentAs:"website-redirect-location",withPrefix:!0}}},SetObjectMetadataOutput:{parameters:{Expires:{location:"header",sentAs:"Expires"},ContentLength:{location:"header",sentAs:"Content-Length"},ContentType:{location:"header",sentAs:"Content-Type"},ContentLanguage:{location:"header",sentAs:"Content-Language"},CacheControl:{location:"header",sentAs:"Cache-Control"},ContentDisposition:{location:"header",sentAs:"Content-Disposition"},WebsiteRedirectLocation:{location:"header",sentAs:"website-redirect-location",withPrefix:!0},StorageClass:{location:"header",sentAs:"storage-class",withPrefix:!0,type:"adapter"},Metadata:{location:"header",type:"object",sentAs:"meta-",withPrefix:!0}}},SetObjectAcl:{httpMethod:"PUT",urlPath:"acl",data:{xmlRoot:"AccessControlPolicy"},parameters:{Bucket:{required:!0,location:"uri"},Key:{required:!0,location:"uri"},VersionId:{location:"urlPath",sentAs:"versionId"},ACL:{location:"header",sentAs:"acl",withPrefix:!0,type:"adapter"},Delivered:{location:"xml",sentAs:"Delivered"},Owner:oe,Grants:ce}},SetObjectAclOutput:{parameters:{VersionId:{location:"header",sentAs:"version-id",withPrefix:!0}}},GetObjectAcl:{httpMethod:"GET",urlPath:"acl",parameters:{Bucket:{required:!0,location:"uri"},Key:{required:!0,location:"uri"},VersionId:{location:"urlPath",sentAs:"versionId"}}},GetObjectAclOutput:{data:{type:"xml",xmlRoot:"AccessControlPolicy"},parameters:{VersionId:{location:"header",sentAs:"version-id",withPrefix:!0},Delivered:{location:"xml",sentAs:"Delivered"},Owner:oe,Grants:ce}},DeleteObject:{httpMethod:"DELETE",parameters:{Bucket:{required:!0,location:"uri"},Key:{required:!0,location:"uri"},VersionId:{location:"urlPath",sentAs:"versionId"}}},DeleteObjectOutput:{parameters:{VersionId:{location:"header",sentAs:"version-id",withPrefix:!0},DeleteMarker:{location:"header",sentAs:"delete-marker",withPrefix:!0}}},DeleteObjects:{httpMethod:"POST",urlPath:"delete",data:{xmlRoot:"Delete",md5:!0},parameters:{Bucket:{required:!0,location:"uri"},Quiet:{location:"xml",sentAs:"Quiet"},EncodingType:{location:"xml",sentAs:"EncodingType"},Objects:{required:!0,type:"array",location:"xml",sentAs:"Object",items:{type:"object",parameters:{Key:{sentAs:"Key"},VersionId:{sentAs:"VersionId"}}}}}},DeleteObjectsOutput:{data:{type:"xml",xmlRoot:"DeleteResult"},EncodingType:{location:"xml",sentAs:"EncodingType"},parameters:{Deleteds:{type:"array",location:"xml",sentAs:"Deleted",items:{type:"object",parameters:{Key:{decode:!0,sentAs:"Key"},VersionId:{sentAs:"VersionId"},DeleteMarker:{sentAs:"DeleteMarker"},DeleteMarkerVersionId:{sentAs:"DeleteMarkerVersionId"}}}},Errors:{type:"array",location:"xml",sentAs:"Error",items:{type:"object",parameters:{Key:{sentAs:"Key"},VersionId:{sentAs:"VersionId"},Code:{sentAs:"Code"},Message:{sentAs:"Message"}}}}}},InitiateMultipartUpload:{httpMethod:"POST",urlPath:"uploads",parameters:{EncodingType:{location:"urlPath",sentAs:"encoding-type"},Bucket:{required:!0,location:"uri"},Key:{required:!0,location:"uri"},ACL:{location:"header",sentAs:"acl",withPrefix:!0,type:"adapter"},GrantRead:{location:"header",sentAs:"grant-read",withPrefix:!0},GrantReadAcp:{location:"header",sentAs:"grant-read-acp",withPrefix:!0},GrantWriteAcp:{location:"header",sentAs:"grant-write-acp",withPrefix:!0},GrantFullControl:{location:"header",sentAs:"grant-full-control",withPrefix:!0},StorageClass:{location:"header",sentAs:"storage-class",withPrefix:!0,type:"adapter"},Metadata:{type:"object",location:"header",sentAs:"meta-",withPrefix:!0},WebsiteRedirectLocation:{location:"header",sentAs:"website-redirect-location",withPrefix:!0},Expires:{location:"header",sentAs:"expires",type:"number",withPrefix:!0},ContentType:{location:"header",sentAs:"Content-Type"},SseKms:{location:"header",sentAs:"server-side-encryption",withPrefix:!0,type:"adapter"},SseKmsKey:{location:"header",sentAs:"server-side-encryption-kms-key-id",withPrefix:!0},SseKmsProjectId:{location:"header",sentAs:"sse-kms-key-project-id",withPrefix:!0},SseC:{location:"header",sentAs:"server-side-encryption-customer-algorithm",withPrefix:!0},SseCKey:{location:"header",sentAs:"server-side-encryption-customer-key",type:"password",withPrefix:!0}}},InitiateMultipartUploadOutput:{data:{type:"xml",xmlRoot:"InitiateMultipartUploadResult"},parameters:{EncodingType:{location:"xml",sentAs:"EncodingType"},Bucket:{location:"xml",sentAs:"Bucket"},Key:{location:"xml",sentAs:"Key"},UploadId:{location:"xml",sentAs:"UploadId"},SseKms:{location:"header",sentAs:"server-side-encryption",withPrefix:!0},SseKmsKey:{location:"header",sentAs:"server-side-encryption-kms-key-id",withPrefix:!0},SseKmsProjectId:{location:"header",sentAs:"sse-kms-key-project-id",withPrefix:!0},SseC:{location:"header",sentAs:"server-side-encryption-customer-algorithm",withPrefix:!0},SseCKeyMd5:{location:"header",sentAs:"server-side-encryption-customer-key-MD5",withPrefix:!0}}},ListMultipartUploads:{httpMethod:"GET",urlPath:"uploads",parameters:{Bucket:{required:!0,location:"uri"},Delimiter:{location:"urlPath",sentAs:"delimiter"},KeyMarker:{location:"urlPath",sentAs:"key-marker"},MaxUploads:{type:"number",location:"urlPath",sentAs:"max-uploads"},Prefix:{location:"urlPath",sentAs:"prefix"},UploadIdMarker:{location:"urlPath",sentAs:"upload-id-marker"},EncodingType:{location:"urlPath",sentAs:"encoding-type"}}},ListMultipartUploadsOutput:{data:{type:"xml",xmlRoot:"ListMultipartUploadsResult"},parameters:{Bucket:{location:"xml",sentAs:"Bucket"},KeyMarker:{decode:!0,location:"xml",sentAs:"KeyMarker"},UploadIdMarker:{location:"xml",sentAs:"UploadIdMarker"},NextKeyMarker:{decode:!0,location:"xml",sentAs:"NextKeyMarker"},Prefix:{decode:!0,location:"xml",sentAs:"Prefix"},Delimiter:{decode:!0,location:"xml",sentAs:"Delimiter"},NextUploadIdMarker:{location:"xml",sentAs:"NextUploadIdMarker"},MaxUploads:{location:"xml",sentAs:"MaxUploads"},IsTruncated:{location:"xml",sentAs:"IsTruncated"},EncodingType:{location:"xml",sentAs:"EncodingType"},Uploads:{type:"array",location:"xml",sentAs:"Upload",items:{type:"object",parameters:{UploadId:{sentAs:"UploadId"},Key:{decode:!0,sentAs:"Key"},Initiated:{sentAs:"Initiated"},StorageClass:{sentAs:"StorageClass"},Owner:oe,Initiator:ie}}},CommonPrefixes:se}},UploadPart:{httpMethod:"PUT",parameters:{Bucket:{required:!0,location:"uri"},Key:{required:!0,location:"uri"},PartNumber:{required:!0,type:"number",location:"urlPath",sentAs:"partNumber"},UploadId:{required:!0,location:"urlPath",sentAs:"uploadId"},ContentMD5:{location:"header",sentAs:"Content-MD5"},Body:{location:"body"},SourceFile:{type:"srcFile"},Offset:{type:"plain"},PartSize:{type:"plain"},SseKms:{location:"header",sentAs:"server-side-encryption",withPrefix:!0},SseKmsKey:{location:"header",sentAs:"server-side-encryption-kms-key-id",withPrefix:!0},SseKmsProjectId:{location:"header",sentAs:"sse-kms-key-project-id",withPrefix:!0},SseC:{location:"header",sentAs:"server-side-encryption-customer-algorithm",withPrefix:!0},SseCKey:{location:"header",sentAs:"server-side-encryption-customer-key",type:"password",withPrefix:!0},ProgressCallback:{type:"plain"}}},UploadPartOutput:{parameters:{ETag:{location:"header",sentAs:"etag"},SseKms:{location:"header",sentAs:"server-side-encryption",withPrefix:!0},SseKmsKey:{location:"header",sentAs:"server-side-encryption-kms-key-id",withPrefix:!0},SseKmsProjectId:{location:"header",sentAs:"sse-kms-key-project-id",withPrefix:!0},SseC:{location:"header",sentAs:"server-side-encryption-customer-algorithm",withPrefix:!0},SseCKeyMd5:{location:"header",sentAs:"server-side-encryption-customer-key-MD5",withPrefix:!0}}},ListParts:{httpMethod:"GET",parameters:{Bucket:{required:!0,location:"uri"},Key:{required:!0,location:"uri"},UploadId:{required:!0,location:"urlPath",sentAs:"uploadId"},MaxParts:{type:"number",location:"urlPath",sentAs:"max-parts"},PartNumberMarker:{type:"number",location:"urlPath",sentAs:"part-number-marker"},EncodingType:{location:"urlPath",sentAs:"encoding-type"}}},ListPartsOutput:{data:{type:"xml",xmlRoot:"ListPartsResult"},parameters:{Bucket:{location:"xml",sentAs:"Bucket"},Key:{decode:!0,location:"xml",sentAs:"Key"},UploadId:{location:"xml",sentAs:"UploadId"},PartNumberMarker:{location:"xml",sentAs:"PartNumberMarker"},NextPartNumberMarker:{location:"xml",sentAs:"NextPartNumberMarker"},MaxParts:{location:"xml",sentAs:"MaxParts"},IsTruncated:{location:"xml",sentAs:"IsTruncated"},StorageClass:{location:"xml",sentAs:"StorageClass"},EncodingType:{location:"urlPath",sentAs:"EncodingType"},Initiator:ie,Owner:oe,Parts:{type:"array",location:"xml",sentAs:"Part",items:{type:"object",parameters:{PartNumber:{sentAs:"PartNumber"},LastModified:{sentAs:"LastModified"},ETag:{sentAs:"ETag"},Size:{sentAs:"Size"}}}}}},CopyPart:{httpMethod:"PUT",parameters:{Bucket:{required:!0,location:"uri"},Key:{required:!0,location:"uri"},PartNumber:{required:!0,location:"urlPath",sentAs:"partNumber",type:"number"},UploadId:{required:!0,location:"urlPath",sentAs:"uploadId"},CopySource:{required:!0,location:"header",sentAs:"copy-source",skipEncoding:!0,withPrefix:!0},CopySourceRange:{location:"header",sentAs:"copy-source-range",withPrefix:!0},SseC:{location:"header",sentAs:"server-side-encryption-customer-algorithm",withPrefix:!0},SseCKey:{location:"header",sentAs:"server-side-encryption-customer-key",type:"password",withPrefix:!0},CopySourceSseC:{location:"header",sentAs:"copy-source-server-side-encryption-customer-algorithm",withPrefix:!0},CopySourceSseCKey:{location:"header",sentAs:"copy-source-server-side-encryption-customer-key",type:"password",withPrefix:!0}}},CopyPartOutput:{data:{type:"xml",xmlRoot:"CopyPartResult"},parameters:{LastModified:{location:"xml",sentAs:"LastModified"},ETag:{location:"xml",sentAs:"ETag"},SseKms:{location:"header",sentAs:"server-side-encryption",withPrefix:!0},SseKmsKey:{location:"header",sentAs:"server-side-encryption-kms-key-id",withPrefix:!0},SseC:{location:"header",sentAs:"server-side-encryption-customer-algorithm",withPrefix:!0},SseCKeyMd5:{location:"header",sentAs:"server-side-encryption-customer-key-MD5",withPrefix:!0}}},AbortMultipartUpload:{httpMethod:"DELETE",parameters:{Bucket:{required:!0,location:"uri"},Key:{required:!0,location:"uri"},UploadId:{required:!0,location:"urlPath",sentAs:"uploadId"}}},CompleteMultipartUpload:{httpMethod:"POST",data:{xmlRoot:"CompleteMultipartUpload"},parameters:{Bucket:{required:!0,location:"uri"},Key:{required:!0,location:"uri"},UploadId:{required:!0,location:"urlPath",sentAs:"uploadId"},EncodingType:{location:"urlPath",sentAs:"encoding-type"},SseKms:{location:"header",sentAs:"server-side-encryption",withPrefix:!0},SseKmsKey:{location:"header",sentAs:"server-side-encryption-kms-key-id",withPrefix:!0},SseKmsProjectId:{location:"header",sentAs:"sse-kms-key-project-id",withPrefix:!0},Parts:{required:!0,type:"array",location:"xml",sentAs:"Part",items:{type:"object",parameters:{PartNumber:{sentAs:"PartNumber"},ETag:{sentAs:"ETag"}}}},Callback:{location:"header",sentAs:"callback",withPrefix:!0,type:"callback",parameters:{CallbackUrl:{required:!0},CallbackBody:{required:!0},CallbackHost:{},CallbackBodyType:{}}}}},CompleteMultipartUploadOutput:{data:{type:"xml",xmlRoot:"CompleteMultipartUploadResult"},parameters:{VersionId:{location:"header",sentAs:"version-id",withPrefix:!0},Location:{location:"xml",sentAs:"Location"},EncodingType:{location:"xml",sentAs:"EncodingType"},Bucket:{location:"xml",sentAs:"Bucket"},Key:{decode:!0,location:"xml",sentAs:"Key"},ETag:{location:"xml",sentAs:"ETag"},SseKms:{location:"header",sentAs:"server-side-encryption",withPrefix:!0},SseKmsKey:{location:"header",sentAs:"server-side-encryption-kms-key-id",withPrefix:!0},SseKmsProjectId:{location:"header",sentAs:"sse-kms-key-project-id",withPrefix:!0},SseC:{location:"header",sentAs:"server-side-encryption-customer-algorithm",withPrefix:!0},SseCKeyMd5:{location:"header",sentAs:"server-side-encryption-customer-key-MD5",withPrefix:!0}},CallbackResponse:{location:"body",sentAs:"CallbackResponseBody"}},OptionsBucket:{httpMethod:"OPTIONS",parameters:{Bucket:{required:!0,location:"uri"},Origin:{required:!0,location:"header",sentAs:"Origin"},AccessControlRequestMethods:{required:!0,type:"array",location:"header",sentAs:"Access-Control-Request-Method",items:{type:"string"}},AccessControlRequestHeaders:{type:"array",location:"header",sentAs:"Access-Control-Request-Headers",items:{type:"string"}}}},OptionsBucketOutput:{parameters:{AllowOrigin:{location:"header",sentAs:"access-control-allow-origin"},AllowHeader:{location:"header",sentAs:"access-control-allow-headers"},AllowMethod:{location:"header",sentAs:"access-control-allow-methods"},ExposeHeader:{location:"header",sentAs:"access-control-expose-headers"},MaxAgeSeconds:{location:"header",sentAs:"access-control-max-age"}}},OptionsObject:{httpMethod:"OPTIONS",parameters:{Bucket:{required:!0,location:"uri"},Key:{required:!0,location:"uri"},Origin:{required:!0,location:"header",sentAs:"Origin"},AccessControlRequestMethods:{required:!0,type:"array",location:"header",sentAs:"Access-Control-Request-Method",items:{type:"string"}},AccessControlRequestHeaders:{type:"array",location:"header",sentAs:"Access-Control-Request-Headers",items:{type:"string"}}}},OptionsObjectOutput:{parameters:{AllowOrigin:{location:"header",sentAs:"access-control-allow-origin"},AllowHeader:{location:"header",sentAs:"access-control-allow-headers"},AllowMethod:{location:"header",sentAs:"access-control-allow-methods"},ExposeHeader:{location:"header",sentAs:"access-control-expose-headers"},MaxAgeSeconds:{location:"header",sentAs:"access-control-max-age"}}},GetBucketEncryption:{httpMethod:"GET",urlPath:"encryption",parameters:{Bucket:{required:!0,location:"uri"}}},GetBucketEncryptionOutput:{data:{type:"xml",xmlRoot:"ServerSideEncryptionConfiguration"},parameters:{Rule:{type:"object",location:"xml",sentAs:"Rule",parameters:{ApplyServerSideEncryptionByDefault:{type:"object",sentAs:"ApplyServerSideEncryptionByDefault",parameters:{SSEAlgorithm:{sentAs:"SSEAlgorithm"},KMSMasterKeyID:{sentAs:"KMSMasterKeyID"},ProjectID:{sentAs:"ProjectID"}}}}}}},SetBucketEncryption:{httpMethod:"PUT",urlPath:"encryption",data:{xmlRoot:"ServerSideEncryptionConfiguration"},parameters:{Bucket:{required:!0,location:"uri"},Rule:xe}},SetBucketEncryptionOutput:{data:{type:"xml",xmlRoot:"ServerSideEncryptionConfiguration"},parameters:{Rule:xe}},DeleteBucketEncryption:{httpMethod:"DELETE",urlPath:"encryption",parameters:{Bucket:{required:!0,location:"uri"}}},DeleteBucketEncryptionOutput:{data:{type:"xml",xmlRoot:"ServerSideEncryptionConfiguration"},parameters:{Rule:xe}},GetBucketRequesterPay:{httpMethod:"GET",urlPath:"requestPayment",parameters:{Bucket:{required:!0,location:"uri"}}},GetBucketRequesterPayOutput:{data:{type:"xml",xmlRoot:"RequestPaymentConfiguration"},parameters:{Payer:{location:"xml",sentAs:"Payer"}}},SetBucketRequesterPay:{httpMethod:"PUT",urlPath:"requestPayment",data:{xmlRoot:"RequestPaymentConfiguration"},parameters:{Bucket:{required:!0,location:"uri"},Payer:{location:"xml",sentAs:"Payer"}}},SetBucketRequesterPayOutput:{data:{type:"xml",xmlRoot:"RequestPaymentConfiguration"},parameters:{Payer:{location:"xml",sentAs:"Payer"}}},SetMirrorBackToSource:{httpMethod:"PUT",urlPath:"mirrorBackToSource",parameters:{Bucket:{required:!0,location:"uri"},ApiPath:{location:"uri"},Rules:{required:!0,location:"body"}}},SetMirrorBackToSourceOutput:{data:{type:"body"},parameters:{Rules:{location:"body"}}},GetMirrorBackToSource:{httpMethod:"GET",urlPath:"mirrorBackToSource",parameters:{Bucket:{required:!0,location:"uri"},ApiPath:{location:"uri"}}},GetMirrorBackToSourceOutput:{data:{type:"body"},parameters:{Rules:{location:"body"}}},DeleteMirrorBackToSource:{httpMethod:"DELETE",urlPath:"mirrorBackToSource",parameters:{Bucket:{required:!0,location:"uri"},ApiPath:{location:"uri"}}},GetBucketDirectColdAccess:{httpMethod:"GET",urlPath:"directcoldaccess",parameters:{Bucket:{required:!0,location:"uri"}}},GetBucketDirectColdAccessOutput:{data:{type:"xml",xmlRoot:"DirectColdAccessConfiguration"},parameters:{Status:{location:"xml",sentAs:"Status"}}},SetBucketDirectColdAccess:{httpMethod:"PUT",urlPath:"directcoldaccess",data:{xmlRoot:"DirectColdAccessConfiguration",md5:!0},parameters:{Bucket:{required:!0,location:"uri"},Status:{required:!0,location:"xml",sentAs:"Status"}}},SetBucketDirectColdAccessOutput:{data:{type:"xml",xmlRoot:"DirectColdAccessConfiguration"},parameters:{Status:{location:"xml",sentAs:"Status"}}},DeleteBucketDirectColdAccess:{httpMethod:"DELETE",urlPath:"directcoldaccess",parameters:{Bucket:{required:!0,location:"uri"}}},DeleteBucketDirectColdAccessOutput:{data:{type:"xml",xmlRoot:"DirectColdAccessConfiguration"},parameters:{Status:{location:"xml",sentAs:"Status"}}},GetBucketCustomDomain:{httpMethod:"GET",urlPath:"customdomain",parameters:{Bucket:{required:!0,location:"uri"}}},GetBucketCustomDomainOutput:{data:{type:"xml",xmlRoot:"ListBucketCustomDomainsResult"},parameters:{Domains:{location:"xml",type:"array",sentAs:"Domains",items:{type:"object",parameters:{DomainName:{sentAs:"DomainName"},Value:{sentAs:"CreateTime"}}}}}},SetBucketCustomDomain:{httpMethod:"PUT",parameters:{Bucket:{required:!0,location:"uri"},DomainName:{location:"urlPath",sentAs:"customdomain"}}},DeleteBucketCustomDomain:{httpMethod:"DELETE",parameters:{Bucket:{required:!0,location:"uri"},DomainName:{location:"urlPath",sentAs:"customdomain"}}},GetCDNNotifyConfiguration:{httpMethod:"GET",urlPath:"CDNNotifyConfiguration",parameters:{Bucket:{required:!0,location:"uri"}}},GetCDNNotifyConfigurationOutput:{data:{type:"xml",xmlRoot:"CDNNotifyConfiguration"},parameters:{Domain:{location:"xml",type:"array",sentAs:"Domain",items:{type:"object",parameters:{Name:{sentAs:"Name"},Events:{type:"array",items:{type:"adapter"},sentAs:"Event"}}}}}},SetCdnNotifyConfiguration:{httpMethod:"PUT",urlPath:"CDNNotifyConfiguration",data:{xmlRoot:"CDNNotifyConfiguration",xmlAllowEmpty:!0},parameters:{Bucket:{required:!0,location:"uri"},Domain:{location:"xml",sentAs:"Domain",type:"array",items:{type:"object",parameters:{Name:{type:"string",sentAs:"Name"},Event:{type:"array",items:{type:"adapter"},sentAs:"Event"}}}}}},GetQuota:{httpMethod:"GET",urlPath:"quota"},GetQuotaOutput:{data:{type:"xml",xmlRoot:"MaxBucketNumber"},parameters:{Size:{location:"xml",sentAs:"Number"}}},GetWorkflowTrigger:{httpMethod:"GET",urlPath:"obsworkflowtriggerpolicy",parameters:{Bucket:{required:!0,location:"uri"},ApiPath:{location:"uri"}}},GetWorkflowTriggerOutput:{data:{type:"body"},parameters:{rules:{location:"body"}}},DeleteWorkflowTrigger:{httpMethod:"DELETE",urlPath:"obsworkflowtriggerpolicy",parameters:{Bucket:{required:!0,location:"uri"},ApiPath:{location:"uri"}}},CreateWorkflowTrigger:{httpMethod:"PUT",urlPath:"obsworkflowtriggerpolicy",parameters:{Bucket:{required:!0,location:"uri"},ApiPath:{location:"uri"},Rule:{required:!0,location:"body"}}},RestoreFailedWorkflowExecution:{httpMethod:"PUT",parameters:{ApiPath:{location:"uri"},Other_parameter:{required:!0,location:"uri",sentAs:"execution_name"},GraphName:{required:!0,location:"urlPath",sentAs:"x-workflow-graph-name"}}},CreateTemplate:{httpMethod:"POST",parameters:{ApiPath:{location:"uri"},Template:{required:!0,location:"body"}}},CreateWorkflow:{httpMethod:"POST",parameters:{ApiPath:{location:"uri"},Other_parameter:{required:!0,location:"uri",sentAs:"graph_name"},Workflow_create:{location:"urlPath",sentAs:"x-workflow-create"},Workflow:{required:!0,location:"body"}}},DeleteWorkflow:{httpMethod:"DELETE",parameters:{ApiPath:{location:"uri"},Other_parameter:{location:"uri",sentAs:"graph_name"}}},UpdateWorkflow:{httpMethod:"PUT",parameters:{ApiPath:{location:"uri"},Other_parameter:{location:"uri",sentAs:"graph_name"},Graph_name:{required:!0,location:"body"}}},GetWorkflowList:{httpMethod:"GET",parameters:{ApiPath:{location:"uri"},Other_parameter:{location:"uri",sentAs:"graph_name_prefix"},XObsLimit:{type:"number",location:"urlPath",sentAs:"x-workflow-limit"},XObsPrefix:{location:"urlPath",sentAs:"x-workflow-prefix"},XObsStart:{type:"number",location:"urlPath",sentAs:"x-workflow-start"}}},GetWorkflowListOutput:{data:{type:"body"},parameters:{workflows:{location:"body"}}},GetWorkflowTemplateList:{httpMethod:"GET",parameters:{ApiPath:{location:"uri"},Other_parameter:{location:"uri",sentAs:"template_name_prefix"},Start:{type:"number",location:"urlPath",sentAs:"x-workflow-start"},Limit:{type:"number",location:"urlPath",sentAs:"x-workflow-limit"},"X-workflow-prefix":{location:"urlPath",sentAs:"x-workflow-prefix"}}},GetWorkflowTemplateListOutput:{data:{type:"body"},parameters:{templates:{location:"body"}}},GetWorkflowInstanceList:{httpMethod:"GET",parameters:{ApiPath:{location:"uri"},Other_parameter:{location:"uri",sentAs:"execution_name_prefix"},Start:{type:"number",location:"urlPath",sentAs:"x-workflow-start"},Limit:{type:"number",location:"urlPath",sentAs:"x-workflow-limit"},Graph_name:{location:"urlPath",sentAs:"x-workflow-graph-name"},State:{location:"urlPath",sentAs:"x-workflow-execution-state"},"X-workflow-prefix":{location:"urlPath",sentAs:"x-workflow-prefix"}}},GetWorkflowInstanceListOutput:{data:{type:"body"},parameters:{instances:{location:"body"}}},DeleteTemplate:{httpMethod:"DELETE",parameters:{ApiPath:{location:"uri"},Other_parameter:{location:"uri",sentAs:"template_name"}}},GetActionTemplates:{httpMethod:"GET",parameters:{ApiPath:{location:"uri"},Other_parameter:{location:"uri",sentAs:"template_name_prefix"},XObsPrefix:{location:"urlPath",sentAs:"x-workflow-prefix"},XObsCategory:{type:"String",location:"urlPath",sentAs:"x-workflow-category"}}},GetActionTemplatesOutput:{data:{type:"body"},parameters:{actions:{location:"body"}}},GetWorkflowAuthorization:{httpMethod:"GET",parameters:{ApiPath:{location:"uri"}}},GetWorkflowAuthorizationOutput:{data:{type:"body"},parameters:{authorization:{location:"body"}}},OpenWorkflowAuthorization:{httpMethod:"POST",parameters:{ApiPath:{location:"uri"}}},CreateOnlineDecom:{httpMethod:"PUT",urlPath:"obscompresspolicy",parameters:{Bucket:{required:!0,location:"uri"},Decom:{required:!0,location:"body"}}},GetOnlineDecom:{httpMethod:"GET",urlPath:"obscompresspolicy",parameters:{Bucket:{required:!0,location:"uri"}}},GetOnlineDecomOutput:{data:{type:"body"},parameters:{Decom:{location:"body"}}},DeleteOnlineDecom:{httpMethod:"DELETE",urlPath:"obscompresspolicy",parameters:{Bucket:{required:!0,location:"uri"}}},GetPublicationTemplates:{httpMethod:"GET",parameters:{ApiPath:{location:"uri"},OtherParameter:{location:"uri",sentAs:"template_name_prefix"},XObsCategory:{location:"urlPath",sentAs:"x-workflow-category"},XObsOtatus:{location:"urlPath",sentAs:"x-workflow-status"},XObsPrefix:{location:"urlPath",sentAs:"x-workflow-prefix"}}},GetPublicationTemplatesOutput:{data:{type:"body"},parameters:{PublishedTemplates:{location:"body"}}},GetPublicationTemplateDetail:{httpMethod:"GET",parameters:{ApiPath:{location:"uri"},OtherParameter:{location:"uri",sentAs:"template_name"}}},GetPublicationTemplateDetailOutput:{data:{type:"body"},parameters:{PublishTemplate:{location:"body"}}},GetWorkflowAgreements:{httpMethod:"GET",parameters:{ApiPath:{location:"uri"},XWorkflowType:{required:!0,location:"urlPath",sentAs:"x-workflow-type"}}},GetWorkflowAgreementsOutput:{data:{type:"body"},parameters:{authorization:{location:"body"}}},OpenWorkflowAgreements:{httpMethod:"POST",parameters:{ApiPath:{location:"uri"},XWorkflowType:{required:!0,location:"urlPath",sentAs:"x-workflow-type"}}},CreateMyActionTemplate:{httpMethod:"POST",parameters:{ApiPath:{location:"uri"},OtherParameter:{location:"uri",sentAs:"template_name"},ActionTemplate:{required:!0,location:"body"}}},CreateMyActionTemplateOutput:{data:{type:"body"},parameters:{ActionTemplate:{location:"body"}}},GetMyActionTemplates:{httpMethod:"GET",parameters:{ApiPath:{location:"uri"},OtherParameter:{location:"uri",sentAs:"template_name_prefix"},XObsCategory:{location:"urlPath",sentAs:"x-workflow-category"},XObsOtatus:{location:"urlPath",sentAs:"x-workflow-status"},XObsPrefix:{location:"urlPath",sentAs:"x-workflow-prefix"}}},GetMyActionTemplatesOutput:{data:{type:"body"},parameters:{ActionTemplates:{location:"body"}}},GetMyactiontemplateDetail:{httpMethod:"GET",parameters:{ApiPath:{location:"uri"},OtherParameter:{location:"uri",sentAs:"template_name"}}},GetMyactiontemplateDetailOutput:{data:{type:"body"},parameters:{ActionTemplate:{location:"body"}}},UpdateMyActionTemplate:{httpMethod:"PUT",parameters:{ApiPath:{location:"uri"},OtherParameter:{location:"uri",sentAs:"template_name"},ActionTemplate:{required:!0,location:"body"}}},UpdateMyActionTemplateOutput:{data:{type:"body"},parameters:{ActionTemplate:{location:"body"}}},DeleteMyActionTemplate:{httpMethod:"DELETE",parameters:{ApiPath:{location:"uri"},OtherParameter:{location:"uri",sentAs:"template_name"}}},ForbidMyActionTemplate:{httpMethod:"DELETE",parameters:{ApiPath:{location:"uri"},OtherParameter:{location:"uri",sentAs:"template_name"},XObsForbid:{location:"urlPath",sentAs:"x-workflow-forbid"}}},UpdatePublicActionTemplate:{httpMethod:"PUT",parameters:{ApiPath:{location:"uri"},OtherParameter:{location:"uri",sentAs:"template_name"},PublicAction:{required:!0,location:"body"}}},GetOmPublicActionTemplates:{httpMethod:"GET",parameters:{ApiPath:{location:"uri"},OtherParameter:{location:"uri",sentAs:"template_name_prefix"},XObsCategory:{location:"urlPath",sentAs:"x-workflow-category"},XObsOtatus:{location:"urlPath",sentAs:"x-workflow-status"},XObsPrefix:{location:"urlPath",sentAs:"x-workflow-prefix"}}},GetOmPublicActionTemplatesOutput:{data:{type:"body"},parameters:{Templates:{location:"body"}}},SetBucketAlias:{httpMethod:"PUT",urlPath:"obsbucketalias",data:{xmlRoot:"CreateBucketAlias"},parameters:{Bucket:{required:!0,location:"uri"},BucketList:{location:"xml",type:"object",sentAs:"BucketList",parameters:{Bucket:{location:"xml",type:"array",items:{parameters:{sentAs:"Bucket"}}}}}}},GetBucketAlias:{httpMethod:"GET",urlPath:"obsalias",parameters:{Bucket:{required:!0,location:"uri"}}},GetBucketAliasOutput:{data:{type:"xml",xmlRoot:"AliasList"},parameters:{BucketAlias:{location:"xml",type:"object",sentAs:"BucketAlias",parameters:{Alias:{sentAs:"Alias"},BucketList:{sentAs:"Bucket",location:"xml",type:"array",wrapper:"BucketList",items:{type:"string"}}}}}},DeleteBucketAlias:{httpMethod:"DELETE",urlPath:"obsbucketalias",parameters:{Bucket:{required:!0,location:"uri"}}},BindBucketAlias:{httpMethod:"PUT",urlPath:"obsalias",data:{xmlRoot:"AliasList"},parameters:{Bucket:{required:!0,location:"uri"},Alias:{location:"xml",type:"string",sentAs:"Alias"}}},BindBucketAliasOutput:{data:{xmlRoot:"AliasList"},parameters:{Bucket:{required:!0,location:"uri"},Alias:{location:"xml",type:"string",sentAs:"Alias"}}},UnbindBucketAlias:{httpMethod:"DELETE",urlPath:"obsalias",parameters:{Bucket:{required:!0,location:"uri"}}},ListBucketsAlias:{httpMethod:"GET",urlPath:"obsbucketalias"},ListBucketsAliasOutput:{data:{type:"xml",xmlRoot:"ListBucketAliasResult"},parameters:{BucketAliasList:{location:"xml",sentAs:"BucketAliasList",type:"object",parameters:{BucketAlias:{location:"xml",type:"array",sentAs:"BucketAlias",items:{type:"object",parameters:{Alias:{sentAs:"Alias"},CreationDate:{sentAs:"CreationDate"},BucketList:{location:"xml",type:"object",sentAs:"BucketList",parameters:{Bucket:{location:"xml",type:"array",items:{parameters:{sentAs:"Bucket"}}}}}}}}}},Owner:{location:"xml",sentAs:"Owner",type:"object",parameters:{ID:{sentAs:"ID"}}}}}},ke={type:"object",location:"xml",sentAs:"Owner",parameters:{ID:{sentAs:"ID"},Name:{sentAs:"DisplayName"}}},Ee={type:"object",location:"xml",sentAs:"Rule",parameters:{ApplyServerSideEncryptionByDefault:{type:"object",sentAs:"ApplyServerSideEncryptionByDefault",parameters:{SSEAlgorithm:{sentAs:"SSEAlgorithm"},KMSMasterKeyID:{sentAs:"KMSMasterKeyID"},ProjectID:{sentAs:"ProjectID"}}}}},Se={type:"object",location:"xml",sentAs:"InventoryConfiguration",parameters:{Id:{sentAs:"Id"},IsEnabled:{sentAs:"IsEnabled"},Filter:{type:"object",sentAs:"Filter",parameters:{Prefix:{sentAs:"Prefix"}}},Destination:{type:"object",sentAs:"Destination",parameters:{Format:{sentAs:"Format"},Bucket:{sentAs:"Bucket"},Prefix:{sentAs:"Prefix"},Encryption:{type:"object",sentAs:"Encryption",parameters:{"SSE-KMS":{type:"object",sentAs:"SSE-KMS",parameters:{KeyId:{sentAs:"KeyId",type:"adapter"}}}}}}},Schedule:{type:"object",sentAs:"Schedule",parameters:{Frequency:{sentAs:"Frequency"}}},IncludedObjectVersions:{sentAs:"IncludedObjectVersions"},OptionalFields:{type:"object",location:"xml",sentAs:"OptionalFields",parameters:{Field:{type:"array",sentAs:"Field",items:{type:"string"}}}}}},Te={type:"object",location:"xml",sentAs:"Initiator",parameters:{ID:{sentAs:"ID"},Name:{sentAs:"DisplayName"}}},Ce={sentAs:"BackToSourceRule",required:!0,location:"xml",type:"array",items:{type:"object",parameters:{ID:{sentAs:"ID"},Condition:{sentAs:"Condition",type:"object",parameters:{ObjectKeyPrefixEquals:{sentAs:"ObjectKeyPrefixEquals"},HttpErrorCodeReturnedEquals:{sentAs:"HttpErrorCodeReturnedEquals"}}},Redirect:{sentAs:"Redirect",type:"object",parameters:{HttpRedirectCode:{sentAs:"HttpRedirectCode"},SourceEndpoint:{sentAs:"SourceEndpoint"},SourceBucketName:{sentAs:"SourceBucketName"},ReplaceKeyWith:{sentAs:"ReplaceKeyWith"},StaticUri:{sentAs:"StaticUri"},ReplaceKeyPrefixWith:{sentAs:"ReplaceKeyPrefixWith"},MigrationConfiguration:{sentAs:"MigrationConfiguration",type:"object",parameters:{Agency:{sentAs:"Agency"},LogBucketName:{sentAs:"LogBucketName"},PrivateBucketConfiguration:{sentAs:"PrivateBucketConfiguration",type:"object",parameters:{SourceStorageProvider:{sentAs:"SourceStorageProvider"},SourceBucketAK:{sentAs:"SourceBucketAK"},SourceBucketSK:{sentAs:"SourceBucketSK"},SourceBucketZone:{sentAs:"SourceBucketZone"}}}}}}}}}},Pe={type:"array",location:"xml",sentAs:"CommonPrefixes",items:{type:"object",parameters:{Prefix:{decode:!0,sentAs:"Prefix"},MTime:{sentAs:"MTime"},InodeNo:{sentAs:"InodeNo"}}}},Oe={type:"array",location:"xml",wrapper:"AccessControlList",sentAs:"Grant",items:{type:"object",parameters:{Grantee:{data:{xsiNamespace:"http://www.w3.org/2001/XMLSchema-instance",xsiType:"Type"},type:"object",sentAs:"Grantee",parameters:{Type:{type:"ignore"},ID:{sentAs:"ID",notAllowEmpty:!0},Name:{sentAs:"DisplayName"},URI:{sentAs:"URI",type:"adapter",notAllowEmpty:!0}}},Permission:{sentAs:"Permission"}}}},Le={type:"object",location:"xml",sentAs:"LoggingEnabled",parameters:{TargetBucket:{sentAs:"TargetBucket"},TargetPrefix:{sentAs:"TargetPrefix"},TargetGrants:{type:"array",wrapper:"TargetGrants",sentAs:"Grant",items:{type:"object",parameters:{Grantee:{data:{xsiNamespace:"http://www.w3.org/2001/XMLSchema-instance",xsiType:"Type"},type:"object",sentAs:"Grantee",parameters:{Type:{type:"ignore"},ID:{sentAs:"ID"},Name:{sentAs:"DisplayName"},URI:{sentAs:"URI",type:"adapter"}}},Permission:{sentAs:"Permission"}}}}}},Me={required:!0,type:"array",location:"xml",sentAs:"Rule",items:{type:"object",parameters:{ID:{sentAs:"ID"},Prefix:{sentAs:"Prefix"},Status:{sentAs:"Status"},Transitions:{type:"array",sentAs:"Transition",items:{type:"object",parameters:{StorageClass:{sentAs:"StorageClass",type:"adapter"},Date:{sentAs:"Date"},Days:{type:"number",sentAs:"Days"}}}},Expiration:{type:"object",sentAs:"Expiration",parameters:{Date:{sentAs:"Date"},Days:{type:"number",sentAs:"Days"}}},AbortIncompleteMultipartUpload:{type:"object",sentAs:"AbortIncompleteMultipartUpload",parameters:{DaysAfterInitiation:{type:"number",sentAs:"DaysAfterInitiation"}}},NoncurrentVersionTransitions:{type:"array",sentAs:"NoncurrentVersionTransition",items:{type:"object",parameters:{StorageClass:{sentAs:"StorageClass",type:"adapter"},NoncurrentDays:{type:"number",sentAs:"NoncurrentDays"}}}},NoncurrentVersionExpiration:{type:"object",sentAs:"NoncurrentVersionExpiration",parameters:{NoncurrentDays:{type:"number",sentAs:"NoncurrentDays"}}}}}},Re={type:"object",location:"xml",sentAs:"RedirectAllRequestsTo",parameters:{HostName:{sentAs:"HostName"},Protocol:{sentAs:"Protocol"}}},Ie={type:"array",wrapper:"RoutingRules",location:"xml",sentAs:"RoutingRule",items:{type:"object",parameters:{Condition:{type:"object",sentAs:"Condition",parameters:{HttpErrorCodeReturnedEquals:{sentAs:"HttpErrorCodeReturnedEquals"},KeyPrefixEquals:{sentAs:"KeyPrefixEquals"}}},Redirect:{type:"object",sentAs:"Redirect",parameters:{HostName:{sentAs:"HostName"},HttpRedirectCode:{sentAs:"HttpRedirectCode"},Protocol:{sentAs:"Protocol"},ReplaceKeyPrefixWith:{sentAs:"ReplaceKeyPrefixWith"},ReplaceKeyWith:{sentAs:"ReplaceKeyWith"}}}}}},je={type:"object",location:"xml",sentAs:"IndexDocument",parameters:{Suffix:{sentAs:"Suffix"}}},De={type:"object",location:"xml",sentAs:"ErrorDocument",parameters:{Key:{sentAs:"Key"}}},Be={required:!0,type:"array",location:"xml",sentAs:"CORSRule",items:{type:"object",parameters:{ID:{sentAs:"ID"},AllowedMethod:{type:"array",sentAs:"AllowedMethod",items:{type:"string"}},AllowedOrigin:{type:"array",sentAs:"AllowedOrigin",items:{type:"string"}},AllowedHeader:{type:"array",sentAs:"AllowedHeader",items:{type:"string"}},MaxAgeSeconds:{type:"number",sentAs:"MaxAgeSeconds"},ExposeHeader:{type:"array",sentAs:"ExposeHeader",items:{type:"string"}}}}},Ne={type:"array",location:"xml",sentAs:"FunctionGraphConfiguration",items:{type:"object",location:"xml",parameters:{ID:{sentAs:"Id"},Filter:{type:"object",parameters:{FilterRules:{wrapper:"S3Key",type:"array",sentAs:"FilterRule",items:{type:"object",parameters:{Name:{},Value:{}}}}}},FunctionGraph:{},Event:{type:"array",items:{type:"adapter"}}}}},Ue={type:"array",location:"xml",sentAs:"FunctionStageConfiguration",items:{type:"object",location:"xml",parameters:{ID:{sentAs:"Id"},Filter:{type:"object",parameters:{FilterRules:{wrapper:"S3Key",type:"array",sentAs:"FilterRule",items:{type:"object",parameters:{Name:{},Value:{}}}}}},FunctionStage:{},Event:{type:"array",items:{type:"adapter"}}}}},$e={type:"array",location:"xml",sentAs:"TopicConfiguration",items:{type:"object",location:"xml",parameters:{ID:{sentAs:"Id"},Filter:{type:"object",parameters:{FilterRules:{wrapper:"S3Key",type:"array",sentAs:"FilterRule",items:{type:"object",parameters:{Name:{},Value:{}}}}}},Topic:{},Event:{type:"array",items:{type:"adapter"}}}}},Fe={required:!0,type:"array",location:"xml",wrapper:"TagSet",sentAs:"Tag",items:{type:"object",parameters:{Key:{sentAs:"Key"},Value:{sentAs:"Value"}}}},Ge={required:!0,type:"array",location:"xml",sentAs:"Rule",items:{type:"object",parameters:{ID:{sentAs:"ID"},Prefix:{sentAs:"Prefix"},Status:{sentAs:"Status"},Destination:{type:"object",sentAs:"Destination",parameters:{Bucket:{sentAs:"Bucket",type:"adapter"},StorageClass:{sentAs:"StorageClass",type:"adapter"},DeleteData:{sentAs:"DeleteData",type:"string"}}},HistoricalObjectReplication:{sentAs:"HistoricalObjectReplication"}}}},qe={HeadBucket:{httpMethod:"HEAD",parameters:{Bucket:{required:!0,location:"uri"}}},HeadApiVersion:{httpMethod:"HEAD",urlPath:"apiversion",parameters:{Bucket:{location:"uri"}}},HeadApiVersionOutput:{parameters:{ApiVersion:{location:"header",sentAs:"x-obs-api"}}},CreateBucket:{httpMethod:"PUT",data:{xmlRoot:"CreateBucketConfiguration"},parameters:{Bucket:{required:!0,location:"uri"},ACL:{location:"header",sentAs:"acl",withPrefix:!0},StorageType:{location:"header",sentAs:"x-default-storage-class"},FileInterface:{location:"header",sentAs:"fs-file-interface",withPrefix:!0},Type:{location:"header",sentAs:"bucket-type",withPrefix:!0},MultiAz:{location:"header",sentAs:"x-obs-az-redundancy"},Cluster:{location:"header",sentAs:"location-clustergroup-id",withPrefix:!0},GrantFullControl:{location:"header",sentAs:"grant-full-control",withPrefix:!0},GrantRead:{location:"header",sentAs:"grant-read",withPrefix:!0},GrantReadACP:{location:"header",sentAs:"grant-read-acp",withPrefix:!0},GrantWrite:{location:"header",sentAs:"grant-write",withPrefix:!0},GrantWriteACP:{location:"header",sentAs:"grant-write-acp",withPrefix:!0},ClusterType:{location:"header",sentAs:"cluster-type",withPrefix:!0},MultiEnterprise:{location:"header",sentAs:"epid",withPrefix:!0},Location:{location:"xml",sentAs:"LocationConstraint"}}},GetBucketMetadata:{httpMethod:"HEAD",parameters:{Bucket:{required:!0,location:"uri"},Origin:{location:"header",sentAs:"Origin"},RequestHeader:{location:"header",sentAs:"Access-Control-Request-Headers"}}},GetBucketMetadataOutput:{parameters:{StorageClass:{location:"header",sentAs:"x-default-storage-class"},ObsVersion:{location:"header",sentAs:"x-obs-version"},Location:{location:"header",sentAs:"bucket-region",withPrefix:!0},FileInterface:{location:"header",sentAs:"fs-file-interface",withPrefix:!0},Type:{location:"header",sentAs:"bucket-type",withPrefix:!0},MultiAz:{location:"header",sentAs:"x-obs-az-redundancy"},MultiEnterprise:{location:"header",sentAs:"epid",withPrefix:!0},ClusterType:{location:"header",sentAs:"cluster-type",withPrefix:!0},Cluster:{location:"header",sentAs:"location-clustergroup-id",withPrefix:!0},AllowOrigin:{location:"header",sentAs:"access-control-allow-origin"},MaxAgeSeconds:{location:"header",sentAs:"access-control-max-age"},ExposeHeader:{location:"header",sentAs:"access-control-expose-headers"},AllowMethod:{location:"header",sentAs:"access-control-allow-methods"},AllowHeader:{location:"header",sentAs:"access-control-allow-headers"}}},DeleteBucket:{httpMethod:"DELETE",parameters:{Bucket:{required:!0,location:"uri"}}},ListBuckets:{httpMethod:"GET",parameters:{Type:{sentAs:"x-obs-bucket-type",location:"header"},Location:{sentAs:"location",location:"header",withPrefix:!0}}},ListBucketsOutput:{data:{type:"xml",xmlRoot:"ListAllMyBucketsResult"},parameters:{Buckets:{location:"xml",sentAs:"Bucket",type:"array",wrapper:"Buckets",items:{type:"object",location:"xml",sentAs:"Bucket",parameters:{Name:{sentAs:"Name"},CreationDate:{sentAs:"CreationDate"},Location:{sentAs:"Location"},ClusterType:{sentAs:"ClusterType"}}}},Owner:{type:"object",location:"xml",sentAs:"Owner",parameters:{ID:{sentAs:"ID"},DisplayName:{sentAs:"DisplayName"}}}}},ListObjects:{httpMethod:"GET",parameters:{Bucket:{required:!0,location:"uri"},Prefix:{location:"urlPath",sentAs:"prefix"},Marker:{location:"urlPath",sentAs:"marker"},MaxKeys:{type:"number",location:"urlPath",sentAs:"max-keys"},Delimiter:{location:"urlPath",sentAs:"delimiter"},EncodingType:{location:"urlPath",sentAs:"encoding-type"}}},ListObjectsOutput:{data:{type:"xml",xmlRoot:"ListBucketResult"},parameters:{Location:{location:"header",sentAs:"bucket-region",withPrefix:!0},Bucket:{location:"xml",sentAs:"Name"},Delimiter:{decode:!0,location:"xml",sentAs:"Delimiter"},IsTruncated:{location:"xml",sentAs:"IsTruncated"},Prefix:{decode:!0,location:"xml",sentAs:"Prefix"},Marker:{decode:!0,location:"xml",sentAs:"Marker"},NextMarker:{decode:!0,location:"xml",sentAs:"NextMarker"},MaxKeys:{location:"xml",sentAs:"MaxKeys"},EncodingType:{location:"xml",sentAs:"EncodingType"},Contents:{type:"array",location:"xml",sentAs:"Contents",items:{type:"object",parameters:{Key:{decode:!0,sentAs:"Key"},LastModified:{sentAs:"LastModified"},ETag:{sentAs:"ETag"},Size:{sentAs:"Size"},Type:{sentAs:"Type"},StorageClass:{sentAs:"StorageClass"},Owner:ke}}},CommonPrefixes:Pe}},ListVersions:{httpMethod:"GET",urlPath:"versions",parameters:{Bucket:{required:!0,location:"uri"},Prefix:{location:"urlPath",sentAs:"prefix"},KeyMarker:{location:"urlPath",sentAs:"key-marker"},MaxKeys:{type:"number",location:"urlPath",sentAs:"max-keys"},Delimiter:{location:"urlPath",sentAs:"delimiter"},VersionIdMarker:{location:"urlPath",sentAs:"version-id-marker"},EncodingType:{location:"urlPath",sentAs:"encoding-type"}}},ListVersionsOutput:{data:{type:"xml",xmlRoot:"ListVersionsResult"},parameters:{EncodingType:{location:"xml",sentAs:"EncodingType"},Location:{location:"header",sentAs:"bucket-region",withPrefix:!0},Bucket:{location:"xml",sentAs:"Name"},Prefix:{decode:!0,location:"xml",sentAs:"Prefix"},Delimiter:{decode:!0,location:"xml",sentAs:"Delimiter"},KeyMarker:{decode:!0,location:"xml",sentAs:"KeyMarker"},VersionIdMarker:{location:"xml",sentAs:"VersionIdMarker"},NextKeyMarker:{decode:!0,location:"xml",sentAs:"NextKeyMarker"},NextVersionIdMarker:{location:"xml",sentAs:"NextVersionIdMarker"},MaxKeys:{location:"xml",sentAs:"MaxKeys"},IsTruncated:{location:"xml",sentAs:"IsTruncated"},Versions:{type:"array",location:"xml",sentAs:"Version",items:{type:"object",parameters:{Key:{decode:!0,sentAs:"Key"},VersionId:{sentAs:"VersionId"},IsLatest:{sentAs:"IsLatest"},LastModified:{sentAs:"LastModified"},ETag:{sentAs:"ETag"},Size:{sentAs:"Size"},Type:{sentAs:"Type"},Owner:ke,StorageClass:{sentAs:"StorageClass"}}}},DeleteMarkers:{type:"array",location:"xml",sentAs:"DeleteMarker",items:{type:"object",parameters:{Key:{decode:!0,sentAs:"Key"},VersionId:{sentAs:"VersionId"},IsLatest:{sentAs:"IsLatest"},LastModified:{sentAs:"LastModified"},Owner:ke}}},CommonPrefixes:Pe}},PutBackToSource:{httpMethod:"PUT",data:{xmlRoot:"BackToSourceConfiguration"},urlPath:"backtosource",parameters:{Bucket:{required:!0,location:"uri"},BackToSourceRules:Ce,ContentMD5:{location:"header",sentAs:"Content-MD5"}}},DeleteBackToSource:{httpMethod:"DELETE",urlPath:"backtosource",parameters:{Bucket:{required:!0,location:"uri"}}},GetBackToSource:{httpMethod:"GET",urlPath:"backtosource",parameters:{Bucket:{required:!0,location:"uri"}}},GetBackToSourceOutput:{data:{type:"xml",xmlRoot:"BackToSourceConfiguration"},parameters:{BackToSourceRules:Ce}},GetBucketLocation:{httpMethod:"GET",urlPath:"location",parameters:{Bucket:{required:!0,location:"uri"}}},GetBucketLocationOutput:{data:{type:"xml",xmlRoot:"CreateBucketConfiguration"},parameters:{Location:{location:"xml",sentAs:"LocationConstraint"}}},GetBucketStorageInfo:{httpMethod:"GET",urlPath:"storageinfo",parameters:{Bucket:{required:!0,location:"uri"}}},GetBucketStorageInfoOutput:{data:{type:"xml",xmlRoot:"GetBucketStorageInfoResult"},parameters:{Size:{location:"xml",sentAs:"Size"},ObjectNumber:{location:"xml",sentAs:"ObjectNumber"}}},SetBucketQuota:{httpMethod:"PUT",urlPath:"quota",data:{xmlRoot:"Quota"},parameters:{Bucket:{required:!0,location:"uri"},StorageQuota:{required:!0,location:"xml",sentAs:"StorageQuota"}}},GetBucketQuota:{httpMethod:"GET",urlPath:"quota",parameters:{Bucket:{required:!0,location:"uri"}}},GetBucketQuotaOutput:{data:{type:"xml",xmlRoot:"Quota"},parameters:{StorageQuota:{location:"xml",sentAs:"StorageQuota"}}},SetBucketAcl:{httpMethod:"PUT",urlPath:"acl",data:{xmlRoot:"AccessControlPolicy"},parameters:{Bucket:{required:!0,location:"uri"},ACL:{location:"header",sentAs:"acl",withPrefix:!0,type:"adapter"},Owner:ke,Grants:Oe}},GetBucketAcl:{httpMethod:"GET",urlPath:"acl",parameters:{Bucket:{required:!0,location:"uri"}}},GetBucketAclOutput:{data:{type:"xml",xmlRoot:"AccessControlPolicy"},parameters:{Owner:ke,Grants:Oe}},SetBucketLoggingConfiguration:{httpMethod:"PUT",urlPath:"logging",data:{xmlRoot:"BucketLoggingStatus",xmlAllowEmpty:!0},parameters:{Bucket:{required:!0,location:"uri"},LoggingEnabled:Le}},GetBucketLoggingConfiguration:{httpMethod:"GET",urlPath:"logging",parameters:{Bucket:{required:!0,location:"uri"}}},GetBucketLoggingConfigurationOutput:{data:{type:"xml",xmlRoot:"BucketLoggingStatus"},parameters:{LoggingEnabled:Le}},SetBucketPolicy:{httpMethod:"PUT",urlPath:"policy",parameters:{Bucket:{required:!0,location:"uri"},Policy:{required:!0,location:"body"}}},SetSFSAcl:{httpMethod:"PUT",urlPath:"sfsacl",parameters:{Bucket:{required:!0,location:"uri"},Policy:{required:!0,location:"body"}}},GetSFSAcl:{httpMethod:"GET",urlPath:"sfsacl",parameters:{Bucket:{required:!0,location:"uri"}}},GetSFSAclOutput:{data:{type:"body"},parameters:{Policy:{location:"body"}}},DeleteSFSAcl:{httpMethod:"DELETE",urlPath:"sfsacl",parameters:{Bucket:{required:!0,location:"uri"}}},GetBucketPolicy:{httpMethod:"GET",urlPath:"policy",parameters:{Bucket:{required:!0,location:"uri"}}},GetBucketPolicyOutput:{data:{type:"body"},parameters:{Policy:{location:"body"}}},DeleteBucketPolicy:{httpMethod:"DELETE",urlPath:"policy",parameters:{Bucket:{required:!0,location:"uri"}}},SetBucketDisPolicy:{httpMethod:"PUT",urlPath:"disPolicy",parameters:{Bucket:{required:!0,location:"uri"},ApiPath:{location:"uri"},Rules:{required:!0,location:"body"}}},GetBucketDisPolicy:{httpMethod:"GET",urlPath:"disPolicy",parameters:{Bucket:{required:!0,location:"uri"},ApiPath:{location:"uri"},ContentType:{location:"header",sentAs:"Content-Type"}}},GetBucketDisPolicyOutput:{data:{type:"body"},parameters:{Rules:{location:"body"}}},DeleteBucketDisPolicy:{httpMethod:"DELETE",urlPath:"disPolicy",parameters:{Bucket:{required:!0,location:"uri"},ApiPath:{location:"uri"}}},SetBucketLifecycleConfiguration:{httpMethod:"PUT",urlPath:"lifecycle",data:{xmlRoot:"LifecycleConfiguration",md5:!0},parameters:{Bucket:{required:!0,location:"uri"},Rules:Me}},GetBucketLifecycleConfiguration:{httpMethod:"GET",urlPath:"lifecycle",parameters:{Bucket:{required:!0,location:"uri"}}},GetBucketLifecycleConfigurationOutput:{data:{type:"xml",xmlRoot:"LifecycleConfiguration"},parameters:{Rules:Me}},DeleteBucketLifecycleConfiguration:{httpMethod:"DELETE",urlPath:"lifecycle",parameters:{Bucket:{required:!0,location:"uri"}}},SetBucketWebsiteConfiguration:{httpMethod:"PUT",urlPath:"website",data:{xmlRoot:"WebsiteConfiguration"},parameters:{Bucket:{required:!0,location:"uri"},RedirectAllRequestsTo:Re,IndexDocument:je,ErrorDocument:De,RoutingRules:Ie}},GetBucketWebsiteConfiguration:{httpMethod:"GET",urlPath:"website",parameters:{Bucket:{required:!0,location:"uri"}}},GetBucketWebsiteConfigurationOutput:{data:{type:"xml",xmlRoot:"WebsiteConfiguration"},parameters:{RedirectAllRequestsTo:Re,IndexDocument:je,ErrorDocument:De,RoutingRules:Ie}},DeleteBucketWebsiteConfiguration:{httpMethod:"DELETE",urlPath:"website",parameters:{Bucket:{required:!0,location:"uri"}}},SetBucketVersioningConfiguration:{httpMethod:"PUT",urlPath:"versioning",data:{xmlRoot:"VersioningConfiguration"},parameters:{Bucket:{required:!0,location:"uri"},VersionStatus:{required:!0,location:"xml",sentAs:"Status"}}},GetBucketVersioningConfiguration:{httpMethod:"GET",urlPath:"versioning",parameters:{Bucket:{required:!0,location:"uri"}}},GetBucketVersioningConfigurationOutput:{data:{type:"xml",xmlRoot:"VersioningConfiguration"},parameters:{VersionStatus:{location:"xml",sentAs:"Status"}}},SetBucketCors:{httpMethod:"PUT",urlPath:"cors",data:{xmlRoot:"CORSConfiguration",md5:!0},parameters:{Bucket:{required:!0,location:"uri"},CorsRules:Be}},GetBucketCors:{httpMethod:"GET",urlPath:"cors",parameters:{Bucket:{required:!0,location:"uri"}}},GetBucketCorsOutput:{data:{type:"xml",xmlRoot:"CORSConfiguration"},parameters:{CorsRules:Be}},DeleteBucketCors:{httpMethod:"DELETE",urlPath:"cors",parameters:{Bucket:{required:!0,location:"uri"}}},SetBucketNotification:{httpMethod:"PUT",urlPath:"notification",data:{xmlRoot:"NotificationConfiguration",xmlAllowEmpty:!0},parameters:{Bucket:{required:!0,location:"uri"},TopicConfigurations:$e,FunctionGraphConfigurations:Ne,FunctionStageConfigurations:Ue}},GetBucketNotification:{httpMethod:"GET",urlPath:"notification",parameters:{Bucket:{required:!0,location:"uri"}}},GetBucketNotificationOutput:{data:{type:"xml",xmlRoot:"NotificationConfiguration"},parameters:{TopicConfigurations:$e,FunctionGraphConfigurations:Ne,FunctionStageConfigurations:Ue}},SetBucketTagging:{httpMethod:"PUT",urlPath:"tagging",data:{xmlRoot:"Tagging",md5:!0},parameters:{Bucket:{required:!0,location:"uri"},Tags:Fe}},DeleteBucketTagging:{httpMethod:"DELETE",urlPath:"tagging",parameters:{Bucket:{required:!0,location:"uri"}}},GetBucketTagging:{httpMethod:"GET",urlPath:"tagging",parameters:{Bucket:{required:!0,location:"uri"}}},GetBucketTaggingOutput:{data:{type:"xml",xmlRoot:"Tagging"},parameters:{Tags:Fe}},SetBucketStoragePolicy:{httpMethod:"PUT",urlPath:"storagePolicy",data:{xmlRoot:"StoragePolicy"},parameters:{Bucket:{required:!0,location:"uri"},StorageClass:{required:!0,location:"xml",type:"adapter",sentAs:"DefaultStorageClass"}}},GetBucketStoragePolicy:{httpMethod:"GET",urlPath:"storagePolicy",parameters:{Bucket:{required:!0,location:"uri"}}},GetBucketStoragePolicyOutput:{data:{type:"xml",xmlRoot:"StoragePolicy"},parameters:{StorageClass:{location:"xml",type:"string",sentAs:"DefaultStorageClass"}}},SetBucketReplication:{httpMethod:"PUT",urlPath:"replication",data:{xmlRoot:"ReplicationConfiguration",md5:!0},parameters:{Bucket:{required:!0,location:"uri"},Agency:{location:"xml",sentAs:"Agency"},Rules:Ge}},GetBucketReplication:{httpMethod:"GET",urlPath:"replication",parameters:{Bucket:{required:!0,location:"uri"}}},GetBucketReplicationOutput:{data:{type:"xml",xmlRoot:"ReplicationConfiguration"},parameters:{Agency:{location:"xml",sentAs:"Agency"},Rules:Ge}},DeleteBucketReplication:{httpMethod:"DELETE",urlPath:"replication",parameters:{Bucket:{required:!0,location:"uri"}}},PutObject:{httpMethod:"PUT",parameters:{Bucket:{required:!0,location:"uri"},Key:{required:!0,location:"uri"},ContentMD5:{location:"header",sentAs:"Content-MD5"},ContentType:{location:"header",sentAs:"Content-Type"},Offset:{type:"plain"},ContentLength:{location:"header",sentAs:"Content-Length",type:"plain"},ACL:{location:"header",sentAs:"acl",withPrefix:!0,type:"adapter"},GrantRead:{location:"header",sentAs:"grant-read",withPrefix:!0},GrantReadAcp:{location:"header",sentAs:"grant-read-acp",withPrefix:!0},GrantWriteAcp:{location:"header",sentAs:"grant-write-acp",withPrefix:!0},GrantFullControl:{location:"header",sentAs:"grant-full-control",withPrefix:!0},StorageClass:{location:"header",sentAs:"storage-class",withPrefix:!0,type:"adapter"},Metadata:{type:"object",location:"header",sentAs:"meta-",withPrefix:!0},CacheControl:{location:"header",sentAs:"Cache-Control"},ContentDisposition:{location:"header",sentAs:"Content-Disposition",encodingSafe:' ;/?:@&=+$,"'},ContentLanguage:{location:"header",sentAs:"Content-Language"},ContentEncoding:{location:"header",sentAs:"Content-Encoding"},WebsiteRedirectLocation:{location:"header",sentAs:"website-redirect-location",withPrefix:!0},Expires:{location:"header",sentAs:"x-obs-expires",type:"number"},SseKms:{location:"header",sentAs:"server-side-encryption",withPrefix:!0,type:"adapter"},SseKmsKey:{location:"header",sentAs:"server-side-encryption-aws-kms-key-id",withPrefix:!0},SseKmsProjectId:{location:"header",sentAs:"sse-kms-key-project-id",withPrefix:!0},SseC:{location:"header",sentAs:"server-side-encryption-customer-algorithm",withPrefix:!0},SseCKey:{location:"header",sentAs:"server-side-encryption-customer-key",type:"password",withPrefix:!0},Body:{location:"body"},SourceFile:{type:"srcFile"},ProgressCallback:{type:"plain"}}},PutObjectOutput:{parameters:{ETag:{location:"header",sentAs:"etag"},VersionId:{location:"header",sentAs:"version-id",withPrefix:!0},StorageClass:{location:"header",sentAs:"storage-class",withPrefix:!0},SseKms:{location:"header",sentAs:"server-side-encryption",withPrefix:!0},SseKmsKey:{location:"header",sentAs:"server-side-encryption-aws-kms-key-id",withPrefix:!0},SseKmsProjectId:{location:"header",sentAs:"sse-kms-key-project-id",withPrefix:!0},SseC:{location:"header",sentAs:"server-side-encryption-customer-algorithm",withPrefix:!0},SseCKeyMd5:{location:"header",sentAs:"server-side-encryption-customer-key-MD5",withPrefix:!0}}},AppendObject:{httpMethod:"POST",urlPath:"append",parameters:{Bucket:{required:!0,location:"uri"},Key:{required:!0,location:"uri"},Position:{location:"urlPath",sentAs:"position",type:"number"},ContentMD5:{location:"header",sentAs:"Content-MD5"},Offset:{type:"plain"},ContentType:{location:"header",sentAs:"Content-Type"},ContentLength:{location:"header",sentAs:"Content-Length",type:"plain"},ACL:{location:"header",sentAs:"acl",withPrefix:!0,type:"adapter"},GrantRead:{location:"header",sentAs:"grant-read",withPrefix:!0},GrantReadAcp:{location:"header",sentAs:"grant-read-acp",withPrefix:!0},GrantWriteAcp:{location:"header",sentAs:"grant-write-acp",withPrefix:!0},GrantFullControl:{location:"header",sentAs:"grant-full-control",withPrefix:!0},StorageClass:{location:"header",sentAs:"storage-class",withPrefix:!0,type:"adapter"},Metadata:{type:"object",location:"header",sentAs:"meta-",withPrefix:!0},WebsiteRedirectLocation:{location:"header",sentAs:"website-redirect-location",withPrefix:!0},Expires:{location:"header",sentAs:"x-obs-expires",type:"number"},SseKms:{location:"header",sentAs:"server-side-encryption",withPrefix:!0,type:"adapter"},SseKmsKey:{location:"header",sentAs:"server-side-encryption-kms-key-id",withPrefix:!0},SseC:{location:"header",sentAs:"server-side-encryption-customer-algorithm",withPrefix:!0},SseCKey:{location:"header",sentAs:"server-side-encryption-customer-key",type:"password",withPrefix:!0},Body:{location:"body"},SourceFile:{type:"srcFile"},ProgressCallback:{type:"plain"}}},AppendObjectOutput:{parameters:{ETag:{location:"header",sentAs:"etag"},NextPosition:{location:"header",sentAs:"x-obs-next-append-position"},StorageClass:{location:"header",sentAs:"storage-class",withPrefix:!0},SseKms:{location:"header",sentAs:"server-side-encryption",withPrefix:!0},SseKmsKey:{location:"header",sentAs:"server-side-encryption-kms-key-id",withPrefix:!0},SseC:{location:"header",sentAs:"server-side-encryption-customer-algorithm",withPrefix:!0},SseCKeyMd5:{location:"header",sentAs:"server-side-encryption-customer-key-MD5",withPrefix:!0}}},GetObject:{httpMethod:"GET",parameters:{Bucket:{required:!0,location:"uri"},Key:{required:!0,location:"uri"},ResponseCacheControl:{location:"urlPath",sentAs:"response-cache-control"},ResponseContentDisposition:{location:"urlPath",sentAs:"response-content-disposition"},ResponseContentEncoding:{location:"urlPath",sentAs:"response-content-encoding"},ResponseContentLanguage:{location:"urlPath",sentAs:"response-content-language"},ResponseContentType:{location:"urlPath",sentAs:"response-content-type"},ResponseExpires:{location:"urlPath",sentAs:"response-expires"},VersionId:{location:"urlPath",sentAs:"versionId"},ImageProcess:{location:"urlPath",sentAs:"x-image-process"},IfMatch:{location:"header",sentAs:"If-Match"},IfModifiedSince:{location:"header",sentAs:"If-Modified-Since"},IfNoneMatch:{location:"header",sentAs:"If-None-Match"},IfUnmodifiedSince:{location:"header",sentAs:"If-Unmodified-Since"},Range:{location:"header",sentAs:"Range"},Origin:{location:"header",sentAs:"Origin"},RequestHeader:{location:"header",sentAs:"Access-Control-Request-Headers"},SaveByType:{type:"dstFile"},SseC:{location:"header",sentAs:"server-side-encryption-customer-algorithm",withPrefix:!0},SseCKey:{location:"header",sentAs:"server-side-encryption-customer-key",type:"password",withPrefix:!0},ProgressCallback:{type:"plain"}}},GetObjectOutput:{data:{type:"body"},parameters:{Content:{location:"body"},Expiration:{location:"header",sentAs:"expiration",withPrefix:!0},ETag:{location:"header",sentAs:"etag"},CacheControl:{location:"header",sentAs:"Cache-Control"},ContentDisposition:{location:"header",sentAs:"Content-Disposition"},ContentEncoding:{location:"header",sentAs:"Content-Encoding"},ContentLanguage:{location:"header",sentAs:"Content-Language"},ContentType:{location:"header",sentAs:"Content-Type"},Expires:{location:"header",sentAs:"Expires"},VersionId:{location:"header",sentAs:"version-id",withPrefix:!0},ContentLength:{location:"header",sentAs:"Content-Length"},DeleteMarker:{location:"header",sentAs:"delete-marker",withPrefix:!0},LastModified:{location:"header",sentAs:"Last-Modified"},WebsiteRedirectLocation:{location:"header",sentAs:"website-redirect-location",withPrefix:!0},StorageClass:{location:"header",sentAs:"storage-class",withPrefix:!0},Restore:{location:"header",sentAs:"restore",withPrefix:!0},AllowOrigin:{location:"header",sentAs:"access-control-allow-origin"},MaxAgeSeconds:{location:"header",sentAs:"access-control-max-age"},ExposeHeader:{location:"header",sentAs:"access-control-expose-headers"},AllowMethod:{location:"header",sentAs:"access-control-allow-methods"},AllowHeader:{location:"header",sentAs:"access-control-allow-headers"},SseKms:{location:"header",sentAs:"server-side-encryption",withPrefix:!0},SseKmsKey:{location:"header",sentAs:"server-side-encryption-aws-kms-key-id",withPrefix:!0},SseC:{location:"header",sentAs:"server-side-encryption-customer-algorithm",withPrefix:!0},SseCKeyMd5:{location:"header",sentAs:"server-side-encryption-customer-key-MD5",withPrefix:!0},Metadata:{location:"header",type:"object",sentAs:"meta-",withPrefix:!0}}},CopyObject:{httpMethod:"PUT",parameters:{Bucket:{required:!0,location:"uri"},Key:{required:!0,location:"uri"},ACL:{location:"header",sentAs:"acl",withPrefix:!0,type:"adapter"},GrantRead:{location:"header",sentAs:"grant-read",withPrefix:!0},GrantReadAcp:{location:"header",sentAs:"grant-read-acp",withPrefix:!0},GrantWriteAcp:{location:"header",sentAs:"grant-write-acp",withPrefix:!0},GrantFullControl:{location:"header",sentAs:"grant-full-control",withPrefix:!0},StorageClass:{location:"header",sentAs:"storage-class",withPrefix:!0,type:"adapter"},CopySource:{required:!0,location:"header",sentAs:"copy-source",withPrefix:!0,skipEncoding:!0},CopySourceIfMatch:{location:"header",sentAs:"copy-source-if-match",withPrefix:!0},CopySourceIfModifiedSince:{location:"header",sentAs:"copy-source-if-modified-since",withPrefix:!0},CopySourceIfNoneMatch:{location:"header",sentAs:"copy-source-if-none-match",withPrefix:!0},CopySourceIfUnmodifiedSince:{location:"header",sentAs:"copy-source-if-unmodified-since",withPrefix:!0},ContentType:{location:"header",sentAs:"Content-Type"},ContentEncoding:{location:"header",sentAs:"content-encoding"},ContentLanguage:{location:"header",sentAs:"content-language"},ContentDisposition:{location:"header",sentAs:"content-disposition"},CacheControl:{location:"header",sentAs:"cache-control"},Expires:{location:"header",sentAs:"expires"},Metadata:{type:"object",location:"header",sentAs:"meta-",withPrefix:!0},MetadataDirective:{location:"header",sentAs:"metadata-directive",withPrefix:!0},WebsiteRedirectLocation:{location:"header",sentAs:"website-redirect-location",withPrefix:!0},SseKms:{location:"header",sentAs:"server-side-encryption",withPrefix:!0,type:"adapter"},SseKmsKey:{location:"header",sentAs:"server-side-encryption-aws-kms-key-id",withPrefix:!0},SseC:{location:"header",sentAs:"server-side-encryption-customer-algorithm",withPrefix:!0},SseCKey:{location:"header",sentAs:"server-side-encryption-customer-key",type:"password",withPrefix:!0},CopySourceSseC:{location:"header",sentAs:"copy-source-server-side-encryption-customer-algorithm",withPrefix:!0},CopySourceSseCKey:{location:"header",sentAs:"copy-source-server-side-encryption-customer-key",type:"password",withPrefix:!0}}},CopyObjectOutput:{data:{type:"xml",xmlRoot:"CopyObjectResult"},parameters:{VersionId:{location:"header",sentAs:"version-id",withPrefix:!0},CopySourceVersionId:{location:"header",sentAs:"copy-source-version-id",withPrefix:!0},ETag:{location:"xml",sentAs:"ETag"},LastModified:{location:"xml",sentAs:"LastModified"},SseKms:{location:"header",sentAs:"server-side-encryption",withPrefix:!0},SseKmsKey:{location:"header",sentAs:"server-side-encryption-aws-kms-key-id",withPrefix:!0},SseC:{location:"header",sentAs:"server-side-encryption-customer-algorithm",withPrefix:!0},SseCKeyMd5:{location:"header",sentAs:"server-side-encryption-customer-key-MD5",withPrefix:!0}}},RestoreObject:{httpMethod:"POST",urlPath:"restore",data:{xmlRoot:"RestoreRequest",md5:!0},parameters:{Bucket:{required:!0,location:"uri"},Key:{required:!0,location:"uri"},VersionId:{location:"urlPath",sentAs:"versionId"},Days:{location:"xml",sentAs:"Days"},Tier:{wrapper:"GlacierJobParameters",location:"xml",sentAs:"Tier"}}},GetObjectMetadata:{httpMethod:"HEAD",parameters:{Bucket:{required:!0,location:"uri"},Key:{required:!0,location:"uri"},VersionId:{location:"urlPath",sentAs:"versionId"},Origin:{location:"header",sentAs:"Origin"},RequestHeader:{location:"header",sentAs:"Access-Control-Request-Headers"},SseC:{location:"header",sentAs:"server-side-encryption-customer-algorithm",withPrefix:!0},SseCKey:{location:"header",sentAs:"server-side-encryption-customer-key",type:"password",withPrefix:!0}}},GetObjectMetadataOutput:{parameters:{Expiration:{location:"header",sentAs:"expiration",withPrefix:!0},LastModified:{location:"header",sentAs:"Last-Modified"},ContentLength:{location:"header",sentAs:"Content-Length"},ContentType:{location:"header",sentAs:"Content-Type"},ETag:{location:"header",sentAs:"etag"},VersionId:{location:"header",sentAs:"version-id",withPrefix:!0},WebsiteRedirectLocation:{location:"header",sentAs:"website-redirect-location",withPrefix:!0},StorageClass:{location:"header",sentAs:"storage-class",withPrefix:!0},Restore:{location:"header",sentAs:"restore",withPrefix:!0},ObjectType:{location:"header",sentAs:"x-obs-object-type"},NextPosition:{location:"header",sentAs:"x-obs-next-append-position"},AllowOrigin:{location:"header",sentAs:"access-control-allow-origin"},MaxAgeSeconds:{location:"header",sentAs:"access-control-max-age"},ExposeHeader:{location:"header",sentAs:"access-control-expose-headers"},AllowMethod:{location:"header",sentAs:"access-control-allow-methods"},AllowHeader:{location:"header",sentAs:"access-control-allow-headers"},SseKms:{location:"header",sentAs:"server-side-encryption",withPrefix:!0},SseKmsKey:{location:"header",sentAs:"server-side-encryption-aws-kms-key-id",withPrefix:!0},SseC:{location:"header",sentAs:"server-side-encryption-customer-algorithm",withPrefix:!0},SseCKeyMd5:{location:"header",sentAs:"server-side-encryption-customer-key-MD5",withPrefix:!0},Metadata:{location:"header",type:"object",sentAs:"meta-",withPrefix:!0},ContentLanguage:{location:"header",sentAs:"Content-Language"},ContentEncoding:{location:"header",sentAs:"Content-Encoding"},CacheControl:{location:"header",sentAs:"Cache-Control"},ContentDisposition:{location:"header",sentAs:"Content-Disposition"},Expires:{location:"header",sentAs:"Expires"},ReplicationStatus:{location:"header",sentAs:"replication-status",withPrefix:!0}}},SetObjectMetadata:{httpMethod:"PUT",urlPath:"metadata",parameters:{Bucket:{required:!0,location:"uri"},Key:{required:!0,location:"uri"},VersionId:{location:"urlPath",sentAs:"versionId"},Origin:{location:"header",sentAs:"Origin"},RequestHeader:{location:"header",sentAs:"Access-Control-Request-Headers"},CacheControl:{location:"header",sentAs:"Cache-Control"},ContentDisposition:{location:"header",sentAs:"Content-Disposition",encodingSafe:' ;/?:@&=+$,"'},ContentLanguage:{location:"header",sentAs:"Content-Language"},ContentEncoding:{location:"header",sentAs:"Content-Encoding"},ContentType:{location:"header",sentAs:"Content-Type"},Expires:{location:"header",sentAs:"Expires"},Metadata:{shape:"Sy",location:"header",type:"object",sentAs:"meta-",withPrefix:!0},MetadataDirective:{location:"header",sentAs:"metadata-directive",withPrefix:!0},StorageClass:{location:"header",sentAs:"storage-class",withPrefix:!0},WebsiteRedirectLocation:{location:"header",sentAs:"website-redirect-location",withPrefix:!0}}},SetObjectMetadataOutput:{parameters:{Expires:{location:"header",sentAs:"Expires"},ContentLength:{location:"header",sentAs:"Content-Length"},ContentType:{location:"header",sentAs:"Content-Type"},ContentLanguage:{location:"header",sentAs:"Content-Language"},CacheControl:{location:"header",sentAs:"Cache-Control"},ContentDisposition:{location:"header",sentAs:"Content-Disposition"},WebsiteRedirectLocation:{location:"header",sentAs:"website-redirect-location",withPrefix:!0},StorageClass:{location:"header",sentAs:"storage-class",withPrefix:!0,type:"adapter"},Metadata:{location:"header",type:"object",sentAs:"meta-",withPrefix:!0}}},SetObjectAcl:{httpMethod:"PUT",urlPath:"acl",data:{xmlRoot:"AccessControlPolicy"},parameters:{Bucket:{required:!0,location:"uri"},Key:{required:!0,location:"uri"},VersionId:{location:"urlPath",sentAs:"versionId"},ACL:{location:"header",sentAs:"acl",withPrefix:!0,type:"adapter"},Owner:ke,Grants:Oe}},SetObjectAclOutput:{parameters:{VersionId:{location:"header",sentAs:"version-id",withPrefix:!0}}},GetObjectAcl:{httpMethod:"GET",urlPath:"acl",parameters:{Bucket:{required:!0,location:"uri"},Key:{required:!0,location:"uri"},VersionId:{location:"urlPath",sentAs:"versionId"}}},GetObjectAclOutput:{data:{type:"xml",xmlRoot:"AccessControlPolicy"},parameters:{VersionId:{location:"header",sentAs:"version-id",withPrefix:!0},Owner:ke,Grants:Oe}},DeleteObject:{httpMethod:"DELETE",parameters:{Bucket:{required:!0,location:"uri"},Key:{required:!0,location:"uri"},VersionId:{location:"urlPath",sentAs:"versionId"}}},DeleteObjectOutput:{parameters:{VersionId:{location:"header",sentAs:"version-id",withPrefix:!0},DeleteMarker:{location:"header",sentAs:"delete-marker",withPrefix:!0}}},DeleteObjects:{httpMethod:"POST",urlPath:"delete",data:{xmlRoot:"Delete",md5:!0},parameters:{Bucket:{required:!0,location:"uri"},Quiet:{location:"xml",sentAs:"Quiet"},EncodingType:{location:"xml",sentAs:"EncodingType"},Objects:{required:!0,type:"array",location:"xml",sentAs:"Object",items:{type:"object",parameters:{Key:{sentAs:"Key"},VersionId:{sentAs:"VersionId"}}}}}},DeleteObjectsOutput:{data:{type:"xml",xmlRoot:"DeleteResult"},parameters:{EncodingType:{location:"xml",sentAs:"EncodingType"},Deleteds:{type:"array",location:"xml",sentAs:"Deleted",items:{type:"object",parameters:{Key:{decode:!0,sentAs:"Key"},VersionId:{sentAs:"VersionId"},DeleteMarker:{sentAs:"DeleteMarker"},DeleteMarkerVersionId:{sentAs:"DeleteMarkerVersionId"}}}},Errors:{type:"array",location:"xml",sentAs:"Error",items:{type:"object",parameters:{Key:{decode:!0,sentAs:"Key"},VersionId:{sentAs:"VersionId"},Code:{sentAs:"Code"},Message:{sentAs:"Message"}}}}}},InitiateMultipartUpload:{httpMethod:"POST",urlPath:"uploads",parameters:{EncodingType:{location:"urlPath",sentAs:"encoding-type"},Bucket:{required:!0,location:"uri"},Key:{required:!0,location:"uri"},ACL:{location:"header",sentAs:"acl",withPrefix:!0,type:"adapter"},GrantRead:{location:"header",sentAs:"grant-read",withPrefix:!0},GrantReadAcp:{location:"header",sentAs:"grant-read-acp",withPrefix:!0},GrantWriteAcp:{location:"header",sentAs:"grant-write-acp",withPrefix:!0},GrantFullControl:{location:"header",sentAs:"grant-full-control",withPrefix:!0},StorageClass:{location:"header",sentAs:"storage-class",withPrefix:!0,type:"adapter"},Metadata:{type:"object",location:"header",sentAs:"meta-",withPrefix:!0},WebsiteRedirectLocation:{location:"header",sentAs:"website-redirect-location",withPrefix:!0},Expires:{location:"header",sentAs:"x-obs-expires",type:"number"},ContentType:{location:"header",sentAs:"Content-Type"},SseKms:{location:"header",sentAs:"server-side-encryption",withPrefix:!0,type:"adapter"},SseKmsKey:{location:"header",sentAs:"server-side-encryption-aws-kms-key-id",withPrefix:!0},SseC:{location:"header",sentAs:"server-side-encryption-customer-algorithm",withPrefix:!0},SseCKey:{location:"header",sentAs:"server-side-encryption-customer-key",type:"password",withPrefix:!0}}},InitiateMultipartUploadOutput:{data:{type:"xml",xmlRoot:"InitiateMultipartUploadResult"},parameters:{EncodingType:{location:"xml",sentAs:"EncodingType"},Bucket:{location:"xml",sentAs:"Bucket"},Key:{decode:!0,location:"xml",sentAs:"Key"},UploadId:{location:"xml",sentAs:"UploadId"},SseKms:{location:"header",sentAs:"server-side-encryption",withPrefix:!0},SseKmsKey:{location:"header",sentAs:"server-side-encryption-aws-kms-key-id",withPrefix:!0},SseC:{location:"header",sentAs:"server-side-encryption-customer-algorithm",withPrefix:!0},SseCKeyMd5:{location:"header",sentAs:"server-side-encryption-customer-key-MD5",withPrefix:!0}}},ListMultipartUploads:{httpMethod:"GET",urlPath:"uploads",parameters:{Bucket:{required:!0,location:"uri"},Delimiter:{location:"urlPath",sentAs:"delimiter"},KeyMarker:{location:"urlPath",sentAs:"key-marker"},MaxUploads:{type:"number",location:"urlPath",sentAs:"max-uploads"},Prefix:{location:"urlPath",sentAs:"prefix"},UploadIdMarker:{location:"urlPath",sentAs:"upload-id-marker"},EncodingType:{location:"urlPath",sentAs:"encoding-type"}}},ListMultipartUploadsOutput:{data:{type:"xml",xmlRoot:"ListMultipartUploadsResult"},parameters:{Bucket:{location:"xml",sentAs:"Bucket"},KeyMarker:{decode:!0,location:"xml",sentAs:"KeyMarker"},UploadIdMarker:{location:"xml",sentAs:"UploadIdMarker"},NextKeyMarker:{decode:!0,location:"xml",sentAs:"NextKeyMarker"},Prefix:{decode:!0,location:"xml",sentAs:"Prefix"},Delimiter:{decode:!0,location:"xml",sentAs:"Delimiter"},NextUploadIdMarker:{location:"xml",sentAs:"NextUploadIdMarker"},MaxUploads:{location:"xml",sentAs:"MaxUploads"},IsTruncated:{location:"xml",sentAs:"IsTruncated"},EncodingType:{location:"xml",sentAs:"EncodingType"},Uploads:{type:"array",location:"xml",sentAs:"Upload",items:{type:"object",parameters:{UploadId:{sentAs:"UploadId"},Key:{decode:!0,sentAs:"Key"},Initiated:{sentAs:"Initiated"},StorageClass:{sentAs:"StorageClass"},Owner:ke,Initiator:Te}}},CommonPrefixes:Pe}},UploadPart:{httpMethod:"PUT",parameters:{Bucket:{required:!0,location:"uri"},Key:{required:!0,location:"uri"},PartNumber:{required:!0,type:"number",location:"urlPath",sentAs:"partNumber"},UploadId:{required:!0,location:"urlPath",sentAs:"uploadId"},ContentMD5:{location:"header",sentAs:"Content-MD5"},Body:{location:"body"},SourceFile:{type:"srcFile"},Offset:{type:"plain"},PartSize:{type:"plain"},SseC:{location:"header",sentAs:"server-side-encryption-customer-algorithm",withPrefix:!0},SseCKey:{location:"header",sentAs:"server-side-encryption-customer-key",type:"password",withPrefix:!0},ProgressCallback:{type:"plain"}}},UploadPartOutput:{parameters:{ETag:{location:"header",sentAs:"etag"},SseKms:{location:"header",sentAs:"server-side-encryption",withPrefix:!0},SseKmsKey:{location:"header",sentAs:"server-side-encryption-aws-kms-key-id",withPrefix:!0},SseC:{location:"header",sentAs:"server-side-encryption-customer-algorithm",withPrefix:!0},SseCKeyMd5:{location:"header",sentAs:"server-side-encryption-customer-key-MD5",withPrefix:!0}}},ListParts:{httpMethod:"GET",parameters:{Bucket:{required:!0,location:"uri"},Key:{required:!0,location:"uri"},UploadId:{required:!0,location:"urlPath",sentAs:"uploadId"},MaxParts:{type:"number",location:"urlPath",sentAs:"max-parts"},PartNumberMarker:{type:"number",location:"urlPath",sentAs:"part-number-marker"},EncodingType:{location:"urlPath",sentAs:"encoding-type"}}},ListPartsOutput:{data:{type:"xml",xmlRoot:"ListPartsResult"},parameters:{Bucket:{location:"xml",sentAs:"Bucket"},Key:{decode:!0,location:"xml",sentAs:"Key"},UploadId:{location:"xml",sentAs:"UploadId"},PartNumberMarker:{location:"xml",sentAs:"PartNumberMarker"},NextPartNumberMarker:{location:"xml",sentAs:"NextPartNumberMarker"},MaxParts:{location:"xml",sentAs:"MaxParts"},IsTruncated:{location:"xml",sentAs:"IsTruncated"},StorageClass:{location:"xml",sentAs:"StorageClass"},EncodingType:{location:"urlPath",sentAs:"EncodingType"},Initiator:Te,Owner:ke,Parts:{type:"array",location:"xml",sentAs:"Part",items:{type:"object",parameters:{PartNumber:{sentAs:"PartNumber"},LastModified:{sentAs:"LastModified"},ETag:{sentAs:"ETag"},Size:{sentAs:"Size"}}}}}},CopyPart:{httpMethod:"PUT",parameters:{Bucket:{required:!0,location:"uri"},Key:{required:!0,location:"uri"},PartNumber:{required:!0,location:"urlPath",sentAs:"partNumber",type:"number"},UploadId:{required:!0,location:"urlPath",sentAs:"uploadId"},CopySource:{required:!0,location:"header",sentAs:"copy-source",skipEncoding:!0,withPrefix:!0},CopySourceRange:{location:"header",sentAs:"copy-source-range",withPrefix:!0},SseC:{location:"header",sentAs:"server-side-encryption-customer-algorithm",withPrefix:!0},SseCKey:{location:"header",sentAs:"server-side-encryption-customer-key",type:"password",withPrefix:!0},CopySourceSseC:{location:"header",sentAs:"copy-source-server-side-encryption-customer-algorithm",withPrefix:!0},CopySourceSseCKey:{location:"header",sentAs:"copy-source-server-side-encryption-customer-key",type:"password",withPrefix:!0}}},CopyPartOutput:{data:{type:"xml",xmlRoot:"CopyPartResult"},parameters:{LastModified:{location:"xml",sentAs:"LastModified"},ETag:{location:"xml",sentAs:"ETag"},SseKms:{location:"header",sentAs:"server-side-encryption",withPrefix:!0},SseKmsKey:{location:"header",sentAs:"server-side-encryption-aws-kms-key-id",withPrefix:!0},SseC:{location:"header",sentAs:"server-side-encryption-customer-algorithm",withPrefix:!0},SseCKeyMd5:{location:"header",sentAs:"server-side-encryption-customer-key-MD5",withPrefix:!0}}},AbortMultipartUpload:{httpMethod:"DELETE",parameters:{Bucket:{required:!0,location:"uri"},Key:{required:!0,location:"uri"},UploadId:{required:!0,location:"urlPath",sentAs:"uploadId"}}},CompleteMultipartUpload:{httpMethod:"POST",data:{xmlRoot:"CompleteMultipartUpload"},parameters:{Bucket:{required:!0,location:"uri"},Key:{required:!0,location:"uri"},UploadId:{required:!0,location:"urlPath",sentAs:"uploadId"},EncodingType:{location:"urlPath",sentAs:"encoding-type"},Parts:{required:!0,type:"array",location:"xml",sentAs:"Part",items:{type:"object",parameters:{PartNumber:{sentAs:"PartNumber"},ETag:{sentAs:"ETag"}}}},Callback:{location:"header",sentAs:"callback",withPrefix:!0,type:"callback",parameters:{CallbackUrl:{required:!0},CallbackBody:{required:!0},CallbackHost:{},CallbackBodyType:{}}}}},CompleteMultipartUploadOutput:{data:{type:"xml",xmlRoot:"CompleteMultipartUploadResult"},parameters:{VersionId:{location:"header",sentAs:"version-id",withPrefix:!0},Location:{location:"xml",sentAs:"Location"},EncodingType:{location:"xml",sentAs:"EncodingType"},Bucket:{location:"xml",sentAs:"Bucket"},Key:{decode:!0,location:"xml",sentAs:"Key"},ETag:{location:"xml",sentAs:"ETag"},SseKms:{location:"header",sentAs:"server-side-encryption",withPrefix:!0},SseKmsKey:{location:"header",sentAs:"server-side-encryption-aws-kms-key-id",withPrefix:!0},SseC:{location:"header",sentAs:"server-side-encryption-customer-algorithm",withPrefix:!0},SseCKeyMd5:{location:"header",sentAs:"server-side-encryption-customer-key-MD5",withPrefix:!0}},CallbackResponse:{location:"body",sentAs:"CallbackResponseBody"}},GetBucketInventory:{httpMethod:"GET",urlPath:"inventory",parameters:{Bucket:{required:!0,location:"uri"}}},GetBucketInventoryOutput:{data:{type:"xml",xmlRoot:"ListInventoryConfiguration"},parameters:{Rules:{type:"array",location:"xml",sentAs:"InventoryConfiguration",items:{type:"object",parameters:{Id:{sentAs:"Id"},IsEnabled:{sentAs:"IsEnabled"},Filter:{type:"object",sentAs:"Filter",parameters:{Prefix:{sentAs:"Prefix"}}},Destination:{type:"object",sentAs:"Destination",parameters:{Format:{sentAs:"Format"},Bucket:{sentAs:"Bucket"},Prefix:{sentAs:"Prefix"}}},Schedule:{type:"object",sentAs:"Schedule",parameters:{Frequency:{sentAs:"Frequency"}}},IncludedObjectVersions:{sentAs:"IncludedObjectVersions"},OptionalFields:{type:"object",location:"xml",sentAs:"OptionalFields",parameters:{Field:{type:"array",sentAs:"Field",items:{type:"string"}}}},LastExportTime:{sentAs:"LastExportTime"}}}}}},SetBucketInventory:{httpMethod:"PUT",urlPath:"inventory",parameters:{Bucket:{required:!0,location:"uri"},Id:{location:"urlPath",sentAs:"id"},InventoryConfiguration:Se}},SetBucketInventoryOutput:{data:{type:"xml",xmlRoot:"InventoryConfiguration"},parameters:{InventoryConfiguration:Se}},DeleteInventory:{httpMethod:"DELETE",urlPath:"inventory",parameters:{Bucket:{required:!0,location:"uri"},Id:{location:"urlPath",sentAs:"id"}}},DeleteInventoryOutput:{data:{type:"xml",xmlRoot:"InventoryConfiguration"},parameters:{InventoryConfiguration:Se}},GetBucketEncryption:{httpMethod:"GET",urlPath:"encryption",parameters:{Bucket:{required:!0,location:"uri"}}},GetBucketEncryptionOutput:{data:{type:"xml",xmlRoot:"ServerSideEncryptionConfiguration"},parameters:{Rule:{type:"object",location:"xml",sentAs:"Rule",parameters:{ApplyServerSideEncryptionByDefault:{type:"object",sentAs:"ApplyServerSideEncryptionByDefault",parameters:{SSEAlgorithm:{sentAs:"SSEAlgorithm"},KMSMasterKeyID:{sentAs:"KMSMasterKeyID"},ProjectID:{sentAs:"ProjectID"}}}}}}},SetBucketEncryption:{httpMethod:"PUT",urlPath:"encryption",data:{xmlRoot:"ServerSideEncryptionConfiguration"},parameters:{Bucket:{required:!0,location:"uri"},Rule:Ee}},SetBucketEncryptionOutput:{data:{type:"xml",xmlRoot:"ServerSideEncryptionConfiguration"},parameters:{Rule:Ee}},DeleteBucketEncryption:{httpMethod:"DELETE",urlPath:"encryption",parameters:{Bucket:{required:!0,location:"uri"}}},DeleteBucketEncryptionOutput:{data:{type:"xml",xmlRoot:"ServerSideEncryptionConfiguration"},parameters:{Rule:Ee}},GetBucketRequesterPay:{httpMethod:"GET",urlPath:"requestPayment",parameters:{Bucket:{required:!0,location:"uri"}}},GetBucketRequesterPayOutput:{data:{type:"xml",xmlRoot:"RequestPaymentConfiguration"},parameters:{Payer:{location:"xml",sentAs:"Payer"}}},SetBucketRequesterPay:{httpMethod:"PUT",urlPath:"requestPayment",data:{xmlRoot:"RequestPaymentConfiguration"},parameters:{Bucket:{required:!0,location:"uri"},Payer:{location:"xml",sentAs:"Payer"}}},SetBucketRequesterPayOutput:{data:{type:"xml",xmlRoot:"RequestPaymentConfiguration"},parameters:{Payer:{location:"xml",sentAs:"Payer"}}},OptionsBucket:{httpMethod:"OPTIONS",parameters:{Bucket:{required:!0,location:"uri"},Origin:{required:!0,location:"header",sentAs:"Origin"},AccessControlRequestMethods:{required:!0,type:"array",location:"header",sentAs:"Access-Control-Request-Method",items:{type:"string"}},AccessControlRequestHeaders:{type:"array",location:"header",sentAs:"Access-Control-Request-Headers",items:{type:"string"}}}},OptionsBucketOutput:{parameters:{AllowOrigin:{location:"header",sentAs:"access-control-allow-origin"},AllowHeader:{location:"header",sentAs:"access-control-allow-headers"},AllowMethod:{location:"header",sentAs:"access-control-allow-methods"},ExposeHeader:{location:"header",sentAs:"access-control-expose-headers"},MaxAgeSeconds:{location:"header",sentAs:"access-control-max-age"}}},OptionsObject:{httpMethod:"OPTIONS",parameters:{Bucket:{required:!0,location:"uri"},Key:{required:!0,location:"uri"},Origin:{required:!0,location:"header",sentAs:"Origin"},AccessControlRequestMethods:{required:!0,type:"array",location:"header",sentAs:"Access-Control-Request-Method",items:{type:"string"}},AccessControlRequestHeaders:{type:"array",location:"header",sentAs:"Access-Control-Request-Headers",items:{type:"string"}}}},OptionsObjectOutput:{parameters:{AllowOrigin:{location:"header",sentAs:"access-control-allow-origin"},AllowHeader:{location:"header",sentAs:"access-control-allow-headers"},AllowMethod:{location:"header",sentAs:"access-control-allow-methods"},ExposeHeader:{location:"header",sentAs:"access-control-expose-headers"},MaxAgeSeconds:{location:"header",sentAs:"access-control-max-age"}}},SetMirrorBackToSource:{httpMethod:"PUT",urlPath:"mirrorBackToSource",parameters:{Bucket:{required:!0,location:"uri"},ApiPath:{location:"uri"},Rules:{required:!0,location:"body"}}},SetMirrorBackToSourceOutput:{data:{type:"body"},parameters:{Rules:{location:"body"}}},GetMirrorBackToSource:{httpMethod:"GET",urlPath:"mirrorBackToSource",parameters:{Bucket:{required:!0,location:"uri"},ApiPath:{location:"uri"}}},GetMirrorBackToSourceOutput:{data:{type:"body"},parameters:{Rules:{location:"body"}}},deleteMirrorBackToSource:{httpMethod:"DELETE",urlPath:"mirrorBackToSource",parameters:{Bucket:{required:!0,location:"uri"},ApiPath:{location:"uri"}}},GetBucketDirectColdAccess:{httpMethod:"GET",urlPath:"directcoldaccess",parameters:{Bucket:{required:!0,location:"uri"}}},GetBucketDirectColdAccessOutput:{data:{type:"xml",xmlRoot:"DirectColdAccessConfiguration"},parameters:{Status:{location:"xml",sentAs:"Status"}}},SetBucketDirectColdAccess:{httpMethod:"PUT",urlPath:"directcoldaccess",data:{xmlRoot:"DirectColdAccessConfiguration",md5:!0},parameters:{Bucket:{required:!0,location:"uri"},Status:{required:!0,location:"xml",sentAs:"Status"}}},SetBucketDirectColdAccessOutput:{data:{type:"xml",xmlRoot:"DirectColdAccessConfiguration"},parameters:{Status:{location:"xml",sentAs:"Status"}}},DeleteBucketDirectColdAccess:{httpMethod:"DELETE",urlPath:"directcoldaccess",parameters:{Bucket:{required:!0,location:"uri"}}},DeleteBucketDirectColdAccessOutput:{data:{type:"xml",xmlRoot:"DirectColdAccessConfiguration"},parameters:{Status:{location:"xml",sentAs:"Status"}}},GetBucketCustomDomain:{httpMethod:"GET",urlPath:"customdomain",parameters:{Bucket:{required:!0,location:"uri"}}},GetBucketCustomDomainOutput:{data:{type:"xml",xmlRoot:"ListBucketCustomDomainsResult"},parameters:{Domains:{location:"xml",type:"array",sentAs:"Domains",items:{type:"object",parameters:{DomainName:{sentAs:"DomainName"},Value:{sentAs:"CreateTime"}}}}}},SetBucketCustomDomain:{httpMethod:"PUT",parameters:{Bucket:{required:!0,location:"uri"},DomainName:{location:"urlPath",sentAs:"customdomain"}}},DeleteBucketCustomDomain:{httpMethod:"DELETE",parameters:{Bucket:{required:!0,location:"uri"},DomainName:{location:"urlPath",sentAs:"customdomain"}}},GetCDNNotifyConfiguration:{httpMethod:"GET",urlPath:"CDNNotifyConfiguration",parameters:{Bucket:{required:!0,location:"uri"}}},GetCDNNotifyConfigurationOutput:{data:{type:"xml",xmlRoot:"CDNNotifyConfiguration"},parameters:{Domain:{location:"xml",type:"array",sentAs:"Domain",items:{type:"object",parameters:{Name:{sentAs:"Name"},Events:{type:"array",items:{type:"adapter"},sentAs:"Event"}}}}}},SetCdnNotifyConfiguration:{httpMethod:"PUT",urlPath:"CDNNotifyConfiguration",data:{xmlRoot:"CDNNotifyConfiguration",xmlAllowEmpty:!0},parameters:{Bucket:{required:!0,location:"uri"},Domain:{location:"xml",sentAs:"Domain",type:"array",items:{type:"object",parameters:{Name:{type:"string",sentAs:"Name"},Event:{type:"array",items:{type:"adapter"},sentAs:"Event"}}}}}},GetQuota:{httpMethod:"GET",urlPath:"quota"},GetQuotaOutput:{data:{type:"xml",xmlRoot:"MaxBucketNumber"},parameters:{Size:{location:"xml",sentAs:"Number"}}},GetWorkflowTrigger:{httpMethod:"GET",urlPath:"triggerpolicy",parameters:{Bucket:{required:!0,location:"uri"},ApiPath:{location:"uri"}}},GetWorkflowTriggerOutput:{data:{type:"body"},parameters:{rules:{location:"body"}}},DeleteWorkflowTrigger:{httpMethod:"DELETE",urlPath:"triggerpolicy",parameters:{Bucket:{required:!0,location:"uri"},ApiPath:{location:"uri"}}},CreateWorkflowTrigger:{httpMethod:"PUT",urlPath:"triggerpolicy",parameters:{Bucket:{required:!0,location:"uri"},ApiPath:{location:"uri"},Rule:{required:!0,location:"body"}}},RestoreFailedWorkflowExecution:{httpMethod:"PUT",parameters:{ApiPath:{location:"uri"},Other_parameter:{required:!0,location:"uri",sentAs:"execution_name"},GraphName:{required:!0,location:"urlPath",sentAs:"x-workflow-graph-name"}}},CreateTemplate:{httpMethod:"POST",parameters:{ApiPath:{location:"uri"},Template:{required:!0,location:"body"}}},CreateWorkflow:{httpMethod:"POST",parameters:{ApiPath:{location:"uri"},Other_parameter:{required:!0,location:"uri",sentAs:"graph_name"},Workflow_create:{location:"urlPath",sentAs:"x-workflow-create"},Workflow:{required:!0,location:"body"}}},DeleteWorkflow:{httpMethod:"DELETE",parameters:{ApiPath:{location:"uri"},Other_parameter:{location:"uri",sentAs:"graph_name"}}},UpdateWorkflow:{httpMethod:"PUT",parameters:{ApiPath:{location:"uri"},Other_parameter:{location:"uri",sentAs:"graph_name"},Graph_name:{required:!0,location:"body"}}},GetWorkflowList:{httpMethod:"GET",parameters:{ApiPath:{location:"uri"},Other_parameter:{location:"uri",sentAs:"graph_name_prefix"},XObsLimit:{type:"number",location:"urlPath",sentAs:"x-workflow-limit"},XObsPrefix:{location:"urlPath",sentAs:"x-workflow-prefix"},XObsStart:{type:"number",location:"urlPath",sentAs:"x-workflow-start"}}},GetWorkflowListOutput:{data:{type:"body"},parameters:{workflows:{location:"body"}}},GetWorkflowTemplateList:{httpMethod:"GET",parameters:{ApiPath:{location:"uri"},Other_parameter:{location:"uri",sentAs:"template_name_prefix"},Start:{type:"number",location:"urlPath",sentAs:"x-workflow-start"},Limit:{type:"number",location:"urlPath",sentAs:"x-workflow-limit"},"X-workflow-prefix":{location:"urlPath",sentAs:"x-workflow-prefix"}}},GetWorkflowTemplateListOutput:{data:{type:"body"},parameters:{templates:{location:"body"}}},GetWorkflowInstanceList:{httpMethod:"GET",parameters:{ApiPath:{location:"uri"},Other_parameter:{location:"uri",sentAs:"execution_name_prefix"},Start:{type:"number",location:"urlPath",sentAs:"x-workflow-start"},Limit:{type:"number",location:"urlPath",sentAs:"x-workflow-limit"},Graph_name:{location:"urlPath",sentAs:"x-workflow-graph-name"},State:{location:"urlPath",sentAs:"x-workflow-execution-state"},"X-workflow-prefix":{location:"urlPath",sentAs:"x-workflow-prefix"}}},GetWorkflowInstanceListOutput:{data:{type:"body"},parameters:{instances:{location:"body"}}},DeleteTemplate:{httpMethod:"DELETE",parameters:{ApiPath:{location:"uri"},Other_parameter:{location:"uri",sentAs:"template_name"}}},GetActionTemplates:{httpMethod:"GET",parameters:{ApiPath:{location:"uri"},Other_parameter:{location:"uri",sentAs:"template_name_prefix"},XObsPrefix:{location:"urlPath",sentAs:"x-workflow-prefix"},XObsCategory:{type:"String",location:"urlPath",sentAs:"x-workflow-category"}}},GetActionTemplatesOutput:{data:{type:"body"},parameters:{templates:{location:"body"}}},GetWorkflowAuthorization:{httpMethod:"GET",parameters:{ApiPath:{location:"uri"}}},GetWorkflowAuthorizationOutput:{data:{type:"body"},parameters:{authorization:{location:"body"}}},OpenWorkflowAuthorization:{httpMethod:"POST",parameters:{ApiPath:{location:"uri"}}},CreateOnlineDecom:{httpMethod:"PUT",urlPath:"obscompresspolicy",parameters:{Bucket:{required:!0,location:"uri"},Decom:{required:!0,location:"body"}}},GetOnlineDecom:{httpMethod:"GET",urlPath:"obscompresspolicy",parameters:{Bucket:{required:!0,location:"uri"}}},GetOnlineDecomOutput:{data:{type:"body"},parameters:{Decom:{location:"body"}}},DeleteOnlineDecom:{httpMethod:"DELETE",urlPath:"obscompresspolicy",parameters:{Bucket:{required:!0,location:"uri"}}},GetPublicationTemplates:{httpMethod:"GET",parameters:{ApiPath:{location:"uri"},OtherParameter:{location:"uri",sentAs:"template_name_prefix"},XObsCategory:{location:"urlPath",sentAs:"x-workflow-category"},XObsOtatus:{location:"urlPath",sentAs:"x-workflow-status"},XObsPrefix:{location:"urlPath",sentAs:"x-workflow-prefix"}}},GetPublicationTemplatesOutput:{data:{type:"body"},parameters:{PublishedTemplates:{location:"body"}}},GetPublicationTemplateDetail:{httpMethod:"GET",parameters:{ApiPath:{location:"uri"},OtherParameter:{location:"uri",sentAs:"template_name"}}},GetPublicationTemplateDetailOutput:{data:{type:"body"},parameters:{PublishTemplate:{location:"body"}}},GetWorkflowAgreements:{httpMethod:"GET",parameters:{ApiPath:{location:"uri"},XWorkflowType:{required:!0,location:"urlPath",sentAs:"x-workflow-type"}}},GetWorkflowAgreementsOutput:{data:{type:"body"},parameters:{authorization:{location:"body"}}},OpenWorkflowAgreements:{httpMethod:"POST",parameters:{ApiPath:{location:"uri"},XWorkflowType:{required:!0,location:"urlPath",sentAs:"x-workflow-type"}}},CreateMyActionTemplate:{httpMethod:"POST",parameters:{ApiPath:{location:"uri"},OtherParameter:{location:"uri",sentAs:"template_name"},ActionTemplate:{required:!0,location:"body"}}},CreateMyActionTemplateOutput:{data:{type:"body"},parameters:{ActionTemplate:{location:"body"}}},GetMyActionTemplates:{httpMethod:"GET",parameters:{ApiPath:{location:"uri"},OtherParameter:{location:"uri",sentAs:"template_name_prefix"},XObsCategory:{location:"urlPath",sentAs:"x-workflow-category"},XObsOtatus:{location:"urlPath",sentAs:"x-workflow-status"},XObsPrefix:{location:"urlPath",sentAs:"x-workflow-prefix"}}},GetMyActionTemplatesOutput:{data:{type:"body"},parameters:{ActionTemplates:{location:"body"}}},GetMyactiontemplateDetail:{httpMethod:"GET",parameters:{ApiPath:{location:"uri"},OtherParameter:{location:"uri",sentAs:"template_name"}}},GetMyactiontemplateDetailOutput:{data:{type:"body"},parameters:{ActionTemplate:{location:"body"}}},UpdateMyActionTemplate:{httpMethod:"PUT",parameters:{ApiPath:{location:"uri"},OtherParameter:{location:"uri",sentAs:"template_name"},ActionTemplate:{required:!0,location:"body"}}},UpdateMyActionTemplateOutput:{data:{type:"body"},parameters:{ActionTemplate:{location:"body"}}},DeleteMyActionTemplate:{httpMethod:"DELETE",parameters:{ApiPath:{location:"uri"},OtherParameter:{location:"uri",sentAs:"template_name"}}},ForbidMyActionTemplate:{httpMethod:"DELETE",parameters:{ApiPath:{location:"uri"},OtherParameter:{location:"uri",sentAs:"template_name"},XObsForbid:{location:"urlPath",sentAs:"x-workflow-forbid"}}},UpdatePublicActionTemplate:{httpMethod:"PUT",parameters:{ApiPath:{location:"uri"},OtherParameter:{location:"uri",sentAs:"template_name"},PublicAction:{required:!0,location:"body"}}},GetOmPublicActionTemplates:{httpMethod:"GET",parameters:{ApiPath:{location:"uri"},OtherParameter:{location:"uri",sentAs:"template_name_prefix"},XObsCategory:{location:"urlPath",sentAs:"x-workflow-category"},XObsOtatus:{location:"urlPath",sentAs:"x-workflow-status"},XObsPrefix:{location:"urlPath",sentAs:"x-workflow-prefix"}}},GetOmPublicActionTemplatesOutput:{data:{type:"body"},parameters:{Templates:{location:"body"}}},SetBucketAlias:{httpMethod:"PUT",urlPath:"obsbucketalias",data:{xmlRoot:"CreateBucketAlias"},parameters:{Bucket:{required:!0,location:"uri"},BucketList:{location:"xml",type:"object",sentAs:"BucketList",parameters:{Bucket:{location:"xml",type:"array",items:{parameters:{sentAs:"Bucket"}}}}}}},GetBucketAlias:{httpMethod:"GET",urlPath:"obsalias",parameters:{Bucket:{required:!0,location:"uri"}}},GetBucketAliasOutput:{data:{type:"xml",xmlRoot:"AliasList"},parameters:{BucketAlias:{location:"xml",type:"object",sentAs:"BucketAlias",parameters:{Alias:{sentAs:"Alias"},BucketList:{sentAs:"Bucket",location:"xml",type:"array",wrapper:"BucketList",items:{type:"string"}}}}}},DeleteBucketAlias:{httpMethod:"DELETE",urlPath:"obsbucketalias",parameters:{Bucket:{required:!0,location:"uri"}}},BindBucketAlias:{httpMethod:"PUT",urlPath:"obsalias",data:{xmlRoot:"AliasList"},parameters:{Bucket:{required:!0,location:"uri"},Alias:{location:"xml",type:"string",sentAs:"Alias"}}},BindBucketAliasOutput:{data:{xmlRoot:"AliasList"},parameters:{Bucket:{required:!0,location:"uri"},Alias:{location:"xml",type:"string",sentAs:"Alias"}}},UnbindBucketAlias:{httpMethod:"DELETE",urlPath:"obsalias",parameters:{Bucket:{required:!0,location:"uri"}}},ListBucketsAlias:{httpMethod:"GET",urlPath:"obsbucketalias"},ListBucketsAliasOutput:{data:{type:"xml",xmlRoot:"ListBucketAliasResult"},parameters:{BucketAliasList:{location:"xml",sentAs:"BucketAliasList",type:"object",parameters:{BucketAlias:{location:"xml",type:"array",sentAs:"BucketAlias",items:{type:"object",parameters:{Alias:{sentAs:"Alias"},CreationDate:{sentAs:"CreationDate"},BucketList:{location:"xml",type:"object",sentAs:"BucketList",parameters:{Bucket:{location:"xml",type:"array",items:{parameters:{sentAs:"Bucket"}}}}}}}}}},Owner:{location:"xml",sentAs:"Owner",type:"object",parameters:{ID:{sentAs:"ID"}}}}}};function Ke(t){return Ke="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ke(t)}function He(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}var Ve=function(t,e){var n=new yt("sha1"===t?"SHA-1":"sha512"===t?"SHA-512":"SHA-256","TEXT");return n.setHMACKey(e,e instanceof ArrayBuffer?"ARRAYBUFFER":"TEXT"),{update:function(t){return n.update(t),this},digest:function(t){return"hex"===t?n.getHMAC("HEX"):"base64"===t?n.getHMAC("B64"):n.getHMAC("ARRAYBUFFER")}}},ze=function(t){if("md5"===t)return{update:function(t){return this.message?this.message+=t:this.message=t,this},digest:function(t){return"hex"===t?ne()(this.message):"base64"===t||"rawbase64"===t?(window.btoa?window.btoa:te.encode)(ne()(this.message,!1,!0)):ne()(this.message,!1,!0)}};var e=new yt("sha1"===t?"SHA-1":"sha512"===t?"SHA-512":"SHA-256","TEXT");return{update:function(t){return e.update(t),this},digest:function(t){return"hex"===t?e.getHash("HEX"):"base64"===t?e.getHash("B64"):e.getHash("ARRAYBUFFER")}}},We="e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",Xe=["inventory","acl","backtosource","policy","torrent","logging","location","storageinfo","quota","storageclass","storagepolicy","mirrorbacktosource","requestpayment","versions","versioning","versionid","uploads","uploadid","partnumber","website","notification","replication","lifecycle","deletebucket","delete","cors","restore","tagging","append","position","response-content-type","response-content-language","response-expires","response-cache-control","response-content-disposition","response-content-encoding","x-image-process","x-oss-process","encryption","obsworkflowtriggerpolicy","x-workflow-limit","x-workflow-prefix","x-workflow-start","x-workflow-template-name","x-workflow-graph-name","x-workflow-execution-state","x-workflow-category","x-workflow-prefix","x-workflow-create","directcoldaccess","customdomain","cdnnotifyconfiguration","metadata","dispolicy","obscompresspolicy","template_name","template_name_prefix","x-workflow-status","x-workflow-type","x-workflow-forbid","sfsacl","obsbucketalias","obsalias"],Ye=["content-type","content-md5","content-length","content-language","expires","origin","cache-control","content-disposition","content-encoding","x-default-storage-class","location","date","etag","host","last-modified","content-range","x-reserved","access-control-allow-origin","access-control-allow-headers","access-control-max-age","access-control-allow-methods","access-control-expose-headers","connection","x-obs-location-clustergroup-id"],Ze={"content-length":"ContentLength",date:"Date","x-reserved":"Reserved"},Qe=["STANDARD","WARM","COLD"],Je=["STANDARD","STANDARD_IA","GLACIER"],tn=["private","public-read","public-read-write","public-read-delivered","public-read-write-delivered"],en=["private","public-read","public-read-write","authenticated-read","bucket-owner-read","bucket-owner-full-control","log-delivery-write"],nn=["Everyone","LogDelivery"],rn=["http://acs.amazonaws.com/groups/global/AllUsers","http://acs.amazonaws.com/groups/global/AuthenticatedUsers","http://acs.amazonaws.com/groups/s3/LogDelivery"],on=["ObjectCreated","ObjectRemoved","ObjectCreated:*","ObjectCreated:Put","ObjectCreated:Post","ObjectCreated:Copy","ObjectCreated:CompleteMultipartUpload","ObjectRemoved:*","ObjectRemoved:Delete","ObjectRemoved:DeleteMarkerCreated"],an=["ObjectCreated","ObjectRemoved","s3:ObjectCreated:*","s3:ObjectCreated:Put","s3:ObjectCreated:Post","s3:ObjectCreated:Copy","s3:ObjectCreated:CompleteMultipartUpload","s3:ObjectRemoved:*","s3:ObjectRemoved:Delete","s3:ObjectRemoved:DeleteMarkerCreated"],sn=["CreateBucket","SetBucketAlias","BindBucketAlias","UnbindBucketAlias","DeleteBucketAlias","GetBucketAlias"],cn="HeadApiVersion",un={signature:"obs",headerPrefix:"x-obs-",headerMetaPrefix:"x-obs-meta-",authPrefix:"OBS"},ln={signature:"v2",headerPrefix:"x-amz-",headerMetaPrefix:"x-amz-meta-",authPrefix:"AWS"};function pn(t,e,n){if(0===(t=String(t)).length)return"";if(n)return t;var r;if(e){r=[];var o,i=function(t,e){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!n){if(Array.isArray(t)||(n=function(t,e){if(t){if("string"==typeof t)return He(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?He(t,e):void 0}}(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var r=0,o=function(){};return{s:o,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return a=t.done,t},e:function(t){s=!0,i=t},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}(t);try{for(i.s();!(o=i.n()).done;){var a=o.value;r.push(e.indexOf(a)>=0?a:encodeURIComponent(a))}}catch(t){i.e(t)}finally{i.f()}r=r.join("")}else r=encodeURIComponent(t);return r.replace(/!/g,"%21").replace(/\*/g,"%2A").replace(/'/g,"%27").replace(/\(/g,"%28").replace(/\)/g,"%29")}function fn(t){return JSON?JSON.stringify(t):""}function dn(t,e){var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){var o=String(r).toLowerCase();0===o.indexOf(t)&&(n[o.slice(t.length)]=e[r])}return n}function hn(t){return"[object Function]"===Object.prototype.toString.call(t)}function mn(t){return"[object Object]"===Object.prototype.toString.call(t)}function gn(t,e){if("object"===Ke(t))return e(null,t);try{return e(null,re.parseString(t))}catch(t){return e(t,null)}}function vn(t){var e=new Date(Date.parse(t)),n=e.getUTCHours(),r=e.getUTCMinutes(),o=e.getUTCSeconds(),i=e.getUTCDate(),a=e.getUTCMonth()+1,s="";return s+=e.getUTCFullYear()+"-",a<10&&(s+="0"),s+=a+"-",i<10&&(s+="0"),s+=i+"T",n<10&&(s+="0"),s+=n+":",r<10&&(s+="0"),s+=r+":",o<10&&(s+="0"),s+(o+"Z")}function yn(t){var e=new Date(Date.parse(t)),n=e.getUTCHours(),r=e.getUTCMinutes(),o=e.getUTCSeconds(),i=e.getUTCDate(),a=e.getUTCMonth()+1,s="",c="";return s+=e.getUTCFullYear(),a<10&&(s+="0"),s+=a,i<10&&(s+="0"),c+=(s+=i)+"T",n<10&&(c+="0"),c+=n,r<10&&(c+="0"),c+=r,o<10&&(c+="0"),[s,c+=o+"Z"]}function bn(t){var e=[],n={};for(var r in t)({}).hasOwnProperty.call(t,r)&&(e.push(r.toLowerCase()),n[r.toLowerCase()]=t[r]);e=e.sort();for(var o="",i="",a=0;a<e.length;a++)0!==a&&(o+=";"),o+=e[a],i+=e[a]+":"+n[e[a]]+"\n";return[o,i]}function wn(t,e,n,r){var o=Ve("sha256","AWS4"+e).update(t).digest(),i=Ve("sha256",o).update(n).digest(),a=Ve("sha256",i).update("s3").digest(),s=Ve("sha256",a).update("aws4_request").digest();return Ve("sha256",s).update(r).digest("hex")}function xn(t,e,n,r,o){var i="AWS4-HMAC-SHA256\n";return i+=e+"\n",i+=t+"/"+r+"/s3/aws4_request\n",wn(t,n,r,i+=ze("sha256").update(o).digest("hex"))}function _n(t){this.log=t,this.ak=null,this.sk=null,this.securityToken=null,this.isSecure=!0,this.server=null,this.pathStyle=!1,this.signatureContext=null,this.isSignatureNegotiation=!0,this.bucketSignatureCache={},this.region="region",this.port=null,this.timeout=300,this.obsSdkVersion="3.22.3",this.isCname=!1,this.bucketEventEmitters={},this.useRawXhr=!1}_n.prototype.encodeURIWithSafe=pn,_n.prototype.mimeTypes={"7z":"application/x-7z-compressed",aac:"audio/x-aac",ai:"application/postscript",aif:"audio/x-aiff",asc:"text/plain",asf:"video/x-ms-asf",atom:"application/atom+xml",avi:"video/x-msvideo",bmp:"image/bmp",bz2:"application/x-bzip2",cer:"application/pkix-cert",crl:"application/pkix-crl",crt:"application/x-x509-ca-cert",css:"text/css",csv:"text/csv",cu:"application/cu-seeme",deb:"application/x-debian-package",doc:"application/msword",docx:"application/vnd.openxmlformats-officedocument.wordprocessingml.document",dvi:"application/x-dvi",eot:"application/vnd.ms-fontobject",eps:"application/postscript",epub:"application/epub+zip",etx:"text/x-setext",flac:"audio/flac",flv:"video/x-flv",gif:"image/gif",gz:"application/gzip",htm:"text/html",html:"text/html",ico:"image/x-icon",ics:"text/calendar",ini:"text/plain",iso:"application/x-iso9660-image",jar:"application/java-archive",jpe:"image/jpeg",jpeg:"image/jpeg",jpg:"image/jpeg",js:"text/javascript",json:"application/json",latex:"application/x-latex",log:"text/plain",m4a:"audio/mp4",m4v:"video/mp4",mid:"audio/midi",midi:"audio/midi",mov:"video/quicktime",mp3:"audio/mpeg",mp4:"video/mp4",mp4a:"audio/mp4",mp4v:"video/mp4",mpe:"video/mpeg",mpeg:"video/mpeg",mpg:"video/mpeg",mpg4:"video/mp4",oga:"audio/ogg",ogg:"audio/ogg",ogv:"video/ogg",ogx:"application/ogg",pbm:"image/x-portable-bitmap",pdf:"application/pdf",pgm:"image/x-portable-graymap",png:"image/png",pnm:"image/x-portable-anymap",ppm:"image/x-portable-pixmap",ppt:"application/vnd.ms-powerpoint",pptx:"application/vnd.openxmlformats-officedocument.presentationml.presentation",ps:"application/postscript",qt:"video/quicktime",rar:"application/x-rar-compressed",ras:"image/x-cmu-raster",rss:"application/rss+xml",rtf:"application/rtf",sgm:"text/sgml",sgml:"text/sgml",svg:"image/svg+xml",swf:"application/x-shockwave-flash",tar:"application/x-tar",tif:"image/tiff",tiff:"image/tiff",torrent:"application/x-bittorrent",ttf:"application/x-font-ttf",txt:"text/plain",wav:"audio/x-wav",webm:"video/webm",wma:"audio/x-ms-wma",wmv:"video/x-ms-wmv",woff:"application/x-font-woff",wsdl:"application/wsdl+xml",xbm:"image/x-xbitmap",xls:"application/vnd.ms-excel",xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",xml:"application/xml",xpm:"image/x-xpixmap",xwd:"image/x-xwindowdump",yaml:"text/yaml",yml:"text/yaml",zip:"application/zip"},_n.prototype.refresh=function(t,e,n){this.ak=t?String(t).trim():null,this.sk=e?String(e).trim():null,this.securityToken=n?String(n).trim():null},_n.prototype.initFactory=function(t,e,n,r,o,i,a,s,c,u,l,p,f,d,h,m){if(this.refresh(t,e,u),this.urlPrefix=f||"",this.regionDomains=d||null,this.setRequestHeaderHook=h||null,!r)throw new Error("Server is not set");0===(r=String(r).trim()).indexOf("https://")?(r=r.slice(8),n=!0):0===r.indexOf("http://")&&(r=r.slice(7),n=!1);for(var g=r.lastIndexOf("/");g>=0;)g=(r=r.slice(0,g)).lastIndexOf("/");(g=r.indexOf(":"))>=0&&(s=r.slice(g+1),r=r.slice(0,g)),this.server=r,/^[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+$/.test(this.server)&&(o=!0),void 0!==n&&(this.isSecure=n),void 0!==o&&(this.pathStyle=o),i=void 0!==i?String(i).trim().toLowerCase():"obs",void 0!==l&&(this.isSignatureNegotiation=l),this.isCname=p,(this.pathStyle||this.isCname)&&(this.isSignatureNegotiation=!1,"obs"===i&&(i="v2")),this.signatureContext="obs"===i?un:ln,void 0!==a&&(this.region=String(a)),this.port=s?parseInt(s,10):this.isSecure?443:80,void 0!==c&&(this.timeout=parseInt(c,10)),void 0!==m&&(this.useRawXhr=m)},_n.prototype.SseKmsAdapter=function(t,e){t=t||"";var n=(t=String(t)).indexOf("aws:");return"obs"===e.signature?0===n?t.slice(4):t:0===n?t:"aws:"+t},_n.prototype.BucketAdapter=function(t,e){t=t||"";var n=(t=String(t)).indexOf("arn:aws:s3:::");return"obs"===e.signature?0===n?t.slice(13):t:0===n?t:"arn:aws:s3:::"+t},_n.prototype.EventAdapter=function(t,e){return t=t||"",t=String(t),"obs"===e.signature?on.indexOf(t)>=0?t:an.indexOf(t)>=0?t.substring(3):"":an.indexOf(t)>=0?t:on.indexOf(t)>=0?"s3:"+t:""},_n.prototype.URIAdapter=function(t,e){return t=t||"",t=String(t),"obs"===e.signature?nn.indexOf(t)>=0?t:"AllUsers"===t||"http://acs.amazonaws.com/groups/global/AllUsers"===t?"Everyone":"":rn.indexOf(t)>=0?t:"Everyone"===t||"AllUsers"===t?"http://acs.amazonaws.com/groups/global/AllUsers":"AuthenticatedUsers"===t?"http://acs.amazonaws.com/groups/global/AuthenticatedUsers":"LogDelivery"===t?"http://acs.amazonaws.com/groups/s3/LogDelivery":""},_n.prototype.StorageClassAdapter=function(t,e){return t=t||"",t=String(t).toUpperCase(),"obs"===e.signature?Qe.indexOf(t)>=0?t:"STANDARD_IA"===t?"WARM":"GLACIER"===t?"COLD":"":Je.indexOf(t)>=0?t:"WARM"===t?"STANDARD_IA":"COLD"===t?"GLACIER":""},_n.prototype.ACLAdapter=function(t,e){return t=t||"",t=String(t).toLowerCase(),"obs"===e.signature?tn.indexOf(t)>=0?t:"":("public-read-delivered"===t?t="public-read":"public-read-write-delivered"===t&&(t="public-read-write"),en.indexOf(t)>=0?t:"")},_n.prototype.doExec=function(t,e,n){var r=this.makeParam(t,e);if("err"in r)return n(r.err,null);this.sendRequest(t,r,n)},_n.prototype.doNegotiation=function(t,e,n,r,o,i){var a=null,s=this;if(o&&e.Bucket){var c=this.bucketSignatureCache[e.Bucket];if(c&&c.signatureContext&&c.expireTime>(new Date).getTime()){e.signatureContext=c.signatureContext;var u=this.makeParam(t,e);return"err"in u?n(u.err,null):(u.signatureContext=c.signatureContext,this.sendRequest(t,u,n))}if((a=this.bucketEventEmitters[e.Bucket])||(a={s:0,n:function(){for(;this.e&&this.e.length>0;)this.e.shift()()}},this.bucketEventEmitters[e.Bucket]=a),a.s)return void a.e.push((function(){s.doNegotiation(t,e,n,r,o,i)}));a.e=[],a.s=1}this.doExec(cn,r?{Bucket:e.Bucket}:{},(function(o,c){if(o)return n(o,null),void(a&&(a.s=0,a.n()));if(r&&404===c.CommonMsg.Status||c.CommonMsg.Status>=500)return n(o,c),void(a&&(a.s=0,a.n()));var u=ln;c.CommonMsg.Status<300&&c.InterfaceResult&&c.InterfaceResult.ApiVersion>="3.0"&&(u=un),i&&(s.bucketSignatureCache[e.Bucket]={signatureContext:u,expireTime:(new Date).getTime()+15+60*Math.ceil(5*Math.random())*1e3}),a&&(a.s=0,a.n()),e.signatureContext=u;var l=s.makeParam(t,e);if("err"in l)return n(l.err,null);l.signatureContext=u,s.sendRequest(t,l,n)}))},_n.prototype.exec=function(t,e,n){var r=this;r.isSignatureNegotiation&&t!==cn?"ListBuckets"===t?r.doNegotiation(t,e,n,!1,!1,!1):sn.indexOf(t)>-1?r.doNegotiation(t,e,(function(o,i){if(!o&&400===i.CommonMsg.Status&&"Unsupported Authorization Type"===i.CommonMsg.Message&&e.signatureContext&&"v2"===e.signatureContext.signature){e.signatureContext=ln;var a=r.makeParam(t,e);return"err"in a?n(a.err,null):(a.signatureContext=e.signatureContext,void r.sendRequest(t,a,n))}n(o,i)}),!1,!0,!1):r.doNegotiation(t,e,n,!0,!0,!0):r.doExec(t,e,n)},_n.prototype.sliceBlob=function(t,e,n,r){return r=r||t.type,t.mozSlice?t.mozSlice(e,n,r):t.webkitSlice?t.webkitSlice(e,n,r):t.slice(e,n,r)},_n.prototype.toXml=function(t,e,n,r,o){var i="";if(null!==n)return i+this.buildXml(t,e,n,r,o);for(var a in e)if(a in t){var s=e[a].sentAs||a;i+=this.buildXml(t,e[a],a,s,o)}return i},_n.prototype.buildXml=function(t,e,n,r,o){var i="",a=e.type;if("array"===a)for(var s=0;s<t[n].length;s++)if("object"===e.items.type){if(!t[n][s])return i;var c=this.toXml(t[n][s],e.items.parameters,null,null,o);""!==c&&(i+="<"+r+">"+c+"</"+r+">")}else"adapter"===e.items.type?i+="<"+r+">"+String(this[n+"Adapter"](t[n][s],o)).replace(/&/g,"&").replace(/'/g,"'").replace(/"/g,""")+"</"+r+">":"array"!==e.items.type&&(i+="<"+r+">"+String(t[n][s]).replace(/&/g,"&").replace(/'/g,"'").replace(/"/g,""")+"</"+r+">");else if("object"===a){if(!t[n])return i;var u=this.toXml(t[n],e.parameters,null,null,o);""!==u&&(i+="<"+r,"data"in e&&("xsiNamespace"in e.data&&(i+=' xmlns:xsi="'+e.data.xsiNamespace+'"'),"xsiType"in e.data&&(i+=' xsi:type="'+t[n][e.data.xsiType]+'"')),i+=">",i+=u+"</"+r+">")}else"adapter"===a?i+="<"+r+">"+String(this[n+"Adapter"](t[n],o)).replace(/&/g,"&").replace(/'/g,"'").replace(/"/g,""")+"</"+r+">":"ignore"!==a&&(i+="<"+r+">"+String(t[n]).replace(/&/g,"&").replace(/'/g,"'").replace(/"/g,""")+"</"+r+">");if(i&&e.wrapper){var l=e.wrapper;i="<"+l+">"+i+"</"+l+">"}return i},_n.prototype.jsonToObject=function(t,e,n,r){var o={};if(null!==n)this.buildObject(t,e,n,o,r);else for(var i in t)({}).hasOwnProperty.call(t,i)&&this.buildObject(t,e,i,o,r);return o},_n.prototype.buildObject=function(t,e,n,r,o){var i=function(e){return e&&t[n].decode&&o?decodeURIComponent(e.replace(/\+/g,"%20")):e};if(mn(e)){var a=!0,s=t[n].wrapper;if(s&&s in e&&(a=mn(e=e[s])),a){var c=t[n].sentAs||n;if(c in e)if("object"===t[n].type)r[n]=this.jsonToObject(t[n].parameters,e[c],null,o);else if("array"===t[n].type){var u=[];if(function(t){return"[object Array]"===Object.prototype.toString.call(t)}(e[c]))for(var l=0;l<e[c].length;l++)u[l]="object"===t[n].items.type?this.jsonToObject(t[n].items.parameters,e[c][l],null,o):i(e[c][l]["#text"]);else u[0]="object"===t[n].items.type?this.jsonToObject(t[n].items.parameters,e[c],null,o):i(e[c]["#text"]||"");r[n]=u}else r[n]=i(e[c]["#text"])}}void 0===r[n]&&("object"===t[n].type?r[n]=t[n].parameters?this.jsonToObject(t[n].parameters,null,null,o):{}:"array"===t[n].type&&(r[n]=[]))},_n.prototype.makeParam=function(t,e){var n=e.signatureContext||this.signatureContext,r="obs"===n.signature?Ae[t]:qe[t],o=r.httpMethod,i="/",a="",s="",c={},u={};for(var l in u.$requestParam=e,"urlPath"in r&&(a+="?",a+=r.urlPath),r.parameters)if({}.hasOwnProperty.call(r.parameters,l)){var p=r.parameters[l];if("Bucket"===l&&this.isCname)continue;var f=e[l];if("callback"===p.type&&void 0===f&&p.parameters&&(void 0!==e.CallbackUrl||void 0!==e.CallbackBody)){f={};for(var d=0,h=Object.keys(p.parameters);d<h.length;d++){var m=h[d],g=p.parameters[m],v=e[m];if(g.required&&(null==v||"[object String]"===Object.prototype.toString.call(v)&&""===v))return u.err=m+" is a required element!",this.log.runLog("error",t,u.err),u;f[m.slice(0,1).toLowerCase()+m.slice(1)]=v}}if(p.required&&(null==f||"[object String]"===Object.prototype.toString.call(f)&&""===f))return u.err=l+" is a required element!",this.log.runLog("error",t,u.err),u;if(null!=f){if("srcFile"===p.type||"dstFile"===p.type){u[p.type]=f;continue}"plain"===p.type&&(u[l]=f);var y=p.sentAs||l;if(p.withPrefix&&(y=n.headerPrefix+y),"uri"===p.location)"/"!==i&&(i+="/"),i+=f;else if("header"===p.location){var b=p.encodingSafe||" ;/?:@&=+$,";if("object"===p.type){if(n.headerMetaPrefix===y)for(var w in f)if({}.hasOwnProperty.call(f,w)){var x=f[w];c[0===(w=String(w).trim().toLowerCase()).indexOf(y)?w:y+w]=pn(x,b)}}else if("array"===p.type){var _=[];for(var A in f)({}).hasOwnProperty.call(f,A)&&(_[A]=pn(f[A],b));c[y]=_}else if("password"===p.type){var k=window.btoa?window.btoa:te.encode;c[y]=k(f),c[p.pwdSentAs||y+"-MD5"]=this.rawBufMD5(f)}else if("number"===p.type&&Number(f))c[y]=pn(String(f),b);else if("boolean"===p.type)c[y]=pn(f?"true":"false",b);else if("callback"===p.type)c[y]=te.encode(JSON.stringify(f));else if("adapter"===p.type){var E=this[l+"Adapter"](f,n);E&&(c[y]=pn(String(E),b))}else c[y]=pn(String(f),b,p.skipEncoding)}else if("urlPath"===p.location){var S=""===a?"?":"&",T=f;("number"!==p.type||"number"===p.type&&Number(T)>=0)&&(a+=S+pn(y,"/")+"="+pn(String(T),"/"))}else if("xml"===p.location){var C=this.toXml(e,p,l,y,n);C&&(s+=C)}else"body"===p.location&&(s=f)}}var P="file"===u.dstFile;if("Content-Type"in c||P||(c["Content-Type"]="binary/octet-stream"),"data"in r&&"xmlRoot"in r.data&&(s||r.data.xmlAllowEmpty)){var O=r.data.xmlRoot;s="<"+O+">"+s+"</"+O+">",c["Content-Type"]="application/xml"}if(P&&(u.rawUri=i),c.Host=this.server+(80===this.port||443===this.port?"":":"+this.port),!this.pathStyle&&!this.isCname){var L=i.split("/");if(L.length>=2&&L[1]){c.Host=L[1]+"."+c.Host;var M=i.replace(L[1],"");0===M.indexOf("//")&&(M=M.slice(1)),"v4"===n.signature?i=M:"/"===M&&(i+="/"),u.requestUri=pn(M,"/")}}if(u.method=o,u.uri=pn(i,"/"),u.urlPath=a,s&&(r.data&&r.data.md5&&(c["Content-MD5"]=this.bufMD5(s),c["Content-Length"]=0===s.length?"0":String(s.length)),u.xml=s,this.log.runLog("debug",t,"request content:"+s)),u.headers=c,"srcFile"in u&&(u.srcFile instanceof window.File||u.srcFile instanceof window.Blob)){var R=u.srcFile.size;if("Content-Length"in u.headers||"PartSize"in u||"Offset"in u){var I,j=u.Offset;j=j&&j>=0&&j<R?j:0,I=(I="PartSize"in u?u.PartSize:"Content-Length"in u.headers?parseInt(u.headers["Content-Length"],10):R)&&I>0&&I<=R-j?I:R-j,u.PartSize=I,u.Offset=j,u.headers["Content-Length"]=String(u.PartSize)}}return u},_n.prototype.parseCommonHeaders=function(t,e,n){for(var r in Ze)({}).hasOwnProperty.call(Ze,r)&&(t.InterfaceResult[Ze[r]]=e[r]);t.InterfaceResult.RequestId=e[n.headerPrefix+"request-id"],t.InterfaceResult.Id2=e[n.headerPrefix+"id-2"],t.CommonMsg.RequestId=t.InterfaceResult.RequestId,t.CommonMsg.Id2=t.InterfaceResult.Id2},_n.prototype.contrustCommonMsg=function(t,e,n,r){for(var o in t.InterfaceResult={},this.parseCommonHeaders(t,n,r),e)if("header"===e[o].location){var i=e[o].sentAs||o;if(e[o].withPrefix&&(i=r.headerPrefix+i),"object"===e[o].type)t.InterfaceResult[o]=dn(i,n);else{var a=null;i in n?a=n[i]:i.toLowerCase()in n&&(a=n[i.toLowerCase()]),null!==a&&(t.InterfaceResult[o]=a)}}},_n.prototype.getRequest=function(t,e,n,r,o,i){var a=this.regionDomains,s={},c=this.log,u="obs"===n.signature?Ae[t+"Output"]:qe[t+"Output"],l=(u=u||{}).parameters||{};s.CommonMsg={Status:e.status,Code:"",Message:"",HostId:"",RequestId:"",InterfaceResult:null};var p=e.headers,f=fn(p);c.runLog("info",t,"get response start, statusCode:"+e.status),c.runLog("debug",t,"response msg :statusCode:"+e.status+", headers:"+f);var d=function(){var e="Status:"+s.CommonMsg.Status+", Code:"+s.CommonMsg.Code+", Message:"+s.CommonMsg.Message;c.runLog("debug",t,"exec interface "+t+" finish, "+e),i(null,s)};if(e.status>=300&&e.status<400&&304!==e.status&&r<=5){var h=p.location||p.Location;if(h){var m="http code is 3xx, need to redirect to "+h;c.runLog("warn",t,m);var g=new Error("redirect");return g.location=h,g.bucketLocation=p["x-amz-bucket-region"]||p["x-obs-bucket-region"],i(g)}var v=p["x-amz-bucket-region"]||p["x-obs-bucket-location"];if(v&&a[v]){var y=(this.isSecure?"https://":"http://")+a[v];hn(this.setRequestHeaderHook)&&this.setRequestHeaderHook(p,o,t,a[v]);var b="get redirect code 3xx, need to redirect to"+y;c.runLog("error",t,b);var w=new Error("redirect");return w.location=y,i(w)}c.runLog("error",t,"get redirect code 3xx, but no location in headers")}if(e.status<300){var x=e.data;this.contrustCommonMsg(s,l,p,n);var _="Status: "+s.CommonMsg.Status+", headers: "+f;if(x&&(_+="body length: "+x.length,c.runLog("debug",t,"response body length:"+x.length)),c.runLog("debug",t,_),x&&"data"in u){if(o.CallbackUrl&&u.CallbackResponse)return s.InterfaceResult[u.CallbackResponse.sentAs]=x,void d();if("xml"===u.data.type){var A=this;return gn(x,(function(e,n){if(e)return c.runLog("error",t,"change xml to json err ["+fn(e)+"]"),i(e,null);var r=n;u.data.xmlRoot&&u.data.xmlRoot in r&&(r=n[u.data.xmlRoot]);var o=!!r.EncodingType;if(mn(r))for(var a in l)"xml"===l[a].location&&(s.InterfaceResult[a]=A.jsonToObject(l,r,a,o)[a]);d()}))}if("body"===u.data.type)for(var k in l)if("body"===l[k].location){s.InterfaceResult[k]=x;break}}return d()}var E=e.data,S="Status: "+s.CommonMsg.Status+", headers: "+f;return""!==E&&(S+="body: "+E,c.runLog("debug",t,"response body :"+E)),s.CommonMsg.RequestId=p[n.headerPrefix+"request-id"],s.CommonMsg.Id2=p[n.headerPrefix+"id2"],s.CommonMsg.Indicator=p["x-reserved-indicator"],c.runLog("info",t,"request finished with request id:"+s.CommonMsg.RequestId),c.runLog("debug",t,S),E?gn(E,(function(e,n){if(e)c.runLog("error",t,"change xml to json err ["+fn(e)+"]"),s.CommonMsg.Message=e.message;else if(n){if("Error"in n){var r=n.Error;for(var o in r)r[o]&&r[o]["#text"]&&(s.CommonMsg[o]=r[o]["#text"])}else{var i=n;"code"in i&&(s.CommonMsg.Code=i.code),"message"in i&&(s.CommonMsg.Message=i.message),"hostId"in i&&(s.CommonMsg.HostId=i.hostId),"request_id"in i&&i.request_id&&(s.CommonMsg.RequestId=i.request_id)}c.runLog("error",t,"request error with error code:"+s.CommonMsg.Code+", error message:"+s.CommonMsg.Message+", request id:"+s.CommonMsg.RequestId)}d()})):d()},_n.prototype.makeRequest=function(t,e,n,o){var i=this.log,a=e.xml||null,s=e.signatureContext||this.signatureContext;if(delete e.headers.Authorization,"file"===e.dstFile){var c={};if(e.urlPath)for(var u=e.urlPath.slice(1).split("&"),l=0;l<u.length;l++)if(-1===u[l].indexOf("="))c[u[l]]="";else{var p=u[l].split("=");c[p[0]]=p[1]}var f=e.rawUri.split("/")[1],d=e.rawUri.slice(("/"+f+"/").length),h={CommonMsg:{Status:0,Code:"",Message:"",HostId:""},InterfaceResult:{}},m=("obs"===s.signature?Ae[t+"Output"]:qe[t+"Output"]).parameters;for(var g in m)if("body"===m[g].location){h.InterfaceResult[g]=this.createSignedUrlSync({Method:e.method,Bucket:f,Key:d,Expires:3600,Headers:e.headers,QueryParams:c,signatureContext:s});break}return o(null,h)}var v,y=e.$requestParam.RequestDate,b=Object.prototype.toString.call(y);if("[object Date]"===b)v=y;else if("[object String]"===b)try{(v=new Date).setTime(Date.parse(y))}catch(t){}v||(v=new Date);var w=v.toUTCString(),x="v4"===s.signature.toLowerCase();e.headers[s.headerPrefix+"date"]=x?yn(w)[1]:w;var _=(e.requestUri?e.requestUri:e.uri)+e.urlPath;this.ak&&this.sk&&t!==cn&&(this.securityToken&&(e.headers[s.headerPrefix+"security-token"]=this.securityToken),x?this.v4Auth(e,t,s):this.doAuth(e,t,s));var A=e.headers;hn(this.setRequestHeaderHook)&&this.setRequestHeaderHook(A,e.$requestParam,t);var k=A.Host,E=e.method,S={};for(var T in A)({}).hasOwnProperty.call(A,T)&&(S[T]=A[T]);S.Authorization="****";var C="method:"+E+", path:"+_+"headers:"+fn(S);a&&(C+="body:"+a),i.runLog("info",t,"prepare request parameters ok,then Send request to service start"),i.runLog("debug",t,"request msg:"+C);var P=e.protocol?0===e.protocol.toLowerCase().indexOf("https"):this.isSecure,O=e.port||this.port;delete A.Host,delete A["Content-Length"];var L="text";!e.dstFile||"file"===e.dstFile||"arraybuffer"!==e.dstFile&&"blob"!==e.dstFile||(L=String(e.dstFile));var M=v.getTime(),R=this,I=function(e){try{var n=fn(e);i.runLog("error",t,"Send request to service error ["+n+"]")}catch(n){e.toString&&i.runLog("error",t,"Send request to service error ["+e.toString()+"]")}i.runLog("info",t,"http cost "+((new Date).getTime()-M)+" ms"),o(e,null)};if(this.useRawXhr){var j=null;try{j=new XMLHttpRequest}catch(t){try{j=new ActiveXObject("Msxml2.XMLHTTP")}catch(t){try{j=new ActiveXObject("Microsoft.XMLHTTP")}catch(t){}}}if(null===j)return o(new Error("XHR is not available"),null);if(e.srcFile){if(!(e.srcFile instanceof window.File||e.srcFile instanceof window.Blob))return o(new Error("source file must be an instance of window.File or window.Blob"),null);try{var D=e.srcFile;if(e.Offset>=0&&e.PartSize>0)D=this.sliceBlob(D,e.Offset,e.Offset+e.PartSize);else if("ContentLength"in e){var B=parseInt(e.ContentLength,10);B>0&&(D=this.sliceBlob(D,0,B))}a=D}catch(t){return o(t)}}for(var N in j.open(E,(P?"https://"+this.urlPrefix+k:"http://"+this.urlPrefix+k)+_),j.withCredentials=!1,A)({}).hasOwnProperty.call(A,N)&&j.setRequestHeader(N,A[N]);j.timeout=1e3*R.timeout,j.responseType=L,e.$requestParam.cancelHook=function(){j.abort()},j.onreadystatechange=function(){if(4===j.readyState&&j.status>=200){i.runLog("info",t,"http cost "+((new Date).getTime()-M)+" ms");for(var r=j.getAllResponseHeaders().trim().split(/[\r\n]+/),a={},c=0;c<r.length;c++){var u=r[c].split(": "),l=u.shift(),p=u.join(": ");a[l.toLowerCase()]=p}var f=j.response;f||""!==L&&"text"!==L||(f=j.responseText);var d={status:j.status,headers:a,data:f};R.getRequest(t,d,s,n,e.$requestParam,o)}};var U=!1,$=function(t){U||(U=!0,I(t))};j.ontimeout=function(){$(new Error("timeout of "+j.timeout+"ms exceed"))},j.onerror=function(){$(new Error("Network Error"))},j.onabort=function(){$(new Error("Cancel"))},j.upload&&(j.upload.ontimeout=function(){$(new Error("timeout of "+j.timeout+"ms exceed"))},j.upload.onerror=function(){$(new Error("Network Error"))},j.upload.onabort=function(t){$(new Error("Cancel"))}),hn(e.ProgressCallback)&&("GET"!==E&&j.upload?"PUT"!==E&&"POST"!==E||(j.upload.onprogress=function(t){t.lengthComputable&&e.ProgressCallback(t.loaded,t.total,((new Date).getTime()-M)/1e3)}):j.onprogress=function(t){t.lengthComputable&&e.ProgressCallback(t.loaded,t.total,((new Date).getTime()-M)/1e3)}),j.send(a)}else{var F=null,G=null;if(hn(e.ProgressCallback)){var q=function(t){t.lengthComputable&&e.ProgressCallback(t.loaded,t.total,((new Date).getTime()-M)/1e3)};"GET"===E?G=q:"PUT"!==E&&"POST"!==E||(F=q)}var K=":"+O;k.indexOf(":")>=0&&(K="");var H="",V=P?"https://":"http://";if(this.urlPrefix&&hn(this.setRequestHeaderHook)&&"InitiateMultipartUpload"!==t&&"UploadPart"!==t&&"CompleteMultipartUpload"!==t){var z=!0;(e.$requestParam.hasRegion||e.$requestParam.redirectRegion)&&(z=!1);var W="";5443===O&&(W="-5443"),z?e.$requestParam.Bucket?(-1!==e.$requestParam.Bucket.indexOf(".")&&(H=V+this.urlPrefix+"/bucket"+W),H=V+this.urlPrefix+"/bucket"+W):H="/"===_.split("?")[0]?V+this.urlPrefix+W:V+this.urlPrefix+"/place"+W:H=e.$requestParam.Bucket?V+this.urlPrefix+"/region-bucket"+W:V+this.urlPrefix+"/region"+W}else H=V+k+K;var X={method:E,url:H+_,withCredentials:!1,headers:A,validateStatus:function(t){return t>=200},maxRedirects:0,responseType:L,data:a,timeout:1e3*this.timeout,onUploadProgress:F,onDownloadProgress:G,cancelToken:new(r().CancelToken)((function(t){e.$requestParam.cancelHook=t}))};if(e.srcFile){if(!(e.srcFile instanceof window.File||e.srcFile instanceof window.Blob))return o(new Error("source file must be an instance of window.File or window.Blob"),null);var Y=e.srcFile;try{if(e.Offset>=0&&e.PartSize>0)Y=this.sliceBlob(Y,e.Offset,e.Offset+e.PartSize);else if("ContentLength"in e){var Z=parseInt(e.ContentLength,10);Z>0&&(Y=this.sliceBlob(Y,0,Z))}}catch(t){return o(t)}X.data=Y}r().request(X).then((function(r){i.runLog("info",t,"http cost "+((new Date).getTime()-M)+" ms"),R.getRequest(t,r,s,n,e.$requestParam,o)})).catch((function(t){I(t)}))}},_n.prototype.sendRequest=function(t,n,r,o){void 0===o&&(o=1);var i=this;i.makeRequest(t,n,o,(function(a,s){if(a&&"redirect"===a.message){var c=function(t){var n=e().parse(t);return{hostname:n.hostname,port:n.port,host:n.hostname,protocol:n.protocol?n.protocol+":":"",query:n.query,path:n.path+(n.query?"?"+n.query:""),pathname:n.path,search:n.query?"?"+n.query:""}}(a.location);a.bucketLocation&&-1!==c.hostname.indexOf(n.$requestParam.Bucket)&&(n.$requestParam.redirectRegion=a.bucketLocation),n.headers.Host=c.hostname,n.protocol=c.protocol,n.port=c.port||(n.protocol&&0===n.protocol.toLowerCase().indexOf("https")?443:80),i.sendRequest(t,n,r,o+1)}else r(a,s)}))},_n.prototype.doAuth=function(t,e,n){for(var r=["Content-MD5","Content-Type"],o=t.method+"\n",i=0;i<r.length;i++)r[i]in t.headers&&(o+=t.headers[r[i]]),o+="\n";n.headerPrefix+"date"in t.headers||(o+=t.headers.Date),o+="\n";var a=[];for(var s in t.headers)if({}.hasOwnProperty.call(t.headers,s)){var c=s.toLowerCase();0===c.indexOf(n.headerPrefix)&&a.push({key:c,value:t.headers[s]})}a=a.sort((function(t,e){return t.key<e.key?-1:t.key>e.key?1:0}));for(var u=0;u<a.length;u++){var l=a[u].key,p=0===l.indexOf(n.headerMetaPrefix)?a[u].value.trim():a[u].value;o+=l+":"+p+"\n"}var f=t.uri;if(this.isCname&&("/"===f?f+=t.headers.Host+"/":0===f.indexOf("/")&&(f="/"+t.headers.Host+f)),t.urlPath){for(var d=t.urlPath.slice(1).split("&").sort(),h="",m=0;m<d.length;m++){var g=d[m].split("="),v=decodeURIComponent(g[0]);Xe.indexOf(v.toLowerCase())>=0&&(h+=""===h?"?":"&",h+=v,2===g.length&&g[1]&&(h+="="+decodeURIComponent(g[1])))}f+=h}o+=f,this.log.runLog("debug",e,"stringToSign:"+o),t.headers.Authorization=n.authPrefix+" "+this.ak+":"+Ve("sha1",this.sk).update(o).digest("base64")},_n.prototype.v4Auth=function(t,e,n){t.headers[n.headerPrefix+"content-sha256"]=We;var r=t.headers,o=this.log,i=null,a=null;if(n.headerPrefix+"date"in r)i=(a=r[n.headerPrefix+"date"]).slice(0,a.indexOf("T"));else{var s=yn(r.Date);i=s[0],a=s[1]}var c=this.ak+"/"+i+"/"+this.region+"/s3/aws4_request",u=bn(r),l=u[0],p=u[1],f="";if(t.urlPath){var d=t.urlPath.slice(1).split("&");d=d.sort();for(var h=0;h<d.length;h++)f+=d[h],-1===d[h].indexOf("=")&&(f+="="),h!==d.length-1&&(f+="&")}var m=t.method+"\n";m+=t.uri+"\n",m+=f+"\n",m+=p+"\n",m+=l+"\n",m+=We,o.runLog("debug",e,"canonicalRequest:"+m);var g=xn(i,a,this.sk,this.region,m);t.headers.Authorization="AWS4-HMAC-SHA256 Credential="+c+",SignedHeaders="+l+",Signature="+g},_n.prototype.bufMD5=function(t){return ze("md5").update(t).digest("base64")},_n.prototype.rawBufMD5=function(t){return ze("md5").update(t).digest("rawbase64")},_n.prototype.createSignedUrlSync=function(t){return"v4"===(t.signatureContext||this.signatureContext).signature.toLowerCase()?this.createV4SignedUrlSync(t):this.createV2SignedUrlSync(t)},_n.prototype.createV2SignedUrlSync=function(t){var e=(t=t||{}).signatureContext||this.signatureContext,n=t.Method?String(t.Method):"GET",r=t.Bucket?String(t.Bucket):null,o=t.Key?String(t.Key):null,i=t.SpecialParam?String(t.SpecialParam):null;"obs"===e.signature.toLowerCase()&&"storagePolicy"===i?i="storageClass":"v2"===e.signature.toLowerCase()&&"storageClass"===i&&(i="storagePolicy");var a=t.Policy?String(t.Policy):null,s=t.Prefix?String(t.Prefix):null,c=t.Expires?parseInt(t.Expires,10):300,u={};if(t.Headers&&t.Headers instanceof Object&&!(t.Headers instanceof Array))for(var l in t.Headers)({}).hasOwnProperty.call(t.Headers,l)&&(u[l]=t.Headers[l]);var p={};if(t.QueryParams&&t.QueryParams instanceof Object&&!(t.QueryParams instanceof Array))for(var f in t.QueryParams)({}).hasOwnProperty.call(t.QueryParams,f)&&(p[f]=t.QueryParams[f]);this.securityToken&&!p[e.headerPrefix+"security-token"]&&(p[e.headerPrefix+"security-token"]=this.securityToken);var d="",h="",m=this.server;this.isCname?h+="/"+m+"/":r&&(h+="/"+r,this.pathStyle?d+="/"+r:(m=r+"."+m,h+="/")),o&&(d+="/"+(o=pn(o,"/")),h.lastIndexOf("/")!==h.length-1&&(h+="/"),h+=o),""===h&&(h="/"),d+="?",i&&(p[i]=""),"v2"===e.signature.toLowerCase()?p.AWSAccessKeyId=this.ak:p.AccessKeyId=this.ak,c<0&&(c=300),c=parseInt((new Date).getTime()/1e3,10)+c,a&&s?(p.Policy=a,p.prefix=s):p.Expires=String(c);var g={};for(var v in u)if({}.hasOwnProperty.call(u,v)){var y=String(v).toLowerCase();("content-type"===y||"content-md5"===y||y.length>e.headerPrefix.length&&y.slice(0,e.headerPrefix.length)===e.headerPrefix)&&(g[y]=u[v])}var b=[];for(var w in p)({}).hasOwnProperty.call(p,w)&&b.push(w);b.sort();for(var x=a&&s,_=!1,A=[],k=a&&s?"":"/",E=0;E<b.length;E++){var S=b[E],T=p[S];if(d+=S=pn(S,k),(T=pn(T,k))&&(d+="="+T),(!x||"policy"!==S.toLowerCase())&&(Xe.indexOf(S.toLowerCase())>=0||0===S.toLowerCase().indexOf(e.headerPrefix))){_=!0;var C=T?S+"="+decodeURIComponent(T):S;A.push(C)}d+="&"}A=A.join("&"),_&&(A="?"+A),h+=A;var P=[n];if(P.push("\n"),"content-md5"in g&&P.push(g["content-md5"]),P.push("\n"),"content-type"in g&&P.push(g["content-type"]),P.push("\n"),x?P.push(a):P.push(String(c)),P.push("\n"),x)P.push(A);else{var O=[],L=0;for(var M in g)M.length>e.headerPrefix.length&&M.slice(0,e.headerPrefix.length)===e.headerPrefix&&(O[L++]=M);O=O.sort();for(var R=0;R<O.length;R++)P.push(O[R]),P.push(":"),P.push(g[O[R]]),P.push("\n");P.push(h)}var I=Ve("sha1",this.sk);return I.update(P.join("")),d+=x?"Signature="+pn(I.digest("base64")):"Signature="+pn(I.digest("base64"),"/"),{ActualSignedRequestHeaders:u,SignedUrl:(this.isSecure?"https":"http")+"://"+m+":"+this.port+d}},_n.prototype.createV4SignedUrlSync=function(t){var e=(t=t||{}).signatureContext||this.signatureContext,n=t.Method?String(t.Method):"GET",r=t.Bucket?String(t.Bucket):null,o=t.Key?String(t.Key):null,i=t.SpecialParam?String(t.SpecialParam):null;"storageClass"===i&&(i="storagePolicy");var a=t.Expires?parseInt(t.Expires,10):300,s={};if(t.Headers&&t.Headers instanceof Object&&!(t.Headers instanceof Array))for(var c in t.Headers)({}).hasOwnProperty.call(t.Headers,c)&&(s[c]=t.Headers[c]);var u={};if(t.QueryParams&&t.QueryParams instanceof Object&&!(t.QueryParams instanceof Array))for(var l in t.QueryParams)({}).hasOwnProperty.call(t.QueryParams,l)&&(u[l]=t.QueryParams[l]);this.securityToken&&!u[e.headerPrefix+"security-token"]&&(u[e.headerPrefix+"security-token"]=this.securityToken);var p="",f="",d=this.server;r&&(this.pathStyle?(p+="/"+r,f+="/"+r):d=r+"."+d),o&&(p+="/"+(o=pn(o,"/")),f+="/"+o),""===f&&(f="/"),p+="?",i&&(u[i]=""),a<0&&(a=300);var h=yn(s.date||s.Date||(new Date).toUTCString()),m=h[0],g=h[1];s.Host=d+(80===this.port||443===this.port?"":":"+this.port),u["X-Amz-Algorithm"]="AWS4-HMAC-SHA256",u["X-Amz-Credential"]=this.ak+"/"+m+"/"+this.region+"/s3/aws4_request",u["X-Amz-Date"]=g,u["X-Amz-Expires"]=String(a);var v=bn(s);u["X-Amz-SignedHeaders"]=v[0];var y={},b=[];for(var w in u)if({}.hasOwnProperty.call(u,w)){var x=u[w];w=pn(w,"/"),x=pn(x),y[w]=x,b.push(w),p+=w,x&&(p+="="+x),p+="&"}var _="";b.sort();for(var A=0;A<b.length;)_+=b[A]+"="+y[b[A]],++A!==b.length&&(_+="&");var k=n+"\n";return k+=f+"\n",k+=_+"\n",k+=v[1]+"\n",k+=v[0]+"\n",k+="UNSIGNED-PAYLOAD",p+="X-Amz-Signature="+pn(xn(m,g,this.sk,this.region,k)),{ActualSignedRequestHeaders:s,SignedUrl:(this.isSecure?"https":"http")+"://"+d+":"+this.port+p}},_n.prototype.createPostSignatureSync=function(t){var e=t.signatureContext||this.signatureContext;if("v4"===e.signature)return this.createV4PostSignatureSync(t);var n=(t=t||{}).Bucket?String(t.Bucket):null,r=t.Key?String(t.Key):null,o=t.Expires?parseInt(t.Expires,10):300,i={};if(t.FormParams&&t.FormParams instanceof Object&&!(t.FormParams instanceof Array))for(var a in t.FormParams)({}).hasOwnProperty.call(t.FormParams,a)&&(i[a]=t.FormParams[a]);this.securityToken&&!i[e.headerPrefix+"security-token"]&&(i[e.headerPrefix+"security-token"]=this.securityToken);var s=new Date;s.setTime(parseInt((new Date).getTime(),10)+1e3*o),s=vn(s.toUTCString()),n&&(i.bucket=n),r&&(i.key=r);var c=[];c.push('{"expiration":"'),c.push(s),c.push('", "conditions":[');var u=!0,l=!0,p=["acl","bucket","key","success_action_redirect","redirect","success_action_status"];for(var f in i)if(f){var d=i[f];"bucket"===(f=String(f).toLowerCase())?u=!1:"key"===f&&(l=!1),Ye.indexOf(f)<0&&p.indexOf(f)<0&&0!==f.indexOf(e.headerPrefix)||(c.push('{"'),c.push(f),c.push('":"'),c.push(null!==d?String(d):""),c.push('"},'))}u&&c.push('["starts-with", "$bucket", ""],'),l&&c.push('["starts-with", "$key", ""],'),c.push("]}");var h=c.join("");c=window.btoa?window.btoa(h):te.encode(h);var m=Ve("sha1",this.sk).update(c).digest("base64");return{OriginPolicy:h,Policy:c,Signature:m,Token:this.ak+":"+m+":"+c}},_n.prototype.createV4PostSignatureSync=function(t){var e=(t=t||{}).signatureContext||this.signatureContext,n=t.Bucket?String(t.Bucket):null,r=t.Key?String(t.Key):null,o=t.Expires?parseInt(t.Expires,10):300,i={};if(t.FormParams&&t.FormParams instanceof Object&&!(t.FormParams instanceof Array))for(var a in t.FormParams)({}).hasOwnProperty.call(t.FormParams,a)&&(i[a]=t.FormParams[a]);this.securityToken&&!i[e.headerPrefix+"security-token"]&&(i[e.headerPrefix+"security-token"]=this.securityToken);var s=yn((new Date).toUTCString()),c=s[0],u=s[1],l=this.ak+"/"+c+"/"+this.region+"/s3/aws4_request",p=new Date;p.setTime(parseInt((new Date).getTime(),10)+1e3*o),p=vn(p.toUTCString()),i["X-Amz-Algorithm"]="AWS4-HMAC-SHA256",i["X-Amz-Date"]=u,i["X-Amz-Credential"]=l,n&&(i.bucket=n),r&&(i.key=r);var f=[];f.push('{"expiration":"'),f.push(p),f.push('", "conditions":[');var d=!0,h=!0,m=["acl","bucket","key","success_action_redirect","redirect","success_action_status"];for(var g in i)if(g){var v=i[g];"bucket"===(g=String(g).toLowerCase())?d=!1:"key"===g&&(h=!1),Ye.indexOf(g)<0&&m.indexOf(g)<0&&0!==g.indexOf(e.headerPrefix)||(f.push('{"'),f.push(g),f.push('":"'),f.push(null!==v?String(v):""),f.push('"},'))}d&&f.push('["starts-with", "$bucket", ""],'),h&&f.push('["starts-with", "$key", ""],'),f.push("]}");var y=f.join("");f=window.btoa?window.btoa(y):te.encode(y);var b=wn(c,this.sk,this.region,f);return{OriginPolicy:y,Policy:f,Algorithm:i["X-Amz-Algorithm"],Credential:i["X-Amz-Credential"],Date:i["X-Amz-Date"],Signature:b}};var An=_n,kn=Number.MAX_VALUE;function En(){this.consoleLog=window.console,this._level=kn}En.prototype.setLevel=function(t){t&&(t="info"===(t=String(t).toLowerCase())?20:"warn"===t?30:"error"===t?40:"debug"===t?10:kn,this._level=t)},En.prototype.runLog=function(t,e,n){if(t){var r=[(new Date).toLocaleString(),t.toLowerCase(),e,n].join("|");"debug"===t.toLowerCase()&&this._level<=10?this.consoleLog.debug(r):"info"===t.toLowerCase()&&this._level<=20?this.consoleLog.info(r):"warn"===t.toLowerCase()&&this._level<=30?this.consoleLog.warn(r):"error"===t.toLowerCase()&&this._level<=40&&this.consoleLog.error(r)}};var Sn=En,Tn=o(1062),Cn=o.t(Tn,2),Pn=function(t){return"[object String]"===Object.prototype.toString.call(t)&&t.lastIndexOf("/")!==t.length-1&&(t+="/"),t},On={extend:function(t){t.prototype.dropFile=function(t,e){this.deleteObject(t,e)},t.prototype.dropFolder=function(t,e){var n=this;t=t||{};var r=function(t,e,n){t=t||function(){};var r=(new Date).getTime();return function(n,o){return e.runLog("info","dropFolder","ObsClient cost "+((new Date).getTime()-r)+" ms"),"[object String]"===Object.prototype.toString.call(n)?t(new Error(n),o):t(n,o)}}(e,n.log),o=function(t){return t=t||function(){},function(e,n,r){return"[object Error]"===Object.prototype.toString.call(r)?t(e,n,r):"[object String]"===Object.prototype.toString.call(r)?t(e,n,new Error(r)):r?r.CommonMsg.Status>300?t(e,n,new Error("status:"+r.CommonMsg.Status+", code:"+r.CommonMsg.Code+", message:"+r.CommonMsg.Message)):void t(e,n,r):void 0}}(t.EventCallback),i=t.TaskNum||1,a=0,s=[],c=function(t,e,r,c){if(c)return e.finished++,void r(e);var u=function(){a++,n.dropFile({Bucket:e.bucket,Key:t},(function(n,c){a--,e.finished++,function(){for(;a<i&&s.length>0;)s.shift()()}(),n?(o("dropFileFailed",t,n),e.subDeleted=!1):c.CommonMsg.Status>=300?(o("dropFileFailed",t,c),e.subDeleted=!1):o("dropFileSucceed",t,c),r(e)}))};a<i?u():s.push(u)},u=function(t,e,n){return function(r){!r.isTruncated&&r.finished===r.total&&r.subDeleted&&c(t,e,n,!1)}},l=Pn(t.Prefix);!function t(e,o,l,p,f){a++,n.listObjects({Bucket:o,Prefix:l,Delimiter:"/",Marker:p},(function(n,p){if(a--,n)return r(n);if(p.CommonMsg.Status>=300)return r(null,p);if(e.total+=p.InterfaceResult.Contents.length,e.total+=p.InterfaceResult.CommonPrefixes.length,0!==e.total){e.isTruncated="true"===p.InterfaceResult.IsTruncated;for(var d=function(n){return function(){t({total:0,finished:0,isTruncated:!1,bucket:o,subDeleted:!0},o,n,null,u(n,e,f))}},h=0;h<p.InterfaceResult.CommonPrefixes.length;h++){var m=Pn(p.InterfaceResult.CommonPrefixes[h].Prefix);a<i?t({total:0,finished:0,isTruncated:!1,bucket:o,subDeleted:!0},o,m,null,u(m,e,f)):s.push(d(m))}for(var g=0;g<p.InterfaceResult.Contents.length;g++){var v=p.InterfaceResult.Contents[g].Key;c(v,e,f,v.lastIndexOf("/")===v.length-1)}e.isTruncated&&(a<i?t(e,o,l,p.InterfaceResult.NextMarker,f):s.push((function(){t(e,o,l,p.InterfaceResult.NextMarker,f)})))}else f(e)}))}({total:0,finished:0,isTruncated:!1,bucket:t.Bucket,subDeleted:!0},t.Bucket,l,null,(function(t){if(!t.isTruncated&&t.finished===t.total)if(t.subDeleted)n.dropFile({Bucket:t.bucket,Key:l},(function(t,e){return t?(o("dropFileFailed",l,t),r(t)):e.CommonMsg.Status>=300?(o("dropFileFailed",l,e),r(null,e)):(o("dropFileSucceed",l,e),r(null,e))}));else{var e="drop folder "+l+" failed due to child file deletion failed";o("dropFileFailed",l,new Error(e)),r(e)}}))}}},Ln=On,Mn=5368709120,Rn=function(t){var e=[];if(e.push(t.bucket),e.push(t.key),e.push(t.sourceFile.name),e.push(String(t.partSize)),e.push(String(t.partCount)),e.push(String(t.fileStat.fileSize)),e.push(String(t.fileStat.lastModified)),t.uploadId&&e.push(t.uploadId),t.sseC&&e.push(t.sseC),t.sseCKey&&e.push(t.sseCKey),t.parts)for(var n=0;n<t.parts.length;n++){var r=t.parts[n];r&&(e.push(String(r.partNumber)),e.push(String(r.offset)),e.push(String(r.partSize)),e.push(String(r.isCompleted)),r.etag&&e.push(String(r.etag)))}return window.btoa(ne()(e.join(""),!1,!0))},In=function(t,e,n){t&&t.uploadId&&n.abortMultipartUpload({Bucket:t.bucket,Key:t.key,RequestDate:t.requestDate,UploadId:t.uploadId},(function(r,o){r?n.log.runLog("warn",e,"abort multipart upload failed, bucket:"+t.bucket+", key:"+t.key+", uploadId:"+t.uploadId+", err:"+r):o.CommonMsg.Status>=300?n.log.runLog("warn",e,"abort multipart upload failed, bucket:"+t.bucket+", key:"+t.key+", uploadId:"+t.uploadId+", status:"+o.CommonMsg.Status+", code:"+o.CommonMsg.Code+", message:"+o.CommonMsg.Message):(delete t.uploadId,n.log.runLog("warn",e,"abort multipart upload succeed, bucket:"+t.bucket+", key:"+t.key+", uploadId:"+t.uploadId))}))},jn=function(t){if(!(t.finishedCount<t.uploadCheckpoint.partCount)){if(t.isAbort)return In(t.uploadCheckpoint,t.funcName,t.that),t.callback("uploadFile failed the upload task is aborted");if(t.isSuspend)return t.callback("the process of uploadFile is suspened, you can retry with the uploadCheckpoint");if(t.hasError)return t.callback("uploadFile finished with error, you can retry with the uploadCheckpoint");for(var e=[],n=0;n<t.uploadCheckpoint.partCount;n++){var r=t.uploadCheckpoint.parts[n];e.push({PartNumber:r.partNumber,ETag:r.etag})}t.that.completeMultipartUpload({Bucket:t.uploadCheckpoint.bucket,Key:t.uploadCheckpoint.key,RequestDate:t.uploadCheckpoint.requestDate,UploadId:t.uploadCheckpoint.uploadId,Parts:e,CallbackUrl:t.callbackUrl,CallbackHost:t.callbackHost,CallbackBody:t.callbackBody,CallbackBodyType:t.callbackBodyType},(function(e,n){var r={bucket:t.uploadCheckpoint.bucket,key:t.uploadCheckpoint.key,uploadId:t.uploadCheckpoint.uploadId};return e?(t.eventCallback("completeMultipartUploadFailed",r,e),t.callback(e)):n.CommonMsg.Status>=500?(t.eventCallback("completeMultipartUploadFailed",r,n),t.callback(null,n)):n.CommonMsg.Status>=300&&n.CommonMsg.Status<500?(t.eventCallback("completeMultipartUploadAborted",r,n),In(t.uploadCheckpoint,t.funcName,t.that),t.callback(null,n)):(t.eventCallback("completeMultipartUploadSucceed",r,n),void t.callback(null,n))}))}},Dn=function(t){t.resumeCallback({cancel:function(){t.isSuspend=!0;for(var e=0;e<t.uploadPartParams.length;e++){var n=t.uploadPartParams[e].cancelHook;r=n,"[object Function]"===Object.prototype.toString.call(r)&&n()}var r}},t.uploadCheckpoint);var e=[],n=function(){for(;t.runningTask<t.taskNum&&e.length>0;)e.shift()();0===e.length&&jn(t)},r=window.btoa?window.btoa:te.encode,o=function(o){return function(){if(t.runningTask++,t.isSuspend||t.isAbort)return t.runningTask--,t.finishedCount++,t.finishedCount+=e.length,e=[],n();var i,a,s,c,u=0,l=function(e){if(!u){u=1;var r,i={Bucket:t.uploadCheckpoint.bucket,Key:t.uploadCheckpoint.key,RequestDate:t.uploadCheckpoint.requestDate,PartNumber:o.partNumber,UploadId:t.uploadCheckpoint.uploadId,SourceFile:t.uploadCheckpoint.sourceFile,Offset:o.offset,PartSize:o.partSize,SseC:t.uploadCheckpoint.sseC,SseCKey:t.uploadCheckpoint.sseCKey,ProgressCallback:(r=o.partNumber,function(e,n,o){t.progressCallback(r,e)}),ContentMD5:e};t.uploadPartParams.push(i),t.that.uploadPart(i,(function(e,r){if(t.runningTask--,t.finishedCount++,t.isSuspend)return n();var i={partNumber:o.partNumber,bucket:t.uploadCheckpoint.bucket,key:t.uploadCheckpoint.key,uploadId:t.uploadCheckpoint.uploadId};e?(t.eventCallback("uploadPartFailed",i,e),t.hasError=!0):r.CommonMsg.Status>=500||400===r.CommonMsg.Status&&"BadDigest"===r.CommonMsg.Code?(t.eventCallback("uploadPartFailed",i,r),t.hasError=!0):r.CommonMsg.Status>=300&&r.CommonMsg.Status<500?(t.isAbort=!0,t.hasError=!0,t.eventCallback("uploadPartAborted",i,r)):(o.etag=r.InterfaceResult.ETag,o.isCompleted=!0,i.etag=o.etag,t.uploadCheckpoint.md5=Rn(t.uploadCheckpoint),t.eventCallback("uploadPartSucceed",i,r),t.that.log.runLog("debug",t.funcName,"Part "+String(o.partNumber)+" is finished, uploadId "+t.uploadCheckpoint.uploadId)),n()}))}};if(t.verifyMd5&&window.FileReader&&(t.uploadCheckpoint.sourceFile instanceof window.File||t.uploadCheckpoint.sourceFile instanceof window.Blob)){var p=(i=t.uploadCheckpoint.sourceFile,a=o.offset,s=o.offset+o.partSize,c=c||i.type,i.mozSlice?i.mozSlice(a,s,c):i.webkitSlice?i.webkitSlice(a,s,c):i.slice(a,s,c)),f=new window.FileReader;return f.onload=function(t){var e=function(t){t=new Uint8Array(t);for(var e,n=0;n<t.length;){var r=n+16384;r=r<=t.length?r:t.length,e?e+=String.fromCharCode.apply(null,t.slice(n,r)):e=String.fromCharCode.apply(null,t.slice(n,r)),n=r}return t=null,e}(t.target.result),n=r(ne()(e,!1,!0));e=null,l(n)},f.onerror=function(e){t.that.log.runLog("error",t.funcName,"Caculate md5 for part "+String(o.partNumber)+" failed"),l()},void f.readAsArrayBuffer(p)}l()}};if(!t.isSuspend){for(var i=0;i<t.uploadCheckpoint.partCount;i++){var a=t.uploadCheckpoint.parts[i];a.isCompleted?(t.finishedCount++,t.finishedBytes+=a.partSize):e.push(o(a))}return 0===e.length?jn(t):n()}t.callback("the process of uploadFile is suspened, you can retry with the uploadCheckpoint")},Bn={extend:function(t){t.prototype.uploadFile=function(t,e){var n=this;t=t||{};var r="uploadFile",o=function(t,e,n){t=t||function(){};var r=(new Date).getTime();return function(n,o){return e.runLog("info","uploadFile","ObsClient cost "+((new Date).getTime()-r)+" ms"),"[object String]"===Object.prototype.toString.call(n)?t(new Error(n),o):t(n,o)}}(e,n.log),i=function(t){return t=t||function(){},function(e,n,r){return"[object Error]"===Object.prototype.toString.call(r)?t(e,n,r):"[object String]"===Object.prototype.toString.call(r)?t(e,n,new Error(r)):r?r.CommonMsg.Status>300?t(e,n,new Error("status:"+r.CommonMsg.Status+", code:"+r.CommonMsg.Code+", message:"+r.CommonMsg.Message)):void t(e,n,r):void 0}}(t.EventCallback),a=t.TaskNum||1,s=t.ProgressCallback||function(){},c=t.ResumeCallback||function(){},u=t.VerifyMd5||!1;n.log.runLog("info",r,"enter uploadFile...");var l=null;if(t.UploadCheckpoint&&t.UploadCheckpoint.sourceFile&&t.UploadCheckpoint.fileStat&&t.UploadCheckpoint.uploadId&&t.UploadCheckpoint.md5===Rn(t.UploadCheckpoint)?l=t.UploadCheckpoint:In(t.UploadCheckpoint,r,n),l){var p=l.sourceFile;if(!(p instanceof window.File||p instanceof window.Blob))return o("source file is not valid, must be an instanceof [File | Blob]");if(!p.mozSlice&&!p.webkitSlice&&!p.slice)return o("your browser cannot support the slice method for [File | Blob]")}else{var f=t.SourceFile;if(!(f instanceof window.File||f instanceof window.Blob))return o("source file is not valid, must be an instanceof [File | Blob]");if(!f.mozSlice&&!f.webkitSlice&&!f.slice)return o("your browser cannot support the slice method for [File | Blob]");n.log.runLog("debug",r,"Begin to uploadFile to OBS from file:"+f.name);var d=f.size,h=parseInt(t.PartSize,10),m=0,g=[];if(0===d)h=0,m=1,g.push({partNumber:1,offset:0,partSize:0,isCompleted:!1});else{if(h=isNaN(h)||h<102400?9437184:h>Mn?Mn:h,(m=Math.floor(d/h))>=1e4&&(h=Math.floor(d/1e4),d%1e4!=0&&(h+=1),m=Math.floor(d/h)),h>Mn)return o("The source file "+f.name+" is too large");var v=d%h;0!==v&&m++;for(var y=0;y<m;y++)g.push({partNumber:y+1,offset:y*h,partSize:h,isCompleted:!1});0!==v&&(g[m-1].partSize=v)}n.log.runLog("debug",r,"Total parts count "+m),(l={bucket:t.Bucket,key:t.Key,sourceFile:f,partSize:h,partCount:m,parts:g}).fileStat={fileSize:d,lastModified:f.lastModified},t.SseC&&t.SseCKey&&(l.sseC=t.SseC,l.sseCKey=t.SseCKey),l.md5=Rn(l)}l.requestDate=t.RequestDate;var b={start:(new Date).getTime(),uploadCheckpoint:l,funcName:r,taskNum:a,callback:o,that:n,runningTask:0,finishedCount:0,hasError:!1,finishedBytes:0,isAbort:!1,resumeCallback:c,isSuspend:!1,partsLoaded:{},requestDate:t.RequestDate,uploadPartParams:[],verifyMd5:u,callbackUrl:t.CallbackUrl,callbackHost:t.CallbackHost,callbackBody:t.CallbackBody,callbackBodyType:t.CallbackBodyType,eventCallback:function(t,e,n){b.isSuspend||i(t,e,n)},progressCallback:function(t,e){b.isSuspend||(b.finishedBytes+=e,b.partsLoaded[t]&&(b.finishedBytes-=b.partsLoaded[t]),b.partsLoaded[t]=e,s(b.finishedBytes,b.uploadCheckpoint.fileStat.fileSize,((new Date).getTime()-b.start)/1e3))}};if(!l.uploadId){var w=t.ContentType;return!w&&l.key&&(w=n.util.mimeTypes[l.key.substring(l.key.lastIndexOf(".")+1)]),!w&&l.sourceFile.name&&(w=n.util.mimeTypes[l.sourceFile.name.substring(l.sourceFile.name.lastIndexOf(".")+1)]),void n.initiateMultipartUpload({Bucket:t.Bucket,Key:t.Key,RequestDate:t.RequestDate,ACL:t.ACL,Metadata:t.Metadata,WebsiteRedirectLocation:t.WebsiteRedirectLocation,StorageClass:t.StorageClass,ContentType:w,Expires:t.Expires,SseKms:t.SseKms,SseKmsKey:t.SseKmsKey,SseC:t.SseC,SseCKey:t.SseCKey},(function(e,i){var a={bucket:t.Bucket,key:t.Key};if(e)return b.eventCallback("initiateMultipartUploadFailed",a,e),o(e);if(i.CommonMsg.Status>=300)return b.eventCallback("initiateMultipartUploadFailed",a,i),o(null,i);var s=i.InterfaceResult.UploadId;l.uploadId=s,l.md5=Rn(l),b.uploadCheckpoint=l,a.uploadId=s,n.log.runLog("info",r,"Claim a new upload id "+s),b.eventCallback("initiateMultipartUploadSucceed",a,i),Dn(b)}))}Dn(b)}}},Nn=Bn;function Un(t){this.factory(t)}function $n(t){return t.slice(0,1).toUpperCase()+t.slice(1)}var Fn=["createBucket","listBuckets","getBucketMetadata","headBucket","deleteBucket","setBucketQuota","getBucketQuota","getBucketStorageInfo","setBucketPolicy","getBucketPolicy","deleteBucketPolicy","setBucketVersioningConfiguration","getBucketVersioningConfiguration","putBackToSource","deleteBackToSource","getBackToSource","getBucketLocation","listVersions","listObjects","setBucketLifecycleConfiguration","getBucketLifecycleConfiguration","deleteBucketLifecycleConfiguration","setBucketAcl","getBucketAcl","setBucketLoggingConfiguration","getBucketLoggingConfiguration","setBucketWebsiteConfiguration","getBucketWebsiteConfiguration","deleteBucketWebsiteConfiguration","setBucketNotification","getBucketNotification","setBucketTagging","getBucketTagging","deleteBucketTagging","getBucketCors","deleteBucketCors","setBucketStoragePolicy","getBucketStoragePolicy","getObject","getObjectMetadata","setObjectMetadata","setObjectAcl","getObjectAcl","deleteObject","deleteObjects","listMultipartUploads","listParts","abortMultipartUpload","completeMultipartUpload","getBucketInventory","setBucketInventory","deleteBucketInventory","getBucketEncryption","setBucketEncryption","deleteBucketEncryption","getBucketRequesterPay","setBucketRequesterPay","setMirrorBackToSource","getMirrorBackToSource","deleteMirrorBackToSource","getWorkflowTrigger","deleteWorkflowTrigger","createWorkflowTrigger","restoreFailedWorkflowExecution","createTemplate","createWorkflow","getWorkflowList","deleteWorkflow","getWorkflowTemplateList","getWorkflowInstanceList","deleteTemplate","updateWorkflow","getActionTemplates","getWorkflowAuthorization","openWorkflowAuthorization","getBucketDirectColdAccess","setBucketDirectColdAccess","deleteBucketDirectColdAccess","getBucketCustomDomain","setBucketCustomDomain","deleteBucketCustomDomain","setBucketCors","getBucketReplication","setBucketReplication","deleteBucketReplication","getCDNNotifyConfiguration","setCdnNotifyConfiguration","getQuota","getBucketDisPolicy","setBucketDisPolicy","deleteBucketDisPolicy","createOnlineDecom","getOnlineDecom","getWorkflowAgreements","openWorkflowAgreements","deleteOnlineDecom","getMyActionTemplates","createMyActionTemplate","getMyactiontemplateDetail","updateMyActionTemplate","deleteMyActionTemplate","forbidMyActionTemplate","updatePublicActionTemplate","getOmPublicActionTemplates","setSFSAcl","getSFSAcl","deleteSFSAcl","setBucketAlias","bindBucketAlias","unbindBucketAlias","deleteBucketAlias","listBucketsAlias","getBucketAlias"];function Gn(t){return function(e,n){this.exec($n(t),e,n)}}for(var qn=0;qn<Fn.length;qn++){var Kn=Fn[qn];Un.prototype[Kn]=Gn(Kn)}function Hn(t){return"[object Function]"===Object.prototype.toString.call(t)}function Vn(t){return function(e,n){if(Hn(e))t.call(this,null,e);else{if(!Hn(n)){var r=this;return new Promise((function(n,o){t.call(r,e,(function(t,e){if(t)return o(t);n(e)}))}))}t.call(this,e,n)}}}if(Un.prototype.createTemplate=function(t,e){t.ApiPath="v2/workflowtemplates",this.exec("CreateTemplate",t,e)},Un.prototype.createWorkflow=function(t,e){t.ApiPath="v2/workflows",this.exec("CreateWorkflow",t,e)},Un.prototype.restoreFailedWorkflowExecution=function(t,e){t.ApiPath="v2/workflowexecutions",this.exec("RestoreFailedWorkflowExecution",t,e)},Un.prototype.getWorkflowList=function(t,e){t.ApiPath="v2/workflows",this.exec("GetWorkflowList",t,e)},Un.prototype.deleteWorkflow=function(t,e){t.ApiPath="v2/workflows",this.exec("DeleteWorkflow",t,e)},Un.prototype.deleteTemplate=function(t,e){t.ApiPath="v2/workflowtemplates",this.exec("DeleteTemplate",t,e)},Un.prototype.getWorkflowTemplateList=function(t,e){t.ApiPath="v2/workflowtemplates",this.exec("GetWorkflowTemplateList",t,e)},Un.prototype.getWorkflowInstanceList=function(t,e){t.ApiPath="v2/workflowexecutions",this.exec("GetWorkflowInstanceList",t,e)},Un.prototype.updateWorkflow=function(t,e){t.ApiPath="v2/workflows",this.exec("UpdateWorkflow",t,e)},Un.prototype.getActionTemplates=function(t,e){t.ApiPath="v2/actiontemplates",this.exec("GetActionTemplates",t,e)},Un.prototype.getWorkflowAuthorization=function(t,e){t.ApiPath="v2/workflow-authorization",this.exec("GetWorkflowAuthorization",t,e)},Un.prototype.openWorkflowAuthorization=function(t,e){t.ApiPath="v2/workflow-authorization",this.exec("OpenWorkflowAuthorization",t,e)},Un.prototype.getPublicationTemplates=function(t,e){this.util.pathStyle=!0,t.ApiPath="v2/publicactiontemplates",this.exec("GetPublicationTemplates",t,e),this.util.pathStyle=!1},Un.prototype.getPublicationTemplateDetail=function(t,e){this.util.pathStyle=!0,t.ApiPath="v2/publicactiontemplates",this.exec("GetPublicationTemplateDetail",t,e),this.util.pathStyle=!1},Un.prototype.getWorkflowAgreements=function(t,e){this.util.pathStyle=!0,t.ApiPath="v2/workflow-agreements",this.exec("GetWorkflowAgreements",t,e),this.util.pathStyle=!1},Un.prototype.openWorkflowAgreements=function(t,e){this.util.pathStyle=!0,t.ApiPath="v2/workflow-agreements",this.exec("OpenWorkflowAgreements",t,e),this.util.pathStyle=!1},Un.prototype.createMyActionTemplate=function(t,e){this.util.pathStyle=!0,t.ApiPath="v2/myactiontemplates",this.exec("CreateMyActionTemplate",t,e),this.util.pathStyle=!1},Un.prototype.getMyActionTemplates=function(t,e){this.util.pathStyle=!0,t.ApiPath="v2/myactiontemplates",this.exec("GetMyActionTemplates",t,e),this.util.pathStyle=!1},Un.prototype.getMyactiontemplateDetail=function(t,e){this.util.pathStyle=!0,t.ApiPath="v2/myactiontemplates",this.exec("GetMyactiontemplateDetail",t,e),this.util.pathStyle=!1},Un.prototype.updateMyActionTemplate=function(t,e){this.util.pathStyle=!0,t.ApiPath="v2/myactiontemplates",this.exec("UpdateMyActionTemplate",t,e),this.util.pathStyle=!1},Un.prototype.deleteMyActionTemplate=function(t,e){this.util.pathStyle=!0,t.ApiPath="v2/myactiontemplates",this.exec("DeleteMyActionTemplate",t,e),this.util.pathStyle=!1},Un.prototype.forbidMyActionTemplate=function(t,e){this.util.pathStyle=!0,t.ApiPath="v2/myactiontemplates",this.exec("ForbidMyActionTemplate",t,e),this.util.pathStyle=!1},Un.prototype.updatePublicActionTemplate=function(t,e){this.util.pathStyle=!0,t.ApiPath="v2/ompublicactiontemplates",this.exec("UpdatePublicActionTemplate",t,e),this.util.pathStyle=!1},Un.prototype.getOmPublicActionTemplates=function(t,e){this.util.pathStyle=!0,t.ApiPath="v2/ompublicactiontemplates",this.exec("GetOmPublicActionTemplates",t,e),this.util.pathStyle=!1},Un.prototype.putObject=function(t,e){if("Body"in t&&"SourceFile"in t){var n="the input body and sourcefile exist at same time,please specify one of eigther a string or file to be send!";return this.log.runLog("error","PutObject",n),e(new Error(n),null)}if(!("ContentType"in t)&&("Key"in t&&(t.ContentType=this.util.mimeTypes[t.Key.substring(t.Key.lastIndexOf(".")+1)]),!t.ContentType&&"SourceFile"in t)){var r=t.SourceFile.name;t.ContentType=this.util.mimeTypes[r.substring(r.lastIndexOf(".")+1)]}this.exec("PutObject",t,e)},Un.prototype.appendObject=function(t,e){if("Body"in t&&"SourceFile"in t){var n="the input body and sourcefile exist at same time,please specify one of eigther a string or file to be send!";return this.log.isLevelEnabled("error")&&this.log.runLog("error","PutObject",n),e(new Error(n),null)}"ContentType"in t||("Key"in t&&(t.ContentType=this.util.mimeTypes[t.Key.substring(t.Key.lastIndexOf(".")+1)]),!t.ContentType&&"SourceFile"in t&&(t.ContentType=this.util.mimeTypes[t.SourceFile.substring(t.SourceFile.lastIndexOf(".")+1)])),this.exec("AppendObject",t,e)},Un.prototype.copyObject=function(t,e){var n="CopySource";if(n in t){var r=t[n],o=r.lastIndexOf("?versionId=");t[n]=o>0?this.util.encodeURIWithSafe(r.slice(0,o))+r.slice(o):this.util.encodeURIWithSafe(r)}this.exec("CopyObject",t,e)},Un.prototype.copyPart=function(t,e){var n="CopySource";if(n in t){var r=t[n],o=r.lastIndexOf("?versionId=");t[n]=o>0?this.util.encodeURIWithSafe(r.slice(0,o))+r.slice(o):this.util.encodeURIWithSafe(r)}this.exec("CopyPart",t,e)},Un.prototype.restoreObject=function(t,e){this.exec("RestoreObject",t,(function(t,n){!t&&n.InterfaceResult&&n.CommonMsg.Status<300&&(n.InterfaceResult.RestoreStatus=200===n.CommonMsg.Status?"AVALIABLE":"INPROGRESS"),e(t,n)}))},Un.prototype.initiateMultipartUpload=function(t,e){"ContentType"in t||"Key"in t&&(t.ContentType=this.util.mimeTypes[t.Key.substring(t.Key.lastIndexOf(".")+1)]),this.exec("InitiateMultipartUpload",t,e)},Un.prototype.uploadPart=function(t,e){if("Body"in t&&"SourceFile"in t){var n="the input body and sourcefile exist at same time, please specify one of eigther a string or file to be send!";return this.log.runLog("error","UploadPart",n),e(new Error(n),null)}this.exec("UploadPart",t,e)},Ln.extend(Un),Nn.extend(Un),Hn(Promise))for(var zn in Un.prototype)if({}.hasOwnProperty.call(Un.prototype,zn)){var Wn=Un.prototype[zn];Un.prototype[zn]=Vn(Wn)}for(var Xn in Un.prototype.exec=function(t,e,n){var r=this.log;r.runLog("info",t,"enter "+t+"...");var o=(new Date).getTime();e=e||{},n=n||function(){},this.util.exec(t,e,(function e(i,a){e.$called||(e.$called=!0,!i||i instanceof Error||(i=new Error(i)),r.runLog("debug",t,"ObsClient cost "+((new Date).getTime()-o)+" ms"),n(i,a))}))},Un.prototype.initLog=function(t){t=t||{},this.log.setLevel(t.level);var e=["[OBS SDK Version="+this.util.obsSdkVersion];if(this.util.server){var n=this.util.port?":"+this.util.port:"";e.push("Endpoint="+(this.util.is_secure?"https":"http")+"://"+this.util.server+n)}e.push("Access Mode="+(this.util.path_style?"Path":"Virtual Hosting")+"]"),this.log.runLog("warn","init",e.join("];["))},Un.prototype.factory=function(t){this.log=new Sn,this.util=new An(this.log),t=t||{},this.util.initFactory(t.access_key_id,t.secret_access_key,t.is_secure,t.server,t.path_style,t.signature,t.region,t.port,t.timeout,t.security_token,t.is_signature_negotiation,t.is_cname,t.url_prefix,t.region_domains,t.setRequestHeaderHook,t.useRawXhr)},Un.prototype.refresh=function(t,e,n){this.util.refresh(t,e,n)},Un.prototype.createSignedUrlSync=function(t){return this.util.createSignedUrlSync(t)},Un.prototype.createV2SignedUrlSync=function(t){return this.util.createV2SignedUrlSync(t)},Un.prototype.createV4SignedUrlSync=function(t){return this.util.createV4SignedUrlSync(t)},Un.prototype.createPostSignatureSync=function(t){return this.util.createPostSignatureSync(t)},Un.prototype.createV4PostSignatureSync=function(t){return this.util.createV4PostSignatureSync(t)},Un.prototype.enums=Cn,Un.prototype)({}).hasOwnProperty.call(Un.prototype,Xn)&&(Un.prototype[$n(Xn)]=Un.prototype[Xn]);for(var Yn in Un.prototype)if({}.hasOwnProperty.call(Un.prototype,Yn)){var Zn=Yn.indexOf("Configuration");Zn>0&&Zn+13===Yn.length&&(Un.prototype[Yn.slice(0,Zn)]=Un.prototype[Yn])}var Qn=Un}(),i.default}();var esdkObsBrowserjs_3_22_3_minExports=esdkObsBrowserjs_3_22_3_min.exports,ObsClient=getDefaultExportFromCjs(esdkObsBrowserjs_3_22_3_minExports),dayjs_min={exports:{}};dayjs_min.exports=function(){var t=1e3,e=6e4,n=36e5,r="millisecond",o="second",i="minute",a="hour",s="day",c="week",u="month",l="quarter",p="year",f="date",d="Invalid Date",h=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,m=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,g={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(t){var e=["th","st","nd","rd"],n=t%100;return"["+t+(e[(n-20)%10]||e[n]||e[0])+"]"}},v=function(t,e,n){var r=String(t);return!r||r.length>=e?t:""+Array(e+1-r.length).join(n)+t},y={s:v,z:function(t){var e=-t.utcOffset(),n=Math.abs(e),r=Math.floor(n/60),o=n%60;return(e<=0?"+":"-")+v(r,2,"0")+":"+v(o,2,"0")},m:function t(e,n){if(e.date()<n.date())return-t(n,e);var r=12*(n.year()-e.year())+(n.month()-e.month()),o=e.clone().add(r,u),i=n-o<0,a=e.clone().add(r+(i?-1:1),u);return+(-(r+(n-o)/(i?o-a:a-o))||0)},a:function(t){return t<0?Math.ceil(t)||0:Math.floor(t)},p:function(t){return{M:u,y:p,w:c,d:s,D:f,h:a,m:i,s:o,ms:r,Q:l}[t]||String(t||"").toLowerCase().replace(/s$/,"")},u:function(t){return void 0===t}},b="en",w={};w[b]=g;var x="$isDayjsObject",_=function(t){return t instanceof S||!(!t||!t[x])},A=function t(e,n,r){var o;if(!e)return b;if("string"==typeof e){var i=e.toLowerCase();w[i]&&(o=i),n&&(w[i]=n,o=i);var a=e.split("-");if(!o&&a.length>1)return t(a[0])}else{var s=e.name;w[s]=e,o=s}return!r&&o&&(b=o),o||!r&&b},k=function(t,e){if(_(t))return t.clone();var n="object"==typeof e?e:{};return n.date=t,n.args=arguments,new S(n)},E=y;E.l=A,E.i=_,E.w=function(t,e){return k(t,{locale:e.$L,utc:e.$u,x:e.$x,$offset:e.$offset})};var S=function(){function g(t){this.$L=A(t.locale,null,!0),this.parse(t),this.$x=this.$x||t.x||{},this[x]=!0}var v=g.prototype;return v.parse=function(t){this.$d=function(t){var e=t.date,n=t.utc;if(null===e)return new Date(NaN);if(E.u(e))return new Date;if(e instanceof Date)return new Date(e);if("string"==typeof e&&!/Z$/i.test(e)){var r=e.match(h);if(r){var o=r[2]-1||0,i=(r[7]||"0").substring(0,3);return n?new Date(Date.UTC(r[1],o,r[3]||1,r[4]||0,r[5]||0,r[6]||0,i)):new Date(r[1],o,r[3]||1,r[4]||0,r[5]||0,r[6]||0,i)}}return new Date(e)}(t),this.init()},v.init=function(){var t=this.$d;this.$y=t.getFullYear(),this.$M=t.getMonth(),this.$D=t.getDate(),this.$W=t.getDay(),this.$H=t.getHours(),this.$m=t.getMinutes(),this.$s=t.getSeconds(),this.$ms=t.getMilliseconds()},v.$utils=function(){return E},v.isValid=function(){return!(this.$d.toString()===d)},v.isSame=function(t,e){var n=k(t);return this.startOf(e)<=n&&n<=this.endOf(e)},v.isAfter=function(t,e){return k(t)<this.startOf(e)},v.isBefore=function(t,e){return this.endOf(e)<k(t)},v.$g=function(t,e,n){return E.u(t)?this[e]:this.set(n,t)},v.unix=function(){return Math.floor(this.valueOf()/1e3)},v.valueOf=function(){return this.$d.getTime()},v.startOf=function(t,e){var n=this,r=!!E.u(e)||e,l=E.p(t),d=function(t,e){var o=E.w(n.$u?Date.UTC(n.$y,e,t):new Date(n.$y,e,t),n);return r?o:o.endOf(s)},h=function(t,e){return E.w(n.toDate()[t].apply(n.toDate("s"),(r?[0,0,0,0]:[23,59,59,999]).slice(e)),n)},m=this.$W,g=this.$M,v=this.$D,y="set"+(this.$u?"UTC":"");switch(l){case p:return r?d(1,0):d(31,11);case u:return r?d(1,g):d(0,g+1);case c:var b=this.$locale().weekStart||0,w=(m<b?m+7:m)-b;return d(r?v-w:v+(6-w),g);case s:case f:return h(y+"Hours",0);case a:return h(y+"Minutes",1);case i:return h(y+"Seconds",2);case o:return h(y+"Milliseconds",3);default:return this.clone()}},v.endOf=function(t){return this.startOf(t,!1)},v.$set=function(t,e){var n,c=E.p(t),l="set"+(this.$u?"UTC":""),d=(n={},n[s]=l+"Date",n[f]=l+"Date",n[u]=l+"Month",n[p]=l+"FullYear",n[a]=l+"Hours",n[i]=l+"Minutes",n[o]=l+"Seconds",n[r]=l+"Milliseconds",n)[c],h=c===s?this.$D+(e-this.$W):e;if(c===u||c===p){var m=this.clone().set(f,1);m.$d[d](h),m.init(),this.$d=m.set(f,Math.min(this.$D,m.daysInMonth())).$d}else d&&this.$d[d](h);return this.init(),this},v.set=function(t,e){return this.clone().$set(t,e)},v.get=function(t){return this[E.p(t)]()},v.add=function(r,l){var f,d=this;r=Number(r);var h=E.p(l),m=function(t){var e=k(d);return E.w(e.date(e.date()+Math.round(t*r)),d)};if(h===u)return this.set(u,this.$M+r);if(h===p)return this.set(p,this.$y+r);if(h===s)return m(1);if(h===c)return m(7);var g=(f={},f[i]=e,f[a]=n,f[o]=t,f)[h]||1,v=this.$d.getTime()+r*g;return E.w(v,this)},v.subtract=function(t,e){return this.add(-1*t,e)},v.format=function(t){var e=this,n=this.$locale();if(!this.isValid())return n.invalidDate||d;var r=t||"YYYY-MM-DDTHH:mm:ssZ",o=E.z(this),i=this.$H,a=this.$m,s=this.$M,c=n.weekdays,u=n.months,l=n.meridiem,p=function(t,n,o,i){return t&&(t[n]||t(e,r))||o[n].slice(0,i)},f=function(t){return E.s(i%12||12,t,"0")},h=l||function(t,e,n){var r=t<12?"AM":"PM";return n?r.toLowerCase():r};return r.replace(m,(function(t,r){return r||function(t){switch(t){case"YY":return String(e.$y).slice(-2);case"YYYY":return E.s(e.$y,4,"0");case"M":return s+1;case"MM":return E.s(s+1,2,"0");case"MMM":return p(n.monthsShort,s,u,3);case"MMMM":return p(u,s);case"D":return e.$D;case"DD":return E.s(e.$D,2,"0");case"d":return String(e.$W);case"dd":return p(n.weekdaysMin,e.$W,c,2);case"ddd":return p(n.weekdaysShort,e.$W,c,3);case"dddd":return c[e.$W];case"H":return String(i);case"HH":return E.s(i,2,"0");case"h":return f(1);case"hh":return f(2);case"a":return h(i,a,!0);case"A":return h(i,a,!1);case"m":return String(a);case"mm":return E.s(a,2,"0");case"s":return String(e.$s);case"ss":return E.s(e.$s,2,"0");case"SSS":return E.s(e.$ms,3,"0");case"Z":return o}return null}(t)||o.replace(":","")}))},v.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},v.diff=function(r,f,d){var h,m=this,g=E.p(f),v=k(r),y=(v.utcOffset()-this.utcOffset())*e,b=this-v,w=function(){return E.m(m,v)};switch(g){case p:h=w()/12;break;case u:h=w();break;case l:h=w()/3;break;case c:h=(b-y)/6048e5;break;case s:h=(b-y)/864e5;break;case a:h=b/n;break;case i:h=b/e;break;case o:h=b/t;break;default:h=b}return d?h:E.a(h)},v.daysInMonth=function(){return this.endOf(u).$D},v.$locale=function(){return w[this.$L]},v.locale=function(t,e){if(!t)return this.$L;var n=this.clone(),r=A(t,e,!0);return r&&(n.$L=r),n},v.clone=function(){return E.w(this.$d,this)},v.toDate=function(){return new Date(this.valueOf())},v.toJSON=function(){return this.isValid()?this.toISOString():null},v.toISOString=function(){return this.$d.toISOString()},v.toString=function(){return this.$d.toUTCString()},g}(),T=S.prototype;return k.prototype=T,[["$ms",r],["$s",o],["$m",i],["$H",a],["$W",s],["$M",u],["$y",p],["$D",f]].forEach((function(t){T[t[1]]=function(e){return this.$g(e,t[0],t[1])}})),k.extend=function(t,e){return t.$i||(t(e,S,k),t.$i=!0),k},k.locale=A,k.isDayjs=_,k.unix=function(t){return k(1e3*t)},k.en=w[b],k.Ls=w,k.p={},k}();var dayjs_minExports=dayjs_min.exports,dayjs=getDefaultExportFromCjs(dayjs_minExports),getContentType=function(t){return{".jpg":"image/jpeg",".jpeg":"image/jpeg",".png":"image/png",".gif":"image/gif"}[t.toLowerCase()]||""},getNormalizeAliOssCope=function(t){var e="";return t&&(!0===t?e="image/resize,m_fixed,w_100,h_100":"string"==typeof t?e=t:(t.width||t.height)&&(e="image/resize,m_fixed",t.width&&(e+=",w_".concat(t.width)),t.height&&(e+=",h_".concat(t.height)))),e},getUrl=function(){var t=_asyncToGenerator(_regeneratorRuntime().mark((function t(e){var n,r,o,i,a,s,c,u,l,p,f,d,h,m,g,v,y,b,w,x,_,A,k,E,S,T,C,P;return _regeneratorRuntime().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(n=e.type,r=void 0===n?"img":n,o=e.source,i=void 0===o?"":o,a=e.datetime,s=void 0===a?"":a,c=e.storagetype,u=void 0===c?"storage":c,l=e.cope,p=void 0===l?"":l,f=CloudServ$1.get(u)){t.next=4;break}throw Error("无可用存储设置");case 4:return t.next=6,initServToken();case 6:if(d=t.sent){t.next=9;break}throw Error("无可用servToken");case 9:if(h=CloudServ$1.isAliyun(u),m=CloudServ$1.isHuawei(u),g=login.getUser("tenantcode"),v=!!(i.match(/\/att\//)||i.match(/\/img\//)||i.match(/att\//)||i.match(/img\//)),y=i.slice(i.lastIndexOf(".")),b=dayjs(+s).format("YYYYMMDD"),w=v?i:"".concat(i.slice(0,3),"/").concat(r,"/").concat(b,"/").concat(g,"/").concat(i),x=getNormalizeAliOssCope(p),_=getContentType(y),!h){t.next=26;break}return A=new OSS({endpoint:f.cloudserv_storage_storageendpoint,accessKeyId:d.accesskeyid,accessKeySecret:d.accesskeysecret,stsToken:d.securitytoken,bucket:f.cloudserv_storage_storagebucket,secure:!0}),k={"content-disposition":"attachment; filename="+(i&&encodeURIComponent(i))},_&&(k["content-type"]=_),E=A.signatureUrl(w,{response:k,process:x}),t.abrupt("return",E);case 26:if(!m){t.next=43;break}return S=new ObsClient({access_key_id:d.accesskeyid,secret_access_key:d.accesskeysecret,server:f.cloudserv_storage_storageendpoint,security_token:d.securitytoken}),w&&"/"===w[0]&&(w=w.slice(1)),t.prev=29,T={Bucket:f.cloudserv_storage_storagebucket,Key:w},_.startsWith("image")&&x&&(T.QueryParams={"x-image-process":x}),C=S.createSignedUrlSync(T),P=C.SignedUrl,t.abrupt("return",P);case 37:throw t.prev=37,t.t0=t.catch(29),console.error(t.t0),Error(t.t0);case 41:t.next=44;break;case 43:throw Error("暂不支持非阿里云OSS/华为云OBS存储类型");case 44:case"end":return t.stop()}}),t,null,[[29,37]])})));return function(e){return t.apply(this,arguments)}}(),downloadService={getUrl:getUrl};let getRandomValues;const rnds8=new Uint8Array(16);function rng(){if(!getRandomValues&&(getRandomValues="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!getRandomValues))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return getRandomValues(rnds8)}const byteToHex=[];for(let t=0;t<256;++t)byteToHex.push((t+256).toString(16).slice(1));function unsafeStringify(t,e=0){return byteToHex[t[e+0]]+byteToHex[t[e+1]]+byteToHex[t[e+2]]+byteToHex[t[e+3]]+"-"+byteToHex[t[e+4]]+byteToHex[t[e+5]]+"-"+byteToHex[t[e+6]]+byteToHex[t[e+7]]+"-"+byteToHex[t[e+8]]+byteToHex[t[e+9]]+"-"+byteToHex[t[e+10]]+byteToHex[t[e+11]]+byteToHex[t[e+12]]+byteToHex[t[e+13]]+byteToHex[t[e+14]]+byteToHex[t[e+15]]}const randomUUID="undefined"!=typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto);var native={randomUUID:randomUUID};function v4(t,e,n){if(native.randomUUID&&!e&&!t)return native.randomUUID();const r=(t=t||{}).random||(t.rng||rng)();if(r[6]=15&r[6]|64,r[8]=63&r[8]|128,e){n=n||0;for(let t=0;t<16;++t)e[n+t]=r[t];return e}return unsafeStringify(r)}var slice=Array.prototype.slice,co_1=co.default=co.co=co;function co(t){var e=this,n=slice.call(arguments,1);return new Promise((function(r,o){if("function"==typeof t&&(t=t.apply(e,n)),!t||"function"!=typeof t.next)return r(t);function i(e){var n;try{n=t.next(e)}catch(t){return o(t)}s(n)}function a(e){var n;try{n=t.throw(e)}catch(t){return o(t)}s(n)}function s(t){if(t.done)return r(t.value);var n=toPromise.call(e,t.value);return n&&isPromise(n)?n.then(i,a):a(new TypeError('You may only yield a function, promise, generator, array, or object, but the following object was passed: "'+String(t.value)+'"'))}i()}))}function toPromise(t){return t?isPromise(t)?t:isGeneratorFunction(t)||isGenerator(t)?co.call(this,t):"function"==typeof t?thunkToPromise.call(this,t):Array.isArray(t)?arrayToPromise.call(this,t):isObject(t)?objectToPromise.call(this,t):t:t}function thunkToPromise(t){var e=this;return new Promise((function(n,r){t.call(e,(function(t,e){if(t)return r(t);arguments.length>2&&(e=slice.call(arguments,1)),n(e)}))}))}function arrayToPromise(t){return Promise.all(t.map(toPromise,this))}function objectToPromise(t){for(var e=new t.constructor,n=Object.keys(t),r=[],o=0;o<n.length;o++){var i=n[o],a=toPromise.call(this,t[i]);a&&isPromise(a)?s(a,i):e[i]=t[i]}return Promise.all(r).then((function(){return e}));function s(t,n){e[n]=void 0,r.push(t.then((function(t){e[n]=t})))}}function isPromise(t){return"function"==typeof t.then}function isGenerator(t){return"function"==typeof t.next&&"function"==typeof t.throw}function isGeneratorFunction(t){var e=t.constructor;return!!e&&("GeneratorFunction"===e.name||"GeneratorFunction"===e.displayName||isGenerator(e.prototype))}function isObject(t){return Object==t.constructor}co.wrap=function(t){return e.__generatorFunction__=t,e;function e(){return co.call(this,t.apply(this,arguments))}};var co$1=getDefaultExportFromCjs(co_1),obsMultiUpload=function(){var t=_asyncToGenerator(_regeneratorRuntime().mark((function t(e,n,r){var o,i,a,s,c,u,l,p,f,d,h;return _regeneratorRuntime().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return o=r.partSize||1048576,i=r.parallel||3,t.next=4,e.initiateMultipartUpload({Bucket:r.bucket,Key:r.key});case 4:if(!((a=t.sent).CommonMsg.Status<300)){t.next=31;break}s=a.InterfaceResult.UploadId,c=Math.ceil(n.size/o),u=[],l=new Array(c).fill(0),p=_regeneratorRuntime().mark((function t(i){var a;return _regeneratorRuntime().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:a=function(){var t=_asyncToGenerator(_regeneratorRuntime().mark((function t(){var a;return _regeneratorRuntime().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e.uploadPart({Bucket:r.bucket,Key:r.key,PartNumber:i,UploadId:s,SourceFile:n,PartSize:o,Offset:o*(i-1),ProgressCallback:function(t,e){l[i-1]=t;var o=l.reduce((function(t,e){return t+e}),0)/n.size;1===o&&(o=.9999999),r.onProgress&&r.onProgress(o)}});case 2:if(!((a=t.sent).CommonMsg.Status<300)){t.next=7;break}return t.abrupt("return",{PartNumber:i,ETag:a.InterfaceResult.ETag});case 7:throw a.CommonMsg.Message;case 8:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),u.push(a);case 2:case"end":return t.stop()}}),t)})),f=1;case 12:if(!(f<=c)){t.next=17;break}return t.delegateYield(p(f),"t0",14);case 14:f++,t.next=12;break;case 17:return t.next=19,executeTasks(u,i);case 19:return d=t.sent,t.next=22,e.completeMultipartUpload({Bucket:r.bucket,Key:r.key,UploadId:s,Parts:d});case 22:if(!((h=t.sent).CommonMsg.Status<300)){t.next=28;break}return r.onProgress&&r.onProgress(1),t.abrupt("return",!0);case 28:throw h.CommonMsg.Message;case 29:t.next=33;break;case 31:throw console.error(a),a.CommonMsg.Message;case 33:case"end":return t.stop()}}),t)})));return function(e,n,r){return t.apply(this,arguments)}}(),executeTasks=function(){var t=_asyncToGenerator(_regeneratorRuntime().mark((function t(e){var n,r=arguments;return _regeneratorRuntime().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=r.length>1&&void 0!==r[1]?r[1]:3,t.abrupt("return",new Promise((function(t,r){var o=e.slice(0,n),i=e.slice(n),a=0,s=[],c=function n(o,c){if(a+=1,null!=c&&(s[c]=o),a===e.length&&t(s),i.length){var u=i.shift(),l=e.findIndex((function(t){return t===u}));return u&&u().then((function(t){return n(t,l)})).catch(r)}};if(!i.length){var u=o.map((function(t){return t()}));return Promise.all(u).then(t).catch(r)}for(var l=function(t){(0,o[t])().then((function(e){return c(e,t)})).catch(r)},p=0;p<o.length;p++)l(p)})));case 2:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),upload=function(){var t=_asyncToGenerator(_regeneratorRuntime().mark((function t(e){var n,r,o,i,a,s,c,u,l,p,f,d,h,m,g,v,y,b,w;return _regeneratorRuntime().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(n=e.type,r=void 0===n?"img":n,o=e.file,i=e.source,a=void 0===i?"":i,s=e.datetime,c=void 0===s?"":s,u=e.storagetype,l=void 0===u?"storage":u,p=e.onprogress,o){t.next=3;break}throw Error("请传入文件");case 3:if(f=CloudServ$1.get(l)){t.next=6;break}throw Error("无可用存储设置");case 6:return t.next=8,initServToken();case 8:if(d=t.sent){t.next=11;break}throw Error("无可用servToken");case 11:return h=CloudServ$1.isAliyun(l),m=CloudServ$1.isHuawei(l),g=login.getUser("tenantcode"),v="."+o.name.substring(o.name.lastIndexOf(".")+1),a=a||v4()+v,c=c||Date.now(),y=dayjs(+c).format("YYYYMMDD"),b="".concat(a.slice(0,3),"/").concat(r,"/").concat(y,"/").concat(g,"/").concat(a),w=new Promise(function(){var t=_asyncToGenerator(_regeneratorRuntime().mark((function t(e,n){var r,i;return _regeneratorRuntime().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!h){t.next=5;break}r=new OSS({endpoint:f.cloudserv_storage_storageendpoint,accessKeyId:d.accesskeyid,accessKeySecret:d.accesskeysecret,stsToken:d.securitytoken,bucket:f.cloudserv_storage_storagebucket,secure:!0}),co$1(_regeneratorRuntime().mark((function t(){return _regeneratorRuntime().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,r.multipartUpload(b,o,{headers:{"Content-Disposition":'filename="'+(o.name&&encodeURIComponent(o.name))},progress:_regeneratorRuntime().mark((function t(n,r){return _regeneratorRuntime().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:p&&p(n,r),1===n&&e({source:a,filename:o.name,type:o.type,date:y,datetime:c,file:o});case 2:case"end":return t.stop()}}),t)}))});case 2:case"end":return t.stop()}}),t)}))).catch((function(t){console.error(t),n(t)})),t.next=21;break;case 5:if(!m){t.next=20;break}return i=new ObsClient({access_key_id:d.accesskeyid,secret_access_key:d.accesskeysecret,server:f.cloudserv_storage_storageendpoint,security_token:d.securitytoken}),t.prev=7,t.next=10,obsMultiUpload(i,o,{bucket:f.cloudserv_storage_storagebucket,key:b,parallel:3,onProgress:function(t){p&&p(t)}});case 10:t.sent&&e({source:a,filename:o.name,type:o.type,date:y,datetime:c,file:o}),t.next=18;break;case 14:t.prev=14,t.t0=t.catch(7),console.error(t.t0),n(t.t0);case 18:t.next=21;break;case 20:throw Error("暂不支持非阿里云OSS/华为云OBS存储类型");case 21:case"end":return t.stop()}}),t,null,[[7,14]])})));return function(e,n){return t.apply(this,arguments)}}()),t.abrupt("return",w);case 21:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),uploadService={upload:upload},getUniqueid=function(){var t=Math.ceil(1e5*Math.random());return"9".concat(Date.now()).concat(t)},SPUWebPlugin={install:install,version:version},getToken=login.getToken.bind(login),getTokenExpires=login.getTokenExpires.bind(login),getRefreshToken=login.getRefreshToken.bind(login),getUser=login.getUser.bind(login),checkLogin=login.checkLogin.bind(login);export{AMapLoader,apaasAxios,checkLogin,SPUWebPlugin as default,downloadService,getDistance,getLocation,getRefreshToken,getToken,getTokenExpires,getUniqueid,getUser,v4 as getUuid,lsProxy,spuAxios,ssProxy,uploadService};
|