!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e((t="undefined"!=typeof globalThis?globalThis:t||self).zip={})}(this,(function(t){"use strict";function e(){ /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ e=function(){return t};var t={},i=Object.prototype,n=i.hasOwnProperty,r="function"==typeof Symbol?Symbol:{},d=r.iterator||"@@iterator",c=r.asyncIterator||"@@asyncIterator",a=r.toStringTag||"@@toStringTag";function s(t,e,i){return Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{s({},"")}catch(t){s=function(t,e,i){return t[e]=i}}function l(t,e,i,n){var r=e&&e.prototype instanceof m?e:m,d=Object.create(r.prototype),c=new K(n||[]);return d._invoke=function(t,e,i){var n="suspendedStart";return function(r,d){if("executing"===n)throw Error("Generator is already running");if("completed"===n){if("throw"===r)throw d;return{value:void 0,done:!0}}for(i.method=r,i.arg=d;;){var c=i.delegate;if(c){var a=X(c,i);if(a){if(a===u)continue;return a}}if("next"===i.method)i.sent=i._sent=i.arg;else if("throw"===i.method){if("suspendedStart"===n)throw n="completed",i.arg;i.dispatchException(i.arg)}else"return"===i.method&&i.abrupt("return",i.arg);n="executing";var s=o(t,e,i);if("normal"===s.type){if(n=i.done?"completed":"suspendedYield",s.arg===u)continue;return{value:s.arg,done:i.done}}"throw"===s.type&&(n="completed",i.method="throw",i.arg=s.arg)}}}(t,i,c),d}function o(t,e,i){try{return{type:"normal",arg:t.call(e,i)}}catch(t){return{type:"throw",arg:t}}}t.wrap=l;var u={};function m(){}function p(){}function y(){}var b={};s(b,d,(function(){return this}));var h=Object.getPrototypeOf,Z=h&&h(h(W([])));Z&&Z!==i&&n.call(Z,d)&&(b=Z);var f=y.prototype=m.prototype=Object.create(b);function L(t){["next","throw","return"].forEach((function(e){s(t,e,(function(t){return this._invoke(e,t)}))}))}function x(t,e){function i(r,d,c,a){var s=o(t[r],t,d);if("throw"!==s.type){var l=s.arg,u=l.value;return u&&"object"==typeof u&&n.call(u,"__await")?e.resolve(u.__await).then((function(t){i("next",t,c,a)}),(function(t){i("throw",t,c,a)})):e.resolve(u).then((function(t){l.value=t,c(l)}),(function(t){return i("throw",t,c,a)}))}a(s.arg)}var r;this._invoke=function(t,n){function d(){return new e((function(e,r){i(t,n,e,r)}))}return r=r?r.then(d,d):d()}}function X(t,e){var i=t.iterator[e.method];if(void 0===i){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=void 0,X(t,e),"throw"===e.method))return u;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return u}var n=o(i,t.iterator,e.arg);if("throw"===n.type)return e.method="throw",e.arg=n.arg,e.delegate=null,u;var r=n.arg;return r?r.done?(e[t.resultName]=r.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,u):r:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,u)}function I(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function G(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function K(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(I,this),this.reset(!0)}function W(t){if(t){var e=t[d];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var i=-1,r=function e(){for(;++i=0;--r){var d=this.tryEntries[r],c=d.completion;if("root"===d.tryLoc)return i("end");if(d.tryLoc<=this.prev){var a=n.call(d,"catchLoc"),s=n.call(d,"finallyLoc");if(a&&s){if(this.prev=0;--i){var r=this.tryEntries[i];if(r.tryLoc<=this.prev&&n.call(r,"finallyLoc")&&this.prev=0;--e){var i=this.tryEntries[e];if(i.finallyLoc===t)return this.complete(i.completion,i.afterLoc),G(i),u}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var i=this.tryEntries[e];if(i.tryLoc===t){var n=i.completion;if("throw"===n.type){var r=n.arg;G(i)}return r}}throw Error("illegal catch attempt")},delegateYield:function(t,e,i){return this.delegate={iterator:W(t),resultName:e,nextLoc:i},"next"===this.method&&(this.arg=void 0),u}},t}function i(t){this.wrapped=t}function n(t){var e,n;function r(e,n){try{var c=t[e](n),a=c.value,s=a instanceof i;Promise.resolve(s?a.wrapped:a).then((function(t){s?r("return"===e?"return":"next",t):d(c.done?"return":"normal",t)}),(function(t){r("throw",t)}))}catch(t){d("throw",t)}}function d(t,i){switch(t){case"return":e.resolve({value:i,done:!0});break;case"throw":e.reject(i);break;default:e.resolve({value:i,done:!1})}(e=e.next)?r(e.key,e.arg):n=null}this._invoke=function(t,i){return new Promise((function(d,c){var a={key:t,arg:i,resolve:d,reject:c,next:null};n?n=n.next=a:(e=n=a,r(t,i))}))},"function"!=typeof t.return&&(this.return=void 0)}function r(t){return function(){return new n(t.apply(this,arguments))}}function d(t){return new i(t)}function c(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){for(var i=0;iarguments.length?t:i):r.value}},Z.apply(this,arguments)}function f(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var i=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=i){var n,r,d=[],c=!0,a=!1;try{for(i=i.call(t);!(c=(n=i.next()).done)&&(d.push(n.value),!e||d.length!==e);c=!0);}catch(t){a=!0,r=t}finally{try{c||null==i.return||i.return()}finally{if(a)throw r}}return d}}(t,e)||x(t,e)||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 L(t){return function(t){if(Array.isArray(t))return X(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||x(t)||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 x(t,e){if(t){if("string"==typeof t)return X(t,e);var i={}.toString.call(t).slice(8,-1);return"Object"===i&&t.constructor&&(i=t.constructor.name),"Map"===i||"Set"===i?Array.from(t):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?X(t,e):void 0}}function X(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,n=Array(e);e>i;i++)n[i]=t[i];return n}function I(t,e){var i="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!i){if(Array.isArray(t)||(i=x(t))||e&&t&&"number"==typeof t.length){i&&(t=i);var n=0,r=function(){};return{s:r,n:function(){return narguments.length?ot(st[t]):st[t]&&st[t][e]},mt=z({}.isPrototypeOf),pt=ut("navigator","userAgent")||"",yt=W,bt=pt,ht=yt.process,Zt=yt.Deno,ft=ht&&ht.versions||Zt&&Zt.version,Lt=ft&&ft.v8;Lt&&(J=(C=Lt.split("."))[0]>0&&4>C[0]?1:+(C[0]+C[1])),!J&&bt&&((C=bt.match(/Edge\/(\d+)/))&&74>C[1]||(C=bt.match(/Chrome\/(\d+)/))&&(J=+C[1]));var xt=J,Xt=xt,It=!!Object.getOwnPropertySymbols&&!S((function(){var t=Symbol();return!(t+"")||!(Object(t)instanceof Symbol)||!Symbol.sham&&Xt&&41>Xt})),Gt=It&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,Kt=ut,Wt=dt,vt=mt,St=Object,wt=Gt?function(t){return"symbol"==typeof t}:function(t){var e=Kt("Symbol");return Wt(e)&&vt(e.prototype,St(t))},gt=String,Yt=function(t){try{return gt(t)}catch(t){return"Object"}},Vt=dt,Tt=Yt,Ht=TypeError,kt=function(t){if(Vt(t))return t;throw Ht(Tt(t)+" is not a function")},Pt=kt,Ct=function(t,e){var i=t[e];return null==i?void 0:Pt(i)},Jt=V,Mt=dt,Rt=at,Dt=TypeError,Ut={exports:{}},Nt=W,jt=Object.defineProperty,zt=function(t,e){try{jt(Nt,t,{value:e,configurable:!0,writable:!0})}catch(i){Nt[t]=e}return e},Ft=zt,Et="__core-js_shared__",Qt=W[Et]||Ft(Et,{}),Ot=Qt;(Ut.exports=function(t,e){return Ot[t]||(Ot[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.23.2",mode:"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.23.2/LICENSE",source:"https://github.com/zloirock/core-js"});var Bt=et,At=Object,_t=function(t){return At(Bt(t))},qt=_t,$t=z({}.hasOwnProperty),te=Object.hasOwn||function(t,e){return $t(qt(t),e)},ee=z,ie=0,ne=Math.random(),re=ee(1..toString),de=function(t){return"Symbol("+(void 0===t?"":t)+")_"+re(++ie+ne,36)},ce=W,ae=Ut.exports,se=te,le=de,oe=It,ue=Gt,me=ae("wks"),pe=ce.Symbol,ye=pe&&pe.for,be=ue?pe:pe&&pe.withoutSetter||le,he=function(t){if(!se(me,t)||!oe&&"string"!=typeof me[t]){var e="Symbol."+t;oe&&se(pe,t)?me[t]=pe[t]:me[t]=ue&&ye?ye(e):be(e)}return me[t]},Ze=V,fe=at,Le=wt,xe=Ct,Xe=TypeError,Ie=he("toPrimitive"),Ge=function(t,e){if(!fe(t)||Le(t))return t;var i,n=xe(t,Ie);if(n){if(void 0===e&&(e="default"),i=Ze(n,t,e),!fe(i)||Le(i))return i;throw Xe("Can't convert object to primitive value")}return void 0===e&&(e="number"),function(t,e){var i,n;if("string"===e&&Mt(i=t.toString)&&!Rt(n=Jt(i,t)))return n;if(Mt(i=t.valueOf)&&!Rt(n=Jt(i,t)))return n;if("string"!==e&&Mt(i=t.toString)&&!Rt(n=Jt(i,t)))return n;throw Dt("Can't convert object to primitive value")}(t,e)},Ke=Ge,We=wt,ve=function(t){var e=Ke(t,"string");return We(e)?e:e+""},Se=at,we=W.document,ge=Se(we)&&Se(we.createElement),Ye=function(t){return ge?we.createElement(t):{}},Ve=Ye,Te=!w&&!S((function(){return 7!=Object.defineProperty(Ve("div"),"a",{get:function(){return 7}}).a})),He=w,ke=V,Pe=T,Ce=M,Je=rt,Me=ve,Re=te,De=Te,Ue=Object.getOwnPropertyDescriptor;v.f=He?Ue:function(t,e){if(t=Je(t),e=Me(e),De)try{return Ue(t,e)}catch(t){}if(Re(t,e))return Ce(!ke(Pe.f,t,e),t[e])};var Ne={},je=w&&S((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),ze=at,Fe=String,Ee=TypeError,Qe=function(t){if(ze(t))return t;throw Ee(Fe(t)+" is not an object")},Oe=w,Be=Te,Ae=je,_e=Qe,qe=ve,$e=TypeError,ti=Object.defineProperty,ei=Object.getOwnPropertyDescriptor;Ne.f=Oe?Ae?function(t,e,i){if(_e(t),e=qe(e),_e(i),"function"==typeof t&&"prototype"===e&&"value"in i&&"writable"in i&&!i.writable){var n=ei(t,e);n&&n.writable&&(t[e]=i.value,i={configurable:"configurable"in i?i.configurable:n.configurable,enumerable:"enumerable"in i?i.enumerable:n.enumerable,writable:!1})}return ti(t,e,i)}:ti:function(t,e,i){if(_e(t),e=qe(e),_e(i),Be)try{return ti(t,e,i)}catch(t){}if("get"in i||"set"in i)throw $e("Accessors not supported");return"value"in i&&(t[e]=i.value),t};var ii=Ne,ni=M,ri=w?function(t,e,i){return ii.f(t,e,ni(1,i))}:function(t,e,i){return t[e]=i,t},di={exports:{}},ci=w,ai=Function.prototype,si=ci&&Object.getOwnPropertyDescriptor,li=te(ai,"name"),oi={EXISTS:li,PROPER:li&&!1,CONFIGURABLE:li&&(!ci||ci&&si(ai,"name").configurable)},ui=dt,mi=Qt,pi=z(Function.toString);ui(mi.inspectSource)||(mi.inspectSource=function(t){return pi(t)});var yi,bi,hi,Zi=mi.inspectSource,fi=dt,Li=Zi,xi=W.WeakMap,Xi=fi(xi)&&/native code/.test(Li(xi)),Ii=Ut.exports,Gi=de,Ki=Ii("keys"),Wi=function(t){return Ki[t]||(Ki[t]=Gi(t))},vi={},Si=Xi,wi=W,gi=z,Yi=at,Vi=ri,Ti=te,Hi=Qt,ki=Wi,Pi=vi,Ci="Object already initialized",Ji=wi.TypeError,Mi=wi.WeakMap;if(Si||Hi.state){var Ri=Hi.state||(Hi.state=new Mi),Di=gi(Ri.get),Ui=gi(Ri.has),Ni=gi(Ri.set);yi=function(t,e){if(Ui(Ri,t))throw new Ji(Ci);return e.facade=t,Ni(Ri,t,e),e},bi=function(t){return Di(Ri,t)||{}},hi=function(t){return Ui(Ri,t)}}else{var ji=ki("state");Pi[ji]=!0,yi=function(t,e){if(Ti(t,ji))throw new Ji(Ci);return e.facade=t,Vi(t,ji,e),e},bi=function(t){return Ti(t,ji)?t[ji]:{}},hi=function(t){return Ti(t,ji)}}var zi={set:yi,get:bi,has:hi,enforce:function(t){return hi(t)?bi(t):yi(t,{})},getterFor:function(t){return function(e){var i;if(!Yi(e)||(i=bi(e)).type!==t)throw Ji("Incompatible receiver, "+t+" required");return i}}},Fi=dt,Ei=te,Qi=w,Oi=oi.CONFIGURABLE,Bi=Zi,Ai=zi.enforce,_i=zi.get,qi=Object.defineProperty,$i=Qi&&!S((function(){return 8!==qi((function(){}),"length",{value:8}).length})),tn=(String+"").split("String"),en=di.exports=function(t,e,i){"Symbol("===(e+"").slice(0,7)&&(e="["+(e+"").replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),i&&i.getter&&(e="get "+e),i&&i.setter&&(e="set "+e),(!Ei(t,"name")||Oi&&t.name!==e)&&qi(t,"name",{value:e,configurable:!0}),$i&&i&&Ei(i,"arity")&&t.length!==i.arity&&qi(t,"length",{value:i.arity});try{i&&Ei(i,"constructor")&&i.constructor?Qi&&qi(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(t){}var n=Ai(t);return Ei(n,"source")||(n.source=tn.join("string"==typeof e?e:"")),t};Function.prototype.toString=en((function(){return Fi(this)&&_i(this).source||Bi(this)}),"toString");var nn=dt,rn=Ne,dn=di.exports,cn=zt,an=function(t,e,i,n){n||(n={});var r=n.enumerable,d=void 0!==n.name?n.name:e;return nn(i)&&dn(i,d,n),n.global?r?t[e]=i:cn(e,i):(n.unsafe?t[e]&&(r=!0):delete t[e],r?t[e]=i:rn.f(t,e,{value:i,enumerable:!1,configurable:!n.nonConfigurable,writable:!n.nonWritable})),t},sn={},ln=Math.ceil,on=Math.floor,un=Math.trunc||function(t){var e=+t;return(e>0?on:ln)(e)},mn=function(t){var e=+t;return e!=e||0===e?0:un(e)},pn=mn,yn=Math.max,bn=Math.min,hn=function(t,e){var i=pn(t);return 0>i?yn(i+e,0):bn(i,e)},Zn=mn,fn=Math.min,Ln=function(t){return t>0?fn(Zn(t),9007199254740991):0},xn=Ln,Xn=function(t){return xn(t.length)},In=rt,Gn=hn,Kn=Xn,Wn=function(t){return function(e,i,n){var r,d=In(e),c=Kn(d),a=Gn(n,c);if(t&&i!=i){for(;c>a;)if((r=d[a++])!=r)return!0}else for(;c>a;a++)if((t||a in d)&&d[a]===i)return t||a||0;return!t&&-1}},vn={includes:Wn(!0),indexOf:Wn(!1)},Sn=te,wn=rt,gn=vn.indexOf,Yn=vi,Vn=z([].push),Tn=function(t,e){var i,n=wn(t),r=0,d=[];for(i in n)!Sn(Yn,i)&&Sn(n,i)&&Vn(d,i);for(;e.length>r;)Sn(n,i=e[r++])&&(~gn(d,i)||Vn(d,i));return d},Hn=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],kn=Tn,Pn=Hn.concat("length","prototype");sn.f=Object.getOwnPropertyNames||function(t){return kn(t,Pn)};var Cn={};Cn.f=Object.getOwnPropertySymbols;var Jn=ut,Mn=sn,Rn=Cn,Dn=Qe,Un=z([].concat),Nn=Jn("Reflect","ownKeys")||function(t){var e=Mn.f(Dn(t)),i=Rn.f;return i?Un(e,i(t)):e},jn=te,zn=Nn,Fn=v,En=Ne,Qn=function(t,e,i){for(var n=zn(e),r=En.f,d=Fn.f,c=0;cf;f++)if((a||f in b)&&(p=h(m=b[f],f,y),t))if(e)x[f]=p;else if(p)switch(t){case 3:return!0;case 5:return m;case 6:return f;case 2:_r(x,m)}else switch(t){case 4:return!1;case 7:_r(x,m)}return d?-1:n||r?r:x}},$r={forEach:qr(0),map:qr(1),filter:qr(2),some:qr(3),every:qr(4),find:qr(5),findIndex:qr(6),filterReject:qr(7)},td=S,ed=xt,id=he("species"),nd=function(t){return ed>=51||!td((function(){var e=[];return(e.constructor={})[id]=function(){return{foo:1}},1!==e[t](Boolean).foo}))},rd=$r.map;or({target:"Array",proto:!0,forced:!nd("map")},{map:function(t){return rd(this,t,arguments.length>1?arguments[1]:void 0)}});var dd=_t,cd=hn,ad=Xn,sd=function(t){for(var e=dd(this),i=ad(e),n=arguments.length,r=cd(n>1?arguments[1]:void 0,i),d=n>2?arguments[2]:void 0,c=void 0===d?i:cd(d,i);c>r;)e[r++]=t;return e},ld={},od=Tn,ud=Hn,md=Object.keys||function(t){return od(t,ud)},pd=w,yd=je,bd=Ne,hd=Qe,Zd=rt,fd=md;ld.f=pd&&!yd?Object.defineProperties:function(t,e){hd(t);for(var i,n=Zd(e),r=fd(e),d=r.length,c=0;d>c;)bd.f(t,i=r[c++],n[i]);return t};var Ld,xd=ut("document","documentElement"),Xd=Qe,Id=ld,Gd=Hn,Kd=vi,Wd=xd,vd=Ye,Sd=Wi("IE_PROTO"),wd=function(){},gd=function(t){return"