/* PptxGenJS 3.12.0 @ 2023-03-20T03:12:31.375Z */ !function(t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this).JSZip=t()}(function(){return function r(a,o,i){function s(e,t){if(!o[e]){if(!a[e]){var n="function"==typeof require&&require;if(!t&&n)return n(e,!0);if(A)return A(e,!0);t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}n=o[e]={exports:{}};a[e][0].call(n.exports,function(t){return s(a[e][1][t]||t)},n,n.exports,r,a,o,i)}return o[e].exports}for(var A="function"==typeof require&&require,t=0;t>4,o=1>6:64,i=2>2)+p.charAt(a)+p.charAt(o)+p.charAt(i));return s.join("")},n.decode=function(t){var e,n,r,a,o,i=0,s=0;if("data:"===t.substr(0,"data:".length))throw new Error("Invalid base64 input, it looks like a data url.");var A,l=3*(t=t.replace(/[^A-Za-z0-9\+\/\=]/g,"")).length/4;if(t.charAt(t.length-1)===p.charAt(64)&&l--,t.charAt(t.length-2)===p.charAt(64)&&l--,l%1!=0)throw new Error("Invalid base64 input, bad content length.");for(A=new(c.uint8array?Uint8Array:Array)(0|l);i>4,n=(15&a)<<4|(a=p.indexOf(t.charAt(i++)))>>2,r=(3&a)<<6|(o=p.indexOf(t.charAt(i++))),A[s++]=e,64!==a&&(A[s++]=n),64!==o&&(A[s++]=r);return A}},{"./support":30,"./utils":32}],2:[function(t,e,n){"use strict";var r=t("./external"),a=t("./stream/DataWorker"),o=t("./stream/Crc32Probe"),i=t("./stream/DataLengthProbe");function s(t,e,n,r,a){this.compressedSize=t,this.uncompressedSize=e,this.crc32=n,this.compression=r,this.compressedContent=a}s.prototype={getContentWorker:function(){var t=new a(r.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new i("data_length")),e=this;return t.on("end",function(){if(this.streamInfo.data_length!==e.uncompressedSize)throw new Error("Bug : uncompressed data size mismatch")}),t},getCompressedWorker:function(){return new a(r.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}},s.createWorkerFrom=function(t,e,n){return t.pipe(new o).pipe(new i("uncompressedSize")).pipe(e.compressWorker(n)).pipe(new i("compressedSize")).withStreamInfo("compression",e)},e.exports=s},{"./external":6,"./stream/Crc32Probe":25,"./stream/DataLengthProbe":26,"./stream/DataWorker":27}],3:[function(t,e,n){"use strict";var r=t("./stream/GenericWorker");n.STORE={magic:"\0\0",compressWorker:function(t){return new r("STORE compression")},uncompressWorker:function(){return new r("STORE decompression")}},n.DEFLATE=t("./flate")},{"./flate":7,"./stream/GenericWorker":28}],4:[function(t,e,n){"use strict";var r=t("./utils"),i=function(){for(var t=[],e=0;e<256;e++){for(var n=e,r=0;r<8;r++)n=1&n?3988292384^n>>>1:n>>>1;t[e]=n}return t}();e.exports=function(t,e){return void 0!==t&&t.length?("string"!==r.getTypeOf(t)?function(t,e,n){var r=i,a=0+n;t^=-1;for(var o=0;o>>8^r[255&(t^e[o])];return-1^t}:function(t,e,n){var r=i,a=0+n;t^=-1;for(var o=0;o>>8^r[255&(t^e.charCodeAt(o))];return-1^t})(0|e,t,t.length):0}},{"./utils":32}],5:[function(t,e,n){"use strict";n.base64=!1,n.binary=!1,n.dir=!1,n.createFolders=!0,n.date=null,n.compression=null,n.compressionOptions=null,n.comment=null,n.unixPermissions=null,n.dosPermissions=null},{}],6:[function(t,e,n){"use strict";t="undefined"!=typeof Promise?Promise:t("lie");e.exports={Promise:t}},{lie:37}],7:[function(t,e,n){"use strict";var r="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Uint32Array,a=t("pako"),o=t("./utils"),i=t("./stream/GenericWorker"),s=r?"uint8array":"array";function A(t,e){i.call(this,"FlateWorker/"+t),this._pako=null,this._pakoAction=t,this._pakoOptions=e,this.meta={}}n.magic="\b\0",o.inherits(A,i),A.prototype.processChunk=function(t){this.meta=t.meta,null===this._pako&&this._createPako(),this._pako.push(o.transformTo(s,t.data),!1)},A.prototype.flush=function(){i.prototype.flush.call(this),null===this._pako&&this._createPako(),this._pako.push([],!0)},A.prototype.cleanUp=function(){i.prototype.cleanUp.call(this),this._pako=null},A.prototype._createPako=function(){this._pako=new a[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var e=this;this._pako.onData=function(t){e.push({data:t,meta:e.meta})}},n.compressWorker=function(t){return new A("Deflate",t)},n.uncompressWorker=function(){return new A("Inflate",{})}},{"./stream/GenericWorker":28,"./utils":32,pako:38}],8:[function(t,e,n){"use strict";function v(t,e){for(var n="",r=0;r>>=8;return n}function r(t,e,n,r,a,o){var i=t.file,s=t.compression,A=o!==b.utf8encode,l=y.transformTo("string",o(i.name)),c=y.transformTo("string",b.utf8encode(i.name)),u=i.comment,o=y.transformTo("string",o(u)),p=y.transformTo("string",b.utf8encode(u)),f=c.length!==i.name.length,u=p.length!==u.length,d="",h=i.dir,g=i.date,m={crc32:0,compressedSize:0,uncompressedSize:0},n=(e&&!n||(m.crc32=t.crc32,m.compressedSize=t.compressedSize,m.uncompressedSize=t.uncompressedSize),0);e&&(n|=8),A||!f&&!u||(n|=2048);t=0,e=0,h&&(t|=16),"UNIX"===a?(e=798,t|=(65535&(i.unixPermissions||(h?16893:33204)))<<16):(e=20,t|=63&(i.dosPermissions||0)),A=g.getUTCHours(),A=(A=((A<<=6)|g.getUTCMinutes())<<5)|g.getUTCSeconds()/2,a=g.getUTCFullYear()-1980,a=(a=((a<<=4)|g.getUTCMonth()+1)<<5)|g.getUTCDate(),f&&(d+="up"+v((h=v(1,1)+v(w(l),4)+c).length,2)+h),u&&(d+="uc"+v((i=v(1,1)+v(w(o),4)+p).length,2)+i),g="",g=(g=(g=(g=(g=(g=(g=(g=(g=(g+="\n\0")+v(n,2))+s.magic)+v(A,2))+v(a,2))+v(m.crc32,4))+v(m.compressedSize,4))+v(m.uncompressedSize,4))+v(l.length,2))+v(d.length,2);return{fileRecord:x.LOCAL_FILE_HEADER+g+l+d,dirRecord:x.CENTRAL_FILE_HEADER+v(e,2)+g+v(o.length,2)+"\0\0\0\0"+v(t,4)+v(r,4)+l+d+o}}var y=t("../utils"),a=t("../stream/GenericWorker"),b=t("../utf8"),w=t("../crc32"),x=t("../signature");function o(t,e,n,r){a.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=e,this.zipPlatform=n,this.encodeFileName=r,this.streamFiles=t,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}y.inherits(o,a),o.prototype.push=function(t){var e=t.meta.percent||0,n=this.entriesCount,r=this._sources.length;this.accumulate?this.contentBuffer.push(t):(this.bytesWritten+=t.data.length,a.prototype.push.call(this,{data:t.data,meta:{currentFile:this.currentFile,percent:n?(e+100*(n-r-1))/n:100}}))},o.prototype.openedSource=function(t){this.currentSourceOffset=this.bytesWritten,this.currentFile=t.file.name;var e=this.streamFiles&&!t.file.dir;e?(t=r(t,e,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName),this.push({data:t.fileRecord,meta:{percent:0}})):this.accumulate=!0},o.prototype.closedSource=function(t){this.accumulate=!1;var e=this.streamFiles&&!t.file.dir,n=r(t,e,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(n.dirRecord),e)this.push({data:x.DATA_DESCRIPTOR+v((e=t).crc32,4)+v(e.compressedSize,4)+v(e.uncompressedSize,4),meta:{percent:100}});else for(this.push({data:n.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},o.prototype.flush=function(){for(var t=this.bytesWritten,e=0;e=this.index;e--)n=(n<<8)+this.byteAt(e);return this.index+=t,n},readString:function(t){return r.transformTo("string",this.readData(t))},readData:function(t){},lastIndexOfSignature:function(t){},readAndCheckSignature:function(t){},readDate:function(){var t=this.readInt(4);return new Date(Date.UTC(1980+(t>>25&127),(t>>21&15)-1,t>>16&31,t>>11&31,t>>5&63,(31&t)<<1))}},e.exports=a},{"../utils":32}],19:[function(t,e,n){"use strict";var r=t("./Uint8ArrayReader");function a(t){r.call(this,t)}t("../utils").inherits(a,r),a.prototype.readData=function(t){this.checkOffset(t);var e=this.data.slice(this.zero+this.index,this.zero+this.index+t);return this.index+=t,e},e.exports=a},{"../utils":32,"./Uint8ArrayReader":21}],20:[function(t,e,n){"use strict";var r=t("./DataReader");function a(t){r.call(this,t)}t("../utils").inherits(a,r),a.prototype.byteAt=function(t){return this.data.charCodeAt(this.zero+t)},a.prototype.lastIndexOfSignature=function(t){return this.data.lastIndexOf(t)-this.zero},a.prototype.readAndCheckSignature=function(t){return t===this.readData(4)},a.prototype.readData=function(t){this.checkOffset(t);var e=this.data.slice(this.zero+this.index,this.zero+this.index+t);return this.index+=t,e},e.exports=a},{"../utils":32,"./DataReader":18}],21:[function(t,e,n){"use strict";var r=t("./ArrayReader");function a(t){r.call(this,t)}t("../utils").inherits(a,r),a.prototype.readData=function(t){var e;return this.checkOffset(t),0===t?new Uint8Array(0):(e=this.data.subarray(this.zero+this.index,this.zero+this.index+t),this.index+=t,e)},e.exports=a},{"../utils":32,"./ArrayReader":17}],22:[function(t,e,n){"use strict";var r=t("../utils"),a=t("../support"),o=t("./ArrayReader"),i=t("./StringReader"),s=t("./NodeBufferReader"),A=t("./Uint8ArrayReader");e.exports=function(t){var e=r.getTypeOf(t);return r.checkSupport(e),"string"!==e||a.uint8array?"nodebuffer"===e?new s(t):a.uint8array?new A(r.transformTo("uint8array",t)):new o(r.transformTo("array",t)):new i(t)}},{"../support":30,"../utils":32,"./ArrayReader":17,"./NodeBufferReader":19,"./StringReader":20,"./Uint8ArrayReader":21}],23:[function(t,e,n){"use strict";n.LOCAL_FILE_HEADER="PK",n.CENTRAL_FILE_HEADER="PK",n.CENTRAL_DIRECTORY_END="PK",n.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK",n.ZIP64_CENTRAL_DIRECTORY_END="PK",n.DATA_DESCRIPTOR="PK\b"},{}],24:[function(t,e,n){"use strict";var r=t("./GenericWorker"),a=t("../utils");function o(t){r.call(this,"ConvertWorker to "+t),this.destType=t}a.inherits(o,r),o.prototype.processChunk=function(t){this.push({data:a.transformTo(this.destType,t.data),meta:t.meta})},e.exports=o},{"../utils":32,"./GenericWorker":28}],25:[function(t,e,n){"use strict";var r=t("./GenericWorker"),a=t("../crc32");function o(){r.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}t("../utils").inherits(o,r),o.prototype.processChunk=function(t){this.streamInfo.crc32=a(t.data,this.streamInfo.crc32||0),this.push(t)},e.exports=o},{"../crc32":4,"../utils":32,"./GenericWorker":28}],26:[function(t,e,n){"use strict";var r=t("../utils"),a=t("./GenericWorker");function o(t){a.call(this,"DataLengthProbe for "+t),this.propName=t,this.withStreamInfo(t,0)}r.inherits(o,a),o.prototype.processChunk=function(t){var e;t&&(e=this.streamInfo[this.propName]||0,this.streamInfo[this.propName]=e+t.data.length),a.prototype.processChunk.call(this,t)},e.exports=o},{"../utils":32,"./GenericWorker":28}],27:[function(t,e,n){"use strict";var r=t("../utils"),a=t("./GenericWorker");function o(t){a.call(this,"DataWorker");var e=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type="",this._tickScheduled=!1,t.then(function(t){e.dataIsReady=!0,e.data=t,e.max=t&&t.length||0,e.type=r.getTypeOf(t),e.isPaused||e._tickAndRepeat()},function(t){e.error(t)})}r.inherits(o,a),o.prototype.cleanUp=function(){a.prototype.cleanUp.call(this),this.data=null},o.prototype.resume=function(){return!!a.prototype.resume.call(this)&&(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,r.delay(this._tickAndRepeat,[],this)),!0)},o.prototype._tickAndRepeat=function(){this._tickScheduled=!1,this.isPaused||this.isFinished||(this._tick(),this.isFinished)||(r.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0)},o.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var t=null,e=Math.min(this.max,this.index+16384);if(this.index>=this.max)return this.end();switch(this.type){case"string":t=this.data.substring(this.index,e);break;case"uint8array":t=this.data.subarray(this.index,e);break;case"array":case"nodebuffer":t=this.data.slice(this.index,e)}return this.index=e,this.push({data:t,meta:{percent:this.max?this.index/this.max*100:0}})},e.exports=o},{"../utils":32,"./GenericWorker":28}],28:[function(t,e,n){"use strict";function r(t){this.name=t||"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}r.prototype={push:function(t){this.emit("data",t)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit("end"),this.cleanUp(),this.isFinished=!0}catch(t){this.emit("error",t)}return!0},error:function(t){return!this.isFinished&&(this.isPaused?this.generatedError=t:(this.isFinished=!0,this.emit("error",t),this.previous&&this.previous.error(t),this.cleanUp()),!0)},on:function(t,e){return this._listeners[t].push(e),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function(t,e){if(this._listeners[t])for(var n=0;n "+t:t}},e.exports=r},{}],29:[function(t,e,n){"use strict";var l=t("../utils"),a=t("./ConvertWorker"),o=t("./GenericWorker"),c=t("../base64"),r=t("../support"),i=t("../external"),s=null;if(r.nodestream)try{s=t("../nodejs/NodejsStreamOutputAdapter")}catch(t){}function A(t,e,n){var r=e;switch(e){case"blob":case"arraybuffer":r="uint8array";break;case"base64":r="string"}try{this._internalType=r,this._outputType=e,this._mimeType=n,l.checkSupport(r),this._worker=t.pipe(new a(r)),t.lock()}catch(t){this._worker=new o("error"),this._worker.error(t)}}A.prototype={accumulate:function(t){return s=this,A=t,new i.Promise(function(e,n){var r=[],a=s._internalType,o=s._outputType,i=s._mimeType;s.on("data",function(t,e){r.push(t),A&&A(e)}).on("error",function(t){r=[],n(t)}).on("end",function(){try{var t=function(t,e,n){switch(t){case"blob":return l.newBlob(l.transformTo("arraybuffer",e),n);case"base64":return c.encode(e);default:return l.transformTo(t,e)}}(o,function(t,e){for(var n=0,r=null,a=0,o=0;o>>6:(n<65536?e[a++]=224|n>>>12:(e[a++]=240|n>>>18,e[a++]=128|n>>>12&63),e[a++]=128|n>>>6&63),e[a++]=128|63&n);return e},a.utf8decode=function(t){if(l.nodebuffer)return A.transformTo("nodebuffer",t).toString("utf-8");for(var e,n,r,a=t=A.transformTo(l.uint8array?"uint8array":"array",t),o=a.length,i=new Array(2*o),s=e=0;s>10&1023,i[e++]=56320|1023&n)}return i.length!==e&&(i.subarray?i=i.subarray(0,e):i.length=e),A.applyFromCharCode(i)},A.inherits(o,n),o.prototype.processChunk=function(t){var e=A.transformTo(l.uint8array?"uint8array":"array",t.data),n=(this.leftOver&&this.leftOver.length&&(l.uint8array?(n=e,(e=new Uint8Array(n.length+this.leftOver.length)).set(this.leftOver,0),e.set(n,this.leftOver.length)):e=this.leftOver.concat(e),this.leftOver=null),function(t,e){for(var n=(e=(e=e||t.length)>t.length?t.length:e)-1;0<=n&&128==(192&t[n]);)n--;return!(n<0)&&0!==n&&n+u[t[n]]>e?n:e}(e)),r=e;n!==e.length&&(l.uint8array?(r=e.subarray(0,n),this.leftOver=e.subarray(n,e.length)):(r=e.slice(0,n),this.leftOver=e.slice(n,e.length))),this.push({data:a.utf8decode(r),meta:t.meta})},o.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:a.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},a.Utf8DecodeWorker=o,A.inherits(i,n),i.prototype.processChunk=function(t){this.push({data:a.utf8encode(t.data),meta:t.meta})},a.Utf8EncodeWorker=i},{"./nodejsUtils":14,"./stream/GenericWorker":28,"./support":30,"./utils":32}],32:[function(t,e,i){"use strict";var s=t("./support"),A=t("./base64"),n=t("./nodejsUtils"),r=t("set-immediate-shim"),l=t("./external");function a(t){return t}function c(t,e){for(var n=0;n>8;this.dir=!!(16&this.externalFileAttributes),0==t&&(this.dosPermissions=63&this.externalFileAttributes),3==t&&(this.unixPermissions=this.externalFileAttributes>>16&65535),this.dir||"/"!==this.fileNameStr.slice(-1)||(this.dir=!0)},parseZIP64ExtraField:function(t){var e;this.extraFields[1]&&(e=r(this.extraFields[1].value),this.uncompressedSize===a.MAX_VALUE_32BITS&&(this.uncompressedSize=e.readInt(8)),this.compressedSize===a.MAX_VALUE_32BITS&&(this.compressedSize=e.readInt(8)),this.localHeaderOffset===a.MAX_VALUE_32BITS&&(this.localHeaderOffset=e.readInt(8)),this.diskNumberStart===a.MAX_VALUE_32BITS)&&(this.diskNumberStart=e.readInt(4))},readExtraFields:function(t){var e,n,r,a=t.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});t.index+4>>6:(n<65536?e[a++]=224|n>>>12:(e[a++]=240|n>>>18,e[a++]=128|n>>>12&63),e[a++]=128|n>>>6&63),e[a++]=128|63&n);return e},n.buf2binstring=function(t){return c(t,t.length)},n.binstring2buf=function(t){for(var e=new A.Buf8(t.length),n=0,r=e.length;n>10&1023,i[n++]=56320|1023&r)}return c(i,n)},n.utf8border=function(t,e){for(var n=(e=(e=e||t.length)>t.length?t.length:e)-1;0<=n&&128==(192&t[n]);)n--;return!(n<0)&&0!==n&&n+l[t[n]]>e?n:e}},{"./common":41}],43:[function(t,e,n){"use strict";e.exports=function(t,e,n,r){for(var a=65535&t|0,o=t>>>16&65535|0,i=0;0!==n;){for(n-=i=2e3>>1:n>>>1;t[e]=n}return t}();e.exports=function(t,e,n,r){var a=s,o=r+n;t^=-1;for(var i=r;i>>8^a[255&(t^e[i])];return-1^t}},{}],46:[function(t,R,e){"use strict";var s,u=t("../utils/common"),A=t("./trees"),p=t("./adler32"),f=t("./crc32"),n=t("./messages"),l=0,c=0,d=-2,r=2,h=8,a=286,o=30,i=19,O=2*a+1,M=15,g=3,m=258,v=m+g+1,y=42,b=113;function w(t,e){return t.msg=n[e],e}function x(t){return(t<<1)-(4t.avail_out?t.avail_out:n)&&(u.arraySet(t.output,e.pending_buf,e.pending_out,n,t.next_out),t.next_out+=n,e.pending_out+=n,t.total_out+=n,t.avail_out-=n,e.pending-=n,0===e.pending)&&(e.pending_out=0)}function S(t,e){A._tr_flush_block(t,0<=t.block_start?t.block_start:-1,t.strstart-t.block_start,e),t.block_start=t.strstart,P(t.strm)}function L(t,e){t.pending_buf[t.pending++]=e}function E(t,e){t.pending_buf[t.pending++]=e>>>8&255,t.pending_buf[t.pending++]=255&e}function T(t,e){var n,r,a=t.max_chain_length,o=t.strstart,i=t.prev_length,s=t.nice_match,A=t.strstart>t.w_size-v?t.strstart-(t.w_size-v):0,l=t.window,c=t.w_mask,u=t.prev,p=t.strstart+m,f=l[o+i-1],d=l[o+i];t.prev_length>=t.good_match&&(a>>=2),s>t.lookahead&&(s=t.lookahead);do{if(l[(n=e)+i]===d&&l[n+i-1]===f&&l[n]===l[o]&&l[++n]===l[o+1]){for(o+=2,n++;l[++o]===l[++n]&&l[++o]===l[++n]&&l[++o]===l[++n]&&l[++o]===l[++n]&&l[++o]===l[++n]&&l[++o]===l[++n]&&l[++o]===l[++n]&&l[++o]===l[++n]&&oA&&0!=--a);return i<=t.lookahead?i:t.lookahead}function B(t){var e,n,r,a,o,i,s,A,l,c=t.w_size;do{if(A=t.window_size-t.lookahead-t.strstart,t.strstart>=c+(c-v)){for(u.arraySet(t.window,t.window,c,c,0),t.match_start-=c,t.strstart-=c,t.block_start-=c,e=n=t.hash_size;r=t.head[--e],t.head[e]=c<=r?r-c:0,--n;);for(e=n=c;r=t.prev[--e],t.prev[e]=c<=r?r-c:0,--n;);A+=c}if(0===t.strm.avail_in)break;if(o=t.strm,i=t.window,s=t.strstart+t.lookahead,l=void 0,n=0===(l=(A=A)<(l=o.avail_in)?A:l)?0:(o.avail_in-=l,u.arraySet(i,o.input,o.next_in,l,s),1===o.state.wrap?o.adler=p(o.adler,i,l,s):2===o.state.wrap&&(o.adler=f(o.adler,i,l,s)),o.next_in+=l,o.total_in+=l,l),t.lookahead+=n,t.lookahead+t.insert>=g)for(a=t.strstart-t.insert,t.ins_h=t.window[a],t.ins_h=(t.ins_h<=g&&(t.ins_h=(t.ins_h<=g)if(r=A._tr_tally(t,t.strstart-t.match_start,t.match_length-g),t.lookahead-=t.match_length,t.match_length<=t.max_lazy_match&&t.lookahead>=g){for(t.match_length--;t.strstart++,t.ins_h=(t.ins_h<=g&&(t.ins_h=(t.ins_h<=g&&t.match_length<=t.prev_length){for(a=t.strstart+t.lookahead-g,r=A._tr_tally(t,t.strstart-1-t.prev_match,t.prev_length-g),t.lookahead-=t.prev_length-1,t.prev_length-=2;++t.strstart<=a&&(t.ins_h=(t.ins_h<t.pending_buf_size-5&&(n=t.pending_buf_size-5);;){if(t.lookahead<=1){if(B(t),0===t.lookahead&&e===l)return 1;if(0===t.lookahead)break}t.strstart+=t.lookahead,t.lookahead=0;var r=t.block_start+n;if((0===t.strstart||t.strstart>=r)&&(t.lookahead=t.strstart-r,t.strstart=r,S(t,!1),0===t.strm.avail_out))return 1;if(t.strstart-t.block_start>=t.w_size-v&&(S(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,4===e?(S(t,!0),0===t.strm.avail_out?3:4):(t.strstart>t.block_start&&(S(t,!1),t.strm.avail_out),1)}),new k(4,4,8,4,D),new k(4,5,16,8,D),new k(4,6,32,32,D),new k(4,4,16,16,_),new k(8,16,32,32,_),new k(8,16,128,128,_),new k(8,32,128,256,_),new k(32,128,258,1024,_),new k(32,258,258,4096,_)],e.deflateInit=function(t,e){return I(t,e,h,15,8,0)},e.deflateInit2=I,e.deflateReset=F,e.deflateResetKeep=N,e.deflateSetHeader=function(t,e){return!t||!t.state||2!==t.state.wrap?d:(t.state.gzhead=e,c)},e.deflate=function(t,e){var n,r,a,o;if(!t||!t.state||5>8&255),L(r,r.gzhead.time>>16&255),L(r,r.gzhead.time>>24&255),L(r,9===r.level?2:2<=r.strategy||r.level<2?4:0),L(r,255&r.gzhead.os),r.gzhead.extra&&r.gzhead.extra.length&&(L(r,255&r.gzhead.extra.length),L(r,r.gzhead.extra.length>>8&255)),r.gzhead.hcrc&&(t.adler=f(t.adler,r.pending_buf,r.pending,0)),r.gzindex=0,r.status=69):(L(r,0),L(r,0),L(r,0),L(r,0),L(r,0),L(r,9===r.level?2:2<=r.strategy||r.level<2?4:0),L(r,3),r.status=b)):(i=h+(r.w_bits-8<<4)<<8,i|=(2<=r.strategy||r.level<2?0:r.level<6?1:6===r.level?2:3)<<6,0!==r.strstart&&(i|=32),i+=31-i%31,r.status=b,E(r,i),0!==r.strstart&&(E(r,t.adler>>>16),E(r,65535&t.adler)),t.adler=1)),69===r.status)if(r.gzhead.extra){for(a=r.pending;r.gzindex<(65535&r.gzhead.extra.length)&&(r.pending!==r.pending_buf_size||(r.gzhead.hcrc&&r.pending>a&&(t.adler=f(t.adler,r.pending_buf,r.pending-a,a)),P(t),a=r.pending,r.pending!==r.pending_buf_size));)L(r,255&r.gzhead.extra[r.gzindex]),r.gzindex++;r.gzhead.hcrc&&r.pending>a&&(t.adler=f(t.adler,r.pending_buf,r.pending-a,a)),r.gzindex===r.gzhead.extra.length&&(r.gzindex=0,r.status=73)}else r.status=73;if(73===r.status)if(r.gzhead.name){a=r.pending;do{if(r.pending===r.pending_buf_size&&(r.gzhead.hcrc&&r.pending>a&&(t.adler=f(t.adler,r.pending_buf,r.pending-a,a)),P(t),a=r.pending,r.pending===r.pending_buf_size)){o=1;break}}while(o=r.gzindexa&&(t.adler=f(t.adler,r.pending_buf,r.pending-a,a)),0===o&&(r.gzindex=0,r.status=91)}else r.status=91;if(91===r.status)if(r.gzhead.comment){a=r.pending;do{if(r.pending===r.pending_buf_size&&(r.gzhead.hcrc&&r.pending>a&&(t.adler=f(t.adler,r.pending_buf,r.pending-a,a)),P(t),a=r.pending,r.pending===r.pending_buf_size)){o=1;break}}while(o=r.gzindexa&&(t.adler=f(t.adler,r.pending_buf,r.pending-a,a)),0===o&&(r.status=103)}else r.status=103;if(103===r.status&&(r.gzhead.hcrc?(r.pending+2>r.pending_buf_size&&P(t),r.pending+2<=r.pending_buf_size&&(L(r,255&t.adler),L(r,t.adler>>8&255),t.adler=0,r.status=b)):r.status=b),0!==r.pending){if(P(t),0===t.avail_out)return r.last_flush=-1,c}else if(0===t.avail_in&&x(e)<=x(n)&&4!==e)return w(t,-5);if(666===r.status&&0!==t.avail_in)return w(t,-5);if(0!==t.avail_in||0!==r.lookahead||e!==l&&666!==r.status){var i=2===r.strategy?function(t,e){for(var n;;){if(0===t.lookahead&&(B(t),0===t.lookahead)){if(e===l)return 1;break}if(t.match_length=0,n=A._tr_tally(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++,n&&(S(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,4===e?(S(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(S(t,!1),0===t.strm.avail_out)?1:2}(r,e):3===r.strategy?function(t,e){for(var n,r,a,o,i=t.window;;){if(t.lookahead<=m){if(B(t),t.lookahead<=m&&e===l)return 1;if(0===t.lookahead)break}if(t.match_length=0,t.lookahead>=g&&0t.lookahead&&(t.match_length=t.lookahead)}if(t.match_length>=g?(n=A._tr_tally(t,1,t.match_length-g),t.lookahead-=t.match_length,t.strstart+=t.match_length,t.match_length=0):(n=A._tr_tally(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++),n&&(S(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,4===e?(S(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(S(t,!1),0===t.strm.avail_out)?1:2}(r,e):s[r.level].func(r,e);if(3!==i&&4!==i||(r.status=666),1===i||3===i)return 0===t.avail_out&&(r.last_flush=-1),c;if(2===i&&(1===e?A._tr_align(r):5!==e&&(A._tr_stored_block(r,0,0,!1),3===e)&&(C(r.head),0===r.lookahead)&&(r.strstart=0,r.block_start=0,r.insert=0),P(t),0===t.avail_out))return r.last_flush=-1,c}return 4!==e||!(r.wrap<=0)&&(2===r.wrap?(L(r,255&t.adler),L(r,t.adler>>8&255),L(r,t.adler>>16&255),L(r,t.adler>>24&255),L(r,255&t.total_in),L(r,t.total_in>>8&255),L(r,t.total_in>>16&255),L(r,t.total_in>>24&255)):(E(r,t.adler>>>16),E(r,65535&t.adler)),P(t),0=n.w_size&&(0===o&&(C(n.head),n.strstart=0,n.block_start=0,n.insert=0),A=new u.Buf8(n.w_size),u.arraySet(A,e,l-n.w_size,n.w_size,0),e=A,l=n.w_size),A=t.avail_in,i=t.next_in,s=t.input,t.avail_in=l,t.next_in=0,t.input=e,B(n);n.lookahead>=g;){for(r=n.strstart,a=n.lookahead-(g-1);n.ins_h=(n.ins_h<>>=r=n>>>24,x-=r,0==(r=n>>>16&255))f[p++]=65535&n;else{if(!(16&r)){if(0==(64&r)){n=C[(65535&n)+(w&(1<>>=r,x-=r),x<15&&(w+=c[l++]<>>=r=n>>>24,x-=r,!(16&(r=n>>>16&255))){if(0==(64&r)){n=P[(65535&n)+(w&(1<>>=r,x-=r,(r=p-d)>3,w&=(1<<(x-=a<<3))-1,t.next_in=l,t.next_out=p,t.avail_in=l>>24&255)+(t>>>8&65280)+((65280&t)<<8)+((255&t)<<24)}function o(){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 _.Buf16(320),this.work=new _.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function i(t){var e;return t&&t.state?(e=t.state,t.total_in=t.total_out=e.total=0,t.msg="",e.wrap&&(t.adler=1&e.wrap),e.mode=M,e.last=0,e.havedict=0,e.dmax=32768,e.head=null,e.hold=0,e.bits=0,e.lencode=e.lendyn=new _.Buf32(r),e.distcode=e.distdyn=new _.Buf32(a),e.sane=1,e.back=-1,R):O}function s(t){var e;return t&&t.state?((e=t.state).wsize=0,e.whave=0,e.wnext=0,i(t)):O}function A(t,e){var n,r;return!t||!t.state||(r=t.state,e<0?(n=0,e=-e):(n=1+(e>>4),e<48&&(e&=15)),e&&(e<8||15=t.wsize?(_.arraySet(t.window,e,n-t.wsize,t.wsize,0),t.wnext=0,t.whave=t.wsize):(r<(a=t.wsize-t.wnext)&&(a=r),_.arraySet(t.window,e,n-r,a,t.wnext),(r-=a)?(_.arraySet(t.window,e,n-r,r,0),t.wnext=r,t.whave=t.wsize):(t.wnext+=a,t.wnext===t.wsize&&(t.wnext=0),t.whave>>8&255,n.check=N(n.check,E,2,0),c=l=0,n.mode=2;else if(n.flags=0,n.head&&(n.head.done=!1),!(1&n.wrap)||(((255&l)<<8)+(l>>8))%31)t.msg="incorrect header check",n.mode=30;else if(8!=(15&l))t.msg="unknown compression method",n.mode=30;else{if(c-=4,x=8+(15&(l>>>=4)),0===n.wbits)n.wbits=x;else if(x>n.wbits){t.msg="invalid window size",n.mode=30;break}n.dmax=1<>8&1),512&n.flags&&(E[0]=255&l,E[1]=l>>>8&255,n.check=N(n.check,E,2,0)),c=l=0,n.mode=3;case 3:for(;c<32;){if(0===s)break t;s--,l+=r[o++]<>>8&255,E[2]=l>>>16&255,E[3]=l>>>24&255,n.check=N(n.check,E,4,0)),c=l=0,n.mode=4;case 4:for(;c<16;){if(0===s)break t;s--,l+=r[o++]<>8),512&n.flags&&(E[0]=255&l,E[1]=l>>>8&255,n.check=N(n.check,E,2,0)),c=l=0,n.mode=5;case 5:if(1024&n.flags){for(;c<16;){if(0===s)break t;s--,l+=r[o++]<>>8&255,n.check=N(n.check,E,2,0)),c=l=0}else n.head&&(n.head.extra=null);n.mode=6;case 6:if(1024&n.flags&&((f=s<(f=n.length)?s:f)&&(n.head&&(x=n.head.extra_len-n.length,n.head.extra||(n.head.extra=new Array(n.head.extra_len)),_.arraySet(n.head.extra,r,o,f,x)),512&n.flags&&(n.check=N(n.check,r,f,o)),s-=f,o+=f,n.length-=f),n.length))break t;n.length=0,n.mode=7;case 7:if(2048&n.flags){if(0===s)break t;for(f=0;x=r[o+f++],n.head&&x&&n.length<65536&&(n.head.name+=String.fromCharCode(x)),x&&f>9&1,n.head.done=!0),t.adler=n.check=0,n.mode=12;break;case 10:for(;c<32;){if(0===s)break t;s--,l+=r[o++]<>>=7&c,c-=7&c,n.mode=27;else{for(;c<3;){if(0===s)break t;s--,l+=r[o++]<>>=1)){case 0:n.mode=14;break;case 1:B=D=void 0;var B,D=n;if(G){for(U=new _.Buf32(512),j=new _.Buf32(32),B=0;B<144;)D.lens[B++]=8;for(;B<256;)D.lens[B++]=9;for(;B<280;)D.lens[B++]=7;for(;B<288;)D.lens[B++]=8;for(I(1,D.lens,0,288,U,0,D.work,{bits:9}),B=0;B<32;)D.lens[B++]=5;I(2,D.lens,0,32,j,0,D.work,{bits:5}),G=!1}if(D.lencode=U,D.lenbits=9,D.distcode=j,D.distbits=5,n.mode=20,6!==e)break;l>>>=2,c-=2;break t;case 2:n.mode=17;break;case 3:t.msg="invalid block type",n.mode=30}l>>>=2,c-=2}break;case 14:for(l>>>=7&c,c-=7&c;c<32;){if(0===s)break t;s--,l+=r[o++]<>>16^65535)){t.msg="invalid stored block lengths",n.mode=30;break}if(n.length=65535&l,c=l=0,n.mode=15,6===e)break t;case 15:n.mode=16;case 16:if(f=n.length){if(0===(f=A<(f=s>>=5,c-=5,n.ndist=1+(31&l),l>>>=5,c-=5,n.ncode=4+(15&l),l>>>=4,c-=4,286>>=3,c-=3}for(;n.have<19;)n.lens[T[n.have++]]=0;if(n.lencode=n.lendyn,n.lenbits=7,P={bits:n.lenbits},C=I(0,n.lens,0,19,n.lencode,0,n.work,P),n.lenbits=P.bits,C){t.msg="invalid code lengths set",n.mode=30;break}n.have=0,n.mode=19;case 19:for(;n.have>>16&255,v=65535&L,!((g=L>>>24)<=c);){if(0===s)break t;s--,l+=r[o++]<>>=g,c-=g,n.lens[n.have++]=v;else{if(16===v){for(S=g+2;c>>=g,c-=g,0===n.have){t.msg="invalid bit length repeat",n.mode=30;break}x=n.lens[n.have-1],f=3+(3&l),l>>>=2,c-=2}else if(17===v){for(S=g+3;c>>=g)),l>>>=3,c=c-g-3}else{for(S=g+7;c>>=g)),l>>>=7,c=c-g-7}if(n.have+f>n.nlen+n.ndist){t.msg="invalid bit length repeat",n.mode=30;break}for(;f--;)n.lens[n.have++]=x}}if(30===n.mode)break;if(0===n.lens[256]){t.msg="invalid code -- missing end-of-block",n.mode=30;break}if(n.lenbits=9,P={bits:n.lenbits},C=I(1,n.lens,0,n.nlen,n.lencode,0,n.work,P),n.lenbits=P.bits,C){t.msg="invalid literal/lengths set",n.mode=30;break}if(n.distbits=6,n.distcode=n.distdyn,P={bits:n.distbits},C=I(2,n.lens,n.nlen,n.ndist,n.distcode,0,n.work,P),n.distbits=P.bits,C){t.msg="invalid distances set",n.mode=30;break}if(n.mode=20,6===e)break t;case 20:n.mode=21;case 21:if(6<=s&&258<=A){t.next_out=i,t.avail_out=A,t.next_in=o,t.avail_in=s,n.hold=l,n.bits=c,F(t,p),i=t.next_out,a=t.output,A=t.avail_out,o=t.next_in,r=t.input,s=t.avail_in,l=n.hold,c=n.bits,12===n.mode&&(n.back=-1);break}for(n.back=0;m=(L=n.lencode[l&(1<>>16&255,v=65535&L,!((g=L>>>24)<=c);){if(0===s)break t;s--,l+=r[o++]<>y)])>>>16&255,v=65535&L,!(y+(g=L>>>24)<=c);){if(0===s)break t;s--,l+=r[o++]<>>=y,c-=y,n.back+=y}if(l>>>=g,c-=g,n.back+=g,n.length=v,0===m){n.mode=26;break}if(32&m){n.back=-1,n.mode=12;break}if(64&m){t.msg="invalid literal/length code",n.mode=30;break}n.extra=15&m,n.mode=22;case 22:if(n.extra){for(S=n.extra;c>>=n.extra,c-=n.extra,n.back+=n.extra}n.was=n.length,n.mode=23;case 23:for(;m=(L=n.distcode[l&(1<>>16&255,v=65535&L,!((g=L>>>24)<=c);){if(0===s)break t;s--,l+=r[o++]<>y)])>>>16&255,v=65535&L,!(y+(g=L>>>24)<=c);){if(0===s)break t;s--,l+=r[o++]<>>=y,c-=y,n.back+=y}if(l>>>=g,c-=g,n.back+=g,64&m){t.msg="invalid distance code",n.mode=30;break}n.offset=v,n.extra=15&m,n.mode=24;case 24:if(n.extra){for(S=n.extra;c>>=n.extra,c-=n.extra,n.back+=n.extra}if(n.offset>n.dmax){t.msg="invalid distance too far back",n.mode=30;break}n.mode=25;case 25:if(0===A)break t;if(n.offset>(f=p-A)){if((f=n.offset-f)>n.whave&&n.sane){t.msg="invalid distance too far back",n.mode=30;break}d=f>n.wnext?(f-=n.wnext,n.wsize-f):n.wnext-f,f>n.length&&(f=n.length),h=n.window}else h=a,d=i-n.offset,f=n.length;for(A-=f=Af?(h=k[N+i[y]],T[B+i[y]]):(h=96,0),A=1<<(d=v-P),b=l=1<>P)+(l-=A)]=d<<24|h<<16|g|0,0!==l;);for(A=1<>=1;if(0!==A?E=(E&A-1)+A:E=0,y++,0==--D[v]){if(v===w)break;v=e[n+i[y]]}if(x>>7)]}function o(t,e){t.pending_buf[t.pending++]=255&e,t.pending_buf[t.pending++]=e>>>8&255}function C(t,e,n){t.bi_valid>r-n?(t.bi_buf|=e<>r-t.bi_valid,t.bi_valid+=n-r):(t.bi_buf|=e<>>=1,n<<=1,0<--e;);return n>>>1}function L(t,e,n){for(var r,a=new Array(16),o=0,i=1;i<=15;i++)a[i]=o=o+n[i-1]<<1;for(r=0;r<=e;r++){var s=t[2*r+1];0!==s&&(t[2*r]=S(a[s]++,s))}}function E(t){for(var e=0;e<286;e++)t.dyn_ltree[2*e]=0;for(e=0;e<30;e++)t.dyn_dtree[2*e]=0;for(e=0;e<19;e++)t.bl_tree[2*e]=0;t.dyn_ltree[512]=1,t.opt_len=t.static_len=0,t.last_lit=t.matches=0}function T(t){8>1;1<=n;n--)B(t,o,n);for(a=A;n=t.heap[1],t.heap[1]=t.heap[t.heap_len--],B(t,o,1),r=t.heap[1],t.heap[--t.heap_max]=n,t.heap[--t.heap_max]=r,o[2*a]=o[2*n]+o[2*r],t.depth[a]=(t.depth[n]>=t.depth[r]?t.depth[n]:t.depth[r])+1,o[2*n+1]=o[2*r+1]=a,t.heap[1]=a++,B(t,o,1),2<=t.heap_len;);t.heap[--t.heap_max]=t.heap[1];for(var c,u,p,f,d,h=t,g=e.dyn_tree,m=e.max_code,v=e.stat_desc.static_tree,y=e.stat_desc.has_stree,b=e.stat_desc.extra_bits,w=e.stat_desc.extra_base,x=e.stat_desc.max_length,C=0,P=0;P<=15;P++)h.bl_count[P]=0;for(g[2*h.heap[h.heap_max]+1]=0,c=h.heap_max+1;c<573;c++)x<(P=g[2*g[2*(u=h.heap[c])+1]+1]+1)&&(P=x,C++),g[2*u+1]=P,m>=7;i<30;i++)for(y[i]=a<<7,e=0;e<1<>>=1)if(1&e&&0!==t.dyn_ltree[2*n])return 0;if(0!==t.dyn_ltree[18]||0!==t.dyn_ltree[20]||0!==t.dyn_ltree[26])return 1;for(n=32;n<256;n++)if(0!==t.dyn_ltree[2*n])return 1;return 0}(t)),_(t,t.l_desc),_(t,t.d_desc),s=function(t){var e;for(k(t,t.dyn_ltree,t.l_desc.max_code),k(t,t.dyn_dtree,t.d_desc.max_code),_(t,t.bl_desc),e=18;3<=e&&0===t.bl_tree[2*c[e]+1];e--);return t.opt_len+=3*(e+1)+5+5+4,e}(t),a=t.opt_len+3+7>>>3,(o=t.static_len+3+7>>>3)<=a&&(a=o)):a=o=n+5,n+4<=a&&-1!==e)I(t,e,n,r);else if(4===t.strategy||o===a)C(t,2+(r?1:0),3),D(t,u,p);else{C(t,4+(r?1:0),3);var A=t,l=(e=t.l_desc.max_code+1,n=t.d_desc.max_code+1,s+1);for(C(A,e-257,5),C(A,n-1,5),C(A,l-4,4),i=0;i>>8&255,t.pending_buf[t.d_buf+2*t.last_lit+1]=255&e,t.pending_buf[t.l_buf+t.last_lit]=255&n,t.last_lit++,0===e?t.dyn_ltree[2*n]++:(t.matches++,e--,t.dyn_ltree[2*(d[n]+256+1)]++,t.dyn_dtree[2*x(e)]++),t.last_lit===t.lit_bufsize-1},e._tr_align=function(t){C(t,2,3),P(t,256,u),16===(t=t).bi_valid?(o(t,t.bi_buf),t.bi_buf=0,t.bi_valid=0):8<=t.bi_valid&&(t.pending_buf[t.pending++]=255&t.bi_buf,t.bi_buf>>=8,t.bi_valid-=8)}},{"../utils/common":41}],53:[function(t,e,n){"use strict";e.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(t,e,n){"use strict";e.exports="function"==typeof setImmediate?setImmediate:function(){var t=[].slice.apply(arguments);t.splice(1,0,0),setTimeout.apply(null,t)}},{}]},{},[10])(10)})}.call(this,void 0!==n?n:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}]},{},[1])(1)})}.call(this,void 0!==n?n:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}]},{},[1])(1)})}.call(this,void 0!==n?n:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}]},{},[1])(1)})}.call(this,void 0!==n?n:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}]},{},[1])(1)})}.call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}]},{},[1])(1)}),function r(a,o,i){function s(e,t){if(!o[e]){if(!a[e]){var n="function"==typeof require&&require;if(!t&&n)return n(e,!0);if(A)return A(e,!0);t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}n=o[e]={exports:{}};a[e][0].call(n.exports,function(t){return s(a[e][1][t]||t)},n,n.exports,r,a,o,i)}return o[e].exports}for(var A="function"==typeof require&&require,t=0;ti;)o.call(t,r=a[i++])&&e.push(r);return e}},{104:104,107:107,108:108}],62:[function(t,e,n){function f(t,e,n){var r,a,o,i=t&f.F,s=t&f.G,A=t&f.P,l=t&f.B,c=s?d:t&f.S?d[e]||(d[e]={}):(d[e]||{})[y],u=s?h:h[e]||(h[e]={}),p=u[y]||(u[y]={});for(r in n=s?e:n)a=((o=!i&&c&&void 0!==c[r])?c:n)[r],o=l&&o?v(a,d):A&&"function"==typeof a?v(Function.call,a):a,c&&m(c,r,a,t&f.U),u[r]!=a&&g(u,r,o),A&&p[r]!=a&&(p[r]=a)}var d=t(70),h=t(52),g=t(72),m=t(118),v=t(54),y="prototype";d.core=h,f.F=1,f.G=2,f.S=4,f.P=8,f.B=16,f.W=32,f.U=64,f.R=128,e.exports=f},{118:118,52:52,54:54,70:70,72:72}],63:[function(t,e,n){var r=t(152)("match");e.exports=function(e){var n=/./;try{"/./"[e](n)}catch(t){try{return n[r]=!1,!"/./"[e](n)}catch(t){}}return!0}},{152:152}],64:[function(t,e,n){arguments[4][23][0].apply(n,arguments)},{23:23}],65:[function(t,e,n){"use strict";t(248);var r,A=t(118),l=t(72),c=t(64),u=t(57),p=t(152),f=t(120),d=p("species"),h=!c(function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$")}),g=(r=(t=/(?:)/).exec,t.exec=function(){return r.apply(this,arguments)},2===(t="ab".split(t)).length&&"a"===t[0]&&"b"===t[1]);e.exports=function(n,t,e){var o,r,a=p(n),i=!c(function(){var t={};return t[a]=function(){return 7},7!=""[n](t)}),s=i?!c(function(){var t=!1,e=/a/;return e.exec=function(){return t=!0,null},"split"===n&&(e.constructor={},e.constructor[d]=function(){return e}),e[a](""),!t}):void 0;i&&s&&("replace"!==n||h)&&("split"!==n||g)||(o=/./[a],e=(s=e(u,a,""[n],function(t,e,n,r,a){return e.exec===f?i&&!a?{done:!0,value:o.call(e,n,r)}:{done:!0,value:t.call(n,e,r)}:{done:!1}}))[0],r=s[1],A(String.prototype,n,e),l(RegExp.prototype,a,2==t?function(t,e){return r.call(t,this,e)}:function(t){return r.call(t,this)}))}},{118:118,120:120,152:152,248:248,57:57,64:64,72:72}],66:[function(t,e,n){"use strict";var r=t(38);e.exports=function(){var t=r(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e}},{38:38}],67:[function(t,e,n){"use strict";var d=t(79),h=t(81),g=t(141),m=t(54),v=t(152)("isConcatSpreadable");e.exports=function t(e,n,r,a,o,i,s,A){for(var l,c,u=o,p=0,f=!!s&&m(s,A,3);pdocument.F=Object<\/script>"),t.close(),l=t.F;e--;)delete l[A][i[e]];return l()};t.exports=Object.create||function(t,e){var n;return null!==t?(r[A]=a(t),n=new r,r[A]=null,n[s]=t):n=l(),void 0===e?n:o(n,e)}},{100:100,125:125,38:38,59:59,60:60,73:73}],99:[function(t,e,n){arguments[4][29][0].apply(n,arguments)},{143:143,29:29,38:38,58:58,74:74}],100:[function(t,e,n){var i=t(99),s=t(38),A=t(107);e.exports=t(58)?Object.defineProperties:function(t,e){s(t);for(var n,r=A(e),a=r.length,o=0;oa;)!i(r,n=e[a++])||~A(o,n)||o.push(n);return o}},{125:125,140:140,41:41,71:71}],107:[function(t,e,n){var r=t(106),a=t(60);e.exports=Object.keys||function(t){return r(t,a)}},{106:106,60:60}],108:[function(t,e,n){n.f={}.propertyIsEnumerable},{}],109:[function(t,e,n){var a=t(62),o=t(52),i=t(64);e.exports=function(t,e){var n=(o.Object||{})[t]||Object[t],r={};r[t]=e(n),a(a.S+a.F*i(function(){n(1)}),"Object",r)}},{52:52,62:62,64:64}],110:[function(t,e,n){var A=t(58),l=t(107),c=t(140),u=t(108).f;e.exports=function(s){return function(t){for(var e,n=c(t),r=l(n),a=r.length,o=0,i=[];o>>0||(o.test(t)?16:10))}:r},{134:134,135:135,70:70}],114:[function(t,e,n){e.exports=function(t){try{return{e:!1,v:t()}}catch(t){return{e:!0,v:t}}}},{}],115:[function(t,e,n){var r=t(38),a=t(81),o=t(96);e.exports=function(t,e){return r(t),a(e)&&e.constructor===t?e:((0,(t=o.f(t)).resolve)(e),t.promise)}},{38:38,81:81,96:96}],116:[function(t,e,n){arguments[4][30][0].apply(n,arguments)},{30:30}],117:[function(t,e,n){var a=t(118);e.exports=function(t,e,n){for(var r in e)a(t,r,e[r],n);return t}},{118:118}],118:[function(t,e,n){var o=t(70),i=t(72),s=t(71),A=t(147)("src"),r=t(69),a="toString",l=(""+r).split(a);t(52).inspectSource=function(t){return r.call(t)},(e.exports=function(t,e,n,r){var a="function"==typeof n;a&&!s(n,"name")&&i(n,"name",e),t[e]!==n&&(a&&!s(n,A)&&i(n,A,t[e]?""+t[e]:l.join(String(e))),t===o?t[e]=n:r?t[e]?t[e]=n:i(t,e,n):(delete t[e],i(t,e,n)))})(Function.prototype,a,function(){return"function"==typeof this&&this[A]||r.call(this)})},{147:147,52:52,69:69,70:70,71:71,72:72}],119:[function(t,e,n){"use strict";var r=t(47),a=RegExp.prototype.exec;e.exports=function(t,e){var n=t.exec;if("function"==typeof n){n=n.call(t,e);if("object"!=typeof n)throw new TypeError("RegExp exec method returned something other than an Object or null");return n}if("RegExp"!==r(t))throw new TypeError("RegExp#exec called on incompatible receiver");return a.call(t,e)}},{47:47}],120:[function(t,e,n){"use strict";var r,a,i=t(66),s=RegExp.prototype.exec,A=String.prototype.replace,t=s,l="lastIndex",c=(a=/b*/g,s.call(r=/a/,"a"),s.call(a,"a"),0!==r[l]||0!==a[l]),u=void 0!==/()??/.exec("")[1];e.exports=t=c||u?function(t){var e,n,r,a,o=this;return u&&(n=new RegExp("^"+o.source+"$(?!\\s)",i.call(o))),c&&(e=o[l]),r=s.call(o,t),c&&r&&(o[l]=o.global?r.index+r[0].length:e),u&&r&&1"+t+""}var a=t(62),o=t(64),i=t(57),s=/"/g;e.exports=function(e,t){var n={};n[e]=t(r),a(a.P+a.F*o(function(){var t=""[e]('"');return t!==t.toLowerCase()||3e&&(a=a.slice(0,e)),r?a+t:t+a)}},{133:133,141:141,57:57}],133:[function(t,e,n){"use strict";var a=t(139),o=t(57);e.exports=function(t){var e=String(o(this)),n="",r=a(t);if(r<0||r==1/0)throw RangeError("Count can't be negative");for(;0>>=1)&&(e+=e))1&r&&(n+=e);return n}},{139:139,57:57}],134:[function(t,e,n){function r(t,e,n){var r={},a=i(function(){return!!s[t]()||"​…"!="​…"[t]()}),e=r[t]=a?e(c):s[t];n&&(r[n]=e),o(o.P+o.F*a,"String",r)}var o=t(62),a=t(57),i=t(64),s=t(135),t="["+s+"]",A=RegExp("^"+t+t+"*"),l=RegExp(t+t+"*$"),c=r.trim=function(t,e){return t=String(a(t)),1&e&&(t=t.replace(A,"")),t=2&e?t.replace(l,""):t};e.exports=r},{135:135,57:57,62:62,64:64}],135:[function(t,e,n){e.exports="\t\n\v\f\r   ᠎              \u2028\u2029\ufeff"},{}],136:[function(t,e,n){function r(){var t,e=+this;m.hasOwnProperty(e)&&(t=m[e],delete m[e],t())}function a(t){r.call(t.data)}var o,i=t(54),s=t(76),A=t(73),l=t(59),c=t(70),u=c.process,p=c.setImmediate,f=c.clearImmediate,d=c.MessageChannel,h=c.Dispatch,g=0,m={},v="onreadystatechange";p&&f||(p=function(t){for(var e=[],n=1;n>1,l=23===e?w(2,-24)-w(2,-77):0,c=0,u=t<0||0===t&&1/t<0?1:0;for((t=G(t))!=t||t===y?(a=t!=t?1:0,r=n):(r=Q(W(t)/Y),t*(o=w(2,-r))<1&&(r--,o*=2),2<=(t+=1<=r+A?l/o:l*w(2,1-A))*o&&(r++,o/=2),n<=r+A?(a=0,r=n):1<=r+A?(a=(t*o-1)*w(2,e),r+=A):(a=t*w(2,A-1)*w(2,e),r=0));8<=e;i[c++]=255&a,a/=256,e-=8);for(r=r<>1,s=a-7,A=n-1,a=t[A--],l=127&a;for(a>>=7;0>=-s,s+=e;0>8&255]}function D(t){return[255&t,t>>8&255,t>>16&255,t>>24&255]}function X(t){return S(t,52,8)}function H(t){return S(t,23,4)}function _(t,e,n){U(t[f],e,{get:function(){return this[n]}})}function k(t,e,n,r){n=c(+n);if(n+e>t[C])throw v(d);var a=t[x]._b,n=n+t[P],t=a.slice(n,n+e);return r?t:t.reverse()}function N(t,e,n,r,a,o){n=c(+n);if(n+e>t[C])throw v(d);for(var i=t[x]._b,s=n+t[P],A=r(+a),l=0;lV;)(F=I[V++])in h||o(h,F,b[F]);O||(s.constructor=h)}var l=new g(new h(2)),q=g[f].setInt8;l.setInt8(0,2147483648),l.setInt8(1,2147483649),!l.getInt8(0)&&l.getInt8(1)||i(g[f],{setInt8:function(t,e){q.call(this,t,e<<24>>24)},setUint8:function(t,e){q.call(this,t,e<<24>>24)}},!0)}else h=function(t){A(this,h,u);t=c(t);this._b=j.call(new Array(t),0),this[C]=t},g=function(t,e,n){A(this,g,p),A(t,h,p);var r=t[C],e=M(e);if(e<0||r>24},getUint8:function(t){return k(this,1,t)[0]},getInt16:function(t){t=k(this,2,t,arguments[1]);return(t[1]<<8|t[0])<<16>>16},getUint16:function(t){t=k(this,2,t,arguments[1]);return t[1]<<8|t[0]},getInt32:function(t){return E(k(this,4,t,arguments[1]))},getUint32:function(t){return E(k(this,4,t,arguments[1]))>>>0},getFloat32:function(t){return L(k(this,4,t,arguments[1]),23,4)},getFloat64:function(t){return L(k(this,8,t,arguments[1]),52,8)},setInt8:function(t,e){N(this,1,t,T,e)},setUint8:function(t,e){N(this,1,t,T,e)},setInt16:function(t,e){N(this,2,t,B,e,arguments[2])},setUint16:function(t,e){N(this,2,t,B,e,arguments[2])},setInt32:function(t,e){N(this,4,t,D,e,arguments[2])},setUint32:function(t,e){N(this,4,t,D,e,arguments[2])},setFloat32:function(t,e){N(this,4,t,H,e,arguments[2])},setFloat64:function(t,e){N(this,8,t,X,e,arguments[2])}});t(h,u),t(g,p),o(g[f],a.VIEW,!0),e[u]=h,e[p]=g},{103:103,117:117,124:124,138:138,139:139,141:141,146:146,37:37,40:40,58:58,64:64,70:70,72:72,89:89,99:99}],146:[function(t,e,n){for(var r,a=t(70),o=t(72),t=t(147),i=t("typed_array"),s=t("view"),t=!(!a.ArrayBuffer||!a.DataView),A=t,l=0,c="Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array".split(",");l<9;)(r=a[c[l++]])?(o(r.prototype,i,!0),o(r.prototype,s,!0)):A=!1;e.exports={ABV:t,CONSTR:A,TYPED:i,VIEW:s}},{147:147,70:70,72:72}],147:[function(t,e,n){var r=0,a=Math.random();e.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++r+a).toString(36))}},{}],148:[function(t,e,n){t=t(70).navigator;e.exports=t&&t.userAgent||""},{70:70}],149:[function(t,e,n){var r=t(81);e.exports=function(t,e){if(r(t)&&t._t===e)return t;throw TypeError("Incompatible receiver, "+e+" required!")}},{81:81}],150:[function(t,e,n){var r=t(70),a=t(52),o=t(89),i=t(151),s=t(99).f;e.exports=function(t){var e=a.Symbol||(a.Symbol=!o&&r.Symbol||{});"_"==t.charAt(0)||t in e||s(e,t,{value:i.f(t)})}},{151:151,52:52,70:70,89:89,99:99}],151:[function(t,e,n){n.f=t(152)},{152:152}],152:[function(t,e,n){var r=t(126)("wks"),a=t(147),o=t(70).Symbol,i="function"==typeof o;(e.exports=function(t){return r[t]||(r[t]=i&&o[t]||(i?o:a)("Symbol."+t))}).store=r},{126:126,147:147,70:70}],153:[function(t,e,n){var r=t(47),a=t(152)("iterator"),o=t(88);e.exports=t(52).getIteratorMethod=function(t){if(null!=t)return t[a]||t["@@iterator"]||o[r(t)]}},{152:152,47:47,52:52,88:88}],154:[function(t,e,n){var r=t(62);r(r.P,"Array",{copyWithin:t(39)}),t(35)("copyWithin")},{35:35,39:39,62:62}],155:[function(t,e,n){"use strict";var r=t(62),a=t(42)(4);r(r.P+r.F*!t(128)([].every,!0),"Array",{every:function(t){return a(this,t,arguments[1])}})},{128:128,42:42,62:62}],156:[function(t,e,n){var r=t(62);r(r.P,"Array",{fill:t(40)}),t(35)("fill")},{35:35,40:40,62:62}],157:[function(t,e,n){"use strict";var r=t(62),a=t(42)(2);r(r.P+r.F*!t(128)([].filter,!0),"Array",{filter:function(t){return a(this,t,arguments[1])}})},{128:128,42:42,62:62}],158:[function(t,e,n){"use strict";var r=t(62),a=t(42)(6),o="findIndex",i=!0;o in[]&&Array(1)[o](function(){i=!1}),r(r.P+r.F*i,"Array",{findIndex:function(t){return a(this,t,1=t.length?(this._t=void 0,a(1)):a(0,"keys"==e?n:"values"==e?t[n]:[n,t[n]])},"values"),o.Arguments=o.Array,r("keys"),r("values"),r("entries")},{140:140,35:35,85:85,87:87,88:88}],165:[function(t,e,n){"use strict";var r=t(62),a=t(140),o=[].join;r(r.P+r.F*(t(77)!=Object||!t(128)(o)),"Array",{join:function(t){return o.call(a(this),void 0===t?",":t)}})},{128:128,140:140,62:62,77:77}],166:[function(t,e,n){"use strict";var r=t(62),a=t(140),o=t(139),i=t(141),s=[].lastIndexOf,A=!!s&&1/[1].lastIndexOf(1,-0)<0;r(r.P+r.F*(A||!t(128)(s)),"Array",{lastIndexOf:function(t){if(A)return s.apply(this,arguments)||0;var e=a(this),n=i(e.length),r=n-1;for((r=1>>=0)?31-Math.floor(Math.log(t+.5)*Math.LOG2E):32}})},{62:62}],189:[function(t,e,n){var t=t(62),r=Math.exp;t(t.S,"Math",{cosh:function(t){return(r(t=+t)+r(-t))/2}})},{62:62}],190:[function(t,e,n){var r=t(62),t=t(90);r(r.S+r.F*(t!=Math.expm1),"Math",{expm1:t})},{62:62,90:90}],191:[function(t,e,n){var r=t(62);r(r.S,"Math",{fround:t(91)})},{62:62,91:91}],192:[function(t,e,n){var t=t(62),A=Math.abs;t(t.S,"Math",{hypot:function(t,e){for(var n,r,a=0,o=0,i=arguments.length,s=0;o>>16)*r+n*(65535&e>>>16)<<16>>>0)}})},{62:62,64:64}],194:[function(t,e,n){t=t(62);t(t.S,"Math",{log10:function(t){return Math.log(t)*Math.LOG10E}})},{62:62}],195:[function(t,e,n){var r=t(62);r(r.S,"Math",{log1p:t(92)})},{62:62,92:92}],196:[function(t,e,n){t=t(62);t(t.S,"Math",{log2:function(t){return Math.log(t)/Math.LN2}})},{62:62}],197:[function(t,e,n){var r=t(62);r(r.S,"Math",{sign:t(93)})},{62:62,93:93}],198:[function(t,e,n){var r=t(62),a=t(90),o=Math.exp;r(r.S+r.F*t(64)(function(){return-2e-17!=!Math.sinh(-2e-17)}),"Math",{sinh:function(t){return Math.abs(t=+t)<1?(a(t)-a(-t))/2:(o(t-1)-o(-t-1))*(Math.E/2)}})},{62:62,64:64,90:90}],199:[function(t,e,n){var r=t(62),a=t(90),o=Math.exp;r(r.S,"Math",{tanh:function(t){var e=a(t=+t),n=a(-t);return e==1/0?1:n==1/0?-1:(e-n)/(o(t)+o(-t))}})},{62:62,90:90}],200:[function(t,e,n){t=t(62);t(t.S,"Math",{trunc:function(t){return(0x;x++)o(h,y=w[x])&&!o(b,y)&&p(b,y,u(h,y));(b.prototype=g).constructor=b,t(118)(a,d,b)}},{101:101,103:103,118:118,134:134,143:143,48:48,58:58,64:64,70:70,71:71,75:75,98:98,99:99}],202:[function(t,e,n){t=t(62);t(t.S,"Number",{EPSILON:Math.pow(2,-52)})},{62:62}],203:[function(t,e,n){var r=t(62),a=t(70).isFinite;r(r.S,"Number",{isFinite:function(t){return"number"==typeof t&&a(t)}})},{62:62,70:70}],204:[function(t,e,n){var r=t(62);r(r.S,"Number",{isInteger:t(80)})},{62:62,80:80}],205:[function(t,e,n){t=t(62);t(t.S,"Number",{isNaN:function(t){return t!=t}})},{62:62}],206:[function(t,e,n){var r=t(62),a=t(80),o=Math.abs;r(r.S,"Number",{isSafeInteger:function(t){return a(t)&&o(t)<=9007199254740991}})},{62:62,80:80}],207:[function(t,e,n){t=t(62);t(t.S,"Number",{MAX_SAFE_INTEGER:9007199254740991})},{62:62}],208:[function(t,e,n){t=t(62);t(t.S,"Number",{MIN_SAFE_INTEGER:-9007199254740991})},{62:62}],209:[function(t,e,n){var r=t(62),t=t(112);r(r.S+r.F*(Number.parseFloat!=t),"Number",{parseFloat:t})},{112:112,62:62}],210:[function(t,e,n){var r=t(62),t=t(113);r(r.S+r.F*(Number.parseInt!=t),"Number",{parseInt:t})},{113:113,62:62}],211:[function(t,e,n){"use strict";function s(t,e){for(var n=-1,r=e;++n<6;)i[n]=(r+=t*i[n])%1e7,r=o(r/1e7)}function A(t){for(var e=6,n=0;0<=--e;)i[e]=o((n+=i[e])/t),n=n%t*1e7}function l(){for(var t,e=6,n="";0<=--e;)""===n&&0!==e&&0===i[e]||(t=String(i[e]),n=""===n?t:n+f.call("0",7-t.length)+t);return n}function c(t,e,n){return 0===e?n:e%2==1?c(t,e-1,n*t):c(t*t,e/2,n)}var r=t(62),u=t(139),p=t(34),f=t(133),a=1..toFixed,o=Math.floor,i=[0,0,0,0,0,0],d="Number.toFixed: incorrect invocation!";r(r.P+r.F*(!!a&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==0xde0b6b3a7640080.toFixed(0))||!t(64)(function(){a.call({})})),"Number",{toFixed:function(t){var e,n,r,a=p(this,d),t=u(t),o="",i="0";if(t<0||20n;){a=void 0;o=void 0;i=void 0;s=void 0;A=void 0;l=void 0;c=void 0;var r=f[n++];var a,o,i,s=e?r.ok:r.fail,A=r.resolve,l=r.reject,c=r.domain;try{s?(e||(2==u._h&&g(u),u._h=1),!0===s?a=t:(c&&c.enter(),a=s(t),c&&(c.exit(),i=!0)),a===r.promise?l(T("Promise-chain cycle")):(o=d(a))?o.call(a,A,l):A(a)):l(t)}catch(r){c&&!i&&c.exit(),l(r)}}u._c=[],u._n=!1,p&&!u._h&&h(u)}))}function o(t){var e=this;e._d||(e._d=!0,(e=e._w||e)._v=t,e._s=2,e._a||(e._a=e._c.slice()),a(e,!0))}function h(a){w.call(c,function(){var t,e,n=a._v,r=F(a);if(r&&(t=P(function(){k?B.emit("unhandledRejection",n,a):(e=c.onunhandledrejection)?e({promise:a,reason:n}):(e=c.console)&&e.error&&e.error("Unhandled promise rejection",n)}),a._h=k||F(a)?2:1),a._a=void 0,r&&t.e)throw t.v})}function g(e){w.call(c,function(){var t;k?B.emit("rejectionHandled",e):(t=c.onrejectionhandled)&&t({promise:e,reason:e._v})})}var e,i,s,A,l=n(89),c=n(70),u=n(54),t=n(47),p=n(62),f=n(81),m=n(33),v=n(37),y=n(68),b=n(127),w=n(136).set,x=n(95)(),C=n(96),P=n(114),S=n(148),L=n(115),E="Promise",T=c.TypeError,B=c.process,D=B&&B.versions,M=D&&D.v8||"",_=c[E],k="process"==t(B),N=i=C.f,D=!!function(){try{var t=_.resolve(1),e=(t.constructor={})[n(152)("species")]=function(t){t(r,r)};return(k||"function"==typeof PromiseRejectionEvent)&&t.then(r)instanceof e&&0!==M.indexOf("6.6")&&-1===S.indexOf("Chrome/66")}catch(t){}}(),F=function(t){return 1!==t._h&&0===(t._a||t._c).length},I=function(t){var n,r=this;if(!r._d){r._d=!0,r=r._w||r;try{if(r===t)throw T("Promise can't be resolved itself");(n=d(t))?x(function(){var e={_w:r,_d:!1};try{n.call(t,u(I,e,1),u(o,e,1))}catch(t){o.call(e,t)}}):(r._v=t,r._s=1,a(r,!1))}catch(t){o.call({_w:r,_d:!1},t)}}};D||(_=function(t){v(this,_,E,"_h"),m(t),e.call(this);try{t(u(I,this,1),u(o,this,1))}catch(t){o.call(this,t)}},(e=function(t){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1}).prototype=n(117)(_.prototype,{then:function(t,e){var n=N(b(this,_));return n.ok="function"!=typeof t||t,n.fail="function"==typeof e&&e,n.domain=k?B.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&a(this,!1),n.promise},catch:function(t){return this.then(void 0,t)}}),s=function(){var t=new e;this.promise=t,this.resolve=u(I,t,1),this.reject=u(o,t,1)},C.f=N=function(t){return t===_||t===A?new s:i(t)}),p(p.G+p.W+p.F*!D,{Promise:_}),n(124)(_,E),n(123)(E),A=n(52)[E],p(p.S+p.F*!D,E,{reject:function(t){var e=N(this);return(0,e.reject)(t),e.promise}}),p(p.S+p.F*(l||!D),E,{resolve:function(t){return L(l&&this===A?_:this,t)}}),p(p.S+p.F*!(D&&n(86)(function(t){_.all(t).catch(r)})),E,{all:function(t){var i=this,e=N(i),s=e.resolve,A=e.reject,n=P(function(){var r=[],a=0,o=1;y(t,!1,function(t){var e=a++,n=!1;r.push(void 0),o++,i.resolve(t).then(function(t){n||(n=!0,r[e]=t,--o)||s(r)},A)}),--o||s(r)});return n.e&&A(n.v),e.promise},race:function(t){var e=this,n=N(e),r=n.reject,a=P(function(){y(t,!1,function(t){e.resolve(t).then(n.resolve,r)})});return a.e&&r(a.v),n.promise}})},{114:114,115:115,117:117,123:123,124:124,127:127,136:136,148:148,152:152,33:33,37:37,47:47,52:52,54:54,62:62,68:68,70:70,81:81,86:86,89:89,95:95,96:96}],233:[function(t,e,n){var r=t(62),a=t(33),o=t(38),i=(t(70).Reflect||{}).apply,s=Function.apply;r(r.S+r.F*!t(64)(function(){i(function(){})}),"Reflect",{apply:function(t,e,n){t=a(t),n=o(n);return i?i(t,e,n):s.call(t,e,n)}})},{33:33,38:38,62:62,64:64,70:70}],234:[function(t,e,n){var r=t(62),a=t(98),o=t(33),i=t(38),s=t(81),A=t(64),l=t(46),c=(t(70).Reflect||{}).construct,u=A(function(){function t(){}return!(c(function(){},[],t)instanceof t)}),p=!A(function(){c(function(){})});r(r.S+r.F*(u||p),"Reflect",{construct:function(t,e){o(t),i(e);var n=arguments.length<3?t:o(arguments[2]);if(p&&!u)return c(t,e,n);if(t==n){switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3])}var r=[null];return r.push.apply(r,e),new(l.apply(t,r))}r=n.prototype,n=a(s(r)?r:Object.prototype),r=Function.apply.call(t,n,e);return s(r)?r:n}})},{33:33,38:38,46:46,62:62,64:64,70:70,81:81,98:98}],235:[function(t,e,n){var r=t(99),a=t(62),o=t(38),i=t(143);a(a.S+a.F*t(64)(function(){Reflect.defineProperty(r.f({},1,{value:1}),1,{value:2})}),"Reflect",{defineProperty:function(t,e,n){o(t),e=i(e,!0),o(n);try{return r.f(t,e,n),!0}catch(t){return!1}}})},{143:143,38:38,62:62,64:64,99:99}],236:[function(t,e,n){var r=t(62),a=t(101).f,o=t(38);r(r.S,"Reflect",{deleteProperty:function(t,e){var n=a(o(t),e);return!(n&&!n.configurable)&&delete t[e]}})},{101:101,38:38,62:62}],237:[function(t,e,n){"use strict";function r(t){this._t=o(t),this._i=0;var e,n=this._k=[];for(e in t)n.push(e)}var a=t(62),o=t(38);t(84)(r,"Object",function(){var t,e=this._k;do{if(this._i>=e.length)return{value:void 0,done:!0}}while(!((t=e[this._i++])in this._t));return{value:t,done:!1}}),a(a.S,"Reflect",{enumerate:function(t){return new r(t)}})},{38:38,62:62,84:84}],238:[function(t,e,n){var r=t(101),a=t(62),o=t(38);a(a.S,"Reflect",{getOwnPropertyDescriptor:function(t,e){return r.f(o(t),e)}})},{101:101,38:38,62:62}],239:[function(t,e,n){var r=t(62),a=t(105),o=t(38);r(r.S,"Reflect",{getPrototypeOf:function(t){return a(o(t))}})},{105:105,38:38,62:62}],240:[function(t,e,n){var o=t(101),i=t(105),s=t(71),r=t(62),A=t(81),l=t(38);r(r.S,"Reflect",{get:function t(e,n){var r,a=arguments.length<3?e:arguments[2];return l(e)===a?e[n]:(r=o.f(e,n))?s(r,"value")?r.value:void 0!==r.get?r.get.call(a):void 0:A(r=i(e))?t(r,n,a):void 0}})},{101:101,105:105,38:38,62:62,71:71,81:81}],241:[function(t,e,n){t=t(62);t(t.S,"Reflect",{has:function(t,e){return e in t}})},{62:62}],242:[function(t,e,n){var r=t(62),a=t(38),o=Object.isExtensible;r(r.S,"Reflect",{isExtensible:function(t){return a(t),!o||o(t)}})},{38:38,62:62}],243:[function(t,e,n){var r=t(62);r(r.S,"Reflect",{ownKeys:t(111)})},{111:111,62:62}],244:[function(t,e,n){var r=t(62),a=t(38),o=Object.preventExtensions;r(r.S,"Reflect",{preventExtensions:function(t){a(t);try{return o&&o(t),!0}catch(t){return!1}}})},{38:38,62:62}],245:[function(t,e,n){var r=t(62),a=t(122);a&&r(r.S,"Reflect",{setPrototypeOf:function(t,e){a.check(t,e);try{return a.set(t,e),!0}catch(t){return!1}}})},{122:122,62:62}],246:[function(t,e,n){var s=t(99),A=t(101),l=t(105),c=t(71),r=t(62),u=t(116),p=t(38),f=t(81);r(r.S,"Reflect",{set:function t(e,n,r){var a,o=arguments.length<4?e:arguments[3],i=A.f(p(e),n);if(!i){if(f(a=l(e)))return t(a,n,r,o);i=u(0)}if(c(i,"value")){if(!1===i.writable||!f(o))return!1;if(a=A.f(o,n)){if(a.get||a.set||!1===a.writable)return!1;a.value=r,s.f(o,n,a)}else s.f(o,n,u(0,r));return!0}return void 0!==i.set&&(i.set.call(o,r),!0)}})},{101:101,105:105,116:116,38:38,62:62,71:71,81:81,99:99}],247:[function(t,e,n){var r=t(70),o=t(75),a=t(99).f,i=t(103).f,s=t(82),A=t(66),l=d=r.RegExp,c=d.prototype,u=/a/g,p=/a/g,f=new d(u)!==u;if(t(58)&&(!f||t(64)(function(){return p[t(152)("match")]=!1,d(u)!=u||d(p)==p||"/a/i"!=d(u,"i")}))){for(var d=function(t,e){var n=this instanceof d,r=s(t),a=void 0===e;return!n&&r&&t.constructor===d&&a?t:o(f?new l(r&&!a?t.source:t,e):l((r=t instanceof d)?t.source:t,r&&a?A.call(t):e),n?this:c,d)},h=i(l),g=0;h.length>g;)!function(e){e in d||a(d,e,{configurable:!0,get:function(){return l[e]},set:function(t){l[e]=t}})}(h[g++]);(c.constructor=d).prototype=c,t(118)(r,"RegExp",d)}t(123)("RegExp")},{103:103,118:118,123:123,152:152,58:58,64:64,66:66,70:70,75:75,82:82,99:99}],248:[function(t,e,n){"use strict";var r=t(120);t(62)({target:"RegExp",proto:!0,forced:r!==/./.exec},{exec:r})},{120:120,62:62}],249:[function(t,e,n){t(58)&&"g"!=/./g.flags&&t(99).f(RegExp.prototype,"flags",{configurable:!0,get:t(66)})},{58:58,66:66,99:99}],250:[function(t,e,n){"use strict";var c=t(38),u=t(141),p=t(36),f=t(119);t(65)("match",1,function(r,a,A,l){return[function(t){var e=r(this),n=null==t?void 0:t[a];return void 0!==n?n.call(t,e):new RegExp(t)[a](String(e))},function(t){var e=l(A,t,this);if(e.done)return e.value;var n=c(t),r=String(this);if(!n.global)return f(n,r);for(var a=n.unicode,o=[],i=n.lastIndex=0;null!==(s=f(n,r));){var s=String(s[0]);""===(o[i]=s)&&(n.lastIndex=p(r,u(n.lastIndex),a)),i++}return 0===i?null:o}]})},{119:119,141:141,36:36,38:38,65:65}],251:[function(t,e,n){"use strict";var x=t(38),C=t(142),P=t(141),S=t(139),L=t(36),E=t(119),T=Math.max,B=Math.min,D=Math.floor,_=/\$([$&`']|\d\d?|<[^>]*>)/g,k=/\$([$&`']|\d\d?)/g;t(65)("replace",2,function(a,o,b,w){return[function(t,e){var n=a(this),r=null==t?void 0:t[o];return void 0!==r?r.call(t,n,e):b.call(String(n),t,e)},function(t,e){var n=w(b,t,this,e);if(n.done)return n.value;var r,a=x(t),o=String(this),i="function"==typeof e,s=(i||(e=String(e)),a.global);s&&(r=a.unicode,a.lastIndex=0);for(var A=[];;){var l=E(a,o);if(null===l)break;if(A.push(l),!s)break;""===String(l[0])&&(a.lastIndex=L(o,P(a.lastIndex),r))}for(var c,u="",p=0,f=0;f>>0,c=new RegExp(t.source,s+"g");(r=p.call(c,n))&&!(A<(a=c[P])&&(i.push(n.slice(A,r.index)),1>>0;if(0==s)return[];if(0===r.length)return null===w(i,r)?[r]:[];for(var A=0,l=0,c=[];l>10),e%1024+56320))}return n.join("")}})},{137:137,62:62}],266:[function(t,e,n){"use strict";var r=t(62),a=t(130);r(r.P+r.F*t(63)("includes"),"String",{includes:function(t){return!!~a(this,t,"includes").indexOf(t,1=t.length?{value:void 0,done:!0}:(t=r(t,e),this._i+=t.length,{value:t,done:!1})})},{129:129,85:85}],269:[function(t,e,n){"use strict";t(131)("link",function(e){return function(t){return e(this,"a","href",t)}})},{131:131}],270:[function(t,e,n){var r=t(62),i=t(140),s=t(141);r(r.S,"String",{raw:function(t){for(var e=i(t.raw),n=s(e.length),r=arguments.length,a=[],o=0;oa;)l(B,e=n[a++])||e==E||e==z||r.push(e);return r}function i(t){for(var e,n=t===_,r=Z(n?D:m(t)),a=[],o=0;r.length>o;)!l(B,e=r[o++])||n&&!l(_,e)||a.push(B[e]);return a}function s(t,e,n){return t===_&&s(D,e,n),g(t),e=v(e,!0),g(n),(l(B,e)?(n.enumerable?(l(t,E)&&t[E][e]&&(t[E][e]=!1),n=b(n,{enumerable:y(0,!1)})):(l(t,E)||x(t,E,y(1,{})),t[E][e]=!0),F):x)(t,e,n)}var A=t(70),l=t(71),c=t(58),u=t(62),M=t(118),z=t(94).KEY,p=t(64),f=t(126),d=t(124),U=t(147),h=t(152),j=t(151),G=t(150),Q=t(61),W=t(79),g=t(38),Y=t(81),X=t(142),m=t(140),v=t(143),y=t(116),b=t(98),H=t(102),V=t(101),w=t(104),q=t(99),J=t(107),K=V.f,x=q.f,Z=H.f,C=A.Symbol,P=A.JSON,S=P&&P.stringify,L="prototype",E=h("_hidden"),$=h("toPrimitive"),tt={}.propertyIsEnumerable,T=f("symbol-registry"),B=f("symbols"),D=f("op-symbols"),_=Object[L],f="function"==typeof C&&!!w.f,k=A.QObject,N=!k||!k[L]||!k[L].findChild,F=c&&p(function(){return 7!=b(x({},"a",{get:function(){return x(this,"a",{value:7}).a}})).a})?function(t,e,n){var r=K(_,e);r&&delete _[e],x(t,e,n),r&&t!==_&&x(_,e,r)}:x,I=f&&"symbol"==typeof C.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof C};f||(M((C=function(){if(this instanceof C)throw TypeError("Symbol is not a constructor!");var e=U(0nt;)h(et[nt++]);for(var rt=J(h.store),at=0;rt.length>at;)G(rt[at++]);u(u.S+u.F*!f,"Symbol",{for:function(t){return l(T,t+="")?T[t]:T[t]=C(t)},keyFor:function(t){if(!I(t))throw TypeError(t+" is not a symbol!");for(var e in T)if(T[e]===t)return e},useSetter:function(){N=!0},useSimple:function(){N=!1}}),u(u.S+u.F*!f,"Object",{create:function(t,e){return void 0===e?b(t):n(b(t),e)},defineProperty:s,defineProperties:n,getOwnPropertyDescriptor:a,getOwnPropertyNames:o,getOwnPropertySymbols:i});k=p(function(){w.f(1)});u(u.S+u.F*k,"Object",{getOwnPropertySymbols:function(t){return w.f(X(t))}}),P&&u(u.S+u.F*(!f||p(function(){var t=C();return"[null]"!=S([t])||"{}"!=S({a:t})||"{}"!=S(Object(t))})),"JSON",{stringify:function(t){for(var e,n,r=[t],a=1;as;)void 0!==(n=a(r,e=o[s++]))&&u(i,e,n);return i}})},{101:101,111:111,140:140,53:53,62:62}],296:[function(t,e,n){var r=t(62),a=t(110)(!1);r(r.S,"Object",{values:function(t){return a(t)}})},{110:110,62:62}],297:[function(t,e,n){"use strict";var r=t(62),a=t(52),o=t(70),i=t(127),s=t(115);r(r.P+r.R,"Promise",{finally:function(e){var n=i(this,a.Promise||o.Promise),t="function"==typeof e;return this.then(t?function(t){return s(n,e()).then(function(){return t})}:e,t?function(t){return s(n,e()).then(function(){throw t})}:e)}})},{115:115,127:127,52:52,62:62,70:70}],298:[function(t,e,n){"use strict";var r=t(62),a=t(132),t=t(148),t=/Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(t);r(r.P+r.F*t,"String",{padEnd:function(t){return a(this,t,1s[0]&&e[1]/g,">").replace(/"/g,""").replace(/'/g,"'")}function I(t){return"number"==typeof t&&100").concat(e,""):"")}function z(t){var e="solid",n="",r="",a="";return t&&("string"==typeof t?n=t:(t.type&&(e=t.type),t.color&&(n=t.color),t.alpha&&(r+='')),t.transparency&&(r+=''))),a+="solid"===e?"".concat(M(n,r),""):""),a}function g(t){return t._rels.length+t._relsChart.length+t._relsMedia.length+1}function vt(t){if(t&&"object"==typeof t)return"outer"!==t.type&&"inner"!==t.type&&"none"!==t.type&&(console.warn("Warning: shadow.type options are `outer`, `inner` or `none`."),t.type="outer"),t.angle&&((isNaN(Number(t.angle))||t.angle<0||359 ".concat(JSON.stringify(l))),s.push(l),l=[]),0o&&(i.push(e),e=[],n=""),e.push(t),n+=t.text.toString()}),0=i&&(i=t._lineHeight)}),c maxH) => ".concat((u/k).toFixed(2)," + ").concat((A._lineHeight/k).toFixed(2)," > ").concat(c/k)),console.log("|-----------------------------------------------------------------------|\n\n")),0n&&(n=t._lineHeight)}),v.rows.push(e),u+=n}),l=a[o]),A._lines.shift());Array.isArray(l.text)&&(A?l.text=l.text.concat(A):0===l.text.length&&(l.text=l.text.concat({_type:_.tablecell,text:""}))),o===p.length-1&&(u+=i),o=o \n'),i.file("_rels/.rels",'\n'),i.file("docProps/app.xml",'Microsoft Macintosh Excel0falseWorksheets1Sheet1falsefalsefalse16.0300\n'),i.file("docProps/core.xml",'PptxGenJSPptxGenJS'+(new Date).toISOString()+''+(new Date).toISOString()+""),i.file("xl/_rels/workbook.xml.rels",''),i.file("xl/styles.xml",'\n'),i.file("xl/theme/theme1.xml",''),i.file("xl/workbook.xml",'\n'),i.file("xl/worksheets/_rels/sheet1.xml.rels",'\n'),''),c=(m.opts._type===b.BUBBLE||m.opts._type===b.BUBBLE3D?l+=''):m.opts._type===b.SCATTER?l+=''):l=A?(r=g.length,g[0].labels.forEach(function(t){return r+=t.filter(function(t){return t&&""!==t}).length}),l+'')+""):(t=g.length+g[0].labels.length*g[0].labels[0].length+g[0].labels.length,a=g.length+g[0].labels.length*g[0].labels[0].length+1,l+'')+''),m.opts._type===b.BUBBLE||m.opts._type===b.BUBBLE3D?g.forEach(function(t,e){0===e?l+="X-Axis":l=(l+="".concat(F(t.name||"Y-Axis".concat(e)),""))+"".concat(F("Size".concat(e)),"")}):g.forEach(function(t){l+="".concat(F((t.name||" ").replace("X-Axis","X-Values")),"")}),m.opts._type!==b.BUBBLE&&m.opts._type!==b.BUBBLE3D&&m.opts._type!==b.SCATTER&&g[0].labels.slice().reverse().forEach(function(t){t.filter(function(t){return t&&""!==t}).forEach(function(t){l+="".concat(F(t),"")})}),l+="\n",i.file("xl/sharedStrings.xml",l),''),u=(m.opts._type===b.BUBBLE||m.opts._type===b.BUBBLE3D?(c=(c+=''))+''),o=1,g.forEach(function(t,e){0===e?c+=''):(c+=''),o++,c+=''))})):m.opts._type===b.SCATTER?(c=(c+='
'))+''),g.forEach(function(t,e){c+='')})):(c=(c+='
'))+''),g[0].labels.forEach(function(t,e){c+='')}),g.forEach(function(t,e){c+='')})),c=(c+="")+''+"
",i.file("xl/tables/table1.xml",c),'');if(u+='',m.opts._type===b.BUBBLE||m.opts._type===b.BUBBLE3D?u+=''):m.opts._type===b.SCATTER?u+=''):u+=''),u=u+''+'',m.opts._type===b.BUBBLE||m.opts._type===b.BUBBLE3D){for(var u=(u+="")+'')+'0',p=1;p').concat(p,"");u+="",g[0].values.forEach(function(t,e){u=(u+=''))+'').concat(t,"");for(var n=2,r=1;r').concat(g[r].values[e]||"",""))+'').concat(g[r].sizes[e]||"",""),n++;u+=""})}else if(m.opts._type===b.SCATTER){u=(u+="")+'');for(p=0;p').concat(p,"");u+="",g[0].values.forEach(function(t,e){u=(u+=''))+'').concat(t,"");for(var n=1;n').concat(g[n].values[e]||0===g[n].values[e]?g[n].values[e]:"","");u+=""})}else if(u+="",A){u+='');for(p=0;p0');for(p=g[0].labels.length-1;p').concat(p,"");u+="";for(var f=g.length,d=g[0].labels[0].length,h=g[0].labels.length,p=0;p');var r=f,a=g[0].labels.slice().reverse();a.forEach(function(t,e){t[n]&&(t=0===e?1:a[e-1].filter(function(t){return t&&""!==t}).length,r+=t,u+='').concat(r,""))});for(var t=0;t').concat(g[t].values[n]||0,"");u+=""}(p)}else{u+=''),g[0].labels.forEach(function(t,e){u+='0')});for(var p=0;p').concat(p+1,"");u+="",g[0].labels[0].forEach(function(t,e){u+='');for(var n=g[0].labels.length-1;0<=n;n--)u=(u+=''))+"".concat(g.length+e+1,"")+"";for(var r=0;r').concat(g[r].values[e]||"","");u+=""})}u+='\n',i.file("xl/worksheets/sheet1.xml",u),i.generateAsync({type:"base64"}).then(function(t){v.file("ppt/embeddings/Microsoft_Excel_Worksheet".concat(m.globalId,".xlsx"),t,{base64:!0}),v.file("ppt/charts/_rels/"+m.fileName+".rels",''+'')+""),v.file("ppt/charts/".concat(m.fileName),function(a){var t,o='',i=!1;o=(o+='')+'')+"",a.opts.showTitle?o=o+_t({title:a.opts.title||"Chart Title",color:a.opts.titleColor,fontFace:a.opts.titleFontFace,fontSize:a.opts.titleFontSize||et,titleAlign:a.opts.titleAlign,titleBold:a.opts.titleBold,titlePos:a.opts.titlePos,titleRotate:a.opts.titleRotate},a.opts.x,a.opts.y)+'':o+='';a.opts._type===b.BAR3D&&(o+=''));o+="",a.opts.layout?o=(o=(o=(o=(o=(o=(o=(o+="")+' ')+' ')+' ')+' ')+' ')+' ')+" ":o+="";Array.isArray(a.opts._type)?a.opts._type.forEach(function(t){var e=y(y({},a.opts),t.options),n=e.secondaryValAxis?st:S,r=e.secondaryCatAxis?lt:At;i=i||e.secondaryValAxis,o+=Tt(t.type,t.data,e,n,r)}):o+=Tt(a.opts._type,a.data,a.opts,S,At);if(a.opts._type!==b.PIE&&a.opts._type!==b.DOUGHNUT){if(a.opts.valAxes&&1 ')+' ')+' ')+' ')+("none"!==e.serGridLine.style?kt(e.serGridLine):""),e.showSerAxisTitle&&(r+=_t({color:e.serAxisTitleColor,fontFace:e.serAxisTitleFontFace,fontSize:e.serAxisTitleFontSize,titleRotate:e.serAxisTitleRotate,title:e.serAxisTitle||"Axis Title"}));r=(r=(r=(r=(r=(r=(r=(r=(r=(r=(r=(r=(r=(r=(r=(r+=' '))+' ')+' '))+' ')+(e.serAxisLineShow?"".concat(M(e.serAxisLineColor||x.color),""):"")+' ')+" ")+" ")+" ")+" ")+' '))+" ".concat(M(e.serAxisLabelColor||C),""))+' '))+" ")+' ')+" ")+' ',e.serAxisLabelFrequency&&(r+=' ');e.serLabelFormatCode&&(["serAxisBaseTimeUnit","serAxisMajorTimeUnit","serAxisMinorTimeUnit"].forEach(function(t){!e[t]||"string"==typeof e[t]&&["days","months","years"].includes(t.toLowerCase())||(console.warn('"'.concat(t,"\" must be one of: 'days','months','years' !")),e[t]=null)}),e.serAxisBaseTimeUnit&&(r+=' ')),e.serAxisMajorTimeUnit&&(r+=' ')),e.serAxisMinorTimeUnit&&(r+=' ')),e.serAxisMajorUnit&&(r+=' ')),e.serAxisMinorUnit)&&(r+=' '));return r+=""}(a.opts,ct,S))),null!=(t=a.opts)&&t.catAxes&&null!=(t=a.opts)&&t.catAxes[1]&&(o+=Bt(y(y({},a.opts),a.opts.catAxes[1]),lt,st))}a.opts.showDataTable&&(o=(o=(o=(o=(o=(o=(o=(o=(o=(o=(o=(o=(o=(o=(o=(o+="")+' '))+' '))+' '))+' '))+" ")+' ')+" ")+' ')+' ')+' '))+' ')+' ')+" ")+' ')+" ");o=(o=(o=(o+=" ")+(null!=(t=a.opts.plotArea.fill)&&t.color?z(a.opts.plotArea.fill):""))+(a.opts.plotArea.border?'').concat(z(a.opts.plotArea.border.color),""):"")+" ")+" ",a.opts.showLegend&&(o=(o+="")+'',(a.opts.legendFontFace||a.opts.legendFontSize||a.opts.legendColor)&&(o=(o=(o=(o+="")+" ")+" ")+(a.opts.legendFontSize?''):""),a.opts.legendColor&&(o+=z(a.opts.legendColor)),a.opts.legendFontFace&&(o+=''),a.opts.legendFontFace&&(o+=''),o=(o=(o+=" ")+' ')+" "),o+="");o=(o+=' ')+' ',a.opts._type===b.SCATTER&&(o+='');return o=(o=(o=(o=(o+="")+(null!=(t=a.opts.chartArea.fill)&&t.color?z(a.opts.chartArea.fill):""))+(a.opts.chartArea.border?'').concat(z(a.opts.chartArea.border.color),""):""))+" ")+''}(m)),e("")}).catch(function(t){n(t)})})];case 1:return[2,t.sent()]}})})}function Tt(r,a,o,t,e){var i=-1,s=1,n=null,A="";switch(r){case b.AREA:case b.BAR:case b.BAR3D:case b.LINE:case b.RADAR:A+=""),r===b.AREA&&"stacked"===o.barGrouping&&(A+=''),r!==b.BAR&&r!==b.BAR3D||(A=(A+='')+''),r===b.RADAR&&(A+=''),A+='',a.forEach(function(t){i++,A=(A=(A=(A+="")+' ')+" ")+" Sheet1!$"+L(t._dataIndex+t.labels.length+1)+"$1")+' '+F(t.name)+" ";var e=o.chartColors?o.chartColors[i%o.chartColors.length]:null;A+=" ","transparent"===e?A+="":o.chartColorsOpacity?A+=""+M(e,''))+"":A+=""+M(e)+"",r===b.LINE||r===b.RADAR?0===o.lineSize?A+="":A=(A+='').concat(M(e),""))+('':o.dataBorder&&(A+='').concat(M(o.dataBorder.color),'')),A=A+v(o.shadow,c)+' ',r!==b.RADAR&&(A=(A+="")+''),o.dataLabelBkgrdColors&&(A+="".concat(M(e),"")),A=(A=(A=(A+="")+''))+"".concat(M(o.dataLabelColor||C),""))+'')+"",o.dataLabelPosition&&(A+='')),A=(A=(A=(A+='')+''))+''))+'')+""),r!==b.LINE&&r!==b.RADAR||(A=(A+="")+' ',o.lineDataSymbolSize&&(A+='')),A=(A=(A+=" ")+" ".concat(M(o.chartColors[t._dataIndex+1>o.chartColors.length?Math.floor(Math.random()*o.chartColors.length):t._dataIndex]),""))+' ').concat(M(o.lineDataSymbolLineColor||e),'')+" "),r!==b.BAR&&r!==b.BAR3D||1!==a.length||!(o.chartColors&&o.chartColors!==pt&&1")+' ')+' ',0===o.lineSize?A+="":A=r===b.BAR?(A+="")+' ':(A+=" ")+' ',A=A+v(o.shadow,c)+" "}),A+="",o.catLabelFormatCode?(A=(A=(A=(A+=" ")+" Sheet1!$A$2:$A$".concat(t.labels[0].length+1,"")+" ")+" "+(o.catLabelFormatCode||"General")+"")+' '),t.labels[0].forEach(function(t,e){return A+='').concat(F(t),"")}),A+=" "):(A=(A=(A+=" ")+" Sheet1!$A$2:$".concat(L(t.labels.length),"$").concat(t.labels[0].length+1,"")+" ")+' '),t.labels.forEach(function(t){A+="",t.forEach(function(t,e){return A+='').concat(F(t),"")}),A+=""}),A+=" "),A=(A=(A=(A=A+""+" ")+"Sheet1!$".concat(L(t._dataIndex+t.labels.length+1),"$2:$").concat(L(t._dataIndex+t.labels.length+1),"$").concat(t.labels[0].length+1,"")+" ")+" "+(o.valLabelFormatCode||o.dataTableFormatCode||"General")+"")+' '),t.values.forEach(function(t,e){return A+='').concat(t||0===t?t:"","")}),A+=" ",r===b.LINE&&(A+=''),A+=""}),A=(A=(A=(A=(A+=" ")+' ')+" ")+' '))+" "+M(o.dataLabelColor||C)+"")+' ',o.dataLabelPosition&&(A+=' '),A=(A=(A=(A+=' ')+' ')+' ')+' ')+" ",r===b.BAR?A=(A+=' '))+' '):r===b.BAR3D?A=(A=(A+=' '))+' '))+(' ':r===b.LINE&&(A+=' '),A=(A+=''))+"");break;case b.SCATTER:A=(A+="")+''+'',i=-1,a.filter(function(t,e){return 0")+' '))+' ')+" ")+" Sheet1!$".concat(L(t+2),"$1"))+' '+F(n.name)+" ";var r,e=o.chartColors[i%o.chartColors.length];"transparent"===e?A+="":o.chartColorsOpacity?A+=""+M(e,'')+"":A+=""+M(e)+"",0===o.lineSize?A+="":A=(A+='').concat(M(e),""))+''),A=(A=(A+=v(o.shadow,c))+" "+"")+' ',o.lineDataSymbolSize&&(A+='')),A=(A=(A+="")+"".concat(M(o.chartColors[t+1>o.chartColors.length?Math.floor(Math.random()*o.chartColors.length):t]),""))+'').concat(M(o.lineDataSymbolLineColor||o.chartColors[i%o.chartColors.length]),'')+"",o.showLabel&&(r=ht("-xxxx-xxxx-xxxx-xxxxxxxxxxxx"),!n.labels[0]||"custom"!==o.dataLabelFormatScatter&&"customXY"!==o.dataLabelFormatScatter||(A+="",n.labels[0].forEach(function(t,e){"custom"!==o.dataLabelFormatScatter&&"customXY"!==o.dataLabelFormatScatter||(A=(A=(A=(A+=" ")+' ')+" ")+' ')+" "+F(t)+" ",A=("customXY"!==o.dataLabelFormatScatter||/^ *$/.test(t)?A:(A=(A=(A=(A=(A=(A=(A=(A=(A=(A+=" ")+' ( ')+' ')+' ')+" ["+F(n.name)+" ")+' , ')+' ')+' ')+" ["+F(n.name)+"] ")+' ) ')+' ')+" ",o.dataLabelPosition&&(A+=' '),A=(A+=' ')+' ')+" ")}),A+=""),"XY"===o.dataLabelFormatScatter)&&(A+=' ',o.dataLabelPosition&&(A+=' '),A=(A=(A=(A+=' ')+' '))+' '))+' ')+' '),1===a.length&&o.chartColors!==pt&&n.values.forEach(function(t,e){t=t<0?o.invertedColors||o.chartColors||pt:o.chartColors||[];A=(A+=" ")+' ')+' ',0===o.lineSize?A+="":A=(A+="")+' ',A=A+v(o.shadow,c)+" "}),A=(A=(A+=" ")+" Sheet1!$A$2:$A$".concat(a[0].values.length+1,"")+" General")+' '),a[0].values.forEach(function(t,e){A+='').concat(t||0===t?t:"","")}),A=(A=(A+=" ")+" Sheet1!$".concat(L(t+2),"$2:$").concat(L(t+2),"$").concat(a[0].values.length+1,"")+" General")+' '),a[0].values.forEach(function(t,e){A+='').concat(n.values[e]||0===n.values[e]?n.values[e]:"","")}),A=(A+=" ")+''}),A=(A=(A=(A=(A+=" ")+' ')+" ")+' '))+" "+M(o.dataLabelColor||C)+"")+' ',o.dataLabelPosition&&(A+=' '),A=(A=(A+=' ')+' ')+' ',A=(A+=''))+("");break;case b.BUBBLE:case b.BUBBLE3D:A=A+""+'',i=-1,a.filter(function(t,e){return 0")+' '))+' ')+" ")+" Sheet1!$"+L(s+1)+"$1")+' '+F(n.name)+" ";t=o.chartColors[i%o.chartColors.length];"transparent"===t?A+="":o.chartColorsOpacity?A+="".concat(M(t,''),""):A+=""+M(t)+"",0===o.lineSize?A+="":o.dataBorder?A+='').concat(M(o.dataBorder.color),''):A=(A+='').concat(M(t),""))+''),A=A+v(o.shadow,c)+"",A=(A=(A+=" ")+" Sheet1!$A$2:$A$".concat(a[0].values.length+1,"")+" General")+' '),a[0].values.forEach(function(t,e){A+='').concat(t||0===t?t:"","")}),A=(A+=" ")+"Sheet1!$".concat(L(s+1),"$2:$").concat(L(s+1),"$").concat(a[0].values.length+1,""),s++,A=(A+=" General")+' '),a[0].values.forEach(function(t,e){A+='').concat(n.values[e]||0===n.values[e]?n.values[e]:"","")}),A=(A+=" ")+"Sheet1!$".concat(L(s+1),"$2:$").concat(L(s+1),"$").concat(n.sizes.length+1,""),s++,A=(A+=" General")+' '),n.sizes.forEach(function(t,e){A+='').concat(t||"","")}),A=(A+=" ")+' '}),A=(A=(A=(A=(A+="")+'')+"")+''))+"".concat(M(o.dataLabelColor||C),""))+'')+"",o.dataLabelPosition&&(A+='')),A=(A=(A=(A=(A+='')+''))+'')+' ')+' ')+'')+"";break;case b.DOUGHNUT:case b.PIE:n=a[0],A=(A=(A=(A=(A=(A=(A=(A=(A=A+("")+' ')+""+' ')+' '+" ")+" "+" Sheet1!$B$1")+" "+' ')+(' '+F(n.name)+""))+" "+" ")+" "+" ")+' '+' ',o.dataNoEffects?A+="":A+=v(o.shadow,c),A+=" ",n.labels[0].forEach(function(t,e){A=(A=(A+="")+' ')+' ')+"".concat(M(o.chartColors[e+1>o.chartColors.length?Math.floor(Math.random()*o.chartColors.length):e]),""),o.dataBorder&&(A+='').concat(M(o.dataBorder.color),'')),A=A+v(o.shadow,c)+" "}),A+="",n.labels[0].forEach(function(t,e){A=(A=(A=(A=(A=(A+="")+' '))+' ')+" ")+' '))+" "+M(o.dataLabelColor||C)+"")+' ')+" ",r===b.PIE&&o.dataLabelPosition&&(A+='')),A=(A=(A=(A=(A+=' ')+' ')+' ')+' ')+' '}),A=(A=(A=(A=(A=(A=(A=(A=(A=(A=(A=(A=(A=(A=A+' ')+" ")+" "+" ")+" "+" ")+' ')+' ')+" "+" ")+" "+" ")+(r===b.PIE?'':""))+' '+' ')+' '+' ')+' '+' ')+' ')+"")+""+" ")+" Sheet1!$A$2:$A$".concat(n.labels[0].length+1,"")+" ")+' '),n.labels[0].forEach(function(t,e){A+='').concat(F(t),"")}),A=(A=(A=(A=(A+=" ")+" "+"")+" "+" ")+" Sheet1!$B$2:$B$".concat(n.labels[0].length+1,"")+" ")+' '),n.values.forEach(function(t,e){A+='').concat(t||0===t?t:"","")}),A=(A=(A=A+" "+" ")+" "+" ")+' '),r===b.DOUGHNUT&&(A+='')),A+="";break;default:A+=""}return A}function Bt(e,t,n){var r="";return e._type===b.SCATTER||e._type===b.BUBBLE||e._type===b.BUBBLE3D?r+="":r+="",r=(r+=' ')+" "+(''),!e.catAxisMaxVal&&0!==e.catAxisMaxVal||(r+='')),!e.catAxisMinVal&&0!==e.catAxisMinVal||(r+='')),r=(r=(r=r+""+(' '))+(' '))+("none"!==e.catGridLine.style?kt(e.catGridLine):""),e.showCatAxisTitle&&(r+=_t({color:e.catAxisTitleColor,fontFace:e.catAxisTitleFontFace,fontSize:e.catAxisTitleFontSize,titleRotate:e.catAxisTitleRotate,title:e.catAxisTitle||"Axis Title"})),e._type===b.SCATTER||e._type===b.BUBBLE||e._type===b.BUBBLE3D?r+=' ':r+=' ',e._type===b.SCATTER?r+=' ':r=(r=(r+=' ')+' ')+' ',r=(r=(r=(r=(r=(r+=" ")+' '))+(e.catAxisLineShow?""+M(e.catAxisLineColor||x.color)+"":""))+(' '))+" "+" ")+" "+" ",e.catAxisLabelRotate?r+=''):r+="",r=(r=(r=(r=(r=(r=(r=(r=(r=(r=(r+=" ")+" "+" ")+' '))+(" "+M(e.catAxisLabelColor||C)+""))+(' '))+" "+" ")+(' ')+" ")+" "+(' '))+" '))+' '+' ')+' '),e.catAxisLabelFrequency&&(r+=' '),(e.catLabelFormatCode||e._type===b.SCATTER||e._type===b.BUBBLE||e._type===b.BUBBLE3D)&&(e.catLabelFormatCode&&(["catAxisBaseTimeUnit","catAxisMajorTimeUnit","catAxisMinorTimeUnit"].forEach(function(t){!e[t]||"string"==typeof e[t]&&["days","months","years"].includes(e[t].toLowerCase())||(console.warn('"'.concat(t,"\" must be one of: 'days','months','years' !")),e[t]=null)}),e.catAxisBaseTimeUnit&&(r+=''),e.catAxisMajorTimeUnit&&(r+=''),e.catAxisMinorTimeUnit)&&(r+=''),e.catAxisMajorUnit&&(r+='')),e.catAxisMinorUnit)&&(r+='')),e._type===b.SCATTER||e._type===b.BUBBLE||e._type===b.BUBBLE3D?r+="":r+="",r}function Dt(t,e){var n=e===S?"col"===t.barDir?"l":"b":"col"!==t.barDir?"r":"t",r=(e===st&&(n="r"),e===S?At:lt),a="",a=(a+="")+(' ')+" ";return t.valAxisLogScaleBase&&(a+='')),a+='',!t.valAxisMaxVal&&0!==t.valAxisMaxVal||(a+='')),!t.valAxisMinVal&&0!==t.valAxisMinVal||(a+='')),a=(a+=" ")+' ')+(' '),"none"!==t.valGridLine.style&&(a+=kt(t.valGridLine)),t.showValAxisTitle&&(a+=_t({color:t.valAxisTitleColor,fontFace:t.valAxisTitleFontFace,fontSize:t.valAxisTitleFontSize,titleRotate:t.valAxisTitleRotate,title:t.valAxisTitle||"Axis Title"})),a+=''),t._type===b.SCATTER?a+=' ':a=(a=(a+=' ')+' ')+' ',a=(a=(a=(a=(a=(a=(a=(a=(a=(a=(a=(a=(a=(a+=" ")+' '))+(t.valAxisLineShow?""+M(t.valAxisLineColor||x.color)+"":""))+(' '))+" "+" ")+" "+" ")+" ")+" ")+" "+" ")+' '))+(" "+M(t.valAxisLabelColor||C)+""))+(' '))+" "+" ")+(' ')+" ")+" "+(' '),"number"==typeof t.catAxisCrossesAt?a+=' '):"string"==typeof t.catAxisCrossesAt?a+=' ':a+=' ',a+=' ',t.valAxisMajorUnit&&(a+=' ')),t.valAxisDisplayUnit&&(a+='').concat(t.valAxisDisplayUnitLabel?"":"","")),a+=""}function _t(t,e,n){var r="left"===t.titleAlign||"right"===t.titleAlign?''):"",a=t.titleRotate?''):"",o=t.fontSize?'sz="'.concat(Math.round(100*t.fontSize),'"'):"",i=t.titleBold?1:0,s="";return t.titlePos&&"number"==typeof t.titlePos.x&&"number"==typeof t.titlePos.y&&(1<=(e=0===(e=t.titlePos.x+e)?0:e*(e/5)/10)&&(e/=10),.1<=e&&(e/=10),1<=(n=0===(n=t.titlePos.y+n)?0:n*(n/5)/10)&&(n/=10),.1<=n&&(n/=10),s='')),"\n \n \n ".concat(a,"\n \n \n ").concat(r,"\n \n ').concat(M(t.color||C),'\n \n \n \n \n \n ').concat(M(t.color||C),'\n \n \n ').concat(F(t.title)||"","\n \n \n \n \n ").concat(s,'\n \n ')}function L(t){t-=1;return t<=25?ut[t]:"".concat(ut[Math.floor(t/ut.length-1)]).concat(ut[t%ut.length])}function v(t,e){var n,r,a,o,i,s;return t?"object"!=typeof t?(console.warn("`shadow` options must be an object. Ex: `{shadow: {type:'none'}}`"),""):(n="",t=(e=y(y({},e),t)).type||"outer",r=R(e.blur),a=R(e.offset),o=Math.round(6e4*e.angle),i=e.color,s=Math.round(1e5*e.opacity),e=e.rotateWithShape?1:0,(n=(n=(n+="'))+''))+''))+"")+""):""}function kt(t){var e="";return(e+=" ")+' ')+(' ')+(' ')+" "+" "+""}function Nt(t){if(t&&"flat"!==t){if("square"===t)return"sq";if("round"===t)return"rnd";throw new Error("Invalid chart line cap: ".concat(t))}return"flat"}function Ft(t){var o="undefined"!=typeof require&&"undefined"==typeof window?require("fs"):null,i="undefined"!=typeof require&&"undefined"==typeof window?require("https"):null,e=[],s=t._relsMedia.filter(function(t){return"online"!==t.type&&!t.data&&(!t.path||t.path&&!t.path.includes("preencoded"))}),n=[];return s.forEach(function(t){n.includes(t.path)?t.isDuplicate=!0:(t.isDuplicate=!1,n.push(t.path))}),s.filter(function(t){return!t.isDuplicate}).forEach(function(a){e.push(new Promise(function(n,r){var e;if(o&&0!==a.path.indexOf("http"))try{var t=o.readFileSync(a.path);a.data=Buffer.from(t).toString("base64"),s.filter(function(t){return t.isDuplicate&&t.path===a.path}).forEach(function(t){return t.data=a.data}),n("done")}catch(t){a.data=h,s.filter(function(t){return t.isDuplicate&&t.path===a.path}).forEach(function(t){return t.data=a.data}),r(new Error('ERROR: Unable to read media: "'.concat(a.path,'"\n').concat(String(t))))}else o&&i&&0===a.path.indexOf("http")?i.get(a.path,function(t){var e="";t.setEncoding("binary"),t.on("data",function(t){return e+=t}),t.on("end",function(){a.data=Buffer.from(e,"binary").toString("base64"),s.filter(function(t){return t.isDuplicate&&t.path===a.path}).forEach(function(t){return t.data=a.data}),n("done")}),t.on("error",function(t){a.data=h,s.filter(function(t){return t.isDuplicate&&t.path===a.path}).forEach(function(t){return t.data=a.data}),r(new Error("ERROR! Unable to load image (https.get): ".concat(a.path)))})}):((e=new XMLHttpRequest).onload=function(){var t=new FileReader;t.onloadend=function(){a.data=t.result,s.filter(function(t){return t.isDuplicate&&t.path===a.path}).forEach(function(t){return t.data=a.data}),a.isSvgPng?It(a).then(function(){n("done")}).catch(function(t){r(t)}):n("done")},t.readAsDataURL(e.response)},e.onerror=function(t){a.data=h,s.filter(function(t){return t.isDuplicate&&t.path===a.path}).forEach(function(t){return t.data=a.data}),r(new Error("ERROR! Unable to load image (xhr.onerror): ".concat(a.path)))},e.open("GET",a.path),e.responseType="blob",e.send())}))}),t._relsMedia.filter(function(t){return t.isSvgPng&&t.data}).forEach(function(t){o?(t.data=h,e.push(Promise.resolve().then(function(){return"done"}))):e.push(It(t))}),e}function It(a){return u(this,void 0,void 0,function(){return p(this,function(t){switch(t.label){case 0:return[4,new Promise(function(n,e){var r=new Image;r.onload=function(){r.width+r.height===0&&r.onerror("h/w=0");var t=document.createElement("CANVAS"),e=t.getContext("2d");t.width=r.width,t.height=r.height,e.drawImage(r,0,0);try{a.data=t.toDataURL(a.type),n("done")}catch(t){r.onerror(t)}},r.onerror=function(t){a.data=h,e(new Error("ERROR! Unable to load image (image.onerror): ".concat(a.path)))},r.src="string"==typeof a.data?a.data:h})];case 1:return[2,t.sent()]}})})}var Rt={cover:function(t,e){var t=t.h/t.w,n=t')},contain:function(t,e){var t=t.h/t.w,n=t')},crop:function(t,e){var n=e.x,r=t.w-(e.x+e.w),a=e.y,e=t.h-(e.y+e.h),n=Math.round(n/t.w*1e5),r=Math.round(r/t.w*1e5),a=Math.round(a/t.h*1e5),e=Math.round(e/t.h*1e5);return'')}};function Ot(T){var t,B=T._name?'':"",D=1;return T._bkgdImgRid?B+=''):null!=(t=T.background)&&t.color?B+="".concat(z(T.background),""):!T.bkgd&&T._name&&T._name===nt&&(B+=''),B=(B=B+""+'')+''+'',T._slideObjects.forEach(function(r,t){var e,n,A,a,o,i,s,l,c=0,u=0,p=N("75%","X",T._presLayout),f=0,d="",h=null,g=0,m=0,v=null,y=null==(e=r.options)?void 0:e.sizing,b=null==(e=r.options)?void 0:e.rounding,w=(void 0!==T._slideLayout&&void 0!==T._slideLayout._slideObjects&&r.options&&r.options.placeholder&&(n=T._slideLayout._slideObjects.filter(function(t){return t.options.placeholder===r.options.placeholder})[0]),r.options=r.options||{},void 0!==r.options.x&&(c=N(r.options.x,"X",T._presLayout)),void 0!==r.options.y&&(u=N(r.options.y,"Y",T._presLayout)),p=void 0!==r.options.w?N(r.options.w,"X",T._presLayout):p),x=f=void 0!==r.options.h?N(r.options.h,"Y",T._presLayout):f;switch(n&&(!n.options.x&&0!==n.options.x||(c=N(n.options.x,"X",T._presLayout)),!n.options.y&&0!==n.options.y||(u=N(n.options.y,"Y",T._presLayout)),!n.options.w&&0!==n.options.w||(p=N(n.options.w,"X",T._presLayout)),!n.options.h&&0!==n.options.h||(f=N(n.options.h,"Y",T._presLayout))),r.options.flipH&&(d+=' flipH="1"'),r.options.flipV&&(d+=' flipV="1"'),r.options.rotate&&(d+=' rot="'.concat(O(r.options.rotate),'"')),r._type){case _.table:if(h=r.arrTabRows,A=r.options,h[m=g=0].forEach(function(t){a=t.options||null,g+=null!==a&&a.colspan?Number(a.colspan):1}),v=''),v=(v+=' ')+'')+'',Array.isArray(A.colW)){v+="";for(var C=0;C')}}else{m=A.colW||k,r.options.w&&!A.colW&&(m=Math.round(("number"==typeof r.options.w?r.options.w:1)/g)),v+="";for(var S=0;S')}v+="",h.forEach(function(a){for(var o,i,t=0;t'),t.forEach(function(t){var e,n,r,a,o,i={rowSpan:1<(null==(s=t.options)?void 0:s.rowspan)?t.options.rowspan:void 0,gridSpan:1<(null==(s=t.options)?void 0:s.colspan)?t.options.colspan:void 0,vMerge:t._vmerge?1:void 0,hMerge:t._hmerge?1:void 0},s=(s=Object.keys(i).map(function(t){return[t,i[t]]}).filter(function(t){return t[0],!!t[1]}).map(function(t){var e=t[0],t=t[1];return"".concat(String(e),'="').concat(String(t),'"')}).join(" "))&&" "+s;t._hmerge||t._vmerge?v+=""):(e=t.options||{},t.options=e,["align","bold","border","color","fill","fontFace","fontSize","margin","underline","valign"].forEach(function(t){A[t]&&!e[t]&&0!==e[t]&&(e[t]=A[t])}),n=e.valign?' anchor="'.concat(e.valign.replace(/^c$/i,"ctr").replace(/^m$/i,"ctr").replace("center","ctr").replace("middle","ctr").replace("top","t").replace("btm","b").replace("bottom","b"),'"'):"",r=(r=(null!=(r=null==(r=t._optImp)?void 0:r.fill)&&r.color?t._optImp.fill.color:null!=(r=t._optImp)&&r.fill&&"string"==typeof t._optImp.fill?t._optImp.fill:"")||e.fill?e.fill:"")?z(r):"",a=0===e.margin||e.margin?e.margin:Z,o="",o=1<=(a=Array.isArray(a)||"number"!=typeof a?a:[a,a,a,a])[0]?' marL="'.concat(R(a[3]),'" marR="').concat(R(a[1]),'" marT="').concat(R(a[0]),'" marB="').concat(R(a[2]),'"'):' marL="'.concat(I(a[3]),'" marR="').concat(I(a[1]),'" marT="').concat(I(a[0]),'" marB="').concat(I(a[2]),'"'),v+="").concat(jt(t),""),e.border&&Array.isArray(e.border)&&[{idx:3,name:"lnL"},{idx:1,name:"lnR"},{idx:0,name:"lnT"},{idx:2,name:"lnB"}].forEach(function(t){"none"!==e.border[t.idx].type?v=(v=(v=(v+="'))+"".concat(M(e.border[t.idx].color),""))+''))+""):v+="")}),v=v+r+" ")}),v+=""}),B+=v=(v=v+" "+" ")+" "+"",D++;break;case _.text:case _.placeholder:if(r.options.line||0!==f||(f=.3*k),r.options._bodyProp||(r.options._bodyProp={}),r.options.margin&&Array.isArray(r.options.margin)?(r.options._bodyProp.lIns=R(r.options.margin[0]||0),r.options._bodyProp.rIns=R(r.options.margin[1]||0),r.options._bodyProp.bIns=R(r.options.margin[2]||0),r.options._bodyProp.tIns=R(r.options.margin[3]||0)):"number"==typeof r.options.margin&&(r.options._bodyProp.lIns=R(r.options.margin),r.options._bodyProp.rIns=R(r.options.margin),r.options._bodyProp.bIns=R(r.options.margin),r.options._bodyProp.tIns=R(r.options.margin)),B=(B+="")+''),null!=(o=r.options.hyperlink)&&o.url&&(B+='')),null!=(o=r.options.hyperlink)&&o.slide&&(B+='')),B=(B=(B=(B=(B=(B+="")+("':"/>")))+"".concat("placeholder"===r._type?Gt(r):Gt(n),"")+"")+""))+''))+''),"custGeom"===r.shape)B=(B+='')+''),null!=(o=r.options.points)&&o.forEach(function(t,e){if("curve"in t)switch(t.curve.type){case"arc":B+='');break;case"cubic":B+='\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t');break;case"quadratic":B+='\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t')}else"close"in t?B+="":t.moveTo||0===e?B+=''):B+='')}),B+="";else{if(B+='',r.options.rectRadius)B+='');else if(r.options.angleRange){for(var L=0;L<2;L++){var E=r.options.angleRange[L];B+='')}r.options.arcThicknessRatio&&(B+=''))}B+=""}B+=r.options.fill?z(r.options.fill):"",r.options.line&&(B+=r.options.line.width?''):"",r.options.line.color&&(B+=z(r.options.line)),r.options.line.dashType&&(B+='')),r.options.line.beginArrowType&&(B+='')),r.options.line.endArrowType&&(B+='')),B+=""),r.options.shadow&&"none"!==r.options.shadow.type&&(r.options.shadow.type=r.options.shadow.type||"outer",r.options.shadow.blur=R(r.options.shadow.blur||8),r.options.shadow.offset=R(r.options.shadow.offset||4),r.options.shadow.angle=Math.round(6e4*(r.options.shadow.angle||270)),r.options.shadow.opacity=Math.round(1e5*(r.options.shadow.opacity||.75)),r.options.shadow.color=r.options.shadow.color||ot.color,B=(B=(B=(B+="")+" '))+' '))+' ')+" "),B=(B+="")+jt(r)+"";break;case _.image:B=(B=B+""+" ")+''),null!=(o=r.hyperlink)&&o.url&&(B+='')),null!=(o=r.hyperlink)&&o.slide&&(B+='')),B=(B=(B=B+" "+' ')+(" "+Gt(n)+""))+" "+"",B=(T._relsMedia||[]).filter(function(t){return t.rId===r.imageRid})[0]&&"svg"===(T._relsMedia||[]).filter(function(t){return t.rId===r.imageRid})[0].extn?(B=(B+=''))+(r.options.transparency?' '):"")+' ')+' ')+" ":(B+=''))+(r.options.transparency?''):"")+"",null!=y&&y.type?(o=y.w?N(y.w,"X",T._presLayout):p,i=y.h?N(y.h,"Y",T._presLayout):f,s=N(y.x||0,"X",T._presLayout),l=N(y.y||0,"Y",T._presLayout),B+=Rt[y.type]({w:w,h:x},{w:o,h:i,x:s,y:l}),w=o,x=i):B+=" ",B=(B=(B=(B=(B+="")+""+(" "))+' '))+' ')+" ")+' '),r.options.shadow&&"none"!==r.options.shadow.type&&(r.options.shadow.type=r.options.shadow.type||"outer",r.options.shadow.blur=R(r.options.shadow.blur||8),r.options.shadow.offset=R(r.options.shadow.offset||4),r.options.shadow.angle=Math.round(6e4*(r.options.shadow.angle||270)),r.options.shadow.opacity=Math.round(1e5*(r.options.shadow.opacity||.75)),r.options.shadow.color=r.options.shadow.color||ot.color,B=(B=(B=(B=(B+="")+"'))+''))+''))+"")+""),B=B+""+"";break;case _.media:B="online"===r.mtype?(B=(B=(B=(B+=" ")+'')+" ")+' ')+" ")+' ')+" ")+" ')+' ':(B=(B=(B=(B=(B+=" ")+'')+' ')+' ')+' ')+' ')+" ")+' ')+" ")+" ')+' ';break;case _.chart:B=(B=(B=(B=(B=(B=(B=B+""+" ")+' ')+" ")+" ".concat(Gt(n),"")+" ")+' '))+' '+' ')+' ')+" ")+" "+"";break;default:B+=""}}),T._slideNumberProps&&(T._slideNumberProps.align||(T._slideNumberProps.align="left"),B=(B+=' ')+""+'')+'')+' '),T._slideNumberProps.color&&(B+=z(T._slideNumberProps.color)),T._slideNumberProps.fontFace&&(B+='')),B+=""),B+="",T._slideNumberProps.align.startsWith("l")?B+='':T._slideNumberProps.align.startsWith("c")?B+='':T._slideNumberProps.align.startsWith("r")?B+='':B+='',B=(B+=''))+"".concat(T._slideNum,'')+""),B=B+""+""}function Mt(t,e){var n=0,r=''+d+'';return t._rels.forEach(function(t){n=Math.max(n,t.rId),t.type.toLowerCase().includes("hyperlink")?"slide"===t.data?r+=''):r+=''):t.type.toLowerCase().includes("notesSlide")&&(r+=''))}),(t._relsChart||[]).forEach(function(t){n=Math.max(n,t.rId),r+='')}),(t._relsMedia||[]).forEach(function(t){var e=t.rId.toString();n=Math.max(n,t.rId),t.type.toLowerCase().includes("image")?r+='':t.type.toLowerCase().includes("audio")?r.includes(' Target="'+t.Target+'"')?r+='':r+='':t.type.toLowerCase().includes("video")?r.includes(' Target="'+t.Target+'"')?r+='':r+='':t.type.toLowerCase().includes("online")&&(r.includes(' Target="'+t.Target+'"')?r+='':r+='')}),e.forEach(function(t,e){r+='')}),r+=""}function zt(t,e){var n,r,a="",o="",i="",s="",A=e?"a:lvl1pPr":"a:pPr",l=R(V),c="<".concat(A).concat(t.options.rtlMode?' rtl="1" ':"");if(t.options.align)switch(t.options.align){case"left":c+=' algn="l"';break;case"right":c+=' algn="r"';break;case"center":c+=' algn="ctr"';break;case"justify":c+=' algn="just"';break;default:c+=""}return t.options.lineSpacing?o=''):t.options.lineSpacingMultiple&&(o='')),t.options.indentLevel&&!isNaN(Number(t.options.indentLevel))&&0')),t.options.paraSpaceAfter&&!isNaN(Number(t.options.paraSpaceAfter))&&0')),"object"==typeof t.options.bullet?(null!=(r=null==(r=null==t?void 0:t.options)?void 0:r.bullet)&&r.indent&&(l=R(t.options.bullet.indent)),t.options.bullet.type?"number"===t.options.bullet.type.toString().toLowerCase()&&(c+=' marL="'.concat(t.options.indentLevel&&0')):a=t.options.bullet.characterCode?(n="&#x".concat(t.options.bullet.characterCode,";"),/^[0-9A-Fa-f]{4}$/.test(t.options.bullet.characterCode)||(console.warn("Warning: `bullet.characterCode should be a 4-digit unicode charatcer (ex: 22AB)`!"),n=f.DEFAULT),c+=' marL="'.concat(t.options.indentLevel&&0'):t.options.bullet.code?(n="&#x".concat(t.options.bullet.code,";"),/^[0-9A-Fa-f]{4}$/.test(t.options.bullet.code)||(console.warn("Warning: `bullet.code should be a 4-digit hex code (ex: 22AB)`!"),n=f.DEFAULT),c+=' marL="'.concat(t.options.indentLevel&&0'):(c+=' marL="'.concat(t.options.indentLevel&&0'))):t.options.bullet?(c+=' marL="'.concat(t.options.indentLevel&&0')):t.options.bullet||(c+=' indent="0" marL="0"',a=""),t.options.tabStops&&Array.isArray(t.options.tabStops)&&(r=t.options.tabStops.map(function(t){return'')}).join(""),s="".concat(r,"")),c+=">"+o+i+a+s,e&&(c+=Ut(t.options,!0)),c+=""}function Ut(t,e){var n,r,a,o,i="",e=e?"a:defRPr":"a:rPr",i=(i=(i=(i=(i+="<"+e+' lang="'+(t.lang||"en-US")+'"'+(t.lang?' altLang="en-US"':""))+(t.fontSize?' sz="'.concat(Math.round(100*t.fontSize),'"'):""))+(null!=t&&t.bold?' b="'.concat(t.bold?"1":"0",'"'):""))+(null!=t&&t.italic?' i="'.concat(t.italic?"1":"0",'"'):""))+(null!=t&&t.strike?' strike="'.concat("string"==typeof t.strike?t.strike:"sngStrike",'"'):"");if("object"==typeof t.underline&&null!=(n=t.underline)&&n.style?i+=' u="'.concat(t.underline.style,'"'):"string"==typeof t.underline?i+=' u="'.concat(String(t.underline),'"'):t.hyperlink&&(i+=' u="sng"'),t.baseline?i+=' baseline="'.concat(Math.round(50*t.baseline),'"'):t.subscript?i+=' baseline="-40000"':t.superscript&&(i+=' baseline="30000"'),i=i+(t.charSpacing?' spc="'.concat(Math.round(100*t.charSpacing),'" kern="0"'):"")+' dirty="0">',(t.color||t.fontFace||t.outline||"object"==typeof t.underline&&t.underline.color)&&(t.outline&&"object"==typeof t.outline&&(i+='').concat(z(t.outline.color||"FFFFFF"),"")),t.color&&(i+=z({color:t.color,transparency:t.transparency})),t.highlight&&(i+="".concat(M(t.highlight),"")),"object"==typeof t.underline&&t.underline.color&&(i+="".concat(z(t.underline.color),"")),t.glow&&(i+="".concat((n=t.glow,a="",r=y(y({},r=it),n),n=Math.round(r.size*w),o=r.color,r=Math.round(1e5*r.opacity),(a+=''))+M(o,''))+""),"")),t.fontFace)&&(i+='')),t.hyperlink){if("object"!=typeof t.hyperlink)throw new Error("ERROR: text `hyperlink` option should be an object. Ex: `hyperlink:{url:'https://github.com'}` ");if(!t.hyperlink.url&&!t.hyperlink.slide)throw new Error("ERROR: 'hyperlink requires either `url` or `slide`'");t.hyperlink.url?i+='":"/>"):t.hyperlink.slide&&(i+='":"/>")),t.color&&(i+=' ')}return i+="")}function jt(n){var o,t,e,r,a,i=n.options||{},s=[],A=[];return!i||n._type===_.tablecell||void 0!==n.text&&null!==n.text?(o=n._type===_.tablecell?"":"",o+=(e="":"resize"===t.options.fit&&(e+="")),t.options.shrinkText&&(e+=""),e=e+(t.options._bodyProp.autoFit?"":"")+""):e+=' wrap="square" rtlCol="0">',t._type===_.tablecell?"":e),0===i.h&&i.line&&i.align?o+='':"placeholder"===n._type?o+="".concat(zt(n,!0),""):o+="","string"==typeof n.text||"number"==typeof n.text?s.push({text:n.text.toString(),options:i||{}}):n.text&&!Array.isArray(n.text)&&"object"==typeof n.text&&Object.keys(n.text).includes("text")?s.push({text:n.text||"",options:n.options||{}}):Array.isArray(n.text)&&(s=n.text.map(function(t){return{text:t.text,options:t.options}})),s.forEach(function(e,t){e.text||(e.text=""),e.options=e.options||i||{},0===t&&e.options&&!e.options.bullet&&i.bullet&&(e.options.bullet=i.bullet),"string"!=typeof e.text&&"number"!=typeof e.text||(e.text=e.text.toString().replace(/\r*\n/g,d)),e.text.includes(d)&&null===e.text.match(/\n$/g)?e.text.split(d).forEach(function(t){e.options.breakLine=!0,A.push({text:t,options:e.options})}):A.push(e)}),r=[],a=[],A.forEach(function(t,e){0",""),n.options.align=n.options.align||i.align,n.options.lineSpacing=n.options.lineSpacing||i.lineSpacing,n.options.lineSpacingMultiple=n.options.lineSpacingMultiple||i.lineSpacingMultiple,n.options.indentLevel=n.options.indentLevel||i.indentLevel,n.options.paraSpaceBefore=n.options.paraSpaceBefore||i.paraSpaceBefore,n.options.paraSpaceAfter=n.options.paraSpaceAfter||i.paraSpaceAfter,a=zt(n,!1),o+=a.replace("",""),Object.entries(i).filter(function(t){var e=t[0];return t[1],!(n.options.hyperlink&&"color"===e)}).forEach(function(t){var e=t[0],t=t[1];"bullet"===e||n.options[e]||(n.options[e]=t)}),o+=(t=n).text?"".concat(Ut(t.options,!1),"").concat(F(t.text),""):"",(!n.text&&i.fontSize||n.options.fontSize)&&(r=!0,i.fontSize=i.fontSize||n.options.fontSize)}),n._type===_.tablecell&&(i.fontSize||i.fontFace)?i.fontFace?o=(o=(o=(o+='')+''))+''))+'')+"":o+='':o+=r?'':''),o+=""}),o+=n._type===_.tablecell?"":""):""}function Gt(t){var e,n;return t?(e=null!=(e=t.options)&&e._placeholderIdx?t.options._placeholderIdx:"",n=(n=null!=(n=t.options)&&n._placeholderType?t.options._placeholderType:"")&&a[n]?a[n].toString():"","")):""}function Qt(t){return''.concat(d,'').concat(F((e="",t._slideObjects.forEach(function(t){t._type===_.notes&&(e+=null!=t&&t.text&&t.text[0]?t.text[0].text:"")}),e.replace(/\r*\n/g,d))),'').concat(t._slideNum,'');var e}function Wt(t,e,n){return Mt(t[n-1],[{target:"../slideLayouts/slideLayout".concat(function(t,e,n){for(var r=0;r'+d)+'')+'')+'')+'')+'',r.forEach(function(t){(t._relsMedia||[]).forEach(function(t){"image"===t.type||"online"===t.type||"chart"===t.type||"m4v"===t.extn||i.includes(t.type)||(i+='')})}),i=(i+='')+'',r.forEach(function(t,e){i=(i+=''))+''),t._relsChart.forEach(function(t){i+='')})}),i=(i+='')+'',a.forEach(function(t,e){i+=''),(t._relsChart||[]).forEach(function(t){i+=' '})}),r.forEach(function(t,e){i+='')}),o._relsChart.forEach(function(t){i+=' '}),o._relsMedia.forEach(function(t){"image"===t.type||"online"===t.type||"chart"===t.type||"m4v"===t.extn||i.includes(t.type)||(i+=' ')}),i=(i+=' ')+' ')),l.file("_rels/.rels",''.concat(d,'\n\t\t\n\t\t\n\t\t\n\t\t')),l.file("docProps/app.xml",(a=this.slides,r=this.company,''.concat(d,'\n\t0\n\t0\n\tMicrosoft Office PowerPoint\n\tOn-screen Show (16:9)\n\t0\n\t').concat(a.length,"\n\t").concat(a.length,'\n\t0\n\t0\n\tfalse\n\t\n\t\t\n\t\t\tFonts Used\n\t\t\t2\n\t\t\tTheme\n\t\t\t1\n\t\t\tSlide Titles\n\t\t\t').concat(a.length,'\n\t\t\n\t\n\t\n\t\t\n\t\t\tArial\n\t\t\tCalibri\n\t\t\tOffice Theme\n\t\t\t').concat(a.map(function(t,e){return"Slide ".concat(e+1,"")}).join(""),"\n\t\t\n\t\n\t").concat(r,"\n\tfalse\n\tfalse\n\tfalse\n\t16.0000\n\t"))),l.file("docProps/core.xml",(o=this.title,a=this.subject,r=this.author,e=this.revision,'\n\t\n\t\t'.concat(F(o),"\n\t\t").concat(F(a),"\n\t\t").concat(F(r),"\n\t\t").concat(F(r),"\n\t\t").concat(e,'\n\t\t').concat((new Date).toISOString().replace(/\.\d\d\dZ/,"Z"),'\n\t\t').concat((new Date).toISOString().replace(/\.\d\d\dZ/,"Z"),"\n\t"))),l.file("ppt/_rels/presentation.xml.rels",function(t){for(var e=1,n=(n=''+d)+''+'',r=1;r<=t.length;r++)n+='');return n+='')+'')+'')+'')+'')+""}(this.slides)),l.file("ppt/theme/theme1.xml",(a=null!=(a=(o=this).theme)&&a.headFontFace?''):'',o=null!=(r=o.theme)&&r.bodyFontFace?''):'',''.concat(a,'').concat(o,''))),l.file("ppt/presentation.xml",function(t){var e=(e=''.concat(d)+''))+''+"";t.slides.forEach(function(t){return e+='')}),e=(e=(e=(e+="")+''))+''))+'')+"";for(var n=1;n<10;n++)e+="')+''+"");return e+="",t.sections&&0',t.sections.forEach(function(t){e+=''),t._slides.forEach(function(t){return e+='')}),e+=""}),e+=''),e+=""}(this)),l.file("ppt/presProps.xml",''.concat(d,'')),l.file("ppt/tableStyles.xml",''.concat(d,'')),l.file("ppt/viewProps.xml",''.concat(d,'')),this.slideLayouts.forEach(function(t,e){l.file("ppt/slideLayouts/slideLayout".concat(e+1,".xml"),'\n\t\t\n\t\t'.concat(Ot(t),"\n\t\t")),l.file("ppt/slideLayouts/_rels/slideLayout".concat(e+1,".xml.rels"),(t=e+1,Mt(s.slideLayouts[t-1],[{target:"../slideMasters/slideMaster1.xml",type:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/slideMaster"}])))}),this.slides.forEach(function(t,e){var n;l.file("ppt/slides/slide".concat(e+1,".xml"),(n=t,''.concat(d)+'")+"".concat(Ot(n))+"")),l.file("ppt/slides/_rels/slide".concat(e+1,".xml.rels"),Wt(s.slides,s.slideLayouts,e+1)),l.file("ppt/notesSlides/notesSlide".concat(e+1,".xml"),Qt(t)),l.file("ppt/notesSlides/_rels/notesSlide".concat(e+1,".xml.rels"),'\n\t\t\n\t\t\t\n\t\t\t\n\t\t'))}),l.file("ppt/slideMasters/slideMaster1.xml",(n=this.masterSlide,e=(e=this.slideLayouts).map(function(t,e){return'')}),r=''+d,(r+='')+Ot(n)+''+e.join("")+' ')),l.file("ppt/slideMasters/_rels/slideMaster1.xml.rels",(a=this.masterSlide,(o=(o=this.slideLayouts).map(function(t,e){return{target:"../slideLayouts/slideLayout".concat(e+1,".xml"),type:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/slideLayout"}})).push({target:"../theme/theme1.xml",type:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme"}),Mt(a,o))),l.file("ppt/notesMasters/notesMaster1.xml",''.concat(d,'7/23/19Click to edit Master text stylesSecond levelThird levelFourth levelFifth level‹#›')),l.file("ppt/notesMasters/_rels/notesMaster1.xml.rels",''.concat(d,'\n\t\t\n\t\t')),this.slideLayouts.forEach(function(t){s.createChartMediaRels(t,l,A)}),this.slides.forEach(function(t){s.createChartMediaRels(t,l,A)}),this.createChartMediaRels(this.masterSlide,l,A),[4,Promise.all(A).then(function(){return u(s,void 0,void 0,function(){return p(this,function(t){switch(t.label){case 0:return"STREAM"!==c.outputType?[3,2]:[4,l.generateAsync({type:"nodebuffer",compression:c.compression?"DEFLATE":"STORE"})];case 1:return[2,t.sent()];case 2:return c.outputType?[4,l.generateAsync({type:c.outputType})]:[3,4];case 3:return[2,t.sent()];case 4:return[4,l.generateAsync({type:"blob",compression:c.compression?"DEFLATE":"STORE"})];case 5:return[2,t.sent()]}})})})];case 1:return[2,t.sent()]}var n,e,r,a,o,i})})})];case 1:return[2,t.sent()]}})})};this.LAYOUTS={LAYOUT_4x3:{name:"screen4x3",width:9144e3,height:6858e3},LAYOUT_16x9:{name:"screen16x9",width:9144e3,height:5143500},LAYOUT_16x10:{name:"screen16x10",width:9144e3,height:5715e3},LAYOUT_WIDE:{name:"custom",width:12192e3,height:6858e3}},this._author="PptxGenJS",this._company="PptxGenJS",this._revision="1",this._subject="PptxGenJS Presentation",this._title="PptxGenJS Presentation",this._presLayout={name:this.LAYOUTS[l].name,_sizeW:this.LAYOUTS[l].width,_sizeH:this.LAYOUTS[l].height,width:this.LAYOUTS[l].width,height:this.LAYOUTS[l].height},this._rtlMode=!1,this._slideLayouts=[{_margin:at,_name:nt,_presLayout:this._presLayout,_rels:[],_relsChart:[],_relsMedia:[],_slide:null,_slideNum:1e3,_slideNumberProps:null,_slideObjects:[]}],this._slides=[],this._sections=[],this._masterSlide={addChart:null,addImage:null,addMedia:null,addNotes:null,addShape:null,addTable:null,addText:null,_name:null,_presLayout:this._presLayout,_rId:null,_rels:[],_relsChart:[],_relsMedia:[],_slideId:null,_slideLayout:null,_slideNum:null,_slideNumberProps:null,_slideObjects:[]}}return Object.defineProperty(n.prototype,"layout",{get:function(){return this._layout},set:function(t){var e=this.LAYOUTS[t];if(!e)throw new Error("UNKNOWN-LAYOUT");this._layout=t,this._presLayout=e},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"version",{get:function(){return this._version},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"author",{get:function(){return this._author},set:function(t){this._author=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"company",{get:function(){return this._company},set:function(t){this._company=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"revision",{get:function(){return this._revision},set:function(t){this._revision=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"subject",{get:function(){return this._subject},set:function(t){this._subject=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"theme",{get:function(){return this._theme},set:function(t){this._theme=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"title",{get:function(){return this._title},set:function(t){this._title=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"rtlMode",{get:function(){return this._rtlMode},set:function(t){this._rtlMode=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"masterSlide",{get:function(){return this._masterSlide},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"slides",{get:function(){return this._slides},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"sections",{get:function(){return this._sections},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"slideLayouts",{get:function(){return this._slideLayouts},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"AlignH",{get:function(){return this._alignH},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"AlignV",{get:function(){return this._alignV},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ChartType",{get:function(){return this._chartType},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"OutputType",{get:function(){return this._outputType},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"presLayout",{get:function(){return this._presLayout},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"SchemeColor",{get:function(){return this._schemeColor},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ShapeType",{get:function(){return this._shapeType},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"charts",{get:function(){return this._charts},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"colors",{get:function(){return this._colors},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"shapes",{get:function(){return this._shapes},enumerable:!1,configurable:!0}),n.prototype.stream=function(e){return u(this,void 0,void 0,function(){return p(this,function(t){switch(t.label){case 0:return[4,this.exportPresentation({compression:null==e?void 0:e.compression,outputType:"STREAM"})];case 1:return[2,t.sent()]}})})},n.prototype.write=function(r){return u(this,void 0,void 0,function(){var e,n;return p(this,function(t){switch(t.label){case 0:return e="object"==typeof r&&null!=r&&r.outputType?r.outputType:r||null,n=!("object"!=typeof r||null==r||!r.compression)&&r.compression,[4,this.exportPresentation({compression:n,outputType:e})];case 1:return[2,t.sent()]}})})},n.prototype.writeFile=function(r){return u(this,void 0,void 0,function(){var a,e,n,o,i=this;return p(this,function(t){switch(t.label){case 0:return a="undefined"!=typeof require&&"undefined"==typeof window?require("fs"):null,"string"==typeof r&&console.log("Warning: `writeFile(filename)` is deprecated - please use `WriteFileProps` argument (v3.5.0)"),e="object"==typeof r&&null!=r&&r.fileName?r.fileName:"string"==typeof r?r:"",n=!("object"!=typeof r||null==r||!r.compression)&&r.compression,o=e?e.toString().toLowerCase().endsWith(".pptx")?e:e+".pptx":"Presentation.pptx",[4,this.exportPresentation({compression:n,outputType:a?"nodebuffer":null}).then(function(r){return u(i,void 0,void 0,function(){return p(this,function(t){switch(t.label){case 0:return a?[4,new Promise(function(e,n){a.writeFile(o,r,function(t){t?n(t):e(o)})})]:[3,2];case 1:return[2,t.sent()];case 2:return[4,this.writeFileToBrowser(o,r)];case 3:return[2,t.sent()]}})})})];case 1:return[2,t.sent()]}})})},n.prototype.addSection=function(t){t?t.title||console.warn("addSection requires a title"):console.warn("addSection requires an argument");var e={_type:"user",_slides:[],title:t.title};t.order?this.sections.splice(t.order,0,e):this._sections.push(e)},n.prototype.addSlide=function(e){var n="string"==typeof e?e:null!=e&&e.masterName?e.masterName:"",t={_name:this.LAYOUTS[l].name,_presLayout:this.presLayout,_rels:[],_relsChart:[],_relsMedia:[],_slideNum:this.slides.length+1},r=(n&&(r=this.slideLayouts.filter(function(t){return t._name===n})[0])&&(t=r),new Lt({addSlide:this.addNewSlide,getSlide:this.getSlide,presLayout:this.presLayout,setSlideNum:this.setSlideNumber,slideId:this.slides.length+256,slideRId:this.slides.length+2,slideNumber:this.slides.length+1,slideLayout:t}));return this._slides.push(r),null!=e&&e.sectionTitle?(t=this.sections.filter(function(t){return t.title===e.sectionTitle})[0])?t._slides.push(r):console.warn('addSlide: unable to find section with title: "'.concat(e.sectionTitle,'"')):this.sections&&0 opts.y = ").concat(i.y)),n.addTable(t.rows,{x:i.x||p[3],y:i.y,w:Number(a)/k,colW:c,autoPage:!1}),i.addImage&&(i.addImage.options=i.addImage.options||{},i.addImage.image&&(i.addImage.image.path||i.addImage.image.data)?n.addImage({path:i.addImage.image.path,data:i.addImage.image.data,x:i.addImage.options.x,y:i.addImage.options.y,w:i.addImage.options.w,h:i.addImage.options.h}):console.warn("Warning: tableToSlides.addImage requires either `path` or `data`")),i.addShape&&n.addShape(i.addShape.shapeName,i.addShape.options||{}),i.addTable&&n.addTable(i.addTable.rows,i.addTable.options||{}),i.addText&&n.addText(i.addText.text,i.addText.options||{})})},n}(); //# sourceMappingURL=pptxgen.bundle.js.map