openlearn-next 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +170 -0
- package/cli.mjs +54 -0
- package/dist/assets/courseware-Djq-abmg.js +1 -0
- package/dist/assets/index-C7UCwTHr.js +899 -0
- package/dist/assets/index-ZE_dOjBv.css +1 -0
- package/dist/assets/index.es-XZ-ZZfm5.js +18 -0
- package/dist/assets/purify.es-V6uLfjnH.js +3 -0
- package/dist/assets/vendor-html2canvas-B0tyYwQk.js +22 -0
- package/dist/assets/vendor-konva-BRP-lFzZ.js +89 -0
- package/dist/assets/vendor-pptx-w8e1eCEK.js +39 -0
- package/dist/assets/vendor-reveal-DcQQzuI9.css +1 -0
- package/dist/assets/whiteboard-FFuMxeyx.js +8308 -0
- package/dist/index.html +26 -0
- package/dist/plugins/ext-ai-quiz-pro.zip +0 -0
- package/dist/plugins/ext-hello-world.zip +0 -0
- package/dist/plugins/ext-memo.zip +0 -0
- package/dist/plugins/ext-mindmap-assistant.zip +0 -0
- package/dist/plugins/ext-quiz-generator.zip +0 -0
- package/dist/plugins/ext-raffle-vote.zip +0 -0
- package/dist/plugins/ext-roll-call.zip +0 -0
- package/dist/server.cjs +14284 -0
- package/package.json +109 -0
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import{c as yr,g as tg}from"./vendor-konva-BRP-lFzZ.js";function ti(v){throw new Error('Could not dynamically require "'+v+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var vs={exports:{}};/*!
|
|
2
|
+
|
|
3
|
+
JSZip v3.10.1 - A JavaScript class for generating and reading zip files
|
|
4
|
+
<http://stuartk.com/jszip>
|
|
5
|
+
|
|
6
|
+
(c) 2009-2016 Stuart Knightley <stuart [at] stuartk.com>
|
|
7
|
+
Dual licenced under the MIT license or GPLv3. See https://raw.github.com/Stuk/jszip/main/LICENSE.markdown.
|
|
8
|
+
|
|
9
|
+
JSZip uses the library pako released under the MIT license :
|
|
10
|
+
https://github.com/nodeca/pako/blob/main/LICENSE
|
|
11
|
+
*/var nu;function eg(){return nu||(nu=1,(function(v,o){(function(n){v.exports=n()})(function(){return(function n(s,u,a){function l(S,C){if(!u[S]){if(!s[S]){var k=typeof ti=="function"&&ti;if(!C&&k)return k(S,!0);if(c)return c(S,!0);var I=new Error("Cannot find module '"+S+"'");throw I.code="MODULE_NOT_FOUND",I}var w=u[S]={exports:{}};s[S][0].call(w.exports,function(P){var _=s[S][1][P];return l(_||P)},w,w.exports,n,s,u,a)}return u[S].exports}for(var c=typeof ti=="function"&&ti,g=0;g<a.length;g++)l(a[g]);return l})({1:[function(n,s,u){var a=n("./utils"),l=n("./support"),c="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";u.encode=function(g){for(var S,C,k,I,w,P,_,x=[],d=0,m=g.length,A=m,R=a.getTypeOf(g)!=="string";d<g.length;)A=m-d,k=R?(S=g[d++],C=d<m?g[d++]:0,d<m?g[d++]:0):(S=g.charCodeAt(d++),C=d<m?g.charCodeAt(d++):0,d<m?g.charCodeAt(d++):0),I=S>>2,w=(3&S)<<4|C>>4,P=1<A?(15&C)<<2|k>>6:64,_=2<A?63&k:64,x.push(c.charAt(I)+c.charAt(w)+c.charAt(P)+c.charAt(_));return x.join("")},u.decode=function(g){var S,C,k,I,w,P,_=0,x=0,d="data:";if(g.substr(0,d.length)===d)throw new Error("Invalid base64 input, it looks like a data url.");var m,A=3*(g=g.replace(/[^A-Za-z0-9+/=]/g,"")).length/4;if(g.charAt(g.length-1)===c.charAt(64)&&A--,g.charAt(g.length-2)===c.charAt(64)&&A--,A%1!=0)throw new Error("Invalid base64 input, bad content length.");for(m=l.uint8array?new Uint8Array(0|A):new Array(0|A);_<g.length;)S=c.indexOf(g.charAt(_++))<<2|(I=c.indexOf(g.charAt(_++)))>>4,C=(15&I)<<4|(w=c.indexOf(g.charAt(_++)))>>2,k=(3&w)<<6|(P=c.indexOf(g.charAt(_++))),m[x++]=S,w!==64&&(m[x++]=C),P!==64&&(m[x++]=k);return m}},{"./support":30,"./utils":32}],2:[function(n,s,u){var a=n("./external"),l=n("./stream/DataWorker"),c=n("./stream/Crc32Probe"),g=n("./stream/DataLengthProbe");function S(C,k,I,w,P){this.compressedSize=C,this.uncompressedSize=k,this.crc32=I,this.compression=w,this.compressedContent=P}S.prototype={getContentWorker:function(){var C=new l(a.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new g("data_length")),k=this;return C.on("end",function(){if(this.streamInfo.data_length!==k.uncompressedSize)throw new Error("Bug : uncompressed data size mismatch")}),C},getCompressedWorker:function(){return new l(a.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}},S.createWorkerFrom=function(C,k,I){return C.pipe(new c).pipe(new g("uncompressedSize")).pipe(k.compressWorker(I)).pipe(new g("compressedSize")).withStreamInfo("compression",k)},s.exports=S},{"./external":6,"./stream/Crc32Probe":25,"./stream/DataLengthProbe":26,"./stream/DataWorker":27}],3:[function(n,s,u){var a=n("./stream/GenericWorker");u.STORE={magic:"\0\0",compressWorker:function(){return new a("STORE compression")},uncompressWorker:function(){return new a("STORE decompression")}},u.DEFLATE=n("./flate")},{"./flate":7,"./stream/GenericWorker":28}],4:[function(n,s,u){var a=n("./utils"),l=(function(){for(var c,g=[],S=0;S<256;S++){c=S;for(var C=0;C<8;C++)c=1&c?3988292384^c>>>1:c>>>1;g[S]=c}return g})();s.exports=function(c,g){return c!==void 0&&c.length?a.getTypeOf(c)!=="string"?(function(S,C,k,I){var w=l,P=I+k;S^=-1;for(var _=I;_<P;_++)S=S>>>8^w[255&(S^C[_])];return-1^S})(0|g,c,c.length,0):(function(S,C,k,I){var w=l,P=I+k;S^=-1;for(var _=I;_<P;_++)S=S>>>8^w[255&(S^C.charCodeAt(_))];return-1^S})(0|g,c,c.length,0):0}},{"./utils":32}],5:[function(n,s,u){u.base64=!1,u.binary=!1,u.dir=!1,u.createFolders=!0,u.date=null,u.compression=null,u.compressionOptions=null,u.comment=null,u.unixPermissions=null,u.dosPermissions=null},{}],6:[function(n,s,u){var a=null;a=typeof Promise<"u"?Promise:n("lie"),s.exports={Promise:a}},{lie:37}],7:[function(n,s,u){var a=typeof Uint8Array<"u"&&typeof Uint16Array<"u"&&typeof Uint32Array<"u",l=n("pako"),c=n("./utils"),g=n("./stream/GenericWorker"),S=a?"uint8array":"array";function C(k,I){g.call(this,"FlateWorker/"+k),this._pako=null,this._pakoAction=k,this._pakoOptions=I,this.meta={}}u.magic="\b\0",c.inherits(C,g),C.prototype.processChunk=function(k){this.meta=k.meta,this._pako===null&&this._createPako(),this._pako.push(c.transformTo(S,k.data),!1)},C.prototype.flush=function(){g.prototype.flush.call(this),this._pako===null&&this._createPako(),this._pako.push([],!0)},C.prototype.cleanUp=function(){g.prototype.cleanUp.call(this),this._pako=null},C.prototype._createPako=function(){this._pako=new l[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var k=this;this._pako.onData=function(I){k.push({data:I,meta:k.meta})}},u.compressWorker=function(k){return new C("Deflate",k)},u.uncompressWorker=function(){return new C("Inflate",{})}},{"./stream/GenericWorker":28,"./utils":32,pako:38}],8:[function(n,s,u){function a(w,P){var _,x="";for(_=0;_<P;_++)x+=String.fromCharCode(255&w),w>>>=8;return x}function l(w,P,_,x,d,m){var A,R,T=w.file,U=w.compression,Z=m!==S.utf8encode,J=c.transformTo("string",m(T.name)),H=c.transformTo("string",S.utf8encode(T.name)),ot=T.comment,gt=c.transformTo("string",m(ot)),B=c.transformTo("string",S.utf8encode(ot)),$=H.length!==T.name.length,p=B.length!==ot.length,V="",yt="",st="",xt=T.dir,nt=T.date,bt={crc32:0,compressedSize:0,uncompressedSize:0};P&&!_||(bt.crc32=w.crc32,bt.compressedSize=w.compressedSize,bt.uncompressedSize=w.uncompressedSize);var G=0;P&&(G|=8),Z||!$&&!p||(G|=2048);var W=0,mt=0;xt&&(W|=16),d==="UNIX"?(mt=798,W|=(function(lt,Mt){var $t=lt;return lt||($t=Mt?16893:33204),(65535&$t)<<16})(T.unixPermissions,xt)):(mt=20,W|=(function(lt){return 63&(lt||0)})(T.dosPermissions)),A=nt.getUTCHours(),A<<=6,A|=nt.getUTCMinutes(),A<<=5,A|=nt.getUTCSeconds()/2,R=nt.getUTCFullYear()-1980,R<<=4,R|=nt.getUTCMonth()+1,R<<=5,R|=nt.getUTCDate(),$&&(yt=a(1,1)+a(C(J),4)+H,V+="up"+a(yt.length,2)+yt),p&&(st=a(1,1)+a(C(gt),4)+B,V+="uc"+a(st.length,2)+st);var ht="";return ht+=`
|
|
12
|
+
\0`,ht+=a(G,2),ht+=U.magic,ht+=a(A,2),ht+=a(R,2),ht+=a(bt.crc32,4),ht+=a(bt.compressedSize,4),ht+=a(bt.uncompressedSize,4),ht+=a(J.length,2),ht+=a(V.length,2),{fileRecord:k.LOCAL_FILE_HEADER+ht+J+V,dirRecord:k.CENTRAL_FILE_HEADER+a(mt,2)+ht+a(gt.length,2)+"\0\0\0\0"+a(W,4)+a(x,4)+J+V+gt}}var c=n("../utils"),g=n("../stream/GenericWorker"),S=n("../utf8"),C=n("../crc32"),k=n("../signature");function I(w,P,_,x){g.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=P,this.zipPlatform=_,this.encodeFileName=x,this.streamFiles=w,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}c.inherits(I,g),I.prototype.push=function(w){var P=w.meta.percent||0,_=this.entriesCount,x=this._sources.length;this.accumulate?this.contentBuffer.push(w):(this.bytesWritten+=w.data.length,g.prototype.push.call(this,{data:w.data,meta:{currentFile:this.currentFile,percent:_?(P+100*(_-x-1))/_:100}}))},I.prototype.openedSource=function(w){this.currentSourceOffset=this.bytesWritten,this.currentFile=w.file.name;var P=this.streamFiles&&!w.file.dir;if(P){var _=l(w,P,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:_.fileRecord,meta:{percent:0}})}else this.accumulate=!0},I.prototype.closedSource=function(w){this.accumulate=!1;var P=this.streamFiles&&!w.file.dir,_=l(w,P,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(_.dirRecord),P)this.push({data:(function(x){return k.DATA_DESCRIPTOR+a(x.crc32,4)+a(x.compressedSize,4)+a(x.uncompressedSize,4)})(w),meta:{percent:100}});else for(this.push({data:_.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},I.prototype.flush=function(){for(var w=this.bytesWritten,P=0;P<this.dirRecords.length;P++)this.push({data:this.dirRecords[P],meta:{percent:100}});var _=this.bytesWritten-w,x=(function(d,m,A,R,T){var U=c.transformTo("string",T(R));return k.CENTRAL_DIRECTORY_END+"\0\0\0\0"+a(d,2)+a(d,2)+a(m,4)+a(A,4)+a(U.length,2)+U})(this.dirRecords.length,_,w,this.zipComment,this.encodeFileName);this.push({data:x,meta:{percent:100}})},I.prototype.prepareNextSource=function(){this.previous=this._sources.shift(),this.openedSource(this.previous.streamInfo),this.isPaused?this.previous.pause():this.previous.resume()},I.prototype.registerPrevious=function(w){this._sources.push(w);var P=this;return w.on("data",function(_){P.processChunk(_)}),w.on("end",function(){P.closedSource(P.previous.streamInfo),P._sources.length?P.prepareNextSource():P.end()}),w.on("error",function(_){P.error(_)}),this},I.prototype.resume=function(){return!!g.prototype.resume.call(this)&&(!this.previous&&this._sources.length?(this.prepareNextSource(),!0):this.previous||this._sources.length||this.generatedError?void 0:(this.end(),!0))},I.prototype.error=function(w){var P=this._sources;if(!g.prototype.error.call(this,w))return!1;for(var _=0;_<P.length;_++)try{P[_].error(w)}catch{}return!0},I.prototype.lock=function(){g.prototype.lock.call(this);for(var w=this._sources,P=0;P<w.length;P++)w[P].lock()},s.exports=I},{"../crc32":4,"../signature":23,"../stream/GenericWorker":28,"../utf8":31,"../utils":32}],9:[function(n,s,u){var a=n("../compressions"),l=n("./ZipFileWorker");u.generateWorker=function(c,g,S){var C=new l(g.streamFiles,S,g.platform,g.encodeFileName),k=0;try{c.forEach(function(I,w){k++;var P=(function(m,A){var R=m||A,T=a[R];if(!T)throw new Error(R+" is not a valid compression method !");return T})(w.options.compression,g.compression),_=w.options.compressionOptions||g.compressionOptions||{},x=w.dir,d=w.date;w._compressWorker(P,_).withStreamInfo("file",{name:I,dir:x,date:d,comment:w.comment||"",unixPermissions:w.unixPermissions,dosPermissions:w.dosPermissions}).pipe(C)}),C.entriesCount=k}catch(I){C.error(I)}return C}},{"../compressions":3,"./ZipFileWorker":8}],10:[function(n,s,u){function a(){if(!(this instanceof a))return new a;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 l=new a;for(var c in this)typeof this[c]!="function"&&(l[c]=this[c]);return l}}(a.prototype=n("./object")).loadAsync=n("./load"),a.support=n("./support"),a.defaults=n("./defaults"),a.version="3.10.1",a.loadAsync=function(l,c){return new a().loadAsync(l,c)},a.external=n("./external"),s.exports=a},{"./defaults":5,"./external":6,"./load":11,"./object":15,"./support":30}],11:[function(n,s,u){var a=n("./utils"),l=n("./external"),c=n("./utf8"),g=n("./zipEntries"),S=n("./stream/Crc32Probe"),C=n("./nodejsUtils");function k(I){return new l.Promise(function(w,P){var _=I.decompressed.getContentWorker().pipe(new S);_.on("error",function(x){P(x)}).on("end",function(){_.streamInfo.crc32!==I.decompressed.crc32?P(new Error("Corrupted zip : CRC32 mismatch")):w()}).resume()})}s.exports=function(I,w){var P=this;return w=a.extend(w||{},{base64:!1,checkCRC32:!1,optimizedBinaryString:!1,createFolders:!1,decodeFileName:c.utf8decode}),C.isNode&&C.isStream(I)?l.Promise.reject(new Error("JSZip can't accept a stream when loading a zip file.")):a.prepareContent("the loaded zip file",I,!0,w.optimizedBinaryString,w.base64).then(function(_){var x=new g(w);return x.load(_),x}).then(function(_){var x=[l.Promise.resolve(_)],d=_.files;if(w.checkCRC32)for(var m=0;m<d.length;m++)x.push(k(d[m]));return l.Promise.all(x)}).then(function(_){for(var x=_.shift(),d=x.files,m=0;m<d.length;m++){var A=d[m],R=A.fileNameStr,T=a.resolve(A.fileNameStr);P.file(T,A.decompressed,{binary:!0,optimizedBinaryString:!0,date:A.date,dir:A.dir,comment:A.fileCommentStr.length?A.fileCommentStr:null,unixPermissions:A.unixPermissions,dosPermissions:A.dosPermissions,createFolders:w.createFolders}),A.dir||(P.file(T).unsafeOriginalName=R)}return x.zipComment.length&&(P.comment=x.zipComment),P})}},{"./external":6,"./nodejsUtils":14,"./stream/Crc32Probe":25,"./utf8":31,"./utils":32,"./zipEntries":33}],12:[function(n,s,u){var a=n("../utils"),l=n("../stream/GenericWorker");function c(g,S){l.call(this,"Nodejs stream input adapter for "+g),this._upstreamEnded=!1,this._bindStream(S)}a.inherits(c,l),c.prototype._bindStream=function(g){var S=this;(this._stream=g).pause(),g.on("data",function(C){S.push({data:C,meta:{percent:0}})}).on("error",function(C){S.isPaused?this.generatedError=C:S.error(C)}).on("end",function(){S.isPaused?S._upstreamEnded=!0:S.end()})},c.prototype.pause=function(){return!!l.prototype.pause.call(this)&&(this._stream.pause(),!0)},c.prototype.resume=function(){return!!l.prototype.resume.call(this)&&(this._upstreamEnded?this.end():this._stream.resume(),!0)},s.exports=c},{"../stream/GenericWorker":28,"../utils":32}],13:[function(n,s,u){var a=n("readable-stream").Readable;function l(c,g,S){a.call(this,g),this._helper=c;var C=this;c.on("data",function(k,I){C.push(k)||C._helper.pause(),S&&S(I)}).on("error",function(k){C.emit("error",k)}).on("end",function(){C.push(null)})}n("../utils").inherits(l,a),l.prototype._read=function(){this._helper.resume()},s.exports=l},{"../utils":32,"readable-stream":16}],14:[function(n,s,u){s.exports={isNode:typeof Buffer<"u",newBufferFrom:function(a,l){if(Buffer.from&&Buffer.from!==Uint8Array.from)return Buffer.from(a,l);if(typeof a=="number")throw new Error('The "data" argument must not be a number');return new Buffer(a,l)},allocBuffer:function(a){if(Buffer.alloc)return Buffer.alloc(a);var l=new Buffer(a);return l.fill(0),l},isBuffer:function(a){return Buffer.isBuffer(a)},isStream:function(a){return a&&typeof a.on=="function"&&typeof a.pause=="function"&&typeof a.resume=="function"}}},{}],15:[function(n,s,u){function a(T,U,Z){var J,H=c.getTypeOf(U),ot=c.extend(Z||{},C);ot.date=ot.date||new Date,ot.compression!==null&&(ot.compression=ot.compression.toUpperCase()),typeof ot.unixPermissions=="string"&&(ot.unixPermissions=parseInt(ot.unixPermissions,8)),ot.unixPermissions&&16384&ot.unixPermissions&&(ot.dir=!0),ot.dosPermissions&&16&ot.dosPermissions&&(ot.dir=!0),ot.dir&&(T=d(T)),ot.createFolders&&(J=x(T))&&m.call(this,J,!0);var gt=H==="string"&&ot.binary===!1&&ot.base64===!1;Z&&Z.binary!==void 0||(ot.binary=!gt),(U instanceof k&&U.uncompressedSize===0||ot.dir||!U||U.length===0)&&(ot.base64=!1,ot.binary=!0,U="",ot.compression="STORE",H="string");var B=null;B=U instanceof k||U instanceof g?U:P.isNode&&P.isStream(U)?new _(T,U):c.prepareContent(T,U,ot.binary,ot.optimizedBinaryString,ot.base64);var $=new I(T,B,ot);this.files[T]=$}var l=n("./utf8"),c=n("./utils"),g=n("./stream/GenericWorker"),S=n("./stream/StreamHelper"),C=n("./defaults"),k=n("./compressedObject"),I=n("./zipObject"),w=n("./generate"),P=n("./nodejsUtils"),_=n("./nodejs/NodejsStreamInputAdapter"),x=function(T){T.slice(-1)==="/"&&(T=T.substring(0,T.length-1));var U=T.lastIndexOf("/");return 0<U?T.substring(0,U):""},d=function(T){return T.slice(-1)!=="/"&&(T+="/"),T},m=function(T,U){return U=U!==void 0?U:C.createFolders,T=d(T),this.files[T]||a.call(this,T,null,{dir:!0,createFolders:U}),this.files[T]};function A(T){return Object.prototype.toString.call(T)==="[object RegExp]"}var R={load:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},forEach:function(T){var U,Z,J;for(U in this.files)J=this.files[U],(Z=U.slice(this.root.length,U.length))&&U.slice(0,this.root.length)===this.root&&T(Z,J)},filter:function(T){var U=[];return this.forEach(function(Z,J){T(Z,J)&&U.push(J)}),U},file:function(T,U,Z){if(arguments.length!==1)return T=this.root+T,a.call(this,T,U,Z),this;if(A(T)){var J=T;return this.filter(function(ot,gt){return!gt.dir&&J.test(ot)})}var H=this.files[this.root+T];return H&&!H.dir?H:null},folder:function(T){if(!T)return this;if(A(T))return this.filter(function(H,ot){return ot.dir&&T.test(H)});var U=this.root+T,Z=m.call(this,U),J=this.clone();return J.root=Z.name,J},remove:function(T){T=this.root+T;var U=this.files[T];if(U||(T.slice(-1)!=="/"&&(T+="/"),U=this.files[T]),U&&!U.dir)delete this.files[T];else for(var Z=this.filter(function(H,ot){return ot.name.slice(0,T.length)===T}),J=0;J<Z.length;J++)delete this.files[Z[J].name];return this},generate:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},generateInternalStream:function(T){var U,Z={};try{if((Z=c.extend(T||{},{streamFiles:!1,compression:"STORE",compressionOptions:null,type:"",platform:"DOS",comment:null,mimeType:"application/zip",encodeFileName:l.utf8encode})).type=Z.type.toLowerCase(),Z.compression=Z.compression.toUpperCase(),Z.type==="binarystring"&&(Z.type="string"),!Z.type)throw new Error("No output type specified.");c.checkSupport(Z.type),Z.platform!=="darwin"&&Z.platform!=="freebsd"&&Z.platform!=="linux"&&Z.platform!=="sunos"||(Z.platform="UNIX"),Z.platform==="win32"&&(Z.platform="DOS");var J=Z.comment||this.comment||"";U=w.generateWorker(this,Z,J)}catch(H){(U=new g("error")).error(H)}return new S(U,Z.type||"string",Z.mimeType)},generateAsync:function(T,U){return this.generateInternalStream(T).accumulate(U)},generateNodeStream:function(T,U){return(T=T||{}).type||(T.type="nodebuffer"),this.generateInternalStream(T).toNodejsStream(U)}};s.exports=R},{"./compressedObject":2,"./defaults":5,"./generate":9,"./nodejs/NodejsStreamInputAdapter":12,"./nodejsUtils":14,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31,"./utils":32,"./zipObject":35}],16:[function(n,s,u){s.exports=n("stream")},{stream:void 0}],17:[function(n,s,u){var a=n("./DataReader");function l(c){a.call(this,c);for(var g=0;g<this.data.length;g++)c[g]=255&c[g]}n("../utils").inherits(l,a),l.prototype.byteAt=function(c){return this.data[this.zero+c]},l.prototype.lastIndexOfSignature=function(c){for(var g=c.charCodeAt(0),S=c.charCodeAt(1),C=c.charCodeAt(2),k=c.charCodeAt(3),I=this.length-4;0<=I;--I)if(this.data[I]===g&&this.data[I+1]===S&&this.data[I+2]===C&&this.data[I+3]===k)return I-this.zero;return-1},l.prototype.readAndCheckSignature=function(c){var g=c.charCodeAt(0),S=c.charCodeAt(1),C=c.charCodeAt(2),k=c.charCodeAt(3),I=this.readData(4);return g===I[0]&&S===I[1]&&C===I[2]&&k===I[3]},l.prototype.readData=function(c){if(this.checkOffset(c),c===0)return[];var g=this.data.slice(this.zero+this.index,this.zero+this.index+c);return this.index+=c,g},s.exports=l},{"../utils":32,"./DataReader":18}],18:[function(n,s,u){var a=n("../utils");function l(c){this.data=c,this.length=c.length,this.index=0,this.zero=0}l.prototype={checkOffset:function(c){this.checkIndex(this.index+c)},checkIndex:function(c){if(this.length<this.zero+c||c<0)throw new Error("End of data reached (data length = "+this.length+", asked index = "+c+"). Corrupted zip ?")},setIndex:function(c){this.checkIndex(c),this.index=c},skip:function(c){this.setIndex(this.index+c)},byteAt:function(){},readInt:function(c){var g,S=0;for(this.checkOffset(c),g=this.index+c-1;g>=this.index;g--)S=(S<<8)+this.byteAt(g);return this.index+=c,S},readString:function(c){return a.transformTo("string",this.readData(c))},readData:function(){},lastIndexOfSignature:function(){},readAndCheckSignature:function(){},readDate:function(){var c=this.readInt(4);return new Date(Date.UTC(1980+(c>>25&127),(c>>21&15)-1,c>>16&31,c>>11&31,c>>5&63,(31&c)<<1))}},s.exports=l},{"../utils":32}],19:[function(n,s,u){var a=n("./Uint8ArrayReader");function l(c){a.call(this,c)}n("../utils").inherits(l,a),l.prototype.readData=function(c){this.checkOffset(c);var g=this.data.slice(this.zero+this.index,this.zero+this.index+c);return this.index+=c,g},s.exports=l},{"../utils":32,"./Uint8ArrayReader":21}],20:[function(n,s,u){var a=n("./DataReader");function l(c){a.call(this,c)}n("../utils").inherits(l,a),l.prototype.byteAt=function(c){return this.data.charCodeAt(this.zero+c)},l.prototype.lastIndexOfSignature=function(c){return this.data.lastIndexOf(c)-this.zero},l.prototype.readAndCheckSignature=function(c){return c===this.readData(4)},l.prototype.readData=function(c){this.checkOffset(c);var g=this.data.slice(this.zero+this.index,this.zero+this.index+c);return this.index+=c,g},s.exports=l},{"../utils":32,"./DataReader":18}],21:[function(n,s,u){var a=n("./ArrayReader");function l(c){a.call(this,c)}n("../utils").inherits(l,a),l.prototype.readData=function(c){if(this.checkOffset(c),c===0)return new Uint8Array(0);var g=this.data.subarray(this.zero+this.index,this.zero+this.index+c);return this.index+=c,g},s.exports=l},{"../utils":32,"./ArrayReader":17}],22:[function(n,s,u){var a=n("../utils"),l=n("../support"),c=n("./ArrayReader"),g=n("./StringReader"),S=n("./NodeBufferReader"),C=n("./Uint8ArrayReader");s.exports=function(k){var I=a.getTypeOf(k);return a.checkSupport(I),I!=="string"||l.uint8array?I==="nodebuffer"?new S(k):l.uint8array?new C(a.transformTo("uint8array",k)):new c(a.transformTo("array",k)):new g(k)}},{"../support":30,"../utils":32,"./ArrayReader":17,"./NodeBufferReader":19,"./StringReader":20,"./Uint8ArrayReader":21}],23:[function(n,s,u){u.LOCAL_FILE_HEADER="PK",u.CENTRAL_FILE_HEADER="PK",u.CENTRAL_DIRECTORY_END="PK",u.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK\x07",u.ZIP64_CENTRAL_DIRECTORY_END="PK",u.DATA_DESCRIPTOR="PK\x07\b"},{}],24:[function(n,s,u){var a=n("./GenericWorker"),l=n("../utils");function c(g){a.call(this,"ConvertWorker to "+g),this.destType=g}l.inherits(c,a),c.prototype.processChunk=function(g){this.push({data:l.transformTo(this.destType,g.data),meta:g.meta})},s.exports=c},{"../utils":32,"./GenericWorker":28}],25:[function(n,s,u){var a=n("./GenericWorker"),l=n("../crc32");function c(){a.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}n("../utils").inherits(c,a),c.prototype.processChunk=function(g){this.streamInfo.crc32=l(g.data,this.streamInfo.crc32||0),this.push(g)},s.exports=c},{"../crc32":4,"../utils":32,"./GenericWorker":28}],26:[function(n,s,u){var a=n("../utils"),l=n("./GenericWorker");function c(g){l.call(this,"DataLengthProbe for "+g),this.propName=g,this.withStreamInfo(g,0)}a.inherits(c,l),c.prototype.processChunk=function(g){if(g){var S=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=S+g.data.length}l.prototype.processChunk.call(this,g)},s.exports=c},{"../utils":32,"./GenericWorker":28}],27:[function(n,s,u){var a=n("../utils"),l=n("./GenericWorker");function c(g){l.call(this,"DataWorker");var S=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type="",this._tickScheduled=!1,g.then(function(C){S.dataIsReady=!0,S.data=C,S.max=C&&C.length||0,S.type=a.getTypeOf(C),S.isPaused||S._tickAndRepeat()},function(C){S.error(C)})}a.inherits(c,l),c.prototype.cleanUp=function(){l.prototype.cleanUp.call(this),this.data=null},c.prototype.resume=function(){return!!l.prototype.resume.call(this)&&(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,a.delay(this._tickAndRepeat,[],this)),!0)},c.prototype._tickAndRepeat=function(){this._tickScheduled=!1,this.isPaused||this.isFinished||(this._tick(),this.isFinished||(a.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))},c.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var g=null,S=Math.min(this.max,this.index+16384);if(this.index>=this.max)return this.end();switch(this.type){case"string":g=this.data.substring(this.index,S);break;case"uint8array":g=this.data.subarray(this.index,S);break;case"array":case"nodebuffer":g=this.data.slice(this.index,S)}return this.index=S,this.push({data:g,meta:{percent:this.max?this.index/this.max*100:0}})},s.exports=c},{"../utils":32,"./GenericWorker":28}],28:[function(n,s,u){function a(l){this.name=l||"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}a.prototype={push:function(l){this.emit("data",l)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit("end"),this.cleanUp(),this.isFinished=!0}catch(l){this.emit("error",l)}return!0},error:function(l){return!this.isFinished&&(this.isPaused?this.generatedError=l:(this.isFinished=!0,this.emit("error",l),this.previous&&this.previous.error(l),this.cleanUp()),!0)},on:function(l,c){return this._listeners[l].push(c),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function(l,c){if(this._listeners[l])for(var g=0;g<this._listeners[l].length;g++)this._listeners[l][g].call(this,c)},pipe:function(l){return l.registerPrevious(this)},registerPrevious:function(l){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.streamInfo=l.streamInfo,this.mergeStreamInfo(),this.previous=l;var c=this;return l.on("data",function(g){c.processChunk(g)}),l.on("end",function(){c.end()}),l.on("error",function(g){c.error(g)}),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;var l=this.isPaused=!1;return this.generatedError&&(this.error(this.generatedError),l=!0),this.previous&&this.previous.resume(),!l},flush:function(){},processChunk:function(l){this.push(l)},withStreamInfo:function(l,c){return this.extraStreamInfo[l]=c,this.mergeStreamInfo(),this},mergeStreamInfo:function(){for(var l in this.extraStreamInfo)Object.prototype.hasOwnProperty.call(this.extraStreamInfo,l)&&(this.streamInfo[l]=this.extraStreamInfo[l])},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 l="Worker "+this.name;return this.previous?this.previous+" -> "+l:l}},s.exports=a},{}],29:[function(n,s,u){var a=n("../utils"),l=n("./ConvertWorker"),c=n("./GenericWorker"),g=n("../base64"),S=n("../support"),C=n("../external"),k=null;if(S.nodestream)try{k=n("../nodejs/NodejsStreamOutputAdapter")}catch{}function I(P,_){return new C.Promise(function(x,d){var m=[],A=P._internalType,R=P._outputType,T=P._mimeType;P.on("data",function(U,Z){m.push(U),_&&_(Z)}).on("error",function(U){m=[],d(U)}).on("end",function(){try{var U=(function(Z,J,H){switch(Z){case"blob":return a.newBlob(a.transformTo("arraybuffer",J),H);case"base64":return g.encode(J);default:return a.transformTo(Z,J)}})(R,(function(Z,J){var H,ot=0,gt=null,B=0;for(H=0;H<J.length;H++)B+=J[H].length;switch(Z){case"string":return J.join("");case"array":return Array.prototype.concat.apply([],J);case"uint8array":for(gt=new Uint8Array(B),H=0;H<J.length;H++)gt.set(J[H],ot),ot+=J[H].length;return gt;case"nodebuffer":return Buffer.concat(J);default:throw new Error("concat : unsupported type '"+Z+"'")}})(A,m),T);x(U)}catch(Z){d(Z)}m=[]}).resume()})}function w(P,_,x){var d=_;switch(_){case"blob":case"arraybuffer":d="uint8array";break;case"base64":d="string"}try{this._internalType=d,this._outputType=_,this._mimeType=x,a.checkSupport(d),this._worker=P.pipe(new l(d)),P.lock()}catch(m){this._worker=new c("error"),this._worker.error(m)}}w.prototype={accumulate:function(P){return I(this,P)},on:function(P,_){var x=this;return P==="data"?this._worker.on(P,function(d){_.call(x,d.data,d.meta)}):this._worker.on(P,function(){a.delay(_,arguments,x)}),this},resume:function(){return a.delay(this._worker.resume,[],this._worker),this},pause:function(){return this._worker.pause(),this},toNodejsStream:function(P){if(a.checkSupport("nodestream"),this._outputType!=="nodebuffer")throw new Error(this._outputType+" is not supported by this method");return new k(this,{objectMode:this._outputType!=="nodebuffer"},P)}},s.exports=w},{"../base64":1,"../external":6,"../nodejs/NodejsStreamOutputAdapter":13,"../support":30,"../utils":32,"./ConvertWorker":24,"./GenericWorker":28}],30:[function(n,s,u){if(u.base64=!0,u.array=!0,u.string=!0,u.arraybuffer=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u",u.nodebuffer=typeof Buffer<"u",u.uint8array=typeof Uint8Array<"u",typeof ArrayBuffer>"u")u.blob=!1;else{var a=new ArrayBuffer(0);try{u.blob=new Blob([a],{type:"application/zip"}).size===0}catch{try{var l=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);l.append(a),u.blob=l.getBlob("application/zip").size===0}catch{u.blob=!1}}}try{u.nodestream=!!n("readable-stream").Readable}catch{u.nodestream=!1}},{"readable-stream":16}],31:[function(n,s,u){for(var a=n("./utils"),l=n("./support"),c=n("./nodejsUtils"),g=n("./stream/GenericWorker"),S=new Array(256),C=0;C<256;C++)S[C]=252<=C?6:248<=C?5:240<=C?4:224<=C?3:192<=C?2:1;S[254]=S[254]=1;function k(){g.call(this,"utf-8 decode"),this.leftOver=null}function I(){g.call(this,"utf-8 encode")}u.utf8encode=function(w){return l.nodebuffer?c.newBufferFrom(w,"utf-8"):(function(P){var _,x,d,m,A,R=P.length,T=0;for(m=0;m<R;m++)(64512&(x=P.charCodeAt(m)))==55296&&m+1<R&&(64512&(d=P.charCodeAt(m+1)))==56320&&(x=65536+(x-55296<<10)+(d-56320),m++),T+=x<128?1:x<2048?2:x<65536?3:4;for(_=l.uint8array?new Uint8Array(T):new Array(T),m=A=0;A<T;m++)(64512&(x=P.charCodeAt(m)))==55296&&m+1<R&&(64512&(d=P.charCodeAt(m+1)))==56320&&(x=65536+(x-55296<<10)+(d-56320),m++),x<128?_[A++]=x:(x<2048?_[A++]=192|x>>>6:(x<65536?_[A++]=224|x>>>12:(_[A++]=240|x>>>18,_[A++]=128|x>>>12&63),_[A++]=128|x>>>6&63),_[A++]=128|63&x);return _})(w)},u.utf8decode=function(w){return l.nodebuffer?a.transformTo("nodebuffer",w).toString("utf-8"):(function(P){var _,x,d,m,A=P.length,R=new Array(2*A);for(_=x=0;_<A;)if((d=P[_++])<128)R[x++]=d;else if(4<(m=S[d]))R[x++]=65533,_+=m-1;else{for(d&=m===2?31:m===3?15:7;1<m&&_<A;)d=d<<6|63&P[_++],m--;1<m?R[x++]=65533:d<65536?R[x++]=d:(d-=65536,R[x++]=55296|d>>10&1023,R[x++]=56320|1023&d)}return R.length!==x&&(R.subarray?R=R.subarray(0,x):R.length=x),a.applyFromCharCode(R)})(w=a.transformTo(l.uint8array?"uint8array":"array",w))},a.inherits(k,g),k.prototype.processChunk=function(w){var P=a.transformTo(l.uint8array?"uint8array":"array",w.data);if(this.leftOver&&this.leftOver.length){if(l.uint8array){var _=P;(P=new Uint8Array(_.length+this.leftOver.length)).set(this.leftOver,0),P.set(_,this.leftOver.length)}else P=this.leftOver.concat(P);this.leftOver=null}var x=(function(m,A){var R;for((A=A||m.length)>m.length&&(A=m.length),R=A-1;0<=R&&(192&m[R])==128;)R--;return R<0||R===0?A:R+S[m[R]]>A?R:A})(P),d=P;x!==P.length&&(l.uint8array?(d=P.subarray(0,x),this.leftOver=P.subarray(x,P.length)):(d=P.slice(0,x),this.leftOver=P.slice(x,P.length))),this.push({data:u.utf8decode(d),meta:w.meta})},k.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:u.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},u.Utf8DecodeWorker=k,a.inherits(I,g),I.prototype.processChunk=function(w){this.push({data:u.utf8encode(w.data),meta:w.meta})},u.Utf8EncodeWorker=I},{"./nodejsUtils":14,"./stream/GenericWorker":28,"./support":30,"./utils":32}],32:[function(n,s,u){var a=n("./support"),l=n("./base64"),c=n("./nodejsUtils"),g=n("./external");function S(_){return _}function C(_,x){for(var d=0;d<_.length;++d)x[d]=255&_.charCodeAt(d);return x}n("setimmediate"),u.newBlob=function(_,x){u.checkSupport("blob");try{return new Blob([_],{type:x})}catch{try{var d=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);return d.append(_),d.getBlob(x)}catch{throw new Error("Bug : can't construct the Blob.")}}};var k={stringifyByChunk:function(_,x,d){var m=[],A=0,R=_.length;if(R<=d)return String.fromCharCode.apply(null,_);for(;A<R;)x==="array"||x==="nodebuffer"?m.push(String.fromCharCode.apply(null,_.slice(A,Math.min(A+d,R)))):m.push(String.fromCharCode.apply(null,_.subarray(A,Math.min(A+d,R)))),A+=d;return m.join("")},stringifyByChar:function(_){for(var x="",d=0;d<_.length;d++)x+=String.fromCharCode(_[d]);return x},applyCanBeUsed:{uint8array:(function(){try{return a.uint8array&&String.fromCharCode.apply(null,new Uint8Array(1)).length===1}catch{return!1}})(),nodebuffer:(function(){try{return a.nodebuffer&&String.fromCharCode.apply(null,c.allocBuffer(1)).length===1}catch{return!1}})()}};function I(_){var x=65536,d=u.getTypeOf(_),m=!0;if(d==="uint8array"?m=k.applyCanBeUsed.uint8array:d==="nodebuffer"&&(m=k.applyCanBeUsed.nodebuffer),m)for(;1<x;)try{return k.stringifyByChunk(_,d,x)}catch{x=Math.floor(x/2)}return k.stringifyByChar(_)}function w(_,x){for(var d=0;d<_.length;d++)x[d]=_[d];return x}u.applyFromCharCode=I;var P={};P.string={string:S,array:function(_){return C(_,new Array(_.length))},arraybuffer:function(_){return P.string.uint8array(_).buffer},uint8array:function(_){return C(_,new Uint8Array(_.length))},nodebuffer:function(_){return C(_,c.allocBuffer(_.length))}},P.array={string:I,array:S,arraybuffer:function(_){return new Uint8Array(_).buffer},uint8array:function(_){return new Uint8Array(_)},nodebuffer:function(_){return c.newBufferFrom(_)}},P.arraybuffer={string:function(_){return I(new Uint8Array(_))},array:function(_){return w(new Uint8Array(_),new Array(_.byteLength))},arraybuffer:S,uint8array:function(_){return new Uint8Array(_)},nodebuffer:function(_){return c.newBufferFrom(new Uint8Array(_))}},P.uint8array={string:I,array:function(_){return w(_,new Array(_.length))},arraybuffer:function(_){return _.buffer},uint8array:S,nodebuffer:function(_){return c.newBufferFrom(_)}},P.nodebuffer={string:I,array:function(_){return w(_,new Array(_.length))},arraybuffer:function(_){return P.nodebuffer.uint8array(_).buffer},uint8array:function(_){return w(_,new Uint8Array(_.length))},nodebuffer:S},u.transformTo=function(_,x){if(x=x||"",!_)return x;u.checkSupport(_);var d=u.getTypeOf(x);return P[d][_](x)},u.resolve=function(_){for(var x=_.split("/"),d=[],m=0;m<x.length;m++){var A=x[m];A==="."||A===""&&m!==0&&m!==x.length-1||(A===".."?d.pop():d.push(A))}return d.join("/")},u.getTypeOf=function(_){return typeof _=="string"?"string":Object.prototype.toString.call(_)==="[object Array]"?"array":a.nodebuffer&&c.isBuffer(_)?"nodebuffer":a.uint8array&&_ instanceof Uint8Array?"uint8array":a.arraybuffer&&_ instanceof ArrayBuffer?"arraybuffer":void 0},u.checkSupport=function(_){if(!a[_.toLowerCase()])throw new Error(_+" is not supported by this platform")},u.MAX_VALUE_16BITS=65535,u.MAX_VALUE_32BITS=-1,u.pretty=function(_){var x,d,m="";for(d=0;d<(_||"").length;d++)m+="\\x"+((x=_.charCodeAt(d))<16?"0":"")+x.toString(16).toUpperCase();return m},u.delay=function(_,x,d){setImmediate(function(){_.apply(d||null,x||[])})},u.inherits=function(_,x){function d(){}d.prototype=x.prototype,_.prototype=new d},u.extend=function(){var _,x,d={};for(_=0;_<arguments.length;_++)for(x in arguments[_])Object.prototype.hasOwnProperty.call(arguments[_],x)&&d[x]===void 0&&(d[x]=arguments[_][x]);return d},u.prepareContent=function(_,x,d,m,A){return g.Promise.resolve(x).then(function(R){return a.blob&&(R instanceof Blob||["[object File]","[object Blob]"].indexOf(Object.prototype.toString.call(R))!==-1)&&typeof FileReader<"u"?new g.Promise(function(T,U){var Z=new FileReader;Z.onload=function(J){T(J.target.result)},Z.onerror=function(J){U(J.target.error)},Z.readAsArrayBuffer(R)}):R}).then(function(R){var T=u.getTypeOf(R);return T?(T==="arraybuffer"?R=u.transformTo("uint8array",R):T==="string"&&(A?R=l.decode(R):d&&m!==!0&&(R=(function(U){return C(U,a.uint8array?new Uint8Array(U.length):new Array(U.length))})(R))),R):g.Promise.reject(new Error("Can't read the data of '"+_+"'. Is it in a supported JavaScript type (String, Blob, ArrayBuffer, etc) ?"))})}},{"./base64":1,"./external":6,"./nodejsUtils":14,"./support":30,setimmediate:54}],33:[function(n,s,u){var a=n("./reader/readerFor"),l=n("./utils"),c=n("./signature"),g=n("./zipEntry"),S=n("./support");function C(k){this.files=[],this.loadOptions=k}C.prototype={checkSignature:function(k){if(!this.reader.readAndCheckSignature(k)){this.reader.index-=4;var I=this.reader.readString(4);throw new Error("Corrupted zip or bug: unexpected signature ("+l.pretty(I)+", expected "+l.pretty(k)+")")}},isSignature:function(k,I){var w=this.reader.index;this.reader.setIndex(k);var P=this.reader.readString(4)===I;return this.reader.setIndex(w),P},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 k=this.reader.readData(this.zipCommentLength),I=S.uint8array?"uint8array":"array",w=l.transformTo(I,k);this.zipComment=this.loadOptions.decodeFileName(w)},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 k,I,w,P=this.zip64EndOfCentralSize-44;0<P;)k=this.reader.readInt(2),I=this.reader.readInt(4),w=this.reader.readData(I),this.zip64ExtensibleData[k]={id:k,length:I,value:w}},readBlockZip64EndOfCentralLocator:function(){if(this.diskWithZip64CentralDirStart=this.reader.readInt(4),this.relativeOffsetEndOfZip64CentralDir=this.reader.readInt(8),this.disksCount=this.reader.readInt(4),1<this.disksCount)throw new Error("Multi-volumes zip are not supported")},readLocalFiles:function(){var k,I;for(k=0;k<this.files.length;k++)I=this.files[k],this.reader.setIndex(I.localHeaderOffset),this.checkSignature(c.LOCAL_FILE_HEADER),I.readLocalPart(this.reader),I.handleUTF8(),I.processAttributes()},readCentralDir:function(){var k;for(this.reader.setIndex(this.centralDirOffset);this.reader.readAndCheckSignature(c.CENTRAL_FILE_HEADER);)(k=new g({zip64:this.zip64},this.loadOptions)).readCentralPart(this.reader),this.files.push(k);if(this.centralDirRecords!==this.files.length&&this.centralDirRecords!==0&&this.files.length===0)throw new Error("Corrupted zip or bug: expected "+this.centralDirRecords+" records in central dir, got "+this.files.length)},readEndOfCentral:function(){var k=this.reader.lastIndexOfSignature(c.CENTRAL_DIRECTORY_END);if(k<0)throw this.isSignature(0,c.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(k);var I=k;if(this.checkSignature(c.CENTRAL_DIRECTORY_END),this.readBlockEndOfCentral(),this.diskNumber===l.MAX_VALUE_16BITS||this.diskWithCentralDirStart===l.MAX_VALUE_16BITS||this.centralDirRecordsOnThisDisk===l.MAX_VALUE_16BITS||this.centralDirRecords===l.MAX_VALUE_16BITS||this.centralDirSize===l.MAX_VALUE_32BITS||this.centralDirOffset===l.MAX_VALUE_32BITS){if(this.zip64=!0,(k=this.reader.lastIndexOfSignature(c.ZIP64_CENTRAL_DIRECTORY_LOCATOR))<0)throw new Error("Corrupted zip: can't find the ZIP64 end of central directory locator");if(this.reader.setIndex(k),this.checkSignature(c.ZIP64_CENTRAL_DIRECTORY_LOCATOR),this.readBlockZip64EndOfCentralLocator(),!this.isSignature(this.relativeOffsetEndOfZip64CentralDir,c.ZIP64_CENTRAL_DIRECTORY_END)&&(this.relativeOffsetEndOfZip64CentralDir=this.reader.lastIndexOfSignature(c.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(c.ZIP64_CENTRAL_DIRECTORY_END),this.readBlockZip64EndOfCentral()}var w=this.centralDirOffset+this.centralDirSize;this.zip64&&(w+=20,w+=12+this.zip64EndOfCentralSize);var P=I-w;if(0<P)this.isSignature(I,c.CENTRAL_FILE_HEADER)||(this.reader.zero=P);else if(P<0)throw new Error("Corrupted zip: missing "+Math.abs(P)+" bytes.")},prepareReader:function(k){this.reader=a(k)},load:function(k){this.prepareReader(k),this.readEndOfCentral(),this.readCentralDir(),this.readLocalFiles()}},s.exports=C},{"./reader/readerFor":22,"./signature":23,"./support":30,"./utils":32,"./zipEntry":34}],34:[function(n,s,u){var a=n("./reader/readerFor"),l=n("./utils"),c=n("./compressedObject"),g=n("./crc32"),S=n("./utf8"),C=n("./compressions"),k=n("./support");function I(w,P){this.options=w,this.loadOptions=P}I.prototype={isEncrypted:function(){return(1&this.bitFlag)==1},useUTF8:function(){return(2048&this.bitFlag)==2048},readLocalPart:function(w){var P,_;if(w.skip(22),this.fileNameLength=w.readInt(2),_=w.readInt(2),this.fileName=w.readData(this.fileNameLength),w.skip(_),this.compressedSize===-1||this.uncompressedSize===-1)throw new Error("Bug or corrupted zip : didn't get enough information from the central directory (compressedSize === -1 || uncompressedSize === -1)");if((P=(function(x){for(var d in C)if(Object.prototype.hasOwnProperty.call(C,d)&&C[d].magic===x)return C[d];return null})(this.compressionMethod))===null)throw new Error("Corrupted zip : compression "+l.pretty(this.compressionMethod)+" unknown (inner file : "+l.transformTo("string",this.fileName)+")");this.decompressed=new c(this.compressedSize,this.uncompressedSize,this.crc32,P,w.readData(this.compressedSize))},readCentralPart:function(w){this.versionMadeBy=w.readInt(2),w.skip(2),this.bitFlag=w.readInt(2),this.compressionMethod=w.readString(2),this.date=w.readDate(),this.crc32=w.readInt(4),this.compressedSize=w.readInt(4),this.uncompressedSize=w.readInt(4);var P=w.readInt(2);if(this.extraFieldsLength=w.readInt(2),this.fileCommentLength=w.readInt(2),this.diskNumberStart=w.readInt(2),this.internalFileAttributes=w.readInt(2),this.externalFileAttributes=w.readInt(4),this.localHeaderOffset=w.readInt(4),this.isEncrypted())throw new Error("Encrypted zip are not supported");w.skip(P),this.readExtraFields(w),this.parseZIP64ExtraField(w),this.fileComment=w.readData(this.fileCommentLength)},processAttributes:function(){this.unixPermissions=null,this.dosPermissions=null;var w=this.versionMadeBy>>8;this.dir=!!(16&this.externalFileAttributes),w==0&&(this.dosPermissions=63&this.externalFileAttributes),w==3&&(this.unixPermissions=this.externalFileAttributes>>16&65535),this.dir||this.fileNameStr.slice(-1)!=="/"||(this.dir=!0)},parseZIP64ExtraField:function(){if(this.extraFields[1]){var w=a(this.extraFields[1].value);this.uncompressedSize===l.MAX_VALUE_32BITS&&(this.uncompressedSize=w.readInt(8)),this.compressedSize===l.MAX_VALUE_32BITS&&(this.compressedSize=w.readInt(8)),this.localHeaderOffset===l.MAX_VALUE_32BITS&&(this.localHeaderOffset=w.readInt(8)),this.diskNumberStart===l.MAX_VALUE_32BITS&&(this.diskNumberStart=w.readInt(4))}},readExtraFields:function(w){var P,_,x,d=w.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});w.index+4<d;)P=w.readInt(2),_=w.readInt(2),x=w.readData(_),this.extraFields[P]={id:P,length:_,value:x};w.setIndex(d)},handleUTF8:function(){var w=k.uint8array?"uint8array":"array";if(this.useUTF8())this.fileNameStr=S.utf8decode(this.fileName),this.fileCommentStr=S.utf8decode(this.fileComment);else{var P=this.findExtraFieldUnicodePath();if(P!==null)this.fileNameStr=P;else{var _=l.transformTo(w,this.fileName);this.fileNameStr=this.loadOptions.decodeFileName(_)}var x=this.findExtraFieldUnicodeComment();if(x!==null)this.fileCommentStr=x;else{var d=l.transformTo(w,this.fileComment);this.fileCommentStr=this.loadOptions.decodeFileName(d)}}},findExtraFieldUnicodePath:function(){var w=this.extraFields[28789];if(w){var P=a(w.value);return P.readInt(1)!==1||g(this.fileName)!==P.readInt(4)?null:S.utf8decode(P.readData(w.length-5))}return null},findExtraFieldUnicodeComment:function(){var w=this.extraFields[25461];if(w){var P=a(w.value);return P.readInt(1)!==1||g(this.fileComment)!==P.readInt(4)?null:S.utf8decode(P.readData(w.length-5))}return null}},s.exports=I},{"./compressedObject":2,"./compressions":3,"./crc32":4,"./reader/readerFor":22,"./support":30,"./utf8":31,"./utils":32}],35:[function(n,s,u){function a(P,_,x){this.name=P,this.dir=x.dir,this.date=x.date,this.comment=x.comment,this.unixPermissions=x.unixPermissions,this.dosPermissions=x.dosPermissions,this._data=_,this._dataBinary=x.binary,this.options={compression:x.compression,compressionOptions:x.compressionOptions}}var l=n("./stream/StreamHelper"),c=n("./stream/DataWorker"),g=n("./utf8"),S=n("./compressedObject"),C=n("./stream/GenericWorker");a.prototype={internalStream:function(P){var _=null,x="string";try{if(!P)throw new Error("No output type specified.");var d=(x=P.toLowerCase())==="string"||x==="text";x!=="binarystring"&&x!=="text"||(x="string"),_=this._decompressWorker();var m=!this._dataBinary;m&&!d&&(_=_.pipe(new g.Utf8EncodeWorker)),!m&&d&&(_=_.pipe(new g.Utf8DecodeWorker))}catch(A){(_=new C("error")).error(A)}return new l(_,x,"")},async:function(P,_){return this.internalStream(P).accumulate(_)},nodeStream:function(P,_){return this.internalStream(P||"nodebuffer").toNodejsStream(_)},_compressWorker:function(P,_){if(this._data instanceof S&&this._data.compression.magic===P.magic)return this._data.getCompressedWorker();var x=this._decompressWorker();return this._dataBinary||(x=x.pipe(new g.Utf8EncodeWorker)),S.createWorkerFrom(x,P,_)},_decompressWorker:function(){return this._data instanceof S?this._data.getContentWorker():this._data instanceof C?this._data:new c(this._data)}};for(var k=["asText","asBinary","asNodeBuffer","asUint8Array","asArrayBuffer"],I=function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},w=0;w<k.length;w++)a.prototype[k[w]]=I;s.exports=a},{"./compressedObject":2,"./stream/DataWorker":27,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31}],36:[function(n,s,u){(function(a){var l,c,g=a.MutationObserver||a.WebKitMutationObserver;if(g){var S=0,C=new g(P),k=a.document.createTextNode("");C.observe(k,{characterData:!0}),l=function(){k.data=S=++S%2}}else if(a.setImmediate||a.MessageChannel===void 0)l="document"in a&&"onreadystatechange"in a.document.createElement("script")?function(){var _=a.document.createElement("script");_.onreadystatechange=function(){P(),_.onreadystatechange=null,_.parentNode.removeChild(_),_=null},a.document.documentElement.appendChild(_)}:function(){setTimeout(P,0)};else{var I=new a.MessageChannel;I.port1.onmessage=P,l=function(){I.port2.postMessage(0)}}var w=[];function P(){var _,x;c=!0;for(var d=w.length;d;){for(x=w,w=[],_=-1;++_<d;)x[_]();d=w.length}c=!1}s.exports=function(_){w.push(_)!==1||c||l()}}).call(this,typeof yr<"u"?yr:typeof self<"u"?self:typeof window<"u"?window:{})},{}],37:[function(n,s,u){var a=n("immediate");function l(){}var c={},g=["REJECTED"],S=["FULFILLED"],C=["PENDING"];function k(d){if(typeof d!="function")throw new TypeError("resolver must be a function");this.state=C,this.queue=[],this.outcome=void 0,d!==l&&_(this,d)}function I(d,m,A){this.promise=d,typeof m=="function"&&(this.onFulfilled=m,this.callFulfilled=this.otherCallFulfilled),typeof A=="function"&&(this.onRejected=A,this.callRejected=this.otherCallRejected)}function w(d,m,A){a(function(){var R;try{R=m(A)}catch(T){return c.reject(d,T)}R===d?c.reject(d,new TypeError("Cannot resolve promise with itself")):c.resolve(d,R)})}function P(d){var m=d&&d.then;if(d&&(typeof d=="object"||typeof d=="function")&&typeof m=="function")return function(){m.apply(d,arguments)}}function _(d,m){var A=!1;function R(Z){A||(A=!0,c.reject(d,Z))}function T(Z){A||(A=!0,c.resolve(d,Z))}var U=x(function(){m(T,R)});U.status==="error"&&R(U.value)}function x(d,m){var A={};try{A.value=d(m),A.status="success"}catch(R){A.status="error",A.value=R}return A}(s.exports=k).prototype.finally=function(d){if(typeof d!="function")return this;var m=this.constructor;return this.then(function(A){return m.resolve(d()).then(function(){return A})},function(A){return m.resolve(d()).then(function(){throw A})})},k.prototype.catch=function(d){return this.then(null,d)},k.prototype.then=function(d,m){if(typeof d!="function"&&this.state===S||typeof m!="function"&&this.state===g)return this;var A=new this.constructor(l);return this.state!==C?w(A,this.state===S?d:m,this.outcome):this.queue.push(new I(A,d,m)),A},I.prototype.callFulfilled=function(d){c.resolve(this.promise,d)},I.prototype.otherCallFulfilled=function(d){w(this.promise,this.onFulfilled,d)},I.prototype.callRejected=function(d){c.reject(this.promise,d)},I.prototype.otherCallRejected=function(d){w(this.promise,this.onRejected,d)},c.resolve=function(d,m){var A=x(P,m);if(A.status==="error")return c.reject(d,A.value);var R=A.value;if(R)_(d,R);else{d.state=S,d.outcome=m;for(var T=-1,U=d.queue.length;++T<U;)d.queue[T].callFulfilled(m)}return d},c.reject=function(d,m){d.state=g,d.outcome=m;for(var A=-1,R=d.queue.length;++A<R;)d.queue[A].callRejected(m);return d},k.resolve=function(d){return d instanceof this?d:c.resolve(new this(l),d)},k.reject=function(d){var m=new this(l);return c.reject(m,d)},k.all=function(d){var m=this;if(Object.prototype.toString.call(d)!=="[object Array]")return this.reject(new TypeError("must be an array"));var A=d.length,R=!1;if(!A)return this.resolve([]);for(var T=new Array(A),U=0,Z=-1,J=new this(l);++Z<A;)H(d[Z],Z);return J;function H(ot,gt){m.resolve(ot).then(function(B){T[gt]=B,++U!==A||R||(R=!0,c.resolve(J,T))},function(B){R||(R=!0,c.reject(J,B))})}},k.race=function(d){var m=this;if(Object.prototype.toString.call(d)!=="[object Array]")return this.reject(new TypeError("must be an array"));var A=d.length,R=!1;if(!A)return this.resolve([]);for(var T=-1,U=new this(l);++T<A;)Z=d[T],m.resolve(Z).then(function(J){R||(R=!0,c.resolve(U,J))},function(J){R||(R=!0,c.reject(U,J))});var Z;return U}},{immediate:36}],38:[function(n,s,u){var a={};(0,n("./lib/utils/common").assign)(a,n("./lib/deflate"),n("./lib/inflate"),n("./lib/zlib/constants")),s.exports=a},{"./lib/deflate":39,"./lib/inflate":40,"./lib/utils/common":41,"./lib/zlib/constants":44}],39:[function(n,s,u){var a=n("./zlib/deflate"),l=n("./utils/common"),c=n("./utils/strings"),g=n("./zlib/messages"),S=n("./zlib/zstream"),C=Object.prototype.toString,k=0,I=-1,w=0,P=8;function _(d){if(!(this instanceof _))return new _(d);this.options=l.assign({level:I,method:P,chunkSize:16384,windowBits:15,memLevel:8,strategy:w,to:""},d||{});var m=this.options;m.raw&&0<m.windowBits?m.windowBits=-m.windowBits:m.gzip&&0<m.windowBits&&m.windowBits<16&&(m.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new S,this.strm.avail_out=0;var A=a.deflateInit2(this.strm,m.level,m.method,m.windowBits,m.memLevel,m.strategy);if(A!==k)throw new Error(g[A]);if(m.header&&a.deflateSetHeader(this.strm,m.header),m.dictionary){var R;if(R=typeof m.dictionary=="string"?c.string2buf(m.dictionary):C.call(m.dictionary)==="[object ArrayBuffer]"?new Uint8Array(m.dictionary):m.dictionary,(A=a.deflateSetDictionary(this.strm,R))!==k)throw new Error(g[A]);this._dict_set=!0}}function x(d,m){var A=new _(m);if(A.push(d,!0),A.err)throw A.msg||g[A.err];return A.result}_.prototype.push=function(d,m){var A,R,T=this.strm,U=this.options.chunkSize;if(this.ended)return!1;R=m===~~m?m:m===!0?4:0,typeof d=="string"?T.input=c.string2buf(d):C.call(d)==="[object ArrayBuffer]"?T.input=new Uint8Array(d):T.input=d,T.next_in=0,T.avail_in=T.input.length;do{if(T.avail_out===0&&(T.output=new l.Buf8(U),T.next_out=0,T.avail_out=U),(A=a.deflate(T,R))!==1&&A!==k)return this.onEnd(A),!(this.ended=!0);T.avail_out!==0&&(T.avail_in!==0||R!==4&&R!==2)||(this.options.to==="string"?this.onData(c.buf2binstring(l.shrinkBuf(T.output,T.next_out))):this.onData(l.shrinkBuf(T.output,T.next_out)))}while((0<T.avail_in||T.avail_out===0)&&A!==1);return R===4?(A=a.deflateEnd(this.strm),this.onEnd(A),this.ended=!0,A===k):R!==2||(this.onEnd(k),!(T.avail_out=0))},_.prototype.onData=function(d){this.chunks.push(d)},_.prototype.onEnd=function(d){d===k&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=l.flattenChunks(this.chunks)),this.chunks=[],this.err=d,this.msg=this.strm.msg},u.Deflate=_,u.deflate=x,u.deflateRaw=function(d,m){return(m=m||{}).raw=!0,x(d,m)},u.gzip=function(d,m){return(m=m||{}).gzip=!0,x(d,m)}},{"./utils/common":41,"./utils/strings":42,"./zlib/deflate":46,"./zlib/messages":51,"./zlib/zstream":53}],40:[function(n,s,u){var a=n("./zlib/inflate"),l=n("./utils/common"),c=n("./utils/strings"),g=n("./zlib/constants"),S=n("./zlib/messages"),C=n("./zlib/zstream"),k=n("./zlib/gzheader"),I=Object.prototype.toString;function w(_){if(!(this instanceof w))return new w(_);this.options=l.assign({chunkSize:16384,windowBits:0,to:""},_||{});var x=this.options;x.raw&&0<=x.windowBits&&x.windowBits<16&&(x.windowBits=-x.windowBits,x.windowBits===0&&(x.windowBits=-15)),!(0<=x.windowBits&&x.windowBits<16)||_&&_.windowBits||(x.windowBits+=32),15<x.windowBits&&x.windowBits<48&&(15&x.windowBits)==0&&(x.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new C,this.strm.avail_out=0;var d=a.inflateInit2(this.strm,x.windowBits);if(d!==g.Z_OK)throw new Error(S[d]);this.header=new k,a.inflateGetHeader(this.strm,this.header)}function P(_,x){var d=new w(x);if(d.push(_,!0),d.err)throw d.msg||S[d.err];return d.result}w.prototype.push=function(_,x){var d,m,A,R,T,U,Z=this.strm,J=this.options.chunkSize,H=this.options.dictionary,ot=!1;if(this.ended)return!1;m=x===~~x?x:x===!0?g.Z_FINISH:g.Z_NO_FLUSH,typeof _=="string"?Z.input=c.binstring2buf(_):I.call(_)==="[object ArrayBuffer]"?Z.input=new Uint8Array(_):Z.input=_,Z.next_in=0,Z.avail_in=Z.input.length;do{if(Z.avail_out===0&&(Z.output=new l.Buf8(J),Z.next_out=0,Z.avail_out=J),(d=a.inflate(Z,g.Z_NO_FLUSH))===g.Z_NEED_DICT&&H&&(U=typeof H=="string"?c.string2buf(H):I.call(H)==="[object ArrayBuffer]"?new Uint8Array(H):H,d=a.inflateSetDictionary(this.strm,U)),d===g.Z_BUF_ERROR&&ot===!0&&(d=g.Z_OK,ot=!1),d!==g.Z_STREAM_END&&d!==g.Z_OK)return this.onEnd(d),!(this.ended=!0);Z.next_out&&(Z.avail_out!==0&&d!==g.Z_STREAM_END&&(Z.avail_in!==0||m!==g.Z_FINISH&&m!==g.Z_SYNC_FLUSH)||(this.options.to==="string"?(A=c.utf8border(Z.output,Z.next_out),R=Z.next_out-A,T=c.buf2string(Z.output,A),Z.next_out=R,Z.avail_out=J-R,R&&l.arraySet(Z.output,Z.output,A,R,0),this.onData(T)):this.onData(l.shrinkBuf(Z.output,Z.next_out)))),Z.avail_in===0&&Z.avail_out===0&&(ot=!0)}while((0<Z.avail_in||Z.avail_out===0)&&d!==g.Z_STREAM_END);return d===g.Z_STREAM_END&&(m=g.Z_FINISH),m===g.Z_FINISH?(d=a.inflateEnd(this.strm),this.onEnd(d),this.ended=!0,d===g.Z_OK):m!==g.Z_SYNC_FLUSH||(this.onEnd(g.Z_OK),!(Z.avail_out=0))},w.prototype.onData=function(_){this.chunks.push(_)},w.prototype.onEnd=function(_){_===g.Z_OK&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=l.flattenChunks(this.chunks)),this.chunks=[],this.err=_,this.msg=this.strm.msg},u.Inflate=w,u.inflate=P,u.inflateRaw=function(_,x){return(x=x||{}).raw=!0,P(_,x)},u.ungzip=P},{"./utils/common":41,"./utils/strings":42,"./zlib/constants":44,"./zlib/gzheader":47,"./zlib/inflate":49,"./zlib/messages":51,"./zlib/zstream":53}],41:[function(n,s,u){var a=typeof Uint8Array<"u"&&typeof Uint16Array<"u"&&typeof Int32Array<"u";u.assign=function(g){for(var S=Array.prototype.slice.call(arguments,1);S.length;){var C=S.shift();if(C){if(typeof C!="object")throw new TypeError(C+"must be non-object");for(var k in C)C.hasOwnProperty(k)&&(g[k]=C[k])}}return g},u.shrinkBuf=function(g,S){return g.length===S?g:g.subarray?g.subarray(0,S):(g.length=S,g)};var l={arraySet:function(g,S,C,k,I){if(S.subarray&&g.subarray)g.set(S.subarray(C,C+k),I);else for(var w=0;w<k;w++)g[I+w]=S[C+w]},flattenChunks:function(g){var S,C,k,I,w,P;for(S=k=0,C=g.length;S<C;S++)k+=g[S].length;for(P=new Uint8Array(k),S=I=0,C=g.length;S<C;S++)w=g[S],P.set(w,I),I+=w.length;return P}},c={arraySet:function(g,S,C,k,I){for(var w=0;w<k;w++)g[I+w]=S[C+w]},flattenChunks:function(g){return[].concat.apply([],g)}};u.setTyped=function(g){g?(u.Buf8=Uint8Array,u.Buf16=Uint16Array,u.Buf32=Int32Array,u.assign(u,l)):(u.Buf8=Array,u.Buf16=Array,u.Buf32=Array,u.assign(u,c))},u.setTyped(a)},{}],42:[function(n,s,u){var a=n("./common"),l=!0,c=!0;try{String.fromCharCode.apply(null,[0])}catch{l=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch{c=!1}for(var g=new a.Buf8(256),S=0;S<256;S++)g[S]=252<=S?6:248<=S?5:240<=S?4:224<=S?3:192<=S?2:1;function C(k,I){if(I<65537&&(k.subarray&&c||!k.subarray&&l))return String.fromCharCode.apply(null,a.shrinkBuf(k,I));for(var w="",P=0;P<I;P++)w+=String.fromCharCode(k[P]);return w}g[254]=g[254]=1,u.string2buf=function(k){var I,w,P,_,x,d=k.length,m=0;for(_=0;_<d;_++)(64512&(w=k.charCodeAt(_)))==55296&&_+1<d&&(64512&(P=k.charCodeAt(_+1)))==56320&&(w=65536+(w-55296<<10)+(P-56320),_++),m+=w<128?1:w<2048?2:w<65536?3:4;for(I=new a.Buf8(m),_=x=0;x<m;_++)(64512&(w=k.charCodeAt(_)))==55296&&_+1<d&&(64512&(P=k.charCodeAt(_+1)))==56320&&(w=65536+(w-55296<<10)+(P-56320),_++),w<128?I[x++]=w:(w<2048?I[x++]=192|w>>>6:(w<65536?I[x++]=224|w>>>12:(I[x++]=240|w>>>18,I[x++]=128|w>>>12&63),I[x++]=128|w>>>6&63),I[x++]=128|63&w);return I},u.buf2binstring=function(k){return C(k,k.length)},u.binstring2buf=function(k){for(var I=new a.Buf8(k.length),w=0,P=I.length;w<P;w++)I[w]=k.charCodeAt(w);return I},u.buf2string=function(k,I){var w,P,_,x,d=I||k.length,m=new Array(2*d);for(w=P=0;w<d;)if((_=k[w++])<128)m[P++]=_;else if(4<(x=g[_]))m[P++]=65533,w+=x-1;else{for(_&=x===2?31:x===3?15:7;1<x&&w<d;)_=_<<6|63&k[w++],x--;1<x?m[P++]=65533:_<65536?m[P++]=_:(_-=65536,m[P++]=55296|_>>10&1023,m[P++]=56320|1023&_)}return C(m,P)},u.utf8border=function(k,I){var w;for((I=I||k.length)>k.length&&(I=k.length),w=I-1;0<=w&&(192&k[w])==128;)w--;return w<0||w===0?I:w+g[k[w]]>I?w:I}},{"./common":41}],43:[function(n,s,u){s.exports=function(a,l,c,g){for(var S=65535&a|0,C=a>>>16&65535|0,k=0;c!==0;){for(c-=k=2e3<c?2e3:c;C=C+(S=S+l[g++]|0)|0,--k;);S%=65521,C%=65521}return S|C<<16|0}},{}],44:[function(n,s,u){s.exports={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}},{}],45:[function(n,s,u){var a=(function(){for(var l,c=[],g=0;g<256;g++){l=g;for(var S=0;S<8;S++)l=1&l?3988292384^l>>>1:l>>>1;c[g]=l}return c})();s.exports=function(l,c,g,S){var C=a,k=S+g;l^=-1;for(var I=S;I<k;I++)l=l>>>8^C[255&(l^c[I])];return-1^l}},{}],46:[function(n,s,u){var a,l=n("../utils/common"),c=n("./trees"),g=n("./adler32"),S=n("./crc32"),C=n("./messages"),k=0,I=4,w=0,P=-2,_=-1,x=4,d=2,m=8,A=9,R=286,T=30,U=19,Z=2*R+1,J=15,H=3,ot=258,gt=ot+H+1,B=42,$=113,p=1,V=2,yt=3,st=4;function xt(f,X){return f.msg=C[X],X}function nt(f){return(f<<1)-(4<f?9:0)}function bt(f){for(var X=f.length;0<=--X;)f[X]=0}function G(f){var X=f.state,q=X.pending;q>f.avail_out&&(q=f.avail_out),q!==0&&(l.arraySet(f.output,X.pending_buf,X.pending_out,q,f.next_out),f.next_out+=q,X.pending_out+=q,f.total_out+=q,f.avail_out-=q,X.pending-=q,X.pending===0&&(X.pending_out=0))}function W(f,X){c._tr_flush_block(f,0<=f.block_start?f.block_start:-1,f.strstart-f.block_start,X),f.block_start=f.strstart,G(f.strm)}function mt(f,X){f.pending_buf[f.pending++]=X}function ht(f,X){f.pending_buf[f.pending++]=X>>>8&255,f.pending_buf[f.pending++]=255&X}function lt(f,X){var q,O,E=f.max_chain_length,D=f.strstart,et=f.prev_length,rt=f.nice_match,F=f.strstart>f.w_size-gt?f.strstart-(f.w_size-gt):0,at=f.window,ct=f.w_mask,ut=f.prev,_t=f.strstart+ot,Ft=at[D+et-1],Et=at[D+et];f.prev_length>=f.good_match&&(E>>=2),rt>f.lookahead&&(rt=f.lookahead);do if(at[(q=X)+et]===Et&&at[q+et-1]===Ft&&at[q]===at[D]&&at[++q]===at[D+1]){D+=2,q++;do;while(at[++D]===at[++q]&&at[++D]===at[++q]&&at[++D]===at[++q]&&at[++D]===at[++q]&&at[++D]===at[++q]&&at[++D]===at[++q]&&at[++D]===at[++q]&&at[++D]===at[++q]&&D<_t);if(O=ot-(_t-D),D=_t-ot,et<O){if(f.match_start=X,rt<=(et=O))break;Ft=at[D+et-1],Et=at[D+et]}}while((X=ut[X&ct])>F&&--E!=0);return et<=f.lookahead?et:f.lookahead}function Mt(f){var X,q,O,E,D,et,rt,F,at,ct,ut=f.w_size;do{if(E=f.window_size-f.lookahead-f.strstart,f.strstart>=ut+(ut-gt)){for(l.arraySet(f.window,f.window,ut,ut,0),f.match_start-=ut,f.strstart-=ut,f.block_start-=ut,X=q=f.hash_size;O=f.head[--X],f.head[X]=ut<=O?O-ut:0,--q;);for(X=q=ut;O=f.prev[--X],f.prev[X]=ut<=O?O-ut:0,--q;);E+=ut}if(f.strm.avail_in===0)break;if(et=f.strm,rt=f.window,F=f.strstart+f.lookahead,at=E,ct=void 0,ct=et.avail_in,at<ct&&(ct=at),q=ct===0?0:(et.avail_in-=ct,l.arraySet(rt,et.input,et.next_in,ct,F),et.state.wrap===1?et.adler=g(et.adler,rt,ct,F):et.state.wrap===2&&(et.adler=S(et.adler,rt,ct,F)),et.next_in+=ct,et.total_in+=ct,ct),f.lookahead+=q,f.lookahead+f.insert>=H)for(D=f.strstart-f.insert,f.ins_h=f.window[D],f.ins_h=(f.ins_h<<f.hash_shift^f.window[D+1])&f.hash_mask;f.insert&&(f.ins_h=(f.ins_h<<f.hash_shift^f.window[D+H-1])&f.hash_mask,f.prev[D&f.w_mask]=f.head[f.ins_h],f.head[f.ins_h]=D,D++,f.insert--,!(f.lookahead+f.insert<H)););}while(f.lookahead<gt&&f.strm.avail_in!==0)}function $t(f,X){for(var q,O;;){if(f.lookahead<gt){if(Mt(f),f.lookahead<gt&&X===k)return p;if(f.lookahead===0)break}if(q=0,f.lookahead>=H&&(f.ins_h=(f.ins_h<<f.hash_shift^f.window[f.strstart+H-1])&f.hash_mask,q=f.prev[f.strstart&f.w_mask]=f.head[f.ins_h],f.head[f.ins_h]=f.strstart),q!==0&&f.strstart-q<=f.w_size-gt&&(f.match_length=lt(f,q)),f.match_length>=H)if(O=c._tr_tally(f,f.strstart-f.match_start,f.match_length-H),f.lookahead-=f.match_length,f.match_length<=f.max_lazy_match&&f.lookahead>=H){for(f.match_length--;f.strstart++,f.ins_h=(f.ins_h<<f.hash_shift^f.window[f.strstart+H-1])&f.hash_mask,q=f.prev[f.strstart&f.w_mask]=f.head[f.ins_h],f.head[f.ins_h]=f.strstart,--f.match_length!=0;);f.strstart++}else f.strstart+=f.match_length,f.match_length=0,f.ins_h=f.window[f.strstart],f.ins_h=(f.ins_h<<f.hash_shift^f.window[f.strstart+1])&f.hash_mask;else O=c._tr_tally(f,0,f.window[f.strstart]),f.lookahead--,f.strstart++;if(O&&(W(f,!1),f.strm.avail_out===0))return p}return f.insert=f.strstart<H-1?f.strstart:H-1,X===I?(W(f,!0),f.strm.avail_out===0?yt:st):f.last_lit&&(W(f,!1),f.strm.avail_out===0)?p:V}function Ot(f,X){for(var q,O,E;;){if(f.lookahead<gt){if(Mt(f),f.lookahead<gt&&X===k)return p;if(f.lookahead===0)break}if(q=0,f.lookahead>=H&&(f.ins_h=(f.ins_h<<f.hash_shift^f.window[f.strstart+H-1])&f.hash_mask,q=f.prev[f.strstart&f.w_mask]=f.head[f.ins_h],f.head[f.ins_h]=f.strstart),f.prev_length=f.match_length,f.prev_match=f.match_start,f.match_length=H-1,q!==0&&f.prev_length<f.max_lazy_match&&f.strstart-q<=f.w_size-gt&&(f.match_length=lt(f,q),f.match_length<=5&&(f.strategy===1||f.match_length===H&&4096<f.strstart-f.match_start)&&(f.match_length=H-1)),f.prev_length>=H&&f.match_length<=f.prev_length){for(E=f.strstart+f.lookahead-H,O=c._tr_tally(f,f.strstart-1-f.prev_match,f.prev_length-H),f.lookahead-=f.prev_length-1,f.prev_length-=2;++f.strstart<=E&&(f.ins_h=(f.ins_h<<f.hash_shift^f.window[f.strstart+H-1])&f.hash_mask,q=f.prev[f.strstart&f.w_mask]=f.head[f.ins_h],f.head[f.ins_h]=f.strstart),--f.prev_length!=0;);if(f.match_available=0,f.match_length=H-1,f.strstart++,O&&(W(f,!1),f.strm.avail_out===0))return p}else if(f.match_available){if((O=c._tr_tally(f,0,f.window[f.strstart-1]))&&W(f,!1),f.strstart++,f.lookahead--,f.strm.avail_out===0)return p}else f.match_available=1,f.strstart++,f.lookahead--}return f.match_available&&(O=c._tr_tally(f,0,f.window[f.strstart-1]),f.match_available=0),f.insert=f.strstart<H-1?f.strstart:H-1,X===I?(W(f,!0),f.strm.avail_out===0?yt:st):f.last_lit&&(W(f,!1),f.strm.avail_out===0)?p:V}function Rt(f,X,q,O,E){this.good_length=f,this.max_lazy=X,this.nice_length=q,this.max_chain=O,this.func=E}function jt(){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=m,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 l.Buf16(2*Z),this.dyn_dtree=new l.Buf16(2*(2*T+1)),this.bl_tree=new l.Buf16(2*(2*U+1)),bt(this.dyn_ltree),bt(this.dyn_dtree),bt(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new l.Buf16(J+1),this.heap=new l.Buf16(2*R+1),bt(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new l.Buf16(2*R+1),bt(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 Kt(f){var X;return f&&f.state?(f.total_in=f.total_out=0,f.data_type=d,(X=f.state).pending=0,X.pending_out=0,X.wrap<0&&(X.wrap=-X.wrap),X.status=X.wrap?B:$,f.adler=X.wrap===2?0:1,X.last_flush=k,c._tr_init(X),w):xt(f,P)}function he(f){var X=Kt(f);return X===w&&(function(q){q.window_size=2*q.w_size,bt(q.head),q.max_lazy_match=a[q.level].max_lazy,q.good_match=a[q.level].good_length,q.nice_match=a[q.level].nice_length,q.max_chain_length=a[q.level].max_chain,q.strstart=0,q.block_start=0,q.lookahead=0,q.insert=0,q.match_length=q.prev_length=H-1,q.match_available=0,q.ins_h=0})(f.state),X}function ae(f,X,q,O,E,D){if(!f)return P;var et=1;if(X===_&&(X=6),O<0?(et=0,O=-O):15<O&&(et=2,O-=16),E<1||A<E||q!==m||O<8||15<O||X<0||9<X||D<0||x<D)return xt(f,P);O===8&&(O=9);var rt=new jt;return(f.state=rt).strm=f,rt.wrap=et,rt.gzhead=null,rt.w_bits=O,rt.w_size=1<<rt.w_bits,rt.w_mask=rt.w_size-1,rt.hash_bits=E+7,rt.hash_size=1<<rt.hash_bits,rt.hash_mask=rt.hash_size-1,rt.hash_shift=~~((rt.hash_bits+H-1)/H),rt.window=new l.Buf8(2*rt.w_size),rt.head=new l.Buf16(rt.hash_size),rt.prev=new l.Buf16(rt.w_size),rt.lit_bufsize=1<<E+6,rt.pending_buf_size=4*rt.lit_bufsize,rt.pending_buf=new l.Buf8(rt.pending_buf_size),rt.d_buf=1*rt.lit_bufsize,rt.l_buf=3*rt.lit_bufsize,rt.level=X,rt.strategy=D,rt.method=q,he(f)}a=[new Rt(0,0,0,0,function(f,X){var q=65535;for(q>f.pending_buf_size-5&&(q=f.pending_buf_size-5);;){if(f.lookahead<=1){if(Mt(f),f.lookahead===0&&X===k)return p;if(f.lookahead===0)break}f.strstart+=f.lookahead,f.lookahead=0;var O=f.block_start+q;if((f.strstart===0||f.strstart>=O)&&(f.lookahead=f.strstart-O,f.strstart=O,W(f,!1),f.strm.avail_out===0)||f.strstart-f.block_start>=f.w_size-gt&&(W(f,!1),f.strm.avail_out===0))return p}return f.insert=0,X===I?(W(f,!0),f.strm.avail_out===0?yt:st):(f.strstart>f.block_start&&(W(f,!1),f.strm.avail_out),p)}),new Rt(4,4,8,4,$t),new Rt(4,5,16,8,$t),new Rt(4,6,32,32,$t),new Rt(4,4,16,16,Ot),new Rt(8,16,32,32,Ot),new Rt(8,16,128,128,Ot),new Rt(8,32,128,256,Ot),new Rt(32,128,258,1024,Ot),new Rt(32,258,258,4096,Ot)],u.deflateInit=function(f,X){return ae(f,X,m,15,8,0)},u.deflateInit2=ae,u.deflateReset=he,u.deflateResetKeep=Kt,u.deflateSetHeader=function(f,X){return f&&f.state?f.state.wrap!==2?P:(f.state.gzhead=X,w):P},u.deflate=function(f,X){var q,O,E,D;if(!f||!f.state||5<X||X<0)return f?xt(f,P):P;if(O=f.state,!f.output||!f.input&&f.avail_in!==0||O.status===666&&X!==I)return xt(f,f.avail_out===0?-5:P);if(O.strm=f,q=O.last_flush,O.last_flush=X,O.status===B)if(O.wrap===2)f.adler=0,mt(O,31),mt(O,139),mt(O,8),O.gzhead?(mt(O,(O.gzhead.text?1:0)+(O.gzhead.hcrc?2:0)+(O.gzhead.extra?4:0)+(O.gzhead.name?8:0)+(O.gzhead.comment?16:0)),mt(O,255&O.gzhead.time),mt(O,O.gzhead.time>>8&255),mt(O,O.gzhead.time>>16&255),mt(O,O.gzhead.time>>24&255),mt(O,O.level===9?2:2<=O.strategy||O.level<2?4:0),mt(O,255&O.gzhead.os),O.gzhead.extra&&O.gzhead.extra.length&&(mt(O,255&O.gzhead.extra.length),mt(O,O.gzhead.extra.length>>8&255)),O.gzhead.hcrc&&(f.adler=S(f.adler,O.pending_buf,O.pending,0)),O.gzindex=0,O.status=69):(mt(O,0),mt(O,0),mt(O,0),mt(O,0),mt(O,0),mt(O,O.level===9?2:2<=O.strategy||O.level<2?4:0),mt(O,3),O.status=$);else{var et=m+(O.w_bits-8<<4)<<8;et|=(2<=O.strategy||O.level<2?0:O.level<6?1:O.level===6?2:3)<<6,O.strstart!==0&&(et|=32),et+=31-et%31,O.status=$,ht(O,et),O.strstart!==0&&(ht(O,f.adler>>>16),ht(O,65535&f.adler)),f.adler=1}if(O.status===69)if(O.gzhead.extra){for(E=O.pending;O.gzindex<(65535&O.gzhead.extra.length)&&(O.pending!==O.pending_buf_size||(O.gzhead.hcrc&&O.pending>E&&(f.adler=S(f.adler,O.pending_buf,O.pending-E,E)),G(f),E=O.pending,O.pending!==O.pending_buf_size));)mt(O,255&O.gzhead.extra[O.gzindex]),O.gzindex++;O.gzhead.hcrc&&O.pending>E&&(f.adler=S(f.adler,O.pending_buf,O.pending-E,E)),O.gzindex===O.gzhead.extra.length&&(O.gzindex=0,O.status=73)}else O.status=73;if(O.status===73)if(O.gzhead.name){E=O.pending;do{if(O.pending===O.pending_buf_size&&(O.gzhead.hcrc&&O.pending>E&&(f.adler=S(f.adler,O.pending_buf,O.pending-E,E)),G(f),E=O.pending,O.pending===O.pending_buf_size)){D=1;break}D=O.gzindex<O.gzhead.name.length?255&O.gzhead.name.charCodeAt(O.gzindex++):0,mt(O,D)}while(D!==0);O.gzhead.hcrc&&O.pending>E&&(f.adler=S(f.adler,O.pending_buf,O.pending-E,E)),D===0&&(O.gzindex=0,O.status=91)}else O.status=91;if(O.status===91)if(O.gzhead.comment){E=O.pending;do{if(O.pending===O.pending_buf_size&&(O.gzhead.hcrc&&O.pending>E&&(f.adler=S(f.adler,O.pending_buf,O.pending-E,E)),G(f),E=O.pending,O.pending===O.pending_buf_size)){D=1;break}D=O.gzindex<O.gzhead.comment.length?255&O.gzhead.comment.charCodeAt(O.gzindex++):0,mt(O,D)}while(D!==0);O.gzhead.hcrc&&O.pending>E&&(f.adler=S(f.adler,O.pending_buf,O.pending-E,E)),D===0&&(O.status=103)}else O.status=103;if(O.status===103&&(O.gzhead.hcrc?(O.pending+2>O.pending_buf_size&&G(f),O.pending+2<=O.pending_buf_size&&(mt(O,255&f.adler),mt(O,f.adler>>8&255),f.adler=0,O.status=$)):O.status=$),O.pending!==0){if(G(f),f.avail_out===0)return O.last_flush=-1,w}else if(f.avail_in===0&&nt(X)<=nt(q)&&X!==I)return xt(f,-5);if(O.status===666&&f.avail_in!==0)return xt(f,-5);if(f.avail_in!==0||O.lookahead!==0||X!==k&&O.status!==666){var rt=O.strategy===2?(function(F,at){for(var ct;;){if(F.lookahead===0&&(Mt(F),F.lookahead===0)){if(at===k)return p;break}if(F.match_length=0,ct=c._tr_tally(F,0,F.window[F.strstart]),F.lookahead--,F.strstart++,ct&&(W(F,!1),F.strm.avail_out===0))return p}return F.insert=0,at===I?(W(F,!0),F.strm.avail_out===0?yt:st):F.last_lit&&(W(F,!1),F.strm.avail_out===0)?p:V})(O,X):O.strategy===3?(function(F,at){for(var ct,ut,_t,Ft,Et=F.window;;){if(F.lookahead<=ot){if(Mt(F),F.lookahead<=ot&&at===k)return p;if(F.lookahead===0)break}if(F.match_length=0,F.lookahead>=H&&0<F.strstart&&(ut=Et[_t=F.strstart-1])===Et[++_t]&&ut===Et[++_t]&&ut===Et[++_t]){Ft=F.strstart+ot;do;while(ut===Et[++_t]&&ut===Et[++_t]&&ut===Et[++_t]&&ut===Et[++_t]&&ut===Et[++_t]&&ut===Et[++_t]&&ut===Et[++_t]&&ut===Et[++_t]&&_t<Ft);F.match_length=ot-(Ft-_t),F.match_length>F.lookahead&&(F.match_length=F.lookahead)}if(F.match_length>=H?(ct=c._tr_tally(F,1,F.match_length-H),F.lookahead-=F.match_length,F.strstart+=F.match_length,F.match_length=0):(ct=c._tr_tally(F,0,F.window[F.strstart]),F.lookahead--,F.strstart++),ct&&(W(F,!1),F.strm.avail_out===0))return p}return F.insert=0,at===I?(W(F,!0),F.strm.avail_out===0?yt:st):F.last_lit&&(W(F,!1),F.strm.avail_out===0)?p:V})(O,X):a[O.level].func(O,X);if(rt!==yt&&rt!==st||(O.status=666),rt===p||rt===yt)return f.avail_out===0&&(O.last_flush=-1),w;if(rt===V&&(X===1?c._tr_align(O):X!==5&&(c._tr_stored_block(O,0,0,!1),X===3&&(bt(O.head),O.lookahead===0&&(O.strstart=0,O.block_start=0,O.insert=0))),G(f),f.avail_out===0))return O.last_flush=-1,w}return X!==I?w:O.wrap<=0?1:(O.wrap===2?(mt(O,255&f.adler),mt(O,f.adler>>8&255),mt(O,f.adler>>16&255),mt(O,f.adler>>24&255),mt(O,255&f.total_in),mt(O,f.total_in>>8&255),mt(O,f.total_in>>16&255),mt(O,f.total_in>>24&255)):(ht(O,f.adler>>>16),ht(O,65535&f.adler)),G(f),0<O.wrap&&(O.wrap=-O.wrap),O.pending!==0?w:1)},u.deflateEnd=function(f){var X;return f&&f.state?(X=f.state.status)!==B&&X!==69&&X!==73&&X!==91&&X!==103&&X!==$&&X!==666?xt(f,P):(f.state=null,X===$?xt(f,-3):w):P},u.deflateSetDictionary=function(f,X){var q,O,E,D,et,rt,F,at,ct=X.length;if(!f||!f.state||(D=(q=f.state).wrap)===2||D===1&&q.status!==B||q.lookahead)return P;for(D===1&&(f.adler=g(f.adler,X,ct,0)),q.wrap=0,ct>=q.w_size&&(D===0&&(bt(q.head),q.strstart=0,q.block_start=0,q.insert=0),at=new l.Buf8(q.w_size),l.arraySet(at,X,ct-q.w_size,q.w_size,0),X=at,ct=q.w_size),et=f.avail_in,rt=f.next_in,F=f.input,f.avail_in=ct,f.next_in=0,f.input=X,Mt(q);q.lookahead>=H;){for(O=q.strstart,E=q.lookahead-(H-1);q.ins_h=(q.ins_h<<q.hash_shift^q.window[O+H-1])&q.hash_mask,q.prev[O&q.w_mask]=q.head[q.ins_h],q.head[q.ins_h]=O,O++,--E;);q.strstart=O,q.lookahead=H-1,Mt(q)}return q.strstart+=q.lookahead,q.block_start=q.strstart,q.insert=q.lookahead,q.lookahead=0,q.match_length=q.prev_length=H-1,q.match_available=0,f.next_in=rt,f.input=F,f.avail_in=et,q.wrap=D,w},u.deflateInfo="pako deflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./messages":51,"./trees":52}],47:[function(n,s,u){s.exports=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}},{}],48:[function(n,s,u){s.exports=function(a,l){var c,g,S,C,k,I,w,P,_,x,d,m,A,R,T,U,Z,J,H,ot,gt,B,$,p,V;c=a.state,g=a.next_in,p=a.input,S=g+(a.avail_in-5),C=a.next_out,V=a.output,k=C-(l-a.avail_out),I=C+(a.avail_out-257),w=c.dmax,P=c.wsize,_=c.whave,x=c.wnext,d=c.window,m=c.hold,A=c.bits,R=c.lencode,T=c.distcode,U=(1<<c.lenbits)-1,Z=(1<<c.distbits)-1;t:do{A<15&&(m+=p[g++]<<A,A+=8,m+=p[g++]<<A,A+=8),J=R[m&U];e:for(;;){if(m>>>=H=J>>>24,A-=H,(H=J>>>16&255)===0)V[C++]=65535&J;else{if(!(16&H)){if((64&H)==0){J=R[(65535&J)+(m&(1<<H)-1)];continue e}if(32&H){c.mode=12;break t}a.msg="invalid literal/length code",c.mode=30;break t}ot=65535&J,(H&=15)&&(A<H&&(m+=p[g++]<<A,A+=8),ot+=m&(1<<H)-1,m>>>=H,A-=H),A<15&&(m+=p[g++]<<A,A+=8,m+=p[g++]<<A,A+=8),J=T[m&Z];r:for(;;){if(m>>>=H=J>>>24,A-=H,!(16&(H=J>>>16&255))){if((64&H)==0){J=T[(65535&J)+(m&(1<<H)-1)];continue r}a.msg="invalid distance code",c.mode=30;break t}if(gt=65535&J,A<(H&=15)&&(m+=p[g++]<<A,(A+=8)<H&&(m+=p[g++]<<A,A+=8)),w<(gt+=m&(1<<H)-1)){a.msg="invalid distance too far back",c.mode=30;break t}if(m>>>=H,A-=H,(H=C-k)<gt){if(_<(H=gt-H)&&c.sane){a.msg="invalid distance too far back",c.mode=30;break t}if($=d,(B=0)===x){if(B+=P-H,H<ot){for(ot-=H;V[C++]=d[B++],--H;);B=C-gt,$=V}}else if(x<H){if(B+=P+x-H,(H-=x)<ot){for(ot-=H;V[C++]=d[B++],--H;);if(B=0,x<ot){for(ot-=H=x;V[C++]=d[B++],--H;);B=C-gt,$=V}}}else if(B+=x-H,H<ot){for(ot-=H;V[C++]=d[B++],--H;);B=C-gt,$=V}for(;2<ot;)V[C++]=$[B++],V[C++]=$[B++],V[C++]=$[B++],ot-=3;ot&&(V[C++]=$[B++],1<ot&&(V[C++]=$[B++]))}else{for(B=C-gt;V[C++]=V[B++],V[C++]=V[B++],V[C++]=V[B++],2<(ot-=3););ot&&(V[C++]=V[B++],1<ot&&(V[C++]=V[B++]))}break}}break}}while(g<S&&C<I);g-=ot=A>>3,m&=(1<<(A-=ot<<3))-1,a.next_in=g,a.next_out=C,a.avail_in=g<S?S-g+5:5-(g-S),a.avail_out=C<I?I-C+257:257-(C-I),c.hold=m,c.bits=A}},{}],49:[function(n,s,u){var a=n("../utils/common"),l=n("./adler32"),c=n("./crc32"),g=n("./inffast"),S=n("./inftrees"),C=1,k=2,I=0,w=-2,P=1,_=852,x=592;function d(B){return(B>>>24&255)+(B>>>8&65280)+((65280&B)<<8)+((255&B)<<24)}function m(){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 a.Buf16(320),this.work=new a.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function A(B){var $;return B&&B.state?($=B.state,B.total_in=B.total_out=$.total=0,B.msg="",$.wrap&&(B.adler=1&$.wrap),$.mode=P,$.last=0,$.havedict=0,$.dmax=32768,$.head=null,$.hold=0,$.bits=0,$.lencode=$.lendyn=new a.Buf32(_),$.distcode=$.distdyn=new a.Buf32(x),$.sane=1,$.back=-1,I):w}function R(B){var $;return B&&B.state?(($=B.state).wsize=0,$.whave=0,$.wnext=0,A(B)):w}function T(B,$){var p,V;return B&&B.state?(V=B.state,$<0?(p=0,$=-$):(p=1+($>>4),$<48&&($&=15)),$&&($<8||15<$)?w:(V.window!==null&&V.wbits!==$&&(V.window=null),V.wrap=p,V.wbits=$,R(B))):w}function U(B,$){var p,V;return B?(V=new m,(B.state=V).window=null,(p=T(B,$))!==I&&(B.state=null),p):w}var Z,J,H=!0;function ot(B){if(H){var $;for(Z=new a.Buf32(512),J=new a.Buf32(32),$=0;$<144;)B.lens[$++]=8;for(;$<256;)B.lens[$++]=9;for(;$<280;)B.lens[$++]=7;for(;$<288;)B.lens[$++]=8;for(S(C,B.lens,0,288,Z,0,B.work,{bits:9}),$=0;$<32;)B.lens[$++]=5;S(k,B.lens,0,32,J,0,B.work,{bits:5}),H=!1}B.lencode=Z,B.lenbits=9,B.distcode=J,B.distbits=5}function gt(B,$,p,V){var yt,st=B.state;return st.window===null&&(st.wsize=1<<st.wbits,st.wnext=0,st.whave=0,st.window=new a.Buf8(st.wsize)),V>=st.wsize?(a.arraySet(st.window,$,p-st.wsize,st.wsize,0),st.wnext=0,st.whave=st.wsize):(V<(yt=st.wsize-st.wnext)&&(yt=V),a.arraySet(st.window,$,p-V,yt,st.wnext),(V-=yt)?(a.arraySet(st.window,$,p-V,V,0),st.wnext=V,st.whave=st.wsize):(st.wnext+=yt,st.wnext===st.wsize&&(st.wnext=0),st.whave<st.wsize&&(st.whave+=yt))),0}u.inflateReset=R,u.inflateReset2=T,u.inflateResetKeep=A,u.inflateInit=function(B){return U(B,15)},u.inflateInit2=U,u.inflate=function(B,$){var p,V,yt,st,xt,nt,bt,G,W,mt,ht,lt,Mt,$t,Ot,Rt,jt,Kt,he,ae,f,X,q,O,E=0,D=new a.Buf8(4),et=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!B||!B.state||!B.output||!B.input&&B.avail_in!==0)return w;(p=B.state).mode===12&&(p.mode=13),xt=B.next_out,yt=B.output,bt=B.avail_out,st=B.next_in,V=B.input,nt=B.avail_in,G=p.hold,W=p.bits,mt=nt,ht=bt,X=I;t:for(;;)switch(p.mode){case P:if(p.wrap===0){p.mode=13;break}for(;W<16;){if(nt===0)break t;nt--,G+=V[st++]<<W,W+=8}if(2&p.wrap&&G===35615){D[p.check=0]=255&G,D[1]=G>>>8&255,p.check=c(p.check,D,2,0),W=G=0,p.mode=2;break}if(p.flags=0,p.head&&(p.head.done=!1),!(1&p.wrap)||(((255&G)<<8)+(G>>8))%31){B.msg="incorrect header check",p.mode=30;break}if((15&G)!=8){B.msg="unknown compression method",p.mode=30;break}if(W-=4,f=8+(15&(G>>>=4)),p.wbits===0)p.wbits=f;else if(f>p.wbits){B.msg="invalid window size",p.mode=30;break}p.dmax=1<<f,B.adler=p.check=1,p.mode=512&G?10:12,W=G=0;break;case 2:for(;W<16;){if(nt===0)break t;nt--,G+=V[st++]<<W,W+=8}if(p.flags=G,(255&p.flags)!=8){B.msg="unknown compression method",p.mode=30;break}if(57344&p.flags){B.msg="unknown header flags set",p.mode=30;break}p.head&&(p.head.text=G>>8&1),512&p.flags&&(D[0]=255&G,D[1]=G>>>8&255,p.check=c(p.check,D,2,0)),W=G=0,p.mode=3;case 3:for(;W<32;){if(nt===0)break t;nt--,G+=V[st++]<<W,W+=8}p.head&&(p.head.time=G),512&p.flags&&(D[0]=255&G,D[1]=G>>>8&255,D[2]=G>>>16&255,D[3]=G>>>24&255,p.check=c(p.check,D,4,0)),W=G=0,p.mode=4;case 4:for(;W<16;){if(nt===0)break t;nt--,G+=V[st++]<<W,W+=8}p.head&&(p.head.xflags=255&G,p.head.os=G>>8),512&p.flags&&(D[0]=255&G,D[1]=G>>>8&255,p.check=c(p.check,D,2,0)),W=G=0,p.mode=5;case 5:if(1024&p.flags){for(;W<16;){if(nt===0)break t;nt--,G+=V[st++]<<W,W+=8}p.length=G,p.head&&(p.head.extra_len=G),512&p.flags&&(D[0]=255&G,D[1]=G>>>8&255,p.check=c(p.check,D,2,0)),W=G=0}else p.head&&(p.head.extra=null);p.mode=6;case 6:if(1024&p.flags&&(nt<(lt=p.length)&&(lt=nt),lt&&(p.head&&(f=p.head.extra_len-p.length,p.head.extra||(p.head.extra=new Array(p.head.extra_len)),a.arraySet(p.head.extra,V,st,lt,f)),512&p.flags&&(p.check=c(p.check,V,lt,st)),nt-=lt,st+=lt,p.length-=lt),p.length))break t;p.length=0,p.mode=7;case 7:if(2048&p.flags){if(nt===0)break t;for(lt=0;f=V[st+lt++],p.head&&f&&p.length<65536&&(p.head.name+=String.fromCharCode(f)),f&<<nt;);if(512&p.flags&&(p.check=c(p.check,V,lt,st)),nt-=lt,st+=lt,f)break t}else p.head&&(p.head.name=null);p.length=0,p.mode=8;case 8:if(4096&p.flags){if(nt===0)break t;for(lt=0;f=V[st+lt++],p.head&&f&&p.length<65536&&(p.head.comment+=String.fromCharCode(f)),f&<<nt;);if(512&p.flags&&(p.check=c(p.check,V,lt,st)),nt-=lt,st+=lt,f)break t}else p.head&&(p.head.comment=null);p.mode=9;case 9:if(512&p.flags){for(;W<16;){if(nt===0)break t;nt--,G+=V[st++]<<W,W+=8}if(G!==(65535&p.check)){B.msg="header crc mismatch",p.mode=30;break}W=G=0}p.head&&(p.head.hcrc=p.flags>>9&1,p.head.done=!0),B.adler=p.check=0,p.mode=12;break;case 10:for(;W<32;){if(nt===0)break t;nt--,G+=V[st++]<<W,W+=8}B.adler=p.check=d(G),W=G=0,p.mode=11;case 11:if(p.havedict===0)return B.next_out=xt,B.avail_out=bt,B.next_in=st,B.avail_in=nt,p.hold=G,p.bits=W,2;B.adler=p.check=1,p.mode=12;case 12:if($===5||$===6)break t;case 13:if(p.last){G>>>=7&W,W-=7&W,p.mode=27;break}for(;W<3;){if(nt===0)break t;nt--,G+=V[st++]<<W,W+=8}switch(p.last=1&G,W-=1,3&(G>>>=1)){case 0:p.mode=14;break;case 1:if(ot(p),p.mode=20,$!==6)break;G>>>=2,W-=2;break t;case 2:p.mode=17;break;case 3:B.msg="invalid block type",p.mode=30}G>>>=2,W-=2;break;case 14:for(G>>>=7&W,W-=7&W;W<32;){if(nt===0)break t;nt--,G+=V[st++]<<W,W+=8}if((65535&G)!=(G>>>16^65535)){B.msg="invalid stored block lengths",p.mode=30;break}if(p.length=65535&G,W=G=0,p.mode=15,$===6)break t;case 15:p.mode=16;case 16:if(lt=p.length){if(nt<lt&&(lt=nt),bt<lt&&(lt=bt),lt===0)break t;a.arraySet(yt,V,st,lt,xt),nt-=lt,st+=lt,bt-=lt,xt+=lt,p.length-=lt;break}p.mode=12;break;case 17:for(;W<14;){if(nt===0)break t;nt--,G+=V[st++]<<W,W+=8}if(p.nlen=257+(31&G),G>>>=5,W-=5,p.ndist=1+(31&G),G>>>=5,W-=5,p.ncode=4+(15&G),G>>>=4,W-=4,286<p.nlen||30<p.ndist){B.msg="too many length or distance symbols",p.mode=30;break}p.have=0,p.mode=18;case 18:for(;p.have<p.ncode;){for(;W<3;){if(nt===0)break t;nt--,G+=V[st++]<<W,W+=8}p.lens[et[p.have++]]=7&G,G>>>=3,W-=3}for(;p.have<19;)p.lens[et[p.have++]]=0;if(p.lencode=p.lendyn,p.lenbits=7,q={bits:p.lenbits},X=S(0,p.lens,0,19,p.lencode,0,p.work,q),p.lenbits=q.bits,X){B.msg="invalid code lengths set",p.mode=30;break}p.have=0,p.mode=19;case 19:for(;p.have<p.nlen+p.ndist;){for(;Rt=(E=p.lencode[G&(1<<p.lenbits)-1])>>>16&255,jt=65535&E,!((Ot=E>>>24)<=W);){if(nt===0)break t;nt--,G+=V[st++]<<W,W+=8}if(jt<16)G>>>=Ot,W-=Ot,p.lens[p.have++]=jt;else{if(jt===16){for(O=Ot+2;W<O;){if(nt===0)break t;nt--,G+=V[st++]<<W,W+=8}if(G>>>=Ot,W-=Ot,p.have===0){B.msg="invalid bit length repeat",p.mode=30;break}f=p.lens[p.have-1],lt=3+(3&G),G>>>=2,W-=2}else if(jt===17){for(O=Ot+3;W<O;){if(nt===0)break t;nt--,G+=V[st++]<<W,W+=8}W-=Ot,f=0,lt=3+(7&(G>>>=Ot)),G>>>=3,W-=3}else{for(O=Ot+7;W<O;){if(nt===0)break t;nt--,G+=V[st++]<<W,W+=8}W-=Ot,f=0,lt=11+(127&(G>>>=Ot)),G>>>=7,W-=7}if(p.have+lt>p.nlen+p.ndist){B.msg="invalid bit length repeat",p.mode=30;break}for(;lt--;)p.lens[p.have++]=f}}if(p.mode===30)break;if(p.lens[256]===0){B.msg="invalid code -- missing end-of-block",p.mode=30;break}if(p.lenbits=9,q={bits:p.lenbits},X=S(C,p.lens,0,p.nlen,p.lencode,0,p.work,q),p.lenbits=q.bits,X){B.msg="invalid literal/lengths set",p.mode=30;break}if(p.distbits=6,p.distcode=p.distdyn,q={bits:p.distbits},X=S(k,p.lens,p.nlen,p.ndist,p.distcode,0,p.work,q),p.distbits=q.bits,X){B.msg="invalid distances set",p.mode=30;break}if(p.mode=20,$===6)break t;case 20:p.mode=21;case 21:if(6<=nt&&258<=bt){B.next_out=xt,B.avail_out=bt,B.next_in=st,B.avail_in=nt,p.hold=G,p.bits=W,g(B,ht),xt=B.next_out,yt=B.output,bt=B.avail_out,st=B.next_in,V=B.input,nt=B.avail_in,G=p.hold,W=p.bits,p.mode===12&&(p.back=-1);break}for(p.back=0;Rt=(E=p.lencode[G&(1<<p.lenbits)-1])>>>16&255,jt=65535&E,!((Ot=E>>>24)<=W);){if(nt===0)break t;nt--,G+=V[st++]<<W,W+=8}if(Rt&&(240&Rt)==0){for(Kt=Ot,he=Rt,ae=jt;Rt=(E=p.lencode[ae+((G&(1<<Kt+he)-1)>>Kt)])>>>16&255,jt=65535&E,!(Kt+(Ot=E>>>24)<=W);){if(nt===0)break t;nt--,G+=V[st++]<<W,W+=8}G>>>=Kt,W-=Kt,p.back+=Kt}if(G>>>=Ot,W-=Ot,p.back+=Ot,p.length=jt,Rt===0){p.mode=26;break}if(32&Rt){p.back=-1,p.mode=12;break}if(64&Rt){B.msg="invalid literal/length code",p.mode=30;break}p.extra=15&Rt,p.mode=22;case 22:if(p.extra){for(O=p.extra;W<O;){if(nt===0)break t;nt--,G+=V[st++]<<W,W+=8}p.length+=G&(1<<p.extra)-1,G>>>=p.extra,W-=p.extra,p.back+=p.extra}p.was=p.length,p.mode=23;case 23:for(;Rt=(E=p.distcode[G&(1<<p.distbits)-1])>>>16&255,jt=65535&E,!((Ot=E>>>24)<=W);){if(nt===0)break t;nt--,G+=V[st++]<<W,W+=8}if((240&Rt)==0){for(Kt=Ot,he=Rt,ae=jt;Rt=(E=p.distcode[ae+((G&(1<<Kt+he)-1)>>Kt)])>>>16&255,jt=65535&E,!(Kt+(Ot=E>>>24)<=W);){if(nt===0)break t;nt--,G+=V[st++]<<W,W+=8}G>>>=Kt,W-=Kt,p.back+=Kt}if(G>>>=Ot,W-=Ot,p.back+=Ot,64&Rt){B.msg="invalid distance code",p.mode=30;break}p.offset=jt,p.extra=15&Rt,p.mode=24;case 24:if(p.extra){for(O=p.extra;W<O;){if(nt===0)break t;nt--,G+=V[st++]<<W,W+=8}p.offset+=G&(1<<p.extra)-1,G>>>=p.extra,W-=p.extra,p.back+=p.extra}if(p.offset>p.dmax){B.msg="invalid distance too far back",p.mode=30;break}p.mode=25;case 25:if(bt===0)break t;if(lt=ht-bt,p.offset>lt){if((lt=p.offset-lt)>p.whave&&p.sane){B.msg="invalid distance too far back",p.mode=30;break}Mt=lt>p.wnext?(lt-=p.wnext,p.wsize-lt):p.wnext-lt,lt>p.length&&(lt=p.length),$t=p.window}else $t=yt,Mt=xt-p.offset,lt=p.length;for(bt<lt&&(lt=bt),bt-=lt,p.length-=lt;yt[xt++]=$t[Mt++],--lt;);p.length===0&&(p.mode=21);break;case 26:if(bt===0)break t;yt[xt++]=p.length,bt--,p.mode=21;break;case 27:if(p.wrap){for(;W<32;){if(nt===0)break t;nt--,G|=V[st++]<<W,W+=8}if(ht-=bt,B.total_out+=ht,p.total+=ht,ht&&(B.adler=p.check=p.flags?c(p.check,yt,ht,xt-ht):l(p.check,yt,ht,xt-ht)),ht=bt,(p.flags?G:d(G))!==p.check){B.msg="incorrect data check",p.mode=30;break}W=G=0}p.mode=28;case 28:if(p.wrap&&p.flags){for(;W<32;){if(nt===0)break t;nt--,G+=V[st++]<<W,W+=8}if(G!==(4294967295&p.total)){B.msg="incorrect length check",p.mode=30;break}W=G=0}p.mode=29;case 29:X=1;break t;case 30:X=-3;break t;case 31:return-4;case 32:default:return w}return B.next_out=xt,B.avail_out=bt,B.next_in=st,B.avail_in=nt,p.hold=G,p.bits=W,(p.wsize||ht!==B.avail_out&&p.mode<30&&(p.mode<27||$!==4))&>(B,B.output,B.next_out,ht-B.avail_out)?(p.mode=31,-4):(mt-=B.avail_in,ht-=B.avail_out,B.total_in+=mt,B.total_out+=ht,p.total+=ht,p.wrap&&ht&&(B.adler=p.check=p.flags?c(p.check,yt,ht,B.next_out-ht):l(p.check,yt,ht,B.next_out-ht)),B.data_type=p.bits+(p.last?64:0)+(p.mode===12?128:0)+(p.mode===20||p.mode===15?256:0),(mt==0&&ht===0||$===4)&&X===I&&(X=-5),X)},u.inflateEnd=function(B){if(!B||!B.state)return w;var $=B.state;return $.window&&($.window=null),B.state=null,I},u.inflateGetHeader=function(B,$){var p;return B&&B.state?(2&(p=B.state).wrap)==0?w:((p.head=$).done=!1,I):w},u.inflateSetDictionary=function(B,$){var p,V=$.length;return B&&B.state?(p=B.state).wrap!==0&&p.mode!==11?w:p.mode===11&&l(1,$,V,0)!==p.check?-3:gt(B,$,V,V)?(p.mode=31,-4):(p.havedict=1,I):w},u.inflateInfo="pako inflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./inffast":48,"./inftrees":50}],50:[function(n,s,u){var a=n("../utils/common"),l=[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],c=[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],g=[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],S=[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];s.exports=function(C,k,I,w,P,_,x,d){var m,A,R,T,U,Z,J,H,ot,gt=d.bits,B=0,$=0,p=0,V=0,yt=0,st=0,xt=0,nt=0,bt=0,G=0,W=null,mt=0,ht=new a.Buf16(16),lt=new a.Buf16(16),Mt=null,$t=0;for(B=0;B<=15;B++)ht[B]=0;for($=0;$<w;$++)ht[k[I+$]]++;for(yt=gt,V=15;1<=V&&ht[V]===0;V--);if(V<yt&&(yt=V),V===0)return P[_++]=20971520,P[_++]=20971520,d.bits=1,0;for(p=1;p<V&&ht[p]===0;p++);for(yt<p&&(yt=p),B=nt=1;B<=15;B++)if(nt<<=1,(nt-=ht[B])<0)return-1;if(0<nt&&(C===0||V!==1))return-1;for(lt[1]=0,B=1;B<15;B++)lt[B+1]=lt[B]+ht[B];for($=0;$<w;$++)k[I+$]!==0&&(x[lt[k[I+$]]++]=$);if(Z=C===0?(W=Mt=x,19):C===1?(W=l,mt-=257,Mt=c,$t-=257,256):(W=g,Mt=S,-1),B=p,U=_,xt=$=G=0,R=-1,T=(bt=1<<(st=yt))-1,C===1&&852<bt||C===2&&592<bt)return 1;for(;;){for(J=B-xt,ot=x[$]<Z?(H=0,x[$]):x[$]>Z?(H=Mt[$t+x[$]],W[mt+x[$]]):(H=96,0),m=1<<B-xt,p=A=1<<st;P[U+(G>>xt)+(A-=m)]=J<<24|H<<16|ot|0,A!==0;);for(m=1<<B-1;G&m;)m>>=1;if(m!==0?(G&=m-1,G+=m):G=0,$++,--ht[B]==0){if(B===V)break;B=k[I+x[$]]}if(yt<B&&(G&T)!==R){for(xt===0&&(xt=yt),U+=p,nt=1<<(st=B-xt);st+xt<V&&!((nt-=ht[st+xt])<=0);)st++,nt<<=1;if(bt+=1<<st,C===1&&852<bt||C===2&&592<bt)return 1;P[R=G&T]=yt<<24|st<<16|U-_|0}}return G!==0&&(P[U+G]=B-xt<<24|64<<16|0),d.bits=yt,0}},{"../utils/common":41}],51:[function(n,s,u){s.exports={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"}},{}],52:[function(n,s,u){var a=n("../utils/common"),l=0,c=1;function g(E){for(var D=E.length;0<=--D;)E[D]=0}var S=0,C=29,k=256,I=k+1+C,w=30,P=19,_=2*I+1,x=15,d=16,m=7,A=256,R=16,T=17,U=18,Z=[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],J=[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],H=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],ot=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],gt=new Array(2*(I+2));g(gt);var B=new Array(2*w);g(B);var $=new Array(512);g($);var p=new Array(256);g(p);var V=new Array(C);g(V);var yt,st,xt,nt=new Array(w);function bt(E,D,et,rt,F){this.static_tree=E,this.extra_bits=D,this.extra_base=et,this.elems=rt,this.max_length=F,this.has_stree=E&&E.length}function G(E,D){this.dyn_tree=E,this.max_code=0,this.stat_desc=D}function W(E){return E<256?$[E]:$[256+(E>>>7)]}function mt(E,D){E.pending_buf[E.pending++]=255&D,E.pending_buf[E.pending++]=D>>>8&255}function ht(E,D,et){E.bi_valid>d-et?(E.bi_buf|=D<<E.bi_valid&65535,mt(E,E.bi_buf),E.bi_buf=D>>d-E.bi_valid,E.bi_valid+=et-d):(E.bi_buf|=D<<E.bi_valid&65535,E.bi_valid+=et)}function lt(E,D,et){ht(E,et[2*D],et[2*D+1])}function Mt(E,D){for(var et=0;et|=1&E,E>>>=1,et<<=1,0<--D;);return et>>>1}function $t(E,D,et){var rt,F,at=new Array(x+1),ct=0;for(rt=1;rt<=x;rt++)at[rt]=ct=ct+et[rt-1]<<1;for(F=0;F<=D;F++){var ut=E[2*F+1];ut!==0&&(E[2*F]=Mt(at[ut]++,ut))}}function Ot(E){var D;for(D=0;D<I;D++)E.dyn_ltree[2*D]=0;for(D=0;D<w;D++)E.dyn_dtree[2*D]=0;for(D=0;D<P;D++)E.bl_tree[2*D]=0;E.dyn_ltree[2*A]=1,E.opt_len=E.static_len=0,E.last_lit=E.matches=0}function Rt(E){8<E.bi_valid?mt(E,E.bi_buf):0<E.bi_valid&&(E.pending_buf[E.pending++]=E.bi_buf),E.bi_buf=0,E.bi_valid=0}function jt(E,D,et,rt){var F=2*D,at=2*et;return E[F]<E[at]||E[F]===E[at]&&rt[D]<=rt[et]}function Kt(E,D,et){for(var rt=E.heap[et],F=et<<1;F<=E.heap_len&&(F<E.heap_len&&jt(D,E.heap[F+1],E.heap[F],E.depth)&&F++,!jt(D,rt,E.heap[F],E.depth));)E.heap[et]=E.heap[F],et=F,F<<=1;E.heap[et]=rt}function he(E,D,et){var rt,F,at,ct,ut=0;if(E.last_lit!==0)for(;rt=E.pending_buf[E.d_buf+2*ut]<<8|E.pending_buf[E.d_buf+2*ut+1],F=E.pending_buf[E.l_buf+ut],ut++,rt===0?lt(E,F,D):(lt(E,(at=p[F])+k+1,D),(ct=Z[at])!==0&&ht(E,F-=V[at],ct),lt(E,at=W(--rt),et),(ct=J[at])!==0&&ht(E,rt-=nt[at],ct)),ut<E.last_lit;);lt(E,A,D)}function ae(E,D){var et,rt,F,at=D.dyn_tree,ct=D.stat_desc.static_tree,ut=D.stat_desc.has_stree,_t=D.stat_desc.elems,Ft=-1;for(E.heap_len=0,E.heap_max=_,et=0;et<_t;et++)at[2*et]!==0?(E.heap[++E.heap_len]=Ft=et,E.depth[et]=0):at[2*et+1]=0;for(;E.heap_len<2;)at[2*(F=E.heap[++E.heap_len]=Ft<2?++Ft:0)]=1,E.depth[F]=0,E.opt_len--,ut&&(E.static_len-=ct[2*F+1]);for(D.max_code=Ft,et=E.heap_len>>1;1<=et;et--)Kt(E,at,et);for(F=_t;et=E.heap[1],E.heap[1]=E.heap[E.heap_len--],Kt(E,at,1),rt=E.heap[1],E.heap[--E.heap_max]=et,E.heap[--E.heap_max]=rt,at[2*F]=at[2*et]+at[2*rt],E.depth[F]=(E.depth[et]>=E.depth[rt]?E.depth[et]:E.depth[rt])+1,at[2*et+1]=at[2*rt+1]=F,E.heap[1]=F++,Kt(E,at,1),2<=E.heap_len;);E.heap[--E.heap_max]=E.heap[1],(function(Et,Vt){var $e,me,Je,Zt,ur,wr,xe=Vt.dyn_tree,Rr=Vt.max_code,Xr=Vt.stat_desc.static_tree,ni=Vt.stat_desc.has_stree,ii=Vt.stat_desc.extra_bits,hn=Vt.stat_desc.extra_base,lr=Vt.stat_desc.max_length,xr=0;for(Zt=0;Zt<=x;Zt++)Et.bl_count[Zt]=0;for(xe[2*Et.heap[Et.heap_max]+1]=0,$e=Et.heap_max+1;$e<_;$e++)lr<(Zt=xe[2*xe[2*(me=Et.heap[$e])+1]+1]+1)&&(Zt=lr,xr++),xe[2*me+1]=Zt,Rr<me||(Et.bl_count[Zt]++,ur=0,hn<=me&&(ur=ii[me-hn]),wr=xe[2*me],Et.opt_len+=wr*(Zt+ur),ni&&(Et.static_len+=wr*(Xr[2*me+1]+ur)));if(xr!==0){do{for(Zt=lr-1;Et.bl_count[Zt]===0;)Zt--;Et.bl_count[Zt]--,Et.bl_count[Zt+1]+=2,Et.bl_count[lr]--,xr-=2}while(0<xr);for(Zt=lr;Zt!==0;Zt--)for(me=Et.bl_count[Zt];me!==0;)Rr<(Je=Et.heap[--$e])||(xe[2*Je+1]!==Zt&&(Et.opt_len+=(Zt-xe[2*Je+1])*xe[2*Je],xe[2*Je+1]=Zt),me--)}})(E,D),$t(at,Ft,E.bl_count)}function f(E,D,et){var rt,F,at=-1,ct=D[1],ut=0,_t=7,Ft=4;for(ct===0&&(_t=138,Ft=3),D[2*(et+1)+1]=65535,rt=0;rt<=et;rt++)F=ct,ct=D[2*(rt+1)+1],++ut<_t&&F===ct||(ut<Ft?E.bl_tree[2*F]+=ut:F!==0?(F!==at&&E.bl_tree[2*F]++,E.bl_tree[2*R]++):ut<=10?E.bl_tree[2*T]++:E.bl_tree[2*U]++,at=F,Ft=(ut=0)===ct?(_t=138,3):F===ct?(_t=6,3):(_t=7,4))}function X(E,D,et){var rt,F,at=-1,ct=D[1],ut=0,_t=7,Ft=4;for(ct===0&&(_t=138,Ft=3),rt=0;rt<=et;rt++)if(F=ct,ct=D[2*(rt+1)+1],!(++ut<_t&&F===ct)){if(ut<Ft)for(;lt(E,F,E.bl_tree),--ut!=0;);else F!==0?(F!==at&&(lt(E,F,E.bl_tree),ut--),lt(E,R,E.bl_tree),ht(E,ut-3,2)):ut<=10?(lt(E,T,E.bl_tree),ht(E,ut-3,3)):(lt(E,U,E.bl_tree),ht(E,ut-11,7));at=F,Ft=(ut=0)===ct?(_t=138,3):F===ct?(_t=6,3):(_t=7,4)}}g(nt);var q=!1;function O(E,D,et,rt){ht(E,(S<<1)+(rt?1:0),3),(function(F,at,ct,ut){Rt(F),mt(F,ct),mt(F,~ct),a.arraySet(F.pending_buf,F.window,at,ct,F.pending),F.pending+=ct})(E,D,et)}u._tr_init=function(E){q||((function(){var D,et,rt,F,at,ct=new Array(x+1);for(F=rt=0;F<C-1;F++)for(V[F]=rt,D=0;D<1<<Z[F];D++)p[rt++]=F;for(p[rt-1]=F,F=at=0;F<16;F++)for(nt[F]=at,D=0;D<1<<J[F];D++)$[at++]=F;for(at>>=7;F<w;F++)for(nt[F]=at<<7,D=0;D<1<<J[F]-7;D++)$[256+at++]=F;for(et=0;et<=x;et++)ct[et]=0;for(D=0;D<=143;)gt[2*D+1]=8,D++,ct[8]++;for(;D<=255;)gt[2*D+1]=9,D++,ct[9]++;for(;D<=279;)gt[2*D+1]=7,D++,ct[7]++;for(;D<=287;)gt[2*D+1]=8,D++,ct[8]++;for($t(gt,I+1,ct),D=0;D<w;D++)B[2*D+1]=5,B[2*D]=Mt(D,5);yt=new bt(gt,Z,k+1,I,x),st=new bt(B,J,0,w,x),xt=new bt(new Array(0),H,0,P,m)})(),q=!0),E.l_desc=new G(E.dyn_ltree,yt),E.d_desc=new G(E.dyn_dtree,st),E.bl_desc=new G(E.bl_tree,xt),E.bi_buf=0,E.bi_valid=0,Ot(E)},u._tr_stored_block=O,u._tr_flush_block=function(E,D,et,rt){var F,at,ct=0;0<E.level?(E.strm.data_type===2&&(E.strm.data_type=(function(ut){var _t,Ft=4093624447;for(_t=0;_t<=31;_t++,Ft>>>=1)if(1&Ft&&ut.dyn_ltree[2*_t]!==0)return l;if(ut.dyn_ltree[18]!==0||ut.dyn_ltree[20]!==0||ut.dyn_ltree[26]!==0)return c;for(_t=32;_t<k;_t++)if(ut.dyn_ltree[2*_t]!==0)return c;return l})(E)),ae(E,E.l_desc),ae(E,E.d_desc),ct=(function(ut){var _t;for(f(ut,ut.dyn_ltree,ut.l_desc.max_code),f(ut,ut.dyn_dtree,ut.d_desc.max_code),ae(ut,ut.bl_desc),_t=P-1;3<=_t&&ut.bl_tree[2*ot[_t]+1]===0;_t--);return ut.opt_len+=3*(_t+1)+5+5+4,_t})(E),F=E.opt_len+3+7>>>3,(at=E.static_len+3+7>>>3)<=F&&(F=at)):F=at=et+5,et+4<=F&&D!==-1?O(E,D,et,rt):E.strategy===4||at===F?(ht(E,2+(rt?1:0),3),he(E,gt,B)):(ht(E,4+(rt?1:0),3),(function(ut,_t,Ft,Et){var Vt;for(ht(ut,_t-257,5),ht(ut,Ft-1,5),ht(ut,Et-4,4),Vt=0;Vt<Et;Vt++)ht(ut,ut.bl_tree[2*ot[Vt]+1],3);X(ut,ut.dyn_ltree,_t-1),X(ut,ut.dyn_dtree,Ft-1)})(E,E.l_desc.max_code+1,E.d_desc.max_code+1,ct+1),he(E,E.dyn_ltree,E.dyn_dtree)),Ot(E),rt&&Rt(E)},u._tr_tally=function(E,D,et){return E.pending_buf[E.d_buf+2*E.last_lit]=D>>>8&255,E.pending_buf[E.d_buf+2*E.last_lit+1]=255&D,E.pending_buf[E.l_buf+E.last_lit]=255&et,E.last_lit++,D===0?E.dyn_ltree[2*et]++:(E.matches++,D--,E.dyn_ltree[2*(p[et]+k+1)]++,E.dyn_dtree[2*W(D)]++),E.last_lit===E.lit_bufsize-1},u._tr_align=function(E){ht(E,2,3),lt(E,A,gt),(function(D){D.bi_valid===16?(mt(D,D.bi_buf),D.bi_buf=0,D.bi_valid=0):8<=D.bi_valid&&(D.pending_buf[D.pending++]=255&D.bi_buf,D.bi_buf>>=8,D.bi_valid-=8)})(E)}},{"../utils/common":41}],53:[function(n,s,u){s.exports=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}},{}],54:[function(n,s,u){(function(a){(function(l,c){if(!l.setImmediate){var g,S,C,k,I=1,w={},P=!1,_=l.document,x=Object.getPrototypeOf&&Object.getPrototypeOf(l);x=x&&x.setTimeout?x:l,g={}.toString.call(l.process)==="[object process]"?function(R){process.nextTick(function(){m(R)})}:(function(){if(l.postMessage&&!l.importScripts){var R=!0,T=l.onmessage;return l.onmessage=function(){R=!1},l.postMessage("","*"),l.onmessage=T,R}})()?(k="setImmediate$"+Math.random()+"$",l.addEventListener?l.addEventListener("message",A,!1):l.attachEvent("onmessage",A),function(R){l.postMessage(k+R,"*")}):l.MessageChannel?((C=new MessageChannel).port1.onmessage=function(R){m(R.data)},function(R){C.port2.postMessage(R)}):_&&"onreadystatechange"in _.createElement("script")?(S=_.documentElement,function(R){var T=_.createElement("script");T.onreadystatechange=function(){m(R),T.onreadystatechange=null,S.removeChild(T),T=null},S.appendChild(T)}):function(R){setTimeout(m,0,R)},x.setImmediate=function(R){typeof R!="function"&&(R=new Function(""+R));for(var T=new Array(arguments.length-1),U=0;U<T.length;U++)T[U]=arguments[U+1];var Z={callback:R,args:T};return w[I]=Z,g(I),I++},x.clearImmediate=d}function d(R){delete w[R]}function m(R){if(P)setTimeout(m,0,R);else{var T=w[R];if(T){P=!0;try{(function(U){var Z=U.callback,J=U.args;switch(J.length){case 0:Z();break;case 1:Z(J[0]);break;case 2:Z(J[0],J[1]);break;case 3:Z(J[0],J[1],J[2]);break;default:Z.apply(c,J)}})(T)}finally{d(R),P=!1}}}}function A(R){R.source===l&&typeof R.data=="string"&&R.data.indexOf(k)===0&&m(+R.data.slice(k.length))}})(typeof self>"u"?a===void 0?this:a:self)}).call(this,typeof yr<"u"?yr:typeof self<"u"?self:typeof window<"u"?window:{})},{}]},{},[10])(10)})})(vs)),vs.exports}var rg=eg();const ng=tg(rg);var ks=function(v,o){return ks=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,s){n.__proto__=s}||function(n,s){for(var u in s)Object.prototype.hasOwnProperty.call(s,u)&&(n[u]=s[u])},ks(v,o)};function _u(v,o){if(typeof o!="function"&&o!==null)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");ks(v,o);function n(){this.constructor=v}v.prototype=o===null?Object.create(o):(n.prototype=o.prototype,new n)}var Oe=function(){return Oe=Object.assign||function(o){for(var n,s=1,u=arguments.length;s<u;s++){n=arguments[s];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(o[a]=n[a])}return o},Oe.apply(this,arguments)};function fe(v,o,n,s){function u(a){return a instanceof n?a:new n(function(l){l(a)})}return new(n||(n=Promise))(function(a,l){function c(C){try{S(s.next(C))}catch(k){l(k)}}function g(C){try{S(s.throw(C))}catch(k){l(k)}}function S(C){C.done?a(C.value):u(C.value).then(c,g)}S((s=s.apply(v,o||[])).next())})}function ce(v,o){var n={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},s,u,a,l=Object.create((typeof Iterator=="function"?Iterator:Object).prototype);return l.next=c(0),l.throw=c(1),l.return=c(2),typeof Symbol=="function"&&(l[Symbol.iterator]=function(){return this}),l;function c(S){return function(C){return g([S,C])}}function g(S){if(s)throw new TypeError("Generator is already executing.");for(;l&&(l=0,S[0]&&(n=0)),n;)try{if(s=1,u&&(a=S[0]&2?u.return:S[0]?u.throw||((a=u.return)&&a.call(u),0):u.next)&&!(a=a.call(u,S[1])).done)return a;switch(u=0,a&&(S=[S[0]&2,a.value]),S[0]){case 0:case 1:a=S;break;case 4:return n.label++,{value:S[1],done:!1};case 5:n.label++,u=S[1],S=[0];continue;case 7:S=n.ops.pop(),n.trys.pop();continue;default:if(a=n.trys,!(a=a.length>0&&a[a.length-1])&&(S[0]===6||S[0]===2)){n=0;continue}if(S[0]===3&&(!a||S[1]>a[0]&&S[1]<a[3])){n.label=S[1];break}if(S[0]===6&&n.label<a[1]){n.label=a[1],a=S;break}if(a&&n.label<a[2]){n.label=a[2],n.ops.push(S);break}a[2]&&n.ops.pop(),n.trys.pop();continue}S=o.call(v,n)}catch(C){S=[6,C],u=0}finally{s=a=0}if(S[0]&5)throw S[1];return{value:S[0]?S[1]:void 0,done:!0}}}function ys(v,o,n){if(n||arguments.length===2)for(var s=0,u=o.length,a;s<u;s++)(a||!(s in o))&&(a||(a=Array.prototype.slice.call(o,0,s)),a[s]=o[s]);return v.concat(a||Array.prototype.slice.call(o))}var cn={exports:{}};/**
|
|
13
|
+
* @license
|
|
14
|
+
* Lodash <https://lodash.com/>
|
|
15
|
+
* Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
|
|
16
|
+
* Released under MIT license <https://lodash.com/license>
|
|
17
|
+
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
|
|
18
|
+
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
|
|
19
|
+
*/var ig=cn.exports,iu;function sg(){return iu||(iu=1,(function(v,o){(function(){var n,s="4.18.1",u=200,a="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",l="Expected a function",c="Invalid `variable` option passed into `_.template`",g="Invalid `imports` option passed into `_.template`",S="__lodash_hash_undefined__",C=500,k="__lodash_placeholder__",I=1,w=2,P=4,_=1,x=2,d=1,m=2,A=4,R=8,T=16,U=32,Z=64,J=128,H=256,ot=512,gt=30,B="...",$=800,p=16,V=1,yt=2,st=3,xt=1/0,nt=9007199254740991,bt=17976931348623157e292,G=NaN,W=4294967295,mt=W-1,ht=W>>>1,lt=[["ary",J],["bind",d],["bindKey",m],["curry",R],["curryRight",T],["flip",ot],["partial",U],["partialRight",Z],["rearg",H]],Mt="[object Arguments]",$t="[object Array]",Ot="[object AsyncFunction]",Rt="[object Boolean]",jt="[object Date]",Kt="[object DOMException]",he="[object Error]",ae="[object Function]",f="[object GeneratorFunction]",X="[object Map]",q="[object Number]",O="[object Null]",E="[object Object]",D="[object Promise]",et="[object Proxy]",rt="[object RegExp]",F="[object Set]",at="[object String]",ct="[object Symbol]",ut="[object Undefined]",_t="[object WeakMap]",Ft="[object WeakSet]",Et="[object ArrayBuffer]",Vt="[object DataView]",$e="[object Float32Array]",me="[object Float64Array]",Je="[object Int8Array]",Zt="[object Int16Array]",ur="[object Int32Array]",wr="[object Uint8Array]",xe="[object Uint8ClampedArray]",Rr="[object Uint16Array]",Xr="[object Uint32Array]",ni=/\b__p \+= '';/g,ii=/\b(__p \+=) '' \+/g,hn=/(__e\(.*?\)|\b__t\)) \+\n'';/g,lr=/&(?:amp|lt|gt|quot|#39);/g,xr=/[&<>"']/g,Su=RegExp(lr.source),Cu=RegExp(xr.source),Eu=/<%-([\s\S]+?)%>/g,Iu=/<%([\s\S]+?)%>/g,Es=/<%=([\s\S]+?)%>/g,Pu=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Tu=/^\w*$/,Ou=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,si=/[\\^$.*+?()[\]{}|]/g,Ru=RegExp(si.source),ai=/^\s+/,Lu=/\s/,Bu=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,zu=/\{\n\/\* \[wrapped with (.+)\] \*/,Nu=/,? & /,Du=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Is=/[()=,{}\[\]\/\s]/,Mu=/\\(\\)?/g,Fu=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Ps=/\w*$/,Uu=/^[-+]0x[0-9a-f]+$/i,Wu=/^0b[01]+$/i,Zu=/^\[object .+?Constructor\]$/,Hu=/^0o[0-7]+$/i,ju=/^(?:0|[1-9]\d*)$/,Gu=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,dn=/($^)/,Ku=/['\n\r\u2028\u2029\\]/g,pn="\\ud800-\\udfff",qu="\\u0300-\\u036f",Xu="\\ufe20-\\ufe2f",Yu="\\u20d0-\\u20ff",Ts=qu+Xu+Yu,Os="\\u2700-\\u27bf",Rs="a-z\\xdf-\\xf6\\xf8-\\xff",$u="\\xac\\xb1\\xd7\\xf7",Ju="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",Qu="\\u2000-\\u206f",Vu=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Ls="A-Z\\xc0-\\xd6\\xd8-\\xde",Bs="\\ufe0e\\ufe0f",zs=$u+Ju+Qu+Vu,oi="['’]",tl="["+pn+"]",Ns="["+zs+"]",gn="["+Ts+"]",Ds="\\d+",el="["+Os+"]",Ms="["+Rs+"]",Fs="[^"+pn+zs+Ds+Os+Rs+Ls+"]",ui="\\ud83c[\\udffb-\\udfff]",rl="(?:"+gn+"|"+ui+")",Us="[^"+pn+"]",li="(?:\\ud83c[\\udde6-\\uddff]){2}",fi="[\\ud800-\\udbff][\\udc00-\\udfff]",Lr="["+Ls+"]",Ws="\\u200d",Zs="(?:"+Ms+"|"+Fs+")",nl="(?:"+Lr+"|"+Fs+")",Hs="(?:"+oi+"(?:d|ll|m|re|s|t|ve))?",js="(?:"+oi+"(?:D|LL|M|RE|S|T|VE))?",Gs=rl+"?",Ks="["+Bs+"]?",il="(?:"+Ws+"(?:"+[Us,li,fi].join("|")+")"+Ks+Gs+")*",sl="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",al="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",qs=Ks+Gs+il,ol="(?:"+[el,li,fi].join("|")+")"+qs,ul="(?:"+[Us+gn+"?",gn,li,fi,tl].join("|")+")",ll=RegExp(oi,"g"),fl=RegExp(gn,"g"),ci=RegExp(ui+"(?="+ui+")|"+ul+qs,"g"),cl=RegExp([Lr+"?"+Ms+"+"+Hs+"(?="+[Ns,Lr,"$"].join("|")+")",nl+"+"+js+"(?="+[Ns,Lr+Zs,"$"].join("|")+")",Lr+"?"+Zs+"+"+Hs,Lr+"+"+js,al,sl,Ds,ol].join("|"),"g"),hl=RegExp("["+Ws+pn+Ts+Bs+"]"),dl=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,pl=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],gl=-1,Ht={};Ht[$e]=Ht[me]=Ht[Je]=Ht[Zt]=Ht[ur]=Ht[wr]=Ht[xe]=Ht[Rr]=Ht[Xr]=!0,Ht[Mt]=Ht[$t]=Ht[Et]=Ht[Rt]=Ht[Vt]=Ht[jt]=Ht[he]=Ht[ae]=Ht[X]=Ht[q]=Ht[E]=Ht[rt]=Ht[F]=Ht[at]=Ht[_t]=!1;var Wt={};Wt[Mt]=Wt[$t]=Wt[Et]=Wt[Vt]=Wt[Rt]=Wt[jt]=Wt[$e]=Wt[me]=Wt[Je]=Wt[Zt]=Wt[ur]=Wt[X]=Wt[q]=Wt[E]=Wt[rt]=Wt[F]=Wt[at]=Wt[ct]=Wt[wr]=Wt[xe]=Wt[Rr]=Wt[Xr]=!0,Wt[he]=Wt[ae]=Wt[_t]=!1;var _l={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"},ml={"&":"&","<":"<",">":">",'"':""","'":"'"},vl={"&":"&","<":"<",">":">",""":'"',"'":"'"},yl={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},bl=parseFloat,wl=parseInt,Xs=typeof yr=="object"&&yr&&yr.Object===Object&&yr,xl=typeof self=="object"&&self&&self.Object===Object&&self,ne=Xs||xl||Function("return this")(),hi=o&&!o.nodeType&&o,Ar=hi&&!0&&v&&!v.nodeType&&v,Ys=Ar&&Ar.exports===hi,di=Ys&&Xs.process,Le=(function(){try{var N=Ar&&Ar.require&&Ar.require("util").types;return N||di&&di.binding&&di.binding("util")}catch{}})(),$s=Le&&Le.isArrayBuffer,Js=Le&&Le.isDate,Qs=Le&&Le.isMap,Vs=Le&&Le.isRegExp,ta=Le&&Le.isSet,ea=Le&&Le.isTypedArray;function Ae(N,Y,j){switch(j.length){case 0:return N.call(Y);case 1:return N.call(Y,j[0]);case 2:return N.call(Y,j[0],j[1]);case 3:return N.call(Y,j[0],j[1],j[2])}return N.apply(Y,j)}function Al(N,Y,j,dt){for(var kt=-1,zt=N==null?0:N.length;++kt<zt;){var te=N[kt];Y(dt,te,j(te),N)}return dt}function ke(N,Y){for(var j=-1,dt=N==null?0:N.length;++j<dt&&Y(N[j],j,N)!==!1;);return N}function kl(N,Y){for(var j=N==null?0:N.length;j--&&Y(N[j],j,N)!==!1;);return N}function ra(N,Y){for(var j=-1,dt=N==null?0:N.length;++j<dt;)if(!Y(N[j],j,N))return!1;return!0}function fr(N,Y){for(var j=-1,dt=N==null?0:N.length,kt=0,zt=[];++j<dt;){var te=N[j];Y(te,j,N)&&(zt[kt++]=te)}return zt}function _n(N,Y){var j=N==null?0:N.length;return!!j&&Br(N,Y,0)>-1}function pi(N,Y,j){for(var dt=-1,kt=N==null?0:N.length;++dt<kt;)if(j(Y,N[dt]))return!0;return!1}function Gt(N,Y){for(var j=-1,dt=N==null?0:N.length,kt=Array(dt);++j<dt;)kt[j]=Y(N[j],j,N);return kt}function cr(N,Y){for(var j=-1,dt=Y.length,kt=N.length;++j<dt;)N[kt+j]=Y[j];return N}function gi(N,Y,j,dt){var kt=-1,zt=N==null?0:N.length;for(dt&&zt&&(j=N[++kt]);++kt<zt;)j=Y(j,N[kt],kt,N);return j}function Sl(N,Y,j,dt){var kt=N==null?0:N.length;for(dt&&kt&&(j=N[--kt]);kt--;)j=Y(j,N[kt],kt,N);return j}function _i(N,Y){for(var j=-1,dt=N==null?0:N.length;++j<dt;)if(Y(N[j],j,N))return!0;return!1}var Cl=mi("length");function El(N){return N.split("")}function Il(N){return N.match(Du)||[]}function na(N,Y,j){var dt;return j(N,function(kt,zt,te){if(Y(kt,zt,te))return dt=zt,!1}),dt}function mn(N,Y,j,dt){for(var kt=N.length,zt=j+(dt?1:-1);dt?zt--:++zt<kt;)if(Y(N[zt],zt,N))return zt;return-1}function Br(N,Y,j){return Y===Y?Ul(N,Y,j):mn(N,ia,j)}function Pl(N,Y,j,dt){for(var kt=j-1,zt=N.length;++kt<zt;)if(dt(N[kt],Y))return kt;return-1}function ia(N){return N!==N}function sa(N,Y){var j=N==null?0:N.length;return j?yi(N,Y)/j:G}function mi(N){return function(Y){return Y==null?n:Y[N]}}function vi(N){return function(Y){return N==null?n:N[Y]}}function aa(N,Y,j,dt,kt){return kt(N,function(zt,te,Ut){j=dt?(dt=!1,zt):Y(j,zt,te,Ut)}),j}function Tl(N,Y){var j=N.length;for(N.sort(Y);j--;)N[j]=N[j].value;return N}function yi(N,Y){for(var j,dt=-1,kt=N.length;++dt<kt;){var zt=Y(N[dt]);zt!==n&&(j=j===n?zt:j+zt)}return j}function bi(N,Y){for(var j=-1,dt=Array(N);++j<N;)dt[j]=Y(j);return dt}function Ol(N,Y){return Gt(Y,function(j){return[j,N[j]]})}function oa(N){return N&&N.slice(0,ca(N)+1).replace(ai,"")}function Se(N){return function(Y){return N(Y)}}function wi(N,Y){return Gt(Y,function(j){return N[j]})}function Yr(N,Y){return N.has(Y)}function ua(N,Y){for(var j=-1,dt=N.length;++j<dt&&Br(Y,N[j],0)>-1;);return j}function la(N,Y){for(var j=N.length;j--&&Br(Y,N[j],0)>-1;);return j}function Rl(N,Y){for(var j=N.length,dt=0;j--;)N[j]===Y&&++dt;return dt}var Ll=vi(_l),Bl=vi(ml);function zl(N){return"\\"+yl[N]}function Nl(N,Y){return N==null?n:N[Y]}function zr(N){return hl.test(N)}function Dl(N){return dl.test(N)}function Ml(N){for(var Y,j=[];!(Y=N.next()).done;)j.push(Y.value);return j}function xi(N){var Y=-1,j=Array(N.size);return N.forEach(function(dt,kt){j[++Y]=[kt,dt]}),j}function fa(N,Y){return function(j){return N(Y(j))}}function hr(N,Y){for(var j=-1,dt=N.length,kt=0,zt=[];++j<dt;){var te=N[j];(te===Y||te===k)&&(N[j]=k,zt[kt++]=j)}return zt}function vn(N){var Y=-1,j=Array(N.size);return N.forEach(function(dt){j[++Y]=dt}),j}function Fl(N){var Y=-1,j=Array(N.size);return N.forEach(function(dt){j[++Y]=[dt,dt]}),j}function Ul(N,Y,j){for(var dt=j-1,kt=N.length;++dt<kt;)if(N[dt]===Y)return dt;return-1}function Wl(N,Y,j){for(var dt=j+1;dt--;)if(N[dt]===Y)return dt;return dt}function Nr(N){return zr(N)?Hl(N):Cl(N)}function We(N){return zr(N)?jl(N):El(N)}function ca(N){for(var Y=N.length;Y--&&Lu.test(N.charAt(Y)););return Y}var Zl=vi(vl);function Hl(N){for(var Y=ci.lastIndex=0;ci.test(N);)++Y;return Y}function jl(N){return N.match(ci)||[]}function Gl(N){return N.match(cl)||[]}var Kl=(function N(Y){Y=Y==null?ne:Dr.defaults(ne.Object(),Y,Dr.pick(ne,pl));var j=Y.Array,dt=Y.Date,kt=Y.Error,zt=Y.Function,te=Y.Math,Ut=Y.Object,Ai=Y.RegExp,ql=Y.String,Be=Y.TypeError,yn=j.prototype,Xl=zt.prototype,Mr=Ut.prototype,bn=Y["__core-js_shared__"],wn=Xl.toString,Nt=Mr.hasOwnProperty,Yl=0,ha=(function(){var t=/[^.]+$/.exec(bn&&bn.keys&&bn.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""})(),xn=Mr.toString,$l=wn.call(Ut),Jl=ne._,Ql=Ai("^"+wn.call(Nt).replace(si,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),An=Ys?Y.Buffer:n,dr=Y.Symbol,kn=Y.Uint8Array,da=An?An.allocUnsafe:n,Sn=fa(Ut.getPrototypeOf,Ut),pa=Ut.create,ga=Mr.propertyIsEnumerable,Cn=yn.splice,_a=dr?dr.isConcatSpreadable:n,$r=dr?dr.iterator:n,kr=dr?dr.toStringTag:n,En=(function(){try{var t=Pr(Ut,"defineProperty");return t({},"",{}),t}catch{}})(),Vl=Y.clearTimeout!==ne.clearTimeout&&Y.clearTimeout,tf=dt&&dt.now!==ne.Date.now&&dt.now,ef=Y.setTimeout!==ne.setTimeout&&Y.setTimeout,In=te.ceil,Pn=te.floor,ki=Ut.getOwnPropertySymbols,rf=An?An.isBuffer:n,ma=Y.isFinite,nf=yn.join,sf=fa(Ut.keys,Ut),ee=te.max,oe=te.min,af=dt.now,of=Y.parseInt,va=te.random,uf=yn.reverse,Si=Pr(Y,"DataView"),Jr=Pr(Y,"Map"),Ci=Pr(Y,"Promise"),Fr=Pr(Y,"Set"),Qr=Pr(Y,"WeakMap"),Vr=Pr(Ut,"create"),Tn=Qr&&new Qr,Ur={},lf=Tr(Si),ff=Tr(Jr),cf=Tr(Ci),hf=Tr(Fr),df=Tr(Qr),On=dr?dr.prototype:n,tn=On?On.valueOf:n,ya=On?On.toString:n;function y(t){if(Yt(t)&&!St(t)&&!(t instanceof Lt)){if(t instanceof ze)return t;if(Nt.call(t,"__wrapped__"))return wo(t)}return new ze(t)}var Wr=(function(){function t(){}return function(e){if(!qt(e))return{};if(pa)return pa(e);t.prototype=e;var r=new t;return t.prototype=n,r}})();function Rn(){}function ze(t,e){this.__wrapped__=t,this.__actions__=[],this.__chain__=!!e,this.__index__=0,this.__values__=n}y.templateSettings={escape:Eu,evaluate:Iu,interpolate:Es,variable:"",imports:{_:y}},y.prototype=Rn.prototype,y.prototype.constructor=y,ze.prototype=Wr(Rn.prototype),ze.prototype.constructor=ze;function Lt(t){this.__wrapped__=t,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=W,this.__views__=[]}function pf(){var t=new Lt(this.__wrapped__);return t.__actions__=ve(this.__actions__),t.__dir__=this.__dir__,t.__filtered__=this.__filtered__,t.__iteratees__=ve(this.__iteratees__),t.__takeCount__=this.__takeCount__,t.__views__=ve(this.__views__),t}function gf(){if(this.__filtered__){var t=new Lt(this);t.__dir__=-1,t.__filtered__=!0}else t=this.clone(),t.__dir__*=-1;return t}function _f(){var t=this.__wrapped__.value(),e=this.__dir__,r=St(t),i=e<0,h=r?t.length:0,b=Ic(0,h,this.__views__),L=b.start,z=b.end,M=z-L,Q=i?z:L-1,tt=this.__iteratees__,it=tt.length,ft=0,pt=oe(M,this.__takeCount__);if(!r||!i&&h==M&&pt==M)return Ha(t,this.__actions__);var At=[];t:for(;M--&&ft<pt;){Q+=e;for(var It=-1,vt=t[Q];++It<it;){var Tt=tt[It],Bt=Tt.iteratee,Ie=Tt.type,ge=Bt(vt);if(Ie==yt)vt=ge;else if(!ge){if(Ie==V)continue t;break t}}At[ft++]=vt}return At}Lt.prototype=Wr(Rn.prototype),Lt.prototype.constructor=Lt;function Sr(t){var e=-1,r=t==null?0:t.length;for(this.clear();++e<r;){var i=t[e];this.set(i[0],i[1])}}function mf(){this.__data__=Vr?Vr(null):{},this.size=0}function vf(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}function yf(t){var e=this.__data__;if(Vr){var r=e[t];return r===S?n:r}return Nt.call(e,t)?e[t]:n}function bf(t){var e=this.__data__;return Vr?e[t]!==n:Nt.call(e,t)}function wf(t,e){var r=this.__data__;return this.size+=this.has(t)?0:1,r[t]=Vr&&e===n?S:e,this}Sr.prototype.clear=mf,Sr.prototype.delete=vf,Sr.prototype.get=yf,Sr.prototype.has=bf,Sr.prototype.set=wf;function Qe(t){var e=-1,r=t==null?0:t.length;for(this.clear();++e<r;){var i=t[e];this.set(i[0],i[1])}}function xf(){this.__data__=[],this.size=0}function Af(t){var e=this.__data__,r=Ln(e,t);if(r<0)return!1;var i=e.length-1;return r==i?e.pop():Cn.call(e,r,1),--this.size,!0}function kf(t){var e=this.__data__,r=Ln(e,t);return r<0?n:e[r][1]}function Sf(t){return Ln(this.__data__,t)>-1}function Cf(t,e){var r=this.__data__,i=Ln(r,t);return i<0?(++this.size,r.push([t,e])):r[i][1]=e,this}Qe.prototype.clear=xf,Qe.prototype.delete=Af,Qe.prototype.get=kf,Qe.prototype.has=Sf,Qe.prototype.set=Cf;function Ve(t){var e=-1,r=t==null?0:t.length;for(this.clear();++e<r;){var i=t[e];this.set(i[0],i[1])}}function Ef(){this.size=0,this.__data__={hash:new Sr,map:new(Jr||Qe),string:new Sr}}function If(t){var e=Gn(this,t).delete(t);return this.size-=e?1:0,e}function Pf(t){return Gn(this,t).get(t)}function Tf(t){return Gn(this,t).has(t)}function Of(t,e){var r=Gn(this,t),i=r.size;return r.set(t,e),this.size+=r.size==i?0:1,this}Ve.prototype.clear=Ef,Ve.prototype.delete=If,Ve.prototype.get=Pf,Ve.prototype.has=Tf,Ve.prototype.set=Of;function Cr(t){var e=-1,r=t==null?0:t.length;for(this.__data__=new Ve;++e<r;)this.add(t[e])}function Rf(t){return this.__data__.set(t,S),this}function Lf(t){return this.__data__.has(t)}Cr.prototype.add=Cr.prototype.push=Rf,Cr.prototype.has=Lf;function Ze(t){var e=this.__data__=new Qe(t);this.size=e.size}function Bf(){this.__data__=new Qe,this.size=0}function zf(t){var e=this.__data__,r=e.delete(t);return this.size=e.size,r}function Nf(t){return this.__data__.get(t)}function Df(t){return this.__data__.has(t)}function Mf(t,e){var r=this.__data__;if(r instanceof Qe){var i=r.__data__;if(!Jr||i.length<u-1)return i.push([t,e]),this.size=++r.size,this;r=this.__data__=new Ve(i)}return r.set(t,e),this.size=r.size,this}Ze.prototype.clear=Bf,Ze.prototype.delete=zf,Ze.prototype.get=Nf,Ze.prototype.has=Df,Ze.prototype.set=Mf;function ba(t,e){var r=St(t),i=!r&&Or(t),h=!r&&!i&&vr(t),b=!r&&!i&&!h&&Gr(t),L=r||i||h||b,z=L?bi(t.length,ql):[],M=z.length;for(var Q in t)(e||Nt.call(t,Q))&&!(L&&(Q=="length"||h&&(Q=="offset"||Q=="parent")||b&&(Q=="buffer"||Q=="byteLength"||Q=="byteOffset")||rr(Q,M)))&&z.push(Q);return z}function wa(t){var e=t.length;return e?t[Di(0,e-1)]:n}function Ff(t,e){return Kn(ve(t),Er(e,0,t.length))}function Uf(t){return Kn(ve(t))}function Ei(t,e,r){(r!==n&&!je(t[e],r)||r===n&&!(e in t))&&Ke(t,e,r)}function en(t,e,r){var i=t[e];(!(Nt.call(t,e)&&je(i,r))||r===n&&!(e in t))&&Ke(t,e,r)}function Ln(t,e){for(var r=t.length;r--;)if(je(t[r][0],e))return r;return-1}function Wf(t,e,r,i){return pr(t,function(h,b,L){e(i,h,r(h),L)}),i}function xa(t,e){return t&&Xe(e,re(e),t)}function Zf(t,e){return t&&Xe(e,be(e),t)}function Ke(t,e,r){e=="__proto__"&&En?En(t,e,{configurable:!0,enumerable:!0,value:r,writable:!0}):t[e]=r}function Ii(t,e){for(var r=-1,i=e.length,h=j(i),b=t==null;++r<i;)h[r]=b?n:ls(t,e[r]);return h}function Er(t,e,r){return t===t&&(r!==n&&(t=t<=r?t:r),e!==n&&(t=t>=e?t:e)),t}function Ne(t,e,r,i,h,b){var L,z=e&I,M=e&w,Q=e&P;if(r&&(L=h?r(t,i,h,b):r(t)),L!==n)return L;if(!qt(t))return t;var tt=St(t);if(tt){if(L=Tc(t),!z)return ve(t,L)}else{var it=ue(t),ft=it==ae||it==f;if(vr(t))return Ka(t,z);if(it==E||it==Mt||ft&&!h){if(L=M||ft?{}:co(t),!z)return M?yc(t,Zf(L,t)):vc(t,xa(L,t))}else{if(!Wt[it])return h?t:{};L=Oc(t,it,z)}}b||(b=new Ze);var pt=b.get(t);if(pt)return pt;b.set(t,L),Wo(t)?t.forEach(function(vt){L.add(Ne(vt,e,r,vt,t,b))}):Fo(t)&&t.forEach(function(vt,Tt){L.set(Tt,Ne(vt,e,r,Tt,t,b))});var At=Q?M?Xi:qi:M?be:re,It=tt?n:At(t);return ke(It||t,function(vt,Tt){It&&(Tt=vt,vt=t[Tt]),en(L,Tt,Ne(vt,e,r,Tt,t,b))}),L}function Hf(t){var e=re(t);return function(r){return Aa(r,t,e)}}function Aa(t,e,r){var i=r.length;if(t==null)return!i;for(t=Ut(t);i--;){var h=r[i],b=e[h],L=t[h];if(L===n&&!(h in t)||!b(L))return!1}return!0}function ka(t,e,r){if(typeof t!="function")throw new Be(l);return ln(function(){t.apply(n,r)},e)}function rn(t,e,r,i){var h=-1,b=_n,L=!0,z=t.length,M=[],Q=e.length;if(!z)return M;r&&(e=Gt(e,Se(r))),i?(b=pi,L=!1):e.length>=u&&(b=Yr,L=!1,e=new Cr(e));t:for(;++h<z;){var tt=t[h],it=r==null?tt:r(tt);if(tt=i||tt!==0?tt:0,L&&it===it){for(var ft=Q;ft--;)if(e[ft]===it)continue t;M.push(tt)}else b(e,it,i)||M.push(tt)}return M}var pr=Ja(qe),Sa=Ja(Ti,!0);function jf(t,e){var r=!0;return pr(t,function(i,h,b){return r=!!e(i,h,b),r}),r}function Bn(t,e,r){for(var i=-1,h=t.length;++i<h;){var b=t[i],L=e(b);if(L!=null&&(z===n?L===L&&!Ee(L):r(L,z)))var z=L,M=b}return M}function Gf(t,e,r,i){var h=t.length;for(r=Ct(r),r<0&&(r=-r>h?0:h+r),i=i===n||i>h?h:Ct(i),i<0&&(i+=h),i=r>i?0:Ho(i);r<i;)t[r++]=e;return t}function Ca(t,e){var r=[];return pr(t,function(i,h,b){e(i,h,b)&&r.push(i)}),r}function ie(t,e,r,i,h){var b=-1,L=t.length;for(r||(r=Lc),h||(h=[]);++b<L;){var z=t[b];e>0&&r(z)?e>1?ie(z,e-1,r,i,h):cr(h,z):i||(h[h.length]=z)}return h}var Pi=Qa(),Ea=Qa(!0);function qe(t,e){return t&&Pi(t,e,re)}function Ti(t,e){return t&&Ea(t,e,re)}function zn(t,e){return fr(e,function(r){return nr(t[r])})}function Ir(t,e){e=_r(e,t);for(var r=0,i=e.length;t!=null&&r<i;)t=t[He(e[r++])];return r&&r==i?t:n}function Ia(t,e,r){var i=e(t);return St(t)?i:cr(i,r(t))}function de(t){return t==null?t===n?ut:O:kr&&kr in Ut(t)?Ec(t):Uc(t)}function Oi(t,e){return t>e}function Kf(t,e){return t!=null&&Nt.call(t,e)}function qf(t,e){return t!=null&&e in Ut(t)}function Xf(t,e,r){return t>=oe(e,r)&&t<ee(e,r)}function Ri(t,e,r){for(var i=r?pi:_n,h=t[0].length,b=t.length,L=b,z=j(b),M=1/0,Q=[];L--;){var tt=t[L];L&&e&&(tt=Gt(tt,Se(e))),M=oe(tt.length,M),z[L]=!r&&(e||h>=120&&tt.length>=120)?new Cr(L&&tt):n}tt=t[0];var it=-1,ft=z[0];t:for(;++it<h&&Q.length<M;){var pt=tt[it],At=e?e(pt):pt;if(pt=r||pt!==0?pt:0,!(ft?Yr(ft,At):i(Q,At,r))){for(L=b;--L;){var It=z[L];if(!(It?Yr(It,At):i(t[L],At,r)))continue t}ft&&ft.push(At),Q.push(pt)}}return Q}function Yf(t,e,r,i){return qe(t,function(h,b,L){e(i,r(h),b,L)}),i}function nn(t,e,r){e=_r(e,t),t=_o(t,e);var i=t==null?t:t[He(Me(e))];return i==null?n:Ae(i,t,r)}function Pa(t){return Yt(t)&&de(t)==Mt}function $f(t){return Yt(t)&&de(t)==Et}function Jf(t){return Yt(t)&&de(t)==jt}function sn(t,e,r,i,h){return t===e?!0:t==null||e==null||!Yt(t)&&!Yt(e)?t!==t&&e!==e:Qf(t,e,r,i,sn,h)}function Qf(t,e,r,i,h,b){var L=St(t),z=St(e),M=L?$t:ue(t),Q=z?$t:ue(e);M=M==Mt?E:M,Q=Q==Mt?E:Q;var tt=M==E,it=Q==E,ft=M==Q;if(ft&&vr(t)){if(!vr(e))return!1;L=!0,tt=!1}if(ft&&!tt)return b||(b=new Ze),L||Gr(t)?uo(t,e,r,i,h,b):Sc(t,e,M,r,i,h,b);if(!(r&_)){var pt=tt&&Nt.call(t,"__wrapped__"),At=it&&Nt.call(e,"__wrapped__");if(pt||At){var It=pt?t.value():t,vt=At?e.value():e;return b||(b=new Ze),h(It,vt,r,i,b)}}return ft?(b||(b=new Ze),Cc(t,e,r,i,h,b)):!1}function Vf(t){return Yt(t)&&ue(t)==X}function Li(t,e,r,i){var h=r.length,b=h,L=!i;if(t==null)return!b;for(t=Ut(t);h--;){var z=r[h];if(L&&z[2]?z[1]!==t[z[0]]:!(z[0]in t))return!1}for(;++h<b;){z=r[h];var M=z[0],Q=t[M],tt=z[1];if(L&&z[2]){if(Q===n&&!(M in t))return!1}else{var it=new Ze;if(i)var ft=i(Q,tt,M,t,e,it);if(!(ft===n?sn(tt,Q,_|x,i,it):ft))return!1}}return!0}function Ta(t){if(!qt(t)||zc(t))return!1;var e=nr(t)?Ql:Zu;return e.test(Tr(t))}function tc(t){return Yt(t)&&de(t)==rt}function ec(t){return Yt(t)&&ue(t)==F}function rc(t){return Yt(t)&&Qn(t.length)&&!!Ht[de(t)]}function Oa(t){return typeof t=="function"?t:t==null?we:typeof t=="object"?St(t)?Ba(t[0],t[1]):La(t):eu(t)}function Bi(t){if(!un(t))return sf(t);var e=[];for(var r in Ut(t))Nt.call(t,r)&&r!="constructor"&&e.push(r);return e}function nc(t){if(!qt(t))return Fc(t);var e=un(t),r=[];for(var i in t)i=="constructor"&&(e||!Nt.call(t,i))||r.push(i);return r}function zi(t,e){return t<e}function Ra(t,e){var r=-1,i=ye(t)?j(t.length):[];return pr(t,function(h,b,L){i[++r]=e(h,b,L)}),i}function La(t){var e=$i(t);return e.length==1&&e[0][2]?po(e[0][0],e[0][1]):function(r){return r===t||Li(r,t,e)}}function Ba(t,e){return Qi(t)&&ho(e)?po(He(t),e):function(r){var i=ls(r,t);return i===n&&i===e?fs(r,t):sn(e,i,_|x)}}function Nn(t,e,r,i,h){t!==e&&Pi(e,function(b,L){if(h||(h=new Ze),qt(b))ic(t,e,L,r,Nn,i,h);else{var z=i?i(ts(t,L),b,L+"",t,e,h):n;z===n&&(z=b),Ei(t,L,z)}},be)}function ic(t,e,r,i,h,b,L){var z=ts(t,r),M=ts(e,r),Q=L.get(M);if(Q){Ei(t,r,Q);return}var tt=b?b(z,M,r+"",t,e,L):n,it=tt===n;if(it){var ft=St(M),pt=!ft&&vr(M),At=!ft&&!pt&&Gr(M);tt=M,ft||pt||At?St(z)?tt=z:Jt(z)?tt=ve(z):pt?(it=!1,tt=Ka(M,!0)):At?(it=!1,tt=qa(M,!0)):tt=[]:fn(M)||Or(M)?(tt=z,Or(z)?tt=jo(z):(!qt(z)||nr(z))&&(tt=co(M))):it=!1}it&&(L.set(M,tt),h(tt,M,i,b,L),L.delete(M)),Ei(t,r,tt)}function za(t,e){var r=t.length;if(r)return e+=e<0?r:0,rr(e,r)?t[e]:n}function Na(t,e,r){e.length?e=Gt(e,function(b){return St(b)?function(L){return Ir(L,b.length===1?b[0]:b)}:b}):e=[we];var i=-1;e=Gt(e,Se(wt()));var h=Ra(t,function(b,L,z){var M=Gt(e,function(Q){return Q(b)});return{criteria:M,index:++i,value:b}});return Tl(h,function(b,L){return mc(b,L,r)})}function sc(t,e){return Da(t,e,function(r,i){return fs(t,i)})}function Da(t,e,r){for(var i=-1,h=e.length,b={};++i<h;){var L=e[i],z=Ir(t,L);r(z,L)&&an(b,_r(L,t),z)}return b}function ac(t){return function(e){return Ir(e,t)}}function Ni(t,e,r,i){var h=i?Pl:Br,b=-1,L=e.length,z=t;for(t===e&&(e=ve(e)),r&&(z=Gt(t,Se(r)));++b<L;)for(var M=0,Q=e[b],tt=r?r(Q):Q;(M=h(z,tt,M,i))>-1;)z!==t&&Cn.call(z,M,1),Cn.call(t,M,1);return t}function Ma(t,e){for(var r=t?e.length:0,i=r-1;r--;){var h=e[r];if(r==i||h!==b){var b=h;rr(h)?Cn.call(t,h,1):Ui(t,h)}}return t}function Di(t,e){return t+Pn(va()*(e-t+1))}function oc(t,e,r,i){for(var h=-1,b=ee(In((e-t)/(r||1)),0),L=j(b);b--;)L[i?b:++h]=t,t+=r;return L}function Mi(t,e){var r="";if(!t||e<1||e>nt)return r;do e%2&&(r+=t),e=Pn(e/2),e&&(t+=t);while(e);return r}function Pt(t,e){return es(go(t,e,we),t+"")}function uc(t){return wa(Kr(t))}function lc(t,e){var r=Kr(t);return Kn(r,Er(e,0,r.length))}function an(t,e,r,i){if(!qt(t))return t;e=_r(e,t);for(var h=-1,b=e.length,L=b-1,z=t;z!=null&&++h<b;){var M=He(e[h]),Q=r;if(M==="__proto__"||M==="constructor"||M==="prototype")return t;if(h!=L){var tt=z[M];Q=i?i(tt,M,z):n,Q===n&&(Q=qt(tt)?tt:rr(e[h+1])?[]:{})}en(z,M,Q),z=z[M]}return t}var Fa=Tn?function(t,e){return Tn.set(t,e),t}:we,fc=En?function(t,e){return En(t,"toString",{configurable:!0,enumerable:!1,value:hs(e),writable:!0})}:we;function cc(t){return Kn(Kr(t))}function De(t,e,r){var i=-1,h=t.length;e<0&&(e=-e>h?0:h+e),r=r>h?h:r,r<0&&(r+=h),h=e>r?0:r-e>>>0,e>>>=0;for(var b=j(h);++i<h;)b[i]=t[i+e];return b}function hc(t,e){var r;return pr(t,function(i,h,b){return r=e(i,h,b),!r}),!!r}function Dn(t,e,r){var i=0,h=t==null?i:t.length;if(typeof e=="number"&&e===e&&h<=ht){for(;i<h;){var b=i+h>>>1,L=t[b];L!==null&&!Ee(L)&&(r?L<=e:L<e)?i=b+1:h=b}return h}return Fi(t,e,we,r)}function Fi(t,e,r,i){var h=0,b=t==null?0:t.length;if(b===0)return 0;e=r(e);for(var L=e!==e,z=e===null,M=Ee(e),Q=e===n;h<b;){var tt=Pn((h+b)/2),it=r(t[tt]),ft=it!==n,pt=it===null,At=it===it,It=Ee(it);if(L)var vt=i||At;else Q?vt=At&&(i||ft):z?vt=At&&ft&&(i||!pt):M?vt=At&&ft&&!pt&&(i||!It):pt||It?vt=!1:vt=i?it<=e:it<e;vt?h=tt+1:b=tt}return oe(b,mt)}function Ua(t,e){for(var r=-1,i=t.length,h=0,b=[];++r<i;){var L=t[r],z=e?e(L):L;if(!r||!je(z,M)){var M=z;b[h++]=L===0?0:L}}return b}function Wa(t){return typeof t=="number"?t:Ee(t)?G:+t}function Ce(t){if(typeof t=="string")return t;if(St(t))return Gt(t,Ce)+"";if(Ee(t))return ya?ya.call(t):"";var e=t+"";return e=="0"&&1/t==-xt?"-0":e}function gr(t,e,r){var i=-1,h=_n,b=t.length,L=!0,z=[],M=z;if(r)L=!1,h=pi;else if(b>=u){var Q=e?null:Ac(t);if(Q)return vn(Q);L=!1,h=Yr,M=new Cr}else M=e?[]:z;t:for(;++i<b;){var tt=t[i],it=e?e(tt):tt;if(tt=r||tt!==0?tt:0,L&&it===it){for(var ft=M.length;ft--;)if(M[ft]===it)continue t;e&&M.push(it),z.push(tt)}else h(M,it,r)||(M!==z&&M.push(it),z.push(tt))}return z}function Ui(t,e){e=_r(e,t);var r=-1,i=e.length;if(!i)return!0;for(;++r<i;){var h=He(e[r]);if(h==="__proto__"&&!Nt.call(t,"__proto__")||(h==="constructor"||h==="prototype")&&r<i-1)return!1}var b=_o(t,e);return b==null||delete b[He(Me(e))]}function Za(t,e,r,i){return an(t,e,r(Ir(t,e)),i)}function Mn(t,e,r,i){for(var h=t.length,b=i?h:-1;(i?b--:++b<h)&&e(t[b],b,t););return r?De(t,i?0:b,i?b+1:h):De(t,i?b+1:0,i?h:b)}function Ha(t,e){var r=t;return r instanceof Lt&&(r=r.value()),gi(e,function(i,h){return h.func.apply(h.thisArg,cr([i],h.args))},r)}function Wi(t,e,r){var i=t.length;if(i<2)return i?gr(t[0]):[];for(var h=-1,b=j(i);++h<i;)for(var L=t[h],z=-1;++z<i;)z!=h&&(b[h]=rn(b[h]||L,t[z],e,r));return gr(ie(b,1),e,r)}function ja(t,e,r){for(var i=-1,h=t.length,b=e.length,L={};++i<h;){var z=i<b?e[i]:n;r(L,t[i],z)}return L}function Zi(t){return Jt(t)?t:[]}function Hi(t){return typeof t=="function"?t:we}function _r(t,e){return St(t)?t:Qi(t,e)?[t]:bo(Dt(t))}var dc=Pt;function mr(t,e,r){var i=t.length;return r=r===n?i:r,!e&&r>=i?t:De(t,e,r)}var Ga=Vl||function(t){return ne.clearTimeout(t)};function Ka(t,e){if(e)return t.slice();var r=t.length,i=da?da(r):new t.constructor(r);return t.copy(i),i}function ji(t){var e=new t.constructor(t.byteLength);return new kn(e).set(new kn(t)),e}function pc(t,e){var r=e?ji(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.byteLength)}function gc(t){var e=new t.constructor(t.source,Ps.exec(t));return e.lastIndex=t.lastIndex,e}function _c(t){return tn?Ut(tn.call(t)):{}}function qa(t,e){var r=e?ji(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.length)}function Xa(t,e){if(t!==e){var r=t!==n,i=t===null,h=t===t,b=Ee(t),L=e!==n,z=e===null,M=e===e,Q=Ee(e);if(!z&&!Q&&!b&&t>e||b&&L&&M&&!z&&!Q||i&&L&&M||!r&&M||!h)return 1;if(!i&&!b&&!Q&&t<e||Q&&r&&h&&!i&&!b||z&&r&&h||!L&&h||!M)return-1}return 0}function mc(t,e,r){for(var i=-1,h=t.criteria,b=e.criteria,L=h.length,z=r.length;++i<L;){var M=Xa(h[i],b[i]);if(M){if(i>=z)return M;var Q=r[i];return M*(Q=="desc"?-1:1)}}return t.index-e.index}function Ya(t,e,r,i){for(var h=-1,b=t.length,L=r.length,z=-1,M=e.length,Q=ee(b-L,0),tt=j(M+Q),it=!i;++z<M;)tt[z]=e[z];for(;++h<L;)(it||h<b)&&(tt[r[h]]=t[h]);for(;Q--;)tt[z++]=t[h++];return tt}function $a(t,e,r,i){for(var h=-1,b=t.length,L=-1,z=r.length,M=-1,Q=e.length,tt=ee(b-z,0),it=j(tt+Q),ft=!i;++h<tt;)it[h]=t[h];for(var pt=h;++M<Q;)it[pt+M]=e[M];for(;++L<z;)(ft||h<b)&&(it[pt+r[L]]=t[h++]);return it}function ve(t,e){var r=-1,i=t.length;for(e||(e=j(i));++r<i;)e[r]=t[r];return e}function Xe(t,e,r,i){var h=!r;r||(r={});for(var b=-1,L=e.length;++b<L;){var z=e[b],M=i?i(r[z],t[z],z,r,t):n;M===n&&(M=t[z]),h?Ke(r,z,M):en(r,z,M)}return r}function vc(t,e){return Xe(t,Ji(t),e)}function yc(t,e){return Xe(t,lo(t),e)}function Fn(t,e){return function(r,i){var h=St(r)?Al:Wf,b=e?e():{};return h(r,t,wt(i,2),b)}}function Zr(t){return Pt(function(e,r){var i=-1,h=r.length,b=h>1?r[h-1]:n,L=h>2?r[2]:n;for(b=t.length>3&&typeof b=="function"?(h--,b):n,L&&pe(r[0],r[1],L)&&(b=h<3?n:b,h=1),e=Ut(e);++i<h;){var z=r[i];z&&t(e,z,i,b)}return e})}function Ja(t,e){return function(r,i){if(r==null)return r;if(!ye(r))return t(r,i);for(var h=r.length,b=e?h:-1,L=Ut(r);(e?b--:++b<h)&&i(L[b],b,L)!==!1;);return r}}function Qa(t){return function(e,r,i){for(var h=-1,b=Ut(e),L=i(e),z=L.length;z--;){var M=L[t?z:++h];if(r(b[M],M,b)===!1)break}return e}}function bc(t,e,r){var i=e&d,h=on(t);function b(){var L=this&&this!==ne&&this instanceof b?h:t;return L.apply(i?r:this,arguments)}return b}function Va(t){return function(e){e=Dt(e);var r=zr(e)?We(e):n,i=r?r[0]:e.charAt(0),h=r?mr(r,1).join(""):e.slice(1);return i[t]()+h}}function Hr(t){return function(e){return gi(Vo(Qo(e).replace(ll,"")),t,"")}}function on(t){return function(){var e=arguments;switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3]);case 5:return new t(e[0],e[1],e[2],e[3],e[4]);case 6:return new t(e[0],e[1],e[2],e[3],e[4],e[5]);case 7:return new t(e[0],e[1],e[2],e[3],e[4],e[5],e[6])}var r=Wr(t.prototype),i=t.apply(r,e);return qt(i)?i:r}}function wc(t,e,r){var i=on(t);function h(){for(var b=arguments.length,L=j(b),z=b,M=jr(h);z--;)L[z]=arguments[z];var Q=b<3&&L[0]!==M&&L[b-1]!==M?[]:hr(L,M);if(b-=Q.length,b<r)return io(t,e,Un,h.placeholder,n,L,Q,n,n,r-b);var tt=this&&this!==ne&&this instanceof h?i:t;return Ae(tt,this,L)}return h}function to(t){return function(e,r,i){var h=Ut(e);if(!ye(e)){var b=wt(r,3);e=re(e),r=function(z){return b(h[z],z,h)}}var L=t(e,r,i);return L>-1?h[b?e[L]:L]:n}}function eo(t){return er(function(e){var r=e.length,i=r,h=ze.prototype.thru;for(t&&e.reverse();i--;){var b=e[i];if(typeof b!="function")throw new Be(l);if(h&&!L&&jn(b)=="wrapper")var L=new ze([],!0)}for(i=L?i:r;++i<r;){b=e[i];var z=jn(b),M=z=="wrapper"?Yi(b):n;M&&Vi(M[0])&&M[1]==(J|R|U|H)&&!M[4].length&&M[9]==1?L=L[jn(M[0])].apply(L,M[3]):L=b.length==1&&Vi(b)?L[z]():L.thru(b)}return function(){var Q=arguments,tt=Q[0];if(L&&Q.length==1&&St(tt))return L.plant(tt).value();for(var it=0,ft=r?e[it].apply(this,Q):tt;++it<r;)ft=e[it].call(this,ft);return ft}})}function Un(t,e,r,i,h,b,L,z,M,Q){var tt=e&J,it=e&d,ft=e&m,pt=e&(R|T),At=e&ot,It=ft?n:on(t);function vt(){for(var Tt=arguments.length,Bt=j(Tt),Ie=Tt;Ie--;)Bt[Ie]=arguments[Ie];if(pt)var ge=jr(vt),Pe=Rl(Bt,ge);if(i&&(Bt=Ya(Bt,i,h,pt)),b&&(Bt=$a(Bt,b,L,pt)),Tt-=Pe,pt&&Tt<Q){var Qt=hr(Bt,ge);return io(t,e,Un,vt.placeholder,r,Bt,Qt,z,M,Q-Tt)}var Ge=it?r:this,sr=ft?Ge[t]:t;return Tt=Bt.length,z?Bt=Wc(Bt,z):At&&Tt>1&&Bt.reverse(),tt&&M<Tt&&(Bt.length=M),this&&this!==ne&&this instanceof vt&&(sr=It||on(sr)),sr.apply(Ge,Bt)}return vt}function ro(t,e){return function(r,i){return Yf(r,t,e(i),{})}}function Wn(t,e){return function(r,i){var h;if(r===n&&i===n)return e;if(r!==n&&(h=r),i!==n){if(h===n)return i;typeof r=="string"||typeof i=="string"?(r=Ce(r),i=Ce(i)):(r=Wa(r),i=Wa(i)),h=t(r,i)}return h}}function Gi(t){return er(function(e){return e=Gt(e,Se(wt())),Pt(function(r){var i=this;return t(e,function(h){return Ae(h,i,r)})})})}function Zn(t,e){e=e===n?" ":Ce(e);var r=e.length;if(r<2)return r?Mi(e,t):e;var i=Mi(e,In(t/Nr(e)));return zr(e)?mr(We(i),0,t).join(""):i.slice(0,t)}function xc(t,e,r,i){var h=e&d,b=on(t);function L(){for(var z=-1,M=arguments.length,Q=-1,tt=i.length,it=j(tt+M),ft=this&&this!==ne&&this instanceof L?b:t;++Q<tt;)it[Q]=i[Q];for(;M--;)it[Q++]=arguments[++z];return Ae(ft,h?r:this,it)}return L}function no(t){return function(e,r,i){return i&&typeof i!="number"&&pe(e,r,i)&&(r=i=n),e=ir(e),r===n?(r=e,e=0):r=ir(r),i=i===n?e<r?1:-1:ir(i),oc(e,r,i,t)}}function Hn(t){return function(e,r){return typeof e=="string"&&typeof r=="string"||(e=Fe(e),r=Fe(r)),t(e,r)}}function io(t,e,r,i,h,b,L,z,M,Q){var tt=e&R,it=tt?L:n,ft=tt?n:L,pt=tt?b:n,At=tt?n:b;e|=tt?U:Z,e&=~(tt?Z:U),e&A||(e&=-4);var It=[t,e,h,pt,it,At,ft,z,M,Q],vt=r.apply(n,It);return Vi(t)&&mo(vt,It),vt.placeholder=i,vo(vt,t,e)}function Ki(t){var e=te[t];return function(r,i){if(r=Fe(r),i=i==null?0:oe(Ct(i),292),i&&ma(r)){var h=(Dt(r)+"e").split("e"),b=e(h[0]+"e"+(+h[1]+i));return h=(Dt(b)+"e").split("e"),+(h[0]+"e"+(+h[1]-i))}return e(r)}}var Ac=Fr&&1/vn(new Fr([,-0]))[1]==xt?function(t){return new Fr(t)}:gs;function so(t){return function(e){var r=ue(e);return r==X?xi(e):r==F?Fl(e):Ol(e,t(e))}}function tr(t,e,r,i,h,b,L,z){var M=e&m;if(!M&&typeof t!="function")throw new Be(l);var Q=i?i.length:0;if(Q||(e&=-97,i=h=n),L=L===n?L:ee(Ct(L),0),z=z===n?z:Ct(z),Q-=h?h.length:0,e&Z){var tt=i,it=h;i=h=n}var ft=M?n:Yi(t),pt=[t,e,r,i,h,tt,it,b,L,z];if(ft&&Mc(pt,ft),t=pt[0],e=pt[1],r=pt[2],i=pt[3],h=pt[4],z=pt[9]=pt[9]===n?M?0:t.length:ee(pt[9]-Q,0),!z&&e&(R|T)&&(e&=-25),!e||e==d)var At=bc(t,e,r);else e==R||e==T?At=wc(t,e,z):(e==U||e==(d|U))&&!h.length?At=xc(t,e,r,i):At=Un.apply(n,pt);var It=ft?Fa:mo;return vo(It(At,pt),t,e)}function ao(t,e,r,i){return t===n||je(t,Mr[r])&&!Nt.call(i,r)?e:t}function oo(t,e,r,i,h,b){return qt(t)&&qt(e)&&(b.set(e,t),Nn(t,e,n,oo,b),b.delete(e)),t}function kc(t){return fn(t)?n:t}function uo(t,e,r,i,h,b){var L=r&_,z=t.length,M=e.length;if(z!=M&&!(L&&M>z))return!1;var Q=b.get(t),tt=b.get(e);if(Q&&tt)return Q==e&&tt==t;var it=-1,ft=!0,pt=r&x?new Cr:n;for(b.set(t,e),b.set(e,t);++it<z;){var At=t[it],It=e[it];if(i)var vt=L?i(It,At,it,e,t,b):i(At,It,it,t,e,b);if(vt!==n){if(vt)continue;ft=!1;break}if(pt){if(!_i(e,function(Tt,Bt){if(!Yr(pt,Bt)&&(At===Tt||h(At,Tt,r,i,b)))return pt.push(Bt)})){ft=!1;break}}else if(!(At===It||h(At,It,r,i,b))){ft=!1;break}}return b.delete(t),b.delete(e),ft}function Sc(t,e,r,i,h,b,L){switch(r){case Vt:if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case Et:return!(t.byteLength!=e.byteLength||!b(new kn(t),new kn(e)));case Rt:case jt:case q:return je(+t,+e);case he:return t.name==e.name&&t.message==e.message;case rt:case at:return t==e+"";case X:var z=xi;case F:var M=i&_;if(z||(z=vn),t.size!=e.size&&!M)return!1;var Q=L.get(t);if(Q)return Q==e;i|=x,L.set(t,e);var tt=uo(z(t),z(e),i,h,b,L);return L.delete(t),tt;case ct:if(tn)return tn.call(t)==tn.call(e)}return!1}function Cc(t,e,r,i,h,b){var L=r&_,z=qi(t),M=z.length,Q=qi(e),tt=Q.length;if(M!=tt&&!L)return!1;for(var it=M;it--;){var ft=z[it];if(!(L?ft in e:Nt.call(e,ft)))return!1}var pt=b.get(t),At=b.get(e);if(pt&&At)return pt==e&&At==t;var It=!0;b.set(t,e),b.set(e,t);for(var vt=L;++it<M;){ft=z[it];var Tt=t[ft],Bt=e[ft];if(i)var Ie=L?i(Bt,Tt,ft,e,t,b):i(Tt,Bt,ft,t,e,b);if(!(Ie===n?Tt===Bt||h(Tt,Bt,r,i,b):Ie)){It=!1;break}vt||(vt=ft=="constructor")}if(It&&!vt){var ge=t.constructor,Pe=e.constructor;ge!=Pe&&"constructor"in t&&"constructor"in e&&!(typeof ge=="function"&&ge instanceof ge&&typeof Pe=="function"&&Pe instanceof Pe)&&(It=!1)}return b.delete(t),b.delete(e),It}function er(t){return es(go(t,n,ko),t+"")}function qi(t){return Ia(t,re,Ji)}function Xi(t){return Ia(t,be,lo)}var Yi=Tn?function(t){return Tn.get(t)}:gs;function jn(t){for(var e=t.name+"",r=Ur[e],i=Nt.call(Ur,e)?r.length:0;i--;){var h=r[i],b=h.func;if(b==null||b==t)return h.name}return e}function jr(t){var e=Nt.call(y,"placeholder")?y:t;return e.placeholder}function wt(){var t=y.iteratee||ds;return t=t===ds?Oa:t,arguments.length?t(arguments[0],arguments[1]):t}function Gn(t,e){var r=t.__data__;return Bc(e)?r[typeof e=="string"?"string":"hash"]:r.map}function $i(t){for(var e=re(t),r=e.length;r--;){var i=e[r],h=t[i];e[r]=[i,h,ho(h)]}return e}function Pr(t,e){var r=Nl(t,e);return Ta(r)?r:n}function Ec(t){var e=Nt.call(t,kr),r=t[kr];try{t[kr]=n;var i=!0}catch{}var h=xn.call(t);return i&&(e?t[kr]=r:delete t[kr]),h}var Ji=ki?function(t){return t==null?[]:(t=Ut(t),fr(ki(t),function(e){return ga.call(t,e)}))}:_s,lo=ki?function(t){for(var e=[];t;)cr(e,Ji(t)),t=Sn(t);return e}:_s,ue=de;(Si&&ue(new Si(new ArrayBuffer(1)))!=Vt||Jr&&ue(new Jr)!=X||Ci&&ue(Ci.resolve())!=D||Fr&&ue(new Fr)!=F||Qr&&ue(new Qr)!=_t)&&(ue=function(t){var e=de(t),r=e==E?t.constructor:n,i=r?Tr(r):"";if(i)switch(i){case lf:return Vt;case ff:return X;case cf:return D;case hf:return F;case df:return _t}return e});function Ic(t,e,r){for(var i=-1,h=r.length;++i<h;){var b=r[i],L=b.size;switch(b.type){case"drop":t+=L;break;case"dropRight":e-=L;break;case"take":e=oe(e,t+L);break;case"takeRight":t=ee(t,e-L);break}}return{start:t,end:e}}function Pc(t){var e=t.match(zu);return e?e[1].split(Nu):[]}function fo(t,e,r){e=_r(e,t);for(var i=-1,h=e.length,b=!1;++i<h;){var L=He(e[i]);if(!(b=t!=null&&r(t,L)))break;t=t[L]}return b||++i!=h?b:(h=t==null?0:t.length,!!h&&Qn(h)&&rr(L,h)&&(St(t)||Or(t)))}function Tc(t){var e=t.length,r=new t.constructor(e);return e&&typeof t[0]=="string"&&Nt.call(t,"index")&&(r.index=t.index,r.input=t.input),r}function co(t){return typeof t.constructor=="function"&&!un(t)?Wr(Sn(t)):{}}function Oc(t,e,r){var i=t.constructor;switch(e){case Et:return ji(t);case Rt:case jt:return new i(+t);case Vt:return pc(t,r);case $e:case me:case Je:case Zt:case ur:case wr:case xe:case Rr:case Xr:return qa(t,r);case X:return new i;case q:case at:return new i(t);case rt:return gc(t);case F:return new i;case ct:return _c(t)}}function Rc(t,e){var r=e.length;if(!r)return t;var i=r-1;return e[i]=(r>1?"& ":"")+e[i],e=e.join(r>2?", ":" "),t.replace(Bu,`{
|
|
20
|
+
/* [wrapped with `+e+`] */
|
|
21
|
+
`)}function Lc(t){return St(t)||Or(t)||!!(_a&&t&&t[_a])}function rr(t,e){var r=typeof t;return e=e??nt,!!e&&(r=="number"||r!="symbol"&&ju.test(t))&&t>-1&&t%1==0&&t<e}function pe(t,e,r){if(!qt(r))return!1;var i=typeof e;return(i=="number"?ye(r)&&rr(e,r.length):i=="string"&&e in r)?je(r[e],t):!1}function Qi(t,e){if(St(t))return!1;var r=typeof t;return r=="number"||r=="symbol"||r=="boolean"||t==null||Ee(t)?!0:Tu.test(t)||!Pu.test(t)||e!=null&&t in Ut(e)}function Bc(t){var e=typeof t;return e=="string"||e=="number"||e=="symbol"||e=="boolean"?t!=="__proto__":t===null}function Vi(t){var e=jn(t),r=y[e];if(typeof r!="function"||!(e in Lt.prototype))return!1;if(t===r)return!0;var i=Yi(r);return!!i&&t===i[0]}function zc(t){return!!ha&&ha in t}var Nc=bn?nr:ms;function un(t){var e=t&&t.constructor,r=typeof e=="function"&&e.prototype||Mr;return t===r}function ho(t){return t===t&&!qt(t)}function po(t,e){return function(r){return r==null?!1:r[t]===e&&(e!==n||t in Ut(r))}}function Dc(t){var e=$n(t,function(i){return r.size===C&&r.clear(),i}),r=e.cache;return e}function Mc(t,e){var r=t[1],i=e[1],h=r|i,b=h<(d|m|J),L=i==J&&r==R||i==J&&r==H&&t[7].length<=e[8]||i==(J|H)&&e[7].length<=e[8]&&r==R;if(!(b||L))return t;i&d&&(t[2]=e[2],h|=r&d?0:A);var z=e[3];if(z){var M=t[3];t[3]=M?Ya(M,z,e[4]):z,t[4]=M?hr(t[3],k):e[4]}return z=e[5],z&&(M=t[5],t[5]=M?$a(M,z,e[6]):z,t[6]=M?hr(t[5],k):e[6]),z=e[7],z&&(t[7]=z),i&J&&(t[8]=t[8]==null?e[8]:oe(t[8],e[8])),t[9]==null&&(t[9]=e[9]),t[0]=e[0],t[1]=h,t}function Fc(t){var e=[];if(t!=null)for(var r in Ut(t))e.push(r);return e}function Uc(t){return xn.call(t)}function go(t,e,r){return e=ee(e===n?t.length-1:e,0),function(){for(var i=arguments,h=-1,b=ee(i.length-e,0),L=j(b);++h<b;)L[h]=i[e+h];h=-1;for(var z=j(e+1);++h<e;)z[h]=i[h];return z[e]=r(L),Ae(t,this,z)}}function _o(t,e){return e.length<2?t:Ir(t,De(e,0,-1))}function Wc(t,e){for(var r=t.length,i=oe(e.length,r),h=ve(t);i--;){var b=e[i];t[i]=rr(b,r)?h[b]:n}return t}function ts(t,e){if(!(e==="constructor"&&typeof t[e]=="function")&&e!="__proto__")return t[e]}var mo=yo(Fa),ln=ef||function(t,e){return ne.setTimeout(t,e)},es=yo(fc);function vo(t,e,r){var i=e+"";return es(t,Rc(i,Zc(Pc(i),r)))}function yo(t){var e=0,r=0;return function(){var i=af(),h=p-(i-r);if(r=i,h>0){if(++e>=$)return arguments[0]}else e=0;return t.apply(n,arguments)}}function Kn(t,e){var r=-1,i=t.length,h=i-1;for(e=e===n?i:e;++r<e;){var b=Di(r,h),L=t[b];t[b]=t[r],t[r]=L}return t.length=e,t}var bo=Dc(function(t){var e=[];return t.charCodeAt(0)===46&&e.push(""),t.replace(Ou,function(r,i,h,b){e.push(h?b.replace(Mu,"$1"):i||r)}),e});function He(t){if(typeof t=="string"||Ee(t))return t;var e=t+"";return e=="0"&&1/t==-xt?"-0":e}function Tr(t){if(t!=null){try{return wn.call(t)}catch{}try{return t+""}catch{}}return""}function Zc(t,e){return ke(lt,function(r){var i="_."+r[0];e&r[1]&&!_n(t,i)&&t.push(i)}),t.sort()}function wo(t){if(t instanceof Lt)return t.clone();var e=new ze(t.__wrapped__,t.__chain__);return e.__actions__=ve(t.__actions__),e.__index__=t.__index__,e.__values__=t.__values__,e}function Hc(t,e,r){(r?pe(t,e,r):e===n)?e=1:e=ee(Ct(e),0);var i=t==null?0:t.length;if(!i||e<1)return[];for(var h=0,b=0,L=j(In(i/e));h<i;)L[b++]=De(t,h,h+=e);return L}function jc(t){for(var e=-1,r=t==null?0:t.length,i=0,h=[];++e<r;){var b=t[e];b&&(h[i++]=b)}return h}function Gc(){var t=arguments.length;if(!t)return[];for(var e=j(t-1),r=arguments[0],i=t;i--;)e[i-1]=arguments[i];return cr(St(r)?ve(r):[r],ie(e,1))}var Kc=Pt(function(t,e){return Jt(t)?rn(t,ie(e,1,Jt,!0)):[]}),qc=Pt(function(t,e){var r=Me(e);return Jt(r)&&(r=n),Jt(t)?rn(t,ie(e,1,Jt,!0),wt(r,2)):[]}),Xc=Pt(function(t,e){var r=Me(e);return Jt(r)&&(r=n),Jt(t)?rn(t,ie(e,1,Jt,!0),n,r):[]});function Yc(t,e,r){var i=t==null?0:t.length;return i?(e=r||e===n?1:Ct(e),De(t,e<0?0:e,i)):[]}function $c(t,e,r){var i=t==null?0:t.length;return i?(e=r||e===n?1:Ct(e),e=i-e,De(t,0,e<0?0:e)):[]}function Jc(t,e){return t&&t.length?Mn(t,wt(e,3),!0,!0):[]}function Qc(t,e){return t&&t.length?Mn(t,wt(e,3),!0):[]}function Vc(t,e,r,i){var h=t==null?0:t.length;return h?(r&&typeof r!="number"&&pe(t,e,r)&&(r=0,i=h),Gf(t,e,r,i)):[]}function xo(t,e,r){var i=t==null?0:t.length;if(!i)return-1;var h=r==null?0:Ct(r);return h<0&&(h=ee(i+h,0)),mn(t,wt(e,3),h)}function Ao(t,e,r){var i=t==null?0:t.length;if(!i)return-1;var h=i-1;return r!==n&&(h=Ct(r),h=r<0?ee(i+h,0):oe(h,i-1)),mn(t,wt(e,3),h,!0)}function ko(t){var e=t==null?0:t.length;return e?ie(t,1):[]}function th(t){var e=t==null?0:t.length;return e?ie(t,xt):[]}function eh(t,e){var r=t==null?0:t.length;return r?(e=e===n?1:Ct(e),ie(t,e)):[]}function rh(t){for(var e=-1,r=t==null?0:t.length,i={};++e<r;){var h=t[e];Ke(i,h[0],h[1])}return i}function So(t){return t&&t.length?t[0]:n}function nh(t,e,r){var i=t==null?0:t.length;if(!i)return-1;var h=r==null?0:Ct(r);return h<0&&(h=ee(i+h,0)),Br(t,e,h)}function ih(t){var e=t==null?0:t.length;return e?De(t,0,-1):[]}var sh=Pt(function(t){var e=Gt(t,Zi);return e.length&&e[0]===t[0]?Ri(e):[]}),ah=Pt(function(t){var e=Me(t),r=Gt(t,Zi);return e===Me(r)?e=n:r.pop(),r.length&&r[0]===t[0]?Ri(r,wt(e,2)):[]}),oh=Pt(function(t){var e=Me(t),r=Gt(t,Zi);return e=typeof e=="function"?e:n,e&&r.pop(),r.length&&r[0]===t[0]?Ri(r,n,e):[]});function uh(t,e){return t==null?"":nf.call(t,e)}function Me(t){var e=t==null?0:t.length;return e?t[e-1]:n}function lh(t,e,r){var i=t==null?0:t.length;if(!i)return-1;var h=i;return r!==n&&(h=Ct(r),h=h<0?ee(i+h,0):oe(h,i-1)),e===e?Wl(t,e,h):mn(t,ia,h,!0)}function fh(t,e){return t&&t.length?za(t,Ct(e)):n}var ch=Pt(Co);function Co(t,e){return t&&t.length&&e&&e.length?Ni(t,e):t}function hh(t,e,r){return t&&t.length&&e&&e.length?Ni(t,e,wt(r,2)):t}function dh(t,e,r){return t&&t.length&&e&&e.length?Ni(t,e,n,r):t}var ph=er(function(t,e){var r=t==null?0:t.length,i=Ii(t,e);return Ma(t,Gt(e,function(h){return rr(h,r)?+h:h}).sort(Xa)),i});function gh(t,e){var r=[];if(!(t&&t.length))return r;var i=-1,h=[],b=t.length;for(e=wt(e,3);++i<b;){var L=t[i];e(L,i,t)&&(r.push(L),h.push(i))}return Ma(t,h),r}function rs(t){return t==null?t:uf.call(t)}function _h(t,e,r){var i=t==null?0:t.length;return i?(r&&typeof r!="number"&&pe(t,e,r)?(e=0,r=i):(e=e==null?0:Ct(e),r=r===n?i:Ct(r)),De(t,e,r)):[]}function mh(t,e){return Dn(t,e)}function vh(t,e,r){return Fi(t,e,wt(r,2))}function yh(t,e){var r=t==null?0:t.length;if(r){var i=Dn(t,e);if(i<r&&je(t[i],e))return i}return-1}function bh(t,e){return Dn(t,e,!0)}function wh(t,e,r){return Fi(t,e,wt(r,2),!0)}function xh(t,e){var r=t==null?0:t.length;if(r){var i=Dn(t,e,!0)-1;if(je(t[i],e))return i}return-1}function Ah(t){return t&&t.length?Ua(t):[]}function kh(t,e){return t&&t.length?Ua(t,wt(e,2)):[]}function Sh(t){var e=t==null?0:t.length;return e?De(t,1,e):[]}function Ch(t,e,r){return t&&t.length?(e=r||e===n?1:Ct(e),De(t,0,e<0?0:e)):[]}function Eh(t,e,r){var i=t==null?0:t.length;return i?(e=r||e===n?1:Ct(e),e=i-e,De(t,e<0?0:e,i)):[]}function Ih(t,e){return t&&t.length?Mn(t,wt(e,3),!1,!0):[]}function Ph(t,e){return t&&t.length?Mn(t,wt(e,3)):[]}var Th=Pt(function(t){return gr(ie(t,1,Jt,!0))}),Oh=Pt(function(t){var e=Me(t);return Jt(e)&&(e=n),gr(ie(t,1,Jt,!0),wt(e,2))}),Rh=Pt(function(t){var e=Me(t);return e=typeof e=="function"?e:n,gr(ie(t,1,Jt,!0),n,e)});function Lh(t){return t&&t.length?gr(t):[]}function Bh(t,e){return t&&t.length?gr(t,wt(e,2)):[]}function zh(t,e){return e=typeof e=="function"?e:n,t&&t.length?gr(t,n,e):[]}function ns(t){if(!(t&&t.length))return[];var e=0;return t=fr(t,function(r){if(Jt(r))return e=ee(r.length,e),!0}),bi(e,function(r){return Gt(t,mi(r))})}function Eo(t,e){if(!(t&&t.length))return[];var r=ns(t);return e==null?r:Gt(r,function(i){return Ae(e,n,i)})}var Nh=Pt(function(t,e){return Jt(t)?rn(t,e):[]}),Dh=Pt(function(t){return Wi(fr(t,Jt))}),Mh=Pt(function(t){var e=Me(t);return Jt(e)&&(e=n),Wi(fr(t,Jt),wt(e,2))}),Fh=Pt(function(t){var e=Me(t);return e=typeof e=="function"?e:n,Wi(fr(t,Jt),n,e)}),Uh=Pt(ns);function Wh(t,e){return ja(t||[],e||[],en)}function Zh(t,e){return ja(t||[],e||[],an)}var Hh=Pt(function(t){var e=t.length,r=e>1?t[e-1]:n;return r=typeof r=="function"?(t.pop(),r):n,Eo(t,r)});function Io(t){var e=y(t);return e.__chain__=!0,e}function jh(t,e){return e(t),t}function qn(t,e){return e(t)}var Gh=er(function(t){var e=t.length,r=e?t[0]:0,i=this.__wrapped__,h=function(b){return Ii(b,t)};return e>1||this.__actions__.length||!(i instanceof Lt)||!rr(r)?this.thru(h):(i=i.slice(r,+r+(e?1:0)),i.__actions__.push({func:qn,args:[h],thisArg:n}),new ze(i,this.__chain__).thru(function(b){return e&&!b.length&&b.push(n),b}))});function Kh(){return Io(this)}function qh(){return new ze(this.value(),this.__chain__)}function Xh(){this.__values__===n&&(this.__values__=Zo(this.value()));var t=this.__index__>=this.__values__.length,e=t?n:this.__values__[this.__index__++];return{done:t,value:e}}function Yh(){return this}function $h(t){for(var e,r=this;r instanceof Rn;){var i=wo(r);i.__index__=0,i.__values__=n,e?h.__wrapped__=i:e=i;var h=i;r=r.__wrapped__}return h.__wrapped__=t,e}function Jh(){var t=this.__wrapped__;if(t instanceof Lt){var e=t;return this.__actions__.length&&(e=new Lt(this)),e=e.reverse(),e.__actions__.push({func:qn,args:[rs],thisArg:n}),new ze(e,this.__chain__)}return this.thru(rs)}function Qh(){return Ha(this.__wrapped__,this.__actions__)}var Vh=Fn(function(t,e,r){Nt.call(t,r)?++t[r]:Ke(t,r,1)});function td(t,e,r){var i=St(t)?ra:jf;return r&&pe(t,e,r)&&(e=n),i(t,wt(e,3))}function ed(t,e){var r=St(t)?fr:Ca;return r(t,wt(e,3))}var rd=to(xo),nd=to(Ao);function id(t,e){return ie(Xn(t,e),1)}function sd(t,e){return ie(Xn(t,e),xt)}function ad(t,e,r){return r=r===n?1:Ct(r),ie(Xn(t,e),r)}function Po(t,e){var r=St(t)?ke:pr;return r(t,wt(e,3))}function To(t,e){var r=St(t)?kl:Sa;return r(t,wt(e,3))}var od=Fn(function(t,e,r){Nt.call(t,r)?t[r].push(e):Ke(t,r,[e])});function ud(t,e,r,i){t=ye(t)?t:Kr(t),r=r&&!i?Ct(r):0;var h=t.length;return r<0&&(r=ee(h+r,0)),Vn(t)?r<=h&&t.indexOf(e,r)>-1:!!h&&Br(t,e,r)>-1}var ld=Pt(function(t,e,r){var i=-1,h=typeof e=="function",b=ye(t)?j(t.length):[];return pr(t,function(L){b[++i]=h?Ae(e,L,r):nn(L,e,r)}),b}),fd=Fn(function(t,e,r){Ke(t,r,e)});function Xn(t,e){var r=St(t)?Gt:Ra;return r(t,wt(e,3))}function cd(t,e,r,i){return t==null?[]:(St(e)||(e=e==null?[]:[e]),r=i?n:r,St(r)||(r=r==null?[]:[r]),Na(t,e,r))}var hd=Fn(function(t,e,r){t[r?0:1].push(e)},function(){return[[],[]]});function dd(t,e,r){var i=St(t)?gi:aa,h=arguments.length<3;return i(t,wt(e,4),r,h,pr)}function pd(t,e,r){var i=St(t)?Sl:aa,h=arguments.length<3;return i(t,wt(e,4),r,h,Sa)}function gd(t,e){var r=St(t)?fr:Ca;return r(t,Jn(wt(e,3)))}function _d(t){var e=St(t)?wa:uc;return e(t)}function md(t,e,r){(r?pe(t,e,r):e===n)?e=1:e=Ct(e);var i=St(t)?Ff:lc;return i(t,e)}function vd(t){var e=St(t)?Uf:cc;return e(t)}function yd(t){if(t==null)return 0;if(ye(t))return Vn(t)?Nr(t):t.length;var e=ue(t);return e==X||e==F?t.size:Bi(t).length}function bd(t,e,r){var i=St(t)?_i:hc;return r&&pe(t,e,r)&&(e=n),i(t,wt(e,3))}var wd=Pt(function(t,e){if(t==null)return[];var r=e.length;return r>1&&pe(t,e[0],e[1])?e=[]:r>2&&pe(e[0],e[1],e[2])&&(e=[e[0]]),Na(t,ie(e,1),[])}),Yn=tf||function(){return ne.Date.now()};function xd(t,e){if(typeof e!="function")throw new Be(l);return t=Ct(t),function(){if(--t<1)return e.apply(this,arguments)}}function Oo(t,e,r){return e=r?n:e,e=t&&e==null?t.length:e,tr(t,J,n,n,n,n,e)}function Ro(t,e){var r;if(typeof e!="function")throw new Be(l);return t=Ct(t),function(){return--t>0&&(r=e.apply(this,arguments)),t<=1&&(e=n),r}}var is=Pt(function(t,e,r){var i=d;if(r.length){var h=hr(r,jr(is));i|=U}return tr(t,i,e,r,h)}),Lo=Pt(function(t,e,r){var i=d|m;if(r.length){var h=hr(r,jr(Lo));i|=U}return tr(e,i,t,r,h)});function Bo(t,e,r){e=r?n:e;var i=tr(t,R,n,n,n,n,n,e);return i.placeholder=Bo.placeholder,i}function zo(t,e,r){e=r?n:e;var i=tr(t,T,n,n,n,n,n,e);return i.placeholder=zo.placeholder,i}function No(t,e,r){var i,h,b,L,z,M,Q=0,tt=!1,it=!1,ft=!0;if(typeof t!="function")throw new Be(l);e=Fe(e)||0,qt(r)&&(tt=!!r.leading,it="maxWait"in r,b=it?ee(Fe(r.maxWait)||0,e):b,ft="trailing"in r?!!r.trailing:ft);function pt(Qt){var Ge=i,sr=h;return i=h=n,Q=Qt,L=t.apply(sr,Ge),L}function At(Qt){return Q=Qt,z=ln(Tt,e),tt?pt(Qt):L}function It(Qt){var Ge=Qt-M,sr=Qt-Q,ru=e-Ge;return it?oe(ru,b-sr):ru}function vt(Qt){var Ge=Qt-M,sr=Qt-Q;return M===n||Ge>=e||Ge<0||it&&sr>=b}function Tt(){var Qt=Yn();if(vt(Qt))return Bt(Qt);z=ln(Tt,It(Qt))}function Bt(Qt){return z=n,ft&&i?pt(Qt):(i=h=n,L)}function Ie(){z!==n&&Ga(z),Q=0,i=M=h=z=n}function ge(){return z===n?L:Bt(Yn())}function Pe(){var Qt=Yn(),Ge=vt(Qt);if(i=arguments,h=this,M=Qt,Ge){if(z===n)return At(M);if(it)return Ga(z),z=ln(Tt,e),pt(M)}return z===n&&(z=ln(Tt,e)),L}return Pe.cancel=Ie,Pe.flush=ge,Pe}var Ad=Pt(function(t,e){return ka(t,1,e)}),kd=Pt(function(t,e,r){return ka(t,Fe(e)||0,r)});function Sd(t){return tr(t,ot)}function $n(t,e){if(typeof t!="function"||e!=null&&typeof e!="function")throw new Be(l);var r=function(){var i=arguments,h=e?e.apply(this,i):i[0],b=r.cache;if(b.has(h))return b.get(h);var L=t.apply(this,i);return r.cache=b.set(h,L)||b,L};return r.cache=new($n.Cache||Ve),r}$n.Cache=Ve;function Jn(t){if(typeof t!="function")throw new Be(l);return function(){var e=arguments;switch(e.length){case 0:return!t.call(this);case 1:return!t.call(this,e[0]);case 2:return!t.call(this,e[0],e[1]);case 3:return!t.call(this,e[0],e[1],e[2])}return!t.apply(this,e)}}function Cd(t){return Ro(2,t)}var Ed=dc(function(t,e){e=e.length==1&&St(e[0])?Gt(e[0],Se(wt())):Gt(ie(e,1),Se(wt()));var r=e.length;return Pt(function(i){for(var h=-1,b=oe(i.length,r);++h<b;)i[h]=e[h].call(this,i[h]);return Ae(t,this,i)})}),ss=Pt(function(t,e){var r=hr(e,jr(ss));return tr(t,U,n,e,r)}),Do=Pt(function(t,e){var r=hr(e,jr(Do));return tr(t,Z,n,e,r)}),Id=er(function(t,e){return tr(t,H,n,n,n,e)});function Pd(t,e){if(typeof t!="function")throw new Be(l);return e=e===n?e:Ct(e),Pt(t,e)}function Td(t,e){if(typeof t!="function")throw new Be(l);return e=e==null?0:ee(Ct(e),0),Pt(function(r){var i=r[e],h=mr(r,0,e);return i&&cr(h,i),Ae(t,this,h)})}function Od(t,e,r){var i=!0,h=!0;if(typeof t!="function")throw new Be(l);return qt(r)&&(i="leading"in r?!!r.leading:i,h="trailing"in r?!!r.trailing:h),No(t,e,{leading:i,maxWait:e,trailing:h})}function Rd(t){return Oo(t,1)}function Ld(t,e){return ss(Hi(e),t)}function Bd(){if(!arguments.length)return[];var t=arguments[0];return St(t)?t:[t]}function zd(t){return Ne(t,P)}function Nd(t,e){return e=typeof e=="function"?e:n,Ne(t,P,e)}function Dd(t){return Ne(t,I|P)}function Md(t,e){return e=typeof e=="function"?e:n,Ne(t,I|P,e)}function Fd(t,e){return e==null||Aa(t,e,re(e))}function je(t,e){return t===e||t!==t&&e!==e}var Ud=Hn(Oi),Wd=Hn(function(t,e){return t>=e}),Or=Pa((function(){return arguments})())?Pa:function(t){return Yt(t)&&Nt.call(t,"callee")&&!ga.call(t,"callee")},St=j.isArray,Zd=$s?Se($s):$f;function ye(t){return t!=null&&Qn(t.length)&&!nr(t)}function Jt(t){return Yt(t)&&ye(t)}function Hd(t){return t===!0||t===!1||Yt(t)&&de(t)==Rt}var vr=rf||ms,jd=Js?Se(Js):Jf;function Gd(t){return Yt(t)&&t.nodeType===1&&!fn(t)}function Kd(t){if(t==null)return!0;if(ye(t)&&(St(t)||typeof t=="string"||typeof t.splice=="function"||vr(t)||Gr(t)||Or(t)))return!t.length;var e=ue(t);if(e==X||e==F)return!t.size;if(un(t))return!Bi(t).length;for(var r in t)if(Nt.call(t,r))return!1;return!0}function qd(t,e){return sn(t,e)}function Xd(t,e,r){r=typeof r=="function"?r:n;var i=r?r(t,e):n;return i===n?sn(t,e,n,r):!!i}function as(t){if(!Yt(t))return!1;var e=de(t);return e==he||e==Kt||typeof t.message=="string"&&typeof t.name=="string"&&!fn(t)}function Yd(t){return typeof t=="number"&&ma(t)}function nr(t){if(!qt(t))return!1;var e=de(t);return e==ae||e==f||e==Ot||e==et}function Mo(t){return typeof t=="number"&&t==Ct(t)}function Qn(t){return typeof t=="number"&&t>-1&&t%1==0&&t<=nt}function qt(t){var e=typeof t;return t!=null&&(e=="object"||e=="function")}function Yt(t){return t!=null&&typeof t=="object"}var Fo=Qs?Se(Qs):Vf;function $d(t,e){return t===e||Li(t,e,$i(e))}function Jd(t,e,r){return r=typeof r=="function"?r:n,Li(t,e,$i(e),r)}function Qd(t){return Uo(t)&&t!=+t}function Vd(t){if(Nc(t))throw new kt(a);return Ta(t)}function tp(t){return t===null}function ep(t){return t==null}function Uo(t){return typeof t=="number"||Yt(t)&&de(t)==q}function fn(t){if(!Yt(t)||de(t)!=E)return!1;var e=Sn(t);if(e===null)return!0;var r=Nt.call(e,"constructor")&&e.constructor;return typeof r=="function"&&r instanceof r&&wn.call(r)==$l}var os=Vs?Se(Vs):tc;function rp(t){return Mo(t)&&t>=-nt&&t<=nt}var Wo=ta?Se(ta):ec;function Vn(t){return typeof t=="string"||!St(t)&&Yt(t)&&de(t)==at}function Ee(t){return typeof t=="symbol"||Yt(t)&&de(t)==ct}var Gr=ea?Se(ea):rc;function np(t){return t===n}function ip(t){return Yt(t)&&ue(t)==_t}function sp(t){return Yt(t)&&de(t)==Ft}var ap=Hn(zi),op=Hn(function(t,e){return t<=e});function Zo(t){if(!t)return[];if(ye(t))return Vn(t)?We(t):ve(t);if($r&&t[$r])return Ml(t[$r]());var e=ue(t),r=e==X?xi:e==F?vn:Kr;return r(t)}function ir(t){if(!t)return t===0?t:0;if(t=Fe(t),t===xt||t===-xt){var e=t<0?-1:1;return e*bt}return t===t?t:0}function Ct(t){var e=ir(t),r=e%1;return e===e?r?e-r:e:0}function Ho(t){return t?Er(Ct(t),0,W):0}function Fe(t){if(typeof t=="number")return t;if(Ee(t))return G;if(qt(t)){var e=typeof t.valueOf=="function"?t.valueOf():t;t=qt(e)?e+"":e}if(typeof t!="string")return t===0?t:+t;t=oa(t);var r=Wu.test(t);return r||Hu.test(t)?wl(t.slice(2),r?2:8):Uu.test(t)?G:+t}function jo(t){return Xe(t,be(t))}function up(t){return t?Er(Ct(t),-nt,nt):t===0?t:0}function Dt(t){return t==null?"":Ce(t)}var lp=Zr(function(t,e){if(un(e)||ye(e)){Xe(e,re(e),t);return}for(var r in e)Nt.call(e,r)&&en(t,r,e[r])}),Go=Zr(function(t,e){Xe(e,be(e),t)}),Ko=Zr(function(t,e,r,i){Xe(e,be(e),t,i)}),us=Zr(function(t,e,r,i){Xe(e,re(e),t,i)}),fp=er(Ii);function cp(t,e){var r=Wr(t);return e==null?r:xa(r,e)}var hp=Pt(function(t,e){t=Ut(t);var r=-1,i=e.length,h=i>2?e[2]:n;for(h&&pe(e[0],e[1],h)&&(i=1);++r<i;)for(var b=e[r],L=be(b),z=-1,M=L.length;++z<M;){var Q=L[z],tt=t[Q];(tt===n||je(tt,Mr[Q])&&!Nt.call(t,Q))&&(t[Q]=b[Q])}return t}),dp=Pt(function(t){return t.push(n,oo),Ae(qo,n,t)});function pp(t,e){return na(t,wt(e,3),qe)}function gp(t,e){return na(t,wt(e,3),Ti)}function _p(t,e){return t==null?t:Pi(t,wt(e,3),be)}function mp(t,e){return t==null?t:Ea(t,wt(e,3),be)}function vp(t,e){return t&&qe(t,wt(e,3))}function yp(t,e){return t&&Ti(t,wt(e,3))}function bp(t){return t==null?[]:zn(t,re(t))}function wp(t){return t==null?[]:zn(t,be(t))}function ls(t,e,r){var i=t==null?n:Ir(t,e);return i===n?r:i}function xp(t,e){return t!=null&&fo(t,e,Kf)}function fs(t,e){return t!=null&&fo(t,e,qf)}var Ap=ro(function(t,e,r){e!=null&&typeof e.toString!="function"&&(e=xn.call(e)),t[e]=r},hs(we)),kp=ro(function(t,e,r){e!=null&&typeof e.toString!="function"&&(e=xn.call(e)),Nt.call(t,e)?t[e].push(r):t[e]=[r]},wt),Sp=Pt(nn);function re(t){return ye(t)?ba(t):Bi(t)}function be(t){return ye(t)?ba(t,!0):nc(t)}function Cp(t,e){var r={};return e=wt(e,3),qe(t,function(i,h,b){Ke(r,e(i,h,b),i)}),r}function Ep(t,e){var r={};return e=wt(e,3),qe(t,function(i,h,b){Ke(r,h,e(i,h,b))}),r}var Ip=Zr(function(t,e,r){Nn(t,e,r)}),qo=Zr(function(t,e,r,i){Nn(t,e,r,i)}),Pp=er(function(t,e){var r={};if(t==null)return r;var i=!1;e=Gt(e,function(b){return b=_r(b,t),i||(i=b.length>1),b}),Xe(t,Xi(t),r),i&&(r=Ne(r,I|w|P,kc));for(var h=e.length;h--;)Ui(r,e[h]);return r});function Tp(t,e){return Xo(t,Jn(wt(e)))}var Op=er(function(t,e){return t==null?{}:sc(t,e)});function Xo(t,e){if(t==null)return{};var r=Gt(Xi(t),function(i){return[i]});return e=wt(e),Da(t,r,function(i,h){return e(i,h[0])})}function Rp(t,e,r){e=_r(e,t);var i=-1,h=e.length;for(h||(h=1,t=n);++i<h;){var b=t==null?n:t[He(e[i])];b===n&&(i=h,b=r),t=nr(b)?b.call(t):b}return t}function Lp(t,e,r){return t==null?t:an(t,e,r)}function Bp(t,e,r,i){return i=typeof i=="function"?i:n,t==null?t:an(t,e,r,i)}var Yo=so(re),$o=so(be);function zp(t,e,r){var i=St(t),h=i||vr(t)||Gr(t);if(e=wt(e,4),r==null){var b=t&&t.constructor;h?r=i?new b:[]:qt(t)?r=nr(b)?Wr(Sn(t)):{}:r={}}return(h?ke:qe)(t,function(L,z,M){return e(r,L,z,M)}),r}function Np(t,e){return t==null?!0:Ui(t,e)}function Dp(t,e,r){return t==null?t:Za(t,e,Hi(r))}function Mp(t,e,r,i){return i=typeof i=="function"?i:n,t==null?t:Za(t,e,Hi(r),i)}function Kr(t){return t==null?[]:wi(t,re(t))}function Fp(t){return t==null?[]:wi(t,be(t))}function Up(t,e,r){return r===n&&(r=e,e=n),r!==n&&(r=Fe(r),r=r===r?r:0),e!==n&&(e=Fe(e),e=e===e?e:0),Er(Fe(t),e,r)}function Wp(t,e,r){return e=ir(e),r===n?(r=e,e=0):r=ir(r),t=Fe(t),Xf(t,e,r)}function Zp(t,e,r){if(r&&typeof r!="boolean"&&pe(t,e,r)&&(e=r=n),r===n&&(typeof e=="boolean"?(r=e,e=n):typeof t=="boolean"&&(r=t,t=n)),t===n&&e===n?(t=0,e=1):(t=ir(t),e===n?(e=t,t=0):e=ir(e)),t>e){var i=t;t=e,e=i}if(r||t%1||e%1){var h=va();return oe(t+h*(e-t+bl("1e-"+((h+"").length-1))),e)}return Di(t,e)}var Hp=Hr(function(t,e,r){return e=e.toLowerCase(),t+(r?Jo(e):e)});function Jo(t){return cs(Dt(t).toLowerCase())}function Qo(t){return t=Dt(t),t&&t.replace(Gu,Ll).replace(fl,"")}function jp(t,e,r){t=Dt(t),e=Ce(e);var i=t.length;r=r===n?i:Er(Ct(r),0,i);var h=r;return r-=e.length,r>=0&&t.slice(r,h)==e}function Gp(t){return t=Dt(t),t&&Cu.test(t)?t.replace(xr,Bl):t}function Kp(t){return t=Dt(t),t&&Ru.test(t)?t.replace(si,"\\$&"):t}var qp=Hr(function(t,e,r){return t+(r?"-":"")+e.toLowerCase()}),Xp=Hr(function(t,e,r){return t+(r?" ":"")+e.toLowerCase()}),Yp=Va("toLowerCase");function $p(t,e,r){t=Dt(t),e=Ct(e);var i=e?Nr(t):0;if(!e||i>=e)return t;var h=(e-i)/2;return Zn(Pn(h),r)+t+Zn(In(h),r)}function Jp(t,e,r){t=Dt(t),e=Ct(e);var i=e?Nr(t):0;return e&&i<e?t+Zn(e-i,r):t}function Qp(t,e,r){t=Dt(t),e=Ct(e);var i=e?Nr(t):0;return e&&i<e?Zn(e-i,r)+t:t}function Vp(t,e,r){return r||e==null?e=0:e&&(e=+e),of(Dt(t).replace(ai,""),e||0)}function t0(t,e,r){return(r?pe(t,e,r):e===n)?e=1:e=Ct(e),Mi(Dt(t),e)}function e0(){var t=arguments,e=Dt(t[0]);return t.length<3?e:e.replace(t[1],t[2])}var r0=Hr(function(t,e,r){return t+(r?"_":"")+e.toLowerCase()});function n0(t,e,r){return r&&typeof r!="number"&&pe(t,e,r)&&(e=r=n),r=r===n?W:r>>>0,r?(t=Dt(t),t&&(typeof e=="string"||e!=null&&!os(e))&&(e=Ce(e),!e&&zr(t))?mr(We(t),0,r):t.split(e,r)):[]}var i0=Hr(function(t,e,r){return t+(r?" ":"")+cs(e)});function s0(t,e,r){return t=Dt(t),r=r==null?0:Er(Ct(r),0,t.length),e=Ce(e),t.slice(r,r+e.length)==e}function a0(t,e,r){var i=y.templateSettings;r&&pe(t,e,r)&&(e=n),t=Dt(t),e=us({},e,i,ao);var h=us({},e.imports,i.imports,ao),b=re(h),L=wi(h,b);ke(b,function(vt){if(Is.test(vt))throw new kt(g)});var z,M,Q=0,tt=e.interpolate||dn,it="__p += '",ft=Ai((e.escape||dn).source+"|"+tt.source+"|"+(tt===Es?Fu:dn).source+"|"+(e.evaluate||dn).source+"|$","g"),pt="//# sourceURL="+(Nt.call(e,"sourceURL")?(e.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++gl+"]")+`
|
|
22
|
+
`;t.replace(ft,function(vt,Tt,Bt,Ie,ge,Pe){return Bt||(Bt=Ie),it+=t.slice(Q,Pe).replace(Ku,zl),Tt&&(z=!0,it+=`' +
|
|
23
|
+
__e(`+Tt+`) +
|
|
24
|
+
'`),ge&&(M=!0,it+=`';
|
|
25
|
+
`+ge+`;
|
|
26
|
+
__p += '`),Bt&&(it+=`' +
|
|
27
|
+
((__t = (`+Bt+`)) == null ? '' : __t) +
|
|
28
|
+
'`),Q=Pe+vt.length,vt}),it+=`';
|
|
29
|
+
`;var At=Nt.call(e,"variable")&&e.variable;if(!At)it=`with (obj) {
|
|
30
|
+
`+it+`
|
|
31
|
+
}
|
|
32
|
+
`;else if(Is.test(At))throw new kt(c);it=(M?it.replace(ni,""):it).replace(ii,"$1").replace(hn,"$1;"),it="function("+(At||"obj")+`) {
|
|
33
|
+
`+(At?"":`obj || (obj = {});
|
|
34
|
+
`)+"var __t, __p = ''"+(z?", __e = _.escape":"")+(M?`, __j = Array.prototype.join;
|
|
35
|
+
function print() { __p += __j.call(arguments, '') }
|
|
36
|
+
`:`;
|
|
37
|
+
`)+it+`return __p
|
|
38
|
+
}`;var It=tu(function(){return zt(b,pt+"return "+it).apply(n,L)});if(It.source=it,as(It))throw It;return It}function o0(t){return Dt(t).toLowerCase()}function u0(t){return Dt(t).toUpperCase()}function l0(t,e,r){if(t=Dt(t),t&&(r||e===n))return oa(t);if(!t||!(e=Ce(e)))return t;var i=We(t),h=We(e),b=ua(i,h),L=la(i,h)+1;return mr(i,b,L).join("")}function f0(t,e,r){if(t=Dt(t),t&&(r||e===n))return t.slice(0,ca(t)+1);if(!t||!(e=Ce(e)))return t;var i=We(t),h=la(i,We(e))+1;return mr(i,0,h).join("")}function c0(t,e,r){if(t=Dt(t),t&&(r||e===n))return t.replace(ai,"");if(!t||!(e=Ce(e)))return t;var i=We(t),h=ua(i,We(e));return mr(i,h).join("")}function h0(t,e){var r=gt,i=B;if(qt(e)){var h="separator"in e?e.separator:h;r="length"in e?Ct(e.length):r,i="omission"in e?Ce(e.omission):i}t=Dt(t);var b=t.length;if(zr(t)){var L=We(t);b=L.length}if(r>=b)return t;var z=r-Nr(i);if(z<1)return i;var M=L?mr(L,0,z).join(""):t.slice(0,z);if(h===n)return M+i;if(L&&(z+=M.length-z),os(h)){if(t.slice(z).search(h)){var Q,tt=M;for(h.global||(h=Ai(h.source,Dt(Ps.exec(h))+"g")),h.lastIndex=0;Q=h.exec(tt);)var it=Q.index;M=M.slice(0,it===n?z:it)}}else if(t.indexOf(Ce(h),z)!=z){var ft=M.lastIndexOf(h);ft>-1&&(M=M.slice(0,ft))}return M+i}function d0(t){return t=Dt(t),t&&Su.test(t)?t.replace(lr,Zl):t}var p0=Hr(function(t,e,r){return t+(r?" ":"")+e.toUpperCase()}),cs=Va("toUpperCase");function Vo(t,e,r){return t=Dt(t),e=r?n:e,e===n?Dl(t)?Gl(t):Il(t):t.match(e)||[]}var tu=Pt(function(t,e){try{return Ae(t,n,e)}catch(r){return as(r)?r:new kt(r)}}),g0=er(function(t,e){return ke(e,function(r){r=He(r),Ke(t,r,is(t[r],t))}),t});function _0(t){var e=t==null?0:t.length,r=wt();return t=e?Gt(t,function(i){if(typeof i[1]!="function")throw new Be(l);return[r(i[0]),i[1]]}):[],Pt(function(i){for(var h=-1;++h<e;){var b=t[h];if(Ae(b[0],this,i))return Ae(b[1],this,i)}})}function m0(t){return Hf(Ne(t,I))}function hs(t){return function(){return t}}function v0(t,e){return t==null||t!==t?e:t}var y0=eo(),b0=eo(!0);function we(t){return t}function ds(t){return Oa(typeof t=="function"?t:Ne(t,I))}function w0(t){return La(Ne(t,I))}function x0(t,e){return Ba(t,Ne(e,I))}var A0=Pt(function(t,e){return function(r){return nn(r,t,e)}}),k0=Pt(function(t,e){return function(r){return nn(t,r,e)}});function ps(t,e,r){var i=re(e),h=zn(e,i);r==null&&!(qt(e)&&(h.length||!i.length))&&(r=e,e=t,t=this,h=zn(e,re(e)));var b=!(qt(r)&&"chain"in r)||!!r.chain,L=nr(t);return ke(h,function(z){var M=e[z];t[z]=M,L&&(t.prototype[z]=function(){var Q=this.__chain__;if(b||Q){var tt=t(this.__wrapped__),it=tt.__actions__=ve(this.__actions__);return it.push({func:M,args:arguments,thisArg:t}),tt.__chain__=Q,tt}return M.apply(t,cr([this.value()],arguments))})}),t}function S0(){return ne._===this&&(ne._=Jl),this}function gs(){}function C0(t){return t=Ct(t),Pt(function(e){return za(e,t)})}var E0=Gi(Gt),I0=Gi(ra),P0=Gi(_i);function eu(t){return Qi(t)?mi(He(t)):ac(t)}function T0(t){return function(e){return t==null?n:Ir(t,e)}}var O0=no(),R0=no(!0);function _s(){return[]}function ms(){return!1}function L0(){return{}}function B0(){return""}function z0(){return!0}function N0(t,e){if(t=Ct(t),t<1||t>nt)return[];var r=W,i=oe(t,W);e=wt(e),t-=W;for(var h=bi(i,e);++r<t;)e(r);return h}function D0(t){return St(t)?Gt(t,He):Ee(t)?[t]:ve(bo(Dt(t)))}function M0(t){var e=++Yl;return Dt(t)+e}var F0=Wn(function(t,e){return t+e},0),U0=Ki("ceil"),W0=Wn(function(t,e){return t/e},1),Z0=Ki("floor");function H0(t){return t&&t.length?Bn(t,we,Oi):n}function j0(t,e){return t&&t.length?Bn(t,wt(e,2),Oi):n}function G0(t){return sa(t,we)}function K0(t,e){return sa(t,wt(e,2))}function q0(t){return t&&t.length?Bn(t,we,zi):n}function X0(t,e){return t&&t.length?Bn(t,wt(e,2),zi):n}var Y0=Wn(function(t,e){return t*e},1),$0=Ki("round"),J0=Wn(function(t,e){return t-e},0);function Q0(t){return t&&t.length?yi(t,we):0}function V0(t,e){return t&&t.length?yi(t,wt(e,2)):0}return y.after=xd,y.ary=Oo,y.assign=lp,y.assignIn=Go,y.assignInWith=Ko,y.assignWith=us,y.at=fp,y.before=Ro,y.bind=is,y.bindAll=g0,y.bindKey=Lo,y.castArray=Bd,y.chain=Io,y.chunk=Hc,y.compact=jc,y.concat=Gc,y.cond=_0,y.conforms=m0,y.constant=hs,y.countBy=Vh,y.create=cp,y.curry=Bo,y.curryRight=zo,y.debounce=No,y.defaults=hp,y.defaultsDeep=dp,y.defer=Ad,y.delay=kd,y.difference=Kc,y.differenceBy=qc,y.differenceWith=Xc,y.drop=Yc,y.dropRight=$c,y.dropRightWhile=Jc,y.dropWhile=Qc,y.fill=Vc,y.filter=ed,y.flatMap=id,y.flatMapDeep=sd,y.flatMapDepth=ad,y.flatten=ko,y.flattenDeep=th,y.flattenDepth=eh,y.flip=Sd,y.flow=y0,y.flowRight=b0,y.fromPairs=rh,y.functions=bp,y.functionsIn=wp,y.groupBy=od,y.initial=ih,y.intersection=sh,y.intersectionBy=ah,y.intersectionWith=oh,y.invert=Ap,y.invertBy=kp,y.invokeMap=ld,y.iteratee=ds,y.keyBy=fd,y.keys=re,y.keysIn=be,y.map=Xn,y.mapKeys=Cp,y.mapValues=Ep,y.matches=w0,y.matchesProperty=x0,y.memoize=$n,y.merge=Ip,y.mergeWith=qo,y.method=A0,y.methodOf=k0,y.mixin=ps,y.negate=Jn,y.nthArg=C0,y.omit=Pp,y.omitBy=Tp,y.once=Cd,y.orderBy=cd,y.over=E0,y.overArgs=Ed,y.overEvery=I0,y.overSome=P0,y.partial=ss,y.partialRight=Do,y.partition=hd,y.pick=Op,y.pickBy=Xo,y.property=eu,y.propertyOf=T0,y.pull=ch,y.pullAll=Co,y.pullAllBy=hh,y.pullAllWith=dh,y.pullAt=ph,y.range=O0,y.rangeRight=R0,y.rearg=Id,y.reject=gd,y.remove=gh,y.rest=Pd,y.reverse=rs,y.sampleSize=md,y.set=Lp,y.setWith=Bp,y.shuffle=vd,y.slice=_h,y.sortBy=wd,y.sortedUniq=Ah,y.sortedUniqBy=kh,y.split=n0,y.spread=Td,y.tail=Sh,y.take=Ch,y.takeRight=Eh,y.takeRightWhile=Ih,y.takeWhile=Ph,y.tap=jh,y.throttle=Od,y.thru=qn,y.toArray=Zo,y.toPairs=Yo,y.toPairsIn=$o,y.toPath=D0,y.toPlainObject=jo,y.transform=zp,y.unary=Rd,y.union=Th,y.unionBy=Oh,y.unionWith=Rh,y.uniq=Lh,y.uniqBy=Bh,y.uniqWith=zh,y.unset=Np,y.unzip=ns,y.unzipWith=Eo,y.update=Dp,y.updateWith=Mp,y.values=Kr,y.valuesIn=Fp,y.without=Nh,y.words=Vo,y.wrap=Ld,y.xor=Dh,y.xorBy=Mh,y.xorWith=Fh,y.zip=Uh,y.zipObject=Wh,y.zipObjectDeep=Zh,y.zipWith=Hh,y.entries=Yo,y.entriesIn=$o,y.extend=Go,y.extendWith=Ko,ps(y,y),y.add=F0,y.attempt=tu,y.camelCase=Hp,y.capitalize=Jo,y.ceil=U0,y.clamp=Up,y.clone=zd,y.cloneDeep=Dd,y.cloneDeepWith=Md,y.cloneWith=Nd,y.conformsTo=Fd,y.deburr=Qo,y.defaultTo=v0,y.divide=W0,y.endsWith=jp,y.eq=je,y.escape=Gp,y.escapeRegExp=Kp,y.every=td,y.find=rd,y.findIndex=xo,y.findKey=pp,y.findLast=nd,y.findLastIndex=Ao,y.findLastKey=gp,y.floor=Z0,y.forEach=Po,y.forEachRight=To,y.forIn=_p,y.forInRight=mp,y.forOwn=vp,y.forOwnRight=yp,y.get=ls,y.gt=Ud,y.gte=Wd,y.has=xp,y.hasIn=fs,y.head=So,y.identity=we,y.includes=ud,y.indexOf=nh,y.inRange=Wp,y.invoke=Sp,y.isArguments=Or,y.isArray=St,y.isArrayBuffer=Zd,y.isArrayLike=ye,y.isArrayLikeObject=Jt,y.isBoolean=Hd,y.isBuffer=vr,y.isDate=jd,y.isElement=Gd,y.isEmpty=Kd,y.isEqual=qd,y.isEqualWith=Xd,y.isError=as,y.isFinite=Yd,y.isFunction=nr,y.isInteger=Mo,y.isLength=Qn,y.isMap=Fo,y.isMatch=$d,y.isMatchWith=Jd,y.isNaN=Qd,y.isNative=Vd,y.isNil=ep,y.isNull=tp,y.isNumber=Uo,y.isObject=qt,y.isObjectLike=Yt,y.isPlainObject=fn,y.isRegExp=os,y.isSafeInteger=rp,y.isSet=Wo,y.isString=Vn,y.isSymbol=Ee,y.isTypedArray=Gr,y.isUndefined=np,y.isWeakMap=ip,y.isWeakSet=sp,y.join=uh,y.kebabCase=qp,y.last=Me,y.lastIndexOf=lh,y.lowerCase=Xp,y.lowerFirst=Yp,y.lt=ap,y.lte=op,y.max=H0,y.maxBy=j0,y.mean=G0,y.meanBy=K0,y.min=q0,y.minBy=X0,y.stubArray=_s,y.stubFalse=ms,y.stubObject=L0,y.stubString=B0,y.stubTrue=z0,y.multiply=Y0,y.nth=fh,y.noConflict=S0,y.noop=gs,y.now=Yn,y.pad=$p,y.padEnd=Jp,y.padStart=Qp,y.parseInt=Vp,y.random=Zp,y.reduce=dd,y.reduceRight=pd,y.repeat=t0,y.replace=e0,y.result=Rp,y.round=$0,y.runInContext=N,y.sample=_d,y.size=yd,y.snakeCase=r0,y.some=bd,y.sortedIndex=mh,y.sortedIndexBy=vh,y.sortedIndexOf=yh,y.sortedLastIndex=bh,y.sortedLastIndexBy=wh,y.sortedLastIndexOf=xh,y.startCase=i0,y.startsWith=s0,y.subtract=J0,y.sum=Q0,y.sumBy=V0,y.template=a0,y.times=N0,y.toFinite=ir,y.toInteger=Ct,y.toLength=Ho,y.toLower=o0,y.toNumber=Fe,y.toSafeInteger=up,y.toString=Dt,y.toUpper=u0,y.trim=l0,y.trimEnd=f0,y.trimStart=c0,y.truncate=h0,y.unescape=d0,y.uniqueId=M0,y.upperCase=p0,y.upperFirst=cs,y.each=Po,y.eachRight=To,y.first=So,ps(y,(function(){var t={};return qe(y,function(e,r){Nt.call(y.prototype,r)||(t[r]=e)}),t})(),{chain:!1}),y.VERSION=s,ke(["bind","bindKey","curry","curryRight","partial","partialRight"],function(t){y[t].placeholder=y}),ke(["drop","take"],function(t,e){Lt.prototype[t]=function(r){r=r===n?1:ee(Ct(r),0);var i=this.__filtered__&&!e?new Lt(this):this.clone();return i.__filtered__?i.__takeCount__=oe(r,i.__takeCount__):i.__views__.push({size:oe(r,W),type:t+(i.__dir__<0?"Right":"")}),i},Lt.prototype[t+"Right"]=function(r){return this.reverse()[t](r).reverse()}}),ke(["filter","map","takeWhile"],function(t,e){var r=e+1,i=r==V||r==st;Lt.prototype[t]=function(h){var b=this.clone();return b.__iteratees__.push({iteratee:wt(h,3),type:r}),b.__filtered__=b.__filtered__||i,b}}),ke(["head","last"],function(t,e){var r="take"+(e?"Right":"");Lt.prototype[t]=function(){return this[r](1).value()[0]}}),ke(["initial","tail"],function(t,e){var r="drop"+(e?"":"Right");Lt.prototype[t]=function(){return this.__filtered__?new Lt(this):this[r](1)}}),Lt.prototype.compact=function(){return this.filter(we)},Lt.prototype.find=function(t){return this.filter(t).head()},Lt.prototype.findLast=function(t){return this.reverse().find(t)},Lt.prototype.invokeMap=Pt(function(t,e){return typeof t=="function"?new Lt(this):this.map(function(r){return nn(r,t,e)})}),Lt.prototype.reject=function(t){return this.filter(Jn(wt(t)))},Lt.prototype.slice=function(t,e){t=Ct(t);var r=this;return r.__filtered__&&(t>0||e<0)?new Lt(r):(t<0?r=r.takeRight(-t):t&&(r=r.drop(t)),e!==n&&(e=Ct(e),r=e<0?r.dropRight(-e):r.take(e-t)),r)},Lt.prototype.takeRightWhile=function(t){return this.reverse().takeWhile(t).reverse()},Lt.prototype.toArray=function(){return this.take(W)},qe(Lt.prototype,function(t,e){var r=/^(?:filter|find|map|reject)|While$/.test(e),i=/^(?:head|last)$/.test(e),h=y[i?"take"+(e=="last"?"Right":""):e],b=i||/^find/.test(e);h&&(y.prototype[e]=function(){var L=this.__wrapped__,z=i?[1]:arguments,M=L instanceof Lt,Q=z[0],tt=M||St(L),it=function(Tt){var Bt=h.apply(y,cr([Tt],z));return i&&ft?Bt[0]:Bt};tt&&r&&typeof Q=="function"&&Q.length!=1&&(M=tt=!1);var ft=this.__chain__,pt=!!this.__actions__.length,At=b&&!ft,It=M&&!pt;if(!b&&tt){L=It?L:new Lt(this);var vt=t.apply(L,z);return vt.__actions__.push({func:qn,args:[it],thisArg:n}),new ze(vt,ft)}return At&&It?t.apply(this,z):(vt=this.thru(it),At?i?vt.value()[0]:vt.value():vt)})}),ke(["pop","push","shift","sort","splice","unshift"],function(t){var e=yn[t],r=/^(?:push|sort|unshift)$/.test(t)?"tap":"thru",i=/^(?:pop|shift)$/.test(t);y.prototype[t]=function(){var h=arguments;if(i&&!this.__chain__){var b=this.value();return e.apply(St(b)?b:[],h)}return this[r](function(L){return e.apply(St(L)?L:[],h)})}}),qe(Lt.prototype,function(t,e){var r=y[e];if(r){var i=r.name+"";Nt.call(Ur,i)||(Ur[i]=[]),Ur[i].push({name:e,func:r})}}),Ur[Un(n,m).name]=[{name:"wrapper",func:n}],Lt.prototype.clone=pf,Lt.prototype.reverse=gf,Lt.prototype.value=_f,y.prototype.at=Gh,y.prototype.chain=Kh,y.prototype.commit=qh,y.prototype.next=Xh,y.prototype.plant=$h,y.prototype.reverse=Jh,y.prototype.toJSON=y.prototype.valueOf=y.prototype.value=Qh,y.prototype.first=y.prototype.head,$r&&(y.prototype[$r]=Yh),y}),Dr=Kl();Ar?((Ar.exports=Dr)._=Dr,hi._=Dr):ne._=Dr}).call(ig)})(cn,cn.exports)),cn.exports}var K=sg();const se=[];for(let v=0;v<256;++v)se.push((v+256).toString(16).slice(1));function mu(v,o=0){return(se[v[o+0]]+se[v[o+1]]+se[v[o+2]]+se[v[o+3]]+"-"+se[v[o+4]]+se[v[o+5]]+"-"+se[v[o+6]]+se[v[o+7]]+"-"+se[v[o+8]]+se[v[o+9]]+"-"+se[v[o+10]]+se[v[o+11]]+se[v[o+12]]+se[v[o+13]]+se[v[o+14]]+se[v[o+15]]).toLowerCase()}const ag=new Uint8Array(16);function vu(){return crypto.getRandomValues(ag)}function og(v,o,n){return crypto.randomUUID?crypto.randomUUID():ug(v)}function ug(v,o,n){v=v||{};const s=v.random??v.rng?.()??vu();if(s.length<16)throw new Error("Random bytes length must be >= 16");return s[6]=s[6]&15|64,s[8]=s[8]&63|128,mu(s)}const bs={};function xg(v,o,n){let s;{const u=Date.now(),a=vu();lg(bs,u,a),s=fg(a,bs.msecs,bs.seq,o,n)}return o??mu(s)}function lg(v,o,n){return v.msecs??=-1/0,v.seq??=0,o>v.msecs?(v.seq=n[6]<<23|n[7]<<16|n[8]<<8|n[9],v.msecs=o):(v.seq=v.seq+1|0,v.seq===0&&v.msecs++),v}function fg(v,o,n,s,u=0){if(v.length<16)throw new Error("Random bytes length must be >= 16");if(!s)s=new Uint8Array(16),u=0;else if(u<0||u+16>s.length)throw new RangeError(`UUID byte range ${u}:${u+15} is out of buffer bounds`);return o??=Date.now(),n??=v[6]*127<<24|v[7]<<16|v[8]<<8|v[9],s[u++]=o/1099511627776&255,s[u++]=o/4294967296&255,s[u++]=o/16777216&255,s[u++]=o/65536&255,s[u++]=o/256&255,s[u++]=o&255,s[u++]=112|n>>>28&15,s[u++]=n>>>20&255,s[u++]=128|n>>>14&63,s[u++]=n>>>6&255,s[u++]=n<<2&255|v[10]&3,s[u++]=v[11],s[u++]=v[12],s[u++]=v[13],s[u++]=v[14],s[u++]=v[15],s}function Xt(v){return v/12700}function su(v){return v/100}function yu(v){return v/6e4}function Ss(v){return v/1e5}function ws(v){var o=Math.ceil(v/26),n=(v%26||26)-1+65;return String.fromCharCode(n).repeat(o)}var bu=(function(){function v(o,n){this.uuid=og(),this.offset={x:0,y:0},this.extend={w:0,h:0},this.rotate=0,this.order=0,this.flipV=!1,this.flipH=!1,this.source=o,this.ctx=n;var s=K.get(o,["p:nvSpPr","p:nvPr"]);if(s){var u=K.get(s,"p:ph");u&&u.attrs&&(this.idx=u.attrs.idx,this.type=u.attrs.type),K.get(s,["attrs","userDrawn"])&&(this.userDrawn=K.get(s,["attrs","userDrawn"])==="1")}if(this.order=K.get(o,"attrs.order",0),this.source["p:spPr"]){var a=this.getXfrm();a&&(this.offset={x:Math.round(Xt(parseInt(a["a:off"].attrs.x))),y:Math.round(Xt(parseInt(a["a:off"].attrs.y)))},this.extend={w:Math.round(Xt(parseInt(a["a:ext"].attrs.cx))),h:Math.round(Xt(parseInt(a["a:ext"].attrs.cy)))},this.rotate=yu(parseInt(K.get(a,"attrs.rot",0))),this.flipV=K.get(a,"attrs.flipV")==="1",this.flipH=K.get(a,"attrs.flipH")==="1")}}return Object.defineProperty(v.prototype,"theme",{get:function(){return(this.ctx.sliderMaster||this.ctx).theme},enumerable:!1,configurable:!0}),v.prototype.getColorThemeName=function(o){return this.ctx.getColorThemeName(o)},v.prototype.getXfrm=function(){var o=this.source["p:spPr"]["a:xfrm"];return o||(this.idx?o=this.ctx.getNodeInheritAttrsByIdx(this.idx,["p:spPr","a:xfrm"]):this.type&&(o=this.ctx.getNodeInheritAttrsByType(this.type,["p:spPr","a:xfrm"]))),o},v})(),qr=(function(v){function o(n,s,u,a){var l=v.call(this,s,a)||this;l.userDrawn=!0,l.pptx=u,l.path=n;var c=K.get(l.source,["p:blipFill","a:srcRect"]);return c&&(l.clip={},c.attrs.b&&(l.clip.b=parseInt(c.attrs.b)/1e5),c.attrs.t&&(l.clip.t=parseInt(c.attrs.t)/1e5),c.attrs.l&&(l.clip.l=parseInt(c.attrs.l)/1e5),c.attrs.r&&(l.clip.r=parseInt(c.attrs.r)/1e5)),l}return _u(o,v),Object.defineProperty(o.prototype,"base64",{get:function(){return this.pptx.getMedia(this.path)},enumerable:!1,configurable:!0}),o})(bu);function Re(v,o,n){var s={type:"solidFill"};if(v["a:srgbClr"])s.color="#"+v["a:srgbClr"].attrs.val;else if(v["a:schemeClr"]){var u=v["a:schemeClr"].attrs.val;n&&(u=n.getColorThemeName(u)),s.color=o.getColor(u)}else v["a:sysClr"]&&(s.color="#"+v["a:sysClr"].attrs.lastClr);var a=v["a:srgbClr"]||v["a:schemeClr"]||v["a:sysClr"],l=K.get(a,["a:alpha","attrs","val"],1e5);s.alpha=l/1e5;var c=K.get(a,["a:shade","attrs","val"]);c&&(s.shade=c/1e5);var g=K.get(a,["a:lumMod","attrs","val"]);g&&(s.lumMod=g/1e5);var S=K.get(a,["a:lumOff","attrs","val"]);return S&&(s.lumOff=S/1e5),s}function xs(v){return v<=.04045?v/12.92:Math.pow((v+.055)/1.055,2.4)}function As(v){return v<.0031308?12.92*v:1.055*Math.pow(v,1/2.4)-.055}function Ue(v){if(!v||v.type==="none")return"";if(v.type==="solidFill"&&/^#[\da-fA-F]{3,6}$/.test(v.color)){var o=parseInt(v.color.substr(1,2),16),n=parseInt(v.color.substr(3,2),16),s=parseInt(v.color.substr(5,2),16);if(v.shade){var u=(function(l,c){var g=l[0],S=l[1],C=l[2],k=xs(g/255)*c,I=xs(S/255)*c,w=xs(C/255)*c;return[Math.round(255*As(k)),Math.round(255*As(I)),Math.round(255*As(w))]})([o,n,s],v.shade);o=u[0],n=u[1],s=u[2]}var a=v.alpha;return"rgba(".concat(o,",").concat(n,",").concat(s,",").concat(a,")")}}var cg=(function(){function v(o,n){this.props={},this.inheritProps={},this.source=o,this.node=n,this._getInheritBodyProps(),this._parseBodyProps(),this._parseLstStyle(),this._parseText()}return v.prototype._getInheritBodyProps=function(){var o,n=this.node.ctx,s=this.node.type,u=this.node.idx;if(s||u)switch(n.slideType){case"slideMaster":break;case"slideLayout":(o=s?n.slideMaster.getNodeByType(s):n.slideMaster.getNodeByIdx(u))&&(this.inheritProps=K.get(o,["textBody","props"])||{});break;case"slide":(o=s?n.slideLayout.slideMaster.getNodeByType(s):n.slideLayout.slideMaster.getNodeByIdx(u))&&Object.assign(this.inheritProps,K.get(o,["textBody","props"])||{}),(o=s?n.slideLayout.getNodeByType(s):n.slideLayout.getNodeByIdx(u))&&Object.assign(this.inheritProps,K.get(o,["textBody","props"])||{})}},v.prototype._parseBodyProps=function(){var o=this,n=K.get(this.source,["a:bodyPr","attrs"])||{};Object.keys(n).forEach((function(l){switch(l){case"anchor":o.props.anchor=n[l];break;case"rtlCol":o.props.rtlCol=n[l]==="1";break;case"lIns":case"rIns":case"tIns":case"bIns":o.props[l]=Xt(parseInt(n[l]));break;case"order":break;default:o.props[l]=n[l]}}));var s=K.get(this.source,["a:bodyPr","a:normAutofit","attrs"]);if(s){this.props.normAutofit={};var u=s.fontScale;u&&(this.props.normAutofit.fontScale=Ss(parseInt(u)));var a=s.lnSpcReduction;a&&(this.props.normAutofit.lnSpcReduction=Ss(parseInt(a)))}},v.prototype._parseLstStyle=function(){var o=this,n={},s=K.get(this.source,"a:lstStyle")||{};Object.keys(s).forEach((function(u){if(u.startsWith("a:")&&u.endsWith("pPr")){var a=u.substr(2,u.length-5);n[a]={props:o._formatPPr(s[u])};var l=K.get(s[u],["a:defRPr"]);n[a].defRPr=o._formatRPr(l)}})),this.lstStyle=n},v.prototype._parseText=function(){var o=this,n=K.get(this.source,["a:p"])||[];Array.isArray(n)||(n=[n]),this.paragraphs=n.map((function(s){return o._parseParagraph(s)}))},v.prototype._parseParagraph=function(o){var n=this,s={props:{},inheritProps:{},inheritRProps:{},endParaRProps:{},rows:[]},u=K.get(o,["a:pPr"])||{};s.props=this._formatPPr(u);var a=K.get(o,["a:endParaRPr"]);s.endParaRProps=this._formatRPr(a);var l=K.get(o,["a:r"])||[];Array.isArray(l)||(l=[l]);var c=K.get(o,["a:br"])||[];return Array.isArray(c)||(c=[c]),(l=l.concat(c.map((function(g){return Oe({isBr:!0},g)})))).sort((function(g,S){return K.get(g,["attrs","order"])-K.get(S,["attrs","order"])})),s.rows=l.map((function(g){return n._parseRow(g)})),s.inheritProps=this._getInheritPProps(s.props.level),s.inheritRProps=this._getInheritRProps(s.props.level),s},v.prototype._getInheritPProps=function(o){o===void 0&&(o="0");var n,s={},u=this.node.ctx,a=this.node.type,l=this.node.idx;switch(u.slideType){case"slideMaster":this.node.isTextBox?Object.assign(s,K.get(u.defaultTextStyle,["lvl".concat(o?+o+1:1),"props"])||{}):Object.assign(s,K.get(u,["textStyles","otherStyle","lvl".concat(o?+o+1:1),"props"])||{});break;case"slideLayout":this.node.isTextBox?Object.assign(s,K.get(u.slideMaster.defaultTextStyle,["lvl".concat(o?+o+1:1),"props"])||{}):Object.assign(s,K.get(u.slideMaster,["textStyles","otherStyle","lvl".concat(o?+o+1:1),"props"])||{}),(a||l)&&(n=a?u.slideMaster.getNodeByType(a):u.slideMaster.getNodeByIdx(l))&&Object.assign(s,K.get(n,["textBody","lstStyle","lvl".concat(o?+o+1:1),"props"])||{});break;case"slide":this.node.isTextBox?Object.assign(s,K.get(u.slideLayout.slideMaster.defaultTextStyle,["lvl".concat(o?+o+1:1),"props"])||{}):Object.assign(s,K.get(u.slideLayout.slideMaster,["textStyles","otherStyle","lvl".concat(o?+o+1:1),"props"])||{}),(a||l)&&(["subTitle","ctrTitle","title"].includes(a)&&Object.assign(s,K.get(u.slideLayout.slideMaster,["textStyles","titleStyle","lvl".concat(o?+o+1:1),"props"])||{}),(n=a?u.slideLayout.slideMaster.getNodeByType(a):u.slideLayout.slideMaster.getNodeByIdx(l))&&Object.assign(s,K.get(n,["textBody","lstStyle","lvl".concat(o?+o+1:1),"props"])||{}),(n=a?u.slideLayout.getNodeByType(a):u.slideLayout.getNodeByIdx(l))&&Object.assign(s,K.get(n,["textBody","lstStyle","lvl".concat(o?+o+1:1),"props"])||{}))}return s},v.prototype._getInheritRProps=function(o){o===void 0&&(o="0");var n,s={},u=this.node.ctx,a=this.node.type,l=this.node.idx;switch(u.slideType){case"slideMaster":this.node.isTextBox?Object.assign(s,K.get(u.defaultTextStyle,["lvl".concat(o?+o+1:1),"defRPr"])||{}):Object.assign(s,K.get(u,["textStyles","otherStyle","lvl".concat(o?+o+1:1),"defRPr"])||{});break;case"slideLayout":this.node.isTextBox?Object.assign(s,K.get(u.slideMaster.defaultTextStyle,["lvl".concat(o?+o+1:1),"defRPr"])||{}):Object.assign(s,K.get(u.slideMaster,["textStyles","otherStyle","lvl".concat(o?+o+1:1),"defRPr"])||{}),(a||l)&&(n=a?u.slideMaster.getNodeByType(a):u.slideMaster.getNodeByIdx(l))&&(s=K.get(n,["textBody","lstStyle","lvl".concat(o?+o+1:1),"defRPr"])||{});break;case"slide":this.node.isTextBox?Object.assign(s,K.get(u.slideLayout.slideMaster.defaultTextStyle,["lvl".concat(o?+o+1:1),"defRPr"])||{}):Object.assign(s,K.get(u.slideLayout.slideMaster,["textStyles","otherStyle","lvl".concat(o?+o+1:1),"defRPr"])||{}),(a||l)&&(["subTitle","ctrTitle","title"].includes(a)&&Object.assign(s,K.get(u.slideLayout.slideMaster,["textStyles","titleStyle","lvl".concat(o?+o+1:1),"defRPr"])||{}),(n=a?u.slideLayout.slideMaster.getNodeByType(a):u.slideLayout.slideMaster.getNodeByIdx(l))&&Object.assign(s,K.get(n,["textBody","lstStyle","lvl".concat(o?+o+1:1),"defRPr"])||{}),(n=a?u.slideLayout.getNodeByType(a):u.slideLayout.getNodeByIdx(l))&&Object.assign(s,K.get(n,["textBody","lstStyle","lvl".concat(o?+o+1:1),"defRPr"])||{}))}var c=K.get(this.node.source,["p:style","a:fontRef"]);return K.get(c,"a:schemeClr")&&(s.color=Re(c,this.node.theme,this.node)),K.get(this.lstStyle,["lvl".concat(o?+o+1:1),"defRPr"])&&Object.assign(s,K.get(this.lstStyle,["lvl".concat(o?+o+1:1),"defRPr"])),s},v.prototype._formatPPr=function(o){var n={},s=K.get(o,"attrs")||{};return Object.keys(s).forEach((function(u){switch(u){case"algn":n.align=s[u];break;case"marL":n.marginLeft=Xt(parseInt(s[u]));break;case"indent":n.indent=Xt(parseInt(s[u]));break;case"lvl":n.level=s[u]}})),K.get(o,["a:lnSpc","a:spcPct","attrs","val"])&&(n.lineHeight=parseInt(o["a:lnSpc"]["a:spcPct"].attrs.val)/1e5),K.get(o,["a:buAutoNum","attrs","type"])&&(n.buAutoNum=o["a:buAutoNum"].attrs.type),K.get(o,["a:buChar","attrs","char"])&&(n.buChar=o["a:buChar"].attrs.char),K.get(o,["a:spcBef","a:spcPts","attrs","val"])&&(n.spaceBefore=su(parseInt(o["a:spcBef"]["a:spcPts"].attrs.val))),K.get(o,["a:spcAft","a:spcPts","attrs","val"])&&(n.spaceAfter=su(parseInt(o["a:spcAft"]["a:spcPts"].attrs.val))),n},v.prototype._parseRow=function(o){if(o.isBr)return{isBr:!0};var n={props:{},text:""},s=K.get(o,["a:rPr"])||{};return n.props=this._formatRPr(s),n.text=K.get(o,"a:t")||"",n},v.prototype._formatRPr=function(o){var n={},s=K.get(o,"attrs")||{};Object.keys(s).forEach((function(l){switch(l){case"sz":n.size=parseInt(s[l])/100;break;case"b":n.bold=s[l]==="1";break;case"i":n.italic=s[l]==="1";break;case"u":n.underline=s[l];break;case"strike":n.strike=s[l];break;case"order":case"dirty":break;default:n[l]=s[l]}}));var u=K.get(o,"a:solidFill");u&&(n.color=Re(u,this.node.theme,this.node));var a=K.get(o,"a:highlight");return a&&(n.background=Re(a,this.node.theme,this.node)),n},v})(),br=(function(v){function o(n,s,u){var a=v.call(this,n,u)||this;return a.border={},a.prstGeom={},a.isTextBox=!1,a.pptx=s,a.shape=K.get(n,["p:spPr","a:prstGeom","attrs","prst"]),a._parIsTextBox(),a._parsePrstGeom(),a._parseBackground(),a._parseBorder(),a._parseTxt(),a}return _u(o,v),o.prototype._parIsTextBox=function(){this.isTextBox=K.get(this.source,["p:nvSpPr","p:cNvSpPr","attrs","txBox"])==="1"},o.prototype._parsePrstGeom=function(){var n=K.get(this.source,["p:spPr","a:prstGeom"]),s=K.get(n,["a:avLst","a:gd"]);s&&(Array.isArray(s)||(s=[s]),this.prstGeom.gd=s.map((function(u){return{name:u.attrs.name,fmla:Ss(parseInt(u.attrs.fmla.split(" ")[1]))}})))},o.prototype._parseBackground=function(){if(!K.get(this.source,["p:spPr","a:noFill"])){var n=K.get(this.source,["p:spPr","a:solidFill"]);if(n)this.background=Re(n,this.theme,this);else if(!K.get(this.source,["p:spPr","a:gradFill"])){var s=K.get(this.source,["p:style","a:fillRef"]);s&&(this.background=Re(s,this.theme,this))}}},o.prototype._parseBorder=function(){var n=K.get(this.source,["p:style","a:lnRef"]);if(n){var s=parseInt(n.attrs.idx),u=this.theme.getLineStyle(s);this.border=Oe(Oe({},u),this.border),this.border.color&&this.border.color.color||(this.border.color=Re(n,this.theme,this))}var a=K.get(this.source,["p:spPr","a:ln"]);if(a){if(K.get(a,"a:noFill"))return;K.get(a,"attrs.w")&&(this.border.width=Xt(parseInt(K.get(a,"attrs.w"))));var l=K.get(a,"a:solidFill");l&&(this.border.color=Re(l,this.theme,this));var c=K.get(a,"a:prstDash");if(c&&(this.border.type=c.attrs.val),K.get(a,["a:miter"])&&(this.border.lineJoin="miter"),K.get(a,["a:bevel"])&&(this.border.lineJoin="bevel"),K.get(a,["a:round"])&&(this.border.lineJoin="round"),K.get(a,["a:miter","attrs","lim"])&&(this.border.miterLim=Xt(parseInt(K.get(a,["a:miter","attrs","lim"])))),K.get(a,["a:headEnd"])){var g=K.get(a,["a:headEnd","attrs"]);this.border.headEnd={type:g.type,len:g.len,w:g.w}}if(K.get(a,["a:tailEnd"])){var S=K.get(a,["a:tailEnd","attrs"]);this.border.tailEnd={type:S.type,len:S.len,w:S.w}}Object.assign(this.border,K.omit(K.get(a,"attrs")||{},["w","order"]))}this.border.color&&this.border.color.color&&!this.border.width&&(this.border.width=o.defaultBorderWidth)},o.prototype._parseTxt=function(){this.textBody=new cg(K.get(this.source,["p:txBody"]),this)},o.defaultBorderWidth=.75,o})(bu),Cs=(function(){function v(o,n,s){if(this.offset={x:0,y:0},this.chOffset={x:0,y:0},this.extend={w:0,h:0},this.chExtend={w:0,h:0},this.rotate=0,this.nodes=[],this.flipV=!1,this.flipH=!1,this.order=K.get(o,["attrs","order"]),this.pptx=n,this.ctx=s,this.source=o,this.source["p:grpSpPr"]){var u=K.get(this.source,["p:grpSpPr","a:xfrm"]);u&&(this.offset={x:Math.round(Xt(parseInt(u["a:off"].attrs.x))),y:Math.round(Xt(parseInt(u["a:off"].attrs.y)))},this.chOffset={x:Math.round(Xt(parseInt(u["a:chOff"].attrs.x))),y:Math.round(Xt(parseInt(u["a:chOff"].attrs.y)))},this.extend={w:Math.round(Xt(parseInt(u["a:ext"].attrs.cx))),h:Math.round(Xt(parseInt(u["a:ext"].attrs.cy)))},this.chExtend={w:Math.round(Xt(parseInt(u["a:chExt"].attrs.cx))),h:Math.round(Xt(parseInt(u["a:chExt"].attrs.cy)))},this.rotate=yu(parseInt(K.get(u,"attrs.rot",0))),this.flipV=K.get(u,"attrs.flipV")==="1",this.flipH=K.get(u,"attrs.flipH")==="1")}this._parseNodes()}return v.prototype._parseNodes=function(){var o=this.source;for(var n in o)switch(n){case"p:sp":for(var s=Array.isArray(o[n])?o[n]:[o[n]],u=0;u<s.length;u++){var a=s[u];this.nodes.push(new br(a,this.pptx,this.ctx))}break;case"p:pic":var l=Array.isArray(o[n])?o[n]:[o[n]];for(u=0;u<l.length;u++){var c=l[u],g=c["p:blipFill"]["a:blip"].attrs["r:embed"],S=this.ctx.rels[g].target,C=new qr(S,c,this.pptx,this.ctx);this.nodes.push(C)}break;case"p:cxnSp":var k=Array.isArray(o[n])?o[n]:[o[n]];for(u=0;u<k.length;u++)a=k[u],this.nodes.push(new br(a,this.pptx,this.ctx));break;case"p:grpSp":var I=Array.isArray(o[n])?o[n]:[o[n]];for(u=0;u<I.length;u++){var w=I[u];this.nodes.push(new v(w,this.pptx,this.ctx))}}},v})(),ri=1;function or(v){var o=60,n=62,s=45,u=47,a=33,l=39,c=34,g=63,S=`\r
|
|
39
|
+
>/= `,C=0;return ri=1,wu((function k(){for(var I=[];v[C];){if(v.charCodeAt(C)==o){if(v.charCodeAt(C+1)===u)return C=v.indexOf(">",C),I;if(v.charCodeAt(C+1)===a){if(v.charCodeAt(C+2)==s){for(;v.charCodeAt(C)!==n||v.charCodeAt(C-1)!=s||v.charCodeAt(C-2)!=s||C==-1;)C=v.indexOf(">",C+1);C===-1&&(C=v.length)}else for(C+=2;v.charCodeAt(C)!==n;C++);C++;continue}if(v.charCodeAt(C+1)===g){C=v.indexOf(">",C),C++;continue}for(var w=++C;S.indexOf(v[C])===-1;C++);for(var P=v.slice(w,C),_=!1,x={};v.charCodeAt(C)!==n;C++){var d=v.charCodeAt(C);if(d>64&&d<91||d>96&&d<123){for(w=C;S.indexOf(v[C])===-1;C++);for(var m=v.slice(w,C),A=v.charCodeAt(C);A!==l&&A!==c;)C++,A=v.charCodeAt(C);var R=v[C],T=++C;C=v.indexOf(R,T);var U=v.slice(T,C);_||(x={},_=!0),x[m]=U}}var Z=[];v.charCodeAt(C-1)!==u&&(C++,Z=k()),I.push({children:Z,tagName:P,attrs:x})}else{var J=C;(C=v.indexOf("<",C)-1)===-2&&(C=v.length);var H=v.slice(J,C+1);H.length>0&&I.push(H)}C++}return I})())}function wu(v){var o={};if(v===void 0)return{};if(v.length===1&&typeof v[0]=="string")return v[0];for(var n in v.forEach((function(s){if(o[s.tagName]||(o[s.tagName]=[]),typeof s=="object"){var u=wu(s.children);typeof u=="object"&&(s.attrs&&(u.attrs=s.attrs),u.attrs===void 0?u.attrs={order:ri}:u.attrs.order=ri),ri++,o[s.tagName].push(u)}})),o)o[n].length==1&&(o[n]=o[n][0]);return o}var hg=(function(){function v(o,n,s){this.slideType="slide",this.rels={},this.background={type:"none"},this.nodes=[],this.name=o,this.source=n,this.pptx=s}return Object.defineProperty(v.prototype,"index",{get:function(){if(!this.name)return 0;var o=this.name.match(/(\d+)/);return o?parseInt(o[0]):1},enumerable:!1,configurable:!0}),Object.defineProperty(v.prototype,"slideMaster",{get:function(){return this.slideLayout&&this.slideLayout.slideMaster},enumerable:!1,configurable:!0}),Object.defineProperty(v.prototype,"theme",{get:function(){return this.slideMaster.theme},enumerable:!1,configurable:!0}),Object.defineProperty(v.prototype,"_relsPath",{get:function(){return this.name.replace("slides/slide","slides/_rels/slide")+".rels"},enumerable:!1,configurable:!0}),v.prototype.load=function(){return fe(this,void 0,void 0,(function(){return ce(this,(function(o){switch(o.label){case 0:return[4,this._loadRels()];case 1:return o.sent(),this._loadBackground(),[4,this._loadNodes()];case 2:return o.sent(),[2]}}))}))},v.prototype._loadRels=function(){return fe(this,void 0,void 0,(function(){var o,n,s,u=this;return ce(this,(function(a){switch(a.label){case 0:return n=or,[4,this.pptx.getXmlByPath(this._relsPath)];case 1:return o=n.apply(void 0,[a.sent()]),s=K.get(o,["Relationships","Relationship"])||[],Array.isArray(s)||(s=[s]),s.forEach((function(l){switch(K.get(l,["attrs","Type"])){case"http://schemas.openxmlformats.org/officeDocument/2006/relationships/slideLayout":var c=l.attrs.Target.replace("../","ppt/");u.slideLayout=u.pptx.getSlideLayout(c);break;case"http://schemas.openxmlformats.org/officeDocument/2006/relationships/image":u.rels[l.attrs.Id]={type:l.attrs.Type.replace("http://schemas.openxmlformats.org/officeDocument/2006/relationships/",""),target:l.attrs.Target.replace("../","ppt/")}}})),[2]}}))}))},v.prototype._loadBackground=function(){var o=K.get(this.source,["p:sld","p:cSld","p:bg","p:bgPr"]);o&&o["a:solidFill"]&&(this.background=Re(o["a:solidFill"],this.theme,this))},v.prototype._loadNodes=function(){return fe(this,void 0,void 0,(function(){var o,n,s,u,a,l,c,g,S,C,k,I,w;return ce(this,(function(P){for(n in o=K.get(this.source,["p:sld","p:cSld","p:spTree"]))switch(n){case"p:sp":for(s=Array.isArray(o[n])?o[n]:[o[n]],I=0;I<s.length;I++)C=s[I],this.nodes.push(new br(C,this.pptx,this));break;case"p:pic":for(u=Array.isArray(o[n])?o[n]:[o[n]],I=0;I<u.length;I++)a=u[I],l=a["p:blipFill"]["a:blip"].attrs["r:embed"],c=this.rels[l].target,g=new qr(c,a,this.pptx,this),this.nodes.push(g);break;case"p:cxnSp":for(S=Array.isArray(o[n])?o[n]:[o[n]],I=0;I<S.length;I++)C=S[I],this.nodes.push(new br(C,this.pptx,this));break;case"p:graphicFrame":break;case"p:grpSp":for(k=Array.isArray(o[n])?o[n]:[o[n]],I=0;I<k.length;I++)w=k[I],this.nodes.push(new Cs(w,this.pptx,this))}return[2]}))}))},v.prototype.getColorThemeName=function(o){return this.slideLayout.getColorThemeName(o)},v.prototype.getNodeInheritAttrsByType=function(o,n){var s=this.slideLayout.getNodeByType(o),u=K.get(s.source,n);return u||this.slideLayout.getNodeInheritAttrsByType(o,n)},v.prototype.getNodeInheritAttrsByIdx=function(o,n){var s=this.slideLayout.getNodeByIdx(o),u=K.get(s.source,n);return u||this.slideLayout.getNodeInheritAttrsByIdx(o,n)},v})(),dg=(function(){function v(o,n,s){this.slideType="slideLayout",this.rels={},this.background={type:"none"},this.nodes=[],this.name=o,this.source=n,this.pptx=s}return Object.defineProperty(v.prototype,"_relsPath",{get:function(){return this.name.replace("slideLayouts/slideLayout","slideLayouts/_rels/slideLayout")+".rels"},enumerable:!1,configurable:!0}),Object.defineProperty(v.prototype,"theme",{get:function(){return this.slideMaster.theme},enumerable:!1,configurable:!0}),v.prototype.load=function(){return fe(this,void 0,void 0,(function(){return ce(this,(function(o){switch(o.label){case 0:return[4,this._loadRels()];case 1:return o.sent(),[4,this._loadBackground()];case 2:return o.sent(),[4,this._loadNodes()];case 3:return o.sent(),[2]}}))}))},v.prototype._loadRels=function(){return fe(this,void 0,void 0,(function(){var o,n,s,u=this;return ce(this,(function(a){switch(a.label){case 0:return n=or,[4,this.pptx.getXmlByPath(this._relsPath)];case 1:return o=n.apply(void 0,[a.sent()]),s=K.get(o,["Relationships","Relationship"])||[],Array.isArray(s)||(s=[s]),s.forEach((function(l){switch(K.get(l,["attrs","Type"])){case"http://schemas.openxmlformats.org/officeDocument/2006/relationships/slideMaster":var c=l.attrs.Target.replace("../","ppt/");u.slideMaster=u.pptx.getSlideMaster(c);break;case"http://schemas.openxmlformats.org/officeDocument/2006/relationships/image":u.rels[l.attrs.Id]={type:l.attrs.Type.replace("http://schemas.openxmlformats.org/officeDocument/2006/relationships/",""),target:l.attrs.Target.replace("../","ppt/")}}})),[2]}}))}))},v.prototype._loadBackground=function(){return fe(this,void 0,void 0,(function(){var o;return ce(this,(function(n){return(o=K.get(this.source,["p:sldLayout","p:cSld","p:bg","p:bgPr"]))&&o["a:solidFill"]&&(this.background=Re(o["a:solidFill"],this.theme)),[2]}))}))},v.prototype._loadNodes=function(){return fe(this,void 0,void 0,(function(){var o,n,s,u,a,l,c,g,S,C;return ce(this,(function(k){for(n in o=K.get(this.source,["p:sldLayout","p:cSld","p:spTree"]))switch(n){case"p:sp":for(s=Array.isArray(o[n])?o[n]:[o[n]],l=0;l<s.length;l++)u=s[l],this.nodes.push(new br(u,this.pptx,this));break;case"p:pic":for(a=Array.isArray(o[n])?o[n]:[o[n]],l=0;l<a.length;l++)c=a[l],g=c["p:blipFill"]["a:blip"].attrs["r:embed"],S=this.rels[g].target,C=new qr(S,c,this.pptx,this),this.nodes.push(C)}return[2]}))}))},v.prototype.getColorThemeName=function(o){return this.slideMaster.getColorThemeName(o)},v.prototype.getNodeByType=function(o){return this.nodes.find((function(n){return n.type===o}))},v.prototype.getNodeByIdx=function(o){return this.nodes.find((function(n){return n.idx===o}))},v.prototype.getNodeInheritAttrsByType=function(o,n){var s=this.slideMaster.getNodeByType(o);return s&&K.get(s.source,n)},v.prototype.getNodeInheritAttrsByIdx=function(o,n){var s=this.slideMaster.getNodeByIdx(o);return s&&K.get(s.source,n)},v})();function au(v){var o={},n=K.get(v,"attrs")||{};return Object.keys(n).forEach((function(s){switch(s){case"algn":o.align=n[s];break;case"marL":o.marginLeft=Xt(parseInt(n[s]));break;case"indent":o.indent=Xt(parseInt(n[s]));break;case"lvl":o.level=n[s]}})),K.get(v,["a:lnSpc","a:spcPct","attrs","val"])&&(o.lineHeight=parseInt(v["a:lnSpc"]["a:spcPct"].attrs.val)/1e5),o}function ou(v,o,n){var s={},u=K.get(v,"attrs")||{};Object.keys(u).forEach((function(l){switch(l){case"sz":s.size=parseInt(u[l])/100;break;case"b":s.bold=u[l]==="1";break;case"i":s.italic=u[l]==="1";break;case"u":s.underline=u[l];break;case"strike":s.strike=u[l];break;case"order":case"dirty":break;default:s[l]=u[l]}}));var a=K.get(v,"a:solidFill");return a&&(s.color=Re(a,o,n)),s}var pg=(function(){function v(o,n,s){this.slideType="slideMaster",this.rels={},this.background={type:"none"},this.textStyles={titleStyle:{},bodyStyle:{},otherStyle:{}},this.defaultTextStyle={},this.nodes=[],this.name=o,this.source=n,this.pptx=s,this.load()}return Object.defineProperty(v.prototype,"_relsPath",{get:function(){return this.name.replace("slideMasters/slideMaster","slideMasters/_rels/slideMaster")+".rels"},enumerable:!1,configurable:!0}),v.prototype.load=function(){return fe(this,void 0,void 0,(function(){return ce(this,(function(o){switch(o.label){case 0:return[4,this._parseRels()];case 1:return o.sent(),this._parseColorMap(),this._parseBackground(),this._parseTextStyles(),this._parseDefaultTextStyle(),this._loadNodes(),[2]}}))}))},v.prototype._parseRels=function(){return fe(this,void 0,void 0,(function(){var o,n,s,u=this;return ce(this,(function(a){switch(a.label){case 0:return n=or,[4,this.pptx.getXmlByPath(this._relsPath)];case 1:return o=n.apply(void 0,[a.sent()]),s=K.get(o,["Relationships","Relationship"])||[],Array.isArray(s)||(s=[s]),s.forEach((function(l){switch(K.get(l,["attrs","Type"])){case"http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme":var c=l.attrs.Target.replace("../","ppt/");u.theme=u.pptx.getTheme(c);break;case"http://schemas.openxmlformats.org/officeDocument/2006/relationships/image":u.rels[l.attrs.Id]={type:l.attrs.Type.replace("http://schemas.openxmlformats.org/officeDocument/2006/relationships/",""),target:l.attrs.Target.replace("../","ppt/")}}})),[2]}}))}))},v.prototype._parseColorMap=function(){this.colorMap=K.omit(K.get(this.source,["p:sldMaster","p:clrMap","attrs"])||{},["order"])},v.prototype.getColorThemeName=function(o){return this.colorMap[o]||o},v.prototype._parseBackground=function(){var o=K.get(this.source,["p:sldMaster","p:cSld","p:bg","p:bgPr"]),n=K.get(this.source,["p:sldMaster","p:cSld","p:bg","p:bgRef"]);o&&o["a:solidFill"]?this.background=Re(o["a:solidFill"],this.theme,this):n&&(this.background=Re(n,this.theme,this))},v.prototype._parseDefaultTextStyle=function(){var o=this,n=this.pptx.defaultTextStyleSource;Object.keys(n).forEach((function(s){if(s.startsWith("a:")&&s.endsWith("pPr")){var u=s.substr(2,s.length-5),a=K.get(n[s],["a:defRPr"]);o.defaultTextStyle[u]={props:au(n[s]),defRPr:ou(a,o.theme,o)}}}))},v.prototype._parseTextStyles=function(){var o=this,n=K.get(this.source,["p:sldMaster","p:txStyles"]);["titleStyle","bodyStyle","otherStyle"].forEach((function(s){var u=o.textStyles[s],a=K.get(n,"p:".concat(s))||{};Object.keys(a).forEach((function(l){if(l.startsWith("a:")&&l.endsWith("pPr")){var c=l.substr(2,l.length-5);u[c]={},u[c].props=au(a[l]);var g=K.get(a[l],["a:defRPr"]);u[c].defRPr=ou(g,o.theme,o)}}))}))},v.prototype._loadNodes=function(){return fe(this,void 0,void 0,(function(){var o,n,s,u,a,l,c,g,S,C;return ce(this,(function(k){for(n in o=K.get(this.source,["p:sldMaster","p:cSld","p:spTree"]))switch(n){case"p:sp":for(s=Array.isArray(o[n])?o[n]:[o[n]],l=0;l<s.length;l++)u=s[l],this.nodes.push(new br(u,this.pptx,this));break;case"p:pic":for(a=Array.isArray(o[n])?o[n]:[o[n]],l=0;l<a.length;l++)c=a[l],g=c["p:blipFill"]["a:blip"].attrs["r:embed"],S=this.rels[g].target,C=new qr(S,c,this.pptx,this),this.nodes.push(C)}return[2]}))}))},v.prototype.getNodeByType=function(o){return this.nodes.find((function(n){return n.type===o}))},v.prototype.getNodeByIdx=function(o){return this.nodes.find((function(n){return n.idx===o}))},v.prototype.getNodeInheritAttrsByType=function(o,n){},v.prototype.getNodeInheritAttrsByIdx=function(o,n){},v})(),gg=(function(){function v(o,n,s){this.clrScheme={},this.borderScheme=[],this.name=o,this.source=n,this.pptx=s,this._parseClrScheme(),this._parseLineStyleLst()}return v.prototype._parseClrScheme=function(){var o=K.get(this.source,["a:theme","a:themeElements","a:clrScheme"]);for(var n in o)if(n.startsWith("a:")){var s=n.substring(2),u=K.get(o[n],["a:sysClr","attrs","lastClr"])||K.get(o[n],["a:srgbClr","attrs","val"]);this.clrScheme[s]="#"+u}},v.prototype._parseLineStyleLst=function(){var o=this,n=K.get(this.source,["a:theme","a:themeElements","a:fmtScheme","a:lnStyleLst","a:ln"]);this.borderScheme=n.map((function(s){var u={color:{}};return K.get(s,["attrs","w"])&&(u.width=Xt(parseInt(K.get(s,["attrs","w"])))),K.get(s,["attrs","algn"])&&(u.algn=K.get(s,["attrs","algn"])),K.get(s,["attrs","cap"])&&(u.cap=K.get(s,["attrs","cap"])),K.get(s,["attrs","cmpd"])&&(u.cmpd=K.get(s,["attrs","cmpd"])),K.get(s,["a:miter","attrs","lim"])&&(u.miterLim=Xt(parseInt(K.get(s,["a:miter","attrs","lim"])))),K.get(s,["a:prstDash","attrs","val"])&&(u.type=K.get(s,["a:prstDash","attrs","val"])),K.get(s,["a:solidFill"])&&(u.color=Re(K.get(s,["a:solidFill"]),o)),u}))},v.prototype.getColor=function(o){if(o!=="phClr")return this.clrScheme[o]||this.defaultColor},v.prototype.getLineStyle=function(o){return this.borderScheme[o-1]},v})(),_g=(function(){function v(){this.slides=[],this.slideLayouts=[],this.slideMaster=[],this.themes=[],this.medias={}}return v.prototype.load=function(o){return fe(this,void 0,void 0,(function(){var n,s;return ce(this,(function(u){switch(u.label){case 0:return n=new ng,s=this,[4,n.loadAsync(o)];case 1:return s._zipContents=u.sent(),[4,this._loadThumbnail()];case 2:return u.sent(),[4,this._loadMedia()];case 3:return u.sent(),[4,this._loadPresentation()];case 4:return u.sent(),[4,this._loadContentTypes()];case 5:return u.sent(),[2]}}))}))},v.prototype._loadThumbnail=function(){return fe(this,void 0,void 0,(function(){var o,n;return ce(this,(function(s){switch(s.label){case 0:return s.trys.push([0,3,,4]),this._zipContents.files["docProps/thumbnail.jpeg"]?[4,this._zipContents.files["docProps/thumbnail.jpeg"].async("base64")]:[3,2];case 1:o=s.sent(),this.thumbnail="data:image/jpeg;base64,"+o,s.label=2;case 2:return[3,4];case 3:return n=s.sent(),console.log("获取PPTX缩略图失败",n),[3,4];case 4:return[2]}}))}))},v.prototype._loadPresentation=function(){return fe(this,void 0,void 0,(function(){var o,n,s,u;return ce(this,(function(a){switch(a.label){case 0:return a.trys.push([0,2,,3]),[4,this._zipContents.files["ppt/presentation.xml"].async("text")];case 1:return o=a.sent(),n=or(o),s=n["p:presentation"]["p:sldSz"].attrs,this.width=Xt(parseInt(s.cx)),this.height=Xt(parseInt(s.cy)),this.defaultTextStyleSource=K.get(n,["p:presentation","p:defaultTextStyle"]),[3,3];case 2:return u=a.sent(),console.log("获取PPTX尺寸失败",u),[3,3];case 3:return[2]}}))}))},v.prototype._loadContentTypes=function(){return fe(this,void 0,void 0,(function(){var o,n,s,u,a,l,c,g,S,C,k,I,w,P,_,x,d,m,A,R;return ce(this,(function(T){switch(T.label){case 0:return T.trys.push([0,20,,21]),n=or,[4,this._zipContents.files["[Content_Types].xml"].async("text")];case 1:if(o=n.apply(void 0,[T.sent()]),s=o.Types.Override,!(u=s.filter((function(U){return U.attrs.ContentType==="application/vnd.openxmlformats-officedocument.theme+xml"}))))return[3,5];a=0,l=u,T.label=2;case 2:return a<l.length?(c=l[a],x=c.attrs.PartName.substr(1),g=or,[4,this._zipContents.files[x].async("text")]):[3,5];case 3:d=g.apply(void 0,[T.sent()]),this.themes.push(new gg(x,d,this)),T.label=4;case 4:return a++,[3,2];case 5:S=s.filter((function(U){return U.attrs.ContentType==="application/vnd.openxmlformats-officedocument.presentationml.slideMaster+xml"})),_=0,T.label=6;case 6:return _<S.length?(x=S[_].attrs.PartName.substr(1),C=or,[4,this._zipContents.files[x].async("text")]):[3,9];case 7:d=C.apply(void 0,[T.sent()]),this.slideMaster.push(new pg(x,d,this)),T.label=8;case 8:return _++,[3,6];case 9:k=s.filter((function(U){return U.attrs.ContentType==="application/vnd.openxmlformats-officedocument.presentationml.slideLayout+xml"})),_=0,T.label=10;case 10:return _<k.length?(x=k[_].attrs.PartName.substr(1),I=or,[4,this._zipContents.files[x].async("text")]):[3,14];case 11:return d=I.apply(void 0,[T.sent()]),[4,(w=new dg(x,d,this)).load()];case 12:T.sent(),this.slideLayouts.push(w),T.label=13;case 13:return _++,[3,10];case 14:P=s.filter((function(U){return U.attrs.ContentType==="application/vnd.openxmlformats-officedocument.presentationml.slide+xml"})),_=0,T.label=15;case 15:return _<P.length?(x=P[_].attrs.PartName.substr(1),m=or,[4,this._zipContents.files[x].async("text")]):[3,19];case 16:return d=m.apply(void 0,[T.sent()]),[4,(A=new hg(x,d,this)).load()];case 17:T.sent(),this.slides.push(A),T.label=18;case 18:return _++,[3,15];case 19:return[3,21];case 20:return R=T.sent(),console.log("Content Type获取失败",R),[3,21];case 21:return[2]}}))}))},v.prototype._loadMedia=function(){return fe(this,void 0,void 0,(function(){var o,n,s,u,a,l,c=this;return ce(this,(function(g){switch(g.label){case 0:o=Object.keys(this._zipContents.files).filter((function(C){return C.startsWith("ppt/media/image")})).map((function(C){return c._zipContents.files[C]})),n=0,s=o,g.label=1;case 1:return n<s.length?(u=s[n],a=(function(C){var k;switch(C){case"jpg":case"jpeg":k="image/jpeg";break;case"png":k="image/png";break;case"gif":k="image/gif";break;case"emf":k="image/x-emf";break;case"wmf":k="image/x-wmf";break;default:k="image/*"}return k})((S=u.name).substr(2+(~-S.lastIndexOf(".")>>>0))),[4,u.async("base64")]):[3,4];case 2:l=g.sent(),this.medias[u.name]="data:".concat(a,";base64,").concat(l),g.label=3;case 3:return n++,[3,1];case 4:return[2]}var S}))}))},v.prototype.getXmlByPath=function(o){return fe(this,void 0,void 0,(function(){return ce(this,(function(n){switch(n.label){case 0:if(!this._zipContents.files[o])throw new Error("文件不存在");return[4,this._zipContents.files[o].async("text")];case 1:return[2,n.sent()]}}))}))},v.prototype.getSlideLayout=function(o){return this.slideLayouts.find((function(n){return n.name===o}))},v.prototype.getSlideMaster=function(o){return this.slideMaster.find((function(n){return n.name===o}))},v.prototype.getTheme=function(o){return this.themes.find((function(n){return n.name===o}))},v.prototype.getMedia=function(o){return this.medias[o]},v})();function xu(v){var o,n,s,u,a=v.extend,l=v.offset,c=v.clip,g=v.base64,S=document.createElement("div");S.style.setProperty("position","absolute"),S.style.setProperty("left",l.x+"px"),S.style.setProperty("top",l.y+"px"),S.style.setProperty("width",a.w+"px"),S.style.setProperty("height",a.h+"px"),S.style.setProperty("overflow","hidden"),c?(o=a.w/(1-(c.l===void 0?0:c.l)-(c.r===void 0?0:c.r)),n=a.h/(1-(c.t===void 0?0:c.t)-(c.b===void 0?0:c.b)),s=-1*o*(c.l===void 0?0:c.l),u=-1*n*(c.t===void 0?0:c.t)):(o=a.w,n=a.h,s=0);var C=document.createElement("img");return C.src=g,C.width=o,C.height=n,C.style.setProperty("position","absolute"),C.style.setProperty("left",s+"px"),C.style.setProperty("top",u+"px"),S.append(C),S}function mg(v,o,n){var s,u=v.props,a=v.text,l=Oe(Oe({},o),u),c=document.createElement("span");c.textContent=a,l.size&&(!((s=n?.normAutofit)===null||s===void 0)&&s.fontScale?c.style.fontSize=l.size*n.normAutofit.fontScale+"px":c.style.fontSize=l.size+"px");var g=Ue(l.color);return g&&(c.style.color=g),l.bold&&(c.style.fontWeight="bold"),l.italic&&(c.style.fontStyle="italic"),l.underline&&(c.style.textDecoration="underline"),l.background&&(c.style.backgroundColor=Ue(l.background)),c}function vg(v,o,n){var s=document.createElement("span"),u=v.firstElementChild;switch(s.style.fontSize=u.style.fontSize,s.style.color=u.style.color,s.style.fontWeight=u.style.fontWeight,s.style.fontStyle=u.style.fontStyle,s.style.marginRight="10px",o.buAutoNum){case"arabicPeriod":default:s.textContent=n+".";break;case"circleNumDbPlain":s.textContent=["①","②","③","④","⑤","⑥","⑦","⑧","⑨","⑩","⑪","⑫","⑬","⑭","⑮","⑯","⑰","⑱","⑲","⑳"][n-1]||n+"";break;case"romanUcPeriod":s.textContent=(function(a){var l=[{value:1e3,numeral:"M"},{value:900,numeral:"CM"},{value:500,numeral:"D"},{value:400,numeral:"CD"},{value:100,numeral:"C"},{value:90,numeral:"XC"},{value:50,numeral:"L"},{value:40,numeral:"XL"},{value:10,numeral:"X"},{value:9,numeral:"IX"},{value:5,numeral:"V"},{value:4,numeral:"IV"},{value:1,numeral:"I"}];if(typeof a!="number"||a<1||a>3999)throw new Error("Input must be a number between 1 and 3999.");for(var c="",g=0;g<l.length;g++)for(;a>=l[g].value;)c+=l[g].numeral,a-=l[g].value;return c})(n)+".";break;case"alphaUcPeriod":s.textContent=ws(n)+".";break;case"alphaLcPeriod":s.textContent=ws(n).toLowerCase()+".";break;case"alphaLcParenR":s.textContent=ws(n).toLowerCase()+")";break;case"ea1JpnChsDbPeriod":s.textContent=(function(a){var l=["〇","一","二","三","四","五","六","七","八","九"];if(!Number.isInteger(a)||a<0)return"";for(var c="",g=a.toString(),S=0;S<g.length;S++)c+=l[parseInt(g[S],10)];return c})(n)+"."}v.prepend(s)}function uu(v,o,n){var s,u,a,l;o===void 0&&(o=0),n===void 0&&(n={});var c=v.inheritProps,g=v.inheritRProps,S=v.props,C=v.rows,k=Oe(Oe({},c),S),I=document.createElement("div"),w=n.isFirst?0:k.spaceBefore||0,P=n.isLast?0:k.spaceAfter||0;I.style.margin="0px",I.style.padding="".concat(w,"px 0px ").concat(P,"px 0px");var _=document.createElement("p");_.style.margin="0px",_.style.padding="0px",_.style.wordBreak="break-word",_.style.textAlign=k.align&&{ctr:"center",l:"left",r:"right",dist:"justify"}[k.align]||"center",k.align==="dist"&&(_.style.textAlignLast="justify");var x=k.hasOwnProperty("lineHeight")?1.2*k.lineHeight:1.2;if(!((u=(s=n.bodyProps)===null||s===void 0?void 0:s.normAutofit)===null||u===void 0)&&u.lnSpcReduction&&(x*=1-((l=(a=n.bodyProps)===null||a===void 0?void 0:a.normAutofit)===null||l===void 0?void 0:l.lnSpcReduction)),_.style.lineHeight=x+"",C.length){for(var d=0,m=C;d<m.length;d++){var A=m[d];_.appendChild(mg(A,g,n.bodyProps))}k.buAutoNum?vg(_,k,o):k.buChar&&(function(T,U){var Z=document.createElement("span"),J=T.firstElementChild;Z.style.color=J.style.color,Z.style.fontSize=J.style.fontSize,Z.textContent={n:"■",l:"●",u:"◆",p:"□",ü:"✔",Ø:"➢","•":"•"}[U.buChar]||"■",Z.style.marginRight="10px",T.prepend(Z)})(_,k),_.style.paddingLeft=(k.marginLeft||0)+(k.indent||0)+"px"}else{var R=document.createElement("span");R.innerHTML=" ",R.style.fontSize=g.size+"px",_.appendChild(R)}return I.appendChild(_),I}var _e="http://www.w3.org/2000/svg";function Ye(v,o){var n=0;switch(v){case"sm":n=1*o;break;case"med":n=1.5*o;break;case"lg":n=2.5*o}return Math.max(n,2)}function lu(v,o,n,s){s===void 0&&(s=!1);var u=v.border,a=u===void 0?{}:u,l=v.uuid,c=a.headEnd,g=a.width,S=a.color,C=a.tailEnd,k=s?c:C,I=k.len,w=I===void 0?"med":I,P=k.w,_=P===void 0?"med":P,x=Ye(w,g),d=Ye(_,g),m=document.createElementNS(_e,"defs"),A=document.createElementNS(_e,"marker"),R="marker-".concat(l,"-").concat(s?"start":"end");A.setAttribute("id",R),A.setAttribute("viewBox","0 0 ".concat(2*x," ").concat(2*d)),A.setAttribute("refX",x+"px"),A.setAttribute("refY",d+"px"),A.setAttribute("markerWidth",2*x+"px"),A.setAttribute("markerHeight",2*d+"px"),A.setAttribute("orient","auto"),A.setAttribute("markerUnits","userSpaceOnUse");var T=document.createElementNS(_e,"ellipse");T.setAttribute("cx",x+"px"),T.setAttribute("cy",d+"px"),T.setAttribute("rx",x+"px"),T.setAttribute("ry",d+"px"),T.setAttribute("fill",Ue(S)||"transparent"),A.appendChild(T),m.appendChild(A),o.appendChild(m),n.setAttribute(s?"marker-start":"marker-end","url(#".concat(R,")"))}function fu(v,o,n,s){s===void 0&&(s=!1);var u=v.border,a=u===void 0?{}:u,l=v.uuid,c=a.headEnd,g=a.width,S=a.color,C=a.tailEnd,k=s?c:C,I=k.len,w=I===void 0?"med":I,P=k.w,_=P===void 0?"med":P,x=Ye(w,g),d=Ye(_,g),m=document.createElementNS(_e,"defs"),A=document.createElementNS(_e,"marker"),R="marker-".concat(l,"-").concat(s?"start":"end");A.setAttribute("id",R),A.setAttribute("viewBox","0 0 ".concat(2*x," ").concat(2*d)),A.setAttribute("refX",(s?.9*x:1.1*x)+"px"),A.setAttribute("refY",d+"px"),A.setAttribute("markerWidth",2*x+"px"),A.setAttribute("markerHeight",2*d+"px"),A.setAttribute("orient","auto"),A.setAttribute("markerUnits","userSpaceOnUse");var T=document.createElementNS(_e,"path"),U=s?["M ".concat(2*x,",0"),"L 0,".concat(d),"L ".concat(2*x,",").concat(2*d),"Z"].join(" "):["M 0,0","L ".concat(2*x,",").concat(d),"L 0,".concat(2*d),"Z"].join(" ");T.setAttribute("d",U),T.setAttribute("fill",Ue(S)||"transparent"),A.appendChild(T),m.appendChild(A),o.appendChild(m),n.setAttribute(s?"marker-start":"marker-end","url(#".concat(R,")"))}function cu(v,o,n,s){s===void 0&&(s=!1);var u=v.border,a=u===void 0?{}:u,l=v.uuid,c=a.headEnd,g=a.width,S=a.color,C=a.tailEnd,k=s?c:C,I=k.len,w=I===void 0?"med":I,P=k.w,_=P===void 0?"med":P,x=Ye(w,g),d=Ye(_,g),m=document.createElementNS(_e,"defs"),A=document.createElementNS(_e,"marker"),R="marker-".concat(l,"-").concat(s?"start":"end");A.setAttribute("id",R),A.setAttribute("viewBox","0 0 ".concat(2*x," ").concat(2*d)),A.setAttribute("refX",x+"px"),A.setAttribute("refY",d+"px"),A.setAttribute("markerWidth",2*x+"px"),A.setAttribute("markerHeight",2*d+"px"),A.setAttribute("orient","auto"),A.setAttribute("markerUnits","userSpaceOnUse");var T=document.createElementNS(_e,"path"),U=["M 0,".concat(d),"L ".concat(x,",0"),"L ".concat(2*x,",").concat(d),"L ".concat(x,",").concat(2*d),"Z"].join(" ");T.setAttribute("d",U),T.setAttribute("fill",Ue(S)||"transparent"),A.appendChild(T),m.appendChild(A),o.appendChild(m),n.setAttribute(s?"marker-start":"marker-end","url(#".concat(R,")"))}function hu(v,o,n,s){s===void 0&&(s=!1);var u=v.border,a=u===void 0?{}:u,l=v.uuid,c=a.headEnd,g=a.width,S=a.color,C=a.tailEnd,k=s?c:C,I=k.len,w=I===void 0?"med":I,P=k.w,_=P===void 0?"med":P,x=Ye(w,g),d=Ye(_,g),m=document.createElementNS(_e,"defs"),A=document.createElementNS(_e,"marker"),R="marker-".concat(l,"-").concat(s?"start":"end");A.setAttribute("id",R),A.setAttribute("viewBox","0 0 ".concat(2*x+2*g," ").concat(2*d+2*g));var T=s?_==="lg"?2*g:3*g:_==="lg"?2*x:2*x-g;A.setAttribute("refX",T+"px"),A.setAttribute("refY",d+g+"px"),A.setAttribute("markerWidth",2*x+"px"),A.setAttribute("markerHeight",2*d+"px"),A.setAttribute("orient","auto"),A.setAttribute("markerUnits","userSpaceOnUse");var U=document.createElementNS(_e,"path"),Z=s?["M ".concat(2*x+g,", ").concat(g),"L ".concat(g,",").concat(d+g),"L ".concat(2*x+g,",").concat(2*d+g)].join(" "):["M ".concat(g,", ").concat(g),"L ".concat(2*x+g,",").concat(d+g),"L ".concat(g,",").concat(2*d+g)].join(" ");U.setAttribute("d",Z),U.setAttribute("stroke-width",g+"px"),U.setAttribute("stroke",Ue(S)||"transparent"),U.setAttribute("fill","transparent"),U.setAttribute("stroke-linecap","round"),U.setAttribute("stroke-linejoin","miter"),U.style.overflow="visible",A.appendChild(U),m.appendChild(A),o.appendChild(m),n.setAttribute(s?"marker-start":"marker-end","url(#".concat(R,")"))}function du(v,o,n,s){s===void 0&&(s=!1);var u=v.border,a=u===void 0?{}:u,l=v.uuid,c=a.headEnd,g=a.width,S=a.color,C=a.tailEnd,k=s?c:C,I=k.len,w=I===void 0?"med":I,P=k.w,_=P===void 0?"med":P,x=Ye(w,g),d=Ye(_,g),m=document.createElementNS(_e,"defs"),A=document.createElementNS(_e,"marker"),R="marker-".concat(l,"-").concat(s?"start":"end");A.setAttribute("id",R),A.setAttribute("viewBox","0 0 ".concat(2*x," ").concat(2*d));var T=s?_==="sm"?1.5*g:2*g:_==="sm"?2*x-1.5*g:2*x-2*g;A.setAttribute("refX",T+"px"),A.setAttribute("refY",d+"px"),A.setAttribute("markerWidth",2*x+"px"),A.setAttribute("markerHeight",2*d+"px"),A.setAttribute("orient","auto"),A.setAttribute("markerUnits","userSpaceOnUse");var U=document.createElementNS(_e,"path"),Z=s?["M 0, ".concat(d),"L ".concat(2*x,",0"),"L ".concat(x,",").concat(d),"L ".concat(2*x,",").concat(2*d),"Z"].join(" "):["M 0,0","L ".concat(2*x,",").concat(d),"L 0,".concat(2*d),"L ".concat(x,",").concat(d),"Z"].join(" ");U.setAttribute("d",Z),U.setAttribute("fill",Ue(S)||"transparent"),U.style.overflow="visible",A.appendChild(U),m.appendChild(A),o.appendChild(m),n.setAttribute(s?"marker-start":"marker-end","url(#".concat(R,")"))}function ei(v,o,n){var s=v.border,u=s===void 0?{}:s;v.extend;var a=u.headEnd,l=u.tailEnd;if(a&&a.type!=="none")switch(a.type){case"triangle":fu(v,o,n,!0);break;case"oval":lu(v,o,n,!0);break;case"diamond":cu(v,o,n,!0);break;case"arrow":hu(v,o,n,!0);break;case"stealth":du(v,o,n,!0)}if(l&&l.type!=="none")switch(l.type){case"triangle":fu(v,o,n,!1);break;case"oval":lu(v,o,n,!1);break;case"diamond":cu(v,o,n,!1);break;case"arrow":hu(v,o,n,!1);break;case"stealth":du(v,o,n,!1)}}var le="http://www.w3.org/2000/svg";function ar(v){var o=v.extend;return .16667*Math.min(o.w,o.h)}function Te(v,o,n){n===void 0&&(n=0);var s=o.extend,u=o.prstGeom,a=(u?.gd||[]).find((function(l){return l.name===v}));return a?Math.min(s.w,s.h)*a.fmla:n}function pu(v,o,n){n===void 0&&(n=0);var s=o.extend,u=o.prstGeom,a=(u?.gd||[]).find((function(l){return l.name===v}));return a?Math.max(s.w,s.h)*a.fmla:n}function gu(v){var o=v.extend,n=document.createElementNS(le,"rect");return n.setAttribute("x","0"),n.setAttribute("y","0"),n.setAttribute("width",o.w+"px"),n.setAttribute("height",o.h+"px"),n}function Au(v){var o=v.extend,n=v.offset,s=v.border,u=v.background,a=v.rotate,l=v.flipH,c=v.flipV,g=document.createElement("div"),S=n.x,C=n.y;g.className="shape-wrapper shape-".concat(v.shape),g.style.setProperty("position","absolute"),g.style.setProperty("width",(o.w||1)+"px"),g.style.setProperty("height",(o.h||1)+"px"),g.style.setProperty("left",S+"px"),g.style.setProperty("top",C+"px");var k,I=document.createElementNS(le,"svg");I.style.setProperty("position","absolute"),I.setAttribute("width","100%"),I.setAttribute("height","100%"),I.style.setProperty("left","0"),I.style.setProperty("top","0"),I.style.overflow="visible";var w={left:0,top:0,bottom:0,w:o.w,h:o.h},P=!0;switch(v.shape){case"flowChartProcess":case"rect":k=gu(v);break;case"snip1Rect":k=(function(d){var m=d.extend,A=document.createElementNS(le,"polygon"),R=Te("adj",d,ar(d)),T=["0,0","".concat(m.w-R,",0"),"".concat(m.w,",").concat(R),"".concat(m.w,",").concat(m.h),"0,".concat(m.h)].join(" ");return A.setAttribute("points",T),A})(v);break;case"snip2SameRect":k=(function(d){var m=d.extend,A=document.createElementNS(le,"polygon"),R=Te("adj1",d,ar(d)),T=Te("adj2",d,0),U=[[R,0],[m.w-R,0],[m.w,R],[m.w,m.h-T],[m.w-T,m.h],[T,m.h],[0,m.h-T],[0,R]].map((function(Z){return"".concat(Z[0],",").concat(Z[1])})).join(" ");return A.setAttribute("points",U),A})(v);break;case"snip2DiagRect":k=(function(d){var m=d.extend,A=document.createElementNS(le,"polygon"),R=Te("adj1",d,0),T=Te("adj2",d,ar(d)),U=[[R,0],[m.w-T,0],[m.w,T],[m.w,m.h-R],[m.w-R,m.h],[T,m.h],[0,m.h-T],[0,R]].map((function(Z){return"".concat(Z[0],",").concat(Z[1])})).join(" ");return A.setAttribute("points",U),A})(v);break;case"snipRoundRect":k=(function(d){var m=d.extend,A=document.createElementNS(le,"path"),R=Te("adj1",d,ar(d)),T=Te("adj2",d,ar(d)),U=["M ".concat(R,",0"),"L ".concat(m.w-T,",0"),"L ".concat(m.w,",").concat(T),"L ".concat(m.w,",").concat(m.h),"L 0,".concat(m.h),"L 0,".concat(R),"Q 0,0 ".concat(R,",0"),"Z"].join(" ");return A.setAttribute("d",U),A})(v);break;case"roundRect":k=(function(d){var m=gu(d),A=Te("adj",d,ar(d));return m.setAttribute("rx",A+"px"),m.setAttribute("ry",A+"px"),m})(v);break;case"round1Rect":k=(function(d){var m=d.extend,A=document.createElementNS(le,"path"),R=Te("adj",d,ar(d)),T=["M 0,0","L ".concat(m.w-R,",0"),"Q ".concat(m.w,",0 ").concat(m.w,",").concat(R),"L ".concat(m.w,",").concat(m.h),"L 0,".concat(m.h),"Z"].join(" ");return A.setAttribute("d",T),A})(v);break;case"round2SameRect":k=(function(d){var m=d.extend,A=document.createElementNS(le,"path"),R=Te("adj1",d,ar(d)),T=Te("adj2",d,0),U=["M ".concat(R,",0"),"L ".concat(m.w-R,",0"),"Q ".concat(m.w,",0 ").concat(m.w,",").concat(R),"L ".concat(m.w,",").concat(m.h-T),"Q ".concat(m.w,",").concat(m.h," ").concat(m.w-T,",").concat(m.h),"L ".concat(T,",").concat(m.h),"Q 0,".concat(m.h," 0,").concat(m.h-T),"L 0,".concat(R),"Q 0,0 ".concat(R,",0"),"Z"].join(" ");return A.setAttribute("d",U),A})(v);break;case"round2DiagRect":k=(function(d){var m=d.extend,A=document.createElementNS(le,"path"),R=Te("adj1",d,ar(d)),T=Te("adj2",d,0),U=["M ".concat(R,",0"),"L ".concat(m.w-T,",0"),"Q ".concat(m.w,",0 ").concat(m.w,",").concat(T),"L ".concat(m.w,",").concat(m.h-R),"Q ".concat(m.w,",").concat(m.h," ").concat(m.w-R,",").concat(m.h),"L ".concat(T,",").concat(m.h),"Q 0,".concat(m.h," 0,").concat(m.h-T),"L 0,".concat(R),"Q 0,0 ".concat(R,",0"),"Z"].join(" ");return A.setAttribute("d",U),A})(v);break;case"triangle":k=(function(d){var m=d.extend,A=document.createElementNS(le,"polygon"),R=["".concat(m.w/2,",0"),"0,".concat(m.h),"".concat(m.w,",").concat(m.h)].join(" ");return A.setAttribute("points",R),A})(v);break;case"rtTriangle":k=(function(d){var m=d.extend,A=document.createElementNS(le,"polygon"),R=["0,".concat(m.h),"0,0","".concat(m.w,",").concat(m.h)].join(" ");return A.setAttribute("points",R),A})(v);break;case"ellipse":k=(function(d){var m=d.extend,A=document.createElementNS(le,"ellipse"),R=m.w/2,T=m.h/2,U=R,Z=T;return A.setAttribute("cx",R+"px"),A.setAttribute("cy",T+"px"),A.setAttribute("rx",U+"px"),A.setAttribute("ry",Z+"px"),A})(v);break;case"line":k=(function(d){var m=d.extend,A=document.createElementNS(le,"path"),R=["M 0,0","L ".concat(m.w,",").concat(m.h)].join(" ");return A.setAttribute("d",R),A})(v),ei(v,I,k),P=!1;break;case"straightConnector1":k=(function(d){var m=d.extend,A=document.createElementNS(le,"path"),R=["M 0,0","L ".concat(m.w,",").concat(m.h)].join(" ");return A.setAttribute("d",R),A})(v),ei(v,I,k),P=!1;break;case"bentConnector3":k=(function(d){var m=d.extend,A=document.createElementNS(le,"path"),R=pu("adj1",d,.5*Math.max(m.w,m.h)),T=["M 0,0","L ".concat(R,",0"),"L ".concat(R,",").concat(m.h),"L ".concat(m.w,",").concat(m.h)].join(" ");return A.setAttribute("d",T),A})(v),ei(v,I,k),P=!1;break;case"curvedConnector3":k=(function(d){var m=d.extend,A=document.createElementNS(le,"path"),R=pu("adj1",d,.5*Math.max(m.w,m.h)),T=["M0,0","Q".concat(R,",0 ").concat(R,",").concat(m.h/2),"T".concat(m.w,",").concat(m.h)].join(" ");return A.setAttribute("d",T),A})(v),ei(v,I,k),P=!1}k&&(P?k.setAttribute("fill",Ue(u)||"transparent"):k.setAttribute("fill","transparent"),s.width?(k.setAttribute("stroke-width",s.width+"px"),k.setAttribute("stroke",Ue(s.color)||"transparent")):k.setAttribute("stroke-width","0"),k.setAttribute("stroke-dasharray",(function(d){return d&&d.type!=="solid"?({sysDot:[1,1],sysDash:[3,1],dash:[4,3],dashDot:[4,3,1,3],lgDash:[8,3],lgDashDot:[8,3,1,3],lgDashDotDot:[8,3,1,3,1,3]}[d.type]||[]).map((function(m){return m*d.width})).join(","):""})(s)),k.setAttribute("stroke-linecap",s.cap&&{sq:"square",rnd:"round",flat:"butt"}[s.cap]||"square"),k.setAttribute("stroke-linejoin",s.lineJoin||"round"),s.lineJoin==="miter"&&k.setAttribute("stroke-miterlimit",s.miterLim+""),I.appendChild(k));var _=[];l&&_.push("scaleX(-1)"),c&&_.push("scaleY(-1)"),I.style.setProperty("transform",_.join(" ")),g.appendChild(I);var x=(function(d,m,A){var R;A===void 0&&(A=!1);var T=d.inheritProps,U=d.props,Z=d.paragraphs;if(!Z||Z.length===0)return null;var J=Oe(Oe({},T),U),H=document.createElement("div");switch(H.className="text-wrapper",H.style.boxSizing="border-box",H.style.position="absolute",H.style.left=m.left+"px",J.vert==="eaVert"?(H.style.writingMode="vertical-rl",H.style.height=m.h+"px"):H.style.width=m.w+"px",J.anchor){case"b":H.style.bottom=m.bottom+"px";break;case"t":H.style.top=m.top+"px";break;case"ctr":H.style.top=m.top+m.h/2+"px",H.style.transform="translateY(-50%)";break;default:A?H.style.top=m.top+"px":(H.style.top=m.top+m.h/2+"px",H.style.transform="translateY(-50%)")}var ot=[J.hasOwnProperty("tIns")?J.tIns+"px":"4px",J.hasOwnProperty("rIns")?J.rIns+"px":"7px",J.hasOwnProperty("bIns")?J.bIns+"px":"4px",J.hasOwnProperty("lIns")?J.lIns+"px":"7px"];H.style.padding=ot.join(" ");for(var gt={},B=0,$=function(yt){var st=Oe(Oe({},yt.inheritProps),yt.props),xt=void 0;if(st.buAutoNum){var nt=st.level?+st.level:0;gt[nt]||(gt[nt]=0),!((R=yt.rows)===null||R===void 0)&&R.length&>[nt]++,Object.keys(gt).forEach((function(bt){+bt>nt&&(gt[bt]=0)})),xt=uu(yt,gt[nt],{isFirst:B===0,isLast:Z.length-1===B,bodyProps:J})}else xt=uu(yt,0,{isFirst:B===0,isLast:Z.length-1===B,bodyProps:J});H.appendChild(xt),B++},p=0,V=Z;p<V.length;p++)$(V[p]);return H})(v.textBody,w,v.isTextBox);return x&&g.appendChild(x),a&&g.style.setProperty("transform","rotate(".concat(a,"deg)")),g}function ku(v){var o=document.createElement("div"),n=v.extend;v.chExtend;var s=v.offset,u=v.chOffset,a=v.flipV,l=v.flipH,c=v.rotate,g=s.x,S=s.y,C=n.w,k=n.h;o.className="group",o.style.position="absolute",o.style.left=g+"px",o.style.top=S+"px",o.style.width=C+"px",o.style.height=k+"px";var I=[];l&&I.push("scaleX(-1)"),a&&I.push("scaleY(-1)"),c&&I.push("rotate(".concat(c,"deg)")),o.style.transformOrigin="center center",o.style.transform=I.join(" ");for(var w=0;w<v.nodes.length;w++){var P=v.nodes[w],_=void 0;P instanceof qr?_=xu(P):P instanceof br?_=Au(P):P instanceof Cs&&(_=ku(P)),_.style.left=parseInt(_.style.left)-u.x+"px",_.style.top=parseInt(_.style.top)-u.y+"px",o.appendChild(_)}return o}var yg=(function(){function v(o,n,s){this.scale=1,this.wrapper=o,this.pptx=n,this.options=s,this._calcScaleAndRenderPort()}return v.prototype._calcScaleAndRenderPort=function(){var o=this.options.viewPort.width/this.pptx.width,n=this.options.viewPort.height/this.pptx.height;if(this.scale=Math.min(o,n),o<n){var s=this.options.viewPort.width,u=this.pptx.height*this.scale;this.renderPort={width:s,height:u,left:0,top:(this.options.viewPort.height-u)/2}}else s=this.pptx.width*this.scale,u=this.options.viewPort.height,this.renderPort={width:s,height:u,left:(this.options.viewPort.width-s)/2,top:0}},v.prototype.renderSlide=function(o){var n=this.pptx.slides[o],s=document.createElement("div");s.classList.add("pptx-preview-slide-wrapper"),s.style.setProperty("width",this.renderPort.width+"px"),s.style.setProperty("height",this.renderPort.height+"px"),s.style.setProperty("position","relative"),s.style.margin="0 auto 10px",s.style.setProperty("background","#fff"),s.style.setProperty("overflow","hidden"),this._renderBackground(n,s),this._renderSlideMaster(n.slideMaster,s),this._renderSlideLayout(n.slideLayout,s),this._renderSlide(n,s),this.wrapper.append(s)},v.prototype._renderSlideMaster=function(o,n){var s=document.createElement("div");s.classList.add("slide-master-wrapper"),s.style.setProperty("position","absolute"),s.style.setProperty("left","0"),s.style.setProperty("top","0"),s.style.setProperty("width","100%"),s.style.setProperty("height","100%");var u=ys([],o.nodes,!0).filter((function(c){return c.userDrawn}));u.sort((function(c,g){return c.order>g.order?1:-1}));for(var a=0;a<u.length;a++){var l=this._renderNode(u[a]);l&&s.append(l)}n.append(s)},v.prototype._renderSlideLayout=function(o,n){var s=document.createElement("div");s.classList.add("slide-layout-wrapper"),s.style.setProperty("position","absolute"),s.style.setProperty("left","0"),s.style.setProperty("top","0"),s.style.setProperty("width","100%"),s.style.setProperty("height","100%");var u=ys([],o.nodes,!0).filter((function(c){return c.userDrawn}));u.sort((function(c,g){return c.order>g.order?1:-1}));for(var a=0;a<u.length;a++){var l=this._renderNode(u[a]);l&&s.append(l)}n.append(s)},v.prototype._renderSlide=function(o,n){var s=document.createElement("div");s.classList.add("slide-wrapper"),s.style.setProperty("position","absolute"),s.style.setProperty("left","0"),s.style.setProperty("top","0"),s.style.setProperty("width",this.pptx.width+"px"),s.style.setProperty("height",this.pptx.height+"px"),s.style.setProperty("transform","scale(".concat(this.scale,")")),s.style.setProperty("transform-origin","0 0");var u=ys([],o.nodes,!0);u.sort((function(c,g){return c.order>g.order?1:-1}));for(var a=0;a<u.length;a++){var l=this._renderNode(u[a]);l&&s.append(l)}n.append(s)},v.prototype._renderNode=function(o){return o instanceof qr?xu(o):o instanceof br?Au(o):o instanceof Cs?ku(o):void 0},v.prototype._renderBackground=function(o,n){var s=document.createElement("div");s.classList.add("slide-background"),s.style.setProperty("position","absolute"),s.style.setProperty("left","0"),s.style.setProperty("top","0"),s.style.setProperty("width","100%"),s.style.setProperty("height","100%");var u=Ue(o.background)||Ue(o.slideLayout.background)||Ue(o.slideMaster.background);u?s.style.setProperty("background",u):s.style.setProperty("background","#fff"),n.append(s)},v})(),bg=(function(){function v(o,n){this.dom=o,this.options=n,this._renderWrapper()}return v.prototype._renderWrapper=function(){var o=document.createElement("div");o.classList.add("pptx-preview-wrapper"),o.style.setProperty("background","#000"),o.style.setProperty("width",this.options.width+"px"),this.options.height&&o.style.setProperty("height",this.options.height+"px"),o.style.setProperty("position","relative"),this.options.height&&o.style.setProperty("overflow-y","auto"),this.dom.append(o),this.wrapper=o},v.prototype.preview=function(o){var n=this;return new Promise((function(s,u){n.wrapper.innerHTML="";var a=new _g;a.load(o).then((function(){console.log("pptx 实例",a),console.log("slide1",a.slides[0]);var l=new yg(n.wrapper,a,{viewPort:{width:n.options.width,height:n.options.height}});console.log("htmlRender",l);for(var c=0;c<a.slides.length;c++)l.renderSlide(c)}))}))},v})();function Ag(v,o){return new bg(v,o)}export{ng as n,Ag as t,xg as v};
|