api-9de750df-1726219372904.js 120 KB

1234567891011
  1. import{H as at,d as Ot,e as Mt,f as tt,w as pt,b8 as xt,d9 as Ct,b9 as Ht,b as Gt,r as Rt,k as Ft,j as It,da as Vt,F as Nt,x as Yt,V as Pt,P as bt,E as Qt,_ as qt,db as Xt}from"./index-1ec0a32d-1726219372904.js";import{T as Kt}from"./index-b48cb97f-1726219372904.js";import{F as Ut}from"./index-d4bfaa45-1726219372904.js";const Ke=B=>at.post("/edu-app/lessonCourseware/page",{data:B}),Je=B=>at.get("/edu-app/lessonCourseware/detail/"+B.id,{params:B}),$e=B=>at.post("/edu-app/lessonCourseware/remove",{requestType:"form",data:B}),tr=B=>at.post("/edu-app/lessonPreTraining/page",{data:B}),er=B=>at.post("/edu-app/lessonPreTraining/delete?ids="+B.ids,{data:B}),rr=B=>at.post("/edu-app/classGroup/page",{data:B}),nr=B=>at.post("/edu-app/lessonTraining/add",{data:B}),ir=B=>at.post("/edu-app/courseSchedule/start",{data:B}),ar=B=>at.post("/edu-app/teacherKnowledgeMaterial/tagUseCourseware",{requestType:"form",data:B}),sr=B=>at.post("/edu-app/courseSchedule/update",{data:B}),or=B=>at.get("/edu-app/musicPracticeRecord/detail/"+B.id,{params:B}),lr=B=>at.post("/edu-app/lessonPreTrainingV2/save",{data:B}),ur=B=>at.get("/edu-app/lessonPreTrainingV2/detail/"+B.id),cr=B=>at.post("/edu-app/teacherChapterLessonCourseware/list",{data:B}),dr=B=>at.post("/edu-app/teacherChapterLessonCourseware/queryOpenCoursewareByPage",{data:B}),hr=B=>at.post("/edu-app/teacherChapterLessonCourseware/addByOpenCourseware",{data:B}),fr=B=>at.post("/edu-app/teacherChapterLessonCourseware/add",{data:B}),pr=B=>at.post("/edu-app/teacherChapterLessonCourseware/remove?id="+B.id,{requestType:"form"}),mr=B=>at.post("/edu-app/teacherChapterLessonCourseware/update",{data:B}),gr=B=>at.get("/edu-app/teacherChapterLessonCourseware/detail/"+B),_r=B=>at.get("/edu-app/material/detail/"+B),vr=()=>at.get("/edu-app/lessonCourseware/teacherCategory"),Jt="_isActive_l39yz_25",$t="_cardDrag_l39yz_38",te="_course_l39yz_44",ee="_showAddBtn_l39yz_48",re="_addBtn_l39yz_52",ne="_cover_l39yz_58",ie="_audioPlayTypeSection_l39yz_76",ae="_audioPlayTypeSmall_l39yz_83",se="_iconType_l39yz_83",oe="_iconPlay_l39yz_93",le="_iconSing_l39yz_101",ue="_footer_l39yz_109",ce="_title_l39yz_114",de="_titleType_l39yz_118",he="_titleContent_l39yz_123",fe="_btnGroup_l39yz_131",pe="_btnItem_l39yz_141",me="_iconCollect_l39yz_144",ge="_isCollect_l39yz_153",_e="_iconDiv_l39yz_156",ve="_iconSelected_l39yz_159",be="_addBtnDisabled_l39yz_181",ye="_offShelfBg_l39yz_192",we="_offShelfTips_l39yz_206",Ae="_offShelfBtn_l39yz_213",q={"card-section-content":"_card-section-content_l39yz_7",isActive:Jt,"card-section":"_card-section_l39yz_7",cardDrag:$t,course:te,showAddBtn:ee,addBtn:re,cover:ne,audioPlayTypeSection:ie,audioPlayTypeSmall:ae,iconType:se,iconPlay:oe,iconSing:le,footer:ue,title:ce,titleType:de,titleContent:he,btnGroup:fe,btnItem:pe,iconCollect:me,isCollect:ge,iconDiv:_e,iconSelected:ve,addBtnDisabled:be,offShelfBg:ye,offShelfTips:we,offShelfBtn:Ae},ke="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAAcCAYAAAByDd+UAAAAAXNSR0IArs4c6QAABKRJREFUSEulVk1oXFUU/k5mEmoktmRh0iipEKiLFKRopxGqTdKkolQaMQklggqCulNX7a4IRbvVVZdCoQtbTVZFERQ6mTQZJxZFai0qWpk0xdoflZjEvPvJuT/v3TdRUuiDwJubd893zne+8yOIHpLyxOcYNWuYIFBigo7EsAACxgAkACMwhvadFNCeEyYB9DtCEia4RqAK4tSll3FGRPSmfSS8DJXZvbKK04lBicGgcUDWkDXO9HdwwAHCAoPeGb1nnbNn1WIzxi6+JFdSQAu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AAANSUhEUgAAAEQAAABECAMAAAAPzWOAAAAAwFBMVEX///8AAAD////9/f3///////////////////8FBQVMTEz19fUJCQkqKio4ODhBQUGSkpLIyMj///////////////////////////////////////////////////////////8dHR0aGhoRERFycnLc3Nzv7+/q6uoWFhYiIiIwMDBHR0dbW1t5eXmDg4ONjY2JiYmtra23t7e+vr67u7vExMTf39/l5eVVVVVpaWlnZ2d3d3enp6fPz8/T09MAAACM0PN4AAAAP3RSTlPMABzMyLSTQwX+7c789PLv39XBwL2mpImAem1pZ1tKMCj4+Prm0s/P+fbz7urk4uDg2tjX19XR0Ovn5+Tb1NN/7vKiAAAC0UlEQVRYw7WY6XrqIBCGp8SYRK3GXatV61brUtfW7rn/uzpAHk06A1aD5/vjw8z4BsiEAeBGK9Zp1at2JZWq2NV6q8P0kRqI6zRsQLIbjnsBpNcsg1LlZu9MSDcNJ5TungFhGEEx7A+I207Bn0q13VMQVoOzVGN6iFOCM1VydJB7uED3asgdXKQ7CpGMpBRAY7loRBjiQAI5vyGslARSYnGIW4NEqrkxSBsSqh1BWCopJMWOkDQkVvoA6aq83/7n0N9ZIGXt/OGn/w0KdQVE2RHLfwqk+sMxwHjYD1tPvkW7EkJ6xDG6DY562O36Uet2BFg9CWlic3EQaDUoAlJTQFy8nj72ZfR8tXx/OPbnfbmaS3b/Ea+77g3QhM+I2IyMtZY50cgtLUkPPST5OaSBbC8icnFobbwg8DaH1kL4XtAfGhyC68ucx02jt/A1GHxFb23KnXNcj26AAdKEx8Vnz7Lic86dE0Bi0EGWvZhG0EpM9R7ZOtASP+hZBT2kgPop1II6ndfTEDqzdajiLBHprYeIzwFnShVI8c/xvLB0DEt4sdGGCjaJ72atg6zF94ONFSDr0QJlJcnmBVmZKGTE47yRmjHyuHNEIRXAyvPAmRoy46480OHYxLYJdLOyFp4N0Imtqgc+eaX214l6uqpQVwTnxDvIYnNWvLcchXNEC6j8gGtmoRSZCasPVC3ogEIfIr6Q/dWPgrB9ABVHMGViyn/kx5FlnJdcZSozuShRjadyZS0ev2252k45lcqOlkekrHyy92zJjj17smfR+PDy6ICakgkLzRZgG5ahjJoBTlQyqMLHB/l8EHYK1Cq7seJFtY2Vvv4WNGqiMoqVHXohwhtmQaceKuhUP2+i7rz9gFZpurWg2q9W+1P+7jU3OebbLfONn/kW9NqbYfNtufkBwfyoYn5oMj++mR8kr3akNT9cmx/zzS8czK8+/ucljPl10D+nrmo4jdGd2gAAAABJRU5ErkJggg==",Ie="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEQAAABECAMAAAAPzWOAAAABXFBMVEX///8AAAD/////////////////////////////////////3+b/////////////////////////////////////pLb/8PP/9/n/usj/09v/+/3/NF3/nbH/p7n/bIr/lqz/rr//5uv/0dr/X4D/lKn/V3j/jaT/boz/QGj/Xn//ssL/iKD/gZz/ydT/o7b/s8L/wc7/QWj/LFf/N1//gZr/THD/aYf/jKT/ZYT/Vnj/WXz/vsv/PGP/TXH/WXr/V3j/fpj/YID/ZYT/UXT/OWH/dJD/cI3/a4n/YoL/XX7/SG3/bov/aYf/Z4X/W3z/Sm//RGr/KVT/Qmj/M1z/MFr/hp7/fJb/dpL/PmX/Nl//g5z/eZT/T3P/QGf/IE3/gJr/co7/Rmz/U3b/JlL/Ik//i6L/VXf/G0n/LVj/GEf/kaf/iKH/JFH/HUv/jaT/epX/K1f/////9/n/t8ZcHWQ1AAAAPHRSTlPMABzIwbSlk2hDBdW9iYB6bVtKMCjn0s7d3M379O/q5d7W1fv6+fj29vHs6Ofh3t3a+/j39vb08PDw7ejaLmX2AAADo0lEQVRYw7WY91MaQRTHvznggAMkAoo1lvTeOy0QCE3RAwHFgthQY9T4/8/k3cJZdu8snPnM8AMM7zNv97a8d7hjihRw+WSH12bzOmSfKyCZ/9NEorj7HOBw9LmVG0hCfjsMsftD15QEnbgEZ/AaEolXiBrpConisuFKbC7lMokk41rIkrnEbcc1sbvNJP24Af3Gkru4EXdFCXP0agE3lpvQz0vc6AH3RYlkRw/YpfMSRUZPyM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AAAC5zwKfAAAAolBMVEX///8AAADDw8P///8KCgrAwMD///////////////////////+9vb0UFBTPz8////+jo6Pj4+P///////////////////////////////////////////////////////////////////////9dXV1tbW20tLTg4OD///8EBAQhISE7OztBQUHR0dH09PT///////9WVlbd3d24uLjf398AAAAW31+oAAAANXRSTlPMANaz/NbBqD4XBwXX+tTJ29C9uLWrnpaOfnVzW1dUQjgzEA/p5tnRd/728e/TziB269HX0Sblvg8AAAKFSURBVFjDrNTXjsIwEIXhs5iNUyD03ptA3FC0fv9X29k1YCCJhyT+byJF8SePIg2+7K2Xs/NAinaj0RZycJ4t18wBGxj6E4lEcuKHhcDVyENG3miVF4zmAtbEPMoBhtMO2DrT8FPQF/go4X8EBkN83DDgwYWHHHkLBozGyNk4soGbPnLX32SDQQ8F6gVZ4KmLQnVP6WBAXkExSAM3PRSut0mCUR8l6kcJcIxSjd/BBUq2eAUDDyXzghdwiNINn0EfXPsWuHwDhgJMO6V2YBLhA5yC6UdR7B2ndzDqgOlbURUwdaIbOIcbEPMbKFyBQoMruAKx+gdH7sDRHxh67kAvJNCHOxA+gROX4IRA6RKUX1jDJUjc0ilI3AzWWu9gC7aIO6Q7+tz1qI7xMxjTi6veZ3ukRNzAtq225NRjA8Z1em4t+4w4mXa/+7a6KC1qUHvqAmCvqLQ7SggkqzwmrGpRg9qrxuaLZAJtG4iaFpuKamqvBgtIXCMbNKJmjZcNNhhQiybyGJAZ2YjGY0YWDGhE41l/iuRAI5LHghIDBjQieSxI3IEFqd/mzF2FYRiGoiFdSkuIoWsLJRgT4weFov//tWpqFsmy4Q45s7jrfSgQ8506BD/TyxZk3LK4qUOQ5d624MAFy21YwU20gEKMawk6YopkAaJJ1cjnuSWY+SBWwaQUG03EZDcruExMkmxUMfpAHQTJ6LUo4snES1FEDUurN/VWMSzpcS6kSCoxBTXO6YGzllmh1Hbg5EgM4XE/QjuEp1ErRrncjOIzyhVdzeDlEV1v0QUcPhGgRwz0zIIegtBTFXpMQ8994EESPZmCR1307AwexrHT/RmeC//3x368P3b7/fEDSTl9kuoIVp8AAAAASUVORK5CYII=",De="_audioContainer_681d4_1",Te="_cover_681d4_6",Re="_imgHover_681d4_24",Fe="_previewAudio_681d4_29",Ne="_previewAudioHover_681d4_58",Pe="_imgAnimated_681d4_63",Et={audioContainer:De,cover:Te,imgHover:Re,previewAudio:Fe,previewAudioHover:Ne,imgAnimated:Pe},Ue=Ot({name:"audio-player",props:{cover:{type:String,default:"https://oss.dayaedu.com/ktqy/1698420034679a22d3f7a.png"},content:{type:String,default:""},previewDisabled:{type:Boolean,default:!0}},setup(B){const ht=Mt({status:!1});return()=>tt("div",{class:[Et.audioContainer,ht.status?Et.imgAnimated:""]},[tt(pt,{class:[Et.cover,ht.status?Et.imgHover:""],lazy:!0,previewDisabled:!0,objectFit:"cover",src:B.cover},null)])}}),Me="_audioContainer_681d4_1",je="_cover_681d4_6",Le="_imgHover_681d4_24",We="_previewAudio_681d4_29",Ze="_previewAudioHover_681d4_58",He="_imgAnimated_681d4_63",zt={audioContainer:Me,cover:je,imgHover:Le,previewAudio:We,previewAudioHover:Ze,imgAnimated:He},Ge=Ot({name:"audio-player",props:{cover:{type:String,default:""},content:{type:String,default:""},previewDisabled:{type:Boolean,default:!0}},setup(B){const ht=Mt({status:!1});return()=>tt("div",{class:[zt.audioContainer,ht.status?zt.imgAnimated:""]},[tt(pt,{class:[zt.cover,ht.status?zt.imgHover:""],lazy:!0,previewDisabled:!0,objectFit:"cover",src:B.cover},null)])}});var jt={exports:{}};/*!
  2. JSZip v3.10.1 - A JavaScript class for generating and reading zip files
  3. <http://stuartk.com/jszip>
  4. (c) 2009-2016 Stuart Knightley <stuart [at] stuartk.com>
  5. Dual licenced under the MIT license or GPLv3. See https://raw.github.com/Stuk/jszip/main/LICENSE.markdown.
  6. JSZip uses the library pako released under the MIT license :
  7. https://github.com/nodeca/pako/blob/main/LICENSE
  8. */(function(B,ht){(function(v){B.exports=v()})(function(){return function v(P,w,c){function l(_,b){if(!w[_]){if(!P[_]){var d=typeof Ct=="function"&&Ct;if(!b&&d)return d(_,!0);if(i)return i(_,!0);var m=new Error("Cannot find module '"+_+"'");throw m.code="MODULE_NOT_FOUND",m}var n=w[_]={exports:{}};P[_][0].call(n.exports,function(f){var r=P[_][1][f];return l(r||f)},n,n.exports,v,P,w,c)}return w[_].exports}for(var i=typeof Ct=="function"&&Ct,u=0;u<c.length;u++)l(c[u]);return l}({1:[function(v,P,w){var c=v("./utils"),l=v("./support"),i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";w.encode=function(u){for(var _,b,d,m,n,f,r,o=[],a=0,p=u.length,y=p,S=c.getTypeOf(u)!=="string";a<u.length;)y=p-a,d=S?(_=u[a++],b=a<p?u[a++]:0,a<p?u[a++]:0):(_=u.charCodeAt(a++),b=a<p?u.charCodeAt(a++):0,a<p?u.charCodeAt(a++):0),m=_>>2,n=(3&_)<<4|b>>4,f=1<y?(15&b)<<2|d>>6:64,r=2<y?63&d:64,o.push(i.charAt(m)+i.charAt(n)+i.charAt(f)+i.charAt(r));return o.join("")},w.decode=function(u){var _,b,d,m,n,f,r=0,o=0,a="data:";if(u.substr(0,a.length)===a)throw new Error("Invalid base64 input, it looks like a data url.");var p,y=3*(u=u.replace(/[^A-Za-z0-9+/=]/g,"")).length/4;if(u.charAt(u.length-1)===i.charAt(64)&&y--,u.charAt(u.length-2)===i.charAt(64)&&y--,y%1!=0)throw new Error("Invalid base64 input, bad content length.");for(p=l.uint8array?new Uint8Array(0|y):new Array(0|y);r<u.length;)_=i.indexOf(u.charAt(r++))<<2|(m=i.indexOf(u.charAt(r++)))>>4,b=(15&m)<<4|(n=i.indexOf(u.charAt(r++)))>>2,d=(3&n)<<6|(f=i.indexOf(u.charAt(r++))),p[o++]=_,n!==64&&(p[o++]=b),f!==64&&(p[o++]=d);return p}},{"./support":30,"./utils":32}],2:[function(v,P,w){var c=v("./external"),l=v("./stream/DataWorker"),i=v("./stream/Crc32Probe"),u=v("./stream/DataLengthProbe");function _(b,d,m,n,f){this.compressedSize=b,this.uncompressedSize=d,this.crc32=m,this.compression=n,this.compressedContent=f}_.prototype={getContentWorker:function(){var b=new l(c.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new u("data_length")),d=this;return b.on("end",function(){if(this.streamInfo.data_length!==d.uncompressedSize)throw new Error("Bug : uncompressed data size mismatch")}),b},getCompressedWorker:function(){return new l(c.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}},_.createWorkerFrom=function(b,d,m){return b.pipe(new i).pipe(new u("uncompressedSize")).pipe(d.compressWorker(m)).pipe(new u("compressedSize")).withStreamInfo("compression",d)},P.exports=_},{"./external":6,"./stream/Crc32Probe":25,"./stream/DataLengthProbe":26,"./stream/DataWorker":27}],3:[function(v,P,w){var c=v("./stream/GenericWorker");w.STORE={magic:"\0\0",compressWorker:function(){return new c("STORE compression")},uncompressWorker:function(){return new c("STORE decompression")}},w.DEFLATE=v("./flate")},{"./flate":7,"./stream/GenericWorker":28}],4:[function(v,P,w){var c=v("./utils"),l=function(){for(var i,u=[],_=0;_<256;_++){i=_;for(var b=0;b<8;b++)i=1&i?3988292384^i>>>1:i>>>1;u[_]=i}return u}();P.exports=function(i,u){return i!==void 0&&i.length?c.getTypeOf(i)!=="string"?function(_,b,d,m){var n=l,f=m+d;_^=-1;for(var r=m;r<f;r++)_=_>>>8^n[255&(_^b[r])];return-1^_}(0|u,i,i.length,0):function(_,b,d,m){var n=l,f=m+d;_^=-1;for(var r=m;r<f;r++)_=_>>>8^n[255&(_^b.charCodeAt(r))];return-1^_}(0|u,i,i.length,0):0}},{"./utils":32}],5:[function(v,P,w){w.base64=!1,w.binary=!1,w.dir=!1,w.createFolders=!0,w.date=null,w.compression=null,w.compressionOptions=null,w.comment=null,w.unixPermissions=null,w.dosPermissions=null},{}],6:[function(v,P,w){var c=null;c=typeof Promise<"u"?Promise:v("lie"),P.exports={Promise:c}},{lie:37}],7:[function(v,P,w){var c=typeof Uint8Array<"u"&&typeof Uint16Array<"u"&&typeof Uint32Array<"u",l=v("pako"),i=v("./utils"),u=v("./stream/GenericWorker"),_=c?"uint8array":"array";function b(d,m){u.call(this,"FlateWorker/"+d),this._pako=null,this._pakoAction=d,this._pakoOptions=m,this.meta={}}w.magic="\b\0",i.inherits(b,u),b.prototype.processChunk=function(d){this.meta=d.meta,this._pako===null&&this._createPako(),this._pako.push(i.transformTo(_,d.data),!1)},b.prototype.flush=function(){u.prototype.flush.call(this),this._pako===null&&this._createPako(),this._pako.push([],!0)},b.prototype.cleanUp=function(){u.prototype.cleanUp.call(this),this._pako=null},b.prototype._createPako=function(){this._pako=new l[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var d=this;this._pako.onData=function(m){d.push({data:m,meta:d.meta})}},w.compressWorker=function(d){return new b("Deflate",d)},w.uncompressWorker=function(){return new b("Inflate",{})}},{"./stream/GenericWorker":28,"./utils":32,pako:38}],8:[function(v,P,w){function c(n,f){var r,o="";for(r=0;r<f;r++)o+=String.fromCharCode(255&n),n>>>=8;return o}function l(n,f,r,o,a,p){var y,S,k=n.file,F=n.compression,O=p!==_.utf8encode,j=i.transformTo("string",p(k.name)),I=i.transformTo("string",_.utf8encode(k.name)),H=k.comment,K=i.transformTo("string",p(H)),g=i.transformTo("string",_.utf8encode(H)),D=I.length!==k.name.length,e=g.length!==H.length,R="",$="",M="",et=k.dir,L=k.date,J={crc32:0,compressedSize:0,uncompressedSize:0};f&&!r||(J.crc32=n.crc32,J.compressedSize=n.compressedSize,J.uncompressedSize=n.uncompressedSize);var E=0;f&&(E|=8),O||!D&&!e||(E|=2048);var C=0,X=0;et&&(C|=16),a==="UNIX"?(X=798,C|=function(G,ot){var dt=G;return G||(dt=ot?16893:33204),(65535&dt)<<16}(k.unixPermissions,et)):(X=20,C|=function(G){return 63&(G||0)}(k.dosPermissions)),y=L.getUTCHours(),y<<=6,y|=L.getUTCMinutes(),y<<=5,y|=L.getUTCSeconds()/2,S=L.getUTCFullYear()-1980,S<<=4,S|=L.getUTCMonth()+1,S<<=5,S|=L.getUTCDate(),D&&($=c(1,1)+c(b(j),4)+I,R+="up"+c($.length,2)+$),e&&(M=c(1,1)+c(b(K),4)+g,R+="uc"+c(M.length,2)+M);var V="";return V+="\n\0",V+=c(E,2),V+=F.magic,V+=c(y,2),V+=c(S,2),V+=c(J.crc32,4),V+=c(J.compressedSize,4),V+=c(J.uncompressedSize,4),V+=c(j.length,2),V+=c(R.length,2),{fileRecord:d.LOCAL_FILE_HEADER+V+j+R,dirRecord:d.CENTRAL_FILE_HEADER+c(X,2)+V+c(K.length,2)+"\0\0\0\0"+c(C,4)+c(o,4)+j+R+K}}var i=v("../utils"),u=v("../stream/GenericWorker"),_=v("../utf8"),b=v("../crc32"),d=v("../signature");function m(n,f,r,o){u.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=f,this.zipPlatform=r,this.encodeFileName=o,this.streamFiles=n,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}i.inherits(m,u),m.prototype.push=function(n){var f=n.meta.percent||0,r=this.entriesCount,o=this._sources.length;this.accumulate?this.contentBuffer.push(n):(this.bytesWritten+=n.data.length,u.prototype.push.call(this,{data:n.data,meta:{currentFile:this.currentFile,percent:r?(f+100*(r-o-1))/r:100}}))},m.prototype.openedSource=function(n){this.currentSourceOffset=this.bytesWritten,this.currentFile=n.file.name;var f=this.streamFiles&&!n.file.dir;if(f){var r=l(n,f,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:r.fileRecord,meta:{percent:0}})}else this.accumulate=!0},m.prototype.closedSource=function(n){this.accumulate=!1;var f=this.streamFiles&&!n.file.dir,r=l(n,f,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(r.dirRecord),f)this.push({data:function(o){return d.DATA_DESCRIPTOR+c(o.crc32,4)+c(o.compressedSize,4)+c(o.uncompressedSize,4)}(n),meta:{percent:100}});else for(this.push({data:r.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},m.prototype.flush=function(){for(var n=this.bytesWritten,f=0;f<this.dirRecords.length;f++)this.push({data:this.dirRecords[f],meta:{percent:100}});var r=this.bytesWritten-n,o=function(a,p,y,S,k){var F=i.transformTo("string",k(S));return d.CENTRAL_DIRECTORY_END+"\0\0\0\0"+c(a,2)+c(a,2)+c(p,4)+c(y,4)+c(F.length,2)+F}(this.dirRecords.length,r,n,this.zipComment,this.encodeFileName);this.push({data:o,meta:{percent:100}})},m.prototype.prepareNextSource=function(){this.previous=this._sources.shift(),this.openedSource(this.previous.streamInfo),this.isPaused?this.previous.pause():this.previous.resume()},m.prototype.registerPrevious=function(n){this._sources.push(n);var f=this;return n.on("data",function(r){f.processChunk(r)}),n.on("end",function(){f.closedSource(f.previous.streamInfo),f._sources.length?f.prepareNextSource():f.end()}),n.on("error",function(r){f.error(r)}),this},m.prototype.resume=function(){return!!u.prototype.resume.call(this)&&(!this.previous&&this._sources.length?(this.prepareNextSource(),!0):this.previous||this._sources.length||this.generatedError?void 0:(this.end(),!0))},m.prototype.error=function(n){var f=this._sources;if(!u.prototype.error.call(this,n))return!1;for(var r=0;r<f.length;r++)try{f[r].error(n)}catch(o){}return!0},m.prototype.lock=function(){u.prototype.lock.call(this);for(var n=this._sources,f=0;f<n.length;f++)n[f].lock()},P.exports=m},{"../crc32":4,"../signature":23,"../stream/GenericWorker":28,"../utf8":31,"../utils":32}],9:[function(v,P,w){var c=v("../compressions"),l=v("./ZipFileWorker");w.generateWorker=function(i,u,_){var b=new l(u.streamFiles,_,u.platform,u.encodeFileName),d=0;try{i.forEach(function(m,n){d++;var f=function(p,y){var S=p||y,k=c[S];if(!k)throw new Error(S+" is not a valid compression method !");return k}(n.options.compression,u.compression),r=n.options.compressionOptions||u.compressionOptions||{},o=n.dir,a=n.date;n._compressWorker(f,r).withStreamInfo("file",{name:m,dir:o,date:a,comment:n.comment||"",unixPermissions:n.unixPermissions,dosPermissions:n.dosPermissions}).pipe(b)}),b.entriesCount=d}catch(m){b.error(m)}return b}},{"../compressions":3,"./ZipFileWorker":8}],10:[function(v,P,w){function c(){if(!(this instanceof c))return new c;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 c;for(var i in this)typeof this[i]!="function"&&(l[i]=this[i]);return l}}(c.prototype=v("./object")).loadAsync=v("./load"),c.support=v("./support"),c.defaults=v("./defaults"),c.version="3.10.1",c.loadAsync=function(l,i){return new c().loadAsync(l,i)},c.external=v("./external"),P.exports=c},{"./defaults":5,"./external":6,"./load":11,"./object":15,"./support":30}],11:[function(v,P,w){var c=v("./utils"),l=v("./external"),i=v("./utf8"),u=v("./zipEntries"),_=v("./stream/Crc32Probe"),b=v("./nodejsUtils");function d(m){return new l.Promise(function(n,f){var r=m.decompressed.getContentWorker().pipe(new _);r.on("error",function(o){f(o)}).on("end",function(){r.streamInfo.crc32!==m.decompressed.crc32?f(new Error("Corrupted zip : CRC32 mismatch")):n()}).resume()})}P.exports=function(m,n){var f=this;return n=c.extend(n||{},{base64:!1,checkCRC32:!1,optimizedBinaryString:!1,createFolders:!1,decodeFileName:i.utf8decode}),b.isNode&&b.isStream(m)?l.Promise.reject(new Error("JSZip can't accept a stream when loading a zip file.")):c.prepareContent("the loaded zip file",m,!0,n.optimizedBinaryString,n.base64).then(function(r){var o=new u(n);return o.load(r),o}).then(function(r){var o=[l.Promise.resolve(r)],a=r.files;if(n.checkCRC32)for(var p=0;p<a.length;p++)o.push(d(a[p]));return l.Promise.all(o)}).then(function(r){for(var o=r.shift(),a=o.files,p=0;p<a.length;p++){var y=a[p],S=y.fileNameStr,k=c.resolve(y.fileNameStr);f.file(k,y.decompressed,{binary:!0,optimizedBinaryString:!0,date:y.date,dir:y.dir,comment:y.fileCommentStr.length?y.fileCommentStr:null,unixPermissions:y.unixPermissions,dosPermissions:y.dosPermissions,createFolders:n.createFolders}),y.dir||(f.file(k).unsafeOriginalName=S)}return o.zipComment.length&&(f.comment=o.zipComment),f})}},{"./external":6,"./nodejsUtils":14,"./stream/Crc32Probe":25,"./utf8":31,"./utils":32,"./zipEntries":33}],12:[function(v,P,w){var c=v("../utils"),l=v("../stream/GenericWorker");function i(u,_){l.call(this,"Nodejs stream input adapter for "+u),this._upstreamEnded=!1,this._bindStream(_)}c.inherits(i,l),i.prototype._bindStream=function(u){var _=this;(this._stream=u).pause(),u.on("data",function(b){_.push({data:b,meta:{percent:0}})}).on("error",function(b){_.isPaused?this.generatedError=b:_.error(b)}).on("end",function(){_.isPaused?_._upstreamEnded=!0:_.end()})},i.prototype.pause=function(){return!!l.prototype.pause.call(this)&&(this._stream.pause(),!0)},i.prototype.resume=function(){return!!l.prototype.resume.call(this)&&(this._upstreamEnded?this.end():this._stream.resume(),!0)},P.exports=i},{"../stream/GenericWorker":28,"../utils":32}],13:[function(v,P,w){var c=v("readable-stream").Readable;function l(i,u,_){c.call(this,u),this._helper=i;var b=this;i.on("data",function(d,m){b.push(d)||b._helper.pause(),_&&_(m)}).on("error",function(d){b.emit("error",d)}).on("end",function(){b.push(null)})}v("../utils").inherits(l,c),l.prototype._read=function(){this._helper.resume()},P.exports=l},{"../utils":32,"readable-stream":16}],14:[function(v,P,w){P.exports={isNode:typeof Buffer<"u",newBufferFrom:function(c,l){if(Buffer.from&&Buffer.from!==Uint8Array.from)return Buffer.from(c,l);if(typeof c=="number")throw new Error('The "data" argument must not be a number');return new Buffer(c,l)},allocBuffer:function(c){if(Buffer.alloc)return Buffer.alloc(c);var l=new Buffer(c);return l.fill(0),l},isBuffer:function(c){return Buffer.isBuffer(c)},isStream:function(c){return c&&typeof c.on=="function"&&typeof c.pause=="function"&&typeof c.resume=="function"}}},{}],15:[function(v,P,w){function c(k,F,O){var j,I=i.getTypeOf(F),H=i.extend(O||{},b);H.date=H.date||new Date,H.compression!==null&&(H.compression=H.compression.toUpperCase()),typeof H.unixPermissions=="string"&&(H.unixPermissions=parseInt(H.unixPermissions,8)),H.unixPermissions&&16384&H.unixPermissions&&(H.dir=!0),H.dosPermissions&&16&H.dosPermissions&&(H.dir=!0),H.dir&&(k=a(k)),H.createFolders&&(j=o(k))&&p.call(this,j,!0);var K=I==="string"&&H.binary===!1&&H.base64===!1;O&&O.binary!==void 0||(H.binary=!K),(F instanceof d&&F.uncompressedSize===0||H.dir||!F||F.length===0)&&(H.base64=!1,H.binary=!0,F="",H.compression="STORE",I="string");var g=null;g=F instanceof d||F instanceof u?F:f.isNode&&f.isStream(F)?new r(k,F):i.prepareContent(k,F,H.binary,H.optimizedBinaryString,H.base64);var D=new m(k,g,H);this.files[k]=D}var l=v("./utf8"),i=v("./utils"),u=v("./stream/GenericWorker"),_=v("./stream/StreamHelper"),b=v("./defaults"),d=v("./compressedObject"),m=v("./zipObject"),n=v("./generate"),f=v("./nodejsUtils"),r=v("./nodejs/NodejsStreamInputAdapter"),o=function(k){k.slice(-1)==="/"&&(k=k.substring(0,k.length-1));var F=k.lastIndexOf("/");return 0<F?k.substring(0,F):""},a=function(k){return k.slice(-1)!=="/"&&(k+="/"),k},p=function(k,F){return F=F!==void 0?F:b.createFolders,k=a(k),this.files[k]||c.call(this,k,null,{dir:!0,createFolders:F}),this.files[k]};function y(k){return Object.prototype.toString.call(k)==="[object RegExp]"}var S={load:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},forEach:function(k){var F,O,j;for(F in this.files)j=this.files[F],(O=F.slice(this.root.length,F.length))&&F.slice(0,this.root.length)===this.root&&k(O,j)},filter:function(k){var F=[];return this.forEach(function(O,j){k(O,j)&&F.push(j)}),F},file:function(k,F,O){if(arguments.length!==1)return k=this.root+k,c.call(this,k,F,O),this;if(y(k)){var j=k;return this.filter(function(H,K){return!K.dir&&j.test(H)})}var I=this.files[this.root+k];return I&&!I.dir?I:null},folder:function(k){if(!k)return this;if(y(k))return this.filter(function(I,H){return H.dir&&k.test(I)});var F=this.root+k,O=p.call(this,F),j=this.clone();return j.root=O.name,j},remove:function(k){k=this.root+k;var F=this.files[k];if(F||(k.slice(-1)!=="/"&&(k+="/"),F=this.files[k]),F&&!F.dir)delete this.files[k];else for(var O=this.filter(function(I,H){return H.name.slice(0,k.length)===k}),j=0;j<O.length;j++)delete this.files[O[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(k){var F,O={};try{if((O=i.extend(k||{},{streamFiles:!1,compression:"STORE",compressionOptions:null,type:"",platform:"DOS",comment:null,mimeType:"application/zip",encodeFileName:l.utf8encode})).type=O.type.toLowerCase(),O.compression=O.compression.toUpperCase(),O.type==="binarystring"&&(O.type="string"),!O.type)throw new Error("No output type specified.");i.checkSupport(O.type),O.platform!=="darwin"&&O.platform!=="freebsd"&&O.platform!=="linux"&&O.platform!=="sunos"||(O.platform="UNIX"),O.platform==="win32"&&(O.platform="DOS");var j=O.comment||this.comment||"";F=n.generateWorker(this,O,j)}catch(I){(F=new u("error")).error(I)}return new _(F,O.type||"string",O.mimeType)},generateAsync:function(k,F){return this.generateInternalStream(k).accumulate(F)},generateNodeStream:function(k,F){return(k=k||{}).type||(k.type="nodebuffer"),this.generateInternalStream(k).toNodejsStream(F)}};P.exports=S},{"./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(v,P,w){P.exports=v("stream")},{stream:void 0}],17:[function(v,P,w){var c=v("./DataReader");function l(i){c.call(this,i);for(var u=0;u<this.data.length;u++)i[u]=255&i[u]}v("../utils").inherits(l,c),l.prototype.byteAt=function(i){return this.data[this.zero+i]},l.prototype.lastIndexOfSignature=function(i){for(var u=i.charCodeAt(0),_=i.charCodeAt(1),b=i.charCodeAt(2),d=i.charCodeAt(3),m=this.length-4;0<=m;--m)if(this.data[m]===u&&this.data[m+1]===_&&this.data[m+2]===b&&this.data[m+3]===d)return m-this.zero;return-1},l.prototype.readAndCheckSignature=function(i){var u=i.charCodeAt(0),_=i.charCodeAt(1),b=i.charCodeAt(2),d=i.charCodeAt(3),m=this.readData(4);return u===m[0]&&_===m[1]&&b===m[2]&&d===m[3]},l.prototype.readData=function(i){if(this.checkOffset(i),i===0)return[];var u=this.data.slice(this.zero+this.index,this.zero+this.index+i);return this.index+=i,u},P.exports=l},{"../utils":32,"./DataReader":18}],18:[function(v,P,w){var c=v("../utils");function l(i){this.data=i,this.length=i.length,this.index=0,this.zero=0}l.prototype={checkOffset:function(i){this.checkIndex(this.index+i)},checkIndex:function(i){if(this.length<this.zero+i||i<0)throw new Error("End of data reached (data length = "+this.length+", asked index = "+i+"). Corrupted zip ?")},setIndex:function(i){this.checkIndex(i),this.index=i},skip:function(i){this.setIndex(this.index+i)},byteAt:function(){},readInt:function(i){var u,_=0;for(this.checkOffset(i),u=this.index+i-1;u>=this.index;u--)_=(_<<8)+this.byteAt(u);return this.index+=i,_},readString:function(i){return c.transformTo("string",this.readData(i))},readData:function(){},lastIndexOfSignature:function(){},readAndCheckSignature:function(){},readDate:function(){var i=this.readInt(4);return new Date(Date.UTC(1980+(i>>25&127),(i>>21&15)-1,i>>16&31,i>>11&31,i>>5&63,(31&i)<<1))}},P.exports=l},{"../utils":32}],19:[function(v,P,w){var c=v("./Uint8ArrayReader");function l(i){c.call(this,i)}v("../utils").inherits(l,c),l.prototype.readData=function(i){this.checkOffset(i);var u=this.data.slice(this.zero+this.index,this.zero+this.index+i);return this.index+=i,u},P.exports=l},{"../utils":32,"./Uint8ArrayReader":21}],20:[function(v,P,w){var c=v("./DataReader");function l(i){c.call(this,i)}v("../utils").inherits(l,c),l.prototype.byteAt=function(i){return this.data.charCodeAt(this.zero+i)},l.prototype.lastIndexOfSignature=function(i){return this.data.lastIndexOf(i)-this.zero},l.prototype.readAndCheckSignature=function(i){return i===this.readData(4)},l.prototype.readData=function(i){this.checkOffset(i);var u=this.data.slice(this.zero+this.index,this.zero+this.index+i);return this.index+=i,u},P.exports=l},{"../utils":32,"./DataReader":18}],21:[function(v,P,w){var c=v("./ArrayReader");function l(i){c.call(this,i)}v("../utils").inherits(l,c),l.prototype.readData=function(i){if(this.checkOffset(i),i===0)return new Uint8Array(0);var u=this.data.subarray(this.zero+this.index,this.zero+this.index+i);return this.index+=i,u},P.exports=l},{"../utils":32,"./ArrayReader":17}],22:[function(v,P,w){var c=v("../utils"),l=v("../support"),i=v("./ArrayReader"),u=v("./StringReader"),_=v("./NodeBufferReader"),b=v("./Uint8ArrayReader");P.exports=function(d){var m=c.getTypeOf(d);return c.checkSupport(m),m!=="string"||l.uint8array?m==="nodebuffer"?new _(d):l.uint8array?new b(c.transformTo("uint8array",d)):new i(c.transformTo("array",d)):new u(d)}},{"../support":30,"../utils":32,"./ArrayReader":17,"./NodeBufferReader":19,"./StringReader":20,"./Uint8ArrayReader":21}],23:[function(v,P,w){w.LOCAL_FILE_HEADER="PK",w.CENTRAL_FILE_HEADER="PK",w.CENTRAL_DIRECTORY_END="PK",w.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK\x07",w.ZIP64_CENTRAL_DIRECTORY_END="PK",w.DATA_DESCRIPTOR="PK\x07\b"},{}],24:[function(v,P,w){var c=v("./GenericWorker"),l=v("../utils");function i(u){c.call(this,"ConvertWorker to "+u),this.destType=u}l.inherits(i,c),i.prototype.processChunk=function(u){this.push({data:l.transformTo(this.destType,u.data),meta:u.meta})},P.exports=i},{"../utils":32,"./GenericWorker":28}],25:[function(v,P,w){var c=v("./GenericWorker"),l=v("../crc32");function i(){c.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}v("../utils").inherits(i,c),i.prototype.processChunk=function(u){this.streamInfo.crc32=l(u.data,this.streamInfo.crc32||0),this.push(u)},P.exports=i},{"../crc32":4,"../utils":32,"./GenericWorker":28}],26:[function(v,P,w){var c=v("../utils"),l=v("./GenericWorker");function i(u){l.call(this,"DataLengthProbe for "+u),this.propName=u,this.withStreamInfo(u,0)}c.inherits(i,l),i.prototype.processChunk=function(u){if(u){var _=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=_+u.data.length}l.prototype.processChunk.call(this,u)},P.exports=i},{"../utils":32,"./GenericWorker":28}],27:[function(v,P,w){var c=v("../utils"),l=v("./GenericWorker");function i(u){l.call(this,"DataWorker");var _=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type="",this._tickScheduled=!1,u.then(function(b){_.dataIsReady=!0,_.data=b,_.max=b&&b.length||0,_.type=c.getTypeOf(b),_.isPaused||_._tickAndRepeat()},function(b){_.error(b)})}c.inherits(i,l),i.prototype.cleanUp=function(){l.prototype.cleanUp.call(this),this.data=null},i.prototype.resume=function(){return!!l.prototype.resume.call(this)&&(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,c.delay(this._tickAndRepeat,[],this)),!0)},i.prototype._tickAndRepeat=function(){this._tickScheduled=!1,this.isPaused||this.isFinished||(this._tick(),this.isFinished||(c.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))},i.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var u=null,_=Math.min(this.max,this.index+16384);if(this.index>=this.max)return this.end();switch(this.type){case"string":u=this.data.substring(this.index,_);break;case"uint8array":u=this.data.subarray(this.index,_);break;case"array":case"nodebuffer":u=this.data.slice(this.index,_)}return this.index=_,this.push({data:u,meta:{percent:this.max?this.index/this.max*100:0}})},P.exports=i},{"../utils":32,"./GenericWorker":28}],28:[function(v,P,w){function c(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}c.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,i){return this._listeners[l].push(i),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function(l,i){if(this._listeners[l])for(var u=0;u<this._listeners[l].length;u++)this._listeners[l][u].call(this,i)},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 i=this;return l.on("data",function(u){i.processChunk(u)}),l.on("end",function(){i.end()}),l.on("error",function(u){i.error(u)}),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,i){return this.extraStreamInfo[l]=i,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}},P.exports=c},{}],29:[function(v,P,w){var c=v("../utils"),l=v("./ConvertWorker"),i=v("./GenericWorker"),u=v("../base64"),_=v("../support"),b=v("../external"),d=null;if(_.nodestream)try{d=v("../nodejs/NodejsStreamOutputAdapter")}catch(f){}function m(f,r){return new b.Promise(function(o,a){var p=[],y=f._internalType,S=f._outputType,k=f._mimeType;f.on("data",function(F,O){p.push(F),r&&r(O)}).on("error",function(F){p=[],a(F)}).on("end",function(){try{var F=function(O,j,I){switch(O){case"blob":return c.newBlob(c.transformTo("arraybuffer",j),I);case"base64":return u.encode(j);default:return c.transformTo(O,j)}}(S,function(O,j){var I,H=0,K=null,g=0;for(I=0;I<j.length;I++)g+=j[I].length;switch(O){case"string":return j.join("");case"array":return Array.prototype.concat.apply([],j);case"uint8array":for(K=new Uint8Array(g),I=0;I<j.length;I++)K.set(j[I],H),H+=j[I].length;return K;case"nodebuffer":return Buffer.concat(j);default:throw new Error("concat : unsupported type '"+O+"'")}}(y,p),k);o(F)}catch(O){a(O)}p=[]}).resume()})}function n(f,r,o){var a=r;switch(r){case"blob":case"arraybuffer":a="uint8array";break;case"base64":a="string"}try{this._internalType=a,this._outputType=r,this._mimeType=o,c.checkSupport(a),this._worker=f.pipe(new l(a)),f.lock()}catch(p){this._worker=new i("error"),this._worker.error(p)}}n.prototype={accumulate:function(f){return m(this,f)},on:function(f,r){var o=this;return f==="data"?this._worker.on(f,function(a){r.call(o,a.data,a.meta)}):this._worker.on(f,function(){c.delay(r,arguments,o)}),this},resume:function(){return c.delay(this._worker.resume,[],this._worker),this},pause:function(){return this._worker.pause(),this},toNodejsStream:function(f){if(c.checkSupport("nodestream"),this._outputType!=="nodebuffer")throw new Error(this._outputType+" is not supported by this method");return new d(this,{objectMode:this._outputType!=="nodebuffer"},f)}},P.exports=n},{"../base64":1,"../external":6,"../nodejs/NodejsStreamOutputAdapter":13,"../support":30,"../utils":32,"./ConvertWorker":24,"./GenericWorker":28}],30:[function(v,P,w){if(w.base64=!0,w.array=!0,w.string=!0,w.arraybuffer=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u",w.nodebuffer=typeof Buffer<"u",w.uint8array=typeof Uint8Array<"u",typeof ArrayBuffer>"u")w.blob=!1;else{var c=new ArrayBuffer(0);try{w.blob=new Blob([c],{type:"application/zip"}).size===0}catch(i){try{var l=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);l.append(c),w.blob=l.getBlob("application/zip").size===0}catch(u){w.blob=!1}}}try{w.nodestream=!!v("readable-stream").Readable}catch(i){w.nodestream=!1}},{"readable-stream":16}],31:[function(v,P,w){for(var c=v("./utils"),l=v("./support"),i=v("./nodejsUtils"),u=v("./stream/GenericWorker"),_=new Array(256),b=0;b<256;b++)_[b]=252<=b?6:248<=b?5:240<=b?4:224<=b?3:192<=b?2:1;_[254]=_[254]=1;function d(){u.call(this,"utf-8 decode"),this.leftOver=null}function m(){u.call(this,"utf-8 encode")}w.utf8encode=function(n){return l.nodebuffer?i.newBufferFrom(n,"utf-8"):function(f){var r,o,a,p,y,S=f.length,k=0;for(p=0;p<S;p++)(64512&(o=f.charCodeAt(p)))==55296&&p+1<S&&(64512&(a=f.charCodeAt(p+1)))==56320&&(o=65536+(o-55296<<10)+(a-56320),p++),k+=o<128?1:o<2048?2:o<65536?3:4;for(r=l.uint8array?new Uint8Array(k):new Array(k),p=y=0;y<k;p++)(64512&(o=f.charCodeAt(p)))==55296&&p+1<S&&(64512&(a=f.charCodeAt(p+1)))==56320&&(o=65536+(o-55296<<10)+(a-56320),p++),o<128?r[y++]=o:(o<2048?r[y++]=192|o>>>6:(o<65536?r[y++]=224|o>>>12:(r[y++]=240|o>>>18,r[y++]=128|o>>>12&63),r[y++]=128|o>>>6&63),r[y++]=128|63&o);return r}(n)},w.utf8decode=function(n){return l.nodebuffer?c.transformTo("nodebuffer",n).toString("utf-8"):function(f){var r,o,a,p,y=f.length,S=new Array(2*y);for(r=o=0;r<y;)if((a=f[r++])<128)S[o++]=a;else if(4<(p=_[a]))S[o++]=65533,r+=p-1;else{for(a&=p===2?31:p===3?15:7;1<p&&r<y;)a=a<<6|63&f[r++],p--;1<p?S[o++]=65533:a<65536?S[o++]=a:(a-=65536,S[o++]=55296|a>>10&1023,S[o++]=56320|1023&a)}return S.length!==o&&(S.subarray?S=S.subarray(0,o):S.length=o),c.applyFromCharCode(S)}(n=c.transformTo(l.uint8array?"uint8array":"array",n))},c.inherits(d,u),d.prototype.processChunk=function(n){var f=c.transformTo(l.uint8array?"uint8array":"array",n.data);if(this.leftOver&&this.leftOver.length){if(l.uint8array){var r=f;(f=new Uint8Array(r.length+this.leftOver.length)).set(this.leftOver,0),f.set(r,this.leftOver.length)}else f=this.leftOver.concat(f);this.leftOver=null}var o=function(p,y){var S;for((y=y||p.length)>p.length&&(y=p.length),S=y-1;0<=S&&(192&p[S])==128;)S--;return S<0||S===0?y:S+_[p[S]]>y?S:y}(f),a=f;o!==f.length&&(l.uint8array?(a=f.subarray(0,o),this.leftOver=f.subarray(o,f.length)):(a=f.slice(0,o),this.leftOver=f.slice(o,f.length))),this.push({data:w.utf8decode(a),meta:n.meta})},d.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:w.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},w.Utf8DecodeWorker=d,c.inherits(m,u),m.prototype.processChunk=function(n){this.push({data:w.utf8encode(n.data),meta:n.meta})},w.Utf8EncodeWorker=m},{"./nodejsUtils":14,"./stream/GenericWorker":28,"./support":30,"./utils":32}],32:[function(v,P,w){var c=v("./support"),l=v("./base64"),i=v("./nodejsUtils"),u=v("./external");function _(r){return r}function b(r,o){for(var a=0;a<r.length;++a)o[a]=255&r.charCodeAt(a);return o}v("setimmediate"),w.newBlob=function(r,o){w.checkSupport("blob");try{return new Blob([r],{type:o})}catch(p){try{var a=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);return a.append(r),a.getBlob(o)}catch(y){throw new Error("Bug : can't construct the Blob.")}}};var d={stringifyByChunk:function(r,o,a){var p=[],y=0,S=r.length;if(S<=a)return String.fromCharCode.apply(null,r);for(;y<S;)o==="array"||o==="nodebuffer"?p.push(String.fromCharCode.apply(null,r.slice(y,Math.min(y+a,S)))):p.push(String.fromCharCode.apply(null,r.subarray(y,Math.min(y+a,S)))),y+=a;return p.join("")},stringifyByChar:function(r){for(var o="",a=0;a<r.length;a++)o+=String.fromCharCode(r[a]);return o},applyCanBeUsed:{uint8array:function(){try{return c.uint8array&&String.fromCharCode.apply(null,new Uint8Array(1)).length===1}catch(r){return!1}}(),nodebuffer:function(){try{return c.nodebuffer&&String.fromCharCode.apply(null,i.allocBuffer(1)).length===1}catch(r){return!1}}()}};function m(r){var o=65536,a=w.getTypeOf(r),p=!0;if(a==="uint8array"?p=d.applyCanBeUsed.uint8array:a==="nodebuffer"&&(p=d.applyCanBeUsed.nodebuffer),p)for(;1<o;)try{return d.stringifyByChunk(r,a,o)}catch(y){o=Math.floor(o/2)}return d.stringifyByChar(r)}function n(r,o){for(var a=0;a<r.length;a++)o[a]=r[a];return o}w.applyFromCharCode=m;var f={};f.string={string:_,array:function(r){return b(r,new Array(r.length))},arraybuffer:function(r){return f.string.uint8array(r).buffer},uint8array:function(r){return b(r,new Uint8Array(r.length))},nodebuffer:function(r){return b(r,i.allocBuffer(r.length))}},f.array={string:m,array:_,arraybuffer:function(r){return new Uint8Array(r).buffer},uint8array:function(r){return new Uint8Array(r)},nodebuffer:function(r){return i.newBufferFrom(r)}},f.arraybuffer={string:function(r){return m(new Uint8Array(r))},array:function(r){return n(new Uint8Array(r),new Array(r.byteLength))},arraybuffer:_,uint8array:function(r){return new Uint8Array(r)},nodebuffer:function(r){return i.newBufferFrom(new Uint8Array(r))}},f.uint8array={string:m,array:function(r){return n(r,new Array(r.length))},arraybuffer:function(r){return r.buffer},uint8array:_,nodebuffer:function(r){return i.newBufferFrom(r)}},f.nodebuffer={string:m,array:function(r){return n(r,new Array(r.length))},arraybuffer:function(r){return f.nodebuffer.uint8array(r).buffer},uint8array:function(r){return n(r,new Uint8Array(r.length))},nodebuffer:_},w.transformTo=function(r,o){if(o=o||"",!r)return o;w.checkSupport(r);var a=w.getTypeOf(o);return f[a][r](o)},w.resolve=function(r){for(var o=r.split("/"),a=[],p=0;p<o.length;p++){var y=o[p];y==="."||y===""&&p!==0&&p!==o.length-1||(y===".."?a.pop():a.push(y))}return a.join("/")},w.getTypeOf=function(r){return typeof r=="string"?"string":Object.prototype.toString.call(r)==="[object Array]"?"array":c.nodebuffer&&i.isBuffer(r)?"nodebuffer":c.uint8array&&r instanceof Uint8Array?"uint8array":c.arraybuffer&&r instanceof ArrayBuffer?"arraybuffer":void 0},w.checkSupport=function(r){if(!c[r.toLowerCase()])throw new Error(r+" is not supported by this platform")},w.MAX_VALUE_16BITS=65535,w.MAX_VALUE_32BITS=-1,w.pretty=function(r){var o,a,p="";for(a=0;a<(r||"").length;a++)p+="\\x"+((o=r.charCodeAt(a))<16?"0":"")+o.toString(16).toUpperCase();return p},w.delay=function(r,o,a){setImmediate(function(){r.apply(a||null,o||[])})},w.inherits=function(r,o){function a(){}a.prototype=o.prototype,r.prototype=new a},w.extend=function(){var r,o,a={};for(r=0;r<arguments.length;r++)for(o in arguments[r])Object.prototype.hasOwnProperty.call(arguments[r],o)&&a[o]===void 0&&(a[o]=arguments[r][o]);return a},w.prepareContent=function(r,o,a,p,y){return u.Promise.resolve(o).then(function(S){return c.blob&&(S instanceof Blob||["[object File]","[object Blob]"].indexOf(Object.prototype.toString.call(S))!==-1)&&typeof FileReader<"u"?new u.Promise(function(k,F){var O=new FileReader;O.onload=function(j){k(j.target.result)},O.onerror=function(j){F(j.target.error)},O.readAsArrayBuffer(S)}):S}).then(function(S){var k=w.getTypeOf(S);return k?(k==="arraybuffer"?S=w.transformTo("uint8array",S):k==="string"&&(y?S=l.decode(S):a&&p!==!0&&(S=function(F){return b(F,c.uint8array?new Uint8Array(F.length):new Array(F.length))}(S))),S):u.Promise.reject(new Error("Can't read the data of '"+r+"'. Is it in a supported JavaScript type (String, Blob, ArrayBuffer, etc) ?"))})}},{"./base64":1,"./external":6,"./nodejsUtils":14,"./support":30,setimmediate:54}],33:[function(v,P,w){var c=v("./reader/readerFor"),l=v("./utils"),i=v("./signature"),u=v("./zipEntry"),_=v("./support");function b(d){this.files=[],this.loadOptions=d}b.prototype={checkSignature:function(d){if(!this.reader.readAndCheckSignature(d)){this.reader.index-=4;var m=this.reader.readString(4);throw new Error("Corrupted zip or bug: unexpected signature ("+l.pretty(m)+", expected "+l.pretty(d)+")")}},isSignature:function(d,m){var n=this.reader.index;this.reader.setIndex(d);var f=this.reader.readString(4)===m;return this.reader.setIndex(n),f},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 d=this.reader.readData(this.zipCommentLength),m=_.uint8array?"uint8array":"array",n=l.transformTo(m,d);this.zipComment=this.loadOptions.decodeFileName(n)},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 d,m,n,f=this.zip64EndOfCentralSize-44;0<f;)d=this.reader.readInt(2),m=this.reader.readInt(4),n=this.reader.readData(m),this.zip64ExtensibleData[d]={id:d,length:m,value:n}},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 d,m;for(d=0;d<this.files.length;d++)m=this.files[d],this.reader.setIndex(m.localHeaderOffset),this.checkSignature(i.LOCAL_FILE_HEADER),m.readLocalPart(this.reader),m.handleUTF8(),m.processAttributes()},readCentralDir:function(){var d;for(this.reader.setIndex(this.centralDirOffset);this.reader.readAndCheckSignature(i.CENTRAL_FILE_HEADER);)(d=new u({zip64:this.zip64},this.loadOptions)).readCentralPart(this.reader),this.files.push(d);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 d=this.reader.lastIndexOfSignature(i.CENTRAL_DIRECTORY_END);if(d<0)throw this.isSignature(0,i.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(d);var m=d;if(this.checkSignature(i.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,(d=this.reader.lastIndexOfSignature(i.ZIP64_CENTRAL_DIRECTORY_LOCATOR))<0)throw new Error("Corrupted zip: can't find the ZIP64 end of central directory locator");if(this.reader.setIndex(d),this.checkSignature(i.ZIP64_CENTRAL_DIRECTORY_LOCATOR),this.readBlockZip64EndOfCentralLocator(),!this.isSignature(this.relativeOffsetEndOfZip64CentralDir,i.ZIP64_CENTRAL_DIRECTORY_END)&&(this.relativeOffsetEndOfZip64CentralDir=this.reader.lastIndexOfSignature(i.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(i.ZIP64_CENTRAL_DIRECTORY_END),this.readBlockZip64EndOfCentral()}var n=this.centralDirOffset+this.centralDirSize;this.zip64&&(n+=20,n+=12+this.zip64EndOfCentralSize);var f=m-n;if(0<f)this.isSignature(m,i.CENTRAL_FILE_HEADER)||(this.reader.zero=f);else if(f<0)throw new Error("Corrupted zip: missing "+Math.abs(f)+" bytes.")},prepareReader:function(d){this.reader=c(d)},load:function(d){this.prepareReader(d),this.readEndOfCentral(),this.readCentralDir(),this.readLocalFiles()}},P.exports=b},{"./reader/readerFor":22,"./signature":23,"./support":30,"./utils":32,"./zipEntry":34}],34:[function(v,P,w){var c=v("./reader/readerFor"),l=v("./utils"),i=v("./compressedObject"),u=v("./crc32"),_=v("./utf8"),b=v("./compressions"),d=v("./support");function m(n,f){this.options=n,this.loadOptions=f}m.prototype={isEncrypted:function(){return(1&this.bitFlag)==1},useUTF8:function(){return(2048&this.bitFlag)==2048},readLocalPart:function(n){var f,r;if(n.skip(22),this.fileNameLength=n.readInt(2),r=n.readInt(2),this.fileName=n.readData(this.fileNameLength),n.skip(r),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((f=function(o){for(var a in b)if(Object.prototype.hasOwnProperty.call(b,a)&&b[a].magic===o)return b[a];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 i(this.compressedSize,this.uncompressedSize,this.crc32,f,n.readData(this.compressedSize))},readCentralPart:function(n){this.versionMadeBy=n.readInt(2),n.skip(2),this.bitFlag=n.readInt(2),this.compressionMethod=n.readString(2),this.date=n.readDate(),this.crc32=n.readInt(4),this.compressedSize=n.readInt(4),this.uncompressedSize=n.readInt(4);var f=n.readInt(2);if(this.extraFieldsLength=n.readInt(2),this.fileCommentLength=n.readInt(2),this.diskNumberStart=n.readInt(2),this.internalFileAttributes=n.readInt(2),this.externalFileAttributes=n.readInt(4),this.localHeaderOffset=n.readInt(4),this.isEncrypted())throw new Error("Encrypted zip are not supported");n.skip(f),this.readExtraFields(n),this.parseZIP64ExtraField(n),this.fileComment=n.readData(this.fileCommentLength)},processAttributes:function(){this.unixPermissions=null,this.dosPermissions=null;var n=this.versionMadeBy>>8;this.dir=!!(16&this.externalFileAttributes),n==0&&(this.dosPermissions=63&this.externalFileAttributes),n==3&&(this.unixPermissions=this.externalFileAttributes>>16&65535),this.dir||this.fileNameStr.slice(-1)!=="/"||(this.dir=!0)},parseZIP64ExtraField:function(){if(this.extraFields[1]){var n=c(this.extraFields[1].value);this.uncompressedSize===l.MAX_VALUE_32BITS&&(this.uncompressedSize=n.readInt(8)),this.compressedSize===l.MAX_VALUE_32BITS&&(this.compressedSize=n.readInt(8)),this.localHeaderOffset===l.MAX_VALUE_32BITS&&(this.localHeaderOffset=n.readInt(8)),this.diskNumberStart===l.MAX_VALUE_32BITS&&(this.diskNumberStart=n.readInt(4))}},readExtraFields:function(n){var f,r,o,a=n.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});n.index+4<a;)f=n.readInt(2),r=n.readInt(2),o=n.readData(r),this.extraFields[f]={id:f,length:r,value:o};n.setIndex(a)},handleUTF8:function(){var n=d.uint8array?"uint8array":"array";if(this.useUTF8())this.fileNameStr=_.utf8decode(this.fileName),this.fileCommentStr=_.utf8decode(this.fileComment);else{var f=this.findExtraFieldUnicodePath();if(f!==null)this.fileNameStr=f;else{var r=l.transformTo(n,this.fileName);this.fileNameStr=this.loadOptions.decodeFileName(r)}var o=this.findExtraFieldUnicodeComment();if(o!==null)this.fileCommentStr=o;else{var a=l.transformTo(n,this.fileComment);this.fileCommentStr=this.loadOptions.decodeFileName(a)}}},findExtraFieldUnicodePath:function(){var n=this.extraFields[28789];if(n){var f=c(n.value);return f.readInt(1)!==1||u(this.fileName)!==f.readInt(4)?null:_.utf8decode(f.readData(n.length-5))}return null},findExtraFieldUnicodeComment:function(){var n=this.extraFields[25461];if(n){var f=c(n.value);return f.readInt(1)!==1||u(this.fileComment)!==f.readInt(4)?null:_.utf8decode(f.readData(n.length-5))}return null}},P.exports=m},{"./compressedObject":2,"./compressions":3,"./crc32":4,"./reader/readerFor":22,"./support":30,"./utf8":31,"./utils":32}],35:[function(v,P,w){function c(f,r,o){this.name=f,this.dir=o.dir,this.date=o.date,this.comment=o.comment,this.unixPermissions=o.unixPermissions,this.dosPermissions=o.dosPermissions,this._data=r,this._dataBinary=o.binary,this.options={compression:o.compression,compressionOptions:o.compressionOptions}}var l=v("./stream/StreamHelper"),i=v("./stream/DataWorker"),u=v("./utf8"),_=v("./compressedObject"),b=v("./stream/GenericWorker");c.prototype={internalStream:function(f){var r=null,o="string";try{if(!f)throw new Error("No output type specified.");var a=(o=f.toLowerCase())==="string"||o==="text";o!=="binarystring"&&o!=="text"||(o="string"),r=this._decompressWorker();var p=!this._dataBinary;p&&!a&&(r=r.pipe(new u.Utf8EncodeWorker)),!p&&a&&(r=r.pipe(new u.Utf8DecodeWorker))}catch(y){(r=new b("error")).error(y)}return new l(r,o,"")},async:function(f,r){return this.internalStream(f).accumulate(r)},nodeStream:function(f,r){return this.internalStream(f||"nodebuffer").toNodejsStream(r)},_compressWorker:function(f,r){if(this._data instanceof _&&this._data.compression.magic===f.magic)return this._data.getCompressedWorker();var o=this._decompressWorker();return this._dataBinary||(o=o.pipe(new u.Utf8EncodeWorker)),_.createWorkerFrom(o,f,r)},_decompressWorker:function(){return this._data instanceof _?this._data.getContentWorker():this._data instanceof b?this._data:new i(this._data)}};for(var d=["asText","asBinary","asNodeBuffer","asUint8Array","asArrayBuffer"],m=function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},n=0;n<d.length;n++)c.prototype[d[n]]=m;P.exports=c},{"./compressedObject":2,"./stream/DataWorker":27,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31}],36:[function(v,P,w){(function(c){var l,i,u=c.MutationObserver||c.WebKitMutationObserver;if(u){var _=0,b=new u(f),d=c.document.createTextNode("");b.observe(d,{characterData:!0}),l=function(){d.data=_=++_%2}}else if(c.setImmediate||c.MessageChannel===void 0)l="document"in c&&"onreadystatechange"in c.document.createElement("script")?function(){var r=c.document.createElement("script");r.onreadystatechange=function(){f(),r.onreadystatechange=null,r.parentNode.removeChild(r),r=null},c.document.documentElement.appendChild(r)}:function(){setTimeout(f,0)};else{var m=new c.MessageChannel;m.port1.onmessage=f,l=function(){m.port2.postMessage(0)}}var n=[];function f(){var r,o;i=!0;for(var a=n.length;a;){for(o=n,n=[],r=-1;++r<a;)o[r]();a=n.length}i=!1}P.exports=function(r){n.push(r)!==1||i||l()}}).call(this,typeof xt<"u"?xt:typeof self<"u"?self:typeof window<"u"?window:{})},{}],37:[function(v,P,w){var c=v("immediate");function l(){}var i={},u=["REJECTED"],_=["FULFILLED"],b=["PENDING"];function d(a){if(typeof a!="function")throw new TypeError("resolver must be a function");this.state=b,this.queue=[],this.outcome=void 0,a!==l&&r(this,a)}function m(a,p,y){this.promise=a,typeof p=="function"&&(this.onFulfilled=p,this.callFulfilled=this.otherCallFulfilled),typeof y=="function"&&(this.onRejected=y,this.callRejected=this.otherCallRejected)}function n(a,p,y){c(function(){var S;try{S=p(y)}catch(k){return i.reject(a,k)}S===a?i.reject(a,new TypeError("Cannot resolve promise with itself")):i.resolve(a,S)})}function f(a){var p=a&&a.then;if(a&&(typeof a=="object"||typeof a=="function")&&typeof p=="function")return function(){p.apply(a,arguments)}}function r(a,p){var y=!1;function S(O){y||(y=!0,i.reject(a,O))}function k(O){y||(y=!0,i.resolve(a,O))}var F=o(function(){p(k,S)});F.status==="error"&&S(F.value)}function o(a,p){var y={};try{y.value=a(p),y.status="success"}catch(S){y.status="error",y.value=S}return y}(P.exports=d).prototype.finally=function(a){if(typeof a!="function")return this;var p=this.constructor;return this.then(function(y){return p.resolve(a()).then(function(){return y})},function(y){return p.resolve(a()).then(function(){throw y})})},d.prototype.catch=function(a){return this.then(null,a)},d.prototype.then=function(a,p){if(typeof a!="function"&&this.state===_||typeof p!="function"&&this.state===u)return this;var y=new this.constructor(l);return this.state!==b?n(y,this.state===_?a:p,this.outcome):this.queue.push(new m(y,a,p)),y},m.prototype.callFulfilled=function(a){i.resolve(this.promise,a)},m.prototype.otherCallFulfilled=function(a){n(this.promise,this.onFulfilled,a)},m.prototype.callRejected=function(a){i.reject(this.promise,a)},m.prototype.otherCallRejected=function(a){n(this.promise,this.onRejected,a)},i.resolve=function(a,p){var y=o(f,p);if(y.status==="error")return i.reject(a,y.value);var S=y.value;if(S)r(a,S);else{a.state=_,a.outcome=p;for(var k=-1,F=a.queue.length;++k<F;)a.queue[k].callFulfilled(p)}return a},i.reject=function(a,p){a.state=u,a.outcome=p;for(var y=-1,S=a.queue.length;++y<S;)a.queue[y].callRejected(p);return a},d.resolve=function(a){return a instanceof this?a:i.resolve(new this(l),a)},d.reject=function(a){var p=new this(l);return i.reject(p,a)},d.all=function(a){var p=this;if(Object.prototype.toString.call(a)!=="[object Array]")return this.reject(new TypeError("must be an array"));var y=a.length,S=!1;if(!y)return this.resolve([]);for(var k=new Array(y),F=0,O=-1,j=new this(l);++O<y;)I(a[O],O);return j;function I(H,K){p.resolve(H).then(function(g){k[K]=g,++F!==y||S||(S=!0,i.resolve(j,k))},function(g){S||(S=!0,i.reject(j,g))})}},d.race=function(a){var p=this;if(Object.prototype.toString.call(a)!=="[object Array]")return this.reject(new TypeError("must be an array"));var y=a.length,S=!1;if(!y)return this.resolve([]);for(var k=-1,F=new this(l);++k<y;)O=a[k],p.resolve(O).then(function(j){S||(S=!0,i.resolve(F,j))},function(j){S||(S=!0,i.reject(F,j))});var O;return F}},{immediate:36}],38:[function(v,P,w){var c={};(0,v("./lib/utils/common").assign)(c,v("./lib/deflate"),v("./lib/inflate"),v("./lib/zlib/constants")),P.exports=c},{"./lib/deflate":39,"./lib/inflate":40,"./lib/utils/common":41,"./lib/zlib/constants":44}],39:[function(v,P,w){var c=v("./zlib/deflate"),l=v("./utils/common"),i=v("./utils/strings"),u=v("./zlib/messages"),_=v("./zlib/zstream"),b=Object.prototype.toString,d=0,m=-1,n=0,f=8;function r(a){if(!(this instanceof r))return new r(a);this.options=l.assign({level:m,method:f,chunkSize:16384,windowBits:15,memLevel:8,strategy:n,to:""},a||{});var p=this.options;p.raw&&0<p.windowBits?p.windowBits=-p.windowBits:p.gzip&&0<p.windowBits&&p.windowBits<16&&(p.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new _,this.strm.avail_out=0;var y=c.deflateInit2(this.strm,p.level,p.method,p.windowBits,p.memLevel,p.strategy);if(y!==d)throw new Error(u[y]);if(p.header&&c.deflateSetHeader(this.strm,p.header),p.dictionary){var S;if(S=typeof p.dictionary=="string"?i.string2buf(p.dictionary):b.call(p.dictionary)==="[object ArrayBuffer]"?new Uint8Array(p.dictionary):p.dictionary,(y=c.deflateSetDictionary(this.strm,S))!==d)throw new Error(u[y]);this._dict_set=!0}}function o(a,p){var y=new r(p);if(y.push(a,!0),y.err)throw y.msg||u[y.err];return y.result}r.prototype.push=function(a,p){var y,S,k=this.strm,F=this.options.chunkSize;if(this.ended)return!1;S=p===~~p?p:p===!0?4:0,typeof a=="string"?k.input=i.string2buf(a):b.call(a)==="[object ArrayBuffer]"?k.input=new Uint8Array(a):k.input=a,k.next_in=0,k.avail_in=k.input.length;do{if(k.avail_out===0&&(k.output=new l.Buf8(F),k.next_out=0,k.avail_out=F),(y=c.deflate(k,S))!==1&&y!==d)return this.onEnd(y),!(this.ended=!0);k.avail_out!==0&&(k.avail_in!==0||S!==4&&S!==2)||(this.options.to==="string"?this.onData(i.buf2binstring(l.shrinkBuf(k.output,k.next_out))):this.onData(l.shrinkBuf(k.output,k.next_out)))}while((0<k.avail_in||k.avail_out===0)&&y!==1);return S===4?(y=c.deflateEnd(this.strm),this.onEnd(y),this.ended=!0,y===d):S!==2||(this.onEnd(d),!(k.avail_out=0))},r.prototype.onData=function(a){this.chunks.push(a)},r.prototype.onEnd=function(a){a===d&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=l.flattenChunks(this.chunks)),this.chunks=[],this.err=a,this.msg=this.strm.msg},w.Deflate=r,w.deflate=o,w.deflateRaw=function(a,p){return(p=p||{}).raw=!0,o(a,p)},w.gzip=function(a,p){return(p=p||{}).gzip=!0,o(a,p)}},{"./utils/common":41,"./utils/strings":42,"./zlib/deflate":46,"./zlib/messages":51,"./zlib/zstream":53}],40:[function(v,P,w){var c=v("./zlib/inflate"),l=v("./utils/common"),i=v("./utils/strings"),u=v("./zlib/constants"),_=v("./zlib/messages"),b=v("./zlib/zstream"),d=v("./zlib/gzheader"),m=Object.prototype.toString;function n(r){if(!(this instanceof n))return new n(r);this.options=l.assign({chunkSize:16384,windowBits:0,to:""},r||{});var o=this.options;o.raw&&0<=o.windowBits&&o.windowBits<16&&(o.windowBits=-o.windowBits,o.windowBits===0&&(o.windowBits=-15)),!(0<=o.windowBits&&o.windowBits<16)||r&&r.windowBits||(o.windowBits+=32),15<o.windowBits&&o.windowBits<48&&!(15&o.windowBits)&&(o.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new b,this.strm.avail_out=0;var a=c.inflateInit2(this.strm,o.windowBits);if(a!==u.Z_OK)throw new Error(_[a]);this.header=new d,c.inflateGetHeader(this.strm,this.header)}function f(r,o){var a=new n(o);if(a.push(r,!0),a.err)throw a.msg||_[a.err];return a.result}n.prototype.push=function(r,o){var a,p,y,S,k,F,O=this.strm,j=this.options.chunkSize,I=this.options.dictionary,H=!1;if(this.ended)return!1;p=o===~~o?o:o===!0?u.Z_FINISH:u.Z_NO_FLUSH,typeof r=="string"?O.input=i.binstring2buf(r):m.call(r)==="[object ArrayBuffer]"?O.input=new Uint8Array(r):O.input=r,O.next_in=0,O.avail_in=O.input.length;do{if(O.avail_out===0&&(O.output=new l.Buf8(j),O.next_out=0,O.avail_out=j),(a=c.inflate(O,u.Z_NO_FLUSH))===u.Z_NEED_DICT&&I&&(F=typeof I=="string"?i.string2buf(I):m.call(I)==="[object ArrayBuffer]"?new Uint8Array(I):I,a=c.inflateSetDictionary(this.strm,F)),a===u.Z_BUF_ERROR&&H===!0&&(a=u.Z_OK,H=!1),a!==u.Z_STREAM_END&&a!==u.Z_OK)return this.onEnd(a),!(this.ended=!0);O.next_out&&(O.avail_out!==0&&a!==u.Z_STREAM_END&&(O.avail_in!==0||p!==u.Z_FINISH&&p!==u.Z_SYNC_FLUSH)||(this.options.to==="string"?(y=i.utf8border(O.output,O.next_out),S=O.next_out-y,k=i.buf2string(O.output,y),O.next_out=S,O.avail_out=j-S,S&&l.arraySet(O.output,O.output,y,S,0),this.onData(k)):this.onData(l.shrinkBuf(O.output,O.next_out)))),O.avail_in===0&&O.avail_out===0&&(H=!0)}while((0<O.avail_in||O.avail_out===0)&&a!==u.Z_STREAM_END);return a===u.Z_STREAM_END&&(p=u.Z_FINISH),p===u.Z_FINISH?(a=c.inflateEnd(this.strm),this.onEnd(a),this.ended=!0,a===u.Z_OK):p!==u.Z_SYNC_FLUSH||(this.onEnd(u.Z_OK),!(O.avail_out=0))},n.prototype.onData=function(r){this.chunks.push(r)},n.prototype.onEnd=function(r){r===u.Z_OK&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=l.flattenChunks(this.chunks)),this.chunks=[],this.err=r,this.msg=this.strm.msg},w.Inflate=n,w.inflate=f,w.inflateRaw=function(r,o){return(o=o||{}).raw=!0,f(r,o)},w.ungzip=f},{"./utils/common":41,"./utils/strings":42,"./zlib/constants":44,"./zlib/gzheader":47,"./zlib/inflate":49,"./zlib/messages":51,"./zlib/zstream":53}],41:[function(v,P,w){var c=typeof Uint8Array<"u"&&typeof Uint16Array<"u"&&typeof Int32Array<"u";w.assign=function(u){for(var _=Array.prototype.slice.call(arguments,1);_.length;){var b=_.shift();if(b){if(typeof b!="object")throw new TypeError(b+"must be non-object");for(var d in b)b.hasOwnProperty(d)&&(u[d]=b[d])}}return u},w.shrinkBuf=function(u,_){return u.length===_?u:u.subarray?u.subarray(0,_):(u.length=_,u)};var l={arraySet:function(u,_,b,d,m){if(_.subarray&&u.subarray)u.set(_.subarray(b,b+d),m);else for(var n=0;n<d;n++)u[m+n]=_[b+n]},flattenChunks:function(u){var _,b,d,m,n,f;for(_=d=0,b=u.length;_<b;_++)d+=u[_].length;for(f=new Uint8Array(d),_=m=0,b=u.length;_<b;_++)n=u[_],f.set(n,m),m+=n.length;return f}},i={arraySet:function(u,_,b,d,m){for(var n=0;n<d;n++)u[m+n]=_[b+n]},flattenChunks:function(u){return[].concat.apply([],u)}};w.setTyped=function(u){u?(w.Buf8=Uint8Array,w.Buf16=Uint16Array,w.Buf32=Int32Array,w.assign(w,l)):(w.Buf8=Array,w.Buf16=Array,w.Buf32=Array,w.assign(w,i))},w.setTyped(c)},{}],42:[function(v,P,w){var c=v("./common"),l=!0,i=!0;try{String.fromCharCode.apply(null,[0])}catch(d){l=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(d){i=!1}for(var u=new c.Buf8(256),_=0;_<256;_++)u[_]=252<=_?6:248<=_?5:240<=_?4:224<=_?3:192<=_?2:1;function b(d,m){if(m<65537&&(d.subarray&&i||!d.subarray&&l))return String.fromCharCode.apply(null,c.shrinkBuf(d,m));for(var n="",f=0;f<m;f++)n+=String.fromCharCode(d[f]);return n}u[254]=u[254]=1,w.string2buf=function(d){var m,n,f,r,o,a=d.length,p=0;for(r=0;r<a;r++)(64512&(n=d.charCodeAt(r)))==55296&&r+1<a&&(64512&(f=d.charCodeAt(r+1)))==56320&&(n=65536+(n-55296<<10)+(f-56320),r++),p+=n<128?1:n<2048?2:n<65536?3:4;for(m=new c.Buf8(p),r=o=0;o<p;r++)(64512&(n=d.charCodeAt(r)))==55296&&r+1<a&&(64512&(f=d.charCodeAt(r+1)))==56320&&(n=65536+(n-55296<<10)+(f-56320),r++),n<128?m[o++]=n:(n<2048?m[o++]=192|n>>>6:(n<65536?m[o++]=224|n>>>12:(m[o++]=240|n>>>18,m[o++]=128|n>>>12&63),m[o++]=128|n>>>6&63),m[o++]=128|63&n);return m},w.buf2binstring=function(d){return b(d,d.length)},w.binstring2buf=function(d){for(var m=new c.Buf8(d.length),n=0,f=m.length;n<f;n++)m[n]=d.charCodeAt(n);return m},w.buf2string=function(d,m){var n,f,r,o,a=m||d.length,p=new Array(2*a);for(n=f=0;n<a;)if((r=d[n++])<128)p[f++]=r;else if(4<(o=u[r]))p[f++]=65533,n+=o-1;else{for(r&=o===2?31:o===3?15:7;1<o&&n<a;)r=r<<6|63&d[n++],o--;1<o?p[f++]=65533:r<65536?p[f++]=r:(r-=65536,p[f++]=55296|r>>10&1023,p[f++]=56320|1023&r)}return b(p,f)},w.utf8border=function(d,m){var n;for((m=m||d.length)>d.length&&(m=d.length),n=m-1;0<=n&&(192&d[n])==128;)n--;return n<0||n===0?m:n+u[d[n]]>m?n:m}},{"./common":41}],43:[function(v,P,w){P.exports=function(c,l,i,u){for(var _=65535&c|0,b=c>>>16&65535|0,d=0;i!==0;){for(i-=d=2e3<i?2e3:i;b=b+(_=_+l[u++]|0)|0,--d;);_%=65521,b%=65521}return _|b<<16|0}},{}],44:[function(v,P,w){P.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(v,P,w){var c=function(){for(var l,i=[],u=0;u<256;u++){l=u;for(var _=0;_<8;_++)l=1&l?3988292384^l>>>1:l>>>1;i[u]=l}return i}();P.exports=function(l,i,u,_){var b=c,d=_+u;l^=-1;for(var m=_;m<d;m++)l=l>>>8^b[255&(l^i[m])];return-1^l}},{}],46:[function(v,P,w){var c,l=v("../utils/common"),i=v("./trees"),u=v("./adler32"),_=v("./crc32"),b=v("./messages"),d=0,m=4,n=0,f=-2,r=-1,o=4,a=2,p=8,y=9,S=286,k=30,F=19,O=2*S+1,j=15,I=3,H=258,K=H+I+1,g=42,D=113,e=1,R=2,$=3,M=4;function et(t,T){return t.msg=b[T],T}function L(t){return(t<<1)-(4<t?9:0)}function J(t){for(var T=t.length;0<=--T;)t[T]=0}function E(t){var T=t.state,z=T.pending;z>t.avail_out&&(z=t.avail_out),z!==0&&(l.arraySet(t.output,T.pending_buf,T.pending_out,z,t.next_out),t.next_out+=z,T.pending_out+=z,t.total_out+=z,t.avail_out-=z,T.pending-=z,T.pending===0&&(T.pending_out=0))}function C(t,T){i._tr_flush_block(t,0<=t.block_start?t.block_start:-1,t.strstart-t.block_start,T),t.block_start=t.strstart,E(t.strm)}function X(t,T){t.pending_buf[t.pending++]=T}function V(t,T){t.pending_buf[t.pending++]=T>>>8&255,t.pending_buf[t.pending++]=255&T}function G(t,T){var z,h,s=t.max_chain_length,A=t.strstart,N=t.prev_length,U=t.nice_match,x=t.strstart>t.w_size-K?t.strstart-(t.w_size-K):0,W=t.window,Y=t.w_mask,Z=t.prev,Q=t.strstart+H,st=W[A+N-1],nt=W[A+N];t.prev_length>=t.good_match&&(s>>=2),U>t.lookahead&&(U=t.lookahead);do if(W[(z=T)+N]===nt&&W[z+N-1]===st&&W[z]===W[A]&&W[++z]===W[A+1]){A+=2,z++;do;while(W[++A]===W[++z]&&W[++A]===W[++z]&&W[++A]===W[++z]&&W[++A]===W[++z]&&W[++A]===W[++z]&&W[++A]===W[++z]&&W[++A]===W[++z]&&W[++A]===W[++z]&&A<Q);if(h=H-(Q-A),A=Q-H,N<h){if(t.match_start=T,U<=(N=h))break;st=W[A+N-1],nt=W[A+N]}}while((T=Z[T&Y])>x&&--s!=0);return N<=t.lookahead?N:t.lookahead}function ot(t){var T,z,h,s,A,N,U,x,W,Y,Z=t.w_size;do{if(s=t.window_size-t.lookahead-t.strstart,t.strstart>=Z+(Z-K)){for(l.arraySet(t.window,t.window,Z,Z,0),t.match_start-=Z,t.strstart-=Z,t.block_start-=Z,T=z=t.hash_size;h=t.head[--T],t.head[T]=Z<=h?h-Z:0,--z;);for(T=z=Z;h=t.prev[--T],t.prev[T]=Z<=h?h-Z:0,--z;);s+=Z}if(t.strm.avail_in===0)break;if(N=t.strm,U=t.window,x=t.strstart+t.lookahead,W=s,Y=void 0,Y=N.avail_in,W<Y&&(Y=W),z=Y===0?0:(N.avail_in-=Y,l.arraySet(U,N.input,N.next_in,Y,x),N.state.wrap===1?N.adler=u(N.adler,U,Y,x):N.state.wrap===2&&(N.adler=_(N.adler,U,Y,x)),N.next_in+=Y,N.total_in+=Y,Y),t.lookahead+=z,t.lookahead+t.insert>=I)for(A=t.strstart-t.insert,t.ins_h=t.window[A],t.ins_h=(t.ins_h<<t.hash_shift^t.window[A+1])&t.hash_mask;t.insert&&(t.ins_h=(t.ins_h<<t.hash_shift^t.window[A+I-1])&t.hash_mask,t.prev[A&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=A,A++,t.insert--,!(t.lookahead+t.insert<I)););}while(t.lookahead<K&&t.strm.avail_in!==0)}function dt(t,T){for(var z,h;;){if(t.lookahead<K){if(ot(t),t.lookahead<K&&T===d)return e;if(t.lookahead===0)break}if(z=0,t.lookahead>=I&&(t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+I-1])&t.hash_mask,z=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),z!==0&&t.strstart-z<=t.w_size-K&&(t.match_length=G(t,z)),t.match_length>=I)if(h=i._tr_tally(t,t.strstart-t.match_start,t.match_length-I),t.lookahead-=t.match_length,t.match_length<=t.max_lazy_match&&t.lookahead>=I){for(t.match_length--;t.strstart++,t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+I-1])&t.hash_mask,z=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart,--t.match_length!=0;);t.strstart++}else t.strstart+=t.match_length,t.match_length=0,t.ins_h=t.window[t.strstart],t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+1])&t.hash_mask;else h=i._tr_tally(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++;if(h&&(C(t,!1),t.strm.avail_out===0))return e}return t.insert=t.strstart<I-1?t.strstart:I-1,T===m?(C(t,!0),t.strm.avail_out===0?$:M):t.last_lit&&(C(t,!1),t.strm.avail_out===0)?e:R}function rt(t,T){for(var z,h,s;;){if(t.lookahead<K){if(ot(t),t.lookahead<K&&T===d)return e;if(t.lookahead===0)break}if(z=0,t.lookahead>=I&&(t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+I-1])&t.hash_mask,z=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),t.prev_length=t.match_length,t.prev_match=t.match_start,t.match_length=I-1,z!==0&&t.prev_length<t.max_lazy_match&&t.strstart-z<=t.w_size-K&&(t.match_length=G(t,z),t.match_length<=5&&(t.strategy===1||t.match_length===I&&4096<t.strstart-t.match_start)&&(t.match_length=I-1)),t.prev_length>=I&&t.match_length<=t.prev_length){for(s=t.strstart+t.lookahead-I,h=i._tr_tally(t,t.strstart-1-t.prev_match,t.prev_length-I),t.lookahead-=t.prev_length-1,t.prev_length-=2;++t.strstart<=s&&(t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+I-1])&t.hash_mask,z=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),--t.prev_length!=0;);if(t.match_available=0,t.match_length=I-1,t.strstart++,h&&(C(t,!1),t.strm.avail_out===0))return e}else if(t.match_available){if((h=i._tr_tally(t,0,t.window[t.strstart-1]))&&C(t,!1),t.strstart++,t.lookahead--,t.strm.avail_out===0)return e}else t.match_available=1,t.strstart++,t.lookahead--}return t.match_available&&(h=i._tr_tally(t,0,t.window[t.strstart-1]),t.match_available=0),t.insert=t.strstart<I-1?t.strstart:I-1,T===m?(C(t,!0),t.strm.avail_out===0?$:M):t.last_lit&&(C(t,!1),t.strm.avail_out===0)?e:R}function it(t,T,z,h,s){this.good_length=t,this.max_lazy=T,this.nice_length=z,this.max_chain=h,this.func=s}function ct(){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=p,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*O),this.dyn_dtree=new l.Buf16(2*(2*k+1)),this.bl_tree=new l.Buf16(2*(2*F+1)),J(this.dyn_ltree),J(this.dyn_dtree),J(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*S+1),J(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new l.Buf16(2*S+1),J(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 lt(t){var T;return t&&t.state?(t.total_in=t.total_out=0,t.data_type=a,(T=t.state).pending=0,T.pending_out=0,T.wrap<0&&(T.wrap=-T.wrap),T.status=T.wrap?g:D,t.adler=T.wrap===2?0:1,T.last_flush=d,i._tr_init(T),n):et(t,f)}function gt(t){var T=lt(t);return T===n&&function(z){z.window_size=2*z.w_size,J(z.head),z.max_lazy_match=c[z.level].max_lazy,z.good_match=c[z.level].good_length,z.nice_match=c[z.level].nice_length,z.max_chain_length=c[z.level].max_chain,z.strstart=0,z.block_start=0,z.lookahead=0,z.insert=0,z.match_length=z.prev_length=I-1,z.match_available=0,z.ins_h=0}(t.state),T}function mt(t,T,z,h,s,A){if(!t)return f;var N=1;if(T===r&&(T=6),h<0?(N=0,h=-h):15<h&&(N=2,h-=16),s<1||y<s||z!==p||h<8||15<h||T<0||9<T||A<0||o<A)return et(t,f);h===8&&(h=9);var U=new ct;return(t.state=U).strm=t,U.wrap=N,U.gzhead=null,U.w_bits=h,U.w_size=1<<U.w_bits,U.w_mask=U.w_size-1,U.hash_bits=s+7,U.hash_size=1<<U.hash_bits,U.hash_mask=U.hash_size-1,U.hash_shift=~~((U.hash_bits+I-1)/I),U.window=new l.Buf8(2*U.w_size),U.head=new l.Buf16(U.hash_size),U.prev=new l.Buf16(U.w_size),U.lit_bufsize=1<<s+6,U.pending_buf_size=4*U.lit_bufsize,U.pending_buf=new l.Buf8(U.pending_buf_size),U.d_buf=1*U.lit_bufsize,U.l_buf=3*U.lit_bufsize,U.level=T,U.strategy=A,U.method=z,gt(t)}c=[new it(0,0,0,0,function(t,T){var z=65535;for(z>t.pending_buf_size-5&&(z=t.pending_buf_size-5);;){if(t.lookahead<=1){if(ot(t),t.lookahead===0&&T===d)return e;if(t.lookahead===0)break}t.strstart+=t.lookahead,t.lookahead=0;var h=t.block_start+z;if((t.strstart===0||t.strstart>=h)&&(t.lookahead=t.strstart-h,t.strstart=h,C(t,!1),t.strm.avail_out===0)||t.strstart-t.block_start>=t.w_size-K&&(C(t,!1),t.strm.avail_out===0))return e}return t.insert=0,T===m?(C(t,!0),t.strm.avail_out===0?$:M):(t.strstart>t.block_start&&(C(t,!1),t.strm.avail_out),e)}),new it(4,4,8,4,dt),new it(4,5,16,8,dt),new it(4,6,32,32,dt),new it(4,4,16,16,rt),new it(8,16,32,32,rt),new it(8,16,128,128,rt),new it(8,32,128,256,rt),new it(32,128,258,1024,rt),new it(32,258,258,4096,rt)],w.deflateInit=function(t,T){return mt(t,T,p,15,8,0)},w.deflateInit2=mt,w.deflateReset=gt,w.deflateResetKeep=lt,w.deflateSetHeader=function(t,T){return t&&t.state?t.state.wrap!==2?f:(t.state.gzhead=T,n):f},w.deflate=function(t,T){var z,h,s,A;if(!t||!t.state||5<T||T<0)return t?et(t,f):f;if(h=t.state,!t.output||!t.input&&t.avail_in!==0||h.status===666&&T!==m)return et(t,t.avail_out===0?-5:f);if(h.strm=t,z=h.last_flush,h.last_flush=T,h.status===g)if(h.wrap===2)t.adler=0,X(h,31),X(h,139),X(h,8),h.gzhead?(X(h,(h.gzhead.text?1:0)+(h.gzhead.hcrc?2:0)+(h.gzhead.extra?4:0)+(h.gzhead.name?8:0)+(h.gzhead.comment?16:0)),X(h,255&h.gzhead.time),X(h,h.gzhead.time>>8&255),X(h,h.gzhead.time>>16&255),X(h,h.gzhead.time>>24&255),X(h,h.level===9?2:2<=h.strategy||h.level<2?4:0),X(h,255&h.gzhead.os),h.gzhead.extra&&h.gzhead.extra.length&&(X(h,255&h.gzhead.extra.length),X(h,h.gzhead.extra.length>>8&255)),h.gzhead.hcrc&&(t.adler=_(t.adler,h.pending_buf,h.pending,0)),h.gzindex=0,h.status=69):(X(h,0),X(h,0),X(h,0),X(h,0),X(h,0),X(h,h.level===9?2:2<=h.strategy||h.level<2?4:0),X(h,3),h.status=D);else{var N=p+(h.w_bits-8<<4)<<8;N|=(2<=h.strategy||h.level<2?0:h.level<6?1:h.level===6?2:3)<<6,h.strstart!==0&&(N|=32),N+=31-N%31,h.status=D,V(h,N),h.strstart!==0&&(V(h,t.adler>>>16),V(h,65535&t.adler)),t.adler=1}if(h.status===69)if(h.gzhead.extra){for(s=h.pending;h.gzindex<(65535&h.gzhead.extra.length)&&(h.pending!==h.pending_buf_size||(h.gzhead.hcrc&&h.pending>s&&(t.adler=_(t.adler,h.pending_buf,h.pending-s,s)),E(t),s=h.pending,h.pending!==h.pending_buf_size));)X(h,255&h.gzhead.extra[h.gzindex]),h.gzindex++;h.gzhead.hcrc&&h.pending>s&&(t.adler=_(t.adler,h.pending_buf,h.pending-s,s)),h.gzindex===h.gzhead.extra.length&&(h.gzindex=0,h.status=73)}else h.status=73;if(h.status===73)if(h.gzhead.name){s=h.pending;do{if(h.pending===h.pending_buf_size&&(h.gzhead.hcrc&&h.pending>s&&(t.adler=_(t.adler,h.pending_buf,h.pending-s,s)),E(t),s=h.pending,h.pending===h.pending_buf_size)){A=1;break}A=h.gzindex<h.gzhead.name.length?255&h.gzhead.name.charCodeAt(h.gzindex++):0,X(h,A)}while(A!==0);h.gzhead.hcrc&&h.pending>s&&(t.adler=_(t.adler,h.pending_buf,h.pending-s,s)),A===0&&(h.gzindex=0,h.status=91)}else h.status=91;if(h.status===91)if(h.gzhead.comment){s=h.pending;do{if(h.pending===h.pending_buf_size&&(h.gzhead.hcrc&&h.pending>s&&(t.adler=_(t.adler,h.pending_buf,h.pending-s,s)),E(t),s=h.pending,h.pending===h.pending_buf_size)){A=1;break}A=h.gzindex<h.gzhead.comment.length?255&h.gzhead.comment.charCodeAt(h.gzindex++):0,X(h,A)}while(A!==0);h.gzhead.hcrc&&h.pending>s&&(t.adler=_(t.adler,h.pending_buf,h.pending-s,s)),A===0&&(h.status=103)}else h.status=103;if(h.status===103&&(h.gzhead.hcrc?(h.pending+2>h.pending_buf_size&&E(t),h.pending+2<=h.pending_buf_size&&(X(h,255&t.adler),X(h,t.adler>>8&255),t.adler=0,h.status=D)):h.status=D),h.pending!==0){if(E(t),t.avail_out===0)return h.last_flush=-1,n}else if(t.avail_in===0&&L(T)<=L(z)&&T!==m)return et(t,-5);if(h.status===666&&t.avail_in!==0)return et(t,-5);if(t.avail_in!==0||h.lookahead!==0||T!==d&&h.status!==666){var U=h.strategy===2?function(x,W){for(var Y;;){if(x.lookahead===0&&(ot(x),x.lookahead===0)){if(W===d)return e;break}if(x.match_length=0,Y=i._tr_tally(x,0,x.window[x.strstart]),x.lookahead--,x.strstart++,Y&&(C(x,!1),x.strm.avail_out===0))return e}return x.insert=0,W===m?(C(x,!0),x.strm.avail_out===0?$:M):x.last_lit&&(C(x,!1),x.strm.avail_out===0)?e:R}(h,T):h.strategy===3?function(x,W){for(var Y,Z,Q,st,nt=x.window;;){if(x.lookahead<=H){if(ot(x),x.lookahead<=H&&W===d)return e;if(x.lookahead===0)break}if(x.match_length=0,x.lookahead>=I&&0<x.strstart&&(Z=nt[Q=x.strstart-1])===nt[++Q]&&Z===nt[++Q]&&Z===nt[++Q]){st=x.strstart+H;do;while(Z===nt[++Q]&&Z===nt[++Q]&&Z===nt[++Q]&&Z===nt[++Q]&&Z===nt[++Q]&&Z===nt[++Q]&&Z===nt[++Q]&&Z===nt[++Q]&&Q<st);x.match_length=H-(st-Q),x.match_length>x.lookahead&&(x.match_length=x.lookahead)}if(x.match_length>=I?(Y=i._tr_tally(x,1,x.match_length-I),x.lookahead-=x.match_length,x.strstart+=x.match_length,x.match_length=0):(Y=i._tr_tally(x,0,x.window[x.strstart]),x.lookahead--,x.strstart++),Y&&(C(x,!1),x.strm.avail_out===0))return e}return x.insert=0,W===m?(C(x,!0),x.strm.avail_out===0?$:M):x.last_lit&&(C(x,!1),x.strm.avail_out===0)?e:R}(h,T):c[h.level].func(h,T);if(U!==$&&U!==M||(h.status=666),U===e||U===$)return t.avail_out===0&&(h.last_flush=-1),n;if(U===R&&(T===1?i._tr_align(h):T!==5&&(i._tr_stored_block(h,0,0,!1),T===3&&(J(h.head),h.lookahead===0&&(h.strstart=0,h.block_start=0,h.insert=0))),E(t),t.avail_out===0))return h.last_flush=-1,n}return T!==m?n:h.wrap<=0?1:(h.wrap===2?(X(h,255&t.adler),X(h,t.adler>>8&255),X(h,t.adler>>16&255),X(h,t.adler>>24&255),X(h,255&t.total_in),X(h,t.total_in>>8&255),X(h,t.total_in>>16&255),X(h,t.total_in>>24&255)):(V(h,t.adler>>>16),V(h,65535&t.adler)),E(t),0<h.wrap&&(h.wrap=-h.wrap),h.pending!==0?n:1)},w.deflateEnd=function(t){var T;return t&&t.state?(T=t.state.status)!==g&&T!==69&&T!==73&&T!==91&&T!==103&&T!==D&&T!==666?et(t,f):(t.state=null,T===D?et(t,-3):n):f},w.deflateSetDictionary=function(t,T){var z,h,s,A,N,U,x,W,Y=T.length;if(!t||!t.state||(A=(z=t.state).wrap)===2||A===1&&z.status!==g||z.lookahead)return f;for(A===1&&(t.adler=u(t.adler,T,Y,0)),z.wrap=0,Y>=z.w_size&&(A===0&&(J(z.head),z.strstart=0,z.block_start=0,z.insert=0),W=new l.Buf8(z.w_size),l.arraySet(W,T,Y-z.w_size,z.w_size,0),T=W,Y=z.w_size),N=t.avail_in,U=t.next_in,x=t.input,t.avail_in=Y,t.next_in=0,t.input=T,ot(z);z.lookahead>=I;){for(h=z.strstart,s=z.lookahead-(I-1);z.ins_h=(z.ins_h<<z.hash_shift^z.window[h+I-1])&z.hash_mask,z.prev[h&z.w_mask]=z.head[z.ins_h],z.head[z.ins_h]=h,h++,--s;);z.strstart=h,z.lookahead=I-1,ot(z)}return z.strstart+=z.lookahead,z.block_start=z.strstart,z.insert=z.lookahead,z.lookahead=0,z.match_length=z.prev_length=I-1,z.match_available=0,t.next_in=U,t.input=x,t.avail_in=N,z.wrap=A,n},w.deflateInfo="pako deflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./messages":51,"./trees":52}],47:[function(v,P,w){P.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(v,P,w){P.exports=function(c,l){var i,u,_,b,d,m,n,f,r,o,a,p,y,S,k,F,O,j,I,H,K,g,D,e,R;i=c.state,u=c.next_in,e=c.input,_=u+(c.avail_in-5),b=c.next_out,R=c.output,d=b-(l-c.avail_out),m=b+(c.avail_out-257),n=i.dmax,f=i.wsize,r=i.whave,o=i.wnext,a=i.window,p=i.hold,y=i.bits,S=i.lencode,k=i.distcode,F=(1<<i.lenbits)-1,O=(1<<i.distbits)-1;t:do{y<15&&(p+=e[u++]<<y,y+=8,p+=e[u++]<<y,y+=8),j=S[p&F];e:for(;;){if(p>>>=I=j>>>24,y-=I,(I=j>>>16&255)===0)R[b++]=65535&j;else{if(!(16&I)){if(!(64&I)){j=S[(65535&j)+(p&(1<<I)-1)];continue e}if(32&I){i.mode=12;break t}c.msg="invalid literal/length code",i.mode=30;break t}H=65535&j,(I&=15)&&(y<I&&(p+=e[u++]<<y,y+=8),H+=p&(1<<I)-1,p>>>=I,y-=I),y<15&&(p+=e[u++]<<y,y+=8,p+=e[u++]<<y,y+=8),j=k[p&O];r:for(;;){if(p>>>=I=j>>>24,y-=I,!(16&(I=j>>>16&255))){if(!(64&I)){j=k[(65535&j)+(p&(1<<I)-1)];continue r}c.msg="invalid distance code",i.mode=30;break t}if(K=65535&j,y<(I&=15)&&(p+=e[u++]<<y,(y+=8)<I&&(p+=e[u++]<<y,y+=8)),n<(K+=p&(1<<I)-1)){c.msg="invalid distance too far back",i.mode=30;break t}if(p>>>=I,y-=I,(I=b-d)<K){if(r<(I=K-I)&&i.sane){c.msg="invalid distance too far back",i.mode=30;break t}if(D=a,(g=0)===o){if(g+=f-I,I<H){for(H-=I;R[b++]=a[g++],--I;);g=b-K,D=R}}else if(o<I){if(g+=f+o-I,(I-=o)<H){for(H-=I;R[b++]=a[g++],--I;);if(g=0,o<H){for(H-=I=o;R[b++]=a[g++],--I;);g=b-K,D=R}}}else if(g+=o-I,I<H){for(H-=I;R[b++]=a[g++],--I;);g=b-K,D=R}for(;2<H;)R[b++]=D[g++],R[b++]=D[g++],R[b++]=D[g++],H-=3;H&&(R[b++]=D[g++],1<H&&(R[b++]=D[g++]))}else{for(g=b-K;R[b++]=R[g++],R[b++]=R[g++],R[b++]=R[g++],2<(H-=3););H&&(R[b++]=R[g++],1<H&&(R[b++]=R[g++]))}break}}break}}while(u<_&&b<m);u-=H=y>>3,p&=(1<<(y-=H<<3))-1,c.next_in=u,c.next_out=b,c.avail_in=u<_?_-u+5:5-(u-_),c.avail_out=b<m?m-b+257:257-(b-m),i.hold=p,i.bits=y}},{}],49:[function(v,P,w){var c=v("../utils/common"),l=v("./adler32"),i=v("./crc32"),u=v("./inffast"),_=v("./inftrees"),b=1,d=2,m=0,n=-2,f=1,r=852,o=592;function a(g){return(g>>>24&255)+(g>>>8&65280)+((65280&g)<<8)+((255&g)<<24)}function p(){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 c.Buf16(320),this.work=new c.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function y(g){var D;return g&&g.state?(D=g.state,g.total_in=g.total_out=D.total=0,g.msg="",D.wrap&&(g.adler=1&D.wrap),D.mode=f,D.last=0,D.havedict=0,D.dmax=32768,D.head=null,D.hold=0,D.bits=0,D.lencode=D.lendyn=new c.Buf32(r),D.distcode=D.distdyn=new c.Buf32(o),D.sane=1,D.back=-1,m):n}function S(g){var D;return g&&g.state?((D=g.state).wsize=0,D.whave=0,D.wnext=0,y(g)):n}function k(g,D){var e,R;return g&&g.state?(R=g.state,D<0?(e=0,D=-D):(e=1+(D>>4),D<48&&(D&=15)),D&&(D<8||15<D)?n:(R.window!==null&&R.wbits!==D&&(R.window=null),R.wrap=e,R.wbits=D,S(g))):n}function F(g,D){var e,R;return g?(R=new p,(g.state=R).window=null,(e=k(g,D))!==m&&(g.state=null),e):n}var O,j,I=!0;function H(g){if(I){var D;for(O=new c.Buf32(512),j=new c.Buf32(32),D=0;D<144;)g.lens[D++]=8;for(;D<256;)g.lens[D++]=9;for(;D<280;)g.lens[D++]=7;for(;D<288;)g.lens[D++]=8;for(_(b,g.lens,0,288,O,0,g.work,{bits:9}),D=0;D<32;)g.lens[D++]=5;_(d,g.lens,0,32,j,0,g.work,{bits:5}),I=!1}g.lencode=O,g.lenbits=9,g.distcode=j,g.distbits=5}function K(g,D,e,R){var $,M=g.state;return M.window===null&&(M.wsize=1<<M.wbits,M.wnext=0,M.whave=0,M.window=new c.Buf8(M.wsize)),R>=M.wsize?(c.arraySet(M.window,D,e-M.wsize,M.wsize,0),M.wnext=0,M.whave=M.wsize):(R<($=M.wsize-M.wnext)&&($=R),c.arraySet(M.window,D,e-R,$,M.wnext),(R-=$)?(c.arraySet(M.window,D,e-R,R,0),M.wnext=R,M.whave=M.wsize):(M.wnext+=$,M.wnext===M.wsize&&(M.wnext=0),M.whave<M.wsize&&(M.whave+=$))),0}w.inflateReset=S,w.inflateReset2=k,w.inflateResetKeep=y,w.inflateInit=function(g){return F(g,15)},w.inflateInit2=F,w.inflate=function(g,D){var e,R,$,M,et,L,J,E,C,X,V,G,ot,dt,rt,it,ct,lt,gt,mt,t,T,z,h,s=0,A=new c.Buf8(4),N=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!g||!g.state||!g.output||!g.input&&g.avail_in!==0)return n;(e=g.state).mode===12&&(e.mode=13),et=g.next_out,$=g.output,J=g.avail_out,M=g.next_in,R=g.input,L=g.avail_in,E=e.hold,C=e.bits,X=L,V=J,T=m;t:for(;;)switch(e.mode){case f:if(e.wrap===0){e.mode=13;break}for(;C<16;){if(L===0)break t;L--,E+=R[M++]<<C,C+=8}if(2&e.wrap&&E===35615){A[e.check=0]=255&E,A[1]=E>>>8&255,e.check=i(e.check,A,2,0),C=E=0,e.mode=2;break}if(e.flags=0,e.head&&(e.head.done=!1),!(1&e.wrap)||(((255&E)<<8)+(E>>8))%31){g.msg="incorrect header check",e.mode=30;break}if((15&E)!=8){g.msg="unknown compression method",e.mode=30;break}if(C-=4,t=8+(15&(E>>>=4)),e.wbits===0)e.wbits=t;else if(t>e.wbits){g.msg="invalid window size",e.mode=30;break}e.dmax=1<<t,g.adler=e.check=1,e.mode=512&E?10:12,C=E=0;break;case 2:for(;C<16;){if(L===0)break t;L--,E+=R[M++]<<C,C+=8}if(e.flags=E,(255&e.flags)!=8){g.msg="unknown compression method",e.mode=30;break}if(57344&e.flags){g.msg="unknown header flags set",e.mode=30;break}e.head&&(e.head.text=E>>8&1),512&e.flags&&(A[0]=255&E,A[1]=E>>>8&255,e.check=i(e.check,A,2,0)),C=E=0,e.mode=3;case 3:for(;C<32;){if(L===0)break t;L--,E+=R[M++]<<C,C+=8}e.head&&(e.head.time=E),512&e.flags&&(A[0]=255&E,A[1]=E>>>8&255,A[2]=E>>>16&255,A[3]=E>>>24&255,e.check=i(e.check,A,4,0)),C=E=0,e.mode=4;case 4:for(;C<16;){if(L===0)break t;L--,E+=R[M++]<<C,C+=8}e.head&&(e.head.xflags=255&E,e.head.os=E>>8),512&e.flags&&(A[0]=255&E,A[1]=E>>>8&255,e.check=i(e.check,A,2,0)),C=E=0,e.mode=5;case 5:if(1024&e.flags){for(;C<16;){if(L===0)break t;L--,E+=R[M++]<<C,C+=8}e.length=E,e.head&&(e.head.extra_len=E),512&e.flags&&(A[0]=255&E,A[1]=E>>>8&255,e.check=i(e.check,A,2,0)),C=E=0}else e.head&&(e.head.extra=null);e.mode=6;case 6:if(1024&e.flags&&(L<(G=e.length)&&(G=L),G&&(e.head&&(t=e.head.extra_len-e.length,e.head.extra||(e.head.extra=new Array(e.head.extra_len)),c.arraySet(e.head.extra,R,M,G,t)),512&e.flags&&(e.check=i(e.check,R,G,M)),L-=G,M+=G,e.length-=G),e.length))break t;e.length=0,e.mode=7;case 7:if(2048&e.flags){if(L===0)break t;for(G=0;t=R[M+G++],e.head&&t&&e.length<65536&&(e.head.name+=String.fromCharCode(t)),t&&G<L;);if(512&e.flags&&(e.check=i(e.check,R,G,M)),L-=G,M+=G,t)break t}else e.head&&(e.head.name=null);e.length=0,e.mode=8;case 8:if(4096&e.flags){if(L===0)break t;for(G=0;t=R[M+G++],e.head&&t&&e.length<65536&&(e.head.comment+=String.fromCharCode(t)),t&&G<L;);if(512&e.flags&&(e.check=i(e.check,R,G,M)),L-=G,M+=G,t)break t}else e.head&&(e.head.comment=null);e.mode=9;case 9:if(512&e.flags){for(;C<16;){if(L===0)break t;L--,E+=R[M++]<<C,C+=8}if(E!==(65535&e.check)){g.msg="header crc mismatch",e.mode=30;break}C=E=0}e.head&&(e.head.hcrc=e.flags>>9&1,e.head.done=!0),g.adler=e.check=0,e.mode=12;break;case 10:for(;C<32;){if(L===0)break t;L--,E+=R[M++]<<C,C+=8}g.adler=e.check=a(E),C=E=0,e.mode=11;case 11:if(e.havedict===0)return g.next_out=et,g.avail_out=J,g.next_in=M,g.avail_in=L,e.hold=E,e.bits=C,2;g.adler=e.check=1,e.mode=12;case 12:if(D===5||D===6)break t;case 13:if(e.last){E>>>=7&C,C-=7&C,e.mode=27;break}for(;C<3;){if(L===0)break t;L--,E+=R[M++]<<C,C+=8}switch(e.last=1&E,C-=1,3&(E>>>=1)){case 0:e.mode=14;break;case 1:if(H(e),e.mode=20,D!==6)break;E>>>=2,C-=2;break t;case 2:e.mode=17;break;case 3:g.msg="invalid block type",e.mode=30}E>>>=2,C-=2;break;case 14:for(E>>>=7&C,C-=7&C;C<32;){if(L===0)break t;L--,E+=R[M++]<<C,C+=8}if((65535&E)!=(E>>>16^65535)){g.msg="invalid stored block lengths",e.mode=30;break}if(e.length=65535&E,C=E=0,e.mode=15,D===6)break t;case 15:e.mode=16;case 16:if(G=e.length){if(L<G&&(G=L),J<G&&(G=J),G===0)break t;c.arraySet($,R,M,G,et),L-=G,M+=G,J-=G,et+=G,e.length-=G;break}e.mode=12;break;case 17:for(;C<14;){if(L===0)break t;L--,E+=R[M++]<<C,C+=8}if(e.nlen=257+(31&E),E>>>=5,C-=5,e.ndist=1+(31&E),E>>>=5,C-=5,e.ncode=4+(15&E),E>>>=4,C-=4,286<e.nlen||30<e.ndist){g.msg="too many length or distance symbols",e.mode=30;break}e.have=0,e.mode=18;case 18:for(;e.have<e.ncode;){for(;C<3;){if(L===0)break t;L--,E+=R[M++]<<C,C+=8}e.lens[N[e.have++]]=7&E,E>>>=3,C-=3}for(;e.have<19;)e.lens[N[e.have++]]=0;if(e.lencode=e.lendyn,e.lenbits=7,z={bits:e.lenbits},T=_(0,e.lens,0,19,e.lencode,0,e.work,z),e.lenbits=z.bits,T){g.msg="invalid code lengths set",e.mode=30;break}e.have=0,e.mode=19;case 19:for(;e.have<e.nlen+e.ndist;){for(;it=(s=e.lencode[E&(1<<e.lenbits)-1])>>>16&255,ct=65535&s,!((rt=s>>>24)<=C);){if(L===0)break t;L--,E+=R[M++]<<C,C+=8}if(ct<16)E>>>=rt,C-=rt,e.lens[e.have++]=ct;else{if(ct===16){for(h=rt+2;C<h;){if(L===0)break t;L--,E+=R[M++]<<C,C+=8}if(E>>>=rt,C-=rt,e.have===0){g.msg="invalid bit length repeat",e.mode=30;break}t=e.lens[e.have-1],G=3+(3&E),E>>>=2,C-=2}else if(ct===17){for(h=rt+3;C<h;){if(L===0)break t;L--,E+=R[M++]<<C,C+=8}C-=rt,t=0,G=3+(7&(E>>>=rt)),E>>>=3,C-=3}else{for(h=rt+7;C<h;){if(L===0)break t;L--,E+=R[M++]<<C,C+=8}C-=rt,t=0,G=11+(127&(E>>>=rt)),E>>>=7,C-=7}if(e.have+G>e.nlen+e.ndist){g.msg="invalid bit length repeat",e.mode=30;break}for(;G--;)e.lens[e.have++]=t}}if(e.mode===30)break;if(e.lens[256]===0){g.msg="invalid code -- missing end-of-block",e.mode=30;break}if(e.lenbits=9,z={bits:e.lenbits},T=_(b,e.lens,0,e.nlen,e.lencode,0,e.work,z),e.lenbits=z.bits,T){g.msg="invalid literal/lengths set",e.mode=30;break}if(e.distbits=6,e.distcode=e.distdyn,z={bits:e.distbits},T=_(d,e.lens,e.nlen,e.ndist,e.distcode,0,e.work,z),e.distbits=z.bits,T){g.msg="invalid distances set",e.mode=30;break}if(e.mode=20,D===6)break t;case 20:e.mode=21;case 21:if(6<=L&&258<=J){g.next_out=et,g.avail_out=J,g.next_in=M,g.avail_in=L,e.hold=E,e.bits=C,u(g,V),et=g.next_out,$=g.output,J=g.avail_out,M=g.next_in,R=g.input,L=g.avail_in,E=e.hold,C=e.bits,e.mode===12&&(e.back=-1);break}for(e.back=0;it=(s=e.lencode[E&(1<<e.lenbits)-1])>>>16&255,ct=65535&s,!((rt=s>>>24)<=C);){if(L===0)break t;L--,E+=R[M++]<<C,C+=8}if(it&&!(240&it)){for(lt=rt,gt=it,mt=ct;it=(s=e.lencode[mt+((E&(1<<lt+gt)-1)>>lt)])>>>16&255,ct=65535&s,!(lt+(rt=s>>>24)<=C);){if(L===0)break t;L--,E+=R[M++]<<C,C+=8}E>>>=lt,C-=lt,e.back+=lt}if(E>>>=rt,C-=rt,e.back+=rt,e.length=ct,it===0){e.mode=26;break}if(32&it){e.back=-1,e.mode=12;break}if(64&it){g.msg="invalid literal/length code",e.mode=30;break}e.extra=15&it,e.mode=22;case 22:if(e.extra){for(h=e.extra;C<h;){if(L===0)break t;L--,E+=R[M++]<<C,C+=8}e.length+=E&(1<<e.extra)-1,E>>>=e.extra,C-=e.extra,e.back+=e.extra}e.was=e.length,e.mode=23;case 23:for(;it=(s=e.distcode[E&(1<<e.distbits)-1])>>>16&255,ct=65535&s,!((rt=s>>>24)<=C);){if(L===0)break t;L--,E+=R[M++]<<C,C+=8}if(!(240&it)){for(lt=rt,gt=it,mt=ct;it=(s=e.distcode[mt+((E&(1<<lt+gt)-1)>>lt)])>>>16&255,ct=65535&s,!(lt+(rt=s>>>24)<=C);){if(L===0)break t;L--,E+=R[M++]<<C,C+=8}E>>>=lt,C-=lt,e.back+=lt}if(E>>>=rt,C-=rt,e.back+=rt,64&it){g.msg="invalid distance code",e.mode=30;break}e.offset=ct,e.extra=15&it,e.mode=24;case 24:if(e.extra){for(h=e.extra;C<h;){if(L===0)break t;L--,E+=R[M++]<<C,C+=8}e.offset+=E&(1<<e.extra)-1,E>>>=e.extra,C-=e.extra,e.back+=e.extra}if(e.offset>e.dmax){g.msg="invalid distance too far back",e.mode=30;break}e.mode=25;case 25:if(J===0)break t;if(G=V-J,e.offset>G){if((G=e.offset-G)>e.whave&&e.sane){g.msg="invalid distance too far back",e.mode=30;break}ot=G>e.wnext?(G-=e.wnext,e.wsize-G):e.wnext-G,G>e.length&&(G=e.length),dt=e.window}else dt=$,ot=et-e.offset,G=e.length;for(J<G&&(G=J),J-=G,e.length-=G;$[et++]=dt[ot++],--G;);e.length===0&&(e.mode=21);break;case 26:if(J===0)break t;$[et++]=e.length,J--,e.mode=21;break;case 27:if(e.wrap){for(;C<32;){if(L===0)break t;L--,E|=R[M++]<<C,C+=8}if(V-=J,g.total_out+=V,e.total+=V,V&&(g.adler=e.check=e.flags?i(e.check,$,V,et-V):l(e.check,$,V,et-V)),V=J,(e.flags?E:a(E))!==e.check){g.msg="incorrect data check",e.mode=30;break}C=E=0}e.mode=28;case 28:if(e.wrap&&e.flags){for(;C<32;){if(L===0)break t;L--,E+=R[M++]<<C,C+=8}if(E!==(4294967295&e.total)){g.msg="incorrect length check",e.mode=30;break}C=E=0}e.mode=29;case 29:T=1;break t;case 30:T=-3;break t;case 31:return-4;case 32:default:return n}return g.next_out=et,g.avail_out=J,g.next_in=M,g.avail_in=L,e.hold=E,e.bits=C,(e.wsize||V!==g.avail_out&&e.mode<30&&(e.mode<27||D!==4))&&K(g,g.output,g.next_out,V-g.avail_out)?(e.mode=31,-4):(X-=g.avail_in,V-=g.avail_out,g.total_in+=X,g.total_out+=V,e.total+=V,e.wrap&&V&&(g.adler=e.check=e.flags?i(e.check,$,V,g.next_out-V):l(e.check,$,V,g.next_out-V)),g.data_type=e.bits+(e.last?64:0)+(e.mode===12?128:0)+(e.mode===20||e.mode===15?256:0),(X==0&&V===0||D===4)&&T===m&&(T=-5),T)},w.inflateEnd=function(g){if(!g||!g.state)return n;var D=g.state;return D.window&&(D.window=null),g.state=null,m},w.inflateGetHeader=function(g,D){var e;return g&&g.state&&2&(e=g.state).wrap?((e.head=D).done=!1,m):n},w.inflateSetDictionary=function(g,D){var e,R=D.length;return g&&g.state?(e=g.state).wrap!==0&&e.mode!==11?n:e.mode===11&&l(1,D,R,0)!==e.check?-3:K(g,D,R,R)?(e.mode=31,-4):(e.havedict=1,m):n},w.inflateInfo="pako inflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./inffast":48,"./inftrees":50}],50:[function(v,P,w){var c=v("../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],i=[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],u=[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],_=[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];P.exports=function(b,d,m,n,f,r,o,a){var p,y,S,k,F,O,j,I,H,K=a.bits,g=0,D=0,e=0,R=0,$=0,M=0,et=0,L=0,J=0,E=0,C=null,X=0,V=new c.Buf16(16),G=new c.Buf16(16),ot=null,dt=0;for(g=0;g<=15;g++)V[g]=0;for(D=0;D<n;D++)V[d[m+D]]++;for($=K,R=15;1<=R&&V[R]===0;R--);if(R<$&&($=R),R===0)return f[r++]=20971520,f[r++]=20971520,a.bits=1,0;for(e=1;e<R&&V[e]===0;e++);for($<e&&($=e),g=L=1;g<=15;g++)if(L<<=1,(L-=V[g])<0)return-1;if(0<L&&(b===0||R!==1))return-1;for(G[1]=0,g=1;g<15;g++)G[g+1]=G[g]+V[g];for(D=0;D<n;D++)d[m+D]!==0&&(o[G[d[m+D]]++]=D);if(O=b===0?(C=ot=o,19):b===1?(C=l,X-=257,ot=i,dt-=257,256):(C=u,ot=_,-1),g=e,F=r,et=D=E=0,S=-1,k=(J=1<<(M=$))-1,b===1&&852<J||b===2&&592<J)return 1;for(;;){for(j=g-et,H=o[D]<O?(I=0,o[D]):o[D]>O?(I=ot[dt+o[D]],C[X+o[D]]):(I=96,0),p=1<<g-et,e=y=1<<M;f[F+(E>>et)+(y-=p)]=j<<24|I<<16|H|0,y!==0;);for(p=1<<g-1;E&p;)p>>=1;if(p!==0?(E&=p-1,E+=p):E=0,D++,--V[g]==0){if(g===R)break;g=d[m+o[D]]}if($<g&&(E&k)!==S){for(et===0&&(et=$),F+=e,L=1<<(M=g-et);M+et<R&&!((L-=V[M+et])<=0);)M++,L<<=1;if(J+=1<<M,b===1&&852<J||b===2&&592<J)return 1;f[S=E&k]=$<<24|M<<16|F-r|0}}return E!==0&&(f[F+E]=g-et<<24|64<<16|0),a.bits=$,0}},{"../utils/common":41}],51:[function(v,P,w){P.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(v,P,w){var c=v("../utils/common"),l=0,i=1;function u(s){for(var A=s.length;0<=--A;)s[A]=0}var _=0,b=29,d=256,m=d+1+b,n=30,f=19,r=2*m+1,o=15,a=16,p=7,y=256,S=16,k=17,F=18,O=[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],I=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],H=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],K=new Array(2*(m+2));u(K);var g=new Array(2*n);u(g);var D=new Array(512);u(D);var e=new Array(256);u(e);var R=new Array(b);u(R);var $,M,et,L=new Array(n);function J(s,A,N,U,x){this.static_tree=s,this.extra_bits=A,this.extra_base=N,this.elems=U,this.max_length=x,this.has_stree=s&&s.length}function E(s,A){this.dyn_tree=s,this.max_code=0,this.stat_desc=A}function C(s){return s<256?D[s]:D[256+(s>>>7)]}function X(s,A){s.pending_buf[s.pending++]=255&A,s.pending_buf[s.pending++]=A>>>8&255}function V(s,A,N){s.bi_valid>a-N?(s.bi_buf|=A<<s.bi_valid&65535,X(s,s.bi_buf),s.bi_buf=A>>a-s.bi_valid,s.bi_valid+=N-a):(s.bi_buf|=A<<s.bi_valid&65535,s.bi_valid+=N)}function G(s,A,N){V(s,N[2*A],N[2*A+1])}function ot(s,A){for(var N=0;N|=1&s,s>>>=1,N<<=1,0<--A;);return N>>>1}function dt(s,A,N){var U,x,W=new Array(o+1),Y=0;for(U=1;U<=o;U++)W[U]=Y=Y+N[U-1]<<1;for(x=0;x<=A;x++){var Z=s[2*x+1];Z!==0&&(s[2*x]=ot(W[Z]++,Z))}}function rt(s){var A;for(A=0;A<m;A++)s.dyn_ltree[2*A]=0;for(A=0;A<n;A++)s.dyn_dtree[2*A]=0;for(A=0;A<f;A++)s.bl_tree[2*A]=0;s.dyn_ltree[2*y]=1,s.opt_len=s.static_len=0,s.last_lit=s.matches=0}function it(s){8<s.bi_valid?X(s,s.bi_buf):0<s.bi_valid&&(s.pending_buf[s.pending++]=s.bi_buf),s.bi_buf=0,s.bi_valid=0}function ct(s,A,N,U){var x=2*A,W=2*N;return s[x]<s[W]||s[x]===s[W]&&U[A]<=U[N]}function lt(s,A,N){for(var U=s.heap[N],x=N<<1;x<=s.heap_len&&(x<s.heap_len&&ct(A,s.heap[x+1],s.heap[x],s.depth)&&x++,!ct(A,U,s.heap[x],s.depth));)s.heap[N]=s.heap[x],N=x,x<<=1;s.heap[N]=U}function gt(s,A,N){var U,x,W,Y,Z=0;if(s.last_lit!==0)for(;U=s.pending_buf[s.d_buf+2*Z]<<8|s.pending_buf[s.d_buf+2*Z+1],x=s.pending_buf[s.l_buf+Z],Z++,U===0?G(s,x,A):(G(s,(W=e[x])+d+1,A),(Y=O[W])!==0&&V(s,x-=R[W],Y),G(s,W=C(--U),N),(Y=j[W])!==0&&V(s,U-=L[W],Y)),Z<s.last_lit;);G(s,y,A)}function mt(s,A){var N,U,x,W=A.dyn_tree,Y=A.stat_desc.static_tree,Z=A.stat_desc.has_stree,Q=A.stat_desc.elems,st=-1;for(s.heap_len=0,s.heap_max=r,N=0;N<Q;N++)W[2*N]!==0?(s.heap[++s.heap_len]=st=N,s.depth[N]=0):W[2*N+1]=0;for(;s.heap_len<2;)W[2*(x=s.heap[++s.heap_len]=st<2?++st:0)]=1,s.depth[x]=0,s.opt_len--,Z&&(s.static_len-=Y[2*x+1]);for(A.max_code=st,N=s.heap_len>>1;1<=N;N--)lt(s,W,N);for(x=Q;N=s.heap[1],s.heap[1]=s.heap[s.heap_len--],lt(s,W,1),U=s.heap[1],s.heap[--s.heap_max]=N,s.heap[--s.heap_max]=U,W[2*x]=W[2*N]+W[2*U],s.depth[x]=(s.depth[N]>=s.depth[U]?s.depth[N]:s.depth[U])+1,W[2*N+1]=W[2*U+1]=x,s.heap[1]=x++,lt(s,W,1),2<=s.heap_len;);s.heap[--s.heap_max]=s.heap[1],function(nt,ft){var yt,_t,wt,ut,kt,Bt,vt=ft.dyn_tree,Dt=ft.max_code,Lt=ft.stat_desc.static_tree,Wt=ft.stat_desc.has_stree,Zt=ft.stat_desc.extra_bits,Tt=ft.stat_desc.extra_base,At=ft.stat_desc.max_length,St=0;for(ut=0;ut<=o;ut++)nt.bl_count[ut]=0;for(vt[2*nt.heap[nt.heap_max]+1]=0,yt=nt.heap_max+1;yt<r;yt++)At<(ut=vt[2*vt[2*(_t=nt.heap[yt])+1]+1]+1)&&(ut=At,St++),vt[2*_t+1]=ut,Dt<_t||(nt.bl_count[ut]++,kt=0,Tt<=_t&&(kt=Zt[_t-Tt]),Bt=vt[2*_t],nt.opt_len+=Bt*(ut+kt),Wt&&(nt.static_len+=Bt*(Lt[2*_t+1]+kt)));if(St!==0){do{for(ut=At-1;nt.bl_count[ut]===0;)ut--;nt.bl_count[ut]--,nt.bl_count[ut+1]+=2,nt.bl_count[At]--,St-=2}while(0<St);for(ut=At;ut!==0;ut--)for(_t=nt.bl_count[ut];_t!==0;)Dt<(wt=nt.heap[--yt])||(vt[2*wt+1]!==ut&&(nt.opt_len+=(ut-vt[2*wt+1])*vt[2*wt],vt[2*wt+1]=ut),_t--)}}(s,A),dt(W,st,s.bl_count)}function t(s,A,N){var U,x,W=-1,Y=A[1],Z=0,Q=7,st=4;for(Y===0&&(Q=138,st=3),A[2*(N+1)+1]=65535,U=0;U<=N;U++)x=Y,Y=A[2*(U+1)+1],++Z<Q&&x===Y||(Z<st?s.bl_tree[2*x]+=Z:x!==0?(x!==W&&s.bl_tree[2*x]++,s.bl_tree[2*S]++):Z<=10?s.bl_tree[2*k]++:s.bl_tree[2*F]++,W=x,st=(Z=0)===Y?(Q=138,3):x===Y?(Q=6,3):(Q=7,4))}function T(s,A,N){var U,x,W=-1,Y=A[1],Z=0,Q=7,st=4;for(Y===0&&(Q=138,st=3),U=0;U<=N;U++)if(x=Y,Y=A[2*(U+1)+1],!(++Z<Q&&x===Y)){if(Z<st)for(;G(s,x,s.bl_tree),--Z!=0;);else x!==0?(x!==W&&(G(s,x,s.bl_tree),Z--),G(s,S,s.bl_tree),V(s,Z-3,2)):Z<=10?(G(s,k,s.bl_tree),V(s,Z-3,3)):(G(s,F,s.bl_tree),V(s,Z-11,7));W=x,st=(Z=0)===Y?(Q=138,3):x===Y?(Q=6,3):(Q=7,4)}}u(L);var z=!1;function h(s,A,N,U){V(s,(_<<1)+(U?1:0),3),function(x,W,Y,Z){it(x),Z&&(X(x,Y),X(x,~Y)),c.arraySet(x.pending_buf,x.window,W,Y,x.pending),x.pending+=Y}(s,A,N,!0)}w._tr_init=function(s){z||(function(){var A,N,U,x,W,Y=new Array(o+1);for(x=U=0;x<b-1;x++)for(R[x]=U,A=0;A<1<<O[x];A++)e[U++]=x;for(e[U-1]=x,x=W=0;x<16;x++)for(L[x]=W,A=0;A<1<<j[x];A++)D[W++]=x;for(W>>=7;x<n;x++)for(L[x]=W<<7,A=0;A<1<<j[x]-7;A++)D[256+W++]=x;for(N=0;N<=o;N++)Y[N]=0;for(A=0;A<=143;)K[2*A+1]=8,A++,Y[8]++;for(;A<=255;)K[2*A+1]=9,A++,Y[9]++;for(;A<=279;)K[2*A+1]=7,A++,Y[7]++;for(;A<=287;)K[2*A+1]=8,A++,Y[8]++;for(dt(K,m+1,Y),A=0;A<n;A++)g[2*A+1]=5,g[2*A]=ot(A,5);$=new J(K,O,d+1,m,o),M=new J(g,j,0,n,o),et=new J(new Array(0),I,0,f,p)}(),z=!0),s.l_desc=new E(s.dyn_ltree,$),s.d_desc=new E(s.dyn_dtree,M),s.bl_desc=new E(s.bl_tree,et),s.bi_buf=0,s.bi_valid=0,rt(s)},w._tr_stored_block=h,w._tr_flush_block=function(s,A,N,U){var x,W,Y=0;0<s.level?(s.strm.data_type===2&&(s.strm.data_type=function(Z){var Q,st=4093624447;for(Q=0;Q<=31;Q++,st>>>=1)if(1&st&&Z.dyn_ltree[2*Q]!==0)return l;if(Z.dyn_ltree[18]!==0||Z.dyn_ltree[20]!==0||Z.dyn_ltree[26]!==0)return i;for(Q=32;Q<d;Q++)if(Z.dyn_ltree[2*Q]!==0)return i;return l}(s)),mt(s,s.l_desc),mt(s,s.d_desc),Y=function(Z){var Q;for(t(Z,Z.dyn_ltree,Z.l_desc.max_code),t(Z,Z.dyn_dtree,Z.d_desc.max_code),mt(Z,Z.bl_desc),Q=f-1;3<=Q&&Z.bl_tree[2*H[Q]+1]===0;Q--);return Z.opt_len+=3*(Q+1)+5+5+4,Q}(s),x=s.opt_len+3+7>>>3,(W=s.static_len+3+7>>>3)<=x&&(x=W)):x=W=N+5,N+4<=x&&A!==-1?h(s,A,N,U):s.strategy===4||W===x?(V(s,2+(U?1:0),3),gt(s,K,g)):(V(s,4+(U?1:0),3),function(Z,Q,st,nt){var ft;for(V(Z,Q-257,5),V(Z,st-1,5),V(Z,nt-4,4),ft=0;ft<nt;ft++)V(Z,Z.bl_tree[2*H[ft]+1],3);T(Z,Z.dyn_ltree,Q-1),T(Z,Z.dyn_dtree,st-1)}(s,s.l_desc.max_code+1,s.d_desc.max_code+1,Y+1),gt(s,s.dyn_ltree,s.dyn_dtree)),rt(s),U&&it(s)},w._tr_tally=function(s,A,N){return s.pending_buf[s.d_buf+2*s.last_lit]=A>>>8&255,s.pending_buf[s.d_buf+2*s.last_lit+1]=255&A,s.pending_buf[s.l_buf+s.last_lit]=255&N,s.last_lit++,A===0?s.dyn_ltree[2*N]++:(s.matches++,A--,s.dyn_ltree[2*(e[N]+d+1)]++,s.dyn_dtree[2*C(A)]++),s.last_lit===s.lit_bufsize-1},w._tr_align=function(s){V(s,2,3),G(s,y,K),function(A){A.bi_valid===16?(X(A,A.bi_buf),A.bi_buf=0,A.bi_valid=0):8<=A.bi_valid&&(A.pending_buf[A.pending++]=255&A.bi_buf,A.bi_buf>>=8,A.bi_valid-=8)}(s)}},{"../utils/common":41}],53:[function(v,P,w){P.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(v,P,w){(function(c){(function(l,i){if(!l.setImmediate){var u,_,b,d,m=1,n={},f=!1,r=l.document,o=Object.getPrototypeOf&&Object.getPrototypeOf(l);o=o&&o.setTimeout?o:l,u={}.toString.call(l.process)==="[object process]"?function(S){process.nextTick(function(){p(S)})}:function(){if(l.postMessage&&!l.importScripts){var S=!0,k=l.onmessage;return l.onmessage=function(){S=!1},l.postMessage("","*"),l.onmessage=k,S}}()?(d="setImmediate$"+Math.random()+"$",l.addEventListener?l.addEventListener("message",y,!1):l.attachEvent("onmessage",y),function(S){l.postMessage(d+S,"*")}):l.MessageChannel?((b=new MessageChannel).port1.onmessage=function(S){p(S.data)},function(S){b.port2.postMessage(S)}):r&&"onreadystatechange"in r.createElement("script")?(_=r.documentElement,function(S){var k=r.createElement("script");k.onreadystatechange=function(){p(S),k.onreadystatechange=null,_.removeChild(k),k=null},_.appendChild(k)}):function(S){setTimeout(p,0,S)},o.setImmediate=function(S){typeof S!="function"&&(S=new Function(""+S));for(var k=new Array(arguments.length-1),F=0;F<k.length;F++)k[F]=arguments[F+1];var O={callback:S,args:k};return n[m]=O,u(m),m++},o.clearImmediate=a}function a(S){delete n[S]}function p(S){if(f)setTimeout(p,0,S);else{var k=n[S];if(k){f=!0;try{(function(F){var O=F.callback,j=F.args;switch(j.length){case 0:O();break;case 1:O(j[0]);break;case 2:O(j[0],j[1]);break;case 3:O(j[0],j[1],j[2]);break;default:O.apply(i,j)}})(k)}finally{a(S),f=!1}}}}function y(S){S.source===l&&typeof S.data=="string"&&S.data.indexOf(d)===0&&p(+S.data.slice(d.length))}})(typeof self>"u"?c===void 0?this:c:self)}).call(this,typeof xt<"u"?xt:typeof self<"u"?self:typeof window<"u"?window:{})},{}]},{},[10])(10)})})(jt);var Ve=jt.exports;const Ye=Ht(Ve),br=Ot({name:"card-type",props:{isActive:{type:Boolean,default:!1},draggable:{type:Boolean,default:!1},isCollect:{type:Boolean,default:!0},isShowCollect:{type:Boolean,default:!0},isShowAdd:{type:Boolean,default:!1},isShowAddDisabled:{type:Boolean,default:!1},disabledMouseHover:{type:Boolean,default:!0},isPreview:{type:Boolean,default:!0},item:{type:Object,default:()=>({})},offShelf:{type:Boolean,default:!1},isDownload:{type:Boolean,default:!1},audioPlayTypeSize:{type:String,deafult:"default"}},emits:["click","collect","add","offShelf"],setup(B,{emit:ht}){const v=Gt(),P=Rt(!1),w=Rt(!1),c=d=>{let m=ze;switch(d){case"IMG":m=ke;break;case"VIDEO":m=Se;break;case"SONG":m=xe;break;case"MUSIC":m=Ce;break;case"PPT":m=Ee;break}return m},l=d=>new Promise((m,n)=>{const f=new XMLHttpRequest;f.open("GET",d,!0),f.responseType="blob",f.onload=r=>{r.target.status==200?m(r.target.response):n(r)},f.send()}),i=(d,m)=>{const n=new Ye,f=[];for(const r in d){const o=l(d[r].url).then(a=>{n.file(d[r].name,a,{binary:!0})});f.push(o)}Promise.all(f).then(()=>{n.generateAsync({type:"blob"}).then(r=>{Ut.saveAs(r,m?m+Date.now()+".zip":"文件夹".concat(Date.now(),".zip"))})}).catch(()=>{v.error("下载失败")}),w.value=!1},u=(d,m)=>{fetch(m).then(n=>n.blob()).then(n=>{Ut.saveAs(n,d),setTimeout(()=>{w.value=!1},100)}).catch(()=>{v.error("下载失败")}),w.value=!1},_=d=>{const m=d.split("?"),n=/\/([^\\/]+)$/,f=m[0].match(n);return f?f[1]:""},b=async d=>{var r;d.stopPropagation(),d.preventDefault();const m=B.item;if(!m.content){v.error("下载失败");return}if(w.value)return!1;w.value=!0;const n=(r=m.content)==null?void 0:r.split("."),f=m.title+"."+n[(n==null?void 0:n.length)-1];if(m.type==="MUSIC"){const{data:o}=await Xt(m.content),a=[];o.xmlFileUrl&&a.push({url:o.xmlFileUrl,name:_(o.xmlFileUrl)}),o.background&&o.background.length>0&&o.background.forEach(p=>{a.push({url:p.audioFileUrl,name:_(p.audioFileUrl)})}),i(a,m.title)}else u(f,m.content)};return()=>tt("div",{onClick:()=>ht("click",B.item),key:B.item.id,draggable:B.draggable?!B.item.exist:!1,class:[q["card-section"],"card-section-container",B.draggable?B.item.exist?"":q.cardDrag:""],onMouseenter:()=>{P.value=!0},onMouseleave:()=>{P.value=!1},onDragstart:d=>{d.dataTransfer.setData("text",JSON.stringify(B.item))}},[B.offShelf&&tt("div",{class:q.offShelfBg},[tt("p",{class:q.offShelfTips},[Ft("该资源已被下架")]),tt(It,{type:"primary",class:q.offShelfBtn,onClick:d=>{d.stopPropagation(),ht("offShelf")}},{default:()=>[Ft("确认")]})]),tt(Vt,{class:[q["card-section-content"],B.isShowAdd?"":q.course,B.isActive?q.isActive:"",B.item.exist?q.showAddBtn:""],style:{cursor:"pointer"}},{cover:()=>tt(Nt,null,[B.item.type==="IMG"&&tt(pt,{class:[q.cover,q.image],lazy:!0,previewDisabled:B.disabledMouseHover,objectFit:"cover",src:B.item.coverImg,previewSrc:B.item.content,renderToolbar:({nodes:d})=>[d.prev,d.next,d.rotateCounterclockwise,d.rotateClockwise,d.resizeToOriginalSize,d.zoomOut,d.close]},null),B.item.type==="MUSIC"&&tt(Nt,null,[tt(pt,{class:[q.cover,q.image],lazy:!0,previewDisabled:!0,objectFit:"contain",src:B.item.coverImg},null),tt(Yt,{class:[q.audioPlayTypeSection,B.audioPlayTypeSize==="small"?q.audioPlayTypeSmall:""]},{default:()=>{var d,m;return[((d=B.item.audioPlayTypeArray)==null?void 0:d.includes("SING"))&&tt(Pt,{trigger:"hover",showArrow:!1},{trigger:()=>tt("span",{class:[q.iconType,q.iconSing]},null),default:"演唱场景"}),((m=B.item.audioPlayTypeArray)==null?void 0:m.includes("PLAY"))&&tt(Pt,{trigger:"hover",showArrow:!1},{trigger:()=>tt("span",{class:[q.iconType,q.iconPlay]},null),default:"演奏场景"})]}})]),B.item.type==="SONG"&&tt(Ue,{content:B.item.content,cover:B.item.coverImg,previewDisabled:B.disabledMouseHover},null),B.item.type==="VIDEO"&&tt(Ge,{cover:B.item.coverImg,content:B.item.content,previewDisabled:B.disabledMouseHover},null),B.item.type==="PPT"&&tt(pt,{class:[q.cover,q.image],lazy:!0,previewDisabled:!0,objectFit:"cover",src:B.item.coverImg||bt.PPT_DEFAULT_COVER},null),B.item.type==="RHYTHM"&&tt(pt,{class:[q.cover,q.image],lazy:!0,previewDisabled:!0,objectFit:"cover",src:B.item.coverImg||bt.RHYTHM_DEFAULT_COVER},null),B.item.type==="LISTEN"&&tt(pt,{class:[q.cover,q.image],lazy:!0,previewDisabled:!0,objectFit:"cover",src:B.item.coverImg},null),B.item.type==="THEORY"&&tt(pt,{class:[q.cover,q.image],lazy:!0,previewDisabled:!0,objectFit:"cover",src:B.item.coverImg||bt.THEORY_DEFAULT_COVER},null),B.item.type==="MUSIC_WIKI"&&tt(pt,{class:[q.cover,q.image],lazy:!0,previewDisabled:!0,objectFit:"cover",src:B.item.coverImg||bt.MUSIC_DEFAULT_COVER},null),B.item.type==="INSTRUMENT"&&tt(pt,{class:[q.cover,q.image],lazy:!0,previewDisabled:!0,objectFit:"cover",src:B.item.coverImg||bt.INSTRUMENT_DEFAULT_COVER},null),B.item.type==="MUSICIAN"&&tt(pt,{class:[q.cover,q.image],lazy:!0,previewDisabled:!0,objectFit:"cover",src:B.item.coverImg||bt.MUSICIAN_DEFAULT_COVER},null)]),footer:()=>tt("div",{class:q.footer},[tt("div",{class:[q.title,"footerTitle"]},[tt(pt,{class:[q.titleType],src:c(B.item.type),objectFit:"cover"},null),tt("span",{class:[q.titleContent,"titleContent"]},[tt(Kt,{isAnimation:P.value,text:B.item.title},null)])]),tt("div",{class:q.btnGroup},[B.isDownload&&tt("div",{class:q.btnItem,onClick:b},[tt(Qt,{show:w.value,size:"small"},{default:()=>[tt("img",{src:Oe,key:"3",class:[q.iconCollect]},null)]})]),B.isShowCollect&&tt("div",{class:[q.iconCollect,q.btnItem],onClick:d=>{d.stopPropagation(),d.preventDefault(),B.isCollect&&ht("collect",B.item)}},[tt(qt,{name:"favitor",mode:"out-in"},{default:()=>[B.item.isCollect?tt("img",{src:Ie,key:"1",class:[q.iconCollect,B.isCollect?q.isCollect:""]},null):tt("img",{src:Be,key:"2",class:[q.iconCollect,B.isCollect?q.isCollect:""]},null)]})])]),B.item.isSelected&&tt("span",{class:q.iconSelected},null),B.isShowAdd&&(B.item.exist?tt(It,{type:"primary",class:[q.addBtn,B.item.exist?q.addBtnDisabled:""],disabled:B.item.exist||B.isShowAddDisabled,onClick:d=>{d.stopPropagation(),d.preventDefault(),ht("add",B.item)}},{default:()=>[B.item.exist?"已添加":"添加"]}):!B.isShowAddDisabled&&tt(It,{type:"primary",class:[q.addBtn,B.item.exist?q.addBtnDisabled:""],disabled:B.item.exist||B.isShowAddDisabled,onClick:d=>{d.stopPropagation(),d.preventDefault(),ht("add",B.item)}},{default:()=>[B.item.exist?"已添加":"添加"]}))])})])}}),yr=B=>at.post("/edu-app/material/queryPage",{data:B}),wr=B=>at.post("/edu-app/material/favorite",{data:B}),Ar=B=>at.post("/edu-app/material/remove",{requestType:"form",data:B}),kr=B=>at.post("/edu-app/lessonCourseware/save",{data:B}),Sr=B=>at.post("/edu-app/material/save",{data:B}),xr=B=>at.post("/edu-app/material/updateAll",{data:B}),Cr=B=>at.post("/edu-app/material/removeMusic",{data:B});export{xe as A,Se as B,br as C,kr as D,ur as E,er as F,lr as G,sr as H,or as I,$e as a,vr as b,Je as c,gr as d,_r as e,mr as f,fr as g,dr as h,cr as i,pr as j,hr as k,Ke as l,ir as m,rr as n,tr as o,nr as p,yr as q,wr as r,Cr as s,ar as t,xr as u,Ar as v,Sr as w,ke as x,Ee as y,Ce as z};