`,cliCategory:i},endOfLine:{since:"1.15.0",category:l,type:"choice",default:[{since:"1.15.0",value:"auto"},{since:"2.0.0",value:"lf"}],description:"Which end of line characters to apply.",choices:[{value:"lf",description:"Line Feed only (\\n), common on Linux and macOS as well as inside git repos"},{value:"crlf",description:"Carriage Return + Line Feed characters (\\r\\n), common on Windows"},{value:"cr",description:"Carriage Return character only (\\r), used very rarely"},{value:"auto",description:n`
`}]},filepath:{since:"1.4.0",category:u,type:"path",description:"Specify the input filepath. This will be used to do parser inference.",cliName:"stdin-filepath",cliCategory:a,cliDescription:"Path to the file to pretend that stdin comes from."},insertPragma:{since:"1.8.0",category:u,type:"boolean",default:!1,description:"Insert @format pragma into file's first docblock comment.",cliCategory:a},parser:{since:"0.0.10",category:l,type:"choice",default:[{since:"0.0.10",value:"babylon"},{since:"1.13.0",value:void 0}],description:"Which parser to use.",exception:e=>"string"==typeof e||"function"==typeof e,choices:[{value:"flow",description:"Flow"},{value:"babel",since:"1.16.0",description:"JavaScript"},{value:"babel-flow",since:"1.16.0",description:"Flow"},{value:"babel-ts",since:"2.0.0",description:"TypeScript"},{value:"typescript",since:"1.4.0",description:"TypeScript"},{value:"acorn",since:"2.6.0",description:"JavaScript"},{value:"espree",since:"2.2.0",description:"JavaScript"},{value:"meriyah",since:"2.2.0",description:"JavaScript"},{value:"css",since:"1.7.1",description:"CSS"},{value:"less",since:"1.7.1",description:"Less"},{value:"scss",since:"1.7.1",description:"SCSS"},{value:"json",since:"1.5.0",description:"JSON"},{value:"json5",since:"1.13.0",description:"JSON5"},{value:"json-stringify",since:"1.13.0",description:"JSON.stringify"},{value:"graphql",since:"1.5.0",description:"GraphQL"},{value:"markdown",since:"1.8.0",description:"Markdown"},{value:"mdx",since:"1.15.0",description:"MDX"},{value:"vue",since:"1.10.0",description:"Vue"},{value:"yaml",since:"1.14.0",description:"YAML"},{value:"glimmer",since:"2.3.0",description:"Ember / Handlebars"},{value:"html",since:"1.15.0",description:"HTML"},{value:"angular",since:"1.15.0",description:"Angular"},{value:"lwc",since:"1.17.0",description:"Lightning Web Components"}]},plugins:{since:"1.10.0",type:"path",array:!0,default:[{value:[]}],category:l,description:"Add a plugin. Multiple plugins can be passed as separate `--plugin`s.",exception:e=>"string"==typeof e||"object"==typeof e,cliName:"plugin",cliCategory:r},pluginSearchDirs:{since:"1.13.0",type:"path",array:!0,default:[{value:[]}],category:l,description:n`
`,exception:e=>"string"==typeof e||"object"==typeof e,cliName:"plugin-search-dir",cliCategory:r},printWidth:{since:"0.0.0",category:l,type:"int",default:80,description:"The line length where Prettier will try wrap.",range:{start:0,end:Number.POSITIVE_INFINITY,step:1}},rangeEnd:{since:"1.4.0",category:u,type:"int",default:Number.POSITIVE_INFINITY,range:{start:0,end:Number.POSITIVE_INFINITY,step:1},description:n`
`,cliCategory:a},tabWidth:{type:"int",category:l,default:2,description:"Number of spaces per indentation level.",range:{start:0,end:Number.POSITIVE_INFINITY,step:1}},useTabs:{since:"1.0.0",category:l,type:"boolean",default:!1,description:"Indent with tabs instead of spaces."},embeddedLanguageFormatting:{since:"2.1.0",category:l,type:"choice",default:[{since:"2.1.0",value:"auto"}],description:"Control how Prettier formats quoted code embedded in the file.",choices:[{value:"auto",description:"Format embedded code if Prettier can automatically identify it."},{value:"off",description:"Never automatically format embedded code."}]}};t.exports={CATEGORY_CONFIG:r,CATEGORY_EDITOR:i,CATEGORY_FORMAT:o,CATEGORY_OTHER:a,CATEGORY_OUTPUT:s,CATEGORY_GLOBAL:l,CATEGORY_SPECIAL:u,options:c}}}),ue=_({"src/main/support.js"(e,t){C();var n={compare:re(),lt:ie(),gte:oe()},r=ae(),i=T().version,o=le().options;function a(){let{plugins:e=[],showUnreleased:t=!1,showDeprecated:a=!1,showInternal:u=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},d=i.split("-",1)[0],p=e.flatMap(e=>e.languages||[]).filter(f),h=r(Object.assign({},...e.map(e=>{let{options:t}=e;return t}),o),"name").filter(e=>f(e)&&m(e)).sort((e,t)=>e.name===t.name?0:e.name<t.name?-1:1).map(g).map(t=>{t=Object.assign({},t),Array.isArray(t.default)&&(t.default=1===t.default.length?t.default[0].value:t.default.filter(f).sort((e,t)=>n.compare(t.since,e.since))[0].value),Array.isArray(t.choices)&&(t.choices=t.choices.filter(e=>f(e)&&m(e)),"parser"===t.name&&l(t,p,e));let r=Object.fromEntries(e.filter(e=>e.defaultOptions&&void 0!==e.defaultOptions[t.name]).map(e=>[e.name,e.defaultOptions[t.name]]));return Object.assign(Object.assign({},t),{},{pluginDefaults:r})});return{languages:p,options:h};function f(e){return t||!("since"in e)||e.since&&n.gte(d,e.since)}function m(e){return a||!("deprecated"in e)||e.deprecated&&n.lt(d,e.deprecated)}function g(e){if(u)return e;let{cliName:t,cliCategory:n,cliDescription:r}=e;return c(e,s)}}function l(e,t,n){let r=new Set(e.choices.map(e=>e.value));for(let i of t)if(i.parsers)for(let t of i.parsers)if(!r.has(t)){r.add(t);let o=n.find(e=>e.parsers&&e.parsers[t]),a=i.name;o&&o.name&&(a+=`(plugin:${o.name})`),e.choices.push({value:t,description:a})}}t.exports={getSupportInfo:a}}}),ce=_({"src/utils/is-non-empty-array.js"(e,t){function n(e){return Array.isArray(e)&&e.length>0}C(),t.exports=n}}),de=_({"src/utils/text/skip.js"(e,t){function n(e){return(t,n,r)=>{let i=r&&r.backwards;if(!1===n)return!1;let{length:o}=t,a=n;for(;a>=0&&a<o;){let n=t.charAt(a);if(e instanceof RegExp){if(!e.test(n))return a}else if(!e.includes(n))return a;i?a--:a++}return(-1===a||a===o)&&a}}C();var r=n(/\s/),i=n(" \t"),o=n(",; \t"),a=n(/[^\n\r]/);t.exports={skipWhitespace:r,skipSpaces:i,skipToLineEnd:o,skipEverythingButNewLine:a}}}),pe=_({"src/utils/text/skip-inline-comment.js"(e,t){function n(e,t){if(!1===t)return!1;if("/"===e.charAt(t)&&"*"===e.charAt(t+1))for(let n=t+2;n<e.length;++n)if("*"===e.charAt(n)&&"/"===e.charAt(n+1))return n+2;return t}C(),t.exports=n}}),he=_({"src/utils/text/skip-trailing-comment.js"(e,t){C();var{skipEverythingButNewLine:n}=de();function r(e,t){return!1!==t&&("/"===e.charAt(t)&&"/"===e.charAt(t+1)?n(e,t):t)}t.exports=r}}),fe=_({"src/utils/text/skip-newline.js"(e,t){function n(e,t,n){let r=n&&n.backwards;if(!1===t)return!1;let i=e.charAt(t);if(r){if("\r"===e.charAt(t-1)&&"\n"===i)return t-2;if("\n"===i||"\r"===i||"\u2028"===i||"\u2029"===i)return t-1}else{if("\r"===i&&"\n"===e.charAt(t+1))return t+2;if("\n"===i||"\r"===i||"\u2028"===i||"\u2029"===i)return t+1}return t}C(),t.exports=n}}),me=_({"src/utils/text/get-next-non-space-non-comment-character-index-with-start-index.js"(e,t){C();var n=pe(),r=fe(),i=he(),{skipSpaces:o}=de();function a(e,t){let a=null,s=t;for(;s!==a;)a=s,s=o(e,s),s=n(e,s),s=i(e,s),s=r(e,s);return s}t.exports=a}}),ge=_({"src/common/util.js"(e,t){C();var{default:n}=(Q(),x(Y)),r=N(),{getSupportInfo:i}=ue(),o=ce(),a=H(),{skipWhitespace:s,skipSpaces:l,skipToLineEnd:u,skipEverythingButNewLine:c}=de(),d=pe(),p=he(),h=fe(),f=me(),
/*!******************!*\
!***./index.js***!
\******************/
/*! no static exports found */function(e,t,n){varr=n(/*! ./src/cos */"./src/cos.js");e.exports=r},"./lib/base64.js":
/*!***********************!*\
!***./lib/base64.js***!
\***********************/
/*! no static exports found */function(e,t){varn=function(e){e=e||{};vart,n=e.Base64,r="2.1.9",i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",o=function(e){for(vart={},n=0,r=e.length;n<r;n++)t[e.charAt(n)]=n;returnt}(i),a=String.fromCharCode,s=function(e){if(e.length<2){vart=e.charCodeAt(0);returnt<128?e:t<2048?a(192|t>>>6)+a(128|63&t):a(224|t>>>12&15)+a(128|t>>>6&63)+a(128|63&t)}t=65536+1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320);returna(240|t>>>18&7)+a(128|t>>>12&63)+a(128|t>>>6&63)+a(128|63&t)},l=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,u=function(e){returne.replace(l,s)},c=function(e){vart=[0,2,1][e.length%3],n=e.charCodeAt(0)<<16|(e.length>1?e.charCodeAt(1):0)<<8|(e.length>2?e.charCodeAt(2):0),r=[i.charAt(n>>>18),i.charAt(n>>>12&63),t>=2?"=":i.charAt(n>>>6&63),t>=1?"=":i.charAt(63&n)];returnr.join("")},d=e.btoa?function(t){returne.btoa(t)}:function(e){returne.replace(/[\s\S]{1,3}/g,c)},p=t?function(e){return(e.constructor===t.constructor?e:newt(e)).toString("base64")}:function(e){returnd(u(e))},h=function(e,t){returnt?p(String(e)).replace(/[+\/]/g,(function(e){return"+"==e?"-":"_"})).replace(/=/g,""):p(String(e))},f=function(e){returnh(e,!0)},m=newRegExp(["[À-ß][-¿]","[à-ï][-¿]{2}","[ð-÷][-¿]{3}"].join("|"),"g"),g=function(e){switch(e.length){case4:vart=(7&e.charCodeAt(0))<<18|(63&e.charCodeAt(1))<<12|(63&e.charCodeAt(2))<<6|63&e.charCodeAt(3),n=t-65536;returna(55296+(n>>>10))+a(56320+(1023&n));case3:returna((15&e.charCodeAt(0))<<12|(63&e.charCodeAt(1))<<6|63&e.charCodeAt(2));default:returna((31&e.charCodeAt(0))<<6|63&e.charCodeAt(1))}},b=function(e){returne.replace(m,g)},v=function(e){vart=e.length,n=t%4,r=(t>0?o[e.charAt(0)]<<18:0)|(t>1?o[e.charAt(1)]<<12:0)|(t>2?o[e.charAt(2)]<<6:0)|(t>3?o[e.charAt(3)]:0),i=[a(r>>>16),a(r>>>8&255),a(255&r)];returni.length-=[0,0,2,1][n],i.join("")},y=e.atob?function(t){returne.atob(t)}:function(e){returne.replace(/[\s\S]{1,4}/g,v)},_=t?function(e){return(e.constructor===t.constructor?e:newt(e,"base64")).toString()}:function(e){returnb(y(e))},E=function(e){return_(String(e).replace(/[-_]/g,(function(e){return"-"==e?"+":"/"})).replace(/[^A-Za-z0-9\+\/]/g,""))},w=function(){vart=e.Base64;returne.Base64=n,t},S={VERSION:r,atob:y,btoa:d,fromBase64:E,toBase64:h,utob:u,encode:h,encodeURI:f,btou:b,decode:E,noConflict:w};returnS}();e.exports=n},"./lib/crypto.js":
/*!***********************!*\
!***./lib/crypto.js***!
\***********************/
/*! no static exports found */function(e,t,n){(function(e){vart=n(/*! @babel/runtime/helpers/typeof */"./node_modules/@babel/runtime/helpers/typeof.js"),r=r||function(e,t){varn={},r=n.lib={},i=function(){},o=r.Base={extend:function(e){i.prototype=this;vart=newi;returne&&t.mixIn(e),t.hasOwnProperty("init")||(t.init=function(){t.$super.init.apply(this,arguments)}),t.init.prototype=t,t.$super=this,t},create:function(){vare=this.extend();returne.init.apply(e,arguments),e},init:function(){},mixIn:function(e){for(vartine)e.hasOwnProperty(t)&&(this[t]=e[t]);e.hasOwnProperty("toString")&&(this.toString=e.toString)},clone:function(){returnthis.init.prototype.extend(this)}},a=r.WordArray=o.extend({init:function(e,n){e=this.words=e||[],this.sigBytes=n!=t?n:4*e.length},toString:function(e){return(e||l).stringify(this)},concat:function(e){vart=this.words,n=e.words,r=this.sigBytes;if(e=e.sigBytes,this.clamp(),r%4)for(vari=0;i<e;i++)t[r+i>>>2]|=(n[i>>>2]>>>24-i%4*8&255)<<24-(r+i)%4*8;elseif(65535<n.length)for(i=0;i<e;i+=4)t[r+i>>>2]=n[i>>>2];elset.push.apply(t,n);returnthis.sigBytes+=e,this},clamp:function(){vart=this.words,n=this.sigBytes;t[n>>>2]&=4294967295<<32-n%4*8,t.length=e.ceil(n/4)},clone:function(){vare=o.clone.call(this);returne.words=this.words.slice(0),e},random:function(t){for(varn=[],r=0;r<t;r+=4)n.push(4294967296*e.random()|0);returnnewa.init(n,t)}}),s=n.enc={},l=s.Hex={stringify:function(e){vart=e.words;e=e.sigBytes;for(varn=[],r=0;r<e;r++){vari=t[r>>>2]>>>24-r%4*8&255;n.push((i>>>4).toString(16)),n.push((15&i).toString(16))}returnn.join("")},parse:function(e){for(vart=e.length,n=[],r=0;r<t;r+=2)n[r>>>3]|=parseInt(e.substr(r,2),16)<<24-r%8*4;returnnewa.init(n,t/2)}},u=s.Latin1={stringify:function(e){vart=e.words;e=e.sigBytes;for(varn=[],r=0;r<e;r++)n.push(String.fromCharCode(t[r>>>2]>>>24-r%4*8&255));returnn.join("")},parse:function(e){for(vart=e.length,n=[],r=0;r<t;r++)n[r>>>2]|=(255&e.charCodeAt(r))<<24-r%4*8;returnnewa.init(n,t)}},c=s.Utf8={stringify:function(e){try{returndecodeURIComponent(escape(u.stringify(e)))}catch(t){throwError("Malformed UTF-8 data")}},parse:function(e){returnu.parse(unescape(encodeURIComponent(e)))}},d=r.BufferedBlockAlgorithm=o.extend({reset:function(){this._data=newa.init,this._nDataBytes=0},_append:function(e){"string"==typeofe&&(e=c.parse(e)),this._data.concat(e),this._nDataBytes+=e.sigBytes},_process:function(t){varn=this._data,r=n.words,i=n.sigBytes,o=this.blockSize,s=i/(4*o);s=t?e.ceil(s):e.max((0|s)-this._minBufferSize,0);if(t=s*o,i=e.min(4*t,i),t){for(varl=0;l<t;l+=o)this._doProcessBlock(r,l);l=r.splice(0,t),n.sigBytes-=i}returnnewa.init(l,i)},clone:function(){vare=o.clone.call(this);returne._data=this._data.clone(),e},_minBufferSize:0});r.Hasher=d.extend({cfg:o.extend(),init:function(e){this.cfg=this.cfg.extend(e),this.reset()},reset:function(){d.reset.call(this),this._doReset()},update:function(e){returnthis._append(e),this._process(),this},finalize:function(e){returne&&this._append(e),this._doFinalize()},blockSize:16,_createHelper:function(e){returnfunction(t,n){returnnewe.init(n).finalize(t)}},_createHmacHelper:function(e){returnfunction(t,n){returnnewp.HMAC.init(e,n).finalize(t)}}});varp=n.algo={};returnn}(Math);(function(){vare=r,t=e.lib,n=t.WordArray,i=t.Hasher,o=[];t=e.algo.SHA1=i.extend({_doReset:function(){this._hash=newn.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(e,t){for(varn=this._hash.words,r=n[0],i=n[1],a=n[2],s=n[3],l=n[4],u=0;80>u;u++){if(16>u)o[u]=0|e[t+u];else{varc=o[u-3]^o[u-8]^o[u-14]^o[u-16];o[u]=c<<1|c>>>31}c=(r<<5|r>>>27)+l+o[u],c=20>u?c+(1518500249+(i&a|~i&s)):40>u?c+(1859775393+(i^a^s)):60>u?c+((i&a|i&s|a&s)-1894007588):c+((i^a^s)-899497514),l=s,s=a,a=i<<30|i>>>2,i=r,r=c}n[0]=n[0]+r|0,n[1]=n[1]+i|0,n[2]=n[2]+a|0,n[3]=n[3]+s|0,n[4]=n[4]+l|0},_doFinalize:function(){vare=this._data,t=e.words,n=8*this._nDataBytes,r=8*e.sigBytes;returnt[r>>>5]|=128<<24-r%32,t[14+(r+64>>>9<<4)]=Math.floor(n/4294967296),t[15+(r+64>>>9<<4)]=n,e.sigBytes=4*t.length,this._proce
/*!*************************!*\
!***./lib/json2xml.js***!
\*************************/
/*! no static exports found */function(e,t,n){varr=n(/*! @babel/runtime/helpers/typeof */"./node_modules/@babel/runtime/helpers/typeof.js"),i="a-zA-Z_À-ÖØ-öø-ÿͰ-ͽͿ--⁰-Ⰰ-、-豈-﷏ﷰ-<2D>",o="-.0-9·̀-ͯ‿⁀",a=newRegExp("^([^"+i+"])|^((x|X)(m|M)(l|L))|([^"+i+o+"])","g"),s=/[^\x09\x0A\x0D\x20-\xFF\x85\xA0-\uD7FF\uE000-\uFDCF\uFDE0-\uFFFD]/gm,l=function(e){vart=[];if(einstanceofObject)for(varnine)e.hasOwnProperty(n)&&t.push(n);returnt},u=function(e,t){varn=function(e,n,r,i,o){vars=void0!==t.indent?t.indent:"\t",l=t.prettyPrint?"\n"+newArray(i).join(s):"";t.removeIllegalNameCharacters&&(e=e.replace(a,"_"));varu=[l,"<",e,r||""];returnn&&n.length>0?(u.push(">"),u.push(n),o&&u.push(l),u.push("</"),u.push(e),u.push(">")):u.push("/>"),u.join("")};returnfunctione(i,o,a){vars=r(i);switch((Array.isArray?Array.isArray(i):iinstanceofArray)?s="array":iinstanceofDate&&(s="date"),s){case"array":varu=[];returni.map((function(t){u.push(e(t,1,a+1))})),t.prettyPrint&&u.push("\n"),u.join("");case"date":returni.toJSON?i.toJSON():i+"";case"object":varc=[];for(varpini)if(i.hasOwnProperty(p))if(i[p]instanceofArray)for(varh=0;h<i[p].length;h++)i[p].hasOwnProperty(h)&&c.push(n(p,e(i[p][h],0,a+1),null,a+1,l(i[p][h]).length));elsec.push(n(p,e(i[p],0,a+1),null,a+1));returnt.prettyPrint&&c.length>0&&c.push("\n"),c.join("");case"function":returni();default:returnt.escape?d(i):""+i}}(e,0,0)},c=function(e){vart=['<?xml version="1.0" encoding="UTF-8"'];returne&&t.push(' standalone="yes"'),t.push("?>"),t.join("")};functiond(e){return(""+e).replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/'/g,"'").replace(/"/g,""").replace(s,"")}e.exports=function(e,t){if(t||(t={xmlHeader:{standalone:!0},prettyPrint:!0,indent:" ",escape:!0}),"string"==typeofe)try{e=JSON.parse(e.toString())}catch(a){return!1}varn="",i="";t&&("object"==r(t)?(t.xmlHeader&&(n=c(!!t.xmlHeader.standalone)),"undefined"!=typeoft.docType&&(i="<!DOCTYPE "+t.docType+">")):n=c()),t=t||{};varo=[n,t.prettyPrint&&i?"\n":"",i,u(e,t)];returno.join("").replace(/\n{2,}/g,"\n").replace(/\s+$/g,"")}},"./lib/md5.js":
/*!********************!*\
!***./lib/md5.js***!
\********************/
/*! no static exports found */function(e,t,n){(function(e){vart,r=n(/*! @babel/runtime/helpers/typeof */"./node_modules/@babel/runtime/helpers/typeof.js");(function(){"use strict";vari="object"===("undefined"===typeofwindow?"undefined":r(window)),o=i?window:{};o.JS_MD5_NO_WINDOW&&(i=!1);vara=!i&&"object"===("undefined"===typeofself?"undefined":r(self));a&&(o=self);vars,l=!o.JS_MD5_NO_COMMON_JS&&"object"===r(e)&&e.exports,u=n(/*! !webpack amd options */"./node_modules/webpack/buildin/amd-options.js"),c=!o.JS_MD5_NO_ARRAY_BUFFER&&"undefined"!==typeofArrayBuffer,d="0123456789abcdef".split(""),p=[128,32768,8388608,-2147483648],h=[0,8,16,24],f=["hex","array","digest","buffer","arrayBuffer","base64"],m="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split(""),g=[];if(c){varb=newArrayBuffer(68);s=newUint8Array(b),g=newUint32Array(b)}!o.JS_MD5_NO_NODE_JS&&Array.isArray||(Array.isArray=function(e){return"[object Array]"===Object.prototype.toString.call(e)}),!c||!o.JS_MD5_NO_ARRAY_BUFFER_IS_VIEW&&ArrayBuffer.isView||(ArrayBuffer.isView=function(e){return"object"===r(e)&&e.buffer&&e.buffer.constructor===ArrayBuffer});varv=function(e){returnfunction(t,n){returnnew_(!0).update(t,n)[e]()}},y=function(){vare=v("hex");e.getCtx=e.create=function(){returnnew_},e.update=function(t){returne.create().update(t)};for(vart=0;t<f.length;++t){varn=f[t];e[n]=v(n)}returne};function_(e){if(e)g[0]=g[16]=g[1]=g[2]=g[3]=g[4]=g[5]=g[6]=g[7]=g[8]=g[9]=g[10]=g[11]=g[12]=g[13]=g[14]=g[15]=0,this.blocks=g,this.buffer8=s;elseif(c){vart=newArrayBuffer(68);this.buffer8=newUint8Array(t),this.blocks=newUint32Array(t)}elsethis.blocks=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];this.h0=this.h1=this.h2=this.h3=this.start=this.bytes=this.hBytes=0,this.finalized=this.hashed=!1,this.first=!0}_.prototype.update=function(e,t){if(!this.finalized){varn,r,i=0,o=e.length,a=this.blocks,s=this.buffer8;while(i<o){if(this.hashed&&(this.hashed=!1,a[0]=a[16],a[16]=a[1]=a[2]=a[3]=a[4]=a[5]=a[6]=a[7]=a[8]=a[9]=a[10]=a[11]=a[12]=a[13]=a[14]=a[15]=0),c)for(r=this.start;i<o&&r<64;++i)n=e.charCodeAt(i),t||n<128?s[r++]=n:n<2048?(s[r++]=192|n>>6,s[r++]=128|63&n):n<55296||n>=57344?(s[r++]=224|n>>12,s[r++]=128|n>>6&63,s[r++]=128|63&n):(n=65536+((1023&n)<<10|1023&e.charCodeAt(++i)),s[r++]=240|n>>18,s[r++]=128|n>>12&63,s[r++]=128|n>>6&63,s[r++]=128|63&n);elsefor(r=this.start;i<o&&r<64;++i)n=e.charCodeAt(i),t||n<128?a[r>>2]|=n<<h[3&r++]:n<2048?(a[r>>2]|=(192|n>>6)<<h[3&r++],a[r>>2]|=(128|63&n)<<h[3&r++]):n<55296||n>=57344?(a[r>>2]|=(224|n>>12)<<h[3&r++],a[r>>2]|=(128|n>>6&63)<<h[3&r++],a[r>>2]|=(128|63&n)<<h[3&r++]):(n=65536+((1023&n)<<10|1023&e.charCodeAt(++i)),a[r>>2]|=(240|n>>18)<<h[3&r++],a[r>>2]|=(128|n>>12&63)<<h[3&r++],a[r>>2]|=(128|n>>6&63)<<h[3&r++],a[r>>2]|=(128|63&n)<<h[3&r++]);this.lastByteIndex=r,this.bytes+=r-this.start,r>=64?(this.start=r-64,this.hash(),this.hashed=!0):this.start=r}returnthis.bytes>4294967295&&(this.hBytes+=this.bytes/4294967296<<0,this.bytes=this.bytes%4294967296),this}},_.prototype.finalize=function(){if(!this.finalized){this.finalized=!0;vare=this.blocks,t=this.lastByteIndex;e[t>>2]|=p[3&t],t>=56&&(this.hashed||this.hash(),e[0]=e[16],e[16]=e[1]=e[2]=e[3]=e[4]=e[5]=e[6]=e[7]=e[8]=e[9]=e[10]=e[11]=e[12]=e[13]=e[14]=e[15]=0),e[14]=this.bytes<<3,e[15]=this.hBytes<<3|this.bytes>>>29,this.hash()}},_.prototype.hash=function(){vare,t,n,r,i,o,a=this.blocks;this.first?(e=a[0]-680876937,e=(e<<7|e>>>25)-271733879<<0,r=(-1732584194^2004318071&e)+a[1]-117830708,r=(r<<12|r>>>20)+e<<0,n=(-271733879^r&(-271733879^e))+a[2]-1126478375,n=(n<<17|n>>>15)+r<<0,t=(e^n&(r^e))+a[3]-1316259209,t=(t<<22|t>>>10)+n<<0):(e=this.h0,t=this.h1,n=this.h2,r=this.h3,e+=(r^t&(n^r))+a[0]-680876936,e=(e<<7|e>>>25)+t<<0,r+=(n^e&(t^n))+a[1]-389564586,r=(r<<12|r>>>20)+e<<0,n+=(t^r&(e^t))+a[2]+606105819,n=(n<<17|n>>>15)+r<<0,t+=(e^n&(r^e))+a[3]-1044525330,t=(t<<22|t>>>10)+n<<0),e+=(r^t&(n^r))+a[4]-176418897,e=(e<<7|e>>>25)+t<<0,r+=(n^e&(t^n))+a[5]+1200080426,r=(r<<12|r>>>20)+e<<0,n+=(t^r&(e^t))+a[6]-1473231341,n=(n<<17|n>>>15)+r<<0,t+=(e^n&(r^e))+a[7]-4570
/*!************************!*\
!***./lib/request.js***!
\************************/
/*! no static exports found */function(e,t,n){varr=n(/*! @babel/runtime/helpers/typeof */"./node_modules/@babel/runtime/helpers/typeof.js"),i=function(e){switch(r(e)){case"string":returne;case"boolean":returne?"true":"false";case"number":returnisFinite(e)?e:"";default:return""}},o=function(e,t,n,o){returnt=t||"&",n=n||"=",null===e&&(e=void0),"object"===r(e)?Object.keys(e).map((function(r){varo=encodeURIComponent(i(r))+n;returnArray.isArray(e[r])?e[r].map((function(e){returno+encodeURIComponent(i(e))})).join(t):o+encodeURIComponent(i(e[r]))})).filter(Boolean).join(t):o?encodeURIComponent(i(o))+n+encodeURIComponent(i(e)):""},a=function(e,t,n){varr={},i=t.getAllResponseHeaders();returni&&i.length>0&&i.trim().split("\n").forEach((function(e){if(e){vart=e.indexOf(":"),n=e.substr(0,t).trim().toLowerCase(),i=e.substr(t+1).trim();r[n]=i}})),{error:e,statusCode:t.status,statusMessage:t.statusText,headers:r,body:n}},s=function(e,t){returnt||"text"!==t?e.response:e.responseText},l=function(e,t){varn=(e.method||"GET").toUpperCase(),r=e.url;if(e.qs){vari=o(e.qs);i&&(r+=(-1===r.indexOf("?")?"?":"&")+i)}varl=newXMLHttpRequest;if(l.open(n,r,!0),l.responseType=e.dataType||"text",e.xhrFields)for(varuine.xhrFields)l[u]=e.xhrFields[u];varc=e.headers;if(c)for(vardinc)c.hasOwnProperty(d)&&"content-length"!==d.toLowerCase()&&"user-agent"!==d.toLowerCase()&&"origin"!==d.toLowerCase()&&"host"!==d.toLowerCase()&&l.setRequestHeader(d,c[d]);returne.onProgress&&l.upload&&(l.upload.onprogress=e.onProgress),e.onDownloadProgress&&(l.onprogress=e.onDownloadProgress),e.timeout&&(l.timeout=e.timeout),l.ontimeout=function(e){varn=newError("timeout");t(a(n,l))},l.onload=function(){t(a(null,l,s(l,e.dataType)))},l.onerror=function(n){varr=s(l,e.dataType);if(r)t(a(null,l,r));else{vari=l.statusText;i||0!==l.status||(i=newError("CORS blocked or network error")),t(a(i,l,r))}},l.send(e.body||""),l};e.exports=l},"./lib/xml2json.js":
/*!*************************!*\
!***./lib/xml2json.js***!
\*************************/
/*! no static exports found */function(e,t,n){varr=n(/*! @xmldom/xmldom */"./node_modules/@xmldom/xmldom/lib/index.js").DOMParser,i=function(){this.version="1.3.5";vare={mergeCDATA:!0,normalize:!0,stripElemPrefix:!0},t=newRegExp(/(?!xmlns)^.*:/);newRegExp(/^\s+|\s+$/g);returnthis.grokType=function(e){return/^\s*$/.test(e)?null:/^(?:true|false)$/i.test(e)?"true"===e.toLowerCase():isFinite(e)?parseFloat(e):e},this.parseString=function(e,t){if(e){varn=this.stringToXML(e);returnn.getElementsByTagName("parsererror").length?null:this.parseXML(n,t)}returnnull},this.parseXML=function(n,r){for(varoinr)e[o]=r[o];vara={},s=0,l="",u=n.childNodes.length;if(u)for(varc,d,p,h=0;h<n.childNodes.length;h++)c=n.childNodes.item(h),4===c.nodeType?e.mergeCDATA&&(l+=c.nodeValue):3===c.nodeType?l+=c.nodeValue:1===c.nodeType&&(0===s&&(a={}),d=e.stripElemPrefix?c.nodeName.replace(t,""):c.nodeName,p=i.parseXML(c),a.hasOwnProperty(d)?(a[d].constructor!==Array&&(a[d]=[a[d]]),a[d].push(p)):(a[d]=p,s++));returnObject.keys(a).length||(a=l||""),a},this.xmlToString=function(e){try{vart=e.xml?e.xml:(newXMLSerializer).serializeToString(e);returnt}catch(n){returnnull}},this.stringToXML=function(e){try{vart=null;if(window.DOMParser){varn=newr;returnt=n.parseFromString(e,"text/xml"),t}returnt=newActiveXObject("Microsoft.XMLDOM"),t.async=!1,t.loadXML(e),t}catch(i){returnnull}},this}.call({}),o=function(e){returni.parseString(e)};e.exports=o},"./node_modules/@babel/runtime/helpers/classCallCheck.js":
/*! no static exports found */function(e,t){functionn(e,t){if(!(einstanceoft))thrownewTypeError("Cannot call a class as a function")}e.exports=n,e.exports.__esModule=!0,e.exports["default"]=e.exports},"./node_modules/@babel/runtime/helpers/createClass.js":
/*! no static exports found */function(e,t,n){varr=n(/*! ./toPropertyKey.js */"./node_modules/@babel/runtime/helpers/toPropertyKey.js");functioni(e,t){for(varn=0;n<t.length;n++){vari=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"ini&&(i.writable=!0),Object.defineProperty(e,r(i.key),i)}}functiono(e,t,n){returnt&&i(e.prototype,t),n&&i(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}e.exports=o,e.exports.__esModule=!0,e.exports["default"]=e.exports},"./node_modules/@babel/runtime/helpers/toPrimitive.js":
/*! no static exports found */function(e,t,n){varr=n(/*! ./typeof.js */"./node_modules/@babel/runtime/helpers/typeof.js")["default"];functioni(e,t){if("object"!==r(e)||null===e)returne;varn=e[Symbol.toPrimitive];if(void0!==n){vari=n.call(e,t||"default");if("object"!==r(i))returni;thrownewTypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}e.exports=i,e.exports.__esModule=!0,e.exports["default"]=e.exports},"./node_modules/@babel/runtime/helpers/toPropertyKey.js":
/*! no static exports found */function(e,t,n){varr=n(/*! ./typeof.js */"./node_modules/@babel/runtime/helpers/typeof.js")["default"],i=n(/*! ./toPrimitive.js */"./node_modules/@babel/runtime/helpers/toPrimitive.js");functiono(e){vart=i(e,"string");return"symbol"===r(t)?t:String(t)}e.exports=o,e.exports.__esModule=!0,e.exports["default"]=e.exports},"./node_modules/@babel/runtime/helpers/typeof.js":
/*! no static exports found */function(e,t){functionn(t){returne.exports=n="function"==typeofSymbol&&"symbol"==typeofSymbol.iterator?function(e){returntypeofe}:function(e){returne&&"function"==typeofSymbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeofe},e.exports.__esModule=!0,e.exports["default"]=e.exports,n(t)}e.exports=n,e.exports.__esModule=!0,e.exports["default"]=e.exports},"./node_modules/@xmldom/xmldom/lib/conventions.js":
/*! no static exports found */function(e,t,n){"use strict";functionr(e,t,n){if(void0===n&&(n=Array.prototype),e&&"function"===typeofn.find)returnn.find.call(e,t);for(varr=0;r<e.length;r++)if(Object.prototype.hasOwnProperty.call(e,r)){vari=e[r];if(t.call(void0,i,r,e))returni}}functioni(e,t){returnvoid0===t&&(t=Object),t&&"function"===typeoft.freeze?t.freeze(e):e}functiono(e,t){if(null===e||"object"!==typeofe)thrownewTypeError("target is not an object");for(varnint)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);returne}vara=i({HTML:"text/html",isHTML:function(e){returne===a.HTML},XML_APPLICATION:"application/xml",XML_TEXT:"text/xml",XML_XHTML_APPLICATION:"application/xhtml+xml",XML_SVG_IMAGE:"image/svg+xml"}),s=i({HTML:"http://www.w3.org/1999/xhtml",isHTML:function(e){returne===s.HTML},SVG:"http://www.w3.org/2000/svg",XML:"http://www.w3.org/XML/1998/namespace",XMLNS:"http://www.w3.org/2000/xmlns/"});t.assign=o,t.find=r,t.freeze=i,t.MIME_TYPE=a,t.NAMESPACE=s},"./node_modules/@xmldom/xmldom/lib/dom-parser.js":
/*! no static exports found */function(e,t,n){varr=n(/*! ./dom */"./node_modules/@xmldom/xmldom/lib/dom.js");t.DOMImplementation=r.DOMImplementation,t.XMLSerializer=r.XMLSerializer,t.DOMParser=n(/*! ./dom-parser */"./node_modules/@xmldom/xmldom/lib/dom-parser.js").DOMParser},"./node_modules/@xmldom/xmldom/lib/sax.js":
/*! no static exports found */function(e,t,n){varr=n(/*! ./conventions */"./node_modules/@xmldom/xmldom/lib/conventions.js").NAMESPACE,i=/[A-Z_a-z\xC0-\xD6\xD8-\xF6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,o=newRegExp("[\\-\\.0-9"+i.source.slice(1,-1)+"\\u00B7\\u0300-\\u036F\\u203F-\\u2040]"),a=newRegExp("^"+i.source+o.source+"*(?::"+i.source+o.source+"*)?$"),s=0,l=1,u=2,c=3,d=4,p=5,h=6,f=7;functionm(e,t){this.message=e,this.locator=t,Error.captureStackTrace&&Error.captureStackTrace(this,m)}functiong(){}functionb(e,t,n,i,o){functiona(e){if(e>65535){e-=65536;vart=55296+(e>>10),n=56320+(1023&e);returnString.fromCharCode(t,n)}returnString.fromCharCode(e)}functions(e){vart=e.slice(1,-1);returnObject.hasOwnProperty.call(n,t)?n[t]:"#"===t.charAt(0)?a(parseInt(t.substr(1).replace("x","0x"))):(o.error("entity not found:"+e),e)}functionl(t){if(t>b){varn=e.substring(b,t).replace(/&#?\w+;/g,s);h&&u(b),i.characters(n,0,t-b),b=t}}functionu(t,n){while(t>=d&&(n=p.exec(e)))c=n.index,d=c+n[0].length,h.lineNumber++;h.columnNumber=t-c+1}varc=0,d=0,p=/.*(?:\r\n?|\n)|.*$/g,h=i.locator,f=[{currentNSMap:t}],g={},b=0;while(1){try{varS=e.indexOf("<",b);if(S<0){if(!e.substr(b).match(/^\s*$/)){varD=i.doc,A=D.createTextNode(e.substr(b));D.appendChild(A),i.currentElement=A}return}switch(S>b&&l(S),e.charAt(S+1)){case"/":vark=e.indexOf(">",S+3),O=e.substring(S+2,k).replace(/[ \t\n\r]+$/g,""),N=f.pop();k<0?(O=e.substring(S+2).replace(/[\s<].*/,""),o.error("end tag name: "+O+" is not complete:"+N.tagName),k=S+1+O.length):O.match(/\s</)&&(O=O.replace(/[\s<].*/,""),o.error("end tag name: "+O+" maybe not complete"),k=S+1+O.length);varM=N.localNSMap,I=N.tagName==O,R=I||N.tagName&&N.tagName.toLowerCase()==O.toLowerCase();if(R){if(i.endElement(N.uri,N.localName,O),M)for(varPinM)Object.prototype.hasOwnProperty.call(M,P)&&i.endPrefixMapping(P);I||o.fatalError("end tag name: "+O+" is not match the current start tagName:"+N.tagName)}elsef.push(N);k++;break;case"?":h&&u(S),k=C(e,S,i);break;case"!":h&&u(S),k=x(e,S,i,o);break;default:h&&u(S);varL=newT,F=f[f.length-1].currentNSMap,j=(k=y(e,S,L,F,s,o),L.length);if(!L.closed&&w(e,k,L.tagName,g)&&(L.closed=!0,n.nbsp||o.warning("unclosed xml attribute")),h&&j){for(varB=v(h,{}),U=0;U<j;U++){varq=L[U];u(q.offset),q.locator=v(h,{})}i.locator=B,_(L,i,F)&&f.push(L),i.locator=h}else_(L,i,F)&&f.push(L);r.isHTML(L.uri)&&!L.closed?k=E(e,k,L.tagName,s,i):k++}}catch(z){if(zinstanceofm)throwz;o.error("element parse error: "+z),k=-1}k>b?b=k:l(Math.max(S,b)+1)}}functionv(e,t){returnt.lineNumber=e.lineNumber,t.columnNumber=e.columnNumber,t}functiony(e,t,n,i,o,a){functionm(e,t,r){n.attributeNames.hasOwnProperty(e)&&a.fatalError("Attribute "+e+" redefined"),n.addValue(e,t.replace(/[\t\n\r]/g," ").replace(/&#?\w+;/g,o),r)}varg,b=++t,v=s;while(1){vary=e.charAt(b);switch(y){case"=":if(v===l)g=e.slice(t,b),v=c;else{if(v!==u)thrownewError("attribute equal must after attrName");v=c}break;case"'":case'"':if(v===c||v===l){if(v===l&&(a.warning('attribute value must after "="'),g=e.slice(t,b)),t=b+1,b=e.indexOf(y,t),!(b>0))thrownewError("attribute value no end '"+y+"' match");_=e.slice(t,b),m(g,_,t-1),v=p}else{if(v!=d)thrownewError('attribute value must after "="');_=e.slice(t,b),m(g,_,t),a.warning('attribute "'+g+'" missed start quot('+y+")!!"),t=b+1,v=p}break;case"/":switch(v){cases:n.setTagName(e.slice(t,b));casep:caseh:casef:v=f,n.closed=!0;cased:casel:break;caseu:n.closed=!0;break;default:thrownewError("attribute invalid close char('/')")}break;case"":returna.error("unexpected end of input"),v==s&&n.setTagName(e.slice(t,b)),b;case">":switch(v){cases:n.setTagName(e.slice(t,b));casep:caseh:casef:break;cased:casel:_=e.slice(t,b),"/"===_.slice(-1)&&(n.closed=!0,_=_.slice(0,-1));caseu:v===u&&(_=g),v==d?(a.warning('attribute "'+_+'" missed quot(")!'),m(g,_,t)):(r.isHTML(i[""])&&_.match(/^(?:disabled|checked|selected)$/i)||a.warning('attribute "'+_+'" missed value!! "'+_+'" instead!!'),m(_,_,t));break;casec:th
/*!*****************************************!*\
!***./node_modules/process/browser.js***!
\*****************************************/
/*! no static exports found */function(e,t){varn,r,i=e.exports={};functiono(){thrownewError("setTimeout has not been defined")}functiona(){thrownewError("clearTimeout has not been defined")}functions(e){if(n===setTimeout)returnsetTimeout(e,0);if((n===o||!n)&&setTimeout)returnn=setTimeout,setTimeout(e,0);try{returnn(e,0)}catch(t){try{returnn.call(null,e,0)}catch(t){returnn.call(this,e,0)}}}functionl(e){if(r===clearTimeout)returnclearTimeout(e);if((r===a||!r)&&clearTimeout)returnr=clearTimeout,clearTimeout(e);try{returnr(e)}catch(t){try{returnr.call(null,e)}catch(t){returnr.call(this,e)}}}(function(){try{n="function"===typeofsetTimeout?setTimeout:o}catch(e){n=o}try{r="function"===typeofclearTimeout?clearTimeout:a}catch(e){r=a}})();varu,c=[],d=!1,p=-1;functionh(){d&&u&&(d=!1,u.length?c=u.concat(c):p=-1,c.length&&f())}functionf(){if(!d){vare=s(h);d=!0;vart=c.length;while(t){u=c,c=[];while(++p<t)u&&u[p].run();p=-1,t=c.length}u=null,d=!1,l(e)}}functionm(e,t){this.fun=e,this.array=t}functiong(){}i.nextTick=function(e){vart=newArray(arguments.length-1);if(arguments.length>1)for(varn=1;n<arguments.length;n++)t[n-1]=arguments[n];c.push(newm(e,t)),1!==c.length||d||s(f)},m.prototype.run=function(){this.fun.apply(null,this.array)},i.title="browser",i.browser=!0,i.env={},i.argv=[],i.version="",i.versions={},i.on=g,i.addListener=g,i.once=g,i.off=g,i.removeListener=g,i.removeAllListeners=g,i.emit=g,i.prependListener=g,i.prependOnceListener=g,i.listeners=function(e){return[]},i.binding=function(e){thrownewError("process.binding is not supported")},i.cwd=function(){return"/"},i.chdir=function(e){thrownewError("process.chdir is not supported")},i.umask=function(){return0}},"./node_modules/webpack/buildin/amd-options.js":
/*!****************************************!*\
!***(webpack)/buildin/amd-options.js***!
\****************************************/
/*! no static exports found */function(e,t){(function(t){e.exports=t}).call(this,{})},"./node_modules/webpack/buildin/module.js":
/*!***********************************!*\
!***(webpack)/buildin/module.js***!
\***********************************/
/*! no static exports found */function(e,t){e.exports=function(e){returne.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){returne.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){returne.i}}),e.webpackPolyfill=1),e}},"./package.json":
/*! no static exports found */function(e,t,n){varr=n(/*! @babel/runtime/helpers/typeof */"./node_modules/@babel/runtime/helpers/typeof.js"),i=n(/*! ./session */"./src/session.js"),o=n(/*! ./async */"./src/async.js"),a=n(/*! ./event */"./src/event.js").EventProxy,s=n(/*! ./util */"./src/util.js"),l=n(/*! ./tracker */"./src/tracker.js");functionu(e,t){varn,r,o=this,l=newa,u=e.TaskId,d=e.Bucket,p=e.Region,f=e.Key,g=e.Body,b=e.ChunkSize||e.SliceSize||o.options.ChunkSize,v=e.AsyncLimit,y=e.StorageClass,_=e.ServerSideEncryption,E=e.onHashProgress,w=e.tracker;w&&w.setParams({chunkSize:b}),l.on("error",(function(n){if(o._isRunningTask(u))returnn.UploadId=e.UploadData.UploadId||"",t(n)})),l.on("upload_complete",(function(n){varr=s.extend({UploadId:e.UploadData.UploadId||""},n);t(null,r)})),l.on("upload_slice_complete",(function(t){vara={};s.each(e.Headers,(function(e,t){varn=t.toLowerCase();0!==n.indexOf("x-cos-meta-")&&"pic-operations"!==n||(a[t]=e)})),m.call(o,{Bucket:d,Region:p,Key:f,UploadId:t.UploadId,SliceList:t.SliceList,Headers:a,tracker:w},(function(e,a){if(o._isRunningTask(u)){if(i.removeUsing(t.UploadId),e)returnr(null,!0),l.emit("error",e);i.removeUploadId.call(o,t.UploadId),r({loaded:n,total:n},!0),l.emit("upload_complete",a)}}))})),l.on("get_upload_data_finish",(function(t){vara=i.getFileId(g,e.ChunkSize,d,f);a&&i.saveUploadId.call(o,a,t.UploadId,o.options.UploadIdCacheLimit),i.setUsing(t.UploadId),r(null,!0),h.call(o,{TaskId:u,Bucket:d,Region:p,Key:f,Body:g,FileSize:n,SliceSize:b,AsyncLimit:v,ServerSideEncryption:_,UploadData:t,Headers:e.Headers,onProgress:r,tracker:w},(function(e,t){if(o._isRunningTask(u))returne?(r(null,!0),l.emit("error",e)):voidl.emit("upload_slice_complete",t)}))})),l.on("get_file_size_finish",(function(){if(r=s.throttleOnProgress.call(o,n,e.onProgress),e.UploadData.UploadId)l.emit("get_upload_data_finish",e.UploadData);else{vart=s.extend({TaskId:u,Bucket:d,Region:p,Key:f,Headers:e.Headers,StorageClass:y,Body:g,FileSize:n,SliceSize:b,onHashProgress:E,tracker:w},e);c.call(o,t,(function(t,n){if(o._isRunningTask(u)){if(t)returnl.emit("error",t);e.UploadData.UploadId=n.UploadId,e.UploadData.PartList=n.PartList,l.emit("get_upload_data_finish",e.UploadData)}}))}})),n=e.ContentLength,deletee.ContentLength,!e.Headers&&(e.Headers={}),s.each(e.Headers,(function(t,n){"content-length"===n.toLowerCase()&&deletee.Headers[n]})),function(){for(vart=[1,2,4,8,16,32,64,128,256,512,1024,2048,4096,5120],r=1048576,i=0;i<t.length;i++)if(r=1024*t[i]*1024,n/r<=o.options.MaxPartNumber)break;e.ChunkSize=e.SliceSize=b=Math.max(b,r)}(),0===n?(e.Body="",e.ContentLength=0,e.SkipTask=!0,o.putObject(e,t)):l.emit("get_file_size_finish")}functionc(e,t){varn=e.TaskId,r=e.Bucket,l=e.Region,u=e.Key,c=e.StorageClass,h=this,f={},m=e.FileSize,g=e.SliceSize,b=Math.ceil(m/g),v=0,y=s.throttleOnProgress.call(h,m,e.onHashProgress),_=function(t,n){varr=g*(t-1),i=Math.min(r+g,m),o=i-r;f[t]?n(null,{PartNumber:t,ETag:f[t],Size:o}):s.fileSlice(e.Body,r,i,!1,(function(e){s.getFileMd5(e,(function(e,r){if(e)returnn(s.error(e));vari='"'+r+'"';f[t]=i,1,v+=o,y({loaded:v,total:m}),n(null,{PartNumber:t,ETag:i,Size:o})}))}))},E=function(e,t){varn=e.length;if(0===n)returnt(null,!0);if(n>b)returnt(null,!1);if(n>1){varr=Math.max(e[0].Size,e[1].Size);if(r!==g)returnt(null,!1)}vari=functionr(i){if(i<n){varo=e[i];_(o.PartNumber,(function(e,n){n&&n.ETag===o.ETag&&n.Size===o.Size?r(i+1):t(null,!1)}))}elset(null,!0)};i(0)},w=newa;w.on("error",(function(e){if(h._isRunningTask(n))returnt(e)})),w.on("upload_id_available",(function(e){varn={},r=[];s.each(e.PartList,(function(e){n[e.PartNumber]=e}));for(vari=1;i<=b;i++){varo=n[i];o?(o.PartNumber=i,o.Uploaded=!0):o={PartNumber:i,ETag:null,Uploaded:!1},r.push(o)}e.PartList=r,t(null,e)})),w.on("no_available_upload_id",(function(){if(h._isRunningTask(n)){vari=s.extend({Bucket:r,Region:l,Key:u,Query:s.clone(e.Query),StorageClass:c,Body:e.Body,calledBySdk:"sliceUploadFile",tracker:e.tracker},e),o=s.clone(e.Headers);deleteo["x-cos-mime-limit"],i.Headers=o,h.multipartInit(i,(function(e
/*!**********************!*\
!***./src/async.js***!
\**********************/
/*! no static exports found */function(e,t){varn=function(e,t,n,r){if(r=r||function(){},!e.length||t<=0)returnr();vari=0,o=0,a=0;(functions(){if(i>=e.length)returnr();while(a<t&&o<e.length)o+=1,a+=1,n(e[o-1],(function(t){t?(r(t),r=function(){}):(i+=1,a-=1,i>=e.length?r():s())}))})()},r=function(e,t,n){varr=functionr(i){t((function(t,o){t&&i<e?r(i+1):n(t,o)}))};e<1?n():r(1)},i={eachLimit:n,retry:r};e.exports=i},"./src/base.js":
/*!*********************!*\
!***./src/base.js***!
\*********************/
/*! no static exports found */function(e,t,n){varr=n(/*! @babel/runtime/helpers/typeof */"./node_modules/@babel/runtime/helpers/typeof.js"),i=n(/*! ../lib/request */"./lib/request.js"),o=n(/*! ./util */"./src/util.js");functiona(e,t){"function"===typeofe&&(t=e,e={});varn=this.options.Protocol||(o.isBrowser&&"object"===("undefined"===typeoflocation?"undefined":r(location))&&"http:"===location.protocol?"http:":"https:"),i=this.options.ServiceDomain,a=e.AppId||this.options.appId,s=e.Region;i?(i=i.replace(/\{\{AppId\}\}/gi,a||"").replace(/\{\{Region\}\}/gi,s||"").replace(/\{\{.*?\}\}/gi,""),/^[a-zA-Z]+:\/\//.test(i)||(i=n+"//"+i),"/"===i.slice(-1)&&(i=i.slice(0,-1))):i=s?n+"//cos."+s+".myqcloud.com":n+"//service.cos.myqcloud.com";varl="",u=s?"cos."+s+".myqcloud.com":"service.cos.myqcloud.com",c=i.replace(/^https?:\/\/([^/]+)(\/.*)?$/,"$1");u===c&&(l=u),Re.call(this,{Action:"name/cos:GetService",url:i,method:"GET",headers:e.Headers,SignHost:l},(function(e,n){if(e)returnt(e);varr=n&&n.ListAllMyBucketsResult&&n.ListAllMyBucketsResult.Buckets&&n.ListAllMyBucketsResult.Buckets.Bucket||[];r=o.isArray(r)?r:[r];vari=n&&n.ListAllMyBucketsResult&&n.ListAllMyBucketsResult.Owner||{};t(null,{Buckets:r,Owner:i,statusCode:n.statusCode,headers:n.headers})}))}functions(e,t){varn=this,r="";if(e["BucketAZConfig"]){vari={BucketAZConfig:e.BucketAZConfig};r=o.json2xml({CreateBucketConfiguration:i})}Re.call(this,{Action:"name/cos:PutBucket",method:"PUT",Bucket:e.Bucket,Region:e.Region,headers:e.Headers,body:r},(function(r,i){if(r)returnt(r);varo=ke({protocol:n.options.Protocol,domain:n.options.Domain,bucket:e.Bucket,region:e.Region,isLocation:!0});t(null,{Location:o,statusCode:i.statusCode,headers:i.headers})}))}functionl(e,t){Re.call(this,{Action:"name/cos:HeadBucket",Bucket:e.Bucket,Region:e.Region,headers:e.Headers,method:"HEAD"},t)}functionu(e,t){varn={};n["prefix"]=e["Prefix"]||"",n["delimiter"]=e["Delimiter"],n["marker"]=e["Marker"],n["max-keys"]=e["MaxKeys"],n["encoding-type"]=e["EncodingType"],Re.call(this,{Action:"name/cos:GetBucket",ResourceKey:n["prefix"],method:"GET",Bucket:e.Bucket,Region:e.Region,headers:e.Headers,qs:n},(function(e,n){if(e)returnt(e);varr=n.ListBucketResult||{},i=r.Contents||[],a=r.CommonPrefixes||[];i=o.isArray(i)?i:[i],a=o.isArray(a)?a:[a];vars=o.clone(r);o.extend(s,{Contents:i,CommonPrefixes:a,statusCode:n.statusCode,headers:n.headers}),t(null,s)}))}functionc(e,t){Re.call(this,{Action:"name/cos:DeleteBucket",Bucket:e.Bucket,Region:e.Region,headers:e.Headers,method:"DELETE"},(function(e,n){returne&&204===e.statusCode?t(null,{statusCode:e.statusCode}):e?t(e):voidt(null,{statusCode:n.statusCode,headers:n.headers})}))}functiond(e,t){varn=e.Headers,r="";if(e["AccessControlPolicy"]){vari=o.clone(e["AccessControlPolicy"]||{}),a=i.Grants||i.Grant;a=o.isArray(a)?a:[a],deletei.Grant,deletei.Grants,i.AccessControlList={Grant:a},r=o.json2xml({AccessControlPolicy:i}),n["Content-Type"]="application/xml",n["Content-MD5"]=o.b64(o.md5(r))}o.each(n,(function(e,t){0===t.indexOf("x-cos-grant-")&&(n[t]=Ae(n[t]))})),Re.call(this,{Action:"name/cos:PutBucketACL",method:"PUT",Bucket:e.Bucket,Region:e.Region,headers:n,action:"acl",body:r},(function(e,n){if(e)returnt(e);t(null,{statusCode:n.statusCode,headers:n.headers})}))}functionp(e,t){Re.call(this,{Action:"name/cos:GetBucketACL",method:"GET",Bucket:e.Bucket,Region:e.Region,headers:e.Headers,action:"acl"},(function(e,n){if(e)returnt(e);varr=n.AccessControlPolicy||{},i=r.Owner||{},a=r.AccessControlList.Grant||[];a=o.isArray(a)?a:[a];vars=De(r);n.headers&&n.headers["x-cos-acl"]&&(s.ACL=n.headers["x-cos-acl"]),s=o.extend(s,{Owner:i,Grants:a,statusCode:n.statusCode,headers:n.headers}),t(null,s)}))}functionh(e,t){varn=e["CORSConfiguration"]||{},r=n["CORSRules"]||e["CORSRules"]||[];r=o.clone(o.isArray(r)?r:[r]),o.each(r,(function(e){o.each(["AllowedOrigin","AllowedHeader","AllowedMethod","ExposeHeader"],(function(t){varn=t+"s",r=e[n]||e[t]||[];deletee[n],e[t]=o.isArray(r)?r:[r]}))}));vari={CORSRule:r};e.ResponseVary&&(i.ResponseVary=e.ResponseVary);vara=
/*!********************!*\
!***./src/cos.js***!
\********************/
/*! no static exports found */function(e,t,n){"use strict";varr=n(/*! ./util */"./src/util.js"),i=n(/*! ./event */"./src/event.js"),o=n(/*! ./task */"./src/task.js"),a=n(/*! ./base */"./src/base.js"),s=n(/*! ./advance */"./src/advance.js"),l=n(/*! ../package.json */"./package.json"),u={AppId:"",SecretId:"",SecretKey:"",SecurityToken:"",ChunkRetryTimes:2,FileParallelLimit:3,ChunkParallelLimit:3,ChunkSize:1048576,SliceSize:1048576,CopyChunkParallelLimit:20,CopyChunkSize:10485760,CopySliceSize:10485760,MaxPartNumber:1e4,ProgressInterval:1e3,Domain:"",ServiceDomain:"",Protocol:"",CompatibilityMode:!1,ForcePathStyle:!1,UseRawKey:!1,Timeout:0,CorrectClockSkew:!0,SystemClockOffset:0,UploadCheckContentMd5:!1,UploadQueueSize:1e4,UploadAddMetaMd5:!1,UploadIdCacheLimit:50,UseAccelerate:!1,ForceSignHost:!0,EnableTracker:!1,DeepTracker:!1,Beacon:null,TrackerDelay:5e3,CustomId:"",AutoSwitchHost:!0,CopySourceParser:null},c=function(e){if(this.options=r.extend(r.clone(u),e||{}),this.options.FileParallelLimit=Math.max(1,this.options.FileParallelLimit),this.options.ChunkParallelLimit=Math.max(1,this.options.ChunkParallelLimit),this.options.ChunkRetryTimes=Math.max(0,this.options.ChunkRetryTimes),this.options.ChunkSize=Math.max(1048576,this.options.ChunkSize),this.options.CopyChunkParallelLimit=Math.max(1,this.options.CopyChunkParallelLimit),this.options.CopyChunkSize=Math.max(1048576,this.options.CopyChunkSize),this.options.CopySliceSize=Math.max(0,this.options.CopySliceSize),this.options.MaxPartNumber=Math.max(1024,Math.min(1e4,this.options.MaxPartNumber)),this.options.Timeout=Math.max(0,this.options.Timeout),this.options.AppId&&console.warn('warning: AppId has been deprecated, Please put it at the end of parameter Bucket(E.g: "test-1250000000").'),this.options.SecretId&&this.options.SecretId.indexOf(" ")>-1&&(console.error("error: SecretId格式错误,请检查"),console.error("error: SecretId format is incorrect. Please check")),this.options.SecretKey&&this.options.SecretKey.indexOf(" ")>-1&&(console.error("error: SecretKey格式错误,请检查"),console.error("error: SecretKey format is incorrect. Please check")),r.isNode()&&(console.log("Tip: Next.js、Nuxt.js 等服务端渲染技术可正常使用JavaScript SDK,请忽略下方 nodejs 环境警告"),console.warn("warning: cos-js-sdk-v5 不支持 nodejs 环境使用,请改用 cos-nodejs-sdk-v5,参考文档: https://cloud.tencent.com/document/product/436/8629"),console.warn("warning: cos-js-sdk-v5 does not support nodejs environment. Please use cos-nodejs-sdk-v5 instead. See: https://cloud.tencent.com/document/product/436/8629")),this.options.ForcePathStyle)throwconsole.warn("cos-js-sdk-v5不再支持使用path-style,仅支持使用virtual-hosted-style,参考文档:https://cloud.tencent.com/document/product/436/96243"),newError("ForcePathStyle is not supported");i.init(this),o.init(this)};a.init(c,o),s.init(c,o),c.util={md5:r.md5,xml2json:r.xml2json,json2xml:r.json2xml,encodeBase64:r.encodeBase64},c.getAuthorization=r.getAuth,c.version=l.version,e.exports=c},"./src/event.js":
/*!**********************!*\
!***./src/event.js***!
\**********************/
/*! no static exports found */function(e,t){varn=function(e){vart={},n=function(e){return!t[e]&&(t[e]=[]),t[e]};e.on=function(e,t){"task-list-update"===e&&console.warn('warning: Event "'+e+'" has been deprecated. Please use "list-update" instead.'),n(e).push(t)},e.off=function(e,t){for(varr=n(e),i=r.length-1;i>=0;i--)t===r[i]&&r.splice(i,1)},e.emit=function(e,t){for(varr=n(e).map((function(e){returne})),i=0;i<r.length;i++)r[i](t)}},r=function(){n(this)};e.exports.init=n,e.exports.EventProxy=r},"./src/session.js":
/*!************************!*\
!***./src/session.js***!
\************************/
/*! no static exports found */function(e,t,n){varr,i,o=n(/*! ./util */"./src/util.js"),a="cos_sdk_upload_cache",s=2592e3,l=function(){try{vare=JSON.parse(localStorage.getItem(a))}catch(t){}e||(e=[]),r=e},u=function(){try{r.length?localStorage.setItem(a,JSON.stringify(r)):localStorage.removeItem(a)}catch(e){}},c=function(){if(!r){l.call(this);for(vare=!1,t=Math.round(Date.now()/1e3),n=r.length-1;n>=0;n--){vari=r[n][2];(!i||i+s<t)&&(r.splice(n,1),e=!0)}e&&u()}},d=function(){i||(i=setTimeout((function(){u(),i=null}),400))},p={using:{},setUsing:function(e){p.using[e]=!0},removeUsing:function(e){deletep.using[e]},getFileId:function(e,t,n,r){returne.name&&e.size&&e.lastModifiedDate&&t?o.md5([e.name,e.size,e.lastModifiedDate,t,n,r].join("::")):null},getCopyFileId:function(e,t,n,r,i){vara=t["content-length"],s=t.etag||"",l=t["last-modified"];returne&&n?o.md5([e,a,s,l,n,r,i].join("::")):null},getUploadIdList:function(e){if(!e)returnnull;c.call(this);for(vart=[],n=0;n<r.length;n++)r[n][0]===e&&t.push(r[n][1]);returnt.length?t:null},saveUploadId:function(e,t,n){if(c.call(this),e){for(vari=r.length-1;i>=0;i--){varo=r[i];o[0]===e&&o[1]===t&&r.splice(i,1)}r.unshift([e,t,Math.round(Date.now()/1e3)]),r.length>n&&r.splice(n),d()}},removeUploadId:function(e){c.call(this),deletep.using[e];for(vart=r.length-1;t>=0;t--)r[t][1]===e&&r.splice(t,1);d()}};e.exports=p},"./src/task.js":
/*!*********************!*\
!***./src/task.js***!
\*********************/
/*! no static exports found */function(e,t,n){varr=n(/*! ./session */"./src/session.js"),i=n(/*! ./util */"./src/util.js"),o={},a=function(e,t){o[t]=e[t],e[t]=function(e,n){e.SkipTask?o[t].call(this,e,n):this._addTask(t,e,n)}},s=function(e){vart=[],n={},a=0,s=0,l=function(e){vart={id:e.id,Bucket:e.Bucket,Region:e.Region,Key:e.Key,FilePath:e.FilePath,state:e.state,loaded:e.loaded,size:e.size,speed:e.speed,percent:e.percent,hashPercent:e.hashPercent,error:e.error};returne.FilePath&&(t.FilePath=e.FilePath),e._custom&&(t._custom=e._custom),t},u=function(){varn,r=function(){n=0,e.emit("task-list-update",{list:i.map(t,l)}),e.emit("list-update",{list:i.map(t,l)})};returnfunction(){n||(n=setTimeout(r))}}(),c=function(){if(!(t.length<=e.options.UploadQueueSize)){for(varr=0;r<s&&r<t.length&&t.length>e.options.UploadQueueSize;){vari="waiting"===t[r].state||"checking"===t[r].state||"uploading"===t[r].state;t[r]&&i?r++:(n[t[r].id]&&deleten[t[r].id],t.splice(r,1),s--)}u()}},d=functionn(){if(!(a>=e.options.FileParallelLimit)){while(t[s]&&"waiting"!==t[s].state)s++;if(!(s>=t.length)){varr=t[s];s++,a++,r.state="checking",r.params.onTaskStart&&r.params.onTaskStart(l(r)),!r.params.UploadData&&(r.params.UploadData={});vard=i.formatParams(r.api,r.params);o[r.api].call(e,d,(function(t,i){e._isRunningTask(r.id)&&("checking"!==r.state&&"uploading"!==r.state||(r.state=t?"error":"success",t&&(r.error=t),a--,u(),n(),r.callback&&r.callback(t,i),"success"===r.state&&(r.params&&(deleter.params.UploadData,deleter.params.Body,deleter.params),deleter.callback)),c())})),u(),setTimeout(n)}}},p=function(t,i){varo=n[t];if(o){vars=o&&"waiting"===o.state,l=o&&("checking"===o.state||"uploading"===o.state);if("canceled"===i&&"canceled"!==o.state||"paused"===i&&s||"paused"===i&&l){if("paused"===i&&o.params.Body&&"function"===typeofo.params.Body.pipe)returnvoidconsole.error("stream not support pause");o.state=i,e.emit("inner-kill-task",{TaskId:t,toState:i});try{varp=o&&o.params&&o.params.UploadData.UploadId}catch(h){}"canceled"===i&&p&&r.removeUsing(p),u(),l&&(a--,d()),"canceled"===i&&(o.params&&(deleteo.params.UploadData,deleteo.params.Body,deleteo.params),deleteo.callback)}c()}};e._addTasks=function(t){i.each(t,(function(t){e._addTask(t.api,t.params,t.callback,!0)})),u()};varh=!0;e._addTask=function(r,o,a,s){o=i.formatParams(r,o);varl=i.uuid();o.TaskId=l,o.onTaskReady&&o.onTaskReady(l),o.TaskReady&&(o.TaskReady(l),h&&console.warn('warning: Param "TaskReady" has been deprecated. Please use "onTaskReady" instead.'),h=!1);varp={params:o,callback:a,api:r,index:t.length,id:l,Bucket:o.Bucket,Region:o.Region,Key:o.Key,FilePath:o.FilePath||"",state:"waiting",loaded:0,size:0,speed:0,percent:0,hashPercent:0,error:null,_custom:o._custom},f=o.onHashProgress;o.onHashProgress=function(t){e._isRunningTask(p.id)&&(p.hashPercent=t.percent,f&&f(t),u())};varm=o.onProgress;returno.onProgress=function(t){e._isRunningTask(p.id)&&("checking"===p.state&&(p.state="uploading"),p.loaded=t.loaded,p.speed=t.speed,p.percent=t.percent,m&&m(t),u())},i.getFileSize(r,o,(function(e,r){if(e)returna(i.error(e));n[l]=p,t.push(p),p.size=r,!s&&u(),d(),c()})),l},e._isRunningTask=function(e){vart=n[e];return!(!t||"checking"!==t.state&&"uploading"!==t.state)},e.getTaskList=function(){returni.map(t,l)},e.cancelTask=function(e){p(e,"canceled")},e.pauseTask=function(e){p(e,"paused")},e.restartTask=function(e){vart=n[e];!t||"paused"!==t.state&&"error"!==t.state||(t.state="waiting",u(),s=Math.min(s,t.index),d())},e.isUploadRunning=function(){returna||s<t.length}};e.exports.transferToTaskMethod=a,e.exports.init=s},"./src/tracker.js":
/*!************************!*\
!***./src/tracker.js***!
\************************/
/*! no static exports found */function(e,t,n){varr=n(/*! @babel/runtime/helpers/classCallCheck */"./node_modules/@babel/runtime/helpers/classCallCheck.js"),i=n(/*! @babel/runtime/helpers/createClass */"./node_modules/@babel/runtime/helpers/createClass.js"),o=n(/*! @babel/runtime/helpers/typeof */"./node_modules/@babel/runtime/helpers/typeof.js"),a=n(/*! ../package.json */"./package.json"),s=null,l=function(e,t){if(!s){if(!e||"function"!==typeofe)thrownewError("Beacon not found");s=newe({appkey:"0AND0VEVB24UBGDU",versionCode:a.version,channelID:"js_sdk",openid:"openid",unionid:"unid",strictMode:!1,delay:t,sessionDuration:6e4})}returns},u={getUid:function(){vare=function(){return(65536*(1+Math.random())|0).toString(16).substring(1)};returne()+e()+"-"+e()+"-"+e()+"-"+e()+"-"+e()+e()+e()},getNetType:function(){if("object"===("undefined"===typeofnavigator?"undefined":o(navigator))){vare=navigator.connection||navigator.mozConnection||navigator.webkitConnection;return(null===e||void0===e?void0:e.type)||(null===e||void0===e?void0:e.effectiveType)||"unknown"}return"unknown"},getOsType:function(){if("object"!==("undefined"===typeofnavigator?"undefined":o(navigator)))return"unknown os";vare=navigator.userAgent.toLowerCase(),t=/macintosh|mac os x/i.test(navigator.userAgent);returne.indexOf("win32")>=0||e.indexOf("wow32")>=0?"win32":e.indexOf("win64")>=0||e.indexOf("wow64")>=0?"win64":t?"mac":"unknown os"},isMobile:function(){vare=/(phone|pad|pod|iPhone|iPod|ios|iPad|Android|Mobile|BlackBerry|IEMobile|MQQBrowser|JUC|Fennec|wOSBrowser|BrowserNG|WebOS|Symbian|Windows Phone)/i;return!("object"!==("undefined"===typeofnavigator?"undefined":o(navigator))||!navigator.userAgent.match(e))},isAndroid:function(){vare=/(Android|Adr|Linux)/i;return!("object"!==("undefined"===typeofnavigator?"undefined":o(navigator))||!navigator.userAgent.match(e))},isIOS:function(){vare=/(iPhone|iPod|iPad|iOS)/i;return!("object"!==("undefined"===typeofnavigator?"undefined":o(navigator))||!navigator.userAgent.match(e))},isOtherMobile:function(){returnisMobile&&!isAndroid&&!isIOS},getDeviceName:function(){if("object"!==("undefined"===typeofnavigator?"undefined":o(navigator)))return"unknown device";vare=navigator.userAgent.toLowerCase();if(e.includes("app/tencent_wemeet"))return"tencent_wemeet";if(e.indexOf("maxthon")>=0){vart=e.match(/maxthon\/([\d.]+)/),n=t&&t[1]||"";return"傲游浏览器 ".concat(n).trim()}if(e.indexOf("qqbrowser")>=0){varr=e.match(/qqbrowser\/([\d.]+)/),i=r&&r[1]||"";return"QQ浏览器 ".concat(i).trim()}if(e.indexOf("se 2.x")>=0)return"搜狗浏览器";if(e.indexOf("wxwork")>=0)return"微信内置浏览器";if(e.indexOf("msie")>=0){vara=e.match(/msie ([\d.]+)/),s=a&&a[1]||"";return"IE ".concat(s).trim()}if(e.indexOf("firefox")>=0){varl=e.match(/firefox\/([\d.]+)/),u=l&&l[1]||"";return"Firefox ".concat(u).trim()}if(e.indexOf("chrome")>=0){varc=e.match(/chrome\/([\d.]+)/),d=c&&c[1]||"";return"Chrome ".concat(d).trim()}if(e.indexOf("opera")>=0){varp=e.match(/opera.([\d.]+)/),h=p&&p[1]||"";return"Opera ".concat(h).trim()}if(e.indexOf("safari")>=0){varf=e.match(/version\/([\d.]+)/),m=f&&f[1]||"";return"Safari ".concat(m).trim()}if(e.indexOf("edge")>=0){varg=e.match(/edge\/([\d.]+)/),b=g&&g[1]||"";return"edge ".concat(b).trim()}returne.substr(0,200)}},c={isMobile:u.isMobile(),isBrowser:!u.isMobile(),mobileOsType:u.isAndroid()?"android":u.isIOS?"ios":"other_mobile",pcOsType:u.getOsType()},d={deviceType:c.isMobile?"mobile":c.isBrowser?"browser":"unknown",devicePlatform:c.isMobile?c.mobileOsType:c.pcOsType,deviceName:u.getDeviceName()},p=["multipartInit","multipartUpload","multipartComplete","multipartList","multipartListPart","multipartAbort"],h=["putObject","postObject","appendObject","sliceUploadFile","uploadFile","uploadFiles"].concat(p),f=["getObject"];functionm(e){returnh.includes(e)?"cos_upload":f.includes(e)?"cos_download":"base_service"}functiong(e){returne.replace(/([A-Z])/g,"_$1").toLowerCase()}functionb(e){vart={},n=["tracePlatform","cossdkVersion","region","networkType","host","accelerate","request
`,cliCategory:i},endOfLine:{since:"1.15.0",category:l,type:"choice",default:[{since:"1.15.0",value:"auto"},{since:"2.0.0",value:"lf"}],description:"Which end of line characters to apply.",choices:[{value:"lf",description:"Line Feed only (\\n), common on Linux and macOS as well as inside git repos"},{value:"crlf",description:"Carriage Return + Line Feed characters (\\r\\n), common on Windows"},{value:"cr",description:"Carriage Return character only (\\r), used very rarely"},{value:"auto",description:n`
`}]},filepath:{since:"1.4.0",category:u,type:"path",description:"Specify the input filepath. This will be used to do parser inference.",cliName:"stdin-filepath",cliCategory:a,cliDescription:"Path to the file to pretend that stdin comes from."},insertPragma:{since:"1.8.0",category:u,type:"boolean",default:!1,description:"Insert @format pragma into file's first docblock comment.",cliCategory:a},parser:{since:"0.0.10",category:l,type:"choice",default:[{since:"0.0.10",value:"babylon"},{since:"1.13.0",value:void 0}],description:"Which parser to use.",exception:e=>"string"==typeof e||"function"==typeof e,choices:[{value:"flow",description:"Flow"},{value:"babel",since:"1.16.0",description:"JavaScript"},{value:"babel-flow",since:"1.16.0",description:"Flow"},{value:"babel-ts",since:"2.0.0",description:"TypeScript"},{value:"typescript",since:"1.4.0",description:"TypeScript"},{value:"acorn",since:"2.6.0",description:"JavaScript"},{value:"espree",since:"2.2.0",description:"JavaScript"},{value:"meriyah",since:"2.2.0",description:"JavaScript"},{value:"css",since:"1.7.1",description:"CSS"},{value:"less",since:"1.7.1",description:"Less"},{value:"scss",since:"1.7.1",description:"SCSS"},{value:"json",since:"1.5.0",description:"JSON"},{value:"json5",since:"1.13.0",description:"JSON5"},{value:"json-stringify",since:"1.13.0",description:"JSON.stringify"},{value:"graphql",since:"1.5.0",description:"GraphQL"},{value:"markdown",since:"1.8.0",description:"Markdown"},{value:"mdx",since:"1.15.0",description:"MDX"},{value:"vue",since:"1.10.0",description:"Vue"},{value:"yaml",since:"1.14.0",description:"YAML"},{value:"glimmer",since:"2.3.0",description:"Ember / Handlebars"},{value:"html",since:"1.15.0",description:"HTML"},{value:"angular",since:"1.15.0",description:"Angular"},{value:"lwc",since:"1.17.0",description:"Lightning Web Components"}]},plugins:{since:"1.10.0",type:"path",array:!0,default:[{value:[]}],category:l,description:"Add a plugin. Multiple plugins can be passed as separate `--plugin`s.",exception:e=>"string"==typeof e||"object"==typeof e,cliName:"plugin",cliCategory:r},pluginSearchDirs:{since:"1.13.0",type:"path",array:!0,default:[{value:[]}],category:l,description:n`
`,exception:e=>"string"==typeof e||"object"==typeof e,cliName:"plugin-search-dir",cliCategory:r},printWidth:{since:"0.0.0",category:l,type:"int",default:80,description:"The line length where Prettier will try wrap.",range:{start:0,end:Number.POSITIVE_INFINITY,step:1}},rangeEnd:{since:"1.4.0",category:u,type:"int",default:Number.POSITIVE_INFINITY,range:{start:0,end:Number.POSITIVE_INFINITY,step:1},description:n`
`,cliCategory:a},tabWidth:{type:"int",category:l,default:2,description:"Number of spaces per indentation level.",range:{start:0,end:Number.POSITIVE_INFINITY,step:1}},useTabs:{since:"1.0.0",category:l,type:"boolean",default:!1,description:"Indent with tabs instead of spaces."},embeddedLanguageFormatting:{since:"2.1.0",category:l,type:"choice",default:[{since:"2.1.0",value:"auto"}],description:"Control how Prettier formats quoted code embedded in the file.",choices:[{value:"auto",description:"Format embedded code if Prettier can automatically identify it."},{value:"off",description:"Never automatically format embedded code."}]}};t.exports={CATEGORY_CONFIG:r,CATEGORY_EDITOR:i,CATEGORY_FORMAT:o,CATEGORY_OTHER:a,CATEGORY_OUTPUT:s,CATEGORY_GLOBAL:l,CATEGORY_SPECIAL:u,options:c}}}),kt=h({"src/main/support.js"(e,t){v();var i={compare:wt(),lt:St(),gte:xt()},o=Ct(),a=Tt().version,s=At().options;function l(){let{plugins:e=[],showUnreleased:t=!1,showDeprecated:l=!1,showInternal:c=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},d=a.split("-",1)[0],p=e.flatMap(e=>e.languages||[]).filter(f),h=o(Object.assign({},...e.map(e=>{let{options:t}=e;return t}),s),"name").filter(e=>f(e)&&m(e)).sort((e,t)=>e.name===t.name?0:e.name<t.name?-1:1).map(g).map(t=>{t=Object.assign({},t),Array.isArray(t.default)&&(t.default=1===t.default.length?t.default[0].value:t.default.filter(f).sort((e,t)=>i.compare(t.since,e.since))[0].value),Array.isArray(t.choices)&&(t.choices=t.choices.filter(e=>f(e)&&m(e)),"parser"===t.name&&u(t,p,e));let n=Object.fromEntries(e.filter(e=>e.defaultOptions&&void 0!==e.defaultOptions[t.name]).map(e=>[e.name,e.defaultOptions[t.name]]));return Object.assign(Object.assign({},t),{},{pluginDefaults:n})});return{languages:p,options:h};function f(e){return t||!("since"in e)||e.since&&i.gte(d,e.since)}function m(e){return l||!("deprecated"in e)||e.deprecated&&i.lt(d,e.deprecated)}function g(e){if(c)return e;let{cliName:t,cliCategory:i,cliDescription:o}=e;return r(e,n)}}function u(e,t,n){let r=new Set(e.choices.map(e=>e.value));for(let i of t)if(i.parsers)for(let t of i.parsers)if(!r.has(t)){r.add(t);let o=n.find(e=>e.parsers&&e.parsers[t]),a=i.name;o&&o.name&&(a+=`(plugin:${o.name})`),e.choices.push({value:t,description:a})}}t.exports={getSupportInfo:l}}}),Ot=h({"src/utils/is-non-empty-array.js"(e,t){function n(e){return Array.isArray(e)&&e.length>0}v(),t.exports=n}});function Nt(){let{onlyFirst:e=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)","(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))"].join("|");return new RegExp(t,e?void 0:"g")}var Mt=p({"node_modules/strip-ansi/node_modules/ansi-regex/index.js"(){v()}});function It(e){if("string"!=typeof e)throw new TypeError(`Expecteda\`string\`, got \`${typeofe}\``);returne.replace(Nt(),"")}varRt=p({"node_modules/strip-ansi/index.js"(){v(),Mt()}});functionPt(e){return!!Number.isInteger(e)&&(e>=4352&&(e<=4447||9001===e||9002===e||11904<=e&&e<=12871&&12351!==e||12880<=e&&e<=19903||19968<=e&&e<=42182||43360<=e&&e<=43388||44032<=e&&e<=55203||63744<=e&&e<=64255||65040<=e&&e<=65049||65072<=e&&e<=65131||65281<=e&&e<=65376||65504<=e&&e<=65510||110592<=e&&e<=110593||127488<=e&&e<=127569||131072<=e&&e<=262141))}varLt=p({"node_modules/is-fullwidth-code-point/index.js"(){v()}}),Ft=h({"node_modules/emoji-regex/index.js"(e,t){v(),t.exports=function(){return/\uD83C\uDFF4\uDB40\uDC67\uDB40\uDC62(?:\uDB40\uDC77\uDB40\uDC6C\uDB40\uDC73|\uDB40\uDC73\uDB40\uDC63\uDB40\uDC74|\uDB40\uDC65\uDB40\uDC6E\uDB40\uDC67)\uDB40\uDC7F|(?:\uD83E\uDDD1\uD83C\uDFFF\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFF\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB-\uDFFE])|(?:\uD83E\uDDD1\uD83C\uDFFE\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFE\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB-\uDFFD\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFD\u200D\u2764\u
varr=n("b639"),i=r.Buffer;functiono(e,t){for(varnine)t[n]=e[n]}functiona(e,t,n){returni(e,t,n)}i.from&&i.alloc&&i.allocUnsafe&&i.allocUnsafeSlow?e.exports=r:(o(r,t),t.Buffer=a),a.prototype=Object.create(i.prototype),o(i,a),a.from=function(e,t,n){if("number"===typeofe)thrownewTypeError("Argument must not be a number");returni(e,t,n)},a.alloc=function(e,t,n){if("number"!==typeofe)thrownewTypeError("Argument must be a number");varr=i(e);returnvoid0!==t?"string"===typeofn?r.fill(t,n):r.fill(t):r.fill(0),r},a.allocUnsafe=function(e){if("number"!==typeofe)thrownewTypeError("Argument must be a number");returni(e)},a.allocUnsafeSlow=function(e){if("number"!==typeofe)thrownewTypeError("Argument must be a number");returnr.SlowBuffer(e)}},"88a7":function(e,t,n){"use strict";varr=n("cb2d"),i=n("e330"),o=n("577e"),a=n("d6d6"),s=URLSearchParams,l=s.prototype,u=i(l.append),c=i(l["delete"]),d=i(l.forEach),p=i([].push),h=news("a=1&a=2&b=3");h["delete"]("a",1),h["delete"]("b",void0),h+""!=="a=2"&&r(l,"delete",(function(e){vart=arguments.length,n=t<2?void0:arguments[1];if(t&&void0===n)returnc(this,e);varr=[];d(this,(function(e,t){p(r,{key:t,value:e})})),a(t,1);vari,s=o(e),l=o(n),h=0,f=0,m=!1,g=r.length;while(h<g)i=r[h++],m||i.key===s?(m=!0,c(this,i.key)):f++;while(f<g)i=r[f++],i.key===s&&i.value===l||u(this,i.key,i.value)}),{enumerable:!0,unsafe:!0})},8925:function(e,t,n){"use strict";varr=n("e330"),i=n("1626"),o=n("c6cd"),a=r(Function.toString);i(o.inspectSource)||(o.inspectSource=function(e){returna(e)}),e.exports=o.inspectSource},8930:function(e,t,n){(function(){vart,r,i=function(e,t){for(varnint)o.call(t,n)&&(e[n]=t[n]);functionr(){this.constructor=e}returnr.prototype=t.prototype,e.prototype=newr,e.__super__=t.prototype,e},o={}.hasOwnProperty;t=n("065e"),r=n("578f"),e.exports=function(e){functionn(e,r){if(n.__super__.constructor.call(this,e),null==r)thrownewError("Missing comment text. "+this.debugInfo());this.name="#comment",this.type=t.Comment,this.value=this.stringify.comment(r)}returni(n,e),n.prototype.clone=function(){returnObject.create(this)},n.prototype.toString=function(e){returnthis.options.writer.comment(this,this.options.writer.filterOptions(e))},n}(r)}).call(this)},8931:function(e,t){functionn(e){constt=e.regex,n=["functions","model","data","parameters","quantities","transformed","generated"],r=["for","in","if","else","while","break","continue","return"],i=["array","tuple","complex","int","real","vector","complex_vector","ordered","positive_ordered","simplex","unit_vector","row_vector","complex_row_vector","matrix","complex_matrix","cholesky_factor_corr|10","cholesky_factor_cov|10","corr_matrix|10","cov_matrix|10","void"],o=["abs","acos","acosh","add_diag","algebra_solver","algebra_solver_newton","append_array","append_col","append_row","asin","asinh","atan","atan2","atanh","bessel_first_kind","bessel_second_kind","binary_log_loss","block","cbrt","ceil","chol2inv","cholesky_decompose","choose","col","cols","columns_dot_product","columns_dot_self","complex_schur_decompose","complex_schur_decompose_t","complex_schur_decompose_u","conj","cos","cosh","cov_exp_quad","crossprod","csr_extract","csr_extract_u","csr_extract_v","csr_extract_w","csr_matrix_times_vector","csr_to_dense_matrix","cumulative_sum","dae","dae_tol","determinant","diag_matrix","diagonal","diag_post_multiply","diag_pre_multiply","digamma","dims","distance","dot_product","dot_self","eigendecompose","eigendecompose_sym","eigenvalues","eigenvalues_sym","eigenvectors","eigenvectors_sym","erf","erfc","exp","exp2","expm1","falling_factorial","fdim","fft","fft2","floor","fma","fmax","fmin","fmod","gamma_p","gamma_q","generalized_inverse","get_imag","get_real","head","hmm_hidden_state_prob","hmm_marginal","hypot","identity_matrix","inc_beta","integrate_1d","integrate_ode","integrate_ode_adams","integrate_ode_bdf","integrate_ode_rk45","int_step","inv","inv_cloglog","inv_erfc","inverse","inverse_spd","inv_fft","inv_fft2","inv_inc_beta","inv_logit","inv_Phi","inv_sqrt","inv_square","is_inf","is_nan","lambert_w0","lambe
t.read=function(e,t,n,r,i){varo,a,s=8*i-r-1,l=(1<<s)-1,u=l>>1,c=-7,d=n?i-1:0,p=n?-1:1,h=e[t+d];for(d+=p,o=h&(1<<-c)-1,h>>=-c,c+=s;c>0;o=256*o+e[t+d],d+=p,c-=8);for(a=o&(1<<-c)-1,o>>=-c,c+=r;c>0;a=256*a+e[t+d],d+=p,c-=8);if(0===o)o=1-u;else{if(o===l)returna?NaN:1/0*(h?-1:1);a+=Math.pow(2,r),o-=u}return(h?-1:1)*a*Math.pow(2,o-r)},t.write=function(e,t,n,r,i,o){vara,s,l,u=8*o-i-1,c=(1<<u)-1,d=c>>1,p=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,h=r?0:o-1,f=r?1:-1,m=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,a=c):(a=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-a))<1&&(a--,l*=2),t+=a+d>=1?p/l:p*Math.pow(2,1-d),t*l>=2&&(a++,l/=2),a+d>=c?(s=0,a=c):a+d>=1?(s=(t*l-1)*Math.pow(2,i),a+=d):(s=t*Math.pow(2,d-1)*Math.pow(2,i),a=0));i>=8;e[n+h]=255&s,h+=f,s/=256,i-=8);for(a=a<<i|s,u+=i;u>0;e[n+h]=255&a,h+=f,a/=256,u-=8);e[n+h-f]|=128*m}},"919d":function(e,t){functionn(e){constt=["println","readln","print","import","module","function","local","return","let","var","while","for","foreach","times","in","case","when","match","with","break","continue","augment","augmentation","each","find","filter","reduce","if","then","else","otherwise","try","catch","finally","raise","throw","orIfNull","DynamicObject|10","DynamicVariable","struct","Observable","map","set","vector","list","array"];return{name:"Golo",keywords:{keyword:t,literal:["true","false","null"]},contains:[e.HASH_COMMENT_MODE,e.QUOTE_STRING_MODE,e.C_NUMBER_MODE,{className:"meta",begin:"@[A-Za-z]+"}]}}e.exports=n},"91dd":function(e,t,n){"use strict";functionr(e,t){returnObject.prototype.hasOwnProperty.call(e,t)}e.exports=function(e,t,n,o){t=t||"&",n=n||"=";vara={};if("string"!==typeofe||0===e.length)returna;vars=/\+/g;e=e.split(t);varl=1e3;o&&"number"===typeofo.maxKeys&&(l=o.maxKeys);varu=e.length;l>0&&u>l&&(u=l);for(varc=0;c<u;++c){vard,p,h,f,m=e[c].replace(s,"%20"),g=m.indexOf(n);g>=0?(d=m.substr(0,g),p=m.substr(g+1)):(d=m,p=""),h=decodeURIComponent(d),f=decodeURIComponent(p),r(a,h)?i(a[h])?a[h].push(f):a[h]=[a[h],f]:a[h]=f}returna};vari=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)}},"925e":function(e,t,n){(function(t,r,i){varo=n("a9f1"),a=n("3fb5"),s=n("c90b"),l=n("3d1b"),u=n("d938"),c=s.IncomingMessage,d=s.readyStates;functionp(e,t){returno.fetch&&t?"fetch":o.mozchunkedarraybuffer?"moz-chunked-arraybuffer":o.msstream?"ms-stream":o.arraybuffer&&e?"arraybuffer":o.vbArray&&e?"text:vbarray":"text"}varh=e.exports=function(e){varn,r=this;l.Writable.call(r),r._opts=e,r._body=[],r._headers={},e.auth&&r.setHeader("Authorization","Basic "+newt(e.auth).toString("base64")),Object.keys(e.headers).forEach((function(t){r.setHeader(t,e.headers[t])}));vari=!0;if("disable-fetch"===e.mode||"requestTimeout"ine&&!o.abortController)i=!1,n=!0;elseif("prefer-streaming"===e.mode)n=!1;elseif("allow-wrong-content-type"===e.mode)n=!o.overrideMimeType;else{if(e.mode&&"default"!==e.mode&&"prefer-fast"!==e.mode)thrownewError("Invalid value for opts.mode");n=!0}r._mode=p(n,i),r._fetchTimer=null,r.on("finish",(function(){r._onFinish()}))};functionf(e){try{vart=e.status;returnnull!==t&&0!==t}catch(n){return!1}}a(h,l.Writable),h.prototype.setHeader=function(e,t){varn=this,r=e.toLowerCase();-1===m.indexOf(r)&&(n._headers[r]={name:e,value:t})},h.prototype.getHeader=function(e){vart=this._headers[e.toLowerCase()];returnt?t.value:null},h.prototype.removeHeader=function(e){vart=this;deletet._headers[e.toLowerCase()]},h.prototype._onFinish=function(){vare=this;if(!e._destroyed){varn=e._opts,a=e._headers,s=null;"GET"!==n.method&&"HEAD"!==n.method&&(s=o.arraybuffer?u(t.concat(e._body)):o.blobConstructor?newr.Blob(e._body.map((function(e){returnu(e)})),{type:(a["content-type"]||{}).value||""}):t.concat(e._body).toString());varl=[];if(Object.keys(a).forEach((function(e){vart=a[e].name,n=a[e].value;Array.isArray(n)?n.forEach((function(e){l.push([t,e])})):l.push([t,n])})),"fetch"===e._mode){varc=null;if(o.abortController){varp=newAbortController;c=p.signal,e._fetchAbortController=p,"requestTimeout"inn&&0!==n.re
"use strict";vart=e("base64-js"),r=e("ieee754");n.Buffer=s,n.SlowBuffer=b,n.INSPECT_MAX_BYTES=50;vari=2147483647;functiono(){try{vare=newUint8Array(1);returne.__proto__={__proto__:Uint8Array.prototype,foo:function(){return42}},42===e.foo()}catch(t){return!1}}functiona(e){if(e>i)thrownewRangeError('The value "'+e+'" is invalid for option "size"');vart=newUint8Array(e);returnt.__proto__=s.prototype,t}functions(e,t,n){if("number"===typeofe){if("string"===typeoft)thrownewTypeError('The "string" argument must be of type string. Received type number');returnd(e)}returnl(e,t,n)}functionl(e,t,n){if("string"===typeofe)returnp(e,t);if(ArrayBuffer.isView(e))returnh(e);if(null==e)throwTypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeofe);if(Q(e,ArrayBuffer)||e&&Q(e.buffer,ArrayBuffer))returnf(e,t,n);if("number"===typeofe)thrownewTypeError('The "value" argument must not be of type number. Received type number');varr=e.valueOf&&e.valueOf();if(null!=r&&r!==e)returns.from(r,t,n);vari=m(e);if(i)returni;if("undefined"!==typeofSymbol&&null!=Symbol.toPrimitive&&"function"===typeofe[Symbol.toPrimitive])returns.from(e[Symbol.toPrimitive]("string"),t,n);thrownewTypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeofe)}functionu(e){if("number"!==typeofe)thrownewTypeError('"size" argument must be of type number');if(e<0)thrownewRangeError('The value "'+e+'" is invalid for option "size"')}functionc(e,t,n){returnu(e),e<=0?a(e):void0!==t?"string"===typeofn?a(e).fill(t,n):a(e).fill(t):a(e)}functiond(e){returnu(e),a(e<0?0:0|g(e))}functionp(e,t){if("string"===typeoft&&""!==t||(t="utf8"),!s.isEncoding(t))thrownewTypeError("Unknown encoding: "+t);varn=0|v(e,t),r=a(n),i=r.write(e,t);returni!==n&&(r=r.slice(0,i)),r}functionh(e){for(vart=e.length<0?0:0|g(e.length),n=a(t),r=0;r<t;r+=1)n[r]=255&e[r];returnn}functionf(e,t,n){if(t<0||e.byteLength<t)thrownewRangeError('"offset" is outside of buffer bounds');if(e.byteLength<t+(n||0))thrownewRangeError('"length" is outside of buffer bounds');varr;returnr=void0===t&&void0===n?newUint8Array(e):void0===n?newUint8Array(e,t):newUint8Array(e,t,n),r.__proto__=s.prototype,r}functionm(e){if(s.isBuffer(e)){vart=0|g(e.length),n=a(t);return0===n.length||e.copy(n,0,0,t),n}returnvoid0!==e.length?"number"!==typeofe.length||X(e.length)?a(0):h(e):"Buffer"===e.type&&Array.isArray(e.data)?h(e.data):void0}functiong(e){if(e>=i)thrownewRangeError("Attempt to allocate Buffer larger than maximum size: 0x"+i.toString(16)+" bytes");return0|e}functionb(e){return+e!=e&&(e=0),s.alloc(+e)}functionv(e,t){if(s.isBuffer(e))returne.length;if(ArrayBuffer.isView(e)||Q(e,ArrayBuffer))returne.byteLength;if("string"!==typeofe)thrownewTypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeofe);varn=e.length,r=arguments.length>2&&!0===arguments[2];if(!r&&0===n)return0;for(vari=!1;;)switch(t){case"ascii":case"latin1":case"binary":returnn;case"utf8":case"utf-8":returnG(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return2*n;case"hex":returnn>>>1;case"base64":returnY(e).length;default:if(i)returnr?-1:G(e).length;t=(""+t).toLowerCase(),i=!0}}functiony(e,t,n){varr=!1;if((void0===t||t<0)&&(t=0),t>this.length)return"";if((void0===n||n>this.length)&&(n=this.length),n<=0)return"";if(n>>>=0,t>>>=0,n<=t)return"";e||(e="utf8");while(1)switch(e){case"hex":returnP(this,t,n);case"utf8":case"utf-8":returnO(this,t,n);case"ascii":returnI(this,t,n);case"latin1":case"binary":returnR(this,t,n);case"base64":returnk(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":returnL(this,t,n);default:if(r)thrownewTypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}function_(e,t,n){varr=e[t];e[t]=e[n],e[n]=r}functionE(e,t,n,r,i){if(0===e.length)return-1;if("string"===typeofn?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-21
/*!
*copy-to-index.js
*Copyright(c)2014dead_horse<dead_horse@qq.com>
*MITLicensed
*/
"use strict";varr=Array.prototype.slice;functioni(e,t){if(!(thisinstanceofi))returnnewi(e,t);this.src=e,this._withAccess=t}functiono(e,t){returnvoid0===e[t]&&void0===e.__lookupGetter__(t)&&void0===e.__lookupSetter__(t)}t.exports=i,i.prototype.withAccess=function(e){returnthis._withAccess=!1!==e,this},i.prototype.pick=function(e){returnArray.isArray(e)||(e=r.call(arguments)),e.length&&(this.keys=e),this},i.prototype.to=function(e){if(e=e||{},!this.src)returne;vart=this.keys||Object.keys(this.src);if(!this._withAccess){for(varn=0;n<t.length;n++)r=t[n],void0===e[r]&&(e[r]=this.src[r]);returne}for(n=0;n<t.length;n++){varr=t[n];if(o(e,r)){vari=this.src.__lookupGetter__(r),a=this.src.__lookupSetter__(r);i&&e.__defineGetter__(r,i),a&&e.__defineSetter__(r,a),i||a||(e[r]=this.src[r])}}returne},i.prototype.toCover=function(e){for(vart=this.keys||Object.keys(this.src),n=0;n<t.length;n++){varr=t[n];deletee[r];vari=this.src.__lookupGetter__(r),o=this.src.__lookupSetter__(r);i&&e.__defineGetter__(r,i),o&&e.__defineSetter__(r,o),i||o||(e[r]=this.src[r])}},i.prototype.override=i.prototype.toCover,i.prototype.and=function(e){vart={};returnthis.to(t),this.src=e,this.to(t),this.src=t,this}},{}],108:[function(e,t,n){"use strict";varr=e("../internals/is-callable"),i=e("../internals/try-to-string"),o=TypeError;t.exports=function(e){if(r(e))returne;thrownewo(i(e)+" is not a function")}},{"../internals/is-callable":203,"../internals/try-to-string":293}],109:[function(e,t,n){"use strict";varr=e("../internals/is-constructor"),i=e("../internals/try-to-string"),o=TypeError;t.exports=function(e){if(r(e))returne;thrownewo(i(e)+" is not a constructor")}},{"../internals/is-constructor":204,"../internals/try-to-string":293}],110:[function(e,t,n){"use strict";varr=e("../internals/is-possible-prototype"),i=String,o=TypeError;t.exports=function(e){if(r(e))returne;thrownewo("Can't set "+i(e)+" as a prototype")}},{"../internals/is-possible-prototype":209}],111:[function(e,t,n){"use strict";varr=e("../internals/well-known-symbol"),i=e("../internals/object-create"),o=e("../internals/object-define-property").f,a=r("unscopables"),s=Array.prototype;void0===s[a]&&o(s,a,{configurable:!0,value:i(null)}),t.exports=function(e){s[a][e]=!0}},{"../internals/object-create":229,"../internals/object-define-property":231,"../internals/well-known-symbol":306}],112:[function(e,t,n){"use strict";varr=e("../internals/string-multibyte").charAt;t.exports=function(e,t,n){returnt+(n?r(e,t).length:1)}},{"../internals/string-multibyte":271}],113:[function(e,t,n){"use strict";varr=e("../internals/object-is-prototype-of"),i=TypeError;t.exports=function(e,t){if(r(t,e))returne;thrownewi("Incorrect invocation")}},{"../internals/object-is-prototype-of":238}],114:[function(e,t,n){"use strict";varr=e("../internals/is-object"),i=String,o=TypeError;t.exports=function(e){if(r(e))returne;thrownewo(i(e)+" is not an object")}},{"../internals/is-object":208}],115:[function(e,t,n){"use strict";t.exports="undefined"!=typeofArrayBuffer&&"undefined"!=typeofDataView},{}],116:[function(e,t,n){"use strict";varr=e("../internals/fails");t.exports=r((function(){if("function"==typeofArrayBuffer){vare=newArrayBuffer(8);Object.isExtensible(e)&&Object.defineProperty(e,"a",{value:8})}}))},{"../internals/fails":171}],117:[function(e,t,n){"use strict";varr,i,o,a=e("../internals/array-buffer-basic-detection"),s=e("../internals/descriptors"),l=e("../internals/global"),u=e("../internals/is-callable"),c=e("../internals/is-object"),d=e("../internals/has-own-property"),p=e("../internals/classof"),h=e("../internals/try-to-string"),f=e("../internals/create-non-enumerable-property"),m=e("../internals/define-built-in"),g=e("../internals/define-built-in-accessor"),b=e("../internals/object-is-prototype-of"),v=e("../internals/object-get-prototype-of"),y=e("../internals/object-set-prototype-of"),_=e("../internals/well-known-symbol"),E=e("../internals/uid"),w=e("../internals/internal-state"),S=w.enforce,x=w.get,C=l.Int8Array,T=C&&C.prototype,D=l.Uint8ClampedArray,A=D&&D.pr
/*!
*escape-html
*Copyright(c)2012-2013TJHolowaychuk
*Copyright(c)2015AndreasLubbe
*Copyright(c)2015Tiancheng"Timothy"Gu
*MITLicensed
*/
"use strict";varr=/["'&<>]/;functioni(e){vart,n=""+e,i=r.exec(n);if(!i)returnn;varo="",a=0,s=0;for(a=i.index;a<n.length;a++){switch(n.charCodeAt(a)){case34:t=""";break;case38:t="&";break;case39:t="'";break;case60:t="<";break;case62:t=">";break;default:continue}s!==a&&(o+=n.substring(s,a)),s=a+1,o+=t}returns!==a?o+n.substring(s,a):o}t.exports=i},{}],388:[function(e,t,n){"use strict";varr,i="object"===typeofReflect?Reflect:null,o=i&&"function"===typeofi.apply?i.apply:function(e,t,n){returnFunction.prototype.apply.call(e,t,n)};functiona(e){console&&console.warn&&console.warn(e)}r=i&&"function"===typeofi.ownKeys?i.ownKeys:Object.getOwnPropertySymbols?function(e){returnObject.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){returnObject.getOwnPropertyNames(e)};vars=Number.isNaN||function(e){returne!==e};functionl(){l.init.call(this)}t.exports=l,t.exports.once=_,l.EventEmitter=l,l.prototype._events=void0,l.prototype._eventsCount=0,l.prototype._maxListeners=void0;varu=10;functionc(e){if("function"!==typeofe)thrownewTypeError('The "listener" argument must be of type Function. Received type '+typeofe)}functiond(e){returnvoid0===e._maxListeners?l.defaultMaxListeners:e._maxListeners}functionp(e,t,n,r){vari,o,s;if(c(n),o=e._events,void0===o?(o=e._events=Object.create(null),e._eventsCount=0):(void0!==o.newListener&&(e.emit("newListener",t,n.listener?n.listener:n),o=e._events),s=o[t]),void0===s)s=o[t]=n,++e._eventsCount;elseif("function"===typeofs?s=o[t]=r?[n,s]:[s,n]:r?s.unshift(n):s.push(n),i=d(e),i>0&&s.length>i&&!s.warned){s.warned=!0;varl=newError("Possible EventEmitter memory leak detected. "+s.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");l.name="MaxListenersExceededWarning",l.emitter=e,l.type=t,l.count=s.length,a(l)}returne}functionh(){if(!this.fired)returnthis.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}functionf(e,t,n){varr={fired:!1,wrapFn:void0,target:e,type:t,listener:n},i=h.bind(r);returni.listener=n,r.wrapFn=i,i}functionm(e,t,n){varr=e._events;if(void0===r)return[];vari=r[t];returnvoid0===i?[]:"function"===typeofi?n?[i.listener||i]:[i]:n?y(i):b(i,i.length)}functiong(e){vart=this._events;if(void0!==t){varn=t[e];if("function"===typeofn)return1;if(void0!==n)returnn.length}return0}functionb(e,t){for(varn=newArray(t),r=0;r<t;++r)n[r]=e[r];returnn}functionv(e,t){for(;t+1<e.length;t++)e[t]=e[t+1];e.pop()}functiony(e){for(vart=newArray(e.length),n=0;n<t.length;++n)t[n]=e[n].listener||e[n];returnt}function_(e,t){returnnewPromise((function(n,r){functioni(n){e.removeListener(t,o),r(n)}functiono(){"function"===typeofe.removeListener&&e.removeListener("error",i),n([].slice.call(arguments))}w(e,t,o,{once:!0}),"error"!==t&&E(e,i,{once:!0})}))}functionE(e,t,n){"function"===typeofe.on&&w(e,"error",t,n)}functionw(e,t,n,r){if("function"===typeofe.on)r.once?e.once(t,n):e.on(t,n);else{if("function"!==typeofe.addEventListener)thrownewTypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeofe);e.addEventListener(t,(functioni(o){r.once&&e.removeEventListener(t,i),n(o)}))}}Object.defineProperty(l,"defaultMaxListeners",{enumerable:!0,get:function(){returnu},set:function(e){if("number"!==typeofe||e<0||s(e))thrownewRangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+e+".");u=e}}),l.init=function(){void0!==this._events&&this._events!==Object.getPrototypeOf(this)._events||(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void0},l.prototype.setMaxListeners=function(e){if("number"!==typeofe||e<0||s(e))thrownewRangeError('The value of "n" is out of range. It must be a non-negative number. Received '+e+".");returnthis._maxListeners=e,this},l.prototype.getMaxListeners=function(){returnd(this)},l.prototype.emit=function(e){for(var
/*!
*humanize-ms-index.js
*Copyright(c)2014dead_horse<dead_horse@qq.com>
*MITLicensed
*/
"use strict";varr=e("util"),i=e("ms");t.exports=function(e){if("number"===typeofe)returne;vart=i(e);if(void0===t){varn=newError(r.format("humanize-ms(%j) result undefined",e));console.warn(n.stack)}returnt}},{ms:434,util:491}],402:[function(e,t,n){
"use strict";t.exports=i;varr=Object.prototype.hasOwnProperty;functioni(e,t,n){if(!e)thrownewTypeError("argument dest is required");if(!t)thrownewTypeError("argument src is required");returnvoid0===n&&(n=!0),Object.getOwnPropertyNames(t).forEach((function(i){if(n||!r.call(e,i)){varo=Object.getOwnPropertyDescriptor(t,i);Object.defineProperty(e,i,o)}})),e}},{}],431:[function(e,t,n){"use strict";functionr(){this._types=Object.create(null),this._extensions=Object.create(null);for(vare=0;e<arguments.length;e++)this.define(arguments[e]);this.define=this.define.bind(this),this.getType=this.getType.bind(this),this.getExtension=this.getExtension.bind(this)}e("core-js/modules/es.array.map.js"),e("core-js/modules/es.regexp.exec.js"),e("core-js/modules/es.string.replace.js"),e("core-js/modules/es.regexp.constructor.js"),e("core-js/modules/es.regexp.to-string.js"),r.prototype.define=function(e,t){for(varnine){varr=e[n].map((function(e){returne.toLowerCase()}));n=n.toLowerCase();for(vari=0;i<r.length;i++){varo=r[i];if("*"!==o[0]){if(!t&&ointhis._types)thrownewError('Attempt to change mapping for "'+o+'" extension from "'+this._types[o]+'" to "'+n+'". Pass `force=true` to allow this, otherwise remove "'+o+'" from the list of extensions for "'+n+'".');this._types[o]=n}}if(t||!this._extensions[n]){vara=r[0];this._extensions[n]="*"!==a[0]?a:a.substr(1)}}},r.prototype.getType=function(e){e=String(e);vart=e.replace(/^.*[/\\]/,"").toLowerCase(),n=t.replace(/^.*\./,"").toLowerCase(),r=t.length<e.length,i=n.length<t.length-1;return(i||!r)&&this._types[n]||null},r.prototype.getExtension=function(e){returne=/^\s*([^;\s]*)/.test(e)&&RegExp.$1,e&&this._extensions[e.toLowerCase()]||null},t.exports=r},{"core-js/modules/es.array.map.js":318,"core-js/modules/es.regexp.constructor.js":339,"core-js/modules/es.regexp.exec.js":340,"core-js/modules/es.regexp.to-string.js":341,"core-js/modules/es.string.replace.js":347}],432:[function(e,t,n){"use strict";varr=e("./Mime");t.exports=newr(e("./types/standard"))},{"./Mime":431,"./types/standard":433}],433:[function(e,t,n){"use strict";t.exports={"application/andrew-inset":["ez"],"application/applixware":["aw"],"application/atom+xml":["atom"],"application/atomcat+xml":["atomcat"],"application/atomdeleted+xml":["atomdeleted"],"application/atomsvc+xml":["atomsvc"],"application/atsc-dwd+xml":["dwd"],"application/atsc-held+xml":["held"],"application/atsc-rsat+xml":["rsat"],"application/bdoc":["bdoc"],"application/calendar+xml":["xcs"],"application/ccxml+xml":["ccxml"],"application/cdfx+xml":["cdfx"],"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":["es","ecma"],"application/emma+xml":["emma"],"application/emotionml+xml":["emotionml"],"application/epub+zip":["epub"],"application/exi":["exi"],"application/express":["exp"],"application/fdt+xml":["fdt"],"application/font-tdpfr":["pfr"],"application/geo+json":["geojson"],"application/gml+xml":["gml"],"application/gpx+xml":["gpx"],"application/gxf":["gxf"],"application/gzip":["gz"],"application/hjson":["hjson"],"application/hyperstudio":["stk"],"application/inkml+xml":["ink","inkml"],"application/ipfix":["ipfix"],"application/its+xml":["its"],"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/lgr+xml":["lgr"],"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+
/*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */
varr=e("buffer"),i=r.Buffer;functiono(e,t){for(varnine)t[n]=e[n]}functiona(e,t,n){returni(e,t,n)}i.from&&i.alloc&&i.allocUnsafe&&i.allocUnsafeSlow?t.exports=r:(o(r,n),n.Buffer=a),a.prototype=Object.create(i.prototype),o(i,a),a.from=function(e,t,n){if("number"===typeofe)thrownewTypeError("Argument must not be a number");returni(e,t,n)},a.alloc=function(e,t,n){if("number"!==typeofe)thrownewTypeError("Argument must be a number");varr=i(e);returnvoid0!==t?"string"===typeofn?r.fill(t,n):r.fill(t):r.fill(0),r},a.allocUnsafe=function(e){if("number"!==typeofe)thrownewTypeError("Argument must be a number");returni(e)},a.allocUnsafeSlow=function(e){if("number"!==typeofe)thrownewTypeError("Argument must be a number");returnr.SlowBuffer(e)}},{buffer:103}],467:[function(e,t,n){(function(t){(function(){(function(n){n.parser=function(e,t){returnnewo(e,t)},n.SAXParser=o,n.SAXStream=d,n.createStream=c,n.MAX_BUFFER_LENGTH=65536;varr,i=["comment","sgmlDecl","textNode","tagName","doctype","procInstName","procInstBody","entity","attribName","attribValue","cdata","script"];functiono(e,t){if(!(thisinstanceofo))returnnewo(e,t);varr=this;s(r),r.q=r.c="",r.bufferCheckPosition=n.MAX_BUFFER_LENGTH,r.opt=t||{},r.opt.lowercase=r.opt.lowercase||r.opt.lowercasetags,r.looseCase=r.opt.lowercase?"toLowerCase":"toUpperCase",r.tags=[],r.closed=r.closedRoot=r.sawRoot=!1,r.tag=r.error=null,r.strict=!!e,r.noscript=!(!e&&!r.opt.noscript),r.state=T.BEGIN,r.strictEntities=r.opt.strictEntities,r.ENTITIES=r.strictEntities?Object.create(n.XML_ENTITIES):Object.create(n.ENTITIES),r.attribList=[],r.opt.xmlns&&(r.ns=Object.create(g)),r.trackPosition=!1!==r.opt.position,r.trackPosition&&(r.position=r.line=r.column=0),A(r,"onready")}functiona(e){for(vart=Math.max(n.MAX_BUFFER_LENGTH,10),r=0,o=0,a=i.length;o<a;o++){vars=e[i[o]].length;if(s>t)switch(i[o]){case"textNode":O(e);break;case"cdata":k(e,"oncdata",e.cdata),e.cdata="";break;case"script":k(e,"onscript",e.script),e.script="";break;default:M(e,"Max buffer length exceeded: "+i[o])}r=Math.max(r,s)}varl=n.MAX_BUFFER_LENGTH-r;e.bufferCheckPosition=l+e.position}functions(e){for(vart=0,n=i.length;t<n;t++)e[i[t]]=""}functionl(e){O(e),""!==e.cdata&&(k(e,"oncdata",e.cdata),e.cdata=""),""!==e.script&&(k(e,"onscript",e.script),e.script="")}n.EVENTS=["text","processinginstruction","sgmldeclaration","doctype","comment","opentagstart","attribute","opentag","closetag","opencdata","cdata","closecdata","error","end","ready","script","opennamespace","closenamespace"],Object.create||(Object.create=function(e){functiont(){}t.prototype=e;varn=newt;returnn}),Object.keys||(Object.keys=function(e){vart=[];for(varnine)e.hasOwnProperty(n)&&t.push(n);returnt}),o.prototype={end:function(){I(this)},write:H,resume:function(){returnthis.error=null,this},close:function(){returnthis.write(null)},flush:function(){l(this)}};try{r=e("stream").Stream}catch($){r=function(){}}r||(r=function(){});varu=n.EVENTS.filter((function(e){return"error"!==e&&"end"!==e}));functionc(e,t){returnnewd(e,t)}functiond(e,t){if(!(thisinstanceofd))returnnewd(e,t);r.apply(this),this._parser=newo(e,t),this.writable=!0,this.readable=!0;varn=this;this._parser.onend=function(){n.emit("end")},this._parser.onerror=function(e){n.emit("error",e),n._parser.error=null},this._decoder=null,u.forEach((function(e){Object.defineProperty(n,"on"+e,{get:function(){returnn._parser["on"+e]},set:function(t){if(!t)returnn.removeAllListeners(e),n._parser["on"+e]=t,t;n.on(e,t)},enumerable:!0,configurable:!1})}))}d.prototype=Object.create(r.prototype,{constructor:{value:d}}),d.prototype.write=function(n){if("function"===typeoft&&"function"===typeoft.isBuffer&&t.isBuffer(n)){if(!this._decoder){varr=e("string_decoder").StringDecoder;this._decoder=newr("utf8")}n=this._decoder.write(n)}returnthis._parser.write(n.toString()),this.emit("data",n),!0},d.prototype.end=function(e){returne&&e.length&&this.write(e),this._parser.end(),!0},d.prototype.on=function(e,t){varn=this;returnn._parser["on"+e]||-1===u.indexOf(e)||(n._parser["on"+e]=fun
/*! http://mths.be/fromcodepoint v0.1.0 by @mathias */T=n.STATE,String.fromCodePoint||function(){vare=String.fromCharCode,t=Math.floor,n=function(){varn,r,i=16384,o=[],a=-1,s=arguments.length;if(!s)return"";varl="";while(++a<s){varu=Number(arguments[a]);if(!isFinite(u)||u<0||u>1114111||t(u)!==u)throwRangeError("Invalid code point: "+u);u<=65535?o.push(u):(u-=65536,n=55296+(u>>10),r=u%1024+56320,o.push(n,r)),(a+1===s||o.length>i)&&(l+=e.apply(null,o),o.length=0)}returnl};Object.defineProperty?Object.defineProperty(String,"fromCodePoint",{value:n,configurable:!0,writable:!0}):String.fromCodePoint=n}()})("undefined"===typeofn?this.sax={}:n)}).call(this)}).call(this,e("buffer").Buffer)},{buffer:103,stream:470,string_decoder:485}],468:[function(e,t,n){"use strict";varr=e("get-intrinsic"),i=e("define-data-property"),o=e("has-property-descriptors")(),a=e("gopd"),s=r("%TypeError%"),l=r("%Math.floor%");t.exports=function(e,t){if("function"!==typeofe)thrownews("`fn` is not a function");if("number"!==typeoft||t<0||t>4294967295||l(t)!==t)thrownews("`length` must be a positive 32-bit integer");varn=arguments.length>2&&!!arguments[2],r=!0,u=!0;if("length"ine&&a){varc=a(e,"length");c&&!c.configurable&&(r=!1),c&&!c.writable&&(u=!1)}return(r||u||!n)&&(o?i(e,"length",t,!0,!0):i(e,"length",t)),e}},{"define-data-property":386,"get-intrinsic":392,gopd:393,"has-property-descriptors":394}],469:[function(e,t,n){"use strict";varr=e("get-intrinsic"),i=e("call-bind/callBound"),o=e("object-inspect"),a=r("%TypeError%"),s=r("%WeakMap%",!0),l=r("%Map%",!0),u=i("WeakMap.prototype.get",!0),c=i("WeakMap.prototype.set",!0),d=i("WeakMap.prototype.has",!0),p=i("Map.prototype.get",!0),h=i("Map.prototype.set",!0),f=i("Map.prototype.has",!0),m=function(e,t){for(varn,r=e;null!==(n=r.next);r=n)if(n.key===t)returnr.next=n.next,n.next=e.next,e.next=n,n},g=function(e,t){varn=m(e,t);returnn&&n.value},b=function(e,t,n){varr=m(e,t);r?r.value=n:e.next={key:t,next:e.next,value:n}},v=function(e,t){return!!m(e,t)};t.exports=function(){vare,t,n,r={assert:function(e){if(!r.has(e))thrownewa("Side channel does not contain "+o(e))},get:function(r){if(s&&r&&("object"===typeofr||"function"===typeofr)){if(e)returnu(e,r)}elseif(l){if(t)returnp(t,r)}elseif(n)returng(n,r)},has:function(r){if(s&&r&&("object"===typeofr||"function"===typeofr)){if(e)returnd(e,r)}elseif(l){if(t)returnf(t,r)}elseif(n)returnv(n,r);return!1},set:function(r,i){s&&r&&("object"===typeofr||"function"===typeofr)?(e||(e=news),c(e,r,i)):l?(t||(t=newl),h(t,r,i)):(n||(n={key:{},next:null}),b(n,r,i))}};returnr}},{"call-bind/callBound":105,"get-intrinsic":392,"object-inspect":435}],470:[function(e,t,n){t.exports=o;varr=e("events").EventEmitter,i=e("inherits");functiono(){r.call(this)}i(o,r),o.Readable=e("readable-stream/lib/_stream_readable.js"),o.Writable=e("readable-stream/lib/_stream_writable.js"),o.Duplex=e("readable-stream/lib/_stream_duplex.js"),o.Transform=e("readable-stream/lib/_stream_transform.js"),o.PassThrough=e("readable-stream/lib/_stream_passthrough.js"),o.finished=e("readable-stream/lib/internal/streams/end-of-stream.js"),o.pipeline=e("readable-stream/lib/internal/streams/pipeline.js"),o.Stream=o,o.prototype.pipe=function(e,t){varn=this;functioni(t){e.writable&&!1===e.write(t)&&n.pause&&n.pause()}functiono(){n.readable&&n.resume&&n.resume()}n.on("data",i),e.on("drain",o),e._isStdio||t&&!1===t.end||(n.on("end",s),n.on("close",l));vara=!1;functions(){a||(a=!0,e.end())}functionl(){a||(a=!0,"function"===typeofe.destroy&&e.destroy())}functionu(e){if(c(),0===r.listenerCount(this,"error"))throwe}functionc(){n.removeListener("data",i),e.removeListener("drain",o),n.removeListener("end",s),n.removeListener("close",l),n.removeListener("error",u),e.removeListener("error",u),n.removeListener("end",c),n.removeListener("close",c),e.removeListener("close",c)}returnn.on("error",u),e.on("error",u),n.on("end",c),n.on("close",c),e.on("close",c),e.emit("pipe",n),e}},{events:388,inherits:409,"readable-stream/lib/_stream_duplex.js":472,"readable-stream/lib/_stream_pa
returne.mode.CTRGladman=function(){vart=e.lib.BlockCipherMode.extend();functionn(e){if(255===(e>>24&255)){vart=e>>16&255,n=e>>8&255,r=255&e;255===t?(t=0,255===n?(n=0,255===r?r=0:++r):++n):++t,e=0,e+=t<<16,e+=n<<8,e+=r}elsee+=1<<24;returne}functionr(e){return0===(e[0]=n(e[0]))&&(e[1]=n(e[1])),e}vari=t.Encryptor=t.extend({processBlock:function(e,t){varn=this._cipher,i=n.blockSize,o=this._iv,a=this._counter;o&&(a=this._counter=o.slice(0),this._iv=void0),r(a);vars=a.slice(0);n.encryptBlock(s,0);for(varl=0;l<i;l++)e[t+l]^=s[l]}});returnt.Decryptor=i,t}(),e.mode.CTRGladman}))},ad23:function(e,t,n){"use strict";(function(e,r){Object.defineProperty(t,"__esModule",{value:!0});vari={Client:!0,CopyConditions:!0,PostPolicy:!0};t.PostPolicy=t.CopyConditions=t.Client=void0;varo=N(n("3e8f")),a=N(n("9490")),s=N(n("24f8")),l=N(n("d485")),u=N(n("7807")),c=N(n("d58e")),d=N(n("f339")),p=N(n("2f24")),h=N(n("72bf")),f=N(n("09ea")),m=N(n("df7c")),g=N(n("2ef0")),b=n("3d5a3"),v=n("051d"),y=n("0d98"),_=N(n("1100")),E=O(n("6106")),w=O(n("522b")),S=n("27b5"),x=n("64d7");Object.keys(x).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(i,e)||eint&&t[e]===x[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){returnx[e]}}))}));varC=N(n("0fe6")),T=N(n("2e56")),D=n("5cde"),A=n("051d");functionk(e){if("function"!==typeofWeakMap)returnnull;vart=newWeakMap,n=newWeakMap;return(k=function(e){returne?n:t})(e)}functionO(e,t){if(!t&&e&&e.__esModule)returne;if(null===e||"object"!==typeofe&&"function"!==typeofe)return{default:e};varn=k(t);if(n&&n.has(e))returnn.get(e);varr={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(varoine)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){vara=i?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(r,o,a):r[o]=e[o]}returnr.default=e,n&&n.set(e,r),r}functionN(e){returne&&e.__esModule?e:{default:e}}Object.keys(A).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(i,e)||eint&&t[e]===A[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){returnA[e]}}))}));varM=n("bf96");classI{constructor(t){if("undefined"!==typeoft.secure)thrownewError('"secure" option deprecated, "useSSL" should be used instead');if("undefined"===typeoft.useSSL&&(t.useSSL=!0),t.port||(t.port=0),!(0,v.isValidEndpoint)(t.endPoint))throwneww.InvalidEndpointError("Invalid endPoint : "+t.endPoint);if(!(0,v.isValidPort)(t.port))throwneww.InvalidArgumentError("Invalid port : "+t.port);if(!(0,v.isBoolean)(t.useSSL))throwneww.InvalidArgumentError(`Invalid useSSL flag type : ${t.useSSL}, expected to be of type "boolean"`);if(t.region&&!(0,v.isString)(t.region))throwneww.InvalidArgumentError("Invalid region : "+t.region);varn,r=t.endPoint.toLowerCase(),i=t.port,o="";if(!1===t.useSSL?(n=a.default,o="http:",0===i&&(i=80)):(n=s.default,o="https:",0===i&&(i=443)),t.transport){if(!(0,v.isObject)(t.transport))throwneww.InvalidArgumentError('Invalid transport type : ${params.transport}, expected to be type "object"');n=t.transport}varl=`(${e.platform}; ${e.arch})`,u=`MinIO ${l} minio-js/${M.version}`;if(this.transport=n,this.host=r,this.port=i,this.protocol=o,this.accessKey=t.accessKey,this.secretKey=t.secretKey,this.sessionToken=t.sessionToken,this.userAgent=""+u,void0===t.pathStyle?this.pathStyle=!0:this.pathStyle=t.pathStyle,this.accessKey||(this.accessKey=""),this.secretKey||(this.secretKey=""),this.anonymous=!this.accessKey||!this.secretKey,t.credentialsProvider&&(this.credentialsProvider=t.credentialsProvider,this.checkAndRefreshCreds()),this.regionMap={},t.region&&(this.region=t.region),this.partSize=67108864,t.partSize&&(this.partSize=t.partSize,this.overRidePartSize=!0),this.partSize<5242880)throwneww.InvalidArgumentError("Part size should be greater than 5MB");if(this.partSize>5368709120)throwneww.InvalidArgumentError("Part size should be less than 5GB");this.maximumPartSize=5368709120,this.maxObjectSize=5497558138880,this.enableSHA256=!this.anonymous
varr=n("1fb5"),i=n("9152"),o=n("2335");functiona(){try{vare=newUint8Array(1);returne.__proto__={__proto__:Uint8Array.prototype,foo:function(){return42}},42===e.foo()&&"function"===typeofe.subarray&&0===e.subarray(1,1).byteLength}catch(t){return!1}}functions(){returnu.TYPED_ARRAY_SUPPORT?2147483647:1073741823}functionl(e,t){if(s()<t)thrownewRangeError("Invalid typed array length");returnu.TYPED_ARRAY_SUPPORT?(e=newUint8Array(t),e.__proto__=u.prototype):(null===e&&(e=newu(t)),e.length=t),e}functionu(e,t,n){if(!u.TYPED_ARRAY_SUPPORT&&!(thisinstanceofu))returnnewu(e,t,n);if("number"===typeofe){if("string"===typeoft)thrownewError("If encoding is specified then the first argument must be a string");returnh(this,e)}returnc(this,e,t,n)}functionc(e,t,n,r){if("number"===typeoft)thrownewTypeError('"value" argument must not be a number');return"undefined"!==typeofArrayBuffer&&tinstanceofArrayBuffer?g(e,t,n,r):"string"===typeoft?f(e,t,n):b(e,t)}functiond(e){if("number"!==typeofe)thrownewTypeError('"size" argument must be a number');if(e<0)thrownewRangeError('"size" argument must not be negative')}functionp(e,t,n,r){returnd(t),t<=0?l(e,t):void0!==n?"string"===typeofr?l(e,t).fill(n,r):l(e,t).fill(n):l(e,t)}functionh(e,t){if(d(t),e=l(e,t<0?0:0|v(t)),!u.TYPED_ARRAY_SUPPORT)for(varn=0;n<t;++n)e[n]=0;returne}functionf(e,t,n){if("string"===typeofn&&""!==n||(n="utf8"),!u.isEncoding(n))thrownewTypeError('"encoding" must be a valid string encoding');varr=0|_(t,n);e=l(e,r);vari=e.write(t,n);returni!==r&&(e=e.slice(0,i)),e}functionm(e,t){varn=t.length<0?0:0|v(t.length);e=l(e,n);for(varr=0;r<n;r+=1)e[r]=255&t[r];returne}functiong(e,t,n,r){if(t.byteLength,n<0||t.byteLength<n)thrownewRangeError("'offset' is out of bounds");if(t.byteLength<n+(r||0))thrownewRangeError("'length' is out of bounds");returnt=void0===n&&void0===r?newUint8Array(t):void0===r?newUint8Array(t,n):newUint8Array(t,n,r),u.TYPED_ARRAY_SUPPORT?(e=t,e.__proto__=u.prototype):e=m(e,t),e}functionb(e,t){if(u.isBuffer(t)){varn=0|v(t.length);returne=l(e,n),0===e.length?e:(t.copy(e,0,0,n),e)}if(t){if("undefined"!==typeofArrayBuffer&&t.bufferinstanceofArrayBuffer||"length"int)return"number"!==typeoft.length||te(t.length)?l(e,0):m(e,t);if("Buffer"===t.type&&o(t.data))returnm(e,t.data)}thrownewTypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}functionv(e){if(e>=s())thrownewRangeError("Attempt to allocate Buffer larger than maximum size: 0x"+s().toString(16)+" bytes");return0|e}functiony(e){return+e!=e&&(e=0),u.alloc(+e)}function_(e,t){if(u.isBuffer(e))returne.length;if("undefined"!==typeofArrayBuffer&&"function"===typeofArrayBuffer.isView&&(ArrayBuffer.isView(e)||einstanceofArrayBuffer))returne.byteLength;"string"!==typeofe&&(e=""+e);varn=e.length;if(0===n)return0;for(varr=!1;;)switch(t){case"ascii":case"latin1":case"binary":returnn;case"utf8":case"utf-8":casevoid0:returnQ(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return2*n;case"hex":returnn>>>1;case"base64":returnJ(e).length;default:if(r)returnQ(e).length;t=(""+t).toLowerCase(),r=!0}}functionE(e,t,n){varr=!1;if((void0===t||t<0)&&(t=0),t>this.length)return"";if((void0===n||n>this.length)&&(n=this.length),n<=0)return"";if(n>>>=0,t>>>=0,n<=t)return"";e||(e="utf8");while(1)switch(e){case"hex":returnF(this,t,n);case"utf8":case"utf-8":returnM(this,t,n);case"ascii":returnP(this,t,n);case"latin1":case"binary":returnL(this,t,n);case"base64":returnN(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":returnj(this,t,n);default:if(r)thrownewTypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}functionw(e,t,n){varr=e[t];e[t]=e[n],e[n]=r}functionS(e,t,n,r,i){if(0===e.length)return-1;if("string"===typeofn?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=i?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(i)return-1;n=e.length-1}elseif(n<0){if(!i)return-1;n=0}if("string"===typeoft&&(t=u.from(t,r)),u.isBuffer(t))retu
/*!
*piniav2.1.7
*(c)2023EduardoSanMartinMorote
*@licenseMIT
*/
leto;consta=e=>o=e,s=Symbol();functionl(e){returne&&"object"===typeofe&&"[object Object]"===Object.prototype.toString.call(e)&&"function"!==typeofe.toJSON}varu;(function(e){e["direct"]="direct",e["patchObject"]="patch object",e["patchFunction"]="patch function"})(u||(u={}));constc="undefined"!==typeofwindow,d="undefined"!==typeof__VUE_PROD_DEVTOOLS__&&__VUE_PROD_DEVTOOLS__&&c,p=(()=>"object"===typeofwindow&&window.window===window?window:"object"===typeofself&&self.self===self?self:"object"===typeofe&&e.global===e?e:"object"===typeofglobalThis?globalThis:{HTMLElement:null})();functionh(e,{autoBom:t=!1}={}){returnt&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(e.type)?newBlob([String.fromCharCode(65279),e],{type:e.type}):e}functionf(e,t,n){constr=newXMLHttpRequest;r.open("GET",e),r.responseType="blob",r.onload=function(){y(r.response,t,n)},r.onerror=function(){console.error("could not download file")},r.send()}functionm(e){constt=newXMLHttpRequest;t.open("HEAD",e,!1);try{t.send()}catch(n){}returnt.status>=200&&t.status<=299}functiong(e){try{e.dispatchEvent(newMouseEvent("click"))}catch(t){constn=document.createEvent("MouseEvents");n.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),e.dispatchEvent(n)}}constb="object"===typeofnavigator?navigator:{userAgent:""},v=(()=>/Macintosh/.test(b.userAgent)&&/AppleWebKit/.test(b.userAgent)&&!/Safari/.test(b.userAgent))(),y=c?"undefined"!==typeofHTMLAnchorElement&&"download"inHTMLAnchorElement.prototype&&!v?_:"msSaveOrOpenBlob"inb?E:w:()=>{};function_(e,t="download",n){constr=document.createElement("a");r.download=t,r.rel="noopener","string"===typeofe?(r.href=e,r.origin!==location.origin?m(r.href)?f(e,t,n):(r.target="_blank",g(r)):g(r)):(r.href=URL.createObjectURL(e),setTimeout((function(){URL.revokeObjectURL(r.href)}),4e4),setTimeout((function(){g(r)}),0))}functionE(e,t="download",n){if("string"===typeofe)if(m(e))f(e,t,n);else{constt=document.createElement("a");t.href=e,t.target="_blank",setTimeout((function(){g(t)}))}elsenavigator.msSaveOrOpenBlob(h(e,n),t)}functionw(e,t,n,r){if(r=r||open("","_blank"),r&&(r.document.title=r.document.body.innerText="downloading..."),"string"===typeofe)returnf(e,t,n);consti="application/octet-stream"===e.type,o=/constructor/i.test(String(p.HTMLElement))||"safari"inp,a=/CriOS\/[\d]+/.test(navigator.userAgent);if((a||i&&o||v)&&"undefined"!==typeofFileReader){constt=newFileReader;t.onloadend=function(){lete=t.result;if("string"!==typeofe)throwr=null,newError("Wrong reader.result type");e=a?e:e.replace(/^data:[^;]*;/,"data:attachment/file;"),r?r.location.href=e:location.assign(e),r=null},t.readAsDataURL(e)}else{constt=URL.createObjectURL(e);r?r.location.assign(t):location.href=t,r=null,setTimeout((function(){URL.revokeObjectURL(t)}),4e4)}}functionS(e,t){constn="🍍 "+e;"function"===typeof__VUE_DEVTOOLS_TOAST__?__VUE_DEVTOOLS_TOAST__(n,t):"error"===t?console.error(n):"warn"===t?console.warn(n):console.log(n)}functionx(e){return"_a"ine&&"install"ine}functionC(){if(!("clipboard"innavigator))returnS("Your browser doesn't support the Clipboard API","error"),!0}functionT(e){return!!(einstanceofError&&e.message.toLowerCase().includes("document is not focused"))&&(S('You need to activate the "Emulate a focused page" setting in the "Rendering" panel of devtools.',"warn"),!0)}asyncfunctionD(e){if(!C())try{awaitnavigator.clipboard.writeText(JSON.stringify(e.state.value)),S("Global state copied to clipboard.")}catch(t){if(T(t))return;S("Failed to serialize the state. Check the console for more details.","error"),console.error(t)}}asyncfunctionA(e){if(!C())try{I(e,JSON.parse(awaitnavigator.clipboard.readText())),S("Global state pasted from clipboard.")}catch(t){if(T(t))return;S("Failed to deserialize the state from clipboard. Check the console for more details.","error"),console.error(t)}}asyncfunctionk(e){try{y(newBlob([JSON.stringify(e.state.value)],{type:"text/plain;charset=utf-8"}),"pinia-state.json")}catch(t){S("Failedtoexportthesta