feffery_utils_components 0.3.2 → 0.3.3

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 (56) hide show
  1. package/DESCRIPTION +1 -1
  2. package/Project.toml +1 -1
  3. package/README-en_US.md +1 -1
  4. package/README.md +1 -1
  5. package/feffery_utils_components/FefferyDPlayer.py +11 -7
  6. package/feffery_utils_components/async-feffery_animated_3d_background_p5.js +1 -1
  7. package/feffery_utils_components/async-feffery_animated_3d_background_three.js +1 -1
  8. package/feffery_utils_components/async-feffery_animated_image.js +1 -1
  9. package/feffery_utils_components/async-feffery_animated_image.js.LICENSE.txt +1 -1
  10. package/feffery_utils_components/async-feffery_aplayer.js +1 -1
  11. package/feffery_utils_components/async-feffery_auto_animate.js +1 -1
  12. package/feffery_utils_components/async-feffery_auto_fit.js +1 -1
  13. package/feffery_utils_components/async-feffery_auto_fit.js.LICENSE.txt +1 -1
  14. package/feffery_utils_components/async-feffery_barcode.js +1 -1
  15. package/feffery_utils_components/async-feffery_burger.js +1 -1
  16. package/feffery_utils_components/async-feffery_captcha.js +1 -1
  17. package/feffery_utils_components/async-feffery_color_pickers.js +1 -1
  18. package/feffery_utils_components/async-feffery_dom2image.js +1 -1
  19. package/feffery_utils_components/async-feffery_dom2image.js.LICENSE.txt +1 -1
  20. package/feffery_utils_components/async-feffery_dplayer.js +1 -1
  21. package/feffery_utils_components/async-feffery_emoji_picker.js +1 -1
  22. package/feffery_utils_components/async-feffery_emoji_picker.js.LICENSE.txt +1 -1
  23. package/feffery_utils_components/async-feffery_excel_preview.js +1 -1
  24. package/feffery_utils_components/async-feffery_extra_spinner.js +1 -1
  25. package/feffery_utils_components/async-feffery_fancy_button.js +1 -1
  26. package/feffery_utils_components/async-feffery_grid.js +1 -1
  27. package/feffery_utils_components/async-feffery_http_requests.js +1 -1
  28. package/feffery_utils_components/async-feffery_http_requests.js.LICENSE.txt +1 -1
  29. package/feffery_utils_components/async-feffery_image_cropper.js +1 -1
  30. package/feffery_utils_components/async-feffery_json_viewer.js +1 -1
  31. package/feffery_utils_components/async-feffery_local_large_storage.js +1 -1
  32. package/feffery_utils_components/async-feffery_local_large_storage.js.LICENSE.txt +1 -1
  33. package/feffery_utils_components/async-feffery_markdown_editor.js +1 -1
  34. package/feffery_utils_components/async-feffery_motion.js +1 -1
  35. package/feffery_utils_components/async-feffery_music_player.js +1 -1
  36. package/feffery_utils_components/async-feffery_photo_sphere_viewer.js +1 -1
  37. package/feffery_utils_components/async-feffery_photo_sphere_viewer.js.LICENSE.txt +4 -2
  38. package/feffery_utils_components/async-feffery_resizable.js +1 -1
  39. package/feffery_utils_components/async-feffery_rich_text_editor.js +1 -1
  40. package/feffery_utils_components/async-feffery_rnd.js +1 -1
  41. package/feffery_utils_components/async-feffery_seamless_scroll.js +1 -1
  42. package/feffery_utils_components/async-feffery_shortcut_panel.js +2 -2
  43. package/feffery_utils_components/async-feffery_slider_captcha.js +1 -1
  44. package/feffery_utils_components/async-feffery_slider_captcha.js.LICENSE.txt +1 -1
  45. package/feffery_utils_components/async-feffery_sortable.js +1 -1
  46. package/feffery_utils_components/async-feffery_vditor.js +1 -1
  47. package/feffery_utils_components/async-feffery_vditor.js.LICENSE.txt +1 -1
  48. package/feffery_utils_components/async-feffery_word_preview.js +1 -1
  49. package/feffery_utils_components/async-fuc-shared.js +1 -1
  50. package/feffery_utils_components/feffery_utils_components.min.js +8 -8
  51. package/feffery_utils_components/feffery_utils_components.min.js.LICENSE.txt +1 -1
  52. package/feffery_utils_components/metadata.json +1 -1
  53. package/feffery_utils_components/package-info.json +2 -2
  54. package/package.json +2 -2
  55. package/webpack.config.js +1 -0
  56. package/.vscode/settings.json +0 -5
@@ -1,4 +1,4 @@
1
1
  /*! For license information please see async-feffery_word_preview.js.LICENSE.txt */
2
- (window.webpackJsonpfeffery_utils_components=window.webpackJsonpfeffery_utils_components||[]).push([[34],{1e3:function(e,t,r){"use strict";var n=r(187);e.exports=/ipad|iphone|ipod/i.test(n)&&"undefined"!=typeof Pebble},1001:function(e,t,r){"use strict";var n=r(187);e.exports=/web0s(?!.*chrome)/i.test(n)},1002:function(e,t,r){"use strict";e.exports=function(e,t){try{1===arguments.length?console.error(e):console.error(e,t)}catch(e){}}},1003:function(e,t,r){"use strict";var n=r(26),i=r(29),a=r(71),o=r(594),s=r(611),u=r(193);n({target:"Promise",stat:!0,forced:r(641)},{all:function(e){var t=this,r=o.f(t),n=r.resolve,l=r.reject,c=s((function(){var r=a(t.resolve),o=[],s=0,c=1;u(e,(function(e){var a=s++,u=!1;c++,i(r,t,e).then((function(e){u||(u=!0,o[a]=e,--c||n(o))}),l)})),--c||n(o)}));return c.error&&l(c.value),r.promise}})},1004:function(e,t,r){"use strict";var n=r(26),i=r(72),a=r(600).CONSTRUCTOR,o=r(593),s=r(56),u=r(18),l=r(47),c=o&&o.prototype;if(n({target:"Promise",proto:!0,forced:a,real:!0},{catch:function(e){return this.then(void 0,e)}}),!i&&u(o)){var h=s("Promise").prototype.catch;c.catch!==h&&l(c,"catch",h,{unsafe:!0})}},1005:function(e,t,r){"use strict";var n=r(26),i=r(29),a=r(71),o=r(594),s=r(611),u=r(193);n({target:"Promise",stat:!0,forced:r(641)},{race:function(e){var t=this,r=o.f(t),n=r.reject,l=s((function(){var o=a(t.resolve);u(e,(function(e){i(o,t,e).then(r.resolve,n)}))}));return l.error&&n(l.value),r.promise}})},1006:function(e,t,r){"use strict";var n=r(26),i=r(594);n({target:"Promise",stat:!0,forced:r(600).CONSTRUCTOR},{reject:function(e){var t=i.f(this);return(0,t.reject)(e),t.promise}})},1007:function(e,t,r){"use strict";var n=r(26),i=r(56),a=r(72),o=r(593),s=r(600).CONSTRUCTOR,u=r(709),l=i("Promise"),c=a&&!s;n({target:"Promise",stat:!0,forced:a||s},{resolve:function(e){return u(c&&this===l?o:this,e)}})},1008:function(e,t,r){"use strict";var n=r(26),i=r(72),a=r(593),o=r(8),s=r(56),u=r(18),l=r(704),c=r(709),h=r(47),f=a&&a.prototype;if(n({target:"Promise",proto:!0,real:!0,forced:!!a&&o((function(){f.finally.call({then:function(){}},(function(){}))}))},{finally:function(e){var t=l(this,s("Promise")),r=u(e);return this.then(r?function(r){return c(t,e()).then((function(){return r}))}:e,r?function(r){return c(t,e()).then((function(){throw r}))}:e)}}),!i&&u(a)){var d=s("Promise").prototype.finally;f.finally!==d&&h(f,"finally",d,{unsafe:!0})}},1009:function(e,t,r){"use strict";var n=r(15),i=r(34),a=r(144),o=r(355),s=r(8),u=n.RegExp,l=u.prototype;i&&s((function(){var e=!0;try{u(".","d")}catch(t){e=!1}var t={},r="",n=e?"dgimsy":"gimsy",i=function(e,n){Object.defineProperty(t,e,{get:function(){return r+=n,!0}})},a={dotAll:"s",global:"g",ignoreCase:"i",multiline:"m",sticky:"y"};for(var o in e&&(a.hasIndices="d"),a)i(o,a[o]);return Object.getOwnPropertyDescriptor(l,"flags").get.call(t)!==n||r!==n}))&&a(l,"flags",{configurable:!0,get:o})},1010:function(e,t,r){"use strict";var n=r(149).PROPER,i=r(47),a=r(32),o=r(40),s=r(8),u=r(1011),l=RegExp.prototype,c=l.toString,h=s((function(){return"/a/b"!==c.call({source:"a",flags:"b"})})),f=n&&"toString"!==c.name;(h||f)&&i(l,"toString",(function(){var e=a(this);return"/"+o(e.source)+"/"+o(u(e))}),{unsafe:!0})},1011:function(e,t,r){"use strict";var n=r(29),i=r(24),a=r(73),o=r(355),s=RegExp.prototype;e.exports=function(e){var t=e.flags;return void 0!==t||"flags"in s||i(e,"flags")||!a(s,e)?t:n(o,e)}},1012:function(e,t,r){"use strict";var n=r(26),i=r(6),a=r(710),o=r(66),s=r(40),u=r(711),l=i("".indexOf);n({target:"String",proto:!0,forced:!u("includes")},{includes:function(e){return!!~l(s(o(this)),s(a(e)),arguments.length>1?arguments[1]:void 0)}})},1013:function(e,t,r){"use strict";var n=r(28),i=r(50),a=r(23)("match");e.exports=function(e){var t;return n(e)&&(void 0!==(t=e[a])?!!t:"RegExp"===i(e))}},1014:function(e,t,r){"use strict";var n,i=r(26),a=r(352),o=r(106).f,s=r(145),u=r(40),l=r(710),c=r(66),h=r(711),f=r(72),d=a("".slice),p=Math.min,m=h("startsWith");i({target:"String",proto:!0,forced:!!(f||m||(n=o(String.prototype,"startsWith"),!n||n.writable))&&!m},{startsWith:function(e){var t=u(c(this));l(e);var r=s(p(arguments.length>1?arguments[1]:void 0,t.length)),n=u(e);return d(t,r,r+n.length)===n}})},1015:function(e,t,r){"use strict";var n=r(26),i=r(235).trim;n({target:"String",proto:!0,forced:r(1016)("trim")},{trim:function(){return i(this)}})},1016:function(e,t,r){"use strict";var n=r(149).PROPER,i=r(8),a=r(236);e.exports=function(e){return i((function(){return!!a[e]()||"​…᠎"!=="​…᠎"[e]()||n&&a[e].name!==e}))}},1017:function(e,t,r){"use strict";r(612)("Int32",(function(e){return function(t,r,n){return e(this,t,r,n)}}))},1018:function(e,t,r){"use strict";var n=r(28),i=Math.floor;e.exports=Number.isInteger||function(e){return!n(e)&&isFinite(e)&&i(e)===e}},1019:function(e,t,r){"use strict";var n=r(104),i=RangeError;e.exports=function(e){var t=n(e);if(t<0)throw new i("The argument can't be less than 0");return t}},1020:function(e,t,r){"use strict";var n=Math.round;e.exports=function(e){var t=n(e);return t<0?0:t>255?255:255&t}},1021:function(e,t,r){"use strict";var n=r(105);e.exports=function(e){var t=n(e);return"BigInt64Array"===t||"BigUint64Array"===t}},1022:function(e,t,r){"use strict";r(612)("Uint8",(function(e){return function(t,r,n){return e(this,t,r,n)}}))},1023:function(e,t,r){"use strict";r(612)("Uint16",(function(e){return function(t,r,n){return e(this,t,r,n)}}))},1024:function(e,t,r){"use strict";r(612)("Uint32",(function(e){return function(t,r,n){return e(this,t,r,n)}}))},1025:function(e,t,r){"use strict";var n=r(6),i=r(576),a=n(r(1026)),o=i.aTypedArray;(0,i.exportTypedArrayMethod)("copyWithin",(function(e,t){return a(o(this),e,t,arguments.length>2?arguments[2]:void 0)}))},1026:function(e,t,r){"use strict";var n=r(55),i=r(342),a=r(101),o=r(637),s=Math.min;e.exports=[].copyWithin||function(e,t){var r=n(this),u=a(r),l=i(e,u),c=i(t,u),h=arguments.length>2?arguments[2]:void 0,f=s((void 0===h?u:i(h,u))-c,u-l),d=1;for(c<l&&l<c+f&&(d=-1,c+=f-1,l+=f-1);f-- >0;)c in r?r[l]=r[c]:o(r,l),l+=d,c+=d;return r}},1027:function(e,t,r){"use strict";var n=r(576),i=r(141).every,a=n.aTypedArray;(0,n.exportTypedArrayMethod)("every",(function(e){return i(a(this),e,arguments.length>1?arguments[1]:void 0)}))},1028:function(e,t,r){"use strict";var n=r(576),i=r(636),a=r(715),o=r(105),s=r(29),u=r(6),l=r(8),c=n.aTypedArray,h=n.exportTypedArrayMethod,f=u("".slice);h("fill",(function(e){var t=arguments.length;c(this);var r="Big"===f(o(this),0,3)?a(e):+e;return s(i,this,r,t>1?arguments[1]:void 0,t>2?arguments[2]:void 0)}),l((function(){var e=0;return new Int8Array(2).fill({valueOf:function(){return e++}}),1!==e})))},1029:function(e,t,r){"use strict";var n=r(576),i=r(141).filter,a=r(1030),o=n.aTypedArray;(0,n.exportTypedArrayMethod)("filter",(function(e){var t=i(o(this),e,arguments.length>1?arguments[1]:void 0);return a(this,t)}))},1030:function(e,t,r){"use strict";var n=r(716),i=r(576).getTypedArrayConstructor;e.exports=function(e,t){return n(i(e),t)}},1031:function(e,t,r){"use strict";var n=r(576),i=r(141).find,a=n.aTypedArray;(0,n.exportTypedArrayMethod)("find",(function(e){return i(a(this),e,arguments.length>1?arguments[1]:void 0)}))},1032:function(e,t,r){"use strict";var n=r(576),i=r(141).findIndex,a=n.aTypedArray;(0,n.exportTypedArrayMethod)("findIndex",(function(e){return i(a(this),e,arguments.length>1?arguments[1]:void 0)}))},1033:function(e,t,r){"use strict";var n=r(576),i=r(141).forEach,a=n.aTypedArray;(0,n.exportTypedArrayMethod)("forEach",(function(e){i(a(this),e,arguments.length>1?arguments[1]:void 0)}))},1034:function(e,t,r){"use strict";var n=r(712);(0,r(576).exportTypedArrayStaticMethod)("from",r(714),n)},1035:function(e,t,r){"use strict";var n=r(576),i=r(347).includes,a=n.aTypedArray;(0,n.exportTypedArrayMethod)("includes",(function(e){return i(a(this),e,arguments.length>1?arguments[1]:void 0)}))},1036:function(e,t,r){"use strict";var n=r(576),i=r(347).indexOf,a=n.aTypedArray;(0,n.exportTypedArrayMethod)("indexOf",(function(e){return i(a(this),e,arguments.length>1?arguments[1]:void 0)}))},1037:function(e,t,r){"use strict";var n=r(15),i=r(8),a=r(6),o=r(576),s=r(150),u=r(23)("iterator"),l=n.Uint8Array,c=a(s.values),h=a(s.keys),f=a(s.entries),d=o.aTypedArray,p=o.exportTypedArrayMethod,m=l&&l.prototype,v=!i((function(){m[u].call([1])})),g=!!m&&m.values&&m[u]===m.values&&"values"===m.values.name,y=function(){return c(d(this))};p("entries",(function(){return f(d(this))}),v),p("keys",(function(){return h(d(this))}),v),p("values",y,v||!g,{name:"values"}),p(u,y,v||!g,{name:"values"})},1038:function(e,t,r){"use strict";var n=r(576),i=r(6),a=n.aTypedArray,o=n.exportTypedArrayMethod,s=i([].join);o("join",(function(e){return s(a(this),e)}))},1039:function(e,t,r){"use strict";var n=r(576),i=r(148),a=r(1040),o=n.aTypedArray;(0,n.exportTypedArrayMethod)("lastIndexOf",(function(e){var t=arguments.length;return i(a,o(this),t>1?[e,arguments[1]]:[e])}))},1040:function(e,t,r){"use strict";var n=r(148),i=r(63),a=r(104),o=r(101),s=r(345),u=Math.min,l=[].lastIndexOf,c=!!l&&1/[1].lastIndexOf(1,-0)<0,h=s("lastIndexOf"),f=c||!h;e.exports=f?function(e){if(c)return n(l,this,arguments)||0;var t=i(this),r=o(t);if(0===r)return-1;var s=r-1;for(arguments.length>1&&(s=u(s,a(arguments[1]))),s<0&&(s=r+s);s>=0;s--)if(s in t&&t[s]===e)return s||0;return-1}:l},1041:function(e,t,r){"use strict";var n=r(576),i=r(141).map,a=n.aTypedArray,o=n.getTypedArrayConstructor;(0,n.exportTypedArrayMethod)("map",(function(e){return i(a(this),e,arguments.length>1?arguments[1]:void 0,(function(e,t){return new(o(e))(t)}))}))},1042:function(e,t,r){"use strict";var n=r(576),i=r(354).left,a=n.aTypedArray;(0,n.exportTypedArrayMethod)("reduce",(function(e){var t=arguments.length;return i(a(this),e,t,t>1?arguments[1]:void 0)}))},1043:function(e,t,r){"use strict";var n=r(576),i=r(354).right,a=n.aTypedArray;(0,n.exportTypedArrayMethod)("reduceRight",(function(e){var t=arguments.length;return i(a(this),e,t,t>1?arguments[1]:void 0)}))},1044:function(e,t,r){"use strict";var n=r(576),i=n.aTypedArray,a=n.exportTypedArrayMethod,o=Math.floor;a("reverse",(function(){for(var e,t=i(this).length,r=o(t/2),n=0;n<r;)e=this[n],this[n++]=this[--t],this[t]=e;return this}))},1045:function(e,t,r){"use strict";var n=r(15),i=r(29),a=r(576),o=r(101),s=r(713),u=r(55),l=r(8),c=n.RangeError,h=n.Int8Array,f=h&&h.prototype,d=f&&f.set,p=a.aTypedArray,m=a.exportTypedArrayMethod,v=!l((function(){var e=new Uint8ClampedArray(2);return i(d,e,{length:1,0:3},1),3!==e[1]})),g=v&&a.NATIVE_ARRAY_BUFFER_VIEWS&&l((function(){var e=new h(2);return e.set(1),e.set("2",1),0!==e[0]||2!==e[1]}));m("set",(function(e){p(this);var t=s(arguments.length>1?arguments[1]:void 0,1),r=u(e);if(v)return i(d,this,r,t);var n=this.length,a=o(r),l=0;if(a+t>n)throw new c("Wrong length");for(;l<a;)this[t+l]=r[l++]}),!v||g)},1046:function(e,t,r){"use strict";var n=r(576),i=r(8),a=r(143),o=n.aTypedArray,s=n.getTypedArrayConstructor;(0,n.exportTypedArrayMethod)("slice",(function(e,t){for(var r=a(o(this),e,t),n=s(this),i=0,u=r.length,l=new n(u);u>i;)l[i]=r[i++];return l}),i((function(){new Int8Array(1).slice()})))},1047:function(e,t,r){"use strict";var n=r(576),i=r(141).some,a=n.aTypedArray;(0,n.exportTypedArrayMethod)("some",(function(e){return i(a(this),e,arguments.length>1?arguments[1]:void 0)}))},1048:function(e,t,r){"use strict";var n=r(15),i=r(352),a=r(8),o=r(71),s=r(638),u=r(576),l=r(698),c=r(699),h=r(146),f=r(700),d=u.aTypedArray,p=u.exportTypedArrayMethod,m=n.Uint16Array,v=m&&i(m.prototype.sort),g=!(!v||a((function(){v(new m(2),null)}))&&a((function(){v(new m(2),{})}))),y=!!v&&!a((function(){if(h)return h<74;if(l)return l<67;if(c)return!0;if(f)return f<602;var e,t,r=new m(516),n=Array(516);for(e=0;e<516;e++)t=e%4,r[e]=515-e,n[e]=e-2*t+3;for(v(r,(function(e,t){return(e/4|0)-(t/4|0)})),e=0;e<516;e++)if(r[e]!==n[e])return!0}));p("sort",(function(e){return void 0!==e&&o(e),y?v(this,e):s(d(this),function(e){return function(t,r){return void 0!==e?+e(t,r)||0:r!=r?-1:t!=t?1:0===t&&0===r?1/t>0&&1/r<0?1:-1:t>r}}(e))}),!y||g)},1049:function(e,t,r){"use strict";var n=r(576),i=r(145),a=r(342),o=n.aTypedArray,s=n.getTypedArrayConstructor;(0,n.exportTypedArrayMethod)("subarray",(function(e,t){var r=o(this),n=r.length,u=a(e,n);return new(s(r))(r.buffer,r.byteOffset+u*r.BYTES_PER_ELEMENT,i((void 0===t?n:a(t,n))-u))}))},1050:function(e,t,r){"use strict";var n=r(15),i=r(148),a=r(576),o=r(8),s=r(143),u=n.Int8Array,l=a.aTypedArray,c=a.exportTypedArrayMethod,h=[].toLocaleString,f=!!u&&o((function(){h.call(new u(1))}));c("toLocaleString",(function(){return i(h,f?s(l(this)):l(this),s(arguments))}),o((function(){return[1,2].toLocaleString()!==new u([1,2]).toLocaleString()}))||!o((function(){u.prototype.toLocaleString.call([1,2])})))},1051:function(e,t,r){"use strict";var n=r(576).exportTypedArrayMethod,i=r(8),a=r(15),o=r(6),s=a.Uint8Array,u=s&&s.prototype||{},l=[].toString,c=o([].join);i((function(){l.call({})}))&&(l=function(){return c(this)});var h=u.toString!==l;n("toString",l,h)},1052:function(e,t,r){"use strict";r(1053)},1053:function(e,t,r){"use strict";var n=r(26),i=r(15);n({global:!0,forced:i.globalThis!==i},{globalThis:i})},1054:function(e,t,r){"use strict";r(1055)},1055:function(e,t,r){"use strict";var n=r(26),i=r(29),a=r(71),o=r(594),s=r(611),u=r(193);n({target:"Promise",stat:!0,forced:r(641)},{allSettled:function(e){var t=this,r=o.f(t),n=r.resolve,l=r.reject,c=s((function(){var r=a(t.resolve),o=[],s=0,l=1;u(e,(function(e){var a=s++,u=!1;l++,i(r,t,e).then((function(e){u||(u=!0,o[a]={status:"fulfilled",value:e},--l||n(o))}),(function(e){u||(u=!0,o[a]={status:"rejected",reason:e},--l||n(o))}))})),--l||n(o)}));return c.error&&l(c.value),r.promise}})},1056:function(e,t,r){"use strict";var n=r(15),i=r(366),a=r(367),o=r(1057),s=r(84),u=function(e){if(e&&e.forEach!==o)try{s(e,"forEach",o)}catch(t){e.forEach=o}};for(var l in i)i[l]&&u(n[l]&&n[l].prototype);u(a)},1057:function(e,t,r){"use strict";var n=r(141).forEach,i=r(345)("forEach");e.exports=i?[].forEach:function(e){return n(this,e,arguments.length>1?arguments[1]:void 0)}},1058:function(e,t,r){"use strict";r(1059)},1059:function(e,t,r){"use strict";r(198);var n,i=r(26),a=r(34),o=r(717),s=r(15),u=r(186),l=r(6),c=r(47),h=r(144),f=r(189),d=r(24),p=r(361),m=r(697),v=r(143),g=r(239).codeAt,y=r(1060),b=r(40),w=r(83),k=r(640),_=r(718),S=r(64),x=S.set,E=S.getterFor("URL"),C=_.URLSearchParams,A=_.getState,P=s.URL,T=s.TypeError,R=s.parseInt,O=Math.floor,M=Math.pow,N=l("".charAt),B=l(/./.exec),I=l([].join),L=l(1..toString),j=l([].pop),D=l([].push),z=l("".replace),F=l([].shift),U=l("".split),W=l("".slice),H=l("".toLowerCase),q=l([].unshift),V=/[a-z]/i,Z=/[\d+-.a-z]/i,X=/\d/,G=/^0x/i,Y=/^[0-7]+$/,J=/^\d+$/,K=/^[\da-f]+$/i,$=/[\0\t\n\r #%/:<>?@[\\\]^|]/,Q=/[\0\t\n\r #/:<>?@[\\\]^|]/,ee=/^[\u0000-\u0020]+/,te=/(^|[^\u0000-\u0020])[\u0000-\u0020]+$/,re=/[\t\n\r]/g,ne=function(e){var t,r,n,i;if("number"==typeof e){for(t=[],r=0;r<4;r++)q(t,e%256),e=O(e/256);return I(t,".")}if("object"==typeof e){for(t="",n=function(e){for(var t=null,r=1,n=null,i=0,a=0;a<8;a++)0!==e[a]?(i>r&&(t=n,r=i),n=null,i=0):(null===n&&(n=a),++i);return i>r?n:t}(e),r=0;r<8;r++)i&&0===e[r]||(i&&(i=!1),n===r?(t+=r?":":"::",i=!0):(t+=L(e[r],16),r<7&&(t+=":")));return"["+t+"]"}return e},ie={},ae=p({},ie,{" ":1,'"':1,"<":1,">":1,"`":1}),oe=p({},ae,{"#":1,"?":1,"{":1,"}":1}),se=p({},oe,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),ue=function(e,t){var r=g(e,0);return r>32&&r<127&&!d(t,e)?e:encodeURIComponent(e)},le={ftp:21,file:null,http:80,https:443,ws:80,wss:443},ce=function(e,t){var r;return 2===e.length&&B(V,N(e,0))&&(":"===(r=N(e,1))||!t&&"|"===r)},he=function(e){var t;return e.length>1&&ce(W(e,0,2))&&(2===e.length||"/"===(t=N(e,2))||"\\"===t||"?"===t||"#"===t)},fe=function(e){return"."===e||"%2e"===H(e)},de={},pe={},me={},ve={},ge={},ye={},be={},we={},ke={},_e={},Se={},xe={},Ee={},Ce={},Ae={},Pe={},Te={},Re={},Oe={},Me={},Ne={},Be=function(e,t,r){var n,i,a,o=b(e);if(t){if(i=this.parse(o))throw new T(i);this.searchParams=null}else{if(void 0!==r&&(n=new Be(r,!0)),i=this.parse(o,null,n))throw new T(i);(a=A(new C)).bindURL(this),this.searchParams=a}};Be.prototype={type:"URL",parse:function(e,t,r){var i,a,o,s,u,l=this,c=t||de,h=0,f="",p=!1,g=!1,y=!1;for(e=b(e),t||(l.scheme="",l.username="",l.password="",l.host=null,l.port=null,l.path=[],l.query=null,l.fragment=null,l.cannotBeABaseURL=!1,e=z(e,ee,""),e=z(e,te,"$1")),e=z(e,re,""),i=m(e);h<=i.length;){switch(a=i[h],c){case de:if(!a||!B(V,a)){if(t)return"Invalid scheme";c=me;continue}f+=H(a),c=pe;break;case pe:if(a&&(B(Z,a)||"+"===a||"-"===a||"."===a))f+=H(a);else{if(":"!==a){if(t)return"Invalid scheme";f="",c=me,h=0;continue}if(t&&(l.isSpecial()!==d(le,f)||"file"===f&&(l.includesCredentials()||null!==l.port)||"file"===l.scheme&&!l.host))return;if(l.scheme=f,t)return void(l.isSpecial()&&le[l.scheme]===l.port&&(l.port=null));f="","file"===l.scheme?c=Ce:l.isSpecial()&&r&&r.scheme===l.scheme?c=ve:l.isSpecial()?c=we:"/"===i[h+1]?(c=ge,h++):(l.cannotBeABaseURL=!0,D(l.path,""),c=Oe)}break;case me:if(!r||r.cannotBeABaseURL&&"#"!==a)return"Invalid scheme";if(r.cannotBeABaseURL&&"#"===a){l.scheme=r.scheme,l.path=v(r.path),l.query=r.query,l.fragment="",l.cannotBeABaseURL=!0,c=Ne;break}c="file"===r.scheme?Ce:ye;continue;case ve:if("/"!==a||"/"!==i[h+1]){c=ye;continue}c=ke,h++;break;case ge:if("/"===a){c=_e;break}c=Re;continue;case ye:if(l.scheme=r.scheme,a===n)l.username=r.username,l.password=r.password,l.host=r.host,l.port=r.port,l.path=v(r.path),l.query=r.query;else if("/"===a||"\\"===a&&l.isSpecial())c=be;else if("?"===a)l.username=r.username,l.password=r.password,l.host=r.host,l.port=r.port,l.path=v(r.path),l.query="",c=Me;else{if("#"!==a){l.username=r.username,l.password=r.password,l.host=r.host,l.port=r.port,l.path=v(r.path),l.path.length--,c=Re;continue}l.username=r.username,l.password=r.password,l.host=r.host,l.port=r.port,l.path=v(r.path),l.query=r.query,l.fragment="",c=Ne}break;case be:if(!l.isSpecial()||"/"!==a&&"\\"!==a){if("/"!==a){l.username=r.username,l.password=r.password,l.host=r.host,l.port=r.port,c=Re;continue}c=_e}else c=ke;break;case we:if(c=ke,"/"!==a||"/"!==N(f,h+1))continue;h++;break;case ke:if("/"!==a&&"\\"!==a){c=_e;continue}break;case _e:if("@"===a){p&&(f="%40"+f),p=!0,o=m(f);for(var w=0;w<o.length;w++){var k=o[w];if(":"!==k||y){var _=ue(k,se);y?l.password+=_:l.username+=_}else y=!0}f=""}else if(a===n||"/"===a||"?"===a||"#"===a||"\\"===a&&l.isSpecial()){if(p&&""===f)return"Invalid authority";h-=m(f).length+1,f="",c=Se}else f+=a;break;case Se:case xe:if(t&&"file"===l.scheme){c=Pe;continue}if(":"!==a||g){if(a===n||"/"===a||"?"===a||"#"===a||"\\"===a&&l.isSpecial()){if(l.isSpecial()&&""===f)return"Invalid host";if(t&&""===f&&(l.includesCredentials()||null!==l.port))return;if(s=l.parseHost(f))return s;if(f="",c=Te,t)return;continue}"["===a?g=!0:"]"===a&&(g=!1),f+=a}else{if(""===f)return"Invalid host";if(s=l.parseHost(f))return s;if(f="",c=Ee,t===xe)return}break;case Ee:if(!B(X,a)){if(a===n||"/"===a||"?"===a||"#"===a||"\\"===a&&l.isSpecial()||t){if(""!==f){var S=R(f,10);if(S>65535)return"Invalid port";l.port=l.isSpecial()&&S===le[l.scheme]?null:S,f=""}if(t)return;c=Te;continue}return"Invalid port"}f+=a;break;case Ce:if(l.scheme="file","/"===a||"\\"===a)c=Ae;else{if(!r||"file"!==r.scheme){c=Re;continue}switch(a){case n:l.host=r.host,l.path=v(r.path),l.query=r.query;break;case"?":l.host=r.host,l.path=v(r.path),l.query="",c=Me;break;case"#":l.host=r.host,l.path=v(r.path),l.query=r.query,l.fragment="",c=Ne;break;default:he(I(v(i,h),""))||(l.host=r.host,l.path=v(r.path),l.shortenPath()),c=Re;continue}}break;case Ae:if("/"===a||"\\"===a){c=Pe;break}r&&"file"===r.scheme&&!he(I(v(i,h),""))&&(ce(r.path[0],!0)?D(l.path,r.path[0]):l.host=r.host),c=Re;continue;case Pe:if(a===n||"/"===a||"\\"===a||"?"===a||"#"===a){if(!t&&ce(f))c=Re;else if(""===f){if(l.host="",t)return;c=Te}else{if(s=l.parseHost(f))return s;if("localhost"===l.host&&(l.host=""),t)return;f="",c=Te}continue}f+=a;break;case Te:if(l.isSpecial()){if(c=Re,"/"!==a&&"\\"!==a)continue}else if(t||"?"!==a)if(t||"#"!==a){if(a!==n&&(c=Re,"/"!==a))continue}else l.fragment="",c=Ne;else l.query="",c=Me;break;case Re:if(a===n||"/"===a||"\\"===a&&l.isSpecial()||!t&&("?"===a||"#"===a)){if(".."===(u=H(u=f))||"%2e."===u||".%2e"===u||"%2e%2e"===u?(l.shortenPath(),"/"===a||"\\"===a&&l.isSpecial()||D(l.path,"")):fe(f)?"/"===a||"\\"===a&&l.isSpecial()||D(l.path,""):("file"===l.scheme&&!l.path.length&&ce(f)&&(l.host&&(l.host=""),f=N(f,0)+":"),D(l.path,f)),f="","file"===l.scheme&&(a===n||"?"===a||"#"===a))for(;l.path.length>1&&""===l.path[0];)F(l.path);"?"===a?(l.query="",c=Me):"#"===a&&(l.fragment="",c=Ne)}else f+=ue(a,oe);break;case Oe:"?"===a?(l.query="",c=Me):"#"===a?(l.fragment="",c=Ne):a!==n&&(l.path[0]+=ue(a,ie));break;case Me:t||"#"!==a?a!==n&&("'"===a&&l.isSpecial()?l.query+="%27":l.query+="#"===a?"%23":ue(a,ie)):(l.fragment="",c=Ne);break;case Ne:a!==n&&(l.fragment+=ue(a,ae))}h++}},parseHost:function(e){var t,r,n;if("["===N(e,0)){if("]"!==N(e,e.length-1))return"Invalid host";if(!(t=function(e){var t,r,n,i,a,o,s,u=[0,0,0,0,0,0,0,0],l=0,c=null,h=0,f=function(){return N(e,h)};if(":"===f()){if(":"!==N(e,1))return;h+=2,c=++l}for(;f();){if(8===l)return;if(":"!==f()){for(t=r=0;r<4&&B(K,f());)t=16*t+R(f(),16),h++,r++;if("."===f()){if(0===r)return;if(h-=r,l>6)return;for(n=0;f();){if(i=null,n>0){if(!("."===f()&&n<4))return;h++}if(!B(X,f()))return;for(;B(X,f());){if(a=R(f(),10),null===i)i=a;else{if(0===i)return;i=10*i+a}if(i>255)return;h++}u[l]=256*u[l]+i,2!==++n&&4!==n||l++}if(4!==n)return;break}if(":"===f()){if(h++,!f())return}else if(f())return;u[l++]=t}else{if(null!==c)return;h++,c=++l}}if(null!==c)for(o=l-c,l=7;0!==l&&o>0;)s=u[l],u[l--]=u[c+o-1],u[c+--o]=s;else if(8!==l)return;return u}(W(e,1,-1))))return"Invalid host";this.host=t}else if(this.isSpecial()){if(e=y(e),B($,e))return"Invalid host";if(null===(t=function(e){var t,r,n,i,a,o,s,u=U(e,".");if(u.length&&""===u[u.length-1]&&u.length--,(t=u.length)>4)return e;for(r=[],n=0;n<t;n++){if(""===(i=u[n]))return e;if(a=10,i.length>1&&"0"===N(i,0)&&(a=B(G,i)?16:8,i=W(i,8===a?1:2)),""===i)o=0;else{if(!B(10===a?J:8===a?Y:K,i))return e;o=R(i,a)}D(r,o)}for(n=0;n<t;n++)if(o=r[n],n===t-1){if(o>=M(256,5-t))return null}else if(o>255)return null;for(s=j(r),n=0;n<r.length;n++)s+=r[n]*M(256,3-n);return s}(e)))return"Invalid host";this.host=t}else{if(B(Q,e))return"Invalid host";for(t="",r=m(e),n=0;n<r.length;n++)t+=ue(r[n],ie);this.host=t}},cannotHaveUsernamePasswordPort:function(){return!this.host||this.cannotBeABaseURL||"file"===this.scheme},includesCredentials:function(){return""!==this.username||""!==this.password},isSpecial:function(){return d(le,this.scheme)},shortenPath:function(){var e=this.path,t=e.length;!t||"file"===this.scheme&&1===t&&ce(e[0],!0)||e.length--},serialize:function(){var e=this,t=e.scheme,r=e.username,n=e.password,i=e.host,a=e.port,o=e.path,s=e.query,u=e.fragment,l=t+":";return null!==i?(l+="//",e.includesCredentials()&&(l+=r+(n?":"+n:"")+"@"),l+=ne(i),null!==a&&(l+=":"+a)):"file"===t&&(l+="//"),l+=e.cannotBeABaseURL?o[0]:o.length?"/"+I(o,"/"):"",null!==s&&(l+="?"+s),null!==u&&(l+="#"+u),l},setHref:function(e){var t=this.parse(e);if(t)throw new T(t);this.searchParams.update()},getOrigin:function(){var e=this.scheme,t=this.port;if("blob"===e)try{return new Ie(e.path[0]).origin}catch(e){return"null"}return"file"!==e&&this.isSpecial()?e+"://"+ne(this.host)+(null!==t?":"+t:""):"null"},getProtocol:function(){return this.scheme+":"},setProtocol:function(e){this.parse(b(e)+":",de)},getUsername:function(){return this.username},setUsername:function(e){var t=m(b(e));if(!this.cannotHaveUsernamePasswordPort()){this.username="";for(var r=0;r<t.length;r++)this.username+=ue(t[r],se)}},getPassword:function(){return this.password},setPassword:function(e){var t=m(b(e));if(!this.cannotHaveUsernamePasswordPort()){this.password="";for(var r=0;r<t.length;r++)this.password+=ue(t[r],se)}},getHost:function(){var e=this.host,t=this.port;return null===e?"":null===t?ne(e):ne(e)+":"+t},setHost:function(e){this.cannotBeABaseURL||this.parse(e,Se)},getHostname:function(){var e=this.host;return null===e?"":ne(e)},setHostname:function(e){this.cannotBeABaseURL||this.parse(e,xe)},getPort:function(){var e=this.port;return null===e?"":b(e)},setPort:function(e){this.cannotHaveUsernamePasswordPort()||(""===(e=b(e))?this.port=null:this.parse(e,Ee))},getPathname:function(){var e=this.path;return this.cannotBeABaseURL?e[0]:e.length?"/"+I(e,"/"):""},setPathname:function(e){this.cannotBeABaseURL||(this.path=[],this.parse(e,Te))},getSearch:function(){var e=this.query;return e?"?"+e:""},setSearch:function(e){""===(e=b(e))?this.query=null:("?"===N(e,0)&&(e=W(e,1)),this.query="",this.parse(e,Me)),this.searchParams.update()},getSearchParams:function(){return this.searchParams.facade},getHash:function(){var e=this.fragment;return e?"#"+e:""},setHash:function(e){""!==(e=b(e))?("#"===N(e,0)&&(e=W(e,1)),this.fragment="",this.parse(e,Ne)):this.fragment=null},update:function(){this.query=this.searchParams.serialize()||null}};var Ie=function(e){var t=f(this,Le),r=k(arguments.length,1)>1?arguments[1]:void 0,n=x(t,new Be(e,!1,r));a||(t.href=n.serialize(),t.origin=n.getOrigin(),t.protocol=n.getProtocol(),t.username=n.getUsername(),t.password=n.getPassword(),t.host=n.getHost(),t.hostname=n.getHostname(),t.port=n.getPort(),t.pathname=n.getPathname(),t.search=n.getSearch(),t.searchParams=n.getSearchParams(),t.hash=n.getHash())},Le=Ie.prototype,je=function(e,t){return{get:function(){return E(this)[e]()},set:t&&function(e){return E(this)[t](e)},configurable:!0,enumerable:!0}};if(a&&(h(Le,"href",je("serialize","setHref")),h(Le,"origin",je("getOrigin")),h(Le,"protocol",je("getProtocol","setProtocol")),h(Le,"username",je("getUsername","setUsername")),h(Le,"password",je("getPassword","setPassword")),h(Le,"host",je("getHost","setHost")),h(Le,"hostname",je("getHostname","setHostname")),h(Le,"port",je("getPort","setPort")),h(Le,"pathname",je("getPathname","setPathname")),h(Le,"search",je("getSearch","setSearch")),h(Le,"searchParams",je("getSearchParams")),h(Le,"hash",je("getHash","setHash"))),c(Le,"toJSON",(function(){return E(this).serialize()}),{enumerable:!0}),c(Le,"toString",(function(){return E(this).serialize()}),{enumerable:!0}),P){var De=P.createObjectURL,ze=P.revokeObjectURL;De&&c(Ie,"createObjectURL",u(De,P)),ze&&c(Ie,"revokeObjectURL",u(ze,P))}w(Ie,"URL"),i({global:!0,constructor:!0,forced:!o,sham:!a},{URL:Ie})},1060:function(e,t,r){"use strict";var n=r(6),i=/[^\0-\u007E]/,a=/[.\u3002\uFF0E\uFF61]/g,o="Overflow: input needs wider integers to process",s=RangeError,u=n(a.exec),l=Math.floor,c=String.fromCharCode,h=n("".charCodeAt),f=n([].join),d=n([].push),p=n("".replace),m=n("".split),v=n("".toLowerCase),g=function(e){return e+22+75*(e<26)},y=function(e,t,r){var n=0;for(e=r?l(e/700):e>>1,e+=l(e/t);e>455;)e=l(e/35),n+=36;return l(n+36*e/(e+38))},b=function(e){var t,r,n=[],i=(e=function(e){for(var t=[],r=0,n=e.length;r<n;){var i=h(e,r++);if(i>=55296&&i<=56319&&r<n){var a=h(e,r++);56320==(64512&a)?d(t,((1023&i)<<10)+(1023&a)+65536):(d(t,i),r--)}else d(t,i)}return t}(e)).length,a=128,u=0,p=72;for(t=0;t<e.length;t++)(r=e[t])<128&&d(n,c(r));var m=n.length,v=m;for(m&&d(n,"-");v<i;){var b=2147483647;for(t=0;t<e.length;t++)(r=e[t])>=a&&r<b&&(b=r);var w=v+1;if(b-a>l((2147483647-u)/w))throw new s(o);for(u+=(b-a)*w,a=b,t=0;t<e.length;t++){if((r=e[t])<a&&++u>2147483647)throw new s(o);if(r===a){for(var k=u,_=36;;){var S=_<=p?1:_>=p+26?26:_-p;if(k<S)break;var x=k-S,E=36-S;d(n,c(g(S+x%E))),k=l(x/E),_+=36}d(n,c(g(k))),p=y(u,w,v===m),u=0,v++}}u++,a++}return f(n,"")};e.exports=function(e){var t,r,n=[],o=m(p(v(e),a,"."),".");for(t=0;t<o.length;t++)r=o[t],d(n,u(i,r)?"xn--"+b(r):r);return f(n,".")}},1061:function(e,t,r){"use strict";var n=r(26),i=r(6),a=r(342),o=RangeError,s=String.fromCharCode,u=String.fromCodePoint,l=i([].join);n({target:"String",stat:!0,arity:1,forced:!!u&&1!==u.length},{fromCodePoint:function(e){for(var t,r=[],n=arguments.length,i=0;n>i;){if(t=+arguments[i++],a(t,1114111)!==t)throw new o(t+" is not a valid code point");r[i]=t<65536?s(t):s(55296+((t-=65536)>>10),t%1024+56320)}return l(r,"")}})},1062:function(e,t,r){"use strict";var n=r(26),i=r(29);n({target:"URL",proto:!0,enumerable:!0},{toJSON:function(){return i(URL.prototype.toString,this)}})},1063:function(e,t,r){"use strict";r(718)},1064:function(e,t,r){e.exports=i;var n=r(613).EventEmitter;function i(){n.call(this)}r(595)(i,n),i.Readable=r(642),i.Writable=r(1072),i.Duplex=r(1073),i.Transform=r(1074),i.PassThrough=r(1075),i.Stream=i,i.prototype.pipe=function(e,t){var r=this;function i(t){e.writable&&!1===e.write(t)&&r.pause&&r.pause()}function a(){r.readable&&r.resume&&r.resume()}r.on("data",i),e.on("drain",a),e._isStdio||t&&!1===t.end||(r.on("end",s),r.on("close",u));var o=!1;function s(){o||(o=!0,e.end())}function u(){o||(o=!0,"function"==typeof e.destroy&&e.destroy())}function l(e){if(c(),0===n.listenerCount(this,"error"))throw e}function c(){r.removeListener("data",i),e.removeListener("drain",a),r.removeListener("end",s),r.removeListener("close",u),r.removeListener("error",l),e.removeListener("error",l),r.removeListener("end",c),r.removeListener("close",c),e.removeListener("close",c)}return r.on("error",l),e.on("error",l),r.on("end",c),r.on("close",c),e.on("close",c),e.emit("pipe",r),e}},1065:function(e,t){var r={}.toString;e.exports=Array.isArray||function(e){return"[object Array]"==r.call(e)}},1066:function(e,t){},1067:function(e,t,r){"use strict";var n=r(643).Buffer,i=r(1068);e.exports=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.head=null,this.tail=null,this.length=0}return e.prototype.push=function(e){var t={data:e,next:null};this.length>0?this.tail.next=t:this.head=t,this.tail=t,++this.length},e.prototype.unshift=function(e){var t={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length},e.prototype.shift=function(){if(0!==this.length){var e=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,e}},e.prototype.clear=function(){this.head=this.tail=null,this.length=0},e.prototype.join=function(e){if(0===this.length)return"";for(var t=this.head,r=""+t.data;t=t.next;)r+=e+t.data;return r},e.prototype.concat=function(e){if(0===this.length)return n.alloc(0);for(var t,r,i,a=n.allocUnsafe(e>>>0),o=this.head,s=0;o;)t=o.data,r=a,i=s,t.copy(r,i),s+=o.data.length,o=o.next;return a},e}(),i&&i.inspect&&i.inspect.custom&&(e.exports.prototype[i.inspect.custom]=function(){var e=i.inspect({length:this.length});return this.constructor.name+" "+e})},1068:function(e,t){},1069:function(e,t,r){(function(t){function r(e){try{if(!t.localStorage)return!1}catch(e){return!1}var r=t.localStorage[e];return null!=r&&"true"===String(r).toLowerCase()}e.exports=function(e,t){if(r("noDeprecation"))return e;var n=!1;return function(){if(!n){if(r("throwDeprecation"))throw new Error(t);r("traceDeprecation")?console.trace(t):console.warn(t),n=!0}return e.apply(this,arguments)}}}).call(this,r(36))},1070:function(e,t,r){var n=r(584),i=n.Buffer;function a(e,t){for(var r in e)t[r]=e[r]}function o(e,t,r){return i(e,t,r)}i.from&&i.alloc&&i.allocUnsafe&&i.allocUnsafeSlow?e.exports=n:(a(n,t),t.Buffer=o),o.prototype=Object.create(i.prototype),a(i,o),o.from=function(e,t,r){if("number"==typeof e)throw new TypeError("Argument must not be a number");return i(e,t,r)},o.alloc=function(e,t,r){if("number"!=typeof e)throw new TypeError("Argument must be a number");var n=i(e);return void 0!==t?"string"==typeof r?n.fill(t,r):n.fill(t):n.fill(0),n},o.allocUnsafe=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return i(e)},o.allocUnsafeSlow=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return n.SlowBuffer(e)}},1071:function(e,t,r){"use strict";e.exports=a;var n=r(723),i=Object.create(r(601));function a(e){if(!(this instanceof a))return new a(e);n.call(this,e)}i.inherits=r(595),i.inherits(a,n),a.prototype._transform=function(e,t,r){r(null,e)}},1072:function(e,t,r){e.exports=r(644)},1073:function(e,t,r){e.exports=r(586)},1074:function(e,t,r){e.exports=r(642).Transform},1075:function(e,t,r){e.exports=r(642).PassThrough},1076:function(e,t){e.exports=function(e){return e&&"object"==typeof e&&"function"==typeof e.copy&&"function"==typeof e.fill&&"function"==typeof e.readUInt8}},1077:function(e,t){"function"==typeof Object.create?e.exports=function(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}:e.exports=function(e,t){e.super_=t;var r=function(){};r.prototype=t.prototype,e.prototype=new r,e.prototype.constructor=e}},1078:function(e,t,r){var n=r(1079);"string"==typeof n&&(n=[[e.i,n,""]]);var i={insertAt:"top",hmr:!0,transform:void 0,insertInto:void 0};r(103)(n,i);n.locals&&(e.exports=n.locals)},1079:function(e,t,r){(t=r(102)(!1)).push([e.i,".vue-office-docx {\n height: 100%;\n overflow-y: auto;\n}\n.vue-office-docx .docx-wrapper > section.docx {\n margin-bottom: 5px;\n}\n@media screen and (max-width: 800px) {\n .vue-office-docx .docx-wrapper {\n padding: 10px;\n }\n .vue-office-docx .docx-wrapper > section.docx {\n padding: 10px!important;\n width: 100% !important;\n }\n}\n",""]),e.exports=t},543:function(e,t,r){"use strict";r.r(t);var n=r(1),i=r(960),a=(r(1078),r(70)),o=r(16),s=r(3),u=r(264),l=function(e){var t=e.id,r=e.style,u=e.className,l=e.src,c=(e.setProps,Object(n.useRef)(null));return Object(n.useEffect)((function(){if(c.current){var e=i.a.init(c.current,{});return e.preview(l).then((function(e){})).catch((function(e){})),function(){e.destroy()}}}),[l]),React.createElement("div",{id:t,className:Object(o.isString)(u)?u:u?Object(a.a)(u):void 0,style:r,ref:c,"data-dash-is-loading":Object(s.d)()})};t.default=l,l.defaultProps=u.b,l.propTypes=u.c},576:function(e,t,r){"use strict";var n,i,a,o=r(702),s=r(34),u=r(15),l=r(18),c=r(28),h=r(24),f=r(105),d=r(86),p=r(84),m=r(47),v=r(144),g=r(73),y=r(151),b=r(147),w=r(23),k=r(113),_=r(64),S=_.enforce,x=_.get,E=u.Int8Array,C=E&&E.prototype,A=u.Uint8ClampedArray,P=A&&A.prototype,T=E&&y(E),R=C&&y(C),O=Object.prototype,M=u.TypeError,N=w("toStringTag"),B=k("TYPED_ARRAY_TAG"),I=o&&!!b&&"Opera"!==f(u.opera),L=!1,j={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},D={BigInt64Array:8,BigUint64Array:8},z=function(e){var t=y(e);if(c(t)){var r=x(t);return r&&h(r,"TypedArrayConstructor")?r.TypedArrayConstructor:z(t)}},F=function(e){if(!c(e))return!1;var t=f(e);return h(j,t)||h(D,t)};for(n in j)(a=(i=u[n])&&i.prototype)?S(a).TypedArrayConstructor=i:I=!1;for(n in D)(a=(i=u[n])&&i.prototype)&&(S(a).TypedArrayConstructor=i);if((!I||!l(T)||T===Function.prototype)&&(T=function(){throw new M("Incorrect invocation")},I))for(n in j)u[n]&&b(u[n],T);if((!I||!R||R===O)&&(R=T.prototype,I))for(n in j)u[n]&&b(u[n].prototype,R);if(I&&y(P)!==R&&b(P,R),s&&!h(R,N))for(n in L=!0,v(R,N,{configurable:!0,get:function(){return c(this)?this[B]:void 0}}),j)u[n]&&p(u[n],B,n);e.exports={NATIVE_ARRAY_BUFFER_VIEWS:I,TYPED_ARRAY_TAG:L&&B,aTypedArray:function(e){if(F(e))return e;throw new M("Target is not a typed array")},aTypedArrayConstructor:function(e){if(l(e)&&(!b||g(T,e)))return e;throw new M(d(e)+" is not a typed array constructor")},exportTypedArrayMethod:function(e,t,r,n){if(s){if(r)for(var i in j){var a=u[i];if(a&&h(a.prototype,e))try{delete a.prototype[e]}catch(r){try{a.prototype[e]=t}catch(e){}}}R[e]&&!r||m(R,e,r?t:I&&C[e]||t,n)}},exportTypedArrayStaticMethod:function(e,t,r){var n,i;if(s){if(b){if(r)for(n in j)if((i=u[n])&&h(i,e))try{delete i[e]}catch(e){}if(T[e]&&!r)return;try{return m(T,e,r?t:I&&T[e]||t)}catch(e){}}for(n in j)!(i=u[n])||i[e]&&!r||m(i,e,t)}},getTypedArrayConstructor:z,isView:function(e){if(!c(e))return!1;var t=f(e);return"DataView"===t||h(j,t)||h(D,t)},isTypedArray:F,TypedArray:T,TypedArrayPrototype:R}},586:function(e,t,r){"use strict";var n=r(614),i=Object.keys||function(e){var t=[];for(var r in e)t.push(r);return t};e.exports=h;var a=Object.create(r(601));a.inherits=r(595);var o=r(719),s=r(644);a.inherits(h,o);for(var u=i(s.prototype),l=0;l<u.length;l++){var c=u[l];h.prototype[c]||(h.prototype[c]=s.prototype[c])}function h(e){if(!(this instanceof h))return new h(e);o.call(this,e),s.call(this,e),e&&!1===e.readable&&(this.readable=!1),e&&!1===e.writable&&(this.writable=!1),this.allowHalfOpen=!0,e&&!1===e.allowHalfOpen&&(this.allowHalfOpen=!1),this.once("end",f)}function f(){this.allowHalfOpen||this._writableState.ended||n.nextTick(d,this)}function d(e){e.end()}Object.defineProperty(h.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(h.prototype,"destroyed",{get:function(){return void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed&&this._writableState.destroyed)},set:function(e){void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed=e,this._writableState.destroyed=e)}}),h.prototype._destroy=function(e,t){this.push(null),this.end(),n.nextTick(t,e)}},593:function(e,t,r){"use strict";var n=r(15);e.exports=n.Promise},594:function(e,t,r){"use strict";var n=r(71),i=TypeError,a=function(e){var t,r;this.promise=new e((function(e,n){if(void 0!==t||void 0!==r)throw new i("Bad Promise constructor");t=e,r=n})),this.resolve=n(t),this.reject=n(r)};e.exports.f=function(e){return new a(e)}},595:function(e,t){"function"==typeof Object.create?e.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:e.exports=function(e,t){if(t){e.super_=t;var r=function(){};r.prototype=t.prototype,e.prototype=new r,e.prototype.constructor=e}}},599:function(e,t,r){"use strict";var n=r(34),i=r(37),a=r(107);e.exports=function(e,t,r){n?i.f(e,t,a(0,r)):e[t]=r}},600:function(e,t,r){"use strict";var n=r(15),i=r(593),a=r(18),o=r(158),s=r(233),u=r(23),l=r(368),c=r(72),h=r(146),f=i&&i.prototype,d=u("species"),p=!1,m=a(n.PromiseRejectionEvent),v=o("Promise",(function(){var e=s(i),t=e!==String(i);if(!t&&66===h)return!0;if(c&&(!f.catch||!f.finally))return!0;if(!h||h<51||!/native code/.test(e)){var r=new i((function(e){e(1)})),n=function(e){e((function(){}),(function(){}))};if((r.constructor={})[d]=n,!(p=r.then((function(){}))instanceof n))return!0}return!(t||"BROWSER"!==l&&"DENO"!==l||m)}));e.exports={CONSTRUCTOR:v,REJECTION_EVENT:m,SUBCLASSING:p}},601:function(e,t,r){function n(e){return Object.prototype.toString.call(e)}t.isArray=function(e){return Array.isArray?Array.isArray(e):"[object Array]"===n(e)},t.isBoolean=function(e){return"boolean"==typeof e},t.isNull=function(e){return null===e},t.isNullOrUndefined=function(e){return null==e},t.isNumber=function(e){return"number"==typeof e},t.isString=function(e){return"string"==typeof e},t.isSymbol=function(e){return"symbol"==typeof e},t.isUndefined=function(e){return void 0===e},t.isRegExp=function(e){return"[object RegExp]"===n(e)},t.isObject=function(e){return"object"==typeof e&&null!==e},t.isDate=function(e){return"[object Date]"===n(e)},t.isError=function(e){return"[object Error]"===n(e)||e instanceof Error},t.isFunction=function(e){return"function"==typeof e},t.isPrimitive=function(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||void 0===e},t.isBuffer=r(584).Buffer.isBuffer},611:function(e,t,r){"use strict";e.exports=function(e){try{return{error:!1,value:e()}}catch(e){return{error:!0,value:e}}}},612:function(e,t,r){"use strict";var n=r(26),i=r(15),a=r(29),o=r(34),s=r(712),u=r(576),l=r(701),c=r(189),h=r(107),f=r(84),d=r(1018),p=r(145),m=r(703),v=r(713),g=r(1020),y=r(156),b=r(24),w=r(105),k=r(28),_=r(87),S=r(75),x=r(73),E=r(147),C=r(88).f,A=r(714),P=r(141).forEach,T=r(639),R=r(144),O=r(37),M=r(106),N=r(716),B=r(64),I=r(200),L=B.get,j=B.set,D=B.enforce,z=O.f,F=M.f,U=i.RangeError,W=l.ArrayBuffer,H=W.prototype,q=l.DataView,V=u.NATIVE_ARRAY_BUFFER_VIEWS,Z=u.TYPED_ARRAY_TAG,X=u.TypedArray,G=u.TypedArrayPrototype,Y=u.isTypedArray,J=function(e,t){R(e,t,{configurable:!0,get:function(){return L(this)[t]}})},K=function(e){var t;return x(H,e)||"ArrayBuffer"===(t=w(e))||"SharedArrayBuffer"===t},$=function(e,t){return Y(e)&&!_(t)&&t in e&&d(+t)&&t>=0},Q=function(e,t){return t=y(t),$(e,t)?h(2,e[t]):F(e,t)},ee=function(e,t,r){return t=y(t),!($(e,t)&&k(r)&&b(r,"value"))||b(r,"get")||b(r,"set")||r.configurable||b(r,"writable")&&!r.writable||b(r,"enumerable")&&!r.enumerable?z(e,t,r):(e[t]=r.value,e)};o?(V||(M.f=Q,O.f=ee,J(G,"buffer"),J(G,"byteOffset"),J(G,"byteLength"),J(G,"length")),n({target:"Object",stat:!0,forced:!V},{getOwnPropertyDescriptor:Q,defineProperty:ee}),e.exports=function(e,t,r){var o=e.match(/\d+/)[0]/8,u=e+(r?"Clamped":"")+"Array",l="get"+e,h="set"+e,d=i[u],y=d,b=y&&y.prototype,w={},_=function(e,t){z(e,t,{get:function(){return function(e,t){var r=L(e);return r.view[l](t*o+r.byteOffset,!0)}(this,t)},set:function(e){return function(e,t,n){var i=L(e);i.view[h](t*o+i.byteOffset,r?g(n):n,!0)}(this,t,e)},enumerable:!0})};V?s&&(y=t((function(e,t,r,n){return c(e,b),I(k(t)?K(t)?void 0!==n?new d(t,v(r,o),n):void 0!==r?new d(t,v(r,o)):new d(t):Y(t)?N(y,t):a(A,y,t):new d(m(t)),e,y)})),E&&E(y,X),P(C(d),(function(e){e in y||f(y,e,d[e])})),y.prototype=b):(y=t((function(e,t,r,n){c(e,b);var i,s,u,l=0,h=0;if(k(t)){if(!K(t))return Y(t)?N(y,t):a(A,y,t);i=t,h=v(r,o);var f=t.byteLength;if(void 0===n){if(f%o)throw new U("Wrong length");if((s=f-h)<0)throw new U("Wrong length")}else if((s=p(n)*o)+h>f)throw new U("Wrong length");u=s/o}else u=m(t),i=new W(s=u*o);for(j(e,{buffer:i,byteOffset:h,byteLength:s,length:u,view:new q(i)});l<u;)_(e,l++)})),E&&E(y,X),b=y.prototype=S(G)),b.constructor!==y&&f(b,"constructor",y),D(b).TypedArrayConstructor=y,Z&&f(b,Z,u);var x=y!==d;w[u]=y,n({global:!0,constructor:!0,forced:x,sham:!V},w),"BYTES_PER_ELEMENT"in y||f(y,"BYTES_PER_ELEMENT",o),"BYTES_PER_ELEMENT"in b||f(b,"BYTES_PER_ELEMENT",o),T(u)}):e.exports=function(){}},613:function(e,t,r){"use strict";var n,i="object"==typeof Reflect?Reflect:null,a=i&&"function"==typeof i.apply?i.apply:function(e,t,r){return Function.prototype.apply.call(e,t,r)};n=i&&"function"==typeof i.ownKeys?i.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var o=Number.isNaN||function(e){return e!=e};function s(){s.init.call(this)}e.exports=s,e.exports.once=function(e,t){return new Promise((function(r,n){function i(r){e.removeListener(t,a),n(r)}function a(){"function"==typeof e.removeListener&&e.removeListener("error",i),r([].slice.call(arguments))}g(e,t,a,{once:!0}),"error"!==t&&function(e,t,r){"function"==typeof e.on&&g(e,"error",t,r)}(e,i,{once:!0})}))},s.EventEmitter=s,s.prototype._events=void 0,s.prototype._eventsCount=0,s.prototype._maxListeners=void 0;var u=10;function l(e){if("function"!=typeof e)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function c(e){return void 0===e._maxListeners?s.defaultMaxListeners:e._maxListeners}function h(e,t,r,n){var i,a,o,s;if(l(r),void 0===(a=e._events)?(a=e._events=Object.create(null),e._eventsCount=0):(void 0!==a.newListener&&(e.emit("newListener",t,r.listener?r.listener:r),a=e._events),o=a[t]),void 0===o)o=a[t]=r,++e._eventsCount;else if("function"==typeof o?o=a[t]=n?[r,o]:[o,r]:n?o.unshift(r):o.push(r),(i=c(e))>0&&o.length>i&&!o.warned){o.warned=!0;var u=new Error("Possible EventEmitter memory leak detected. "+o.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");u.name="MaxListenersExceededWarning",u.emitter=e,u.type=t,u.count=o.length,s=u,console&&console.warn&&console.warn(s)}return e}function f(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function d(e,t,r){var n={fired:!1,wrapFn:void 0,target:e,type:t,listener:r},i=f.bind(n);return i.listener=r,n.wrapFn=i,i}function p(e,t,r){var n=e._events;if(void 0===n)return[];var i=n[t];return void 0===i?[]:"function"==typeof i?r?[i.listener||i]:[i]:r?function(e){for(var t=new Array(e.length),r=0;r<t.length;++r)t[r]=e[r].listener||e[r];return t}(i):v(i,i.length)}function m(e){var t=this._events;if(void 0!==t){var r=t[e];if("function"==typeof r)return 1;if(void 0!==r)return r.length}return 0}function v(e,t){for(var r=new Array(t),n=0;n<t;++n)r[n]=e[n];return r}function g(e,t,r,n){if("function"==typeof e.on)n.once?e.once(t,r):e.on(t,r);else{if("function"!=typeof e.addEventListener)throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof e);e.addEventListener(t,(function i(a){n.once&&e.removeEventListener(t,i),r(a)}))}}Object.defineProperty(s,"defaultMaxListeners",{enumerable:!0,get:function(){return u},set:function(e){if("number"!=typeof e||e<0||o(e))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+e+".");u=e}}),s.init=function(){void 0!==this._events&&this._events!==Object.getPrototypeOf(this)._events||(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},s.prototype.setMaxListeners=function(e){if("number"!=typeof e||e<0||o(e))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+e+".");return this._maxListeners=e,this},s.prototype.getMaxListeners=function(){return c(this)},s.prototype.emit=function(e){for(var t=[],r=1;r<arguments.length;r++)t.push(arguments[r]);var n="error"===e,i=this._events;if(void 0!==i)n=n&&void 0===i.error;else if(!n)return!1;if(n){var o;if(t.length>0&&(o=t[0]),o instanceof Error)throw o;var s=new Error("Unhandled error."+(o?" ("+o.message+")":""));throw s.context=o,s}var u=i[e];if(void 0===u)return!1;if("function"==typeof u)a(u,this,t);else{var l=u.length,c=v(u,l);for(r=0;r<l;++r)a(c[r],this,t)}return!0},s.prototype.addListener=function(e,t){return h(this,e,t,!1)},s.prototype.on=s.prototype.addListener,s.prototype.prependListener=function(e,t){return h(this,e,t,!0)},s.prototype.once=function(e,t){return l(t),this.on(e,d(this,e,t)),this},s.prototype.prependOnceListener=function(e,t){return l(t),this.prependListener(e,d(this,e,t)),this},s.prototype.removeListener=function(e,t){var r,n,i,a,o;if(l(t),void 0===(n=this._events))return this;if(void 0===(r=n[e]))return this;if(r===t||r.listener===t)0==--this._eventsCount?this._events=Object.create(null):(delete n[e],n.removeListener&&this.emit("removeListener",e,r.listener||t));else if("function"!=typeof r){for(i=-1,a=r.length-1;a>=0;a--)if(r[a]===t||r[a].listener===t){o=r[a].listener,i=a;break}if(i<0)return this;0===i?r.shift():function(e,t){for(;t+1<e.length;t++)e[t]=e[t+1];e.pop()}(r,i),1===r.length&&(n[e]=r[0]),void 0!==n.removeListener&&this.emit("removeListener",e,o||t)}return this},s.prototype.off=s.prototype.removeListener,s.prototype.removeAllListeners=function(e){var t,r,n;if(void 0===(r=this._events))return this;if(void 0===r.removeListener)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==r[e]&&(0==--this._eventsCount?this._events=Object.create(null):delete r[e]),this;if(0===arguments.length){var i,a=Object.keys(r);for(n=0;n<a.length;++n)"removeListener"!==(i=a[n])&&this.removeAllListeners(i);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if("function"==typeof(t=r[e]))this.removeListener(e,t);else if(void 0!==t)for(n=t.length-1;n>=0;n--)this.removeListener(e,t[n]);return this},s.prototype.listeners=function(e){return p(this,e,!0)},s.prototype.rawListeners=function(e){return p(this,e,!1)},s.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):m.call(e,t)},s.prototype.listenerCount=m,s.prototype.eventNames=function(){return this._eventsCount>0?n(this._events):[]}},614:function(e,t,r){"use strict";(function(t){void 0===t||!t.version||0===t.version.indexOf("v0.")||0===t.version.indexOf("v1.")&&0!==t.version.indexOf("v1.8.")?e.exports={nextTick:function(e,r,n,i){if("function"!=typeof e)throw new TypeError('"callback" argument must be a function');var a,o,s=arguments.length;switch(s){case 0:case 1:return t.nextTick(e);case 2:return t.nextTick((function(){e.call(null,r)}));case 3:return t.nextTick((function(){e.call(null,r,n)}));case 4:return t.nextTick((function(){e.call(null,r,n,i)}));default:for(a=new Array(s-1),o=0;o<a.length;)a[o++]=arguments[o];return t.nextTick((function(){e.apply(null,a)}))}}}:e.exports=t}).call(this,r(341))},635:function(e,t,r){"use strict";var n=TypeError;e.exports=function(e){if(e>9007199254740991)throw n("Maximum allowed index exceeded");return e}},636:function(e,t,r){"use strict";var n=r(55),i=r(342),a=r(101);e.exports=function(e){for(var t=n(this),r=a(t),o=arguments.length,s=i(o>1?arguments[1]:void 0,r),u=o>2?arguments[2]:void 0,l=void 0===u?r:i(u,r);l>s;)t[s++]=e;return t}},637:function(e,t,r){"use strict";var n=r(86),i=TypeError;e.exports=function(e,t){if(!delete e[t])throw new i("Cannot delete property "+n(t)+" of "+n(e))}},638:function(e,t,r){"use strict";var n=r(143),i=Math.floor,a=function(e,t){var r=e.length;if(r<8)for(var o,s,u=1;u<r;){for(s=u,o=e[u];s&&t(e[s-1],o)>0;)e[s]=e[--s];s!==u++&&(e[s]=o)}else for(var l=i(r/2),c=a(n(e,0,l),t),h=a(n(e,l),t),f=c.length,d=h.length,p=0,m=0;p<f||m<d;)e[p+m]=p<f&&m<d?t(c[p],h[m])<=0?c[p++]:h[m++]:p<f?c[p++]:h[m++];return e};e.exports=a},639:function(e,t,r){"use strict";var n=r(56),i=r(144),a=r(23),o=r(34),s=a("species");e.exports=function(e){var t=n(e);o&&t&&!t[s]&&i(t,s,{configurable:!0,get:function(){return this}})}},640:function(e,t,r){"use strict";var n=TypeError;e.exports=function(e,t){if(e<t)throw new n("Not enough arguments");return e}},641:function(e,t,r){"use strict";var n=r(593),i=r(350),a=r(600).CONSTRUCTOR;e.exports=a||!i((function(e){n.all(e).then(void 0,(function(){}))}))},642:function(e,t,r){(t=e.exports=r(719)).Stream=t,t.Readable=t,t.Writable=r(644),t.Duplex=r(586),t.Transform=r(723),t.PassThrough=r(1071)},643:function(e,t,r){var n=r(584),i=n.Buffer;function a(e,t){for(var r in e)t[r]=e[r]}function o(e,t,r){return i(e,t,r)}i.from&&i.alloc&&i.allocUnsafe&&i.allocUnsafeSlow?e.exports=n:(a(n,t),t.Buffer=o),a(i,o),o.from=function(e,t,r){if("number"==typeof e)throw new TypeError("Argument must not be a number");return i(e,t,r)},o.alloc=function(e,t,r){if("number"!=typeof e)throw new TypeError("Argument must be a number");var n=i(e);return void 0!==t?"string"==typeof r?n.fill(t,r):n.fill(t):n.fill(0),n},o.allocUnsafe=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return i(e)},o.allocUnsafeSlow=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return n.SlowBuffer(e)}},644:function(e,t,r){"use strict";(function(t,n,i){var a=r(614);function o(e){var t=this;this.next=null,this.entry=null,this.finish=function(){!function(e,t,r){var n=e.entry;e.entry=null;for(;n;){var i=n.callback;t.pendingcb--,i(r),n=n.next}t.corkedRequestsFree.next=e}(t,e)}}e.exports=y;var s,u=!t.browser&&["v0.10","v0.9."].indexOf(t.version.slice(0,5))>-1?n:a.nextTick;y.WritableState=g;var l=Object.create(r(601));l.inherits=r(595);var c={deprecate:r(1069)},h=r(720),f=r(643).Buffer,d=(void 0!==i?i:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{}).Uint8Array||function(){};var p,m=r(721);function v(){}function g(e,t){s=s||r(586),e=e||{};var n=t instanceof s;this.objectMode=!!e.objectMode,n&&(this.objectMode=this.objectMode||!!e.writableObjectMode);var i=e.highWaterMark,l=e.writableHighWaterMark,c=this.objectMode?16:16384;this.highWaterMark=i||0===i?i:n&&(l||0===l)?l:c,this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var h=!1===e.decodeStrings;this.decodeStrings=!h,this.defaultEncoding=e.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(e){!function(e,t){var r=e._writableState,n=r.sync,i=r.writecb;if(function(e){e.writing=!1,e.writecb=null,e.length-=e.writelen,e.writelen=0}(r),t)!function(e,t,r,n,i){--t.pendingcb,r?(a.nextTick(i,n),a.nextTick(x,e,t),e._writableState.errorEmitted=!0,e.emit("error",n)):(i(n),e._writableState.errorEmitted=!0,e.emit("error",n),x(e,t))}(e,r,n,t,i);else{var o=_(r);o||r.corked||r.bufferProcessing||!r.bufferedRequest||k(e,r),n?u(w,e,r,o,i):w(e,r,o,i)}}(t,e)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new o(this)}function y(e){if(s=s||r(586),!(p.call(y,this)||this instanceof s))return new y(e);this._writableState=new g(e,this),this.writable=!0,e&&("function"==typeof e.write&&(this._write=e.write),"function"==typeof e.writev&&(this._writev=e.writev),"function"==typeof e.destroy&&(this._destroy=e.destroy),"function"==typeof e.final&&(this._final=e.final)),h.call(this)}function b(e,t,r,n,i,a,o){t.writelen=n,t.writecb=o,t.writing=!0,t.sync=!0,r?e._writev(i,t.onwrite):e._write(i,a,t.onwrite),t.sync=!1}function w(e,t,r,n){r||function(e,t){0===t.length&&t.needDrain&&(t.needDrain=!1,e.emit("drain"))}(e,t),t.pendingcb--,n(),x(e,t)}function k(e,t){t.bufferProcessing=!0;var r=t.bufferedRequest;if(e._writev&&r&&r.next){var n=t.bufferedRequestCount,i=new Array(n),a=t.corkedRequestsFree;a.entry=r;for(var s=0,u=!0;r;)i[s]=r,r.isBuf||(u=!1),r=r.next,s+=1;i.allBuffers=u,b(e,t,!0,t.length,i,"",a.finish),t.pendingcb++,t.lastBufferedRequest=null,a.next?(t.corkedRequestsFree=a.next,a.next=null):t.corkedRequestsFree=new o(t),t.bufferedRequestCount=0}else{for(;r;){var l=r.chunk,c=r.encoding,h=r.callback;if(b(e,t,!1,t.objectMode?1:l.length,l,c,h),r=r.next,t.bufferedRequestCount--,t.writing)break}null===r&&(t.lastBufferedRequest=null)}t.bufferedRequest=r,t.bufferProcessing=!1}function _(e){return e.ending&&0===e.length&&null===e.bufferedRequest&&!e.finished&&!e.writing}function S(e,t){e._final((function(r){t.pendingcb--,r&&e.emit("error",r),t.prefinished=!0,e.emit("prefinish"),x(e,t)}))}function x(e,t){var r=_(t);return r&&(!function(e,t){t.prefinished||t.finalCalled||("function"==typeof e._final?(t.pendingcb++,t.finalCalled=!0,a.nextTick(S,e,t)):(t.prefinished=!0,e.emit("prefinish")))}(e,t),0===t.pendingcb&&(t.finished=!0,e.emit("finish"))),r}l.inherits(y,h),g.prototype.getBuffer=function(){for(var e=this.bufferedRequest,t=[];e;)t.push(e),e=e.next;return t},function(){try{Object.defineProperty(g.prototype,"buffer",{get:c.deprecate((function(){return this.getBuffer()}),"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(e){}}(),"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?(p=Function.prototype[Symbol.hasInstance],Object.defineProperty(y,Symbol.hasInstance,{value:function(e){return!!p.call(this,e)||this===y&&(e&&e._writableState instanceof g)}})):p=function(e){return e instanceof this},y.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))},y.prototype.write=function(e,t,r){var n,i=this._writableState,o=!1,s=!i.objectMode&&(n=e,f.isBuffer(n)||n instanceof d);return s&&!f.isBuffer(e)&&(e=function(e){return f.from(e)}(e)),"function"==typeof t&&(r=t,t=null),s?t="buffer":t||(t=i.defaultEncoding),"function"!=typeof r&&(r=v),i.ended?function(e,t){var r=new Error("write after end");e.emit("error",r),a.nextTick(t,r)}(this,r):(s||function(e,t,r,n){var i=!0,o=!1;return null===r?o=new TypeError("May not write null values to stream"):"string"==typeof r||void 0===r||t.objectMode||(o=new TypeError("Invalid non-string/buffer chunk")),o&&(e.emit("error",o),a.nextTick(n,o),i=!1),i}(this,i,e,r))&&(i.pendingcb++,o=function(e,t,r,n,i,a){if(!r){var o=function(e,t,r){e.objectMode||!1===e.decodeStrings||"string"!=typeof t||(t=f.from(t,r));return t}(t,n,i);n!==o&&(r=!0,i="buffer",n=o)}var s=t.objectMode?1:n.length;t.length+=s;var u=t.length<t.highWaterMark;u||(t.needDrain=!0);if(t.writing||t.corked){var l=t.lastBufferedRequest;t.lastBufferedRequest={chunk:n,encoding:i,isBuf:r,callback:a,next:null},l?l.next=t.lastBufferedRequest:t.bufferedRequest=t.lastBufferedRequest,t.bufferedRequestCount+=1}else b(e,t,!1,s,n,i,a);return u}(this,i,s,e,t,r)),o},y.prototype.cork=function(){this._writableState.corked++},y.prototype.uncork=function(){var e=this._writableState;e.corked&&(e.corked--,e.writing||e.corked||e.bufferProcessing||!e.bufferedRequest||k(this,e))},y.prototype.setDefaultEncoding=function(e){if("string"==typeof e&&(e=e.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((e+"").toLowerCase())>-1))throw new TypeError("Unknown encoding: "+e);return this._writableState.defaultEncoding=e,this},Object.defineProperty(y.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),y.prototype._write=function(e,t,r){r(new Error("_write() is not implemented"))},y.prototype._writev=null,y.prototype.end=function(e,t,r){var n=this._writableState;"function"==typeof e?(r=e,e=null,t=null):"function"==typeof t&&(r=t,t=null),null!=e&&this.write(e,t),n.corked&&(n.corked=1,this.uncork()),n.ending||function(e,t,r){t.ending=!0,x(e,t),r&&(t.finished?a.nextTick(r):e.once("finish",r));t.ended=!0,e.writable=!1}(this,n,r)},Object.defineProperty(y.prototype,"destroyed",{get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}}),y.prototype.destroy=m.destroy,y.prototype._undestroy=m.undestroy,y.prototype._destroy=function(e,t){this.end(),t(e)}}).call(this,r(341),r(590).setImmediate,r(36))},697:function(e,t,r){"use strict";var n=r(186),i=r(29),a=r(55),o=r(971),s=r(353),u=r(197),l=r(101),c=r(599),h=r(349),f=r(194),d=Array;e.exports=function(e){var t=a(e),r=u(this),p=arguments.length,m=p>1?arguments[1]:void 0,v=void 0!==m;v&&(m=n(m,p>2?arguments[2]:void 0));var g,y,b,w,k,_,S=f(t),x=0;if(!S||this===d&&s(S))for(g=l(t),y=r?new this(g):d(g);g>x;x++)_=v?m(t[x],x):t[x],c(y,x,_);else for(y=r?new this:[],k=(w=h(t,S)).next;!(b=i(k,w)).done;x++)_=v?o(w,m,[b.value,x],!0):b.value,c(y,x,_);return y.length=x,y}},698:function(e,t,r){"use strict";var n=r(187).match(/firefox\/(\d+)/i);e.exports=!!n&&+n[1]},699:function(e,t,r){"use strict";var n=r(187);e.exports=/MSIE|Trident/.test(n)},700:function(e,t,r){"use strict";var n=r(187).match(/AppleWebKit\/(\d+)\./);e.exports=!!n&&+n[1]},701:function(e,t,r){"use strict";var n=r(15),i=r(6),a=r(34),o=r(702),s=r(149),u=r(84),l=r(144),c=r(199),h=r(8),f=r(189),d=r(104),p=r(145),m=r(703),v=r(981),g=r(985),y=r(151),b=r(147),w=r(636),k=r(143),_=r(200),S=r(234),x=r(83),E=r(64),C=s.PROPER,A=s.CONFIGURABLE,P=E.getterFor("ArrayBuffer"),T=E.getterFor("DataView"),R=E.set,O=n.ArrayBuffer,M=O,N=M&&M.prototype,B=n.DataView,I=B&&B.prototype,L=Object.prototype,j=n.Array,D=n.RangeError,z=i(w),F=i([].reverse),U=g.pack,W=g.unpack,H=function(e){return[255&e]},q=function(e){return[255&e,e>>8&255]},V=function(e){return[255&e,e>>8&255,e>>16&255,e>>24&255]},Z=function(e){return e[3]<<24|e[2]<<16|e[1]<<8|e[0]},X=function(e){return U(v(e),23,4)},G=function(e){return U(e,52,8)},Y=function(e,t,r){l(e.prototype,t,{configurable:!0,get:function(){return r(this)[t]}})},J=function(e,t,r,n){var i=T(e),a=m(r),o=!!n;if(a+t>i.byteLength)throw new D("Wrong index");var s=i.bytes,u=a+i.byteOffset,l=k(s,u,u+t);return o?l:F(l)},K=function(e,t,r,n,i,a){var o=T(e),s=m(r),u=n(+i),l=!!a;if(s+t>o.byteLength)throw new D("Wrong index");for(var c=o.bytes,h=s+o.byteOffset,f=0;f<t;f++)c[h+f]=u[l?f:t-f-1]};if(o){var $=C&&"ArrayBuffer"!==O.name;h((function(){O(1)}))&&h((function(){new O(-1)}))&&!h((function(){return new O,new O(1.5),new O(NaN),1!==O.length||$&&!A}))?$&&A&&u(O,"name","ArrayBuffer"):((M=function(e){return f(this,N),_(new O(m(e)),this,M)}).prototype=N,N.constructor=M,S(M,O)),b&&y(I)!==L&&b(I,L);var Q=new B(new M(2)),ee=i(I.setInt8);Q.setInt8(0,2147483648),Q.setInt8(1,2147483649),!Q.getInt8(0)&&Q.getInt8(1)||c(I,{setInt8:function(e,t){ee(this,e,t<<24>>24)},setUint8:function(e,t){ee(this,e,t<<24>>24)}},{unsafe:!0})}else N=(M=function(e){f(this,N);var t=m(e);R(this,{type:"ArrayBuffer",bytes:z(j(t),0),byteLength:t}),a||(this.byteLength=t,this.detached=!1)}).prototype,I=(B=function(e,t,r){f(this,I),f(e,N);var n=P(e),i=n.byteLength,o=d(t);if(o<0||o>i)throw new D("Wrong offset");if(o+(r=void 0===r?i-o:p(r))>i)throw new D("Wrong length");R(this,{type:"DataView",buffer:e,byteLength:r,byteOffset:o,bytes:n.bytes}),a||(this.buffer=e,this.byteLength=r,this.byteOffset=o)}).prototype,a&&(Y(M,"byteLength",P),Y(B,"buffer",T),Y(B,"byteLength",T),Y(B,"byteOffset",T)),c(I,{getInt8:function(e){return J(this,1,e)[0]<<24>>24},getUint8:function(e){return J(this,1,e)[0]},getInt16:function(e){var t=J(this,2,e,arguments.length>1&&arguments[1]);return(t[1]<<8|t[0])<<16>>16},getUint16:function(e){var t=J(this,2,e,arguments.length>1&&arguments[1]);return t[1]<<8|t[0]},getInt32:function(e){return Z(J(this,4,e,arguments.length>1&&arguments[1]))},getUint32:function(e){return Z(J(this,4,e,arguments.length>1&&arguments[1]))>>>0},getFloat32:function(e){return W(J(this,4,e,arguments.length>1&&arguments[1]),23)},getFloat64:function(e){return W(J(this,8,e,arguments.length>1&&arguments[1]),52)},setInt8:function(e,t){K(this,1,e,H,t)},setUint8:function(e,t){K(this,1,e,H,t)},setInt16:function(e,t){K(this,2,e,q,t,arguments.length>2&&arguments[2])},setUint16:function(e,t){K(this,2,e,q,t,arguments.length>2&&arguments[2])},setInt32:function(e,t){K(this,4,e,V,t,arguments.length>2&&arguments[2])},setUint32:function(e,t){K(this,4,e,V,t,arguments.length>2&&arguments[2])},setFloat32:function(e,t){K(this,4,e,X,t,arguments.length>2&&arguments[2])},setFloat64:function(e,t){K(this,8,e,G,t,arguments.length>2&&arguments[2])}});x(M,"ArrayBuffer"),x(B,"DataView"),e.exports={ArrayBuffer:M,DataView:B}},702:function(e,t,r){"use strict";e.exports="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView},703:function(e,t,r){"use strict";var n=r(104),i=r(145),a=RangeError;e.exports=function(e){if(void 0===e)return 0;var t=n(e),r=i(t);if(t!==r)throw new a("Wrong length or index");return r}},704:function(e,t,r){"use strict";var n=r(32),i=r(356),a=r(67),o=r(23)("species");e.exports=function(e,t){var r,s=n(e).constructor;return void 0===s||a(r=n(s)[o])?t:i(r)}},705:function(e,t,r){"use strict";var n,i,a,o,s=r(15),u=r(148),l=r(186),c=r(18),h=r(24),f=r(8),d=r(363),p=r(143),m=r(157),v=r(640),g=r(706),y=r(351),b=s.setImmediate,w=s.clearImmediate,k=s.process,_=s.Dispatch,S=s.Function,x=s.MessageChannel,E=s.String,C=0,A={};f((function(){n=s.location}));var P=function(e){if(h(A,e)){var t=A[e];delete A[e],t()}},T=function(e){return function(){P(e)}},R=function(e){P(e.data)},O=function(e){s.postMessage(E(e),n.protocol+"//"+n.host)};b&&w||(b=function(e){v(arguments.length,1);var t=c(e)?e:S(e),r=p(arguments,1);return A[++C]=function(){u(t,void 0,r)},i(C),C},w=function(e){delete A[e]},y?i=function(e){k.nextTick(T(e))}:_&&_.now?i=function(e){_.now(T(e))}:x&&!g?(o=(a=new x).port2,a.port1.onmessage=R,i=l(o.postMessage,o)):s.addEventListener&&c(s.postMessage)&&!s.importScripts&&n&&"file:"!==n.protocol&&!f(O)?(i=O,s.addEventListener("message",R,!1)):i="onreadystatechange"in m("script")?function(e){d.appendChild(m("script")).onreadystatechange=function(){d.removeChild(this),P(e)}}:function(e){setTimeout(T(e),0)}),e.exports={set:b,clear:w}},706:function(e,t,r){"use strict";var n=r(187);e.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(n)},707:function(e,t,r){"use strict";var n=r(15),i=r(34),a=Object.getOwnPropertyDescriptor;e.exports=function(e){if(!i)return n[e];var t=a(n,e);return t&&t.value}},708:function(e,t,r){"use strict";var n=function(){this.head=null,this.tail=null};n.prototype={add:function(e){var t={item:e,next:null},r=this.tail;r?r.next=t:this.head=t,this.tail=t},get:function(){var e=this.head;if(e)return null===(this.head=e.next)&&(this.tail=null),e.item}},e.exports=n},709:function(e,t,r){"use strict";var n=r(32),i=r(28),a=r(594);e.exports=function(e,t){if(n(e),i(t)&&t.constructor===e)return t;var r=a.f(e);return(0,r.resolve)(t),r.promise}},710:function(e,t,r){"use strict";var n=r(1013),i=TypeError;e.exports=function(e){if(n(e))throw new i("The method doesn't accept regular expressions");return e}},711:function(e,t,r){"use strict";var n=r(23)("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(r){try{return t[n]=!1,"/./"[e](t)}catch(e){}}return!1}},712:function(e,t,r){"use strict";var n=r(15),i=r(8),a=r(350),o=r(576).NATIVE_ARRAY_BUFFER_VIEWS,s=n.ArrayBuffer,u=n.Int8Array;e.exports=!o||!i((function(){u(1)}))||!i((function(){new u(-1)}))||!a((function(e){new u,new u(null),new u(1.5),new u(e)}),!0)||i((function(){return 1!==new u(new s(2),1,void 0).length}))},713:function(e,t,r){"use strict";var n=r(1019),i=RangeError;e.exports=function(e,t){var r=n(e);if(r%t)throw new i("Wrong offset");return r}},714:function(e,t,r){"use strict";var n=r(186),i=r(29),a=r(356),o=r(55),s=r(101),u=r(349),l=r(194),c=r(353),h=r(1021),f=r(576).aTypedArrayConstructor,d=r(715);e.exports=function(e){var t,r,p,m,v,g,y,b,w=a(this),k=o(e),_=arguments.length,S=_>1?arguments[1]:void 0,x=void 0!==S,E=l(k);if(E&&!c(E))for(b=(y=u(k,E)).next,k=[];!(g=i(b,y)).done;)k.push(g.value);for(x&&_>2&&(S=n(S,arguments[2])),r=s(k),p=new(f(w))(r),m=h(p),t=0;r>t;t++)v=x?S(k[t],t):k[t],p[t]=m?d(v):+v;return p}},715:function(e,t,r){"use strict";var n=r(231),i=TypeError;e.exports=function(e){var t=n(e,"number");if("number"==typeof t)throw new i("Can't convert number to bigint");return BigInt(t)}},716:function(e,t,r){"use strict";var n=r(101);e.exports=function(e,t,r){for(var i=0,a=arguments.length>2?r:n(t),o=new e(a);a>i;)o[i]=t[i++];return o}},717:function(e,t,r){"use strict";var n=r(8),i=r(23),a=r(34),o=r(72),s=i("iterator");e.exports=!n((function(){var e=new URL("b?a=1&b=2&c=3","https://a"),t=e.searchParams,r=new URLSearchParams("a=1&a=2&b=3"),n="";return e.pathname="c%20d",t.forEach((function(e,r){t.delete("b"),n+=r+e})),r.delete("a",2),r.delete("b",void 0),o&&(!e.toJSON||!r.has("a",1)||r.has("a",2)||!r.has("a",void 0)||r.has("b"))||!t.size&&(o||!a)||!t.sort||"https://a/c%20d?a=1&c=3"!==e.href||"3"!==t.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!t[s]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("https://тест").host||"#%D0%B1"!==new URL("https://a#б").hash||"a1c3"!==n||"x"!==new URL("https://x",void 0).host}))},718:function(e,t,r){"use strict";r(150),r(1061);var n=r(26),i=r(15),a=r(707),o=r(56),s=r(29),u=r(6),l=r(34),c=r(717),h=r(47),f=r(144),d=r(199),p=r(83),m=r(364),v=r(64),g=r(189),y=r(18),b=r(24),w=r(186),k=r(105),_=r(32),S=r(28),x=r(40),E=r(75),C=r(107),A=r(349),P=r(194),T=r(238),R=r(640),O=r(23),M=r(638),N=O("iterator"),B=v.set,I=v.getterFor("URLSearchParams"),L=v.getterFor("URLSearchParamsIterator"),j=a("fetch"),D=a("Request"),z=a("Headers"),F=D&&D.prototype,U=z&&z.prototype,W=i.TypeError,H=i.encodeURIComponent,q=String.fromCharCode,V=o("String","fromCodePoint"),Z=parseInt,X=u("".charAt),G=u([].join),Y=u([].push),J=u("".replace),K=u([].shift),$=u([].splice),Q=u("".split),ee=u("".slice),te=u(/./.exec),re=/\+/g,ne=/^[0-9a-f]+$/i,ie=function(e,t){var r=ee(e,t,t+2);return te(ne,r)?Z(r,16):NaN},ae=function(e){for(var t=0,r=128;r>0&&0!=(e&r);r>>=1)t++;return t},oe=function(e){var t=null;switch(e.length){case 1:t=e[0];break;case 2:t=(31&e[0])<<6|63&e[1];break;case 3:t=(15&e[0])<<12|(63&e[1])<<6|63&e[2];break;case 4:t=(7&e[0])<<18|(63&e[1])<<12|(63&e[2])<<6|63&e[3]}return t>1114111?null:t},se=function(e){for(var t=(e=J(e,re," ")).length,r="",n=0;n<t;){var i=X(e,n);if("%"===i){if("%"===X(e,n+1)||n+3>t){r+="%",n++;continue}var a=ie(e,n+1);if(a!=a){r+=i,n++;continue}n+=2;var o=ae(a);if(0===o)i=q(a);else{if(1===o||o>4){r+="�",n++;continue}for(var s=[a],u=1;u<o&&!(++n+3>t||"%"!==X(e,n));){var l=ie(e,n+1);if(l!=l){n+=3;break}if(l>191||l<128)break;Y(s,l),n+=2,u++}if(s.length!==o){r+="�";continue}var c=oe(s);null===c?r+="�":i=V(c)}}r+=i,n++}return r},ue=/[!'()~]|%20/g,le={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},ce=function(e){return le[e]},he=function(e){return J(H(e),ue,ce)},fe=m((function(e,t){B(this,{type:"URLSearchParamsIterator",target:I(e).entries,index:0,kind:t})}),"URLSearchParams",(function(){var e=L(this),t=e.target,r=e.index++;if(!t||r>=t.length)return e.target=null,T(void 0,!0);var n=t[r];switch(e.kind){case"keys":return T(n.key,!1);case"values":return T(n.value,!1)}return T([n.key,n.value],!1)}),!0),de=function(e){this.entries=[],this.url=null,void 0!==e&&(S(e)?this.parseObject(e):this.parseQuery("string"==typeof e?"?"===X(e,0)?ee(e,1):e:x(e)))};de.prototype={type:"URLSearchParams",bindURL:function(e){this.url=e,this.update()},parseObject:function(e){var t,r,n,i,a,o,u,l=this.entries,c=P(e);if(c)for(r=(t=A(e,c)).next;!(n=s(r,t)).done;){if(a=(i=A(_(n.value))).next,(o=s(a,i)).done||(u=s(a,i)).done||!s(a,i).done)throw new W("Expected sequence with length 2");Y(l,{key:x(o.value),value:x(u.value)})}else for(var h in e)b(e,h)&&Y(l,{key:h,value:x(e[h])})},parseQuery:function(e){if(e)for(var t,r,n=this.entries,i=Q(e,"&"),a=0;a<i.length;)(t=i[a++]).length&&(r=Q(t,"="),Y(n,{key:se(K(r)),value:se(G(r,"="))}))},serialize:function(){for(var e,t=this.entries,r=[],n=0;n<t.length;)e=t[n++],Y(r,he(e.key)+"="+he(e.value));return G(r,"&")},update:function(){this.entries.length=0,this.parseQuery(this.url.query)},updateURL:function(){this.url&&this.url.update()}};var pe=function(){g(this,me);var e=arguments.length>0?arguments[0]:void 0,t=B(this,new de(e));l||(this.size=t.entries.length)},me=pe.prototype;if(d(me,{append:function(e,t){var r=I(this);R(arguments.length,2),Y(r.entries,{key:x(e),value:x(t)}),l||this.length++,r.updateURL()},delete:function(e){for(var t=I(this),r=R(arguments.length,1),n=t.entries,i=x(e),a=r<2?void 0:arguments[1],o=void 0===a?a:x(a),s=0;s<n.length;){var u=n[s];if(u.key!==i||void 0!==o&&u.value!==o)s++;else if($(n,s,1),void 0!==o)break}l||(this.size=n.length),t.updateURL()},get:function(e){var t=I(this).entries;R(arguments.length,1);for(var r=x(e),n=0;n<t.length;n++)if(t[n].key===r)return t[n].value;return null},getAll:function(e){var t=I(this).entries;R(arguments.length,1);for(var r=x(e),n=[],i=0;i<t.length;i++)t[i].key===r&&Y(n,t[i].value);return n},has:function(e){for(var t=I(this).entries,r=R(arguments.length,1),n=x(e),i=r<2?void 0:arguments[1],a=void 0===i?i:x(i),o=0;o<t.length;){var s=t[o++];if(s.key===n&&(void 0===a||s.value===a))return!0}return!1},set:function(e,t){var r=I(this);R(arguments.length,1);for(var n,i=r.entries,a=!1,o=x(e),s=x(t),u=0;u<i.length;u++)(n=i[u]).key===o&&(a?$(i,u--,1):(a=!0,n.value=s));a||Y(i,{key:o,value:s}),l||(this.size=i.length),r.updateURL()},sort:function(){var e=I(this);M(e.entries,(function(e,t){return e.key>t.key?1:-1})),e.updateURL()},forEach:function(e){for(var t,r=I(this).entries,n=w(e,arguments.length>1?arguments[1]:void 0),i=0;i<r.length;)n((t=r[i++]).value,t.key,this)},keys:function(){return new fe(this,"keys")},values:function(){return new fe(this,"values")},entries:function(){return new fe(this,"entries")}},{enumerable:!0}),h(me,N,me.entries,{name:"entries"}),h(me,"toString",(function(){return I(this).serialize()}),{enumerable:!0}),l&&f(me,"size",{get:function(){return I(this).entries.length},configurable:!0,enumerable:!0}),p(pe,"URLSearchParams"),n({global:!0,constructor:!0,forced:!c},{URLSearchParams:pe}),!c&&y(z)){var ve=u(U.has),ge=u(U.set),ye=function(e){if(S(e)){var t,r=e.body;if("URLSearchParams"===k(r))return t=e.headers?new z(e.headers):new z,ve(t,"content-type")||ge(t,"content-type","application/x-www-form-urlencoded;charset=UTF-8"),E(e,{body:C(0,x(r)),headers:C(0,t)})}return e};if(y(j)&&n({global:!0,enumerable:!0,dontCallGetSet:!0,forced:!0},{fetch:function(e){return j(e,arguments.length>1?ye(arguments[1]):{})}}),y(D)){var be=function(e){return g(this,F),new D(e,arguments.length>1?ye(arguments[1]):{})};F.constructor=be,be.prototype=F,n({global:!0,constructor:!0,dontCallGetSet:!0,forced:!0},{Request:be})}}e.exports={URLSearchParams:pe,getState:I}},719:function(e,t,r){"use strict";(function(t,n){var i=r(614);e.exports=b;var a,o=r(1065);b.ReadableState=y;r(613).EventEmitter;var s=function(e,t){return e.listeners(t).length},u=r(720),l=r(643).Buffer,c=(void 0!==t?t:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{}).Uint8Array||function(){};var h=Object.create(r(601));h.inherits=r(595);var f=r(1066),d=void 0;d=f&&f.debuglog?f.debuglog("stream"):function(){};var p,m=r(1067),v=r(721);h.inherits(b,u);var g=["error","close","destroy","pause","resume"];function y(e,t){e=e||{};var n=t instanceof(a=a||r(586));this.objectMode=!!e.objectMode,n&&(this.objectMode=this.objectMode||!!e.readableObjectMode);var i=e.highWaterMark,o=e.readableHighWaterMark,s=this.objectMode?16:16384;this.highWaterMark=i||0===i?i:n&&(o||0===o)?o:s,this.highWaterMark=Math.floor(this.highWaterMark),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.destroyed=!1,this.defaultEncoding=e.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,e.encoding&&(p||(p=r(722).StringDecoder),this.decoder=new p(e.encoding),this.encoding=e.encoding)}function b(e){if(a=a||r(586),!(this instanceof b))return new b(e);this._readableState=new y(e,this),this.readable=!0,e&&("function"==typeof e.read&&(this._read=e.read),"function"==typeof e.destroy&&(this._destroy=e.destroy)),u.call(this)}function w(e,t,r,n,i){var a,o=e._readableState;null===t?(o.reading=!1,function(e,t){if(t.ended)return;if(t.decoder){var r=t.decoder.end();r&&r.length&&(t.buffer.push(r),t.length+=t.objectMode?1:r.length)}t.ended=!0,S(e)}(e,o)):(i||(a=function(e,t){var r;n=t,l.isBuffer(n)||n instanceof c||"string"==typeof t||void 0===t||e.objectMode||(r=new TypeError("Invalid non-string/buffer chunk"));var n;return r}(o,t)),a?e.emit("error",a):o.objectMode||t&&t.length>0?("string"==typeof t||o.objectMode||Object.getPrototypeOf(t)===l.prototype||(t=function(e){return l.from(e)}(t)),n?o.endEmitted?e.emit("error",new Error("stream.unshift() after end event")):k(e,o,t,!0):o.ended?e.emit("error",new Error("stream.push() after EOF")):(o.reading=!1,o.decoder&&!r?(t=o.decoder.write(t),o.objectMode||0!==t.length?k(e,o,t,!1):E(e,o)):k(e,o,t,!1))):n||(o.reading=!1));return function(e){return!e.ended&&(e.needReadable||e.length<e.highWaterMark||0===e.length)}(o)}function k(e,t,r,n){t.flowing&&0===t.length&&!t.sync?(e.emit("data",r),e.read(0)):(t.length+=t.objectMode?1:r.length,n?t.buffer.unshift(r):t.buffer.push(r),t.needReadable&&S(e)),E(e,t)}Object.defineProperty(b.prototype,"destroyed",{get:function(){return void 0!==this._readableState&&this._readableState.destroyed},set:function(e){this._readableState&&(this._readableState.destroyed=e)}}),b.prototype.destroy=v.destroy,b.prototype._undestroy=v.undestroy,b.prototype._destroy=function(e,t){this.push(null),t(e)},b.prototype.push=function(e,t){var r,n=this._readableState;return n.objectMode?r=!0:"string"==typeof e&&((t=t||n.defaultEncoding)!==n.encoding&&(e=l.from(e,t),t=""),r=!0),w(this,e,t,!1,r)},b.prototype.unshift=function(e){return w(this,e,null,!0,!1)},b.prototype.isPaused=function(){return!1===this._readableState.flowing},b.prototype.setEncoding=function(e){return p||(p=r(722).StringDecoder),this._readableState.decoder=new p(e),this._readableState.encoding=e,this};function _(e,t){return e<=0||0===t.length&&t.ended?0:t.objectMode?1:e!=e?t.flowing&&t.length?t.buffer.head.data.length:t.length:(e>t.highWaterMark&&(t.highWaterMark=function(e){return e>=8388608?e=8388608:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}(e)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0))}function S(e){var t=e._readableState;t.needReadable=!1,t.emittedReadable||(d("emitReadable",t.flowing),t.emittedReadable=!0,t.sync?i.nextTick(x,e):x(e))}function x(e){d("emit readable"),e.emit("readable"),T(e)}function E(e,t){t.readingMore||(t.readingMore=!0,i.nextTick(C,e,t))}function C(e,t){for(var r=t.length;!t.reading&&!t.flowing&&!t.ended&&t.length<t.highWaterMark&&(d("maybeReadMore read 0"),e.read(0),r!==t.length);)r=t.length;t.readingMore=!1}function A(e){d("readable nexttick read 0"),e.read(0)}function P(e,t){t.reading||(d("resume read 0"),e.read(0)),t.resumeScheduled=!1,t.awaitDrain=0,e.emit("resume"),T(e),t.flowing&&!t.reading&&e.read(0)}function T(e){var t=e._readableState;for(d("flow",t.flowing);t.flowing&&null!==e.read(););}function R(e,t){return 0===t.length?null:(t.objectMode?r=t.buffer.shift():!e||e>=t.length?(r=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.head.data:t.buffer.concat(t.length),t.buffer.clear()):r=function(e,t,r){var n;e<t.head.data.length?(n=t.head.data.slice(0,e),t.head.data=t.head.data.slice(e)):n=e===t.head.data.length?t.shift():r?function(e,t){var r=t.head,n=1,i=r.data;e-=i.length;for(;r=r.next;){var a=r.data,o=e>a.length?a.length:e;if(o===a.length?i+=a:i+=a.slice(0,e),0===(e-=o)){o===a.length?(++n,r.next?t.head=r.next:t.head=t.tail=null):(t.head=r,r.data=a.slice(o));break}++n}return t.length-=n,i}(e,t):function(e,t){var r=l.allocUnsafe(e),n=t.head,i=1;n.data.copy(r),e-=n.data.length;for(;n=n.next;){var a=n.data,o=e>a.length?a.length:e;if(a.copy(r,r.length-e,0,o),0===(e-=o)){o===a.length?(++i,n.next?t.head=n.next:t.head=t.tail=null):(t.head=n,n.data=a.slice(o));break}++i}return t.length-=i,r}(e,t);return n}(e,t.buffer,t.decoder),r);var r}function O(e){var t=e._readableState;if(t.length>0)throw new Error('"endReadable()" called on non-empty stream');t.endEmitted||(t.ended=!0,i.nextTick(M,t,e))}function M(e,t){e.endEmitted||0!==e.length||(e.endEmitted=!0,t.readable=!1,t.emit("end"))}function N(e,t){for(var r=0,n=e.length;r<n;r++)if(e[r]===t)return r;return-1}b.prototype.read=function(e){d("read",e),e=parseInt(e,10);var t=this._readableState,r=e;if(0!==e&&(t.emittedReadable=!1),0===e&&t.needReadable&&(t.length>=t.highWaterMark||t.ended))return d("read: emitReadable",t.length,t.ended),0===t.length&&t.ended?O(this):S(this),null;if(0===(e=_(e,t))&&t.ended)return 0===t.length&&O(this),null;var n,i=t.needReadable;return d("need readable",i),(0===t.length||t.length-e<t.highWaterMark)&&d("length less than watermark",i=!0),t.ended||t.reading?d("reading or ended",i=!1):i&&(d("do read"),t.reading=!0,t.sync=!0,0===t.length&&(t.needReadable=!0),this._read(t.highWaterMark),t.sync=!1,t.reading||(e=_(r,t))),null===(n=e>0?R(e,t):null)?(t.needReadable=!0,e=0):t.length-=e,0===t.length&&(t.ended||(t.needReadable=!0),r!==e&&t.ended&&O(this)),null!==n&&this.emit("data",n),n},b.prototype._read=function(e){this.emit("error",new Error("_read() is not implemented"))},b.prototype.pipe=function(e,t){var r=this,a=this._readableState;switch(a.pipesCount){case 0:a.pipes=e;break;case 1:a.pipes=[a.pipes,e];break;default:a.pipes.push(e)}a.pipesCount+=1,d("pipe count=%d opts=%j",a.pipesCount,t);var u=(!t||!1!==t.end)&&e!==n.stdout&&e!==n.stderr?c:b;function l(t,n){d("onunpipe"),t===r&&n&&!1===n.hasUnpiped&&(n.hasUnpiped=!0,d("cleanup"),e.removeListener("close",g),e.removeListener("finish",y),e.removeListener("drain",h),e.removeListener("error",v),e.removeListener("unpipe",l),r.removeListener("end",c),r.removeListener("end",b),r.removeListener("data",m),f=!0,!a.awaitDrain||e._writableState&&!e._writableState.needDrain||h())}function c(){d("onend"),e.end()}a.endEmitted?i.nextTick(u):r.once("end",u),e.on("unpipe",l);var h=function(e){return function(){var t=e._readableState;d("pipeOnDrain",t.awaitDrain),t.awaitDrain&&t.awaitDrain--,0===t.awaitDrain&&s(e,"data")&&(t.flowing=!0,T(e))}}(r);e.on("drain",h);var f=!1;var p=!1;function m(t){d("ondata"),p=!1,!1!==e.write(t)||p||((1===a.pipesCount&&a.pipes===e||a.pipesCount>1&&-1!==N(a.pipes,e))&&!f&&(d("false write response, pause",a.awaitDrain),a.awaitDrain++,p=!0),r.pause())}function v(t){d("onerror",t),b(),e.removeListener("error",v),0===s(e,"error")&&e.emit("error",t)}function g(){e.removeListener("finish",y),b()}function y(){d("onfinish"),e.removeListener("close",g),b()}function b(){d("unpipe"),r.unpipe(e)}return r.on("data",m),function(e,t,r){if("function"==typeof e.prependListener)return e.prependListener(t,r);e._events&&e._events[t]?o(e._events[t])?e._events[t].unshift(r):e._events[t]=[r,e._events[t]]:e.on(t,r)}(e,"error",v),e.once("close",g),e.once("finish",y),e.emit("pipe",r),a.flowing||(d("pipe resume"),r.resume()),e},b.prototype.unpipe=function(e){var t=this._readableState,r={hasUnpiped:!1};if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes||(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this,r)),this;if(!e){var n=t.pipes,i=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var a=0;a<i;a++)n[a].emit("unpipe",this,{hasUnpiped:!1});return this}var o=N(t.pipes,e);return-1===o||(t.pipes.splice(o,1),t.pipesCount-=1,1===t.pipesCount&&(t.pipes=t.pipes[0]),e.emit("unpipe",this,r)),this},b.prototype.on=function(e,t){var r=u.prototype.on.call(this,e,t);if("data"===e)!1!==this._readableState.flowing&&this.resume();else if("readable"===e){var n=this._readableState;n.endEmitted||n.readableListening||(n.readableListening=n.needReadable=!0,n.emittedReadable=!1,n.reading?n.length&&S(this):i.nextTick(A,this))}return r},b.prototype.addListener=b.prototype.on,b.prototype.resume=function(){var e=this._readableState;return e.flowing||(d("resume"),e.flowing=!0,function(e,t){t.resumeScheduled||(t.resumeScheduled=!0,i.nextTick(P,e,t))}(this,e)),this},b.prototype.pause=function(){return d("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(d("pause"),this._readableState.flowing=!1,this.emit("pause")),this},b.prototype.wrap=function(e){var t=this,r=this._readableState,n=!1;for(var i in e.on("end",(function(){if(d("wrapped end"),r.decoder&&!r.ended){var e=r.decoder.end();e&&e.length&&t.push(e)}t.push(null)})),e.on("data",(function(i){(d("wrapped data"),r.decoder&&(i=r.decoder.write(i)),r.objectMode&&null==i)||(r.objectMode||i&&i.length)&&(t.push(i)||(n=!0,e.pause()))})),e)void 0===this[i]&&"function"==typeof e[i]&&(this[i]=function(t){return function(){return e[t].apply(e,arguments)}}(i));for(var a=0;a<g.length;a++)e.on(g[a],this.emit.bind(this,g[a]));return this._read=function(t){d("wrapped _read",t),n&&(n=!1,e.resume())},this},Object.defineProperty(b.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),b._fromList=R}).call(this,r(36),r(341))},720:function(e,t,r){e.exports=r(613).EventEmitter},721:function(e,t,r){"use strict";var n=r(614);function i(e,t){e.emit("error",t)}e.exports={destroy:function(e,t){var r=this,a=this._readableState&&this._readableState.destroyed,o=this._writableState&&this._writableState.destroyed;return a||o?(t?t(e):e&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,n.nextTick(i,this,e)):n.nextTick(i,this,e)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(e||null,(function(e){!t&&e?r._writableState?r._writableState.errorEmitted||(r._writableState.errorEmitted=!0,n.nextTick(i,r,e)):n.nextTick(i,r,e):t&&t(e)})),this)},undestroy:function(){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)}}},722:function(e,t,r){"use strict";var n=r(1070).Buffer,i=n.isEncoding||function(e){switch((e=""+e)&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function a(e){var t;switch(this.encoding=function(e){var t=function(e){if(!e)return"utf8";for(var t;;)switch(e){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return e;default:if(t)return;e=(""+e).toLowerCase(),t=!0}}(e);if("string"!=typeof t&&(n.isEncoding===i||!i(e)))throw new Error("Unknown encoding: "+e);return t||e}(e),this.encoding){case"utf16le":this.text=u,this.end=l,t=4;break;case"utf8":this.fillLast=s,t=4;break;case"base64":this.text=c,this.end=h,t=3;break;default:return this.write=f,void(this.end=d)}this.lastNeed=0,this.lastTotal=0,this.lastChar=n.allocUnsafe(t)}function o(e){return e<=127?0:e>>5==6?2:e>>4==14?3:e>>3==30?4:e>>6==2?-1:-2}function s(e){var t=this.lastTotal-this.lastNeed,r=function(e,t,r){if(128!=(192&t[0]))return e.lastNeed=0,"�";if(e.lastNeed>1&&t.length>1){if(128!=(192&t[1]))return e.lastNeed=1,"�";if(e.lastNeed>2&&t.length>2&&128!=(192&t[2]))return e.lastNeed=2,"�"}}(this,e);return void 0!==r?r:this.lastNeed<=e.length?(e.copy(this.lastChar,t,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(e.copy(this.lastChar,t,0,e.length),void(this.lastNeed-=e.length))}function u(e,t){if((e.length-t)%2==0){var r=e.toString("utf16le",t);if(r){var n=r.charCodeAt(r.length-1);if(n>=55296&&n<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],r.slice(0,-1)}return r}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString("utf16le",t,e.length-1)}function l(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed){var r=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,r)}return t}function c(e,t){var r=(e.length-t)%3;return 0===r?e.toString("base64",t):(this.lastNeed=3-r,this.lastTotal=3,1===r?this.lastChar[0]=e[e.length-1]:(this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1]),e.toString("base64",t,e.length-r))}function h(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function f(e){return e.toString(this.encoding)}function d(e){return e&&e.length?this.write(e):""}t.StringDecoder=a,a.prototype.write=function(e){if(0===e.length)return"";var t,r;if(this.lastNeed){if(void 0===(t=this.fillLast(e)))return"";r=this.lastNeed,this.lastNeed=0}else r=0;return r<e.length?t?t+this.text(e,r):this.text(e,r):t||""},a.prototype.end=function(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+"�":t},a.prototype.text=function(e,t){var r=function(e,t,r){var n=t.length-1;if(n<r)return 0;var i=o(t[n]);if(i>=0)return i>0&&(e.lastNeed=i-1),i;if(--n<r||-2===i)return 0;if((i=o(t[n]))>=0)return i>0&&(e.lastNeed=i-2),i;if(--n<r||-2===i)return 0;if((i=o(t[n]))>=0)return i>0&&(2===i?i=0:e.lastNeed=i-3),i;return 0}(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=r;var n=e.length-(r-this.lastNeed);return e.copy(this.lastChar,0,n),e.toString("utf8",t,n)},a.prototype.fillLast=function(e){if(this.lastNeed<=e.length)return e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,e.length),this.lastNeed-=e.length}},723:function(e,t,r){"use strict";e.exports=o;var n=r(586),i=Object.create(r(601));function a(e,t){var r=this._transformState;r.transforming=!1;var n=r.writecb;if(!n)return this.emit("error",new Error("write callback called multiple times"));r.writechunk=null,r.writecb=null,null!=t&&this.push(t),n(e);var i=this._readableState;i.reading=!1,(i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}function o(e){if(!(this instanceof o))return new o(e);n.call(this,e),this._transformState={afterTransform:a.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,e&&("function"==typeof e.transform&&(this._transform=e.transform),"function"==typeof e.flush&&(this._flush=e.flush)),this.on("prefinish",s)}function s(){var e=this;"function"==typeof this._flush?this._flush((function(t,r){u(e,t,r)})):u(this,null,null)}function u(e,t,r){if(t)return e.emit("error",t);if(null!=r&&e.push(r),e._writableState.length)throw new Error("Calling transform done when ws.length != 0");if(e._transformState.transforming)throw new Error("Calling transform done when still transforming");return e.push(null)}i.inherits=r(595),i.inherits(o,n),o.prototype.push=function(e,t){return this._transformState.needTransform=!1,n.prototype.push.call(this,e,t)},o.prototype._transform=function(e,t,r){throw new Error("_transform() is not implemented")},o.prototype._write=function(e,t,r){var n=this._transformState;if(n.writecb=r,n.writechunk=e,n.writeencoding=t,!n.transforming){var i=this._readableState;(n.needTransform||i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}},o.prototype._read=function(e){var t=this._transformState;null!==t.writechunk&&t.writecb&&!t.transforming?(t.transforming=!0,this._transform(t.writechunk,t.writeencoding,t.afterTransform)):t.needTransform=!0},o.prototype._destroy=function(e,t){var r=this;n.prototype._destroy.call(this,e,(function(e){t(e),r.emit("close")}))}},724:function(e,t,r){(function(e){var n=Object.getOwnPropertyDescriptors||function(e){for(var t=Object.keys(e),r={},n=0;n<t.length;n++)r[t[n]]=Object.getOwnPropertyDescriptor(e,t[n]);return r},i=/%[sdj%]/g;t.format=function(e){if(!g(e)){for(var t=[],r=0;r<arguments.length;r++)t.push(s(arguments[r]));return t.join(" ")}r=1;for(var n=arguments,a=n.length,o=String(e).replace(i,(function(e){if("%%"===e)return"%";if(r>=a)return e;switch(e){case"%s":return String(n[r++]);case"%d":return Number(n[r++]);case"%j":try{return JSON.stringify(n[r++])}catch(e){return"[Circular]"}default:return e}})),u=n[r];r<a;u=n[++r])m(u)||!w(u)?o+=" "+u:o+=" "+s(u);return o},t.deprecate=function(r,n){if(void 0!==e&&!0===e.noDeprecation)return r;if(void 0===e)return function(){return t.deprecate(r,n).apply(this,arguments)};var i=!1;return function(){if(!i){if(e.throwDeprecation)throw new Error(n);e.traceDeprecation?console.trace(n):console.error(n),i=!0}return r.apply(this,arguments)}};var a,o={};function s(e,r){var n={seen:[],stylize:l};return arguments.length>=3&&(n.depth=arguments[2]),arguments.length>=4&&(n.colors=arguments[3]),p(r)?n.showHidden=r:r&&t._extend(n,r),y(n.showHidden)&&(n.showHidden=!1),y(n.depth)&&(n.depth=2),y(n.colors)&&(n.colors=!1),y(n.customInspect)&&(n.customInspect=!0),n.colors&&(n.stylize=u),c(n,e,n.depth)}function u(e,t){var r=s.styles[t];return r?"["+s.colors[r][0]+"m"+e+"["+s.colors[r][1]+"m":e}function l(e,t){return e}function c(e,r,n){if(e.customInspect&&r&&S(r.inspect)&&r.inspect!==t.inspect&&(!r.constructor||r.constructor.prototype!==r)){var i=r.inspect(n,e);return g(i)||(i=c(e,i,n)),i}var a=function(e,t){if(y(t))return e.stylize("undefined","undefined");if(g(t)){var r="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(r,"string")}if(v(t))return e.stylize(""+t,"number");if(p(t))return e.stylize(""+t,"boolean");if(m(t))return e.stylize("null","null")}(e,r);if(a)return a;var o=Object.keys(r),s=function(e){var t={};return e.forEach((function(e,r){t[e]=!0})),t}(o);if(e.showHidden&&(o=Object.getOwnPropertyNames(r)),_(r)&&(o.indexOf("message")>=0||o.indexOf("description")>=0))return h(r);if(0===o.length){if(S(r)){var u=r.name?": "+r.name:"";return e.stylize("[Function"+u+"]","special")}if(b(r))return e.stylize(RegExp.prototype.toString.call(r),"regexp");if(k(r))return e.stylize(Date.prototype.toString.call(r),"date");if(_(r))return h(r)}var l,w="",x=!1,E=["{","}"];(d(r)&&(x=!0,E=["[","]"]),S(r))&&(w=" [Function"+(r.name?": "+r.name:"")+"]");return b(r)&&(w=" "+RegExp.prototype.toString.call(r)),k(r)&&(w=" "+Date.prototype.toUTCString.call(r)),_(r)&&(w=" "+h(r)),0!==o.length||x&&0!=r.length?n<0?b(r)?e.stylize(RegExp.prototype.toString.call(r),"regexp"):e.stylize("[Object]","special"):(e.seen.push(r),l=x?function(e,t,r,n,i){for(var a=[],o=0,s=t.length;o<s;++o)P(t,String(o))?a.push(f(e,t,r,n,String(o),!0)):a.push("");return i.forEach((function(i){i.match(/^\d+$/)||a.push(f(e,t,r,n,i,!0))})),a}(e,r,n,s,o):o.map((function(t){return f(e,r,n,s,t,x)})),e.seen.pop(),function(e,t,r){if(e.reduce((function(e,t){return t.indexOf("\n")>=0&&0,e+t.replace(/\u001b\[\d\d?m/g,"").length+1}),0)>60)return r[0]+(""===t?"":t+"\n ")+" "+e.join(",\n ")+" "+r[1];return r[0]+t+" "+e.join(", ")+" "+r[1]}(l,w,E)):E[0]+w+E[1]}function h(e){return"["+Error.prototype.toString.call(e)+"]"}function f(e,t,r,n,i,a){var o,s,u;if((u=Object.getOwnPropertyDescriptor(t,i)||{value:t[i]}).get?s=u.set?e.stylize("[Getter/Setter]","special"):e.stylize("[Getter]","special"):u.set&&(s=e.stylize("[Setter]","special")),P(n,i)||(o="["+i+"]"),s||(e.seen.indexOf(u.value)<0?(s=m(r)?c(e,u.value,null):c(e,u.value,r-1)).indexOf("\n")>-1&&(s=a?s.split("\n").map((function(e){return" "+e})).join("\n").substr(2):"\n"+s.split("\n").map((function(e){return" "+e})).join("\n")):s=e.stylize("[Circular]","special")),y(o)){if(a&&i.match(/^\d+$/))return s;(o=JSON.stringify(""+i)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(o=o.substr(1,o.length-2),o=e.stylize(o,"name")):(o=o.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),o=e.stylize(o,"string"))}return o+": "+s}function d(e){return Array.isArray(e)}function p(e){return"boolean"==typeof e}function m(e){return null===e}function v(e){return"number"==typeof e}function g(e){return"string"==typeof e}function y(e){return void 0===e}function b(e){return w(e)&&"[object RegExp]"===x(e)}function w(e){return"object"==typeof e&&null!==e}function k(e){return w(e)&&"[object Date]"===x(e)}function _(e){return w(e)&&("[object Error]"===x(e)||e instanceof Error)}function S(e){return"function"==typeof e}function x(e){return Object.prototype.toString.call(e)}function E(e){return e<10?"0"+e.toString(10):e.toString(10)}t.debuglog=function(r){if(y(a)&&(a=e.env.NODE_DEBUG||""),r=r.toUpperCase(),!o[r])if(new RegExp("\\b"+r+"\\b","i").test(a)){var n=e.pid;o[r]=function(){var e=t.format.apply(t,arguments);console.error("%s %d: %s",r,n,e)}}else o[r]=function(){};return o[r]},t.inspect=s,s.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},s.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},t.isArray=d,t.isBoolean=p,t.isNull=m,t.isNullOrUndefined=function(e){return null==e},t.isNumber=v,t.isString=g,t.isSymbol=function(e){return"symbol"==typeof e},t.isUndefined=y,t.isRegExp=b,t.isObject=w,t.isDate=k,t.isError=_,t.isFunction=S,t.isPrimitive=function(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||void 0===e},t.isBuffer=r(1076);var C=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function A(){var e=new Date,t=[E(e.getHours()),E(e.getMinutes()),E(e.getSeconds())].join(":");return[e.getDate(),C[e.getMonth()],t].join(" ")}function P(e,t){return Object.prototype.hasOwnProperty.call(e,t)}t.log=function(){console.log("%s - %s",A(),t.format.apply(t,arguments))},t.inherits=r(1077),t._extend=function(e,t){if(!t||!w(t))return e;for(var r=Object.keys(t),n=r.length;n--;)e[r[n]]=t[r[n]];return e};var T="undefined"!=typeof Symbol?Symbol("util.promisify.custom"):void 0;function R(e,t){if(!e){var r=new Error("Promise was rejected with a falsy value");r.reason=e,e=r}return t(e)}t.promisify=function(e){if("function"!=typeof e)throw new TypeError('The "original" argument must be of type Function');if(T&&e[T]){var t;if("function"!=typeof(t=e[T]))throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(t,T,{value:t,enumerable:!1,writable:!1,configurable:!0}),t}function t(){for(var t,r,n=new Promise((function(e,n){t=e,r=n})),i=[],a=0;a<arguments.length;a++)i.push(arguments[a]);i.push((function(e,n){e?r(e):t(n)}));try{e.apply(this,i)}catch(e){r(e)}return n}return Object.setPrototypeOf(t,Object.getPrototypeOf(e)),T&&Object.defineProperty(t,T,{value:t,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(t,n(e))},t.promisify.custom=T,t.callbackify=function(t){if("function"!=typeof t)throw new TypeError('The "original" argument must be of type Function');function r(){for(var r=[],n=0;n<arguments.length;n++)r.push(arguments[n]);var i=r.pop();if("function"!=typeof i)throw new TypeError("The last argument must be of type Function");var a=this,o=function(){return i.apply(a,arguments)};t.apply(this,r).then((function(t){e.nextTick(o,null,t)}),(function(t){e.nextTick(R,t,o)}))}return Object.setPrototypeOf(r,Object.getPrototypeOf(t)),Object.defineProperties(r,n(t)),r}}).call(this,r(341))},960:function(e,t,r){"use strict";(function(e,n,i,a){r.d(t,"a",(function(){return Ps}));r(371),r(372),r(961),r(962),r(373),r(374),r(963),r(964),r(965),r(362),r(966),r(967),r(968),r(970),r(972),r(150),r(973),r(974),r(975),r(976),r(977),r(979),r(980),r(375),r(986),r(369),r(987),r(988),r(376),r(989),r(360),r(991),r(993),r(994),r(995),r(378),r(996),r(237),r(997),r(1008),r(379),r(242),r(1009),r(1010),r(1012),r(198),r(370),r(1014),r(1015),r(1017),r(1022),r(1023),r(1024),r(1025),r(1027),r(1028),r(1029),r(1031),r(1032),r(1033),r(1034),r(1035),r(1036),r(1037),r(1038),r(1039),r(1041),r(1042),r(1043),r(1044),r(1045),r(1046),r(1047),r(1048),r(1049),r(1050),r(1051),r(1052),r(1054),r(1056),r(241),r(1058),r(1062),r(1063);var o=r(1064),s=r.n(o),u=r(613),l=r.n(u),c=r(584),h=r.n(c),f=r(724),d=r.n(f);function p(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function m(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?p(Object(r),!0).forEach((function(t){v(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):p(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function v(e,t,r){return(t=M(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function g(e){return function(e){if(Array.isArray(e))return E(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||x(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function y(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,i,a,o,s=[],u=!0,l=!1;try{if(a=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=a.call(r)).done)&&(s.push(n.value),s.length!==t);u=!0);}catch(e){l=!0,i=e}finally{try{if(!u&&null!=r.return&&(o=r.return(),Object(o)!==o))return}finally{if(l)throw i}}return s}}(e,t)||x(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function b(e,t,r){return t=w(t),function(e,t){if(t&&("object"==N(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,function(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return function(){return!!e}()}()?Reflect.construct(t,r||[],w(e).constructor):t.apply(e,r))}function w(e){return(w=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function k(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&_(e,t)}function _(e,t){return(_=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function S(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=x(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,i=function(){};return{s:i,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,s=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return o=e.done,e},e:function(e){s=!0,a=e},f:function(){try{o||null==r.return||r.return()}finally{if(s)throw a}}}}function x(e,t){if(e){if("string"==typeof e)return E(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?E(e,t):void 0}}function E(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function C(){C=function(){return t};var e,t={},r=Object.prototype,n=r.hasOwnProperty,i=Object.defineProperty||function(e,t,r){e[t]=r.value},a="function"==typeof Symbol?Symbol:{},o=a.iterator||"@@iterator",s=a.asyncIterator||"@@asyncIterator",u=a.toStringTag||"@@toStringTag";function l(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{l({},"")}catch(e){l=function(e,t,r){return e[t]=r}}function c(e,t,r,n){var a=t&&t.prototype instanceof v?t:v,o=Object.create(a.prototype),s=new R(n||[]);return i(o,"_invoke",{value:E(e,r,s)}),o}function h(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=c;var f="suspendedStart",d="executing",p="completed",m={};function v(){}function g(){}function y(){}var b={};l(b,o,(function(){return this}));var w=Object.getPrototypeOf,k=w&&w(w(O([])));k&&k!==r&&n.call(k,o)&&(b=k);var _=y.prototype=v.prototype=Object.create(b);function S(e){["next","throw","return"].forEach((function(t){l(e,t,(function(e){return this._invoke(t,e)}))}))}function x(e,t){function r(i,a,o,s){var u=h(e[i],e,a);if("throw"!==u.type){var l=u.arg,c=l.value;return c&&"object"==N(c)&&n.call(c,"__await")?t.resolve(c.__await).then((function(e){r("next",e,o,s)}),(function(e){r("throw",e,o,s)})):t.resolve(c).then((function(e){l.value=e,o(l)}),(function(e){return r("throw",e,o,s)}))}s(u.arg)}var a;i(this,"_invoke",{value:function(e,n){function i(){return new t((function(t,i){r(e,n,t,i)}))}return a=a?a.then(i,i):i()}})}function E(t,r,n){var i=f;return function(a,o){if(i===d)throw Error("Generator is already running");if(i===p){if("throw"===a)throw o;return{value:e,done:!0}}for(n.method=a,n.arg=o;;){var s=n.delegate;if(s){var u=A(s,n);if(u){if(u===m)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(i===f)throw i=p,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);i=d;var l=h(t,r,n);if("normal"===l.type){if(i=n.done?p:"suspendedYield",l.arg===m)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(i=p,n.method="throw",n.arg=l.arg)}}}function A(t,r){var n=r.method,i=t.iterator[n];if(i===e)return r.delegate=null,"throw"===n&&t.iterator.return&&(r.method="return",r.arg=e,A(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),m;var a=h(i,t.iterator,r.arg);if("throw"===a.type)return r.method="throw",r.arg=a.arg,r.delegate=null,m;var o=a.arg;return o?o.done?(r[t.resultName]=o.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,m):o:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,m)}function P(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function T(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function R(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(P,this),this.reset(!0)}function O(t){if(t||""===t){var r=t[o];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var i=-1,a=function r(){for(;++i<t.length;)if(n.call(t,i))return r.value=t[i],r.done=!1,r;return r.value=e,r.done=!0,r};return a.next=a}}throw new TypeError(N(t)+" is not iterable")}return g.prototype=y,i(_,"constructor",{value:y,configurable:!0}),i(y,"constructor",{value:g,configurable:!0}),g.displayName=l(y,u,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===g||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,y):(e.__proto__=y,l(e,u,"GeneratorFunction")),e.prototype=Object.create(_),e},t.awrap=function(e){return{__await:e}},S(x.prototype),l(x.prototype,s,(function(){return this})),t.AsyncIterator=x,t.async=function(e,r,n,i,a){void 0===a&&(a=Promise);var o=new x(c(e,r,n,i),a);return t.isGeneratorFunction(r)?o:o.next().then((function(e){return e.done?e.value:o.next()}))},S(_),l(_,u,"Generator"),l(_,o,(function(){return this})),l(_,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),r=[];for(var n in t)r.push(n);return r.reverse(),function e(){for(;r.length;){var n=r.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},t.values=O,R.prototype={constructor:R,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(T),!t)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function i(n,i){return s.type="throw",s.arg=t,r.next=n,i&&(r.method="next",r.arg=e),!!i}for(var a=this.tryEntries.length-1;a>=0;--a){var o=this.tryEntries[a],s=o.completion;if("root"===o.tryLoc)return i("end");if(o.tryLoc<=this.prev){var u=n.call(o,"catchLoc"),l=n.call(o,"finallyLoc");if(u&&l){if(this.prev<o.catchLoc)return i(o.catchLoc,!0);if(this.prev<o.finallyLoc)return i(o.finallyLoc)}else if(u){if(this.prev<o.catchLoc)return i(o.catchLoc,!0)}else{if(!l)throw Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return i(o.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var a=i;break}}a&&("break"===e||"continue"===e)&&a.tryLoc<=t&&t<=a.finallyLoc&&(a=null);var o=a?a.completion:{};return o.type=e,o.arg=t,a?(this.method="next",this.next=a.finallyLoc,m):this.complete(o)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),m},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),T(r),m}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var i=n.arg;T(r)}return i}}throw Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:O(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),m}},t}function A(e,t,r,n,i,a,o){try{var s=e[a](o),u=s.value}catch(e){return void r(e)}s.done?t(u):Promise.resolve(u).then(n,i)}function P(e){return function(){var t=this,r=arguments;return new Promise((function(n,i){var a=e.apply(t,r);function o(e){A(a,n,i,o,s,"next",e)}function s(e){A(a,n,i,o,s,"throw",e)}o(void 0)}))}}function T(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function R(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,M(n.key),n)}}function O(e,t,r){return t&&R(e.prototype,t),r&&R(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function M(e){var t=function(e,t){if("object"!=N(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=N(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==N(t)?t:t+""}function N(e){return(N="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}void 0===window.setImmediate&&(window.setImmediate=function(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];setTimeout((function(){return e(r)}))});var B="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==e?e:"undefined"!=typeof self?self:{};var I,L,j,D,z,F={},U={},W={},H={exports:{}},q={exports:{}};function V(){return I||(I=1,void 0===n||!n.version||0===n.version.indexOf("v0.")||0===n.version.indexOf("v1.")&&0!==n.version.indexOf("v1.8.")?q.exports={nextTick:function(e,t,r,i){if("function"!=typeof e)throw new TypeError('"callback" argument must be a function');var a,o,s=arguments.length;switch(s){case 0:case 1:return n.nextTick(e);case 2:return n.nextTick((function(){e.call(null,t)}));case 3:return n.nextTick((function(){e.call(null,t,r)}));case 4:return n.nextTick((function(){e.call(null,t,r,i)}));default:for(a=new Array(s-1),o=0;o<a.length;)a[o++]=arguments[o];return n.nextTick((function(){e.apply(null,a)}))}}}:q.exports=n),q.exports}function Z(){return z?D:(z=1,D=s.a)}var X,G={exports:{}};function Y(){return X||(X=1,function(e,t){var r=h.a,n=r.Buffer;function i(e,t){for(var r in e)t[r]=e[r]}function a(e,t,r){return n(e,t,r)}n.from&&n.alloc&&n.allocUnsafe&&n.allocUnsafeSlow?e.exports=r:(i(r,t),t.Buffer=a),i(n,a),a.from=function(e,t,r){if("number"==typeof e)throw new TypeError("Argument must not be a number");return n(e,t,r)},a.alloc=function(e,t,r){if("number"!=typeof e)throw new TypeError("Argument must be a number");var i=n(e);return void 0!==t?"string"==typeof r?i.fill(t,r):i.fill(t):i.fill(0),i},a.allocUnsafe=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return n(e)},a.allocUnsafeSlow=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return r.SlowBuffer(e)}}(G,G.exports)),G.exports}var J,K={};function $(){if(J)return K;function e(e){return Object.prototype.toString.call(e)}return J=1,K.isArray=function(t){return Array.isArray?Array.isArray(t):"[object Array]"===e(t)},K.isBoolean=function(e){return"boolean"==typeof e},K.isNull=function(e){return null===e},K.isNullOrUndefined=function(e){return null==e},K.isNumber=function(e){return"number"==typeof e},K.isString=function(e){return"string"==typeof e},K.isSymbol=function(e){return"symbol"==N(e)},K.isUndefined=function(e){return void 0===e},K.isRegExp=function(t){return"[object RegExp]"===e(t)},K.isObject=function(e){return"object"==N(e)&&null!==e},K.isDate=function(t){return"[object Date]"===e(t)},K.isError=function(t){return"[object Error]"===e(t)||t instanceof Error},K.isFunction=function(e){return"function"==typeof e},K.isPrimitive=function(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==N(e)||void 0===e},K.isBuffer=h.a.Buffer.isBuffer,K}var Q,ee,te={exports:{}},re={exports:{}};function ne(){if(ee)return te.exports;ee=1;try{var e=r(724);if("function"!=typeof e.inherits)throw"";te.exports=e.inherits}catch(e){te.exports=(Q||(Q=1,"function"==typeof Object.create?re.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:re.exports=function(e,t){if(t){e.super_=t;var r=function(){};r.prototype=t.prototype,e.prototype=new r,e.prototype.constructor=e}}),re.exports)}return te.exports}var ie,ae,oe,se,ue,le,ce,he,fe,de={exports:{}};function pe(){return ie||(ie=1,e=de,t=Y().Buffer,r=d.a,e.exports=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.head=null,this.tail=null,this.length=0}return e.prototype.push=function(e){var t={data:e,next:null};this.length>0?this.tail.next=t:this.head=t,this.tail=t,++this.length},e.prototype.unshift=function(e){var t={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length},e.prototype.shift=function(){if(0!==this.length){var e=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,e}},e.prototype.clear=function(){this.head=this.tail=null,this.length=0},e.prototype.join=function(e){if(0===this.length)return"";for(var t=this.head,r=""+t.data;t=t.next;)r+=e+t.data;return r},e.prototype.concat=function(e){if(0===this.length)return t.alloc(0);for(var r,n,i=t.allocUnsafe(e>>>0),a=this.head,o=0;a;)r=i,n=o,a.data.copy(r,n),o+=a.data.length,a=a.next;return i},e}(),r&&r.inspect&&r.inspect.custom&&(e.exports.prototype[r.inspect.custom]=function(){var e=r.inspect({length:this.length});return this.constructor.name+" "+e})),de.exports;var e,t,r}function me(){if(oe)return ae;oe=1;var e=V();function t(e,t){e.emit("error",t)}return ae={destroy:function(r,n){var i=this,a=this._readableState&&this._readableState.destroyed,o=this._writableState&&this._writableState.destroyed;return a||o?(n?n(r):r&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,e.nextTick(t,this,r)):e.nextTick(t,this,r)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(r||null,(function(r){!n&&r?i._writableState?i._writableState.errorEmitted||(i._writableState.errorEmitted=!0,e.nextTick(t,i,r)):e.nextTick(t,i,r):n&&n(r)})),this)},undestroy:function(){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 ve(){if(ce)return le;ce=1;var e=V();function t(e){var t=this;this.next=null,this.entry=null,this.finish=function(){!function(e,t,r){var n=e.entry;for(e.entry=null;n;){var i=n.callback;t.pendingcb--,i(void 0),n=n.next}t.corkedRequestsFree.next=e}(t,e)}}le=v;var r,a=!n.browser&&["v0.10","v0.9."].indexOf(n.version.slice(0,5))>-1?i:e.nextTick;v.WritableState=m;var o=Object.create($());o.inherits=ne();var s,u={deprecate:ue?se:(ue=1,se=d.a.deprecate)},l=Z(),c=Y().Buffer,h=(void 0!==B?B:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{}).Uint8Array||function(){},f=me();function p(){}function m(n,i){r=r||ge(),n=n||{};var o=i instanceof r;this.objectMode=!!n.objectMode,o&&(this.objectMode=this.objectMode||!!n.writableObjectMode);var s=n.highWaterMark,u=n.writableHighWaterMark,l=this.objectMode?16:16384;this.highWaterMark=s||0===s?s:o&&(u||0===u)?u:l,this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var c=!1===n.decodeStrings;this.decodeStrings=!c,this.defaultEncoding=n.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(t){!function(t,r){var n=t._writableState,i=n.sync,o=n.writecb;if(function(e){e.writing=!1,e.writecb=null,e.length-=e.writelen,e.writelen=0}(n),r)!function(t,r,n,i,a){--r.pendingcb,n?(e.nextTick(a,i),e.nextTick(_,t,r),t._writableState.errorEmitted=!0,t.emit("error",i)):(a(i),t._writableState.errorEmitted=!0,t.emit("error",i),_(t,r))}(t,n,i,r,o);else{var s=w(n);s||n.corked||n.bufferProcessing||!n.bufferedRequest||b(t,n),i?a(y,t,n,s,o):y(t,n,s,o)}}(i,t)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new t(this)}function v(e){if(r=r||ge(),!(s.call(v,this)||this instanceof r))return new v(e);this._writableState=new m(e,this),this.writable=!0,e&&("function"==typeof e.write&&(this._write=e.write),"function"==typeof e.writev&&(this._writev=e.writev),"function"==typeof e.destroy&&(this._destroy=e.destroy),"function"==typeof e.final&&(this._final=e.final)),l.call(this)}function g(e,t,r,n,i,a,o){t.writelen=n,t.writecb=o,t.writing=!0,t.sync=!0,r?e._writev(i,t.onwrite):e._write(i,a,t.onwrite),t.sync=!1}function y(e,t,r,n){r||function(e,t){0===t.length&&t.needDrain&&(t.needDrain=!1,e.emit("drain"))}(e,t),t.pendingcb--,n(),_(e,t)}function b(e,r){r.bufferProcessing=!0;var n=r.bufferedRequest;if(e._writev&&n&&n.next){var i=r.bufferedRequestCount,a=new Array(i),o=r.corkedRequestsFree;o.entry=n;for(var s=0,u=!0;n;)a[s]=n,n.isBuf||(u=!1),n=n.next,s+=1;a.allBuffers=u,g(e,r,!0,r.length,a,"",o.finish),r.pendingcb++,r.lastBufferedRequest=null,o.next?(r.corkedRequestsFree=o.next,o.next=null):r.corkedRequestsFree=new t(r),r.bufferedRequestCount=0}else{for(;n;){var l=n.chunk,c=n.encoding,h=n.callback;if(g(e,r,!1,r.objectMode?1:l.length,l,c,h),n=n.next,r.bufferedRequestCount--,r.writing)break}null===n&&(r.lastBufferedRequest=null)}r.bufferedRequest=n,r.bufferProcessing=!1}function w(e){return e.ending&&0===e.length&&null===e.bufferedRequest&&!e.finished&&!e.writing}function k(e,t){e._final((function(r){t.pendingcb--,r&&e.emit("error",r),t.prefinished=!0,e.emit("prefinish"),_(e,t)}))}function _(t,r){var n=w(r);return n&&(function(t,r){r.prefinished||r.finalCalled||("function"==typeof t._final?(r.pendingcb++,r.finalCalled=!0,e.nextTick(k,t,r)):(r.prefinished=!0,t.emit("prefinish")))}(t,r),0===r.pendingcb&&(r.finished=!0,t.emit("finish"))),n}return o.inherits(v,l),m.prototype.getBuffer=function(){for(var e=this.bufferedRequest,t=[];e;)t.push(e),e=e.next;return t},function(){try{Object.defineProperty(m.prototype,"buffer",{get:u.deprecate((function(){return this.getBuffer()}),"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(e){}}(),"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?(s=Function.prototype[Symbol.hasInstance],Object.defineProperty(v,Symbol.hasInstance,{value:function(e){return!!s.call(this,e)||this===v&&e&&e._writableState instanceof m}})):s=function(e){return e instanceof this},v.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))},v.prototype.write=function(t,r,n){var i,a=this._writableState,o=!1,s=!a.objectMode&&(i=t,c.isBuffer(i)||i instanceof h);return s&&!c.isBuffer(t)&&(t=function(e){return c.from(e)}(t)),"function"==typeof r&&(n=r,r=null),s?r="buffer":r||(r=a.defaultEncoding),"function"!=typeof n&&(n=p),a.ended?function(t,r){var n=new Error("write after end");t.emit("error",n),e.nextTick(r,n)}(this,n):(s||function(t,r,n,i){var a=!0,o=!1;return null===n?o=new TypeError("May not write null values to stream"):"string"==typeof n||void 0===n||r.objectMode||(o=new TypeError("Invalid non-string/buffer chunk")),o&&(t.emit("error",o),e.nextTick(i,o),a=!1),a}(this,a,t,n))&&(a.pendingcb++,o=function(e,t,r,n,i,a){if(!r){var o=function(e,t,r){return e.objectMode||!1===e.decodeStrings||"string"!=typeof t||(t=c.from(t,r)),t}(t,n,i);n!==o&&(r=!0,i="buffer",n=o)}var s=t.objectMode?1:n.length;t.length+=s;var u=t.length<t.highWaterMark;if(u||(t.needDrain=!0),t.writing||t.corked){var l=t.lastBufferedRequest;t.lastBufferedRequest={chunk:n,encoding:i,isBuf:r,callback:a,next:null},l?l.next=t.lastBufferedRequest:t.bufferedRequest=t.lastBufferedRequest,t.bufferedRequestCount+=1}else g(e,t,!1,s,n,i,a);return u}(this,a,s,t,r,n)),o},v.prototype.cork=function(){this._writableState.corked++},v.prototype.uncork=function(){var e=this._writableState;e.corked&&(e.corked--,e.writing||e.corked||e.bufferProcessing||!e.bufferedRequest||b(this,e))},v.prototype.setDefaultEncoding=function(e){if("string"==typeof e&&(e=e.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((e+"").toLowerCase())>-1))throw new TypeError("Unknown encoding: "+e);return this._writableState.defaultEncoding=e,this},Object.defineProperty(v.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),v.prototype._write=function(e,t,r){r(new Error("_write() is not implemented"))},v.prototype._writev=null,v.prototype.end=function(t,r,n){var i=this._writableState;"function"==typeof t?(n=t,t=null,r=null):"function"==typeof r&&(n=r,r=null),null!=t&&this.write(t,r),i.corked&&(i.corked=1,this.uncork()),i.ending||function(t,r,n){r.ending=!0,_(t,r),n&&(r.finished?e.nextTick(n):t.once("finish",n)),r.ended=!0,t.writable=!1}(this,i,n)},Object.defineProperty(v.prototype,"destroyed",{get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}}),v.prototype.destroy=f.destroy,v.prototype._undestroy=f.undestroy,v.prototype._destroy=function(e,t){this.end(),t(e)},le}function ge(){if(fe)return he;fe=1;var e=V(),t=Object.keys||function(e){var t=[];for(var r in e)t.push(r);return t};he=u;var r=Object.create($());r.inherits=ne();var n=Pe(),i=ve();r.inherits(u,n);for(var a=t(i.prototype),o=0;o<a.length;o++){var s=a[o];u.prototype[s]||(u.prototype[s]=i.prototype[s])}function u(e){if(!(this instanceof u))return new u(e);n.call(this,e),i.call(this,e),e&&!1===e.readable&&(this.readable=!1),e&&!1===e.writable&&(this.writable=!1),this.allowHalfOpen=!0,e&&!1===e.allowHalfOpen&&(this.allowHalfOpen=!1),this.once("end",l)}function l(){this.allowHalfOpen||this._writableState.ended||e.nextTick(c,this)}function c(e){e.end()}return Object.defineProperty(u.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(u.prototype,"destroyed",{get:function(){return void 0!==this._readableState&&void 0!==this._writableState&&this._readableState.destroyed&&this._writableState.destroyed},set:function(e){void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed=e,this._writableState.destroyed=e)}}),u.prototype._destroy=function(t,r){this.push(null),this.end(),e.nextTick(r,t)},he}var ye,be,we,ke,_e,Se,xe,Ee,Ce={};function Ae(){if(ye)return Ce;ye=1;var e=Y().Buffer,t=e.isEncoding||function(e){switch((e=""+e)&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function r(r){var n;switch(this.encoding=function(r){var n=function(e){if(!e)return"utf8";for(var t;;)switch(e){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return e;default:if(t)return;e=(""+e).toLowerCase(),t=!0}}(r);if("string"!=typeof n&&(e.isEncoding===t||!t(r)))throw new Error("Unknown encoding: "+r);return n||r}(r),this.encoding){case"utf16le":this.text=a,this.end=o,n=4;break;case"utf8":this.fillLast=i,n=4;break;case"base64":this.text=s,this.end=u,n=3;break;default:return this.write=l,void(this.end=c)}this.lastNeed=0,this.lastTotal=0,this.lastChar=e.allocUnsafe(n)}function n(e){return e<=127?0:e>>5==6?2:e>>4==14?3:e>>3==30?4:e>>6==2?-1:-2}function i(e){var t=this.lastTotal-this.lastNeed,r=function(e,t){if(128!=(192&t[0]))return e.lastNeed=0,"�";if(e.lastNeed>1&&t.length>1){if(128!=(192&t[1]))return e.lastNeed=1,"�";if(e.lastNeed>2&&t.length>2&&128!=(192&t[2]))return e.lastNeed=2,"�"}}(this,e);return void 0!==r?r:this.lastNeed<=e.length?(e.copy(this.lastChar,t,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(e.copy(this.lastChar,t,0,e.length),void(this.lastNeed-=e.length))}function a(e,t){if((e.length-t)%2==0){var r=e.toString("utf16le",t);if(r){var n=r.charCodeAt(r.length-1);if(n>=55296&&n<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],r.slice(0,-1)}return r}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString("utf16le",t,e.length-1)}function o(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed){var r=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,r)}return t}function s(e,t){var r=(e.length-t)%3;return 0===r?e.toString("base64",t):(this.lastNeed=3-r,this.lastTotal=3,1===r?this.lastChar[0]=e[e.length-1]:(this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1]),e.toString("base64",t,e.length-r))}function u(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function l(e){return e.toString(this.encoding)}function c(e){return e&&e.length?this.write(e):""}return Ce.StringDecoder=r,r.prototype.write=function(e){if(0===e.length)return"";var t,r;if(this.lastNeed){if(void 0===(t=this.fillLast(e)))return"";r=this.lastNeed,this.lastNeed=0}else r=0;return r<e.length?t?t+this.text(e,r):this.text(e,r):t||""},r.prototype.end=function(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+"�":t},r.prototype.text=function(e,t){var r=function(e,t,r){var i=t.length-1;if(i<r)return 0;var a=n(t[i]);return a>=0?(a>0&&(e.lastNeed=a-1),a):--i<r||-2===a?0:(a=n(t[i]))>=0?(a>0&&(e.lastNeed=a-2),a):--i<r||-2===a?0:(a=n(t[i]))>=0?(a>0&&(2===a?a=0:e.lastNeed=a-3),a):0}(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=r;var i=e.length-(r-this.lastNeed);return e.copy(this.lastChar,0,i),e.toString("utf8",t,i)},r.prototype.fillLast=function(e){if(this.lastNeed<=e.length)return e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,e.length),this.lastNeed-=e.length},Ce}function Pe(){if(we)return be;we=1;var e=V();be=y;var t,r=function(){if(j)return L;j=1;var e={}.toString;return L=Array.isArray||function(t){return"[object Array]"==e.call(t)}}();y.ReadableState=g,l.a.EventEmitter;var i=function(e,t){return e.listeners(t).length},a=Z(),o=Y().Buffer,s=(void 0!==B?B:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{}).Uint8Array||function(){},u=Object.create($());u.inherits=ne();var c=d.a,h=void 0;h=c&&c.debuglog?c.debuglog("stream"):function(){};var f,p=pe(),m=me();u.inherits(y,a);var v=["error","close","destroy","pause","resume"];function g(e,r){e=e||{};var n=r instanceof(t=t||ge());this.objectMode=!!e.objectMode,n&&(this.objectMode=this.objectMode||!!e.readableObjectMode);var i=e.highWaterMark,a=e.readableHighWaterMark,o=this.objectMode?16:16384;this.highWaterMark=i||0===i?i:n&&(a||0===a)?a:o,this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new p,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.destroyed=!1,this.defaultEncoding=e.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,e.encoding&&(f||(f=Ae().StringDecoder),this.decoder=new f(e.encoding),this.encoding=e.encoding)}function y(e){if(t=t||ge(),!(this instanceof y))return new y(e);this._readableState=new g(e,this),this.readable=!0,e&&("function"==typeof e.read&&(this._read=e.read),"function"==typeof e.destroy&&(this._destroy=e.destroy)),a.call(this)}function b(e,t,r,n,i){var a,u=e._readableState;return null===t?(u.reading=!1,function(e,t){if(!t.ended){if(t.decoder){var r=t.decoder.end();r&&r.length&&(t.buffer.push(r),t.length+=t.objectMode?1:r.length)}t.ended=!0,S(e)}}(e,u)):(i||(a=function(e,t){var r,n;return n=t,o.isBuffer(n)||n instanceof s||"string"==typeof t||void 0===t||e.objectMode||(r=new TypeError("Invalid non-string/buffer chunk")),r}(u,t)),a?e.emit("error",a):u.objectMode||t&&t.length>0?("string"==typeof t||u.objectMode||Object.getPrototypeOf(t)===o.prototype||(t=function(e){return o.from(e)}(t)),n?u.endEmitted?e.emit("error",new Error("stream.unshift() after end event")):w(e,u,t,!0):u.ended?e.emit("error",new Error("stream.push() after EOF")):(u.reading=!1,u.decoder&&!r?(t=u.decoder.write(t),u.objectMode||0!==t.length?w(e,u,t,!1):E(e,u)):w(e,u,t,!1))):n||(u.reading=!1)),function(e){return!e.ended&&(e.needReadable||e.length<e.highWaterMark||0===e.length)}(u)}function w(e,t,r,n){t.flowing&&0===t.length&&!t.sync?(e.emit("data",r),e.read(0)):(t.length+=t.objectMode?1:r.length,n?t.buffer.unshift(r):t.buffer.push(r),t.needReadable&&S(e)),E(e,t)}Object.defineProperty(y.prototype,"destroyed",{get:function(){return void 0!==this._readableState&&this._readableState.destroyed},set:function(e){this._readableState&&(this._readableState.destroyed=e)}}),y.prototype.destroy=m.destroy,y.prototype._undestroy=m.undestroy,y.prototype._destroy=function(e,t){this.push(null),t(e)},y.prototype.push=function(e,t){var r,n=this._readableState;return n.objectMode?r=!0:"string"==typeof e&&((t=t||n.defaultEncoding)!==n.encoding&&(e=o.from(e,t),t=""),r=!0),b(this,e,t,!1,r)},y.prototype.unshift=function(e){return b(this,e,null,!0,!1)},y.prototype.isPaused=function(){return!1===this._readableState.flowing},y.prototype.setEncoding=function(e){return f||(f=Ae().StringDecoder),this._readableState.decoder=new f(e),this._readableState.encoding=e,this};var k=8388608;function _(e,t){return e<=0||0===t.length&&t.ended?0:t.objectMode?1:e!=e?t.flowing&&t.length?t.buffer.head.data.length:t.length:(e>t.highWaterMark&&(t.highWaterMark=function(e){return e>=k?e=k:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}(e)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0))}function S(t){var r=t._readableState;r.needReadable=!1,r.emittedReadable||(h("emitReadable",r.flowing),r.emittedReadable=!0,r.sync?e.nextTick(x,t):x(t))}function x(e){h("emit readable"),e.emit("readable"),T(e)}function E(t,r){r.readingMore||(r.readingMore=!0,e.nextTick(C,t,r))}function C(e,t){for(var r=t.length;!t.reading&&!t.flowing&&!t.ended&&t.length<t.highWaterMark&&(h("maybeReadMore read 0"),e.read(0),r!==t.length);)r=t.length;t.readingMore=!1}function A(e){h("readable nexttick read 0"),e.read(0)}function P(e,t){t.reading||(h("resume read 0"),e.read(0)),t.resumeScheduled=!1,t.awaitDrain=0,e.emit("resume"),T(e),t.flowing&&!t.reading&&e.read(0)}function T(e){var t=e._readableState;for(h("flow",t.flowing);t.flowing&&null!==e.read(););}function R(e,t){return 0===t.length?null:(t.objectMode?r=t.buffer.shift():!e||e>=t.length?(r=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.head.data:t.buffer.concat(t.length),t.buffer.clear()):r=function(e,t,r){var n;return e<t.head.data.length?(n=t.head.data.slice(0,e),t.head.data=t.head.data.slice(e)):n=e===t.head.data.length?t.shift():r?function(e,t){var r=t.head,n=1,i=r.data;for(e-=i.length;r=r.next;){var a=r.data,o=e>a.length?a.length:e;if(o===a.length?i+=a:i+=a.slice(0,e),0==(e-=o)){o===a.length?(++n,r.next?t.head=r.next:t.head=t.tail=null):(t.head=r,r.data=a.slice(o));break}++n}return t.length-=n,i}(e,t):function(e,t){var r=o.allocUnsafe(e),n=t.head,i=1;for(n.data.copy(r),e-=n.data.length;n=n.next;){var a=n.data,s=e>a.length?a.length:e;if(a.copy(r,r.length-e,0,s),0==(e-=s)){s===a.length?(++i,n.next?t.head=n.next:t.head=t.tail=null):(t.head=n,n.data=a.slice(s));break}++i}return t.length-=i,r}(e,t),n}(e,t.buffer,t.decoder),r);var r}function O(t){var r=t._readableState;if(r.length>0)throw new Error('"endReadable()" called on non-empty stream');r.endEmitted||(r.ended=!0,e.nextTick(M,r,t))}function M(e,t){e.endEmitted||0!==e.length||(e.endEmitted=!0,t.readable=!1,t.emit("end"))}function N(e,t){for(var r=0,n=e.length;r<n;r++)if(e[r]===t)return r;return-1}return y.prototype.read=function(e){h("read",e),e=parseInt(e,10);var t=this._readableState,r=e;if(0!==e&&(t.emittedReadable=!1),0===e&&t.needReadable&&(t.length>=t.highWaterMark||t.ended))return h("read: emitReadable",t.length,t.ended),0===t.length&&t.ended?O(this):S(this),null;if(0===(e=_(e,t))&&t.ended)return 0===t.length&&O(this),null;var n,i=t.needReadable;return h("need readable",i),(0===t.length||t.length-e<t.highWaterMark)&&h("length less than watermark",i=!0),t.ended||t.reading?h("reading or ended",i=!1):i&&(h("do read"),t.reading=!0,t.sync=!0,0===t.length&&(t.needReadable=!0),this._read(t.highWaterMark),t.sync=!1,t.reading||(e=_(r,t))),null===(n=e>0?R(e,t):null)?(t.needReadable=!0,e=0):t.length-=e,0===t.length&&(t.ended||(t.needReadable=!0),r!==e&&t.ended&&O(this)),null!==n&&this.emit("data",n),n},y.prototype._read=function(e){this.emit("error",new Error("_read() is not implemented"))},y.prototype.pipe=function(t,a){var o=this,s=this._readableState;switch(s.pipesCount){case 0:s.pipes=t;break;case 1:s.pipes=[s.pipes,t];break;default:s.pipes.push(t)}s.pipesCount+=1,h("pipe count=%d opts=%j",s.pipesCount,a);var u=a&&!1===a.end||t===n.stdout||t===n.stderr?y:l;function l(){h("onend"),t.end()}s.endEmitted?e.nextTick(u):o.once("end",u),t.on("unpipe",(function e(r,n){h("onunpipe"),r===o&&n&&!1===n.hasUnpiped&&(n.hasUnpiped=!0,h("cleanup"),t.removeListener("close",v),t.removeListener("finish",g),t.removeListener("drain",c),t.removeListener("error",m),t.removeListener("unpipe",e),o.removeListener("end",l),o.removeListener("end",y),o.removeListener("data",p),f=!0,!s.awaitDrain||t._writableState&&!t._writableState.needDrain||c())}));var c=function(e){return function(){var t=e._readableState;h("pipeOnDrain",t.awaitDrain),t.awaitDrain&&t.awaitDrain--,0===t.awaitDrain&&i(e,"data")&&(t.flowing=!0,T(e))}}(o);t.on("drain",c);var f=!1,d=!1;function p(e){h("ondata"),d=!1,!1!==t.write(e)||d||((1===s.pipesCount&&s.pipes===t||s.pipesCount>1&&-1!==N(s.pipes,t))&&!f&&(h("false write response, pause",s.awaitDrain),s.awaitDrain++,d=!0),o.pause())}function m(e){h("onerror",e),y(),t.removeListener("error",m),0===i(t,"error")&&t.emit("error",e)}function v(){t.removeListener("finish",g),y()}function g(){h("onfinish"),t.removeListener("close",v),y()}function y(){h("unpipe"),o.unpipe(t)}return o.on("data",p),function(e,t,n){if("function"==typeof e.prependListener)return e.prependListener(t,n);e._events&&e._events[t]?r(e._events[t])?e._events[t].unshift(n):e._events[t]=[n,e._events[t]]:e.on(t,n)}(t,"error",m),t.once("close",v),t.once("finish",g),t.emit("pipe",o),s.flowing||(h("pipe resume"),o.resume()),t},y.prototype.unpipe=function(e){var t=this._readableState,r={hasUnpiped:!1};if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes||(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this,r)),this;if(!e){var n=t.pipes,i=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var a=0;a<i;a++)n[a].emit("unpipe",this,{hasUnpiped:!1});return this}var o=N(t.pipes,e);return-1===o||(t.pipes.splice(o,1),t.pipesCount-=1,1===t.pipesCount&&(t.pipes=t.pipes[0]),e.emit("unpipe",this,r)),this},y.prototype.on=function(t,r){var n=a.prototype.on.call(this,t,r);if("data"===t)!1!==this._readableState.flowing&&this.resume();else if("readable"===t){var i=this._readableState;i.endEmitted||i.readableListening||(i.readableListening=i.needReadable=!0,i.emittedReadable=!1,i.reading?i.length&&S(this):e.nextTick(A,this))}return n},y.prototype.addListener=y.prototype.on,y.prototype.resume=function(){var t=this._readableState;return t.flowing||(h("resume"),t.flowing=!0,function(t,r){r.resumeScheduled||(r.resumeScheduled=!0,e.nextTick(P,t,r))}(this,t)),this},y.prototype.pause=function(){return h("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(h("pause"),this._readableState.flowing=!1,this.emit("pause")),this},y.prototype.wrap=function(e){var t=this,r=this._readableState,n=!1;for(var i in e.on("end",(function(){if(h("wrapped end"),r.decoder&&!r.ended){var e=r.decoder.end();e&&e.length&&t.push(e)}t.push(null)})),e.on("data",(function(i){h("wrapped data"),r.decoder&&(i=r.decoder.write(i)),r.objectMode&&null==i||(r.objectMode||i&&i.length)&&(t.push(i)||(n=!0,e.pause()))})),e)void 0===this[i]&&"function"==typeof e[i]&&(this[i]=function(t){return function(){return e[t].apply(e,arguments)}}(i));for(var a=0;a<v.length;a++)e.on(v[a],this.emit.bind(this,v[a]));return this._read=function(t){h("wrapped _read",t),n&&(n=!1,e.resume())},this},Object.defineProperty(y.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),y._fromList=R,be}function Te(){if(_e)return ke;_e=1,ke=n;var e=ge(),t=Object.create($());function r(e,t){var r=this._transformState;r.transforming=!1;var n=r.writecb;if(!n)return this.emit("error",new Error("write callback called multiple times"));r.writechunk=null,r.writecb=null,null!=t&&this.push(t),n(e);var i=this._readableState;i.reading=!1,(i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}function n(t){if(!(this instanceof n))return new n(t);e.call(this,t),this._transformState={afterTransform:r.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,t&&("function"==typeof t.transform&&(this._transform=t.transform),"function"==typeof t.flush&&(this._flush=t.flush)),this.on("prefinish",i)}function i(){var e=this;"function"==typeof this._flush?this._flush((function(t,r){a(e,t,r)})):a(this,null,null)}function a(e,t,r){if(t)return e.emit("error",t);if(null!=r&&e.push(r),e._writableState.length)throw new Error("Calling transform done when ws.length != 0");if(e._transformState.transforming)throw new Error("Calling transform done when still transforming");return e.push(null)}return t.inherits=ne(),t.inherits(n,e),n.prototype.push=function(t,r){return this._transformState.needTransform=!1,e.prototype.push.call(this,t,r)},n.prototype._transform=function(e,t,r){throw new Error("_transform() is not implemented")},n.prototype._write=function(e,t,r){var n=this._transformState;if(n.writecb=r,n.writechunk=e,n.writeencoding=t,!n.transforming){var i=this._readableState;(n.needTransform||i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}},n.prototype._read=function(e){var t=this._transformState;null!==t.writechunk&&t.writecb&&!t.transforming?(t.transforming=!0,this._transform(t.writechunk,t.writeencoding,t.afterTransform)):t.needTransform=!0},n.prototype._destroy=function(t,r){var n=this;e.prototype._destroy.call(this,t,(function(e){r(e),n.emit("close")}))},ke}function Re(){return Ee||(Ee=1,e=H,t=H.exports,r=s.a,"disable"===n.env.READABLE_STREAM&&r?(e.exports=r,(t=e.exports=r.Readable).Readable=r.Readable,t.Writable=r.Writable,t.Duplex=r.Duplex,t.Transform=r.Transform,t.PassThrough=r.PassThrough,t.Stream=r):((t=e.exports=Pe()).Stream=r||t,t.Readable=t,t.Writable=ve(),t.Duplex=ge(),t.Transform=Te(),t.PassThrough=function(){if(xe)return Se;xe=1,Se=r;var e=Te(),t=Object.create($());function r(t){if(!(this instanceof r))return new r(t);e.call(this,t)}return t.inherits=ne(),t.inherits(r,e),r.prototype._transform=function(e,t,r){r(null,e)},Se}())),H.exports;var e,t,r}if(W.base64=!0,W.array=!0,W.string=!0,W.arraybuffer="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof Uint8Array,W.nodebuffer=void 0!==a,W.uint8array="undefined"!=typeof Uint8Array,"undefined"==typeof ArrayBuffer)W.blob=!1;else{var Oe=new ArrayBuffer(0);try{W.blob=0===new Blob([Oe],{type:"application/zip"}).size}catch(Ca){try{var Me=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);Me.append(Oe),W.blob=0===Me.getBlob("application/zip").size}catch(Ca){W.blob=!1}}}try{W.nodestream=!!Re().Readable}catch(Ca){W.nodestream=!1}var Ne,Be={};function Ie(){if(Ne)return Be;Ne=1;var e=He(),t=W,r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";return Be.encode=function(t){for(var n,i,a,o,s,u,l,c=[],h=0,f=t.length,d=f,p="string"!==e.getTypeOf(t);h<t.length;)d=f-h,p?(n=t[h++],i=h<f?t[h++]:0,a=h<f?t[h++]:0):(n=t.charCodeAt(h++),i=h<f?t.charCodeAt(h++):0,a=h<f?t.charCodeAt(h++):0),o=n>>2,s=(3&n)<<4|i>>4,u=d>1?(15&i)<<2|a>>6:64,l=d>2?63&a:64,c.push(r.charAt(o)+r.charAt(s)+r.charAt(u)+r.charAt(l));return c.join("")},Be.decode=function(e){var n,i,a,o,s,u,l=0,c=0;if("data:"===e.substr(0,5))throw new Error("Invalid base64 input, it looks like a data url.");var h,f=3*(e=e.replace(/[^A-Za-z0-9+/=]/g,"")).length/4;if(e.charAt(e.length-1)===r.charAt(64)&&f--,e.charAt(e.length-2)===r.charAt(64)&&f--,f%1!=0)throw new Error("Invalid base64 input, bad content length.");for(h=t.uint8array?new Uint8Array(0|f):new Array(0|f);l<e.length;)n=r.indexOf(e.charAt(l++))<<2|(o=r.indexOf(e.charAt(l++)))>>4,i=(15&o)<<4|(s=r.indexOf(e.charAt(l++)))>>2,a=(3&s)<<6|(u=r.indexOf(e.charAt(l++))),h[c++]=n,64!==s&&(h[c++]=i),64!==u&&(h[c++]=a);return h},Be}var Le,je,De,ze,Fe,Ue={isNode:void 0!==a,newBufferFrom:function(e,t){if(a.from&&a.from!==Uint8Array.from)return a.from(e,t);if("number"==typeof e)throw new Error('The "data" argument must not be a number');return new a(e,t)},allocBuffer:function(e){if(a.alloc)return a.alloc(e);var t=new a(e);return t.fill(0),t},isBuffer:function(e){return a.isBuffer(e)},isStream:function(e){return e&&"function"==typeof e.on&&"function"==typeof e.pause&&"function"==typeof e.resume}},We={Promise:"undefined"!=typeof Promise?Promise:function(){if(ze)return De;ze=1;var e=function(){if(je)return Le;je=1;var e,t,r=B.MutationObserver||B.WebKitMutationObserver;if(n.browser)if(r){var i=0,a=new r(l),o=B.document.createTextNode("");a.observe(o,{characterData:!0}),e=function(){o.data=i=++i%2}}else if(B.setImmediate||void 0===B.MessageChannel)e="document"in B&&"onreadystatechange"in B.document.createElement("script")?function(){var e=B.document.createElement("script");e.onreadystatechange=function(){l(),e.onreadystatechange=null,e.parentNode.removeChild(e),e=null},B.document.documentElement.appendChild(e)}:function(){setTimeout(l,0)};else{var s=new B.MessageChannel;s.port1.onmessage=l,e=function(){s.port2.postMessage(0)}}else e=function(){n.nextTick(l)};var u=[];function l(){var e,r;t=!0;for(var n=u.length;n;){for(r=u,u=[],e=-1;++e<n;)r[e]();n=u.length}t=!1}return Le=function(r){1!==u.push(r)||t||e()}}();function t(){}var r={},i=["REJECTED"],a=["FULFILLED"],o=["PENDING"];if(!n.browser)var s=["UNHANDLED"];function u(e){if("function"!=typeof e)throw new TypeError("resolver must be a function");this.state=o,this.queue=[],this.outcome=void 0,n.browser||(this.handled=s),e!==t&&f(this,e)}function l(e,t,r){this.promise=e,"function"==typeof t&&(this.onFulfilled=t,this.callFulfilled=this.otherCallFulfilled),"function"==typeof r&&(this.onRejected=r,this.callRejected=this.otherCallRejected)}function c(t,n,i){e((function(){var e;try{e=n(i)}catch(e){return r.reject(t,e)}e===t?r.reject(t,new TypeError("Cannot resolve promise with itself")):r.resolve(t,e)}))}function h(e){var t=e&&e.then;if(e&&("object"==N(e)||"function"==typeof e)&&"function"==typeof t)return function(){t.apply(e,arguments)}}function f(e,t){var n=!1;function i(t){n||(n=!0,r.reject(e,t))}function a(t){n||(n=!0,r.resolve(e,t))}var o=d((function(){t(a,i)}));"error"===o.status&&i(o.value)}function d(e,t){var r={};try{r.value=e(t),r.status="success"}catch(e){r.status="error",r.value=e}return r}return De=u,u.prototype.finally=function(e){if("function"!=typeof e)return this;var t=this.constructor;return this.then((function(r){return t.resolve(e()).then((function(){return r}))}),(function(r){return t.resolve(e()).then((function(){throw r}))}))},u.prototype.catch=function(e){return this.then(null,e)},u.prototype.then=function(e,r){if("function"!=typeof e&&this.state===a||"function"!=typeof r&&this.state===i)return this;var u=new this.constructor(t);return n.browser||this.handled===s&&(this.handled=null),this.state!==o?c(u,this.state===a?e:r,this.outcome):this.queue.push(new l(u,e,r)),u},l.prototype.callFulfilled=function(e){r.resolve(this.promise,e)},l.prototype.otherCallFulfilled=function(e){c(this.promise,this.onFulfilled,e)},l.prototype.callRejected=function(e){r.reject(this.promise,e)},l.prototype.otherCallRejected=function(e){c(this.promise,this.onRejected,e)},r.resolve=function(e,t){var n=d(h,t);if("error"===n.status)return r.reject(e,n.value);var i=n.value;if(i)f(e,i);else{e.state=a,e.outcome=t;for(var o=-1,s=e.queue.length;++o<s;)e.queue[o].callFulfilled(t)}return e},r.reject=function(t,r){t.state=i,t.outcome=r,n.browser||t.handled===s&&e((function(){t.handled===s&&n.emit("unhandledRejection",r,t)}));for(var a=-1,o=t.queue.length;++a<o;)t.queue[a].callRejected(r);return t},u.resolve=function(e){return e instanceof this?e:r.resolve(new this(t),e)},u.reject=function(e){var n=new this(t);return r.reject(n,e)},u.all=function(e){var n=this;if("[object Array]"!==Object.prototype.toString.call(e))return this.reject(new TypeError("must be an array"));var i=e.length,a=!1;if(!i)return this.resolve([]);for(var o=new Array(i),s=0,u=-1,l=new this(t);++u<i;)c(e[u],u);return l;function c(e,t){n.resolve(e).then((function(e){o[t]=e,++s!==i||a||(a=!0,r.resolve(l,o))}),(function(e){a||(a=!0,r.reject(l,e))}))}},u.race=function(e){if("[object Array]"!==Object.prototype.toString.call(e))return this.reject(new TypeError("must be an array"));var n=e.length,i=!1;if(!n)return this.resolve([]);for(var a,o=-1,s=new this(t);++o<n;)a=e[o],this.resolve(a).then((function(e){i||(i=!0,r.resolve(s,e))}),(function(e){i||(i=!0,r.reject(s,e))}));return s},De}()};function He(){return Fe||(Fe=1,function(e){var t=W,r=Ie(),n=Ue,a=We;function o(e){return e}function s(e,t){for(var r=0;r<e.length;++r)t[r]=255&e.charCodeAt(r);return t}e.newBlob=function(t,r){e.checkSupport("blob");try{return new Blob([t],{type:r})}catch(e){try{var n=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);return n.append(t),n.getBlob(r)}catch(e){throw new Error("Bug : can't construct the Blob.")}}};var u={stringifyByChunk:function(e,t,r){var n=[],i=0,a=e.length;if(a<=r)return String.fromCharCode.apply(null,e);for(;i<a;)"array"===t||"nodebuffer"===t?n.push(String.fromCharCode.apply(null,e.slice(i,Math.min(i+r,a)))):n.push(String.fromCharCode.apply(null,e.subarray(i,Math.min(i+r,a)))),i+=r;return n.join("")},stringifyByChar:function(e){for(var t="",r=0;r<e.length;r++)t+=String.fromCharCode(e[r]);return t},applyCanBeUsed:{uint8array:function(){try{return t.uint8array&&1===String.fromCharCode.apply(null,new Uint8Array(1)).length}catch(e){return!1}}(),nodebuffer:function(){try{return t.nodebuffer&&1===String.fromCharCode.apply(null,n.allocBuffer(1)).length}catch(e){return!1}}()}};function l(t){var r=65536,n=e.getTypeOf(t),i=!0;if("uint8array"===n?i=u.applyCanBeUsed.uint8array:"nodebuffer"===n&&(i=u.applyCanBeUsed.nodebuffer),i)for(;r>1;)try{return u.stringifyByChunk(t,n,r)}catch(e){r=Math.floor(r/2)}return u.stringifyByChar(t)}function c(e,t){for(var r=0;r<e.length;r++)t[r]=e[r];return t}e.applyFromCharCode=l;var h={};h.string={string:o,array:function(e){return s(e,new Array(e.length))},arraybuffer:function(e){return h.string.uint8array(e).buffer},uint8array:function(e){return s(e,new Uint8Array(e.length))},nodebuffer:function(e){return s(e,n.allocBuffer(e.length))}},h.array={string:l,array:o,arraybuffer:function(e){return new Uint8Array(e).buffer},uint8array:function(e){return new Uint8Array(e)},nodebuffer:function(e){return n.newBufferFrom(e)}},h.arraybuffer={string:function(e){return l(new Uint8Array(e))},array:function(e){return c(new Uint8Array(e),new Array(e.byteLength))},arraybuffer:o,uint8array:function(e){return new Uint8Array(e)},nodebuffer:function(e){return n.newBufferFrom(new Uint8Array(e))}},h.uint8array={string:l,array:function(e){return c(e,new Array(e.length))},arraybuffer:function(e){return e.buffer},uint8array:o,nodebuffer:function(e){return n.newBufferFrom(e)}},h.nodebuffer={string:l,array:function(e){return c(e,new Array(e.length))},arraybuffer:function(e){return h.nodebuffer.uint8array(e).buffer},uint8array:function(e){return c(e,new Uint8Array(e.length))},nodebuffer:o},e.transformTo=function(t,r){if(r||(r=""),!t)return r;e.checkSupport(t);var n=e.getTypeOf(r);return h[n][t](r)},e.resolve=function(e){for(var t=e.split("/"),r=[],n=0;n<t.length;n++){var i=t[n];"."===i||""===i&&0!==n&&n!==t.length-1||(".."===i?r.pop():r.push(i))}return r.join("/")},e.getTypeOf=function(e){return"string"==typeof e?"string":"[object Array]"===Object.prototype.toString.call(e)?"array":t.nodebuffer&&n.isBuffer(e)?"nodebuffer":t.uint8array&&e instanceof Uint8Array?"uint8array":t.arraybuffer&&e instanceof ArrayBuffer?"arraybuffer":void 0},e.checkSupport=function(e){if(!t[e.toLowerCase()])throw new Error(e+" is not supported by this platform")},e.MAX_VALUE_16BITS=65535,e.MAX_VALUE_32BITS=-1,e.pretty=function(e){var t,r,n="";for(r=0;r<(e||"").length;r++)n+="\\x"+((t=e.charCodeAt(r))<16?"0":"")+t.toString(16).toUpperCase();return n},e.delay=function(e,t,r){i((function(){e.apply(r||null,t||[])}))},e.inherits=function(e,t){var r=function(){};r.prototype=t.prototype,e.prototype=new r},e.extend=function(){var e,t,r={};for(e=0;e<arguments.length;e++)for(t in arguments[e])Object.prototype.hasOwnProperty.call(arguments[e],t)&&void 0===r[t]&&(r[t]=arguments[e][t]);return r},e.prepareContent=function(n,i,o,u,l){return a.Promise.resolve(i).then((function(e){return t.blob&&(e instanceof Blob||-1!==["[object File]","[object Blob]"].indexOf(Object.prototype.toString.call(e)))&&"undefined"!=typeof FileReader?new a.Promise((function(t,r){var n=new FileReader;n.onload=function(e){t(e.target.result)},n.onerror=function(e){r(e.target.error)},n.readAsArrayBuffer(e)})):e})).then((function(i){var c,h=e.getTypeOf(i);return h?("arraybuffer"===h?i=e.transformTo("uint8array",i):"string"===h&&(l?i=r.decode(i):o&&!0!==u&&(i=s(c=i,t.uint8array?new Uint8Array(c.length):new Array(c.length)))),i):a.Promise.reject(new Error("Can't read the data of '"+n+"'. Is it in a supported JavaScript type (String, Blob, ArrayBuffer, etc) ?"))}))}}(U)),U}function qe(e){this.name=e||"default",this.streamInfo={},this.generatedError=null,this.extraStreamInfo={},this.isPaused=!0,this.isFinished=!1,this.isLocked=!1,this._listeners={data:[],end:[],error:[]},this.previous=null}!function(e){if(!e.setImmediate){var t,r,i,a,o,s=1,u={},l=!1,c=e.document,h=Object.getPrototypeOf&&Object.getPrototypeOf(e);h=h&&h.setTimeout?h:e,"[object process]"==={}.toString.call(e.process)?t=function(e){n.nextTick((function(){d(e)}))}:function(){if(e.postMessage&&!e.importScripts){var t=!0,r=e.onmessage;return e.onmessage=function(){t=!1},e.postMessage("","*"),e.onmessage=r,t}}()?(a="setImmediate$"+Math.random()+"$",o=function(t){t.source===e&&"string"==typeof t.data&&0===t.data.indexOf(a)&&d(+t.data.slice(a.length))},e.addEventListener?e.addEventListener("message",o,!1):e.attachEvent("onmessage",o),t=function(t){e.postMessage(a+t,"*")}):e.MessageChannel?((i=new MessageChannel).port1.onmessage=function(e){d(e.data)},t=function(e){i.port2.postMessage(e)}):c&&"onreadystatechange"in c.createElement("script")?(r=c.documentElement,t=function(e){var t=c.createElement("script");t.onreadystatechange=function(){d(e),t.onreadystatechange=null,r.removeChild(t),t=null},r.appendChild(t)}):t=function(e){setTimeout(d,0,e)},h.setImmediate=function(e){"function"!=typeof e&&(e=new Function(""+e));for(var r=new Array(arguments.length-1),n=0;n<r.length;n++)r[n]=arguments[n+1];var i={callback:e,args:r};return u[s]=i,t(s),s++},h.clearImmediate=f}function f(e){delete u[e]}function d(e){if(l)setTimeout(d,0,e);else{var t=u[e];if(t){l=!0;try{!function(e){var t=e.callback,r=e.args;switch(r.length){case 0:t();break;case 1:t(r[0]);break;case 2:t(r[0],r[1]);break;case 3:t(r[0],r[1],r[2]);break;default:t.apply(void 0,r)}}(t)}finally{f(e),l=!1}}}}}("undefined"==typeof self?B:self),qe.prototype={push:function(e){this.emit("data",e)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit("end"),this.cleanUp(),this.isFinished=!0}catch(e){this.emit("error",e)}return!0},error:function(e){return!this.isFinished&&(this.isPaused?this.generatedError=e:(this.isFinished=!0,this.emit("error",e),this.previous&&this.previous.error(e),this.cleanUp()),!0)},on:function(e,t){return this._listeners[e].push(t),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function(e,t){if(this._listeners[e])for(var r=0;r<this._listeners[e].length;r++)this._listeners[e][r].call(this,t)},pipe:function(e){return e.registerPrevious(this)},registerPrevious:function(e){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.streamInfo=e.streamInfo,this.mergeStreamInfo(),this.previous=e;var t=this;return e.on("data",(function(e){t.processChunk(e)})),e.on("end",(function(){t.end()})),e.on("error",(function(e){t.error(e)})),this},pause:function(){return!this.isPaused&&!this.isFinished&&(this.isPaused=!0,this.previous&&this.previous.pause(),!0)},resume:function(){if(!this.isPaused||this.isFinished)return!1;this.isPaused=!1;var e=!1;return this.generatedError&&(this.error(this.generatedError),e=!0),this.previous&&this.previous.resume(),!e},flush:function(){},processChunk:function(e){this.push(e)},withStreamInfo:function(e,t){return this.extraStreamInfo[e]=t,this.mergeStreamInfo(),this},mergeStreamInfo:function(){for(var e in this.extraStreamInfo)Object.prototype.hasOwnProperty.call(this.extraStreamInfo,e)&&(this.streamInfo[e]=this.extraStreamInfo[e])},lock:function(){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.isLocked=!0,this.previous&&this.previous.lock()},toString:function(){var e="Worker "+this.name;return this.previous?this.previous+" -> "+e:e}};var Ve=qe;!function(e){for(var t=He(),r=W,n=Ue,i=Ve,a=new Array(256),o=0;o<256;o++)a[o]=o>=252?6:o>=248?5:o>=240?4:o>=224?3:o>=192?2:1;function s(){i.call(this,"utf-8 decode"),this.leftOver=null}function u(){i.call(this,"utf-8 encode")}a[254]=a[254]=1,e.utf8encode=function(e){return r.nodebuffer?n.newBufferFrom(e,"utf-8"):function(e){var t,n,i,a,o,s=e.length,u=0;for(a=0;a<s;a++)55296==(64512&(n=e.charCodeAt(a)))&&a+1<s&&56320==(64512&(i=e.charCodeAt(a+1)))&&(n=65536+(n-55296<<10)+(i-56320),a++),u+=n<128?1:n<2048?2:n<65536?3:4;for(t=r.uint8array?new Uint8Array(u):new Array(u),o=0,a=0;o<u;a++)55296==(64512&(n=e.charCodeAt(a)))&&a+1<s&&56320==(64512&(i=e.charCodeAt(a+1)))&&(n=65536+(n-55296<<10)+(i-56320),a++),n<128?t[o++]=n:n<2048?(t[o++]=192|n>>>6,t[o++]=128|63&n):n<65536?(t[o++]=224|n>>>12,t[o++]=128|n>>>6&63,t[o++]=128|63&n):(t[o++]=240|n>>>18,t[o++]=128|n>>>12&63,t[o++]=128|n>>>6&63,t[o++]=128|63&n);return t}(e)},e.utf8decode=function(e){return r.nodebuffer?t.transformTo("nodebuffer",e).toString("utf-8"):function(e){var r,n,i,o,s=e.length,u=new Array(2*s);for(n=0,r=0;r<s;)if((i=e[r++])<128)u[n++]=i;else if((o=a[i])>4)u[n++]=65533,r+=o-1;else{for(i&=2===o?31:3===o?15:7;o>1&&r<s;)i=i<<6|63&e[r++],o--;o>1?u[n++]=65533:i<65536?u[n++]=i:(i-=65536,u[n++]=55296|i>>10&1023,u[n++]=56320|1023&i)}return u.length!==n&&(u.subarray?u=u.subarray(0,n):u.length=n),t.applyFromCharCode(u)}(e=t.transformTo(r.uint8array?"uint8array":"array",e))},t.inherits(s,i),s.prototype.processChunk=function(n){var i=t.transformTo(r.uint8array?"uint8array":"array",n.data);if(this.leftOver&&this.leftOver.length){if(r.uint8array){var o=i;(i=new Uint8Array(o.length+this.leftOver.length)).set(this.leftOver,0),i.set(o,this.leftOver.length)}else i=this.leftOver.concat(i);this.leftOver=null}var s=function(e,t){var r;for((t=t||e.length)>e.length&&(t=e.length),r=t-1;r>=0&&128==(192&e[r]);)r--;return r<0||0===r?t:r+a[e[r]]>t?r:t}(i),u=i;s!==i.length&&(r.uint8array?(u=i.subarray(0,s),this.leftOver=i.subarray(s,i.length)):(u=i.slice(0,s),this.leftOver=i.slice(s,i.length))),this.push({data:e.utf8decode(u),meta:n.meta})},s.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:e.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},e.Utf8DecodeWorker=s,t.inherits(u,i),u.prototype.processChunk=function(t){this.push({data:e.utf8encode(t.data),meta:t.meta})},e.Utf8EncodeWorker=u}(F);var Ze=Ve,Xe=He();function Ge(e){Ze.call(this,"ConvertWorker to "+e),this.destType=e}Xe.inherits(Ge,Ze),Ge.prototype.processChunk=function(e){this.push({data:Xe.transformTo(this.destType,e.data),meta:e.meta})};var Ye,Je,Ke=Ge,$e=He(),Qe=Ke,et=Ve,tt=Ie(),rt=We,nt=null;if(W.nodestream)try{nt=function(){if(Je)return Ye;Je=1;var e=Re().Readable;function t(t,r,n){e.call(this,r),this._helper=t;var i=this;t.on("data",(function(e,t){i.push(e)||i._helper.pause(),n&&n(t)})).on("error",(function(e){i.emit("error",e)})).on("end",(function(){i.push(null)}))}return He().inherits(t,e),t.prototype._read=function(){this._helper.resume()},Ye=t}()}catch(Ca){}function it(e,t,r){var n=t;switch(t){case"blob":case"arraybuffer":n="uint8array";break;case"base64":n="string"}try{this._internalType=n,this._outputType=t,this._mimeType=r,$e.checkSupport(n),this._worker=e.pipe(new Qe(n)),e.lock()}catch(e){this._worker=new et("error"),this._worker.error(e)}}it.prototype={accumulate:function(e){return function(e,t){return new rt.Promise((function(r,n){var i=[],o=e._internalType,s=e._outputType,u=e._mimeType;e.on("data",(function(e,r){i.push(e),t&&t(r)})).on("error",(function(e){i=[],n(e)})).on("end",(function(){try{var e=function(e,t,r){switch(e){case"blob":return $e.newBlob($e.transformTo("arraybuffer",t),r);case"base64":return tt.encode(t);default:return $e.transformTo(e,t)}}(s,function(e,t){var r,n=0,i=null,o=0;for(r=0;r<t.length;r++)o+=t[r].length;switch(e){case"string":return t.join("");case"array":return Array.prototype.concat.apply([],t);case"uint8array":for(i=new Uint8Array(o),r=0;r<t.length;r++)i.set(t[r],n),n+=t[r].length;return i;case"nodebuffer":return a.concat(t);default:throw new Error("concat : unsupported type '"+e+"'")}}(o,i),u);r(e)}catch(e){n(e)}i=[]})).resume()}))}(this,e)},on:function(e,t){var r=this;return"data"===e?this._worker.on(e,(function(e){t.call(r,e.data,e.meta)})):this._worker.on(e,(function(){$e.delay(t,arguments,r)})),this},resume:function(){return $e.delay(this._worker.resume,[],this._worker),this},pause:function(){return this._worker.pause(),this},toNodejsStream:function(e){if($e.checkSupport("nodestream"),"nodebuffer"!==this._outputType)throw new Error(this._outputType+" is not supported by this method");return new nt(this,{objectMode:"nodebuffer"!==this._outputType},e)}};var at=it,ot={base64:!1,binary:!1,dir:!1,createFolders:!0,date:null,compression:null,compressionOptions:null,comment:null,unixPermissions:null,dosPermissions:null},st=He(),ut=Ve;function lt(e){ut.call(this,"DataWorker");var t=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type="",this._tickScheduled=!1,e.then((function(e){t.dataIsReady=!0,t.data=e,t.max=e&&e.length||0,t.type=st.getTypeOf(e),t.isPaused||t._tickAndRepeat()}),(function(e){t.error(e)}))}st.inherits(lt,ut),lt.prototype.cleanUp=function(){ut.prototype.cleanUp.call(this),this.data=null},lt.prototype.resume=function(){return!!ut.prototype.resume.call(this)&&(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,st.delay(this._tickAndRepeat,[],this)),!0)},lt.prototype._tickAndRepeat=function(){this._tickScheduled=!1,this.isPaused||this.isFinished||(this._tick(),this.isFinished||(st.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))},lt.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var e=null,t=Math.min(this.max,this.index+16384);if(this.index>=this.max)return this.end();switch(this.type){case"string":e=this.data.substring(this.index,t);break;case"uint8array":e=this.data.subarray(this.index,t);break;case"array":case"nodebuffer":e=this.data.slice(this.index,t)}return this.index=t,this.push({data:e,meta:{percent:this.max?this.index/this.max*100:0}})};var ct=lt,ht=He(),ft=function(){for(var e,t=[],r=0;r<256;r++){e=r;for(var n=0;n<8;n++)e=1&e?3988292384^e>>>1:e>>>1;t[r]=e}return t}(),dt=function(e,t){return void 0!==e&&e.length?"string"!==ht.getTypeOf(e)?function(e,t,r,n){var i=ft,a=0+r;e=~e;for(var o=0;o<a;o++)e=e>>>8^i[255&(e^t[o])];return~e}(0|t,e,e.length):function(e,t,r,n){var i=ft,a=0+r;e=~e;for(var o=0;o<a;o++)e=e>>>8^i[255&(e^t.charCodeAt(o))];return~e}(0|t,e,e.length):0},pt=Ve,mt=dt;function vt(){pt.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}He().inherits(vt,pt),vt.prototype.processChunk=function(e){this.streamInfo.crc32=mt(e.data,this.streamInfo.crc32||0),this.push(e)};var gt=vt,yt=He(),bt=Ve;function wt(e){bt.call(this,"DataLengthProbe for "+e),this.propName=e,this.withStreamInfo(e,0)}yt.inherits(wt,bt),wt.prototype.processChunk=function(e){if(e){var t=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=t+e.data.length}bt.prototype.processChunk.call(this,e)};var kt=We,_t=ct,St=gt,xt=wt;function Et(e,t,r,n,i){this.compressedSize=e,this.uncompressedSize=t,this.crc32=r,this.compression=n,this.compressedContent=i}Et.prototype={getContentWorker:function(){var e=new _t(kt.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new xt("data_length")),t=this;return e.on("end",(function(){if(this.streamInfo.data_length!==t.uncompressedSize)throw new Error("Bug : uncompressed data size mismatch")})),e},getCompressedWorker:function(){return new _t(kt.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}},Et.createWorkerFrom=function(e,t,r){return e.pipe(new St).pipe(new xt("uncompressedSize")).pipe(t.compressWorker(r)).pipe(new xt("compressedSize")).withStreamInfo("compression",t)};var Ct=Et,At=at,Pt=ct,Tt=F,Rt=Ct,Ot=Ve,Mt=function(e,t,r){this.name=e,this.dir=r.dir,this.date=r.date,this.comment=r.comment,this.unixPermissions=r.unixPermissions,this.dosPermissions=r.dosPermissions,this._data=t,this._dataBinary=r.binary,this.options={compression:r.compression,compressionOptions:r.compressionOptions}};Mt.prototype={internalStream:function(e){var t=null,r="string";try{if(!e)throw new Error("No output type specified.");var n="string"===(r=e.toLowerCase())||"text"===r;"binarystring"!==r&&"text"!==r||(r="string"),t=this._decompressWorker();var i=!this._dataBinary;i&&!n&&(t=t.pipe(new Tt.Utf8EncodeWorker)),!i&&n&&(t=t.pipe(new Tt.Utf8DecodeWorker))}catch(e){(t=new Ot("error")).error(e)}return new At(t,r,"")},async:function(e,t){return this.internalStream(e).accumulate(t)},nodeStream:function(e,t){return this.internalStream(e||"nodebuffer").toNodejsStream(t)},_compressWorker:function(e,t){if(this._data instanceof Rt&&this._data.compression.magic===e.magic)return this._data.getCompressedWorker();var r=this._decompressWorker();return this._dataBinary||(r=r.pipe(new Tt.Utf8EncodeWorker)),Rt.createWorkerFrom(r,e,t)},_decompressWorker:function(){return this._data instanceof Rt?this._data.getContentWorker():this._data instanceof Ot?this._data:new Pt(this._data)}};for(var Nt=["asText","asBinary","asNodeBuffer","asUint8Array","asArrayBuffer"],Bt=function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},It=0;It<Nt.length;It++)Mt.prototype[Nt[It]]=Bt;var Lt=Mt,jt={},Dt={},zt={},Ft={};!function(e){var t="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Int32Array;function r(e,t){return Object.prototype.hasOwnProperty.call(e,t)}e.assign=function(e){for(var t=Array.prototype.slice.call(arguments,1);t.length;){var n=t.shift();if(n){if("object"!=N(n))throw new TypeError(n+"must be non-object");for(var i in n)r(n,i)&&(e[i]=n[i])}}return e},e.shrinkBuf=function(e,t){return e.length===t?e:e.subarray?e.subarray(0,t):(e.length=t,e)};var n={arraySet:function(e,t,r,n,i){if(t.subarray&&e.subarray)e.set(t.subarray(r,r+n),i);else for(var a=0;a<n;a++)e[i+a]=t[r+a]},flattenChunks:function(e){var t,r,n,i,a,o;for(n=0,t=0,r=e.length;t<r;t++)n+=e[t].length;for(o=new Uint8Array(n),i=0,t=0,r=e.length;t<r;t++)a=e[t],o.set(a,i),i+=a.length;return o}},i={arraySet:function(e,t,r,n,i){for(var a=0;a<n;a++)e[i+a]=t[r+a]},flattenChunks:function(e){return[].concat.apply([],e)}};e.setTyped=function(t){t?(e.Buf8=Uint8Array,e.Buf16=Uint16Array,e.Buf32=Int32Array,e.assign(e,n)):(e.Buf8=Array,e.Buf16=Array,e.Buf32=Array,e.assign(e,i))},e.setTyped(t)}(Ft);var Ut={},Wt={},Ht={},qt=Ft;function Vt(e){for(var t=e.length;--t>=0;)e[t]=0}var Zt=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],Xt=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],Gt=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],Yt=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],Jt=new Array(576);Vt(Jt);var Kt=new Array(60);Vt(Kt);var $t=new Array(512);Vt($t);var Qt=new Array(256);Vt(Qt);var er=new Array(29);Vt(er);var tr,rr,nr,ir=new Array(30);function ar(e,t,r,n,i){this.static_tree=e,this.extra_bits=t,this.extra_base=r,this.elems=n,this.max_length=i,this.has_stree=e&&e.length}function or(e,t){this.dyn_tree=e,this.max_code=0,this.stat_desc=t}function sr(e){return e<256?$t[e]:$t[256+(e>>>7)]}function ur(e,t){e.pending_buf[e.pending++]=255&t,e.pending_buf[e.pending++]=t>>>8&255}function lr(e,t,r){e.bi_valid>16-r?(e.bi_buf|=t<<e.bi_valid&65535,ur(e,e.bi_buf),e.bi_buf=t>>16-e.bi_valid,e.bi_valid+=r-16):(e.bi_buf|=t<<e.bi_valid&65535,e.bi_valid+=r)}function cr(e,t,r){lr(e,r[2*t],r[2*t+1])}function hr(e,t){var r=0;do{r|=1&e,e>>>=1,r<<=1}while(--t>0);return r>>>1}function fr(e,t,r){var n,i,a=new Array(16),o=0;for(n=1;n<=15;n++)a[n]=o=o+r[n-1]<<1;for(i=0;i<=t;i++){var s=e[2*i+1];0!==s&&(e[2*i]=hr(a[s]++,s))}}function dr(e){var t;for(t=0;t<286;t++)e.dyn_ltree[2*t]=0;for(t=0;t<30;t++)e.dyn_dtree[2*t]=0;for(t=0;t<19;t++)e.bl_tree[2*t]=0;e.dyn_ltree[512]=1,e.opt_len=e.static_len=0,e.last_lit=e.matches=0}function pr(e){e.bi_valid>8?ur(e,e.bi_buf):e.bi_valid>0&&(e.pending_buf[e.pending++]=e.bi_buf),e.bi_buf=0,e.bi_valid=0}function mr(e,t,r,n){var i=2*t,a=2*r;return e[i]<e[a]||e[i]===e[a]&&n[t]<=n[r]}function vr(e,t,r){for(var n=e.heap[r],i=r<<1;i<=e.heap_len&&(i<e.heap_len&&mr(t,e.heap[i+1],e.heap[i],e.depth)&&i++,!mr(t,n,e.heap[i],e.depth));)e.heap[r]=e.heap[i],r=i,i<<=1;e.heap[r]=n}function gr(e,t,r){var n,i,a,o,s=0;if(0!==e.last_lit)do{n=e.pending_buf[e.d_buf+2*s]<<8|e.pending_buf[e.d_buf+2*s+1],i=e.pending_buf[e.l_buf+s],s++,0===n?cr(e,i,t):(cr(e,(a=Qt[i])+256+1,t),0!==(o=Zt[a])&&lr(e,i-=er[a],o),cr(e,a=sr(--n),r),0!==(o=Xt[a])&&lr(e,n-=ir[a],o))}while(s<e.last_lit);cr(e,256,t)}function yr(e,t){var r,n,i,a=t.dyn_tree,o=t.stat_desc.static_tree,s=t.stat_desc.has_stree,u=t.stat_desc.elems,l=-1;for(e.heap_len=0,e.heap_max=573,r=0;r<u;r++)0!==a[2*r]?(e.heap[++e.heap_len]=l=r,e.depth[r]=0):a[2*r+1]=0;for(;e.heap_len<2;)a[2*(i=e.heap[++e.heap_len]=l<2?++l:0)]=1,e.depth[i]=0,e.opt_len--,s&&(e.static_len-=o[2*i+1]);for(t.max_code=l,r=e.heap_len>>1;r>=1;r--)vr(e,a,r);i=u;do{r=e.heap[1],e.heap[1]=e.heap[e.heap_len--],vr(e,a,1),n=e.heap[1],e.heap[--e.heap_max]=r,e.heap[--e.heap_max]=n,a[2*i]=a[2*r]+a[2*n],e.depth[i]=(e.depth[r]>=e.depth[n]?e.depth[r]:e.depth[n])+1,a[2*r+1]=a[2*n+1]=i,e.heap[1]=i++,vr(e,a,1)}while(e.heap_len>=2);e.heap[--e.heap_max]=e.heap[1],function(e,t){var r,n,i,a,o,s,u=t.dyn_tree,l=t.max_code,c=t.stat_desc.static_tree,h=t.stat_desc.has_stree,f=t.stat_desc.extra_bits,d=t.stat_desc.extra_base,p=t.stat_desc.max_length,m=0;for(a=0;a<=15;a++)e.bl_count[a]=0;for(u[2*e.heap[e.heap_max]+1]=0,r=e.heap_max+1;r<573;r++)(a=u[2*u[2*(n=e.heap[r])+1]+1]+1)>p&&(a=p,m++),u[2*n+1]=a,n>l||(e.bl_count[a]++,o=0,n>=d&&(o=f[n-d]),s=u[2*n],e.opt_len+=s*(a+o),h&&(e.static_len+=s*(c[2*n+1]+o)));if(0!==m){do{for(a=p-1;0===e.bl_count[a];)a--;e.bl_count[a]--,e.bl_count[a+1]+=2,e.bl_count[p]--,m-=2}while(m>0);for(a=p;0!==a;a--)for(n=e.bl_count[a];0!==n;)(i=e.heap[--r])>l||(u[2*i+1]!==a&&(e.opt_len+=(a-u[2*i+1])*u[2*i],u[2*i+1]=a),n--)}}(e,t),fr(a,l,e.bl_count)}function br(e,t,r){var n,i,a=-1,o=t[1],s=0,u=7,l=4;for(0===o&&(u=138,l=3),t[2*(r+1)+1]=65535,n=0;n<=r;n++)i=o,o=t[2*(n+1)+1],++s<u&&i===o||(s<l?e.bl_tree[2*i]+=s:0!==i?(i!==a&&e.bl_tree[2*i]++,e.bl_tree[32]++):s<=10?e.bl_tree[34]++:e.bl_tree[36]++,s=0,a=i,0===o?(u=138,l=3):i===o?(u=6,l=3):(u=7,l=4))}function wr(e,t,r){var n,i,a=-1,o=t[1],s=0,u=7,l=4;for(0===o&&(u=138,l=3),n=0;n<=r;n++)if(i=o,o=t[2*(n+1)+1],!(++s<u&&i===o)){if(s<l)do{cr(e,i,e.bl_tree)}while(0!=--s);else 0!==i?(i!==a&&(cr(e,i,e.bl_tree),s--),cr(e,16,e.bl_tree),lr(e,s-3,2)):s<=10?(cr(e,17,e.bl_tree),lr(e,s-3,3)):(cr(e,18,e.bl_tree),lr(e,s-11,7));s=0,a=i,0===o?(u=138,l=3):i===o?(u=6,l=3):(u=7,l=4)}}Vt(ir);var kr=!1;function _r(e,t,r,n){lr(e,0+(n?1:0),3),function(e,t,r,n){pr(e),ur(e,r),ur(e,~r),qt.arraySet(e.pending_buf,e.window,t,r,e.pending),e.pending+=r}(e,t,r)}Ht._tr_init=function(e){kr||(function(){var e,t,r,n,i,a=new Array(16);for(r=0,n=0;n<28;n++)for(er[n]=r,e=0;e<1<<Zt[n];e++)Qt[r++]=n;for(Qt[r-1]=n,i=0,n=0;n<16;n++)for(ir[n]=i,e=0;e<1<<Xt[n];e++)$t[i++]=n;for(i>>=7;n<30;n++)for(ir[n]=i<<7,e=0;e<1<<Xt[n]-7;e++)$t[256+i++]=n;for(t=0;t<=15;t++)a[t]=0;for(e=0;e<=143;)Jt[2*e+1]=8,e++,a[8]++;for(;e<=255;)Jt[2*e+1]=9,e++,a[9]++;for(;e<=279;)Jt[2*e+1]=7,e++,a[7]++;for(;e<=287;)Jt[2*e+1]=8,e++,a[8]++;for(fr(Jt,287,a),e=0;e<30;e++)Kt[2*e+1]=5,Kt[2*e]=hr(e,5);tr=new ar(Jt,Zt,257,286,15),rr=new ar(Kt,Xt,0,30,15),nr=new ar(new Array(0),Gt,0,19,7)}(),kr=!0),e.l_desc=new or(e.dyn_ltree,tr),e.d_desc=new or(e.dyn_dtree,rr),e.bl_desc=new or(e.bl_tree,nr),e.bi_buf=0,e.bi_valid=0,dr(e)},Ht._tr_stored_block=_r,Ht._tr_flush_block=function(e,t,r,n){var i,a,o=0;e.level>0?(2===e.strm.data_type&&(e.strm.data_type=function(e){var t,r=4093624447;for(t=0;t<=31;t++,r>>>=1)if(1&r&&0!==e.dyn_ltree[2*t])return 0;if(0!==e.dyn_ltree[18]||0!==e.dyn_ltree[20]||0!==e.dyn_ltree[26])return 1;for(t=32;t<256;t++)if(0!==e.dyn_ltree[2*t])return 1;return 0}(e)),yr(e,e.l_desc),yr(e,e.d_desc),o=function(e){var t;for(br(e,e.dyn_ltree,e.l_desc.max_code),br(e,e.dyn_dtree,e.d_desc.max_code),yr(e,e.bl_desc),t=18;t>=3&&0===e.bl_tree[2*Yt[t]+1];t--);return e.opt_len+=3*(t+1)+5+5+4,t}(e),i=e.opt_len+3+7>>>3,(a=e.static_len+3+7>>>3)<=i&&(i=a)):i=a=r+5,r+4<=i&&-1!==t?_r(e,t,r,n):4===e.strategy||a===i?(lr(e,2+(n?1:0),3),gr(e,Jt,Kt)):(lr(e,4+(n?1:0),3),function(e,t,r,n){var i;for(lr(e,t-257,5),lr(e,r-1,5),lr(e,n-4,4),i=0;i<n;i++)lr(e,e.bl_tree[2*Yt[i]+1],3);wr(e,e.dyn_ltree,t-1),wr(e,e.dyn_dtree,r-1)}(e,e.l_desc.max_code+1,e.d_desc.max_code+1,o+1),gr(e,e.dyn_ltree,e.dyn_dtree)),dr(e),n&&pr(e)},Ht._tr_tally=function(e,t,r){return e.pending_buf[e.d_buf+2*e.last_lit]=t>>>8&255,e.pending_buf[e.d_buf+2*e.last_lit+1]=255&t,e.pending_buf[e.l_buf+e.last_lit]=255&r,e.last_lit++,0===t?e.dyn_ltree[2*r]++:(e.matches++,t--,e.dyn_ltree[2*(Qt[r]+256+1)]++,e.dyn_dtree[2*sr(t)]++),e.last_lit===e.lit_bufsize-1},Ht._tr_align=function(e){lr(e,2,3),cr(e,256,Jt),function(e){16===e.bi_valid?(ur(e,e.bi_buf),e.bi_buf=0,e.bi_valid=0):e.bi_valid>=8&&(e.pending_buf[e.pending++]=255&e.bi_buf,e.bi_buf>>=8,e.bi_valid-=8)}(e)};var Sr,xr=function(e,t,r,n){for(var i=65535&e,a=e>>>16&65535,o=0;0!==r;){r-=o=r>2e3?2e3:r;do{a=a+(i=i+t[n++]|0)|0}while(--o);i%=65521,a%=65521}return i|a<<16},Er=function(){for(var e,t=[],r=0;r<256;r++){e=r;for(var n=0;n<8;n++)e=1&e?3988292384^e>>>1:e>>>1;t[r]=e}return t}(),Cr=function(e,t,r,n){var i=Er,a=n+r;e^=-1;for(var o=n;o<a;o++)e=e>>>8^i[255&(e^t[o])];return~e},Ar={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"},Pr=Ft,Tr=Ht,Rr=xr,Or=Cr,Mr=Ar,Nr=262;function Br(e,t){return e.msg=Mr[t],t}function Ir(e){return(e<<1)-(e>4?9:0)}function Lr(e){for(var t=e.length;--t>=0;)e[t]=0}function jr(e){var t=e.state,r=t.pending;r>e.avail_out&&(r=e.avail_out),0!==r&&(Pr.arraySet(e.output,t.pending_buf,t.pending_out,r,e.next_out),e.next_out+=r,t.pending_out+=r,e.total_out+=r,e.avail_out-=r,t.pending-=r,0===t.pending&&(t.pending_out=0))}function Dr(e,t){Tr._tr_flush_block(e,e.block_start>=0?e.block_start:-1,e.strstart-e.block_start,t),e.block_start=e.strstart,jr(e.strm)}function zr(e,t){e.pending_buf[e.pending++]=t}function Fr(e,t){e.pending_buf[e.pending++]=t>>>8&255,e.pending_buf[e.pending++]=255&t}function Ur(e,t){var r,n,i=e.max_chain_length,a=e.strstart,o=e.prev_length,s=e.nice_match,u=e.strstart>e.w_size-Nr?e.strstart-(e.w_size-Nr):0,l=e.window,c=e.w_mask,h=e.prev,f=e.strstart+258,d=l[a+o-1],p=l[a+o];e.prev_length>=e.good_match&&(i>>=2),s>e.lookahead&&(s=e.lookahead);do{if(l[(r=t)+o]===p&&l[r+o-1]===d&&l[r]===l[a]&&l[++r]===l[a+1]){a+=2,r++;do{}while(l[++a]===l[++r]&&l[++a]===l[++r]&&l[++a]===l[++r]&&l[++a]===l[++r]&&l[++a]===l[++r]&&l[++a]===l[++r]&&l[++a]===l[++r]&&l[++a]===l[++r]&&a<f);if(n=258-(f-a),a=f-258,n>o){if(e.match_start=t,o=n,n>=s)break;d=l[a+o-1],p=l[a+o]}}}while((t=h[t&c])>u&&0!=--i);return o<=e.lookahead?o:e.lookahead}function Wr(e){var t,r,n,i,a,o,s,u,l,c,h=e.w_size;do{if(i=e.window_size-e.lookahead-e.strstart,e.strstart>=h+(h-Nr)){Pr.arraySet(e.window,e.window,h,h,0),e.match_start-=h,e.strstart-=h,e.block_start-=h,t=r=e.hash_size;do{n=e.head[--t],e.head[t]=n>=h?n-h:0}while(--r);t=r=h;do{n=e.prev[--t],e.prev[t]=n>=h?n-h:0}while(--r);i+=h}if(0===e.strm.avail_in)break;if(o=e.strm,s=e.window,u=e.strstart+e.lookahead,l=i,c=void 0,(c=o.avail_in)>l&&(c=l),r=0===c?0:(o.avail_in-=c,Pr.arraySet(s,o.input,o.next_in,c,u),1===o.state.wrap?o.adler=Rr(o.adler,s,c,u):2===o.state.wrap&&(o.adler=Or(o.adler,s,c,u)),o.next_in+=c,o.total_in+=c,c),e.lookahead+=r,e.lookahead+e.insert>=3)for(a=e.strstart-e.insert,e.ins_h=e.window[a],e.ins_h=(e.ins_h<<e.hash_shift^e.window[a+1])&e.hash_mask;e.insert&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[a+3-1])&e.hash_mask,e.prev[a&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=a,a++,e.insert--,!(e.lookahead+e.insert<3)););}while(e.lookahead<Nr&&0!==e.strm.avail_in)}function Hr(e,t){for(var r,n;;){if(e.lookahead<Nr){if(Wr(e),e.lookahead<Nr&&0===t)return 1;if(0===e.lookahead)break}if(r=0,e.lookahead>=3&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+3-1])&e.hash_mask,r=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),0!==r&&e.strstart-r<=e.w_size-Nr&&(e.match_length=Ur(e,r)),e.match_length>=3)if(n=Tr._tr_tally(e,e.strstart-e.match_start,e.match_length-3),e.lookahead-=e.match_length,e.match_length<=e.max_lazy_match&&e.lookahead>=3){e.match_length--;do{e.strstart++,e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+3-1])&e.hash_mask,r=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart}while(0!=--e.match_length);e.strstart++}else e.strstart+=e.match_length,e.match_length=0,e.ins_h=e.window[e.strstart],e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+1])&e.hash_mask;else n=Tr._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++;if(n&&(Dr(e,!1),0===e.strm.avail_out))return 1}return e.insert=e.strstart<2?e.strstart:2,4===t?(Dr(e,!0),0===e.strm.avail_out?3:4):e.last_lit&&(Dr(e,!1),0===e.strm.avail_out)?1:2}function qr(e,t){for(var r,n,i;;){if(e.lookahead<Nr){if(Wr(e),e.lookahead<Nr&&0===t)return 1;if(0===e.lookahead)break}if(r=0,e.lookahead>=3&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+3-1])&e.hash_mask,r=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),e.prev_length=e.match_length,e.prev_match=e.match_start,e.match_length=2,0!==r&&e.prev_length<e.max_lazy_match&&e.strstart-r<=e.w_size-Nr&&(e.match_length=Ur(e,r),e.match_length<=5&&(1===e.strategy||3===e.match_length&&e.strstart-e.match_start>4096)&&(e.match_length=2)),e.prev_length>=3&&e.match_length<=e.prev_length){i=e.strstart+e.lookahead-3,n=Tr._tr_tally(e,e.strstart-1-e.prev_match,e.prev_length-3),e.lookahead-=e.prev_length-1,e.prev_length-=2;do{++e.strstart<=i&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+3-1])&e.hash_mask,r=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart)}while(0!=--e.prev_length);if(e.match_available=0,e.match_length=2,e.strstart++,n&&(Dr(e,!1),0===e.strm.avail_out))return 1}else if(e.match_available){if((n=Tr._tr_tally(e,0,e.window[e.strstart-1]))&&Dr(e,!1),e.strstart++,e.lookahead--,0===e.strm.avail_out)return 1}else e.match_available=1,e.strstart++,e.lookahead--}return e.match_available&&(n=Tr._tr_tally(e,0,e.window[e.strstart-1]),e.match_available=0),e.insert=e.strstart<2?e.strstart:2,4===t?(Dr(e,!0),0===e.strm.avail_out?3:4):e.last_lit&&(Dr(e,!1),0===e.strm.avail_out)?1:2}function Vr(e,t,r,n,i){this.good_length=e,this.max_lazy=t,this.nice_length=r,this.max_chain=n,this.func=i}function Zr(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=8,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new Pr.Buf16(1146),this.dyn_dtree=new Pr.Buf16(122),this.bl_tree=new Pr.Buf16(78),Lr(this.dyn_ltree),Lr(this.dyn_dtree),Lr(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new Pr.Buf16(16),this.heap=new Pr.Buf16(573),Lr(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new Pr.Buf16(573),Lr(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}function Xr(e){var t;return e&&e.state?(e.total_in=e.total_out=0,e.data_type=2,(t=e.state).pending=0,t.pending_out=0,t.wrap<0&&(t.wrap=-t.wrap),t.status=t.wrap?42:113,e.adler=2===t.wrap?0:1,t.last_flush=0,Tr._tr_init(t),0):Br(e,-2)}function Gr(e){var t,r=Xr(e);return 0===r&&((t=e.state).window_size=2*t.w_size,Lr(t.head),t.max_lazy_match=Sr[t.level].max_lazy,t.good_match=Sr[t.level].good_length,t.nice_match=Sr[t.level].nice_length,t.max_chain_length=Sr[t.level].max_chain,t.strstart=0,t.block_start=0,t.lookahead=0,t.insert=0,t.match_length=t.prev_length=2,t.match_available=0,t.ins_h=0),r}function Yr(e,t,r,n,i,a){if(!e)return-2;var o=1;if(-1===t&&(t=6),n<0?(o=0,n=-n):n>15&&(o=2,n-=16),i<1||i>9||8!==r||n<8||n>15||t<0||t>9||a<0||a>4)return Br(e,-2);8===n&&(n=9);var s=new Zr;return e.state=s,s.strm=e,s.wrap=o,s.gzhead=null,s.w_bits=n,s.w_size=1<<s.w_bits,s.w_mask=s.w_size-1,s.hash_bits=i+7,s.hash_size=1<<s.hash_bits,s.hash_mask=s.hash_size-1,s.hash_shift=~~((s.hash_bits+3-1)/3),s.window=new Pr.Buf8(2*s.w_size),s.head=new Pr.Buf16(s.hash_size),s.prev=new Pr.Buf16(s.w_size),s.lit_bufsize=1<<i+6,s.pending_buf_size=4*s.lit_bufsize,s.pending_buf=new Pr.Buf8(s.pending_buf_size),s.d_buf=1*s.lit_bufsize,s.l_buf=3*s.lit_bufsize,s.level=t,s.strategy=a,s.method=r,Gr(e)}Sr=[new Vr(0,0,0,0,(function(e,t){var r=65535;for(r>e.pending_buf_size-5&&(r=e.pending_buf_size-5);;){if(e.lookahead<=1){if(Wr(e),0===e.lookahead&&0===t)return 1;if(0===e.lookahead)break}e.strstart+=e.lookahead,e.lookahead=0;var n=e.block_start+r;if((0===e.strstart||e.strstart>=n)&&(e.lookahead=e.strstart-n,e.strstart=n,Dr(e,!1),0===e.strm.avail_out))return 1;if(e.strstart-e.block_start>=e.w_size-Nr&&(Dr(e,!1),0===e.strm.avail_out))return 1}return e.insert=0,4===t?(Dr(e,!0),0===e.strm.avail_out?3:4):(e.strstart>e.block_start&&(Dr(e,!1),e.strm.avail_out),1)})),new Vr(4,4,8,4,Hr),new Vr(4,5,16,8,Hr),new Vr(4,6,32,32,Hr),new Vr(4,4,16,16,qr),new Vr(8,16,32,32,qr),new Vr(8,16,128,128,qr),new Vr(8,32,128,256,qr),new Vr(32,128,258,1024,qr),new Vr(32,258,258,4096,qr)],Wt.deflateInit=function(e,t){return Yr(e,t,8,15,8,0)},Wt.deflateInit2=Yr,Wt.deflateReset=Gr,Wt.deflateResetKeep=Xr,Wt.deflateSetHeader=function(e,t){return e&&e.state?2!==e.state.wrap?-2:(e.state.gzhead=t,0):-2},Wt.deflate=function(e,t){var r,n,i,a;if(!e||!e.state||t>5||t<0)return e?Br(e,-2):-2;if(n=e.state,!e.output||!e.input&&0!==e.avail_in||666===n.status&&4!==t)return Br(e,0===e.avail_out?-5:-2);if(n.strm=e,r=n.last_flush,n.last_flush=t,42===n.status)if(2===n.wrap)e.adler=0,zr(n,31),zr(n,139),zr(n,8),n.gzhead?(zr(n,(n.gzhead.text?1:0)+(n.gzhead.hcrc?2:0)+(n.gzhead.extra?4:0)+(n.gzhead.name?8:0)+(n.gzhead.comment?16:0)),zr(n,255&n.gzhead.time),zr(n,n.gzhead.time>>8&255),zr(n,n.gzhead.time>>16&255),zr(n,n.gzhead.time>>24&255),zr(n,9===n.level?2:n.strategy>=2||n.level<2?4:0),zr(n,255&n.gzhead.os),n.gzhead.extra&&n.gzhead.extra.length&&(zr(n,255&n.gzhead.extra.length),zr(n,n.gzhead.extra.length>>8&255)),n.gzhead.hcrc&&(e.adler=Or(e.adler,n.pending_buf,n.pending,0)),n.gzindex=0,n.status=69):(zr(n,0),zr(n,0),zr(n,0),zr(n,0),zr(n,0),zr(n,9===n.level?2:n.strategy>=2||n.level<2?4:0),zr(n,3),n.status=113);else{var o=8+(n.w_bits-8<<4)<<8;o|=(n.strategy>=2||n.level<2?0:n.level<6?1:6===n.level?2:3)<<6,0!==n.strstart&&(o|=32),o+=31-o%31,n.status=113,Fr(n,o),0!==n.strstart&&(Fr(n,e.adler>>>16),Fr(n,65535&e.adler)),e.adler=1}if(69===n.status)if(n.gzhead.extra){for(i=n.pending;n.gzindex<(65535&n.gzhead.extra.length)&&(n.pending!==n.pending_buf_size||(n.gzhead.hcrc&&n.pending>i&&(e.adler=Or(e.adler,n.pending_buf,n.pending-i,i)),jr(e),i=n.pending,n.pending!==n.pending_buf_size));)zr(n,255&n.gzhead.extra[n.gzindex]),n.gzindex++;n.gzhead.hcrc&&n.pending>i&&(e.adler=Or(e.adler,n.pending_buf,n.pending-i,i)),n.gzindex===n.gzhead.extra.length&&(n.gzindex=0,n.status=73)}else n.status=73;if(73===n.status)if(n.gzhead.name){i=n.pending;do{if(n.pending===n.pending_buf_size&&(n.gzhead.hcrc&&n.pending>i&&(e.adler=Or(e.adler,n.pending_buf,n.pending-i,i)),jr(e),i=n.pending,n.pending===n.pending_buf_size)){a=1;break}a=n.gzindex<n.gzhead.name.length?255&n.gzhead.name.charCodeAt(n.gzindex++):0,zr(n,a)}while(0!==a);n.gzhead.hcrc&&n.pending>i&&(e.adler=Or(e.adler,n.pending_buf,n.pending-i,i)),0===a&&(n.gzindex=0,n.status=91)}else n.status=91;if(91===n.status)if(n.gzhead.comment){i=n.pending;do{if(n.pending===n.pending_buf_size&&(n.gzhead.hcrc&&n.pending>i&&(e.adler=Or(e.adler,n.pending_buf,n.pending-i,i)),jr(e),i=n.pending,n.pending===n.pending_buf_size)){a=1;break}a=n.gzindex<n.gzhead.comment.length?255&n.gzhead.comment.charCodeAt(n.gzindex++):0,zr(n,a)}while(0!==a);n.gzhead.hcrc&&n.pending>i&&(e.adler=Or(e.adler,n.pending_buf,n.pending-i,i)),0===a&&(n.status=103)}else n.status=103;if(103===n.status&&(n.gzhead.hcrc?(n.pending+2>n.pending_buf_size&&jr(e),n.pending+2<=n.pending_buf_size&&(zr(n,255&e.adler),zr(n,e.adler>>8&255),e.adler=0,n.status=113)):n.status=113),0!==n.pending){if(jr(e),0===e.avail_out)return n.last_flush=-1,0}else if(0===e.avail_in&&Ir(t)<=Ir(r)&&4!==t)return Br(e,-5);if(666===n.status&&0!==e.avail_in)return Br(e,-5);if(0!==e.avail_in||0!==n.lookahead||0!==t&&666!==n.status){var s=2===n.strategy?function(e,t){for(var r;;){if(0===e.lookahead&&(Wr(e),0===e.lookahead)){if(0===t)return 1;break}if(e.match_length=0,r=Tr._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++,r&&(Dr(e,!1),0===e.strm.avail_out))return 1}return e.insert=0,4===t?(Dr(e,!0),0===e.strm.avail_out?3:4):e.last_lit&&(Dr(e,!1),0===e.strm.avail_out)?1:2}(n,t):3===n.strategy?function(e,t){for(var r,n,i,a,o=e.window;;){if(e.lookahead<=258){if(Wr(e),e.lookahead<=258&&0===t)return 1;if(0===e.lookahead)break}if(e.match_length=0,e.lookahead>=3&&e.strstart>0&&(n=o[i=e.strstart-1])===o[++i]&&n===o[++i]&&n===o[++i]){a=e.strstart+258;do{}while(n===o[++i]&&n===o[++i]&&n===o[++i]&&n===o[++i]&&n===o[++i]&&n===o[++i]&&n===o[++i]&&n===o[++i]&&i<a);e.match_length=258-(a-i),e.match_length>e.lookahead&&(e.match_length=e.lookahead)}if(e.match_length>=3?(r=Tr._tr_tally(e,1,e.match_length-3),e.lookahead-=e.match_length,e.strstart+=e.match_length,e.match_length=0):(r=Tr._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++),r&&(Dr(e,!1),0===e.strm.avail_out))return 1}return e.insert=0,4===t?(Dr(e,!0),0===e.strm.avail_out?3:4):e.last_lit&&(Dr(e,!1),0===e.strm.avail_out)?1:2}(n,t):Sr[n.level].func(n,t);if(3!==s&&4!==s||(n.status=666),1===s||3===s)return 0===e.avail_out&&(n.last_flush=-1),0;if(2===s&&(1===t?Tr._tr_align(n):5!==t&&(Tr._tr_stored_block(n,0,0,!1),3===t&&(Lr(n.head),0===n.lookahead&&(n.strstart=0,n.block_start=0,n.insert=0))),jr(e),0===e.avail_out))return n.last_flush=-1,0}return 4!==t?0:n.wrap<=0?1:(2===n.wrap?(zr(n,255&e.adler),zr(n,e.adler>>8&255),zr(n,e.adler>>16&255),zr(n,e.adler>>24&255),zr(n,255&e.total_in),zr(n,e.total_in>>8&255),zr(n,e.total_in>>16&255),zr(n,e.total_in>>24&255)):(Fr(n,e.adler>>>16),Fr(n,65535&e.adler)),jr(e),n.wrap>0&&(n.wrap=-n.wrap),0!==n.pending?0:1)},Wt.deflateEnd=function(e){var t;return e&&e.state?42!==(t=e.state.status)&&69!==t&&73!==t&&91!==t&&103!==t&&113!==t&&666!==t?Br(e,-2):(e.state=null,113===t?Br(e,-3):0):-2},Wt.deflateSetDictionary=function(e,t){var r,n,i,a,o,s,u,l,c=t.length;if(!e||!e.state)return-2;if(2===(a=(r=e.state).wrap)||1===a&&42!==r.status||r.lookahead)return-2;for(1===a&&(e.adler=Rr(e.adler,t,c,0)),r.wrap=0,c>=r.w_size&&(0===a&&(Lr(r.head),r.strstart=0,r.block_start=0,r.insert=0),l=new Pr.Buf8(r.w_size),Pr.arraySet(l,t,c-r.w_size,r.w_size,0),t=l,c=r.w_size),o=e.avail_in,s=e.next_in,u=e.input,e.avail_in=c,e.next_in=0,e.input=t,Wr(r);r.lookahead>=3;){n=r.strstart,i=r.lookahead-2;do{r.ins_h=(r.ins_h<<r.hash_shift^r.window[n+3-1])&r.hash_mask,r.prev[n&r.w_mask]=r.head[r.ins_h],r.head[r.ins_h]=n,n++}while(--i);r.strstart=n,r.lookahead=2,Wr(r)}return r.strstart+=r.lookahead,r.block_start=r.strstart,r.insert=r.lookahead,r.lookahead=0,r.match_length=r.prev_length=2,r.match_available=0,e.next_in=s,e.input=u,e.avail_in=o,r.wrap=a,0},Wt.deflateInfo="pako deflate (from Nodeca project)";var Jr={},Kr=Ft,$r=!0,Qr=!0;try{String.fromCharCode.apply(null,[0])}catch(Ca){$r=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(Ca){Qr=!1}for(var en=new Kr.Buf8(256),tn=0;tn<256;tn++)en[tn]=tn>=252?6:tn>=248?5:tn>=240?4:tn>=224?3:tn>=192?2:1;function rn(e,t){if(t<65534&&(e.subarray&&Qr||!e.subarray&&$r))return String.fromCharCode.apply(null,Kr.shrinkBuf(e,t));for(var r="",n=0;n<t;n++)r+=String.fromCharCode(e[n]);return r}en[254]=en[254]=1,Jr.string2buf=function(e){var t,r,n,i,a,o=e.length,s=0;for(i=0;i<o;i++)55296==(64512&(r=e.charCodeAt(i)))&&i+1<o&&56320==(64512&(n=e.charCodeAt(i+1)))&&(r=65536+(r-55296<<10)+(n-56320),i++),s+=r<128?1:r<2048?2:r<65536?3:4;for(t=new Kr.Buf8(s),a=0,i=0;a<s;i++)55296==(64512&(r=e.charCodeAt(i)))&&i+1<o&&56320==(64512&(n=e.charCodeAt(i+1)))&&(r=65536+(r-55296<<10)+(n-56320),i++),r<128?t[a++]=r:r<2048?(t[a++]=192|r>>>6,t[a++]=128|63&r):r<65536?(t[a++]=224|r>>>12,t[a++]=128|r>>>6&63,t[a++]=128|63&r):(t[a++]=240|r>>>18,t[a++]=128|r>>>12&63,t[a++]=128|r>>>6&63,t[a++]=128|63&r);return t},Jr.buf2binstring=function(e){return rn(e,e.length)},Jr.binstring2buf=function(e){for(var t=new Kr.Buf8(e.length),r=0,n=t.length;r<n;r++)t[r]=e.charCodeAt(r);return t},Jr.buf2string=function(e,t){var r,n,i,a,o=t||e.length,s=new Array(2*o);for(n=0,r=0;r<o;)if((i=e[r++])<128)s[n++]=i;else if((a=en[i])>4)s[n++]=65533,r+=a-1;else{for(i&=2===a?31:3===a?15:7;a>1&&r<o;)i=i<<6|63&e[r++],a--;a>1?s[n++]=65533:i<65536?s[n++]=i:(i-=65536,s[n++]=55296|i>>10&1023,s[n++]=56320|1023&i)}return rn(s,n)},Jr.utf8border=function(e,t){var r;for((t=t||e.length)>e.length&&(t=e.length),r=t-1;r>=0&&128==(192&e[r]);)r--;return r<0||0===r?t:r+en[e[r]]>t?r:t};var nn=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0},an=Wt,on=Ft,sn=Jr,un=Ar,ln=nn,cn=Object.prototype.toString;function hn(e){if(!(this instanceof hn))return new hn(e);this.options=on.assign({level:-1,method:8,chunkSize:16384,windowBits:15,memLevel:8,strategy:0,to:""},e||{});var t=this.options;t.raw&&t.windowBits>0?t.windowBits=-t.windowBits:t.gzip&&t.windowBits>0&&t.windowBits<16&&(t.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new ln,this.strm.avail_out=0;var r=an.deflateInit2(this.strm,t.level,t.method,t.windowBits,t.memLevel,t.strategy);if(0!==r)throw new Error(un[r]);if(t.header&&an.deflateSetHeader(this.strm,t.header),t.dictionary){var n;if(n="string"==typeof t.dictionary?sn.string2buf(t.dictionary):"[object ArrayBuffer]"===cn.call(t.dictionary)?new Uint8Array(t.dictionary):t.dictionary,0!==(r=an.deflateSetDictionary(this.strm,n)))throw new Error(un[r]);this._dict_set=!0}}function fn(e,t){var r=new hn(t);if(r.push(e,!0),r.err)throw r.msg||un[r.err];return r.result}hn.prototype.push=function(e,t){var r,n,i=this.strm,a=this.options.chunkSize;if(this.ended)return!1;n=t===~~t?t:!0===t?4:0,"string"==typeof e?i.input=sn.string2buf(e):"[object ArrayBuffer]"===cn.call(e)?i.input=new Uint8Array(e):i.input=e,i.next_in=0,i.avail_in=i.input.length;do{if(0===i.avail_out&&(i.output=new on.Buf8(a),i.next_out=0,i.avail_out=a),1!==(r=an.deflate(i,n))&&0!==r)return this.onEnd(r),this.ended=!0,!1;0!==i.avail_out&&(0!==i.avail_in||4!==n&&2!==n)||("string"===this.options.to?this.onData(sn.buf2binstring(on.shrinkBuf(i.output,i.next_out))):this.onData(on.shrinkBuf(i.output,i.next_out)))}while((i.avail_in>0||0===i.avail_out)&&1!==r);return 4===n?(r=an.deflateEnd(this.strm),this.onEnd(r),this.ended=!0,0===r):2!==n||(this.onEnd(0),i.avail_out=0,!0)},hn.prototype.onData=function(e){this.chunks.push(e)},hn.prototype.onEnd=function(e){0===e&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=on.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg},Ut.Deflate=hn,Ut.deflate=fn,Ut.deflateRaw=function(e,t){return(t=t||{}).raw=!0,fn(e,t)},Ut.gzip=function(e,t){return(t=t||{}).gzip=!0,fn(e,t)};var dn={},pn={},mn=Ft,vn=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],gn=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],yn=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],bn=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64],wn=Ft,kn=xr,_n=Cr,Sn=function(e,t){var r,n,i,a,o,s,u,l,c,h,f,d,p,m,v,g,y,b,w,k,_,S,x,E,C;r=e.state,n=e.next_in,E=e.input,i=n+(e.avail_in-5),a=e.next_out,C=e.output,o=a-(t-e.avail_out),s=a+(e.avail_out-257),u=r.dmax,l=r.wsize,c=r.whave,h=r.wnext,f=r.window,d=r.hold,p=r.bits,m=r.lencode,v=r.distcode,g=(1<<r.lenbits)-1,y=(1<<r.distbits)-1;e:do{p<15&&(d+=E[n++]<<p,p+=8,d+=E[n++]<<p,p+=8),b=m[d&g];t:for(;;){if(d>>>=w=b>>>24,p-=w,0==(w=b>>>16&255))C[a++]=65535&b;else{if(!(16&w)){if(64&w){if(32&w){r.mode=12;break e}e.msg="invalid literal/length code",r.mode=30;break e}b=m[(65535&b)+(d&(1<<w)-1)];continue t}for(k=65535&b,(w&=15)&&(p<w&&(d+=E[n++]<<p,p+=8),k+=d&(1<<w)-1,d>>>=w,p-=w),p<15&&(d+=E[n++]<<p,p+=8,d+=E[n++]<<p,p+=8),b=v[d&y];;){if(d>>>=w=b>>>24,p-=w,16&(w=b>>>16&255)){if(_=65535&b,p<(w&=15)&&(d+=E[n++]<<p,(p+=8)<w&&(d+=E[n++]<<p,p+=8)),(_+=d&(1<<w)-1)>u){e.msg="invalid distance too far back",r.mode=30;break e}if(d>>>=w,p-=w,_>(w=a-o)){if((w=_-w)>c&&r.sane){e.msg="invalid distance too far back",r.mode=30;break e}if(S=0,x=f,0===h){if(S+=l-w,w<k){k-=w;do{C[a++]=f[S++]}while(--w);S=a-_,x=C}}else if(h<w){if(S+=l+h-w,(w-=h)<k){k-=w;do{C[a++]=f[S++]}while(--w);if(S=0,h<k){k-=w=h;do{C[a++]=f[S++]}while(--w);S=a-_,x=C}}}else if(S+=h-w,w<k){k-=w;do{C[a++]=f[S++]}while(--w);S=a-_,x=C}for(;k>2;)C[a++]=x[S++],C[a++]=x[S++],C[a++]=x[S++],k-=3;k&&(C[a++]=x[S++],k>1&&(C[a++]=x[S++]))}else{S=a-_;do{C[a++]=C[S++],C[a++]=C[S++],C[a++]=C[S++],k-=3}while(k>2);k&&(C[a++]=C[S++],k>1&&(C[a++]=C[S++]))}break}if(64&w){e.msg="invalid distance code",r.mode=30;break e}b=v[(65535&b)+(d&(1<<w)-1)]}}break}}while(n<i&&a<s);n-=k=p>>3,d&=(1<<(p-=k<<3))-1,e.next_in=n,e.next_out=a,e.avail_in=n<i?i-n+5:5-(n-i),e.avail_out=a<s?s-a+257:257-(a-s),r.hold=d,r.bits=p},xn=function(e,t,r,n,i,a,o,s){var u,l,c,h,f,d,p,m,v,g=s.bits,y=0,b=0,w=0,k=0,_=0,S=0,x=0,E=0,C=0,A=0,P=null,T=0,R=new mn.Buf16(16),O=new mn.Buf16(16),M=null,N=0;for(y=0;y<=15;y++)R[y]=0;for(b=0;b<n;b++)R[t[r+b]]++;for(_=g,k=15;k>=1&&0===R[k];k--);if(_>k&&(_=k),0===k)return i[a++]=20971520,i[a++]=20971520,s.bits=1,0;for(w=1;w<k&&0===R[w];w++);for(_<w&&(_=w),E=1,y=1;y<=15;y++)if(E<<=1,(E-=R[y])<0)return-1;if(E>0&&(0===e||1!==k))return-1;for(O[1]=0,y=1;y<15;y++)O[y+1]=O[y]+R[y];for(b=0;b<n;b++)0!==t[r+b]&&(o[O[t[r+b]]++]=b);if(0===e?(P=M=o,d=19):1===e?(P=vn,T-=257,M=gn,N-=257,d=256):(P=yn,M=bn,d=-1),A=0,b=0,y=w,f=a,S=_,x=0,c=-1,h=(C=1<<_)-1,1===e&&C>852||2===e&&C>592)return 1;for(;;){p=y-x,o[b]<d?(m=0,v=o[b]):o[b]>d?(m=M[N+o[b]],v=P[T+o[b]]):(m=96,v=0),u=1<<y-x,w=l=1<<S;do{i[f+(A>>x)+(l-=u)]=p<<24|m<<16|v}while(0!==l);for(u=1<<y-1;A&u;)u>>=1;if(0!==u?(A&=u-1,A+=u):A=0,b++,0==--R[y]){if(y===k)break;y=t[r+o[b]]}if(y>_&&(A&h)!==c){for(0===x&&(x=_),f+=w,E=1<<(S=y-x);S+x<k&&!((E-=R[S+x])<=0);)S++,E<<=1;if(C+=1<<S,1===e&&C>852||2===e&&C>592)return 1;i[c=A&h]=_<<24|S<<16|f-a}}return 0!==A&&(i[f+A]=y-x<<24|64<<16),s.bits=_,0};function En(e){return(e>>>24&255)+(e>>>8&65280)+((65280&e)<<8)+((255&e)<<24)}function Cn(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new wn.Buf16(320),this.work=new wn.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function An(e){var t;return e&&e.state?(t=e.state,e.total_in=e.total_out=t.total=0,e.msg="",t.wrap&&(e.adler=1&t.wrap),t.mode=1,t.last=0,t.havedict=0,t.dmax=32768,t.head=null,t.hold=0,t.bits=0,t.lencode=t.lendyn=new wn.Buf32(852),t.distcode=t.distdyn=new wn.Buf32(592),t.sane=1,t.back=-1,0):-2}function Pn(e){var t;return e&&e.state?((t=e.state).wsize=0,t.whave=0,t.wnext=0,An(e)):-2}function Tn(e,t){var r,n;return e&&e.state?(n=e.state,t<0?(r=0,t=-t):(r=1+(t>>4),t<48&&(t&=15)),t&&(t<8||t>15)?-2:(null!==n.window&&n.wbits!==t&&(n.window=null),n.wrap=r,n.wbits=t,Pn(e))):-2}function Rn(e,t){var r,n;return e?(n=new Cn,e.state=n,n.window=null,0!==(r=Tn(e,t))&&(e.state=null),r):-2}var On,Mn,Nn=!0;function Bn(e){if(Nn){var t;for(On=new wn.Buf32(512),Mn=new wn.Buf32(32),t=0;t<144;)e.lens[t++]=8;for(;t<256;)e.lens[t++]=9;for(;t<280;)e.lens[t++]=7;for(;t<288;)e.lens[t++]=8;for(xn(1,e.lens,0,288,On,0,e.work,{bits:9}),t=0;t<32;)e.lens[t++]=5;xn(2,e.lens,0,32,Mn,0,e.work,{bits:5}),Nn=!1}e.lencode=On,e.lenbits=9,e.distcode=Mn,e.distbits=5}function In(e,t,r,n){var i,a=e.state;return null===a.window&&(a.wsize=1<<a.wbits,a.wnext=0,a.whave=0,a.window=new wn.Buf8(a.wsize)),n>=a.wsize?(wn.arraySet(a.window,t,r-a.wsize,a.wsize,0),a.wnext=0,a.whave=a.wsize):((i=a.wsize-a.wnext)>n&&(i=n),wn.arraySet(a.window,t,r-n,i,a.wnext),(n-=i)?(wn.arraySet(a.window,t,r-n,n,0),a.wnext=n,a.whave=a.wsize):(a.wnext+=i,a.wnext===a.wsize&&(a.wnext=0),a.whave<a.wsize&&(a.whave+=i))),0}pn.inflateReset=Pn,pn.inflateReset2=Tn,pn.inflateResetKeep=An,pn.inflateInit=function(e){return Rn(e,15)},pn.inflateInit2=Rn,pn.inflate=function(e,t){var r,n,i,a,o,s,u,l,c,h,f,d,p,m,v,g,y,b,w,k,_,S,x,E,C=0,A=new wn.Buf8(4),P=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!e||!e.state||!e.output||!e.input&&0!==e.avail_in)return-2;12===(r=e.state).mode&&(r.mode=13),o=e.next_out,i=e.output,u=e.avail_out,a=e.next_in,n=e.input,s=e.avail_in,l=r.hold,c=r.bits,h=s,f=u,S=0;e:for(;;)switch(r.mode){case 1:if(0===r.wrap){r.mode=13;break}for(;c<16;){if(0===s)break e;s--,l+=n[a++]<<c,c+=8}if(2&r.wrap&&35615===l){r.check=0,A[0]=255&l,A[1]=l>>>8&255,r.check=_n(r.check,A,2,0),l=0,c=0,r.mode=2;break}if(r.flags=0,r.head&&(r.head.done=!1),!(1&r.wrap)||(((255&l)<<8)+(l>>8))%31){e.msg="incorrect header check",r.mode=30;break}if(8!=(15&l)){e.msg="unknown compression method",r.mode=30;break}if(c-=4,_=8+(15&(l>>>=4)),0===r.wbits)r.wbits=_;else if(_>r.wbits){e.msg="invalid window size",r.mode=30;break}r.dmax=1<<_,e.adler=r.check=1,r.mode=512&l?10:12,l=0,c=0;break;case 2:for(;c<16;){if(0===s)break e;s--,l+=n[a++]<<c,c+=8}if(r.flags=l,8!=(255&r.flags)){e.msg="unknown compression method",r.mode=30;break}if(57344&r.flags){e.msg="unknown header flags set",r.mode=30;break}r.head&&(r.head.text=l>>8&1),512&r.flags&&(A[0]=255&l,A[1]=l>>>8&255,r.check=_n(r.check,A,2,0)),l=0,c=0,r.mode=3;case 3:for(;c<32;){if(0===s)break e;s--,l+=n[a++]<<c,c+=8}r.head&&(r.head.time=l),512&r.flags&&(A[0]=255&l,A[1]=l>>>8&255,A[2]=l>>>16&255,A[3]=l>>>24&255,r.check=_n(r.check,A,4,0)),l=0,c=0,r.mode=4;case 4:for(;c<16;){if(0===s)break e;s--,l+=n[a++]<<c,c+=8}r.head&&(r.head.xflags=255&l,r.head.os=l>>8),512&r.flags&&(A[0]=255&l,A[1]=l>>>8&255,r.check=_n(r.check,A,2,0)),l=0,c=0,r.mode=5;case 5:if(1024&r.flags){for(;c<16;){if(0===s)break e;s--,l+=n[a++]<<c,c+=8}r.length=l,r.head&&(r.head.extra_len=l),512&r.flags&&(A[0]=255&l,A[1]=l>>>8&255,r.check=_n(r.check,A,2,0)),l=0,c=0}else r.head&&(r.head.extra=null);r.mode=6;case 6:if(1024&r.flags&&((d=r.length)>s&&(d=s),d&&(r.head&&(_=r.head.extra_len-r.length,r.head.extra||(r.head.extra=new Array(r.head.extra_len)),wn.arraySet(r.head.extra,n,a,d,_)),512&r.flags&&(r.check=_n(r.check,n,d,a)),s-=d,a+=d,r.length-=d),r.length))break e;r.length=0,r.mode=7;case 7:if(2048&r.flags){if(0===s)break e;d=0;do{_=n[a+d++],r.head&&_&&r.length<65536&&(r.head.name+=String.fromCharCode(_))}while(_&&d<s);if(512&r.flags&&(r.check=_n(r.check,n,d,a)),s-=d,a+=d,_)break e}else r.head&&(r.head.name=null);r.length=0,r.mode=8;case 8:if(4096&r.flags){if(0===s)break e;d=0;do{_=n[a+d++],r.head&&_&&r.length<65536&&(r.head.comment+=String.fromCharCode(_))}while(_&&d<s);if(512&r.flags&&(r.check=_n(r.check,n,d,a)),s-=d,a+=d,_)break e}else r.head&&(r.head.comment=null);r.mode=9;case 9:if(512&r.flags){for(;c<16;){if(0===s)break e;s--,l+=n[a++]<<c,c+=8}if(l!==(65535&r.check)){e.msg="header crc mismatch",r.mode=30;break}l=0,c=0}r.head&&(r.head.hcrc=r.flags>>9&1,r.head.done=!0),e.adler=r.check=0,r.mode=12;break;case 10:for(;c<32;){if(0===s)break e;s--,l+=n[a++]<<c,c+=8}e.adler=r.check=En(l),l=0,c=0,r.mode=11;case 11:if(0===r.havedict)return e.next_out=o,e.avail_out=u,e.next_in=a,e.avail_in=s,r.hold=l,r.bits=c,2;e.adler=r.check=1,r.mode=12;case 12:if(5===t||6===t)break e;case 13:if(r.last){l>>>=7&c,c-=7&c,r.mode=27;break}for(;c<3;){if(0===s)break e;s--,l+=n[a++]<<c,c+=8}switch(r.last=1&l,c-=1,3&(l>>>=1)){case 0:r.mode=14;break;case 1:if(Bn(r),r.mode=20,6===t){l>>>=2,c-=2;break e}break;case 2:r.mode=17;break;case 3:e.msg="invalid block type",r.mode=30}l>>>=2,c-=2;break;case 14:for(l>>>=7&c,c-=7&c;c<32;){if(0===s)break e;s--,l+=n[a++]<<c,c+=8}if((65535&l)!=(l>>>16^65535)){e.msg="invalid stored block lengths",r.mode=30;break}if(r.length=65535&l,l=0,c=0,r.mode=15,6===t)break e;case 15:r.mode=16;case 16:if(d=r.length){if(d>s&&(d=s),d>u&&(d=u),0===d)break e;wn.arraySet(i,n,a,d,o),s-=d,a+=d,u-=d,o+=d,r.length-=d;break}r.mode=12;break;case 17:for(;c<14;){if(0===s)break e;s--,l+=n[a++]<<c,c+=8}if(r.nlen=257+(31&l),l>>>=5,c-=5,r.ndist=1+(31&l),l>>>=5,c-=5,r.ncode=4+(15&l),l>>>=4,c-=4,r.nlen>286||r.ndist>30){e.msg="too many length or distance symbols",r.mode=30;break}r.have=0,r.mode=18;case 18:for(;r.have<r.ncode;){for(;c<3;){if(0===s)break e;s--,l+=n[a++]<<c,c+=8}r.lens[P[r.have++]]=7&l,l>>>=3,c-=3}for(;r.have<19;)r.lens[P[r.have++]]=0;if(r.lencode=r.lendyn,r.lenbits=7,x={bits:r.lenbits},S=xn(0,r.lens,0,19,r.lencode,0,r.work,x),r.lenbits=x.bits,S){e.msg="invalid code lengths set",r.mode=30;break}r.have=0,r.mode=19;case 19:for(;r.have<r.nlen+r.ndist;){for(;g=(C=r.lencode[l&(1<<r.lenbits)-1])>>>16&255,y=65535&C,!((v=C>>>24)<=c);){if(0===s)break e;s--,l+=n[a++]<<c,c+=8}if(y<16)l>>>=v,c-=v,r.lens[r.have++]=y;else{if(16===y){for(E=v+2;c<E;){if(0===s)break e;s--,l+=n[a++]<<c,c+=8}if(l>>>=v,c-=v,0===r.have){e.msg="invalid bit length repeat",r.mode=30;break}_=r.lens[r.have-1],d=3+(3&l),l>>>=2,c-=2}else if(17===y){for(E=v+3;c<E;){if(0===s)break e;s--,l+=n[a++]<<c,c+=8}c-=v,_=0,d=3+(7&(l>>>=v)),l>>>=3,c-=3}else{for(E=v+7;c<E;){if(0===s)break e;s--,l+=n[a++]<<c,c+=8}c-=v,_=0,d=11+(127&(l>>>=v)),l>>>=7,c-=7}if(r.have+d>r.nlen+r.ndist){e.msg="invalid bit length repeat",r.mode=30;break}for(;d--;)r.lens[r.have++]=_}}if(30===r.mode)break;if(0===r.lens[256]){e.msg="invalid code -- missing end-of-block",r.mode=30;break}if(r.lenbits=9,x={bits:r.lenbits},S=xn(1,r.lens,0,r.nlen,r.lencode,0,r.work,x),r.lenbits=x.bits,S){e.msg="invalid literal/lengths set",r.mode=30;break}if(r.distbits=6,r.distcode=r.distdyn,x={bits:r.distbits},S=xn(2,r.lens,r.nlen,r.ndist,r.distcode,0,r.work,x),r.distbits=x.bits,S){e.msg="invalid distances set",r.mode=30;break}if(r.mode=20,6===t)break e;case 20:r.mode=21;case 21:if(s>=6&&u>=258){e.next_out=o,e.avail_out=u,e.next_in=a,e.avail_in=s,r.hold=l,r.bits=c,Sn(e,f),o=e.next_out,i=e.output,u=e.avail_out,a=e.next_in,n=e.input,s=e.avail_in,l=r.hold,c=r.bits,12===r.mode&&(r.back=-1);break}for(r.back=0;g=(C=r.lencode[l&(1<<r.lenbits)-1])>>>16&255,y=65535&C,!((v=C>>>24)<=c);){if(0===s)break e;s--,l+=n[a++]<<c,c+=8}if(g&&!(240&g)){for(b=v,w=g,k=y;g=(C=r.lencode[k+((l&(1<<b+w)-1)>>b)])>>>16&255,y=65535&C,!(b+(v=C>>>24)<=c);){if(0===s)break e;s--,l+=n[a++]<<c,c+=8}l>>>=b,c-=b,r.back+=b}if(l>>>=v,c-=v,r.back+=v,r.length=y,0===g){r.mode=26;break}if(32&g){r.back=-1,r.mode=12;break}if(64&g){e.msg="invalid literal/length code",r.mode=30;break}r.extra=15&g,r.mode=22;case 22:if(r.extra){for(E=r.extra;c<E;){if(0===s)break e;s--,l+=n[a++]<<c,c+=8}r.length+=l&(1<<r.extra)-1,l>>>=r.extra,c-=r.extra,r.back+=r.extra}r.was=r.length,r.mode=23;case 23:for(;g=(C=r.distcode[l&(1<<r.distbits)-1])>>>16&255,y=65535&C,!((v=C>>>24)<=c);){if(0===s)break e;s--,l+=n[a++]<<c,c+=8}if(!(240&g)){for(b=v,w=g,k=y;g=(C=r.distcode[k+((l&(1<<b+w)-1)>>b)])>>>16&255,y=65535&C,!(b+(v=C>>>24)<=c);){if(0===s)break e;s--,l+=n[a++]<<c,c+=8}l>>>=b,c-=b,r.back+=b}if(l>>>=v,c-=v,r.back+=v,64&g){e.msg="invalid distance code",r.mode=30;break}r.offset=y,r.extra=15&g,r.mode=24;case 24:if(r.extra){for(E=r.extra;c<E;){if(0===s)break e;s--,l+=n[a++]<<c,c+=8}r.offset+=l&(1<<r.extra)-1,l>>>=r.extra,c-=r.extra,r.back+=r.extra}if(r.offset>r.dmax){e.msg="invalid distance too far back",r.mode=30;break}r.mode=25;case 25:if(0===u)break e;if(d=f-u,r.offset>d){if((d=r.offset-d)>r.whave&&r.sane){e.msg="invalid distance too far back",r.mode=30;break}d>r.wnext?(d-=r.wnext,p=r.wsize-d):p=r.wnext-d,d>r.length&&(d=r.length),m=r.window}else m=i,p=o-r.offset,d=r.length;d>u&&(d=u),u-=d,r.length-=d;do{i[o++]=m[p++]}while(--d);0===r.length&&(r.mode=21);break;case 26:if(0===u)break e;i[o++]=r.length,u--,r.mode=21;break;case 27:if(r.wrap){for(;c<32;){if(0===s)break e;s--,l|=n[a++]<<c,c+=8}if(f-=u,e.total_out+=f,r.total+=f,f&&(e.adler=r.check=r.flags?_n(r.check,i,f,o-f):kn(r.check,i,f,o-f)),f=u,(r.flags?l:En(l))!==r.check){e.msg="incorrect data check",r.mode=30;break}l=0,c=0}r.mode=28;case 28:if(r.wrap&&r.flags){for(;c<32;){if(0===s)break e;s--,l+=n[a++]<<c,c+=8}if(l!==(4294967295&r.total)){e.msg="incorrect length check",r.mode=30;break}l=0,c=0}r.mode=29;case 29:S=1;break e;case 30:S=-3;break e;case 31:return-4;default:return-2}return e.next_out=o,e.avail_out=u,e.next_in=a,e.avail_in=s,r.hold=l,r.bits=c,(r.wsize||f!==e.avail_out&&r.mode<30&&(r.mode<27||4!==t))&&In(e,e.output,e.next_out,f-e.avail_out),h-=e.avail_in,f-=e.avail_out,e.total_in+=h,e.total_out+=f,r.total+=f,r.wrap&&f&&(e.adler=r.check=r.flags?_n(r.check,i,f,e.next_out-f):kn(r.check,i,f,e.next_out-f)),e.data_type=r.bits+(r.last?64:0)+(12===r.mode?128:0)+(20===r.mode||15===r.mode?256:0),(0===h&&0===f||4===t)&&0===S&&(S=-5),S},pn.inflateEnd=function(e){if(!e||!e.state)return-2;var t=e.state;return t.window&&(t.window=null),e.state=null,0},pn.inflateGetHeader=function(e,t){var r;return e&&e.state&&2&(r=e.state).wrap?(r.head=t,t.done=!1,0):-2},pn.inflateSetDictionary=function(e,t){var r,n=t.length;return e&&e.state?0!==(r=e.state).wrap&&11!==r.mode?-2:11===r.mode&&kn(1,t,n,0)!==r.check?-3:In(e,t,n,n)?(r.mode=31,-4):(r.havedict=1,0):-2},pn.inflateInfo="pako inflate (from Nodeca project)";var Ln={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8},jn=pn,Dn=Ft,zn=Jr,Fn=Ln,Un=Ar,Wn=nn,Hn=function(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1},qn=Object.prototype.toString;function Vn(e){if(!(this instanceof Vn))return new Vn(e);this.options=Dn.assign({chunkSize:16384,windowBits:0,to:""},e||{});var t=this.options;t.raw&&t.windowBits>=0&&t.windowBits<16&&(t.windowBits=-t.windowBits,0===t.windowBits&&(t.windowBits=-15)),!(t.windowBits>=0&&t.windowBits<16)||e&&e.windowBits||(t.windowBits+=32),t.windowBits>15&&t.windowBits<48&&(15&t.windowBits||(t.windowBits|=15)),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new Wn,this.strm.avail_out=0;var r=jn.inflateInit2(this.strm,t.windowBits);if(r!==Fn.Z_OK)throw new Error(Un[r]);if(this.header=new Hn,jn.inflateGetHeader(this.strm,this.header),t.dictionary&&("string"==typeof t.dictionary?t.dictionary=zn.string2buf(t.dictionary):"[object ArrayBuffer]"===qn.call(t.dictionary)&&(t.dictionary=new Uint8Array(t.dictionary)),t.raw&&(r=jn.inflateSetDictionary(this.strm,t.dictionary))!==Fn.Z_OK))throw new Error(Un[r])}function Zn(e,t){var r=new Vn(t);if(r.push(e,!0),r.err)throw r.msg||Un[r.err];return r.result}Vn.prototype.push=function(e,t){var r,n,i,a,o,s=this.strm,u=this.options.chunkSize,l=this.options.dictionary,c=!1;if(this.ended)return!1;n=t===~~t?t:!0===t?Fn.Z_FINISH:Fn.Z_NO_FLUSH,"string"==typeof e?s.input=zn.binstring2buf(e):"[object ArrayBuffer]"===qn.call(e)?s.input=new Uint8Array(e):s.input=e,s.next_in=0,s.avail_in=s.input.length;do{if(0===s.avail_out&&(s.output=new Dn.Buf8(u),s.next_out=0,s.avail_out=u),(r=jn.inflate(s,Fn.Z_NO_FLUSH))===Fn.Z_NEED_DICT&&l&&(r=jn.inflateSetDictionary(this.strm,l)),r===Fn.Z_BUF_ERROR&&!0===c&&(r=Fn.Z_OK,c=!1),r!==Fn.Z_STREAM_END&&r!==Fn.Z_OK)return this.onEnd(r),this.ended=!0,!1;s.next_out&&(0!==s.avail_out&&r!==Fn.Z_STREAM_END&&(0!==s.avail_in||n!==Fn.Z_FINISH&&n!==Fn.Z_SYNC_FLUSH)||("string"===this.options.to?(i=zn.utf8border(s.output,s.next_out),a=s.next_out-i,o=zn.buf2string(s.output,i),s.next_out=a,s.avail_out=u-a,a&&Dn.arraySet(s.output,s.output,i,a,0),this.onData(o)):this.onData(Dn.shrinkBuf(s.output,s.next_out)))),0===s.avail_in&&0===s.avail_out&&(c=!0)}while((s.avail_in>0||0===s.avail_out)&&r!==Fn.Z_STREAM_END);return r===Fn.Z_STREAM_END&&(n=Fn.Z_FINISH),n===Fn.Z_FINISH?(r=jn.inflateEnd(this.strm),this.onEnd(r),this.ended=!0,r===Fn.Z_OK):n!==Fn.Z_SYNC_FLUSH||(this.onEnd(Fn.Z_OK),s.avail_out=0,!0)},Vn.prototype.onData=function(e){this.chunks.push(e)},Vn.prototype.onEnd=function(e){e===Fn.Z_OK&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=Dn.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg},dn.Inflate=Vn,dn.inflate=Zn,dn.inflateRaw=function(e,t){return(t=t||{}).raw=!0,Zn(e,t)},dn.ungzip=Zn;var Xn={};(0,Ft.assign)(Xn,Ut,dn,Ln);var Gn="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Uint32Array,Yn=Xn,Jn=He(),Kn=Ve,$n=Gn?"uint8array":"array";function Qn(e,t){Kn.call(this,"FlateWorker/"+e),this._pako=null,this._pakoAction=e,this._pakoOptions=t,this.meta={}}zt.magic="\b\0",Jn.inherits(Qn,Kn),Qn.prototype.processChunk=function(e){this.meta=e.meta,null===this._pako&&this._createPako(),this._pako.push(Jn.transformTo($n,e.data),!1)},Qn.prototype.flush=function(){Kn.prototype.flush.call(this),null===this._pako&&this._createPako(),this._pako.push([],!0)},Qn.prototype.cleanUp=function(){Kn.prototype.cleanUp.call(this),this._pako=null},Qn.prototype._createPako=function(){this._pako=new Yn[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var e=this;this._pako.onData=function(t){e.push({data:t,meta:e.meta})}},zt.compressWorker=function(e){return new Qn("Deflate",e)},zt.uncompressWorker=function(){return new Qn("Inflate",{})};var ei=Ve;Dt.STORE={magic:"\0\0",compressWorker:function(){return new ei("STORE compression")},uncompressWorker:function(){return new ei("STORE decompression")}},Dt.DEFLATE=zt;var ti={LOCAL_FILE_HEADER:"PK",CENTRAL_FILE_HEADER:"PK",CENTRAL_DIRECTORY_END:"PK",ZIP64_CENTRAL_DIRECTORY_LOCATOR:"PK",ZIP64_CENTRAL_DIRECTORY_END:"PK",DATA_DESCRIPTOR:"PK\b"},ri=He(),ni=Ve,ii=F,ai=dt,oi=ti,si=function(e,t){var r,n="";for(r=0;r<t;r++)n+=String.fromCharCode(255&e),e>>>=8;return n},ui=function(e,t,r,n,i,a){var o,s,u=e.file,l=e.compression,c=a!==ii.utf8encode,h=ri.transformTo("string",a(u.name)),f=ri.transformTo("string",ii.utf8encode(u.name)),d=u.comment,p=ri.transformTo("string",a(d)),m=ri.transformTo("string",ii.utf8encode(d)),v=f.length!==u.name.length,g=m.length!==d.length,y="",b="",w="",k=u.dir,_=u.date,S={crc32:0,compressedSize:0,uncompressedSize:0};t&&!r||(S.crc32=e.crc32,S.compressedSize=e.compressedSize,S.uncompressedSize=e.uncompressedSize);var x=0;t&&(x|=8),c||!v&&!g||(x|=2048);var E,C,A=0,P=0;k&&(A|=16),"UNIX"===i?(P=798,A|=(C=E=u.unixPermissions,E||(C=k?16893:33204),(65535&C)<<16)):(P=20,A|=63&(u.dosPermissions||0)),o=_.getUTCHours(),o<<=6,o|=_.getUTCMinutes(),o<<=5,o|=_.getUTCSeconds()/2,s=_.getUTCFullYear()-1980,s<<=4,s|=_.getUTCMonth()+1,s<<=5,s|=_.getUTCDate(),v&&(b=si(1,1)+si(ai(h),4)+f,y+="up"+si(b.length,2)+b),g&&(w=si(1,1)+si(ai(p),4)+m,y+="uc"+si(w.length,2)+w);var T="";return T+="\n\0",T+=si(x,2),T+=l.magic,T+=si(o,2),T+=si(s,2),T+=si(S.crc32,4),T+=si(S.compressedSize,4),T+=si(S.uncompressedSize,4),T+=si(h.length,2),T+=si(y.length,2),{fileRecord:oi.LOCAL_FILE_HEADER+T+h+y,dirRecord:oi.CENTRAL_FILE_HEADER+si(P,2)+T+si(p.length,2)+"\0\0\0\0"+si(A,4)+si(n,4)+h+y+p}},li=function(e){return oi.DATA_DESCRIPTOR+si(e.crc32,4)+si(e.compressedSize,4)+si(e.uncompressedSize,4)};function ci(e,t,r,n){ni.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=t,this.zipPlatform=r,this.encodeFileName=n,this.streamFiles=e,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}ri.inherits(ci,ni),ci.prototype.push=function(e){var t=e.meta.percent||0,r=this.entriesCount,n=this._sources.length;this.accumulate?this.contentBuffer.push(e):(this.bytesWritten+=e.data.length,ni.prototype.push.call(this,{data:e.data,meta:{currentFile:this.currentFile,percent:r?(t+100*(r-n-1))/r:100}}))},ci.prototype.openedSource=function(e){this.currentSourceOffset=this.bytesWritten,this.currentFile=e.file.name;var t=this.streamFiles&&!e.file.dir;if(t){var r=ui(e,t,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:r.fileRecord,meta:{percent:0}})}else this.accumulate=!0},ci.prototype.closedSource=function(e){this.accumulate=!1;var t=this.streamFiles&&!e.file.dir,r=ui(e,t,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(r.dirRecord),t)this.push({data:li(e),meta:{percent:100}});else for(this.push({data:r.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},ci.prototype.flush=function(){for(var e=this.bytesWritten,t=0;t<this.dirRecords.length;t++)this.push({data:this.dirRecords[t],meta:{percent:100}});var r=this.bytesWritten-e,n=function(e,t,r,n,i){var a=ri.transformTo("string",i(n));return oi.CENTRAL_DIRECTORY_END+"\0\0\0\0"+si(e,2)+si(e,2)+si(t,4)+si(r,4)+si(a.length,2)+a}(this.dirRecords.length,r,e,this.zipComment,this.encodeFileName);this.push({data:n,meta:{percent:100}})},ci.prototype.prepareNextSource=function(){this.previous=this._sources.shift(),this.openedSource(this.previous.streamInfo),this.isPaused?this.previous.pause():this.previous.resume()},ci.prototype.registerPrevious=function(e){this._sources.push(e);var t=this;return e.on("data",(function(e){t.processChunk(e)})),e.on("end",(function(){t.closedSource(t.previous.streamInfo),t._sources.length?t.prepareNextSource():t.end()})),e.on("error",(function(e){t.error(e)})),this},ci.prototype.resume=function(){return!!ni.prototype.resume.call(this)&&(!this.previous&&this._sources.length?(this.prepareNextSource(),!0):this.previous||this._sources.length||this.generatedError?void 0:(this.end(),!0))},ci.prototype.error=function(e){var t=this._sources;if(!ni.prototype.error.call(this,e))return!1;for(var r=0;r<t.length;r++)try{t[r].error(e)}catch(e){}return!0},ci.prototype.lock=function(){ni.prototype.lock.call(this);for(var e=this._sources,t=0;t<e.length;t++)e[t].lock()};var hi=Dt,fi=ci;jt.generateWorker=function(e,t,r){var n=new fi(t.streamFiles,r,t.platform,t.encodeFileName),i=0;try{e.forEach((function(e,r){i++;var a=function(e,t){var r=e||t,n=hi[r];if(!n)throw new Error(r+" is not a valid compression method !");return n}(r.options.compression,t.compression),o=r.options.compressionOptions||t.compressionOptions||{},s=r.dir,u=r.date;r._compressWorker(a,o).withStreamInfo("file",{name:e,dir:s,date:u,comment:r.comment||"",unixPermissions:r.unixPermissions,dosPermissions:r.dosPermissions}).pipe(n)})),n.entriesCount=i}catch(e){n.error(e)}return n};var di=He(),pi=Ve;function mi(e,t){pi.call(this,"Nodejs stream input adapter for "+e),this._upstreamEnded=!1,this._bindStream(t)}di.inherits(mi,pi),mi.prototype._bindStream=function(e){var t=this;this._stream=e,e.pause(),e.on("data",(function(e){t.push({data:e,meta:{percent:0}})})).on("error",(function(e){t.isPaused?this.generatedError=e:t.error(e)})).on("end",(function(){t.isPaused?t._upstreamEnded=!0:t.end()}))},mi.prototype.pause=function(){return!!pi.prototype.pause.call(this)&&(this._stream.pause(),!0)},mi.prototype.resume=function(){return!!pi.prototype.resume.call(this)&&(this._upstreamEnded?this.end():this._stream.resume(),!0)};var vi=mi,gi=F,yi=He(),bi=Ve,wi=at,ki=ot,_i=Ct,Si=Lt,xi=jt,Ei=Ue,Ci=vi,Ai=function(e,t,r){var n,i=yi.getTypeOf(t),a=yi.extend(r||{},ki);a.date=a.date||new Date,null!==a.compression&&(a.compression=a.compression.toUpperCase()),"string"==typeof a.unixPermissions&&(a.unixPermissions=parseInt(a.unixPermissions,8)),a.unixPermissions&&16384&a.unixPermissions&&(a.dir=!0),a.dosPermissions&&16&a.dosPermissions&&(a.dir=!0),a.dir&&(e=Ti(e)),a.createFolders&&(n=Pi(e))&&Ri.call(this,n,!0);var o="string"===i&&!1===a.binary&&!1===a.base64;r&&void 0!==r.binary||(a.binary=!o),(t instanceof _i&&0===t.uncompressedSize||a.dir||!t||0===t.length)&&(a.base64=!1,a.binary=!0,t="",a.compression="STORE",i="string");var s;s=t instanceof _i||t instanceof bi?t:Ei.isNode&&Ei.isStream(t)?new Ci(e,t):yi.prepareContent(e,t,a.binary,a.optimizedBinaryString,a.base64);var u=new Si(e,s,a);this.files[e]=u},Pi=function(e){"/"===e.slice(-1)&&(e=e.substring(0,e.length-1));var t=e.lastIndexOf("/");return t>0?e.substring(0,t):""},Ti=function(e){return"/"!==e.slice(-1)&&(e+="/"),e},Ri=function(e,t){return t=void 0!==t?t:ki.createFolders,e=Ti(e),this.files[e]||Ai.call(this,e,null,{dir:!0,createFolders:t}),this.files[e]};function Oi(e){return"[object RegExp]"===Object.prototype.toString.call(e)}var Mi={load:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},forEach:function(e){var t,r,n;for(t in this.files)n=this.files[t],(r=t.slice(this.root.length,t.length))&&t.slice(0,this.root.length)===this.root&&e(r,n)},filter:function(e){var t=[];return this.forEach((function(r,n){e(r,n)&&t.push(n)})),t},file:function(e,t,r){if(1===arguments.length){if(Oi(e)){var n=e;return this.filter((function(e,t){return!t.dir&&n.test(e)}))}var i=this.files[this.root+e];return i&&!i.dir?i:null}return e=this.root+e,Ai.call(this,e,t,r),this},folder:function(e){if(!e)return this;if(Oi(e))return this.filter((function(t,r){return r.dir&&e.test(t)}));var t=this.root+e,r=Ri.call(this,t),n=this.clone();return n.root=r.name,n},remove:function(e){e=this.root+e;var t=this.files[e];if(t||("/"!==e.slice(-1)&&(e+="/"),t=this.files[e]),t&&!t.dir)delete this.files[e];else for(var r=this.filter((function(t,r){return r.name.slice(0,e.length)===e})),n=0;n<r.length;n++)delete this.files[r[n].name];return this},generate:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},generateInternalStream:function(e){var t,r={};try{if((r=yi.extend(e||{},{streamFiles:!1,compression:"STORE",compressionOptions:null,type:"",platform:"DOS",comment:null,mimeType:"application/zip",encodeFileName:gi.utf8encode})).type=r.type.toLowerCase(),r.compression=r.compression.toUpperCase(),"binarystring"===r.type&&(r.type="string"),!r.type)throw new Error("No output type specified.");yi.checkSupport(r.type),"darwin"!==r.platform&&"freebsd"!==r.platform&&"linux"!==r.platform&&"sunos"!==r.platform||(r.platform="UNIX"),"win32"===r.platform&&(r.platform="DOS");var n=r.comment||this.comment||"";t=xi.generateWorker(this,r,n)}catch(e){(t=new bi("error")).error(e)}return new wi(t,r.type||"string",r.mimeType)},generateAsync:function(e,t){return this.generateInternalStream(e).accumulate(t)},generateNodeStream:function(e,t){return(e=e||{}).type||(e.type="nodebuffer"),this.generateInternalStream(e).toNodejsStream(t)}},Ni=He();function Bi(e){this.data=e,this.length=e.length,this.index=0,this.zero=0}Bi.prototype={checkOffset:function(e){this.checkIndex(this.index+e)},checkIndex:function(e){if(this.length<this.zero+e||e<0)throw new Error("End of data reached (data length = "+this.length+", asked index = "+e+"). Corrupted zip ?")},setIndex:function(e){this.checkIndex(e),this.index=e},skip:function(e){this.setIndex(this.index+e)},byteAt:function(){},readInt:function(e){var t,r=0;for(this.checkOffset(e),t=this.index+e-1;t>=this.index;t--)r=(r<<8)+this.byteAt(t);return this.index+=e,r},readString:function(e){return Ni.transformTo("string",this.readData(e))},readData:function(){},lastIndexOfSignature:function(){},readAndCheckSignature:function(){},readDate:function(){var e=this.readInt(4);return new Date(Date.UTC(1980+(e>>25&127),(e>>21&15)-1,e>>16&31,e>>11&31,e>>5&63,(31&e)<<1))}};var Ii=Bi,Li=Ii;function ji(e){Li.call(this,e);for(var t=0;t<this.data.length;t++)e[t]=255&e[t]}He().inherits(ji,Li),ji.prototype.byteAt=function(e){return this.data[this.zero+e]},ji.prototype.lastIndexOfSignature=function(e){for(var t=e.charCodeAt(0),r=e.charCodeAt(1),n=e.charCodeAt(2),i=e.charCodeAt(3),a=this.length-4;a>=0;--a)if(this.data[a]===t&&this.data[a+1]===r&&this.data[a+2]===n&&this.data[a+3]===i)return a-this.zero;return-1},ji.prototype.readAndCheckSignature=function(e){var t=e.charCodeAt(0),r=e.charCodeAt(1),n=e.charCodeAt(2),i=e.charCodeAt(3),a=this.readData(4);return t===a[0]&&r===a[1]&&n===a[2]&&i===a[3]},ji.prototype.readData=function(e){if(this.checkOffset(e),0===e)return[];var t=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t};var Di=ji,zi=Ii;function Fi(e){zi.call(this,e)}He().inherits(Fi,zi),Fi.prototype.byteAt=function(e){return this.data.charCodeAt(this.zero+e)},Fi.prototype.lastIndexOfSignature=function(e){return this.data.lastIndexOf(e)-this.zero},Fi.prototype.readAndCheckSignature=function(e){return e===this.readData(4)},Fi.prototype.readData=function(e){this.checkOffset(e);var t=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t};var Ui=Fi,Wi=Di;function Hi(e){Wi.call(this,e)}He().inherits(Hi,Wi),Hi.prototype.readData=function(e){if(this.checkOffset(e),0===e)return new Uint8Array(0);var t=this.data.subarray(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t};var qi=Hi,Vi=qi;function Zi(e){Vi.call(this,e)}He().inherits(Zi,Vi),Zi.prototype.readData=function(e){this.checkOffset(e);var t=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t};var Xi=Zi,Gi=He(),Yi=W,Ji=Di,Ki=Ui,$i=Xi,Qi=qi,ea=function(e){var t=Gi.getTypeOf(e);return Gi.checkSupport(t),"string"!==t||Yi.uint8array?"nodebuffer"===t?new $i(e):Yi.uint8array?new Qi(Gi.transformTo("uint8array",e)):new Ji(Gi.transformTo("array",e)):new Ki(e)},ta=ea,ra=He(),na=Ct,ia=dt,aa=F,oa=Dt,sa=W;function ua(e,t){this.options=e,this.loadOptions=t}ua.prototype={isEncrypted:function(){return!(1&~this.bitFlag)},useUTF8:function(){return!(2048&~this.bitFlag)},readLocalPart:function(e){var t,r;if(e.skip(22),this.fileNameLength=e.readInt(2),r=e.readInt(2),this.fileName=e.readData(this.fileNameLength),e.skip(r),-1===this.compressedSize||-1===this.uncompressedSize)throw new Error("Bug or corrupted zip : didn't get enough information from the central directory (compressedSize === -1 || uncompressedSize === -1)");if(null===(t=function(e){for(var t in oa)if(Object.prototype.hasOwnProperty.call(oa,t)&&oa[t].magic===e)return oa[t];return null}(this.compressionMethod)))throw new Error("Corrupted zip : compression "+ra.pretty(this.compressionMethod)+" unknown (inner file : "+ra.transformTo("string",this.fileName)+")");this.decompressed=new na(this.compressedSize,this.uncompressedSize,this.crc32,t,e.readData(this.compressedSize))},readCentralPart:function(e){this.versionMadeBy=e.readInt(2),e.skip(2),this.bitFlag=e.readInt(2),this.compressionMethod=e.readString(2),this.date=e.readDate(),this.crc32=e.readInt(4),this.compressedSize=e.readInt(4),this.uncompressedSize=e.readInt(4);var t=e.readInt(2);if(this.extraFieldsLength=e.readInt(2),this.fileCommentLength=e.readInt(2),this.diskNumberStart=e.readInt(2),this.internalFileAttributes=e.readInt(2),this.externalFileAttributes=e.readInt(4),this.localHeaderOffset=e.readInt(4),this.isEncrypted())throw new Error("Encrypted zip are not supported");e.skip(t),this.readExtraFields(e),this.parseZIP64ExtraField(e),this.fileComment=e.readData(this.fileCommentLength)},processAttributes:function(){this.unixPermissions=null,this.dosPermissions=null;var e=this.versionMadeBy>>8;this.dir=!!(16&this.externalFileAttributes),0===e&&(this.dosPermissions=63&this.externalFileAttributes),3===e&&(this.unixPermissions=this.externalFileAttributes>>16&65535),this.dir||"/"!==this.fileNameStr.slice(-1)||(this.dir=!0)},parseZIP64ExtraField:function(){if(this.extraFields[1]){var e=ta(this.extraFields[1].value);this.uncompressedSize===ra.MAX_VALUE_32BITS&&(this.uncompressedSize=e.readInt(8)),this.compressedSize===ra.MAX_VALUE_32BITS&&(this.compressedSize=e.readInt(8)),this.localHeaderOffset===ra.MAX_VALUE_32BITS&&(this.localHeaderOffset=e.readInt(8)),this.diskNumberStart===ra.MAX_VALUE_32BITS&&(this.diskNumberStart=e.readInt(4))}},readExtraFields:function(e){var t,r,n,i=e.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});e.index+4<i;)t=e.readInt(2),r=e.readInt(2),n=e.readData(r),this.extraFields[t]={id:t,length:r,value:n};e.setIndex(i)},handleUTF8:function(){var e=sa.uint8array?"uint8array":"array";if(this.useUTF8())this.fileNameStr=aa.utf8decode(this.fileName),this.fileCommentStr=aa.utf8decode(this.fileComment);else{var t=this.findExtraFieldUnicodePath();if(null!==t)this.fileNameStr=t;else{var r=ra.transformTo(e,this.fileName);this.fileNameStr=this.loadOptions.decodeFileName(r)}var n=this.findExtraFieldUnicodeComment();if(null!==n)this.fileCommentStr=n;else{var i=ra.transformTo(e,this.fileComment);this.fileCommentStr=this.loadOptions.decodeFileName(i)}}},findExtraFieldUnicodePath:function(){var e=this.extraFields[28789];if(e){var t=ta(e.value);return 1!==t.readInt(1)||ia(this.fileName)!==t.readInt(4)?null:aa.utf8decode(t.readData(e.length-5))}return null},findExtraFieldUnicodeComment:function(){var e=this.extraFields[25461];if(e){var t=ta(e.value);return 1!==t.readInt(1)||ia(this.fileComment)!==t.readInt(4)?null:aa.utf8decode(t.readData(e.length-5))}return null}};var la=ua,ca=ea,ha=He(),fa=ti,da=la,pa=W;function ma(e){this.files=[],this.loadOptions=e}ma.prototype={checkSignature:function(e){if(!this.reader.readAndCheckSignature(e)){this.reader.index-=4;var t=this.reader.readString(4);throw new Error("Corrupted zip or bug: unexpected signature ("+ha.pretty(t)+", expected "+ha.pretty(e)+")")}},isSignature:function(e,t){var r=this.reader.index;this.reader.setIndex(e);var n=this.reader.readString(4)===t;return this.reader.setIndex(r),n},readBlockEndOfCentral:function(){this.diskNumber=this.reader.readInt(2),this.diskWithCentralDirStart=this.reader.readInt(2),this.centralDirRecordsOnThisDisk=this.reader.readInt(2),this.centralDirRecords=this.reader.readInt(2),this.centralDirSize=this.reader.readInt(4),this.centralDirOffset=this.reader.readInt(4),this.zipCommentLength=this.reader.readInt(2);var e=this.reader.readData(this.zipCommentLength),t=pa.uint8array?"uint8array":"array",r=ha.transformTo(t,e);this.zipComment=this.loadOptions.decodeFileName(r)},readBlockZip64EndOfCentral:function(){this.zip64EndOfCentralSize=this.reader.readInt(8),this.reader.skip(4),this.diskNumber=this.reader.readInt(4),this.diskWithCentralDirStart=this.reader.readInt(4),this.centralDirRecordsOnThisDisk=this.reader.readInt(8),this.centralDirRecords=this.reader.readInt(8),this.centralDirSize=this.reader.readInt(8),this.centralDirOffset=this.reader.readInt(8),this.zip64ExtensibleData={};for(var e,t,r,n=this.zip64EndOfCentralSize-44;0<n;)e=this.reader.readInt(2),t=this.reader.readInt(4),r=this.reader.readData(t),this.zip64ExtensibleData[e]={id:e,length:t,value:r}},readBlockZip64EndOfCentralLocator:function(){if(this.diskWithZip64CentralDirStart=this.reader.readInt(4),this.relativeOffsetEndOfZip64CentralDir=this.reader.readInt(8),this.disksCount=this.reader.readInt(4),this.disksCount>1)throw new Error("Multi-volumes zip are not supported")},readLocalFiles:function(){var e,t;for(e=0;e<this.files.length;e++)t=this.files[e],this.reader.setIndex(t.localHeaderOffset),this.checkSignature(fa.LOCAL_FILE_HEADER),t.readLocalPart(this.reader),t.handleUTF8(),t.processAttributes()},readCentralDir:function(){var e;for(this.reader.setIndex(this.centralDirOffset);this.reader.readAndCheckSignature(fa.CENTRAL_FILE_HEADER);)(e=new da({zip64:this.zip64},this.loadOptions)).readCentralPart(this.reader),this.files.push(e);if(this.centralDirRecords!==this.files.length&&0!==this.centralDirRecords&&0===this.files.length)throw new Error("Corrupted zip or bug: expected "+this.centralDirRecords+" records in central dir, got "+this.files.length)},readEndOfCentral:function(){var e=this.reader.lastIndexOfSignature(fa.CENTRAL_DIRECTORY_END);if(e<0)throw this.isSignature(0,fa.LOCAL_FILE_HEADER)?new Error("Corrupted zip: can't find end of central directory"):new Error("Can't find end of central directory : is this a zip file ? If it is, see https://stuk.github.io/jszip/documentation/howto/read_zip.html");this.reader.setIndex(e);var t=e;if(this.checkSignature(fa.CENTRAL_DIRECTORY_END),this.readBlockEndOfCentral(),this.diskNumber===ha.MAX_VALUE_16BITS||this.diskWithCentralDirStart===ha.MAX_VALUE_16BITS||this.centralDirRecordsOnThisDisk===ha.MAX_VALUE_16BITS||this.centralDirRecords===ha.MAX_VALUE_16BITS||this.centralDirSize===ha.MAX_VALUE_32BITS||this.centralDirOffset===ha.MAX_VALUE_32BITS){if(this.zip64=!0,(e=this.reader.lastIndexOfSignature(fa.ZIP64_CENTRAL_DIRECTORY_LOCATOR))<0)throw new Error("Corrupted zip: can't find the ZIP64 end of central directory locator");if(this.reader.setIndex(e),this.checkSignature(fa.ZIP64_CENTRAL_DIRECTORY_LOCATOR),this.readBlockZip64EndOfCentralLocator(),!this.isSignature(this.relativeOffsetEndOfZip64CentralDir,fa.ZIP64_CENTRAL_DIRECTORY_END)&&(this.relativeOffsetEndOfZip64CentralDir=this.reader.lastIndexOfSignature(fa.ZIP64_CENTRAL_DIRECTORY_END),this.relativeOffsetEndOfZip64CentralDir<0))throw new Error("Corrupted zip: can't find the ZIP64 end of central directory");this.reader.setIndex(this.relativeOffsetEndOfZip64CentralDir),this.checkSignature(fa.ZIP64_CENTRAL_DIRECTORY_END),this.readBlockZip64EndOfCentral()}var r=this.centralDirOffset+this.centralDirSize;this.zip64&&(r+=20,r+=12+this.zip64EndOfCentralSize);var n=t-r;if(n>0)this.isSignature(t,fa.CENTRAL_FILE_HEADER)||(this.reader.zero=n);else if(n<0)throw new Error("Corrupted zip: missing "+Math.abs(n)+" bytes.")},prepareReader:function(e){this.reader=ca(e)},load:function(e){this.prepareReader(e),this.readEndOfCentral(),this.readCentralDir(),this.readLocalFiles()}};var va=ma,ga=He(),ya=We,ba=F,wa=va,ka=gt,_a=Ue;function Sa(e){return new ya.Promise((function(t,r){var n=e.decompressed.getContentWorker().pipe(new ka);n.on("error",(function(e){r(e)})).on("end",(function(){n.streamInfo.crc32!==e.decompressed.crc32?r(new Error("Corrupted zip : CRC32 mismatch")):t()})).resume()}))}function xa(){if(!(this instanceof xa))return new xa;if(arguments.length)throw new Error("The constructor with parameters has been removed in JSZip 3.0, please check the upgrade guide.");this.files=Object.create(null),this.comment=null,this.root="",this.clone=function(){var e=new xa;for(var t in this)"function"!=typeof this[t]&&(e[t]=this[t]);return e}}xa.prototype=Mi,xa.prototype.loadAsync=function(e,t){var r=this;return t=ga.extend(t||{},{base64:!1,checkCRC32:!1,optimizedBinaryString:!1,createFolders:!1,decodeFileName:ba.utf8decode}),_a.isNode&&_a.isStream(e)?ya.Promise.reject(new Error("JSZip can't accept a stream when loading a zip file.")):ga.prepareContent("the loaded zip file",e,!0,t.optimizedBinaryString,t.base64).then((function(e){var r=new wa(t);return r.load(e),r})).then((function(e){var r=[ya.Promise.resolve(e)],n=e.files;if(t.checkCRC32)for(var i=0;i<n.length;i++)r.push(Sa(n[i]));return ya.Promise.all(r)})).then((function(e){for(var n=e.shift(),i=n.files,a=0;a<i.length;a++){var o=i[a],s=o.fileNameStr,u=ga.resolve(o.fileNameStr);r.file(u,o.decompressed,{binary:!0,optimizedBinaryString:!0,date:o.date,dir:o.dir,comment:o.fileCommentStr.length?o.fileCommentStr:null,unixPermissions:o.unixPermissions,dosPermissions:o.dosPermissions,createFolders:t.createFolders}),o.dir||(r.file(u).unsafeOriginalName=s)}return n.zipComment.length&&(r.comment=n.zipComment),r}))},xa.support=W,xa.defaults=ot,xa.version="3.10.1",xa.loadAsync=function(e,t){return(new xa).loadAsync(e,t)},xa.external=We;var Ea,Ca,Aa=(Ca=xa)&&Ca.__esModule&&Object.prototype.hasOwnProperty.call(Ca,"default")?Ca.default:Ca;!function(e){e.OfficeDocument="http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument",e.FontTable="http://schemas.openxmlformats.org/officeDocument/2006/relationships/fontTable",e.Image="http://schemas.openxmlformats.org/officeDocument/2006/relationships/image",e.Numbering="http://schemas.openxmlformats.org/officeDocument/2006/relationships/numbering",e.Styles="http://schemas.openxmlformats.org/officeDocument/2006/relationships/styles",e.StylesWithEffects="http://schemas.microsoft.com/office/2007/relationships/stylesWithEffects",e.Theme="http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme",e.Settings="http://schemas.openxmlformats.org/officeDocument/2006/relationships/settings",e.WebSettings="http://schemas.openxmlformats.org/officeDocument/2006/relationships/webSettings",e.Hyperlink="http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink",e.Footnotes="http://schemas.openxmlformats.org/officeDocument/2006/relationships/footnotes",e.Endnotes="http://schemas.openxmlformats.org/officeDocument/2006/relationships/endnotes",e.Footer="http://schemas.openxmlformats.org/officeDocument/2006/relationships/footer",e.Header="http://schemas.openxmlformats.org/officeDocument/2006/relationships/header",e.ExtendedProperties="http://schemas.openxmlformats.org/officeDocument/2006/relationships/extended-properties",e.CoreProperties="http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties",e.CustomProperties="http://schemas.openxmlformats.org/package/2006/relationships/metadata/custom-properties",e.Comments="http://schemas.openxmlformats.org/officeDocument/2006/relationships/comments",e.CommentsExtended="http://schemas.microsoft.com/office/2011/relationships/commentsExtended"}(Ea||(Ea={}));var Pa="http://schemas.openxmlformats.org/wordprocessingml/2006/main",Ta={mul:.05,unit:"pt"},Ra={mul:1/12700,unit:"pt"},Oa={mul:.5,unit:"pt"},Ma={mul:.125,unit:"pt"},Na={mul:1,unit:"pt"},Ba={mul:.02,unit:"%"};function Ia(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Ta;return null==e||/.+(p[xt]|[%])$/.test(e)?e:"".concat((parseInt(e)*t.mul).toFixed(2)).concat(t.unit)}function La(e,t,r){if(e.namespaceURI!=Pa)return!1;switch(e.localName){case"color":t.color=r.attr(e,"val");break;case"sz":t.fontSize=r.lengthAttr(e,"val",Oa);break;default:return!1}return!0}var ja=function(){return O((function e(){T(this,e)}),[{key:"elements",value:function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=[],n=0,i=e.childNodes.length;n<i;n++){var a=e.childNodes.item(n);1!=a.nodeType||null!=t&&a.localName!=t||r.push(a)}return r}},{key:"element",value:function(e,t){for(var r=0,n=e.childNodes.length;r<n;r++){var i=e.childNodes.item(r);if(1==i.nodeType&&i.localName==t)return i}return null}},{key:"elementAttr",value:function(e,t,r){var n=this.element(e,t);return n?this.attr(n,r):void 0}},{key:"attrs",value:function(e){return Array.from(e.attributes)}},{key:"attr",value:function(e,t){for(var r=0,n=e.attributes.length;r<n;r++){var i=e.attributes.item(r);if(i.localName==t)return i.value}return null}},{key:"intAttr",value:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,n=this.attr(e,t);return n?parseInt(n):r}},{key:"hexAttr",value:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,n=this.attr(e,t);return n?parseInt(n,16):r}},{key:"floatAttr",value:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,n=this.attr(e,t);return n?parseFloat(n):r}},{key:"boolAttr",value:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];switch(e){case"1":case"on":case"true":return!0;case"0":case"off":case"false":return!1;default:return t}}(this.attr(e,t),r)}},{key:"lengthAttr",value:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Ta;return Ia(this.attr(e,t),r)}}])}(),Da=new ja,za=function(){return O((function e(t,r){T(this,e),this._package=t,this.path=r}),[{key:"load",value:(e=P(C().mark((function e(){var t,r;return C().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this._package.loadRelationships(this.path);case 2:return this.rels=e.sent,e.next=5,this._package.load(this.path);case 5:t=e.sent,r=this._package.parseXmlDocument(t),this._package.options.keepOrigin&&(this._xmlDocument=r),this.parseXml(r.firstElementChild);case 8:case"end":return e.stop()}}),e,this)}))),function(){return e.apply(this,arguments)})},{key:"save",value:function(){var e;this._package.update(this.path,(e=this._xmlDocument,(new XMLSerializer).serializeToString(e)))}},{key:"parseXml",value:function(e){}}]);var e}(),Fa={embedRegular:"regular",embedBold:"bold",embedItalic:"italic",embedBoldItalic:"boldItalic"};function Ua(e,t){return{id:t.attr(e,"id"),key:t.attr(e,"fontKey"),type:Fa[e.localName]}}var Wa=function(e){function t(){return T(this,t),b(this,t,arguments)}return k(t,e),O(t,[{key:"parseXml",value:function(e){this.fonts=function(e,t){return t.elements(e).map((function(e){return function(e,t){var r,n={name:t.attr(e,"name"),embedFontRefs:[]},i=S(t.elements(e));try{for(i.s();!(r=i.n()).done;){var a=r.value;switch(a.localName){case"family":n.family=t.attr(a,"val");break;case"altName":n.altName=t.attr(a,"val");break;case"embedRegular":case"embedBold":case"embedItalic":case"embedBoldItalic":n.embedFontRefs.push(Ua(a,t))}}}catch(e){i.e(e)}finally{i.f()}return n}(e,t)}))}(e,this._package.xmlParser)}}])}(za);function Ha(e){var t=e.lastIndexOf("/")+1;return[0==t?"":e.substring(0,t),0==t?e:e.substring(t)]}function qa(e,t){try{var r="http://docx/";return new URL(e,r+t).toString().substring(r.length)}catch(r){return"".concat(t).concat(e)}}function Va(e,t){return e.reduce((function(e,r){return e[t(r)]=r,e}),{})}function Za(e){return e&&"object"==N(e)&&!Array.isArray(e)}function Xa(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];if(!r.length)return e;var i=r.shift();if(Za(e)&&Za(i))for(var a in i)if(Za(i[a])){var o;Xa(null!==(o=e[a])&&void 0!==o?o:e[a]={},i[a])}else e[a]=i[a];return Xa.apply(void 0,[e].concat(r))}function Ga(e){return Array.isArray(e)?e:[e]}var Ya,Ja,Ka=function(){function e(t,r){T(this,e),this._zip=t,this.options=r,this.xmlParser=new ja}return O(e,[{key:"get",value:function(e){var t,r=function(e){return e.startsWith("/")?e.substr(1):e}(e);return null!==(t=this._zip.files[r])&&void 0!==t?t:this._zip.files[r.replace(/\//g,"\\")]}},{key:"update",value:function(e,t){this._zip.file(e,t)}},{key:"save",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"blob";return this._zip.generateAsync({type:e})}},{key:"load",value:function(e){var t,r,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"string";return null!==(t=null===(r=this.get(e))||void 0===r?void 0:r.async(n))&&void 0!==t?t:Promise.resolve(null)}},{key:"loadRelationships",value:(r=P(C().mark((function e(){var t,r,n,i,a,o,s,u,l,c=arguments;return C().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=c.length>0&&void 0!==c[0]?c[0]:null,r="_rels/.rels",null!=t&&(n=Ha(t),i=y(n,2),a=i[0],o=i[1],r="".concat(a,"_rels/").concat(o,".rels")),e.next=5,this.load(r);case 5:return s=e.sent,e.abrupt("return",s?(u=this.parseXmlDocument(s).firstElementChild,(l=this.xmlParser).elements(u).map((function(e){return{id:l.attr(e,"Id"),type:l.attr(e,"Type"),target:l.attr(e,"Target"),targetMode:l.attr(e,"TargetMode")}}))):null);case 7:case"end":return e.stop()}}),e,this)}))),function(){return r.apply(this,arguments)})},{key:"parseXmlDocument",value:function(e){return function(e){var t,r,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];n&&(e=e.replace(/<[?].*[?]>/,"")),e=65279===(r=e).charCodeAt(0)?r.substring(1):r;var i=(new DOMParser).parseFromString(e,"application/xml"),a=null===(t=i.getElementsByTagName("parsererror")[0])||void 0===t?void 0:t.textContent;if(a)throw new Error(a);return i}(e,this.options.trimXmlDeclaration)}}],[{key:"load",value:(t=P(C().mark((function t(r,n){var i;return C().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Aa.loadAsync(r);case 2:return i=t.sent,t.abrupt("return",new e(i,n));case 4:case"end":return t.stop()}}),t)}))),function(e,r){return t.apply(this,arguments)})}]);var t,r}(),$a=function(e){function t(e,r,n){var i;return T(this,t),(i=b(this,t,[e,r]))._documentParser=n,i}return k(t,e),O(t,[{key:"parseXml",value:function(e){this.body=this._documentParser.parseDocumentFile(e)}}])}(za);function Qa(e,t){return{type:t.attr(e,"val"),color:t.attr(e,"color"),size:t.lengthAttr(e,"sz",Ma),offset:t.lengthAttr(e,"space",Na),frame:t.boolAttr(e,"frame"),shadow:t.boolAttr(e,"shadow")}}function eo(e,t){var r,n={},i=S(t.elements(e));try{for(i.s();!(r=i.n()).done;){var a=r.value;switch(a.localName){case"left":n.left=Qa(a,t);break;case"top":n.top=Qa(a,t);break;case"right":n.right=Qa(a,t);break;case"bottom":n.bottom=Qa(a,t)}}}catch(e){i.e(e)}finally{i.f()}return n}function to(e){var t,r,n,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Da,a={},o=S(i.elements(e));try{for(o.s();!(n=o.n()).done;){var s=n.value;switch(s.localName){case"pgSz":a.pageSize={width:i.lengthAttr(s,"w"),height:i.lengthAttr(s,"h"),orientation:i.attr(s,"orient")};break;case"type":a.type=i.attr(s,"val");break;case"pgMar":a.pageMargins={left:i.lengthAttr(s,"left"),right:i.lengthAttr(s,"right"),top:i.lengthAttr(s,"top"),bottom:i.lengthAttr(s,"bottom"),header:i.lengthAttr(s,"header"),footer:i.lengthAttr(s,"footer"),gutter:i.lengthAttr(s,"gutter")};break;case"cols":a.columns=ro(s,i);break;case"headerReference":(null!==(t=a.headerRefs)&&void 0!==t?t:a.headerRefs=[]).push(io(s,i));break;case"footerReference":(null!==(r=a.footerRefs)&&void 0!==r?r:a.footerRefs=[]).push(io(s,i));break;case"titlePg":a.titlePage=i.boolAttr(s,"val",!0);break;case"pgBorders":a.pageBorders=eo(s,i);break;case"pgNumType":a.pageNumber=no(s,i)}}}catch(e){o.e(e)}finally{o.f()}return a}function ro(e,t){return{numberOfColumns:t.intAttr(e,"num"),space:t.lengthAttr(e,"space"),separator:t.boolAttr(e,"sep"),equalWidth:t.boolAttr(e,"equalWidth",!0),columns:t.elements(e,"col").map((function(e){return{width:t.lengthAttr(e,"w"),space:t.lengthAttr(e,"space")}}))}}function no(e,t){return{chapSep:t.attr(e,"chapSep"),chapStyle:t.attr(e,"chapStyle"),format:t.attr(e,"fmt"),start:t.intAttr(e,"start")}}function io(e,t){return{id:t.attr(e,"id"),type:t.attr(e,"type")}}function ao(e,t){var r,n={},i=S(t.elements(e));try{for(i.s();!(r=i.n()).done;){oo(r.value,n,t)}}catch(e){i.e(e)}finally{i.f()}return n}function oo(e,t,r){return!!La(e,t,r)}function so(e,t){var r,n={},i=S(t.elements(e));try{for(i.s();!(r=i.n()).done;){uo(r.value,n,t)}}catch(e){i.e(e)}finally{i.f()}return n}function uo(e,t,r){if(e.namespaceURI!=Pa)return!1;if(La(e,t,r))return!0;switch(e.localName){case"tabs":t.tabs=function(e,t){return t.elements(e,"tab").map((function(e){return{position:t.lengthAttr(e,"pos"),leader:t.attr(e,"leader"),style:t.attr(e,"val")}}))}(e,r);break;case"sectPr":t.sectionProps=to(e,r);break;case"numPr":t.numbering=function(e,t){var r,n={},i=S(t.elements(e));try{for(i.s();!(r=i.n()).done;){var a=r.value;switch(a.localName){case"numId":n.id=t.attr(a,"val");break;case"ilvl":n.level=t.intAttr(a,"val")}}}catch(e){i.e(e)}finally{i.f()}return n}(e,r);break;case"spacing":return t.lineSpacing=function(e,t){return{before:t.lengthAttr(e,"before"),after:t.lengthAttr(e,"after"),line:t.intAttr(e,"line"),lineRule:t.attr(e,"lineRule")}}(e,r),!1;case"textAlignment":return t.textAlignment=r.attr(e,"val"),!1;case"keepLines":t.keepLines=r.boolAttr(e,"val",!0);break;case"keepNext":t.keepNext=r.boolAttr(e,"val",!0);break;case"pageBreakBefore":t.pageBreakBefore=r.boolAttr(e,"val",!0);break;case"outlineLvl":t.outlineLevel=r.intAttr(e,"val");break;case"pStyle":t.styleName=r.attr(e,"val");break;case"rPr":t.runProps=ao(e,r);break;default:return!1}return!0}function lo(e,t){var r,n={id:t.attr(e,"numId"),overrides:[]},i=S(t.elements(e));try{for(i.s();!(r=i.n()).done;){var a=r.value;switch(a.localName){case"abstractNumId":n.abstractId=t.attr(a,"val");break;case"lvlOverride":n.overrides.push(fo(a,t))}}}catch(e){i.e(e)}finally{i.f()}return n}function co(e,t){var r,n={id:t.attr(e,"abstractNumId"),levels:[]},i=S(t.elements(e));try{for(i.s();!(r=i.n()).done;){var a=r.value;switch(a.localName){case"name":n.name=t.attr(a,"val");break;case"multiLevelType":n.multiLevelType=t.attr(a,"val");break;case"numStyleLink":n.numberingStyleLink=t.attr(a,"val");break;case"styleLink":n.styleLink=t.attr(a,"val");break;case"lvl":n.levels.push(ho(a,t))}}}catch(e){i.e(e)}finally{i.f()}return n}function ho(e,t){var r,n={level:t.intAttr(e,"ilvl")},i=S(t.elements(e));try{for(i.s();!(r=i.n()).done;){var a=r.value;switch(a.localName){case"start":n.start=t.attr(a,"val");break;case"lvlRestart":n.restart=t.intAttr(a,"val");break;case"numFmt":n.format=t.attr(a,"val");break;case"lvlText":n.text=t.attr(a,"val");break;case"lvlJc":n.justification=t.attr(a,"val");break;case"lvlPicBulletId":n.bulletPictureId=t.attr(a,"val");break;case"pStyle":n.paragraphStyle=t.attr(a,"val");break;case"pPr":n.paragraphProps=so(a,t);break;case"rPr":n.runProps=ao(a,t)}}}catch(e){i.e(e)}finally{i.f()}return n}function fo(e,t){var r,n={level:t.intAttr(e,"ilvl")},i=S(t.elements(e));try{for(i.s();!(r=i.n()).done;){var a=r.value;switch(a.localName){case"startOverride":n.start=t.intAttr(a,"val");break;case"lvl":n.numberingLevel=ho(a,t)}}}catch(e){i.e(e)}finally{i.f()}return n}function po(e,t){var r=t.element(e,"pict"),n=r&&t.element(r,"shape"),i=n&&t.element(n,"imagedata");return i?{id:t.attr(e,"numPicBulletId"),referenceId:t.attr(i,"id"),style:t.attr(n,"style")}:null}!function(e){e.Continuous="continuous",e.NextPage="nextPage",e.NextColumn="nextColumn",e.EvenPage="evenPage",e.OddPage="oddPage"}(Ya||(Ya={}));var mo=function(e){function t(e,r,n){var i;return T(this,t),(i=b(this,t,[e,r]))._documentParser=n,i}return k(t,e),O(t,[{key:"parseXml",value:function(e){Object.assign(this,function(e,t){var r,n={numberings:[],abstractNumberings:[],bulletPictures:[]},i=S(t.elements(e));try{for(i.s();!(r=i.n()).done;){var a=r.value;switch(a.localName){case"num":n.numberings.push(lo(a,t));break;case"abstractNum":n.abstractNumberings.push(co(a,t));break;case"numPicBullet":n.bulletPictures.push(po(a,t))}}}catch(e){i.e(e)}finally{i.f()}return n}(e,this._package.xmlParser)),this.domNumberings=this._documentParser.parseNumberingFile(e)}}])}(za),vo=function(e){function t(e,r,n){var i;return T(this,t),(i=b(this,t,[e,r]))._documentParser=n,i}return k(t,e),O(t,[{key:"parseXml",value:function(e){this.styles=this._documentParser.parseStylesFile(e)}}])}(za);!function(e){e.Document="document",e.Paragraph="paragraph",e.Run="run",e.Break="break",e.NoBreakHyphen="noBreakHyphen",e.Table="table",e.Row="row",e.Cell="cell",e.Hyperlink="hyperlink",e.SmartTag="smartTag",e.Drawing="drawing",e.Image="image",e.Text="text",e.Tab="tab",e.Symbol="symbol",e.BookmarkStart="bookmarkStart",e.BookmarkEnd="bookmarkEnd",e.Footer="footer",e.Header="header",e.FootnoteReference="footnoteReference",e.EndnoteReference="endnoteReference",e.Footnote="footnote",e.Endnote="endnote",e.SimpleField="simpleField",e.ComplexField="complexField",e.Instruction="instruction",e.VmlPicture="vmlPicture",e.MmlMath="mmlMath",e.MmlMathParagraph="mmlMathParagraph",e.MmlFraction="mmlFraction",e.MmlFunction="mmlFunction",e.MmlFunctionName="mmlFunctionName",e.MmlNumerator="mmlNumerator",e.MmlDenominator="mmlDenominator",e.MmlRadical="mmlRadical",e.MmlBase="mmlBase",e.MmlDegree="mmlDegree",e.MmlSuperscript="mmlSuperscript",e.MmlSubscript="mmlSubscript",e.MmlPreSubSuper="mmlPreSubSuper",e.MmlSubArgument="mmlSubArgument",e.MmlSuperArgument="mmlSuperArgument",e.MmlNary="mmlNary",e.MmlDelimiter="mmlDelimiter",e.MmlRun="mmlRun",e.MmlEquationArray="mmlEquationArray",e.MmlLimit="mmlLimit",e.MmlLimitLower="mmlLimitLower",e.MmlMatrix="mmlMatrix",e.MmlMatrixRow="mmlMatrixRow",e.MmlBox="mmlBox",e.MmlBar="mmlBar",e.MmlGroupChar="mmlGroupChar",e.VmlElement="vmlElement",e.Inserted="inserted",e.Deleted="deleted",e.DeletedText="deletedText",e.Comment="comment",e.CommentReference="commentReference",e.CommentRangeStart="commentRangeStart",e.CommentRangeEnd="commentRangeEnd"}(Ja||(Ja={}));var go=O((function e(){T(this,e),this.children=[],this.cssStyle={}})),yo=function(e){function t(){var e;return T(this,t),(e=b(this,t,arguments)).type=Ja.Header,e}return k(t,e),O(t)}(go),bo=function(e){function t(){var e;return T(this,t),(e=b(this,t,arguments)).type=Ja.Footer,e}return k(t,e),O(t)}(go),wo=function(e){function t(e,r,n){var i;return T(this,t),(i=b(this,t,[e,r]))._documentParser=n,i}return k(t,e),O(t,[{key:"parseXml",value:function(e){this.rootElement=this.createRootElement(),this.rootElement.children=this._documentParser.parseBodyElements(e)}}])}(za),ko=function(e){function t(){return T(this,t),b(this,t,arguments)}return k(t,e),O(t,[{key:"createRootElement",value:function(){return new yo}}])}(wo),_o=function(e){function t(){return T(this,t),b(this,t,arguments)}return k(t,e),O(t,[{key:"createRootElement",value:function(){return new bo}}])}(wo);function So(e){if(void 0!==e)return parseInt(e)}var xo=function(e){function t(){return T(this,t),b(this,t,arguments)}return k(t,e),O(t,[{key:"parseXml",value:function(e){this.props=function(e,t){var r,n={},i=S(t.elements(e));try{for(i.s();!(r=i.n()).done;){var a=r.value;switch(a.localName){case"Template":n.template=a.textContent;break;case"Pages":n.pages=So(a.textContent);break;case"Words":n.words=So(a.textContent);break;case"Characters":n.characters=So(a.textContent);break;case"Application":n.application=a.textContent;break;case"Lines":n.lines=So(a.textContent);break;case"Paragraphs":n.paragraphs=So(a.textContent);break;case"Company":n.company=a.textContent;break;case"AppVersion":n.appVersion=a.textContent}}}catch(e){i.e(e)}finally{i.f()}return n}(e,this._package.xmlParser)}}])}(za),Eo=function(e){function t(){return T(this,t),b(this,t,arguments)}return k(t,e),O(t,[{key:"parseXml",value:function(e){this.props=function(e,t){var r,n={},i=S(t.elements(e));try{for(i.s();!(r=i.n()).done;){var a=r.value;switch(a.localName){case"title":n.title=a.textContent;break;case"description":n.description=a.textContent;break;case"subject":n.subject=a.textContent;break;case"creator":n.creator=a.textContent;break;case"keywords":n.keywords=a.textContent;break;case"language":n.language=a.textContent;break;case"lastModifiedBy":n.lastModifiedBy=a.textContent;break;case"revision":a.textContent&&(n.revision=parseInt(a.textContent))}}}catch(e){i.e(e)}finally{i.f()}return n}(e,this._package.xmlParser)}}])}(za),Co=O((function e(){T(this,e)}));function Ao(e,t){var r,n={name:t.attr(e,"name"),colors:{}},i=S(t.elements(e));try{for(i.s();!(r=i.n()).done;){var a=r.value,o=t.element(a,"srgbClr"),s=t.element(a,"sysClr");o?n.colors[a.localName]=t.attr(o,"val"):s&&(n.colors[a.localName]=t.attr(s,"lastClr"))}}catch(e){i.e(e)}finally{i.f()}return n}function Po(e,t){var r,n={name:t.attr(e,"name")},i=S(t.elements(e));try{for(i.s();!(r=i.n()).done;){var a=r.value;switch(a.localName){case"majorFont":n.majorFont=To(a,t);break;case"minorFont":n.minorFont=To(a,t)}}}catch(e){i.e(e)}finally{i.f()}return n}function To(e,t){return{latinTypeface:t.elementAttr(e,"latin","typeface"),eaTypeface:t.elementAttr(e,"ea","typeface"),csTypeface:t.elementAttr(e,"cs","typeface")}}var Ro=function(e){function t(e,r){return T(this,t),b(this,t,[e,r])}return k(t,e),O(t,[{key:"parseXml",value:function(e){this.theme=function(e,t){var r,n=new Co,i=t.element(e,"themeElements"),a=S(t.elements(i));try{for(a.s();!(r=a.n()).done;){var o=r.value;switch(o.localName){case"clrScheme":n.colorScheme=Ao(o,t);break;case"fontScheme":n.fontScheme=Po(o,t)}}}catch(e){a.e(e)}finally{a.f()}return n}(e,this._package.xmlParser)}}])}(za),Oo=O((function e(){T(this,e)})),Mo=function(e){function t(){var e;return T(this,t),(e=b(this,t,arguments)).type=Ja.Footnote,e}return k(t,e),O(t)}(Oo),No=function(e){function t(){var e;return T(this,t),(e=b(this,t,arguments)).type=Ja.Endnote,e}return k(t,e),O(t)}(Oo),Bo=function(e){function t(e,r,n){var i;return T(this,t),(i=b(this,t,[e,r]))._documentParser=n,i}return k(t,e),O(t)}(za),Io=function(e){function t(e,r,n){return T(this,t),b(this,t,[e,r,n])}return k(t,e),O(t,[{key:"parseXml",value:function(e){this.notes=this._documentParser.parseNotes(e,"footnote",Mo)}}])}(Bo),Lo=function(e){function t(e,r,n){return T(this,t),b(this,t,[e,r,n])}return k(t,e),O(t,[{key:"parseXml",value:function(e){this.notes=this._documentParser.parseNotes(e,"endnote",No)}}])}(Bo);function jo(e,t){var r,n={defaultNoteIds:[]},i=S(t.elements(e));try{for(i.s();!(r=i.n()).done;){var a=r.value;switch(a.localName){case"numFmt":n.nummeringFormat=t.attr(a,"val");break;case"footnote":case"endnote":n.defaultNoteIds.push(t.attr(a,"id"))}}}catch(e){i.e(e)}finally{i.f()}return n}var Do=function(e){function t(e,r){return T(this,t),b(this,t,[e,r])}return k(t,e),O(t,[{key:"parseXml",value:function(e){this.settings=function(e,t){var r,n={},i=S(t.elements(e));try{for(i.s();!(r=i.n()).done;){var a=r.value;switch(a.localName){case"defaultTabStop":n.defaultTabStop=t.lengthAttr(a,"val");break;case"footnotePr":n.footnoteProps=jo(a,t);break;case"endnotePr":n.endnoteProps=jo(a,t);break;case"autoHyphenation":n.autoHyphenation=t.boolAttr(a,"val")}}}catch(e){i.e(e)}finally{i.f()}return n}(e,this._package.xmlParser)}}])}(za),zo=function(e){function t(){return T(this,t),b(this,t,arguments)}return k(t,e),O(t,[{key:"parseXml",value:function(e){this.props=function(e,t){return t.elements(e,"property").map((function(e){var r=e.firstChild;return{formatId:t.attr(e,"fmtid"),name:t.attr(e,"name"),type:r.nodeName,value:r.textContent}}))}(e,this._package.xmlParser)}}])}(za),Fo=function(e){function t(e,r,n){var i;return T(this,t),(i=b(this,t,[e,r]))._documentParser=n,i}return k(t,e),O(t,[{key:"parseXml",value:function(e){this.comments=this._documentParser.parseComments(e),this.commentMap=Va(this.comments,(function(e){return e.id}))}}])}(za),Uo=function(e){function t(e,r){var n;return T(this,t),(n=b(this,t,[e,r])).comments=[],n}return k(t,e),O(t,[{key:"parseXml",value:function(e){var t,r=this._package.xmlParser,n=S(r.elements(e,"commentEx"));try{for(n.s();!(t=n.n()).done;){var i=t.value;this.comments.push({paraId:r.attr(i,"paraId"),paraIdParent:r.attr(i,"paraIdParent"),done:r.boolAttr(i,"done")})}}catch(e){n.e(e)}finally{n.f()}this.commentMap=Va(this.comments,(function(e){return e.paraId}))}}])}(za),Wo=[{type:Ea.OfficeDocument,target:"word/document.xml"},{type:Ea.ExtendedProperties,target:"docProps/app.xml"},{type:Ea.CoreProperties,target:"docProps/core.xml"},{type:Ea.CustomProperties,target:"docProps/custom.xml"}],Ho=function(){function e(){T(this,e),this.parts=[],this.partsMap={}}return O(e,[{key:"save",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"blob";return this._package.save(e)}},{key:"loadRelationshipPart",value:(a=P(C().mark((function e(t,r){var n,i,a,o,s,u=this;return C().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!this.partsMap[t]){e.next=2;break}return e.abrupt("return",this.partsMap[t]);case 2:if(this._package.get(t)){e.next=4;break}return e.abrupt("return",null);case 4:i=null,e.t0=r,e.next=e.t0===Ea.OfficeDocument?8:e.t0===Ea.FontTable?10:e.t0===Ea.Numbering?12:e.t0===Ea.Styles?14:e.t0===Ea.Theme?16:e.t0===Ea.Footnotes?18:e.t0===Ea.Endnotes?20:e.t0===Ea.Footer?22:e.t0===Ea.Header?24:e.t0===Ea.CoreProperties?26:e.t0===Ea.ExtendedProperties?28:e.t0===Ea.CustomProperties?30:e.t0===Ea.Settings?32:e.t0===Ea.Comments?34:e.t0===Ea.CommentsExtended?36:37;break;case 8:return this.documentPart=i=new $a(this._package,t,this._parser),e.abrupt("break",37);case 10:return this.fontTablePart=i=new Wa(this._package,t),e.abrupt("break",37);case 12:return this.numberingPart=i=new mo(this._package,t,this._parser),e.abrupt("break",37);case 14:return this.stylesPart=i=new vo(this._package,t,this._parser),e.abrupt("break",37);case 16:return this.themePart=i=new Ro(this._package,t),e.abrupt("break",37);case 18:return this.footnotesPart=i=new Io(this._package,t,this._parser),e.abrupt("break",37);case 20:return this.endnotesPart=i=new Lo(this._package,t,this._parser),e.abrupt("break",37);case 22:return i=new _o(this._package,t,this._parser),e.abrupt("break",37);case 24:return i=new ko(this._package,t,this._parser),e.abrupt("break",37);case 26:return this.corePropsPart=i=new Eo(this._package,t),e.abrupt("break",37);case 28:return this.extendedPropsPart=i=new xo(this._package,t),e.abrupt("break",37);case 30:return i=new zo(this._package,t),e.abrupt("break",37);case 32:return this.settingsPart=i=new Do(this._package,t),e.abrupt("break",37);case 34:return this.commentsPart=i=new Fo(this._package,t,this._parser),e.abrupt("break",37);case 36:this.commentsExtendedPart=i=new Uo(this._package,t);case 37:if(null!=i){e.next=39;break}return e.abrupt("return",Promise.resolve(null));case 39:return this.partsMap[t]=i,this.parts.push(i),e.next=43,i.load();case 43:if(!((null===(n=i.rels)||void 0===n?void 0:n.length)>0)){e.next=47;break}return a=Ha(i.path),o=y(a,1),s=o[0],e.next=47,Promise.all(i.rels.map((function(e){return u.loadRelationshipPart(qa(e.target,s),e.type)})));case 47:return e.abrupt("return",i);case 48:case"end":return e.stop()}}),e,this)}))),function(e,t){return a.apply(this,arguments)})},{key:"loadDocumentImage",value:(i=P(C().mark((function e(t,r){var n;return C().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.loadResource(null!=r?r:this.documentPart,t,"blob");case 2:return n=e.sent,e.abrupt("return",this.blobToURL(n));case 4:case"end":return e.stop()}}),e,this)}))),function(e,t){return i.apply(this,arguments)})},{key:"loadNumberingImage",value:(n=P(C().mark((function e(t){var r;return C().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.loadResource(this.numberingPart,t,"blob");case 2:return r=e.sent,e.abrupt("return",this.blobToURL(r));case 4:case"end":return e.stop()}}),e,this)}))),function(e){return n.apply(this,arguments)})},{key:"loadFont",value:(r=P(C().mark((function e(t,r){var n;return C().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.loadResource(this.fontTablePart,t,"uint8array");case 2:return n=e.sent,e.abrupt("return",n?this.blobToURL(new Blob([qo(n,r)])):n);case 4:case"end":return e.stop()}}),e,this)}))),function(e,t){return r.apply(this,arguments)})},{key:"blobToURL",value:function(e){return e?this._options.useBase64URL?function(e){return new Promise((function(t,r){var n=new FileReader;n.onloadend=function(){return t(n.result)},n.onerror=function(){return r()},n.readAsDataURL(e)}))}(e):URL.createObjectURL(e):null}},{key:"findPartByRelId",value:function(e){var t,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=(null!==(t=r.rels)&&void 0!==t?t:this.rels).find((function(t){return t.id==e})),i=r?Ha(r.path)[0]:"";return n?this.partsMap[qa(n.target,i)]:null}},{key:"getPathById",value:function(e,t){var r=e.rels.find((function(e){return e.id==t})),n=y(Ha(e.path),1)[0];return r?qa(r.target,n):null}},{key:"loadResource",value:function(e,t,r){var n=this.getPathById(e,t);return n?this._package.load(n,r):Promise.resolve(null)}}],[{key:"load",value:(t=P(C().mark((function t(r,n,i){var a;return C().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return(a=new e)._options=i,a._parser=n,t.next=5,Ka.load(r,i);case 5:return a._package=t.sent,t.next=8,a._package.loadRelationships();case 8:return a.rels=t.sent,t.next=11,Promise.all(Wo.map((function(e){var t,r=null!==(t=a.rels.find((function(t){return t.type===e.type})))&&void 0!==t?t:e;return a.loadRelationshipPart(r.target,r.type)})));case 11:return t.abrupt("return",a);case 12:case"end":return t.stop()}}),t)}))),function(e,r,n){return t.apply(this,arguments)})}]);var t,r,n,i,a}();function qo(e,t){for(var r=t.replace(/{|}|-/g,""),n=new Array(16),i=0;i<16;i++)n[16-i-1]=parseInt(r.substr(2*i,2),16);for(var a=0;a<32;a++)e[a]=e[a]^n[a%16];return e}function Vo(e,t){return{type:Ja.BookmarkEnd,id:t.attr(e,"id")}}var Zo=function(e){function t(){var e;return T(this,t),(e=b(this,t,arguments)).type=Ja.VmlElement,e.attrs={},e}return k(t,e),O(t)}(go);function Xo(e,t){var r,n=new Zo;switch(e.localName){case"rect":n.tagName="rect",Object.assign(n.attrs,{width:"100%",height:"100%"});break;case"oval":n.tagName="ellipse",Object.assign(n.attrs,{cx:"50%",cy:"50%",rx:"50%",ry:"50%"});break;case"line":n.tagName="line";break;case"shape":n.tagName="g";break;case"textbox":n.tagName="foreignObject",Object.assign(n.attrs,{width:"100%",height:"100%"});break;default:return null}var i,a=S(Da.attrs(e));try{for(a.s();!(i=a.n()).done;){var o=i.value;switch(o.localName){case"style":n.cssStyleText=o.value;break;case"fillcolor":n.attrs.fill=o.value;break;case"from":var s=y(Yo(o.value),2),u=s[0],l=s[1];Object.assign(n.attrs,{x1:u,y1:l});break;case"to":var c=y(Yo(o.value),2),h=c[0],f=c[1];Object.assign(n.attrs,{x2:h,y2:f})}}}catch(e){a.e(e)}finally{a.f()}var d,p=S(Da.elements(e));try{for(p.s();!(d=p.n()).done;){var m=d.value;switch(m.localName){case"stroke":Object.assign(n.attrs,Go(m));break;case"fill":Object.assign(n.attrs,{});break;case"imagedata":n.tagName="image",Object.assign(n.attrs,{width:"100%",height:"100%"}),n.imageHref={id:Da.attr(m,"id"),title:Da.attr(m,"title")};break;case"txbxContent":(r=n.children).push.apply(r,g(t.parseBodyElements(m)));break;default:var v=Xo(m,t);v&&n.children.push(v)}}}catch(e){p.e(e)}finally{p.f()}return n}function Go(e){var t;return{stroke:Da.attr(e,"color"),"stroke-width":null!==(t=Da.lengthAttr(e,"weight",Ra))&&void 0!==t?t:"1px"}}function Yo(e){return e.split(",")}var Jo=function(e){function t(){var e;return T(this,t),(e=b(this,t,arguments)).type=Ja.Comment,e}return k(t,e),O(t)}(go),Ko=function(e){function t(e){var r;return T(this,t),(r=b(this,t)).id=e,r.type=Ja.CommentReference,r}return k(t,e),O(t)}(go),$o=function(e){function t(e){var r;return T(this,t),(r=b(this,t)).id=e,r.type=Ja.CommentRangeStart,r}return k(t,e),O(t)}(go),Qo=function(e){function t(e){var r;return T(this,t),(r=b(this,t)).id=e,r.type=Ja.CommentRangeEnd,r}return k(t,e),O(t)}(go),es="inherit",ts="transparent",rs=[],ns={oMath:Ja.MmlMath,oMathPara:Ja.MmlMathParagraph,f:Ja.MmlFraction,func:Ja.MmlFunction,fName:Ja.MmlFunctionName,num:Ja.MmlNumerator,den:Ja.MmlDenominator,rad:Ja.MmlRadical,deg:Ja.MmlDegree,e:Ja.MmlBase,sSup:Ja.MmlSuperscript,sSub:Ja.MmlSubscript,sPre:Ja.MmlPreSubSuper,sup:Ja.MmlSuperArgument,sub:Ja.MmlSubArgument,d:Ja.MmlDelimiter,nary:Ja.MmlNary,eqArr:Ja.MmlEquationArray,lim:Ja.MmlLimit,limLow:Ja.MmlLimitLower,m:Ja.MmlMatrix,mr:Ja.MmlMatrixRow,box:Ja.MmlBox,bar:Ja.MmlBar,groupChr:Ja.MmlGroupChar},is=function(){return O((function e(t){T(this,e),this.options=m({ignoreWidth:!1,debug:!1},t)}),[{key:"parseNotes",value:function(e,t,r){var n,i=[],a=S(Da.elements(e,t));try{for(a.s();!(n=a.n()).done;){var o=n.value,s=new r;s.id=Da.attr(o,"id"),s.noteType=Da.attr(o,"type"),s.children=this.parseBodyElements(o),i.push(s)}}catch(e){a.e(e)}finally{a.f()}return i}},{key:"parseComments",value:function(e){var t,r=[],n=S(Da.elements(e,"comment"));try{for(n.s();!(t=n.n()).done;){var i=t.value,a=new Jo;a.id=Da.attr(i,"id"),a.author=Da.attr(i,"author"),a.initials=Da.attr(i,"initials"),a.date=Da.attr(i,"date"),a.children=this.parseBodyElements(i),r.push(a)}}catch(e){n.e(e)}finally{n.f()}return r}},{key:"parseDocumentFile",value:function(e){var t=Da.element(e,"body"),r=Da.element(e,"background"),n=Da.element(t,"sectPr");return{type:Ja.Document,children:this.parseBodyElements(t),props:n?to(n,Da):{},cssStyle:r?this.parseBackground(r):{}}}},{key:"parseBackground",value:function(e){var t={},r=os.colorAttr(e,"color");return r&&(t["background-color"]=r),t}},{key:"parseBodyElements",value:function(e){var t,r=this,n=[],i=S(Da.elements(e));try{for(i.s();!(t=i.n()).done;){var a=t.value;switch(a.localName){case"p":n.push(this.parseParagraph(a));break;case"tbl":n.push(this.parseTable(a));break;case"sdt":n.push.apply(n,g(this.parseSdt(a,(function(e){return r.parseBodyElements(e)}))))}}}catch(e){i.e(e)}finally{i.f()}return n}},{key:"parseStylesFile",value:function(e){var t=this,r=[];return os.foreach(e,(function(e){switch(e.localName){case"style":r.push(t.parseStyle(e));break;case"docDefaults":r.push(t.parseDefaultStyles(e))}})),r}},{key:"parseDefaultStyles",value:function(e){var t=this,r={id:null,name:null,target:null,basedOn:null,styles:[]};return os.foreach(e,(function(e){switch(e.localName){case"rPrDefault":var n=Da.element(e,"rPr");n&&r.styles.push({target:"span",values:t.parseDefaultProperties(n,{})});break;case"pPrDefault":var i=Da.element(e,"pPr");i&&r.styles.push({target:"p",values:t.parseDefaultProperties(i,{})})}})),r}},{key:"parseStyle",value:function(e){var t=this,r={id:Da.attr(e,"styleId"),isDefault:Da.boolAttr(e,"default"),name:null,target:null,basedOn:null,styles:[],linked:null};switch(Da.attr(e,"type")){case"paragraph":r.target="p";break;case"table":r.target="table";break;case"character":r.target="span"}return os.foreach(e,(function(e){switch(e.localName){case"basedOn":r.basedOn=Da.attr(e,"val");break;case"name":r.name=Da.attr(e,"val");break;case"link":r.linked=Da.attr(e,"val");break;case"next":r.next=Da.attr(e,"val");break;case"aliases":r.aliases=Da.attr(e,"val").split(",");break;case"pPr":r.styles.push({target:"p",values:t.parseDefaultProperties(e,{})}),r.paragraphProps=so(e,Da);break;case"rPr":r.styles.push({target:"span",values:t.parseDefaultProperties(e,{})}),r.runProps=ao(e,Da);break;case"tblPr":case"tcPr":r.styles.push({target:"td",values:t.parseDefaultProperties(e,{})});break;case"tblStylePr":var n,i=S(t.parseTableStyle(e));try{for(i.s();!(n=i.n()).done;){var a=n.value;r.styles.push(a)}}catch(e){i.e(e)}finally{i.f()}break;case"rsid":case"qFormat":case"hidden":case"semiHidden":case"unhideWhenUsed":case"autoRedefine":case"uiPriority":break;default:t.options.debug&&console.warn("DOCX: Unknown style element: ".concat(e.localName))}})),r}},{key:"parseTableStyle",value:function(e){var t=this,r=[],n=Da.attr(e,"type"),i="",a="";switch(n){case"firstRow":a=".first-row",i="tr.first-row td";break;case"lastRow":a=".last-row",i="tr.last-row td";break;case"firstCol":a=".first-col",i="td.first-col";break;case"lastCol":a=".last-col",i="td.last-col";break;case"band1Vert":a=":not(.no-vband)",i="td.odd-col";break;case"band2Vert":a=":not(.no-vband)",i="td.even-col";break;case"band1Horz":a=":not(.no-hband)",i="tr.odd-row";break;case"band2Horz":a=":not(.no-hband)",i="tr.even-row";break;default:return[]}return os.foreach(e,(function(e){switch(e.localName){case"pPr":r.push({target:"".concat(i," p"),mod:a,values:t.parseDefaultProperties(e,{})});break;case"rPr":r.push({target:"".concat(i," span"),mod:a,values:t.parseDefaultProperties(e,{})});break;case"tblPr":case"tcPr":r.push({target:i,mod:a,values:t.parseDefaultProperties(e,{})})}})),r}},{key:"parseNumberingFile",value:function(e){var t=this,r=[],n={},i=[];return os.foreach(e,(function(e){switch(e.localName){case"abstractNum":t.parseAbstractNumbering(e,i).forEach((function(e){return r.push(e)}));break;case"numPicBullet":i.push(t.parseNumberingPicBullet(e));break;case"num":var a=Da.attr(e,"numId"),o=Da.elementAttr(e,"abstractNumId","val");n[o]=a}})),r.forEach((function(e){return e.id=n[e.id]})),r}},{key:"parseNumberingPicBullet",value:function(e){var t=Da.element(e,"pict"),r=t&&Da.element(t,"shape"),n=r&&Da.element(r,"imagedata");return n?{id:Da.intAttr(e,"numPicBulletId"),src:Da.attr(n,"id"),style:Da.attr(r,"style")}:null}},{key:"parseAbstractNumbering",value:function(e,t){var r=this,n=[],i=Da.attr(e,"abstractNumId");return os.foreach(e,(function(e){"lvl"===e.localName&&n.push(r.parseNumberingLevel(i,e,t))})),n}},{key:"parseNumberingLevel",value:function(e,t,r){var n=this,i={id:e,level:Da.intAttr(t,"ilvl"),start:1,pStyleName:void 0,pStyle:{},rStyle:{},suff:"tab"};return os.foreach(t,(function(e){switch(e.localName){case"start":i.start=Da.intAttr(e,"val");break;case"pPr":n.parseDefaultProperties(e,i.pStyle);break;case"rPr":n.parseDefaultProperties(e,i.rStyle);break;case"lvlPicBulletId":var t=Da.intAttr(e,"val");i.bullet=r.find((function(e){return(null==e?void 0:e.id)==t}));break;case"lvlText":i.levelText=Da.attr(e,"val");break;case"pStyle":i.pStyleName=Da.attr(e,"val");break;case"numFmt":i.format=Da.attr(e,"val");break;case"suff":i.suff=Da.attr(e,"val")}})),i}},{key:"parseSdt",value:function(e,t){var r=Da.element(e,"sdtContent");return r?t(r):[]}},{key:"parseInserted",value:function(e,t){var r,n;return{type:Ja.Inserted,children:null!==(r=null===(n=t(e))||void 0===n?void 0:n.children)&&void 0!==r?r:[]}}},{key:"parseDeleted",value:function(e,t){var r,n;return{type:Ja.Deleted,children:null!==(r=null===(n=t(e))||void 0===n?void 0:n.children)&&void 0!==r?r:[]}}},{key:"parseParagraph",value:function(e){var t,r,n,i,a=this,o={type:Ja.Paragraph,children:[]},s=S(Da.elements(e));try{for(s.s();!(i=s.n()).done;){var u=i.value;switch(u.localName){case"pPr":this.parseParagraphProperties(u,o);break;case"r":o.children.push(this.parseRun(u,o));break;case"hyperlink":o.children.push(this.parseHyperlink(u,o));break;case"smartTag":o.children.push(this.parseSmartTag(u,o));break;case"bookmarkStart":o.children.push((r=u,n=Da,{type:Ja.BookmarkStart,id:n.attr(r,"id"),name:n.attr(r,"name"),colFirst:n.intAttr(r,"colFirst"),colLast:n.intAttr(r,"colLast")}));break;case"bookmarkEnd":o.children.push(Vo(u,Da));break;case"commentRangeStart":o.children.push(new $o(Da.attr(u,"id")));break;case"commentRangeEnd":o.children.push(new Qo(Da.attr(u,"id")));break;case"oMath":case"oMathPara":o.children.push(this.parseMathElement(u));break;case"sdt":(t=o.children).push.apply(t,g(this.parseSdt(u,(function(e){return a.parseParagraph(e).children}))));break;case"ins":o.children.push(this.parseInserted(u,(function(e){return a.parseParagraph(e)})));break;case"del":o.children.push(this.parseDeleted(u,(function(e){return a.parseParagraph(e)})))}}}catch(e){s.e(e)}finally{s.f()}return o}},{key:"parseParagraphProperties",value:function(e,t){var r=this;this.parseDefaultProperties(e,t.cssStyle={},null,(function(e){if(uo(e,t,Da))return!0;switch(e.localName){case"pStyle":t.styleName=Da.attr(e,"val");break;case"cnfStyle":t.className=ss.classNameOfCnfStyle(e);break;case"framePr":r.parseFrame(e,t);break;case"rPr":break;default:return!1}return!0}))}},{key:"parseFrame",value:function(e,t){"drop"==Da.attr(e,"dropCap")&&(t.cssStyle.float="left")}},{key:"parseHyperlink",value:function(e,t){var r=this,n={type:Ja.Hyperlink,parent:t,children:[]},i=Da.attr(e,"anchor"),a=Da.attr(e,"id");return i&&(n.href="#"+i),a&&(n.id=a),os.foreach(e,(function(e){"r"===e.localName&&n.children.push(r.parseRun(e,n))})),n}},{key:"parseSmartTag",value:function(e,t){var r=this,n={type:Ja.SmartTag,parent:t,children:[]},i=Da.attr(e,"uri"),a=Da.attr(e,"element");return i&&(n.uri=i),a&&(n.element=a),os.foreach(e,(function(e){"r"===e.localName&&n.children.push(r.parseRun(e,n))})),n}},{key:"parseRun",value:function(e,t){var r=this,n={type:Ja.Run,parent:t,children:[]};return os.foreach(e,(function(e){switch((e=r.checkAlternateContent(e)).localName){case"t":n.children.push({type:Ja.Text,text:e.textContent});break;case"delText":n.children.push({type:Ja.DeletedText,text:e.textContent});break;case"commentReference":n.children.push(new Ko(Da.attr(e,"id")));break;case"fldSimple":n.children.push({type:Ja.SimpleField,instruction:Da.attr(e,"instr"),lock:Da.boolAttr(e,"lock",!1),dirty:Da.boolAttr(e,"dirty",!1)});break;case"instrText":n.fieldRun=!0,n.children.push({type:Ja.Instruction,text:e.textContent});break;case"fldChar":n.fieldRun=!0,n.children.push({type:Ja.ComplexField,charType:Da.attr(e,"fldCharType"),lock:Da.boolAttr(e,"lock",!1),dirty:Da.boolAttr(e,"dirty",!1)});break;case"noBreakHyphen":n.children.push({type:Ja.NoBreakHyphen});break;case"br":n.children.push({type:Ja.Break,break:Da.attr(e,"type")||"textWrapping"});break;case"lastRenderedPageBreak":n.children.push({type:Ja.Break,break:"lastRenderedPageBreak"});break;case"sym":n.children.push({type:Ja.Symbol,font:Da.attr(e,"font"),char:Da.attr(e,"char")});break;case"tab":n.children.push({type:Ja.Tab});break;case"footnoteReference":n.children.push({type:Ja.FootnoteReference,id:Da.attr(e,"id")});break;case"endnoteReference":n.children.push({type:Ja.EndnoteReference,id:Da.attr(e,"id")});break;case"drawing":var t=r.parseDrawing(e);t&&(n.children=[t]);break;case"pict":n.children.push(r.parseVmlPicture(e));break;case"rPr":r.parseRunProperties(e,n)}})),n}},{key:"parseMathElement",value:function(e){var t,r="".concat(e.localName,"Pr"),n={type:ns[e.localName],children:[]},i=S(Da.elements(e));try{for(i.s();!(t=i.n()).done;){var a=t.value;if(ns[a.localName])n.children.push(this.parseMathElement(a));else if("r"==a.localName){var o=this.parseRun(a);o.type=Ja.MmlRun,n.children.push(o)}else a.localName==r&&(n.props=this.parseMathProperies(a))}}catch(e){i.e(e)}finally{i.f()}return n}},{key:"parseMathProperies",value:function(e){var t,r={},n=S(Da.elements(e));try{for(n.s();!(t=n.n()).done;){var i=t.value;switch(i.localName){case"chr":r.char=Da.attr(i,"val");break;case"vertJc":r.verticalJustification=Da.attr(i,"val");break;case"pos":r.position=Da.attr(i,"val");break;case"degHide":r.hideDegree=Da.boolAttr(i,"val");break;case"begChr":r.beginChar=Da.attr(i,"val");break;case"endChr":r.endChar=Da.attr(i,"val")}}}catch(e){n.e(e)}finally{n.f()}return r}},{key:"parseRunProperties",value:function(e,t){this.parseDefaultProperties(e,t.cssStyle={},null,(function(e){switch(e.localName){case"rStyle":t.styleName=Da.attr(e,"val");break;case"vertAlign":t.verticalAlign=ss.valueOfVertAlign(e,!0);break;default:return!1}return!0}))}},{key:"parseVmlPicture",value:function(e){var t,r={type:Ja.VmlPicture,children:[]},n=S(Da.elements(e));try{for(n.s();!(t=n.n()).done;){var i=Xo(t.value,this);i&&r.children.push(i)}}catch(e){n.e(e)}finally{n.f()}return r}},{key:"checkAlternateContent",value:function(e){var t;if("AlternateContent"!=e.localName)return e;var r=Da.element(e,"Choice");if(r){var n=Da.attr(r,"Requires"),i=e.lookupNamespaceURI(n);if(rs.includes(i))return r.firstElementChild}return null===(t=Da.element(e,"Fallback"))||void 0===t?void 0:t.firstElementChild}},{key:"parseDrawing",value:function(e){var t,r=S(Da.elements(e));try{for(r.s();!(t=r.n()).done;){var n=t.value;switch(n.localName){case"inline":case"anchor":return this.parseDrawingWrapper(n)}}}catch(e){r.e(e)}finally{r.f()}}},{key:"parseDrawingWrapper",value:function(e){var t={type:Ja.Drawing,children:[],cssStyle:{}},r="anchor"==e.localName,n=null,i=Da.boolAttr(e,"simplePos");Da.boolAttr(e,"behindDoc");var a,o={relative:"page",align:"left",offset:"0"},s={relative:"page",align:"top",offset:"0"},u=S(Da.elements(e));try{for(u.s();!(a=u.n()).done;){var l=a.value;switch(l.localName){case"simplePos":i&&(o.offset=Da.lengthAttr(l,"x",Ra),s.offset=Da.lengthAttr(l,"y",Ra));break;case"extent":t.cssStyle.width=Da.lengthAttr(l,"cx",Ra),t.cssStyle.height=Da.lengthAttr(l,"cy",Ra);break;case"positionH":case"positionV":if(!i){var c,h="positionH"==l.localName?o:s,f=Da.element(l,"align"),d=Da.element(l,"posOffset");h.relative=null!==(c=Da.attr(l,"relativeFrom"))&&void 0!==c?c:h.relative,f&&(h.align=f.textContent),d&&(h.offset=os.sizeValue(d,Ra))}break;case"wrapTopAndBottom":n="wrapTopAndBottom";break;case"wrapNone":n="wrapNone";break;case"graphic":var p=this.parseGraphic(l);p&&t.children.push(p)}}}catch(e){u.e(e)}finally{u.f()}return"wrapTopAndBottom"==n?(t.cssStyle.display="block",o.align&&(t.cssStyle["text-align"]=o.align,t.cssStyle.width="100%")):"wrapNone"==n?(t.cssStyle.display="block",t.cssStyle.position="relative",t.cssStyle.width="0px",t.cssStyle.height="0px",o.offset&&(t.cssStyle.left=o.offset),s.offset&&(t.cssStyle.top=s.offset)):!r||"left"!=o.align&&"right"!=o.align||(t.cssStyle.float=o.align),t}},{key:"parseGraphic",value:function(e){var t,r=Da.element(e,"graphicData"),n=S(Da.elements(r));try{for(n.s();!(t=n.n()).done;){var i=t.value;if("pic"===i.localName)return this.parsePicture(i)}}catch(e){n.e(e)}finally{n.f()}return null}},{key:"parsePicture",value:function(e){var t={type:Ja.Image,src:"",cssStyle:{}},r=Da.element(e,"blipFill"),n=Da.element(r,"blip");t.src=Da.attr(n,"embed");var i,a=Da.element(e,"spPr"),o=Da.element(a,"xfrm"),s=S((t.cssStyle.position="relative",Da.elements(o)));try{for(s.s();!(i=s.n()).done;){var u=i.value;switch(u.localName){case"ext":t.cssStyle.width=Da.lengthAttr(u,"cx",Ra),t.cssStyle.height=Da.lengthAttr(u,"cy",Ra);break;case"off":t.cssStyle.left=Da.lengthAttr(u,"x",Ra),t.cssStyle.top=Da.lengthAttr(u,"y",Ra)}}}catch(e){s.e(e)}finally{s.f()}return t}},{key:"parseTable",value:function(e){var t=this,r={type:Ja.Table,children:[]};return os.foreach(e,(function(e){switch(e.localName){case"tr":r.children.push(t.parseTableRow(e));break;case"tblGrid":r.columns=t.parseTableColumns(e);break;case"tblPr":t.parseTableProperties(e,r)}})),r}},{key:"parseTableColumns",value:function(e){var t=[];return os.foreach(e,(function(e){"gridCol"===e.localName&&t.push({width:Da.lengthAttr(e,"w")})})),t}},{key:"parseTableProperties",value:function(e,t){var r=this;switch(t.cssStyle={},t.cellStyle={},this.parseDefaultProperties(e,t.cssStyle,t.cellStyle,(function(e){switch(e.localName){case"tblStyle":t.styleName=Da.attr(e,"val");break;case"tblLook":t.className=ss.classNameOftblLook(e);break;case"tblpPr":r.parseTablePosition(e,t);break;case"tblStyleColBandSize":t.colBandSize=Da.intAttr(e,"val");break;case"tblStyleRowBandSize":t.rowBandSize=Da.intAttr(e,"val");break;default:return!1}return!0})),t.cssStyle["text-align"]){case"center":delete t.cssStyle["text-align"],t.cssStyle["margin-left"]="auto",t.cssStyle["margin-right"]="auto";break;case"right":delete t.cssStyle["text-align"],t.cssStyle["margin-left"]="auto"}}},{key:"parseTablePosition",value:function(e,t){var r=Da.lengthAttr(e,"topFromText"),n=Da.lengthAttr(e,"bottomFromText"),i=Da.lengthAttr(e,"rightFromText"),a=Da.lengthAttr(e,"leftFromText");t.cssStyle.float="left",t.cssStyle["margin-bottom"]=ss.addSize(t.cssStyle["margin-bottom"],n),t.cssStyle["margin-left"]=ss.addSize(t.cssStyle["margin-left"],a),t.cssStyle["margin-right"]=ss.addSize(t.cssStyle["margin-right"],i),t.cssStyle["margin-top"]=ss.addSize(t.cssStyle["margin-top"],r)}},{key:"parseTableRow",value:function(e){var t=this,r={type:Ja.Row,children:[]};return os.foreach(e,(function(e){switch(e.localName){case"tc":r.children.push(t.parseTableCell(e));break;case"trPr":t.parseTableRowProperties(e,r)}})),r}},{key:"parseTableRowProperties",value:function(e,t){t.cssStyle=this.parseDefaultProperties(e,{},null,(function(e){switch(e.localName){case"cnfStyle":t.className=ss.classNameOfCnfStyle(e);break;case"tblHeader":t.isHeader=Da.boolAttr(e,"val");break;default:return!1}return!0}))}},{key:"parseTableCell",value:function(e){var t=this,r={type:Ja.Cell,children:[]};return os.foreach(e,(function(e){switch(e.localName){case"tbl":r.children.push(t.parseTable(e));break;case"p":r.children.push(t.parseParagraph(e));break;case"tcPr":t.parseTableCellProperties(e,r)}})),r}},{key:"parseTableCellProperties",value:function(e,t){t.cssStyle=this.parseDefaultProperties(e,{},null,(function(e){var r;switch(e.localName){case"gridSpan":t.span=Da.intAttr(e,"val",null);break;case"vMerge":t.verticalMerge=null!==(r=Da.attr(e,"val"))&&void 0!==r?r:"continue";break;case"cnfStyle":t.className=ss.classNameOfCnfStyle(e);break;default:return!1}return!0}))}},{key:"parseDefaultProperties",value:function(e){var t=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;return r=r||{},os.foreach(e,(function(a){if(null==i||!i(a))switch(a.localName){case"jc":r["text-align"]=ss.valueOfJc(a);break;case"textAlignment":r["vertical-align"]=ss.valueOfTextAlignment(a);break;case"color":r.color=os.colorAttr(a,"val",null,"black");break;case"sz":r["font-size"]=r["min-height"]=Da.lengthAttr(a,"val",Oa);break;case"shd":r["background-color"]=os.colorAttr(a,"fill",null,es);break;case"highlight":r["background-color"]=os.colorAttr(a,"val",null,ts);break;case"vertAlign":break;case"position":r.verticalAlign=Da.lengthAttr(a,"val",Oa);break;case"tcW":if(t.options.ignoreWidth)break;case"tblW":r.width=ss.valueOfSize(a,"w");break;case"trHeight":t.parseTrHeight(a,r);break;case"strike":r["text-decoration"]=Da.boolAttr(a,"val",!0)?"line-through":"none";break;case"b":r["font-weight"]=Da.boolAttr(a,"val",!0)?"bold":"normal";break;case"i":r["font-style"]=Da.boolAttr(a,"val",!0)?"italic":"normal";break;case"caps":r["text-transform"]=Da.boolAttr(a,"val",!0)?"uppercase":"none";break;case"smallCaps":r["font-variant"]=Da.boolAttr(a,"val",!0)?"small-caps":"none";break;case"u":t.parseUnderline(a,r);break;case"ind":case"tblInd":t.parseIndentation(a,r);break;case"rFonts":t.parseFont(a,r);break;case"tblBorders":t.parseBorderProperties(a,n||r);break;case"tblCellSpacing":r["border-spacing"]=ss.valueOfMargin(a),r["border-collapse"]="separate";break;case"pBdr":t.parseBorderProperties(a,r);break;case"bdr":r.border=ss.valueOfBorder(a);break;case"tcBorders":t.parseBorderProperties(a,r);break;case"vanish":Da.boolAttr(a,"val",!0)&&(r.display="none");break;case"kern":case"noWrap":break;case"tblCellMar":case"tcMar":t.parseMarginProperties(a,n||r);break;case"tblLayout":r["table-layout"]=ss.valueOfTblLayout(a);break;case"vAlign":r["vertical-align"]=ss.valueOfTextAlignment(a);break;case"spacing":"pPr"==e.localName&&t.parseSpacing(a,r);break;case"wordWrap":Da.boolAttr(a,"val")&&(r["overflow-wrap"]="break-word");break;case"suppressAutoHyphens":r.hyphens=Da.boolAttr(a,"val",!0)?"none":"auto";break;case"lang":r.$lang=Da.attr(a,"val");break;case"bCs":case"iCs":case"szCs":case"tabs":case"outlineLvl":case"contextualSpacing":case"tblStyleColBandSize":case"tblStyleRowBandSize":case"webHidden":case"pageBreakBefore":case"suppressLineNumbers":case"keepLines":case"keepNext":case"widowControl":case"bidi":case"rtl":case"noProof":break;default:t.options.debug&&console.warn("DOCX: Unknown document element: ".concat(e.localName,".").concat(a.localName))}})),r}},{key:"parseUnderline",value:function(e,t){var r=Da.attr(e,"val");if(null!=r){switch(r){case"dash":case"dashDotDotHeavy":case"dashDotHeavy":case"dashedHeavy":case"dashLong":case"dashLongHeavy":case"dotDash":case"dotDotDash":t["text-decoration"]="underline dashed";break;case"dotted":case"dottedHeavy":t["text-decoration"]="underline dotted";break;case"double":t["text-decoration"]="underline double";break;case"single":case"thick":case"words":t["text-decoration"]="underline";break;case"wave":case"wavyDouble":case"wavyHeavy":t["text-decoration"]="underline wavy";break;case"none":t["text-decoration"]="none"}var n=os.colorAttr(e,"color");n&&(t["text-decoration-color"]=n)}}},{key:"parseFont",value:function(e,t){var r=[Da.attr(e,"ascii"),ss.themeValue(e,"asciiTheme")].filter((function(e){return e})).join(", ");r.length>0&&(t["font-family"]=r)}},{key:"parseIndentation",value:function(e,t){var r=Da.lengthAttr(e,"firstLine"),n=Da.lengthAttr(e,"hanging"),i=Da.lengthAttr(e,"left"),a=Da.lengthAttr(e,"start"),o=Da.lengthAttr(e,"right"),s=Da.lengthAttr(e,"end");r&&(t["text-indent"]=r),n&&(t["text-indent"]="-".concat(n)),(i||a)&&(t["margin-left"]=i||a),(o||s)&&(t["margin-right"]=o||s)}},{key:"parseSpacing",value:function(e,t){var r=Da.lengthAttr(e,"before"),n=Da.lengthAttr(e,"after"),i=Da.intAttr(e,"line",null),a=Da.attr(e,"lineRule");if(r&&(t["margin-top"]=r),n&&(t["margin-bottom"]=n),null!==i)switch(a){case"auto":t["line-height"]="".concat((i/240).toFixed(2));break;case"atLeast":t["line-height"]="calc(100% + ".concat(i/20,"pt)");break;default:t["line-height"]=t["min-height"]=i/20+"pt"}}},{key:"parseMarginProperties",value:function(e,t){os.foreach(e,(function(e){switch(e.localName){case"left":t["padding-left"]=ss.valueOfMargin(e);break;case"right":t["padding-right"]=ss.valueOfMargin(e);break;case"top":t["padding-top"]=ss.valueOfMargin(e);break;case"bottom":t["padding-bottom"]=ss.valueOfMargin(e)}}))}},{key:"parseTrHeight",value:function(e,t){Da.attr(e,"hRule"),t.height=Da.lengthAttr(e,"val")}},{key:"parseBorderProperties",value:function(e,t){os.foreach(e,(function(e){switch(e.localName){case"start":case"left":t["border-left"]=ss.valueOfBorder(e);break;case"end":case"right":t["border-right"]=ss.valueOfBorder(e);break;case"top":t["border-top"]=ss.valueOfBorder(e);break;case"bottom":t["border-bottom"]=ss.valueOfBorder(e)}}))}}])}(),as=["black","blue","cyan","darkBlue","darkCyan","darkGray","darkGreen","darkMagenta","darkRed","darkYellow","green","lightGray","magenta","none","red","white","yellow"],os=function(){return O((function e(){T(this,e)}),null,[{key:"foreach",value:function(e,t){for(var r=0;r<e.childNodes.length;r++){var n=e.childNodes[r];n.nodeType==Node.ELEMENT_NODE&&t(n)}}},{key:"colorAttr",value:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"black",i=Da.attr(e,t);if(i)return"auto"==i?n:as.includes(i)?i:"#".concat(i);var a=Da.attr(e,"themeColor");return a?"var(--docx-".concat(a,"-color)"):r}},{key:"sizeValue",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Ta;return Ia(e.textContent,t)}}])}(),ss=function(){return O((function e(){T(this,e)}),null,[{key:"themeValue",value:function(e,t){var r=Da.attr(e,t);return r?"var(--docx-".concat(r,"-font)"):null}},{key:"valueOfSize",value:function(e,t){var r=Ta;switch(Da.attr(e,"type")){case"dxa":break;case"pct":r=Ba;break;case"auto":return"auto"}return Da.lengthAttr(e,t,r)}},{key:"valueOfMargin",value:function(e){return Da.lengthAttr(e,"w")}},{key:"valueOfBorder",value:function(e){if("nil"==Da.attr(e,"val"))return"none";var t=os.colorAttr(e,"color");return"".concat(Da.lengthAttr(e,"sz",Ma)," solid ").concat("auto"==t?"black":t)}},{key:"valueOfTblLayout",value:function(e){return"fixed"==Da.attr(e,"val")?"fixed":"auto"}},{key:"classNameOfCnfStyle",value:function(e){var t=Da.attr(e,"val");return["first-row","last-row","first-col","last-col","odd-col","even-col","odd-row","even-row","ne-cell","nw-cell","se-cell","sw-cell"].filter((function(e,r){return"1"==t[r]})).join(" ")}},{key:"valueOfJc",value:function(e){var t=Da.attr(e,"val");switch(t){case"start":case"left":return"left";case"center":return"center";case"end":case"right":return"right";case"both":return"justify"}return t}},{key:"valueOfVertAlign",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=Da.attr(e,"val");switch(r){case"subscript":return"sub";case"superscript":return t?"sup":"super"}return t?null:r}},{key:"valueOfTextAlignment",value:function(e){var t=Da.attr(e,"val");switch(t){case"auto":case"baseline":return"baseline";case"top":return"top";case"center":return"middle";case"bottom":return"bottom"}return t}},{key:"addSize",value:function(e,t){return null==e?t:null==t?e:"calc(".concat(e," + ").concat(t,")")}},{key:"classNameOftblLook",value:function(e){var t=Da.hexAttr(e,"val",0),r="";return(Da.boolAttr(e,"firstRow")||32&t)&&(r+=" first-row"),(Da.boolAttr(e,"lastRow")||64&t)&&(r+=" last-row"),(Da.boolAttr(e,"firstColumn")||128&t)&&(r+=" first-col"),(Da.boolAttr(e,"lastColumn")||256&t)&&(r+=" last-col"),(Da.boolAttr(e,"noHBand")||512&t)&&(r+=" no-hband"),(Da.boolAttr(e,"noVBand")||1024&t)&&(r+=" no-vband"),r.trim()}}])}(),us={pos:0,leader:"none",style:"left"};function ls(e,t,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:.75,i=e.closest("p"),a=e.getBoundingClientRect(),o=i.getBoundingClientRect(),s=getComputedStyle(i),u=(null==t?void 0:t.length)>0?t.map((function(e){return{pos:cs(e.position),leader:e.leader,style:e.style}})).sort((function(e,t){return e.pos-t.pos})):[us],l=u[u.length-1],c=o.width*n,h=cs(r),f=l.pos+h;if(f<c)for(;f<c&&u.length<50;f+=h)u.push(m(m({},us),{},{pos:f}));var d=parseFloat(s.marginLeft),p=o.left+d,v=(a.left-p)*n,g=u.find((function(e){return"clear"!=e.style&&e.pos>v}));if(null!=g){var y=1;if("right"==g.style||"center"==g.style){var b=Array.from(i.querySelectorAll(".".concat(e.className))),w=b.indexOf(e)+1,k=document.createRange();k.setStart(e,1),w<b.length?k.setEndBefore(b[w]):k.setEndAfter(i);var _="center"==g.style?.5:1,S=k.getBoundingClientRect(),x=S.left+_*S.width-(o.left-d);y=g.pos-x*n}else y=g.pos-v;switch(e.innerHTML="&nbsp;",e.style.textDecoration="inherit",e.style.wordSpacing="".concat(y.toFixed(0),"pt"),g.leader){case"dot":case"middleDot":e.style.textDecoration="underline",e.style.textDecorationStyle="dotted";break;case"hyphen":case"heavy":case"underscore":e.style.textDecoration="underline"}}}function cs(e){return parseFloat(e)}var hs="http://www.w3.org/1998/Math/MathML",fs=function(){return O((function e(t){T(this,e),this.htmlDocument=t,this.className="docx",this.styleMap={},this.currentPart=null,this.tableVerticalMerges=[],this.currentVerticalMerge=null,this.tableCellPositions=[],this.currentCellPosition=null,this.footnoteMap={},this.endnoteMap={},this.currentEndnoteIds=[],this.usedHederFooterParts=[],this.currentTabs=[],this.tabsTimeout=0,this.commentMap={},this.tasks=[],this.postRenderTasks=[],this.createElement=ds}),[{key:"render",value:function(e,t){var r,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,i=arguments.length>3?arguments[3]:void 0;this.document=e,this.options=i,this.className=i.className,this.rootSelector=i.inWrapper?".".concat(this.className,"-wrapper"):":root",this.styleMap=null,this.tasks=[],this.options.renderComments&&globalThis.Highlight&&(this.commentHighlight=new Highlight),vs(n=n||t),vs(t),bs(n,"docxjs library predefined styles"),n.appendChild(this.renderDefaultStyle()),e.themePart&&(bs(n,"docxjs document theme values"),this.renderTheme(e.themePart,n)),null!=e.stylesPart&&(this.styleMap=this.processStyles(e.stylesPart.styles),bs(n,"docxjs document styles"),n.appendChild(this.renderStyles(e.stylesPart.styles))),e.numberingPart&&(this.prodessNumberings(e.numberingPart.domNumberings),bs(n,"docxjs document numbering styles"),n.appendChild(this.renderNumbering(e.numberingPart.domNumberings,n))),e.footnotesPart&&(this.footnoteMap=Va(e.footnotesPart.notes,(function(e){return e.id}))),e.endnotesPart&&(this.endnoteMap=Va(e.endnotesPart.notes,(function(e){return e.id}))),e.settingsPart&&(this.defaultTabSize=null===(r=e.settingsPart.settings)||void 0===r?void 0:r.defaultTabStop),!i.ignoreFonts&&e.fontTablePart&&this.renderFontTable(e.fontTablePart,n);var a=this.renderSections(e.documentPart.body);this.options.inWrapper?t.appendChild(this.renderWrapper(a)):gs(t,a),this.commentHighlight&&i.renderComments&&CSS.highlights.set("".concat(this.className,"-comments"),this.commentHighlight),this.refreshTabStops(),this.postRenderTasks.forEach((function(e){return e()}))}},{key:"renderTheme",value:function(e,t){var r,n,i={},a=null===(r=e.theme)||void 0===r?void 0:r.fontScheme;a&&(a.majorFont&&(i["--docx-majorHAnsi-font"]=a.majorFont.latinTypeface),a.minorFont&&(i["--docx-minorHAnsi-font"]=a.minorFont.latinTypeface));var o=null===(n=e.theme)||void 0===n?void 0:n.colorScheme;if(o)for(var s=0,u=Object.entries(o.colors);s<u.length;s++){var l=y(u[s],2),c=l[0],h=l[1];i["--docx-".concat(c,"-color")]="#".concat(h)}var f=this.styleToString(".".concat(this.className),i);t.appendChild(ys(f))}},{key:"renderFontTable",value:function(e,t){var r,n=this,i=S(e.fonts);try{var a=function(){var e,i=r.value,a=S(i.embedFontRefs);try{var o=function(){var r=e.value;n.tasks.push(n.document.loadFont(r.id,r.key).then((function(e){var a={"font-family":i.name,src:"url(".concat(e,")")};"bold"!=r.type&&"boldItalic"!=r.type||(a["font-weight"]="bold"),"italic"!=r.type&&"boldItalic"!=r.type||(a["font-style"]="italic"),bs(t,"docxjs ".concat(i.name," font"));var o=n.styleToString("@font-face",a);t.appendChild(ys(o)),n.refreshTabStops()})))};for(a.s();!(e=a.n()).done;)o()}catch(e){a.e(e)}finally{a.f()}};for(i.s();!(r=i.n()).done;)a()}catch(e){i.e(e)}finally{i.f()}}},{key:"processStyleName",value:function(e){return e?"".concat(this.className,"_").concat(function(e){return null==e?void 0:e.replace(/[ .]+/g,"-").replace(/[&]+/g,"and").toLowerCase()}(e)):this.className}},{key:"processStyles",value:function(e){var t,r=this,n=Va(e.filter((function(e){return null!=e.id})),(function(e){return e.id})),i=S(e.filter((function(e){return e.basedOn})));try{for(i.s();!(t=i.n()).done;){var a=t.value,o=n[a.basedOn];if(o){a.paragraphProps=Xa(a.paragraphProps,o.paragraphProps),a.runProps=Xa(a.runProps,o.runProps);var s,u=S(o.styles);try{var l=function(){var e=s.value,t=a.styles.find((function(t){return t.target==e.target}));t?r.copyStyleProperties(e.values,t.values):a.styles.push(m(m({},e),{},{values:m({},e.values)}))};for(u.s();!(s=u.n()).done;)l()}catch(e){u.e(e)}finally{u.f()}}else this.options.debug&&console.warn("Can't find base style ".concat(a.basedOn))}}catch(e){i.e(e)}finally{i.f()}var c,h=S(e);try{for(h.s();!(c=h.n()).done;){var f=c.value;f.cssName=this.processStyleName(f.id)}}catch(e){h.e(e)}finally{h.f()}return n}},{key:"prodessNumberings",value:function(e){var t,r=S(e.filter((function(e){return e.pStyleName})));try{for(r.s();!(t=r.n()).done;){var n,i=t.value,a=this.findStyle(i.pStyleName);(null==a||null===(n=a.paragraphProps)||void 0===n?void 0:n.numbering)&&(a.paragraphProps.numbering.level=i.level)}}catch(e){r.e(e)}finally{r.f()}}},{key:"processElement",value:function(e){if(e.children){var t,r=S(e.children);try{for(r.s();!(t=r.n()).done;){var n=t.value;n.parent=e,n.type==Ja.Table?this.processTable(n):this.processElement(n)}}catch(e){r.e(e)}finally{r.f()}}}},{key:"processTable",value:function(e){var t,r=S(e.children);try{for(r.s();!(t=r.n()).done;){var n,i=S(t.value.children);try{for(i.s();!(n=i.n()).done;){var a=n.value;a.cssStyle=this.copyStyleProperties(e.cellStyle,a.cssStyle,["border-left","border-right","border-top","border-bottom","padding-left","padding-right","padding-top","padding-bottom"]),this.processElement(a)}}catch(e){i.e(e)}finally{i.f()}}}catch(e){r.e(e)}finally{r.f()}}},{key:"copyStyleProperties",value:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;if(!e)return t;var n,i=S((null==t&&(t={}),null==r&&(r=Object.getOwnPropertyNames(e)),r));try{for(i.s();!(n=i.n()).done;){var a=n.value;e.hasOwnProperty(a)&&!t.hasOwnProperty(a)&&(t[a]=e[a])}}catch(e){i.e(e)}finally{i.f()}return t}},{key:"createPageElement",value:function(e,t){var r=this.createElement("section",{className:e});return t&&(t.pageMargins&&(r.style.paddingLeft=t.pageMargins.left,r.style.paddingRight=t.pageMargins.right,r.style.paddingTop=t.pageMargins.top,r.style.paddingBottom=t.pageMargins.bottom),t.pageSize&&(this.options.ignoreWidth||(r.style.width=t.pageSize.width),this.options.ignoreHeight||(r.style.minHeight=t.pageSize.height))),r}},{key:"createSectionContent",value:function(e){var t=this.createElement("article");return e.columns&&e.columns.numberOfColumns&&(t.style.columnCount="".concat(e.columns.numberOfColumns),t.style.columnGap=e.columns.space,e.columns.separator&&(t.style.columnRule="1px solid black")),t}},{key:"renderSections",value:function(e){var t=[];this.processElement(e);for(var r=this.splitBySection(e.children,e.props),n=this.groupByPageBreaks(r),i=null,a=0,o=n.length;a<o;a++){this.currentFootnoteIds=[];var s=n[a][0].sectProps,u=this.createPageElement(this.className,s);this.renderStyleValues(e.cssStyle,u),this.options.renderHeaders&&this.renderHeaderFooter(s.headerRefs,s,t.length,i!=s,u);var l,c=S(n[a]);try{for(c.s();!(l=c.n()).done;){var h=l.value,f=this.createSectionContent(h.sectProps);this.renderElements(h.elements,f),u.appendChild(f),s=h.sectProps}}catch(e){c.e(e)}finally{c.f()}this.options.renderFootnotes&&this.renderNotes(this.currentFootnoteIds,this.footnoteMap,u),this.options.renderEndnotes&&a==o-1&&this.renderNotes(this.currentEndnoteIds,this.endnoteMap,u),this.options.renderFooters&&this.renderHeaderFooter(s.footerRefs,s,t.length,i!=s,u),t.push(u),i=s}return t}},{key:"renderHeaderFooter",value:function(e,t,r,n,i){if(e){var a,o,s=null!==(a=null!==(o=t.titlePage&&n?e.find((function(e){return"first"==e.type})):null)&&void 0!==o?o:r%2==1?e.find((function(e){return"even"==e.type})):null)&&void 0!==a?a:e.find((function(e){return"default"==e.type})),u=s&&this.document.findPartByRelId(s.id,this.document.documentPart);if(u){this.currentPart=u,this.usedHederFooterParts.includes(u.path)||(this.processElement(u.rootElement),this.usedHederFooterParts.push(u.path));var l=y(this.renderElements([u.rootElement],i),1)[0];null!=t&&t.pageMargins&&(u.rootElement.type===Ja.Header?(l.style.marginTop="calc(".concat(t.pageMargins.header," - ").concat(t.pageMargins.top,")"),l.style.minHeight="calc(".concat(t.pageMargins.top," - ").concat(t.pageMargins.header,")")):u.rootElement.type===Ja.Footer&&(l.style.marginBottom="calc(".concat(t.pageMargins.footer," - ").concat(t.pageMargins.bottom,")"),l.style.minHeight="calc(".concat(t.pageMargins.bottom," - ").concat(t.pageMargins.footer,")"))),this.currentPart=null}}}},{key:"isPageBreakElement",value:function(e){return e.type==Ja.Break&&("lastRenderedPageBreak"==e.break?!this.options.ignoreLastRenderedPageBreak:"page"==e.break)}},{key:"isPageBreakSection",value:function(e,t){var r,n,i,a,o,s;return!(!e||!t||(null===(r=e.pageSize)||void 0===r?void 0:r.orientation)==(null===(n=t.pageSize)||void 0===n?void 0:n.orientation)&&(null===(i=e.pageSize)||void 0===i?void 0:i.width)==(null===(a=t.pageSize)||void 0===a?void 0:a.width)&&(null===(o=e.pageSize)||void 0===o?void 0:o.height)==(null===(s=t.pageSize)||void 0===s?void 0:s.height))}},{key:"splitBySection",value:function(e,t){var r,n=this,i={sectProps:null,elements:[],pageBreak:!1},a=[i],o=S(e);try{for(o.s();!(r=o.n()).done;){var s=r.value;if(s.type==Ja.Paragraph){var u,l=this.findStyle(s.styleName);(null==l||null===(u=l.paragraphProps)||void 0===u?void 0:u.pageBreakBefore)&&(i.sectProps=h,i.pageBreak=!0,i={sectProps:null,elements:[],pageBreak:!1},a.push(i))}if(i.elements.push(s),s.type==Ja.Paragraph){var c=s,h=c.sectionProps,f=-1,d=-1;if(this.options.breakPages&&c.children&&(f=c.children.findIndex((function(e){var t,r;return-1!=(d=null!==(t=null===(r=e.children)||void 0===r?void 0:r.findIndex(n.isPageBreakElement.bind(n)))&&void 0!==t?t:-1)}))),(h||-1!=f)&&(i.sectProps=h,i.pageBreak=-1!=f,i={sectProps:null,elements:[],pageBreak:!1},a.push(i)),-1!=f){var p=c.children[f],v=d<p.children.length-1;if(f<c.children.length-1||v){var g=s.children,y=m(m({},s),{},{children:g.slice(f)});if(s.children=g.slice(0,f),i.elements.push(y),v){var b=p.children,w=m(m({},p),{},{children:b.slice(0,d)});s.children.push(w),p.children=b.slice(d)}}}}}}catch(e){o.e(e)}finally{o.f()}for(var k=null,_=a.length-1;_>=0;_--){var x;null==a[_].sectProps?a[_].sectProps=null!==(x=k)&&void 0!==x?x:t:k=a[_].sectProps}return a}},{key:"groupByPageBreaks",value:function(e){var t,r,n=[],i=[n],a=S(e);try{for(a.s();!(r=a.n()).done;){var o=r.value;n.push(o),(this.options.ignoreLastRenderedPageBreak||o.pageBreak||this.isPageBreakSection(t,o.sectProps))&&i.push(n=[]),t=o.sectProps}}catch(e){a.e(e)}finally{a.f()}return i.filter((function(e){return e.length>0}))}},{key:"renderWrapper",value:function(e){return this.createElement("div",{className:"".concat(this.className,"-wrapper")},e)}},{key:"renderDefaultStyle",value:function(){var e=this.className,t="\n.".concat(e,"-wrapper { background: gray; padding: 30px; padding-bottom: 0px; display: flex; flex-flow: column; align-items: center; } \n.").concat(e,"-wrapper>section.").concat(e," { background: white; box-shadow: 0 0 10px rgba(0, 0, 0, 0.5); margin-bottom: 30px; }\n.").concat(e," { color: black; hyphens: auto; text-underline-position: from-font; }\nsection.").concat(e," { box-sizing: border-box; display: flex; flex-flow: column nowrap; position: relative; overflow: hidden; }\nsection.").concat(e,">article { margin-bottom: auto; z-index: 1; }\nsection.").concat(e,">footer { z-index: 1; }\n.").concat(e," table { border-collapse: collapse; }\n.").concat(e," table td, .").concat(e," table th { vertical-align: top; }\n.").concat(e," p { margin: 0pt; min-height: 1em; }\n.").concat(e," span { white-space: pre-wrap; overflow-wrap: break-word; }\n.").concat(e," a { color: inherit; text-decoration: inherit; }\n.").concat(e," svg { fill: transparent; }\n");return this.options.renderComments&&(t+="\n.".concat(e,"-comment-ref { cursor: default; }\n.").concat(e,"-comment-popover { display: none; z-index: 1000; padding: 0.5rem; background: white; position: absolute; box-shadow: 0 0 0.25rem rgba(0, 0, 0, 0.25); width: 30ch; }\n.").concat(e,"-comment-ref:hover~.").concat(e,"-comment-popover { display: block; }\n.").concat(e,"-comment-author,.").concat(e,"-comment-date { font-size: 0.875rem; color: #888; }\n")),ys(t)}},{key:"renderNumbering",value:function(e,t){var r,n=this,i="",a=[],o=S(e);try{var s,u,l,c=function(){if(s=r.value,u="p.".concat(n.numberingClass(s.id,s.level)),l="none",s.bullet){var e="--".concat(n.className,"-").concat(s.bullet.src).toLowerCase();i+=n.styleToString("".concat(u,":before"),{content:"' '",display:"inline-block",background:"var(".concat(e,")")},s.bullet.style),n.tasks.push(n.document.loadNumberingImage(s.bullet.src).then((function(r){var i="".concat(n.rootSelector," { ").concat(e,": url(").concat(r,") }");t.appendChild(ys(i))})))}else if(s.levelText){var o=n.numberingCounter(s.id,s.level),c=o+" "+(s.start-1);s.level>0&&(i+=n.styleToString("p.".concat(n.numberingClass(s.id,s.level-1)),{"counter-reset":c})),a.push(c),i+=n.styleToString("".concat(u,":before"),m({content:n.levelTextToContent(s.levelText,s.suff,s.id,n.numFormatToCssValue(s.format)),"counter-increment":o},s.rStyle))}else l=n.numFormatToCssValue(s.format);i+=n.styleToString(u,m({display:"list-item","list-style-position":"inside","list-style-type":l},s.pStyle))};for(o.s();!(r=o.n()).done;)c()}catch(e){o.e(e)}finally{o.f()}return a.length>0&&(i+=this.styleToString(this.rootSelector,{"counter-reset":a.join(" ")})),ys(i)}},{key:"renderStyles",value:function(e){var t,r="",n=this.styleMap,i=Va(e.filter((function(e){return e.isDefault})),(function(e){return e.target})),a=S(e);try{for(a.s();!(t=a.n()).done;){var o=t.value,s=o.styles;if(o.linked){var u=o.linked&&n[o.linked];u?s=s.concat(u.styles):this.options.debug&&console.warn("Can't find linked style ".concat(o.linked))}var l,c=S(s);try{for(c.s();!(l=c.n()).done;){var h,f=l.value,d="".concat(null!==(h=o.target)&&void 0!==h?h:"",".").concat(o.cssName);o.target!=f.target&&(d+=" ".concat(f.target)),i[o.target]==o&&(d=".".concat(this.className," ").concat(o.target,", ")+d),r+=this.styleToString(d,f.values)}}catch(e){c.e(e)}finally{c.f()}}}catch(e){a.e(e)}finally{a.f()}return ys(r)}},{key:"renderNotes",value:function(e,t,r){var n=e.map((function(e){return t[e]})).filter((function(e){return e}));if(n.length>0){var i=this.createElement("ol",null,this.renderElements(n));r.appendChild(i)}}},{key:"renderElement",value:function(e){switch(e.type){case Ja.Paragraph:return this.renderParagraph(e);case Ja.BookmarkStart:return this.renderBookmarkStart(e);case Ja.BookmarkEnd:return null;case Ja.Run:return this.renderRun(e);case Ja.Table:return this.renderTable(e);case Ja.Row:return this.renderTableRow(e);case Ja.Cell:return this.renderTableCell(e);case Ja.Hyperlink:return this.renderHyperlink(e);case Ja.SmartTag:return this.renderSmartTag(e);case Ja.Drawing:return this.renderDrawing(e);case Ja.Image:return this.renderImage(e);case Ja.Text:case Ja.Text:return this.renderText(e);case Ja.DeletedText:return this.renderDeletedText(e);case Ja.Tab:return this.renderTab(e);case Ja.Symbol:return this.renderSymbol(e);case Ja.Break:return this.renderBreak(e);case Ja.Footer:return this.renderContainer(e,"footer");case Ja.Header:return this.renderContainer(e,"header");case Ja.Footnote:case Ja.Endnote:return this.renderContainer(e,"li");case Ja.FootnoteReference:return this.renderFootnoteReference(e);case Ja.EndnoteReference:return this.renderEndnoteReference(e);case Ja.NoBreakHyphen:return this.createElement("wbr");case Ja.VmlPicture:return this.renderVmlPicture(e);case Ja.VmlElement:return this.renderVmlElement(e);case Ja.MmlMath:return this.renderContainerNS(e,hs,"math",{xmlns:hs});case Ja.MmlMathParagraph:return this.renderContainer(e,"span");case Ja.MmlFraction:return this.renderContainerNS(e,hs,"mfrac");case Ja.MmlBase:return this.renderContainerNS(e,hs,e.parent.type==Ja.MmlMatrixRow?"mtd":"mrow");case Ja.MmlNumerator:case Ja.MmlDenominator:case Ja.MmlFunction:case Ja.MmlLimit:case Ja.MmlBox:return this.renderContainerNS(e,hs,"mrow");case Ja.MmlGroupChar:return this.renderMmlGroupChar(e);case Ja.MmlLimitLower:return this.renderContainerNS(e,hs,"munder");case Ja.MmlMatrix:return this.renderContainerNS(e,hs,"mtable");case Ja.MmlMatrixRow:return this.renderContainerNS(e,hs,"mtr");case Ja.MmlRadical:return this.renderMmlRadical(e);case Ja.MmlSuperscript:return this.renderContainerNS(e,hs,"msup");case Ja.MmlSubscript:return this.renderContainerNS(e,hs,"msub");case Ja.MmlDegree:case Ja.MmlSuperArgument:case Ja.MmlSubArgument:return this.renderContainerNS(e,hs,"mn");case Ja.MmlFunctionName:return this.renderContainerNS(e,hs,"ms");case Ja.MmlDelimiter:return this.renderMmlDelimiter(e);case Ja.MmlRun:return this.renderMmlRun(e);case Ja.MmlNary:return this.renderMmlNary(e);case Ja.MmlPreSubSuper:return this.renderMmlPreSubSuper(e);case Ja.MmlBar:return this.renderMmlBar(e);case Ja.MmlEquationArray:return this.renderMllList(e);case Ja.Inserted:return this.renderInserted(e);case Ja.Deleted:return this.renderDeleted(e);case Ja.CommentRangeStart:return this.renderCommentRangeStart(e);case Ja.CommentRangeEnd:return this.renderCommentRangeEnd(e);case Ja.CommentReference:return this.renderCommentReference(e)}return null}},{key:"renderChildren",value:function(e,t){return this.renderElements(e.children,t)}},{key:"renderElements",value:function(e,t){var r=this;if(null==e)return null;var n=e.flatMap((function(e){return r.renderElement(e)})).filter((function(e){return null!=e}));return t&&gs(t,n),n}},{key:"renderContainer",value:function(e,t,r){return this.createElement(t,r,this.renderChildren(e))}},{key:"renderContainerNS",value:function(e,t,r,n){return ms(t,r,n,this.renderChildren(e))}},{key:"renderParagraph",value:function(e){var t,r,n,i,a=this.createElement("p"),o=this.findStyle(e.styleName);null!==(t=e.tabs)&&void 0!==t||(e.tabs=null==o||null===(r=o.paragraphProps)||void 0===r?void 0:r.tabs),this.renderClass(e,a),this.renderChildren(e,a),this.renderStyleValues(e.cssStyle,a),this.renderCommonProperties(a.style,e);var s=null!==(n=e.numbering)&&void 0!==n?n:null==o||null===(i=o.paragraphProps)||void 0===i?void 0:i.numbering;return s&&a.classList.add(this.numberingClass(s.id,s.level)),a}},{key:"renderRunProperties",value:function(e,t){this.renderCommonProperties(e,t)}},{key:"renderCommonProperties",value:function(e,t){null!=t&&(t.color&&(e.color=t.color),t.fontSize&&(e["font-size"]=t.fontSize))}},{key:"renderHyperlink",value:function(e){var t=this.createElement("a");if(this.renderChildren(e,t),this.renderStyleValues(e.cssStyle,t),e.href)t.href=e.href;else if(e.id){var r=this.document.documentPart.rels.find((function(t){return t.id==e.id&&"External"===t.targetMode}));t.href=null==r?void 0:r.target}return t}},{key:"renderSmartTag",value:function(e){var t=this.createElement("span");return this.renderChildren(e,t),t}},{key:"renderCommentRangeStart",value:function(e){var t;if(!this.options.renderComments)return null;var r=new Range;null===(t=this.commentHighlight)||void 0===t||t.add(r);var n=this.htmlDocument.createComment("start of comment #".concat(e.id));return this.later((function(){return r.setStart(n,0)})),this.commentMap[e.id]=r,n}},{key:"renderCommentRangeEnd",value:function(e){if(!this.options.renderComments)return null;var t=this.commentMap[e.id],r=this.htmlDocument.createComment("end of comment #".concat(e.id));return this.later((function(){return null==t?void 0:t.setEnd(r,0)})),r}},{key:"renderCommentReference",value:function(e){var t;if(!this.options.renderComments)return null;var r=null===(t=this.document.commentsPart)||void 0===t?void 0:t.commentMap[e.id];if(!r)return null;var n=new DocumentFragment,i=ds("span",{className:"".concat(this.className,"-comment-ref")},["💬"]),a=ds("div",{className:"".concat(this.className,"-comment-popover")});return this.renderCommentContent(r,a),n.appendChild(this.htmlDocument.createComment("comment #".concat(r.id," by ").concat(r.author," on ").concat(r.date))),n.appendChild(i),n.appendChild(a),n}},{key:"renderCommentContent",value:function(e,t){t.appendChild(ds("div",{className:"".concat(this.className,"-comment-author")},[e.author])),t.appendChild(ds("div",{className:"".concat(this.className,"-comment-date")},[new Date(e.date).toLocaleString()])),this.renderChildren(e,t)}},{key:"renderDrawing",value:function(e){var t=this.createElement("div");return t.style.display="inline-block",t.style.position="relative",t.style.textIndent="0px",this.renderChildren(e,t),this.renderStyleValues(e.cssStyle,t),t}},{key:"renderImage",value:function(e){var t=this.createElement("img");return this.renderStyleValues(e.cssStyle,t),this.document&&this.tasks.push(this.document.loadDocumentImage(e.src,this.currentPart).then((function(e){t.src=e}))),t}},{key:"renderText",value:function(e){return this.htmlDocument.createTextNode(e.text)}},{key:"renderDeletedText",value:function(e){return this.options.renderEndnotes?this.htmlDocument.createTextNode(e.text):null}},{key:"renderBreak",value:function(e){return"textWrapping"==e.break?this.createElement("br"):null}},{key:"renderInserted",value:function(e){return this.options.renderChanges?this.renderContainer(e,"ins"):this.renderChildren(e)}},{key:"renderDeleted",value:function(e){return this.options.renderChanges?this.renderContainer(e,"del"):null}},{key:"renderSymbol",value:function(e){var t=this.createElement("span");return t.style.fontFamily=e.font,t.innerHTML="&#x".concat(e.char,";"),t}},{key:"renderFootnoteReference",value:function(e){var t=this.createElement("sup");return this.currentFootnoteIds.push(e.id),t.textContent="".concat(this.currentFootnoteIds.length),t}},{key:"renderEndnoteReference",value:function(e){var t=this.createElement("sup");return this.currentEndnoteIds.push(e.id),t.textContent="".concat(this.currentEndnoteIds.length),t}},{key:"renderTab",value:function(e){var t=this.createElement("span");if(t.innerHTML="&emsp;",this.options.experimental){var r;t.className=this.tabStopClass();var n=null===(r=function(e,t){for(var r=e.parent;null!=r&&r.type!=t;)r=r.parent;return r}(e,Ja.Paragraph))||void 0===r?void 0:r.tabs;this.currentTabs.push({stops:n,span:t})}return t}},{key:"renderBookmarkStart",value:function(e){var t=this.createElement("span");return t.id=e.name,t}},{key:"renderRun",value:function(e){if(e.fieldRun)return null;var t=this.createElement("span");if(e.id&&(t.id=e.id),this.renderClass(e,t),this.renderStyleValues(e.cssStyle,t),e.verticalAlign){var r=this.createElement(e.verticalAlign);this.renderChildren(e,r),t.appendChild(r)}else this.renderChildren(e,t);return t}},{key:"renderTable",value:function(e){var t=this.createElement("table");return this.tableCellPositions.push(this.currentCellPosition),this.tableVerticalMerges.push(this.currentVerticalMerge),this.currentVerticalMerge={},this.currentCellPosition={col:0,row:0},e.columns&&t.appendChild(this.renderTableColumns(e.columns)),this.renderClass(e,t),this.renderChildren(e,t),this.renderStyleValues(e.cssStyle,t),this.currentVerticalMerge=this.tableVerticalMerges.pop(),this.currentCellPosition=this.tableCellPositions.pop(),t}},{key:"renderTableColumns",value:function(e){var t,r=this.createElement("colgroup"),n=S(e);try{for(n.s();!(t=n.n()).done;){var i=t.value,a=this.createElement("col");i.width&&(a.style.width=i.width),r.appendChild(a)}}catch(e){n.e(e)}finally{n.f()}return r}},{key:"renderTableRow",value:function(e){var t=this.createElement("tr");return this.currentCellPosition.col=0,this.renderClass(e,t),this.renderChildren(e,t),this.renderStyleValues(e.cssStyle,t),this.currentCellPosition.row++,t}},{key:"renderTableCell",value:function(e){var t=this.createElement("td"),r=this.currentCellPosition.col;return e.verticalMerge?"restart"==e.verticalMerge?(this.currentVerticalMerge[r]=t,t.rowSpan=1):this.currentVerticalMerge[r]&&(this.currentVerticalMerge[r].rowSpan+=1,t.style.display="none"):this.currentVerticalMerge[r]=null,this.renderClass(e,t),this.renderChildren(e,t),this.renderStyleValues(e.cssStyle,t),e.span&&(t.colSpan=e.span),this.currentCellPosition.col+=t.colSpan,t}},{key:"renderVmlPicture",value:function(e){var t=ds("div");return this.renderChildren(e,t),t}},{key:"renderVmlElement",value:function(e){var t,r,n=ps("svg");n.setAttribute("style",e.cssStyleText);var i=this.renderVmlChildElement(e);return null!==(t=e.imageHref)&&void 0!==t&&t.id&&this.tasks.push(null===(r=this.document)||void 0===r?void 0:r.loadDocumentImage(e.imageHref.id,this.currentPart).then((function(e){return i.setAttribute("href",e)}))),n.appendChild(i),requestAnimationFrame((function(){var e=n.firstElementChild.getBBox();n.setAttribute("width","".concat(Math.ceil(e.x+e.width))),n.setAttribute("height","".concat(Math.ceil(e.y+e.height)))})),n}},{key:"renderVmlChildElement",value:function(e){var t=ps(e.tagName);Object.entries(e.attrs).forEach((function(e){var r=y(e,2),n=r[0],i=r[1];return t.setAttribute(n,i)}));var r,n=S(e.children);try{for(n.s();!(r=n.n()).done;){var i=r.value;i.type==Ja.VmlElement?t.appendChild(this.renderVmlChildElement(i)):t.appendChild.apply(t,g(Ga(this.renderElement(i))))}}catch(e){n.e(e)}finally{n.f()}return t}},{key:"renderMmlRadical",value:function(e){var t,r=e.children.find((function(e){return e.type==Ja.MmlBase}));if(null!==(t=e.props)&&void 0!==t&&t.hideDegree)return ms(hs,"msqrt",null,this.renderElements([r]));var n=e.children.find((function(e){return e.type==Ja.MmlDegree}));return ms(hs,"mroot",null,this.renderElements([r,n]))}},{key:"renderMmlDelimiter",value:function(e){var t,r,n=[];return n.push(ms(hs,"mo",null,[null!==(t=e.props.beginChar)&&void 0!==t?t:"("])),n.push.apply(n,g(this.renderElements(e.children))),n.push(ms(hs,"mo",null,[null!==(r=e.props.endChar)&&void 0!==r?r:")"])),ms(hs,"mrow",null,n)}},{key:"renderMmlNary",value:function(e){var t,r,n=[],i=Va(e.children,(function(e){return e.type})),a=i[Ja.MmlSuperArgument],o=i[Ja.MmlSubArgument],s=a?ms(hs,"mo",null,Ga(this.renderElement(a))):null,u=o?ms(hs,"mo",null,Ga(this.renderElement(o))):null,l=ms(hs,"mo",null,[null!==(t=null===(r=e.props)||void 0===r?void 0:r.char)&&void 0!==t?t:"∫"]);return s||u?n.push(ms(hs,"munderover",null,[l,u,s])):s?n.push(ms(hs,"mover",null,[l,s])):u?n.push(ms(hs,"munder",null,[l,u])):n.push(l),n.push.apply(n,g(this.renderElements(i[Ja.MmlBase].children))),ms(hs,"mrow",null,n)}},{key:"renderMmlPreSubSuper",value:function(e){var t=[],r=Va(e.children,(function(e){return e.type})),n=r[Ja.MmlSuperArgument],i=r[Ja.MmlSubArgument],a=n?ms(hs,"mo",null,Ga(this.renderElement(n))):null,o=i?ms(hs,"mo",null,Ga(this.renderElement(i))):null,s=ms(hs,"mo",null);return t.push(ms(hs,"msubsup",null,[s,o,a])),t.push.apply(t,g(this.renderElements(r[Ja.MmlBase].children))),ms(hs,"mrow",null,t)}},{key:"renderMmlGroupChar",value:function(e){var t="bot"===e.props.verticalJustification?"mover":"munder",r=this.renderContainerNS(e,hs,t);return e.props.char&&r.appendChild(ms(hs,"mo",null,[e.props.char])),r}},{key:"renderMmlBar",value:function(e){var t=this.renderContainerNS(e,hs,"mrow");switch(e.props.position){case"top":t.style.textDecoration="overline";break;case"bottom":t.style.textDecoration="underline"}return t}},{key:"renderMmlRun",value:function(e){var t=ms(hs,"ms");return this.renderClass(e,t),this.renderStyleValues(e.cssStyle,t),this.renderChildren(e,t),t}},{key:"renderMllList",value:function(e){var t=ms(hs,"mtable");this.renderClass(e,t),this.renderStyleValues(e.cssStyle,t),this.renderChildren(e);var r,n=S(this.renderChildren(e));try{for(n.s();!(r=n.n()).done;){var i=r.value;t.appendChild(ms(hs,"mtr",null,[ms(hs,"mtd",null,[i])]))}}catch(e){n.e(e)}finally{n.f()}return t}},{key:"renderStyleValues",value:function(e,t){for(var r in e)r.startsWith("$")?t.setAttribute(r.slice(1),e[r]):t.style[r]=e[r]}},{key:"renderClass",value:function(e,t){e.className&&(t.className=e.className),e.styleName&&t.classList.add(this.processStyleName(e.styleName))}},{key:"findStyle",value:function(e){var t;return e&&(null===(t=this.styleMap)||void 0===t?void 0:t[e])}},{key:"numberingClass",value:function(e,t){return"".concat(this.className,"-num-").concat(e,"-").concat(t)}},{key:"tabStopClass",value:function(){return"".concat(this.className,"-tab-stop")}},{key:"styleToString",value:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,n="".concat(e," {\r\n");for(var i in t)i.startsWith("$")||(n+=" ".concat(i,": ").concat(t[i],";\r\n"));return r&&(n+=r),n+"}\r\n"}},{key:"numberingCounter",value:function(e,t){return"".concat(this.className,"-num-").concat(e,"-").concat(t)}},{key:"levelTextToContent",value:function(e,t,r,n){var i,a=this;return'"'.concat(e.replace(/%\d*/g,(function(e){var t=parseInt(e.substring(1),10)-1;return'"counter('.concat(a.numberingCounter(r,t),", ").concat(n,')"')}))).concat(null!==(i={tab:"\\9",space:"\\a0"}[t])&&void 0!==i?i:"",'"')}},{key:"numFormatToCssValue",value:function(e){var t;return null!==(t={none:"none",bullet:"disc",decimal:"decimal",lowerLetter:"lower-alpha",upperLetter:"upper-alpha",lowerRoman:"lower-roman",upperRoman:"upper-roman",decimalZero:"decimal-leading-zero",aiueo:"katakana",aiueoFullWidth:"katakana",chineseCounting:"simp-chinese-informal",chineseCountingThousand:"simp-chinese-informal",chineseLegalSimplified:"simp-chinese-formal",chosung:"hangul-consonant",ideographDigital:"cjk-ideographic",ideographTraditional:"cjk-heavenly-stem",ideographLegalTraditional:"trad-chinese-formal",ideographZodiac:"cjk-earthly-branch",iroha:"katakana-iroha",irohaFullWidth:"katakana-iroha",japaneseCounting:"japanese-informal",japaneseDigitalTenThousand:"cjk-decimal",japaneseLegal:"japanese-formal",thaiNumbers:"thai",koreanCounting:"korean-hangul-formal",koreanDigital:"korean-hangul-formal",koreanDigital2:"korean-hanja-informal",hebrew1:"hebrew",hebrew2:"hebrew",hindiNumbers:"devanagari",ganada:"hangul",taiwaneseCounting:"cjk-ideographic",taiwaneseCountingThousand:"cjk-ideographic",taiwaneseDigital:"cjk-decimal"}[e])&&void 0!==t?t:e}},{key:"refreshTabStops",value:function(){var e=this;this.options.experimental&&(clearTimeout(this.tabsTimeout),this.tabsTimeout=setTimeout((function(){var t,r=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document.body,t=document.createElement("div");t.style.width="100pt",e.appendChild(t);var r=100/t.offsetWidth;return e.removeChild(t),r}(),n=S(e.currentTabs);try{for(n.s();!(t=n.n()).done;){var i=t.value;ls(i.span,i.stops,e.defaultTabSize,r)}}catch(e){n.e(e)}finally{n.f()}}),500))}},{key:"later",value:function(e){this.postRenderTasks.push(e)}}])}();function ds(e,t,r){return ms(void 0,e,t,r)}function ps(e,t,r){return ms("http://www.w3.org/2000/svg",e,t,r)}function ms(e,t,r,n){var i=e?document.createElementNS(e,t):document.createElement(t);return Object.assign(i,r),n&&gs(i,n),i}function vs(e){e.innerHTML=""}function gs(e,t){t.forEach((function(t){return e.appendChild("string"==typeof(r=t)||r instanceof String?document.createTextNode(t):t);var r}))}function ys(e){return ds("style",{innerHTML:e})}function bs(e,t){e.appendChild(document.createComment(t))}var ws={ignoreHeight:!1,ignoreWidth:!1,ignoreFonts:!1,breakPages:!0,debug:!1,experimental:!1,className:"docx",inWrapper:!0,trimXmlDeclaration:!0,ignoreLastRenderedPageBreak:!0,renderHeaders:!0,renderFooters:!0,renderFootnotes:!0,renderEndnotes:!0,useBase64URL:!1,renderChanges:!1,renderComments:!1};function ks(e,t,r,n){return _s.apply(this,arguments)}function _s(){return(_s=P(C().mark((function e(t,r,n,i){var a;return C().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,function(e,t){var r=m(m({},ws),t);return Ho.load(e,new is(r),r)}(t,i);case 2:return a=e.sent,e.next=5,function(){var e=P(C().mark((function e(t,r,n,i){var a,o;return C().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a=m(m({},ws),i),o=new fs(window.document),e.abrupt("return",(o.render(t,r,n,a),Promise.allSettled(o.tasks)));case 2:case"end":return e.stop()}}),e)})));return function(t,r,n,i){return e.apply(this,arguments)}}()(a,r,n,i);case 5:return e.abrupt("return",a);case 6:case"end":return e.stop()}}),e)})))).apply(this,arguments)}var Ss,xs={ignoreLastRenderedPageBreak:!1},Es={getData:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return"string"==typeof e?function(e,t){return fetch(e,t).then((function(e){return 200!==e.status?Promise.reject(e):e}))}(e,t):Promise.resolve(e)},render:function(e,t){var r,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return e?(e instanceof Blob?r=e:e instanceof Response?r=e.blob():e instanceof ArrayBuffer&&(r=new Blob([e])),ks(r,t,t,m(m({},xs),n))):(t.innerHTML="",Promise.resolve())},getBlob:(Ss=P(C().mark((function e(t){var r;return C().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(t instanceof Blob)){e.next=4;break}r=t,e.next=11;break;case 4:if(!(t instanceof Response)){e.next=10;break}return e.next=7,t.blob();case 7:r=e.sent,e.next=11;break;case 10:t instanceof ArrayBuffer&&(r=new Blob([t]));case 11:return e.abrupt("return",r);case 12:case"end":return e.stop()}}),e)}))),function(e){return Ss.apply(this,arguments)})};function Cs(){return(Cs=P(C().mark((function e(t,r){return C().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:r&&(r instanceof ArrayBuffer&&(r=new Blob([r])),function(e,t){var r=document.createElement("a");r.download=e,r.style.display="none",r.href=t,document.body.appendChild(r),r.click(),document.body.removeChild(r)}(t,URL.createObjectURL(r)));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}var As=function(){return O((function e(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};T(this,e),v(this,"container",null),v(this,"wrapper",null),v(this,"wrapperMain",null),v(this,"options",{}),v(this,"requestOptions",{}),v(this,"fileData",null),this.container=t,this.options=r,this.requestOptions=n,this.createWrapper()}),[{key:"createWrapper",value:function(){this.wrapper=document.createElement("div"),this.wrapper.className="vue-office-docx",this.wrapperMain=document.createElement("div"),this.wrapperMain.className="vue-office-docx-main",this.wrapper.appendChild(this.wrapperMain),this.container.appendChild(this.wrapper)}},{key:"setOptions",value:function(e){this.options=e}},{key:"setRequestOptions",value:function(e){this.requestOptions=e}},{key:"preview",value:function(e){var t=this;return new Promise((function(r,n){Es.getData(e,t.requestOptions).then(function(){var e=P(C().mark((function e(i){return C().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Es.getBlob(i);case 2:t.fileData=e.sent,Es.render(t.fileData,t.wrapperMain,t.options).then((function(){r()})).catch((function(e){Es.render("",t.wrapperMain,t.options),n(e)}));case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()).catch((function(e){Es.render("",t.wrapperMain,t.options),n(e)}))}))}},{key:"save",value:function(e){!function(e,t){Cs.apply(this,arguments)}(e||"js-preview-docx-".concat((new Date).getTime(),".docx"),this.fileData)}},{key:"destroy",value:function(){this.container.removeChild(this.wrapper),this.container=null,this.wrapper=null,this.wrapperMain=null,this.options=null,this.requestOptions=null}}])}(),Ps={init:function(e,t,r){return new As(e,t,r)}}}).call(this,r(36),r(341),r(590).setImmediate,r(584).Buffer)},961:function(e,t,r){"use strict";r(152)("asyncIterator")},962:function(e,t,r){"use strict";r(152)("hasInstance")},963:function(e,t,r){"use strict";var n=r(56),i=r(152),a=r(83);i("toStringTag"),a(n("Symbol"),"Symbol")},964:function(e,t,r){"use strict";var n=r(26),i=r(8),a=r(191),o=r(28),s=r(55),u=r(101),l=r(635),c=r(599),h=r(348),f=r(344),d=r(23),p=r(146),m=d("isConcatSpreadable"),v=p>=51||!i((function(){var e=[];return e[m]=!1,e.concat()[0]!==e})),g=function(e){if(!o(e))return!1;var t=e[m];return void 0!==t?!!t:a(e)};n({target:"Array",proto:!0,arity:1,forced:!v||!f("concat")},{concat:function(e){var t,r,n,i,a,o=s(this),f=h(o,0),d=0;for(t=-1,n=arguments.length;t<n;t++)if(g(a=-1===t?o:arguments[t]))for(i=u(a),l(d+i),r=0;r<i;r++,d++)r in a&&c(f,d,a[r]);else l(d+1),c(f,d++,a);return f.length=d,f}})},965:function(e,t,r){"use strict";var n=r(26),i=r(636),a=r(343);n({target:"Array",proto:!0},{fill:i}),a("fill")},966:function(e,t,r){"use strict";var n=r(26),i=r(141).find,a=r(343),o=!0;"find"in[]&&Array(1).find((function(){o=!1})),n({target:"Array",proto:!0,forced:o},{find:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}}),a("find")},967:function(e,t,r){"use strict";var n=r(26),i=r(141).findIndex,a=r(343),o=!0;"findIndex"in[]&&Array(1).findIndex((function(){o=!1})),n({target:"Array",proto:!0,forced:o},{findIndex:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}}),a("findIndex")},968:function(e,t,r){"use strict";var n=r(26),i=r(969),a=r(71),o=r(55),s=r(101),u=r(348);n({target:"Array",proto:!0},{flatMap:function(e){var t,r=o(this),n=s(r);return a(e),(t=u(r,0)).length=i(t,r,r,n,0,1,e,arguments.length>1?arguments[1]:void 0),t}})},969:function(e,t,r){"use strict";var n=r(191),i=r(101),a=r(635),o=r(186),s=function(e,t,r,u,l,c,h,f){for(var d,p,m=l,v=0,g=!!h&&o(h,f);v<u;)v in r&&(d=g?g(r[v],v,t):r[v],c>0&&n(d)?(p=i(d),m=s(e,t,d,p,m,c-1)-1):(a(m+1),e[m]=d),m++),v++;return m};e.exports=s},970:function(e,t,r){"use strict";var n=r(26),i=r(697);n({target:"Array",stat:!0,forced:!r(350)((function(e){Array.from(e)}))},{from:i})},971:function(e,t,r){"use strict";var n=r(32),i=r(365);e.exports=function(e,t,r,a){try{return a?t(n(r)[0],r[1]):t(r)}catch(t){i(e,"throw",t)}}},972:function(e,t,r){"use strict";var n=r(26),i=r(347).includes,a=r(8),o=r(343);n({target:"Array",proto:!0,forced:a((function(){return!Array(1).includes()}))},{includes:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}}),o("includes")},973:function(e,t,r){"use strict";var n=r(26),i=r(6),a=r(112),o=r(63),s=r(345),u=i([].join);n({target:"Array",proto:!0,forced:a!==Object||!s("join",",")},{join:function(e){return u(o(this),void 0===e?",":e)}})},974:function(e,t,r){"use strict";var n=r(26),i=r(141).map;n({target:"Array",proto:!0,forced:!r(344)("map")},{map:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}})},975:function(e,t,r){"use strict";var n=r(26),i=r(191),a=r(197),o=r(28),s=r(342),u=r(101),l=r(63),c=r(599),h=r(23),f=r(344),d=r(143),p=f("slice"),m=h("species"),v=Array,g=Math.max;n({target:"Array",proto:!0,forced:!p},{slice:function(e,t){var r,n,h,f=l(this),p=u(f),y=s(e,p),b=s(void 0===t?p:t,p);if(i(f)&&(r=f.constructor,(a(r)&&(r===v||i(r.prototype))||o(r)&&null===(r=r[m]))&&(r=void 0),r===v||void 0===r))return d(f,y,b);for(n=new(void 0===r?v:r)(g(b-y,0)),h=0;y<b;y++,h++)y in f&&c(n,h,f[y]);return n.length=h,n}})},976:function(e,t,r){"use strict";var n=r(26),i=r(6),a=r(71),o=r(55),s=r(101),u=r(637),l=r(40),c=r(8),h=r(638),f=r(345),d=r(698),p=r(699),m=r(146),v=r(700),g=[],y=i(g.sort),b=i(g.push),w=c((function(){g.sort(void 0)})),k=c((function(){g.sort(null)})),_=f("sort"),S=!c((function(){if(m)return m<70;if(!(d&&d>3)){if(p)return!0;if(v)return v<603;var e,t,r,n,i="";for(e=65;e<76;e++){switch(t=String.fromCharCode(e),e){case 66:case 69:case 70:case 72:r=3;break;case 68:case 71:r=4;break;default:r=2}for(n=0;n<47;n++)g.push({k:t+n,v:r})}for(g.sort((function(e,t){return t.v-e.v})),n=0;n<g.length;n++)t=g[n].k.charAt(0),i.charAt(i.length-1)!==t&&(i+=t);return"DGBEFHACIJK"!==i}}));n({target:"Array",proto:!0,forced:w||!k||!_||!S},{sort:function(e){void 0!==e&&a(e);var t=o(this);if(S)return void 0===e?y(t):y(t,e);var r,n,i=[],c=s(t);for(n=0;n<c;n++)n in t&&b(i,t[n]);for(h(i,function(e){return function(t,r){return void 0===r?-1:void 0===t?1:void 0!==e?+e(t,r)||0:l(t)>l(r)?1:-1}}(e)),r=s(i),n=0;n<r;)t[n]=i[n++];for(;n<c;)u(t,n++);return t}})},977:function(e,t,r){"use strict";var n=r(26),i=r(55),a=r(342),o=r(104),s=r(101),u=r(978),l=r(635),c=r(348),h=r(599),f=r(637),d=r(344)("splice"),p=Math.max,m=Math.min;n({target:"Array",proto:!0,forced:!d},{splice:function(e,t){var r,n,d,v,g,y,b=i(this),w=s(b),k=a(e,w),_=arguments.length;for(0===_?r=n=0:1===_?(r=0,n=w-k):(r=_-2,n=m(p(o(t),0),w-k)),l(w+r-n),d=c(b,n),v=0;v<n;v++)(g=k+v)in b&&h(d,v,b[g]);if(d.length=n,r<n){for(v=k;v<w-n;v++)y=v+r,(g=v+n)in b?b[y]=b[g]:f(b,y);for(v=w;v>w-n+r;v--)f(b,v-1)}else if(r>n)for(v=w-n;v>k;v--)y=v+r-1,(g=v+n-1)in b?b[y]=b[g]:f(b,y);for(v=0;v<r;v++)b[v+k]=arguments[v+2];return u(b,w-n+r),d}})},978:function(e,t,r){"use strict";var n=r(34),i=r(191),a=TypeError,o=Object.getOwnPropertyDescriptor,s=n&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(e){return e instanceof TypeError}}();e.exports=s?function(e,t){if(i(e)&&!o(e,"length").writable)throw new a("Cannot set read only .length");return e.length=t}:function(e,t){return e.length=t}},979:function(e,t,r){"use strict";r(343)("flatMap")},980:function(e,t,r){"use strict";var n=r(26),i=r(15),a=r(701),o=r(639),s=a.ArrayBuffer;n({global:!0,constructor:!0,forced:i.ArrayBuffer!==s},{ArrayBuffer:s}),o("ArrayBuffer")},981:function(e,t,r){"use strict";var n=r(982);e.exports=Math.fround||function(e){return n(e,1.1920928955078125e-7,34028234663852886e22,11754943508222875e-54)}},982:function(e,t,r){"use strict";var n=r(983),i=r(984),a=Math.abs;e.exports=function(e,t,r,o){var s=+e,u=a(s),l=n(s);if(u<o)return l*i(u/o/t)*o*t;var c=(1+t/2220446049250313e-31)*u,h=c-(c-u);return h>r||h!=h?l*(1/0):l*h}},983:function(e,t,r){"use strict";e.exports=Math.sign||function(e){var t=+e;return 0===t||t!=t?t:t<0?-1:1}},984:function(e,t,r){"use strict";e.exports=function(e){return e+4503599627370496-4503599627370496}},985:function(e,t,r){"use strict";var n=Array,i=Math.abs,a=Math.pow,o=Math.floor,s=Math.log,u=Math.LN2;e.exports={pack:function(e,t,r){var l,c,h,f=n(r),d=8*r-t-1,p=(1<<d)-1,m=p>>1,v=23===t?a(2,-24)-a(2,-77):0,g=e<0||0===e&&1/e<0?1:0,y=0;for((e=i(e))!=e||e===1/0?(c=e!=e?1:0,l=p):(l=o(s(e)/u),e*(h=a(2,-l))<1&&(l--,h*=2),(e+=l+m>=1?v/h:v*a(2,1-m))*h>=2&&(l++,h/=2),l+m>=p?(c=0,l=p):l+m>=1?(c=(e*h-1)*a(2,t),l+=m):(c=e*a(2,m-1)*a(2,t),l=0));t>=8;)f[y++]=255&c,c/=256,t-=8;for(l=l<<t|c,d+=t;d>0;)f[y++]=255&l,l/=256,d-=8;return f[y-1]|=128*g,f},unpack:function(e,t){var r,n=e.length,i=8*n-t-1,o=(1<<i)-1,s=o>>1,u=i-7,l=n-1,c=e[l--],h=127&c;for(c>>=7;u>0;)h=256*h+e[l--],u-=8;for(r=h&(1<<-u)-1,h>>=-u,u+=t;u>0;)r=256*r+e[l--],u-=8;if(0===h)h=1-s;else{if(h===o)return r?NaN:c?-1/0:1/0;r+=a(2,t),h-=s}return(c?-1:1)*r*a(2,h-t)}}},986:function(e,t,r){"use strict";var n=r(18),i=r(28),a=r(37),o=r(73),s=r(23),u=r(232),l=s("hasInstance"),c=Function.prototype;l in c||a.f(c,l,{value:u((function(e){if(!n(this)||!i(e))return!1;var t=this.prototype;return i(t)?o(t,e):e instanceof this}),l)})},987:function(e,t,r){"use strict";var n=r(15);r(83)(n.JSON,"JSON",!0)},988:function(e,t,r){"use strict";r(83)(Math,"Math",!0)},989:function(e,t,r){"use strict";var n=r(26),i=r(6),a=r(104),o=r(377),s=r(990),u=r(8),l=RangeError,c=String,h=Math.floor,f=i(s),d=i("".slice),p=i(1..toFixed),m=function(e,t,r){return 0===t?r:t%2==1?m(e,t-1,r*e):m(e*e,t/2,r)},v=function(e,t,r){for(var n=-1,i=r;++n<6;)i+=t*e[n],e[n]=i%1e7,i=h(i/1e7)},g=function(e,t){for(var r=6,n=0;--r>=0;)n+=e[r],e[r]=h(n/t),n=n%t*1e7},y=function(e){for(var t=6,r="";--t>=0;)if(""!==r||0===t||0!==e[t]){var n=c(e[t]);r=""===r?n:r+f("0",7-n.length)+n}return r};n({target:"Number",proto:!0,forced:u((function(){return"0.000"!==p(8e-5,3)||"1"!==p(.9,0)||"1.25"!==p(1.255,2)||"1000000000000000128"!==p(0xde0b6b3a7640080,0)}))||!u((function(){p({})}))},{toFixed:function(e){var t,r,n,i,s=o(this),u=a(e),h=[0,0,0,0,0,0],p="",b="0";if(u<0||u>20)throw new l("Incorrect fraction digits");if(s!=s)return"NaN";if(s<=-1e21||s>=1e21)return c(s);if(s<0&&(p="-",s=-s),s>1e-21)if(r=(t=function(e){for(var t=0,r=e;r>=4096;)t+=12,r/=4096;for(;r>=2;)t+=1,r/=2;return t}(s*m(2,69,1))-69)<0?s*m(2,-t,1):s/m(2,t,1),r*=4503599627370496,(t=52-t)>0){for(v(h,0,r),n=u;n>=7;)v(h,1e7,0),n-=7;for(v(h,m(10,n,1),0),n=t-1;n>=23;)g(h,1<<23),n-=23;g(h,1<<n),v(h,1,1),g(h,2),b=y(h)}else v(h,0,r),v(h,1<<-t,0),b=y(h)+f("0",u);return b=u>0?p+((i=b.length)<=u?"0."+f("0",u-i)+b:d(b,0,i-u)+"."+d(b,i-u)):p+b}})},990:function(e,t,r){"use strict";var n=r(104),i=r(40),a=r(66),o=RangeError;e.exports=function(e){var t=i(a(this)),r="",s=n(e);if(s<0||s===1/0)throw new o("Wrong number of repetitions");for(;s>0;(s>>>=1)&&(t+=t))1&s&&(r+=t);return r}},991:function(e,t,r){"use strict";var n=r(26),i=r(992).entries;n({target:"Object",stat:!0},{entries:function(e){return i(e)}})},992:function(e,t,r){"use strict";var n=r(34),i=r(8),a=r(6),o=r(151),s=r(154),u=r(63),l=a(r(155).f),c=a([].push),h=n&&i((function(){var e=Object.create(null);return e[2]=2,!l(e,2)})),f=function(e){return function(t){for(var r,i=u(t),a=s(i),f=h&&null===o(i),d=a.length,p=0,m=[];d>p;)r=a[p++],n&&!(f?r in i:l(i,r))||c(m,e?[r,i[r]]:i[r]);return m}};e.exports={entries:f(!0),values:f(!1)}},993:function(e,t,r){"use strict";var n=r(26),i=r(8),a=r(63),o=r(106).f,s=r(34);n({target:"Object",stat:!0,forced:!s||i((function(){o(1)})),sham:!s},{getOwnPropertyDescriptor:function(e,t){return o(a(e),t)}})},994:function(e,t,r){"use strict";var n=r(26),i=r(34),a=r(359),o=r(63),s=r(106),u=r(599);n({target:"Object",stat:!0,sham:!i},{getOwnPropertyDescriptors:function(e){for(var t,r,n=o(e),i=s.f,l=a(n),c={},h=0;l.length>h;)void 0!==(r=i(n,t=l[h++]))&&u(c,t,r);return c}})},995:function(e,t,r){"use strict";var n=r(26),i=r(8),a=r(240).f;n({target:"Object",stat:!0,forced:i((function(){return!Object.getOwnPropertyNames(1)}))},{getOwnPropertyNames:a})},996:function(e,t,r){"use strict";var n=r(26),i=r(55),a=r(154);n({target:"Object",stat:!0,forced:r(8)((function(){a(1)}))},{keys:function(e){return a(i(e))}})},997:function(e,t,r){"use strict";r(998),r(1003),r(1004),r(1005),r(1006),r(1007)},998:function(e,t,r){"use strict";var n,i,a,o=r(26),s=r(72),u=r(351),l=r(15),c=r(29),h=r(47),f=r(147),d=r(83),p=r(639),m=r(71),v=r(18),g=r(28),y=r(189),b=r(704),w=r(705).set,k=r(999),_=r(1002),S=r(611),x=r(708),E=r(64),C=r(593),A=r(600),P=r(594),T=A.CONSTRUCTOR,R=A.REJECTION_EVENT,O=A.SUBCLASSING,M=E.getterFor("Promise"),N=E.set,B=C&&C.prototype,I=C,L=B,j=l.TypeError,D=l.document,z=l.process,F=P.f,U=F,W=!!(D&&D.createEvent&&l.dispatchEvent),H=function(e){var t;return!(!g(e)||!v(t=e.then))&&t},q=function(e,t){var r,n,i,a=t.value,o=1===t.state,s=o?e.ok:e.fail,u=e.resolve,l=e.reject,h=e.domain;try{s?(o||(2===t.rejection&&Y(t),t.rejection=1),!0===s?r=a:(h&&h.enter(),r=s(a),h&&(h.exit(),i=!0)),r===e.promise?l(new j("Promise-chain cycle")):(n=H(r))?c(n,r,u,l):u(r)):l(a)}catch(e){h&&!i&&h.exit(),l(e)}},V=function(e,t){e.notified||(e.notified=!0,k((function(){for(var r,n=e.reactions;r=n.get();)q(r,e);e.notified=!1,t&&!e.rejection&&X(e)})))},Z=function(e,t,r){var n,i;W?((n=D.createEvent("Event")).promise=t,n.reason=r,n.initEvent(e,!1,!0),l.dispatchEvent(n)):n={promise:t,reason:r},!R&&(i=l["on"+e])?i(n):"unhandledrejection"===e&&_("Unhandled promise rejection",r)},X=function(e){c(w,l,(function(){var t,r=e.facade,n=e.value;if(G(e)&&(t=S((function(){u?z.emit("unhandledRejection",n,r):Z("unhandledrejection",r,n)})),e.rejection=u||G(e)?2:1,t.error))throw t.value}))},G=function(e){return 1!==e.rejection&&!e.parent},Y=function(e){c(w,l,(function(){var t=e.facade;u?z.emit("rejectionHandled",t):Z("rejectionhandled",t,e.value)}))},J=function(e,t,r){return function(n){e(t,n,r)}},K=function(e,t,r){e.done||(e.done=!0,r&&(e=r),e.value=t,e.state=2,V(e,!0))},$=function(e,t,r){if(!e.done){e.done=!0,r&&(e=r);try{if(e.facade===t)throw new j("Promise can't be resolved itself");var n=H(t);n?k((function(){var r={done:!1};try{c(n,t,J($,r,e),J(K,r,e))}catch(t){K(r,t,e)}})):(e.value=t,e.state=1,V(e,!1))}catch(t){K({done:!1},t,e)}}};if(T&&(L=(I=function(e){y(this,L),m(e),c(n,this);var t=M(this);try{e(J($,t),J(K,t))}catch(e){K(t,e)}}).prototype,(n=function(e){N(this,{type:"Promise",done:!1,notified:!1,parent:!1,reactions:new x,rejection:!1,state:0,value:null})}).prototype=h(L,"then",(function(e,t){var r=M(this),n=F(b(this,I));return r.parent=!0,n.ok=!v(e)||e,n.fail=v(t)&&t,n.domain=u?z.domain:void 0,0===r.state?r.reactions.add(n):k((function(){q(n,r)})),n.promise})),i=function(){var e=new n,t=M(e);this.promise=e,this.resolve=J($,t),this.reject=J(K,t)},P.f=F=function(e){return e===I||void 0===e?new i(e):U(e)},!s&&v(C)&&B!==Object.prototype)){a=B.then,O||h(B,"then",(function(e,t){var r=this;return new I((function(e,t){c(a,r,e,t)})).then(e,t)}),{unsafe:!0});try{delete B.constructor}catch(e){}f&&f(B,L)}o({global:!0,constructor:!0,wrap:!0,forced:T},{Promise:I}),d(I,"Promise",!1,!0),p("Promise")},999:function(e,t,r){"use strict";var n,i,a,o,s,u=r(15),l=r(707),c=r(186),h=r(705).set,f=r(708),d=r(706),p=r(1e3),m=r(1001),v=r(351),g=u.MutationObserver||u.WebKitMutationObserver,y=u.document,b=u.process,w=u.Promise,k=l("queueMicrotask");if(!k){var _=new f,S=function(){var e,t;for(v&&(e=b.domain)&&e.exit();t=_.get();)try{t()}catch(e){throw _.head&&n(),e}e&&e.enter()};d||v||m||!g||!y?!p&&w&&w.resolve?((o=w.resolve(void 0)).constructor=w,s=c(o.then,o),n=function(){s(S)}):v?n=function(){b.nextTick(S)}:(h=c(h,u),n=function(){h(S)}):(i=!0,a=y.createTextNode(""),new g(S).observe(a,{characterData:!0}),n=function(){a.data=i=!i}),k=function(e){_.head||n(),_.add(e)}}e.exports=k}}]);
2
+ (window.webpackJsonpfeffery_utils_components=window.webpackJsonpfeffery_utils_components||[]).push([[34],{1e3:function(e,t,r){"use strict";r(82)(Math,"Math",!0)},1001:function(e,t,r){"use strict";var n=r(27),i=r(5),a=r(104),o=r(379),s=r(1002),u=r(7),l=RangeError,c=String,h=Math.floor,f=i(s),d=i("".slice),p=i(1.1.toFixed),m=function(e,t,r){return 0===t?r:t%2==1?m(e,t-1,r*e):m(e*e,t/2,r)},v=function(e,t,r){for(var n=-1,i=r;++n<6;)i+=t*e[n],e[n]=i%1e7,i=h(i/1e7)},g=function(e,t){for(var r=6,n=0;--r>=0;)n+=e[r],e[r]=h(n/t),n=n%t*1e7},y=function(e){for(var t=6,r="";--t>=0;)if(""!==r||0===t||0!==e[t]){var n=c(e[t]);r=""===r?n:r+f("0",7-n.length)+n}return r};n({target:"Number",proto:!0,forced:u((function(){return"0.000"!==p(8e-5,3)||"1"!==p(.9,0)||"1.25"!==p(1.255,2)||"1000000000000000128"!==p(0xde0b6b3a7640080,0)}))||!u((function(){p({})}))},{toFixed:function(e){var t,r,n,i,s=o(this),u=a(e),h=[0,0,0,0,0,0],p="",b="0";if(u<0||u>20)throw new l("Incorrect fraction digits");if(s!=s)return"NaN";if(s<=-1e21||s>=1e21)return c(s);if(s<0&&(p="-",s=-s),s>1e-21)if(r=(t=function(e){for(var t=0,r=e;r>=4096;)t+=12,r/=4096;for(;r>=2;)t+=1,r/=2;return t}(s*m(2,69,1))-69)<0?s*m(2,-t,1):s/m(2,t,1),r*=4503599627370496,(t=52-t)>0){for(v(h,0,r),n=u;n>=7;)v(h,1e7,0),n-=7;for(v(h,m(10,n,1),0),n=t-1;n>=23;)g(h,1<<23),n-=23;g(h,1<<n),v(h,1,1),g(h,2),b=y(h)}else v(h,0,r),v(h,1<<-t,0),b=y(h)+f("0",u);return b=u>0?p+((i=b.length)<=u?"0."+f("0",u-i)+b:d(b,0,i-u)+"."+d(b,i-u)):p+b}})},1002:function(e,t,r){"use strict";var n=r(104),i=r(40),a=r(66),o=RangeError;e.exports=function(e){var t=i(a(this)),r="",s=n(e);if(s<0||s===1/0)throw new o("Wrong number of repetitions");for(;s>0;(s>>>=1)&&(t+=t))1&s&&(r+=t);return r}},1003:function(e,t,r){"use strict";var n=r(27),i=r(1004).entries;n({target:"Object",stat:!0},{entries:function(e){return i(e)}})},1004:function(e,t,r){"use strict";var n=r(34),i=r(7),a=r(5),o=r(151),s=r(154),u=r(63),l=a(r(155).f),c=a([].push),h=n&&i((function(){var e=Object.create(null);return e[2]=2,!l(e,2)})),f=function(e){return function(t){for(var r,i=u(t),a=s(i),f=h&&null===o(i),d=a.length,p=0,m=[];d>p;)r=a[p++],n&&!(f?r in i:l(i,r))||c(m,e?[r,i[r]]:i[r]);return m}};e.exports={entries:f(!0),values:f(!1)}},1005:function(e,t,r){"use strict";var n=r(27),i=r(7),a=r(63),o=r(106).f,s=r(34);n({target:"Object",stat:!0,forced:!s||i((function(){o(1)})),sham:!s},{getOwnPropertyDescriptor:function(e,t){return o(a(e),t)}})},1006:function(e,t,r){"use strict";var n=r(27),i=r(34),a=r(360),o=r(63),s=r(106),u=r(600);n({target:"Object",stat:!0,sham:!i},{getOwnPropertyDescriptors:function(e){for(var t,r,n=o(e),i=s.f,l=a(n),c={},h=0;l.length>h;)void 0!==(r=i(n,t=l[h++]))&&u(c,t,r);return c}})},1007:function(e,t,r){"use strict";var n=r(27),i=r(7),a=r(240).f;n({target:"Object",stat:!0,forced:i((function(){return!Object.getOwnPropertyNames(1)}))},{getOwnPropertyNames:a})},1008:function(e,t,r){"use strict";var n=r(27),i=r(55),a=r(154);n({target:"Object",stat:!0,forced:r(7)((function(){a(1)}))},{keys:function(e){return a(i(e))}})},1009:function(e,t,r){"use strict";r(1010),r(1015),r(1016),r(1017),r(1018),r(1019)},1010:function(e,t,r){"use strict";var n,i,a,o,s=r(27),u=r(72),l=r(353),c=r(13),h=r(245),f=r(29),d=r(47),p=r(147),m=r(82),v=r(643),g=r(71),y=r(19),b=r(24),w=r(189),k=r(710),_=r(711).set,S=r(1011),x=r(1014),E=r(614),C=r(714),A=r(64),P=r(595),T=r(601),R=r(596),O=T.CONSTRUCTOR,M=T.REJECTION_EVENT,N=T.SUBCLASSING,B=A.getterFor("Promise"),L=A.set,I=P&&P.prototype,j=P,D=I,z=c.TypeError,F=c.document,U=c.process,W=R.f,H=W,q=!!(F&&F.createEvent&&c.dispatchEvent),V=function(e){var t;return!(!b(e)||!y(t=e.then))&&t},Z=function(e,t){var r,n,i,a=t.value,o=1===t.state,s=o?e.ok:e.fail,u=e.resolve,l=e.reject,c=e.domain;try{s?(o||(2===t.rejection&&K(t),t.rejection=1),!0===s?r=a:(c&&c.enter(),r=s(a),c&&(c.exit(),i=!0)),r===e.promise?l(new z("Promise-chain cycle")):(n=V(r))?f(n,r,u,l):u(r)):l(a)}catch(e){c&&!i&&c.exit(),l(e)}},X=function(e,t){e.notified||(e.notified=!0,S((function(){for(var r,n=e.reactions;r=n.get();)Z(r,e);e.notified=!1,t&&!e.rejection&&Y(e)})))},G=function(e,t,r){var n,i;q?((n=F.createEvent("Event")).promise=t,n.reason=r,n.initEvent(e,!1,!0),c.dispatchEvent(n)):n={promise:t,reason:r},!M&&(i=c["on"+e])?i(n):"unhandledrejection"===e&&x("Unhandled promise rejection",r)},Y=function(e){f(_,c,(function(){var t,r=e.facade,n=e.value;if(J(e)&&(t=E((function(){l?U.emit("unhandledRejection",n,r):G("unhandledrejection",r,n)})),e.rejection=l||J(e)?2:1,t.error))throw t.value}))},J=function(e){return 1!==e.rejection&&!e.parent},K=function(e){f(_,c,(function(){var t=e.facade;l?U.emit("rejectionHandled",t):G("rejectionhandled",t,e.value)}))},$=function(e,t,r){return function(n){e(t,n,r)}},Q=function(e,t,r){e.done||(e.done=!0,r&&(e=r),e.value=t,e.state=2,X(e,!0))},ee=function(e,t,r){if(!e.done){e.done=!0,r&&(e=r);try{if(e.facade===t)throw new z("Promise can't be resolved itself");var n=V(t);n?S((function(){var r={done:!1};try{f(n,t,$(ee,r,e),$(Q,r,e))}catch(t){Q(r,t,e)}})):(e.value=t,e.state=1,X(e,!1))}catch(t){Q({done:!1},t,e)}}};if(O&&(D=(j=function(e){w(this,D),g(e),f(n,this);var t=B(this);try{e($(ee,t),$(Q,t))}catch(e){Q(t,e)}}).prototype,(n=function(e){L(this,{type:"Promise",done:!1,notified:!1,parent:!1,reactions:new C,rejection:!1,state:0,value:null})}).prototype=d(D,"then",(function(e,t){var r=B(this),n=W(k(this,j));return r.parent=!0,n.ok=!y(e)||e,n.fail=y(t)&&t,n.domain=l?U.domain:void 0,0===r.state?r.reactions.add(n):S((function(){Z(n,r)})),n.promise})),i=function(){var e=new n,t=B(e);this.promise=e,this.resolve=$(ee,t),this.reject=$(Q,t)},R.f=W=function(e){return e===j||e===a?new i(e):H(e)},!u&&y(P)&&I!==Object.prototype)){o=I.then,N||d(I,"then",(function(e,t){var r=this;return new j((function(e,t){f(o,r,e,t)})).then(e,t)}),{unsafe:!0});try{delete I.constructor}catch(e){}p&&p(I,D)}s({global:!0,constructor:!0,wrap:!0,forced:O},{Promise:j}),a=h.Promise,m(j,"Promise",!1,!0),v("Promise")},1011:function(e,t,r){"use strict";var n,i,a,o,s,u=r(13),l=r(713),c=r(186),h=r(711).set,f=r(714),d=r(712),p=r(1012),m=r(1013),v=r(353),g=u.MutationObserver||u.WebKitMutationObserver,y=u.document,b=u.process,w=u.Promise,k=l("queueMicrotask");if(!k){var _=new f,S=function(){var e,t;for(v&&(e=b.domain)&&e.exit();t=_.get();)try{t()}catch(e){throw _.head&&n(),e}e&&e.enter()};d||v||m||!g||!y?!p&&w&&w.resolve?((o=w.resolve(void 0)).constructor=w,s=c(o.then,o),n=function(){s(S)}):v?n=function(){b.nextTick(S)}:(h=c(h,u),n=function(){h(S)}):(i=!0,a=y.createTextNode(""),new g(S).observe(a,{characterData:!0}),n=function(){a.data=i=!i}),k=function(e){_.head||n(),_.add(e)}}e.exports=k},1012:function(e,t,r){"use strict";var n=r(187);e.exports=/ipad|iphone|ipod/i.test(n)&&"undefined"!=typeof Pebble},1013:function(e,t,r){"use strict";var n=r(187);e.exports=/web0s(?!.*chrome)/i.test(n)},1014:function(e,t,r){"use strict";e.exports=function(e,t){try{1===arguments.length?console.error(e):console.error(e,t)}catch(e){}}},1015:function(e,t,r){"use strict";var n=r(27),i=r(29),a=r(71),o=r(596),s=r(614),u=r(193);n({target:"Promise",stat:!0,forced:r(645)},{all:function(e){var t=this,r=o.f(t),n=r.resolve,l=r.reject,c=s((function(){var r=a(t.resolve),o=[],s=0,c=1;u(e,(function(e){var a=s++,u=!1;c++,i(r,t,e).then((function(e){u||(u=!0,o[a]=e,--c||n(o))}),l)})),--c||n(o)}));return c.error&&l(c.value),r.promise}})},1016:function(e,t,r){"use strict";var n=r(27),i=r(72),a=r(601).CONSTRUCTOR,o=r(595),s=r(56),u=r(19),l=r(47),c=o&&o.prototype;if(n({target:"Promise",proto:!0,forced:a,real:!0},{catch:function(e){return this.then(void 0,e)}}),!i&&u(o)){var h=s("Promise").prototype.catch;c.catch!==h&&l(c,"catch",h,{unsafe:!0})}},1017:function(e,t,r){"use strict";var n=r(27),i=r(29),a=r(71),o=r(596),s=r(614),u=r(193);n({target:"Promise",stat:!0,forced:r(645)},{race:function(e){var t=this,r=o.f(t),n=r.reject,l=s((function(){var o=a(t.resolve);u(e,(function(e){i(o,t,e).then(r.resolve,n)}))}));return l.error&&n(l.value),r.promise}})},1018:function(e,t,r){"use strict";var n=r(27),i=r(596);n({target:"Promise",stat:!0,forced:r(601).CONSTRUCTOR},{reject:function(e){var t=i.f(this);return(0,t.reject)(e),t.promise}})},1019:function(e,t,r){"use strict";var n=r(27),i=r(56),a=r(72),o=r(595),s=r(601).CONSTRUCTOR,u=r(715),l=i("Promise"),c=a&&!s;n({target:"Promise",stat:!0,forced:a||s},{resolve:function(e){return u(c&&this===l?o:this,e)}})},1020:function(e,t,r){"use strict";var n=r(27),i=r(72),a=r(595),o=r(7),s=r(56),u=r(19),l=r(710),c=r(715),h=r(47),f=a&&a.prototype;if(n({target:"Promise",proto:!0,real:!0,forced:!!a&&o((function(){f.finally.call({then:function(){}},(function(){}))}))},{finally:function(e){var t=l(this,s("Promise")),r=u(e);return this.then(r?function(r){return c(t,e()).then((function(){return r}))}:e,r?function(r){return c(t,e()).then((function(){throw r}))}:e)}}),!i&&u(a)){var d=s("Promise").prototype.finally;f.finally!==d&&h(f,"finally",d,{unsafe:!0})}},1021:function(e,t,r){"use strict";var n=r(34),i=r(144),a=r(370),o=r(243);n&&!a.correct&&(i(RegExp.prototype,"flags",{configurable:!0,get:o}),a.correct=!0)},1022:function(e,t,r){"use strict";var n=r(149).PROPER,i=r(47),a=r(32),o=r(40),s=r(7),u=r(244),l=RegExp.prototype,c=l.toString,h=s((function(){return"/a/b"!==c.call({source:"a",flags:"b"})})),f=n&&"toString"!==c.name;(h||f)&&i(l,"toString",(function(){var e=a(this);return"/"+o(e.source)+"/"+o(u(e))}),{unsafe:!0})},1023:function(e,t,r){"use strict";var n=r(27),i=r(5),a=r(716),o=r(66),s=r(40),u=r(717),l=i("".indexOf);n({target:"String",proto:!0,forced:!u("includes")},{includes:function(e){return!!~l(s(o(this)),s(a(e)),arguments.length>1?arguments[1]:void 0)}})},1024:function(e,t,r){"use strict";var n=r(24),i=r(50),a=r(23)("match");e.exports=function(e){var t;return n(e)&&(void 0!==(t=e[a])?!!t:"RegExp"===i(e))}},1025:function(e,t,r){"use strict";var n,i=r(27),a=r(354),o=r(106).f,s=r(145),u=r(40),l=r(716),c=r(66),h=r(717),f=r(72),d=a("".slice),p=Math.min,m=h("startsWith");i({target:"String",proto:!0,forced:!!(f||m||(n=o(String.prototype,"startsWith"),!n||n.writable))&&!m},{startsWith:function(e){var t=u(c(this));l(e);var r=s(p(arguments.length>1?arguments[1]:void 0,t.length)),n=u(e);return d(t,r,r+n.length)===n}})},1026:function(e,t,r){"use strict";var n=r(27),i=r(235).trim;n({target:"String",proto:!0,forced:r(1027)("trim")},{trim:function(){return i(this)}})},1027:function(e,t,r){"use strict";var n=r(149).PROPER,i=r(7),a=r(236);e.exports=function(e){return i((function(){return!!a[e]()||"​…᠎"!=="​…᠎"[e]()||n&&a[e].name!==e}))}},1028:function(e,t,r){"use strict";r(615)("Int32",(function(e){return function(t,r,n){return e(this,t,r,n)}}))},1029:function(e,t,r){"use strict";var n=r(24),i=Math.floor;e.exports=Number.isInteger||function(e){return!n(e)&&isFinite(e)&&i(e)===e}},1030:function(e,t,r){"use strict";var n=r(104),i=RangeError;e.exports=function(e){var t=n(e);if(t<0)throw new i("The argument can't be less than 0");return t}},1031:function(e,t,r){"use strict";var n=Math.round;e.exports=function(e){var t=n(e);return t<0?0:t>255?255:255&t}},1032:function(e,t,r){"use strict";var n=r(105);e.exports=function(e){var t=n(e);return"BigInt64Array"===t||"BigUint64Array"===t}},1033:function(e,t,r){"use strict";r(615)("Uint8",(function(e){return function(t,r,n){return e(this,t,r,n)}}))},1034:function(e,t,r){"use strict";r(615)("Uint16",(function(e){return function(t,r,n){return e(this,t,r,n)}}))},1035:function(e,t,r){"use strict";r(615)("Uint32",(function(e){return function(t,r,n){return e(this,t,r,n)}}))},1036:function(e,t,r){"use strict";var n=r(5),i=r(578),a=n(r(1037)),o=i.aTypedArray;(0,i.exportTypedArrayMethod)("copyWithin",(function(e,t){return a(o(this),e,t,arguments.length>2?arguments[2]:void 0)}))},1037:function(e,t,r){"use strict";var n=r(55),i=r(344),a=r(101),o=r(641),s=Math.min;e.exports=[].copyWithin||function(e,t){var r=n(this),u=a(r),l=i(e,u),c=i(t,u),h=arguments.length>2?arguments[2]:void 0,f=s((void 0===h?u:i(h,u))-c,u-l),d=1;for(c<l&&l<c+f&&(d=-1,c+=f-1,l+=f-1);f-- >0;)c in r?r[l]=r[c]:o(r,l),l+=d,c+=d;return r}},1038:function(e,t,r){"use strict";var n=r(578),i=r(141).every,a=n.aTypedArray;(0,n.exportTypedArrayMethod)("every",(function(e){return i(a(this),e,arguments.length>1?arguments[1]:void 0)}))},1039:function(e,t,r){"use strict";var n=r(578),i=r(640),a=r(721),o=r(105),s=r(29),u=r(5),l=r(7),c=n.aTypedArray,h=n.exportTypedArrayMethod,f=u("".slice);h("fill",(function(e){var t=arguments.length;c(this);var r="Big"===f(o(this),0,3)?a(e):+e;return s(i,this,r,t>1?arguments[1]:void 0,t>2?arguments[2]:void 0)}),l((function(){var e=0;return new Int8Array(2).fill({valueOf:function(){return e++}}),1!==e})))},1040:function(e,t,r){"use strict";var n=r(578),i=r(141).filter,a=r(1041),o=n.aTypedArray;(0,n.exportTypedArrayMethod)("filter",(function(e){var t=i(o(this),e,arguments.length>1?arguments[1]:void 0);return a(this,t)}))},1041:function(e,t,r){"use strict";var n=r(722),i=r(578).getTypedArrayConstructor;e.exports=function(e,t){return n(i(e),t)}},1042:function(e,t,r){"use strict";var n=r(578),i=r(141).find,a=n.aTypedArray;(0,n.exportTypedArrayMethod)("find",(function(e){return i(a(this),e,arguments.length>1?arguments[1]:void 0)}))},1043:function(e,t,r){"use strict";var n=r(578),i=r(141).findIndex,a=n.aTypedArray;(0,n.exportTypedArrayMethod)("findIndex",(function(e){return i(a(this),e,arguments.length>1?arguments[1]:void 0)}))},1044:function(e,t,r){"use strict";var n=r(578),i=r(141).forEach,a=n.aTypedArray;(0,n.exportTypedArrayMethod)("forEach",(function(e){i(a(this),e,arguments.length>1?arguments[1]:void 0)}))},1045:function(e,t,r){"use strict";var n=r(718);(0,r(578).exportTypedArrayStaticMethod)("from",r(720),n)},1046:function(e,t,r){"use strict";var n=r(578),i=r(349).includes,a=n.aTypedArray;(0,n.exportTypedArrayMethod)("includes",(function(e){return i(a(this),e,arguments.length>1?arguments[1]:void 0)}))},1047:function(e,t,r){"use strict";var n=r(578),i=r(349).indexOf,a=n.aTypedArray;(0,n.exportTypedArrayMethod)("indexOf",(function(e){return i(a(this),e,arguments.length>1?arguments[1]:void 0)}))},1048:function(e,t,r){"use strict";var n=r(13),i=r(7),a=r(5),o=r(578),s=r(150),u=r(23)("iterator"),l=n.Uint8Array,c=a(s.values),h=a(s.keys),f=a(s.entries),d=o.aTypedArray,p=o.exportTypedArrayMethod,m=l&&l.prototype,v=!i((function(){m[u].call([1])})),g=!!m&&m.values&&m[u]===m.values&&"values"===m.values.name,y=function(){return c(d(this))};p("entries",(function(){return f(d(this))}),v),p("keys",(function(){return h(d(this))}),v),p("values",y,v||!g,{name:"values"}),p(u,y,v||!g,{name:"values"})},1049:function(e,t,r){"use strict";var n=r(578),i=r(5),a=n.aTypedArray,o=n.exportTypedArrayMethod,s=i([].join);o("join",(function(e){return s(a(this),e)}))},1050:function(e,t,r){"use strict";var n=r(578),i=r(148),a=r(1051),o=n.aTypedArray;(0,n.exportTypedArrayMethod)("lastIndexOf",(function(e){var t=arguments.length;return i(a,o(this),t>1?[e,arguments[1]]:[e])}))},1051:function(e,t,r){"use strict";var n=r(148),i=r(63),a=r(104),o=r(101),s=r(347),u=Math.min,l=[].lastIndexOf,c=!!l&&1/[1].lastIndexOf(1,-0)<0,h=s("lastIndexOf"),f=c||!h;e.exports=f?function(e){if(c)return n(l,this,arguments)||0;var t=i(this),r=o(t);if(0===r)return-1;var s=r-1;for(arguments.length>1&&(s=u(s,a(arguments[1]))),s<0&&(s=r+s);s>=0;s--)if(s in t&&t[s]===e)return s||0;return-1}:l},1052:function(e,t,r){"use strict";var n=r(578),i=r(141).map,a=n.aTypedArray,o=n.getTypedArrayConstructor;(0,n.exportTypedArrayMethod)("map",(function(e){return i(a(this),e,arguments.length>1?arguments[1]:void 0,(function(e,t){return new(o(e))(t)}))}))},1053:function(e,t,r){"use strict";var n=r(578),i=r(356).left,a=n.aTypedArray;(0,n.exportTypedArrayMethod)("reduce",(function(e){var t=arguments.length;return i(a(this),e,t,t>1?arguments[1]:void 0)}))},1054:function(e,t,r){"use strict";var n=r(578),i=r(356).right,a=n.aTypedArray;(0,n.exportTypedArrayMethod)("reduceRight",(function(e){var t=arguments.length;return i(a(this),e,t,t>1?arguments[1]:void 0)}))},1055:function(e,t,r){"use strict";var n=r(578),i=n.aTypedArray,a=n.exportTypedArrayMethod,o=Math.floor;a("reverse",(function(){for(var e,t=i(this).length,r=o(t/2),n=0;n<r;)e=this[n],this[n++]=this[--t],this[t]=e;return this}))},1056:function(e,t,r){"use strict";var n=r(13),i=r(29),a=r(578),o=r(101),s=r(719),u=r(55),l=r(7),c=n.RangeError,h=n.Int8Array,f=h&&h.prototype,d=f&&f.set,p=a.aTypedArray,m=a.exportTypedArrayMethod,v=!l((function(){var e=new Uint8ClampedArray(2);return i(d,e,{length:1,0:3},1),3!==e[1]})),g=v&&a.NATIVE_ARRAY_BUFFER_VIEWS&&l((function(){var e=new h(2);return e.set(1),e.set("2",1),0!==e[0]||2!==e[1]}));m("set",(function(e){p(this);var t=s(arguments.length>1?arguments[1]:void 0,1),r=u(e);if(v)return i(d,this,r,t);var n=this.length,a=o(r),l=0;if(a+t>n)throw new c("Wrong length");for(;l<a;)this[t+l]=r[l++]}),!v||g)},1057:function(e,t,r){"use strict";var n=r(578),i=r(7),a=r(143),o=n.aTypedArray,s=n.getTypedArrayConstructor;(0,n.exportTypedArrayMethod)("slice",(function(e,t){for(var r=a(o(this),e,t),n=s(this),i=0,u=r.length,l=new n(u);u>i;)l[i]=r[i++];return l}),i((function(){new Int8Array(1).slice()})))},1058:function(e,t,r){"use strict";var n=r(578),i=r(141).some,a=n.aTypedArray;(0,n.exportTypedArrayMethod)("some",(function(e){return i(a(this),e,arguments.length>1?arguments[1]:void 0)}))},1059:function(e,t,r){"use strict";var n=r(13),i=r(354),a=r(7),o=r(71),s=r(642),u=r(578),l=r(704),c=r(705),h=r(146),f=r(706),d=u.aTypedArray,p=u.exportTypedArrayMethod,m=n.Uint16Array,v=m&&i(m.prototype.sort),g=!(!v||a((function(){v(new m(2),null)}))&&a((function(){v(new m(2),{})}))),y=!!v&&!a((function(){if(h)return h<74;if(l)return l<67;if(c)return!0;if(f)return f<602;var e,t,r=new m(516),n=Array(516);for(e=0;e<516;e++)t=e%4,r[e]=515-e,n[e]=e-2*t+3;for(v(r,(function(e,t){return(e/4|0)-(t/4|0)})),e=0;e<516;e++)if(r[e]!==n[e])return!0}));p("sort",(function(e){return void 0!==e&&o(e),y?v(this,e):s(d(this),function(e){return function(t,r){return void 0!==e?+e(t,r)||0:r!=r?-1:t!=t?1:0===t&&0===r?1/t>0&&1/r<0?1:-1:t>r}}(e))}),!y||g)},1060:function(e,t,r){"use strict";var n=r(578),i=r(145),a=r(344),o=n.aTypedArray,s=n.getTypedArrayConstructor;(0,n.exportTypedArrayMethod)("subarray",(function(e,t){var r=o(this),n=r.length,u=a(e,n);return new(s(r))(r.buffer,r.byteOffset+u*r.BYTES_PER_ELEMENT,i((void 0===t?n:a(t,n))-u))}))},1061:function(e,t,r){"use strict";var n=r(13),i=r(148),a=r(578),o=r(7),s=r(143),u=n.Int8Array,l=a.aTypedArray,c=a.exportTypedArrayMethod,h=[].toLocaleString,f=!!u&&o((function(){h.call(new u(1))}));c("toLocaleString",(function(){return i(h,f?s(l(this)):l(this),s(arguments))}),o((function(){return[1,2].toLocaleString()!==new u([1,2]).toLocaleString()}))||!o((function(){u.prototype.toLocaleString.call([1,2])})))},1062:function(e,t,r){"use strict";var n=r(578).exportTypedArrayMethod,i=r(7),a=r(13),o=r(5),s=a.Uint8Array,u=s&&s.prototype||{},l=[].toString,c=o([].join);i((function(){l.call({})}))&&(l=function(){return c(this)});var h=u.toString!==l;n("toString",l,h)},1063:function(e,t,r){"use strict";r(1064)},1064:function(e,t,r){"use strict";var n=r(27),i=r(13);n({global:!0,forced:i.globalThis!==i},{globalThis:i})},1065:function(e,t,r){"use strict";r(1066)},1066:function(e,t,r){"use strict";var n=r(27),i=r(29),a=r(71),o=r(596),s=r(614),u=r(193);n({target:"Promise",stat:!0,forced:r(645)},{allSettled:function(e){var t=this,r=o.f(t),n=r.resolve,l=r.reject,c=s((function(){var r=a(t.resolve),o=[],s=0,l=1;u(e,(function(e){var a=s++,u=!1;l++,i(r,t,e).then((function(e){u||(u=!0,o[a]={status:"fulfilled",value:e},--l||n(o))}),(function(e){u||(u=!0,o[a]={status:"rejected",reason:e},--l||n(o))}))})),--l||n(o)}));return c.error&&l(c.value),r.promise}})},1067:function(e,t,r){"use strict";var n=r(13),i=r(367),a=r(368),o=r(1068),s=r(83),u=function(e){if(e&&e.forEach!==o)try{s(e,"forEach",o)}catch(t){e.forEach=o}};for(var l in i)i[l]&&u(n[l]&&n[l].prototype);u(a)},1068:function(e,t,r){"use strict";var n=r(141).forEach,i=r(347)("forEach");e.exports=i?[].forEach:function(e){return n(this,e,arguments.length>1?arguments[1]:void 0)}},1069:function(e,t,r){"use strict";r(1070)},1070:function(e,t,r){"use strict";r(198);var n,i=r(27),a=r(34),o=r(723),s=r(13),u=r(186),l=r(5),c=r(47),h=r(144),f=r(189),d=r(20),p=r(362),m=r(703),v=r(143),g=r(239).codeAt,y=r(1071),b=r(40),w=r(82),k=r(644),_=r(724),S=r(64),x=S.set,E=S.getterFor("URL"),C=_.URLSearchParams,A=_.getState,P=s.URL,T=s.TypeError,R=s.parseInt,O=Math.floor,M=Math.pow,N=l("".charAt),B=l(/./.exec),L=l([].join),I=l(1.1.toString),j=l([].pop),D=l([].push),z=l("".replace),F=l([].shift),U=l("".split),W=l("".slice),H=l("".toLowerCase),q=l([].unshift),V=/[a-z]/i,Z=/[\d+-.a-z]/i,X=/\d/,G=/^0x/i,Y=/^[0-7]+$/,J=/^\d+$/,K=/^[\da-f]+$/i,$=/[\0\t\n\r #%/:<>?@[\\\]^|]/,Q=/[\0\t\n\r #/:<>?@[\\\]^|]/,ee=/^[\u0000-\u0020]+/,te=/(^|[^\u0000-\u0020])[\u0000-\u0020]+$/,re=/[\t\n\r]/g,ne=function(e){var t,r,n,i;if("number"==typeof e){for(t=[],r=0;r<4;r++)q(t,e%256),e=O(e/256);return L(t,".")}if("object"==typeof e){for(t="",n=function(e){for(var t=null,r=1,n=null,i=0,a=0;a<8;a++)0!==e[a]?(i>r&&(t=n,r=i),n=null,i=0):(null===n&&(n=a),++i);return i>r?n:t}(e),r=0;r<8;r++)i&&0===e[r]||(i&&(i=!1),n===r?(t+=r?":":"::",i=!0):(t+=I(e[r],16),r<7&&(t+=":")));return"["+t+"]"}return e},ie={},ae=p({},ie,{" ":1,'"':1,"<":1,">":1,"`":1}),oe=p({},ae,{"#":1,"?":1,"{":1,"}":1}),se=p({},oe,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),ue=function(e,t){var r=g(e,0);return r>32&&r<127&&!d(t,e)?e:encodeURIComponent(e)},le={ftp:21,file:null,http:80,https:443,ws:80,wss:443},ce=function(e,t){var r;return 2===e.length&&B(V,N(e,0))&&(":"===(r=N(e,1))||!t&&"|"===r)},he=function(e){var t;return e.length>1&&ce(W(e,0,2))&&(2===e.length||"/"===(t=N(e,2))||"\\"===t||"?"===t||"#"===t)},fe=function(e){return"."===e||"%2e"===H(e)},de={},pe={},me={},ve={},ge={},ye={},be={},we={},ke={},_e={},Se={},xe={},Ee={},Ce={},Ae={},Pe={},Te={},Re={},Oe={},Me={},Ne={},Be=function(e,t,r){var n,i,a,o=b(e);if(t){if(i=this.parse(o))throw new T(i);this.searchParams=null}else{if(void 0!==r&&(n=new Be(r,!0)),i=this.parse(o,null,n))throw new T(i);(a=A(new C)).bindURL(this),this.searchParams=a}};Be.prototype={type:"URL",parse:function(e,t,r){var i,a,o,s,u,l=this,c=t||de,h=0,f="",p=!1,g=!1,y=!1;for(e=b(e),t||(l.scheme="",l.username="",l.password="",l.host=null,l.port=null,l.path=[],l.query=null,l.fragment=null,l.cannotBeABaseURL=!1,e=z(e,ee,""),e=z(e,te,"$1")),e=z(e,re,""),i=m(e);h<=i.length;){switch(a=i[h],c){case de:if(!a||!B(V,a)){if(t)return"Invalid scheme";c=me;continue}f+=H(a),c=pe;break;case pe:if(a&&(B(Z,a)||"+"===a||"-"===a||"."===a))f+=H(a);else{if(":"!==a){if(t)return"Invalid scheme";f="",c=me,h=0;continue}if(t&&(l.isSpecial()!==d(le,f)||"file"===f&&(l.includesCredentials()||null!==l.port)||"file"===l.scheme&&!l.host))return;if(l.scheme=f,t)return void(l.isSpecial()&&le[l.scheme]===l.port&&(l.port=null));f="","file"===l.scheme?c=Ce:l.isSpecial()&&r&&r.scheme===l.scheme?c=ve:l.isSpecial()?c=we:"/"===i[h+1]?(c=ge,h++):(l.cannotBeABaseURL=!0,D(l.path,""),c=Oe)}break;case me:if(!r||r.cannotBeABaseURL&&"#"!==a)return"Invalid scheme";if(r.cannotBeABaseURL&&"#"===a){l.scheme=r.scheme,l.path=v(r.path),l.query=r.query,l.fragment="",l.cannotBeABaseURL=!0,c=Ne;break}c="file"===r.scheme?Ce:ye;continue;case ve:if("/"!==a||"/"!==i[h+1]){c=ye;continue}c=ke,h++;break;case ge:if("/"===a){c=_e;break}c=Re;continue;case ye:if(l.scheme=r.scheme,a===n)l.username=r.username,l.password=r.password,l.host=r.host,l.port=r.port,l.path=v(r.path),l.query=r.query;else if("/"===a||"\\"===a&&l.isSpecial())c=be;else if("?"===a)l.username=r.username,l.password=r.password,l.host=r.host,l.port=r.port,l.path=v(r.path),l.query="",c=Me;else{if("#"!==a){l.username=r.username,l.password=r.password,l.host=r.host,l.port=r.port,l.path=v(r.path),l.path.length--,c=Re;continue}l.username=r.username,l.password=r.password,l.host=r.host,l.port=r.port,l.path=v(r.path),l.query=r.query,l.fragment="",c=Ne}break;case be:if(!l.isSpecial()||"/"!==a&&"\\"!==a){if("/"!==a){l.username=r.username,l.password=r.password,l.host=r.host,l.port=r.port,c=Re;continue}c=_e}else c=ke;break;case we:if(c=ke,"/"!==a||"/"!==N(f,h+1))continue;h++;break;case ke:if("/"!==a&&"\\"!==a){c=_e;continue}break;case _e:if("@"===a){p&&(f="%40"+f),p=!0,o=m(f);for(var w=0;w<o.length;w++){var k=o[w];if(":"!==k||y){var _=ue(k,se);y?l.password+=_:l.username+=_}else y=!0}f=""}else if(a===n||"/"===a||"?"===a||"#"===a||"\\"===a&&l.isSpecial()){if(p&&""===f)return"Invalid authority";h-=m(f).length+1,f="",c=Se}else f+=a;break;case Se:case xe:if(t&&"file"===l.scheme){c=Pe;continue}if(":"!==a||g){if(a===n||"/"===a||"?"===a||"#"===a||"\\"===a&&l.isSpecial()){if(l.isSpecial()&&""===f)return"Invalid host";if(t&&""===f&&(l.includesCredentials()||null!==l.port))return;if(s=l.parseHost(f))return s;if(f="",c=Te,t)return;continue}"["===a?g=!0:"]"===a&&(g=!1),f+=a}else{if(""===f)return"Invalid host";if(s=l.parseHost(f))return s;if(f="",c=Ee,t===xe)return}break;case Ee:if(!B(X,a)){if(a===n||"/"===a||"?"===a||"#"===a||"\\"===a&&l.isSpecial()||t){if(""!==f){var S=R(f,10);if(S>65535)return"Invalid port";l.port=l.isSpecial()&&S===le[l.scheme]?null:S,f=""}if(t)return;c=Te;continue}return"Invalid port"}f+=a;break;case Ce:if(l.scheme="file","/"===a||"\\"===a)c=Ae;else{if(!r||"file"!==r.scheme){c=Re;continue}switch(a){case n:l.host=r.host,l.path=v(r.path),l.query=r.query;break;case"?":l.host=r.host,l.path=v(r.path),l.query="",c=Me;break;case"#":l.host=r.host,l.path=v(r.path),l.query=r.query,l.fragment="",c=Ne;break;default:he(L(v(i,h),""))||(l.host=r.host,l.path=v(r.path),l.shortenPath()),c=Re;continue}}break;case Ae:if("/"===a||"\\"===a){c=Pe;break}r&&"file"===r.scheme&&!he(L(v(i,h),""))&&(ce(r.path[0],!0)?D(l.path,r.path[0]):l.host=r.host),c=Re;continue;case Pe:if(a===n||"/"===a||"\\"===a||"?"===a||"#"===a){if(!t&&ce(f))c=Re;else if(""===f){if(l.host="",t)return;c=Te}else{if(s=l.parseHost(f))return s;if("localhost"===l.host&&(l.host=""),t)return;f="",c=Te}continue}f+=a;break;case Te:if(l.isSpecial()){if(c=Re,"/"!==a&&"\\"!==a)continue}else if(t||"?"!==a)if(t||"#"!==a){if(a!==n&&(c=Re,"/"!==a))continue}else l.fragment="",c=Ne;else l.query="",c=Me;break;case Re:if(a===n||"/"===a||"\\"===a&&l.isSpecial()||!t&&("?"===a||"#"===a)){if(".."===(u=H(u=f))||"%2e."===u||".%2e"===u||"%2e%2e"===u?(l.shortenPath(),"/"===a||"\\"===a&&l.isSpecial()||D(l.path,"")):fe(f)?"/"===a||"\\"===a&&l.isSpecial()||D(l.path,""):("file"===l.scheme&&!l.path.length&&ce(f)&&(l.host&&(l.host=""),f=N(f,0)+":"),D(l.path,f)),f="","file"===l.scheme&&(a===n||"?"===a||"#"===a))for(;l.path.length>1&&""===l.path[0];)F(l.path);"?"===a?(l.query="",c=Me):"#"===a&&(l.fragment="",c=Ne)}else f+=ue(a,oe);break;case Oe:"?"===a?(l.query="",c=Me):"#"===a?(l.fragment="",c=Ne):a!==n&&(l.path[0]+=ue(a,ie));break;case Me:t||"#"!==a?a!==n&&("'"===a&&l.isSpecial()?l.query+="%27":l.query+="#"===a?"%23":ue(a,ie)):(l.fragment="",c=Ne);break;case Ne:a!==n&&(l.fragment+=ue(a,ae))}h++}},parseHost:function(e){var t,r,n;if("["===N(e,0)){if("]"!==N(e,e.length-1))return"Invalid host";if(!(t=function(e){var t,r,n,i,a,o,s,u=[0,0,0,0,0,0,0,0],l=0,c=null,h=0,f=function(){return N(e,h)};if(":"===f()){if(":"!==N(e,1))return;h+=2,c=++l}for(;f();){if(8===l)return;if(":"!==f()){for(t=r=0;r<4&&B(K,f());)t=16*t+R(f(),16),h++,r++;if("."===f()){if(0===r)return;if(h-=r,l>6)return;for(n=0;f();){if(i=null,n>0){if(!("."===f()&&n<4))return;h++}if(!B(X,f()))return;for(;B(X,f());){if(a=R(f(),10),null===i)i=a;else{if(0===i)return;i=10*i+a}if(i>255)return;h++}u[l]=256*u[l]+i,2!==++n&&4!==n||l++}if(4!==n)return;break}if(":"===f()){if(h++,!f())return}else if(f())return;u[l++]=t}else{if(null!==c)return;h++,c=++l}}if(null!==c)for(o=l-c,l=7;0!==l&&o>0;)s=u[l],u[l--]=u[c+o-1],u[c+--o]=s;else if(8!==l)return;return u}(W(e,1,-1))))return"Invalid host";this.host=t}else if(this.isSpecial()){if(e=y(e),B($,e))return"Invalid host";if(null===(t=function(e){var t,r,n,i,a,o,s,u=U(e,".");if(u.length&&""===u[u.length-1]&&u.length--,(t=u.length)>4)return e;for(r=[],n=0;n<t;n++){if(""===(i=u[n]))return e;if(a=10,i.length>1&&"0"===N(i,0)&&(a=B(G,i)?16:8,i=W(i,8===a?1:2)),""===i)o=0;else{if(!B(10===a?J:8===a?Y:K,i))return e;o=R(i,a)}D(r,o)}for(n=0;n<t;n++)if(o=r[n],n===t-1){if(o>=M(256,5-t))return null}else if(o>255)return null;for(s=j(r),n=0;n<r.length;n++)s+=r[n]*M(256,3-n);return s}(e)))return"Invalid host";this.host=t}else{if(B(Q,e))return"Invalid host";for(t="",r=m(e),n=0;n<r.length;n++)t+=ue(r[n],ie);this.host=t}},cannotHaveUsernamePasswordPort:function(){return!this.host||this.cannotBeABaseURL||"file"===this.scheme},includesCredentials:function(){return""!==this.username||""!==this.password},isSpecial:function(){return d(le,this.scheme)},shortenPath:function(){var e=this.path,t=e.length;!t||"file"===this.scheme&&1===t&&ce(e[0],!0)||e.length--},serialize:function(){var e=this,t=e.scheme,r=e.username,n=e.password,i=e.host,a=e.port,o=e.path,s=e.query,u=e.fragment,l=t+":";return null!==i?(l+="//",e.includesCredentials()&&(l+=r+(n?":"+n:"")+"@"),l+=ne(i),null!==a&&(l+=":"+a)):"file"===t&&(l+="//"),l+=e.cannotBeABaseURL?o[0]:o.length?"/"+L(o,"/"):"",null!==s&&(l+="?"+s),null!==u&&(l+="#"+u),l},setHref:function(e){var t=this.parse(e);if(t)throw new T(t);this.searchParams.update()},getOrigin:function(){var e=this.scheme,t=this.port;if("blob"===e)try{return new Le(e.path[0]).origin}catch(e){return"null"}return"file"!==e&&this.isSpecial()?e+"://"+ne(this.host)+(null!==t?":"+t:""):"null"},getProtocol:function(){return this.scheme+":"},setProtocol:function(e){this.parse(b(e)+":",de)},getUsername:function(){return this.username},setUsername:function(e){var t=m(b(e));if(!this.cannotHaveUsernamePasswordPort()){this.username="";for(var r=0;r<t.length;r++)this.username+=ue(t[r],se)}},getPassword:function(){return this.password},setPassword:function(e){var t=m(b(e));if(!this.cannotHaveUsernamePasswordPort()){this.password="";for(var r=0;r<t.length;r++)this.password+=ue(t[r],se)}},getHost:function(){var e=this.host,t=this.port;return null===e?"":null===t?ne(e):ne(e)+":"+t},setHost:function(e){this.cannotBeABaseURL||this.parse(e,Se)},getHostname:function(){var e=this.host;return null===e?"":ne(e)},setHostname:function(e){this.cannotBeABaseURL||this.parse(e,xe)},getPort:function(){var e=this.port;return null===e?"":b(e)},setPort:function(e){this.cannotHaveUsernamePasswordPort()||(""===(e=b(e))?this.port=null:this.parse(e,Ee))},getPathname:function(){var e=this.path;return this.cannotBeABaseURL?e[0]:e.length?"/"+L(e,"/"):""},setPathname:function(e){this.cannotBeABaseURL||(this.path=[],this.parse(e,Te))},getSearch:function(){var e=this.query;return e?"?"+e:""},setSearch:function(e){""===(e=b(e))?this.query=null:("?"===N(e,0)&&(e=W(e,1)),this.query="",this.parse(e,Me)),this.searchParams.update()},getSearchParams:function(){return this.searchParams.facade},getHash:function(){var e=this.fragment;return e?"#"+e:""},setHash:function(e){""!==(e=b(e))?("#"===N(e,0)&&(e=W(e,1)),this.fragment="",this.parse(e,Ne)):this.fragment=null},update:function(){this.query=this.searchParams.serialize()||null}};var Le=function(e){var t=f(this,Ie),r=k(arguments.length,1)>1?arguments[1]:void 0,n=x(t,new Be(e,!1,r));a||(t.href=n.serialize(),t.origin=n.getOrigin(),t.protocol=n.getProtocol(),t.username=n.getUsername(),t.password=n.getPassword(),t.host=n.getHost(),t.hostname=n.getHostname(),t.port=n.getPort(),t.pathname=n.getPathname(),t.search=n.getSearch(),t.searchParams=n.getSearchParams(),t.hash=n.getHash())},Ie=Le.prototype,je=function(e,t){return{get:function(){return E(this)[e]()},set:t&&function(e){return E(this)[t](e)},configurable:!0,enumerable:!0}};if(a&&(h(Ie,"href",je("serialize","setHref")),h(Ie,"origin",je("getOrigin")),h(Ie,"protocol",je("getProtocol","setProtocol")),h(Ie,"username",je("getUsername","setUsername")),h(Ie,"password",je("getPassword","setPassword")),h(Ie,"host",je("getHost","setHost")),h(Ie,"hostname",je("getHostname","setHostname")),h(Ie,"port",je("getPort","setPort")),h(Ie,"pathname",je("getPathname","setPathname")),h(Ie,"search",je("getSearch","setSearch")),h(Ie,"searchParams",je("getSearchParams")),h(Ie,"hash",je("getHash","setHash"))),c(Ie,"toJSON",(function(){return E(this).serialize()}),{enumerable:!0}),c(Ie,"toString",(function(){return E(this).serialize()}),{enumerable:!0}),P){var De=P.createObjectURL,ze=P.revokeObjectURL;De&&c(Le,"createObjectURL",u(De,P)),ze&&c(Le,"revokeObjectURL",u(ze,P))}w(Le,"URL"),i({global:!0,constructor:!0,forced:!o,sham:!a},{URL:Le})},1071:function(e,t,r){"use strict";var n=r(5),i=/[^\0-\u007E]/,a=/[.\u3002\uFF0E\uFF61]/g,o="Overflow: input needs wider integers to process",s=RangeError,u=n(a.exec),l=Math.floor,c=String.fromCharCode,h=n("".charCodeAt),f=n([].join),d=n([].push),p=n("".replace),m=n("".split),v=n("".toLowerCase),g=function(e){return e+22+75*(e<26)},y=function(e,t,r){var n=0;for(e=r?l(e/700):e>>1,e+=l(e/t);e>455;)e=l(e/35),n+=36;return l(n+36*e/(e+38))},b=function(e){var t,r,n=[],i=(e=function(e){for(var t=[],r=0,n=e.length;r<n;){var i=h(e,r++);if(i>=55296&&i<=56319&&r<n){var a=h(e,r++);56320==(64512&a)?d(t,((1023&i)<<10)+(1023&a)+65536):(d(t,i),r--)}else d(t,i)}return t}(e)).length,a=128,u=0,p=72;for(t=0;t<e.length;t++)(r=e[t])<128&&d(n,c(r));var m=n.length,v=m;for(m&&d(n,"-");v<i;){var b=2147483647;for(t=0;t<e.length;t++)(r=e[t])>=a&&r<b&&(b=r);var w=v+1;if(b-a>l((2147483647-u)/w))throw new s(o);for(u+=(b-a)*w,a=b,t=0;t<e.length;t++){if((r=e[t])<a&&++u>2147483647)throw new s(o);if(r===a){for(var k=u,_=36;;){var S=_<=p?1:_>=p+26?26:_-p;if(k<S)break;var x=k-S,E=36-S;d(n,c(g(S+x%E))),k=l(x/E),_+=36}d(n,c(g(k))),p=y(u,w,v===m),u=0,v++}}u++,a++}return f(n,"")};e.exports=function(e){var t,r,n=[],o=m(p(v(e),a,"."),".");for(t=0;t<o.length;t++)r=o[t],d(n,u(i,r)?"xn--"+b(r):r);return f(n,".")}},1072:function(e,t,r){"use strict";var n=r(27),i=r(5),a=r(344),o=RangeError,s=String.fromCharCode,u=String.fromCodePoint,l=i([].join);n({target:"String",stat:!0,arity:1,forced:!!u&&1!==u.length},{fromCodePoint:function(e){for(var t,r=[],n=arguments.length,i=0;n>i;){if(t=+arguments[i++],a(t,1114111)!==t)throw new o(t+" is not a valid code point");r[i]=t<65536?s(t):s(55296+((t-=65536)>>10),t%1024+56320)}return l(r,"")}})},1073:function(e,t,r){"use strict";var n=r(27),i=r(29);n({target:"URL",proto:!0,enumerable:!0},{toJSON:function(){return i(URL.prototype.toString,this)}})},1074:function(e,t,r){"use strict";r(724)},1075:function(e,t,r){e.exports=i;var n=r(616).EventEmitter;function i(){n.call(this)}r(597)(i,n),i.Readable=r(646),i.Writable=r(1083),i.Duplex=r(1084),i.Transform=r(1085),i.PassThrough=r(1086),i.Stream=i,i.prototype.pipe=function(e,t){var r=this;function i(t){e.writable&&!1===e.write(t)&&r.pause&&r.pause()}function a(){r.readable&&r.resume&&r.resume()}r.on("data",i),e.on("drain",a),e._isStdio||t&&!1===t.end||(r.on("end",s),r.on("close",u));var o=!1;function s(){o||(o=!0,e.end())}function u(){o||(o=!0,"function"==typeof e.destroy&&e.destroy())}function l(e){if(c(),0===n.listenerCount(this,"error"))throw e}function c(){r.removeListener("data",i),e.removeListener("drain",a),r.removeListener("end",s),r.removeListener("close",u),r.removeListener("error",l),e.removeListener("error",l),r.removeListener("end",c),r.removeListener("close",c),e.removeListener("close",c)}return r.on("error",l),e.on("error",l),r.on("end",c),r.on("close",c),e.on("close",c),e.emit("pipe",r),e}},1076:function(e,t){var r={}.toString;e.exports=Array.isArray||function(e){return"[object Array]"==r.call(e)}},1077:function(e,t){},1078:function(e,t,r){"use strict";var n=r(647).Buffer,i=r(1079);e.exports=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.head=null,this.tail=null,this.length=0}return e.prototype.push=function(e){var t={data:e,next:null};this.length>0?this.tail.next=t:this.head=t,this.tail=t,++this.length},e.prototype.unshift=function(e){var t={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length},e.prototype.shift=function(){if(0!==this.length){var e=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,e}},e.prototype.clear=function(){this.head=this.tail=null,this.length=0},e.prototype.join=function(e){if(0===this.length)return"";for(var t=this.head,r=""+t.data;t=t.next;)r+=e+t.data;return r},e.prototype.concat=function(e){if(0===this.length)return n.alloc(0);for(var t,r,i,a=n.allocUnsafe(e>>>0),o=this.head,s=0;o;)t=o.data,r=a,i=s,t.copy(r,i),s+=o.data.length,o=o.next;return a},e}(),i&&i.inspect&&i.inspect.custom&&(e.exports.prototype[i.inspect.custom]=function(){var e=i.inspect({length:this.length});return this.constructor.name+" "+e})},1079:function(e,t){},1080:function(e,t,r){(function(t){function r(e){try{if(!t.localStorage)return!1}catch(e){return!1}var r=t.localStorage[e];return null!=r&&"true"===String(r).toLowerCase()}e.exports=function(e,t){if(r("noDeprecation"))return e;var n=!1;return function(){if(!n){if(r("throwDeprecation"))throw new Error(t);r("traceDeprecation")?console.trace(t):console.warn(t),n=!0}return e.apply(this,arguments)}}}).call(this,r(36))},1081:function(e,t,r){var n=r(586),i=n.Buffer;function a(e,t){for(var r in e)t[r]=e[r]}function o(e,t,r){return i(e,t,r)}i.from&&i.alloc&&i.allocUnsafe&&i.allocUnsafeSlow?e.exports=n:(a(n,t),t.Buffer=o),o.prototype=Object.create(i.prototype),a(i,o),o.from=function(e,t,r){if("number"==typeof e)throw new TypeError("Argument must not be a number");return i(e,t,r)},o.alloc=function(e,t,r){if("number"!=typeof e)throw new TypeError("Argument must be a number");var n=i(e);return void 0!==t?"string"==typeof r?n.fill(t,r):n.fill(t):n.fill(0),n},o.allocUnsafe=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return i(e)},o.allocUnsafeSlow=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return n.SlowBuffer(e)}},1082:function(e,t,r){"use strict";e.exports=a;var n=r(729),i=Object.create(r(602));function a(e){if(!(this instanceof a))return new a(e);n.call(this,e)}i.inherits=r(597),i.inherits(a,n),a.prototype._transform=function(e,t,r){r(null,e)}},1083:function(e,t,r){e.exports=r(648)},1084:function(e,t,r){e.exports=r(588)},1085:function(e,t,r){e.exports=r(646).Transform},1086:function(e,t,r){e.exports=r(646).PassThrough},1087:function(e,t){e.exports=function(e){return e&&"object"==typeof e&&"function"==typeof e.copy&&"function"==typeof e.fill&&"function"==typeof e.readUInt8}},1088:function(e,t){"function"==typeof Object.create?e.exports=function(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}:e.exports=function(e,t){e.super_=t;var r=function(){};r.prototype=t.prototype,e.prototype=new r,e.prototype.constructor=e}},1089:function(e,t,r){var n=r(1090);"string"==typeof n&&(n=[[e.i,n,""]]);var i={insertAt:"top",hmr:!0,transform:void 0,insertInto:void 0};r(103)(n,i);n.locals&&(e.exports=n.locals)},1090:function(e,t,r){(t=r(102)(!1)).push([e.i,".vue-office-docx {\n height: 100%;\n overflow-y: auto;\n}\n.vue-office-docx .docx-wrapper > section.docx {\n margin-bottom: 5px;\n}\n@media screen and (max-width: 800px) {\n .vue-office-docx .docx-wrapper {\n padding: 10px;\n }\n .vue-office-docx .docx-wrapper > section.docx {\n padding: 10px!important;\n width: 100% !important;\n }\n}\n",""]),e.exports=t},546:function(e,t,r){"use strict";r.r(t);var n=r(1),i=r(972),a=(r(1089),r(70)),o=r(16),s=r(3),u=r(267),l=function(e){var t=e.id,r=e.style,u=e.className,l=e.src,c=(e.setProps,Object(n.useRef)(null));return Object(n.useEffect)((function(){if(c.current){var e=i.a.init(c.current,{});return e.preview(l).then((function(e){})).catch((function(e){})),function(){e.destroy()}}}),[l]),React.createElement("div",{id:t,className:Object(o.isString)(u)?u:u?Object(a.a)(u):void 0,style:r,ref:c,"data-dash-is-loading":Object(s.d)()})};t.default=l,l.defaultProps=u.b,l.propTypes=u.c},578:function(e,t,r){"use strict";var n,i,a,o=r(708),s=r(34),u=r(13),l=r(19),c=r(24),h=r(20),f=r(105),d=r(85),p=r(83),m=r(47),v=r(144),g=r(67),y=r(151),b=r(147),w=r(23),k=r(113),_=r(64),S=_.enforce,x=_.get,E=u.Int8Array,C=E&&E.prototype,A=u.Uint8ClampedArray,P=A&&A.prototype,T=E&&y(E),R=C&&y(C),O=Object.prototype,M=u.TypeError,N=w("toStringTag"),B=k("TYPED_ARRAY_TAG"),L=o&&!!b&&"Opera"!==f(u.opera),I=!1,j={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},D={BigInt64Array:8,BigUint64Array:8},z=function(e){var t=y(e);if(c(t)){var r=x(t);return r&&h(r,"TypedArrayConstructor")?r.TypedArrayConstructor:z(t)}},F=function(e){if(!c(e))return!1;var t=f(e);return h(j,t)||h(D,t)};for(n in j)(a=(i=u[n])&&i.prototype)?S(a).TypedArrayConstructor=i:L=!1;for(n in D)(a=(i=u[n])&&i.prototype)&&(S(a).TypedArrayConstructor=i);if((!L||!l(T)||T===Function.prototype)&&(T=function(){throw new M("Incorrect invocation")},L))for(n in j)u[n]&&b(u[n],T);if((!L||!R||R===O)&&(R=T.prototype,L))for(n in j)u[n]&&b(u[n].prototype,R);if(L&&y(P)!==R&&b(P,R),s&&!h(R,N))for(n in I=!0,v(R,N,{configurable:!0,get:function(){return c(this)?this[B]:void 0}}),j)u[n]&&p(u[n],B,n);e.exports={NATIVE_ARRAY_BUFFER_VIEWS:L,TYPED_ARRAY_TAG:I&&B,aTypedArray:function(e){if(F(e))return e;throw new M("Target is not a typed array")},aTypedArrayConstructor:function(e){if(l(e)&&(!b||g(T,e)))return e;throw new M(d(e)+" is not a typed array constructor")},exportTypedArrayMethod:function(e,t,r,n){if(s){if(r)for(var i in j){var a=u[i];if(a&&h(a.prototype,e))try{delete a.prototype[e]}catch(r){try{a.prototype[e]=t}catch(e){}}}R[e]&&!r||m(R,e,r?t:L&&C[e]||t,n)}},exportTypedArrayStaticMethod:function(e,t,r){var n,i;if(s){if(b){if(r)for(n in j)if((i=u[n])&&h(i,e))try{delete i[e]}catch(e){}if(T[e]&&!r)return;try{return m(T,e,r?t:L&&T[e]||t)}catch(e){}}for(n in j)!(i=u[n])||i[e]&&!r||m(i,e,t)}},getTypedArrayConstructor:z,isView:function(e){if(!c(e))return!1;var t=f(e);return"DataView"===t||h(j,t)||h(D,t)},isTypedArray:F,TypedArray:T,TypedArrayPrototype:R}},588:function(e,t,r){"use strict";var n=r(617),i=Object.keys||function(e){var t=[];for(var r in e)t.push(r);return t};e.exports=h;var a=Object.create(r(602));a.inherits=r(597);var o=r(725),s=r(648);a.inherits(h,o);for(var u=i(s.prototype),l=0;l<u.length;l++){var c=u[l];h.prototype[c]||(h.prototype[c]=s.prototype[c])}function h(e){if(!(this instanceof h))return new h(e);o.call(this,e),s.call(this,e),e&&!1===e.readable&&(this.readable=!1),e&&!1===e.writable&&(this.writable=!1),this.allowHalfOpen=!0,e&&!1===e.allowHalfOpen&&(this.allowHalfOpen=!1),this.once("end",f)}function f(){this.allowHalfOpen||this._writableState.ended||n.nextTick(d,this)}function d(e){e.end()}Object.defineProperty(h.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(h.prototype,"destroyed",{get:function(){return void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed&&this._writableState.destroyed)},set:function(e){void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed=e,this._writableState.destroyed=e)}}),h.prototype._destroy=function(e,t){this.push(null),this.end(),n.nextTick(t,e)}},595:function(e,t,r){"use strict";var n=r(13);e.exports=n.Promise},596:function(e,t,r){"use strict";var n=r(71),i=TypeError,a=function(e){var t,r;this.promise=new e((function(e,n){if(void 0!==t||void 0!==r)throw new i("Bad Promise constructor");t=e,r=n})),this.resolve=n(t),this.reject=n(r)};e.exports.f=function(e){return new a(e)}},597:function(e,t){"function"==typeof Object.create?e.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:e.exports=function(e,t){if(t){e.super_=t;var r=function(){};r.prototype=t.prototype,e.prototype=new r,e.prototype.constructor=e}}},600:function(e,t,r){"use strict";var n=r(34),i=r(37),a=r(107);e.exports=function(e,t,r){n?i.f(e,t,a(0,r)):e[t]=r}},601:function(e,t,r){"use strict";var n=r(13),i=r(595),a=r(19),o=r(158),s=r(233),u=r(23),l=r(369),c=r(72),h=r(146),f=i&&i.prototype,d=u("species"),p=!1,m=a(n.PromiseRejectionEvent),v=o("Promise",(function(){var e=s(i),t=e!==String(i);if(!t&&66===h)return!0;if(c&&(!f.catch||!f.finally))return!0;if(!h||h<51||!/native code/.test(e)){var r=new i((function(e){e(1)})),n=function(e){e((function(){}),(function(){}))};if((r.constructor={})[d]=n,!(p=r.then((function(){}))instanceof n))return!0}return!(t||"BROWSER"!==l&&"DENO"!==l||m)}));e.exports={CONSTRUCTOR:v,REJECTION_EVENT:m,SUBCLASSING:p}},602:function(e,t,r){function n(e){return Object.prototype.toString.call(e)}t.isArray=function(e){return Array.isArray?Array.isArray(e):"[object Array]"===n(e)},t.isBoolean=function(e){return"boolean"==typeof e},t.isNull=function(e){return null===e},t.isNullOrUndefined=function(e){return null==e},t.isNumber=function(e){return"number"==typeof e},t.isString=function(e){return"string"==typeof e},t.isSymbol=function(e){return"symbol"==typeof e},t.isUndefined=function(e){return void 0===e},t.isRegExp=function(e){return"[object RegExp]"===n(e)},t.isObject=function(e){return"object"==typeof e&&null!==e},t.isDate=function(e){return"[object Date]"===n(e)},t.isError=function(e){return"[object Error]"===n(e)||e instanceof Error},t.isFunction=function(e){return"function"==typeof e},t.isPrimitive=function(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||void 0===e},t.isBuffer=r(586).Buffer.isBuffer},614:function(e,t,r){"use strict";e.exports=function(e){try{return{error:!1,value:e()}}catch(e){return{error:!0,value:e}}}},615:function(e,t,r){"use strict";var n=r(27),i=r(13),a=r(29),o=r(34),s=r(718),u=r(578),l=r(707),c=r(189),h=r(107),f=r(83),d=r(1029),p=r(145),m=r(709),v=r(719),g=r(1031),y=r(156),b=r(20),w=r(105),k=r(24),_=r(87),S=r(74),x=r(67),E=r(147),C=r(88).f,A=r(720),P=r(141).forEach,T=r(643),R=r(144),O=r(37),M=r(106),N=r(722),B=r(64),L=r(200),I=B.get,j=B.set,D=B.enforce,z=O.f,F=M.f,U=i.RangeError,W=l.ArrayBuffer,H=W.prototype,q=l.DataView,V=u.NATIVE_ARRAY_BUFFER_VIEWS,Z=u.TYPED_ARRAY_TAG,X=u.TypedArray,G=u.TypedArrayPrototype,Y=u.isTypedArray,J=function(e,t){R(e,t,{configurable:!0,get:function(){return I(this)[t]}})},K=function(e){var t;return x(H,e)||"ArrayBuffer"===(t=w(e))||"SharedArrayBuffer"===t},$=function(e,t){return Y(e)&&!_(t)&&t in e&&d(+t)&&t>=0},Q=function(e,t){return t=y(t),$(e,t)?h(2,e[t]):F(e,t)},ee=function(e,t,r){return t=y(t),!($(e,t)&&k(r)&&b(r,"value"))||b(r,"get")||b(r,"set")||r.configurable||b(r,"writable")&&!r.writable||b(r,"enumerable")&&!r.enumerable?z(e,t,r):(e[t]=r.value,e)};o?(V||(M.f=Q,O.f=ee,J(G,"buffer"),J(G,"byteOffset"),J(G,"byteLength"),J(G,"length")),n({target:"Object",stat:!0,forced:!V},{getOwnPropertyDescriptor:Q,defineProperty:ee}),e.exports=function(e,t,r){var o=e.match(/\d+/)[0]/8,u=e+(r?"Clamped":"")+"Array",l="get"+e,h="set"+e,d=i[u],y=d,b=y&&y.prototype,w={},_=function(e,t){z(e,t,{get:function(){return function(e,t){var r=I(e);return r.view[l](t*o+r.byteOffset,!0)}(this,t)},set:function(e){return function(e,t,n){var i=I(e);i.view[h](t*o+i.byteOffset,r?g(n):n,!0)}(this,t,e)},enumerable:!0})};V?s&&(y=t((function(e,t,r,n){return c(e,b),L(k(t)?K(t)?void 0!==n?new d(t,v(r,o),n):void 0!==r?new d(t,v(r,o)):new d(t):Y(t)?N(y,t):a(A,y,t):new d(m(t)),e,y)})),E&&E(y,X),P(C(d),(function(e){e in y||f(y,e,d[e])})),y.prototype=b):(y=t((function(e,t,r,n){c(e,b);var i,s,u,l=0,h=0;if(k(t)){if(!K(t))return Y(t)?N(y,t):a(A,y,t);i=t,h=v(r,o);var f=t.byteLength;if(void 0===n){if(f%o)throw new U("Wrong length");if((s=f-h)<0)throw new U("Wrong length")}else if((s=p(n)*o)+h>f)throw new U("Wrong length");u=s/o}else u=m(t),i=new W(s=u*o);for(j(e,{buffer:i,byteOffset:h,byteLength:s,length:u,view:new q(i)});l<u;)_(e,l++)})),E&&E(y,X),b=y.prototype=S(G)),b.constructor!==y&&f(b,"constructor",y),D(b).TypedArrayConstructor=y,Z&&f(b,Z,u);var x=y!==d;w[u]=y,n({global:!0,constructor:!0,forced:x,sham:!V},w),"BYTES_PER_ELEMENT"in y||f(y,"BYTES_PER_ELEMENT",o),"BYTES_PER_ELEMENT"in b||f(b,"BYTES_PER_ELEMENT",o),T(u)}):e.exports=function(){}},616:function(e,t,r){"use strict";var n,i="object"==typeof Reflect?Reflect:null,a=i&&"function"==typeof i.apply?i.apply:function(e,t,r){return Function.prototype.apply.call(e,t,r)};n=i&&"function"==typeof i.ownKeys?i.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var o=Number.isNaN||function(e){return e!=e};function s(){s.init.call(this)}e.exports=s,e.exports.once=function(e,t){return new Promise((function(r,n){function i(r){e.removeListener(t,a),n(r)}function a(){"function"==typeof e.removeListener&&e.removeListener("error",i),r([].slice.call(arguments))}g(e,t,a,{once:!0}),"error"!==t&&function(e,t,r){"function"==typeof e.on&&g(e,"error",t,r)}(e,i,{once:!0})}))},s.EventEmitter=s,s.prototype._events=void 0,s.prototype._eventsCount=0,s.prototype._maxListeners=void 0;var u=10;function l(e){if("function"!=typeof e)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function c(e){return void 0===e._maxListeners?s.defaultMaxListeners:e._maxListeners}function h(e,t,r,n){var i,a,o,s;if(l(r),void 0===(a=e._events)?(a=e._events=Object.create(null),e._eventsCount=0):(void 0!==a.newListener&&(e.emit("newListener",t,r.listener?r.listener:r),a=e._events),o=a[t]),void 0===o)o=a[t]=r,++e._eventsCount;else if("function"==typeof o?o=a[t]=n?[r,o]:[o,r]:n?o.unshift(r):o.push(r),(i=c(e))>0&&o.length>i&&!o.warned){o.warned=!0;var u=new Error("Possible EventEmitter memory leak detected. "+o.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");u.name="MaxListenersExceededWarning",u.emitter=e,u.type=t,u.count=o.length,s=u,console&&console.warn&&console.warn(s)}return e}function f(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function d(e,t,r){var n={fired:!1,wrapFn:void 0,target:e,type:t,listener:r},i=f.bind(n);return i.listener=r,n.wrapFn=i,i}function p(e,t,r){var n=e._events;if(void 0===n)return[];var i=n[t];return void 0===i?[]:"function"==typeof i?r?[i.listener||i]:[i]:r?function(e){for(var t=new Array(e.length),r=0;r<t.length;++r)t[r]=e[r].listener||e[r];return t}(i):v(i,i.length)}function m(e){var t=this._events;if(void 0!==t){var r=t[e];if("function"==typeof r)return 1;if(void 0!==r)return r.length}return 0}function v(e,t){for(var r=new Array(t),n=0;n<t;++n)r[n]=e[n];return r}function g(e,t,r,n){if("function"==typeof e.on)n.once?e.once(t,r):e.on(t,r);else{if("function"!=typeof e.addEventListener)throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof e);e.addEventListener(t,(function i(a){n.once&&e.removeEventListener(t,i),r(a)}))}}Object.defineProperty(s,"defaultMaxListeners",{enumerable:!0,get:function(){return u},set:function(e){if("number"!=typeof e||e<0||o(e))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+e+".");u=e}}),s.init=function(){void 0!==this._events&&this._events!==Object.getPrototypeOf(this)._events||(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},s.prototype.setMaxListeners=function(e){if("number"!=typeof e||e<0||o(e))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+e+".");return this._maxListeners=e,this},s.prototype.getMaxListeners=function(){return c(this)},s.prototype.emit=function(e){for(var t=[],r=1;r<arguments.length;r++)t.push(arguments[r]);var n="error"===e,i=this._events;if(void 0!==i)n=n&&void 0===i.error;else if(!n)return!1;if(n){var o;if(t.length>0&&(o=t[0]),o instanceof Error)throw o;var s=new Error("Unhandled error."+(o?" ("+o.message+")":""));throw s.context=o,s}var u=i[e];if(void 0===u)return!1;if("function"==typeof u)a(u,this,t);else{var l=u.length,c=v(u,l);for(r=0;r<l;++r)a(c[r],this,t)}return!0},s.prototype.addListener=function(e,t){return h(this,e,t,!1)},s.prototype.on=s.prototype.addListener,s.prototype.prependListener=function(e,t){return h(this,e,t,!0)},s.prototype.once=function(e,t){return l(t),this.on(e,d(this,e,t)),this},s.prototype.prependOnceListener=function(e,t){return l(t),this.prependListener(e,d(this,e,t)),this},s.prototype.removeListener=function(e,t){var r,n,i,a,o;if(l(t),void 0===(n=this._events))return this;if(void 0===(r=n[e]))return this;if(r===t||r.listener===t)0==--this._eventsCount?this._events=Object.create(null):(delete n[e],n.removeListener&&this.emit("removeListener",e,r.listener||t));else if("function"!=typeof r){for(i=-1,a=r.length-1;a>=0;a--)if(r[a]===t||r[a].listener===t){o=r[a].listener,i=a;break}if(i<0)return this;0===i?r.shift():function(e,t){for(;t+1<e.length;t++)e[t]=e[t+1];e.pop()}(r,i),1===r.length&&(n[e]=r[0]),void 0!==n.removeListener&&this.emit("removeListener",e,o||t)}return this},s.prototype.off=s.prototype.removeListener,s.prototype.removeAllListeners=function(e){var t,r,n;if(void 0===(r=this._events))return this;if(void 0===r.removeListener)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==r[e]&&(0==--this._eventsCount?this._events=Object.create(null):delete r[e]),this;if(0===arguments.length){var i,a=Object.keys(r);for(n=0;n<a.length;++n)"removeListener"!==(i=a[n])&&this.removeAllListeners(i);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if("function"==typeof(t=r[e]))this.removeListener(e,t);else if(void 0!==t)for(n=t.length-1;n>=0;n--)this.removeListener(e,t[n]);return this},s.prototype.listeners=function(e){return p(this,e,!0)},s.prototype.rawListeners=function(e){return p(this,e,!1)},s.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):m.call(e,t)},s.prototype.listenerCount=m,s.prototype.eventNames=function(){return this._eventsCount>0?n(this._events):[]}},617:function(e,t,r){"use strict";(function(t){void 0===t||!t.version||0===t.version.indexOf("v0.")||0===t.version.indexOf("v1.")&&0!==t.version.indexOf("v1.8.")?e.exports={nextTick:function(e,r,n,i){if("function"!=typeof e)throw new TypeError('"callback" argument must be a function');var a,o,s=arguments.length;switch(s){case 0:case 1:return t.nextTick(e);case 2:return t.nextTick((function(){e.call(null,r)}));case 3:return t.nextTick((function(){e.call(null,r,n)}));case 4:return t.nextTick((function(){e.call(null,r,n,i)}));default:for(a=new Array(s-1),o=0;o<a.length;)a[o++]=arguments[o];return t.nextTick((function(){e.apply(null,a)}))}}}:e.exports=t}).call(this,r(343))},639:function(e,t,r){"use strict";var n=TypeError;e.exports=function(e){if(e>9007199254740991)throw n("Maximum allowed index exceeded");return e}},640:function(e,t,r){"use strict";var n=r(55),i=r(344),a=r(101);e.exports=function(e){for(var t=n(this),r=a(t),o=arguments.length,s=i(o>1?arguments[1]:void 0,r),u=o>2?arguments[2]:void 0,l=void 0===u?r:i(u,r);l>s;)t[s++]=e;return t}},641:function(e,t,r){"use strict";var n=r(85),i=TypeError;e.exports=function(e,t){if(!delete e[t])throw new i("Cannot delete property "+n(t)+" of "+n(e))}},642:function(e,t,r){"use strict";var n=r(143),i=Math.floor,a=function(e,t){var r=e.length;if(r<8)for(var o,s,u=1;u<r;){for(s=u,o=e[u];s&&t(e[s-1],o)>0;)e[s]=e[--s];s!==u++&&(e[s]=o)}else for(var l=i(r/2),c=a(n(e,0,l),t),h=a(n(e,l),t),f=c.length,d=h.length,p=0,m=0;p<f||m<d;)e[p+m]=p<f&&m<d?t(c[p],h[m])<=0?c[p++]:h[m++]:p<f?c[p++]:h[m++];return e};e.exports=a},643:function(e,t,r){"use strict";var n=r(56),i=r(144),a=r(23),o=r(34),s=a("species");e.exports=function(e){var t=n(e);o&&t&&!t[s]&&i(t,s,{configurable:!0,get:function(){return this}})}},644:function(e,t,r){"use strict";var n=TypeError;e.exports=function(e,t){if(e<t)throw new n("Not enough arguments");return e}},645:function(e,t,r){"use strict";var n=r(595),i=r(352),a=r(601).CONSTRUCTOR;e.exports=a||!i((function(e){n.all(e).then(void 0,(function(){}))}))},646:function(e,t,r){(t=e.exports=r(725)).Stream=t,t.Readable=t,t.Writable=r(648),t.Duplex=r(588),t.Transform=r(729),t.PassThrough=r(1082)},647:function(e,t,r){var n=r(586),i=n.Buffer;function a(e,t){for(var r in e)t[r]=e[r]}function o(e,t,r){return i(e,t,r)}i.from&&i.alloc&&i.allocUnsafe&&i.allocUnsafeSlow?e.exports=n:(a(n,t),t.Buffer=o),a(i,o),o.from=function(e,t,r){if("number"==typeof e)throw new TypeError("Argument must not be a number");return i(e,t,r)},o.alloc=function(e,t,r){if("number"!=typeof e)throw new TypeError("Argument must be a number");var n=i(e);return void 0!==t?"string"==typeof r?n.fill(t,r):n.fill(t):n.fill(0),n},o.allocUnsafe=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return i(e)},o.allocUnsafeSlow=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return n.SlowBuffer(e)}},648:function(e,t,r){"use strict";(function(t,n,i){var a=r(617);function o(e){var t=this;this.next=null,this.entry=null,this.finish=function(){!function(e,t,r){var n=e.entry;e.entry=null;for(;n;){var i=n.callback;t.pendingcb--,i(r),n=n.next}t.corkedRequestsFree.next=e}(t,e)}}e.exports=y;var s,u=!t.browser&&["v0.10","v0.9."].indexOf(t.version.slice(0,5))>-1?n:a.nextTick;y.WritableState=g;var l=Object.create(r(602));l.inherits=r(597);var c={deprecate:r(1080)},h=r(726),f=r(647).Buffer,d=(void 0!==i?i:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{}).Uint8Array||function(){};var p,m=r(727);function v(){}function g(e,t){s=s||r(588),e=e||{};var n=t instanceof s;this.objectMode=!!e.objectMode,n&&(this.objectMode=this.objectMode||!!e.writableObjectMode);var i=e.highWaterMark,l=e.writableHighWaterMark,c=this.objectMode?16:16384;this.highWaterMark=i||0===i?i:n&&(l||0===l)?l:c,this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var h=!1===e.decodeStrings;this.decodeStrings=!h,this.defaultEncoding=e.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(e){!function(e,t){var r=e._writableState,n=r.sync,i=r.writecb;if(function(e){e.writing=!1,e.writecb=null,e.length-=e.writelen,e.writelen=0}(r),t)!function(e,t,r,n,i){--t.pendingcb,r?(a.nextTick(i,n),a.nextTick(x,e,t),e._writableState.errorEmitted=!0,e.emit("error",n)):(i(n),e._writableState.errorEmitted=!0,e.emit("error",n),x(e,t))}(e,r,n,t,i);else{var o=_(r);o||r.corked||r.bufferProcessing||!r.bufferedRequest||k(e,r),n?u(w,e,r,o,i):w(e,r,o,i)}}(t,e)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new o(this)}function y(e){if(s=s||r(588),!(p.call(y,this)||this instanceof s))return new y(e);this._writableState=new g(e,this),this.writable=!0,e&&("function"==typeof e.write&&(this._write=e.write),"function"==typeof e.writev&&(this._writev=e.writev),"function"==typeof e.destroy&&(this._destroy=e.destroy),"function"==typeof e.final&&(this._final=e.final)),h.call(this)}function b(e,t,r,n,i,a,o){t.writelen=n,t.writecb=o,t.writing=!0,t.sync=!0,r?e._writev(i,t.onwrite):e._write(i,a,t.onwrite),t.sync=!1}function w(e,t,r,n){r||function(e,t){0===t.length&&t.needDrain&&(t.needDrain=!1,e.emit("drain"))}(e,t),t.pendingcb--,n(),x(e,t)}function k(e,t){t.bufferProcessing=!0;var r=t.bufferedRequest;if(e._writev&&r&&r.next){var n=t.bufferedRequestCount,i=new Array(n),a=t.corkedRequestsFree;a.entry=r;for(var s=0,u=!0;r;)i[s]=r,r.isBuf||(u=!1),r=r.next,s+=1;i.allBuffers=u,b(e,t,!0,t.length,i,"",a.finish),t.pendingcb++,t.lastBufferedRequest=null,a.next?(t.corkedRequestsFree=a.next,a.next=null):t.corkedRequestsFree=new o(t),t.bufferedRequestCount=0}else{for(;r;){var l=r.chunk,c=r.encoding,h=r.callback;if(b(e,t,!1,t.objectMode?1:l.length,l,c,h),r=r.next,t.bufferedRequestCount--,t.writing)break}null===r&&(t.lastBufferedRequest=null)}t.bufferedRequest=r,t.bufferProcessing=!1}function _(e){return e.ending&&0===e.length&&null===e.bufferedRequest&&!e.finished&&!e.writing}function S(e,t){e._final((function(r){t.pendingcb--,r&&e.emit("error",r),t.prefinished=!0,e.emit("prefinish"),x(e,t)}))}function x(e,t){var r=_(t);return r&&(!function(e,t){t.prefinished||t.finalCalled||("function"==typeof e._final?(t.pendingcb++,t.finalCalled=!0,a.nextTick(S,e,t)):(t.prefinished=!0,e.emit("prefinish")))}(e,t),0===t.pendingcb&&(t.finished=!0,e.emit("finish"))),r}l.inherits(y,h),g.prototype.getBuffer=function(){for(var e=this.bufferedRequest,t=[];e;)t.push(e),e=e.next;return t},function(){try{Object.defineProperty(g.prototype,"buffer",{get:c.deprecate((function(){return this.getBuffer()}),"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(e){}}(),"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?(p=Function.prototype[Symbol.hasInstance],Object.defineProperty(y,Symbol.hasInstance,{value:function(e){return!!p.call(this,e)||this===y&&(e&&e._writableState instanceof g)}})):p=function(e){return e instanceof this},y.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))},y.prototype.write=function(e,t,r){var n,i=this._writableState,o=!1,s=!i.objectMode&&(n=e,f.isBuffer(n)||n instanceof d);return s&&!f.isBuffer(e)&&(e=function(e){return f.from(e)}(e)),"function"==typeof t&&(r=t,t=null),s?t="buffer":t||(t=i.defaultEncoding),"function"!=typeof r&&(r=v),i.ended?function(e,t){var r=new Error("write after end");e.emit("error",r),a.nextTick(t,r)}(this,r):(s||function(e,t,r,n){var i=!0,o=!1;return null===r?o=new TypeError("May not write null values to stream"):"string"==typeof r||void 0===r||t.objectMode||(o=new TypeError("Invalid non-string/buffer chunk")),o&&(e.emit("error",o),a.nextTick(n,o),i=!1),i}(this,i,e,r))&&(i.pendingcb++,o=function(e,t,r,n,i,a){if(!r){var o=function(e,t,r){e.objectMode||!1===e.decodeStrings||"string"!=typeof t||(t=f.from(t,r));return t}(t,n,i);n!==o&&(r=!0,i="buffer",n=o)}var s=t.objectMode?1:n.length;t.length+=s;var u=t.length<t.highWaterMark;u||(t.needDrain=!0);if(t.writing||t.corked){var l=t.lastBufferedRequest;t.lastBufferedRequest={chunk:n,encoding:i,isBuf:r,callback:a,next:null},l?l.next=t.lastBufferedRequest:t.bufferedRequest=t.lastBufferedRequest,t.bufferedRequestCount+=1}else b(e,t,!1,s,n,i,a);return u}(this,i,s,e,t,r)),o},y.prototype.cork=function(){this._writableState.corked++},y.prototype.uncork=function(){var e=this._writableState;e.corked&&(e.corked--,e.writing||e.corked||e.bufferProcessing||!e.bufferedRequest||k(this,e))},y.prototype.setDefaultEncoding=function(e){if("string"==typeof e&&(e=e.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((e+"").toLowerCase())>-1))throw new TypeError("Unknown encoding: "+e);return this._writableState.defaultEncoding=e,this},Object.defineProperty(y.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),y.prototype._write=function(e,t,r){r(new Error("_write() is not implemented"))},y.prototype._writev=null,y.prototype.end=function(e,t,r){var n=this._writableState;"function"==typeof e?(r=e,e=null,t=null):"function"==typeof t&&(r=t,t=null),null!=e&&this.write(e,t),n.corked&&(n.corked=1,this.uncork()),n.ending||function(e,t,r){t.ending=!0,x(e,t),r&&(t.finished?a.nextTick(r):e.once("finish",r));t.ended=!0,e.writable=!1}(this,n,r)},Object.defineProperty(y.prototype,"destroyed",{get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}}),y.prototype.destroy=m.destroy,y.prototype._undestroy=m.undestroy,y.prototype._destroy=function(e,t){this.end(),t(e)}}).call(this,r(343),r(592).setImmediate,r(36))},703:function(e,t,r){"use strict";var n=r(186),i=r(29),a=r(55),o=r(983),s=r(355),u=r(197),l=r(101),c=r(600),h=r(351),f=r(194),d=Array;e.exports=function(e){var t=a(e),r=u(this),p=arguments.length,m=p>1?arguments[1]:void 0,v=void 0!==m;v&&(m=n(m,p>2?arguments[2]:void 0));var g,y,b,w,k,_,S=f(t),x=0;if(!S||this===d&&s(S))for(g=l(t),y=r?new this(g):d(g);g>x;x++)_=v?m(t[x],x):t[x],c(y,x,_);else for(y=r?new this:[],k=(w=h(t,S)).next;!(b=i(k,w)).done;x++)_=v?o(w,m,[b.value,x],!0):b.value,c(y,x,_);return y.length=x,y}},704:function(e,t,r){"use strict";var n=r(187).match(/firefox\/(\d+)/i);e.exports=!!n&&+n[1]},705:function(e,t,r){"use strict";var n=r(187);e.exports=/MSIE|Trident/.test(n)},706:function(e,t,r){"use strict";var n=r(187).match(/AppleWebKit\/(\d+)\./);e.exports=!!n&&+n[1]},707:function(e,t,r){"use strict";var n=r(13),i=r(5),a=r(34),o=r(708),s=r(149),u=r(83),l=r(144),c=r(199),h=r(7),f=r(189),d=r(104),p=r(145),m=r(709),v=r(993),g=r(997),y=r(151),b=r(147),w=r(640),k=r(143),_=r(200),S=r(234),x=r(82),E=r(64),C=s.PROPER,A=s.CONFIGURABLE,P=E.getterFor("ArrayBuffer"),T=E.getterFor("DataView"),R=E.set,O=n.ArrayBuffer,M=O,N=M&&M.prototype,B=n.DataView,L=B&&B.prototype,I=Object.prototype,j=n.Array,D=n.RangeError,z=i(w),F=i([].reverse),U=g.pack,W=g.unpack,H=function(e){return[255&e]},q=function(e){return[255&e,e>>8&255]},V=function(e){return[255&e,e>>8&255,e>>16&255,e>>24&255]},Z=function(e){return e[3]<<24|e[2]<<16|e[1]<<8|e[0]},X=function(e){return U(v(e),23,4)},G=function(e){return U(e,52,8)},Y=function(e,t,r){l(e.prototype,t,{configurable:!0,get:function(){return r(this)[t]}})},J=function(e,t,r,n){var i=T(e),a=m(r),o=!!n;if(a+t>i.byteLength)throw new D("Wrong index");var s=i.bytes,u=a+i.byteOffset,l=k(s,u,u+t);return o?l:F(l)},K=function(e,t,r,n,i,a){var o=T(e),s=m(r),u=n(+i),l=!!a;if(s+t>o.byteLength)throw new D("Wrong index");for(var c=o.bytes,h=s+o.byteOffset,f=0;f<t;f++)c[h+f]=u[l?f:t-f-1]};if(o){var $=C&&"ArrayBuffer"!==O.name;h((function(){O(1)}))&&h((function(){new O(-1)}))&&!h((function(){return new O,new O(1.5),new O(NaN),1!==O.length||$&&!A}))?$&&A&&u(O,"name","ArrayBuffer"):((M=function(e){return f(this,N),_(new O(m(e)),this,M)}).prototype=N,N.constructor=M,S(M,O)),b&&y(L)!==I&&b(L,I);var Q=new B(new M(2)),ee=i(L.setInt8);Q.setInt8(0,2147483648),Q.setInt8(1,2147483649),!Q.getInt8(0)&&Q.getInt8(1)||c(L,{setInt8:function(e,t){ee(this,e,t<<24>>24)},setUint8:function(e,t){ee(this,e,t<<24>>24)}},{unsafe:!0})}else N=(M=function(e){f(this,N);var t=m(e);R(this,{type:"ArrayBuffer",bytes:z(j(t),0),byteLength:t}),a||(this.byteLength=t,this.detached=!1)}).prototype,L=(B=function(e,t,r){f(this,L),f(e,N);var n=P(e),i=n.byteLength,o=d(t);if(o<0||o>i)throw new D("Wrong offset");if(o+(r=void 0===r?i-o:p(r))>i)throw new D("Wrong length");R(this,{type:"DataView",buffer:e,byteLength:r,byteOffset:o,bytes:n.bytes}),a||(this.buffer=e,this.byteLength=r,this.byteOffset=o)}).prototype,a&&(Y(M,"byteLength",P),Y(B,"buffer",T),Y(B,"byteLength",T),Y(B,"byteOffset",T)),c(L,{getInt8:function(e){return J(this,1,e)[0]<<24>>24},getUint8:function(e){return J(this,1,e)[0]},getInt16:function(e){var t=J(this,2,e,arguments.length>1&&arguments[1]);return(t[1]<<8|t[0])<<16>>16},getUint16:function(e){var t=J(this,2,e,arguments.length>1&&arguments[1]);return t[1]<<8|t[0]},getInt32:function(e){return Z(J(this,4,e,arguments.length>1&&arguments[1]))},getUint32:function(e){return Z(J(this,4,e,arguments.length>1&&arguments[1]))>>>0},getFloat32:function(e){return W(J(this,4,e,arguments.length>1&&arguments[1]),23)},getFloat64:function(e){return W(J(this,8,e,arguments.length>1&&arguments[1]),52)},setInt8:function(e,t){K(this,1,e,H,t)},setUint8:function(e,t){K(this,1,e,H,t)},setInt16:function(e,t){K(this,2,e,q,t,arguments.length>2&&arguments[2])},setUint16:function(e,t){K(this,2,e,q,t,arguments.length>2&&arguments[2])},setInt32:function(e,t){K(this,4,e,V,t,arguments.length>2&&arguments[2])},setUint32:function(e,t){K(this,4,e,V,t,arguments.length>2&&arguments[2])},setFloat32:function(e,t){K(this,4,e,X,t,arguments.length>2&&arguments[2])},setFloat64:function(e,t){K(this,8,e,G,t,arguments.length>2&&arguments[2])}});x(M,"ArrayBuffer"),x(B,"DataView"),e.exports={ArrayBuffer:M,DataView:B}},708:function(e,t,r){"use strict";e.exports="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView},709:function(e,t,r){"use strict";var n=r(104),i=r(145),a=RangeError;e.exports=function(e){if(void 0===e)return 0;var t=n(e),r=i(t);if(t!==r)throw new a("Wrong length or index");return r}},710:function(e,t,r){"use strict";var n=r(32),i=r(357),a=r(86),o=r(23)("species");e.exports=function(e,t){var r,s=n(e).constructor;return void 0===s||a(r=n(s)[o])?t:i(r)}},711:function(e,t,r){"use strict";var n,i,a,o,s=r(13),u=r(148),l=r(186),c=r(19),h=r(20),f=r(7),d=r(364),p=r(143),m=r(157),v=r(644),g=r(712),y=r(353),b=s.setImmediate,w=s.clearImmediate,k=s.process,_=s.Dispatch,S=s.Function,x=s.MessageChannel,E=s.String,C=0,A={};f((function(){n=s.location}));var P=function(e){if(h(A,e)){var t=A[e];delete A[e],t()}},T=function(e){return function(){P(e)}},R=function(e){P(e.data)},O=function(e){s.postMessage(E(e),n.protocol+"//"+n.host)};b&&w||(b=function(e){v(arguments.length,1);var t=c(e)?e:S(e),r=p(arguments,1);return A[++C]=function(){u(t,void 0,r)},i(C),C},w=function(e){delete A[e]},y?i=function(e){k.nextTick(T(e))}:_&&_.now?i=function(e){_.now(T(e))}:x&&!g?(o=(a=new x).port2,a.port1.onmessage=R,i=l(o.postMessage,o)):s.addEventListener&&c(s.postMessage)&&!s.importScripts&&n&&"file:"!==n.protocol&&!f(O)?(i=O,s.addEventListener("message",R,!1)):i="onreadystatechange"in m("script")?function(e){d.appendChild(m("script")).onreadystatechange=function(){d.removeChild(this),P(e)}}:function(e){setTimeout(T(e),0)}),e.exports={set:b,clear:w}},712:function(e,t,r){"use strict";var n=r(187);e.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(n)},713:function(e,t,r){"use strict";var n=r(13),i=r(34),a=Object.getOwnPropertyDescriptor;e.exports=function(e){if(!i)return n[e];var t=a(n,e);return t&&t.value}},714:function(e,t,r){"use strict";var n=function(){this.head=null,this.tail=null};n.prototype={add:function(e){var t={item:e,next:null},r=this.tail;r?r.next=t:this.head=t,this.tail=t},get:function(){var e=this.head;if(e)return null===(this.head=e.next)&&(this.tail=null),e.item}},e.exports=n},715:function(e,t,r){"use strict";var n=r(32),i=r(24),a=r(596);e.exports=function(e,t){if(n(e),i(t)&&t.constructor===e)return t;var r=a.f(e);return(0,r.resolve)(t),r.promise}},716:function(e,t,r){"use strict";var n=r(1024),i=TypeError;e.exports=function(e){if(n(e))throw new i("The method doesn't accept regular expressions");return e}},717:function(e,t,r){"use strict";var n=r(23)("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(r){try{return t[n]=!1,"/./"[e](t)}catch(e){}}return!1}},718:function(e,t,r){"use strict";var n=r(13),i=r(7),a=r(352),o=r(578).NATIVE_ARRAY_BUFFER_VIEWS,s=n.ArrayBuffer,u=n.Int8Array;e.exports=!o||!i((function(){u(1)}))||!i((function(){new u(-1)}))||!a((function(e){new u,new u(null),new u(1.5),new u(e)}),!0)||i((function(){return 1!==new u(new s(2),1,void 0).length}))},719:function(e,t,r){"use strict";var n=r(1030),i=RangeError;e.exports=function(e,t){var r=n(e);if(r%t)throw new i("Wrong offset");return r}},720:function(e,t,r){"use strict";var n=r(186),i=r(29),a=r(357),o=r(55),s=r(101),u=r(351),l=r(194),c=r(355),h=r(1032),f=r(578).aTypedArrayConstructor,d=r(721);e.exports=function(e){var t,r,p,m,v,g,y,b,w=a(this),k=o(e),_=arguments.length,S=_>1?arguments[1]:void 0,x=void 0!==S,E=l(k);if(E&&!c(E))for(b=(y=u(k,E)).next,k=[];!(g=i(b,y)).done;)k.push(g.value);for(x&&_>2&&(S=n(S,arguments[2])),r=s(k),p=new(f(w))(r),m=h(p),t=0;r>t;t++)v=x?S(k[t],t):k[t],p[t]=m?d(v):+v;return p}},721:function(e,t,r){"use strict";var n=r(231),i=TypeError;e.exports=function(e){var t=n(e,"number");if("number"==typeof t)throw new i("Can't convert number to bigint");return BigInt(t)}},722:function(e,t,r){"use strict";var n=r(101);e.exports=function(e,t,r){for(var i=0,a=arguments.length>2?r:n(t),o=new e(a);a>i;)o[i]=t[i++];return o}},723:function(e,t,r){"use strict";var n=r(7),i=r(23),a=r(34),o=r(72),s=i("iterator");e.exports=!n((function(){var e=new URL("b?a=1&b=2&c=3","https://a"),t=e.searchParams,r=new URLSearchParams("a=1&a=2&b=3"),n="";return e.pathname="c%20d",t.forEach((function(e,r){t.delete("b"),n+=r+e})),r.delete("a",2),r.delete("b",void 0),o&&(!e.toJSON||!r.has("a",1)||r.has("a",2)||!r.has("a",void 0)||r.has("b"))||!t.size&&(o||!a)||!t.sort||"https://a/c%20d?a=1&c=3"!==e.href||"3"!==t.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!t[s]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("https://тест").host||"#%D0%B1"!==new URL("https://a#б").hash||"a1c3"!==n||"x"!==new URL("https://x",void 0).host}))},724:function(e,t,r){"use strict";r(150),r(1072);var n=r(27),i=r(13),a=r(713),o=r(56),s=r(29),u=r(5),l=r(34),c=r(723),h=r(47),f=r(144),d=r(199),p=r(82),m=r(365),v=r(64),g=r(189),y=r(19),b=r(20),w=r(186),k=r(105),_=r(32),S=r(24),x=r(40),E=r(74),C=r(107),A=r(351),P=r(194),T=r(238),R=r(644),O=r(23),M=r(642),N=O("iterator"),B=v.set,L=v.getterFor("URLSearchParams"),I=v.getterFor("URLSearchParamsIterator"),j=a("fetch"),D=a("Request"),z=a("Headers"),F=D&&D.prototype,U=z&&z.prototype,W=i.TypeError,H=i.encodeURIComponent,q=String.fromCharCode,V=o("String","fromCodePoint"),Z=parseInt,X=u("".charAt),G=u([].join),Y=u([].push),J=u("".replace),K=u([].shift),$=u([].splice),Q=u("".split),ee=u("".slice),te=u(/./.exec),re=/\+/g,ne=/^[0-9a-f]+$/i,ie=function(e,t){var r=ee(e,t,t+2);return te(ne,r)?Z(r,16):NaN},ae=function(e){for(var t=0,r=128;r>0&&0!=(e&r);r>>=1)t++;return t},oe=function(e){var t=null;switch(e.length){case 1:t=e[0];break;case 2:t=(31&e[0])<<6|63&e[1];break;case 3:t=(15&e[0])<<12|(63&e[1])<<6|63&e[2];break;case 4:t=(7&e[0])<<18|(63&e[1])<<12|(63&e[2])<<6|63&e[3]}return t>1114111?null:t},se=function(e){for(var t=(e=J(e,re," ")).length,r="",n=0;n<t;){var i=X(e,n);if("%"===i){if("%"===X(e,n+1)||n+3>t){r+="%",n++;continue}var a=ie(e,n+1);if(a!=a){r+=i,n++;continue}n+=2;var o=ae(a);if(0===o)i=q(a);else{if(1===o||o>4){r+="�",n++;continue}for(var s=[a],u=1;u<o&&!(++n+3>t||"%"!==X(e,n));){var l=ie(e,n+1);if(l!=l){n+=3;break}if(l>191||l<128)break;Y(s,l),n+=2,u++}if(s.length!==o){r+="�";continue}var c=oe(s);null===c?r+="�":i=V(c)}}r+=i,n++}return r},ue=/[!'()~]|%20/g,le={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},ce=function(e){return le[e]},he=function(e){return J(H(e),ue,ce)},fe=m((function(e,t){B(this,{type:"URLSearchParamsIterator",target:L(e).entries,index:0,kind:t})}),"URLSearchParams",(function(){var e=I(this),t=e.target,r=e.index++;if(!t||r>=t.length)return e.target=null,T(void 0,!0);var n=t[r];switch(e.kind){case"keys":return T(n.key,!1);case"values":return T(n.value,!1)}return T([n.key,n.value],!1)}),!0),de=function(e){this.entries=[],this.url=null,void 0!==e&&(S(e)?this.parseObject(e):this.parseQuery("string"==typeof e?"?"===X(e,0)?ee(e,1):e:x(e)))};de.prototype={type:"URLSearchParams",bindURL:function(e){this.url=e,this.update()},parseObject:function(e){var t,r,n,i,a,o,u,l=this.entries,c=P(e);if(c)for(r=(t=A(e,c)).next;!(n=s(r,t)).done;){if(a=(i=A(_(n.value))).next,(o=s(a,i)).done||(u=s(a,i)).done||!s(a,i).done)throw new W("Expected sequence with length 2");Y(l,{key:x(o.value),value:x(u.value)})}else for(var h in e)b(e,h)&&Y(l,{key:h,value:x(e[h])})},parseQuery:function(e){if(e)for(var t,r,n=this.entries,i=Q(e,"&"),a=0;a<i.length;)(t=i[a++]).length&&(r=Q(t,"="),Y(n,{key:se(K(r)),value:se(G(r,"="))}))},serialize:function(){for(var e,t=this.entries,r=[],n=0;n<t.length;)e=t[n++],Y(r,he(e.key)+"="+he(e.value));return G(r,"&")},update:function(){this.entries.length=0,this.parseQuery(this.url.query)},updateURL:function(){this.url&&this.url.update()}};var pe=function(){g(this,me);var e=arguments.length>0?arguments[0]:void 0,t=B(this,new de(e));l||(this.size=t.entries.length)},me=pe.prototype;if(d(me,{append:function(e,t){var r=L(this);R(arguments.length,2),Y(r.entries,{key:x(e),value:x(t)}),l||this.length++,r.updateURL()},delete:function(e){for(var t=L(this),r=R(arguments.length,1),n=t.entries,i=x(e),a=r<2?void 0:arguments[1],o=void 0===a?a:x(a),s=0;s<n.length;){var u=n[s];if(u.key!==i||void 0!==o&&u.value!==o)s++;else if($(n,s,1),void 0!==o)break}l||(this.size=n.length),t.updateURL()},get:function(e){var t=L(this).entries;R(arguments.length,1);for(var r=x(e),n=0;n<t.length;n++)if(t[n].key===r)return t[n].value;return null},getAll:function(e){var t=L(this).entries;R(arguments.length,1);for(var r=x(e),n=[],i=0;i<t.length;i++)t[i].key===r&&Y(n,t[i].value);return n},has:function(e){for(var t=L(this).entries,r=R(arguments.length,1),n=x(e),i=r<2?void 0:arguments[1],a=void 0===i?i:x(i),o=0;o<t.length;){var s=t[o++];if(s.key===n&&(void 0===a||s.value===a))return!0}return!1},set:function(e,t){var r=L(this);R(arguments.length,1);for(var n,i=r.entries,a=!1,o=x(e),s=x(t),u=0;u<i.length;u++)(n=i[u]).key===o&&(a?$(i,u--,1):(a=!0,n.value=s));a||Y(i,{key:o,value:s}),l||(this.size=i.length),r.updateURL()},sort:function(){var e=L(this);M(e.entries,(function(e,t){return e.key>t.key?1:-1})),e.updateURL()},forEach:function(e){for(var t,r=L(this).entries,n=w(e,arguments.length>1?arguments[1]:void 0),i=0;i<r.length;)n((t=r[i++]).value,t.key,this)},keys:function(){return new fe(this,"keys")},values:function(){return new fe(this,"values")},entries:function(){return new fe(this,"entries")}},{enumerable:!0}),h(me,N,me.entries,{name:"entries"}),h(me,"toString",(function(){return L(this).serialize()}),{enumerable:!0}),l&&f(me,"size",{get:function(){return L(this).entries.length},configurable:!0,enumerable:!0}),p(pe,"URLSearchParams"),n({global:!0,constructor:!0,forced:!c},{URLSearchParams:pe}),!c&&y(z)){var ve=u(U.has),ge=u(U.set),ye=function(e){if(S(e)){var t,r=e.body;if("URLSearchParams"===k(r))return t=e.headers?new z(e.headers):new z,ve(t,"content-type")||ge(t,"content-type","application/x-www-form-urlencoded;charset=UTF-8"),E(e,{body:C(0,x(r)),headers:C(0,t)})}return e};if(y(j)&&n({global:!0,enumerable:!0,dontCallGetSet:!0,forced:!0},{fetch:function(e){return j(e,arguments.length>1?ye(arguments[1]):{})}}),y(D)){var be=function(e){return g(this,F),new D(e,arguments.length>1?ye(arguments[1]):{})};F.constructor=be,be.prototype=F,n({global:!0,constructor:!0,dontCallGetSet:!0,forced:!0},{Request:be})}}e.exports={URLSearchParams:pe,getState:L}},725:function(e,t,r){"use strict";(function(t,n){var i=r(617);e.exports=b;var a,o=r(1076);b.ReadableState=y;r(616).EventEmitter;var s=function(e,t){return e.listeners(t).length},u=r(726),l=r(647).Buffer,c=(void 0!==t?t:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{}).Uint8Array||function(){};var h=Object.create(r(602));h.inherits=r(597);var f=r(1077),d=void 0;d=f&&f.debuglog?f.debuglog("stream"):function(){};var p,m=r(1078),v=r(727);h.inherits(b,u);var g=["error","close","destroy","pause","resume"];function y(e,t){e=e||{};var n=t instanceof(a=a||r(588));this.objectMode=!!e.objectMode,n&&(this.objectMode=this.objectMode||!!e.readableObjectMode);var i=e.highWaterMark,o=e.readableHighWaterMark,s=this.objectMode?16:16384;this.highWaterMark=i||0===i?i:n&&(o||0===o)?o:s,this.highWaterMark=Math.floor(this.highWaterMark),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.destroyed=!1,this.defaultEncoding=e.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,e.encoding&&(p||(p=r(728).StringDecoder),this.decoder=new p(e.encoding),this.encoding=e.encoding)}function b(e){if(a=a||r(588),!(this instanceof b))return new b(e);this._readableState=new y(e,this),this.readable=!0,e&&("function"==typeof e.read&&(this._read=e.read),"function"==typeof e.destroy&&(this._destroy=e.destroy)),u.call(this)}function w(e,t,r,n,i){var a,o=e._readableState;null===t?(o.reading=!1,function(e,t){if(t.ended)return;if(t.decoder){var r=t.decoder.end();r&&r.length&&(t.buffer.push(r),t.length+=t.objectMode?1:r.length)}t.ended=!0,S(e)}(e,o)):(i||(a=function(e,t){var r;n=t,l.isBuffer(n)||n instanceof c||"string"==typeof t||void 0===t||e.objectMode||(r=new TypeError("Invalid non-string/buffer chunk"));var n;return r}(o,t)),a?e.emit("error",a):o.objectMode||t&&t.length>0?("string"==typeof t||o.objectMode||Object.getPrototypeOf(t)===l.prototype||(t=function(e){return l.from(e)}(t)),n?o.endEmitted?e.emit("error",new Error("stream.unshift() after end event")):k(e,o,t,!0):o.ended?e.emit("error",new Error("stream.push() after EOF")):(o.reading=!1,o.decoder&&!r?(t=o.decoder.write(t),o.objectMode||0!==t.length?k(e,o,t,!1):E(e,o)):k(e,o,t,!1))):n||(o.reading=!1));return function(e){return!e.ended&&(e.needReadable||e.length<e.highWaterMark||0===e.length)}(o)}function k(e,t,r,n){t.flowing&&0===t.length&&!t.sync?(e.emit("data",r),e.read(0)):(t.length+=t.objectMode?1:r.length,n?t.buffer.unshift(r):t.buffer.push(r),t.needReadable&&S(e)),E(e,t)}Object.defineProperty(b.prototype,"destroyed",{get:function(){return void 0!==this._readableState&&this._readableState.destroyed},set:function(e){this._readableState&&(this._readableState.destroyed=e)}}),b.prototype.destroy=v.destroy,b.prototype._undestroy=v.undestroy,b.prototype._destroy=function(e,t){this.push(null),t(e)},b.prototype.push=function(e,t){var r,n=this._readableState;return n.objectMode?r=!0:"string"==typeof e&&((t=t||n.defaultEncoding)!==n.encoding&&(e=l.from(e,t),t=""),r=!0),w(this,e,t,!1,r)},b.prototype.unshift=function(e){return w(this,e,null,!0,!1)},b.prototype.isPaused=function(){return!1===this._readableState.flowing},b.prototype.setEncoding=function(e){return p||(p=r(728).StringDecoder),this._readableState.decoder=new p(e),this._readableState.encoding=e,this};function _(e,t){return e<=0||0===t.length&&t.ended?0:t.objectMode?1:e!=e?t.flowing&&t.length?t.buffer.head.data.length:t.length:(e>t.highWaterMark&&(t.highWaterMark=function(e){return e>=8388608?e=8388608:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}(e)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0))}function S(e){var t=e._readableState;t.needReadable=!1,t.emittedReadable||(d("emitReadable",t.flowing),t.emittedReadable=!0,t.sync?i.nextTick(x,e):x(e))}function x(e){d("emit readable"),e.emit("readable"),T(e)}function E(e,t){t.readingMore||(t.readingMore=!0,i.nextTick(C,e,t))}function C(e,t){for(var r=t.length;!t.reading&&!t.flowing&&!t.ended&&t.length<t.highWaterMark&&(d("maybeReadMore read 0"),e.read(0),r!==t.length);)r=t.length;t.readingMore=!1}function A(e){d("readable nexttick read 0"),e.read(0)}function P(e,t){t.reading||(d("resume read 0"),e.read(0)),t.resumeScheduled=!1,t.awaitDrain=0,e.emit("resume"),T(e),t.flowing&&!t.reading&&e.read(0)}function T(e){var t=e._readableState;for(d("flow",t.flowing);t.flowing&&null!==e.read(););}function R(e,t){return 0===t.length?null:(t.objectMode?r=t.buffer.shift():!e||e>=t.length?(r=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.head.data:t.buffer.concat(t.length),t.buffer.clear()):r=function(e,t,r){var n;e<t.head.data.length?(n=t.head.data.slice(0,e),t.head.data=t.head.data.slice(e)):n=e===t.head.data.length?t.shift():r?function(e,t){var r=t.head,n=1,i=r.data;e-=i.length;for(;r=r.next;){var a=r.data,o=e>a.length?a.length:e;if(o===a.length?i+=a:i+=a.slice(0,e),0===(e-=o)){o===a.length?(++n,r.next?t.head=r.next:t.head=t.tail=null):(t.head=r,r.data=a.slice(o));break}++n}return t.length-=n,i}(e,t):function(e,t){var r=l.allocUnsafe(e),n=t.head,i=1;n.data.copy(r),e-=n.data.length;for(;n=n.next;){var a=n.data,o=e>a.length?a.length:e;if(a.copy(r,r.length-e,0,o),0===(e-=o)){o===a.length?(++i,n.next?t.head=n.next:t.head=t.tail=null):(t.head=n,n.data=a.slice(o));break}++i}return t.length-=i,r}(e,t);return n}(e,t.buffer,t.decoder),r);var r}function O(e){var t=e._readableState;if(t.length>0)throw new Error('"endReadable()" called on non-empty stream');t.endEmitted||(t.ended=!0,i.nextTick(M,t,e))}function M(e,t){e.endEmitted||0!==e.length||(e.endEmitted=!0,t.readable=!1,t.emit("end"))}function N(e,t){for(var r=0,n=e.length;r<n;r++)if(e[r]===t)return r;return-1}b.prototype.read=function(e){d("read",e),e=parseInt(e,10);var t=this._readableState,r=e;if(0!==e&&(t.emittedReadable=!1),0===e&&t.needReadable&&(t.length>=t.highWaterMark||t.ended))return d("read: emitReadable",t.length,t.ended),0===t.length&&t.ended?O(this):S(this),null;if(0===(e=_(e,t))&&t.ended)return 0===t.length&&O(this),null;var n,i=t.needReadable;return d("need readable",i),(0===t.length||t.length-e<t.highWaterMark)&&d("length less than watermark",i=!0),t.ended||t.reading?d("reading or ended",i=!1):i&&(d("do read"),t.reading=!0,t.sync=!0,0===t.length&&(t.needReadable=!0),this._read(t.highWaterMark),t.sync=!1,t.reading||(e=_(r,t))),null===(n=e>0?R(e,t):null)?(t.needReadable=!0,e=0):t.length-=e,0===t.length&&(t.ended||(t.needReadable=!0),r!==e&&t.ended&&O(this)),null!==n&&this.emit("data",n),n},b.prototype._read=function(e){this.emit("error",new Error("_read() is not implemented"))},b.prototype.pipe=function(e,t){var r=this,a=this._readableState;switch(a.pipesCount){case 0:a.pipes=e;break;case 1:a.pipes=[a.pipes,e];break;default:a.pipes.push(e)}a.pipesCount+=1,d("pipe count=%d opts=%j",a.pipesCount,t);var u=(!t||!1!==t.end)&&e!==n.stdout&&e!==n.stderr?c:b;function l(t,n){d("onunpipe"),t===r&&n&&!1===n.hasUnpiped&&(n.hasUnpiped=!0,d("cleanup"),e.removeListener("close",g),e.removeListener("finish",y),e.removeListener("drain",h),e.removeListener("error",v),e.removeListener("unpipe",l),r.removeListener("end",c),r.removeListener("end",b),r.removeListener("data",m),f=!0,!a.awaitDrain||e._writableState&&!e._writableState.needDrain||h())}function c(){d("onend"),e.end()}a.endEmitted?i.nextTick(u):r.once("end",u),e.on("unpipe",l);var h=function(e){return function(){var t=e._readableState;d("pipeOnDrain",t.awaitDrain),t.awaitDrain&&t.awaitDrain--,0===t.awaitDrain&&s(e,"data")&&(t.flowing=!0,T(e))}}(r);e.on("drain",h);var f=!1;var p=!1;function m(t){d("ondata"),p=!1,!1!==e.write(t)||p||((1===a.pipesCount&&a.pipes===e||a.pipesCount>1&&-1!==N(a.pipes,e))&&!f&&(d("false write response, pause",a.awaitDrain),a.awaitDrain++,p=!0),r.pause())}function v(t){d("onerror",t),b(),e.removeListener("error",v),0===s(e,"error")&&e.emit("error",t)}function g(){e.removeListener("finish",y),b()}function y(){d("onfinish"),e.removeListener("close",g),b()}function b(){d("unpipe"),r.unpipe(e)}return r.on("data",m),function(e,t,r){if("function"==typeof e.prependListener)return e.prependListener(t,r);e._events&&e._events[t]?o(e._events[t])?e._events[t].unshift(r):e._events[t]=[r,e._events[t]]:e.on(t,r)}(e,"error",v),e.once("close",g),e.once("finish",y),e.emit("pipe",r),a.flowing||(d("pipe resume"),r.resume()),e},b.prototype.unpipe=function(e){var t=this._readableState,r={hasUnpiped:!1};if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes||(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this,r)),this;if(!e){var n=t.pipes,i=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var a=0;a<i;a++)n[a].emit("unpipe",this,{hasUnpiped:!1});return this}var o=N(t.pipes,e);return-1===o||(t.pipes.splice(o,1),t.pipesCount-=1,1===t.pipesCount&&(t.pipes=t.pipes[0]),e.emit("unpipe",this,r)),this},b.prototype.on=function(e,t){var r=u.prototype.on.call(this,e,t);if("data"===e)!1!==this._readableState.flowing&&this.resume();else if("readable"===e){var n=this._readableState;n.endEmitted||n.readableListening||(n.readableListening=n.needReadable=!0,n.emittedReadable=!1,n.reading?n.length&&S(this):i.nextTick(A,this))}return r},b.prototype.addListener=b.prototype.on,b.prototype.resume=function(){var e=this._readableState;return e.flowing||(d("resume"),e.flowing=!0,function(e,t){t.resumeScheduled||(t.resumeScheduled=!0,i.nextTick(P,e,t))}(this,e)),this},b.prototype.pause=function(){return d("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(d("pause"),this._readableState.flowing=!1,this.emit("pause")),this},b.prototype.wrap=function(e){var t=this,r=this._readableState,n=!1;for(var i in e.on("end",(function(){if(d("wrapped end"),r.decoder&&!r.ended){var e=r.decoder.end();e&&e.length&&t.push(e)}t.push(null)})),e.on("data",(function(i){(d("wrapped data"),r.decoder&&(i=r.decoder.write(i)),r.objectMode&&null==i)||(r.objectMode||i&&i.length)&&(t.push(i)||(n=!0,e.pause()))})),e)void 0===this[i]&&"function"==typeof e[i]&&(this[i]=function(t){return function(){return e[t].apply(e,arguments)}}(i));for(var a=0;a<g.length;a++)e.on(g[a],this.emit.bind(this,g[a]));return this._read=function(t){d("wrapped _read",t),n&&(n=!1,e.resume())},this},Object.defineProperty(b.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),b._fromList=R}).call(this,r(36),r(343))},726:function(e,t,r){e.exports=r(616).EventEmitter},727:function(e,t,r){"use strict";var n=r(617);function i(e,t){e.emit("error",t)}e.exports={destroy:function(e,t){var r=this,a=this._readableState&&this._readableState.destroyed,o=this._writableState&&this._writableState.destroyed;return a||o?(t?t(e):e&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,n.nextTick(i,this,e)):n.nextTick(i,this,e)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(e||null,(function(e){!t&&e?r._writableState?r._writableState.errorEmitted||(r._writableState.errorEmitted=!0,n.nextTick(i,r,e)):n.nextTick(i,r,e):t&&t(e)})),this)},undestroy:function(){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)}}},728:function(e,t,r){"use strict";var n=r(1081).Buffer,i=n.isEncoding||function(e){switch((e=""+e)&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function a(e){var t;switch(this.encoding=function(e){var t=function(e){if(!e)return"utf8";for(var t;;)switch(e){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return e;default:if(t)return;e=(""+e).toLowerCase(),t=!0}}(e);if("string"!=typeof t&&(n.isEncoding===i||!i(e)))throw new Error("Unknown encoding: "+e);return t||e}(e),this.encoding){case"utf16le":this.text=u,this.end=l,t=4;break;case"utf8":this.fillLast=s,t=4;break;case"base64":this.text=c,this.end=h,t=3;break;default:return this.write=f,void(this.end=d)}this.lastNeed=0,this.lastTotal=0,this.lastChar=n.allocUnsafe(t)}function o(e){return e<=127?0:e>>5==6?2:e>>4==14?3:e>>3==30?4:e>>6==2?-1:-2}function s(e){var t=this.lastTotal-this.lastNeed,r=function(e,t,r){if(128!=(192&t[0]))return e.lastNeed=0,"�";if(e.lastNeed>1&&t.length>1){if(128!=(192&t[1]))return e.lastNeed=1,"�";if(e.lastNeed>2&&t.length>2&&128!=(192&t[2]))return e.lastNeed=2,"�"}}(this,e);return void 0!==r?r:this.lastNeed<=e.length?(e.copy(this.lastChar,t,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(e.copy(this.lastChar,t,0,e.length),void(this.lastNeed-=e.length))}function u(e,t){if((e.length-t)%2==0){var r=e.toString("utf16le",t);if(r){var n=r.charCodeAt(r.length-1);if(n>=55296&&n<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],r.slice(0,-1)}return r}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString("utf16le",t,e.length-1)}function l(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed){var r=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,r)}return t}function c(e,t){var r=(e.length-t)%3;return 0===r?e.toString("base64",t):(this.lastNeed=3-r,this.lastTotal=3,1===r?this.lastChar[0]=e[e.length-1]:(this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1]),e.toString("base64",t,e.length-r))}function h(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function f(e){return e.toString(this.encoding)}function d(e){return e&&e.length?this.write(e):""}t.StringDecoder=a,a.prototype.write=function(e){if(0===e.length)return"";var t,r;if(this.lastNeed){if(void 0===(t=this.fillLast(e)))return"";r=this.lastNeed,this.lastNeed=0}else r=0;return r<e.length?t?t+this.text(e,r):this.text(e,r):t||""},a.prototype.end=function(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+"�":t},a.prototype.text=function(e,t){var r=function(e,t,r){var n=t.length-1;if(n<r)return 0;var i=o(t[n]);if(i>=0)return i>0&&(e.lastNeed=i-1),i;if(--n<r||-2===i)return 0;if((i=o(t[n]))>=0)return i>0&&(e.lastNeed=i-2),i;if(--n<r||-2===i)return 0;if((i=o(t[n]))>=0)return i>0&&(2===i?i=0:e.lastNeed=i-3),i;return 0}(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=r;var n=e.length-(r-this.lastNeed);return e.copy(this.lastChar,0,n),e.toString("utf8",t,n)},a.prototype.fillLast=function(e){if(this.lastNeed<=e.length)return e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,e.length),this.lastNeed-=e.length}},729:function(e,t,r){"use strict";e.exports=o;var n=r(588),i=Object.create(r(602));function a(e,t){var r=this._transformState;r.transforming=!1;var n=r.writecb;if(!n)return this.emit("error",new Error("write callback called multiple times"));r.writechunk=null,r.writecb=null,null!=t&&this.push(t),n(e);var i=this._readableState;i.reading=!1,(i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}function o(e){if(!(this instanceof o))return new o(e);n.call(this,e),this._transformState={afterTransform:a.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,e&&("function"==typeof e.transform&&(this._transform=e.transform),"function"==typeof e.flush&&(this._flush=e.flush)),this.on("prefinish",s)}function s(){var e=this;"function"==typeof this._flush?this._flush((function(t,r){u(e,t,r)})):u(this,null,null)}function u(e,t,r){if(t)return e.emit("error",t);if(null!=r&&e.push(r),e._writableState.length)throw new Error("Calling transform done when ws.length != 0");if(e._transformState.transforming)throw new Error("Calling transform done when still transforming");return e.push(null)}i.inherits=r(597),i.inherits(o,n),o.prototype.push=function(e,t){return this._transformState.needTransform=!1,n.prototype.push.call(this,e,t)},o.prototype._transform=function(e,t,r){throw new Error("_transform() is not implemented")},o.prototype._write=function(e,t,r){var n=this._transformState;if(n.writecb=r,n.writechunk=e,n.writeencoding=t,!n.transforming){var i=this._readableState;(n.needTransform||i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}},o.prototype._read=function(e){var t=this._transformState;null!==t.writechunk&&t.writecb&&!t.transforming?(t.transforming=!0,this._transform(t.writechunk,t.writeencoding,t.afterTransform)):t.needTransform=!0},o.prototype._destroy=function(e,t){var r=this;n.prototype._destroy.call(this,e,(function(e){t(e),r.emit("close")}))}},730:function(e,t,r){(function(e){var n=Object.getOwnPropertyDescriptors||function(e){for(var t=Object.keys(e),r={},n=0;n<t.length;n++)r[t[n]]=Object.getOwnPropertyDescriptor(e,t[n]);return r},i=/%[sdj%]/g;t.format=function(e){if(!g(e)){for(var t=[],r=0;r<arguments.length;r++)t.push(s(arguments[r]));return t.join(" ")}r=1;for(var n=arguments,a=n.length,o=String(e).replace(i,(function(e){if("%%"===e)return"%";if(r>=a)return e;switch(e){case"%s":return String(n[r++]);case"%d":return Number(n[r++]);case"%j":try{return JSON.stringify(n[r++])}catch(e){return"[Circular]"}default:return e}})),u=n[r];r<a;u=n[++r])m(u)||!w(u)?o+=" "+u:o+=" "+s(u);return o},t.deprecate=function(r,n){if(void 0!==e&&!0===e.noDeprecation)return r;if(void 0===e)return function(){return t.deprecate(r,n).apply(this,arguments)};var i=!1;return function(){if(!i){if(e.throwDeprecation)throw new Error(n);e.traceDeprecation?console.trace(n):console.error(n),i=!0}return r.apply(this,arguments)}};var a,o={};function s(e,r){var n={seen:[],stylize:l};return arguments.length>=3&&(n.depth=arguments[2]),arguments.length>=4&&(n.colors=arguments[3]),p(r)?n.showHidden=r:r&&t._extend(n,r),y(n.showHidden)&&(n.showHidden=!1),y(n.depth)&&(n.depth=2),y(n.colors)&&(n.colors=!1),y(n.customInspect)&&(n.customInspect=!0),n.colors&&(n.stylize=u),c(n,e,n.depth)}function u(e,t){var r=s.styles[t];return r?"["+s.colors[r][0]+"m"+e+"["+s.colors[r][1]+"m":e}function l(e,t){return e}function c(e,r,n){if(e.customInspect&&r&&S(r.inspect)&&r.inspect!==t.inspect&&(!r.constructor||r.constructor.prototype!==r)){var i=r.inspect(n,e);return g(i)||(i=c(e,i,n)),i}var a=function(e,t){if(y(t))return e.stylize("undefined","undefined");if(g(t)){var r="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(r,"string")}if(v(t))return e.stylize(""+t,"number");if(p(t))return e.stylize(""+t,"boolean");if(m(t))return e.stylize("null","null")}(e,r);if(a)return a;var o=Object.keys(r),s=function(e){var t={};return e.forEach((function(e,r){t[e]=!0})),t}(o);if(e.showHidden&&(o=Object.getOwnPropertyNames(r)),_(r)&&(o.indexOf("message")>=0||o.indexOf("description")>=0))return h(r);if(0===o.length){if(S(r)){var u=r.name?": "+r.name:"";return e.stylize("[Function"+u+"]","special")}if(b(r))return e.stylize(RegExp.prototype.toString.call(r),"regexp");if(k(r))return e.stylize(Date.prototype.toString.call(r),"date");if(_(r))return h(r)}var l,w="",x=!1,E=["{","}"];(d(r)&&(x=!0,E=["[","]"]),S(r))&&(w=" [Function"+(r.name?": "+r.name:"")+"]");return b(r)&&(w=" "+RegExp.prototype.toString.call(r)),k(r)&&(w=" "+Date.prototype.toUTCString.call(r)),_(r)&&(w=" "+h(r)),0!==o.length||x&&0!=r.length?n<0?b(r)?e.stylize(RegExp.prototype.toString.call(r),"regexp"):e.stylize("[Object]","special"):(e.seen.push(r),l=x?function(e,t,r,n,i){for(var a=[],o=0,s=t.length;o<s;++o)P(t,String(o))?a.push(f(e,t,r,n,String(o),!0)):a.push("");return i.forEach((function(i){i.match(/^\d+$/)||a.push(f(e,t,r,n,i,!0))})),a}(e,r,n,s,o):o.map((function(t){return f(e,r,n,s,t,x)})),e.seen.pop(),function(e,t,r){if(e.reduce((function(e,t){return t.indexOf("\n")>=0&&0,e+t.replace(/\u001b\[\d\d?m/g,"").length+1}),0)>60)return r[0]+(""===t?"":t+"\n ")+" "+e.join(",\n ")+" "+r[1];return r[0]+t+" "+e.join(", ")+" "+r[1]}(l,w,E)):E[0]+w+E[1]}function h(e){return"["+Error.prototype.toString.call(e)+"]"}function f(e,t,r,n,i,a){var o,s,u;if((u=Object.getOwnPropertyDescriptor(t,i)||{value:t[i]}).get?s=u.set?e.stylize("[Getter/Setter]","special"):e.stylize("[Getter]","special"):u.set&&(s=e.stylize("[Setter]","special")),P(n,i)||(o="["+i+"]"),s||(e.seen.indexOf(u.value)<0?(s=m(r)?c(e,u.value,null):c(e,u.value,r-1)).indexOf("\n")>-1&&(s=a?s.split("\n").map((function(e){return" "+e})).join("\n").substr(2):"\n"+s.split("\n").map((function(e){return" "+e})).join("\n")):s=e.stylize("[Circular]","special")),y(o)){if(a&&i.match(/^\d+$/))return s;(o=JSON.stringify(""+i)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(o=o.substr(1,o.length-2),o=e.stylize(o,"name")):(o=o.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),o=e.stylize(o,"string"))}return o+": "+s}function d(e){return Array.isArray(e)}function p(e){return"boolean"==typeof e}function m(e){return null===e}function v(e){return"number"==typeof e}function g(e){return"string"==typeof e}function y(e){return void 0===e}function b(e){return w(e)&&"[object RegExp]"===x(e)}function w(e){return"object"==typeof e&&null!==e}function k(e){return w(e)&&"[object Date]"===x(e)}function _(e){return w(e)&&("[object Error]"===x(e)||e instanceof Error)}function S(e){return"function"==typeof e}function x(e){return Object.prototype.toString.call(e)}function E(e){return e<10?"0"+e.toString(10):e.toString(10)}t.debuglog=function(r){if(y(a)&&(a=e.env.NODE_DEBUG||""),r=r.toUpperCase(),!o[r])if(new RegExp("\\b"+r+"\\b","i").test(a)){var n=e.pid;o[r]=function(){var e=t.format.apply(t,arguments);console.error("%s %d: %s",r,n,e)}}else o[r]=function(){};return o[r]},t.inspect=s,s.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},s.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},t.isArray=d,t.isBoolean=p,t.isNull=m,t.isNullOrUndefined=function(e){return null==e},t.isNumber=v,t.isString=g,t.isSymbol=function(e){return"symbol"==typeof e},t.isUndefined=y,t.isRegExp=b,t.isObject=w,t.isDate=k,t.isError=_,t.isFunction=S,t.isPrimitive=function(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||void 0===e},t.isBuffer=r(1087);var C=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function A(){var e=new Date,t=[E(e.getHours()),E(e.getMinutes()),E(e.getSeconds())].join(":");return[e.getDate(),C[e.getMonth()],t].join(" ")}function P(e,t){return Object.prototype.hasOwnProperty.call(e,t)}t.log=function(){console.log("%s - %s",A(),t.format.apply(t,arguments))},t.inherits=r(1088),t._extend=function(e,t){if(!t||!w(t))return e;for(var r=Object.keys(t),n=r.length;n--;)e[r[n]]=t[r[n]];return e};var T="undefined"!=typeof Symbol?Symbol("util.promisify.custom"):void 0;function R(e,t){if(!e){var r=new Error("Promise was rejected with a falsy value");r.reason=e,e=r}return t(e)}t.promisify=function(e){if("function"!=typeof e)throw new TypeError('The "original" argument must be of type Function');if(T&&e[T]){var t;if("function"!=typeof(t=e[T]))throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(t,T,{value:t,enumerable:!1,writable:!1,configurable:!0}),t}function t(){for(var t,r,n=new Promise((function(e,n){t=e,r=n})),i=[],a=0;a<arguments.length;a++)i.push(arguments[a]);i.push((function(e,n){e?r(e):t(n)}));try{e.apply(this,i)}catch(e){r(e)}return n}return Object.setPrototypeOf(t,Object.getPrototypeOf(e)),T&&Object.defineProperty(t,T,{value:t,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(t,n(e))},t.promisify.custom=T,t.callbackify=function(t){if("function"!=typeof t)throw new TypeError('The "original" argument must be of type Function');function r(){for(var r=[],n=0;n<arguments.length;n++)r.push(arguments[n]);var i=r.pop();if("function"!=typeof i)throw new TypeError("The last argument must be of type Function");var a=this,o=function(){return i.apply(a,arguments)};t.apply(this,r).then((function(t){e.nextTick(o,null,t)}),(function(t){e.nextTick(R,t,o)}))}return Object.setPrototypeOf(r,Object.getPrototypeOf(t)),Object.defineProperties(r,n(t)),r}}).call(this,r(343))},972:function(e,t,r){"use strict";(function(e,n,i,a){r.d(t,"a",(function(){return Ps}));r(373),r(374),r(973),r(974),r(375),r(376),r(975),r(976),r(977),r(363),r(978),r(979),r(980),r(982),r(984),r(150),r(985),r(986),r(987),r(988),r(989),r(991),r(992),r(377),r(998),r(371),r(999),r(1e3),r(378),r(1001),r(361),r(1003),r(1005),r(1006),r(1007),r(380),r(1008),r(237),r(1009),r(1020),r(381),r(242),r(1021),r(1022),r(1023),r(198),r(372),r(1025),r(1026),r(1028),r(1033),r(1034),r(1035),r(1036),r(1038),r(1039),r(1040),r(1042),r(1043),r(1044),r(1045),r(1046),r(1047),r(1048),r(1049),r(1050),r(1052),r(1053),r(1054),r(1055),r(1056),r(1057),r(1058),r(1059),r(1060),r(1061),r(1062),r(1063),r(1065),r(1067),r(241),r(1069),r(1073),r(1074);var o=r(1075),s=r.n(o),u=r(616),l=r.n(u),c=r(586),h=r.n(c),f=r(730),d=r.n(f);function p(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function m(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?p(Object(r),!0).forEach((function(t){v(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):p(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function v(e,t,r){return(t=M(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function g(e){return function(e){if(Array.isArray(e))return E(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||x(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function y(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,i,a,o,s=[],u=!0,l=!1;try{if(a=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=a.call(r)).done)&&(s.push(n.value),s.length!==t);u=!0);}catch(e){l=!0,i=e}finally{try{if(!u&&null!=r.return&&(o=r.return(),Object(o)!==o))return}finally{if(l)throw i}}return s}}(e,t)||x(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function b(e,t,r){return t=w(t),function(e,t){if(t&&("object"==N(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,function(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return function(){return!!e}()}()?Reflect.construct(t,r||[],w(e).constructor):t.apply(e,r))}function w(e){return(w=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function k(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&_(e,t)}function _(e,t){return(_=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function S(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=x(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,i=function(){};return{s:i,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,s=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return o=e.done,e},e:function(e){s=!0,a=e},f:function(){try{o||null==r.return||r.return()}finally{if(s)throw a}}}}function x(e,t){if(e){if("string"==typeof e)return E(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?E(e,t):void 0}}function E(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function C(){C=function(){return t};var e,t={},r=Object.prototype,n=r.hasOwnProperty,i=Object.defineProperty||function(e,t,r){e[t]=r.value},a="function"==typeof Symbol?Symbol:{},o=a.iterator||"@@iterator",s=a.asyncIterator||"@@asyncIterator",u=a.toStringTag||"@@toStringTag";function l(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{l({},"")}catch(e){l=function(e,t,r){return e[t]=r}}function c(e,t,r,n){var a=t&&t.prototype instanceof v?t:v,o=Object.create(a.prototype),s=new R(n||[]);return i(o,"_invoke",{value:E(e,r,s)}),o}function h(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=c;var f="suspendedStart",d="executing",p="completed",m={};function v(){}function g(){}function y(){}var b={};l(b,o,(function(){return this}));var w=Object.getPrototypeOf,k=w&&w(w(O([])));k&&k!==r&&n.call(k,o)&&(b=k);var _=y.prototype=v.prototype=Object.create(b);function S(e){["next","throw","return"].forEach((function(t){l(e,t,(function(e){return this._invoke(t,e)}))}))}function x(e,t){function r(i,a,o,s){var u=h(e[i],e,a);if("throw"!==u.type){var l=u.arg,c=l.value;return c&&"object"==N(c)&&n.call(c,"__await")?t.resolve(c.__await).then((function(e){r("next",e,o,s)}),(function(e){r("throw",e,o,s)})):t.resolve(c).then((function(e){l.value=e,o(l)}),(function(e){return r("throw",e,o,s)}))}s(u.arg)}var a;i(this,"_invoke",{value:function(e,n){function i(){return new t((function(t,i){r(e,n,t,i)}))}return a=a?a.then(i,i):i()}})}function E(t,r,n){var i=f;return function(a,o){if(i===d)throw Error("Generator is already running");if(i===p){if("throw"===a)throw o;return{value:e,done:!0}}for(n.method=a,n.arg=o;;){var s=n.delegate;if(s){var u=A(s,n);if(u){if(u===m)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(i===f)throw i=p,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);i=d;var l=h(t,r,n);if("normal"===l.type){if(i=n.done?p:"suspendedYield",l.arg===m)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(i=p,n.method="throw",n.arg=l.arg)}}}function A(t,r){var n=r.method,i=t.iterator[n];if(i===e)return r.delegate=null,"throw"===n&&t.iterator.return&&(r.method="return",r.arg=e,A(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),m;var a=h(i,t.iterator,r.arg);if("throw"===a.type)return r.method="throw",r.arg=a.arg,r.delegate=null,m;var o=a.arg;return o?o.done?(r[t.resultName]=o.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,m):o:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,m)}function P(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function T(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function R(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(P,this),this.reset(!0)}function O(t){if(t||""===t){var r=t[o];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var i=-1,a=function r(){for(;++i<t.length;)if(n.call(t,i))return r.value=t[i],r.done=!1,r;return r.value=e,r.done=!0,r};return a.next=a}}throw new TypeError(N(t)+" is not iterable")}return g.prototype=y,i(_,"constructor",{value:y,configurable:!0}),i(y,"constructor",{value:g,configurable:!0}),g.displayName=l(y,u,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===g||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,y):(e.__proto__=y,l(e,u,"GeneratorFunction")),e.prototype=Object.create(_),e},t.awrap=function(e){return{__await:e}},S(x.prototype),l(x.prototype,s,(function(){return this})),t.AsyncIterator=x,t.async=function(e,r,n,i,a){void 0===a&&(a=Promise);var o=new x(c(e,r,n,i),a);return t.isGeneratorFunction(r)?o:o.next().then((function(e){return e.done?e.value:o.next()}))},S(_),l(_,u,"Generator"),l(_,o,(function(){return this})),l(_,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),r=[];for(var n in t)r.push(n);return r.reverse(),function e(){for(;r.length;){var n=r.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},t.values=O,R.prototype={constructor:R,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(T),!t)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function i(n,i){return s.type="throw",s.arg=t,r.next=n,i&&(r.method="next",r.arg=e),!!i}for(var a=this.tryEntries.length-1;a>=0;--a){var o=this.tryEntries[a],s=o.completion;if("root"===o.tryLoc)return i("end");if(o.tryLoc<=this.prev){var u=n.call(o,"catchLoc"),l=n.call(o,"finallyLoc");if(u&&l){if(this.prev<o.catchLoc)return i(o.catchLoc,!0);if(this.prev<o.finallyLoc)return i(o.finallyLoc)}else if(u){if(this.prev<o.catchLoc)return i(o.catchLoc,!0)}else{if(!l)throw Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return i(o.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var a=i;break}}a&&("break"===e||"continue"===e)&&a.tryLoc<=t&&t<=a.finallyLoc&&(a=null);var o=a?a.completion:{};return o.type=e,o.arg=t,a?(this.method="next",this.next=a.finallyLoc,m):this.complete(o)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),m},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),T(r),m}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var i=n.arg;T(r)}return i}}throw Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:O(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),m}},t}function A(e,t,r,n,i,a,o){try{var s=e[a](o),u=s.value}catch(e){return void r(e)}s.done?t(u):Promise.resolve(u).then(n,i)}function P(e){return function(){var t=this,r=arguments;return new Promise((function(n,i){var a=e.apply(t,r);function o(e){A(a,n,i,o,s,"next",e)}function s(e){A(a,n,i,o,s,"throw",e)}o(void 0)}))}}function T(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function R(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,M(n.key),n)}}function O(e,t,r){return t&&R(e.prototype,t),r&&R(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function M(e){var t=function(e,t){if("object"!=N(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=N(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==N(t)?t:t+""}function N(e){return(N="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}void 0===window.setImmediate&&(window.setImmediate=function(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];setTimeout((function(){return e(r)}))});var B="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==e?e:"undefined"!=typeof self?self:{};var L,I,j,D,z,F={},U={},W={},H={exports:{}},q={exports:{}};function V(){return L||(L=1,void 0===n||!n.version||0===n.version.indexOf("v0.")||0===n.version.indexOf("v1.")&&0!==n.version.indexOf("v1.8.")?q.exports={nextTick:function(e,t,r,i){if("function"!=typeof e)throw new TypeError('"callback" argument must be a function');var a,o,s=arguments.length;switch(s){case 0:case 1:return n.nextTick(e);case 2:return n.nextTick((function(){e.call(null,t)}));case 3:return n.nextTick((function(){e.call(null,t,r)}));case 4:return n.nextTick((function(){e.call(null,t,r,i)}));default:for(a=new Array(s-1),o=0;o<a.length;)a[o++]=arguments[o];return n.nextTick((function(){e.apply(null,a)}))}}}:q.exports=n),q.exports}function Z(){return z?D:(z=1,D=s.a)}var X,G={exports:{}};function Y(){return X||(X=1,function(e,t){var r=h.a,n=r.Buffer;function i(e,t){for(var r in e)t[r]=e[r]}function a(e,t,r){return n(e,t,r)}n.from&&n.alloc&&n.allocUnsafe&&n.allocUnsafeSlow?e.exports=r:(i(r,t),t.Buffer=a),i(n,a),a.from=function(e,t,r){if("number"==typeof e)throw new TypeError("Argument must not be a number");return n(e,t,r)},a.alloc=function(e,t,r){if("number"!=typeof e)throw new TypeError("Argument must be a number");var i=n(e);return void 0!==t?"string"==typeof r?i.fill(t,r):i.fill(t):i.fill(0),i},a.allocUnsafe=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return n(e)},a.allocUnsafeSlow=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return r.SlowBuffer(e)}}(G,G.exports)),G.exports}var J,K={};function $(){if(J)return K;function e(e){return Object.prototype.toString.call(e)}return J=1,K.isArray=function(t){return Array.isArray?Array.isArray(t):"[object Array]"===e(t)},K.isBoolean=function(e){return"boolean"==typeof e},K.isNull=function(e){return null===e},K.isNullOrUndefined=function(e){return null==e},K.isNumber=function(e){return"number"==typeof e},K.isString=function(e){return"string"==typeof e},K.isSymbol=function(e){return"symbol"==N(e)},K.isUndefined=function(e){return void 0===e},K.isRegExp=function(t){return"[object RegExp]"===e(t)},K.isObject=function(e){return"object"==N(e)&&null!==e},K.isDate=function(t){return"[object Date]"===e(t)},K.isError=function(t){return"[object Error]"===e(t)||t instanceof Error},K.isFunction=function(e){return"function"==typeof e},K.isPrimitive=function(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==N(e)||void 0===e},K.isBuffer=h.a.Buffer.isBuffer,K}var Q,ee,te={exports:{}},re={exports:{}};function ne(){if(ee)return te.exports;ee=1;try{var e=r(730);if("function"!=typeof e.inherits)throw"";te.exports=e.inherits}catch(e){te.exports=(Q||(Q=1,"function"==typeof Object.create?re.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:re.exports=function(e,t){if(t){e.super_=t;var r=function(){};r.prototype=t.prototype,e.prototype=new r,e.prototype.constructor=e}}),re.exports)}return te.exports}var ie,ae,oe,se,ue,le,ce,he,fe,de={exports:{}};function pe(){return ie||(ie=1,e=de,t=Y().Buffer,r=d.a,e.exports=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.head=null,this.tail=null,this.length=0}return e.prototype.push=function(e){var t={data:e,next:null};this.length>0?this.tail.next=t:this.head=t,this.tail=t,++this.length},e.prototype.unshift=function(e){var t={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length},e.prototype.shift=function(){if(0!==this.length){var e=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,e}},e.prototype.clear=function(){this.head=this.tail=null,this.length=0},e.prototype.join=function(e){if(0===this.length)return"";for(var t=this.head,r=""+t.data;t=t.next;)r+=e+t.data;return r},e.prototype.concat=function(e){if(0===this.length)return t.alloc(0);for(var r,n,i=t.allocUnsafe(e>>>0),a=this.head,o=0;a;)r=i,n=o,a.data.copy(r,n),o+=a.data.length,a=a.next;return i},e}(),r&&r.inspect&&r.inspect.custom&&(e.exports.prototype[r.inspect.custom]=function(){var e=r.inspect({length:this.length});return this.constructor.name+" "+e})),de.exports;var e,t,r}function me(){if(oe)return ae;oe=1;var e=V();function t(e,t){e.emit("error",t)}return ae={destroy:function(r,n){var i=this,a=this._readableState&&this._readableState.destroyed,o=this._writableState&&this._writableState.destroyed;return a||o?(n?n(r):r&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,e.nextTick(t,this,r)):e.nextTick(t,this,r)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(r||null,(function(r){!n&&r?i._writableState?i._writableState.errorEmitted||(i._writableState.errorEmitted=!0,e.nextTick(t,i,r)):e.nextTick(t,i,r):n&&n(r)})),this)},undestroy:function(){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 ve(){if(ce)return le;ce=1;var e=V();function t(e){var t=this;this.next=null,this.entry=null,this.finish=function(){!function(e,t,r){var n=e.entry;for(e.entry=null;n;){var i=n.callback;t.pendingcb--,i(void 0),n=n.next}t.corkedRequestsFree.next=e}(t,e)}}le=v;var r,a=!n.browser&&["v0.10","v0.9."].indexOf(n.version.slice(0,5))>-1?i:e.nextTick;v.WritableState=m;var o=Object.create($());o.inherits=ne();var s,u={deprecate:ue?se:(ue=1,se=d.a.deprecate)},l=Z(),c=Y().Buffer,h=(void 0!==B?B:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{}).Uint8Array||function(){},f=me();function p(){}function m(n,i){r=r||ge(),n=n||{};var o=i instanceof r;this.objectMode=!!n.objectMode,o&&(this.objectMode=this.objectMode||!!n.writableObjectMode);var s=n.highWaterMark,u=n.writableHighWaterMark,l=this.objectMode?16:16384;this.highWaterMark=s||0===s?s:o&&(u||0===u)?u:l,this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var c=!1===n.decodeStrings;this.decodeStrings=!c,this.defaultEncoding=n.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(t){!function(t,r){var n=t._writableState,i=n.sync,o=n.writecb;if(function(e){e.writing=!1,e.writecb=null,e.length-=e.writelen,e.writelen=0}(n),r)!function(t,r,n,i,a){--r.pendingcb,n?(e.nextTick(a,i),e.nextTick(_,t,r),t._writableState.errorEmitted=!0,t.emit("error",i)):(a(i),t._writableState.errorEmitted=!0,t.emit("error",i),_(t,r))}(t,n,i,r,o);else{var s=w(n);s||n.corked||n.bufferProcessing||!n.bufferedRequest||b(t,n),i?a(y,t,n,s,o):y(t,n,s,o)}}(i,t)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new t(this)}function v(e){if(r=r||ge(),!(s.call(v,this)||this instanceof r))return new v(e);this._writableState=new m(e,this),this.writable=!0,e&&("function"==typeof e.write&&(this._write=e.write),"function"==typeof e.writev&&(this._writev=e.writev),"function"==typeof e.destroy&&(this._destroy=e.destroy),"function"==typeof e.final&&(this._final=e.final)),l.call(this)}function g(e,t,r,n,i,a,o){t.writelen=n,t.writecb=o,t.writing=!0,t.sync=!0,r?e._writev(i,t.onwrite):e._write(i,a,t.onwrite),t.sync=!1}function y(e,t,r,n){r||function(e,t){0===t.length&&t.needDrain&&(t.needDrain=!1,e.emit("drain"))}(e,t),t.pendingcb--,n(),_(e,t)}function b(e,r){r.bufferProcessing=!0;var n=r.bufferedRequest;if(e._writev&&n&&n.next){var i=r.bufferedRequestCount,a=new Array(i),o=r.corkedRequestsFree;o.entry=n;for(var s=0,u=!0;n;)a[s]=n,n.isBuf||(u=!1),n=n.next,s+=1;a.allBuffers=u,g(e,r,!0,r.length,a,"",o.finish),r.pendingcb++,r.lastBufferedRequest=null,o.next?(r.corkedRequestsFree=o.next,o.next=null):r.corkedRequestsFree=new t(r),r.bufferedRequestCount=0}else{for(;n;){var l=n.chunk,c=n.encoding,h=n.callback;if(g(e,r,!1,r.objectMode?1:l.length,l,c,h),n=n.next,r.bufferedRequestCount--,r.writing)break}null===n&&(r.lastBufferedRequest=null)}r.bufferedRequest=n,r.bufferProcessing=!1}function w(e){return e.ending&&0===e.length&&null===e.bufferedRequest&&!e.finished&&!e.writing}function k(e,t){e._final((function(r){t.pendingcb--,r&&e.emit("error",r),t.prefinished=!0,e.emit("prefinish"),_(e,t)}))}function _(t,r){var n=w(r);return n&&(function(t,r){r.prefinished||r.finalCalled||("function"==typeof t._final?(r.pendingcb++,r.finalCalled=!0,e.nextTick(k,t,r)):(r.prefinished=!0,t.emit("prefinish")))}(t,r),0===r.pendingcb&&(r.finished=!0,t.emit("finish"))),n}return o.inherits(v,l),m.prototype.getBuffer=function(){for(var e=this.bufferedRequest,t=[];e;)t.push(e),e=e.next;return t},function(){try{Object.defineProperty(m.prototype,"buffer",{get:u.deprecate((function(){return this.getBuffer()}),"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(e){}}(),"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?(s=Function.prototype[Symbol.hasInstance],Object.defineProperty(v,Symbol.hasInstance,{value:function(e){return!!s.call(this,e)||this===v&&e&&e._writableState instanceof m}})):s=function(e){return e instanceof this},v.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))},v.prototype.write=function(t,r,n){var i,a=this._writableState,o=!1,s=!a.objectMode&&(i=t,c.isBuffer(i)||i instanceof h);return s&&!c.isBuffer(t)&&(t=function(e){return c.from(e)}(t)),"function"==typeof r&&(n=r,r=null),s?r="buffer":r||(r=a.defaultEncoding),"function"!=typeof n&&(n=p),a.ended?function(t,r){var n=new Error("write after end");t.emit("error",n),e.nextTick(r,n)}(this,n):(s||function(t,r,n,i){var a=!0,o=!1;return null===n?o=new TypeError("May not write null values to stream"):"string"==typeof n||void 0===n||r.objectMode||(o=new TypeError("Invalid non-string/buffer chunk")),o&&(t.emit("error",o),e.nextTick(i,o),a=!1),a}(this,a,t,n))&&(a.pendingcb++,o=function(e,t,r,n,i,a){if(!r){var o=function(e,t,r){return e.objectMode||!1===e.decodeStrings||"string"!=typeof t||(t=c.from(t,r)),t}(t,n,i);n!==o&&(r=!0,i="buffer",n=o)}var s=t.objectMode?1:n.length;t.length+=s;var u=t.length<t.highWaterMark;if(u||(t.needDrain=!0),t.writing||t.corked){var l=t.lastBufferedRequest;t.lastBufferedRequest={chunk:n,encoding:i,isBuf:r,callback:a,next:null},l?l.next=t.lastBufferedRequest:t.bufferedRequest=t.lastBufferedRequest,t.bufferedRequestCount+=1}else g(e,t,!1,s,n,i,a);return u}(this,a,s,t,r,n)),o},v.prototype.cork=function(){this._writableState.corked++},v.prototype.uncork=function(){var e=this._writableState;e.corked&&(e.corked--,e.writing||e.corked||e.bufferProcessing||!e.bufferedRequest||b(this,e))},v.prototype.setDefaultEncoding=function(e){if("string"==typeof e&&(e=e.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((e+"").toLowerCase())>-1))throw new TypeError("Unknown encoding: "+e);return this._writableState.defaultEncoding=e,this},Object.defineProperty(v.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),v.prototype._write=function(e,t,r){r(new Error("_write() is not implemented"))},v.prototype._writev=null,v.prototype.end=function(t,r,n){var i=this._writableState;"function"==typeof t?(n=t,t=null,r=null):"function"==typeof r&&(n=r,r=null),null!=t&&this.write(t,r),i.corked&&(i.corked=1,this.uncork()),i.ending||function(t,r,n){r.ending=!0,_(t,r),n&&(r.finished?e.nextTick(n):t.once("finish",n)),r.ended=!0,t.writable=!1}(this,i,n)},Object.defineProperty(v.prototype,"destroyed",{get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}}),v.prototype.destroy=f.destroy,v.prototype._undestroy=f.undestroy,v.prototype._destroy=function(e,t){this.end(),t(e)},le}function ge(){if(fe)return he;fe=1;var e=V(),t=Object.keys||function(e){var t=[];for(var r in e)t.push(r);return t};he=u;var r=Object.create($());r.inherits=ne();var n=Pe(),i=ve();r.inherits(u,n);for(var a=t(i.prototype),o=0;o<a.length;o++){var s=a[o];u.prototype[s]||(u.prototype[s]=i.prototype[s])}function u(e){if(!(this instanceof u))return new u(e);n.call(this,e),i.call(this,e),e&&!1===e.readable&&(this.readable=!1),e&&!1===e.writable&&(this.writable=!1),this.allowHalfOpen=!0,e&&!1===e.allowHalfOpen&&(this.allowHalfOpen=!1),this.once("end",l)}function l(){this.allowHalfOpen||this._writableState.ended||e.nextTick(c,this)}function c(e){e.end()}return Object.defineProperty(u.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(u.prototype,"destroyed",{get:function(){return void 0!==this._readableState&&void 0!==this._writableState&&this._readableState.destroyed&&this._writableState.destroyed},set:function(e){void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed=e,this._writableState.destroyed=e)}}),u.prototype._destroy=function(t,r){this.push(null),this.end(),e.nextTick(r,t)},he}var ye,be,we,ke,_e,Se,xe,Ee,Ce={};function Ae(){if(ye)return Ce;ye=1;var e=Y().Buffer,t=e.isEncoding||function(e){switch((e=""+e)&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function r(r){var n;switch(this.encoding=function(r){var n=function(e){if(!e)return"utf8";for(var t;;)switch(e){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return e;default:if(t)return;e=(""+e).toLowerCase(),t=!0}}(r);if("string"!=typeof n&&(e.isEncoding===t||!t(r)))throw new Error("Unknown encoding: "+r);return n||r}(r),this.encoding){case"utf16le":this.text=a,this.end=o,n=4;break;case"utf8":this.fillLast=i,n=4;break;case"base64":this.text=s,this.end=u,n=3;break;default:return this.write=l,void(this.end=c)}this.lastNeed=0,this.lastTotal=0,this.lastChar=e.allocUnsafe(n)}function n(e){return e<=127?0:e>>5==6?2:e>>4==14?3:e>>3==30?4:e>>6==2?-1:-2}function i(e){var t=this.lastTotal-this.lastNeed,r=function(e,t){if(128!=(192&t[0]))return e.lastNeed=0,"�";if(e.lastNeed>1&&t.length>1){if(128!=(192&t[1]))return e.lastNeed=1,"�";if(e.lastNeed>2&&t.length>2&&128!=(192&t[2]))return e.lastNeed=2,"�"}}(this,e);return void 0!==r?r:this.lastNeed<=e.length?(e.copy(this.lastChar,t,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(e.copy(this.lastChar,t,0,e.length),void(this.lastNeed-=e.length))}function a(e,t){if((e.length-t)%2==0){var r=e.toString("utf16le",t);if(r){var n=r.charCodeAt(r.length-1);if(n>=55296&&n<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],r.slice(0,-1)}return r}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString("utf16le",t,e.length-1)}function o(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed){var r=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,r)}return t}function s(e,t){var r=(e.length-t)%3;return 0===r?e.toString("base64",t):(this.lastNeed=3-r,this.lastTotal=3,1===r?this.lastChar[0]=e[e.length-1]:(this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1]),e.toString("base64",t,e.length-r))}function u(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function l(e){return e.toString(this.encoding)}function c(e){return e&&e.length?this.write(e):""}return Ce.StringDecoder=r,r.prototype.write=function(e){if(0===e.length)return"";var t,r;if(this.lastNeed){if(void 0===(t=this.fillLast(e)))return"";r=this.lastNeed,this.lastNeed=0}else r=0;return r<e.length?t?t+this.text(e,r):this.text(e,r):t||""},r.prototype.end=function(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+"�":t},r.prototype.text=function(e,t){var r=function(e,t,r){var i=t.length-1;if(i<r)return 0;var a=n(t[i]);return a>=0?(a>0&&(e.lastNeed=a-1),a):--i<r||-2===a?0:(a=n(t[i]))>=0?(a>0&&(e.lastNeed=a-2),a):--i<r||-2===a?0:(a=n(t[i]))>=0?(a>0&&(2===a?a=0:e.lastNeed=a-3),a):0}(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=r;var i=e.length-(r-this.lastNeed);return e.copy(this.lastChar,0,i),e.toString("utf8",t,i)},r.prototype.fillLast=function(e){if(this.lastNeed<=e.length)return e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,e.length),this.lastNeed-=e.length},Ce}function Pe(){if(we)return be;we=1;var e=V();be=y;var t,r=function(){if(j)return I;j=1;var e={}.toString;return I=Array.isArray||function(t){return"[object Array]"==e.call(t)}}();y.ReadableState=g,l.a.EventEmitter;var i=function(e,t){return e.listeners(t).length},a=Z(),o=Y().Buffer,s=(void 0!==B?B:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{}).Uint8Array||function(){},u=Object.create($());u.inherits=ne();var c=d.a,h=void 0;h=c&&c.debuglog?c.debuglog("stream"):function(){};var f,p=pe(),m=me();u.inherits(y,a);var v=["error","close","destroy","pause","resume"];function g(e,r){e=e||{};var n=r instanceof(t=t||ge());this.objectMode=!!e.objectMode,n&&(this.objectMode=this.objectMode||!!e.readableObjectMode);var i=e.highWaterMark,a=e.readableHighWaterMark,o=this.objectMode?16:16384;this.highWaterMark=i||0===i?i:n&&(a||0===a)?a:o,this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new p,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.destroyed=!1,this.defaultEncoding=e.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,e.encoding&&(f||(f=Ae().StringDecoder),this.decoder=new f(e.encoding),this.encoding=e.encoding)}function y(e){if(t=t||ge(),!(this instanceof y))return new y(e);this._readableState=new g(e,this),this.readable=!0,e&&("function"==typeof e.read&&(this._read=e.read),"function"==typeof e.destroy&&(this._destroy=e.destroy)),a.call(this)}function b(e,t,r,n,i){var a,u=e._readableState;return null===t?(u.reading=!1,function(e,t){if(!t.ended){if(t.decoder){var r=t.decoder.end();r&&r.length&&(t.buffer.push(r),t.length+=t.objectMode?1:r.length)}t.ended=!0,S(e)}}(e,u)):(i||(a=function(e,t){var r,n;return n=t,o.isBuffer(n)||n instanceof s||"string"==typeof t||void 0===t||e.objectMode||(r=new TypeError("Invalid non-string/buffer chunk")),r}(u,t)),a?e.emit("error",a):u.objectMode||t&&t.length>0?("string"==typeof t||u.objectMode||Object.getPrototypeOf(t)===o.prototype||(t=function(e){return o.from(e)}(t)),n?u.endEmitted?e.emit("error",new Error("stream.unshift() after end event")):w(e,u,t,!0):u.ended?e.emit("error",new Error("stream.push() after EOF")):(u.reading=!1,u.decoder&&!r?(t=u.decoder.write(t),u.objectMode||0!==t.length?w(e,u,t,!1):E(e,u)):w(e,u,t,!1))):n||(u.reading=!1)),function(e){return!e.ended&&(e.needReadable||e.length<e.highWaterMark||0===e.length)}(u)}function w(e,t,r,n){t.flowing&&0===t.length&&!t.sync?(e.emit("data",r),e.read(0)):(t.length+=t.objectMode?1:r.length,n?t.buffer.unshift(r):t.buffer.push(r),t.needReadable&&S(e)),E(e,t)}Object.defineProperty(y.prototype,"destroyed",{get:function(){return void 0!==this._readableState&&this._readableState.destroyed},set:function(e){this._readableState&&(this._readableState.destroyed=e)}}),y.prototype.destroy=m.destroy,y.prototype._undestroy=m.undestroy,y.prototype._destroy=function(e,t){this.push(null),t(e)},y.prototype.push=function(e,t){var r,n=this._readableState;return n.objectMode?r=!0:"string"==typeof e&&((t=t||n.defaultEncoding)!==n.encoding&&(e=o.from(e,t),t=""),r=!0),b(this,e,t,!1,r)},y.prototype.unshift=function(e){return b(this,e,null,!0,!1)},y.prototype.isPaused=function(){return!1===this._readableState.flowing},y.prototype.setEncoding=function(e){return f||(f=Ae().StringDecoder),this._readableState.decoder=new f(e),this._readableState.encoding=e,this};var k=8388608;function _(e,t){return e<=0||0===t.length&&t.ended?0:t.objectMode?1:e!=e?t.flowing&&t.length?t.buffer.head.data.length:t.length:(e>t.highWaterMark&&(t.highWaterMark=function(e){return e>=k?e=k:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}(e)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0))}function S(t){var r=t._readableState;r.needReadable=!1,r.emittedReadable||(h("emitReadable",r.flowing),r.emittedReadable=!0,r.sync?e.nextTick(x,t):x(t))}function x(e){h("emit readable"),e.emit("readable"),T(e)}function E(t,r){r.readingMore||(r.readingMore=!0,e.nextTick(C,t,r))}function C(e,t){for(var r=t.length;!t.reading&&!t.flowing&&!t.ended&&t.length<t.highWaterMark&&(h("maybeReadMore read 0"),e.read(0),r!==t.length);)r=t.length;t.readingMore=!1}function A(e){h("readable nexttick read 0"),e.read(0)}function P(e,t){t.reading||(h("resume read 0"),e.read(0)),t.resumeScheduled=!1,t.awaitDrain=0,e.emit("resume"),T(e),t.flowing&&!t.reading&&e.read(0)}function T(e){var t=e._readableState;for(h("flow",t.flowing);t.flowing&&null!==e.read(););}function R(e,t){return 0===t.length?null:(t.objectMode?r=t.buffer.shift():!e||e>=t.length?(r=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.head.data:t.buffer.concat(t.length),t.buffer.clear()):r=function(e,t,r){var n;return e<t.head.data.length?(n=t.head.data.slice(0,e),t.head.data=t.head.data.slice(e)):n=e===t.head.data.length?t.shift():r?function(e,t){var r=t.head,n=1,i=r.data;for(e-=i.length;r=r.next;){var a=r.data,o=e>a.length?a.length:e;if(o===a.length?i+=a:i+=a.slice(0,e),0==(e-=o)){o===a.length?(++n,r.next?t.head=r.next:t.head=t.tail=null):(t.head=r,r.data=a.slice(o));break}++n}return t.length-=n,i}(e,t):function(e,t){var r=o.allocUnsafe(e),n=t.head,i=1;for(n.data.copy(r),e-=n.data.length;n=n.next;){var a=n.data,s=e>a.length?a.length:e;if(a.copy(r,r.length-e,0,s),0==(e-=s)){s===a.length?(++i,n.next?t.head=n.next:t.head=t.tail=null):(t.head=n,n.data=a.slice(s));break}++i}return t.length-=i,r}(e,t),n}(e,t.buffer,t.decoder),r);var r}function O(t){var r=t._readableState;if(r.length>0)throw new Error('"endReadable()" called on non-empty stream');r.endEmitted||(r.ended=!0,e.nextTick(M,r,t))}function M(e,t){e.endEmitted||0!==e.length||(e.endEmitted=!0,t.readable=!1,t.emit("end"))}function N(e,t){for(var r=0,n=e.length;r<n;r++)if(e[r]===t)return r;return-1}return y.prototype.read=function(e){h("read",e),e=parseInt(e,10);var t=this._readableState,r=e;if(0!==e&&(t.emittedReadable=!1),0===e&&t.needReadable&&(t.length>=t.highWaterMark||t.ended))return h("read: emitReadable",t.length,t.ended),0===t.length&&t.ended?O(this):S(this),null;if(0===(e=_(e,t))&&t.ended)return 0===t.length&&O(this),null;var n,i=t.needReadable;return h("need readable",i),(0===t.length||t.length-e<t.highWaterMark)&&h("length less than watermark",i=!0),t.ended||t.reading?h("reading or ended",i=!1):i&&(h("do read"),t.reading=!0,t.sync=!0,0===t.length&&(t.needReadable=!0),this._read(t.highWaterMark),t.sync=!1,t.reading||(e=_(r,t))),null===(n=e>0?R(e,t):null)?(t.needReadable=!0,e=0):t.length-=e,0===t.length&&(t.ended||(t.needReadable=!0),r!==e&&t.ended&&O(this)),null!==n&&this.emit("data",n),n},y.prototype._read=function(e){this.emit("error",new Error("_read() is not implemented"))},y.prototype.pipe=function(t,a){var o=this,s=this._readableState;switch(s.pipesCount){case 0:s.pipes=t;break;case 1:s.pipes=[s.pipes,t];break;default:s.pipes.push(t)}s.pipesCount+=1,h("pipe count=%d opts=%j",s.pipesCount,a);var u=a&&!1===a.end||t===n.stdout||t===n.stderr?y:l;function l(){h("onend"),t.end()}s.endEmitted?e.nextTick(u):o.once("end",u),t.on("unpipe",(function e(r,n){h("onunpipe"),r===o&&n&&!1===n.hasUnpiped&&(n.hasUnpiped=!0,h("cleanup"),t.removeListener("close",v),t.removeListener("finish",g),t.removeListener("drain",c),t.removeListener("error",m),t.removeListener("unpipe",e),o.removeListener("end",l),o.removeListener("end",y),o.removeListener("data",p),f=!0,!s.awaitDrain||t._writableState&&!t._writableState.needDrain||c())}));var c=function(e){return function(){var t=e._readableState;h("pipeOnDrain",t.awaitDrain),t.awaitDrain&&t.awaitDrain--,0===t.awaitDrain&&i(e,"data")&&(t.flowing=!0,T(e))}}(o);t.on("drain",c);var f=!1,d=!1;function p(e){h("ondata"),d=!1,!1!==t.write(e)||d||((1===s.pipesCount&&s.pipes===t||s.pipesCount>1&&-1!==N(s.pipes,t))&&!f&&(h("false write response, pause",s.awaitDrain),s.awaitDrain++,d=!0),o.pause())}function m(e){h("onerror",e),y(),t.removeListener("error",m),0===i(t,"error")&&t.emit("error",e)}function v(){t.removeListener("finish",g),y()}function g(){h("onfinish"),t.removeListener("close",v),y()}function y(){h("unpipe"),o.unpipe(t)}return o.on("data",p),function(e,t,n){if("function"==typeof e.prependListener)return e.prependListener(t,n);e._events&&e._events[t]?r(e._events[t])?e._events[t].unshift(n):e._events[t]=[n,e._events[t]]:e.on(t,n)}(t,"error",m),t.once("close",v),t.once("finish",g),t.emit("pipe",o),s.flowing||(h("pipe resume"),o.resume()),t},y.prototype.unpipe=function(e){var t=this._readableState,r={hasUnpiped:!1};if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes||(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this,r)),this;if(!e){var n=t.pipes,i=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var a=0;a<i;a++)n[a].emit("unpipe",this,{hasUnpiped:!1});return this}var o=N(t.pipes,e);return-1===o||(t.pipes.splice(o,1),t.pipesCount-=1,1===t.pipesCount&&(t.pipes=t.pipes[0]),e.emit("unpipe",this,r)),this},y.prototype.on=function(t,r){var n=a.prototype.on.call(this,t,r);if("data"===t)!1!==this._readableState.flowing&&this.resume();else if("readable"===t){var i=this._readableState;i.endEmitted||i.readableListening||(i.readableListening=i.needReadable=!0,i.emittedReadable=!1,i.reading?i.length&&S(this):e.nextTick(A,this))}return n},y.prototype.addListener=y.prototype.on,y.prototype.resume=function(){var t=this._readableState;return t.flowing||(h("resume"),t.flowing=!0,function(t,r){r.resumeScheduled||(r.resumeScheduled=!0,e.nextTick(P,t,r))}(this,t)),this},y.prototype.pause=function(){return h("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(h("pause"),this._readableState.flowing=!1,this.emit("pause")),this},y.prototype.wrap=function(e){var t=this,r=this._readableState,n=!1;for(var i in e.on("end",(function(){if(h("wrapped end"),r.decoder&&!r.ended){var e=r.decoder.end();e&&e.length&&t.push(e)}t.push(null)})),e.on("data",(function(i){h("wrapped data"),r.decoder&&(i=r.decoder.write(i)),r.objectMode&&null==i||(r.objectMode||i&&i.length)&&(t.push(i)||(n=!0,e.pause()))})),e)void 0===this[i]&&"function"==typeof e[i]&&(this[i]=function(t){return function(){return e[t].apply(e,arguments)}}(i));for(var a=0;a<v.length;a++)e.on(v[a],this.emit.bind(this,v[a]));return this._read=function(t){h("wrapped _read",t),n&&(n=!1,e.resume())},this},Object.defineProperty(y.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),y._fromList=R,be}function Te(){if(_e)return ke;_e=1,ke=n;var e=ge(),t=Object.create($());function r(e,t){var r=this._transformState;r.transforming=!1;var n=r.writecb;if(!n)return this.emit("error",new Error("write callback called multiple times"));r.writechunk=null,r.writecb=null,null!=t&&this.push(t),n(e);var i=this._readableState;i.reading=!1,(i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}function n(t){if(!(this instanceof n))return new n(t);e.call(this,t),this._transformState={afterTransform:r.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,t&&("function"==typeof t.transform&&(this._transform=t.transform),"function"==typeof t.flush&&(this._flush=t.flush)),this.on("prefinish",i)}function i(){var e=this;"function"==typeof this._flush?this._flush((function(t,r){a(e,t,r)})):a(this,null,null)}function a(e,t,r){if(t)return e.emit("error",t);if(null!=r&&e.push(r),e._writableState.length)throw new Error("Calling transform done when ws.length != 0");if(e._transformState.transforming)throw new Error("Calling transform done when still transforming");return e.push(null)}return t.inherits=ne(),t.inherits(n,e),n.prototype.push=function(t,r){return this._transformState.needTransform=!1,e.prototype.push.call(this,t,r)},n.prototype._transform=function(e,t,r){throw new Error("_transform() is not implemented")},n.prototype._write=function(e,t,r){var n=this._transformState;if(n.writecb=r,n.writechunk=e,n.writeencoding=t,!n.transforming){var i=this._readableState;(n.needTransform||i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}},n.prototype._read=function(e){var t=this._transformState;null!==t.writechunk&&t.writecb&&!t.transforming?(t.transforming=!0,this._transform(t.writechunk,t.writeencoding,t.afterTransform)):t.needTransform=!0},n.prototype._destroy=function(t,r){var n=this;e.prototype._destroy.call(this,t,(function(e){r(e),n.emit("close")}))},ke}function Re(){return Ee||(Ee=1,e=H,t=H.exports,r=s.a,"disable"===n.env.READABLE_STREAM&&r?(e.exports=r,(t=e.exports=r.Readable).Readable=r.Readable,t.Writable=r.Writable,t.Duplex=r.Duplex,t.Transform=r.Transform,t.PassThrough=r.PassThrough,t.Stream=r):((t=e.exports=Pe()).Stream=r||t,t.Readable=t,t.Writable=ve(),t.Duplex=ge(),t.Transform=Te(),t.PassThrough=function(){if(xe)return Se;xe=1,Se=r;var e=Te(),t=Object.create($());function r(t){if(!(this instanceof r))return new r(t);e.call(this,t)}return t.inherits=ne(),t.inherits(r,e),r.prototype._transform=function(e,t,r){r(null,e)},Se}())),H.exports;var e,t,r}if(W.base64=!0,W.array=!0,W.string=!0,W.arraybuffer="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof Uint8Array,W.nodebuffer=void 0!==a,W.uint8array="undefined"!=typeof Uint8Array,"undefined"==typeof ArrayBuffer)W.blob=!1;else{var Oe=new ArrayBuffer(0);try{W.blob=0===new Blob([Oe],{type:"application/zip"}).size}catch(Ca){try{var Me=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);Me.append(Oe),W.blob=0===Me.getBlob("application/zip").size}catch(Ca){W.blob=!1}}}try{W.nodestream=!!Re().Readable}catch(Ca){W.nodestream=!1}var Ne,Be={};function Le(){if(Ne)return Be;Ne=1;var e=He(),t=W,r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";return Be.encode=function(t){for(var n,i,a,o,s,u,l,c=[],h=0,f=t.length,d=f,p="string"!==e.getTypeOf(t);h<t.length;)d=f-h,p?(n=t[h++],i=h<f?t[h++]:0,a=h<f?t[h++]:0):(n=t.charCodeAt(h++),i=h<f?t.charCodeAt(h++):0,a=h<f?t.charCodeAt(h++):0),o=n>>2,s=(3&n)<<4|i>>4,u=d>1?(15&i)<<2|a>>6:64,l=d>2?63&a:64,c.push(r.charAt(o)+r.charAt(s)+r.charAt(u)+r.charAt(l));return c.join("")},Be.decode=function(e){var n,i,a,o,s,u,l=0,c=0;if("data:"===e.substr(0,5))throw new Error("Invalid base64 input, it looks like a data url.");var h,f=3*(e=e.replace(/[^A-Za-z0-9+/=]/g,"")).length/4;if(e.charAt(e.length-1)===r.charAt(64)&&f--,e.charAt(e.length-2)===r.charAt(64)&&f--,f%1!=0)throw new Error("Invalid base64 input, bad content length.");for(h=t.uint8array?new Uint8Array(0|f):new Array(0|f);l<e.length;)n=r.indexOf(e.charAt(l++))<<2|(o=r.indexOf(e.charAt(l++)))>>4,i=(15&o)<<4|(s=r.indexOf(e.charAt(l++)))>>2,a=(3&s)<<6|(u=r.indexOf(e.charAt(l++))),h[c++]=n,64!==s&&(h[c++]=i),64!==u&&(h[c++]=a);return h},Be}var Ie,je,De,ze,Fe,Ue={isNode:void 0!==a,newBufferFrom:function(e,t){if(a.from&&a.from!==Uint8Array.from)return a.from(e,t);if("number"==typeof e)throw new Error('The "data" argument must not be a number');return new a(e,t)},allocBuffer:function(e){if(a.alloc)return a.alloc(e);var t=new a(e);return t.fill(0),t},isBuffer:function(e){return a.isBuffer(e)},isStream:function(e){return e&&"function"==typeof e.on&&"function"==typeof e.pause&&"function"==typeof e.resume}},We={Promise:"undefined"!=typeof Promise?Promise:function(){if(ze)return De;ze=1;var e=function(){if(je)return Ie;je=1;var e,t,r=B.MutationObserver||B.WebKitMutationObserver;if(n.browser)if(r){var i=0,a=new r(l),o=B.document.createTextNode("");a.observe(o,{characterData:!0}),e=function(){o.data=i=++i%2}}else if(B.setImmediate||void 0===B.MessageChannel)e="document"in B&&"onreadystatechange"in B.document.createElement("script")?function(){var e=B.document.createElement("script");e.onreadystatechange=function(){l(),e.onreadystatechange=null,e.parentNode.removeChild(e),e=null},B.document.documentElement.appendChild(e)}:function(){setTimeout(l,0)};else{var s=new B.MessageChannel;s.port1.onmessage=l,e=function(){s.port2.postMessage(0)}}else e=function(){n.nextTick(l)};var u=[];function l(){var e,r;t=!0;for(var n=u.length;n;){for(r=u,u=[],e=-1;++e<n;)r[e]();n=u.length}t=!1}return Ie=function(r){1!==u.push(r)||t||e()}}();function t(){}var r={},i=["REJECTED"],a=["FULFILLED"],o=["PENDING"];if(!n.browser)var s=["UNHANDLED"];function u(e){if("function"!=typeof e)throw new TypeError("resolver must be a function");this.state=o,this.queue=[],this.outcome=void 0,n.browser||(this.handled=s),e!==t&&f(this,e)}function l(e,t,r){this.promise=e,"function"==typeof t&&(this.onFulfilled=t,this.callFulfilled=this.otherCallFulfilled),"function"==typeof r&&(this.onRejected=r,this.callRejected=this.otherCallRejected)}function c(t,n,i){e((function(){var e;try{e=n(i)}catch(e){return r.reject(t,e)}e===t?r.reject(t,new TypeError("Cannot resolve promise with itself")):r.resolve(t,e)}))}function h(e){var t=e&&e.then;if(e&&("object"==N(e)||"function"==typeof e)&&"function"==typeof t)return function(){t.apply(e,arguments)}}function f(e,t){var n=!1;function i(t){n||(n=!0,r.reject(e,t))}function a(t){n||(n=!0,r.resolve(e,t))}var o=d((function(){t(a,i)}));"error"===o.status&&i(o.value)}function d(e,t){var r={};try{r.value=e(t),r.status="success"}catch(e){r.status="error",r.value=e}return r}return De=u,u.prototype.finally=function(e){if("function"!=typeof e)return this;var t=this.constructor;return this.then((function(r){return t.resolve(e()).then((function(){return r}))}),(function(r){return t.resolve(e()).then((function(){throw r}))}))},u.prototype.catch=function(e){return this.then(null,e)},u.prototype.then=function(e,r){if("function"!=typeof e&&this.state===a||"function"!=typeof r&&this.state===i)return this;var u=new this.constructor(t);return n.browser||this.handled===s&&(this.handled=null),this.state!==o?c(u,this.state===a?e:r,this.outcome):this.queue.push(new l(u,e,r)),u},l.prototype.callFulfilled=function(e){r.resolve(this.promise,e)},l.prototype.otherCallFulfilled=function(e){c(this.promise,this.onFulfilled,e)},l.prototype.callRejected=function(e){r.reject(this.promise,e)},l.prototype.otherCallRejected=function(e){c(this.promise,this.onRejected,e)},r.resolve=function(e,t){var n=d(h,t);if("error"===n.status)return r.reject(e,n.value);var i=n.value;if(i)f(e,i);else{e.state=a,e.outcome=t;for(var o=-1,s=e.queue.length;++o<s;)e.queue[o].callFulfilled(t)}return e},r.reject=function(t,r){t.state=i,t.outcome=r,n.browser||t.handled===s&&e((function(){t.handled===s&&n.emit("unhandledRejection",r,t)}));for(var a=-1,o=t.queue.length;++a<o;)t.queue[a].callRejected(r);return t},u.resolve=function(e){return e instanceof this?e:r.resolve(new this(t),e)},u.reject=function(e){var n=new this(t);return r.reject(n,e)},u.all=function(e){var n=this;if("[object Array]"!==Object.prototype.toString.call(e))return this.reject(new TypeError("must be an array"));var i=e.length,a=!1;if(!i)return this.resolve([]);for(var o=new Array(i),s=0,u=-1,l=new this(t);++u<i;)c(e[u],u);return l;function c(e,t){n.resolve(e).then((function(e){o[t]=e,++s!==i||a||(a=!0,r.resolve(l,o))}),(function(e){a||(a=!0,r.reject(l,e))}))}},u.race=function(e){if("[object Array]"!==Object.prototype.toString.call(e))return this.reject(new TypeError("must be an array"));var n=e.length,i=!1;if(!n)return this.resolve([]);for(var a,o=-1,s=new this(t);++o<n;)a=e[o],this.resolve(a).then((function(e){i||(i=!0,r.resolve(s,e))}),(function(e){i||(i=!0,r.reject(s,e))}));return s},De}()};function He(){return Fe||(Fe=1,function(e){var t=W,r=Le(),n=Ue,a=We;function o(e){return e}function s(e,t){for(var r=0;r<e.length;++r)t[r]=255&e.charCodeAt(r);return t}e.newBlob=function(t,r){e.checkSupport("blob");try{return new Blob([t],{type:r})}catch(e){try{var n=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);return n.append(t),n.getBlob(r)}catch(e){throw new Error("Bug : can't construct the Blob.")}}};var u={stringifyByChunk:function(e,t,r){var n=[],i=0,a=e.length;if(a<=r)return String.fromCharCode.apply(null,e);for(;i<a;)"array"===t||"nodebuffer"===t?n.push(String.fromCharCode.apply(null,e.slice(i,Math.min(i+r,a)))):n.push(String.fromCharCode.apply(null,e.subarray(i,Math.min(i+r,a)))),i+=r;return n.join("")},stringifyByChar:function(e){for(var t="",r=0;r<e.length;r++)t+=String.fromCharCode(e[r]);return t},applyCanBeUsed:{uint8array:function(){try{return t.uint8array&&1===String.fromCharCode.apply(null,new Uint8Array(1)).length}catch(e){return!1}}(),nodebuffer:function(){try{return t.nodebuffer&&1===String.fromCharCode.apply(null,n.allocBuffer(1)).length}catch(e){return!1}}()}};function l(t){var r=65536,n=e.getTypeOf(t),i=!0;if("uint8array"===n?i=u.applyCanBeUsed.uint8array:"nodebuffer"===n&&(i=u.applyCanBeUsed.nodebuffer),i)for(;r>1;)try{return u.stringifyByChunk(t,n,r)}catch(e){r=Math.floor(r/2)}return u.stringifyByChar(t)}function c(e,t){for(var r=0;r<e.length;r++)t[r]=e[r];return t}e.applyFromCharCode=l;var h={};h.string={string:o,array:function(e){return s(e,new Array(e.length))},arraybuffer:function(e){return h.string.uint8array(e).buffer},uint8array:function(e){return s(e,new Uint8Array(e.length))},nodebuffer:function(e){return s(e,n.allocBuffer(e.length))}},h.array={string:l,array:o,arraybuffer:function(e){return new Uint8Array(e).buffer},uint8array:function(e){return new Uint8Array(e)},nodebuffer:function(e){return n.newBufferFrom(e)}},h.arraybuffer={string:function(e){return l(new Uint8Array(e))},array:function(e){return c(new Uint8Array(e),new Array(e.byteLength))},arraybuffer:o,uint8array:function(e){return new Uint8Array(e)},nodebuffer:function(e){return n.newBufferFrom(new Uint8Array(e))}},h.uint8array={string:l,array:function(e){return c(e,new Array(e.length))},arraybuffer:function(e){return e.buffer},uint8array:o,nodebuffer:function(e){return n.newBufferFrom(e)}},h.nodebuffer={string:l,array:function(e){return c(e,new Array(e.length))},arraybuffer:function(e){return h.nodebuffer.uint8array(e).buffer},uint8array:function(e){return c(e,new Uint8Array(e.length))},nodebuffer:o},e.transformTo=function(t,r){if(r||(r=""),!t)return r;e.checkSupport(t);var n=e.getTypeOf(r);return h[n][t](r)},e.resolve=function(e){for(var t=e.split("/"),r=[],n=0;n<t.length;n++){var i=t[n];"."===i||""===i&&0!==n&&n!==t.length-1||(".."===i?r.pop():r.push(i))}return r.join("/")},e.getTypeOf=function(e){return"string"==typeof e?"string":"[object Array]"===Object.prototype.toString.call(e)?"array":t.nodebuffer&&n.isBuffer(e)?"nodebuffer":t.uint8array&&e instanceof Uint8Array?"uint8array":t.arraybuffer&&e instanceof ArrayBuffer?"arraybuffer":void 0},e.checkSupport=function(e){if(!t[e.toLowerCase()])throw new Error(e+" is not supported by this platform")},e.MAX_VALUE_16BITS=65535,e.MAX_VALUE_32BITS=-1,e.pretty=function(e){var t,r,n="";for(r=0;r<(e||"").length;r++)n+="\\x"+((t=e.charCodeAt(r))<16?"0":"")+t.toString(16).toUpperCase();return n},e.delay=function(e,t,r){i((function(){e.apply(r||null,t||[])}))},e.inherits=function(e,t){var r=function(){};r.prototype=t.prototype,e.prototype=new r},e.extend=function(){var e,t,r={};for(e=0;e<arguments.length;e++)for(t in arguments[e])Object.prototype.hasOwnProperty.call(arguments[e],t)&&void 0===r[t]&&(r[t]=arguments[e][t]);return r},e.prepareContent=function(n,i,o,u,l){return a.Promise.resolve(i).then((function(e){return t.blob&&(e instanceof Blob||-1!==["[object File]","[object Blob]"].indexOf(Object.prototype.toString.call(e)))&&"undefined"!=typeof FileReader?new a.Promise((function(t,r){var n=new FileReader;n.onload=function(e){t(e.target.result)},n.onerror=function(e){r(e.target.error)},n.readAsArrayBuffer(e)})):e})).then((function(i){var c,h=e.getTypeOf(i);return h?("arraybuffer"===h?i=e.transformTo("uint8array",i):"string"===h&&(l?i=r.decode(i):o&&!0!==u&&(i=s(c=i,t.uint8array?new Uint8Array(c.length):new Array(c.length)))),i):a.Promise.reject(new Error("Can't read the data of '"+n+"'. Is it in a supported JavaScript type (String, Blob, ArrayBuffer, etc) ?"))}))}}(U)),U}function qe(e){this.name=e||"default",this.streamInfo={},this.generatedError=null,this.extraStreamInfo={},this.isPaused=!0,this.isFinished=!1,this.isLocked=!1,this._listeners={data:[],end:[],error:[]},this.previous=null}!function(e){if(!e.setImmediate){var t,r,i,a,o,s=1,u={},l=!1,c=e.document,h=Object.getPrototypeOf&&Object.getPrototypeOf(e);h=h&&h.setTimeout?h:e,"[object process]"==={}.toString.call(e.process)?t=function(e){n.nextTick((function(){d(e)}))}:function(){if(e.postMessage&&!e.importScripts){var t=!0,r=e.onmessage;return e.onmessage=function(){t=!1},e.postMessage("","*"),e.onmessage=r,t}}()?(a="setImmediate$"+Math.random()+"$",o=function(t){t.source===e&&"string"==typeof t.data&&0===t.data.indexOf(a)&&d(+t.data.slice(a.length))},e.addEventListener?e.addEventListener("message",o,!1):e.attachEvent("onmessage",o),t=function(t){e.postMessage(a+t,"*")}):e.MessageChannel?((i=new MessageChannel).port1.onmessage=function(e){d(e.data)},t=function(e){i.port2.postMessage(e)}):c&&"onreadystatechange"in c.createElement("script")?(r=c.documentElement,t=function(e){var t=c.createElement("script");t.onreadystatechange=function(){d(e),t.onreadystatechange=null,r.removeChild(t),t=null},r.appendChild(t)}):t=function(e){setTimeout(d,0,e)},h.setImmediate=function(e){"function"!=typeof e&&(e=new Function(""+e));for(var r=new Array(arguments.length-1),n=0;n<r.length;n++)r[n]=arguments[n+1];var i={callback:e,args:r};return u[s]=i,t(s),s++},h.clearImmediate=f}function f(e){delete u[e]}function d(e){if(l)setTimeout(d,0,e);else{var t=u[e];if(t){l=!0;try{!function(e){var t=e.callback,r=e.args;switch(r.length){case 0:t();break;case 1:t(r[0]);break;case 2:t(r[0],r[1]);break;case 3:t(r[0],r[1],r[2]);break;default:t.apply(void 0,r)}}(t)}finally{f(e),l=!1}}}}}("undefined"==typeof self?B:self),qe.prototype={push:function(e){this.emit("data",e)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit("end"),this.cleanUp(),this.isFinished=!0}catch(e){this.emit("error",e)}return!0},error:function(e){return!this.isFinished&&(this.isPaused?this.generatedError=e:(this.isFinished=!0,this.emit("error",e),this.previous&&this.previous.error(e),this.cleanUp()),!0)},on:function(e,t){return this._listeners[e].push(t),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function(e,t){if(this._listeners[e])for(var r=0;r<this._listeners[e].length;r++)this._listeners[e][r].call(this,t)},pipe:function(e){return e.registerPrevious(this)},registerPrevious:function(e){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.streamInfo=e.streamInfo,this.mergeStreamInfo(),this.previous=e;var t=this;return e.on("data",(function(e){t.processChunk(e)})),e.on("end",(function(){t.end()})),e.on("error",(function(e){t.error(e)})),this},pause:function(){return!this.isPaused&&!this.isFinished&&(this.isPaused=!0,this.previous&&this.previous.pause(),!0)},resume:function(){if(!this.isPaused||this.isFinished)return!1;this.isPaused=!1;var e=!1;return this.generatedError&&(this.error(this.generatedError),e=!0),this.previous&&this.previous.resume(),!e},flush:function(){},processChunk:function(e){this.push(e)},withStreamInfo:function(e,t){return this.extraStreamInfo[e]=t,this.mergeStreamInfo(),this},mergeStreamInfo:function(){for(var e in this.extraStreamInfo)Object.prototype.hasOwnProperty.call(this.extraStreamInfo,e)&&(this.streamInfo[e]=this.extraStreamInfo[e])},lock:function(){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.isLocked=!0,this.previous&&this.previous.lock()},toString:function(){var e="Worker "+this.name;return this.previous?this.previous+" -> "+e:e}};var Ve=qe;!function(e){for(var t=He(),r=W,n=Ue,i=Ve,a=new Array(256),o=0;o<256;o++)a[o]=o>=252?6:o>=248?5:o>=240?4:o>=224?3:o>=192?2:1;function s(){i.call(this,"utf-8 decode"),this.leftOver=null}function u(){i.call(this,"utf-8 encode")}a[254]=a[254]=1,e.utf8encode=function(e){return r.nodebuffer?n.newBufferFrom(e,"utf-8"):function(e){var t,n,i,a,o,s=e.length,u=0;for(a=0;a<s;a++)55296==(64512&(n=e.charCodeAt(a)))&&a+1<s&&56320==(64512&(i=e.charCodeAt(a+1)))&&(n=65536+(n-55296<<10)+(i-56320),a++),u+=n<128?1:n<2048?2:n<65536?3:4;for(t=r.uint8array?new Uint8Array(u):new Array(u),o=0,a=0;o<u;a++)55296==(64512&(n=e.charCodeAt(a)))&&a+1<s&&56320==(64512&(i=e.charCodeAt(a+1)))&&(n=65536+(n-55296<<10)+(i-56320),a++),n<128?t[o++]=n:n<2048?(t[o++]=192|n>>>6,t[o++]=128|63&n):n<65536?(t[o++]=224|n>>>12,t[o++]=128|n>>>6&63,t[o++]=128|63&n):(t[o++]=240|n>>>18,t[o++]=128|n>>>12&63,t[o++]=128|n>>>6&63,t[o++]=128|63&n);return t}(e)},e.utf8decode=function(e){return r.nodebuffer?t.transformTo("nodebuffer",e).toString("utf-8"):function(e){var r,n,i,o,s=e.length,u=new Array(2*s);for(n=0,r=0;r<s;)if((i=e[r++])<128)u[n++]=i;else if((o=a[i])>4)u[n++]=65533,r+=o-1;else{for(i&=2===o?31:3===o?15:7;o>1&&r<s;)i=i<<6|63&e[r++],o--;o>1?u[n++]=65533:i<65536?u[n++]=i:(i-=65536,u[n++]=55296|i>>10&1023,u[n++]=56320|1023&i)}return u.length!==n&&(u.subarray?u=u.subarray(0,n):u.length=n),t.applyFromCharCode(u)}(e=t.transformTo(r.uint8array?"uint8array":"array",e))},t.inherits(s,i),s.prototype.processChunk=function(n){var i=t.transformTo(r.uint8array?"uint8array":"array",n.data);if(this.leftOver&&this.leftOver.length){if(r.uint8array){var o=i;(i=new Uint8Array(o.length+this.leftOver.length)).set(this.leftOver,0),i.set(o,this.leftOver.length)}else i=this.leftOver.concat(i);this.leftOver=null}var s=function(e,t){var r;for((t=t||e.length)>e.length&&(t=e.length),r=t-1;r>=0&&128==(192&e[r]);)r--;return r<0||0===r?t:r+a[e[r]]>t?r:t}(i),u=i;s!==i.length&&(r.uint8array?(u=i.subarray(0,s),this.leftOver=i.subarray(s,i.length)):(u=i.slice(0,s),this.leftOver=i.slice(s,i.length))),this.push({data:e.utf8decode(u),meta:n.meta})},s.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:e.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},e.Utf8DecodeWorker=s,t.inherits(u,i),u.prototype.processChunk=function(t){this.push({data:e.utf8encode(t.data),meta:t.meta})},e.Utf8EncodeWorker=u}(F);var Ze=Ve,Xe=He();function Ge(e){Ze.call(this,"ConvertWorker to "+e),this.destType=e}Xe.inherits(Ge,Ze),Ge.prototype.processChunk=function(e){this.push({data:Xe.transformTo(this.destType,e.data),meta:e.meta})};var Ye,Je,Ke=Ge,$e=He(),Qe=Ke,et=Ve,tt=Le(),rt=We,nt=null;if(W.nodestream)try{nt=function(){if(Je)return Ye;Je=1;var e=Re().Readable;function t(t,r,n){e.call(this,r),this._helper=t;var i=this;t.on("data",(function(e,t){i.push(e)||i._helper.pause(),n&&n(t)})).on("error",(function(e){i.emit("error",e)})).on("end",(function(){i.push(null)}))}return He().inherits(t,e),t.prototype._read=function(){this._helper.resume()},Ye=t}()}catch(Ca){}function it(e,t,r){var n=t;switch(t){case"blob":case"arraybuffer":n="uint8array";break;case"base64":n="string"}try{this._internalType=n,this._outputType=t,this._mimeType=r,$e.checkSupport(n),this._worker=e.pipe(new Qe(n)),e.lock()}catch(e){this._worker=new et("error"),this._worker.error(e)}}it.prototype={accumulate:function(e){return function(e,t){return new rt.Promise((function(r,n){var i=[],o=e._internalType,s=e._outputType,u=e._mimeType;e.on("data",(function(e,r){i.push(e),t&&t(r)})).on("error",(function(e){i=[],n(e)})).on("end",(function(){try{var e=function(e,t,r){switch(e){case"blob":return $e.newBlob($e.transformTo("arraybuffer",t),r);case"base64":return tt.encode(t);default:return $e.transformTo(e,t)}}(s,function(e,t){var r,n=0,i=null,o=0;for(r=0;r<t.length;r++)o+=t[r].length;switch(e){case"string":return t.join("");case"array":return Array.prototype.concat.apply([],t);case"uint8array":for(i=new Uint8Array(o),r=0;r<t.length;r++)i.set(t[r],n),n+=t[r].length;return i;case"nodebuffer":return a.concat(t);default:throw new Error("concat : unsupported type '"+e+"'")}}(o,i),u);r(e)}catch(e){n(e)}i=[]})).resume()}))}(this,e)},on:function(e,t){var r=this;return"data"===e?this._worker.on(e,(function(e){t.call(r,e.data,e.meta)})):this._worker.on(e,(function(){$e.delay(t,arguments,r)})),this},resume:function(){return $e.delay(this._worker.resume,[],this._worker),this},pause:function(){return this._worker.pause(),this},toNodejsStream:function(e){if($e.checkSupport("nodestream"),"nodebuffer"!==this._outputType)throw new Error(this._outputType+" is not supported by this method");return new nt(this,{objectMode:"nodebuffer"!==this._outputType},e)}};var at=it,ot={base64:!1,binary:!1,dir:!1,createFolders:!0,date:null,compression:null,compressionOptions:null,comment:null,unixPermissions:null,dosPermissions:null},st=He(),ut=Ve;function lt(e){ut.call(this,"DataWorker");var t=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type="",this._tickScheduled=!1,e.then((function(e){t.dataIsReady=!0,t.data=e,t.max=e&&e.length||0,t.type=st.getTypeOf(e),t.isPaused||t._tickAndRepeat()}),(function(e){t.error(e)}))}st.inherits(lt,ut),lt.prototype.cleanUp=function(){ut.prototype.cleanUp.call(this),this.data=null},lt.prototype.resume=function(){return!!ut.prototype.resume.call(this)&&(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,st.delay(this._tickAndRepeat,[],this)),!0)},lt.prototype._tickAndRepeat=function(){this._tickScheduled=!1,this.isPaused||this.isFinished||(this._tick(),this.isFinished||(st.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))},lt.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var e=null,t=Math.min(this.max,this.index+16384);if(this.index>=this.max)return this.end();switch(this.type){case"string":e=this.data.substring(this.index,t);break;case"uint8array":e=this.data.subarray(this.index,t);break;case"array":case"nodebuffer":e=this.data.slice(this.index,t)}return this.index=t,this.push({data:e,meta:{percent:this.max?this.index/this.max*100:0}})};var ct=lt,ht=He(),ft=function(){for(var e,t=[],r=0;r<256;r++){e=r;for(var n=0;n<8;n++)e=1&e?3988292384^e>>>1:e>>>1;t[r]=e}return t}(),dt=function(e,t){return void 0!==e&&e.length?"string"!==ht.getTypeOf(e)?function(e,t,r,n){var i=ft,a=0+r;e=~e;for(var o=0;o<a;o++)e=e>>>8^i[255&(e^t[o])];return~e}(0|t,e,e.length):function(e,t,r,n){var i=ft,a=0+r;e=~e;for(var o=0;o<a;o++)e=e>>>8^i[255&(e^t.charCodeAt(o))];return~e}(0|t,e,e.length):0},pt=Ve,mt=dt;function vt(){pt.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}He().inherits(vt,pt),vt.prototype.processChunk=function(e){this.streamInfo.crc32=mt(e.data,this.streamInfo.crc32||0),this.push(e)};var gt=vt,yt=He(),bt=Ve;function wt(e){bt.call(this,"DataLengthProbe for "+e),this.propName=e,this.withStreamInfo(e,0)}yt.inherits(wt,bt),wt.prototype.processChunk=function(e){if(e){var t=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=t+e.data.length}bt.prototype.processChunk.call(this,e)};var kt=We,_t=ct,St=gt,xt=wt;function Et(e,t,r,n,i){this.compressedSize=e,this.uncompressedSize=t,this.crc32=r,this.compression=n,this.compressedContent=i}Et.prototype={getContentWorker:function(){var e=new _t(kt.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new xt("data_length")),t=this;return e.on("end",(function(){if(this.streamInfo.data_length!==t.uncompressedSize)throw new Error("Bug : uncompressed data size mismatch")})),e},getCompressedWorker:function(){return new _t(kt.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}},Et.createWorkerFrom=function(e,t,r){return e.pipe(new St).pipe(new xt("uncompressedSize")).pipe(t.compressWorker(r)).pipe(new xt("compressedSize")).withStreamInfo("compression",t)};var Ct=Et,At=at,Pt=ct,Tt=F,Rt=Ct,Ot=Ve,Mt=function(e,t,r){this.name=e,this.dir=r.dir,this.date=r.date,this.comment=r.comment,this.unixPermissions=r.unixPermissions,this.dosPermissions=r.dosPermissions,this._data=t,this._dataBinary=r.binary,this.options={compression:r.compression,compressionOptions:r.compressionOptions}};Mt.prototype={internalStream:function(e){var t=null,r="string";try{if(!e)throw new Error("No output type specified.");var n="string"===(r=e.toLowerCase())||"text"===r;"binarystring"!==r&&"text"!==r||(r="string"),t=this._decompressWorker();var i=!this._dataBinary;i&&!n&&(t=t.pipe(new Tt.Utf8EncodeWorker)),!i&&n&&(t=t.pipe(new Tt.Utf8DecodeWorker))}catch(e){(t=new Ot("error")).error(e)}return new At(t,r,"")},async:function(e,t){return this.internalStream(e).accumulate(t)},nodeStream:function(e,t){return this.internalStream(e||"nodebuffer").toNodejsStream(t)},_compressWorker:function(e,t){if(this._data instanceof Rt&&this._data.compression.magic===e.magic)return this._data.getCompressedWorker();var r=this._decompressWorker();return this._dataBinary||(r=r.pipe(new Tt.Utf8EncodeWorker)),Rt.createWorkerFrom(r,e,t)},_decompressWorker:function(){return this._data instanceof Rt?this._data.getContentWorker():this._data instanceof Ot?this._data:new Pt(this._data)}};for(var Nt=["asText","asBinary","asNodeBuffer","asUint8Array","asArrayBuffer"],Bt=function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},Lt=0;Lt<Nt.length;Lt++)Mt.prototype[Nt[Lt]]=Bt;var It=Mt,jt={},Dt={},zt={},Ft={};!function(e){var t="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Int32Array;function r(e,t){return Object.prototype.hasOwnProperty.call(e,t)}e.assign=function(e){for(var t=Array.prototype.slice.call(arguments,1);t.length;){var n=t.shift();if(n){if("object"!=N(n))throw new TypeError(n+"must be non-object");for(var i in n)r(n,i)&&(e[i]=n[i])}}return e},e.shrinkBuf=function(e,t){return e.length===t?e:e.subarray?e.subarray(0,t):(e.length=t,e)};var n={arraySet:function(e,t,r,n,i){if(t.subarray&&e.subarray)e.set(t.subarray(r,r+n),i);else for(var a=0;a<n;a++)e[i+a]=t[r+a]},flattenChunks:function(e){var t,r,n,i,a,o;for(n=0,t=0,r=e.length;t<r;t++)n+=e[t].length;for(o=new Uint8Array(n),i=0,t=0,r=e.length;t<r;t++)a=e[t],o.set(a,i),i+=a.length;return o}},i={arraySet:function(e,t,r,n,i){for(var a=0;a<n;a++)e[i+a]=t[r+a]},flattenChunks:function(e){return[].concat.apply([],e)}};e.setTyped=function(t){t?(e.Buf8=Uint8Array,e.Buf16=Uint16Array,e.Buf32=Int32Array,e.assign(e,n)):(e.Buf8=Array,e.Buf16=Array,e.Buf32=Array,e.assign(e,i))},e.setTyped(t)}(Ft);var Ut={},Wt={},Ht={},qt=Ft;function Vt(e){for(var t=e.length;--t>=0;)e[t]=0}var Zt=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],Xt=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],Gt=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],Yt=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],Jt=new Array(576);Vt(Jt);var Kt=new Array(60);Vt(Kt);var $t=new Array(512);Vt($t);var Qt=new Array(256);Vt(Qt);var er=new Array(29);Vt(er);var tr,rr,nr,ir=new Array(30);function ar(e,t,r,n,i){this.static_tree=e,this.extra_bits=t,this.extra_base=r,this.elems=n,this.max_length=i,this.has_stree=e&&e.length}function or(e,t){this.dyn_tree=e,this.max_code=0,this.stat_desc=t}function sr(e){return e<256?$t[e]:$t[256+(e>>>7)]}function ur(e,t){e.pending_buf[e.pending++]=255&t,e.pending_buf[e.pending++]=t>>>8&255}function lr(e,t,r){e.bi_valid>16-r?(e.bi_buf|=t<<e.bi_valid&65535,ur(e,e.bi_buf),e.bi_buf=t>>16-e.bi_valid,e.bi_valid+=r-16):(e.bi_buf|=t<<e.bi_valid&65535,e.bi_valid+=r)}function cr(e,t,r){lr(e,r[2*t],r[2*t+1])}function hr(e,t){var r=0;do{r|=1&e,e>>>=1,r<<=1}while(--t>0);return r>>>1}function fr(e,t,r){var n,i,a=new Array(16),o=0;for(n=1;n<=15;n++)a[n]=o=o+r[n-1]<<1;for(i=0;i<=t;i++){var s=e[2*i+1];0!==s&&(e[2*i]=hr(a[s]++,s))}}function dr(e){var t;for(t=0;t<286;t++)e.dyn_ltree[2*t]=0;for(t=0;t<30;t++)e.dyn_dtree[2*t]=0;for(t=0;t<19;t++)e.bl_tree[2*t]=0;e.dyn_ltree[512]=1,e.opt_len=e.static_len=0,e.last_lit=e.matches=0}function pr(e){e.bi_valid>8?ur(e,e.bi_buf):e.bi_valid>0&&(e.pending_buf[e.pending++]=e.bi_buf),e.bi_buf=0,e.bi_valid=0}function mr(e,t,r,n){var i=2*t,a=2*r;return e[i]<e[a]||e[i]===e[a]&&n[t]<=n[r]}function vr(e,t,r){for(var n=e.heap[r],i=r<<1;i<=e.heap_len&&(i<e.heap_len&&mr(t,e.heap[i+1],e.heap[i],e.depth)&&i++,!mr(t,n,e.heap[i],e.depth));)e.heap[r]=e.heap[i],r=i,i<<=1;e.heap[r]=n}function gr(e,t,r){var n,i,a,o,s=0;if(0!==e.last_lit)do{n=e.pending_buf[e.d_buf+2*s]<<8|e.pending_buf[e.d_buf+2*s+1],i=e.pending_buf[e.l_buf+s],s++,0===n?cr(e,i,t):(cr(e,(a=Qt[i])+256+1,t),0!==(o=Zt[a])&&lr(e,i-=er[a],o),cr(e,a=sr(--n),r),0!==(o=Xt[a])&&lr(e,n-=ir[a],o))}while(s<e.last_lit);cr(e,256,t)}function yr(e,t){var r,n,i,a=t.dyn_tree,o=t.stat_desc.static_tree,s=t.stat_desc.has_stree,u=t.stat_desc.elems,l=-1;for(e.heap_len=0,e.heap_max=573,r=0;r<u;r++)0!==a[2*r]?(e.heap[++e.heap_len]=l=r,e.depth[r]=0):a[2*r+1]=0;for(;e.heap_len<2;)a[2*(i=e.heap[++e.heap_len]=l<2?++l:0)]=1,e.depth[i]=0,e.opt_len--,s&&(e.static_len-=o[2*i+1]);for(t.max_code=l,r=e.heap_len>>1;r>=1;r--)vr(e,a,r);i=u;do{r=e.heap[1],e.heap[1]=e.heap[e.heap_len--],vr(e,a,1),n=e.heap[1],e.heap[--e.heap_max]=r,e.heap[--e.heap_max]=n,a[2*i]=a[2*r]+a[2*n],e.depth[i]=(e.depth[r]>=e.depth[n]?e.depth[r]:e.depth[n])+1,a[2*r+1]=a[2*n+1]=i,e.heap[1]=i++,vr(e,a,1)}while(e.heap_len>=2);e.heap[--e.heap_max]=e.heap[1],function(e,t){var r,n,i,a,o,s,u=t.dyn_tree,l=t.max_code,c=t.stat_desc.static_tree,h=t.stat_desc.has_stree,f=t.stat_desc.extra_bits,d=t.stat_desc.extra_base,p=t.stat_desc.max_length,m=0;for(a=0;a<=15;a++)e.bl_count[a]=0;for(u[2*e.heap[e.heap_max]+1]=0,r=e.heap_max+1;r<573;r++)(a=u[2*u[2*(n=e.heap[r])+1]+1]+1)>p&&(a=p,m++),u[2*n+1]=a,n>l||(e.bl_count[a]++,o=0,n>=d&&(o=f[n-d]),s=u[2*n],e.opt_len+=s*(a+o),h&&(e.static_len+=s*(c[2*n+1]+o)));if(0!==m){do{for(a=p-1;0===e.bl_count[a];)a--;e.bl_count[a]--,e.bl_count[a+1]+=2,e.bl_count[p]--,m-=2}while(m>0);for(a=p;0!==a;a--)for(n=e.bl_count[a];0!==n;)(i=e.heap[--r])>l||(u[2*i+1]!==a&&(e.opt_len+=(a-u[2*i+1])*u[2*i],u[2*i+1]=a),n--)}}(e,t),fr(a,l,e.bl_count)}function br(e,t,r){var n,i,a=-1,o=t[1],s=0,u=7,l=4;for(0===o&&(u=138,l=3),t[2*(r+1)+1]=65535,n=0;n<=r;n++)i=o,o=t[2*(n+1)+1],++s<u&&i===o||(s<l?e.bl_tree[2*i]+=s:0!==i?(i!==a&&e.bl_tree[2*i]++,e.bl_tree[32]++):s<=10?e.bl_tree[34]++:e.bl_tree[36]++,s=0,a=i,0===o?(u=138,l=3):i===o?(u=6,l=3):(u=7,l=4))}function wr(e,t,r){var n,i,a=-1,o=t[1],s=0,u=7,l=4;for(0===o&&(u=138,l=3),n=0;n<=r;n++)if(i=o,o=t[2*(n+1)+1],!(++s<u&&i===o)){if(s<l)do{cr(e,i,e.bl_tree)}while(0!=--s);else 0!==i?(i!==a&&(cr(e,i,e.bl_tree),s--),cr(e,16,e.bl_tree),lr(e,s-3,2)):s<=10?(cr(e,17,e.bl_tree),lr(e,s-3,3)):(cr(e,18,e.bl_tree),lr(e,s-11,7));s=0,a=i,0===o?(u=138,l=3):i===o?(u=6,l=3):(u=7,l=4)}}Vt(ir);var kr=!1;function _r(e,t,r,n){lr(e,0+(n?1:0),3),function(e,t,r,n){pr(e),ur(e,r),ur(e,~r),qt.arraySet(e.pending_buf,e.window,t,r,e.pending),e.pending+=r}(e,t,r)}Ht._tr_init=function(e){kr||(function(){var e,t,r,n,i,a=new Array(16);for(r=0,n=0;n<28;n++)for(er[n]=r,e=0;e<1<<Zt[n];e++)Qt[r++]=n;for(Qt[r-1]=n,i=0,n=0;n<16;n++)for(ir[n]=i,e=0;e<1<<Xt[n];e++)$t[i++]=n;for(i>>=7;n<30;n++)for(ir[n]=i<<7,e=0;e<1<<Xt[n]-7;e++)$t[256+i++]=n;for(t=0;t<=15;t++)a[t]=0;for(e=0;e<=143;)Jt[2*e+1]=8,e++,a[8]++;for(;e<=255;)Jt[2*e+1]=9,e++,a[9]++;for(;e<=279;)Jt[2*e+1]=7,e++,a[7]++;for(;e<=287;)Jt[2*e+1]=8,e++,a[8]++;for(fr(Jt,287,a),e=0;e<30;e++)Kt[2*e+1]=5,Kt[2*e]=hr(e,5);tr=new ar(Jt,Zt,257,286,15),rr=new ar(Kt,Xt,0,30,15),nr=new ar(new Array(0),Gt,0,19,7)}(),kr=!0),e.l_desc=new or(e.dyn_ltree,tr),e.d_desc=new or(e.dyn_dtree,rr),e.bl_desc=new or(e.bl_tree,nr),e.bi_buf=0,e.bi_valid=0,dr(e)},Ht._tr_stored_block=_r,Ht._tr_flush_block=function(e,t,r,n){var i,a,o=0;e.level>0?(2===e.strm.data_type&&(e.strm.data_type=function(e){var t,r=4093624447;for(t=0;t<=31;t++,r>>>=1)if(1&r&&0!==e.dyn_ltree[2*t])return 0;if(0!==e.dyn_ltree[18]||0!==e.dyn_ltree[20]||0!==e.dyn_ltree[26])return 1;for(t=32;t<256;t++)if(0!==e.dyn_ltree[2*t])return 1;return 0}(e)),yr(e,e.l_desc),yr(e,e.d_desc),o=function(e){var t;for(br(e,e.dyn_ltree,e.l_desc.max_code),br(e,e.dyn_dtree,e.d_desc.max_code),yr(e,e.bl_desc),t=18;t>=3&&0===e.bl_tree[2*Yt[t]+1];t--);return e.opt_len+=3*(t+1)+5+5+4,t}(e),i=e.opt_len+3+7>>>3,(a=e.static_len+3+7>>>3)<=i&&(i=a)):i=a=r+5,r+4<=i&&-1!==t?_r(e,t,r,n):4===e.strategy||a===i?(lr(e,2+(n?1:0),3),gr(e,Jt,Kt)):(lr(e,4+(n?1:0),3),function(e,t,r,n){var i;for(lr(e,t-257,5),lr(e,r-1,5),lr(e,n-4,4),i=0;i<n;i++)lr(e,e.bl_tree[2*Yt[i]+1],3);wr(e,e.dyn_ltree,t-1),wr(e,e.dyn_dtree,r-1)}(e,e.l_desc.max_code+1,e.d_desc.max_code+1,o+1),gr(e,e.dyn_ltree,e.dyn_dtree)),dr(e),n&&pr(e)},Ht._tr_tally=function(e,t,r){return e.pending_buf[e.d_buf+2*e.last_lit]=t>>>8&255,e.pending_buf[e.d_buf+2*e.last_lit+1]=255&t,e.pending_buf[e.l_buf+e.last_lit]=255&r,e.last_lit++,0===t?e.dyn_ltree[2*r]++:(e.matches++,t--,e.dyn_ltree[2*(Qt[r]+256+1)]++,e.dyn_dtree[2*sr(t)]++),e.last_lit===e.lit_bufsize-1},Ht._tr_align=function(e){lr(e,2,3),cr(e,256,Jt),function(e){16===e.bi_valid?(ur(e,e.bi_buf),e.bi_buf=0,e.bi_valid=0):e.bi_valid>=8&&(e.pending_buf[e.pending++]=255&e.bi_buf,e.bi_buf>>=8,e.bi_valid-=8)}(e)};var Sr,xr=function(e,t,r,n){for(var i=65535&e,a=e>>>16&65535,o=0;0!==r;){r-=o=r>2e3?2e3:r;do{a=a+(i=i+t[n++]|0)|0}while(--o);i%=65521,a%=65521}return i|a<<16},Er=function(){for(var e,t=[],r=0;r<256;r++){e=r;for(var n=0;n<8;n++)e=1&e?3988292384^e>>>1:e>>>1;t[r]=e}return t}(),Cr=function(e,t,r,n){var i=Er,a=n+r;e^=-1;for(var o=n;o<a;o++)e=e>>>8^i[255&(e^t[o])];return~e},Ar={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"},Pr=Ft,Tr=Ht,Rr=xr,Or=Cr,Mr=Ar,Nr=262;function Br(e,t){return e.msg=Mr[t],t}function Lr(e){return(e<<1)-(e>4?9:0)}function Ir(e){for(var t=e.length;--t>=0;)e[t]=0}function jr(e){var t=e.state,r=t.pending;r>e.avail_out&&(r=e.avail_out),0!==r&&(Pr.arraySet(e.output,t.pending_buf,t.pending_out,r,e.next_out),e.next_out+=r,t.pending_out+=r,e.total_out+=r,e.avail_out-=r,t.pending-=r,0===t.pending&&(t.pending_out=0))}function Dr(e,t){Tr._tr_flush_block(e,e.block_start>=0?e.block_start:-1,e.strstart-e.block_start,t),e.block_start=e.strstart,jr(e.strm)}function zr(e,t){e.pending_buf[e.pending++]=t}function Fr(e,t){e.pending_buf[e.pending++]=t>>>8&255,e.pending_buf[e.pending++]=255&t}function Ur(e,t){var r,n,i=e.max_chain_length,a=e.strstart,o=e.prev_length,s=e.nice_match,u=e.strstart>e.w_size-Nr?e.strstart-(e.w_size-Nr):0,l=e.window,c=e.w_mask,h=e.prev,f=e.strstart+258,d=l[a+o-1],p=l[a+o];e.prev_length>=e.good_match&&(i>>=2),s>e.lookahead&&(s=e.lookahead);do{if(l[(r=t)+o]===p&&l[r+o-1]===d&&l[r]===l[a]&&l[++r]===l[a+1]){a+=2,r++;do{}while(l[++a]===l[++r]&&l[++a]===l[++r]&&l[++a]===l[++r]&&l[++a]===l[++r]&&l[++a]===l[++r]&&l[++a]===l[++r]&&l[++a]===l[++r]&&l[++a]===l[++r]&&a<f);if(n=258-(f-a),a=f-258,n>o){if(e.match_start=t,o=n,n>=s)break;d=l[a+o-1],p=l[a+o]}}}while((t=h[t&c])>u&&0!=--i);return o<=e.lookahead?o:e.lookahead}function Wr(e){var t,r,n,i,a,o,s,u,l,c,h=e.w_size;do{if(i=e.window_size-e.lookahead-e.strstart,e.strstart>=h+(h-Nr)){Pr.arraySet(e.window,e.window,h,h,0),e.match_start-=h,e.strstart-=h,e.block_start-=h,t=r=e.hash_size;do{n=e.head[--t],e.head[t]=n>=h?n-h:0}while(--r);t=r=h;do{n=e.prev[--t],e.prev[t]=n>=h?n-h:0}while(--r);i+=h}if(0===e.strm.avail_in)break;if(o=e.strm,s=e.window,u=e.strstart+e.lookahead,l=i,c=void 0,(c=o.avail_in)>l&&(c=l),r=0===c?0:(o.avail_in-=c,Pr.arraySet(s,o.input,o.next_in,c,u),1===o.state.wrap?o.adler=Rr(o.adler,s,c,u):2===o.state.wrap&&(o.adler=Or(o.adler,s,c,u)),o.next_in+=c,o.total_in+=c,c),e.lookahead+=r,e.lookahead+e.insert>=3)for(a=e.strstart-e.insert,e.ins_h=e.window[a],e.ins_h=(e.ins_h<<e.hash_shift^e.window[a+1])&e.hash_mask;e.insert&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[a+3-1])&e.hash_mask,e.prev[a&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=a,a++,e.insert--,!(e.lookahead+e.insert<3)););}while(e.lookahead<Nr&&0!==e.strm.avail_in)}function Hr(e,t){for(var r,n;;){if(e.lookahead<Nr){if(Wr(e),e.lookahead<Nr&&0===t)return 1;if(0===e.lookahead)break}if(r=0,e.lookahead>=3&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+3-1])&e.hash_mask,r=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),0!==r&&e.strstart-r<=e.w_size-Nr&&(e.match_length=Ur(e,r)),e.match_length>=3)if(n=Tr._tr_tally(e,e.strstart-e.match_start,e.match_length-3),e.lookahead-=e.match_length,e.match_length<=e.max_lazy_match&&e.lookahead>=3){e.match_length--;do{e.strstart++,e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+3-1])&e.hash_mask,r=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart}while(0!=--e.match_length);e.strstart++}else e.strstart+=e.match_length,e.match_length=0,e.ins_h=e.window[e.strstart],e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+1])&e.hash_mask;else n=Tr._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++;if(n&&(Dr(e,!1),0===e.strm.avail_out))return 1}return e.insert=e.strstart<2?e.strstart:2,4===t?(Dr(e,!0),0===e.strm.avail_out?3:4):e.last_lit&&(Dr(e,!1),0===e.strm.avail_out)?1:2}function qr(e,t){for(var r,n,i;;){if(e.lookahead<Nr){if(Wr(e),e.lookahead<Nr&&0===t)return 1;if(0===e.lookahead)break}if(r=0,e.lookahead>=3&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+3-1])&e.hash_mask,r=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),e.prev_length=e.match_length,e.prev_match=e.match_start,e.match_length=2,0!==r&&e.prev_length<e.max_lazy_match&&e.strstart-r<=e.w_size-Nr&&(e.match_length=Ur(e,r),e.match_length<=5&&(1===e.strategy||3===e.match_length&&e.strstart-e.match_start>4096)&&(e.match_length=2)),e.prev_length>=3&&e.match_length<=e.prev_length){i=e.strstart+e.lookahead-3,n=Tr._tr_tally(e,e.strstart-1-e.prev_match,e.prev_length-3),e.lookahead-=e.prev_length-1,e.prev_length-=2;do{++e.strstart<=i&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+3-1])&e.hash_mask,r=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart)}while(0!=--e.prev_length);if(e.match_available=0,e.match_length=2,e.strstart++,n&&(Dr(e,!1),0===e.strm.avail_out))return 1}else if(e.match_available){if((n=Tr._tr_tally(e,0,e.window[e.strstart-1]))&&Dr(e,!1),e.strstart++,e.lookahead--,0===e.strm.avail_out)return 1}else e.match_available=1,e.strstart++,e.lookahead--}return e.match_available&&(n=Tr._tr_tally(e,0,e.window[e.strstart-1]),e.match_available=0),e.insert=e.strstart<2?e.strstart:2,4===t?(Dr(e,!0),0===e.strm.avail_out?3:4):e.last_lit&&(Dr(e,!1),0===e.strm.avail_out)?1:2}function Vr(e,t,r,n,i){this.good_length=e,this.max_lazy=t,this.nice_length=r,this.max_chain=n,this.func=i}function Zr(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=8,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new Pr.Buf16(1146),this.dyn_dtree=new Pr.Buf16(122),this.bl_tree=new Pr.Buf16(78),Ir(this.dyn_ltree),Ir(this.dyn_dtree),Ir(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new Pr.Buf16(16),this.heap=new Pr.Buf16(573),Ir(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new Pr.Buf16(573),Ir(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}function Xr(e){var t;return e&&e.state?(e.total_in=e.total_out=0,e.data_type=2,(t=e.state).pending=0,t.pending_out=0,t.wrap<0&&(t.wrap=-t.wrap),t.status=t.wrap?42:113,e.adler=2===t.wrap?0:1,t.last_flush=0,Tr._tr_init(t),0):Br(e,-2)}function Gr(e){var t,r=Xr(e);return 0===r&&((t=e.state).window_size=2*t.w_size,Ir(t.head),t.max_lazy_match=Sr[t.level].max_lazy,t.good_match=Sr[t.level].good_length,t.nice_match=Sr[t.level].nice_length,t.max_chain_length=Sr[t.level].max_chain,t.strstart=0,t.block_start=0,t.lookahead=0,t.insert=0,t.match_length=t.prev_length=2,t.match_available=0,t.ins_h=0),r}function Yr(e,t,r,n,i,a){if(!e)return-2;var o=1;if(-1===t&&(t=6),n<0?(o=0,n=-n):n>15&&(o=2,n-=16),i<1||i>9||8!==r||n<8||n>15||t<0||t>9||a<0||a>4)return Br(e,-2);8===n&&(n=9);var s=new Zr;return e.state=s,s.strm=e,s.wrap=o,s.gzhead=null,s.w_bits=n,s.w_size=1<<s.w_bits,s.w_mask=s.w_size-1,s.hash_bits=i+7,s.hash_size=1<<s.hash_bits,s.hash_mask=s.hash_size-1,s.hash_shift=~~((s.hash_bits+3-1)/3),s.window=new Pr.Buf8(2*s.w_size),s.head=new Pr.Buf16(s.hash_size),s.prev=new Pr.Buf16(s.w_size),s.lit_bufsize=1<<i+6,s.pending_buf_size=4*s.lit_bufsize,s.pending_buf=new Pr.Buf8(s.pending_buf_size),s.d_buf=1*s.lit_bufsize,s.l_buf=3*s.lit_bufsize,s.level=t,s.strategy=a,s.method=r,Gr(e)}Sr=[new Vr(0,0,0,0,(function(e,t){var r=65535;for(r>e.pending_buf_size-5&&(r=e.pending_buf_size-5);;){if(e.lookahead<=1){if(Wr(e),0===e.lookahead&&0===t)return 1;if(0===e.lookahead)break}e.strstart+=e.lookahead,e.lookahead=0;var n=e.block_start+r;if((0===e.strstart||e.strstart>=n)&&(e.lookahead=e.strstart-n,e.strstart=n,Dr(e,!1),0===e.strm.avail_out))return 1;if(e.strstart-e.block_start>=e.w_size-Nr&&(Dr(e,!1),0===e.strm.avail_out))return 1}return e.insert=0,4===t?(Dr(e,!0),0===e.strm.avail_out?3:4):(e.strstart>e.block_start&&(Dr(e,!1),e.strm.avail_out),1)})),new Vr(4,4,8,4,Hr),new Vr(4,5,16,8,Hr),new Vr(4,6,32,32,Hr),new Vr(4,4,16,16,qr),new Vr(8,16,32,32,qr),new Vr(8,16,128,128,qr),new Vr(8,32,128,256,qr),new Vr(32,128,258,1024,qr),new Vr(32,258,258,4096,qr)],Wt.deflateInit=function(e,t){return Yr(e,t,8,15,8,0)},Wt.deflateInit2=Yr,Wt.deflateReset=Gr,Wt.deflateResetKeep=Xr,Wt.deflateSetHeader=function(e,t){return e&&e.state?2!==e.state.wrap?-2:(e.state.gzhead=t,0):-2},Wt.deflate=function(e,t){var r,n,i,a;if(!e||!e.state||t>5||t<0)return e?Br(e,-2):-2;if(n=e.state,!e.output||!e.input&&0!==e.avail_in||666===n.status&&4!==t)return Br(e,0===e.avail_out?-5:-2);if(n.strm=e,r=n.last_flush,n.last_flush=t,42===n.status)if(2===n.wrap)e.adler=0,zr(n,31),zr(n,139),zr(n,8),n.gzhead?(zr(n,(n.gzhead.text?1:0)+(n.gzhead.hcrc?2:0)+(n.gzhead.extra?4:0)+(n.gzhead.name?8:0)+(n.gzhead.comment?16:0)),zr(n,255&n.gzhead.time),zr(n,n.gzhead.time>>8&255),zr(n,n.gzhead.time>>16&255),zr(n,n.gzhead.time>>24&255),zr(n,9===n.level?2:n.strategy>=2||n.level<2?4:0),zr(n,255&n.gzhead.os),n.gzhead.extra&&n.gzhead.extra.length&&(zr(n,255&n.gzhead.extra.length),zr(n,n.gzhead.extra.length>>8&255)),n.gzhead.hcrc&&(e.adler=Or(e.adler,n.pending_buf,n.pending,0)),n.gzindex=0,n.status=69):(zr(n,0),zr(n,0),zr(n,0),zr(n,0),zr(n,0),zr(n,9===n.level?2:n.strategy>=2||n.level<2?4:0),zr(n,3),n.status=113);else{var o=8+(n.w_bits-8<<4)<<8;o|=(n.strategy>=2||n.level<2?0:n.level<6?1:6===n.level?2:3)<<6,0!==n.strstart&&(o|=32),o+=31-o%31,n.status=113,Fr(n,o),0!==n.strstart&&(Fr(n,e.adler>>>16),Fr(n,65535&e.adler)),e.adler=1}if(69===n.status)if(n.gzhead.extra){for(i=n.pending;n.gzindex<(65535&n.gzhead.extra.length)&&(n.pending!==n.pending_buf_size||(n.gzhead.hcrc&&n.pending>i&&(e.adler=Or(e.adler,n.pending_buf,n.pending-i,i)),jr(e),i=n.pending,n.pending!==n.pending_buf_size));)zr(n,255&n.gzhead.extra[n.gzindex]),n.gzindex++;n.gzhead.hcrc&&n.pending>i&&(e.adler=Or(e.adler,n.pending_buf,n.pending-i,i)),n.gzindex===n.gzhead.extra.length&&(n.gzindex=0,n.status=73)}else n.status=73;if(73===n.status)if(n.gzhead.name){i=n.pending;do{if(n.pending===n.pending_buf_size&&(n.gzhead.hcrc&&n.pending>i&&(e.adler=Or(e.adler,n.pending_buf,n.pending-i,i)),jr(e),i=n.pending,n.pending===n.pending_buf_size)){a=1;break}a=n.gzindex<n.gzhead.name.length?255&n.gzhead.name.charCodeAt(n.gzindex++):0,zr(n,a)}while(0!==a);n.gzhead.hcrc&&n.pending>i&&(e.adler=Or(e.adler,n.pending_buf,n.pending-i,i)),0===a&&(n.gzindex=0,n.status=91)}else n.status=91;if(91===n.status)if(n.gzhead.comment){i=n.pending;do{if(n.pending===n.pending_buf_size&&(n.gzhead.hcrc&&n.pending>i&&(e.adler=Or(e.adler,n.pending_buf,n.pending-i,i)),jr(e),i=n.pending,n.pending===n.pending_buf_size)){a=1;break}a=n.gzindex<n.gzhead.comment.length?255&n.gzhead.comment.charCodeAt(n.gzindex++):0,zr(n,a)}while(0!==a);n.gzhead.hcrc&&n.pending>i&&(e.adler=Or(e.adler,n.pending_buf,n.pending-i,i)),0===a&&(n.status=103)}else n.status=103;if(103===n.status&&(n.gzhead.hcrc?(n.pending+2>n.pending_buf_size&&jr(e),n.pending+2<=n.pending_buf_size&&(zr(n,255&e.adler),zr(n,e.adler>>8&255),e.adler=0,n.status=113)):n.status=113),0!==n.pending){if(jr(e),0===e.avail_out)return n.last_flush=-1,0}else if(0===e.avail_in&&Lr(t)<=Lr(r)&&4!==t)return Br(e,-5);if(666===n.status&&0!==e.avail_in)return Br(e,-5);if(0!==e.avail_in||0!==n.lookahead||0!==t&&666!==n.status){var s=2===n.strategy?function(e,t){for(var r;;){if(0===e.lookahead&&(Wr(e),0===e.lookahead)){if(0===t)return 1;break}if(e.match_length=0,r=Tr._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++,r&&(Dr(e,!1),0===e.strm.avail_out))return 1}return e.insert=0,4===t?(Dr(e,!0),0===e.strm.avail_out?3:4):e.last_lit&&(Dr(e,!1),0===e.strm.avail_out)?1:2}(n,t):3===n.strategy?function(e,t){for(var r,n,i,a,o=e.window;;){if(e.lookahead<=258){if(Wr(e),e.lookahead<=258&&0===t)return 1;if(0===e.lookahead)break}if(e.match_length=0,e.lookahead>=3&&e.strstart>0&&(n=o[i=e.strstart-1])===o[++i]&&n===o[++i]&&n===o[++i]){a=e.strstart+258;do{}while(n===o[++i]&&n===o[++i]&&n===o[++i]&&n===o[++i]&&n===o[++i]&&n===o[++i]&&n===o[++i]&&n===o[++i]&&i<a);e.match_length=258-(a-i),e.match_length>e.lookahead&&(e.match_length=e.lookahead)}if(e.match_length>=3?(r=Tr._tr_tally(e,1,e.match_length-3),e.lookahead-=e.match_length,e.strstart+=e.match_length,e.match_length=0):(r=Tr._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++),r&&(Dr(e,!1),0===e.strm.avail_out))return 1}return e.insert=0,4===t?(Dr(e,!0),0===e.strm.avail_out?3:4):e.last_lit&&(Dr(e,!1),0===e.strm.avail_out)?1:2}(n,t):Sr[n.level].func(n,t);if(3!==s&&4!==s||(n.status=666),1===s||3===s)return 0===e.avail_out&&(n.last_flush=-1),0;if(2===s&&(1===t?Tr._tr_align(n):5!==t&&(Tr._tr_stored_block(n,0,0,!1),3===t&&(Ir(n.head),0===n.lookahead&&(n.strstart=0,n.block_start=0,n.insert=0))),jr(e),0===e.avail_out))return n.last_flush=-1,0}return 4!==t?0:n.wrap<=0?1:(2===n.wrap?(zr(n,255&e.adler),zr(n,e.adler>>8&255),zr(n,e.adler>>16&255),zr(n,e.adler>>24&255),zr(n,255&e.total_in),zr(n,e.total_in>>8&255),zr(n,e.total_in>>16&255),zr(n,e.total_in>>24&255)):(Fr(n,e.adler>>>16),Fr(n,65535&e.adler)),jr(e),n.wrap>0&&(n.wrap=-n.wrap),0!==n.pending?0:1)},Wt.deflateEnd=function(e){var t;return e&&e.state?42!==(t=e.state.status)&&69!==t&&73!==t&&91!==t&&103!==t&&113!==t&&666!==t?Br(e,-2):(e.state=null,113===t?Br(e,-3):0):-2},Wt.deflateSetDictionary=function(e,t){var r,n,i,a,o,s,u,l,c=t.length;if(!e||!e.state)return-2;if(2===(a=(r=e.state).wrap)||1===a&&42!==r.status||r.lookahead)return-2;for(1===a&&(e.adler=Rr(e.adler,t,c,0)),r.wrap=0,c>=r.w_size&&(0===a&&(Ir(r.head),r.strstart=0,r.block_start=0,r.insert=0),l=new Pr.Buf8(r.w_size),Pr.arraySet(l,t,c-r.w_size,r.w_size,0),t=l,c=r.w_size),o=e.avail_in,s=e.next_in,u=e.input,e.avail_in=c,e.next_in=0,e.input=t,Wr(r);r.lookahead>=3;){n=r.strstart,i=r.lookahead-2;do{r.ins_h=(r.ins_h<<r.hash_shift^r.window[n+3-1])&r.hash_mask,r.prev[n&r.w_mask]=r.head[r.ins_h],r.head[r.ins_h]=n,n++}while(--i);r.strstart=n,r.lookahead=2,Wr(r)}return r.strstart+=r.lookahead,r.block_start=r.strstart,r.insert=r.lookahead,r.lookahead=0,r.match_length=r.prev_length=2,r.match_available=0,e.next_in=s,e.input=u,e.avail_in=o,r.wrap=a,0},Wt.deflateInfo="pako deflate (from Nodeca project)";var Jr={},Kr=Ft,$r=!0,Qr=!0;try{String.fromCharCode.apply(null,[0])}catch(Ca){$r=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(Ca){Qr=!1}for(var en=new Kr.Buf8(256),tn=0;tn<256;tn++)en[tn]=tn>=252?6:tn>=248?5:tn>=240?4:tn>=224?3:tn>=192?2:1;function rn(e,t){if(t<65534&&(e.subarray&&Qr||!e.subarray&&$r))return String.fromCharCode.apply(null,Kr.shrinkBuf(e,t));for(var r="",n=0;n<t;n++)r+=String.fromCharCode(e[n]);return r}en[254]=en[254]=1,Jr.string2buf=function(e){var t,r,n,i,a,o=e.length,s=0;for(i=0;i<o;i++)55296==(64512&(r=e.charCodeAt(i)))&&i+1<o&&56320==(64512&(n=e.charCodeAt(i+1)))&&(r=65536+(r-55296<<10)+(n-56320),i++),s+=r<128?1:r<2048?2:r<65536?3:4;for(t=new Kr.Buf8(s),a=0,i=0;a<s;i++)55296==(64512&(r=e.charCodeAt(i)))&&i+1<o&&56320==(64512&(n=e.charCodeAt(i+1)))&&(r=65536+(r-55296<<10)+(n-56320),i++),r<128?t[a++]=r:r<2048?(t[a++]=192|r>>>6,t[a++]=128|63&r):r<65536?(t[a++]=224|r>>>12,t[a++]=128|r>>>6&63,t[a++]=128|63&r):(t[a++]=240|r>>>18,t[a++]=128|r>>>12&63,t[a++]=128|r>>>6&63,t[a++]=128|63&r);return t},Jr.buf2binstring=function(e){return rn(e,e.length)},Jr.binstring2buf=function(e){for(var t=new Kr.Buf8(e.length),r=0,n=t.length;r<n;r++)t[r]=e.charCodeAt(r);return t},Jr.buf2string=function(e,t){var r,n,i,a,o=t||e.length,s=new Array(2*o);for(n=0,r=0;r<o;)if((i=e[r++])<128)s[n++]=i;else if((a=en[i])>4)s[n++]=65533,r+=a-1;else{for(i&=2===a?31:3===a?15:7;a>1&&r<o;)i=i<<6|63&e[r++],a--;a>1?s[n++]=65533:i<65536?s[n++]=i:(i-=65536,s[n++]=55296|i>>10&1023,s[n++]=56320|1023&i)}return rn(s,n)},Jr.utf8border=function(e,t){var r;for((t=t||e.length)>e.length&&(t=e.length),r=t-1;r>=0&&128==(192&e[r]);)r--;return r<0||0===r?t:r+en[e[r]]>t?r:t};var nn=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0},an=Wt,on=Ft,sn=Jr,un=Ar,ln=nn,cn=Object.prototype.toString;function hn(e){if(!(this instanceof hn))return new hn(e);this.options=on.assign({level:-1,method:8,chunkSize:16384,windowBits:15,memLevel:8,strategy:0,to:""},e||{});var t=this.options;t.raw&&t.windowBits>0?t.windowBits=-t.windowBits:t.gzip&&t.windowBits>0&&t.windowBits<16&&(t.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new ln,this.strm.avail_out=0;var r=an.deflateInit2(this.strm,t.level,t.method,t.windowBits,t.memLevel,t.strategy);if(0!==r)throw new Error(un[r]);if(t.header&&an.deflateSetHeader(this.strm,t.header),t.dictionary){var n;if(n="string"==typeof t.dictionary?sn.string2buf(t.dictionary):"[object ArrayBuffer]"===cn.call(t.dictionary)?new Uint8Array(t.dictionary):t.dictionary,0!==(r=an.deflateSetDictionary(this.strm,n)))throw new Error(un[r]);this._dict_set=!0}}function fn(e,t){var r=new hn(t);if(r.push(e,!0),r.err)throw r.msg||un[r.err];return r.result}hn.prototype.push=function(e,t){var r,n,i=this.strm,a=this.options.chunkSize;if(this.ended)return!1;n=t===~~t?t:!0===t?4:0,"string"==typeof e?i.input=sn.string2buf(e):"[object ArrayBuffer]"===cn.call(e)?i.input=new Uint8Array(e):i.input=e,i.next_in=0,i.avail_in=i.input.length;do{if(0===i.avail_out&&(i.output=new on.Buf8(a),i.next_out=0,i.avail_out=a),1!==(r=an.deflate(i,n))&&0!==r)return this.onEnd(r),this.ended=!0,!1;0!==i.avail_out&&(0!==i.avail_in||4!==n&&2!==n)||("string"===this.options.to?this.onData(sn.buf2binstring(on.shrinkBuf(i.output,i.next_out))):this.onData(on.shrinkBuf(i.output,i.next_out)))}while((i.avail_in>0||0===i.avail_out)&&1!==r);return 4===n?(r=an.deflateEnd(this.strm),this.onEnd(r),this.ended=!0,0===r):2!==n||(this.onEnd(0),i.avail_out=0,!0)},hn.prototype.onData=function(e){this.chunks.push(e)},hn.prototype.onEnd=function(e){0===e&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=on.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg},Ut.Deflate=hn,Ut.deflate=fn,Ut.deflateRaw=function(e,t){return(t=t||{}).raw=!0,fn(e,t)},Ut.gzip=function(e,t){return(t=t||{}).gzip=!0,fn(e,t)};var dn={},pn={},mn=Ft,vn=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],gn=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],yn=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],bn=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64],wn=Ft,kn=xr,_n=Cr,Sn=function(e,t){var r,n,i,a,o,s,u,l,c,h,f,d,p,m,v,g,y,b,w,k,_,S,x,E,C;r=e.state,n=e.next_in,E=e.input,i=n+(e.avail_in-5),a=e.next_out,C=e.output,o=a-(t-e.avail_out),s=a+(e.avail_out-257),u=r.dmax,l=r.wsize,c=r.whave,h=r.wnext,f=r.window,d=r.hold,p=r.bits,m=r.lencode,v=r.distcode,g=(1<<r.lenbits)-1,y=(1<<r.distbits)-1;e:do{p<15&&(d+=E[n++]<<p,p+=8,d+=E[n++]<<p,p+=8),b=m[d&g];t:for(;;){if(d>>>=w=b>>>24,p-=w,0==(w=b>>>16&255))C[a++]=65535&b;else{if(!(16&w)){if(64&w){if(32&w){r.mode=12;break e}e.msg="invalid literal/length code",r.mode=30;break e}b=m[(65535&b)+(d&(1<<w)-1)];continue t}for(k=65535&b,(w&=15)&&(p<w&&(d+=E[n++]<<p,p+=8),k+=d&(1<<w)-1,d>>>=w,p-=w),p<15&&(d+=E[n++]<<p,p+=8,d+=E[n++]<<p,p+=8),b=v[d&y];;){if(d>>>=w=b>>>24,p-=w,16&(w=b>>>16&255)){if(_=65535&b,p<(w&=15)&&(d+=E[n++]<<p,(p+=8)<w&&(d+=E[n++]<<p,p+=8)),(_+=d&(1<<w)-1)>u){e.msg="invalid distance too far back",r.mode=30;break e}if(d>>>=w,p-=w,_>(w=a-o)){if((w=_-w)>c&&r.sane){e.msg="invalid distance too far back",r.mode=30;break e}if(S=0,x=f,0===h){if(S+=l-w,w<k){k-=w;do{C[a++]=f[S++]}while(--w);S=a-_,x=C}}else if(h<w){if(S+=l+h-w,(w-=h)<k){k-=w;do{C[a++]=f[S++]}while(--w);if(S=0,h<k){k-=w=h;do{C[a++]=f[S++]}while(--w);S=a-_,x=C}}}else if(S+=h-w,w<k){k-=w;do{C[a++]=f[S++]}while(--w);S=a-_,x=C}for(;k>2;)C[a++]=x[S++],C[a++]=x[S++],C[a++]=x[S++],k-=3;k&&(C[a++]=x[S++],k>1&&(C[a++]=x[S++]))}else{S=a-_;do{C[a++]=C[S++],C[a++]=C[S++],C[a++]=C[S++],k-=3}while(k>2);k&&(C[a++]=C[S++],k>1&&(C[a++]=C[S++]))}break}if(64&w){e.msg="invalid distance code",r.mode=30;break e}b=v[(65535&b)+(d&(1<<w)-1)]}}break}}while(n<i&&a<s);n-=k=p>>3,d&=(1<<(p-=k<<3))-1,e.next_in=n,e.next_out=a,e.avail_in=n<i?i-n+5:5-(n-i),e.avail_out=a<s?s-a+257:257-(a-s),r.hold=d,r.bits=p},xn=function(e,t,r,n,i,a,o,s){var u,l,c,h,f,d,p,m,v,g=s.bits,y=0,b=0,w=0,k=0,_=0,S=0,x=0,E=0,C=0,A=0,P=null,T=0,R=new mn.Buf16(16),O=new mn.Buf16(16),M=null,N=0;for(y=0;y<=15;y++)R[y]=0;for(b=0;b<n;b++)R[t[r+b]]++;for(_=g,k=15;k>=1&&0===R[k];k--);if(_>k&&(_=k),0===k)return i[a++]=20971520,i[a++]=20971520,s.bits=1,0;for(w=1;w<k&&0===R[w];w++);for(_<w&&(_=w),E=1,y=1;y<=15;y++)if(E<<=1,(E-=R[y])<0)return-1;if(E>0&&(0===e||1!==k))return-1;for(O[1]=0,y=1;y<15;y++)O[y+1]=O[y]+R[y];for(b=0;b<n;b++)0!==t[r+b]&&(o[O[t[r+b]]++]=b);if(0===e?(P=M=o,d=19):1===e?(P=vn,T-=257,M=gn,N-=257,d=256):(P=yn,M=bn,d=-1),A=0,b=0,y=w,f=a,S=_,x=0,c=-1,h=(C=1<<_)-1,1===e&&C>852||2===e&&C>592)return 1;for(;;){p=y-x,o[b]<d?(m=0,v=o[b]):o[b]>d?(m=M[N+o[b]],v=P[T+o[b]]):(m=96,v=0),u=1<<y-x,w=l=1<<S;do{i[f+(A>>x)+(l-=u)]=p<<24|m<<16|v}while(0!==l);for(u=1<<y-1;A&u;)u>>=1;if(0!==u?(A&=u-1,A+=u):A=0,b++,0==--R[y]){if(y===k)break;y=t[r+o[b]]}if(y>_&&(A&h)!==c){for(0===x&&(x=_),f+=w,E=1<<(S=y-x);S+x<k&&!((E-=R[S+x])<=0);)S++,E<<=1;if(C+=1<<S,1===e&&C>852||2===e&&C>592)return 1;i[c=A&h]=_<<24|S<<16|f-a}}return 0!==A&&(i[f+A]=y-x<<24|64<<16),s.bits=_,0};function En(e){return(e>>>24&255)+(e>>>8&65280)+((65280&e)<<8)+((255&e)<<24)}function Cn(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new wn.Buf16(320),this.work=new wn.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function An(e){var t;return e&&e.state?(t=e.state,e.total_in=e.total_out=t.total=0,e.msg="",t.wrap&&(e.adler=1&t.wrap),t.mode=1,t.last=0,t.havedict=0,t.dmax=32768,t.head=null,t.hold=0,t.bits=0,t.lencode=t.lendyn=new wn.Buf32(852),t.distcode=t.distdyn=new wn.Buf32(592),t.sane=1,t.back=-1,0):-2}function Pn(e){var t;return e&&e.state?((t=e.state).wsize=0,t.whave=0,t.wnext=0,An(e)):-2}function Tn(e,t){var r,n;return e&&e.state?(n=e.state,t<0?(r=0,t=-t):(r=1+(t>>4),t<48&&(t&=15)),t&&(t<8||t>15)?-2:(null!==n.window&&n.wbits!==t&&(n.window=null),n.wrap=r,n.wbits=t,Pn(e))):-2}function Rn(e,t){var r,n;return e?(n=new Cn,e.state=n,n.window=null,0!==(r=Tn(e,t))&&(e.state=null),r):-2}var On,Mn,Nn=!0;function Bn(e){if(Nn){var t;for(On=new wn.Buf32(512),Mn=new wn.Buf32(32),t=0;t<144;)e.lens[t++]=8;for(;t<256;)e.lens[t++]=9;for(;t<280;)e.lens[t++]=7;for(;t<288;)e.lens[t++]=8;for(xn(1,e.lens,0,288,On,0,e.work,{bits:9}),t=0;t<32;)e.lens[t++]=5;xn(2,e.lens,0,32,Mn,0,e.work,{bits:5}),Nn=!1}e.lencode=On,e.lenbits=9,e.distcode=Mn,e.distbits=5}function Ln(e,t,r,n){var i,a=e.state;return null===a.window&&(a.wsize=1<<a.wbits,a.wnext=0,a.whave=0,a.window=new wn.Buf8(a.wsize)),n>=a.wsize?(wn.arraySet(a.window,t,r-a.wsize,a.wsize,0),a.wnext=0,a.whave=a.wsize):((i=a.wsize-a.wnext)>n&&(i=n),wn.arraySet(a.window,t,r-n,i,a.wnext),(n-=i)?(wn.arraySet(a.window,t,r-n,n,0),a.wnext=n,a.whave=a.wsize):(a.wnext+=i,a.wnext===a.wsize&&(a.wnext=0),a.whave<a.wsize&&(a.whave+=i))),0}pn.inflateReset=Pn,pn.inflateReset2=Tn,pn.inflateResetKeep=An,pn.inflateInit=function(e){return Rn(e,15)},pn.inflateInit2=Rn,pn.inflate=function(e,t){var r,n,i,a,o,s,u,l,c,h,f,d,p,m,v,g,y,b,w,k,_,S,x,E,C=0,A=new wn.Buf8(4),P=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!e||!e.state||!e.output||!e.input&&0!==e.avail_in)return-2;12===(r=e.state).mode&&(r.mode=13),o=e.next_out,i=e.output,u=e.avail_out,a=e.next_in,n=e.input,s=e.avail_in,l=r.hold,c=r.bits,h=s,f=u,S=0;e:for(;;)switch(r.mode){case 1:if(0===r.wrap){r.mode=13;break}for(;c<16;){if(0===s)break e;s--,l+=n[a++]<<c,c+=8}if(2&r.wrap&&35615===l){r.check=0,A[0]=255&l,A[1]=l>>>8&255,r.check=_n(r.check,A,2,0),l=0,c=0,r.mode=2;break}if(r.flags=0,r.head&&(r.head.done=!1),!(1&r.wrap)||(((255&l)<<8)+(l>>8))%31){e.msg="incorrect header check",r.mode=30;break}if(8!=(15&l)){e.msg="unknown compression method",r.mode=30;break}if(c-=4,_=8+(15&(l>>>=4)),0===r.wbits)r.wbits=_;else if(_>r.wbits){e.msg="invalid window size",r.mode=30;break}r.dmax=1<<_,e.adler=r.check=1,r.mode=512&l?10:12,l=0,c=0;break;case 2:for(;c<16;){if(0===s)break e;s--,l+=n[a++]<<c,c+=8}if(r.flags=l,8!=(255&r.flags)){e.msg="unknown compression method",r.mode=30;break}if(57344&r.flags){e.msg="unknown header flags set",r.mode=30;break}r.head&&(r.head.text=l>>8&1),512&r.flags&&(A[0]=255&l,A[1]=l>>>8&255,r.check=_n(r.check,A,2,0)),l=0,c=0,r.mode=3;case 3:for(;c<32;){if(0===s)break e;s--,l+=n[a++]<<c,c+=8}r.head&&(r.head.time=l),512&r.flags&&(A[0]=255&l,A[1]=l>>>8&255,A[2]=l>>>16&255,A[3]=l>>>24&255,r.check=_n(r.check,A,4,0)),l=0,c=0,r.mode=4;case 4:for(;c<16;){if(0===s)break e;s--,l+=n[a++]<<c,c+=8}r.head&&(r.head.xflags=255&l,r.head.os=l>>8),512&r.flags&&(A[0]=255&l,A[1]=l>>>8&255,r.check=_n(r.check,A,2,0)),l=0,c=0,r.mode=5;case 5:if(1024&r.flags){for(;c<16;){if(0===s)break e;s--,l+=n[a++]<<c,c+=8}r.length=l,r.head&&(r.head.extra_len=l),512&r.flags&&(A[0]=255&l,A[1]=l>>>8&255,r.check=_n(r.check,A,2,0)),l=0,c=0}else r.head&&(r.head.extra=null);r.mode=6;case 6:if(1024&r.flags&&((d=r.length)>s&&(d=s),d&&(r.head&&(_=r.head.extra_len-r.length,r.head.extra||(r.head.extra=new Array(r.head.extra_len)),wn.arraySet(r.head.extra,n,a,d,_)),512&r.flags&&(r.check=_n(r.check,n,d,a)),s-=d,a+=d,r.length-=d),r.length))break e;r.length=0,r.mode=7;case 7:if(2048&r.flags){if(0===s)break e;d=0;do{_=n[a+d++],r.head&&_&&r.length<65536&&(r.head.name+=String.fromCharCode(_))}while(_&&d<s);if(512&r.flags&&(r.check=_n(r.check,n,d,a)),s-=d,a+=d,_)break e}else r.head&&(r.head.name=null);r.length=0,r.mode=8;case 8:if(4096&r.flags){if(0===s)break e;d=0;do{_=n[a+d++],r.head&&_&&r.length<65536&&(r.head.comment+=String.fromCharCode(_))}while(_&&d<s);if(512&r.flags&&(r.check=_n(r.check,n,d,a)),s-=d,a+=d,_)break e}else r.head&&(r.head.comment=null);r.mode=9;case 9:if(512&r.flags){for(;c<16;){if(0===s)break e;s--,l+=n[a++]<<c,c+=8}if(l!==(65535&r.check)){e.msg="header crc mismatch",r.mode=30;break}l=0,c=0}r.head&&(r.head.hcrc=r.flags>>9&1,r.head.done=!0),e.adler=r.check=0,r.mode=12;break;case 10:for(;c<32;){if(0===s)break e;s--,l+=n[a++]<<c,c+=8}e.adler=r.check=En(l),l=0,c=0,r.mode=11;case 11:if(0===r.havedict)return e.next_out=o,e.avail_out=u,e.next_in=a,e.avail_in=s,r.hold=l,r.bits=c,2;e.adler=r.check=1,r.mode=12;case 12:if(5===t||6===t)break e;case 13:if(r.last){l>>>=7&c,c-=7&c,r.mode=27;break}for(;c<3;){if(0===s)break e;s--,l+=n[a++]<<c,c+=8}switch(r.last=1&l,c-=1,3&(l>>>=1)){case 0:r.mode=14;break;case 1:if(Bn(r),r.mode=20,6===t){l>>>=2,c-=2;break e}break;case 2:r.mode=17;break;case 3:e.msg="invalid block type",r.mode=30}l>>>=2,c-=2;break;case 14:for(l>>>=7&c,c-=7&c;c<32;){if(0===s)break e;s--,l+=n[a++]<<c,c+=8}if((65535&l)!=(l>>>16^65535)){e.msg="invalid stored block lengths",r.mode=30;break}if(r.length=65535&l,l=0,c=0,r.mode=15,6===t)break e;case 15:r.mode=16;case 16:if(d=r.length){if(d>s&&(d=s),d>u&&(d=u),0===d)break e;wn.arraySet(i,n,a,d,o),s-=d,a+=d,u-=d,o+=d,r.length-=d;break}r.mode=12;break;case 17:for(;c<14;){if(0===s)break e;s--,l+=n[a++]<<c,c+=8}if(r.nlen=257+(31&l),l>>>=5,c-=5,r.ndist=1+(31&l),l>>>=5,c-=5,r.ncode=4+(15&l),l>>>=4,c-=4,r.nlen>286||r.ndist>30){e.msg="too many length or distance symbols",r.mode=30;break}r.have=0,r.mode=18;case 18:for(;r.have<r.ncode;){for(;c<3;){if(0===s)break e;s--,l+=n[a++]<<c,c+=8}r.lens[P[r.have++]]=7&l,l>>>=3,c-=3}for(;r.have<19;)r.lens[P[r.have++]]=0;if(r.lencode=r.lendyn,r.lenbits=7,x={bits:r.lenbits},S=xn(0,r.lens,0,19,r.lencode,0,r.work,x),r.lenbits=x.bits,S){e.msg="invalid code lengths set",r.mode=30;break}r.have=0,r.mode=19;case 19:for(;r.have<r.nlen+r.ndist;){for(;g=(C=r.lencode[l&(1<<r.lenbits)-1])>>>16&255,y=65535&C,!((v=C>>>24)<=c);){if(0===s)break e;s--,l+=n[a++]<<c,c+=8}if(y<16)l>>>=v,c-=v,r.lens[r.have++]=y;else{if(16===y){for(E=v+2;c<E;){if(0===s)break e;s--,l+=n[a++]<<c,c+=8}if(l>>>=v,c-=v,0===r.have){e.msg="invalid bit length repeat",r.mode=30;break}_=r.lens[r.have-1],d=3+(3&l),l>>>=2,c-=2}else if(17===y){for(E=v+3;c<E;){if(0===s)break e;s--,l+=n[a++]<<c,c+=8}c-=v,_=0,d=3+(7&(l>>>=v)),l>>>=3,c-=3}else{for(E=v+7;c<E;){if(0===s)break e;s--,l+=n[a++]<<c,c+=8}c-=v,_=0,d=11+(127&(l>>>=v)),l>>>=7,c-=7}if(r.have+d>r.nlen+r.ndist){e.msg="invalid bit length repeat",r.mode=30;break}for(;d--;)r.lens[r.have++]=_}}if(30===r.mode)break;if(0===r.lens[256]){e.msg="invalid code -- missing end-of-block",r.mode=30;break}if(r.lenbits=9,x={bits:r.lenbits},S=xn(1,r.lens,0,r.nlen,r.lencode,0,r.work,x),r.lenbits=x.bits,S){e.msg="invalid literal/lengths set",r.mode=30;break}if(r.distbits=6,r.distcode=r.distdyn,x={bits:r.distbits},S=xn(2,r.lens,r.nlen,r.ndist,r.distcode,0,r.work,x),r.distbits=x.bits,S){e.msg="invalid distances set",r.mode=30;break}if(r.mode=20,6===t)break e;case 20:r.mode=21;case 21:if(s>=6&&u>=258){e.next_out=o,e.avail_out=u,e.next_in=a,e.avail_in=s,r.hold=l,r.bits=c,Sn(e,f),o=e.next_out,i=e.output,u=e.avail_out,a=e.next_in,n=e.input,s=e.avail_in,l=r.hold,c=r.bits,12===r.mode&&(r.back=-1);break}for(r.back=0;g=(C=r.lencode[l&(1<<r.lenbits)-1])>>>16&255,y=65535&C,!((v=C>>>24)<=c);){if(0===s)break e;s--,l+=n[a++]<<c,c+=8}if(g&&!(240&g)){for(b=v,w=g,k=y;g=(C=r.lencode[k+((l&(1<<b+w)-1)>>b)])>>>16&255,y=65535&C,!(b+(v=C>>>24)<=c);){if(0===s)break e;s--,l+=n[a++]<<c,c+=8}l>>>=b,c-=b,r.back+=b}if(l>>>=v,c-=v,r.back+=v,r.length=y,0===g){r.mode=26;break}if(32&g){r.back=-1,r.mode=12;break}if(64&g){e.msg="invalid literal/length code",r.mode=30;break}r.extra=15&g,r.mode=22;case 22:if(r.extra){for(E=r.extra;c<E;){if(0===s)break e;s--,l+=n[a++]<<c,c+=8}r.length+=l&(1<<r.extra)-1,l>>>=r.extra,c-=r.extra,r.back+=r.extra}r.was=r.length,r.mode=23;case 23:for(;g=(C=r.distcode[l&(1<<r.distbits)-1])>>>16&255,y=65535&C,!((v=C>>>24)<=c);){if(0===s)break e;s--,l+=n[a++]<<c,c+=8}if(!(240&g)){for(b=v,w=g,k=y;g=(C=r.distcode[k+((l&(1<<b+w)-1)>>b)])>>>16&255,y=65535&C,!(b+(v=C>>>24)<=c);){if(0===s)break e;s--,l+=n[a++]<<c,c+=8}l>>>=b,c-=b,r.back+=b}if(l>>>=v,c-=v,r.back+=v,64&g){e.msg="invalid distance code",r.mode=30;break}r.offset=y,r.extra=15&g,r.mode=24;case 24:if(r.extra){for(E=r.extra;c<E;){if(0===s)break e;s--,l+=n[a++]<<c,c+=8}r.offset+=l&(1<<r.extra)-1,l>>>=r.extra,c-=r.extra,r.back+=r.extra}if(r.offset>r.dmax){e.msg="invalid distance too far back",r.mode=30;break}r.mode=25;case 25:if(0===u)break e;if(d=f-u,r.offset>d){if((d=r.offset-d)>r.whave&&r.sane){e.msg="invalid distance too far back",r.mode=30;break}d>r.wnext?(d-=r.wnext,p=r.wsize-d):p=r.wnext-d,d>r.length&&(d=r.length),m=r.window}else m=i,p=o-r.offset,d=r.length;d>u&&(d=u),u-=d,r.length-=d;do{i[o++]=m[p++]}while(--d);0===r.length&&(r.mode=21);break;case 26:if(0===u)break e;i[o++]=r.length,u--,r.mode=21;break;case 27:if(r.wrap){for(;c<32;){if(0===s)break e;s--,l|=n[a++]<<c,c+=8}if(f-=u,e.total_out+=f,r.total+=f,f&&(e.adler=r.check=r.flags?_n(r.check,i,f,o-f):kn(r.check,i,f,o-f)),f=u,(r.flags?l:En(l))!==r.check){e.msg="incorrect data check",r.mode=30;break}l=0,c=0}r.mode=28;case 28:if(r.wrap&&r.flags){for(;c<32;){if(0===s)break e;s--,l+=n[a++]<<c,c+=8}if(l!==(4294967295&r.total)){e.msg="incorrect length check",r.mode=30;break}l=0,c=0}r.mode=29;case 29:S=1;break e;case 30:S=-3;break e;case 31:return-4;default:return-2}return e.next_out=o,e.avail_out=u,e.next_in=a,e.avail_in=s,r.hold=l,r.bits=c,(r.wsize||f!==e.avail_out&&r.mode<30&&(r.mode<27||4!==t))&&Ln(e,e.output,e.next_out,f-e.avail_out),h-=e.avail_in,f-=e.avail_out,e.total_in+=h,e.total_out+=f,r.total+=f,r.wrap&&f&&(e.adler=r.check=r.flags?_n(r.check,i,f,e.next_out-f):kn(r.check,i,f,e.next_out-f)),e.data_type=r.bits+(r.last?64:0)+(12===r.mode?128:0)+(20===r.mode||15===r.mode?256:0),(0===h&&0===f||4===t)&&0===S&&(S=-5),S},pn.inflateEnd=function(e){if(!e||!e.state)return-2;var t=e.state;return t.window&&(t.window=null),e.state=null,0},pn.inflateGetHeader=function(e,t){var r;return e&&e.state&&2&(r=e.state).wrap?(r.head=t,t.done=!1,0):-2},pn.inflateSetDictionary=function(e,t){var r,n=t.length;return e&&e.state?0!==(r=e.state).wrap&&11!==r.mode?-2:11===r.mode&&kn(1,t,n,0)!==r.check?-3:Ln(e,t,n,n)?(r.mode=31,-4):(r.havedict=1,0):-2},pn.inflateInfo="pako inflate (from Nodeca project)";var In={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8},jn=pn,Dn=Ft,zn=Jr,Fn=In,Un=Ar,Wn=nn,Hn=function(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1},qn=Object.prototype.toString;function Vn(e){if(!(this instanceof Vn))return new Vn(e);this.options=Dn.assign({chunkSize:16384,windowBits:0,to:""},e||{});var t=this.options;t.raw&&t.windowBits>=0&&t.windowBits<16&&(t.windowBits=-t.windowBits,0===t.windowBits&&(t.windowBits=-15)),!(t.windowBits>=0&&t.windowBits<16)||e&&e.windowBits||(t.windowBits+=32),t.windowBits>15&&t.windowBits<48&&(15&t.windowBits||(t.windowBits|=15)),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new Wn,this.strm.avail_out=0;var r=jn.inflateInit2(this.strm,t.windowBits);if(r!==Fn.Z_OK)throw new Error(Un[r]);if(this.header=new Hn,jn.inflateGetHeader(this.strm,this.header),t.dictionary&&("string"==typeof t.dictionary?t.dictionary=zn.string2buf(t.dictionary):"[object ArrayBuffer]"===qn.call(t.dictionary)&&(t.dictionary=new Uint8Array(t.dictionary)),t.raw&&(r=jn.inflateSetDictionary(this.strm,t.dictionary))!==Fn.Z_OK))throw new Error(Un[r])}function Zn(e,t){var r=new Vn(t);if(r.push(e,!0),r.err)throw r.msg||Un[r.err];return r.result}Vn.prototype.push=function(e,t){var r,n,i,a,o,s=this.strm,u=this.options.chunkSize,l=this.options.dictionary,c=!1;if(this.ended)return!1;n=t===~~t?t:!0===t?Fn.Z_FINISH:Fn.Z_NO_FLUSH,"string"==typeof e?s.input=zn.binstring2buf(e):"[object ArrayBuffer]"===qn.call(e)?s.input=new Uint8Array(e):s.input=e,s.next_in=0,s.avail_in=s.input.length;do{if(0===s.avail_out&&(s.output=new Dn.Buf8(u),s.next_out=0,s.avail_out=u),(r=jn.inflate(s,Fn.Z_NO_FLUSH))===Fn.Z_NEED_DICT&&l&&(r=jn.inflateSetDictionary(this.strm,l)),r===Fn.Z_BUF_ERROR&&!0===c&&(r=Fn.Z_OK,c=!1),r!==Fn.Z_STREAM_END&&r!==Fn.Z_OK)return this.onEnd(r),this.ended=!0,!1;s.next_out&&(0!==s.avail_out&&r!==Fn.Z_STREAM_END&&(0!==s.avail_in||n!==Fn.Z_FINISH&&n!==Fn.Z_SYNC_FLUSH)||("string"===this.options.to?(i=zn.utf8border(s.output,s.next_out),a=s.next_out-i,o=zn.buf2string(s.output,i),s.next_out=a,s.avail_out=u-a,a&&Dn.arraySet(s.output,s.output,i,a,0),this.onData(o)):this.onData(Dn.shrinkBuf(s.output,s.next_out)))),0===s.avail_in&&0===s.avail_out&&(c=!0)}while((s.avail_in>0||0===s.avail_out)&&r!==Fn.Z_STREAM_END);return r===Fn.Z_STREAM_END&&(n=Fn.Z_FINISH),n===Fn.Z_FINISH?(r=jn.inflateEnd(this.strm),this.onEnd(r),this.ended=!0,r===Fn.Z_OK):n!==Fn.Z_SYNC_FLUSH||(this.onEnd(Fn.Z_OK),s.avail_out=0,!0)},Vn.prototype.onData=function(e){this.chunks.push(e)},Vn.prototype.onEnd=function(e){e===Fn.Z_OK&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=Dn.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg},dn.Inflate=Vn,dn.inflate=Zn,dn.inflateRaw=function(e,t){return(t=t||{}).raw=!0,Zn(e,t)},dn.ungzip=Zn;var Xn={};(0,Ft.assign)(Xn,Ut,dn,In);var Gn="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Uint32Array,Yn=Xn,Jn=He(),Kn=Ve,$n=Gn?"uint8array":"array";function Qn(e,t){Kn.call(this,"FlateWorker/"+e),this._pako=null,this._pakoAction=e,this._pakoOptions=t,this.meta={}}zt.magic="\b\0",Jn.inherits(Qn,Kn),Qn.prototype.processChunk=function(e){this.meta=e.meta,null===this._pako&&this._createPako(),this._pako.push(Jn.transformTo($n,e.data),!1)},Qn.prototype.flush=function(){Kn.prototype.flush.call(this),null===this._pako&&this._createPako(),this._pako.push([],!0)},Qn.prototype.cleanUp=function(){Kn.prototype.cleanUp.call(this),this._pako=null},Qn.prototype._createPako=function(){this._pako=new Yn[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var e=this;this._pako.onData=function(t){e.push({data:t,meta:e.meta})}},zt.compressWorker=function(e){return new Qn("Deflate",e)},zt.uncompressWorker=function(){return new Qn("Inflate",{})};var ei=Ve;Dt.STORE={magic:"\0\0",compressWorker:function(){return new ei("STORE compression")},uncompressWorker:function(){return new ei("STORE decompression")}},Dt.DEFLATE=zt;var ti={LOCAL_FILE_HEADER:"PK",CENTRAL_FILE_HEADER:"PK",CENTRAL_DIRECTORY_END:"PK",ZIP64_CENTRAL_DIRECTORY_LOCATOR:"PK",ZIP64_CENTRAL_DIRECTORY_END:"PK",DATA_DESCRIPTOR:"PK\b"},ri=He(),ni=Ve,ii=F,ai=dt,oi=ti,si=function(e,t){var r,n="";for(r=0;r<t;r++)n+=String.fromCharCode(255&e),e>>>=8;return n},ui=function(e,t,r,n,i,a){var o,s,u=e.file,l=e.compression,c=a!==ii.utf8encode,h=ri.transformTo("string",a(u.name)),f=ri.transformTo("string",ii.utf8encode(u.name)),d=u.comment,p=ri.transformTo("string",a(d)),m=ri.transformTo("string",ii.utf8encode(d)),v=f.length!==u.name.length,g=m.length!==d.length,y="",b="",w="",k=u.dir,_=u.date,S={crc32:0,compressedSize:0,uncompressedSize:0};t&&!r||(S.crc32=e.crc32,S.compressedSize=e.compressedSize,S.uncompressedSize=e.uncompressedSize);var x=0;t&&(x|=8),c||!v&&!g||(x|=2048);var E,C,A=0,P=0;k&&(A|=16),"UNIX"===i?(P=798,A|=(C=E=u.unixPermissions,E||(C=k?16893:33204),(65535&C)<<16)):(P=20,A|=63&(u.dosPermissions||0)),o=_.getUTCHours(),o<<=6,o|=_.getUTCMinutes(),o<<=5,o|=_.getUTCSeconds()/2,s=_.getUTCFullYear()-1980,s<<=4,s|=_.getUTCMonth()+1,s<<=5,s|=_.getUTCDate(),v&&(b=si(1,1)+si(ai(h),4)+f,y+="up"+si(b.length,2)+b),g&&(w=si(1,1)+si(ai(p),4)+m,y+="uc"+si(w.length,2)+w);var T="";return T+="\n\0",T+=si(x,2),T+=l.magic,T+=si(o,2),T+=si(s,2),T+=si(S.crc32,4),T+=si(S.compressedSize,4),T+=si(S.uncompressedSize,4),T+=si(h.length,2),T+=si(y.length,2),{fileRecord:oi.LOCAL_FILE_HEADER+T+h+y,dirRecord:oi.CENTRAL_FILE_HEADER+si(P,2)+T+si(p.length,2)+"\0\0\0\0"+si(A,4)+si(n,4)+h+y+p}},li=function(e){return oi.DATA_DESCRIPTOR+si(e.crc32,4)+si(e.compressedSize,4)+si(e.uncompressedSize,4)};function ci(e,t,r,n){ni.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=t,this.zipPlatform=r,this.encodeFileName=n,this.streamFiles=e,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}ri.inherits(ci,ni),ci.prototype.push=function(e){var t=e.meta.percent||0,r=this.entriesCount,n=this._sources.length;this.accumulate?this.contentBuffer.push(e):(this.bytesWritten+=e.data.length,ni.prototype.push.call(this,{data:e.data,meta:{currentFile:this.currentFile,percent:r?(t+100*(r-n-1))/r:100}}))},ci.prototype.openedSource=function(e){this.currentSourceOffset=this.bytesWritten,this.currentFile=e.file.name;var t=this.streamFiles&&!e.file.dir;if(t){var r=ui(e,t,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:r.fileRecord,meta:{percent:0}})}else this.accumulate=!0},ci.prototype.closedSource=function(e){this.accumulate=!1;var t=this.streamFiles&&!e.file.dir,r=ui(e,t,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(r.dirRecord),t)this.push({data:li(e),meta:{percent:100}});else for(this.push({data:r.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},ci.prototype.flush=function(){for(var e=this.bytesWritten,t=0;t<this.dirRecords.length;t++)this.push({data:this.dirRecords[t],meta:{percent:100}});var r=this.bytesWritten-e,n=function(e,t,r,n,i){var a=ri.transformTo("string",i(n));return oi.CENTRAL_DIRECTORY_END+"\0\0\0\0"+si(e,2)+si(e,2)+si(t,4)+si(r,4)+si(a.length,2)+a}(this.dirRecords.length,r,e,this.zipComment,this.encodeFileName);this.push({data:n,meta:{percent:100}})},ci.prototype.prepareNextSource=function(){this.previous=this._sources.shift(),this.openedSource(this.previous.streamInfo),this.isPaused?this.previous.pause():this.previous.resume()},ci.prototype.registerPrevious=function(e){this._sources.push(e);var t=this;return e.on("data",(function(e){t.processChunk(e)})),e.on("end",(function(){t.closedSource(t.previous.streamInfo),t._sources.length?t.prepareNextSource():t.end()})),e.on("error",(function(e){t.error(e)})),this},ci.prototype.resume=function(){return!!ni.prototype.resume.call(this)&&(!this.previous&&this._sources.length?(this.prepareNextSource(),!0):this.previous||this._sources.length||this.generatedError?void 0:(this.end(),!0))},ci.prototype.error=function(e){var t=this._sources;if(!ni.prototype.error.call(this,e))return!1;for(var r=0;r<t.length;r++)try{t[r].error(e)}catch(e){}return!0},ci.prototype.lock=function(){ni.prototype.lock.call(this);for(var e=this._sources,t=0;t<e.length;t++)e[t].lock()};var hi=Dt,fi=ci;jt.generateWorker=function(e,t,r){var n=new fi(t.streamFiles,r,t.platform,t.encodeFileName),i=0;try{e.forEach((function(e,r){i++;var a=function(e,t){var r=e||t,n=hi[r];if(!n)throw new Error(r+" is not a valid compression method !");return n}(r.options.compression,t.compression),o=r.options.compressionOptions||t.compressionOptions||{},s=r.dir,u=r.date;r._compressWorker(a,o).withStreamInfo("file",{name:e,dir:s,date:u,comment:r.comment||"",unixPermissions:r.unixPermissions,dosPermissions:r.dosPermissions}).pipe(n)})),n.entriesCount=i}catch(e){n.error(e)}return n};var di=He(),pi=Ve;function mi(e,t){pi.call(this,"Nodejs stream input adapter for "+e),this._upstreamEnded=!1,this._bindStream(t)}di.inherits(mi,pi),mi.prototype._bindStream=function(e){var t=this;this._stream=e,e.pause(),e.on("data",(function(e){t.push({data:e,meta:{percent:0}})})).on("error",(function(e){t.isPaused?this.generatedError=e:t.error(e)})).on("end",(function(){t.isPaused?t._upstreamEnded=!0:t.end()}))},mi.prototype.pause=function(){return!!pi.prototype.pause.call(this)&&(this._stream.pause(),!0)},mi.prototype.resume=function(){return!!pi.prototype.resume.call(this)&&(this._upstreamEnded?this.end():this._stream.resume(),!0)};var vi=mi,gi=F,yi=He(),bi=Ve,wi=at,ki=ot,_i=Ct,Si=It,xi=jt,Ei=Ue,Ci=vi,Ai=function(e,t,r){var n,i=yi.getTypeOf(t),a=yi.extend(r||{},ki);a.date=a.date||new Date,null!==a.compression&&(a.compression=a.compression.toUpperCase()),"string"==typeof a.unixPermissions&&(a.unixPermissions=parseInt(a.unixPermissions,8)),a.unixPermissions&&16384&a.unixPermissions&&(a.dir=!0),a.dosPermissions&&16&a.dosPermissions&&(a.dir=!0),a.dir&&(e=Ti(e)),a.createFolders&&(n=Pi(e))&&Ri.call(this,n,!0);var o="string"===i&&!1===a.binary&&!1===a.base64;r&&void 0!==r.binary||(a.binary=!o),(t instanceof _i&&0===t.uncompressedSize||a.dir||!t||0===t.length)&&(a.base64=!1,a.binary=!0,t="",a.compression="STORE",i="string");var s;s=t instanceof _i||t instanceof bi?t:Ei.isNode&&Ei.isStream(t)?new Ci(e,t):yi.prepareContent(e,t,a.binary,a.optimizedBinaryString,a.base64);var u=new Si(e,s,a);this.files[e]=u},Pi=function(e){"/"===e.slice(-1)&&(e=e.substring(0,e.length-1));var t=e.lastIndexOf("/");return t>0?e.substring(0,t):""},Ti=function(e){return"/"!==e.slice(-1)&&(e+="/"),e},Ri=function(e,t){return t=void 0!==t?t:ki.createFolders,e=Ti(e),this.files[e]||Ai.call(this,e,null,{dir:!0,createFolders:t}),this.files[e]};function Oi(e){return"[object RegExp]"===Object.prototype.toString.call(e)}var Mi={load:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},forEach:function(e){var t,r,n;for(t in this.files)n=this.files[t],(r=t.slice(this.root.length,t.length))&&t.slice(0,this.root.length)===this.root&&e(r,n)},filter:function(e){var t=[];return this.forEach((function(r,n){e(r,n)&&t.push(n)})),t},file:function(e,t,r){if(1===arguments.length){if(Oi(e)){var n=e;return this.filter((function(e,t){return!t.dir&&n.test(e)}))}var i=this.files[this.root+e];return i&&!i.dir?i:null}return e=this.root+e,Ai.call(this,e,t,r),this},folder:function(e){if(!e)return this;if(Oi(e))return this.filter((function(t,r){return r.dir&&e.test(t)}));var t=this.root+e,r=Ri.call(this,t),n=this.clone();return n.root=r.name,n},remove:function(e){e=this.root+e;var t=this.files[e];if(t||("/"!==e.slice(-1)&&(e+="/"),t=this.files[e]),t&&!t.dir)delete this.files[e];else for(var r=this.filter((function(t,r){return r.name.slice(0,e.length)===e})),n=0;n<r.length;n++)delete this.files[r[n].name];return this},generate:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},generateInternalStream:function(e){var t,r={};try{if((r=yi.extend(e||{},{streamFiles:!1,compression:"STORE",compressionOptions:null,type:"",platform:"DOS",comment:null,mimeType:"application/zip",encodeFileName:gi.utf8encode})).type=r.type.toLowerCase(),r.compression=r.compression.toUpperCase(),"binarystring"===r.type&&(r.type="string"),!r.type)throw new Error("No output type specified.");yi.checkSupport(r.type),"darwin"!==r.platform&&"freebsd"!==r.platform&&"linux"!==r.platform&&"sunos"!==r.platform||(r.platform="UNIX"),"win32"===r.platform&&(r.platform="DOS");var n=r.comment||this.comment||"";t=xi.generateWorker(this,r,n)}catch(e){(t=new bi("error")).error(e)}return new wi(t,r.type||"string",r.mimeType)},generateAsync:function(e,t){return this.generateInternalStream(e).accumulate(t)},generateNodeStream:function(e,t){return(e=e||{}).type||(e.type="nodebuffer"),this.generateInternalStream(e).toNodejsStream(t)}},Ni=He();function Bi(e){this.data=e,this.length=e.length,this.index=0,this.zero=0}Bi.prototype={checkOffset:function(e){this.checkIndex(this.index+e)},checkIndex:function(e){if(this.length<this.zero+e||e<0)throw new Error("End of data reached (data length = "+this.length+", asked index = "+e+"). Corrupted zip ?")},setIndex:function(e){this.checkIndex(e),this.index=e},skip:function(e){this.setIndex(this.index+e)},byteAt:function(){},readInt:function(e){var t,r=0;for(this.checkOffset(e),t=this.index+e-1;t>=this.index;t--)r=(r<<8)+this.byteAt(t);return this.index+=e,r},readString:function(e){return Ni.transformTo("string",this.readData(e))},readData:function(){},lastIndexOfSignature:function(){},readAndCheckSignature:function(){},readDate:function(){var e=this.readInt(4);return new Date(Date.UTC(1980+(e>>25&127),(e>>21&15)-1,e>>16&31,e>>11&31,e>>5&63,(31&e)<<1))}};var Li=Bi,Ii=Li;function ji(e){Ii.call(this,e);for(var t=0;t<this.data.length;t++)e[t]=255&e[t]}He().inherits(ji,Ii),ji.prototype.byteAt=function(e){return this.data[this.zero+e]},ji.prototype.lastIndexOfSignature=function(e){for(var t=e.charCodeAt(0),r=e.charCodeAt(1),n=e.charCodeAt(2),i=e.charCodeAt(3),a=this.length-4;a>=0;--a)if(this.data[a]===t&&this.data[a+1]===r&&this.data[a+2]===n&&this.data[a+3]===i)return a-this.zero;return-1},ji.prototype.readAndCheckSignature=function(e){var t=e.charCodeAt(0),r=e.charCodeAt(1),n=e.charCodeAt(2),i=e.charCodeAt(3),a=this.readData(4);return t===a[0]&&r===a[1]&&n===a[2]&&i===a[3]},ji.prototype.readData=function(e){if(this.checkOffset(e),0===e)return[];var t=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t};var Di=ji,zi=Li;function Fi(e){zi.call(this,e)}He().inherits(Fi,zi),Fi.prototype.byteAt=function(e){return this.data.charCodeAt(this.zero+e)},Fi.prototype.lastIndexOfSignature=function(e){return this.data.lastIndexOf(e)-this.zero},Fi.prototype.readAndCheckSignature=function(e){return e===this.readData(4)},Fi.prototype.readData=function(e){this.checkOffset(e);var t=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t};var Ui=Fi,Wi=Di;function Hi(e){Wi.call(this,e)}He().inherits(Hi,Wi),Hi.prototype.readData=function(e){if(this.checkOffset(e),0===e)return new Uint8Array(0);var t=this.data.subarray(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t};var qi=Hi,Vi=qi;function Zi(e){Vi.call(this,e)}He().inherits(Zi,Vi),Zi.prototype.readData=function(e){this.checkOffset(e);var t=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t};var Xi=Zi,Gi=He(),Yi=W,Ji=Di,Ki=Ui,$i=Xi,Qi=qi,ea=function(e){var t=Gi.getTypeOf(e);return Gi.checkSupport(t),"string"!==t||Yi.uint8array?"nodebuffer"===t?new $i(e):Yi.uint8array?new Qi(Gi.transformTo("uint8array",e)):new Ji(Gi.transformTo("array",e)):new Ki(e)},ta=ea,ra=He(),na=Ct,ia=dt,aa=F,oa=Dt,sa=W;function ua(e,t){this.options=e,this.loadOptions=t}ua.prototype={isEncrypted:function(){return!(1&~this.bitFlag)},useUTF8:function(){return!(2048&~this.bitFlag)},readLocalPart:function(e){var t,r;if(e.skip(22),this.fileNameLength=e.readInt(2),r=e.readInt(2),this.fileName=e.readData(this.fileNameLength),e.skip(r),-1===this.compressedSize||-1===this.uncompressedSize)throw new Error("Bug or corrupted zip : didn't get enough information from the central directory (compressedSize === -1 || uncompressedSize === -1)");if(null===(t=function(e){for(var t in oa)if(Object.prototype.hasOwnProperty.call(oa,t)&&oa[t].magic===e)return oa[t];return null}(this.compressionMethod)))throw new Error("Corrupted zip : compression "+ra.pretty(this.compressionMethod)+" unknown (inner file : "+ra.transformTo("string",this.fileName)+")");this.decompressed=new na(this.compressedSize,this.uncompressedSize,this.crc32,t,e.readData(this.compressedSize))},readCentralPart:function(e){this.versionMadeBy=e.readInt(2),e.skip(2),this.bitFlag=e.readInt(2),this.compressionMethod=e.readString(2),this.date=e.readDate(),this.crc32=e.readInt(4),this.compressedSize=e.readInt(4),this.uncompressedSize=e.readInt(4);var t=e.readInt(2);if(this.extraFieldsLength=e.readInt(2),this.fileCommentLength=e.readInt(2),this.diskNumberStart=e.readInt(2),this.internalFileAttributes=e.readInt(2),this.externalFileAttributes=e.readInt(4),this.localHeaderOffset=e.readInt(4),this.isEncrypted())throw new Error("Encrypted zip are not supported");e.skip(t),this.readExtraFields(e),this.parseZIP64ExtraField(e),this.fileComment=e.readData(this.fileCommentLength)},processAttributes:function(){this.unixPermissions=null,this.dosPermissions=null;var e=this.versionMadeBy>>8;this.dir=!!(16&this.externalFileAttributes),0===e&&(this.dosPermissions=63&this.externalFileAttributes),3===e&&(this.unixPermissions=this.externalFileAttributes>>16&65535),this.dir||"/"!==this.fileNameStr.slice(-1)||(this.dir=!0)},parseZIP64ExtraField:function(){if(this.extraFields[1]){var e=ta(this.extraFields[1].value);this.uncompressedSize===ra.MAX_VALUE_32BITS&&(this.uncompressedSize=e.readInt(8)),this.compressedSize===ra.MAX_VALUE_32BITS&&(this.compressedSize=e.readInt(8)),this.localHeaderOffset===ra.MAX_VALUE_32BITS&&(this.localHeaderOffset=e.readInt(8)),this.diskNumberStart===ra.MAX_VALUE_32BITS&&(this.diskNumberStart=e.readInt(4))}},readExtraFields:function(e){var t,r,n,i=e.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});e.index+4<i;)t=e.readInt(2),r=e.readInt(2),n=e.readData(r),this.extraFields[t]={id:t,length:r,value:n};e.setIndex(i)},handleUTF8:function(){var e=sa.uint8array?"uint8array":"array";if(this.useUTF8())this.fileNameStr=aa.utf8decode(this.fileName),this.fileCommentStr=aa.utf8decode(this.fileComment);else{var t=this.findExtraFieldUnicodePath();if(null!==t)this.fileNameStr=t;else{var r=ra.transformTo(e,this.fileName);this.fileNameStr=this.loadOptions.decodeFileName(r)}var n=this.findExtraFieldUnicodeComment();if(null!==n)this.fileCommentStr=n;else{var i=ra.transformTo(e,this.fileComment);this.fileCommentStr=this.loadOptions.decodeFileName(i)}}},findExtraFieldUnicodePath:function(){var e=this.extraFields[28789];if(e){var t=ta(e.value);return 1!==t.readInt(1)||ia(this.fileName)!==t.readInt(4)?null:aa.utf8decode(t.readData(e.length-5))}return null},findExtraFieldUnicodeComment:function(){var e=this.extraFields[25461];if(e){var t=ta(e.value);return 1!==t.readInt(1)||ia(this.fileComment)!==t.readInt(4)?null:aa.utf8decode(t.readData(e.length-5))}return null}};var la=ua,ca=ea,ha=He(),fa=ti,da=la,pa=W;function ma(e){this.files=[],this.loadOptions=e}ma.prototype={checkSignature:function(e){if(!this.reader.readAndCheckSignature(e)){this.reader.index-=4;var t=this.reader.readString(4);throw new Error("Corrupted zip or bug: unexpected signature ("+ha.pretty(t)+", expected "+ha.pretty(e)+")")}},isSignature:function(e,t){var r=this.reader.index;this.reader.setIndex(e);var n=this.reader.readString(4)===t;return this.reader.setIndex(r),n},readBlockEndOfCentral:function(){this.diskNumber=this.reader.readInt(2),this.diskWithCentralDirStart=this.reader.readInt(2),this.centralDirRecordsOnThisDisk=this.reader.readInt(2),this.centralDirRecords=this.reader.readInt(2),this.centralDirSize=this.reader.readInt(4),this.centralDirOffset=this.reader.readInt(4),this.zipCommentLength=this.reader.readInt(2);var e=this.reader.readData(this.zipCommentLength),t=pa.uint8array?"uint8array":"array",r=ha.transformTo(t,e);this.zipComment=this.loadOptions.decodeFileName(r)},readBlockZip64EndOfCentral:function(){this.zip64EndOfCentralSize=this.reader.readInt(8),this.reader.skip(4),this.diskNumber=this.reader.readInt(4),this.diskWithCentralDirStart=this.reader.readInt(4),this.centralDirRecordsOnThisDisk=this.reader.readInt(8),this.centralDirRecords=this.reader.readInt(8),this.centralDirSize=this.reader.readInt(8),this.centralDirOffset=this.reader.readInt(8),this.zip64ExtensibleData={};for(var e,t,r,n=this.zip64EndOfCentralSize-44;0<n;)e=this.reader.readInt(2),t=this.reader.readInt(4),r=this.reader.readData(t),this.zip64ExtensibleData[e]={id:e,length:t,value:r}},readBlockZip64EndOfCentralLocator:function(){if(this.diskWithZip64CentralDirStart=this.reader.readInt(4),this.relativeOffsetEndOfZip64CentralDir=this.reader.readInt(8),this.disksCount=this.reader.readInt(4),this.disksCount>1)throw new Error("Multi-volumes zip are not supported")},readLocalFiles:function(){var e,t;for(e=0;e<this.files.length;e++)t=this.files[e],this.reader.setIndex(t.localHeaderOffset),this.checkSignature(fa.LOCAL_FILE_HEADER),t.readLocalPart(this.reader),t.handleUTF8(),t.processAttributes()},readCentralDir:function(){var e;for(this.reader.setIndex(this.centralDirOffset);this.reader.readAndCheckSignature(fa.CENTRAL_FILE_HEADER);)(e=new da({zip64:this.zip64},this.loadOptions)).readCentralPart(this.reader),this.files.push(e);if(this.centralDirRecords!==this.files.length&&0!==this.centralDirRecords&&0===this.files.length)throw new Error("Corrupted zip or bug: expected "+this.centralDirRecords+" records in central dir, got "+this.files.length)},readEndOfCentral:function(){var e=this.reader.lastIndexOfSignature(fa.CENTRAL_DIRECTORY_END);if(e<0)throw this.isSignature(0,fa.LOCAL_FILE_HEADER)?new Error("Corrupted zip: can't find end of central directory"):new Error("Can't find end of central directory : is this a zip file ? If it is, see https://stuk.github.io/jszip/documentation/howto/read_zip.html");this.reader.setIndex(e);var t=e;if(this.checkSignature(fa.CENTRAL_DIRECTORY_END),this.readBlockEndOfCentral(),this.diskNumber===ha.MAX_VALUE_16BITS||this.diskWithCentralDirStart===ha.MAX_VALUE_16BITS||this.centralDirRecordsOnThisDisk===ha.MAX_VALUE_16BITS||this.centralDirRecords===ha.MAX_VALUE_16BITS||this.centralDirSize===ha.MAX_VALUE_32BITS||this.centralDirOffset===ha.MAX_VALUE_32BITS){if(this.zip64=!0,(e=this.reader.lastIndexOfSignature(fa.ZIP64_CENTRAL_DIRECTORY_LOCATOR))<0)throw new Error("Corrupted zip: can't find the ZIP64 end of central directory locator");if(this.reader.setIndex(e),this.checkSignature(fa.ZIP64_CENTRAL_DIRECTORY_LOCATOR),this.readBlockZip64EndOfCentralLocator(),!this.isSignature(this.relativeOffsetEndOfZip64CentralDir,fa.ZIP64_CENTRAL_DIRECTORY_END)&&(this.relativeOffsetEndOfZip64CentralDir=this.reader.lastIndexOfSignature(fa.ZIP64_CENTRAL_DIRECTORY_END),this.relativeOffsetEndOfZip64CentralDir<0))throw new Error("Corrupted zip: can't find the ZIP64 end of central directory");this.reader.setIndex(this.relativeOffsetEndOfZip64CentralDir),this.checkSignature(fa.ZIP64_CENTRAL_DIRECTORY_END),this.readBlockZip64EndOfCentral()}var r=this.centralDirOffset+this.centralDirSize;this.zip64&&(r+=20,r+=12+this.zip64EndOfCentralSize);var n=t-r;if(n>0)this.isSignature(t,fa.CENTRAL_FILE_HEADER)||(this.reader.zero=n);else if(n<0)throw new Error("Corrupted zip: missing "+Math.abs(n)+" bytes.")},prepareReader:function(e){this.reader=ca(e)},load:function(e){this.prepareReader(e),this.readEndOfCentral(),this.readCentralDir(),this.readLocalFiles()}};var va=ma,ga=He(),ya=We,ba=F,wa=va,ka=gt,_a=Ue;function Sa(e){return new ya.Promise((function(t,r){var n=e.decompressed.getContentWorker().pipe(new ka);n.on("error",(function(e){r(e)})).on("end",(function(){n.streamInfo.crc32!==e.decompressed.crc32?r(new Error("Corrupted zip : CRC32 mismatch")):t()})).resume()}))}function xa(){if(!(this instanceof xa))return new xa;if(arguments.length)throw new Error("The constructor with parameters has been removed in JSZip 3.0, please check the upgrade guide.");this.files=Object.create(null),this.comment=null,this.root="",this.clone=function(){var e=new xa;for(var t in this)"function"!=typeof this[t]&&(e[t]=this[t]);return e}}xa.prototype=Mi,xa.prototype.loadAsync=function(e,t){var r=this;return t=ga.extend(t||{},{base64:!1,checkCRC32:!1,optimizedBinaryString:!1,createFolders:!1,decodeFileName:ba.utf8decode}),_a.isNode&&_a.isStream(e)?ya.Promise.reject(new Error("JSZip can't accept a stream when loading a zip file.")):ga.prepareContent("the loaded zip file",e,!0,t.optimizedBinaryString,t.base64).then((function(e){var r=new wa(t);return r.load(e),r})).then((function(e){var r=[ya.Promise.resolve(e)],n=e.files;if(t.checkCRC32)for(var i=0;i<n.length;i++)r.push(Sa(n[i]));return ya.Promise.all(r)})).then((function(e){for(var n=e.shift(),i=n.files,a=0;a<i.length;a++){var o=i[a],s=o.fileNameStr,u=ga.resolve(o.fileNameStr);r.file(u,o.decompressed,{binary:!0,optimizedBinaryString:!0,date:o.date,dir:o.dir,comment:o.fileCommentStr.length?o.fileCommentStr:null,unixPermissions:o.unixPermissions,dosPermissions:o.dosPermissions,createFolders:t.createFolders}),o.dir||(r.file(u).unsafeOriginalName=s)}return n.zipComment.length&&(r.comment=n.zipComment),r}))},xa.support=W,xa.defaults=ot,xa.version="3.10.1",xa.loadAsync=function(e,t){return(new xa).loadAsync(e,t)},xa.external=We;var Ea,Ca,Aa=(Ca=xa)&&Ca.__esModule&&Object.prototype.hasOwnProperty.call(Ca,"default")?Ca.default:Ca;!function(e){e.OfficeDocument="http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument",e.FontTable="http://schemas.openxmlformats.org/officeDocument/2006/relationships/fontTable",e.Image="http://schemas.openxmlformats.org/officeDocument/2006/relationships/image",e.Numbering="http://schemas.openxmlformats.org/officeDocument/2006/relationships/numbering",e.Styles="http://schemas.openxmlformats.org/officeDocument/2006/relationships/styles",e.StylesWithEffects="http://schemas.microsoft.com/office/2007/relationships/stylesWithEffects",e.Theme="http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme",e.Settings="http://schemas.openxmlformats.org/officeDocument/2006/relationships/settings",e.WebSettings="http://schemas.openxmlformats.org/officeDocument/2006/relationships/webSettings",e.Hyperlink="http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink",e.Footnotes="http://schemas.openxmlformats.org/officeDocument/2006/relationships/footnotes",e.Endnotes="http://schemas.openxmlformats.org/officeDocument/2006/relationships/endnotes",e.Footer="http://schemas.openxmlformats.org/officeDocument/2006/relationships/footer",e.Header="http://schemas.openxmlformats.org/officeDocument/2006/relationships/header",e.ExtendedProperties="http://schemas.openxmlformats.org/officeDocument/2006/relationships/extended-properties",e.CoreProperties="http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties",e.CustomProperties="http://schemas.openxmlformats.org/package/2006/relationships/metadata/custom-properties",e.Comments="http://schemas.openxmlformats.org/officeDocument/2006/relationships/comments",e.CommentsExtended="http://schemas.microsoft.com/office/2011/relationships/commentsExtended"}(Ea||(Ea={}));var Pa="http://schemas.openxmlformats.org/wordprocessingml/2006/main",Ta={mul:.05,unit:"pt"},Ra={mul:1/12700,unit:"pt"},Oa={mul:.5,unit:"pt"},Ma={mul:.125,unit:"pt"},Na={mul:1,unit:"pt"},Ba={mul:.02,unit:"%"};function La(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Ta;return null==e||/.+(p[xt]|[%])$/.test(e)?e:"".concat((parseInt(e)*t.mul).toFixed(2)).concat(t.unit)}function Ia(e,t,r){if(e.namespaceURI!=Pa)return!1;switch(e.localName){case"color":t.color=r.attr(e,"val");break;case"sz":t.fontSize=r.lengthAttr(e,"val",Oa);break;default:return!1}return!0}var ja=function(){return O((function e(){T(this,e)}),[{key:"elements",value:function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=[],n=0,i=e.childNodes.length;n<i;n++){var a=e.childNodes.item(n);1!=a.nodeType||null!=t&&a.localName!=t||r.push(a)}return r}},{key:"element",value:function(e,t){for(var r=0,n=e.childNodes.length;r<n;r++){var i=e.childNodes.item(r);if(1==i.nodeType&&i.localName==t)return i}return null}},{key:"elementAttr",value:function(e,t,r){var n=this.element(e,t);return n?this.attr(n,r):void 0}},{key:"attrs",value:function(e){return Array.from(e.attributes)}},{key:"attr",value:function(e,t){for(var r=0,n=e.attributes.length;r<n;r++){var i=e.attributes.item(r);if(i.localName==t)return i.value}return null}},{key:"intAttr",value:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,n=this.attr(e,t);return n?parseInt(n):r}},{key:"hexAttr",value:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,n=this.attr(e,t);return n?parseInt(n,16):r}},{key:"floatAttr",value:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,n=this.attr(e,t);return n?parseFloat(n):r}},{key:"boolAttr",value:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];switch(e){case"1":case"on":case"true":return!0;case"0":case"off":case"false":return!1;default:return t}}(this.attr(e,t),r)}},{key:"lengthAttr",value:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Ta;return La(this.attr(e,t),r)}}])}(),Da=new ja,za=function(){return O((function e(t,r){T(this,e),this._package=t,this.path=r}),[{key:"load",value:(e=P(C().mark((function e(){var t,r;return C().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this._package.loadRelationships(this.path);case 2:return this.rels=e.sent,e.next=5,this._package.load(this.path);case 5:t=e.sent,r=this._package.parseXmlDocument(t),this._package.options.keepOrigin&&(this._xmlDocument=r),this.parseXml(r.firstElementChild);case 8:case"end":return e.stop()}}),e,this)}))),function(){return e.apply(this,arguments)})},{key:"save",value:function(){var e;this._package.update(this.path,(e=this._xmlDocument,(new XMLSerializer).serializeToString(e)))}},{key:"parseXml",value:function(e){}}]);var e}(),Fa={embedRegular:"regular",embedBold:"bold",embedItalic:"italic",embedBoldItalic:"boldItalic"};function Ua(e,t){return{id:t.attr(e,"id"),key:t.attr(e,"fontKey"),type:Fa[e.localName]}}var Wa=function(e){function t(){return T(this,t),b(this,t,arguments)}return k(t,e),O(t,[{key:"parseXml",value:function(e){this.fonts=function(e,t){return t.elements(e).map((function(e){return function(e,t){var r,n={name:t.attr(e,"name"),embedFontRefs:[]},i=S(t.elements(e));try{for(i.s();!(r=i.n()).done;){var a=r.value;switch(a.localName){case"family":n.family=t.attr(a,"val");break;case"altName":n.altName=t.attr(a,"val");break;case"embedRegular":case"embedBold":case"embedItalic":case"embedBoldItalic":n.embedFontRefs.push(Ua(a,t))}}}catch(e){i.e(e)}finally{i.f()}return n}(e,t)}))}(e,this._package.xmlParser)}}])}(za);function Ha(e){var t=e.lastIndexOf("/")+1;return[0==t?"":e.substring(0,t),0==t?e:e.substring(t)]}function qa(e,t){try{var r="http://docx/";return new URL(e,r+t).toString().substring(r.length)}catch(r){return"".concat(t).concat(e)}}function Va(e,t){return e.reduce((function(e,r){return e[t(r)]=r,e}),{})}function Za(e){return e&&"object"==N(e)&&!Array.isArray(e)}function Xa(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];if(!r.length)return e;var i=r.shift();if(Za(e)&&Za(i))for(var a in i)if(Za(i[a])){var o;Xa(null!==(o=e[a])&&void 0!==o?o:e[a]={},i[a])}else e[a]=i[a];return Xa.apply(void 0,[e].concat(r))}function Ga(e){return Array.isArray(e)?e:[e]}var Ya,Ja,Ka=function(){function e(t,r){T(this,e),this._zip=t,this.options=r,this.xmlParser=new ja}return O(e,[{key:"get",value:function(e){var t,r=function(e){return e.startsWith("/")?e.substr(1):e}(e);return null!==(t=this._zip.files[r])&&void 0!==t?t:this._zip.files[r.replace(/\//g,"\\")]}},{key:"update",value:function(e,t){this._zip.file(e,t)}},{key:"save",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"blob";return this._zip.generateAsync({type:e})}},{key:"load",value:function(e){var t,r,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"string";return null!==(t=null===(r=this.get(e))||void 0===r?void 0:r.async(n))&&void 0!==t?t:Promise.resolve(null)}},{key:"loadRelationships",value:(r=P(C().mark((function e(){var t,r,n,i,a,o,s,u,l,c=arguments;return C().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=c.length>0&&void 0!==c[0]?c[0]:null,r="_rels/.rels",null!=t&&(n=Ha(t),i=y(n,2),a=i[0],o=i[1],r="".concat(a,"_rels/").concat(o,".rels")),e.next=5,this.load(r);case 5:return s=e.sent,e.abrupt("return",s?(u=this.parseXmlDocument(s).firstElementChild,(l=this.xmlParser).elements(u).map((function(e){return{id:l.attr(e,"Id"),type:l.attr(e,"Type"),target:l.attr(e,"Target"),targetMode:l.attr(e,"TargetMode")}}))):null);case 7:case"end":return e.stop()}}),e,this)}))),function(){return r.apply(this,arguments)})},{key:"parseXmlDocument",value:function(e){return function(e){var t,r,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];n&&(e=e.replace(/<[?].*[?]>/,"")),e=65279===(r=e).charCodeAt(0)?r.substring(1):r;var i=(new DOMParser).parseFromString(e,"application/xml"),a=null===(t=i.getElementsByTagName("parsererror")[0])||void 0===t?void 0:t.textContent;if(a)throw new Error(a);return i}(e,this.options.trimXmlDeclaration)}}],[{key:"load",value:(t=P(C().mark((function t(r,n){var i;return C().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Aa.loadAsync(r);case 2:return i=t.sent,t.abrupt("return",new e(i,n));case 4:case"end":return t.stop()}}),t)}))),function(e,r){return t.apply(this,arguments)})}]);var t,r}(),$a=function(e){function t(e,r,n){var i;return T(this,t),(i=b(this,t,[e,r]))._documentParser=n,i}return k(t,e),O(t,[{key:"parseXml",value:function(e){this.body=this._documentParser.parseDocumentFile(e)}}])}(za);function Qa(e,t){return{type:t.attr(e,"val"),color:t.attr(e,"color"),size:t.lengthAttr(e,"sz",Ma),offset:t.lengthAttr(e,"space",Na),frame:t.boolAttr(e,"frame"),shadow:t.boolAttr(e,"shadow")}}function eo(e,t){var r,n={},i=S(t.elements(e));try{for(i.s();!(r=i.n()).done;){var a=r.value;switch(a.localName){case"left":n.left=Qa(a,t);break;case"top":n.top=Qa(a,t);break;case"right":n.right=Qa(a,t);break;case"bottom":n.bottom=Qa(a,t)}}}catch(e){i.e(e)}finally{i.f()}return n}function to(e){var t,r,n,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Da,a={},o=S(i.elements(e));try{for(o.s();!(n=o.n()).done;){var s=n.value;switch(s.localName){case"pgSz":a.pageSize={width:i.lengthAttr(s,"w"),height:i.lengthAttr(s,"h"),orientation:i.attr(s,"orient")};break;case"type":a.type=i.attr(s,"val");break;case"pgMar":a.pageMargins={left:i.lengthAttr(s,"left"),right:i.lengthAttr(s,"right"),top:i.lengthAttr(s,"top"),bottom:i.lengthAttr(s,"bottom"),header:i.lengthAttr(s,"header"),footer:i.lengthAttr(s,"footer"),gutter:i.lengthAttr(s,"gutter")};break;case"cols":a.columns=ro(s,i);break;case"headerReference":(null!==(t=a.headerRefs)&&void 0!==t?t:a.headerRefs=[]).push(io(s,i));break;case"footerReference":(null!==(r=a.footerRefs)&&void 0!==r?r:a.footerRefs=[]).push(io(s,i));break;case"titlePg":a.titlePage=i.boolAttr(s,"val",!0);break;case"pgBorders":a.pageBorders=eo(s,i);break;case"pgNumType":a.pageNumber=no(s,i)}}}catch(e){o.e(e)}finally{o.f()}return a}function ro(e,t){return{numberOfColumns:t.intAttr(e,"num"),space:t.lengthAttr(e,"space"),separator:t.boolAttr(e,"sep"),equalWidth:t.boolAttr(e,"equalWidth",!0),columns:t.elements(e,"col").map((function(e){return{width:t.lengthAttr(e,"w"),space:t.lengthAttr(e,"space")}}))}}function no(e,t){return{chapSep:t.attr(e,"chapSep"),chapStyle:t.attr(e,"chapStyle"),format:t.attr(e,"fmt"),start:t.intAttr(e,"start")}}function io(e,t){return{id:t.attr(e,"id"),type:t.attr(e,"type")}}function ao(e,t){var r,n={},i=S(t.elements(e));try{for(i.s();!(r=i.n()).done;){oo(r.value,n,t)}}catch(e){i.e(e)}finally{i.f()}return n}function oo(e,t,r){return!!Ia(e,t,r)}function so(e,t){var r,n={},i=S(t.elements(e));try{for(i.s();!(r=i.n()).done;){uo(r.value,n,t)}}catch(e){i.e(e)}finally{i.f()}return n}function uo(e,t,r){if(e.namespaceURI!=Pa)return!1;if(Ia(e,t,r))return!0;switch(e.localName){case"tabs":t.tabs=function(e,t){return t.elements(e,"tab").map((function(e){return{position:t.lengthAttr(e,"pos"),leader:t.attr(e,"leader"),style:t.attr(e,"val")}}))}(e,r);break;case"sectPr":t.sectionProps=to(e,r);break;case"numPr":t.numbering=function(e,t){var r,n={},i=S(t.elements(e));try{for(i.s();!(r=i.n()).done;){var a=r.value;switch(a.localName){case"numId":n.id=t.attr(a,"val");break;case"ilvl":n.level=t.intAttr(a,"val")}}}catch(e){i.e(e)}finally{i.f()}return n}(e,r);break;case"spacing":return t.lineSpacing=function(e,t){return{before:t.lengthAttr(e,"before"),after:t.lengthAttr(e,"after"),line:t.intAttr(e,"line"),lineRule:t.attr(e,"lineRule")}}(e,r),!1;case"textAlignment":return t.textAlignment=r.attr(e,"val"),!1;case"keepLines":t.keepLines=r.boolAttr(e,"val",!0);break;case"keepNext":t.keepNext=r.boolAttr(e,"val",!0);break;case"pageBreakBefore":t.pageBreakBefore=r.boolAttr(e,"val",!0);break;case"outlineLvl":t.outlineLevel=r.intAttr(e,"val");break;case"pStyle":t.styleName=r.attr(e,"val");break;case"rPr":t.runProps=ao(e,r);break;default:return!1}return!0}function lo(e,t){var r,n={id:t.attr(e,"numId"),overrides:[]},i=S(t.elements(e));try{for(i.s();!(r=i.n()).done;){var a=r.value;switch(a.localName){case"abstractNumId":n.abstractId=t.attr(a,"val");break;case"lvlOverride":n.overrides.push(fo(a,t))}}}catch(e){i.e(e)}finally{i.f()}return n}function co(e,t){var r,n={id:t.attr(e,"abstractNumId"),levels:[]},i=S(t.elements(e));try{for(i.s();!(r=i.n()).done;){var a=r.value;switch(a.localName){case"name":n.name=t.attr(a,"val");break;case"multiLevelType":n.multiLevelType=t.attr(a,"val");break;case"numStyleLink":n.numberingStyleLink=t.attr(a,"val");break;case"styleLink":n.styleLink=t.attr(a,"val");break;case"lvl":n.levels.push(ho(a,t))}}}catch(e){i.e(e)}finally{i.f()}return n}function ho(e,t){var r,n={level:t.intAttr(e,"ilvl")},i=S(t.elements(e));try{for(i.s();!(r=i.n()).done;){var a=r.value;switch(a.localName){case"start":n.start=t.attr(a,"val");break;case"lvlRestart":n.restart=t.intAttr(a,"val");break;case"numFmt":n.format=t.attr(a,"val");break;case"lvlText":n.text=t.attr(a,"val");break;case"lvlJc":n.justification=t.attr(a,"val");break;case"lvlPicBulletId":n.bulletPictureId=t.attr(a,"val");break;case"pStyle":n.paragraphStyle=t.attr(a,"val");break;case"pPr":n.paragraphProps=so(a,t);break;case"rPr":n.runProps=ao(a,t)}}}catch(e){i.e(e)}finally{i.f()}return n}function fo(e,t){var r,n={level:t.intAttr(e,"ilvl")},i=S(t.elements(e));try{for(i.s();!(r=i.n()).done;){var a=r.value;switch(a.localName){case"startOverride":n.start=t.intAttr(a,"val");break;case"lvl":n.numberingLevel=ho(a,t)}}}catch(e){i.e(e)}finally{i.f()}return n}function po(e,t){var r=t.element(e,"pict"),n=r&&t.element(r,"shape"),i=n&&t.element(n,"imagedata");return i?{id:t.attr(e,"numPicBulletId"),referenceId:t.attr(i,"id"),style:t.attr(n,"style")}:null}!function(e){e.Continuous="continuous",e.NextPage="nextPage",e.NextColumn="nextColumn",e.EvenPage="evenPage",e.OddPage="oddPage"}(Ya||(Ya={}));var mo=function(e){function t(e,r,n){var i;return T(this,t),(i=b(this,t,[e,r]))._documentParser=n,i}return k(t,e),O(t,[{key:"parseXml",value:function(e){Object.assign(this,function(e,t){var r,n={numberings:[],abstractNumberings:[],bulletPictures:[]},i=S(t.elements(e));try{for(i.s();!(r=i.n()).done;){var a=r.value;switch(a.localName){case"num":n.numberings.push(lo(a,t));break;case"abstractNum":n.abstractNumberings.push(co(a,t));break;case"numPicBullet":n.bulletPictures.push(po(a,t))}}}catch(e){i.e(e)}finally{i.f()}return n}(e,this._package.xmlParser)),this.domNumberings=this._documentParser.parseNumberingFile(e)}}])}(za),vo=function(e){function t(e,r,n){var i;return T(this,t),(i=b(this,t,[e,r]))._documentParser=n,i}return k(t,e),O(t,[{key:"parseXml",value:function(e){this.styles=this._documentParser.parseStylesFile(e)}}])}(za);!function(e){e.Document="document",e.Paragraph="paragraph",e.Run="run",e.Break="break",e.NoBreakHyphen="noBreakHyphen",e.Table="table",e.Row="row",e.Cell="cell",e.Hyperlink="hyperlink",e.SmartTag="smartTag",e.Drawing="drawing",e.Image="image",e.Text="text",e.Tab="tab",e.Symbol="symbol",e.BookmarkStart="bookmarkStart",e.BookmarkEnd="bookmarkEnd",e.Footer="footer",e.Header="header",e.FootnoteReference="footnoteReference",e.EndnoteReference="endnoteReference",e.Footnote="footnote",e.Endnote="endnote",e.SimpleField="simpleField",e.ComplexField="complexField",e.Instruction="instruction",e.VmlPicture="vmlPicture",e.MmlMath="mmlMath",e.MmlMathParagraph="mmlMathParagraph",e.MmlFraction="mmlFraction",e.MmlFunction="mmlFunction",e.MmlFunctionName="mmlFunctionName",e.MmlNumerator="mmlNumerator",e.MmlDenominator="mmlDenominator",e.MmlRadical="mmlRadical",e.MmlBase="mmlBase",e.MmlDegree="mmlDegree",e.MmlSuperscript="mmlSuperscript",e.MmlSubscript="mmlSubscript",e.MmlPreSubSuper="mmlPreSubSuper",e.MmlSubArgument="mmlSubArgument",e.MmlSuperArgument="mmlSuperArgument",e.MmlNary="mmlNary",e.MmlDelimiter="mmlDelimiter",e.MmlRun="mmlRun",e.MmlEquationArray="mmlEquationArray",e.MmlLimit="mmlLimit",e.MmlLimitLower="mmlLimitLower",e.MmlMatrix="mmlMatrix",e.MmlMatrixRow="mmlMatrixRow",e.MmlBox="mmlBox",e.MmlBar="mmlBar",e.MmlGroupChar="mmlGroupChar",e.VmlElement="vmlElement",e.Inserted="inserted",e.Deleted="deleted",e.DeletedText="deletedText",e.Comment="comment",e.CommentReference="commentReference",e.CommentRangeStart="commentRangeStart",e.CommentRangeEnd="commentRangeEnd"}(Ja||(Ja={}));var go=O((function e(){T(this,e),this.children=[],this.cssStyle={}})),yo=function(e){function t(){var e;return T(this,t),(e=b(this,t,arguments)).type=Ja.Header,e}return k(t,e),O(t)}(go),bo=function(e){function t(){var e;return T(this,t),(e=b(this,t,arguments)).type=Ja.Footer,e}return k(t,e),O(t)}(go),wo=function(e){function t(e,r,n){var i;return T(this,t),(i=b(this,t,[e,r]))._documentParser=n,i}return k(t,e),O(t,[{key:"parseXml",value:function(e){this.rootElement=this.createRootElement(),this.rootElement.children=this._documentParser.parseBodyElements(e)}}])}(za),ko=function(e){function t(){return T(this,t),b(this,t,arguments)}return k(t,e),O(t,[{key:"createRootElement",value:function(){return new yo}}])}(wo),_o=function(e){function t(){return T(this,t),b(this,t,arguments)}return k(t,e),O(t,[{key:"createRootElement",value:function(){return new bo}}])}(wo);function So(e){if(void 0!==e)return parseInt(e)}var xo=function(e){function t(){return T(this,t),b(this,t,arguments)}return k(t,e),O(t,[{key:"parseXml",value:function(e){this.props=function(e,t){var r,n={},i=S(t.elements(e));try{for(i.s();!(r=i.n()).done;){var a=r.value;switch(a.localName){case"Template":n.template=a.textContent;break;case"Pages":n.pages=So(a.textContent);break;case"Words":n.words=So(a.textContent);break;case"Characters":n.characters=So(a.textContent);break;case"Application":n.application=a.textContent;break;case"Lines":n.lines=So(a.textContent);break;case"Paragraphs":n.paragraphs=So(a.textContent);break;case"Company":n.company=a.textContent;break;case"AppVersion":n.appVersion=a.textContent}}}catch(e){i.e(e)}finally{i.f()}return n}(e,this._package.xmlParser)}}])}(za),Eo=function(e){function t(){return T(this,t),b(this,t,arguments)}return k(t,e),O(t,[{key:"parseXml",value:function(e){this.props=function(e,t){var r,n={},i=S(t.elements(e));try{for(i.s();!(r=i.n()).done;){var a=r.value;switch(a.localName){case"title":n.title=a.textContent;break;case"description":n.description=a.textContent;break;case"subject":n.subject=a.textContent;break;case"creator":n.creator=a.textContent;break;case"keywords":n.keywords=a.textContent;break;case"language":n.language=a.textContent;break;case"lastModifiedBy":n.lastModifiedBy=a.textContent;break;case"revision":a.textContent&&(n.revision=parseInt(a.textContent))}}}catch(e){i.e(e)}finally{i.f()}return n}(e,this._package.xmlParser)}}])}(za),Co=O((function e(){T(this,e)}));function Ao(e,t){var r,n={name:t.attr(e,"name"),colors:{}},i=S(t.elements(e));try{for(i.s();!(r=i.n()).done;){var a=r.value,o=t.element(a,"srgbClr"),s=t.element(a,"sysClr");o?n.colors[a.localName]=t.attr(o,"val"):s&&(n.colors[a.localName]=t.attr(s,"lastClr"))}}catch(e){i.e(e)}finally{i.f()}return n}function Po(e,t){var r,n={name:t.attr(e,"name")},i=S(t.elements(e));try{for(i.s();!(r=i.n()).done;){var a=r.value;switch(a.localName){case"majorFont":n.majorFont=To(a,t);break;case"minorFont":n.minorFont=To(a,t)}}}catch(e){i.e(e)}finally{i.f()}return n}function To(e,t){return{latinTypeface:t.elementAttr(e,"latin","typeface"),eaTypeface:t.elementAttr(e,"ea","typeface"),csTypeface:t.elementAttr(e,"cs","typeface")}}var Ro=function(e){function t(e,r){return T(this,t),b(this,t,[e,r])}return k(t,e),O(t,[{key:"parseXml",value:function(e){this.theme=function(e,t){var r,n=new Co,i=t.element(e,"themeElements"),a=S(t.elements(i));try{for(a.s();!(r=a.n()).done;){var o=r.value;switch(o.localName){case"clrScheme":n.colorScheme=Ao(o,t);break;case"fontScheme":n.fontScheme=Po(o,t)}}}catch(e){a.e(e)}finally{a.f()}return n}(e,this._package.xmlParser)}}])}(za),Oo=O((function e(){T(this,e)})),Mo=function(e){function t(){var e;return T(this,t),(e=b(this,t,arguments)).type=Ja.Footnote,e}return k(t,e),O(t)}(Oo),No=function(e){function t(){var e;return T(this,t),(e=b(this,t,arguments)).type=Ja.Endnote,e}return k(t,e),O(t)}(Oo),Bo=function(e){function t(e,r,n){var i;return T(this,t),(i=b(this,t,[e,r]))._documentParser=n,i}return k(t,e),O(t)}(za),Lo=function(e){function t(e,r,n){return T(this,t),b(this,t,[e,r,n])}return k(t,e),O(t,[{key:"parseXml",value:function(e){this.notes=this._documentParser.parseNotes(e,"footnote",Mo)}}])}(Bo),Io=function(e){function t(e,r,n){return T(this,t),b(this,t,[e,r,n])}return k(t,e),O(t,[{key:"parseXml",value:function(e){this.notes=this._documentParser.parseNotes(e,"endnote",No)}}])}(Bo);function jo(e,t){var r,n={defaultNoteIds:[]},i=S(t.elements(e));try{for(i.s();!(r=i.n()).done;){var a=r.value;switch(a.localName){case"numFmt":n.nummeringFormat=t.attr(a,"val");break;case"footnote":case"endnote":n.defaultNoteIds.push(t.attr(a,"id"))}}}catch(e){i.e(e)}finally{i.f()}return n}var Do=function(e){function t(e,r){return T(this,t),b(this,t,[e,r])}return k(t,e),O(t,[{key:"parseXml",value:function(e){this.settings=function(e,t){var r,n={},i=S(t.elements(e));try{for(i.s();!(r=i.n()).done;){var a=r.value;switch(a.localName){case"defaultTabStop":n.defaultTabStop=t.lengthAttr(a,"val");break;case"footnotePr":n.footnoteProps=jo(a,t);break;case"endnotePr":n.endnoteProps=jo(a,t);break;case"autoHyphenation":n.autoHyphenation=t.boolAttr(a,"val")}}}catch(e){i.e(e)}finally{i.f()}return n}(e,this._package.xmlParser)}}])}(za),zo=function(e){function t(){return T(this,t),b(this,t,arguments)}return k(t,e),O(t,[{key:"parseXml",value:function(e){this.props=function(e,t){return t.elements(e,"property").map((function(e){var r=e.firstChild;return{formatId:t.attr(e,"fmtid"),name:t.attr(e,"name"),type:r.nodeName,value:r.textContent}}))}(e,this._package.xmlParser)}}])}(za),Fo=function(e){function t(e,r,n){var i;return T(this,t),(i=b(this,t,[e,r]))._documentParser=n,i}return k(t,e),O(t,[{key:"parseXml",value:function(e){this.comments=this._documentParser.parseComments(e),this.commentMap=Va(this.comments,(function(e){return e.id}))}}])}(za),Uo=function(e){function t(e,r){var n;return T(this,t),(n=b(this,t,[e,r])).comments=[],n}return k(t,e),O(t,[{key:"parseXml",value:function(e){var t,r=this._package.xmlParser,n=S(r.elements(e,"commentEx"));try{for(n.s();!(t=n.n()).done;){var i=t.value;this.comments.push({paraId:r.attr(i,"paraId"),paraIdParent:r.attr(i,"paraIdParent"),done:r.boolAttr(i,"done")})}}catch(e){n.e(e)}finally{n.f()}this.commentMap=Va(this.comments,(function(e){return e.paraId}))}}])}(za),Wo=[{type:Ea.OfficeDocument,target:"word/document.xml"},{type:Ea.ExtendedProperties,target:"docProps/app.xml"},{type:Ea.CoreProperties,target:"docProps/core.xml"},{type:Ea.CustomProperties,target:"docProps/custom.xml"}],Ho=function(){function e(){T(this,e),this.parts=[],this.partsMap={}}return O(e,[{key:"save",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"blob";return this._package.save(e)}},{key:"loadRelationshipPart",value:(a=P(C().mark((function e(t,r){var n,i,a,o,s,u=this;return C().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!this.partsMap[t]){e.next=2;break}return e.abrupt("return",this.partsMap[t]);case 2:if(this._package.get(t)){e.next=4;break}return e.abrupt("return",null);case 4:i=null,e.t0=r,e.next=e.t0===Ea.OfficeDocument?8:e.t0===Ea.FontTable?10:e.t0===Ea.Numbering?12:e.t0===Ea.Styles?14:e.t0===Ea.Theme?16:e.t0===Ea.Footnotes?18:e.t0===Ea.Endnotes?20:e.t0===Ea.Footer?22:e.t0===Ea.Header?24:e.t0===Ea.CoreProperties?26:e.t0===Ea.ExtendedProperties?28:e.t0===Ea.CustomProperties?30:e.t0===Ea.Settings?32:e.t0===Ea.Comments?34:e.t0===Ea.CommentsExtended?36:37;break;case 8:return this.documentPart=i=new $a(this._package,t,this._parser),e.abrupt("break",37);case 10:return this.fontTablePart=i=new Wa(this._package,t),e.abrupt("break",37);case 12:return this.numberingPart=i=new mo(this._package,t,this._parser),e.abrupt("break",37);case 14:return this.stylesPart=i=new vo(this._package,t,this._parser),e.abrupt("break",37);case 16:return this.themePart=i=new Ro(this._package,t),e.abrupt("break",37);case 18:return this.footnotesPart=i=new Lo(this._package,t,this._parser),e.abrupt("break",37);case 20:return this.endnotesPart=i=new Io(this._package,t,this._parser),e.abrupt("break",37);case 22:return i=new _o(this._package,t,this._parser),e.abrupt("break",37);case 24:return i=new ko(this._package,t,this._parser),e.abrupt("break",37);case 26:return this.corePropsPart=i=new Eo(this._package,t),e.abrupt("break",37);case 28:return this.extendedPropsPart=i=new xo(this._package,t),e.abrupt("break",37);case 30:return i=new zo(this._package,t),e.abrupt("break",37);case 32:return this.settingsPart=i=new Do(this._package,t),e.abrupt("break",37);case 34:return this.commentsPart=i=new Fo(this._package,t,this._parser),e.abrupt("break",37);case 36:this.commentsExtendedPart=i=new Uo(this._package,t);case 37:if(null!=i){e.next=39;break}return e.abrupt("return",Promise.resolve(null));case 39:return this.partsMap[t]=i,this.parts.push(i),e.next=43,i.load();case 43:if(!((null===(n=i.rels)||void 0===n?void 0:n.length)>0)){e.next=47;break}return a=Ha(i.path),o=y(a,1),s=o[0],e.next=47,Promise.all(i.rels.map((function(e){return u.loadRelationshipPart(qa(e.target,s),e.type)})));case 47:return e.abrupt("return",i);case 48:case"end":return e.stop()}}),e,this)}))),function(e,t){return a.apply(this,arguments)})},{key:"loadDocumentImage",value:(i=P(C().mark((function e(t,r){var n;return C().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.loadResource(null!=r?r:this.documentPart,t,"blob");case 2:return n=e.sent,e.abrupt("return",this.blobToURL(n));case 4:case"end":return e.stop()}}),e,this)}))),function(e,t){return i.apply(this,arguments)})},{key:"loadNumberingImage",value:(n=P(C().mark((function e(t){var r;return C().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.loadResource(this.numberingPart,t,"blob");case 2:return r=e.sent,e.abrupt("return",this.blobToURL(r));case 4:case"end":return e.stop()}}),e,this)}))),function(e){return n.apply(this,arguments)})},{key:"loadFont",value:(r=P(C().mark((function e(t,r){var n;return C().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.loadResource(this.fontTablePart,t,"uint8array");case 2:return n=e.sent,e.abrupt("return",n?this.blobToURL(new Blob([qo(n,r)])):n);case 4:case"end":return e.stop()}}),e,this)}))),function(e,t){return r.apply(this,arguments)})},{key:"blobToURL",value:function(e){return e?this._options.useBase64URL?function(e){return new Promise((function(t,r){var n=new FileReader;n.onloadend=function(){return t(n.result)},n.onerror=function(){return r()},n.readAsDataURL(e)}))}(e):URL.createObjectURL(e):null}},{key:"findPartByRelId",value:function(e){var t,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=(null!==(t=r.rels)&&void 0!==t?t:this.rels).find((function(t){return t.id==e})),i=r?Ha(r.path)[0]:"";return n?this.partsMap[qa(n.target,i)]:null}},{key:"getPathById",value:function(e,t){var r=e.rels.find((function(e){return e.id==t})),n=y(Ha(e.path),1)[0];return r?qa(r.target,n):null}},{key:"loadResource",value:function(e,t,r){var n=this.getPathById(e,t);return n?this._package.load(n,r):Promise.resolve(null)}}],[{key:"load",value:(t=P(C().mark((function t(r,n,i){var a;return C().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return(a=new e)._options=i,a._parser=n,t.next=5,Ka.load(r,i);case 5:return a._package=t.sent,t.next=8,a._package.loadRelationships();case 8:return a.rels=t.sent,t.next=11,Promise.all(Wo.map((function(e){var t,r=null!==(t=a.rels.find((function(t){return t.type===e.type})))&&void 0!==t?t:e;return a.loadRelationshipPart(r.target,r.type)})));case 11:return t.abrupt("return",a);case 12:case"end":return t.stop()}}),t)}))),function(e,r,n){return t.apply(this,arguments)})}]);var t,r,n,i,a}();function qo(e,t){for(var r=t.replace(/{|}|-/g,""),n=new Array(16),i=0;i<16;i++)n[16-i-1]=parseInt(r.substr(2*i,2),16);for(var a=0;a<32;a++)e[a]=e[a]^n[a%16];return e}function Vo(e,t){return{type:Ja.BookmarkEnd,id:t.attr(e,"id")}}var Zo=function(e){function t(){var e;return T(this,t),(e=b(this,t,arguments)).type=Ja.VmlElement,e.attrs={},e}return k(t,e),O(t)}(go);function Xo(e,t){var r,n=new Zo;switch(e.localName){case"rect":n.tagName="rect",Object.assign(n.attrs,{width:"100%",height:"100%"});break;case"oval":n.tagName="ellipse",Object.assign(n.attrs,{cx:"50%",cy:"50%",rx:"50%",ry:"50%"});break;case"line":n.tagName="line";break;case"shape":n.tagName="g";break;case"textbox":n.tagName="foreignObject",Object.assign(n.attrs,{width:"100%",height:"100%"});break;default:return null}var i,a=S(Da.attrs(e));try{for(a.s();!(i=a.n()).done;){var o=i.value;switch(o.localName){case"style":n.cssStyleText=o.value;break;case"fillcolor":n.attrs.fill=o.value;break;case"from":var s=y(Yo(o.value),2),u=s[0],l=s[1];Object.assign(n.attrs,{x1:u,y1:l});break;case"to":var c=y(Yo(o.value),2),h=c[0],f=c[1];Object.assign(n.attrs,{x2:h,y2:f})}}}catch(e){a.e(e)}finally{a.f()}var d,p=S(Da.elements(e));try{for(p.s();!(d=p.n()).done;){var m=d.value;switch(m.localName){case"stroke":Object.assign(n.attrs,Go(m));break;case"fill":Object.assign(n.attrs,{});break;case"imagedata":n.tagName="image",Object.assign(n.attrs,{width:"100%",height:"100%"}),n.imageHref={id:Da.attr(m,"id"),title:Da.attr(m,"title")};break;case"txbxContent":(r=n.children).push.apply(r,g(t.parseBodyElements(m)));break;default:var v=Xo(m,t);v&&n.children.push(v)}}}catch(e){p.e(e)}finally{p.f()}return n}function Go(e){var t;return{stroke:Da.attr(e,"color"),"stroke-width":null!==(t=Da.lengthAttr(e,"weight",Ra))&&void 0!==t?t:"1px"}}function Yo(e){return e.split(",")}var Jo=function(e){function t(){var e;return T(this,t),(e=b(this,t,arguments)).type=Ja.Comment,e}return k(t,e),O(t)}(go),Ko=function(e){function t(e){var r;return T(this,t),(r=b(this,t)).id=e,r.type=Ja.CommentReference,r}return k(t,e),O(t)}(go),$o=function(e){function t(e){var r;return T(this,t),(r=b(this,t)).id=e,r.type=Ja.CommentRangeStart,r}return k(t,e),O(t)}(go),Qo=function(e){function t(e){var r;return T(this,t),(r=b(this,t)).id=e,r.type=Ja.CommentRangeEnd,r}return k(t,e),O(t)}(go),es="inherit",ts="transparent",rs=[],ns={oMath:Ja.MmlMath,oMathPara:Ja.MmlMathParagraph,f:Ja.MmlFraction,func:Ja.MmlFunction,fName:Ja.MmlFunctionName,num:Ja.MmlNumerator,den:Ja.MmlDenominator,rad:Ja.MmlRadical,deg:Ja.MmlDegree,e:Ja.MmlBase,sSup:Ja.MmlSuperscript,sSub:Ja.MmlSubscript,sPre:Ja.MmlPreSubSuper,sup:Ja.MmlSuperArgument,sub:Ja.MmlSubArgument,d:Ja.MmlDelimiter,nary:Ja.MmlNary,eqArr:Ja.MmlEquationArray,lim:Ja.MmlLimit,limLow:Ja.MmlLimitLower,m:Ja.MmlMatrix,mr:Ja.MmlMatrixRow,box:Ja.MmlBox,bar:Ja.MmlBar,groupChr:Ja.MmlGroupChar},is=function(){return O((function e(t){T(this,e),this.options=m({ignoreWidth:!1,debug:!1},t)}),[{key:"parseNotes",value:function(e,t,r){var n,i=[],a=S(Da.elements(e,t));try{for(a.s();!(n=a.n()).done;){var o=n.value,s=new r;s.id=Da.attr(o,"id"),s.noteType=Da.attr(o,"type"),s.children=this.parseBodyElements(o),i.push(s)}}catch(e){a.e(e)}finally{a.f()}return i}},{key:"parseComments",value:function(e){var t,r=[],n=S(Da.elements(e,"comment"));try{for(n.s();!(t=n.n()).done;){var i=t.value,a=new Jo;a.id=Da.attr(i,"id"),a.author=Da.attr(i,"author"),a.initials=Da.attr(i,"initials"),a.date=Da.attr(i,"date"),a.children=this.parseBodyElements(i),r.push(a)}}catch(e){n.e(e)}finally{n.f()}return r}},{key:"parseDocumentFile",value:function(e){var t=Da.element(e,"body"),r=Da.element(e,"background"),n=Da.element(t,"sectPr");return{type:Ja.Document,children:this.parseBodyElements(t),props:n?to(n,Da):{},cssStyle:r?this.parseBackground(r):{}}}},{key:"parseBackground",value:function(e){var t={},r=os.colorAttr(e,"color");return r&&(t["background-color"]=r),t}},{key:"parseBodyElements",value:function(e){var t,r=this,n=[],i=S(Da.elements(e));try{for(i.s();!(t=i.n()).done;){var a=t.value;switch(a.localName){case"p":n.push(this.parseParagraph(a));break;case"tbl":n.push(this.parseTable(a));break;case"sdt":n.push.apply(n,g(this.parseSdt(a,(function(e){return r.parseBodyElements(e)}))))}}}catch(e){i.e(e)}finally{i.f()}return n}},{key:"parseStylesFile",value:function(e){var t=this,r=[];return os.foreach(e,(function(e){switch(e.localName){case"style":r.push(t.parseStyle(e));break;case"docDefaults":r.push(t.parseDefaultStyles(e))}})),r}},{key:"parseDefaultStyles",value:function(e){var t=this,r={id:null,name:null,target:null,basedOn:null,styles:[]};return os.foreach(e,(function(e){switch(e.localName){case"rPrDefault":var n=Da.element(e,"rPr");n&&r.styles.push({target:"span",values:t.parseDefaultProperties(n,{})});break;case"pPrDefault":var i=Da.element(e,"pPr");i&&r.styles.push({target:"p",values:t.parseDefaultProperties(i,{})})}})),r}},{key:"parseStyle",value:function(e){var t=this,r={id:Da.attr(e,"styleId"),isDefault:Da.boolAttr(e,"default"),name:null,target:null,basedOn:null,styles:[],linked:null};switch(Da.attr(e,"type")){case"paragraph":r.target="p";break;case"table":r.target="table";break;case"character":r.target="span"}return os.foreach(e,(function(e){switch(e.localName){case"basedOn":r.basedOn=Da.attr(e,"val");break;case"name":r.name=Da.attr(e,"val");break;case"link":r.linked=Da.attr(e,"val");break;case"next":r.next=Da.attr(e,"val");break;case"aliases":r.aliases=Da.attr(e,"val").split(",");break;case"pPr":r.styles.push({target:"p",values:t.parseDefaultProperties(e,{})}),r.paragraphProps=so(e,Da);break;case"rPr":r.styles.push({target:"span",values:t.parseDefaultProperties(e,{})}),r.runProps=ao(e,Da);break;case"tblPr":case"tcPr":r.styles.push({target:"td",values:t.parseDefaultProperties(e,{})});break;case"tblStylePr":var n,i=S(t.parseTableStyle(e));try{for(i.s();!(n=i.n()).done;){var a=n.value;r.styles.push(a)}}catch(e){i.e(e)}finally{i.f()}break;case"rsid":case"qFormat":case"hidden":case"semiHidden":case"unhideWhenUsed":case"autoRedefine":case"uiPriority":break;default:t.options.debug&&console.warn("DOCX: Unknown style element: ".concat(e.localName))}})),r}},{key:"parseTableStyle",value:function(e){var t=this,r=[],n=Da.attr(e,"type"),i="",a="";switch(n){case"firstRow":a=".first-row",i="tr.first-row td";break;case"lastRow":a=".last-row",i="tr.last-row td";break;case"firstCol":a=".first-col",i="td.first-col";break;case"lastCol":a=".last-col",i="td.last-col";break;case"band1Vert":a=":not(.no-vband)",i="td.odd-col";break;case"band2Vert":a=":not(.no-vband)",i="td.even-col";break;case"band1Horz":a=":not(.no-hband)",i="tr.odd-row";break;case"band2Horz":a=":not(.no-hband)",i="tr.even-row";break;default:return[]}return os.foreach(e,(function(e){switch(e.localName){case"pPr":r.push({target:"".concat(i," p"),mod:a,values:t.parseDefaultProperties(e,{})});break;case"rPr":r.push({target:"".concat(i," span"),mod:a,values:t.parseDefaultProperties(e,{})});break;case"tblPr":case"tcPr":r.push({target:i,mod:a,values:t.parseDefaultProperties(e,{})})}})),r}},{key:"parseNumberingFile",value:function(e){var t=this,r=[],n={},i=[];return os.foreach(e,(function(e){switch(e.localName){case"abstractNum":t.parseAbstractNumbering(e,i).forEach((function(e){return r.push(e)}));break;case"numPicBullet":i.push(t.parseNumberingPicBullet(e));break;case"num":var a=Da.attr(e,"numId"),o=Da.elementAttr(e,"abstractNumId","val");n[o]=a}})),r.forEach((function(e){return e.id=n[e.id]})),r}},{key:"parseNumberingPicBullet",value:function(e){var t=Da.element(e,"pict"),r=t&&Da.element(t,"shape"),n=r&&Da.element(r,"imagedata");return n?{id:Da.intAttr(e,"numPicBulletId"),src:Da.attr(n,"id"),style:Da.attr(r,"style")}:null}},{key:"parseAbstractNumbering",value:function(e,t){var r=this,n=[],i=Da.attr(e,"abstractNumId");return os.foreach(e,(function(e){"lvl"===e.localName&&n.push(r.parseNumberingLevel(i,e,t))})),n}},{key:"parseNumberingLevel",value:function(e,t,r){var n=this,i={id:e,level:Da.intAttr(t,"ilvl"),start:1,pStyleName:void 0,pStyle:{},rStyle:{},suff:"tab"};return os.foreach(t,(function(e){switch(e.localName){case"start":i.start=Da.intAttr(e,"val");break;case"pPr":n.parseDefaultProperties(e,i.pStyle);break;case"rPr":n.parseDefaultProperties(e,i.rStyle);break;case"lvlPicBulletId":var t=Da.intAttr(e,"val");i.bullet=r.find((function(e){return(null==e?void 0:e.id)==t}));break;case"lvlText":i.levelText=Da.attr(e,"val");break;case"pStyle":i.pStyleName=Da.attr(e,"val");break;case"numFmt":i.format=Da.attr(e,"val");break;case"suff":i.suff=Da.attr(e,"val")}})),i}},{key:"parseSdt",value:function(e,t){var r=Da.element(e,"sdtContent");return r?t(r):[]}},{key:"parseInserted",value:function(e,t){var r,n;return{type:Ja.Inserted,children:null!==(r=null===(n=t(e))||void 0===n?void 0:n.children)&&void 0!==r?r:[]}}},{key:"parseDeleted",value:function(e,t){var r,n;return{type:Ja.Deleted,children:null!==(r=null===(n=t(e))||void 0===n?void 0:n.children)&&void 0!==r?r:[]}}},{key:"parseParagraph",value:function(e){var t,r,n,i,a=this,o={type:Ja.Paragraph,children:[]},s=S(Da.elements(e));try{for(s.s();!(i=s.n()).done;){var u=i.value;switch(u.localName){case"pPr":this.parseParagraphProperties(u,o);break;case"r":o.children.push(this.parseRun(u,o));break;case"hyperlink":o.children.push(this.parseHyperlink(u,o));break;case"smartTag":o.children.push(this.parseSmartTag(u,o));break;case"bookmarkStart":o.children.push((r=u,n=Da,{type:Ja.BookmarkStart,id:n.attr(r,"id"),name:n.attr(r,"name"),colFirst:n.intAttr(r,"colFirst"),colLast:n.intAttr(r,"colLast")}));break;case"bookmarkEnd":o.children.push(Vo(u,Da));break;case"commentRangeStart":o.children.push(new $o(Da.attr(u,"id")));break;case"commentRangeEnd":o.children.push(new Qo(Da.attr(u,"id")));break;case"oMath":case"oMathPara":o.children.push(this.parseMathElement(u));break;case"sdt":(t=o.children).push.apply(t,g(this.parseSdt(u,(function(e){return a.parseParagraph(e).children}))));break;case"ins":o.children.push(this.parseInserted(u,(function(e){return a.parseParagraph(e)})));break;case"del":o.children.push(this.parseDeleted(u,(function(e){return a.parseParagraph(e)})))}}}catch(e){s.e(e)}finally{s.f()}return o}},{key:"parseParagraphProperties",value:function(e,t){var r=this;this.parseDefaultProperties(e,t.cssStyle={},null,(function(e){if(uo(e,t,Da))return!0;switch(e.localName){case"pStyle":t.styleName=Da.attr(e,"val");break;case"cnfStyle":t.className=ss.classNameOfCnfStyle(e);break;case"framePr":r.parseFrame(e,t);break;case"rPr":break;default:return!1}return!0}))}},{key:"parseFrame",value:function(e,t){"drop"==Da.attr(e,"dropCap")&&(t.cssStyle.float="left")}},{key:"parseHyperlink",value:function(e,t){var r=this,n={type:Ja.Hyperlink,parent:t,children:[]},i=Da.attr(e,"anchor"),a=Da.attr(e,"id");return i&&(n.href="#"+i),a&&(n.id=a),os.foreach(e,(function(e){"r"===e.localName&&n.children.push(r.parseRun(e,n))})),n}},{key:"parseSmartTag",value:function(e,t){var r=this,n={type:Ja.SmartTag,parent:t,children:[]},i=Da.attr(e,"uri"),a=Da.attr(e,"element");return i&&(n.uri=i),a&&(n.element=a),os.foreach(e,(function(e){"r"===e.localName&&n.children.push(r.parseRun(e,n))})),n}},{key:"parseRun",value:function(e,t){var r=this,n={type:Ja.Run,parent:t,children:[]};return os.foreach(e,(function(e){switch((e=r.checkAlternateContent(e)).localName){case"t":n.children.push({type:Ja.Text,text:e.textContent});break;case"delText":n.children.push({type:Ja.DeletedText,text:e.textContent});break;case"commentReference":n.children.push(new Ko(Da.attr(e,"id")));break;case"fldSimple":n.children.push({type:Ja.SimpleField,instruction:Da.attr(e,"instr"),lock:Da.boolAttr(e,"lock",!1),dirty:Da.boolAttr(e,"dirty",!1)});break;case"instrText":n.fieldRun=!0,n.children.push({type:Ja.Instruction,text:e.textContent});break;case"fldChar":n.fieldRun=!0,n.children.push({type:Ja.ComplexField,charType:Da.attr(e,"fldCharType"),lock:Da.boolAttr(e,"lock",!1),dirty:Da.boolAttr(e,"dirty",!1)});break;case"noBreakHyphen":n.children.push({type:Ja.NoBreakHyphen});break;case"br":n.children.push({type:Ja.Break,break:Da.attr(e,"type")||"textWrapping"});break;case"lastRenderedPageBreak":n.children.push({type:Ja.Break,break:"lastRenderedPageBreak"});break;case"sym":n.children.push({type:Ja.Symbol,font:Da.attr(e,"font"),char:Da.attr(e,"char")});break;case"tab":n.children.push({type:Ja.Tab});break;case"footnoteReference":n.children.push({type:Ja.FootnoteReference,id:Da.attr(e,"id")});break;case"endnoteReference":n.children.push({type:Ja.EndnoteReference,id:Da.attr(e,"id")});break;case"drawing":var t=r.parseDrawing(e);t&&(n.children=[t]);break;case"pict":n.children.push(r.parseVmlPicture(e));break;case"rPr":r.parseRunProperties(e,n)}})),n}},{key:"parseMathElement",value:function(e){var t,r="".concat(e.localName,"Pr"),n={type:ns[e.localName],children:[]},i=S(Da.elements(e));try{for(i.s();!(t=i.n()).done;){var a=t.value;if(ns[a.localName])n.children.push(this.parseMathElement(a));else if("r"==a.localName){var o=this.parseRun(a);o.type=Ja.MmlRun,n.children.push(o)}else a.localName==r&&(n.props=this.parseMathProperies(a))}}catch(e){i.e(e)}finally{i.f()}return n}},{key:"parseMathProperies",value:function(e){var t,r={},n=S(Da.elements(e));try{for(n.s();!(t=n.n()).done;){var i=t.value;switch(i.localName){case"chr":r.char=Da.attr(i,"val");break;case"vertJc":r.verticalJustification=Da.attr(i,"val");break;case"pos":r.position=Da.attr(i,"val");break;case"degHide":r.hideDegree=Da.boolAttr(i,"val");break;case"begChr":r.beginChar=Da.attr(i,"val");break;case"endChr":r.endChar=Da.attr(i,"val")}}}catch(e){n.e(e)}finally{n.f()}return r}},{key:"parseRunProperties",value:function(e,t){this.parseDefaultProperties(e,t.cssStyle={},null,(function(e){switch(e.localName){case"rStyle":t.styleName=Da.attr(e,"val");break;case"vertAlign":t.verticalAlign=ss.valueOfVertAlign(e,!0);break;default:return!1}return!0}))}},{key:"parseVmlPicture",value:function(e){var t,r={type:Ja.VmlPicture,children:[]},n=S(Da.elements(e));try{for(n.s();!(t=n.n()).done;){var i=Xo(t.value,this);i&&r.children.push(i)}}catch(e){n.e(e)}finally{n.f()}return r}},{key:"checkAlternateContent",value:function(e){var t;if("AlternateContent"!=e.localName)return e;var r=Da.element(e,"Choice");if(r){var n=Da.attr(r,"Requires"),i=e.lookupNamespaceURI(n);if(rs.includes(i))return r.firstElementChild}return null===(t=Da.element(e,"Fallback"))||void 0===t?void 0:t.firstElementChild}},{key:"parseDrawing",value:function(e){var t,r=S(Da.elements(e));try{for(r.s();!(t=r.n()).done;){var n=t.value;switch(n.localName){case"inline":case"anchor":return this.parseDrawingWrapper(n)}}}catch(e){r.e(e)}finally{r.f()}}},{key:"parseDrawingWrapper",value:function(e){var t={type:Ja.Drawing,children:[],cssStyle:{}},r="anchor"==e.localName,n=null,i=Da.boolAttr(e,"simplePos");Da.boolAttr(e,"behindDoc");var a,o={relative:"page",align:"left",offset:"0"},s={relative:"page",align:"top",offset:"0"},u=S(Da.elements(e));try{for(u.s();!(a=u.n()).done;){var l=a.value;switch(l.localName){case"simplePos":i&&(o.offset=Da.lengthAttr(l,"x",Ra),s.offset=Da.lengthAttr(l,"y",Ra));break;case"extent":t.cssStyle.width=Da.lengthAttr(l,"cx",Ra),t.cssStyle.height=Da.lengthAttr(l,"cy",Ra);break;case"positionH":case"positionV":if(!i){var c,h="positionH"==l.localName?o:s,f=Da.element(l,"align"),d=Da.element(l,"posOffset");h.relative=null!==(c=Da.attr(l,"relativeFrom"))&&void 0!==c?c:h.relative,f&&(h.align=f.textContent),d&&(h.offset=os.sizeValue(d,Ra))}break;case"wrapTopAndBottom":n="wrapTopAndBottom";break;case"wrapNone":n="wrapNone";break;case"graphic":var p=this.parseGraphic(l);p&&t.children.push(p)}}}catch(e){u.e(e)}finally{u.f()}return"wrapTopAndBottom"==n?(t.cssStyle.display="block",o.align&&(t.cssStyle["text-align"]=o.align,t.cssStyle.width="100%")):"wrapNone"==n?(t.cssStyle.display="block",t.cssStyle.position="relative",t.cssStyle.width="0px",t.cssStyle.height="0px",o.offset&&(t.cssStyle.left=o.offset),s.offset&&(t.cssStyle.top=s.offset)):!r||"left"!=o.align&&"right"!=o.align||(t.cssStyle.float=o.align),t}},{key:"parseGraphic",value:function(e){var t,r=Da.element(e,"graphicData"),n=S(Da.elements(r));try{for(n.s();!(t=n.n()).done;){var i=t.value;if("pic"===i.localName)return this.parsePicture(i)}}catch(e){n.e(e)}finally{n.f()}return null}},{key:"parsePicture",value:function(e){var t={type:Ja.Image,src:"",cssStyle:{}},r=Da.element(e,"blipFill"),n=Da.element(r,"blip");t.src=Da.attr(n,"embed");var i,a=Da.element(e,"spPr"),o=Da.element(a,"xfrm"),s=S((t.cssStyle.position="relative",Da.elements(o)));try{for(s.s();!(i=s.n()).done;){var u=i.value;switch(u.localName){case"ext":t.cssStyle.width=Da.lengthAttr(u,"cx",Ra),t.cssStyle.height=Da.lengthAttr(u,"cy",Ra);break;case"off":t.cssStyle.left=Da.lengthAttr(u,"x",Ra),t.cssStyle.top=Da.lengthAttr(u,"y",Ra)}}}catch(e){s.e(e)}finally{s.f()}return t}},{key:"parseTable",value:function(e){var t=this,r={type:Ja.Table,children:[]};return os.foreach(e,(function(e){switch(e.localName){case"tr":r.children.push(t.parseTableRow(e));break;case"tblGrid":r.columns=t.parseTableColumns(e);break;case"tblPr":t.parseTableProperties(e,r)}})),r}},{key:"parseTableColumns",value:function(e){var t=[];return os.foreach(e,(function(e){"gridCol"===e.localName&&t.push({width:Da.lengthAttr(e,"w")})})),t}},{key:"parseTableProperties",value:function(e,t){var r=this;switch(t.cssStyle={},t.cellStyle={},this.parseDefaultProperties(e,t.cssStyle,t.cellStyle,(function(e){switch(e.localName){case"tblStyle":t.styleName=Da.attr(e,"val");break;case"tblLook":t.className=ss.classNameOftblLook(e);break;case"tblpPr":r.parseTablePosition(e,t);break;case"tblStyleColBandSize":t.colBandSize=Da.intAttr(e,"val");break;case"tblStyleRowBandSize":t.rowBandSize=Da.intAttr(e,"val");break;default:return!1}return!0})),t.cssStyle["text-align"]){case"center":delete t.cssStyle["text-align"],t.cssStyle["margin-left"]="auto",t.cssStyle["margin-right"]="auto";break;case"right":delete t.cssStyle["text-align"],t.cssStyle["margin-left"]="auto"}}},{key:"parseTablePosition",value:function(e,t){var r=Da.lengthAttr(e,"topFromText"),n=Da.lengthAttr(e,"bottomFromText"),i=Da.lengthAttr(e,"rightFromText"),a=Da.lengthAttr(e,"leftFromText");t.cssStyle.float="left",t.cssStyle["margin-bottom"]=ss.addSize(t.cssStyle["margin-bottom"],n),t.cssStyle["margin-left"]=ss.addSize(t.cssStyle["margin-left"],a),t.cssStyle["margin-right"]=ss.addSize(t.cssStyle["margin-right"],i),t.cssStyle["margin-top"]=ss.addSize(t.cssStyle["margin-top"],r)}},{key:"parseTableRow",value:function(e){var t=this,r={type:Ja.Row,children:[]};return os.foreach(e,(function(e){switch(e.localName){case"tc":r.children.push(t.parseTableCell(e));break;case"trPr":t.parseTableRowProperties(e,r)}})),r}},{key:"parseTableRowProperties",value:function(e,t){t.cssStyle=this.parseDefaultProperties(e,{},null,(function(e){switch(e.localName){case"cnfStyle":t.className=ss.classNameOfCnfStyle(e);break;case"tblHeader":t.isHeader=Da.boolAttr(e,"val");break;default:return!1}return!0}))}},{key:"parseTableCell",value:function(e){var t=this,r={type:Ja.Cell,children:[]};return os.foreach(e,(function(e){switch(e.localName){case"tbl":r.children.push(t.parseTable(e));break;case"p":r.children.push(t.parseParagraph(e));break;case"tcPr":t.parseTableCellProperties(e,r)}})),r}},{key:"parseTableCellProperties",value:function(e,t){t.cssStyle=this.parseDefaultProperties(e,{},null,(function(e){var r;switch(e.localName){case"gridSpan":t.span=Da.intAttr(e,"val",null);break;case"vMerge":t.verticalMerge=null!==(r=Da.attr(e,"val"))&&void 0!==r?r:"continue";break;case"cnfStyle":t.className=ss.classNameOfCnfStyle(e);break;default:return!1}return!0}))}},{key:"parseDefaultProperties",value:function(e){var t=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;return r=r||{},os.foreach(e,(function(a){if(null==i||!i(a))switch(a.localName){case"jc":r["text-align"]=ss.valueOfJc(a);break;case"textAlignment":r["vertical-align"]=ss.valueOfTextAlignment(a);break;case"color":r.color=os.colorAttr(a,"val",null,"black");break;case"sz":r["font-size"]=r["min-height"]=Da.lengthAttr(a,"val",Oa);break;case"shd":r["background-color"]=os.colorAttr(a,"fill",null,es);break;case"highlight":r["background-color"]=os.colorAttr(a,"val",null,ts);break;case"vertAlign":break;case"position":r.verticalAlign=Da.lengthAttr(a,"val",Oa);break;case"tcW":if(t.options.ignoreWidth)break;case"tblW":r.width=ss.valueOfSize(a,"w");break;case"trHeight":t.parseTrHeight(a,r);break;case"strike":r["text-decoration"]=Da.boolAttr(a,"val",!0)?"line-through":"none";break;case"b":r["font-weight"]=Da.boolAttr(a,"val",!0)?"bold":"normal";break;case"i":r["font-style"]=Da.boolAttr(a,"val",!0)?"italic":"normal";break;case"caps":r["text-transform"]=Da.boolAttr(a,"val",!0)?"uppercase":"none";break;case"smallCaps":r["font-variant"]=Da.boolAttr(a,"val",!0)?"small-caps":"none";break;case"u":t.parseUnderline(a,r);break;case"ind":case"tblInd":t.parseIndentation(a,r);break;case"rFonts":t.parseFont(a,r);break;case"tblBorders":t.parseBorderProperties(a,n||r);break;case"tblCellSpacing":r["border-spacing"]=ss.valueOfMargin(a),r["border-collapse"]="separate";break;case"pBdr":t.parseBorderProperties(a,r);break;case"bdr":r.border=ss.valueOfBorder(a);break;case"tcBorders":t.parseBorderProperties(a,r);break;case"vanish":Da.boolAttr(a,"val",!0)&&(r.display="none");break;case"kern":case"noWrap":break;case"tblCellMar":case"tcMar":t.parseMarginProperties(a,n||r);break;case"tblLayout":r["table-layout"]=ss.valueOfTblLayout(a);break;case"vAlign":r["vertical-align"]=ss.valueOfTextAlignment(a);break;case"spacing":"pPr"==e.localName&&t.parseSpacing(a,r);break;case"wordWrap":Da.boolAttr(a,"val")&&(r["overflow-wrap"]="break-word");break;case"suppressAutoHyphens":r.hyphens=Da.boolAttr(a,"val",!0)?"none":"auto";break;case"lang":r.$lang=Da.attr(a,"val");break;case"bCs":case"iCs":case"szCs":case"tabs":case"outlineLvl":case"contextualSpacing":case"tblStyleColBandSize":case"tblStyleRowBandSize":case"webHidden":case"pageBreakBefore":case"suppressLineNumbers":case"keepLines":case"keepNext":case"widowControl":case"bidi":case"rtl":case"noProof":break;default:t.options.debug&&console.warn("DOCX: Unknown document element: ".concat(e.localName,".").concat(a.localName))}})),r}},{key:"parseUnderline",value:function(e,t){var r=Da.attr(e,"val");if(null!=r){switch(r){case"dash":case"dashDotDotHeavy":case"dashDotHeavy":case"dashedHeavy":case"dashLong":case"dashLongHeavy":case"dotDash":case"dotDotDash":t["text-decoration"]="underline dashed";break;case"dotted":case"dottedHeavy":t["text-decoration"]="underline dotted";break;case"double":t["text-decoration"]="underline double";break;case"single":case"thick":case"words":t["text-decoration"]="underline";break;case"wave":case"wavyDouble":case"wavyHeavy":t["text-decoration"]="underline wavy";break;case"none":t["text-decoration"]="none"}var n=os.colorAttr(e,"color");n&&(t["text-decoration-color"]=n)}}},{key:"parseFont",value:function(e,t){var r=[Da.attr(e,"ascii"),ss.themeValue(e,"asciiTheme")].filter((function(e){return e})).join(", ");r.length>0&&(t["font-family"]=r)}},{key:"parseIndentation",value:function(e,t){var r=Da.lengthAttr(e,"firstLine"),n=Da.lengthAttr(e,"hanging"),i=Da.lengthAttr(e,"left"),a=Da.lengthAttr(e,"start"),o=Da.lengthAttr(e,"right"),s=Da.lengthAttr(e,"end");r&&(t["text-indent"]=r),n&&(t["text-indent"]="-".concat(n)),(i||a)&&(t["margin-left"]=i||a),(o||s)&&(t["margin-right"]=o||s)}},{key:"parseSpacing",value:function(e,t){var r=Da.lengthAttr(e,"before"),n=Da.lengthAttr(e,"after"),i=Da.intAttr(e,"line",null),a=Da.attr(e,"lineRule");if(r&&(t["margin-top"]=r),n&&(t["margin-bottom"]=n),null!==i)switch(a){case"auto":t["line-height"]="".concat((i/240).toFixed(2));break;case"atLeast":t["line-height"]="calc(100% + ".concat(i/20,"pt)");break;default:t["line-height"]=t["min-height"]=i/20+"pt"}}},{key:"parseMarginProperties",value:function(e,t){os.foreach(e,(function(e){switch(e.localName){case"left":t["padding-left"]=ss.valueOfMargin(e);break;case"right":t["padding-right"]=ss.valueOfMargin(e);break;case"top":t["padding-top"]=ss.valueOfMargin(e);break;case"bottom":t["padding-bottom"]=ss.valueOfMargin(e)}}))}},{key:"parseTrHeight",value:function(e,t){Da.attr(e,"hRule"),t.height=Da.lengthAttr(e,"val")}},{key:"parseBorderProperties",value:function(e,t){os.foreach(e,(function(e){switch(e.localName){case"start":case"left":t["border-left"]=ss.valueOfBorder(e);break;case"end":case"right":t["border-right"]=ss.valueOfBorder(e);break;case"top":t["border-top"]=ss.valueOfBorder(e);break;case"bottom":t["border-bottom"]=ss.valueOfBorder(e)}}))}}])}(),as=["black","blue","cyan","darkBlue","darkCyan","darkGray","darkGreen","darkMagenta","darkRed","darkYellow","green","lightGray","magenta","none","red","white","yellow"],os=function(){return O((function e(){T(this,e)}),null,[{key:"foreach",value:function(e,t){for(var r=0;r<e.childNodes.length;r++){var n=e.childNodes[r];n.nodeType==Node.ELEMENT_NODE&&t(n)}}},{key:"colorAttr",value:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"black",i=Da.attr(e,t);if(i)return"auto"==i?n:as.includes(i)?i:"#".concat(i);var a=Da.attr(e,"themeColor");return a?"var(--docx-".concat(a,"-color)"):r}},{key:"sizeValue",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Ta;return La(e.textContent,t)}}])}(),ss=function(){return O((function e(){T(this,e)}),null,[{key:"themeValue",value:function(e,t){var r=Da.attr(e,t);return r?"var(--docx-".concat(r,"-font)"):null}},{key:"valueOfSize",value:function(e,t){var r=Ta;switch(Da.attr(e,"type")){case"dxa":break;case"pct":r=Ba;break;case"auto":return"auto"}return Da.lengthAttr(e,t,r)}},{key:"valueOfMargin",value:function(e){return Da.lengthAttr(e,"w")}},{key:"valueOfBorder",value:function(e){if("nil"==Da.attr(e,"val"))return"none";var t=os.colorAttr(e,"color");return"".concat(Da.lengthAttr(e,"sz",Ma)," solid ").concat("auto"==t?"black":t)}},{key:"valueOfTblLayout",value:function(e){return"fixed"==Da.attr(e,"val")?"fixed":"auto"}},{key:"classNameOfCnfStyle",value:function(e){var t=Da.attr(e,"val");return["first-row","last-row","first-col","last-col","odd-col","even-col","odd-row","even-row","ne-cell","nw-cell","se-cell","sw-cell"].filter((function(e,r){return"1"==t[r]})).join(" ")}},{key:"valueOfJc",value:function(e){var t=Da.attr(e,"val");switch(t){case"start":case"left":return"left";case"center":return"center";case"end":case"right":return"right";case"both":return"justify"}return t}},{key:"valueOfVertAlign",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=Da.attr(e,"val");switch(r){case"subscript":return"sub";case"superscript":return t?"sup":"super"}return t?null:r}},{key:"valueOfTextAlignment",value:function(e){var t=Da.attr(e,"val");switch(t){case"auto":case"baseline":return"baseline";case"top":return"top";case"center":return"middle";case"bottom":return"bottom"}return t}},{key:"addSize",value:function(e,t){return null==e?t:null==t?e:"calc(".concat(e," + ").concat(t,")")}},{key:"classNameOftblLook",value:function(e){var t=Da.hexAttr(e,"val",0),r="";return(Da.boolAttr(e,"firstRow")||32&t)&&(r+=" first-row"),(Da.boolAttr(e,"lastRow")||64&t)&&(r+=" last-row"),(Da.boolAttr(e,"firstColumn")||128&t)&&(r+=" first-col"),(Da.boolAttr(e,"lastColumn")||256&t)&&(r+=" last-col"),(Da.boolAttr(e,"noHBand")||512&t)&&(r+=" no-hband"),(Da.boolAttr(e,"noVBand")||1024&t)&&(r+=" no-vband"),r.trim()}}])}(),us={pos:0,leader:"none",style:"left"};function ls(e,t,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:.75,i=e.closest("p"),a=e.getBoundingClientRect(),o=i.getBoundingClientRect(),s=getComputedStyle(i),u=(null==t?void 0:t.length)>0?t.map((function(e){return{pos:cs(e.position),leader:e.leader,style:e.style}})).sort((function(e,t){return e.pos-t.pos})):[us],l=u[u.length-1],c=o.width*n,h=cs(r),f=l.pos+h;if(f<c)for(;f<c&&u.length<50;f+=h)u.push(m(m({},us),{},{pos:f}));var d=parseFloat(s.marginLeft),p=o.left+d,v=(a.left-p)*n,g=u.find((function(e){return"clear"!=e.style&&e.pos>v}));if(null!=g){var y=1;if("right"==g.style||"center"==g.style){var b=Array.from(i.querySelectorAll(".".concat(e.className))),w=b.indexOf(e)+1,k=document.createRange();k.setStart(e,1),w<b.length?k.setEndBefore(b[w]):k.setEndAfter(i);var _="center"==g.style?.5:1,S=k.getBoundingClientRect(),x=S.left+_*S.width-(o.left-d);y=g.pos-x*n}else y=g.pos-v;switch(e.innerHTML="&nbsp;",e.style.textDecoration="inherit",e.style.wordSpacing="".concat(y.toFixed(0),"pt"),g.leader){case"dot":case"middleDot":e.style.textDecoration="underline",e.style.textDecorationStyle="dotted";break;case"hyphen":case"heavy":case"underscore":e.style.textDecoration="underline"}}}function cs(e){return parseFloat(e)}var hs="http://www.w3.org/1998/Math/MathML",fs=function(){return O((function e(t){T(this,e),this.htmlDocument=t,this.className="docx",this.styleMap={},this.currentPart=null,this.tableVerticalMerges=[],this.currentVerticalMerge=null,this.tableCellPositions=[],this.currentCellPosition=null,this.footnoteMap={},this.endnoteMap={},this.currentEndnoteIds=[],this.usedHederFooterParts=[],this.currentTabs=[],this.tabsTimeout=0,this.commentMap={},this.tasks=[],this.postRenderTasks=[],this.createElement=ds}),[{key:"render",value:function(e,t){var r,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,i=arguments.length>3?arguments[3]:void 0;this.document=e,this.options=i,this.className=i.className,this.rootSelector=i.inWrapper?".".concat(this.className,"-wrapper"):":root",this.styleMap=null,this.tasks=[],this.options.renderComments&&globalThis.Highlight&&(this.commentHighlight=new Highlight),vs(n=n||t),vs(t),bs(n,"docxjs library predefined styles"),n.appendChild(this.renderDefaultStyle()),e.themePart&&(bs(n,"docxjs document theme values"),this.renderTheme(e.themePart,n)),null!=e.stylesPart&&(this.styleMap=this.processStyles(e.stylesPart.styles),bs(n,"docxjs document styles"),n.appendChild(this.renderStyles(e.stylesPart.styles))),e.numberingPart&&(this.prodessNumberings(e.numberingPart.domNumberings),bs(n,"docxjs document numbering styles"),n.appendChild(this.renderNumbering(e.numberingPart.domNumberings,n))),e.footnotesPart&&(this.footnoteMap=Va(e.footnotesPart.notes,(function(e){return e.id}))),e.endnotesPart&&(this.endnoteMap=Va(e.endnotesPart.notes,(function(e){return e.id}))),e.settingsPart&&(this.defaultTabSize=null===(r=e.settingsPart.settings)||void 0===r?void 0:r.defaultTabStop),!i.ignoreFonts&&e.fontTablePart&&this.renderFontTable(e.fontTablePart,n);var a=this.renderSections(e.documentPart.body);this.options.inWrapper?t.appendChild(this.renderWrapper(a)):gs(t,a),this.commentHighlight&&i.renderComments&&CSS.highlights.set("".concat(this.className,"-comments"),this.commentHighlight),this.refreshTabStops(),this.postRenderTasks.forEach((function(e){return e()}))}},{key:"renderTheme",value:function(e,t){var r,n,i={},a=null===(r=e.theme)||void 0===r?void 0:r.fontScheme;a&&(a.majorFont&&(i["--docx-majorHAnsi-font"]=a.majorFont.latinTypeface),a.minorFont&&(i["--docx-minorHAnsi-font"]=a.minorFont.latinTypeface));var o=null===(n=e.theme)||void 0===n?void 0:n.colorScheme;if(o)for(var s=0,u=Object.entries(o.colors);s<u.length;s++){var l=y(u[s],2),c=l[0],h=l[1];i["--docx-".concat(c,"-color")]="#".concat(h)}var f=this.styleToString(".".concat(this.className),i);t.appendChild(ys(f))}},{key:"renderFontTable",value:function(e,t){var r,n=this,i=S(e.fonts);try{var a=function(){var e,i=r.value,a=S(i.embedFontRefs);try{var o=function(){var r=e.value;n.tasks.push(n.document.loadFont(r.id,r.key).then((function(e){var a={"font-family":i.name,src:"url(".concat(e,")")};"bold"!=r.type&&"boldItalic"!=r.type||(a["font-weight"]="bold"),"italic"!=r.type&&"boldItalic"!=r.type||(a["font-style"]="italic"),bs(t,"docxjs ".concat(i.name," font"));var o=n.styleToString("@font-face",a);t.appendChild(ys(o)),n.refreshTabStops()})))};for(a.s();!(e=a.n()).done;)o()}catch(e){a.e(e)}finally{a.f()}};for(i.s();!(r=i.n()).done;)a()}catch(e){i.e(e)}finally{i.f()}}},{key:"processStyleName",value:function(e){return e?"".concat(this.className,"_").concat(function(e){return null==e?void 0:e.replace(/[ .]+/g,"-").replace(/[&]+/g,"and").toLowerCase()}(e)):this.className}},{key:"processStyles",value:function(e){var t,r=this,n=Va(e.filter((function(e){return null!=e.id})),(function(e){return e.id})),i=S(e.filter((function(e){return e.basedOn})));try{for(i.s();!(t=i.n()).done;){var a=t.value,o=n[a.basedOn];if(o){a.paragraphProps=Xa(a.paragraphProps,o.paragraphProps),a.runProps=Xa(a.runProps,o.runProps);var s,u=S(o.styles);try{var l=function(){var e=s.value,t=a.styles.find((function(t){return t.target==e.target}));t?r.copyStyleProperties(e.values,t.values):a.styles.push(m(m({},e),{},{values:m({},e.values)}))};for(u.s();!(s=u.n()).done;)l()}catch(e){u.e(e)}finally{u.f()}}else this.options.debug&&console.warn("Can't find base style ".concat(a.basedOn))}}catch(e){i.e(e)}finally{i.f()}var c,h=S(e);try{for(h.s();!(c=h.n()).done;){var f=c.value;f.cssName=this.processStyleName(f.id)}}catch(e){h.e(e)}finally{h.f()}return n}},{key:"prodessNumberings",value:function(e){var t,r=S(e.filter((function(e){return e.pStyleName})));try{for(r.s();!(t=r.n()).done;){var n,i=t.value,a=this.findStyle(i.pStyleName);(null==a||null===(n=a.paragraphProps)||void 0===n?void 0:n.numbering)&&(a.paragraphProps.numbering.level=i.level)}}catch(e){r.e(e)}finally{r.f()}}},{key:"processElement",value:function(e){if(e.children){var t,r=S(e.children);try{for(r.s();!(t=r.n()).done;){var n=t.value;n.parent=e,n.type==Ja.Table?this.processTable(n):this.processElement(n)}}catch(e){r.e(e)}finally{r.f()}}}},{key:"processTable",value:function(e){var t,r=S(e.children);try{for(r.s();!(t=r.n()).done;){var n,i=S(t.value.children);try{for(i.s();!(n=i.n()).done;){var a=n.value;a.cssStyle=this.copyStyleProperties(e.cellStyle,a.cssStyle,["border-left","border-right","border-top","border-bottom","padding-left","padding-right","padding-top","padding-bottom"]),this.processElement(a)}}catch(e){i.e(e)}finally{i.f()}}}catch(e){r.e(e)}finally{r.f()}}},{key:"copyStyleProperties",value:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;if(!e)return t;var n,i=S((null==t&&(t={}),null==r&&(r=Object.getOwnPropertyNames(e)),r));try{for(i.s();!(n=i.n()).done;){var a=n.value;e.hasOwnProperty(a)&&!t.hasOwnProperty(a)&&(t[a]=e[a])}}catch(e){i.e(e)}finally{i.f()}return t}},{key:"createPageElement",value:function(e,t){var r=this.createElement("section",{className:e});return t&&(t.pageMargins&&(r.style.paddingLeft=t.pageMargins.left,r.style.paddingRight=t.pageMargins.right,r.style.paddingTop=t.pageMargins.top,r.style.paddingBottom=t.pageMargins.bottom),t.pageSize&&(this.options.ignoreWidth||(r.style.width=t.pageSize.width),this.options.ignoreHeight||(r.style.minHeight=t.pageSize.height))),r}},{key:"createSectionContent",value:function(e){var t=this.createElement("article");return e.columns&&e.columns.numberOfColumns&&(t.style.columnCount="".concat(e.columns.numberOfColumns),t.style.columnGap=e.columns.space,e.columns.separator&&(t.style.columnRule="1px solid black")),t}},{key:"renderSections",value:function(e){var t=[];this.processElement(e);for(var r=this.splitBySection(e.children,e.props),n=this.groupByPageBreaks(r),i=null,a=0,o=n.length;a<o;a++){this.currentFootnoteIds=[];var s=n[a][0].sectProps,u=this.createPageElement(this.className,s);this.renderStyleValues(e.cssStyle,u),this.options.renderHeaders&&this.renderHeaderFooter(s.headerRefs,s,t.length,i!=s,u);var l,c=S(n[a]);try{for(c.s();!(l=c.n()).done;){var h=l.value,f=this.createSectionContent(h.sectProps);this.renderElements(h.elements,f),u.appendChild(f),s=h.sectProps}}catch(e){c.e(e)}finally{c.f()}this.options.renderFootnotes&&this.renderNotes(this.currentFootnoteIds,this.footnoteMap,u),this.options.renderEndnotes&&a==o-1&&this.renderNotes(this.currentEndnoteIds,this.endnoteMap,u),this.options.renderFooters&&this.renderHeaderFooter(s.footerRefs,s,t.length,i!=s,u),t.push(u),i=s}return t}},{key:"renderHeaderFooter",value:function(e,t,r,n,i){if(e){var a,o,s=null!==(a=null!==(o=t.titlePage&&n?e.find((function(e){return"first"==e.type})):null)&&void 0!==o?o:r%2==1?e.find((function(e){return"even"==e.type})):null)&&void 0!==a?a:e.find((function(e){return"default"==e.type})),u=s&&this.document.findPartByRelId(s.id,this.document.documentPart);if(u){this.currentPart=u,this.usedHederFooterParts.includes(u.path)||(this.processElement(u.rootElement),this.usedHederFooterParts.push(u.path));var l=y(this.renderElements([u.rootElement],i),1)[0];null!=t&&t.pageMargins&&(u.rootElement.type===Ja.Header?(l.style.marginTop="calc(".concat(t.pageMargins.header," - ").concat(t.pageMargins.top,")"),l.style.minHeight="calc(".concat(t.pageMargins.top," - ").concat(t.pageMargins.header,")")):u.rootElement.type===Ja.Footer&&(l.style.marginBottom="calc(".concat(t.pageMargins.footer," - ").concat(t.pageMargins.bottom,")"),l.style.minHeight="calc(".concat(t.pageMargins.bottom," - ").concat(t.pageMargins.footer,")"))),this.currentPart=null}}}},{key:"isPageBreakElement",value:function(e){return e.type==Ja.Break&&("lastRenderedPageBreak"==e.break?!this.options.ignoreLastRenderedPageBreak:"page"==e.break)}},{key:"isPageBreakSection",value:function(e,t){var r,n,i,a,o,s;return!(!e||!t||(null===(r=e.pageSize)||void 0===r?void 0:r.orientation)==(null===(n=t.pageSize)||void 0===n?void 0:n.orientation)&&(null===(i=e.pageSize)||void 0===i?void 0:i.width)==(null===(a=t.pageSize)||void 0===a?void 0:a.width)&&(null===(o=e.pageSize)||void 0===o?void 0:o.height)==(null===(s=t.pageSize)||void 0===s?void 0:s.height))}},{key:"splitBySection",value:function(e,t){var r,n=this,i={sectProps:null,elements:[],pageBreak:!1},a=[i],o=S(e);try{for(o.s();!(r=o.n()).done;){var s=r.value;if(s.type==Ja.Paragraph){var u,l=this.findStyle(s.styleName);(null==l||null===(u=l.paragraphProps)||void 0===u?void 0:u.pageBreakBefore)&&(i.sectProps=h,i.pageBreak=!0,i={sectProps:null,elements:[],pageBreak:!1},a.push(i))}if(i.elements.push(s),s.type==Ja.Paragraph){var c=s,h=c.sectionProps,f=-1,d=-1;if(this.options.breakPages&&c.children&&(f=c.children.findIndex((function(e){var t,r;return-1!=(d=null!==(t=null===(r=e.children)||void 0===r?void 0:r.findIndex(n.isPageBreakElement.bind(n)))&&void 0!==t?t:-1)}))),(h||-1!=f)&&(i.sectProps=h,i.pageBreak=-1!=f,i={sectProps:null,elements:[],pageBreak:!1},a.push(i)),-1!=f){var p=c.children[f],v=d<p.children.length-1;if(f<c.children.length-1||v){var g=s.children,y=m(m({},s),{},{children:g.slice(f)});if(s.children=g.slice(0,f),i.elements.push(y),v){var b=p.children,w=m(m({},p),{},{children:b.slice(0,d)});s.children.push(w),p.children=b.slice(d)}}}}}}catch(e){o.e(e)}finally{o.f()}for(var k=null,_=a.length-1;_>=0;_--){var x;null==a[_].sectProps?a[_].sectProps=null!==(x=k)&&void 0!==x?x:t:k=a[_].sectProps}return a}},{key:"groupByPageBreaks",value:function(e){var t,r,n=[],i=[n],a=S(e);try{for(a.s();!(r=a.n()).done;){var o=r.value;n.push(o),(this.options.ignoreLastRenderedPageBreak||o.pageBreak||this.isPageBreakSection(t,o.sectProps))&&i.push(n=[]),t=o.sectProps}}catch(e){a.e(e)}finally{a.f()}return i.filter((function(e){return e.length>0}))}},{key:"renderWrapper",value:function(e){return this.createElement("div",{className:"".concat(this.className,"-wrapper")},e)}},{key:"renderDefaultStyle",value:function(){var e=this.className,t="\n.".concat(e,"-wrapper { background: gray; padding: 30px; padding-bottom: 0px; display: flex; flex-flow: column; align-items: center; } \n.").concat(e,"-wrapper>section.").concat(e," { background: white; box-shadow: 0 0 10px rgba(0, 0, 0, 0.5); margin-bottom: 30px; }\n.").concat(e," { color: black; hyphens: auto; text-underline-position: from-font; }\nsection.").concat(e," { box-sizing: border-box; display: flex; flex-flow: column nowrap; position: relative; overflow: hidden; }\nsection.").concat(e,">article { margin-bottom: auto; z-index: 1; }\nsection.").concat(e,">footer { z-index: 1; }\n.").concat(e," table { border-collapse: collapse; }\n.").concat(e," table td, .").concat(e," table th { vertical-align: top; }\n.").concat(e," p { margin: 0pt; min-height: 1em; }\n.").concat(e," span { white-space: pre-wrap; overflow-wrap: break-word; }\n.").concat(e," a { color: inherit; text-decoration: inherit; }\n.").concat(e," svg { fill: transparent; }\n");return this.options.renderComments&&(t+="\n.".concat(e,"-comment-ref { cursor: default; }\n.").concat(e,"-comment-popover { display: none; z-index: 1000; padding: 0.5rem; background: white; position: absolute; box-shadow: 0 0 0.25rem rgba(0, 0, 0, 0.25); width: 30ch; }\n.").concat(e,"-comment-ref:hover~.").concat(e,"-comment-popover { display: block; }\n.").concat(e,"-comment-author,.").concat(e,"-comment-date { font-size: 0.875rem; color: #888; }\n")),ys(t)}},{key:"renderNumbering",value:function(e,t){var r,n=this,i="",a=[],o=S(e);try{var s,u,l,c=function(){if(s=r.value,u="p.".concat(n.numberingClass(s.id,s.level)),l="none",s.bullet){var e="--".concat(n.className,"-").concat(s.bullet.src).toLowerCase();i+=n.styleToString("".concat(u,":before"),{content:"' '",display:"inline-block",background:"var(".concat(e,")")},s.bullet.style),n.tasks.push(n.document.loadNumberingImage(s.bullet.src).then((function(r){var i="".concat(n.rootSelector," { ").concat(e,": url(").concat(r,") }");t.appendChild(ys(i))})))}else if(s.levelText){var o=n.numberingCounter(s.id,s.level),c=o+" "+(s.start-1);s.level>0&&(i+=n.styleToString("p.".concat(n.numberingClass(s.id,s.level-1)),{"counter-reset":c})),a.push(c),i+=n.styleToString("".concat(u,":before"),m({content:n.levelTextToContent(s.levelText,s.suff,s.id,n.numFormatToCssValue(s.format)),"counter-increment":o},s.rStyle))}else l=n.numFormatToCssValue(s.format);i+=n.styleToString(u,m({display:"list-item","list-style-position":"inside","list-style-type":l},s.pStyle))};for(o.s();!(r=o.n()).done;)c()}catch(e){o.e(e)}finally{o.f()}return a.length>0&&(i+=this.styleToString(this.rootSelector,{"counter-reset":a.join(" ")})),ys(i)}},{key:"renderStyles",value:function(e){var t,r="",n=this.styleMap,i=Va(e.filter((function(e){return e.isDefault})),(function(e){return e.target})),a=S(e);try{for(a.s();!(t=a.n()).done;){var o=t.value,s=o.styles;if(o.linked){var u=o.linked&&n[o.linked];u?s=s.concat(u.styles):this.options.debug&&console.warn("Can't find linked style ".concat(o.linked))}var l,c=S(s);try{for(c.s();!(l=c.n()).done;){var h,f=l.value,d="".concat(null!==(h=o.target)&&void 0!==h?h:"",".").concat(o.cssName);o.target!=f.target&&(d+=" ".concat(f.target)),i[o.target]==o&&(d=".".concat(this.className," ").concat(o.target,", ")+d),r+=this.styleToString(d,f.values)}}catch(e){c.e(e)}finally{c.f()}}}catch(e){a.e(e)}finally{a.f()}return ys(r)}},{key:"renderNotes",value:function(e,t,r){var n=e.map((function(e){return t[e]})).filter((function(e){return e}));if(n.length>0){var i=this.createElement("ol",null,this.renderElements(n));r.appendChild(i)}}},{key:"renderElement",value:function(e){switch(e.type){case Ja.Paragraph:return this.renderParagraph(e);case Ja.BookmarkStart:return this.renderBookmarkStart(e);case Ja.BookmarkEnd:return null;case Ja.Run:return this.renderRun(e);case Ja.Table:return this.renderTable(e);case Ja.Row:return this.renderTableRow(e);case Ja.Cell:return this.renderTableCell(e);case Ja.Hyperlink:return this.renderHyperlink(e);case Ja.SmartTag:return this.renderSmartTag(e);case Ja.Drawing:return this.renderDrawing(e);case Ja.Image:return this.renderImage(e);case Ja.Text:case Ja.Text:return this.renderText(e);case Ja.DeletedText:return this.renderDeletedText(e);case Ja.Tab:return this.renderTab(e);case Ja.Symbol:return this.renderSymbol(e);case Ja.Break:return this.renderBreak(e);case Ja.Footer:return this.renderContainer(e,"footer");case Ja.Header:return this.renderContainer(e,"header");case Ja.Footnote:case Ja.Endnote:return this.renderContainer(e,"li");case Ja.FootnoteReference:return this.renderFootnoteReference(e);case Ja.EndnoteReference:return this.renderEndnoteReference(e);case Ja.NoBreakHyphen:return this.createElement("wbr");case Ja.VmlPicture:return this.renderVmlPicture(e);case Ja.VmlElement:return this.renderVmlElement(e);case Ja.MmlMath:return this.renderContainerNS(e,hs,"math",{xmlns:hs});case Ja.MmlMathParagraph:return this.renderContainer(e,"span");case Ja.MmlFraction:return this.renderContainerNS(e,hs,"mfrac");case Ja.MmlBase:return this.renderContainerNS(e,hs,e.parent.type==Ja.MmlMatrixRow?"mtd":"mrow");case Ja.MmlNumerator:case Ja.MmlDenominator:case Ja.MmlFunction:case Ja.MmlLimit:case Ja.MmlBox:return this.renderContainerNS(e,hs,"mrow");case Ja.MmlGroupChar:return this.renderMmlGroupChar(e);case Ja.MmlLimitLower:return this.renderContainerNS(e,hs,"munder");case Ja.MmlMatrix:return this.renderContainerNS(e,hs,"mtable");case Ja.MmlMatrixRow:return this.renderContainerNS(e,hs,"mtr");case Ja.MmlRadical:return this.renderMmlRadical(e);case Ja.MmlSuperscript:return this.renderContainerNS(e,hs,"msup");case Ja.MmlSubscript:return this.renderContainerNS(e,hs,"msub");case Ja.MmlDegree:case Ja.MmlSuperArgument:case Ja.MmlSubArgument:return this.renderContainerNS(e,hs,"mn");case Ja.MmlFunctionName:return this.renderContainerNS(e,hs,"ms");case Ja.MmlDelimiter:return this.renderMmlDelimiter(e);case Ja.MmlRun:return this.renderMmlRun(e);case Ja.MmlNary:return this.renderMmlNary(e);case Ja.MmlPreSubSuper:return this.renderMmlPreSubSuper(e);case Ja.MmlBar:return this.renderMmlBar(e);case Ja.MmlEquationArray:return this.renderMllList(e);case Ja.Inserted:return this.renderInserted(e);case Ja.Deleted:return this.renderDeleted(e);case Ja.CommentRangeStart:return this.renderCommentRangeStart(e);case Ja.CommentRangeEnd:return this.renderCommentRangeEnd(e);case Ja.CommentReference:return this.renderCommentReference(e)}return null}},{key:"renderChildren",value:function(e,t){return this.renderElements(e.children,t)}},{key:"renderElements",value:function(e,t){var r=this;if(null==e)return null;var n=e.flatMap((function(e){return r.renderElement(e)})).filter((function(e){return null!=e}));return t&&gs(t,n),n}},{key:"renderContainer",value:function(e,t,r){return this.createElement(t,r,this.renderChildren(e))}},{key:"renderContainerNS",value:function(e,t,r,n){return ms(t,r,n,this.renderChildren(e))}},{key:"renderParagraph",value:function(e){var t,r,n,i,a=this.createElement("p"),o=this.findStyle(e.styleName);null!==(t=e.tabs)&&void 0!==t||(e.tabs=null==o||null===(r=o.paragraphProps)||void 0===r?void 0:r.tabs),this.renderClass(e,a),this.renderChildren(e,a),this.renderStyleValues(e.cssStyle,a),this.renderCommonProperties(a.style,e);var s=null!==(n=e.numbering)&&void 0!==n?n:null==o||null===(i=o.paragraphProps)||void 0===i?void 0:i.numbering;return s&&a.classList.add(this.numberingClass(s.id,s.level)),a}},{key:"renderRunProperties",value:function(e,t){this.renderCommonProperties(e,t)}},{key:"renderCommonProperties",value:function(e,t){null!=t&&(t.color&&(e.color=t.color),t.fontSize&&(e["font-size"]=t.fontSize))}},{key:"renderHyperlink",value:function(e){var t=this.createElement("a");if(this.renderChildren(e,t),this.renderStyleValues(e.cssStyle,t),e.href)t.href=e.href;else if(e.id){var r=this.document.documentPart.rels.find((function(t){return t.id==e.id&&"External"===t.targetMode}));t.href=null==r?void 0:r.target}return t}},{key:"renderSmartTag",value:function(e){var t=this.createElement("span");return this.renderChildren(e,t),t}},{key:"renderCommentRangeStart",value:function(e){var t;if(!this.options.renderComments)return null;var r=new Range;null===(t=this.commentHighlight)||void 0===t||t.add(r);var n=this.htmlDocument.createComment("start of comment #".concat(e.id));return this.later((function(){return r.setStart(n,0)})),this.commentMap[e.id]=r,n}},{key:"renderCommentRangeEnd",value:function(e){if(!this.options.renderComments)return null;var t=this.commentMap[e.id],r=this.htmlDocument.createComment("end of comment #".concat(e.id));return this.later((function(){return null==t?void 0:t.setEnd(r,0)})),r}},{key:"renderCommentReference",value:function(e){var t;if(!this.options.renderComments)return null;var r=null===(t=this.document.commentsPart)||void 0===t?void 0:t.commentMap[e.id];if(!r)return null;var n=new DocumentFragment,i=ds("span",{className:"".concat(this.className,"-comment-ref")},["💬"]),a=ds("div",{className:"".concat(this.className,"-comment-popover")});return this.renderCommentContent(r,a),n.appendChild(this.htmlDocument.createComment("comment #".concat(r.id," by ").concat(r.author," on ").concat(r.date))),n.appendChild(i),n.appendChild(a),n}},{key:"renderCommentContent",value:function(e,t){t.appendChild(ds("div",{className:"".concat(this.className,"-comment-author")},[e.author])),t.appendChild(ds("div",{className:"".concat(this.className,"-comment-date")},[new Date(e.date).toLocaleString()])),this.renderChildren(e,t)}},{key:"renderDrawing",value:function(e){var t=this.createElement("div");return t.style.display="inline-block",t.style.position="relative",t.style.textIndent="0px",this.renderChildren(e,t),this.renderStyleValues(e.cssStyle,t),t}},{key:"renderImage",value:function(e){var t=this.createElement("img");return this.renderStyleValues(e.cssStyle,t),this.document&&this.tasks.push(this.document.loadDocumentImage(e.src,this.currentPart).then((function(e){t.src=e}))),t}},{key:"renderText",value:function(e){return this.htmlDocument.createTextNode(e.text)}},{key:"renderDeletedText",value:function(e){return this.options.renderEndnotes?this.htmlDocument.createTextNode(e.text):null}},{key:"renderBreak",value:function(e){return"textWrapping"==e.break?this.createElement("br"):null}},{key:"renderInserted",value:function(e){return this.options.renderChanges?this.renderContainer(e,"ins"):this.renderChildren(e)}},{key:"renderDeleted",value:function(e){return this.options.renderChanges?this.renderContainer(e,"del"):null}},{key:"renderSymbol",value:function(e){var t=this.createElement("span");return t.style.fontFamily=e.font,t.innerHTML="&#x".concat(e.char,";"),t}},{key:"renderFootnoteReference",value:function(e){var t=this.createElement("sup");return this.currentFootnoteIds.push(e.id),t.textContent="".concat(this.currentFootnoteIds.length),t}},{key:"renderEndnoteReference",value:function(e){var t=this.createElement("sup");return this.currentEndnoteIds.push(e.id),t.textContent="".concat(this.currentEndnoteIds.length),t}},{key:"renderTab",value:function(e){var t=this.createElement("span");if(t.innerHTML="&emsp;",this.options.experimental){var r;t.className=this.tabStopClass();var n=null===(r=function(e,t){for(var r=e.parent;null!=r&&r.type!=t;)r=r.parent;return r}(e,Ja.Paragraph))||void 0===r?void 0:r.tabs;this.currentTabs.push({stops:n,span:t})}return t}},{key:"renderBookmarkStart",value:function(e){var t=this.createElement("span");return t.id=e.name,t}},{key:"renderRun",value:function(e){if(e.fieldRun)return null;var t=this.createElement("span");if(e.id&&(t.id=e.id),this.renderClass(e,t),this.renderStyleValues(e.cssStyle,t),e.verticalAlign){var r=this.createElement(e.verticalAlign);this.renderChildren(e,r),t.appendChild(r)}else this.renderChildren(e,t);return t}},{key:"renderTable",value:function(e){var t=this.createElement("table");return this.tableCellPositions.push(this.currentCellPosition),this.tableVerticalMerges.push(this.currentVerticalMerge),this.currentVerticalMerge={},this.currentCellPosition={col:0,row:0},e.columns&&t.appendChild(this.renderTableColumns(e.columns)),this.renderClass(e,t),this.renderChildren(e,t),this.renderStyleValues(e.cssStyle,t),this.currentVerticalMerge=this.tableVerticalMerges.pop(),this.currentCellPosition=this.tableCellPositions.pop(),t}},{key:"renderTableColumns",value:function(e){var t,r=this.createElement("colgroup"),n=S(e);try{for(n.s();!(t=n.n()).done;){var i=t.value,a=this.createElement("col");i.width&&(a.style.width=i.width),r.appendChild(a)}}catch(e){n.e(e)}finally{n.f()}return r}},{key:"renderTableRow",value:function(e){var t=this.createElement("tr");return this.currentCellPosition.col=0,this.renderClass(e,t),this.renderChildren(e,t),this.renderStyleValues(e.cssStyle,t),this.currentCellPosition.row++,t}},{key:"renderTableCell",value:function(e){var t=this.createElement("td"),r=this.currentCellPosition.col;return e.verticalMerge?"restart"==e.verticalMerge?(this.currentVerticalMerge[r]=t,t.rowSpan=1):this.currentVerticalMerge[r]&&(this.currentVerticalMerge[r].rowSpan+=1,t.style.display="none"):this.currentVerticalMerge[r]=null,this.renderClass(e,t),this.renderChildren(e,t),this.renderStyleValues(e.cssStyle,t),e.span&&(t.colSpan=e.span),this.currentCellPosition.col+=t.colSpan,t}},{key:"renderVmlPicture",value:function(e){var t=ds("div");return this.renderChildren(e,t),t}},{key:"renderVmlElement",value:function(e){var t,r,n=ps("svg");n.setAttribute("style",e.cssStyleText);var i=this.renderVmlChildElement(e);return null!==(t=e.imageHref)&&void 0!==t&&t.id&&this.tasks.push(null===(r=this.document)||void 0===r?void 0:r.loadDocumentImage(e.imageHref.id,this.currentPart).then((function(e){return i.setAttribute("href",e)}))),n.appendChild(i),requestAnimationFrame((function(){var e=n.firstElementChild.getBBox();n.setAttribute("width","".concat(Math.ceil(e.x+e.width))),n.setAttribute("height","".concat(Math.ceil(e.y+e.height)))})),n}},{key:"renderVmlChildElement",value:function(e){var t=ps(e.tagName);Object.entries(e.attrs).forEach((function(e){var r=y(e,2),n=r[0],i=r[1];return t.setAttribute(n,i)}));var r,n=S(e.children);try{for(n.s();!(r=n.n()).done;){var i=r.value;i.type==Ja.VmlElement?t.appendChild(this.renderVmlChildElement(i)):t.appendChild.apply(t,g(Ga(this.renderElement(i))))}}catch(e){n.e(e)}finally{n.f()}return t}},{key:"renderMmlRadical",value:function(e){var t,r=e.children.find((function(e){return e.type==Ja.MmlBase}));if(null!==(t=e.props)&&void 0!==t&&t.hideDegree)return ms(hs,"msqrt",null,this.renderElements([r]));var n=e.children.find((function(e){return e.type==Ja.MmlDegree}));return ms(hs,"mroot",null,this.renderElements([r,n]))}},{key:"renderMmlDelimiter",value:function(e){var t,r,n=[];return n.push(ms(hs,"mo",null,[null!==(t=e.props.beginChar)&&void 0!==t?t:"("])),n.push.apply(n,g(this.renderElements(e.children))),n.push(ms(hs,"mo",null,[null!==(r=e.props.endChar)&&void 0!==r?r:")"])),ms(hs,"mrow",null,n)}},{key:"renderMmlNary",value:function(e){var t,r,n=[],i=Va(e.children,(function(e){return e.type})),a=i[Ja.MmlSuperArgument],o=i[Ja.MmlSubArgument],s=a?ms(hs,"mo",null,Ga(this.renderElement(a))):null,u=o?ms(hs,"mo",null,Ga(this.renderElement(o))):null,l=ms(hs,"mo",null,[null!==(t=null===(r=e.props)||void 0===r?void 0:r.char)&&void 0!==t?t:"∫"]);return s||u?n.push(ms(hs,"munderover",null,[l,u,s])):s?n.push(ms(hs,"mover",null,[l,s])):u?n.push(ms(hs,"munder",null,[l,u])):n.push(l),n.push.apply(n,g(this.renderElements(i[Ja.MmlBase].children))),ms(hs,"mrow",null,n)}},{key:"renderMmlPreSubSuper",value:function(e){var t=[],r=Va(e.children,(function(e){return e.type})),n=r[Ja.MmlSuperArgument],i=r[Ja.MmlSubArgument],a=n?ms(hs,"mo",null,Ga(this.renderElement(n))):null,o=i?ms(hs,"mo",null,Ga(this.renderElement(i))):null,s=ms(hs,"mo",null);return t.push(ms(hs,"msubsup",null,[s,o,a])),t.push.apply(t,g(this.renderElements(r[Ja.MmlBase].children))),ms(hs,"mrow",null,t)}},{key:"renderMmlGroupChar",value:function(e){var t="bot"===e.props.verticalJustification?"mover":"munder",r=this.renderContainerNS(e,hs,t);return e.props.char&&r.appendChild(ms(hs,"mo",null,[e.props.char])),r}},{key:"renderMmlBar",value:function(e){var t=this.renderContainerNS(e,hs,"mrow");switch(e.props.position){case"top":t.style.textDecoration="overline";break;case"bottom":t.style.textDecoration="underline"}return t}},{key:"renderMmlRun",value:function(e){var t=ms(hs,"ms");return this.renderClass(e,t),this.renderStyleValues(e.cssStyle,t),this.renderChildren(e,t),t}},{key:"renderMllList",value:function(e){var t=ms(hs,"mtable");this.renderClass(e,t),this.renderStyleValues(e.cssStyle,t),this.renderChildren(e);var r,n=S(this.renderChildren(e));try{for(n.s();!(r=n.n()).done;){var i=r.value;t.appendChild(ms(hs,"mtr",null,[ms(hs,"mtd",null,[i])]))}}catch(e){n.e(e)}finally{n.f()}return t}},{key:"renderStyleValues",value:function(e,t){for(var r in e)r.startsWith("$")?t.setAttribute(r.slice(1),e[r]):t.style[r]=e[r]}},{key:"renderClass",value:function(e,t){e.className&&(t.className=e.className),e.styleName&&t.classList.add(this.processStyleName(e.styleName))}},{key:"findStyle",value:function(e){var t;return e&&(null===(t=this.styleMap)||void 0===t?void 0:t[e])}},{key:"numberingClass",value:function(e,t){return"".concat(this.className,"-num-").concat(e,"-").concat(t)}},{key:"tabStopClass",value:function(){return"".concat(this.className,"-tab-stop")}},{key:"styleToString",value:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,n="".concat(e," {\r\n");for(var i in t)i.startsWith("$")||(n+=" ".concat(i,": ").concat(t[i],";\r\n"));return r&&(n+=r),n+"}\r\n"}},{key:"numberingCounter",value:function(e,t){return"".concat(this.className,"-num-").concat(e,"-").concat(t)}},{key:"levelTextToContent",value:function(e,t,r,n){var i,a=this;return'"'.concat(e.replace(/%\d*/g,(function(e){var t=parseInt(e.substring(1),10)-1;return'"counter('.concat(a.numberingCounter(r,t),", ").concat(n,')"')}))).concat(null!==(i={tab:"\\9",space:"\\a0"}[t])&&void 0!==i?i:"",'"')}},{key:"numFormatToCssValue",value:function(e){var t;return null!==(t={none:"none",bullet:"disc",decimal:"decimal",lowerLetter:"lower-alpha",upperLetter:"upper-alpha",lowerRoman:"lower-roman",upperRoman:"upper-roman",decimalZero:"decimal-leading-zero",aiueo:"katakana",aiueoFullWidth:"katakana",chineseCounting:"simp-chinese-informal",chineseCountingThousand:"simp-chinese-informal",chineseLegalSimplified:"simp-chinese-formal",chosung:"hangul-consonant",ideographDigital:"cjk-ideographic",ideographTraditional:"cjk-heavenly-stem",ideographLegalTraditional:"trad-chinese-formal",ideographZodiac:"cjk-earthly-branch",iroha:"katakana-iroha",irohaFullWidth:"katakana-iroha",japaneseCounting:"japanese-informal",japaneseDigitalTenThousand:"cjk-decimal",japaneseLegal:"japanese-formal",thaiNumbers:"thai",koreanCounting:"korean-hangul-formal",koreanDigital:"korean-hangul-formal",koreanDigital2:"korean-hanja-informal",hebrew1:"hebrew",hebrew2:"hebrew",hindiNumbers:"devanagari",ganada:"hangul",taiwaneseCounting:"cjk-ideographic",taiwaneseCountingThousand:"cjk-ideographic",taiwaneseDigital:"cjk-decimal"}[e])&&void 0!==t?t:e}},{key:"refreshTabStops",value:function(){var e=this;this.options.experimental&&(clearTimeout(this.tabsTimeout),this.tabsTimeout=setTimeout((function(){var t,r=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document.body,t=document.createElement("div");t.style.width="100pt",e.appendChild(t);var r=100/t.offsetWidth;return e.removeChild(t),r}(),n=S(e.currentTabs);try{for(n.s();!(t=n.n()).done;){var i=t.value;ls(i.span,i.stops,e.defaultTabSize,r)}}catch(e){n.e(e)}finally{n.f()}}),500))}},{key:"later",value:function(e){this.postRenderTasks.push(e)}}])}();function ds(e,t,r){return ms(void 0,e,t,r)}function ps(e,t,r){return ms("http://www.w3.org/2000/svg",e,t,r)}function ms(e,t,r,n){var i=e?document.createElementNS(e,t):document.createElement(t);return Object.assign(i,r),n&&gs(i,n),i}function vs(e){e.innerHTML=""}function gs(e,t){t.forEach((function(t){return e.appendChild("string"==typeof(r=t)||r instanceof String?document.createTextNode(t):t);var r}))}function ys(e){return ds("style",{innerHTML:e})}function bs(e,t){e.appendChild(document.createComment(t))}var ws={ignoreHeight:!1,ignoreWidth:!1,ignoreFonts:!1,breakPages:!0,debug:!1,experimental:!1,className:"docx",inWrapper:!0,trimXmlDeclaration:!0,ignoreLastRenderedPageBreak:!0,renderHeaders:!0,renderFooters:!0,renderFootnotes:!0,renderEndnotes:!0,useBase64URL:!1,renderChanges:!1,renderComments:!1};function ks(e,t,r,n){return _s.apply(this,arguments)}function _s(){return(_s=P(C().mark((function e(t,r,n,i){var a;return C().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,function(e,t){var r=m(m({},ws),t);return Ho.load(e,new is(r),r)}(t,i);case 2:return a=e.sent,e.next=5,function(){var e=P(C().mark((function e(t,r,n,i){var a,o;return C().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a=m(m({},ws),i),o=new fs(window.document),e.abrupt("return",(o.render(t,r,n,a),Promise.allSettled(o.tasks)));case 2:case"end":return e.stop()}}),e)})));return function(t,r,n,i){return e.apply(this,arguments)}}()(a,r,n,i);case 5:return e.abrupt("return",a);case 6:case"end":return e.stop()}}),e)})))).apply(this,arguments)}var Ss,xs={ignoreLastRenderedPageBreak:!1},Es={getData:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return"string"==typeof e?function(e,t){return fetch(e,t).then((function(e){return 200!==e.status?Promise.reject(e):e}))}(e,t):Promise.resolve(e)},render:function(e,t){var r,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return e?(e instanceof Blob?r=e:e instanceof Response?r=e.blob():e instanceof ArrayBuffer&&(r=new Blob([e])),ks(r,t,t,m(m({},xs),n))):(t.innerHTML="",Promise.resolve())},getBlob:(Ss=P(C().mark((function e(t){var r;return C().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(t instanceof Blob)){e.next=4;break}r=t,e.next=11;break;case 4:if(!(t instanceof Response)){e.next=10;break}return e.next=7,t.blob();case 7:r=e.sent,e.next=11;break;case 10:t instanceof ArrayBuffer&&(r=new Blob([t]));case 11:return e.abrupt("return",r);case 12:case"end":return e.stop()}}),e)}))),function(e){return Ss.apply(this,arguments)})};function Cs(){return(Cs=P(C().mark((function e(t,r){return C().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:r&&(r instanceof ArrayBuffer&&(r=new Blob([r])),function(e,t){var r=document.createElement("a");r.download=e,r.style.display="none",r.href=t,document.body.appendChild(r),r.click(),document.body.removeChild(r)}(t,URL.createObjectURL(r)));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}var As=function(){return O((function e(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};T(this,e),v(this,"container",null),v(this,"wrapper",null),v(this,"wrapperMain",null),v(this,"options",{}),v(this,"requestOptions",{}),v(this,"fileData",null),this.container=t,this.options=r,this.requestOptions=n,this.createWrapper()}),[{key:"createWrapper",value:function(){this.wrapper=document.createElement("div"),this.wrapper.className="vue-office-docx",this.wrapperMain=document.createElement("div"),this.wrapperMain.className="vue-office-docx-main",this.wrapper.appendChild(this.wrapperMain),this.container.appendChild(this.wrapper)}},{key:"setOptions",value:function(e){this.options=e}},{key:"setRequestOptions",value:function(e){this.requestOptions=e}},{key:"preview",value:function(e){var t=this;return new Promise((function(r,n){Es.getData(e,t.requestOptions).then(function(){var e=P(C().mark((function e(i){return C().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Es.getBlob(i);case 2:t.fileData=e.sent,Es.render(t.fileData,t.wrapperMain,t.options).then((function(){r()})).catch((function(e){Es.render("",t.wrapperMain,t.options),n(e)}));case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()).catch((function(e){Es.render("",t.wrapperMain,t.options),n(e)}))}))}},{key:"save",value:function(e){!function(e,t){Cs.apply(this,arguments)}(e||"js-preview-docx-".concat((new Date).getTime(),".docx"),this.fileData)}},{key:"destroy",value:function(){this.container.removeChild(this.wrapper),this.container=null,this.wrapper=null,this.wrapperMain=null,this.options=null,this.requestOptions=null}}])}(),Ps={init:function(e,t,r){return new As(e,t,r)}}}).call(this,r(36),r(343),r(592).setImmediate,r(586).Buffer)},973:function(e,t,r){"use strict";r(152)("asyncIterator")},974:function(e,t,r){"use strict";r(152)("hasInstance")},975:function(e,t,r){"use strict";var n=r(56),i=r(152),a=r(82);i("toStringTag"),a(n("Symbol"),"Symbol")},976:function(e,t,r){"use strict";var n=r(27),i=r(7),a=r(191),o=r(24),s=r(55),u=r(101),l=r(639),c=r(600),h=r(350),f=r(346),d=r(23),p=r(146),m=d("isConcatSpreadable"),v=p>=51||!i((function(){var e=[];return e[m]=!1,e.concat()[0]!==e})),g=function(e){if(!o(e))return!1;var t=e[m];return void 0!==t?!!t:a(e)};n({target:"Array",proto:!0,arity:1,forced:!v||!f("concat")},{concat:function(e){var t,r,n,i,a,o=s(this),f=h(o,0),d=0;for(t=-1,n=arguments.length;t<n;t++)if(g(a=-1===t?o:arguments[t]))for(i=u(a),l(d+i),r=0;r<i;r++,d++)r in a&&c(f,d,a[r]);else l(d+1),c(f,d++,a);return f.length=d,f}})},977:function(e,t,r){"use strict";var n=r(27),i=r(640),a=r(345);n({target:"Array",proto:!0},{fill:i}),a("fill")},978:function(e,t,r){"use strict";var n=r(27),i=r(141).find,a=r(345),o=!0;"find"in[]&&Array(1).find((function(){o=!1})),n({target:"Array",proto:!0,forced:o},{find:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}}),a("find")},979:function(e,t,r){"use strict";var n=r(27),i=r(141).findIndex,a=r(345),o=!0;"findIndex"in[]&&Array(1).findIndex((function(){o=!1})),n({target:"Array",proto:!0,forced:o},{findIndex:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}}),a("findIndex")},980:function(e,t,r){"use strict";var n=r(27),i=r(981),a=r(71),o=r(55),s=r(101),u=r(350);n({target:"Array",proto:!0},{flatMap:function(e){var t,r=o(this),n=s(r);return a(e),(t=u(r,0)).length=i(t,r,r,n,0,1,e,arguments.length>1?arguments[1]:void 0),t}})},981:function(e,t,r){"use strict";var n=r(191),i=r(101),a=r(639),o=r(186),s=function(e,t,r,u,l,c,h,f){for(var d,p,m=l,v=0,g=!!h&&o(h,f);v<u;)v in r&&(d=g?g(r[v],v,t):r[v],c>0&&n(d)?(p=i(d),m=s(e,t,d,p,m,c-1)-1):(a(m+1),e[m]=d),m++),v++;return m};e.exports=s},982:function(e,t,r){"use strict";var n=r(27),i=r(703);n({target:"Array",stat:!0,forced:!r(352)((function(e){Array.from(e)}))},{from:i})},983:function(e,t,r){"use strict";var n=r(32),i=r(366);e.exports=function(e,t,r,a){try{return a?t(n(r)[0],r[1]):t(r)}catch(t){i(e,"throw",t)}}},984:function(e,t,r){"use strict";var n=r(27),i=r(349).includes,a=r(7),o=r(345);n({target:"Array",proto:!0,forced:a((function(){return!Array(1).includes()}))},{includes:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}}),o("includes")},985:function(e,t,r){"use strict";var n=r(27),i=r(5),a=r(112),o=r(63),s=r(347),u=i([].join);n({target:"Array",proto:!0,forced:a!==Object||!s("join",",")},{join:function(e){return u(o(this),void 0===e?",":e)}})},986:function(e,t,r){"use strict";var n=r(27),i=r(141).map;n({target:"Array",proto:!0,forced:!r(346)("map")},{map:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}})},987:function(e,t,r){"use strict";var n=r(27),i=r(191),a=r(197),o=r(24),s=r(344),u=r(101),l=r(63),c=r(600),h=r(23),f=r(346),d=r(143),p=f("slice"),m=h("species"),v=Array,g=Math.max;n({target:"Array",proto:!0,forced:!p},{slice:function(e,t){var r,n,h,f=l(this),p=u(f),y=s(e,p),b=s(void 0===t?p:t,p);if(i(f)&&(r=f.constructor,(a(r)&&(r===v||i(r.prototype))||o(r)&&null===(r=r[m]))&&(r=void 0),r===v||void 0===r))return d(f,y,b);for(n=new(void 0===r?v:r)(g(b-y,0)),h=0;y<b;y++,h++)y in f&&c(n,h,f[y]);return n.length=h,n}})},988:function(e,t,r){"use strict";var n=r(27),i=r(5),a=r(71),o=r(55),s=r(101),u=r(641),l=r(40),c=r(7),h=r(642),f=r(347),d=r(704),p=r(705),m=r(146),v=r(706),g=[],y=i(g.sort),b=i(g.push),w=c((function(){g.sort(void 0)})),k=c((function(){g.sort(null)})),_=f("sort"),S=!c((function(){if(m)return m<70;if(!(d&&d>3)){if(p)return!0;if(v)return v<603;var e,t,r,n,i="";for(e=65;e<76;e++){switch(t=String.fromCharCode(e),e){case 66:case 69:case 70:case 72:r=3;break;case 68:case 71:r=4;break;default:r=2}for(n=0;n<47;n++)g.push({k:t+n,v:r})}for(g.sort((function(e,t){return t.v-e.v})),n=0;n<g.length;n++)t=g[n].k.charAt(0),i.charAt(i.length-1)!==t&&(i+=t);return"DGBEFHACIJK"!==i}}));n({target:"Array",proto:!0,forced:w||!k||!_||!S},{sort:function(e){void 0!==e&&a(e);var t=o(this);if(S)return void 0===e?y(t):y(t,e);var r,n,i=[],c=s(t);for(n=0;n<c;n++)n in t&&b(i,t[n]);for(h(i,function(e){return function(t,r){return void 0===r?-1:void 0===t?1:void 0!==e?+e(t,r)||0:l(t)>l(r)?1:-1}}(e)),r=s(i),n=0;n<r;)t[n]=i[n++];for(;n<c;)u(t,n++);return t}})},989:function(e,t,r){"use strict";var n=r(27),i=r(55),a=r(344),o=r(104),s=r(101),u=r(990),l=r(639),c=r(350),h=r(600),f=r(641),d=r(346)("splice"),p=Math.max,m=Math.min;n({target:"Array",proto:!0,forced:!d},{splice:function(e,t){var r,n,d,v,g,y,b=i(this),w=s(b),k=a(e,w),_=arguments.length;for(0===_?r=n=0:1===_?(r=0,n=w-k):(r=_-2,n=m(p(o(t),0),w-k)),l(w+r-n),d=c(b,n),v=0;v<n;v++)(g=k+v)in b&&h(d,v,b[g]);if(d.length=n,r<n){for(v=k;v<w-n;v++)y=v+r,(g=v+n)in b?b[y]=b[g]:f(b,y);for(v=w;v>w-n+r;v--)f(b,v-1)}else if(r>n)for(v=w-n;v>k;v--)y=v+r-1,(g=v+n-1)in b?b[y]=b[g]:f(b,y);for(v=0;v<r;v++)b[v+k]=arguments[v+2];return u(b,w-n+r),d}})},990:function(e,t,r){"use strict";var n=r(34),i=r(191),a=TypeError,o=Object.getOwnPropertyDescriptor,s=n&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(e){return e instanceof TypeError}}();e.exports=s?function(e,t){if(i(e)&&!o(e,"length").writable)throw new a("Cannot set read only .length");return e.length=t}:function(e,t){return e.length=t}},991:function(e,t,r){"use strict";r(345)("flatMap")},992:function(e,t,r){"use strict";var n=r(27),i=r(13),a=r(707),o=r(643),s=a.ArrayBuffer;n({global:!0,constructor:!0,forced:i.ArrayBuffer!==s},{ArrayBuffer:s}),o("ArrayBuffer")},993:function(e,t,r){"use strict";var n=r(994);e.exports=Math.fround||function(e){return n(e,1.1920928955078125e-7,34028234663852886e22,11754943508222875e-54)}},994:function(e,t,r){"use strict";var n=r(995),i=r(996),a=Math.abs;e.exports=function(e,t,r,o){var s=+e,u=a(s),l=n(s);if(u<o)return l*i(u/o/t)*o*t;var c=(1+t/2220446049250313e-31)*u,h=c-(c-u);return h>r||h!=h?l*(1/0):l*h}},995:function(e,t,r){"use strict";e.exports=Math.sign||function(e){var t=+e;return 0===t||t!=t?t:t<0?-1:1}},996:function(e,t,r){"use strict";e.exports=function(e){return e+4503599627370496-4503599627370496}},997:function(e,t,r){"use strict";var n=Array,i=Math.abs,a=Math.pow,o=Math.floor,s=Math.log,u=Math.LN2;e.exports={pack:function(e,t,r){var l,c,h,f=n(r),d=8*r-t-1,p=(1<<d)-1,m=p>>1,v=23===t?a(2,-24)-a(2,-77):0,g=e<0||0===e&&1/e<0?1:0,y=0;for((e=i(e))!=e||e===1/0?(c=e!=e?1:0,l=p):(l=o(s(e)/u),e*(h=a(2,-l))<1&&(l--,h*=2),(e+=l+m>=1?v/h:v*a(2,1-m))*h>=2&&(l++,h/=2),l+m>=p?(c=0,l=p):l+m>=1?(c=(e*h-1)*a(2,t),l+=m):(c=e*a(2,m-1)*a(2,t),l=0));t>=8;)f[y++]=255&c,c/=256,t-=8;for(l=l<<t|c,d+=t;d>0;)f[y++]=255&l,l/=256,d-=8;return f[y-1]|=128*g,f},unpack:function(e,t){var r,n=e.length,i=8*n-t-1,o=(1<<i)-1,s=o>>1,u=i-7,l=n-1,c=e[l--],h=127&c;for(c>>=7;u>0;)h=256*h+e[l--],u-=8;for(r=h&(1<<-u)-1,h>>=-u,u+=t;u>0;)r=256*r+e[l--],u-=8;if(0===h)h=1-s;else{if(h===o)return r?NaN:c?-1/0:1/0;r+=a(2,t),h-=s}return(c?-1:1)*r*a(2,h-t)}}},998:function(e,t,r){"use strict";var n=r(19),i=r(24),a=r(37),o=r(67),s=r(23),u=r(232),l=s("hasInstance"),c=Function.prototype;l in c||a.f(c,l,{value:u((function(e){if(!n(this)||!i(e))return!1;var t=this.prototype;return i(t)?o(t,e):e instanceof this}),l)})},999:function(e,t,r){"use strict";var n=r(13);r(82)(n.JSON,"JSON",!0)}}]);
3
3
  //# sourceMappingURL=async-feffery_word_preview.js.map
4
4
  //# sourceMappingURL=async-feffery_word_preview.js.map