@harbour-enterprises/superdoc 0.12.0-RC2 → 0.12.0-RC5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (75) hide show
  1. package/dist/chunks/{eventemitter3-C9iBZY5R.es.js → eventemitter3-DFFdN5-N.es.js} +1 -1
  2. package/dist/chunks/{eventemitter3-Cj9ZwxFw.cjs → eventemitter3-a1gwRntm.cjs} +1 -1
  3. package/dist/chunks/{index-C6SLw2ph.cjs → index-BaUf6hWx.cjs} +1 -1
  4. package/dist/chunks/{index-CbUTRvRk.cjs → index-CmiflrMh.cjs} +1 -1
  5. package/dist/chunks/{index-BTkgQgI7.es.js → index-D0RRgvB7.es.js} +2 -2
  6. package/dist/chunks/{index-kWwSELc2.es.js → index-D_hSyoUJ.es.js} +4 -4
  7. package/dist/chunks/{jszip-D9YbjC4E.cjs → jszip-B9XFUSP6.cjs} +1 -1
  8. package/dist/chunks/{jszip-OpmRHhd4.es.js → jszip-BISi6DwV.es.js} +1 -1
  9. package/dist/chunks/super-editor.es-8ApwJvNk.cjs +457 -0
  10. package/dist/chunks/{super-editor.es-jrBL9mdr.es.js → super-editor.es-CifAxYgu.es.js} +9612 -9332
  11. package/dist/chunks/{url-DRGmEUtI.cjs → url-CQAfrw85.cjs} +1 -1
  12. package/dist/chunks/{url-C29KYeaj.es.js → url-amCEc5Yz.es.js} +2 -2
  13. package/dist/chunks/{vue-DKS68Dra.es.js → vue-DZ2Bmo1d.es.js} +251 -249
  14. package/dist/chunks/{vue-BQCc2YbW.cjs → vue-MFKe9j2t.cjs} +7 -7
  15. package/dist/chunks/{xml-js-CgHhGhcJ.es.js → xml-js-CA7yNi6O.es.js} +2 -2
  16. package/dist/chunks/{xml-js-CMQ3QRee.cjs → xml-js-D7dYWJv-.cjs} +1 -1
  17. package/dist/core/SuperDoc.d.ts.map +1 -1
  18. package/dist/style.css +29 -29
  19. package/dist/super-editor/ai-writer.es.js +2 -2
  20. package/dist/super-editor/chunks/{converter-D1a6grDV.js → converter-D6sWgeo0.js} +1888 -1824
  21. package/dist/super-editor/chunks/{docx-zipper-L7BeJRax.js → docx-zipper-D8nXUhBi.js} +749 -763
  22. package/dist/super-editor/chunks/{editor-BY7pz5xQ.js → editor-DNn7DnFc.js} +4697 -4526
  23. package/dist/super-editor/chunks/{toolbar-DEvjPuNj.js → toolbar-BsYrgF2l.js} +612 -611
  24. package/dist/super-editor/components/toolbar/constants.d.ts +12 -0
  25. package/dist/super-editor/components/toolbar/constants.d.ts.map +1 -0
  26. package/dist/super-editor/components/toolbar/defaultItems.d.ts +3 -1
  27. package/dist/super-editor/components/toolbar/defaultItems.d.ts.map +1 -1
  28. package/dist/super-editor/components/toolbar/super-toolbar.d.ts +2 -0
  29. package/dist/super-editor/components/toolbar/super-toolbar.d.ts.map +1 -1
  30. package/dist/super-editor/converter.es.js +1 -1
  31. package/dist/super-editor/core/DocxZipper.d.ts.map +1 -1
  32. package/dist/super-editor/core/Editor.d.ts +16 -0
  33. package/dist/super-editor/core/Editor.d.ts.map +1 -1
  34. package/dist/super-editor/core/InputRule.d.ts +1 -0
  35. package/dist/super-editor/core/InputRule.d.ts.map +1 -1
  36. package/dist/super-editor/core/commands/insertTabNode.d.ts +7 -1
  37. package/dist/super-editor/core/commands/insertTabNode.d.ts.map +1 -1
  38. package/dist/super-editor/core/inputRules/docx-paste/docx-paste.d.ts +2 -0
  39. package/dist/super-editor/core/inputRules/docx-paste/docx-paste.d.ts.map +1 -0
  40. package/dist/super-editor/core/super-converter/SuperConverter.d.ts.map +1 -1
  41. package/dist/super-editor/core/super-converter/constants.d.ts +2 -0
  42. package/dist/super-editor/core/super-converter/constants.d.ts.map +1 -0
  43. package/dist/super-editor/core/super-converter/exporter.d.ts.map +1 -1
  44. package/dist/super-editor/core/super-converter/v2/importer/docxImporter.d.ts.map +1 -1
  45. package/dist/super-editor/core/super-converter/v2/importer/paragraphNodeImporter.d.ts.map +1 -1
  46. package/dist/super-editor/core/super-converter/v2/importer/structuredDocumentNodeImporter.d.ts +9 -0
  47. package/dist/super-editor/core/super-converter/v2/importer/structuredDocumentNodeImporter.d.ts.map +1 -0
  48. package/dist/super-editor/docx-zipper.es.js +2 -2
  49. package/dist/super-editor/editor.es.js +3 -3
  50. package/dist/super-editor/extensions/collaboration/collaboration.d.ts +3 -0
  51. package/dist/super-editor/extensions/collaboration/collaboration.d.ts.map +1 -1
  52. package/dist/super-editor/extensions/field-annotation/field-annotation.d.ts.map +1 -1
  53. package/dist/super-editor/extensions/index.d.ts +2 -1
  54. package/dist/super-editor/extensions/index.d.ts.map +1 -1
  55. package/dist/super-editor/extensions/list-item/ListItemNodeView.d.ts.map +1 -1
  56. package/dist/super-editor/extensions/ordered-list/ordered-list.d.ts.map +1 -1
  57. package/dist/super-editor/extensions/structured-content/index.d.ts +2 -0
  58. package/dist/super-editor/extensions/structured-content/index.d.ts.map +1 -0
  59. package/dist/super-editor/extensions/structured-content/structured-content.d.ts +2 -0
  60. package/dist/super-editor/extensions/structured-content/structured-content.d.ts.map +1 -0
  61. package/dist/super-editor/file-zipper.es.js +1 -1
  62. package/dist/super-editor/style.css +1 -1
  63. package/dist/super-editor/super-editor.es.js +1169 -1108
  64. package/dist/super-editor/tests/export/export-helpers/export-helpers.d.ts.map +1 -1
  65. package/dist/super-editor/tests/import/sdt-nodes/structuredDocumentNodeTests.test.d.ts +2 -0
  66. package/dist/super-editor/tests/import/sdt-nodes/structuredDocumentNodeTests.test.d.ts.map +1 -0
  67. package/dist/super-editor/toolbar.es.js +2 -2
  68. package/dist/super-editor.cjs +1 -1
  69. package/dist/super-editor.es.js +9 -9
  70. package/dist/superdoc.cjs +6 -6
  71. package/dist/superdoc.es.js +16 -12
  72. package/dist/superdoc.umd.js +11198 -10912
  73. package/dist/superdoc.umd.js.map +1 -1
  74. package/package.json +2 -1
  75. package/dist/chunks/super-editor.es-VeFFgSyB.cjs +0 -451
@@ -1,4 +1,4 @@
1
- import { g as d } from "./jszip-OpmRHhd4.es.js";
1
+ import { g as d } from "./jszip-BISi6DwV.es.js";
2
2
  var m = { exports: {} };
3
3
  (function(g) {
4
4
  var w = Object.prototype.hasOwnProperty, u = "~";
@@ -1 +1 @@
1
- "use strict";const d=require("./jszip-D9YbjC4E.cjs");var m={exports:{}};(function(w){var E=Object.prototype.hasOwnProperty,u="~";function h(){}Object.create&&(h.prototype=Object.create(null),new h().__proto__||(u=!1));function g(s,t,n){this.fn=s,this.context=t,this.once=n||!1}function x(s,t,n,r,l){if(typeof n!="function")throw new TypeError("The listener must be a function");var c=new g(n,r||s,l),o=u?u+t:t;return s._events[o]?s._events[o].fn?s._events[o]=[s._events[o],c]:s._events[o].push(c):(s._events[o]=c,s._eventsCount++),s}function y(s,t){--s._eventsCount===0?s._events=new h:delete s._events[t]}function f(){this._events=new h,this._eventsCount=0}f.prototype.eventNames=function(){var t=[],n,r;if(this._eventsCount===0)return t;for(r in n=this._events)E.call(n,r)&&t.push(u?r.slice(1):r);return Object.getOwnPropertySymbols?t.concat(Object.getOwnPropertySymbols(n)):t},f.prototype.listeners=function(t){var n=u?u+t:t,r=this._events[n];if(!r)return[];if(r.fn)return[r.fn];for(var l=0,c=r.length,o=new Array(c);l<c;l++)o[l]=r[l].fn;return o},f.prototype.listenerCount=function(t){var n=u?u+t:t,r=this._events[n];return r?r.fn?1:r.length:0},f.prototype.emit=function(t,n,r,l,c,o){var a=u?u+t:t;if(!this._events[a])return!1;var e=this._events[a],v=arguments.length,p,i;if(e.fn){switch(e.once&&this.removeListener(t,e.fn,void 0,!0),v){case 1:return e.fn.call(e.context),!0;case 2:return e.fn.call(e.context,n),!0;case 3:return e.fn.call(e.context,n,r),!0;case 4:return e.fn.call(e.context,n,r,l),!0;case 5:return e.fn.call(e.context,n,r,l,c),!0;case 6:return e.fn.call(e.context,n,r,l,c,o),!0}for(i=1,p=new Array(v-1);i<v;i++)p[i-1]=arguments[i];e.fn.apply(e.context,p)}else{var b=e.length,_;for(i=0;i<b;i++)switch(e[i].once&&this.removeListener(t,e[i].fn,void 0,!0),v){case 1:e[i].fn.call(e[i].context);break;case 2:e[i].fn.call(e[i].context,n);break;case 3:e[i].fn.call(e[i].context,n,r);break;case 4:e[i].fn.call(e[i].context,n,r,l);break;default:if(!p)for(_=1,p=new Array(v-1);_<v;_++)p[_-1]=arguments[_];e[i].fn.apply(e[i].context,p)}}return!0},f.prototype.on=function(t,n,r){return x(this,t,n,r,!1)},f.prototype.once=function(t,n,r){return x(this,t,n,r,!0)},f.prototype.removeListener=function(t,n,r,l){var c=u?u+t:t;if(!this._events[c])return this;if(!n)return y(this,c),this;var o=this._events[c];if(o.fn)o.fn===n&&(!l||o.once)&&(!r||o.context===r)&&y(this,c);else{for(var a=0,e=[],v=o.length;a<v;a++)(o[a].fn!==n||l&&!o[a].once||r&&o[a].context!==r)&&e.push(o[a]);e.length?this._events[c]=e.length===1?e[0]:e:y(this,c)}return this},f.prototype.removeAllListeners=function(t){var n;return t?(n=u?u+t:t,this._events[n]&&y(this,n)):(this._events=new h,this._eventsCount=0),this},f.prototype.off=f.prototype.removeListener,f.prototype.addListener=f.prototype.on,f.prefixed=u,f.EventEmitter=f,w.exports=f})(m);var L=m.exports;const C=d.getDefaultExportFromCjs(L);exports.EventEmitter=C;
1
+ "use strict";const d=require("./jszip-B9XFUSP6.cjs");var m={exports:{}};(function(w){var E=Object.prototype.hasOwnProperty,u="~";function h(){}Object.create&&(h.prototype=Object.create(null),new h().__proto__||(u=!1));function g(s,t,n){this.fn=s,this.context=t,this.once=n||!1}function x(s,t,n,r,l){if(typeof n!="function")throw new TypeError("The listener must be a function");var c=new g(n,r||s,l),o=u?u+t:t;return s._events[o]?s._events[o].fn?s._events[o]=[s._events[o],c]:s._events[o].push(c):(s._events[o]=c,s._eventsCount++),s}function y(s,t){--s._eventsCount===0?s._events=new h:delete s._events[t]}function f(){this._events=new h,this._eventsCount=0}f.prototype.eventNames=function(){var t=[],n,r;if(this._eventsCount===0)return t;for(r in n=this._events)E.call(n,r)&&t.push(u?r.slice(1):r);return Object.getOwnPropertySymbols?t.concat(Object.getOwnPropertySymbols(n)):t},f.prototype.listeners=function(t){var n=u?u+t:t,r=this._events[n];if(!r)return[];if(r.fn)return[r.fn];for(var l=0,c=r.length,o=new Array(c);l<c;l++)o[l]=r[l].fn;return o},f.prototype.listenerCount=function(t){var n=u?u+t:t,r=this._events[n];return r?r.fn?1:r.length:0},f.prototype.emit=function(t,n,r,l,c,o){var a=u?u+t:t;if(!this._events[a])return!1;var e=this._events[a],v=arguments.length,p,i;if(e.fn){switch(e.once&&this.removeListener(t,e.fn,void 0,!0),v){case 1:return e.fn.call(e.context),!0;case 2:return e.fn.call(e.context,n),!0;case 3:return e.fn.call(e.context,n,r),!0;case 4:return e.fn.call(e.context,n,r,l),!0;case 5:return e.fn.call(e.context,n,r,l,c),!0;case 6:return e.fn.call(e.context,n,r,l,c,o),!0}for(i=1,p=new Array(v-1);i<v;i++)p[i-1]=arguments[i];e.fn.apply(e.context,p)}else{var b=e.length,_;for(i=0;i<b;i++)switch(e[i].once&&this.removeListener(t,e[i].fn,void 0,!0),v){case 1:e[i].fn.call(e[i].context);break;case 2:e[i].fn.call(e[i].context,n);break;case 3:e[i].fn.call(e[i].context,n,r);break;case 4:e[i].fn.call(e[i].context,n,r,l);break;default:if(!p)for(_=1,p=new Array(v-1);_<v;_++)p[_-1]=arguments[_];e[i].fn.apply(e[i].context,p)}}return!0},f.prototype.on=function(t,n,r){return x(this,t,n,r,!1)},f.prototype.once=function(t,n,r){return x(this,t,n,r,!0)},f.prototype.removeListener=function(t,n,r,l){var c=u?u+t:t;if(!this._events[c])return this;if(!n)return y(this,c),this;var o=this._events[c];if(o.fn)o.fn===n&&(!l||o.once)&&(!r||o.context===r)&&y(this,c);else{for(var a=0,e=[],v=o.length;a<v;a++)(o[a].fn!==n||l&&!o[a].once||r&&o[a].context!==r)&&e.push(o[a]);e.length?this._events[c]=e.length===1?e[0]:e:y(this,c)}return this},f.prototype.removeAllListeners=function(t){var n;return t?(n=u?u+t:t,this._events[n]&&y(this,n)):(this._events=new h,this._eventsCount=0),this},f.prototype.off=f.prototype.removeListener,f.prototype.addListener=f.prototype.on,f.prefixed=u,f.EventEmitter=f,w.exports=f})(m);var L=m.exports;const C=d.getDefaultExportFromCjs(L);exports.EventEmitter=C;
@@ -1 +1 @@
1
- "use strict";const j=require("./jszip-D9YbjC4E.cjs"),q=require("./vue-BQCc2YbW.cjs"),U=require("./xml-js-CMQ3QRee.cjs"),_t=require("./url-DRGmEUtI.cjs");function bt(e,r){for(var a=0;a<r.length;a++){const l=r[a];if(typeof l!="string"&&!Array.isArray(l)){for(const f in l)if(f!=="default"&&!(f in e)){const _=Object.getOwnPropertyDescriptor(l,f);_&&Object.defineProperty(e,f,_.get?_:{enumerable:!0,get:()=>l[f]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}var de={},Ze={exports:{}},De={};(function(e){e.fetch=f(j.commonjsGlobal.fetch)&&f(j.commonjsGlobal.ReadableStream),e.writableStream=f(j.commonjsGlobal.WritableStream),e.abortController=f(j.commonjsGlobal.AbortController);var r;function a(){if(r!==void 0)return r;if(j.commonjsGlobal.XMLHttpRequest){r=new j.commonjsGlobal.XMLHttpRequest;try{r.open("GET",j.commonjsGlobal.XDomainRequest?"/":"https://example.com")}catch{r=null}}else r=null;return r}function l(_){var h=a();if(!h)return!1;try{return h.responseType=_,h.responseType===_}catch{}return!1}e.arraybuffer=e.fetch||l("arraybuffer"),e.msstream=!e.fetch&&l("ms-stream"),e.mozchunkedarraybuffer=!e.fetch&&l("moz-chunked-arraybuffer"),e.overrideMimeType=e.fetch||(a()?f(a().overrideMimeType):!1);function f(_){return typeof _=="function"}r=null})(De);var ce={},Ce={exports:{}},et=U.eventsExports.EventEmitter,Se,xe;function yt(){if(xe)return Se;xe=1;function e(w,E){var y=Object.keys(w);if(Object.getOwnPropertySymbols){var v=Object.getOwnPropertySymbols(w);E&&(v=v.filter(function(A){return Object.getOwnPropertyDescriptor(w,A).enumerable})),y.push.apply(y,v)}return y}function r(w){for(var E=1;E<arguments.length;E++){var y=arguments[E]!=null?arguments[E]:{};E%2?e(Object(y),!0).forEach(function(v){a(w,v,y[v])}):Object.getOwnPropertyDescriptors?Object.defineProperties(w,Object.getOwnPropertyDescriptors(y)):e(Object(y)).forEach(function(v){Object.defineProperty(w,v,Object.getOwnPropertyDescriptor(y,v))})}return w}function a(w,E,y){return E=h(E),E in w?Object.defineProperty(w,E,{value:y,enumerable:!0,configurable:!0,writable:!0}):w[E]=y,w}function l(w,E){if(!(w instanceof E))throw new TypeError("Cannot call a class as a function")}function f(w,E){for(var y=0;y<E.length;y++){var v=E[y];v.enumerable=v.enumerable||!1,v.configurable=!0,"value"in v&&(v.writable=!0),Object.defineProperty(w,h(v.key),v)}}function _(w,E,y){return E&&f(w.prototype,E),Object.defineProperty(w,"prototype",{writable:!1}),w}function h(w){var E=c(w,"string");return typeof E=="symbol"?E:String(E)}function c(w,E){if(typeof w!="object"||w===null)return w;var y=w[Symbol.toPrimitive];if(y!==void 0){var v=y.call(w,E);if(typeof v!="object")return v;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(w)}var d=U.require$$2,m=d.Buffer,P=U.util,b=P.inspect,C=b&&b.custom||"inspect";function H(w,E,y){m.prototype.copy.call(w,E,y)}return Se=function(){function w(){l(this,w),this.head=null,this.tail=null,this.length=0}return _(w,[{key:"push",value:function(y){var v={data:y,next:null};this.length>0?this.tail.next=v:this.head=v,this.tail=v,++this.length}},{key:"unshift",value:function(y){var v={data:y,next:this.head};this.length===0&&(this.tail=v),this.head=v,++this.length}},{key:"shift",value:function(){if(this.length!==0){var y=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,y}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(y){if(this.length===0)return"";for(var v=this.head,A=""+v.data;v=v.next;)A+=y+v.data;return A}},{key:"concat",value:function(y){if(this.length===0)return m.alloc(0);for(var v=m.allocUnsafe(y>>>0),A=this.head,S=0;A;)H(A.data,v,S),S+=A.data.length,A=A.next;return v}},{key:"consume",value:function(y,v){var A;return y<this.head.data.length?(A=this.head.data.slice(0,y),this.head.data=this.head.data.slice(y)):y===this.head.data.length?A=this.shift():A=v?this._getString(y):this._getBuffer(y),A}},{key:"first",value:function(){return this.head.data}},{key:"_getString",value:function(y){var v=this.head,A=1,S=v.data;for(y-=S.length;v=v.next;){var g=v.data,T=y>g.length?g.length:y;if(T===g.length?S+=g:S+=g.slice(0,y),y-=T,y===0){T===g.length?(++A,v.next?this.head=v.next:this.head=this.tail=null):(this.head=v,v.data=g.slice(T));break}++A}return this.length-=A,S}},{key:"_getBuffer",value:function(y){var v=m.allocUnsafe(y),A=this.head,S=1;for(A.data.copy(v),y-=A.data.length;A=A.next;){var g=A.data,T=y>g.length?g.length:y;if(g.copy(v,v.length-y,0,T),y-=T,y===0){T===g.length?(++S,A.next?this.head=A.next:this.head=this.tail=null):(this.head=A,A.data=g.slice(T));break}++S}return this.length-=S,v}},{key:C,value:function(y,v){return b(this,r(r({},v),{},{depth:0,customInspect:!1}))}}]),w}(),Se}function vt(e,r){var a=this,l=this._readableState&&this._readableState.destroyed,f=this._writableState&&this._writableState.destroyed;return l||f?(r?r(e):e&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,q.process$1.nextTick(Ne,this,e)):q.process$1.nextTick(Ne,this,e)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(e||null,function(_){!r&&_?a._writableState?a._writableState.errorEmitted?q.process$1.nextTick(se,a):(a._writableState.errorEmitted=!0,q.process$1.nextTick(Ue,a,_)):q.process$1.nextTick(Ue,a,_):r?(q.process$1.nextTick(se,a),r(_)):q.process$1.nextTick(se,a)}),this)}function Ue(e,r){Ne(e,r),se(e)}function se(e){e._writableState&&!e._writableState.emitClose||e._readableState&&!e._readableState.emitClose||e.emit("close")}function gt(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}function Ne(e,r){e.emit("error",r)}function wt(e,r){var a=e._readableState,l=e._writableState;a&&a.autoDestroy||l&&l.autoDestroy?e.destroy(r):e.emit("error",r)}var tt={destroy:vt,undestroy:gt,errorOrDestroy:wt},Y={};function mt(e,r){e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e.__proto__=r}var rt={};function W(e,r,a){a||(a=Error);function l(_,h,c){return typeof r=="string"?r:r(_,h,c)}var f=function(_){mt(h,_);function h(c,d,m){return _.call(this,l(c,d,m))||this}return h}(a);f.prototype.name=a.name,f.prototype.code=e,rt[e]=f}function Be(e,r){if(Array.isArray(e)){var a=e.length;return e=e.map(function(l){return String(l)}),a>2?"one of ".concat(r," ").concat(e.slice(0,a-1).join(", "),", or ")+e[a-1]:a===2?"one of ".concat(r," ").concat(e[0]," or ").concat(e[1]):"of ".concat(r," ").concat(e[0])}else return"of ".concat(r," ").concat(String(e))}function Rt(e,r,a){return e.substr(0,r.length)===r}function Et(e,r,a){return(a===void 0||a>e.length)&&(a=e.length),e.substring(a-r.length,a)===r}function St(e,r,a){return typeof a!="number"&&(a=0),a+r.length>e.length?!1:e.indexOf(r,a)!==-1}W("ERR_INVALID_OPT_VALUE",function(e,r){return'The value "'+r+'" is invalid for option "'+e+'"'},TypeError);W("ERR_INVALID_ARG_TYPE",function(e,r,a){var l;typeof r=="string"&&Rt(r,"not ")?(l="must not be",r=r.replace(/^not /,"")):l="must be";var f;if(Et(e," argument"))f="The ".concat(e," ").concat(l," ").concat(Be(r,"type"));else{var _=St(e,".")?"property":"argument";f='The "'.concat(e,'" ').concat(_," ").concat(l," ").concat(Be(r,"type"))}return f+=". Received type ".concat(typeof a),f},TypeError);W("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF");W("ERR_METHOD_NOT_IMPLEMENTED",function(e){return"The "+e+" method is not implemented"});W("ERR_STREAM_PREMATURE_CLOSE","Premature close");W("ERR_STREAM_DESTROYED",function(e){return"Cannot call "+e+" after a stream was destroyed"});W("ERR_MULTIPLE_CALLBACK","Callback called multiple times");W("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable");W("ERR_STREAM_WRITE_AFTER_END","write after end");W("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError);W("ERR_UNKNOWN_ENCODING",function(e){return"Unknown encoding: "+e},TypeError);W("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event");Y.codes=rt;var Tt=Y.codes.ERR_INVALID_OPT_VALUE;function Mt(e,r,a){return e.highWaterMark!=null?e.highWaterMark:r?e[a]:null}function At(e,r,a,l){var f=Mt(r,l,a);if(f!=null){if(!(isFinite(f)&&Math.floor(f)===f)||f<0){var _=l?a:"highWaterMark";throw new Tt(_,f)}return Math.floor(f)}return e.objectMode?16:16*1024}var nt={getHighWaterMark:At},Te,We;function it(){if(We)return Te;We=1,Te=D;function e(o){var i=this;this.next=null,this.entry=null,this.finish=function(){we(i,o)}}var r;D.WritableState=O;var a={deprecate:U.browser},l=et,f=U.require$$2.Buffer,_=(typeof j.commonjsGlobal<"u"?j.commonjsGlobal:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function h(o){return f.from(o)}function c(o){return f.isBuffer(o)||o instanceof _}var d=tt,m=nt,P=m.getHighWaterMark,b=Y.codes,C=b.ERR_INVALID_ARG_TYPE,H=b.ERR_METHOD_NOT_IMPLEMENTED,w=b.ERR_MULTIPLE_CALLBACK,E=b.ERR_STREAM_CANNOT_PIPE,y=b.ERR_STREAM_DESTROYED,v=b.ERR_STREAM_NULL_VALUES,A=b.ERR_STREAM_WRITE_AFTER_END,S=b.ERR_UNKNOWN_ENCODING,g=d.errorOrDestroy;U.inherits_browserExports(D,l);function T(){}function O(o,i,s){r=r||ee(),o=o||{},typeof s!="boolean"&&(s=i instanceof r),this.objectMode=!!o.objectMode,s&&(this.objectMode=this.objectMode||!!o.writableObjectMode),this.highWaterMark=P(this,o,"writableHighWaterMark",s),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var R=o.decodeStrings===!1;this.decodeStrings=!R,this.defaultEncoding=o.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(N){ye(i,N)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=o.emitClose!==!1,this.autoDestroy=!!o.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new e(this)}O.prototype.getBuffer=function(){for(var i=this.bufferedRequest,s=[];i;)s.push(i),i=i.next;return s},function(){try{Object.defineProperty(O.prototype,"buffer",{get:a.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch{}}();var x;typeof Symbol=="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]=="function"?(x=Function.prototype[Symbol.hasInstance],Object.defineProperty(D,Symbol.hasInstance,{value:function(i){return x.call(this,i)?!0:this!==D?!1:i&&i._writableState instanceof O}})):x=function(i){return i instanceof this};function D(o){r=r||ee();var i=this instanceof r;if(!i&&!x.call(D,this))return new D(o);this._writableState=new O(o,this,i),this.writable=!0,o&&(typeof o.write=="function"&&(this._write=o.write),typeof o.writev=="function"&&(this._writev=o.writev),typeof o.destroy=="function"&&(this._destroy=o.destroy),typeof o.final=="function"&&(this._final=o.final)),l.call(this)}D.prototype.pipe=function(){g(this,new E)};function M(o,i){var s=new A;g(o,s),q.process$1.nextTick(i,s)}function $(o,i,s,R){var N;return s===null?N=new v:typeof s!="string"&&!i.objectMode&&(N=new C("chunk",["string","Buffer"],s)),N?(g(o,N),q.process$1.nextTick(R,N),!1):!0}D.prototype.write=function(o,i,s){var R=this._writableState,N=!1,t=!R.objectMode&&c(o);return t&&!f.isBuffer(o)&&(o=h(o)),typeof i=="function"&&(s=i,i=null),t?i="buffer":i||(i=R.defaultEncoding),typeof s!="function"&&(s=T),R.ending?M(this,s):(t||$(this,R,o,s))&&(R.pendingcb++,N=_e(this,R,t,o,i,s)),N},D.prototype.cork=function(){this._writableState.corked++},D.prototype.uncork=function(){var o=this._writableState;o.corked&&(o.corked--,!o.writing&&!o.corked&&!o.bufferProcessing&&o.bufferedRequest&&z(this,o))},D.prototype.setDefaultEncoding=function(i){if(typeof i=="string"&&(i=i.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((i+"").toLowerCase())>-1))throw new S(i);return this._writableState.defaultEncoding=i,this},Object.defineProperty(D.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}});function te(o,i,s){return!o.objectMode&&o.decodeStrings!==!1&&typeof i=="string"&&(i=f.from(i,s)),i}Object.defineProperty(D.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function _e(o,i,s,R,N,t){if(!s){var n=te(i,R,N);R!==n&&(s=!0,N="buffer",R=n)}var u=i.objectMode?1:R.length;i.length+=u;var p=i.length<i.highWaterMark;if(p||(i.needDrain=!0),i.writing||i.corked){var k=i.lastBufferedRequest;i.lastBufferedRequest={chunk:R,encoding:N,isBuf:s,callback:t,next:null},k?k.next=i.lastBufferedRequest:i.bufferedRequest=i.lastBufferedRequest,i.bufferedRequestCount+=1}else X(o,i,!1,u,R,N,t);return p}function X(o,i,s,R,N,t,n){i.writelen=R,i.writecb=n,i.writing=!0,i.sync=!0,i.destroyed?i.onwrite(new y("write")):s?o._writev(N,i.onwrite):o._write(N,t,i.onwrite),i.sync=!1}function be(o,i,s,R,N){--i.pendingcb,s?(q.process$1.nextTick(N,R),q.process$1.nextTick(V,o,i),o._writableState.errorEmitted=!0,g(o,R)):(N(R),o._writableState.errorEmitted=!0,g(o,R),V(o,i))}function ie(o){o.writing=!1,o.writecb=null,o.length-=o.writelen,o.writelen=0}function ye(o,i){var s=o._writableState,R=s.sync,N=s.writecb;if(typeof N!="function")throw new w;if(ie(s),i)be(o,s,R,i,N);else{var t=oe(s)||o.destroyed;!t&&!s.corked&&!s.bufferProcessing&&s.bufferedRequest&&z(o,s),R?q.process$1.nextTick(G,o,s,t,N):G(o,s,t,N)}}function G(o,i,s,R){s||ae(o,i),i.pendingcb--,R(),V(o,i)}function ae(o,i){i.length===0&&i.needDrain&&(i.needDrain=!1,o.emit("drain"))}function z(o,i){i.bufferProcessing=!0;var s=i.bufferedRequest;if(o._writev&&s&&s.next){var R=i.bufferedRequestCount,N=new Array(R),t=i.corkedRequestsFree;t.entry=s;for(var n=0,u=!0;s;)N[n]=s,s.isBuf||(u=!1),s=s.next,n+=1;N.allBuffers=u,X(o,i,!0,i.length,N,"",t.finish),i.pendingcb++,i.lastBufferedRequest=null,t.next?(i.corkedRequestsFree=t.next,t.next=null):i.corkedRequestsFree=new e(i),i.bufferedRequestCount=0}else{for(;s;){var p=s.chunk,k=s.encoding,L=s.callback,I=i.objectMode?1:p.length;if(X(o,i,!1,I,p,k,L),s=s.next,i.bufferedRequestCount--,i.writing)break}s===null&&(i.lastBufferedRequest=null)}i.bufferedRequest=s,i.bufferProcessing=!1}D.prototype._write=function(o,i,s){s(new H("_write()"))},D.prototype._writev=null,D.prototype.end=function(o,i,s){var R=this._writableState;return typeof o=="function"?(s=o,o=null,i=null):typeof i=="function"&&(s=i,i=null),o!=null&&this.write(o,i),R.corked&&(R.corked=1,this.uncork()),R.ending||ge(this,R,s),this},Object.defineProperty(D.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}});function oe(o){return o.ending&&o.length===0&&o.bufferedRequest===null&&!o.finished&&!o.writing}function ve(o,i){o._final(function(s){i.pendingcb--,s&&g(o,s),i.prefinished=!0,o.emit("prefinish"),V(o,i)})}function fe(o,i){!i.prefinished&&!i.finalCalled&&(typeof o._final=="function"&&!i.destroyed?(i.pendingcb++,i.finalCalled=!0,q.process$1.nextTick(ve,o,i)):(i.prefinished=!0,o.emit("prefinish")))}function V(o,i){var s=oe(i);if(s&&(fe(o,i),i.pendingcb===0&&(i.finished=!0,o.emit("finish"),i.autoDestroy))){var R=o._readableState;(!R||R.autoDestroy&&R.endEmitted)&&o.destroy()}return s}function ge(o,i,s){i.ending=!0,V(o,i),s&&(i.finished?q.process$1.nextTick(s):o.once("finish",s)),i.ended=!0,o.writable=!1}function we(o,i,s){var R=o.entry;for(o.entry=null;R;){var N=R.callback;i.pendingcb--,N(s),R=R.next}i.corkedRequestsFree.next=o}return Object.defineProperty(D.prototype,"destroyed",{enumerable:!1,get:function(){return this._writableState===void 0?!1:this._writableState.destroyed},set:function(i){this._writableState&&(this._writableState.destroyed=i)}}),D.prototype.destroy=d.destroy,D.prototype._undestroy=d.undestroy,D.prototype._destroy=function(o,i){i(o)},Te}var Me,$e;function ee(){if($e)return Me;$e=1;var e=Object.keys||function(m){var P=[];for(var b in m)P.push(b);return P};Me=h;var r=ot(),a=it();U.inherits_browserExports(h,r);for(var l=e(a.prototype),f=0;f<l.length;f++){var _=l[f];h.prototype[_]||(h.prototype[_]=a.prototype[_])}function h(m){if(!(this instanceof h))return new h(m);r.call(this,m),a.call(this,m),this.allowHalfOpen=!0,m&&(m.readable===!1&&(this.readable=!1),m.writable===!1&&(this.writable=!1),m.allowHalfOpen===!1&&(this.allowHalfOpen=!1,this.once("end",c)))}Object.defineProperty(h.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(h.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(h.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}});function c(){this._writableState.ended||q.process$1.nextTick(d,this)}function d(m){m.end()}return Object.defineProperty(h.prototype,"destroyed",{enumerable:!1,get:function(){return this._readableState===void 0||this._writableState===void 0?!1:this._readableState.destroyed&&this._writableState.destroyed},set:function(P){this._readableState===void 0||this._writableState===void 0||(this._readableState.destroyed=P,this._writableState.destroyed=P)}}),Me}var Fe=Y.codes.ERR_STREAM_PREMATURE_CLOSE;function Ot(e){var r=!1;return function(){if(!r){r=!0;for(var a=arguments.length,l=new Array(a),f=0;f<a;f++)l[f]=arguments[f];e.apply(this,l)}}}function Pt(){}function Lt(e){return e.setHeader&&typeof e.abort=="function"}function at(e,r,a){if(typeof r=="function")return at(e,null,r);r||(r={}),a=Ot(a||Pt);var l=r.readable||r.readable!==!1&&e.readable,f=r.writable||r.writable!==!1&&e.writable,_=function(){e.writable||c()},h=e._writableState&&e._writableState.finished,c=function(){f=!1,h=!0,l||a.call(e)},d=e._readableState&&e._readableState.endEmitted,m=function(){l=!1,d=!0,f||a.call(e)},P=function(w){a.call(e,w)},b=function(){var w;if(l&&!d)return(!e._readableState||!e._readableState.ended)&&(w=new Fe),a.call(e,w);if(f&&!h)return(!e._writableState||!e._writableState.ended)&&(w=new Fe),a.call(e,w)},C=function(){e.req.on("finish",c)};return Lt(e)?(e.on("complete",c),e.on("abort",b),e.req?C():e.on("request",C)):f&&!e._writableState&&(e.on("end",_),e.on("close",_)),e.on("end",m),e.on("finish",c),r.error!==!1&&e.on("error",P),e.on("close",b),function(){e.removeListener("complete",c),e.removeListener("abort",b),e.removeListener("request",C),e.req&&e.req.removeListener("finish",c),e.removeListener("end",_),e.removeListener("close",_),e.removeListener("finish",c),e.removeListener("end",m),e.removeListener("error",P),e.removeListener("close",b)}}var qe=at,Ae,Ge;function Ct(){if(Ge)return Ae;Ge=1;var e;function r(S,g,T){return g=a(g),g in S?Object.defineProperty(S,g,{value:T,enumerable:!0,configurable:!0,writable:!0}):S[g]=T,S}function a(S){var g=l(S,"string");return typeof g=="symbol"?g:String(g)}function l(S,g){if(typeof S!="object"||S===null)return S;var T=S[Symbol.toPrimitive];if(T!==void 0){var O=T.call(S,g);if(typeof O!="object")return O;throw new TypeError("@@toPrimitive must return a primitive value.")}return(g==="string"?String:Number)(S)}var f=qe,_=Symbol("lastResolve"),h=Symbol("lastReject"),c=Symbol("error"),d=Symbol("ended"),m=Symbol("lastPromise"),P=Symbol("handlePromise"),b=Symbol("stream");function C(S,g){return{value:S,done:g}}function H(S){var g=S[_];if(g!==null){var T=S[b].read();T!==null&&(S[m]=null,S[_]=null,S[h]=null,g(C(T,!1)))}}function w(S){q.process$1.nextTick(H,S)}function E(S,g){return function(T,O){S.then(function(){if(g[d]){T(C(void 0,!0));return}g[P](T,O)},O)}}var y=Object.getPrototypeOf(function(){}),v=Object.setPrototypeOf((e={get stream(){return this[b]},next:function(){var g=this,T=this[c];if(T!==null)return Promise.reject(T);if(this[d])return Promise.resolve(C(void 0,!0));if(this[b].destroyed)return new Promise(function(M,$){q.process$1.nextTick(function(){g[c]?$(g[c]):M(C(void 0,!0))})});var O=this[m],x;if(O)x=new Promise(E(O,this));else{var D=this[b].read();if(D!==null)return Promise.resolve(C(D,!1));x=new Promise(this[P])}return this[m]=x,x}},r(e,Symbol.asyncIterator,function(){return this}),r(e,"return",function(){var g=this;return new Promise(function(T,O){g[b].destroy(null,function(x){if(x){O(x);return}T(C(void 0,!0))})})}),e),y),A=function(g){var T,O=Object.create(v,(T={},r(T,b,{value:g,writable:!0}),r(T,_,{value:null,writable:!0}),r(T,h,{value:null,writable:!0}),r(T,c,{value:null,writable:!0}),r(T,d,{value:g._readableState.endEmitted,writable:!0}),r(T,P,{value:function(D,M){var $=O[b].read();$?(O[m]=null,O[_]=null,O[h]=null,D(C($,!1))):(O[_]=D,O[h]=M)},writable:!0}),T));return O[m]=null,f(g,function(x){if(x&&x.code!=="ERR_STREAM_PREMATURE_CLOSE"){var D=O[h];D!==null&&(O[m]=null,O[_]=null,O[h]=null,D(x)),O[c]=x;return}var M=O[_];M!==null&&(O[m]=null,O[_]=null,O[h]=null,M(C(void 0,!0))),O[d]=!0}),g.on("readable",w.bind(null,O)),O};return Ae=A,Ae}var Oe,Ve;function Nt(){return Ve||(Ve=1,Oe=function(){throw new Error("Readable.from is not available in the browser")}),Oe}var Pe,Ke;function ot(){if(Ke)return Pe;Ke=1,Pe=M;var e;M.ReadableState=D,U.eventsExports.EventEmitter;var r=function(n,u){return n.listeners(u).length},a=et,l=U.require$$2.Buffer,f=(typeof j.commonjsGlobal<"u"?j.commonjsGlobal:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function _(t){return l.from(t)}function h(t){return l.isBuffer(t)||t instanceof f}var c=U.util,d;c&&c.debuglog?d=c.debuglog("stream"):d=function(){};var m=yt(),P=tt,b=nt,C=b.getHighWaterMark,H=Y.codes,w=H.ERR_INVALID_ARG_TYPE,E=H.ERR_STREAM_PUSH_AFTER_EOF,y=H.ERR_METHOD_NOT_IMPLEMENTED,v=H.ERR_STREAM_UNSHIFT_AFTER_END_EVENT,A,S,g;U.inherits_browserExports(M,a);var T=P.errorOrDestroy,O=["error","close","destroy","pause","resume"];function x(t,n,u){if(typeof t.prependListener=="function")return t.prependListener(n,u);!t._events||!t._events[n]?t.on(n,u):Array.isArray(t._events[n])?t._events[n].unshift(u):t._events[n]=[u,t._events[n]]}function D(t,n,u){e=e||ee(),t=t||{},typeof u!="boolean"&&(u=n instanceof e),this.objectMode=!!t.objectMode,u&&(this.objectMode=this.objectMode||!!t.readableObjectMode),this.highWaterMark=C(this,t,"readableHighWaterMark",u),this.buffer=new m,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=t.emitClose!==!1,this.autoDestroy=!!t.autoDestroy,this.destroyed=!1,this.defaultEncoding=t.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,t.encoding&&(A||(A=U.requireString_decoder().StringDecoder),this.decoder=new A(t.encoding),this.encoding=t.encoding)}function M(t){if(e=e||ee(),!(this instanceof M))return new M(t);var n=this instanceof e;this._readableState=new D(t,this,n),this.readable=!0,t&&(typeof t.read=="function"&&(this._read=t.read),typeof t.destroy=="function"&&(this._destroy=t.destroy)),a.call(this)}Object.defineProperty(M.prototype,"destroyed",{enumerable:!1,get:function(){return this._readableState===void 0?!1:this._readableState.destroyed},set:function(n){this._readableState&&(this._readableState.destroyed=n)}}),M.prototype.destroy=P.destroy,M.prototype._undestroy=P.undestroy,M.prototype._destroy=function(t,n){n(t)},M.prototype.push=function(t,n){var u=this._readableState,p;return u.objectMode?p=!0:typeof t=="string"&&(n=n||u.defaultEncoding,n!==u.encoding&&(t=l.from(t,n),n=""),p=!0),$(this,t,n,!1,p)},M.prototype.unshift=function(t){return $(this,t,null,!0,!1)};function $(t,n,u,p,k){d("readableAddChunk",n);var L=t._readableState;if(n===null)L.reading=!1,ye(t,L);else{var I;if(k||(I=_e(L,n)),I)T(t,I);else if(L.objectMode||n&&n.length>0)if(typeof n!="string"&&!L.objectMode&&Object.getPrototypeOf(n)!==l.prototype&&(n=_(n)),p)L.endEmitted?T(t,new v):te(t,L,n,!0);else if(L.ended)T(t,new E);else{if(L.destroyed)return!1;L.reading=!1,L.decoder&&!u?(n=L.decoder.write(n),L.objectMode||n.length!==0?te(t,L,n,!1):z(t,L)):te(t,L,n,!1)}else p||(L.reading=!1,z(t,L))}return!L.ended&&(L.length<L.highWaterMark||L.length===0)}function te(t,n,u,p){n.flowing&&n.length===0&&!n.sync?(n.awaitDrain=0,t.emit("data",u)):(n.length+=n.objectMode?1:u.length,p?n.buffer.unshift(u):n.buffer.push(u),n.needReadable&&G(t)),z(t,n)}function _e(t,n){var u;return!h(n)&&typeof n!="string"&&n!==void 0&&!t.objectMode&&(u=new w("chunk",["string","Buffer","Uint8Array"],n)),u}M.prototype.isPaused=function(){return this._readableState.flowing===!1},M.prototype.setEncoding=function(t){A||(A=U.requireString_decoder().StringDecoder);var n=new A(t);this._readableState.decoder=n,this._readableState.encoding=this._readableState.decoder.encoding;for(var u=this._readableState.buffer.head,p="";u!==null;)p+=n.write(u.data),u=u.next;return this._readableState.buffer.clear(),p!==""&&this._readableState.buffer.push(p),this._readableState.length=p.length,this};var X=1073741824;function be(t){return t>=X?t=X:(t--,t|=t>>>1,t|=t>>>2,t|=t>>>4,t|=t>>>8,t|=t>>>16,t++),t}function ie(t,n){return t<=0||n.length===0&&n.ended?0:n.objectMode?1:t!==t?n.flowing&&n.length?n.buffer.head.data.length:n.length:(t>n.highWaterMark&&(n.highWaterMark=be(t)),t<=n.length?t:n.ended?n.length:(n.needReadable=!0,0))}M.prototype.read=function(t){d("read",t),t=parseInt(t,10);var n=this._readableState,u=t;if(t!==0&&(n.emittedReadable=!1),t===0&&n.needReadable&&((n.highWaterMark!==0?n.length>=n.highWaterMark:n.length>0)||n.ended))return d("read: emitReadable",n.length,n.ended),n.length===0&&n.ended?s(this):G(this),null;if(t=ie(t,n),t===0&&n.ended)return n.length===0&&s(this),null;var p=n.needReadable;d("need readable",p),(n.length===0||n.length-t<n.highWaterMark)&&(p=!0,d("length less than watermark",p)),n.ended||n.reading?(p=!1,d("reading or ended",p)):p&&(d("do read"),n.reading=!0,n.sync=!0,n.length===0&&(n.needReadable=!0),this._read(n.highWaterMark),n.sync=!1,n.reading||(t=ie(u,n)));var k;return t>0?k=i(t,n):k=null,k===null?(n.needReadable=n.length<=n.highWaterMark,t=0):(n.length-=t,n.awaitDrain=0),n.length===0&&(n.ended||(n.needReadable=!0),u!==t&&n.ended&&s(this)),k!==null&&this.emit("data",k),k};function ye(t,n){if(d("onEofChunk"),!n.ended){if(n.decoder){var u=n.decoder.end();u&&u.length&&(n.buffer.push(u),n.length+=n.objectMode?1:u.length)}n.ended=!0,n.sync?G(t):(n.needReadable=!1,n.emittedReadable||(n.emittedReadable=!0,ae(t)))}}function G(t){var n=t._readableState;d("emitReadable",n.needReadable,n.emittedReadable),n.needReadable=!1,n.emittedReadable||(d("emitReadable",n.flowing),n.emittedReadable=!0,q.process$1.nextTick(ae,t))}function ae(t){var n=t._readableState;d("emitReadable_",n.destroyed,n.length,n.ended),!n.destroyed&&(n.length||n.ended)&&(t.emit("readable"),n.emittedReadable=!1),n.needReadable=!n.flowing&&!n.ended&&n.length<=n.highWaterMark,o(t)}function z(t,n){n.readingMore||(n.readingMore=!0,q.process$1.nextTick(oe,t,n))}function oe(t,n){for(;!n.reading&&!n.ended&&(n.length<n.highWaterMark||n.flowing&&n.length===0);){var u=n.length;if(d("maybeReadMore read 0"),t.read(0),u===n.length)break}n.readingMore=!1}M.prototype._read=function(t){T(this,new y("_read()"))},M.prototype.pipe=function(t,n){var u=this,p=this._readableState;switch(p.pipesCount){case 0:p.pipes=t;break;case 1:p.pipes=[p.pipes,t];break;default:p.pipes.push(t);break}p.pipesCount+=1,d("pipe count=%d opts=%j",p.pipesCount,n);var k=(!n||n.end!==!1)&&t!==q.process$1.stdout&&t!==q.process$1.stderr,L=k?J:re;p.endEmitted?q.process$1.nextTick(L):u.once("end",L),t.on("unpipe",I);function I(Q,Z){d("onunpipe"),Q===u&&Z&&Z.hasUnpiped===!1&&(Z.hasUnpiped=!0,pt())}function J(){d("onend"),t.end()}var le=ve(u);t.on("drain",le);var ke=!1;function pt(){d("cleanup"),t.removeListener("close",Re),t.removeListener("finish",Ee),t.removeListener("drain",le),t.removeListener("error",me),t.removeListener("unpipe",I),u.removeListener("end",J),u.removeListener("end",re),u.removeListener("data",He),ke=!0,p.awaitDrain&&(!t._writableState||t._writableState.needDrain)&&le()}u.on("data",He);function He(Q){d("ondata");var Z=t.write(Q);d("dest.write",Z),Z===!1&&((p.pipesCount===1&&p.pipes===t||p.pipesCount>1&&N(p.pipes,t)!==-1)&&!ke&&(d("false write response, pause",p.awaitDrain),p.awaitDrain++),u.pause())}function me(Q){d("onerror",Q),re(),t.removeListener("error",me),r(t,"error")===0&&T(t,Q)}x(t,"error",me);function Re(){t.removeListener("finish",Ee),re()}t.once("close",Re);function Ee(){d("onfinish"),t.removeListener("close",Re),re()}t.once("finish",Ee);function re(){d("unpipe"),u.unpipe(t)}return t.emit("pipe",u),p.flowing||(d("pipe resume"),u.resume()),t};function ve(t){return function(){var u=t._readableState;d("pipeOnDrain",u.awaitDrain),u.awaitDrain&&u.awaitDrain--,u.awaitDrain===0&&r(t,"data")&&(u.flowing=!0,o(t))}}M.prototype.unpipe=function(t){var n=this._readableState,u={hasUnpiped:!1};if(n.pipesCount===0)return this;if(n.pipesCount===1)return t&&t!==n.pipes?this:(t||(t=n.pipes),n.pipes=null,n.pipesCount=0,n.flowing=!1,t&&t.emit("unpipe",this,u),this);if(!t){var p=n.pipes,k=n.pipesCount;n.pipes=null,n.pipesCount=0,n.flowing=!1;for(var L=0;L<k;L++)p[L].emit("unpipe",this,{hasUnpiped:!1});return this}var I=N(n.pipes,t);return I===-1?this:(n.pipes.splice(I,1),n.pipesCount-=1,n.pipesCount===1&&(n.pipes=n.pipes[0]),t.emit("unpipe",this,u),this)},M.prototype.on=function(t,n){var u=a.prototype.on.call(this,t,n),p=this._readableState;return t==="data"?(p.readableListening=this.listenerCount("readable")>0,p.flowing!==!1&&this.resume()):t==="readable"&&!p.endEmitted&&!p.readableListening&&(p.readableListening=p.needReadable=!0,p.flowing=!1,p.emittedReadable=!1,d("on readable",p.length,p.reading),p.length?G(this):p.reading||q.process$1.nextTick(V,this)),u},M.prototype.addListener=M.prototype.on,M.prototype.removeListener=function(t,n){var u=a.prototype.removeListener.call(this,t,n);return t==="readable"&&q.process$1.nextTick(fe,this),u},M.prototype.removeAllListeners=function(t){var n=a.prototype.removeAllListeners.apply(this,arguments);return(t==="readable"||t===void 0)&&q.process$1.nextTick(fe,this),n};function fe(t){var n=t._readableState;n.readableListening=t.listenerCount("readable")>0,n.resumeScheduled&&!n.paused?n.flowing=!0:t.listenerCount("data")>0&&t.resume()}function V(t){d("readable nexttick read 0"),t.read(0)}M.prototype.resume=function(){var t=this._readableState;return t.flowing||(d("resume"),t.flowing=!t.readableListening,ge(this,t)),t.paused=!1,this};function ge(t,n){n.resumeScheduled||(n.resumeScheduled=!0,q.process$1.nextTick(we,t,n))}function we(t,n){d("resume",n.reading),n.reading||t.read(0),n.resumeScheduled=!1,t.emit("resume"),o(t),n.flowing&&!n.reading&&t.read(0)}M.prototype.pause=function(){return d("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(d("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this};function o(t){var n=t._readableState;for(d("flow",n.flowing);n.flowing&&t.read()!==null;);}M.prototype.wrap=function(t){var n=this,u=this._readableState,p=!1;t.on("end",function(){if(d("wrapped end"),u.decoder&&!u.ended){var I=u.decoder.end();I&&I.length&&n.push(I)}n.push(null)}),t.on("data",function(I){if(d("wrapped data"),u.decoder&&(I=u.decoder.write(I)),!(u.objectMode&&I==null)&&!(!u.objectMode&&(!I||!I.length))){var J=n.push(I);J||(p=!0,t.pause())}});for(var k in t)this[k]===void 0&&typeof t[k]=="function"&&(this[k]=function(J){return function(){return t[J].apply(t,arguments)}}(k));for(var L=0;L<O.length;L++)t.on(O[L],this.emit.bind(this,O[L]));return this._read=function(I){d("wrapped _read",I),p&&(p=!1,t.resume())},this},typeof Symbol=="function"&&(M.prototype[Symbol.asyncIterator]=function(){return S===void 0&&(S=Ct()),S(this)}),Object.defineProperty(M.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),Object.defineProperty(M.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}}),Object.defineProperty(M.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(n){this._readableState&&(this._readableState.flowing=n)}}),M._fromList=i,Object.defineProperty(M.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}});function i(t,n){if(n.length===0)return null;var u;return n.objectMode?u=n.buffer.shift():!t||t>=n.length?(n.decoder?u=n.buffer.join(""):n.buffer.length===1?u=n.buffer.first():u=n.buffer.concat(n.length),n.buffer.clear()):u=n.buffer.consume(t,n.decoder),u}function s(t){var n=t._readableState;d("endReadable",n.endEmitted),n.endEmitted||(n.ended=!0,q.process$1.nextTick(R,n,t))}function R(t,n){if(d("endReadableNT",t.endEmitted,t.length),!t.endEmitted&&t.length===0&&(t.endEmitted=!0,n.readable=!1,n.emit("end"),t.autoDestroy)){var u=n._writableState;(!u||u.autoDestroy&&u.finished)&&n.destroy()}}typeof Symbol=="function"&&(M.from=function(t,n){return g===void 0&&(g=Nt()),g(M,t,n)});function N(t,n){for(var u=0,p=t.length;u<p;u++)if(t[u]===n)return u;return-1}return Pe}var ft=F,he=Y.codes,Dt=he.ERR_METHOD_NOT_IMPLEMENTED,qt=he.ERR_MULTIPLE_CALLBACK,jt=he.ERR_TRANSFORM_ALREADY_TRANSFORMING,It=he.ERR_TRANSFORM_WITH_LENGTH_0,pe=ee();U.inherits_browserExports(F,pe);function kt(e,r){var a=this._transformState;a.transforming=!1;var l=a.writecb;if(l===null)return this.emit("error",new qt);a.writechunk=null,a.writecb=null,r!=null&&this.push(r),l(e);var f=this._readableState;f.reading=!1,(f.needReadable||f.length<f.highWaterMark)&&this._read(f.highWaterMark)}function F(e){if(!(this instanceof F))return new F(e);pe.call(this,e),this._transformState={afterTransform:kt.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,e&&(typeof e.transform=="function"&&(this._transform=e.transform),typeof e.flush=="function"&&(this._flush=e.flush)),this.on("prefinish",Ht)}function Ht(){var e=this;typeof this._flush=="function"&&!this._readableState.destroyed?this._flush(function(r,a){Ye(e,r,a)}):Ye(this,null,null)}F.prototype.push=function(e,r){return this._transformState.needTransform=!1,pe.prototype.push.call(this,e,r)};F.prototype._transform=function(e,r,a){a(new Dt("_transform()"))};F.prototype._write=function(e,r,a){var l=this._transformState;if(l.writecb=a,l.writechunk=e,l.writeencoding=r,!l.transforming){var f=this._readableState;(l.needTransform||f.needReadable||f.length<f.highWaterMark)&&this._read(f.highWaterMark)}};F.prototype._read=function(e){var r=this._transformState;r.writechunk!==null&&!r.transforming?(r.transforming=!0,this._transform(r.writechunk,r.writeencoding,r.afterTransform)):r.needTransform=!0};F.prototype._destroy=function(e,r){pe.prototype._destroy.call(this,e,function(a){r(a)})};function Ye(e,r,a){if(r)return e.emit("error",r);if(a!=null&&e.push(a),e._writableState.length)throw new It;if(e._transformState.transforming)throw new jt;return e.push(null)}var xt=ne,lt=ft;U.inherits_browserExports(ne,lt);function ne(e){if(!(this instanceof ne))return new ne(e);lt.call(this,e)}ne.prototype._transform=function(e,r,a){a(null,e)};var Le;function Ut(e){var r=!1;return function(){r||(r=!0,e.apply(void 0,arguments))}}var ut=Y.codes,Bt=ut.ERR_MISSING_ARGS,Wt=ut.ERR_STREAM_DESTROYED;function Xe(e){if(e)throw e}function $t(e){return e.setHeader&&typeof e.abort=="function"}function Ft(e,r,a,l){l=Ut(l);var f=!1;e.on("close",function(){f=!0}),Le===void 0&&(Le=qe),Le(e,{readable:r,writable:a},function(h){if(h)return l(h);f=!0,l()});var _=!1;return function(h){if(!f&&!_){if(_=!0,$t(e))return e.abort();if(typeof e.destroy=="function")return e.destroy();l(h||new Wt("pipe"))}}}function ze(e){e()}function Gt(e,r){return e.pipe(r)}function Vt(e){return!e.length||typeof e[e.length-1]!="function"?Xe:e.pop()}function Kt(){for(var e=arguments.length,r=new Array(e),a=0;a<e;a++)r[a]=arguments[a];var l=Vt(r);if(Array.isArray(r[0])&&(r=r[0]),r.length<2)throw new Bt("streams");var f,_=r.map(function(h,c){var d=c<r.length-1,m=c>0;return Ft(h,d,m,function(P){f||(f=P),P&&_.forEach(ze),!d&&(_.forEach(ze),l(f))})});return r.reduce(Gt)}var Yt=Kt;(function(e,r){r=e.exports=ot(),r.Stream=r,r.Readable=r,r.Writable=it(),r.Duplex=ee(),r.Transform=ft,r.PassThrough=xt,r.finished=qe,r.pipeline=Yt})(Ce,Ce.exports);var st=Ce.exports,Je=De,Xt=U.inherits_browserExports,dt=st,ue=ce.readyStates={UNSENT:0,OPENED:1,HEADERS_RECEIVED:2,LOADING:3,DONE:4},je=ce.IncomingMessage=function(e,r,a,l){var f=this;if(dt.Readable.call(f),f._mode=a,f.headers={},f.rawHeaders=[],f.trailers={},f.rawTrailers=[],f.on("end",function(){q.process$1.nextTick(function(){f.emit("close")})}),a==="fetch"){let P=function(){h.read().then(function(b){if(!f._destroyed){if(l(b.done),b.done){f.push(null);return}f.push(j.Buffer.from(b.value)),P()}}).catch(function(b){l(!0),f._destroyed||f.emit("error",b)})};if(f._fetchResponse=r,f.url=r.url,f.statusCode=r.status,f.statusMessage=r.statusText,r.headers.forEach(function(b,C){f.headers[C.toLowerCase()]=b,f.rawHeaders.push(C,b)}),Je.writableStream){var _=new WritableStream({write:function(b){return l(!1),new Promise(function(C,H){f._destroyed?H():f.push(j.Buffer.from(b))?C():f._resumeFetch=C})},close:function(){l(!0),f._destroyed||f.push(null)},abort:function(b){l(!0),f._destroyed||f.emit("error",b)}});try{r.body.pipeTo(_).catch(function(b){l(!0),f._destroyed||f.emit("error",b)});return}catch{}}var h=r.body.getReader();P()}else{f._xhr=e,f._pos=0,f.url=e.responseURL,f.statusCode=e.status,f.statusMessage=e.statusText;var c=e.getAllResponseHeaders().split(/\r?\n/);if(c.forEach(function(P){var b=P.match(/^([^:]+):\s*(.*)/);if(b){var C=b[1].toLowerCase();C==="set-cookie"?(f.headers[C]===void 0&&(f.headers[C]=[]),f.headers[C].push(b[2])):f.headers[C]!==void 0?f.headers[C]+=", "+b[2]:f.headers[C]=b[2],f.rawHeaders.push(b[1],b[2])}}),f._charset="x-user-defined",!Je.overrideMimeType){var d=f.rawHeaders["mime-type"];if(d){var m=d.match(/;\s*charset=([^;])(;|$)/);m&&(f._charset=m[1].toLowerCase())}f._charset||(f._charset="utf-8")}}};Xt(je,dt.Readable);je.prototype._read=function(){var e=this,r=e._resumeFetch;r&&(e._resumeFetch=null,r())};je.prototype._onXHRProgress=function(e){var r=this,a=r._xhr,l=null;switch(r._mode){case"text":if(l=a.responseText,l.length>r._pos){var f=l.substr(r._pos);if(r._charset==="x-user-defined"){for(var _=j.Buffer.alloc(f.length),h=0;h<f.length;h++)_[h]=f.charCodeAt(h)&255;r.push(_)}else r.push(f,r._charset);r._pos=l.length}break;case"arraybuffer":if(a.readyState!==ue.DONE||!a.response)break;l=a.response,r.push(j.Buffer.from(new Uint8Array(l)));break;case"moz-chunked-arraybuffer":if(l=a.response,a.readyState!==ue.LOADING||!l)break;r.push(j.Buffer.from(new Uint8Array(l)));break;case"ms-stream":if(l=a.response,a.readyState!==ue.LOADING)break;var c=new j.commonjsGlobal.MSStreamReader;c.onprogress=function(){c.result.byteLength>r._pos&&(r.push(j.Buffer.from(new Uint8Array(c.result.slice(r._pos)))),r._pos=c.result.byteLength)},c.onload=function(){e(!0),r.push(null)},c.readAsArrayBuffer(l);break}r._xhr.readyState===ue.DONE&&r._mode!=="ms-stream"&&(e(!0),r.push(null))};var K=De,zt=U.inherits_browserExports,ct=ce,Ie=st,Jt=ct.IncomingMessage,Qe=ct.readyStates;function Qt(e,r){return K.fetch&&r?"fetch":K.mozchunkedarraybuffer?"moz-chunked-arraybuffer":K.msstream?"ms-stream":K.arraybuffer&&e?"arraybuffer":"text"}var B=Ze.exports=function(e){var r=this;Ie.Writable.call(r),r._opts=e,r._body=[],r._headers={},e.auth&&r.setHeader("Authorization","Basic "+j.Buffer.from(e.auth).toString("base64")),Object.keys(e.headers).forEach(function(f){r.setHeader(f,e.headers[f])});var a,l=!0;if(e.mode==="disable-fetch"||"requestTimeout"in e&&!K.abortController)l=!1,a=!0;else if(e.mode==="prefer-streaming")a=!1;else if(e.mode==="allow-wrong-content-type")a=!K.overrideMimeType;else if(!e.mode||e.mode==="default"||e.mode==="prefer-fast")a=!0;else throw new Error("Invalid value for opts.mode");r._mode=Qt(a,l),r._fetchTimer=null,r._socketTimeout=null,r._socketTimer=null,r.on("finish",function(){r._onFinish()})};zt(B,Ie.Writable);B.prototype.setHeader=function(e,r){var a=this,l=e.toLowerCase();er.indexOf(l)===-1&&(a._headers[l]={name:e,value:r})};B.prototype.getHeader=function(e){var r=this._headers[e.toLowerCase()];return r?r.value:null};B.prototype.removeHeader=function(e){var r=this;delete r._headers[e.toLowerCase()]};B.prototype._onFinish=function(){var e=this;if(!e._destroyed){var r=e._opts;"timeout"in r&&r.timeout!==0&&e.setTimeout(r.timeout);var a=e._headers,l=null;r.method!=="GET"&&r.method!=="HEAD"&&(l=new Blob(e._body,{type:(a["content-type"]||{}).value||""}));var f=[];if(Object.keys(a).forEach(function(d){var m=a[d].name,P=a[d].value;Array.isArray(P)?P.forEach(function(b){f.push([m,b])}):f.push([m,P])}),e._mode==="fetch"){var _=null;if(K.abortController){var h=new AbortController;_=h.signal,e._fetchAbortController=h,"requestTimeout"in r&&r.requestTimeout!==0&&(e._fetchTimer=j.commonjsGlobal.setTimeout(function(){e.emit("requestTimeout"),e._fetchAbortController&&e._fetchAbortController.abort()},r.requestTimeout))}j.commonjsGlobal.fetch(e._opts.url,{method:e._opts.method,headers:f,body:l||void 0,mode:"cors",credentials:r.withCredentials?"include":"same-origin",signal:_}).then(function(d){e._fetchResponse=d,e._resetTimers(!1),e._connect()},function(d){e._resetTimers(!0),e._destroyed||e.emit("error",d)})}else{var c=e._xhr=new j.commonjsGlobal.XMLHttpRequest;try{c.open(e._opts.method,e._opts.url,!0)}catch(d){q.process$1.nextTick(function(){e.emit("error",d)});return}"responseType"in c&&(c.responseType=e._mode),"withCredentials"in c&&(c.withCredentials=!!r.withCredentials),e._mode==="text"&&"overrideMimeType"in c&&c.overrideMimeType("text/plain; charset=x-user-defined"),"requestTimeout"in r&&(c.timeout=r.requestTimeout,c.ontimeout=function(){e.emit("requestTimeout")}),f.forEach(function(d){c.setRequestHeader(d[0],d[1])}),e._response=null,c.onreadystatechange=function(){switch(c.readyState){case Qe.LOADING:case Qe.DONE:e._onXHRProgress();break}},e._mode==="moz-chunked-arraybuffer"&&(c.onprogress=function(){e._onXHRProgress()}),c.onerror=function(){e._destroyed||(e._resetTimers(!0),e.emit("error",new Error("XHR error")))};try{c.send(l)}catch(d){q.process$1.nextTick(function(){e.emit("error",d)});return}}}};function Zt(e){try{var r=e.status;return r!==null&&r!==0}catch{return!1}}B.prototype._onXHRProgress=function(){var e=this;e._resetTimers(!1),!(!Zt(e._xhr)||e._destroyed)&&(e._response||e._connect(),e._response._onXHRProgress(e._resetTimers.bind(e)))};B.prototype._connect=function(){var e=this;e._destroyed||(e._response=new Jt(e._xhr,e._fetchResponse,e._mode,e._resetTimers.bind(e)),e._response.on("error",function(r){e.emit("error",r)}),e.emit("response",e._response))};B.prototype._write=function(e,r,a){var l=this;l._body.push(e),a()};B.prototype._resetTimers=function(e){var r=this;j.commonjsGlobal.clearTimeout(r._socketTimer),r._socketTimer=null,e?(j.commonjsGlobal.clearTimeout(r._fetchTimer),r._fetchTimer=null):r._socketTimeout&&(r._socketTimer=j.commonjsGlobal.setTimeout(function(){r.emit("timeout")},r._socketTimeout))};B.prototype.abort=B.prototype.destroy=function(e){var r=this;r._destroyed=!0,r._resetTimers(!0),r._response&&(r._response._destroyed=!0),r._xhr?r._xhr.abort():r._fetchAbortController&&r._fetchAbortController.abort(),e&&r.emit("error",e)};B.prototype.end=function(e,r,a){var l=this;typeof e=="function"&&(a=e,e=void 0),Ie.Writable.prototype.end.call(l,e,r,a)};B.prototype.setTimeout=function(e,r){var a=this;r&&a.once("timeout",r),a._socketTimeout=e,a._resetTimers(!1)};B.prototype.flushHeaders=function(){};B.prototype.setNoDelay=function(){};B.prototype.setSocketKeepAlive=function(){};var er=["accept-charset","accept-encoding","access-control-request-headers","access-control-request-method","connection","content-length","cookie","cookie2","date","dnt","expect","host","keep-alive","origin","referer","te","trailer","transfer-encoding","upgrade","via"],tr=Ze.exports,rr=ir,nr=Object.prototype.hasOwnProperty;function ir(){for(var e={},r=0;r<arguments.length;r++){var a=arguments[r];for(var l in a)nr.call(a,l)&&(e[l]=a[l])}return e}var ar={100:"Continue",101:"Switching Protocols",102:"Processing",200:"OK",201:"Created",202:"Accepted",203:"Non-Authoritative Information",204:"No Content",205:"Reset Content",206:"Partial Content",207:"Multi-Status",208:"Already Reported",226:"IM Used",300:"Multiple Choices",301:"Moved Permanently",302:"Found",303:"See Other",304:"Not Modified",305:"Use Proxy",307:"Temporary Redirect",308:"Permanent Redirect",400:"Bad Request",401:"Unauthorized",402:"Payment Required",403:"Forbidden",404:"Not Found",405:"Method Not Allowed",406:"Not Acceptable",407:"Proxy Authentication Required",408:"Request Timeout",409:"Conflict",410:"Gone",411:"Length Required",412:"Precondition Failed",413:"Payload Too Large",414:"URI Too Long",415:"Unsupported Media Type",416:"Range Not Satisfiable",417:"Expectation Failed",418:"I'm a teapot",421:"Misdirected Request",422:"Unprocessable Entity",423:"Locked",424:"Failed Dependency",425:"Unordered Collection",426:"Upgrade Required",428:"Precondition Required",429:"Too Many Requests",431:"Request Header Fields Too Large",451:"Unavailable For Legal Reasons",500:"Internal Server Error",501:"Not Implemented",502:"Bad Gateway",503:"Service Unavailable",504:"Gateway Timeout",505:"HTTP Version Not Supported",506:"Variant Also Negotiates",507:"Insufficient Storage",508:"Loop Detected",509:"Bandwidth Limit Exceeded",510:"Not Extended",511:"Network Authentication Required"};const ht=j.getAugmentedNamespace(_t.url);(function(e){var r=tr,a=ce,l=rr,f=ar,_=ht,h=e;h.request=function(c,d){typeof c=="string"?c=_.parse(c):c=l(c);var m=j.commonjsGlobal.location.protocol.search(/^https?:$/)===-1?"http:":"",P=c.protocol||m,b=c.hostname||c.host,C=c.port,H=c.path||"/";b&&b.indexOf(":")!==-1&&(b="["+b+"]"),c.url=(b?P+"//"+b:"")+(C?":"+C:"")+H,c.method=(c.method||"GET").toUpperCase(),c.headers=c.headers||{};var w=new r(c);return d&&w.on("response",d),w},h.get=function(d,m){var P=h.request(d,m);return P.end(),P},h.ClientRequest=r,h.IncomingMessage=a.IncomingMessage,h.Agent=function(){},h.Agent.defaultMaxSockets=4,h.globalAgent=new h.Agent,h.STATUS_CODES=f,h.METHODS=["CHECKOUT","CONNECT","COPY","DELETE","GET","HEAD","LOCK","M-SEARCH","MERGE","MKACTIVITY","MKCOL","MOVE","NOTIFY","OPTIONS","PATCH","POST","PROPFIND","PROPPATCH","PURGE","PUT","REPORT","SEARCH","SUBSCRIBE","TRACE","UNLOCK","UNSUBSCRIBE"]})(de);const or=j.getDefaultExportFromCjs(de),fr=bt({__proto__:null,default:or},[de]);exports.index=fr;exports.require$$1=ht;exports.streamHttp=de;
1
+ "use strict";const j=require("./jszip-B9XFUSP6.cjs"),q=require("./vue-MFKe9j2t.cjs"),U=require("./xml-js-D7dYWJv-.cjs"),_t=require("./url-CQAfrw85.cjs");function bt(e,r){for(var a=0;a<r.length;a++){const l=r[a];if(typeof l!="string"&&!Array.isArray(l)){for(const f in l)if(f!=="default"&&!(f in e)){const _=Object.getOwnPropertyDescriptor(l,f);_&&Object.defineProperty(e,f,_.get?_:{enumerable:!0,get:()=>l[f]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}var de={},Ze={exports:{}},De={};(function(e){e.fetch=f(j.commonjsGlobal.fetch)&&f(j.commonjsGlobal.ReadableStream),e.writableStream=f(j.commonjsGlobal.WritableStream),e.abortController=f(j.commonjsGlobal.AbortController);var r;function a(){if(r!==void 0)return r;if(j.commonjsGlobal.XMLHttpRequest){r=new j.commonjsGlobal.XMLHttpRequest;try{r.open("GET",j.commonjsGlobal.XDomainRequest?"/":"https://example.com")}catch{r=null}}else r=null;return r}function l(_){var h=a();if(!h)return!1;try{return h.responseType=_,h.responseType===_}catch{}return!1}e.arraybuffer=e.fetch||l("arraybuffer"),e.msstream=!e.fetch&&l("ms-stream"),e.mozchunkedarraybuffer=!e.fetch&&l("moz-chunked-arraybuffer"),e.overrideMimeType=e.fetch||(a()?f(a().overrideMimeType):!1);function f(_){return typeof _=="function"}r=null})(De);var ce={},Ce={exports:{}},et=U.eventsExports.EventEmitter,Se,xe;function yt(){if(xe)return Se;xe=1;function e(w,E){var y=Object.keys(w);if(Object.getOwnPropertySymbols){var v=Object.getOwnPropertySymbols(w);E&&(v=v.filter(function(A){return Object.getOwnPropertyDescriptor(w,A).enumerable})),y.push.apply(y,v)}return y}function r(w){for(var E=1;E<arguments.length;E++){var y=arguments[E]!=null?arguments[E]:{};E%2?e(Object(y),!0).forEach(function(v){a(w,v,y[v])}):Object.getOwnPropertyDescriptors?Object.defineProperties(w,Object.getOwnPropertyDescriptors(y)):e(Object(y)).forEach(function(v){Object.defineProperty(w,v,Object.getOwnPropertyDescriptor(y,v))})}return w}function a(w,E,y){return E=h(E),E in w?Object.defineProperty(w,E,{value:y,enumerable:!0,configurable:!0,writable:!0}):w[E]=y,w}function l(w,E){if(!(w instanceof E))throw new TypeError("Cannot call a class as a function")}function f(w,E){for(var y=0;y<E.length;y++){var v=E[y];v.enumerable=v.enumerable||!1,v.configurable=!0,"value"in v&&(v.writable=!0),Object.defineProperty(w,h(v.key),v)}}function _(w,E,y){return E&&f(w.prototype,E),Object.defineProperty(w,"prototype",{writable:!1}),w}function h(w){var E=c(w,"string");return typeof E=="symbol"?E:String(E)}function c(w,E){if(typeof w!="object"||w===null)return w;var y=w[Symbol.toPrimitive];if(y!==void 0){var v=y.call(w,E);if(typeof v!="object")return v;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(w)}var d=U.require$$2,m=d.Buffer,P=U.util,b=P.inspect,C=b&&b.custom||"inspect";function H(w,E,y){m.prototype.copy.call(w,E,y)}return Se=function(){function w(){l(this,w),this.head=null,this.tail=null,this.length=0}return _(w,[{key:"push",value:function(y){var v={data:y,next:null};this.length>0?this.tail.next=v:this.head=v,this.tail=v,++this.length}},{key:"unshift",value:function(y){var v={data:y,next:this.head};this.length===0&&(this.tail=v),this.head=v,++this.length}},{key:"shift",value:function(){if(this.length!==0){var y=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,y}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(y){if(this.length===0)return"";for(var v=this.head,A=""+v.data;v=v.next;)A+=y+v.data;return A}},{key:"concat",value:function(y){if(this.length===0)return m.alloc(0);for(var v=m.allocUnsafe(y>>>0),A=this.head,S=0;A;)H(A.data,v,S),S+=A.data.length,A=A.next;return v}},{key:"consume",value:function(y,v){var A;return y<this.head.data.length?(A=this.head.data.slice(0,y),this.head.data=this.head.data.slice(y)):y===this.head.data.length?A=this.shift():A=v?this._getString(y):this._getBuffer(y),A}},{key:"first",value:function(){return this.head.data}},{key:"_getString",value:function(y){var v=this.head,A=1,S=v.data;for(y-=S.length;v=v.next;){var g=v.data,T=y>g.length?g.length:y;if(T===g.length?S+=g:S+=g.slice(0,y),y-=T,y===0){T===g.length?(++A,v.next?this.head=v.next:this.head=this.tail=null):(this.head=v,v.data=g.slice(T));break}++A}return this.length-=A,S}},{key:"_getBuffer",value:function(y){var v=m.allocUnsafe(y),A=this.head,S=1;for(A.data.copy(v),y-=A.data.length;A=A.next;){var g=A.data,T=y>g.length?g.length:y;if(g.copy(v,v.length-y,0,T),y-=T,y===0){T===g.length?(++S,A.next?this.head=A.next:this.head=this.tail=null):(this.head=A,A.data=g.slice(T));break}++S}return this.length-=S,v}},{key:C,value:function(y,v){return b(this,r(r({},v),{},{depth:0,customInspect:!1}))}}]),w}(),Se}function vt(e,r){var a=this,l=this._readableState&&this._readableState.destroyed,f=this._writableState&&this._writableState.destroyed;return l||f?(r?r(e):e&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,q.process$1.nextTick(Ne,this,e)):q.process$1.nextTick(Ne,this,e)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(e||null,function(_){!r&&_?a._writableState?a._writableState.errorEmitted?q.process$1.nextTick(se,a):(a._writableState.errorEmitted=!0,q.process$1.nextTick(Ue,a,_)):q.process$1.nextTick(Ue,a,_):r?(q.process$1.nextTick(se,a),r(_)):q.process$1.nextTick(se,a)}),this)}function Ue(e,r){Ne(e,r),se(e)}function se(e){e._writableState&&!e._writableState.emitClose||e._readableState&&!e._readableState.emitClose||e.emit("close")}function gt(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}function Ne(e,r){e.emit("error",r)}function wt(e,r){var a=e._readableState,l=e._writableState;a&&a.autoDestroy||l&&l.autoDestroy?e.destroy(r):e.emit("error",r)}var tt={destroy:vt,undestroy:gt,errorOrDestroy:wt},Y={};function mt(e,r){e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e.__proto__=r}var rt={};function W(e,r,a){a||(a=Error);function l(_,h,c){return typeof r=="string"?r:r(_,h,c)}var f=function(_){mt(h,_);function h(c,d,m){return _.call(this,l(c,d,m))||this}return h}(a);f.prototype.name=a.name,f.prototype.code=e,rt[e]=f}function Be(e,r){if(Array.isArray(e)){var a=e.length;return e=e.map(function(l){return String(l)}),a>2?"one of ".concat(r," ").concat(e.slice(0,a-1).join(", "),", or ")+e[a-1]:a===2?"one of ".concat(r," ").concat(e[0]," or ").concat(e[1]):"of ".concat(r," ").concat(e[0])}else return"of ".concat(r," ").concat(String(e))}function Rt(e,r,a){return e.substr(0,r.length)===r}function Et(e,r,a){return(a===void 0||a>e.length)&&(a=e.length),e.substring(a-r.length,a)===r}function St(e,r,a){return typeof a!="number"&&(a=0),a+r.length>e.length?!1:e.indexOf(r,a)!==-1}W("ERR_INVALID_OPT_VALUE",function(e,r){return'The value "'+r+'" is invalid for option "'+e+'"'},TypeError);W("ERR_INVALID_ARG_TYPE",function(e,r,a){var l;typeof r=="string"&&Rt(r,"not ")?(l="must not be",r=r.replace(/^not /,"")):l="must be";var f;if(Et(e," argument"))f="The ".concat(e," ").concat(l," ").concat(Be(r,"type"));else{var _=St(e,".")?"property":"argument";f='The "'.concat(e,'" ').concat(_," ").concat(l," ").concat(Be(r,"type"))}return f+=". Received type ".concat(typeof a),f},TypeError);W("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF");W("ERR_METHOD_NOT_IMPLEMENTED",function(e){return"The "+e+" method is not implemented"});W("ERR_STREAM_PREMATURE_CLOSE","Premature close");W("ERR_STREAM_DESTROYED",function(e){return"Cannot call "+e+" after a stream was destroyed"});W("ERR_MULTIPLE_CALLBACK","Callback called multiple times");W("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable");W("ERR_STREAM_WRITE_AFTER_END","write after end");W("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError);W("ERR_UNKNOWN_ENCODING",function(e){return"Unknown encoding: "+e},TypeError);W("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event");Y.codes=rt;var Tt=Y.codes.ERR_INVALID_OPT_VALUE;function Mt(e,r,a){return e.highWaterMark!=null?e.highWaterMark:r?e[a]:null}function At(e,r,a,l){var f=Mt(r,l,a);if(f!=null){if(!(isFinite(f)&&Math.floor(f)===f)||f<0){var _=l?a:"highWaterMark";throw new Tt(_,f)}return Math.floor(f)}return e.objectMode?16:16*1024}var nt={getHighWaterMark:At},Te,We;function it(){if(We)return Te;We=1,Te=D;function e(o){var i=this;this.next=null,this.entry=null,this.finish=function(){we(i,o)}}var r;D.WritableState=O;var a={deprecate:U.browser},l=et,f=U.require$$2.Buffer,_=(typeof j.commonjsGlobal<"u"?j.commonjsGlobal:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function h(o){return f.from(o)}function c(o){return f.isBuffer(o)||o instanceof _}var d=tt,m=nt,P=m.getHighWaterMark,b=Y.codes,C=b.ERR_INVALID_ARG_TYPE,H=b.ERR_METHOD_NOT_IMPLEMENTED,w=b.ERR_MULTIPLE_CALLBACK,E=b.ERR_STREAM_CANNOT_PIPE,y=b.ERR_STREAM_DESTROYED,v=b.ERR_STREAM_NULL_VALUES,A=b.ERR_STREAM_WRITE_AFTER_END,S=b.ERR_UNKNOWN_ENCODING,g=d.errorOrDestroy;U.inherits_browserExports(D,l);function T(){}function O(o,i,s){r=r||ee(),o=o||{},typeof s!="boolean"&&(s=i instanceof r),this.objectMode=!!o.objectMode,s&&(this.objectMode=this.objectMode||!!o.writableObjectMode),this.highWaterMark=P(this,o,"writableHighWaterMark",s),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var R=o.decodeStrings===!1;this.decodeStrings=!R,this.defaultEncoding=o.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(N){ye(i,N)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=o.emitClose!==!1,this.autoDestroy=!!o.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new e(this)}O.prototype.getBuffer=function(){for(var i=this.bufferedRequest,s=[];i;)s.push(i),i=i.next;return s},function(){try{Object.defineProperty(O.prototype,"buffer",{get:a.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch{}}();var x;typeof Symbol=="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]=="function"?(x=Function.prototype[Symbol.hasInstance],Object.defineProperty(D,Symbol.hasInstance,{value:function(i){return x.call(this,i)?!0:this!==D?!1:i&&i._writableState instanceof O}})):x=function(i){return i instanceof this};function D(o){r=r||ee();var i=this instanceof r;if(!i&&!x.call(D,this))return new D(o);this._writableState=new O(o,this,i),this.writable=!0,o&&(typeof o.write=="function"&&(this._write=o.write),typeof o.writev=="function"&&(this._writev=o.writev),typeof o.destroy=="function"&&(this._destroy=o.destroy),typeof o.final=="function"&&(this._final=o.final)),l.call(this)}D.prototype.pipe=function(){g(this,new E)};function M(o,i){var s=new A;g(o,s),q.process$1.nextTick(i,s)}function $(o,i,s,R){var N;return s===null?N=new v:typeof s!="string"&&!i.objectMode&&(N=new C("chunk",["string","Buffer"],s)),N?(g(o,N),q.process$1.nextTick(R,N),!1):!0}D.prototype.write=function(o,i,s){var R=this._writableState,N=!1,t=!R.objectMode&&c(o);return t&&!f.isBuffer(o)&&(o=h(o)),typeof i=="function"&&(s=i,i=null),t?i="buffer":i||(i=R.defaultEncoding),typeof s!="function"&&(s=T),R.ending?M(this,s):(t||$(this,R,o,s))&&(R.pendingcb++,N=_e(this,R,t,o,i,s)),N},D.prototype.cork=function(){this._writableState.corked++},D.prototype.uncork=function(){var o=this._writableState;o.corked&&(o.corked--,!o.writing&&!o.corked&&!o.bufferProcessing&&o.bufferedRequest&&z(this,o))},D.prototype.setDefaultEncoding=function(i){if(typeof i=="string"&&(i=i.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((i+"").toLowerCase())>-1))throw new S(i);return this._writableState.defaultEncoding=i,this},Object.defineProperty(D.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}});function te(o,i,s){return!o.objectMode&&o.decodeStrings!==!1&&typeof i=="string"&&(i=f.from(i,s)),i}Object.defineProperty(D.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function _e(o,i,s,R,N,t){if(!s){var n=te(i,R,N);R!==n&&(s=!0,N="buffer",R=n)}var u=i.objectMode?1:R.length;i.length+=u;var p=i.length<i.highWaterMark;if(p||(i.needDrain=!0),i.writing||i.corked){var k=i.lastBufferedRequest;i.lastBufferedRequest={chunk:R,encoding:N,isBuf:s,callback:t,next:null},k?k.next=i.lastBufferedRequest:i.bufferedRequest=i.lastBufferedRequest,i.bufferedRequestCount+=1}else X(o,i,!1,u,R,N,t);return p}function X(o,i,s,R,N,t,n){i.writelen=R,i.writecb=n,i.writing=!0,i.sync=!0,i.destroyed?i.onwrite(new y("write")):s?o._writev(N,i.onwrite):o._write(N,t,i.onwrite),i.sync=!1}function be(o,i,s,R,N){--i.pendingcb,s?(q.process$1.nextTick(N,R),q.process$1.nextTick(V,o,i),o._writableState.errorEmitted=!0,g(o,R)):(N(R),o._writableState.errorEmitted=!0,g(o,R),V(o,i))}function ie(o){o.writing=!1,o.writecb=null,o.length-=o.writelen,o.writelen=0}function ye(o,i){var s=o._writableState,R=s.sync,N=s.writecb;if(typeof N!="function")throw new w;if(ie(s),i)be(o,s,R,i,N);else{var t=oe(s)||o.destroyed;!t&&!s.corked&&!s.bufferProcessing&&s.bufferedRequest&&z(o,s),R?q.process$1.nextTick(G,o,s,t,N):G(o,s,t,N)}}function G(o,i,s,R){s||ae(o,i),i.pendingcb--,R(),V(o,i)}function ae(o,i){i.length===0&&i.needDrain&&(i.needDrain=!1,o.emit("drain"))}function z(o,i){i.bufferProcessing=!0;var s=i.bufferedRequest;if(o._writev&&s&&s.next){var R=i.bufferedRequestCount,N=new Array(R),t=i.corkedRequestsFree;t.entry=s;for(var n=0,u=!0;s;)N[n]=s,s.isBuf||(u=!1),s=s.next,n+=1;N.allBuffers=u,X(o,i,!0,i.length,N,"",t.finish),i.pendingcb++,i.lastBufferedRequest=null,t.next?(i.corkedRequestsFree=t.next,t.next=null):i.corkedRequestsFree=new e(i),i.bufferedRequestCount=0}else{for(;s;){var p=s.chunk,k=s.encoding,L=s.callback,I=i.objectMode?1:p.length;if(X(o,i,!1,I,p,k,L),s=s.next,i.bufferedRequestCount--,i.writing)break}s===null&&(i.lastBufferedRequest=null)}i.bufferedRequest=s,i.bufferProcessing=!1}D.prototype._write=function(o,i,s){s(new H("_write()"))},D.prototype._writev=null,D.prototype.end=function(o,i,s){var R=this._writableState;return typeof o=="function"?(s=o,o=null,i=null):typeof i=="function"&&(s=i,i=null),o!=null&&this.write(o,i),R.corked&&(R.corked=1,this.uncork()),R.ending||ge(this,R,s),this},Object.defineProperty(D.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}});function oe(o){return o.ending&&o.length===0&&o.bufferedRequest===null&&!o.finished&&!o.writing}function ve(o,i){o._final(function(s){i.pendingcb--,s&&g(o,s),i.prefinished=!0,o.emit("prefinish"),V(o,i)})}function fe(o,i){!i.prefinished&&!i.finalCalled&&(typeof o._final=="function"&&!i.destroyed?(i.pendingcb++,i.finalCalled=!0,q.process$1.nextTick(ve,o,i)):(i.prefinished=!0,o.emit("prefinish")))}function V(o,i){var s=oe(i);if(s&&(fe(o,i),i.pendingcb===0&&(i.finished=!0,o.emit("finish"),i.autoDestroy))){var R=o._readableState;(!R||R.autoDestroy&&R.endEmitted)&&o.destroy()}return s}function ge(o,i,s){i.ending=!0,V(o,i),s&&(i.finished?q.process$1.nextTick(s):o.once("finish",s)),i.ended=!0,o.writable=!1}function we(o,i,s){var R=o.entry;for(o.entry=null;R;){var N=R.callback;i.pendingcb--,N(s),R=R.next}i.corkedRequestsFree.next=o}return Object.defineProperty(D.prototype,"destroyed",{enumerable:!1,get:function(){return this._writableState===void 0?!1:this._writableState.destroyed},set:function(i){this._writableState&&(this._writableState.destroyed=i)}}),D.prototype.destroy=d.destroy,D.prototype._undestroy=d.undestroy,D.prototype._destroy=function(o,i){i(o)},Te}var Me,$e;function ee(){if($e)return Me;$e=1;var e=Object.keys||function(m){var P=[];for(var b in m)P.push(b);return P};Me=h;var r=ot(),a=it();U.inherits_browserExports(h,r);for(var l=e(a.prototype),f=0;f<l.length;f++){var _=l[f];h.prototype[_]||(h.prototype[_]=a.prototype[_])}function h(m){if(!(this instanceof h))return new h(m);r.call(this,m),a.call(this,m),this.allowHalfOpen=!0,m&&(m.readable===!1&&(this.readable=!1),m.writable===!1&&(this.writable=!1),m.allowHalfOpen===!1&&(this.allowHalfOpen=!1,this.once("end",c)))}Object.defineProperty(h.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(h.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(h.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}});function c(){this._writableState.ended||q.process$1.nextTick(d,this)}function d(m){m.end()}return Object.defineProperty(h.prototype,"destroyed",{enumerable:!1,get:function(){return this._readableState===void 0||this._writableState===void 0?!1:this._readableState.destroyed&&this._writableState.destroyed},set:function(P){this._readableState===void 0||this._writableState===void 0||(this._readableState.destroyed=P,this._writableState.destroyed=P)}}),Me}var Fe=Y.codes.ERR_STREAM_PREMATURE_CLOSE;function Ot(e){var r=!1;return function(){if(!r){r=!0;for(var a=arguments.length,l=new Array(a),f=0;f<a;f++)l[f]=arguments[f];e.apply(this,l)}}}function Pt(){}function Lt(e){return e.setHeader&&typeof e.abort=="function"}function at(e,r,a){if(typeof r=="function")return at(e,null,r);r||(r={}),a=Ot(a||Pt);var l=r.readable||r.readable!==!1&&e.readable,f=r.writable||r.writable!==!1&&e.writable,_=function(){e.writable||c()},h=e._writableState&&e._writableState.finished,c=function(){f=!1,h=!0,l||a.call(e)},d=e._readableState&&e._readableState.endEmitted,m=function(){l=!1,d=!0,f||a.call(e)},P=function(w){a.call(e,w)},b=function(){var w;if(l&&!d)return(!e._readableState||!e._readableState.ended)&&(w=new Fe),a.call(e,w);if(f&&!h)return(!e._writableState||!e._writableState.ended)&&(w=new Fe),a.call(e,w)},C=function(){e.req.on("finish",c)};return Lt(e)?(e.on("complete",c),e.on("abort",b),e.req?C():e.on("request",C)):f&&!e._writableState&&(e.on("end",_),e.on("close",_)),e.on("end",m),e.on("finish",c),r.error!==!1&&e.on("error",P),e.on("close",b),function(){e.removeListener("complete",c),e.removeListener("abort",b),e.removeListener("request",C),e.req&&e.req.removeListener("finish",c),e.removeListener("end",_),e.removeListener("close",_),e.removeListener("finish",c),e.removeListener("end",m),e.removeListener("error",P),e.removeListener("close",b)}}var qe=at,Ae,Ge;function Ct(){if(Ge)return Ae;Ge=1;var e;function r(S,g,T){return g=a(g),g in S?Object.defineProperty(S,g,{value:T,enumerable:!0,configurable:!0,writable:!0}):S[g]=T,S}function a(S){var g=l(S,"string");return typeof g=="symbol"?g:String(g)}function l(S,g){if(typeof S!="object"||S===null)return S;var T=S[Symbol.toPrimitive];if(T!==void 0){var O=T.call(S,g);if(typeof O!="object")return O;throw new TypeError("@@toPrimitive must return a primitive value.")}return(g==="string"?String:Number)(S)}var f=qe,_=Symbol("lastResolve"),h=Symbol("lastReject"),c=Symbol("error"),d=Symbol("ended"),m=Symbol("lastPromise"),P=Symbol("handlePromise"),b=Symbol("stream");function C(S,g){return{value:S,done:g}}function H(S){var g=S[_];if(g!==null){var T=S[b].read();T!==null&&(S[m]=null,S[_]=null,S[h]=null,g(C(T,!1)))}}function w(S){q.process$1.nextTick(H,S)}function E(S,g){return function(T,O){S.then(function(){if(g[d]){T(C(void 0,!0));return}g[P](T,O)},O)}}var y=Object.getPrototypeOf(function(){}),v=Object.setPrototypeOf((e={get stream(){return this[b]},next:function(){var g=this,T=this[c];if(T!==null)return Promise.reject(T);if(this[d])return Promise.resolve(C(void 0,!0));if(this[b].destroyed)return new Promise(function(M,$){q.process$1.nextTick(function(){g[c]?$(g[c]):M(C(void 0,!0))})});var O=this[m],x;if(O)x=new Promise(E(O,this));else{var D=this[b].read();if(D!==null)return Promise.resolve(C(D,!1));x=new Promise(this[P])}return this[m]=x,x}},r(e,Symbol.asyncIterator,function(){return this}),r(e,"return",function(){var g=this;return new Promise(function(T,O){g[b].destroy(null,function(x){if(x){O(x);return}T(C(void 0,!0))})})}),e),y),A=function(g){var T,O=Object.create(v,(T={},r(T,b,{value:g,writable:!0}),r(T,_,{value:null,writable:!0}),r(T,h,{value:null,writable:!0}),r(T,c,{value:null,writable:!0}),r(T,d,{value:g._readableState.endEmitted,writable:!0}),r(T,P,{value:function(D,M){var $=O[b].read();$?(O[m]=null,O[_]=null,O[h]=null,D(C($,!1))):(O[_]=D,O[h]=M)},writable:!0}),T));return O[m]=null,f(g,function(x){if(x&&x.code!=="ERR_STREAM_PREMATURE_CLOSE"){var D=O[h];D!==null&&(O[m]=null,O[_]=null,O[h]=null,D(x)),O[c]=x;return}var M=O[_];M!==null&&(O[m]=null,O[_]=null,O[h]=null,M(C(void 0,!0))),O[d]=!0}),g.on("readable",w.bind(null,O)),O};return Ae=A,Ae}var Oe,Ve;function Nt(){return Ve||(Ve=1,Oe=function(){throw new Error("Readable.from is not available in the browser")}),Oe}var Pe,Ke;function ot(){if(Ke)return Pe;Ke=1,Pe=M;var e;M.ReadableState=D,U.eventsExports.EventEmitter;var r=function(n,u){return n.listeners(u).length},a=et,l=U.require$$2.Buffer,f=(typeof j.commonjsGlobal<"u"?j.commonjsGlobal:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function _(t){return l.from(t)}function h(t){return l.isBuffer(t)||t instanceof f}var c=U.util,d;c&&c.debuglog?d=c.debuglog("stream"):d=function(){};var m=yt(),P=tt,b=nt,C=b.getHighWaterMark,H=Y.codes,w=H.ERR_INVALID_ARG_TYPE,E=H.ERR_STREAM_PUSH_AFTER_EOF,y=H.ERR_METHOD_NOT_IMPLEMENTED,v=H.ERR_STREAM_UNSHIFT_AFTER_END_EVENT,A,S,g;U.inherits_browserExports(M,a);var T=P.errorOrDestroy,O=["error","close","destroy","pause","resume"];function x(t,n,u){if(typeof t.prependListener=="function")return t.prependListener(n,u);!t._events||!t._events[n]?t.on(n,u):Array.isArray(t._events[n])?t._events[n].unshift(u):t._events[n]=[u,t._events[n]]}function D(t,n,u){e=e||ee(),t=t||{},typeof u!="boolean"&&(u=n instanceof e),this.objectMode=!!t.objectMode,u&&(this.objectMode=this.objectMode||!!t.readableObjectMode),this.highWaterMark=C(this,t,"readableHighWaterMark",u),this.buffer=new m,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=t.emitClose!==!1,this.autoDestroy=!!t.autoDestroy,this.destroyed=!1,this.defaultEncoding=t.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,t.encoding&&(A||(A=U.requireString_decoder().StringDecoder),this.decoder=new A(t.encoding),this.encoding=t.encoding)}function M(t){if(e=e||ee(),!(this instanceof M))return new M(t);var n=this instanceof e;this._readableState=new D(t,this,n),this.readable=!0,t&&(typeof t.read=="function"&&(this._read=t.read),typeof t.destroy=="function"&&(this._destroy=t.destroy)),a.call(this)}Object.defineProperty(M.prototype,"destroyed",{enumerable:!1,get:function(){return this._readableState===void 0?!1:this._readableState.destroyed},set:function(n){this._readableState&&(this._readableState.destroyed=n)}}),M.prototype.destroy=P.destroy,M.prototype._undestroy=P.undestroy,M.prototype._destroy=function(t,n){n(t)},M.prototype.push=function(t,n){var u=this._readableState,p;return u.objectMode?p=!0:typeof t=="string"&&(n=n||u.defaultEncoding,n!==u.encoding&&(t=l.from(t,n),n=""),p=!0),$(this,t,n,!1,p)},M.prototype.unshift=function(t){return $(this,t,null,!0,!1)};function $(t,n,u,p,k){d("readableAddChunk",n);var L=t._readableState;if(n===null)L.reading=!1,ye(t,L);else{var I;if(k||(I=_e(L,n)),I)T(t,I);else if(L.objectMode||n&&n.length>0)if(typeof n!="string"&&!L.objectMode&&Object.getPrototypeOf(n)!==l.prototype&&(n=_(n)),p)L.endEmitted?T(t,new v):te(t,L,n,!0);else if(L.ended)T(t,new E);else{if(L.destroyed)return!1;L.reading=!1,L.decoder&&!u?(n=L.decoder.write(n),L.objectMode||n.length!==0?te(t,L,n,!1):z(t,L)):te(t,L,n,!1)}else p||(L.reading=!1,z(t,L))}return!L.ended&&(L.length<L.highWaterMark||L.length===0)}function te(t,n,u,p){n.flowing&&n.length===0&&!n.sync?(n.awaitDrain=0,t.emit("data",u)):(n.length+=n.objectMode?1:u.length,p?n.buffer.unshift(u):n.buffer.push(u),n.needReadable&&G(t)),z(t,n)}function _e(t,n){var u;return!h(n)&&typeof n!="string"&&n!==void 0&&!t.objectMode&&(u=new w("chunk",["string","Buffer","Uint8Array"],n)),u}M.prototype.isPaused=function(){return this._readableState.flowing===!1},M.prototype.setEncoding=function(t){A||(A=U.requireString_decoder().StringDecoder);var n=new A(t);this._readableState.decoder=n,this._readableState.encoding=this._readableState.decoder.encoding;for(var u=this._readableState.buffer.head,p="";u!==null;)p+=n.write(u.data),u=u.next;return this._readableState.buffer.clear(),p!==""&&this._readableState.buffer.push(p),this._readableState.length=p.length,this};var X=1073741824;function be(t){return t>=X?t=X:(t--,t|=t>>>1,t|=t>>>2,t|=t>>>4,t|=t>>>8,t|=t>>>16,t++),t}function ie(t,n){return t<=0||n.length===0&&n.ended?0:n.objectMode?1:t!==t?n.flowing&&n.length?n.buffer.head.data.length:n.length:(t>n.highWaterMark&&(n.highWaterMark=be(t)),t<=n.length?t:n.ended?n.length:(n.needReadable=!0,0))}M.prototype.read=function(t){d("read",t),t=parseInt(t,10);var n=this._readableState,u=t;if(t!==0&&(n.emittedReadable=!1),t===0&&n.needReadable&&((n.highWaterMark!==0?n.length>=n.highWaterMark:n.length>0)||n.ended))return d("read: emitReadable",n.length,n.ended),n.length===0&&n.ended?s(this):G(this),null;if(t=ie(t,n),t===0&&n.ended)return n.length===0&&s(this),null;var p=n.needReadable;d("need readable",p),(n.length===0||n.length-t<n.highWaterMark)&&(p=!0,d("length less than watermark",p)),n.ended||n.reading?(p=!1,d("reading or ended",p)):p&&(d("do read"),n.reading=!0,n.sync=!0,n.length===0&&(n.needReadable=!0),this._read(n.highWaterMark),n.sync=!1,n.reading||(t=ie(u,n)));var k;return t>0?k=i(t,n):k=null,k===null?(n.needReadable=n.length<=n.highWaterMark,t=0):(n.length-=t,n.awaitDrain=0),n.length===0&&(n.ended||(n.needReadable=!0),u!==t&&n.ended&&s(this)),k!==null&&this.emit("data",k),k};function ye(t,n){if(d("onEofChunk"),!n.ended){if(n.decoder){var u=n.decoder.end();u&&u.length&&(n.buffer.push(u),n.length+=n.objectMode?1:u.length)}n.ended=!0,n.sync?G(t):(n.needReadable=!1,n.emittedReadable||(n.emittedReadable=!0,ae(t)))}}function G(t){var n=t._readableState;d("emitReadable",n.needReadable,n.emittedReadable),n.needReadable=!1,n.emittedReadable||(d("emitReadable",n.flowing),n.emittedReadable=!0,q.process$1.nextTick(ae,t))}function ae(t){var n=t._readableState;d("emitReadable_",n.destroyed,n.length,n.ended),!n.destroyed&&(n.length||n.ended)&&(t.emit("readable"),n.emittedReadable=!1),n.needReadable=!n.flowing&&!n.ended&&n.length<=n.highWaterMark,o(t)}function z(t,n){n.readingMore||(n.readingMore=!0,q.process$1.nextTick(oe,t,n))}function oe(t,n){for(;!n.reading&&!n.ended&&(n.length<n.highWaterMark||n.flowing&&n.length===0);){var u=n.length;if(d("maybeReadMore read 0"),t.read(0),u===n.length)break}n.readingMore=!1}M.prototype._read=function(t){T(this,new y("_read()"))},M.prototype.pipe=function(t,n){var u=this,p=this._readableState;switch(p.pipesCount){case 0:p.pipes=t;break;case 1:p.pipes=[p.pipes,t];break;default:p.pipes.push(t);break}p.pipesCount+=1,d("pipe count=%d opts=%j",p.pipesCount,n);var k=(!n||n.end!==!1)&&t!==q.process$1.stdout&&t!==q.process$1.stderr,L=k?J:re;p.endEmitted?q.process$1.nextTick(L):u.once("end",L),t.on("unpipe",I);function I(Q,Z){d("onunpipe"),Q===u&&Z&&Z.hasUnpiped===!1&&(Z.hasUnpiped=!0,pt())}function J(){d("onend"),t.end()}var le=ve(u);t.on("drain",le);var ke=!1;function pt(){d("cleanup"),t.removeListener("close",Re),t.removeListener("finish",Ee),t.removeListener("drain",le),t.removeListener("error",me),t.removeListener("unpipe",I),u.removeListener("end",J),u.removeListener("end",re),u.removeListener("data",He),ke=!0,p.awaitDrain&&(!t._writableState||t._writableState.needDrain)&&le()}u.on("data",He);function He(Q){d("ondata");var Z=t.write(Q);d("dest.write",Z),Z===!1&&((p.pipesCount===1&&p.pipes===t||p.pipesCount>1&&N(p.pipes,t)!==-1)&&!ke&&(d("false write response, pause",p.awaitDrain),p.awaitDrain++),u.pause())}function me(Q){d("onerror",Q),re(),t.removeListener("error",me),r(t,"error")===0&&T(t,Q)}x(t,"error",me);function Re(){t.removeListener("finish",Ee),re()}t.once("close",Re);function Ee(){d("onfinish"),t.removeListener("close",Re),re()}t.once("finish",Ee);function re(){d("unpipe"),u.unpipe(t)}return t.emit("pipe",u),p.flowing||(d("pipe resume"),u.resume()),t};function ve(t){return function(){var u=t._readableState;d("pipeOnDrain",u.awaitDrain),u.awaitDrain&&u.awaitDrain--,u.awaitDrain===0&&r(t,"data")&&(u.flowing=!0,o(t))}}M.prototype.unpipe=function(t){var n=this._readableState,u={hasUnpiped:!1};if(n.pipesCount===0)return this;if(n.pipesCount===1)return t&&t!==n.pipes?this:(t||(t=n.pipes),n.pipes=null,n.pipesCount=0,n.flowing=!1,t&&t.emit("unpipe",this,u),this);if(!t){var p=n.pipes,k=n.pipesCount;n.pipes=null,n.pipesCount=0,n.flowing=!1;for(var L=0;L<k;L++)p[L].emit("unpipe",this,{hasUnpiped:!1});return this}var I=N(n.pipes,t);return I===-1?this:(n.pipes.splice(I,1),n.pipesCount-=1,n.pipesCount===1&&(n.pipes=n.pipes[0]),t.emit("unpipe",this,u),this)},M.prototype.on=function(t,n){var u=a.prototype.on.call(this,t,n),p=this._readableState;return t==="data"?(p.readableListening=this.listenerCount("readable")>0,p.flowing!==!1&&this.resume()):t==="readable"&&!p.endEmitted&&!p.readableListening&&(p.readableListening=p.needReadable=!0,p.flowing=!1,p.emittedReadable=!1,d("on readable",p.length,p.reading),p.length?G(this):p.reading||q.process$1.nextTick(V,this)),u},M.prototype.addListener=M.prototype.on,M.prototype.removeListener=function(t,n){var u=a.prototype.removeListener.call(this,t,n);return t==="readable"&&q.process$1.nextTick(fe,this),u},M.prototype.removeAllListeners=function(t){var n=a.prototype.removeAllListeners.apply(this,arguments);return(t==="readable"||t===void 0)&&q.process$1.nextTick(fe,this),n};function fe(t){var n=t._readableState;n.readableListening=t.listenerCount("readable")>0,n.resumeScheduled&&!n.paused?n.flowing=!0:t.listenerCount("data")>0&&t.resume()}function V(t){d("readable nexttick read 0"),t.read(0)}M.prototype.resume=function(){var t=this._readableState;return t.flowing||(d("resume"),t.flowing=!t.readableListening,ge(this,t)),t.paused=!1,this};function ge(t,n){n.resumeScheduled||(n.resumeScheduled=!0,q.process$1.nextTick(we,t,n))}function we(t,n){d("resume",n.reading),n.reading||t.read(0),n.resumeScheduled=!1,t.emit("resume"),o(t),n.flowing&&!n.reading&&t.read(0)}M.prototype.pause=function(){return d("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(d("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this};function o(t){var n=t._readableState;for(d("flow",n.flowing);n.flowing&&t.read()!==null;);}M.prototype.wrap=function(t){var n=this,u=this._readableState,p=!1;t.on("end",function(){if(d("wrapped end"),u.decoder&&!u.ended){var I=u.decoder.end();I&&I.length&&n.push(I)}n.push(null)}),t.on("data",function(I){if(d("wrapped data"),u.decoder&&(I=u.decoder.write(I)),!(u.objectMode&&I==null)&&!(!u.objectMode&&(!I||!I.length))){var J=n.push(I);J||(p=!0,t.pause())}});for(var k in t)this[k]===void 0&&typeof t[k]=="function"&&(this[k]=function(J){return function(){return t[J].apply(t,arguments)}}(k));for(var L=0;L<O.length;L++)t.on(O[L],this.emit.bind(this,O[L]));return this._read=function(I){d("wrapped _read",I),p&&(p=!1,t.resume())},this},typeof Symbol=="function"&&(M.prototype[Symbol.asyncIterator]=function(){return S===void 0&&(S=Ct()),S(this)}),Object.defineProperty(M.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),Object.defineProperty(M.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}}),Object.defineProperty(M.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(n){this._readableState&&(this._readableState.flowing=n)}}),M._fromList=i,Object.defineProperty(M.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}});function i(t,n){if(n.length===0)return null;var u;return n.objectMode?u=n.buffer.shift():!t||t>=n.length?(n.decoder?u=n.buffer.join(""):n.buffer.length===1?u=n.buffer.first():u=n.buffer.concat(n.length),n.buffer.clear()):u=n.buffer.consume(t,n.decoder),u}function s(t){var n=t._readableState;d("endReadable",n.endEmitted),n.endEmitted||(n.ended=!0,q.process$1.nextTick(R,n,t))}function R(t,n){if(d("endReadableNT",t.endEmitted,t.length),!t.endEmitted&&t.length===0&&(t.endEmitted=!0,n.readable=!1,n.emit("end"),t.autoDestroy)){var u=n._writableState;(!u||u.autoDestroy&&u.finished)&&n.destroy()}}typeof Symbol=="function"&&(M.from=function(t,n){return g===void 0&&(g=Nt()),g(M,t,n)});function N(t,n){for(var u=0,p=t.length;u<p;u++)if(t[u]===n)return u;return-1}return Pe}var ft=F,he=Y.codes,Dt=he.ERR_METHOD_NOT_IMPLEMENTED,qt=he.ERR_MULTIPLE_CALLBACK,jt=he.ERR_TRANSFORM_ALREADY_TRANSFORMING,It=he.ERR_TRANSFORM_WITH_LENGTH_0,pe=ee();U.inherits_browserExports(F,pe);function kt(e,r){var a=this._transformState;a.transforming=!1;var l=a.writecb;if(l===null)return this.emit("error",new qt);a.writechunk=null,a.writecb=null,r!=null&&this.push(r),l(e);var f=this._readableState;f.reading=!1,(f.needReadable||f.length<f.highWaterMark)&&this._read(f.highWaterMark)}function F(e){if(!(this instanceof F))return new F(e);pe.call(this,e),this._transformState={afterTransform:kt.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,e&&(typeof e.transform=="function"&&(this._transform=e.transform),typeof e.flush=="function"&&(this._flush=e.flush)),this.on("prefinish",Ht)}function Ht(){var e=this;typeof this._flush=="function"&&!this._readableState.destroyed?this._flush(function(r,a){Ye(e,r,a)}):Ye(this,null,null)}F.prototype.push=function(e,r){return this._transformState.needTransform=!1,pe.prototype.push.call(this,e,r)};F.prototype._transform=function(e,r,a){a(new Dt("_transform()"))};F.prototype._write=function(e,r,a){var l=this._transformState;if(l.writecb=a,l.writechunk=e,l.writeencoding=r,!l.transforming){var f=this._readableState;(l.needTransform||f.needReadable||f.length<f.highWaterMark)&&this._read(f.highWaterMark)}};F.prototype._read=function(e){var r=this._transformState;r.writechunk!==null&&!r.transforming?(r.transforming=!0,this._transform(r.writechunk,r.writeencoding,r.afterTransform)):r.needTransform=!0};F.prototype._destroy=function(e,r){pe.prototype._destroy.call(this,e,function(a){r(a)})};function Ye(e,r,a){if(r)return e.emit("error",r);if(a!=null&&e.push(a),e._writableState.length)throw new It;if(e._transformState.transforming)throw new jt;return e.push(null)}var xt=ne,lt=ft;U.inherits_browserExports(ne,lt);function ne(e){if(!(this instanceof ne))return new ne(e);lt.call(this,e)}ne.prototype._transform=function(e,r,a){a(null,e)};var Le;function Ut(e){var r=!1;return function(){r||(r=!0,e.apply(void 0,arguments))}}var ut=Y.codes,Bt=ut.ERR_MISSING_ARGS,Wt=ut.ERR_STREAM_DESTROYED;function Xe(e){if(e)throw e}function $t(e){return e.setHeader&&typeof e.abort=="function"}function Ft(e,r,a,l){l=Ut(l);var f=!1;e.on("close",function(){f=!0}),Le===void 0&&(Le=qe),Le(e,{readable:r,writable:a},function(h){if(h)return l(h);f=!0,l()});var _=!1;return function(h){if(!f&&!_){if(_=!0,$t(e))return e.abort();if(typeof e.destroy=="function")return e.destroy();l(h||new Wt("pipe"))}}}function ze(e){e()}function Gt(e,r){return e.pipe(r)}function Vt(e){return!e.length||typeof e[e.length-1]!="function"?Xe:e.pop()}function Kt(){for(var e=arguments.length,r=new Array(e),a=0;a<e;a++)r[a]=arguments[a];var l=Vt(r);if(Array.isArray(r[0])&&(r=r[0]),r.length<2)throw new Bt("streams");var f,_=r.map(function(h,c){var d=c<r.length-1,m=c>0;return Ft(h,d,m,function(P){f||(f=P),P&&_.forEach(ze),!d&&(_.forEach(ze),l(f))})});return r.reduce(Gt)}var Yt=Kt;(function(e,r){r=e.exports=ot(),r.Stream=r,r.Readable=r,r.Writable=it(),r.Duplex=ee(),r.Transform=ft,r.PassThrough=xt,r.finished=qe,r.pipeline=Yt})(Ce,Ce.exports);var st=Ce.exports,Je=De,Xt=U.inherits_browserExports,dt=st,ue=ce.readyStates={UNSENT:0,OPENED:1,HEADERS_RECEIVED:2,LOADING:3,DONE:4},je=ce.IncomingMessage=function(e,r,a,l){var f=this;if(dt.Readable.call(f),f._mode=a,f.headers={},f.rawHeaders=[],f.trailers={},f.rawTrailers=[],f.on("end",function(){q.process$1.nextTick(function(){f.emit("close")})}),a==="fetch"){let P=function(){h.read().then(function(b){if(!f._destroyed){if(l(b.done),b.done){f.push(null);return}f.push(j.Buffer.from(b.value)),P()}}).catch(function(b){l(!0),f._destroyed||f.emit("error",b)})};if(f._fetchResponse=r,f.url=r.url,f.statusCode=r.status,f.statusMessage=r.statusText,r.headers.forEach(function(b,C){f.headers[C.toLowerCase()]=b,f.rawHeaders.push(C,b)}),Je.writableStream){var _=new WritableStream({write:function(b){return l(!1),new Promise(function(C,H){f._destroyed?H():f.push(j.Buffer.from(b))?C():f._resumeFetch=C})},close:function(){l(!0),f._destroyed||f.push(null)},abort:function(b){l(!0),f._destroyed||f.emit("error",b)}});try{r.body.pipeTo(_).catch(function(b){l(!0),f._destroyed||f.emit("error",b)});return}catch{}}var h=r.body.getReader();P()}else{f._xhr=e,f._pos=0,f.url=e.responseURL,f.statusCode=e.status,f.statusMessage=e.statusText;var c=e.getAllResponseHeaders().split(/\r?\n/);if(c.forEach(function(P){var b=P.match(/^([^:]+):\s*(.*)/);if(b){var C=b[1].toLowerCase();C==="set-cookie"?(f.headers[C]===void 0&&(f.headers[C]=[]),f.headers[C].push(b[2])):f.headers[C]!==void 0?f.headers[C]+=", "+b[2]:f.headers[C]=b[2],f.rawHeaders.push(b[1],b[2])}}),f._charset="x-user-defined",!Je.overrideMimeType){var d=f.rawHeaders["mime-type"];if(d){var m=d.match(/;\s*charset=([^;])(;|$)/);m&&(f._charset=m[1].toLowerCase())}f._charset||(f._charset="utf-8")}}};Xt(je,dt.Readable);je.prototype._read=function(){var e=this,r=e._resumeFetch;r&&(e._resumeFetch=null,r())};je.prototype._onXHRProgress=function(e){var r=this,a=r._xhr,l=null;switch(r._mode){case"text":if(l=a.responseText,l.length>r._pos){var f=l.substr(r._pos);if(r._charset==="x-user-defined"){for(var _=j.Buffer.alloc(f.length),h=0;h<f.length;h++)_[h]=f.charCodeAt(h)&255;r.push(_)}else r.push(f,r._charset);r._pos=l.length}break;case"arraybuffer":if(a.readyState!==ue.DONE||!a.response)break;l=a.response,r.push(j.Buffer.from(new Uint8Array(l)));break;case"moz-chunked-arraybuffer":if(l=a.response,a.readyState!==ue.LOADING||!l)break;r.push(j.Buffer.from(new Uint8Array(l)));break;case"ms-stream":if(l=a.response,a.readyState!==ue.LOADING)break;var c=new j.commonjsGlobal.MSStreamReader;c.onprogress=function(){c.result.byteLength>r._pos&&(r.push(j.Buffer.from(new Uint8Array(c.result.slice(r._pos)))),r._pos=c.result.byteLength)},c.onload=function(){e(!0),r.push(null)},c.readAsArrayBuffer(l);break}r._xhr.readyState===ue.DONE&&r._mode!=="ms-stream"&&(e(!0),r.push(null))};var K=De,zt=U.inherits_browserExports,ct=ce,Ie=st,Jt=ct.IncomingMessage,Qe=ct.readyStates;function Qt(e,r){return K.fetch&&r?"fetch":K.mozchunkedarraybuffer?"moz-chunked-arraybuffer":K.msstream?"ms-stream":K.arraybuffer&&e?"arraybuffer":"text"}var B=Ze.exports=function(e){var r=this;Ie.Writable.call(r),r._opts=e,r._body=[],r._headers={},e.auth&&r.setHeader("Authorization","Basic "+j.Buffer.from(e.auth).toString("base64")),Object.keys(e.headers).forEach(function(f){r.setHeader(f,e.headers[f])});var a,l=!0;if(e.mode==="disable-fetch"||"requestTimeout"in e&&!K.abortController)l=!1,a=!0;else if(e.mode==="prefer-streaming")a=!1;else if(e.mode==="allow-wrong-content-type")a=!K.overrideMimeType;else if(!e.mode||e.mode==="default"||e.mode==="prefer-fast")a=!0;else throw new Error("Invalid value for opts.mode");r._mode=Qt(a,l),r._fetchTimer=null,r._socketTimeout=null,r._socketTimer=null,r.on("finish",function(){r._onFinish()})};zt(B,Ie.Writable);B.prototype.setHeader=function(e,r){var a=this,l=e.toLowerCase();er.indexOf(l)===-1&&(a._headers[l]={name:e,value:r})};B.prototype.getHeader=function(e){var r=this._headers[e.toLowerCase()];return r?r.value:null};B.prototype.removeHeader=function(e){var r=this;delete r._headers[e.toLowerCase()]};B.prototype._onFinish=function(){var e=this;if(!e._destroyed){var r=e._opts;"timeout"in r&&r.timeout!==0&&e.setTimeout(r.timeout);var a=e._headers,l=null;r.method!=="GET"&&r.method!=="HEAD"&&(l=new Blob(e._body,{type:(a["content-type"]||{}).value||""}));var f=[];if(Object.keys(a).forEach(function(d){var m=a[d].name,P=a[d].value;Array.isArray(P)?P.forEach(function(b){f.push([m,b])}):f.push([m,P])}),e._mode==="fetch"){var _=null;if(K.abortController){var h=new AbortController;_=h.signal,e._fetchAbortController=h,"requestTimeout"in r&&r.requestTimeout!==0&&(e._fetchTimer=j.commonjsGlobal.setTimeout(function(){e.emit("requestTimeout"),e._fetchAbortController&&e._fetchAbortController.abort()},r.requestTimeout))}j.commonjsGlobal.fetch(e._opts.url,{method:e._opts.method,headers:f,body:l||void 0,mode:"cors",credentials:r.withCredentials?"include":"same-origin",signal:_}).then(function(d){e._fetchResponse=d,e._resetTimers(!1),e._connect()},function(d){e._resetTimers(!0),e._destroyed||e.emit("error",d)})}else{var c=e._xhr=new j.commonjsGlobal.XMLHttpRequest;try{c.open(e._opts.method,e._opts.url,!0)}catch(d){q.process$1.nextTick(function(){e.emit("error",d)});return}"responseType"in c&&(c.responseType=e._mode),"withCredentials"in c&&(c.withCredentials=!!r.withCredentials),e._mode==="text"&&"overrideMimeType"in c&&c.overrideMimeType("text/plain; charset=x-user-defined"),"requestTimeout"in r&&(c.timeout=r.requestTimeout,c.ontimeout=function(){e.emit("requestTimeout")}),f.forEach(function(d){c.setRequestHeader(d[0],d[1])}),e._response=null,c.onreadystatechange=function(){switch(c.readyState){case Qe.LOADING:case Qe.DONE:e._onXHRProgress();break}},e._mode==="moz-chunked-arraybuffer"&&(c.onprogress=function(){e._onXHRProgress()}),c.onerror=function(){e._destroyed||(e._resetTimers(!0),e.emit("error",new Error("XHR error")))};try{c.send(l)}catch(d){q.process$1.nextTick(function(){e.emit("error",d)});return}}}};function Zt(e){try{var r=e.status;return r!==null&&r!==0}catch{return!1}}B.prototype._onXHRProgress=function(){var e=this;e._resetTimers(!1),!(!Zt(e._xhr)||e._destroyed)&&(e._response||e._connect(),e._response._onXHRProgress(e._resetTimers.bind(e)))};B.prototype._connect=function(){var e=this;e._destroyed||(e._response=new Jt(e._xhr,e._fetchResponse,e._mode,e._resetTimers.bind(e)),e._response.on("error",function(r){e.emit("error",r)}),e.emit("response",e._response))};B.prototype._write=function(e,r,a){var l=this;l._body.push(e),a()};B.prototype._resetTimers=function(e){var r=this;j.commonjsGlobal.clearTimeout(r._socketTimer),r._socketTimer=null,e?(j.commonjsGlobal.clearTimeout(r._fetchTimer),r._fetchTimer=null):r._socketTimeout&&(r._socketTimer=j.commonjsGlobal.setTimeout(function(){r.emit("timeout")},r._socketTimeout))};B.prototype.abort=B.prototype.destroy=function(e){var r=this;r._destroyed=!0,r._resetTimers(!0),r._response&&(r._response._destroyed=!0),r._xhr?r._xhr.abort():r._fetchAbortController&&r._fetchAbortController.abort(),e&&r.emit("error",e)};B.prototype.end=function(e,r,a){var l=this;typeof e=="function"&&(a=e,e=void 0),Ie.Writable.prototype.end.call(l,e,r,a)};B.prototype.setTimeout=function(e,r){var a=this;r&&a.once("timeout",r),a._socketTimeout=e,a._resetTimers(!1)};B.prototype.flushHeaders=function(){};B.prototype.setNoDelay=function(){};B.prototype.setSocketKeepAlive=function(){};var er=["accept-charset","accept-encoding","access-control-request-headers","access-control-request-method","connection","content-length","cookie","cookie2","date","dnt","expect","host","keep-alive","origin","referer","te","trailer","transfer-encoding","upgrade","via"],tr=Ze.exports,rr=ir,nr=Object.prototype.hasOwnProperty;function ir(){for(var e={},r=0;r<arguments.length;r++){var a=arguments[r];for(var l in a)nr.call(a,l)&&(e[l]=a[l])}return e}var ar={100:"Continue",101:"Switching Protocols",102:"Processing",200:"OK",201:"Created",202:"Accepted",203:"Non-Authoritative Information",204:"No Content",205:"Reset Content",206:"Partial Content",207:"Multi-Status",208:"Already Reported",226:"IM Used",300:"Multiple Choices",301:"Moved Permanently",302:"Found",303:"See Other",304:"Not Modified",305:"Use Proxy",307:"Temporary Redirect",308:"Permanent Redirect",400:"Bad Request",401:"Unauthorized",402:"Payment Required",403:"Forbidden",404:"Not Found",405:"Method Not Allowed",406:"Not Acceptable",407:"Proxy Authentication Required",408:"Request Timeout",409:"Conflict",410:"Gone",411:"Length Required",412:"Precondition Failed",413:"Payload Too Large",414:"URI Too Long",415:"Unsupported Media Type",416:"Range Not Satisfiable",417:"Expectation Failed",418:"I'm a teapot",421:"Misdirected Request",422:"Unprocessable Entity",423:"Locked",424:"Failed Dependency",425:"Unordered Collection",426:"Upgrade Required",428:"Precondition Required",429:"Too Many Requests",431:"Request Header Fields Too Large",451:"Unavailable For Legal Reasons",500:"Internal Server Error",501:"Not Implemented",502:"Bad Gateway",503:"Service Unavailable",504:"Gateway Timeout",505:"HTTP Version Not Supported",506:"Variant Also Negotiates",507:"Insufficient Storage",508:"Loop Detected",509:"Bandwidth Limit Exceeded",510:"Not Extended",511:"Network Authentication Required"};const ht=j.getAugmentedNamespace(_t.url);(function(e){var r=tr,a=ce,l=rr,f=ar,_=ht,h=e;h.request=function(c,d){typeof c=="string"?c=_.parse(c):c=l(c);var m=j.commonjsGlobal.location.protocol.search(/^https?:$/)===-1?"http:":"",P=c.protocol||m,b=c.hostname||c.host,C=c.port,H=c.path||"/";b&&b.indexOf(":")!==-1&&(b="["+b+"]"),c.url=(b?P+"//"+b:"")+(C?":"+C:"")+H,c.method=(c.method||"GET").toUpperCase(),c.headers=c.headers||{};var w=new r(c);return d&&w.on("response",d),w},h.get=function(d,m){var P=h.request(d,m);return P.end(),P},h.ClientRequest=r,h.IncomingMessage=a.IncomingMessage,h.Agent=function(){},h.Agent.defaultMaxSockets=4,h.globalAgent=new h.Agent,h.STATUS_CODES=f,h.METHODS=["CHECKOUT","CONNECT","COPY","DELETE","GET","HEAD","LOCK","M-SEARCH","MERGE","MKACTIVITY","MKCOL","MOVE","NOTIFY","OPTIONS","PATCH","POST","PROPFIND","PROPPATCH","PURGE","PUT","REPORT","SEARCH","SUBSCRIBE","TRACE","UNLOCK","UNSUBSCRIBE"]})(de);const or=j.getDefaultExportFromCjs(de),fr=bt({__proto__:null,default:or},[de]);exports.index=fr;exports.require$$1=ht;exports.streamHttp=de;
@@ -1 +1 @@
1
- "use strict";const p=require("./jszip-D9YbjC4E.cjs"),f=require("./index-C6SLw2ph.cjs");function d(i,o){for(var c=0;c<o.length;c++){const e=o[c];if(typeof e!="string"&&!Array.isArray(e)){for(const r in e)if(r!=="default"&&!(r in i)){const n=Object.getOwnPropertyDescriptor(e,r);n&&Object.defineProperty(i,r,n.get?n:{enumerable:!0,get:()=>e[r]})}}}return Object.freeze(Object.defineProperty(i,Symbol.toStringTag,{value:"Module"}))}var u={exports:{}};(function(i){var o=f.streamHttp,c=f.require$$1,e=i.exports;for(var r in o)o.hasOwnProperty(r)&&(e[r]=o[r]);e.request=function(t,s){return t=n(t),o.request.call(this,t,s)},e.get=function(t,s){return t=n(t),o.get.call(this,t,s)};function n(t){if(typeof t=="string"&&(t=c.parse(t)),t.protocol||(t.protocol="https:"),t.protocol!=="https:")throw new Error('Protocol "'+t.protocol+'" not supported. Expected "https:"');return t}})(u);var l=u.exports;const g=p.getDefaultExportFromCjs(l),h=d({__proto__:null,default:g},[l]);exports.index=h;
1
+ "use strict";const p=require("./jszip-B9XFUSP6.cjs"),f=require("./index-BaUf6hWx.cjs");function d(i,o){for(var c=0;c<o.length;c++){const e=o[c];if(typeof e!="string"&&!Array.isArray(e)){for(const r in e)if(r!=="default"&&!(r in i)){const n=Object.getOwnPropertyDescriptor(e,r);n&&Object.defineProperty(i,r,n.get?n:{enumerable:!0,get:()=>e[r]})}}}return Object.freeze(Object.defineProperty(i,Symbol.toStringTag,{value:"Module"}))}var u={exports:{}};(function(i){var o=f.streamHttp,c=f.require$$1,e=i.exports;for(var r in o)o.hasOwnProperty(r)&&(e[r]=o[r]);e.request=function(t,s){return t=n(t),o.request.call(this,t,s)},e.get=function(t,s){return t=n(t),o.get.call(this,t,s)};function n(t){if(typeof t=="string"&&(t=c.parse(t)),t.protocol||(t.protocol="https:"),t.protocol!=="https:")throw new Error('Protocol "'+t.protocol+'" not supported. Expected "https:"');return t}})(u);var l=u.exports;const g=p.getDefaultExportFromCjs(l),h=d({__proto__:null,default:g},[l]);exports.index=h;
@@ -1,5 +1,5 @@
1
- import { g as u } from "./jszip-OpmRHhd4.es.js";
2
- import { s as l, r as g } from "./index-kWwSELc2.es.js";
1
+ import { g as u } from "./jszip-BISi6DwV.es.js";
2
+ import { s as l, r as g } from "./index-D_hSyoUJ.es.js";
3
3
  function h(i, o) {
4
4
  for (var f = 0; f < o.length; f++) {
5
5
  const r = o[f];
@@ -1,7 +1,7 @@
1
- import { c as U, B as V, a as gt, g as wt } from "./jszip-OpmRHhd4.es.js";
2
- import { p as q } from "./vue-DKS68Dra.es.js";
3
- import { e as rt, r as De, u as nt, i as Y, b as Rt, a as Be } from "./xml-js-CgHhGhcJ.es.js";
4
- import { u as mt } from "./url-C29KYeaj.es.js";
1
+ import { c as U, B as V, a as gt, g as wt } from "./jszip-BISi6DwV.es.js";
2
+ import { p as q } from "./vue-DZ2Bmo1d.es.js";
3
+ import { e as rt, r as De, u as nt, i as Y, b as Rt, a as Be } from "./xml-js-CA7yNi6O.es.js";
4
+ import { u as mt } from "./url-amCEc5Yz.es.js";
5
5
  function Et(e, r) {
6
6
  for (var a = 0; a < r.length; a++) {
7
7
  const l = r[a];
@@ -1,4 +1,4 @@
1
- "use strict";require("./vue-BQCc2YbW.cjs");var I={},j={};j.byteLength=kt;j.toByteArray=Pt;j.fromByteArray=jt;var _=[],b=[],Mt=typeof Uint8Array<"u"?Uint8Array:Array,z="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(var P=0,Nt=z.length;P<Nt;++P)_[P]=z[P],b[z.charCodeAt(P)]=P;b[45]=62;b[95]=63;function ht(f){var h=f.length;if(h%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var l=f.indexOf("=");l===-1&&(l=h);var y=l===h?0:4-l%4;return[l,y]}function kt(f){var h=ht(f),l=h[0],y=h[1];return(l+y)*3/4-y}function Dt(f,h,l){return(h+l)*3/4-l}function Pt(f){var h,l=ht(f),y=l[0],w=l[1],p=new Mt(Dt(f,y,w)),s=0,m=w>0?y-4:y,B;for(B=0;B<m;B+=4)h=b[f.charCodeAt(B)]<<18|b[f.charCodeAt(B+1)]<<12|b[f.charCodeAt(B+2)]<<6|b[f.charCodeAt(B+3)],p[s++]=h>>16&255,p[s++]=h>>8&255,p[s++]=h&255;return w===2&&(h=b[f.charCodeAt(B)]<<2|b[f.charCodeAt(B+1)]>>4,p[s++]=h&255),w===1&&(h=b[f.charCodeAt(B)]<<10|b[f.charCodeAt(B+1)]<<4|b[f.charCodeAt(B+2)]>>2,p[s++]=h>>8&255,p[s++]=h&255),p}function Ot(f){return _[f>>18&63]+_[f>>12&63]+_[f>>6&63]+_[f&63]}function $t(f,h,l){for(var y,w=[],p=h;p<l;p+=3)y=(f[p]<<16&16711680)+(f[p+1]<<8&65280)+(f[p+2]&255),w.push(Ot(y));return w.join("")}function jt(f){for(var h,l=f.length,y=l%3,w=[],p=16383,s=0,m=l-y;s<m;s+=p)w.push($t(f,s,s+p>m?m:s+p));return y===1?(h=f[l-1],w.push(_[h>>2]+_[h<<4&63]+"==")):y===2&&(h=(f[l-2]<<8)+f[l-1],w.push(_[h>>10]+_[h>>4&63]+_[h<<2&63]+"=")),w.join("")}var J={};/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */J.read=function(f,h,l,y,w){var p,s,m=w*8-y-1,B=(1<<m)-1,A=B>>1,o=-7,U=l?w-1:0,S=l?-1:1,R=f[h+U];for(U+=S,p=R&(1<<-o)-1,R>>=-o,o+=m;o>0;p=p*256+f[h+U],U+=S,o-=8);for(s=p&(1<<-o)-1,p>>=-o,o+=y;o>0;s=s*256+f[h+U],U+=S,o-=8);if(p===0)p=1-A;else{if(p===B)return s?NaN:(R?-1:1)*(1/0);s=s+Math.pow(2,y),p=p-A}return(R?-1:1)*s*Math.pow(2,p-y)};J.write=function(f,h,l,y,w,p){var s,m,B,A=p*8-w-1,o=(1<<A)-1,U=o>>1,S=w===23?Math.pow(2,-24)-Math.pow(2,-77):0,R=y?0:p-1,M=y?1:-1,G=h<0||h===0&&1/h<0?1:0;for(h=Math.abs(h),isNaN(h)||h===1/0?(m=isNaN(h)?1:0,s=o):(s=Math.floor(Math.log(h)/Math.LN2),h*(B=Math.pow(2,-s))<1&&(s--,B*=2),s+U>=1?h+=S/B:h+=S*Math.pow(2,1-U),h*B>=2&&(s++,B/=2),s+U>=o?(m=0,s=o):s+U>=1?(m=(h*B-1)*Math.pow(2,w),s=s+U):(m=h*Math.pow(2,U-1)*Math.pow(2,w),s=0));w>=8;f[l+R]=m&255,R+=M,m/=256,w-=8);for(s=s<<w|m,A+=w;A>0;f[l+R]=s&255,R+=M,s/=256,A-=8);f[l+R-M]|=G*128};/*!
1
+ "use strict";require("./vue-MFKe9j2t.cjs");var I={},j={};j.byteLength=kt;j.toByteArray=Pt;j.fromByteArray=jt;var _=[],b=[],Mt=typeof Uint8Array<"u"?Uint8Array:Array,z="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(var P=0,Nt=z.length;P<Nt;++P)_[P]=z[P],b[z.charCodeAt(P)]=P;b[45]=62;b[95]=63;function ht(f){var h=f.length;if(h%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var l=f.indexOf("=");l===-1&&(l=h);var y=l===h?0:4-l%4;return[l,y]}function kt(f){var h=ht(f),l=h[0],y=h[1];return(l+y)*3/4-y}function Dt(f,h,l){return(h+l)*3/4-l}function Pt(f){var h,l=ht(f),y=l[0],w=l[1],p=new Mt(Dt(f,y,w)),s=0,m=w>0?y-4:y,B;for(B=0;B<m;B+=4)h=b[f.charCodeAt(B)]<<18|b[f.charCodeAt(B+1)]<<12|b[f.charCodeAt(B+2)]<<6|b[f.charCodeAt(B+3)],p[s++]=h>>16&255,p[s++]=h>>8&255,p[s++]=h&255;return w===2&&(h=b[f.charCodeAt(B)]<<2|b[f.charCodeAt(B+1)]>>4,p[s++]=h&255),w===1&&(h=b[f.charCodeAt(B)]<<10|b[f.charCodeAt(B+1)]<<4|b[f.charCodeAt(B+2)]>>2,p[s++]=h>>8&255,p[s++]=h&255),p}function Ot(f){return _[f>>18&63]+_[f>>12&63]+_[f>>6&63]+_[f&63]}function $t(f,h,l){for(var y,w=[],p=h;p<l;p+=3)y=(f[p]<<16&16711680)+(f[p+1]<<8&65280)+(f[p+2]&255),w.push(Ot(y));return w.join("")}function jt(f){for(var h,l=f.length,y=l%3,w=[],p=16383,s=0,m=l-y;s<m;s+=p)w.push($t(f,s,s+p>m?m:s+p));return y===1?(h=f[l-1],w.push(_[h>>2]+_[h<<4&63]+"==")):y===2&&(h=(f[l-2]<<8)+f[l-1],w.push(_[h>>10]+_[h>>4&63]+_[h<<2&63]+"=")),w.join("")}var J={};/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */J.read=function(f,h,l,y,w){var p,s,m=w*8-y-1,B=(1<<m)-1,A=B>>1,o=-7,U=l?w-1:0,S=l?-1:1,R=f[h+U];for(U+=S,p=R&(1<<-o)-1,R>>=-o,o+=m;o>0;p=p*256+f[h+U],U+=S,o-=8);for(s=p&(1<<-o)-1,p>>=-o,o+=y;o>0;s=s*256+f[h+U],U+=S,o-=8);if(p===0)p=1-A;else{if(p===B)return s?NaN:(R?-1:1)*(1/0);s=s+Math.pow(2,y),p=p-A}return(R?-1:1)*s*Math.pow(2,p-y)};J.write=function(f,h,l,y,w,p){var s,m,B,A=p*8-w-1,o=(1<<A)-1,U=o>>1,S=w===23?Math.pow(2,-24)-Math.pow(2,-77):0,R=y?0:p-1,M=y?1:-1,G=h<0||h===0&&1/h<0?1:0;for(h=Math.abs(h),isNaN(h)||h===1/0?(m=isNaN(h)?1:0,s=o):(s=Math.floor(Math.log(h)/Math.LN2),h*(B=Math.pow(2,-s))<1&&(s--,B*=2),s+U>=1?h+=S/B:h+=S*Math.pow(2,1-U),h*B>=2&&(s++,B/=2),s+U>=o?(m=0,s=o):s+U>=1?(m=(h*B-1)*Math.pow(2,w),s=s+U):(m=h*Math.pow(2,U-1)*Math.pow(2,w),s=0));w>=8;f[l+R]=m&255,R+=M,m/=256,w-=8);for(s=s<<w|m,A+=w;A>0;f[l+R]=s&255,R+=M,s/=256,A-=8);f[l+R-M]|=G*128};/*!
2
2
  * The buffer module from node.js, for the browser.
3
3
  *
4
4
  * @author Feross Aboukhadijeh <https://feross.org>
@@ -1,4 +1,4 @@
1
- import "./vue-DKS68Dra.es.js";
1
+ import "./vue-DZ2Bmo1d.es.js";
2
2
  var I = {}, j = {};
3
3
  j.byteLength = Nr;
4
4
  j.toByteArray = Dr;