@file-viewer/assets-standard 3.3.5 → 3.3.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +2 -2
- package/viewer/THIRD_PARTY_LICENSES.assets.json +5 -5
- package/viewer/flyfish-viewer-assets.json +1 -1
- package/viewer/flyfish-viewer-manifest.json +1 -1
- package/viewer/vendor/docx/docx.worker.js +251 -25
- package/viewer/vendor/pptx/pptx.worker.js +8 -8
- package/viewer/vendor/xlsx/licenses/THIRD_PARTY_LICENSES.txt +1 -1
- package/viewer/vendor/xlsx/sheet.worker.js +37 -37
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
var
|
|
2
|
-
\0`,me+=a(H,2),me+=y.magic,me+=a(M,2),me+=a(p,2),me+=a(V.crc32,4),me+=a(V.compressedSize,4),me+=a(V.uncompressedSize,4),me+=a(z.length,2),me+=a(J.length,2),{fileRecord:f.LOCAL_FILE_HEADER+me+z+J,dirRecord:f.CENTRAL_FILE_HEADER+a(ge,2)+me+a(Z.length,2)+"\0\0\0\0"+a(A,4)+a(v,4)+z+J+Z}}var n=e("../utils"),i=e("../stream/GenericWorker"),o=e("../utf8"),d=e("../crc32"),f=e("../signature");function c(l,k,_,v){i.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=k,this.zipPlatform=_,this.encodeFileName=v,this.streamFiles=l,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}n.inherits(c,i),c.prototype.push=function(l){var k=l.meta.percent||0,_=this.entriesCount,v=this._sources.length;this.accumulate?this.contentBuffer.push(l):(this.bytesWritten+=l.data.length,i.prototype.push.call(this,{data:l.data,meta:{currentFile:this.currentFile,percent:_?(k+100*(_-v-1))/_:100}}))},c.prototype.openedSource=function(l){this.currentSourceOffset=this.bytesWritten,this.currentFile=l.file.name;var k=this.streamFiles&&!l.file.dir;if(k){var _=s(l,k,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:_.fileRecord,meta:{percent:0}})}else this.accumulate=!0},c.prototype.closedSource=function(l){this.accumulate=!1;var k=this.streamFiles&&!l.file.dir,_=s(l,k,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(_.dirRecord),k)this.push({data:(function(v){return f.DATA_DESCRIPTOR+a(v.crc32,4)+a(v.compressedSize,4)+a(v.uncompressedSize,4)})(l),meta:{percent:100}});else for(this.push({data:_.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},c.prototype.flush=function(){for(var l=this.bytesWritten,k=0;k<this.dirRecords.length;k++)this.push({data:this.dirRecords[k],meta:{percent:100}});var _=this.bytesWritten-l,v=(function(m,g,M,p,b){var y=n.transformTo("string",b(p));return f.CENTRAL_DIRECTORY_END+"\0\0\0\0"+a(m,2)+a(m,2)+a(g,4)+a(M,4)+a(y.length,2)+y})(this.dirRecords.length,_,l,this.zipComment,this.encodeFileName);this.push({data:v,meta:{percent:100}})},c.prototype.prepareNextSource=function(){this.previous=this._sources.shift(),this.openedSource(this.previous.streamInfo),this.isPaused?this.previous.pause():this.previous.resume()},c.prototype.registerPrevious=function(l){this._sources.push(l);var k=this;return l.on("data",function(_){k.processChunk(_)}),l.on("end",function(){k.closedSource(k.previous.streamInfo),k._sources.length?k.prepareNextSource():k.end()}),l.on("error",function(_){k.error(_)}),this},c.prototype.resume=function(){return!!i.prototype.resume.call(this)&&(!this.previous&&this._sources.length?(this.prepareNextSource(),!0):this.previous||this._sources.length||this.generatedError?void 0:(this.end(),!0))},c.prototype.error=function(l){var k=this._sources;if(!i.prototype.error.call(this,l))return!1;for(var _=0;_<k.length;_++)try{k[_].error(l)}catch{}return!0},c.prototype.lock=function(){i.prototype.lock.call(this);for(var l=this._sources,k=0;k<l.length;k++)l[k].lock()},r.exports=c},{"../crc32":4,"../signature":23,"../stream/GenericWorker":28,"../utf8":31,"../utils":32}],9:[function(e,r,t){"use strict";var a=e("../compressions"),s=e("./ZipFileWorker");t.generateWorker=function(n,i,o){var d=new s(i.streamFiles,o,i.platform,i.encodeFileName),f=0;try{n.forEach(function(c,l){f++;var k=(function(g,M){var p=g||M,b=a[p];if(!b)throw new Error(p+" is not a valid compression method !");return b})(l.options.compression,i.compression),_=l.options.compressionOptions||i.compressionOptions||{},v=l.dir,m=l.date;l._compressWorker(k,_).withStreamInfo("file",{name:c,dir:v,date:m,comment:l.comment||"",unixPermissions:l.unixPermissions,dosPermissions:l.dosPermissions}).pipe(d)}),d.entriesCount=f}catch(c){d.error(c)}return d}},{"../compressions":3,"./ZipFileWorker":8}],10:[function(e,r,t){"use strict";function a(){if(!(this instanceof a))return new a;if(arguments.length)throw new Error("The constructor with parameters has been removed in JSZip 3.0, please check the upgrade guide.");this.files=Object.create(null),this.comment=null,this.root="",this.clone=function(){var s=new a;for(var n in this)typeof this[n]!="function"&&(s[n]=this[n]);return s}}(a.prototype=e("./object")).loadAsync=e("./load"),a.support=e("./support"),a.defaults=e("./defaults"),a.version="3.10.2",a.loadAsync=function(s,n){return new a().loadAsync(s,n)},a.external=e("./external"),r.exports=a},{"./defaults":5,"./external":6,"./load":11,"./object":15,"./support":30}],11:[function(e,r,t){"use strict";var a=e("./utils"),s=e("./external"),n=e("./utf8"),i=e("./zipEntries"),o=e("./stream/Crc32Probe"),d=e("./nodejsUtils");function f(c){return new s.Promise(function(l,k){var _=c.decompressed.getContentWorker().pipe(new o);_.on("error",function(v){k(v)}).on("end",function(){_.streamInfo.crc32!==c.decompressed.crc32?k(new Error("Corrupted zip : CRC32 mismatch")):l()}).resume()})}r.exports=function(c,l){var k=this;return l=a.extend(l||{},{base64:!1,checkCRC32:!1,optimizedBinaryString:!1,createFolders:!1,decodeFileName:n.utf8decode}),d.isNode&&d.isStream(c)?s.Promise.reject(new Error("JSZip can't accept a stream when loading a zip file.")):a.prepareContent("the loaded zip file",c,!0,l.optimizedBinaryString,l.base64).then(function(_){var v=new i(l);return v.load(_),v}).then(function(_){var v=[s.Promise.resolve(_)],m=_.files;if(l.checkCRC32)for(var g=0;g<m.length;g++)v.push(f(m[g]));return s.Promise.all(v)}).then(function(_){for(var v=_.shift(),m=v.files,g=0;g<m.length;g++){var M=m[g],p=M.fileNameStr,b=a.resolve(M.fileNameStr);k.file(b,M.decompressed,{binary:!0,optimizedBinaryString:!0,date:M.date,dir:M.dir,comment:M.fileCommentStr.length?M.fileCommentStr:null,unixPermissions:M.unixPermissions,dosPermissions:M.dosPermissions,createFolders:l.createFolders}),M.dir||(k.file(b).unsafeOriginalName=p)}return v.zipComment.length&&(k.comment=v.zipComment),k})}},{"./external":6,"./nodejsUtils":14,"./stream/Crc32Probe":25,"./utf8":31,"./utils":32,"./zipEntries":33}],12:[function(e,r,t){"use strict";var a=e("../utils"),s=e("../stream/GenericWorker");function n(i,o){s.call(this,"Nodejs stream input adapter for "+i),this._upstreamEnded=!1,this._bindStream(o)}a.inherits(n,s),n.prototype._bindStream=function(i){var o=this;(this._stream=i).pause(),i.on("data",function(d){o.push({data:d,meta:{percent:0}})}).on("error",function(d){o.isPaused?this.generatedError=d:o.error(d)}).on("end",function(){o.isPaused?o._upstreamEnded=!0:o.end()})},n.prototype.pause=function(){return!!s.prototype.pause.call(this)&&(this._stream.pause(),!0)},n.prototype.resume=function(){return!!s.prototype.resume.call(this)&&(this._upstreamEnded?this.end():this._stream.resume(),!0)},r.exports=n},{"../stream/GenericWorker":28,"../utils":32}],13:[function(e,r,t){"use strict";var a=e("readable-stream").Readable;function s(n,i,o){a.call(this,i),this._helper=n;var d=this;n.on("data",function(f,c){d.push(f)||d._helper.pause(),o&&o(c)}).on("error",function(f){d.emit("error",f)}).on("end",function(){d.push(null)})}e("../utils").inherits(s,a),s.prototype._read=function(){this._helper.resume()},r.exports=s},{"../utils":32,"readable-stream":16}],14:[function(e,r,t){"use strict";r.exports={isNode:typeof Buffer!="undefined",newBufferFrom:function(a,s){if(Buffer.from&&Buffer.from!==Uint8Array.from)return Buffer.from(a,s);if(typeof a=="number")throw new Error('The "data" argument must not be a number');return new Buffer(a,s)},allocBuffer:function(a){if(Buffer.alloc)return Buffer.alloc(a);var s=new Buffer(a);return s.fill(0),s},isBuffer:function(a){return Buffer.isBuffer(a)},isStream:function(a){return a&&typeof a.on=="function"&&typeof a.pause=="function"&&typeof a.resume=="function"}}},{}],15:[function(e,r,t){"use strict";function a(b,y,I){var z,R=n.getTypeOf(y),B=n.extend(I||{},d);B.date=B.date||new Date,B.compression!==null&&(B.compression=B.compression.toUpperCase()),typeof B.unixPermissions=="string"&&(B.unixPermissions=parseInt(B.unixPermissions,8)),B.unixPermissions&&16384&B.unixPermissions&&(B.dir=!0),B.dosPermissions&&16&B.dosPermissions&&(B.dir=!0),B.dir&&(b=m(b)),B.createFolders&&(z=v(b))&&g.call(this,z,!0);var Z=R==="string"&&B.binary===!1&&B.base64===!1;I&&I.binary!==void 0||(B.binary=!Z),(y instanceof f&&y.uncompressedSize===0||B.dir||!y||y.length===0)&&(B.base64=!1,B.binary=!0,y="",B.compression="STORE",R="string");var T=null;T=y instanceof f||y instanceof i?y:k.isNode&&k.isStream(y)?new _(b,y):n.prepareContent(b,y,B.binary,B.optimizedBinaryString,B.base64);var x=new c(b,T,B);this.files[b]=x}var s=e("./utf8"),n=e("./utils"),i=e("./stream/GenericWorker"),o=e("./stream/StreamHelper"),d=e("./defaults"),f=e("./compressedObject"),c=e("./zipObject"),l=e("./generate"),k=e("./nodejsUtils"),_=e("./nodejs/NodejsStreamInputAdapter"),v=function(b){b.slice(-1)==="/"&&(b=b.substring(0,b.length-1));var y=b.lastIndexOf("/");return 0<y?b.substring(0,y):""},m=function(b){return b.slice(-1)!=="/"&&(b+="/"),b},g=function(b,y){return y=y!==void 0?y:d.createFolders,b=m(b),this.files[b]||a.call(this,b,null,{dir:!0,createFolders:y}),this.files[b]};function M(b){return Object.prototype.toString.call(b)==="[object RegExp]"}var p={load:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},forEach:function(b){var y,I,z;for(y in this.files)z=this.files[y],(I=y.slice(this.root.length,y.length))&&y.slice(0,this.root.length)===this.root&&b(I,z)},filter:function(b){var y=[];return this.forEach(function(I,z){b(I,z)&&y.push(z)}),y},file:function(b,y,I){if(arguments.length!==1)return b=this.root+b,a.call(this,b,y,I),this;if(M(b)){var z=b;return this.filter(function(B,Z){return!Z.dir&&z.test(B)})}var R=this.files[this.root+b];return R&&!R.dir?R:null},folder:function(b){if(!b)return this;if(M(b))return this.filter(function(R,B){return B.dir&&b.test(R)});var y=this.root+b,I=g.call(this,y),z=this.clone();return z.root=I.name,z},remove:function(b){b=this.root+b;var y=this.files[b];if(y||(b.slice(-1)!=="/"&&(b+="/"),y=this.files[b]),y&&!y.dir)delete this.files[b];else for(var I=this.filter(function(R,B){return B.name.slice(0,b.length)===b}),z=0;z<I.length;z++)delete this.files[I[z].name];return this},generate:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},generateInternalStream:function(b){var y,I={};try{if((I=n.extend(b||{},{streamFiles:!1,compression:"STORE",compressionOptions:null,type:"",platform:"DOS",comment:null,mimeType:"application/zip",encodeFileName:s.utf8encode})).type=I.type.toLowerCase(),I.compression=I.compression.toUpperCase(),I.type==="binarystring"&&(I.type="string"),!I.type)throw new Error("No output type specified.");n.checkSupport(I.type),I.platform!=="darwin"&&I.platform!=="freebsd"&&I.platform!=="linux"&&I.platform!=="sunos"||(I.platform="UNIX"),I.platform==="win32"&&(I.platform="DOS");var z=I.comment||this.comment||"";y=l.generateWorker(this,I,z)}catch(R){(y=new i("error")).error(R)}return new o(y,I.type||"string",I.mimeType)},generateAsync:function(b,y){return this.generateInternalStream(b).accumulate(y)},generateNodeStream:function(b,y){return(b=b||{}).type||(b.type="nodebuffer"),this.generateInternalStream(b).toNodejsStream(y)}};r.exports=p},{"./compressedObject":2,"./defaults":5,"./generate":9,"./nodejs/NodejsStreamInputAdapter":12,"./nodejsUtils":14,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31,"./utils":32,"./zipObject":35}],16:[function(e,r,t){"use strict";r.exports=e("stream")},{stream:void 0}],17:[function(e,r,t){"use strict";var a=e("./DataReader");function s(n){a.call(this,n);for(var i=0;i<this.data.length;i++)n[i]=255&n[i]}e("../utils").inherits(s,a),s.prototype.byteAt=function(n){return this.data[this.zero+n]},s.prototype.lastIndexOfSignature=function(n){for(var i=n.charCodeAt(0),o=n.charCodeAt(1),d=n.charCodeAt(2),f=n.charCodeAt(3),c=this.length-4;0<=c;--c)if(this.data[c]===i&&this.data[c+1]===o&&this.data[c+2]===d&&this.data[c+3]===f)return c-this.zero;return-1},s.prototype.readAndCheckSignature=function(n){var i=n.charCodeAt(0),o=n.charCodeAt(1),d=n.charCodeAt(2),f=n.charCodeAt(3),c=this.readData(4);return i===c[0]&&o===c[1]&&d===c[2]&&f===c[3]},s.prototype.readData=function(n){if(this.checkOffset(n),n===0)return[];var i=this.data.slice(this.zero+this.index,this.zero+this.index+n);return this.index+=n,i},r.exports=s},{"../utils":32,"./DataReader":18}],18:[function(e,r,t){"use strict";var a=e("../utils");function s(n){this.data=n,this.length=n.length,this.index=0,this.zero=0}s.prototype={checkOffset:function(n){this.checkIndex(this.index+n)},checkIndex:function(n){if(this.length<this.zero+n||n<0)throw new Error("End of data reached (data length = "+this.length+", asked index = "+n+"). Corrupted zip ?")},setIndex:function(n){this.checkIndex(n),this.index=n},skip:function(n){this.setIndex(this.index+n)},byteAt:function(){},readInt:function(n){var i,o=0;for(this.checkOffset(n),i=this.index+n-1;i>=this.index;i--)o=(o<<8)+this.byteAt(i);return this.index+=n,o},readString:function(n){return a.transformTo("string",this.readData(n))},readData:function(){},lastIndexOfSignature:function(){},readAndCheckSignature:function(){},readDate:function(){var n=this.readInt(4);return new Date(Date.UTC(1980+(n>>25&127),(n>>21&15)-1,n>>16&31,n>>11&31,n>>5&63,(31&n)<<1))}},r.exports=s},{"../utils":32}],19:[function(e,r,t){"use strict";var a=e("./Uint8ArrayReader");function s(n){a.call(this,n)}e("../utils").inherits(s,a),s.prototype.readData=function(n){this.checkOffset(n);var i=this.data.slice(this.zero+this.index,this.zero+this.index+n);return this.index+=n,i},r.exports=s},{"../utils":32,"./Uint8ArrayReader":21}],20:[function(e,r,t){"use strict";var a=e("./DataReader");function s(n){a.call(this,n)}e("../utils").inherits(s,a),s.prototype.byteAt=function(n){return this.data.charCodeAt(this.zero+n)},s.prototype.lastIndexOfSignature=function(n){return this.data.lastIndexOf(n)-this.zero},s.prototype.readAndCheckSignature=function(n){return n===this.readData(4)},s.prototype.readData=function(n){this.checkOffset(n);var i=this.data.slice(this.zero+this.index,this.zero+this.index+n);return this.index+=n,i},r.exports=s},{"../utils":32,"./DataReader":18}],21:[function(e,r,t){"use strict";var a=e("./ArrayReader");function s(n){a.call(this,n)}e("../utils").inherits(s,a),s.prototype.readData=function(n){if(this.checkOffset(n),n===0)return new Uint8Array(0);var i=this.data.subarray(this.zero+this.index,this.zero+this.index+n);return this.index+=n,i},r.exports=s},{"../utils":32,"./ArrayReader":17}],22:[function(e,r,t){"use strict";var a=e("../utils"),s=e("../support"),n=e("./ArrayReader"),i=e("./StringReader"),o=e("./NodeBufferReader"),d=e("./Uint8ArrayReader");r.exports=function(f){var c=a.getTypeOf(f);return a.checkSupport(c),c!=="string"||s.uint8array?c==="nodebuffer"?new o(f):s.uint8array?new d(a.transformTo("uint8array",f)):new n(a.transformTo("array",f)):new i(f)}},{"../support":30,"../utils":32,"./ArrayReader":17,"./NodeBufferReader":19,"./StringReader":20,"./Uint8ArrayReader":21}],23:[function(e,r,t){"use strict";t.LOCAL_FILE_HEADER="PK",t.CENTRAL_FILE_HEADER="PK",t.CENTRAL_DIRECTORY_END="PK",t.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK\x07",t.ZIP64_CENTRAL_DIRECTORY_END="PK",t.DATA_DESCRIPTOR="PK\x07\b"},{}],24:[function(e,r,t){"use strict";var a=e("./GenericWorker"),s=e("../utils");function n(i){a.call(this,"ConvertWorker to "+i),this.destType=i}s.inherits(n,a),n.prototype.processChunk=function(i){this.push({data:s.transformTo(this.destType,i.data),meta:i.meta})},r.exports=n},{"../utils":32,"./GenericWorker":28}],25:[function(e,r,t){"use strict";var a=e("./GenericWorker"),s=e("../crc32");function n(){a.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}e("../utils").inherits(n,a),n.prototype.processChunk=function(i){this.streamInfo.crc32=s(i.data,this.streamInfo.crc32||0),this.push(i)},r.exports=n},{"../crc32":4,"../utils":32,"./GenericWorker":28}],26:[function(e,r,t){"use strict";var a=e("../utils"),s=e("./GenericWorker");function n(i){s.call(this,"DataLengthProbe for "+i),this.propName=i,this.withStreamInfo(i,0)}a.inherits(n,s),n.prototype.processChunk=function(i){if(i){var o=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=o+i.data.length}s.prototype.processChunk.call(this,i)},r.exports=n},{"../utils":32,"./GenericWorker":28}],27:[function(e,r,t){"use strict";var a=e("../utils"),s=e("./GenericWorker");function n(i){s.call(this,"DataWorker");var o=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type="",this._tickScheduled=!1,i.then(function(d){o.dataIsReady=!0,o.data=d,o.max=d&&d.length||0,o.type=a.getTypeOf(d),o.isPaused||o._tickAndRepeat()},function(d){o.error(d)})}a.inherits(n,s),n.prototype.cleanUp=function(){s.prototype.cleanUp.call(this),this.data=null},n.prototype.resume=function(){return!!s.prototype.resume.call(this)&&(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,a.delay(this._tickAndRepeat,[],this)),!0)},n.prototype._tickAndRepeat=function(){this._tickScheduled=!1,this.isPaused||this.isFinished||(this._tick(),this.isFinished||(a.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))},n.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var i=null,o=Math.min(this.max,this.index+16384);if(this.index>=this.max)return this.end();switch(this.type){case"string":i=this.data.substring(this.index,o);break;case"uint8array":i=this.data.subarray(this.index,o);break;case"array":case"nodebuffer":i=this.data.slice(this.index,o)}return this.index=o,this.push({data:i,meta:{percent:this.max?this.index/this.max*100:0}})},r.exports=n},{"../utils":32,"./GenericWorker":28}],28:[function(e,r,t){"use strict";function a(s){this.name=s||"default",this.streamInfo={},this.generatedError=null,this.extraStreamInfo={},this.isPaused=!0,this.isFinished=!1,this.isLocked=!1,this._listeners={data:[],end:[],error:[]},this.previous=null}a.prototype={push:function(s){this.emit("data",s)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit("end"),this.cleanUp(),this.isFinished=!0}catch(s){this.emit("error",s)}return!0},error:function(s){return!this.isFinished&&(this.isPaused?this.generatedError=s:(this.isFinished=!0,this.emit("error",s),this.previous&&this.previous.error(s),this.cleanUp()),!0)},on:function(s,n){return this._listeners[s].push(n),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function(s,n){if(this._listeners[s])for(var i=0;i<this._listeners[s].length;i++)this._listeners[s][i].call(this,n)},pipe:function(s){return s.registerPrevious(this)},registerPrevious:function(s){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.streamInfo=s.streamInfo,this.mergeStreamInfo(),this.previous=s;var n=this;return s.on("data",function(i){n.processChunk(i)}),s.on("end",function(){n.end()}),s.on("error",function(i){n.error(i)}),this},pause:function(){return!this.isPaused&&!this.isFinished&&(this.isPaused=!0,this.previous&&this.previous.pause(),!0)},resume:function(){if(!this.isPaused||this.isFinished)return!1;var s=this.isPaused=!1;return this.generatedError&&(this.error(this.generatedError),s=!0),this.previous&&this.previous.resume(),!s},flush:function(){},processChunk:function(s){this.push(s)},withStreamInfo:function(s,n){return this.extraStreamInfo[s]=n,this.mergeStreamInfo(),this},mergeStreamInfo:function(){for(var s in this.extraStreamInfo)Object.prototype.hasOwnProperty.call(this.extraStreamInfo,s)&&(this.streamInfo[s]=this.extraStreamInfo[s])},lock:function(){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.isLocked=!0,this.previous&&this.previous.lock()},toString:function(){var s="Worker "+this.name;return this.previous?this.previous+" -> "+s:s}},r.exports=a},{}],29:[function(e,r,t){"use strict";var a=e("../utils"),s=e("./ConvertWorker"),n=e("./GenericWorker"),i=e("../base64"),o=e("../support"),d=e("../external"),f=null;if(o.nodestream)try{f=e("../nodejs/NodejsStreamOutputAdapter")}catch{}function c(k,_){return new d.Promise(function(v,m){var g=[],M=k._internalType,p=k._outputType,b=k._mimeType;k.on("data",function(y,I){g.push(y),_&&_(I)}).on("error",function(y){g=[],m(y)}).on("end",function(){try{var y=(function(I,z,R){switch(I){case"blob":return a.newBlob(a.transformTo("arraybuffer",z),R);case"base64":return i.encode(z);default:return a.transformTo(I,z)}})(p,(function(I,z){var R,B=0,Z=null,T=0;for(R=0;R<z.length;R++)T+=z[R].length;switch(I){case"string":return z.join("");case"array":return Array.prototype.concat.apply([],z);case"uint8array":for(Z=new Uint8Array(T),R=0;R<z.length;R++)Z.set(z[R],B),B+=z[R].length;return Z;case"nodebuffer":return Buffer.concat(z);default:throw new Error("concat : unsupported type '"+I+"'")}})(M,g),b);v(y)}catch(I){m(I)}g=[]}).resume()})}function l(k,_,v){var m=_;switch(_){case"blob":case"arraybuffer":m="uint8array";break;case"base64":m="string"}try{this._internalType=m,this._outputType=_,this._mimeType=v,a.checkSupport(m),this._worker=k.pipe(new s(m)),k.lock()}catch(g){this._worker=new n("error"),this._worker.error(g)}}l.prototype={accumulate:function(k){return c(this,k)},on:function(k,_){var v=this;return k==="data"?this._worker.on(k,function(m){_.call(v,m.data,m.meta)}):this._worker.on(k,function(){a.delay(_,arguments,v)}),this},resume:function(){return a.delay(this._worker.resume,[],this._worker),this},pause:function(){return this._worker.pause(),this},toNodejsStream:function(k){if(a.checkSupport("nodestream"),this._outputType!=="nodebuffer")throw new Error(this._outputType+" is not supported by this method");return new f(this,{objectMode:this._outputType!=="nodebuffer"},k)}},r.exports=l},{"../base64":1,"../external":6,"../nodejs/NodejsStreamOutputAdapter":13,"../support":30,"../utils":32,"./ConvertWorker":24,"./GenericWorker":28}],30:[function(e,r,t){"use strict";if(t.base64=!0,t.array=!0,t.string=!0,t.arraybuffer=typeof ArrayBuffer!="undefined"&&typeof Uint8Array!="undefined",t.nodebuffer=typeof Buffer!="undefined",t.uint8array=typeof Uint8Array!="undefined",typeof ArrayBuffer=="undefined")t.blob=!1;else{var a=new ArrayBuffer(0);try{t.blob=new Blob([a],{type:"application/zip"}).size===0}catch{try{var s=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);s.append(a),t.blob=s.getBlob("application/zip").size===0}catch{t.blob=!1}}}try{t.nodestream=!!e("readable-stream").Readable}catch{t.nodestream=!1}},{"readable-stream":16}],31:[function(e,r,t){"use strict";for(var a=e("./utils"),s=e("./support"),n=e("./nodejsUtils"),i=e("./stream/GenericWorker"),o=new Array(256),d=0;d<256;d++)o[d]=252<=d?6:248<=d?5:240<=d?4:224<=d?3:192<=d?2:1;o[254]=o[254]=1;function f(){i.call(this,"utf-8 decode"),this.leftOver=null}function c(){i.call(this,"utf-8 encode")}t.utf8encode=function(l){return s.nodebuffer?n.newBufferFrom(l,"utf-8"):(function(k){var _,v,m,g,M,p=k.length,b=0;for(g=0;g<p;g++)(64512&(v=k.charCodeAt(g)))==55296&&g+1<p&&(64512&(m=k.charCodeAt(g+1)))==56320&&(v=65536+(v-55296<<10)+(m-56320),g++),b+=v<128?1:v<2048?2:v<65536?3:4;for(_=s.uint8array?new Uint8Array(b):new Array(b),g=M=0;M<b;g++)(64512&(v=k.charCodeAt(g)))==55296&&g+1<p&&(64512&(m=k.charCodeAt(g+1)))==56320&&(v=65536+(v-55296<<10)+(m-56320),g++),v<128?_[M++]=v:(v<2048?_[M++]=192|v>>>6:(v<65536?_[M++]=224|v>>>12:(_[M++]=240|v>>>18,_[M++]=128|v>>>12&63),_[M++]=128|v>>>6&63),_[M++]=128|63&v);return _})(l)},t.utf8decode=function(l){return s.nodebuffer?a.transformTo("nodebuffer",l).toString("utf-8"):(function(k){var _,v,m,g,M=k.length,p=new Array(2*M);for(_=v=0;_<M;)if((m=k[_++])<128)p[v++]=m;else if(4<(g=o[m]))p[v++]=65533,_+=g-1;else{for(m&=g===2?31:g===3?15:7;1<g&&_<M;)m=m<<6|63&k[_++],g--;1<g?p[v++]=65533:m<65536?p[v++]=m:(m-=65536,p[v++]=55296|m>>10&1023,p[v++]=56320|1023&m)}return p.length!==v&&(p.subarray?p=p.subarray(0,v):p.length=v),a.applyFromCharCode(p)})(l=a.transformTo(s.uint8array?"uint8array":"array",l))},a.inherits(f,i),f.prototype.processChunk=function(l){var k=a.transformTo(s.uint8array?"uint8array":"array",l.data);if(this.leftOver&&this.leftOver.length){if(s.uint8array){var _=k;(k=new Uint8Array(_.length+this.leftOver.length)).set(this.leftOver,0),k.set(_,this.leftOver.length)}else k=this.leftOver.concat(k);this.leftOver=null}var v=(function(g,M){var p;for((M=M||g.length)>g.length&&(M=g.length),p=M-1;0<=p&&(192&g[p])==128;)p--;return p<0||p===0?M:p+o[g[p]]>M?p:M})(k),m=k;v!==k.length&&(s.uint8array?(m=k.subarray(0,v),this.leftOver=k.subarray(v,k.length)):(m=k.slice(0,v),this.leftOver=k.slice(v,k.length))),this.push({data:t.utf8decode(m),meta:l.meta})},f.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:t.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},t.Utf8DecodeWorker=f,a.inherits(c,i),c.prototype.processChunk=function(l){this.push({data:t.utf8encode(l.data),meta:l.meta})},t.Utf8EncodeWorker=c},{"./nodejsUtils":14,"./stream/GenericWorker":28,"./support":30,"./utils":32}],32:[function(e,r,t){"use strict";var a=e("./support"),s=e("./base64"),n=e("./nodejsUtils"),i=e("./external");function o(_){return _}function d(_,v){for(var m=0;m<_.length;++m)v[m]=255&_.charCodeAt(m);return v}e("setimmediate"),t.newBlob=function(_,v){t.checkSupport("blob");try{return new Blob([_],{type:v})}catch{try{var m=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);return m.append(_),m.getBlob(v)}catch{throw new Error("Bug : can't construct the Blob.")}}};var f={stringifyByChunk:function(_,v,m){var g=[],M=0,p=_.length;if(p<=m)return String.fromCharCode.apply(null,_);for(;M<p;)v==="array"||v==="nodebuffer"?g.push(String.fromCharCode.apply(null,_.slice(M,Math.min(M+m,p)))):g.push(String.fromCharCode.apply(null,_.subarray(M,Math.min(M+m,p)))),M+=m;return g.join("")},stringifyByChar:function(_){for(var v="",m=0;m<_.length;m++)v+=String.fromCharCode(_[m]);return v},applyCanBeUsed:{uint8array:(function(){try{return a.uint8array&&String.fromCharCode.apply(null,new Uint8Array(1)).length===1}catch{return!1}})(),nodebuffer:(function(){try{return a.nodebuffer&&String.fromCharCode.apply(null,n.allocBuffer(1)).length===1}catch{return!1}})()}};function c(_){var v=65536,m=t.getTypeOf(_),g=!0;if(m==="uint8array"?g=f.applyCanBeUsed.uint8array:m==="nodebuffer"&&(g=f.applyCanBeUsed.nodebuffer),g)for(;1<v;)try{return f.stringifyByChunk(_,m,v)}catch{v=Math.floor(v/2)}return f.stringifyByChar(_)}function l(_,v){for(var m=0;m<_.length;m++)v[m]=_[m];return v}t.applyFromCharCode=c;var k={};k.string={string:o,array:function(_){return d(_,new Array(_.length))},arraybuffer:function(_){return k.string.uint8array(_).buffer},uint8array:function(_){return d(_,new Uint8Array(_.length))},nodebuffer:function(_){return d(_,n.allocBuffer(_.length))}},k.array={string:c,array:o,arraybuffer:function(_){return new Uint8Array(_).buffer},uint8array:function(_){return new Uint8Array(_)},nodebuffer:function(_){return n.newBufferFrom(_)}},k.arraybuffer={string:function(_){return c(new Uint8Array(_))},array:function(_){return l(new Uint8Array(_),new Array(_.byteLength))},arraybuffer:o,uint8array:function(_){return new Uint8Array(_)},nodebuffer:function(_){return n.newBufferFrom(new Uint8Array(_))}},k.uint8array={string:c,array:function(_){return l(_,new Array(_.length))},arraybuffer:function(_){return _.buffer},uint8array:o,nodebuffer:function(_){return n.newBufferFrom(_)}},k.nodebuffer={string:c,array:function(_){return l(_,new Array(_.length))},arraybuffer:function(_){return k.nodebuffer.uint8array(_).buffer},uint8array:function(_){return l(_,new Uint8Array(_.length))},nodebuffer:o},t.transformTo=function(_,v){if(v=v||"",!_)return v;t.checkSupport(_);var m=t.getTypeOf(v);return k[m][_](v)},t.resolve=function(_){for(var v=_.split("/"),m=[],g=0;g<v.length;g++){var M=v[g];M==="."||M===""&&g!==0&&g!==v.length-1||(M===".."?m.pop():m.push(M))}return m.join("/")},t.getTypeOf=function(_){if(typeof _=="string")return"string";var v=Object.prototype.toString.call(_);return v==="[object Array]"?"array":a.nodebuffer&&n.isBuffer(_)?"nodebuffer":a.uint8array&&v==="[object Uint8Array]"?"uint8array":a.arraybuffer&&v==="[object ArrayBuffer]"?"arraybuffer":void 0},t.checkSupport=function(_){if(!a[_.toLowerCase()])throw new Error(_+" is not supported by this platform")},t.MAX_VALUE_16BITS=65535,t.MAX_VALUE_32BITS=-1,t.pretty=function(_){var v,m,g="";for(m=0;m<(_||"").length;m++)g+="\\x"+((v=_.charCodeAt(m))<16?"0":"")+v.toString(16).toUpperCase();return g},t.delay=function(_,v,m){setImmediate(function(){_.apply(m||null,v||[])})},t.inherits=function(_,v){function m(){}m.prototype=v.prototype,_.prototype=new m},t.extend=function(){var _,v,m={};for(_=0;_<arguments.length;_++)for(v in arguments[_])Object.prototype.hasOwnProperty.call(arguments[_],v)&&m[v]===void 0&&(m[v]=arguments[_][v]);return m},t.prepareContent=function(_,v,m,g,M){return i.Promise.resolve(v).then(function(p){return a.blob&&(p instanceof Blob||["[object File]","[object Blob]"].indexOf(Object.prototype.toString.call(p))!==-1)?Blob.prototype.arrayBuffer!==void 0?p.arrayBuffer():typeof FileReader!="undefined"?new i.Promise(function(b,y){var I=new FileReader;I.onload=function(z){b(z.target.result)},I.onerror=function(z){y(z.target.error)},I.readAsArrayBuffer(p)}):i.Promise.reject(new Error(_+" is a Blob, but we have no way of reading it.")):p}).then(function(p){var b=t.getTypeOf(p);return b?(b==="arraybuffer"?p=t.transformTo("uint8array",p):b==="string"&&(M?p=s.decode(p):m&&g!==!0&&(p=(function(y){return d(y,a.uint8array?new Uint8Array(y.length):new Array(y.length))})(p))),p):i.Promise.reject(new Error("Can't read the data of '"+_+"'. Is it in a supported JavaScript type (String, Blob, ArrayBuffer, etc) ?"))})}},{"./base64":1,"./external":6,"./nodejsUtils":14,"./support":30,setimmediate:54}],33:[function(e,r,t){"use strict";var a=e("./reader/readerFor"),s=e("./utils"),n=e("./signature"),i=e("./zipEntry"),o=e("./support");function d(f){this.files=[],this.loadOptions=f}d.prototype={checkSignature:function(f){if(!this.reader.readAndCheckSignature(f)){this.reader.index-=4;var c=this.reader.readString(4);throw new Error("Corrupted zip or bug: unexpected signature ("+s.pretty(c)+", expected "+s.pretty(f)+")")}},isSignature:function(f,c){var l=this.reader.index;this.reader.setIndex(f);var k=this.reader.readString(4)===c;return this.reader.setIndex(l),k},readBlockEndOfCentral:function(){this.diskNumber=this.reader.readInt(2),this.diskWithCentralDirStart=this.reader.readInt(2),this.centralDirRecordsOnThisDisk=this.reader.readInt(2),this.centralDirRecords=this.reader.readInt(2),this.centralDirSize=this.reader.readInt(4),this.centralDirOffset=this.reader.readInt(4),this.zipCommentLength=this.reader.readInt(2);var f=this.reader.readData(this.zipCommentLength),c=o.uint8array?"uint8array":"array",l=s.transformTo(c,f);this.zipComment=this.loadOptions.decodeFileName(l)},readBlockZip64EndOfCentral:function(){this.zip64EndOfCentralSize=this.reader.readInt(8),this.reader.skip(4),this.diskNumber=this.reader.readInt(4),this.diskWithCentralDirStart=this.reader.readInt(4),this.centralDirRecordsOnThisDisk=this.reader.readInt(8),this.centralDirRecords=this.reader.readInt(8),this.centralDirSize=this.reader.readInt(8),this.centralDirOffset=this.reader.readInt(8),this.zip64ExtensibleData={};for(var f,c,l,k=this.zip64EndOfCentralSize-44;0<k;)f=this.reader.readInt(2),c=this.reader.readInt(4),l=this.reader.readData(c),this.zip64ExtensibleData[f]={id:f,length:c,value:l}},readBlockZip64EndOfCentralLocator:function(){if(this.diskWithZip64CentralDirStart=this.reader.readInt(4),this.relativeOffsetEndOfZip64CentralDir=this.reader.readInt(8),this.disksCount=this.reader.readInt(4),1<this.disksCount)throw new Error("Multi-volumes zip are not supported")},readLocalFiles:function(){var f,c;for(f=0;f<this.files.length;f++)c=this.files[f],this.reader.setIndex(c.localHeaderOffset),this.checkSignature(n.LOCAL_FILE_HEADER),c.readLocalPart(this.reader),c.handleUTF8(),c.processAttributes()},readCentralDir:function(){var f;for(this.reader.setIndex(this.centralDirOffset);this.reader.readAndCheckSignature(n.CENTRAL_FILE_HEADER);)(f=new i({zip64:this.zip64},this.loadOptions)).readCentralPart(this.reader),this.files.push(f);if(this.centralDirRecords!==this.files.length&&this.centralDirRecords!==0&&this.files.length===0)throw new Error("Corrupted zip or bug: expected "+this.centralDirRecords+" records in central dir, got "+this.files.length)},readEndOfCentral:function(){var f=this.reader.lastIndexOfSignature(n.CENTRAL_DIRECTORY_END);if(f<0)throw this.isSignature(0,n.LOCAL_FILE_HEADER)?new Error("Corrupted zip: can't find end of central directory"):new Error("Can't find end of central directory : is this a zip file ? If it is, see https://stuk.github.io/jszip/documentation/howto/read_zip.html");this.reader.setIndex(f);var c=f;if(this.checkSignature(n.CENTRAL_DIRECTORY_END),this.readBlockEndOfCentral(),this.diskNumber===s.MAX_VALUE_16BITS||this.diskWithCentralDirStart===s.MAX_VALUE_16BITS||this.centralDirRecordsOnThisDisk===s.MAX_VALUE_16BITS||this.centralDirRecords===s.MAX_VALUE_16BITS||this.centralDirSize===s.MAX_VALUE_32BITS||this.centralDirOffset===s.MAX_VALUE_32BITS){if(this.zip64=!0,(f=this.reader.lastIndexOfSignature(n.ZIP64_CENTRAL_DIRECTORY_LOCATOR))<0)throw new Error("Corrupted zip: can't find the ZIP64 end of central directory locator");if(this.reader.setIndex(f),this.checkSignature(n.ZIP64_CENTRAL_DIRECTORY_LOCATOR),this.readBlockZip64EndOfCentralLocator(),!this.isSignature(this.relativeOffsetEndOfZip64CentralDir,n.ZIP64_CENTRAL_DIRECTORY_END)&&(this.relativeOffsetEndOfZip64CentralDir=this.reader.lastIndexOfSignature(n.ZIP64_CENTRAL_DIRECTORY_END),this.relativeOffsetEndOfZip64CentralDir<0))throw new Error("Corrupted zip: can't find the ZIP64 end of central directory");this.reader.setIndex(this.relativeOffsetEndOfZip64CentralDir),this.checkSignature(n.ZIP64_CENTRAL_DIRECTORY_END),this.readBlockZip64EndOfCentral()}var l=this.centralDirOffset+this.centralDirSize;this.zip64&&(l+=20,l+=12+this.zip64EndOfCentralSize);var k=c-l;if(0<k)this.isSignature(c,n.CENTRAL_FILE_HEADER)||(this.reader.zero=k);else if(k<0)throw new Error("Corrupted zip: missing "+Math.abs(k)+" bytes.")},prepareReader:function(f){this.reader=a(f)},load:function(f){this.prepareReader(f),this.readEndOfCentral(),this.readCentralDir(),this.readLocalFiles()}},r.exports=d},{"./reader/readerFor":22,"./signature":23,"./support":30,"./utils":32,"./zipEntry":34}],34:[function(e,r,t){"use strict";var a=e("./reader/readerFor"),s=e("./utils"),n=e("./compressedObject"),i=e("./crc32"),o=e("./utf8"),d=e("./compressions"),f=e("./support");function c(l,k){this.options=l,this.loadOptions=k}c.prototype={isEncrypted:function(){return(1&this.bitFlag)==1},useUTF8:function(){return(2048&this.bitFlag)==2048},readLocalPart:function(l){var k,_;if(l.skip(22),this.fileNameLength=l.readInt(2),_=l.readInt(2),this.fileName=l.readData(this.fileNameLength),l.skip(_),this.compressedSize===-1||this.uncompressedSize===-1)throw new Error("Bug or corrupted zip : didn't get enough information from the central directory (compressedSize === -1 || uncompressedSize === -1)");if((k=(function(v){for(var m in d)if(Object.prototype.hasOwnProperty.call(d,m)&&d[m].magic===v)return d[m];return null})(this.compressionMethod))===null)throw new Error("Corrupted zip : compression "+s.pretty(this.compressionMethod)+" unknown (inner file : "+s.transformTo("string",this.fileName)+")");this.decompressed=new n(this.compressedSize,this.uncompressedSize,this.crc32,k,l.readData(this.compressedSize))},readCentralPart:function(l){this.versionMadeBy=l.readInt(2),l.skip(2),this.bitFlag=l.readInt(2),this.compressionMethod=l.readString(2),this.date=l.readDate(),this.crc32=l.readInt(4),this.compressedSize=l.readInt(4),this.uncompressedSize=l.readInt(4);var k=l.readInt(2);if(this.extraFieldsLength=l.readInt(2),this.fileCommentLength=l.readInt(2),this.diskNumberStart=l.readInt(2),this.internalFileAttributes=l.readInt(2),this.externalFileAttributes=l.readInt(4),this.localHeaderOffset=l.readInt(4),this.isEncrypted())throw new Error("Encrypted zip are not supported");l.skip(k),this.readExtraFields(l),this.parseZIP64ExtraField(l),this.fileComment=l.readData(this.fileCommentLength)},processAttributes:function(){this.unixPermissions=null,this.dosPermissions=null;var l=this.versionMadeBy>>8;this.dir=!!(16&this.externalFileAttributes),l==0&&(this.dosPermissions=63&this.externalFileAttributes),l==3&&(this.unixPermissions=this.externalFileAttributes>>16&65535),this.dir||this.fileNameStr.slice(-1)!=="/"||(this.dir=!0)},parseZIP64ExtraField:function(){if(this.extraFields[1]){var l=a(this.extraFields[1].value);this.uncompressedSize===s.MAX_VALUE_32BITS&&(this.uncompressedSize=l.readInt(8)),this.compressedSize===s.MAX_VALUE_32BITS&&(this.compressedSize=l.readInt(8)),this.localHeaderOffset===s.MAX_VALUE_32BITS&&(this.localHeaderOffset=l.readInt(8)),this.diskNumberStart===s.MAX_VALUE_32BITS&&(this.diskNumberStart=l.readInt(4))}},readExtraFields:function(l){var k,_,v,m=l.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});l.index+4<m;)k=l.readInt(2),_=l.readInt(2),v=l.readData(_),this.extraFields[k]={id:k,length:_,value:v};l.setIndex(m)},handleUTF8:function(){var l=f.uint8array?"uint8array":"array";if(this.useUTF8())this.fileNameStr=o.utf8decode(this.fileName),this.fileCommentStr=o.utf8decode(this.fileComment);else{var k=this.findExtraFieldUnicodePath();if(k!==null)this.fileNameStr=k;else{var _=s.transformTo(l,this.fileName);this.fileNameStr=this.loadOptions.decodeFileName(_)}var v=this.findExtraFieldUnicodeComment();if(v!==null)this.fileCommentStr=v;else{var m=s.transformTo(l,this.fileComment);this.fileCommentStr=this.loadOptions.decodeFileName(m)}}},findExtraFieldUnicodePath:function(){var l=this.extraFields[28789];if(l){var k=a(l.value);return k.readInt(1)!==1||i(this.fileName)!==k.readInt(4)?null:o.utf8decode(k.readData(l.length-5))}return null},findExtraFieldUnicodeComment:function(){var l=this.extraFields[25461];if(l){var k=a(l.value);return k.readInt(1)!==1||i(this.fileComment)!==k.readInt(4)?null:o.utf8decode(k.readData(l.length-5))}return null}},r.exports=c},{"./compressedObject":2,"./compressions":3,"./crc32":4,"./reader/readerFor":22,"./support":30,"./utf8":31,"./utils":32}],35:[function(e,r,t){"use strict";function a(k,_,v){this.name=k,this.dir=v.dir,this.date=v.date,this.comment=v.comment,this.unixPermissions=v.unixPermissions,this.dosPermissions=v.dosPermissions,this._data=_,this._dataBinary=v.binary,this.options={compression:v.compression,compressionOptions:v.compressionOptions}}var s=e("./stream/StreamHelper"),n=e("./stream/DataWorker"),i=e("./utf8"),o=e("./compressedObject"),d=e("./stream/GenericWorker");a.prototype={internalStream:function(k){var _=null,v="string";try{if(!k)throw new Error("No output type specified.");var m=(v=k.toLowerCase())==="string"||v==="text";v!=="binarystring"&&v!=="text"||(v="string"),_=this._decompressWorker();var g=!this._dataBinary;g&&!m&&(_=_.pipe(new i.Utf8EncodeWorker)),!g&&m&&(_=_.pipe(new i.Utf8DecodeWorker))}catch(M){(_=new d("error")).error(M)}return new s(_,v,"")},async:function(k,_){return this.internalStream(k).accumulate(_)},nodeStream:function(k,_){return this.internalStream(k||"nodebuffer").toNodejsStream(_)},_compressWorker:function(k,_){if(this._data instanceof o&&this._data.compression.magic===k.magic)return this._data.getCompressedWorker();var v=this._decompressWorker();return this._dataBinary||(v=v.pipe(new i.Utf8EncodeWorker)),o.createWorkerFrom(v,k,_)},_decompressWorker:function(){return this._data instanceof o?this._data.getContentWorker():this._data instanceof d?this._data:new n(this._data)}};for(var f=["asText","asBinary","asNodeBuffer","asUint8Array","asArrayBuffer"],c=function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},l=0;l<f.length;l++)a.prototype[f[l]]=c;r.exports=a},{"./compressedObject":2,"./stream/DataWorker":27,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31}],36:[function(e,r,t){(function(a){"use strict";var s,n,i=a.MutationObserver||a.WebKitMutationObserver;if(i){var o=0,d=new i(k),f=a.document.createTextNode("");d.observe(f,{characterData:!0}),s=function(){f.data=o=++o%2}}else if(a.setImmediate||a.MessageChannel===void 0)s="document"in a&&"onreadystatechange"in a.document.createElement("script")?function(){var _=a.document.createElement("script");_.onreadystatechange=function(){k(),_.onreadystatechange=null,_.parentNode.removeChild(_),_=null},a.document.documentElement.appendChild(_)}:function(){setTimeout(k,0)};else{var c=new a.MessageChannel;c.port1.onmessage=k,s=function(){c.port2.postMessage(0)}}var l=[];function k(){var _,v;n=!0;for(var m=l.length;m;){for(v=l,l=[],_=-1;++_<m;)v[_]();m=l.length}n=!1}r.exports=function(_){l.push(_)!==1||n||s()}}).call(this,typeof global!="undefined"?global:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],37:[function(e,r,t){"use strict";var a=e("immediate");function s(){}var n={},i=["REJECTED"],o=["FULFILLED"],d=["PENDING"];function f(m){if(typeof m!="function")throw new TypeError("resolver must be a function");this.state=d,this.queue=[],this.outcome=void 0,m!==s&&_(this,m)}function c(m,g,M){this.promise=m,typeof g=="function"&&(this.onFulfilled=g,this.callFulfilled=this.otherCallFulfilled),typeof M=="function"&&(this.onRejected=M,this.callRejected=this.otherCallRejected)}function l(m,g,M){a(function(){var p;try{p=g(M)}catch(b){return n.reject(m,b)}p===m?n.reject(m,new TypeError("Cannot resolve promise with itself")):n.resolve(m,p)})}function k(m){var g=m&&m.then;if(m&&(typeof m=="object"||typeof m=="function")&&typeof g=="function")return function(){g.apply(m,arguments)}}function _(m,g){var M=!1;function p(I){M||(M=!0,n.reject(m,I))}function b(I){M||(M=!0,n.resolve(m,I))}var y=v(function(){g(b,p)});y.status==="error"&&p(y.value)}function v(m,g){var M={};try{M.value=m(g),M.status="success"}catch(p){M.status="error",M.value=p}return M}(r.exports=f).prototype.finally=function(m){if(typeof m!="function")return this;var g=this.constructor;return this.then(function(M){return g.resolve(m()).then(function(){return M})},function(M){return g.resolve(m()).then(function(){throw M})})},f.prototype.catch=function(m){return this.then(null,m)},f.prototype.then=function(m,g){if(typeof m!="function"&&this.state===o||typeof g!="function"&&this.state===i)return this;var M=new this.constructor(s);return this.state!==d?l(M,this.state===o?m:g,this.outcome):this.queue.push(new c(M,m,g)),M},c.prototype.callFulfilled=function(m){n.resolve(this.promise,m)},c.prototype.otherCallFulfilled=function(m){l(this.promise,this.onFulfilled,m)},c.prototype.callRejected=function(m){n.reject(this.promise,m)},c.prototype.otherCallRejected=function(m){l(this.promise,this.onRejected,m)},n.resolve=function(m,g){var M=v(k,g);if(M.status==="error")return n.reject(m,M.value);var p=M.value;if(p)_(m,p);else{m.state=o,m.outcome=g;for(var b=-1,y=m.queue.length;++b<y;)m.queue[b].callFulfilled(g)}return m},n.reject=function(m,g){m.state=i,m.outcome=g;for(var M=-1,p=m.queue.length;++M<p;)m.queue[M].callRejected(g);return m},f.resolve=function(m){return m instanceof this?m:n.resolve(new this(s),m)},f.reject=function(m){var g=new this(s);return n.reject(g,m)},f.all=function(m){var g=this;if(Object.prototype.toString.call(m)!=="[object Array]")return this.reject(new TypeError("must be an array"));var M=m.length,p=!1;if(!M)return this.resolve([]);for(var b=new Array(M),y=0,I=-1,z=new this(s);++I<M;)R(m[I],I);return z;function R(B,Z){g.resolve(B).then(function(T){b[Z]=T,++y!==M||p||(p=!0,n.resolve(z,b))},function(T){p||(p=!0,n.reject(z,T))})}},f.race=function(m){var g=this;if(Object.prototype.toString.call(m)!=="[object Array]")return this.reject(new TypeError("must be an array"));var M=m.length,p=!1;if(!M)return this.resolve([]);for(var b=-1,y=new this(s);++b<M;)I=m[b],g.resolve(I).then(function(z){p||(p=!0,n.resolve(y,z))},function(z){p||(p=!0,n.reject(y,z))});var I;return y}},{immediate:36}],38:[function(e,r,t){"use strict";var a={};(0,e("./lib/utils/common").assign)(a,e("./lib/deflate"),e("./lib/inflate"),e("./lib/zlib/constants")),r.exports=a},{"./lib/deflate":39,"./lib/inflate":40,"./lib/utils/common":41,"./lib/zlib/constants":44}],39:[function(e,r,t){"use strict";var a=e("./zlib/deflate"),s=e("./utils/common"),n=e("./utils/strings"),i=e("./zlib/messages"),o=e("./zlib/zstream"),d=Object.prototype.toString,f=0,c=-1,l=0,k=8;function _(m){if(!(this instanceof _))return new _(m);this.options=s.assign({level:c,method:k,chunkSize:16384,windowBits:15,memLevel:8,strategy:l,to:""},m||{});var g=this.options;g.raw&&0<g.windowBits?g.windowBits=-g.windowBits:g.gzip&&0<g.windowBits&&g.windowBits<16&&(g.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new o,this.strm.avail_out=0;var M=a.deflateInit2(this.strm,g.level,g.method,g.windowBits,g.memLevel,g.strategy);if(M!==f)throw new Error(i[M]);if(g.header&&a.deflateSetHeader(this.strm,g.header),g.dictionary){var p;if(p=typeof g.dictionary=="string"?n.string2buf(g.dictionary):d.call(g.dictionary)==="[object ArrayBuffer]"?new Uint8Array(g.dictionary):g.dictionary,(M=a.deflateSetDictionary(this.strm,p))!==f)throw new Error(i[M]);this._dict_set=!0}}function v(m,g){var M=new _(g);if(M.push(m,!0),M.err)throw M.msg||i[M.err];return M.result}_.prototype.push=function(m,g){var M,p,b=this.strm,y=this.options.chunkSize;if(this.ended)return!1;p=g===~~g?g:g===!0?4:0,typeof m=="string"?b.input=n.string2buf(m):d.call(m)==="[object ArrayBuffer]"?b.input=new Uint8Array(m):b.input=m,b.next_in=0,b.avail_in=b.input.length;do{if(b.avail_out===0&&(b.output=new s.Buf8(y),b.next_out=0,b.avail_out=y),(M=a.deflate(b,p))!==1&&M!==f)return this.onEnd(M),!(this.ended=!0);b.avail_out!==0&&(b.avail_in!==0||p!==4&&p!==2)||(this.options.to==="string"?this.onData(n.buf2binstring(s.shrinkBuf(b.output,b.next_out))):this.onData(s.shrinkBuf(b.output,b.next_out)))}while((0<b.avail_in||b.avail_out===0)&&M!==1);return p===4?(M=a.deflateEnd(this.strm),this.onEnd(M),this.ended=!0,M===f):p!==2||(this.onEnd(f),!(b.avail_out=0))},_.prototype.onData=function(m){this.chunks.push(m)},_.prototype.onEnd=function(m){m===f&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=s.flattenChunks(this.chunks)),this.chunks=[],this.err=m,this.msg=this.strm.msg},t.Deflate=_,t.deflate=v,t.deflateRaw=function(m,g){return(g=g||{}).raw=!0,v(m,g)},t.gzip=function(m,g){return(g=g||{}).gzip=!0,v(m,g)}},{"./utils/common":41,"./utils/strings":42,"./zlib/deflate":46,"./zlib/messages":51,"./zlib/zstream":53}],40:[function(e,r,t){"use strict";var a=e("./zlib/inflate"),s=e("./utils/common"),n=e("./utils/strings"),i=e("./zlib/constants"),o=e("./zlib/messages"),d=e("./zlib/zstream"),f=e("./zlib/gzheader"),c=Object.prototype.toString;function l(_){if(!(this instanceof l))return new l(_);this.options=s.assign({chunkSize:16384,windowBits:0,to:""},_||{});var v=this.options;v.raw&&0<=v.windowBits&&v.windowBits<16&&(v.windowBits=-v.windowBits,v.windowBits===0&&(v.windowBits=-15)),!(0<=v.windowBits&&v.windowBits<16)||_&&_.windowBits||(v.windowBits+=32),15<v.windowBits&&v.windowBits<48&&(15&v.windowBits)==0&&(v.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new d,this.strm.avail_out=0;var m=a.inflateInit2(this.strm,v.windowBits);if(m!==i.Z_OK)throw new Error(o[m]);this.header=new f,a.inflateGetHeader(this.strm,this.header)}function k(_,v){var m=new l(v);if(m.push(_,!0),m.err)throw m.msg||o[m.err];return m.result}l.prototype.push=function(_,v){var m,g,M,p,b,y,I=this.strm,z=this.options.chunkSize,R=this.options.dictionary,B=!1;if(this.ended)return!1;g=v===~~v?v:v===!0?i.Z_FINISH:i.Z_NO_FLUSH,typeof _=="string"?I.input=n.binstring2buf(_):c.call(_)==="[object ArrayBuffer]"?I.input=new Uint8Array(_):I.input=_,I.next_in=0,I.avail_in=I.input.length;do{if(I.avail_out===0&&(I.output=new s.Buf8(z),I.next_out=0,I.avail_out=z),(m=a.inflate(I,i.Z_NO_FLUSH))===i.Z_NEED_DICT&&R&&(y=typeof R=="string"?n.string2buf(R):c.call(R)==="[object ArrayBuffer]"?new Uint8Array(R):R,m=a.inflateSetDictionary(this.strm,y)),m===i.Z_BUF_ERROR&&B===!0&&(m=i.Z_OK,B=!1),m!==i.Z_STREAM_END&&m!==i.Z_OK)return this.onEnd(m),!(this.ended=!0);I.next_out&&(I.avail_out!==0&&m!==i.Z_STREAM_END&&(I.avail_in!==0||g!==i.Z_FINISH&&g!==i.Z_SYNC_FLUSH)||(this.options.to==="string"?(M=n.utf8border(I.output,I.next_out),p=I.next_out-M,b=n.buf2string(I.output,M),I.next_out=p,I.avail_out=z-p,p&&s.arraySet(I.output,I.output,M,p,0),this.onData(b)):this.onData(s.shrinkBuf(I.output,I.next_out)))),I.avail_in===0&&I.avail_out===0&&(B=!0)}while((0<I.avail_in||I.avail_out===0)&&m!==i.Z_STREAM_END);return m===i.Z_STREAM_END&&(g=i.Z_FINISH),g===i.Z_FINISH?(m=a.inflateEnd(this.strm),this.onEnd(m),this.ended=!0,m===i.Z_OK):g!==i.Z_SYNC_FLUSH||(this.onEnd(i.Z_OK),!(I.avail_out=0))},l.prototype.onData=function(_){this.chunks.push(_)},l.prototype.onEnd=function(_){_===i.Z_OK&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=s.flattenChunks(this.chunks)),this.chunks=[],this.err=_,this.msg=this.strm.msg},t.Inflate=l,t.inflate=k,t.inflateRaw=function(_,v){return(v=v||{}).raw=!0,k(_,v)},t.ungzip=k},{"./utils/common":41,"./utils/strings":42,"./zlib/constants":44,"./zlib/gzheader":47,"./zlib/inflate":49,"./zlib/messages":51,"./zlib/zstream":53}],41:[function(e,r,t){"use strict";var a=typeof Uint8Array!="undefined"&&typeof Uint16Array!="undefined"&&typeof Int32Array!="undefined";t.assign=function(i){for(var o=Array.prototype.slice.call(arguments,1);o.length;){var d=o.shift();if(d){if(typeof d!="object")throw new TypeError(d+"must be non-object");for(var f in d)d.hasOwnProperty(f)&&(i[f]=d[f])}}return i},t.shrinkBuf=function(i,o){return i.length===o?i:i.subarray?i.subarray(0,o):(i.length=o,i)};var s={arraySet:function(i,o,d,f,c){if(o.subarray&&i.subarray)i.set(o.subarray(d,d+f),c);else for(var l=0;l<f;l++)i[c+l]=o[d+l]},flattenChunks:function(i){var o,d,f,c,l,k;for(o=f=0,d=i.length;o<d;o++)f+=i[o].length;for(k=new Uint8Array(f),o=c=0,d=i.length;o<d;o++)l=i[o],k.set(l,c),c+=l.length;return k}},n={arraySet:function(i,o,d,f,c){for(var l=0;l<f;l++)i[c+l]=o[d+l]},flattenChunks:function(i){return[].concat.apply([],i)}};t.setTyped=function(i){i?(t.Buf8=Uint8Array,t.Buf16=Uint16Array,t.Buf32=Int32Array,t.assign(t,s)):(t.Buf8=Array,t.Buf16=Array,t.Buf32=Array,t.assign(t,n))},t.setTyped(a)},{}],42:[function(e,r,t){"use strict";var a=e("./common"),s=!0,n=!0;try{String.fromCharCode.apply(null,[0])}catch{s=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch{n=!1}for(var i=new a.Buf8(256),o=0;o<256;o++)i[o]=252<=o?6:248<=o?5:240<=o?4:224<=o?3:192<=o?2:1;function d(f,c){if(c<65537&&(f.subarray&&n||!f.subarray&&s))return String.fromCharCode.apply(null,a.shrinkBuf(f,c));for(var l="",k=0;k<c;k++)l+=String.fromCharCode(f[k]);return l}i[254]=i[254]=1,t.string2buf=function(f){var c,l,k,_,v,m=f.length,g=0;for(_=0;_<m;_++)(64512&(l=f.charCodeAt(_)))==55296&&_+1<m&&(64512&(k=f.charCodeAt(_+1)))==56320&&(l=65536+(l-55296<<10)+(k-56320),_++),g+=l<128?1:l<2048?2:l<65536?3:4;for(c=new a.Buf8(g),_=v=0;v<g;_++)(64512&(l=f.charCodeAt(_)))==55296&&_+1<m&&(64512&(k=f.charCodeAt(_+1)))==56320&&(l=65536+(l-55296<<10)+(k-56320),_++),l<128?c[v++]=l:(l<2048?c[v++]=192|l>>>6:(l<65536?c[v++]=224|l>>>12:(c[v++]=240|l>>>18,c[v++]=128|l>>>12&63),c[v++]=128|l>>>6&63),c[v++]=128|63&l);return c},t.buf2binstring=function(f){return d(f,f.length)},t.binstring2buf=function(f){for(var c=new a.Buf8(f.length),l=0,k=c.length;l<k;l++)c[l]=f.charCodeAt(l);return c},t.buf2string=function(f,c){var l,k,_,v,m=c||f.length,g=new Array(2*m);for(l=k=0;l<m;)if((_=f[l++])<128)g[k++]=_;else if(4<(v=i[_]))g[k++]=65533,l+=v-1;else{for(_&=v===2?31:v===3?15:7;1<v&&l<m;)_=_<<6|63&f[l++],v--;1<v?g[k++]=65533:_<65536?g[k++]=_:(_-=65536,g[k++]=55296|_>>10&1023,g[k++]=56320|1023&_)}return d(g,k)},t.utf8border=function(f,c){var l;for((c=c||f.length)>f.length&&(c=f.length),l=c-1;0<=l&&(192&f[l])==128;)l--;return l<0||l===0?c:l+i[f[l]]>c?l:c}},{"./common":41}],43:[function(e,r,t){"use strict";r.exports=function(a,s,n,i){for(var o=65535&a|0,d=a>>>16&65535|0,f=0;n!==0;){for(n-=f=2e3<n?2e3:n;d=d+(o=o+s[i++]|0)|0,--f;);o%=65521,d%=65521}return o|d<<16|0}},{}],44:[function(e,r,t){"use strict";r.exports={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8}},{}],45:[function(e,r,t){"use strict";var a=(function(){for(var s,n=[],i=0;i<256;i++){s=i;for(var o=0;o<8;o++)s=1&s?3988292384^s>>>1:s>>>1;n[i]=s}return n})();r.exports=function(s,n,i,o){var d=a,f=o+i;s^=-1;for(var c=o;c<f;c++)s=s>>>8^d[255&(s^n[c])];return-1^s}},{}],46:[function(e,r,t){"use strict";var a,s=e("../utils/common"),n=e("./trees"),i=e("./adler32"),o=e("./crc32"),d=e("./messages"),f=0,c=4,l=0,k=-2,_=-1,v=4,m=2,g=8,M=9,p=286,b=30,y=19,I=2*p+1,z=15,R=3,B=258,Z=B+R+1,T=42,x=113,P=1,J=2,re=3,Q=4;function ae(S,Ee){return S.msg=d[Ee],Ee}function X(S){return(S<<1)-(4<S?9:0)}function V(S){for(var Ee=S.length;0<=--Ee;)S[Ee]=0}function H(S){var Ee=S.state,pe=Ee.pending;pe>S.avail_out&&(pe=S.avail_out),pe!==0&&(s.arraySet(S.output,Ee.pending_buf,Ee.pending_out,pe,S.next_out),S.next_out+=pe,Ee.pending_out+=pe,S.total_out+=pe,S.avail_out-=pe,Ee.pending-=pe,Ee.pending===0&&(Ee.pending_out=0))}function A(S,Ee){n._tr_flush_block(S,0<=S.block_start?S.block_start:-1,S.strstart-S.block_start,Ee),S.block_start=S.strstart,H(S.strm)}function ge(S,Ee){S.pending_buf[S.pending++]=Ee}function me(S,Ee){S.pending_buf[S.pending++]=Ee>>>8&255,S.pending_buf[S.pending++]=255&Ee}function u(S,Ee){var pe,Y,N=S.max_chain_length,j=S.strstart,be=S.prev_length,Le=S.nice_match,E=S.strstart>S.w_size-Z?S.strstart-(S.w_size-Z):0,Be=S.window,We=S.w_mask,Ce=S.prev,ht=S.strstart+B,Yt=Be[j+be-1],Bt=Be[j+be];S.prev_length>=S.good_match&&(N>>=2),Le>S.lookahead&&(Le=S.lookahead);do if(Be[(pe=Ee)+be]===Bt&&Be[pe+be-1]===Yt&&Be[pe]===Be[j]&&Be[++pe]===Be[j+1]){j+=2,pe++;do;while(Be[++j]===Be[++pe]&&Be[++j]===Be[++pe]&&Be[++j]===Be[++pe]&&Be[++j]===Be[++pe]&&Be[++j]===Be[++pe]&&Be[++j]===Be[++pe]&&Be[++j]===Be[++pe]&&Be[++j]===Be[++pe]&&j<ht);if(Y=B-(ht-j),j=ht-B,be<Y){if(S.match_start=Ee,Le<=(be=Y))break;Yt=Be[j+be-1],Bt=Be[j+be]}}while((Ee=Ce[Ee&We])>E&&--N!=0);return be<=S.lookahead?be:S.lookahead}function h(S){var Ee,pe,Y,N,j,be,Le,E,Be,We,Ce=S.w_size;do{if(N=S.window_size-S.lookahead-S.strstart,S.strstart>=Ce+(Ce-Z)){for(s.arraySet(S.window,S.window,Ce,Ce,0),S.match_start-=Ce,S.strstart-=Ce,S.block_start-=Ce,Ee=pe=S.hash_size;Y=S.head[--Ee],S.head[Ee]=Ce<=Y?Y-Ce:0,--pe;);for(Ee=pe=Ce;Y=S.prev[--Ee],S.prev[Ee]=Ce<=Y?Y-Ce:0,--pe;);N+=Ce}if(S.strm.avail_in===0)break;if(be=S.strm,Le=S.window,E=S.strstart+S.lookahead,Be=N,We=void 0,We=be.avail_in,Be<We&&(We=Be),pe=We===0?0:(be.avail_in-=We,s.arraySet(Le,be.input,be.next_in,We,E),be.state.wrap===1?be.adler=i(be.adler,Le,We,E):be.state.wrap===2&&(be.adler=o(be.adler,Le,We,E)),be.next_in+=We,be.total_in+=We,We),S.lookahead+=pe,S.lookahead+S.insert>=R)for(j=S.strstart-S.insert,S.ins_h=S.window[j],S.ins_h=(S.ins_h<<S.hash_shift^S.window[j+1])&S.hash_mask;S.insert&&(S.ins_h=(S.ins_h<<S.hash_shift^S.window[j+R-1])&S.hash_mask,S.prev[j&S.w_mask]=S.head[S.ins_h],S.head[S.ins_h]=j,j++,S.insert--,!(S.lookahead+S.insert<R)););}while(S.lookahead<Z&&S.strm.avail_in!==0)}function De(S,Ee){for(var pe,Y;;){if(S.lookahead<Z){if(h(S),S.lookahead<Z&&Ee===f)return P;if(S.lookahead===0)break}if(pe=0,S.lookahead>=R&&(S.ins_h=(S.ins_h<<S.hash_shift^S.window[S.strstart+R-1])&S.hash_mask,pe=S.prev[S.strstart&S.w_mask]=S.head[S.ins_h],S.head[S.ins_h]=S.strstart),pe!==0&&S.strstart-pe<=S.w_size-Z&&(S.match_length=u(S,pe)),S.match_length>=R)if(Y=n._tr_tally(S,S.strstart-S.match_start,S.match_length-R),S.lookahead-=S.match_length,S.match_length<=S.max_lazy_match&&S.lookahead>=R){for(S.match_length--;S.strstart++,S.ins_h=(S.ins_h<<S.hash_shift^S.window[S.strstart+R-1])&S.hash_mask,pe=S.prev[S.strstart&S.w_mask]=S.head[S.ins_h],S.head[S.ins_h]=S.strstart,--S.match_length!=0;);S.strstart++}else S.strstart+=S.match_length,S.match_length=0,S.ins_h=S.window[S.strstart],S.ins_h=(S.ins_h<<S.hash_shift^S.window[S.strstart+1])&S.hash_mask;else Y=n._tr_tally(S,0,S.window[S.strstart]),S.lookahead--,S.strstart++;if(Y&&(A(S,!1),S.strm.avail_out===0))return P}return S.insert=S.strstart<R-1?S.strstart:R-1,Ee===c?(A(S,!0),S.strm.avail_out===0?re:Q):S.last_lit&&(A(S,!1),S.strm.avail_out===0)?P:J}function Ue(S,Ee){for(var pe,Y,N;;){if(S.lookahead<Z){if(h(S),S.lookahead<Z&&Ee===f)return P;if(S.lookahead===0)break}if(pe=0,S.lookahead>=R&&(S.ins_h=(S.ins_h<<S.hash_shift^S.window[S.strstart+R-1])&S.hash_mask,pe=S.prev[S.strstart&S.w_mask]=S.head[S.ins_h],S.head[S.ins_h]=S.strstart),S.prev_length=S.match_length,S.prev_match=S.match_start,S.match_length=R-1,pe!==0&&S.prev_length<S.max_lazy_match&&S.strstart-pe<=S.w_size-Z&&(S.match_length=u(S,pe),S.match_length<=5&&(S.strategy===1||S.match_length===R&&4096<S.strstart-S.match_start)&&(S.match_length=R-1)),S.prev_length>=R&&S.match_length<=S.prev_length){for(N=S.strstart+S.lookahead-R,Y=n._tr_tally(S,S.strstart-1-S.prev_match,S.prev_length-R),S.lookahead-=S.prev_length-1,S.prev_length-=2;++S.strstart<=N&&(S.ins_h=(S.ins_h<<S.hash_shift^S.window[S.strstart+R-1])&S.hash_mask,pe=S.prev[S.strstart&S.w_mask]=S.head[S.ins_h],S.head[S.ins_h]=S.strstart),--S.prev_length!=0;);if(S.match_available=0,S.match_length=R-1,S.strstart++,Y&&(A(S,!1),S.strm.avail_out===0))return P}else if(S.match_available){if((Y=n._tr_tally(S,0,S.window[S.strstart-1]))&&A(S,!1),S.strstart++,S.lookahead--,S.strm.avail_out===0)return P}else S.match_available=1,S.strstart++,S.lookahead--}return S.match_available&&(Y=n._tr_tally(S,0,S.window[S.strstart-1]),S.match_available=0),S.insert=S.strstart<R-1?S.strstart:R-1,Ee===c?(A(S,!0),S.strm.avail_out===0?re:Q):S.last_lit&&(A(S,!1),S.strm.avail_out===0)?P:J}function ee(S,Ee,pe,Y,N){this.good_length=S,this.max_lazy=Ee,this.nice_length=pe,this.max_chain=Y,this.func=N}function fe(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=g,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new s.Buf16(2*I),this.dyn_dtree=new s.Buf16(2*(2*b+1)),this.bl_tree=new s.Buf16(2*(2*y+1)),V(this.dyn_ltree),V(this.dyn_dtree),V(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new s.Buf16(z+1),this.heap=new s.Buf16(2*p+1),V(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new s.Buf16(2*p+1),V(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}function oe(S){var Ee;return S&&S.state?(S.total_in=S.total_out=0,S.data_type=m,(Ee=S.state).pending=0,Ee.pending_out=0,Ee.wrap<0&&(Ee.wrap=-Ee.wrap),Ee.status=Ee.wrap?T:x,S.adler=Ee.wrap===2?0:1,Ee.last_flush=f,n._tr_init(Ee),l):ae(S,k)}function kt(S){var Ee=oe(S);return Ee===l&&(function(pe){pe.window_size=2*pe.w_size,V(pe.head),pe.max_lazy_match=a[pe.level].max_lazy,pe.good_match=a[pe.level].good_length,pe.nice_match=a[pe.level].nice_length,pe.max_chain_length=a[pe.level].max_chain,pe.strstart=0,pe.block_start=0,pe.lookahead=0,pe.insert=0,pe.match_length=pe.prev_length=R-1,pe.match_available=0,pe.ins_h=0})(S.state),Ee}function dt(S,Ee,pe,Y,N,j){if(!S)return k;var be=1;if(Ee===_&&(Ee=6),Y<0?(be=0,Y=-Y):15<Y&&(be=2,Y-=16),N<1||M<N||pe!==g||Y<8||15<Y||Ee<0||9<Ee||j<0||v<j)return ae(S,k);Y===8&&(Y=9);var Le=new fe;return(S.state=Le).strm=S,Le.wrap=be,Le.gzhead=null,Le.w_bits=Y,Le.w_size=1<<Le.w_bits,Le.w_mask=Le.w_size-1,Le.hash_bits=N+7,Le.hash_size=1<<Le.hash_bits,Le.hash_mask=Le.hash_size-1,Le.hash_shift=~~((Le.hash_bits+R-1)/R),Le.window=new s.Buf8(2*Le.w_size),Le.head=new s.Buf16(Le.hash_size),Le.prev=new s.Buf16(Le.w_size),Le.lit_bufsize=1<<N+6,Le.pending_buf_size=4*Le.lit_bufsize,Le.pending_buf=new s.Buf8(Le.pending_buf_size),Le.d_buf=1*Le.lit_bufsize,Le.l_buf=3*Le.lit_bufsize,Le.level=Ee,Le.strategy=j,Le.method=pe,kt(S)}a=[new ee(0,0,0,0,function(S,Ee){var pe=65535;for(pe>S.pending_buf_size-5&&(pe=S.pending_buf_size-5);;){if(S.lookahead<=1){if(h(S),S.lookahead===0&&Ee===f)return P;if(S.lookahead===0)break}S.strstart+=S.lookahead,S.lookahead=0;var Y=S.block_start+pe;if((S.strstart===0||S.strstart>=Y)&&(S.lookahead=S.strstart-Y,S.strstart=Y,A(S,!1),S.strm.avail_out===0)||S.strstart-S.block_start>=S.w_size-Z&&(A(S,!1),S.strm.avail_out===0))return P}return S.insert=0,Ee===c?(A(S,!0),S.strm.avail_out===0?re:Q):(S.strstart>S.block_start&&(A(S,!1),S.strm.avail_out),P)}),new ee(4,4,8,4,De),new ee(4,5,16,8,De),new ee(4,6,32,32,De),new ee(4,4,16,16,Ue),new ee(8,16,32,32,Ue),new ee(8,16,128,128,Ue),new ee(8,32,128,256,Ue),new ee(32,128,258,1024,Ue),new ee(32,258,258,4096,Ue)],t.deflateInit=function(S,Ee){return dt(S,Ee,g,15,8,0)},t.deflateInit2=dt,t.deflateReset=kt,t.deflateResetKeep=oe,t.deflateSetHeader=function(S,Ee){return S&&S.state?S.state.wrap!==2?k:(S.state.gzhead=Ee,l):k},t.deflate=function(S,Ee){var pe,Y,N,j;if(!S||!S.state||5<Ee||Ee<0)return S?ae(S,k):k;if(Y=S.state,!S.output||!S.input&&S.avail_in!==0||Y.status===666&&Ee!==c)return ae(S,S.avail_out===0?-5:k);if(Y.strm=S,pe=Y.last_flush,Y.last_flush=Ee,Y.status===T)if(Y.wrap===2)S.adler=0,ge(Y,31),ge(Y,139),ge(Y,8),Y.gzhead?(ge(Y,(Y.gzhead.text?1:0)+(Y.gzhead.hcrc?2:0)+(Y.gzhead.extra?4:0)+(Y.gzhead.name?8:0)+(Y.gzhead.comment?16:0)),ge(Y,255&Y.gzhead.time),ge(Y,Y.gzhead.time>>8&255),ge(Y,Y.gzhead.time>>16&255),ge(Y,Y.gzhead.time>>24&255),ge(Y,Y.level===9?2:2<=Y.strategy||Y.level<2?4:0),ge(Y,255&Y.gzhead.os),Y.gzhead.extra&&Y.gzhead.extra.length&&(ge(Y,255&Y.gzhead.extra.length),ge(Y,Y.gzhead.extra.length>>8&255)),Y.gzhead.hcrc&&(S.adler=o(S.adler,Y.pending_buf,Y.pending,0)),Y.gzindex=0,Y.status=69):(ge(Y,0),ge(Y,0),ge(Y,0),ge(Y,0),ge(Y,0),ge(Y,Y.level===9?2:2<=Y.strategy||Y.level<2?4:0),ge(Y,3),Y.status=x);else{var be=g+(Y.w_bits-8<<4)<<8;be|=(2<=Y.strategy||Y.level<2?0:Y.level<6?1:Y.level===6?2:3)<<6,Y.strstart!==0&&(be|=32),be+=31-be%31,Y.status=x,me(Y,be),Y.strstart!==0&&(me(Y,S.adler>>>16),me(Y,65535&S.adler)),S.adler=1}if(Y.status===69)if(Y.gzhead.extra){for(N=Y.pending;Y.gzindex<(65535&Y.gzhead.extra.length)&&(Y.pending!==Y.pending_buf_size||(Y.gzhead.hcrc&&Y.pending>N&&(S.adler=o(S.adler,Y.pending_buf,Y.pending-N,N)),H(S),N=Y.pending,Y.pending!==Y.pending_buf_size));)ge(Y,255&Y.gzhead.extra[Y.gzindex]),Y.gzindex++;Y.gzhead.hcrc&&Y.pending>N&&(S.adler=o(S.adler,Y.pending_buf,Y.pending-N,N)),Y.gzindex===Y.gzhead.extra.length&&(Y.gzindex=0,Y.status=73)}else Y.status=73;if(Y.status===73)if(Y.gzhead.name){N=Y.pending;do{if(Y.pending===Y.pending_buf_size&&(Y.gzhead.hcrc&&Y.pending>N&&(S.adler=o(S.adler,Y.pending_buf,Y.pending-N,N)),H(S),N=Y.pending,Y.pending===Y.pending_buf_size)){j=1;break}j=Y.gzindex<Y.gzhead.name.length?255&Y.gzhead.name.charCodeAt(Y.gzindex++):0,ge(Y,j)}while(j!==0);Y.gzhead.hcrc&&Y.pending>N&&(S.adler=o(S.adler,Y.pending_buf,Y.pending-N,N)),j===0&&(Y.gzindex=0,Y.status=91)}else Y.status=91;if(Y.status===91)if(Y.gzhead.comment){N=Y.pending;do{if(Y.pending===Y.pending_buf_size&&(Y.gzhead.hcrc&&Y.pending>N&&(S.adler=o(S.adler,Y.pending_buf,Y.pending-N,N)),H(S),N=Y.pending,Y.pending===Y.pending_buf_size)){j=1;break}j=Y.gzindex<Y.gzhead.comment.length?255&Y.gzhead.comment.charCodeAt(Y.gzindex++):0,ge(Y,j)}while(j!==0);Y.gzhead.hcrc&&Y.pending>N&&(S.adler=o(S.adler,Y.pending_buf,Y.pending-N,N)),j===0&&(Y.status=103)}else Y.status=103;if(Y.status===103&&(Y.gzhead.hcrc?(Y.pending+2>Y.pending_buf_size&&H(S),Y.pending+2<=Y.pending_buf_size&&(ge(Y,255&S.adler),ge(Y,S.adler>>8&255),S.adler=0,Y.status=x)):Y.status=x),Y.pending!==0){if(H(S),S.avail_out===0)return Y.last_flush=-1,l}else if(S.avail_in===0&&X(Ee)<=X(pe)&&Ee!==c)return ae(S,-5);if(Y.status===666&&S.avail_in!==0)return ae(S,-5);if(S.avail_in!==0||Y.lookahead!==0||Ee!==f&&Y.status!==666){var Le=Y.strategy===2?(function(E,Be){for(var We;;){if(E.lookahead===0&&(h(E),E.lookahead===0)){if(Be===f)return P;break}if(E.match_length=0,We=n._tr_tally(E,0,E.window[E.strstart]),E.lookahead--,E.strstart++,We&&(A(E,!1),E.strm.avail_out===0))return P}return E.insert=0,Be===c?(A(E,!0),E.strm.avail_out===0?re:Q):E.last_lit&&(A(E,!1),E.strm.avail_out===0)?P:J})(Y,Ee):Y.strategy===3?(function(E,Be){for(var We,Ce,ht,Yt,Bt=E.window;;){if(E.lookahead<=B){if(h(E),E.lookahead<=B&&Be===f)return P;if(E.lookahead===0)break}if(E.match_length=0,E.lookahead>=R&&0<E.strstart&&(Ce=Bt[ht=E.strstart-1])===Bt[++ht]&&Ce===Bt[++ht]&&Ce===Bt[++ht]){Yt=E.strstart+B;do;while(Ce===Bt[++ht]&&Ce===Bt[++ht]&&Ce===Bt[++ht]&&Ce===Bt[++ht]&&Ce===Bt[++ht]&&Ce===Bt[++ht]&&Ce===Bt[++ht]&&Ce===Bt[++ht]&&ht<Yt);E.match_length=B-(Yt-ht),E.match_length>E.lookahead&&(E.match_length=E.lookahead)}if(E.match_length>=R?(We=n._tr_tally(E,1,E.match_length-R),E.lookahead-=E.match_length,E.strstart+=E.match_length,E.match_length=0):(We=n._tr_tally(E,0,E.window[E.strstart]),E.lookahead--,E.strstart++),We&&(A(E,!1),E.strm.avail_out===0))return P}return E.insert=0,Be===c?(A(E,!0),E.strm.avail_out===0?re:Q):E.last_lit&&(A(E,!1),E.strm.avail_out===0)?P:J})(Y,Ee):a[Y.level].func(Y,Ee);if(Le!==re&&Le!==Q||(Y.status=666),Le===P||Le===re)return S.avail_out===0&&(Y.last_flush=-1),l;if(Le===J&&(Ee===1?n._tr_align(Y):Ee!==5&&(n._tr_stored_block(Y,0,0,!1),Ee===3&&(V(Y.head),Y.lookahead===0&&(Y.strstart=0,Y.block_start=0,Y.insert=0))),H(S),S.avail_out===0))return Y.last_flush=-1,l}return Ee!==c?l:Y.wrap<=0?1:(Y.wrap===2?(ge(Y,255&S.adler),ge(Y,S.adler>>8&255),ge(Y,S.adler>>16&255),ge(Y,S.adler>>24&255),ge(Y,255&S.total_in),ge(Y,S.total_in>>8&255),ge(Y,S.total_in>>16&255),ge(Y,S.total_in>>24&255)):(me(Y,S.adler>>>16),me(Y,65535&S.adler)),H(S),0<Y.wrap&&(Y.wrap=-Y.wrap),Y.pending!==0?l:1)},t.deflateEnd=function(S){var Ee;return S&&S.state?(Ee=S.state.status)!==T&&Ee!==69&&Ee!==73&&Ee!==91&&Ee!==103&&Ee!==x&&Ee!==666?ae(S,k):(S.state=null,Ee===x?ae(S,-3):l):k},t.deflateSetDictionary=function(S,Ee){var pe,Y,N,j,be,Le,E,Be,We=Ee.length;if(!S||!S.state||(j=(pe=S.state).wrap)===2||j===1&&pe.status!==T||pe.lookahead)return k;for(j===1&&(S.adler=i(S.adler,Ee,We,0)),pe.wrap=0,We>=pe.w_size&&(j===0&&(V(pe.head),pe.strstart=0,pe.block_start=0,pe.insert=0),Be=new s.Buf8(pe.w_size),s.arraySet(Be,Ee,We-pe.w_size,pe.w_size,0),Ee=Be,We=pe.w_size),be=S.avail_in,Le=S.next_in,E=S.input,S.avail_in=We,S.next_in=0,S.input=Ee,h(pe);pe.lookahead>=R;){for(Y=pe.strstart,N=pe.lookahead-(R-1);pe.ins_h=(pe.ins_h<<pe.hash_shift^pe.window[Y+R-1])&pe.hash_mask,pe.prev[Y&pe.w_mask]=pe.head[pe.ins_h],pe.head[pe.ins_h]=Y,Y++,--N;);pe.strstart=Y,pe.lookahead=R-1,h(pe)}return pe.strstart+=pe.lookahead,pe.block_start=pe.strstart,pe.insert=pe.lookahead,pe.lookahead=0,pe.match_length=pe.prev_length=R-1,pe.match_available=0,S.next_in=Le,S.input=E,S.avail_in=be,pe.wrap=j,l},t.deflateInfo="pako deflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./messages":51,"./trees":52}],47:[function(e,r,t){"use strict";r.exports=function(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}},{}],48:[function(e,r,t){"use strict";r.exports=function(a,s){var n,i,o,d,f,c,l,k,_,v,m,g,M,p,b,y,I,z,R,B,Z,T,x,P,J;n=a.state,i=a.next_in,P=a.input,o=i+(a.avail_in-5),d=a.next_out,J=a.output,f=d-(s-a.avail_out),c=d+(a.avail_out-257),l=n.dmax,k=n.wsize,_=n.whave,v=n.wnext,m=n.window,g=n.hold,M=n.bits,p=n.lencode,b=n.distcode,y=(1<<n.lenbits)-1,I=(1<<n.distbits)-1;e:do{M<15&&(g+=P[i++]<<M,M+=8,g+=P[i++]<<M,M+=8),z=p[g&y];t:for(;;){if(g>>>=R=z>>>24,M-=R,(R=z>>>16&255)===0)J[d++]=65535&z;else{if(!(16&R)){if((64&R)==0){z=p[(65535&z)+(g&(1<<R)-1)];continue t}if(32&R){n.mode=12;break e}a.msg="invalid literal/length code",n.mode=30;break e}B=65535&z,(R&=15)&&(M<R&&(g+=P[i++]<<M,M+=8),B+=g&(1<<R)-1,g>>>=R,M-=R),M<15&&(g+=P[i++]<<M,M+=8,g+=P[i++]<<M,M+=8),z=b[g&I];r:for(;;){if(g>>>=R=z>>>24,M-=R,!(16&(R=z>>>16&255))){if((64&R)==0){z=b[(65535&z)+(g&(1<<R)-1)];continue r}a.msg="invalid distance code",n.mode=30;break e}if(Z=65535&z,M<(R&=15)&&(g+=P[i++]<<M,(M+=8)<R&&(g+=P[i++]<<M,M+=8)),l<(Z+=g&(1<<R)-1)){a.msg="invalid distance too far back",n.mode=30;break e}if(g>>>=R,M-=R,(R=d-f)<Z){if(_<(R=Z-R)&&n.sane){a.msg="invalid distance too far back",n.mode=30;break e}if(x=m,(T=0)===v){if(T+=k-R,R<B){for(B-=R;J[d++]=m[T++],--R;);T=d-Z,x=J}}else if(v<R){if(T+=k+v-R,(R-=v)<B){for(B-=R;J[d++]=m[T++],--R;);if(T=0,v<B){for(B-=R=v;J[d++]=m[T++],--R;);T=d-Z,x=J}}}else if(T+=v-R,R<B){for(B-=R;J[d++]=m[T++],--R;);T=d-Z,x=J}for(;2<B;)J[d++]=x[T++],J[d++]=x[T++],J[d++]=x[T++],B-=3;B&&(J[d++]=x[T++],1<B&&(J[d++]=x[T++]))}else{for(T=d-Z;J[d++]=J[T++],J[d++]=J[T++],J[d++]=J[T++],2<(B-=3););B&&(J[d++]=J[T++],1<B&&(J[d++]=J[T++]))}break}}break}}while(i<o&&d<c);i-=B=M>>3,g&=(1<<(M-=B<<3))-1,a.next_in=i,a.next_out=d,a.avail_in=i<o?o-i+5:5-(i-o),a.avail_out=d<c?c-d+257:257-(d-c),n.hold=g,n.bits=M}},{}],49:[function(e,r,t){"use strict";var a=e("../utils/common"),s=e("./adler32"),n=e("./crc32"),i=e("./inffast"),o=e("./inftrees"),d=1,f=2,c=0,l=-2,k=1,_=852,v=592;function m(T){return(T>>>24&255)+(T>>>8&65280)+((65280&T)<<8)+((255&T)<<24)}function g(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new a.Buf16(320),this.work=new a.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function M(T){var x;return T&&T.state?(x=T.state,T.total_in=T.total_out=x.total=0,T.msg="",x.wrap&&(T.adler=1&x.wrap),x.mode=k,x.last=0,x.havedict=0,x.dmax=32768,x.head=null,x.hold=0,x.bits=0,x.lencode=x.lendyn=new a.Buf32(_),x.distcode=x.distdyn=new a.Buf32(v),x.sane=1,x.back=-1,c):l}function p(T){var x;return T&&T.state?((x=T.state).wsize=0,x.whave=0,x.wnext=0,M(T)):l}function b(T,x){var P,J;return T&&T.state?(J=T.state,x<0?(P=0,x=-x):(P=1+(x>>4),x<48&&(x&=15)),x&&(x<8||15<x)?l:(J.window!==null&&J.wbits!==x&&(J.window=null),J.wrap=P,J.wbits=x,p(T))):l}function y(T,x){var P,J;return T?(J=new g,(T.state=J).window=null,(P=b(T,x))!==c&&(T.state=null),P):l}var I,z,R=!0;function B(T){if(R){var x;for(I=new a.Buf32(512),z=new a.Buf32(32),x=0;x<144;)T.lens[x++]=8;for(;x<256;)T.lens[x++]=9;for(;x<280;)T.lens[x++]=7;for(;x<288;)T.lens[x++]=8;for(o(d,T.lens,0,288,I,0,T.work,{bits:9}),x=0;x<32;)T.lens[x++]=5;o(f,T.lens,0,32,z,0,T.work,{bits:5}),R=!1}T.lencode=I,T.lenbits=9,T.distcode=z,T.distbits=5}function Z(T,x,P,J){var re,Q=T.state;return Q.window===null&&(Q.wsize=1<<Q.wbits,Q.wnext=0,Q.whave=0,Q.window=new a.Buf8(Q.wsize)),J>=Q.wsize?(a.arraySet(Q.window,x,P-Q.wsize,Q.wsize,0),Q.wnext=0,Q.whave=Q.wsize):(J<(re=Q.wsize-Q.wnext)&&(re=J),a.arraySet(Q.window,x,P-J,re,Q.wnext),(J-=re)?(a.arraySet(Q.window,x,P-J,J,0),Q.wnext=J,Q.whave=Q.wsize):(Q.wnext+=re,Q.wnext===Q.wsize&&(Q.wnext=0),Q.whave<Q.wsize&&(Q.whave+=re))),0}t.inflateReset=p,t.inflateReset2=b,t.inflateResetKeep=M,t.inflateInit=function(T){return y(T,15)},t.inflateInit2=y,t.inflate=function(T,x){var P,J,re,Q,ae,X,V,H,A,ge,me,u,h,De,Ue,ee,fe,oe,kt,dt,S,Ee,pe,Y,N=0,j=new a.Buf8(4),be=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!T||!T.state||!T.output||!T.input&&T.avail_in!==0)return l;(P=T.state).mode===12&&(P.mode=13),ae=T.next_out,re=T.output,V=T.avail_out,Q=T.next_in,J=T.input,X=T.avail_in,H=P.hold,A=P.bits,ge=X,me=V,Ee=c;e:for(;;)switch(P.mode){case k:if(P.wrap===0){P.mode=13;break}for(;A<16;){if(X===0)break e;X--,H+=J[Q++]<<A,A+=8}if(2&P.wrap&&H===35615){j[P.check=0]=255&H,j[1]=H>>>8&255,P.check=n(P.check,j,2,0),A=H=0,P.mode=2;break}if(P.flags=0,P.head&&(P.head.done=!1),!(1&P.wrap)||(((255&H)<<8)+(H>>8))%31){T.msg="incorrect header check",P.mode=30;break}if((15&H)!=8){T.msg="unknown compression method",P.mode=30;break}if(A-=4,S=8+(15&(H>>>=4)),P.wbits===0)P.wbits=S;else if(S>P.wbits){T.msg="invalid window size",P.mode=30;break}P.dmax=1<<S,T.adler=P.check=1,P.mode=512&H?10:12,A=H=0;break;case 2:for(;A<16;){if(X===0)break e;X--,H+=J[Q++]<<A,A+=8}if(P.flags=H,(255&P.flags)!=8){T.msg="unknown compression method",P.mode=30;break}if(57344&P.flags){T.msg="unknown header flags set",P.mode=30;break}P.head&&(P.head.text=H>>8&1),512&P.flags&&(j[0]=255&H,j[1]=H>>>8&255,P.check=n(P.check,j,2,0)),A=H=0,P.mode=3;case 3:for(;A<32;){if(X===0)break e;X--,H+=J[Q++]<<A,A+=8}P.head&&(P.head.time=H),512&P.flags&&(j[0]=255&H,j[1]=H>>>8&255,j[2]=H>>>16&255,j[3]=H>>>24&255,P.check=n(P.check,j,4,0)),A=H=0,P.mode=4;case 4:for(;A<16;){if(X===0)break e;X--,H+=J[Q++]<<A,A+=8}P.head&&(P.head.xflags=255&H,P.head.os=H>>8),512&P.flags&&(j[0]=255&H,j[1]=H>>>8&255,P.check=n(P.check,j,2,0)),A=H=0,P.mode=5;case 5:if(1024&P.flags){for(;A<16;){if(X===0)break e;X--,H+=J[Q++]<<A,A+=8}P.length=H,P.head&&(P.head.extra_len=H),512&P.flags&&(j[0]=255&H,j[1]=H>>>8&255,P.check=n(P.check,j,2,0)),A=H=0}else P.head&&(P.head.extra=null);P.mode=6;case 6:if(1024&P.flags&&(X<(u=P.length)&&(u=X),u&&(P.head&&(S=P.head.extra_len-P.length,P.head.extra||(P.head.extra=new Array(P.head.extra_len)),a.arraySet(P.head.extra,J,Q,u,S)),512&P.flags&&(P.check=n(P.check,J,u,Q)),X-=u,Q+=u,P.length-=u),P.length))break e;P.length=0,P.mode=7;case 7:if(2048&P.flags){if(X===0)break e;for(u=0;S=J[Q+u++],P.head&&S&&P.length<65536&&(P.head.name+=String.fromCharCode(S)),S&&u<X;);if(512&P.flags&&(P.check=n(P.check,J,u,Q)),X-=u,Q+=u,S)break e}else P.head&&(P.head.name=null);P.length=0,P.mode=8;case 8:if(4096&P.flags){if(X===0)break e;for(u=0;S=J[Q+u++],P.head&&S&&P.length<65536&&(P.head.comment+=String.fromCharCode(S)),S&&u<X;);if(512&P.flags&&(P.check=n(P.check,J,u,Q)),X-=u,Q+=u,S)break e}else P.head&&(P.head.comment=null);P.mode=9;case 9:if(512&P.flags){for(;A<16;){if(X===0)break e;X--,H+=J[Q++]<<A,A+=8}if(H!==(65535&P.check)){T.msg="header crc mismatch",P.mode=30;break}A=H=0}P.head&&(P.head.hcrc=P.flags>>9&1,P.head.done=!0),T.adler=P.check=0,P.mode=12;break;case 10:for(;A<32;){if(X===0)break e;X--,H+=J[Q++]<<A,A+=8}T.adler=P.check=m(H),A=H=0,P.mode=11;case 11:if(P.havedict===0)return T.next_out=ae,T.avail_out=V,T.next_in=Q,T.avail_in=X,P.hold=H,P.bits=A,2;T.adler=P.check=1,P.mode=12;case 12:if(x===5||x===6)break e;case 13:if(P.last){H>>>=7&A,A-=7&A,P.mode=27;break}for(;A<3;){if(X===0)break e;X--,H+=J[Q++]<<A,A+=8}switch(P.last=1&H,A-=1,3&(H>>>=1)){case 0:P.mode=14;break;case 1:if(B(P),P.mode=20,x!==6)break;H>>>=2,A-=2;break e;case 2:P.mode=17;break;case 3:T.msg="invalid block type",P.mode=30}H>>>=2,A-=2;break;case 14:for(H>>>=7&A,A-=7&A;A<32;){if(X===0)break e;X--,H+=J[Q++]<<A,A+=8}if((65535&H)!=(H>>>16^65535)){T.msg="invalid stored block lengths",P.mode=30;break}if(P.length=65535&H,A=H=0,P.mode=15,x===6)break e;case 15:P.mode=16;case 16:if(u=P.length){if(X<u&&(u=X),V<u&&(u=V),u===0)break e;a.arraySet(re,J,Q,u,ae),X-=u,Q+=u,V-=u,ae+=u,P.length-=u;break}P.mode=12;break;case 17:for(;A<14;){if(X===0)break e;X--,H+=J[Q++]<<A,A+=8}if(P.nlen=257+(31&H),H>>>=5,A-=5,P.ndist=1+(31&H),H>>>=5,A-=5,P.ncode=4+(15&H),H>>>=4,A-=4,286<P.nlen||30<P.ndist){T.msg="too many length or distance symbols",P.mode=30;break}P.have=0,P.mode=18;case 18:for(;P.have<P.ncode;){for(;A<3;){if(X===0)break e;X--,H+=J[Q++]<<A,A+=8}P.lens[be[P.have++]]=7&H,H>>>=3,A-=3}for(;P.have<19;)P.lens[be[P.have++]]=0;if(P.lencode=P.lendyn,P.lenbits=7,pe={bits:P.lenbits},Ee=o(0,P.lens,0,19,P.lencode,0,P.work,pe),P.lenbits=pe.bits,Ee){T.msg="invalid code lengths set",P.mode=30;break}P.have=0,P.mode=19;case 19:for(;P.have<P.nlen+P.ndist;){for(;ee=(N=P.lencode[H&(1<<P.lenbits)-1])>>>16&255,fe=65535&N,!((Ue=N>>>24)<=A);){if(X===0)break e;X--,H+=J[Q++]<<A,A+=8}if(fe<16)H>>>=Ue,A-=Ue,P.lens[P.have++]=fe;else{if(fe===16){for(Y=Ue+2;A<Y;){if(X===0)break e;X--,H+=J[Q++]<<A,A+=8}if(H>>>=Ue,A-=Ue,P.have===0){T.msg="invalid bit length repeat",P.mode=30;break}S=P.lens[P.have-1],u=3+(3&H),H>>>=2,A-=2}else if(fe===17){for(Y=Ue+3;A<Y;){if(X===0)break e;X--,H+=J[Q++]<<A,A+=8}A-=Ue,S=0,u=3+(7&(H>>>=Ue)),H>>>=3,A-=3}else{for(Y=Ue+7;A<Y;){if(X===0)break e;X--,H+=J[Q++]<<A,A+=8}A-=Ue,S=0,u=11+(127&(H>>>=Ue)),H>>>=7,A-=7}if(P.have+u>P.nlen+P.ndist){T.msg="invalid bit length repeat",P.mode=30;break}for(;u--;)P.lens[P.have++]=S}}if(P.mode===30)break;if(P.lens[256]===0){T.msg="invalid code -- missing end-of-block",P.mode=30;break}if(P.lenbits=9,pe={bits:P.lenbits},Ee=o(d,P.lens,0,P.nlen,P.lencode,0,P.work,pe),P.lenbits=pe.bits,Ee){T.msg="invalid literal/lengths set",P.mode=30;break}if(P.distbits=6,P.distcode=P.distdyn,pe={bits:P.distbits},Ee=o(f,P.lens,P.nlen,P.ndist,P.distcode,0,P.work,pe),P.distbits=pe.bits,Ee){T.msg="invalid distances set",P.mode=30;break}if(P.mode=20,x===6)break e;case 20:P.mode=21;case 21:if(6<=X&&258<=V){T.next_out=ae,T.avail_out=V,T.next_in=Q,T.avail_in=X,P.hold=H,P.bits=A,i(T,me),ae=T.next_out,re=T.output,V=T.avail_out,Q=T.next_in,J=T.input,X=T.avail_in,H=P.hold,A=P.bits,P.mode===12&&(P.back=-1);break}for(P.back=0;ee=(N=P.lencode[H&(1<<P.lenbits)-1])>>>16&255,fe=65535&N,!((Ue=N>>>24)<=A);){if(X===0)break e;X--,H+=J[Q++]<<A,A+=8}if(ee&&(240&ee)==0){for(oe=Ue,kt=ee,dt=fe;ee=(N=P.lencode[dt+((H&(1<<oe+kt)-1)>>oe)])>>>16&255,fe=65535&N,!(oe+(Ue=N>>>24)<=A);){if(X===0)break e;X--,H+=J[Q++]<<A,A+=8}H>>>=oe,A-=oe,P.back+=oe}if(H>>>=Ue,A-=Ue,P.back+=Ue,P.length=fe,ee===0){P.mode=26;break}if(32&ee){P.back=-1,P.mode=12;break}if(64&ee){T.msg="invalid literal/length code",P.mode=30;break}P.extra=15&ee,P.mode=22;case 22:if(P.extra){for(Y=P.extra;A<Y;){if(X===0)break e;X--,H+=J[Q++]<<A,A+=8}P.length+=H&(1<<P.extra)-1,H>>>=P.extra,A-=P.extra,P.back+=P.extra}P.was=P.length,P.mode=23;case 23:for(;ee=(N=P.distcode[H&(1<<P.distbits)-1])>>>16&255,fe=65535&N,!((Ue=N>>>24)<=A);){if(X===0)break e;X--,H+=J[Q++]<<A,A+=8}if((240&ee)==0){for(oe=Ue,kt=ee,dt=fe;ee=(N=P.distcode[dt+((H&(1<<oe+kt)-1)>>oe)])>>>16&255,fe=65535&N,!(oe+(Ue=N>>>24)<=A);){if(X===0)break e;X--,H+=J[Q++]<<A,A+=8}H>>>=oe,A-=oe,P.back+=oe}if(H>>>=Ue,A-=Ue,P.back+=Ue,64&ee){T.msg="invalid distance code",P.mode=30;break}P.offset=fe,P.extra=15&ee,P.mode=24;case 24:if(P.extra){for(Y=P.extra;A<Y;){if(X===0)break e;X--,H+=J[Q++]<<A,A+=8}P.offset+=H&(1<<P.extra)-1,H>>>=P.extra,A-=P.extra,P.back+=P.extra}if(P.offset>P.dmax){T.msg="invalid distance too far back",P.mode=30;break}P.mode=25;case 25:if(V===0)break e;if(u=me-V,P.offset>u){if((u=P.offset-u)>P.whave&&P.sane){T.msg="invalid distance too far back",P.mode=30;break}h=u>P.wnext?(u-=P.wnext,P.wsize-u):P.wnext-u,u>P.length&&(u=P.length),De=P.window}else De=re,h=ae-P.offset,u=P.length;for(V<u&&(u=V),V-=u,P.length-=u;re[ae++]=De[h++],--u;);P.length===0&&(P.mode=21);break;case 26:if(V===0)break e;re[ae++]=P.length,V--,P.mode=21;break;case 27:if(P.wrap){for(;A<32;){if(X===0)break e;X--,H|=J[Q++]<<A,A+=8}if(me-=V,T.total_out+=me,P.total+=me,me&&(T.adler=P.check=P.flags?n(P.check,re,me,ae-me):s(P.check,re,me,ae-me)),me=V,(P.flags?H:m(H))!==P.check){T.msg="incorrect data check",P.mode=30;break}A=H=0}P.mode=28;case 28:if(P.wrap&&P.flags){for(;A<32;){if(X===0)break e;X--,H+=J[Q++]<<A,A+=8}if(H!==(4294967295&P.total)){T.msg="incorrect length check",P.mode=30;break}A=H=0}P.mode=29;case 29:Ee=1;break e;case 30:Ee=-3;break e;case 31:return-4;default:return l}return T.next_out=ae,T.avail_out=V,T.next_in=Q,T.avail_in=X,P.hold=H,P.bits=A,(P.wsize||me!==T.avail_out&&P.mode<30&&(P.mode<27||x!==4))&&Z(T,T.output,T.next_out,me-T.avail_out)?(P.mode=31,-4):(ge-=T.avail_in,me-=T.avail_out,T.total_in+=ge,T.total_out+=me,P.total+=me,P.wrap&&me&&(T.adler=P.check=P.flags?n(P.check,re,me,T.next_out-me):s(P.check,re,me,T.next_out-me)),T.data_type=P.bits+(P.last?64:0)+(P.mode===12?128:0)+(P.mode===20||P.mode===15?256:0),(ge==0&&me===0||x===4)&&Ee===c&&(Ee=-5),Ee)},t.inflateEnd=function(T){if(!T||!T.state)return l;var x=T.state;return x.window&&(x.window=null),T.state=null,c},t.inflateGetHeader=function(T,x){var P;return T&&T.state?(2&(P=T.state).wrap)==0?l:((P.head=x).done=!1,c):l},t.inflateSetDictionary=function(T,x){var P,J=x.length;return T&&T.state?(P=T.state).wrap!==0&&P.mode!==11?l:P.mode===11&&s(1,x,J,0)!==P.check?-3:Z(T,x,J,J)?(P.mode=31,-4):(P.havedict=1,c):l},t.inflateInfo="pako inflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./inffast":48,"./inftrees":50}],50:[function(e,r,t){"use strict";var a=e("../utils/common"),s=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],n=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],i=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],o=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64];r.exports=function(d,f,c,l,k,_,v,m){var g,M,p,b,y,I,z,R,B,Z=m.bits,T=0,x=0,P=0,J=0,re=0,Q=0,ae=0,X=0,V=0,H=0,A=null,ge=0,me=new a.Buf16(16),u=new a.Buf16(16),h=null,De=0;for(T=0;T<=15;T++)me[T]=0;for(x=0;x<l;x++)me[f[c+x]]++;for(re=Z,J=15;1<=J&&me[J]===0;J--);if(J<re&&(re=J),J===0)return k[_++]=20971520,k[_++]=20971520,m.bits=1,0;for(P=1;P<J&&me[P]===0;P++);for(re<P&&(re=P),T=X=1;T<=15;T++)if(X<<=1,(X-=me[T])<0)return-1;if(0<X&&(d===0||J!==1))return-1;for(u[1]=0,T=1;T<15;T++)u[T+1]=u[T]+me[T];for(x=0;x<l;x++)f[c+x]!==0&&(v[u[f[c+x]]++]=x);if(I=d===0?(A=h=v,19):d===1?(A=s,ge-=257,h=n,De-=257,256):(A=i,h=o,-1),T=P,y=_,ae=x=H=0,p=-1,b=(V=1<<(Q=re))-1,d===1&&852<V||d===2&&592<V)return 1;for(;;){for(z=T-ae,B=v[x]<I?(R=0,v[x]):v[x]>I?(R=h[De+v[x]],A[ge+v[x]]):(R=96,0),g=1<<T-ae,P=M=1<<Q;k[y+(H>>ae)+(M-=g)]=z<<24|R<<16|B|0,M!==0;);for(g=1<<T-1;H&g;)g>>=1;if(g!==0?(H&=g-1,H+=g):H=0,x++,--me[T]==0){if(T===J)break;T=f[c+v[x]]}if(re<T&&(H&b)!==p){for(ae===0&&(ae=re),y+=P,X=1<<(Q=T-ae);Q+ae<J&&!((X-=me[Q+ae])<=0);)Q++,X<<=1;if(V+=1<<Q,d===1&&852<V||d===2&&592<V)return 1;k[p=H&b]=re<<24|Q<<16|y-_|0}}return H!==0&&(k[y+H]=T-ae<<24|64<<16|0),m.bits=re,0}},{"../utils/common":41}],51:[function(e,r,t){"use strict";r.exports={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"}},{}],52:[function(e,r,t){"use strict";var a=e("../utils/common"),s=0,n=1;function i(N){for(var j=N.length;0<=--j;)N[j]=0}var o=0,d=29,f=256,c=f+1+d,l=30,k=19,_=2*c+1,v=15,m=16,g=7,M=256,p=16,b=17,y=18,I=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],z=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],R=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],B=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],Z=new Array(2*(c+2));i(Z);var T=new Array(2*l);i(T);var x=new Array(512);i(x);var P=new Array(256);i(P);var J=new Array(d);i(J);var re,Q,ae,X=new Array(l);function V(N,j,be,Le,E){this.static_tree=N,this.extra_bits=j,this.extra_base=be,this.elems=Le,this.max_length=E,this.has_stree=N&&N.length}function H(N,j){this.dyn_tree=N,this.max_code=0,this.stat_desc=j}function A(N){return N<256?x[N]:x[256+(N>>>7)]}function ge(N,j){N.pending_buf[N.pending++]=255&j,N.pending_buf[N.pending++]=j>>>8&255}function me(N,j,be){N.bi_valid>m-be?(N.bi_buf|=j<<N.bi_valid&65535,ge(N,N.bi_buf),N.bi_buf=j>>m-N.bi_valid,N.bi_valid+=be-m):(N.bi_buf|=j<<N.bi_valid&65535,N.bi_valid+=be)}function u(N,j,be){me(N,be[2*j],be[2*j+1])}function h(N,j){for(var be=0;be|=1&N,N>>>=1,be<<=1,0<--j;);return be>>>1}function De(N,j,be){var Le,E,Be=new Array(v+1),We=0;for(Le=1;Le<=v;Le++)Be[Le]=We=We+be[Le-1]<<1;for(E=0;E<=j;E++){var Ce=N[2*E+1];Ce!==0&&(N[2*E]=h(Be[Ce]++,Ce))}}function Ue(N){var j;for(j=0;j<c;j++)N.dyn_ltree[2*j]=0;for(j=0;j<l;j++)N.dyn_dtree[2*j]=0;for(j=0;j<k;j++)N.bl_tree[2*j]=0;N.dyn_ltree[2*M]=1,N.opt_len=N.static_len=0,N.last_lit=N.matches=0}function ee(N){8<N.bi_valid?ge(N,N.bi_buf):0<N.bi_valid&&(N.pending_buf[N.pending++]=N.bi_buf),N.bi_buf=0,N.bi_valid=0}function fe(N,j,be,Le){var E=2*j,Be=2*be;return N[E]<N[Be]||N[E]===N[Be]&&Le[j]<=Le[be]}function oe(N,j,be){for(var Le=N.heap[be],E=be<<1;E<=N.heap_len&&(E<N.heap_len&&fe(j,N.heap[E+1],N.heap[E],N.depth)&&E++,!fe(j,Le,N.heap[E],N.depth));)N.heap[be]=N.heap[E],be=E,E<<=1;N.heap[be]=Le}function kt(N,j,be){var Le,E,Be,We,Ce=0;if(N.last_lit!==0)for(;Le=N.pending_buf[N.d_buf+2*Ce]<<8|N.pending_buf[N.d_buf+2*Ce+1],E=N.pending_buf[N.l_buf+Ce],Ce++,Le===0?u(N,E,j):(u(N,(Be=P[E])+f+1,j),(We=I[Be])!==0&&me(N,E-=J[Be],We),u(N,Be=A(--Le),be),(We=z[Be])!==0&&me(N,Le-=X[Be],We)),Ce<N.last_lit;);u(N,M,j)}function dt(N,j){var be,Le,E,Be=j.dyn_tree,We=j.stat_desc.static_tree,Ce=j.stat_desc.has_stree,ht=j.stat_desc.elems,Yt=-1;for(N.heap_len=0,N.heap_max=_,be=0;be<ht;be++)Be[2*be]!==0?(N.heap[++N.heap_len]=Yt=be,N.depth[be]=0):Be[2*be+1]=0;for(;N.heap_len<2;)Be[2*(E=N.heap[++N.heap_len]=Yt<2?++Yt:0)]=1,N.depth[E]=0,N.opt_len--,Ce&&(N.static_len-=We[2*E+1]);for(j.max_code=Yt,be=N.heap_len>>1;1<=be;be--)oe(N,Be,be);for(E=ht;be=N.heap[1],N.heap[1]=N.heap[N.heap_len--],oe(N,Be,1),Le=N.heap[1],N.heap[--N.heap_max]=be,N.heap[--N.heap_max]=Le,Be[2*E]=Be[2*be]+Be[2*Le],N.depth[E]=(N.depth[be]>=N.depth[Le]?N.depth[be]:N.depth[Le])+1,Be[2*be+1]=Be[2*Le+1]=E,N.heap[1]=E++,oe(N,Be,1),2<=N.heap_len;);N.heap[--N.heap_max]=N.heap[1],(function(Bt,$r){var Pn,Ua,On,Or,Ki,wf,ia=$r.dyn_tree,Pa=$r.max_code,Sa=$r.stat_desc.static_tree,Ia=$r.stat_desc.has_stree,Wa=$r.stat_desc.extra_bits,tn=$r.stat_desc.extra_base,Sn=$r.stat_desc.max_length,rn=0;for(Or=0;Or<=v;Or++)Bt.bl_count[Or]=0;for(ia[2*Bt.heap[Bt.heap_max]+1]=0,Pn=Bt.heap_max+1;Pn<_;Pn++)Sn<(Or=ia[2*ia[2*(Ua=Bt.heap[Pn])+1]+1]+1)&&(Or=Sn,rn++),ia[2*Ua+1]=Or,Pa<Ua||(Bt.bl_count[Or]++,Ki=0,tn<=Ua&&(Ki=Wa[Ua-tn]),wf=ia[2*Ua],Bt.opt_len+=wf*(Or+Ki),Ia&&(Bt.static_len+=wf*(Sa[2*Ua+1]+Ki)));if(rn!==0){do{for(Or=Sn-1;Bt.bl_count[Or]===0;)Or--;Bt.bl_count[Or]--,Bt.bl_count[Or+1]+=2,Bt.bl_count[Sn]--,rn-=2}while(0<rn);for(Or=Sn;Or!==0;Or--)for(Ua=Bt.bl_count[Or];Ua!==0;)Pa<(On=Bt.heap[--Pn])||(ia[2*On+1]!==Or&&(Bt.opt_len+=(Or-ia[2*On+1])*ia[2*On],ia[2*On+1]=Or),Ua--)}})(N,j),De(Be,Yt,N.bl_count)}function S(N,j,be){var Le,E,Be=-1,We=j[1],Ce=0,ht=7,Yt=4;for(We===0&&(ht=138,Yt=3),j[2*(be+1)+1]=65535,Le=0;Le<=be;Le++)E=We,We=j[2*(Le+1)+1],++Ce<ht&&E===We||(Ce<Yt?N.bl_tree[2*E]+=Ce:E!==0?(E!==Be&&N.bl_tree[2*E]++,N.bl_tree[2*p]++):Ce<=10?N.bl_tree[2*b]++:N.bl_tree[2*y]++,Be=E,Yt=(Ce=0)===We?(ht=138,3):E===We?(ht=6,3):(ht=7,4))}function Ee(N,j,be){var Le,E,Be=-1,We=j[1],Ce=0,ht=7,Yt=4;for(We===0&&(ht=138,Yt=3),Le=0;Le<=be;Le++)if(E=We,We=j[2*(Le+1)+1],!(++Ce<ht&&E===We)){if(Ce<Yt)for(;u(N,E,N.bl_tree),--Ce!=0;);else E!==0?(E!==Be&&(u(N,E,N.bl_tree),Ce--),u(N,p,N.bl_tree),me(N,Ce-3,2)):Ce<=10?(u(N,b,N.bl_tree),me(N,Ce-3,3)):(u(N,y,N.bl_tree),me(N,Ce-11,7));Be=E,Yt=(Ce=0)===We?(ht=138,3):E===We?(ht=6,3):(ht=7,4)}}i(X);var pe=!1;function Y(N,j,be,Le){me(N,(o<<1)+(Le?1:0),3),(function(E,Be,We,Ce){ee(E),Ce&&(ge(E,We),ge(E,~We)),a.arraySet(E.pending_buf,E.window,Be,We,E.pending),E.pending+=We})(N,j,be,!0)}t._tr_init=function(N){pe||((function(){var j,be,Le,E,Be,We=new Array(v+1);for(E=Le=0;E<d-1;E++)for(J[E]=Le,j=0;j<1<<I[E];j++)P[Le++]=E;for(P[Le-1]=E,E=Be=0;E<16;E++)for(X[E]=Be,j=0;j<1<<z[E];j++)x[Be++]=E;for(Be>>=7;E<l;E++)for(X[E]=Be<<7,j=0;j<1<<z[E]-7;j++)x[256+Be++]=E;for(be=0;be<=v;be++)We[be]=0;for(j=0;j<=143;)Z[2*j+1]=8,j++,We[8]++;for(;j<=255;)Z[2*j+1]=9,j++,We[9]++;for(;j<=279;)Z[2*j+1]=7,j++,We[7]++;for(;j<=287;)Z[2*j+1]=8,j++,We[8]++;for(De(Z,c+1,We),j=0;j<l;j++)T[2*j+1]=5,T[2*j]=h(j,5);re=new V(Z,I,f+1,c,v),Q=new V(T,z,0,l,v),ae=new V(new Array(0),R,0,k,g)})(),pe=!0),N.l_desc=new H(N.dyn_ltree,re),N.d_desc=new H(N.dyn_dtree,Q),N.bl_desc=new H(N.bl_tree,ae),N.bi_buf=0,N.bi_valid=0,Ue(N)},t._tr_stored_block=Y,t._tr_flush_block=function(N,j,be,Le){var E,Be,We=0;0<N.level?(N.strm.data_type===2&&(N.strm.data_type=(function(Ce){var ht,Yt=4093624447;for(ht=0;ht<=31;ht++,Yt>>>=1)if(1&Yt&&Ce.dyn_ltree[2*ht]!==0)return s;if(Ce.dyn_ltree[18]!==0||Ce.dyn_ltree[20]!==0||Ce.dyn_ltree[26]!==0)return n;for(ht=32;ht<f;ht++)if(Ce.dyn_ltree[2*ht]!==0)return n;return s})(N)),dt(N,N.l_desc),dt(N,N.d_desc),We=(function(Ce){var ht;for(S(Ce,Ce.dyn_ltree,Ce.l_desc.max_code),S(Ce,Ce.dyn_dtree,Ce.d_desc.max_code),dt(Ce,Ce.bl_desc),ht=k-1;3<=ht&&Ce.bl_tree[2*B[ht]+1]===0;ht--);return Ce.opt_len+=3*(ht+1)+5+5+4,ht})(N),E=N.opt_len+3+7>>>3,(Be=N.static_len+3+7>>>3)<=E&&(E=Be)):E=Be=be+5,be+4<=E&&j!==-1?Y(N,j,be,Le):N.strategy===4||Be===E?(me(N,2+(Le?1:0),3),kt(N,Z,T)):(me(N,4+(Le?1:0),3),(function(Ce,ht,Yt,Bt){var $r;for(me(Ce,ht-257,5),me(Ce,Yt-1,5),me(Ce,Bt-4,4),$r=0;$r<Bt;$r++)me(Ce,Ce.bl_tree[2*B[$r]+1],3);Ee(Ce,Ce.dyn_ltree,ht-1),Ee(Ce,Ce.dyn_dtree,Yt-1)})(N,N.l_desc.max_code+1,N.d_desc.max_code+1,We+1),kt(N,N.dyn_ltree,N.dyn_dtree)),Ue(N),Le&&ee(N)},t._tr_tally=function(N,j,be){return N.pending_buf[N.d_buf+2*N.last_lit]=j>>>8&255,N.pending_buf[N.d_buf+2*N.last_lit+1]=255&j,N.pending_buf[N.l_buf+N.last_lit]=255&be,N.last_lit++,j===0?N.dyn_ltree[2*be]++:(N.matches++,j--,N.dyn_ltree[2*(P[be]+f+1)]++,N.dyn_dtree[2*A(j)]++),N.last_lit===N.lit_bufsize-1},t._tr_align=function(N){me(N,2,3),u(N,M,Z),(function(j){j.bi_valid===16?(ge(j,j.bi_buf),j.bi_buf=0,j.bi_valid=0):8<=j.bi_valid&&(j.pending_buf[j.pending++]=255&j.bi_buf,j.bi_buf>>=8,j.bi_valid-=8)})(N)}},{"../utils/common":41}],53:[function(e,r,t){"use strict";r.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(e,r,t){(function(a){(function(s,n){"use strict";if(!s.setImmediate){var i,o,d,f,c=1,l={},k=!1,_=s.document,v=Object.getPrototypeOf&&Object.getPrototypeOf(s);v=v&&v.setTimeout?v:s,i={}.toString.call(s.process)==="[object process]"?function(p){process.nextTick(function(){g(p)})}:(function(){if(s.postMessage&&!s.importScripts){var p=!0,b=s.onmessage;return s.onmessage=function(){p=!1},s.postMessage("","*"),s.onmessage=b,p}})()?(f="setImmediate$"+Math.random()+"$",s.addEventListener?s.addEventListener("message",M,!1):s.attachEvent("onmessage",M),function(p){s.postMessage(f+p,"*")}):s.MessageChannel?((d=new MessageChannel).port1.onmessage=function(p){g(p.data)},function(p){d.port2.postMessage(p)}):_&&"onreadystatechange"in _.createElement("script")?(o=_.documentElement,function(p){var b=_.createElement("script");b.onreadystatechange=function(){g(p),b.onreadystatechange=null,o.removeChild(b),b=null},o.appendChild(b)}):function(p){setTimeout(g,0,p)},v.setImmediate=function(p){typeof p!="function"&&(p=new Function(""+p));for(var b=new Array(arguments.length-1),y=0;y<b.length;y++)b[y]=arguments[y+1];var I={callback:p,args:b};return l[c]=I,i(c),c++},v.clearImmediate=m}function m(p){delete l[p]}function g(p){if(k)setTimeout(g,0,p);else{var b=l[p];if(b){k=!0;try{(function(y){var I=y.callback,z=y.args;switch(z.length){case 0:I();break;case 1:I(z[0]);break;case 2:I(z[0],z[1]);break;case 3:I(z[0],z[1],z[2]);break;default:I.apply(n,z)}})(b)}finally{m(p),k=!1}}}}function M(p){p.source===s&&typeof p.data=="string"&&p.data.indexOf(f)===0&&g(+p.data.slice(f.length))}})(typeof self=="undefined"?a===void 0?this:a:self)}).call(this,typeof global!="undefined"?global:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}]},{},[10])(10)})});var Xm=la(zh=>{"use strict";Object.defineProperty(zh,"__esModule",{value:!0});var Jb={SYMBOL:{32:32,33:33,34:8704,35:35,36:8707,37:37,38:38,39:8717,40:40,41:41,42:42,43:43,44:44,45:8722,46:46,47:47,48:48,49:49,50:50,51:51,52:52,53:53,54:54,55:55,56:56,57:57,58:58,59:59,60:60,61:61,62:62,63:63,64:8773,65:913,66:914,67:935,68:916,69:917,70:934,71:915,72:919,73:921,74:977,75:922,76:923,77:924,78:925,79:927,80:928,81:920,82:929,83:931,84:932,85:933,86:962,87:937,88:926,89:936,90:918,91:91,92:8756,93:93,94:8869,95:95,96:8254,97:945,98:946,99:967,100:948,101:949,102:966,103:947,104:951,105:953,106:981,107:954,108:955,109:956,110:957,111:959,112:960,113:952,114:961,115:963,116:964,117:965,118:982,119:969,120:958,121:968,122:950,123:123,124:124,125:125,126:126,160:8364,161:978,162:8242,163:8804,164:8260,165:8734,166:402,167:9827,168:9830,169:9829,170:9824,171:8596,172:8592,173:8593,174:8594,175:8595,176:176,177:177,178:8243,179:8805,180:215,181:8733,182:8706,183:8226,184:247,185:8800,186:8801,187:8776,188:8230,189:9168,190:9135,191:8629,192:8501,193:8465,194:8476,195:8472,196:8855,197:8853,198:8709,199:8745,200:8746,201:8835,202:8839,203:8836,204:8834,205:8838,206:8712,207:8713,208:8736,209:8711,210:174,211:169,212:8482,213:8719,214:8730,215:8901,216:172,217:8743,218:8744,219:8660,220:8656,221:8657,222:8658,223:8659,224:9674,225:12296,226:174,227:169,228:8482,229:8721,230:9115,231:9116,232:9117,233:9121,234:9122,235:9123,236:9127,237:9128,238:9129,239:9130,240:63743,241:12297,242:8747,243:8992,244:9134,245:8993,246:9118,247:9119,248:9120,249:9124,250:9125,251:9126,252:9131,253:9132,254:9133},WEBDINGS:{32:32,33:128375,34:128376,35:128370,36:128374,37:127942,38:127894,39:128391,40:128488,41:128489,42:128496,43:128497,44:127798,45:127895,46:128638,47:128636,48:128469,49:128470,50:128471,51:9204,52:9205,53:9206,54:9207,55:9194,56:9193,57:9198,58:9197,59:9208,60:9209,61:9210,62:128474,63:128499,64:128736,65:127959,66:127960,67:127961,68:127962,69:127964,70:127981,71:127963,72:127968,73:127958,74:127965,75:128739,76:128269,77:127956,78:128065,79:128066,80:127966,81:127957,82:128740,83:127967,84:128755,85:128364,86:128363,87:128360,88:128264,89:127892,90:127893,91:128492,92:128637,93:128493,94:128490,95:128491,96:11156,97:10004,98:128690,99:11036,100:128737,101:128230,102:128753,103:11035,104:128657,105:128712,106:128745,107:128752,108:128968,109:128372,110:11044,111:128741,112:128660,113:128472,114:128473,115:10067,116:128754,117:128647,118:128653,119:9971,120:10680,121:8854,122:128685,123:128494,124:9168,125:128495,126:128498,128:128697,129:128698,130:128713,131:128714,132:128700,133:128125,134:127947,135:9975,136:127938,137:127948,138:127946,139:127940,140:127949,141:127950,142:128664,143:128480,144:128738,145:128176,146:127991,147:128179,148:128106,149:128481,150:128482,151:128483,152:10031,153:128388,154:128389,155:128387,156:128390,157:128441,158:128442,159:128443,160:128373,161:128368,162:128445,163:128446,164:128203,165:128466,166:128467,167:128366,168:128218,169:128478,170:128479,171:128451,172:128450,173:128444,174:127917,175:127900,176:127896,177:127897,178:127911,179:128191,180:127902,181:128247,182:127903,183:127916,184:128253,185:128249,186:128254,187:128251,188:127898,189:127899,190:128250,191:128187,192:128421,193:128422,194:128423,195:128377,196:127918,197:128379,198:128380,199:128223,200:128385,201:128384,202:128424,203:128425,204:128447,205:128426,206:128476,207:128274,208:128275,209:128477,210:128229,211:128228,212:128371,213:127779,214:127780,215:127781,216:127782,217:9729,218:127784,219:127783,220:127785,221:127786,222:127788,223:127787,224:127772,225:127777,226:128715,227:128719,228:127869,229:127864,230:128718,231:128717,232:9413,233:9855,234:128710,235:128392,236:127891,237:128484,238:128485,239:128486,240:128487,241:128746,242:128063,243:128038,244:128031,245:128021,246:128008,247:128620,248:128622,249:128621,250:128623,251:128506,252:127757,253:127759,254:127758,255:128330},WINGDINGS:{32:32,33:128393,34:9986,35:9985,36:128083,37:128365,38:128366,39:128367,40:128383,41:9990,42:128386,43:128387,44:128234,45:128235,46:128236,47:128237,48:128448,49:128449,50:128462,51:128463,52:128464,53:128452,54:8987,55:128430,56:128432,57:128434,58:128435,59:128436,60:128427,61:128428,62:9991,63:9997,64:128398,65:9996,66:128399,67:128077,68:128078,69:9756,70:9758,71:9757,72:9759,73:128400,74:9786,75:128528,76:9785,77:128163,78:128369,79:127987,80:127985,81:9992,82:9788,83:127778,84:10052,85:128326,86:10014,87:128328,88:10016,89:10017,90:9770,91:9775,92:128329,93:9784,94:9800,95:9801,96:9802,97:9803,98:9804,99:9805,100:9806,101:9807,102:9808,103:9809,104:9810,105:9811,106:128624,107:128629,108:9899,109:128318,110:9724,111:128911,112:128912,113:10065,114:10066,115:128927,116:10731,117:9670,118:10070,119:11049,120:8999,121:11193,122:8984,123:127989,124:127990,125:128630,126:128631,127:9647,128:127243,129:10112,130:10113,131:10114,132:10115,133:10116,134:10117,135:10118,136:10119,137:10120,138:10121,139:127244,140:10122,141:10123,142:10124,143:10125,144:10126,145:10127,146:10128,147:10129,148:10130,149:10131,150:128610,151:128608,152:128609,153:128611,154:128606,155:128604,156:128605,157:128607,158:8729,159:8226,160:11037,161:11096,162:128902,163:128904,164:128906,165:128907,166:128319,167:9642,168:128910,169:128961,170:128965,171:9733,172:128971,173:128975,174:128979,175:128977,176:11216,177:8982,178:11214,179:11215,180:11217,181:10026,182:10032,183:128336,184:128337,185:128338,186:128339,187:128340,188:128341,189:128342,190:128343,191:128344,192:128345,193:128346,194:128347,195:11184,196:11185,197:11186,198:11187,199:11188,200:11189,201:11190,202:11191,203:128618,204:128619,205:128597,206:128596,207:128599,208:128598,209:128592,210:128593,211:128594,212:128595,213:9003,214:8998,215:11160,216:11162,217:11161,218:11163,219:11144,220:11146,221:11145,222:11147,223:129128,224:129130,225:129129,226:129131,227:129132,228:129133,229:129135,230:129134,231:129144,232:129146,233:129145,234:129147,235:129148,236:129149,237:129151,238:129150,239:8678,240:8680,241:8679,242:8681,243:11012,244:8691,245:11009,246:11008,247:11011,248:11010,249:129196,250:129197,251:128502,252:10003,253:128503,254:128505},"WINGDINGS 2":{32:32,33:128394,34:128395,35:128396,36:128397,37:9988,38:9984,39:128382,40:128381,41:128453,42:128454,43:128455,44:128456,45:128457,46:128458,47:128459,48:128460,49:128461,50:128203,51:128465,52:128468,53:128437,54:128438,55:128439,56:128440,57:128429,58:128431,59:128433,60:128402,61:128403,62:128408,63:128409,64:128410,65:128411,66:128072,67:128073,68:128412,69:128413,70:128414,71:128415,72:128416,73:128417,74:128070,75:128071,76:128418,77:128419,78:128401,79:128500,80:128504,81:128501,82:9745,83:11197,84:9746,85:11198,86:11199,87:128711,88:10680,89:128625,90:128628,91:128626,92:128627,93:8253,94:128633,95:128634,96:128635,97:128614,98:128612,99:128613,100:128615,101:128602,102:128600,103:128601,104:128603,105:9450,106:9312,107:9313,108:9314,109:9315,110:9316,111:9317,112:9318,113:9319,114:9320,115:9321,116:9471,117:10102,118:10103,119:10104,120:10105,121:10106,122:10107,123:10108,124:10109,125:10110,126:10111,128:9737,129:127765,130:9789,131:9790,132:11839,133:10013,134:128327,135:128348,136:128349,137:128350,138:128351,139:128352,140:128353,141:128354,142:128355,143:128356,144:128357,145:128358,146:128359,147:128616,148:128617,149:8901,150:128900,151:10625,152:9679,153:9675,154:128901,155:128903,156:128905,157:8857,158:10687,159:128908,160:128909,161:9726,162:9632,163:9633,164:128913,165:128914,166:128915,167:128916,168:9635,169:128917,170:128918,171:128919,172:128920,173:11049,174:11045,175:9671,176:128922,177:9672,178:128923,179:128924,180:128925,181:128926,182:11050,183:11047,184:9674,185:128928,186:9686,187:9687,188:11210,189:11211,190:11200,191:11201,192:11039,193:11202,194:11043,195:11042,196:11203,197:11204,198:128929,199:128930,200:128931,201:128932,202:128933,203:128934,204:128935,205:128936,206:128937,207:128938,208:128939,209:128940,210:128941,211:128942,212:128943,213:128944,214:128945,215:128946,216:128947,217:128948,218:128949,219:128950,220:128951,221:128952,222:128953,223:128954,224:128955,225:128956,226:128957,227:128958,228:128959,229:128960,230:128962,231:128964,232:128966,233:128969,234:128970,235:10038,236:128972,237:128974,238:128976,239:128978,240:10041,241:128963,242:128967,243:10031,244:128973,245:128980,246:11212,247:11213,248:8251,249:8258},"WINGDINGS 3":{32:32,33:11104,34:11106,35:11105,36:11107,37:11110,38:11111,39:11113,40:11112,41:11120,42:11122,43:11121,44:11123,45:11126,46:11128,47:11131,48:11133,49:11108,50:11109,51:11114,52:11116,53:11115,54:11117,55:11085,56:11168,57:11169,58:11170,59:11171,60:11172,61:11173,62:11174,63:11175,64:11152,65:11153,66:11154,67:11155,68:11136,69:11139,70:11134,71:11135,72:11140,73:11142,74:11141,75:11143,76:11151,77:11149,78:11150,79:11148,80:11118,81:11119,82:9099,83:8996,84:8963,85:8997,86:9251,87:9085,88:8682,89:11192,90:129184,91:129185,92:129186,93:129187,94:129188,95:129189,96:129190,97:129191,98:129192,99:129193,100:129194,101:129195,102:129104,103:129106,104:129105,105:129107,106:129108,107:129109,108:129111,109:129110,110:129112,111:129113,112:9650,113:9660,114:9651,115:9661,116:9664,117:9654,118:9665,119:9655,120:9699,121:9698,122:9700,123:9701,124:128896,125:128898,126:128897,128:128899,129:11205,130:11206,131:11207,132:11208,133:11164,134:11166,135:11165,136:11167,137:129040,138:129042,139:129041,140:129043,141:129044,142:129046,143:129045,144:129047,145:129048,146:129050,147:129049,148:129051,149:129052,150:129054,151:129053,152:129055,153:129024,154:129026,155:129025,156:129027,157:129028,158:129030,159:129029,160:129031,161:129032,162:129034,163:129033,164:129035,165:129056,166:129058,167:129060,168:129062,169:129064,170:129066,171:129068,172:129180,173:129181,174:129182,175:129183,176:129070,177:129072,178:129074,179:129076,180:129078,181:129080,182:129082,183:129081,184:129083,185:129176,186:129178,187:129177,188:129179,189:129084,190:129086,191:129085,192:129087,193:129088,194:129090,195:129089,196:129091,197:129092,198:129094,199:129093,200:129095,201:11176,202:11177,203:11178,204:11179,205:11180,206:11181,207:11182,208:11183,209:129120,210:129122,211:129121,212:129123,213:129124,214:129125,215:129127,216:129126,217:129136,218:129138,219:129137,220:129139,221:129140,222:129141,223:129143,224:129142,225:129152,226:129154,227:129153,228:129155,229:129156,230:129157,231:129159,232:129158,233:129168,234:129170,235:129169,236:129171,237:129172,238:129174,239:129173,240:129175}};zh.default=Jb});var Km=la(Ci=>{"use strict";var Qb=Ci&&Ci.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(Ci,"__esModule",{value:!0});Ci.hex=Ci.dec=Ci.codePoint=void 0;var Fb=Qb(Xm()),qb=String.fromCodePoint?String.fromCodePoint:e6;function Ch(e,r){var t=Fb.default[e.toUpperCase()];if(t!==void 0){var a=t[r];if(a!==void 0)return{codePoint:a,string:qb(a)}}}Ci.codePoint=Ch;function Vb(e,r){return Ch(e,parseInt(r,10))}Ci.dec=Vb;function jb(e,r){return Ch(e,parseInt(r,16))}Ci.hex=jb;function e6(e){if(e<=65535)return String.fromCharCode(e);var r=Math.floor((e-65536)/1024)+55296,t=(e-65536)%1024+56320;return String.fromCharCode(r,t)}});var b0=la(ja=>{"use strict";var t6=typeof Uint8Array!="undefined"&&typeof Uint16Array!="undefined"&&typeof Int32Array!="undefined";function r6(e,r){return Object.prototype.hasOwnProperty.call(e,r)}ja.assign=function(e){for(var r=Array.prototype.slice.call(arguments,1);r.length;){var t=r.shift();if(t){if(typeof t!="object")throw new TypeError(t+"must be non-object");for(var a in t)r6(t,a)&&(e[a]=t[a])}}return e};ja.shrinkBuf=function(e,r){return e.length===r?e:e.subarray?e.subarray(0,r):(e.length=r,e)};var a6={arraySet:function(e,r,t,a,s){if(r.subarray&&e.subarray){e.set(r.subarray(t,t+a),s);return}for(var n=0;n<a;n++)e[s+n]=r[t+n]},flattenChunks:function(e){var r,t,a,s,n,i;for(a=0,r=0,t=e.length;r<t;r++)a+=e[r].length;for(i=new Uint8Array(a),s=0,r=0,t=e.length;r<t;r++)n=e[r],i.set(n,s),s+=n.length;return i}},n6={arraySet:function(e,r,t,a,s){for(var n=0;n<a;n++)e[s+n]=r[t+n]},flattenChunks:function(e){return[].concat.apply([],e)}};ja.setTyped=function(e){e?(ja.Buf8=Uint8Array,ja.Buf16=Uint16Array,ja.Buf32=Int32Array,ja.assign(ja,a6)):(ja.Buf8=Array,ja.Buf16=Array,ja.Buf32=Array,ja.assign(ja,n6))};ja.setTyped(t6)});var m8=la(df=>{"use strict";var i6=b0(),s6=4,Jm=0,Qm=1,o6=2;function cf(e){for(var r=e.length;--r>=0;)e[r]=0}var f6=0,t8=1,l6=2,u6=3,c6=258,Wh=29,wu=256,Su=wu+1+Wh,uf=30,$h=19,r8=2*Su+1,So=15,xh=16,d6=7,Yh=256,a8=16,n8=17,i8=18,Hh=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],t1=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],h6=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],s8=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],p6=512,L0=new Array((Su+2)*2);cf(L0);var Pu=new Array(uf*2);cf(Pu);var Iu=new Array(p6);cf(Iu);var Tu=new Array(c6-u6+1);cf(Tu);var Ah=new Array(Wh);cf(Ah);var r1=new Array(uf);cf(r1);function Oh(e,r,t,a,s){this.static_tree=e,this.extra_bits=r,this.extra_base=t,this.elems=a,this.max_length=s,this.has_stree=e&&e.length}var o8,f8,l8;function Gh(e,r){this.dyn_tree=e,this.max_code=0,this.stat_desc=r}function u8(e){return e<256?Iu[e]:Iu[256+(e>>>7)]}function yu(e,r){e.pending_buf[e.pending++]=r&255,e.pending_buf[e.pending++]=r>>>8&255}function fn(e,r,t){e.bi_valid>xh-t?(e.bi_buf|=r<<e.bi_valid&65535,yu(e,e.bi_buf),e.bi_buf=r>>xh-e.bi_valid,e.bi_valid+=t-xh):(e.bi_buf|=r<<e.bi_valid&65535,e.bi_valid+=t)}function xi(e,r,t){fn(e,t[r*2],t[r*2+1])}function c8(e,r){var t=0;do t|=e&1,e>>>=1,t<<=1;while(--r>0);return t>>>1}function v6(e){e.bi_valid===16?(yu(e,e.bi_buf),e.bi_buf=0,e.bi_valid=0):e.bi_valid>=8&&(e.pending_buf[e.pending++]=e.bi_buf&255,e.bi_buf>>=8,e.bi_valid-=8)}function m6(e,r){var t=r.dyn_tree,a=r.max_code,s=r.stat_desc.static_tree,n=r.stat_desc.has_stree,i=r.stat_desc.extra_bits,o=r.stat_desc.extra_base,d=r.stat_desc.max_length,f,c,l,k,_,v,m=0;for(k=0;k<=So;k++)e.bl_count[k]=0;for(t[e.heap[e.heap_max]*2+1]=0,f=e.heap_max+1;f<r8;f++)c=e.heap[f],k=t[t[c*2+1]*2+1]+1,k>d&&(k=d,m++),t[c*2+1]=k,!(c>a)&&(e.bl_count[k]++,_=0,c>=o&&(_=i[c-o]),v=t[c*2],e.opt_len+=v*(k+_),n&&(e.static_len+=v*(s[c*2+1]+_)));if(m!==0){do{for(k=d-1;e.bl_count[k]===0;)k--;e.bl_count[k]--,e.bl_count[k+1]+=2,e.bl_count[d]--,m-=2}while(m>0);for(k=d;k!==0;k--)for(c=e.bl_count[k];c!==0;)l=e.heap[--f],!(l>a)&&(t[l*2+1]!==k&&(e.opt_len+=(k-t[l*2+1])*t[l*2],t[l*2+1]=k),c--)}}function d8(e,r,t){var a=new Array(So+1),s=0,n,i;for(n=1;n<=So;n++)a[n]=s=s+t[n-1]<<1;for(i=0;i<=r;i++){var o=e[i*2+1];o!==0&&(e[i*2]=c8(a[o]++,o))}}function _6(){var e,r,t,a,s,n=new Array(So+1);for(t=0,a=0;a<Wh-1;a++)for(Ah[a]=t,e=0;e<1<<Hh[a];e++)Tu[t++]=a;for(Tu[t-1]=a,s=0,a=0;a<16;a++)for(r1[a]=s,e=0;e<1<<t1[a];e++)Iu[s++]=a;for(s>>=7;a<uf;a++)for(r1[a]=s<<7,e=0;e<1<<t1[a]-7;e++)Iu[256+s++]=a;for(r=0;r<=So;r++)n[r]=0;for(e=0;e<=143;)L0[e*2+1]=8,e++,n[8]++;for(;e<=255;)L0[e*2+1]=9,e++,n[9]++;for(;e<=279;)L0[e*2+1]=7,e++,n[7]++;for(;e<=287;)L0[e*2+1]=8,e++,n[8]++;for(d8(L0,Su+1,n),e=0;e<uf;e++)Pu[e*2+1]=5,Pu[e*2]=c8(e,5);o8=new Oh(L0,Hh,wu+1,Su,So),f8=new Oh(Pu,t1,0,uf,So),l8=new Oh(new Array(0),h6,0,$h,d6)}function h8(e){var r;for(r=0;r<Su;r++)e.dyn_ltree[r*2]=0;for(r=0;r<uf;r++)e.dyn_dtree[r*2]=0;for(r=0;r<$h;r++)e.bl_tree[r*2]=0;e.dyn_ltree[Yh*2]=1,e.opt_len=e.static_len=0,e.last_lit=e.matches=0}function p8(e){e.bi_valid>8?yu(e,e.bi_buf):e.bi_valid>0&&(e.pending_buf[e.pending++]=e.bi_buf),e.bi_buf=0,e.bi_valid=0}function b6(e,r,t,a){p8(e),a&&(yu(e,t),yu(e,~t)),i6.arraySet(e.pending_buf,e.window,r,t,e.pending),e.pending+=t}function Fm(e,r,t,a){var s=r*2,n=t*2;return e[s]<e[n]||e[s]===e[n]&&a[r]<=a[t]}function Uh(e,r,t){for(var a=e.heap[t],s=t<<1;s<=e.heap_len&&(s<e.heap_len&&Fm(r,e.heap[s+1],e.heap[s],e.depth)&&s++,!Fm(r,a,e.heap[s],e.depth));)e.heap[t]=e.heap[s],t=s,s<<=1;e.heap[t]=a}function qm(e,r,t){var a,s,n=0,i,o;if(e.last_lit!==0)do a=e.pending_buf[e.d_buf+n*2]<<8|e.pending_buf[e.d_buf+n*2+1],s=e.pending_buf[e.l_buf+n],n++,a===0?xi(e,s,r):(i=Tu[s],xi(e,i+wu+1,r),o=Hh[i],o!==0&&(s-=Ah[i],fn(e,s,o)),a--,i=u8(a),xi(e,i,t),o=t1[i],o!==0&&(a-=r1[i],fn(e,a,o)));while(n<e.last_lit);xi(e,Yh,r)}function Zh(e,r){var t=r.dyn_tree,a=r.stat_desc.static_tree,s=r.stat_desc.has_stree,n=r.stat_desc.elems,i,o,d=-1,f;for(e.heap_len=0,e.heap_max=r8,i=0;i<n;i++)t[i*2]!==0?(e.heap[++e.heap_len]=d=i,e.depth[i]=0):t[i*2+1]=0;for(;e.heap_len<2;)f=e.heap[++e.heap_len]=d<2?++d:0,t[f*2]=1,e.depth[f]=0,e.opt_len--,s&&(e.static_len-=a[f*2+1]);for(r.max_code=d,i=e.heap_len>>1;i>=1;i--)Uh(e,t,i);f=n;do i=e.heap[1],e.heap[1]=e.heap[e.heap_len--],Uh(e,t,1),o=e.heap[1],e.heap[--e.heap_max]=i,e.heap[--e.heap_max]=o,t[f*2]=t[i*2]+t[o*2],e.depth[f]=(e.depth[i]>=e.depth[o]?e.depth[i]:e.depth[o])+1,t[i*2+1]=t[o*2+1]=f,e.heap[1]=f++,Uh(e,t,1);while(e.heap_len>=2);e.heap[--e.heap_max]=e.heap[1],m6(e,r),d8(t,d,e.bl_count)}function Vm(e,r,t){var a,s=-1,n,i=r[1],o=0,d=7,f=4;for(i===0&&(d=138,f=3),r[(t+1)*2+1]=65535,a=0;a<=t;a++)n=i,i=r[(a+1)*2+1],!(++o<d&&n===i)&&(o<f?e.bl_tree[n*2]+=o:n!==0?(n!==s&&e.bl_tree[n*2]++,e.bl_tree[a8*2]++):o<=10?e.bl_tree[n8*2]++:e.bl_tree[i8*2]++,o=0,s=n,i===0?(d=138,f=3):n===i?(d=6,f=3):(d=7,f=4))}function jm(e,r,t){var a,s=-1,n,i=r[1],o=0,d=7,f=4;for(i===0&&(d=138,f=3),a=0;a<=t;a++)if(n=i,i=r[(a+1)*2+1],!(++o<d&&n===i)){if(o<f)do xi(e,n,e.bl_tree);while(--o!==0);else n!==0?(n!==s&&(xi(e,n,e.bl_tree),o--),xi(e,a8,e.bl_tree),fn(e,o-3,2)):o<=10?(xi(e,n8,e.bl_tree),fn(e,o-3,3)):(xi(e,i8,e.bl_tree),fn(e,o-11,7));o=0,s=n,i===0?(d=138,f=3):n===i?(d=6,f=3):(d=7,f=4)}}function L6(e){var r;for(Vm(e,e.dyn_ltree,e.l_desc.max_code),Vm(e,e.dyn_dtree,e.d_desc.max_code),Zh(e,e.bl_desc),r=$h-1;r>=3&&e.bl_tree[s8[r]*2+1]===0;r--);return e.opt_len+=3*(r+1)+5+5+4,r}function g6(e,r,t,a){var s;for(fn(e,r-257,5),fn(e,t-1,5),fn(e,a-4,4),s=0;s<a;s++)fn(e,e.bl_tree[s8[s]*2+1],3);jm(e,e.dyn_ltree,r-1),jm(e,e.dyn_dtree,t-1)}function k6(e){var r=4093624447,t;for(t=0;t<=31;t++,r>>>=1)if(r&1&&e.dyn_ltree[t*2]!==0)return Jm;if(e.dyn_ltree[18]!==0||e.dyn_ltree[20]!==0||e.dyn_ltree[26]!==0)return Qm;for(t=32;t<wu;t++)if(e.dyn_ltree[t*2]!==0)return Qm;return Jm}var e8=!1;function M6(e){e8||(_6(),e8=!0),e.l_desc=new Gh(e.dyn_ltree,o8),e.d_desc=new Gh(e.dyn_dtree,f8),e.bl_desc=new Gh(e.bl_tree,l8),e.bi_buf=0,e.bi_valid=0,h8(e)}function v8(e,r,t,a){fn(e,(f6<<1)+(a?1:0),3),b6(e,r,t,!0)}function E6(e){fn(e,t8<<1,3),xi(e,Yh,L0),v6(e)}function P6(e,r,t,a){var s,n,i=0;e.level>0?(e.strm.data_type===o6&&(e.strm.data_type=k6(e)),Zh(e,e.l_desc),Zh(e,e.d_desc),i=L6(e),s=e.opt_len+3+7>>>3,n=e.static_len+3+7>>>3,n<=s&&(s=n)):s=n=t+5,t+4<=s&&r!==-1?v8(e,r,t,a):e.strategy===s6||n===s?(fn(e,(t8<<1)+(a?1:0),3),qm(e,L0,Pu)):(fn(e,(l6<<1)+(a?1:0),3),g6(e,e.l_desc.max_code+1,e.d_desc.max_code+1,i+1),qm(e,e.dyn_ltree,e.dyn_dtree)),h8(e),a&&p8(e)}function S6(e,r,t){return e.pending_buf[e.d_buf+e.last_lit*2]=r>>>8&255,e.pending_buf[e.d_buf+e.last_lit*2+1]=r&255,e.pending_buf[e.l_buf+e.last_lit]=t&255,e.last_lit++,r===0?e.dyn_ltree[t*2]++:(e.matches++,r--,e.dyn_ltree[(Tu[t]+wu+1)*2]++,e.dyn_dtree[u8(r)*2]++),e.last_lit===e.lit_bufsize-1}df._tr_init=M6;df._tr_stored_block=v8;df._tr_flush_block=P6;df._tr_tally=S6;df._tr_align=E6});var Xh=la((I4,_8)=>{"use strict";function I6(e,r,t,a){for(var s=e&65535|0,n=e>>>16&65535|0,i=0;t!==0;){i=t>2e3?2e3:t,t-=i;do s=s+r[a++]|0,n=n+s|0;while(--i);s%=65521,n%=65521}return s|n<<16|0}_8.exports=I6});var Kh=la((T4,b8)=>{"use strict";function T6(){for(var e,r=[],t=0;t<256;t++){e=t;for(var a=0;a<8;a++)e=e&1?3988292384^e>>>1:e>>>1;r[t]=e}return r}var y6=T6();function w6(e,r,t,a){var s=y6,n=a+t;e^=-1;for(var i=a;i<n;i++)e=e>>>8^s[(e^r[i])&255];return e^-1}b8.exports=w6});var a1=la((y4,L8)=>{"use strict";L8.exports={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"}});var y8=la(Ui=>{"use strict";var en=b0(),zn=m8(),E8=Xh(),Y0=Kh(),R6=a1(),wo=0,B6=1,D6=3,Q0=4,g8=5,Gi=0,k8=1,Cn=-2,N6=-3,Jh=-5,z6=-1,C6=1,n1=2,x6=3,O6=4,G6=0,U6=2,f1=8,H6=9,Z6=15,W6=8,$6=29,Y6=256,Fh=Y6+1+$6,A6=30,X6=19,K6=2*Fh+1,J6=15,Ft=3,K0=258,Ei=K0+Ft+1,Q6=32,l1=42,qh=69,i1=73,s1=91,o1=103,Io=113,Bu=666,ka=1,Du=2,To=3,vf=4,F6=3;function J0(e,r){return e.msg=R6[r],r}function M8(e){return(e<<1)-(e>4?9:0)}function X0(e){for(var r=e.length;--r>=0;)e[r]=0}function A0(e){var r=e.state,t=r.pending;t>e.avail_out&&(t=e.avail_out),t!==0&&(en.arraySet(e.output,r.pending_buf,r.pending_out,t,e.next_out),e.next_out+=t,r.pending_out+=t,e.total_out+=t,e.avail_out-=t,r.pending-=t,r.pending===0&&(r.pending_out=0))}function Ga(e,r){zn._tr_flush_block(e,e.block_start>=0?e.block_start:-1,e.strstart-e.block_start,r),e.block_start=e.strstart,A0(e.strm)}function sr(e,r){e.pending_buf[e.pending++]=r}function Ru(e,r){e.pending_buf[e.pending++]=r>>>8&255,e.pending_buf[e.pending++]=r&255}function q6(e,r,t,a){var s=e.avail_in;return s>a&&(s=a),s===0?0:(e.avail_in-=s,en.arraySet(r,e.input,e.next_in,s,t),e.state.wrap===1?e.adler=E8(e.adler,r,s,t):e.state.wrap===2&&(e.adler=Y0(e.adler,r,s,t)),e.next_in+=s,e.total_in+=s,s)}function P8(e,r){var t=e.max_chain_length,a=e.strstart,s,n,i=e.prev_length,o=e.nice_match,d=e.strstart>e.w_size-Ei?e.strstart-(e.w_size-Ei):0,f=e.window,c=e.w_mask,l=e.prev,k=e.strstart+K0,_=f[a+i-1],v=f[a+i];e.prev_length>=e.good_match&&(t>>=2),o>e.lookahead&&(o=e.lookahead);do if(s=r,!(f[s+i]!==v||f[s+i-1]!==_||f[s]!==f[a]||f[++s]!==f[a+1])){a+=2,s++;do;while(f[++a]===f[++s]&&f[++a]===f[++s]&&f[++a]===f[++s]&&f[++a]===f[++s]&&f[++a]===f[++s]&&f[++a]===f[++s]&&f[++a]===f[++s]&&f[++a]===f[++s]&&a<k);if(n=K0-(k-a),a=k-K0,n>i){if(e.match_start=r,i=n,n>=o)break;_=f[a+i-1],v=f[a+i]}}while((r=l[r&c])>d&&--t!==0);return i<=e.lookahead?i:e.lookahead}function yo(e){var r=e.w_size,t,a,s,n,i;do{if(n=e.window_size-e.lookahead-e.strstart,e.strstart>=r+(r-Ei)){en.arraySet(e.window,e.window,r,r,0),e.match_start-=r,e.strstart-=r,e.block_start-=r,a=e.hash_size,t=a;do s=e.head[--t],e.head[t]=s>=r?s-r:0;while(--a);a=r,t=a;do s=e.prev[--t],e.prev[t]=s>=r?s-r:0;while(--a);n+=r}if(e.strm.avail_in===0)break;if(a=q6(e.strm,e.window,e.strstart+e.lookahead,n),e.lookahead+=a,e.lookahead+e.insert>=Ft)for(i=e.strstart-e.insert,e.ins_h=e.window[i],e.ins_h=(e.ins_h<<e.hash_shift^e.window[i+1])&e.hash_mask;e.insert&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[i+Ft-1])&e.hash_mask,e.prev[i&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=i,i++,e.insert--,!(e.lookahead+e.insert<Ft)););}while(e.lookahead<Ei&&e.strm.avail_in!==0)}function V6(e,r){var t=65535;for(t>e.pending_buf_size-5&&(t=e.pending_buf_size-5);;){if(e.lookahead<=1){if(yo(e),e.lookahead===0&&r===wo)return ka;if(e.lookahead===0)break}e.strstart+=e.lookahead,e.lookahead=0;var a=e.block_start+t;if((e.strstart===0||e.strstart>=a)&&(e.lookahead=e.strstart-a,e.strstart=a,Ga(e,!1),e.strm.avail_out===0)||e.strstart-e.block_start>=e.w_size-Ei&&(Ga(e,!1),e.strm.avail_out===0))return ka}return e.insert=0,r===Q0?(Ga(e,!0),e.strm.avail_out===0?To:vf):(e.strstart>e.block_start&&(Ga(e,!1),e.strm.avail_out===0),ka)}function Qh(e,r){for(var t,a;;){if(e.lookahead<Ei){if(yo(e),e.lookahead<Ei&&r===wo)return ka;if(e.lookahead===0)break}if(t=0,e.lookahead>=Ft&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+Ft-1])&e.hash_mask,t=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),t!==0&&e.strstart-t<=e.w_size-Ei&&(e.match_length=P8(e,t)),e.match_length>=Ft)if(a=zn._tr_tally(e,e.strstart-e.match_start,e.match_length-Ft),e.lookahead-=e.match_length,e.match_length<=e.max_lazy_match&&e.lookahead>=Ft){e.match_length--;do e.strstart++,e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+Ft-1])&e.hash_mask,t=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart;while(--e.match_length!==0);e.strstart++}else e.strstart+=e.match_length,e.match_length=0,e.ins_h=e.window[e.strstart],e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+1])&e.hash_mask;else a=zn._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++;if(a&&(Ga(e,!1),e.strm.avail_out===0))return ka}return e.insert=e.strstart<Ft-1?e.strstart:Ft-1,r===Q0?(Ga(e,!0),e.strm.avail_out===0?To:vf):e.last_lit&&(Ga(e,!1),e.strm.avail_out===0)?ka:Du}function hf(e,r){for(var t,a,s;;){if(e.lookahead<Ei){if(yo(e),e.lookahead<Ei&&r===wo)return ka;if(e.lookahead===0)break}if(t=0,e.lookahead>=Ft&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+Ft-1])&e.hash_mask,t=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),e.prev_length=e.match_length,e.prev_match=e.match_start,e.match_length=Ft-1,t!==0&&e.prev_length<e.max_lazy_match&&e.strstart-t<=e.w_size-Ei&&(e.match_length=P8(e,t),e.match_length<=5&&(e.strategy===C6||e.match_length===Ft&&e.strstart-e.match_start>4096)&&(e.match_length=Ft-1)),e.prev_length>=Ft&&e.match_length<=e.prev_length){s=e.strstart+e.lookahead-Ft,a=zn._tr_tally(e,e.strstart-1-e.prev_match,e.prev_length-Ft),e.lookahead-=e.prev_length-1,e.prev_length-=2;do++e.strstart<=s&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+Ft-1])&e.hash_mask,t=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart);while(--e.prev_length!==0);if(e.match_available=0,e.match_length=Ft-1,e.strstart++,a&&(Ga(e,!1),e.strm.avail_out===0))return ka}else if(e.match_available){if(a=zn._tr_tally(e,0,e.window[e.strstart-1]),a&&Ga(e,!1),e.strstart++,e.lookahead--,e.strm.avail_out===0)return ka}else e.match_available=1,e.strstart++,e.lookahead--}return e.match_available&&(a=zn._tr_tally(e,0,e.window[e.strstart-1]),e.match_available=0),e.insert=e.strstart<Ft-1?e.strstart:Ft-1,r===Q0?(Ga(e,!0),e.strm.avail_out===0?To:vf):e.last_lit&&(Ga(e,!1),e.strm.avail_out===0)?ka:Du}function j6(e,r){for(var t,a,s,n,i=e.window;;){if(e.lookahead<=K0){if(yo(e),e.lookahead<=K0&&r===wo)return ka;if(e.lookahead===0)break}if(e.match_length=0,e.lookahead>=Ft&&e.strstart>0&&(s=e.strstart-1,a=i[s],a===i[++s]&&a===i[++s]&&a===i[++s])){n=e.strstart+K0;do;while(a===i[++s]&&a===i[++s]&&a===i[++s]&&a===i[++s]&&a===i[++s]&&a===i[++s]&&a===i[++s]&&a===i[++s]&&s<n);e.match_length=K0-(n-s),e.match_length>e.lookahead&&(e.match_length=e.lookahead)}if(e.match_length>=Ft?(t=zn._tr_tally(e,1,e.match_length-Ft),e.lookahead-=e.match_length,e.strstart+=e.match_length,e.match_length=0):(t=zn._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++),t&&(Ga(e,!1),e.strm.avail_out===0))return ka}return e.insert=0,r===Q0?(Ga(e,!0),e.strm.avail_out===0?To:vf):e.last_lit&&(Ga(e,!1),e.strm.avail_out===0)?ka:Du}function eL(e,r){for(var t;;){if(e.lookahead===0&&(yo(e),e.lookahead===0)){if(r===wo)return ka;break}if(e.match_length=0,t=zn._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++,t&&(Ga(e,!1),e.strm.avail_out===0))return ka}return e.insert=0,r===Q0?(Ga(e,!0),e.strm.avail_out===0?To:vf):e.last_lit&&(Ga(e,!1),e.strm.avail_out===0)?ka:Du}function Oi(e,r,t,a,s){this.good_length=e,this.max_lazy=r,this.nice_length=t,this.max_chain=a,this.func=s}var pf;pf=[new Oi(0,0,0,0,V6),new Oi(4,4,8,4,Qh),new Oi(4,5,16,8,Qh),new Oi(4,6,32,32,Qh),new Oi(4,4,16,16,hf),new Oi(8,16,32,32,hf),new Oi(8,16,128,128,hf),new Oi(8,32,128,256,hf),new Oi(32,128,258,1024,hf),new Oi(32,258,258,4096,hf)];function tL(e){e.window_size=2*e.w_size,X0(e.head),e.max_lazy_match=pf[e.level].max_lazy,e.good_match=pf[e.level].good_length,e.nice_match=pf[e.level].nice_length,e.max_chain_length=pf[e.level].max_chain,e.strstart=0,e.block_start=0,e.lookahead=0,e.insert=0,e.match_length=e.prev_length=Ft-1,e.match_available=0,e.ins_h=0}function rL(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=f1,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new en.Buf16(K6*2),this.dyn_dtree=new en.Buf16((2*A6+1)*2),this.bl_tree=new en.Buf16((2*X6+1)*2),X0(this.dyn_ltree),X0(this.dyn_dtree),X0(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new en.Buf16(J6+1),this.heap=new en.Buf16(2*Fh+1),X0(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new en.Buf16(2*Fh+1),X0(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}function S8(e){var r;return!e||!e.state?J0(e,Cn):(e.total_in=e.total_out=0,e.data_type=U6,r=e.state,r.pending=0,r.pending_out=0,r.wrap<0&&(r.wrap=-r.wrap),r.status=r.wrap?l1:Io,e.adler=r.wrap===2?0:1,r.last_flush=wo,zn._tr_init(r),Gi)}function I8(e){var r=S8(e);return r===Gi&&tL(e.state),r}function aL(e,r){return!e||!e.state||e.state.wrap!==2?Cn:(e.state.gzhead=r,Gi)}function T8(e,r,t,a,s,n){if(!e)return Cn;var i=1;if(r===z6&&(r=6),a<0?(i=0,a=-a):a>15&&(i=2,a-=16),s<1||s>H6||t!==f1||a<8||a>15||r<0||r>9||n<0||n>O6)return J0(e,Cn);a===8&&(a=9);var o=new rL;return e.state=o,o.strm=e,o.wrap=i,o.gzhead=null,o.w_bits=a,o.w_size=1<<o.w_bits,o.w_mask=o.w_size-1,o.hash_bits=s+7,o.hash_size=1<<o.hash_bits,o.hash_mask=o.hash_size-1,o.hash_shift=~~((o.hash_bits+Ft-1)/Ft),o.window=new en.Buf8(o.w_size*2),o.head=new en.Buf16(o.hash_size),o.prev=new en.Buf16(o.w_size),o.lit_bufsize=1<<s+6,o.pending_buf_size=o.lit_bufsize*4,o.pending_buf=new en.Buf8(o.pending_buf_size),o.d_buf=1*o.lit_bufsize,o.l_buf=3*o.lit_bufsize,o.level=r,o.strategy=n,o.method=t,I8(e)}function nL(e,r){return T8(e,r,f1,Z6,W6,G6)}function iL(e,r){var t,a,s,n;if(!e||!e.state||r>g8||r<0)return e?J0(e,Cn):Cn;if(a=e.state,!e.output||!e.input&&e.avail_in!==0||a.status===Bu&&r!==Q0)return J0(e,e.avail_out===0?Jh:Cn);if(a.strm=e,t=a.last_flush,a.last_flush=r,a.status===l1)if(a.wrap===2)e.adler=0,sr(a,31),sr(a,139),sr(a,8),a.gzhead?(sr(a,(a.gzhead.text?1:0)+(a.gzhead.hcrc?2:0)+(a.gzhead.extra?4:0)+(a.gzhead.name?8:0)+(a.gzhead.comment?16:0)),sr(a,a.gzhead.time&255),sr(a,a.gzhead.time>>8&255),sr(a,a.gzhead.time>>16&255),sr(a,a.gzhead.time>>24&255),sr(a,a.level===9?2:a.strategy>=n1||a.level<2?4:0),sr(a,a.gzhead.os&255),a.gzhead.extra&&a.gzhead.extra.length&&(sr(a,a.gzhead.extra.length&255),sr(a,a.gzhead.extra.length>>8&255)),a.gzhead.hcrc&&(e.adler=Y0(e.adler,a.pending_buf,a.pending,0)),a.gzindex=0,a.status=qh):(sr(a,0),sr(a,0),sr(a,0),sr(a,0),sr(a,0),sr(a,a.level===9?2:a.strategy>=n1||a.level<2?4:0),sr(a,F6),a.status=Io);else{var i=f1+(a.w_bits-8<<4)<<8,o=-1;a.strategy>=n1||a.level<2?o=0:a.level<6?o=1:a.level===6?o=2:o=3,i|=o<<6,a.strstart!==0&&(i|=Q6),i+=31-i%31,a.status=Io,Ru(a,i),a.strstart!==0&&(Ru(a,e.adler>>>16),Ru(a,e.adler&65535)),e.adler=1}if(a.status===qh)if(a.gzhead.extra){for(s=a.pending;a.gzindex<(a.gzhead.extra.length&65535)&&!(a.pending===a.pending_buf_size&&(a.gzhead.hcrc&&a.pending>s&&(e.adler=Y0(e.adler,a.pending_buf,a.pending-s,s)),A0(e),s=a.pending,a.pending===a.pending_buf_size));)sr(a,a.gzhead.extra[a.gzindex]&255),a.gzindex++;a.gzhead.hcrc&&a.pending>s&&(e.adler=Y0(e.adler,a.pending_buf,a.pending-s,s)),a.gzindex===a.gzhead.extra.length&&(a.gzindex=0,a.status=i1)}else a.status=i1;if(a.status===i1)if(a.gzhead.name){s=a.pending;do{if(a.pending===a.pending_buf_size&&(a.gzhead.hcrc&&a.pending>s&&(e.adler=Y0(e.adler,a.pending_buf,a.pending-s,s)),A0(e),s=a.pending,a.pending===a.pending_buf_size)){n=1;break}a.gzindex<a.gzhead.name.length?n=a.gzhead.name.charCodeAt(a.gzindex++)&255:n=0,sr(a,n)}while(n!==0);a.gzhead.hcrc&&a.pending>s&&(e.adler=Y0(e.adler,a.pending_buf,a.pending-s,s)),n===0&&(a.gzindex=0,a.status=s1)}else a.status=s1;if(a.status===s1)if(a.gzhead.comment){s=a.pending;do{if(a.pending===a.pending_buf_size&&(a.gzhead.hcrc&&a.pending>s&&(e.adler=Y0(e.adler,a.pending_buf,a.pending-s,s)),A0(e),s=a.pending,a.pending===a.pending_buf_size)){n=1;break}a.gzindex<a.gzhead.comment.length?n=a.gzhead.comment.charCodeAt(a.gzindex++)&255:n=0,sr(a,n)}while(n!==0);a.gzhead.hcrc&&a.pending>s&&(e.adler=Y0(e.adler,a.pending_buf,a.pending-s,s)),n===0&&(a.status=o1)}else a.status=o1;if(a.status===o1&&(a.gzhead.hcrc?(a.pending+2>a.pending_buf_size&&A0(e),a.pending+2<=a.pending_buf_size&&(sr(a,e.adler&255),sr(a,e.adler>>8&255),e.adler=0,a.status=Io)):a.status=Io),a.pending!==0){if(A0(e),e.avail_out===0)return a.last_flush=-1,Gi}else if(e.avail_in===0&&M8(r)<=M8(t)&&r!==Q0)return J0(e,Jh);if(a.status===Bu&&e.avail_in!==0)return J0(e,Jh);if(e.avail_in!==0||a.lookahead!==0||r!==wo&&a.status!==Bu){var d=a.strategy===n1?eL(a,r):a.strategy===x6?j6(a,r):pf[a.level].func(a,r);if((d===To||d===vf)&&(a.status=Bu),d===ka||d===To)return e.avail_out===0&&(a.last_flush=-1),Gi;if(d===Du&&(r===B6?zn._tr_align(a):r!==g8&&(zn._tr_stored_block(a,0,0,!1),r===D6&&(X0(a.head),a.lookahead===0&&(a.strstart=0,a.block_start=0,a.insert=0))),A0(e),e.avail_out===0))return a.last_flush=-1,Gi}return r!==Q0?Gi:a.wrap<=0?k8:(a.wrap===2?(sr(a,e.adler&255),sr(a,e.adler>>8&255),sr(a,e.adler>>16&255),sr(a,e.adler>>24&255),sr(a,e.total_in&255),sr(a,e.total_in>>8&255),sr(a,e.total_in>>16&255),sr(a,e.total_in>>24&255)):(Ru(a,e.adler>>>16),Ru(a,e.adler&65535)),A0(e),a.wrap>0&&(a.wrap=-a.wrap),a.pending!==0?Gi:k8)}function sL(e){var r;return!e||!e.state?Cn:(r=e.state.status,r!==l1&&r!==qh&&r!==i1&&r!==s1&&r!==o1&&r!==Io&&r!==Bu?J0(e,Cn):(e.state=null,r===Io?J0(e,N6):Gi))}function oL(e,r){var t=r.length,a,s,n,i,o,d,f,c;if(!e||!e.state||(a=e.state,i=a.wrap,i===2||i===1&&a.status!==l1||a.lookahead))return Cn;for(i===1&&(e.adler=E8(e.adler,r,t,0)),a.wrap=0,t>=a.w_size&&(i===0&&(X0(a.head),a.strstart=0,a.block_start=0,a.insert=0),c=new en.Buf8(a.w_size),en.arraySet(c,r,t-a.w_size,a.w_size,0),r=c,t=a.w_size),o=e.avail_in,d=e.next_in,f=e.input,e.avail_in=t,e.next_in=0,e.input=r,yo(a);a.lookahead>=Ft;){s=a.strstart,n=a.lookahead-(Ft-1);do a.ins_h=(a.ins_h<<a.hash_shift^a.window[s+Ft-1])&a.hash_mask,a.prev[s&a.w_mask]=a.head[a.ins_h],a.head[a.ins_h]=s,s++;while(--n);a.strstart=s,a.lookahead=Ft-1,yo(a)}return a.strstart+=a.lookahead,a.block_start=a.strstart,a.insert=a.lookahead,a.lookahead=0,a.match_length=a.prev_length=Ft-1,a.match_available=0,e.next_in=d,e.input=f,e.avail_in=o,a.wrap=i,Gi}Ui.deflateInit=nL;Ui.deflateInit2=T8;Ui.deflateReset=I8;Ui.deflateResetKeep=S8;Ui.deflateSetHeader=aL;Ui.deflate=iL;Ui.deflateEnd=sL;Ui.deflateSetDictionary=oL;Ui.deflateInfo="pako deflate (from Nodeca project)"});var Vh=la(mf=>{"use strict";var u1=b0(),w8=!0,R8=!0;try{String.fromCharCode.apply(null,[0])}catch{w8=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch{R8=!1}var Nu=new u1.Buf8(256);for(g0=0;g0<256;g0++)Nu[g0]=g0>=252?6:g0>=248?5:g0>=240?4:g0>=224?3:g0>=192?2:1;var g0;Nu[254]=Nu[254]=1;mf.string2buf=function(e){var r,t,a,s,n,i=e.length,o=0;for(s=0;s<i;s++)t=e.charCodeAt(s),(t&64512)===55296&&s+1<i&&(a=e.charCodeAt(s+1),(a&64512)===56320&&(t=65536+(t-55296<<10)+(a-56320),s++)),o+=t<128?1:t<2048?2:t<65536?3:4;for(r=new u1.Buf8(o),n=0,s=0;n<o;s++)t=e.charCodeAt(s),(t&64512)===55296&&s+1<i&&(a=e.charCodeAt(s+1),(a&64512)===56320&&(t=65536+(t-55296<<10)+(a-56320),s++)),t<128?r[n++]=t:t<2048?(r[n++]=192|t>>>6,r[n++]=128|t&63):t<65536?(r[n++]=224|t>>>12,r[n++]=128|t>>>6&63,r[n++]=128|t&63):(r[n++]=240|t>>>18,r[n++]=128|t>>>12&63,r[n++]=128|t>>>6&63,r[n++]=128|t&63);return r};function B8(e,r){if(r<65534&&(e.subarray&&R8||!e.subarray&&w8))return String.fromCharCode.apply(null,u1.shrinkBuf(e,r));for(var t="",a=0;a<r;a++)t+=String.fromCharCode(e[a]);return t}mf.buf2binstring=function(e){return B8(e,e.length)};mf.binstring2buf=function(e){for(var r=new u1.Buf8(e.length),t=0,a=r.length;t<a;t++)r[t]=e.charCodeAt(t);return r};mf.buf2string=function(e,r){var t,a,s,n,i=r||e.length,o=new Array(i*2);for(a=0,t=0;t<i;){if(s=e[t++],s<128){o[a++]=s;continue}if(n=Nu[s],n>4){o[a++]=65533,t+=n-1;continue}for(s&=n===2?31:n===3?15:7;n>1&&t<i;)s=s<<6|e[t++]&63,n--;if(n>1){o[a++]=65533;continue}s<65536?o[a++]=s:(s-=65536,o[a++]=55296|s>>10&1023,o[a++]=56320|s&1023)}return B8(o,a)};mf.utf8border=function(e,r){var t;for(r=r||e.length,r>e.length&&(r=e.length),t=r-1;t>=0&&(e[t]&192)===128;)t--;return t<0||t===0?r:t+Nu[e[t]]>r?t:r}});var jh=la((B4,D8)=>{"use strict";function fL(){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}D8.exports=fL});var x8=la(xu=>{"use strict";var zu=y8(),Cu=b0(),tp=Vh(),rp=a1(),lL=jh(),C8=Object.prototype.toString,uL=0,ep=4,_f=0,N8=1,z8=2,cL=-1,dL=0,hL=8;function Ro(e){if(!(this instanceof Ro))return new Ro(e);this.options=Cu.assign({level:cL,method:hL,chunkSize:16384,windowBits:15,memLevel:8,strategy:dL,to:""},e||{});var r=this.options;r.raw&&r.windowBits>0?r.windowBits=-r.windowBits:r.gzip&&r.windowBits>0&&r.windowBits<16&&(r.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new lL,this.strm.avail_out=0;var t=zu.deflateInit2(this.strm,r.level,r.method,r.windowBits,r.memLevel,r.strategy);if(t!==_f)throw new Error(rp[t]);if(r.header&&zu.deflateSetHeader(this.strm,r.header),r.dictionary){var a;if(typeof r.dictionary=="string"?a=tp.string2buf(r.dictionary):C8.call(r.dictionary)==="[object ArrayBuffer]"?a=new Uint8Array(r.dictionary):a=r.dictionary,t=zu.deflateSetDictionary(this.strm,a),t!==_f)throw new Error(rp[t]);this._dict_set=!0}}Ro.prototype.push=function(e,r){var t=this.strm,a=this.options.chunkSize,s,n;if(this.ended)return!1;n=r===~~r?r:r===!0?ep:uL,typeof e=="string"?t.input=tp.string2buf(e):C8.call(e)==="[object ArrayBuffer]"?t.input=new Uint8Array(e):t.input=e,t.next_in=0,t.avail_in=t.input.length;do{if(t.avail_out===0&&(t.output=new Cu.Buf8(a),t.next_out=0,t.avail_out=a),s=zu.deflate(t,n),s!==N8&&s!==_f)return this.onEnd(s),this.ended=!0,!1;(t.avail_out===0||t.avail_in===0&&(n===ep||n===z8))&&(this.options.to==="string"?this.onData(tp.buf2binstring(Cu.shrinkBuf(t.output,t.next_out))):this.onData(Cu.shrinkBuf(t.output,t.next_out)))}while((t.avail_in>0||t.avail_out===0)&&s!==N8);return n===ep?(s=zu.deflateEnd(this.strm),this.onEnd(s),this.ended=!0,s===_f):(n===z8&&(this.onEnd(_f),t.avail_out=0),!0)};Ro.prototype.onData=function(e){this.chunks.push(e)};Ro.prototype.onEnd=function(e){e===_f&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=Cu.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg};function ap(e,r){var t=new Ro(r);if(t.push(e,!0),t.err)throw t.msg||rp[t.err];return t.result}function pL(e,r){return r=r||{},r.raw=!0,ap(e,r)}function vL(e,r){return r=r||{},r.gzip=!0,ap(e,r)}xu.Deflate=Ro;xu.deflate=ap;xu.deflateRaw=pL;xu.gzip=vL});var G8=la((N4,O8)=>{"use strict";var c1=30,mL=12;O8.exports=function(r,t){var a,s,n,i,o,d,f,c,l,k,_,v,m,g,M,p,b,y,I,z,R,B,Z,T,x;a=r.state,s=r.next_in,T=r.input,n=s+(r.avail_in-5),i=r.next_out,x=r.output,o=i-(t-r.avail_out),d=i+(r.avail_out-257),f=a.dmax,c=a.wsize,l=a.whave,k=a.wnext,_=a.window,v=a.hold,m=a.bits,g=a.lencode,M=a.distcode,p=(1<<a.lenbits)-1,b=(1<<a.distbits)-1;e:do{m<15&&(v+=T[s++]<<m,m+=8,v+=T[s++]<<m,m+=8),y=g[v&p];t:for(;;){if(I=y>>>24,v>>>=I,m-=I,I=y>>>16&255,I===0)x[i++]=y&65535;else if(I&16){z=y&65535,I&=15,I&&(m<I&&(v+=T[s++]<<m,m+=8),z+=v&(1<<I)-1,v>>>=I,m-=I),m<15&&(v+=T[s++]<<m,m+=8,v+=T[s++]<<m,m+=8),y=M[v&b];r:for(;;){if(I=y>>>24,v>>>=I,m-=I,I=y>>>16&255,I&16){if(R=y&65535,I&=15,m<I&&(v+=T[s++]<<m,m+=8,m<I&&(v+=T[s++]<<m,m+=8)),R+=v&(1<<I)-1,R>f){r.msg="invalid distance too far back",a.mode=c1;break e}if(v>>>=I,m-=I,I=i-o,R>I){if(I=R-I,I>l&&a.sane){r.msg="invalid distance too far back",a.mode=c1;break e}if(B=0,Z=_,k===0){if(B+=c-I,I<z){z-=I;do x[i++]=_[B++];while(--I);B=i-R,Z=x}}else if(k<I){if(B+=c+k-I,I-=k,I<z){z-=I;do x[i++]=_[B++];while(--I);if(B=0,k<z){I=k,z-=I;do x[i++]=_[B++];while(--I);B=i-R,Z=x}}}else if(B+=k-I,I<z){z-=I;do x[i++]=_[B++];while(--I);B=i-R,Z=x}for(;z>2;)x[i++]=Z[B++],x[i++]=Z[B++],x[i++]=Z[B++],z-=3;z&&(x[i++]=Z[B++],z>1&&(x[i++]=Z[B++]))}else{B=i-R;do x[i++]=x[B++],x[i++]=x[B++],x[i++]=x[B++],z-=3;while(z>2);z&&(x[i++]=x[B++],z>1&&(x[i++]=x[B++]))}}else if((I&64)===0){y=M[(y&65535)+(v&(1<<I)-1)];continue r}else{r.msg="invalid distance code",a.mode=c1;break e}break}}else if((I&64)===0){y=g[(y&65535)+(v&(1<<I)-1)];continue t}else if(I&32){a.mode=mL;break e}else{r.msg="invalid literal/length code",a.mode=c1;break e}break}}while(s<n&&i<d);z=m>>3,s-=z,m-=z<<3,v&=(1<<m)-1,r.next_in=s,r.next_out=i,r.avail_in=s<n?5+(n-s):5-(s-n),r.avail_out=i<d?257+(d-i):257-(i-d),a.hold=v,a.bits=m}});var A8=la((z4,Y8)=>{"use strict";var U8=b0(),bf=15,H8=852,Z8=592,W8=0,np=1,$8=2,_L=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],bL=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],LL=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],gL=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64];Y8.exports=function(r,t,a,s,n,i,o,d){var f=d.bits,c=0,l=0,k=0,_=0,v=0,m=0,g=0,M=0,p=0,b=0,y,I,z,R,B,Z=null,T=0,x,P=new U8.Buf16(bf+1),J=new U8.Buf16(bf+1),re=null,Q=0,ae,X,V;for(c=0;c<=bf;c++)P[c]=0;for(l=0;l<s;l++)P[t[a+l]]++;for(v=f,_=bf;_>=1&&P[_]===0;_--);if(v>_&&(v=_),_===0)return n[i++]=1<<24|64<<16|0,n[i++]=1<<24|64<<16|0,d.bits=1,0;for(k=1;k<_&&P[k]===0;k++);for(v<k&&(v=k),M=1,c=1;c<=bf;c++)if(M<<=1,M-=P[c],M<0)return-1;if(M>0&&(r===W8||_!==1))return-1;for(J[1]=0,c=1;c<bf;c++)J[c+1]=J[c]+P[c];for(l=0;l<s;l++)t[a+l]!==0&&(o[J[t[a+l]]++]=l);if(r===W8?(Z=re=o,x=19):r===np?(Z=_L,T-=257,re=bL,Q-=257,x=256):(Z=LL,re=gL,x=-1),b=0,l=0,c=k,B=i,m=v,g=0,z=-1,p=1<<v,R=p-1,r===np&&p>H8||r===$8&&p>Z8)return 1;for(;;){ae=c-g,o[l]<x?(X=0,V=o[l]):o[l]>x?(X=re[Q+o[l]],V=Z[T+o[l]]):(X=96,V=0),y=1<<c-g,I=1<<m,k=I;do I-=y,n[B+(b>>g)+I]=ae<<24|X<<16|V|0;while(I!==0);for(y=1<<c-1;b&y;)y>>=1;if(y!==0?(b&=y-1,b+=y):b=0,l++,--P[c]===0){if(c===_)break;c=t[a+o[l]]}if(c>v&&(b&R)!==z){for(g===0&&(g=v),B+=k,m=c-g,M=1<<m;m+g<_&&(M-=P[m+g],!(M<=0));)m++,M<<=1;if(p+=1<<m,r===np&&p>H8||r===$8&&p>Z8)return 1;z=b&R,n[z]=v<<24|m<<16|B-i|0}}return b!==0&&(n[B+b]=c-g<<24|64<<16|0),d.bits=v,0}});var I_=la(Pi=>{"use strict";var En=b0(),up=Xh(),Hi=Kh(),kL=G8(),Ou=A8(),ML=0,__=1,b_=2,X8=4,EL=5,d1=6,Bo=0,PL=1,SL=2,xn=-2,L_=-3,cp=-4,IL=-5,K8=8,g_=1,J8=2,Q8=3,F8=4,q8=5,V8=6,j8=7,e_=8,t_=9,r_=10,v1=11,k0=12,ip=13,a_=14,sp=15,n_=16,i_=17,s_=18,o_=19,h1=20,p1=21,f_=22,l_=23,u_=24,c_=25,d_=26,op=27,h_=28,p_=29,xr=30,dp=31,TL=32,yL=852,wL=592,RL=15,BL=RL;function v_(e){return(e>>>24&255)+(e>>>8&65280)+((e&65280)<<8)+((e&255)<<24)}function DL(){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 En.Buf16(320),this.work=new En.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function k_(e){var r;return!e||!e.state?xn:(r=e.state,e.total_in=e.total_out=r.total=0,e.msg="",r.wrap&&(e.adler=r.wrap&1),r.mode=g_,r.last=0,r.havedict=0,r.dmax=32768,r.head=null,r.hold=0,r.bits=0,r.lencode=r.lendyn=new En.Buf32(yL),r.distcode=r.distdyn=new En.Buf32(wL),r.sane=1,r.back=-1,Bo)}function M_(e){var r;return!e||!e.state?xn:(r=e.state,r.wsize=0,r.whave=0,r.wnext=0,k_(e))}function E_(e,r){var t,a;return!e||!e.state||(a=e.state,r<0?(t=0,r=-r):(t=(r>>4)+1,r<48&&(r&=15)),r&&(r<8||r>15))?xn:(a.window!==null&&a.wbits!==r&&(a.window=null),a.wrap=t,a.wbits=r,M_(e))}function P_(e,r){var t,a;return e?(a=new DL,e.state=a,a.window=null,t=E_(e,r),t!==Bo&&(e.state=null),t):xn}function NL(e){return P_(e,BL)}var m_=!0,fp,lp;function zL(e){if(m_){var r;for(fp=new En.Buf32(512),lp=new En.Buf32(32),r=0;r<144;)e.lens[r++]=8;for(;r<256;)e.lens[r++]=9;for(;r<280;)e.lens[r++]=7;for(;r<288;)e.lens[r++]=8;for(Ou(__,e.lens,0,288,fp,0,e.work,{bits:9}),r=0;r<32;)e.lens[r++]=5;Ou(b_,e.lens,0,32,lp,0,e.work,{bits:5}),m_=!1}e.lencode=fp,e.lenbits=9,e.distcode=lp,e.distbits=5}function S_(e,r,t,a){var s,n=e.state;return n.window===null&&(n.wsize=1<<n.wbits,n.wnext=0,n.whave=0,n.window=new En.Buf8(n.wsize)),a>=n.wsize?(En.arraySet(n.window,r,t-n.wsize,n.wsize,0),n.wnext=0,n.whave=n.wsize):(s=n.wsize-n.wnext,s>a&&(s=a),En.arraySet(n.window,r,t-a,s,n.wnext),a-=s,a?(En.arraySet(n.window,r,t-a,a,0),n.wnext=a,n.whave=n.wsize):(n.wnext+=s,n.wnext===n.wsize&&(n.wnext=0),n.whave<n.wsize&&(n.whave+=s))),0}function CL(e,r){var t,a,s,n,i,o,d,f,c,l,k,_,v,m,g=0,M,p,b,y,I,z,R,B,Z=new En.Buf8(4),T,x,P=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!e||!e.state||!e.output||!e.input&&e.avail_in!==0)return xn;t=e.state,t.mode===k0&&(t.mode=ip),i=e.next_out,s=e.output,d=e.avail_out,n=e.next_in,a=e.input,o=e.avail_in,f=t.hold,c=t.bits,l=o,k=d,B=Bo;e:for(;;)switch(t.mode){case g_:if(t.wrap===0){t.mode=ip;break}for(;c<16;){if(o===0)break e;o--,f+=a[n++]<<c,c+=8}if(t.wrap&2&&f===35615){t.check=0,Z[0]=f&255,Z[1]=f>>>8&255,t.check=Hi(t.check,Z,2,0),f=0,c=0,t.mode=J8;break}if(t.flags=0,t.head&&(t.head.done=!1),!(t.wrap&1)||(((f&255)<<8)+(f>>8))%31){e.msg="incorrect header check",t.mode=xr;break}if((f&15)!==K8){e.msg="unknown compression method",t.mode=xr;break}if(f>>>=4,c-=4,R=(f&15)+8,t.wbits===0)t.wbits=R;else if(R>t.wbits){e.msg="invalid window size",t.mode=xr;break}t.dmax=1<<R,e.adler=t.check=1,t.mode=f&512?r_:k0,f=0,c=0;break;case J8:for(;c<16;){if(o===0)break e;o--,f+=a[n++]<<c,c+=8}if(t.flags=f,(t.flags&255)!==K8){e.msg="unknown compression method",t.mode=xr;break}if(t.flags&57344){e.msg="unknown header flags set",t.mode=xr;break}t.head&&(t.head.text=f>>8&1),t.flags&512&&(Z[0]=f&255,Z[1]=f>>>8&255,t.check=Hi(t.check,Z,2,0)),f=0,c=0,t.mode=Q8;case Q8:for(;c<32;){if(o===0)break e;o--,f+=a[n++]<<c,c+=8}t.head&&(t.head.time=f),t.flags&512&&(Z[0]=f&255,Z[1]=f>>>8&255,Z[2]=f>>>16&255,Z[3]=f>>>24&255,t.check=Hi(t.check,Z,4,0)),f=0,c=0,t.mode=F8;case F8:for(;c<16;){if(o===0)break e;o--,f+=a[n++]<<c,c+=8}t.head&&(t.head.xflags=f&255,t.head.os=f>>8),t.flags&512&&(Z[0]=f&255,Z[1]=f>>>8&255,t.check=Hi(t.check,Z,2,0)),f=0,c=0,t.mode=q8;case q8:if(t.flags&1024){for(;c<16;){if(o===0)break e;o--,f+=a[n++]<<c,c+=8}t.length=f,t.head&&(t.head.extra_len=f),t.flags&512&&(Z[0]=f&255,Z[1]=f>>>8&255,t.check=Hi(t.check,Z,2,0)),f=0,c=0}else t.head&&(t.head.extra=null);t.mode=V8;case V8:if(t.flags&1024&&(_=t.length,_>o&&(_=o),_&&(t.head&&(R=t.head.extra_len-t.length,t.head.extra||(t.head.extra=new Array(t.head.extra_len)),En.arraySet(t.head.extra,a,n,_,R)),t.flags&512&&(t.check=Hi(t.check,a,_,n)),o-=_,n+=_,t.length-=_),t.length))break e;t.length=0,t.mode=j8;case j8:if(t.flags&2048){if(o===0)break e;_=0;do R=a[n+_++],t.head&&R&&t.length<65536&&(t.head.name+=String.fromCharCode(R));while(R&&_<o);if(t.flags&512&&(t.check=Hi(t.check,a,_,n)),o-=_,n+=_,R)break e}else t.head&&(t.head.name=null);t.length=0,t.mode=e_;case e_:if(t.flags&4096){if(o===0)break e;_=0;do R=a[n+_++],t.head&&R&&t.length<65536&&(t.head.comment+=String.fromCharCode(R));while(R&&_<o);if(t.flags&512&&(t.check=Hi(t.check,a,_,n)),o-=_,n+=_,R)break e}else t.head&&(t.head.comment=null);t.mode=t_;case t_:if(t.flags&512){for(;c<16;){if(o===0)break e;o--,f+=a[n++]<<c,c+=8}if(f!==(t.check&65535)){e.msg="header crc mismatch",t.mode=xr;break}f=0,c=0}t.head&&(t.head.hcrc=t.flags>>9&1,t.head.done=!0),e.adler=t.check=0,t.mode=k0;break;case r_:for(;c<32;){if(o===0)break e;o--,f+=a[n++]<<c,c+=8}e.adler=t.check=v_(f),f=0,c=0,t.mode=v1;case v1:if(t.havedict===0)return e.next_out=i,e.avail_out=d,e.next_in=n,e.avail_in=o,t.hold=f,t.bits=c,SL;e.adler=t.check=1,t.mode=k0;case k0:if(r===EL||r===d1)break e;case ip:if(t.last){f>>>=c&7,c-=c&7,t.mode=op;break}for(;c<3;){if(o===0)break e;o--,f+=a[n++]<<c,c+=8}switch(t.last=f&1,f>>>=1,c-=1,f&3){case 0:t.mode=a_;break;case 1:if(zL(t),t.mode=h1,r===d1){f>>>=2,c-=2;break e}break;case 2:t.mode=i_;break;case 3:e.msg="invalid block type",t.mode=xr}f>>>=2,c-=2;break;case a_:for(f>>>=c&7,c-=c&7;c<32;){if(o===0)break e;o--,f+=a[n++]<<c,c+=8}if((f&65535)!==(f>>>16^65535)){e.msg="invalid stored block lengths",t.mode=xr;break}if(t.length=f&65535,f=0,c=0,t.mode=sp,r===d1)break e;case sp:t.mode=n_;case n_:if(_=t.length,_){if(_>o&&(_=o),_>d&&(_=d),_===0)break e;En.arraySet(s,a,n,_,i),o-=_,n+=_,d-=_,i+=_,t.length-=_;break}t.mode=k0;break;case i_:for(;c<14;){if(o===0)break e;o--,f+=a[n++]<<c,c+=8}if(t.nlen=(f&31)+257,f>>>=5,c-=5,t.ndist=(f&31)+1,f>>>=5,c-=5,t.ncode=(f&15)+4,f>>>=4,c-=4,t.nlen>286||t.ndist>30){e.msg="too many length or distance symbols",t.mode=xr;break}t.have=0,t.mode=s_;case s_:for(;t.have<t.ncode;){for(;c<3;){if(o===0)break e;o--,f+=a[n++]<<c,c+=8}t.lens[P[t.have++]]=f&7,f>>>=3,c-=3}for(;t.have<19;)t.lens[P[t.have++]]=0;if(t.lencode=t.lendyn,t.lenbits=7,T={bits:t.lenbits},B=Ou(ML,t.lens,0,19,t.lencode,0,t.work,T),t.lenbits=T.bits,B){e.msg="invalid code lengths set",t.mode=xr;break}t.have=0,t.mode=o_;case o_:for(;t.have<t.nlen+t.ndist;){for(;g=t.lencode[f&(1<<t.lenbits)-1],M=g>>>24,p=g>>>16&255,b=g&65535,!(M<=c);){if(o===0)break e;o--,f+=a[n++]<<c,c+=8}if(b<16)f>>>=M,c-=M,t.lens[t.have++]=b;else{if(b===16){for(x=M+2;c<x;){if(o===0)break e;o--,f+=a[n++]<<c,c+=8}if(f>>>=M,c-=M,t.have===0){e.msg="invalid bit length repeat",t.mode=xr;break}R=t.lens[t.have-1],_=3+(f&3),f>>>=2,c-=2}else if(b===17){for(x=M+3;c<x;){if(o===0)break e;o--,f+=a[n++]<<c,c+=8}f>>>=M,c-=M,R=0,_=3+(f&7),f>>>=3,c-=3}else{for(x=M+7;c<x;){if(o===0)break e;o--,f+=a[n++]<<c,c+=8}f>>>=M,c-=M,R=0,_=11+(f&127),f>>>=7,c-=7}if(t.have+_>t.nlen+t.ndist){e.msg="invalid bit length repeat",t.mode=xr;break}for(;_--;)t.lens[t.have++]=R}}if(t.mode===xr)break;if(t.lens[256]===0){e.msg="invalid code -- missing end-of-block",t.mode=xr;break}if(t.lenbits=9,T={bits:t.lenbits},B=Ou(__,t.lens,0,t.nlen,t.lencode,0,t.work,T),t.lenbits=T.bits,B){e.msg="invalid literal/lengths set",t.mode=xr;break}if(t.distbits=6,t.distcode=t.distdyn,T={bits:t.distbits},B=Ou(b_,t.lens,t.nlen,t.ndist,t.distcode,0,t.work,T),t.distbits=T.bits,B){e.msg="invalid distances set",t.mode=xr;break}if(t.mode=h1,r===d1)break e;case h1:t.mode=p1;case p1:if(o>=6&&d>=258){e.next_out=i,e.avail_out=d,e.next_in=n,e.avail_in=o,t.hold=f,t.bits=c,kL(e,k),i=e.next_out,s=e.output,d=e.avail_out,n=e.next_in,a=e.input,o=e.avail_in,f=t.hold,c=t.bits,t.mode===k0&&(t.back=-1);break}for(t.back=0;g=t.lencode[f&(1<<t.lenbits)-1],M=g>>>24,p=g>>>16&255,b=g&65535,!(M<=c);){if(o===0)break e;o--,f+=a[n++]<<c,c+=8}if(p&&(p&240)===0){for(y=M,I=p,z=b;g=t.lencode[z+((f&(1<<y+I)-1)>>y)],M=g>>>24,p=g>>>16&255,b=g&65535,!(y+M<=c);){if(o===0)break e;o--,f+=a[n++]<<c,c+=8}f>>>=y,c-=y,t.back+=y}if(f>>>=M,c-=M,t.back+=M,t.length=b,p===0){t.mode=d_;break}if(p&32){t.back=-1,t.mode=k0;break}if(p&64){e.msg="invalid literal/length code",t.mode=xr;break}t.extra=p&15,t.mode=f_;case f_:if(t.extra){for(x=t.extra;c<x;){if(o===0)break e;o--,f+=a[n++]<<c,c+=8}t.length+=f&(1<<t.extra)-1,f>>>=t.extra,c-=t.extra,t.back+=t.extra}t.was=t.length,t.mode=l_;case l_:for(;g=t.distcode[f&(1<<t.distbits)-1],M=g>>>24,p=g>>>16&255,b=g&65535,!(M<=c);){if(o===0)break e;o--,f+=a[n++]<<c,c+=8}if((p&240)===0){for(y=M,I=p,z=b;g=t.distcode[z+((f&(1<<y+I)-1)>>y)],M=g>>>24,p=g>>>16&255,b=g&65535,!(y+M<=c);){if(o===0)break e;o--,f+=a[n++]<<c,c+=8}f>>>=y,c-=y,t.back+=y}if(f>>>=M,c-=M,t.back+=M,p&64){e.msg="invalid distance code",t.mode=xr;break}t.offset=b,t.extra=p&15,t.mode=u_;case u_:if(t.extra){for(x=t.extra;c<x;){if(o===0)break e;o--,f+=a[n++]<<c,c+=8}t.offset+=f&(1<<t.extra)-1,f>>>=t.extra,c-=t.extra,t.back+=t.extra}if(t.offset>t.dmax){e.msg="invalid distance too far back",t.mode=xr;break}t.mode=c_;case c_:if(d===0)break e;if(_=k-d,t.offset>_){if(_=t.offset-_,_>t.whave&&t.sane){e.msg="invalid distance too far back",t.mode=xr;break}_>t.wnext?(_-=t.wnext,v=t.wsize-_):v=t.wnext-_,_>t.length&&(_=t.length),m=t.window}else m=s,v=i-t.offset,_=t.length;_>d&&(_=d),d-=_,t.length-=_;do s[i++]=m[v++];while(--_);t.length===0&&(t.mode=p1);break;case d_:if(d===0)break e;s[i++]=t.length,d--,t.mode=p1;break;case op:if(t.wrap){for(;c<32;){if(o===0)break e;o--,f|=a[n++]<<c,c+=8}if(k-=d,e.total_out+=k,t.total+=k,k&&(e.adler=t.check=t.flags?Hi(t.check,s,k,i-k):up(t.check,s,k,i-k)),k=d,(t.flags?f:v_(f))!==t.check){e.msg="incorrect data check",t.mode=xr;break}f=0,c=0}t.mode=h_;case h_:if(t.wrap&&t.flags){for(;c<32;){if(o===0)break e;o--,f+=a[n++]<<c,c+=8}if(f!==(t.total&4294967295)){e.msg="incorrect length check",t.mode=xr;break}f=0,c=0}t.mode=p_;case p_:B=PL;break e;case xr:B=L_;break e;case dp:return cp;case TL:default:return xn}return e.next_out=i,e.avail_out=d,e.next_in=n,e.avail_in=o,t.hold=f,t.bits=c,(t.wsize||k!==e.avail_out&&t.mode<xr&&(t.mode<op||r!==X8))&&S_(e,e.output,e.next_out,k-e.avail_out)?(t.mode=dp,cp):(l-=e.avail_in,k-=e.avail_out,e.total_in+=l,e.total_out+=k,t.total+=k,t.wrap&&k&&(e.adler=t.check=t.flags?Hi(t.check,s,k,e.next_out-k):up(t.check,s,k,e.next_out-k)),e.data_type=t.bits+(t.last?64:0)+(t.mode===k0?128:0)+(t.mode===h1||t.mode===sp?256:0),(l===0&&k===0||r===X8)&&B===Bo&&(B=IL),B)}function xL(e){if(!e||!e.state)return xn;var r=e.state;return r.window&&(r.window=null),e.state=null,Bo}function OL(e,r){var t;return!e||!e.state||(t=e.state,(t.wrap&2)===0)?xn:(t.head=r,r.done=!1,Bo)}function GL(e,r){var t=r.length,a,s,n;return!e||!e.state||(a=e.state,a.wrap!==0&&a.mode!==v1)?xn:a.mode===v1&&(s=1,s=up(s,r,t,0),s!==a.check)?L_:(n=S_(e,r,t,t),n?(a.mode=dp,cp):(a.havedict=1,Bo))}Pi.inflateReset=M_;Pi.inflateReset2=E_;Pi.inflateResetKeep=k_;Pi.inflateInit=NL;Pi.inflateInit2=P_;Pi.inflate=CL;Pi.inflateEnd=xL;Pi.inflateGetHeader=OL;Pi.inflateSetDictionary=GL;Pi.inflateInfo="pako inflate (from Nodeca project)"});var hp=la((x4,T_)=>{"use strict";T_.exports={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8}});var w_=la((O4,y_)=>{"use strict";function UL(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}y_.exports=UL});var B_=la(Uu=>{"use strict";var Lf=I_(),Gu=b0(),m1=Vh(),na=hp(),pp=a1(),HL=jh(),ZL=w_(),R_=Object.prototype.toString;function Do(e){if(!(this instanceof Do))return new Do(e);this.options=Gu.assign({chunkSize:16384,windowBits:0,to:""},e||{});var r=this.options;r.raw&&r.windowBits>=0&&r.windowBits<16&&(r.windowBits=-r.windowBits,r.windowBits===0&&(r.windowBits=-15)),r.windowBits>=0&&r.windowBits<16&&!(e&&e.windowBits)&&(r.windowBits+=32),r.windowBits>15&&r.windowBits<48&&(r.windowBits&15)===0&&(r.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new HL,this.strm.avail_out=0;var t=Lf.inflateInit2(this.strm,r.windowBits);if(t!==na.Z_OK)throw new Error(pp[t]);if(this.header=new ZL,Lf.inflateGetHeader(this.strm,this.header),r.dictionary&&(typeof r.dictionary=="string"?r.dictionary=m1.string2buf(r.dictionary):R_.call(r.dictionary)==="[object ArrayBuffer]"&&(r.dictionary=new Uint8Array(r.dictionary)),r.raw&&(t=Lf.inflateSetDictionary(this.strm,r.dictionary),t!==na.Z_OK)))throw new Error(pp[t])}Do.prototype.push=function(e,r){var t=this.strm,a=this.options.chunkSize,s=this.options.dictionary,n,i,o,d,f,c=!1;if(this.ended)return!1;i=r===~~r?r:r===!0?na.Z_FINISH:na.Z_NO_FLUSH,typeof e=="string"?t.input=m1.binstring2buf(e):R_.call(e)==="[object ArrayBuffer]"?t.input=new Uint8Array(e):t.input=e,t.next_in=0,t.avail_in=t.input.length;do{if(t.avail_out===0&&(t.output=new Gu.Buf8(a),t.next_out=0,t.avail_out=a),n=Lf.inflate(t,na.Z_NO_FLUSH),n===na.Z_NEED_DICT&&s&&(n=Lf.inflateSetDictionary(this.strm,s)),n===na.Z_BUF_ERROR&&c===!0&&(n=na.Z_OK,c=!1),n!==na.Z_STREAM_END&&n!==na.Z_OK)return this.onEnd(n),this.ended=!0,!1;t.next_out&&(t.avail_out===0||n===na.Z_STREAM_END||t.avail_in===0&&(i===na.Z_FINISH||i===na.Z_SYNC_FLUSH))&&(this.options.to==="string"?(o=m1.utf8border(t.output,t.next_out),d=t.next_out-o,f=m1.buf2string(t.output,o),t.next_out=d,t.avail_out=a-d,d&&Gu.arraySet(t.output,t.output,o,d,0),this.onData(f)):this.onData(Gu.shrinkBuf(t.output,t.next_out))),t.avail_in===0&&t.avail_out===0&&(c=!0)}while((t.avail_in>0||t.avail_out===0)&&n!==na.Z_STREAM_END);return n===na.Z_STREAM_END&&(i=na.Z_FINISH),i===na.Z_FINISH?(n=Lf.inflateEnd(this.strm),this.onEnd(n),this.ended=!0,n===na.Z_OK):(i===na.Z_SYNC_FLUSH&&(this.onEnd(na.Z_OK),t.avail_out=0),!0)};Do.prototype.onData=function(e){this.chunks.push(e)};Do.prototype.onEnd=function(e){e===na.Z_OK&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=Gu.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg};function vp(e,r){var t=new Do(r);if(t.push(e,!0),t.err)throw t.msg||pp[t.err];return t.result}function WL(e,r){return r=r||{},r.raw=!0,vp(e,r)}Uu.Inflate=Do;Uu.inflate=vp;Uu.inflateRaw=WL;Uu.ungzip=vp});var z_=la((U4,N_)=>{"use strict";var $L=b0().assign,YL=x8(),AL=B_(),XL=hp(),D_={};$L(D_,YL,AL,XL);N_.exports=D_});var C_=la((H4,mp)=>{(function(){var e={};typeof mp=="object"?mp.exports=e:self.UTIF=e;var r;typeof Mo=="function"?r=z_():r=self.pako;function t(){typeof process=="undefined"&&console.log.apply(console,arguments)}(function(a,s){(function(){var n=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(d){return typeof d}:function(d){return d&&typeof Symbol=="function"&&d.constructor===Symbol&&d!==Symbol.prototype?"symbol":typeof d},i=(function(){function d(f){this.message="JPEG error: "+f}return d.prototype=Error(),d.prototype.name="JpegError",d.constructor=d})(),o=(function(){function d(f,c){this.message=f,this.g=c}return d.prototype=Error(),d.prototype.name="DNLMarkerError",d.constructor=d})();(function(){function d(){this.M=null,this.B=-1}function f(v,m){for(var g=0,M=[],p,b,y=16;0<y&&!v[y-1];)y--;M.push({children:[],index:0});var I=M[0],z;for(p=0;p<y;p++){for(b=0;b<v[p];b++){for(I=M.pop(),I.children[I.index]=m[g];0<I.index;)I=M.pop();for(I.index++,M.push(I);M.length<=p;)M.push(z={children:[],index:0}),I.children[I.index]=z.children,I=z;g++}p+1<y&&(M.push(z={children:[],index:0}),I.children[I.index]=z.children,I=z)}return M[0].children}function c(v,m,g,M,p,b,y,I,z){function R(){if(0<A)return A--,H>>A&1;if(H=v[m++],H===255){var N=v[m++];if(N){if(N===220&&ae){m+=2;var j=v[m++]<<8|v[m++];if(0<j&&j!==g.g)throw new o("Found DNL marker (0xFFDC) while parsing scan data",j)}throw new i("unexpected marker "+(H<<8|N).toString(16))}}return A=7,H>>>7}function B(N){for(;;){if(N=N[R()],typeof N=="number")return N;if((typeof N=="undefined"?"undefined":n(N))!=="object")throw new i("invalid huffman sequence")}}function Z(N){for(var j=0;0<N;)j=j<<1|R(),N--;return j}function T(N){if(N===1)return R()===1?1:-1;var j=Z(N);return j>=1<<N-1?j:j+(-1<<N)+1}function x(N,j){var be=B(N.D);for(be=be===0?0:T(be),N.a[j]=N.m+=be,be=1;64>be;){var Le=B(N.o),E=Le&15;if(Le>>=4,E===0){if(15>Le)break;be+=16}else be+=Le,N.a[j+_[be]]=T(E),be++}}function P(N,j){var be=B(N.D);be=be===0?0:T(be)<<z,N.a[j]=N.m+=be}function J(N,j){N.a[j]|=R()<<z}function re(N,j){if(0<ge)ge--;else for(var be=b;be<=y;){var Le=B(N.o),E=Le&15;if(Le>>=4,E===0){if(15>Le){ge=Z(Le)+(1<<Le)-1;break}be+=16}else be+=Le,N.a[j+_[be]]=T(E)*(1<<z),be++}}function Q(N,j){for(var be=b,Le=0,E;be<=y;){E=j+_[be];var Be=0>N.a[E]?-1:1;switch(me){case 0:if(Le=B(N.o),E=Le&15,Le>>=4,E===0)15>Le?(ge=Z(Le)+(1<<Le),me=4):(Le=16,me=1);else{if(E!==1)throw new i("invalid ACn encoding");u=T(E),me=Le?2:3}continue;case 1:case 2:N.a[E]?N.a[E]+=Be*(R()<<z):(Le--,Le===0&&(me=me===2?3:0));break;case 3:N.a[E]?N.a[E]+=Be*(R()<<z):(N.a[E]=u<<z,me=0);break;case 4:N.a[E]&&(N.a[E]+=Be*(R()<<z))}be++}me===4&&(ge--,ge===0&&(me=0))}for(var ae=9<arguments.length&&arguments[9]!==void 0?arguments[9]:!1,X=g.P,V=m,H=0,A=0,ge=0,me=0,u,h=M.length,De,Ue,ee,fe,oe=g.S?b===0?I===0?P:J:I===0?re:Q:x,kt=0,dt=h===1?M[0].c*M[0].l:X*g.O,S,Ee;kt<dt;){var pe=p?Math.min(dt-kt,p):dt;for(De=0;De<h;De++)M[De].m=0;if(ge=0,h===1){var Y=M[0];for(fe=0;fe<pe;fe++)oe(Y,64*((Y.c+1)*(kt/Y.c|0)+kt%Y.c)),kt++}else for(fe=0;fe<pe;fe++){for(De=0;De<h;De++)for(Y=M[De],S=Y.h,Ee=Y.j,Ue=0;Ue<Ee;Ue++)for(ee=0;ee<S;ee++)oe(Y,64*((Y.c+1)*((kt/X|0)*Y.j+Ue)+(kt%X*Y.h+ee)));kt++}if(A=0,(Y=k(v,m))&&Y.f&&((0,_util.warn)("decodeScan - unexpected MCU data, current marker is: "+Y.f),m=Y.offset),Y=Y&&Y.F,!Y||65280>=Y)throw new i("marker was not found");if(65488<=Y&&65495>=Y)m+=2;else break}return(Y=k(v,m))&&Y.f&&((0,_util.warn)("decodeScan - unexpected Scan data, current marker is: "+Y.f),m=Y.offset),m-V}function l(v,m){for(var g=m.c,M=m.l,p=new Int16Array(64),b=0;b<M;b++)for(var y=0;y<g;y++){var I=64*((m.c+1)*b+y),z=p,R=m.G,B=m.a;if(!R)throw new i("missing required Quantization Table.");for(var Z=0;64>Z;Z+=8){var T=B[I+Z],x=B[I+Z+1],P=B[I+Z+2],J=B[I+Z+3],re=B[I+Z+4],Q=B[I+Z+5],ae=B[I+Z+6],X=B[I+Z+7];if(T*=R[Z],(x|P|J|re|Q|ae|X)===0)T=5793*T+512>>10,z[Z]=T,z[Z+1]=T,z[Z+2]=T,z[Z+3]=T,z[Z+4]=T,z[Z+5]=T,z[Z+6]=T,z[Z+7]=T;else{x*=R[Z+1],P*=R[Z+2],J*=R[Z+3],re*=R[Z+4],Q*=R[Z+5],ae*=R[Z+6],X*=R[Z+7];var V=5793*T+128>>8,H=5793*re+128>>8,A=P,ge=ae;re=2896*(x-X)+128>>8,X=2896*(x+X)+128>>8,J<<=4,Q<<=4,V=V+H+1>>1,H=V-H,T=3784*A+1567*ge+128>>8,A=1567*A-3784*ge+128>>8,ge=T,re=re+Q+1>>1,Q=re-Q,X=X+J+1>>1,J=X-J,V=V+ge+1>>1,ge=V-ge,H=H+A+1>>1,A=H-A,T=2276*re+3406*X+2048>>12,re=3406*re-2276*X+2048>>12,X=T,T=799*J+4017*Q+2048>>12,J=4017*J-799*Q+2048>>12,Q=T,z[Z]=V+X,z[Z+7]=V-X,z[Z+1]=H+Q,z[Z+6]=H-Q,z[Z+2]=A+J,z[Z+5]=A-J,z[Z+3]=ge+re,z[Z+4]=ge-re}}for(R=0;8>R;++R)T=z[R],x=z[R+8],P=z[R+16],J=z[R+24],re=z[R+32],Q=z[R+40],ae=z[R+48],X=z[R+56],(x|P|J|re|Q|ae|X)===0?(T=5793*T+8192>>14,T=-2040>T?0:2024<=T?255:T+2056>>4,B[I+R]=T,B[I+R+8]=T,B[I+R+16]=T,B[I+R+24]=T,B[I+R+32]=T,B[I+R+40]=T,B[I+R+48]=T,B[I+R+56]=T):(V=5793*T+2048>>12,H=5793*re+2048>>12,A=P,ge=ae,re=2896*(x-X)+2048>>12,X=2896*(x+X)+2048>>12,V=(V+H+1>>1)+4112,H=V-H,T=3784*A+1567*ge+2048>>12,A=1567*A-3784*ge+2048>>12,ge=T,re=re+Q+1>>1,Q=re-Q,X=X+J+1>>1,J=X-J,V=V+ge+1>>1,ge=V-ge,H=H+A+1>>1,A=H-A,T=2276*re+3406*X+2048>>12,re=3406*re-2276*X+2048>>12,X=T,T=799*J+4017*Q+2048>>12,J=4017*J-799*Q+2048>>12,Q=T,T=V+X,X=V-X,x=H+Q,ae=H-Q,P=A+J,Q=A-J,J=ge+re,re=ge-re,T=16>T?0:4080<=T?255:T>>4,x=16>x?0:4080<=x?255:x>>4,P=16>P?0:4080<=P?255:P>>4,J=16>J?0:4080<=J?255:J>>4,re=16>re?0:4080<=re?255:re>>4,Q=16>Q?0:4080<=Q?255:Q>>4,ae=16>ae?0:4080<=ae?255:ae>>4,X=16>X?0:4080<=X?255:X>>4,B[I+R]=T,B[I+R+8]=x,B[I+R+16]=P,B[I+R+24]=J,B[I+R+32]=re,B[I+R+40]=Q,B[I+R+48]=ae,B[I+R+56]=X)}return m.a}function k(v,m){var g=2<arguments.length&&arguments[2]!==void 0?arguments[2]:m,M=v.length-1;if(g=g<m?g:m,m>=M)return null;var p=v[m]<<8|v[m+1];if(65472<=p&&65534>=p)return{f:null,F:p,offset:m};for(var b=v[g]<<8|v[g+1];!(65472<=b&&65534>=b);){if(++g>=M)return null;b=v[g]<<8|v[g+1]}return{f:p.toString(16),F:b,offset:g}}var _=new Uint8Array([0,1,8,16,9,2,3,10,17,24,32,25,18,11,4,5,12,19,26,33,40,48,41,34,27,20,13,6,7,14,21,28,35,42,49,56,57,50,43,36,29,22,15,23,30,37,44,51,58,59,52,45,38,31,39,46,53,60,61,54,47,55,62,63]);d.prototype={parse:function(v){function m(){var A=v[y]<<8|v[y+1];return y+=2,A}function g(){var A=m();A=y+A-2;var ge=k(v,A,y);return ge&&ge.f&&((0,_util.warn)("readDataBlock - incorrect length, current marker is: "+ge.f),A=ge.offset),A=v.subarray(y,A),y+=A.length,A}function M(A){for(var ge=Math.ceil(A.v/8/A.s),me=Math.ceil(A.g/8/A.u),u=0;u<A.b.length;u++){V=A.b[u];var h=Math.ceil(Math.ceil(A.v/8)*V.h/A.s),De=Math.ceil(Math.ceil(A.g/8)*V.j/A.u);V.a=new Int16Array(64*me*V.j*(ge*V.h+1)),V.c=h,V.l=De}A.P=ge,A.O=me}var p=(1<arguments.length&&arguments[1]!==void 0?arguments[1]:{}).N,b=p===void 0?null:p,y=0,I=null,z=0;p=[];var R=[],B=[],Z=m();if(Z!==65496)throw new i("SOI not found");for(Z=m();Z!==65497;){switch(Z){case 65504:case 65505:case 65506:case 65507:case 65508:case 65509:case 65510:case 65511:case 65512:case 65513:case 65514:case 65515:case 65516:case 65517:case 65518:case 65519:case 65534:var T=g();Z===65518&&T[0]===65&&T[1]===100&&T[2]===111&&T[3]===98&&T[4]===101&&(I={version:T[5]<<8|T[6],Y:T[7]<<8|T[8],Z:T[9]<<8|T[10],W:T[11]});break;case 65499:Z=m()+y-2;for(var x;y<Z;){var P=v[y++],J=new Uint16Array(64);if(P>>4===0)for(T=0;64>T;T++)x=_[T],J[x]=v[y++];else if(P>>4===1)for(T=0;64>T;T++)x=_[T],J[x]=m();else throw new i("DQT - invalid table spec");p[P&15]=J}break;case 65472:case 65473:case 65474:if(re)throw new i("Only single frame JPEGs supported");m();var re={};for(re.X=Z===65473,re.S=Z===65474,re.precision=v[y++],Z=m(),re.g=b||Z,re.v=m(),re.b=[],re.C={},T=v[y++],Z=J=P=0;Z<T;Z++){x=v[y];var Q=v[y+1]>>4,ae=v[y+1]&15;P<Q&&(P=Q),J<ae&&(J=ae),Q=re.b.push({h:Q,j:ae,T:v[y+2],G:null}),re.C[x]=Q-1,y+=3}re.s=P,re.u=J,M(re);break;case 65476:for(x=m(),Z=2;Z<x;){for(P=v[y++],J=new Uint8Array(16),T=Q=0;16>T;T++,y++)Q+=J[T]=v[y];for(ae=new Uint8Array(Q),T=0;T<Q;T++,y++)ae[T]=v[y];Z+=17+Q,(P>>4===0?B:R)[P&15]=f(J,ae)}break;case 65501:m();var X=m();break;case 65498:for(T=++z===1&&!b,m(),P=v[y++],x=[],Z=0;Z<P;Z++){J=re.C[v[y++]];var V=re.b[J];J=v[y++],V.D=B[J>>4],V.o=R[J&15],x.push(V)}Z=v[y++],P=v[y++],J=v[y++];try{var H=c(v,y,re,x,X,Z,P,J>>4,J&15,T);y+=H}catch(A){if(A instanceof o)return(0,_util.warn)('Attempting to re-parse JPEG image using "scanLines" parameter found in DNL marker (0xFFDC) segment.'),this.parse(v,{N:A.g});throw A}break;case 65500:y+=4;break;case 65535:v[y]!==255&&y--;break;default:if(v[y-3]===255&&192<=v[y-2]&&254>=v[y-2])y-=3;else if((T=k(v,y-2))&&T.f)(0,_util.warn)("JpegImage.parse - unexpected data, current marker is: "+T.f),y=T.offset;else throw new i("unknown marker "+Z.toString(16))}Z=m()}for(this.width=re.v,this.height=re.g,this.A=I,this.b=[],Z=0;Z<re.b.length;Z++)V=re.b[Z],(X=p[V.T])&&(V.G=X),this.b.push({R:l(re,V),U:V.h/re.s,V:V.j/re.u,c:V.c,l:V.l});this.i=this.b.length},L:function(v,m){var g=this.width/v,M=this.height/m,p,b,y=this.b.length,I=v*m*y,z=new Uint8ClampedArray(I),R=new Uint32Array(v);for(b=0;b<y;b++){var B=this.b[b],Z=B.U*g,T=B.V*M,x=b,P=B.R,J=B.c+1<<3;for(p=0;p<v;p++)B=0|p*Z,R[p]=(B&4294967288)<<3|B&7;for(Z=0;Z<m;Z++)for(B=0|Z*T,B=J*(B&4294967288)|(B&7)<<3,p=0;p<v;p++)z[x]=P[B+R[p]],x+=y}if(M=this.M)for(b=0;b<I;)for(g=B=0;B<y;B++,b++,g+=2)z[b]=(z[b]*M[g]>>8)+M[g+1];return z},w:function(){return this.A?!!this.A.W:this.i===3?this.B!==0:this.B===1},I:function(v){for(var m,g,M,p=0,b=v.length;p<b;p+=3)m=v[p],g=v[p+1],M=v[p+2],v[p]=m-179.456+1.402*M,v[p+1]=m+135.459-.344*g-.714*M,v[p+2]=m-226.816+1.772*g;return v},K:function(v){for(var m,g,M,p,b=0,y=0,I=v.length;y<I;y+=4)m=v[y],g=v[y+1],M=v[y+2],p=v[y+3],v[b++]=-122.67195406894+g*(-660635669420364e-19*g+.000437130475926232*M-54080610064599e-18*m+.00048449797120281*p-.154362151871126)+M*(-.000957964378445773*M+.000817076911346625*m-.00477271405408747*p+1.53380253221734)+m*(.000961250184130688*m-.00266257332283933*p+.48357088451265)+p*(-.000336197177618394*p+.484791561490776),v[b++]=107.268039397724+g*(219927104525741e-19*g-.000640992018297945*M+.000659397001245577*m+.000426105652938837*p-.176491792462875)+M*(-.000778269941513683*M+.00130872261408275*m+.000770482631801132*p-.151051492775562)+m*(.00126935368114843*m-.00265090189010898*p+.25802910206845)+p*(-.000318913117588328*p-.213742400323665),v[b++]=-20.810012546947+g*(-.000570115196973677*g-263409051004589e-19*M+.0020741088115012*m-.00288260236853442*p+.814272968359295)+M*(-153496057440975e-19*M-.000132689043961446*m+.000560833691242812*p-.195152027534049)+m*(.00174418132927582*m-.00255243321439347*p+.116935020465145)+p*(-.000343531996510555*p+.24165260232407);return v.subarray(0,b)},J:function(v){for(var m,g,M,p=0,b=v.length;p<b;p+=4)m=v[p],g=v[p+1],M=v[p+2],v[p]=434.456-m-1.402*M,v[p+1]=119.541-m+.344*g+.714*M,v[p+2]=481.816-m-1.772*g;return v},H:function(v){for(var m,g,M,p,b=0,y=1/255,I=0,z=v.length;I<z;I+=4)m=v[I]*y,g=v[I+1]*y,M=v[I+2]*y,p=v[I+3]*y,v[b++]=255+m*(-4.387332384609988*m+54.48615194189176*g+18.82290502165302*M+212.25662451639585*p-285.2331026137004)+g*(1.7149763477362134*g-5.6096736904047315*M-17.873870861415444*p-5.497006427196366)+M*(-2.5217340131683033*M-21.248923337353073*p+17.5119270841813)-p*(21.86122147463605*p+189.48180835922747),v[b++]=255+m*(8.841041422036149*m+60.118027045597366*g+6.871425592049007*M+31.159100130055922*p-79.2970844816548)+g*(-15.310361306967817*g+17.575251261109482*M+131.35250912493976*p-190.9453302588951)+M*(4.444339102852739*M+9.8632861493405*p-24.86741582555878)-p*(20.737325471181034*p+187.80453709719578),v[b++]=255+m*(.8842522430003296*m+8.078677503112928*g+30.89978309703729*M-.23883238689178934*p-14.183576799673286)+g*(10.49593273432072*g+63.02378494754052*M+50.606957656360734*p-112.23884253719248)+M*(.03296041114873217*M+115.60384449646641*p-193.58209356861505)-p*(22.33816807309886*p+180.12613974708367);return v.subarray(0,b)},getData:function(v,m,g){if(4<this.i)throw new i("Unsupported color mode");if(v=this.L(v,m),this.i===1&&g){g=v.length,m=new Uint8ClampedArray(3*g);for(var M=0,p=0;p<g;p++){var b=v[p];m[M++]=b,m[M++]=b,m[M++]=b}return m}if(this.i===3&&this.w())return this.I(v);if(this.i===4){if(this.w())return g?this.K(v):this.J(v);if(g)return this.H(v)}return v}},a.JpegDecoder=d})()})(),a.encodeImage=function(n,i,o,d){var f={t256:[i],t257:[o],t258:[8,8,8,8],t259:[1],t262:[2],t273:[1e3],t277:[4],t278:[o],t279:[i*o*4],t282:[1],t283:[1],t284:[1],t286:[0],t287:[0],t296:[1],t305:["Photopea (UTIF.js)"],t338:[1]};if(d)for(var c in d)f[c]=d[c];for(var l=new Uint8Array(a.encode([f])),k=new Uint8Array(n),_=new Uint8Array(1e3+i*o*4),c=0;c<l.length;c++)_[c]=l[c];for(var c=0;c<k.length;c++)_[1e3+c]=k[c];return _.buffer},a.encode=function(n){var i=new Uint8Array(2e4),o=4,d=a._binBE;i[0]=77,i[1]=77,i[3]=42;var f=8;d.writeUint(i,o,f),o+=4;for(var c=0;c<n.length;c++){var l=a._writeIFD(d,i,f,n[c]);f=l[1],c<n.length-1&&d.writeUint(i,l[0],f)}return i.slice(0,f).buffer},a.decode=function(n){a.decode._decodeG3.allow2D=null;var i=new Uint8Array(n),o=0,d=a._binBE.readASCII(i,o,2);o+=2;var f=d=="II"?a._binLE:a._binBE,c=f.readUshort(i,o);o+=2;var l=f.readUint(i,o);o+=4;for(var k=[];;){var _=a._readIFD(f,i,l,k,0,!1);if(l=f.readUint(i,_),l==0)break}return k},a.decodeImage=function(n,i,o){var d=new Uint8Array(n),f=a._binBE.readASCII(d,0,2);if(i.t256!=null){i.isLE=f=="II",i.width=i.t256[0],i.height=i.t257[0];var c=i.t259?i.t259[0]:1,l=i.t266?i.t266[0]:1;i.t284&&i.t284[0]==2&&t("PlanarConfiguration 2 should not be used!");var k;i.t258?k=Math.min(32,i.t258[0])*i.t258.length:k=i.t277?i.t277[0]:1,c==1&&i.t279!=null&&i.t278&&i.t262[0]==32803&&(k=Math.round(i.t279[0]*8/(i.width*i.t278[0])));var _=Math.ceil(i.width*k/8)*8,v=i.t273;v==null&&(v=i.t324);var m=i.t279;c==1&&v.length==1&&(m=[i.height*(_>>>3)]),m==null&&(m=i.t325);var g=new Uint8Array(i.height*(_>>>3)),M=0;if(i.t322!=null){for(var p=i.t322[0],b=i.t323[0],y=Math.floor((i.width+p-1)/p),I=Math.floor((i.height+b-1)/b),z=new Uint8Array(Math.ceil(p*b*k/8)|0),R=0;R<I;R++)for(var B=0;B<y;B++){for(var Z=R*y+B,T=0;T<z.length;T++)z[T]=0;a.decode._decompress(i,o,d,v[Z],m[Z],c,z,0,l),c==6?g=z:a._copyTile(z,Math.ceil(p*k/8)|0,b,g,Math.ceil(i.width*k/8)|0,i.height,Math.ceil(B*p*k/8)|0,R*b)}M=g.length*8}else{var x=i.t278?i.t278[0]:i.height;x=Math.min(x,i.height);for(var Z=0;Z<v.length;Z++)a.decode._decompress(i,o,d,v[Z],m[Z],c,g,Math.ceil(M/8)|0,l),M+=_*x;M=Math.min(M,g.length*8)}i.data=new Uint8Array(g.buffer,0,Math.ceil(M/8)|0)}},a.decode._decompress=function(n,i,o,d,f,c,l,k,_){if(c==1||f==l.length&&c!=32767)for(var v=0;v<f;v++)l[k+v]=o[d+v];else if(c==3)a.decode._decodeG3(o,d,f,l,k,n.width,_);else if(c==4)a.decode._decodeG4(o,d,f,l,k,n.width,_);else if(c==5)a.decode._decodeLZW(o,d,l,k);else if(c==6)a.decode._decodeOldJPEG(n,o,d,f,l,k);else if(c==7)a.decode._decodeNewJPEG(n,o,d,f,l,k);else if(c==8)for(var m=new Uint8Array(o.buffer,d,f),g=s.inflate(m),M=0;M<g.length;M++)l[k+M]=g[M];else c==32767?a.decode._decodeARW(n,o,d,f,l,k):c==32773?a.decode._decodePackBits(o,d,f,l,k):c==32809?a.decode._decodeThunder(o,d,f,l,k):c==34713?a.decode._decodeNikon(n,i,o,d,f,l,k):t("Unknown compression",c);var p=n.t258?Math.min(32,n.t258[0]):1,b=n.t277?n.t277[0]:1,y=p*b>>>3,I=n.t278?n.t278[0]:n.height,z=Math.ceil(p*b*n.width/8);if(p==16&&!n.isLE&&n.t33422==null)for(var R=0;R<I;R++)for(var B=k+R*z,Z=1;Z<z;Z+=2){var T=l[B+Z];l[B+Z]=l[B+Z-1],l[B+Z-1]=T}if(n.t317&&n.t317[0]==2)for(var R=0;R<I;R++){var x=k+R*z;if(p==16)for(var v=y;v<z;v+=2){var P=(l[x+v+1]<<8|l[x+v])+(l[x+v-y+1]<<8|l[x+v-y]);l[x+v]=P&255,l[x+v+1]=P>>>8&255}else if(b==3)for(var v=3;v<z;v+=3)l[x+v]=l[x+v]+l[x+v-3]&255,l[x+v+1]=l[x+v+1]+l[x+v-2]&255,l[x+v+2]=l[x+v+2]+l[x+v-1]&255;else for(var v=y;v<z;v++)l[x+v]=l[x+v]+l[x+v-y]&255}},a.decode._ljpeg_diff=function(n,i,o){var d=a.decode._getbithuff,f,c;return f=d(n,i,o[0],o),c=d(n,i,f,0),(c&1<<f-1)==0&&(c-=(1<<f)-1),c},a.decode._decodeARW=function(n,i,o,d,f,c){var l=n.t256[0],k=n.t257[0],_=n.t258[0],v=n.isLE?a._binLE:a._binBE,m=l*k==d||l*k*1.5==d;if(!m){k+=8;var g=[o,0,0,0],M=new Uint16Array(32770),p=[3857,3856,3599,3342,3085,2828,2571,2314,2057,1800,1543,1286,1029,772,771,768,514,513],me,b,y,re,J,I=0,z=a.decode._ljpeg_diff;for(M[0]=15,y=me=0;me<18;me++)for(var R=32768>>>(p[me]>>>8),b=0;b<R;b++)M[++y]=p[me];for(re=l;re--;)for(J=0;J<k+1;J+=2)if(J==k&&(J=1),I+=z(i,g,M),J<k){var B=I&4095;a.decode._putsF(f,(J*l+re)*_,B<<16-_)}return}if(l*k*1.5==d){for(var me=0;me<d;me+=3){var Z=i[o+me+0],T=i[o+me+1],x=i[o+me+2];f[c+me]=T<<4|Z>>>4,f[c+me+1]=Z<<4|x>>>4,f[c+me+2]=x<<4|T>>>4}return}var P=new Uint16Array(16),J,re,Q,ae,X,V,H,A,ge,me,u,h=new Uint8Array(l+1);for(J=0;J<k;J++){for(var De=0;De<l;De++)h[De]=i[o++];for(u=0,re=0;re<l-30;u+=16){for(ae=2047&(Q=v.readUint(h,u)),X=2047&Q>>>11,V=15&Q>>>22,H=15&Q>>>26,A=0;A<4&&128<<A<=ae-X;A++);for(ge=30,me=0;me<16;me++)me==V?P[me]=ae:me==H?P[me]=X:(P[me]=((v.readUshort(h,u+(ge>>3))>>>(ge&7)&127)<<A)+X,P[me]>2047&&(P[me]=2047),ge+=7);for(me=0;me<16;me++,re+=2){var B=P[me]<<1;a.decode._putsF(f,(J*l+re)*_,B<<16-_)}re-=re&1?1:31}}},a.decode._decodeNikon=function(n,i,o,d,f,c,l){var k=[[0,0,1,5,1,1,1,1,1,1,2,0,0,0,0,0,0,5,4,3,6,2,7,1,0,8,9,11,10,12],[0,0,1,5,1,1,1,1,1,1,2,0,0,0,0,0,0,57,90,56,39,22,5,4,3,2,1,0,11,12,12],[0,0,1,4,2,3,1,2,0,0,0,0,0,0,0,0,0,5,4,6,3,7,2,8,1,9,0,10,11,12],[0,0,1,4,3,1,1,1,1,1,2,0,0,0,0,0,0,5,6,4,7,8,3,9,2,1,0,10,11,12,13,14],[0,0,1,5,1,1,1,1,1,1,1,2,0,0,0,0,0,8,92,75,58,41,7,6,5,4,3,2,1,0,13,14],[0,0,1,4,2,2,3,1,2,0,0,0,0,0,0,0,0,7,6,8,5,9,4,10,3,11,12,2,0,1,13,14]],_=n.t256[0],v=n.t257[0],m=n.t258[0],g=0,M=0,p=a.decode._make_decoder,b=a.decode._getbithuff,y=i[0].exifIFD.makerNote,I=y.t150?y.t150:y.t140,z=0,R=I[z++],B=I[z++];(R==73||B==88)&&(z+=2110),R==70&&(g=2),m==14&&(g+=3);for(var Z=[[0,0],[0,0]],T=n.isLE?a._binLE:a._binBE,Q=0;Q<2;Q++)for(var x=0;x<2;x++)Z[Q][x]=T.readShort(I,z),z+=2;var P=1<<m&32767,J=0,re=T.readShort(I,z);z+=2,re>1&&(J=Math.floor(P/(re-1))),R==68&&B==32&&J>0&&(M=T.readShort(I,562));var Q,ae,X,V,H,A,ge=0,me=[0,0],u=p(k[g]),h=[d,0,0,0];for(ge=ae=0;ae<v;ae++)for(M&&ae==M&&(u=p(k[g+1])),X=0;X<_;X++){Q=b(o,h,u[0],u),V=Q&15,H=Q>>>4,A=(b(o,h,V-H,0)<<1)+1<<H>>>1,(A&1<<V-1)==0&&(A-=(1<<V)-(H==0?1:0)),X<2?me[X]=Z[ae&1][X]+=A:me[X&1]+=A;var De=Math.min(Math.max(me[X&1],0),(1<<m)-1),Ue=(ae*_+X)*m;a.decode._putsF(c,Ue,De<<16-m)}},a.decode._putsF=function(n,i,o){o=o<<8-(i&7);var d=i>>>3;n[d]|=o>>>16,n[d+1]|=o>>>8,n[d+2]|=o},a.decode._getbithuff=function(n,i,o,d){var f=0,c=a.decode._get_byte,l,k=i[0],_=i[1],v=i[2],m=i[3];if(o==0||v<0)return 0;for(;!m&&v<o&&(l=n[k++])!=-1&&!(m=f&&l==255&&n[k++]);)_=(_<<8)+l,v+=8;if(l=_<<32-v>>>32-o,d?(v-=d[l+1]>>>8,l=d[l+1]&255):v-=o,v<0)throw"e";return i[0]=k,i[1]=_,i[2]=v,i[3]=m,l},a.decode._make_decoder=function(n){var i,o,d,f,c,l=[];for(i=16;i!=0&&!n[i];i--);var k=17;for(l[0]=i,d=o=1;o<=i;o++)for(f=0;f<n[o];f++,++k)for(c=0;c<1<<i-o;c++)d<=1<<i&&(l[d++]=o<<8|n[k]);return l},a.decode._decodeNewJPEG=function(n,i,o,d,f,c){var l=n.t347,k=l?l.length:0,_=new Uint8Array(k+d);if(l){for(var v=216,m=217,g=0,M=0;M<k-1&&!(l[M]==255&&l[M+1]==m);M++)_[g++]=l[M];var p=i[o],b=i[o+1];(p!=255||b!=v)&&(_[g++]=p,_[g++]=b);for(var M=2;M<d;M++)_[g++]=i[o+M]}else for(var M=0;M<d;M++)_[M]=i[o+M];if(n.t262[0]==32803||n.t262[0]==34892){var y=n.t258[0],I=a.LosslessJpegDecode(_),z=I.length;if(y==16)if(n.isLE)for(var M=0;M<z;M++)f[c+(M<<1)]=I[M]&255,f[c+(M<<1)+1]=I[M]>>>8;else for(var M=0;M<z;M++)f[c+(M<<1)]=I[M]>>>8,f[c+(M<<1)+1]=I[M]&255;else if(y==14||y==12)for(var R=16-y,M=0;M<z;M++)a.decode._putsF(f,M*y,I[M]<<R);else throw new Error("unsupported bit depth "+y)}else{var B=new a.JpegDecoder;B.parse(_);for(var Z=B.getData(B.width,B.height),M=0;M<Z.length;M++)f[c+M]=Z[M]}n.t262[0]==6&&(n.t262[0]=2)},a.decode._decodeOldJPEGInit=function(n,i,o,d){var f=216,c=217,l=219,k=196,_=221,v=192,m=218,g=0,M=0,p,b,y=!1,I,z,R,B=n.t513,Z=B?B[0]:0,T=n.t514,x=T?T[0]:0,P=n.t324||n.t273||B,J=n.t530,re=0,Q=0,ae=n.t277?n.t277[0]:1,X=n.t515;if(P&&(M=P[0],y=P.length>1),!y){if(i[o]==255&&i[o+1]==f)return{jpegOffset:o};if(B!=null&&(i[o+Z]==255&&i[o+Z+1]==f?g=o+Z:t("JPEGInterchangeFormat does not point to SOI"),T==null?t("JPEGInterchangeFormatLength field is missing"):(Z>=M||Z+x<=M)&&t("JPEGInterchangeFormatLength field value is invalid"),g!=null))return{jpegOffset:g}}if(J!=null&&(re=J[0],Q=J[1]),B!=null&&T!=null)if(x>=2&&Z+x<=M){for(i[o+Z+x-2]==255&&i[o+Z+x-1]==f?p=new Uint8Array(x-2):p=new Uint8Array(x),I=0;I<p.length;I++)p[I]=i[o+Z+I];t("Incorrect JPEG interchange format: using JPEGInterchangeFormat offset to derive tables")}else t("JPEGInterchangeFormat+JPEGInterchangeFormatLength > offset to first strip or tile");if(p==null){var V=0,H=[];H[V++]=255,H[V++]=f;var A=n.t519;if(A==null)throw new Error("JPEGQTables tag is missing");for(I=0;I<A.length;I++)for(H[V++]=255,H[V++]=l,H[V++]=0,H[V++]=67,H[V++]=I,z=0;z<64;z++)H[V++]=i[o+A[I]+z];for(R=0;R<2;R++){var ge=n[R==0?"t520":"t521"];if(ge==null)throw new Error((R==0?"JPEGDCTables":"JPEGACTables")+" tag is missing");for(I=0;I<ge.length;I++){H[V++]=255,H[V++]=k;var me=19;for(z=0;z<16;z++)me+=i[o+ge[I]+z];for(H[V++]=me>>>8,H[V++]=me&255,H[V++]=I|R<<4,z=0;z<16;z++)H[V++]=i[o+ge[I]+z];for(z=0;z<me;z++)H[V++]=i[o+ge[I]+16+z]}}if(H[V++]=255,H[V++]=v,H[V++]=0,H[V++]=8+3*ae,H[V++]=8,H[V++]=n.height>>>8&255,H[V++]=n.height&255,H[V++]=n.width>>>8&255,H[V++]=n.width&255,H[V++]=ae,ae==1)H[V++]=1,H[V++]=17,H[V++]=0;else for(I=0;I<3;I++)H[V++]=I+1,H[V++]=I!=0?17:(re&15)<<4|Q&15,H[V++]=I;X!=null&&X[0]!=0&&(H[V++]=255,H[V++]=_,H[V++]=0,H[V++]=4,H[V++]=X[0]>>>8&255,H[V++]=X[0]&255),p=new Uint8Array(H)}var u=-1;for(I=0;I<p.length-1;){if(p[I]==255&&p[I+1]==v){u=I;break}I++}if(u==-1){var h=new Uint8Array(p.length+10+3*ae);h.set(p);var De=p.length;if(u=p.length,p=h,p[De++]=255,p[De++]=v,p[De++]=0,p[De++]=8+3*ae,p[De++]=8,p[De++]=n.height>>>8&255,p[De++]=n.height&255,p[De++]=n.width>>>8&255,p[De++]=n.width&255,p[De++]=ae,ae==1)p[De++]=1,p[De++]=17,p[De++]=0;else for(I=0;I<3;I++)p[De++]=I+1,p[De++]=I!=0?17:(re&15)<<4|Q&15,p[De++]=I}if(i[M]==255&&i[M+1]==m){var Ue=i[M+2]<<8|i[M+3];for(b=new Uint8Array(Ue+2),b[0]=i[M],b[1]=i[M+1],b[2]=i[M+2],b[3]=i[M+3],I=0;I<Ue-2;I++)b[I+4]=i[M+I+4]}else{b=new Uint8Array(8+2*ae);var ee=0;if(b[ee++]=255,b[ee++]=m,b[ee++]=0,b[ee++]=6+2*ae,b[ee++]=ae,ae==1)b[ee++]=1,b[ee++]=0;else for(I=0;I<3;I++)b[ee++]=I+1,b[ee++]=I<<4|I;b[ee++]=0,b[ee++]=63,b[ee++]=0}return{jpegOffset:o,tables:p,sosMarker:b,sofPosition:u}},a.decode._decodeOldJPEG=function(n,i,o,d,f,c){var l,k,_,v,m,g=a.decode._decodeOldJPEGInit(n,i,o,d);if(g.jpegOffset!=null)for(k=o+d-g.jpegOffset,v=new Uint8Array(k),l=0;l<k;l++)v[l]=i[g.jpegOffset+l];else{for(_=g.tables.length,v=new Uint8Array(_+g.sosMarker.length+d+2),v.set(g.tables),m=_,v[g.sofPosition+5]=n.height>>>8&255,v[g.sofPosition+6]=n.height&255,v[g.sofPosition+7]=n.width>>>8&255,v[g.sofPosition+8]=n.width&255,(i[o]!=255||i[o+1]!=SOS)&&(v.set(g.sosMarker,m),m+=sosMarker.length),l=0;l<d;l++)v[m++]=i[o+l];v[m++]=255,v[m++]=EOI}var M=new a.JpegDecoder;M.parse(v);for(var p=M.getData(M.width,M.height),l=0;l<p.length;l++)f[c+l]=p[l];n.t262&&n.t262[0]==6&&(n.t262[0]=2)},a.decode._decodePackBits=function(n,i,o,d,f){for(var c=new Int8Array(n.buffer),l=new Int8Array(d.buffer),k=i+o;i<k;){var _=c[i];if(i++,_>=0&&_<128)for(var v=0;v<_+1;v++)l[f]=c[i],f++,i++;if(_>=-127&&_<0){for(var v=0;v<-_+1;v++)l[f]=c[i],f++;i++}}},a.decode._decodeThunder=function(n,i,o,d,f){for(var c=[0,1,0,-1],l=[0,1,2,3,0,-3,-2,-1],k=i+o,_=f*2,v=0;i<k;){var m=n[i],g=m>>>6,M=m&63;if(i++,g==3&&(v=M&15,d[_>>>1]|=v<<4*(1-_&1),_++),g==0)for(var p=0;p<M;p++)d[_>>>1]|=v<<4*(1-_&1),_++;if(g==2)for(var p=0;p<2;p++){var b=M>>>3*(1-p)&7;b!=4&&(v+=l[b],d[_>>>1]|=v<<4*(1-_&1),_++)}if(g==1)for(var p=0;p<3;p++){var b=M>>>2*(2-p)&3;b!=2&&(v+=c[b],d[_>>>1]|=v<<4*(1-_&1),_++)}}},a.decode._dmap={1:0,"011":1,"000011":2,"0000011":3,"010":-1,"000010":-2,"0000010":-3},a.decode._lens=(function(){var n=function(_,v,m,g){for(var M=0;M<v.length;M++)_[v[M]]=m+M*g},i="00110101,000111,0111,1000,1011,1100,1110,1111,10011,10100,00111,01000,001000,000011,110100,110101,101010,101011,0100111,0001100,0001000,0010111,0000011,0000100,0101000,0101011,0010011,0100100,0011000,00000010,00000011,00011010,00011011,00010010,00010011,00010100,00010101,00010110,00010111,00101000,00101001,00101010,00101011,00101100,00101101,00000100,00000101,00001010,00001011,01010010,01010011,01010100,01010101,00100100,00100101,01011000,01011001,01011010,01011011,01001010,01001011,00110010,00110011,00110100",o="0000110111,010,11,10,011,0011,0010,00011,000101,000100,0000100,0000101,0000111,00000100,00000111,000011000,0000010111,0000011000,0000001000,00001100111,00001101000,00001101100,00000110111,00000101000,00000010111,00000011000,000011001010,000011001011,000011001100,000011001101,000001101000,000001101001,000001101010,000001101011,000011010010,000011010011,000011010100,000011010101,000011010110,000011010111,000001101100,000001101101,000011011010,000011011011,000001010100,000001010101,000001010110,000001010111,000001100100,000001100101,000001010010,000001010011,000000100100,000000110111,000000111000,000000100111,000000101000,000001011000,000001011001,000000101011,000000101100,000001011010,000001100110,000001100111",d="11011,10010,010111,0110111,00110110,00110111,01100100,01100101,01101000,01100111,011001100,011001101,011010010,011010011,011010100,011010101,011010110,011010111,011011000,011011001,011011010,011011011,010011000,010011001,010011010,011000,010011011",f="0000001111,000011001000,000011001001,000001011011,000000110011,000000110100,000000110101,0000001101100,0000001101101,0000001001010,0000001001011,0000001001100,0000001001101,0000001110010,0000001110011,0000001110100,0000001110101,0000001110110,0000001110111,0000001010010,0000001010011,0000001010100,0000001010101,0000001011010,0000001011011,0000001100100,0000001100101",c="00000001000,00000001100,00000001101,000000010010,000000010011,000000010100,000000010101,000000010110,000000010111,000000011100,000000011101,000000011110,000000011111";i=i.split(","),o=o.split(","),d=d.split(","),f=f.split(","),c=c.split(",");var l={},k={};return n(l,i,0,1),n(l,d,64,64),n(l,c,1792,64),n(k,o,0,1),n(k,f,64,64),n(k,c,1792,64),[l,k]})(),a.decode._decodeG4=function(n,i,o,d,f,c,l){for(var k=a.decode,_=i<<3,v=0,m="",g=[],M=[],p=0;p<c;p++)M.push(0);M=k._makeDiff(M);for(var b=0,y=0,I=0,z=0,R=0,B=0,Z=0,T="",x=0,P=Math.ceil(c/8)*8;_>>>3<i+o;){z=k._findDiff(M,b+(b==0?0:1),1-B),R=k._findDiff(M,z,B);var J=0;if(l==1&&(J=n[_>>>3]>>>7-(_&7)&1),l==2&&(J=n[_>>>3]>>>(_&7)&1),_++,m+=J,T=="H"){if(k._lens[B][m]!=null){var re=k._lens[B][m];m="",v+=re,re<64&&(k._addNtimes(g,v,B),b+=v,B=1-B,v=0,x--,x==0&&(T=""))}}else m=="0001"&&(m="",k._addNtimes(g,R-b,B),b=R),m=="001"&&(m="",T="H",x=2),k._dmap[m]!=null&&(y=z+k._dmap[m],k._addNtimes(g,y-b,B),b=y,m="",B=1-B);g.length==c&&T==""&&(k._writeBits(g,d,f*8+Z*P),B=0,Z++,b=0,M=k._makeDiff(g),g=[])}},a.decode._findDiff=function(n,i,o){for(var d=0;d<n.length;d+=2)if(n[d]>=i&&n[d+1]==o)return n[d]},a.decode._makeDiff=function(n){var i=[];n[0]==1&&i.push(0,1);for(var o=1;o<n.length;o++)n[o-1]!=n[o]&&i.push(o,n[o]);return i.push(n.length,0,n.length,1),i},a.decode._decodeG3=function(n,i,o,d,f,c,l){for(var k=a.decode,_=i<<3,v=0,m="",g=[],M=[],p=0;p<c;p++)g.push(0);for(var b=0,y=0,I=0,z=0,R=0,B=0,Z=-1,T="",x=0,P=!1,J=Math.ceil(c/8)*8;_>>>3<i+o;){z=k._findDiff(M,b+(b==0?0:1),1-B),R=k._findDiff(M,z,B);var re=0;if(l==1&&(re=n[_>>>3]>>>7-(_&7)&1),l==2&&(re=n[_>>>3]>>>(_&7)&1),_++,m+=re,P){if(k._lens[B][m]!=null){var Q=k._lens[B][m];m="",v+=Q,Q<64&&(k._addNtimes(g,v,B),B=1-B,v=0)}}else if(T=="H"){if(k._lens[B][m]!=null){var Q=k._lens[B][m];m="",v+=Q,Q<64&&(k._addNtimes(g,v,B),b+=v,B=1-B,v=0,x--,x==0&&(T=""))}}else m=="0001"&&(m="",k._addNtimes(g,R-b,B),b=R),m=="001"&&(m="",T="H",x=2),k._dmap[m]!=null&&(y=z+k._dmap[m],k._addNtimes(g,y-b,B),b=y,m="",B=1-B);m.endsWith("000000000001")&&(Z>=0&&k._writeBits(g,d,f*8+Z*J),l==1&&(P=(n[_>>>3]>>>7-(_&7)&1)==1),l==2&&(P=(n[_>>>3]>>>(_&7)&1)==1),_++,k._decodeG3.allow2D==null&&(k._decodeG3.allow2D=P),k._decodeG3.allow2D||(P=!0,_--),m="",B=0,Z++,b=0,M=k._makeDiff(g),g=[])}g.length==c&&k._writeBits(g,d,f*8+Z*J)},a.decode._addNtimes=function(n,i,o){for(var d=0;d<i;d++)n.push(o)},a.decode._writeBits=function(n,i,o){for(var d=0;d<n.length;d++)i[o+d>>>3]|=n[d]<<7-(o+d&7)},a.decode._decodeLZW=function(n,i,o,d){if(a.decode._lzwTab==null){for(var f=new Uint32Array(65535),c=new Uint16Array(65535),m=new Uint8Array(2e6),l=0;l<256;l++)m[l<<2]=l,f[l]=l<<2,c[l]=1;a.decode._lzwTab=[f,c,m]}for(var k=a.decode._copyData,_=a.decode._lzwTab[0],v=a.decode._lzwTab[1],m=a.decode._lzwTab[2],g=258,M=1032,p=9,b=i<<3,y=256,I=257,z=0,R=0,B=0;z=n[b>>>3]<<16|n[b+8>>>3]<<8|n[b+16>>>3],R=z>>24-(b&7)-p&(1<<p)-1,b+=p,R!=I;){if(R==y){if(p=9,g=258,M=1032,z=n[b>>>3]<<16|n[b+8>>>3]<<8|n[b+16>>>3],R=z>>24-(b&7)-p&(1<<p)-1,b+=p,R==I)break;o[d]=R,d++}else if(R<g){var Z=_[R],T=v[R];if(k(m,Z,o,d,T),d+=T,B>=g)_[g]=M,m[_[g]]=Z[0],v[g]=1,M=M+1+3&-4,g++;else{_[g]=M;var x=_[B],P=v[B];k(m,x,m,M,P),m[M+P]=m[Z],P++,v[g]=P,g++,M=M+P+3&-4}g+1==1<<p&&p++}else{if(B>=g)_[g]=M,v[g]=0,g++;else{_[g]=M;var x=_[B],P=v[B];k(m,x,m,M,P),m[M+P]=m[M],P++,v[g]=P,g++,k(m,M,o,d,P),d+=P,M=M+P+3&-4}g+1==1<<p&&p++}B=R}},a.decode._copyData=function(n,i,o,d,f){for(var c=0;c<f;c+=4)o[d+c]=n[i+c],o[d+c+1]=n[i+c+1],o[d+c+2]=n[i+c+2],o[d+c+3]=n[i+c+3]},a.tags={},a.ttypes={256:3,257:3,258:3,259:3,262:3,273:4,274:3,277:3,278:4,279:4,282:5,283:5,284:3,286:5,287:5,296:3,305:2,306:2,338:3,513:4,514:4,34665:4},a._readIFD=function(n,i,o,d,f,c){var l=n.readUshort(i,o);o+=2;var k={};d.push(k),c&&t(" ".repeat(f),d.length-1,">>>----------------");for(var _=0;_<l;_++){var v=n.readUshort(i,o);o+=2;var m=n.readUshort(i,o);o+=2;var g=n.readUint(i,o);o+=4;var M=n.readUint(i,o);o+=4;var p=[];if((m==1||m==7)&&(p=new Uint8Array(i.buffer,g<5?o-4:M,g)),m==2){var b=g<5?o-4:M,y=i[b];y<128?p.push(n.readASCII(i,b,g-1)):p=new Uint8Array(i.buffer,b,g-1)}if(m==3)for(var I=0;I<g;I++)p.push(n.readUshort(i,(g<3?o-4:M)+2*I));if(m==4)for(var I=0;I<g;I++)p.push(n.readUint(i,(g<2?o-4:M)+4*I));if(m==5)for(var I=0;I<g;I++)p.push(n.readUint(i,M+I*8)/n.readUint(i,M+I*8+4));if(m==8)for(var I=0;I<g;I++)p.push(n.readShort(i,(g<3?o-4:M)+2*I));if(m==9)for(var I=0;I<g;I++)p.push(n.readInt(i,(g<2?o-4:M)+4*I));if(m==10)for(var I=0;I<g;I++)p.push(n.readInt(i,M+I*8)/n.readInt(i,M+I*8+4));if(m==11)for(var I=0;I<g;I++)p.push(n.readFloat(i,M+I*4));if(m==12)for(var I=0;I<g;I++)p.push(n.readDouble(i,M+I*8));if(k["t"+v]=p,g!=0&&p.length==0&&t("unknown TIFF tag type: ",m,"num:",g),c&&t(" ".repeat(f),v,m,a.tags[v],p),!(v==330&&k.t272&&k.t272[0]=="DSLR-A100")){if(v==330||v==34665||v==50740&&n.readUshort(i,n.readUint(p,0))<300){for(var z=v==50740?[n.readUint(p,0)]:p,R=[],I=0;I<z.length;I++)a._readIFD(n,i,z[I],R,f+1,c);v==330&&(k.subIFD=R),v==34665&&(k.exifIFD=R[0]),v==50740&&(k.dngPrvt=R[0])}}if(v==37500){var B=p;if(n.readASCII(B,0,5)=="Nikon")k.makerNote=a.decode(B.slice(10).buffer)[0];else if(n.readUshort(i,M)<300){var Z=[];a._readIFD(n,i,M,Z,f+1,c),k.makerNote=Z[0]}}}return c&&t(" ".repeat(f),"<<<---------------"),o},a._writeIFD=function(n,i,o,d){var f=Object.keys(d);n.writeUshort(i,o,f.length),o+=2;for(var c=o+f.length*12+4,l=0;l<f.length;l++){var k=f[l],_=parseInt(k.slice(1)),v=a.ttypes[_];if(v==null)throw new Error("unknown type of tag: "+_);var m=d[k];v==2&&(m=m[0]+"\0");var g=m.length;n.writeUshort(i,o,_),o+=2,n.writeUshort(i,o,v),o+=2,n.writeUint(i,o,g),o+=4;var M=[-1,1,1,2,4,8,0,0,0,0,0,0,8][v]*g,p=o;if(M>4&&(n.writeUint(i,o,c),p=c),v==2&&n.writeASCII(i,p,m),v==3)for(var b=0;b<g;b++)n.writeUshort(i,p+2*b,m[b]);if(v==4)for(var b=0;b<g;b++)n.writeUint(i,p+4*b,m[b]);if(v==5)for(var b=0;b<g;b++)n.writeUint(i,p+8*b,Math.round(m[b]*1e4)),n.writeUint(i,p+8*b+4,1e4);if(v==12)for(var b=0;b<g;b++)n.writeDouble(i,p+8*b,m[b]);M>4&&(M+=M&1,c+=M),o+=4}return[o,c]},a.toRGBA8=function(n){var i=n.width,o=n.height,d=i*o,f=d*4,c=n.data,l=new Uint8Array(d*4),k=n.t262?n.t262[0]:2,_=n.t258?Math.min(32,n.t258[0]):1;if(k==0)for(var v=Math.ceil(_*i/8),m=0;m<o;m++){var g=m*v,M=m*i;if(_==1)for(var p=0;p<i;p++){var b=M+p<<2,y=c[g+(p>>3)]>>7-(p&7)&1;l[b]=l[b+1]=l[b+2]=(1-y)*255,l[b+3]=255}if(_==4)for(var p=0;p<i;p++){var b=M+p<<2,y=c[g+(p>>1)]>>4-4*(p&1)&15;l[b]=l[b+1]=l[b+2]=(15-y)*17,l[b+3]=255}if(_==8)for(var p=0;p<i;p++){var b=M+p<<2,y=c[g+p];l[b]=l[b+1]=l[b+2]=255-y,l[b+3]=255}}else if(k==1)for(var v=Math.ceil(_*i/8),m=0;m<o;m++){var g=m*v,M=m*i;if(_==1)for(var p=0;p<i;p++){var b=M+p<<2,y=c[g+(p>>3)]>>7-(p&7)&1;l[b]=l[b+1]=l[b+2]=y*255,l[b+3]=255}if(_==2)for(var p=0;p<i;p++){var b=M+p<<2,y=c[g+(p>>2)]>>6-2*(p&3)&3;l[b]=l[b+1]=l[b+2]=y*85,l[b+3]=255}if(_==8)for(var p=0;p<i;p++){var b=M+p<<2,y=c[g+p];l[b]=l[b+1]=l[b+2]=y,l[b+3]=255}if(_==16)for(var p=0;p<i;p++){var b=M+p<<2,y=c[g+(2*p+1)];l[b]=l[b+1]=l[b+2]=Math.min(255,y),l[b+3]=255}}else if(k==2){var I=n.t258?n.t258.length:3;if(_==8){if(I==4)for(var p=0;p<f;p++)l[p]=c[p];if(I==3)for(var p=0;p<d;p++){var b=p<<2,z=p*3;l[b]=c[z],l[b+1]=c[z+1],l[b+2]=c[z+2],l[b+3]=255}}else{if(I==4)for(var p=0;p<d;p++){var b=p<<2,z=p*8+1;l[b]=c[z],l[b+1]=c[z+2],l[b+2]=c[z+4],l[b+3]=c[z+6]}if(I==3)for(var p=0;p<d;p++){var b=p<<2,z=p*6+1;l[b]=c[z],l[b+1]=c[z+2],l[b+2]=c[z+4],l[b+3]=255}}}else if(k==3)for(var R=n.t320,p=0;p<d;p++){var b=p<<2,B=c[p];l[b]=R[B]>>8,l[b+1]=R[256+B]>>8,l[b+2]=R[512+B]>>8,l[b+3]=255}else if(k==5)for(var I=n.t258?n.t258.length:4,Z=I>4?1:0,p=0;p<d;p++){var b=p<<2,T=p*I,x=255-c[T],P=255-c[T+1],J=255-c[T+2],re=(255-c[T+3])*(1/255);l[b]=~~(x*re+.5),l[b+1]=~~(P*re+.5),l[b+2]=~~(J*re+.5),l[b+3]=255*(1-Z)+c[T+4]*Z}else t("Unknown Photometric interpretation: "+k);return l},a.replaceIMG=function(n){n==null&&(n=document.getElementsByTagName("img"));for(var i=["tif","tiff","dng","cr2","nef"],o=0;o<n.length;o++){var d=n[o],f=d.getAttribute("src");if(f!=null){var c=f.split(".").pop().toLowerCase();if(i.indexOf(c)!=-1){var l=new XMLHttpRequest;a._xhrs.push(l),a._imgs.push(d),l.open("GET",f),l.responseType="arraybuffer",l.onload=a._imgLoaded,l.send()}}}},a._xhrs=[],a._imgs=[],a._imgLoaded=function(n){var i=n.target.response,o=a.decode(i),d=o,f=0,c=d[0];o[0].subIFD&&(d=d.concat(o[0].subIFD));for(var l=0;l<d.length;l++){var M=d[l];if(!(M.t258==null||M.t258.length<3)){var k=M.t256*M.t257;k>f&&(f=k,c=M)}}a.decodeImage(i,c,o);var _=a.toRGBA8(c),v=c.width,m=c.height,g=a._xhrs.indexOf(n.target),M=a._imgs[g];a._xhrs.splice(g,1),a._imgs.splice(g,1);var p=document.createElement("canvas");p.width=v,p.height=m;for(var b=p.getContext("2d"),y=b.createImageData(v,m),l=0;l<_.length;l++)y.data[l]=_[l];b.putImageData(y,0,0),M.setAttribute("src",p.toDataURL())},a._binBE={nextZero:function(n,i){for(;n[i]!=0;)i++;return i},readUshort:function(n,i){return n[i]<<8|n[i+1]},readShort:function(n,i){var o=a._binBE.ui8;return o[0]=n[i+1],o[1]=n[i+0],a._binBE.i16[0]},readInt:function(n,i){var o=a._binBE.ui8;return o[0]=n[i+3],o[1]=n[i+2],o[2]=n[i+1],o[3]=n[i+0],a._binBE.i32[0]},readUint:function(n,i){var o=a._binBE.ui8;return o[0]=n[i+3],o[1]=n[i+2],o[2]=n[i+1],o[3]=n[i+0],a._binBE.ui32[0]},readASCII:function(n,i,o){for(var d="",f=0;f<o;f++)d+=String.fromCharCode(n[i+f]);return d},readFloat:function(n,i){for(var o=a._binBE.ui8,d=0;d<4;d++)o[d]=n[i+3-d];return a._binBE.fl32[0]},readDouble:function(n,i){for(var o=a._binBE.ui8,d=0;d<8;d++)o[d]=n[i+7-d];return a._binBE.fl64[0]},writeUshort:function(n,i,o){n[i]=o>>8&255,n[i+1]=o&255},writeUint:function(n,i,o){n[i]=o>>24&255,n[i+1]=o>>16&255,n[i+2]=o>>8&255,n[i+3]=o>>0&255},writeASCII:function(n,i,o){for(var d=0;d<o.length;d++)n[i+d]=o.charCodeAt(d)},writeDouble:function(n,i,o){a._binBE.fl64[0]=o;for(var d=0;d<8;d++)n[i+d]=a._binBE.ui8[7-d]}},a._binBE.ui8=new Uint8Array(8),a._binBE.i16=new Int16Array(a._binBE.ui8.buffer),a._binBE.i32=new Int32Array(a._binBE.ui8.buffer),a._binBE.ui32=new Uint32Array(a._binBE.ui8.buffer),a._binBE.fl32=new Float32Array(a._binBE.ui8.buffer),a._binBE.fl64=new Float64Array(a._binBE.ui8.buffer),a._binLE={nextZero:a._binBE.nextZero,readUshort:function(n,i){return n[i+1]<<8|n[i]},readShort:function(n,i){var o=a._binBE.ui8;return o[0]=n[i+0],o[1]=n[i+1],a._binBE.i16[0]},readInt:function(n,i){var o=a._binBE.ui8;return o[0]=n[i+0],o[1]=n[i+1],o[2]=n[i+2],o[3]=n[i+3],a._binBE.i32[0]},readUint:function(n,i){var o=a._binBE.ui8;return o[0]=n[i+0],o[1]=n[i+1],o[2]=n[i+2],o[3]=n[i+3],a._binBE.ui32[0]},readASCII:a._binBE.readASCII,readFloat:function(n,i){for(var o=a._binBE.ui8,d=0;d<4;d++)o[d]=n[i+d];return a._binBE.fl32[0]},readDouble:function(n,i){for(var o=a._binBE.ui8,d=0;d<8;d++)o[d]=n[i+d];return a._binBE.fl64[0]}},a._copyTile=function(n,i,o,d,f,c,l,k){for(var _=Math.min(i,f-l),v=Math.min(o,c-k),m=0;m<v;m++)for(var g=(k+m)*f+l,M=m*i,p=0;p<_;p++)d[g+p]=n[M+p]},a.LosslessJpegDecode=(function(){function n(f){this.w=f,this.N=0,this._=0,this.G=0}n.prototype={t:function(f){this.N=Math.max(0,Math.min(this.w.length,f))},i:function(){return this.w[this.N++]},l:function(){var f=this.N;return this.N+=2,this.w[f]<<8|this.w[f+1]},J:function(){return this._==0&&(this.G=this.w[this.N],this.N+=1+(this.G+1>>>8),this._=8),this.G>>>--this._&1},Z:function(f){var c=this._,l=this.G,k=Math.min(c,f);f-=k,c-=k;for(var _=l>>>c&(1<<k)-1;f>0;)l=this.w[this.N],this.N+=1+(l+1>>>8),k=Math.min(8,f),f-=k,c=8-k,_<<=k,_|=l>>>c&(1<<k)-1;return this._=c,this.G=l,_}};var i={};i.X=function(){return[0,0,-1]},i.s=function(f,c,l){f[i.Y(f,0,l)+2]=c},i.Y=function(f,c,l){if(f[c+2]!=-1)return 0;if(l==0)return c;for(var k=0;k<2;k++){f[c+k]==0&&(f[c+k]=f.length,f.push(0),f.push(0),f.push(-1));var _=i.Y(f,f[c+k],l-1);if(_!=0)return _}return 0},i.B=function(f,c){for(var l=0,k=0,_=0,v=c._,m=c.G,g=c.N;;)if(v==0&&(m=c.w[g],g+=1+(m+1>>>8),v=8),_=m>>>--v&1,l=f[l+_],k=f[l+2],k!=-1)return c._=v,c.G=m,c.N=g,k;return-1};function o(f){this.z=new n(f),this.D(this.z)}o.prototype={$:function(f,c){this.Q=f.i(),this.F=f.l(),this.o=f.l();var l=this.O=f.i();this.L=[];for(var k=0;k<l;k++){var _=f.i(),v=f.i();f.i(),this.L[_]=k}f.t(f.N+c-(6+l*3))},e:function(){var f=0,c=this.z.i();this.H==null&&(this.H={});for(var l=this.H[c]=i.X(),k=[],_=0;_<16;_++)k[_]=this.z.i(),f+=k[_];for(var _=0;_<16;_++)for(var v=0;v<k[_];v++)i.s(l,this.z.i(),_+1);return f+17},W:function(f){for(;f>0;)f-=this.e()},p:function(f,c){var l=f.i();this.U||(this.U=[]);for(var k=0;k<l;k++){var _=f.i(),v=f.i();this.U[this.L[_]]=this.H[v>>>4]}this.g=f.i(),f.t(f.N+c-(2+l*2))},D:function(f){var c=!1,l=f.l();if(l===o.q)do{var l=f.l(),k=f.l()-2;switch(l){case o.m:this.$(f,k);break;case o.K:this.W(k);break;case o.V:this.p(f,k),c=!0;break;default:f.t(f.N+k);break}}while(!c)},I:function(f,c){var l=i.B(c,f);if(l==16)return-32768;var k=f.Z(l);return(k&1<<l-1)==0&&(k-=(1<<l)-1),k},B:function(f,c){for(var l=this.z,k=this.O,_=this.F,v=this.I,m=this.g,g=this.o*k,M=this.U,p=0;p<k;p++)f[p]=v(l,M[p])+(1<<this.Q-1);for(var b=k;b<g;b+=k)for(var p=0;p<k;p++)f[b+p]=v(l,M[p])+f[b+p-k];for(var y=c,I=1;I<_;I++){for(var p=0;p<k;p++)f[y+p]=v(l,M[p])+f[y+p-c];for(var b=k;b<g;b+=k)for(var p=0;p<k;p++){var z=y+b+p,R=f[z-k];m==6&&(R=f[z-c]+(R-f[z-k-c]>>>1)),f[z]=R+v(l,M[p])}y+=c}}},o.m=65475,o.K=65476,o.q=65496,o.V=65498;function d(f){var c=new o(f),l=c.Q>8?Uint16Array:Uint8Array,k=new l(c.o*c.F*c.O),_=c.o*c.O;return c.B(k,_),k}return d})()})(e,r)})()});var U5=Ph(cm(),1);var of=e=>e==null?[]:Array.isArray(e)?e:[e],ff=e=>e!=null&&String(e).trim()!==""&&Number.isFinite(Number(e))?Number(e):void 0,Th=e=>{var s,n;let r=(s=e==null?void 0:e["a:off"])==null?void 0:s.attrs,t=(n=e==null?void 0:e["a:ext"])==null?void 0:n.attrs,a={x:ff(r==null?void 0:r.x),y:ff(r==null?void 0:r.y),w:ff(t==null?void 0:t.cx),h:ff(t==null?void 0:t.cy)};return Object.values(a).every(i=>i!==void 0&&Math.abs(i)<2147483648)&&a.w>0&&a.h>0?a:void 0},gb=(e,r)=>e&&r&&["x","y","w","h"].every(t=>Math.abs(e[t]-r[t])<1),dm=e=>!["rot","flipH","flipV"].some(r=>{var t;return((t=e==null?void 0:e.attrs)==null?void 0:t[r])&&!["0","false"].includes(String(e.attrs[r]))}),Ih=e=>{var r;return(r=e==null?void 0:e.attrs)==null?void 0:r.name};function hm(e,r,t){var z,R,B,Z,T,x,P,J,re,Q;let a=new Map,s=r==null?void 0:r["dgm:dataModel"],n=(z=t==null?void 0:t["dgm:layoutDef"])==null?void 0:z["dgm:layoutNode"];if(!s||!n||((B=(R=n["dgm:alg"])==null?void 0:R.attrs)==null?void 0:B.type)!=="composite")return a;let i=of((Z=s["dgm:ptLst"])==null?void 0:Z["dgm:pt"]),o=of((T=s["dgm:cxnLst"])==null?void 0:T["dgm:cxn"]);if(i.length>1e4||o.length>2e4||e.length>1e4)return a;let d=i.filter(ae=>{var X;return((X=ae.attrs)==null?void 0:X.type)==="doc"});if(d.length!==1)return a;let f=new Map(i.map(ae=>{var X;return[(X=ae.attrs)==null?void 0:X.modelId,ae]})),c=new Set(o.filter(ae=>{var H;let X=ae.attrs,V=(H=f.get(X==null?void 0:X.destId))==null?void 0:H.attrs;return(X==null?void 0:X.srcId)===d[0].attrs.modelId&&(!X.type||X.type==="parOf")&&V&&(!V.type||V.type==="node")}).map(ae=>ae.attrs.destId));if(!c.size)return a;let l=c.size,k=new Map,_=[],v=new Map,m=0,g=!1,M=ae=>{let X=ae.attrs||{};if(X.func!=="cnt"||X.axis!=="ch"||X.ptType&&X.ptType!=="node")return;let V=ff(X.val);if(V!==void 0)switch(X.op){case"equ":return l===V;case"neq":return l!==V;case"gt":return l>V;case"gte":return l>=V;case"lt":return l<V;case"lte":return l<=V;default:return}},p=(ae,X=0,V=!0)=>{var H,A,ge,me,u;if(!(!ae||typeof ae!="object")){if(++m>1e4||X>48){g=!0;return}if(V)for(let h of of((H=ae["dgm:constrLst"])==null?void 0:H["dgm:constr"])){let De=h.attrs||{};if(De.for!=="ch"||!De.forName||!["l","t","r","b","w","h"].includes(De.type))continue;let Ue=k.get(De.forName)||new Map;Ue.has(De.type)?Ue.set(De.type,null):Ue.set(De.type,De),k.set(De.forName,Ue)}for(let h of of(ae["dgm:choose"])){let De,Ue=!1;for(let ee of of(h["dgm:if"])){let fe=M(ee);if(fe===void 0){Ue=!0;break}if(fe){De=ee;break}}Ue||p(De||h["dgm:else"],X+1,V)}for(let h of of(ae["dgm:layoutNode"])){let De=Ih(h);De&&(v.has(De)?v.set(De,null):v.set(De,h));let Ue=(ge=(A=h["dgm:alg"])==null?void 0:A.attrs)==null?void 0:ge.type,ee=(me=h["dgm:shape"])==null?void 0:me.attrs;De&&((u=h.attrs)!=null&&u.moveWith)&&Ue==="tx"&&["1","true"].includes(String(ee==null?void 0:ee.hideGeom))&&(ee==null?void 0:ee.type)==="rect"&&_.push(h),p(h,X+1,!1)}}};if(p(n),g)return a;let b=(ae,X,V)=>{if(!ae||ae.op&&ae.op!=="equ"||ae.refFor&&ae.refFor!=="self"||ae.refForName||ae.refPtType||!["w","h"].includes(ae.refType))return;let H=ff(ae.fact);if(!(H===void 0||Math.abs(H)>16))return H*(ae.refType==="w"?X:V)},y=(ae,X,V)=>{var h,De;if(!ae)return;let H=Object.fromEntries([...ae].map(([Ue,ee])=>[Ue,b(ee,X,V)])),A=H.w,ge=H.h;if(!(A>0&&ge>0))return;let me=(h=H.l)!=null?h:H.r===void 0?void 0:H.r-A,u=(De=H.t)!=null?De:H.b===void 0?void 0:H.b-ge;return me!==void 0&&u!==void 0?{x:me,y:u,w:A,h:ge}:void 0},I=new Map;for(let ae of o){let X=ae.attrs;if((X==null?void 0:X.type)==="presOf"){let V=I.get(X.destId)||new Set;V.add(X.srcId),I.set(X.destId,V)}}for(let ae of e){let X=(x=ae.attrs)==null?void 0:x.modelId,V=f.get(X),H=(J=(P=V==null?void 0:V["dgm:prSet"])==null?void 0:P.attrs)==null?void 0:J.presName,A=(re=ae["p:spPr"])==null?void 0:re["a:xfrm"],ge=ae["p:txXfrm"],me=Th(A),u=Th(ge);if(!H||!me||!dm(A)||!dm(ge)||u&&!gb(me,u))continue;let h=_.filter(E=>E.attrs.moveWith===H&&v.get(Ih(E))===E);if(h.length!==1)continue;let De=Ih(h[0]),Ue=i.filter(E=>{var Be,We;return((We=(Be=E["dgm:prSet"])==null?void 0:Be.attrs)==null?void 0:We.presName)===De});if(Ue.length!==1)continue;let ee=I.get(X),fe=I.get((Q=Ue[0].attrs)==null?void 0:Q.modelId);if(!ee||!fe||![...ee].some(E=>fe.has(E)))continue;let oe=k.get(H),kt=k.get(De),dt=oe==null?void 0:oe.get("w"),S=oe==null?void 0:oe.get("h");if((dt==null?void 0:dt.refType)!=="w"||(S==null?void 0:S.refType)!=="h")continue;let Ee=b(dt,1,1),pe=b(S,1,1);if(!(Ee>0&&pe>0))continue;let Y=me.w/Ee,N=me.h/pe;if(!Number.isFinite(Y+N)||Y>2147483647||N>2147483647)continue;let j=y(oe,Y,N),be=y(kt,Y,N);if(!j||!be)continue;let Le={x:me.x+be.x-j.x,y:me.y+be.y-j.y,w:be.w,h:be.h};Object.values(Le).every(E=>Number.isFinite(E)&&Math.abs(E)<2147483648)&&a.set(X,{"a:off":{attrs:{x:String(Le.x),y:String(Le.y)}},"a:ext":{attrs:{cx:String(Le.w),cy:String(Le.h)}}})}return a}function yh(e,r){if(!e)return r;let t={...r,...e,"a:off":e["a:off"]||(r==null?void 0:r["a:off"]),"a:ext":e["a:ext"]||(r==null?void 0:r["a:ext"])};return Th(t)?t:r}function Qc(e,r,t){var d,f;let a=[e,r,t].map(c=>c==null?void 0:c["a:bodyPr"]).filter(Boolean),s=(c,l)=>{var k;for(let _ of a){let v=(k=_.attrs)==null?void 0:k[c];if(v===void 0)continue;let m=Number(v);return String(v).trim()&&Number.isFinite(m)&&m>=0&&m<=2147483647?m:l}return l},n="none",i=1;for(let c of a){if(c["a:noAutofit"]!==void 0)break;if(c["a:spAutoFit"]!==void 0){n="shape";break}if(c["a:normAutofit"]!==void 0){n="normal";let l=(f=(d=c["a:normAutofit"])==null?void 0:d.attrs)==null?void 0:f.fontScale,k=typeof l=="string"&&l.endsWith("%")?Number(l.slice(0,-1))/100:Number(l)/1e5;l!==void 0&&Number.isFinite(k)&&k>0&&k<=1&&(i=k);break}}let o=a.map(c=>{var l;return(l=c.attrs)==null?void 0:l.wrap}).find(c=>c!==void 0);return{left:s("lIns",91440),right:s("rIns",91440),top:s("tIns",45720),bottom:s("bIns",45720),autofit:n,fontScale:i,wrap:o==="none"?"none":"square"}}var Fc=e=>e==null?[]:Array.isArray(e)?e:[e],pm=e=>/^(?:0|[0-9]+)$/.test(String(e!=null?e:""))&&Number(e)<=4294967295?String(Number(e)):void 0;function vm(e){return Object.entries(e||{}).filter(([r])=>r!=="attrs").flatMap(([r,t])=>Fc(t).filter(a=>a&&typeof a=="object").map(a=>[r,a])).sort((r,t)=>{var a,s;return(Number((a=r[1].attrs)==null?void 0:a.order)||0)-(Number((s=t[1].attrs)==null?void 0:s.order)||0)})}function wh(e,r){var s;let t=[["",e]],a=1e5;for(;t.length&&a-- >0;){let[n,i]=t.pop();!i||typeof i!="object"||((s=i.attrs)==null?void 0:s.nodeType)==="interactiveSeq"||r(n,i)!==!1&&t.push(...vm(i).reverse())}return t.length===0}function mm(e){var n,i;let r=[];if(!wh((i=(n=e==null?void 0:e["p:sld"])==null?void 0:n["p:timing"])==null?void 0:i["p:tnLst"],(o,d)=>{var f;if(((f=d.attrs)==null?void 0:f.nodeType)==="mainSeq")return r.push(d),!1})||r.length!==1)return new Set;let a=!1;if(!wh(r[0],(o,d)=>{var f,c;(((f=d.attrs)==null?void 0:f.repeatCount)!=null||((c=d.attrs)==null?void 0:c.repeatDur)!=null)&&(a=!0)})||a)return new Set;let s=new Map;for(let[,o]of vm(r[0]["p:childTnLst"])){let d=new Map;if(!wh(o,(f,c)=>{var p,b,y,I,z,R,B,Z;if(f!=="p:set")return;let l=c["p:cBhvr"],k=(p=l==null?void 0:l["p:tgtEl"])==null?void 0:p["p:spTgt"],_=pm((b=k==null?void 0:k.attrs)==null?void 0:b.spid),v=Fc((y=l==null?void 0:l["p:attrNameLst"])==null?void 0:y["p:attrName"]);if(_===void 0||!v.includes("style.visibility"))return;let m=(R=(z=(I=c["p:to"])==null?void 0:I["p:strVal"])==null?void 0:z.attrs)==null?void 0:R.val,M=Object.keys(k).every(T=>T==="attrs")&&Object.keys(k.attrs||{}).every(T=>T==="spid"||T==="order"||T==="xmlns"||T.startsWith("xmlns:"))&&["hold","freeze"].includes((Z=(B=l==null?void 0:l["p:cTn"])==null?void 0:B.attrs)==null?void 0:Z.fill)&&["visible","hidden"].includes(m)?m:void 0;d.set(_,d.has(_)&&d.get(_)!==M?void 0:M)}))return new Set;for(let[f,c]of d)s.set(f,c)}return new Set([...s].filter(([,o])=>o==="hidden").map(([o])=>o))}function _m(e,r){let t=pm(r);return t!==void 0&&!!(e!=null&&e.has(t))}function bm(e){let r=[];for(let[t,a]of Object.entries(e||{}))if(["a:r","a:fld","a:br"].includes(t))for(let s of Fc(a))!s||typeof s!="object"||r.push(t==="a:fld"?{...s,"a:fld":s}:t==="a:br"?{...s,type:"br"}:s);return r.sort((t,a)=>{var s,n;return(Number((s=t.attrs)==null?void 0:s.order)||0)-(Number((n=a.attrs)==null?void 0:n.order)||0)})}function Lm(e){let r=String(e!=null?e:"").trim();if(!/^[+-]?\d+$/.test(r))return 1;let t=Number(r);return Number.isInteger(t)&&t>=-2147483648&&t<=2147483647?t:1}function kb(e){if(typeof e!="string"&&typeof e!="number")return;let r=/^\+?(\d+(?:\.\d*)?|\.\d+)(%)?$/.exec(String(e).trim());if(!r)return;let t=Number(r[1])/(r[2]?100:1e5);return Number.isFinite(t)?t:void 0}function gm(e,r){let t=Fc(e==null?void 0:e["a:alphaModFix"]).map(i=>{var o;return kb((o=i==null?void 0:i.attrs)==null?void 0:o.amt)}).filter(i=>i!==void 0),a=(e==null?void 0:e["a:duotone"])!=null?["grayscale(1)"]:[],s="",n="";if(t.some(i=>i>1)){let i=String(r).replace(/[^a-zA-Z0-9_-]/g,"_");n=`<svg xmlns="http://www.w3.org/2000/svg" width="0" height="0" aria-hidden="true" style="position:absolute;pointer-events:none;"><defs><filter id="${i}" x="0" y="0" width="100%" height="100%" color-interpolation-filters="sRGB">`+t.map(o=>`<feComponentTransfer><feFuncA type="linear" slope="${o}" intercept="0"/></feComponentTransfer>`).join("")+"</filter></defs></svg>",a.unshift(`url(#${i})`)}else t.length&&(s+=`opacity:${t.reduce((i,o)=>i*o,1)};`);return a.length&&(s+=`filter:${a.join(" ")};`),{style:s,definitions:n}}var km=e=>e==null?[]:Array.isArray(e)?e:[e];function Mm(e,r,t){var n,i,o;let a=[];for(let d of km((n=e==null?void 0:e["a:extLst"])==null?void 0:n["a:ext"]))for(let[f,c]of Object.entries(d||{}))if(f.split(":").pop()==="svgBlip")for(let l of km(c))a.push((i=l==null?void 0:l.attrs)==null?void 0:i["r:embed"]);a.push((o=e==null?void 0:e.attrs)==null?void 0:o["r:embed"]);let s=[];for(let d of new Set(a)){if(typeof d!="string"||!Object.prototype.hasOwnProperty.call(r||{},d))continue;let f=r[d],c=f==null?void 0:f.target;if(f!=null&&f.external||typeof c!="string"||!c||/^(?:[a-z][a-z0-9+.-]*:|\/\/|#)/i.test(c)||f.type&&f.type!=="image"&&!f.type.endsWith("/image"))continue;let l=t.file(c);l&&s.push({target:c,entry:l})}return s}var Mb=new Map([["{5C22544A-7EE6-4342-B048-85BDC9FD1C3A}","accent1"],["{21E4AEA4-8DFA-4A89-87EB-49C32662AFE0}","accent2"],["{F5AB1C69-6EDB-4FF4-983F-18BD219EF322}","accent3"],["{00A15C55-8517-42AA-B614-E9B94910E393}","accent4"],["{7DF18680-E054-41AD-8BC1-D1AEF772440D}","accent5"],["{93296810-A885-4BE3-A3E7-6D5BEEA58F35}","accent6"]]);function Em(e){let r=Mb.get(String(e||"").trim().toUpperCase());if(!r)return;let t=(d,f)=>({"a:schemeClr":{attrs:{val:d},...f===void 0?{}:{"a:tint":{attrs:{val:String(f)}}}}}),a=(d=12700)=>({"a:ln":{attrs:{w:String(d),cmpd:"sng"},"a:solidFill":t("lt1")}}),s=d=>({"a:solidFill":t(r,d)}),n=(d,f=!1)=>({...f?{attrs:{b:"on"}}:{},"a:fontRef":{attrs:{idx:"minor"},"a:prstClr":{attrs:{val:"black"}}},...t(d)}),i=()=>({"a:tcStyle":{"a:tcBdr":{},"a:fill":s(4e4)}}),o=d=>({"a:tcTxStyle":n("lt1",!0),"a:tcStyle":{"a:fill":s(),"a:tcBdr":d?{[`a:${d}`]:a(38100)}:{}}});return{attrs:{styleId:e,styleName:`Medium Style 2 - ${r}`},"a:wholeTbl":{"a:tcTxStyle":n("dk1"),"a:tcStyle":{"a:fill":s(2e4),"a:tcBdr":Object.fromEntries(["left","right","top","bottom","insideH","insideV"].map(d=>[`a:${d}`,a()]))}},"a:band1H":i(),"a:band2H":{"a:tcStyle":{"a:tcBdr":{}}},"a:band1V":i(),"a:band2V":{"a:tcStyle":{"a:tcBdr":{}}},"a:firstCol":o(),"a:lastCol":o(),"a:firstRow":o("bottom"),"a:lastRow":o("top")}}var qc=e=>e==null?[]:Array.isArray(e)?e:[e],Pm=e=>{var t;let r=new Map;for(let a of qc(e==null?void 0:e["c:pt"])){let s=(t=a==null?void 0:a.attrs)==null?void 0:t.idx,n=typeof s=="number"||/^\d+$/.test(String(s))?Number(s):NaN;if(Number.isSafeInteger(n)&&n>=0){let i=a["c:v"];r.set(n,i!=null&&typeof i=="object"?"":i)}}return r},Sm=e=>{var t;let r=(t=e==null?void 0:e["c:multiLvlStrRef"])==null?void 0:t["c:multiLvlStrCache"];return r?qc(r["c:lvl"]).map(Pm):void 0},Im=(e,r)=>[...e].reverse().map((t,a)=>{if(t.has(r))return t.get(r);if(a===e.length-1)return"";let s=[...t.keys()].filter(n=>n<=r).sort((n,i)=>i-n)[0];return s===void 0?"":t.get(s)}).filter(t=>t!=null&&t!=="").join(" / "),Eo=e=>{var a,s,n,i,o;let r=Sm(e);if(r){let d=new Set(r.flatMap(f=>[...f.keys()]));return new Map([...d].map(f=>[f,Im(r,f)]))}let t=(o=(i=(s=(a=e==null?void 0:e["c:strRef"])==null?void 0:a["c:strCache"])!=null?s:e==null?void 0:e["c:strLit"])!=null?i:(n=e==null?void 0:e["c:numRef"])==null?void 0:n["c:numCache"])!=null?o:e==null?void 0:e["c:numLit"];return Pm(t)},Tm=(e,r)=>{var s,n;let t=e==null?void 0:e["c:tx"],a=(n=(s=t==null?void 0:t["c:v"])!=null?s:Eo(t).get(0))!=null?n:r;return typeof a=="string"||typeof a=="number"?a:""},gu=e=>{if(e==null||String(e).trim()==="")return null;let r=Number(e);return Number.isFinite(r)?r:null};function ym(e){var o;let r=qc(e);if(!r.length)return[];if(r.length===1&&((o=r[0])!=null&&o["c:xVal"])){let d=Eo(r[0]["c:xVal"]),f=Eo(r[0]["c:yVal"]),c=[...new Set([...d.keys(),...f.keys()])].sort((l,k)=>l-k);return[c.map(l=>gu(d.get(l))),c.map(l=>gu(f.get(l)))]}let t=r.map((d,f)=>{let c=Sm(d==null?void 0:d["c:cat"]),l=Eo(d==null?void 0:d["c:cat"]),k=Eo(d==null?void 0:d["c:val"]);if(c)for(let _ of k.keys())l.has(_)||l.set(_,Im(c,_));return{key:Tm(d,f),categories:l,numbers:k,levels:c}}),a=new Map,s=new Set;for(let d of t){for(let[f,c]of d.categories)a.has(f)||a.set(f,c),s.add(f);for(let f of d.numbers.keys())s.add(f)}let n=[...s].sort((d,f)=>d-f),i=Object.fromEntries(n.map((d,f)=>{var c;return[f,(c=a.get(d))!=null?c:String(d)]}));return t.map(d=>({key:d.key,values:n.map(f=>({x:String(f),y:gu(d.numbers.get(f))})),xlabels:i,...d.levels?{categoryLevels:d.levels.map(f=>Object.fromEntries(f))}:{}}))}function wm(e){return qc(e).map((r,t)=>{let a=Eo(r==null?void 0:r["c:xVal"]),s=Eo(r==null?void 0:r["c:yVal"]),n=[...new Set([...a.keys(),...s.keys()])].sort((i,o)=>i-o);return{key:Tm(r,t),values:n.map(i=>({x:gu(a.get(i)),y:gu(s.get(i))})),xlabels:{}}})}var Rm=e=>e==null?[]:Array.isArray(e)?e:[e],Bm=e=>e==null?void 0:["1","true"].includes(String(e));function lf(e,r,t){var c,l;let a=Rm(e==null?void 0:e["a:p"])[0],s=(c=a==null?void 0:a["a:pPr"])==null?void 0:c["a:defRPr"],n=(l=Rm(a==null?void 0:a["a:r"])[0])==null?void 0:l["a:rPr"],i={...s,...n,attrs:{...s==null?void 0:s.attrs,...n==null?void 0:n.attrs}};if(!s&&!n)return;let o=Number(i.attrs.sz),d=i["a:solidFill"]?r==null?void 0:r(i["a:solidFill"]):void 0,f=k=>{var m;let _=typeof((m=k==null?void 0:k.attrs)==null?void 0:m.typeface)=="string"?k.attrs.typeface.slice(0,512):void 0;if(!_)return;let v=t==null?void 0:t(_,i.attrs.lang);return typeof v=="string"&&v?v.slice(0,512):_};return{family:f(i["a:latin"]),eastAsianFamily:f(i["a:ea"]),complexScriptFamily:f(i["a:cs"]),sizePt:Number.isFinite(o)&&o>0&&o<=4e5?o/100:void 0,bold:Bm(i.attrs.b),italic:Bm(i.attrs.i),color:/^(?:[\da-f]{6}|[\da-f]{8})$/i.test(String(d))?`#${d}`:void 0}}var Rh=e=>e==null?[]:Array.isArray(e)?e:[e],kn=(e,r)=>{var t,a;return(a=(t=e==null?void 0:e[r])==null?void 0:t.attrs)==null?void 0:a.val},ku=(e,r,t,a)=>{if(!/^\d+$/.test(String(e)))return a;let s=Number(e);return Number.isSafeInteger(s)&&s>=r&&s<=t?s:a};function Vc(e,r,t){var i;if(!e)return;let a=o=>{let d=kn(e,o);return d==null?void 0:d===!0||d===1||d==="1"||d==="true"},s=kn(e,"c:dLblPos"),n=(i=e==null?void 0:e["c:numFmt"])==null?void 0:i.attrs;return{...e["c:txPr"]?{font:lf(e["c:txPr"],r,t)}:{},showValue:a("c:showVal"),showCategory:a("c:showCatName"),showSeries:a("c:showSerName"),showPercent:a("c:showPercent"),deleted:a("c:delete"),position:["bestFit","b","ctr","inBase","inEnd","l","outEnd","r","t"].includes(s)?s:void 0,formatCode:typeof(n==null?void 0:n.formatCode)=="string"?n.formatCode.slice(0,512):void 0,sourceLinked:(n==null?void 0:n.sourceLinked)==null?void 0:["1","true"].includes(String(n.sourceLinked)),...e["c:dLbl"]?{points:Object.fromEntries(Rh(e["c:dLbl"]).flatMap(o=>{let d=ku(kn(o,"c:idx"),0,Number.MAX_SAFE_INTEGER,void 0);return d===void 0?[]:[[d,Vc({...o,"c:dLbl":void 0},r,t)]]}))}:{}}}function Dm(e,r,t,a){let s=kn(e,"c:grouping"),n=r==null?void 0:r["c:legend"],i=kn(n,"c:legendPos"),o=d=>{if((d==null?void 0:d["a:noFill"])!=null)return"transparent";if(!(d!=null&&d["a:solidFill"]))return;let f=t==null?void 0:t(d["a:solidFill"]);return/^(?:[\da-f]{6}|[\da-f]{8})$/i.test(String(f))?`#${f}`:void 0};return{grouping:["standard","clustered","stacked","percentStacked"].includes(s)?s:void 0,holeSize:ku(kn(e,"c:holeSize"),10,90,50),firstSliceAngle:ku(kn(e,"c:firstSliceAng"),0,360,0),gapWidth:ku(kn(e,"c:gapWidth"),0,500,void 0),overlap:/^-?\d+$/.test(String(kn(e,"c:overlap")))&&Math.abs(Number(kn(e,"c:overlap")))<=100?Number(kn(e,"c:overlap")):void 0,legend:{show:n!=null,position:["l","r","t","b","tr"].includes(i)?i:"r",...n!=null&&n["c:overlay"]?{overlay:["1","true"].includes(String(kn(n,"c:overlay")))}:{},...n!=null&&n["c:txPr"]?{font:lf(n["c:txPr"],t,a)}:{}},series:Rh(e==null?void 0:e["c:ser"]).map(d=>({color:o(d==null?void 0:d["c:spPr"]),...d!=null&&d["c:dLbls"]?{labels:Vc(d["c:dLbls"],t,a)}:{},points:Object.fromEntries(Rh(d==null?void 0:d["c:dPt"]).flatMap(f=>{let c=ku(kn(f,"c:idx"),0,Number.MAX_SAFE_INTEGER,void 0),l=o(f==null?void 0:f["c:spPr"]);return c==null||!l?[]:[[c,l]]}))}))}}var Po=e=>e==null?[]:Array.isArray(e)?e:[e],Nn=(e,r)=>{var t,a;return(a=(t=e==null?void 0:e[r])==null?void 0:t.attrs)==null?void 0:a.val},Mu=e=>{if(e==null||String(e).trim()==="")return;let r=Number(e);return Number.isFinite(r)?r:void 0},Bh=e=>/^\d{1,10}$/.test(String(e))&&Number(e)<=4294967295?String(Number(e)):void 0,Nm=e=>e===!0||e===1||e==="1"||e==="true",Dh=e=>typeof e=="string"||typeof e=="number"?String(e).slice(0,4096):"",zm=e=>{var a,s;let r=e==null?void 0:e["c:tx"];return r!=null&&r["c:rich"]?Po(r["c:rich"]["a:p"]).map(n=>[...Po(n==null?void 0:n["a:r"]),...Po(n==null?void 0:n["a:fld"])].map(i=>Dh(i==null?void 0:i["a:t"])).join("")).join(`
|
|
3
|
-
`).slice(0,4096)||void 0:Po((s=(a=r==null?void 0:r["c:strRef"])==null?void 0:a["c:strCache"])==null?void 0:s["c:pt"]).map(n=>Dh(n==null?void 0:n["c:v"])).join(" ").slice(0,4096)||void 0};function Cm(e,r,t){var f,c,l,k;let a=e==null?void 0:e["c:chartSpace"],s=a==null?void 0:a["c:chart"],n=s==null?void 0:s["c:plotArea"],i=new Set(["lineChart","barChart","areaChart","scatterChart","pieChart","pie3DChart","doughnutChart"]),o=[];for(let[_,v]of Object.entries(n||{})){let m=_.slice(2);if(!(!_.startsWith("c:")||!i.has(m)))for(let g of Po(v)){let M=Dm(g,s,r,t);M.labels=Vc(g==null?void 0:g["c:dLbls"],r,t),o.push({chartType:m,barDirection:["bar","col"].includes(Nn(g,"c:barDir"))?Nn(g,"c:barDir"):void 0,axisIds:Po(g==null?void 0:g["c:axId"]).map(p=>{var b;return Bh((b=p==null?void 0:p.attrs)==null?void 0:b.val)}).filter(p=>p!==void 0),series:m==="scatterChart"?wm(g==null?void 0:g["c:ser"]):ym(g==null?void 0:g["c:ser"]),options:M})}}let d=[];for(let[_,v]of[["c:catAx","category"],["c:valAx","value"],["c:dateAx","date"],["c:serAx","series"]])for(let m of Po(n==null?void 0:n[_])){let g=Bh(Nn(m,"c:axId"));if(g===void 0)continue;let M=m==null?void 0:m["c:scaling"],p=Nn(m,"c:axPos"),b=(f=m==null?void 0:m["c:numFmt"])==null?void 0:f.attrs,y=Mu(Nn(M,"c:logBase")),I=Nn(m,"c:crosses"),z=Mu((k=(l=(c=m==null?void 0:m["c:txPr"])==null?void 0:c["a:bodyPr"])==null?void 0:l.attrs)==null?void 0:k.rot);d.push({id:g,kind:v,position:["l","r","t","b"].includes(p)?p:void 0,deleted:Nm(Nn(m,"c:delete")),reversed:Nn(M,"c:orientation")==="maxMin",min:Mu(Nn(M,"c:min")),max:Mu(Nn(M,"c:max")),logBase:y>=2&&y<=1e3?y:void 0,crossAxisId:Bh(Nn(m,"c:crossAx")),crosses:["autoZero","min","max"].includes(I)?I:void 0,crossesAt:Mu(Nn(m,"c:crossesAt")),numberFormat:b?{code:Dh(b.formatCode).slice(0,512),sourceLinked:b.sourceLinked==null?void 0:Nm(b.sourceLinked)}:void 0,title:zm(m==null?void 0:m["c:title"]),majorGridlines:(m==null?void 0:m["c:majorGridlines"])!=null,labelRotation:z!==void 0&&Math.abs(z)<=54e5?z/6e4:void 0,font:lf(m==null?void 0:m["c:txPr"],r,t)})}return{schemaVersion:1,groups:o,axes:d,title:zm(s==null?void 0:s["c:title"]),font:lf(a==null?void 0:a["c:txPr"],r,t)}}function jc(e){"@babel/helpers - typeof";return jc=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},jc(e)}var Eb=/^\s+/,Pb=/\s+$/;function Je(e,r){if(e=e||"",r=r||{},e instanceof Je)return e;if(!(this instanceof Je))return new Je(e,r);var t=Sb(e);this._originalInput=e,this._r=t.r,this._g=t.g,this._b=t.b,this._a=t.a,this._roundA=Math.round(100*this._a)/100,this._format=r.format||t.format,this._gradientType=r.gradientType,this._r<1&&(this._r=Math.round(this._r)),this._g<1&&(this._g=Math.round(this._g)),this._b<1&&(this._b=Math.round(this._b)),this._ok=t.ok}Je.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var r=this.toRgb();return(r.r*299+r.g*587+r.b*114)/1e3},getLuminance:function(){var r=this.toRgb(),t,a,s,n,i,o;return t=r.r/255,a=r.g/255,s=r.b/255,t<=.03928?n=t/12.92:n=Math.pow((t+.055)/1.055,2.4),a<=.03928?i=a/12.92:i=Math.pow((a+.055)/1.055,2.4),s<=.03928?o=s/12.92:o=Math.pow((s+.055)/1.055,2.4),.2126*n+.7152*i+.0722*o},setAlpha:function(r){return this._a=Wm(r),this._roundA=Math.round(100*this._a)/100,this},toHsv:function(){var r=Om(this._r,this._g,this._b);return{h:r.h*360,s:r.s,v:r.v,a:this._a}},toHsvString:function(){var r=Om(this._r,this._g,this._b),t=Math.round(r.h*360),a=Math.round(r.s*100),s=Math.round(r.v*100);return this._a==1?"hsv("+t+", "+a+"%, "+s+"%)":"hsva("+t+", "+a+"%, "+s+"%, "+this._roundA+")"},toHsl:function(){var r=xm(this._r,this._g,this._b);return{h:r.h*360,s:r.s,l:r.l,a:this._a}},toHslString:function(){var r=xm(this._r,this._g,this._b),t=Math.round(r.h*360),a=Math.round(r.s*100),s=Math.round(r.l*100);return this._a==1?"hsl("+t+", "+a+"%, "+s+"%)":"hsla("+t+", "+a+"%, "+s+"%, "+this._roundA+")"},toHex:function(r){return Gm(this._r,this._g,this._b,r)},toHexString:function(r){return"#"+this.toHex(r)},toHex8:function(r){return wb(this._r,this._g,this._b,this._a,r)},toHex8String:function(r){return"#"+this.toHex8(r)},toRgb:function(){return{r:Math.round(this._r),g:Math.round(this._g),b:Math.round(this._b),a:this._a}},toRgbString:function(){return this._a==1?"rgb("+Math.round(this._r)+", "+Math.round(this._g)+", "+Math.round(this._b)+")":"rgba("+Math.round(this._r)+", "+Math.round(this._g)+", "+Math.round(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:Math.round(Cr(this._r,255)*100)+"%",g:Math.round(Cr(this._g,255)*100)+"%",b:Math.round(Cr(this._b,255)*100)+"%",a:this._a}},toPercentageRgbString:function(){return this._a==1?"rgb("+Math.round(Cr(this._r,255)*100)+"%, "+Math.round(Cr(this._g,255)*100)+"%, "+Math.round(Cr(this._b,255)*100)+"%)":"rgba("+Math.round(Cr(this._r,255)*100)+"%, "+Math.round(Cr(this._g,255)*100)+"%, "+Math.round(Cr(this._b,255)*100)+"%, "+this._roundA+")"},toName:function(){return this._a===0?"transparent":this._a<1?!1:Zb[Gm(this._r,this._g,this._b,!0)]||!1},toFilter:function(r){var t="#"+Um(this._r,this._g,this._b,this._a),a=t,s=this._gradientType?"GradientType = 1, ":"";if(r){var n=Je(r);a="#"+Um(n._r,n._g,n._b,n._a)}return"progid:DXImageTransform.Microsoft.gradient("+s+"startColorstr="+t+",endColorstr="+a+")"},toString:function(r){var t=!!r;r=r||this._format;var a=!1,s=this._a<1&&this._a>=0,n=!t&&s&&(r==="hex"||r==="hex6"||r==="hex3"||r==="hex4"||r==="hex8"||r==="name");return n?r==="name"&&this._a===0?this.toName():this.toRgbString():(r==="rgb"&&(a=this.toRgbString()),r==="prgb"&&(a=this.toPercentageRgbString()),(r==="hex"||r==="hex6")&&(a=this.toHexString()),r==="hex3"&&(a=this.toHexString(!0)),r==="hex4"&&(a=this.toHex8String(!0)),r==="hex8"&&(a=this.toHex8String()),r==="name"&&(a=this.toName()),r==="hsl"&&(a=this.toHslString()),r==="hsv"&&(a=this.toHsvString()),a||this.toHexString())},clone:function(){return Je(this.toString())},_applyModification:function(r,t){var a=r.apply(null,[this].concat([].slice.call(t)));return this._r=a._r,this._g=a._g,this._b=a._b,this.setAlpha(a._a),this},lighten:function(){return this._applyModification(Nb,arguments)},brighten:function(){return this._applyModification(zb,arguments)},darken:function(){return this._applyModification(Cb,arguments)},desaturate:function(){return this._applyModification(Rb,arguments)},saturate:function(){return this._applyModification(Bb,arguments)},greyscale:function(){return this._applyModification(Db,arguments)},spin:function(){return this._applyModification(xb,arguments)},_applyCombination:function(r,t){return r.apply(null,[this].concat([].slice.call(t)))},analogous:function(){return this._applyCombination(Ub,arguments)},complement:function(){return this._applyCombination(Ob,arguments)},monochromatic:function(){return this._applyCombination(Hb,arguments)},splitcomplement:function(){return this._applyCombination(Gb,arguments)},triad:function(){return this._applyCombination(Hm,[3])},tetrad:function(){return this._applyCombination(Hm,[4])}};Je.fromRatio=function(e,r){if(jc(e)=="object"){var t={};for(var a in e)e.hasOwnProperty(a)&&(a==="a"?t[a]=e[a]:t[a]=Eu(e[a]));e=t}return Je(e,r)};function Sb(e){var r={r:0,g:0,b:0},t=1,a=null,s=null,n=null,i=!1,o=!1;return typeof e=="string"&&(e=Ab(e)),jc(e)=="object"&&(_0(e.r)&&_0(e.g)&&_0(e.b)?(r=Ib(e.r,e.g,e.b),i=!0,o=String(e.r).substr(-1)==="%"?"prgb":"rgb"):_0(e.h)&&_0(e.s)&&_0(e.v)?(a=Eu(e.s),s=Eu(e.v),r=yb(e.h,a,s),i=!0,o="hsv"):_0(e.h)&&_0(e.s)&&_0(e.l)&&(a=Eu(e.s),n=Eu(e.l),r=Tb(e.h,a,n),i=!0,o="hsl"),e.hasOwnProperty("a")&&(t=e.a)),t=Wm(t),{ok:i,format:e.format||o,r:Math.min(255,Math.max(r.r,0)),g:Math.min(255,Math.max(r.g,0)),b:Math.min(255,Math.max(r.b,0)),a:t}}function Ib(e,r,t){return{r:Cr(e,255)*255,g:Cr(r,255)*255,b:Cr(t,255)*255}}function xm(e,r,t){e=Cr(e,255),r=Cr(r,255),t=Cr(t,255);var a=Math.max(e,r,t),s=Math.min(e,r,t),n,i,o=(a+s)/2;if(a==s)n=i=0;else{var d=a-s;switch(i=o>.5?d/(2-a-s):d/(a+s),a){case e:n=(r-t)/d+(r<t?6:0);break;case r:n=(t-e)/d+2;break;case t:n=(e-r)/d+4;break}n/=6}return{h:n,s:i,l:o}}function Tb(e,r,t){var a,s,n;e=Cr(e,360),r=Cr(r,100),t=Cr(t,100);function i(f,c,l){return l<0&&(l+=1),l>1&&(l-=1),l<1/6?f+(c-f)*6*l:l<1/2?c:l<2/3?f+(c-f)*(2/3-l)*6:f}if(r===0)a=s=n=t;else{var o=t<.5?t*(1+r):t+r-t*r,d=2*t-o;a=i(d,o,e+1/3),s=i(d,o,e),n=i(d,o,e-1/3)}return{r:a*255,g:s*255,b:n*255}}function Om(e,r,t){e=Cr(e,255),r=Cr(r,255),t=Cr(t,255);var a=Math.max(e,r,t),s=Math.min(e,r,t),n,i,o=a,d=a-s;if(i=a===0?0:d/a,a==s)n=0;else{switch(a){case e:n=(r-t)/d+(r<t?6:0);break;case r:n=(t-e)/d+2;break;case t:n=(e-r)/d+4;break}n/=6}return{h:n,s:i,v:o}}function yb(e,r,t){e=Cr(e,360)*6,r=Cr(r,100),t=Cr(t,100);var a=Math.floor(e),s=e-a,n=t*(1-r),i=t*(1-s*r),o=t*(1-(1-s)*r),d=a%6,f=[t,i,n,n,o,t][d],c=[o,t,t,i,n,n][d],l=[n,n,o,t,t,i][d];return{r:f*255,g:c*255,b:l*255}}function Gm(e,r,t,a){var s=[Mi(Math.round(e).toString(16)),Mi(Math.round(r).toString(16)),Mi(Math.round(t).toString(16))];return a&&s[0].charAt(0)==s[0].charAt(1)&&s[1].charAt(0)==s[1].charAt(1)&&s[2].charAt(0)==s[2].charAt(1)?s[0].charAt(0)+s[1].charAt(0)+s[2].charAt(0):s.join("")}function wb(e,r,t,a,s){var n=[Mi(Math.round(e).toString(16)),Mi(Math.round(r).toString(16)),Mi(Math.round(t).toString(16)),Mi($m(a))];return s&&n[0].charAt(0)==n[0].charAt(1)&&n[1].charAt(0)==n[1].charAt(1)&&n[2].charAt(0)==n[2].charAt(1)&&n[3].charAt(0)==n[3].charAt(1)?n[0].charAt(0)+n[1].charAt(0)+n[2].charAt(0)+n[3].charAt(0):n.join("")}function Um(e,r,t,a){var s=[Mi($m(a)),Mi(Math.round(e).toString(16)),Mi(Math.round(r).toString(16)),Mi(Math.round(t).toString(16))];return s.join("")}Je.equals=function(e,r){return!e||!r?!1:Je(e).toRgbString()==Je(r).toRgbString()};Je.random=function(){return Je.fromRatio({r:Math.random(),g:Math.random(),b:Math.random()})};function Rb(e,r){r=r===0?0:r||10;var t=Je(e).toHsl();return t.s-=r/100,t.s=e1(t.s),Je(t)}function Bb(e,r){r=r===0?0:r||10;var t=Je(e).toHsl();return t.s+=r/100,t.s=e1(t.s),Je(t)}function Db(e){return Je(e).desaturate(100)}function Nb(e,r){r=r===0?0:r||10;var t=Je(e).toHsl();return t.l+=r/100,t.l=e1(t.l),Je(t)}function zb(e,r){r=r===0?0:r||10;var t=Je(e).toRgb();return t.r=Math.max(0,Math.min(255,t.r-Math.round(255*-(r/100)))),t.g=Math.max(0,Math.min(255,t.g-Math.round(255*-(r/100)))),t.b=Math.max(0,Math.min(255,t.b-Math.round(255*-(r/100)))),Je(t)}function Cb(e,r){r=r===0?0:r||10;var t=Je(e).toHsl();return t.l-=r/100,t.l=e1(t.l),Je(t)}function xb(e,r){var t=Je(e).toHsl(),a=(t.h+r)%360;return t.h=a<0?360+a:a,Je(t)}function Ob(e){var r=Je(e).toHsl();return r.h=(r.h+180)%360,Je(r)}function Hm(e,r){if(isNaN(r)||r<=0)throw new Error("Argument to polyad must be a positive number");for(var t=Je(e).toHsl(),a=[Je(e)],s=360/r,n=1;n<r;n++)a.push(Je({h:(t.h+n*s)%360,s:t.s,l:t.l}));return a}function Gb(e){var r=Je(e).toHsl(),t=r.h;return[Je(e),Je({h:(t+72)%360,s:r.s,l:r.l}),Je({h:(t+216)%360,s:r.s,l:r.l})]}function Ub(e,r,t){r=r||6,t=t||30;var a=Je(e).toHsl(),s=360/t,n=[Je(e)];for(a.h=(a.h-(s*r>>1)+720)%360;--r;)a.h=(a.h+s)%360,n.push(Je(a));return n}function Hb(e,r){r=r||6;for(var t=Je(e).toHsv(),a=t.h,s=t.s,n=t.v,i=[],o=1/r;r--;)i.push(Je({h:a,s,v:n})),n=(n+o)%1;return i}Je.mix=function(e,r,t){t=t===0?0:t||50;var a=Je(e).toRgb(),s=Je(r).toRgb(),n=t/100,i={r:(s.r-a.r)*n+a.r,g:(s.g-a.g)*n+a.g,b:(s.b-a.b)*n+a.b,a:(s.a-a.a)*n+a.a};return Je(i)};Je.readability=function(e,r){var t=Je(e),a=Je(r);return(Math.max(t.getLuminance(),a.getLuminance())+.05)/(Math.min(t.getLuminance(),a.getLuminance())+.05)};Je.isReadable=function(e,r,t){var a=Je.readability(e,r),s,n;switch(n=!1,s=Xb(t),s.level+s.size){case"AAsmall":case"AAAlarge":n=a>=4.5;break;case"AAlarge":n=a>=3;break;case"AAAsmall":n=a>=7;break}return n};Je.mostReadable=function(e,r,t){var a=null,s=0,n,i,o,d;t=t||{},i=t.includeFallbackColors,o=t.level,d=t.size;for(var f=0;f<r.length;f++)n=Je.readability(e,r[f]),n>s&&(s=n,a=Je(r[f]));return Je.isReadable(e,a,{level:o,size:d})||!i?a:(t.includeFallbackColors=!1,Je.mostReadable(e,["#fff","#000"],t))};var Nh=Je.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},Zb=Je.hexNames=Wb(Nh);function Wb(e){var r={};for(var t in e)e.hasOwnProperty(t)&&(r[e[t]]=t);return r}function Wm(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function Cr(e,r){$b(e)&&(e="100%");var t=Yb(e);return e=Math.min(r,Math.max(0,parseFloat(e))),t&&(e=parseInt(e*r,10)/100),Math.abs(e-r)<1e-6?1:e%r/parseFloat(r)}function e1(e){return Math.min(1,Math.max(0,e))}function Mn(e){return parseInt(e,16)}function $b(e){return typeof e=="string"&&e.indexOf(".")!=-1&&parseFloat(e)===1}function Yb(e){return typeof e=="string"&&e.indexOf("%")!=-1}function Mi(e){return e.length==1?"0"+e:""+e}function Eu(e){return e<=1&&(e=e*100+"%"),e}function $m(e){return Math.round(parseFloat(e)*255).toString(16)}function Zm(e){return Mn(e)/255}var ki=(function(){var e="[-\\+]?\\d+%?",r="[-\\+]?\\d*\\.\\d+%?",t="(?:"+r+")|(?:"+e+")",a="[\\s|\\(]+("+t+")[,|\\s]+("+t+")[,|\\s]+("+t+")\\s*\\)?",s="[\\s|\\(]+("+t+")[,|\\s]+("+t+")[,|\\s]+("+t+")[,|\\s]+("+t+")\\s*\\)?";return{CSS_UNIT:new RegExp(t),rgb:new RegExp("rgb"+a),rgba:new RegExp("rgba"+s),hsl:new RegExp("hsl"+a),hsla:new RegExp("hsla"+s),hsv:new RegExp("hsv"+a),hsva:new RegExp("hsva"+s),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/}})();function _0(e){return!!ki.CSS_UNIT.exec(e)}function Ab(e){e=e.replace(Eb,"").replace(Pb,"").toLowerCase();var r=!1;if(Nh[e])e=Nh[e],r=!0;else if(e=="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var t;return(t=ki.rgb.exec(e))?{r:t[1],g:t[2],b:t[3]}:(t=ki.rgba.exec(e))?{r:t[1],g:t[2],b:t[3],a:t[4]}:(t=ki.hsl.exec(e))?{h:t[1],s:t[2],l:t[3]}:(t=ki.hsla.exec(e))?{h:t[1],s:t[2],l:t[3],a:t[4]}:(t=ki.hsv.exec(e))?{h:t[1],s:t[2],v:t[3]}:(t=ki.hsva.exec(e))?{h:t[1],s:t[2],v:t[3],a:t[4]}:(t=ki.hex8.exec(e))?{r:Mn(t[1]),g:Mn(t[2]),b:Mn(t[3]),a:Zm(t[4]),format:r?"name":"hex8"}:(t=ki.hex6.exec(e))?{r:Mn(t[1]),g:Mn(t[2]),b:Mn(t[3]),format:r?"name":"hex"}:(t=ki.hex4.exec(e))?{r:Mn(t[1]+""+t[1]),g:Mn(t[2]+""+t[2]),b:Mn(t[3]+""+t[3]),a:Zm(t[4]+""+t[4]),format:r?"name":"hex8"}:(t=ki.hex3.exec(e))?{r:Mn(t[1]+""+t[1]),g:Mn(t[2]+""+t[2]),b:Mn(t[3]+""+t[3]),format:r?"name":"hex"}:!1}function Xb(e){var r,t;return e=e||{level:"AA",size:"small"},r=(e.level||"AA").toUpperCase(),t=(e.size||"small").toLowerCase(),r!=="AA"&&r!=="AAA"&&(r="AA"),t!=="small"&&t!=="large"&&(t="small"),{level:r,size:t}}function Ym(e,r){"txml";r=r||{};var t=r.pos||0,a=!!r.keepComments,s=!!r.keepWhitespace,n="<",i=60,o=">",d=62,f=45,c=47,l=33,k=39,_=34,v=91,m=93;function g(Z){for(var T=[];e[t];)if(e.charCodeAt(t)==i){if(e.charCodeAt(t+1)===c){var x=t+2;t=e.indexOf(o,t);var P=e.substring(x,t);if(P.indexOf(Z)==-1){var J=e.substring(0,t).split(`
|
|
1
|
+
var mb=Object.create;var cm=Object.defineProperty;var _b=Object.getOwnPropertyDescriptor;var bb=Object.getOwnPropertyNames;var Lb=Object.getPrototypeOf,gb=Object.prototype.hasOwnProperty;var Mo=(e=>typeof require!="undefined"?require:typeof Proxy!="undefined"?new Proxy(e,{get:(r,t)=>(typeof require!="undefined"?require:r)[t]}):e)(function(e){if(typeof require!="undefined")return require.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')});var la=(e,r)=>()=>{try{return r||e((r={exports:{}}).exports,r),r.exports}catch(t){throw r=0,t}};var kb=(e,r,t,a)=>{if(r&&typeof r=="object"||typeof r=="function")for(let s of bb(r))!gb.call(e,s)&&s!==t&&cm(e,s,{get:()=>r[s],enumerable:!(a=_b(r,s))||a.enumerable});return e};var Fc=(e,r,t)=>(t=e!=null?mb(Lb(e)):{},kb(r||!e||!e.__esModule?cm(t,"default",{value:e,enumerable:!0}):t,e));var hm=la((dm,Sh)=>{(function(e){typeof dm=="object"&&typeof Sh!="undefined"?Sh.exports=e():typeof define=="function"&&define.amd?define([],e):(typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:this).JSZip=e()})(function(){return(function e(r,t,a){function s(o,d){if(!t[o]){if(!r[o]){var f=typeof Mo=="function"&&Mo;if(!d&&f)return f(o,!0);if(n)return n(o,!0);var u=new Error("Cannot find module '"+o+"'");throw u.code="MODULE_NOT_FOUND",u}var l=t[o]={exports:{}};r[o][0].call(l.exports,function(k){var _=r[o][1][k];return s(_||k)},l,l.exports,e,r,t,a)}return t[o].exports}for(var n=typeof Mo=="function"&&Mo,i=0;i<a.length;i++)s(a[i]);return s})({1:[function(e,r,t){"use strict";var a=e("./utils"),s=e("./support"),n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";t.encode=function(i){for(var o,d,f,u,l,k,_,v=[],m=0,g=i.length,M=g,p=a.getTypeOf(i)!=="string";m<i.length;)M=g-m,f=p?(o=i[m++],d=m<g?i[m++]:0,m<g?i[m++]:0):(o=i.charCodeAt(m++),d=m<g?i.charCodeAt(m++):0,m<g?i.charCodeAt(m++):0),u=o>>2,l=(3&o)<<4|d>>4,k=1<M?(15&d)<<2|f>>6:64,_=2<M?63&f:64,v.push(n.charAt(u)+n.charAt(l)+n.charAt(k)+n.charAt(_));return v.join("")},t.decode=function(i){var o,d,f,u,l,k,_=0,v=0,m="data:";if(i.substr(0,m.length)===m)throw new Error("Invalid base64 input, it looks like a data url.");var g,M=3*(i=i.replace(/[^A-Za-z0-9+/=]/g,"")).length/4;if(i.charAt(i.length-1)===n.charAt(64)&&M--,i.charAt(i.length-2)===n.charAt(64)&&M--,M%1!=0)throw new Error("Invalid base64 input, bad content length.");for(g=s.uint8array?new Uint8Array(0|M):new Array(0|M);_<i.length;)o=n.indexOf(i.charAt(_++))<<2|(u=n.indexOf(i.charAt(_++)))>>4,d=(15&u)<<4|(l=n.indexOf(i.charAt(_++)))>>2,f=(3&l)<<6|(k=n.indexOf(i.charAt(_++))),g[v++]=o,l!==64&&(g[v++]=d),k!==64&&(g[v++]=f);return g}},{"./support":30,"./utils":32}],2:[function(e,r,t){"use strict";var a=e("./external"),s=e("./stream/DataWorker"),n=e("./stream/Crc32Probe"),i=e("./stream/DataLengthProbe");function o(d,f,u,l,k){this.compressedSize=d,this.uncompressedSize=f,this.crc32=u,this.compression=l,this.compressedContent=k}o.prototype={getContentWorker:function(){var d=new s(a.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new i("data_length")),f=this;return d.on("end",function(){if(this.streamInfo.data_length!==f.uncompressedSize)throw new Error("Bug : uncompressed data size mismatch")}),d},getCompressedWorker:function(){return new s(a.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}},o.createWorkerFrom=function(d,f,u){return d.pipe(new n).pipe(new i("uncompressedSize")).pipe(f.compressWorker(u)).pipe(new i("compressedSize")).withStreamInfo("compression",f)},r.exports=o},{"./external":6,"./stream/Crc32Probe":25,"./stream/DataLengthProbe":26,"./stream/DataWorker":27}],3:[function(e,r,t){"use strict";var a=e("./stream/GenericWorker");t.STORE={magic:"\0\0",compressWorker:function(){return new a("STORE compression")},uncompressWorker:function(){return new a("STORE decompression")}},t.DEFLATE=e("./flate")},{"./flate":7,"./stream/GenericWorker":28}],4:[function(e,r,t){"use strict";var a=e("./utils"),s=(function(){for(var n,i=[],o=0;o<256;o++){n=o;for(var d=0;d<8;d++)n=1&n?3988292384^n>>>1:n>>>1;i[o]=n}return i})();r.exports=function(n,i){return n!==void 0&&n.length?a.getTypeOf(n)!=="string"?(function(o,d,f,u){var l=s,k=u+f;o^=-1;for(var _=u;_<k;_++)o=o>>>8^l[255&(o^d[_])];return-1^o})(0|i,n,n.length,0):(function(o,d,f,u){var l=s,k=u+f;o^=-1;for(var _=u;_<k;_++)o=o>>>8^l[255&(o^d.charCodeAt(_))];return-1^o})(0|i,n,n.length,0):0}},{"./utils":32}],5:[function(e,r,t){"use strict";t.base64=!1,t.binary=!1,t.dir=!1,t.createFolders=!0,t.date=null,t.compression=null,t.compressionOptions=null,t.comment=null,t.unixPermissions=null,t.dosPermissions=null},{}],6:[function(e,r,t){"use strict";var a=null;a=typeof Promise!="undefined"?Promise:e("lie"),r.exports={Promise:a}},{lie:37}],7:[function(e,r,t){"use strict";var a=typeof Uint8Array!="undefined"&&typeof Uint16Array!="undefined"&&typeof Uint32Array!="undefined",s=e("pako"),n=e("./utils"),i=e("./stream/GenericWorker"),o=a?"uint8array":"array";function d(f,u){i.call(this,"FlateWorker/"+f),this._pako=null,this._pakoAction=f,this._pakoOptions=u,this.meta={}}t.magic="\b\0",n.inherits(d,i),d.prototype.processChunk=function(f){this.meta=f.meta,this._pako===null&&this._createPako(),this._pako.push(n.transformTo(o,f.data),!1)},d.prototype.flush=function(){i.prototype.flush.call(this),this._pako===null&&this._createPako(),this._pako.push([],!0)},d.prototype.cleanUp=function(){i.prototype.cleanUp.call(this),this._pako=null},d.prototype._createPako=function(){this._pako=new s[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var f=this;this._pako.onData=function(u){f.push({data:u,meta:f.meta})}},t.compressWorker=function(f){return new d("Deflate",f)},t.uncompressWorker=function(){return new d("Inflate",{})}},{"./stream/GenericWorker":28,"./utils":32,pako:38}],8:[function(e,r,t){"use strict";function a(l,k){var _,v="";for(_=0;_<k;_++)v+=String.fromCharCode(255&l),l>>>=8;return v}function s(l,k,_,v,m,g){var M,p,b=l.file,y=l.compression,I=g!==o.utf8encode,N=n.transformTo("string",g(b.name)),R=n.transformTo("string",o.utf8encode(b.name)),B=b.comment,Z=n.transformTo("string",g(B)),T=n.transformTo("string",o.utf8encode(B)),C=R.length!==b.name.length,P=T.length!==B.length,J="",re="",Q="",ae=b.dir,X=b.date,V={crc32:0,compressedSize:0,uncompressedSize:0};k&&!_||(V.crc32=l.crc32,V.compressedSize=l.compressedSize,V.uncompressedSize=l.uncompressedSize);var H=0;k&&(H|=8),I||!C&&!P||(H|=2048);var A=0,ge=0;ae&&(A|=16),m==="UNIX"?(ge=798,A|=(function(c,h){var De=c;return c||(De=h?16893:33204),(65535&De)<<16})(b.unixPermissions,ae)):(ge=20,A|=(function(c){return 63&(c||0)})(b.dosPermissions)),M=X.getUTCHours(),M<<=6,M|=X.getUTCMinutes(),M<<=5,M|=X.getUTCSeconds()/2,p=X.getUTCFullYear()-1980,p<<=4,p|=X.getUTCMonth()+1,p<<=5,p|=X.getUTCDate(),C&&(re=a(1,1)+a(d(N),4)+R,J+="up"+a(re.length,2)+re),P&&(Q=a(1,1)+a(d(Z),4)+T,J+="uc"+a(Q.length,2)+Q);var me="";return me+=`
|
|
2
|
+
\0`,me+=a(H,2),me+=y.magic,me+=a(M,2),me+=a(p,2),me+=a(V.crc32,4),me+=a(V.compressedSize,4),me+=a(V.uncompressedSize,4),me+=a(N.length,2),me+=a(J.length,2),{fileRecord:f.LOCAL_FILE_HEADER+me+N+J,dirRecord:f.CENTRAL_FILE_HEADER+a(ge,2)+me+a(Z.length,2)+"\0\0\0\0"+a(A,4)+a(v,4)+N+J+Z}}var n=e("../utils"),i=e("../stream/GenericWorker"),o=e("../utf8"),d=e("../crc32"),f=e("../signature");function u(l,k,_,v){i.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=k,this.zipPlatform=_,this.encodeFileName=v,this.streamFiles=l,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}n.inherits(u,i),u.prototype.push=function(l){var k=l.meta.percent||0,_=this.entriesCount,v=this._sources.length;this.accumulate?this.contentBuffer.push(l):(this.bytesWritten+=l.data.length,i.prototype.push.call(this,{data:l.data,meta:{currentFile:this.currentFile,percent:_?(k+100*(_-v-1))/_:100}}))},u.prototype.openedSource=function(l){this.currentSourceOffset=this.bytesWritten,this.currentFile=l.file.name;var k=this.streamFiles&&!l.file.dir;if(k){var _=s(l,k,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:_.fileRecord,meta:{percent:0}})}else this.accumulate=!0},u.prototype.closedSource=function(l){this.accumulate=!1;var k=this.streamFiles&&!l.file.dir,_=s(l,k,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(_.dirRecord),k)this.push({data:(function(v){return f.DATA_DESCRIPTOR+a(v.crc32,4)+a(v.compressedSize,4)+a(v.uncompressedSize,4)})(l),meta:{percent:100}});else for(this.push({data:_.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},u.prototype.flush=function(){for(var l=this.bytesWritten,k=0;k<this.dirRecords.length;k++)this.push({data:this.dirRecords[k],meta:{percent:100}});var _=this.bytesWritten-l,v=(function(m,g,M,p,b){var y=n.transformTo("string",b(p));return f.CENTRAL_DIRECTORY_END+"\0\0\0\0"+a(m,2)+a(m,2)+a(g,4)+a(M,4)+a(y.length,2)+y})(this.dirRecords.length,_,l,this.zipComment,this.encodeFileName);this.push({data:v,meta:{percent:100}})},u.prototype.prepareNextSource=function(){this.previous=this._sources.shift(),this.openedSource(this.previous.streamInfo),this.isPaused?this.previous.pause():this.previous.resume()},u.prototype.registerPrevious=function(l){this._sources.push(l);var k=this;return l.on("data",function(_){k.processChunk(_)}),l.on("end",function(){k.closedSource(k.previous.streamInfo),k._sources.length?k.prepareNextSource():k.end()}),l.on("error",function(_){k.error(_)}),this},u.prototype.resume=function(){return!!i.prototype.resume.call(this)&&(!this.previous&&this._sources.length?(this.prepareNextSource(),!0):this.previous||this._sources.length||this.generatedError?void 0:(this.end(),!0))},u.prototype.error=function(l){var k=this._sources;if(!i.prototype.error.call(this,l))return!1;for(var _=0;_<k.length;_++)try{k[_].error(l)}catch{}return!0},u.prototype.lock=function(){i.prototype.lock.call(this);for(var l=this._sources,k=0;k<l.length;k++)l[k].lock()},r.exports=u},{"../crc32":4,"../signature":23,"../stream/GenericWorker":28,"../utf8":31,"../utils":32}],9:[function(e,r,t){"use strict";var a=e("../compressions"),s=e("./ZipFileWorker");t.generateWorker=function(n,i,o){var d=new s(i.streamFiles,o,i.platform,i.encodeFileName),f=0;try{n.forEach(function(u,l){f++;var k=(function(g,M){var p=g||M,b=a[p];if(!b)throw new Error(p+" is not a valid compression method !");return b})(l.options.compression,i.compression),_=l.options.compressionOptions||i.compressionOptions||{},v=l.dir,m=l.date;l._compressWorker(k,_).withStreamInfo("file",{name:u,dir:v,date:m,comment:l.comment||"",unixPermissions:l.unixPermissions,dosPermissions:l.dosPermissions}).pipe(d)}),d.entriesCount=f}catch(u){d.error(u)}return d}},{"../compressions":3,"./ZipFileWorker":8}],10:[function(e,r,t){"use strict";function a(){if(!(this instanceof a))return new a;if(arguments.length)throw new Error("The constructor with parameters has been removed in JSZip 3.0, please check the upgrade guide.");this.files=Object.create(null),this.comment=null,this.root="",this.clone=function(){var s=new a;for(var n in this)typeof this[n]!="function"&&(s[n]=this[n]);return s}}(a.prototype=e("./object")).loadAsync=e("./load"),a.support=e("./support"),a.defaults=e("./defaults"),a.version="3.10.2",a.loadAsync=function(s,n){return new a().loadAsync(s,n)},a.external=e("./external"),r.exports=a},{"./defaults":5,"./external":6,"./load":11,"./object":15,"./support":30}],11:[function(e,r,t){"use strict";var a=e("./utils"),s=e("./external"),n=e("./utf8"),i=e("./zipEntries"),o=e("./stream/Crc32Probe"),d=e("./nodejsUtils");function f(u){return new s.Promise(function(l,k){var _=u.decompressed.getContentWorker().pipe(new o);_.on("error",function(v){k(v)}).on("end",function(){_.streamInfo.crc32!==u.decompressed.crc32?k(new Error("Corrupted zip : CRC32 mismatch")):l()}).resume()})}r.exports=function(u,l){var k=this;return l=a.extend(l||{},{base64:!1,checkCRC32:!1,optimizedBinaryString:!1,createFolders:!1,decodeFileName:n.utf8decode}),d.isNode&&d.isStream(u)?s.Promise.reject(new Error("JSZip can't accept a stream when loading a zip file.")):a.prepareContent("the loaded zip file",u,!0,l.optimizedBinaryString,l.base64).then(function(_){var v=new i(l);return v.load(_),v}).then(function(_){var v=[s.Promise.resolve(_)],m=_.files;if(l.checkCRC32)for(var g=0;g<m.length;g++)v.push(f(m[g]));return s.Promise.all(v)}).then(function(_){for(var v=_.shift(),m=v.files,g=0;g<m.length;g++){var M=m[g],p=M.fileNameStr,b=a.resolve(M.fileNameStr);k.file(b,M.decompressed,{binary:!0,optimizedBinaryString:!0,date:M.date,dir:M.dir,comment:M.fileCommentStr.length?M.fileCommentStr:null,unixPermissions:M.unixPermissions,dosPermissions:M.dosPermissions,createFolders:l.createFolders}),M.dir||(k.file(b).unsafeOriginalName=p)}return v.zipComment.length&&(k.comment=v.zipComment),k})}},{"./external":6,"./nodejsUtils":14,"./stream/Crc32Probe":25,"./utf8":31,"./utils":32,"./zipEntries":33}],12:[function(e,r,t){"use strict";var a=e("../utils"),s=e("../stream/GenericWorker");function n(i,o){s.call(this,"Nodejs stream input adapter for "+i),this._upstreamEnded=!1,this._bindStream(o)}a.inherits(n,s),n.prototype._bindStream=function(i){var o=this;(this._stream=i).pause(),i.on("data",function(d){o.push({data:d,meta:{percent:0}})}).on("error",function(d){o.isPaused?this.generatedError=d:o.error(d)}).on("end",function(){o.isPaused?o._upstreamEnded=!0:o.end()})},n.prototype.pause=function(){return!!s.prototype.pause.call(this)&&(this._stream.pause(),!0)},n.prototype.resume=function(){return!!s.prototype.resume.call(this)&&(this._upstreamEnded?this.end():this._stream.resume(),!0)},r.exports=n},{"../stream/GenericWorker":28,"../utils":32}],13:[function(e,r,t){"use strict";var a=e("readable-stream").Readable;function s(n,i,o){a.call(this,i),this._helper=n;var d=this;n.on("data",function(f,u){d.push(f)||d._helper.pause(),o&&o(u)}).on("error",function(f){d.emit("error",f)}).on("end",function(){d.push(null)})}e("../utils").inherits(s,a),s.prototype._read=function(){this._helper.resume()},r.exports=s},{"../utils":32,"readable-stream":16}],14:[function(e,r,t){"use strict";r.exports={isNode:typeof Buffer!="undefined",newBufferFrom:function(a,s){if(Buffer.from&&Buffer.from!==Uint8Array.from)return Buffer.from(a,s);if(typeof a=="number")throw new Error('The "data" argument must not be a number');return new Buffer(a,s)},allocBuffer:function(a){if(Buffer.alloc)return Buffer.alloc(a);var s=new Buffer(a);return s.fill(0),s},isBuffer:function(a){return Buffer.isBuffer(a)},isStream:function(a){return a&&typeof a.on=="function"&&typeof a.pause=="function"&&typeof a.resume=="function"}}},{}],15:[function(e,r,t){"use strict";function a(b,y,I){var N,R=n.getTypeOf(y),B=n.extend(I||{},d);B.date=B.date||new Date,B.compression!==null&&(B.compression=B.compression.toUpperCase()),typeof B.unixPermissions=="string"&&(B.unixPermissions=parseInt(B.unixPermissions,8)),B.unixPermissions&&16384&B.unixPermissions&&(B.dir=!0),B.dosPermissions&&16&B.dosPermissions&&(B.dir=!0),B.dir&&(b=m(b)),B.createFolders&&(N=v(b))&&g.call(this,N,!0);var Z=R==="string"&&B.binary===!1&&B.base64===!1;I&&I.binary!==void 0||(B.binary=!Z),(y instanceof f&&y.uncompressedSize===0||B.dir||!y||y.length===0)&&(B.base64=!1,B.binary=!0,y="",B.compression="STORE",R="string");var T=null;T=y instanceof f||y instanceof i?y:k.isNode&&k.isStream(y)?new _(b,y):n.prepareContent(b,y,B.binary,B.optimizedBinaryString,B.base64);var C=new u(b,T,B);this.files[b]=C}var s=e("./utf8"),n=e("./utils"),i=e("./stream/GenericWorker"),o=e("./stream/StreamHelper"),d=e("./defaults"),f=e("./compressedObject"),u=e("./zipObject"),l=e("./generate"),k=e("./nodejsUtils"),_=e("./nodejs/NodejsStreamInputAdapter"),v=function(b){b.slice(-1)==="/"&&(b=b.substring(0,b.length-1));var y=b.lastIndexOf("/");return 0<y?b.substring(0,y):""},m=function(b){return b.slice(-1)!=="/"&&(b+="/"),b},g=function(b,y){return y=y!==void 0?y:d.createFolders,b=m(b),this.files[b]||a.call(this,b,null,{dir:!0,createFolders:y}),this.files[b]};function M(b){return Object.prototype.toString.call(b)==="[object RegExp]"}var p={load:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},forEach:function(b){var y,I,N;for(y in this.files)N=this.files[y],(I=y.slice(this.root.length,y.length))&&y.slice(0,this.root.length)===this.root&&b(I,N)},filter:function(b){var y=[];return this.forEach(function(I,N){b(I,N)&&y.push(N)}),y},file:function(b,y,I){if(arguments.length!==1)return b=this.root+b,a.call(this,b,y,I),this;if(M(b)){var N=b;return this.filter(function(B,Z){return!Z.dir&&N.test(B)})}var R=this.files[this.root+b];return R&&!R.dir?R:null},folder:function(b){if(!b)return this;if(M(b))return this.filter(function(R,B){return B.dir&&b.test(R)});var y=this.root+b,I=g.call(this,y),N=this.clone();return N.root=I.name,N},remove:function(b){b=this.root+b;var y=this.files[b];if(y||(b.slice(-1)!=="/"&&(b+="/"),y=this.files[b]),y&&!y.dir)delete this.files[b];else for(var I=this.filter(function(R,B){return B.name.slice(0,b.length)===b}),N=0;N<I.length;N++)delete this.files[I[N].name];return this},generate:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},generateInternalStream:function(b){var y,I={};try{if((I=n.extend(b||{},{streamFiles:!1,compression:"STORE",compressionOptions:null,type:"",platform:"DOS",comment:null,mimeType:"application/zip",encodeFileName:s.utf8encode})).type=I.type.toLowerCase(),I.compression=I.compression.toUpperCase(),I.type==="binarystring"&&(I.type="string"),!I.type)throw new Error("No output type specified.");n.checkSupport(I.type),I.platform!=="darwin"&&I.platform!=="freebsd"&&I.platform!=="linux"&&I.platform!=="sunos"||(I.platform="UNIX"),I.platform==="win32"&&(I.platform="DOS");var N=I.comment||this.comment||"";y=l.generateWorker(this,I,N)}catch(R){(y=new i("error")).error(R)}return new o(y,I.type||"string",I.mimeType)},generateAsync:function(b,y){return this.generateInternalStream(b).accumulate(y)},generateNodeStream:function(b,y){return(b=b||{}).type||(b.type="nodebuffer"),this.generateInternalStream(b).toNodejsStream(y)}};r.exports=p},{"./compressedObject":2,"./defaults":5,"./generate":9,"./nodejs/NodejsStreamInputAdapter":12,"./nodejsUtils":14,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31,"./utils":32,"./zipObject":35}],16:[function(e,r,t){"use strict";r.exports=e("stream")},{stream:void 0}],17:[function(e,r,t){"use strict";var a=e("./DataReader");function s(n){a.call(this,n);for(var i=0;i<this.data.length;i++)n[i]=255&n[i]}e("../utils").inherits(s,a),s.prototype.byteAt=function(n){return this.data[this.zero+n]},s.prototype.lastIndexOfSignature=function(n){for(var i=n.charCodeAt(0),o=n.charCodeAt(1),d=n.charCodeAt(2),f=n.charCodeAt(3),u=this.length-4;0<=u;--u)if(this.data[u]===i&&this.data[u+1]===o&&this.data[u+2]===d&&this.data[u+3]===f)return u-this.zero;return-1},s.prototype.readAndCheckSignature=function(n){var i=n.charCodeAt(0),o=n.charCodeAt(1),d=n.charCodeAt(2),f=n.charCodeAt(3),u=this.readData(4);return i===u[0]&&o===u[1]&&d===u[2]&&f===u[3]},s.prototype.readData=function(n){if(this.checkOffset(n),n===0)return[];var i=this.data.slice(this.zero+this.index,this.zero+this.index+n);return this.index+=n,i},r.exports=s},{"../utils":32,"./DataReader":18}],18:[function(e,r,t){"use strict";var a=e("../utils");function s(n){this.data=n,this.length=n.length,this.index=0,this.zero=0}s.prototype={checkOffset:function(n){this.checkIndex(this.index+n)},checkIndex:function(n){if(this.length<this.zero+n||n<0)throw new Error("End of data reached (data length = "+this.length+", asked index = "+n+"). Corrupted zip ?")},setIndex:function(n){this.checkIndex(n),this.index=n},skip:function(n){this.setIndex(this.index+n)},byteAt:function(){},readInt:function(n){var i,o=0;for(this.checkOffset(n),i=this.index+n-1;i>=this.index;i--)o=(o<<8)+this.byteAt(i);return this.index+=n,o},readString:function(n){return a.transformTo("string",this.readData(n))},readData:function(){},lastIndexOfSignature:function(){},readAndCheckSignature:function(){},readDate:function(){var n=this.readInt(4);return new Date(Date.UTC(1980+(n>>25&127),(n>>21&15)-1,n>>16&31,n>>11&31,n>>5&63,(31&n)<<1))}},r.exports=s},{"../utils":32}],19:[function(e,r,t){"use strict";var a=e("./Uint8ArrayReader");function s(n){a.call(this,n)}e("../utils").inherits(s,a),s.prototype.readData=function(n){this.checkOffset(n);var i=this.data.slice(this.zero+this.index,this.zero+this.index+n);return this.index+=n,i},r.exports=s},{"../utils":32,"./Uint8ArrayReader":21}],20:[function(e,r,t){"use strict";var a=e("./DataReader");function s(n){a.call(this,n)}e("../utils").inherits(s,a),s.prototype.byteAt=function(n){return this.data.charCodeAt(this.zero+n)},s.prototype.lastIndexOfSignature=function(n){return this.data.lastIndexOf(n)-this.zero},s.prototype.readAndCheckSignature=function(n){return n===this.readData(4)},s.prototype.readData=function(n){this.checkOffset(n);var i=this.data.slice(this.zero+this.index,this.zero+this.index+n);return this.index+=n,i},r.exports=s},{"../utils":32,"./DataReader":18}],21:[function(e,r,t){"use strict";var a=e("./ArrayReader");function s(n){a.call(this,n)}e("../utils").inherits(s,a),s.prototype.readData=function(n){if(this.checkOffset(n),n===0)return new Uint8Array(0);var i=this.data.subarray(this.zero+this.index,this.zero+this.index+n);return this.index+=n,i},r.exports=s},{"../utils":32,"./ArrayReader":17}],22:[function(e,r,t){"use strict";var a=e("../utils"),s=e("../support"),n=e("./ArrayReader"),i=e("./StringReader"),o=e("./NodeBufferReader"),d=e("./Uint8ArrayReader");r.exports=function(f){var u=a.getTypeOf(f);return a.checkSupport(u),u!=="string"||s.uint8array?u==="nodebuffer"?new o(f):s.uint8array?new d(a.transformTo("uint8array",f)):new n(a.transformTo("array",f)):new i(f)}},{"../support":30,"../utils":32,"./ArrayReader":17,"./NodeBufferReader":19,"./StringReader":20,"./Uint8ArrayReader":21}],23:[function(e,r,t){"use strict";t.LOCAL_FILE_HEADER="PK",t.CENTRAL_FILE_HEADER="PK",t.CENTRAL_DIRECTORY_END="PK",t.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK\x07",t.ZIP64_CENTRAL_DIRECTORY_END="PK",t.DATA_DESCRIPTOR="PK\x07\b"},{}],24:[function(e,r,t){"use strict";var a=e("./GenericWorker"),s=e("../utils");function n(i){a.call(this,"ConvertWorker to "+i),this.destType=i}s.inherits(n,a),n.prototype.processChunk=function(i){this.push({data:s.transformTo(this.destType,i.data),meta:i.meta})},r.exports=n},{"../utils":32,"./GenericWorker":28}],25:[function(e,r,t){"use strict";var a=e("./GenericWorker"),s=e("../crc32");function n(){a.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}e("../utils").inherits(n,a),n.prototype.processChunk=function(i){this.streamInfo.crc32=s(i.data,this.streamInfo.crc32||0),this.push(i)},r.exports=n},{"../crc32":4,"../utils":32,"./GenericWorker":28}],26:[function(e,r,t){"use strict";var a=e("../utils"),s=e("./GenericWorker");function n(i){s.call(this,"DataLengthProbe for "+i),this.propName=i,this.withStreamInfo(i,0)}a.inherits(n,s),n.prototype.processChunk=function(i){if(i){var o=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=o+i.data.length}s.prototype.processChunk.call(this,i)},r.exports=n},{"../utils":32,"./GenericWorker":28}],27:[function(e,r,t){"use strict";var a=e("../utils"),s=e("./GenericWorker");function n(i){s.call(this,"DataWorker");var o=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type="",this._tickScheduled=!1,i.then(function(d){o.dataIsReady=!0,o.data=d,o.max=d&&d.length||0,o.type=a.getTypeOf(d),o.isPaused||o._tickAndRepeat()},function(d){o.error(d)})}a.inherits(n,s),n.prototype.cleanUp=function(){s.prototype.cleanUp.call(this),this.data=null},n.prototype.resume=function(){return!!s.prototype.resume.call(this)&&(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,a.delay(this._tickAndRepeat,[],this)),!0)},n.prototype._tickAndRepeat=function(){this._tickScheduled=!1,this.isPaused||this.isFinished||(this._tick(),this.isFinished||(a.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))},n.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var i=null,o=Math.min(this.max,this.index+16384);if(this.index>=this.max)return this.end();switch(this.type){case"string":i=this.data.substring(this.index,o);break;case"uint8array":i=this.data.subarray(this.index,o);break;case"array":case"nodebuffer":i=this.data.slice(this.index,o)}return this.index=o,this.push({data:i,meta:{percent:this.max?this.index/this.max*100:0}})},r.exports=n},{"../utils":32,"./GenericWorker":28}],28:[function(e,r,t){"use strict";function a(s){this.name=s||"default",this.streamInfo={},this.generatedError=null,this.extraStreamInfo={},this.isPaused=!0,this.isFinished=!1,this.isLocked=!1,this._listeners={data:[],end:[],error:[]},this.previous=null}a.prototype={push:function(s){this.emit("data",s)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit("end"),this.cleanUp(),this.isFinished=!0}catch(s){this.emit("error",s)}return!0},error:function(s){return!this.isFinished&&(this.isPaused?this.generatedError=s:(this.isFinished=!0,this.emit("error",s),this.previous&&this.previous.error(s),this.cleanUp()),!0)},on:function(s,n){return this._listeners[s].push(n),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function(s,n){if(this._listeners[s])for(var i=0;i<this._listeners[s].length;i++)this._listeners[s][i].call(this,n)},pipe:function(s){return s.registerPrevious(this)},registerPrevious:function(s){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.streamInfo=s.streamInfo,this.mergeStreamInfo(),this.previous=s;var n=this;return s.on("data",function(i){n.processChunk(i)}),s.on("end",function(){n.end()}),s.on("error",function(i){n.error(i)}),this},pause:function(){return!this.isPaused&&!this.isFinished&&(this.isPaused=!0,this.previous&&this.previous.pause(),!0)},resume:function(){if(!this.isPaused||this.isFinished)return!1;var s=this.isPaused=!1;return this.generatedError&&(this.error(this.generatedError),s=!0),this.previous&&this.previous.resume(),!s},flush:function(){},processChunk:function(s){this.push(s)},withStreamInfo:function(s,n){return this.extraStreamInfo[s]=n,this.mergeStreamInfo(),this},mergeStreamInfo:function(){for(var s in this.extraStreamInfo)Object.prototype.hasOwnProperty.call(this.extraStreamInfo,s)&&(this.streamInfo[s]=this.extraStreamInfo[s])},lock:function(){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.isLocked=!0,this.previous&&this.previous.lock()},toString:function(){var s="Worker "+this.name;return this.previous?this.previous+" -> "+s:s}},r.exports=a},{}],29:[function(e,r,t){"use strict";var a=e("../utils"),s=e("./ConvertWorker"),n=e("./GenericWorker"),i=e("../base64"),o=e("../support"),d=e("../external"),f=null;if(o.nodestream)try{f=e("../nodejs/NodejsStreamOutputAdapter")}catch{}function u(k,_){return new d.Promise(function(v,m){var g=[],M=k._internalType,p=k._outputType,b=k._mimeType;k.on("data",function(y,I){g.push(y),_&&_(I)}).on("error",function(y){g=[],m(y)}).on("end",function(){try{var y=(function(I,N,R){switch(I){case"blob":return a.newBlob(a.transformTo("arraybuffer",N),R);case"base64":return i.encode(N);default:return a.transformTo(I,N)}})(p,(function(I,N){var R,B=0,Z=null,T=0;for(R=0;R<N.length;R++)T+=N[R].length;switch(I){case"string":return N.join("");case"array":return Array.prototype.concat.apply([],N);case"uint8array":for(Z=new Uint8Array(T),R=0;R<N.length;R++)Z.set(N[R],B),B+=N[R].length;return Z;case"nodebuffer":return Buffer.concat(N);default:throw new Error("concat : unsupported type '"+I+"'")}})(M,g),b);v(y)}catch(I){m(I)}g=[]}).resume()})}function l(k,_,v){var m=_;switch(_){case"blob":case"arraybuffer":m="uint8array";break;case"base64":m="string"}try{this._internalType=m,this._outputType=_,this._mimeType=v,a.checkSupport(m),this._worker=k.pipe(new s(m)),k.lock()}catch(g){this._worker=new n("error"),this._worker.error(g)}}l.prototype={accumulate:function(k){return u(this,k)},on:function(k,_){var v=this;return k==="data"?this._worker.on(k,function(m){_.call(v,m.data,m.meta)}):this._worker.on(k,function(){a.delay(_,arguments,v)}),this},resume:function(){return a.delay(this._worker.resume,[],this._worker),this},pause:function(){return this._worker.pause(),this},toNodejsStream:function(k){if(a.checkSupport("nodestream"),this._outputType!=="nodebuffer")throw new Error(this._outputType+" is not supported by this method");return new f(this,{objectMode:this._outputType!=="nodebuffer"},k)}},r.exports=l},{"../base64":1,"../external":6,"../nodejs/NodejsStreamOutputAdapter":13,"../support":30,"../utils":32,"./ConvertWorker":24,"./GenericWorker":28}],30:[function(e,r,t){"use strict";if(t.base64=!0,t.array=!0,t.string=!0,t.arraybuffer=typeof ArrayBuffer!="undefined"&&typeof Uint8Array!="undefined",t.nodebuffer=typeof Buffer!="undefined",t.uint8array=typeof Uint8Array!="undefined",typeof ArrayBuffer=="undefined")t.blob=!1;else{var a=new ArrayBuffer(0);try{t.blob=new Blob([a],{type:"application/zip"}).size===0}catch{try{var s=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);s.append(a),t.blob=s.getBlob("application/zip").size===0}catch{t.blob=!1}}}try{t.nodestream=!!e("readable-stream").Readable}catch{t.nodestream=!1}},{"readable-stream":16}],31:[function(e,r,t){"use strict";for(var a=e("./utils"),s=e("./support"),n=e("./nodejsUtils"),i=e("./stream/GenericWorker"),o=new Array(256),d=0;d<256;d++)o[d]=252<=d?6:248<=d?5:240<=d?4:224<=d?3:192<=d?2:1;o[254]=o[254]=1;function f(){i.call(this,"utf-8 decode"),this.leftOver=null}function u(){i.call(this,"utf-8 encode")}t.utf8encode=function(l){return s.nodebuffer?n.newBufferFrom(l,"utf-8"):(function(k){var _,v,m,g,M,p=k.length,b=0;for(g=0;g<p;g++)(64512&(v=k.charCodeAt(g)))==55296&&g+1<p&&(64512&(m=k.charCodeAt(g+1)))==56320&&(v=65536+(v-55296<<10)+(m-56320),g++),b+=v<128?1:v<2048?2:v<65536?3:4;for(_=s.uint8array?new Uint8Array(b):new Array(b),g=M=0;M<b;g++)(64512&(v=k.charCodeAt(g)))==55296&&g+1<p&&(64512&(m=k.charCodeAt(g+1)))==56320&&(v=65536+(v-55296<<10)+(m-56320),g++),v<128?_[M++]=v:(v<2048?_[M++]=192|v>>>6:(v<65536?_[M++]=224|v>>>12:(_[M++]=240|v>>>18,_[M++]=128|v>>>12&63),_[M++]=128|v>>>6&63),_[M++]=128|63&v);return _})(l)},t.utf8decode=function(l){return s.nodebuffer?a.transformTo("nodebuffer",l).toString("utf-8"):(function(k){var _,v,m,g,M=k.length,p=new Array(2*M);for(_=v=0;_<M;)if((m=k[_++])<128)p[v++]=m;else if(4<(g=o[m]))p[v++]=65533,_+=g-1;else{for(m&=g===2?31:g===3?15:7;1<g&&_<M;)m=m<<6|63&k[_++],g--;1<g?p[v++]=65533:m<65536?p[v++]=m:(m-=65536,p[v++]=55296|m>>10&1023,p[v++]=56320|1023&m)}return p.length!==v&&(p.subarray?p=p.subarray(0,v):p.length=v),a.applyFromCharCode(p)})(l=a.transformTo(s.uint8array?"uint8array":"array",l))},a.inherits(f,i),f.prototype.processChunk=function(l){var k=a.transformTo(s.uint8array?"uint8array":"array",l.data);if(this.leftOver&&this.leftOver.length){if(s.uint8array){var _=k;(k=new Uint8Array(_.length+this.leftOver.length)).set(this.leftOver,0),k.set(_,this.leftOver.length)}else k=this.leftOver.concat(k);this.leftOver=null}var v=(function(g,M){var p;for((M=M||g.length)>g.length&&(M=g.length),p=M-1;0<=p&&(192&g[p])==128;)p--;return p<0||p===0?M:p+o[g[p]]>M?p:M})(k),m=k;v!==k.length&&(s.uint8array?(m=k.subarray(0,v),this.leftOver=k.subarray(v,k.length)):(m=k.slice(0,v),this.leftOver=k.slice(v,k.length))),this.push({data:t.utf8decode(m),meta:l.meta})},f.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:t.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},t.Utf8DecodeWorker=f,a.inherits(u,i),u.prototype.processChunk=function(l){this.push({data:t.utf8encode(l.data),meta:l.meta})},t.Utf8EncodeWorker=u},{"./nodejsUtils":14,"./stream/GenericWorker":28,"./support":30,"./utils":32}],32:[function(e,r,t){"use strict";var a=e("./support"),s=e("./base64"),n=e("./nodejsUtils"),i=e("./external");function o(_){return _}function d(_,v){for(var m=0;m<_.length;++m)v[m]=255&_.charCodeAt(m);return v}e("setimmediate"),t.newBlob=function(_,v){t.checkSupport("blob");try{return new Blob([_],{type:v})}catch{try{var m=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);return m.append(_),m.getBlob(v)}catch{throw new Error("Bug : can't construct the Blob.")}}};var f={stringifyByChunk:function(_,v,m){var g=[],M=0,p=_.length;if(p<=m)return String.fromCharCode.apply(null,_);for(;M<p;)v==="array"||v==="nodebuffer"?g.push(String.fromCharCode.apply(null,_.slice(M,Math.min(M+m,p)))):g.push(String.fromCharCode.apply(null,_.subarray(M,Math.min(M+m,p)))),M+=m;return g.join("")},stringifyByChar:function(_){for(var v="",m=0;m<_.length;m++)v+=String.fromCharCode(_[m]);return v},applyCanBeUsed:{uint8array:(function(){try{return a.uint8array&&String.fromCharCode.apply(null,new Uint8Array(1)).length===1}catch{return!1}})(),nodebuffer:(function(){try{return a.nodebuffer&&String.fromCharCode.apply(null,n.allocBuffer(1)).length===1}catch{return!1}})()}};function u(_){var v=65536,m=t.getTypeOf(_),g=!0;if(m==="uint8array"?g=f.applyCanBeUsed.uint8array:m==="nodebuffer"&&(g=f.applyCanBeUsed.nodebuffer),g)for(;1<v;)try{return f.stringifyByChunk(_,m,v)}catch{v=Math.floor(v/2)}return f.stringifyByChar(_)}function l(_,v){for(var m=0;m<_.length;m++)v[m]=_[m];return v}t.applyFromCharCode=u;var k={};k.string={string:o,array:function(_){return d(_,new Array(_.length))},arraybuffer:function(_){return k.string.uint8array(_).buffer},uint8array:function(_){return d(_,new Uint8Array(_.length))},nodebuffer:function(_){return d(_,n.allocBuffer(_.length))}},k.array={string:u,array:o,arraybuffer:function(_){return new Uint8Array(_).buffer},uint8array:function(_){return new Uint8Array(_)},nodebuffer:function(_){return n.newBufferFrom(_)}},k.arraybuffer={string:function(_){return u(new Uint8Array(_))},array:function(_){return l(new Uint8Array(_),new Array(_.byteLength))},arraybuffer:o,uint8array:function(_){return new Uint8Array(_)},nodebuffer:function(_){return n.newBufferFrom(new Uint8Array(_))}},k.uint8array={string:u,array:function(_){return l(_,new Array(_.length))},arraybuffer:function(_){return _.buffer},uint8array:o,nodebuffer:function(_){return n.newBufferFrom(_)}},k.nodebuffer={string:u,array:function(_){return l(_,new Array(_.length))},arraybuffer:function(_){return k.nodebuffer.uint8array(_).buffer},uint8array:function(_){return l(_,new Uint8Array(_.length))},nodebuffer:o},t.transformTo=function(_,v){if(v=v||"",!_)return v;t.checkSupport(_);var m=t.getTypeOf(v);return k[m][_](v)},t.resolve=function(_){for(var v=_.split("/"),m=[],g=0;g<v.length;g++){var M=v[g];M==="."||M===""&&g!==0&&g!==v.length-1||(M===".."?m.pop():m.push(M))}return m.join("/")},t.getTypeOf=function(_){if(typeof _=="string")return"string";var v=Object.prototype.toString.call(_);return v==="[object Array]"?"array":a.nodebuffer&&n.isBuffer(_)?"nodebuffer":a.uint8array&&v==="[object Uint8Array]"?"uint8array":a.arraybuffer&&v==="[object ArrayBuffer]"?"arraybuffer":void 0},t.checkSupport=function(_){if(!a[_.toLowerCase()])throw new Error(_+" is not supported by this platform")},t.MAX_VALUE_16BITS=65535,t.MAX_VALUE_32BITS=-1,t.pretty=function(_){var v,m,g="";for(m=0;m<(_||"").length;m++)g+="\\x"+((v=_.charCodeAt(m))<16?"0":"")+v.toString(16).toUpperCase();return g},t.delay=function(_,v,m){setImmediate(function(){_.apply(m||null,v||[])})},t.inherits=function(_,v){function m(){}m.prototype=v.prototype,_.prototype=new m},t.extend=function(){var _,v,m={};for(_=0;_<arguments.length;_++)for(v in arguments[_])Object.prototype.hasOwnProperty.call(arguments[_],v)&&m[v]===void 0&&(m[v]=arguments[_][v]);return m},t.prepareContent=function(_,v,m,g,M){return i.Promise.resolve(v).then(function(p){return a.blob&&(p instanceof Blob||["[object File]","[object Blob]"].indexOf(Object.prototype.toString.call(p))!==-1)?Blob.prototype.arrayBuffer!==void 0?p.arrayBuffer():typeof FileReader!="undefined"?new i.Promise(function(b,y){var I=new FileReader;I.onload=function(N){b(N.target.result)},I.onerror=function(N){y(N.target.error)},I.readAsArrayBuffer(p)}):i.Promise.reject(new Error(_+" is a Blob, but we have no way of reading it.")):p}).then(function(p){var b=t.getTypeOf(p);return b?(b==="arraybuffer"?p=t.transformTo("uint8array",p):b==="string"&&(M?p=s.decode(p):m&&g!==!0&&(p=(function(y){return d(y,a.uint8array?new Uint8Array(y.length):new Array(y.length))})(p))),p):i.Promise.reject(new Error("Can't read the data of '"+_+"'. Is it in a supported JavaScript type (String, Blob, ArrayBuffer, etc) ?"))})}},{"./base64":1,"./external":6,"./nodejsUtils":14,"./support":30,setimmediate:54}],33:[function(e,r,t){"use strict";var a=e("./reader/readerFor"),s=e("./utils"),n=e("./signature"),i=e("./zipEntry"),o=e("./support");function d(f){this.files=[],this.loadOptions=f}d.prototype={checkSignature:function(f){if(!this.reader.readAndCheckSignature(f)){this.reader.index-=4;var u=this.reader.readString(4);throw new Error("Corrupted zip or bug: unexpected signature ("+s.pretty(u)+", expected "+s.pretty(f)+")")}},isSignature:function(f,u){var l=this.reader.index;this.reader.setIndex(f);var k=this.reader.readString(4)===u;return this.reader.setIndex(l),k},readBlockEndOfCentral:function(){this.diskNumber=this.reader.readInt(2),this.diskWithCentralDirStart=this.reader.readInt(2),this.centralDirRecordsOnThisDisk=this.reader.readInt(2),this.centralDirRecords=this.reader.readInt(2),this.centralDirSize=this.reader.readInt(4),this.centralDirOffset=this.reader.readInt(4),this.zipCommentLength=this.reader.readInt(2);var f=this.reader.readData(this.zipCommentLength),u=o.uint8array?"uint8array":"array",l=s.transformTo(u,f);this.zipComment=this.loadOptions.decodeFileName(l)},readBlockZip64EndOfCentral:function(){this.zip64EndOfCentralSize=this.reader.readInt(8),this.reader.skip(4),this.diskNumber=this.reader.readInt(4),this.diskWithCentralDirStart=this.reader.readInt(4),this.centralDirRecordsOnThisDisk=this.reader.readInt(8),this.centralDirRecords=this.reader.readInt(8),this.centralDirSize=this.reader.readInt(8),this.centralDirOffset=this.reader.readInt(8),this.zip64ExtensibleData={};for(var f,u,l,k=this.zip64EndOfCentralSize-44;0<k;)f=this.reader.readInt(2),u=this.reader.readInt(4),l=this.reader.readData(u),this.zip64ExtensibleData[f]={id:f,length:u,value:l}},readBlockZip64EndOfCentralLocator:function(){if(this.diskWithZip64CentralDirStart=this.reader.readInt(4),this.relativeOffsetEndOfZip64CentralDir=this.reader.readInt(8),this.disksCount=this.reader.readInt(4),1<this.disksCount)throw new Error("Multi-volumes zip are not supported")},readLocalFiles:function(){var f,u;for(f=0;f<this.files.length;f++)u=this.files[f],this.reader.setIndex(u.localHeaderOffset),this.checkSignature(n.LOCAL_FILE_HEADER),u.readLocalPart(this.reader),u.handleUTF8(),u.processAttributes()},readCentralDir:function(){var f;for(this.reader.setIndex(this.centralDirOffset);this.reader.readAndCheckSignature(n.CENTRAL_FILE_HEADER);)(f=new i({zip64:this.zip64},this.loadOptions)).readCentralPart(this.reader),this.files.push(f);if(this.centralDirRecords!==this.files.length&&this.centralDirRecords!==0&&this.files.length===0)throw new Error("Corrupted zip or bug: expected "+this.centralDirRecords+" records in central dir, got "+this.files.length)},readEndOfCentral:function(){var f=this.reader.lastIndexOfSignature(n.CENTRAL_DIRECTORY_END);if(f<0)throw this.isSignature(0,n.LOCAL_FILE_HEADER)?new Error("Corrupted zip: can't find end of central directory"):new Error("Can't find end of central directory : is this a zip file ? If it is, see https://stuk.github.io/jszip/documentation/howto/read_zip.html");this.reader.setIndex(f);var u=f;if(this.checkSignature(n.CENTRAL_DIRECTORY_END),this.readBlockEndOfCentral(),this.diskNumber===s.MAX_VALUE_16BITS||this.diskWithCentralDirStart===s.MAX_VALUE_16BITS||this.centralDirRecordsOnThisDisk===s.MAX_VALUE_16BITS||this.centralDirRecords===s.MAX_VALUE_16BITS||this.centralDirSize===s.MAX_VALUE_32BITS||this.centralDirOffset===s.MAX_VALUE_32BITS){if(this.zip64=!0,(f=this.reader.lastIndexOfSignature(n.ZIP64_CENTRAL_DIRECTORY_LOCATOR))<0)throw new Error("Corrupted zip: can't find the ZIP64 end of central directory locator");if(this.reader.setIndex(f),this.checkSignature(n.ZIP64_CENTRAL_DIRECTORY_LOCATOR),this.readBlockZip64EndOfCentralLocator(),!this.isSignature(this.relativeOffsetEndOfZip64CentralDir,n.ZIP64_CENTRAL_DIRECTORY_END)&&(this.relativeOffsetEndOfZip64CentralDir=this.reader.lastIndexOfSignature(n.ZIP64_CENTRAL_DIRECTORY_END),this.relativeOffsetEndOfZip64CentralDir<0))throw new Error("Corrupted zip: can't find the ZIP64 end of central directory");this.reader.setIndex(this.relativeOffsetEndOfZip64CentralDir),this.checkSignature(n.ZIP64_CENTRAL_DIRECTORY_END),this.readBlockZip64EndOfCentral()}var l=this.centralDirOffset+this.centralDirSize;this.zip64&&(l+=20,l+=12+this.zip64EndOfCentralSize);var k=u-l;if(0<k)this.isSignature(u,n.CENTRAL_FILE_HEADER)||(this.reader.zero=k);else if(k<0)throw new Error("Corrupted zip: missing "+Math.abs(k)+" bytes.")},prepareReader:function(f){this.reader=a(f)},load:function(f){this.prepareReader(f),this.readEndOfCentral(),this.readCentralDir(),this.readLocalFiles()}},r.exports=d},{"./reader/readerFor":22,"./signature":23,"./support":30,"./utils":32,"./zipEntry":34}],34:[function(e,r,t){"use strict";var a=e("./reader/readerFor"),s=e("./utils"),n=e("./compressedObject"),i=e("./crc32"),o=e("./utf8"),d=e("./compressions"),f=e("./support");function u(l,k){this.options=l,this.loadOptions=k}u.prototype={isEncrypted:function(){return(1&this.bitFlag)==1},useUTF8:function(){return(2048&this.bitFlag)==2048},readLocalPart:function(l){var k,_;if(l.skip(22),this.fileNameLength=l.readInt(2),_=l.readInt(2),this.fileName=l.readData(this.fileNameLength),l.skip(_),this.compressedSize===-1||this.uncompressedSize===-1)throw new Error("Bug or corrupted zip : didn't get enough information from the central directory (compressedSize === -1 || uncompressedSize === -1)");if((k=(function(v){for(var m in d)if(Object.prototype.hasOwnProperty.call(d,m)&&d[m].magic===v)return d[m];return null})(this.compressionMethod))===null)throw new Error("Corrupted zip : compression "+s.pretty(this.compressionMethod)+" unknown (inner file : "+s.transformTo("string",this.fileName)+")");this.decompressed=new n(this.compressedSize,this.uncompressedSize,this.crc32,k,l.readData(this.compressedSize))},readCentralPart:function(l){this.versionMadeBy=l.readInt(2),l.skip(2),this.bitFlag=l.readInt(2),this.compressionMethod=l.readString(2),this.date=l.readDate(),this.crc32=l.readInt(4),this.compressedSize=l.readInt(4),this.uncompressedSize=l.readInt(4);var k=l.readInt(2);if(this.extraFieldsLength=l.readInt(2),this.fileCommentLength=l.readInt(2),this.diskNumberStart=l.readInt(2),this.internalFileAttributes=l.readInt(2),this.externalFileAttributes=l.readInt(4),this.localHeaderOffset=l.readInt(4),this.isEncrypted())throw new Error("Encrypted zip are not supported");l.skip(k),this.readExtraFields(l),this.parseZIP64ExtraField(l),this.fileComment=l.readData(this.fileCommentLength)},processAttributes:function(){this.unixPermissions=null,this.dosPermissions=null;var l=this.versionMadeBy>>8;this.dir=!!(16&this.externalFileAttributes),l==0&&(this.dosPermissions=63&this.externalFileAttributes),l==3&&(this.unixPermissions=this.externalFileAttributes>>16&65535),this.dir||this.fileNameStr.slice(-1)!=="/"||(this.dir=!0)},parseZIP64ExtraField:function(){if(this.extraFields[1]){var l=a(this.extraFields[1].value);this.uncompressedSize===s.MAX_VALUE_32BITS&&(this.uncompressedSize=l.readInt(8)),this.compressedSize===s.MAX_VALUE_32BITS&&(this.compressedSize=l.readInt(8)),this.localHeaderOffset===s.MAX_VALUE_32BITS&&(this.localHeaderOffset=l.readInt(8)),this.diskNumberStart===s.MAX_VALUE_32BITS&&(this.diskNumberStart=l.readInt(4))}},readExtraFields:function(l){var k,_,v,m=l.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});l.index+4<m;)k=l.readInt(2),_=l.readInt(2),v=l.readData(_),this.extraFields[k]={id:k,length:_,value:v};l.setIndex(m)},handleUTF8:function(){var l=f.uint8array?"uint8array":"array";if(this.useUTF8())this.fileNameStr=o.utf8decode(this.fileName),this.fileCommentStr=o.utf8decode(this.fileComment);else{var k=this.findExtraFieldUnicodePath();if(k!==null)this.fileNameStr=k;else{var _=s.transformTo(l,this.fileName);this.fileNameStr=this.loadOptions.decodeFileName(_)}var v=this.findExtraFieldUnicodeComment();if(v!==null)this.fileCommentStr=v;else{var m=s.transformTo(l,this.fileComment);this.fileCommentStr=this.loadOptions.decodeFileName(m)}}},findExtraFieldUnicodePath:function(){var l=this.extraFields[28789];if(l){var k=a(l.value);return k.readInt(1)!==1||i(this.fileName)!==k.readInt(4)?null:o.utf8decode(k.readData(l.length-5))}return null},findExtraFieldUnicodeComment:function(){var l=this.extraFields[25461];if(l){var k=a(l.value);return k.readInt(1)!==1||i(this.fileComment)!==k.readInt(4)?null:o.utf8decode(k.readData(l.length-5))}return null}},r.exports=u},{"./compressedObject":2,"./compressions":3,"./crc32":4,"./reader/readerFor":22,"./support":30,"./utf8":31,"./utils":32}],35:[function(e,r,t){"use strict";function a(k,_,v){this.name=k,this.dir=v.dir,this.date=v.date,this.comment=v.comment,this.unixPermissions=v.unixPermissions,this.dosPermissions=v.dosPermissions,this._data=_,this._dataBinary=v.binary,this.options={compression:v.compression,compressionOptions:v.compressionOptions}}var s=e("./stream/StreamHelper"),n=e("./stream/DataWorker"),i=e("./utf8"),o=e("./compressedObject"),d=e("./stream/GenericWorker");a.prototype={internalStream:function(k){var _=null,v="string";try{if(!k)throw new Error("No output type specified.");var m=(v=k.toLowerCase())==="string"||v==="text";v!=="binarystring"&&v!=="text"||(v="string"),_=this._decompressWorker();var g=!this._dataBinary;g&&!m&&(_=_.pipe(new i.Utf8EncodeWorker)),!g&&m&&(_=_.pipe(new i.Utf8DecodeWorker))}catch(M){(_=new d("error")).error(M)}return new s(_,v,"")},async:function(k,_){return this.internalStream(k).accumulate(_)},nodeStream:function(k,_){return this.internalStream(k||"nodebuffer").toNodejsStream(_)},_compressWorker:function(k,_){if(this._data instanceof o&&this._data.compression.magic===k.magic)return this._data.getCompressedWorker();var v=this._decompressWorker();return this._dataBinary||(v=v.pipe(new i.Utf8EncodeWorker)),o.createWorkerFrom(v,k,_)},_decompressWorker:function(){return this._data instanceof o?this._data.getContentWorker():this._data instanceof d?this._data:new n(this._data)}};for(var f=["asText","asBinary","asNodeBuffer","asUint8Array","asArrayBuffer"],u=function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},l=0;l<f.length;l++)a.prototype[f[l]]=u;r.exports=a},{"./compressedObject":2,"./stream/DataWorker":27,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31}],36:[function(e,r,t){(function(a){"use strict";var s,n,i=a.MutationObserver||a.WebKitMutationObserver;if(i){var o=0,d=new i(k),f=a.document.createTextNode("");d.observe(f,{characterData:!0}),s=function(){f.data=o=++o%2}}else if(a.setImmediate||a.MessageChannel===void 0)s="document"in a&&"onreadystatechange"in a.document.createElement("script")?function(){var _=a.document.createElement("script");_.onreadystatechange=function(){k(),_.onreadystatechange=null,_.parentNode.removeChild(_),_=null},a.document.documentElement.appendChild(_)}:function(){setTimeout(k,0)};else{var u=new a.MessageChannel;u.port1.onmessage=k,s=function(){u.port2.postMessage(0)}}var l=[];function k(){var _,v;n=!0;for(var m=l.length;m;){for(v=l,l=[],_=-1;++_<m;)v[_]();m=l.length}n=!1}r.exports=function(_){l.push(_)!==1||n||s()}}).call(this,typeof global!="undefined"?global:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],37:[function(e,r,t){"use strict";var a=e("immediate");function s(){}var n={},i=["REJECTED"],o=["FULFILLED"],d=["PENDING"];function f(m){if(typeof m!="function")throw new TypeError("resolver must be a function");this.state=d,this.queue=[],this.outcome=void 0,m!==s&&_(this,m)}function u(m,g,M){this.promise=m,typeof g=="function"&&(this.onFulfilled=g,this.callFulfilled=this.otherCallFulfilled),typeof M=="function"&&(this.onRejected=M,this.callRejected=this.otherCallRejected)}function l(m,g,M){a(function(){var p;try{p=g(M)}catch(b){return n.reject(m,b)}p===m?n.reject(m,new TypeError("Cannot resolve promise with itself")):n.resolve(m,p)})}function k(m){var g=m&&m.then;if(m&&(typeof m=="object"||typeof m=="function")&&typeof g=="function")return function(){g.apply(m,arguments)}}function _(m,g){var M=!1;function p(I){M||(M=!0,n.reject(m,I))}function b(I){M||(M=!0,n.resolve(m,I))}var y=v(function(){g(b,p)});y.status==="error"&&p(y.value)}function v(m,g){var M={};try{M.value=m(g),M.status="success"}catch(p){M.status="error",M.value=p}return M}(r.exports=f).prototype.finally=function(m){if(typeof m!="function")return this;var g=this.constructor;return this.then(function(M){return g.resolve(m()).then(function(){return M})},function(M){return g.resolve(m()).then(function(){throw M})})},f.prototype.catch=function(m){return this.then(null,m)},f.prototype.then=function(m,g){if(typeof m!="function"&&this.state===o||typeof g!="function"&&this.state===i)return this;var M=new this.constructor(s);return this.state!==d?l(M,this.state===o?m:g,this.outcome):this.queue.push(new u(M,m,g)),M},u.prototype.callFulfilled=function(m){n.resolve(this.promise,m)},u.prototype.otherCallFulfilled=function(m){l(this.promise,this.onFulfilled,m)},u.prototype.callRejected=function(m){n.reject(this.promise,m)},u.prototype.otherCallRejected=function(m){l(this.promise,this.onRejected,m)},n.resolve=function(m,g){var M=v(k,g);if(M.status==="error")return n.reject(m,M.value);var p=M.value;if(p)_(m,p);else{m.state=o,m.outcome=g;for(var b=-1,y=m.queue.length;++b<y;)m.queue[b].callFulfilled(g)}return m},n.reject=function(m,g){m.state=i,m.outcome=g;for(var M=-1,p=m.queue.length;++M<p;)m.queue[M].callRejected(g);return m},f.resolve=function(m){return m instanceof this?m:n.resolve(new this(s),m)},f.reject=function(m){var g=new this(s);return n.reject(g,m)},f.all=function(m){var g=this;if(Object.prototype.toString.call(m)!=="[object Array]")return this.reject(new TypeError("must be an array"));var M=m.length,p=!1;if(!M)return this.resolve([]);for(var b=new Array(M),y=0,I=-1,N=new this(s);++I<M;)R(m[I],I);return N;function R(B,Z){g.resolve(B).then(function(T){b[Z]=T,++y!==M||p||(p=!0,n.resolve(N,b))},function(T){p||(p=!0,n.reject(N,T))})}},f.race=function(m){var g=this;if(Object.prototype.toString.call(m)!=="[object Array]")return this.reject(new TypeError("must be an array"));var M=m.length,p=!1;if(!M)return this.resolve([]);for(var b=-1,y=new this(s);++b<M;)I=m[b],g.resolve(I).then(function(N){p||(p=!0,n.resolve(y,N))},function(N){p||(p=!0,n.reject(y,N))});var I;return y}},{immediate:36}],38:[function(e,r,t){"use strict";var a={};(0,e("./lib/utils/common").assign)(a,e("./lib/deflate"),e("./lib/inflate"),e("./lib/zlib/constants")),r.exports=a},{"./lib/deflate":39,"./lib/inflate":40,"./lib/utils/common":41,"./lib/zlib/constants":44}],39:[function(e,r,t){"use strict";var a=e("./zlib/deflate"),s=e("./utils/common"),n=e("./utils/strings"),i=e("./zlib/messages"),o=e("./zlib/zstream"),d=Object.prototype.toString,f=0,u=-1,l=0,k=8;function _(m){if(!(this instanceof _))return new _(m);this.options=s.assign({level:u,method:k,chunkSize:16384,windowBits:15,memLevel:8,strategy:l,to:""},m||{});var g=this.options;g.raw&&0<g.windowBits?g.windowBits=-g.windowBits:g.gzip&&0<g.windowBits&&g.windowBits<16&&(g.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new o,this.strm.avail_out=0;var M=a.deflateInit2(this.strm,g.level,g.method,g.windowBits,g.memLevel,g.strategy);if(M!==f)throw new Error(i[M]);if(g.header&&a.deflateSetHeader(this.strm,g.header),g.dictionary){var p;if(p=typeof g.dictionary=="string"?n.string2buf(g.dictionary):d.call(g.dictionary)==="[object ArrayBuffer]"?new Uint8Array(g.dictionary):g.dictionary,(M=a.deflateSetDictionary(this.strm,p))!==f)throw new Error(i[M]);this._dict_set=!0}}function v(m,g){var M=new _(g);if(M.push(m,!0),M.err)throw M.msg||i[M.err];return M.result}_.prototype.push=function(m,g){var M,p,b=this.strm,y=this.options.chunkSize;if(this.ended)return!1;p=g===~~g?g:g===!0?4:0,typeof m=="string"?b.input=n.string2buf(m):d.call(m)==="[object ArrayBuffer]"?b.input=new Uint8Array(m):b.input=m,b.next_in=0,b.avail_in=b.input.length;do{if(b.avail_out===0&&(b.output=new s.Buf8(y),b.next_out=0,b.avail_out=y),(M=a.deflate(b,p))!==1&&M!==f)return this.onEnd(M),!(this.ended=!0);b.avail_out!==0&&(b.avail_in!==0||p!==4&&p!==2)||(this.options.to==="string"?this.onData(n.buf2binstring(s.shrinkBuf(b.output,b.next_out))):this.onData(s.shrinkBuf(b.output,b.next_out)))}while((0<b.avail_in||b.avail_out===0)&&M!==1);return p===4?(M=a.deflateEnd(this.strm),this.onEnd(M),this.ended=!0,M===f):p!==2||(this.onEnd(f),!(b.avail_out=0))},_.prototype.onData=function(m){this.chunks.push(m)},_.prototype.onEnd=function(m){m===f&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=s.flattenChunks(this.chunks)),this.chunks=[],this.err=m,this.msg=this.strm.msg},t.Deflate=_,t.deflate=v,t.deflateRaw=function(m,g){return(g=g||{}).raw=!0,v(m,g)},t.gzip=function(m,g){return(g=g||{}).gzip=!0,v(m,g)}},{"./utils/common":41,"./utils/strings":42,"./zlib/deflate":46,"./zlib/messages":51,"./zlib/zstream":53}],40:[function(e,r,t){"use strict";var a=e("./zlib/inflate"),s=e("./utils/common"),n=e("./utils/strings"),i=e("./zlib/constants"),o=e("./zlib/messages"),d=e("./zlib/zstream"),f=e("./zlib/gzheader"),u=Object.prototype.toString;function l(_){if(!(this instanceof l))return new l(_);this.options=s.assign({chunkSize:16384,windowBits:0,to:""},_||{});var v=this.options;v.raw&&0<=v.windowBits&&v.windowBits<16&&(v.windowBits=-v.windowBits,v.windowBits===0&&(v.windowBits=-15)),!(0<=v.windowBits&&v.windowBits<16)||_&&_.windowBits||(v.windowBits+=32),15<v.windowBits&&v.windowBits<48&&(15&v.windowBits)==0&&(v.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new d,this.strm.avail_out=0;var m=a.inflateInit2(this.strm,v.windowBits);if(m!==i.Z_OK)throw new Error(o[m]);this.header=new f,a.inflateGetHeader(this.strm,this.header)}function k(_,v){var m=new l(v);if(m.push(_,!0),m.err)throw m.msg||o[m.err];return m.result}l.prototype.push=function(_,v){var m,g,M,p,b,y,I=this.strm,N=this.options.chunkSize,R=this.options.dictionary,B=!1;if(this.ended)return!1;g=v===~~v?v:v===!0?i.Z_FINISH:i.Z_NO_FLUSH,typeof _=="string"?I.input=n.binstring2buf(_):u.call(_)==="[object ArrayBuffer]"?I.input=new Uint8Array(_):I.input=_,I.next_in=0,I.avail_in=I.input.length;do{if(I.avail_out===0&&(I.output=new s.Buf8(N),I.next_out=0,I.avail_out=N),(m=a.inflate(I,i.Z_NO_FLUSH))===i.Z_NEED_DICT&&R&&(y=typeof R=="string"?n.string2buf(R):u.call(R)==="[object ArrayBuffer]"?new Uint8Array(R):R,m=a.inflateSetDictionary(this.strm,y)),m===i.Z_BUF_ERROR&&B===!0&&(m=i.Z_OK,B=!1),m!==i.Z_STREAM_END&&m!==i.Z_OK)return this.onEnd(m),!(this.ended=!0);I.next_out&&(I.avail_out!==0&&m!==i.Z_STREAM_END&&(I.avail_in!==0||g!==i.Z_FINISH&&g!==i.Z_SYNC_FLUSH)||(this.options.to==="string"?(M=n.utf8border(I.output,I.next_out),p=I.next_out-M,b=n.buf2string(I.output,M),I.next_out=p,I.avail_out=N-p,p&&s.arraySet(I.output,I.output,M,p,0),this.onData(b)):this.onData(s.shrinkBuf(I.output,I.next_out)))),I.avail_in===0&&I.avail_out===0&&(B=!0)}while((0<I.avail_in||I.avail_out===0)&&m!==i.Z_STREAM_END);return m===i.Z_STREAM_END&&(g=i.Z_FINISH),g===i.Z_FINISH?(m=a.inflateEnd(this.strm),this.onEnd(m),this.ended=!0,m===i.Z_OK):g!==i.Z_SYNC_FLUSH||(this.onEnd(i.Z_OK),!(I.avail_out=0))},l.prototype.onData=function(_){this.chunks.push(_)},l.prototype.onEnd=function(_){_===i.Z_OK&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=s.flattenChunks(this.chunks)),this.chunks=[],this.err=_,this.msg=this.strm.msg},t.Inflate=l,t.inflate=k,t.inflateRaw=function(_,v){return(v=v||{}).raw=!0,k(_,v)},t.ungzip=k},{"./utils/common":41,"./utils/strings":42,"./zlib/constants":44,"./zlib/gzheader":47,"./zlib/inflate":49,"./zlib/messages":51,"./zlib/zstream":53}],41:[function(e,r,t){"use strict";var a=typeof Uint8Array!="undefined"&&typeof Uint16Array!="undefined"&&typeof Int32Array!="undefined";t.assign=function(i){for(var o=Array.prototype.slice.call(arguments,1);o.length;){var d=o.shift();if(d){if(typeof d!="object")throw new TypeError(d+"must be non-object");for(var f in d)d.hasOwnProperty(f)&&(i[f]=d[f])}}return i},t.shrinkBuf=function(i,o){return i.length===o?i:i.subarray?i.subarray(0,o):(i.length=o,i)};var s={arraySet:function(i,o,d,f,u){if(o.subarray&&i.subarray)i.set(o.subarray(d,d+f),u);else for(var l=0;l<f;l++)i[u+l]=o[d+l]},flattenChunks:function(i){var o,d,f,u,l,k;for(o=f=0,d=i.length;o<d;o++)f+=i[o].length;for(k=new Uint8Array(f),o=u=0,d=i.length;o<d;o++)l=i[o],k.set(l,u),u+=l.length;return k}},n={arraySet:function(i,o,d,f,u){for(var l=0;l<f;l++)i[u+l]=o[d+l]},flattenChunks:function(i){return[].concat.apply([],i)}};t.setTyped=function(i){i?(t.Buf8=Uint8Array,t.Buf16=Uint16Array,t.Buf32=Int32Array,t.assign(t,s)):(t.Buf8=Array,t.Buf16=Array,t.Buf32=Array,t.assign(t,n))},t.setTyped(a)},{}],42:[function(e,r,t){"use strict";var a=e("./common"),s=!0,n=!0;try{String.fromCharCode.apply(null,[0])}catch{s=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch{n=!1}for(var i=new a.Buf8(256),o=0;o<256;o++)i[o]=252<=o?6:248<=o?5:240<=o?4:224<=o?3:192<=o?2:1;function d(f,u){if(u<65537&&(f.subarray&&n||!f.subarray&&s))return String.fromCharCode.apply(null,a.shrinkBuf(f,u));for(var l="",k=0;k<u;k++)l+=String.fromCharCode(f[k]);return l}i[254]=i[254]=1,t.string2buf=function(f){var u,l,k,_,v,m=f.length,g=0;for(_=0;_<m;_++)(64512&(l=f.charCodeAt(_)))==55296&&_+1<m&&(64512&(k=f.charCodeAt(_+1)))==56320&&(l=65536+(l-55296<<10)+(k-56320),_++),g+=l<128?1:l<2048?2:l<65536?3:4;for(u=new a.Buf8(g),_=v=0;v<g;_++)(64512&(l=f.charCodeAt(_)))==55296&&_+1<m&&(64512&(k=f.charCodeAt(_+1)))==56320&&(l=65536+(l-55296<<10)+(k-56320),_++),l<128?u[v++]=l:(l<2048?u[v++]=192|l>>>6:(l<65536?u[v++]=224|l>>>12:(u[v++]=240|l>>>18,u[v++]=128|l>>>12&63),u[v++]=128|l>>>6&63),u[v++]=128|63&l);return u},t.buf2binstring=function(f){return d(f,f.length)},t.binstring2buf=function(f){for(var u=new a.Buf8(f.length),l=0,k=u.length;l<k;l++)u[l]=f.charCodeAt(l);return u},t.buf2string=function(f,u){var l,k,_,v,m=u||f.length,g=new Array(2*m);for(l=k=0;l<m;)if((_=f[l++])<128)g[k++]=_;else if(4<(v=i[_]))g[k++]=65533,l+=v-1;else{for(_&=v===2?31:v===3?15:7;1<v&&l<m;)_=_<<6|63&f[l++],v--;1<v?g[k++]=65533:_<65536?g[k++]=_:(_-=65536,g[k++]=55296|_>>10&1023,g[k++]=56320|1023&_)}return d(g,k)},t.utf8border=function(f,u){var l;for((u=u||f.length)>f.length&&(u=f.length),l=u-1;0<=l&&(192&f[l])==128;)l--;return l<0||l===0?u:l+i[f[l]]>u?l:u}},{"./common":41}],43:[function(e,r,t){"use strict";r.exports=function(a,s,n,i){for(var o=65535&a|0,d=a>>>16&65535|0,f=0;n!==0;){for(n-=f=2e3<n?2e3:n;d=d+(o=o+s[i++]|0)|0,--f;);o%=65521,d%=65521}return o|d<<16|0}},{}],44:[function(e,r,t){"use strict";r.exports={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8}},{}],45:[function(e,r,t){"use strict";var a=(function(){for(var s,n=[],i=0;i<256;i++){s=i;for(var o=0;o<8;o++)s=1&s?3988292384^s>>>1:s>>>1;n[i]=s}return n})();r.exports=function(s,n,i,o){var d=a,f=o+i;s^=-1;for(var u=o;u<f;u++)s=s>>>8^d[255&(s^n[u])];return-1^s}},{}],46:[function(e,r,t){"use strict";var a,s=e("../utils/common"),n=e("./trees"),i=e("./adler32"),o=e("./crc32"),d=e("./messages"),f=0,u=4,l=0,k=-2,_=-1,v=4,m=2,g=8,M=9,p=286,b=30,y=19,I=2*p+1,N=15,R=3,B=258,Z=B+R+1,T=42,C=113,P=1,J=2,re=3,Q=4;function ae(S,Ee){return S.msg=d[Ee],Ee}function X(S){return(S<<1)-(4<S?9:0)}function V(S){for(var Ee=S.length;0<=--Ee;)S[Ee]=0}function H(S){var Ee=S.state,pe=Ee.pending;pe>S.avail_out&&(pe=S.avail_out),pe!==0&&(s.arraySet(S.output,Ee.pending_buf,Ee.pending_out,pe,S.next_out),S.next_out+=pe,Ee.pending_out+=pe,S.total_out+=pe,S.avail_out-=pe,Ee.pending-=pe,Ee.pending===0&&(Ee.pending_out=0))}function A(S,Ee){n._tr_flush_block(S,0<=S.block_start?S.block_start:-1,S.strstart-S.block_start,Ee),S.block_start=S.strstart,H(S.strm)}function ge(S,Ee){S.pending_buf[S.pending++]=Ee}function me(S,Ee){S.pending_buf[S.pending++]=Ee>>>8&255,S.pending_buf[S.pending++]=255&Ee}function c(S,Ee){var pe,Y,z=S.max_chain_length,j=S.strstart,be=S.prev_length,Le=S.nice_match,E=S.strstart>S.w_size-Z?S.strstart-(S.w_size-Z):0,Be=S.window,We=S.w_mask,xe=S.prev,ht=S.strstart+B,Yt=Be[j+be-1],Bt=Be[j+be];S.prev_length>=S.good_match&&(z>>=2),Le>S.lookahead&&(Le=S.lookahead);do if(Be[(pe=Ee)+be]===Bt&&Be[pe+be-1]===Yt&&Be[pe]===Be[j]&&Be[++pe]===Be[j+1]){j+=2,pe++;do;while(Be[++j]===Be[++pe]&&Be[++j]===Be[++pe]&&Be[++j]===Be[++pe]&&Be[++j]===Be[++pe]&&Be[++j]===Be[++pe]&&Be[++j]===Be[++pe]&&Be[++j]===Be[++pe]&&Be[++j]===Be[++pe]&&j<ht);if(Y=B-(ht-j),j=ht-B,be<Y){if(S.match_start=Ee,Le<=(be=Y))break;Yt=Be[j+be-1],Bt=Be[j+be]}}while((Ee=xe[Ee&We])>E&&--z!=0);return be<=S.lookahead?be:S.lookahead}function h(S){var Ee,pe,Y,z,j,be,Le,E,Be,We,xe=S.w_size;do{if(z=S.window_size-S.lookahead-S.strstart,S.strstart>=xe+(xe-Z)){for(s.arraySet(S.window,S.window,xe,xe,0),S.match_start-=xe,S.strstart-=xe,S.block_start-=xe,Ee=pe=S.hash_size;Y=S.head[--Ee],S.head[Ee]=xe<=Y?Y-xe:0,--pe;);for(Ee=pe=xe;Y=S.prev[--Ee],S.prev[Ee]=xe<=Y?Y-xe:0,--pe;);z+=xe}if(S.strm.avail_in===0)break;if(be=S.strm,Le=S.window,E=S.strstart+S.lookahead,Be=z,We=void 0,We=be.avail_in,Be<We&&(We=Be),pe=We===0?0:(be.avail_in-=We,s.arraySet(Le,be.input,be.next_in,We,E),be.state.wrap===1?be.adler=i(be.adler,Le,We,E):be.state.wrap===2&&(be.adler=o(be.adler,Le,We,E)),be.next_in+=We,be.total_in+=We,We),S.lookahead+=pe,S.lookahead+S.insert>=R)for(j=S.strstart-S.insert,S.ins_h=S.window[j],S.ins_h=(S.ins_h<<S.hash_shift^S.window[j+1])&S.hash_mask;S.insert&&(S.ins_h=(S.ins_h<<S.hash_shift^S.window[j+R-1])&S.hash_mask,S.prev[j&S.w_mask]=S.head[S.ins_h],S.head[S.ins_h]=j,j++,S.insert--,!(S.lookahead+S.insert<R)););}while(S.lookahead<Z&&S.strm.avail_in!==0)}function De(S,Ee){for(var pe,Y;;){if(S.lookahead<Z){if(h(S),S.lookahead<Z&&Ee===f)return P;if(S.lookahead===0)break}if(pe=0,S.lookahead>=R&&(S.ins_h=(S.ins_h<<S.hash_shift^S.window[S.strstart+R-1])&S.hash_mask,pe=S.prev[S.strstart&S.w_mask]=S.head[S.ins_h],S.head[S.ins_h]=S.strstart),pe!==0&&S.strstart-pe<=S.w_size-Z&&(S.match_length=c(S,pe)),S.match_length>=R)if(Y=n._tr_tally(S,S.strstart-S.match_start,S.match_length-R),S.lookahead-=S.match_length,S.match_length<=S.max_lazy_match&&S.lookahead>=R){for(S.match_length--;S.strstart++,S.ins_h=(S.ins_h<<S.hash_shift^S.window[S.strstart+R-1])&S.hash_mask,pe=S.prev[S.strstart&S.w_mask]=S.head[S.ins_h],S.head[S.ins_h]=S.strstart,--S.match_length!=0;);S.strstart++}else S.strstart+=S.match_length,S.match_length=0,S.ins_h=S.window[S.strstart],S.ins_h=(S.ins_h<<S.hash_shift^S.window[S.strstart+1])&S.hash_mask;else Y=n._tr_tally(S,0,S.window[S.strstart]),S.lookahead--,S.strstart++;if(Y&&(A(S,!1),S.strm.avail_out===0))return P}return S.insert=S.strstart<R-1?S.strstart:R-1,Ee===u?(A(S,!0),S.strm.avail_out===0?re:Q):S.last_lit&&(A(S,!1),S.strm.avail_out===0)?P:J}function Ue(S,Ee){for(var pe,Y,z;;){if(S.lookahead<Z){if(h(S),S.lookahead<Z&&Ee===f)return P;if(S.lookahead===0)break}if(pe=0,S.lookahead>=R&&(S.ins_h=(S.ins_h<<S.hash_shift^S.window[S.strstart+R-1])&S.hash_mask,pe=S.prev[S.strstart&S.w_mask]=S.head[S.ins_h],S.head[S.ins_h]=S.strstart),S.prev_length=S.match_length,S.prev_match=S.match_start,S.match_length=R-1,pe!==0&&S.prev_length<S.max_lazy_match&&S.strstart-pe<=S.w_size-Z&&(S.match_length=c(S,pe),S.match_length<=5&&(S.strategy===1||S.match_length===R&&4096<S.strstart-S.match_start)&&(S.match_length=R-1)),S.prev_length>=R&&S.match_length<=S.prev_length){for(z=S.strstart+S.lookahead-R,Y=n._tr_tally(S,S.strstart-1-S.prev_match,S.prev_length-R),S.lookahead-=S.prev_length-1,S.prev_length-=2;++S.strstart<=z&&(S.ins_h=(S.ins_h<<S.hash_shift^S.window[S.strstart+R-1])&S.hash_mask,pe=S.prev[S.strstart&S.w_mask]=S.head[S.ins_h],S.head[S.ins_h]=S.strstart),--S.prev_length!=0;);if(S.match_available=0,S.match_length=R-1,S.strstart++,Y&&(A(S,!1),S.strm.avail_out===0))return P}else if(S.match_available){if((Y=n._tr_tally(S,0,S.window[S.strstart-1]))&&A(S,!1),S.strstart++,S.lookahead--,S.strm.avail_out===0)return P}else S.match_available=1,S.strstart++,S.lookahead--}return S.match_available&&(Y=n._tr_tally(S,0,S.window[S.strstart-1]),S.match_available=0),S.insert=S.strstart<R-1?S.strstart:R-1,Ee===u?(A(S,!0),S.strm.avail_out===0?re:Q):S.last_lit&&(A(S,!1),S.strm.avail_out===0)?P:J}function ee(S,Ee,pe,Y,z){this.good_length=S,this.max_lazy=Ee,this.nice_length=pe,this.max_chain=Y,this.func=z}function fe(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=g,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new s.Buf16(2*I),this.dyn_dtree=new s.Buf16(2*(2*b+1)),this.bl_tree=new s.Buf16(2*(2*y+1)),V(this.dyn_ltree),V(this.dyn_dtree),V(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new s.Buf16(N+1),this.heap=new s.Buf16(2*p+1),V(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new s.Buf16(2*p+1),V(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}function oe(S){var Ee;return S&&S.state?(S.total_in=S.total_out=0,S.data_type=m,(Ee=S.state).pending=0,Ee.pending_out=0,Ee.wrap<0&&(Ee.wrap=-Ee.wrap),Ee.status=Ee.wrap?T:C,S.adler=Ee.wrap===2?0:1,Ee.last_flush=f,n._tr_init(Ee),l):ae(S,k)}function kt(S){var Ee=oe(S);return Ee===l&&(function(pe){pe.window_size=2*pe.w_size,V(pe.head),pe.max_lazy_match=a[pe.level].max_lazy,pe.good_match=a[pe.level].good_length,pe.nice_match=a[pe.level].nice_length,pe.max_chain_length=a[pe.level].max_chain,pe.strstart=0,pe.block_start=0,pe.lookahead=0,pe.insert=0,pe.match_length=pe.prev_length=R-1,pe.match_available=0,pe.ins_h=0})(S.state),Ee}function dt(S,Ee,pe,Y,z,j){if(!S)return k;var be=1;if(Ee===_&&(Ee=6),Y<0?(be=0,Y=-Y):15<Y&&(be=2,Y-=16),z<1||M<z||pe!==g||Y<8||15<Y||Ee<0||9<Ee||j<0||v<j)return ae(S,k);Y===8&&(Y=9);var Le=new fe;return(S.state=Le).strm=S,Le.wrap=be,Le.gzhead=null,Le.w_bits=Y,Le.w_size=1<<Le.w_bits,Le.w_mask=Le.w_size-1,Le.hash_bits=z+7,Le.hash_size=1<<Le.hash_bits,Le.hash_mask=Le.hash_size-1,Le.hash_shift=~~((Le.hash_bits+R-1)/R),Le.window=new s.Buf8(2*Le.w_size),Le.head=new s.Buf16(Le.hash_size),Le.prev=new s.Buf16(Le.w_size),Le.lit_bufsize=1<<z+6,Le.pending_buf_size=4*Le.lit_bufsize,Le.pending_buf=new s.Buf8(Le.pending_buf_size),Le.d_buf=1*Le.lit_bufsize,Le.l_buf=3*Le.lit_bufsize,Le.level=Ee,Le.strategy=j,Le.method=pe,kt(S)}a=[new ee(0,0,0,0,function(S,Ee){var pe=65535;for(pe>S.pending_buf_size-5&&(pe=S.pending_buf_size-5);;){if(S.lookahead<=1){if(h(S),S.lookahead===0&&Ee===f)return P;if(S.lookahead===0)break}S.strstart+=S.lookahead,S.lookahead=0;var Y=S.block_start+pe;if((S.strstart===0||S.strstart>=Y)&&(S.lookahead=S.strstart-Y,S.strstart=Y,A(S,!1),S.strm.avail_out===0)||S.strstart-S.block_start>=S.w_size-Z&&(A(S,!1),S.strm.avail_out===0))return P}return S.insert=0,Ee===u?(A(S,!0),S.strm.avail_out===0?re:Q):(S.strstart>S.block_start&&(A(S,!1),S.strm.avail_out),P)}),new ee(4,4,8,4,De),new ee(4,5,16,8,De),new ee(4,6,32,32,De),new ee(4,4,16,16,Ue),new ee(8,16,32,32,Ue),new ee(8,16,128,128,Ue),new ee(8,32,128,256,Ue),new ee(32,128,258,1024,Ue),new ee(32,258,258,4096,Ue)],t.deflateInit=function(S,Ee){return dt(S,Ee,g,15,8,0)},t.deflateInit2=dt,t.deflateReset=kt,t.deflateResetKeep=oe,t.deflateSetHeader=function(S,Ee){return S&&S.state?S.state.wrap!==2?k:(S.state.gzhead=Ee,l):k},t.deflate=function(S,Ee){var pe,Y,z,j;if(!S||!S.state||5<Ee||Ee<0)return S?ae(S,k):k;if(Y=S.state,!S.output||!S.input&&S.avail_in!==0||Y.status===666&&Ee!==u)return ae(S,S.avail_out===0?-5:k);if(Y.strm=S,pe=Y.last_flush,Y.last_flush=Ee,Y.status===T)if(Y.wrap===2)S.adler=0,ge(Y,31),ge(Y,139),ge(Y,8),Y.gzhead?(ge(Y,(Y.gzhead.text?1:0)+(Y.gzhead.hcrc?2:0)+(Y.gzhead.extra?4:0)+(Y.gzhead.name?8:0)+(Y.gzhead.comment?16:0)),ge(Y,255&Y.gzhead.time),ge(Y,Y.gzhead.time>>8&255),ge(Y,Y.gzhead.time>>16&255),ge(Y,Y.gzhead.time>>24&255),ge(Y,Y.level===9?2:2<=Y.strategy||Y.level<2?4:0),ge(Y,255&Y.gzhead.os),Y.gzhead.extra&&Y.gzhead.extra.length&&(ge(Y,255&Y.gzhead.extra.length),ge(Y,Y.gzhead.extra.length>>8&255)),Y.gzhead.hcrc&&(S.adler=o(S.adler,Y.pending_buf,Y.pending,0)),Y.gzindex=0,Y.status=69):(ge(Y,0),ge(Y,0),ge(Y,0),ge(Y,0),ge(Y,0),ge(Y,Y.level===9?2:2<=Y.strategy||Y.level<2?4:0),ge(Y,3),Y.status=C);else{var be=g+(Y.w_bits-8<<4)<<8;be|=(2<=Y.strategy||Y.level<2?0:Y.level<6?1:Y.level===6?2:3)<<6,Y.strstart!==0&&(be|=32),be+=31-be%31,Y.status=C,me(Y,be),Y.strstart!==0&&(me(Y,S.adler>>>16),me(Y,65535&S.adler)),S.adler=1}if(Y.status===69)if(Y.gzhead.extra){for(z=Y.pending;Y.gzindex<(65535&Y.gzhead.extra.length)&&(Y.pending!==Y.pending_buf_size||(Y.gzhead.hcrc&&Y.pending>z&&(S.adler=o(S.adler,Y.pending_buf,Y.pending-z,z)),H(S),z=Y.pending,Y.pending!==Y.pending_buf_size));)ge(Y,255&Y.gzhead.extra[Y.gzindex]),Y.gzindex++;Y.gzhead.hcrc&&Y.pending>z&&(S.adler=o(S.adler,Y.pending_buf,Y.pending-z,z)),Y.gzindex===Y.gzhead.extra.length&&(Y.gzindex=0,Y.status=73)}else Y.status=73;if(Y.status===73)if(Y.gzhead.name){z=Y.pending;do{if(Y.pending===Y.pending_buf_size&&(Y.gzhead.hcrc&&Y.pending>z&&(S.adler=o(S.adler,Y.pending_buf,Y.pending-z,z)),H(S),z=Y.pending,Y.pending===Y.pending_buf_size)){j=1;break}j=Y.gzindex<Y.gzhead.name.length?255&Y.gzhead.name.charCodeAt(Y.gzindex++):0,ge(Y,j)}while(j!==0);Y.gzhead.hcrc&&Y.pending>z&&(S.adler=o(S.adler,Y.pending_buf,Y.pending-z,z)),j===0&&(Y.gzindex=0,Y.status=91)}else Y.status=91;if(Y.status===91)if(Y.gzhead.comment){z=Y.pending;do{if(Y.pending===Y.pending_buf_size&&(Y.gzhead.hcrc&&Y.pending>z&&(S.adler=o(S.adler,Y.pending_buf,Y.pending-z,z)),H(S),z=Y.pending,Y.pending===Y.pending_buf_size)){j=1;break}j=Y.gzindex<Y.gzhead.comment.length?255&Y.gzhead.comment.charCodeAt(Y.gzindex++):0,ge(Y,j)}while(j!==0);Y.gzhead.hcrc&&Y.pending>z&&(S.adler=o(S.adler,Y.pending_buf,Y.pending-z,z)),j===0&&(Y.status=103)}else Y.status=103;if(Y.status===103&&(Y.gzhead.hcrc?(Y.pending+2>Y.pending_buf_size&&H(S),Y.pending+2<=Y.pending_buf_size&&(ge(Y,255&S.adler),ge(Y,S.adler>>8&255),S.adler=0,Y.status=C)):Y.status=C),Y.pending!==0){if(H(S),S.avail_out===0)return Y.last_flush=-1,l}else if(S.avail_in===0&&X(Ee)<=X(pe)&&Ee!==u)return ae(S,-5);if(Y.status===666&&S.avail_in!==0)return ae(S,-5);if(S.avail_in!==0||Y.lookahead!==0||Ee!==f&&Y.status!==666){var Le=Y.strategy===2?(function(E,Be){for(var We;;){if(E.lookahead===0&&(h(E),E.lookahead===0)){if(Be===f)return P;break}if(E.match_length=0,We=n._tr_tally(E,0,E.window[E.strstart]),E.lookahead--,E.strstart++,We&&(A(E,!1),E.strm.avail_out===0))return P}return E.insert=0,Be===u?(A(E,!0),E.strm.avail_out===0?re:Q):E.last_lit&&(A(E,!1),E.strm.avail_out===0)?P:J})(Y,Ee):Y.strategy===3?(function(E,Be){for(var We,xe,ht,Yt,Bt=E.window;;){if(E.lookahead<=B){if(h(E),E.lookahead<=B&&Be===f)return P;if(E.lookahead===0)break}if(E.match_length=0,E.lookahead>=R&&0<E.strstart&&(xe=Bt[ht=E.strstart-1])===Bt[++ht]&&xe===Bt[++ht]&&xe===Bt[++ht]){Yt=E.strstart+B;do;while(xe===Bt[++ht]&&xe===Bt[++ht]&&xe===Bt[++ht]&&xe===Bt[++ht]&&xe===Bt[++ht]&&xe===Bt[++ht]&&xe===Bt[++ht]&&xe===Bt[++ht]&&ht<Yt);E.match_length=B-(Yt-ht),E.match_length>E.lookahead&&(E.match_length=E.lookahead)}if(E.match_length>=R?(We=n._tr_tally(E,1,E.match_length-R),E.lookahead-=E.match_length,E.strstart+=E.match_length,E.match_length=0):(We=n._tr_tally(E,0,E.window[E.strstart]),E.lookahead--,E.strstart++),We&&(A(E,!1),E.strm.avail_out===0))return P}return E.insert=0,Be===u?(A(E,!0),E.strm.avail_out===0?re:Q):E.last_lit&&(A(E,!1),E.strm.avail_out===0)?P:J})(Y,Ee):a[Y.level].func(Y,Ee);if(Le!==re&&Le!==Q||(Y.status=666),Le===P||Le===re)return S.avail_out===0&&(Y.last_flush=-1),l;if(Le===J&&(Ee===1?n._tr_align(Y):Ee!==5&&(n._tr_stored_block(Y,0,0,!1),Ee===3&&(V(Y.head),Y.lookahead===0&&(Y.strstart=0,Y.block_start=0,Y.insert=0))),H(S),S.avail_out===0))return Y.last_flush=-1,l}return Ee!==u?l:Y.wrap<=0?1:(Y.wrap===2?(ge(Y,255&S.adler),ge(Y,S.adler>>8&255),ge(Y,S.adler>>16&255),ge(Y,S.adler>>24&255),ge(Y,255&S.total_in),ge(Y,S.total_in>>8&255),ge(Y,S.total_in>>16&255),ge(Y,S.total_in>>24&255)):(me(Y,S.adler>>>16),me(Y,65535&S.adler)),H(S),0<Y.wrap&&(Y.wrap=-Y.wrap),Y.pending!==0?l:1)},t.deflateEnd=function(S){var Ee;return S&&S.state?(Ee=S.state.status)!==T&&Ee!==69&&Ee!==73&&Ee!==91&&Ee!==103&&Ee!==C&&Ee!==666?ae(S,k):(S.state=null,Ee===C?ae(S,-3):l):k},t.deflateSetDictionary=function(S,Ee){var pe,Y,z,j,be,Le,E,Be,We=Ee.length;if(!S||!S.state||(j=(pe=S.state).wrap)===2||j===1&&pe.status!==T||pe.lookahead)return k;for(j===1&&(S.adler=i(S.adler,Ee,We,0)),pe.wrap=0,We>=pe.w_size&&(j===0&&(V(pe.head),pe.strstart=0,pe.block_start=0,pe.insert=0),Be=new s.Buf8(pe.w_size),s.arraySet(Be,Ee,We-pe.w_size,pe.w_size,0),Ee=Be,We=pe.w_size),be=S.avail_in,Le=S.next_in,E=S.input,S.avail_in=We,S.next_in=0,S.input=Ee,h(pe);pe.lookahead>=R;){for(Y=pe.strstart,z=pe.lookahead-(R-1);pe.ins_h=(pe.ins_h<<pe.hash_shift^pe.window[Y+R-1])&pe.hash_mask,pe.prev[Y&pe.w_mask]=pe.head[pe.ins_h],pe.head[pe.ins_h]=Y,Y++,--z;);pe.strstart=Y,pe.lookahead=R-1,h(pe)}return pe.strstart+=pe.lookahead,pe.block_start=pe.strstart,pe.insert=pe.lookahead,pe.lookahead=0,pe.match_length=pe.prev_length=R-1,pe.match_available=0,S.next_in=Le,S.input=E,S.avail_in=be,pe.wrap=j,l},t.deflateInfo="pako deflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./messages":51,"./trees":52}],47:[function(e,r,t){"use strict";r.exports=function(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}},{}],48:[function(e,r,t){"use strict";r.exports=function(a,s){var n,i,o,d,f,u,l,k,_,v,m,g,M,p,b,y,I,N,R,B,Z,T,C,P,J;n=a.state,i=a.next_in,P=a.input,o=i+(a.avail_in-5),d=a.next_out,J=a.output,f=d-(s-a.avail_out),u=d+(a.avail_out-257),l=n.dmax,k=n.wsize,_=n.whave,v=n.wnext,m=n.window,g=n.hold,M=n.bits,p=n.lencode,b=n.distcode,y=(1<<n.lenbits)-1,I=(1<<n.distbits)-1;e:do{M<15&&(g+=P[i++]<<M,M+=8,g+=P[i++]<<M,M+=8),N=p[g&y];t:for(;;){if(g>>>=R=N>>>24,M-=R,(R=N>>>16&255)===0)J[d++]=65535&N;else{if(!(16&R)){if((64&R)==0){N=p[(65535&N)+(g&(1<<R)-1)];continue t}if(32&R){n.mode=12;break e}a.msg="invalid literal/length code",n.mode=30;break e}B=65535&N,(R&=15)&&(M<R&&(g+=P[i++]<<M,M+=8),B+=g&(1<<R)-1,g>>>=R,M-=R),M<15&&(g+=P[i++]<<M,M+=8,g+=P[i++]<<M,M+=8),N=b[g&I];r:for(;;){if(g>>>=R=N>>>24,M-=R,!(16&(R=N>>>16&255))){if((64&R)==0){N=b[(65535&N)+(g&(1<<R)-1)];continue r}a.msg="invalid distance code",n.mode=30;break e}if(Z=65535&N,M<(R&=15)&&(g+=P[i++]<<M,(M+=8)<R&&(g+=P[i++]<<M,M+=8)),l<(Z+=g&(1<<R)-1)){a.msg="invalid distance too far back",n.mode=30;break e}if(g>>>=R,M-=R,(R=d-f)<Z){if(_<(R=Z-R)&&n.sane){a.msg="invalid distance too far back",n.mode=30;break e}if(C=m,(T=0)===v){if(T+=k-R,R<B){for(B-=R;J[d++]=m[T++],--R;);T=d-Z,C=J}}else if(v<R){if(T+=k+v-R,(R-=v)<B){for(B-=R;J[d++]=m[T++],--R;);if(T=0,v<B){for(B-=R=v;J[d++]=m[T++],--R;);T=d-Z,C=J}}}else if(T+=v-R,R<B){for(B-=R;J[d++]=m[T++],--R;);T=d-Z,C=J}for(;2<B;)J[d++]=C[T++],J[d++]=C[T++],J[d++]=C[T++],B-=3;B&&(J[d++]=C[T++],1<B&&(J[d++]=C[T++]))}else{for(T=d-Z;J[d++]=J[T++],J[d++]=J[T++],J[d++]=J[T++],2<(B-=3););B&&(J[d++]=J[T++],1<B&&(J[d++]=J[T++]))}break}}break}}while(i<o&&d<u);i-=B=M>>3,g&=(1<<(M-=B<<3))-1,a.next_in=i,a.next_out=d,a.avail_in=i<o?o-i+5:5-(i-o),a.avail_out=d<u?u-d+257:257-(d-u),n.hold=g,n.bits=M}},{}],49:[function(e,r,t){"use strict";var a=e("../utils/common"),s=e("./adler32"),n=e("./crc32"),i=e("./inffast"),o=e("./inftrees"),d=1,f=2,u=0,l=-2,k=1,_=852,v=592;function m(T){return(T>>>24&255)+(T>>>8&65280)+((65280&T)<<8)+((255&T)<<24)}function g(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new a.Buf16(320),this.work=new a.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function M(T){var C;return T&&T.state?(C=T.state,T.total_in=T.total_out=C.total=0,T.msg="",C.wrap&&(T.adler=1&C.wrap),C.mode=k,C.last=0,C.havedict=0,C.dmax=32768,C.head=null,C.hold=0,C.bits=0,C.lencode=C.lendyn=new a.Buf32(_),C.distcode=C.distdyn=new a.Buf32(v),C.sane=1,C.back=-1,u):l}function p(T){var C;return T&&T.state?((C=T.state).wsize=0,C.whave=0,C.wnext=0,M(T)):l}function b(T,C){var P,J;return T&&T.state?(J=T.state,C<0?(P=0,C=-C):(P=1+(C>>4),C<48&&(C&=15)),C&&(C<8||15<C)?l:(J.window!==null&&J.wbits!==C&&(J.window=null),J.wrap=P,J.wbits=C,p(T))):l}function y(T,C){var P,J;return T?(J=new g,(T.state=J).window=null,(P=b(T,C))!==u&&(T.state=null),P):l}var I,N,R=!0;function B(T){if(R){var C;for(I=new a.Buf32(512),N=new a.Buf32(32),C=0;C<144;)T.lens[C++]=8;for(;C<256;)T.lens[C++]=9;for(;C<280;)T.lens[C++]=7;for(;C<288;)T.lens[C++]=8;for(o(d,T.lens,0,288,I,0,T.work,{bits:9}),C=0;C<32;)T.lens[C++]=5;o(f,T.lens,0,32,N,0,T.work,{bits:5}),R=!1}T.lencode=I,T.lenbits=9,T.distcode=N,T.distbits=5}function Z(T,C,P,J){var re,Q=T.state;return Q.window===null&&(Q.wsize=1<<Q.wbits,Q.wnext=0,Q.whave=0,Q.window=new a.Buf8(Q.wsize)),J>=Q.wsize?(a.arraySet(Q.window,C,P-Q.wsize,Q.wsize,0),Q.wnext=0,Q.whave=Q.wsize):(J<(re=Q.wsize-Q.wnext)&&(re=J),a.arraySet(Q.window,C,P-J,re,Q.wnext),(J-=re)?(a.arraySet(Q.window,C,P-J,J,0),Q.wnext=J,Q.whave=Q.wsize):(Q.wnext+=re,Q.wnext===Q.wsize&&(Q.wnext=0),Q.whave<Q.wsize&&(Q.whave+=re))),0}t.inflateReset=p,t.inflateReset2=b,t.inflateResetKeep=M,t.inflateInit=function(T){return y(T,15)},t.inflateInit2=y,t.inflate=function(T,C){var P,J,re,Q,ae,X,V,H,A,ge,me,c,h,De,Ue,ee,fe,oe,kt,dt,S,Ee,pe,Y,z=0,j=new a.Buf8(4),be=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!T||!T.state||!T.output||!T.input&&T.avail_in!==0)return l;(P=T.state).mode===12&&(P.mode=13),ae=T.next_out,re=T.output,V=T.avail_out,Q=T.next_in,J=T.input,X=T.avail_in,H=P.hold,A=P.bits,ge=X,me=V,Ee=u;e:for(;;)switch(P.mode){case k:if(P.wrap===0){P.mode=13;break}for(;A<16;){if(X===0)break e;X--,H+=J[Q++]<<A,A+=8}if(2&P.wrap&&H===35615){j[P.check=0]=255&H,j[1]=H>>>8&255,P.check=n(P.check,j,2,0),A=H=0,P.mode=2;break}if(P.flags=0,P.head&&(P.head.done=!1),!(1&P.wrap)||(((255&H)<<8)+(H>>8))%31){T.msg="incorrect header check",P.mode=30;break}if((15&H)!=8){T.msg="unknown compression method",P.mode=30;break}if(A-=4,S=8+(15&(H>>>=4)),P.wbits===0)P.wbits=S;else if(S>P.wbits){T.msg="invalid window size",P.mode=30;break}P.dmax=1<<S,T.adler=P.check=1,P.mode=512&H?10:12,A=H=0;break;case 2:for(;A<16;){if(X===0)break e;X--,H+=J[Q++]<<A,A+=8}if(P.flags=H,(255&P.flags)!=8){T.msg="unknown compression method",P.mode=30;break}if(57344&P.flags){T.msg="unknown header flags set",P.mode=30;break}P.head&&(P.head.text=H>>8&1),512&P.flags&&(j[0]=255&H,j[1]=H>>>8&255,P.check=n(P.check,j,2,0)),A=H=0,P.mode=3;case 3:for(;A<32;){if(X===0)break e;X--,H+=J[Q++]<<A,A+=8}P.head&&(P.head.time=H),512&P.flags&&(j[0]=255&H,j[1]=H>>>8&255,j[2]=H>>>16&255,j[3]=H>>>24&255,P.check=n(P.check,j,4,0)),A=H=0,P.mode=4;case 4:for(;A<16;){if(X===0)break e;X--,H+=J[Q++]<<A,A+=8}P.head&&(P.head.xflags=255&H,P.head.os=H>>8),512&P.flags&&(j[0]=255&H,j[1]=H>>>8&255,P.check=n(P.check,j,2,0)),A=H=0,P.mode=5;case 5:if(1024&P.flags){for(;A<16;){if(X===0)break e;X--,H+=J[Q++]<<A,A+=8}P.length=H,P.head&&(P.head.extra_len=H),512&P.flags&&(j[0]=255&H,j[1]=H>>>8&255,P.check=n(P.check,j,2,0)),A=H=0}else P.head&&(P.head.extra=null);P.mode=6;case 6:if(1024&P.flags&&(X<(c=P.length)&&(c=X),c&&(P.head&&(S=P.head.extra_len-P.length,P.head.extra||(P.head.extra=new Array(P.head.extra_len)),a.arraySet(P.head.extra,J,Q,c,S)),512&P.flags&&(P.check=n(P.check,J,c,Q)),X-=c,Q+=c,P.length-=c),P.length))break e;P.length=0,P.mode=7;case 7:if(2048&P.flags){if(X===0)break e;for(c=0;S=J[Q+c++],P.head&&S&&P.length<65536&&(P.head.name+=String.fromCharCode(S)),S&&c<X;);if(512&P.flags&&(P.check=n(P.check,J,c,Q)),X-=c,Q+=c,S)break e}else P.head&&(P.head.name=null);P.length=0,P.mode=8;case 8:if(4096&P.flags){if(X===0)break e;for(c=0;S=J[Q+c++],P.head&&S&&P.length<65536&&(P.head.comment+=String.fromCharCode(S)),S&&c<X;);if(512&P.flags&&(P.check=n(P.check,J,c,Q)),X-=c,Q+=c,S)break e}else P.head&&(P.head.comment=null);P.mode=9;case 9:if(512&P.flags){for(;A<16;){if(X===0)break e;X--,H+=J[Q++]<<A,A+=8}if(H!==(65535&P.check)){T.msg="header crc mismatch",P.mode=30;break}A=H=0}P.head&&(P.head.hcrc=P.flags>>9&1,P.head.done=!0),T.adler=P.check=0,P.mode=12;break;case 10:for(;A<32;){if(X===0)break e;X--,H+=J[Q++]<<A,A+=8}T.adler=P.check=m(H),A=H=0,P.mode=11;case 11:if(P.havedict===0)return T.next_out=ae,T.avail_out=V,T.next_in=Q,T.avail_in=X,P.hold=H,P.bits=A,2;T.adler=P.check=1,P.mode=12;case 12:if(C===5||C===6)break e;case 13:if(P.last){H>>>=7&A,A-=7&A,P.mode=27;break}for(;A<3;){if(X===0)break e;X--,H+=J[Q++]<<A,A+=8}switch(P.last=1&H,A-=1,3&(H>>>=1)){case 0:P.mode=14;break;case 1:if(B(P),P.mode=20,C!==6)break;H>>>=2,A-=2;break e;case 2:P.mode=17;break;case 3:T.msg="invalid block type",P.mode=30}H>>>=2,A-=2;break;case 14:for(H>>>=7&A,A-=7&A;A<32;){if(X===0)break e;X--,H+=J[Q++]<<A,A+=8}if((65535&H)!=(H>>>16^65535)){T.msg="invalid stored block lengths",P.mode=30;break}if(P.length=65535&H,A=H=0,P.mode=15,C===6)break e;case 15:P.mode=16;case 16:if(c=P.length){if(X<c&&(c=X),V<c&&(c=V),c===0)break e;a.arraySet(re,J,Q,c,ae),X-=c,Q+=c,V-=c,ae+=c,P.length-=c;break}P.mode=12;break;case 17:for(;A<14;){if(X===0)break e;X--,H+=J[Q++]<<A,A+=8}if(P.nlen=257+(31&H),H>>>=5,A-=5,P.ndist=1+(31&H),H>>>=5,A-=5,P.ncode=4+(15&H),H>>>=4,A-=4,286<P.nlen||30<P.ndist){T.msg="too many length or distance symbols",P.mode=30;break}P.have=0,P.mode=18;case 18:for(;P.have<P.ncode;){for(;A<3;){if(X===0)break e;X--,H+=J[Q++]<<A,A+=8}P.lens[be[P.have++]]=7&H,H>>>=3,A-=3}for(;P.have<19;)P.lens[be[P.have++]]=0;if(P.lencode=P.lendyn,P.lenbits=7,pe={bits:P.lenbits},Ee=o(0,P.lens,0,19,P.lencode,0,P.work,pe),P.lenbits=pe.bits,Ee){T.msg="invalid code lengths set",P.mode=30;break}P.have=0,P.mode=19;case 19:for(;P.have<P.nlen+P.ndist;){for(;ee=(z=P.lencode[H&(1<<P.lenbits)-1])>>>16&255,fe=65535&z,!((Ue=z>>>24)<=A);){if(X===0)break e;X--,H+=J[Q++]<<A,A+=8}if(fe<16)H>>>=Ue,A-=Ue,P.lens[P.have++]=fe;else{if(fe===16){for(Y=Ue+2;A<Y;){if(X===0)break e;X--,H+=J[Q++]<<A,A+=8}if(H>>>=Ue,A-=Ue,P.have===0){T.msg="invalid bit length repeat",P.mode=30;break}S=P.lens[P.have-1],c=3+(3&H),H>>>=2,A-=2}else if(fe===17){for(Y=Ue+3;A<Y;){if(X===0)break e;X--,H+=J[Q++]<<A,A+=8}A-=Ue,S=0,c=3+(7&(H>>>=Ue)),H>>>=3,A-=3}else{for(Y=Ue+7;A<Y;){if(X===0)break e;X--,H+=J[Q++]<<A,A+=8}A-=Ue,S=0,c=11+(127&(H>>>=Ue)),H>>>=7,A-=7}if(P.have+c>P.nlen+P.ndist){T.msg="invalid bit length repeat",P.mode=30;break}for(;c--;)P.lens[P.have++]=S}}if(P.mode===30)break;if(P.lens[256]===0){T.msg="invalid code -- missing end-of-block",P.mode=30;break}if(P.lenbits=9,pe={bits:P.lenbits},Ee=o(d,P.lens,0,P.nlen,P.lencode,0,P.work,pe),P.lenbits=pe.bits,Ee){T.msg="invalid literal/lengths set",P.mode=30;break}if(P.distbits=6,P.distcode=P.distdyn,pe={bits:P.distbits},Ee=o(f,P.lens,P.nlen,P.ndist,P.distcode,0,P.work,pe),P.distbits=pe.bits,Ee){T.msg="invalid distances set",P.mode=30;break}if(P.mode=20,C===6)break e;case 20:P.mode=21;case 21:if(6<=X&&258<=V){T.next_out=ae,T.avail_out=V,T.next_in=Q,T.avail_in=X,P.hold=H,P.bits=A,i(T,me),ae=T.next_out,re=T.output,V=T.avail_out,Q=T.next_in,J=T.input,X=T.avail_in,H=P.hold,A=P.bits,P.mode===12&&(P.back=-1);break}for(P.back=0;ee=(z=P.lencode[H&(1<<P.lenbits)-1])>>>16&255,fe=65535&z,!((Ue=z>>>24)<=A);){if(X===0)break e;X--,H+=J[Q++]<<A,A+=8}if(ee&&(240&ee)==0){for(oe=Ue,kt=ee,dt=fe;ee=(z=P.lencode[dt+((H&(1<<oe+kt)-1)>>oe)])>>>16&255,fe=65535&z,!(oe+(Ue=z>>>24)<=A);){if(X===0)break e;X--,H+=J[Q++]<<A,A+=8}H>>>=oe,A-=oe,P.back+=oe}if(H>>>=Ue,A-=Ue,P.back+=Ue,P.length=fe,ee===0){P.mode=26;break}if(32&ee){P.back=-1,P.mode=12;break}if(64&ee){T.msg="invalid literal/length code",P.mode=30;break}P.extra=15&ee,P.mode=22;case 22:if(P.extra){for(Y=P.extra;A<Y;){if(X===0)break e;X--,H+=J[Q++]<<A,A+=8}P.length+=H&(1<<P.extra)-1,H>>>=P.extra,A-=P.extra,P.back+=P.extra}P.was=P.length,P.mode=23;case 23:for(;ee=(z=P.distcode[H&(1<<P.distbits)-1])>>>16&255,fe=65535&z,!((Ue=z>>>24)<=A);){if(X===0)break e;X--,H+=J[Q++]<<A,A+=8}if((240&ee)==0){for(oe=Ue,kt=ee,dt=fe;ee=(z=P.distcode[dt+((H&(1<<oe+kt)-1)>>oe)])>>>16&255,fe=65535&z,!(oe+(Ue=z>>>24)<=A);){if(X===0)break e;X--,H+=J[Q++]<<A,A+=8}H>>>=oe,A-=oe,P.back+=oe}if(H>>>=Ue,A-=Ue,P.back+=Ue,64&ee){T.msg="invalid distance code",P.mode=30;break}P.offset=fe,P.extra=15&ee,P.mode=24;case 24:if(P.extra){for(Y=P.extra;A<Y;){if(X===0)break e;X--,H+=J[Q++]<<A,A+=8}P.offset+=H&(1<<P.extra)-1,H>>>=P.extra,A-=P.extra,P.back+=P.extra}if(P.offset>P.dmax){T.msg="invalid distance too far back",P.mode=30;break}P.mode=25;case 25:if(V===0)break e;if(c=me-V,P.offset>c){if((c=P.offset-c)>P.whave&&P.sane){T.msg="invalid distance too far back",P.mode=30;break}h=c>P.wnext?(c-=P.wnext,P.wsize-c):P.wnext-c,c>P.length&&(c=P.length),De=P.window}else De=re,h=ae-P.offset,c=P.length;for(V<c&&(c=V),V-=c,P.length-=c;re[ae++]=De[h++],--c;);P.length===0&&(P.mode=21);break;case 26:if(V===0)break e;re[ae++]=P.length,V--,P.mode=21;break;case 27:if(P.wrap){for(;A<32;){if(X===0)break e;X--,H|=J[Q++]<<A,A+=8}if(me-=V,T.total_out+=me,P.total+=me,me&&(T.adler=P.check=P.flags?n(P.check,re,me,ae-me):s(P.check,re,me,ae-me)),me=V,(P.flags?H:m(H))!==P.check){T.msg="incorrect data check",P.mode=30;break}A=H=0}P.mode=28;case 28:if(P.wrap&&P.flags){for(;A<32;){if(X===0)break e;X--,H+=J[Q++]<<A,A+=8}if(H!==(4294967295&P.total)){T.msg="incorrect length check",P.mode=30;break}A=H=0}P.mode=29;case 29:Ee=1;break e;case 30:Ee=-3;break e;case 31:return-4;default:return l}return T.next_out=ae,T.avail_out=V,T.next_in=Q,T.avail_in=X,P.hold=H,P.bits=A,(P.wsize||me!==T.avail_out&&P.mode<30&&(P.mode<27||C!==4))&&Z(T,T.output,T.next_out,me-T.avail_out)?(P.mode=31,-4):(ge-=T.avail_in,me-=T.avail_out,T.total_in+=ge,T.total_out+=me,P.total+=me,P.wrap&&me&&(T.adler=P.check=P.flags?n(P.check,re,me,T.next_out-me):s(P.check,re,me,T.next_out-me)),T.data_type=P.bits+(P.last?64:0)+(P.mode===12?128:0)+(P.mode===20||P.mode===15?256:0),(ge==0&&me===0||C===4)&&Ee===u&&(Ee=-5),Ee)},t.inflateEnd=function(T){if(!T||!T.state)return l;var C=T.state;return C.window&&(C.window=null),T.state=null,u},t.inflateGetHeader=function(T,C){var P;return T&&T.state?(2&(P=T.state).wrap)==0?l:((P.head=C).done=!1,u):l},t.inflateSetDictionary=function(T,C){var P,J=C.length;return T&&T.state?(P=T.state).wrap!==0&&P.mode!==11?l:P.mode===11&&s(1,C,J,0)!==P.check?-3:Z(T,C,J,J)?(P.mode=31,-4):(P.havedict=1,u):l},t.inflateInfo="pako inflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./inffast":48,"./inftrees":50}],50:[function(e,r,t){"use strict";var a=e("../utils/common"),s=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],n=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],i=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],o=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64];r.exports=function(d,f,u,l,k,_,v,m){var g,M,p,b,y,I,N,R,B,Z=m.bits,T=0,C=0,P=0,J=0,re=0,Q=0,ae=0,X=0,V=0,H=0,A=null,ge=0,me=new a.Buf16(16),c=new a.Buf16(16),h=null,De=0;for(T=0;T<=15;T++)me[T]=0;for(C=0;C<l;C++)me[f[u+C]]++;for(re=Z,J=15;1<=J&&me[J]===0;J--);if(J<re&&(re=J),J===0)return k[_++]=20971520,k[_++]=20971520,m.bits=1,0;for(P=1;P<J&&me[P]===0;P++);for(re<P&&(re=P),T=X=1;T<=15;T++)if(X<<=1,(X-=me[T])<0)return-1;if(0<X&&(d===0||J!==1))return-1;for(c[1]=0,T=1;T<15;T++)c[T+1]=c[T]+me[T];for(C=0;C<l;C++)f[u+C]!==0&&(v[c[f[u+C]]++]=C);if(I=d===0?(A=h=v,19):d===1?(A=s,ge-=257,h=n,De-=257,256):(A=i,h=o,-1),T=P,y=_,ae=C=H=0,p=-1,b=(V=1<<(Q=re))-1,d===1&&852<V||d===2&&592<V)return 1;for(;;){for(N=T-ae,B=v[C]<I?(R=0,v[C]):v[C]>I?(R=h[De+v[C]],A[ge+v[C]]):(R=96,0),g=1<<T-ae,P=M=1<<Q;k[y+(H>>ae)+(M-=g)]=N<<24|R<<16|B|0,M!==0;);for(g=1<<T-1;H&g;)g>>=1;if(g!==0?(H&=g-1,H+=g):H=0,C++,--me[T]==0){if(T===J)break;T=f[u+v[C]]}if(re<T&&(H&b)!==p){for(ae===0&&(ae=re),y+=P,X=1<<(Q=T-ae);Q+ae<J&&!((X-=me[Q+ae])<=0);)Q++,X<<=1;if(V+=1<<Q,d===1&&852<V||d===2&&592<V)return 1;k[p=H&b]=re<<24|Q<<16|y-_|0}}return H!==0&&(k[y+H]=T-ae<<24|64<<16|0),m.bits=re,0}},{"../utils/common":41}],51:[function(e,r,t){"use strict";r.exports={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"}},{}],52:[function(e,r,t){"use strict";var a=e("../utils/common"),s=0,n=1;function i(z){for(var j=z.length;0<=--j;)z[j]=0}var o=0,d=29,f=256,u=f+1+d,l=30,k=19,_=2*u+1,v=15,m=16,g=7,M=256,p=16,b=17,y=18,I=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],N=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],R=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],B=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],Z=new Array(2*(u+2));i(Z);var T=new Array(2*l);i(T);var C=new Array(512);i(C);var P=new Array(256);i(P);var J=new Array(d);i(J);var re,Q,ae,X=new Array(l);function V(z,j,be,Le,E){this.static_tree=z,this.extra_bits=j,this.extra_base=be,this.elems=Le,this.max_length=E,this.has_stree=z&&z.length}function H(z,j){this.dyn_tree=z,this.max_code=0,this.stat_desc=j}function A(z){return z<256?C[z]:C[256+(z>>>7)]}function ge(z,j){z.pending_buf[z.pending++]=255&j,z.pending_buf[z.pending++]=j>>>8&255}function me(z,j,be){z.bi_valid>m-be?(z.bi_buf|=j<<z.bi_valid&65535,ge(z,z.bi_buf),z.bi_buf=j>>m-z.bi_valid,z.bi_valid+=be-m):(z.bi_buf|=j<<z.bi_valid&65535,z.bi_valid+=be)}function c(z,j,be){me(z,be[2*j],be[2*j+1])}function h(z,j){for(var be=0;be|=1&z,z>>>=1,be<<=1,0<--j;);return be>>>1}function De(z,j,be){var Le,E,Be=new Array(v+1),We=0;for(Le=1;Le<=v;Le++)Be[Le]=We=We+be[Le-1]<<1;for(E=0;E<=j;E++){var xe=z[2*E+1];xe!==0&&(z[2*E]=h(Be[xe]++,xe))}}function Ue(z){var j;for(j=0;j<u;j++)z.dyn_ltree[2*j]=0;for(j=0;j<l;j++)z.dyn_dtree[2*j]=0;for(j=0;j<k;j++)z.bl_tree[2*j]=0;z.dyn_ltree[2*M]=1,z.opt_len=z.static_len=0,z.last_lit=z.matches=0}function ee(z){8<z.bi_valid?ge(z,z.bi_buf):0<z.bi_valid&&(z.pending_buf[z.pending++]=z.bi_buf),z.bi_buf=0,z.bi_valid=0}function fe(z,j,be,Le){var E=2*j,Be=2*be;return z[E]<z[Be]||z[E]===z[Be]&&Le[j]<=Le[be]}function oe(z,j,be){for(var Le=z.heap[be],E=be<<1;E<=z.heap_len&&(E<z.heap_len&&fe(j,z.heap[E+1],z.heap[E],z.depth)&&E++,!fe(j,Le,z.heap[E],z.depth));)z.heap[be]=z.heap[E],be=E,E<<=1;z.heap[be]=Le}function kt(z,j,be){var Le,E,Be,We,xe=0;if(z.last_lit!==0)for(;Le=z.pending_buf[z.d_buf+2*xe]<<8|z.pending_buf[z.d_buf+2*xe+1],E=z.pending_buf[z.l_buf+xe],xe++,Le===0?c(z,E,j):(c(z,(Be=P[E])+f+1,j),(We=I[Be])!==0&&me(z,E-=J[Be],We),c(z,Be=A(--Le),be),(We=N[Be])!==0&&me(z,Le-=X[Be],We)),xe<z.last_lit;);c(z,M,j)}function dt(z,j){var be,Le,E,Be=j.dyn_tree,We=j.stat_desc.static_tree,xe=j.stat_desc.has_stree,ht=j.stat_desc.elems,Yt=-1;for(z.heap_len=0,z.heap_max=_,be=0;be<ht;be++)Be[2*be]!==0?(z.heap[++z.heap_len]=Yt=be,z.depth[be]=0):Be[2*be+1]=0;for(;z.heap_len<2;)Be[2*(E=z.heap[++z.heap_len]=Yt<2?++Yt:0)]=1,z.depth[E]=0,z.opt_len--,xe&&(z.static_len-=We[2*E+1]);for(j.max_code=Yt,be=z.heap_len>>1;1<=be;be--)oe(z,Be,be);for(E=ht;be=z.heap[1],z.heap[1]=z.heap[z.heap_len--],oe(z,Be,1),Le=z.heap[1],z.heap[--z.heap_max]=be,z.heap[--z.heap_max]=Le,Be[2*E]=Be[2*be]+Be[2*Le],z.depth[E]=(z.depth[be]>=z.depth[Le]?z.depth[be]:z.depth[Le])+1,Be[2*be+1]=Be[2*Le+1]=E,z.heap[1]=E++,oe(z,Be,1),2<=z.heap_len;);z.heap[--z.heap_max]=z.heap[1],(function(Bt,$r){var Pn,Ua,On,Or,Ki,wf,ia=$r.dyn_tree,Pa=$r.max_code,Sa=$r.stat_desc.static_tree,Ia=$r.stat_desc.has_stree,$a=$r.stat_desc.extra_bits,rn=$r.stat_desc.extra_base,Sn=$r.stat_desc.max_length,an=0;for(Or=0;Or<=v;Or++)Bt.bl_count[Or]=0;for(ia[2*Bt.heap[Bt.heap_max]+1]=0,Pn=Bt.heap_max+1;Pn<_;Pn++)Sn<(Or=ia[2*ia[2*(Ua=Bt.heap[Pn])+1]+1]+1)&&(Or=Sn,an++),ia[2*Ua+1]=Or,Pa<Ua||(Bt.bl_count[Or]++,Ki=0,rn<=Ua&&(Ki=$a[Ua-rn]),wf=ia[2*Ua],Bt.opt_len+=wf*(Or+Ki),Ia&&(Bt.static_len+=wf*(Sa[2*Ua+1]+Ki)));if(an!==0){do{for(Or=Sn-1;Bt.bl_count[Or]===0;)Or--;Bt.bl_count[Or]--,Bt.bl_count[Or+1]+=2,Bt.bl_count[Sn]--,an-=2}while(0<an);for(Or=Sn;Or!==0;Or--)for(Ua=Bt.bl_count[Or];Ua!==0;)Pa<(On=Bt.heap[--Pn])||(ia[2*On+1]!==Or&&(Bt.opt_len+=(Or-ia[2*On+1])*ia[2*On],ia[2*On+1]=Or),Ua--)}})(z,j),De(Be,Yt,z.bl_count)}function S(z,j,be){var Le,E,Be=-1,We=j[1],xe=0,ht=7,Yt=4;for(We===0&&(ht=138,Yt=3),j[2*(be+1)+1]=65535,Le=0;Le<=be;Le++)E=We,We=j[2*(Le+1)+1],++xe<ht&&E===We||(xe<Yt?z.bl_tree[2*E]+=xe:E!==0?(E!==Be&&z.bl_tree[2*E]++,z.bl_tree[2*p]++):xe<=10?z.bl_tree[2*b]++:z.bl_tree[2*y]++,Be=E,Yt=(xe=0)===We?(ht=138,3):E===We?(ht=6,3):(ht=7,4))}function Ee(z,j,be){var Le,E,Be=-1,We=j[1],xe=0,ht=7,Yt=4;for(We===0&&(ht=138,Yt=3),Le=0;Le<=be;Le++)if(E=We,We=j[2*(Le+1)+1],!(++xe<ht&&E===We)){if(xe<Yt)for(;c(z,E,z.bl_tree),--xe!=0;);else E!==0?(E!==Be&&(c(z,E,z.bl_tree),xe--),c(z,p,z.bl_tree),me(z,xe-3,2)):xe<=10?(c(z,b,z.bl_tree),me(z,xe-3,3)):(c(z,y,z.bl_tree),me(z,xe-11,7));Be=E,Yt=(xe=0)===We?(ht=138,3):E===We?(ht=6,3):(ht=7,4)}}i(X);var pe=!1;function Y(z,j,be,Le){me(z,(o<<1)+(Le?1:0),3),(function(E,Be,We,xe){ee(E),xe&&(ge(E,We),ge(E,~We)),a.arraySet(E.pending_buf,E.window,Be,We,E.pending),E.pending+=We})(z,j,be,!0)}t._tr_init=function(z){pe||((function(){var j,be,Le,E,Be,We=new Array(v+1);for(E=Le=0;E<d-1;E++)for(J[E]=Le,j=0;j<1<<I[E];j++)P[Le++]=E;for(P[Le-1]=E,E=Be=0;E<16;E++)for(X[E]=Be,j=0;j<1<<N[E];j++)C[Be++]=E;for(Be>>=7;E<l;E++)for(X[E]=Be<<7,j=0;j<1<<N[E]-7;j++)C[256+Be++]=E;for(be=0;be<=v;be++)We[be]=0;for(j=0;j<=143;)Z[2*j+1]=8,j++,We[8]++;for(;j<=255;)Z[2*j+1]=9,j++,We[9]++;for(;j<=279;)Z[2*j+1]=7,j++,We[7]++;for(;j<=287;)Z[2*j+1]=8,j++,We[8]++;for(De(Z,u+1,We),j=0;j<l;j++)T[2*j+1]=5,T[2*j]=h(j,5);re=new V(Z,I,f+1,u,v),Q=new V(T,N,0,l,v),ae=new V(new Array(0),R,0,k,g)})(),pe=!0),z.l_desc=new H(z.dyn_ltree,re),z.d_desc=new H(z.dyn_dtree,Q),z.bl_desc=new H(z.bl_tree,ae),z.bi_buf=0,z.bi_valid=0,Ue(z)},t._tr_stored_block=Y,t._tr_flush_block=function(z,j,be,Le){var E,Be,We=0;0<z.level?(z.strm.data_type===2&&(z.strm.data_type=(function(xe){var ht,Yt=4093624447;for(ht=0;ht<=31;ht++,Yt>>>=1)if(1&Yt&&xe.dyn_ltree[2*ht]!==0)return s;if(xe.dyn_ltree[18]!==0||xe.dyn_ltree[20]!==0||xe.dyn_ltree[26]!==0)return n;for(ht=32;ht<f;ht++)if(xe.dyn_ltree[2*ht]!==0)return n;return s})(z)),dt(z,z.l_desc),dt(z,z.d_desc),We=(function(xe){var ht;for(S(xe,xe.dyn_ltree,xe.l_desc.max_code),S(xe,xe.dyn_dtree,xe.d_desc.max_code),dt(xe,xe.bl_desc),ht=k-1;3<=ht&&xe.bl_tree[2*B[ht]+1]===0;ht--);return xe.opt_len+=3*(ht+1)+5+5+4,ht})(z),E=z.opt_len+3+7>>>3,(Be=z.static_len+3+7>>>3)<=E&&(E=Be)):E=Be=be+5,be+4<=E&&j!==-1?Y(z,j,be,Le):z.strategy===4||Be===E?(me(z,2+(Le?1:0),3),kt(z,Z,T)):(me(z,4+(Le?1:0),3),(function(xe,ht,Yt,Bt){var $r;for(me(xe,ht-257,5),me(xe,Yt-1,5),me(xe,Bt-4,4),$r=0;$r<Bt;$r++)me(xe,xe.bl_tree[2*B[$r]+1],3);Ee(xe,xe.dyn_ltree,ht-1),Ee(xe,xe.dyn_dtree,Yt-1)})(z,z.l_desc.max_code+1,z.d_desc.max_code+1,We+1),kt(z,z.dyn_ltree,z.dyn_dtree)),Ue(z),Le&&ee(z)},t._tr_tally=function(z,j,be){return z.pending_buf[z.d_buf+2*z.last_lit]=j>>>8&255,z.pending_buf[z.d_buf+2*z.last_lit+1]=255&j,z.pending_buf[z.l_buf+z.last_lit]=255&be,z.last_lit++,j===0?z.dyn_ltree[2*be]++:(z.matches++,j--,z.dyn_ltree[2*(P[be]+f+1)]++,z.dyn_dtree[2*A(j)]++),z.last_lit===z.lit_bufsize-1},t._tr_align=function(z){me(z,2,3),c(z,M,Z),(function(j){j.bi_valid===16?(ge(j,j.bi_buf),j.bi_buf=0,j.bi_valid=0):8<=j.bi_valid&&(j.pending_buf[j.pending++]=255&j.bi_buf,j.bi_buf>>=8,j.bi_valid-=8)})(z)}},{"../utils/common":41}],53:[function(e,r,t){"use strict";r.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(e,r,t){(function(a){(function(s,n){"use strict";if(!s.setImmediate){var i,o,d,f,u=1,l={},k=!1,_=s.document,v=Object.getPrototypeOf&&Object.getPrototypeOf(s);v=v&&v.setTimeout?v:s,i={}.toString.call(s.process)==="[object process]"?function(p){process.nextTick(function(){g(p)})}:(function(){if(s.postMessage&&!s.importScripts){var p=!0,b=s.onmessage;return s.onmessage=function(){p=!1},s.postMessage("","*"),s.onmessage=b,p}})()?(f="setImmediate$"+Math.random()+"$",s.addEventListener?s.addEventListener("message",M,!1):s.attachEvent("onmessage",M),function(p){s.postMessage(f+p,"*")}):s.MessageChannel?((d=new MessageChannel).port1.onmessage=function(p){g(p.data)},function(p){d.port2.postMessage(p)}):_&&"onreadystatechange"in _.createElement("script")?(o=_.documentElement,function(p){var b=_.createElement("script");b.onreadystatechange=function(){g(p),b.onreadystatechange=null,o.removeChild(b),b=null},o.appendChild(b)}):function(p){setTimeout(g,0,p)},v.setImmediate=function(p){typeof p!="function"&&(p=new Function(""+p));for(var b=new Array(arguments.length-1),y=0;y<b.length;y++)b[y]=arguments[y+1];var I={callback:p,args:b};return l[u]=I,i(u),u++},v.clearImmediate=m}function m(p){delete l[p]}function g(p){if(k)setTimeout(g,0,p);else{var b=l[p];if(b){k=!0;try{(function(y){var I=y.callback,N=y.args;switch(N.length){case 0:I();break;case 1:I(N[0]);break;case 2:I(N[0],N[1]);break;case 3:I(N[0],N[1],N[2]);break;default:I.apply(n,N)}})(b)}finally{m(p),k=!1}}}}function M(p){p.source===s&&typeof p.data=="string"&&p.data.indexOf(f)===0&&g(+p.data.slice(f.length))}})(typeof self=="undefined"?a===void 0?this:a:self)}).call(this,typeof global!="undefined"?global:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}]},{},[10])(10)})});var Jm=la(zh=>{"use strict";Object.defineProperty(zh,"__esModule",{value:!0});var Fb={SYMBOL:{32:32,33:33,34:8704,35:35,36:8707,37:37,38:38,39:8717,40:40,41:41,42:42,43:43,44:44,45:8722,46:46,47:47,48:48,49:49,50:50,51:51,52:52,53:53,54:54,55:55,56:56,57:57,58:58,59:59,60:60,61:61,62:62,63:63,64:8773,65:913,66:914,67:935,68:916,69:917,70:934,71:915,72:919,73:921,74:977,75:922,76:923,77:924,78:925,79:927,80:928,81:920,82:929,83:931,84:932,85:933,86:962,87:937,88:926,89:936,90:918,91:91,92:8756,93:93,94:8869,95:95,96:8254,97:945,98:946,99:967,100:948,101:949,102:966,103:947,104:951,105:953,106:981,107:954,108:955,109:956,110:957,111:959,112:960,113:952,114:961,115:963,116:964,117:965,118:982,119:969,120:958,121:968,122:950,123:123,124:124,125:125,126:126,160:8364,161:978,162:8242,163:8804,164:8260,165:8734,166:402,167:9827,168:9830,169:9829,170:9824,171:8596,172:8592,173:8593,174:8594,175:8595,176:176,177:177,178:8243,179:8805,180:215,181:8733,182:8706,183:8226,184:247,185:8800,186:8801,187:8776,188:8230,189:9168,190:9135,191:8629,192:8501,193:8465,194:8476,195:8472,196:8855,197:8853,198:8709,199:8745,200:8746,201:8835,202:8839,203:8836,204:8834,205:8838,206:8712,207:8713,208:8736,209:8711,210:174,211:169,212:8482,213:8719,214:8730,215:8901,216:172,217:8743,218:8744,219:8660,220:8656,221:8657,222:8658,223:8659,224:9674,225:12296,226:174,227:169,228:8482,229:8721,230:9115,231:9116,232:9117,233:9121,234:9122,235:9123,236:9127,237:9128,238:9129,239:9130,240:63743,241:12297,242:8747,243:8992,244:9134,245:8993,246:9118,247:9119,248:9120,249:9124,250:9125,251:9126,252:9131,253:9132,254:9133},WEBDINGS:{32:32,33:128375,34:128376,35:128370,36:128374,37:127942,38:127894,39:128391,40:128488,41:128489,42:128496,43:128497,44:127798,45:127895,46:128638,47:128636,48:128469,49:128470,50:128471,51:9204,52:9205,53:9206,54:9207,55:9194,56:9193,57:9198,58:9197,59:9208,60:9209,61:9210,62:128474,63:128499,64:128736,65:127959,66:127960,67:127961,68:127962,69:127964,70:127981,71:127963,72:127968,73:127958,74:127965,75:128739,76:128269,77:127956,78:128065,79:128066,80:127966,81:127957,82:128740,83:127967,84:128755,85:128364,86:128363,87:128360,88:128264,89:127892,90:127893,91:128492,92:128637,93:128493,94:128490,95:128491,96:11156,97:10004,98:128690,99:11036,100:128737,101:128230,102:128753,103:11035,104:128657,105:128712,106:128745,107:128752,108:128968,109:128372,110:11044,111:128741,112:128660,113:128472,114:128473,115:10067,116:128754,117:128647,118:128653,119:9971,120:10680,121:8854,122:128685,123:128494,124:9168,125:128495,126:128498,128:128697,129:128698,130:128713,131:128714,132:128700,133:128125,134:127947,135:9975,136:127938,137:127948,138:127946,139:127940,140:127949,141:127950,142:128664,143:128480,144:128738,145:128176,146:127991,147:128179,148:128106,149:128481,150:128482,151:128483,152:10031,153:128388,154:128389,155:128387,156:128390,157:128441,158:128442,159:128443,160:128373,161:128368,162:128445,163:128446,164:128203,165:128466,166:128467,167:128366,168:128218,169:128478,170:128479,171:128451,172:128450,173:128444,174:127917,175:127900,176:127896,177:127897,178:127911,179:128191,180:127902,181:128247,182:127903,183:127916,184:128253,185:128249,186:128254,187:128251,188:127898,189:127899,190:128250,191:128187,192:128421,193:128422,194:128423,195:128377,196:127918,197:128379,198:128380,199:128223,200:128385,201:128384,202:128424,203:128425,204:128447,205:128426,206:128476,207:128274,208:128275,209:128477,210:128229,211:128228,212:128371,213:127779,214:127780,215:127781,216:127782,217:9729,218:127784,219:127783,220:127785,221:127786,222:127788,223:127787,224:127772,225:127777,226:128715,227:128719,228:127869,229:127864,230:128718,231:128717,232:9413,233:9855,234:128710,235:128392,236:127891,237:128484,238:128485,239:128486,240:128487,241:128746,242:128063,243:128038,244:128031,245:128021,246:128008,247:128620,248:128622,249:128621,250:128623,251:128506,252:127757,253:127759,254:127758,255:128330},WINGDINGS:{32:32,33:128393,34:9986,35:9985,36:128083,37:128365,38:128366,39:128367,40:128383,41:9990,42:128386,43:128387,44:128234,45:128235,46:128236,47:128237,48:128448,49:128449,50:128462,51:128463,52:128464,53:128452,54:8987,55:128430,56:128432,57:128434,58:128435,59:128436,60:128427,61:128428,62:9991,63:9997,64:128398,65:9996,66:128399,67:128077,68:128078,69:9756,70:9758,71:9757,72:9759,73:128400,74:9786,75:128528,76:9785,77:128163,78:128369,79:127987,80:127985,81:9992,82:9788,83:127778,84:10052,85:128326,86:10014,87:128328,88:10016,89:10017,90:9770,91:9775,92:128329,93:9784,94:9800,95:9801,96:9802,97:9803,98:9804,99:9805,100:9806,101:9807,102:9808,103:9809,104:9810,105:9811,106:128624,107:128629,108:9899,109:128318,110:9724,111:128911,112:128912,113:10065,114:10066,115:128927,116:10731,117:9670,118:10070,119:11049,120:8999,121:11193,122:8984,123:127989,124:127990,125:128630,126:128631,127:9647,128:127243,129:10112,130:10113,131:10114,132:10115,133:10116,134:10117,135:10118,136:10119,137:10120,138:10121,139:127244,140:10122,141:10123,142:10124,143:10125,144:10126,145:10127,146:10128,147:10129,148:10130,149:10131,150:128610,151:128608,152:128609,153:128611,154:128606,155:128604,156:128605,157:128607,158:8729,159:8226,160:11037,161:11096,162:128902,163:128904,164:128906,165:128907,166:128319,167:9642,168:128910,169:128961,170:128965,171:9733,172:128971,173:128975,174:128979,175:128977,176:11216,177:8982,178:11214,179:11215,180:11217,181:10026,182:10032,183:128336,184:128337,185:128338,186:128339,187:128340,188:128341,189:128342,190:128343,191:128344,192:128345,193:128346,194:128347,195:11184,196:11185,197:11186,198:11187,199:11188,200:11189,201:11190,202:11191,203:128618,204:128619,205:128597,206:128596,207:128599,208:128598,209:128592,210:128593,211:128594,212:128595,213:9003,214:8998,215:11160,216:11162,217:11161,218:11163,219:11144,220:11146,221:11145,222:11147,223:129128,224:129130,225:129129,226:129131,227:129132,228:129133,229:129135,230:129134,231:129144,232:129146,233:129145,234:129147,235:129148,236:129149,237:129151,238:129150,239:8678,240:8680,241:8679,242:8681,243:11012,244:8691,245:11009,246:11008,247:11011,248:11010,249:129196,250:129197,251:128502,252:10003,253:128503,254:128505},"WINGDINGS 2":{32:32,33:128394,34:128395,35:128396,36:128397,37:9988,38:9984,39:128382,40:128381,41:128453,42:128454,43:128455,44:128456,45:128457,46:128458,47:128459,48:128460,49:128461,50:128203,51:128465,52:128468,53:128437,54:128438,55:128439,56:128440,57:128429,58:128431,59:128433,60:128402,61:128403,62:128408,63:128409,64:128410,65:128411,66:128072,67:128073,68:128412,69:128413,70:128414,71:128415,72:128416,73:128417,74:128070,75:128071,76:128418,77:128419,78:128401,79:128500,80:128504,81:128501,82:9745,83:11197,84:9746,85:11198,86:11199,87:128711,88:10680,89:128625,90:128628,91:128626,92:128627,93:8253,94:128633,95:128634,96:128635,97:128614,98:128612,99:128613,100:128615,101:128602,102:128600,103:128601,104:128603,105:9450,106:9312,107:9313,108:9314,109:9315,110:9316,111:9317,112:9318,113:9319,114:9320,115:9321,116:9471,117:10102,118:10103,119:10104,120:10105,121:10106,122:10107,123:10108,124:10109,125:10110,126:10111,128:9737,129:127765,130:9789,131:9790,132:11839,133:10013,134:128327,135:128348,136:128349,137:128350,138:128351,139:128352,140:128353,141:128354,142:128355,143:128356,144:128357,145:128358,146:128359,147:128616,148:128617,149:8901,150:128900,151:10625,152:9679,153:9675,154:128901,155:128903,156:128905,157:8857,158:10687,159:128908,160:128909,161:9726,162:9632,163:9633,164:128913,165:128914,166:128915,167:128916,168:9635,169:128917,170:128918,171:128919,172:128920,173:11049,174:11045,175:9671,176:128922,177:9672,178:128923,179:128924,180:128925,181:128926,182:11050,183:11047,184:9674,185:128928,186:9686,187:9687,188:11210,189:11211,190:11200,191:11201,192:11039,193:11202,194:11043,195:11042,196:11203,197:11204,198:128929,199:128930,200:128931,201:128932,202:128933,203:128934,204:128935,205:128936,206:128937,207:128938,208:128939,209:128940,210:128941,211:128942,212:128943,213:128944,214:128945,215:128946,216:128947,217:128948,218:128949,219:128950,220:128951,221:128952,222:128953,223:128954,224:128955,225:128956,226:128957,227:128958,228:128959,229:128960,230:128962,231:128964,232:128966,233:128969,234:128970,235:10038,236:128972,237:128974,238:128976,239:128978,240:10041,241:128963,242:128967,243:10031,244:128973,245:128980,246:11212,247:11213,248:8251,249:8258},"WINGDINGS 3":{32:32,33:11104,34:11106,35:11105,36:11107,37:11110,38:11111,39:11113,40:11112,41:11120,42:11122,43:11121,44:11123,45:11126,46:11128,47:11131,48:11133,49:11108,50:11109,51:11114,52:11116,53:11115,54:11117,55:11085,56:11168,57:11169,58:11170,59:11171,60:11172,61:11173,62:11174,63:11175,64:11152,65:11153,66:11154,67:11155,68:11136,69:11139,70:11134,71:11135,72:11140,73:11142,74:11141,75:11143,76:11151,77:11149,78:11150,79:11148,80:11118,81:11119,82:9099,83:8996,84:8963,85:8997,86:9251,87:9085,88:8682,89:11192,90:129184,91:129185,92:129186,93:129187,94:129188,95:129189,96:129190,97:129191,98:129192,99:129193,100:129194,101:129195,102:129104,103:129106,104:129105,105:129107,106:129108,107:129109,108:129111,109:129110,110:129112,111:129113,112:9650,113:9660,114:9651,115:9661,116:9664,117:9654,118:9665,119:9655,120:9699,121:9698,122:9700,123:9701,124:128896,125:128898,126:128897,128:128899,129:11205,130:11206,131:11207,132:11208,133:11164,134:11166,135:11165,136:11167,137:129040,138:129042,139:129041,140:129043,141:129044,142:129046,143:129045,144:129047,145:129048,146:129050,147:129049,148:129051,149:129052,150:129054,151:129053,152:129055,153:129024,154:129026,155:129025,156:129027,157:129028,158:129030,159:129029,160:129031,161:129032,162:129034,163:129033,164:129035,165:129056,166:129058,167:129060,168:129062,169:129064,170:129066,171:129068,172:129180,173:129181,174:129182,175:129183,176:129070,177:129072,178:129074,179:129076,180:129078,181:129080,182:129082,183:129081,184:129083,185:129176,186:129178,187:129177,188:129179,189:129084,190:129086,191:129085,192:129087,193:129088,194:129090,195:129089,196:129091,197:129092,198:129094,199:129093,200:129095,201:11176,202:11177,203:11178,204:11179,205:11180,206:11181,207:11182,208:11183,209:129120,210:129122,211:129121,212:129123,213:129124,214:129125,215:129127,216:129126,217:129136,218:129138,219:129137,220:129139,221:129140,222:129141,223:129143,224:129142,225:129152,226:129154,227:129153,228:129155,229:129156,230:129157,231:129159,232:129158,233:129168,234:129170,235:129169,236:129171,237:129172,238:129174,239:129173,240:129175}};zh.default=Fb});var Ch=la(Ci=>{"use strict";var qb=Ci&&Ci.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(Ci,"__esModule",{value:!0});Ci.hex=Ci.dec=Ci.codePoint=void 0;var Vb=qb(Jm()),jb=String.fromCodePoint?String.fromCodePoint:r6;function xh(e,r){var t=Vb.default[e.toUpperCase()];if(t!==void 0){var a=t[r];if(a!==void 0)return{codePoint:a,string:jb(a)}}}Ci.codePoint=xh;function e6(e,r){return xh(e,parseInt(r,10))}Ci.dec=e6;function t6(e,r){return xh(e,parseInt(r,16))}Ci.hex=t6;function r6(e){if(e<=65535)return String.fromCharCode(e);var r=Math.floor((e-65536)/1024)+55296,t=(e-65536)%1024+56320;return String.fromCharCode(r,t)}});var b0=la(en=>{"use strict";var a6=typeof Uint8Array!="undefined"&&typeof Uint16Array!="undefined"&&typeof Int32Array!="undefined";function n6(e,r){return Object.prototype.hasOwnProperty.call(e,r)}en.assign=function(e){for(var r=Array.prototype.slice.call(arguments,1);r.length;){var t=r.shift();if(t){if(typeof t!="object")throw new TypeError(t+"must be non-object");for(var a in t)n6(t,a)&&(e[a]=t[a])}}return e};en.shrinkBuf=function(e,r){return e.length===r?e:e.subarray?e.subarray(0,r):(e.length=r,e)};var i6={arraySet:function(e,r,t,a,s){if(r.subarray&&e.subarray){e.set(r.subarray(t,t+a),s);return}for(var n=0;n<a;n++)e[s+n]=r[t+n]},flattenChunks:function(e){var r,t,a,s,n,i;for(a=0,r=0,t=e.length;r<t;r++)a+=e[r].length;for(i=new Uint8Array(a),s=0,r=0,t=e.length;r<t;r++)n=e[r],i.set(n,s),s+=n.length;return i}},s6={arraySet:function(e,r,t,a,s){for(var n=0;n<a;n++)e[s+n]=r[t+n]},flattenChunks:function(e){return[].concat.apply([],e)}};en.setTyped=function(e){e?(en.Buf8=Uint8Array,en.Buf16=Uint16Array,en.Buf32=Int32Array,en.assign(en,i6)):(en.Buf8=Array,en.Buf16=Array,en.Buf32=Array,en.assign(en,s6))};en.setTyped(a6)});var _8=la(df=>{"use strict";var o6=b0(),f6=4,Qm=0,Fm=1,l6=2;function cf(e){for(var r=e.length;--r>=0;)e[r]=0}var u6=0,r8=1,c6=2,d6=3,h6=258,$h=29,wu=256,Su=wu+1+$h,uf=30,Yh=19,a8=2*Su+1,So=15,Oh=16,p6=7,Ah=256,n8=16,i8=17,s8=18,Zh=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],a1=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],v6=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],o8=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],m6=512,L0=new Array((Su+2)*2);cf(L0);var Pu=new Array(uf*2);cf(Pu);var Iu=new Array(m6);cf(Iu);var Tu=new Array(h6-d6+1);cf(Tu);var Xh=new Array($h);cf(Xh);var n1=new Array(uf);cf(n1);function Gh(e,r,t,a,s){this.static_tree=e,this.extra_bits=r,this.extra_base=t,this.elems=a,this.max_length=s,this.has_stree=e&&e.length}var f8,l8,u8;function Uh(e,r){this.dyn_tree=e,this.max_code=0,this.stat_desc=r}function c8(e){return e<256?Iu[e]:Iu[256+(e>>>7)]}function yu(e,r){e.pending_buf[e.pending++]=r&255,e.pending_buf[e.pending++]=r>>>8&255}function ln(e,r,t){e.bi_valid>Oh-t?(e.bi_buf|=r<<e.bi_valid&65535,yu(e,e.bi_buf),e.bi_buf=r>>Oh-e.bi_valid,e.bi_valid+=t-Oh):(e.bi_buf|=r<<e.bi_valid&65535,e.bi_valid+=t)}function Oi(e,r,t){ln(e,t[r*2],t[r*2+1])}function d8(e,r){var t=0;do t|=e&1,e>>>=1,t<<=1;while(--r>0);return t>>>1}function _6(e){e.bi_valid===16?(yu(e,e.bi_buf),e.bi_buf=0,e.bi_valid=0):e.bi_valid>=8&&(e.pending_buf[e.pending++]=e.bi_buf&255,e.bi_buf>>=8,e.bi_valid-=8)}function b6(e,r){var t=r.dyn_tree,a=r.max_code,s=r.stat_desc.static_tree,n=r.stat_desc.has_stree,i=r.stat_desc.extra_bits,o=r.stat_desc.extra_base,d=r.stat_desc.max_length,f,u,l,k,_,v,m=0;for(k=0;k<=So;k++)e.bl_count[k]=0;for(t[e.heap[e.heap_max]*2+1]=0,f=e.heap_max+1;f<a8;f++)u=e.heap[f],k=t[t[u*2+1]*2+1]+1,k>d&&(k=d,m++),t[u*2+1]=k,!(u>a)&&(e.bl_count[k]++,_=0,u>=o&&(_=i[u-o]),v=t[u*2],e.opt_len+=v*(k+_),n&&(e.static_len+=v*(s[u*2+1]+_)));if(m!==0){do{for(k=d-1;e.bl_count[k]===0;)k--;e.bl_count[k]--,e.bl_count[k+1]+=2,e.bl_count[d]--,m-=2}while(m>0);for(k=d;k!==0;k--)for(u=e.bl_count[k];u!==0;)l=e.heap[--f],!(l>a)&&(t[l*2+1]!==k&&(e.opt_len+=(k-t[l*2+1])*t[l*2],t[l*2+1]=k),u--)}}function h8(e,r,t){var a=new Array(So+1),s=0,n,i;for(n=1;n<=So;n++)a[n]=s=s+t[n-1]<<1;for(i=0;i<=r;i++){var o=e[i*2+1];o!==0&&(e[i*2]=d8(a[o]++,o))}}function L6(){var e,r,t,a,s,n=new Array(So+1);for(t=0,a=0;a<$h-1;a++)for(Xh[a]=t,e=0;e<1<<Zh[a];e++)Tu[t++]=a;for(Tu[t-1]=a,s=0,a=0;a<16;a++)for(n1[a]=s,e=0;e<1<<a1[a];e++)Iu[s++]=a;for(s>>=7;a<uf;a++)for(n1[a]=s<<7,e=0;e<1<<a1[a]-7;e++)Iu[256+s++]=a;for(r=0;r<=So;r++)n[r]=0;for(e=0;e<=143;)L0[e*2+1]=8,e++,n[8]++;for(;e<=255;)L0[e*2+1]=9,e++,n[9]++;for(;e<=279;)L0[e*2+1]=7,e++,n[7]++;for(;e<=287;)L0[e*2+1]=8,e++,n[8]++;for(h8(L0,Su+1,n),e=0;e<uf;e++)Pu[e*2+1]=5,Pu[e*2]=d8(e,5);f8=new Gh(L0,Zh,wu+1,Su,So),l8=new Gh(Pu,a1,0,uf,So),u8=new Gh(new Array(0),v6,0,Yh,p6)}function p8(e){var r;for(r=0;r<Su;r++)e.dyn_ltree[r*2]=0;for(r=0;r<uf;r++)e.dyn_dtree[r*2]=0;for(r=0;r<Yh;r++)e.bl_tree[r*2]=0;e.dyn_ltree[Ah*2]=1,e.opt_len=e.static_len=0,e.last_lit=e.matches=0}function v8(e){e.bi_valid>8?yu(e,e.bi_buf):e.bi_valid>0&&(e.pending_buf[e.pending++]=e.bi_buf),e.bi_buf=0,e.bi_valid=0}function g6(e,r,t,a){v8(e),a&&(yu(e,t),yu(e,~t)),o6.arraySet(e.pending_buf,e.window,r,t,e.pending),e.pending+=t}function qm(e,r,t,a){var s=r*2,n=t*2;return e[s]<e[n]||e[s]===e[n]&&a[r]<=a[t]}function Hh(e,r,t){for(var a=e.heap[t],s=t<<1;s<=e.heap_len&&(s<e.heap_len&&qm(r,e.heap[s+1],e.heap[s],e.depth)&&s++,!qm(r,a,e.heap[s],e.depth));)e.heap[t]=e.heap[s],t=s,s<<=1;e.heap[t]=a}function Vm(e,r,t){var a,s,n=0,i,o;if(e.last_lit!==0)do a=e.pending_buf[e.d_buf+n*2]<<8|e.pending_buf[e.d_buf+n*2+1],s=e.pending_buf[e.l_buf+n],n++,a===0?Oi(e,s,r):(i=Tu[s],Oi(e,i+wu+1,r),o=Zh[i],o!==0&&(s-=Xh[i],ln(e,s,o)),a--,i=c8(a),Oi(e,i,t),o=a1[i],o!==0&&(a-=n1[i],ln(e,a,o)));while(n<e.last_lit);Oi(e,Ah,r)}function Wh(e,r){var t=r.dyn_tree,a=r.stat_desc.static_tree,s=r.stat_desc.has_stree,n=r.stat_desc.elems,i,o,d=-1,f;for(e.heap_len=0,e.heap_max=a8,i=0;i<n;i++)t[i*2]!==0?(e.heap[++e.heap_len]=d=i,e.depth[i]=0):t[i*2+1]=0;for(;e.heap_len<2;)f=e.heap[++e.heap_len]=d<2?++d:0,t[f*2]=1,e.depth[f]=0,e.opt_len--,s&&(e.static_len-=a[f*2+1]);for(r.max_code=d,i=e.heap_len>>1;i>=1;i--)Hh(e,t,i);f=n;do i=e.heap[1],e.heap[1]=e.heap[e.heap_len--],Hh(e,t,1),o=e.heap[1],e.heap[--e.heap_max]=i,e.heap[--e.heap_max]=o,t[f*2]=t[i*2]+t[o*2],e.depth[f]=(e.depth[i]>=e.depth[o]?e.depth[i]:e.depth[o])+1,t[i*2+1]=t[o*2+1]=f,e.heap[1]=f++,Hh(e,t,1);while(e.heap_len>=2);e.heap[--e.heap_max]=e.heap[1],b6(e,r),h8(t,d,e.bl_count)}function jm(e,r,t){var a,s=-1,n,i=r[1],o=0,d=7,f=4;for(i===0&&(d=138,f=3),r[(t+1)*2+1]=65535,a=0;a<=t;a++)n=i,i=r[(a+1)*2+1],!(++o<d&&n===i)&&(o<f?e.bl_tree[n*2]+=o:n!==0?(n!==s&&e.bl_tree[n*2]++,e.bl_tree[n8*2]++):o<=10?e.bl_tree[i8*2]++:e.bl_tree[s8*2]++,o=0,s=n,i===0?(d=138,f=3):n===i?(d=6,f=3):(d=7,f=4))}function e8(e,r,t){var a,s=-1,n,i=r[1],o=0,d=7,f=4;for(i===0&&(d=138,f=3),a=0;a<=t;a++)if(n=i,i=r[(a+1)*2+1],!(++o<d&&n===i)){if(o<f)do Oi(e,n,e.bl_tree);while(--o!==0);else n!==0?(n!==s&&(Oi(e,n,e.bl_tree),o--),Oi(e,n8,e.bl_tree),ln(e,o-3,2)):o<=10?(Oi(e,i8,e.bl_tree),ln(e,o-3,3)):(Oi(e,s8,e.bl_tree),ln(e,o-11,7));o=0,s=n,i===0?(d=138,f=3):n===i?(d=6,f=3):(d=7,f=4)}}function k6(e){var r;for(jm(e,e.dyn_ltree,e.l_desc.max_code),jm(e,e.dyn_dtree,e.d_desc.max_code),Wh(e,e.bl_desc),r=Yh-1;r>=3&&e.bl_tree[o8[r]*2+1]===0;r--);return e.opt_len+=3*(r+1)+5+5+4,r}function M6(e,r,t,a){var s;for(ln(e,r-257,5),ln(e,t-1,5),ln(e,a-4,4),s=0;s<a;s++)ln(e,e.bl_tree[o8[s]*2+1],3);e8(e,e.dyn_ltree,r-1),e8(e,e.dyn_dtree,t-1)}function E6(e){var r=4093624447,t;for(t=0;t<=31;t++,r>>>=1)if(r&1&&e.dyn_ltree[t*2]!==0)return Qm;if(e.dyn_ltree[18]!==0||e.dyn_ltree[20]!==0||e.dyn_ltree[26]!==0)return Fm;for(t=32;t<wu;t++)if(e.dyn_ltree[t*2]!==0)return Fm;return Qm}var t8=!1;function P6(e){t8||(L6(),t8=!0),e.l_desc=new Uh(e.dyn_ltree,f8),e.d_desc=new Uh(e.dyn_dtree,l8),e.bl_desc=new Uh(e.bl_tree,u8),e.bi_buf=0,e.bi_valid=0,p8(e)}function m8(e,r,t,a){ln(e,(u6<<1)+(a?1:0),3),g6(e,r,t,!0)}function S6(e){ln(e,r8<<1,3),Oi(e,Ah,L0),_6(e)}function I6(e,r,t,a){var s,n,i=0;e.level>0?(e.strm.data_type===l6&&(e.strm.data_type=E6(e)),Wh(e,e.l_desc),Wh(e,e.d_desc),i=k6(e),s=e.opt_len+3+7>>>3,n=e.static_len+3+7>>>3,n<=s&&(s=n)):s=n=t+5,t+4<=s&&r!==-1?m8(e,r,t,a):e.strategy===f6||n===s?(ln(e,(r8<<1)+(a?1:0),3),Vm(e,L0,Pu)):(ln(e,(c6<<1)+(a?1:0),3),M6(e,e.l_desc.max_code+1,e.d_desc.max_code+1,i+1),Vm(e,e.dyn_ltree,e.dyn_dtree)),p8(e),a&&v8(e)}function T6(e,r,t){return e.pending_buf[e.d_buf+e.last_lit*2]=r>>>8&255,e.pending_buf[e.d_buf+e.last_lit*2+1]=r&255,e.pending_buf[e.l_buf+e.last_lit]=t&255,e.last_lit++,r===0?e.dyn_ltree[t*2]++:(e.matches++,r--,e.dyn_ltree[(Tu[t]+wu+1)*2]++,e.dyn_dtree[c8(r)*2]++),e.last_lit===e.lit_bufsize-1}df._tr_init=P6;df._tr_stored_block=m8;df._tr_flush_block=I6;df._tr_tally=T6;df._tr_align=S6});var Kh=la((C4,b8)=>{"use strict";function y6(e,r,t,a){for(var s=e&65535|0,n=e>>>16&65535|0,i=0;t!==0;){i=t>2e3?2e3:t,t-=i;do s=s+r[a++]|0,n=n+s|0;while(--i);s%=65521,n%=65521}return s|n<<16|0}b8.exports=y6});var Jh=la((O4,L8)=>{"use strict";function w6(){for(var e,r=[],t=0;t<256;t++){e=t;for(var a=0;a<8;a++)e=e&1?3988292384^e>>>1:e>>>1;r[t]=e}return r}var R6=w6();function B6(e,r,t,a){var s=R6,n=a+t;e^=-1;for(var i=a;i<n;i++)e=e>>>8^s[(e^r[i])&255];return e^-1}L8.exports=B6});var i1=la((G4,g8)=>{"use strict";g8.exports={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"}});var w8=la(Hi=>{"use strict";var tn=b0(),zn=_8(),P8=Kh(),Y0=Jh(),D6=i1(),wo=0,N6=1,z6=3,Q0=4,k8=5,Ui=0,M8=1,xn=-2,x6=-3,Qh=-5,C6=-1,O6=1,s1=2,G6=3,U6=4,H6=0,Z6=2,u1=8,W6=9,$6=15,Y6=8,A6=29,X6=256,qh=X6+1+A6,K6=30,J6=19,Q6=2*qh+1,F6=15,Ft=3,K0=258,Ei=K0+Ft+1,q6=32,c1=42,Vh=69,o1=73,f1=91,l1=103,Io=113,Bu=666,ka=1,Du=2,To=3,vf=4,V6=3;function J0(e,r){return e.msg=D6[r],r}function E8(e){return(e<<1)-(e>4?9:0)}function X0(e){for(var r=e.length;--r>=0;)e[r]=0}function A0(e){var r=e.state,t=r.pending;t>e.avail_out&&(t=e.avail_out),t!==0&&(tn.arraySet(e.output,r.pending_buf,r.pending_out,t,e.next_out),e.next_out+=t,r.pending_out+=t,e.total_out+=t,e.avail_out-=t,r.pending-=t,r.pending===0&&(r.pending_out=0))}function Ga(e,r){zn._tr_flush_block(e,e.block_start>=0?e.block_start:-1,e.strstart-e.block_start,r),e.block_start=e.strstart,A0(e.strm)}function sr(e,r){e.pending_buf[e.pending++]=r}function Ru(e,r){e.pending_buf[e.pending++]=r>>>8&255,e.pending_buf[e.pending++]=r&255}function j6(e,r,t,a){var s=e.avail_in;return s>a&&(s=a),s===0?0:(e.avail_in-=s,tn.arraySet(r,e.input,e.next_in,s,t),e.state.wrap===1?e.adler=P8(e.adler,r,s,t):e.state.wrap===2&&(e.adler=Y0(e.adler,r,s,t)),e.next_in+=s,e.total_in+=s,s)}function S8(e,r){var t=e.max_chain_length,a=e.strstart,s,n,i=e.prev_length,o=e.nice_match,d=e.strstart>e.w_size-Ei?e.strstart-(e.w_size-Ei):0,f=e.window,u=e.w_mask,l=e.prev,k=e.strstart+K0,_=f[a+i-1],v=f[a+i];e.prev_length>=e.good_match&&(t>>=2),o>e.lookahead&&(o=e.lookahead);do if(s=r,!(f[s+i]!==v||f[s+i-1]!==_||f[s]!==f[a]||f[++s]!==f[a+1])){a+=2,s++;do;while(f[++a]===f[++s]&&f[++a]===f[++s]&&f[++a]===f[++s]&&f[++a]===f[++s]&&f[++a]===f[++s]&&f[++a]===f[++s]&&f[++a]===f[++s]&&f[++a]===f[++s]&&a<k);if(n=K0-(k-a),a=k-K0,n>i){if(e.match_start=r,i=n,n>=o)break;_=f[a+i-1],v=f[a+i]}}while((r=l[r&u])>d&&--t!==0);return i<=e.lookahead?i:e.lookahead}function yo(e){var r=e.w_size,t,a,s,n,i;do{if(n=e.window_size-e.lookahead-e.strstart,e.strstart>=r+(r-Ei)){tn.arraySet(e.window,e.window,r,r,0),e.match_start-=r,e.strstart-=r,e.block_start-=r,a=e.hash_size,t=a;do s=e.head[--t],e.head[t]=s>=r?s-r:0;while(--a);a=r,t=a;do s=e.prev[--t],e.prev[t]=s>=r?s-r:0;while(--a);n+=r}if(e.strm.avail_in===0)break;if(a=j6(e.strm,e.window,e.strstart+e.lookahead,n),e.lookahead+=a,e.lookahead+e.insert>=Ft)for(i=e.strstart-e.insert,e.ins_h=e.window[i],e.ins_h=(e.ins_h<<e.hash_shift^e.window[i+1])&e.hash_mask;e.insert&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[i+Ft-1])&e.hash_mask,e.prev[i&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=i,i++,e.insert--,!(e.lookahead+e.insert<Ft)););}while(e.lookahead<Ei&&e.strm.avail_in!==0)}function eL(e,r){var t=65535;for(t>e.pending_buf_size-5&&(t=e.pending_buf_size-5);;){if(e.lookahead<=1){if(yo(e),e.lookahead===0&&r===wo)return ka;if(e.lookahead===0)break}e.strstart+=e.lookahead,e.lookahead=0;var a=e.block_start+t;if((e.strstart===0||e.strstart>=a)&&(e.lookahead=e.strstart-a,e.strstart=a,Ga(e,!1),e.strm.avail_out===0)||e.strstart-e.block_start>=e.w_size-Ei&&(Ga(e,!1),e.strm.avail_out===0))return ka}return e.insert=0,r===Q0?(Ga(e,!0),e.strm.avail_out===0?To:vf):(e.strstart>e.block_start&&(Ga(e,!1),e.strm.avail_out===0),ka)}function Fh(e,r){for(var t,a;;){if(e.lookahead<Ei){if(yo(e),e.lookahead<Ei&&r===wo)return ka;if(e.lookahead===0)break}if(t=0,e.lookahead>=Ft&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+Ft-1])&e.hash_mask,t=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),t!==0&&e.strstart-t<=e.w_size-Ei&&(e.match_length=S8(e,t)),e.match_length>=Ft)if(a=zn._tr_tally(e,e.strstart-e.match_start,e.match_length-Ft),e.lookahead-=e.match_length,e.match_length<=e.max_lazy_match&&e.lookahead>=Ft){e.match_length--;do e.strstart++,e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+Ft-1])&e.hash_mask,t=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart;while(--e.match_length!==0);e.strstart++}else e.strstart+=e.match_length,e.match_length=0,e.ins_h=e.window[e.strstart],e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+1])&e.hash_mask;else a=zn._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++;if(a&&(Ga(e,!1),e.strm.avail_out===0))return ka}return e.insert=e.strstart<Ft-1?e.strstart:Ft-1,r===Q0?(Ga(e,!0),e.strm.avail_out===0?To:vf):e.last_lit&&(Ga(e,!1),e.strm.avail_out===0)?ka:Du}function hf(e,r){for(var t,a,s;;){if(e.lookahead<Ei){if(yo(e),e.lookahead<Ei&&r===wo)return ka;if(e.lookahead===0)break}if(t=0,e.lookahead>=Ft&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+Ft-1])&e.hash_mask,t=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),e.prev_length=e.match_length,e.prev_match=e.match_start,e.match_length=Ft-1,t!==0&&e.prev_length<e.max_lazy_match&&e.strstart-t<=e.w_size-Ei&&(e.match_length=S8(e,t),e.match_length<=5&&(e.strategy===O6||e.match_length===Ft&&e.strstart-e.match_start>4096)&&(e.match_length=Ft-1)),e.prev_length>=Ft&&e.match_length<=e.prev_length){s=e.strstart+e.lookahead-Ft,a=zn._tr_tally(e,e.strstart-1-e.prev_match,e.prev_length-Ft),e.lookahead-=e.prev_length-1,e.prev_length-=2;do++e.strstart<=s&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+Ft-1])&e.hash_mask,t=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart);while(--e.prev_length!==0);if(e.match_available=0,e.match_length=Ft-1,e.strstart++,a&&(Ga(e,!1),e.strm.avail_out===0))return ka}else if(e.match_available){if(a=zn._tr_tally(e,0,e.window[e.strstart-1]),a&&Ga(e,!1),e.strstart++,e.lookahead--,e.strm.avail_out===0)return ka}else e.match_available=1,e.strstart++,e.lookahead--}return e.match_available&&(a=zn._tr_tally(e,0,e.window[e.strstart-1]),e.match_available=0),e.insert=e.strstart<Ft-1?e.strstart:Ft-1,r===Q0?(Ga(e,!0),e.strm.avail_out===0?To:vf):e.last_lit&&(Ga(e,!1),e.strm.avail_out===0)?ka:Du}function tL(e,r){for(var t,a,s,n,i=e.window;;){if(e.lookahead<=K0){if(yo(e),e.lookahead<=K0&&r===wo)return ka;if(e.lookahead===0)break}if(e.match_length=0,e.lookahead>=Ft&&e.strstart>0&&(s=e.strstart-1,a=i[s],a===i[++s]&&a===i[++s]&&a===i[++s])){n=e.strstart+K0;do;while(a===i[++s]&&a===i[++s]&&a===i[++s]&&a===i[++s]&&a===i[++s]&&a===i[++s]&&a===i[++s]&&a===i[++s]&&s<n);e.match_length=K0-(n-s),e.match_length>e.lookahead&&(e.match_length=e.lookahead)}if(e.match_length>=Ft?(t=zn._tr_tally(e,1,e.match_length-Ft),e.lookahead-=e.match_length,e.strstart+=e.match_length,e.match_length=0):(t=zn._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++),t&&(Ga(e,!1),e.strm.avail_out===0))return ka}return e.insert=0,r===Q0?(Ga(e,!0),e.strm.avail_out===0?To:vf):e.last_lit&&(Ga(e,!1),e.strm.avail_out===0)?ka:Du}function rL(e,r){for(var t;;){if(e.lookahead===0&&(yo(e),e.lookahead===0)){if(r===wo)return ka;break}if(e.match_length=0,t=zn._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++,t&&(Ga(e,!1),e.strm.avail_out===0))return ka}return e.insert=0,r===Q0?(Ga(e,!0),e.strm.avail_out===0?To:vf):e.last_lit&&(Ga(e,!1),e.strm.avail_out===0)?ka:Du}function Gi(e,r,t,a,s){this.good_length=e,this.max_lazy=r,this.nice_length=t,this.max_chain=a,this.func=s}var pf;pf=[new Gi(0,0,0,0,eL),new Gi(4,4,8,4,Fh),new Gi(4,5,16,8,Fh),new Gi(4,6,32,32,Fh),new Gi(4,4,16,16,hf),new Gi(8,16,32,32,hf),new Gi(8,16,128,128,hf),new Gi(8,32,128,256,hf),new Gi(32,128,258,1024,hf),new Gi(32,258,258,4096,hf)];function aL(e){e.window_size=2*e.w_size,X0(e.head),e.max_lazy_match=pf[e.level].max_lazy,e.good_match=pf[e.level].good_length,e.nice_match=pf[e.level].nice_length,e.max_chain_length=pf[e.level].max_chain,e.strstart=0,e.block_start=0,e.lookahead=0,e.insert=0,e.match_length=e.prev_length=Ft-1,e.match_available=0,e.ins_h=0}function nL(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=u1,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new tn.Buf16(Q6*2),this.dyn_dtree=new tn.Buf16((2*K6+1)*2),this.bl_tree=new tn.Buf16((2*J6+1)*2),X0(this.dyn_ltree),X0(this.dyn_dtree),X0(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new tn.Buf16(F6+1),this.heap=new tn.Buf16(2*qh+1),X0(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new tn.Buf16(2*qh+1),X0(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}function I8(e){var r;return!e||!e.state?J0(e,xn):(e.total_in=e.total_out=0,e.data_type=Z6,r=e.state,r.pending=0,r.pending_out=0,r.wrap<0&&(r.wrap=-r.wrap),r.status=r.wrap?c1:Io,e.adler=r.wrap===2?0:1,r.last_flush=wo,zn._tr_init(r),Ui)}function T8(e){var r=I8(e);return r===Ui&&aL(e.state),r}function iL(e,r){return!e||!e.state||e.state.wrap!==2?xn:(e.state.gzhead=r,Ui)}function y8(e,r,t,a,s,n){if(!e)return xn;var i=1;if(r===C6&&(r=6),a<0?(i=0,a=-a):a>15&&(i=2,a-=16),s<1||s>W6||t!==u1||a<8||a>15||r<0||r>9||n<0||n>U6)return J0(e,xn);a===8&&(a=9);var o=new nL;return e.state=o,o.strm=e,o.wrap=i,o.gzhead=null,o.w_bits=a,o.w_size=1<<o.w_bits,o.w_mask=o.w_size-1,o.hash_bits=s+7,o.hash_size=1<<o.hash_bits,o.hash_mask=o.hash_size-1,o.hash_shift=~~((o.hash_bits+Ft-1)/Ft),o.window=new tn.Buf8(o.w_size*2),o.head=new tn.Buf16(o.hash_size),o.prev=new tn.Buf16(o.w_size),o.lit_bufsize=1<<s+6,o.pending_buf_size=o.lit_bufsize*4,o.pending_buf=new tn.Buf8(o.pending_buf_size),o.d_buf=1*o.lit_bufsize,o.l_buf=3*o.lit_bufsize,o.level=r,o.strategy=n,o.method=t,T8(e)}function sL(e,r){return y8(e,r,u1,$6,Y6,H6)}function oL(e,r){var t,a,s,n;if(!e||!e.state||r>k8||r<0)return e?J0(e,xn):xn;if(a=e.state,!e.output||!e.input&&e.avail_in!==0||a.status===Bu&&r!==Q0)return J0(e,e.avail_out===0?Qh:xn);if(a.strm=e,t=a.last_flush,a.last_flush=r,a.status===c1)if(a.wrap===2)e.adler=0,sr(a,31),sr(a,139),sr(a,8),a.gzhead?(sr(a,(a.gzhead.text?1:0)+(a.gzhead.hcrc?2:0)+(a.gzhead.extra?4:0)+(a.gzhead.name?8:0)+(a.gzhead.comment?16:0)),sr(a,a.gzhead.time&255),sr(a,a.gzhead.time>>8&255),sr(a,a.gzhead.time>>16&255),sr(a,a.gzhead.time>>24&255),sr(a,a.level===9?2:a.strategy>=s1||a.level<2?4:0),sr(a,a.gzhead.os&255),a.gzhead.extra&&a.gzhead.extra.length&&(sr(a,a.gzhead.extra.length&255),sr(a,a.gzhead.extra.length>>8&255)),a.gzhead.hcrc&&(e.adler=Y0(e.adler,a.pending_buf,a.pending,0)),a.gzindex=0,a.status=Vh):(sr(a,0),sr(a,0),sr(a,0),sr(a,0),sr(a,0),sr(a,a.level===9?2:a.strategy>=s1||a.level<2?4:0),sr(a,V6),a.status=Io);else{var i=u1+(a.w_bits-8<<4)<<8,o=-1;a.strategy>=s1||a.level<2?o=0:a.level<6?o=1:a.level===6?o=2:o=3,i|=o<<6,a.strstart!==0&&(i|=q6),i+=31-i%31,a.status=Io,Ru(a,i),a.strstart!==0&&(Ru(a,e.adler>>>16),Ru(a,e.adler&65535)),e.adler=1}if(a.status===Vh)if(a.gzhead.extra){for(s=a.pending;a.gzindex<(a.gzhead.extra.length&65535)&&!(a.pending===a.pending_buf_size&&(a.gzhead.hcrc&&a.pending>s&&(e.adler=Y0(e.adler,a.pending_buf,a.pending-s,s)),A0(e),s=a.pending,a.pending===a.pending_buf_size));)sr(a,a.gzhead.extra[a.gzindex]&255),a.gzindex++;a.gzhead.hcrc&&a.pending>s&&(e.adler=Y0(e.adler,a.pending_buf,a.pending-s,s)),a.gzindex===a.gzhead.extra.length&&(a.gzindex=0,a.status=o1)}else a.status=o1;if(a.status===o1)if(a.gzhead.name){s=a.pending;do{if(a.pending===a.pending_buf_size&&(a.gzhead.hcrc&&a.pending>s&&(e.adler=Y0(e.adler,a.pending_buf,a.pending-s,s)),A0(e),s=a.pending,a.pending===a.pending_buf_size)){n=1;break}a.gzindex<a.gzhead.name.length?n=a.gzhead.name.charCodeAt(a.gzindex++)&255:n=0,sr(a,n)}while(n!==0);a.gzhead.hcrc&&a.pending>s&&(e.adler=Y0(e.adler,a.pending_buf,a.pending-s,s)),n===0&&(a.gzindex=0,a.status=f1)}else a.status=f1;if(a.status===f1)if(a.gzhead.comment){s=a.pending;do{if(a.pending===a.pending_buf_size&&(a.gzhead.hcrc&&a.pending>s&&(e.adler=Y0(e.adler,a.pending_buf,a.pending-s,s)),A0(e),s=a.pending,a.pending===a.pending_buf_size)){n=1;break}a.gzindex<a.gzhead.comment.length?n=a.gzhead.comment.charCodeAt(a.gzindex++)&255:n=0,sr(a,n)}while(n!==0);a.gzhead.hcrc&&a.pending>s&&(e.adler=Y0(e.adler,a.pending_buf,a.pending-s,s)),n===0&&(a.status=l1)}else a.status=l1;if(a.status===l1&&(a.gzhead.hcrc?(a.pending+2>a.pending_buf_size&&A0(e),a.pending+2<=a.pending_buf_size&&(sr(a,e.adler&255),sr(a,e.adler>>8&255),e.adler=0,a.status=Io)):a.status=Io),a.pending!==0){if(A0(e),e.avail_out===0)return a.last_flush=-1,Ui}else if(e.avail_in===0&&E8(r)<=E8(t)&&r!==Q0)return J0(e,Qh);if(a.status===Bu&&e.avail_in!==0)return J0(e,Qh);if(e.avail_in!==0||a.lookahead!==0||r!==wo&&a.status!==Bu){var d=a.strategy===s1?rL(a,r):a.strategy===G6?tL(a,r):pf[a.level].func(a,r);if((d===To||d===vf)&&(a.status=Bu),d===ka||d===To)return e.avail_out===0&&(a.last_flush=-1),Ui;if(d===Du&&(r===N6?zn._tr_align(a):r!==k8&&(zn._tr_stored_block(a,0,0,!1),r===z6&&(X0(a.head),a.lookahead===0&&(a.strstart=0,a.block_start=0,a.insert=0))),A0(e),e.avail_out===0))return a.last_flush=-1,Ui}return r!==Q0?Ui:a.wrap<=0?M8:(a.wrap===2?(sr(a,e.adler&255),sr(a,e.adler>>8&255),sr(a,e.adler>>16&255),sr(a,e.adler>>24&255),sr(a,e.total_in&255),sr(a,e.total_in>>8&255),sr(a,e.total_in>>16&255),sr(a,e.total_in>>24&255)):(Ru(a,e.adler>>>16),Ru(a,e.adler&65535)),A0(e),a.wrap>0&&(a.wrap=-a.wrap),a.pending!==0?Ui:M8)}function fL(e){var r;return!e||!e.state?xn:(r=e.state.status,r!==c1&&r!==Vh&&r!==o1&&r!==f1&&r!==l1&&r!==Io&&r!==Bu?J0(e,xn):(e.state=null,r===Io?J0(e,x6):Ui))}function lL(e,r){var t=r.length,a,s,n,i,o,d,f,u;if(!e||!e.state||(a=e.state,i=a.wrap,i===2||i===1&&a.status!==c1||a.lookahead))return xn;for(i===1&&(e.adler=P8(e.adler,r,t,0)),a.wrap=0,t>=a.w_size&&(i===0&&(X0(a.head),a.strstart=0,a.block_start=0,a.insert=0),u=new tn.Buf8(a.w_size),tn.arraySet(u,r,t-a.w_size,a.w_size,0),r=u,t=a.w_size),o=e.avail_in,d=e.next_in,f=e.input,e.avail_in=t,e.next_in=0,e.input=r,yo(a);a.lookahead>=Ft;){s=a.strstart,n=a.lookahead-(Ft-1);do a.ins_h=(a.ins_h<<a.hash_shift^a.window[s+Ft-1])&a.hash_mask,a.prev[s&a.w_mask]=a.head[a.ins_h],a.head[a.ins_h]=s,s++;while(--n);a.strstart=s,a.lookahead=Ft-1,yo(a)}return a.strstart+=a.lookahead,a.block_start=a.strstart,a.insert=a.lookahead,a.lookahead=0,a.match_length=a.prev_length=Ft-1,a.match_available=0,e.next_in=d,e.input=f,e.avail_in=o,a.wrap=i,Ui}Hi.deflateInit=sL;Hi.deflateInit2=y8;Hi.deflateReset=T8;Hi.deflateResetKeep=I8;Hi.deflateSetHeader=iL;Hi.deflate=oL;Hi.deflateEnd=fL;Hi.deflateSetDictionary=lL;Hi.deflateInfo="pako deflate (from Nodeca project)"});var jh=la(mf=>{"use strict";var d1=b0(),R8=!0,B8=!0;try{String.fromCharCode.apply(null,[0])}catch{R8=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch{B8=!1}var Nu=new d1.Buf8(256);for(g0=0;g0<256;g0++)Nu[g0]=g0>=252?6:g0>=248?5:g0>=240?4:g0>=224?3:g0>=192?2:1;var g0;Nu[254]=Nu[254]=1;mf.string2buf=function(e){var r,t,a,s,n,i=e.length,o=0;for(s=0;s<i;s++)t=e.charCodeAt(s),(t&64512)===55296&&s+1<i&&(a=e.charCodeAt(s+1),(a&64512)===56320&&(t=65536+(t-55296<<10)+(a-56320),s++)),o+=t<128?1:t<2048?2:t<65536?3:4;for(r=new d1.Buf8(o),n=0,s=0;n<o;s++)t=e.charCodeAt(s),(t&64512)===55296&&s+1<i&&(a=e.charCodeAt(s+1),(a&64512)===56320&&(t=65536+(t-55296<<10)+(a-56320),s++)),t<128?r[n++]=t:t<2048?(r[n++]=192|t>>>6,r[n++]=128|t&63):t<65536?(r[n++]=224|t>>>12,r[n++]=128|t>>>6&63,r[n++]=128|t&63):(r[n++]=240|t>>>18,r[n++]=128|t>>>12&63,r[n++]=128|t>>>6&63,r[n++]=128|t&63);return r};function D8(e,r){if(r<65534&&(e.subarray&&B8||!e.subarray&&R8))return String.fromCharCode.apply(null,d1.shrinkBuf(e,r));for(var t="",a=0;a<r;a++)t+=String.fromCharCode(e[a]);return t}mf.buf2binstring=function(e){return D8(e,e.length)};mf.binstring2buf=function(e){for(var r=new d1.Buf8(e.length),t=0,a=r.length;t<a;t++)r[t]=e.charCodeAt(t);return r};mf.buf2string=function(e,r){var t,a,s,n,i=r||e.length,o=new Array(i*2);for(a=0,t=0;t<i;){if(s=e[t++],s<128){o[a++]=s;continue}if(n=Nu[s],n>4){o[a++]=65533,t+=n-1;continue}for(s&=n===2?31:n===3?15:7;n>1&&t<i;)s=s<<6|e[t++]&63,n--;if(n>1){o[a++]=65533;continue}s<65536?o[a++]=s:(s-=65536,o[a++]=55296|s>>10&1023,o[a++]=56320|s&1023)}return D8(o,a)};mf.utf8border=function(e,r){var t;for(r=r||e.length,r>e.length&&(r=e.length),t=r-1;t>=0&&(e[t]&192)===128;)t--;return t<0||t===0?r:t+Nu[e[t]]>r?t:r}});var ep=la((Z4,N8)=>{"use strict";function uL(){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}N8.exports=uL});var O8=la(Cu=>{"use strict";var zu=w8(),xu=b0(),rp=jh(),ap=i1(),cL=ep(),C8=Object.prototype.toString,dL=0,tp=4,_f=0,z8=1,x8=2,hL=-1,pL=0,vL=8;function Ro(e){if(!(this instanceof Ro))return new Ro(e);this.options=xu.assign({level:hL,method:vL,chunkSize:16384,windowBits:15,memLevel:8,strategy:pL,to:""},e||{});var r=this.options;r.raw&&r.windowBits>0?r.windowBits=-r.windowBits:r.gzip&&r.windowBits>0&&r.windowBits<16&&(r.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new cL,this.strm.avail_out=0;var t=zu.deflateInit2(this.strm,r.level,r.method,r.windowBits,r.memLevel,r.strategy);if(t!==_f)throw new Error(ap[t]);if(r.header&&zu.deflateSetHeader(this.strm,r.header),r.dictionary){var a;if(typeof r.dictionary=="string"?a=rp.string2buf(r.dictionary):C8.call(r.dictionary)==="[object ArrayBuffer]"?a=new Uint8Array(r.dictionary):a=r.dictionary,t=zu.deflateSetDictionary(this.strm,a),t!==_f)throw new Error(ap[t]);this._dict_set=!0}}Ro.prototype.push=function(e,r){var t=this.strm,a=this.options.chunkSize,s,n;if(this.ended)return!1;n=r===~~r?r:r===!0?tp:dL,typeof e=="string"?t.input=rp.string2buf(e):C8.call(e)==="[object ArrayBuffer]"?t.input=new Uint8Array(e):t.input=e,t.next_in=0,t.avail_in=t.input.length;do{if(t.avail_out===0&&(t.output=new xu.Buf8(a),t.next_out=0,t.avail_out=a),s=zu.deflate(t,n),s!==z8&&s!==_f)return this.onEnd(s),this.ended=!0,!1;(t.avail_out===0||t.avail_in===0&&(n===tp||n===x8))&&(this.options.to==="string"?this.onData(rp.buf2binstring(xu.shrinkBuf(t.output,t.next_out))):this.onData(xu.shrinkBuf(t.output,t.next_out)))}while((t.avail_in>0||t.avail_out===0)&&s!==z8);return n===tp?(s=zu.deflateEnd(this.strm),this.onEnd(s),this.ended=!0,s===_f):(n===x8&&(this.onEnd(_f),t.avail_out=0),!0)};Ro.prototype.onData=function(e){this.chunks.push(e)};Ro.prototype.onEnd=function(e){e===_f&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=xu.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg};function np(e,r){var t=new Ro(r);if(t.push(e,!0),t.err)throw t.msg||ap[t.err];return t.result}function mL(e,r){return r=r||{},r.raw=!0,np(e,r)}function _L(e,r){return r=r||{},r.gzip=!0,np(e,r)}Cu.Deflate=Ro;Cu.deflate=np;Cu.deflateRaw=mL;Cu.gzip=_L});var U8=la(($4,G8)=>{"use strict";var h1=30,bL=12;G8.exports=function(r,t){var a,s,n,i,o,d,f,u,l,k,_,v,m,g,M,p,b,y,I,N,R,B,Z,T,C;a=r.state,s=r.next_in,T=r.input,n=s+(r.avail_in-5),i=r.next_out,C=r.output,o=i-(t-r.avail_out),d=i+(r.avail_out-257),f=a.dmax,u=a.wsize,l=a.whave,k=a.wnext,_=a.window,v=a.hold,m=a.bits,g=a.lencode,M=a.distcode,p=(1<<a.lenbits)-1,b=(1<<a.distbits)-1;e:do{m<15&&(v+=T[s++]<<m,m+=8,v+=T[s++]<<m,m+=8),y=g[v&p];t:for(;;){if(I=y>>>24,v>>>=I,m-=I,I=y>>>16&255,I===0)C[i++]=y&65535;else if(I&16){N=y&65535,I&=15,I&&(m<I&&(v+=T[s++]<<m,m+=8),N+=v&(1<<I)-1,v>>>=I,m-=I),m<15&&(v+=T[s++]<<m,m+=8,v+=T[s++]<<m,m+=8),y=M[v&b];r:for(;;){if(I=y>>>24,v>>>=I,m-=I,I=y>>>16&255,I&16){if(R=y&65535,I&=15,m<I&&(v+=T[s++]<<m,m+=8,m<I&&(v+=T[s++]<<m,m+=8)),R+=v&(1<<I)-1,R>f){r.msg="invalid distance too far back",a.mode=h1;break e}if(v>>>=I,m-=I,I=i-o,R>I){if(I=R-I,I>l&&a.sane){r.msg="invalid distance too far back",a.mode=h1;break e}if(B=0,Z=_,k===0){if(B+=u-I,I<N){N-=I;do C[i++]=_[B++];while(--I);B=i-R,Z=C}}else if(k<I){if(B+=u+k-I,I-=k,I<N){N-=I;do C[i++]=_[B++];while(--I);if(B=0,k<N){I=k,N-=I;do C[i++]=_[B++];while(--I);B=i-R,Z=C}}}else if(B+=k-I,I<N){N-=I;do C[i++]=_[B++];while(--I);B=i-R,Z=C}for(;N>2;)C[i++]=Z[B++],C[i++]=Z[B++],C[i++]=Z[B++],N-=3;N&&(C[i++]=Z[B++],N>1&&(C[i++]=Z[B++]))}else{B=i-R;do C[i++]=C[B++],C[i++]=C[B++],C[i++]=C[B++],N-=3;while(N>2);N&&(C[i++]=C[B++],N>1&&(C[i++]=C[B++]))}}else if((I&64)===0){y=M[(y&65535)+(v&(1<<I)-1)];continue r}else{r.msg="invalid distance code",a.mode=h1;break e}break}}else if((I&64)===0){y=g[(y&65535)+(v&(1<<I)-1)];continue t}else if(I&32){a.mode=bL;break e}else{r.msg="invalid literal/length code",a.mode=h1;break e}break}}while(s<n&&i<d);N=m>>3,s-=N,m-=N<<3,v&=(1<<m)-1,r.next_in=s,r.next_out=i,r.avail_in=s<n?5+(n-s):5-(s-n),r.avail_out=i<d?257+(d-i):257-(i-d),a.hold=v,a.bits=m}});var X8=la((Y4,A8)=>{"use strict";var H8=b0(),bf=15,Z8=852,W8=592,$8=0,ip=1,Y8=2,LL=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],gL=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],kL=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],ML=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64];A8.exports=function(r,t,a,s,n,i,o,d){var f=d.bits,u=0,l=0,k=0,_=0,v=0,m=0,g=0,M=0,p=0,b=0,y,I,N,R,B,Z=null,T=0,C,P=new H8.Buf16(bf+1),J=new H8.Buf16(bf+1),re=null,Q=0,ae,X,V;for(u=0;u<=bf;u++)P[u]=0;for(l=0;l<s;l++)P[t[a+l]]++;for(v=f,_=bf;_>=1&&P[_]===0;_--);if(v>_&&(v=_),_===0)return n[i++]=1<<24|64<<16|0,n[i++]=1<<24|64<<16|0,d.bits=1,0;for(k=1;k<_&&P[k]===0;k++);for(v<k&&(v=k),M=1,u=1;u<=bf;u++)if(M<<=1,M-=P[u],M<0)return-1;if(M>0&&(r===$8||_!==1))return-1;for(J[1]=0,u=1;u<bf;u++)J[u+1]=J[u]+P[u];for(l=0;l<s;l++)t[a+l]!==0&&(o[J[t[a+l]]++]=l);if(r===$8?(Z=re=o,C=19):r===ip?(Z=LL,T-=257,re=gL,Q-=257,C=256):(Z=kL,re=ML,C=-1),b=0,l=0,u=k,B=i,m=v,g=0,N=-1,p=1<<v,R=p-1,r===ip&&p>Z8||r===Y8&&p>W8)return 1;for(;;){ae=u-g,o[l]<C?(X=0,V=o[l]):o[l]>C?(X=re[Q+o[l]],V=Z[T+o[l]]):(X=96,V=0),y=1<<u-g,I=1<<m,k=I;do I-=y,n[B+(b>>g)+I]=ae<<24|X<<16|V|0;while(I!==0);for(y=1<<u-1;b&y;)y>>=1;if(y!==0?(b&=y-1,b+=y):b=0,l++,--P[u]===0){if(u===_)break;u=t[a+o[l]]}if(u>v&&(b&R)!==N){for(g===0&&(g=v),B+=k,m=u-g,M=1<<m;m+g<_&&(M-=P[m+g],!(M<=0));)m++,M<<=1;if(p+=1<<m,r===ip&&p>Z8||r===Y8&&p>W8)return 1;N=b&R,n[N]=v<<24|m<<16|B-i|0}}return b!==0&&(n[B+b]=u-g<<24|64<<16|0),d.bits=v,0}});var T_=la(Pi=>{"use strict";var En=b0(),cp=Kh(),Zi=Jh(),EL=U8(),Ou=X8(),PL=0,b_=1,L_=2,K8=4,SL=5,p1=6,Bo=0,IL=1,TL=2,Cn=-2,g_=-3,dp=-4,yL=-5,J8=8,k_=1,Q8=2,F8=3,q8=4,V8=5,j8=6,e_=7,t_=8,r_=9,a_=10,_1=11,k0=12,sp=13,n_=14,op=15,i_=16,s_=17,o_=18,f_=19,v1=20,m1=21,l_=22,u_=23,c_=24,d_=25,h_=26,fp=27,p_=28,v_=29,Cr=30,hp=31,wL=32,RL=852,BL=592,DL=15,NL=DL;function m_(e){return(e>>>24&255)+(e>>>8&65280)+((e&65280)<<8)+((e&255)<<24)}function zL(){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 En.Buf16(320),this.work=new En.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function M_(e){var r;return!e||!e.state?Cn:(r=e.state,e.total_in=e.total_out=r.total=0,e.msg="",r.wrap&&(e.adler=r.wrap&1),r.mode=k_,r.last=0,r.havedict=0,r.dmax=32768,r.head=null,r.hold=0,r.bits=0,r.lencode=r.lendyn=new En.Buf32(RL),r.distcode=r.distdyn=new En.Buf32(BL),r.sane=1,r.back=-1,Bo)}function E_(e){var r;return!e||!e.state?Cn:(r=e.state,r.wsize=0,r.whave=0,r.wnext=0,M_(e))}function P_(e,r){var t,a;return!e||!e.state||(a=e.state,r<0?(t=0,r=-r):(t=(r>>4)+1,r<48&&(r&=15)),r&&(r<8||r>15))?Cn:(a.window!==null&&a.wbits!==r&&(a.window=null),a.wrap=t,a.wbits=r,E_(e))}function S_(e,r){var t,a;return e?(a=new zL,e.state=a,a.window=null,t=P_(e,r),t!==Bo&&(e.state=null),t):Cn}function xL(e){return S_(e,NL)}var __=!0,lp,up;function CL(e){if(__){var r;for(lp=new En.Buf32(512),up=new En.Buf32(32),r=0;r<144;)e.lens[r++]=8;for(;r<256;)e.lens[r++]=9;for(;r<280;)e.lens[r++]=7;for(;r<288;)e.lens[r++]=8;for(Ou(b_,e.lens,0,288,lp,0,e.work,{bits:9}),r=0;r<32;)e.lens[r++]=5;Ou(L_,e.lens,0,32,up,0,e.work,{bits:5}),__=!1}e.lencode=lp,e.lenbits=9,e.distcode=up,e.distbits=5}function I_(e,r,t,a){var s,n=e.state;return n.window===null&&(n.wsize=1<<n.wbits,n.wnext=0,n.whave=0,n.window=new En.Buf8(n.wsize)),a>=n.wsize?(En.arraySet(n.window,r,t-n.wsize,n.wsize,0),n.wnext=0,n.whave=n.wsize):(s=n.wsize-n.wnext,s>a&&(s=a),En.arraySet(n.window,r,t-a,s,n.wnext),a-=s,a?(En.arraySet(n.window,r,t-a,a,0),n.wnext=a,n.whave=n.wsize):(n.wnext+=s,n.wnext===n.wsize&&(n.wnext=0),n.whave<n.wsize&&(n.whave+=s))),0}function OL(e,r){var t,a,s,n,i,o,d,f,u,l,k,_,v,m,g=0,M,p,b,y,I,N,R,B,Z=new En.Buf8(4),T,C,P=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!e||!e.state||!e.output||!e.input&&e.avail_in!==0)return Cn;t=e.state,t.mode===k0&&(t.mode=sp),i=e.next_out,s=e.output,d=e.avail_out,n=e.next_in,a=e.input,o=e.avail_in,f=t.hold,u=t.bits,l=o,k=d,B=Bo;e:for(;;)switch(t.mode){case k_:if(t.wrap===0){t.mode=sp;break}for(;u<16;){if(o===0)break e;o--,f+=a[n++]<<u,u+=8}if(t.wrap&2&&f===35615){t.check=0,Z[0]=f&255,Z[1]=f>>>8&255,t.check=Zi(t.check,Z,2,0),f=0,u=0,t.mode=Q8;break}if(t.flags=0,t.head&&(t.head.done=!1),!(t.wrap&1)||(((f&255)<<8)+(f>>8))%31){e.msg="incorrect header check",t.mode=Cr;break}if((f&15)!==J8){e.msg="unknown compression method",t.mode=Cr;break}if(f>>>=4,u-=4,R=(f&15)+8,t.wbits===0)t.wbits=R;else if(R>t.wbits){e.msg="invalid window size",t.mode=Cr;break}t.dmax=1<<R,e.adler=t.check=1,t.mode=f&512?a_:k0,f=0,u=0;break;case Q8:for(;u<16;){if(o===0)break e;o--,f+=a[n++]<<u,u+=8}if(t.flags=f,(t.flags&255)!==J8){e.msg="unknown compression method",t.mode=Cr;break}if(t.flags&57344){e.msg="unknown header flags set",t.mode=Cr;break}t.head&&(t.head.text=f>>8&1),t.flags&512&&(Z[0]=f&255,Z[1]=f>>>8&255,t.check=Zi(t.check,Z,2,0)),f=0,u=0,t.mode=F8;case F8:for(;u<32;){if(o===0)break e;o--,f+=a[n++]<<u,u+=8}t.head&&(t.head.time=f),t.flags&512&&(Z[0]=f&255,Z[1]=f>>>8&255,Z[2]=f>>>16&255,Z[3]=f>>>24&255,t.check=Zi(t.check,Z,4,0)),f=0,u=0,t.mode=q8;case q8:for(;u<16;){if(o===0)break e;o--,f+=a[n++]<<u,u+=8}t.head&&(t.head.xflags=f&255,t.head.os=f>>8),t.flags&512&&(Z[0]=f&255,Z[1]=f>>>8&255,t.check=Zi(t.check,Z,2,0)),f=0,u=0,t.mode=V8;case V8:if(t.flags&1024){for(;u<16;){if(o===0)break e;o--,f+=a[n++]<<u,u+=8}t.length=f,t.head&&(t.head.extra_len=f),t.flags&512&&(Z[0]=f&255,Z[1]=f>>>8&255,t.check=Zi(t.check,Z,2,0)),f=0,u=0}else t.head&&(t.head.extra=null);t.mode=j8;case j8:if(t.flags&1024&&(_=t.length,_>o&&(_=o),_&&(t.head&&(R=t.head.extra_len-t.length,t.head.extra||(t.head.extra=new Array(t.head.extra_len)),En.arraySet(t.head.extra,a,n,_,R)),t.flags&512&&(t.check=Zi(t.check,a,_,n)),o-=_,n+=_,t.length-=_),t.length))break e;t.length=0,t.mode=e_;case e_:if(t.flags&2048){if(o===0)break e;_=0;do R=a[n+_++],t.head&&R&&t.length<65536&&(t.head.name+=String.fromCharCode(R));while(R&&_<o);if(t.flags&512&&(t.check=Zi(t.check,a,_,n)),o-=_,n+=_,R)break e}else t.head&&(t.head.name=null);t.length=0,t.mode=t_;case t_:if(t.flags&4096){if(o===0)break e;_=0;do R=a[n+_++],t.head&&R&&t.length<65536&&(t.head.comment+=String.fromCharCode(R));while(R&&_<o);if(t.flags&512&&(t.check=Zi(t.check,a,_,n)),o-=_,n+=_,R)break e}else t.head&&(t.head.comment=null);t.mode=r_;case r_:if(t.flags&512){for(;u<16;){if(o===0)break e;o--,f+=a[n++]<<u,u+=8}if(f!==(t.check&65535)){e.msg="header crc mismatch",t.mode=Cr;break}f=0,u=0}t.head&&(t.head.hcrc=t.flags>>9&1,t.head.done=!0),e.adler=t.check=0,t.mode=k0;break;case a_:for(;u<32;){if(o===0)break e;o--,f+=a[n++]<<u,u+=8}e.adler=t.check=m_(f),f=0,u=0,t.mode=_1;case _1:if(t.havedict===0)return e.next_out=i,e.avail_out=d,e.next_in=n,e.avail_in=o,t.hold=f,t.bits=u,TL;e.adler=t.check=1,t.mode=k0;case k0:if(r===SL||r===p1)break e;case sp:if(t.last){f>>>=u&7,u-=u&7,t.mode=fp;break}for(;u<3;){if(o===0)break e;o--,f+=a[n++]<<u,u+=8}switch(t.last=f&1,f>>>=1,u-=1,f&3){case 0:t.mode=n_;break;case 1:if(CL(t),t.mode=v1,r===p1){f>>>=2,u-=2;break e}break;case 2:t.mode=s_;break;case 3:e.msg="invalid block type",t.mode=Cr}f>>>=2,u-=2;break;case n_:for(f>>>=u&7,u-=u&7;u<32;){if(o===0)break e;o--,f+=a[n++]<<u,u+=8}if((f&65535)!==(f>>>16^65535)){e.msg="invalid stored block lengths",t.mode=Cr;break}if(t.length=f&65535,f=0,u=0,t.mode=op,r===p1)break e;case op:t.mode=i_;case i_:if(_=t.length,_){if(_>o&&(_=o),_>d&&(_=d),_===0)break e;En.arraySet(s,a,n,_,i),o-=_,n+=_,d-=_,i+=_,t.length-=_;break}t.mode=k0;break;case s_:for(;u<14;){if(o===0)break e;o--,f+=a[n++]<<u,u+=8}if(t.nlen=(f&31)+257,f>>>=5,u-=5,t.ndist=(f&31)+1,f>>>=5,u-=5,t.ncode=(f&15)+4,f>>>=4,u-=4,t.nlen>286||t.ndist>30){e.msg="too many length or distance symbols",t.mode=Cr;break}t.have=0,t.mode=o_;case o_:for(;t.have<t.ncode;){for(;u<3;){if(o===0)break e;o--,f+=a[n++]<<u,u+=8}t.lens[P[t.have++]]=f&7,f>>>=3,u-=3}for(;t.have<19;)t.lens[P[t.have++]]=0;if(t.lencode=t.lendyn,t.lenbits=7,T={bits:t.lenbits},B=Ou(PL,t.lens,0,19,t.lencode,0,t.work,T),t.lenbits=T.bits,B){e.msg="invalid code lengths set",t.mode=Cr;break}t.have=0,t.mode=f_;case f_:for(;t.have<t.nlen+t.ndist;){for(;g=t.lencode[f&(1<<t.lenbits)-1],M=g>>>24,p=g>>>16&255,b=g&65535,!(M<=u);){if(o===0)break e;o--,f+=a[n++]<<u,u+=8}if(b<16)f>>>=M,u-=M,t.lens[t.have++]=b;else{if(b===16){for(C=M+2;u<C;){if(o===0)break e;o--,f+=a[n++]<<u,u+=8}if(f>>>=M,u-=M,t.have===0){e.msg="invalid bit length repeat",t.mode=Cr;break}R=t.lens[t.have-1],_=3+(f&3),f>>>=2,u-=2}else if(b===17){for(C=M+3;u<C;){if(o===0)break e;o--,f+=a[n++]<<u,u+=8}f>>>=M,u-=M,R=0,_=3+(f&7),f>>>=3,u-=3}else{for(C=M+7;u<C;){if(o===0)break e;o--,f+=a[n++]<<u,u+=8}f>>>=M,u-=M,R=0,_=11+(f&127),f>>>=7,u-=7}if(t.have+_>t.nlen+t.ndist){e.msg="invalid bit length repeat",t.mode=Cr;break}for(;_--;)t.lens[t.have++]=R}}if(t.mode===Cr)break;if(t.lens[256]===0){e.msg="invalid code -- missing end-of-block",t.mode=Cr;break}if(t.lenbits=9,T={bits:t.lenbits},B=Ou(b_,t.lens,0,t.nlen,t.lencode,0,t.work,T),t.lenbits=T.bits,B){e.msg="invalid literal/lengths set",t.mode=Cr;break}if(t.distbits=6,t.distcode=t.distdyn,T={bits:t.distbits},B=Ou(L_,t.lens,t.nlen,t.ndist,t.distcode,0,t.work,T),t.distbits=T.bits,B){e.msg="invalid distances set",t.mode=Cr;break}if(t.mode=v1,r===p1)break e;case v1:t.mode=m1;case m1:if(o>=6&&d>=258){e.next_out=i,e.avail_out=d,e.next_in=n,e.avail_in=o,t.hold=f,t.bits=u,EL(e,k),i=e.next_out,s=e.output,d=e.avail_out,n=e.next_in,a=e.input,o=e.avail_in,f=t.hold,u=t.bits,t.mode===k0&&(t.back=-1);break}for(t.back=0;g=t.lencode[f&(1<<t.lenbits)-1],M=g>>>24,p=g>>>16&255,b=g&65535,!(M<=u);){if(o===0)break e;o--,f+=a[n++]<<u,u+=8}if(p&&(p&240)===0){for(y=M,I=p,N=b;g=t.lencode[N+((f&(1<<y+I)-1)>>y)],M=g>>>24,p=g>>>16&255,b=g&65535,!(y+M<=u);){if(o===0)break e;o--,f+=a[n++]<<u,u+=8}f>>>=y,u-=y,t.back+=y}if(f>>>=M,u-=M,t.back+=M,t.length=b,p===0){t.mode=h_;break}if(p&32){t.back=-1,t.mode=k0;break}if(p&64){e.msg="invalid literal/length code",t.mode=Cr;break}t.extra=p&15,t.mode=l_;case l_:if(t.extra){for(C=t.extra;u<C;){if(o===0)break e;o--,f+=a[n++]<<u,u+=8}t.length+=f&(1<<t.extra)-1,f>>>=t.extra,u-=t.extra,t.back+=t.extra}t.was=t.length,t.mode=u_;case u_:for(;g=t.distcode[f&(1<<t.distbits)-1],M=g>>>24,p=g>>>16&255,b=g&65535,!(M<=u);){if(o===0)break e;o--,f+=a[n++]<<u,u+=8}if((p&240)===0){for(y=M,I=p,N=b;g=t.distcode[N+((f&(1<<y+I)-1)>>y)],M=g>>>24,p=g>>>16&255,b=g&65535,!(y+M<=u);){if(o===0)break e;o--,f+=a[n++]<<u,u+=8}f>>>=y,u-=y,t.back+=y}if(f>>>=M,u-=M,t.back+=M,p&64){e.msg="invalid distance code",t.mode=Cr;break}t.offset=b,t.extra=p&15,t.mode=c_;case c_:if(t.extra){for(C=t.extra;u<C;){if(o===0)break e;o--,f+=a[n++]<<u,u+=8}t.offset+=f&(1<<t.extra)-1,f>>>=t.extra,u-=t.extra,t.back+=t.extra}if(t.offset>t.dmax){e.msg="invalid distance too far back",t.mode=Cr;break}t.mode=d_;case d_:if(d===0)break e;if(_=k-d,t.offset>_){if(_=t.offset-_,_>t.whave&&t.sane){e.msg="invalid distance too far back",t.mode=Cr;break}_>t.wnext?(_-=t.wnext,v=t.wsize-_):v=t.wnext-_,_>t.length&&(_=t.length),m=t.window}else m=s,v=i-t.offset,_=t.length;_>d&&(_=d),d-=_,t.length-=_;do s[i++]=m[v++];while(--_);t.length===0&&(t.mode=m1);break;case h_:if(d===0)break e;s[i++]=t.length,d--,t.mode=m1;break;case fp:if(t.wrap){for(;u<32;){if(o===0)break e;o--,f|=a[n++]<<u,u+=8}if(k-=d,e.total_out+=k,t.total+=k,k&&(e.adler=t.check=t.flags?Zi(t.check,s,k,i-k):cp(t.check,s,k,i-k)),k=d,(t.flags?f:m_(f))!==t.check){e.msg="incorrect data check",t.mode=Cr;break}f=0,u=0}t.mode=p_;case p_:if(t.wrap&&t.flags){for(;u<32;){if(o===0)break e;o--,f+=a[n++]<<u,u+=8}if(f!==(t.total&4294967295)){e.msg="incorrect length check",t.mode=Cr;break}f=0,u=0}t.mode=v_;case v_:B=IL;break e;case Cr:B=g_;break e;case hp:return dp;case wL:default:return Cn}return e.next_out=i,e.avail_out=d,e.next_in=n,e.avail_in=o,t.hold=f,t.bits=u,(t.wsize||k!==e.avail_out&&t.mode<Cr&&(t.mode<fp||r!==K8))&&I_(e,e.output,e.next_out,k-e.avail_out)?(t.mode=hp,dp):(l-=e.avail_in,k-=e.avail_out,e.total_in+=l,e.total_out+=k,t.total+=k,t.wrap&&k&&(e.adler=t.check=t.flags?Zi(t.check,s,k,e.next_out-k):cp(t.check,s,k,e.next_out-k)),e.data_type=t.bits+(t.last?64:0)+(t.mode===k0?128:0)+(t.mode===v1||t.mode===op?256:0),(l===0&&k===0||r===K8)&&B===Bo&&(B=yL),B)}function GL(e){if(!e||!e.state)return Cn;var r=e.state;return r.window&&(r.window=null),e.state=null,Bo}function UL(e,r){var t;return!e||!e.state||(t=e.state,(t.wrap&2)===0)?Cn:(t.head=r,r.done=!1,Bo)}function HL(e,r){var t=r.length,a,s,n;return!e||!e.state||(a=e.state,a.wrap!==0&&a.mode!==_1)?Cn:a.mode===_1&&(s=1,s=cp(s,r,t,0),s!==a.check)?g_:(n=I_(e,r,t,t),n?(a.mode=hp,dp):(a.havedict=1,Bo))}Pi.inflateReset=E_;Pi.inflateReset2=P_;Pi.inflateResetKeep=M_;Pi.inflateInit=xL;Pi.inflateInit2=S_;Pi.inflate=OL;Pi.inflateEnd=GL;Pi.inflateGetHeader=UL;Pi.inflateSetDictionary=HL;Pi.inflateInfo="pako inflate (from Nodeca project)"});var pp=la((X4,y_)=>{"use strict";y_.exports={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8}});var R_=la((K4,w_)=>{"use strict";function ZL(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}w_.exports=ZL});var D_=la(Uu=>{"use strict";var Lf=T_(),Gu=b0(),b1=jh(),na=pp(),vp=i1(),WL=ep(),$L=R_(),B_=Object.prototype.toString;function Do(e){if(!(this instanceof Do))return new Do(e);this.options=Gu.assign({chunkSize:16384,windowBits:0,to:""},e||{});var r=this.options;r.raw&&r.windowBits>=0&&r.windowBits<16&&(r.windowBits=-r.windowBits,r.windowBits===0&&(r.windowBits=-15)),r.windowBits>=0&&r.windowBits<16&&!(e&&e.windowBits)&&(r.windowBits+=32),r.windowBits>15&&r.windowBits<48&&(r.windowBits&15)===0&&(r.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new WL,this.strm.avail_out=0;var t=Lf.inflateInit2(this.strm,r.windowBits);if(t!==na.Z_OK)throw new Error(vp[t]);if(this.header=new $L,Lf.inflateGetHeader(this.strm,this.header),r.dictionary&&(typeof r.dictionary=="string"?r.dictionary=b1.string2buf(r.dictionary):B_.call(r.dictionary)==="[object ArrayBuffer]"&&(r.dictionary=new Uint8Array(r.dictionary)),r.raw&&(t=Lf.inflateSetDictionary(this.strm,r.dictionary),t!==na.Z_OK)))throw new Error(vp[t])}Do.prototype.push=function(e,r){var t=this.strm,a=this.options.chunkSize,s=this.options.dictionary,n,i,o,d,f,u=!1;if(this.ended)return!1;i=r===~~r?r:r===!0?na.Z_FINISH:na.Z_NO_FLUSH,typeof e=="string"?t.input=b1.binstring2buf(e):B_.call(e)==="[object ArrayBuffer]"?t.input=new Uint8Array(e):t.input=e,t.next_in=0,t.avail_in=t.input.length;do{if(t.avail_out===0&&(t.output=new Gu.Buf8(a),t.next_out=0,t.avail_out=a),n=Lf.inflate(t,na.Z_NO_FLUSH),n===na.Z_NEED_DICT&&s&&(n=Lf.inflateSetDictionary(this.strm,s)),n===na.Z_BUF_ERROR&&u===!0&&(n=na.Z_OK,u=!1),n!==na.Z_STREAM_END&&n!==na.Z_OK)return this.onEnd(n),this.ended=!0,!1;t.next_out&&(t.avail_out===0||n===na.Z_STREAM_END||t.avail_in===0&&(i===na.Z_FINISH||i===na.Z_SYNC_FLUSH))&&(this.options.to==="string"?(o=b1.utf8border(t.output,t.next_out),d=t.next_out-o,f=b1.buf2string(t.output,o),t.next_out=d,t.avail_out=a-d,d&&Gu.arraySet(t.output,t.output,o,d,0),this.onData(f)):this.onData(Gu.shrinkBuf(t.output,t.next_out))),t.avail_in===0&&t.avail_out===0&&(u=!0)}while((t.avail_in>0||t.avail_out===0)&&n!==na.Z_STREAM_END);return n===na.Z_STREAM_END&&(i=na.Z_FINISH),i===na.Z_FINISH?(n=Lf.inflateEnd(this.strm),this.onEnd(n),this.ended=!0,n===na.Z_OK):(i===na.Z_SYNC_FLUSH&&(this.onEnd(na.Z_OK),t.avail_out=0),!0)};Do.prototype.onData=function(e){this.chunks.push(e)};Do.prototype.onEnd=function(e){e===na.Z_OK&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=Gu.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg};function mp(e,r){var t=new Do(r);if(t.push(e,!0),t.err)throw t.msg||vp[t.err];return t.result}function YL(e,r){return r=r||{},r.raw=!0,mp(e,r)}Uu.Inflate=Do;Uu.inflate=mp;Uu.inflateRaw=YL;Uu.ungzip=mp});var x_=la((Q4,z_)=>{"use strict";var AL=b0().assign,XL=O8(),KL=D_(),JL=pp(),N_={};AL(N_,XL,KL,JL);z_.exports=N_});var C_=la((F4,_p)=>{(function(){var e={};typeof _p=="object"?_p.exports=e:self.UTIF=e;var r;typeof Mo=="function"?r=x_():r=self.pako;function t(){typeof process=="undefined"&&console.log.apply(console,arguments)}(function(a,s){(function(){var n=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(d){return typeof d}:function(d){return d&&typeof Symbol=="function"&&d.constructor===Symbol&&d!==Symbol.prototype?"symbol":typeof d},i=(function(){function d(f){this.message="JPEG error: "+f}return d.prototype=Error(),d.prototype.name="JpegError",d.constructor=d})(),o=(function(){function d(f,u){this.message=f,this.g=u}return d.prototype=Error(),d.prototype.name="DNLMarkerError",d.constructor=d})();(function(){function d(){this.M=null,this.B=-1}function f(v,m){for(var g=0,M=[],p,b,y=16;0<y&&!v[y-1];)y--;M.push({children:[],index:0});var I=M[0],N;for(p=0;p<y;p++){for(b=0;b<v[p];b++){for(I=M.pop(),I.children[I.index]=m[g];0<I.index;)I=M.pop();for(I.index++,M.push(I);M.length<=p;)M.push(N={children:[],index:0}),I.children[I.index]=N.children,I=N;g++}p+1<y&&(M.push(N={children:[],index:0}),I.children[I.index]=N.children,I=N)}return M[0].children}function u(v,m,g,M,p,b,y,I,N){function R(){if(0<A)return A--,H>>A&1;if(H=v[m++],H===255){var z=v[m++];if(z){if(z===220&&ae){m+=2;var j=v[m++]<<8|v[m++];if(0<j&&j!==g.g)throw new o("Found DNL marker (0xFFDC) while parsing scan data",j)}throw new i("unexpected marker "+(H<<8|z).toString(16))}}return A=7,H>>>7}function B(z){for(;;){if(z=z[R()],typeof z=="number")return z;if((typeof z=="undefined"?"undefined":n(z))!=="object")throw new i("invalid huffman sequence")}}function Z(z){for(var j=0;0<z;)j=j<<1|R(),z--;return j}function T(z){if(z===1)return R()===1?1:-1;var j=Z(z);return j>=1<<z-1?j:j+(-1<<z)+1}function C(z,j){var be=B(z.D);for(be=be===0?0:T(be),z.a[j]=z.m+=be,be=1;64>be;){var Le=B(z.o),E=Le&15;if(Le>>=4,E===0){if(15>Le)break;be+=16}else be+=Le,z.a[j+_[be]]=T(E),be++}}function P(z,j){var be=B(z.D);be=be===0?0:T(be)<<N,z.a[j]=z.m+=be}function J(z,j){z.a[j]|=R()<<N}function re(z,j){if(0<ge)ge--;else for(var be=b;be<=y;){var Le=B(z.o),E=Le&15;if(Le>>=4,E===0){if(15>Le){ge=Z(Le)+(1<<Le)-1;break}be+=16}else be+=Le,z.a[j+_[be]]=T(E)*(1<<N),be++}}function Q(z,j){for(var be=b,Le=0,E;be<=y;){E=j+_[be];var Be=0>z.a[E]?-1:1;switch(me){case 0:if(Le=B(z.o),E=Le&15,Le>>=4,E===0)15>Le?(ge=Z(Le)+(1<<Le),me=4):(Le=16,me=1);else{if(E!==1)throw new i("invalid ACn encoding");c=T(E),me=Le?2:3}continue;case 1:case 2:z.a[E]?z.a[E]+=Be*(R()<<N):(Le--,Le===0&&(me=me===2?3:0));break;case 3:z.a[E]?z.a[E]+=Be*(R()<<N):(z.a[E]=c<<N,me=0);break;case 4:z.a[E]&&(z.a[E]+=Be*(R()<<N))}be++}me===4&&(ge--,ge===0&&(me=0))}for(var ae=9<arguments.length&&arguments[9]!==void 0?arguments[9]:!1,X=g.P,V=m,H=0,A=0,ge=0,me=0,c,h=M.length,De,Ue,ee,fe,oe=g.S?b===0?I===0?P:J:I===0?re:Q:C,kt=0,dt=h===1?M[0].c*M[0].l:X*g.O,S,Ee;kt<dt;){var pe=p?Math.min(dt-kt,p):dt;for(De=0;De<h;De++)M[De].m=0;if(ge=0,h===1){var Y=M[0];for(fe=0;fe<pe;fe++)oe(Y,64*((Y.c+1)*(kt/Y.c|0)+kt%Y.c)),kt++}else for(fe=0;fe<pe;fe++){for(De=0;De<h;De++)for(Y=M[De],S=Y.h,Ee=Y.j,Ue=0;Ue<Ee;Ue++)for(ee=0;ee<S;ee++)oe(Y,64*((Y.c+1)*((kt/X|0)*Y.j+Ue)+(kt%X*Y.h+ee)));kt++}if(A=0,(Y=k(v,m))&&Y.f&&((0,_util.warn)("decodeScan - unexpected MCU data, current marker is: "+Y.f),m=Y.offset),Y=Y&&Y.F,!Y||65280>=Y)throw new i("marker was not found");if(65488<=Y&&65495>=Y)m+=2;else break}return(Y=k(v,m))&&Y.f&&((0,_util.warn)("decodeScan - unexpected Scan data, current marker is: "+Y.f),m=Y.offset),m-V}function l(v,m){for(var g=m.c,M=m.l,p=new Int16Array(64),b=0;b<M;b++)for(var y=0;y<g;y++){var I=64*((m.c+1)*b+y),N=p,R=m.G,B=m.a;if(!R)throw new i("missing required Quantization Table.");for(var Z=0;64>Z;Z+=8){var T=B[I+Z],C=B[I+Z+1],P=B[I+Z+2],J=B[I+Z+3],re=B[I+Z+4],Q=B[I+Z+5],ae=B[I+Z+6],X=B[I+Z+7];if(T*=R[Z],(C|P|J|re|Q|ae|X)===0)T=5793*T+512>>10,N[Z]=T,N[Z+1]=T,N[Z+2]=T,N[Z+3]=T,N[Z+4]=T,N[Z+5]=T,N[Z+6]=T,N[Z+7]=T;else{C*=R[Z+1],P*=R[Z+2],J*=R[Z+3],re*=R[Z+4],Q*=R[Z+5],ae*=R[Z+6],X*=R[Z+7];var V=5793*T+128>>8,H=5793*re+128>>8,A=P,ge=ae;re=2896*(C-X)+128>>8,X=2896*(C+X)+128>>8,J<<=4,Q<<=4,V=V+H+1>>1,H=V-H,T=3784*A+1567*ge+128>>8,A=1567*A-3784*ge+128>>8,ge=T,re=re+Q+1>>1,Q=re-Q,X=X+J+1>>1,J=X-J,V=V+ge+1>>1,ge=V-ge,H=H+A+1>>1,A=H-A,T=2276*re+3406*X+2048>>12,re=3406*re-2276*X+2048>>12,X=T,T=799*J+4017*Q+2048>>12,J=4017*J-799*Q+2048>>12,Q=T,N[Z]=V+X,N[Z+7]=V-X,N[Z+1]=H+Q,N[Z+6]=H-Q,N[Z+2]=A+J,N[Z+5]=A-J,N[Z+3]=ge+re,N[Z+4]=ge-re}}for(R=0;8>R;++R)T=N[R],C=N[R+8],P=N[R+16],J=N[R+24],re=N[R+32],Q=N[R+40],ae=N[R+48],X=N[R+56],(C|P|J|re|Q|ae|X)===0?(T=5793*T+8192>>14,T=-2040>T?0:2024<=T?255:T+2056>>4,B[I+R]=T,B[I+R+8]=T,B[I+R+16]=T,B[I+R+24]=T,B[I+R+32]=T,B[I+R+40]=T,B[I+R+48]=T,B[I+R+56]=T):(V=5793*T+2048>>12,H=5793*re+2048>>12,A=P,ge=ae,re=2896*(C-X)+2048>>12,X=2896*(C+X)+2048>>12,V=(V+H+1>>1)+4112,H=V-H,T=3784*A+1567*ge+2048>>12,A=1567*A-3784*ge+2048>>12,ge=T,re=re+Q+1>>1,Q=re-Q,X=X+J+1>>1,J=X-J,V=V+ge+1>>1,ge=V-ge,H=H+A+1>>1,A=H-A,T=2276*re+3406*X+2048>>12,re=3406*re-2276*X+2048>>12,X=T,T=799*J+4017*Q+2048>>12,J=4017*J-799*Q+2048>>12,Q=T,T=V+X,X=V-X,C=H+Q,ae=H-Q,P=A+J,Q=A-J,J=ge+re,re=ge-re,T=16>T?0:4080<=T?255:T>>4,C=16>C?0:4080<=C?255:C>>4,P=16>P?0:4080<=P?255:P>>4,J=16>J?0:4080<=J?255:J>>4,re=16>re?0:4080<=re?255:re>>4,Q=16>Q?0:4080<=Q?255:Q>>4,ae=16>ae?0:4080<=ae?255:ae>>4,X=16>X?0:4080<=X?255:X>>4,B[I+R]=T,B[I+R+8]=C,B[I+R+16]=P,B[I+R+24]=J,B[I+R+32]=re,B[I+R+40]=Q,B[I+R+48]=ae,B[I+R+56]=X)}return m.a}function k(v,m){var g=2<arguments.length&&arguments[2]!==void 0?arguments[2]:m,M=v.length-1;if(g=g<m?g:m,m>=M)return null;var p=v[m]<<8|v[m+1];if(65472<=p&&65534>=p)return{f:null,F:p,offset:m};for(var b=v[g]<<8|v[g+1];!(65472<=b&&65534>=b);){if(++g>=M)return null;b=v[g]<<8|v[g+1]}return{f:p.toString(16),F:b,offset:g}}var _=new Uint8Array([0,1,8,16,9,2,3,10,17,24,32,25,18,11,4,5,12,19,26,33,40,48,41,34,27,20,13,6,7,14,21,28,35,42,49,56,57,50,43,36,29,22,15,23,30,37,44,51,58,59,52,45,38,31,39,46,53,60,61,54,47,55,62,63]);d.prototype={parse:function(v){function m(){var A=v[y]<<8|v[y+1];return y+=2,A}function g(){var A=m();A=y+A-2;var ge=k(v,A,y);return ge&&ge.f&&((0,_util.warn)("readDataBlock - incorrect length, current marker is: "+ge.f),A=ge.offset),A=v.subarray(y,A),y+=A.length,A}function M(A){for(var ge=Math.ceil(A.v/8/A.s),me=Math.ceil(A.g/8/A.u),c=0;c<A.b.length;c++){V=A.b[c];var h=Math.ceil(Math.ceil(A.v/8)*V.h/A.s),De=Math.ceil(Math.ceil(A.g/8)*V.j/A.u);V.a=new Int16Array(64*me*V.j*(ge*V.h+1)),V.c=h,V.l=De}A.P=ge,A.O=me}var p=(1<arguments.length&&arguments[1]!==void 0?arguments[1]:{}).N,b=p===void 0?null:p,y=0,I=null,N=0;p=[];var R=[],B=[],Z=m();if(Z!==65496)throw new i("SOI not found");for(Z=m();Z!==65497;){switch(Z){case 65504:case 65505:case 65506:case 65507:case 65508:case 65509:case 65510:case 65511:case 65512:case 65513:case 65514:case 65515:case 65516:case 65517:case 65518:case 65519:case 65534:var T=g();Z===65518&&T[0]===65&&T[1]===100&&T[2]===111&&T[3]===98&&T[4]===101&&(I={version:T[5]<<8|T[6],Y:T[7]<<8|T[8],Z:T[9]<<8|T[10],W:T[11]});break;case 65499:Z=m()+y-2;for(var C;y<Z;){var P=v[y++],J=new Uint16Array(64);if(P>>4===0)for(T=0;64>T;T++)C=_[T],J[C]=v[y++];else if(P>>4===1)for(T=0;64>T;T++)C=_[T],J[C]=m();else throw new i("DQT - invalid table spec");p[P&15]=J}break;case 65472:case 65473:case 65474:if(re)throw new i("Only single frame JPEGs supported");m();var re={};for(re.X=Z===65473,re.S=Z===65474,re.precision=v[y++],Z=m(),re.g=b||Z,re.v=m(),re.b=[],re.C={},T=v[y++],Z=J=P=0;Z<T;Z++){C=v[y];var Q=v[y+1]>>4,ae=v[y+1]&15;P<Q&&(P=Q),J<ae&&(J=ae),Q=re.b.push({h:Q,j:ae,T:v[y+2],G:null}),re.C[C]=Q-1,y+=3}re.s=P,re.u=J,M(re);break;case 65476:for(C=m(),Z=2;Z<C;){for(P=v[y++],J=new Uint8Array(16),T=Q=0;16>T;T++,y++)Q+=J[T]=v[y];for(ae=new Uint8Array(Q),T=0;T<Q;T++,y++)ae[T]=v[y];Z+=17+Q,(P>>4===0?B:R)[P&15]=f(J,ae)}break;case 65501:m();var X=m();break;case 65498:for(T=++N===1&&!b,m(),P=v[y++],C=[],Z=0;Z<P;Z++){J=re.C[v[y++]];var V=re.b[J];J=v[y++],V.D=B[J>>4],V.o=R[J&15],C.push(V)}Z=v[y++],P=v[y++],J=v[y++];try{var H=u(v,y,re,C,X,Z,P,J>>4,J&15,T);y+=H}catch(A){if(A instanceof o)return(0,_util.warn)('Attempting to re-parse JPEG image using "scanLines" parameter found in DNL marker (0xFFDC) segment.'),this.parse(v,{N:A.g});throw A}break;case 65500:y+=4;break;case 65535:v[y]!==255&&y--;break;default:if(v[y-3]===255&&192<=v[y-2]&&254>=v[y-2])y-=3;else if((T=k(v,y-2))&&T.f)(0,_util.warn)("JpegImage.parse - unexpected data, current marker is: "+T.f),y=T.offset;else throw new i("unknown marker "+Z.toString(16))}Z=m()}for(this.width=re.v,this.height=re.g,this.A=I,this.b=[],Z=0;Z<re.b.length;Z++)V=re.b[Z],(X=p[V.T])&&(V.G=X),this.b.push({R:l(re,V),U:V.h/re.s,V:V.j/re.u,c:V.c,l:V.l});this.i=this.b.length},L:function(v,m){var g=this.width/v,M=this.height/m,p,b,y=this.b.length,I=v*m*y,N=new Uint8ClampedArray(I),R=new Uint32Array(v);for(b=0;b<y;b++){var B=this.b[b],Z=B.U*g,T=B.V*M,C=b,P=B.R,J=B.c+1<<3;for(p=0;p<v;p++)B=0|p*Z,R[p]=(B&4294967288)<<3|B&7;for(Z=0;Z<m;Z++)for(B=0|Z*T,B=J*(B&4294967288)|(B&7)<<3,p=0;p<v;p++)N[C]=P[B+R[p]],C+=y}if(M=this.M)for(b=0;b<I;)for(g=B=0;B<y;B++,b++,g+=2)N[b]=(N[b]*M[g]>>8)+M[g+1];return N},w:function(){return this.A?!!this.A.W:this.i===3?this.B!==0:this.B===1},I:function(v){for(var m,g,M,p=0,b=v.length;p<b;p+=3)m=v[p],g=v[p+1],M=v[p+2],v[p]=m-179.456+1.402*M,v[p+1]=m+135.459-.344*g-.714*M,v[p+2]=m-226.816+1.772*g;return v},K:function(v){for(var m,g,M,p,b=0,y=0,I=v.length;y<I;y+=4)m=v[y],g=v[y+1],M=v[y+2],p=v[y+3],v[b++]=-122.67195406894+g*(-660635669420364e-19*g+.000437130475926232*M-54080610064599e-18*m+.00048449797120281*p-.154362151871126)+M*(-.000957964378445773*M+.000817076911346625*m-.00477271405408747*p+1.53380253221734)+m*(.000961250184130688*m-.00266257332283933*p+.48357088451265)+p*(-.000336197177618394*p+.484791561490776),v[b++]=107.268039397724+g*(219927104525741e-19*g-.000640992018297945*M+.000659397001245577*m+.000426105652938837*p-.176491792462875)+M*(-.000778269941513683*M+.00130872261408275*m+.000770482631801132*p-.151051492775562)+m*(.00126935368114843*m-.00265090189010898*p+.25802910206845)+p*(-.000318913117588328*p-.213742400323665),v[b++]=-20.810012546947+g*(-.000570115196973677*g-263409051004589e-19*M+.0020741088115012*m-.00288260236853442*p+.814272968359295)+M*(-153496057440975e-19*M-.000132689043961446*m+.000560833691242812*p-.195152027534049)+m*(.00174418132927582*m-.00255243321439347*p+.116935020465145)+p*(-.000343531996510555*p+.24165260232407);return v.subarray(0,b)},J:function(v){for(var m,g,M,p=0,b=v.length;p<b;p+=4)m=v[p],g=v[p+1],M=v[p+2],v[p]=434.456-m-1.402*M,v[p+1]=119.541-m+.344*g+.714*M,v[p+2]=481.816-m-1.772*g;return v},H:function(v){for(var m,g,M,p,b=0,y=1/255,I=0,N=v.length;I<N;I+=4)m=v[I]*y,g=v[I+1]*y,M=v[I+2]*y,p=v[I+3]*y,v[b++]=255+m*(-4.387332384609988*m+54.48615194189176*g+18.82290502165302*M+212.25662451639585*p-285.2331026137004)+g*(1.7149763477362134*g-5.6096736904047315*M-17.873870861415444*p-5.497006427196366)+M*(-2.5217340131683033*M-21.248923337353073*p+17.5119270841813)-p*(21.86122147463605*p+189.48180835922747),v[b++]=255+m*(8.841041422036149*m+60.118027045597366*g+6.871425592049007*M+31.159100130055922*p-79.2970844816548)+g*(-15.310361306967817*g+17.575251261109482*M+131.35250912493976*p-190.9453302588951)+M*(4.444339102852739*M+9.8632861493405*p-24.86741582555878)-p*(20.737325471181034*p+187.80453709719578),v[b++]=255+m*(.8842522430003296*m+8.078677503112928*g+30.89978309703729*M-.23883238689178934*p-14.183576799673286)+g*(10.49593273432072*g+63.02378494754052*M+50.606957656360734*p-112.23884253719248)+M*(.03296041114873217*M+115.60384449646641*p-193.58209356861505)-p*(22.33816807309886*p+180.12613974708367);return v.subarray(0,b)},getData:function(v,m,g){if(4<this.i)throw new i("Unsupported color mode");if(v=this.L(v,m),this.i===1&&g){g=v.length,m=new Uint8ClampedArray(3*g);for(var M=0,p=0;p<g;p++){var b=v[p];m[M++]=b,m[M++]=b,m[M++]=b}return m}if(this.i===3&&this.w())return this.I(v);if(this.i===4){if(this.w())return g?this.K(v):this.J(v);if(g)return this.H(v)}return v}},a.JpegDecoder=d})()})(),a.encodeImage=function(n,i,o,d){var f={t256:[i],t257:[o],t258:[8,8,8,8],t259:[1],t262:[2],t273:[1e3],t277:[4],t278:[o],t279:[i*o*4],t282:[1],t283:[1],t284:[1],t286:[0],t287:[0],t296:[1],t305:["Photopea (UTIF.js)"],t338:[1]};if(d)for(var u in d)f[u]=d[u];for(var l=new Uint8Array(a.encode([f])),k=new Uint8Array(n),_=new Uint8Array(1e3+i*o*4),u=0;u<l.length;u++)_[u]=l[u];for(var u=0;u<k.length;u++)_[1e3+u]=k[u];return _.buffer},a.encode=function(n){var i=new Uint8Array(2e4),o=4,d=a._binBE;i[0]=77,i[1]=77,i[3]=42;var f=8;d.writeUint(i,o,f),o+=4;for(var u=0;u<n.length;u++){var l=a._writeIFD(d,i,f,n[u]);f=l[1],u<n.length-1&&d.writeUint(i,l[0],f)}return i.slice(0,f).buffer},a.decode=function(n){a.decode._decodeG3.allow2D=null;var i=new Uint8Array(n),o=0,d=a._binBE.readASCII(i,o,2);o+=2;var f=d=="II"?a._binLE:a._binBE,u=f.readUshort(i,o);o+=2;var l=f.readUint(i,o);o+=4;for(var k=[];;){var _=a._readIFD(f,i,l,k,0,!1);if(l=f.readUint(i,_),l==0)break}return k},a.decodeImage=function(n,i,o){var d=new Uint8Array(n),f=a._binBE.readASCII(d,0,2);if(i.t256!=null){i.isLE=f=="II",i.width=i.t256[0],i.height=i.t257[0];var u=i.t259?i.t259[0]:1,l=i.t266?i.t266[0]:1;i.t284&&i.t284[0]==2&&t("PlanarConfiguration 2 should not be used!");var k;i.t258?k=Math.min(32,i.t258[0])*i.t258.length:k=i.t277?i.t277[0]:1,u==1&&i.t279!=null&&i.t278&&i.t262[0]==32803&&(k=Math.round(i.t279[0]*8/(i.width*i.t278[0])));var _=Math.ceil(i.width*k/8)*8,v=i.t273;v==null&&(v=i.t324);var m=i.t279;u==1&&v.length==1&&(m=[i.height*(_>>>3)]),m==null&&(m=i.t325);var g=new Uint8Array(i.height*(_>>>3)),M=0;if(i.t322!=null){for(var p=i.t322[0],b=i.t323[0],y=Math.floor((i.width+p-1)/p),I=Math.floor((i.height+b-1)/b),N=new Uint8Array(Math.ceil(p*b*k/8)|0),R=0;R<I;R++)for(var B=0;B<y;B++){for(var Z=R*y+B,T=0;T<N.length;T++)N[T]=0;a.decode._decompress(i,o,d,v[Z],m[Z],u,N,0,l),u==6?g=N:a._copyTile(N,Math.ceil(p*k/8)|0,b,g,Math.ceil(i.width*k/8)|0,i.height,Math.ceil(B*p*k/8)|0,R*b)}M=g.length*8}else{var C=i.t278?i.t278[0]:i.height;C=Math.min(C,i.height);for(var Z=0;Z<v.length;Z++)a.decode._decompress(i,o,d,v[Z],m[Z],u,g,Math.ceil(M/8)|0,l),M+=_*C;M=Math.min(M,g.length*8)}i.data=new Uint8Array(g.buffer,0,Math.ceil(M/8)|0)}},a.decode._decompress=function(n,i,o,d,f,u,l,k,_){if(u==1||f==l.length&&u!=32767)for(var v=0;v<f;v++)l[k+v]=o[d+v];else if(u==3)a.decode._decodeG3(o,d,f,l,k,n.width,_);else if(u==4)a.decode._decodeG4(o,d,f,l,k,n.width,_);else if(u==5)a.decode._decodeLZW(o,d,l,k);else if(u==6)a.decode._decodeOldJPEG(n,o,d,f,l,k);else if(u==7)a.decode._decodeNewJPEG(n,o,d,f,l,k);else if(u==8)for(var m=new Uint8Array(o.buffer,d,f),g=s.inflate(m),M=0;M<g.length;M++)l[k+M]=g[M];else u==32767?a.decode._decodeARW(n,o,d,f,l,k):u==32773?a.decode._decodePackBits(o,d,f,l,k):u==32809?a.decode._decodeThunder(o,d,f,l,k):u==34713?a.decode._decodeNikon(n,i,o,d,f,l,k):t("Unknown compression",u);var p=n.t258?Math.min(32,n.t258[0]):1,b=n.t277?n.t277[0]:1,y=p*b>>>3,I=n.t278?n.t278[0]:n.height,N=Math.ceil(p*b*n.width/8);if(p==16&&!n.isLE&&n.t33422==null)for(var R=0;R<I;R++)for(var B=k+R*N,Z=1;Z<N;Z+=2){var T=l[B+Z];l[B+Z]=l[B+Z-1],l[B+Z-1]=T}if(n.t317&&n.t317[0]==2)for(var R=0;R<I;R++){var C=k+R*N;if(p==16)for(var v=y;v<N;v+=2){var P=(l[C+v+1]<<8|l[C+v])+(l[C+v-y+1]<<8|l[C+v-y]);l[C+v]=P&255,l[C+v+1]=P>>>8&255}else if(b==3)for(var v=3;v<N;v+=3)l[C+v]=l[C+v]+l[C+v-3]&255,l[C+v+1]=l[C+v+1]+l[C+v-2]&255,l[C+v+2]=l[C+v+2]+l[C+v-1]&255;else for(var v=y;v<N;v++)l[C+v]=l[C+v]+l[C+v-y]&255}},a.decode._ljpeg_diff=function(n,i,o){var d=a.decode._getbithuff,f,u;return f=d(n,i,o[0],o),u=d(n,i,f,0),(u&1<<f-1)==0&&(u-=(1<<f)-1),u},a.decode._decodeARW=function(n,i,o,d,f,u){var l=n.t256[0],k=n.t257[0],_=n.t258[0],v=n.isLE?a._binLE:a._binBE,m=l*k==d||l*k*1.5==d;if(!m){k+=8;var g=[o,0,0,0],M=new Uint16Array(32770),p=[3857,3856,3599,3342,3085,2828,2571,2314,2057,1800,1543,1286,1029,772,771,768,514,513],me,b,y,re,J,I=0,N=a.decode._ljpeg_diff;for(M[0]=15,y=me=0;me<18;me++)for(var R=32768>>>(p[me]>>>8),b=0;b<R;b++)M[++y]=p[me];for(re=l;re--;)for(J=0;J<k+1;J+=2)if(J==k&&(J=1),I+=N(i,g,M),J<k){var B=I&4095;a.decode._putsF(f,(J*l+re)*_,B<<16-_)}return}if(l*k*1.5==d){for(var me=0;me<d;me+=3){var Z=i[o+me+0],T=i[o+me+1],C=i[o+me+2];f[u+me]=T<<4|Z>>>4,f[u+me+1]=Z<<4|C>>>4,f[u+me+2]=C<<4|T>>>4}return}var P=new Uint16Array(16),J,re,Q,ae,X,V,H,A,ge,me,c,h=new Uint8Array(l+1);for(J=0;J<k;J++){for(var De=0;De<l;De++)h[De]=i[o++];for(c=0,re=0;re<l-30;c+=16){for(ae=2047&(Q=v.readUint(h,c)),X=2047&Q>>>11,V=15&Q>>>22,H=15&Q>>>26,A=0;A<4&&128<<A<=ae-X;A++);for(ge=30,me=0;me<16;me++)me==V?P[me]=ae:me==H?P[me]=X:(P[me]=((v.readUshort(h,c+(ge>>3))>>>(ge&7)&127)<<A)+X,P[me]>2047&&(P[me]=2047),ge+=7);for(me=0;me<16;me++,re+=2){var B=P[me]<<1;a.decode._putsF(f,(J*l+re)*_,B<<16-_)}re-=re&1?1:31}}},a.decode._decodeNikon=function(n,i,o,d,f,u,l){var k=[[0,0,1,5,1,1,1,1,1,1,2,0,0,0,0,0,0,5,4,3,6,2,7,1,0,8,9,11,10,12],[0,0,1,5,1,1,1,1,1,1,2,0,0,0,0,0,0,57,90,56,39,22,5,4,3,2,1,0,11,12,12],[0,0,1,4,2,3,1,2,0,0,0,0,0,0,0,0,0,5,4,6,3,7,2,8,1,9,0,10,11,12],[0,0,1,4,3,1,1,1,1,1,2,0,0,0,0,0,0,5,6,4,7,8,3,9,2,1,0,10,11,12,13,14],[0,0,1,5,1,1,1,1,1,1,1,2,0,0,0,0,0,8,92,75,58,41,7,6,5,4,3,2,1,0,13,14],[0,0,1,4,2,2,3,1,2,0,0,0,0,0,0,0,0,7,6,8,5,9,4,10,3,11,12,2,0,1,13,14]],_=n.t256[0],v=n.t257[0],m=n.t258[0],g=0,M=0,p=a.decode._make_decoder,b=a.decode._getbithuff,y=i[0].exifIFD.makerNote,I=y.t150?y.t150:y.t140,N=0,R=I[N++],B=I[N++];(R==73||B==88)&&(N+=2110),R==70&&(g=2),m==14&&(g+=3);for(var Z=[[0,0],[0,0]],T=n.isLE?a._binLE:a._binBE,Q=0;Q<2;Q++)for(var C=0;C<2;C++)Z[Q][C]=T.readShort(I,N),N+=2;var P=1<<m&32767,J=0,re=T.readShort(I,N);N+=2,re>1&&(J=Math.floor(P/(re-1))),R==68&&B==32&&J>0&&(M=T.readShort(I,562));var Q,ae,X,V,H,A,ge=0,me=[0,0],c=p(k[g]),h=[d,0,0,0];for(ge=ae=0;ae<v;ae++)for(M&&ae==M&&(c=p(k[g+1])),X=0;X<_;X++){Q=b(o,h,c[0],c),V=Q&15,H=Q>>>4,A=(b(o,h,V-H,0)<<1)+1<<H>>>1,(A&1<<V-1)==0&&(A-=(1<<V)-(H==0?1:0)),X<2?me[X]=Z[ae&1][X]+=A:me[X&1]+=A;var De=Math.min(Math.max(me[X&1],0),(1<<m)-1),Ue=(ae*_+X)*m;a.decode._putsF(u,Ue,De<<16-m)}},a.decode._putsF=function(n,i,o){o=o<<8-(i&7);var d=i>>>3;n[d]|=o>>>16,n[d+1]|=o>>>8,n[d+2]|=o},a.decode._getbithuff=function(n,i,o,d){var f=0,u=a.decode._get_byte,l,k=i[0],_=i[1],v=i[2],m=i[3];if(o==0||v<0)return 0;for(;!m&&v<o&&(l=n[k++])!=-1&&!(m=f&&l==255&&n[k++]);)_=(_<<8)+l,v+=8;if(l=_<<32-v>>>32-o,d?(v-=d[l+1]>>>8,l=d[l+1]&255):v-=o,v<0)throw"e";return i[0]=k,i[1]=_,i[2]=v,i[3]=m,l},a.decode._make_decoder=function(n){var i,o,d,f,u,l=[];for(i=16;i!=0&&!n[i];i--);var k=17;for(l[0]=i,d=o=1;o<=i;o++)for(f=0;f<n[o];f++,++k)for(u=0;u<1<<i-o;u++)d<=1<<i&&(l[d++]=o<<8|n[k]);return l},a.decode._decodeNewJPEG=function(n,i,o,d,f,u){var l=n.t347,k=l?l.length:0,_=new Uint8Array(k+d);if(l){for(var v=216,m=217,g=0,M=0;M<k-1&&!(l[M]==255&&l[M+1]==m);M++)_[g++]=l[M];var p=i[o],b=i[o+1];(p!=255||b!=v)&&(_[g++]=p,_[g++]=b);for(var M=2;M<d;M++)_[g++]=i[o+M]}else for(var M=0;M<d;M++)_[M]=i[o+M];if(n.t262[0]==32803||n.t262[0]==34892){var y=n.t258[0],I=a.LosslessJpegDecode(_),N=I.length;if(y==16)if(n.isLE)for(var M=0;M<N;M++)f[u+(M<<1)]=I[M]&255,f[u+(M<<1)+1]=I[M]>>>8;else for(var M=0;M<N;M++)f[u+(M<<1)]=I[M]>>>8,f[u+(M<<1)+1]=I[M]&255;else if(y==14||y==12)for(var R=16-y,M=0;M<N;M++)a.decode._putsF(f,M*y,I[M]<<R);else throw new Error("unsupported bit depth "+y)}else{var B=new a.JpegDecoder;B.parse(_);for(var Z=B.getData(B.width,B.height),M=0;M<Z.length;M++)f[u+M]=Z[M]}n.t262[0]==6&&(n.t262[0]=2)},a.decode._decodeOldJPEGInit=function(n,i,o,d){var f=216,u=217,l=219,k=196,_=221,v=192,m=218,g=0,M=0,p,b,y=!1,I,N,R,B=n.t513,Z=B?B[0]:0,T=n.t514,C=T?T[0]:0,P=n.t324||n.t273||B,J=n.t530,re=0,Q=0,ae=n.t277?n.t277[0]:1,X=n.t515;if(P&&(M=P[0],y=P.length>1),!y){if(i[o]==255&&i[o+1]==f)return{jpegOffset:o};if(B!=null&&(i[o+Z]==255&&i[o+Z+1]==f?g=o+Z:t("JPEGInterchangeFormat does not point to SOI"),T==null?t("JPEGInterchangeFormatLength field is missing"):(Z>=M||Z+C<=M)&&t("JPEGInterchangeFormatLength field value is invalid"),g!=null))return{jpegOffset:g}}if(J!=null&&(re=J[0],Q=J[1]),B!=null&&T!=null)if(C>=2&&Z+C<=M){for(i[o+Z+C-2]==255&&i[o+Z+C-1]==f?p=new Uint8Array(C-2):p=new Uint8Array(C),I=0;I<p.length;I++)p[I]=i[o+Z+I];t("Incorrect JPEG interchange format: using JPEGInterchangeFormat offset to derive tables")}else t("JPEGInterchangeFormat+JPEGInterchangeFormatLength > offset to first strip or tile");if(p==null){var V=0,H=[];H[V++]=255,H[V++]=f;var A=n.t519;if(A==null)throw new Error("JPEGQTables tag is missing");for(I=0;I<A.length;I++)for(H[V++]=255,H[V++]=l,H[V++]=0,H[V++]=67,H[V++]=I,N=0;N<64;N++)H[V++]=i[o+A[I]+N];for(R=0;R<2;R++){var ge=n[R==0?"t520":"t521"];if(ge==null)throw new Error((R==0?"JPEGDCTables":"JPEGACTables")+" tag is missing");for(I=0;I<ge.length;I++){H[V++]=255,H[V++]=k;var me=19;for(N=0;N<16;N++)me+=i[o+ge[I]+N];for(H[V++]=me>>>8,H[V++]=me&255,H[V++]=I|R<<4,N=0;N<16;N++)H[V++]=i[o+ge[I]+N];for(N=0;N<me;N++)H[V++]=i[o+ge[I]+16+N]}}if(H[V++]=255,H[V++]=v,H[V++]=0,H[V++]=8+3*ae,H[V++]=8,H[V++]=n.height>>>8&255,H[V++]=n.height&255,H[V++]=n.width>>>8&255,H[V++]=n.width&255,H[V++]=ae,ae==1)H[V++]=1,H[V++]=17,H[V++]=0;else for(I=0;I<3;I++)H[V++]=I+1,H[V++]=I!=0?17:(re&15)<<4|Q&15,H[V++]=I;X!=null&&X[0]!=0&&(H[V++]=255,H[V++]=_,H[V++]=0,H[V++]=4,H[V++]=X[0]>>>8&255,H[V++]=X[0]&255),p=new Uint8Array(H)}var c=-1;for(I=0;I<p.length-1;){if(p[I]==255&&p[I+1]==v){c=I;break}I++}if(c==-1){var h=new Uint8Array(p.length+10+3*ae);h.set(p);var De=p.length;if(c=p.length,p=h,p[De++]=255,p[De++]=v,p[De++]=0,p[De++]=8+3*ae,p[De++]=8,p[De++]=n.height>>>8&255,p[De++]=n.height&255,p[De++]=n.width>>>8&255,p[De++]=n.width&255,p[De++]=ae,ae==1)p[De++]=1,p[De++]=17,p[De++]=0;else for(I=0;I<3;I++)p[De++]=I+1,p[De++]=I!=0?17:(re&15)<<4|Q&15,p[De++]=I}if(i[M]==255&&i[M+1]==m){var Ue=i[M+2]<<8|i[M+3];for(b=new Uint8Array(Ue+2),b[0]=i[M],b[1]=i[M+1],b[2]=i[M+2],b[3]=i[M+3],I=0;I<Ue-2;I++)b[I+4]=i[M+I+4]}else{b=new Uint8Array(8+2*ae);var ee=0;if(b[ee++]=255,b[ee++]=m,b[ee++]=0,b[ee++]=6+2*ae,b[ee++]=ae,ae==1)b[ee++]=1,b[ee++]=0;else for(I=0;I<3;I++)b[ee++]=I+1,b[ee++]=I<<4|I;b[ee++]=0,b[ee++]=63,b[ee++]=0}return{jpegOffset:o,tables:p,sosMarker:b,sofPosition:c}},a.decode._decodeOldJPEG=function(n,i,o,d,f,u){var l,k,_,v,m,g=a.decode._decodeOldJPEGInit(n,i,o,d);if(g.jpegOffset!=null)for(k=o+d-g.jpegOffset,v=new Uint8Array(k),l=0;l<k;l++)v[l]=i[g.jpegOffset+l];else{for(_=g.tables.length,v=new Uint8Array(_+g.sosMarker.length+d+2),v.set(g.tables),m=_,v[g.sofPosition+5]=n.height>>>8&255,v[g.sofPosition+6]=n.height&255,v[g.sofPosition+7]=n.width>>>8&255,v[g.sofPosition+8]=n.width&255,(i[o]!=255||i[o+1]!=SOS)&&(v.set(g.sosMarker,m),m+=sosMarker.length),l=0;l<d;l++)v[m++]=i[o+l];v[m++]=255,v[m++]=EOI}var M=new a.JpegDecoder;M.parse(v);for(var p=M.getData(M.width,M.height),l=0;l<p.length;l++)f[u+l]=p[l];n.t262&&n.t262[0]==6&&(n.t262[0]=2)},a.decode._decodePackBits=function(n,i,o,d,f){for(var u=new Int8Array(n.buffer),l=new Int8Array(d.buffer),k=i+o;i<k;){var _=u[i];if(i++,_>=0&&_<128)for(var v=0;v<_+1;v++)l[f]=u[i],f++,i++;if(_>=-127&&_<0){for(var v=0;v<-_+1;v++)l[f]=u[i],f++;i++}}},a.decode._decodeThunder=function(n,i,o,d,f){for(var u=[0,1,0,-1],l=[0,1,2,3,0,-3,-2,-1],k=i+o,_=f*2,v=0;i<k;){var m=n[i],g=m>>>6,M=m&63;if(i++,g==3&&(v=M&15,d[_>>>1]|=v<<4*(1-_&1),_++),g==0)for(var p=0;p<M;p++)d[_>>>1]|=v<<4*(1-_&1),_++;if(g==2)for(var p=0;p<2;p++){var b=M>>>3*(1-p)&7;b!=4&&(v+=l[b],d[_>>>1]|=v<<4*(1-_&1),_++)}if(g==1)for(var p=0;p<3;p++){var b=M>>>2*(2-p)&3;b!=2&&(v+=u[b],d[_>>>1]|=v<<4*(1-_&1),_++)}}},a.decode._dmap={1:0,"011":1,"000011":2,"0000011":3,"010":-1,"000010":-2,"0000010":-3},a.decode._lens=(function(){var n=function(_,v,m,g){for(var M=0;M<v.length;M++)_[v[M]]=m+M*g},i="00110101,000111,0111,1000,1011,1100,1110,1111,10011,10100,00111,01000,001000,000011,110100,110101,101010,101011,0100111,0001100,0001000,0010111,0000011,0000100,0101000,0101011,0010011,0100100,0011000,00000010,00000011,00011010,00011011,00010010,00010011,00010100,00010101,00010110,00010111,00101000,00101001,00101010,00101011,00101100,00101101,00000100,00000101,00001010,00001011,01010010,01010011,01010100,01010101,00100100,00100101,01011000,01011001,01011010,01011011,01001010,01001011,00110010,00110011,00110100",o="0000110111,010,11,10,011,0011,0010,00011,000101,000100,0000100,0000101,0000111,00000100,00000111,000011000,0000010111,0000011000,0000001000,00001100111,00001101000,00001101100,00000110111,00000101000,00000010111,00000011000,000011001010,000011001011,000011001100,000011001101,000001101000,000001101001,000001101010,000001101011,000011010010,000011010011,000011010100,000011010101,000011010110,000011010111,000001101100,000001101101,000011011010,000011011011,000001010100,000001010101,000001010110,000001010111,000001100100,000001100101,000001010010,000001010011,000000100100,000000110111,000000111000,000000100111,000000101000,000001011000,000001011001,000000101011,000000101100,000001011010,000001100110,000001100111",d="11011,10010,010111,0110111,00110110,00110111,01100100,01100101,01101000,01100111,011001100,011001101,011010010,011010011,011010100,011010101,011010110,011010111,011011000,011011001,011011010,011011011,010011000,010011001,010011010,011000,010011011",f="0000001111,000011001000,000011001001,000001011011,000000110011,000000110100,000000110101,0000001101100,0000001101101,0000001001010,0000001001011,0000001001100,0000001001101,0000001110010,0000001110011,0000001110100,0000001110101,0000001110110,0000001110111,0000001010010,0000001010011,0000001010100,0000001010101,0000001011010,0000001011011,0000001100100,0000001100101",u="00000001000,00000001100,00000001101,000000010010,000000010011,000000010100,000000010101,000000010110,000000010111,000000011100,000000011101,000000011110,000000011111";i=i.split(","),o=o.split(","),d=d.split(","),f=f.split(","),u=u.split(",");var l={},k={};return n(l,i,0,1),n(l,d,64,64),n(l,u,1792,64),n(k,o,0,1),n(k,f,64,64),n(k,u,1792,64),[l,k]})(),a.decode._decodeG4=function(n,i,o,d,f,u,l){for(var k=a.decode,_=i<<3,v=0,m="",g=[],M=[],p=0;p<u;p++)M.push(0);M=k._makeDiff(M);for(var b=0,y=0,I=0,N=0,R=0,B=0,Z=0,T="",C=0,P=Math.ceil(u/8)*8;_>>>3<i+o;){N=k._findDiff(M,b+(b==0?0:1),1-B),R=k._findDiff(M,N,B);var J=0;if(l==1&&(J=n[_>>>3]>>>7-(_&7)&1),l==2&&(J=n[_>>>3]>>>(_&7)&1),_++,m+=J,T=="H"){if(k._lens[B][m]!=null){var re=k._lens[B][m];m="",v+=re,re<64&&(k._addNtimes(g,v,B),b+=v,B=1-B,v=0,C--,C==0&&(T=""))}}else m=="0001"&&(m="",k._addNtimes(g,R-b,B),b=R),m=="001"&&(m="",T="H",C=2),k._dmap[m]!=null&&(y=N+k._dmap[m],k._addNtimes(g,y-b,B),b=y,m="",B=1-B);g.length==u&&T==""&&(k._writeBits(g,d,f*8+Z*P),B=0,Z++,b=0,M=k._makeDiff(g),g=[])}},a.decode._findDiff=function(n,i,o){for(var d=0;d<n.length;d+=2)if(n[d]>=i&&n[d+1]==o)return n[d]},a.decode._makeDiff=function(n){var i=[];n[0]==1&&i.push(0,1);for(var o=1;o<n.length;o++)n[o-1]!=n[o]&&i.push(o,n[o]);return i.push(n.length,0,n.length,1),i},a.decode._decodeG3=function(n,i,o,d,f,u,l){for(var k=a.decode,_=i<<3,v=0,m="",g=[],M=[],p=0;p<u;p++)g.push(0);for(var b=0,y=0,I=0,N=0,R=0,B=0,Z=-1,T="",C=0,P=!1,J=Math.ceil(u/8)*8;_>>>3<i+o;){N=k._findDiff(M,b+(b==0?0:1),1-B),R=k._findDiff(M,N,B);var re=0;if(l==1&&(re=n[_>>>3]>>>7-(_&7)&1),l==2&&(re=n[_>>>3]>>>(_&7)&1),_++,m+=re,P){if(k._lens[B][m]!=null){var Q=k._lens[B][m];m="",v+=Q,Q<64&&(k._addNtimes(g,v,B),B=1-B,v=0)}}else if(T=="H"){if(k._lens[B][m]!=null){var Q=k._lens[B][m];m="",v+=Q,Q<64&&(k._addNtimes(g,v,B),b+=v,B=1-B,v=0,C--,C==0&&(T=""))}}else m=="0001"&&(m="",k._addNtimes(g,R-b,B),b=R),m=="001"&&(m="",T="H",C=2),k._dmap[m]!=null&&(y=N+k._dmap[m],k._addNtimes(g,y-b,B),b=y,m="",B=1-B);m.endsWith("000000000001")&&(Z>=0&&k._writeBits(g,d,f*8+Z*J),l==1&&(P=(n[_>>>3]>>>7-(_&7)&1)==1),l==2&&(P=(n[_>>>3]>>>(_&7)&1)==1),_++,k._decodeG3.allow2D==null&&(k._decodeG3.allow2D=P),k._decodeG3.allow2D||(P=!0,_--),m="",B=0,Z++,b=0,M=k._makeDiff(g),g=[])}g.length==u&&k._writeBits(g,d,f*8+Z*J)},a.decode._addNtimes=function(n,i,o){for(var d=0;d<i;d++)n.push(o)},a.decode._writeBits=function(n,i,o){for(var d=0;d<n.length;d++)i[o+d>>>3]|=n[d]<<7-(o+d&7)},a.decode._decodeLZW=function(n,i,o,d){if(a.decode._lzwTab==null){for(var f=new Uint32Array(65535),u=new Uint16Array(65535),m=new Uint8Array(2e6),l=0;l<256;l++)m[l<<2]=l,f[l]=l<<2,u[l]=1;a.decode._lzwTab=[f,u,m]}for(var k=a.decode._copyData,_=a.decode._lzwTab[0],v=a.decode._lzwTab[1],m=a.decode._lzwTab[2],g=258,M=1032,p=9,b=i<<3,y=256,I=257,N=0,R=0,B=0;N=n[b>>>3]<<16|n[b+8>>>3]<<8|n[b+16>>>3],R=N>>24-(b&7)-p&(1<<p)-1,b+=p,R!=I;){if(R==y){if(p=9,g=258,M=1032,N=n[b>>>3]<<16|n[b+8>>>3]<<8|n[b+16>>>3],R=N>>24-(b&7)-p&(1<<p)-1,b+=p,R==I)break;o[d]=R,d++}else if(R<g){var Z=_[R],T=v[R];if(k(m,Z,o,d,T),d+=T,B>=g)_[g]=M,m[_[g]]=Z[0],v[g]=1,M=M+1+3&-4,g++;else{_[g]=M;var C=_[B],P=v[B];k(m,C,m,M,P),m[M+P]=m[Z],P++,v[g]=P,g++,M=M+P+3&-4}g+1==1<<p&&p++}else{if(B>=g)_[g]=M,v[g]=0,g++;else{_[g]=M;var C=_[B],P=v[B];k(m,C,m,M,P),m[M+P]=m[M],P++,v[g]=P,g++,k(m,M,o,d,P),d+=P,M=M+P+3&-4}g+1==1<<p&&p++}B=R}},a.decode._copyData=function(n,i,o,d,f){for(var u=0;u<f;u+=4)o[d+u]=n[i+u],o[d+u+1]=n[i+u+1],o[d+u+2]=n[i+u+2],o[d+u+3]=n[i+u+3]},a.tags={},a.ttypes={256:3,257:3,258:3,259:3,262:3,273:4,274:3,277:3,278:4,279:4,282:5,283:5,284:3,286:5,287:5,296:3,305:2,306:2,338:3,513:4,514:4,34665:4},a._readIFD=function(n,i,o,d,f,u){var l=n.readUshort(i,o);o+=2;var k={};d.push(k),u&&t(" ".repeat(f),d.length-1,">>>----------------");for(var _=0;_<l;_++){var v=n.readUshort(i,o);o+=2;var m=n.readUshort(i,o);o+=2;var g=n.readUint(i,o);o+=4;var M=n.readUint(i,o);o+=4;var p=[];if((m==1||m==7)&&(p=new Uint8Array(i.buffer,g<5?o-4:M,g)),m==2){var b=g<5?o-4:M,y=i[b];y<128?p.push(n.readASCII(i,b,g-1)):p=new Uint8Array(i.buffer,b,g-1)}if(m==3)for(var I=0;I<g;I++)p.push(n.readUshort(i,(g<3?o-4:M)+2*I));if(m==4)for(var I=0;I<g;I++)p.push(n.readUint(i,(g<2?o-4:M)+4*I));if(m==5)for(var I=0;I<g;I++)p.push(n.readUint(i,M+I*8)/n.readUint(i,M+I*8+4));if(m==8)for(var I=0;I<g;I++)p.push(n.readShort(i,(g<3?o-4:M)+2*I));if(m==9)for(var I=0;I<g;I++)p.push(n.readInt(i,(g<2?o-4:M)+4*I));if(m==10)for(var I=0;I<g;I++)p.push(n.readInt(i,M+I*8)/n.readInt(i,M+I*8+4));if(m==11)for(var I=0;I<g;I++)p.push(n.readFloat(i,M+I*4));if(m==12)for(var I=0;I<g;I++)p.push(n.readDouble(i,M+I*8));if(k["t"+v]=p,g!=0&&p.length==0&&t("unknown TIFF tag type: ",m,"num:",g),u&&t(" ".repeat(f),v,m,a.tags[v],p),!(v==330&&k.t272&&k.t272[0]=="DSLR-A100")){if(v==330||v==34665||v==50740&&n.readUshort(i,n.readUint(p,0))<300){for(var N=v==50740?[n.readUint(p,0)]:p,R=[],I=0;I<N.length;I++)a._readIFD(n,i,N[I],R,f+1,u);v==330&&(k.subIFD=R),v==34665&&(k.exifIFD=R[0]),v==50740&&(k.dngPrvt=R[0])}}if(v==37500){var B=p;if(n.readASCII(B,0,5)=="Nikon")k.makerNote=a.decode(B.slice(10).buffer)[0];else if(n.readUshort(i,M)<300){var Z=[];a._readIFD(n,i,M,Z,f+1,u),k.makerNote=Z[0]}}}return u&&t(" ".repeat(f),"<<<---------------"),o},a._writeIFD=function(n,i,o,d){var f=Object.keys(d);n.writeUshort(i,o,f.length),o+=2;for(var u=o+f.length*12+4,l=0;l<f.length;l++){var k=f[l],_=parseInt(k.slice(1)),v=a.ttypes[_];if(v==null)throw new Error("unknown type of tag: "+_);var m=d[k];v==2&&(m=m[0]+"\0");var g=m.length;n.writeUshort(i,o,_),o+=2,n.writeUshort(i,o,v),o+=2,n.writeUint(i,o,g),o+=4;var M=[-1,1,1,2,4,8,0,0,0,0,0,0,8][v]*g,p=o;if(M>4&&(n.writeUint(i,o,u),p=u),v==2&&n.writeASCII(i,p,m),v==3)for(var b=0;b<g;b++)n.writeUshort(i,p+2*b,m[b]);if(v==4)for(var b=0;b<g;b++)n.writeUint(i,p+4*b,m[b]);if(v==5)for(var b=0;b<g;b++)n.writeUint(i,p+8*b,Math.round(m[b]*1e4)),n.writeUint(i,p+8*b+4,1e4);if(v==12)for(var b=0;b<g;b++)n.writeDouble(i,p+8*b,m[b]);M>4&&(M+=M&1,u+=M),o+=4}return[o,u]},a.toRGBA8=function(n){var i=n.width,o=n.height,d=i*o,f=d*4,u=n.data,l=new Uint8Array(d*4),k=n.t262?n.t262[0]:2,_=n.t258?Math.min(32,n.t258[0]):1;if(k==0)for(var v=Math.ceil(_*i/8),m=0;m<o;m++){var g=m*v,M=m*i;if(_==1)for(var p=0;p<i;p++){var b=M+p<<2,y=u[g+(p>>3)]>>7-(p&7)&1;l[b]=l[b+1]=l[b+2]=(1-y)*255,l[b+3]=255}if(_==4)for(var p=0;p<i;p++){var b=M+p<<2,y=u[g+(p>>1)]>>4-4*(p&1)&15;l[b]=l[b+1]=l[b+2]=(15-y)*17,l[b+3]=255}if(_==8)for(var p=0;p<i;p++){var b=M+p<<2,y=u[g+p];l[b]=l[b+1]=l[b+2]=255-y,l[b+3]=255}}else if(k==1)for(var v=Math.ceil(_*i/8),m=0;m<o;m++){var g=m*v,M=m*i;if(_==1)for(var p=0;p<i;p++){var b=M+p<<2,y=u[g+(p>>3)]>>7-(p&7)&1;l[b]=l[b+1]=l[b+2]=y*255,l[b+3]=255}if(_==2)for(var p=0;p<i;p++){var b=M+p<<2,y=u[g+(p>>2)]>>6-2*(p&3)&3;l[b]=l[b+1]=l[b+2]=y*85,l[b+3]=255}if(_==8)for(var p=0;p<i;p++){var b=M+p<<2,y=u[g+p];l[b]=l[b+1]=l[b+2]=y,l[b+3]=255}if(_==16)for(var p=0;p<i;p++){var b=M+p<<2,y=u[g+(2*p+1)];l[b]=l[b+1]=l[b+2]=Math.min(255,y),l[b+3]=255}}else if(k==2){var I=n.t258?n.t258.length:3;if(_==8){if(I==4)for(var p=0;p<f;p++)l[p]=u[p];if(I==3)for(var p=0;p<d;p++){var b=p<<2,N=p*3;l[b]=u[N],l[b+1]=u[N+1],l[b+2]=u[N+2],l[b+3]=255}}else{if(I==4)for(var p=0;p<d;p++){var b=p<<2,N=p*8+1;l[b]=u[N],l[b+1]=u[N+2],l[b+2]=u[N+4],l[b+3]=u[N+6]}if(I==3)for(var p=0;p<d;p++){var b=p<<2,N=p*6+1;l[b]=u[N],l[b+1]=u[N+2],l[b+2]=u[N+4],l[b+3]=255}}}else if(k==3)for(var R=n.t320,p=0;p<d;p++){var b=p<<2,B=u[p];l[b]=R[B]>>8,l[b+1]=R[256+B]>>8,l[b+2]=R[512+B]>>8,l[b+3]=255}else if(k==5)for(var I=n.t258?n.t258.length:4,Z=I>4?1:0,p=0;p<d;p++){var b=p<<2,T=p*I,C=255-u[T],P=255-u[T+1],J=255-u[T+2],re=(255-u[T+3])*(1/255);l[b]=~~(C*re+.5),l[b+1]=~~(P*re+.5),l[b+2]=~~(J*re+.5),l[b+3]=255*(1-Z)+u[T+4]*Z}else t("Unknown Photometric interpretation: "+k);return l},a.replaceIMG=function(n){n==null&&(n=document.getElementsByTagName("img"));for(var i=["tif","tiff","dng","cr2","nef"],o=0;o<n.length;o++){var d=n[o],f=d.getAttribute("src");if(f!=null){var u=f.split(".").pop().toLowerCase();if(i.indexOf(u)!=-1){var l=new XMLHttpRequest;a._xhrs.push(l),a._imgs.push(d),l.open("GET",f),l.responseType="arraybuffer",l.onload=a._imgLoaded,l.send()}}}},a._xhrs=[],a._imgs=[],a._imgLoaded=function(n){var i=n.target.response,o=a.decode(i),d=o,f=0,u=d[0];o[0].subIFD&&(d=d.concat(o[0].subIFD));for(var l=0;l<d.length;l++){var M=d[l];if(!(M.t258==null||M.t258.length<3)){var k=M.t256*M.t257;k>f&&(f=k,u=M)}}a.decodeImage(i,u,o);var _=a.toRGBA8(u),v=u.width,m=u.height,g=a._xhrs.indexOf(n.target),M=a._imgs[g];a._xhrs.splice(g,1),a._imgs.splice(g,1);var p=document.createElement("canvas");p.width=v,p.height=m;for(var b=p.getContext("2d"),y=b.createImageData(v,m),l=0;l<_.length;l++)y.data[l]=_[l];b.putImageData(y,0,0),M.setAttribute("src",p.toDataURL())},a._binBE={nextZero:function(n,i){for(;n[i]!=0;)i++;return i},readUshort:function(n,i){return n[i]<<8|n[i+1]},readShort:function(n,i){var o=a._binBE.ui8;return o[0]=n[i+1],o[1]=n[i+0],a._binBE.i16[0]},readInt:function(n,i){var o=a._binBE.ui8;return o[0]=n[i+3],o[1]=n[i+2],o[2]=n[i+1],o[3]=n[i+0],a._binBE.i32[0]},readUint:function(n,i){var o=a._binBE.ui8;return o[0]=n[i+3],o[1]=n[i+2],o[2]=n[i+1],o[3]=n[i+0],a._binBE.ui32[0]},readASCII:function(n,i,o){for(var d="",f=0;f<o;f++)d+=String.fromCharCode(n[i+f]);return d},readFloat:function(n,i){for(var o=a._binBE.ui8,d=0;d<4;d++)o[d]=n[i+3-d];return a._binBE.fl32[0]},readDouble:function(n,i){for(var o=a._binBE.ui8,d=0;d<8;d++)o[d]=n[i+7-d];return a._binBE.fl64[0]},writeUshort:function(n,i,o){n[i]=o>>8&255,n[i+1]=o&255},writeUint:function(n,i,o){n[i]=o>>24&255,n[i+1]=o>>16&255,n[i+2]=o>>8&255,n[i+3]=o>>0&255},writeASCII:function(n,i,o){for(var d=0;d<o.length;d++)n[i+d]=o.charCodeAt(d)},writeDouble:function(n,i,o){a._binBE.fl64[0]=o;for(var d=0;d<8;d++)n[i+d]=a._binBE.ui8[7-d]}},a._binBE.ui8=new Uint8Array(8),a._binBE.i16=new Int16Array(a._binBE.ui8.buffer),a._binBE.i32=new Int32Array(a._binBE.ui8.buffer),a._binBE.ui32=new Uint32Array(a._binBE.ui8.buffer),a._binBE.fl32=new Float32Array(a._binBE.ui8.buffer),a._binBE.fl64=new Float64Array(a._binBE.ui8.buffer),a._binLE={nextZero:a._binBE.nextZero,readUshort:function(n,i){return n[i+1]<<8|n[i]},readShort:function(n,i){var o=a._binBE.ui8;return o[0]=n[i+0],o[1]=n[i+1],a._binBE.i16[0]},readInt:function(n,i){var o=a._binBE.ui8;return o[0]=n[i+0],o[1]=n[i+1],o[2]=n[i+2],o[3]=n[i+3],a._binBE.i32[0]},readUint:function(n,i){var o=a._binBE.ui8;return o[0]=n[i+0],o[1]=n[i+1],o[2]=n[i+2],o[3]=n[i+3],a._binBE.ui32[0]},readASCII:a._binBE.readASCII,readFloat:function(n,i){for(var o=a._binBE.ui8,d=0;d<4;d++)o[d]=n[i+d];return a._binBE.fl32[0]},readDouble:function(n,i){for(var o=a._binBE.ui8,d=0;d<8;d++)o[d]=n[i+d];return a._binBE.fl64[0]}},a._copyTile=function(n,i,o,d,f,u,l,k){for(var _=Math.min(i,f-l),v=Math.min(o,u-k),m=0;m<v;m++)for(var g=(k+m)*f+l,M=m*i,p=0;p<_;p++)d[g+p]=n[M+p]},a.LosslessJpegDecode=(function(){function n(f){this.w=f,this.N=0,this._=0,this.G=0}n.prototype={t:function(f){this.N=Math.max(0,Math.min(this.w.length,f))},i:function(){return this.w[this.N++]},l:function(){var f=this.N;return this.N+=2,this.w[f]<<8|this.w[f+1]},J:function(){return this._==0&&(this.G=this.w[this.N],this.N+=1+(this.G+1>>>8),this._=8),this.G>>>--this._&1},Z:function(f){var u=this._,l=this.G,k=Math.min(u,f);f-=k,u-=k;for(var _=l>>>u&(1<<k)-1;f>0;)l=this.w[this.N],this.N+=1+(l+1>>>8),k=Math.min(8,f),f-=k,u=8-k,_<<=k,_|=l>>>u&(1<<k)-1;return this._=u,this.G=l,_}};var i={};i.X=function(){return[0,0,-1]},i.s=function(f,u,l){f[i.Y(f,0,l)+2]=u},i.Y=function(f,u,l){if(f[u+2]!=-1)return 0;if(l==0)return u;for(var k=0;k<2;k++){f[u+k]==0&&(f[u+k]=f.length,f.push(0),f.push(0),f.push(-1));var _=i.Y(f,f[u+k],l-1);if(_!=0)return _}return 0},i.B=function(f,u){for(var l=0,k=0,_=0,v=u._,m=u.G,g=u.N;;)if(v==0&&(m=u.w[g],g+=1+(m+1>>>8),v=8),_=m>>>--v&1,l=f[l+_],k=f[l+2],k!=-1)return u._=v,u.G=m,u.N=g,k;return-1};function o(f){this.z=new n(f),this.D(this.z)}o.prototype={$:function(f,u){this.Q=f.i(),this.F=f.l(),this.o=f.l();var l=this.O=f.i();this.L=[];for(var k=0;k<l;k++){var _=f.i(),v=f.i();f.i(),this.L[_]=k}f.t(f.N+u-(6+l*3))},e:function(){var f=0,u=this.z.i();this.H==null&&(this.H={});for(var l=this.H[u]=i.X(),k=[],_=0;_<16;_++)k[_]=this.z.i(),f+=k[_];for(var _=0;_<16;_++)for(var v=0;v<k[_];v++)i.s(l,this.z.i(),_+1);return f+17},W:function(f){for(;f>0;)f-=this.e()},p:function(f,u){var l=f.i();this.U||(this.U=[]);for(var k=0;k<l;k++){var _=f.i(),v=f.i();this.U[this.L[_]]=this.H[v>>>4]}this.g=f.i(),f.t(f.N+u-(2+l*2))},D:function(f){var u=!1,l=f.l();if(l===o.q)do{var l=f.l(),k=f.l()-2;switch(l){case o.m:this.$(f,k);break;case o.K:this.W(k);break;case o.V:this.p(f,k),u=!0;break;default:f.t(f.N+k);break}}while(!u)},I:function(f,u){var l=i.B(u,f);if(l==16)return-32768;var k=f.Z(l);return(k&1<<l-1)==0&&(k-=(1<<l)-1),k},B:function(f,u){for(var l=this.z,k=this.O,_=this.F,v=this.I,m=this.g,g=this.o*k,M=this.U,p=0;p<k;p++)f[p]=v(l,M[p])+(1<<this.Q-1);for(var b=k;b<g;b+=k)for(var p=0;p<k;p++)f[b+p]=v(l,M[p])+f[b+p-k];for(var y=u,I=1;I<_;I++){for(var p=0;p<k;p++)f[y+p]=v(l,M[p])+f[y+p-u];for(var b=k;b<g;b+=k)for(var p=0;p<k;p++){var N=y+b+p,R=f[N-k];m==6&&(R=f[N-u]+(R-f[N-k-u]>>>1)),f[N]=R+v(l,M[p])}y+=u}}},o.m=65475,o.K=65476,o.q=65496,o.V=65498;function d(f){var u=new o(f),l=u.Q>8?Uint16Array:Uint8Array,k=new l(u.o*u.F*u.O),_=u.o*u.O;return u.B(k,_),k}return d})()})(e,r)})()});var Z5=Fc(hm(),1);var of=e=>e==null?[]:Array.isArray(e)?e:[e],ff=e=>e!=null&&String(e).trim()!==""&&Number.isFinite(Number(e))?Number(e):void 0,Th=e=>{var s,n;let r=(s=e==null?void 0:e["a:off"])==null?void 0:s.attrs,t=(n=e==null?void 0:e["a:ext"])==null?void 0:n.attrs,a={x:ff(r==null?void 0:r.x),y:ff(r==null?void 0:r.y),w:ff(t==null?void 0:t.cx),h:ff(t==null?void 0:t.cy)};return Object.values(a).every(i=>i!==void 0&&Math.abs(i)<2147483648)&&a.w>0&&a.h>0?a:void 0},Mb=(e,r)=>e&&r&&["x","y","w","h"].every(t=>Math.abs(e[t]-r[t])<1),pm=e=>!["rot","flipH","flipV"].some(r=>{var t;return((t=e==null?void 0:e.attrs)==null?void 0:t[r])&&!["0","false"].includes(String(e.attrs[r]))}),Ih=e=>{var r;return(r=e==null?void 0:e.attrs)==null?void 0:r.name};function vm(e,r,t){var N,R,B,Z,T,C,P,J,re,Q;let a=new Map,s=r==null?void 0:r["dgm:dataModel"],n=(N=t==null?void 0:t["dgm:layoutDef"])==null?void 0:N["dgm:layoutNode"];if(!s||!n||((B=(R=n["dgm:alg"])==null?void 0:R.attrs)==null?void 0:B.type)!=="composite")return a;let i=of((Z=s["dgm:ptLst"])==null?void 0:Z["dgm:pt"]),o=of((T=s["dgm:cxnLst"])==null?void 0:T["dgm:cxn"]);if(i.length>1e4||o.length>2e4||e.length>1e4)return a;let d=i.filter(ae=>{var X;return((X=ae.attrs)==null?void 0:X.type)==="doc"});if(d.length!==1)return a;let f=new Map(i.map(ae=>{var X;return[(X=ae.attrs)==null?void 0:X.modelId,ae]})),u=new Set(o.filter(ae=>{var H;let X=ae.attrs,V=(H=f.get(X==null?void 0:X.destId))==null?void 0:H.attrs;return(X==null?void 0:X.srcId)===d[0].attrs.modelId&&(!X.type||X.type==="parOf")&&V&&(!V.type||V.type==="node")}).map(ae=>ae.attrs.destId));if(!u.size)return a;let l=u.size,k=new Map,_=[],v=new Map,m=0,g=!1,M=ae=>{let X=ae.attrs||{};if(X.func!=="cnt"||X.axis!=="ch"||X.ptType&&X.ptType!=="node")return;let V=ff(X.val);if(V!==void 0)switch(X.op){case"equ":return l===V;case"neq":return l!==V;case"gt":return l>V;case"gte":return l>=V;case"lt":return l<V;case"lte":return l<=V;default:return}},p=(ae,X=0,V=!0)=>{var H,A,ge,me,c;if(!(!ae||typeof ae!="object")){if(++m>1e4||X>48){g=!0;return}if(V)for(let h of of((H=ae["dgm:constrLst"])==null?void 0:H["dgm:constr"])){let De=h.attrs||{};if(De.for!=="ch"||!De.forName||!["l","t","r","b","w","h"].includes(De.type))continue;let Ue=k.get(De.forName)||new Map;Ue.has(De.type)?Ue.set(De.type,null):Ue.set(De.type,De),k.set(De.forName,Ue)}for(let h of of(ae["dgm:choose"])){let De,Ue=!1;for(let ee of of(h["dgm:if"])){let fe=M(ee);if(fe===void 0){Ue=!0;break}if(fe){De=ee;break}}Ue||p(De||h["dgm:else"],X+1,V)}for(let h of of(ae["dgm:layoutNode"])){let De=Ih(h);De&&(v.has(De)?v.set(De,null):v.set(De,h));let Ue=(ge=(A=h["dgm:alg"])==null?void 0:A.attrs)==null?void 0:ge.type,ee=(me=h["dgm:shape"])==null?void 0:me.attrs;De&&((c=h.attrs)!=null&&c.moveWith)&&Ue==="tx"&&["1","true"].includes(String(ee==null?void 0:ee.hideGeom))&&(ee==null?void 0:ee.type)==="rect"&&_.push(h),p(h,X+1,!1)}}};if(p(n),g)return a;let b=(ae,X,V)=>{if(!ae||ae.op&&ae.op!=="equ"||ae.refFor&&ae.refFor!=="self"||ae.refForName||ae.refPtType||!["w","h"].includes(ae.refType))return;let H=ff(ae.fact);if(!(H===void 0||Math.abs(H)>16))return H*(ae.refType==="w"?X:V)},y=(ae,X,V)=>{var h,De;if(!ae)return;let H=Object.fromEntries([...ae].map(([Ue,ee])=>[Ue,b(ee,X,V)])),A=H.w,ge=H.h;if(!(A>0&&ge>0))return;let me=(h=H.l)!=null?h:H.r===void 0?void 0:H.r-A,c=(De=H.t)!=null?De:H.b===void 0?void 0:H.b-ge;return me!==void 0&&c!==void 0?{x:me,y:c,w:A,h:ge}:void 0},I=new Map;for(let ae of o){let X=ae.attrs;if((X==null?void 0:X.type)==="presOf"){let V=I.get(X.destId)||new Set;V.add(X.srcId),I.set(X.destId,V)}}for(let ae of e){let X=(C=ae.attrs)==null?void 0:C.modelId,V=f.get(X),H=(J=(P=V==null?void 0:V["dgm:prSet"])==null?void 0:P.attrs)==null?void 0:J.presName,A=(re=ae["p:spPr"])==null?void 0:re["a:xfrm"],ge=ae["p:txXfrm"],me=Th(A),c=Th(ge);if(!H||!me||!pm(A)||!pm(ge)||c&&!Mb(me,c))continue;let h=_.filter(E=>E.attrs.moveWith===H&&v.get(Ih(E))===E);if(h.length!==1)continue;let De=Ih(h[0]),Ue=i.filter(E=>{var Be,We;return((We=(Be=E["dgm:prSet"])==null?void 0:Be.attrs)==null?void 0:We.presName)===De});if(Ue.length!==1)continue;let ee=I.get(X),fe=I.get((Q=Ue[0].attrs)==null?void 0:Q.modelId);if(!ee||!fe||![...ee].some(E=>fe.has(E)))continue;let oe=k.get(H),kt=k.get(De),dt=oe==null?void 0:oe.get("w"),S=oe==null?void 0:oe.get("h");if((dt==null?void 0:dt.refType)!=="w"||(S==null?void 0:S.refType)!=="h")continue;let Ee=b(dt,1,1),pe=b(S,1,1);if(!(Ee>0&&pe>0))continue;let Y=me.w/Ee,z=me.h/pe;if(!Number.isFinite(Y+z)||Y>2147483647||z>2147483647)continue;let j=y(oe,Y,z),be=y(kt,Y,z);if(!j||!be)continue;let Le={x:me.x+be.x-j.x,y:me.y+be.y-j.y,w:be.w,h:be.h};Object.values(Le).every(E=>Number.isFinite(E)&&Math.abs(E)<2147483648)&&a.set(X,{"a:off":{attrs:{x:String(Le.x),y:String(Le.y)}},"a:ext":{attrs:{cx:String(Le.w),cy:String(Le.h)}}})}return a}function yh(e,r){if(!e)return r;let t={...r,...e,"a:off":e["a:off"]||(r==null?void 0:r["a:off"]),"a:ext":e["a:ext"]||(r==null?void 0:r["a:ext"])};return Th(t)?t:r}function qc(e,r,t){var d,f;let a=[e,r,t].map(u=>u==null?void 0:u["a:bodyPr"]).filter(Boolean),s=(u,l)=>{var k;for(let _ of a){let v=(k=_.attrs)==null?void 0:k[u];if(v===void 0)continue;let m=Number(v);return String(v).trim()&&Number.isFinite(m)&&m>=0&&m<=2147483647?m:l}return l},n="none",i=1;for(let u of a){if(u["a:noAutofit"]!==void 0)break;if(u["a:spAutoFit"]!==void 0){n="shape";break}if(u["a:normAutofit"]!==void 0){n="normal";let l=(f=(d=u["a:normAutofit"])==null?void 0:d.attrs)==null?void 0:f.fontScale,k=typeof l=="string"&&l.endsWith("%")?Number(l.slice(0,-1))/100:Number(l)/1e5;l!==void 0&&Number.isFinite(k)&&k>0&&k<=1&&(i=k);break}}let o=a.map(u=>{var l;return(l=u.attrs)==null?void 0:l.wrap}).find(u=>u!==void 0);return{left:s("lIns",91440),right:s("rIns",91440),top:s("tIns",45720),bottom:s("bIns",45720),autofit:n,fontScale:i,wrap:o==="none"?"none":"square"}}var Vc=e=>e==null?[]:Array.isArray(e)?e:[e],mm=e=>/^(?:0|[0-9]+)$/.test(String(e!=null?e:""))&&Number(e)<=4294967295?String(Number(e)):void 0;function _m(e){return Object.entries(e||{}).filter(([r])=>r!=="attrs").flatMap(([r,t])=>Vc(t).filter(a=>a&&typeof a=="object").map(a=>[r,a])).sort((r,t)=>{var a,s;return(Number((a=r[1].attrs)==null?void 0:a.order)||0)-(Number((s=t[1].attrs)==null?void 0:s.order)||0)})}function wh(e,r){var s;let t=[["",e]],a=1e5;for(;t.length&&a-- >0;){let[n,i]=t.pop();!i||typeof i!="object"||((s=i.attrs)==null?void 0:s.nodeType)==="interactiveSeq"||r(n,i)!==!1&&t.push(..._m(i).reverse())}return t.length===0}function bm(e){var n,i;let r=[];if(!wh((i=(n=e==null?void 0:e["p:sld"])==null?void 0:n["p:timing"])==null?void 0:i["p:tnLst"],(o,d)=>{var f;if(((f=d.attrs)==null?void 0:f.nodeType)==="mainSeq")return r.push(d),!1})||r.length!==1)return new Set;let a=!1;if(!wh(r[0],(o,d)=>{var f,u;(((f=d.attrs)==null?void 0:f.repeatCount)!=null||((u=d.attrs)==null?void 0:u.repeatDur)!=null)&&(a=!0)})||a)return new Set;let s=new Map;for(let[,o]of _m(r[0]["p:childTnLst"])){let d=new Map;if(!wh(o,(f,u)=>{var p,b,y,I,N,R,B,Z;if(f!=="p:set")return;let l=u["p:cBhvr"],k=(p=l==null?void 0:l["p:tgtEl"])==null?void 0:p["p:spTgt"],_=mm((b=k==null?void 0:k.attrs)==null?void 0:b.spid),v=Vc((y=l==null?void 0:l["p:attrNameLst"])==null?void 0:y["p:attrName"]);if(_===void 0||!v.includes("style.visibility"))return;let m=(R=(N=(I=u["p:to"])==null?void 0:I["p:strVal"])==null?void 0:N.attrs)==null?void 0:R.val,M=Object.keys(k).every(T=>T==="attrs")&&Object.keys(k.attrs||{}).every(T=>T==="spid"||T==="order"||T==="xmlns"||T.startsWith("xmlns:"))&&["hold","freeze"].includes((Z=(B=l==null?void 0:l["p:cTn"])==null?void 0:B.attrs)==null?void 0:Z.fill)&&["visible","hidden"].includes(m)?m:void 0;d.set(_,d.has(_)&&d.get(_)!==M?void 0:M)}))return new Set;for(let[f,u]of d)s.set(f,u)}return new Set([...s].filter(([,o])=>o==="hidden").map(([o])=>o))}function Lm(e,r){let t=mm(r);return t!==void 0&&!!(e!=null&&e.has(t))}function gm(e){let r=[];for(let[t,a]of Object.entries(e||{}))if(["a:r","a:fld","a:br"].includes(t))for(let s of Vc(a))!s||typeof s!="object"||r.push(t==="a:fld"?{...s,"a:fld":s}:t==="a:br"?{...s,type:"br"}:s);return r.sort((t,a)=>{var s,n;return(Number((s=t.attrs)==null?void 0:s.order)||0)-(Number((n=a.attrs)==null?void 0:n.order)||0)})}function km(e){let r=String(e!=null?e:"").trim();if(!/^[+-]?\d+$/.test(r))return 1;let t=Number(r);return Number.isInteger(t)&&t>=-2147483648&&t<=2147483647?t:1}function Eb(e){if(typeof e!="string"&&typeof e!="number")return;let r=/^\+?(\d+(?:\.\d*)?|\.\d+)(%)?$/.exec(String(e).trim());if(!r)return;let t=Number(r[1])/(r[2]?100:1e5);return Number.isFinite(t)?t:void 0}function Mm(e,r){let t=Vc(e==null?void 0:e["a:alphaModFix"]).map(i=>{var o;return Eb((o=i==null?void 0:i.attrs)==null?void 0:o.amt)}).filter(i=>i!==void 0),a=(e==null?void 0:e["a:duotone"])!=null?["grayscale(1)"]:[],s="",n="";if(t.some(i=>i>1)){let i=String(r).replace(/[^a-zA-Z0-9_-]/g,"_");n=`<svg xmlns="http://www.w3.org/2000/svg" width="0" height="0" aria-hidden="true" style="position:absolute;pointer-events:none;"><defs><filter id="${i}" x="0" y="0" width="100%" height="100%" color-interpolation-filters="sRGB">`+t.map(o=>`<feComponentTransfer><feFuncA type="linear" slope="${o}" intercept="0"/></feComponentTransfer>`).join("")+"</filter></defs></svg>",a.unshift(`url(#${i})`)}else t.length&&(s+=`opacity:${t.reduce((i,o)=>i*o,1)};`);return a.length&&(s+=`filter:${a.join(" ")};`),{style:s,definitions:n}}var Em=e=>e==null?[]:Array.isArray(e)?e:[e];function Pm(e,r,t){var n,i,o;let a=[];for(let d of Em((n=e==null?void 0:e["a:extLst"])==null?void 0:n["a:ext"]))for(let[f,u]of Object.entries(d||{}))if(f.split(":").pop()==="svgBlip")for(let l of Em(u))a.push((i=l==null?void 0:l.attrs)==null?void 0:i["r:embed"]);a.push((o=e==null?void 0:e.attrs)==null?void 0:o["r:embed"]);let s=[];for(let d of new Set(a)){if(typeof d!="string"||!Object.prototype.hasOwnProperty.call(r||{},d))continue;let f=r[d],u=f==null?void 0:f.target;if(f!=null&&f.external||typeof u!="string"||!u||/^(?:[a-z][a-z0-9+.-]*:|\/\/|#)/i.test(u)||f.type&&f.type!=="image"&&!f.type.endsWith("/image"))continue;let l=t.file(u);l&&s.push({target:u,entry:l})}return s}var Pb=new Map([["{5C22544A-7EE6-4342-B048-85BDC9FD1C3A}","accent1"],["{21E4AEA4-8DFA-4A89-87EB-49C32662AFE0}","accent2"],["{F5AB1C69-6EDB-4FF4-983F-18BD219EF322}","accent3"],["{00A15C55-8517-42AA-B614-E9B94910E393}","accent4"],["{7DF18680-E054-41AD-8BC1-D1AEF772440D}","accent5"],["{93296810-A885-4BE3-A3E7-6D5BEEA58F35}","accent6"]]);function Sm(e){let r=Pb.get(String(e||"").trim().toUpperCase());if(!r)return;let t=(d,f)=>({"a:schemeClr":{attrs:{val:d},...f===void 0?{}:{"a:tint":{attrs:{val:String(f)}}}}}),a=(d=12700)=>({"a:ln":{attrs:{w:String(d),cmpd:"sng"},"a:solidFill":t("lt1")}}),s=d=>({"a:solidFill":t(r,d)}),n=(d,f=!1)=>({...f?{attrs:{b:"on"}}:{},"a:fontRef":{attrs:{idx:"minor"},"a:prstClr":{attrs:{val:"black"}}},...t(d)}),i=()=>({"a:tcStyle":{"a:tcBdr":{},"a:fill":s(4e4)}}),o=d=>({"a:tcTxStyle":n("lt1",!0),"a:tcStyle":{"a:fill":s(),"a:tcBdr":d?{[`a:${d}`]:a(38100)}:{}}});return{attrs:{styleId:e,styleName:`Medium Style 2 - ${r}`},"a:wholeTbl":{"a:tcTxStyle":n("dk1"),"a:tcStyle":{"a:fill":s(2e4),"a:tcBdr":Object.fromEntries(["left","right","top","bottom","insideH","insideV"].map(d=>[`a:${d}`,a()]))}},"a:band1H":i(),"a:band2H":{"a:tcStyle":{"a:tcBdr":{}}},"a:band1V":i(),"a:band2V":{"a:tcStyle":{"a:tcBdr":{}}},"a:firstCol":o(),"a:lastCol":o(),"a:firstRow":o("bottom"),"a:lastRow":o("top")}}var jc=e=>e==null?[]:Array.isArray(e)?e:[e],Im=e=>{var t;let r=new Map;for(let a of jc(e==null?void 0:e["c:pt"])){let s=(t=a==null?void 0:a.attrs)==null?void 0:t.idx,n=typeof s=="number"||/^\d+$/.test(String(s))?Number(s):NaN;if(Number.isSafeInteger(n)&&n>=0){let i=a["c:v"];r.set(n,i!=null&&typeof i=="object"?"":i)}}return r},Tm=e=>{var t;let r=(t=e==null?void 0:e["c:multiLvlStrRef"])==null?void 0:t["c:multiLvlStrCache"];return r?jc(r["c:lvl"]).map(Im):void 0},ym=(e,r)=>[...e].reverse().map((t,a)=>{if(t.has(r))return t.get(r);if(a===e.length-1)return"";let s=[...t.keys()].filter(n=>n<=r).sort((n,i)=>i-n)[0];return s===void 0?"":t.get(s)}).filter(t=>t!=null&&t!=="").join(" / "),Eo=e=>{var a,s,n,i,o;let r=Tm(e);if(r){let d=new Set(r.flatMap(f=>[...f.keys()]));return new Map([...d].map(f=>[f,ym(r,f)]))}let t=(o=(i=(s=(a=e==null?void 0:e["c:strRef"])==null?void 0:a["c:strCache"])!=null?s:e==null?void 0:e["c:strLit"])!=null?i:(n=e==null?void 0:e["c:numRef"])==null?void 0:n["c:numCache"])!=null?o:e==null?void 0:e["c:numLit"];return Im(t)},wm=(e,r)=>{var s,n;let t=e==null?void 0:e["c:tx"],a=(n=(s=t==null?void 0:t["c:v"])!=null?s:Eo(t).get(0))!=null?n:r;return typeof a=="string"||typeof a=="number"?a:""},gu=e=>{if(e==null||String(e).trim()==="")return null;let r=Number(e);return Number.isFinite(r)?r:null};function Rm(e){var o;let r=jc(e);if(!r.length)return[];if(r.length===1&&((o=r[0])!=null&&o["c:xVal"])){let d=Eo(r[0]["c:xVal"]),f=Eo(r[0]["c:yVal"]),u=[...new Set([...d.keys(),...f.keys()])].sort((l,k)=>l-k);return[u.map(l=>gu(d.get(l))),u.map(l=>gu(f.get(l)))]}let t=r.map((d,f)=>{let u=Tm(d==null?void 0:d["c:cat"]),l=Eo(d==null?void 0:d["c:cat"]),k=Eo(d==null?void 0:d["c:val"]);if(u)for(let _ of k.keys())l.has(_)||l.set(_,ym(u,_));return{key:wm(d,f),categories:l,numbers:k,levels:u}}),a=new Map,s=new Set;for(let d of t){for(let[f,u]of d.categories)a.has(f)||a.set(f,u),s.add(f);for(let f of d.numbers.keys())s.add(f)}let n=[...s].sort((d,f)=>d-f),i=Object.fromEntries(n.map((d,f)=>{var u;return[f,(u=a.get(d))!=null?u:String(d)]}));return t.map(d=>({key:d.key,values:n.map(f=>({x:String(f),y:gu(d.numbers.get(f))})),xlabels:i,...d.levels?{categoryLevels:d.levels.map(f=>Object.fromEntries(f))}:{}}))}function Bm(e){return jc(e).map((r,t)=>{let a=Eo(r==null?void 0:r["c:xVal"]),s=Eo(r==null?void 0:r["c:yVal"]),n=[...new Set([...a.keys(),...s.keys()])].sort((i,o)=>i-o);return{key:wm(r,t),values:n.map(i=>({x:gu(a.get(i)),y:gu(s.get(i))})),xlabels:{}}})}var Dm=e=>e==null?[]:Array.isArray(e)?e:[e],Nm=e=>e==null?void 0:["1","true"].includes(String(e));function lf(e,r,t){var u,l;let a=Dm(e==null?void 0:e["a:p"])[0],s=(u=a==null?void 0:a["a:pPr"])==null?void 0:u["a:defRPr"],n=(l=Dm(a==null?void 0:a["a:r"])[0])==null?void 0:l["a:rPr"],i={...s,...n,attrs:{...s==null?void 0:s.attrs,...n==null?void 0:n.attrs}};if(!s&&!n)return;let o=Number(i.attrs.sz),d=i["a:solidFill"]?r==null?void 0:r(i["a:solidFill"]):void 0,f=k=>{var m;let _=typeof((m=k==null?void 0:k.attrs)==null?void 0:m.typeface)=="string"?k.attrs.typeface.slice(0,512):void 0;if(!_)return;let v=t==null?void 0:t(_,i.attrs.lang);return typeof v=="string"&&v?v.slice(0,512):_};return{family:f(i["a:latin"]),eastAsianFamily:f(i["a:ea"]),complexScriptFamily:f(i["a:cs"]),sizePt:Number.isFinite(o)&&o>0&&o<=4e5?o/100:void 0,bold:Nm(i.attrs.b),italic:Nm(i.attrs.i),color:/^(?:[\da-f]{6}|[\da-f]{8})$/i.test(String(d))?`#${d}`:void 0}}var Rh=e=>e==null?[]:Array.isArray(e)?e:[e],kn=(e,r)=>{var t,a;return(a=(t=e==null?void 0:e[r])==null?void 0:t.attrs)==null?void 0:a.val},ku=(e,r,t,a)=>{if(!/^\d+$/.test(String(e)))return a;let s=Number(e);return Number.isSafeInteger(s)&&s>=r&&s<=t?s:a};function e1(e,r,t){var i;if(!e)return;let a=o=>{let d=kn(e,o);return d==null?void 0:d===!0||d===1||d==="1"||d==="true"},s=kn(e,"c:dLblPos"),n=(i=e==null?void 0:e["c:numFmt"])==null?void 0:i.attrs;return{...e["c:txPr"]?{font:lf(e["c:txPr"],r,t)}:{},showValue:a("c:showVal"),showCategory:a("c:showCatName"),showSeries:a("c:showSerName"),showPercent:a("c:showPercent"),deleted:a("c:delete"),position:["bestFit","b","ctr","inBase","inEnd","l","outEnd","r","t"].includes(s)?s:void 0,formatCode:typeof(n==null?void 0:n.formatCode)=="string"?n.formatCode.slice(0,512):void 0,sourceLinked:(n==null?void 0:n.sourceLinked)==null?void 0:["1","true"].includes(String(n.sourceLinked)),...e["c:dLbl"]?{points:Object.fromEntries(Rh(e["c:dLbl"]).flatMap(o=>{let d=ku(kn(o,"c:idx"),0,Number.MAX_SAFE_INTEGER,void 0);return d===void 0?[]:[[d,e1({...o,"c:dLbl":void 0},r,t)]]}))}:{}}}function zm(e,r,t,a){let s=kn(e,"c:grouping"),n=r==null?void 0:r["c:legend"],i=kn(n,"c:legendPos"),o=d=>{if((d==null?void 0:d["a:noFill"])!=null)return"transparent";if(!(d!=null&&d["a:solidFill"]))return;let f=t==null?void 0:t(d["a:solidFill"]);return/^(?:[\da-f]{6}|[\da-f]{8})$/i.test(String(f))?`#${f}`:void 0};return{grouping:["standard","clustered","stacked","percentStacked"].includes(s)?s:void 0,holeSize:ku(kn(e,"c:holeSize"),10,90,50),firstSliceAngle:ku(kn(e,"c:firstSliceAng"),0,360,0),gapWidth:ku(kn(e,"c:gapWidth"),0,500,void 0),overlap:/^-?\d+$/.test(String(kn(e,"c:overlap")))&&Math.abs(Number(kn(e,"c:overlap")))<=100?Number(kn(e,"c:overlap")):void 0,legend:{show:n!=null,position:["l","r","t","b","tr"].includes(i)?i:"r",...n!=null&&n["c:overlay"]?{overlay:["1","true"].includes(String(kn(n,"c:overlay")))}:{},...n!=null&&n["c:txPr"]?{font:lf(n["c:txPr"],t,a)}:{}},series:Rh(e==null?void 0:e["c:ser"]).map(d=>({color:o(d==null?void 0:d["c:spPr"]),...d!=null&&d["c:dLbls"]?{labels:e1(d["c:dLbls"],t,a)}:{},points:Object.fromEntries(Rh(d==null?void 0:d["c:dPt"]).flatMap(f=>{let u=ku(kn(f,"c:idx"),0,Number.MAX_SAFE_INTEGER,void 0),l=o(f==null?void 0:f["c:spPr"]);return u==null||!l?[]:[[u,l]]}))}))}}var Po=e=>e==null?[]:Array.isArray(e)?e:[e],Nn=(e,r)=>{var t,a;return(a=(t=e==null?void 0:e[r])==null?void 0:t.attrs)==null?void 0:a.val},Mu=e=>{if(e==null||String(e).trim()==="")return;let r=Number(e);return Number.isFinite(r)?r:void 0},Bh=e=>/^\d{1,10}$/.test(String(e))&&Number(e)<=4294967295?String(Number(e)):void 0,xm=e=>e===!0||e===1||e==="1"||e==="true",Dh=e=>typeof e=="string"||typeof e=="number"?String(e).slice(0,4096):"",Cm=e=>{var a,s;let r=e==null?void 0:e["c:tx"];return r!=null&&r["c:rich"]?Po(r["c:rich"]["a:p"]).map(n=>[...Po(n==null?void 0:n["a:r"]),...Po(n==null?void 0:n["a:fld"])].map(i=>Dh(i==null?void 0:i["a:t"])).join("")).join(`
|
|
3
|
+
`).slice(0,4096)||void 0:Po((s=(a=r==null?void 0:r["c:strRef"])==null?void 0:a["c:strCache"])==null?void 0:s["c:pt"]).map(n=>Dh(n==null?void 0:n["c:v"])).join(" ").slice(0,4096)||void 0};function Om(e,r,t){var f,u,l,k;let a=e==null?void 0:e["c:chartSpace"],s=a==null?void 0:a["c:chart"],n=s==null?void 0:s["c:plotArea"],i=new Set(["lineChart","barChart","areaChart","scatterChart","pieChart","pie3DChart","doughnutChart"]),o=[];for(let[_,v]of Object.entries(n||{})){let m=_.slice(2);if(!(!_.startsWith("c:")||!i.has(m)))for(let g of Po(v)){let M=zm(g,s,r,t);M.labels=e1(g==null?void 0:g["c:dLbls"],r,t),o.push({chartType:m,barDirection:["bar","col"].includes(Nn(g,"c:barDir"))?Nn(g,"c:barDir"):void 0,axisIds:Po(g==null?void 0:g["c:axId"]).map(p=>{var b;return Bh((b=p==null?void 0:p.attrs)==null?void 0:b.val)}).filter(p=>p!==void 0),series:m==="scatterChart"?Bm(g==null?void 0:g["c:ser"]):Rm(g==null?void 0:g["c:ser"]),options:M})}}let d=[];for(let[_,v]of[["c:catAx","category"],["c:valAx","value"],["c:dateAx","date"],["c:serAx","series"]])for(let m of Po(n==null?void 0:n[_])){let g=Bh(Nn(m,"c:axId"));if(g===void 0)continue;let M=m==null?void 0:m["c:scaling"],p=Nn(m,"c:axPos"),b=(f=m==null?void 0:m["c:numFmt"])==null?void 0:f.attrs,y=Mu(Nn(M,"c:logBase")),I=Nn(m,"c:crosses"),N=Mu((k=(l=(u=m==null?void 0:m["c:txPr"])==null?void 0:u["a:bodyPr"])==null?void 0:l.attrs)==null?void 0:k.rot);d.push({id:g,kind:v,position:["l","r","t","b"].includes(p)?p:void 0,deleted:xm(Nn(m,"c:delete")),reversed:Nn(M,"c:orientation")==="maxMin",min:Mu(Nn(M,"c:min")),max:Mu(Nn(M,"c:max")),logBase:y>=2&&y<=1e3?y:void 0,crossAxisId:Bh(Nn(m,"c:crossAx")),crosses:["autoZero","min","max"].includes(I)?I:void 0,crossesAt:Mu(Nn(m,"c:crossesAt")),numberFormat:b?{code:Dh(b.formatCode).slice(0,512),sourceLinked:b.sourceLinked==null?void 0:xm(b.sourceLinked)}:void 0,title:Cm(m==null?void 0:m["c:title"]),majorGridlines:(m==null?void 0:m["c:majorGridlines"])!=null,labelRotation:N!==void 0&&Math.abs(N)<=54e5?N/6e4:void 0,font:lf(m==null?void 0:m["c:txPr"],r,t)})}return{schemaVersion:1,groups:o,axes:d,title:Cm(s==null?void 0:s["c:title"]),font:lf(a==null?void 0:a["c:txPr"],r,t)}}function t1(e){"@babel/helpers - typeof";return t1=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},t1(e)}var Sb=/^\s+/,Ib=/\s+$/;function Je(e,r){if(e=e||"",r=r||{},e instanceof Je)return e;if(!(this instanceof Je))return new Je(e,r);var t=Tb(e);this._originalInput=e,this._r=t.r,this._g=t.g,this._b=t.b,this._a=t.a,this._roundA=Math.round(100*this._a)/100,this._format=r.format||t.format,this._gradientType=r.gradientType,this._r<1&&(this._r=Math.round(this._r)),this._g<1&&(this._g=Math.round(this._g)),this._b<1&&(this._b=Math.round(this._b)),this._ok=t.ok}Je.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var r=this.toRgb();return(r.r*299+r.g*587+r.b*114)/1e3},getLuminance:function(){var r=this.toRgb(),t,a,s,n,i,o;return t=r.r/255,a=r.g/255,s=r.b/255,t<=.03928?n=t/12.92:n=Math.pow((t+.055)/1.055,2.4),a<=.03928?i=a/12.92:i=Math.pow((a+.055)/1.055,2.4),s<=.03928?o=s/12.92:o=Math.pow((s+.055)/1.055,2.4),.2126*n+.7152*i+.0722*o},setAlpha:function(r){return this._a=Ym(r),this._roundA=Math.round(100*this._a)/100,this},toHsv:function(){var r=Um(this._r,this._g,this._b);return{h:r.h*360,s:r.s,v:r.v,a:this._a}},toHsvString:function(){var r=Um(this._r,this._g,this._b),t=Math.round(r.h*360),a=Math.round(r.s*100),s=Math.round(r.v*100);return this._a==1?"hsv("+t+", "+a+"%, "+s+"%)":"hsva("+t+", "+a+"%, "+s+"%, "+this._roundA+")"},toHsl:function(){var r=Gm(this._r,this._g,this._b);return{h:r.h*360,s:r.s,l:r.l,a:this._a}},toHslString:function(){var r=Gm(this._r,this._g,this._b),t=Math.round(r.h*360),a=Math.round(r.s*100),s=Math.round(r.l*100);return this._a==1?"hsl("+t+", "+a+"%, "+s+"%)":"hsla("+t+", "+a+"%, "+s+"%, "+this._roundA+")"},toHex:function(r){return Hm(this._r,this._g,this._b,r)},toHexString:function(r){return"#"+this.toHex(r)},toHex8:function(r){return Bb(this._r,this._g,this._b,this._a,r)},toHex8String:function(r){return"#"+this.toHex8(r)},toRgb:function(){return{r:Math.round(this._r),g:Math.round(this._g),b:Math.round(this._b),a:this._a}},toRgbString:function(){return this._a==1?"rgb("+Math.round(this._r)+", "+Math.round(this._g)+", "+Math.round(this._b)+")":"rgba("+Math.round(this._r)+", "+Math.round(this._g)+", "+Math.round(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:Math.round(xr(this._r,255)*100)+"%",g:Math.round(xr(this._g,255)*100)+"%",b:Math.round(xr(this._b,255)*100)+"%",a:this._a}},toPercentageRgbString:function(){return this._a==1?"rgb("+Math.round(xr(this._r,255)*100)+"%, "+Math.round(xr(this._g,255)*100)+"%, "+Math.round(xr(this._b,255)*100)+"%)":"rgba("+Math.round(xr(this._r,255)*100)+"%, "+Math.round(xr(this._g,255)*100)+"%, "+Math.round(xr(this._b,255)*100)+"%, "+this._roundA+")"},toName:function(){return this._a===0?"transparent":this._a<1?!1:$b[Hm(this._r,this._g,this._b,!0)]||!1},toFilter:function(r){var t="#"+Zm(this._r,this._g,this._b,this._a),a=t,s=this._gradientType?"GradientType = 1, ":"";if(r){var n=Je(r);a="#"+Zm(n._r,n._g,n._b,n._a)}return"progid:DXImageTransform.Microsoft.gradient("+s+"startColorstr="+t+",endColorstr="+a+")"},toString:function(r){var t=!!r;r=r||this._format;var a=!1,s=this._a<1&&this._a>=0,n=!t&&s&&(r==="hex"||r==="hex6"||r==="hex3"||r==="hex4"||r==="hex8"||r==="name");return n?r==="name"&&this._a===0?this.toName():this.toRgbString():(r==="rgb"&&(a=this.toRgbString()),r==="prgb"&&(a=this.toPercentageRgbString()),(r==="hex"||r==="hex6")&&(a=this.toHexString()),r==="hex3"&&(a=this.toHexString(!0)),r==="hex4"&&(a=this.toHex8String(!0)),r==="hex8"&&(a=this.toHex8String()),r==="name"&&(a=this.toName()),r==="hsl"&&(a=this.toHslString()),r==="hsv"&&(a=this.toHsvString()),a||this.toHexString())},clone:function(){return Je(this.toString())},_applyModification:function(r,t){var a=r.apply(null,[this].concat([].slice.call(t)));return this._r=a._r,this._g=a._g,this._b=a._b,this.setAlpha(a._a),this},lighten:function(){return this._applyModification(xb,arguments)},brighten:function(){return this._applyModification(Cb,arguments)},darken:function(){return this._applyModification(Ob,arguments)},desaturate:function(){return this._applyModification(Db,arguments)},saturate:function(){return this._applyModification(Nb,arguments)},greyscale:function(){return this._applyModification(zb,arguments)},spin:function(){return this._applyModification(Gb,arguments)},_applyCombination:function(r,t){return r.apply(null,[this].concat([].slice.call(t)))},analogous:function(){return this._applyCombination(Zb,arguments)},complement:function(){return this._applyCombination(Ub,arguments)},monochromatic:function(){return this._applyCombination(Wb,arguments)},splitcomplement:function(){return this._applyCombination(Hb,arguments)},triad:function(){return this._applyCombination(Wm,[3])},tetrad:function(){return this._applyCombination(Wm,[4])}};Je.fromRatio=function(e,r){if(t1(e)=="object"){var t={};for(var a in e)e.hasOwnProperty(a)&&(a==="a"?t[a]=e[a]:t[a]=Eu(e[a]));e=t}return Je(e,r)};function Tb(e){var r={r:0,g:0,b:0},t=1,a=null,s=null,n=null,i=!1,o=!1;return typeof e=="string"&&(e=Kb(e)),t1(e)=="object"&&(_0(e.r)&&_0(e.g)&&_0(e.b)?(r=yb(e.r,e.g,e.b),i=!0,o=String(e.r).substr(-1)==="%"?"prgb":"rgb"):_0(e.h)&&_0(e.s)&&_0(e.v)?(a=Eu(e.s),s=Eu(e.v),r=Rb(e.h,a,s),i=!0,o="hsv"):_0(e.h)&&_0(e.s)&&_0(e.l)&&(a=Eu(e.s),n=Eu(e.l),r=wb(e.h,a,n),i=!0,o="hsl"),e.hasOwnProperty("a")&&(t=e.a)),t=Ym(t),{ok:i,format:e.format||o,r:Math.min(255,Math.max(r.r,0)),g:Math.min(255,Math.max(r.g,0)),b:Math.min(255,Math.max(r.b,0)),a:t}}function yb(e,r,t){return{r:xr(e,255)*255,g:xr(r,255)*255,b:xr(t,255)*255}}function Gm(e,r,t){e=xr(e,255),r=xr(r,255),t=xr(t,255);var a=Math.max(e,r,t),s=Math.min(e,r,t),n,i,o=(a+s)/2;if(a==s)n=i=0;else{var d=a-s;switch(i=o>.5?d/(2-a-s):d/(a+s),a){case e:n=(r-t)/d+(r<t?6:0);break;case r:n=(t-e)/d+2;break;case t:n=(e-r)/d+4;break}n/=6}return{h:n,s:i,l:o}}function wb(e,r,t){var a,s,n;e=xr(e,360),r=xr(r,100),t=xr(t,100);function i(f,u,l){return l<0&&(l+=1),l>1&&(l-=1),l<1/6?f+(u-f)*6*l:l<1/2?u:l<2/3?f+(u-f)*(2/3-l)*6:f}if(r===0)a=s=n=t;else{var o=t<.5?t*(1+r):t+r-t*r,d=2*t-o;a=i(d,o,e+1/3),s=i(d,o,e),n=i(d,o,e-1/3)}return{r:a*255,g:s*255,b:n*255}}function Um(e,r,t){e=xr(e,255),r=xr(r,255),t=xr(t,255);var a=Math.max(e,r,t),s=Math.min(e,r,t),n,i,o=a,d=a-s;if(i=a===0?0:d/a,a==s)n=0;else{switch(a){case e:n=(r-t)/d+(r<t?6:0);break;case r:n=(t-e)/d+2;break;case t:n=(e-r)/d+4;break}n/=6}return{h:n,s:i,v:o}}function Rb(e,r,t){e=xr(e,360)*6,r=xr(r,100),t=xr(t,100);var a=Math.floor(e),s=e-a,n=t*(1-r),i=t*(1-s*r),o=t*(1-(1-s)*r),d=a%6,f=[t,i,n,n,o,t][d],u=[o,t,t,i,n,n][d],l=[n,n,o,t,t,i][d];return{r:f*255,g:u*255,b:l*255}}function Hm(e,r,t,a){var s=[Mi(Math.round(e).toString(16)),Mi(Math.round(r).toString(16)),Mi(Math.round(t).toString(16))];return a&&s[0].charAt(0)==s[0].charAt(1)&&s[1].charAt(0)==s[1].charAt(1)&&s[2].charAt(0)==s[2].charAt(1)?s[0].charAt(0)+s[1].charAt(0)+s[2].charAt(0):s.join("")}function Bb(e,r,t,a,s){var n=[Mi(Math.round(e).toString(16)),Mi(Math.round(r).toString(16)),Mi(Math.round(t).toString(16)),Mi(Am(a))];return s&&n[0].charAt(0)==n[0].charAt(1)&&n[1].charAt(0)==n[1].charAt(1)&&n[2].charAt(0)==n[2].charAt(1)&&n[3].charAt(0)==n[3].charAt(1)?n[0].charAt(0)+n[1].charAt(0)+n[2].charAt(0)+n[3].charAt(0):n.join("")}function Zm(e,r,t,a){var s=[Mi(Am(a)),Mi(Math.round(e).toString(16)),Mi(Math.round(r).toString(16)),Mi(Math.round(t).toString(16))];return s.join("")}Je.equals=function(e,r){return!e||!r?!1:Je(e).toRgbString()==Je(r).toRgbString()};Je.random=function(){return Je.fromRatio({r:Math.random(),g:Math.random(),b:Math.random()})};function Db(e,r){r=r===0?0:r||10;var t=Je(e).toHsl();return t.s-=r/100,t.s=r1(t.s),Je(t)}function Nb(e,r){r=r===0?0:r||10;var t=Je(e).toHsl();return t.s+=r/100,t.s=r1(t.s),Je(t)}function zb(e){return Je(e).desaturate(100)}function xb(e,r){r=r===0?0:r||10;var t=Je(e).toHsl();return t.l+=r/100,t.l=r1(t.l),Je(t)}function Cb(e,r){r=r===0?0:r||10;var t=Je(e).toRgb();return t.r=Math.max(0,Math.min(255,t.r-Math.round(255*-(r/100)))),t.g=Math.max(0,Math.min(255,t.g-Math.round(255*-(r/100)))),t.b=Math.max(0,Math.min(255,t.b-Math.round(255*-(r/100)))),Je(t)}function Ob(e,r){r=r===0?0:r||10;var t=Je(e).toHsl();return t.l-=r/100,t.l=r1(t.l),Je(t)}function Gb(e,r){var t=Je(e).toHsl(),a=(t.h+r)%360;return t.h=a<0?360+a:a,Je(t)}function Ub(e){var r=Je(e).toHsl();return r.h=(r.h+180)%360,Je(r)}function Wm(e,r){if(isNaN(r)||r<=0)throw new Error("Argument to polyad must be a positive number");for(var t=Je(e).toHsl(),a=[Je(e)],s=360/r,n=1;n<r;n++)a.push(Je({h:(t.h+n*s)%360,s:t.s,l:t.l}));return a}function Hb(e){var r=Je(e).toHsl(),t=r.h;return[Je(e),Je({h:(t+72)%360,s:r.s,l:r.l}),Je({h:(t+216)%360,s:r.s,l:r.l})]}function Zb(e,r,t){r=r||6,t=t||30;var a=Je(e).toHsl(),s=360/t,n=[Je(e)];for(a.h=(a.h-(s*r>>1)+720)%360;--r;)a.h=(a.h+s)%360,n.push(Je(a));return n}function Wb(e,r){r=r||6;for(var t=Je(e).toHsv(),a=t.h,s=t.s,n=t.v,i=[],o=1/r;r--;)i.push(Je({h:a,s,v:n})),n=(n+o)%1;return i}Je.mix=function(e,r,t){t=t===0?0:t||50;var a=Je(e).toRgb(),s=Je(r).toRgb(),n=t/100,i={r:(s.r-a.r)*n+a.r,g:(s.g-a.g)*n+a.g,b:(s.b-a.b)*n+a.b,a:(s.a-a.a)*n+a.a};return Je(i)};Je.readability=function(e,r){var t=Je(e),a=Je(r);return(Math.max(t.getLuminance(),a.getLuminance())+.05)/(Math.min(t.getLuminance(),a.getLuminance())+.05)};Je.isReadable=function(e,r,t){var a=Je.readability(e,r),s,n;switch(n=!1,s=Jb(t),s.level+s.size){case"AAsmall":case"AAAlarge":n=a>=4.5;break;case"AAlarge":n=a>=3;break;case"AAAsmall":n=a>=7;break}return n};Je.mostReadable=function(e,r,t){var a=null,s=0,n,i,o,d;t=t||{},i=t.includeFallbackColors,o=t.level,d=t.size;for(var f=0;f<r.length;f++)n=Je.readability(e,r[f]),n>s&&(s=n,a=Je(r[f]));return Je.isReadable(e,a,{level:o,size:d})||!i?a:(t.includeFallbackColors=!1,Je.mostReadable(e,["#fff","#000"],t))};var Nh=Je.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},$b=Je.hexNames=Yb(Nh);function Yb(e){var r={};for(var t in e)e.hasOwnProperty(t)&&(r[e[t]]=t);return r}function Ym(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function xr(e,r){Ab(e)&&(e="100%");var t=Xb(e);return e=Math.min(r,Math.max(0,parseFloat(e))),t&&(e=parseInt(e*r,10)/100),Math.abs(e-r)<1e-6?1:e%r/parseFloat(r)}function r1(e){return Math.min(1,Math.max(0,e))}function Mn(e){return parseInt(e,16)}function Ab(e){return typeof e=="string"&&e.indexOf(".")!=-1&&parseFloat(e)===1}function Xb(e){return typeof e=="string"&&e.indexOf("%")!=-1}function Mi(e){return e.length==1?"0"+e:""+e}function Eu(e){return e<=1&&(e=e*100+"%"),e}function Am(e){return Math.round(parseFloat(e)*255).toString(16)}function $m(e){return Mn(e)/255}var ki=(function(){var e="[-\\+]?\\d+%?",r="[-\\+]?\\d*\\.\\d+%?",t="(?:"+r+")|(?:"+e+")",a="[\\s|\\(]+("+t+")[,|\\s]+("+t+")[,|\\s]+("+t+")\\s*\\)?",s="[\\s|\\(]+("+t+")[,|\\s]+("+t+")[,|\\s]+("+t+")[,|\\s]+("+t+")\\s*\\)?";return{CSS_UNIT:new RegExp(t),rgb:new RegExp("rgb"+a),rgba:new RegExp("rgba"+s),hsl:new RegExp("hsl"+a),hsla:new RegExp("hsla"+s),hsv:new RegExp("hsv"+a),hsva:new RegExp("hsva"+s),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/}})();function _0(e){return!!ki.CSS_UNIT.exec(e)}function Kb(e){e=e.replace(Sb,"").replace(Ib,"").toLowerCase();var r=!1;if(Nh[e])e=Nh[e],r=!0;else if(e=="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var t;return(t=ki.rgb.exec(e))?{r:t[1],g:t[2],b:t[3]}:(t=ki.rgba.exec(e))?{r:t[1],g:t[2],b:t[3],a:t[4]}:(t=ki.hsl.exec(e))?{h:t[1],s:t[2],l:t[3]}:(t=ki.hsla.exec(e))?{h:t[1],s:t[2],l:t[3],a:t[4]}:(t=ki.hsv.exec(e))?{h:t[1],s:t[2],v:t[3]}:(t=ki.hsva.exec(e))?{h:t[1],s:t[2],v:t[3],a:t[4]}:(t=ki.hex8.exec(e))?{r:Mn(t[1]),g:Mn(t[2]),b:Mn(t[3]),a:$m(t[4]),format:r?"name":"hex8"}:(t=ki.hex6.exec(e))?{r:Mn(t[1]),g:Mn(t[2]),b:Mn(t[3]),format:r?"name":"hex"}:(t=ki.hex4.exec(e))?{r:Mn(t[1]+""+t[1]),g:Mn(t[2]+""+t[2]),b:Mn(t[3]+""+t[3]),a:$m(t[4]+""+t[4]),format:r?"name":"hex8"}:(t=ki.hex3.exec(e))?{r:Mn(t[1]+""+t[1]),g:Mn(t[2]+""+t[2]),b:Mn(t[3]+""+t[3]),format:r?"name":"hex"}:!1}function Jb(e){var r,t;return e=e||{level:"AA",size:"small"},r=(e.level||"AA").toUpperCase(),t=(e.size||"small").toLowerCase(),r!=="AA"&&r!=="AAA"&&(r="AA"),t!=="small"&&t!=="large"&&(t="small"),{level:r,size:t}}function Xm(e,r){"txml";r=r||{};var t=r.pos||0,a=!!r.keepComments,s=!!r.keepWhitespace,n="<",i=60,o=">",d=62,f=45,u=47,l=33,k=39,_=34,v=91,m=93;function g(Z){for(var T=[];e[t];)if(e.charCodeAt(t)==i){if(e.charCodeAt(t+1)===u){var C=t+2;t=e.indexOf(o,t);var P=e.substring(C,t);if(P.indexOf(Z)==-1){var J=e.substring(0,t).split(`
|
|
4
4
|
`);throw new Error(`Unexpected close tag
|
|
5
5
|
Line: `+(J.length-1)+`
|
|
6
6
|
Column: `+(J[J.length-1].length+1)+`
|
|
7
7
|
Char: `+e[t])}return t+1&&(t+=1),T}else if(e.charCodeAt(t+1)===l){if(e.charCodeAt(t+2)==f){let H=t;for(;t!==-1&&!(e.charCodeAt(t)===d&&e.charCodeAt(t-1)==f&&e.charCodeAt(t-2)==f&&t!=-1);)t=e.indexOf(o,t+1);t===-1&&(t=e.length),a&&T.push(e.substring(H,t+1))}else if(e.charCodeAt(t+2)===v&&e.charCodeAt(t+8)===v&&e.substr(t+3,5).toLowerCase()==="cdata"){var re=e.indexOf("]]>",t);re==-1?(T.push(e.substr(t+9)),t=e.length):(T.push(e.substring(t+9,re)),t=re+3);continue}else{let H=t+1;t+=2;for(var Q=!1;(e.charCodeAt(t)!==d||Q===!0)&&e[t];)e.charCodeAt(t)===v?Q=!0:Q===!0&&e.charCodeAt(t)===m&&(Q=!1),t++;T.push(e.substring(H,t))}t++;continue}var ae=I();T.push(ae),ae.tagName[0]==="?"&&(T.push(...ae.children),ae.children=[])}else{var X=M();if(s)X.length>0&&T.push(X);else{var V=X.trim();V.length>0&&T.push(V)}t++}return T}function M(){var Z=t;return t=e.indexOf(n,t)-1,t===-2&&(t=e.length),e.slice(Z,t+1)}var p=`\r
|
|
8
|
-
>/= `;function b(){for(var Z=t;p.indexOf(e[t])===-1&&e[t];)t++;return e.slice(Z,t)}var y=r.noChildNodes||["img","br","input","meta","link","hr"];function I(){t++;let Z=b(),T={},x=[];for(;e.charCodeAt(t)!==d&&e[t];){var P=e.charCodeAt(t);if(P>64&&P<91||P>96&&P<123){for(var J=b(),re=e.charCodeAt(t);re&&re!==k&&re!==_&&!(re>64&&re<91||re>96&&re<123)&&re!==d;)t++,re=e.charCodeAt(t);if(re===k||re===_){var Q=z();if(t===-1)return{tagName:Z,attributes:T,children:x}}else Q=null,t--;T[J]=Q}t++}if(e.charCodeAt(t-1)!==c)if(Z=="script"){var ae=t+1;t=e.indexOf("<\/script>",t),x=[e.slice(ae,t)],t+=9}else if(Z=="style"){var ae=t+1;t=e.indexOf("</style>",t),x=[e.slice(ae,t)],t+=8}else y.indexOf(Z)===-1?(t++,x=g(Z)):t++;else t++;return{tagName:Z,attributes:T,children:x}}function z(){var Z=e[t],T=t+1;return t=e.indexOf(Z,T),e.slice(T,t)}function R(){var Z=new RegExp("\\s"+r.attrName+`\\s*=['"]`+r.attrValue+`['"]`).exec(e);return Z?Z.index:-1}var B=null;if(r.attrValue!==void 0){r.attrName=r.attrName||"id";for(var B=[];(t=R())!==-1;)t=e.lastIndexOf("<",t),t!==-1&&B.push(I()),e=e.substr(t),t=0}else r.parseNode?B=I():B=g("");return r.filter&&(B=filter(B,r.filter)),r.simplify?Am(Array.isArray(B)?B:[B]):(r.setPos&&(B.pos=t),B)}var Kb=1;function Am(e){let r={};if(!e||!e.length)return{};if(e.length===1&&typeof e[0]=="string")return e[0];e.forEach(function(a){if(typeof a!="object")return;r[a.tagName]||(r[a.tagName]=[]);let s=Am(a.children);r[a.tagName].push(s),typeof s!="string"&&(Object.keys(a.attributes).length&&(s.attrs=a.attributes),s.attrs||(s.attrs={}),s.attrs.order=Kb++)});for(var t in r)r[t].length==1&&(r[t]=r[t][0]);return r}var v5=Ph(Km(),1),xp=Ph(C_(),1);var Hu=(e,r,t)=>r<0||r+2>e.byteLength?0:e.getUint16(r,t),x_=(e,r,t)=>r<0||r+4>e.byteLength?0:e.getUint32(r,t),KL=e=>{if(e.byteLength<4||e[0]!==255||e[1]!==216)return null;let r=new DataView(e.buffer,e.byteOffset,e.byteLength),t=2;for(;t+4<=e.byteLength;){if(e[t]!==255){t+=1;continue}let a=e[t+1];if(t+=2,a===217||a===218)break;if(a===0||a===1||a>=208&&a<=215)continue;let s=r.getUint16(t,!1);if(s<2||t+s>e.byteLength)break;let n=t+2,i=s-2;if(a===225&&i>=14&&e[n]===69&&e[n+1]===120&&e[n+2]===105&&e[n+3]===102&&e[n+4]===0&&e[n+5]===0){let o=n+6,d=e[o]===73&&e[o+1]===73,f=e[o]===77&&e[o+1]===77;if(!d&&!f||Hu(r,o+2,d)!==42)return null;let c=x_(r,o+4,d),l=o+c,k=Hu(r,l,d);for(let _=0;_<k;_+=1){let v=l+2+_*12;if(v+12>e.byteLength)break;if(Hu(r,v,d)!==274)continue;let m=Hu(r,v+2,d),g=x_(r,v+4,d);return m!==3||g<1?null:{offset:v+8,littleEndian:d,orientation:Hu(r,v+8,d)}}}t+=s}return null};var O_=e=>{let r=e instanceof Uint8Array?e:new Uint8Array(e),t=KL(r);if(!t||t.orientation<=1||t.orientation>8)return{bytes:r,orientation:(t==null?void 0:t.orientation)||1};let a=r.slice();return new DataView(a.buffer,a.byteOffset,a.byteLength).setUint16(t.offset,1,t.littleEndian),{bytes:a,orientation:t.orientation}};var ln=class{constructor(r){if(r instanceof Uint8Array)this.bytes=r;else if(r instanceof ArrayBuffer)this.bytes=new Uint8Array(r);else if(ArrayBuffer.isView(r))this.bytes=new Uint8Array(r.buffer,r.byteOffset,r.byteLength);else throw new TypeError("BinaryReader expects ArrayBuffer or Uint8Array");this.view=new DataView(this.bytes.buffer,this.bytes.byteOffset,this.bytes.byteLength),this.length=this.bytes.byteLength}ensure(r,t=1){return r>=0&&r+t<=this.length}u8(r){return this.ensure(r,1)?this.view.getUint8(r):0}i8(r){return this.ensure(r,1)?this.view.getInt8(r):0}u16(r){return this.ensure(r,2)?this.view.getUint16(r,!0):0}i16(r){return this.ensure(r,2)?this.view.getInt16(r,!0):0}u32(r){return this.ensure(r,4)?this.view.getUint32(r,!0):0}i32(r){return this.ensure(r,4)?this.view.getInt32(r,!0):0}slice(r,t){return this.ensure(r,t)?this.bytes.subarray(r,r+t):new Uint8Array(0)}array(r,t,a){var i;let s=[],n=(i=a.byteWidth)!=null?i:1;for(let o=0;o<t;o+=1)s.push(a.call(this,r+o*n));return s}};ln.prototype.u8.byteWidth=1;ln.prototype.i8.byteWidth=1;ln.prototype.u16.byteWidth=2;ln.prototype.i16.byteWidth=2;ln.prototype.u32.byteWidth=4;ln.prototype.i32.byteWidth=4;var G_=globalThis.Buffer;function Zi(e){return String(e).replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}function JL(e){return e instanceof Uint8Array?e:e instanceof ArrayBuffer?new Uint8Array(e):new Uint8Array(e.buffer,e.byteOffset,e.byteLength)}function QL(e){let r=JL(e);if(G_)return G_.from(r).toString("base64");let t="",a=32768;for(let s=0;s<r.length;s+=a)t+=String.fromCharCode(...r.subarray(s,Math.min(s+a,r.length)));return btoa(t)}function _p(e,r="application/octet-stream"){return`data:${r};base64,${QL(e)}`}var FL={color:"#000000",width:1},qL={color:"#ffffff",none:!0},VL={family:"sans-serif",size:12},$_={m11:1,m12:0,m21:0,m22:1,dx:0,dy:0},jL=2596720087,eg=18,Sr={META_EOF:0,META_SETBKMODE:258,META_SETPOLYFILLMODE:262,META_SETBKCOLOR:513,META_SETTEXTCOLOR:521,META_SETWINDOWORG:523,META_SETWINDOWEXT:524,META_SETVIEWPORTORG:525,META_SETVIEWPORTEXT:526,META_OFFSETWINDOWORG:527,META_OFFSETVIEWPORTORG:529,META_LINETO:531,META_MOVETO:532,META_POLYGON:804,META_POLYLINE:805,META_TEXTOUT:1313,META_POLYPOLYGON:1336,META_ELLIPSE:1048,META_RECTANGLE:1051,META_ROUNDRECT:1564,META_CREATEBRUSHINDIRECT:764,META_CREATEPENINDIRECT:762,META_CREATEFONTINDIRECT:763,META_SELECTOBJECT:301,META_DELETEOBJECT:496},ct={EMR_HEADER:1,EMR_POLYBEZIER:2,EMR_POLYGON:3,EMR_POLYLINE:4,EMR_POLYBEZIERTO:5,EMR_POLYLINETO:6,EMR_POLYPOLYLINE:7,EMR_POLYPOLYGON:8,EMR_SETWINDOWEXTEX:9,EMR_SETWINDOWORGEX:10,EMR_SETVIEWPORTEXTEX:11,EMR_SETVIEWPORTORGEX:12,EMR_EOF:14,EMR_SETBKMODE:18,EMR_SETPOLYFILLMODE:19,EMR_SETTEXTALIGN:22,EMR_SETTEXTCOLOR:24,EMR_SETBKCOLOR:25,EMR_MOVETOEX:27,EMR_SAVEDC:33,EMR_RESTOREDC:34,EMR_SETWORLDTRANSFORM:35,EMR_MODIFYWORLDTRANSFORM:36,EMR_SELECTOBJECT:37,EMR_CREATEPEN:38,EMR_CREATEBRUSHINDIRECT:39,EMR_DELETEOBJECT:40,EMR_ELLIPSE:42,EMR_RECTANGLE:43,EMR_ROUNDRECT:44,EMR_BEGINPATH:59,EMR_ENDPATH:60,EMR_CLOSEFIGURE:61,EMR_FILLPATH:62,EMR_STROKEANDFILLPATH:63,EMR_STROKEPATH:64,EMR_SELECTCLIPPATH:67,EMR_LINETO:54,EMR_BITBLT:76,EMR_STRETCHBLT:77,EMR_STRETCHDIBITS:81,EMR_EXTCREATEFONTINDIRECTW:82,EMR_EXTTEXTOUTA:83,EMR_EXTTEXTOUTW:84,EMR_POLYBEZIER16:85,EMR_POLYGON16:86,EMR_POLYLINE16:87,EMR_POLYBEZIERTO16:88,EMR_POLYLINETO16:89,EMR_POLYPOLYLINE16:90,EMR_POLYPOLYGON16:91,EMR_EXTCREATEPEN:95,EMR_SMALLTEXTOUT:108,EMR_ALPHABLEND:114},M0=2147483648,E0={WHITE_BRUSH:M0,LTGRAY_BRUSH:M0+1,GRAY_BRUSH:M0+2,DKGRAY_BRUSH:M0+3,BLACK_BRUSH:M0+4,NULL_BRUSH:M0+5,WHITE_PEN:M0+6,BLACK_PEN:M0+7,NULL_PEN:M0+8},_1={MWT_IDENTITY:1,MWT_LEFTMULTIPLY:2,MWT_RIGHTMULTIPLY:3,MWT_SET:4};function St(e){let r=Math.round(e*100)/100;return Number.isInteger(r),String(r)}function Da(e){return Math.max(1,e.right-e.left||0)}function Na(e){return Math.max(1,e.bottom-e.top||0)}function gf(e){return{left:Math.min(e.left,e.right),top:Math.min(e.top,e.bottom),right:Math.max(e.left,e.right),bottom:Math.max(e.top,e.bottom)}}function tg(e,r){for(let t of r)if(!(!Number.isFinite(t.x)||!Number.isFinite(t.y))){if(!e.contentBounds){e.contentBounds={left:t.x,top:t.y,right:t.x,bottom:t.y};continue}e.contentBounds.left=Math.min(e.contentBounds.left,t.x),e.contentBounds.top=Math.min(e.contentBounds.top,t.y),e.contentBounds.right=Math.max(e.contentBounds.right,t.x),e.contentBounds.bottom=Math.max(e.contentBounds.bottom,t.y)}}function P0(e){let r=e&255,t=e>>>8&255,a=e>>>16&255;return`#${r.toString(16).padStart(2,"0")}${t.toString(16).padStart(2,"0")}${a.toString(16).padStart(2,"0")}`}function rg(e,r){let t=new Uint8Array(14),a=new DataView(t.buffer);return t[0]=66,t[1]=77,a.setUint32(2,r>>>0,!0),a.setUint32(10,e>>>0,!0),t}function ag(e,r){if(e.length<12||!r.length)return null;let t=14+e.length,a=t+r.length,s=new Uint8Array(a);return s.set(rg(t,a),0),s.set(e,14),s.set(r,t),s}function kp(e,r,t){let a=Math.max(1,Math.abs(r)||1),s={color:t,width:a};switch(e&15){case 1:return{...s,dasharray:`${a*4} ${a*2}`};case 2:return{...s,dasharray:`${a} ${a*2}`};case 3:return{...s,dasharray:`${a*4} ${a*2} ${a} ${a*2}`};case 4:return{...s,dasharray:`${a*4} ${a*2} ${a} ${a*2} ${a} ${a*2}`};case 5:return{...s,none:!0};default:return s}}function Y_(e,r){return e===1?{color:r,none:!0}:{color:r}}function bp(e){return{...e,windowOrg:{...e.windowOrg},windowExt:{...e.windowExt},viewportOrg:{...e.viewportOrg},viewportExt:{...e.viewportExt},worldTransform:{...e.worldTransform},currentPosition:{...e.currentPosition},pen:{...e.pen},brush:{...e.brush},font:{...e.font}}}function U_(e,r){let t=e.view;return{m11:e.ensure(r,4)?t.getFloat32(r,!0):1,m12:e.ensure(r+4,4)?t.getFloat32(r+4,!0):0,m21:e.ensure(r+8,4)?t.getFloat32(r+8,!0):0,m22:e.ensure(r+12,4)?t.getFloat32(r+12,!0):1,dx:e.ensure(r+16,4)?t.getFloat32(r+16,!0):0,dy:e.ensure(r+20,4)?t.getFloat32(r+20,!0):0}}function H_(e,r){return{m11:e.m11*r.m11+e.m12*r.m21,m12:e.m11*r.m12+e.m12*r.m22,m21:e.m21*r.m11+e.m22*r.m21,m22:e.m21*r.m12+e.m22*r.m22,dx:e.dx*r.m11+e.dy*r.m21+r.dx,dy:e.dx*r.m12+e.dy*r.m22+r.dy}}function ng(e,r){return{x:r.x*e.m11+r.y*e.m21+e.dx,y:r.x*e.m12+r.y*e.m22+e.dy}}function ig(e,r){return{x:r.x*e.m11+r.y*e.m21,y:r.x*e.m12+r.y*e.m22}}function A_(e,r,t){return{width:e,height:r,viewBox:t,recordCount:0,contentBounds:null,nodes:[],stateStack:[],capturePath:!1,pathData:[],pathPoints:[],objects:[],state:{windowOrg:{x:t.left,y:t.top},windowExt:{x:Da(t),y:Na(t)},viewportOrg:{x:t.left,y:t.top},viewportExt:{x:Da(t),y:Na(t)},worldTransform:{...$_},currentPosition:{x:0,y:0},pen:{...FL},brush:{...qL},font:{...VL},textColor:"#000000",bkColor:"#ffffff",bkMode:1,textAlign:0,polygonFillMode:1}}}function Wi(e,r){let t=ng(e.state.worldTransform,r),a=e.state.windowExt.x||Da(e.viewBox)||1,s=e.state.windowExt.y||Na(e.viewBox)||1,n=e.state.viewportExt.x||Da(e.viewBox)||1,i=e.state.viewportExt.y||Na(e.viewBox)||1;return{x:e.state.viewportOrg.x+(t.x-e.state.windowOrg.x)*n/a,y:e.state.viewportOrg.y+(t.y-e.state.windowOrg.y)*i/s}}function Mp(e,r){let t=ig(e.state.worldTransform,r),a=e.state.windowExt.x||Da(e.viewBox)||1,s=e.state.windowExt.y||Na(e.viewBox)||1,n=e.state.viewportExt.x||Da(e.viewBox)||1,i=e.state.viewportExt.y||Na(e.viewBox)||1;return{x:t.x*n/a,y:t.y*i/s}}function Ep(e,r){let t=[Wi(e,{x:r.left,y:r.top}),Wi(e,{x:r.right,y:r.top}),Wi(e,{x:r.right,y:r.bottom}),Wi(e,{x:r.left,y:r.bottom})];return gf({left:Math.min(...t.map(a=>a.x)),top:Math.min(...t.map(a=>a.y)),right:Math.max(...t.map(a=>a.x)),bottom:Math.max(...t.map(a=>a.y))})}function S0(e){return`${St(e.x)},${St(e.y)}`}function Pp(e,r){let t=Math.max(1,Math.abs(r.width)||1),a=Mp(e,{x:t,y:0}),s=Mp(e,{x:0,y:t}),n=Math.hypot(a.x,a.y),i=Math.hypot(s.x,s.y),o=(n+i)/2;return!Number.isFinite(o)||o<=0?t:Math.max(.5,o)}function X_(e,r){if(!r.dasharray)return;let t=Math.max(1,Math.abs(r.width)||1),a=Pp(e,r)/t;return r.dasharray.split(/\s+/).map(s=>Number(s)).filter(s=>Number.isFinite(s)&&s>0).map(s=>St(s*a)).join(" ")||void 0}function M1(e,r){if(r.none)return'stroke="none"';let t=[`stroke="${Zi(r.color)}"`,`stroke-width="${St(Pp(e,r))}"`,'fill="none"'],a=X_(e,r);return a&&t.push(`stroke-dasharray="${Zi(a)}"`),t.join(" ")}function E1(e){let r=[e.state.pen.none?'stroke="none"':`stroke="${Zi(e.state.pen.color)}"`,e.state.pen.none?"":`stroke-width="${St(Pp(e,e.state.pen))}"`].filter(Boolean),t=X_(e,e.state.pen);return t&&!e.state.pen.none&&r.push(`stroke-dasharray="${Zi(t)}"`),r.push(e.state.brush.none?'fill="none"':`fill="${Zi(e.state.brush.color)}"`),r.push(`fill-rule="${e.state.polygonFillMode===2?"nonzero":"evenodd"}"`),r.join(" ")}function sg(e){let r=['stroke="none"'];return r.push(e.state.brush.none?'fill="none"':`fill="${Zi(e.state.brush.color)}"`),r.push(`fill-rule="${e.state.polygonFillMode===2?"nonzero":"evenodd"}"`),r.join(" ")}function Lp(e){let r=e.findIndex(t=>t==null);return r>=0?r:(e.push(null),e.length-1)}function No(e,r,t){for(;e.length<=r;)e.push(null);e[r]=t}function og(e,r){switch(r>>>0){case E0.WHITE_BRUSH:return e.state.brush={color:"#ffffff"},!0;case E0.LTGRAY_BRUSH:return e.state.brush={color:"#c0c0c0"},!0;case E0.GRAY_BRUSH:return e.state.brush={color:"#808080"},!0;case E0.DKGRAY_BRUSH:return e.state.brush={color:"#404040"},!0;case E0.BLACK_BRUSH:return e.state.brush={color:"#000000"},!0;case E0.NULL_BRUSH:return e.state.brush={color:"none",none:!0},!0;case E0.WHITE_PEN:return e.state.pen={color:"#ffffff",width:1},!0;case E0.BLACK_PEN:return e.state.pen={color:"#000000",width:1},!0;case E0.NULL_PEN:return e.state.pen={color:"none",width:1,none:!0},!0;default:return!1}}function K_(e,r){if(og(e,r))return;let t=e.objects[r]||null;t&&(t.kind==="pen"&&(e.state.pen={...t.value}),t.kind==="brush"&&(e.state.brush={...t.value}),t.kind==="font"&&(e.state.font={...t.value}))}function F0(e,r,t){e.nodes.push(r),tg(e,t)}function $u(e,r,t){r&&(e.pathData.push(r),e.pathPoints.push(...t))}function gp(e,r){e.pathData.length&&(F0(e,`<path d="${e.pathData.join(" ")}" ${r} />`,e.pathPoints),e.pathData=[],e.pathPoints=[],e.capturePath=!1)}function J_(e,r,t){let a=Wi(e,r),s=Wi(e,t);if(e.state.currentPosition={...t},e.capturePath){$u(e,`${e.pathData.length?"":`M ${S0(a)}`} L ${S0(s)}`.trim(),[a,s]);return}F0(e,`<line x1="${St(a.x)}" y1="${St(a.y)}" x2="${St(s.x)}" y2="${St(s.y)}" ${M1(e,e.state.pen)} />`,[a,s])}function Wu(e,r,t){if(!r.length)return;let a=r.map(o=>Wi(e,o));e.state.currentPosition={...r[r.length-1]};let s=a.map(S0).join(" ");if(e.capturePath){let o=[`M ${S0(a[0])}`,...a.slice(1).map(d=>`L ${S0(d)}`)];t&&o.push("Z"),$u(e,o.join(" "),a);return}let n=t?"polygon":"polyline",i=t?E1(e):M1(e,e.state.pen);F0(e,`<${n} points="${s}" ${i} />`,a)}function Z_(e,r,t=!1){let a=[];if(t&&a.push({...e.state.currentPosition}),a.push(...r),a.length<4)return;let s=a.map(i=>Wi(e,i)),n=`M ${S0(s[0])}`;for(let i=1;i+2<s.length;i+=3)n+=` C ${S0(s[i])} ${S0(s[i+1])} ${S0(s[i+2])}`;if(e.state.currentPosition={...a[a.length-1]},e.capturePath){$u(e,n,s);return}F0(e,`<path d="${n}" ${M1(e,e.state.pen)} />`,s)}function L1(e,r,t){let a=Ep(e,r),s=[`x="${St(a.left)}"`,`y="${St(a.top)}"`,`width="${St(Da(a))}"`,`height="${St(Na(a))}"`];if(t){let n=Wi(e,{x:t.x,y:t.y});s.push(`rx="${St(Math.abs(n.x-e.state.viewportOrg.x))}"`),s.push(`ry="${St(Math.abs(n.y-e.state.viewportOrg.y))}"`)}if(e.capturePath){$u(e,`M ${St(a.left)},${St(a.top)} L ${St(a.right)},${St(a.top)} L ${St(a.right)},${St(a.bottom)} L ${St(a.left)},${St(a.bottom)} Z`,[{x:a.left,y:a.top},{x:a.right,y:a.bottom}]);return}F0(e,`<rect ${s.join(" ")} ${E1(e)} />`,[{x:a.left,y:a.top},{x:a.right,y:a.bottom}])}function Q_(e,r){let t=Ep(e,r),a=(t.left+t.right)/2,s=(t.top+t.bottom)/2,n=Da(t)/2,i=Na(t)/2;if(e.capturePath){$u(e,`M ${St(a-n)},${St(s)} A ${St(n)},${St(i)} 0 1 0 ${St(a+n)},${St(s)} A ${St(n)},${St(i)} 0 1 0 ${St(a-n)},${St(s)} Z`,[{x:t.left,y:t.top},{x:t.right,y:t.bottom}]);return}F0(e,`<ellipse cx="${St(a)}" cy="${St(s)}" rx="${St(n)}" ry="${St(i)}" ${E1(e)} />`,[{x:t.left,y:t.top},{x:t.right,y:t.bottom}])}function F_(e,r,t){if(!t.length)return;let a=Ep(e,r),s=Da(a),n=Na(a),i=_p(t,"image/bmp");F0(e,`<image x="${St(a.left)}" y="${St(a.top)}" width="${St(s)}" height="${St(n)}" href="${i}" preserveAspectRatio="none" />`,[{x:a.left,y:a.top},{x:a.right,y:a.bottom}])}function g1(e){return new TextDecoder("windows-1252").decode(e).replace(/\0+$/g,"")}function q_(e){return new TextDecoder("utf-16le").decode(e).replace(/\0+$/g,"")}function fg(e){let r=e&6;return r===2?"end":r===6?"middle":"start"}function lg(e){let r=e&24;return r===8?"text-after-edge":r===24?"alphabetic":"text-before-edge"}function ug(e,r){let t=Mp(e,{x:0,y:Math.abs(r)||12}),a=Math.hypot(t.x,t.y);return!Number.isFinite(a)||a<=0?Math.max(1,Math.abs(r)||12):Math.max(1,a)}function cg(e){let r=String(e||"").trim();return r&&r.replace(/\s+(?:Baltic|CE|Cyr|Greek|Tur|Vietnamese|Hebrew|Arabic|Thai|Symbol)$/i,"")||"sans-serif"}function b1(e,r,t){if(!t)return;let a=Wi(e,r),s=ug(e,e.state.font.size||12),n=[`x="${St(a.x)}"`,`y="${St(a.y)}"`,`fill="${Zi(e.state.textColor)}"`,`font-size="${St(s)}"`,`font-family="${Zi(cg(e.state.font.family))}"`,`text-anchor="${fg(e.state.textAlign)}"`,`dominant-baseline="${lg(e.state.textAlign)}"`];e.state.font.weight&&e.state.font.weight>=600&&n.push('font-weight="700"'),e.state.font.italic&&n.push('font-style="italic"');let i=[e.state.font.underline?"underline":"",e.state.font.strike?"line-through":""].filter(Boolean);i.length&&n.push(`text-decoration="${i.join(" ")}"`),e.state.font.escapement&&n.push(`transform="rotate(${St(-e.state.font.escapement/10)}, ${St(a.x)}, ${St(a.y)})"`),F0(e,`<text ${n.join(" ")}>${Zi(t)}</text>`,[a])}function k1(e,r){if(!e.nodes.length)return null;let t=e.contentBounds?gf(e.contentBounds):gf(e.viewBox),a=gf({left:Number.isFinite(e.viewBox.left)?e.viewBox.left:t.left,top:Number.isFinite(e.viewBox.top)?e.viewBox.top:t.top,right:Number.isFinite(e.viewBox.right)?e.viewBox.right:t.right,bottom:Number.isFinite(e.viewBox.bottom)?e.viewBox.bottom:t.bottom}),s=Math.max(1,Math.round(Da(a))),n=Math.max(1,Math.round(Na(a))),i=`<?xml version="1.0" encoding="UTF-8"?>
|
|
9
|
-
<svg xmlns="http://www.w3.org/2000/svg" width="${s}" height="${n}" viewBox="${
|
|
8
|
+
>/= `;function b(){for(var Z=t;p.indexOf(e[t])===-1&&e[t];)t++;return e.slice(Z,t)}var y=r.noChildNodes||["img","br","input","meta","link","hr"];function I(){t++;let Z=b(),T={},C=[];for(;e.charCodeAt(t)!==d&&e[t];){var P=e.charCodeAt(t);if(P>64&&P<91||P>96&&P<123){for(var J=b(),re=e.charCodeAt(t);re&&re!==k&&re!==_&&!(re>64&&re<91||re>96&&re<123)&&re!==d;)t++,re=e.charCodeAt(t);if(re===k||re===_){var Q=N();if(t===-1)return{tagName:Z,attributes:T,children:C}}else Q=null,t--;T[J]=Q}t++}if(e.charCodeAt(t-1)!==u)if(Z=="script"){var ae=t+1;t=e.indexOf("<\/script>",t),C=[e.slice(ae,t)],t+=9}else if(Z=="style"){var ae=t+1;t=e.indexOf("</style>",t),C=[e.slice(ae,t)],t+=8}else y.indexOf(Z)===-1?(t++,C=g(Z)):t++;else t++;return{tagName:Z,attributes:T,children:C}}function N(){var Z=e[t],T=t+1;return t=e.indexOf(Z,T),e.slice(T,t)}function R(){var Z=new RegExp("\\s"+r.attrName+`\\s*=['"]`+r.attrValue+`['"]`).exec(e);return Z?Z.index:-1}var B=null;if(r.attrValue!==void 0){r.attrName=r.attrName||"id";for(var B=[];(t=R())!==-1;)t=e.lastIndexOf("<",t),t!==-1&&B.push(I()),e=e.substr(t),t=0}else r.parseNode?B=I():B=g("");return r.filter&&(B=filter(B,r.filter)),r.simplify?Km(Array.isArray(B)?B:[B]):(r.setPos&&(B.pos=t),B)}var Qb=1;function Km(e){let r={};if(!e||!e.length)return{};if(e.length===1&&typeof e[0]=="string")return e[0];e.forEach(function(a){if(typeof a!="object")return;r[a.tagName]||(r[a.tagName]=[]);let s=Km(a.children);r[a.tagName].push(s),typeof s!="string"&&(Object.keys(a.attributes).length&&(s.attrs=a.attributes),s.attrs||(s.attrs={}),s.attrs.order=Qb++)});for(var t in r)r[t].length==1&&(r[t]=r[t][0]);return r}var _5=Fc(Ch(),1),Gp=Fc(C_(),1);var Hu=(e,r,t)=>r<0||r+2>e.byteLength?0:e.getUint16(r,t),O_=(e,r,t)=>r<0||r+4>e.byteLength?0:e.getUint32(r,t),QL=e=>{if(e.byteLength<4||e[0]!==255||e[1]!==216)return null;let r=new DataView(e.buffer,e.byteOffset,e.byteLength),t=2;for(;t+4<=e.byteLength;){if(e[t]!==255){t+=1;continue}let a=e[t+1];if(t+=2,a===217||a===218)break;if(a===0||a===1||a>=208&&a<=215)continue;let s=r.getUint16(t,!1);if(s<2||t+s>e.byteLength)break;let n=t+2,i=s-2;if(a===225&&i>=14&&e[n]===69&&e[n+1]===120&&e[n+2]===105&&e[n+3]===102&&e[n+4]===0&&e[n+5]===0){let o=n+6,d=e[o]===73&&e[o+1]===73,f=e[o]===77&&e[o+1]===77;if(!d&&!f||Hu(r,o+2,d)!==42)return null;let u=O_(r,o+4,d),l=o+u,k=Hu(r,l,d);for(let _=0;_<k;_+=1){let v=l+2+_*12;if(v+12>e.byteLength)break;if(Hu(r,v,d)!==274)continue;let m=Hu(r,v+2,d),g=O_(r,v+4,d);return m!==3||g<1?null:{offset:v+8,littleEndian:d,orientation:Hu(r,v+8,d)}}}t+=s}return null};var G_=e=>{let r=e instanceof Uint8Array?e:new Uint8Array(e),t=QL(r);if(!t||t.orientation<=1||t.orientation>8)return{bytes:r,orientation:(t==null?void 0:t.orientation)||1};let a=r.slice();return new DataView(a.buffer,a.byteOffset,a.byteLength).setUint16(t.offset,1,t.littleEndian),{bytes:a,orientation:t.orientation}};var $_=Fc(Ch(),1);var Za=class{constructor(r){if(r instanceof Uint8Array)this.bytes=r;else if(r instanceof ArrayBuffer)this.bytes=new Uint8Array(r);else if(ArrayBuffer.isView(r))this.bytes=new Uint8Array(r.buffer,r.byteOffset,r.byteLength);else throw new TypeError("BinaryReader expects ArrayBuffer or Uint8Array");this.view=new DataView(this.bytes.buffer,this.bytes.byteOffset,this.bytes.byteLength),this.length=this.bytes.byteLength}ensure(r,t=1){return r>=0&&r+t<=this.length}u8(r){return this.ensure(r,1)?this.view.getUint8(r):0}i8(r){return this.ensure(r,1)?this.view.getInt8(r):0}u16(r){return this.ensure(r,2)?this.view.getUint16(r,!0):0}i16(r){return this.ensure(r,2)?this.view.getInt16(r,!0):0}u32(r){return this.ensure(r,4)?this.view.getUint32(r,!0):0}i32(r){return this.ensure(r,4)?this.view.getInt32(r,!0):0}slice(r,t){return this.ensure(r,t)?this.bytes.subarray(r,r+t):new Uint8Array(0)}array(r,t,a){var i;let s=[],n=(i=a.byteWidth)!=null?i:1;for(let o=0;o<t;o+=1)s.push(a.call(this,r+o*n));return s}};Za.prototype.u8.byteWidth=1;Za.prototype.i8.byteWidth=1;Za.prototype.u16.byteWidth=2;Za.prototype.i16.byteWidth=2;Za.prototype.u32.byteWidth=4;Za.prototype.i32.byteWidth=4;var U_=globalThis.Buffer;function Si(e){return String(e).replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}function FL(e){return e instanceof Uint8Array?e:e instanceof ArrayBuffer?new Uint8Array(e):new Uint8Array(e.buffer,e.byteOffset,e.byteLength)}function qL(e){let r=FL(e);if(U_)return U_.from(r).toString("base64");let t="",a=32768;for(let s=0;s<r.length;s+=a)t+=String.fromCharCode(...r.subarray(s,Math.min(s+a,r.length)));return btoa(t)}function bp(e,r="application/octet-stream"){return`data:${r};base64,${qL(e)}`}var VL={color:"#000000",width:1},jL={color:"#ffffff",none:!0},eg={family:"sans-serif",size:12},Y_={m11:1,m12:0,m21:0,m22:1,dx:0,dy:0},tg=2596720087,rg=18,kr={META_EOF:0,META_SETBKMODE:258,META_SETPOLYFILLMODE:262,META_SETBKCOLOR:513,META_SETTEXTCOLOR:521,META_SETWINDOWORG:523,META_SETWINDOWEXT:524,META_SETVIEWPORTORG:525,META_SETVIEWPORTEXT:526,META_OFFSETWINDOWORG:527,META_OFFSETVIEWPORTORG:529,META_LINETO:531,META_MOVETO:532,META_SETTEXTALIGN:302,META_POLYGON:804,META_POLYLINE:805,META_TEXTOUT:1313,META_EXTTEXTOUT:2610,META_POLYPOLYGON:1336,META_ELLIPSE:1048,META_RECTANGLE:1051,META_ROUNDRECT:1564,META_CREATEBRUSHINDIRECT:764,META_CREATEPENINDIRECT:762,META_CREATEFONTINDIRECT:763,META_SELECTOBJECT:301,META_DELETEOBJECT:496},lt={EMR_HEADER:1,EMR_POLYBEZIER:2,EMR_POLYGON:3,EMR_POLYLINE:4,EMR_POLYBEZIERTO:5,EMR_POLYLINETO:6,EMR_POLYPOLYLINE:7,EMR_POLYPOLYGON:8,EMR_SETWINDOWEXTEX:9,EMR_SETWINDOWORGEX:10,EMR_SETVIEWPORTEXTEX:11,EMR_SETVIEWPORTORGEX:12,EMR_EOF:14,EMR_SETBKMODE:18,EMR_SETPOLYFILLMODE:19,EMR_SETTEXTALIGN:22,EMR_SETTEXTCOLOR:24,EMR_SETBKCOLOR:25,EMR_MOVETOEX:27,EMR_SAVEDC:33,EMR_RESTOREDC:34,EMR_SETWORLDTRANSFORM:35,EMR_MODIFYWORLDTRANSFORM:36,EMR_SELECTOBJECT:37,EMR_CREATEPEN:38,EMR_CREATEBRUSHINDIRECT:39,EMR_DELETEOBJECT:40,EMR_ELLIPSE:42,EMR_RECTANGLE:43,EMR_ROUNDRECT:44,EMR_BEGINPATH:59,EMR_ENDPATH:60,EMR_CLOSEFIGURE:61,EMR_FILLPATH:62,EMR_STROKEANDFILLPATH:63,EMR_STROKEPATH:64,EMR_SELECTCLIPPATH:67,EMR_LINETO:54,EMR_BITBLT:76,EMR_STRETCHBLT:77,EMR_STRETCHDIBITS:81,EMR_EXTCREATEFONTINDIRECTW:82,EMR_EXTTEXTOUTA:83,EMR_EXTTEXTOUTW:84,EMR_POLYBEZIER16:85,EMR_POLYGON16:86,EMR_POLYLINE16:87,EMR_POLYBEZIERTO16:88,EMR_POLYLINETO16:89,EMR_POLYPOLYLINE16:90,EMR_POLYPOLYGON16:91,EMR_EXTCREATEPEN:95,EMR_SMALLTEXTOUT:108,EMR_ALPHABLEND:114},M0=2147483648,E0={WHITE_BRUSH:M0,LTGRAY_BRUSH:M0+1,GRAY_BRUSH:M0+2,DKGRAY_BRUSH:M0+3,BLACK_BRUSH:M0+4,NULL_BRUSH:M0+5,WHITE_PEN:M0+6,BLACK_PEN:M0+7,NULL_PEN:M0+8},L1={MWT_IDENTITY:1,MWT_LEFTMULTIPLY:2,MWT_RIGHTMULTIPLY:3,MWT_SET:4};function Et(e){let r=Math.round(e*100)/100;return Number.isInteger(r),String(r)}function Da(e){return Math.max(1,e.right-e.left||0)}function Na(e){return Math.max(1,e.bottom-e.top||0)}function gf(e){return{left:Math.min(e.left,e.right),top:Math.min(e.top,e.bottom),right:Math.max(e.left,e.right),bottom:Math.max(e.top,e.bottom)}}function ag(e,r){for(let t of r)if(!(!Number.isFinite(t.x)||!Number.isFinite(t.y))){if(!e.contentBounds){e.contentBounds={left:t.x,top:t.y,right:t.x,bottom:t.y};continue}e.contentBounds.left=Math.min(e.contentBounds.left,t.x),e.contentBounds.top=Math.min(e.contentBounds.top,t.y),e.contentBounds.right=Math.max(e.contentBounds.right,t.x),e.contentBounds.bottom=Math.max(e.contentBounds.bottom,t.y)}}function P0(e){let r=e&255,t=e>>>8&255,a=e>>>16&255;return`#${r.toString(16).padStart(2,"0")}${t.toString(16).padStart(2,"0")}${a.toString(16).padStart(2,"0")}`}function ng(e,r){let t=new Uint8Array(14),a=new DataView(t.buffer);return t[0]=66,t[1]=77,a.setUint32(2,r>>>0,!0),a.setUint32(10,e>>>0,!0),t}function ig(e,r){if(e.length<12||!r.length)return null;let t=14+e.length,a=t+r.length,s=new Uint8Array(a);return s.set(ng(t,a),0),s.set(e,14),s.set(r,t),s}function Mp(e,r,t){let a=Math.max(1,Math.abs(r)||1),s={color:t,width:a};switch(e&15){case 1:return{...s,dasharray:`${a*4} ${a*2}`};case 2:return{...s,dasharray:`${a} ${a*2}`};case 3:return{...s,dasharray:`${a*4} ${a*2} ${a} ${a*2}`};case 4:return{...s,dasharray:`${a*4} ${a*2} ${a} ${a*2} ${a} ${a*2}`};case 5:return{...s,none:!0};default:return s}}function A_(e,r){return e===1?{color:r,none:!0}:{color:r}}function Lp(e){return{...e,windowOrg:{...e.windowOrg},windowExt:{...e.windowExt},viewportOrg:{...e.viewportOrg},viewportExt:{...e.viewportExt},worldTransform:{...e.worldTransform},currentPosition:{...e.currentPosition},pen:{...e.pen},brush:{...e.brush},font:{...e.font}}}function H_(e,r){let t=e.view;return{m11:e.ensure(r,4)?t.getFloat32(r,!0):1,m12:e.ensure(r+4,4)?t.getFloat32(r+4,!0):0,m21:e.ensure(r+8,4)?t.getFloat32(r+8,!0):0,m22:e.ensure(r+12,4)?t.getFloat32(r+12,!0):1,dx:e.ensure(r+16,4)?t.getFloat32(r+16,!0):0,dy:e.ensure(r+20,4)?t.getFloat32(r+20,!0):0}}function Z_(e,r){return{m11:e.m11*r.m11+e.m12*r.m21,m12:e.m11*r.m12+e.m12*r.m22,m21:e.m21*r.m11+e.m22*r.m21,m22:e.m21*r.m12+e.m22*r.m22,dx:e.dx*r.m11+e.dy*r.m21+r.dx,dy:e.dx*r.m12+e.dy*r.m22+r.dy}}function sg(e,r){return{x:r.x*e.m11+r.y*e.m21+e.dx,y:r.x*e.m12+r.y*e.m22+e.dy}}function og(e,r){return{x:r.x*e.m11+r.y*e.m21,y:r.x*e.m12+r.y*e.m22}}function X_(e,r,t){return{width:e,height:r,viewBox:t,recordCount:0,contentBounds:null,nodes:[],stateStack:[],capturePath:!1,pathData:[],pathPoints:[],objects:[],state:{windowOrg:{x:t.left,y:t.top},windowExt:{x:Da(t),y:Na(t)},viewportOrg:{x:t.left,y:t.top},viewportExt:{x:Da(t),y:Na(t)},viewportExplicit:!1,worldTransform:{...Y_},currentPosition:{x:0,y:0},pen:{...VL},brush:{...jL},font:{...eg},textColor:"#000000",bkColor:"#ffffff",bkMode:1,textAlign:0,polygonFillMode:1}}}function Wi(e,r){let t=sg(e.state.worldTransform,r),a=e.state.windowExt.x||Da(e.viewBox)||1,s=e.state.windowExt.y||Na(e.viewBox)||1,n=e.state.viewportExt.x||Da(e.viewBox)||1,i=e.state.viewportExt.y||Na(e.viewBox)||1;return{x:e.state.viewportOrg.x+(t.x-e.state.windowOrg.x)*n/a,y:e.state.viewportOrg.y+(t.y-e.state.windowOrg.y)*i/s}}function g1(e,r){let t=og(e.state.worldTransform,r),a=e.state.windowExt.x||Da(e.viewBox)||1,s=e.state.windowExt.y||Na(e.viewBox)||1,n=e.state.viewportExt.x||Da(e.viewBox)||1,i=e.state.viewportExt.y||Na(e.viewBox)||1;return{x:t.x*n/a,y:t.y*i/s}}function Pp(e,r){let t=[Wi(e,{x:r.left,y:r.top}),Wi(e,{x:r.right,y:r.top}),Wi(e,{x:r.right,y:r.bottom}),Wi(e,{x:r.left,y:r.bottom})];return gf({left:Math.min(...t.map(a=>a.x)),top:Math.min(...t.map(a=>a.y)),right:Math.max(...t.map(a=>a.x)),bottom:Math.max(...t.map(a=>a.y))})}function S0(e){return`${Et(e.x)},${Et(e.y)}`}function Sp(e,r){let t=Math.max(1,Math.abs(r.width)||1),a=g1(e,{x:t,y:0}),s=g1(e,{x:0,y:t}),n=Math.hypot(a.x,a.y),i=Math.hypot(s.x,s.y),o=(n+i)/2;return!Number.isFinite(o)||o<=0?t:Math.max(.5,o)}function K_(e,r){if(!r.dasharray)return;let t=Math.max(1,Math.abs(r.width)||1),a=Sp(e,r)/t;return r.dasharray.split(/\s+/).map(s=>Number(s)).filter(s=>Number.isFinite(s)&&s>0).map(s=>Et(s*a)).join(" ")||void 0}function E1(e,r){if(r.none)return'stroke="none"';let t=[`stroke="${Si(r.color)}"`,`stroke-width="${Et(Sp(e,r))}"`,'fill="none"'],a=K_(e,r);return a&&t.push(`stroke-dasharray="${Si(a)}"`),t.join(" ")}function P1(e){let r=[e.state.pen.none?'stroke="none"':`stroke="${Si(e.state.pen.color)}"`,e.state.pen.none?"":`stroke-width="${Et(Sp(e,e.state.pen))}"`].filter(Boolean),t=K_(e,e.state.pen);return t&&!e.state.pen.none&&r.push(`stroke-dasharray="${Si(t)}"`),r.push(e.state.brush.none?'fill="none"':`fill="${Si(e.state.brush.color)}"`),r.push(`fill-rule="${e.state.polygonFillMode===2?"nonzero":"evenodd"}"`),r.join(" ")}function fg(e){let r=['stroke="none"'];return r.push(e.state.brush.none?'fill="none"':`fill="${Si(e.state.brush.color)}"`),r.push(`fill-rule="${e.state.polygonFillMode===2?"nonzero":"evenodd"}"`),r.join(" ")}function gp(e){let r=e.findIndex(t=>t==null);return r>=0?r:(e.push(null),e.length-1)}function No(e,r,t){for(;e.length<=r;)e.push(null);e[r]=t}function lg(e,r){switch(r>>>0){case E0.WHITE_BRUSH:return e.state.brush={color:"#ffffff"},!0;case E0.LTGRAY_BRUSH:return e.state.brush={color:"#c0c0c0"},!0;case E0.GRAY_BRUSH:return e.state.brush={color:"#808080"},!0;case E0.DKGRAY_BRUSH:return e.state.brush={color:"#404040"},!0;case E0.BLACK_BRUSH:return e.state.brush={color:"#000000"},!0;case E0.NULL_BRUSH:return e.state.brush={color:"none",none:!0},!0;case E0.WHITE_PEN:return e.state.pen={color:"#ffffff",width:1},!0;case E0.BLACK_PEN:return e.state.pen={color:"#000000",width:1},!0;case E0.NULL_PEN:return e.state.pen={color:"none",width:1,none:!0},!0;default:return!1}}function J_(e,r){if(lg(e,r))return;let t=e.objects[r]||null;t&&(t.kind==="pen"&&(e.state.pen={...t.value}),t.kind==="brush"&&(e.state.brush={...t.value}),t.kind==="font"&&(e.state.font={...t.value}))}function F0(e,r,t){e.nodes.push(r),ag(e,t)}function Yu(e,r,t){r&&(e.pathData.push(r),e.pathPoints.push(...t))}function kp(e,r){e.pathData.length&&(F0(e,`<path d="${e.pathData.join(" ")}" ${r} />`,e.pathPoints),e.pathData=[],e.pathPoints=[],e.capturePath=!1)}function Q_(e,r,t){let a=Wi(e,r),s=Wi(e,t);if(e.state.currentPosition={...t},e.capturePath){Yu(e,`${e.pathData.length?"":`M ${S0(a)}`} L ${S0(s)}`.trim(),[a,s]);return}F0(e,`<line x1="${Et(a.x)}" y1="${Et(a.y)}" x2="${Et(s.x)}" y2="${Et(s.y)}" ${E1(e,e.state.pen)} />`,[a,s])}function Wu(e,r,t){if(!r.length)return;let a=r.map(o=>Wi(e,o));e.state.currentPosition={...r[r.length-1]};let s=a.map(S0).join(" ");if(e.capturePath){let o=[`M ${S0(a[0])}`,...a.slice(1).map(d=>`L ${S0(d)}`)];t&&o.push("Z"),Yu(e,o.join(" "),a);return}let n=t?"polygon":"polyline",i=t?P1(e):E1(e,e.state.pen);F0(e,`<${n} points="${s}" ${i} />`,a)}function W_(e,r,t=!1){let a=[];if(t&&a.push({...e.state.currentPosition}),a.push(...r),a.length<4)return;let s=a.map(i=>Wi(e,i)),n=`M ${S0(s[0])}`;for(let i=1;i+2<s.length;i+=3)n+=` C ${S0(s[i])} ${S0(s[i+1])} ${S0(s[i+2])}`;if(e.state.currentPosition={...a[a.length-1]},e.capturePath){Yu(e,n,s);return}F0(e,`<path d="${n}" ${E1(e,e.state.pen)} />`,s)}function k1(e,r,t){let a=Pp(e,r),s=[`x="${Et(a.left)}"`,`y="${Et(a.top)}"`,`width="${Et(Da(a))}"`,`height="${Et(Na(a))}"`];if(t){let n=Wi(e,{x:t.x,y:t.y});s.push(`rx="${Et(Math.abs(n.x-e.state.viewportOrg.x))}"`),s.push(`ry="${Et(Math.abs(n.y-e.state.viewportOrg.y))}"`)}if(e.capturePath){Yu(e,`M ${Et(a.left)},${Et(a.top)} L ${Et(a.right)},${Et(a.top)} L ${Et(a.right)},${Et(a.bottom)} L ${Et(a.left)},${Et(a.bottom)} Z`,[{x:a.left,y:a.top},{x:a.right,y:a.bottom}]);return}F0(e,`<rect ${s.join(" ")} ${P1(e)} />`,[{x:a.left,y:a.top},{x:a.right,y:a.bottom}])}function F_(e,r){let t=Pp(e,r),a=(t.left+t.right)/2,s=(t.top+t.bottom)/2,n=Da(t)/2,i=Na(t)/2;if(e.capturePath){Yu(e,`M ${Et(a-n)},${Et(s)} A ${Et(n)},${Et(i)} 0 1 0 ${Et(a+n)},${Et(s)} A ${Et(n)},${Et(i)} 0 1 0 ${Et(a-n)},${Et(s)} Z`,[{x:t.left,y:t.top},{x:t.right,y:t.bottom}]);return}F0(e,`<ellipse cx="${Et(a)}" cy="${Et(s)}" rx="${Et(n)}" ry="${Et(i)}" ${P1(e)} />`,[{x:t.left,y:t.top},{x:t.right,y:t.bottom}])}function q_(e,r,t){if(!t.length)return;let a=Pp(e,r),s=Da(a),n=Na(a),i=bp(t,"image/bmp");F0(e,`<image x="${Et(a.left)}" y="${Et(a.top)}" width="${Et(s)}" height="${Et(n)}" href="${i}" preserveAspectRatio="none" />`,[{x:a.left,y:a.top},{x:a.right,y:a.bottom}])}var ug={128:"shift_jis",129:"euc-kr",130:"euc-kr",134:"gbk",136:"big5",161:"windows-1253",162:"windows-1254",163:"windows-1258",177:"windows-1255",178:"windows-1256",186:"windows-1257",204:"windows-1251",222:"windows-874",238:"windows-1250"};function Ep(e){var r;return(r=e===void 0?void 0:ug[e])!=null?r:"windows-1252"}function $u(e,r){return new TextDecoder(Ep(r)).decode(e).replace(/\0+$/g,"")}function cg(e,r,t){var f;let a=Ep(r);if(!t.length||a===Ep(void 0))return{text:$u(e,r),advances:t};let s=new TextDecoder(a),n="",i=[],o=0;for(let u=0;u<e.length;u+=1){let l=s.decode(e.subarray(u,u+1),{stream:!0});if(o+=(f=t[u])!=null?f:0,!!l){n+=l,i.push(o);for(let k=1;k<l.length;k+=1)i.push(0);o=0}}let d=n.replace(/\0+$/g,"");return{text:d,advances:i.slice(0,Math.max(d.length,0))}}function V_(e){return new TextDecoder("utf-16le").decode(e).replace(/\0+$/g,"")}function dg(e){let r=e&6;return r===2?"end":r===6?"middle":"start"}function hg(e){let r=e&24;return r===8?"text-after-edge":r===24?"alphabetic":"text-before-edge"}function pg(e,r){let t=g1(e,{x:0,y:Math.abs(r)||12}),a=Math.hypot(t.x,t.y);return!Number.isFinite(a)||a<=0?Math.max(1,Math.abs(r)||12):Math.max(1,a)}function vg(e){let r=String(e||"").trim();return r&&r.replace(/\s+(?:Baltic|CE|Cyr|Greek|Tur|Vietnamese|Hebrew|Arabic|Thai|Symbol)$/i,"")||"sans-serif"}var mg={58:"\u223C",76:"\u22EF",79:"\u22F1",85:"\u222A",114:"\u2192"},_g={132:"\u2264",133:"\u2265",8222:"\u2264",8223:"\u2265"},bg=new Map(Array.from(new TextDecoder("windows-1252").decode(Uint8Array.from({length:32},(e,r)=>128+r))).map((e,r)=>{var t;return[(t=e.codePointAt(0))!=null?t:0,128+r]}));function Lg(e,r){var i,o,d,f;if(!e)return e;let t=r.trim().toLowerCase(),a=t==="mt extra"?mg:t==="euclid math two"?_g:null;if(!a&&!(t==="symbol"))return e;let n="";for(let u of e){let l=(i=u.codePointAt(0))!=null?i:0,k=l>=61440&&l<=61695,_=k?l-61440:(o=bg.get(l))!=null?o:l,v=a?(d=a[l])!=null?d:a[_]:(f=(0,$_.codePoint)("Symbol",_))==null?void 0:f.string;if(v){n+=v;continue}n+=k&&_>=32&&_<=126?String.fromCharCode(_):u}return n}function Ip(e,r,t,a){let s=Lg(t,e.state.font.family);if(!s)return;let n=Wi(e,r),i=pg(e,e.state.font.size||12),o=[`x="${Et(n.x)}"`,`y="${Et(n.y)}"`,`fill="${Si(e.state.textColor)}"`,`font-size="${Et(i)}"`,`font-family="${Si(vg(e.state.font.family))}"`,`text-anchor="${dg(e.state.textAlign)}"`,`dominant-baseline="${hg(e.state.textAlign)}"`];e.state.font.weight&&e.state.font.weight>=600&&o.push('font-weight="700"'),e.state.font.italic&&o.push('font-style="italic"');let d=[e.state.font.underline?"underline":"",e.state.font.strike?"line-through":""].filter(Boolean);d.length&&o.push(`text-decoration="${d.join(" ")}"`),e.state.font.escapement&&o.push(`transform="rotate(${Et(-e.state.font.escapement/10)}, ${Et(n.x)}, ${Et(n.y)})"`);let f=gg(e,s,n,a);F0(e,`<text ${o.join(" ")}>${f}</text>`,[n])}function j_(e,r,t,a){var i,o;let s=(e.state.textAlign&1)!==0,n=s?e.state.currentPosition:r;if(Ip(e,n,t,a),s){let d=a.x.length?a.x.reduce((u,l)=>u+l,0):Math.abs(e.state.font.size||12)*Array.from(t).length*.5,f=(o=(i=a.y)==null?void 0:i.reduce((u,l)=>u+l,0))!=null?o:0;e.state.currentPosition={x:n.x+d,y:n.y+f}}}function gg(e,r,t,a){var d,f,u;let s=Array.from(r);if(!a||a.x.length<s.length)return Si(r);let n=[],i={x:0,y:0},o=0;for(let l of s){let k=g1(e,i);n.push(`<tspan x="${Et(t.x+k.x)}" y="${Et(t.y+k.y)}">${Si(l)}</tspan>`);for(let _=0;_<l.length;_+=1,o+=1)i.x+=(d=a.x[o])!=null?d:0,i.y+=(u=(f=a.y)==null?void 0:f[o])!=null?u:0}return n.join("")}function M1(e,r){if(!e.nodes.length)return null;let t=e.contentBounds?gf(e.contentBounds):gf(e.viewBox),a=gf({left:Number.isFinite(e.viewBox.left)?e.viewBox.left:t.left,top:Number.isFinite(e.viewBox.top)?e.viewBox.top:t.top,right:Number.isFinite(e.viewBox.right)?e.viewBox.right:t.right,bottom:Number.isFinite(e.viewBox.bottom)?e.viewBox.bottom:t.bottom}),s=Math.max(1,Math.round(Da(a))),n=Math.max(1,Math.round(Na(a))),i=`<?xml version="1.0" encoding="UTF-8"?>
|
|
9
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="${s}" height="${n}" viewBox="${Et(a.left)} ${Et(a.top)} ${Et(Da(a))} ${Et(Na(a))}" preserveAspectRatio="xMinYMin meet">
|
|
10
10
|
${e.nodes.join(`
|
|
11
11
|
`)}
|
|
12
|
-
</svg>`,o=new TextEncoder().encode(i);return{mime:"image/svg+xml",bytes:o,dataUrl:_p(o,"image/svg+xml"),width:s,height:n,sourceMime:r,recordCount:e.recordCount}}function dg(e){let r=new ln(e),t=0,a=null;if(r.u32(0)===jL&&e.length>=22&&(a=gf({left:r.i16(6),top:r.i16(8),right:r.i16(10),bottom:r.i16(12)}),t=22),t+eg>e.length)return null;let s=new ln(e.subarray(t)),n=s.u16(2),i=s.u16(10),o=t+n*2;if(o>e.length)return null;let d=a||{left:0,top:0,right:1e3,bottom:1e3},f=A_(Da(d),Na(d),d);f.objects=new Array(Math.max(0,i)).fill(null),a&&(f.state.windowOrg={x:a.left,y:a.top},f.state.windowExt={x:Da(a),y:Na(a)},f.state.viewportOrg={x:a.left,y:a.top},f.state.viewportExt={x:Da(a),y:Na(a)});let c=o;for(;c+6<=e.length;){let l=new ln(e.subarray(c)),_=l.u32(0)*2;if(_<6||c+_>e.length)break;let v=l.u16(4);switch(f.recordCount+=1,v){case Sr.META_EOF:return k1(f,"image/wmf");case Sr.META_SETWINDOWORG:f.state.windowOrg={x:l.i16(8),y:l.i16(6)};break;case Sr.META_SETWINDOWEXT:f.state.windowExt={x:l.i16(8),y:l.i16(6)};break;case Sr.META_SETVIEWPORTORG:f.state.viewportOrg={x:l.i16(8),y:l.i16(6)};break;case Sr.META_SETVIEWPORTEXT:f.state.viewportExt={x:l.i16(8),y:l.i16(6)};break;case Sr.META_OFFSETWINDOWORG:f.state.windowOrg={x:f.state.windowOrg.x+l.i16(8),y:f.state.windowOrg.y+l.i16(6)};break;case Sr.META_OFFSETVIEWPORTORG:f.state.viewportOrg={x:f.state.viewportOrg.x+l.i16(8),y:f.state.viewportOrg.y+l.i16(6)};break;case Sr.META_SETBKMODE:f.state.bkMode=l.u16(6);break;case Sr.META_SETPOLYFILLMODE:f.state.polygonFillMode=l.u16(6);break;case Sr.META_SETBKCOLOR:f.state.bkColor=P0(l.u32(6));break;case Sr.META_SETTEXTCOLOR:f.state.textColor=P0(l.u32(6));break;case Sr.META_MOVETO:f.state.currentPosition={x:l.i16(8),y:l.i16(6)};break;case Sr.META_LINETO:{let m={x:l.i16(8),y:l.i16(6)};J_(f,f.state.currentPosition,m);break}case Sr.META_POLYLINE:case Sr.META_POLYGON:{let m=l.u16(6),g=[],M=8;for(let p=0;p<m&&M+4<=_;p+=1)g.push({x:l.i16(M),y:l.i16(M+2)}),M+=4;Wu(f,g,v===Sr.META_POLYGON);break}case Sr.META_POLYPOLYGON:{let m=l.u16(6),g=[],M=8;for(let p=0;p<m&&M+2<=_;p+=1)g.push(l.u16(M)),M+=2;for(let p of g){let b=[];for(let y=0;y<p&&M+4<=_;y+=1)b.push({x:l.i16(M),y:l.i16(M+2)}),M+=4;Wu(f,b,!0)}break}case Sr.META_RECTANGLE:{L1(f,{left:l.i16(12),top:l.i16(10),right:l.i16(8),bottom:l.i16(6)});break}case Sr.META_ELLIPSE:{Q_(f,{left:l.i16(12),top:l.i16(10),right:l.i16(8),bottom:l.i16(6)});break}case Sr.META_ROUNDRECT:{L1(f,{left:l.i16(16),top:l.i16(14),right:l.i16(12),bottom:l.i16(10)},{x:l.i16(8),y:l.i16(6)});break}case Sr.META_TEXTOUT:{let m=l.u16(6),g=8,M=m+m%2,p=g1(l.slice(g,Math.min(m,Math.max(0,_-g-4)))),b=g+M,y=l.i16(b),I=l.i16(b+2);b1(f,{x:I,y},p);break}case Sr.META_CREATEPENINDIRECT:{let m=l.u16(6),g=l.i16(8),M=P0(l.u32(12)),p=Lp(f.objects);No(f.objects,p,{kind:"pen",value:kp(m,g,M)});break}case Sr.META_CREATEBRUSHINDIRECT:{let m=l.u16(6),g=P0(l.u32(8)),M=Lp(f.objects);No(f.objects,M,{kind:"brush",value:Y_(m,g)});break}case Sr.META_CREATEFONTINDIRECT:{let m=Math.abs(l.i16(6)),g=l.i16(10),M=l.u16(14),p=!!l.u8(16),b=!!l.u8(17),y=!!l.u8(18),I=g1(l.slice(24,Math.max(0,_-24))).split("\0")[0]||"sans-serif",z=Lp(f.objects);No(f.objects,z,{kind:"font",value:{family:I,size:m||12,weight:M,italic:p,underline:b,strike:y,escapement:g}});break}case Sr.META_SELECTOBJECT:K_(f,l.u16(6));break;case Sr.META_DELETEOBJECT:{let m=l.u16(6);m>=0&&m<f.objects.length&&(f.objects[m]=null);break}default:break}c+=_}return k1(f,"image/wmf")}function Zu(e,r,t,a){let s=[];for(let n=0;n<t;n+=1){let i=r+n*a;a===8?s.push({x:e.i32(i),y:e.i32(i+4)}):s.push({x:e.i16(i),y:e.i16(i+2)})}return s}function W_(e,r){if(!e.ensure(36,40))return null;let t={x:e.i32(36),y:e.i32(40)},a=e.u32(44),s=e.u32(48);if(!a||!s||s>=e.length)return null;let n=r?a*2:a,i=e.slice(s,n),o=r?q_(i):g1(i);return{point:t,text:o}}function hg(e){if(!e.ensure(8,24))return null;let r={x:e.i32(8),y:e.i32(12)},t=e.u32(16),a=e.u32(20),s=36;if(a&2&&(s+=16),!t||!e.ensure(s,t))return null;let n=g1(e.slice(s,t));return{point:r,text:n}}function V_(e,r,t,a,s){let n=e.u32(r),i=e.u32(t),o=e.u32(a),d=e.u32(s);return!n||!i||!o||!d||!e.ensure(n,i)||!e.ensure(o,d)?null:ag(e.slice(n,i),e.slice(o,d))}function pg(e,r){if(!r.ensure(24,56))return;let t=V_(r,48,52,56,60);t&&F_(e,{left:r.i32(24),top:r.i32(28),right:r.i32(24)+r.i32(72),bottom:r.i32(28)+r.i32(76)},t)}function vg(e,r){if(!r.ensure(24,76))return;let t=V_(r,84,88,92,96);t&&F_(e,{left:r.i32(24),top:r.i32(28),right:r.i32(24)+r.i32(32),bottom:r.i32(28)+r.i32(36)},t)}function mg(e){e.pathData.length&&e.pathData.push("Z")}function _g(e){let r=new ln(e);if(!r.ensure(0,52)||r.u32(0)!==ct.EMR_HEADER)return null;let t=gf({left:r.i32(8),top:r.i32(12),right:r.i32(16),bottom:r.i32(20)}),a=Da(t)>0&&Na(t)>0?t:{left:0,top:0,right:1e3,bottom:1e3},s=A_(Da(a),Na(a),a);s.state.windowOrg={x:a.left,y:a.top},s.state.windowExt={x:Da(a),y:Na(a)},s.state.viewportOrg={x:a.left,y:a.top},s.state.viewportExt={x:Da(a),y:Na(a)};let n=0;for(;n+8<=e.length;){let i=new ln(e.subarray(n)),o=i.u32(0),d=i.u32(4);if(d<8||n+d>e.length)break;switch(s.recordCount+=1,o){case ct.EMR_EOF:return k1(s,"image/emf");case ct.EMR_SETWINDOWORGEX:s.state.windowOrg={x:i.i32(8),y:i.i32(12)};break;case ct.EMR_SETWINDOWEXTEX:s.state.windowExt={x:i.i32(8),y:i.i32(12)};break;case ct.EMR_SETVIEWPORTORGEX:s.state.viewportOrg={x:i.i32(8),y:i.i32(12)};break;case ct.EMR_SETVIEWPORTEXTEX:s.state.viewportExt={x:i.i32(8),y:i.i32(12)};break;case ct.EMR_SETBKMODE:s.state.bkMode=i.u32(8);break;case ct.EMR_SETPOLYFILLMODE:s.state.polygonFillMode=i.u32(8);break;case ct.EMR_SETTEXTALIGN:s.state.textAlign=i.u32(8);break;case ct.EMR_SETTEXTCOLOR:s.state.textColor=P0(i.u32(8));break;case ct.EMR_SETBKCOLOR:s.state.bkColor=P0(i.u32(8));break;case ct.EMR_SAVEDC:s.stateStack.push(bp(s.state));break;case ct.EMR_RESTOREDC:{let f=i.i32(8);if(f<0){let c=Math.min(s.stateStack.length,Math.abs(f));for(let k=0;k<c-1;k+=1)s.stateStack.pop();let l=s.stateStack.pop();l&&(s.state=bp(l))}else if(f>0&&f<=s.stateStack.length){let c=s.stateStack[f-1];s.stateStack.length=f-1,c&&(s.state=bp(c))}break}case ct.EMR_SETWORLDTRANSFORM:s.state.worldTransform=U_(i,8);break;case ct.EMR_MODIFYWORLDTRANSFORM:{let f=U_(i,8),c=i.u32(32);c===_1.MWT_IDENTITY?s.state.worldTransform={...$_}:c===_1.MWT_SET?s.state.worldTransform=f:c===_1.MWT_LEFTMULTIPLY?s.state.worldTransform=H_(f,s.state.worldTransform):c===_1.MWT_RIGHTMULTIPLY&&(s.state.worldTransform=H_(s.state.worldTransform,f));break}case ct.EMR_MOVETOEX:s.state.currentPosition={x:i.i32(8),y:i.i32(12)};break;case ct.EMR_LINETO:{let f={x:i.i32(8),y:i.i32(12)};J_(s,s.state.currentPosition,f);break}case ct.EMR_POLYLINE:case ct.EMR_POLYGON:case ct.EMR_POLYLINE16:case ct.EMR_POLYGON16:{let f=i.u32(24),c=28,l=o===ct.EMR_POLYLINE16||o===ct.EMR_POLYGON16?4:8,k=Zu(i,c,f,l);Wu(s,k,o===ct.EMR_POLYGON||o===ct.EMR_POLYGON16);break}case ct.EMR_POLYBEZIER:case ct.EMR_POLYBEZIER16:{let f=i.u32(24),c=28,l=o===ct.EMR_POLYBEZIER16?4:8,k=Zu(i,c,f,l);Z_(s,k,!1);break}case ct.EMR_POLYBEZIERTO:case ct.EMR_POLYBEZIERTO16:{let f=i.u32(24),c=28,l=o===ct.EMR_POLYBEZIERTO16?4:8,k=Zu(i,c,f,l);Z_(s,k,!0);break}case ct.EMR_POLYLINETO:case ct.EMR_POLYLINETO16:{let f=i.u32(24),c=28,l=o===ct.EMR_POLYLINETO16?4:8,k=Zu(i,c,f,l);Wu(s,[{...s.state.currentPosition},...k],!1);break}case ct.EMR_POLYPOLYLINE:case ct.EMR_POLYPOLYGON:case ct.EMR_POLYPOLYLINE16:case ct.EMR_POLYPOLYGON16:{let f=i.u32(24),c=i.u32(28),l=32,k=o===ct.EMR_POLYPOLYLINE16||o===ct.EMR_POLYPOLYGON16?4:8,_=l+f*4,v=[];for(let M=0;M<f;M+=1)v.push(i.u32(l+M*4));let m=Zu(i,_,c,k),g=0;for(let M of v)Wu(s,m.slice(g,g+M),o===ct.EMR_POLYPOLYGON||o===ct.EMR_POLYPOLYGON16),g+=M;break}case ct.EMR_RECTANGLE:L1(s,{left:i.i32(8),top:i.i32(12),right:i.i32(16),bottom:i.i32(20)});break;case ct.EMR_ELLIPSE:Q_(s,{left:i.i32(8),top:i.i32(12),right:i.i32(16),bottom:i.i32(20)});break;case ct.EMR_ROUNDRECT:L1(s,{left:i.i32(8),top:i.i32(12),right:i.i32(16),bottom:i.i32(20)},{x:i.i32(24),y:i.i32(28)});break;case ct.EMR_BEGINPATH:s.capturePath=!0,s.pathData=[],s.pathPoints=[];break;case ct.EMR_ENDPATH:s.capturePath=!1;break;case ct.EMR_CLOSEFIGURE:mg(s);break;case ct.EMR_FILLPATH:gp(s,sg(s));break;case ct.EMR_STROKEANDFILLPATH:gp(s,E1(s));break;case ct.EMR_STROKEPATH:gp(s,M1(s,s.state.pen));break;case ct.EMR_SELECTCLIPPATH:s.capturePath=!1,s.pathData=[],s.pathPoints=[];break;case ct.EMR_CREATEPEN:{let f=i.u32(8),c=i.u32(12),l=i.i32(16),k=P0(i.u32(24));No(s.objects,f,{kind:"pen",value:kp(c,l,k)});break}case ct.EMR_CREATEBRUSHINDIRECT:{let f=i.u32(8),c=i.u32(12),l=P0(i.u32(16));No(s.objects,f,{kind:"brush",value:Y_(c,l)});break}case ct.EMR_EXTCREATEPEN:{let f=i.u32(8),c=i.u32(28),l=i.i32(32),k=i.u32(36),_=k===1?"none":P0(i.u32(40));No(s.objects,f,{kind:"pen",value:k===1?{color:_,width:l,none:!0}:kp(c,l,_)});break}case ct.EMR_EXTCREATEFONTINDIRECTW:{let f=i.u32(8),c=Math.abs(i.i32(12)),l=i.i32(20),k=i.i32(28),_=!!i.u8(32),v=!!i.u8(33),m=!!i.u8(34),g=q_(i.slice(40,64)).split("\0")[0]||"sans-serif";No(s.objects,f,{kind:"font",value:{family:g,size:c||12,weight:k,italic:_,underline:v,strike:m,escapement:l}});break}case ct.EMR_SELECTOBJECT:K_(s,i.u32(8));break;case ct.EMR_DELETEOBJECT:{let f=i.u32(8);f>=0&&f<s.objects.length&&(s.objects[f]=null);break}case ct.EMR_EXTTEXTOUTA:{let f=W_(i,!1);f&&b1(s,f.point,f.text);break}case ct.EMR_EXTTEXTOUTW:{let f=W_(i,!0);f&&b1(s,f.point,f.text);break}case ct.EMR_SMALLTEXTOUT:{let f=hg(i);f&&b1(s,f.point,f.text);break}case ct.EMR_STRETCHDIBITS:pg(s,i);break;case ct.EMR_BITBLT:case ct.EMR_STRETCHBLT:case ct.EMR_ALPHABLEND:vg(s,i);break;default:break}n+=d}return k1(s,"image/emf")}function j_(e,r){return r.length?/image\/emf/i.test(e)?_g(r):/image\/wmf/i.test(e)?dg(r):null:null}var bg=(e,r,t)=>Math.min(t,Math.max(r,e)),I0=e=>Math.abs(e)<1e-12?0:e,Sp=e=>String(Math.round(I0(e)*1e6)/1e6),e5=(e,r,t=25e3)=>{let a=Math.max(0,e),s=Math.max(0,r),n=Math.min(a,s);if(!n)return[{x:0,y:s},{x:0,y:0},{x:a,y:0},{x:a,y:s}];let i=5e4*a/n,o=bg(Number.isFinite(t)?t:25e3,0,i),d=n*o/1e5;return[{x:0,y:s},{x:d,y:0},{x:a-d,y:0},{x:a,y:s}]},t5=e=>e.map(({x:r,y:t})=>`${Sp(r)} ${Sp(t)}`).join(","),Lg=({width:e,height:r,rotation:t=0,flipH:a=!1,flipV:s=!1})=>{let n=t*Math.PI/180,i=I0(Math.cos(n)),o=I0(Math.sin(n)),d=a?-1:1,f=s?-1:1,c=I0(d*i),l=I0(-f*o),k=I0(d*o),_=I0(f*i),v=e/2,m=r/2;return{a:c,b:l,c:k,d:_,e:I0(v-c*v-k*m),f:I0(m-l*v-_*m)}},r5=e=>{let r=Lg(e);return r.a===1&&r.b===0&&r.c===0&&r.d===1&&r.e===0&&r.f===0?"":`matrix(${[r.a,r.b,r.c,r.d,r.e,r.f].map(Sp).join(" ")})`};var Yu=e=>e*96/914400;var P1=Object.freeze({top:Yu(45720),right:Yu(91440),bottom:Yu(45720),left:Yu(91440)}),S1=(e,r)=>{if(e==null||e==="")return r;let t=Number(e);return Number.isFinite(t)?Yu(t):r},a5=(e={})=>({top:S1(e.marT,P1.top),right:S1(e.marR,P1.right),bottom:S1(e.marB,P1.bottom),left:S1(e.marL,P1.left)}),n5=(e=[])=>{if(e.length===0)return;let r=0;for(let t of e){let a=Number(t);if(!Number.isFinite(a)||a<=0)return;r+=a}return r>0?r:void 0},gg=e=>{if(!Number.isFinite(e))return 0;let r=e%360;return r<0?r+360:r},kg=e=>{switch(e){case"vert270":return 270;case"vert":case"eaVert":case"mongolianVert":case"wordArtVert":case"wordArtVertRtl":return 90;default:return 0}},i5=({shapeRotation:e=0,textTransformRotation:r,bodyRotation:t=0,direction:a="horz",upright:s=!1})=>{let n=r!=null?r:s?0:e;return gg(n+t+kg(a))};var Ip=xp.default.default||xp.default,ju={MsgQueue:[],isDone:!1},V0={MsgQueue:[]},Mg="",m5=!1,_5=null,b5=1,Tp=0,Ju,L5=["he-IL","ar-AE","ar-SA","dv-MV","fa-IR","ur-PK"],g5=96,Eg=914400,Pg=72,w=g5/Eg,Co=g5/Pg,_r=e=>e==null?[]:Array.isArray(e)?e:[e],Et=(e,r=0)=>{let t=typeof e=="number"?e:parseFloat(e);return Number.isFinite(t)?t:r},Sg=16,yp={cx:9144e3,cy:6858e3},Ig="http://schemas.openxmlformats.org/officeDocument/2006/relationships/",Tg="http://schemas.microsoft.com/office/2007/relationships/",k5=new WeakMap;function yg(e){return e==="line"||e==="straightConnector1"||/^bentConnector[2-5]$/.test(e||"")||/^curvedConnector[2-5]$/.test(e||"")}function wg(e,r){let t=Object.assign({},r);return _r(L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"])).forEach(function(s){let n=s&&s.attrs;if(!n||!Object.prototype.hasOwnProperty.call(t,n.name))return;let i=/^val\s+(-?(?:\d+(?:\.\d*)?|\.\d+))$/.exec(String(n.fmla||"").trim());if(!i)return;let o=Number(i[1]);Number.isFinite(o)&&(t[n.name]=o)}),t}function I1(e){let r=[];return e.forEach(function(t){let a=r[r.length-1];(!a||a[0]!==t[0]||a[1]!==t[1])&&r.push(t)}),r.length===1&&e.length>1&&r.push(r[0]),r}function wp(e,r,t,a){let s=Et(t,0),n=Et(a,0),i=wg(r,{adj1:5e4,adj2:5e4,adj3:5e4}),o=s*i.adj1/1e5,d=n*i.adj2/1e5,f=s*i.adj3/1e5;switch(e){case"bentConnector2":return I1([[0,0],[s,0],[s,n]]);case"bentConnector3":return I1([[0,0],[o,0],[o,n],[s,n]]);case"bentConnector4":return I1([[0,0],[o,0],[o,d],[s,d],[s,n]]);case"bentConnector5":return I1([[0,0],[o,0],[o,d],[f,d],[f,n],[s,n]]);default:return[]}}function T1(e,r,t){var a="";return r!==void 0&&(r.type==="triangle"||r.type==="arrow")&&(a+="marker-start='url(#markerTriangle_"+e+")' "),t!==void 0&&(t.type==="triangle"||t.type==="arrow")&&(a+="marker-end='url(#markerTriangle_"+e+")' "),a}function Rg(e,r,t){return yg(e)?" min-width:1px; min-height:1px; overflow:visible; transform-origin:"+Et(r,0)/2+"px "+Et(t,0)/2+"px;":""}function If(e){let r=[];return String(e||"").split("/").forEach(function(t){if(!(t===""||t===".")){if(t===".."){r.pop();return}r.push(t)}}),r.join("/")}function Op(e){let r=If(e),t=r.lastIndexOf("/");return t===-1?"":r.slice(0,t)}function Pf(e,r){return r?/^[a-z][a-z0-9+.-]*:/i.test(r)||r.charAt(0)==="#"?r:r.charAt(0)==="/"?If(r.slice(1)):If((Op(e)?Op(e)+"/":"")+r):""}function Mf(e){let r=Op(e),t=If(e).split("/").pop();return(r?r+"/_rels/":"_rels/")+t+".rels"}function Ef(e){return _r(L(e,["Relationships","Relationship"]))}function Fu(e){return String(e||"").replace(Ig,"").replace(Tg,"")}function Au(e,r,t){let a=r&&r.attrs?r.attrs:{};a.Id&&(e[a.Id]={type:Fu(a.Type),target:Pf(t,a.Target),external:a.TargetMode==="External"})}function s5(){return{idTable:{},idxTable:{},typeTable:{}}}function o5(e){if(!e)return s5();try{return Ng(e)}catch(r){return console.warn("Unable to index PPTX layout/master nodes",r),s5()}}async function Bg(e,r){try{let t=await Wr(e,"ppt/presentation.xml"),a=await Wr(e,Mf("ppt/presentation.xml")),s={};Ef(a).forEach(function(d){let f=d&&d.attrs?d.attrs:{};f.Id&&Fu(f.Type)==="slide"&&(s[f.Id]=Pf("ppt/presentation.xml",f.Target))});let i=_r(L(t,["p:presentation","p:sldIdLst","p:sldId"])).map(function(d){return s[L(d,["attrs","r:id"])]}).filter(function(d){return d&&r.indexOf(d)!==-1});if(!i.length)return r;let o=new Set(i);return i.concat(r.filter(function(d){return!o.has(d)}))}catch(t){return console.warn("Unable to resolve PPTX slide order",t),r}}var f5=0,l5=0,Gp=!0,Ea=Object.create(null),Up={},B1={};console.log(B1);var ec={set processFullTheme(e){Gp=e},set settings(e){B1=e},set tableStyles(e){Up=e},set IE11(e){m5=e}};async function Wr(e,r,t=!1){try{let a=await e.file(r).async("text");t&&Ju<=12&&(a=a.replace(/<!\[CDATA\[(.*?)\]\]>/g,"$1"));let s=Ym(a,{simplify:!0,keepWhitespace:!0});return s["?xml"]&&delete s["?xml"],s}catch{return null}}async function M5(e){let r=await Wr(e,"[Content_Types].xml");E5(e,r);let t=_r(L(r,["Types","Override"])),a=[],s=[];for(let n of t){let i=n.attrs||{},o=String(i.PartName||"").replace(/^\/+/,"");switch(i.ContentType){case"application/vnd.openxmlformats-officedocument.presentationml.slide+xml":a.push(o);break;case"application/vnd.openxmlformats-officedocument.presentationml.slideLayout+xml":s.push(o);break;default:}}return{slides:await Bg(e,a),slideLayouts:s}}function E5(e,r){let t=new Map,a=new Map;for(let n of _r(L(r,["Types","Default"]))){let i=n.attrs||{};t.set(String(i.Extension||"").toLowerCase(),i.ContentType)}for(let n of _r(L(r,["Types","Override"]))){let i=n.attrs||{};a.set(If(i.PartName),i.ContentType)}let s={defaults:t,overrides:a};return k5.set(e,s),s}async function Dg(e,r){let t=k5.get(e)||E5(e,await Wr(e,"[Content_Types].xml")),a=If(r),s=$p(a).toLowerCase(),n=String(t.overrides.has(a)?t.overrides.get(a):t.defaults.get(s)||"").trim().toLowerCase();switch(n){case"image/jpeg":case"image/png":case"image/gif":case"image/svg+xml":case"image/tiff":case"image/x-emf":case"image/x-wmf":return n;case"image/emf":return"image/x-emf";case"image/wmf":return"image/x-wmf";default:return Wp(s)}}async function P5(e){let r=await Wr(e,"docProps/app.xml");Ju=parseInt(L(r,["Properties","AppVersion"])),Number.isFinite(Ju)||(Ju=Sg),console.log("create by Office PowerPoint app verssion: ",Ju);let t=await Wr(e,"ppt/presentation.xml"),a=L(t,["p:presentation","p:sldSz","attrs"])||yp,s=Et(a.cx,yp.cx),n=Et(a.cy,yp.cy),i=a.type;console.log("Presentation size type: ",i),_5=L(t,["p:presentation","p:defaultTextStyle"])||{},b5=Lm(L(t,["p:presentation","attrs","firstSlideNum"]));let o=B1.incSlide||{};return f5=s*w+Et(o.width,0)|0,l5=n*w+Et(o.height,0)|0,{width:f5,height:l5}}async function S5(e,r,t,a){self.postMessage({type:"INFO",data:"Processing slide"+(t+1)});let s=Mf(r),n=await Wr(e,s),i="",o="",d={};for(let u of Ef(n)){let h=u.attrs||{},De=Fu(h.Type);De==="slideLayout"?i=Pf(r,h.Target):De==="diagramDrawing"&&(o=Pf(r,h.Target)),Au(d,u,r)}let f=i?await Wr(e,i):null,c=o5(f),l=L(f,["p:sldLayout","p:clrMapOvr","a:overrideClrMapping"]);l!==void 0&&(Mg=l.attrs);let k=i?Mf(i):"",_=k?await Wr(e,k):null,v="",m={};for(let u of Ef(_)){let h=u.attrs||{};Fu(h.Type)==="slideMaster"?v=Pf(i,h.Target):Au(m,u,i)}let g=v?await Wr(e,v):null,M=L(g,["p:sldMaster","p:txStyles"]),p=o5(g),b=v?Mf(v):"",y=b?await Wr(e,b):null,I="",z={};for(let u of Ef(y)){let h=u.attrs||{};Fu(h.Type)==="theme"?I=Pf(v,h.Target):Au(z,u,v)}var R={},B=null;if(I){var Z=Mf(I);B=await Wr(e,I);var T=await Wr(e,Z);for(let u of Ef(T))Au(R,u,I)}var x={},P={};if(o){var J=Mf(o);if(P=await Wr(e,o),P!=null&&P!=""){var re=JSON.stringify(P);re=re.replace(/dsp:/g,"p:"),P=JSON.parse(re)}var Q=await Wr(e,J);if(Q!==null)for(let u of Ef(Q))Au(x,u,o)}var ae=await Wr(e,r,!0),X=L(ae,["p:sld","p:cSld","p:spTree"])||{},V={zip:e,slideLayoutContent:f,slideLayoutTables:c,slideMasterContent:g,slideMasterTables:p,slideContent:ae,finalHiddenShapeIds:mm(ae),slideResObj:d,slideMasterTextStyles:M,layoutResObj:m,masterResObj:z,themeContent:B,themeResObj:R,digramFileContent:P,diagramResObj:x,defaultTextStyle:_5,slideIndex:t,slideNumber:t+1,displaySlideNumber:b5+t},H="";Gp===!0&&(H=await vk(V,a,t));var A="";Gp=="colorsAndImageOnly"&&(A=await N5(V,t)||"");var ge="<div class='slide' data-office-part='"+Xi(r)+"' style='width:"+a.width+"px; height:"+a.height+"px;"+A+"'>";ge+=H;for(let u in X)if(X[u].constructor===Array)for(var me=0;me<X[u].length;me++)ge+=await q0(u,X[u][me],X,V,"slide");else ge+=await q0(u,X[u],X,V,"slide");return ge+"</div>"}function Ng(e){let r=Object.keys(e),t=e[r[0]]["p:cSld"]["p:spTree"],a={},s={},n={},i,o,d,f;for(let c in t){if(c==="p:nvGrpSpPr"||c==="p:grpSpPr")continue;let l=t[c];if(l.constructor===Array)for(let k=0;k<l.length;k++)f=l[k]["p:nvSpPr"],d=L(f,["p:cNvPr","attrs","id"]),o=L(f,["p:nvPr","p:ph","attrs","idx"]),i=L(f,["p:nvPr","p:ph","attrs","type"]),d!==void 0&&(a[d]=l[k]),o!==void 0&&(s[o]=l[k]),i!==void 0&&(n[i]=l[k]);else f=l["p:nvSpPr"],d=L(f,["p:cNvPr","attrs","id"]),o=L(f,["p:nvPr","p:ph","attrs","idx"]),i=L(f,["p:nvPr","p:ph","attrs","type"]),d!==void 0&&(a[d]=l),o!==void 0&&(s[o]=l),i!==void 0&&(n[i]=l)}return{idTable:a,idxTable:s,typeTable:n}}async function q0(e,r,t,a,s,n,i){var o="";if(zg(r)||s==="slide"&&_m(a.finalHiddenShapeIds,I5(r).id))return o;switch(e){case"p:sp":o=await y5(r,t,a,s,n,i);break;case"p:cxnSp":o=await Wg(r,t,a,s,n,i);break;case"p:pic":o=await Xg(r,a,s,n,i);break;case"p:graphicFrame":o=await Kg(r,a,s,n,i);break;case"p:grpSp":o=await Hp(r,a,s,i);break;case"mc:AlternateContent":var d=L(r,["mc:Fallback"]);o=await Hp(d,a,s,i);break;default:}return o}function Yp(e,r=0){var t=parseInt(e);return Number.isFinite(t)?t*w:r}function T0(e,r=0){var t=parseFloat(e);return Number.isFinite(t)?t:r}function Tf(e,r,t){var a=T0(e,NaN);if(!Number.isFinite(a))return NaN;if(t===void 0)return Yp(a);var s=r==="y"?t.childOffsetY:t.childOffsetX,n=r==="y"?t.scaleY:t.scaleX;return(a-s)*n}function Ma(e,r,t){var a=T0(e,NaN);if(!Number.isFinite(a))return NaN;if(t===void 0)return Yp(a);var s=r==="y"?t.scaleY:t.scaleX;return a*s}function u5(e,r,t,a){var s=T0(e,NaN);if(!Number.isFinite(s))return a;if(t===void 0)return Yp(s);var n=r==="y"?t.scaleY:t.scaleX;return s*n}function yf(e){return e===!0||e==="1"||e==="true"}function I5(e){return L(e,["p:nvSpPr","p:cNvPr","attrs"])||L(e,["p:nvPicPr","p:cNvPr","attrs"])||L(e,["p:nvGrpSpPr","p:cNvPr","attrs"])||L(e,["p:nvCxnSpPr","p:cNvPr","attrs"])||L(e,["p:nvGraphicFramePr","p:cNvPr","attrs"])||{}}function zg(e){var r=I5(e);return yf(r.hidden)}function Cg(e,r){var t=L(e,["a:off","attrs"])||{},a=L(e,["a:ext","attrs"])||{},s=L(e,["a:chOff","attrs"])||{},n=L(e,["a:chExt","attrs"])||{},i=Ma(a.cx,"x",r),o=Ma(a.cy,"y",r),d=T0(n.cx,NaN),f=T0(n.cy,NaN);return(!Number.isFinite(d)||d===0)&&(d=T0(a.cx,i||1)),(!Number.isFinite(f)||f===0)&&(f=T0(a.cy,o||1)),{x:Tf(t.x,"x",r),y:Tf(t.y,"y",r),width:i,height:o,childOffsetX:T0(s.x,0),childOffsetY:T0(s.y,0),childWidth:d,childHeight:f,scaleX:d?i/d:1,scaleY:f?o/f:1,rotate:xo(L(e,["attrs","rot"])),flipH:yf(L(e,["attrs","flipH"])),flipV:yf(L(e,["attrs","flipV"]))}}function xg(e){if(e===void 0)return"";var r=[];return e.rotate&&r.push("rotate("+e.rotate+"deg)"),(e.flipH||e.flipV)&&r.push("scale("+(e.flipH?-1:1)+","+(e.flipV?-1:1)+")"),r.length?"transform:"+r.join(" ")+";transform-origin:center;":""}function Za(e){return Math.round(e*1e3)/1e3}function Og(e,r){try{var t=e instanceof Uint8Array?e:new Uint8Array(e),a=j_(r,t);return!a||!a.dataUrl?void 0:a.dataUrl}catch(s){console.warn("Unable to convert metafile image",s);return}}function Gg(e){return e instanceof Uint8ClampedArray?e:e instanceof Uint8Array?new Uint8ClampedArray(e.buffer,e.byteOffset,e.byteLength):new Uint8ClampedArray(e)}async function Ug(e){if(typeof e.convertToBlob=="function"){var r=await e.convertToBlob({type:"image/png"}),t=await r.arrayBuffer();return"data:image/png;base64,"+x5(t)}if(typeof e.toDataURL=="function")return e.toDataURL("image/png")}async function Hg(e){try{var r=Ip.decode(e);if(!r||!r.length)return;Ip.decodeImage(e,r[0]);var t=r[0].width,a=r[0].height;if(!t||!a)return;var s=Gg(Ip.toRGBA8(r[0])),n=new ImageData(s,t,a),i;if(typeof OffscreenCanvas!="undefined")i=new OffscreenCanvas(t,a);else if(typeof document!="undefined"&&document.createElement)i=document.createElement("canvas"),i.width=t,i.height=a;else return;var o=i.getContext("2d");return o?(o.putImageData(n,0,0),await Ug(i)):void 0}catch(d){console.warn("Unable to convert TIFF image",d);return}}async function Ap(e,r,t){var a=await Dg(e,r);if(a=="image/tiff")return await Hg(t);if(a=="image/x-emf"||a=="image/x-wmf")return Og(t,a=="image/x-wmf"?"image/wmf":"image/emf");if(a=="image/jpeg"&&(t=O_(t).bytes),!!a)return"data:"+a+";base64,"+x5(t)}function T5(e){var r=L(e,["a:srcRect","attrs"]);if(r===void 0)return{container:"overflow:hidden;",image:"display:block;width:100%;height:100%;object-fit:fill;max-width:none;max-height:none;",svg:{x:0,y:0,width:100,height:100}};var t=parseInt(r.l||0)/1e3,a=parseInt(r.t||0)/1e3,s=parseInt(r.r||0)/1e3,n=parseInt(r.b||0)/1e3,i=100-t-s,o=100-a-n;if(i<=0||o<=0)return{container:"overflow:hidden;",image:"display:block;width:100%;height:100%;object-fit:fill;max-width:none;max-height:none;",svg:{x:0,y:0,width:100,height:100}};var d=1e4/i,f=1e4/o,c=-t/i*100,l=-a/o*100;return{container:"overflow:hidden;",image:"position:absolute;max-width:none;max-height:none;width:"+d+"%;height:"+f+"%;left:"+c+"%;top:"+l+"%;",svg:{x:c,y:l,width:d,height:f}}}function Zg(e){var r=L(e,["p:spPr","a:prstGeom","attrs","prst"]);return r==="ellipse"?"border-radius:50%;":r==="roundRect"?"border-radius:8px;":""}async function Hp(e,r,t,a){var s=L(e,["p:grpSpPr","a:xfrm"]),n=s!==void 0?Cg(s,a):void 0,i=L(e,["attrs","order"]),o=i!==void 0?"z-index: "+i+";":"";s!==void 0&&(o+=Yi(s,e,void 0,void 0,"group",a),o+=Ai(s,void 0,void 0,a),o+=xg(n));var d="<div class='block group' style='"+o+"'>";n!==void 0&&(d+="<div class='group-content' style='position:absolute;top:0;left:0;width:100%;height:100%;'>");for(var f in e)if(e[f].constructor===Array)for(var c=0;c<e[f].length;c++)d+=await q0(f,e[f][c],e,r,t,"group",n);else d+=await q0(f,e[f],e,r,t,"group",n);return n!==void 0&&(d+="</div>"),d+="</div>",d}async function y5(e,r,t,a,s,n){var i=L(e,["p:nvSpPr","p:cNvPr","attrs","id"]),o=L(e,["p:nvSpPr","p:cNvPr","attrs","name"]),d=L(e,["p:nvSpPr","p:nvPr","p:ph","attrs","idx"])===void 0?void 0:L(e,["p:nvSpPr","p:nvPr","p:ph","attrs","idx"]),f=L(e,["p:nvSpPr","p:nvPr","p:ph","attrs","type"])===void 0?void 0:L(e,["p:nvSpPr","p:nvPr","p:ph","attrs","type"]),c=L(e,["attrs","order"]),l;if(a=="slideLayoutBg"||a=="slideMasterBg"){var k=L(e,["p:nvSpPr","p:nvPr","attrs","userDrawn"]);k=="1"?l=!0:l=!1}var _=void 0,v=void 0;return d!==void 0?(_=t.slideLayoutTables.idxTable[d],f!==void 0?v=t.slideMasterTables.typeTable[f]:v=t.slideMasterTables.idxTable[d]):f!==void 0&&(_=t.slideLayoutTables.typeTable[f],v=t.slideMasterTables.typeTable[f]),f===void 0&&L(e,["p:nvSpPr","p:cNvSpPr","attrs","txBox"])=="1"&&(f="textBox"),f===void 0&&(f=L(_,["p:nvSpPr","p:nvPr","p:ph","attrs","type"]),f===void 0&&(a=="diagramBg"?f="diagram":f="obj")),w5(e,r,_,v,i,o,d,f,c,t,l,s,a,n)}async function Wg(e,r,t,a,s,n){var i=e["p:nvCxnSpPr"]["p:cNvPr"].attrs.id,o=e["p:nvCxnSpPr"]["p:cNvPr"].attrs.name,d=e["p:nvCxnSpPr"]["p:nvPr"]["p:ph"]===void 0?void 0:e["p:nvSpPr"]["p:nvPr"]["p:ph"].attrs.idx,f=e["p:nvCxnSpPr"]["p:nvPr"]["p:ph"]===void 0?void 0:e["p:nvSpPr"]["p:nvPr"]["p:ph"].attrs.type,c=e.attrs.order;return w5(e,r,void 0,void 0,i,o,d,f,c,t,void 0,s,a,n)}async function w5(e,r,t,a,s,n,i,o,d,f,c,l,k,_){var v=["p:spPr","a:xfrm"],m=L(e,v),g=L(t,v),M=L(a,v),p="",b=L(e,["attrs","order"]),y=L(e,["p:spPr","a:prstGeom","attrs","prst"]),I=L(e,["p:spPr","a:custGeom"]),z=!1,R=!1,B="";L(m,["attrs","flipV"])==="1"&&(z=!0),L(m,["attrs","flipH"])==="1"&&(R=!0),R&&!z?B=" scale(-1,1)":!R&&z?B=" scale(1,-1)":R&&z&&(B=" scale(-1,-1)");var Z=xo(L(m,["attrs","rot"])),T=L(e,["p:txBody","a:bodyPr","attrs"])||{},x=xo(T.rot),P,J=L(e,["p:txXfrm"]);if(J!==void 0){var re=L(J,["attrs","rot"]);re!==void 0&&(P=xo(re))}var Q=i5({shapeRotation:Z,textTransformRotation:P,bodyRotation:x,direction:T.vert,upright:yf(T.upright)});let ae=yh(J,m),X=Qc(e["p:txBody"],t==null?void 0:t["p:txBody"],a==null?void 0:a["p:txBody"]),V="box-sizing:border-box;padding:"+Ma(X.top,"y",_)+"px "+Ma(X.right,"x",_)+"px "+Ma(X.bottom,"y",_)+"px "+Ma(X.left,"x",_)+"px;";if(y!==void 0||I!==void 0){var H=L(m,["a:off","attrs"])||{x:0,y:0},A=Tf(H.x,"x",_),ge=Tf(H.y,"y",_),me=L(m,["a:ext","attrs"])||{cx:0,cy:0},u=Ma(me.cx,"x",_),h=Ma(me.cy,"y",_);Number.isFinite(A)||(A=0),Number.isFinite(ge)||(ge=0),Number.isFinite(u)||(u=0),Number.isFinite(h)||(h=0);var De="_svg_css_"+(Object.keys(Ea).length+1)+"_"+Math.floor(Math.random()*1001),Ue=De+"_effects";p+="<svg class='drawing "+De+" "+Ue+" ' _id='"+s+"' _idx='"+i+"' _type='"+o+"' _name='"+n+"'' style='"+Yi(m,r,void 0,void 0,l,_)+Ai(m,void 0,void 0,_)+Rg(y,u,h)+" z-index: "+d+";transform: rotate("+(Z!==void 0?Z:0)+"deg)"+B+";'>",p+="<defs>";var ee=await Vu(e,r,!0,f,k),fe=!1,oe=!1,kt=un(L(e,["p:spPr"])),dt=kt,S;if(dt=="GROUP_FILL"&&(dt=un(L(r,["p:grpSpPr"])),dt=="PIC_FILL"&&(S=L(r,["p:grpSpPr","a:blipFill"]))),dt=="GRADIENT_FILL"){fe=!0;var Ee=ee.color,pe=ee.rot+90,Y=Bk(u,h,pe,Ee,b);p+=Y}else if(dt=="PIC_FILL"){oe=!0;var N=S||L(e,["p:spPr","a:blipFill"]),j=kt=="GROUP_FILL"&&_!==void 0?{x:A,y:ge,width:_.width,height:_.height,shapeTransform:{width:u,height:h,rotation:Z||0,flipH:R,flipV:z}}:void 0,be=await zk(N,ee,b,f,j);p+=be}else if(dt=="PATTERN_FILL"){var Le=ee;Object.prototype.hasOwnProperty.call(Ea,Le)&&(Le+="do-nothing: "+De+";"),Ea[Le]={name:De,text:Le},ee="none"}else dt!="SOLID_FILL"&&dt!="PATTERN_FILL"&&(y=="arc"||y=="bracketPair"||y=="bracePair"||y=="leftBracket"||y=="leftBrace"||y=="rightBrace"||y=="rightBracket")&&(ee="none");var E=Si(e,r,!0,"shape",f),Be=L(e,["p:spPr","a:ln","a:headEnd","attrs"]),We=L(e,["p:spPr","a:ln","a:tailEnd","attrs"]),Ce=L(e,["p:spPr","a:effectLst","a:outerShdw"]),ht="";if(Ce!==void 0){var Yt=gt(Ce,void 0,void 0,f),Bt=Ce.attrs,$r=Bt.dir?parseInt(Bt.dir)/6e4:0,Pn=parseInt(Bt.dist)*w,Ua=Bt.blurRad?parseInt(Bt.blurRad)*w:"",On=Pn*Math.sin($r*Math.PI/180),Or=Pn*Math.cos($r*Math.PI/180),Ki="filter:drop-shadow("+Or+"px "+On+"px "+Ua+"px #"+Yt+");";Object.prototype.hasOwnProperty.call(Ea,Ki)&&(Ki+="do-nothing: "+De+";"),Ea[Ki]={name:Ue,text:Ki}}if(Be!==void 0&&(Be.type==="triangle"||Be.type==="arrow")||We!==void 0&&(We.type==="triangle"||We.type==="arrow")){var wf="<marker id='markerTriangle_"+b+"' viewBox='0 0 10 10' refX='10' refY='5' markerWidth='5' markerHeight='5' stroke='"+E.color+"' fill='"+E.color+"' orient='auto-start-reverse' markerUnits='strokeWidth'><path d='M 0 0 L 10 5 L 0 10 z' /></marker>";p+=wf}p+="</defs>"}if(y!==void 0&&I===void 0){switch(y){case"rect":case"flowChartProcess":case"flowChartPredefinedProcess":case"flowChartInternalStorage":case"actionButtonBlank":p+="<rect x='0' y='0' width='"+u+"' height='"+h+"' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' "+ht+" />",y=="flowChartPredefinedProcess"?p+="<rect x='"+u*(1/8)+"' y='0' width='"+u*(6/8)+"' height='"+h+"' fill='none' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />":y=="flowChartInternalStorage"&&(p+=" <polyline points='"+u*(1/8)+" 0,"+u*(1/8)+" "+h+"' fill='none' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />",p+=" <polyline points='0 "+h*(1/8)+","+u+" "+h*(1/8)+"' fill='none' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />");break;case"flowChartCollate":var xe="M 0,0 L"+u+",0 L0,"+h+" L"+u+","+h+" z";p+="<path d='"+xe+"' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"flowChartDocument":var G,K,ne,D;D=u*10800/21600,G=h*17322/21600,K=h*20172/21600,ne=h*23922/21600;var xe="M0,0 L"+u+",0 L"+u+","+G+" C"+D+","+G+" "+D+","+ne+" 0,"+K+" z";p+="<path d='"+xe+"' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"flowChartMultidocument":var G,K,ne,de,Ye,st,Rt,vr,Ha,D,q,se,_e,He,qe,mt;G=h*18022/21600,K=h*3675/21600,ne=h*23542/21600,de=h*1815/21600,Ye=h*16252/21600,st=h*16352/21600,Rt=h*14392/21600,vr=h*20782/21600,Ha=h*14467/21600,D=u*1532/21600,q=u*2e4/21600,se=u*9298/21600,_e=u*19298/21600,He=u*18595/21600,qe=u*2972/21600,mt=u*20800/21600;var xe="M0,"+K+" L"+He+","+K+" L"+He+","+G+" C"+se+","+G+" "+se+","+ne+" 0,"+vr+" zM"+D+","+K+" L"+D+","+de+" L"+q+","+de+" L"+q+","+Ye+" C"+_e+","+Ye+" "+He+","+st+" "+He+","+st+"M"+qe+","+de+" L"+qe+",0 L"+u+",0 L"+u+","+Rt+" C"+mt+","+Rt+" "+q+","+Ha+" "+q+","+Ha;p+="<path d='"+xe+"' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"actionButtonBackPrevious":var O=u/2,W=h/2,Ie=Math.min(u,h),he,tt,Gt,Fe,Ct;he=Ie*3/8,tt=W-he,Gt=W+he,Fe=O-he,Ct=O+he;var xe="M0,0 L"+u+",0 L"+u+","+h+" L0,"+h+" zM"+Fe+","+W+" L"+Ct+","+tt+" L"+Ct+","+Gt+" z";p+="<path d='"+xe+"' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"actionButtonBeginning":var O=u/2,W=h/2,Ie=Math.min(u,h),he,tt,Gt,Fe,Ct,$e,$t,Jt,ar,Qt;he=Ie*3/8,tt=W-he,Gt=W+he,Fe=O-he,Ct=O+he,$e=Ie*3/4,$t=$e/8,Jt=$e/4,ar=Fe+$t,Qt=Fe+Jt;var xe="M0,0 L"+u+",0 L"+u+","+h+" L0,"+h+" zM"+Qt+","+W+" L"+Ct+","+tt+" L"+Ct+","+Gt+" zM"+ar+","+tt+" L"+Fe+","+tt+" L"+Fe+","+Gt+" L"+ar+","+Gt+" z";p+="<path d='"+xe+"' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"actionButtonDocument":var O=u/2,W=h/2,Ie=Math.min(u,h),he,tt,Gt,Ge,Fe,Ct,$e,$t,Jt;he=Ie*3/8,tt=W-he,Gt=W+he,Ge=Ie*9/32,Fe=O-Ge,Ct=O+Ge,$e=Ie*3/16,$t=Ct-$e,Jt=tt+$e;var xe="M0,0 L"+u+",0 L"+u+","+h+" L0,"+h+" zM"+Fe+","+tt+" L"+$t+","+tt+" L"+Ct+","+Jt+" L"+Ct+","+Gt+" L"+Fe+","+Gt+" zM"+$t+","+tt+" L"+$t+","+Jt+" L"+Ct+","+Jt+" z";p+="<path d='"+xe+"' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"actionButtonEnd":var O=u/2,W=h/2,Ie=Math.min(u,h),he,tt,Gt,Fe,Ct,$e,$t,Jt,ar,Qt;he=Ie*3/8,tt=W-he,Gt=W+he,Fe=O-he,Ct=O+he,$e=Ie*3/4,$t=$e*3/4,Jt=$e*7/8,ar=Fe+$t,Qt=Fe+Jt;var xe="M0,"+h+" L"+u+","+h+" L"+u+",0 L0,0 z M"+Qt+","+tt+" L"+Ct+","+tt+" L"+Ct+","+Gt+" L"+Qt+","+Gt+" z M"+ar+","+W+" L"+Fe+","+tt+" L"+Fe+","+Gt+" z";p+="<path d='"+xe+"' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"actionButtonForwardNext":var O=u/2,W=h/2,Ie=Math.min(u,h),he,tt,Gt,Fe,Ct;he=Ie*3/8,tt=W-he,Gt=W+he,Fe=O-he,Ct=O+he;var xe="M0,"+h+" L"+u+","+h+" L"+u+",0 L0,0 z M"+Ct+","+W+" L"+Fe+","+tt+" L"+Fe+","+Gt+" z";p+="<path d='"+xe+"' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"actionButtonHelp":var O=u/2,W=h/2,Ie=Math.min(u,h),he,tt,Fe,$e,$t,Jt,ar,Qr,wr,Rr,sa,Ir,Jr,Pa,Sa,Ia,tn,y0,Gn,R0,Ii;he=Ie*3/8,tt=W-he,Fe=O-he,$e=Ie*3/4,$t=$e/7,Jt=$e*3/14,ar=$e*2/7,Qr=$e*3/7,wr=$e*4/7,Rr=$e*17/28,sa=$e*21/28,Ir=$e*11/14,Jr=tt+ar,Pa=tt+Rr,Sa=tt+sa,Ia=tt+Ir,tn=Fe+Jt,y0=Fe+Qr,Gn=Fe+wr,R0=$e/14,Ii=$e*3/28;var Xn=tn+ar,x0=y0+$t,Sc=Ia+Ii,Hf=(Gn+y0+ar)/2,xe="M0,0 L"+u+",0 L"+u+","+h+" L0,"+h+" zM"+tn+","+Jr+ve(Xn,Jr,ar,ar,180,360,!1).replace("M","L")+ve(Hf,Jr,$t,Jt,0,90,!1).replace("M","L")+ve(Hf,Pa,R0,Ii,270,180,!1).replace("M","L")+" L"+Gn+","+Sa+" L"+y0+","+Sa+" L"+y0+","+Pa+ve(x0,Pa,$t,Jt,180,270,!1).replace("M","L")+ve(Gn,Jr,R0,Ii,90,0,!1).replace("M","L")+ve(Xn,Jr,$t,$t,0,-180,!1).replace("M","L")+" zM"+O+","+Ia+ve(O,Sc,Ii,Ii,270,630,!1).replace("M","L")+" z";p+="<path d='"+xe+"' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"actionButtonHome":var O=u/2,W=h/2,Ie=Math.min(u,h),he,tt,Gt,Fe,Ct,$e,$t,Jt,ar,Qt,qr,Qr,wr,Rr,ua,sa,Ir,Gr,ca,Jr,ia,Pa,Sa,Ia,Wa,tn;he=Ie*3/8,tt=W-he,Gt=W+he,Fe=O-he,Ct=O+he,$e=Ie*3/4,$t=$e/16,Jt=$e/8,ar=$e*3/16,Qt=$e*5/16,qr=$e*7/16,Qr=$e*9/16,wr=$e*11/16,Rr=$e*3/4,ua=$e*13/16,sa=$e*7/8,Ir=tt+$t,Gr=tt+ar,ca=tt+Qt,Jr=tt+Rr,ia=Fe+Jt,Pa=Fe+qr,Sa=Fe+Qr,Ia=Fe+wr,Wa=Fe+ua,tn=Fe+sa;var xe="M0,0 L"+u+",0 L"+u+","+h+" L0,"+h+" z M"+O+","+tt+" L"+Fe+","+W+" L"+ia+","+W+" L"+ia+","+Gt+" L"+tn+","+Gt+" L"+tn+","+W+" L"+Ct+","+W+" L"+Wa+","+ca+" L"+Wa+","+Ir+" L"+Ia+","+Ir+" L"+Ia+","+Gr+" z M"+Pa+","+Jr+" L"+Sa+","+Jr+" L"+Sa+","+Gt+" L"+Pa+","+Gt+" z";p+="<path d='"+xe+"' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"actionButtonInformation":var O=u/2,W=h/2,Ie=Math.min(u,h),he,tt,Fe,$e,$t,Qt,qr,Qr,wr,ua,sa,Ir,Gr,ia,Pa,Sa,Ia,Wa,Sn,rn,Gn,w0;he=Ie*3/8,tt=W-he,Fe=O-he,$e=Ie*3/4,$t=$e/32,Qt=$e*5/16,qr=$e*3/8,Qr=$e*13/32,wr=$e*19/32,ua=$e*11/16,sa=$e*13/16,Ir=$e*7/8,Gr=tt+$t,ia=tt+Qt,Pa=tt+qr,Sa=tt+sa,Ia=tt+Ir,Wa=Fe+Qt,Sn=Fe+Qr,rn=Fe+wr,Gn=Fe+ua,w0=$e*3/32;var t0=tt+he,C0=Gr+w0,xe="M0,0 L"+u+",0 L"+u+","+h+" L0,"+h+" zM"+O+","+tt+ve(O,t0,he,he,270,630,!1).replace("M","L")+" zM"+O+","+Gr+ve(O,C0,w0,w0,270,630,!1).replace("M","L")+"M"+Wa+","+ia+" L"+rn+","+ia+" L"+rn+","+Sa+" L"+Gn+","+Sa+" L"+Gn+","+Ia+" L"+Wa+","+Ia+" L"+Wa+","+Sa+" L"+Sn+","+Sa+" L"+Sn+","+Pa+" L"+Wa+","+Pa+" z";p+="<path d='"+xe+"' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"actionButtonMovie":var O=u/2,W=h/2,Ie=Math.min(u,h),he,tt,Gt,Fe,Ct,$e,$t,Jt,ar,Qt,qr,Qr,wr,Rr,ua,sa,Ir,Gr,ca,Jr,ia,Pa,Sa,Ia,Wa,tn,Sn,rn,y0,Gn,w0,D1,N1,R0,Ii,z1,C1,x1,O1,G1,Z5;he=Ie*3/8,tt=W-he,Gt=W+he,Fe=O-he,Ct=O+he,$e=Ie*3/4,$t=$e*1455/21600,Jt=$e*1905/21600,ar=$e*2325/21600,Qt=$e*16155/21600,qr=$e*17010/21600,Qr=$e*19335/21600,wr=$e*19725/21600,Rr=$e*20595/21600,ua=$e*5280/21600,sa=$e*5730/21600,Ir=$e*6630/21600,Gr=$e*7492/21600,ca=$e*9067/21600,Jr=$e*9555/21600,ia=$e*13342/21600,Pa=$e*14580/21600,Sa=$e*15592/21600,Ia=Fe+$t,Wa=Fe+Jt,tn=Fe+ar,Sn=Fe+Qt,rn=Fe+qr,y0=Fe+Qr,Gn=Fe+wr,w0=Fe+Rr,D1=tt+ua,N1=tt+sa,R0=tt+Ir,Ii=tt+Gr,z1=tt+ca,C1=tt+Jr,x1=tt+ia,O1=tt+Pa,G1=tt+Sa,Z5=tt+Ia;var xe="M0,"+h+" L"+u+","+h+" L"+u+",0 L0,0 zM"+Fe+","+D1+" L"+Fe+","+C1+" L"+Ia+","+C1+" L"+Wa+","+z1+" L"+tn+","+z1+" L"+tn+","+G1+" L"+rn+","+G1+" L"+rn+","+x1+" L"+y0+","+x1+" L"+w0+","+O1+" L"+Ct+","+O1+" L"+Ct+","+R0+" L"+w0+","+R0+" L"+Gn+","+Ii+" L"+rn+","+Ii+" L"+rn+","+R0+" L"+Sn+","+N1+" L"+Wa+","+N1+" L"+Ia+","+D1+" z";p+="<path d='"+xe+"' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"actionButtonReturn":var O=u/2,W=h/2,Ie=Math.min(u,h),he,tt,Gt,Fe,Ct,$e,$t,Jt,ar,Qt,qr,Qr,wr,Rr,ua,sa,Ir,Gr,ca,Jr;he=Ie*3/8,tt=W-he,Gt=W+he,Fe=O-he,Ct=O+he,$e=Ie*3/4,$t=$e*7/8,Jt=$e*3/4,ar=$e*5/8,Qt=$e*3/8,qr=$e/4,Qr=tt+Jt,wr=tt+ar,Rr=tt+qr,ua=Fe+$t,sa=Fe+Jt,Ir=Fe+ar,Gr=Fe+Qt,ca=Fe+qr,Jr=$e/8;var Xn=Ir-Jr,C0=Qr-Jr,Pc=Fe+Qt,Ic=Gt-Qt,xe="M0,"+h+" L"+u+","+h+" L"+u+",0 L0,0 z M"+Ct+","+Rr+" L"+sa+","+tt+" L"+O+","+Rr+" L"+Ir+","+Rr+" L"+Ir+","+wr+ve(Xn,wr,Jr,Jr,0,90,!1).replace("M","L")+" L"+Gr+","+Qr+ve(Gr,C0,Jr,Jr,90,180,!1).replace("M","L")+" L"+ca+","+Rr+" L"+Fe+","+Rr+" L"+Fe+","+wr+ve(Pc,wr,Qt,Qt,180,90,!1).replace("M","L")+" L"+O+","+Gt+ve(O,Ic,Qt,Qt,90,0,!1).replace("M","L")+" L"+ua+","+Rr+" z";p+="<path d='"+xe+"' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"actionButtonSound":var O=u/2,W=h/2,Ie=Math.min(u,h),he,tt,Gt,Fe,Ct,$e,$t,Jt,ar,Qt,qr,Qr,wr,Rr,ua,sa,Ir,Gr,ca;he=Ie*3/8,tt=W-he,Gt=W+he,Fe=O-he,Ct=O+he,$e=Ie*3/4,$t=$e/8,Jt=$e*5/16,ar=$e*5/8,Qt=$e*11/16,qr=$e*3/4,Qr=$e*7/8,wr=tt+$t,Rr=tt+Jt,ua=tt+Qt,sa=tt+Qr,Ir=Fe+Jt,Gr=Fe+ar,ca=Fe+qr;var xe="M0,0 L"+u+",0 L"+u+","+h+" L0,"+h+" z M"+Fe+","+Rr+" L"+Ir+","+Rr+" L"+Gr+","+tt+" L"+Gr+","+Gt+" L"+Ir+","+ua+" L"+Fe+","+ua+" z M"+ca+","+Rr+" L"+Ct+","+wr+" M"+ca+","+W+" L"+Ct+","+W+" M"+ca+","+ua+" L"+Ct+","+sa;p+="<path d='"+xe+"' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"irregularSeal1":case"irregularSeal2":if(y=="irregularSeal1")var xe="M"+u*10800/21600+","+h*5800/21600+" L"+u*14522/21600+",0 L"+u*14155/21600+","+h*5325/21600+" L"+u*18380/21600+","+h*4457/21600+" L"+u*16702/21600+","+h*7315/21600+" L"+u*21097/21600+","+h*8137/21600+" L"+u*17607/21600+","+h*10475/21600+" L"+u+","+h*13290/21600+" L"+u*16837/21600+","+h*12942/21600+" L"+u*18145/21600+","+h*18095/21600+" L"+u*14020/21600+","+h*14457/21600+" L"+u*13247/21600+","+h*19737/21600+" L"+u*10532/21600+","+h*14935/21600+" L"+u*8485/21600+","+h+" L"+u*7715/21600+","+h*15627/21600+" L"+u*4762/21600+","+h*17617/21600+" L"+u*5667/21600+","+h*13937/21600+" L"+u*135/21600+","+h*14587/21600+" L"+u*3722/21600+","+h*11775/21600+" L0,"+h*8615/21600+" L"+u*4627/21600+","+h*7617/21600+" L"+u*370/21600+","+h*2295/21600+" L"+u*7312/21600+","+h*6320/21600+" L"+u*8352/21600+","+h*2295/21600+" z";else if(y=="irregularSeal2")var xe="M"+u*11462/21600+","+h*4342/21600+" L"+u*14790/21600+",0 L"+u*14525/21600+","+h*5777/21600+" L"+u*18007/21600+","+h*3172/21600+" L"+u*16380/21600+","+h*6532/21600+" L"+u+","+h*6645/21600+" L"+u*16985/21600+","+h*9402/21600+" L"+u*18270/21600+","+h*11290/21600+" L"+u*16380/21600+","+h*12310/21600+" L"+u*18877/21600+","+h*15632/21600+" L"+u*14640/21600+","+h*14350/21600+" L"+u*14942/21600+","+h*17370/21600+" L"+u*12180/21600+","+h*15935/21600+" L"+u*11612/21600+","+h*18842/21600+" L"+u*9872/21600+","+h*17370/21600+" L"+u*8700/21600+","+h*19712/21600+" L"+u*7527/21600+","+h*18125/21600+" L"+u*4917/21600+","+h+" L"+u*4805/21600+","+h*18240/21600+" L"+u*1285/21600+","+h*17825/21600+" L"+u*3330/21600+","+h*15370/21600+" L0,"+h*12877/21600+" L"+u*3935/21600+","+h*11592/21600+" L"+u*1172/21600+","+h*8270/21600+" L"+u*5372/21600+","+h*7817/21600+" L"+u*4502/21600+","+h*3625/21600+" L"+u*8550/21600+","+h*6382/21600+" L"+u*9722/21600+","+h*1887/21600+" z";p+="<path d='"+xe+"' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"flowChartTerminator":var D,q,G,bt=180,It=90,wt=270;D=u*3475/21600,q=u*18125/21600,G=h*10800/21600;var xe="M"+D+",0 L"+q+",0"+ve(q,h/2,D,G,wt,wt+bt,!1).replace("M","L")+" L"+D+","+h+ve(D,h/2,D,G,It,It+bt,!1).replace("M","L")+" z";p+="<path d='"+xe+"' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"flowChartPunchedTape":var D,D,G,K,bt=180;D=u*5/20,G=h*2/20,K=h*18/20;var xe="M0,"+G+ve(D,G,D,G,bt,0,!1).replace("M","L")+ve(u*(3/4),G,D,G,bt,360,!1).replace("M","L")+" L"+u+","+K+ve(u*(3/4),K,D,G,0,-bt,!1).replace("M","L")+ve(D,K,D,G,0,bt,!1).replace("M","L")+" z";p+="<path d='"+xe+"' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"flowChartOnlineStorage":var D,G,wt=270,It=90;D=u*1/6,G=h*3/6;var xe="M"+D+",0 L"+u+",0"+ve(u,h/2,D,G,wt,90,!1).replace("M","L")+" L"+D+","+h+ve(D,h/2,D,G,It,270,!1).replace("M","L")+" z";p+="<path d='"+xe+"' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"flowChartDisplay":var D,q,G,wt=270,bt=180;D=u*1/6,q=u*5/6,G=h*3/6;var xe="M0,"+G+" L"+D+",0 L"+q+",0"+ve(u,h/2,D,G,wt,wt+bt,!1).replace("M","L")+" L"+D+","+h+" z";p+="<path d='"+xe+"' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"flowChartDelay":var Ae=u/2,Oe=h/2,bt=180,wt=270,It=90,xe="M0,0 L"+Ae+",0"+ve(Ae,Oe,Ae,Oe,wt,wt+bt,!1).replace("M","L")+" L0,"+h+" z";p+="<path d='"+xe+"' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"flowChartMagneticTape":var Ae=u/2,Oe=h/2,bt=180,wt=270,It=90,Lr,In,Qp;Lr=Oe*Math.sin(Math.PI/4),In=Oe+Lr,Qp=Math.atan(h/u);var W5=Qp*180/Math.PI,xe="M"+Ae+","+h+ve(Ae,Oe,Ae,Oe,It,bt,!1).replace("M","L")+ve(Ae,Oe,Ae,Oe,bt,wt,!1).replace("M","L")+ve(Ae,Oe,Ae,Oe,wt,360,!1).replace("M","L")+ve(Ae,Oe,Ae,Oe,0,W5,!1).replace("M","L")+" L"+u+","+In+" L"+u+","+h+" z";p+="<path d='"+xe+"' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"ellipse":case"flowChartConnector":case"flowChartSummingJunction":case"flowChartOr":if(p+="<ellipse cx='"+u/2+"' cy='"+h/2+"' rx='"+u/2+"' ry='"+h/2+"' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />",y=="flowChartOr")p+=" <polyline points='"+u/2+" 0,"+u/2+" "+h+"' fill='none' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />",p+=" <polyline points='0 "+h/2+","+u+" "+h/2+"' fill='none' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";else if(y=="flowChartSummingJunction"){var yr,Lr,Qi,qi,Fi,In,O=u/2,W=h/2,Ae=u/2,Oe=h/2,Fp=Math.PI/4;yr=Ae*Math.cos(Fp),Lr=Oe*Math.sin(Fp),Qi=O-yr,qi=O+yr,Fi=W-Lr,In=W+Lr,p+=" <polyline points='"+Qi+" "+Fi+","+qi+" "+In+"' fill='none' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />",p+=" <polyline points='"+qi+" "+Fi+","+Qi+" "+In+"' fill='none' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />"}break;case"roundRect":case"round1Rect":case"round2DiagRect":case"round2SameRect":case"snip1Rect":case"snip2DiagRect":case"snip2SameRect":case"flowChartAlternateProcess":case"flowChartPunchedCard":var C=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"]),Se,je,Te,et,B0,D0;if(C!==void 0&&C.constructor===Array)for(var U=0;U<C.length;U++){var le=L(C[U],["attrs","name"]);le=="adj1"?(Se=L(C[U],["attrs","fmla"]),je=parseInt(Se.substr(4))/5e4):le=="adj2"&&(Te=L(C[U],["attrs","fmla"]),et=parseInt(Te.substr(4))/5e4)}else if(C!==void 0&&C.constructor!==Array){var $5=L(C,["attrs","fmla"]);je=parseInt($5.substr(4))/5e4,et=0}var U0="";switch(y){case"roundRect":case"flowChartAlternateProcess":B0="round",D0="cornrAll",je===void 0&&(je=.33334),et=0;break;case"round1Rect":B0="round",D0="cornr1",je===void 0&&(je=.33334),et=0;break;case"round2DiagRect":B0="round",D0="diag",je===void 0&&(je=.33334),et===void 0&&(et=0);break;case"round2SameRect":B0="round",D0="cornr2",je===void 0&&(je=.33334),et===void 0&&(et=0);break;case"snip1Rect":case"flowChartPunchedCard":B0="snip",D0="cornr1",je===void 0&&(je=.33334),et=0,y=="flowChartPunchedCard"&&(U0="transform='translate("+u+",0) scale(-1,1)'");break;case"snip2DiagRect":B0="snip",D0="diag",je===void 0&&(je=0),et===void 0&&(et=.33334);break;case"snip2SameRect":B0="snip",D0="cornr2",je===void 0&&(je=.33334),et===void 0&&(et=0);break}var ze=Ag(u,h,je,et,B0,D0);p+="<path "+U0+" d='"+ze+"' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"snipRoundRect":var C=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"]),Se,je=.33334,Te,et=.33334;if(C!==void 0)for(var U=0;U<C.length;U++){var le=L(C[U],["attrs","name"]);le=="adj1"?(Se=L(C[U],["attrs","fmla"]),je=parseInt(Se.substr(4))/5e4):le=="adj2"&&(Te=L(C[U],["attrs","fmla"]),et=parseInt(Te.substr(4))/5e4)}var ze="M0,"+h+" L"+u+","+h+" L"+u+","+h/2*et+" L"+(u/2+u/2*(1-et))+",0 L"+u/2*je+",0 Q0,0 0,"+h/2*je+" z";p+="<path d='"+ze+"' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"bentConnector2":var xf=wp(y,e,u,h);p+="<polyline points='"+xf.map(function(Zr){return Zr[0]+" "+Zr[1]}).join(",")+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' fill='none' "+T1(b,Be,We)+"/>";break;case"rtTriangle":p+=" <polygon points='0 0,0 "+h+","+u+" "+h+"' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"triangle":case"flowChartExtract":case"flowChartMerge":var ye=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd","attrs","fmla"]),qp=.5;ye!==void 0&&(qp=parseInt(ye.substr(4))*w);var U0="";y=="flowChartMerge"&&(U0="transform='rotate(180 "+u/2+","+h/2+")'"),p+=" <polygon "+U0+" points='"+u*qp+" 0,0 "+h+","+u+" "+h+"' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"diamond":case"flowChartDecision":case"flowChartSort":p+=" <polygon points='"+u/2+" 0,0 "+h/2+","+u/2+" "+h+","+u+" "+h/2+"' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />",y=="flowChartSort"&&(p+=" <polyline points='0 "+h/2+","+u+" "+h/2+"' fill='none' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />");break;case"trapezoid":var Vp=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd","attrs","fmla"]),jp=25e3;Vp!==void 0&&(jp=Et(String(Vp).replace(/^val\s+/,""),25e3));var Y5=t5(e5(u,h,jp));p+=" <polygon points='"+Y5+"' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"flowChartManualOperation":p+=" <polygon points='0 0,"+u+" 0,"+u*4/5+" "+h+","+u/5+" "+h+"' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"flowChartManualInput":p+=" <polygon points='0 "+h/5+","+u+" 0,"+u+" "+h+",0 "+h+"' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"parallelogram":case"flowChartInputOutput":var ye=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd","attrs","fmla"]),U1=.25,H1;if(u>h?H1=u/h:H1=h/u,ye!==void 0){var A5=parseInt(ye.substr(4))/1e5;U1=A5/H1}p+=" <polygon points='"+U1*u+" 0,0 "+h+","+(1-U1)*u+" "+h+","+u+" 0' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"pentagon":p+=" <polygon points='"+.5*u+" 0,0 "+.375*h+","+.15*u+" "+h+","+.85*u+" "+h+","+u+" "+.375*h+"' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"hexagon":case"flowChartPreparation":var ye=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd","attrs","fmla"]),we=25e3*w,Ji=115470*w,ie=5e4*w,ce=1e5*w,_s=60*Math.PI/180;ye!==void 0&&(we=parseInt(ye.substr(4))*w);var ft,Ne,cn,D,q,Re,G,K,W=h/2,Oe=h/2,Ie=Math.min(u,h);ft=ie*u/Ie,Ne=we<0?0:we>ft?ft:we,cn=Oe*Ji/ce,D=Ie*Ne/ce,q=u-D,Re=cn*Math.sin(_s),G=W-Re,K=W+Re;var xe="M0,"+W+" L"+D+","+G+" L"+q+","+G+" L"+u+","+W+" L"+q+","+K+" L"+D+","+K+" z";p+="<path d='"+xe+"' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"heptagon":p+=" <polygon points='"+.5*u+" 0,"+u/8+" "+h/4+",0 "+5/8*h+","+u/4+" "+h+","+3/4*u+" "+h+","+u+" "+5/8*h+","+7/8*u+" "+h/4+"' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"octagon":var ye=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd","attrs","fmla"]),F=.25;ye!==void 0&&(F=parseInt(ye.substr(4))/1e5);var te=1-F;p+=" <polygon points='"+F*u+" 0,0 "+F*h+",0 "+te*h+","+F*u+" "+h+","+te*u+" "+h+","+u+" "+te*h+","+u+" "+F*h+","+te*u+" 0' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"decagon":p+=" <polygon points='"+3/8*u+" 0,"+u/8+" "+h/8+",0 "+h/2+","+u/8+" "+7/8*h+","+3/8*u+" "+h+","+5/8*u+" "+h+","+7/8*u+" "+7/8*h+","+u+" "+h/2+","+7/8*u+" "+h/8+","+5/8*u+" 0' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"dodecagon":p+=" <polygon points='"+3/8*u+" 0,"+u/8+" "+h/8+",0 "+3/8*h+",0 "+5/8*h+","+u/8+" "+7/8*h+","+3/8*u+" "+h+","+5/8*u+" "+h+","+7/8*u+" "+7/8*h+","+u+" "+5/8*h+","+u+" "+3/8*h+","+7/8*u+" "+h/8+","+5/8*u+" 0' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"star4":var Ne,Qe,Xe,Ao,Xo,Ot,xt,Dt,Nt,pa,O=u/2,W=h/2,Ae=u/2,Oe=h/2,we=19098*w,ie=5e4*w,ye=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"]);if(ye!==void 0){var n=ye.attrs.name;n=="adj"&&(we=parseInt(ye.attrs.fmla.substr(4))*w)}Ne=we<0?0:we>ie?ie:we,Qe=Ae*Ne/ie,Xe=Oe*Ne/ie,Ao=Qe*Math.cos(.7853981634),Xo=Xe*Math.sin(.7853981634),Ot=O-Ao,xt=O+Ao,Dt=W-Xo,Nt=W+Xo,pa=W-Xe;var xe="M0,"+W+" L"+Ot+","+Dt+" L"+O+",0 L"+xt+","+Dt+" L"+u+","+W+" L"+xt+","+Nt+" L"+O+","+h+" L"+Ot+","+Nt+" z";p+="<path d='"+xe+"' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"star5":var Ne,da,cn,za,Ge,he,Re,Ze,D,q,se,_e,G,K,Qe,Xe,or,Kt,jt,dr,Ot,xt,er,rr,Dt,Nt,lr,pa,O=u/2,W=h/2,Ae=u/2,Oe=h/2,we=19098*w,Un=105146*w,Ji=110557*w,ft=5e4*w,ie=1e5*w,ye=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"]);ye!==void 0&&Object.keys(ye).forEach(function(Zr){var Vt=ye[Zr].attrs.name;Vt=="adj"?we=parseInt(ye[Zr].attrs.fmla.substr(4))*w:Vt=="hf"?Un=parseInt(ye[Zr].attrs.fmla.substr(4))*w:Vt=="vf"&&(Ji=parseInt(ye[Zr].attrs.fmla.substr(4))*w)}),Ne=we<0?0:we>ft?ft:we,da=Ae*Un/ie,cn=Oe*Ji/ie,za=W*Ji/ie,Ge=da*Math.cos(.31415926536),he=da*Math.cos(5.3407075111),Re=cn*Math.sin(.31415926536),Ze=cn*Math.sin(5.3407075111),D=O-Ge,q=O-he,se=O+he,_e=O+Ge,G=za-Re,K=za-Ze,Qe=da*Ne/ft,Xe=cn*Ne/ft,or=Qe*Math.cos(5.9690260418),Kt=Qe*Math.cos(.94247779608),jt=Xe*Math.sin(.94247779608),dr=Xe*Math.sin(5.9690260418),Ot=O-or,xt=O-Kt,er=O+Kt,rr=O+or,Dt=za-jt,Nt=za-dr,lr=za+Xe,pa=za-Xe;var xe="M"+D+","+G+" L"+xt+","+Dt+" L"+O+",0 L"+er+","+Dt+" L"+_e+","+G+" L"+rr+","+Nt+" L"+se+","+K+" L"+O+","+lr+" L"+q+","+K+" L"+Ot+","+Nt+" z";p+="<path d='"+xe+"' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"star6":var Ne,da,Ge,D,q,K,Qe,Xe,Kt,Ot,xt,er,rr,jt,Dt,Nt,pa,O=u/2,W=h/2,Ae=u/2,Oe=h/2,Vi=h/4,we=28868*w,Un=115470*w,ft=5e4*w,ie=1e5*w,ye=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"]);ye!==void 0&&Object.keys(ye).forEach(function(Zr){var Vt=ye[Zr].attrs.name;Vt=="adj"?we=parseInt(ye[Zr].attrs.fmla.substr(4))*w:Vt=="hf"&&(Un=parseInt(ye[Zr].attrs.fmla.substr(4))*w)}),Ne=we<0?0:we>ft?ft:we,da=Ae*Un/ie,Ge=da*Math.cos(.5235987756),D=O-Ge,q=O+Ge,K=W+Vi,Qe=da*Ne/ft,Xe=Oe*Ne/ft,Kt=Qe/2,Ot=O-Qe,xt=O-Kt,er=O+Kt,rr=O+Qe,jt=Xe*Math.sin(1.0471975512),Dt=W-jt,Nt=W+jt,pa=W-Xe;var xe="M"+D+","+Vi+" L"+xt+","+Dt+" L"+O+",0 L"+er+","+Dt+" L"+q+","+Vi+" L"+rr+","+W+" L"+q+","+K+" L"+er+","+Nt+" L"+O+","+h+" L"+xt+","+Nt+" L"+D+","+K+" L"+Ot+","+W+" z";p+="<path d='"+xe+"' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"star7":var Ne,da,cn,za,Ge,he,Lt,Re,Ze,At,D,q,se,_e,He,qe,G,K,ne,Qe,Xe,or,Kt,ha,Ot,xt,er,rr,Yr,Fr,jt,dr,Ta,Dt,Nt,lr,Er,pa,O=u/2,W=h/2,Ae=u/2,Oe=h/2,we=34601*w,Un=102572*w,Ji=105210*w,ft=5e4*w,ie=1e5*w,ye=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"]);ye!==void 0&&Object.keys(ye).forEach(function(Zr){var Vt=ye[Zr].attrs.name;Vt=="adj"?we=parseInt(ye[Zr].attrs.fmla.substr(4))*w:Vt=="hf"?Un=parseInt(ye[Zr].attrs.fmla.substr(4))*w:Vt=="vf"&&(Ji=parseInt(ye[Zr].attrs.fmla.substr(4))*w)}),Ne=we<0?0:we>ft?ft:we,da=Ae*Un/ie,cn=Oe*Ji/ie,za=W*Ji/ie,Ge=da*97493/1e5,he=da*78183/1e5,Lt=da*43388/1e5,Re=cn*62349/1e5,Ze=cn*22252/1e5,At=cn*90097/1e5,D=O-Ge,q=O-he,se=O-Lt,_e=O+Lt,He=O+he,qe=O+Ge,G=za-Re,K=za+Ze,ne=za+At,Qe=da*Ne/ft,Xe=cn*Ne/ft,or=Qe*97493/1e5,Kt=Qe*78183/1e5,ha=Qe*43388/1e5,Ot=O-or,xt=O-Kt,er=O-ha,rr=O+ha,Yr=O+Kt,Fr=O+or,jt=Xe*90097/1e5,dr=Xe*22252/1e5,Ta=Xe*62349/1e5,Dt=za-jt,Nt=za-dr,lr=za+Ta,Er=za+Xe,pa=za-Xe;var xe="M"+D+","+K+" L"+Ot+","+Nt+" L"+q+","+G+" L"+er+","+Dt+" L"+O+",0 L"+rr+","+Dt+" L"+He+","+G+" L"+Fr+","+Nt+" L"+qe+","+K+" L"+Yr+","+lr+" L"+_e+","+ne+" L"+O+","+Er+" L"+se+","+ne+" L"+xt+","+lr+" z";p+="<path d='"+xe+"' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"star8":var Ne,Ge,D,q,Re,G,K,Qe,Xe,or,Kt,jt,dr,Ot,xt,er,rr,Dt,Nt,lr,Er,pa,O=u/2,W=h/2,Ae=u/2,Oe=h/2,we=37500*w,ft=5e4*w,ie=1e5*w,ye=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"]);if(ye!==void 0){var n=ye.attrs.name;n=="adj"&&(we=parseInt(ye.attrs.fmla.substr(4))*w)}Ne=we<0?0:we>ft?ft:we,Ge=Ae*Math.cos(.7853981634),D=O-Ge,q=O+Ge,Re=Oe*Math.sin(.7853981634),G=W-Re,K=W+Re,Qe=Ae*Ne/ft,Xe=Oe*Ne/ft,or=Qe*92388/1e5,Kt=Qe*38268/1e5,jt=Xe*92388/1e5,dr=Xe*38268/1e5,Ot=O-or,xt=O-Kt,er=O+Kt,rr=O+or,Dt=W-jt,Nt=W-dr,lr=W+dr,Er=W+jt,pa=W-Xe;var xe="M0,"+W+" L"+Ot+","+Nt+" L"+D+","+G+" L"+xt+","+Dt+" L"+O+",0 L"+er+","+Dt+" L"+q+","+G+" L"+rr+","+Nt+" L"+u+","+W+" L"+rr+","+lr+" L"+q+","+K+" L"+er+","+Er+" L"+O+","+h+" L"+xt+","+Er+" L"+D+","+K+" L"+Ot+","+lr+" z";p+="<path d='"+xe+"' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"star10":var Ne,da,Ge,he,D,q,se,_e,Re,Ze,G,K,ne,de,Qe,Xe,or,Kt,jt,dr,Ot,xt,er,rr,Yr,Fr,Dt,Nt,lr,Er,pa,O=u/2,W=h/2,Ae=u/2,Oe=h/2,we=42533*w,Un=105146*w,ft=5e4*w,ie=1e5*w,ye=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"]);ye!==void 0&&Object.keys(ye).forEach(function(Zr){var Vt=ye[Zr].attrs.name;Vt=="adj"?we=parseInt(ye[Zr].attrs.fmla.substr(4))*w:Vt=="hf"&&(Un=parseInt(ye[Zr].attrs.fmla.substr(4))*w)}),Ne=we<0?0:we>ft?ft:we,da=Ae*Un/ie,Ge=da*95106/1e5,he=da*58779/1e5,D=O-Ge,q=O-he,se=O+he,_e=O+Ge,Re=Oe*80902/1e5,Ze=Oe*30902/1e5,G=W-Re,K=W-Ze,ne=W+Ze,de=W+Re,Qe=da*Ne/ft,Xe=Oe*Ne/ft,or=Qe*80902/1e5,Kt=Qe*30902/1e5,jt=Xe*95106/1e5,dr=Xe*58779/1e5,Ot=O-Qe,xt=O-or,er=O-Kt,rr=O+Kt,Yr=O+or,Fr=O+Qe,Dt=W-jt,Nt=W-dr,lr=W+dr,Er=W+jt,pa=W-Xe;var xe="M"+D+","+K+" L"+xt+","+Nt+" L"+q+","+G+" L"+er+","+Dt+" L"+O+",0 L"+rr+","+Dt+" L"+se+","+G+" L"+Yr+","+Nt+" L"+_e+","+K+" L"+Fr+","+W+" L"+_e+","+ne+" L"+Yr+","+lr+" L"+se+","+de+" L"+rr+","+Er+" L"+O+","+h+" L"+er+","+Er+" L"+q+","+de+" L"+xt+","+lr+" L"+D+","+ne+" L"+Ot+","+W+" z";p+="<path d='"+xe+"' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"star12":var Ne,Ge,Re,D,se,_e,G,ne,de,Qe,Xe,or,Kt,ha,jt,dr,Ta,Ot,xt,er,rr,Yr,Fr,Dt,Nt,lr,Er,$a,Ya,pa,O=u/2,W=h/2,Ae=u/2,Oe=h/2,Vi=h/4,Rf=u/4,we=37500*w,ft=5e4*w,ye=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"]);if(ye!==void 0){var n=ye.attrs.name;n=="adj"&&(we=parseInt(ye.attrs.fmla.substr(4))*w)}Ne=we<0?0:we>ft?ft:we,Ge=Ae*Math.cos(.5235987756),Re=Oe*Math.sin(1.0471975512),D=O-Ge,se=u*3/4,_e=O+Ge,G=W-Re,ne=h*3/4,de=W+Re,Qe=Ae*Ne/ft,Xe=Oe*Ne/ft,or=Qe*Math.cos(.2617993878),Kt=Qe*Math.cos(.7853981634),ha=Qe*Math.cos(1.308996939),jt=Xe*Math.sin(1.308996939),dr=Xe*Math.sin(.7853981634),Ta=Xe*Math.sin(.2617993878),Ot=O-or,xt=O-Kt,er=O-ha,rr=O+ha,Yr=O+Kt,Fr=O+or,Dt=W-jt,Nt=W-dr,lr=W-Ta,Er=W+Ta,$a=W+dr,Ya=W+jt,pa=W-Xe;var xe="M0,"+W+" L"+Ot+","+lr+" L"+D+","+Vi+" L"+xt+","+Nt+" L"+Rf+","+G+" L"+er+","+Dt+" L"+O+",0 L"+rr+","+Dt+" L"+se+","+G+" L"+Yr+","+Nt+" L"+_e+","+Vi+" L"+Fr+","+lr+" L"+u+","+W+" L"+Fr+","+Er+" L"+_e+","+ne+" L"+Yr+","+$a+" L"+se+","+de+" L"+rr+","+Ya+" L"+O+","+h+" L"+er+","+Ya+" L"+Rf+","+de+" L"+xt+","+$a+" L"+D+","+ne+" L"+Ot+","+Er+" z";p+="<path d='"+xe+"' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"star16":var Ne,Ge,he,Lt,Re,Ze,At,D,q,se,_e,He,qe,G,K,ne,de,Ye,st,Qe,Xe,or,Kt,ha,Hn,jt,dr,Ta,Zn,Ot,xt,er,rr,Yr,Fr,Wn,$n,Dt,Nt,lr,Er,$a,Ya,Yn,An,yr,Lr,Qi,Fi,qi,In,pa,O=u/2,W=h/2,Ae=u/2,Oe=h/2,we=37500*w,ft=5e4*w,ye=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"]);if(ye!==void 0){var n=ye.attrs.name;n=="adj"&&(we=parseInt(ye.attrs.fmla.substr(4))*w)}Ne=we<0?0:we>ft?ft:we,Ge=Ae*92388/1e5,he=Ae*70711/1e5,Lt=Ae*38268/1e5,Re=Oe*92388/1e5,Ze=Oe*70711/1e5,At=Oe*38268/1e5,D=O-Ge,q=O-he,se=O-Lt,_e=O+Lt,He=O+he,qe=O+Ge,G=W-Re,K=W-Ze,ne=W-At,de=W+At,Ye=W+Ze,st=W+Re,Qe=Ae*Ne/ft,Xe=Oe*Ne/ft,or=Qe*98079/1e5,Kt=Qe*83147/1e5,ha=Qe*55557/1e5,Hn=Qe*19509/1e5,jt=Xe*98079/1e5,dr=Xe*83147/1e5,Ta=Xe*55557/1e5,Zn=Xe*19509/1e5,Ot=O-or,xt=O-Kt,er=O-ha,rr=O-Hn,Yr=O+Hn,Fr=O+ha,Wn=O+Kt,$n=O+or,Dt=W-jt,Nt=W-dr,lr=W-Ta,Er=W-Zn,$a=W+Zn,Ya=W+Ta,Yn=W+dr,An=W+jt,yr=Qe*Math.cos(.7853981634),Lr=Xe*Math.sin(.7853981634),Qi=O-yr,Fi=W-Lr,qi=O+yr,In=W+Lr,pa=W-Xe;var xe="M0,"+W+" L"+Ot+","+Er+" L"+D+","+ne+" L"+xt+","+lr+" L"+q+","+K+" L"+er+","+Nt+" L"+se+","+G+" L"+rr+","+Dt+" L"+O+",0 L"+Yr+","+Dt+" L"+_e+","+G+" L"+Fr+","+Nt+" L"+He+","+K+" L"+Wn+","+lr+" L"+qe+","+ne+" L"+$n+","+Er+" L"+u+","+W+" L"+$n+","+$a+" L"+qe+","+de+" L"+Wn+","+Ya+" L"+He+","+Ye+" L"+Fr+","+Yn+" L"+_e+","+st+" L"+Yr+","+An+" L"+O+","+h+" L"+rr+","+An+" L"+se+","+st+" L"+er+","+Yn+" L"+q+","+Ye+" L"+xt+","+Ya+" L"+D+","+de+" L"+Ot+","+$a+" z";p+="<path d='"+xe+"' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"star24":var Ne,Ge,he,Lt,Xa,sn,Re,Ze,At,_n,Ni,D,q,se,_e,He,qe,mt,Mt,qt,Tr,G,K,ne,de,Ye,st,Rt,vr,Ha,hn,Qe,Xe,or,Kt,ha,Hn,ts,rs,jt,dr,Ta,Zn,as,ns,Ot,xt,er,rr,Yr,Fr,Wn,$n,is,ss,os,fs,Dt,Nt,lr,Er,$a,Ya,Yn,An,ls,us,cs,ds,yr,Lr,Qi,Fi,qi,In,pa,O=u/2,W=h/2,Ae=u/2,Oe=h/2,Vi=h/4,Rf=u/4,we=37500*w,ft=5e4*w,ye=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"]);if(ye!==void 0){var n=ye.attrs.name;n=="adj"&&(we=parseInt(ye.attrs.fmla.substr(4))*w)}Ne=we<0?0:we>ft?ft:we,Ge=Ae*Math.cos(.2617993878),he=Ae*Math.cos(.5235987756),Lt=Ae*Math.cos(.7853981634),Xa=Rf,sn=Ae*Math.cos(1.308996939),Re=Oe*Math.sin(1.308996939),Ze=Oe*Math.sin(1.0471975512),At=Oe*Math.sin(.7853981634),_n=Vi,Ni=Oe*Math.sin(.2617993878),D=O-Ge,q=O-he,se=O-Lt,_e=O-Xa,He=O-sn,qe=O+sn,mt=O+Xa,Mt=O+Lt,qt=O+he,Tr=O+Ge,G=W-Re,K=W-Ze,ne=W-At,de=W-_n,Ye=W-Ni,st=W+Ni,Rt=W+_n,vr=W+At,Ha=W+Ze,hn=W+Re,Qe=Ae*Ne/ft,Xe=Oe*Ne/ft,or=Qe*99144/1e5,Kt=Qe*92388/1e5,ha=Qe*79335/1e5,Hn=Qe*60876/1e5,ts=Qe*38268/1e5,rs=Qe*13053/1e5,jt=Xe*99144/1e5,dr=Xe*92388/1e5,Ta=Xe*79335/1e5,Zn=Xe*60876/1e5,as=Xe*38268/1e5,ns=Xe*13053/1e5,Ot=O-or,xt=O-Kt,er=O-ha,rr=O-Hn,Yr=O-ts,Fr=O-rs,Wn=O+rs,$n=O+ts,is=O+Hn,ss=O+ha,os=O+Kt,fs=O+or,Dt=W-jt,Nt=W-dr,lr=W-Ta,Er=W-Zn,$a=W-as,Ya=W-ns,Yn=W+ns,An=W+as,ls=W+Zn,us=W+Ta,cs=W+dr,ds=W+jt,yr=Qe*Math.cos(.7853981634),Lr=Xe*Math.sin(.7853981634),Qi=O-yr,Fi=W-Lr,qi=O+yr,In=W+Lr,pa=W-Xe;var xe="M0,"+W+" L"+Ot+","+Ya+" L"+D+","+Ye+" L"+xt+","+$a+" L"+q+","+de+" L"+er+","+Er+" L"+se+","+ne+" L"+rr+","+lr+" L"+_e+","+K+" L"+Yr+","+Nt+" L"+He+","+G+" L"+Fr+","+Dt+" L"+O+",0 L"+Wn+","+Dt+" L"+qe+","+G+" L"+$n+","+Nt+" L"+mt+","+K+" L"+is+","+lr+" L"+Mt+","+ne+" L"+ss+","+Er+" L"+qt+","+de+" L"+os+","+$a+" L"+Tr+","+Ye+" L"+fs+","+Ya+" L"+u+","+W+" L"+fs+","+Yn+" L"+Tr+","+st+" L"+os+","+An+" L"+qt+","+Rt+" L"+ss+","+ls+" L"+Mt+","+vr+" L"+is+","+us+" L"+mt+","+Ha+" L"+$n+","+cs+" L"+qe+","+hn+" L"+Wn+","+ds+" L"+O+","+h+" L"+Fr+","+ds+" L"+He+","+hn+" L"+Yr+","+cs+" L"+_e+","+Ha+" L"+rr+","+us+" L"+se+","+vr+" L"+er+","+ls+" L"+q+","+Rt+" L"+xt+","+An+" L"+D+","+st+" L"+Ot+","+Yn+" z";p+="<path d='"+xe+"' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"star32":var Ne,Ge,he,Lt,Xa,sn,Uc,es,Re,Ze,At,_n,Ni,Z1,W1,D,q,se,_e,He,qe,mt,Mt,qt,Tr,wi,Ti,yi,e0,G,K,ne,de,Ye,st,Rt,vr,Ha,hn,ms,Wo,$o,Yo,Qe,Xe,or,Kt,ha,Hn,ts,rs,$1,Y1,jt,dr,Ta,Zn,as,ns,A1,X1,Ot,xt,er,rr,Yr,Fr,Wn,$n,is,ss,os,fs,K1,J1,Q1,F1,Dt,Nt,lr,Er,$a,Ya,Yn,An,ls,us,cs,ds,q1,V1,j1,ed,yr,Lr,Qi,Fi,qi,In,pa,O=u/2,W=h/2,Ae=u/2,Oe=h/2,Vi=h/4,Rf=u/4,we=37500*w,ft=5e4*w,ye=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"]);if(ye!==void 0){var n=ye.attrs.name;n=="adj"&&(we=parseInt(ye.attrs.fmla.substr(4))*w)}Ne=we<0?0:we>ft?ft:we,Ge=Ae*98079/1e5,he=Ae*92388/1e5,Lt=Ae*83147/1e5,Xa=Ae*Math.cos(.7853981634),sn=Ae*55557/1e5,Uc=Ae*38268/1e5,es=Ae*19509/1e5,Re=Oe*98079/1e5,Ze=Oe*92388/1e5,At=Oe*83147/1e5,_n=Oe*Math.sin(.7853981634),Ni=Oe*55557/1e5,Z1=Oe*38268/1e5,W1=Oe*19509/1e5,D=O-Ge,q=O-he,se=O-Lt,_e=O-Xa,He=O-sn,qe=O-Uc,mt=O-es,Mt=O+es,qt=O+Uc,Tr=O+sn,wi=O+Xa,Ti=O+Lt,yi=O+he,e0=O+Ge,G=W-Re,K=W-Ze,ne=W-At,de=W-_n,Ye=W-Ni,st=W-Z1,Rt=W-W1,vr=W+W1,Ha=W+Z1,hn=W+Ni,ms=W+_n,Wo=W+At,$o=W+Ze,Yo=W+Re,Qe=Ae*Ne/ft,Xe=Oe*Ne/ft,or=Qe*99518/1e5,Kt=Qe*95694/1e5,ha=Qe*88192/1e5,Hn=Qe*77301/1e5,ts=Qe*63439/1e5,rs=Qe*47140/1e5,$1=Qe*29028/1e5,Y1=Qe*9802/1e5,jt=Xe*99518/1e5,dr=Xe*95694/1e5,Ta=Xe*88192/1e5,Zn=Xe*77301/1e5,as=Xe*63439/1e5,ns=Xe*47140/1e5,A1=Xe*29028/1e5,X1=Xe*9802/1e5,Ot=O-or,xt=O-Kt,er=O-ha,rr=O-Hn,Yr=O-ts,Fr=O-rs,Wn=O-$1,$n=O-Y1,is=O+Y1,ss=O+$1,os=O+rs,fs=O+ts,K1=O+Hn,J1=O+ha,Q1=O+Kt,F1=O+or,Dt=W-jt,Nt=W-dr,lr=W-Ta,Er=W-Zn,$a=W-as,Ya=W-ns,Yn=W-A1,An=W-X1,ls=W+X1,us=W+A1,cs=W+ns,ds=W+as,q1=W+Zn,V1=W+Ta,j1=W+dr,ed=W+jt,yr=Qe*Math.cos(.7853981634),Lr=Xe*Math.sin(.7853981634),Qi=O-yr,Fi=W-Lr,qi=O+yr,In=W+Lr,pa=W-Xe;var xe="M0,"+W+" L"+Ot+","+An+" L"+D+","+Rt+" L"+xt+","+Yn+" L"+q+","+st+" L"+er+","+Ya+" L"+se+","+Ye+" L"+rr+","+$a+" L"+_e+","+de+" L"+Yr+","+Er+" L"+He+","+ne+" L"+Fr+","+lr+" L"+qe+","+K+" L"+Wn+","+Nt+" L"+mt+","+G+" L"+$n+","+Dt+" L"+O+",0 L"+is+","+Dt+" L"+Mt+","+G+" L"+ss+","+Nt+" L"+qt+","+K+" L"+os+","+lr+" L"+Tr+","+ne+" L"+fs+","+Er+" L"+wi+","+de+" L"+K1+","+$a+" L"+Ti+","+Ye+" L"+J1+","+Ya+" L"+yi+","+st+" L"+Q1+","+Yn+" L"+e0+","+Rt+" L"+F1+","+An+" L"+u+","+W+" L"+F1+","+ls+" L"+e0+","+vr+" L"+Q1+","+us+" L"+yi+","+Ha+" L"+J1+","+cs+" L"+Ti+","+hn+" L"+K1+","+ds+" L"+wi+","+ms+" L"+fs+","+q1+" L"+Tr+","+Wo+" L"+os+","+V1+" L"+qt+","+$o+" L"+ss+","+j1+" L"+Mt+","+Yo+" L"+is+","+ed+" L"+O+","+h+" L"+$n+","+ed+" L"+mt+","+Yo+" L"+Wn+","+j1+" L"+qe+","+$o+" L"+Fr+","+V1+" L"+He+","+Wo+" L"+Yr+","+q1+" L"+_e+","+ms+" L"+rr+","+ds+" L"+se+","+hn+" L"+er+","+cs+" L"+q+","+Ha+" L"+xt+","+us+" L"+D+","+vr+" L"+Ot+","+ls+" z";p+="<path d='"+xe+"' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"pie":case"pieWedge":case"arc":var ye=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"]),F,te,rc,Oo,ac,Bf;y=="pie"?(F=0,te=270,rc=h,Bf=!0):y=="pieWedge"?(F=180,te=270,rc=2*h,Bf=!0):y=="arc"&&(F=270,te=0,rc=h,Bf=!1),ye!==void 0&&(Oo=L(ye,["attrs","fmla"]),ac=Oo,Oo===void 0&&(Oo=ye[0].attrs.fmla,ac=ye[1].attrs.fmla),Oo!==void 0&&(F=parseInt(Oo.substr(4))/6e4),ac!==void 0&&(te=parseInt(ac.substr(4))/6e4));var ev=$g(rc,u,F,te,Bf);p+="<path d='"+ev[0]+"' transform='"+ev[1]+"' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"chord":var C=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"]),Se,je=45,Te,et=270;if(C!==void 0)for(var U=0;U<C.length;U++){var le=L(C[U],["attrs","name"]);le=="adj1"?(Se=L(C[U],["attrs","fmla"]),je=parseInt(Se.substr(4))/6e4):le=="adj2"&&(Te=L(C[U],["attrs","fmla"]),et=parseInt(Te.substr(4))/6e4)}var Ve=h/2,Ht=u/2,ze=ve(Ht,Ve,Ht,Ve,je,et,!0);p+="<path d='"+ze+"' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"frame":var ye=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd","attrs","fmla"]),F=12500*w,ie=5e4*w,ce=1e5*w;ye!==void 0&&(F=parseInt(ye.substr(4))*w);var ue,D,_e,de;F<0?ue=0:F>ie?ue=ie:ue=F,D=Math.min(u,h)*ue/ce,_e=u-D,de=h-D;var xe="M0,0 L"+u+",0 L"+u+","+h+" L0,"+h+" zM"+D+","+D+" L"+D+","+de+" L"+_e+","+de+" L"+_e+","+D+" z";p+="<path d='"+xe+"' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"donut":var ye=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd","attrs","fmla"]),we=25e3*w,ie=5e4*w,ce=1e5*w;ye!==void 0&&(we=parseInt(ye.substr(4))*w);var Ne,dn,Qe,Xe;we<0?Ne=0:we>ie?Ne=ie:Ne=we,dn=Math.min(u,h)*Ne/ce,Qe=u/2-dn,Xe=h/2-dn;var xe="M0,"+h/2+ve(u/2,h/2,u/2,h/2,180,270,!1).replace("M","L")+ve(u/2,h/2,u/2,h/2,270,360,!1).replace("M","L")+ve(u/2,h/2,u/2,h/2,0,90,!1).replace("M","L")+ve(u/2,h/2,u/2,h/2,90,180,!1).replace("M","L")+" zM"+dn+","+h/2+ve(u/2,h/2,Qe,Xe,180,90,!1).replace("M","L")+ve(u/2,h/2,Qe,Xe,90,0,!1).replace("M","L")+ve(u/2,h/2,Qe,Xe,0,-90,!1).replace("M","L")+ve(u/2,h/2,Qe,Xe,270,180,!1).replace("M","L")+" z";p+="<path d='"+xe+"' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"noSmoking":var ye=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd","attrs","fmla"]),we=18750*w,ie=5e4*w,ce=1e5*w;ye!==void 0&&(we=parseInt(ye.substr(4))*w);var Ne,dn,Qe,Xe,nc,Wk,td,rd,tv,rv,av,ad,fa,Xt,Ko,O0,s0;we<0?Ne=0:we>ie?Ne=ie:Ne=we,dn=Math.min(u,h)*Ne/ce,Qe=u/2-dn,Xe=h/2-dn,nc=Math.atan(h/u),td=Xe*Math.cos(nc),rd=Qe*Math.sin(nc),tv=Math.sqrt(td*td+rd*rd),rv=Qe*Xe/tv,av=dn/2,ad=Math.atan(av/rv),fa=ad*2,Xt=-Math.PI+fa,O0=nc-ad,s0=O0-Math.PI;var nd,id,nv,sd,Ge,Re,D,G,G,K;nd=Xe*Math.cos(O0),id=Qe*Math.sin(O0),nv=Math.sqrt(nd*nd+id*id),sd=Qe*Xe/nv,Ge=sd*Math.cos(O0),Re=sd*Math.sin(O0),D=u/2+Ge,G=h/2+Re,q=u/2-Ge,K=h/2-Re;var iv=O0*180/Math.PI,sv=s0*180/Math.PI,ov=Xt*180/Math.PI,xe="M0,"+h/2+ve(u/2,h/2,u/2,h/2,180,270,!1).replace("M","L")+ve(u/2,h/2,u/2,h/2,270,360,!1).replace("M","L")+ve(u/2,h/2,u/2,h/2,0,90,!1).replace("M","L")+ve(u/2,h/2,u/2,h/2,90,180,!1).replace("M","L")+" zM"+D+","+G+ve(u/2,h/2,Qe,Xe,iv,iv+ov,!1).replace("M","L")+" zM"+q+","+K+ve(u/2,h/2,Qe,Xe,sv,sv+ov,!1).replace("M","L")+" z";p+="<path d='"+xe+"' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"halfFrame":var C=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"]),Se,je=3.5,Te,et=3.5,an=1e5*w;if(C!==void 0)for(var U=0;U<C.length;U++){var le=L(C[U],["attrs","name"]);le=="adj1"?(Se=L(C[U],["attrs","fmla"]),je=parseInt(Se.substr(4))*w):le=="adj2"&&(Te=L(C[U],["attrs","fmla"]),et=parseInt(Te.substr(4))*w)}var it=Math.min(u,h),vt=an*u/it,ue,Me;et<0?Me=0:et>vt?Me=vt:Me=et;var D=it*Me/an,oc=h*D/u,N0=h-oc,nt=an*N0/it;je<0?ue=0:je>nt?ue=nt:ue=je;var G=it*ue/an,he=G*u/h,q=u-he,Ze=D*h/u,K=h-Ze,xe="M0,0 L"+u+",0 L"+q+","+G+" L"+D+","+G+" L"+D+","+K+" L0,"+h+" z";p+="<path d='"+xe+"' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"blockArc":var C=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"]),Se,F=180,Te,te=0,at,Pe=25e3*w,ie=5e4*w,ce=1e5*w;if(C!==void 0)for(var U=0;U<C.length;U++){var le=L(C[U],["attrs","name"]);le=="adj1"?(Se=L(C[U],["attrs","fmla"]),F=parseInt(Se.substr(4))/6e4):le=="adj2"?(Te=L(C[U],["attrs","fmla"]),te=parseInt(Te.substr(4))/6e4):le=="adj3"&&(at=L(C[U],["attrs","fmla"]),Pe=parseInt(at.substr(4))*w)}var Wt,on,Ke,ic,fv,Xt,$0,Df=360;F<0?Wt=0:F>Df?Wt=Df:Wt=F,te<0?on=0:te>Df?on=Df:on=te,Pe<0?Ke=0:Pe>ie?Ke=ie:Ke=Pe,ic=on-Wt,fv=ic+Df,Xt=ic>0?ic:fv,$0=-Xt;var Li=Wt+Xt,X5=on+$0,Go,Uo,Ge,Re,D,G,Nf,zf,Ae,Oe,O,W;Nf=Wt*Math.PI/180,zf=on*Math.PI/180,Ae=u/2,Oe=h/2,O=u/2,W=h/2,Wt>90&&Wt<270?(Go=Ae*Math.sin(Math.PI/2-Nf),Uo=Oe*Math.cos(Math.PI/2-Nf),Ge=Ae*Math.cos(Math.atan(Uo/Go)),Re=Oe*Math.sin(Math.atan(Uo/Go)),D=O-Ge,G=W-Re):(Go=Ae*Math.sin(Nf),Uo=Oe*Math.cos(Nf),Ge=Ae*Math.cos(Math.atan(Go/Uo)),Re=Oe*Math.sin(Math.atan(Go/Uo)),D=O+Ge,G=W+Re);var dn,Qe,Xe,Ho,Zo,he,Ze,q,K;dn=Math.min(u,h)*Ke/ce,Qe=Ae-dn,Xe=Oe-dn,Li<=450&&Li>270||Li>=630&&Li<720?(Ho=Qe*Math.sin(zf),Zo=Xe*Math.cos(zf),he=Qe*Math.cos(Math.atan(Ho/Zo)),Ze=Xe*Math.sin(Math.atan(Ho/Zo)),q=O+he,K=W+Ze):(Ho=Qe*Math.sin(Math.PI/2-zf),Zo=Xe*Math.cos(Math.PI/2-zf),he=Qe*Math.cos(Math.atan(Zo/Ho)),Ze=Xe*Math.sin(Math.atan(Zo/Ho)),q=O-he,K=W-Ze);var xe="M"+D+","+G+ve(Ae,Oe,Ae,Oe,Wt,Li,!1).replace("M","L")+" L"+q+","+K+ve(Ae,Oe,Qe,Xe,on,X5,!1).replace("M","L")+" z";p+="<path d='"+xe+"' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"bracePair":var ye=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd","attrs","fmla"]),we=8333*w,ie=25e3*w,ce=5e4*w,_t=1e5*w;ye!==void 0&&(we=parseInt(ye.substr(4))*w);var W=h/2,Cf=360,bt=180,It=90,wt=270,Ne,D,q,se,_e,K,ne,de;we<0?Ne=0:we>ie?Ne=ie:Ne=we;var it=Math.min(u,h);D=it*Ne/_t,q=it*Ne/ce,se=u-q,_e=u-D,K=W-D,ne=W+D,de=h-D;var xe="M"+q+","+h+ve(q,de,D,D,It,bt,!1).replace("M","L")+" L"+D+","+ne+ve(0,ne,D,D,0,-It,!1).replace("M","L")+ve(0,K,D,D,It,0,!1).replace("M","L")+" L"+D+","+D+ve(q,D,D,D,bt,wt,!1).replace("M","L")+" M"+se+",0"+ve(se,D,D,D,wt,Cf,!1).replace("M","L")+" L"+_e+","+K+ve(u,K,D,D,bt,It,!1).replace("M","L")+ve(u,ne,D,D,wt,bt,!1).replace("M","L")+" L"+_e+","+de+ve(se,de,D,D,0,It,!1).replace("M","L");p+="<path d='"+xe+"' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"leftBrace":var C=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"]),Se,F=8333*w,Te,te=5e4*w,ce=1e5*w;if(C!==void 0)for(var U=0;U<C.length;U++){var le=L(C[U],["attrs","name"]);le=="adj1"?(Se=L(C[U],["attrs","fmla"]),F=parseInt(Se.substr(4))*w):le=="adj2"&&(Te=L(C[U],["attrs","fmla"]),te=parseInt(Te.substr(4))*w)}var W=h/2,bt=180,It=90,wt=270,ue,Me,zt,yt,cr,G,K,ne,de;te<0?Me=0:te>ce?Me=ce:Me=te;var it=Math.min(u,h);zt=ce-Me,zt<Me?yt=zt:yt=Me,cr=yt/2;var nt=cr*h/it;F<0?ue=0:F>nt?ue=nt:ue=F,G=it*ue/ce,ne=h*Me/ce,K=ne-G,de=ne+G;var xe="M"+u+","+h+ve(u,h-G,u/2,G,It,bt,!1).replace("M","L")+" L"+u/2+","+de+ve(0,de,u/2,G,0,-It,!1).replace("M","L")+ve(0,K,u/2,G,It,0,!1).replace("M","L")+" L"+u/2+","+G+ve(u,G,u/2,G,bt,wt,!1).replace("M","L");p+="<path d='"+xe+"' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"rightBrace":var C=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"]),Se,F=8333*w,Te,te=5e4*w,ce=1e5*w;if(C!==void 0)for(var U=0;U<C.length;U++){var le=L(C[U],["attrs","name"]);le=="adj1"?(Se=L(C[U],["attrs","fmla"]),F=parseInt(Se.substr(4))*w):le=="adj2"&&(Te=L(C[U],["attrs","fmla"]),te=parseInt(Te.substr(4))*w)}var W=h/2,Cf=360,bt=180,It=90,wt=270,ue,Me,zt,yt,cr,G,K,ne,de;te<0?Me=0:te>ce?Me=ce:Me=te;var it=Math.min(u,h);zt=ce-Me,zt<Me?yt=zt:yt=Me,cr=yt/2;var nt=cr*h/it;F<0?ue=0:F>nt?ue=nt:ue=F,G=it*ue/ce,ne=h*Me/ce,K=ne-G,de=h-G;var xe="M0,0"+ve(0,G,u/2,G,wt,Cf,!1).replace("M","L")+" L"+u/2+","+K+ve(u,K,u/2,G,bt,It,!1).replace("M","L")+ve(u,ne+G,u/2,G,wt,bt,!1).replace("M","L")+" L"+u/2+","+de+ve(0,de,u/2,G,0,It,!1).replace("M","L");p+="<path d='"+xe+"' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"bracketPair":var ye=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd","attrs","fmla"]),we=16667*w,ie=5e4*w,ce=1e5*w;ye!==void 0&&(we=parseInt(ye.substr(4))*w);var ut=u,rt=h,bt=180,It=90,wt=270,Ne,D,q,K;we<0?Ne=0:we>ie?Ne=ie:Ne=we,D=Math.min(u,h)*Ne/ce,q=ut-D,K=rt-D;var xe=ve(D,D,D,D,wt,bt,!1)+ve(D,K,D,D,bt,It,!1).replace("M","L")+ve(q,D,D,D,wt,wt+It,!1)+ve(q,K,D,D,0,It,!1).replace("M","L");p+="<path d='"+xe+"' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"leftBracket":var ye=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd","attrs","fmla"]),we=8333*w,ie=5e4*w,ce=1e5*w,ft=ie*h/Math.min(u,h);ye!==void 0&&(we=parseInt(ye.substr(4))*w);var ut=u,rt=h,bt=180,It=90,wt=270,Ne,G,K;we<0?Ne=0:we>ft?Ne=ft:Ne=we,G=Math.min(u,h)*Ne/ce,G>u&&(G=u),K=rt-G;var xe="M"+ut+","+rt+ve(G,K,G,G,It,bt,!1).replace("M","L")+" L0,"+G+ve(G,G,G,G,bt,wt,!1).replace("M","L")+" L"+ut+",0";p+="<path d='"+xe+"' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"rightBracket":var ye=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd","attrs","fmla"]),we=8333*w,ie=5e4*w,ce=1e5*w,ft=ie*h/Math.min(u,h);ye!==void 0&&(we=parseInt(ye.substr(4))*w);var Cf=360,bt=180,It=90,wt=270,Ne,G,K,ne;we<0?Ne=0:we>ft?Ne=ft:Ne=we,G=Math.min(u,h)*Ne/ce,K=h-G,ne=u-G;var xe="M0,"+h+ve(ne,K,G,G,It,0,!1).replace("M","L")+" L"+u+","+h/2+ve(ne,G,G,G,Cf,wt,!1).replace("M","L")+" L0,0";p+="<path d='"+xe+"' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"moon":var ye=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd","attrs","fmla"]),we=.5;ye!==void 0&&(we=parseInt(ye.substr(4))/1e5);var Oe,bt,It;Oe=h/2,bt=180,It=90;var te=(1-we)*u,xe="M"+u+","+h+ve(u,Oe,u,Oe,It,It+bt,!1).replace("M","L")+ve(u,Oe,te,Oe,It+bt,It,!1).replace("M","L")+" z";p+="<path d='"+xe+"' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"corner":var C=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"]),Se,je=5e4*w,Te,et=5e4*w,an=1e5*w;if(C!==void 0)for(var U=0;U<C.length;U++){var le=L(C[U],["attrs","name"]);le=="adj1"?(Se=L(C[U],["attrs","fmla"]),je=parseInt(Se.substr(4))*w):le=="adj2"&&(Te=L(C[U],["attrs","fmla"]),et=parseInt(Te.substr(4))*w)}var it=Math.min(u,h),nt=an*h/it,vt=an*u/it,ue,Me,D,Re,G;je<0?ue=0:je>nt?ue=nt:ue=je,et<0?Me=0:et>vt?Me=vt:Me=et,D=it*Me/an,Re=it*ue/an,G=h-Re;var xe="M0,0 L"+D+",0 L"+D+","+G+" L"+u+","+G+" L"+u+","+h+" L0,"+h+" z";p+="<path d='"+xe+"' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"diagStripe":var ye=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd","attrs","fmla"]),je=5e4*w,an=1e5*w;ye!==void 0&&(je=parseInt(ye.substr(4))*w);var ue,q,K;je<0?ue=0:je>an?ue=an:ue=je,q=u*ue/an,K=h*ue/an;var xe="M0,"+K+" L"+q+",0 L"+u+",0 L0,"+h+" z";p+="<path d='"+xe+"' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"gear6":case"gear9":Q=0;var od=y.substr(4),xe;od=="6",xe=c5(u,h/3.5,parseInt(od)),p+="<path d='"+xe+"' transform='rotate(20,"+3/7*h+","+3/7*h+")' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"bentConnector3":var xf=wp(y,e,u,h);p+="<polyline points='"+xf.map(function(Zr){return Zr[0]+" "+Zr[1]}).join(",")+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' fill='none' "+T1(b,Be,We)+"/>";break;case"plus":var ye=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd","attrs","fmla"]),F=.25;ye!==void 0&&(F=parseInt(ye.substr(4))/1e5);var te=1-F;p+=" <polygon points='"+F*u+" 0,"+F*u+" "+F*h+",0 "+F*h+",0 "+te*h+","+F*u+" "+te*h+","+F*u+" "+h+","+te*u+" "+h+","+te*u+" "+te*h+","+u+" "+te*h+","+ +u+" "+F*h+","+te*u+" "+F*h+","+te*u+" 0' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"teardrop":var ye=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd","attrs","fmla"]),F=1e5*w,Of=F,sc=2e5*w;ye!==void 0&&(F=parseInt(ye.substr(4))*w);var ue,fd,lv,ot,uv,cv,Ge,Re,D,G,q,K,ld;F<0?ue=0:F>sc?ue=sc:ue=F,fd=Math.sqrt(2),lv=fd*(u/2),ot=fd*(h/2),uv=lv*ue/Of,cv=ot*ue/Of,ld=45*Math.PI/180,Ge=uv*Math.cos(ld),Re=cv*Math.cos(ld),D=u/2+Ge,G=h/2-Re,q=(u/2+D)/2,K=(h/2+G)/2;var ze=ve(u/2,h/2,u/2,h/2,180,270,!1)+"Q "+q+",0 "+D+","+G+"Q "+u+","+K+" "+u+","+h/2+ve(u/2,h/2,u/2,h/2,0,90,!1).replace("M","L")+ve(u/2,h/2,u/2,h/2,90,180,!1).replace("M","L")+" z";p+="<path d='"+ze+"' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"plaque":var ye=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd","attrs","fmla"]),F=16667*w,Of=5e4*w,sc=1e5*w;ye!==void 0&&(F=parseInt(ye.substr(4))*w);var ue,D,q,K;F<0?ue=0:F>Of?ue=Of:ue=F,D=ue*Math.min(u,h)/sc,q=u-D,K=h-D;var ze="M0,"+D+ve(0,0,D,D,90,0,!1).replace("M","L")+" L"+q+",0"+ve(u,0,D,D,180,90,!1).replace("M","L")+" L"+u+","+K+ve(u,h,D,D,270,180,!1).replace("M","L")+" L"+D+","+h+ve(0,h,D,D,0,-90,!1).replace("M","L")+" z";p+="<path d='"+ze+"' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"sun":var ye=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd","attrs","fmla"]),ke=w,F=25e3*ke,ie=12500*ke,ce=46875*ke;ye!==void 0&&(F=parseInt(ye.substr(4))*ke);var ue;F<ie?ue=ie:F>ce?ue=ce:ue=F;var hs=5e4*ke,kr=1e5*ke,Gf=hs-ue,oc=Gf*(30274*ke)/(32768*ke),N0=Gf*(12540*ke)/(32768*ke),fc=oc+hs,lc=N0+hs,Uf=hs-oc,ps=hs-N0,z0=Gf*(23170*ke)/(32768*ke),ji=hs+z0,tt=hs-z0,Gt=Uf*3/4,Fe=ps*3/4,Ct=Gt+3662*ke,$e=Fe+36620*ke,$t=Fe+12500*ke,Jt=kr-Gt,ar=kr-Ct,Qt=kr-$e,qr=kr-$t,dv=u*(18436*ke)/(21600*ke),hv=h*(3163*ke)/(21600*ke),pv=u*(3163*ke)/(21600*ke),vv=h*(18436*ke)/(21600*ke),Mt=u*ji/kr,qt=u*tt/kr,Tr=u*Gt/kr,Ti=u*Ct/kr,yi=u*$e/kr,e0=u*$t/kr,vs=u*Jt/kr,mv=u*ar/kr,_v=u*Qt/kr,bv=u*qr/kr,K5=u*ue/kr,Ht=u*Gf/kr,Ve=h*Gf/kr,vr=h*ji/kr,Ha=h*tt/kr,hn=h*Gt/kr,Wo=h*Ct/kr,$o=h*$e/kr,Yo=h*$t/kr,Lv=h*Jt/kr,gv=h*ar/kr,kv=h*Qt/kr,Mv=h*qr/kr,ze="M"+u+","+h/2+" L"+vs+","+Mv+" L"+vs+","+Yo+"z M"+dv+","+hv+" L"+mv+","+kv+" L"+yi+","+Wo+"z M"+u/2+",0 L"+bv+","+hn+" L"+e0+","+hn+"z M"+pv+","+hv+" L"+_v+","+Wo+" L"+Ti+","+kv+"z M0,"+h/2+" L"+Tr+","+Yo+" L"+Tr+","+Mv+"z M"+pv+","+vv+" L"+Ti+","+$o+" L"+_v+","+gv+"z M"+u/2+","+h+" L"+e0+","+Lv+" L"+bv+","+Lv+"z M"+dv+","+vv+" L"+yi+","+gv+" L"+mv+","+$o+" z M"+K5+","+h/2+ve(u/2,h/2,Ht,Ve,180,540,!1).replace("M","L")+" z";p+="<path d='"+ze+"' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"heart":var Ge,he,D,q,se,_e,G;Ge=u*49/48,he=u*10/48,D=u/2-Ge,q=u/2-he,se=u/2+he,_e=u/2+Ge,G=-h/3;var ze="M"+u/2+","+h/4+"C"+se+","+G+" "+_e+","+h/4+" "+u/2+","+h+"C"+D+","+h/4+" "+q+","+G+" "+u/2+","+h/4+" z";p+="<path d='"+ze+"' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"lightningBolt":var D=u*5022/21600,q=u*11050/21600,se=u*8472/21600,_e=u*8757/21600,He=u*10012/21600,qe=u*14767/21600,mt=u*12222/21600,Mt=u*12860/21600,qt=u*13917/21600,Tr=u*7602/21600,wi=u*16577/21600,G=h*3890/21600,K=h*6080/21600,ne=h*6797/21600,de=h*7437/21600,Ye=h*12877/21600,st=h*9705/21600,Rt=h*12007/21600,vr=h*13987/21600,Ha=h*8382/21600,hn=h*14277/21600,ms=h*14915/21600,ze="M"+se+",0 L"+Mt+","+K+" L"+q+","+ne+" L"+wi+","+Rt+" L"+qe+","+Ye+" L"+u+","+h+" L"+He+","+ms+" L"+mt+","+vr+" L"+D+","+st+" L"+Tr+","+Ha+" L0,"+G+" z";p+="<path d='"+ze+"' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"cube":var ye=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd","attrs","fmla"]),ke=w,we=25e3*ke;ye!==void 0&&(we=parseInt(ye.substr(4))*ke);var ze,ce=1e5*ke,Ie=Math.min(u,h),Ne,G,de,_e;Ne=we<0?0:we>ce?ce:we,G=Ie*Ne/ce,de=h-G,_e=u-G,ze="M0,"+G+" L"+G+",0 L"+u+",0 L"+u+","+de+" L"+_e+","+h+" L0,"+h+" zM0,"+G+" L"+_e+","+G+" M"+_e+","+G+" L"+u+",0M"+_e+","+G+" L"+_e+","+h,p+="<path d='"+ze+"' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"bevel":var ye=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd","attrs","fmla"]),ke=w,we=12500*ke;ye!==void 0&&(we=parseInt(ye.substr(4))*ke);var ze,ie=5e4*ke,ce=1e5*ke,Ie=Math.min(u,h),Ne,D,q,K;Ne=we<0?0:we>ie?ie:we,D=Ie*Ne/ce,q=u-D,K=h-D,ze="M0,0 L"+u+",0 L"+u+","+h+" L0,"+h+" z M"+D+","+D+" L"+q+","+D+" L"+q+","+K+" L"+D+","+K+" z M0,0 L"+D+","+D+" M0,"+h+" L"+D+","+K+" M"+u+",0 L"+q+","+D+" M"+u+","+h+" L"+q+","+K,p+="<path d='"+ze+"' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"foldedCorner":var ye=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd","attrs","fmla"]),ke=w,we=16667*ke;ye!==void 0&&(we=parseInt(ye.substr(4))*ke);var ze,ie=5e4*ke,ce=1e5*ke,Ie=Math.min(u,h),Ne,Ze,Re,D,q,K,G;Ne=we<0?0:we>ie?ie:we,Ze=Ie*Ne/ce,Re=Ze/5,D=u-Ze,q=D+Re,K=h-Ze,G=K+Re,ze="M"+D+","+h+" L"+q+","+G+" L"+u+","+K+" L"+D+","+h+" L0,"+h+" L0,0 L"+u+",0 L"+u+","+K,p+="<path d='"+ze+"' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"cloud":case"cloudCallout":var ud,D,q,se,_e,He,qe,mt,Mt,qt,Tr,wi,cd,G,K,ne,de,Ye,st,Rt,vr,Ha,hn,ms,$k,Ev,dd,hd,pd,vd,uc,Yk,Ak,Xk,Kk,Dd,hl,Bd,cl,Jk,Qk,Fk,qk,Vk,jk,e4;ud=u*3900/43200,D=u*4693/43200,q=u*6928/43200,se=u*16478/43200,_e=u*28827/43200,He=u*34129/43200,qe=u*41798/43200,mt=u*38324/43200,Mt=u*29078/43200,qt=u*22141/43200,Tr=u*14e3/43200,wi=u*4127/43200,cd=h*14370/43200,G=h*26177/43200,K=h*34899/43200,ne=h*39090/43200,de=h*34751/43200,Ye=h*22954/43200,st=h*15354/43200,Rt=h*5426/43200,vr=h*3952/43200,Ha=h*4720/43200,hn=h*5192/43200,ms=h*15789/43200;var Pv=u*6753/43200,Sv=h*9190/43200,cc=u*5333/43200,Iv=h*7267/43200,Tv=u*4365/43200,dc=h*5945/43200,yv=u*4857/43200,wv=h*6595/43200,Rv=h*7273/43200,Bv=u*6775/43200,Dv=h*9220/43200,Nv=u*5785/43200,zv=h*7867/43200,Cv=u*6752/43200,xv=h*9215/43200,Ov=u*7720/43200,Gv=h*10543/43200,Uv=u*4360/43200,Hv=h*5918/43200,Zv=u*4345/43200,hc=-11429249/6e4,J5=7426832/6e4,pc=-8646143/6e4,Q5=5396714/6e4,vc=-8748475/6e4,F5=5983381/6e4,mc=-7859164/6e4,q5=7034504/6e4,_c=-4722533/6e4,V5=6541615/6e4,bc=-2776035/6e4,j5=7816140/6e4,Lc=37501/6e4,eb=6842e3/6e4,gc=1347096/6e4,tb=6910353/6e4,kc=3974558/6e4,rb=4542661/6e4,Mc=-16496525/6e4,ab=8804134/6e4,Ec=-14809710/6e4,nb=9151131/6e4,Wv,Xn,x0,Pc,Hf,$v,Yv,Av,Xv,Kv,Jv,Qv,t0,C0,Sc,Ic,Fv,qv,Vv,jv,e2,t2,Tc,yc,wc,Rc,Bc,Dc,Nc,zc,Cc,xc,r2,md,_d,bd,Ld,gd,kd,Md,Ed,Pd,Sd;Wv=ud-Pv*Math.cos(hc*Math.PI/180),Qv=cd-Sv*Math.sin(hc*Math.PI/180),Tc=ve(Wv,Qv,Pv,Sv,hc,hc+J5,!1).replace("M","L"),md=Tc.substr(Tc.lastIndexOf("L")+1).split(" "),Xn=parseInt(md[0])-cc*Math.cos(pc*Math.PI/180),t0=parseInt(md[1])-Iv*Math.sin(pc*Math.PI/180),yc=ve(Xn,t0,cc,Iv,pc,pc+Q5,!1).replace("M","L"),_d=yc.substr(yc.lastIndexOf("L")+1).split(" "),x0=parseInt(_d[0])-Tv*Math.cos(vc*Math.PI/180),C0=parseInt(_d[1])-dc*Math.sin(vc*Math.PI/180),wc=ve(x0,C0,Tv,dc,vc,vc+F5,!1).replace("M","L"),bd=wc.substr(wc.lastIndexOf("L")+1).split(" "),Pc=parseInt(bd[0])-yv*Math.cos(mc*Math.PI/180),Sc=parseInt(bd[1])-wv*Math.sin(mc*Math.PI/180),Rc=ve(Pc,Sc,yv,wv,mc,mc+q5,!1).replace("M","L"),Ld=Rc.substr(Rc.lastIndexOf("L")+1).split(" "),Hf=parseInt(Ld[0])-cc*Math.cos(_c*Math.PI/180),Ic=parseInt(Ld[1])-Rv*Math.sin(_c*Math.PI/180),Bc=ve(Hf,Ic,cc,Rv,_c,_c+V5,!1).replace("M","L"),gd=Bc.substr(Bc.lastIndexOf("L")+1).split(" "),$v=parseInt(gd[0])-Bv*Math.cos(bc*Math.PI/180),Fv=parseInt(gd[1])-Dv*Math.sin(bc*Math.PI/180),Dc=ve($v,Fv,Bv,Dv,bc,bc+j5,!1).replace("M","L"),kd=Dc.substr(Dc.lastIndexOf("L")+1).split(" "),Yv=parseInt(kd[0])-Nv*Math.cos(Lc*Math.PI/180),qv=parseInt(kd[1])-zv*Math.sin(Lc*Math.PI/180),Nc=ve(Yv,qv,Nv,zv,Lc,Lc+eb,!1).replace("M","L"),Md=Nc.substr(Nc.lastIndexOf("L")+1).split(" "),Av=parseInt(Md[0])-Cv*Math.cos(gc*Math.PI/180),Vv=parseInt(Md[1])-xv*Math.sin(gc*Math.PI/180),zc=ve(Av,Vv,Cv,xv,gc,gc+tb,!1).replace("M","L"),Ed=zc.substr(zc.lastIndexOf("L")+1).split(" "),Xv=parseInt(Ed[0])-Ov*Math.cos(kc*Math.PI/180),jv=parseInt(Ed[1])-Gv*Math.sin(kc*Math.PI/180),Cc=ve(Xv,jv,Ov,Gv,kc,kc+rb,!1).replace("M","L"),Pd=Cc.substr(Cc.lastIndexOf("L")+1).split(" "),Kv=parseInt(Pd[0])-Uv*Math.cos(Mc*Math.PI/180),e2=parseInt(Pd[1])-Hv*Math.sin(Mc*Math.PI/180),xc=ve(Kv,e2,Uv,Hv,Mc,Mc+ab,!1).replace("M","L"),Sd=xc.substr(xc.lastIndexOf("L")+1).split(" "),Jv=parseInt(Sd[0])-Zv*Math.cos(Ec*Math.PI/180),t2=parseInt(Sd[1])-dc*Math.sin(Ec*Math.PI/180),r2=ve(Jv,t2,Zv,dc,Ec,Ec+nb,!1).replace("M","L");var a2="M"+ud+","+cd+Tc+yc+wc+Rc+Bc+Dc+Nc+zc+Cc+xc+r2+" z";if(y=="cloudCallout"){var C=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"]),ke=w,Se,F=-20833*ke,Te,te=62500*ke;if(C!==void 0)for(var U=0;U<C.length;U++){var le=L(C[U],["attrs","name"]);le=="adj1"?(Se=L(C[U],["attrs","fmla"]),F=parseInt(Se.substr(4))*ke):le=="adj2"&&(Te=L(C[U],["attrs","fmla"]),te=parseInt(Te.substr(4))*ke)}var ze,ce=1e5*ke,Ie=Math.min(u,h),Ae=u/2,Oe=h/2,ur,pr,Vr,jr,Id,Td,N0,fc,lc,Uf,ps,z0,ji,tt,Gt,Fe,Ct,$e,$t,Jt,ar,Qt,qr,Qr,wr,Rr,ua,sa,Ir,Gr,ca,n2,yd,wd;ur=u*F/ce,pr=h*te/ce,Vr=Ae+ur,jr=Oe+pr,Id=Oe*Math.cos(Math.atan(pr/ur)),Td=Ae*Math.sin(Math.atan(pr/ur)),N0=Ae*Math.cos(Math.atan(Td/Id)),fc=Oe*Math.sin(Math.atan(Td/Id)),F>=0?(lc=Ae+N0,Uf=Oe+fc):(lc=Ae-N0,Uf=Oe-fc),ps=lc-Vr,z0=Uf-jr,ji=Math.sqrt(ps*ps+z0*z0),tt=Ie*6600/21600,Gt=ji-tt,Fe=Gt/3,Ct=Ie*1800/21600,$e=Fe+Ct,$t=$e*ps/ji,Jt=$e*z0/ji,ar=$t+Vr,Qt=Jt+jr,qr=Ie*4800/21600,Qr=Fe*2,wr=qr+Qr,Rr=wr*ps/ji,ua=wr*z0/ji,sa=Rr+Vr,Ir=ua+jr,Gr=Ie*1200/21600,ca=Ie*600/21600,n2=Vr+ca,yd=ar+Gr,wd=sa+Ct,ze=ve(n2-ca,jr,ca,ca,0,360,!1)+" z M"+yd+","+Qt+ve(yd-Gr,Qt,Gr,Gr,0,360,!1).replace("M","L")+" z M"+wd+","+Ir+ve(wd-Ct,Ir,Ct,Ct,0,360,!1).replace("M","L")+" z",a2+=ze}p+="<path d='"+a2+"' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"smileyFace":var ye=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd","attrs","fmla"]),ke=w,we=4653*ke;ye!==void 0&&(we=parseInt(ye.substr(4))*ke);var ze,ie=5e4*ke,ce=1e5*ke,_t=4653*ke,Ie=Math.min(u,h),Ne,D,q,se,_e,G,ne,Ze,K,de,At,Ye,Ht,Ve,Ae,Oe;Ae=u/2,Oe=h/2,Ne=we<-_t?-_t:we>_t?_t:we,D=u*4969/21699,q=u*6215/21600,se=u*13135/21600,_e=u*16640/21600,G=h*7570/21600,ne=h*16515/21600,Ze=h*Ne/ce,K=ne-Ze,de=ne+Ze,At=h*Ne/ie,Ye=de+At,Ht=u*1125/21600,Ve=h*1125/21600;var Xn=q-Ht*Math.cos(Math.PI),t0=G-Ve*Math.sin(Math.PI),x0=se-Ht*Math.cos(Math.PI);ze=ve(Xn,t0,Ht,Ve,180,540,!1)+ve(x0,t0,Ht,Ve,180,540,!1)+" M"+D+","+K+" Q"+Ae+","+Ye+" "+_e+","+K+" Q"+Ae+","+Ye+" "+D+","+K+" M0,"+Oe+ve(Ae,Oe,Ae,Oe,180,540,!1).replace("M","L")+" z",p+="<path d='"+ze+"' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"verticalScroll":case"horizontalScroll":var ye=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd","attrs","fmla"]),ke=w,we=12500*ke;ye!==void 0&&(we=parseInt(ye.substr(4))*ke);var ze,ie=25e3*ke,ce=1e5*ke,Ie=Math.min(u,h),Zt=0,Tt=0,rt=h,ut=u,Ne,hr,Pt,r0;if(Ne=we<0?0:we>ie?ie:we,hr=Ie*Ne/ce,Pt=hr/2,r0=hr/4,y=="verticalScroll"){var se,_e,qe,mt,He,ne,de;se=hr+Pt,_e=hr+hr,qe=ut-hr,mt=ut-Pt,He=qe-Pt,ne=rt-hr,de=rt-Pt,ze="M"+hr+","+ne+" L"+hr+","+Pt+ve(se,Pt,Pt,Pt,180,270,!1).replace("M","L")+" L"+mt+","+Zt+ve(mt,Pt,Pt,Pt,270,450,!1).replace("M","L")+" L"+qe+","+hr+" L"+qe+","+de+ve(He,de,Pt,Pt,0,90,!1).replace("M","L")+" L"+Pt+","+rt+ve(Pt,de,Pt,Pt,90,270,!1).replace("M","L")+" z M"+se+","+Zt+ve(se,Pt,Pt,Pt,270,450,!1).replace("M","L")+ve(se,se/2,r0,r0,90,270,!1).replace("M","L")+" L"+_e+","+Pt+" M"+qe+","+hr+" L"+se+","+hr+" M"+hr+","+de+ve(Pt,de,Pt,Pt,0,270,!1).replace("M","L")+ve(Pt,(de+ne)/2,r0,r0,270,450,!1).replace("M","L")+" z M"+hr+","+de+" L"+hr+","+ne}else if(y=="horizontalScroll"){var ne,de,st,Rt,Ye,se,_e;ne=hr+Pt,de=hr+hr,st=rt-hr,Rt=rt-Pt,Ye=st-Pt,se=ut-hr,_e=ut-Pt,ze="M"+Tt+","+ne+ve(Pt,ne,Pt,Pt,180,270,!1).replace("M","L")+" L"+se+","+hr+" L"+se+","+Pt+ve(_e,Pt,Pt,Pt,180,360,!1).replace("M","L")+" L"+ut+","+Ye+ve(_e,Ye,Pt,Pt,0,90,!1).replace("M","L")+" L"+hr+","+st+" L"+hr+","+Rt+ve(Pt,Rt,Pt,Pt,0,180,!1).replace("M","L")+" zM"+_e+","+hr+ve(_e,Pt,Pt,Pt,90,-180,!1).replace("M","L")+ve((se+_e)/2,Pt,r0,r0,180,0,!1).replace("M","L")+" z M"+_e+","+hr+" L"+se+","+hr+" M"+Pt+","+de+" L"+Pt+","+ne+ve(ne/2,ne,r0,r0,180,360,!1).replace("M","L")+ve(Pt,ne,Pt,Pt,0,180,!1).replace("M","L")+" M"+hr+","+ne+" L"+hr+","+st}p+="<path d='"+ze+"' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"wedgeEllipseCallout":var C=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"]),ke=w,Se,F=-20833*ke,Te,te=62500*ke;if(C!==void 0)for(var U=0;U<C.length;U++){var le=L(C[U],["attrs","name"]);le=="adj1"?(Se=L(C[U],["attrs","fmla"]),F=parseInt(Se.substr(4))*ke):le=="adj2"&&(Te=L(C[U],["attrs","fmla"]),te=parseInt(Te.substr(4))*ke)}var ze,ie=1e5*w,_s=11*Math.PI/180,Ie=Math.min(u,h),ur,pr,Vr,jr,Ao,Xo,Rd,Wt,Qa,Ge,Re,D,G,he,Ze,q,K,O0,t4,r4,mn,Xt,W=h/2,O=u/2;ur=u*F/ie,pr=h*te/ie,Vr=O+ur,jr=W+pr,Ao=ur*h,Xo=pr*u,Rd=Math.atan(Xo/Ao),Wt=Rd+_s,Qa=Rd-_s,console.log("dxPos: ",ur,"dyPos: ",pr),Ge=O*Math.cos(Wt),Re=W*Math.sin(Wt),he=O*Math.cos(Qa),Ze=W*Math.sin(Qa),ur>=0?(D=O+Ge,G=W+Re,q=O+he,K=W+Ze):(D=O-Ge,G=W-Re,q=O-he,K=W-Ze),ze="M"+D+","+G+" L"+Vr+","+jr+" L"+q+","+K+ve(O,W,O,W,0,360,!0),p+="<path d='"+ze+"' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"wedgeRectCallout":var C=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"]),ke=w,Se,F=-20833*ke,Te,te=62500*ke;if(C!==void 0)for(var U=0;U<C.length;U++){var le=L(C[U],["attrs","name"]);le=="adj1"?(Se=L(C[U],["attrs","fmla"]),F=parseInt(Se.substr(4))*ke):le=="adj2"&&(Te=L(C[U],["attrs","fmla"]),te=parseInt(Te.substr(4))*ke)}var ze,ie=1e5*w,ur,pr,Vr,jr,Vn,qn,Zf,Wf,$f,va,Yf,Af,D,q,Xf,Kf,G,K,Jf,Qf,Ff,qf,Ko,Vf,jf,el,tl,rl,al,nl,il,sl,ol,fl,W=h/2,O=u/2;ur=u*F/ie,pr=h*te/ie,Vr=O+ur,jr=W+pr,Vn=Vr-O,qn=jr-W,Zf=ur*h/u,Wf=Math.abs(pr),$f=Math.abs(Zf),va=Wf-$f,Yf=ur>0?7:2,Af=ur>0?10:5,D=u*Yf/12,q=u*Af/12,Xf=pr>0?7:2,Kf=pr>0?10:5,G=h*Xf/12,K=h*Kf/12,Jf=ur>0?0:Vr,Qf=va>0?0:Jf,Ff=pr>0?D:Vr,qf=va>0?Ff:D,Ko=ur>0?Vr:u,Vf=va>0?u:Ko,jf=pr>0?Vr:D,el=va>0?jf:D,tl=ur>0?G:jr,rl=va>0?G:tl,al=pr>0?0:jr,nl=va>0?al:0,il=ur>0?jr:G,sl=va>0?G:il,ol=pr>0?jr:h,fl=va>0?ol:h,ze="M0,0 L"+D+",0 L"+qf+","+nl+" L"+q+",0 L"+u+",0 L"+u+","+G+" L"+Vf+","+sl+" L"+u+","+K+" L"+u+","+h+" L"+q+","+h+" L"+el+","+fl+" L"+D+","+h+" L0,"+h+" L0,"+K+" L"+Qf+","+rl+" L0,"+G+" z",p+="<path d='"+ze+"' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"wedgeRoundRectCallout":var C=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"]),ke=w,Se,F=-20833*ke,Te,te=62500*ke,at,Pe=16667*ke;if(C!==void 0)for(var U=0;U<C.length;U++){var le=L(C[U],["attrs","name"]);le=="adj1"?(Se=L(C[U],["attrs","fmla"]),F=parseInt(Se.substr(4))*ke):le=="adj2"?(Te=L(C[U],["attrs","fmla"]),te=parseInt(Te.substr(4))*ke):le=="adj3"&&(at=L(C[U],["attrs","fmla"]),Pe=parseInt(at.substr(4))*ke)}var ze,ie=1e5*w,Ie=Math.min(u,h),ur,pr,Vr,jr,Zf,Wf,$f,va,Yf,Af,D,q,Xf,Kf,G,K,Jf,Qf,Ff,qf,Ko,Vf,jf,el,tl,rl,al,nl,il,sl,ol,fl,mr,Fa,zi,W=h/2,O=u/2;ur=u*F/ie,pr=h*te/ie,Vr=O+ur,jr=W+pr,Zf=ur*h/u,Wf=Math.abs(pr),$f=Math.abs(Zf),va=Wf-$f,Yf=ur>0?7:2,Af=ur>0?10:5,D=u*Yf/12,q=u*Af/12,Xf=pr>0?7:2,Kf=pr>0?10:5,G=h*Xf/12,K=h*Kf/12,Jf=ur>0?0:Vr,Qf=va>0?0:Jf,Ff=pr>0?D:Vr,qf=va>0?Ff:D,Ko=ur>0?Vr:u,Vf=va>0?u:Ko,jf=pr>0?Vr:D,el=va>0?jf:D,tl=ur>0?G:jr,rl=va>0?G:tl,al=pr>0?0:jr,nl=va>0?al:0,il=ur>0?jr:G,sl=va>0?G:il,ol=pr>0?jr:h,fl=va>0?ol:h,mr=Ie*Pe/ie,Fa=u-mr,zi=h-mr,ze="M0,"+mr+ve(mr,mr,mr,mr,180,270,!1).replace("M","L")+" L"+D+",0 L"+qf+","+nl+" L"+q+",0 L"+Fa+",0"+ve(Fa,mr,mr,mr,270,360,!1).replace("M","L")+" L"+u+","+G+" L"+Vf+","+sl+" L"+u+","+K+" L"+u+","+zi+ve(Fa,zi,mr,mr,0,90,!1).replace("M","L")+" L"+q+","+h+" L"+el+","+fl+" L"+D+","+h+" L"+mr+","+h+ve(mr,zi,mr,mr,90,180,!1).replace("M","L")+" L0,"+K+" L"+Qf+","+rl+" L0,"+G+" z",p+="<path d='"+ze+"' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"accentBorderCallout1":case"accentBorderCallout2":case"accentBorderCallout3":case"borderCallout1":case"borderCallout2":case"borderCallout3":case"accentCallout1":case"accentCallout2":case"accentCallout3":case"callout1":case"callout2":case"callout3":var C=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"]),ke=w,Se,F=18750*ke,Te,te=-8333*ke,at,Pe=18750*ke,nr,pt=-16667*ke,jn,Dr=1e5*ke,i2,a0=-16667*ke,s2,ll=112963*ke,o2,ul=-8333*ke;if(C!==void 0)for(var U=0;U<C.length;U++){var le=L(C[U],["attrs","name"]);le=="adj1"?(Se=L(C[U],["attrs","fmla"]),F=parseInt(Se.substr(4))*ke):le=="adj2"?(Te=L(C[U],["attrs","fmla"]),te=parseInt(Te.substr(4))*ke):le=="adj3"?(at=L(C[U],["attrs","fmla"]),Pe=parseInt(at.substr(4))*ke):le=="adj4"?(nr=L(C[U],["attrs","fmla"]),pt=parseInt(nr.substr(4))*ke):le=="adj5"?(jn=L(C[U],["attrs","fmla"]),Dr=parseInt(jn.substr(4))*ke):le=="adj6"?(i2=L(C[U],["attrs","fmla"]),a0=parseInt(i2.substr(4))*ke):le=="adj7"?(s2=L(C[U],["attrs","fmla"]),ll=parseInt(s2.substr(4))*ke):le=="adj8"&&(o2=L(C[U],["attrs","fmla"]),ul=parseInt(o2.substr(4))*ke)}var ze,ie=1e5*ke,pn=!0;switch(y){case"borderCallout1":case"callout1":y=="borderCallout1"?pn=!0:pn=!1,C===void 0&&(F=18750*ke,te=-8333*ke,Pe=112500*ke,pt=-38333*ke);var G,D,K,q;G=h*F/ie,D=u*te/ie,K=h*Pe/ie,q=u*pt/ie,ze="M0,0 L"+u+",0 L"+u+","+h+" L0,"+h+" z M"+D+","+G+" L"+q+","+K;break;case"borderCallout2":case"callout2":y=="borderCallout2"?pn=!0:pn=!1,C===void 0&&(F=18750*ke,te=-8333*ke,Pe=18750*ke,pt=-16667*ke,Dr=112500*ke,a0=-46667*ke);var G,D,K,q,ne,se;G=h*F/ie,D=u*te/ie,K=h*Pe/ie,q=u*pt/ie,ne=h*Dr/ie,se=u*a0/ie,ze="M0,0 L"+u+",0 L"+u+","+h+" L0,"+h+" z M"+D+","+G+" L"+q+","+K+" L"+se+","+ne+" L"+q+","+K;break;case"borderCallout3":case"callout3":y=="borderCallout3"?pn=!0:pn=!1,C===void 0&&(F=18750*ke,te=-8333*ke,Pe=18750*ke,pt=-16667*ke,Dr=1e5*ke,a0=-16667*ke,ll=112963*ke,ul=-8333*ke);var G,D,K,q,ne,se,de,_e;G=h*F/ie,D=u*te/ie,K=h*Pe/ie,q=u*pt/ie,ne=h*Dr/ie,se=u*a0/ie,de=h*ll/ie,_e=u*ul/ie,ze="M0,0 L"+u+",0 L"+u+","+h+" L0,"+h+" z M"+D+","+G+" L"+q+","+K+" L"+se+","+ne+" L"+_e+","+de+" L"+se+","+ne+" L"+q+","+K;break;case"accentBorderCallout1":case"accentCallout1":y=="accentBorderCallout1"?pn=!0:pn=!1,C===void 0&&(F=18750*ke,te=-8333*ke,Pe=112500*ke,pt=-38333*ke);var G,D,K,q;G=h*F/ie,D=u*te/ie,K=h*Pe/ie,q=u*pt/ie,ze="M0,0 L"+u+",0 L"+u+","+h+" L0,"+h+" z M"+D+","+G+" L"+q+","+K+" M"+D+",0 L"+D+","+h;break;case"accentBorderCallout2":case"accentCallout2":y=="accentBorderCallout2"?pn=!0:pn=!1,C===void 0&&(F=18750*ke,te=-8333*ke,Pe=18750*ke,pt=-16667*ke,Dr=112500*ke,a0=-46667*ke);var G,D,K,q,ne,se;G=h*F/ie,D=u*te/ie,K=h*Pe/ie,q=u*pt/ie,ne=h*Dr/ie,se=u*a0/ie,ze="M0,0 L"+u+",0 L"+u+","+h+" L0,"+h+" z M"+D+","+G+" L"+q+","+K+" L"+se+","+ne+" L"+q+","+K+" M"+D+",0 L"+D+","+h;break;case"accentBorderCallout3":case"accentCallout3":y=="accentBorderCallout3"?pn=!0:pn=!1,pn=!0,C===void 0&&(F=18750*ke,te=-8333*ke,Pe=18750*ke,pt=-16667*ke,Dr=1e5*ke,a0=-16667*ke,ll=112963*ke,ul=-8333*ke);var G,D,K,q,ne,se,de,_e;G=h*F/ie,D=u*te/ie,K=h*Pe/ie,q=u*pt/ie,ne=h*Dr/ie,se=u*a0/ie,de=h*ll/ie,_e=u*ul/ie,ze="M0,0 L"+u+",0 L"+u+","+h+" L0,"+h+" z M"+D+","+G+" L"+q+","+K+" L"+se+","+ne+" L"+_e+","+de+" L"+se+","+ne+" L"+q+","+K+" M"+D+",0 L"+D+","+h;break}p+="<path d='"+ze+"' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"leftRightRibbon":var C=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"]),ke=w,Se,F=5e4*ke,Te,te=5e4*ke,at,Pe=16667*ke;if(C!==void 0)for(var U=0;U<C.length;U++){var le=L(C[U],["attrs","name"]);le=="adj1"?(Se=L(C[U],["attrs","fmla"]),F=parseInt(Se.substr(4))*ke):le=="adj2"?(Te=L(C[U],["attrs","fmla"]),te=parseInt(Te.substr(4))*ke):le=="adj3"&&(at=L(C[U],["attrs","fmla"]),Pe=parseInt(at.substr(4))*ke)}var ze,ie=33333*ke,ce=1e5*ke,_t=2e5*ke,Mr=4e5*ke,Ie=Math.min(u,h),Ke,nt,ue,f2,vt,Me,D,_e,Re,Ze,Jo,cl,Oc,Bd,Gc,Dd,dl,hl,Ve,q,se,G,K,Br=u/32,W=h/2,O=u/2;Ke=Pe<0?0:Pe>ie?ie:Pe,nt=ce-Ke,ue=F<0?0:F>nt?nt:F,f2=O-Br,vt=ce*f2/Ie,Me=te<0?0:te>vt?vt:te,D=Ie*Me/ce,_e=u-D,Re=h*ue/_t,Ze=h*Ke/-_t,Jo=W+Ze-Re,cl=W+Re-Ze,Oc=Jo+Re,Bd=h-Oc,Gc=Oc*2,Dd=h-Gc,dl=Gc-Jo,hl=h-dl,Ve=Ke*Ie/Mr,q=O-Br,se=O+Br,G=Jo+Ve,K=hl-Ve,ze="M0,"+Oc+"L"+D+",0L"+D+","+Jo+"L"+O+","+Jo+ve(O,G,Br,Ve,270,450,!1).replace("M","L")+ve(O,K,Br,Ve,270,90,!1).replace("M","L")+"L"+_e+","+hl+"L"+_e+","+Dd+"L"+u+","+Bd+"L"+_e+","+h+"L"+_e+","+cl+"L"+O+","+cl+ve(O,cl-Ve,Br,Ve,90,180,!1).replace("M","L")+"L"+q+","+dl+"L"+D+","+dl+"L"+D+","+Gc+" zM"+se+","+G+"L"+se+","+hl+"M"+q+","+K+"L"+q+","+dl,p+="<path d='"+ze+"' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"ribbon":case"ribbon2":var C=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"]),Se,F=16667*w,Te,te=5e4*w;if(C!==void 0)for(var U=0;U<C.length;U++){var le=L(C[U],["attrs","name"]);le=="adj1"?(Se=L(C[U],["attrs","fmla"]),F=parseInt(Se.substr(4))*w):le=="adj2"&&(Te=L(C[U],["attrs","fmla"]),te=parseInt(Te.substr(4))*w)}var ze,ie=25e3*w,ce=33333*w,_t=75e3*w,Mr=1e5*w,Aa=2e5*w,ya=4e5*w,O=u/2,Zt=0,Tt=0,rt=h,ut=u,Jn=u/8,Br=u/32,ue,Me,Tr,he,q,qt,se,Mt,He,qe,_e,mt,G,K,de,ne,Ve,st;if(ue=F<0?0:F>ce?ce:F,Me=te<ie?ie:te>_t?_t:te,Tr=ut-Jn,he=u*Me/Aa,q=O-he,qt=O+he,se=q+Br,Mt=qt-Br,He=q+Jn,qe=qt-Jn,_e=He-Br,mt=qe+Br,Ve=h*ue/ya,y=="ribbon2"){var Re,Ze,Rt;Re=h*ue/Aa,G=rt-Re,Ze=h*ue/Mr,K=rt-Ze,de=Zt+Ze,ne=(de+rt)/2,st=rt-Ve,Rt=G-Ve,ze="M"+Tt+","+rt+" L"+Jn+","+ne+" L"+Tt+","+de+" L"+q+","+de+" L"+q+","+Ve+ve(se,Ve,Br,Ve,180,270,!1).replace("M","L")+" L"+Mt+","+Zt+ve(Mt,Ve,Br,Ve,270,360,!1).replace("M","L")+" L"+qt+","+de+" L"+qt+","+de+" L"+ut+","+de+" L"+Tr+","+ne+" L"+ut+","+rt+" L"+mt+","+rt+ve(mt,st,Br,Ve,90,270,!1).replace("M","L")+" L"+Mt+","+G+ve(Mt,Rt,Br,Ve,90,-90,!1).replace("M","L")+" L"+se+","+K+ve(se,Rt,Br,Ve,270,90,!1).replace("M","L")+" L"+_e+","+G+ve(_e,st,Br,Ve,270,450,!1).replace("M","L")+" z M"+He+","+K+" L"+He+","+st+"M"+qe+","+st+" L"+qe+","+K+"M"+q+","+Rt+" L"+q+","+de+"M"+qt+","+de+" L"+qt+","+Rt}else if(y=="ribbon"){var Ye;G=h*ue/Aa,K=h*ue/Mr,de=rt-K,ne=de/2,Ye=rt-Ve,st=K-Ve,ze="M"+Tt+","+Zt+" L"+_e+","+Zt+ve(_e,Ve,Br,Ve,270,450,!1).replace("M","L")+" L"+se+","+G+ve(se,st,Br,Ve,270,90,!1).replace("M","L")+" L"+Mt+","+K+ve(Mt,st,Br,Ve,90,-90,!1).replace("M","L")+" L"+mt+","+G+ve(mt,Ve,Br,Ve,90,270,!1).replace("M","L")+" L"+ut+","+Zt+" L"+Tr+","+ne+" L"+ut+","+de+" L"+qt+","+de+" L"+qt+","+Ye+ve(Mt,Ye,Br,Ve,0,90,!1).replace("M","L")+" L"+se+","+rt+ve(se,Ye,Br,Ve,90,180,!1).replace("M","L")+" L"+q+","+de+" L"+Tt+","+de+" L"+Jn+","+ne+" z M"+He+","+Ve+" L"+He+","+K+"M"+qe+","+K+" L"+qe+","+Ve+"M"+q+","+de+" L"+q+","+st+"M"+qt+","+st+" L"+qt+","+de}p+="<path d='"+ze+"' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"doubleWave":case"wave":var C=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"]),Se,F=y=="doubleWave"?6250*w:12500*w,Te,te=0;if(C!==void 0)for(var U=0;U<C.length;U++){var le=L(C[U],["attrs","name"]);le=="adj1"?(Se=L(C[U],["attrs","fmla"]),F=parseInt(Se.substr(4))*w):le=="adj2"&&(Te=L(C[U],["attrs","fmla"]),te=parseInt(Te.substr(4))*w)}var ze,ce=-1e4*w,_t=5e4*w,Mr=1e5*w,O=u/2,Zt=0,Tt=0,rt=h,ut=u,Jn=u/8,Br=u/32;if(y=="doubleWave"){var ie=12500*w,ue,Me,G,Ze,K,ne,de,Ye,st,Kn,he,q,Nd,Mt,Lt,se,Xa,_e,He,qe,mt,qt,vs,Tr,wi,Ti,yi,e0;ue=F<0?0:F>ie?ie:F,Me=te<ce?ce:te>Mr?Mr:te,G=h*ue/Mr,Ze=G*10/3,K=G-Ze,ne=G+Ze,de=rt-G,Ye=de-Ze,st=de+Ze,Kn=u*Me/_t,he=Kn>0?0:Kn,q=Tt-he,Nd=Kn>0?Kn:0,Mt=ut-Nd,Lt=(he+Mt)/6,se=q+Lt,Xa=(he+Mt)/3,_e=q+Xa,He=(q+Mt)/2,qe=He+Lt,mt=(qe+Mt)/2,qt=Tt+Nd,vs=ut+he,Tr=qt+Lt,wi=qt+Xa,Ti=(qt+vs)/2,yi=Ti+Lt,e0=(yi+vs)/2,ze="M"+q+","+G+" C"+se+","+K+" "+_e+","+ne+" "+He+","+G+" C"+qe+","+K+" "+mt+","+ne+" "+Mt+","+G+" L"+vs+","+de+" C"+e0+","+st+" "+yi+","+Ye+" "+Ti+","+de+" C"+wi+","+st+" "+Tr+","+Ye+" "+qt+","+de+" z"}else if(y=="wave"){var Aa=2e4*w,ue,Me,G,Ze,K,ne,de,Ye,st,Kn,he,q,sn,He,Lt,se,_e,qe,Tr,mt,Mt;ue=F<0?0:F>Aa?Aa:F,Me=te<ce?ce:te>Mr?Mr:te,G=h*ue/Mr,Ze=G*10/3,K=G-Ze,ne=G+Ze,de=rt-G,Ye=de-Ze,st=de+Ze,Kn=u*Me/_t,he=Kn>0?0:Kn,q=Tt-he,sn=Kn>0?Kn:0,He=ut-sn,Lt=(he+He)/3,se=q+Lt,_e=(se+He)/2,qe=Tt+sn,Tr=ut+he,mt=qe+Lt,Mt=(mt+Tr)/2,ze="M"+q+","+G+" C"+se+","+K+" "+_e+","+ne+" "+He+","+G+" L"+Tr+","+de+" C"+Mt+","+st+" "+mt+","+Ye+" "+qe+","+de+" z"}p+="<path d='"+ze+"' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"ellipseRibbon":case"ellipseRibbon2":var C=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"]),Se,F=25e3*w,Te,te=5e4*w,at,Pe=12500*w;if(C!==void 0)for(var U=0;U<C.length;U++){var le=L(C[U],["attrs","name"]);le=="adj1"?(Se=L(C[U],["attrs","fmla"]),F=parseInt(Se.substr(4))*w):le=="adj2"?(Te=L(C[U],["attrs","fmla"]),te=parseInt(Te.substr(4))*w):le=="adj3"&&(at=L(C[U],["attrs","fmla"]),Pe=parseInt(at.substr(4))*w)}var ze,ie=25e3*w,_t=75e3*w,Mr=1e5*w,Aa=2e5*w,O=u/2,Zt=0,Tt=0,rt=h,ut=u,Jn=u/8,ue,Me,Xr,Kr,aa,zd,Ke,he,q,se,_e,He,qe,Re,bs,zt,yt,Qo,Cd,zt,At,cr,gr,Nr,nn,Ar,pl,ra,xd;if(ue=F<0?0:F>Mr?Mr:F,Me=te<ie?ie:te>_t?_t:te,Xr=Mr-ue,Kr=Xr/2,aa=ue-Kr,zd=0>aa?0:aa,Ke=Pe<zd?zd:Pe>ue?ue:Pe,he=u*Me/Aa,q=O-he,se=q+Jn,_e=ut-se,He=ut-q,qe=ut-Jn,Re=h*Ke/Mr,bs=4*Re/u,zt=se*se/u,yt=se-zt,Qo=se/2,Cd=ut-Qo,zt=h*ue/Mr,At=zt-Re,cr=q*q/u,gr=q-cr,Nr=bs*gr,nn=rt-zt,Ar=Re*14/16,pl=q/2,ra=bs*pl,xd=ut-pl,y=="ellipseRibbon"){var G,Ls,ne,Hr,tr,Fo,K,Ye,st,gs,vl,Rt,Od,vr;G=bs*yt,Ls=bs*Qo,ne=Nr+At,Hr=Re+At-ne,tr=Hr+Re,Fo=tr+At,K=(Ar+nn)/2,Ye=Nr+nn,st=ne+nn,gs=ra+nn,vl=Fo+nn,Rt=G+At,Od=zt+zt-Rt,vr=rt-Re,ze="M"+Tt+","+Zt+" Q"+Qo+","+Ls+" "+se+","+G+" L"+q+","+ne+" Q"+O+","+Fo+" "+He+","+ne+" L"+_e+","+G+" Q"+Cd+","+Ls+" "+ut+","+Zt+" L"+qe+","+K+" L"+ut+","+nn+" Q"+xd+","+gs+" "+He+","+Ye+" L"+He+","+st+" Q"+O+","+vl+" "+q+","+st+" L"+q+","+Ye+" Q"+pl+","+gs+" "+Tt+","+nn+" L"+Jn+","+K+" zM"+q+","+Ye+" L"+q+","+ne+"M"+He+","+ne+" L"+He+","+Ye+"M"+se+","+G+" L"+se+","+Rt+"M"+_e+","+Rt+" L"+_e+","+G}else if(y=="ellipseRibbon2"){var mr,G,l2,Ls,cr,Nr,Rn,ne,Hr,tr,Gd,Fo,nn,Ar,Fa,K,H0,Ye,Z0,st,u2,gs,c2,vl,f0,Rt,d2,Od;mr=bs*yt,G=rt-mr,l2=bs*Qo,Ls=rt-l2,Rn=Nr+At,ne=rt-Rn,Hr=Re+At-Rn,tr=Hr+Re,Gd=tr+At,Fo=rt-Gd,Fa=(Ar+nn)/2,K=rt-Fa,H0=Nr+nn,Ye=rt-H0,Z0=Rn+nn,st=rt-Z0,u2=ra+nn,gs=rt-u2,c2=Gd+nn,vl=rt-c2,f0=mr+At,Rt=rt-f0,d2=zt+zt-f0,Od=rt-d2,ze="M"+Tt+","+rt+" L"+Jn+","+K+" L"+Tt+","+zt+" Q"+pl+","+gs+" "+q+","+Ye+" L"+q+","+st+" Q"+O+","+vl+" "+He+","+st+" L"+He+","+Ye+" Q"+xd+","+gs+" "+ut+","+zt+" L"+qe+","+K+" L"+ut+","+rt+" Q"+Cd+","+Ls+" "+_e+","+G+" L"+He+","+ne+" Q"+O+","+Fo+" "+q+","+ne+" L"+se+","+G+" Q"+Qo+","+Ls+" "+Tt+","+rt+" zM"+q+","+ne+" L"+q+","+Ye+"M"+He+","+Ye+" L"+He+","+ne+"M"+se+","+Rt+" L"+se+","+G+"M"+_e+","+G+" L"+_e+","+Rt}p+="<path d='"+ze+"' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"line":case"straightConnector1":case"bentConnector4":case"bentConnector5":if(y==="bentConnector4"||y==="bentConnector5"){var xf=wp(y,e,u,h);p+="<polyline points='"+xf.map(function(Vt){return Vt[0]+" "+Vt[1]}).join(",")+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' fill='none' "+T1(b,Be,We)+"/>";break}case"curvedConnector2":case"curvedConnector3":case"curvedConnector4":case"curvedConnector5":var ib=u5(L(m,["a:ext","attrs","cx"]),"x",_,u),sb=u5(L(m,["a:ext","attrs","cy"]),"y",_,h);p+="<line x1='0' y1='0' x2='"+ib+"' y2='"+sb+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' "+T1(b,Be,We),p+="/>";break;case"rightArrow":var C=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"]),Se,je=.25,Te,et=.5,Fn=u/h;if(C!==void 0)for(var U=0;U<C.length;U++){var le=L(C[U],["attrs","name"]);if(le=="adj1")Se=L(C[U],["attrs","fmla"]),je=.5-parseInt(Se.substr(4))/2e5;else if(le=="adj2"){Te=L(C[U],["attrs","fmla"]);var Qn=parseInt(Te.substr(4))/1e5;et=1-Qn/Fn}}p+=" <polygon points='"+u+" "+h/2+","+et*u+" 0,"+et*u+" "+je*h+",0 "+je*h+",0 "+(1-je)*h+","+et*u+" "+(1-je)*h+", "+et*u+" "+h+"' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"leftArrow":var C=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"]),Se,je=.25,Te,et=.5,Fn=u/h;if(C!==void 0)for(var U=0;U<C.length;U++){var le=L(C[U],["attrs","name"]);if(le=="adj1")Se=L(C[U],["attrs","fmla"]),je=.5-parseInt(Se.substr(4))/2e5;else if(le=="adj2"){Te=L(C[U],["attrs","fmla"]);var Qn=parseInt(Te.substr(4))/1e5;et=Qn/Fn}}p+=" <polygon points='0 "+h/2+","+et*u+" "+h+","+et*u+" "+(1-je)*h+","+u+" "+(1-je)*h+","+u+" "+je*h+","+et*u+" "+je*h+", "+et*u+" 0' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"downArrow":case"flowChartOffpageConnector":var C=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"]),Se,je=.25,Te,et=.5,Fn=h/u;if(C!==void 0)for(var U=0;U<C.length;U++){var le=L(C[U],["attrs","name"]);if(le=="adj1")Se=L(C[U],["attrs","fmla"]),je=parseInt(Se.substr(4))/2e5;else if(le=="adj2"){Te=L(C[U],["attrs","fmla"]);var Qn=parseInt(Te.substr(4))/1e5;et=Qn/Fn}}y=="flowChartOffpageConnector"&&(je=.5,et=.212),p+=" <polygon points='"+(.5-je)*u+" 0,"+(.5-je)*u+" "+(1-et)*h+",0 "+(1-et)*h+","+u/2+" "+h+","+u+" "+(1-et)*h+","+(.5+je)*u+" "+(1-et)*h+", "+(.5+je)*u+" 0' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"upArrow":var C=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"]),Se,je=.25,Te,et=.5,Fn=h/u;if(C!==void 0)for(var U=0;U<C.length;U++){var le=L(C[U],["attrs","name"]);if(le=="adj1")Se=L(C[U],["attrs","fmla"]),je=parseInt(Se.substr(4))/2e5;else if(le=="adj2"){Te=L(C[U],["attrs","fmla"]);var Qn=parseInt(Te.substr(4))/1e5;et=Qn/Fn}}p+=" <polygon points='"+u/2+" 0,0 "+et*h+","+(.5-je)*u+" "+et*h+","+(.5-je)*u+" "+h+","+(.5+je)*u+" "+h+","+(.5+je)*u+" "+et*h+", "+u+" "+et*h+"' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"leftRightArrow":var C=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"]),Se,je=.25,Te,et=.25,Fn=u/h;if(C!==void 0)for(var U=0;U<C.length;U++){var le=L(C[U],["attrs","name"]);if(le=="adj1")Se=L(C[U],["attrs","fmla"]),je=.5-parseInt(Se.substr(4))/2e5;else if(le=="adj2"){Te=L(C[U],["attrs","fmla"]);var Qn=parseInt(Te.substr(4))/1e5;et=Qn/Fn}}p+=" <polygon points='0 "+h/2+","+et*u+" "+h+","+et*u+" "+(1-je)*h+","+(1-et)*u+" "+(1-je)*h+","+(1-et)*u+" "+h+","+u+" "+h/2+", "+(1-et)*u+" 0,"+(1-et)*u+" "+je*h+","+et*u+" "+je*h+","+et*u+" 0' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"upDownArrow":var C=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"]),Se,je=.25,Te,et=.25,Fn=h/u;if(C!==void 0)for(var U=0;U<C.length;U++){var le=L(C[U],["attrs","name"]);if(le=="adj1")Se=L(C[U],["attrs","fmla"]),je=.5-parseInt(Se.substr(4))/2e5;else if(le=="adj2"){Te=L(C[U],["attrs","fmla"]);var Qn=parseInt(Te.substr(4))/1e5;et=Qn/Fn}}p+=" <polygon points='"+u/2+" 0,0 "+et*h+","+je*u+" "+et*h+","+je*u+" "+(1-et)*h+",0 "+(1-et)*h+","+u/2+" "+h+", "+u+" "+(1-et)*h+","+(1-je)*u+" "+(1-et)*h+","+(1-je)*u+" "+et*h+","+u+" "+et*h+"' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"quadArrow":var C=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"]),Se,F=22500*w,Te,te=22500*w,at,Pe=22500*w,ie=5e4*w,ce=1e5*w,_t=2e5*w;if(C!==void 0)for(var U=0;U<C.length;U++){var le=L(C[U],["attrs","name"]);le=="adj1"?(Se=L(C[U],["attrs","fmla"]),F=parseInt(Se.substr(4))*w):le=="adj2"?(Te=L(C[U],["attrs","fmla"]),te=parseInt(Te.substr(4))*w):le=="adj3"&&(at=L(C[U],["attrs","fmla"]),Pe=parseInt(at.substr(4))*w)}var W=h/2,O=u/2,ue,Me,Ke,zt,D,q,he,se,Lt,_e,He,qe,K,ne,de,Ye,st,nt,lt,it=Math.min(u,h);te<0?Me=0:te>ie?Me=ie:Me=te,nt=2*Me,F<0?ue=0:F>nt?ue=nt:ue=F,zt=ce-nt,lt=zt/2,Pe<0?Ke=0:Pe>lt?Ke=lt:Ke=Pe,D=it*Ke/ce,he=it*Me/ce,q=O-he,He=O+he,Lt=it*ue/_t,se=O-Lt,_e=O+Lt,qe=u-D,K=W-he,Ye=W+he,ne=W-Lt,de=W+Lt,st=h-D;var ze="M0,"+W+" L"+D+","+K+" L"+D+","+ne+" L"+se+","+ne+" L"+se+","+D+" L"+q+","+D+" L"+O+",0 L"+He+","+D+" L"+_e+","+D+" L"+_e+","+ne+" L"+qe+","+ne+" L"+qe+","+K+" L"+u+","+W+" L"+qe+","+Ye+" L"+qe+","+de+" L"+_e+","+de+" L"+_e+","+st+" L"+He+","+st+" L"+O+","+h+" L"+q+","+st+" L"+se+","+st+" L"+se+","+de+" L"+D+","+de+" L"+D+","+Ye+" z";p+="<path d='"+ze+"' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"leftRightUpArrow":var C=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"]),Se,F=25e3*w,Te,te=25e3*w,at,Pe=25e3*w,ie=5e4*w,ce=1e5*w,_t=2e5*w;if(C!==void 0)for(var U=0;U<C.length;U++){var le=L(C[U],["attrs","name"]);le=="adj1"?(Se=L(C[U],["attrs","fmla"]),F=parseInt(Se.substr(4))*w):le=="adj2"?(Te=L(C[U],["attrs","fmla"]),te=parseInt(Te.substr(4))*w):le=="adj3"&&(at=L(C[U],["attrs","fmla"]),Pe=parseInt(at.substr(4))*w)}var W=h/2,O=u/2,ue,Me,Ke,zt,D,q,he,se,Lt,_e,He,qe,K,Ze,ne,de,Ye,nt,lt,it=Math.min(u,h);te<0?Me=0:te>ie?Me=ie:Me=te,nt=2*Me,F<0?ue=0:F>nt?ue=nt:ue=F,zt=ce-nt,lt=zt/2,Pe<0?Ke=0:Pe>lt?Ke=lt:Ke=Pe,D=it*Ke/ce,he=it*Me/ce,q=O-he,He=O+he,Lt=it*ue/_t,se=O-Lt,_e=O+Lt,qe=u-D,Ze=it*Me/ie,K=h-Ze,de=h-he,ne=de-Lt,Ye=de+Lt;var ze="M0,"+de+" L"+D+","+K+" L"+D+","+ne+" L"+se+","+ne+" L"+se+","+D+" L"+q+","+D+" L"+O+",0 L"+He+","+D+" L"+_e+","+D+" L"+_e+","+ne+" L"+qe+","+ne+" L"+qe+","+K+" L"+u+","+de+" L"+qe+","+h+" L"+qe+","+Ye+" L"+D+","+Ye+" L"+D+","+h+" z";p+="<path d='"+ze+"' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"leftUpArrow":var C=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"]),Se,F=25e3*w,Te,te=25e3*w,at,Pe=25e3*w,ie=5e4*w,ce=1e5*w,_t=2e5*w;if(C!==void 0)for(var U=0;U<C.length;U++){var le=L(C[U],["attrs","name"]);le=="adj1"?(Se=L(C[U],["attrs","fmla"]),F=parseInt(Se.substr(4))*w):le=="adj2"?(Te=L(C[U],["attrs","fmla"]),te=parseInt(Te.substr(4))*w):le=="adj3"&&(at=L(C[U],["attrs","fmla"]),Pe=parseInt(at.substr(4))*w)}var W=h/2,O=u/2,ue,Me,Ke,D,q,Xa,Lt,se,_e,He,K,ne,de,Ye,nt,lt,it=Math.min(u,h);te<0?Me=0:te>ie?Me=ie:Me=te,nt=2*Me,F<0?ue=0:F>nt?ue=nt:ue=F,lt=ce-nt,Pe<0?Ke=0:Pe>lt?Ke=lt:Ke=Pe,D=it*Ke/ce,he=it*Me/ie,q=u-he,K=h-he,Xa=it*Me/ce,_e=u-Xa,de=h-Xa,Lt=it*ue/_t,se=_e-Lt,He=_e+Lt,ne=de-Lt,Ye=de+Lt;var ze="M0,"+de+" L"+D+","+K+" L"+D+","+ne+" L"+se+","+ne+" L"+se+","+D+" L"+q+","+D+" L"+_e+",0 L"+u+","+D+" L"+He+","+D+" L"+He+","+Ye+" L"+D+","+Ye+" L"+D+","+h+" z";p+="<path d='"+ze+"' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"bentUpArrow":var C=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"]),Se,F=25e3*w,Te,te=25e3*w,at,Pe=25e3*w,ie=5e4*w,ce=1e5*w,_t=2e5*w;if(C!==void 0)for(var U=0;U<C.length;U++){var le=L(C[U],["attrs","name"]);le=="adj1"?(Se=L(C[U],["attrs","fmla"]),F=parseInt(Se.substr(4))*w):le=="adj2"?(Te=L(C[U],["attrs","fmla"]),te=parseInt(Te.substr(4))*w):le=="adj3"&&(at=L(C[U],["attrs","fmla"]),Pe=parseInt(at.substr(4))*w)}var W=h/2,O=u/2,ue,Me,Ke,Ge,D,he,q,Lt,se,_e,G,K,Ze,it=Math.min(u,h);F<0?ue=0:F>ie?ue=ie:ue=F,te<0?Me=0:te>ie?Me=ie:Me=te,Pe<0?Ke=0:Pe>lt?Ke=lt:Ke=Pe,G=it*Ke/ce,Ge=it*Me/ie,D=u-Ge,Lt=it*Me/ce,se=u-Lt,he=it*ue/_t,q=se-he,_e=se+he,Ze=it*ue/ce,K=h-Ze;var ze="M0,"+K+" L"+q+","+K+" L"+q+","+G+" L"+D+","+G+" L"+se+",0 L"+u+","+G+" L"+_e+","+G+" L"+_e+","+h+" L0,"+h+" z";p+="<path d='"+ze+"' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"bentArrow":var C=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"]),Se,F=25e3*w,Te,te=25e3*w,at,Pe=25e3*w,nr,pt=43750*w,ie=5e4*w,ce=1e5*w;if(C!==void 0)for(var U=0;U<C.length;U++){var le=L(C[U],["attrs","name"]);le=="adj1"?(Se=L(C[U],["attrs","fmla"]),F=parseInt(Se.substr(4))*w):le=="adj2"?(Te=L(C[U],["attrs","fmla"]),te=parseInt(Te.substr(4))*w):le=="adj3"?(at=L(C[U],["attrs","fmla"]),Pe=parseInt(at.substr(4))*w):le=="adj4"&&(nr=L(C[U],["attrs","fmla"]),pt=parseInt(nr.substr(4))*w)}var ue,Me,Ke,br,se,_e,ne,de,Ye,st,nt,fr,it=Math.min(u,h);te<0?Me=0:te>ie?Me=ie:Me=te,nt=2*Me,F<0?ue=0:F>nt?ue=nt:ue=F,Pe<0?Ke=0:Pe>ie?Ke=ie:Ke=Pe;var ot,oa,xa,Ri,Ut,ks,Ud,ml,wa,Ms,vn,ot=it*ue/ce;oa=it*Me/ce,xa=ot/2,Ri=oa-xa,Ut=it*Ke/ce,ks=u-Ut,Ud=h-Ri,ml=ks<Ud?ks:Ud,fr=ce*ml/it,pt<0?br=0:pt>fr?br=fr:br=pt,wa=it*br/ce,Ms=wa-ot,vn=Ms>0?Ms:0,se=ot+vn,_e=u-Ut,ne=Ri+ot,de=ne+Ri,Ye=Ri+wa,st=ne+vn;var ze="M0,"+h+" L0,"+Ye+ve(wa,Ye,wa,wa,180,270,!1).replace("M","L")+" L"+_e+","+Ri+" L"+_e+",0 L"+u+","+oa+" L"+_e+","+de+" L"+_e+","+ne+" L"+se+","+ne+ve(se,st,vn,vn,270,180,!1).replace("M","L")+" L"+ot+","+h+" z";p+="<path d='"+ze+"' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"uturnArrow":var C=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"]),Se,F=25e3*w,Te,te=25e3*w,at,Pe=25e3*w,nr,pt=43750*w,jn,Dr=75e3*w,ie=25e3*w,ce=1e5*w;if(C!==void 0)for(var U=0;U<C.length;U++){var le=L(C[U],["attrs","name"]);le=="adj1"?(Se=L(C[U],["attrs","fmla"]),F=parseInt(Se.substr(4))*w):le=="adj2"?(Te=L(C[U],["attrs","fmla"]),te=parseInt(Te.substr(4))*w):le=="adj3"?(at=L(C[U],["attrs","fmla"]),Pe=parseInt(at.substr(4))*w):le=="adj4"?(nr=L(C[U],["attrs","fmla"]),pt=parseInt(nr.substr(4))*w):le=="adj5"&&(jn=L(C[U],["attrs","fmla"]),Dr=parseInt(jn.substr(4))*w)}var ue,Me,Ke,br,wn,zt,yt,cr,se,_e,He,qe,mt,Mt,qt,de,Ye,Hd,nt,lt,fr,it=Math.min(u,h);te<0?Me=0:te>ie?Me=ie:Me=te,nt=2*Me,F<0?ue=0:F>nt?ue=nt:ue=F,yt=ue*it/h,cr=ce-yt,lt=cr*h/it,Pe<0?Ke=0:Pe>lt?Ke=lt:Ke=Pe,zt=Ke+ue,Hd=zt*it/h,Dr<Hd?wn=Hd:Dr>ce?wn=ce:wn=Dr;var ot,oa,xa,Ri,Ut,ks,ml,wa,Ms,vn,ot=it*ue/ce;oa=it*Me/ce,xa=ot/2,Ri=oa-xa,Ye=h*wn/ce,Ut=it*Ke/ce,de=Ye-Ut,qt=u-Ri,ks=qt/2,ml=ks<de?ks:de,fr=ce*ml/it,pt<0?br=0:pt>fr?br=fr:br=pt,wa=it*br/ce,Ms=wa-ot,vn=Ms>0?Ms:0,se=ot+vn,Mt=u-oa,qe=Mt-oa,mt=qe+Ri,_e=qt-wa,He=mt-vn;let Mh=(ot+mt)/2,n4=(de+ot)/2;var ze="M0,"+h+" L0,"+wa+ve(wa,wa,wa,wa,180,270,!1).replace("M","L")+" L"+_e+",0"+ve(_e,wa,wa,wa,270,360,!1).replace("M","L")+" L"+qt+","+de+" L"+u+","+de+" L"+Mt+","+Ye+" L"+qe+","+de+" L"+mt+","+de+" L"+mt+","+se+ve(He,se,vn,vn,0,-90,!1).replace("M","L")+" L"+se+","+ot+ve(se,se,vn,vn,270,180,!1).replace("M","L")+" L"+ot+","+h+" z";p+="<path d='"+ze+"' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"stripedRightArrow":var C=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"]),Se,F=5e4*w,Te,te=5e4*w,ie=1e5*w,ce=2e5*w,_t=84375*w;if(C!==void 0)for(var U=0;U<C.length;U++){var le=L(C[U],["attrs","name"]);le=="adj1"?(Se=L(C[U],["attrs","fmla"]),F=parseInt(Se.substr(4))*w):le=="adj2"&&(Te=L(C[U],["attrs","fmla"]),te=parseInt(Te.substr(4))*w)}var ue,Me,_e,He,sn,qe,Uc,G,Re,K,vt,W=h/2,it=Math.min(u,h);vt=_t*u/it,F<0?ue=0:F>ie?ue=ie:ue=F,te<0?Me=0:te>vt?Me=vt:Me=te,_e=it*5/32,sn=it*Me/ie,He=u-sn,Re=h*ue/ce,G=W-Re,K=W+Re;var jo=it/8,h2=it/16,p2=it/32,ze="M0,"+G+" L"+p2+","+G+" L"+p2+","+K+" L0,"+K+" z M"+h2+","+G+" L"+jo+","+G+" L"+jo+","+K+" L"+h2+","+K+" z M"+_e+","+G+" L"+He+","+G+" L"+He+",0 L"+u+","+W+" L"+He+","+h+" L"+He+","+K+" L"+_e+","+K+" z";p+="<path d='"+ze+"' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"notchedRightArrow":var C=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"]),Se,F=5e4*w,Te,te=5e4*w,ie=1e5*w,ce=2e5*w;if(C!==void 0)for(var U=0;U<C.length;U++){var le=L(C[U],["attrs","name"]);le=="adj1"?(Se=L(C[U],["attrs","fmla"]),F=parseInt(Se.substr(4))*w):le=="adj2"&&(Te=L(C[U],["attrs","fmla"]),te=parseInt(Te.substr(4))*w)}var ue,Me,D,q,he,G,Re,K,vt,W=h/2,Oe=W,it=Math.min(u,h);vt=ie*u/it,F<0?ue=0:F>ie?ue=ie:ue=F,te<0?Me=0:te>vt?Me=vt:Me=te,he=it*Me/ie,q=u-he,Re=h*ue/ce,G=W-Re,K=W+Re,D=Re*he/Oe;var ze="M0,"+G+" L"+q+","+G+" L"+q+",0 L"+u+","+W+" L"+q+","+h+" L"+q+","+K+" L0,"+K+" L"+D+","+W+" z";p+="<path d='"+ze+"' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"homePlate":var ye=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd","attrs","fmla"]),we=5e4*w,ie=1e5*w;ye!==void 0&&(we=parseInt(ye.substr(4))*w);var Ne,D,Ge,ft,W=h/2,it=Math.min(u,h);ft=ie*u/it,we<0?Ne=0:we>ft?Ne=ft:Ne=we,Ge=it*Ne/ie,D=u-Ge;var ze="M0,0 L"+D+",0 L"+u+","+W+" L"+D+","+h+" L0,"+h+" z";p+="<path d='"+ze+"' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"chevron":var ye=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd","attrs","fmla"]),we=5e4*w,ie=1e5*w;ye!==void 0&&(we=parseInt(ye.substr(4))*w);var Ne,D,Ge,q,ft,W=h/2,it=Math.min(u,h);ft=ie*u/it,we<0?Ne=0:we>ft?Ne=ft:Ne=we,D=it*Ne/ie,q=u-D;var ze="M0,0 L"+q+",0 L"+u+","+W+" L"+q+","+h+" L0,"+h+" L"+D+","+W+" z";p+="<path d='"+ze+"' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"rightArrowCallout":var C=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"]),Se,F=25e3*w,Te,te=25e3*w,at,Pe=25e3*w,nr,pt=64977*w,ie=5e4*w,ce=1e5*w,_t=2e5*w;if(C!==void 0)for(var U=0;U<C.length;U++){var le=L(C[U],["attrs","name"]);le=="adj1"?(Se=L(C[U],["attrs","fmla"]),F=parseInt(Se.substr(4))*w):le=="adj2"?(Te=L(C[U],["attrs","fmla"]),te=parseInt(Te.substr(4))*w):le=="adj3"?(at=L(C[U],["attrs","fmla"]),Pe=parseInt(at.substr(4))*w):le=="adj4"&&(nr=L(C[U],["attrs","fmla"]),pt=parseInt(nr.substr(4))*w)}var vt,Me,nt,ue,lt,Ke,yt,fr,br,Re,Ze,G,K,ne,de,Lt,se,q,D,W=h/2,ut=u,rt=h,Tt=0,Zt=0,Ie=Math.min(u,h);vt=ie*h/Ie,Me=te<0?0:te>vt?vt:te,nt=Me*2,ue=F<0?0:F>nt?nt:F,lt=ce*u/Ie,Ke=Pe<0?0:Pe>lt?lt:Pe,yt=Ke*Ie/u,fr=cnstVal-yt,br=pt<0?0:pt>fr?fr:pt,Re=Ie*Me/ce,Ze=Ie*ue/_t,G=W-Re,K=W-Ze,ne=W+Ze,de=W+Re,Lt=Ie*Ke/ce,se=ut-Lt,q=u*br/ce,D=q/2;var ze="M"+Tt+","+Zt+" L"+q+","+Zt+" L"+q+","+K+" L"+se+","+K+" L"+se+","+G+" L"+ut+","+W+" L"+se+","+de+" L"+se+","+ne+" L"+q+","+ne+" L"+q+","+rt+" L"+Tt+","+rt+" z";p+="<path d='"+ze+"' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"downArrowCallout":var C=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"]),Se,F=25e3*w,Te,te=25e3*w,at,Pe=25e3*w,nr,pt=64977*w,ie=5e4*w,ce=1e5*w,_t=2e5*w;if(C!==void 0)for(var U=0;U<C.length;U++){var le=L(C[U],["attrs","name"]);le=="adj1"?(Se=L(C[U],["attrs","fmla"]),F=parseInt(Se.substr(4))*w):le=="adj2"?(Te=L(C[U],["attrs","fmla"]),te=parseInt(Te.substr(4))*w):le=="adj3"?(at=L(C[U],["attrs","fmla"]),Pe=parseInt(at.substr(4))*w):le=="adj4"&&(nr=L(C[U],["attrs","fmla"]),pt=parseInt(nr.substr(4))*w)}var vt,Me,nt,ue,lt,Ke,yt,fr,br,Ge,he,D,q,se,_e,At,ne,K,G,O=u/2,ut=u,rt=h,Tt=0,Zt=0,Ie=Math.min(u,h);vt=ie*u/Ie,Me=te<0?0:te>vt?vt:te,nt=Me*2,ue=F<0?0:F>nt?nt:F,lt=ce*h/Ie,Ke=Pe<0?0:Pe>lt?lt:Pe,yt=Ke*Ie/h,fr=ce-yt,br=pt<0?0:pt>fr?fr:pt,Ge=Ie*Me/ce,he=Ie*ue/_t,D=O-Ge,q=O-he,se=O+he,_e=O+Ge,At=Ie*Ke/ce,ne=rt-At,K=h*br/ce,G=K/2;var ze="M"+Tt+","+Zt+" L"+ut+","+Zt+" L"+ut+","+K+" L"+se+","+K+" L"+se+","+ne+" L"+_e+","+ne+" L"+O+","+rt+" L"+D+","+ne+" L"+q+","+ne+" L"+q+","+K+" L"+Tt+","+K+" z";p+="<path d='"+ze+"' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"leftArrowCallout":var C=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"]),Se,F=25e3*w,Te,te=25e3*w,at,Pe=25e3*w,nr,pt=64977*w,ie=5e4*w,ce=1e5*w,_t=2e5*w;if(C!==void 0)for(var U=0;U<C.length;U++){var le=L(C[U],["attrs","name"]);le=="adj1"?(Se=L(C[U],["attrs","fmla"]),F=parseInt(Se.substr(4))*w):le=="adj2"?(Te=L(C[U],["attrs","fmla"]),te=parseInt(Te.substr(4))*w):le=="adj3"?(at=L(C[U],["attrs","fmla"]),Pe=parseInt(at.substr(4))*w):le=="adj4"&&(nr=L(C[U],["attrs","fmla"]),pt=parseInt(nr.substr(4))*w)}var vt,Me,nt,ue,lt,Ke,yt,fr,br,Re,Ze,G,K,ne,de,D,he,q,se,W=h/2,ut=u,rt=h,Tt=0,Zt=0,Ie=Math.min(u,h);vt=ie*h/Ie,Me=te<0?0:te>vt?vt:te,nt=Me*2,ue=F<0?0:F>nt?nt:F,lt=ce*u/Ie,Ke=Pe<0?0:Pe>lt?lt:Pe,yt=Ke*Ie/u,fr=ce-yt,br=pt<0?0:pt>fr?fr:pt,Re=Ie*Me/ce,Ze=Ie*ue/_t,G=W-Re,K=W-Ze,ne=W+Ze,de=W+Re,D=Ie*Ke/ce,he=u*br/ce,q=ut-he,se=(q+ut)/2;var ze="M"+Tt+","+W+" L"+D+","+G+" L"+D+","+K+" L"+q+","+K+" L"+q+","+Zt+" L"+ut+","+Zt+" L"+ut+","+rt+" L"+q+","+rt+" L"+q+","+ne+" L"+D+","+ne+" L"+D+","+de+" z";p+="<path d='"+ze+"' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"upArrowCallout":var C=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"]),Se,F=25e3*w,Te,te=25e3*w,at,Pe=25e3*w,nr,pt=64977*w,ie=5e4*w,ce=1e5*w,_t=2e5*w;if(C!==void 0)for(var U=0;U<C.length;U++){var le=L(C[U],["attrs","name"]);le=="adj1"?(Se=L(C[U],["attrs","fmla"]),F=parseInt(Se.substr(4))*w):le=="adj2"?(Te=L(C[U],["attrs","fmla"]),te=parseInt(Te.substr(4))*w):le=="adj3"?(at=L(C[U],["attrs","fmla"]),Pe=parseInt(at.substr(4))*w):le=="adj4"&&(nr=L(C[U],["attrs","fmla"]),pt=parseInt(nr.substr(4))*w)}var vt,Me,nt,ue,lt,Ke,yt,fr,br,Ge,he,D,q,se,_e,G,Ze,K,ne,O=u/2,ut=u,rt=h,Tt=0,Zt=0,Ie=Math.min(u,h);vt=ie*u/Ie,Me=te<0?0:te>vt?vt:te,nt=Me*2,ue=F<0?0:F>nt?nt:F,lt=ce*h/Ie,Ke=Pe<0?0:Pe>lt?lt:Pe,yt=Ke*Ie/h,fr=ce-yt,br=pt<0?0:pt>fr?fr:pt,Ge=Ie*Me/ce,he=Ie*ue/_t,D=O-Ge,q=O-he,se=O+he,_e=O+Ge,G=Ie*Ke/ce,Ze=h*br/ce,K=rt-Ze,ne=(K+rt)/2;var ze="M"+Tt+","+K+" L"+q+","+K+" L"+q+","+G+" L"+D+","+G+" L"+O+","+Zt+" L"+_e+","+G+" L"+se+","+G+" L"+se+","+K+" L"+ut+","+K+" L"+ut+","+rt+" L"+Tt+","+rt+" z";p+="<path d='"+ze+"' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"leftRightArrowCallout":var C=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"]),Se,F=25e3*w,Te,te=25e3*w,at,Pe=25e3*w,nr,pt=48123*w,ie=5e4*w,ce=1e5*w,_t=2e5*w;if(C!==void 0)for(var U=0;U<C.length;U++){var le=L(C[U],["attrs","name"]);le=="adj1"?(Se=L(C[U],["attrs","fmla"]),F=parseInt(Se.substr(4))*w):le=="adj2"?(Te=L(C[U],["attrs","fmla"]),te=parseInt(Te.substr(4))*w):le=="adj3"?(at=L(C[U],["attrs","fmla"]),Pe=parseInt(at.substr(4))*w):le=="adj4"&&(nr=L(C[U],["attrs","fmla"]),pt=parseInt(nr.substr(4))*w)}var vt,Me,nt,ue,lt,Ke,yt,fr,br,Re,Ze,G,K,ne,de,D,_e,he,q,se,W=h/2,O=u/2,ut=u,rt=h,Tt=0,Zt=0,Ie=Math.min(u,h);vt=ie*h/Ie,Me=te<0?0:te>vt?vt:te,nt=Me*2,ue=F<0?0:F>nt?nt:F,lt=ie*u/Ie,Ke=Pe<0?0:Pe>lt?lt:Pe,yt=Ke*Ie/Ae,fr=ce-yt,br=pt<0?0:pt>fr?fr:pt,Re=Ie*Me/ce,Ze=Ie*ue/_t,G=W-Re,K=W-Ze,ne=W+Ze,de=W+Re,D=Ie*Ke/ce,_e=ut-D,he=u*br/_t,q=O-he,se=O+he;var ze="M"+Tt+","+W+" L"+D+","+G+" L"+D+","+K+" L"+q+","+K+" L"+q+","+Zt+" L"+se+","+Zt+" L"+se+","+K+" L"+_e+","+K+" L"+_e+","+G+" L"+ut+","+W+" L"+_e+","+de+" L"+_e+","+ne+" L"+se+","+ne+" L"+se+","+rt+" L"+q+","+rt+" L"+q+","+ne+" L"+D+","+ne+" L"+D+","+de+" z";p+="<path d='"+ze+"' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"quadArrowCallout":var C=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"]),Se,F=18515*w,Te,te=18515*w,at,Pe=18515*w,nr,pt=48123*w,ie=5e4*w,ce=1e5*w,_t=2e5*w;if(C!==void 0)for(var U=0;U<C.length;U++){var le=L(C[U],["attrs","name"]);le=="adj1"?(Se=L(C[U],["attrs","fmla"]),F=parseInt(Se.substr(4))*w):le=="adj2"?(Te=L(C[U],["attrs","fmla"]),te=parseInt(Te.substr(4))*w):le=="adj3"?(at=L(C[U],["attrs","fmla"]),Pe=parseInt(at.substr(4))*w):le=="adj4"&&(nr=L(C[U],["attrs","fmla"]),pt=parseInt(nr.substr(4))*w)}var W=h/2,O=u/2,ut=u,rt=h,Tt=0,Zt=0,Ie=Math.min(u,h),Me,nt,ue,lt,Ke,yt,fr,br,he,Lt,Ut,Ge,Re,Mt,q,mt,se,qe,_e,He,vr,K,Rt,ne,st,de,Ye;Me=te<0?0:te>ie?ie:te,nt=Me*2,ue=F<0?0:F>nt?nt:F,lt=ie-Me,Ke=Pe<0?0:Pe>lt?lt:Pe,yt=Ke*2,fr=ce-yt,br=pt<ue?ue:pt>fr?fr:pt,he=Ie*Me/ce,Lt=Ie*ue/_t,Ut=Ie*Ke/ce,Ge=u*br/_t,Re=h*br/_t,Mt=ut-Ut,q=O-Ge,mt=O+Ge,se=O-he,qe=O+he,_e=O-Lt,He=O+Lt,vr=rt-Ut,K=W-Re,Rt=W+Re,ne=W-he,st=W+he,de=W-Lt,Ye=W+Lt;var ze="M"+Tt+","+W+" L"+Ut+","+ne+" L"+Ut+","+de+" L"+q+","+de+" L"+q+","+K+" L"+_e+","+K+" L"+_e+","+Ut+" L"+se+","+Ut+" L"+O+","+Zt+" L"+qe+","+Ut+" L"+He+","+Ut+" L"+He+","+K+" L"+mt+","+K+" L"+mt+","+de+" L"+Mt+","+de+" L"+Mt+","+ne+" L"+ut+","+W+" L"+Mt+","+st+" L"+Mt+","+Ye+" L"+mt+","+Ye+" L"+mt+","+Rt+" L"+He+","+Rt+" L"+He+","+vr+" L"+qe+","+vr+" L"+O+","+rt+" L"+se+","+vr+" L"+_e+","+vr+" L"+_e+","+Rt+" L"+q+","+Rt+" L"+q+","+Ye+" L"+Ut+","+Ye+" L"+Ut+","+st+" z";p+="<path d='"+ze+"' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"curvedDownArrow":var C=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"]),Se,F=25e3*w,Te,te=5e4*w,at,Pe=25e3*w,ie=5e4*w,ce=1e5*w;if(C!==void 0)for(var U=0;U<C.length;U++){var le=L(C[U],["attrs","name"]);le=="adj1"?(Se=L(C[U],["attrs","fmla"]),F=parseInt(Se.substr(4))*w):le=="adj2"?(Te=L(C[U],["attrs","fmla"]),te=parseInt(Te.substr(4))*w):le=="adj3"&&(at=L(C[U],["attrs","fmla"]),Pe=parseInt(at.substr(4))*w)}var W=h/2,O=u/2,Ae=u/2,ut=u,rt=h,Tt=0,Zt=0,wt=270,bt=180,It=90,Ie=Math.min(u,h),vt,Me,ue,ot,ma,zt,Ht,tr,Ar,ra,Xr,Kr,Lr,lt,Ke,Ut,se,yt,cr,gr,Nr,Vn,He,mt,Hr,Ka,_e,Mt,oa,qe,G,Xt,n0,Es,Ps,aa,fa,Wt,s0,mn,i0;vt=ie*u/Ie,Me=te<0?0:te>vt?vt:te,ue=F<0?0:F>ce?ce:F,ot=Ie*ue/ce,ma=Ie*Me/ce,zt=(ot+ma)/4,Ht=Ae-zt,tr=Ht*2,Ar=tr*tr,ra=ot*ot,Xr=Ar-ra,Kr=Math.sqrt(Xr),Lr=Kr*h/tr,lt=ce*Lr/Ie,Ke=Pe<0?0:Pe>lt?lt:Pe,Ut=Ie*Pe/ce,se=Ht+ot,yt=h*h,cr=Ut*Ut,gr=yt-cr,Nr=Math.sqrt(gr),Vn=Nr*Ht/h,He=Ht+Vn,mt=se+Vn,Hr=ma-ot,Ka=Hr/2,_e=He-Ka,Mt=mt+Ka,oa=ma/2,qe=ut-oa,G=rt-Ut,Xt=Math.atan(Vn/Ut);var Zd=Xt*180/Math.PI;n0=-Zd,Es=rt-Lr,Ps=(Ht+se)/2,aa=ot/2,fa=Math.atan(aa/Lr);var Wd=fa*180/Math.PI;Wt=wt+Zd,s0=wt-Wd,mn=Wd-It,i0=It+Wd;var ze="M"+qe+","+rt+" L"+_e+","+G+" L"+He+","+G+ve(Ht,h,Ht,h,Wt,Wt+n0,!1).replace("M","L")+" L"+se+","+Zt+ve(se,h,Ht,h,wt,wt+Zd,!1).replace("M","L")+" L"+(He+ot)+","+G+" L"+Mt+","+G+" zM"+se+","+Zt+ve(se,h,Ht,h,s0,s0+mn,!1).replace("M","L")+ve(Ht,h,Ht,h,bt,bt+i0,!1).replace("M","L");p+="<path d='"+ze+"' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"curvedLeftArrow":var C=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"]),Se,F=25e3*w,Te,te=5e4*w,at,Pe=25e3*w,ie=5e4*w,ce=1e5*w;if(C!==void 0)for(var U=0;U<C.length;U++){var le=L(C[U],["attrs","name"]);le=="adj1"?(Se=L(C[U],["attrs","fmla"]),F=parseInt(Se.substr(4))*w):le=="adj2"?(Te=L(C[U],["attrs","fmla"]),te=parseInt(Te.substr(4))*w):le=="adj3"&&(at=L(C[U],["attrs","fmla"]),Pe=parseInt(at.substr(4))*w)}var W=h/2,O=u/2,Oe=h/2,ut=u,rt=h,Tt=0,Zt=0,wt=270,bt=180,It=90,Ie=Math.min(u,h),vt,Me,ue,ot,ma,zt,Ve,tr,Ar,ra,Xr,Kr,yr,lt,Ke,Ut,ne,yt,cr,gr,Nr,qn,Ye,Rt,Hr,Ka,de,vr,oa,st,D,Xt,n0,Ps,Es,aa,fa,mn,i0,Ss;vt=ie*h/Ie,Me=te<0?0:te>vt?vt:te,ue=F<0?0:F>Me?Me:F,ot=Ie*ue/ce,ma=Ie*Me/ce,zt=(ot+ma)/4,Ve=Oe-zt,tr=Ve*2,Ar=tr*tr,ra=ot*ot,Xr=Ar-ra,Kr=Math.sqrt(Xr),yr=Kr*u/tr,lt=ce*yr/Ie,Ke=Pe<0?0:Pe>lt?lt:Pe,Ut=Ie*Ke/ce,ne=Ve+ot,yt=u*u,cr=Ut*Ut,gr=yt-cr,Nr=Math.sqrt(gr),qn=Nr*Ve/u,Ye=Ve+qn,Rt=ne+qn,Hr=ma-ot,Ka=Hr/2,de=Ye-Ka,vr=Rt+Ka,oa=ma/2,st=rt-oa,D=Tt+Ut,Xt=Math.atan(qn/Ut),n0=-Xt,Ps=Tt+yr,Es=(Ve+ne)/2,aa=ot/2,fa=Math.atan(aa/yr),mn=fa-Xt,i0=Xt+fa,Ss=-fa;var Bi,v2,ob,Hc;Bi=Xt*180/Math.PI,v2=mn*180/Math.PI,ob=i0*180/Math.PI,Hc=Ss*180/Math.PI;var ze="M"+ut+","+ne+ve(Tt,Ve,u,Ve,0,-It,!1).replace("M","L")+" L"+Tt+","+Zt+ve(Tt,ne,u,Ve,wt,wt+It,!1).replace("M","L")+" L"+ut+","+ne+ve(Tt,ne,u,Ve,0,Bi,!1).replace("M","L")+" L"+D+","+Rt+" L"+D+","+vr+" L"+Tt+","+st+" L"+D+","+de+" L"+D+","+Ye+ve(Tt,Ve,u,Ve,Bi,Bi+v2,!1).replace("M","L")+ve(Tt,Ve,u,Ve,0,-It,!1).replace("M","L")+ve(Tt,ne,u,Ve,wt,wt+It,!1).replace("M","L");p+="<path d='"+ze+"' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"curvedRightArrow":var C=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"]),Se,F=25e3*w,Te,te=5e4*w,at,Pe=25e3*w,ie=5e4*w,ce=1e5*w;if(C!==void 0)for(var U=0;U<C.length;U++){var le=L(C[U],["attrs","name"]);le=="adj1"?(Se=L(C[U],["attrs","fmla"]),F=parseInt(Se.substr(4))*w):le=="adj2"?(Te=L(C[U],["attrs","fmla"]),te=parseInt(Te.substr(4))*w):le=="adj3"&&(at=L(C[U],["attrs","fmla"]),Pe=parseInt(at.substr(4))*w)}var W=h/2,O=u/2,Oe=h/2,ut=u,rt=h,Tt=0,Zt=0,wt=270,bt=180,It=90,Ie=Math.min(u,h),vt,Me,ue,ot,ma,zt,Ve,tr,Ar,ra,Xr,Kr,yr,lt,Ke,Ut,ne,yt,cr,gr,Nr,qn,Ye,Rt,Hr,Ka,de,vr,oa,st,D,Xt,Wt,n0,Ps,Es,aa,fa,mn,i0,Ss;vt=ie*h/Ie,Me=te<0?0:te>vt?vt:te,ue=F<0?0:F>Me?Me:F,ot=Ie*ue/ce,ma=Ie*Me/ce,zt=(ot+ma)/4,Ve=Oe-zt,tr=Ve*2,Ar=tr*tr,ra=ot*ot,Xr=Ar-ra,Kr=Math.sqrt(Xr),yr=Kr*u/tr,lt=ce*yr/Ie,Ke=Pe<0?0:Pe>lt?lt:Pe,Ut=Ie*Ke/ce,ne=Ve+ot,yt=u*u,cr=Ut*Ut,gr=yt-cr,Nr=Math.sqrt(gr),qn=Nr*Ve/u,Ye=Ve+qn,Rt=ne+qn,Hr=ma-ot,Ka=Hr/2,de=Ye-Ka,vr=Rt+Ka,oa=ma/2,st=rt-oa,D=ut-Ut,Xt=Math.atan(qn/Ut),Wt=Math.PI+0-Xt,n0=-Xt,Ps=ut-yr,Es=(Ve+ne)/2,aa=ot/2,fa=Math.atan(aa/yr),mn=fa-Math.PI/2,i0=Math.PI/2+fa,Ss=Math.PI-fa;var $d,m2,Bi,qo;$d=Wt*180/Math.PI,m2=n0*180/Math.PI,Bi=Xt*180/Math.PI,qo=mn*180/Math.PI;var ze="M"+Tt+","+Ve+ve(u,Ve,u,Ve,bt,bt+m2,!1).replace("M","L")+" L"+D+","+Ye+" L"+D+","+de+" L"+ut+","+st+" L"+D+","+vr+" L"+D+","+Rt+ve(u,ne,u,Ve,$d,$d+Bi,!1).replace("M","L")+" L"+Tt+","+Ve+ve(u,Ve,u,Ve,bt,bt+It,!1).replace("M","L")+" L"+ut+","+ot+ve(u,ne,u,Ve,wt,wt+qo,!1).replace("M","L");p+="<path d='"+ze+"' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"curvedUpArrow":var C=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"]),Se,F=25e3*w,Te,te=5e4*w,at,Pe=25e3*w,ie=5e4*w,ce=1e5*w;if(C!==void 0)for(var U=0;U<C.length;U++){var le=L(C[U],["attrs","name"]);le=="adj1"?(Se=L(C[U],["attrs","fmla"]),F=parseInt(Se.substr(4))*w):le=="adj2"?(Te=L(C[U],["attrs","fmla"]),te=parseInt(Te.substr(4))*w):le=="adj3"&&(at=L(C[U],["attrs","fmla"]),Pe=parseInt(at.substr(4))*w)}var W=h/2,O=u/2,Ae=u/2,ut=u,rt=h,Tt=0,Zt=0,wt=270,bt=180,It=90,Ie=Math.min(u,h),vt,Me,ue,ot,ma,zt,Ht,tr,Ar,ra,Xr,Kr,Lr,lt,Ke,Ut,se,yt,cr,gr,Nr,Vn,He,mt,Hr,Ka,_e,Mt,oa,qe,G,Xt,n0,Es,Ps,aa,fa,mn,fb,Ss,i0,s0;vt=ie*u/Ie,Me=te<0?0:te>vt?vt:te,ue=F<0?0:F>ce?ce:F,ot=Ie*ue/ce,ma=Ie*Me/ce,zt=(ot+ma)/4,Ht=Ae-zt,tr=Ht*2,Ar=tr*tr,ra=ot*ot,Xr=Ar-ra,Kr=Math.sqrt(Xr),Lr=Kr*h/tr,lt=ce*Lr/Ie,Ke=Pe<0?0:Pe>lt?lt:Pe,Ut=Ie*Pe/ce,se=Ht+ot,yt=h*h,cr=Ut*Ut,gr=yt-cr,Nr=Math.sqrt(gr),Vn=Nr*Ht/h,He=Ht+Vn,mt=se+Vn,Hr=ma-ot,Ka=Hr/2,_e=He-Ka,Mt=mt+Ka,oa=ma/2,qe=ut-oa,G=Zt+Ut,Xt=Math.atan(Vn/Ut),n0=-Xt,Es=Zt+Lr,Ps=(Ht+se)/2,aa=ot/2,fa=Math.atan(aa/Lr),mn=fa-Xt,fb=-mn,Ss=Math.PI/2-Xt,i0=Xt+fa,s0=Math.PI/2-fa;var Yd,qo,Bi,qo;Yd=s0*180/Math.PI,qo=mn*180/Math.PI,Hc=Ss*180/Math.PI,Bi=Xt*180/Math.PI;var ze=ve(Ht,0,Ht,h,Yd,Yd+qo,!1)+" L"+He+","+G+" L"+_e+","+G+" L"+qe+","+Zt+" L"+Mt+","+G+" L"+mt+","+G+ve(se,0,Ht,h,Hc,Hc+Bi,!1).replace("M","L")+" L"+Ht+","+rt+ve(Ht,0,Ht,h,It,bt,!1).replace("M","L")+" L"+ot+","+Zt+ve(se,0,Ht,h,bt,It,!1).replace("M","L");p+="<path d='"+ze+"' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"mathDivide":case"mathEqual":case"mathMinus":case"mathMultiply":case"mathNotEqual":case"mathPlus":var C=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"]),Se,F,Te,te,at,Pe;if(C!==void 0)if(C.constructor===Array)for(var U=0;U<C.length;U++){var le=L(C[U],["attrs","name"]);le=="adj1"?(Se=L(C[U],["attrs","fmla"]),F=parseInt(Se.substr(4))):le=="adj2"?(Te=L(C[U],["attrs","fmla"]),te=parseInt(Te.substr(4))):le=="adj3"&&(at=L(C[U],["attrs","fmla"]),Pe=parseInt(at.substr(4)))}else Se=L(C,["attrs","fmla"]),F=parseInt(Se.substr(4));var ie=5e4*w,ce=1e5*w,_t=2e5*w,yn,O=u/2,W=h/2,Oe=h/2;if(y=="mathNotEqual"){C===void 0?(F=23520*w,te=110*Math.PI/180,Pe=11760*w):(F=F*w,te=te/6e4*Math.PI/180,Pe=Pe*w);var ue,_2,_l,lt,Ke,Re,Ze,Ge,D,Mt,K,ne,G,de,Vo,Di,Zc,G0,b2,mt,L2,qe,g2,He,k2,_e,M2,se,E2,q,uc,vd,pd,hd,dd,Ev,es,P2,S2,Wc,$c,At,_n,Yc,Ac,Ad,Xd,Kd,Jd,lb,Qd,Fd,qd,Vd,ub,_s=70*Math.PI/180,I2=110*Math.PI/180,Mr=73490*w;ue=F<0?0:F>ie?ie:F,_2=te<_s?_s:te>I2?I2:te,_l=ue*2,lt=ce-_l,Ke=Pe<0?0:Pe>lt?lt:Pe,Re=h*ue/ce,Ze=h*Ke/_t,Ge=u*Mr/_t,D=O-Ge,Mt=O+Ge,K=W-Ze,ne=W+Ze,G=K-Re,de=ne+Re,Vo=_2-Math.PI/2,Di=Oe*Math.tan(Vo),Zc=Math.sqrt(Di*Di+Oe*Oe),G0=Zc*Re/Oe,b2=G0/2,mt=O+Di-b2,L2=Di*G/Oe,qe=mt-L2,g2=Di*K/Oe,He=mt-g2,k2=Di*ne/Oe,_e=mt-k2,M2=Di*de/Oe,se=mt-M2,E2=Di*2,q=mt-E2,uc=mt+G0,vd=qe+G0,pd=He+G0,hd=_e+G0,dd=se+G0,Ev=q+G0,es=Re*Oe/Zc,P2=mt+es,S2=uc-es,Wc=Vo>0?P2:uc,$c=Vo>0?mt:S2,At=Re*Di/Zc,_n=-At,Yc=Vo>0?At:0,Ac=Vo>0?0:_n,Ad=u-Wc,Xd=u-$c,Kd=h-Yc,Jd=h-Ac,lb=(Wc+$c)/2,Qd=(Xd+Ad)/2,Fd=(Yc+Ac)/2,qd=(G+K)/2,Vd=(ne+de)/2,ub=(Jd+Kd)/2,yn="M"+D+","+G+" L"+qe+","+G+" L"+$c+","+Ac+" L"+Wc+","+Yc+" L"+vd+","+G+" L"+Mt+","+G+" L"+Mt+","+K+" L"+pd+","+K+" L"+hd+","+ne+" L"+Mt+","+ne+" L"+Mt+","+de+" L"+dd+","+de+" L"+Xd+","+Jd+" L"+Ad+","+Kd+" L"+se+","+de+" L"+D+","+de+" L"+D+","+ne+" L"+_e+","+ne+" L"+He+","+K+" L"+D+","+K+" z"}else if(y=="mathDivide"){C===void 0?(F=23520*w,te=5880*w,Pe=11760*w):(F=F*w,te=te*w,Pe=Pe*w);var ue,T2,jd,eh,lt,Ke,y2,vt,Me,Re,w2,Tn,Ge,ne,de,Ne,K,G,Ye,D,se,q,Mr=1e3*w,Aa=36745*w,ya=73490*w;ue=F<Mr?Mr:F>Aa?Aa:F,T2=-ue,jd=(ya+T2)/4,eh=Aa*u/h,lt=jd<eh?jd:eh,Ke=Pe<Mr?Mr:Pe>lt?lt:Pe,y2=-4*Ke,vt=ya+y2-ue,Me=te<0?0:te>vt?vt:te,Re=h*ue/_t,w2=h*Me/ce,Tn=h*Ke/ce,Ge=u*ya/_t,ne=W-Re,de=W+Re,Ne=w2+Tn,K=ne-Ne,G=K-Tn,Ye=h-G,D=O-Ge,se=O+Ge,q=O-Tn;var It=90,wt=270,Xn=O-Math.cos(wt*Math.PI/180)*Tn,t0=G-Math.sin(wt*Math.PI/180)*Tn,x0=O-Math.cos(Math.PI/2)*Tn,C0=Ye-Math.sin(Math.PI/2)*Tn;yn="M"+O+","+G+ve(Xn,t0,Tn,Tn,wt,wt+360,!1).replace("M","L")+" z M"+O+","+Ye+ve(x0,C0,Tn,Tn,It,It+360,!1).replace("M","L")+" z M"+D+","+ne+" L"+se+","+ne+" L"+se+","+de+" L"+D+","+de+" z"}else if(y=="mathEqual"){C===void 0?(F=23520*w,te=11760*w):(F=F*w,te=te*w);var Aa=36745*w,ya=73490*w,ue,_l,th,Me,Re,Ze,Ge,K,ne,G,de,D,q,Fd,qd;ue=F<0?0:F>Aa?Aa:F,_l=ue*2,th=ce-_l,Me=te<0?0:te>th?th:te,Re=h*ue/ce,Ze=h*Me/_t,Ge=u*ya/_t,K=W-Ze,ne=W+Ze,G=K-Re,de=ne+Re,D=O-Ge,q=O+Ge,Fd=(G+K)/2,qd=(ne+de)/2,yn="M"+D+","+G+" L"+q+","+G+" L"+q+","+K+" L"+D+","+K+" zM"+D+","+ne+" L"+q+","+ne+" L"+q+","+de+" L"+D+","+de+" z"}else if(y=="mathMinus"){C===void 0?F=23520*w:F=F*w;var ya=73490*w,ue,Re,Ge,G,K,D,q;ue=F<0?0:F>ce?ce:F,Re=h*ue/_t,Ge=u*ya/_t,G=W-Re,K=W+Re,D=O-Ge,q=O+Ge,yn="M"+D+","+G+" L"+q+","+G+" L"+q+","+K+" L"+D+","+K+" z"}else if(y=="mathMultiply"){C===void 0?F=23520*w:F=F*w;var ya=51965*w,ue,ot,Ne,rh,ah,nh,ih,R2,sh,Xc,Kc,oh,fh,ii,si,Ra,Oa,B2,D2,Dn,ef,Bn,N2,lh,Va,z2,oi,ni,C2,Qd,Vd,Ie=Math.min(u,h);ue=F<0?0:F>ya?ya:F,ot=Ie*ue/ce,Ne=Math.atan(h/u),rh=1*Math.sin(Ne),ah=1*Math.cos(Ne),nh=1*Math.tan(Ne),ih=Math.sqrt(u*u+h*h),R2=ih*ya/ce,sh=ih-R2,Xc=ah*sh/2,Kc=rh*sh/2,oh=rh*ot/2,fh=ah*ot/2,ii=Xc-oh,si=Kc+fh,Ra=Xc+oh,Oa=Kc-fh,B2=O-Ra,D2=B2*nh,Dn=D2+Oa,ef=u-Ra,Bn=u-ii,N2=W-si,lh=N2/nh,Va=Bn-lh,z2=ii+lh,oi=h-si,ni=h-Oa,C2=h-Dn,Qd=u-Xc,Vd=h-Kc,yn="M"+ii+","+si+" L"+Ra+","+Oa+" L"+O+","+Dn+" L"+ef+","+Oa+" L"+Bn+","+si+" L"+Va+","+W+" L"+Bn+","+oi+" L"+ef+","+ni+" L"+O+","+C2+" L"+Ra+","+ni+" L"+ii+","+oi+" L"+z2+","+W+" z"}else if(y=="mathPlus"){C===void 0?F=23520*w:F=F*w;var ya=73490*w,Ie=Math.min(u,h),ue,Ge,Re,he,D,q,se,_e,G,K,ne,de;ue=F<0?0:F>ya?ya:F,Ge=u*ya/_t,Re=h*ya/_t,he=Ie*ue/_t,D=O-Ge,q=O-he,se=O+he,_e=O+Ge,G=W-Re,K=W-he,ne=W+he,de=W+Re,yn="M"+D+","+K+" L"+q+","+K+" L"+q+","+G+" L"+se+","+G+" L"+se+","+K+" L"+_e+","+K+" L"+_e+","+ne+" L"+se+","+ne+" L"+se+","+de+" L"+q+","+de+" L"+q+","+ne+" L"+D+","+ne+" z"}p+="<path d='"+yn+"' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"can":case"flowChartMagneticDisk":case"flowChartMagneticDrum":var ye=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd","attrs","fmla"]),we=25e3*w,ie=5e4*w,ce=2e5*w;ye!==void 0&&(we=parseInt(ye.substr(4))*w);var Ie=Math.min(u,h),ft,Ne,G,K,ne,yn;(y=="flowChartMagneticDisk"||y=="flowChartMagneticDrum")&&(we=5e4*w),ft=ie*h/Ie,Ne=we<0?0:we>ft?ft:we,G=Ie*Ne/ce,K=G+G,ne=h-G;var bt=180,Ae=u/2,U0="";y=="flowChartMagneticDrum"&&(U0="transform='rotate(90 "+u/2+","+h/2+")'"),yn=ve(Ae,G,Ae,G,0,bt,!1)+ve(Ae,G,Ae,G,bt,bt+bt,!1).replace("M","L")+" L"+u+","+ne+ve(Ae,ne,Ae,G,0,bt,!1).replace("M","L")+" L0,"+G,p+="<path "+U0+" d='"+yn+"' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"swooshArrow":var C=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"]),ke=w,Se,F=25e3*ke,Te,te=16667*ke;if(C!==void 0)for(var U=0;U<C.length;U++){var le=L(C[U],["attrs","name"]);le=="adj1"?(Se=L(C[U],["attrs","fmla"]),F=parseInt(Se.substr(4))*ke):le=="adj2"&&(Te=L(C[U],["attrs","fmla"]),te=parseInt(Te.substr(4))*ke)}var ie=1*ke,ce=7e4*ke,_t=75e3*ke,Mr=1e5*ke,Ie=Math.min(u,h),jo=Ie/8,uh=h/6,ue,vt,Me,ch,x2,Ra,Oa,dh,hh,_i,Ge,Ln,Va,Bn,W0,Ze,O2,At,Cl,_n,G2,U2,Ni,H2,Z2;ue=F<ie?ie:F>_t?_t:F,vt=ce*u/Ie,Me=te<0?0:te>vt?vt:te,ch=h*ue/Mr,x2=Ie*Me/Mr,Ra=u-x2,Oa=jo,dh=Math.PI/2/14,hh=jo*Math.tan(dh),_i=Ra-hh,Ge=ch*Math.tan(dh),Ln=Oa+ch,Va=Ra+Ge,Bn=Va+hh,W0=Ln+jo,Ze=W0-0,O2=Ze/2,At=h/20,Cl=O2-At,_n=uh,G2=uh+_n,U2=u/6,Ni=uh/2,H2=Ln+Ni,Z2=u/4;var yn="M0,"+h+" Q"+U2+","+G2+" "+Ra+","+Oa+" L"+_i+",0 L"+u+","+Cl+" L"+Bn+","+W0+" L"+Va+","+Ln+" Q"+Z2+","+H2+" 0,"+h+" z";p+="<path d='"+yn+"' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"circularArrow":var C=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"]),Se,F=12500*w,Te,te=1142319/6e4*Math.PI/180,at,Pe=20457681/6e4*Math.PI/180,nr,pt=108e5/6e4*Math.PI/180,jn,Dr=12500*w;if(C!==void 0)for(var U=0;U<C.length;U++){var le=L(C[U],["attrs","name"]);le=="adj1"?(Se=L(C[U],["attrs","fmla"]),F=parseInt(Se.substr(4))*w):le=="adj2"?(Te=L(C[U],["attrs","fmla"]),te=parseInt(Te.substr(4))/6e4*Math.PI/180):le=="adj3"?(at=L(C[U],["attrs","fmla"]),Pe=parseInt(at.substr(4))/6e4*Math.PI/180):le=="adj4"?(nr=L(C[U],["attrs","fmla"]),pt=parseInt(nr.substr(4))/6e4*Math.PI/180):le=="adj5"&&(jn=L(C[U],["attrs","fmla"]),Dr=parseInt(jn.substr(4))*w)}var W=h/2,O=u/2,ut=u,rt=h,Tt=0,Zt=0,Ae=u/2,Oe=h/2,Ie=Math.min(u,h),wn,nt,ue,Qa,Wt,ot,Ca,xa,ea,ta,_a,ba,ei,ti,Is,Ts,ri,ai,ys,ni,Ur,mr,Fa,Rn,ws,H0,Z0,f0,Ll,gl,kl,Ml,El,l0,Pl,Sl,u0,Il,c0,Tl,yl,wl,ph,Rl,qa,Rs,Bs,Bl,Dl,ii,si,Ds,Ns,Nl,zl,Bn,W0,xl,Ol,zs,oi,Gl,Ul,Ra,Oa,Ot,Dt,xt,Nt,La,Cs,xs,fi,li,ui,bn,Os,zt,yt,ci,cr,gr,Nr,Hr,tr,Ar,Gs,Hl,Us,ra,Xr,Kr,Hs,aa,Zs,Zl,Ws,$s,Ys,Wl,As,Xs,Ks,Js,Qs,$l,Yl,Fs,Al,Xl,qs,Vs,Va,Ln,di,hi,js,eo,pi,vi,to,Kl,zi,mi,Jl,gn,Ql,Fl,ro,ql,ao,Vl,no,io,so,jl,oo,eu,fo,lo,uo,tu,co,ho,po,vo,mo,ru,au,_o,nu,iu,bo,Lo,_i,Dn,d0,su,on,h0,ou,$0,go,ko,fu,lu,bi,uu,cu,du,hu,p0,pu,vu,v0,mu,Xt,ie=25e3*w,ce=1e5*w,bl=1/6e4*Math.PI/180,o0=21599999/6e4*Math.PI/180,Ja=2*Math.PI;wn=Dr<0?0:Dr>ie?ie:Dr,nt=wn*2,ue=F<0?0:F>nt?nt:F,Qa=Pe<bl?bl:Pe>o0?o0:Pe,Wt=pt<0?0:pt>o0?o0:pt,ot=Ie*ue/ce,Ca=Ie*wn/ce,xa=ot/2,ea=Ae+xa-Ca,ta=Oe+xa-Ca,_a=ea-ot,ba=ta-ot,ei=_a+xa,ti=ba+xa,Is=ei*Math.sin(Qa),Ts=ti*Math.cos(Qa),ri=ei*Math.cos(Math.atan2(Is,Ts)),ai=ti*Math.sin(Math.atan2(Is,Ts)),ys=O+ri,ni=W+ai,Ur=_a<ba?_a:ba,mr=ri*ri,Fa=ai*ai,Rn=Ur*Ur,ws=mr-Rn,H0=Fa-Rn,Z0=ws*H0/mr,f0=Z0/Fa,Ll=1-f0,gl=Math.sqrt(Ll),kl=ws/ri,Ml=kl/ai,El=(1+gl)/Ml,l0=Math.atan2(El,1),Pl=l0+Ja,Sl=l0>0?l0:Pl,u0=Sl-Qa,Il=u0+Ja,c0=u0>0?u0:Il,Tl=c0-bt,yl=c0-Ja,wl=Tl>0?yl:c0,ph=Math.abs(wl),Rl=te<0?0:te>ph?ph:te,qa=Qa+Rl,Rs=ei*Math.sin(qa),Bs=ti*Math.cos(qa),Bl=ei*Math.cos(Math.atan2(Rs,Bs)),Dl=ti*Math.sin(Math.atan2(Rs,Bs)),ii=O+Bl,si=W+Dl,Ds=ea*Math.sin(Wt),Ns=ta*Math.cos(Wt),Nl=ea*Math.cos(Math.atan2(Ds,Ns)),zl=ta*Math.sin(Math.atan2(Ds,Ns)),Bn=O+Nl,W0=W+zl,xl=Ca*Math.cos(qa),Ol=Ca*Math.sin(qa),zs=ys+xl,oi=ni+Ol,Gl=Ca*Math.cos(qa),Ul=Ca*Math.sin(qa),Ra=ys-Gl,Oa=ni-Ul,Ot=Ra-O,Dt=Oa-W,xt=zs-O,Nt=oi-W,La=ea<ta?ea:ta,Cs=Ot*La/ea,xs=Dt*La/ta,fi=xt*La/ea,li=Nt*La/ta,ui=fi-Cs,bn=li-xs,Os=Math.sqrt(ui*ui+bn*bn),zt=Cs*li,yt=fi*xs,ci=zt-yt,cr=La*La,gr=Os*Os,Nr=cr*gr,Hr=ci*ci,tr=Nr-Hr,Ar=tr>0?tr:0,Gs=Math.sqrt(Ar),Hl=bn*-1,Us=Hl>0?-1:1,ra=Us*ui,Xr=ra*Gs,Kr=ci*bn,Hs=(Kr+Xr)/gr,aa=Kr-Xr,Zs=aa/gr,Zl=Math.abs(bn),Ws=Zl*Gs,$s=ci*ui/-1,Ys=($s+Ws)/gr,Wl=$s-Ws,As=Wl/gr,Xs=fi-Hs,Ks=fi-Zs,Js=li-Ys,Qs=li-As,$l=Math.sqrt(Xs*Xs+Js*Js),Yl=Math.sqrt(Ks*Ks+Qs*Qs),Fs=Yl-$l,Al=Fs>0?Hs:Zs,Xl=Fs>0?Ys:As,qs=Al*ea/La,Vs=Xl*ta/La,Va=O+qs,Ln=W+Vs,di=Ot*Ur/_a,hi=Dt*Ur/ba,js=xt*Ur/_a,eo=Nt*Ur/ba,pi=js-di,vi=eo-hi,to=Math.sqrt(pi*pi+vi*vi),Kl=di*eo,zi=js*hi,mi=Kl-zi,Jl=Ur*Ur,gn=to*to,Ql=Jl*gn,Fl=mi*mi,ro=Ql-Fl,ql=ro>0?ro:0,ao=Math.sqrt(ql),Vl=Us*pi,no=Vl*ao,io=mi*vi,so=(io+no)/gn,jl=io-no,oo=jl/gn,eu=Math.abs(vi),fo=eu*ao,lo=mi*pi/-1,uo=(lo+fo)/gn,tu=lo-fo,co=tu/gn,ho=di-so,po=di-oo,vo=hi-uo,mo=hi-co,ru=Math.sqrt(ho*ho+vo*vo),au=Math.sqrt(po*po+mo*mo),_o=au-ru,nu=_o>0?so:oo,iu=_o>0?uo:co,bo=nu*_a/Ur,Lo=iu*ba/Ur,_i=O+bo,Dn=W+Lo,d0=Math.atan2(Lo,bo),su=d0+Ja,on=d0>0?d0:su,h0=Wt-on,ou=h0-Ja,$0=h0>0?ou:h0,go=Va-_i,ko=Ln-Dn,fu=Math.sqrt(go*go+ko*ko),lu=fu/2,bi=lu-Ca,uu=bi>0?Va:zs,cu=bi>0?Ln:oi,du=bi>0?_i:Ra,hu=bi>0?Dn:Oa,p0=Math.atan2(Vs,qs),pu=p0+Ja,vu=p0>0?p0:pu,v0=vu-Wt,mu=v0+Ja,Xt=v0>0?v0:mu;var Jc=Wt*180/Math.PI,Li=Jc+Xt*180/Math.PI,_u=on*180/Math.PI,gh=$0*180/Math.PI,kh=_u+gh,ze=ve(u/2,h/2,ea,ta,Jc,Li,!1)+" L"+uu+","+cu+" L"+ii+","+si+" L"+du+","+hu+" L"+_i+","+Dn+ve(u/2,h/2,_a,ba,_u,kh,!1).replace("M","L")+" z";p+="<path d='"+ze+"' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"leftCircularArrow":var C=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"]),Se,F=12500*w,Te,te=-1142319/6e4*Math.PI/180,at,Pe=1142319/6e4*Math.PI/180,nr,pt=108e5/6e4*Math.PI/180,jn,Dr=12500*w;if(C!==void 0)for(var U=0;U<C.length;U++){var le=L(C[U],["attrs","name"]);le=="adj1"?(Se=L(C[U],["attrs","fmla"]),F=parseInt(Se.substr(4))*w):le=="adj2"?(Te=L(C[U],["attrs","fmla"]),te=parseInt(Te.substr(4))/6e4*Math.PI/180):le=="adj3"?(at=L(C[U],["attrs","fmla"]),Pe=parseInt(at.substr(4))/6e4*Math.PI/180):le=="adj4"?(nr=L(C[U],["attrs","fmla"]),pt=parseInt(nr.substr(4))/6e4*Math.PI/180):le=="adj5"&&(jn=L(C[U],["attrs","fmla"]),Dr=parseInt(jn.substr(4))*w)}var W=h/2,O=u/2,ut=u,rt=h,Tt=0,Zt=0,Ae=u/2,Oe=h/2,Ie=Math.min(u,h),ie=25e3*w,ce=1e5*w,bl=1/6e4*Math.PI/180,o0=21599999/6e4*Math.PI/180,Ja=2*Math.PI,wn,nt,ue,Qa,Wt,ot,Ca,xa,ea,ta,_a,ba,ei,ti,Is,Ts,ri,ai,ys,ni,Ur,mr,Fa,Rn,ws,H0,Z0,f0,Ll,gl,kl,Ml,El,l0,Pl,Sl,u0,Il,c0,Tl,yl,wl,W2,vh,$2,Me,Rl,qa,Rs,Bs,Bl,Dl,ii,si,Ds,Ns,Nl,zl,Bn,W0,mh,_h,Y2,A2,ef,Cl,xl,Ol,zs,oi,Gl,Ul,Ra,Oa,Ot,Dt,xt,Nt,La,Cs,xs,fi,li,ui,bn,Os,zt,yt,ci,cr,gr,Nr,Hr,tr,Ar,Gs,Hl,Us,ra,Xr,Kr,Hs,aa,Zs,Zl,Ws,$s,Ys,Wl,As,Xs,Ks,Js,Qs,$l,Yl,Fs,Al,Xl,qs,Vs,Va,Ln,di,hi,js,eo,pi,vi,to,Kl,zi,mi,Jl,gn,Ql,Fl,ro,ql,ao,Vl,no,io,so,jl,oo,eu,fo,lo,uo,tu,co,ho,po,vo,mo,ru,au,_o,nu,iu,bo,Lo,_i,Dn,d0,su,bh,h0,ou,Lh,on,$0,go,ko,fu,lu,bi,uu,cu,du,hu,p0,pu,vu,v0,mu,Xt,X2;wn=Dr<0?0:Dr>ie?ie:Dr,nt=wn*2,ue=F<0?0:F>nt?nt:F,Qa=Pe<bl?bl:Pe>o0?o0:Pe,Wt=pt<0?0:pt>o0?o0:pt,ot=Ie*ue/ce,Ca=Ie*wn/ce,xa=ot/2,ea=Ae+xa-Ca,ta=Oe+xa-Ca,_a=ea-ot,ba=ta-ot,ei=_a+xa,ti=ba+xa,Is=ei*Math.sin(Qa),Ts=ti*Math.cos(Qa),ri=ei*Math.cos(Math.atan2(Is,Ts)),ai=ti*Math.sin(Math.atan2(Is,Ts)),ys=O+ri,ni=W+ai,Ur=_a<ba?_a:ba,mr=ri*ri,Fa=ai*ai,Rn=Ur*Ur,ws=mr-Rn,H0=Fa-Rn,Z0=ws*H0/mr,f0=Z0/Fa,Ll=1-f0,gl=Math.sqrt(Ll),kl=ws/ri,Ml=kl/ai,El=(1+gl)/Ml,l0=Math.atan2(El,1),Pl=l0+Ja,Sl=l0>0?l0:Pl,u0=Sl-Qa,Il=u0+Ja,c0=u0>0?u0:Il,Tl=c0-bt,yl=c0-Ja,wl=Tl>0?yl:c0,W2=Math.abs(wl),vh=W2*-1,$2=Math.abs(te),Me=$2*-1,Rl=Me<vh?vh:Me>0?0:Me,qa=Qa+Rl,Rs=ei*Math.sin(qa),Bs=ti*Math.cos(qa),Bl=ei*Math.cos(Math.atan2(Rs,Bs)),Dl=ti*Math.sin(Math.atan2(Rs,Bs)),ii=O+Bl,si=W+Dl,Ds=ea*Math.sin(Wt),Ns=ta*Math.cos(Wt),Nl=ea*Math.cos(Math.atan2(Ds,Ns)),zl=ta*Math.sin(Math.atan2(Ds,Ns)),Bn=O+Nl,W0=W+zl,mh=_a*Math.sin(Wt),_h=ba*Math.cos(Wt),Y2=_a*Math.cos(Math.atan2(mh,_h)),A2=ba*Math.sin(Math.atan2(mh,_h)),ef=O+Y2,Cl=W+A2,xl=Ca*Math.cos(qa),Ol=Ca*Math.sin(qa),zs=ys+xl,oi=ni+Ol,Gl=Ca*Math.cos(qa),Ul=Ca*Math.sin(qa),Ra=ys-Gl,Oa=ni-Ul,Ot=Ra-O,Dt=Oa-W,xt=zs-O,Nt=oi-W,La=ea<ta?ea:ta,Cs=Ot*La/ea,xs=Dt*La/ta,fi=xt*La/ea,li=Nt*La/ta,ui=fi-Cs,bn=li-xs,Os=Math.sqrt(ui*ui+bn*bn),zt=Cs*li,yt=fi*xs,ci=zt-yt,cr=La*La,gr=Os*Os,Nr=cr*gr,Hr=ci*ci,tr=Nr-Hr,Ar=tr>0?tr:0,Gs=Math.sqrt(Ar),Hl=bn*-1,Us=Hl>0?-1:1,ra=Us*ui,Xr=ra*Gs,Kr=ci*bn,Hs=(Kr+Xr)/gr,aa=Kr-Xr,Zs=aa/gr,Zl=Math.abs(bn),Ws=Zl*Gs,$s=ci*ui/-1,Ys=($s+Ws)/gr,Wl=$s-Ws,As=Wl/gr,Xs=fi-Hs,Ks=fi-Zs,Js=li-Ys,Qs=li-As,$l=Math.sqrt(Xs*Xs+Js*Js),Yl=Math.sqrt(Ks*Ks+Qs*Qs),Fs=Yl-$l,Al=Fs>0?Hs:Zs,Xl=Fs>0?Ys:As,qs=Al*ea/La,Vs=Xl*ta/La,Va=O+qs,Ln=W+Vs,di=Ot*Ur/_a,hi=Dt*Ur/ba,js=xt*Ur/_a,eo=Nt*Ur/ba,pi=js-di,vi=eo-hi,to=Math.sqrt(pi*pi+vi*vi),Kl=di*eo,zi=js*hi,mi=Kl-zi,Jl=Ur*Ur,gn=to*to,Ql=Jl*gn,Fl=mi*mi,ro=Ql-Fl,ql=ro>0?ro:0,ao=Math.sqrt(ql),Vl=Us*pi,no=Vl*ao,io=mi*vi,so=(io+no)/gn,jl=io-no,oo=jl/gn,eu=Math.abs(vi),fo=eu*ao,lo=mi*pi/-1,uo=(lo+fo)/gn,tu=lo-fo,co=tu/gn,ho=di-so,po=di-oo,vo=hi-uo,mo=hi-co,ru=Math.sqrt(ho*ho+vo*vo),au=Math.sqrt(po*po+mo*mo),_o=au-ru,nu=_o>0?so:oo,iu=_o>0?uo:co,bo=nu*_a/Ur,Lo=iu*ba/Ur,_i=O+bo,Dn=W+Lo,d0=Math.atan2(Lo,bo),su=d0+Ja,bh=d0>0?d0:su,h0=Wt-bh,ou=h0+Ja,Lh=h0>0?h0:ou,on=bh+Lh,$0=-Lh,go=Va-_i,ko=Ln-Dn,fu=Math.sqrt(go*go+ko*ko),lu=fu/2,bi=lu-Ca,uu=bi>0?Va:zs,cu=bi>0?Ln:oi,du=bi>0?_i:Ra,hu=bi>0?Dn:Oa,p0=Math.atan2(Vs,qs),pu=p0+Ja,vu=p0>0?p0:pu,v0=vu-Wt,mu=v0-Ja,Xt=v0>0?mu:v0,X2=Wt+Xt;var Jc=X2*180/Math.PI,Li=Wt*180/Math.PI,_u=on*180/Math.PI,gh=$0*180/Math.PI,kh=_u+gh,ze="M"+Bn+","+W0+" L"+ef+","+Cl+ve(u/2,h/2,_a,ba,_u,kh,!1).replace("M","L")+" L"+du+","+hu+" L"+ii+","+si+" L"+uu+","+cu+" L"+Va+","+Ln+ve(u/2,h/2,ea,ta,Jc,Li,!1).replace("M","L")+" z";p+="<path d='"+ze+"' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"leftRightCircularArrow":case"chartPlus":case"chartStar":case"chartX":case"cornerTabs":case"flowChartOfflineStorage":case"folderCorner":case"funnel":case"lineInv":case"nonIsoscelesTrapezoid":case"plaqueTabs":case"squareTabs":case"upDownArrowCallout":console.log(y," -unsupported shape type.");break;default:console.warn("Undefine shape type.("+y+")")}p+="</svg>",p+="<div class='block "+Rp(e,t,a,o)+" "+Bp(e,o,f)+"' data-office-shape='"+Xi(String(s))+"' data-pptx-autofit='"+X.autofit+"' data-pptx-wrap='"+X.wrap+"' _id='"+s+"' _idx='"+i+"' _type='"+o+"' _name='"+n+"' style='"+Yi(ae,r,g,M,l,_)+Ai(ae,g,M,_)+V+" z-index: "+d+";transform: rotate("+(Q!==void 0?Q:0)+"deg);'>",e["p:txBody"]!==void 0&&(c===void 0||c===!0)&&(o!="diagram"&&o!="textBox"&&L(e,["p:nvSpPr","p:nvPr","p:ph"])===void 0&&(o="shape"),p+=await w1(e["p:txBody"],e,t,a,o,i,f,void 0,_)),p+="</div>"}else if(I!==void 0){var cb=L(I,["a:pathLst"]),tf=L(cb,["a:path"]);let Mh=tf.attrs||{};var db=Et(Mh.w,21600),hb=Et(Mh.h,21600),rf=1/db*u,af=1/hb*h,nf=L(tf,["a:moveTo"])||[],a4=nf.length,K2=tf["a:lnTo"],J2=tf["a:cubicBezTo"],Q2=tf["a:arcTo"],F2=L(tf,["a:close"]);Array.isArray(nf)||(nf=[nf]);var ir=[];if(nf.length>0){if(_r(nf).forEach(function(Vt){var zr=Vt["a:pt"];zr!==void 0&&_r(zr).forEach(function(gi){var ga=gi.attrs||{};if(!(ga.x===void 0||ga.y===void 0)){var Ba={},bu=ga.x,Lu=ga.y,sf=ga.order;Ba.type="movto",Ba.order=Et(sf,ir.length),Ba.x=bu,Ba.y=Lu,ir.push(Ba)}})}),K2!==void 0&&_r(K2).forEach(function(Vt){var zr=Vt["a:pt"];zr!==void 0&&_r(zr).forEach(function(gi){var ga=gi.attrs||{};if(!(ga.x===void 0||ga.y===void 0)){var Ba={},bu=ga.x,Lu=ga.y,sf=ga.order;Ba.type="lnto",Ba.order=Et(sf,ir.length),Ba.x=bu,Ba.y=Lu,ir.push(Ba)}})}),J2!==void 0){var q2=[];_r(J2).forEach(function(Vt){q2.push(Vt["a:pt"])}),q2.forEach(function(Vt){Vt=_r(Vt);var zr={};zr.type="cubicBezTo",zr.order=Et(L(Vt[0],["attrs","order"]),ir.length);var gi=[];Vt.forEach(function(ga){var Ba=ga.attrs||{};Ba.x!==void 0&&Ba.y!==void 0&&gi.push({x:Ba.x,y:Ba.y})}),gi.length===3&&(zr.cubBzPt=gi,ir.push(zr))})}Q2!==void 0&&_r(Q2).forEach(function(Vt){var zr=Vt.attrs||{};if(!(zr.hR===void 0||zr.wR===void 0||zr.stAng===void 0||zr.swAng===void 0)){var gi=zr.order,ga=zr.hR,Ba=zr.wR,bu=zr.stAng,Lu=zr.swAng,sf=0,fm=0,Eh=L(Vt,["a:pt","attrs"]);Eh!==void 0&&(sf=Eh.x,fm=Eh.y);var m0={};m0.type="arcTo",m0.order=Et(gi,ir.length),m0.hR=ga,m0.wR=Ba,m0.stAng=bu,m0.swAng=Lu,m0.shftX=sf,m0.shftY=fm,ir.push(m0)}}),F2!==void 0&&_r(F2).forEach(function(Vt){var zr=Vt.attrs||{},gi=zr.order,ga={};ga.type="close",ga.order=Et(gi,ir.length),ir.push(ga)}),ir.sort(function(Vt,zr){return Vt.order-zr.order});for(var Pr=0,Bf=!1,xe="";Pr<ir.length;){if(ir[Pr].type=="movto"){var V2=Et(ir[Pr].x,NaN)*rf,j2=Et(ir[Pr].y,NaN)*af;if(!Number.isFinite(V2)||!Number.isFinite(j2)){Pr++;continue}xe+=" M"+V2+","+j2}else if(ir[Pr].type=="lnto"){var em=Et(ir[Pr].x,NaN)*rf,tm=Et(ir[Pr].y,NaN)*af;if(!Number.isFinite(em)||!Number.isFinite(tm)){Pr++;continue}xe+=" L"+em+","+tm}else if(ir[Pr].type=="cubicBezTo"){var rm=Et(ir[Pr].cubBzPt[0].x,NaN)*rf,am=Et(ir[Pr].cubBzPt[0].y,NaN)*af,nm=Et(ir[Pr].cubBzPt[1].x,NaN)*rf,im=Et(ir[Pr].cubBzPt[1].y,NaN)*af,sm=Et(ir[Pr].cubBzPt[2].x,NaN)*rf,om=Et(ir[Pr].cubBzPt[2].y,NaN)*af;if(![rm,am,nm,im,sm,om].every(Number.isFinite)){Pr++;continue}xe+=" C"+rm+","+am+" "+nm+","+im+" "+sm+","+om}else if(ir[Pr].type=="arcTo"){var Ve=Et(ir[Pr].hR,NaN)*rf,Ht=Et(ir[Pr].wR,NaN)*af,Wt=Et(ir[Pr].stAng,NaN)/6e4,Xt=Et(ir[Pr].swAng,NaN)/6e4;if(![Ve,Ht,Wt,Xt].every(Number.isFinite)){Pr++;continue}var Li=Wt+Xt;xe+=ve(Ht,Ve,Ht,Ve,Wt,Li,!1)}else ir[Pr].type=="quadBezTo"?console.log("custShapType: quadBezTo - TODO"):ir[Pr].type=="close"&&(xe+="z");Pr++}xe&&!/NaN/.test(xe)&&(p+="<path d='"+xe+"' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+(E===void 0?"":E.color)+"' stroke-width='"+(E===void 0?"":E.width)+"' stroke-dasharray='"+(E===void 0?"":E.strokeDasharray)+"' ",p+="/>")}p+="</svg>",p+="<div class='block "+Rp(e,t,a,o)+" "+Bp(e,o,f)+"' data-office-shape='"+Xi(String(s))+"' data-pptx-autofit='"+X.autofit+"' data-pptx-wrap='"+X.wrap+"' _id='"+s+"' _idx='"+i+"' _type='"+o+"' _name='"+n+"' style='"+Yi(ae,r,g,M,l,_)+Ai(ae,g,M,_)+V+" z-index: "+d+";transform: rotate("+(Q!==void 0?Q:0)+"deg);'>",e["p:txBody"]!==void 0&&(c===void 0||c===!0)&&(o!="diagram"&&o!="textBox"&&L(e,["p:nvSpPr","p:nvPr","p:ph"])===void 0&&(o="shape"),p+=await w1(e["p:txBody"],e,t,a,o,i,f,void 0,_)),p+="</div>"}else p+="<div class='block "+Rp(e,t,a,o)+" "+Bp(e,o,f)+"' data-office-shape='"+Xi(String(s))+"' data-pptx-autofit='"+X.autofit+"' data-pptx-wrap='"+X.wrap+"' _id='"+s+"' _idx='"+i+"' _type='"+o+"' _name='"+n+"' style='"+Yi(ae,r,g,M,l,_)+Ai(ae,g,M,_)+V+Si(e,r,!1,"shape",f)+await Vu(e,r,!1,f,k)+" z-index: "+d+";transform: rotate("+(Q!==void 0?Q:0)+"deg);'>",e["p:txBody"]!==void 0&&(c===void 0||c===!0)&&(p+=await w1(e["p:txBody"],e,t,a,o,i,f,void 0,_)),p+="</div>";return p}function $g(e,r,t,a,s){var n=parseInt(a),i=parseInt(t),o=parseInt(e),d=o/2,f=n-i;f<0&&(f=360+f),f=Math.min(Math.max(f,0),360);var c=Math.cos(2*Math.PI/(360/f)),l=Math.sin(2*Math.PI/(360/f)),k,_,v;if(s)k=f<=180?0:1,_="M"+d+","+d+" L"+d+",0 A"+d+","+d+" 0 "+k+",1 "+(d+l*d)+","+(d-c*d)+" z",v="rotate("+(i-270)+", "+d+", "+d+")";else{k=f<=180?0:1;var m=d,g=r/2;_="M"+m+",0 A"+g+","+m+" 0 "+k+",1 "+(g+l*g)+","+(m-c*m),v="rotate("+(i+90)+", "+d+", "+d+")"}return[_,v]}function c5(e,r,t){var a=r,s=1.5*a,n=s;let i=s,o=t,d=s,f=a,c=50,l=35,k=2*Math.PI,_=k/(o*2),v=_*l*.005,m=_*c*.005,g=_,M=!1;for(var p=" M"+(n+d*Math.cos(m))+" "+(i+d*Math.sin(m));g<=k+_;g+=_)M?(p+=" L"+(n+f*Math.cos(g-v))+","+(i+f*Math.sin(g-v)),p+=" L"+(n+d*Math.cos(g+m))+","+(i+d*Math.sin(g+m))):(p+=" L"+(n+d*Math.cos(g-m))+","+(i+d*Math.sin(g-m)),p+=" L"+(n+f*Math.cos(g+v))+","+(i+f*Math.sin(g+v))),M=!M;return p+=" ",p}function ve(e,r,t,a,s,n,i){var o,d=s;if(n>=s)for(;d<=n;){var f=d*(Math.PI/180),c=e+Math.cos(f)*t,l=r+Math.sin(f)*a;d==s&&(o=" M"+c+" "+l),o+=" L"+c+" "+l,d++}else for(;d>n;){var f=d*(Math.PI/180),c=e+Math.cos(f)*t,l=r+Math.sin(f)*a;d==s&&(o=" M "+c+" "+l),o+=" L "+c+" "+l,d--}return o+=i?" z":"",o}function Yg(e,r,t){var a=_r(L(e,["a:pathLst","a:path"])),s=[];return a.forEach(function(n){var i=n.attrs||{},o=Et(i.w,21600),d=Et(i.h,21600),f=o?1/o*r:0,c=d?1/d*t:0,l=[];_r(L(n,["a:moveTo"])).forEach(function(_){_r(L(_,["a:pt"])).forEach(function(v){var m=v.attrs||{};m.x===void 0||m.y===void 0||l.push({type:"movto",order:Et(m.order,l.length),x:m.x,y:m.y})})}),_r(n["a:lnTo"]).forEach(function(_){_r(L(_,["a:pt"])).forEach(function(v){var m=v.attrs||{};m.x===void 0||m.y===void 0||l.push({type:"lnto",order:Et(m.order,l.length),x:m.x,y:m.y})})}),_r(n["a:cubicBezTo"]).forEach(function(_){var v=[];_r(_["a:pt"]).forEach(function(m){var g=m.attrs||{};g.x!==void 0&&g.y!==void 0&&v.push({x:g.x,y:g.y})}),v.length===3&&l.push({type:"cubicBezTo",order:Et(L(_,["attrs","order"]),l.length),cubBzPt:v})}),_r(n["a:arcTo"]).forEach(function(_){var v=_.attrs||{};v.hR===void 0||v.wR===void 0||v.stAng===void 0||v.swAng===void 0||l.push({type:"arcTo",order:Et(v.order,l.length),hR:v.hR,wR:v.wR,stAng:v.stAng,swAng:v.swAng})}),_r(n["a:close"]).forEach(function(_){l.push({type:"close",order:Et(L(_,["attrs","order"]),l.length)})}),l.sort(function(_,v){return _.order-v.order});var k="";l.forEach(function(_){if(_.type=="movto"){var v=Et(_.x,NaN)*f,m=Et(_.y,NaN)*c;Number.isFinite(v)&&Number.isFinite(m)&&(k+=" M"+Za(v)+","+Za(m))}else if(_.type=="lnto"){var g=Et(_.x,NaN)*f,M=Et(_.y,NaN)*c;Number.isFinite(g)&&Number.isFinite(M)&&(k+=" L"+Za(g)+","+Za(M))}else if(_.type=="cubicBezTo"){var p=Et(_.cubBzPt[0].x,NaN)*f,b=Et(_.cubBzPt[0].y,NaN)*c,y=Et(_.cubBzPt[1].x,NaN)*f,I=Et(_.cubBzPt[1].y,NaN)*c,z=Et(_.cubBzPt[2].x,NaN)*f,R=Et(_.cubBzPt[2].y,NaN)*c;[p,b,y,I,z,R].every(Number.isFinite)&&(k+=" C"+Za(p)+","+Za(b)+" "+Za(y)+","+Za(I)+" "+Za(z)+","+Za(R))}else if(_.type=="arcTo"){var B=Et(_.hR,NaN)*f,Z=Et(_.wR,NaN)*c,T=Et(_.stAng,NaN)/6e4,x=Et(_.swAng,NaN)/6e4;[B,Z,T,x].every(Number.isFinite)&&(k+=ve(Z,B,Z,B,T,T+x,!1))}else _.type=="close"&&(k+=" Z")}),k&&!/NaN/.test(k)&&s.push(k)}),s}function Ag(e,r,t,a,s,n){var i,o,d,f;n=="cornr1"?(i=0,o=0,d=0,f=t):n=="cornr2"?(i=t,o=a,d=a,f=t):n=="cornrAll"?(i=t,o=t,d=t,f=t):n=="diag"&&(i=t,o=a,d=t,f=a);var c;return s=="round"?c="M0,"+(r/2+(1-o)*(r/2))+" Q0,"+r+" "+o*(e/2)+","+r+" L"+(e/2+(1-d)*(e/2))+","+r+" Q"+e+","+r+" "+e+","+(r/2+r/2*(1-d))+"L"+e+","+r/2*f+" Q"+e+",0 "+(e/2+e/2*(1-f))+",0 L"+e/2*i+",0 Q0,0 0,"+r/2*i+" z":s=="snip"&&(c="M0,"+i*(r/2)+" L0,"+(r/2+r/2*(1-o))+"L"+o*(e/2)+","+r+" L"+(e/2+e/2*(1-d))+","+r+"L"+e+","+(r/2+r/2*(1-d))+" L"+e+","+f*(r/2)+"L"+(e/2+e/2*(1-f))+",0 L"+e/2*i+",0 z"),c}async function Xg(e,r,t,a,s){var n="",i=!1,o=e.attrs.order,d=L(e,["p:blipFill","a:blip"]),f;t=="slideMasterBg"?f=r.masterResObj:t=="slideLayoutBg"?f=r.layoutResObj:f=r.slideResObj;var c=r.zip,l;for(var k of Mm(d,f,c))try{if(l=await Ap(c,k.target,await k.entry.async("arraybuffer")),l)break}catch(Ce){console.warn("Unable to decode embedded PPTX picture",Ce)}var _=L(e,["p:spPr","a:xfrm"]);if(_===void 0){var v=L(e,["p:nvPicPr","p:nvPr","p:ph","attrs","idx"]),m=L(e,["p:nvPicPr","p:nvPr","p:ph","attrs","type"]);v!==void 0&&(_=L(r.slideLayoutTables,["idxTable",v,"p:spPr","a:xfrm"]))}var g=0,M=L(_,["attrs","rot"]);M!==void 0&&(g=xo(M));var p=L(e,["p:nvPicPr","p:nvPr","a:videoFile"]),b=L(e,["p:nvPicPr","p:cNvPr","attrs","id"])||o||"0",y="pptx-media-"+(r&&r.slideNumber||"0")+"-"+b,I,z,R,B,Z,T,x=!1,P=!1,J=B1.mediaProcess;if(p!==void 0&J){I=p.attrs["r:link"],z=f[I].target;var re=Ok(z);re?(z=Xi(z),P=!0,x=!0,i=!0):(R=$p(z).toLowerCase(),(R=="mp4"||R=="webm"||R=="ogg")&&(Z=await c.file(z).async("arraybuffer"),B=Wp(R),T=y+"-video",V0.MsgQueue.push({id:T,kind:"video",mimeType:B,buffer:Z}),x=!0,i=!0))}var Q=L(e,["p:nvPicPr","p:nvPr","a:audioFile"]),ae,X,V,H,A,ge,me=!1,u;if(Q!==void 0&J&&(ae=Q.attrs["r:link"],X=f[ae].target,V=$p(X).toLowerCase(),V=="mp3"||V=="wav"||V=="ogg")){A=await c.file(X).async("arraybuffer"),H=V=="ogg"?"audio/ogg":Wp(V),ge=y+"-audio",V0.MsgQueue.push({id:ge,kind:"audio",mimeType:H,buffer:A});var h=parseInt(_["a:ext"].attrs.cx)*20,De=_["a:ext"].attrs.cy,Ue=parseInt(_["a:off"].attrs.x)/2.5,ee=_["a:off"].attrs.y;u={"a:ext":{attrs:{cx:h,cy:De}},"a:off":{attrs:{x:Ue,y:ee}}},me=!0,x=!0,i=!0}if(!l&&(p===void 0&&Q===void 0||!J||!x))return"";var fe=T5(e["p:blipFill"]),oe=gm(d,y+"-"+t+"-alpha"),kt=oe.style,dt=(yf(L(_,["attrs","flipH"]))?" scaleX(-1)":"")+(yf(L(_,["attrs","flipV"]))?" scaleY(-1)":""),S=[],Ee={width:100,height:100},pe=L(e,["p:spPr","a:custGeom"]);if(pe!==void 0&&_!==void 0){var Y=L(_,["a:ext","attrs"])||{},N=Ma(Y.cx,"x",s),j=Ma(Y.cy,"y",s);Number.isFinite(N)&&Number.isFinite(j)&&N>0&&j>0&&(Ee={width:N,height:j},S=Yg(pe,N,j))}if(n="<div class='block content' style='"+Yi(J&&me?u:_,e,void 0,void 0,a,s)+Ai(J&&me?u:_,void 0,void 0,s)+" z-index: "+o+";transform: rotate("+g+"deg)"+dt+";"+(p===void 0&&Q===void 0||!J||!x?fe.container+Zg(e):"")+"'>",p===void 0&&Q===void 0||!J||!x)if(n+=oe.definitions,S.length>0){var be="pptx_pic_clip_"+t+"_"+(r&&r.slideNumber||"0")+"_"+(L(e,["p:nvPicPr","p:cNvPr","attrs","id"])||o||S.length),Le=Ee.width*fe.svg.x/100,E=Ee.height*fe.svg.y/100,Be=Ee.width*fe.svg.width/100,We=Ee.height*fe.svg.height/100;n+="<svg xmlns='http://www.w3.org/2000/svg' width='100%' height='100%' viewBox='0 0 "+Za(Ee.width)+" "+Za(Ee.height)+"' preserveAspectRatio='none' style='display:block;width:100%;height:100%;overflow:hidden;'>",n+="<defs><clipPath id='"+be+"' clipPathUnits='userSpaceOnUse'>",S.forEach(function(Ce){n+="<path d='"+Ce+"' clip-rule='evenodd' fill-rule='evenodd'/>"}),n+="</clipPath></defs>",n+="<image href='"+l+"' x='"+Za(Le)+"' y='"+Za(E)+"' width='"+Za(Be)+"' height='"+Za(We)+"' preserveAspectRatio='none' clip-path='url(#"+be+")' style='"+kt+"'/>",n+="</svg>"}else n+="<img src='"+l+"' style='"+fe.image+kt+"'/>";else(p!==void 0||Q!==void 0)&&J&&x&&(p!==void 0&&!P?n+="<video data-pptx-media-id='"+T+"' controls preload='metadata'"+(l?" poster='"+l+"'":"")+" style='width: 100%; height: 100%'>Your browser does not support the video tag.</video>":p!==void 0&&P&&(n+="<iframe src='"+z+"' controls style='width: 100%; height: 100%'></iframe >"),Q!==void 0&&(n+='<audio data-pptx-media-id="'+ge+'" controls preload="metadata"></audio>'));return!x&&i&&(n+="<span style='color:red;font-size:40px;position: absolute;'>This media file Not supported by HTML5</span>"),(p!==void 0||Q!==void 0)&&!J&&x&&console.log("Founded supported media file but media process disabled (mediaProcess=false)"),n+="</div>",n}async function Kg(e,r,t,a,s){var n="",i=L(e,["a:graphic","a:graphicData","attrs","uri"]);switch(i){case"http://schemas.openxmlformats.org/drawingml/2006/table":n=await Vg(e,r,s);break;case"http://schemas.openxmlformats.org/drawingml/2006/chart":n=await jg(e,r,s);break;case"http://schemas.openxmlformats.org/drawingml/2006/diagram":n=await ek(e,r,t,a,s);break;case"http://schemas.openxmlformats.org/presentationml/2006/ole":var o=L(e,["a:graphic","a:graphicData","mc:AlternateContent","mc:Fallback","p:oleObj"]);o===void 0&&(o=L(e,["a:graphic","a:graphicData","p:oleObj"])),o!==void 0&&(n=await Hp(o,r,t,s));break;default:}return n}async function w1(e,r,t,a,s,n,i,o,d){var fe,oe,kt,dt;var f="";let c=Qc(e,t==null?void 0:t["p:txBody"],a==null?void 0:a["p:txBody"]),l=o===void 0?Ma(c.left+c.right,"x",d):0;var k=i.slideMasterTextStyles;if(e===void 0)return f;var _=L(r,["p:style","a:fontRef"]),v=e["a:p"];v.constructor!==Array&&(v=[v]);for(var m=0;m<v.length;m++){var g=v[m],M=bm(g);M.length===0&&(M=void 0);var p="",b=tk(g,e,s,n,i);b!=""&&(p=b),p.indexOf("line-height:")===-1&&(p+="line-height: "+1.2+";"),(o!==void 0||s=="body"||s=="obj"||s=="shape")&&(p+="font-size: 0px;",p+="font-weight: 100;",p+="font-style: normal;");var y="";Object.prototype.hasOwnProperty.call(Ea,p)?y=Ea[p].name:(y="_css_"+(Object.keys(Ea).length+1),Ea[p]={name:y,text:p});var I=(dt=(kt=(oe=yh(r["p:txXfrm"],(fe=r["p:spPr"])==null?void 0:fe["a:xfrm"]))==null?void 0:oe["a:ext"])==null?void 0:kt.attrs)==null?void 0:dt.cx;I===void 0&&(I=L(t,["p:spPr","a:xfrm","a:ext","attrs","cx"])),I===void 0&&(I=L(a,["p:spPr","a:xfrm","a:ext","attrs","cx"]));var z=L(r,["p:spPr","a:xfrm","a:ext","attrs","cy"]);z===void 0&&(z=L(t,["p:spPr","a:xfrm","a:ext","attrs","cy"])),z===void 0&&(z=L(a,["p:spPr","a:xfrm","a:ext","attrs","cy"]));var R=I!==void 0?Math.max(0,Ma(I,"x",d)-l):NaN,B=Number.isFinite(R)?"width:"+R+"px;":"width:inherit;",Z="",T=ak(g,e,n,s,i);f+="<div style='display: flex;flex-shrink:0;"+B+Z+"' class='slide-prgrph "+rk(g,e,n,s,T,i)+" "+T+" "+y+"' >";var x=await Jg(g,m,r,e,_,n,s,i),P=x[0]!==void 0&&x[0]!==null&&x[0]!="",J=x[1]!==void 0&&x[1]!==null&&P?x[1]+x[2]:0;f+=x[0]!==void 0?x[0]:"";var re=qg(g,n,s,P,i),Q=re[0],ae=re[1];I===void 0&&o!==void 0&&o!=0&&(I=o);var X="",V=0,H=!1;if(M===void 0&&g!==void 0){var A=await d5(g,void 0,r,e,_,t,n,s,1,i,P);if(P&&typeof $!="undefined"){var ge=$(A).css({position:"absolute",float:"left","white-space":"nowrap",visibility:"hidden"}).appendTo($("body"));V+=ge.outerWidth(),H=!0,ge.remove()}X+=A}else if(M!==void 0)for(var me=0;me<M.length;me++){var A=await d5(M[me],me,g,e,_,t,n,s,M.length,i,P);if(P&&typeof $!="undefined"){var ge=$(A).css({position:"absolute",float:"left","white-space":"nowrap",visibility:"hidden"}).appendTo($("body"));V+=ge.outerWidth(),H=!0,ge.remove()}X+=A}var u=void 0;I!==void 0&&(u=Math.max(0,Ma(I,"x",d)-l-J-ae)),P&&H&&u!==void 0&&V<u&&(u=V+J);var h=u!==void 0&&!isNaN(u)?"width:"+u+"px;":"width:inherit;",De=o!==void 0?"height:auto;min-height:0;max-height:100%;":"height:auto;min-height:0;",Ue=/(?:^|;)line-height:\s*([^;]+)/.exec(p),ee=Ue!==null?Ue[1]:1.2;f+="<div data-office-paragraph='"+m+"' style='"+De+(c.wrap==="none"?"white-space:nowrap;":"white-space:normal;")+"line-height:"+ee+";direction: initial;overflow-wrap:normal;word-wrap:normal;word-break:normal;"+h+Q+"' >",f+=X,f+="</div>",f+="</div>"}return f}async function Jg(e,r,t,a,s,n,i,o){var d=o.slideMasterTextStyles,f=a["a:lstStyle"];let c="";var l=L(e,["a:r"]);l!==void 0&&l.constructor===Array&&(l=l[0]);var k=parseInt(L(e["a:pPr"],["attrs","lvl"]))+1;isNaN(k)&&(k=1);var _="a:lvl"+k+"pPr",v,m,g,M,p;if(l!==void 0)v=await D5(l,t,f,s,k,n,i,o),p=v[2],m=Xp(l,a,s,k,i,o);else return"";var b="",y="",I="",z=0,R=0,B=e["a:pPr"],Z=L(B,["a:buNone"]);if(Z!==void 0)return"";var T="TYPE_NONE",x=tc(e,n,i,o),P=x.nodeLaout,J=x.nodeMaster,re=L(B,["a:buChar","attrs","char"]),Q=L(B,["a:buAutoNum","attrs","type"]),ae=L(B,["a:buAutoNum","attrs","startAt"]),X=L(B,["a:buBlip"]);re!==void 0&&(T="TYPE_BULLET"),Q!==void 0&&(T="TYPE_NUMERIC"),X!==void 0&&(T="TYPE_BULPIC");var V=L(B,["a:buSzPts","attrs","val"]);if(V===void 0){if(V=L(B,["a:buSzPct","attrs","val"]),V!==void 0){var H=parseInt(V)/1e5,A=parseInt(m,"px");M=H*parseInt(A)+"px"}}else M=parseInt(V)/100*Co+"px";var ge=L(B,["a:buClr"]);if(re===void 0&&Q===void 0&&X===void 0&&f!==void 0){if(Z=L(f,[_,"a:buNone"]),Z!==void 0)return"";T="TYPE_NONE",re=L(f,[_,"a:buChar","attrs","char"]),Q=L(f,[_,"a:buAutoNum","attrs","type"]),ae=L(f,[_,"a:buAutoNum","attrs","startAt"]),X=L(f,[_,"a:buBlip"]),re!==void 0&&(T="TYPE_BULLET"),Q!==void 0&&(T="TYPE_NUMERIC"),X!==void 0&&(T="TYPE_BULPIC"),(re!==void 0||Q!==void 0||X!==void 0)&&(B=f[_])}if(re===void 0&&Q===void 0&&X===void 0){if(P!==void 0){if(Z=L(P,["a:buNone"]),Z!==void 0)return"";T="TYPE_NONE",re=L(P,["a:buChar","attrs","char"]),Q=L(P,["a:buAutoNum","attrs","type"]),ae=L(P,["a:buAutoNum","attrs","startAt"]),X=L(P,["a:buBlip"]),re!==void 0&&(T="TYPE_BULLET"),Q!==void 0&&(T="TYPE_NUMERIC"),X!==void 0&&(T="TYPE_BULPIC")}if(re===void 0&&Q===void 0&&X===void 0&&J!==void 0){if(Z=L(J,["a:buNone"]),Z!==void 0)return"";T="TYPE_NONE",re=L(J,["a:buChar","attrs","char"]),Q=L(J,["a:buAutoNum","attrs","type"]),ae=L(J,["a:buAutoNum","attrs","startAt"]),X=L(J,["a:buBlip"]),re!==void 0&&(T="TYPE_BULLET"),Q!==void 0&&(T="TYPE_NUMERIC"),X!==void 0&&(T="TYPE_BULPIC")}}var me=L(B,["attrs","rtl"]);me===void 0&&(me=L(P,["attrs","rtl"]),me===void 0&&i!="shape"&&(me=L(J,["attrs","rtl"])));var u=!1;me!==void 0&&me=="1"&&(u=!0);var h=L(B,["attrs","algn"]);h===void 0&&(h=L(P,["attrs","algn"]),h===void 0&&(h=L(J,["attrs","algn"])));var De=L(B,["attrs","indent"]);De===void 0&&(De=L(P,["attrs","indent"]),De===void 0&&(De=L(J,["attrs","indent"])));var Ue=0;De!==void 0&&(Ue=parseInt(De)*w);var ee=L(B,["attrs","marL"]);if(ee===void 0&&(ee=L(P,["attrs","marL"]),ee===void 0&&(ee=L(J,["attrs","marL"]))),ee!==void 0){var fe=parseInt(ee)*w;u?I="padding-right:":I="padding-left:",z=fe+Ue<0?0:fe+Ue,I+=z+"px;"}var oe=L(B,["attrs","marR"]);if(oe===void 0&&ee===void 0&&(oe=L(P,["attrs","marR"]),oe===void 0&&(oe=L(J,["attrs","marR"]))),oe!==void 0){var kt=parseInt(oe)*w;u?I="padding-right:":I="padding-left:",y+=(kt+Ue<0?0:kt+Ue)+"px;"}T!="TYPE_NONE",ge===void 0&&(ge=L(f,[_,"a:buClr"])),ge===void 0&&(ge=L(P,["a:buClr"]),ge===void 0&&(ge=L(J,["a:buClr"])));var dt;if(ge!==void 0?dt=gt(ge,void 0,void 0,o):s!==void 0&&(dt=gt(s,void 0,void 0,o)),dt===void 0||dt=="NONE"?g=v:(g=[dt,"","solid"],p="solid"),V===void 0)if(V=L(P,["a:buSzPts","attrs","val"]),V===void 0){if(V=L(P,["a:buSzPct","attrs","val"]),V!==void 0){var H=parseInt(V)/1e5,A=parseInt(m,"px");M=H*parseInt(A)+"px"}}else M=parseInt(V)/100*Co+"px";if(V===void 0)if(V=L(J,["a:buSzPts","attrs","val"]),V===void 0){if(V=L(J,["a:buSzPct","attrs","val"]),V!==void 0){var H=parseInt(V)/1e5,A=parseInt(m,"px");M=H*parseInt(A)+"px"}}else M=parseInt(V)/100*Co+"px";if(V===void 0&&(M=m),R=parseInt(M,"px"),T=="TYPE_BULLET"){var S=L(B,["a:buFont","attrs","typeface"]),Ee="";if(S!==void 0){var pe=Zp(S);pe!==void 0&&(Ee="font-family: "+pe)}if(b="<div style='height: 100%;"+Ee+";"+I+y+"font-size:"+M+";",p=="solid")g[0]!==void 0&&g[0]!=""&&(b+="color:#"+g[0]+"; "),g[1]!==void 0&&g[1]!=""&&g[1]!=";"&&(b+="text-shadow:"+g[1]+";");else if(p=="pattern"||p=="pic"||p=="gradient"){if(p=="pattern")b+="background:"+g[0][0]+";",g[0][1]!==null&&g[0][1]!==void 0&&g[0][1]!=""&&(b+="background-size:"+g[0][1]+";"),g[0][2]!==null&&g[0][2]!==void 0&&g[0][2]!=""&&(b+="background-position:"+g[0][2]+";");else if(p=="pic")b+=g[0]+";";else if(p=="gradient"){var Y=g[0].color,N=g[0].rot;b+="background: linear-gradient("+N+"deg,";for(var r=0;r<Y.length;r++)r==Y.length-1?b+="#"+Y[r]+");":b+="#"+Y[r]+", "}b+="-webkit-background-clip: text;background-clip: text;color: transparent;",g[1].border!==void 0&&g[1].border!==""&&(b+="-webkit-text-stroke: "+g[1].border+";"),g[1].effcts!==void 0&&g[1].effcts!==""&&(b+="filter: "+g[1].effcts+";")}u&&(b+="white-space: nowrap ;direction:rtl");var j=re;m5||(j=Qg(S,re)),b+="'><div style='line-height: "+R/2+"px;'>"+j+"</div></div>"}else if(T=="TYPE_NUMERIC"){b="<div style='height: 100%;"+I+y+"color:#"+g[0]+";font-size:"+M+";",u?b+="display: inline-block;white-space: nowrap ;direction:rtl;":b+="display: inline-block;white-space: nowrap ;direction:ltr;";var be=Number(ae),Le=Number.isInteger(be)&&be>=1&&be<=32767?" data-bulltstartat='"+be+"'":"";b+="' data-bulltname='"+Xi(Q)+"' data-bulltlvl='"+k+"'"+Le+" class='numeric-bullet-style'></div>"}else if(T=="TYPE_BULPIC"){var E=L(X,["a:blip","attrs","r:embed"]),Be="",We;if(E!==void 0){var Ce=o.slideResObj[E].target,ht=await o.zip.file(Ce).async("arraybuffer"),Yt=await Ap(o.zip,Ce,ht);We=Yt?"<img src='"+Yt+"' style='width: 100%;'/>":"‣"}E===void 0&&(We="‣"),b="<div style='height: 100%;"+I+y+"width:"+M+";display: inline-block; ",u&&(b+="display: inline-block;white-space: nowrap ;direction:rtl;"),b+="'>"+We+" </div>"}return[b,z,R]}function Qg(e,r){switch(r){case"\xA7":return"■";case"q":return"❑";case"v":return"❖";case"\xD8":return"⮚";case"\xFC":return"✔";default:if(e=="Wingdings 2"||e=="Wingdings 3"){var t=Fg(e,r);if(t!==null)return"&#"+t+";"}return"&#"+r.charCodeAt(0)+";"}}function Fg(e,r){let t=r.codePointAt(0)&4095;return v5.codePoint(e,t).codePoint}function tc(e,r,t,a){var s,n,i=e["a:pPr"],o=1,d=L(i,["attrs","lvl"]);if(d!==void 0&&(o=parseInt(d)+1),r!==void 0&&(s=L(a.slideLayoutTables.idxTable[r],["p:txBody","a:lstStyle","a:lvl"+o+"pPr"]),s===void 0&&(s=L(a.slideLayoutTables.idxTable[r],["p:txBody","a:p","a:pPr"]),s===void 0&&(s=L(a.slideLayoutTables.idxTable[r],["p:txBody","a:p",o-1,"a:pPr"])))),t!==void 0){var f="a:lvl"+o+"pPr";s===void 0&&(s=L(a,["slideLayoutTables","typeTable",t,"p:txBody","a:lstStyle",f])),t=="title"||t=="ctrTitle"?n=L(a,["slideMasterTextStyles","p:titleStyle",f]):t=="body"||t=="obj"||t=="subTitle"?n=L(a,["slideMasterTextStyles","p:bodyStyle",f]):t=="shape"||t=="diagram"?n=L(a,["slideMasterTextStyles","p:otherStyle",f]):t=="textBox"?n=L(a,["defaultTextStyle",f]):n=L(a,["slideMasterTables","typeTable",t,"p:txBody","a:lstStyle",f])}return{nodeLaout:s,nodeMaster:n}}async function d5(e,r,t,a,s,n,i,o,d,f,c){var S,Ee;if(e.type==="br")return"<span class='line-break-br'></span>";var l="",k=a["a:lstStyle"],_=f.slideMasterTextStyles,v=e["a:t"],m=L(e,["a:fld","attrs","type"]);typeof m=="string"&&m.toLowerCase()==="slidenum"&&(v=String((Ee=(S=f==null?void 0:f.displaySlideNumber)!=null?S:f==null?void 0:f.slideNumber)!=null?Ee:""));var g="<span"+(typeof m=="string"&&m.toLowerCase()==="slidenum"?" data-pptx-field='slidenum'":""),M="</span>",p="";typeof v!="string"&&(v=L(e,["a:fld","a:t"]),typeof v!="string"&&(v="\xA0"));var b=t["a:pPr"],y=1,I=L(b,["attrs","lvl"]);I!==void 0&&(y=parseInt(I)+1);var z=tc(t,i,o,f),R=z.nodeLaout,B=z.nodeMaster,Z=L(e,["a:rPr","attrs","lang"]),T=Z!==void 0&&L5.indexOf(Z)!==-1,x=L(b,["attrs","rtl"]);x===void 0&&(x=L(R,["attrs","rtl"]),x===void 0&&o!="shape"&&(x=L(B,["attrs","rtl"])));var P=!1,J="ltr";x!==void 0&&x=="1"&&(P=!0,J="rtl");var re=L(e,["a:rPr","a:hlinkClick","attrs","r:id"]),Q="",ae;if(re!==void 0){Q=L(e,["a:rPr","a:hlinkClick","attrs","tooltip"]),Q!==void 0&&(Q="title='"+Xi(Q)+"'"),ae=C5("a:hlink",void 0,void 0,f);var X=L(e,["a:rPr","a:solidFill"]),V=gt(X,void 0,void 0,f);V!==void 0&&V!=""&&(ae=V)}var H=await D5(e,t,k,s,y,i,o,f),A=H[2];if(A=="solid")re===void 0&&H[0]!==void 0&&H[0]!=""?p+="color: #"+H[0]+";":re!==void 0&&ae!==void 0&&(p+="color: #"+ae+";"),H[1]!==void 0&&H[1]!=""&&H[1]!=";"&&(p+="text-shadow:"+H[1]+";"),H[3]!==void 0&&H[3]!=""&&(p+="background-color: #"+H[3]+";");else if(A=="pattern"||A=="pic"||A=="gradient"){if(A=="pattern")p+="background:"+H[0][0]+";",H[0][1]!==null&&H[0][1]!==void 0&&H[0][1]!=""&&(p+="background-size:"+H[0][1]+";"),H[0][2]!==null&&H[0][2]!==void 0&&H[0][2]!=""&&(p+="background-position:"+H[0][2]+";");else if(A=="pic")p+=H[0]+";";else if(A=="gradient"){var ge=H[0].color,me=H[0].rot;p+="background: linear-gradient("+me+"deg,";for(var u=0;u<ge.length;u++)u==ge.length-1?p+="#"+ge[u]+");":p+="#"+ge[u]+", "}p+="-webkit-background-clip: text;background-clip: text;color: transparent;",H[1].border!==void 0&&H[1].border!==""&&(p+="-webkit-text-stroke: "+H[1].border+";"),H[1].effcts!==void 0&&H[1].effcts!==""&&(p+="filter: "+H[1].effcts+";")}var h=Xp(e,a,s,y,o,f);l+="font-size:"+h+";font-family:"+lk(e,o,f,s,v,Z,R,B,y)+";font-weight:"+uk(e,o,_,R,B,t)+";font-style:"+ck(e,o,_,R,B,t)+";text-decoration:"+dk(e,o,_)+";text-align:"+hk(e,t,o,f)+";vertical-align:"+pk(e,o,_)+";",T?p+="direction:rtl;":p+="direction:ltr;";var De=L(e,["a:rPr","a:highlight"]);De!==void 0&&(p+="background-color:#"+gt(De,void 0,void 0,f)+";");var Ue=L(e,["a:rPr","attrs","spc"]);if(Ue===void 0&&(Ue=L(R,["a:defRPr","attrs","spc"]),Ue===void 0&&(Ue=L(B,["a:defRPr","attrs","spc"]))),Ue!==void 0){var ee=parseInt(Ue)/100;p+="letter-spacing: "+ee+"px;"}var fe=L(e,["a:rPr","attrs","cap"]);fe===void 0&&(fe=L(R,["a:defRPr","attrs","cap"]),fe===void 0&&(fe=L(B,["a:defRPr","attrs","cap"]))),(fe=="small"||fe=="all")&&(p+="text-transform: uppercase");var oe="";Object.prototype.hasOwnProperty.call(Ea,p)?oe=Ea[p].name:(oe="_css_"+(Object.keys(Ea).length+1),Ea[p]={name:oe,text:p});var kt="";if(A=="solid"&&re!==void 0&&(kt="style='color: inherit;'"),re!==void 0&&re!=""){var dt=Gk(f.slideResObj[re].target);if(dt!=="")return dt=Xi(dt),g+" class='text-block "+oe+"' style='"+l+"'><a href='"+dt+"' "+kt+" "+Q+" target='_blank' rel='noopener noreferrer'>"+p5(v)+"</a>"+M}return g+" class='text-block "+oe+"' style='"+l+"'>"+p5(v)+M}function qg(e,r,t,a,s){if(!a)return["",0];var n="",i="",o=0,d=e["a:pPr"],f=tc(e,r,t,s),c=f.nodeLaout,l=f.nodeMaster,k=L(d,["attrs","rtl"]);k===void 0&&(k=L(c,["attrs","rtl"]),k===void 0&&t!="shape"&&(k=L(l,["attrs","rtl"])));var _=!1,v="ltr";k!==void 0&&k=="1"&&(_=!0,v="rtl");var m=L(d,["attrs","algn"]);m===void 0&&(m=L(c,["attrs","algn"]),m===void 0&&(m=L(l,["attrs","algn"])));var g=L(d,["attrs","indent"]);g===void 0&&(g=L(c,["attrs","indent"]),g===void 0&&(g=L(l,["attrs","indent"])));var M=0;g!==void 0&&(M=parseInt(g)*w);var p=L(d,["attrs","marL"]);p===void 0&&(p=L(c,["attrs","marL"]),p===void 0&&(p=L(l,["attrs","marL"])));var b=0;p!==void 0&&(b=parseInt(p)*w),(g!==void 0||p!==void 0)&&(_?n="padding-right: ":n="padding-left: ",a?(o=Math.abs(0-M),n+=o+"px;"):(o=Math.abs(b+M),n+=o+"px;"));var y=L(d,["attrs","marR"]);if(y===void 0&&p===void 0&&(y=L(c,["attrs","marR"]),y===void 0&&(y=L(l,["attrs","marR"]))),y!==void 0&&a){var I=parseInt(y)*w;_?i="padding-right: ":i="padding-left: ",i+=Math.abs(0-M)+"px;"}return[n,o]}function R5(){var e="";for(var r of Object.keys(Ea)){var t=Ea[r];if(!(!t||typeof t.name!="string"||typeof t.text!="string")){var a="";e+=a+" ."+t.name+(t.suffix?t.suffix:"")+"{"+t.text+`}
|
|
13
|
-
`}}return e}async function Vg(e,r,t){var a=e.attrs.order,s=L(e,["a:graphic","a:graphicData","a:tbl"]),n=L(e,["p:xfrm"]),i=L(e,["a:graphic","a:graphicData","a:tbl","a:tblPr"])||{};i.attrs=i.attrs||{};var o=L(e,["a:graphic","a:graphicData","a:tbl","a:tblGrid","a:gridCol"]),d="";if(i!==void 0){var f=i.attrs.rtl;d=f==1?"dir=rtl":"dir=ltr"}var c=i.attrs.firstRow,l=i.attrs.firstCol,k=i.attrs.lastRow,_=i.attrs.lastCol,v=i.attrs.bandRow,m=i.attrs.bandCol,g={isFrstRowAttr:c!==void 0&&c=="1"?1:0,isFrstColAttr:l!==void 0&&l=="1"?1:0,isLstRowAttr:k!==void 0&&k=="1"?1:0,isLstColAttr:_!==void 0&&_=="1"?1:0,isBandRowAttr:v!==void 0&&v=="1"?1:0,isBandColAttr:m!==void 0&&m=="1"?1:0},M,p=i["a:tableStyleId"]||L(Up,["a:tblStyleLst","attrs","def"]);if(p!==void 0){var b=L(Up,["a:tblStyleLst","a:tblStyle"]);if(b!==void 0)if(b.constructor===Array)for(var y=0;y<b.length;y++)b[y].attrs.styleId==p&&(M=b[y]);else b.attrs.styleId==p&&(M=b)}M=M||Em(p),r.thisTbiStyle=void 0,M!==void 0&&(M.tblStylAttrObj=g,r.thisTbiStyle=M);var I=L(M,["a:wholeTbl","a:tcStyle"]),z=L(I,["a:tcBdr"]),R="";z!==void 0&&(R=Ku(z,r));var B="",Z=1,T=L(M,["a:tblBg","a:fillRef"]);T!==void 0&&(B=gt(T,void 0,void 0,r)),T===void 0&&(T=L(M,["a:wholeTbl","a:tcStyle","a:fill","a:solidFill"]),B=gt(T,void 0,void 0,r)),B=typeof B=="string"&&B?"background-color: #"+B+";":"";var x=_r(o),P=n5(x.map(function(Ua){return L(Ua,["attrs","w"])})),J="";P!==void 0?J="width:"+Ma(P,"x",t)+"px;":J=Ai(n,void 0,void 0,t);var re=L(e,["p:nvGraphicFramePr","p:cNvPr","attrs","id"]),Q="<table data-office-shape='"+Xi(String(re||""))+"' "+d+" style='border-collapse:collapse;table-layout:fixed;box-sizing:border-box;overflow:hidden;"+Yi(n,e,void 0,void 0,"group",t)+J+" z-index: "+a+";"+R+";"+B+"'>",ae=s["a:tr"];ae.constructor!==Array&&(ae=[ae]);for(var X=ae.map(function(Ua){var On=parseInt(L(Ua,["attrs","h"]));return Number.isFinite(On)&&On>0?Ma(On,"y",t):0}),V=0,H=[],A=0;A<ae.length;A++){var ge=ae[A].attrs.h,me=0,u="box-sizing:border-box;overflow:hidden;";ge!==void 0&&(me=Ma(ge,"y",t),u+="height:"+me+"px;");var h="",De="",Ue="",ee="",fe,oe;if(M!==void 0&&M["a:wholeTbl"]!==void 0){var kt=L(M,["a:wholeTbl","a:tcStyle","a:fill","a:solidFill"]);if(kt!==void 0){var dt=gt(kt,void 0,void 0,r);dt!==void 0&&(h=dt)}var S=L(M,["a:wholeTbl","a:tcTxStyle"]);if(S!==void 0){var Ee=gt(S,void 0,void 0,r);Ee!==void 0&&(Ue=Ee);var pe=L(S,["attrs","b"])=="on"?"bold":"";pe!=""&&(ee=pe)}}if(A==0&&g.isFrstRowAttr==1&&M!==void 0){var kt=L(M,["a:firstRow","a:tcStyle","a:fill","a:solidFill"]);if(kt!==void 0){var dt=gt(kt,void 0,void 0,r);dt!==void 0&&(h=dt)}var Y=L(M,["a:firstRow","a:tcStyle","a:tcBdr"]);if(Y!==void 0){var N=Ku(Y,r);N!=""&&(De=N)}var S=L(M,["a:firstRow","a:tcTxStyle"]);if(S!==void 0){var j=gt(S,void 0,void 0,r);j!==void 0&&(Ue=j);var pe=L(S,["attrs","b"])=="on"?"bold":"";pe!==""&&(ee=pe)}}else if(A>0&&g.isBandRowAttr==1&&M!==void 0){if(h="",De=void 0,A%2==0&&M["a:band2H"]!==void 0){var kt=L(M,["a:band2H","a:tcStyle","a:fill","a:solidFill"]);if(kt!==void 0){var dt=gt(kt,void 0,void 0,r);dt!==""&&(h=dt,oe=dt)}var Y=L(M,["a:band2H","a:tcStyle","a:tcBdr"]);if(Y!==void 0){var N=Ku(Y,r);N!=""&&(De=N)}var S=L(M,["a:band2H","a:tcTxStyle"]);if(S!==void 0){var j=gt(S,void 0,void 0,r);j!==void 0&&(Ue=j)}var pe=L(S,["attrs","b"])=="on"?"bold":"";pe!==""&&(ee=pe)}if(A%2!=0&&M["a:band1H"]!==void 0){var kt=L(M,["a:band1H","a:tcStyle","a:fill","a:solidFill"]);if(kt!==void 0){var dt=gt(kt,void 0,void 0,r);dt!==void 0&&(h=dt,fe=dt)}var Y=L(M,["a:band1H","a:tcStyle","a:tcBdr"]);if(Y!==void 0){var N=Ku(Y,r);N!=""&&(De=N)}var S=L(M,["a:band1H","a:tcTxStyle"]);if(S!==void 0){var j=gt(S,void 0,void 0,r);j!==void 0&&(Ue=j);var pe=L(S,["attrs","b"])=="on"?"bold":"";pe!=""&&(ee=pe)}}}if(A==ae.length-1&&g.isLstRowAttr==1&&M!==void 0){var kt=L(M,["a:lastRow","a:tcStyle","a:fill","a:solidFill"]);if(kt!==void 0){var dt=gt(kt,void 0,void 0,r);dt!==void 0&&(h=dt)}var Y=L(M,["a:lastRow","a:tcStyle","a:tcBdr"]);if(Y!==void 0){var N=Ku(Y,r);N!=""&&(De=N)}var S=L(M,["a:lastRow","a:tcTxStyle"]);if(S!==void 0){var j=gt(S,void 0,void 0,r);j!==void 0&&(Ue=j);var pe=L(S,["attrs","b"])=="on"?"bold":"";pe!==""&&(ee=pe)}}u+=De!==void 0?De:"",u+=Ue!==void 0?" color: #"+Ue+";":"",u+=ee!=""?" font-weight:"+ee+";":"",h!==void 0&&h!=""&&(u+="background-color: #"+h+";"),Q+="<tr style='"+u+"'>";var be=ae[A]["a:tc"];if(be!==void 0)if(be.constructor===Array){var Le=0;H.length==0&&(H=Array.apply(null,Array(be.length)).map(function(){return 0}));for(var E=0;Le<be.length;){if(H[Le]==0&&E==0){var Be=void 0;if(Le==0&&g.isFrstColAttr==1)Be="a:firstCol",g.isLstRowAttr==1&&A==ae.length-1&&L(M,["a:seCell"])!==void 0?Be="a:seCell":g.isFrstRowAttr==1&&A==0&&L(M,["a:neCell"])!==void 0&&(Be="a:neCell");else if(Le>0&&g.isBandColAttr==1&&!(g.isFrstColAttr==1&&A==0)&&!(g.isLstRowAttr==1&&A==ae.length-1)&&Le!=be.length-1&&Le%2!=0){var We=L(M,["a:band2V"]);We===void 0?(We=L(M,["a:band1V"]),We!==void 0&&(Be="a:band2V")):Be="a:band2V"}Le==be.length-1&&g.isLstColAttr==1&&(Be="a:lastCol",g.isLstRowAttr==1&&A==ae.length-1&&L(M,["a:swCell"])!==void 0?Be="a:swCell":g.isFrstRowAttr==1&&A==0&&L(M,["a:nwCell"])!==void 0&&(Be="a:nwCell"));var Ce=await h5(be[Le],o,A,Le,M,Be,r,X,t),ht=Ce[0],Yt=Ce[1],Bt=Ce[2],$r=Ce[3],Pn=Ce[4];$r!==void 0?(V++,H[Le]=parseInt($r)-1,Q+="<td class='"+Bt+"' data-row='"+A+","+Le+"' rowspan ='"+parseInt($r)+"' style='"+Yt+"'>"+ht+"</td>"):Pn!==void 0?(Q+="<td class='"+Bt+"' data-row='"+A+","+Le+"' colspan = '"+parseInt(Pn)+"' style='"+Yt+"'>"+ht+"</td>",E=parseInt(Pn)-1):Q+="<td class='"+Bt+"' data-row='"+A+","+Le+"' style = '"+Yt+"'>"+ht+"</td>"}else H[Le]!=0&&(H[Le]-=1),E!=0&&E--;Le++}}else{var Be=void 0;if(g.isFrstColAttr==1&&g.isLstRowAttr!=1)Be="a:firstCol";else if(g.isBandColAttr==1&&g.isLstRowAttr!=1){var We=L(M,["a:band2V"]);We===void 0?(We=L(M,["a:band1V"]),We!==void 0&&(Be="a:band2V")):Be="a:band2V"}g.isLstColAttr==1&&g.isLstRowAttr!=1&&(Be="a:lastCol");var Ce=await h5(be,o,A,void 0,M,Be,r,X,t),ht=Ce[0],Yt=Ce[1],Bt=Ce[2],$r=Ce[3];$r!==void 0?Q+="<td class='"+Bt+"' rowspan='"+parseInt($r)+"' style = '"+Yt+"'>"+ht+"</td>":Q+="<td class='"+Bt+"' style='"+Yt+"'>"+ht+"</td>"}Q+="</tr>"}return Q+"</table>"}async function h5(e,r,t,a,s,n,i,o,d){var f=L(e,["attrs","rowSpan"]),c=L(e,["attrs","gridSpan"]),l=L(e,["attrs","vMerge"]),k=L(e,["attrs","hMerge"]),_=a5(L(e,["a:tcPr","attrs"])||{}),v="box-sizing:border-box;min-width:0;overflow:hidden;word-wrap:break-word;padding:0;",m,g="",M="",p="",b="",y="",I="",z="",R="",B="",Z="",T=parseInt(c),x=0;if(!isNaN(T)&&T>1)for(var P=0;P<T;P++)x+=parseInt(L(r[a+P],["attrs","w"]));else x=L(a===void 0?r:r[a],["attrs","w"]);var J=await w1(e["a:txBody"],e,void 0,void 0,void 0,void 0,i,x),re=Number.isFinite(parseInt(f))&&parseInt(f)>1?parseInt(f):1,Q=Array.isArray(o)?o.slice(t,t+re).reduce(function(oe,kt){return oe+kt},0):0,ae=Q>0?"height:"+Q+"px;min-height:0;max-height:"+Q+"px;":"";if(J="<div class='pptx-table-cell-content' style='box-sizing:border-box;overflow:hidden;line-height:"+1.2+";"+ae+"padding:"+_.top+"px "+_.right+"px "+_.bottom+"px "+_.left+"px;'>"+J+"</div>",Q>0&&(v+="height:"+Q+"px;"),x!=0&&(m=Ma(x,"x",d),v+="width:"+m+"px;"),y=L(e,["a:tcPr","a:lnB"]),y===void 0&&(n!==void 0&&(y=L(s,[n,"a:tcStyle","a:tcBdr","a:bottom","a:ln"])),y===void 0&&(y=L(s,["a:wholeTbl","a:tcStyle","a:tcBdr","a:bottom","a:ln"]))),I=L(e,["a:tcPr","a:lnT"]),I===void 0&&(n!==void 0&&(I=L(s,[n,"a:tcStyle","a:tcBdr","a:top","a:ln"])),I===void 0&&(I=L(s,["a:wholeTbl","a:tcStyle","a:tcBdr","a:top","a:ln"]))),z=L(e,["a:tcPr","a:lnL"]),z===void 0&&(n!==void 0&&(z=L(s,[n,"a:tcStyle","a:tcBdr","a:left","a:ln"])),z===void 0&&(z=L(s,["a:wholeTbl","a:tcStyle","a:tcBdr","a:left","a:ln"]))),R=L(e,["a:tcPr","a:lnR"]),R===void 0&&(n!==void 0&&(R=L(s,[n,"a:tcStyle","a:tcBdr","a:right","a:ln"])),R===void 0&&(R=L(s,["a:wholeTbl","a:tcStyle","a:tcBdr","a:right","a:ln"]))),B=L(e,["a:tcPr","a:lnBlToTr"]),Z=L(e,["a:tcPr","a:InTlToBr"]),y!==void 0&&y!=""){var X=Si(y,void 0,!1,"",i);X!=""&&(v+="border-bottom:"+X+";")}if(I!==void 0&&I!=""){var V=Si(I,void 0,!1,"",i);V!=""&&(v+="border-top: "+V+";")}if(z!==void 0&&z!=""){var H=Si(z,void 0,!1,"",i);H!=""&&(v+="border-left: "+H+";")}if(R!==void 0&&R!=""){var A=Si(R,void 0,!1,"",i);A!=""&&(v+="border-right:"+A+";")}var ge=L(e,["a:tcPr"]);if(ge!==void 0&&ge!=""){var me={"p:spPr":ge};g=await Vu(me,void 0,!1,i,"slide")}if(g==""||g=="background-color: inherit;"){var u;if(n!==void 0&&(u=L(s,[n,"a:tcStyle","a:fill","a:solidFill"])),u!==void 0){var h=gt(u,void 0,void 0,i);h!==void 0&&(g=" background-color: #"+h+";")}}var De="";g!==void 0&&g!=""&&(Object.prototype.hasOwnProperty.call(Ea,g)?De=Ea[g].name:(De="_tbl_cell_css_"+(Object.keys(Ea).length+1),Ea[g]={name:De,text:g}));var Ue;if(n!==void 0&&(Ue=L(s,[n,"a:tcTxStyle"])),Ue!==void 0){var ee=gt(Ue,void 0,void 0,i);ee!==void 0&&(p=ee);var fe=L(Ue,["attrs","b"])=="on"?"bold":"";fe!==""&&(b=fe)}return v+=p!==""?"color: #"+p+";":"",v+=b!=""?" font-weight:"+b+";":"",[J,v,De,f,c]}async function jg(e,r,t){var _,v;var a=e.attrs.order,s=L(e,["p:xfrm"]),n="<div id='chart"+Tp+"' class='block content' style='"+Yi(s,e,void 0,void 0,"group",t)+Ai(s,void 0,void 0,t)+" z-index: "+a+";'></div>",i=e["a:graphic"]["a:graphicData"]["c:chart"].attrs["r:id"],o=r.slideResObj[i].target,d=await Wr(r.zip,o),f=L(d,["c:chartSpace","c:chart","c:plotArea"]),c=Cm(d,m=>gt(m,void 0,void 0,r),(m,g)=>Qu(m,r,g,""));if(c.groups.length){var l=c.groups[0],k=l.chartType==="scatterChart"?[((_=l.series[0])==null?void 0:_.values.map(m=>m.x))||[],((v=l.series[0])==null?void 0:v.values.map(m=>m.y))||[]]:l.series;ju.MsgQueue.push({type:"createChart",data:{chartID:"chart"+Tp,chartType:c.groups.length>1?"comboChart":l.chartType,barDirection:l.barDirection,chartData:c.groups.length>1?c.groups.flatMap(m=>m.series):k,chartOptions:l.options,chartModel:c}})}return Tp++,n}async function ek(e,r,t,a,s){var B;var n=e.attrs.order,i=r.zip,o=L(e,["p:xfrm"]),d=L(e,["a:graphic","a:graphicData","dgm:relIds","attrs"]),f=d["r:cs"],c=d["r:dm"],l=d["r:lo"],k=d["r:qs"],_=r.slideResObj[f].target,v=r.slideResObj[c].target,m=r.slideResObj[l].target,g=r.slideResObj[k].target,M=await Wr(i,_),p=await Wr(i,v),b=await Wr(i,m),y=await Wr(i,g),I=_r(L(r.digramFileContent,["p:drawing","p:spTree","p:sp"]));let z=hm(I,p,b);var R="";for(let Z of I){let T=z.get((B=Z.attrs)==null?void 0:B.modelId),x=T?{...Z,"p:txXfrm":T}:Z;R+=await y5(x,e,r,"diagramBg",a,s)}return"<div class='block diagram-content' style='"+Yi(o,e,void 0,void 0,a,s)+Ai(o,void 0,void 0,s)+"'>"+R+"</div>"}function Yi(e,r,t,a,s,n){var i,o=-1,d=-1;return e!==void 0&&(i=L(e,["a:off","attrs"])),i===void 0&&t!==void 0?i=L(t,["a:off","attrs"]):i===void 0&&a!==void 0&&(i=L(a,["a:off","attrs"])),i===void 0?"":(o=Tf(i.x,"x",n),d=Tf(i.y,"y",n),isNaN(o)||isNaN(d)?"":"top:"+d+"px; left:"+o+"px;")}function Ai(e,r,t,a){var s=void 0,n=-1,i=-1;return e!==void 0?s=L(e,["a:ext","attrs"]):r!==void 0?s=L(r,["a:ext","attrs"]):t!==void 0&&(s=L(t,["a:ext","attrs"])),s===void 0?"":(n=Ma(s.cx,"x",a),i=Ma(s.cy,"y",a),isNaN(n)||isNaN(i)?"":"width:"+n+"px; height:"+i+"px;")}function tk(e,r,t,a,s){var n=1,i=L(e,["a:pPr","a:spcBef","a:spcPts","attrs","val"]),o=L(e,["a:pPr","a:spcAft","a:spcPts","attrs","val"]),d=L(e,["a:pPr","a:spcBef","a:spcPct","attrs","val"]),f=L(e,["a:pPr","a:spcAft","a:spcPct","attrs","val"]),c=L(e,["a:pPr","a:lnSpc","a:spcPct","attrs","val"]),l="Pct";c===void 0&&(c=L(e,["a:pPr","a:lnSpc","a:spcPts","attrs","val"]),c!==void 0&&(l="Pts"));var k=L(e,["a:pPr","attrs","lvl"]);k!==void 0&&(n=parseInt(k)+1);var _,v=_r(e["a:r"]).concat(_r(e["a:fld"]));v.length===0&&(v=[e]),v.forEach(function(re){var Q=parseFloat(Xp(re,r,void 0,n,t,s));Number.isFinite(Q)&&Q>0&&(_=Math.max(_||0,Q))});var m=L(r,["a:lstStyle","a:lvl"+n+"pPr"]);i===void 0&&d===void 0&&(i=L(m,["a:spcBef","a:spcPts","attrs","val"]),d=L(m,["a:spcBef","a:spcPct","attrs","val"])),o===void 0&&f===void 0&&(o=L(m,["a:spcAft","a:spcPts","attrs","val"]),f=L(m,["a:spcAft","a:spcPct","attrs","val"]));var g=!0;if((t=="shape"||t=="textBox")&&(g=!1),g&&(i===void 0||o===void 0||c===void 0)&&a!==void 0){var M=L(s,["slideLayoutTables","idxTable",a,"p:txBody"]),p=L(M,["a:lstStyle","a:lvl"+n+"pPr"]);p===void 0&&(p=L(_r(L(M,["a:p"]))[n-1],["a:pPr"])),i===void 0&&d===void 0&&(i=L(p,["a:spcBef","a:spcPts","attrs","val"]),d=L(p,["a:spcBef","a:spcPct","attrs","val"])),o===void 0&&f===void 0&&(o=L(p,["a:spcAft","a:spcPts","attrs","val"]),f=L(p,["a:spcAft","a:spcPct","attrs","val"])),c===void 0&&(c=L(p,["a:lnSpc","a:spcPct","attrs","val"]),c===void 0&&(c=L(p,["a:lnSpc","a:spcPts","attrs","val"]),c!==void 0&&(l="Pts")))}if(g&&(i===void 0||o===void 0||c===void 0)){var b=s.slideMasterTextStyles,y="",n="a:lvl"+n+"pPr";switch(t){case"title":case"ctrTitle":y="p:titleStyle";break;case"body":case"obj":case"dt":case"ftr":case"sldNum":case"textBox":y="p:bodyStyle";break;default:y="p:otherStyle"}var I=L(b,[y,n]);I!==void 0&&(i===void 0&&d===void 0&&(i=L(I,["a:spcBef","a:spcPts","attrs","val"]),d=L(I,["a:spcBef","a:spcPct","attrs","val"])),o===void 0&&f===void 0&&(o=L(I,["a:spcAft","a:spcPts","attrs","val"]),f=L(I,["a:spcAft","a:spcPct","attrs","val"])),c===void 0&&(c=L(I,["a:lnSpc","a:spcPct","attrs","val"]),c===void 0&&(c=L(I,["a:lnSpc","a:spcPts","attrs","val"]),c!==void 0&&(l="Pts"))))}var z=0,R=0,B="";i!==void 0&&(z=parseInt(i)/100*Co),o!==void 0&&(R=parseInt(o)/100*Co);function Z(re){if(!(re===void 0||_===void 0)){var Q=String(re).trim();if(/^\+?(?:\d+(?:\.\d*)?|\.\d+)%?$/.test(Q)){var ae=Q.endsWith("%")?parseFloat(Q)/100:Number(Q)/1e5,X=_*ae;return Number.isFinite(X)&&X>=0?X:void 0}}}var T=Z(d),x=Z(f);if(i===void 0&&T!==void 0&&(z=T),o===void 0&&x!==void 0&&(R=x),c!==void 0&&_!==void 0)if(l=="Pts"){var P=parseInt(c)/100*Co;Number.isFinite(P)&&P>0&&(B+="line-height: "+P+"px;")}else{var J=String(c).trim().endsWith("%")?parseFloat(c)/100:Number(c)/1e5;Number.isFinite(J)&&J>0&&(B+="line-height: "+J+";")}return(i!==void 0||T!==void 0)&&Number.isFinite(z)&&(B+="margin-top: "+Math.max(0,z)+"px;"),(o!==void 0||x!==void 0)&&Number.isFinite(R)&&(B+="margin-bottom: "+Math.max(0,R)+"px;"),B}function rk(e,r,t,a,s,n){var i=L(e,["a:pPr","attrs","algn"]);if(i===void 0){var o=1,d=L(e,["a:pPr","attrs","lvl"]);d!==void 0&&(o=parseInt(d)+1);var f="a:lvl"+o+"pPr",c=r["a:lstStyle"];i=L(c,[f,"attrs","algn"]),i===void 0&&t!==void 0&&(i=L(n.slideLayoutTables.idxTable[t],["p:txBody","a:lstStyle",f,"attrs","algn"]),i===void 0&&(i=L(n.slideLayoutTables.idxTable[t],["p:txBody","a:p","a:pPr","attrs","algn"]),i===void 0&&(i=L(n.slideLayoutTables.idxTable[t],["p:txBody","a:p",o-1,"a:pPr","attrs","algn"])))),i===void 0&&(a!==void 0?(i=L(n,["slideLayoutTables","typeTable",a,"p:txBody","a:lstStyle",f,"attrs","algn"]),i===void 0&&(a=="title"||a=="ctrTitle"?i=L(n,["slideMasterTextStyles","p:titleStyle",f,"attrs","algn"]):a=="body"||a=="obj"||a=="subTitle"?i=L(n,["slideMasterTextStyles","p:bodyStyle",f,"attrs","algn"]):a=="shape"||a=="diagram"?i=L(n,["slideMasterTextStyles","p:otherStyle",f,"attrs","algn"]):a=="textBox"?i=L(n,["defaultTextStyle",f,"attrs","algn"]):i=L(n,["slideMasterTables","typeTable",a,"p:txBody","a:lstStyle",f,"attrs","algn"]))):i=L(n,["slideMasterTextStyles","p:bodyStyle",f,"attrs","algn"]))}if(i===void 0){if(a=="title"||a=="subTitle"||a=="ctrTitle")return"h-mid";if(a=="sldNum")return"h-right"}if(i!==void 0)switch(i){case"l":return s=="pregraph-rtl"?"h-left-rtl":"h-left";case"r":return s=="pregraph-rtl"?"h-right-rtl":"h-right";case"ctr":return"h-mid";default:return"h-"+i}}function ak(e,r,t,a,s){var n=L(e,["a:pPr","attrs","rtl"]);if(n===void 0){var i=tc(e,t,a,s),o=i.nodeLaout,d=i.nodeMaster;n=L(o,["attrs","rtl"]),n===void 0&&a!="shape"&&(n=L(d,["attrs","rtl"]))}return n=="1"?"pregraph-rtl":n=="0"?"pregraph-ltr":"pregraph-inherit"}function Rp(e,r,t,a){var s=L(e,["p:txBody","a:bodyPr","attrs","anchor"]);return s===void 0&&(s=L(r,["p:txBody","a:bodyPr","attrs","anchor"]),s===void 0&&(s=L(t,["p:txBody","a:bodyPr","attrs","anchor"]),s===void 0&&(s="t"))),s==="ctr"?"v-mid":s==="b"?"v-down":"v-up"}function Bp(e,r,t){return"content";var a,s,n,i;switch(r){case"title":case"ctrTitle":i="p:titleStyle";break;case"body":case"dt":case"ftr":case"sldNum":case"textBox":i="p:bodyStyle";break;case"shape":i="p:otherStyle"}if(n!==void 0&&i!==""){var o;if(o=="1")return"content-rtl"}}function nk(e,r){return/^(zh|ja|ko)(-|$)/i.test(r||"")||/[\u3040-\u30ff\u3400-\u9fff\uac00-\ud7af]/.test(e||"")}function ik(e,r){return L5.indexOf(r)!==-1||/^(ar|fa|he|ur|dv)(-|$)/i.test(r||"")||/[\u0590-\u08ff\ufb1d-\ufdff\ufe70-\ufeff]/.test(e||"")}function sk(e,r){if(/^zh-(tw|hk|mo)/i.test(e||""))return"Hant";if(/^zh/i.test(e||"")||/[\u3400-\u9fff]/.test(r||""))return"Hans";if(/^ja/i.test(e||"")||/[\u3040-\u30ff]/.test(r||""))return"Jpan";if(/^ko/i.test(e||"")||/[\uac00-\ud7af]/.test(r||""))return"Hang";if(/^(ar|fa|ur|dv)/i.test(e||"")||/[\u0600-\u06ff]/.test(r||""))return"Arab";if(/^he/i.test(e||"")||/[\u0590-\u05ff]/.test(r||""))return"Hebr"}function B5(e,r,t){var a=sk(r,t),s=L(e,["a:font"]);if(!(a===void 0||s===void 0)){s=s.constructor===Array?s:[s];for(var n=0;n<s.length;n++)if(L(s[n],["attrs","script"])===a)return L(s[n],["attrs","typeface"])}}function Qu(e,r,t,a){if(!(e===void 0||e==="")){var s=/^\+(mj|mn)-(lt|ea|cs)$/.exec(e);if(s===null)return e;var n=s[1]==="mj"?"a:majorFont":"a:minorFont",i=s[2]==="lt"?"a:latin":"a:"+s[2],o=L(r.themeContent,["a:theme","a:themeElements","a:fontScheme",n]),d=L(o,[i,"attrs","typeface"]);return d||B5(o,t,a)}}function Dp(e,r,t,a,s){var n=r==="major"?"a:majorFont":"a:minorFont",i=L(e.themeContent,["a:theme","a:themeElements","a:fontScheme",n]),o=L(i,["a:"+t,"attrs","typeface"]);return o||B5(i,a,s)}function y1(e,r,t,a){return e===void 0?{}:{latin:Qu(L(e,["a:latin","attrs","typeface"]),r,t,a),ea:Qu(L(e,["a:ea","attrs","typeface"]),r,t,a),cs:Qu(L(e,["a:cs","attrs","typeface"]),r,t,a),sym:Qu(L(e,["a:sym","attrs","typeface"]),r,t,a)}}function Xu(e,r){Object.keys(r).forEach(function(t){(e[t]===void 0||e[t]==="")&&r[t]!==void 0&&r[t]!==""&&(e[t]=r[t])})}function Zp(e){var r=Uk(e);if(r!=="")return/^(inherit|serif|sans-serif|monospace|cursive|fantasy|system-ui)$/i.test(r)?r:'"'+r.replace(/\\/g,"\\\\").replace(/"/g,'\\"')+'"'}function ok(e){var r=Zp(e);if(r===void 0)return[];var t=String(e).toLowerCase(),a=[];t==="calibri"||t==="calibri light"||t==="aptos"||t==="aptos display"||t==="aptos narrow"||t==="aptos body"?a=["Helvetica Neue","Arial","sans-serif"]:t==="aharoni"?a=["Arial","Helvetica Neue","sans-serif"]:t==="poppins bold"||t==="poppins extrabold"?a=["Poppins","Arial","Helvetica Neue","sans-serif"]:t==="poppins light"||t==="poppins"||t==="poppins regular"?a=["Arial","Helvetica Neue","sans-serif"]:(t==="\u5FAE\u8F6F\u96C5\u9ED1"||t==="microsoft yahei")&&(a=["Microsoft YaHei","PingFang SC","Helvetica Neue","Arial","sans-serif"]);var s=[r];return a.forEach(function(n){var i=Zp(n);i!==void 0&&s.indexOf(i)===-1&&s.push(i)}),s}function p5(e){var r=String(e),t=r.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,'"').replace(/'/g,"'").replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/\t/g," ").replace(/\u00a0/g," ");return/^[\s\u00a0]*$/.test(r)?t.replace(/ /g," "):t.replace(/ {2,}/g,function(a){return" "+new Array(a.length).join(" ")})}function fk(e,r){var t=L(r,["attrs","idx"]);return t==="major"||t==="minor"?t:e=="title"||e=="subTitle"||e=="ctrTitle"?"major":"minor"}function lk(e,r,t,a,s,n,i,o,d){var f={};Xu(f,y1(L(e,["a:rPr"]),t,n,s)),Xu(f,y1(L(i,["a:defRPr"]),t,n,s)),Xu(f,y1(L(o,["a:defRPr"]),t,n,s));var c="a:lvl"+d+"pPr";Xu(f,y1(L(t.defaultTextStyle,[c,"a:defRPr"]),t,n,s));var l=fk(r,a);Xu(f,{latin:Dp(t,l,"latin",n,s),ea:Dp(t,l,"ea",n,s),cs:Dp(t,l,"cs",n,s)});var k=ik(s,n)?"cs":nk(s,n)?"ea":"latin",_=[f[k],f.latin,f.ea,f.cs,f.sym],v=[];return _.forEach(function(m){ok(m).forEach(function(g){v.indexOf(g)===-1&&v.push(g)})}),v.length?v.join(","):"inherit"}async function D5(e,r,t,a,s,n,i,o){var d=L(e,["a:rPr"]),f,c,P,l="",k="";if(d!==void 0){if(f=un(d),f=="SOLID_FILL"){var _=d["a:solidFill"];c=gt(_,void 0,void 0,o);var v=d["a:highlight"];v!==void 0&&(k=gt(v,void 0,void 0,o)),l="solid"}else if(f=="PATTERN_FILL"){var m=d["a:pattFill"];c=Sf(m,o),l="pattern"}else if(f=="PIC_FILL")c=await $i(d,"slideBg",o,void 0,void 0),l="pic";else if(f=="GRADIENT_FILL"){var g=d["a:gradFill"];c=qu(g,o),l="gradient"}}if(c===void 0){var M=L(r,["a:pPr","a:defRPr"]);if(M!==void 0){if(f=un(M),f=="SOLID_FILL"){var _=M["a:solidFill"];c=gt(_,void 0,void 0,o);var v=M["a:highlight"];v!==void 0&&(k=gt(v,void 0,void 0,o)),l="solid"}else if(f=="PATTERN_FILL"){var m=M["a:pattFill"];c=Sf(m,o),l="pattern"}else if(f=="PIC_FILL")c=await $i(M,"slideBg",o,void 0,void 0),l="pic";else if(f=="GRADIENT_FILL"){var g=M["a:gradFill"];c=qu(g,o),l="gradient"}}}if(c===void 0&&L(t,["a:lvl"+s+"pPr","a:defRPr"])!==void 0){var p=L(t,["a:lvl"+s+"pPr","a:defRPr"]);if(f=un(p),f=="SOLID_FILL"){var _=p["a:solidFill"];c=gt(_,void 0,void 0,o);var v=p["a:highlight"];v!==void 0&&(k=gt(v,void 0,void 0,o)),l="solid"}else if(f=="PATTERN_FILL"){var m=p["a:pattFill"];c=Sf(m,o),l="pattern"}else if(f=="PIC_FILL")c=await $i(p,"slideBg",o,void 0,void 0),l="pic";else if(f=="GRADIENT_FILL"){var g=p["a:gradFill"];c=qu(g,o),l="gradient"}}if(c===void 0){var b=L(r,["p:style","a:fontRef"]);if(b!==void 0){c=gt(b,void 0,void 0,o),c!==void 0&&(l="solid");var v=b["a:highlight"];v!==void 0&&(k=gt(v,void 0,void 0,o))}c===void 0&&a!==void 0&&(c=gt(a,void 0,void 0,o),c!==void 0&&(l="solid"))}if(c===void 0){var y=tc(r,n,i,o),I=y.nodeLaout,z=y.nodeMaster;if(I!==void 0){var R=L(I,["a:defRPr","a:solidFill"]);if(R!==void 0){c=gt(R,void 0,void 0,o);var v=L(I,["a:defRPr","a:highlight"]);v!==void 0&&(k=gt(v,void 0,void 0,o)),l="solid"}}if(c===void 0&&z!==void 0){var B=L(z,["a:defRPr","a:solidFill"]);if(B!==void 0){c=gt(B,void 0,void 0,o);var v=L(z,["a:defRPr","a:highlight"]);v!==void 0&&(k=gt(v,void 0,void 0,o)),l="solid"}}}var Z=[],T={},x=L(e,["a:rPr","a:ln"]),P="";if(x!==void 0&&x["a:noFill"]===void 0){var J=Si(e,r,!1,"text",o),re=J.split(" "),Q=parseInt(re[0].substring(0,re[0].indexOf("px")))+"px",ae=re[2];l=="solid"?(P="-"+Q+" 0 "+ae+", 0 "+Q+" "+ae+", "+Q+" 0 "+ae+", 0 -"+Q+" "+ae,Z.push(P)):T.border=Q+" "+ae}var X=L(e,["a:rPr","a:effectLst","a:glow"]),V="";if(X!==void 0){var H=gt(X,void 0,void 0,o),A=X.attrs.rad?X.attrs.rad*w:0;V="0 0 "+A+"px #"+H+", 0 0 "+A+"px #"+H+", 0 0 "+A+"px #"+H+", 0 0 "+A+"px #"+H+", 0 0 "+A+"px #"+H+", 0 0 "+A+"px #"+H+", 0 0 "+A+"px #"+H,l=="solid"?Z.push(V):Z.push("drop-shadow(0 0 "+A/3+"px #"+H+") drop-shadow(0 0 "+A*2/3+"px #"+H+") drop-shadow(0 0 "+A+"px #"+H+")")}var ge=L(e,["a:rPr","a:effectLst","a:outerShdw"]),me="";if(ge!==void 0){var u=gt(ge,void 0,void 0,o),h=ge.attrs,De=h.algn,Ue=h.dir?parseInt(h.dir)/6e4:0,ee=parseInt(h.dist)*w,fe=h.rotWithShape,oe=h.blurRad?parseInt(h.blurRad)*w+"px":"",kt=h.sx?parseInt(h.sx)/1e5:1,dt=h.sy?parseInt(h.sy)/1e5:1,S=ee*Math.sin(Ue*Math.PI/180),Ee=ee*Math.cos(Ue*Math.PI/180);!isNaN(S)&&!isNaN(Ee)&&(me=Ee+"px "+S+"px "+oe+" #"+u,l=="solid"?Z.push(me):Z.push("drop-shadow("+Ee+"px "+S+"px "+oe+" #"+u+")"))}var pe="",Y;return l=="solid"?(Z.length>0&&(pe=Z.join(",")),Y=pe+";"):(Z.length>0&&(pe=Z.join(" ")),T.effcts=pe,Y=T),[c,Y,l,k]}function Xp(e,r,t,a,s,n){var i=r!==void 0?r["a:lstStyle"]:void 0,o="a:lvl"+a+"pPr",d=void 0,f;e["a:rPr"]!==void 0&&(d=parseInt(e["a:rPr"].attrs.sz)/100),(isNaN(d)||d===void 0&&e["a:fld"]!==void 0)&&(f=L(e["a:fld"],["a:rPr","attrs","sz"]),d=parseInt(f)/100),(isNaN(d)||d===void 0)&&e["a:t"]===void 0&&(f=L(e["a:endParaRPr"],["attrs","sz"]),d=parseInt(f)/100),(isNaN(d)||d===void 0)&&i!==void 0&&(f=L(i,[o,"a:defRPr","attrs","sz"]),d=parseInt(f)/100),(isNaN(d)||d===void 0)&&(f=L(n.slideLayoutTables,["typeTable",s,"p:txBody","a:lstStyle",o,"a:defRPr","attrs","sz"]),d=parseInt(f)/100),(isNaN(d)||d===void 0)&&(f=L(n.slideMasterTables,["typeTable",s,"p:txBody","a:lstStyle",o,"a:defRPr","attrs","sz"]),f===void 0&&(s=="title"||s=="subTitle"||s=="ctrTitle"?f=L(n.slideMasterTextStyles,["p:titleStyle",o,"a:defRPr","attrs","sz"]):s=="body"||s=="obj"||s=="dt"||s=="sldNum"?f=L(n.slideMasterTextStyles,["p:bodyStyle",o,"a:defRPr","attrs","sz"]):(s=="shape"||s==="textBox")&&(f=L(n.slideMasterTextStyles,["p:otherStyle",o,"a:defRPr","attrs","sz"])),f===void 0&&(f=L(n.defaultTextStyle,[o,"a:defRPr","attrs","sz"]))),d=parseInt(f)/100);var c=L(e,["a:rPr","attrs","baseline"]);if(c!==void 0&&Number(c)!==0&&!isNaN(d)&&(d*=2/3),!isNaN(d)){let l=Qc(r).fontScale;d*=l}return isNaN(d)?s=="br"?"initial":"inherit":d*Co+"px"}function uk(e,r,t,a,s,n){var i=L(e,["a:rPr","attrs","b"]);return i===void 0&&(i=L(n,["a:pPr","a:defRPr","attrs","b"])),i===void 0&&(i=L(a,["a:defRPr","attrs","b"])),i===void 0&&(i=L(s,["a:defRPr","attrs","b"])),i==="1"||i===!0?"bold":i==="0"||i===!1?"normal":"inherit"}function ck(e,r,t,a,s,n){var i=L(e,["a:rPr","attrs","i"]);return i===void 0&&(i=L(n,["a:pPr","a:defRPr","attrs","i"])),i===void 0&&(i=L(a,["a:defRPr","attrs","i"])),i===void 0&&(i=L(s,["a:defRPr","attrs","i"])),i==="1"||i===!0?"italic":i==="0"||i===!1?"normal":"inherit"}function dk(e,r,t){if(e["a:rPr"]!==void 0){var a=e["a:rPr"].attrs.u!==void 0?e["a:rPr"].attrs.u:"none",s=e["a:rPr"].attrs.strike!==void 0?e["a:rPr"].attrs.strike:"noStrike";return a!="none"&&s=="noStrike"?"underline":a=="none"&&s!="noStrike"?"line-through":a!="none"&&s!="noStrike"?"underline line-through":"inherit"}else return"inherit"}function hk(e,r,t,a){var s=L(e,["a:pPr","attrs","algn"]);if(s===void 0&&(s=L(r,["a:pPr","attrs","algn"])),s===void 0)if(t=="title"||t=="ctrTitle"||t=="subTitle"){var n=1,i=L(r,["a:pPr","attrs","lvl"]);i!==void 0&&(n=parseInt(i)+1);var o="a:lvl"+n+"pPr";s=L(a,["slideLayoutTables","typeTable",t,"p:txBody","a:lstStyle",o,"attrs","algn"]),s===void 0&&(s=L(a,["slideMasterTables","typeTable",t,"p:txBody","a:lstStyle",o,"attrs","algn"]),s===void 0&&(s=L(a,["slideMasterTextStyles","p:titleStyle",o,"attrs","algn"]),s===void 0&&t==="subTitle"&&(s=L(a,["slideMasterTextStyles","p:bodyStyle",o,"attrs","algn"]))))}else t=="body"?s=L(a,["slideMasterTextStyles","p:bodyStyle","a:lvl1pPr","attrs","algn"]):s=L(a,["slideMasterTables","typeTable",t,"p:txBody","a:lstStyle","a:lvl1pPr","attrs","algn"]);var d="inherit";if(s!==void 0)switch(s){case"l":d="left";break;case"r":d="right";break;case"ctr":d="center";break;case"just":d="justify";break;case"dist":d="justify";break;default:d="inherit"}return d}function pk(e,r,t){var a=L(e,["a:rPr","attrs","baseline"]);return a===void 0?"baseline":parseInt(a)/1e3+"%"}function Ku(e,r){var t="";if(e["a:bottom"]!==void 0){var a={"p:spPr":{"a:ln":e["a:bottom"]["a:ln"]}},s=Si(a,void 0,!1,"shape",r);t+=s.replace("border","border-bottom")}if(e["a:top"]!==void 0){var a={"p:spPr":{"a:ln":e["a:top"]["a:ln"]}},s=Si(a,void 0,!1,"shape",r);t+=s.replace("border","border-top")}if(e["a:right"]!==void 0){var a={"p:spPr":{"a:ln":e["a:right"]["a:ln"]}},s=Si(a,void 0,!1,"shape",r);t+=s.replace("border","border-right")}if(e["a:left"]!==void 0){var a={"p:spPr":{"a:ln":e["a:left"]["a:ln"]}},s=Si(a,void 0,!1,"shape",r);t+=s.replace("border","border-left")}return t}function Si(e,r,t,a,s){var n,i,o;a=="shape"?(n="border: ",i=e["p:spPr"]["a:ln"]):a=="text"&&(n="",i=e["a:rPr"]["a:ln"]);var d=L(i,["a:noFill"]);if(d!==void 0)return"hidden";if(i==null){var f=L(e,["p:style","a:lnRef"]);if(f!==void 0){var c=L(f,["attrs","idx"]);i=s.themeContent["a:theme"]["a:themeElements"]["a:fmtScheme"]["a:lnStyleLst"]["a:ln"][Number(c)-1]}}i==null&&(n="",i=e);var l;if(i!==void 0){var k=parseInt(L(i,["attrs","w"]))/12700;isNaN(k)||k<1?n+=4/3+"px ":n+=k+"px ";var _=L(i,["a:prstDash","attrs","val"]);_===void 0&&(_=L(i,["attrs","cmpd"]));var v="0";switch(_){case"solid":n+="solid",v="0";break;case"dash":n+="dashed",v="5";break;case"dashDot":n+="dashed",v="5, 5, 1, 5";break;case"dot":n+="dotted",v="1, 5";break;case"lgDash":n+="dashed",v="10, 5";break;case"dbl":n+="double",v="0";break;case"lgDashDotDot":n+="dashed",v="10, 5, 1, 5, 1, 5";break;case"sysDash":n+="dashed",v="5, 2";break;case"sysDashDot":n+="dashed",v="5, 2, 1, 5";break;case"sysDashDotDot":n+="dashed",v="5, 2, 1, 5, 1, 5";break;case"sysDot":n+="dotted",v="2, 5";break;default:n+="solid",v="0"}var m=un(i);m=="NO_FILL"?l=t?"none":"":m=="SOLID_FILL"?l=gt(i["a:solidFill"],void 0,void 0,s):m=="GRADIENT_FILL"?l=gk(qu(i["a:gradFill"],s,e)):m=="PATTERN_FILL"&&(l=Sf(i["a:pattFill"],s))}if(l===void 0){var f=L(e,["p:style","a:lnRef"]);f!==void 0&&(l=gt(f,void 0,void 0,s))}return l===void 0?t?l="none":l="hidden":l="#"+l,n+=" "+l+" ",t?{color:l,width:k,type:_,strokeDasharray:v}:n+";"}async function vk(e,r,t){var a=e.slideContent,s=e.slideLayoutContent,n=e.slideMasterContent,i=L(s,["p:sldLayout","p:cSld","p:spTree"]),o=L(n,["p:sldMaster","p:cSld","p:spTree"]),d=L(a,["p:sld","attrs","showMasterSp"]),f=L(s,["p:sldLayout","attrs","showMasterSp"]),c=d!==void 0?d:f,l=!(c==="0"||c==="false"),k=await N5(e,t)||"",_="<div class='slide-background slide-background-"+t+"' style='position:absolute;top:0;left:0;overflow:hidden;z-index:0;width:"+r.width+"px; height:"+r.height+"px;"+k+"'>";if(o!==void 0&&l){_+="<div class='pptx-master-layer' style='position:absolute;inset:0;z-index:0;'>";for(var v in o)if(o[v].constructor===Array)for(var m=0;m<o[v].length;m++){var g=L(o[v][m],["p:nvSpPr","p:nvPr","p:ph","attrs","type"]);_+=await q0(v,o[v][m],o,e,"slideMasterBg")}else{var g=L(o[v],["p:nvSpPr","p:nvPr","p:ph","attrs","type"]);_+=await q0(v,o[v],o,e,"slideMasterBg")}_+="</div>"}if(i!==void 0){_+="<div class='pptx-layout-layer' style='position:absolute;inset:0;z-index:1;'>";for(var v in i)if(i[v].constructor===Array)for(var m=0;m<i[v].length;m++){var g=L(i[v][m],["p:nvSpPr","p:nvPr","p:ph","attrs","type"]);g!="pic"&&(_+=await q0(v,i[v][m],i,e,"slideLayoutBg"))}else{var g=L(i[v],["p:nvSpPr","p:nvPr","p:ph","attrs","type"]);g!="pic"&&(_+=await q0(v,i[v],i,e,"slideLayoutBg"))}_+="</div>"}return _+"</div>"}function mk(e){var r=[];return e===void 0?r:(Object.keys(e).forEach(function(t){var a=e[t];if(t!="attrs")if(a.constructor===Array)for(var s=0;s<a.length;s++){var n={};n[t]=a[s],n.idex=Number(L(a[s],["attrs","order"]))||r.length+1,n.attrs={order:n.idex},r.push(n)}else{var n={};n[t]=a,n.idex=Number(L(a,["attrs","order"]))||r.length+1,n.attrs={order:n.idex},r.push(n)}}),r.sort(function(t,a){return t.idex-a.idex}))}function _k(e,r){if(!(r==0||r==1e3)){var t=r>1e3?"a:bgFillStyleLst":"a:fillStyleLst",a=r>1e3?r-1e3:r,s=L(e.themeContent,["a:theme","a:themeElements","a:fmtScheme",t]),n=mk(s);return n[a-1]}}async function R1(e,r,t,a,s,n,i){if(e!==void 0){var o=un(e);if(o=="SOLID_FILL"){var d=e["a:solidFill"],f=gt(d,r,t,s);return f!==void 0?"background: #"+f+";":void 0}else{if(o=="GRADIENT_FILL")return zo(e,t,a,s);if(o=="PIC_FILL")return await $i(e,i||"themeBg",s,t,n);if(o=="PATTERN_FILL"){var c=Sf(e["a:pattFill"],s);if(c!==void 0){var l="background: "+c[0]+";";return c[1]!==null&&c[1]!==void 0&&c[1]!=""&&(l+="background-size:"+c[1]+";"),c[2]!==null&&c[2]!==void 0&&c[2]!=""&&(l+="background-position:"+c[2]+";"),l}}}}}async function Np(e,r,t,a,s,n){return await R1(_k(s,e),r,t,a,s,n,"themeBg")}async function N5(e,r){var t=e.slideContent,a=e.slideLayoutContent,s=e.slideMasterContent,n=L(t,["p:sld","p:cSld","p:bg","p:bgPr"]),i=L(t,["p:sld","p:cSld","p:bg","p:bgRef"]),o;if(n!==void 0){var d=un(n);if(d=="SOLID_FILL"){var f=n["a:solidFill"],c,l=L(t,["p:sld","p:clrMapOvr","a:overrideClrMapping","attrs"]);if(l!==void 0)c=l;else{var l=L(a,["p:sldLayout","p:clrMapOvr","a:overrideClrMapping","attrs"]);l!==void 0?c=l:c=L(s,["p:sldMaster","p:clrMap","attrs"])}var k=gt(f,c,void 0,e);o="background: #"+k+";"}else d=="GRADIENT_FILL"?o=zo(n,void 0,s,e):d=="PIC_FILL"&&(o=await $i(n,"slideBg",e,void 0,r))}else if(i!==void 0){var c,l=L(t,["p:sld","p:clrMapOvr","a:overrideClrMapping","attrs"]);if(l!==void 0)c=l;else{var l=L(a,["p:sldLayout","p:clrMapOvr","a:overrideClrMapping","attrs"]);l!==void 0?c=l:c=L(s,["p:sldMaster","p:clrMap","attrs"])}var _=gt(i,c,void 0,e),v=Number(i.attrs.idx);if(!(v==0||v==1e3)){if(v>0&&v<1e3)o=await Np(v,c,_,s,e,r);else if(v>1e3){var m=v-1e3,g=e.themeContent["a:theme"]["a:themeElements"]["a:fmtScheme"]["a:bgFillStyleLst"],M=[];Object.keys(g).forEach(function(B){var Z=g[B];if(B!="attrs")if(Z.constructor===Array)for(var T=0;T<Z.length;T++){var x={};x[B]=Z[T],x.idex=Z[T].attrs.order,x.attrs={order:Z[T].attrs.order},M.push(x)}else{var x={};x[B]=Z,x.idex=Z.attrs.order,x.attrs={order:Z.attrs.order},M.push(x)}});var p=M.slice(0);p.sort(function(B,Z){return B.idex-Z.idex});var b=p[m-1],d=un(b);if(d=="SOLID_FILL"){var f=b["a:solidFill"],k=gt(f,c,void 0,e);o="background: #"+k+";"}else d=="GRADIENT_FILL"?o=zo(b,_,s,e):d=="PIC_FILL"?o=await $i(b,"themeBg",e,_,r):d=="PATTERN_FILL"?o=await R1(b,c,_,s,e,r,"themeBg"):console.log(d)}}}else{n=L(a,["p:sldLayout","p:cSld","p:bg","p:bgPr"]),i=L(a,["p:sldLayout","p:cSld","p:bg","p:bgRef"]);var c,l=L(a,["p:sldLayout","p:clrMapOvr","a:overrideClrMapping","attrs"]);if(l!==void 0?c=l:c=L(s,["p:sldMaster","p:clrMap","attrs"]),n!==void 0){var d=un(n);if(d=="SOLID_FILL"){var f=n["a:solidFill"],k=gt(f,c,void 0,e);o="background: #"+k+";"}else d=="GRADIENT_FILL"?o=zo(n,void 0,s,e):d=="PIC_FILL"&&(o=await $i(n,"slideLayoutBg",e,void 0,r))}else if(i!==void 0){var _=gt(i,c,void 0,e),v=Number(i.attrs.idx);if(!(v==0||v==1e3)){if(v>0&&v<1e3)o=await Np(v,c,_,s,e,r);else if(v>1e3){var m=v-1e3,g=e.themeContent["a:theme"]["a:themeElements"]["a:fmtScheme"]["a:bgFillStyleLst"],M=[];Object.keys(g).forEach(function(Q){var ae=g[Q];if(Q!="attrs")if(ae.constructor===Array)for(var X=0;X<ae.length;X++){var V={};V[Q]=ae[X],V.idex=ae[X].attrs.order,V.attrs={order:ae[X].attrs.order},M.push(V)}else{var V={};V[Q]=ae,V.idex=ae.attrs.order,V.attrs={order:ae.attrs.order},M.push(V)}});var p=M.slice(0);p.sort(function(Q,ae){return Q.idex-ae.idex});var b=p[m-1],d=un(b);if(d=="SOLID_FILL"){var f=b["a:solidFill"],k=gt(f,c,_,e);o="background: #"+k+";"}else d=="GRADIENT_FILL"?o=zo(b,_,s,e):d=="PIC_FILL"?o=await $i(b,"themeBg",e,_,r):d=="PATTERN_FILL"?o=await R1(b,c,_,s,e,r,"themeBg"):console.log(d)}}}else{n=L(s,["p:sldMaster","p:cSld","p:bg","p:bgPr"]),i=L(s,["p:sldMaster","p:cSld","p:bg","p:bgRef"]);var y=L(s,["p:sldMaster","p:clrMap","attrs"]);if(n!==void 0){var d=un(n);if(d=="SOLID_FILL"){var f=n["a:solidFill"],k=gt(f,y,void 0,e);o="background: #"+k+";"}else d=="GRADIENT_FILL"?o=zo(n,void 0,s,e):d=="PIC_FILL"&&(o=await $i(n,"slideMasterBg",e,void 0,r))}else if(i!==void 0){var _=gt(i,y,void 0,e),v=Number(i.attrs.idx);if(!(v==0||v==1e3)){if(v>0&&v<1e3)o=await Np(v,y,_,s,e,r);else if(v>1e3){var m=v-1e3,g=e.themeContent["a:theme"]["a:themeElements"]["a:fmtScheme"]["a:bgFillStyleLst"],M=[];Object.keys(g).forEach(function(Q){var ae=g[Q];if(Q!="attrs")if(ae.constructor===Array)for(var X=0;X<ae.length;X++){var V={};V[Q]=ae[X],V.idex=ae[X].attrs.order,V.attrs={order:ae[X].attrs.order},M.push(V)}else{var V={};V[Q]=ae,V.idex=ae.attrs.order,V.attrs={order:ae.attrs.order},M.push(V)}});var p=M.slice(0);p.sort(function(Q,ae){return Q.idex-ae.idex});var b=p[m-1],d=un(b);if(d=="SOLID_FILL"){var f=b["a:solidFill"],k=gt(f,y,_,e);o="background: #"+k+";"}else d=="GRADIENT_FILL"?o=zo(b,_,s,e):d=="PIC_FILL"?o=await $i(b,"themeBg",e,_,r):d=="PATTERN_FILL"?o=await R1(b,y,_,s,e,r,"themeBg"):console.log(d)}}}}}return o}function zo(e,r,t,a){var s="";if(e!==void 0){var n=e["a:gradFill"],i=n["a:gsLst"]["a:gs"];i.constructor!==Array&&(i=[i]);for(var o=L(t,["p:sldMaster","p:clrMap","attrs"]),d=[],f=[],c=0;c<i.length;c++){var l,k="",k=gt(i[c],o,r,a),_=L(i[c],["attrs","pos"]);_!==void 0?f[c]=_/1e3+"%":f[c]="",d[c]="#"+k}var v=n["a:lin"],m=90;v!==void 0&&(m=xo(v.attrs.ang),m=m+90),s="background: linear-gradient("+m+"deg,";for(var c=0;c<i.length;c++)c==i.length-1?s+=d[c]+" "+f[c]+");":s+=d[c]+" "+f[c]+", "}else r!==void 0&&(s="background: #"+r+";");return s}async function $i(e,r,t,a,s){var n,i=await z5(r,e["a:blipFill"],t);if(i!==void 0){var o=L(e,["attrs","order"]),d=L(e,["a:blipFill","a:blip"]),f=L(d,["a:duotone"]);if(f!==void 0){var c=[];Object.keys(f).forEach(function(R){if(R!="attrs"){var B={};B[R]=f[R],c.push(gt(B,void 0,a,t))}})}var l=L(d,["a:alphaModFix","attrs"]),k="";if(l!==void 0&&l.amt!==void 0&&l.amt!=""){var _=parseInt(l.amt)/1e5;k="opacity:"+_+";"}var v=L(e,["a:blipFill","a:tile","attrs"]),m="";if(v!==void 0&&v.sx!==void 0){var g=parseInt(v.sx)/1e5,M=parseInt(v.sy)/1e5,p=parseInt(v.tx)/1e5,b=parseInt(v.ty)/1e5,y=v.algn,I=v.flip;m+="background-repeat: round;"}var z=L(e,["a:blipFill","a:stretch"]);return z!==void 0&&(m+="background-repeat: no-repeat;",m+="background-position: center;",m+="background-size: 100% 100%;"),n="background: url("+i+");"+(o!==void 0?" z-index: "+o+";":"")+m+k,n}}async function Vu(e,r,t,a,s){var n=un(L(e,["p:spPr"])),i,o;if(n=="NO_FILL")return t?"none":"";if(n=="SOLID_FILL")o=e["p:spPr"]["a:solidFill"],i=gt(o,void 0,void 0,a);else if(n=="GRADIENT_FILL")o=e["p:spPr"]["a:gradFill"],i=qu(o,a,e);else if(n=="PATTERN_FILL")o=e["p:spPr"]["a:pattFill"],i=Sf(o,a);else if(n=="PIC_FILL")o=e["p:spPr"]["a:blipFill"],i=await z5(s,o,a);else if(n=="GROUP_FILL"){var d=L(r,["p:grpSpPr"]);if(d!==void 0)return await Vu({"p:spPr":d},e,t,a,s)}if(i===void 0){var f=L(e,["p:style","a:fillRef"]),c=parseInt(L(e,["p:style","a:fillRef","attrs","idx"]));if(c==0||c==1e3)return t?"none":"";c>0&&c<1e3||c>1e3,i=gt(f,void 0,void 0,a)}if(i===void 0){var l=L(e,["p:spPr","a:grpFill"]);if(l!==void 0){var d=r["p:grpSpPr"],k={"p:spPr":d};return await Vu(k,e,t,a,s)}else if(n=="NO_FILL")return t?"none":""}if(i!==void 0)if(n=="GRADIENT_FILL"){if(t)return i;for(var _=i.color,v=i.rot,m="background: linear-gradient("+v+"deg,",g=0;g<_.length;g++)g==_.length-1?m+="#"+_[g]+");":m+="#"+_[g]+", ";return m}else{if(n=="PIC_FILL")return t?i:"background-image:url("+i+");";if(n=="PATTERN_FILL"){var M="",p="",b="";return M=i[0],i[1]!==null&&i[1]!==void 0&&i[1]!=""&&(p=" background-size:"+i[1]+";"),i[2]!==null&&i[2]!==void 0&&i[2]!=""&&(b=" background-position:"+i[2]+";"),"background: "+M+";"+p+b}else if(t){var y=Je(i);return i=y.toRgbString(),i}else return"background-color: #"+i+";"}else return t?"none":""}function un(e={}){var r="";return e["a:noFill"]!==void 0&&(r="NO_FILL"),e["a:solidFill"]!==void 0&&(r="SOLID_FILL"),e["a:gradFill"]!==void 0&&(r="GRADIENT_FILL"),e["a:pattFill"]!==void 0&&(r="PATTERN_FILL"),e["a:blipFill"]!==void 0&&(r="PIC_FILL"),e["a:grpFill"]!==void 0&&(r="GROUP_FILL"),r}function bk(e){return(e%360+360)%360}function Lk(e,r){var t=L(r,["p:spPr","a:xfrm","attrs"])||{},a=t.flipH==="1",s=t.flipV==="1",n=e;return a&&(n=180-n),s&&(n=-n),bk(n)}function gk(e){var r=e&&e.color;if(!(!Array.isArray(r)||!r.length)){var t=r[0],a=-1;return r.forEach(function(s){var n=Je("#"+s),i=n.getAlpha();i>a&&(t=n.toHex8(),a=i)}),t}}function qu(e,r,t){for(var a=_r(e["a:gsLst"]["a:gs"]),s=[],n=[],i=0;i<a.length;i++){var o,d=gt(a[i],void 0,void 0,r);s[i]=d}var f=e["a:lin"],c=0;return f!==void 0&&(c=xo(f.attrs.ang)+90),c=Lk(c,t),{color:s,rot:c}}async function z5(e,r,t){var a,s=r["a:blip"].attrs["r:embed"],n;if(e=="slideBg"||e=="slide"?n=L(t,["slideResObj",s,"target"]):e=="slideLayoutBg"?n=L(t,["layoutResObj",s,"target"]):e=="slideMasterBg"?n=L(t,["masterResObj",s,"target"]):e=="themeBg"?n=L(t,["themeResObj",s,"target"]):e=="diagramBg"&&(n=L(t,["diagramResObj",s,"target"])),n!==void 0){if(a=L(t,["loaded-images",n]),a===void 0){var i=n.split(".").pop();if(i=="xml")return;var o=await t.zip.file(n).async("arraybuffer");a=await Ap(t.zip,n,o),Pk(t,["loaded-images",n],a)}return a}}function Sf(e,r){var t="",a="",s="",n=e["a:bgClr"],i=e["a:fgClr"];s=e.attrs.prst,t=gt(i,void 0,void 0,r),a=gt(n,void 0,void 0,r);var o=kk(s,a,t);return o}function kk(e,r,t){switch(e){case"smGrid":return["linear-gradient(to right, #"+t+" -1px, transparent 1px ), linear-gradient(to bottom, #"+t+" -1px, transparent 1px) #"+r+";","4px 4px"];case"dotGrid":return["linear-gradient(to right, #"+t+" -1px, transparent 1px ), linear-gradient(to bottom, #"+t+" -1px, transparent 1px) #"+r+";","8px 8px"];case"lgGrid":return["linear-gradient(to right, #"+t+" -1px, transparent 1.5px ), linear-gradient(to bottom, #"+t+" -1px, transparent 1.5px) #"+r+";","8px 8px"];case"wdUpDiag":return["repeating-linear-gradient(-45deg, transparent 1px , transparent 4px, #"+t+" 7px)#"+r+";"];case"dkUpDiag":return["repeating-linear-gradient(-45deg, transparent 1px , #"+r+" 5px)#"+t+";"];case"ltUpDiag":return["repeating-linear-gradient(-45deg, transparent 1px , transparent 2px, #"+t+" 4px)#"+r+";"];case"wdDnDiag":return["repeating-linear-gradient(45deg, transparent 1px , transparent 4px, #"+t+" 7px)#"+r+";"];case"dkDnDiag":return["repeating-linear-gradient(45deg, transparent 1px , #"+r+" 5px)#"+t+";"];case"ltDnDiag":return["repeating-linear-gradient(45deg, transparent 1px , transparent 2px, #"+t+" 4px)#"+r+";"];case"dkHorz":return["repeating-linear-gradient(0deg, transparent 1px , transparent 2px, #"+r+" 7px)#"+t+";"];case"ltHorz":return["repeating-linear-gradient(0deg, transparent 1px , transparent 5px, #"+t+" 7px)#"+r+";"];case"narHorz":return["repeating-linear-gradient(0deg, transparent 1px , transparent 2px, #"+t+" 4px)#"+r+";"];case"dkVert":return["repeating-linear-gradient(90deg, transparent 1px , transparent 2px, #"+r+" 7px)#"+t+";"];case"ltVert":return["repeating-linear-gradient(90deg, transparent 1px , transparent 5px, #"+t+" 7px)#"+r+";"];case"narVert":return["repeating-linear-gradient(90deg, transparent 1px , transparent 2px, #"+t+" 4px)#"+r+";"];case"lgCheck":case"smCheck":var s="",a="";return e=="lgCheck"?(s="8px 8px",a="0 0, 4px 4px, 4px 4px, 8px 8px"):(s="4px 4px",a="0 0, 2px 2px, 2px 2px, 4px 4px"),["linear-gradient(45deg, #"+t+" 25%, transparent 0, transparent 75%, #"+t+" 0), linear-gradient(45deg, #"+t+" 25%, transparent 0, transparent 75%, #"+t+" 0) #"+r+";",s,a];break;case"dashUpDiag":return["repeating-linear-gradient(152deg, #"+t+", #"+t+" 5% , transparent 0, transparent 70%)#"+r+";","4px 4px"];case"dashDnDiag":return["repeating-linear-gradient(45deg, #"+t+", #"+t+" 5% , transparent 0, transparent 70%)#"+r+";","4px 4px"];case"diagBrick":return["linear-gradient(45deg, transparent 15%, #"+t+" 30%, transparent 30%), linear-gradient(-45deg, transparent 15%, #"+t+" 30%, transparent 30%), linear-gradient(-45deg, transparent 65%, #"+t+" 80%, transparent 0) #"+r+";","4px 4px"];case"horzBrick":return["linear-gradient(335deg, #"+r+" 1.6px, transparent 1.6px), linear-gradient(155deg, #"+r+" 1.6px, transparent 1.6px), linear-gradient(335deg, #"+r+" 1.6px, transparent 1.6px), linear-gradient(155deg, #"+r+" 1.6px, transparent 1.6px) #"+t+";","4px 4px","0 0.15px, 0.3px 2.5px, 2px 2.15px, 2.35px 0.4px"];case"dashVert":return["linear-gradient(0deg, #"+r+" 30%, transparent 30%),linear-gradient(90deg,transparent, transparent 40%, #"+t+" 40%, #"+t+" 60% , transparent 60%)#"+r+";","4px 4px"];case"dashHorz":return["linear-gradient(90deg, #"+r+" 30%, transparent 30%),linear-gradient(0deg,transparent, transparent 40%, #"+t+" 40%, #"+t+" 60% , transparent 60%)#"+r+";","4px 4px"];case"solidDmnd":return["linear-gradient(135deg, #"+t+" 25%, transparent 25%), linear-gradient(225deg, #"+t+" 25%, transparent 25%), linear-gradient(315deg, #"+t+" 25%, transparent 25%), linear-gradient(45deg, #"+t+" 25%, transparent 25%) #"+r+";","8px 8px"];case"openDmnd":return["linear-gradient(45deg, transparent 0%, transparent calc(50% - 0.5px), #"+t+" 50%, transparent calc(50% + 0.5px), transparent 100%), linear-gradient(-45deg, transparent 0%, transparent calc(50% - 0.5px) , #"+t+" 50%, transparent calc(50% + 0.5px), transparent 100%) #"+r+";","8px 8px"];case"dotDmnd":return["radial-gradient(#"+t+" 15%, transparent 0), radial-gradient(#"+t+" 15%, transparent 0) #"+r+";","4px 4px","0 0, 2px 2px"];case"zigZag":case"wave":var s="";return e=="zigZag"?s="0":s="1px",["linear-gradient(135deg, #"+t+" 25%, transparent 25%) 50px "+s+", linear-gradient(225deg, #"+t+" 25%, transparent 25%) 50px "+s+", linear-gradient(315deg, #"+t+" 25%, transparent 25%), linear-gradient(45deg, #"+t+" 25%, transparent 25%) #"+r+";","4px 4px"];break;case"lgConfetti":case"smConfetti":var s="";return e=="lgConfetti"?s="4px 4px":s="2px 2px",["linear-gradient(135deg, #"+t+" 25%, transparent 25%) 50px 1px, linear-gradient(225deg, #"+t+" 25%, transparent 25%), linear-gradient(315deg, #"+t+" 25%, transparent 25%) 50px 1px , linear-gradient(45deg, #"+t+" 25%, transparent 25%) #"+r+";",s];break;case"plaid":return["linear-gradient(0deg, transparent, transparent 25%, #"+t+"33 25%, #"+t+"33 50%),linear-gradient(90deg, transparent, transparent 25%, #"+t+"66 25%, #"+t+"66 50%) #"+r+";","4px 4px"];case"sphere":return["radial-gradient(#"+t+" 50%, transparent 50%),#"+r+";","4px 4px"];case"weave":case"shingle":return["linear-gradient(45deg, #"+r+" 1.31px , #"+t+" 1.4px, #"+t+" 1.5px, transparent 1.5px, transparent 4.2px, #"+t+" 4.2px, #"+t+" 4.3px, transparent 4.31px), linear-gradient(-45deg, #"+r+" 1.31px , #"+t+" 1.4px, #"+t+" 1.5px, transparent 1.5px, transparent 4.2px, #"+t+" 4.2px, #"+t+" 4.3px, transparent 4.31px) 0 4px, #"+r+";","4px 8px"];case"pct5":case"pct10":case"pct20":case"pct25":case"pct30":case"pct40":case"pct50":case"pct60":case"pct70":case"pct75":case"pct80":case"pct90":case"trellis":case"divot":var n;switch(e){case"pct5":n=["0.3px","10%","2px 2px"];break;case"divot":n=["0.3px","40%","4px 4px"];break;case"pct10":n=["0.3px","20%","2px 2px"];break;case"pct20":n=["0.2px","40%","2px 2px"];break;case"pct25":n=["0.2px","50%","2px 2px"];break;case"pct30":n=["0.5px","50%","2px 2px"];break;case"pct40":n=["0.5px","70%","2px 2px"];break;case"pct50":n=["0.09px","90%","2px 2px"];break;case"pct60":n=["0.3px","90%","2px 2px"];break;case"pct70":case"trellis":n=["0.5px","95%","2px 2px"];break;case"pct75":n=["0.65px","100%","2px 2px"];break;case"pct80":n=["0.85px","100%","2px 2px"];break;case"pct90":n=["1px","100%","2px 2px"];break}return["radial-gradient(#"+t+" "+n[0]+", transparent "+n[1]+"),#"+r+";",n[2]];default:return[0,0]}}function gt(e,r,t,a){if(e!==void 0){var s="",n;if(e["a:srgbClr"]!==void 0)n=e["a:srgbClr"],s=L(n,["attrs","val"]);else if(e["a:schemeClr"]!==void 0){n=e["a:schemeClr"];var i=L(n,["attrs","val"]);s=C5("a:"+i,r,t,a)}else if(e["a:scrgbClr"]!==void 0){n=e["a:scrgbClr"];var o=n.attrs,d=o.r.indexOf("%")!=-1?o.r.split("%").shift():o.r,f=o.g.indexOf("%")!=-1?o.g.split("%").shift():o.g,c=o.b.indexOf("%")!=-1?o.b.split("%").shift():o.b;s=kf(255*(Number(d)/100))+kf(255*(Number(f)/100))+kf(255*(Number(c)/100))}else if(e["a:prstClr"]!==void 0){n=e["a:prstClr"];var l=L(n,["attrs","val"]);s=Ek(l)}else if(e["a:hslClr"]!==void 0){n=e["a:hslClr"];var o=n.attrs,k=Number(o.hue)/1e5,_=Number(o.sat.indexOf("%")!=-1?o.sat.split("%").shift():o.sat)/100,v=Number(o.lum.indexOf("%")!=-1?o.lum.split("%").shift():o.lum)/100,m=Mk(k,_,v);s=kf(m.r)+kf(m.g)+kf(m.b)}else if(e["a:sysClr"]!==void 0){n=e["a:sysClr"];var g=L(n,["attrs","lastClr"]);g!==void 0&&(s=g)}s=O5(s);var M=!1,p=parseInt(L(n,["a:alpha","attrs","val"]))/1e5;if(!isNaN(p)){var b=Je(s);b.setAlpha(p),s=b.toHex8(),M=!0}var y=parseInt(L(n,["a:hueMod","attrs","val"]))/1e5;isNaN(y)||(s=wk(s,y,M));var I=parseInt(L(n,["a:lumMod","attrs","val"]))/1e5;isNaN(I)||(s=yk(s,I,M));var z=parseInt(L(n,["a:lumOff","attrs","val"]))/1e5;isNaN(z)||(s=Tk(s,z,M));var R=parseInt(L(n,["a:satMod","attrs","val"]))/1e5;isNaN(R)||(s=Rk(s,R,M));var B=parseInt(L(n,["a:shade","attrs","val"]))/1e5;isNaN(B)||(s=Sk(s,B,M));var Z=parseInt(L(n,["a:tint","attrs","val"]))/1e5;return isNaN(Z)||(s=Ik(s,Z,M)),s}}function kf(e){for(var r=e.toString(16);r.length<2;)r="0"+r;return r}function Mk(e,r,t){var a,s,n,i,o;return e=e/60,t<=.5?s=t*(r+1):s=t+r-t*r,a=t*2-s,n=zp(a,s,e+2)*255,i=zp(a,s,e)*255,o=zp(a,s,e-2)*255,{r:n,g:i,b:o}}function zp(e,r,t){return t<0&&(t+=6),t>=6&&(t-=6),t<1?(r-e)*t+e:t<3?r:t<4?(r-e)*(4-t)+e:e}function Ek(e){var r,t=["white","AliceBlue","AntiqueWhite","Aqua","Aquamarine","Azure","Beige","Bisque","black","BlanchedAlmond","Blue","BlueViolet","Brown","BurlyWood","CadetBlue","Chartreuse","Chocolate","Coral","CornflowerBlue","Cornsilk","Crimson","Cyan","DarkBlue","DarkCyan","DarkGoldenRod","DarkGray","DarkGrey","DarkGreen","DarkKhaki","DarkMagenta","DarkOliveGreen","DarkOrange","DarkOrchid","DarkRed","DarkSalmon","DarkSeaGreen","DarkSlateBlue","DarkSlateGray","DarkSlateGrey","DarkTurquoise","DarkViolet","DeepPink","DeepSkyBlue","DimGray","DimGrey","DodgerBlue","FireBrick","FloralWhite","ForestGreen","Fuchsia","Gainsboro","GhostWhite","Gold","GoldenRod","Gray","Grey","Green","GreenYellow","HoneyDew","HotPink","IndianRed","Indigo","Ivory","Khaki","Lavender","LavenderBlush","LawnGreen","LemonChiffon","LightBlue","LightCoral","LightCyan","LightGoldenRodYellow","LightGray","LightGrey","LightGreen","LightPink","LightSalmon","LightSeaGreen","LightSkyBlue","LightSlateGray","LightSlateGrey","LightSteelBlue","LightYellow","Lime","LimeGreen","Linen","Magenta","Maroon","MediumAquaMarine","MediumBlue","MediumOrchid","MediumPurple","MediumSeaGreen","MediumSlateBlue","MediumSpringGreen","MediumTurquoise","MediumVioletRed","MidnightBlue","MintCream","MistyRose","Moccasin","NavajoWhite","Navy","OldLace","Olive","OliveDrab","Orange","OrangeRed","Orchid","PaleGoldenRod","PaleGreen","PaleTurquoise","PaleVioletRed","PapayaWhip","PeachPuff","Peru","Pink","Plum","PowderBlue","Purple","RebeccaPurple","Red","RosyBrown","RoyalBlue","SaddleBrown","Salmon","SandyBrown","SeaGreen","SeaShell","Sienna","Silver","SkyBlue","SlateBlue","SlateGray","SlateGrey","Snow","SpringGreen","SteelBlue","Tan","Teal","Thistle","Tomato","Turquoise","Violet","Wheat","White","WhiteSmoke","Yellow","YellowGreen"],a=["ffffff","f0f8ff","faebd7","00ffff","7fffd4","f0ffff","f5f5dc","ffe4c4","000000","ffebcd","0000ff","8a2be2","a52a2a","deb887","5f9ea0","7fff00","d2691e","ff7f50","6495ed","fff8dc","dc143c","00ffff","00008b","008b8b","b8860b","a9a9a9","a9a9a9","006400","bdb76b","8b008b","556b2f","ff8c00","9932cc","8b0000","e9967a","8fbc8f","483d8b","2f4f4f","2f4f4f","00ced1","9400d3","ff1493","00bfff","696969","696969","1e90ff","b22222","fffaf0","228b22","ff00ff","dcdcdc","f8f8ff","ffd700","daa520","808080","808080","008000","adff2f","f0fff0","ff69b4","cd5c5c","4b0082","fffff0","f0e68c","e6e6fa","fff0f5","7cfc00","fffacd","add8e6","f08080","e0ffff","fafad2","d3d3d3","d3d3d3","90ee90","ffb6c1","ffa07a","20b2aa","87cefa","778899","778899","b0c4de","ffffe0","00ff00","32cd32","faf0e6","ff00ff","800000","66cdaa","0000cd","ba55d3","9370db","3cb371","7b68ee","00fa9a","48d1cc","c71585","191970","f5fffa","ffe4e1","ffe4b5","ffdead","000080","fdf5e6","808000","6b8e23","ffa500","ff4500","da70d6","eee8aa","98fb98","afeeee","db7093","ffefd5","ffdab9","cd853f","ffc0cb","dda0dd","b0e0e6","800080","663399","ff0000","bc8f8f","4169e1","8b4513","fa8072","f4a460","2e8b57","fff5ee","a0522d","c0c0c0","87ceeb","6a5acd","708090","708090","fffafa","00ff7f","4682b4","d2b48c","008080","d8bfd8","ff6347","40e0d0","ee82ee","f5deb3","ffffff","f5f5f5","ffff00","9acd32"],s=t.indexOf(e);return s!=-1&&(r=a[s]),r}function C5(e,r,t,a){var s;if(r!==void 0)s=r;else{var n=L(a.slideContent,["p:sld","p:clrMapOvr","a:overrideClrMapping","attrs"]);if(n!==void 0)s=n;else{var n=L(a.slideLayoutContent,["p:sldLayout","p:clrMapOvr","a:overrideClrMapping","attrs"]);n!==void 0?s=n:s=L(a.slideMasterContent,["p:sldMaster","p:clrMap","attrs"])}}var i=e.substr(2);if(i=="phClr"&&t!==void 0)d=t;else{if(s!==void 0)switch(i){case"tx1":case"tx2":case"bg1":case"bg2":e="a:"+s[i];break}else switch(i){case"tx1":e="a:dk1";break;case"tx2":e="a:dk2";break;case"bg1":e="a:lt1";break;case"bg2":e="a:lt2";break}var o=L(a.themeContent,["a:theme","a:themeElements","a:clrScheme",e]),d=L(o,["a:srgbClr","attrs","val"]);d===void 0&&o!==void 0&&(d=L(o,["a:sysClr","attrs","lastClr"]))}return O5(d)}function L(e,r){if(r.constructor!==Array)throw Error("Error of path type! path is not array.");if(e==null)return;let t=r.length;for(let a=0;a<t;a++)if(e=e[r[a]],e==null)return;return e}function Pk(e,r,t){if(r.constructor!==Array)throw Error("Error of path type! path is not array.");if(!(e==null||typeof e!="object")){for(var a=e,s=0;s<r.length;s++){var n=r[s];if(s===r.length-1)return Object.defineProperty(a,n,{value:t,writable:!0,enumerable:!0,configurable:!0}),t;var i=Object.prototype.hasOwnProperty.call(a,n)?a[n]:void 0;(i===null||typeof i!="object")&&(i=Object.create(null),Object.defineProperty(a,n,{value:i,writable:!0,enumerable:!0,configurable:!0})),a=i}return a}}function Sk(e,r,t){var a=Je(e).toHsl();r>=1&&(r=1);var s=Math.min(a.l*r,1);return t?Je({h:a.h,s:a.s,l:s,a:a.a}).toHex8():Je({h:a.h,s:a.s,l:s,a:a.a}).toHex()}function Ik(e,r,t){var a=Je(e).toHsl();r>=1&&(r=1);var s=a.l*r+(1-r);return t?Je({h:a.h,s:a.s,l:s,a:a.a}).toHex8():Je({h:a.h,s:a.s,l:s,a:a.a}).toHex()}function Tk(e,r,t){var a=Je(e).toHsl(),s=r+a.l;return s>=1?t?Je({h:a.h,s:a.s,l:1,a:a.a}).toHex8():Je({h:a.h,s:a.s,l:1,a:a.a}).toHex():t?Je({h:a.h,s:a.s,l:s,a:a.a}).toHex8():Je({h:a.h,s:a.s,l:s,a:a.a}).toHex()}function yk(e,r,t){var a=Je(e).toHsl(),s=a.l*r;return s>=1&&(s=1),t?Je({h:a.h,s:a.s,l:s,a:a.a}).toHex8():Je({h:a.h,s:a.s,l:s,a:a.a}).toHex()}function wk(e,r,t){var a=Je(e).toHsl(),s=a.h*r;return s>=360&&(s=s-360),t?Je({h:cocacl_h,s:a.s,l:a.l,a:a.a}).toHex8():Je({h:s,s:a.s,l:a.l,a:a.a}).toHex()}function Rk(e,r,t){var a=Je(e).toHsl(),s=a.s*r;return s>=1&&(s=1),t?Je({h:a.h,s,l:a.l,a:a.a}).toHex8():Je({h:a.h,s,l:a.l,a:a.a}).toHex()}function xo(e){return e==""||e==null?0:Math.round(e/6e4)}function Wp(e){var r="";switch(e.toLowerCase()){case"jpg":case"jpeg":case"jpe":case"jfif":r="image/jpeg";break;case"png":r="image/png";break;case"gif":r="image/gif";break;case"emf":r="image/x-emf";break;case"wmf":r="image/x-wmf";break;case"svg":r="image/svg+xml";break;case"mp4":r="video/mp4";break;case"webm":r="video/webm";break;case"ogg":r="video/ogg";break;case"avi":r="video/avi";break;case"mpg":r="video/mpg";break;case"wmv":r="video/wmv";break;case"mp3":r="audio/mpeg";break;case"wav":r="audio/wav";break;case"tif":case"tiff":r="image/tiff";break}return r}function Bk(e,r,t,a,s){var n=Dk(a.length-2),i="",o=r,d=e,f="",c=Nk(t,o,d),l=c[0],k=c[1],_=c[2],v=c[3],m=n.length,g=m<20?100:1e3;i=' gradientUnits="userSpaceOnUse" x1="'+l+'%" y1="'+k+'%" x2="'+_+'%" y2="'+v+'%"',i='<linearGradient id="linGrd_'+s+'"'+i+`>
|
|
12
|
+
</svg>`,o=new TextEncoder().encode(i);return{mime:"image/svg+xml",bytes:o,dataUrl:bp(o,"image/svg+xml"),width:s,height:n,sourceMime:r,recordCount:e.recordCount}}function kg(e){let r=new Za(e),t=0,a=null;if(r.u32(0)===tg&&e.length>=22&&(a=gf({left:r.i16(6),top:r.i16(8),right:r.i16(10),bottom:r.i16(12)}),t=22),t+rg>e.length)return null;let s=new Za(e.subarray(t)),n=s.u16(2),i=s.u16(10),o=t+n*2;if(o>e.length)return null;let d=a||{left:0,top:0,right:1e3,bottom:1e3},f=X_(Da(d),Na(d),d);f.objects=new Array(Math.max(0,i)).fill(null),a&&(f.state.windowOrg={x:a.left,y:a.top},f.state.windowExt={x:Da(a),y:Na(a)},f.state.viewportOrg={x:a.left,y:a.top},f.state.viewportExt={x:Da(a),y:Na(a)});let u=o;for(;u+6<=e.length;){let l=new Za(e.subarray(u)),_=l.u32(0)*2;if(_<6||u+_>e.length)break;let v=l.u16(4);switch(f.recordCount+=1,v){case kr.META_EOF:return M1(f,"image/wmf");case kr.META_SETWINDOWORG:f.state.windowOrg={x:l.i16(8),y:l.i16(6)};break;case kr.META_SETWINDOWEXT:f.state.windowExt={x:l.i16(8),y:l.i16(6)};break;case kr.META_SETVIEWPORTORG:f.state.viewportOrg={x:l.i16(8),y:l.i16(6)};break;case kr.META_SETVIEWPORTEXT:f.state.viewportExt={x:l.i16(8),y:l.i16(6)};break;case kr.META_OFFSETWINDOWORG:f.state.windowOrg={x:f.state.windowOrg.x+l.i16(8),y:f.state.windowOrg.y+l.i16(6)};break;case kr.META_OFFSETVIEWPORTORG:f.state.viewportOrg={x:f.state.viewportOrg.x+l.i16(8),y:f.state.viewportOrg.y+l.i16(6)};break;case kr.META_SETBKMODE:f.state.bkMode=l.u16(6);break;case kr.META_SETPOLYFILLMODE:f.state.polygonFillMode=l.u16(6);break;case kr.META_SETBKCOLOR:f.state.bkColor=P0(l.u32(6));break;case kr.META_SETTEXTCOLOR:f.state.textColor=P0(l.u32(6));break;case kr.META_SETTEXTALIGN:f.state.textAlign=l.u16(6);break;case kr.META_MOVETO:f.state.currentPosition={x:l.i16(8),y:l.i16(6)};break;case kr.META_LINETO:{let m={x:l.i16(8),y:l.i16(6)};Q_(f,f.state.currentPosition,m);break}case kr.META_POLYLINE:case kr.META_POLYGON:{let m=l.u16(6),g=[],M=8;for(let p=0;p<m&&M+4<=_;p+=1)g.push({x:l.i16(M),y:l.i16(M+2)}),M+=4;Wu(f,g,v===kr.META_POLYGON);break}case kr.META_POLYPOLYGON:{let m=l.u16(6),g=[],M=8;for(let p=0;p<m&&M+2<=_;p+=1)g.push(l.u16(M)),M+=2;for(let p of g){let b=[];for(let y=0;y<p&&M+4<=_;y+=1)b.push({x:l.i16(M),y:l.i16(M+2)}),M+=4;Wu(f,b,!0)}break}case kr.META_RECTANGLE:{k1(f,{left:l.i16(12),top:l.i16(10),right:l.i16(8),bottom:l.i16(6)});break}case kr.META_ELLIPSE:{F_(f,{left:l.i16(12),top:l.i16(10),right:l.i16(8),bottom:l.i16(6)});break}case kr.META_ROUNDRECT:{k1(f,{left:l.i16(16),top:l.i16(14),right:l.i16(12),bottom:l.i16(10)},{x:l.i16(8),y:l.i16(6)});break}case kr.META_TEXTOUT:{let m=l.u16(6),g=8,M=m+m%2,p=$u(l.slice(g,Math.min(m,Math.max(0,_-g-4))),f.state.font.charset),b=g+M,y=l.i16(b),I=l.i16(b+2);Ip(f,{x:I,y},p);break}case kr.META_EXTTEXTOUT:{let m=new Za(e.subarray(u,u+_)),g=m.i16(10),p=m.u16(12)&6?22:14;if(g<=0||!m.ensure(p,g))break;let b=p+g+g%2,y=[];if(m.ensure(b,g*2))for(let N=0;N<g;N+=1)y.push(m.i16(b+N*2));let I=cg(m.slice(p,g),f.state.font.charset,y);j_(f,{x:m.i16(8),y:m.i16(6)},I.text,{x:I.advances});break}case kr.META_CREATEPENINDIRECT:{let m=l.u16(6),g=l.i16(8),M=P0(l.u32(12)),p=gp(f.objects);No(f.objects,p,{kind:"pen",value:Mp(m,g,M)});break}case kr.META_CREATEBRUSHINDIRECT:{let m=l.u16(6),g=P0(l.u32(8)),M=gp(f.objects);No(f.objects,M,{kind:"brush",value:A_(m,g)});break}case kr.META_CREATEFONTINDIRECT:{let m=Math.abs(l.i16(6)),g=l.i16(10),M=l.u16(14),p=!!l.u8(16),b=!!l.u8(17),y=!!l.u8(18),I=l.u8(19),N=$u(l.slice(24,Math.max(0,_-24)),I).split("\0")[0]||"sans-serif",R=gp(f.objects);No(f.objects,R,{kind:"font",value:{family:N,size:m||12,weight:M,italic:p,underline:b,strike:y,escapement:g,charset:I}});break}case kr.META_SELECTOBJECT:J_(f,l.u16(6));break;case kr.META_DELETEOBJECT:{let m=l.u16(6);m>=0&&m<f.objects.length&&(f.objects[m]=null);break}default:break}u+=_}return M1(f,"image/wmf")}function Zu(e,r,t,a){let s=[];for(let n=0;n<t;n+=1){let i=r+n*a;a===8?s.push({x:e.i32(i),y:e.i32(i+4)}):s.push({x:e.i16(i),y:e.i16(i+2)})}return s}function Mg(e,r){var v;if(!e.ensure(36,20))return null;let t={x:e.i32(36),y:e.i32(40)},a=e.u32(44),s=e.u32(48);if(!a||!s||s>=e.length||a>65536)return null;let n=r?a*2:a;if(!e.ensure(s,n))return null;let i=e.slice(s,n),o=r?V_(i):$u(i),d=e.u32(52),f=(d&256)===0?72:56,u=(d&8192)!==0,l=u?8:4,k={x:[]},_=e.u32(f);if(_&&e.ensure(_,a*l)){u&&(k.y=[]);for(let m=0;m<a;m+=1){let g=_+m*l;k.x.push(e.i32(g)),(v=k.y)==null||v.push(e.i32(g+4))}}return{point:t,text:o,advances:k}}function Eg(e){if(!e.ensure(8,24))return null;let r={x:e.i32(8),y:e.i32(12)},t=e.u32(16),a=e.u32(20),s=36;if(a&2&&(s+=16),!t||!e.ensure(s,t))return null;let n=$u(e.slice(s,t));return{point:r,text:n}}function e5(e,r,t,a,s){let n=e.u32(r),i=e.u32(t),o=e.u32(a),d=e.u32(s);return!n||!i||!o||!d||!e.ensure(n,i)||!e.ensure(o,d)?null:ig(e.slice(n,i),e.slice(o,d))}function Pg(e,r){if(!r.ensure(24,56))return;let t=e5(r,48,52,56,60);t&&q_(e,{left:r.i32(24),top:r.i32(28),right:r.i32(24)+r.i32(72),bottom:r.i32(28)+r.i32(76)},t)}function Sg(e,r){if(!r.ensure(24,76))return;let t=e5(r,84,88,92,96);t&&q_(e,{left:r.i32(24),top:r.i32(28),right:r.i32(24)+r.i32(32),bottom:r.i32(28)+r.i32(36)},t)}function Ig(e){e.pathData.length&&e.pathData.push("Z")}function Tg(e){let r=new Za(e);if(!r.ensure(0,52)||r.u32(0)!==lt.EMR_HEADER)return null;let t=gf({left:r.i32(8),top:r.i32(12),right:r.i32(16),bottom:r.i32(20)}),a=Da(t)>0&&Na(t)>0?t:{left:0,top:0,right:1e3,bottom:1e3},s=X_(Da(a),Na(a),a);s.state.windowOrg={x:a.left,y:a.top},s.state.windowExt={x:Da(a),y:Na(a)},s.state.viewportOrg={x:a.left,y:a.top},s.state.viewportExt={x:Da(a),y:Na(a)};let n=0;for(;n+8<=e.length;){let i=new Za(e.subarray(n)),o=i.u32(0),d=i.u32(4);if(d<8||n+d>e.length)break;switch(s.recordCount+=1,o){case lt.EMR_EOF:return M1(s,"image/emf");case lt.EMR_SETWINDOWORGEX:s.state.windowOrg={x:i.i32(8),y:i.i32(12)},s.state.viewportExplicit||(s.state.viewportOrg={...s.state.windowOrg});break;case lt.EMR_SETWINDOWEXTEX:s.state.windowExt={x:i.i32(8),y:i.i32(12)},s.state.viewportExplicit||(s.state.viewportExt={...s.state.windowExt});break;case lt.EMR_SETVIEWPORTORGEX:s.state.viewportOrg={x:i.i32(8),y:i.i32(12)},s.state.viewportExplicit=!0;break;case lt.EMR_SETVIEWPORTEXTEX:s.state.viewportExt={x:i.i32(8),y:i.i32(12)},s.state.viewportExplicit=!0;break;case lt.EMR_SETBKMODE:s.state.bkMode=i.u32(8);break;case lt.EMR_SETPOLYFILLMODE:s.state.polygonFillMode=i.u32(8);break;case lt.EMR_SETTEXTALIGN:s.state.textAlign=i.u32(8);break;case lt.EMR_SETTEXTCOLOR:s.state.textColor=P0(i.u32(8));break;case lt.EMR_SETBKCOLOR:s.state.bkColor=P0(i.u32(8));break;case lt.EMR_SAVEDC:s.stateStack.push(Lp(s.state));break;case lt.EMR_RESTOREDC:{let f=i.i32(8);if(f<0){let u=Math.min(s.stateStack.length,Math.abs(f));for(let k=0;k<u-1;k+=1)s.stateStack.pop();let l=s.stateStack.pop();l&&(s.state=Lp(l))}else if(f>0&&f<=s.stateStack.length){let u=s.stateStack[f-1];s.stateStack.length=f-1,u&&(s.state=Lp(u))}break}case lt.EMR_SETWORLDTRANSFORM:s.state.worldTransform=H_(i,8);break;case lt.EMR_MODIFYWORLDTRANSFORM:{let f=H_(i,8),u=i.u32(32);u===L1.MWT_IDENTITY?s.state.worldTransform={...Y_}:u===L1.MWT_SET?s.state.worldTransform=f:u===L1.MWT_LEFTMULTIPLY?s.state.worldTransform=Z_(f,s.state.worldTransform):u===L1.MWT_RIGHTMULTIPLY&&(s.state.worldTransform=Z_(s.state.worldTransform,f));break}case lt.EMR_MOVETOEX:s.state.currentPosition={x:i.i32(8),y:i.i32(12)};break;case lt.EMR_LINETO:{let f={x:i.i32(8),y:i.i32(12)};Q_(s,s.state.currentPosition,f);break}case lt.EMR_POLYLINE:case lt.EMR_POLYGON:case lt.EMR_POLYLINE16:case lt.EMR_POLYGON16:{let f=i.u32(24),u=28,l=o===lt.EMR_POLYLINE16||o===lt.EMR_POLYGON16?4:8,k=Zu(i,u,f,l);Wu(s,k,o===lt.EMR_POLYGON||o===lt.EMR_POLYGON16);break}case lt.EMR_POLYBEZIER:case lt.EMR_POLYBEZIER16:{let f=i.u32(24),u=28,l=o===lt.EMR_POLYBEZIER16?4:8,k=Zu(i,u,f,l);W_(s,k,!1);break}case lt.EMR_POLYBEZIERTO:case lt.EMR_POLYBEZIERTO16:{let f=i.u32(24),u=28,l=o===lt.EMR_POLYBEZIERTO16?4:8,k=Zu(i,u,f,l);W_(s,k,!0);break}case lt.EMR_POLYLINETO:case lt.EMR_POLYLINETO16:{let f=i.u32(24),u=28,l=o===lt.EMR_POLYLINETO16?4:8,k=Zu(i,u,f,l);Wu(s,[{...s.state.currentPosition},...k],!1);break}case lt.EMR_POLYPOLYLINE:case lt.EMR_POLYPOLYGON:case lt.EMR_POLYPOLYLINE16:case lt.EMR_POLYPOLYGON16:{let f=i.u32(24),u=i.u32(28),l=32,k=o===lt.EMR_POLYPOLYLINE16||o===lt.EMR_POLYPOLYGON16?4:8,_=l+f*4,v=[];for(let M=0;M<f;M+=1)v.push(i.u32(l+M*4));let m=Zu(i,_,u,k),g=0;for(let M of v)Wu(s,m.slice(g,g+M),o===lt.EMR_POLYPOLYGON||o===lt.EMR_POLYPOLYGON16),g+=M;break}case lt.EMR_RECTANGLE:k1(s,{left:i.i32(8),top:i.i32(12),right:i.i32(16),bottom:i.i32(20)});break;case lt.EMR_ELLIPSE:F_(s,{left:i.i32(8),top:i.i32(12),right:i.i32(16),bottom:i.i32(20)});break;case lt.EMR_ROUNDRECT:k1(s,{left:i.i32(8),top:i.i32(12),right:i.i32(16),bottom:i.i32(20)},{x:i.i32(24),y:i.i32(28)});break;case lt.EMR_BEGINPATH:s.capturePath=!0,s.pathData=[],s.pathPoints=[];break;case lt.EMR_ENDPATH:s.capturePath=!1;break;case lt.EMR_CLOSEFIGURE:Ig(s);break;case lt.EMR_FILLPATH:kp(s,fg(s));break;case lt.EMR_STROKEANDFILLPATH:kp(s,P1(s));break;case lt.EMR_STROKEPATH:kp(s,E1(s,s.state.pen));break;case lt.EMR_SELECTCLIPPATH:s.capturePath=!1,s.pathData=[],s.pathPoints=[];break;case lt.EMR_CREATEPEN:{let f=i.u32(8),u=i.u32(12),l=i.i32(16),k=P0(i.u32(24));No(s.objects,f,{kind:"pen",value:Mp(u,l,k)});break}case lt.EMR_CREATEBRUSHINDIRECT:{let f=i.u32(8),u=i.u32(12),l=P0(i.u32(16));No(s.objects,f,{kind:"brush",value:A_(u,l)});break}case lt.EMR_EXTCREATEPEN:{let f=i.u32(8),u=i.u32(28),l=i.i32(32),k=i.u32(36),_=k===1?"none":P0(i.u32(40));No(s.objects,f,{kind:"pen",value:k===1?{color:_,width:l,none:!0}:Mp(u,l,_)});break}case lt.EMR_EXTCREATEFONTINDIRECTW:{let f=i.u32(8),u=Math.abs(i.i32(12)),l=i.i32(20),k=i.i32(28),_=!!i.u8(32),v=!!i.u8(33),m=!!i.u8(34),g=V_(i.slice(40,64)).split("\0")[0]||"sans-serif";No(s.objects,f,{kind:"font",value:{family:g,size:u||12,weight:k,italic:_,underline:v,strike:m,escapement:l}});break}case lt.EMR_SELECTOBJECT:J_(s,i.u32(8));break;case lt.EMR_DELETEOBJECT:{let f=i.u32(8);f>=0&&f<s.objects.length&&(s.objects[f]=null);break}case lt.EMR_EXTTEXTOUTA:case lt.EMR_EXTTEXTOUTW:{let f=new Za(e.subarray(n,n+d)),u=Mg(f,o===lt.EMR_EXTTEXTOUTW);u&&j_(s,u.point,u.text,u.advances);break}case lt.EMR_SMALLTEXTOUT:{let f=Eg(i);if(f){let u=(s.state.textAlign&1)!==0?s.state.currentPosition:f.point;Ip(s,u,f.text)}break}case lt.EMR_STRETCHDIBITS:Pg(s,i);break;case lt.EMR_BITBLT:case lt.EMR_STRETCHBLT:case lt.EMR_ALPHABLEND:Sg(s,i);break;default:break}n+=d}return M1(s,"image/emf")}function t5(e,r){return r.length?/image\/emf/i.test(e)?Tg(r):/image\/wmf/i.test(e)?kg(r):null:null}var yg=(e,r,t)=>Math.min(t,Math.max(r,e)),I0=e=>Math.abs(e)<1e-12?0:e,Tp=e=>String(Math.round(I0(e)*1e6)/1e6),r5=(e,r,t=25e3)=>{let a=Math.max(0,e),s=Math.max(0,r),n=Math.min(a,s);if(!n)return[{x:0,y:s},{x:0,y:0},{x:a,y:0},{x:a,y:s}];let i=5e4*a/n,o=yg(Number.isFinite(t)?t:25e3,0,i),d=n*o/1e5;return[{x:0,y:s},{x:d,y:0},{x:a-d,y:0},{x:a,y:s}]},a5=e=>e.map(({x:r,y:t})=>`${Tp(r)} ${Tp(t)}`).join(","),wg=({width:e,height:r,rotation:t=0,flipH:a=!1,flipV:s=!1})=>{let n=t*Math.PI/180,i=I0(Math.cos(n)),o=I0(Math.sin(n)),d=a?-1:1,f=s?-1:1,u=I0(d*i),l=I0(-f*o),k=I0(d*o),_=I0(f*i),v=e/2,m=r/2;return{a:u,b:l,c:k,d:_,e:I0(v-u*v-k*m),f:I0(m-l*v-_*m)}},n5=e=>{let r=wg(e);return r.a===1&&r.b===0&&r.c===0&&r.d===1&&r.e===0&&r.f===0?"":`matrix(${[r.a,r.b,r.c,r.d,r.e,r.f].map(Tp).join(" ")})`};var Au=e=>e*96/914400;var S1=Object.freeze({top:Au(45720),right:Au(91440),bottom:Au(45720),left:Au(91440)}),I1=(e,r)=>{if(e==null||e==="")return r;let t=Number(e);return Number.isFinite(t)?Au(t):r},i5=(e={})=>({top:I1(e.marT,S1.top),right:I1(e.marR,S1.right),bottom:I1(e.marB,S1.bottom),left:I1(e.marL,S1.left)}),s5=(e=[])=>{if(e.length===0)return;let r=0;for(let t of e){let a=Number(t);if(!Number.isFinite(a)||a<=0)return;r+=a}return r>0?r:void 0},Rg=e=>{if(!Number.isFinite(e))return 0;let r=e%360;return r<0?r+360:r},Bg=e=>{switch(e){case"vert270":return 270;case"vert":case"eaVert":case"mongolianVert":case"wordArtVert":case"wordArtVertRtl":return 90;default:return 0}},o5=({shapeRotation:e=0,textTransformRotation:r,bodyRotation:t=0,direction:a="horz",upright:s=!1})=>{let n=r!=null?r:s?0:e;return Rg(n+t+Bg(a))};var yp=Gp.default.default||Gp.default,ec={MsgQueue:[],isDone:!1},V0={MsgQueue:[]},Dg="",b5=!1,L5=null,g5=1,wp=0,Qu,k5=["he-IL","ar-AE","ar-SA","dv-MV","fa-IR","ur-PK"],M5=96,Ng=914400,zg=72,w=M5/Ng,xo=M5/zg,_r=e=>e==null?[]:Array.isArray(e)?e:[e],Pt=(e,r=0)=>{let t=typeof e=="number"?e:parseFloat(e);return Number.isFinite(t)?t:r},xg=16,Rp={cx:9144e3,cy:6858e3},Cg="http://schemas.openxmlformats.org/officeDocument/2006/relationships/",Og="http://schemas.microsoft.com/office/2007/relationships/",E5=new WeakMap;function Gg(e){return e==="line"||e==="straightConnector1"||/^bentConnector[2-5]$/.test(e||"")||/^curvedConnector[2-5]$/.test(e||"")}function Ug(e,r){let t=Object.assign({},r);return _r(L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"])).forEach(function(s){let n=s&&s.attrs;if(!n||!Object.prototype.hasOwnProperty.call(t,n.name))return;let i=/^val\s+(-?(?:\d+(?:\.\d*)?|\.\d+))$/.exec(String(n.fmla||"").trim());if(!i)return;let o=Number(i[1]);Number.isFinite(o)&&(t[n.name]=o)}),t}function T1(e){let r=[];return e.forEach(function(t){let a=r[r.length-1];(!a||a[0]!==t[0]||a[1]!==t[1])&&r.push(t)}),r.length===1&&e.length>1&&r.push(r[0]),r}function Bp(e,r,t,a){let s=Pt(t,0),n=Pt(a,0),i=Ug(r,{adj1:5e4,adj2:5e4,adj3:5e4}),o=s*i.adj1/1e5,d=n*i.adj2/1e5,f=s*i.adj3/1e5;switch(e){case"bentConnector2":return T1([[0,0],[s,0],[s,n]]);case"bentConnector3":return T1([[0,0],[o,0],[o,n],[s,n]]);case"bentConnector4":return T1([[0,0],[o,0],[o,d],[s,d],[s,n]]);case"bentConnector5":return T1([[0,0],[o,0],[o,d],[f,d],[f,n],[s,n]]);default:return[]}}function y1(e,r,t){var a="";return r!==void 0&&(r.type==="triangle"||r.type==="arrow")&&(a+="marker-start='url(#markerTriangle_"+e+")' "),t!==void 0&&(t.type==="triangle"||t.type==="arrow")&&(a+="marker-end='url(#markerTriangle_"+e+")' "),a}function Hg(e,r,t){return Gg(e)?" min-width:1px; min-height:1px; overflow:visible; transform-origin:"+Pt(r,0)/2+"px "+Pt(t,0)/2+"px;":""}function If(e){let r=[];return String(e||"").split("/").forEach(function(t){if(!(t===""||t===".")){if(t===".."){r.pop();return}r.push(t)}}),r.join("/")}function Up(e){let r=If(e),t=r.lastIndexOf("/");return t===-1?"":r.slice(0,t)}function Pf(e,r){return r?/^[a-z][a-z0-9+.-]*:/i.test(r)||r.charAt(0)==="#"?r:r.charAt(0)==="/"?If(r.slice(1)):If((Up(e)?Up(e)+"/":"")+r):""}function Mf(e){let r=Up(e),t=If(e).split("/").pop();return(r?r+"/_rels/":"_rels/")+t+".rels"}function Ef(e){return _r(L(e,["Relationships","Relationship"]))}function qu(e){return String(e||"").replace(Cg,"").replace(Og,"")}function Xu(e,r,t){let a=r&&r.attrs?r.attrs:{};a.Id&&(e[a.Id]={type:qu(a.Type),target:Pf(t,a.Target),external:a.TargetMode==="External"})}function f5(){return{idTable:{},idxTable:{},typeTable:{}}}function l5(e){if(!e)return f5();try{return $g(e)}catch(r){return console.warn("Unable to index PPTX layout/master nodes",r),f5()}}async function Zg(e,r){try{let t=await Wr(e,"ppt/presentation.xml"),a=await Wr(e,Mf("ppt/presentation.xml")),s={};Ef(a).forEach(function(d){let f=d&&d.attrs?d.attrs:{};f.Id&&qu(f.Type)==="slide"&&(s[f.Id]=Pf("ppt/presentation.xml",f.Target))});let i=_r(L(t,["p:presentation","p:sldIdLst","p:sldId"])).map(function(d){return s[L(d,["attrs","r:id"])]}).filter(function(d){return d&&r.indexOf(d)!==-1});if(!i.length)return r;let o=new Set(i);return i.concat(r.filter(function(d){return!o.has(d)}))}catch(t){return console.warn("Unable to resolve PPTX slide order",t),r}}var u5=0,c5=0,Hp=!0,Ea=Object.create(null),Zp={},D1={};console.log(D1);var tc={set processFullTheme(e){Hp=e},set settings(e){D1=e},set tableStyles(e){Zp=e},set IE11(e){b5=e}};async function Wr(e,r,t=!1){try{let a=await e.file(r).async("text");t&&Qu<=12&&(a=a.replace(/<!\[CDATA\[(.*?)\]\]>/g,"$1"));let s=Xm(a,{simplify:!0,keepWhitespace:!0});return s["?xml"]&&delete s["?xml"],s}catch{return null}}async function P5(e){let r=await Wr(e,"[Content_Types].xml");S5(e,r);let t=_r(L(r,["Types","Override"])),a=[],s=[];for(let n of t){let i=n.attrs||{},o=String(i.PartName||"").replace(/^\/+/,"");switch(i.ContentType){case"application/vnd.openxmlformats-officedocument.presentationml.slide+xml":a.push(o);break;case"application/vnd.openxmlformats-officedocument.presentationml.slideLayout+xml":s.push(o);break;default:}}return{slides:await Zg(e,a),slideLayouts:s}}function S5(e,r){let t=new Map,a=new Map;for(let n of _r(L(r,["Types","Default"]))){let i=n.attrs||{};t.set(String(i.Extension||"").toLowerCase(),i.ContentType)}for(let n of _r(L(r,["Types","Override"]))){let i=n.attrs||{};a.set(If(i.PartName),i.ContentType)}let s={defaults:t,overrides:a};return E5.set(e,s),s}async function Wg(e,r){let t=E5.get(e)||S5(e,await Wr(e,"[Content_Types].xml")),a=If(r),s=Ap(a).toLowerCase(),n=String(t.overrides.has(a)?t.overrides.get(a):t.defaults.get(s)||"").trim().toLowerCase();switch(n){case"image/jpeg":case"image/png":case"image/gif":case"image/svg+xml":case"image/tiff":case"image/x-emf":case"image/x-wmf":return n;case"image/emf":return"image/x-emf";case"image/wmf":return"image/x-wmf";default:return Yp(s)}}async function I5(e){let r=await Wr(e,"docProps/app.xml");Qu=parseInt(L(r,["Properties","AppVersion"])),Number.isFinite(Qu)||(Qu=xg),console.log("create by Office PowerPoint app verssion: ",Qu);let t=await Wr(e,"ppt/presentation.xml"),a=L(t,["p:presentation","p:sldSz","attrs"])||Rp,s=Pt(a.cx,Rp.cx),n=Pt(a.cy,Rp.cy),i=a.type;console.log("Presentation size type: ",i),L5=L(t,["p:presentation","p:defaultTextStyle"])||{},g5=km(L(t,["p:presentation","attrs","firstSlideNum"]));let o=D1.incSlide||{};return u5=s*w+Pt(o.width,0)|0,c5=n*w+Pt(o.height,0)|0,{width:u5,height:c5}}async function T5(e,r,t,a){self.postMessage({type:"INFO",data:"Processing slide"+(t+1)});let s=Mf(r),n=await Wr(e,s),i="",o="",d={};for(let c of Ef(n)){let h=c.attrs||{},De=qu(h.Type);De==="slideLayout"?i=Pf(r,h.Target):De==="diagramDrawing"&&(o=Pf(r,h.Target)),Xu(d,c,r)}let f=i?await Wr(e,i):null,u=l5(f),l=L(f,["p:sldLayout","p:clrMapOvr","a:overrideClrMapping"]);l!==void 0&&(Dg=l.attrs);let k=i?Mf(i):"",_=k?await Wr(e,k):null,v="",m={};for(let c of Ef(_)){let h=c.attrs||{};qu(h.Type)==="slideMaster"?v=Pf(i,h.Target):Xu(m,c,i)}let g=v?await Wr(e,v):null,M=L(g,["p:sldMaster","p:txStyles"]),p=l5(g),b=v?Mf(v):"",y=b?await Wr(e,b):null,I="",N={};for(let c of Ef(y)){let h=c.attrs||{};qu(h.Type)==="theme"?I=Pf(v,h.Target):Xu(N,c,v)}var R={},B=null;if(I){var Z=Mf(I);B=await Wr(e,I);var T=await Wr(e,Z);for(let c of Ef(T))Xu(R,c,I)}var C={},P={};if(o){var J=Mf(o);if(P=await Wr(e,o),P!=null&&P!=""){var re=JSON.stringify(P);re=re.replace(/dsp:/g,"p:"),P=JSON.parse(re)}var Q=await Wr(e,J);if(Q!==null)for(let c of Ef(Q))Xu(C,c,o)}var ae=await Wr(e,r,!0),X=L(ae,["p:sld","p:cSld","p:spTree"])||{},V={zip:e,slideLayoutContent:f,slideLayoutTables:u,slideMasterContent:g,slideMasterTables:p,slideContent:ae,finalHiddenShapeIds:bm(ae),slideResObj:d,slideMasterTextStyles:M,layoutResObj:m,masterResObj:N,themeContent:B,themeResObj:R,digramFileContent:P,diagramResObj:C,defaultTextStyle:L5,slideIndex:t,slideNumber:t+1,displaySlideNumber:g5+t},H="";Hp===!0&&(H=await Sk(V,a,t));var A="";Hp=="colorsAndImageOnly"&&(A=await x5(V,t)||"");var ge="<div class='slide' data-office-part='"+Xi(r)+"' style='width:"+a.width+"px; height:"+a.height+"px;"+A+"'>";ge+=H;for(let c in X)if(X[c].constructor===Array)for(var me=0;me<X[c].length;me++)ge+=await q0(c,X[c][me],X,V,"slide");else ge+=await q0(c,X[c],X,V,"slide");return ge+"</div>"}function $g(e){let r=Object.keys(e),t=e[r[0]]["p:cSld"]["p:spTree"],a={},s={},n={},i,o,d,f;for(let u in t){if(u==="p:nvGrpSpPr"||u==="p:grpSpPr")continue;let l=t[u];if(l.constructor===Array)for(let k=0;k<l.length;k++)f=l[k]["p:nvSpPr"],d=L(f,["p:cNvPr","attrs","id"]),o=L(f,["p:nvPr","p:ph","attrs","idx"]),i=L(f,["p:nvPr","p:ph","attrs","type"]),d!==void 0&&(a[d]=l[k]),o!==void 0&&(s[o]=l[k]),i!==void 0&&(n[i]=l[k]);else f=l["p:nvSpPr"],d=L(f,["p:cNvPr","attrs","id"]),o=L(f,["p:nvPr","p:ph","attrs","idx"]),i=L(f,["p:nvPr","p:ph","attrs","type"]),d!==void 0&&(a[d]=l),o!==void 0&&(s[o]=l),i!==void 0&&(n[i]=l)}return{idTable:a,idxTable:s,typeTable:n}}async function q0(e,r,t,a,s,n,i){var o="";if(Yg(r)||s==="slide"&&Lm(a.finalHiddenShapeIds,y5(r).id))return o;switch(e){case"p:sp":o=await R5(r,t,a,s,n,i);break;case"p:cxnSp":o=await Vg(r,t,a,s,n,i);break;case"p:pic":o=await rk(r,a,s,n,i);break;case"p:graphicFrame":o=await ak(r,a,s,n,i);break;case"p:grpSp":o=await Wp(r,a,s,i);break;case"mc:AlternateContent":var d=L(r,["mc:Fallback"]);o=await Wp(d,a,s,i);break;default:}return o}function Xp(e,r=0){var t=parseInt(e);return Number.isFinite(t)?t*w:r}function T0(e,r=0){var t=parseFloat(e);return Number.isFinite(t)?t:r}function Tf(e,r,t){var a=T0(e,NaN);if(!Number.isFinite(a))return NaN;if(t===void 0)return Xp(a);var s=r==="y"?t.childOffsetY:t.childOffsetX,n=r==="y"?t.scaleY:t.scaleX;return(a-s)*n}function Ma(e,r,t){var a=T0(e,NaN);if(!Number.isFinite(a))return NaN;if(t===void 0)return Xp(a);var s=r==="y"?t.scaleY:t.scaleX;return a*s}function d5(e,r,t,a){var s=T0(e,NaN);if(!Number.isFinite(s))return a;if(t===void 0)return Xp(s);var n=r==="y"?t.scaleY:t.scaleX;return s*n}function yf(e){return e===!0||e==="1"||e==="true"}function y5(e){return L(e,["p:nvSpPr","p:cNvPr","attrs"])||L(e,["p:nvPicPr","p:cNvPr","attrs"])||L(e,["p:nvGrpSpPr","p:cNvPr","attrs"])||L(e,["p:nvCxnSpPr","p:cNvPr","attrs"])||L(e,["p:nvGraphicFramePr","p:cNvPr","attrs"])||{}}function Yg(e){var r=y5(e);return yf(r.hidden)}function Ag(e,r){var t=L(e,["a:off","attrs"])||{},a=L(e,["a:ext","attrs"])||{},s=L(e,["a:chOff","attrs"])||{},n=L(e,["a:chExt","attrs"])||{},i=Ma(a.cx,"x",r),o=Ma(a.cy,"y",r),d=T0(n.cx,NaN),f=T0(n.cy,NaN);return(!Number.isFinite(d)||d===0)&&(d=T0(a.cx,i||1)),(!Number.isFinite(f)||f===0)&&(f=T0(a.cy,o||1)),{x:Tf(t.x,"x",r),y:Tf(t.y,"y",r),width:i,height:o,childOffsetX:T0(s.x,0),childOffsetY:T0(s.y,0),childWidth:d,childHeight:f,scaleX:d?i/d:1,scaleY:f?o/f:1,rotate:Co(L(e,["attrs","rot"])),flipH:yf(L(e,["attrs","flipH"])),flipV:yf(L(e,["attrs","flipV"]))}}function Xg(e){if(e===void 0)return"";var r=[];return e.rotate&&r.push("rotate("+e.rotate+"deg)"),(e.flipH||e.flipV)&&r.push("scale("+(e.flipH?-1:1)+","+(e.flipV?-1:1)+")"),r.length?"transform:"+r.join(" ")+";transform-origin:center;":""}function Wa(e){return Math.round(e*1e3)/1e3}function Kg(e,r){try{var t=e instanceof Uint8Array?e:new Uint8Array(e),a=t5(r,t);return!a||!a.dataUrl?void 0:a.dataUrl}catch(s){console.warn("Unable to convert metafile image",s);return}}function Jg(e){return e instanceof Uint8ClampedArray?e:e instanceof Uint8Array?new Uint8ClampedArray(e.buffer,e.byteOffset,e.byteLength):new Uint8ClampedArray(e)}async function Qg(e){if(typeof e.convertToBlob=="function"){var r=await e.convertToBlob({type:"image/png"}),t=await r.arrayBuffer();return"data:image/png;base64,"+G5(t)}if(typeof e.toDataURL=="function")return e.toDataURL("image/png")}async function Fg(e){try{var r=yp.decode(e);if(!r||!r.length)return;yp.decodeImage(e,r[0]);var t=r[0].width,a=r[0].height;if(!t||!a)return;var s=Jg(yp.toRGBA8(r[0])),n=new ImageData(s,t,a),i;if(typeof OffscreenCanvas!="undefined")i=new OffscreenCanvas(t,a);else if(typeof document!="undefined"&&document.createElement)i=document.createElement("canvas"),i.width=t,i.height=a;else return;var o=i.getContext("2d");return o?(o.putImageData(n,0,0),await Qg(i)):void 0}catch(d){console.warn("Unable to convert TIFF image",d);return}}async function Kp(e,r,t){var a=await Wg(e,r);if(a=="image/tiff")return await Fg(t);if(a=="image/x-emf"||a=="image/x-wmf")return Kg(t,a=="image/x-wmf"?"image/wmf":"image/emf");if(a=="image/jpeg"&&(t=G_(t).bytes),!!a)return"data:"+a+";base64,"+G5(t)}function w5(e){var r=L(e,["a:srcRect","attrs"]);if(r===void 0)return{container:"overflow:hidden;",image:"display:block;width:100%;height:100%;object-fit:fill;max-width:none;max-height:none;",svg:{x:0,y:0,width:100,height:100}};var t=parseInt(r.l||0)/1e3,a=parseInt(r.t||0)/1e3,s=parseInt(r.r||0)/1e3,n=parseInt(r.b||0)/1e3,i=100-t-s,o=100-a-n;if(i<=0||o<=0)return{container:"overflow:hidden;",image:"display:block;width:100%;height:100%;object-fit:fill;max-width:none;max-height:none;",svg:{x:0,y:0,width:100,height:100}};var d=1e4/i,f=1e4/o,u=-t/i*100,l=-a/o*100;return{container:"overflow:hidden;",image:"position:absolute;max-width:none;max-height:none;width:"+d+"%;height:"+f+"%;left:"+u+"%;top:"+l+"%;",svg:{x:u,y:l,width:d,height:f}}}function qg(e){var r=L(e,["p:spPr","a:prstGeom","attrs","prst"]);return r==="ellipse"?"border-radius:50%;":r==="roundRect"?"border-radius:8px;":""}async function Wp(e,r,t,a){var s=L(e,["p:grpSpPr","a:xfrm"]),n=s!==void 0?Ag(s,a):void 0,i=L(e,["attrs","order"]),o=i!==void 0?"z-index: "+i+";":"";s!==void 0&&(o+=Yi(s,e,void 0,void 0,"group",a),o+=Ai(s,void 0,void 0,a),o+=Xg(n));var d="<div class='block group' style='"+o+"'>";n!==void 0&&(d+="<div class='group-content' style='position:absolute;top:0;left:0;width:100%;height:100%;'>");for(var f in e)if(e[f].constructor===Array)for(var u=0;u<e[f].length;u++)d+=await q0(f,e[f][u],e,r,t,"group",n);else d+=await q0(f,e[f],e,r,t,"group",n);return n!==void 0&&(d+="</div>"),d+="</div>",d}async function R5(e,r,t,a,s,n){var i=L(e,["p:nvSpPr","p:cNvPr","attrs","id"]),o=L(e,["p:nvSpPr","p:cNvPr","attrs","name"]),d=L(e,["p:nvSpPr","p:nvPr","p:ph","attrs","idx"])===void 0?void 0:L(e,["p:nvSpPr","p:nvPr","p:ph","attrs","idx"]),f=L(e,["p:nvSpPr","p:nvPr","p:ph","attrs","type"])===void 0?void 0:L(e,["p:nvSpPr","p:nvPr","p:ph","attrs","type"]),u=L(e,["attrs","order"]),l;if(a=="slideLayoutBg"||a=="slideMasterBg"){var k=L(e,["p:nvSpPr","p:nvPr","attrs","userDrawn"]);k=="1"?l=!0:l=!1}var _=void 0,v=void 0;return d!==void 0?(_=t.slideLayoutTables.idxTable[d],f!==void 0?v=t.slideMasterTables.typeTable[f]:v=t.slideMasterTables.idxTable[d]):f!==void 0&&(_=t.slideLayoutTables.typeTable[f],v=t.slideMasterTables.typeTable[f]),f===void 0&&L(e,["p:nvSpPr","p:cNvSpPr","attrs","txBox"])=="1"&&(f="textBox"),f===void 0&&(f=L(_,["p:nvSpPr","p:nvPr","p:ph","attrs","type"]),f===void 0&&(a=="diagramBg"?f="diagram":f="obj")),B5(e,r,_,v,i,o,d,f,u,t,l,s,a,n)}async function Vg(e,r,t,a,s,n){var i=e["p:nvCxnSpPr"]["p:cNvPr"].attrs.id,o=e["p:nvCxnSpPr"]["p:cNvPr"].attrs.name,d=e["p:nvCxnSpPr"]["p:nvPr"]["p:ph"]===void 0?void 0:e["p:nvSpPr"]["p:nvPr"]["p:ph"].attrs.idx,f=e["p:nvCxnSpPr"]["p:nvPr"]["p:ph"]===void 0?void 0:e["p:nvSpPr"]["p:nvPr"]["p:ph"].attrs.type,u=e.attrs.order;return B5(e,r,void 0,void 0,i,o,d,f,u,t,void 0,s,a,n)}async function B5(e,r,t,a,s,n,i,o,d,f,u,l,k,_){var v=["p:spPr","a:xfrm"],m=L(e,v),g=L(t,v),M=L(a,v),p="",b=L(e,["attrs","order"]),y=L(e,["p:spPr","a:prstGeom","attrs","prst"]),I=L(e,["p:spPr","a:custGeom"]),N=!1,R=!1,B="";L(m,["attrs","flipV"])==="1"&&(N=!0),L(m,["attrs","flipH"])==="1"&&(R=!0),R&&!N?B=" scale(-1,1)":!R&&N?B=" scale(1,-1)":R&&N&&(B=" scale(-1,-1)");var Z=Co(L(m,["attrs","rot"])),T=L(e,["p:txBody","a:bodyPr","attrs"])||{},C=Co(T.rot),P,J=L(e,["p:txXfrm"]);if(J!==void 0){var re=L(J,["attrs","rot"]);re!==void 0&&(P=Co(re))}var Q=o5({shapeRotation:Z,textTransformRotation:P,bodyRotation:C,direction:T.vert,upright:yf(T.upright)});let ae=yh(J,m),X=qc(e["p:txBody"],t==null?void 0:t["p:txBody"],a==null?void 0:a["p:txBody"]),V="box-sizing:border-box;padding:"+Ma(X.top,"y",_)+"px "+Ma(X.right,"x",_)+"px "+Ma(X.bottom,"y",_)+"px "+Ma(X.left,"x",_)+"px;";if(y!==void 0||I!==void 0){var H=L(m,["a:off","attrs"])||{x:0,y:0},A=Tf(H.x,"x",_),ge=Tf(H.y,"y",_),me=L(m,["a:ext","attrs"])||{cx:0,cy:0},c=Ma(me.cx,"x",_),h=Ma(me.cy,"y",_);Number.isFinite(A)||(A=0),Number.isFinite(ge)||(ge=0),Number.isFinite(c)||(c=0),Number.isFinite(h)||(h=0);var De="_svg_css_"+(Object.keys(Ea).length+1)+"_"+Math.floor(Math.random()*1001),Ue=De+"_effects";p+="<svg class='drawing "+De+" "+Ue+" ' _id='"+s+"' _idx='"+i+"' _type='"+o+"' _name='"+n+"'' style='"+Yi(m,r,void 0,void 0,l,_)+Ai(m,void 0,void 0,_)+Hg(y,c,h)+" z-index: "+d+";transform: rotate("+(Z!==void 0?Z:0)+"deg)"+B+";'>",p+="<defs>";var ee=await ju(e,r,!0,f,k),fe=!1,oe=!1,kt=un(L(e,["p:spPr"])),dt=kt,S;if(dt=="GROUP_FILL"&&(dt=un(L(r,["p:grpSpPr"])),dt=="PIC_FILL"&&(S=L(r,["p:grpSpPr","a:blipFill"]))),dt=="GRADIENT_FILL"){fe=!0;var Ee=ee.color,pe=ee.rot+90,Y=Zk(c,h,pe,Ee,b);p+=Y}else if(dt=="PIC_FILL"){oe=!0;var z=S||L(e,["p:spPr","a:blipFill"]),j=kt=="GROUP_FILL"&&_!==void 0?{x:A,y:ge,width:_.width,height:_.height,shapeTransform:{width:c,height:h,rotation:Z||0,flipH:R,flipV:N}}:void 0,be=await Yk(z,ee,b,f,j);p+=be}else if(dt=="PATTERN_FILL"){var Le=ee;Object.prototype.hasOwnProperty.call(Ea,Le)&&(Le+="do-nothing: "+De+";"),Ea[Le]={name:De,text:Le},ee="none"}else dt!="SOLID_FILL"&&dt!="PATTERN_FILL"&&(y=="arc"||y=="bracketPair"||y=="bracePair"||y=="leftBracket"||y=="leftBrace"||y=="rightBrace"||y=="rightBracket")&&(ee="none");var E=Ii(e,r,!0,"shape",f),Be=L(e,["p:spPr","a:ln","a:headEnd","attrs"]),We=L(e,["p:spPr","a:ln","a:tailEnd","attrs"]),xe=L(e,["p:spPr","a:effectLst","a:outerShdw"]),ht="";if(xe!==void 0){var Yt=gt(xe,void 0,void 0,f),Bt=xe.attrs,$r=Bt.dir?parseInt(Bt.dir)/6e4:0,Pn=parseInt(Bt.dist)*w,Ua=Bt.blurRad?parseInt(Bt.blurRad)*w:"",On=Pn*Math.sin($r*Math.PI/180),Or=Pn*Math.cos($r*Math.PI/180),Ki="filter:drop-shadow("+Or+"px "+On+"px "+Ua+"px #"+Yt+");";Object.prototype.hasOwnProperty.call(Ea,Ki)&&(Ki+="do-nothing: "+De+";"),Ea[Ki]={name:Ue,text:Ki}}if(Be!==void 0&&(Be.type==="triangle"||Be.type==="arrow")||We!==void 0&&(We.type==="triangle"||We.type==="arrow")){var wf="<marker id='markerTriangle_"+b+"' viewBox='0 0 10 10' refX='10' refY='5' markerWidth='5' markerHeight='5' stroke='"+E.color+"' fill='"+E.color+"' orient='auto-start-reverse' markerUnits='strokeWidth'><path d='M 0 0 L 10 5 L 0 10 z' /></marker>";p+=wf}p+="</defs>"}if(y!==void 0&&I===void 0){switch(y){case"rect":case"flowChartProcess":case"flowChartPredefinedProcess":case"flowChartInternalStorage":case"actionButtonBlank":p+="<rect x='0' y='0' width='"+c+"' height='"+h+"' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' "+ht+" />",y=="flowChartPredefinedProcess"?p+="<rect x='"+c*(1/8)+"' y='0' width='"+c*(6/8)+"' height='"+h+"' fill='none' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />":y=="flowChartInternalStorage"&&(p+=" <polyline points='"+c*(1/8)+" 0,"+c*(1/8)+" "+h+"' fill='none' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />",p+=" <polyline points='0 "+h*(1/8)+","+c+" "+h*(1/8)+"' fill='none' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />");break;case"flowChartCollate":var Ce="M 0,0 L"+c+",0 L0,"+h+" L"+c+","+h+" z";p+="<path d='"+Ce+"' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"flowChartDocument":var G,K,ne,D;D=c*10800/21600,G=h*17322/21600,K=h*20172/21600,ne=h*23922/21600;var Ce="M0,0 L"+c+",0 L"+c+","+G+" C"+D+","+G+" "+D+","+ne+" 0,"+K+" z";p+="<path d='"+Ce+"' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"flowChartMultidocument":var G,K,ne,de,Ye,st,Rt,vr,Ha,D,q,se,_e,He,qe,mt;G=h*18022/21600,K=h*3675/21600,ne=h*23542/21600,de=h*1815/21600,Ye=h*16252/21600,st=h*16352/21600,Rt=h*14392/21600,vr=h*20782/21600,Ha=h*14467/21600,D=c*1532/21600,q=c*2e4/21600,se=c*9298/21600,_e=c*19298/21600,He=c*18595/21600,qe=c*2972/21600,mt=c*20800/21600;var Ce="M0,"+K+" L"+He+","+K+" L"+He+","+G+" C"+se+","+G+" "+se+","+ne+" 0,"+vr+" zM"+D+","+K+" L"+D+","+de+" L"+q+","+de+" L"+q+","+Ye+" C"+_e+","+Ye+" "+He+","+st+" "+He+","+st+"M"+qe+","+de+" L"+qe+",0 L"+c+",0 L"+c+","+Rt+" C"+mt+","+Rt+" "+q+","+Ha+" "+q+","+Ha;p+="<path d='"+Ce+"' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"actionButtonBackPrevious":var O=c/2,W=h/2,Ie=Math.min(c,h),he,tt,Gt,Fe,xt;he=Ie*3/8,tt=W-he,Gt=W+he,Fe=O-he,xt=O+he;var Ce="M0,0 L"+c+",0 L"+c+","+h+" L0,"+h+" zM"+Fe+","+W+" L"+xt+","+tt+" L"+xt+","+Gt+" z";p+="<path d='"+Ce+"' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"actionButtonBeginning":var O=c/2,W=h/2,Ie=Math.min(c,h),he,tt,Gt,Fe,xt,$e,$t,Jt,ar,Qt;he=Ie*3/8,tt=W-he,Gt=W+he,Fe=O-he,xt=O+he,$e=Ie*3/4,$t=$e/8,Jt=$e/4,ar=Fe+$t,Qt=Fe+Jt;var Ce="M0,0 L"+c+",0 L"+c+","+h+" L0,"+h+" zM"+Qt+","+W+" L"+xt+","+tt+" L"+xt+","+Gt+" zM"+ar+","+tt+" L"+Fe+","+tt+" L"+Fe+","+Gt+" L"+ar+","+Gt+" z";p+="<path d='"+Ce+"' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"actionButtonDocument":var O=c/2,W=h/2,Ie=Math.min(c,h),he,tt,Gt,Ge,Fe,xt,$e,$t,Jt;he=Ie*3/8,tt=W-he,Gt=W+he,Ge=Ie*9/32,Fe=O-Ge,xt=O+Ge,$e=Ie*3/16,$t=xt-$e,Jt=tt+$e;var Ce="M0,0 L"+c+",0 L"+c+","+h+" L0,"+h+" zM"+Fe+","+tt+" L"+$t+","+tt+" L"+xt+","+Jt+" L"+xt+","+Gt+" L"+Fe+","+Gt+" zM"+$t+","+tt+" L"+$t+","+Jt+" L"+xt+","+Jt+" z";p+="<path d='"+Ce+"' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"actionButtonEnd":var O=c/2,W=h/2,Ie=Math.min(c,h),he,tt,Gt,Fe,xt,$e,$t,Jt,ar,Qt;he=Ie*3/8,tt=W-he,Gt=W+he,Fe=O-he,xt=O+he,$e=Ie*3/4,$t=$e*3/4,Jt=$e*7/8,ar=Fe+$t,Qt=Fe+Jt;var Ce="M0,"+h+" L"+c+","+h+" L"+c+",0 L0,0 z M"+Qt+","+tt+" L"+xt+","+tt+" L"+xt+","+Gt+" L"+Qt+","+Gt+" z M"+ar+","+W+" L"+Fe+","+tt+" L"+Fe+","+Gt+" z";p+="<path d='"+Ce+"' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"actionButtonForwardNext":var O=c/2,W=h/2,Ie=Math.min(c,h),he,tt,Gt,Fe,xt;he=Ie*3/8,tt=W-he,Gt=W+he,Fe=O-he,xt=O+he;var Ce="M0,"+h+" L"+c+","+h+" L"+c+",0 L0,0 z M"+xt+","+W+" L"+Fe+","+tt+" L"+Fe+","+Gt+" z";p+="<path d='"+Ce+"' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"actionButtonHelp":var O=c/2,W=h/2,Ie=Math.min(c,h),he,tt,Fe,$e,$t,Jt,ar,Qr,wr,Rr,sa,Ir,Jr,Pa,Sa,Ia,rn,y0,Gn,R0,Ti;he=Ie*3/8,tt=W-he,Fe=O-he,$e=Ie*3/4,$t=$e/7,Jt=$e*3/14,ar=$e*2/7,Qr=$e*3/7,wr=$e*4/7,Rr=$e*17/28,sa=$e*21/28,Ir=$e*11/14,Jr=tt+ar,Pa=tt+Rr,Sa=tt+sa,Ia=tt+Ir,rn=Fe+Jt,y0=Fe+Qr,Gn=Fe+wr,R0=$e/14,Ti=$e*3/28;var Xn=rn+ar,C0=y0+$t,Ic=Ia+Ti,Hf=(Gn+y0+ar)/2,Ce="M0,0 L"+c+",0 L"+c+","+h+" L0,"+h+" zM"+rn+","+Jr+ve(Xn,Jr,ar,ar,180,360,!1).replace("M","L")+ve(Hf,Jr,$t,Jt,0,90,!1).replace("M","L")+ve(Hf,Pa,R0,Ti,270,180,!1).replace("M","L")+" L"+Gn+","+Sa+" L"+y0+","+Sa+" L"+y0+","+Pa+ve(C0,Pa,$t,Jt,180,270,!1).replace("M","L")+ve(Gn,Jr,R0,Ti,90,0,!1).replace("M","L")+ve(Xn,Jr,$t,$t,0,-180,!1).replace("M","L")+" zM"+O+","+Ia+ve(O,Ic,Ti,Ti,270,630,!1).replace("M","L")+" z";p+="<path d='"+Ce+"' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"actionButtonHome":var O=c/2,W=h/2,Ie=Math.min(c,h),he,tt,Gt,Fe,xt,$e,$t,Jt,ar,Qt,qr,Qr,wr,Rr,ua,sa,Ir,Gr,ca,Jr,ia,Pa,Sa,Ia,$a,rn;he=Ie*3/8,tt=W-he,Gt=W+he,Fe=O-he,xt=O+he,$e=Ie*3/4,$t=$e/16,Jt=$e/8,ar=$e*3/16,Qt=$e*5/16,qr=$e*7/16,Qr=$e*9/16,wr=$e*11/16,Rr=$e*3/4,ua=$e*13/16,sa=$e*7/8,Ir=tt+$t,Gr=tt+ar,ca=tt+Qt,Jr=tt+Rr,ia=Fe+Jt,Pa=Fe+qr,Sa=Fe+Qr,Ia=Fe+wr,$a=Fe+ua,rn=Fe+sa;var Ce="M0,0 L"+c+",0 L"+c+","+h+" L0,"+h+" z M"+O+","+tt+" L"+Fe+","+W+" L"+ia+","+W+" L"+ia+","+Gt+" L"+rn+","+Gt+" L"+rn+","+W+" L"+xt+","+W+" L"+$a+","+ca+" L"+$a+","+Ir+" L"+Ia+","+Ir+" L"+Ia+","+Gr+" z M"+Pa+","+Jr+" L"+Sa+","+Jr+" L"+Sa+","+Gt+" L"+Pa+","+Gt+" z";p+="<path d='"+Ce+"' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"actionButtonInformation":var O=c/2,W=h/2,Ie=Math.min(c,h),he,tt,Fe,$e,$t,Qt,qr,Qr,wr,ua,sa,Ir,Gr,ia,Pa,Sa,Ia,$a,Sn,an,Gn,w0;he=Ie*3/8,tt=W-he,Fe=O-he,$e=Ie*3/4,$t=$e/32,Qt=$e*5/16,qr=$e*3/8,Qr=$e*13/32,wr=$e*19/32,ua=$e*11/16,sa=$e*13/16,Ir=$e*7/8,Gr=tt+$t,ia=tt+Qt,Pa=tt+qr,Sa=tt+sa,Ia=tt+Ir,$a=Fe+Qt,Sn=Fe+Qr,an=Fe+wr,Gn=Fe+ua,w0=$e*3/32;var t0=tt+he,x0=Gr+w0,Ce="M0,0 L"+c+",0 L"+c+","+h+" L0,"+h+" zM"+O+","+tt+ve(O,t0,he,he,270,630,!1).replace("M","L")+" zM"+O+","+Gr+ve(O,x0,w0,w0,270,630,!1).replace("M","L")+"M"+$a+","+ia+" L"+an+","+ia+" L"+an+","+Sa+" L"+Gn+","+Sa+" L"+Gn+","+Ia+" L"+$a+","+Ia+" L"+$a+","+Sa+" L"+Sn+","+Sa+" L"+Sn+","+Pa+" L"+$a+","+Pa+" z";p+="<path d='"+Ce+"' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"actionButtonMovie":var O=c/2,W=h/2,Ie=Math.min(c,h),he,tt,Gt,Fe,xt,$e,$t,Jt,ar,Qt,qr,Qr,wr,Rr,ua,sa,Ir,Gr,ca,Jr,ia,Pa,Sa,Ia,$a,rn,Sn,an,y0,Gn,w0,N1,z1,R0,Ti,x1,C1,O1,G1,U1,$5;he=Ie*3/8,tt=W-he,Gt=W+he,Fe=O-he,xt=O+he,$e=Ie*3/4,$t=$e*1455/21600,Jt=$e*1905/21600,ar=$e*2325/21600,Qt=$e*16155/21600,qr=$e*17010/21600,Qr=$e*19335/21600,wr=$e*19725/21600,Rr=$e*20595/21600,ua=$e*5280/21600,sa=$e*5730/21600,Ir=$e*6630/21600,Gr=$e*7492/21600,ca=$e*9067/21600,Jr=$e*9555/21600,ia=$e*13342/21600,Pa=$e*14580/21600,Sa=$e*15592/21600,Ia=Fe+$t,$a=Fe+Jt,rn=Fe+ar,Sn=Fe+Qt,an=Fe+qr,y0=Fe+Qr,Gn=Fe+wr,w0=Fe+Rr,N1=tt+ua,z1=tt+sa,R0=tt+Ir,Ti=tt+Gr,x1=tt+ca,C1=tt+Jr,O1=tt+ia,G1=tt+Pa,U1=tt+Sa,$5=tt+Ia;var Ce="M0,"+h+" L"+c+","+h+" L"+c+",0 L0,0 zM"+Fe+","+N1+" L"+Fe+","+C1+" L"+Ia+","+C1+" L"+$a+","+x1+" L"+rn+","+x1+" L"+rn+","+U1+" L"+an+","+U1+" L"+an+","+O1+" L"+y0+","+O1+" L"+w0+","+G1+" L"+xt+","+G1+" L"+xt+","+R0+" L"+w0+","+R0+" L"+Gn+","+Ti+" L"+an+","+Ti+" L"+an+","+R0+" L"+Sn+","+z1+" L"+$a+","+z1+" L"+Ia+","+N1+" z";p+="<path d='"+Ce+"' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"actionButtonReturn":var O=c/2,W=h/2,Ie=Math.min(c,h),he,tt,Gt,Fe,xt,$e,$t,Jt,ar,Qt,qr,Qr,wr,Rr,ua,sa,Ir,Gr,ca,Jr;he=Ie*3/8,tt=W-he,Gt=W+he,Fe=O-he,xt=O+he,$e=Ie*3/4,$t=$e*7/8,Jt=$e*3/4,ar=$e*5/8,Qt=$e*3/8,qr=$e/4,Qr=tt+Jt,wr=tt+ar,Rr=tt+qr,ua=Fe+$t,sa=Fe+Jt,Ir=Fe+ar,Gr=Fe+Qt,ca=Fe+qr,Jr=$e/8;var Xn=Ir-Jr,x0=Qr-Jr,Sc=Fe+Qt,Tc=Gt-Qt,Ce="M0,"+h+" L"+c+","+h+" L"+c+",0 L0,0 z M"+xt+","+Rr+" L"+sa+","+tt+" L"+O+","+Rr+" L"+Ir+","+Rr+" L"+Ir+","+wr+ve(Xn,wr,Jr,Jr,0,90,!1).replace("M","L")+" L"+Gr+","+Qr+ve(Gr,x0,Jr,Jr,90,180,!1).replace("M","L")+" L"+ca+","+Rr+" L"+Fe+","+Rr+" L"+Fe+","+wr+ve(Sc,wr,Qt,Qt,180,90,!1).replace("M","L")+" L"+O+","+Gt+ve(O,Tc,Qt,Qt,90,0,!1).replace("M","L")+" L"+ua+","+Rr+" z";p+="<path d='"+Ce+"' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"actionButtonSound":var O=c/2,W=h/2,Ie=Math.min(c,h),he,tt,Gt,Fe,xt,$e,$t,Jt,ar,Qt,qr,Qr,wr,Rr,ua,sa,Ir,Gr,ca;he=Ie*3/8,tt=W-he,Gt=W+he,Fe=O-he,xt=O+he,$e=Ie*3/4,$t=$e/8,Jt=$e*5/16,ar=$e*5/8,Qt=$e*11/16,qr=$e*3/4,Qr=$e*7/8,wr=tt+$t,Rr=tt+Jt,ua=tt+Qt,sa=tt+Qr,Ir=Fe+Jt,Gr=Fe+ar,ca=Fe+qr;var Ce="M0,0 L"+c+",0 L"+c+","+h+" L0,"+h+" z M"+Fe+","+Rr+" L"+Ir+","+Rr+" L"+Gr+","+tt+" L"+Gr+","+Gt+" L"+Ir+","+ua+" L"+Fe+","+ua+" z M"+ca+","+Rr+" L"+xt+","+wr+" M"+ca+","+W+" L"+xt+","+W+" M"+ca+","+ua+" L"+xt+","+sa;p+="<path d='"+Ce+"' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"irregularSeal1":case"irregularSeal2":if(y=="irregularSeal1")var Ce="M"+c*10800/21600+","+h*5800/21600+" L"+c*14522/21600+",0 L"+c*14155/21600+","+h*5325/21600+" L"+c*18380/21600+","+h*4457/21600+" L"+c*16702/21600+","+h*7315/21600+" L"+c*21097/21600+","+h*8137/21600+" L"+c*17607/21600+","+h*10475/21600+" L"+c+","+h*13290/21600+" L"+c*16837/21600+","+h*12942/21600+" L"+c*18145/21600+","+h*18095/21600+" L"+c*14020/21600+","+h*14457/21600+" L"+c*13247/21600+","+h*19737/21600+" L"+c*10532/21600+","+h*14935/21600+" L"+c*8485/21600+","+h+" L"+c*7715/21600+","+h*15627/21600+" L"+c*4762/21600+","+h*17617/21600+" L"+c*5667/21600+","+h*13937/21600+" L"+c*135/21600+","+h*14587/21600+" L"+c*3722/21600+","+h*11775/21600+" L0,"+h*8615/21600+" L"+c*4627/21600+","+h*7617/21600+" L"+c*370/21600+","+h*2295/21600+" L"+c*7312/21600+","+h*6320/21600+" L"+c*8352/21600+","+h*2295/21600+" z";else if(y=="irregularSeal2")var Ce="M"+c*11462/21600+","+h*4342/21600+" L"+c*14790/21600+",0 L"+c*14525/21600+","+h*5777/21600+" L"+c*18007/21600+","+h*3172/21600+" L"+c*16380/21600+","+h*6532/21600+" L"+c+","+h*6645/21600+" L"+c*16985/21600+","+h*9402/21600+" L"+c*18270/21600+","+h*11290/21600+" L"+c*16380/21600+","+h*12310/21600+" L"+c*18877/21600+","+h*15632/21600+" L"+c*14640/21600+","+h*14350/21600+" L"+c*14942/21600+","+h*17370/21600+" L"+c*12180/21600+","+h*15935/21600+" L"+c*11612/21600+","+h*18842/21600+" L"+c*9872/21600+","+h*17370/21600+" L"+c*8700/21600+","+h*19712/21600+" L"+c*7527/21600+","+h*18125/21600+" L"+c*4917/21600+","+h+" L"+c*4805/21600+","+h*18240/21600+" L"+c*1285/21600+","+h*17825/21600+" L"+c*3330/21600+","+h*15370/21600+" L0,"+h*12877/21600+" L"+c*3935/21600+","+h*11592/21600+" L"+c*1172/21600+","+h*8270/21600+" L"+c*5372/21600+","+h*7817/21600+" L"+c*4502/21600+","+h*3625/21600+" L"+c*8550/21600+","+h*6382/21600+" L"+c*9722/21600+","+h*1887/21600+" z";p+="<path d='"+Ce+"' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"flowChartTerminator":var D,q,G,bt=180,It=90,wt=270;D=c*3475/21600,q=c*18125/21600,G=h*10800/21600;var Ce="M"+D+",0 L"+q+",0"+ve(q,h/2,D,G,wt,wt+bt,!1).replace("M","L")+" L"+D+","+h+ve(D,h/2,D,G,It,It+bt,!1).replace("M","L")+" z";p+="<path d='"+Ce+"' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"flowChartPunchedTape":var D,D,G,K,bt=180;D=c*5/20,G=h*2/20,K=h*18/20;var Ce="M0,"+G+ve(D,G,D,G,bt,0,!1).replace("M","L")+ve(c*(3/4),G,D,G,bt,360,!1).replace("M","L")+" L"+c+","+K+ve(c*(3/4),K,D,G,0,-bt,!1).replace("M","L")+ve(D,K,D,G,0,bt,!1).replace("M","L")+" z";p+="<path d='"+Ce+"' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"flowChartOnlineStorage":var D,G,wt=270,It=90;D=c*1/6,G=h*3/6;var Ce="M"+D+",0 L"+c+",0"+ve(c,h/2,D,G,wt,90,!1).replace("M","L")+" L"+D+","+h+ve(D,h/2,D,G,It,270,!1).replace("M","L")+" z";p+="<path d='"+Ce+"' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"flowChartDisplay":var D,q,G,wt=270,bt=180;D=c*1/6,q=c*5/6,G=h*3/6;var Ce="M0,"+G+" L"+D+",0 L"+q+",0"+ve(c,h/2,D,G,wt,wt+bt,!1).replace("M","L")+" L"+D+","+h+" z";p+="<path d='"+Ce+"' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"flowChartDelay":var Ae=c/2,Oe=h/2,bt=180,wt=270,It=90,Ce="M0,0 L"+Ae+",0"+ve(Ae,Oe,Ae,Oe,wt,wt+bt,!1).replace("M","L")+" L0,"+h+" z";p+="<path d='"+Ce+"' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"flowChartMagneticTape":var Ae=c/2,Oe=h/2,bt=180,wt=270,It=90,Lr,In,qp;Lr=Oe*Math.sin(Math.PI/4),In=Oe+Lr,qp=Math.atan(h/c);var Y5=qp*180/Math.PI,Ce="M"+Ae+","+h+ve(Ae,Oe,Ae,Oe,It,bt,!1).replace("M","L")+ve(Ae,Oe,Ae,Oe,bt,wt,!1).replace("M","L")+ve(Ae,Oe,Ae,Oe,wt,360,!1).replace("M","L")+ve(Ae,Oe,Ae,Oe,0,Y5,!1).replace("M","L")+" L"+c+","+In+" L"+c+","+h+" z";p+="<path d='"+Ce+"' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"ellipse":case"flowChartConnector":case"flowChartSummingJunction":case"flowChartOr":if(p+="<ellipse cx='"+c/2+"' cy='"+h/2+"' rx='"+c/2+"' ry='"+h/2+"' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />",y=="flowChartOr")p+=" <polyline points='"+c/2+" 0,"+c/2+" "+h+"' fill='none' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />",p+=" <polyline points='0 "+h/2+","+c+" "+h/2+"' fill='none' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";else if(y=="flowChartSummingJunction"){var yr,Lr,Qi,qi,Fi,In,O=c/2,W=h/2,Ae=c/2,Oe=h/2,Vp=Math.PI/4;yr=Ae*Math.cos(Vp),Lr=Oe*Math.sin(Vp),Qi=O-yr,qi=O+yr,Fi=W-Lr,In=W+Lr,p+=" <polyline points='"+Qi+" "+Fi+","+qi+" "+In+"' fill='none' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />",p+=" <polyline points='"+qi+" "+Fi+","+Qi+" "+In+"' fill='none' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />"}break;case"roundRect":case"round1Rect":case"round2DiagRect":case"round2SameRect":case"snip1Rect":case"snip2DiagRect":case"snip2SameRect":case"flowChartAlternateProcess":case"flowChartPunchedCard":var x=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"]),Se,je,Te,et,B0,D0;if(x!==void 0&&x.constructor===Array)for(var U=0;U<x.length;U++){var le=L(x[U],["attrs","name"]);le=="adj1"?(Se=L(x[U],["attrs","fmla"]),je=parseInt(Se.substr(4))/5e4):le=="adj2"&&(Te=L(x[U],["attrs","fmla"]),et=parseInt(Te.substr(4))/5e4)}else if(x!==void 0&&x.constructor!==Array){var A5=L(x,["attrs","fmla"]);je=parseInt(A5.substr(4))/5e4,et=0}var U0="";switch(y){case"roundRect":case"flowChartAlternateProcess":B0="round",D0="cornrAll",je===void 0&&(je=.33334),et=0;break;case"round1Rect":B0="round",D0="cornr1",je===void 0&&(je=.33334),et=0;break;case"round2DiagRect":B0="round",D0="diag",je===void 0&&(je=.33334),et===void 0&&(et=0);break;case"round2SameRect":B0="round",D0="cornr2",je===void 0&&(je=.33334),et===void 0&&(et=0);break;case"snip1Rect":case"flowChartPunchedCard":B0="snip",D0="cornr1",je===void 0&&(je=.33334),et=0,y=="flowChartPunchedCard"&&(U0="transform='translate("+c+",0) scale(-1,1)'");break;case"snip2DiagRect":B0="snip",D0="diag",je===void 0&&(je=0),et===void 0&&(et=.33334);break;case"snip2SameRect":B0="snip",D0="cornr2",je===void 0&&(je=.33334),et===void 0&&(et=0);break}var ze=tk(c,h,je,et,B0,D0);p+="<path "+U0+" d='"+ze+"' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"snipRoundRect":var x=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"]),Se,je=.33334,Te,et=.33334;if(x!==void 0)for(var U=0;U<x.length;U++){var le=L(x[U],["attrs","name"]);le=="adj1"?(Se=L(x[U],["attrs","fmla"]),je=parseInt(Se.substr(4))/5e4):le=="adj2"&&(Te=L(x[U],["attrs","fmla"]),et=parseInt(Te.substr(4))/5e4)}var ze="M0,"+h+" L"+c+","+h+" L"+c+","+h/2*et+" L"+(c/2+c/2*(1-et))+",0 L"+c/2*je+",0 Q0,0 0,"+h/2*je+" z";p+="<path d='"+ze+"' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"bentConnector2":var Cf=Bp(y,e,c,h);p+="<polyline points='"+Cf.map(function(Zr){return Zr[0]+" "+Zr[1]}).join(",")+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' fill='none' "+y1(b,Be,We)+"/>";break;case"rtTriangle":p+=" <polygon points='0 0,0 "+h+","+c+" "+h+"' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"triangle":case"flowChartExtract":case"flowChartMerge":var ye=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd","attrs","fmla"]),jp=.5;ye!==void 0&&(jp=parseInt(ye.substr(4))*w);var U0="";y=="flowChartMerge"&&(U0="transform='rotate(180 "+c/2+","+h/2+")'"),p+=" <polygon "+U0+" points='"+c*jp+" 0,0 "+h+","+c+" "+h+"' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"diamond":case"flowChartDecision":case"flowChartSort":p+=" <polygon points='"+c/2+" 0,0 "+h/2+","+c/2+" "+h+","+c+" "+h/2+"' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />",y=="flowChartSort"&&(p+=" <polyline points='0 "+h/2+","+c+" "+h/2+"' fill='none' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />");break;case"trapezoid":var ev=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd","attrs","fmla"]),tv=25e3;ev!==void 0&&(tv=Pt(String(ev).replace(/^val\s+/,""),25e3));var X5=a5(r5(c,h,tv));p+=" <polygon points='"+X5+"' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"flowChartManualOperation":p+=" <polygon points='0 0,"+c+" 0,"+c*4/5+" "+h+","+c/5+" "+h+"' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"flowChartManualInput":p+=" <polygon points='0 "+h/5+","+c+" 0,"+c+" "+h+",0 "+h+"' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"parallelogram":case"flowChartInputOutput":var ye=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd","attrs","fmla"]),H1=.25,Z1;if(c>h?Z1=c/h:Z1=h/c,ye!==void 0){var K5=parseInt(ye.substr(4))/1e5;H1=K5/Z1}p+=" <polygon points='"+H1*c+" 0,0 "+h+","+(1-H1)*c+" "+h+","+c+" 0' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"pentagon":p+=" <polygon points='"+.5*c+" 0,0 "+.375*h+","+.15*c+" "+h+","+.85*c+" "+h+","+c+" "+.375*h+"' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"hexagon":case"flowChartPreparation":var ye=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd","attrs","fmla"]),we=25e3*w,Ji=115470*w,ie=5e4*w,ce=1e5*w,_s=60*Math.PI/180;ye!==void 0&&(we=parseInt(ye.substr(4))*w);var ft,Ne,cn,D,q,Re,G,K,W=h/2,Oe=h/2,Ie=Math.min(c,h);ft=ie*c/Ie,Ne=we<0?0:we>ft?ft:we,cn=Oe*Ji/ce,D=Ie*Ne/ce,q=c-D,Re=cn*Math.sin(_s),G=W-Re,K=W+Re;var Ce="M0,"+W+" L"+D+","+G+" L"+q+","+G+" L"+c+","+W+" L"+q+","+K+" L"+D+","+K+" z";p+="<path d='"+Ce+"' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"heptagon":p+=" <polygon points='"+.5*c+" 0,"+c/8+" "+h/4+",0 "+5/8*h+","+c/4+" "+h+","+3/4*c+" "+h+","+c+" "+5/8*h+","+7/8*c+" "+h/4+"' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"octagon":var ye=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd","attrs","fmla"]),F=.25;ye!==void 0&&(F=parseInt(ye.substr(4))/1e5);var te=1-F;p+=" <polygon points='"+F*c+" 0,0 "+F*h+",0 "+te*h+","+F*c+" "+h+","+te*c+" "+h+","+c+" "+te*h+","+c+" "+F*h+","+te*c+" 0' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"decagon":p+=" <polygon points='"+3/8*c+" 0,"+c/8+" "+h/8+",0 "+h/2+","+c/8+" "+7/8*h+","+3/8*c+" "+h+","+5/8*c+" "+h+","+7/8*c+" "+7/8*h+","+c+" "+h/2+","+7/8*c+" "+h/8+","+5/8*c+" 0' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"dodecagon":p+=" <polygon points='"+3/8*c+" 0,"+c/8+" "+h/8+",0 "+3/8*h+",0 "+5/8*h+","+c/8+" "+7/8*h+","+3/8*c+" "+h+","+5/8*c+" "+h+","+7/8*c+" "+7/8*h+","+c+" "+5/8*h+","+c+" "+3/8*h+","+7/8*c+" "+h/8+","+5/8*c+" 0' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"star4":var Ne,Qe,Xe,Ao,Xo,Ot,Ct,Dt,Nt,pa,O=c/2,W=h/2,Ae=c/2,Oe=h/2,we=19098*w,ie=5e4*w,ye=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"]);if(ye!==void 0){var n=ye.attrs.name;n=="adj"&&(we=parseInt(ye.attrs.fmla.substr(4))*w)}Ne=we<0?0:we>ie?ie:we,Qe=Ae*Ne/ie,Xe=Oe*Ne/ie,Ao=Qe*Math.cos(.7853981634),Xo=Xe*Math.sin(.7853981634),Ot=O-Ao,Ct=O+Ao,Dt=W-Xo,Nt=W+Xo,pa=W-Xe;var Ce="M0,"+W+" L"+Ot+","+Dt+" L"+O+",0 L"+Ct+","+Dt+" L"+c+","+W+" L"+Ct+","+Nt+" L"+O+","+h+" L"+Ot+","+Nt+" z";p+="<path d='"+Ce+"' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"star5":var Ne,da,cn,za,Ge,he,Re,Ze,D,q,se,_e,G,K,Qe,Xe,or,Kt,jt,dr,Ot,Ct,er,rr,Dt,Nt,lr,pa,O=c/2,W=h/2,Ae=c/2,Oe=h/2,we=19098*w,Un=105146*w,Ji=110557*w,ft=5e4*w,ie=1e5*w,ye=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"]);ye!==void 0&&Object.keys(ye).forEach(function(Zr){var Vt=ye[Zr].attrs.name;Vt=="adj"?we=parseInt(ye[Zr].attrs.fmla.substr(4))*w:Vt=="hf"?Un=parseInt(ye[Zr].attrs.fmla.substr(4))*w:Vt=="vf"&&(Ji=parseInt(ye[Zr].attrs.fmla.substr(4))*w)}),Ne=we<0?0:we>ft?ft:we,da=Ae*Un/ie,cn=Oe*Ji/ie,za=W*Ji/ie,Ge=da*Math.cos(.31415926536),he=da*Math.cos(5.3407075111),Re=cn*Math.sin(.31415926536),Ze=cn*Math.sin(5.3407075111),D=O-Ge,q=O-he,se=O+he,_e=O+Ge,G=za-Re,K=za-Ze,Qe=da*Ne/ft,Xe=cn*Ne/ft,or=Qe*Math.cos(5.9690260418),Kt=Qe*Math.cos(.94247779608),jt=Xe*Math.sin(.94247779608),dr=Xe*Math.sin(5.9690260418),Ot=O-or,Ct=O-Kt,er=O+Kt,rr=O+or,Dt=za-jt,Nt=za-dr,lr=za+Xe,pa=za-Xe;var Ce="M"+D+","+G+" L"+Ct+","+Dt+" L"+O+",0 L"+er+","+Dt+" L"+_e+","+G+" L"+rr+","+Nt+" L"+se+","+K+" L"+O+","+lr+" L"+q+","+K+" L"+Ot+","+Nt+" z";p+="<path d='"+Ce+"' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"star6":var Ne,da,Ge,D,q,K,Qe,Xe,Kt,Ot,Ct,er,rr,jt,Dt,Nt,pa,O=c/2,W=h/2,Ae=c/2,Oe=h/2,Vi=h/4,we=28868*w,Un=115470*w,ft=5e4*w,ie=1e5*w,ye=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"]);ye!==void 0&&Object.keys(ye).forEach(function(Zr){var Vt=ye[Zr].attrs.name;Vt=="adj"?we=parseInt(ye[Zr].attrs.fmla.substr(4))*w:Vt=="hf"&&(Un=parseInt(ye[Zr].attrs.fmla.substr(4))*w)}),Ne=we<0?0:we>ft?ft:we,da=Ae*Un/ie,Ge=da*Math.cos(.5235987756),D=O-Ge,q=O+Ge,K=W+Vi,Qe=da*Ne/ft,Xe=Oe*Ne/ft,Kt=Qe/2,Ot=O-Qe,Ct=O-Kt,er=O+Kt,rr=O+Qe,jt=Xe*Math.sin(1.0471975512),Dt=W-jt,Nt=W+jt,pa=W-Xe;var Ce="M"+D+","+Vi+" L"+Ct+","+Dt+" L"+O+",0 L"+er+","+Dt+" L"+q+","+Vi+" L"+rr+","+W+" L"+q+","+K+" L"+er+","+Nt+" L"+O+","+h+" L"+Ct+","+Nt+" L"+D+","+K+" L"+Ot+","+W+" z";p+="<path d='"+Ce+"' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"star7":var Ne,da,cn,za,Ge,he,Lt,Re,Ze,At,D,q,se,_e,He,qe,G,K,ne,Qe,Xe,or,Kt,ha,Ot,Ct,er,rr,Yr,Fr,jt,dr,Ta,Dt,Nt,lr,Pr,pa,O=c/2,W=h/2,Ae=c/2,Oe=h/2,we=34601*w,Un=102572*w,Ji=105210*w,ft=5e4*w,ie=1e5*w,ye=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"]);ye!==void 0&&Object.keys(ye).forEach(function(Zr){var Vt=ye[Zr].attrs.name;Vt=="adj"?we=parseInt(ye[Zr].attrs.fmla.substr(4))*w:Vt=="hf"?Un=parseInt(ye[Zr].attrs.fmla.substr(4))*w:Vt=="vf"&&(Ji=parseInt(ye[Zr].attrs.fmla.substr(4))*w)}),Ne=we<0?0:we>ft?ft:we,da=Ae*Un/ie,cn=Oe*Ji/ie,za=W*Ji/ie,Ge=da*97493/1e5,he=da*78183/1e5,Lt=da*43388/1e5,Re=cn*62349/1e5,Ze=cn*22252/1e5,At=cn*90097/1e5,D=O-Ge,q=O-he,se=O-Lt,_e=O+Lt,He=O+he,qe=O+Ge,G=za-Re,K=za+Ze,ne=za+At,Qe=da*Ne/ft,Xe=cn*Ne/ft,or=Qe*97493/1e5,Kt=Qe*78183/1e5,ha=Qe*43388/1e5,Ot=O-or,Ct=O-Kt,er=O-ha,rr=O+ha,Yr=O+Kt,Fr=O+or,jt=Xe*90097/1e5,dr=Xe*22252/1e5,Ta=Xe*62349/1e5,Dt=za-jt,Nt=za-dr,lr=za+Ta,Pr=za+Xe,pa=za-Xe;var Ce="M"+D+","+K+" L"+Ot+","+Nt+" L"+q+","+G+" L"+er+","+Dt+" L"+O+",0 L"+rr+","+Dt+" L"+He+","+G+" L"+Fr+","+Nt+" L"+qe+","+K+" L"+Yr+","+lr+" L"+_e+","+ne+" L"+O+","+Pr+" L"+se+","+ne+" L"+Ct+","+lr+" z";p+="<path d='"+Ce+"' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"star8":var Ne,Ge,D,q,Re,G,K,Qe,Xe,or,Kt,jt,dr,Ot,Ct,er,rr,Dt,Nt,lr,Pr,pa,O=c/2,W=h/2,Ae=c/2,Oe=h/2,we=37500*w,ft=5e4*w,ie=1e5*w,ye=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"]);if(ye!==void 0){var n=ye.attrs.name;n=="adj"&&(we=parseInt(ye.attrs.fmla.substr(4))*w)}Ne=we<0?0:we>ft?ft:we,Ge=Ae*Math.cos(.7853981634),D=O-Ge,q=O+Ge,Re=Oe*Math.sin(.7853981634),G=W-Re,K=W+Re,Qe=Ae*Ne/ft,Xe=Oe*Ne/ft,or=Qe*92388/1e5,Kt=Qe*38268/1e5,jt=Xe*92388/1e5,dr=Xe*38268/1e5,Ot=O-or,Ct=O-Kt,er=O+Kt,rr=O+or,Dt=W-jt,Nt=W-dr,lr=W+dr,Pr=W+jt,pa=W-Xe;var Ce="M0,"+W+" L"+Ot+","+Nt+" L"+D+","+G+" L"+Ct+","+Dt+" L"+O+",0 L"+er+","+Dt+" L"+q+","+G+" L"+rr+","+Nt+" L"+c+","+W+" L"+rr+","+lr+" L"+q+","+K+" L"+er+","+Pr+" L"+O+","+h+" L"+Ct+","+Pr+" L"+D+","+K+" L"+Ot+","+lr+" z";p+="<path d='"+Ce+"' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"star10":var Ne,da,Ge,he,D,q,se,_e,Re,Ze,G,K,ne,de,Qe,Xe,or,Kt,jt,dr,Ot,Ct,er,rr,Yr,Fr,Dt,Nt,lr,Pr,pa,O=c/2,W=h/2,Ae=c/2,Oe=h/2,we=42533*w,Un=105146*w,ft=5e4*w,ie=1e5*w,ye=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"]);ye!==void 0&&Object.keys(ye).forEach(function(Zr){var Vt=ye[Zr].attrs.name;Vt=="adj"?we=parseInt(ye[Zr].attrs.fmla.substr(4))*w:Vt=="hf"&&(Un=parseInt(ye[Zr].attrs.fmla.substr(4))*w)}),Ne=we<0?0:we>ft?ft:we,da=Ae*Un/ie,Ge=da*95106/1e5,he=da*58779/1e5,D=O-Ge,q=O-he,se=O+he,_e=O+Ge,Re=Oe*80902/1e5,Ze=Oe*30902/1e5,G=W-Re,K=W-Ze,ne=W+Ze,de=W+Re,Qe=da*Ne/ft,Xe=Oe*Ne/ft,or=Qe*80902/1e5,Kt=Qe*30902/1e5,jt=Xe*95106/1e5,dr=Xe*58779/1e5,Ot=O-Qe,Ct=O-or,er=O-Kt,rr=O+Kt,Yr=O+or,Fr=O+Qe,Dt=W-jt,Nt=W-dr,lr=W+dr,Pr=W+jt,pa=W-Xe;var Ce="M"+D+","+K+" L"+Ct+","+Nt+" L"+q+","+G+" L"+er+","+Dt+" L"+O+",0 L"+rr+","+Dt+" L"+se+","+G+" L"+Yr+","+Nt+" L"+_e+","+K+" L"+Fr+","+W+" L"+_e+","+ne+" L"+Yr+","+lr+" L"+se+","+de+" L"+rr+","+Pr+" L"+O+","+h+" L"+er+","+Pr+" L"+q+","+de+" L"+Ct+","+lr+" L"+D+","+ne+" L"+Ot+","+W+" z";p+="<path d='"+Ce+"' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"star12":var Ne,Ge,Re,D,se,_e,G,ne,de,Qe,Xe,or,Kt,ha,jt,dr,Ta,Ot,Ct,er,rr,Yr,Fr,Dt,Nt,lr,Pr,Ya,Aa,pa,O=c/2,W=h/2,Ae=c/2,Oe=h/2,Vi=h/4,Rf=c/4,we=37500*w,ft=5e4*w,ye=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"]);if(ye!==void 0){var n=ye.attrs.name;n=="adj"&&(we=parseInt(ye.attrs.fmla.substr(4))*w)}Ne=we<0?0:we>ft?ft:we,Ge=Ae*Math.cos(.5235987756),Re=Oe*Math.sin(1.0471975512),D=O-Ge,se=c*3/4,_e=O+Ge,G=W-Re,ne=h*3/4,de=W+Re,Qe=Ae*Ne/ft,Xe=Oe*Ne/ft,or=Qe*Math.cos(.2617993878),Kt=Qe*Math.cos(.7853981634),ha=Qe*Math.cos(1.308996939),jt=Xe*Math.sin(1.308996939),dr=Xe*Math.sin(.7853981634),Ta=Xe*Math.sin(.2617993878),Ot=O-or,Ct=O-Kt,er=O-ha,rr=O+ha,Yr=O+Kt,Fr=O+or,Dt=W-jt,Nt=W-dr,lr=W-Ta,Pr=W+Ta,Ya=W+dr,Aa=W+jt,pa=W-Xe;var Ce="M0,"+W+" L"+Ot+","+lr+" L"+D+","+Vi+" L"+Ct+","+Nt+" L"+Rf+","+G+" L"+er+","+Dt+" L"+O+",0 L"+rr+","+Dt+" L"+se+","+G+" L"+Yr+","+Nt+" L"+_e+","+Vi+" L"+Fr+","+lr+" L"+c+","+W+" L"+Fr+","+Pr+" L"+_e+","+ne+" L"+Yr+","+Ya+" L"+se+","+de+" L"+rr+","+Aa+" L"+O+","+h+" L"+er+","+Aa+" L"+Rf+","+de+" L"+Ct+","+Ya+" L"+D+","+ne+" L"+Ot+","+Pr+" z";p+="<path d='"+Ce+"' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"star16":var Ne,Ge,he,Lt,Re,Ze,At,D,q,se,_e,He,qe,G,K,ne,de,Ye,st,Qe,Xe,or,Kt,ha,Hn,jt,dr,Ta,Zn,Ot,Ct,er,rr,Yr,Fr,Wn,$n,Dt,Nt,lr,Pr,Ya,Aa,Yn,An,yr,Lr,Qi,Fi,qi,In,pa,O=c/2,W=h/2,Ae=c/2,Oe=h/2,we=37500*w,ft=5e4*w,ye=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"]);if(ye!==void 0){var n=ye.attrs.name;n=="adj"&&(we=parseInt(ye.attrs.fmla.substr(4))*w)}Ne=we<0?0:we>ft?ft:we,Ge=Ae*92388/1e5,he=Ae*70711/1e5,Lt=Ae*38268/1e5,Re=Oe*92388/1e5,Ze=Oe*70711/1e5,At=Oe*38268/1e5,D=O-Ge,q=O-he,se=O-Lt,_e=O+Lt,He=O+he,qe=O+Ge,G=W-Re,K=W-Ze,ne=W-At,de=W+At,Ye=W+Ze,st=W+Re,Qe=Ae*Ne/ft,Xe=Oe*Ne/ft,or=Qe*98079/1e5,Kt=Qe*83147/1e5,ha=Qe*55557/1e5,Hn=Qe*19509/1e5,jt=Xe*98079/1e5,dr=Xe*83147/1e5,Ta=Xe*55557/1e5,Zn=Xe*19509/1e5,Ot=O-or,Ct=O-Kt,er=O-ha,rr=O-Hn,Yr=O+Hn,Fr=O+ha,Wn=O+Kt,$n=O+or,Dt=W-jt,Nt=W-dr,lr=W-Ta,Pr=W-Zn,Ya=W+Zn,Aa=W+Ta,Yn=W+dr,An=W+jt,yr=Qe*Math.cos(.7853981634),Lr=Xe*Math.sin(.7853981634),Qi=O-yr,Fi=W-Lr,qi=O+yr,In=W+Lr,pa=W-Xe;var Ce="M0,"+W+" L"+Ot+","+Pr+" L"+D+","+ne+" L"+Ct+","+lr+" L"+q+","+K+" L"+er+","+Nt+" L"+se+","+G+" L"+rr+","+Dt+" L"+O+",0 L"+Yr+","+Dt+" L"+_e+","+G+" L"+Fr+","+Nt+" L"+He+","+K+" L"+Wn+","+lr+" L"+qe+","+ne+" L"+$n+","+Pr+" L"+c+","+W+" L"+$n+","+Ya+" L"+qe+","+de+" L"+Wn+","+Aa+" L"+He+","+Ye+" L"+Fr+","+Yn+" L"+_e+","+st+" L"+Yr+","+An+" L"+O+","+h+" L"+rr+","+An+" L"+se+","+st+" L"+er+","+Yn+" L"+q+","+Ye+" L"+Ct+","+Aa+" L"+D+","+de+" L"+Ot+","+Ya+" z";p+="<path d='"+Ce+"' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"star24":var Ne,Ge,he,Lt,Ka,on,Re,Ze,At,_n,zi,D,q,se,_e,He,qe,mt,Mt,qt,Tr,G,K,ne,de,Ye,st,Rt,vr,Ha,hn,Qe,Xe,or,Kt,ha,Hn,ts,rs,jt,dr,Ta,Zn,as,ns,Ot,Ct,er,rr,Yr,Fr,Wn,$n,is,ss,os,fs,Dt,Nt,lr,Pr,Ya,Aa,Yn,An,ls,us,cs,ds,yr,Lr,Qi,Fi,qi,In,pa,O=c/2,W=h/2,Ae=c/2,Oe=h/2,Vi=h/4,Rf=c/4,we=37500*w,ft=5e4*w,ye=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"]);if(ye!==void 0){var n=ye.attrs.name;n=="adj"&&(we=parseInt(ye.attrs.fmla.substr(4))*w)}Ne=we<0?0:we>ft?ft:we,Ge=Ae*Math.cos(.2617993878),he=Ae*Math.cos(.5235987756),Lt=Ae*Math.cos(.7853981634),Ka=Rf,on=Ae*Math.cos(1.308996939),Re=Oe*Math.sin(1.308996939),Ze=Oe*Math.sin(1.0471975512),At=Oe*Math.sin(.7853981634),_n=Vi,zi=Oe*Math.sin(.2617993878),D=O-Ge,q=O-he,se=O-Lt,_e=O-Ka,He=O-on,qe=O+on,mt=O+Ka,Mt=O+Lt,qt=O+he,Tr=O+Ge,G=W-Re,K=W-Ze,ne=W-At,de=W-_n,Ye=W-zi,st=W+zi,Rt=W+_n,vr=W+At,Ha=W+Ze,hn=W+Re,Qe=Ae*Ne/ft,Xe=Oe*Ne/ft,or=Qe*99144/1e5,Kt=Qe*92388/1e5,ha=Qe*79335/1e5,Hn=Qe*60876/1e5,ts=Qe*38268/1e5,rs=Qe*13053/1e5,jt=Xe*99144/1e5,dr=Xe*92388/1e5,Ta=Xe*79335/1e5,Zn=Xe*60876/1e5,as=Xe*38268/1e5,ns=Xe*13053/1e5,Ot=O-or,Ct=O-Kt,er=O-ha,rr=O-Hn,Yr=O-ts,Fr=O-rs,Wn=O+rs,$n=O+ts,is=O+Hn,ss=O+ha,os=O+Kt,fs=O+or,Dt=W-jt,Nt=W-dr,lr=W-Ta,Pr=W-Zn,Ya=W-as,Aa=W-ns,Yn=W+ns,An=W+as,ls=W+Zn,us=W+Ta,cs=W+dr,ds=W+jt,yr=Qe*Math.cos(.7853981634),Lr=Xe*Math.sin(.7853981634),Qi=O-yr,Fi=W-Lr,qi=O+yr,In=W+Lr,pa=W-Xe;var Ce="M0,"+W+" L"+Ot+","+Aa+" L"+D+","+Ye+" L"+Ct+","+Ya+" L"+q+","+de+" L"+er+","+Pr+" L"+se+","+ne+" L"+rr+","+lr+" L"+_e+","+K+" L"+Yr+","+Nt+" L"+He+","+G+" L"+Fr+","+Dt+" L"+O+",0 L"+Wn+","+Dt+" L"+qe+","+G+" L"+$n+","+Nt+" L"+mt+","+K+" L"+is+","+lr+" L"+Mt+","+ne+" L"+ss+","+Pr+" L"+qt+","+de+" L"+os+","+Ya+" L"+Tr+","+Ye+" L"+fs+","+Aa+" L"+c+","+W+" L"+fs+","+Yn+" L"+Tr+","+st+" L"+os+","+An+" L"+qt+","+Rt+" L"+ss+","+ls+" L"+Mt+","+vr+" L"+is+","+us+" L"+mt+","+Ha+" L"+$n+","+cs+" L"+qe+","+hn+" L"+Wn+","+ds+" L"+O+","+h+" L"+Fr+","+ds+" L"+He+","+hn+" L"+Yr+","+cs+" L"+_e+","+Ha+" L"+rr+","+us+" L"+se+","+vr+" L"+er+","+ls+" L"+q+","+Rt+" L"+Ct+","+An+" L"+D+","+st+" L"+Ot+","+Yn+" z";p+="<path d='"+Ce+"' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"star32":var Ne,Ge,he,Lt,Ka,on,Hc,es,Re,Ze,At,_n,zi,W1,$1,D,q,se,_e,He,qe,mt,Mt,qt,Tr,Ri,yi,wi,e0,G,K,ne,de,Ye,st,Rt,vr,Ha,hn,ms,Wo,$o,Yo,Qe,Xe,or,Kt,ha,Hn,ts,rs,Y1,A1,jt,dr,Ta,Zn,as,ns,X1,K1,Ot,Ct,er,rr,Yr,Fr,Wn,$n,is,ss,os,fs,J1,Q1,F1,q1,Dt,Nt,lr,Pr,Ya,Aa,Yn,An,ls,us,cs,ds,V1,j1,ed,td,yr,Lr,Qi,Fi,qi,In,pa,O=c/2,W=h/2,Ae=c/2,Oe=h/2,Vi=h/4,Rf=c/4,we=37500*w,ft=5e4*w,ye=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"]);if(ye!==void 0){var n=ye.attrs.name;n=="adj"&&(we=parseInt(ye.attrs.fmla.substr(4))*w)}Ne=we<0?0:we>ft?ft:we,Ge=Ae*98079/1e5,he=Ae*92388/1e5,Lt=Ae*83147/1e5,Ka=Ae*Math.cos(.7853981634),on=Ae*55557/1e5,Hc=Ae*38268/1e5,es=Ae*19509/1e5,Re=Oe*98079/1e5,Ze=Oe*92388/1e5,At=Oe*83147/1e5,_n=Oe*Math.sin(.7853981634),zi=Oe*55557/1e5,W1=Oe*38268/1e5,$1=Oe*19509/1e5,D=O-Ge,q=O-he,se=O-Lt,_e=O-Ka,He=O-on,qe=O-Hc,mt=O-es,Mt=O+es,qt=O+Hc,Tr=O+on,Ri=O+Ka,yi=O+Lt,wi=O+he,e0=O+Ge,G=W-Re,K=W-Ze,ne=W-At,de=W-_n,Ye=W-zi,st=W-W1,Rt=W-$1,vr=W+$1,Ha=W+W1,hn=W+zi,ms=W+_n,Wo=W+At,$o=W+Ze,Yo=W+Re,Qe=Ae*Ne/ft,Xe=Oe*Ne/ft,or=Qe*99518/1e5,Kt=Qe*95694/1e5,ha=Qe*88192/1e5,Hn=Qe*77301/1e5,ts=Qe*63439/1e5,rs=Qe*47140/1e5,Y1=Qe*29028/1e5,A1=Qe*9802/1e5,jt=Xe*99518/1e5,dr=Xe*95694/1e5,Ta=Xe*88192/1e5,Zn=Xe*77301/1e5,as=Xe*63439/1e5,ns=Xe*47140/1e5,X1=Xe*29028/1e5,K1=Xe*9802/1e5,Ot=O-or,Ct=O-Kt,er=O-ha,rr=O-Hn,Yr=O-ts,Fr=O-rs,Wn=O-Y1,$n=O-A1,is=O+A1,ss=O+Y1,os=O+rs,fs=O+ts,J1=O+Hn,Q1=O+ha,F1=O+Kt,q1=O+or,Dt=W-jt,Nt=W-dr,lr=W-Ta,Pr=W-Zn,Ya=W-as,Aa=W-ns,Yn=W-X1,An=W-K1,ls=W+K1,us=W+X1,cs=W+ns,ds=W+as,V1=W+Zn,j1=W+Ta,ed=W+dr,td=W+jt,yr=Qe*Math.cos(.7853981634),Lr=Xe*Math.sin(.7853981634),Qi=O-yr,Fi=W-Lr,qi=O+yr,In=W+Lr,pa=W-Xe;var Ce="M0,"+W+" L"+Ot+","+An+" L"+D+","+Rt+" L"+Ct+","+Yn+" L"+q+","+st+" L"+er+","+Aa+" L"+se+","+Ye+" L"+rr+","+Ya+" L"+_e+","+de+" L"+Yr+","+Pr+" L"+He+","+ne+" L"+Fr+","+lr+" L"+qe+","+K+" L"+Wn+","+Nt+" L"+mt+","+G+" L"+$n+","+Dt+" L"+O+",0 L"+is+","+Dt+" L"+Mt+","+G+" L"+ss+","+Nt+" L"+qt+","+K+" L"+os+","+lr+" L"+Tr+","+ne+" L"+fs+","+Pr+" L"+Ri+","+de+" L"+J1+","+Ya+" L"+yi+","+Ye+" L"+Q1+","+Aa+" L"+wi+","+st+" L"+F1+","+Yn+" L"+e0+","+Rt+" L"+q1+","+An+" L"+c+","+W+" L"+q1+","+ls+" L"+e0+","+vr+" L"+F1+","+us+" L"+wi+","+Ha+" L"+Q1+","+cs+" L"+yi+","+hn+" L"+J1+","+ds+" L"+Ri+","+ms+" L"+fs+","+V1+" L"+Tr+","+Wo+" L"+os+","+j1+" L"+qt+","+$o+" L"+ss+","+ed+" L"+Mt+","+Yo+" L"+is+","+td+" L"+O+","+h+" L"+$n+","+td+" L"+mt+","+Yo+" L"+Wn+","+ed+" L"+qe+","+$o+" L"+Fr+","+j1+" L"+He+","+Wo+" L"+Yr+","+V1+" L"+_e+","+ms+" L"+rr+","+ds+" L"+se+","+hn+" L"+er+","+cs+" L"+q+","+Ha+" L"+Ct+","+us+" L"+D+","+vr+" L"+Ot+","+ls+" z";p+="<path d='"+Ce+"' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"pie":case"pieWedge":case"arc":var ye=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"]),F,te,ac,Oo,nc,Bf;y=="pie"?(F=0,te=270,ac=h,Bf=!0):y=="pieWedge"?(F=180,te=270,ac=2*h,Bf=!0):y=="arc"&&(F=270,te=0,ac=h,Bf=!1),ye!==void 0&&(Oo=L(ye,["attrs","fmla"]),nc=Oo,Oo===void 0&&(Oo=ye[0].attrs.fmla,nc=ye[1].attrs.fmla),Oo!==void 0&&(F=parseInt(Oo.substr(4))/6e4),nc!==void 0&&(te=parseInt(nc.substr(4))/6e4));var rv=jg(ac,c,F,te,Bf);p+="<path d='"+rv[0]+"' transform='"+rv[1]+"' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"chord":var x=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"]),Se,je=45,Te,et=270;if(x!==void 0)for(var U=0;U<x.length;U++){var le=L(x[U],["attrs","name"]);le=="adj1"?(Se=L(x[U],["attrs","fmla"]),je=parseInt(Se.substr(4))/6e4):le=="adj2"&&(Te=L(x[U],["attrs","fmla"]),et=parseInt(Te.substr(4))/6e4)}var Ve=h/2,Ht=c/2,ze=ve(Ht,Ve,Ht,Ve,je,et,!0);p+="<path d='"+ze+"' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"frame":var ye=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd","attrs","fmla"]),F=12500*w,ie=5e4*w,ce=1e5*w;ye!==void 0&&(F=parseInt(ye.substr(4))*w);var ue,D,_e,de;F<0?ue=0:F>ie?ue=ie:ue=F,D=Math.min(c,h)*ue/ce,_e=c-D,de=h-D;var Ce="M0,0 L"+c+",0 L"+c+","+h+" L0,"+h+" zM"+D+","+D+" L"+D+","+de+" L"+_e+","+de+" L"+_e+","+D+" z";p+="<path d='"+Ce+"' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"donut":var ye=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd","attrs","fmla"]),we=25e3*w,ie=5e4*w,ce=1e5*w;ye!==void 0&&(we=parseInt(ye.substr(4))*w);var Ne,dn,Qe,Xe;we<0?Ne=0:we>ie?Ne=ie:Ne=we,dn=Math.min(c,h)*Ne/ce,Qe=c/2-dn,Xe=h/2-dn;var Ce="M0,"+h/2+ve(c/2,h/2,c/2,h/2,180,270,!1).replace("M","L")+ve(c/2,h/2,c/2,h/2,270,360,!1).replace("M","L")+ve(c/2,h/2,c/2,h/2,0,90,!1).replace("M","L")+ve(c/2,h/2,c/2,h/2,90,180,!1).replace("M","L")+" zM"+dn+","+h/2+ve(c/2,h/2,Qe,Xe,180,90,!1).replace("M","L")+ve(c/2,h/2,Qe,Xe,90,0,!1).replace("M","L")+ve(c/2,h/2,Qe,Xe,0,-90,!1).replace("M","L")+ve(c/2,h/2,Qe,Xe,270,180,!1).replace("M","L")+" z";p+="<path d='"+Ce+"' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"noSmoking":var ye=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd","attrs","fmla"]),we=18750*w,ie=5e4*w,ce=1e5*w;ye!==void 0&&(we=parseInt(ye.substr(4))*w);var Ne,dn,Qe,Xe,ic,Vk,rd,ad,av,nv,iv,nd,fa,Xt,Ko,O0,s0;we<0?Ne=0:we>ie?Ne=ie:Ne=we,dn=Math.min(c,h)*Ne/ce,Qe=c/2-dn,Xe=h/2-dn,ic=Math.atan(h/c),rd=Xe*Math.cos(ic),ad=Qe*Math.sin(ic),av=Math.sqrt(rd*rd+ad*ad),nv=Qe*Xe/av,iv=dn/2,nd=Math.atan(iv/nv),fa=nd*2,Xt=-Math.PI+fa,O0=ic-nd,s0=O0-Math.PI;var id,sd,sv,od,Ge,Re,D,G,G,K;id=Xe*Math.cos(O0),sd=Qe*Math.sin(O0),sv=Math.sqrt(id*id+sd*sd),od=Qe*Xe/sv,Ge=od*Math.cos(O0),Re=od*Math.sin(O0),D=c/2+Ge,G=h/2+Re,q=c/2-Ge,K=h/2-Re;var ov=O0*180/Math.PI,fv=s0*180/Math.PI,lv=Xt*180/Math.PI,Ce="M0,"+h/2+ve(c/2,h/2,c/2,h/2,180,270,!1).replace("M","L")+ve(c/2,h/2,c/2,h/2,270,360,!1).replace("M","L")+ve(c/2,h/2,c/2,h/2,0,90,!1).replace("M","L")+ve(c/2,h/2,c/2,h/2,90,180,!1).replace("M","L")+" zM"+D+","+G+ve(c/2,h/2,Qe,Xe,ov,ov+lv,!1).replace("M","L")+" zM"+q+","+K+ve(c/2,h/2,Qe,Xe,fv,fv+lv,!1).replace("M","L")+" z";p+="<path d='"+Ce+"' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"halfFrame":var x=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"]),Se,je=3.5,Te,et=3.5,nn=1e5*w;if(x!==void 0)for(var U=0;U<x.length;U++){var le=L(x[U],["attrs","name"]);le=="adj1"?(Se=L(x[U],["attrs","fmla"]),je=parseInt(Se.substr(4))*w):le=="adj2"&&(Te=L(x[U],["attrs","fmla"]),et=parseInt(Te.substr(4))*w)}var it=Math.min(c,h),vt=nn*c/it,ue,Me;et<0?Me=0:et>vt?Me=vt:Me=et;var D=it*Me/nn,fc=h*D/c,N0=h-fc,nt=nn*N0/it;je<0?ue=0:je>nt?ue=nt:ue=je;var G=it*ue/nn,he=G*c/h,q=c-he,Ze=D*h/c,K=h-Ze,Ce="M0,0 L"+c+",0 L"+q+","+G+" L"+D+","+G+" L"+D+","+K+" L0,"+h+" z";p+="<path d='"+Ce+"' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"blockArc":var x=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"]),Se,F=180,Te,te=0,at,Pe=25e3*w,ie=5e4*w,ce=1e5*w;if(x!==void 0)for(var U=0;U<x.length;U++){var le=L(x[U],["attrs","name"]);le=="adj1"?(Se=L(x[U],["attrs","fmla"]),F=parseInt(Se.substr(4))/6e4):le=="adj2"?(Te=L(x[U],["attrs","fmla"]),te=parseInt(Te.substr(4))/6e4):le=="adj3"&&(at=L(x[U],["attrs","fmla"]),Pe=parseInt(at.substr(4))*w)}var Wt,fn,Ke,sc,uv,Xt,$0,Df=360;F<0?Wt=0:F>Df?Wt=Df:Wt=F,te<0?fn=0:te>Df?fn=Df:fn=te,Pe<0?Ke=0:Pe>ie?Ke=ie:Ke=Pe,sc=fn-Wt,uv=sc+Df,Xt=sc>0?sc:uv,$0=-Xt;var Li=Wt+Xt,J5=fn+$0,Go,Uo,Ge,Re,D,G,Nf,zf,Ae,Oe,O,W;Nf=Wt*Math.PI/180,zf=fn*Math.PI/180,Ae=c/2,Oe=h/2,O=c/2,W=h/2,Wt>90&&Wt<270?(Go=Ae*Math.sin(Math.PI/2-Nf),Uo=Oe*Math.cos(Math.PI/2-Nf),Ge=Ae*Math.cos(Math.atan(Uo/Go)),Re=Oe*Math.sin(Math.atan(Uo/Go)),D=O-Ge,G=W-Re):(Go=Ae*Math.sin(Nf),Uo=Oe*Math.cos(Nf),Ge=Ae*Math.cos(Math.atan(Go/Uo)),Re=Oe*Math.sin(Math.atan(Go/Uo)),D=O+Ge,G=W+Re);var dn,Qe,Xe,Ho,Zo,he,Ze,q,K;dn=Math.min(c,h)*Ke/ce,Qe=Ae-dn,Xe=Oe-dn,Li<=450&&Li>270||Li>=630&&Li<720?(Ho=Qe*Math.sin(zf),Zo=Xe*Math.cos(zf),he=Qe*Math.cos(Math.atan(Ho/Zo)),Ze=Xe*Math.sin(Math.atan(Ho/Zo)),q=O+he,K=W+Ze):(Ho=Qe*Math.sin(Math.PI/2-zf),Zo=Xe*Math.cos(Math.PI/2-zf),he=Qe*Math.cos(Math.atan(Zo/Ho)),Ze=Xe*Math.sin(Math.atan(Zo/Ho)),q=O-he,K=W-Ze);var Ce="M"+D+","+G+ve(Ae,Oe,Ae,Oe,Wt,Li,!1).replace("M","L")+" L"+q+","+K+ve(Ae,Oe,Qe,Xe,fn,J5,!1).replace("M","L")+" z";p+="<path d='"+Ce+"' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"bracePair":var ye=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd","attrs","fmla"]),we=8333*w,ie=25e3*w,ce=5e4*w,_t=1e5*w;ye!==void 0&&(we=parseInt(ye.substr(4))*w);var W=h/2,xf=360,bt=180,It=90,wt=270,Ne,D,q,se,_e,K,ne,de;we<0?Ne=0:we>ie?Ne=ie:Ne=we;var it=Math.min(c,h);D=it*Ne/_t,q=it*Ne/ce,se=c-q,_e=c-D,K=W-D,ne=W+D,de=h-D;var Ce="M"+q+","+h+ve(q,de,D,D,It,bt,!1).replace("M","L")+" L"+D+","+ne+ve(0,ne,D,D,0,-It,!1).replace("M","L")+ve(0,K,D,D,It,0,!1).replace("M","L")+" L"+D+","+D+ve(q,D,D,D,bt,wt,!1).replace("M","L")+" M"+se+",0"+ve(se,D,D,D,wt,xf,!1).replace("M","L")+" L"+_e+","+K+ve(c,K,D,D,bt,It,!1).replace("M","L")+ve(c,ne,D,D,wt,bt,!1).replace("M","L")+" L"+_e+","+de+ve(se,de,D,D,0,It,!1).replace("M","L");p+="<path d='"+Ce+"' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"leftBrace":var x=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"]),Se,F=8333*w,Te,te=5e4*w,ce=1e5*w;if(x!==void 0)for(var U=0;U<x.length;U++){var le=L(x[U],["attrs","name"]);le=="adj1"?(Se=L(x[U],["attrs","fmla"]),F=parseInt(Se.substr(4))*w):le=="adj2"&&(Te=L(x[U],["attrs","fmla"]),te=parseInt(Te.substr(4))*w)}var W=h/2,bt=180,It=90,wt=270,ue,Me,zt,yt,cr,G,K,ne,de;te<0?Me=0:te>ce?Me=ce:Me=te;var it=Math.min(c,h);zt=ce-Me,zt<Me?yt=zt:yt=Me,cr=yt/2;var nt=cr*h/it;F<0?ue=0:F>nt?ue=nt:ue=F,G=it*ue/ce,ne=h*Me/ce,K=ne-G,de=ne+G;var Ce="M"+c+","+h+ve(c,h-G,c/2,G,It,bt,!1).replace("M","L")+" L"+c/2+","+de+ve(0,de,c/2,G,0,-It,!1).replace("M","L")+ve(0,K,c/2,G,It,0,!1).replace("M","L")+" L"+c/2+","+G+ve(c,G,c/2,G,bt,wt,!1).replace("M","L");p+="<path d='"+Ce+"' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"rightBrace":var x=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"]),Se,F=8333*w,Te,te=5e4*w,ce=1e5*w;if(x!==void 0)for(var U=0;U<x.length;U++){var le=L(x[U],["attrs","name"]);le=="adj1"?(Se=L(x[U],["attrs","fmla"]),F=parseInt(Se.substr(4))*w):le=="adj2"&&(Te=L(x[U],["attrs","fmla"]),te=parseInt(Te.substr(4))*w)}var W=h/2,xf=360,bt=180,It=90,wt=270,ue,Me,zt,yt,cr,G,K,ne,de;te<0?Me=0:te>ce?Me=ce:Me=te;var it=Math.min(c,h);zt=ce-Me,zt<Me?yt=zt:yt=Me,cr=yt/2;var nt=cr*h/it;F<0?ue=0:F>nt?ue=nt:ue=F,G=it*ue/ce,ne=h*Me/ce,K=ne-G,de=h-G;var Ce="M0,0"+ve(0,G,c/2,G,wt,xf,!1).replace("M","L")+" L"+c/2+","+K+ve(c,K,c/2,G,bt,It,!1).replace("M","L")+ve(c,ne+G,c/2,G,wt,bt,!1).replace("M","L")+" L"+c/2+","+de+ve(0,de,c/2,G,0,It,!1).replace("M","L");p+="<path d='"+Ce+"' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"bracketPair":var ye=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd","attrs","fmla"]),we=16667*w,ie=5e4*w,ce=1e5*w;ye!==void 0&&(we=parseInt(ye.substr(4))*w);var ct=c,rt=h,bt=180,It=90,wt=270,Ne,D,q,K;we<0?Ne=0:we>ie?Ne=ie:Ne=we,D=Math.min(c,h)*Ne/ce,q=ct-D,K=rt-D;var Ce=ve(D,D,D,D,wt,bt,!1)+ve(D,K,D,D,bt,It,!1).replace("M","L")+ve(q,D,D,D,wt,wt+It,!1)+ve(q,K,D,D,0,It,!1).replace("M","L");p+="<path d='"+Ce+"' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"leftBracket":var ye=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd","attrs","fmla"]),we=8333*w,ie=5e4*w,ce=1e5*w,ft=ie*h/Math.min(c,h);ye!==void 0&&(we=parseInt(ye.substr(4))*w);var ct=c,rt=h,bt=180,It=90,wt=270,Ne,G,K;we<0?Ne=0:we>ft?Ne=ft:Ne=we,G=Math.min(c,h)*Ne/ce,G>c&&(G=c),K=rt-G;var Ce="M"+ct+","+rt+ve(G,K,G,G,It,bt,!1).replace("M","L")+" L0,"+G+ve(G,G,G,G,bt,wt,!1).replace("M","L")+" L"+ct+",0";p+="<path d='"+Ce+"' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"rightBracket":var ye=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd","attrs","fmla"]),we=8333*w,ie=5e4*w,ce=1e5*w,ft=ie*h/Math.min(c,h);ye!==void 0&&(we=parseInt(ye.substr(4))*w);var xf=360,bt=180,It=90,wt=270,Ne,G,K,ne;we<0?Ne=0:we>ft?Ne=ft:Ne=we,G=Math.min(c,h)*Ne/ce,K=h-G,ne=c-G;var Ce="M0,"+h+ve(ne,K,G,G,It,0,!1).replace("M","L")+" L"+c+","+h/2+ve(ne,G,G,G,xf,wt,!1).replace("M","L")+" L0,0";p+="<path d='"+Ce+"' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"moon":var ye=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd","attrs","fmla"]),we=.5;ye!==void 0&&(we=parseInt(ye.substr(4))/1e5);var Oe,bt,It;Oe=h/2,bt=180,It=90;var te=(1-we)*c,Ce="M"+c+","+h+ve(c,Oe,c,Oe,It,It+bt,!1).replace("M","L")+ve(c,Oe,te,Oe,It+bt,It,!1).replace("M","L")+" z";p+="<path d='"+Ce+"' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"corner":var x=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"]),Se,je=5e4*w,Te,et=5e4*w,nn=1e5*w;if(x!==void 0)for(var U=0;U<x.length;U++){var le=L(x[U],["attrs","name"]);le=="adj1"?(Se=L(x[U],["attrs","fmla"]),je=parseInt(Se.substr(4))*w):le=="adj2"&&(Te=L(x[U],["attrs","fmla"]),et=parseInt(Te.substr(4))*w)}var it=Math.min(c,h),nt=nn*h/it,vt=nn*c/it,ue,Me,D,Re,G;je<0?ue=0:je>nt?ue=nt:ue=je,et<0?Me=0:et>vt?Me=vt:Me=et,D=it*Me/nn,Re=it*ue/nn,G=h-Re;var Ce="M0,0 L"+D+",0 L"+D+","+G+" L"+c+","+G+" L"+c+","+h+" L0,"+h+" z";p+="<path d='"+Ce+"' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"diagStripe":var ye=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd","attrs","fmla"]),je=5e4*w,nn=1e5*w;ye!==void 0&&(je=parseInt(ye.substr(4))*w);var ue,q,K;je<0?ue=0:je>nn?ue=nn:ue=je,q=c*ue/nn,K=h*ue/nn;var Ce="M0,"+K+" L"+q+",0 L"+c+",0 L0,"+h+" z";p+="<path d='"+Ce+"' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"gear6":case"gear9":Q=0;var fd=y.substr(4),Ce;fd=="6",Ce=h5(c,h/3.5,parseInt(fd)),p+="<path d='"+Ce+"' transform='rotate(20,"+3/7*h+","+3/7*h+")' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"bentConnector3":var Cf=Bp(y,e,c,h);p+="<polyline points='"+Cf.map(function(Zr){return Zr[0]+" "+Zr[1]}).join(",")+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' fill='none' "+y1(b,Be,We)+"/>";break;case"plus":var ye=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd","attrs","fmla"]),F=.25;ye!==void 0&&(F=parseInt(ye.substr(4))/1e5);var te=1-F;p+=" <polygon points='"+F*c+" 0,"+F*c+" "+F*h+",0 "+F*h+",0 "+te*h+","+F*c+" "+te*h+","+F*c+" "+h+","+te*c+" "+h+","+te*c+" "+te*h+","+c+" "+te*h+","+ +c+" "+F*h+","+te*c+" "+F*h+","+te*c+" 0' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"teardrop":var ye=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd","attrs","fmla"]),F=1e5*w,Of=F,oc=2e5*w;ye!==void 0&&(F=parseInt(ye.substr(4))*w);var ue,ld,cv,ot,dv,hv,Ge,Re,D,G,q,K,ud;F<0?ue=0:F>oc?ue=oc:ue=F,ld=Math.sqrt(2),cv=ld*(c/2),ot=ld*(h/2),dv=cv*ue/Of,hv=ot*ue/Of,ud=45*Math.PI/180,Ge=dv*Math.cos(ud),Re=hv*Math.cos(ud),D=c/2+Ge,G=h/2-Re,q=(c/2+D)/2,K=(h/2+G)/2;var ze=ve(c/2,h/2,c/2,h/2,180,270,!1)+"Q "+q+",0 "+D+","+G+"Q "+c+","+K+" "+c+","+h/2+ve(c/2,h/2,c/2,h/2,0,90,!1).replace("M","L")+ve(c/2,h/2,c/2,h/2,90,180,!1).replace("M","L")+" z";p+="<path d='"+ze+"' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"plaque":var ye=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd","attrs","fmla"]),F=16667*w,Of=5e4*w,oc=1e5*w;ye!==void 0&&(F=parseInt(ye.substr(4))*w);var ue,D,q,K;F<0?ue=0:F>Of?ue=Of:ue=F,D=ue*Math.min(c,h)/oc,q=c-D,K=h-D;var ze="M0,"+D+ve(0,0,D,D,90,0,!1).replace("M","L")+" L"+q+",0"+ve(c,0,D,D,180,90,!1).replace("M","L")+" L"+c+","+K+ve(c,h,D,D,270,180,!1).replace("M","L")+" L"+D+","+h+ve(0,h,D,D,0,-90,!1).replace("M","L")+" z";p+="<path d='"+ze+"' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"sun":var ye=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd","attrs","fmla"]),ke=w,F=25e3*ke,ie=12500*ke,ce=46875*ke;ye!==void 0&&(F=parseInt(ye.substr(4))*ke);var ue;F<ie?ue=ie:F>ce?ue=ce:ue=F;var hs=5e4*ke,Mr=1e5*ke,Gf=hs-ue,fc=Gf*(30274*ke)/(32768*ke),N0=Gf*(12540*ke)/(32768*ke),lc=fc+hs,uc=N0+hs,Uf=hs-fc,ps=hs-N0,z0=Gf*(23170*ke)/(32768*ke),ji=hs+z0,tt=hs-z0,Gt=Uf*3/4,Fe=ps*3/4,xt=Gt+3662*ke,$e=Fe+36620*ke,$t=Fe+12500*ke,Jt=Mr-Gt,ar=Mr-xt,Qt=Mr-$e,qr=Mr-$t,pv=c*(18436*ke)/(21600*ke),vv=h*(3163*ke)/(21600*ke),mv=c*(3163*ke)/(21600*ke),_v=h*(18436*ke)/(21600*ke),Mt=c*ji/Mr,qt=c*tt/Mr,Tr=c*Gt/Mr,yi=c*xt/Mr,wi=c*$e/Mr,e0=c*$t/Mr,vs=c*Jt/Mr,bv=c*ar/Mr,Lv=c*Qt/Mr,gv=c*qr/Mr,Q5=c*ue/Mr,Ht=c*Gf/Mr,Ve=h*Gf/Mr,vr=h*ji/Mr,Ha=h*tt/Mr,hn=h*Gt/Mr,Wo=h*xt/Mr,$o=h*$e/Mr,Yo=h*$t/Mr,kv=h*Jt/Mr,Mv=h*ar/Mr,Ev=h*Qt/Mr,Pv=h*qr/Mr,ze="M"+c+","+h/2+" L"+vs+","+Pv+" L"+vs+","+Yo+"z M"+pv+","+vv+" L"+bv+","+Ev+" L"+wi+","+Wo+"z M"+c/2+",0 L"+gv+","+hn+" L"+e0+","+hn+"z M"+mv+","+vv+" L"+Lv+","+Wo+" L"+yi+","+Ev+"z M0,"+h/2+" L"+Tr+","+Yo+" L"+Tr+","+Pv+"z M"+mv+","+_v+" L"+yi+","+$o+" L"+Lv+","+Mv+"z M"+c/2+","+h+" L"+e0+","+kv+" L"+gv+","+kv+"z M"+pv+","+_v+" L"+wi+","+Mv+" L"+bv+","+$o+" z M"+Q5+","+h/2+ve(c/2,h/2,Ht,Ve,180,540,!1).replace("M","L")+" z";p+="<path d='"+ze+"' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"heart":var Ge,he,D,q,se,_e,G;Ge=c*49/48,he=c*10/48,D=c/2-Ge,q=c/2-he,se=c/2+he,_e=c/2+Ge,G=-h/3;var ze="M"+c/2+","+h/4+"C"+se+","+G+" "+_e+","+h/4+" "+c/2+","+h+"C"+D+","+h/4+" "+q+","+G+" "+c/2+","+h/4+" z";p+="<path d='"+ze+"' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"lightningBolt":var D=c*5022/21600,q=c*11050/21600,se=c*8472/21600,_e=c*8757/21600,He=c*10012/21600,qe=c*14767/21600,mt=c*12222/21600,Mt=c*12860/21600,qt=c*13917/21600,Tr=c*7602/21600,Ri=c*16577/21600,G=h*3890/21600,K=h*6080/21600,ne=h*6797/21600,de=h*7437/21600,Ye=h*12877/21600,st=h*9705/21600,Rt=h*12007/21600,vr=h*13987/21600,Ha=h*8382/21600,hn=h*14277/21600,ms=h*14915/21600,ze="M"+se+",0 L"+Mt+","+K+" L"+q+","+ne+" L"+Ri+","+Rt+" L"+qe+","+Ye+" L"+c+","+h+" L"+He+","+ms+" L"+mt+","+vr+" L"+D+","+st+" L"+Tr+","+Ha+" L0,"+G+" z";p+="<path d='"+ze+"' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"cube":var ye=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd","attrs","fmla"]),ke=w,we=25e3*ke;ye!==void 0&&(we=parseInt(ye.substr(4))*ke);var ze,ce=1e5*ke,Ie=Math.min(c,h),Ne,G,de,_e;Ne=we<0?0:we>ce?ce:we,G=Ie*Ne/ce,de=h-G,_e=c-G,ze="M0,"+G+" L"+G+",0 L"+c+",0 L"+c+","+de+" L"+_e+","+h+" L0,"+h+" zM0,"+G+" L"+_e+","+G+" M"+_e+","+G+" L"+c+",0M"+_e+","+G+" L"+_e+","+h,p+="<path d='"+ze+"' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"bevel":var ye=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd","attrs","fmla"]),ke=w,we=12500*ke;ye!==void 0&&(we=parseInt(ye.substr(4))*ke);var ze,ie=5e4*ke,ce=1e5*ke,Ie=Math.min(c,h),Ne,D,q,K;Ne=we<0?0:we>ie?ie:we,D=Ie*Ne/ce,q=c-D,K=h-D,ze="M0,0 L"+c+",0 L"+c+","+h+" L0,"+h+" z M"+D+","+D+" L"+q+","+D+" L"+q+","+K+" L"+D+","+K+" z M0,0 L"+D+","+D+" M0,"+h+" L"+D+","+K+" M"+c+",0 L"+q+","+D+" M"+c+","+h+" L"+q+","+K,p+="<path d='"+ze+"' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"foldedCorner":var ye=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd","attrs","fmla"]),ke=w,we=16667*ke;ye!==void 0&&(we=parseInt(ye.substr(4))*ke);var ze,ie=5e4*ke,ce=1e5*ke,Ie=Math.min(c,h),Ne,Ze,Re,D,q,K,G;Ne=we<0?0:we>ie?ie:we,Ze=Ie*Ne/ce,Re=Ze/5,D=c-Ze,q=D+Re,K=h-Ze,G=K+Re,ze="M"+D+","+h+" L"+q+","+G+" L"+c+","+K+" L"+D+","+h+" L0,"+h+" L0,0 L"+c+",0 L"+c+","+K,p+="<path d='"+ze+"' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"cloud":case"cloudCallout":var cd,D,q,se,_e,He,qe,mt,Mt,qt,Tr,Ri,dd,G,K,ne,de,Ye,st,Rt,vr,Ha,hn,ms,jk,Sv,hd,pd,vd,md,cc,e4,t4,r4,a4,Nd,hl,Dd,cl,n4,i4,s4,o4,f4,l4,u4;cd=c*3900/43200,D=c*4693/43200,q=c*6928/43200,se=c*16478/43200,_e=c*28827/43200,He=c*34129/43200,qe=c*41798/43200,mt=c*38324/43200,Mt=c*29078/43200,qt=c*22141/43200,Tr=c*14e3/43200,Ri=c*4127/43200,dd=h*14370/43200,G=h*26177/43200,K=h*34899/43200,ne=h*39090/43200,de=h*34751/43200,Ye=h*22954/43200,st=h*15354/43200,Rt=h*5426/43200,vr=h*3952/43200,Ha=h*4720/43200,hn=h*5192/43200,ms=h*15789/43200;var Iv=c*6753/43200,Tv=h*9190/43200,dc=c*5333/43200,yv=h*7267/43200,wv=c*4365/43200,hc=h*5945/43200,Rv=c*4857/43200,Bv=h*6595/43200,Dv=h*7273/43200,Nv=c*6775/43200,zv=h*9220/43200,xv=c*5785/43200,Cv=h*7867/43200,Ov=c*6752/43200,Gv=h*9215/43200,Uv=c*7720/43200,Hv=h*10543/43200,Zv=c*4360/43200,Wv=h*5918/43200,$v=c*4345/43200,pc=-11429249/6e4,F5=7426832/6e4,vc=-8646143/6e4,q5=5396714/6e4,mc=-8748475/6e4,V5=5983381/6e4,_c=-7859164/6e4,j5=7034504/6e4,bc=-4722533/6e4,eb=6541615/6e4,Lc=-2776035/6e4,tb=7816140/6e4,gc=37501/6e4,rb=6842e3/6e4,kc=1347096/6e4,ab=6910353/6e4,Mc=3974558/6e4,nb=4542661/6e4,Ec=-16496525/6e4,ib=8804134/6e4,Pc=-14809710/6e4,sb=9151131/6e4,Yv,Xn,C0,Sc,Hf,Av,Xv,Kv,Jv,Qv,Fv,qv,t0,x0,Ic,Tc,Vv,jv,e2,t2,r2,a2,yc,wc,Rc,Bc,Dc,Nc,zc,xc,Cc,Oc,n2,_d,bd,Ld,gd,kd,Md,Ed,Pd,Sd,Id;Yv=cd-Iv*Math.cos(pc*Math.PI/180),qv=dd-Tv*Math.sin(pc*Math.PI/180),yc=ve(Yv,qv,Iv,Tv,pc,pc+F5,!1).replace("M","L"),_d=yc.substr(yc.lastIndexOf("L")+1).split(" "),Xn=parseInt(_d[0])-dc*Math.cos(vc*Math.PI/180),t0=parseInt(_d[1])-yv*Math.sin(vc*Math.PI/180),wc=ve(Xn,t0,dc,yv,vc,vc+q5,!1).replace("M","L"),bd=wc.substr(wc.lastIndexOf("L")+1).split(" "),C0=parseInt(bd[0])-wv*Math.cos(mc*Math.PI/180),x0=parseInt(bd[1])-hc*Math.sin(mc*Math.PI/180),Rc=ve(C0,x0,wv,hc,mc,mc+V5,!1).replace("M","L"),Ld=Rc.substr(Rc.lastIndexOf("L")+1).split(" "),Sc=parseInt(Ld[0])-Rv*Math.cos(_c*Math.PI/180),Ic=parseInt(Ld[1])-Bv*Math.sin(_c*Math.PI/180),Bc=ve(Sc,Ic,Rv,Bv,_c,_c+j5,!1).replace("M","L"),gd=Bc.substr(Bc.lastIndexOf("L")+1).split(" "),Hf=parseInt(gd[0])-dc*Math.cos(bc*Math.PI/180),Tc=parseInt(gd[1])-Dv*Math.sin(bc*Math.PI/180),Dc=ve(Hf,Tc,dc,Dv,bc,bc+eb,!1).replace("M","L"),kd=Dc.substr(Dc.lastIndexOf("L")+1).split(" "),Av=parseInt(kd[0])-Nv*Math.cos(Lc*Math.PI/180),Vv=parseInt(kd[1])-zv*Math.sin(Lc*Math.PI/180),Nc=ve(Av,Vv,Nv,zv,Lc,Lc+tb,!1).replace("M","L"),Md=Nc.substr(Nc.lastIndexOf("L")+1).split(" "),Xv=parseInt(Md[0])-xv*Math.cos(gc*Math.PI/180),jv=parseInt(Md[1])-Cv*Math.sin(gc*Math.PI/180),zc=ve(Xv,jv,xv,Cv,gc,gc+rb,!1).replace("M","L"),Ed=zc.substr(zc.lastIndexOf("L")+1).split(" "),Kv=parseInt(Ed[0])-Ov*Math.cos(kc*Math.PI/180),e2=parseInt(Ed[1])-Gv*Math.sin(kc*Math.PI/180),xc=ve(Kv,e2,Ov,Gv,kc,kc+ab,!1).replace("M","L"),Pd=xc.substr(xc.lastIndexOf("L")+1).split(" "),Jv=parseInt(Pd[0])-Uv*Math.cos(Mc*Math.PI/180),t2=parseInt(Pd[1])-Hv*Math.sin(Mc*Math.PI/180),Cc=ve(Jv,t2,Uv,Hv,Mc,Mc+nb,!1).replace("M","L"),Sd=Cc.substr(Cc.lastIndexOf("L")+1).split(" "),Qv=parseInt(Sd[0])-Zv*Math.cos(Ec*Math.PI/180),r2=parseInt(Sd[1])-Wv*Math.sin(Ec*Math.PI/180),Oc=ve(Qv,r2,Zv,Wv,Ec,Ec+ib,!1).replace("M","L"),Id=Oc.substr(Oc.lastIndexOf("L")+1).split(" "),Fv=parseInt(Id[0])-$v*Math.cos(Pc*Math.PI/180),a2=parseInt(Id[1])-hc*Math.sin(Pc*Math.PI/180),n2=ve(Fv,a2,$v,hc,Pc,Pc+sb,!1).replace("M","L");var i2="M"+cd+","+dd+yc+wc+Rc+Bc+Dc+Nc+zc+xc+Cc+Oc+n2+" z";if(y=="cloudCallout"){var x=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"]),ke=w,Se,F=-20833*ke,Te,te=62500*ke;if(x!==void 0)for(var U=0;U<x.length;U++){var le=L(x[U],["attrs","name"]);le=="adj1"?(Se=L(x[U],["attrs","fmla"]),F=parseInt(Se.substr(4))*ke):le=="adj2"&&(Te=L(x[U],["attrs","fmla"]),te=parseInt(Te.substr(4))*ke)}var ze,ce=1e5*ke,Ie=Math.min(c,h),Ae=c/2,Oe=h/2,ur,pr,Vr,jr,Td,yd,N0,lc,uc,Uf,ps,z0,ji,tt,Gt,Fe,xt,$e,$t,Jt,ar,Qt,qr,Qr,wr,Rr,ua,sa,Ir,Gr,ca,s2,wd,Rd;ur=c*F/ce,pr=h*te/ce,Vr=Ae+ur,jr=Oe+pr,Td=Oe*Math.cos(Math.atan(pr/ur)),yd=Ae*Math.sin(Math.atan(pr/ur)),N0=Ae*Math.cos(Math.atan(yd/Td)),lc=Oe*Math.sin(Math.atan(yd/Td)),F>=0?(uc=Ae+N0,Uf=Oe+lc):(uc=Ae-N0,Uf=Oe-lc),ps=uc-Vr,z0=Uf-jr,ji=Math.sqrt(ps*ps+z0*z0),tt=Ie*6600/21600,Gt=ji-tt,Fe=Gt/3,xt=Ie*1800/21600,$e=Fe+xt,$t=$e*ps/ji,Jt=$e*z0/ji,ar=$t+Vr,Qt=Jt+jr,qr=Ie*4800/21600,Qr=Fe*2,wr=qr+Qr,Rr=wr*ps/ji,ua=wr*z0/ji,sa=Rr+Vr,Ir=ua+jr,Gr=Ie*1200/21600,ca=Ie*600/21600,s2=Vr+ca,wd=ar+Gr,Rd=sa+xt,ze=ve(s2-ca,jr,ca,ca,0,360,!1)+" z M"+wd+","+Qt+ve(wd-Gr,Qt,Gr,Gr,0,360,!1).replace("M","L")+" z M"+Rd+","+Ir+ve(Rd-xt,Ir,xt,xt,0,360,!1).replace("M","L")+" z",i2+=ze}p+="<path d='"+i2+"' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"smileyFace":var ye=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd","attrs","fmla"]),ke=w,we=4653*ke;ye!==void 0&&(we=parseInt(ye.substr(4))*ke);var ze,ie=5e4*ke,ce=1e5*ke,_t=4653*ke,Ie=Math.min(c,h),Ne,D,q,se,_e,G,ne,Ze,K,de,At,Ye,Ht,Ve,Ae,Oe;Ae=c/2,Oe=h/2,Ne=we<-_t?-_t:we>_t?_t:we,D=c*4969/21699,q=c*6215/21600,se=c*13135/21600,_e=c*16640/21600,G=h*7570/21600,ne=h*16515/21600,Ze=h*Ne/ce,K=ne-Ze,de=ne+Ze,At=h*Ne/ie,Ye=de+At,Ht=c*1125/21600,Ve=h*1125/21600;var Xn=q-Ht*Math.cos(Math.PI),t0=G-Ve*Math.sin(Math.PI),C0=se-Ht*Math.cos(Math.PI);ze=ve(Xn,t0,Ht,Ve,180,540,!1)+ve(C0,t0,Ht,Ve,180,540,!1)+" M"+D+","+K+" Q"+Ae+","+Ye+" "+_e+","+K+" Q"+Ae+","+Ye+" "+D+","+K+" M0,"+Oe+ve(Ae,Oe,Ae,Oe,180,540,!1).replace("M","L")+" z",p+="<path d='"+ze+"' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"verticalScroll":case"horizontalScroll":var ye=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd","attrs","fmla"]),ke=w,we=12500*ke;ye!==void 0&&(we=parseInt(ye.substr(4))*ke);var ze,ie=25e3*ke,ce=1e5*ke,Ie=Math.min(c,h),Zt=0,Tt=0,rt=h,ct=c,Ne,hr,St,r0;if(Ne=we<0?0:we>ie?ie:we,hr=Ie*Ne/ce,St=hr/2,r0=hr/4,y=="verticalScroll"){var se,_e,qe,mt,He,ne,de;se=hr+St,_e=hr+hr,qe=ct-hr,mt=ct-St,He=qe-St,ne=rt-hr,de=rt-St,ze="M"+hr+","+ne+" L"+hr+","+St+ve(se,St,St,St,180,270,!1).replace("M","L")+" L"+mt+","+Zt+ve(mt,St,St,St,270,450,!1).replace("M","L")+" L"+qe+","+hr+" L"+qe+","+de+ve(He,de,St,St,0,90,!1).replace("M","L")+" L"+St+","+rt+ve(St,de,St,St,90,270,!1).replace("M","L")+" z M"+se+","+Zt+ve(se,St,St,St,270,450,!1).replace("M","L")+ve(se,se/2,r0,r0,90,270,!1).replace("M","L")+" L"+_e+","+St+" M"+qe+","+hr+" L"+se+","+hr+" M"+hr+","+de+ve(St,de,St,St,0,270,!1).replace("M","L")+ve(St,(de+ne)/2,r0,r0,270,450,!1).replace("M","L")+" z M"+hr+","+de+" L"+hr+","+ne}else if(y=="horizontalScroll"){var ne,de,st,Rt,Ye,se,_e;ne=hr+St,de=hr+hr,st=rt-hr,Rt=rt-St,Ye=st-St,se=ct-hr,_e=ct-St,ze="M"+Tt+","+ne+ve(St,ne,St,St,180,270,!1).replace("M","L")+" L"+se+","+hr+" L"+se+","+St+ve(_e,St,St,St,180,360,!1).replace("M","L")+" L"+ct+","+Ye+ve(_e,Ye,St,St,0,90,!1).replace("M","L")+" L"+hr+","+st+" L"+hr+","+Rt+ve(St,Rt,St,St,0,180,!1).replace("M","L")+" zM"+_e+","+hr+ve(_e,St,St,St,90,-180,!1).replace("M","L")+ve((se+_e)/2,St,r0,r0,180,0,!1).replace("M","L")+" z M"+_e+","+hr+" L"+se+","+hr+" M"+St+","+de+" L"+St+","+ne+ve(ne/2,ne,r0,r0,180,360,!1).replace("M","L")+ve(St,ne,St,St,0,180,!1).replace("M","L")+" M"+hr+","+ne+" L"+hr+","+st}p+="<path d='"+ze+"' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"wedgeEllipseCallout":var x=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"]),ke=w,Se,F=-20833*ke,Te,te=62500*ke;if(x!==void 0)for(var U=0;U<x.length;U++){var le=L(x[U],["attrs","name"]);le=="adj1"?(Se=L(x[U],["attrs","fmla"]),F=parseInt(Se.substr(4))*ke):le=="adj2"&&(Te=L(x[U],["attrs","fmla"]),te=parseInt(Te.substr(4))*ke)}var ze,ie=1e5*w,_s=11*Math.PI/180,Ie=Math.min(c,h),ur,pr,Vr,jr,Ao,Xo,Bd,Wt,Fa,Ge,Re,D,G,he,Ze,q,K,O0,c4,d4,mn,Xt,W=h/2,O=c/2;ur=c*F/ie,pr=h*te/ie,Vr=O+ur,jr=W+pr,Ao=ur*h,Xo=pr*c,Bd=Math.atan(Xo/Ao),Wt=Bd+_s,Fa=Bd-_s,console.log("dxPos: ",ur,"dyPos: ",pr),Ge=O*Math.cos(Wt),Re=W*Math.sin(Wt),he=O*Math.cos(Fa),Ze=W*Math.sin(Fa),ur>=0?(D=O+Ge,G=W+Re,q=O+he,K=W+Ze):(D=O-Ge,G=W-Re,q=O-he,K=W-Ze),ze="M"+D+","+G+" L"+Vr+","+jr+" L"+q+","+K+ve(O,W,O,W,0,360,!0),p+="<path d='"+ze+"' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"wedgeRectCallout":var x=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"]),ke=w,Se,F=-20833*ke,Te,te=62500*ke;if(x!==void 0)for(var U=0;U<x.length;U++){var le=L(x[U],["attrs","name"]);le=="adj1"?(Se=L(x[U],["attrs","fmla"]),F=parseInt(Se.substr(4))*ke):le=="adj2"&&(Te=L(x[U],["attrs","fmla"]),te=parseInt(Te.substr(4))*ke)}var ze,ie=1e5*w,ur,pr,Vr,jr,Vn,qn,Zf,Wf,$f,va,Yf,Af,D,q,Xf,Kf,G,K,Jf,Qf,Ff,qf,Ko,Vf,jf,el,tl,rl,al,nl,il,sl,ol,fl,W=h/2,O=c/2;ur=c*F/ie,pr=h*te/ie,Vr=O+ur,jr=W+pr,Vn=Vr-O,qn=jr-W,Zf=ur*h/c,Wf=Math.abs(pr),$f=Math.abs(Zf),va=Wf-$f,Yf=ur>0?7:2,Af=ur>0?10:5,D=c*Yf/12,q=c*Af/12,Xf=pr>0?7:2,Kf=pr>0?10:5,G=h*Xf/12,K=h*Kf/12,Jf=ur>0?0:Vr,Qf=va>0?0:Jf,Ff=pr>0?D:Vr,qf=va>0?Ff:D,Ko=ur>0?Vr:c,Vf=va>0?c:Ko,jf=pr>0?Vr:D,el=va>0?jf:D,tl=ur>0?G:jr,rl=va>0?G:tl,al=pr>0?0:jr,nl=va>0?al:0,il=ur>0?jr:G,sl=va>0?G:il,ol=pr>0?jr:h,fl=va>0?ol:h,ze="M0,0 L"+D+",0 L"+qf+","+nl+" L"+q+",0 L"+c+",0 L"+c+","+G+" L"+Vf+","+sl+" L"+c+","+K+" L"+c+","+h+" L"+q+","+h+" L"+el+","+fl+" L"+D+","+h+" L0,"+h+" L0,"+K+" L"+Qf+","+rl+" L0,"+G+" z",p+="<path d='"+ze+"' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"wedgeRoundRectCallout":var x=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"]),ke=w,Se,F=-20833*ke,Te,te=62500*ke,at,Pe=16667*ke;if(x!==void 0)for(var U=0;U<x.length;U++){var le=L(x[U],["attrs","name"]);le=="adj1"?(Se=L(x[U],["attrs","fmla"]),F=parseInt(Se.substr(4))*ke):le=="adj2"?(Te=L(x[U],["attrs","fmla"]),te=parseInt(Te.substr(4))*ke):le=="adj3"&&(at=L(x[U],["attrs","fmla"]),Pe=parseInt(at.substr(4))*ke)}var ze,ie=1e5*w,Ie=Math.min(c,h),ur,pr,Vr,jr,Zf,Wf,$f,va,Yf,Af,D,q,Xf,Kf,G,K,Jf,Qf,Ff,qf,Ko,Vf,jf,el,tl,rl,al,nl,il,sl,ol,fl,mr,qa,xi,W=h/2,O=c/2;ur=c*F/ie,pr=h*te/ie,Vr=O+ur,jr=W+pr,Zf=ur*h/c,Wf=Math.abs(pr),$f=Math.abs(Zf),va=Wf-$f,Yf=ur>0?7:2,Af=ur>0?10:5,D=c*Yf/12,q=c*Af/12,Xf=pr>0?7:2,Kf=pr>0?10:5,G=h*Xf/12,K=h*Kf/12,Jf=ur>0?0:Vr,Qf=va>0?0:Jf,Ff=pr>0?D:Vr,qf=va>0?Ff:D,Ko=ur>0?Vr:c,Vf=va>0?c:Ko,jf=pr>0?Vr:D,el=va>0?jf:D,tl=ur>0?G:jr,rl=va>0?G:tl,al=pr>0?0:jr,nl=va>0?al:0,il=ur>0?jr:G,sl=va>0?G:il,ol=pr>0?jr:h,fl=va>0?ol:h,mr=Ie*Pe/ie,qa=c-mr,xi=h-mr,ze="M0,"+mr+ve(mr,mr,mr,mr,180,270,!1).replace("M","L")+" L"+D+",0 L"+qf+","+nl+" L"+q+",0 L"+qa+",0"+ve(qa,mr,mr,mr,270,360,!1).replace("M","L")+" L"+c+","+G+" L"+Vf+","+sl+" L"+c+","+K+" L"+c+","+xi+ve(qa,xi,mr,mr,0,90,!1).replace("M","L")+" L"+q+","+h+" L"+el+","+fl+" L"+D+","+h+" L"+mr+","+h+ve(mr,xi,mr,mr,90,180,!1).replace("M","L")+" L0,"+K+" L"+Qf+","+rl+" L0,"+G+" z",p+="<path d='"+ze+"' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"accentBorderCallout1":case"accentBorderCallout2":case"accentBorderCallout3":case"borderCallout1":case"borderCallout2":case"borderCallout3":case"accentCallout1":case"accentCallout2":case"accentCallout3":case"callout1":case"callout2":case"callout3":var x=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"]),ke=w,Se,F=18750*ke,Te,te=-8333*ke,at,Pe=18750*ke,nr,pt=-16667*ke,jn,Dr=1e5*ke,o2,a0=-16667*ke,f2,ll=112963*ke,l2,ul=-8333*ke;if(x!==void 0)for(var U=0;U<x.length;U++){var le=L(x[U],["attrs","name"]);le=="adj1"?(Se=L(x[U],["attrs","fmla"]),F=parseInt(Se.substr(4))*ke):le=="adj2"?(Te=L(x[U],["attrs","fmla"]),te=parseInt(Te.substr(4))*ke):le=="adj3"?(at=L(x[U],["attrs","fmla"]),Pe=parseInt(at.substr(4))*ke):le=="adj4"?(nr=L(x[U],["attrs","fmla"]),pt=parseInt(nr.substr(4))*ke):le=="adj5"?(jn=L(x[U],["attrs","fmla"]),Dr=parseInt(jn.substr(4))*ke):le=="adj6"?(o2=L(x[U],["attrs","fmla"]),a0=parseInt(o2.substr(4))*ke):le=="adj7"?(f2=L(x[U],["attrs","fmla"]),ll=parseInt(f2.substr(4))*ke):le=="adj8"&&(l2=L(x[U],["attrs","fmla"]),ul=parseInt(l2.substr(4))*ke)}var ze,ie=1e5*ke,pn=!0;switch(y){case"borderCallout1":case"callout1":y=="borderCallout1"?pn=!0:pn=!1,x===void 0&&(F=18750*ke,te=-8333*ke,Pe=112500*ke,pt=-38333*ke);var G,D,K,q;G=h*F/ie,D=c*te/ie,K=h*Pe/ie,q=c*pt/ie,ze="M0,0 L"+c+",0 L"+c+","+h+" L0,"+h+" z M"+D+","+G+" L"+q+","+K;break;case"borderCallout2":case"callout2":y=="borderCallout2"?pn=!0:pn=!1,x===void 0&&(F=18750*ke,te=-8333*ke,Pe=18750*ke,pt=-16667*ke,Dr=112500*ke,a0=-46667*ke);var G,D,K,q,ne,se;G=h*F/ie,D=c*te/ie,K=h*Pe/ie,q=c*pt/ie,ne=h*Dr/ie,se=c*a0/ie,ze="M0,0 L"+c+",0 L"+c+","+h+" L0,"+h+" z M"+D+","+G+" L"+q+","+K+" L"+se+","+ne+" L"+q+","+K;break;case"borderCallout3":case"callout3":y=="borderCallout3"?pn=!0:pn=!1,x===void 0&&(F=18750*ke,te=-8333*ke,Pe=18750*ke,pt=-16667*ke,Dr=1e5*ke,a0=-16667*ke,ll=112963*ke,ul=-8333*ke);var G,D,K,q,ne,se,de,_e;G=h*F/ie,D=c*te/ie,K=h*Pe/ie,q=c*pt/ie,ne=h*Dr/ie,se=c*a0/ie,de=h*ll/ie,_e=c*ul/ie,ze="M0,0 L"+c+",0 L"+c+","+h+" L0,"+h+" z M"+D+","+G+" L"+q+","+K+" L"+se+","+ne+" L"+_e+","+de+" L"+se+","+ne+" L"+q+","+K;break;case"accentBorderCallout1":case"accentCallout1":y=="accentBorderCallout1"?pn=!0:pn=!1,x===void 0&&(F=18750*ke,te=-8333*ke,Pe=112500*ke,pt=-38333*ke);var G,D,K,q;G=h*F/ie,D=c*te/ie,K=h*Pe/ie,q=c*pt/ie,ze="M0,0 L"+c+",0 L"+c+","+h+" L0,"+h+" z M"+D+","+G+" L"+q+","+K+" M"+D+",0 L"+D+","+h;break;case"accentBorderCallout2":case"accentCallout2":y=="accentBorderCallout2"?pn=!0:pn=!1,x===void 0&&(F=18750*ke,te=-8333*ke,Pe=18750*ke,pt=-16667*ke,Dr=112500*ke,a0=-46667*ke);var G,D,K,q,ne,se;G=h*F/ie,D=c*te/ie,K=h*Pe/ie,q=c*pt/ie,ne=h*Dr/ie,se=c*a0/ie,ze="M0,0 L"+c+",0 L"+c+","+h+" L0,"+h+" z M"+D+","+G+" L"+q+","+K+" L"+se+","+ne+" L"+q+","+K+" M"+D+",0 L"+D+","+h;break;case"accentBorderCallout3":case"accentCallout3":y=="accentBorderCallout3"?pn=!0:pn=!1,pn=!0,x===void 0&&(F=18750*ke,te=-8333*ke,Pe=18750*ke,pt=-16667*ke,Dr=1e5*ke,a0=-16667*ke,ll=112963*ke,ul=-8333*ke);var G,D,K,q,ne,se,de,_e;G=h*F/ie,D=c*te/ie,K=h*Pe/ie,q=c*pt/ie,ne=h*Dr/ie,se=c*a0/ie,de=h*ll/ie,_e=c*ul/ie,ze="M0,0 L"+c+",0 L"+c+","+h+" L0,"+h+" z M"+D+","+G+" L"+q+","+K+" L"+se+","+ne+" L"+_e+","+de+" L"+se+","+ne+" L"+q+","+K+" M"+D+",0 L"+D+","+h;break}p+="<path d='"+ze+"' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"leftRightRibbon":var x=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"]),ke=w,Se,F=5e4*ke,Te,te=5e4*ke,at,Pe=16667*ke;if(x!==void 0)for(var U=0;U<x.length;U++){var le=L(x[U],["attrs","name"]);le=="adj1"?(Se=L(x[U],["attrs","fmla"]),F=parseInt(Se.substr(4))*ke):le=="adj2"?(Te=L(x[U],["attrs","fmla"]),te=parseInt(Te.substr(4))*ke):le=="adj3"&&(at=L(x[U],["attrs","fmla"]),Pe=parseInt(at.substr(4))*ke)}var ze,ie=33333*ke,ce=1e5*ke,_t=2e5*ke,Er=4e5*ke,Ie=Math.min(c,h),Ke,nt,ue,u2,vt,Me,D,_e,Re,Ze,Jo,cl,Gc,Dd,Uc,Nd,dl,hl,Ve,q,se,G,K,Br=c/32,W=h/2,O=c/2;Ke=Pe<0?0:Pe>ie?ie:Pe,nt=ce-Ke,ue=F<0?0:F>nt?nt:F,u2=O-Br,vt=ce*u2/Ie,Me=te<0?0:te>vt?vt:te,D=Ie*Me/ce,_e=c-D,Re=h*ue/_t,Ze=h*Ke/-_t,Jo=W+Ze-Re,cl=W+Re-Ze,Gc=Jo+Re,Dd=h-Gc,Uc=Gc*2,Nd=h-Uc,dl=Uc-Jo,hl=h-dl,Ve=Ke*Ie/Er,q=O-Br,se=O+Br,G=Jo+Ve,K=hl-Ve,ze="M0,"+Gc+"L"+D+",0L"+D+","+Jo+"L"+O+","+Jo+ve(O,G,Br,Ve,270,450,!1).replace("M","L")+ve(O,K,Br,Ve,270,90,!1).replace("M","L")+"L"+_e+","+hl+"L"+_e+","+Nd+"L"+c+","+Dd+"L"+_e+","+h+"L"+_e+","+cl+"L"+O+","+cl+ve(O,cl-Ve,Br,Ve,90,180,!1).replace("M","L")+"L"+q+","+dl+"L"+D+","+dl+"L"+D+","+Uc+" zM"+se+","+G+"L"+se+","+hl+"M"+q+","+K+"L"+q+","+dl,p+="<path d='"+ze+"' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"ribbon":case"ribbon2":var x=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"]),Se,F=16667*w,Te,te=5e4*w;if(x!==void 0)for(var U=0;U<x.length;U++){var le=L(x[U],["attrs","name"]);le=="adj1"?(Se=L(x[U],["attrs","fmla"]),F=parseInt(Se.substr(4))*w):le=="adj2"&&(Te=L(x[U],["attrs","fmla"]),te=parseInt(Te.substr(4))*w)}var ze,ie=25e3*w,ce=33333*w,_t=75e3*w,Er=1e5*w,Xa=2e5*w,ya=4e5*w,O=c/2,Zt=0,Tt=0,rt=h,ct=c,Jn=c/8,Br=c/32,ue,Me,Tr,he,q,qt,se,Mt,He,qe,_e,mt,G,K,de,ne,Ve,st;if(ue=F<0?0:F>ce?ce:F,Me=te<ie?ie:te>_t?_t:te,Tr=ct-Jn,he=c*Me/Xa,q=O-he,qt=O+he,se=q+Br,Mt=qt-Br,He=q+Jn,qe=qt-Jn,_e=He-Br,mt=qe+Br,Ve=h*ue/ya,y=="ribbon2"){var Re,Ze,Rt;Re=h*ue/Xa,G=rt-Re,Ze=h*ue/Er,K=rt-Ze,de=Zt+Ze,ne=(de+rt)/2,st=rt-Ve,Rt=G-Ve,ze="M"+Tt+","+rt+" L"+Jn+","+ne+" L"+Tt+","+de+" L"+q+","+de+" L"+q+","+Ve+ve(se,Ve,Br,Ve,180,270,!1).replace("M","L")+" L"+Mt+","+Zt+ve(Mt,Ve,Br,Ve,270,360,!1).replace("M","L")+" L"+qt+","+de+" L"+qt+","+de+" L"+ct+","+de+" L"+Tr+","+ne+" L"+ct+","+rt+" L"+mt+","+rt+ve(mt,st,Br,Ve,90,270,!1).replace("M","L")+" L"+Mt+","+G+ve(Mt,Rt,Br,Ve,90,-90,!1).replace("M","L")+" L"+se+","+K+ve(se,Rt,Br,Ve,270,90,!1).replace("M","L")+" L"+_e+","+G+ve(_e,st,Br,Ve,270,450,!1).replace("M","L")+" z M"+He+","+K+" L"+He+","+st+"M"+qe+","+st+" L"+qe+","+K+"M"+q+","+Rt+" L"+q+","+de+"M"+qt+","+de+" L"+qt+","+Rt}else if(y=="ribbon"){var Ye;G=h*ue/Xa,K=h*ue/Er,de=rt-K,ne=de/2,Ye=rt-Ve,st=K-Ve,ze="M"+Tt+","+Zt+" L"+_e+","+Zt+ve(_e,Ve,Br,Ve,270,450,!1).replace("M","L")+" L"+se+","+G+ve(se,st,Br,Ve,270,90,!1).replace("M","L")+" L"+Mt+","+K+ve(Mt,st,Br,Ve,90,-90,!1).replace("M","L")+" L"+mt+","+G+ve(mt,Ve,Br,Ve,90,270,!1).replace("M","L")+" L"+ct+","+Zt+" L"+Tr+","+ne+" L"+ct+","+de+" L"+qt+","+de+" L"+qt+","+Ye+ve(Mt,Ye,Br,Ve,0,90,!1).replace("M","L")+" L"+se+","+rt+ve(se,Ye,Br,Ve,90,180,!1).replace("M","L")+" L"+q+","+de+" L"+Tt+","+de+" L"+Jn+","+ne+" z M"+He+","+Ve+" L"+He+","+K+"M"+qe+","+K+" L"+qe+","+Ve+"M"+q+","+de+" L"+q+","+st+"M"+qt+","+st+" L"+qt+","+de}p+="<path d='"+ze+"' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"doubleWave":case"wave":var x=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"]),Se,F=y=="doubleWave"?6250*w:12500*w,Te,te=0;if(x!==void 0)for(var U=0;U<x.length;U++){var le=L(x[U],["attrs","name"]);le=="adj1"?(Se=L(x[U],["attrs","fmla"]),F=parseInt(Se.substr(4))*w):le=="adj2"&&(Te=L(x[U],["attrs","fmla"]),te=parseInt(Te.substr(4))*w)}var ze,ce=-1e4*w,_t=5e4*w,Er=1e5*w,O=c/2,Zt=0,Tt=0,rt=h,ct=c,Jn=c/8,Br=c/32;if(y=="doubleWave"){var ie=12500*w,ue,Me,G,Ze,K,ne,de,Ye,st,Kn,he,q,zd,Mt,Lt,se,Ka,_e,He,qe,mt,qt,vs,Tr,Ri,yi,wi,e0;ue=F<0?0:F>ie?ie:F,Me=te<ce?ce:te>Er?Er:te,G=h*ue/Er,Ze=G*10/3,K=G-Ze,ne=G+Ze,de=rt-G,Ye=de-Ze,st=de+Ze,Kn=c*Me/_t,he=Kn>0?0:Kn,q=Tt-he,zd=Kn>0?Kn:0,Mt=ct-zd,Lt=(he+Mt)/6,se=q+Lt,Ka=(he+Mt)/3,_e=q+Ka,He=(q+Mt)/2,qe=He+Lt,mt=(qe+Mt)/2,qt=Tt+zd,vs=ct+he,Tr=qt+Lt,Ri=qt+Ka,yi=(qt+vs)/2,wi=yi+Lt,e0=(wi+vs)/2,ze="M"+q+","+G+" C"+se+","+K+" "+_e+","+ne+" "+He+","+G+" C"+qe+","+K+" "+mt+","+ne+" "+Mt+","+G+" L"+vs+","+de+" C"+e0+","+st+" "+wi+","+Ye+" "+yi+","+de+" C"+Ri+","+st+" "+Tr+","+Ye+" "+qt+","+de+" z"}else if(y=="wave"){var Xa=2e4*w,ue,Me,G,Ze,K,ne,de,Ye,st,Kn,he,q,on,He,Lt,se,_e,qe,Tr,mt,Mt;ue=F<0?0:F>Xa?Xa:F,Me=te<ce?ce:te>Er?Er:te,G=h*ue/Er,Ze=G*10/3,K=G-Ze,ne=G+Ze,de=rt-G,Ye=de-Ze,st=de+Ze,Kn=c*Me/_t,he=Kn>0?0:Kn,q=Tt-he,on=Kn>0?Kn:0,He=ct-on,Lt=(he+He)/3,se=q+Lt,_e=(se+He)/2,qe=Tt+on,Tr=ct+he,mt=qe+Lt,Mt=(mt+Tr)/2,ze="M"+q+","+G+" C"+se+","+K+" "+_e+","+ne+" "+He+","+G+" L"+Tr+","+de+" C"+Mt+","+st+" "+mt+","+Ye+" "+qe+","+de+" z"}p+="<path d='"+ze+"' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"ellipseRibbon":case"ellipseRibbon2":var x=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"]),Se,F=25e3*w,Te,te=5e4*w,at,Pe=12500*w;if(x!==void 0)for(var U=0;U<x.length;U++){var le=L(x[U],["attrs","name"]);le=="adj1"?(Se=L(x[U],["attrs","fmla"]),F=parseInt(Se.substr(4))*w):le=="adj2"?(Te=L(x[U],["attrs","fmla"]),te=parseInt(Te.substr(4))*w):le=="adj3"&&(at=L(x[U],["attrs","fmla"]),Pe=parseInt(at.substr(4))*w)}var ze,ie=25e3*w,_t=75e3*w,Er=1e5*w,Xa=2e5*w,O=c/2,Zt=0,Tt=0,rt=h,ct=c,Jn=c/8,ue,Me,Xr,Kr,aa,xd,Ke,he,q,se,_e,He,qe,Re,bs,zt,yt,Qo,Cd,zt,At,cr,gr,Nr,sn,Ar,pl,ra,Od;if(ue=F<0?0:F>Er?Er:F,Me=te<ie?ie:te>_t?_t:te,Xr=Er-ue,Kr=Xr/2,aa=ue-Kr,xd=0>aa?0:aa,Ke=Pe<xd?xd:Pe>ue?ue:Pe,he=c*Me/Xa,q=O-he,se=q+Jn,_e=ct-se,He=ct-q,qe=ct-Jn,Re=h*Ke/Er,bs=4*Re/c,zt=se*se/c,yt=se-zt,Qo=se/2,Cd=ct-Qo,zt=h*ue/Er,At=zt-Re,cr=q*q/c,gr=q-cr,Nr=bs*gr,sn=rt-zt,Ar=Re*14/16,pl=q/2,ra=bs*pl,Od=ct-pl,y=="ellipseRibbon"){var G,Ls,ne,Hr,tr,Fo,K,Ye,st,gs,vl,Rt,Gd,vr;G=bs*yt,Ls=bs*Qo,ne=Nr+At,Hr=Re+At-ne,tr=Hr+Re,Fo=tr+At,K=(Ar+sn)/2,Ye=Nr+sn,st=ne+sn,gs=ra+sn,vl=Fo+sn,Rt=G+At,Gd=zt+zt-Rt,vr=rt-Re,ze="M"+Tt+","+Zt+" Q"+Qo+","+Ls+" "+se+","+G+" L"+q+","+ne+" Q"+O+","+Fo+" "+He+","+ne+" L"+_e+","+G+" Q"+Cd+","+Ls+" "+ct+","+Zt+" L"+qe+","+K+" L"+ct+","+sn+" Q"+Od+","+gs+" "+He+","+Ye+" L"+He+","+st+" Q"+O+","+vl+" "+q+","+st+" L"+q+","+Ye+" Q"+pl+","+gs+" "+Tt+","+sn+" L"+Jn+","+K+" zM"+q+","+Ye+" L"+q+","+ne+"M"+He+","+ne+" L"+He+","+Ye+"M"+se+","+G+" L"+se+","+Rt+"M"+_e+","+Rt+" L"+_e+","+G}else if(y=="ellipseRibbon2"){var mr,G,c2,Ls,cr,Nr,Rn,ne,Hr,tr,Ud,Fo,sn,Ar,qa,K,H0,Ye,Z0,st,d2,gs,h2,vl,f0,Rt,p2,Gd;mr=bs*yt,G=rt-mr,c2=bs*Qo,Ls=rt-c2,Rn=Nr+At,ne=rt-Rn,Hr=Re+At-Rn,tr=Hr+Re,Ud=tr+At,Fo=rt-Ud,qa=(Ar+sn)/2,K=rt-qa,H0=Nr+sn,Ye=rt-H0,Z0=Rn+sn,st=rt-Z0,d2=ra+sn,gs=rt-d2,h2=Ud+sn,vl=rt-h2,f0=mr+At,Rt=rt-f0,p2=zt+zt-f0,Gd=rt-p2,ze="M"+Tt+","+rt+" L"+Jn+","+K+" L"+Tt+","+zt+" Q"+pl+","+gs+" "+q+","+Ye+" L"+q+","+st+" Q"+O+","+vl+" "+He+","+st+" L"+He+","+Ye+" Q"+Od+","+gs+" "+ct+","+zt+" L"+qe+","+K+" L"+ct+","+rt+" Q"+Cd+","+Ls+" "+_e+","+G+" L"+He+","+ne+" Q"+O+","+Fo+" "+q+","+ne+" L"+se+","+G+" Q"+Qo+","+Ls+" "+Tt+","+rt+" zM"+q+","+ne+" L"+q+","+Ye+"M"+He+","+Ye+" L"+He+","+ne+"M"+se+","+Rt+" L"+se+","+G+"M"+_e+","+G+" L"+_e+","+Rt}p+="<path d='"+ze+"' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"line":case"straightConnector1":case"bentConnector4":case"bentConnector5":if(y==="bentConnector4"||y==="bentConnector5"){var Cf=Bp(y,e,c,h);p+="<polyline points='"+Cf.map(function(Vt){return Vt[0]+" "+Vt[1]}).join(",")+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' fill='none' "+y1(b,Be,We)+"/>";break}case"curvedConnector2":case"curvedConnector3":case"curvedConnector4":case"curvedConnector5":var ob=d5(L(m,["a:ext","attrs","cx"]),"x",_,c),fb=d5(L(m,["a:ext","attrs","cy"]),"y",_,h);p+="<line x1='0' y1='0' x2='"+ob+"' y2='"+fb+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' "+y1(b,Be,We),p+="/>";break;case"rightArrow":var x=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"]),Se,je=.25,Te,et=.5,Fn=c/h;if(x!==void 0)for(var U=0;U<x.length;U++){var le=L(x[U],["attrs","name"]);if(le=="adj1")Se=L(x[U],["attrs","fmla"]),je=.5-parseInt(Se.substr(4))/2e5;else if(le=="adj2"){Te=L(x[U],["attrs","fmla"]);var Qn=parseInt(Te.substr(4))/1e5;et=1-Qn/Fn}}p+=" <polygon points='"+c+" "+h/2+","+et*c+" 0,"+et*c+" "+je*h+",0 "+je*h+",0 "+(1-je)*h+","+et*c+" "+(1-je)*h+", "+et*c+" "+h+"' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"leftArrow":var x=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"]),Se,je=.25,Te,et=.5,Fn=c/h;if(x!==void 0)for(var U=0;U<x.length;U++){var le=L(x[U],["attrs","name"]);if(le=="adj1")Se=L(x[U],["attrs","fmla"]),je=.5-parseInt(Se.substr(4))/2e5;else if(le=="adj2"){Te=L(x[U],["attrs","fmla"]);var Qn=parseInt(Te.substr(4))/1e5;et=Qn/Fn}}p+=" <polygon points='0 "+h/2+","+et*c+" "+h+","+et*c+" "+(1-je)*h+","+c+" "+(1-je)*h+","+c+" "+je*h+","+et*c+" "+je*h+", "+et*c+" 0' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"downArrow":case"flowChartOffpageConnector":var x=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"]),Se,je=.25,Te,et=.5,Fn=h/c;if(x!==void 0)for(var U=0;U<x.length;U++){var le=L(x[U],["attrs","name"]);if(le=="adj1")Se=L(x[U],["attrs","fmla"]),je=parseInt(Se.substr(4))/2e5;else if(le=="adj2"){Te=L(x[U],["attrs","fmla"]);var Qn=parseInt(Te.substr(4))/1e5;et=Qn/Fn}}y=="flowChartOffpageConnector"&&(je=.5,et=.212),p+=" <polygon points='"+(.5-je)*c+" 0,"+(.5-je)*c+" "+(1-et)*h+",0 "+(1-et)*h+","+c/2+" "+h+","+c+" "+(1-et)*h+","+(.5+je)*c+" "+(1-et)*h+", "+(.5+je)*c+" 0' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"upArrow":var x=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"]),Se,je=.25,Te,et=.5,Fn=h/c;if(x!==void 0)for(var U=0;U<x.length;U++){var le=L(x[U],["attrs","name"]);if(le=="adj1")Se=L(x[U],["attrs","fmla"]),je=parseInt(Se.substr(4))/2e5;else if(le=="adj2"){Te=L(x[U],["attrs","fmla"]);var Qn=parseInt(Te.substr(4))/1e5;et=Qn/Fn}}p+=" <polygon points='"+c/2+" 0,0 "+et*h+","+(.5-je)*c+" "+et*h+","+(.5-je)*c+" "+h+","+(.5+je)*c+" "+h+","+(.5+je)*c+" "+et*h+", "+c+" "+et*h+"' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"leftRightArrow":var x=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"]),Se,je=.25,Te,et=.25,Fn=c/h;if(x!==void 0)for(var U=0;U<x.length;U++){var le=L(x[U],["attrs","name"]);if(le=="adj1")Se=L(x[U],["attrs","fmla"]),je=.5-parseInt(Se.substr(4))/2e5;else if(le=="adj2"){Te=L(x[U],["attrs","fmla"]);var Qn=parseInt(Te.substr(4))/1e5;et=Qn/Fn}}p+=" <polygon points='0 "+h/2+","+et*c+" "+h+","+et*c+" "+(1-je)*h+","+(1-et)*c+" "+(1-je)*h+","+(1-et)*c+" "+h+","+c+" "+h/2+", "+(1-et)*c+" 0,"+(1-et)*c+" "+je*h+","+et*c+" "+je*h+","+et*c+" 0' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"upDownArrow":var x=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"]),Se,je=.25,Te,et=.25,Fn=h/c;if(x!==void 0)for(var U=0;U<x.length;U++){var le=L(x[U],["attrs","name"]);if(le=="adj1")Se=L(x[U],["attrs","fmla"]),je=.5-parseInt(Se.substr(4))/2e5;else if(le=="adj2"){Te=L(x[U],["attrs","fmla"]);var Qn=parseInt(Te.substr(4))/1e5;et=Qn/Fn}}p+=" <polygon points='"+c/2+" 0,0 "+et*h+","+je*c+" "+et*h+","+je*c+" "+(1-et)*h+",0 "+(1-et)*h+","+c/2+" "+h+", "+c+" "+(1-et)*h+","+(1-je)*c+" "+(1-et)*h+","+(1-je)*c+" "+et*h+","+c+" "+et*h+"' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"quadArrow":var x=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"]),Se,F=22500*w,Te,te=22500*w,at,Pe=22500*w,ie=5e4*w,ce=1e5*w,_t=2e5*w;if(x!==void 0)for(var U=0;U<x.length;U++){var le=L(x[U],["attrs","name"]);le=="adj1"?(Se=L(x[U],["attrs","fmla"]),F=parseInt(Se.substr(4))*w):le=="adj2"?(Te=L(x[U],["attrs","fmla"]),te=parseInt(Te.substr(4))*w):le=="adj3"&&(at=L(x[U],["attrs","fmla"]),Pe=parseInt(at.substr(4))*w)}var W=h/2,O=c/2,ue,Me,Ke,zt,D,q,he,se,Lt,_e,He,qe,K,ne,de,Ye,st,nt,ut,it=Math.min(c,h);te<0?Me=0:te>ie?Me=ie:Me=te,nt=2*Me,F<0?ue=0:F>nt?ue=nt:ue=F,zt=ce-nt,ut=zt/2,Pe<0?Ke=0:Pe>ut?Ke=ut:Ke=Pe,D=it*Ke/ce,he=it*Me/ce,q=O-he,He=O+he,Lt=it*ue/_t,se=O-Lt,_e=O+Lt,qe=c-D,K=W-he,Ye=W+he,ne=W-Lt,de=W+Lt,st=h-D;var ze="M0,"+W+" L"+D+","+K+" L"+D+","+ne+" L"+se+","+ne+" L"+se+","+D+" L"+q+","+D+" L"+O+",0 L"+He+","+D+" L"+_e+","+D+" L"+_e+","+ne+" L"+qe+","+ne+" L"+qe+","+K+" L"+c+","+W+" L"+qe+","+Ye+" L"+qe+","+de+" L"+_e+","+de+" L"+_e+","+st+" L"+He+","+st+" L"+O+","+h+" L"+q+","+st+" L"+se+","+st+" L"+se+","+de+" L"+D+","+de+" L"+D+","+Ye+" z";p+="<path d='"+ze+"' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"leftRightUpArrow":var x=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"]),Se,F=25e3*w,Te,te=25e3*w,at,Pe=25e3*w,ie=5e4*w,ce=1e5*w,_t=2e5*w;if(x!==void 0)for(var U=0;U<x.length;U++){var le=L(x[U],["attrs","name"]);le=="adj1"?(Se=L(x[U],["attrs","fmla"]),F=parseInt(Se.substr(4))*w):le=="adj2"?(Te=L(x[U],["attrs","fmla"]),te=parseInt(Te.substr(4))*w):le=="adj3"&&(at=L(x[U],["attrs","fmla"]),Pe=parseInt(at.substr(4))*w)}var W=h/2,O=c/2,ue,Me,Ke,zt,D,q,he,se,Lt,_e,He,qe,K,Ze,ne,de,Ye,nt,ut,it=Math.min(c,h);te<0?Me=0:te>ie?Me=ie:Me=te,nt=2*Me,F<0?ue=0:F>nt?ue=nt:ue=F,zt=ce-nt,ut=zt/2,Pe<0?Ke=0:Pe>ut?Ke=ut:Ke=Pe,D=it*Ke/ce,he=it*Me/ce,q=O-he,He=O+he,Lt=it*ue/_t,se=O-Lt,_e=O+Lt,qe=c-D,Ze=it*Me/ie,K=h-Ze,de=h-he,ne=de-Lt,Ye=de+Lt;var ze="M0,"+de+" L"+D+","+K+" L"+D+","+ne+" L"+se+","+ne+" L"+se+","+D+" L"+q+","+D+" L"+O+",0 L"+He+","+D+" L"+_e+","+D+" L"+_e+","+ne+" L"+qe+","+ne+" L"+qe+","+K+" L"+c+","+de+" L"+qe+","+h+" L"+qe+","+Ye+" L"+D+","+Ye+" L"+D+","+h+" z";p+="<path d='"+ze+"' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"leftUpArrow":var x=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"]),Se,F=25e3*w,Te,te=25e3*w,at,Pe=25e3*w,ie=5e4*w,ce=1e5*w,_t=2e5*w;if(x!==void 0)for(var U=0;U<x.length;U++){var le=L(x[U],["attrs","name"]);le=="adj1"?(Se=L(x[U],["attrs","fmla"]),F=parseInt(Se.substr(4))*w):le=="adj2"?(Te=L(x[U],["attrs","fmla"]),te=parseInt(Te.substr(4))*w):le=="adj3"&&(at=L(x[U],["attrs","fmla"]),Pe=parseInt(at.substr(4))*w)}var W=h/2,O=c/2,ue,Me,Ke,D,q,Ka,Lt,se,_e,He,K,ne,de,Ye,nt,ut,it=Math.min(c,h);te<0?Me=0:te>ie?Me=ie:Me=te,nt=2*Me,F<0?ue=0:F>nt?ue=nt:ue=F,ut=ce-nt,Pe<0?Ke=0:Pe>ut?Ke=ut:Ke=Pe,D=it*Ke/ce,he=it*Me/ie,q=c-he,K=h-he,Ka=it*Me/ce,_e=c-Ka,de=h-Ka,Lt=it*ue/_t,se=_e-Lt,He=_e+Lt,ne=de-Lt,Ye=de+Lt;var ze="M0,"+de+" L"+D+","+K+" L"+D+","+ne+" L"+se+","+ne+" L"+se+","+D+" L"+q+","+D+" L"+_e+",0 L"+c+","+D+" L"+He+","+D+" L"+He+","+Ye+" L"+D+","+Ye+" L"+D+","+h+" z";p+="<path d='"+ze+"' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"bentUpArrow":var x=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"]),Se,F=25e3*w,Te,te=25e3*w,at,Pe=25e3*w,ie=5e4*w,ce=1e5*w,_t=2e5*w;if(x!==void 0)for(var U=0;U<x.length;U++){var le=L(x[U],["attrs","name"]);le=="adj1"?(Se=L(x[U],["attrs","fmla"]),F=parseInt(Se.substr(4))*w):le=="adj2"?(Te=L(x[U],["attrs","fmla"]),te=parseInt(Te.substr(4))*w):le=="adj3"&&(at=L(x[U],["attrs","fmla"]),Pe=parseInt(at.substr(4))*w)}var W=h/2,O=c/2,ue,Me,Ke,Ge,D,he,q,Lt,se,_e,G,K,Ze,it=Math.min(c,h);F<0?ue=0:F>ie?ue=ie:ue=F,te<0?Me=0:te>ie?Me=ie:Me=te,Pe<0?Ke=0:Pe>ut?Ke=ut:Ke=Pe,G=it*Ke/ce,Ge=it*Me/ie,D=c-Ge,Lt=it*Me/ce,se=c-Lt,he=it*ue/_t,q=se-he,_e=se+he,Ze=it*ue/ce,K=h-Ze;var ze="M0,"+K+" L"+q+","+K+" L"+q+","+G+" L"+D+","+G+" L"+se+",0 L"+c+","+G+" L"+_e+","+G+" L"+_e+","+h+" L0,"+h+" z";p+="<path d='"+ze+"' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"bentArrow":var x=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"]),Se,F=25e3*w,Te,te=25e3*w,at,Pe=25e3*w,nr,pt=43750*w,ie=5e4*w,ce=1e5*w;if(x!==void 0)for(var U=0;U<x.length;U++){var le=L(x[U],["attrs","name"]);le=="adj1"?(Se=L(x[U],["attrs","fmla"]),F=parseInt(Se.substr(4))*w):le=="adj2"?(Te=L(x[U],["attrs","fmla"]),te=parseInt(Te.substr(4))*w):le=="adj3"?(at=L(x[U],["attrs","fmla"]),Pe=parseInt(at.substr(4))*w):le=="adj4"&&(nr=L(x[U],["attrs","fmla"]),pt=parseInt(nr.substr(4))*w)}var ue,Me,Ke,br,se,_e,ne,de,Ye,st,nt,fr,it=Math.min(c,h);te<0?Me=0:te>ie?Me=ie:Me=te,nt=2*Me,F<0?ue=0:F>nt?ue=nt:ue=F,Pe<0?Ke=0:Pe>ie?Ke=ie:Ke=Pe;var ot,oa,Ca,Bi,Ut,ks,Hd,ml,wa,Ms,vn,ot=it*ue/ce;oa=it*Me/ce,Ca=ot/2,Bi=oa-Ca,Ut=it*Ke/ce,ks=c-Ut,Hd=h-Bi,ml=ks<Hd?ks:Hd,fr=ce*ml/it,pt<0?br=0:pt>fr?br=fr:br=pt,wa=it*br/ce,Ms=wa-ot,vn=Ms>0?Ms:0,se=ot+vn,_e=c-Ut,ne=Bi+ot,de=ne+Bi,Ye=Bi+wa,st=ne+vn;var ze="M0,"+h+" L0,"+Ye+ve(wa,Ye,wa,wa,180,270,!1).replace("M","L")+" L"+_e+","+Bi+" L"+_e+",0 L"+c+","+oa+" L"+_e+","+de+" L"+_e+","+ne+" L"+se+","+ne+ve(se,st,vn,vn,270,180,!1).replace("M","L")+" L"+ot+","+h+" z";p+="<path d='"+ze+"' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"uturnArrow":var x=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"]),Se,F=25e3*w,Te,te=25e3*w,at,Pe=25e3*w,nr,pt=43750*w,jn,Dr=75e3*w,ie=25e3*w,ce=1e5*w;if(x!==void 0)for(var U=0;U<x.length;U++){var le=L(x[U],["attrs","name"]);le=="adj1"?(Se=L(x[U],["attrs","fmla"]),F=parseInt(Se.substr(4))*w):le=="adj2"?(Te=L(x[U],["attrs","fmla"]),te=parseInt(Te.substr(4))*w):le=="adj3"?(at=L(x[U],["attrs","fmla"]),Pe=parseInt(at.substr(4))*w):le=="adj4"?(nr=L(x[U],["attrs","fmla"]),pt=parseInt(nr.substr(4))*w):le=="adj5"&&(jn=L(x[U],["attrs","fmla"]),Dr=parseInt(jn.substr(4))*w)}var ue,Me,Ke,br,wn,zt,yt,cr,se,_e,He,qe,mt,Mt,qt,de,Ye,Zd,nt,ut,fr,it=Math.min(c,h);te<0?Me=0:te>ie?Me=ie:Me=te,nt=2*Me,F<0?ue=0:F>nt?ue=nt:ue=F,yt=ue*it/h,cr=ce-yt,ut=cr*h/it,Pe<0?Ke=0:Pe>ut?Ke=ut:Ke=Pe,zt=Ke+ue,Zd=zt*it/h,Dr<Zd?wn=Zd:Dr>ce?wn=ce:wn=Dr;var ot,oa,Ca,Bi,Ut,ks,ml,wa,Ms,vn,ot=it*ue/ce;oa=it*Me/ce,Ca=ot/2,Bi=oa-Ca,Ye=h*wn/ce,Ut=it*Ke/ce,de=Ye-Ut,qt=c-Bi,ks=qt/2,ml=ks<de?ks:de,fr=ce*ml/it,pt<0?br=0:pt>fr?br=fr:br=pt,wa=it*br/ce,Ms=wa-ot,vn=Ms>0?Ms:0,se=ot+vn,Mt=c-oa,qe=Mt-oa,mt=qe+Bi,_e=qt-wa,He=mt-vn;let Eh=(ot+mt)/2,p4=(de+ot)/2;var ze="M0,"+h+" L0,"+wa+ve(wa,wa,wa,wa,180,270,!1).replace("M","L")+" L"+_e+",0"+ve(_e,wa,wa,wa,270,360,!1).replace("M","L")+" L"+qt+","+de+" L"+c+","+de+" L"+Mt+","+Ye+" L"+qe+","+de+" L"+mt+","+de+" L"+mt+","+se+ve(He,se,vn,vn,0,-90,!1).replace("M","L")+" L"+se+","+ot+ve(se,se,vn,vn,270,180,!1).replace("M","L")+" L"+ot+","+h+" z";p+="<path d='"+ze+"' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"stripedRightArrow":var x=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"]),Se,F=5e4*w,Te,te=5e4*w,ie=1e5*w,ce=2e5*w,_t=84375*w;if(x!==void 0)for(var U=0;U<x.length;U++){var le=L(x[U],["attrs","name"]);le=="adj1"?(Se=L(x[U],["attrs","fmla"]),F=parseInt(Se.substr(4))*w):le=="adj2"&&(Te=L(x[U],["attrs","fmla"]),te=parseInt(Te.substr(4))*w)}var ue,Me,_e,He,on,qe,Hc,G,Re,K,vt,W=h/2,it=Math.min(c,h);vt=_t*c/it,F<0?ue=0:F>ie?ue=ie:ue=F,te<0?Me=0:te>vt?Me=vt:Me=te,_e=it*5/32,on=it*Me/ie,He=c-on,Re=h*ue/ce,G=W-Re,K=W+Re;var jo=it/8,v2=it/16,m2=it/32,ze="M0,"+G+" L"+m2+","+G+" L"+m2+","+K+" L0,"+K+" z M"+v2+","+G+" L"+jo+","+G+" L"+jo+","+K+" L"+v2+","+K+" z M"+_e+","+G+" L"+He+","+G+" L"+He+",0 L"+c+","+W+" L"+He+","+h+" L"+He+","+K+" L"+_e+","+K+" z";p+="<path d='"+ze+"' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"notchedRightArrow":var x=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"]),Se,F=5e4*w,Te,te=5e4*w,ie=1e5*w,ce=2e5*w;if(x!==void 0)for(var U=0;U<x.length;U++){var le=L(x[U],["attrs","name"]);le=="adj1"?(Se=L(x[U],["attrs","fmla"]),F=parseInt(Se.substr(4))*w):le=="adj2"&&(Te=L(x[U],["attrs","fmla"]),te=parseInt(Te.substr(4))*w)}var ue,Me,D,q,he,G,Re,K,vt,W=h/2,Oe=W,it=Math.min(c,h);vt=ie*c/it,F<0?ue=0:F>ie?ue=ie:ue=F,te<0?Me=0:te>vt?Me=vt:Me=te,he=it*Me/ie,q=c-he,Re=h*ue/ce,G=W-Re,K=W+Re,D=Re*he/Oe;var ze="M0,"+G+" L"+q+","+G+" L"+q+",0 L"+c+","+W+" L"+q+","+h+" L"+q+","+K+" L0,"+K+" L"+D+","+W+" z";p+="<path d='"+ze+"' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"homePlate":var ye=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd","attrs","fmla"]),we=5e4*w,ie=1e5*w;ye!==void 0&&(we=parseInt(ye.substr(4))*w);var Ne,D,Ge,ft,W=h/2,it=Math.min(c,h);ft=ie*c/it,we<0?Ne=0:we>ft?Ne=ft:Ne=we,Ge=it*Ne/ie,D=c-Ge;var ze="M0,0 L"+D+",0 L"+c+","+W+" L"+D+","+h+" L0,"+h+" z";p+="<path d='"+ze+"' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"chevron":var ye=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd","attrs","fmla"]),we=5e4*w,ie=1e5*w;ye!==void 0&&(we=parseInt(ye.substr(4))*w);var Ne,D,Ge,q,ft,W=h/2,it=Math.min(c,h);ft=ie*c/it,we<0?Ne=0:we>ft?Ne=ft:Ne=we,D=it*Ne/ie,q=c-D;var ze="M0,0 L"+q+",0 L"+c+","+W+" L"+q+","+h+" L0,"+h+" L"+D+","+W+" z";p+="<path d='"+ze+"' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"rightArrowCallout":var x=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"]),Se,F=25e3*w,Te,te=25e3*w,at,Pe=25e3*w,nr,pt=64977*w,ie=5e4*w,ce=1e5*w,_t=2e5*w;if(x!==void 0)for(var U=0;U<x.length;U++){var le=L(x[U],["attrs","name"]);le=="adj1"?(Se=L(x[U],["attrs","fmla"]),F=parseInt(Se.substr(4))*w):le=="adj2"?(Te=L(x[U],["attrs","fmla"]),te=parseInt(Te.substr(4))*w):le=="adj3"?(at=L(x[U],["attrs","fmla"]),Pe=parseInt(at.substr(4))*w):le=="adj4"&&(nr=L(x[U],["attrs","fmla"]),pt=parseInt(nr.substr(4))*w)}var vt,Me,nt,ue,ut,Ke,yt,fr,br,Re,Ze,G,K,ne,de,Lt,se,q,D,W=h/2,ct=c,rt=h,Tt=0,Zt=0,Ie=Math.min(c,h);vt=ie*h/Ie,Me=te<0?0:te>vt?vt:te,nt=Me*2,ue=F<0?0:F>nt?nt:F,ut=ce*c/Ie,Ke=Pe<0?0:Pe>ut?ut:Pe,yt=Ke*Ie/c,fr=cnstVal-yt,br=pt<0?0:pt>fr?fr:pt,Re=Ie*Me/ce,Ze=Ie*ue/_t,G=W-Re,K=W-Ze,ne=W+Ze,de=W+Re,Lt=Ie*Ke/ce,se=ct-Lt,q=c*br/ce,D=q/2;var ze="M"+Tt+","+Zt+" L"+q+","+Zt+" L"+q+","+K+" L"+se+","+K+" L"+se+","+G+" L"+ct+","+W+" L"+se+","+de+" L"+se+","+ne+" L"+q+","+ne+" L"+q+","+rt+" L"+Tt+","+rt+" z";p+="<path d='"+ze+"' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"downArrowCallout":var x=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"]),Se,F=25e3*w,Te,te=25e3*w,at,Pe=25e3*w,nr,pt=64977*w,ie=5e4*w,ce=1e5*w,_t=2e5*w;if(x!==void 0)for(var U=0;U<x.length;U++){var le=L(x[U],["attrs","name"]);le=="adj1"?(Se=L(x[U],["attrs","fmla"]),F=parseInt(Se.substr(4))*w):le=="adj2"?(Te=L(x[U],["attrs","fmla"]),te=parseInt(Te.substr(4))*w):le=="adj3"?(at=L(x[U],["attrs","fmla"]),Pe=parseInt(at.substr(4))*w):le=="adj4"&&(nr=L(x[U],["attrs","fmla"]),pt=parseInt(nr.substr(4))*w)}var vt,Me,nt,ue,ut,Ke,yt,fr,br,Ge,he,D,q,se,_e,At,ne,K,G,O=c/2,ct=c,rt=h,Tt=0,Zt=0,Ie=Math.min(c,h);vt=ie*c/Ie,Me=te<0?0:te>vt?vt:te,nt=Me*2,ue=F<0?0:F>nt?nt:F,ut=ce*h/Ie,Ke=Pe<0?0:Pe>ut?ut:Pe,yt=Ke*Ie/h,fr=ce-yt,br=pt<0?0:pt>fr?fr:pt,Ge=Ie*Me/ce,he=Ie*ue/_t,D=O-Ge,q=O-he,se=O+he,_e=O+Ge,At=Ie*Ke/ce,ne=rt-At,K=h*br/ce,G=K/2;var ze="M"+Tt+","+Zt+" L"+ct+","+Zt+" L"+ct+","+K+" L"+se+","+K+" L"+se+","+ne+" L"+_e+","+ne+" L"+O+","+rt+" L"+D+","+ne+" L"+q+","+ne+" L"+q+","+K+" L"+Tt+","+K+" z";p+="<path d='"+ze+"' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"leftArrowCallout":var x=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"]),Se,F=25e3*w,Te,te=25e3*w,at,Pe=25e3*w,nr,pt=64977*w,ie=5e4*w,ce=1e5*w,_t=2e5*w;if(x!==void 0)for(var U=0;U<x.length;U++){var le=L(x[U],["attrs","name"]);le=="adj1"?(Se=L(x[U],["attrs","fmla"]),F=parseInt(Se.substr(4))*w):le=="adj2"?(Te=L(x[U],["attrs","fmla"]),te=parseInt(Te.substr(4))*w):le=="adj3"?(at=L(x[U],["attrs","fmla"]),Pe=parseInt(at.substr(4))*w):le=="adj4"&&(nr=L(x[U],["attrs","fmla"]),pt=parseInt(nr.substr(4))*w)}var vt,Me,nt,ue,ut,Ke,yt,fr,br,Re,Ze,G,K,ne,de,D,he,q,se,W=h/2,ct=c,rt=h,Tt=0,Zt=0,Ie=Math.min(c,h);vt=ie*h/Ie,Me=te<0?0:te>vt?vt:te,nt=Me*2,ue=F<0?0:F>nt?nt:F,ut=ce*c/Ie,Ke=Pe<0?0:Pe>ut?ut:Pe,yt=Ke*Ie/c,fr=ce-yt,br=pt<0?0:pt>fr?fr:pt,Re=Ie*Me/ce,Ze=Ie*ue/_t,G=W-Re,K=W-Ze,ne=W+Ze,de=W+Re,D=Ie*Ke/ce,he=c*br/ce,q=ct-he,se=(q+ct)/2;var ze="M"+Tt+","+W+" L"+D+","+G+" L"+D+","+K+" L"+q+","+K+" L"+q+","+Zt+" L"+ct+","+Zt+" L"+ct+","+rt+" L"+q+","+rt+" L"+q+","+ne+" L"+D+","+ne+" L"+D+","+de+" z";p+="<path d='"+ze+"' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"upArrowCallout":var x=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"]),Se,F=25e3*w,Te,te=25e3*w,at,Pe=25e3*w,nr,pt=64977*w,ie=5e4*w,ce=1e5*w,_t=2e5*w;if(x!==void 0)for(var U=0;U<x.length;U++){var le=L(x[U],["attrs","name"]);le=="adj1"?(Se=L(x[U],["attrs","fmla"]),F=parseInt(Se.substr(4))*w):le=="adj2"?(Te=L(x[U],["attrs","fmla"]),te=parseInt(Te.substr(4))*w):le=="adj3"?(at=L(x[U],["attrs","fmla"]),Pe=parseInt(at.substr(4))*w):le=="adj4"&&(nr=L(x[U],["attrs","fmla"]),pt=parseInt(nr.substr(4))*w)}var vt,Me,nt,ue,ut,Ke,yt,fr,br,Ge,he,D,q,se,_e,G,Ze,K,ne,O=c/2,ct=c,rt=h,Tt=0,Zt=0,Ie=Math.min(c,h);vt=ie*c/Ie,Me=te<0?0:te>vt?vt:te,nt=Me*2,ue=F<0?0:F>nt?nt:F,ut=ce*h/Ie,Ke=Pe<0?0:Pe>ut?ut:Pe,yt=Ke*Ie/h,fr=ce-yt,br=pt<0?0:pt>fr?fr:pt,Ge=Ie*Me/ce,he=Ie*ue/_t,D=O-Ge,q=O-he,se=O+he,_e=O+Ge,G=Ie*Ke/ce,Ze=h*br/ce,K=rt-Ze,ne=(K+rt)/2;var ze="M"+Tt+","+K+" L"+q+","+K+" L"+q+","+G+" L"+D+","+G+" L"+O+","+Zt+" L"+_e+","+G+" L"+se+","+G+" L"+se+","+K+" L"+ct+","+K+" L"+ct+","+rt+" L"+Tt+","+rt+" z";p+="<path d='"+ze+"' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"leftRightArrowCallout":var x=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"]),Se,F=25e3*w,Te,te=25e3*w,at,Pe=25e3*w,nr,pt=48123*w,ie=5e4*w,ce=1e5*w,_t=2e5*w;if(x!==void 0)for(var U=0;U<x.length;U++){var le=L(x[U],["attrs","name"]);le=="adj1"?(Se=L(x[U],["attrs","fmla"]),F=parseInt(Se.substr(4))*w):le=="adj2"?(Te=L(x[U],["attrs","fmla"]),te=parseInt(Te.substr(4))*w):le=="adj3"?(at=L(x[U],["attrs","fmla"]),Pe=parseInt(at.substr(4))*w):le=="adj4"&&(nr=L(x[U],["attrs","fmla"]),pt=parseInt(nr.substr(4))*w)}var vt,Me,nt,ue,ut,Ke,yt,fr,br,Re,Ze,G,K,ne,de,D,_e,he,q,se,W=h/2,O=c/2,ct=c,rt=h,Tt=0,Zt=0,Ie=Math.min(c,h);vt=ie*h/Ie,Me=te<0?0:te>vt?vt:te,nt=Me*2,ue=F<0?0:F>nt?nt:F,ut=ie*c/Ie,Ke=Pe<0?0:Pe>ut?ut:Pe,yt=Ke*Ie/Ae,fr=ce-yt,br=pt<0?0:pt>fr?fr:pt,Re=Ie*Me/ce,Ze=Ie*ue/_t,G=W-Re,K=W-Ze,ne=W+Ze,de=W+Re,D=Ie*Ke/ce,_e=ct-D,he=c*br/_t,q=O-he,se=O+he;var ze="M"+Tt+","+W+" L"+D+","+G+" L"+D+","+K+" L"+q+","+K+" L"+q+","+Zt+" L"+se+","+Zt+" L"+se+","+K+" L"+_e+","+K+" L"+_e+","+G+" L"+ct+","+W+" L"+_e+","+de+" L"+_e+","+ne+" L"+se+","+ne+" L"+se+","+rt+" L"+q+","+rt+" L"+q+","+ne+" L"+D+","+ne+" L"+D+","+de+" z";p+="<path d='"+ze+"' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"quadArrowCallout":var x=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"]),Se,F=18515*w,Te,te=18515*w,at,Pe=18515*w,nr,pt=48123*w,ie=5e4*w,ce=1e5*w,_t=2e5*w;if(x!==void 0)for(var U=0;U<x.length;U++){var le=L(x[U],["attrs","name"]);le=="adj1"?(Se=L(x[U],["attrs","fmla"]),F=parseInt(Se.substr(4))*w):le=="adj2"?(Te=L(x[U],["attrs","fmla"]),te=parseInt(Te.substr(4))*w):le=="adj3"?(at=L(x[U],["attrs","fmla"]),Pe=parseInt(at.substr(4))*w):le=="adj4"&&(nr=L(x[U],["attrs","fmla"]),pt=parseInt(nr.substr(4))*w)}var W=h/2,O=c/2,ct=c,rt=h,Tt=0,Zt=0,Ie=Math.min(c,h),Me,nt,ue,ut,Ke,yt,fr,br,he,Lt,Ut,Ge,Re,Mt,q,mt,se,qe,_e,He,vr,K,Rt,ne,st,de,Ye;Me=te<0?0:te>ie?ie:te,nt=Me*2,ue=F<0?0:F>nt?nt:F,ut=ie-Me,Ke=Pe<0?0:Pe>ut?ut:Pe,yt=Ke*2,fr=ce-yt,br=pt<ue?ue:pt>fr?fr:pt,he=Ie*Me/ce,Lt=Ie*ue/_t,Ut=Ie*Ke/ce,Ge=c*br/_t,Re=h*br/_t,Mt=ct-Ut,q=O-Ge,mt=O+Ge,se=O-he,qe=O+he,_e=O-Lt,He=O+Lt,vr=rt-Ut,K=W-Re,Rt=W+Re,ne=W-he,st=W+he,de=W-Lt,Ye=W+Lt;var ze="M"+Tt+","+W+" L"+Ut+","+ne+" L"+Ut+","+de+" L"+q+","+de+" L"+q+","+K+" L"+_e+","+K+" L"+_e+","+Ut+" L"+se+","+Ut+" L"+O+","+Zt+" L"+qe+","+Ut+" L"+He+","+Ut+" L"+He+","+K+" L"+mt+","+K+" L"+mt+","+de+" L"+Mt+","+de+" L"+Mt+","+ne+" L"+ct+","+W+" L"+Mt+","+st+" L"+Mt+","+Ye+" L"+mt+","+Ye+" L"+mt+","+Rt+" L"+He+","+Rt+" L"+He+","+vr+" L"+qe+","+vr+" L"+O+","+rt+" L"+se+","+vr+" L"+_e+","+vr+" L"+_e+","+Rt+" L"+q+","+Rt+" L"+q+","+Ye+" L"+Ut+","+Ye+" L"+Ut+","+st+" z";p+="<path d='"+ze+"' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"curvedDownArrow":var x=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"]),Se,F=25e3*w,Te,te=5e4*w,at,Pe=25e3*w,ie=5e4*w,ce=1e5*w;if(x!==void 0)for(var U=0;U<x.length;U++){var le=L(x[U],["attrs","name"]);le=="adj1"?(Se=L(x[U],["attrs","fmla"]),F=parseInt(Se.substr(4))*w):le=="adj2"?(Te=L(x[U],["attrs","fmla"]),te=parseInt(Te.substr(4))*w):le=="adj3"&&(at=L(x[U],["attrs","fmla"]),Pe=parseInt(at.substr(4))*w)}var W=h/2,O=c/2,Ae=c/2,ct=c,rt=h,Tt=0,Zt=0,wt=270,bt=180,It=90,Ie=Math.min(c,h),vt,Me,ue,ot,ma,zt,Ht,tr,Ar,ra,Xr,Kr,Lr,ut,Ke,Ut,se,yt,cr,gr,Nr,Vn,He,mt,Hr,Ja,_e,Mt,oa,qe,G,Xt,n0,Es,Ps,aa,fa,Wt,s0,mn,i0;vt=ie*c/Ie,Me=te<0?0:te>vt?vt:te,ue=F<0?0:F>ce?ce:F,ot=Ie*ue/ce,ma=Ie*Me/ce,zt=(ot+ma)/4,Ht=Ae-zt,tr=Ht*2,Ar=tr*tr,ra=ot*ot,Xr=Ar-ra,Kr=Math.sqrt(Xr),Lr=Kr*h/tr,ut=ce*Lr/Ie,Ke=Pe<0?0:Pe>ut?ut:Pe,Ut=Ie*Pe/ce,se=Ht+ot,yt=h*h,cr=Ut*Ut,gr=yt-cr,Nr=Math.sqrt(gr),Vn=Nr*Ht/h,He=Ht+Vn,mt=se+Vn,Hr=ma-ot,Ja=Hr/2,_e=He-Ja,Mt=mt+Ja,oa=ma/2,qe=ct-oa,G=rt-Ut,Xt=Math.atan(Vn/Ut);var Wd=Xt*180/Math.PI;n0=-Wd,Es=rt-Lr,Ps=(Ht+se)/2,aa=ot/2,fa=Math.atan(aa/Lr);var $d=fa*180/Math.PI;Wt=wt+Wd,s0=wt-$d,mn=$d-It,i0=It+$d;var ze="M"+qe+","+rt+" L"+_e+","+G+" L"+He+","+G+ve(Ht,h,Ht,h,Wt,Wt+n0,!1).replace("M","L")+" L"+se+","+Zt+ve(se,h,Ht,h,wt,wt+Wd,!1).replace("M","L")+" L"+(He+ot)+","+G+" L"+Mt+","+G+" zM"+se+","+Zt+ve(se,h,Ht,h,s0,s0+mn,!1).replace("M","L")+ve(Ht,h,Ht,h,bt,bt+i0,!1).replace("M","L");p+="<path d='"+ze+"' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"curvedLeftArrow":var x=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"]),Se,F=25e3*w,Te,te=5e4*w,at,Pe=25e3*w,ie=5e4*w,ce=1e5*w;if(x!==void 0)for(var U=0;U<x.length;U++){var le=L(x[U],["attrs","name"]);le=="adj1"?(Se=L(x[U],["attrs","fmla"]),F=parseInt(Se.substr(4))*w):le=="adj2"?(Te=L(x[U],["attrs","fmla"]),te=parseInt(Te.substr(4))*w):le=="adj3"&&(at=L(x[U],["attrs","fmla"]),Pe=parseInt(at.substr(4))*w)}var W=h/2,O=c/2,Oe=h/2,ct=c,rt=h,Tt=0,Zt=0,wt=270,bt=180,It=90,Ie=Math.min(c,h),vt,Me,ue,ot,ma,zt,Ve,tr,Ar,ra,Xr,Kr,yr,ut,Ke,Ut,ne,yt,cr,gr,Nr,qn,Ye,Rt,Hr,Ja,de,vr,oa,st,D,Xt,n0,Ps,Es,aa,fa,mn,i0,Ss;vt=ie*h/Ie,Me=te<0?0:te>vt?vt:te,ue=F<0?0:F>Me?Me:F,ot=Ie*ue/ce,ma=Ie*Me/ce,zt=(ot+ma)/4,Ve=Oe-zt,tr=Ve*2,Ar=tr*tr,ra=ot*ot,Xr=Ar-ra,Kr=Math.sqrt(Xr),yr=Kr*c/tr,ut=ce*yr/Ie,Ke=Pe<0?0:Pe>ut?ut:Pe,Ut=Ie*Ke/ce,ne=Ve+ot,yt=c*c,cr=Ut*Ut,gr=yt-cr,Nr=Math.sqrt(gr),qn=Nr*Ve/c,Ye=Ve+qn,Rt=ne+qn,Hr=ma-ot,Ja=Hr/2,de=Ye-Ja,vr=Rt+Ja,oa=ma/2,st=rt-oa,D=Tt+Ut,Xt=Math.atan(qn/Ut),n0=-Xt,Ps=Tt+yr,Es=(Ve+ne)/2,aa=ot/2,fa=Math.atan(aa/yr),mn=fa-Xt,i0=Xt+fa,Ss=-fa;var Di,_2,lb,Zc;Di=Xt*180/Math.PI,_2=mn*180/Math.PI,lb=i0*180/Math.PI,Zc=Ss*180/Math.PI;var ze="M"+ct+","+ne+ve(Tt,Ve,c,Ve,0,-It,!1).replace("M","L")+" L"+Tt+","+Zt+ve(Tt,ne,c,Ve,wt,wt+It,!1).replace("M","L")+" L"+ct+","+ne+ve(Tt,ne,c,Ve,0,Di,!1).replace("M","L")+" L"+D+","+Rt+" L"+D+","+vr+" L"+Tt+","+st+" L"+D+","+de+" L"+D+","+Ye+ve(Tt,Ve,c,Ve,Di,Di+_2,!1).replace("M","L")+ve(Tt,Ve,c,Ve,0,-It,!1).replace("M","L")+ve(Tt,ne,c,Ve,wt,wt+It,!1).replace("M","L");p+="<path d='"+ze+"' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"curvedRightArrow":var x=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"]),Se,F=25e3*w,Te,te=5e4*w,at,Pe=25e3*w,ie=5e4*w,ce=1e5*w;if(x!==void 0)for(var U=0;U<x.length;U++){var le=L(x[U],["attrs","name"]);le=="adj1"?(Se=L(x[U],["attrs","fmla"]),F=parseInt(Se.substr(4))*w):le=="adj2"?(Te=L(x[U],["attrs","fmla"]),te=parseInt(Te.substr(4))*w):le=="adj3"&&(at=L(x[U],["attrs","fmla"]),Pe=parseInt(at.substr(4))*w)}var W=h/2,O=c/2,Oe=h/2,ct=c,rt=h,Tt=0,Zt=0,wt=270,bt=180,It=90,Ie=Math.min(c,h),vt,Me,ue,ot,ma,zt,Ve,tr,Ar,ra,Xr,Kr,yr,ut,Ke,Ut,ne,yt,cr,gr,Nr,qn,Ye,Rt,Hr,Ja,de,vr,oa,st,D,Xt,Wt,n0,Ps,Es,aa,fa,mn,i0,Ss;vt=ie*h/Ie,Me=te<0?0:te>vt?vt:te,ue=F<0?0:F>Me?Me:F,ot=Ie*ue/ce,ma=Ie*Me/ce,zt=(ot+ma)/4,Ve=Oe-zt,tr=Ve*2,Ar=tr*tr,ra=ot*ot,Xr=Ar-ra,Kr=Math.sqrt(Xr),yr=Kr*c/tr,ut=ce*yr/Ie,Ke=Pe<0?0:Pe>ut?ut:Pe,Ut=Ie*Ke/ce,ne=Ve+ot,yt=c*c,cr=Ut*Ut,gr=yt-cr,Nr=Math.sqrt(gr),qn=Nr*Ve/c,Ye=Ve+qn,Rt=ne+qn,Hr=ma-ot,Ja=Hr/2,de=Ye-Ja,vr=Rt+Ja,oa=ma/2,st=rt-oa,D=ct-Ut,Xt=Math.atan(qn/Ut),Wt=Math.PI+0-Xt,n0=-Xt,Ps=ct-yr,Es=(Ve+ne)/2,aa=ot/2,fa=Math.atan(aa/yr),mn=fa-Math.PI/2,i0=Math.PI/2+fa,Ss=Math.PI-fa;var Yd,b2,Di,qo;Yd=Wt*180/Math.PI,b2=n0*180/Math.PI,Di=Xt*180/Math.PI,qo=mn*180/Math.PI;var ze="M"+Tt+","+Ve+ve(c,Ve,c,Ve,bt,bt+b2,!1).replace("M","L")+" L"+D+","+Ye+" L"+D+","+de+" L"+ct+","+st+" L"+D+","+vr+" L"+D+","+Rt+ve(c,ne,c,Ve,Yd,Yd+Di,!1).replace("M","L")+" L"+Tt+","+Ve+ve(c,Ve,c,Ve,bt,bt+It,!1).replace("M","L")+" L"+ct+","+ot+ve(c,ne,c,Ve,wt,wt+qo,!1).replace("M","L");p+="<path d='"+ze+"' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"curvedUpArrow":var x=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"]),Se,F=25e3*w,Te,te=5e4*w,at,Pe=25e3*w,ie=5e4*w,ce=1e5*w;if(x!==void 0)for(var U=0;U<x.length;U++){var le=L(x[U],["attrs","name"]);le=="adj1"?(Se=L(x[U],["attrs","fmla"]),F=parseInt(Se.substr(4))*w):le=="adj2"?(Te=L(x[U],["attrs","fmla"]),te=parseInt(Te.substr(4))*w):le=="adj3"&&(at=L(x[U],["attrs","fmla"]),Pe=parseInt(at.substr(4))*w)}var W=h/2,O=c/2,Ae=c/2,ct=c,rt=h,Tt=0,Zt=0,wt=270,bt=180,It=90,Ie=Math.min(c,h),vt,Me,ue,ot,ma,zt,Ht,tr,Ar,ra,Xr,Kr,Lr,ut,Ke,Ut,se,yt,cr,gr,Nr,Vn,He,mt,Hr,Ja,_e,Mt,oa,qe,G,Xt,n0,Es,Ps,aa,fa,mn,ub,Ss,i0,s0;vt=ie*c/Ie,Me=te<0?0:te>vt?vt:te,ue=F<0?0:F>ce?ce:F,ot=Ie*ue/ce,ma=Ie*Me/ce,zt=(ot+ma)/4,Ht=Ae-zt,tr=Ht*2,Ar=tr*tr,ra=ot*ot,Xr=Ar-ra,Kr=Math.sqrt(Xr),Lr=Kr*h/tr,ut=ce*Lr/Ie,Ke=Pe<0?0:Pe>ut?ut:Pe,Ut=Ie*Pe/ce,se=Ht+ot,yt=h*h,cr=Ut*Ut,gr=yt-cr,Nr=Math.sqrt(gr),Vn=Nr*Ht/h,He=Ht+Vn,mt=se+Vn,Hr=ma-ot,Ja=Hr/2,_e=He-Ja,Mt=mt+Ja,oa=ma/2,qe=ct-oa,G=Zt+Ut,Xt=Math.atan(Vn/Ut),n0=-Xt,Es=Zt+Lr,Ps=(Ht+se)/2,aa=ot/2,fa=Math.atan(aa/Lr),mn=fa-Xt,ub=-mn,Ss=Math.PI/2-Xt,i0=Xt+fa,s0=Math.PI/2-fa;var Ad,qo,Di,qo;Ad=s0*180/Math.PI,qo=mn*180/Math.PI,Zc=Ss*180/Math.PI,Di=Xt*180/Math.PI;var ze=ve(Ht,0,Ht,h,Ad,Ad+qo,!1)+" L"+He+","+G+" L"+_e+","+G+" L"+qe+","+Zt+" L"+Mt+","+G+" L"+mt+","+G+ve(se,0,Ht,h,Zc,Zc+Di,!1).replace("M","L")+" L"+Ht+","+rt+ve(Ht,0,Ht,h,It,bt,!1).replace("M","L")+" L"+ot+","+Zt+ve(se,0,Ht,h,bt,It,!1).replace("M","L");p+="<path d='"+ze+"' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"mathDivide":case"mathEqual":case"mathMinus":case"mathMultiply":case"mathNotEqual":case"mathPlus":var x=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"]),Se,F,Te,te,at,Pe;if(x!==void 0)if(x.constructor===Array)for(var U=0;U<x.length;U++){var le=L(x[U],["attrs","name"]);le=="adj1"?(Se=L(x[U],["attrs","fmla"]),F=parseInt(Se.substr(4))):le=="adj2"?(Te=L(x[U],["attrs","fmla"]),te=parseInt(Te.substr(4))):le=="adj3"&&(at=L(x[U],["attrs","fmla"]),Pe=parseInt(at.substr(4)))}else Se=L(x,["attrs","fmla"]),F=parseInt(Se.substr(4));var ie=5e4*w,ce=1e5*w,_t=2e5*w,yn,O=c/2,W=h/2,Oe=h/2;if(y=="mathNotEqual"){x===void 0?(F=23520*w,te=110*Math.PI/180,Pe=11760*w):(F=F*w,te=te/6e4*Math.PI/180,Pe=Pe*w);var ue,L2,_l,ut,Ke,Re,Ze,Ge,D,Mt,K,ne,G,de,Vo,Ni,Wc,G0,g2,mt,k2,qe,M2,He,E2,_e,P2,se,S2,q,cc,md,vd,pd,hd,Sv,es,I2,T2,$c,Yc,At,_n,Ac,Xc,Xd,Kd,Jd,Qd,cb,Fd,qd,Vd,jd,db,_s=70*Math.PI/180,y2=110*Math.PI/180,Er=73490*w;ue=F<0?0:F>ie?ie:F,L2=te<_s?_s:te>y2?y2:te,_l=ue*2,ut=ce-_l,Ke=Pe<0?0:Pe>ut?ut:Pe,Re=h*ue/ce,Ze=h*Ke/_t,Ge=c*Er/_t,D=O-Ge,Mt=O+Ge,K=W-Ze,ne=W+Ze,G=K-Re,de=ne+Re,Vo=L2-Math.PI/2,Ni=Oe*Math.tan(Vo),Wc=Math.sqrt(Ni*Ni+Oe*Oe),G0=Wc*Re/Oe,g2=G0/2,mt=O+Ni-g2,k2=Ni*G/Oe,qe=mt-k2,M2=Ni*K/Oe,He=mt-M2,E2=Ni*ne/Oe,_e=mt-E2,P2=Ni*de/Oe,se=mt-P2,S2=Ni*2,q=mt-S2,cc=mt+G0,md=qe+G0,vd=He+G0,pd=_e+G0,hd=se+G0,Sv=q+G0,es=Re*Oe/Wc,I2=mt+es,T2=cc-es,$c=Vo>0?I2:cc,Yc=Vo>0?mt:T2,At=Re*Ni/Wc,_n=-At,Ac=Vo>0?At:0,Xc=Vo>0?0:_n,Xd=c-$c,Kd=c-Yc,Jd=h-Ac,Qd=h-Xc,cb=($c+Yc)/2,Fd=(Kd+Xd)/2,qd=(Ac+Xc)/2,Vd=(G+K)/2,jd=(ne+de)/2,db=(Qd+Jd)/2,yn="M"+D+","+G+" L"+qe+","+G+" L"+Yc+","+Xc+" L"+$c+","+Ac+" L"+md+","+G+" L"+Mt+","+G+" L"+Mt+","+K+" L"+vd+","+K+" L"+pd+","+ne+" L"+Mt+","+ne+" L"+Mt+","+de+" L"+hd+","+de+" L"+Kd+","+Qd+" L"+Xd+","+Jd+" L"+se+","+de+" L"+D+","+de+" L"+D+","+ne+" L"+_e+","+ne+" L"+He+","+K+" L"+D+","+K+" z"}else if(y=="mathDivide"){x===void 0?(F=23520*w,te=5880*w,Pe=11760*w):(F=F*w,te=te*w,Pe=Pe*w);var ue,w2,eh,th,ut,Ke,R2,vt,Me,Re,B2,Tn,Ge,ne,de,Ne,K,G,Ye,D,se,q,Er=1e3*w,Xa=36745*w,ya=73490*w;ue=F<Er?Er:F>Xa?Xa:F,w2=-ue,eh=(ya+w2)/4,th=Xa*c/h,ut=eh<th?eh:th,Ke=Pe<Er?Er:Pe>ut?ut:Pe,R2=-4*Ke,vt=ya+R2-ue,Me=te<0?0:te>vt?vt:te,Re=h*ue/_t,B2=h*Me/ce,Tn=h*Ke/ce,Ge=c*ya/_t,ne=W-Re,de=W+Re,Ne=B2+Tn,K=ne-Ne,G=K-Tn,Ye=h-G,D=O-Ge,se=O+Ge,q=O-Tn;var It=90,wt=270,Xn=O-Math.cos(wt*Math.PI/180)*Tn,t0=G-Math.sin(wt*Math.PI/180)*Tn,C0=O-Math.cos(Math.PI/2)*Tn,x0=Ye-Math.sin(Math.PI/2)*Tn;yn="M"+O+","+G+ve(Xn,t0,Tn,Tn,wt,wt+360,!1).replace("M","L")+" z M"+O+","+Ye+ve(C0,x0,Tn,Tn,It,It+360,!1).replace("M","L")+" z M"+D+","+ne+" L"+se+","+ne+" L"+se+","+de+" L"+D+","+de+" z"}else if(y=="mathEqual"){x===void 0?(F=23520*w,te=11760*w):(F=F*w,te=te*w);var Xa=36745*w,ya=73490*w,ue,_l,rh,Me,Re,Ze,Ge,K,ne,G,de,D,q,qd,Vd;ue=F<0?0:F>Xa?Xa:F,_l=ue*2,rh=ce-_l,Me=te<0?0:te>rh?rh:te,Re=h*ue/ce,Ze=h*Me/_t,Ge=c*ya/_t,K=W-Ze,ne=W+Ze,G=K-Re,de=ne+Re,D=O-Ge,q=O+Ge,qd=(G+K)/2,Vd=(ne+de)/2,yn="M"+D+","+G+" L"+q+","+G+" L"+q+","+K+" L"+D+","+K+" zM"+D+","+ne+" L"+q+","+ne+" L"+q+","+de+" L"+D+","+de+" z"}else if(y=="mathMinus"){x===void 0?F=23520*w:F=F*w;var ya=73490*w,ue,Re,Ge,G,K,D,q;ue=F<0?0:F>ce?ce:F,Re=h*ue/_t,Ge=c*ya/_t,G=W-Re,K=W+Re,D=O-Ge,q=O+Ge,yn="M"+D+","+G+" L"+q+","+G+" L"+q+","+K+" L"+D+","+K+" z"}else if(y=="mathMultiply"){x===void 0?F=23520*w:F=F*w;var ya=51965*w,ue,ot,Ne,ah,nh,ih,sh,D2,oh,Kc,Jc,fh,lh,ii,si,Ra,Oa,N2,z2,Dn,ef,Bn,x2,uh,ja,C2,oi,ni,O2,Fd,jd,Ie=Math.min(c,h);ue=F<0?0:F>ya?ya:F,ot=Ie*ue/ce,Ne=Math.atan(h/c),ah=1*Math.sin(Ne),nh=1*Math.cos(Ne),ih=1*Math.tan(Ne),sh=Math.sqrt(c*c+h*h),D2=sh*ya/ce,oh=sh-D2,Kc=nh*oh/2,Jc=ah*oh/2,fh=ah*ot/2,lh=nh*ot/2,ii=Kc-fh,si=Jc+lh,Ra=Kc+fh,Oa=Jc-lh,N2=O-Ra,z2=N2*ih,Dn=z2+Oa,ef=c-Ra,Bn=c-ii,x2=W-si,uh=x2/ih,ja=Bn-uh,C2=ii+uh,oi=h-si,ni=h-Oa,O2=h-Dn,Fd=c-Kc,jd=h-Jc,yn="M"+ii+","+si+" L"+Ra+","+Oa+" L"+O+","+Dn+" L"+ef+","+Oa+" L"+Bn+","+si+" L"+ja+","+W+" L"+Bn+","+oi+" L"+ef+","+ni+" L"+O+","+O2+" L"+Ra+","+ni+" L"+ii+","+oi+" L"+C2+","+W+" z"}else if(y=="mathPlus"){x===void 0?F=23520*w:F=F*w;var ya=73490*w,Ie=Math.min(c,h),ue,Ge,Re,he,D,q,se,_e,G,K,ne,de;ue=F<0?0:F>ya?ya:F,Ge=c*ya/_t,Re=h*ya/_t,he=Ie*ue/_t,D=O-Ge,q=O-he,se=O+he,_e=O+Ge,G=W-Re,K=W-he,ne=W+he,de=W+Re,yn="M"+D+","+K+" L"+q+","+K+" L"+q+","+G+" L"+se+","+G+" L"+se+","+K+" L"+_e+","+K+" L"+_e+","+ne+" L"+se+","+ne+" L"+se+","+de+" L"+q+","+de+" L"+q+","+ne+" L"+D+","+ne+" z"}p+="<path d='"+yn+"' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"can":case"flowChartMagneticDisk":case"flowChartMagneticDrum":var ye=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd","attrs","fmla"]),we=25e3*w,ie=5e4*w,ce=2e5*w;ye!==void 0&&(we=parseInt(ye.substr(4))*w);var Ie=Math.min(c,h),ft,Ne,G,K,ne,yn;(y=="flowChartMagneticDisk"||y=="flowChartMagneticDrum")&&(we=5e4*w),ft=ie*h/Ie,Ne=we<0?0:we>ft?ft:we,G=Ie*Ne/ce,K=G+G,ne=h-G;var bt=180,Ae=c/2,U0="";y=="flowChartMagneticDrum"&&(U0="transform='rotate(90 "+c/2+","+h/2+")'"),yn=ve(Ae,G,Ae,G,0,bt,!1)+ve(Ae,G,Ae,G,bt,bt+bt,!1).replace("M","L")+" L"+c+","+ne+ve(Ae,ne,Ae,G,0,bt,!1).replace("M","L")+" L0,"+G,p+="<path "+U0+" d='"+yn+"' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"swooshArrow":var x=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"]),ke=w,Se,F=25e3*ke,Te,te=16667*ke;if(x!==void 0)for(var U=0;U<x.length;U++){var le=L(x[U],["attrs","name"]);le=="adj1"?(Se=L(x[U],["attrs","fmla"]),F=parseInt(Se.substr(4))*ke):le=="adj2"&&(Te=L(x[U],["attrs","fmla"]),te=parseInt(Te.substr(4))*ke)}var ie=1*ke,ce=7e4*ke,_t=75e3*ke,Er=1e5*ke,Ie=Math.min(c,h),jo=Ie/8,ch=h/6,ue,vt,Me,dh,G2,Ra,Oa,hh,ph,_i,Ge,Ln,ja,Bn,W0,Ze,U2,At,xl,_n,H2,Z2,zi,W2,$2;ue=F<ie?ie:F>_t?_t:F,vt=ce*c/Ie,Me=te<0?0:te>vt?vt:te,dh=h*ue/Er,G2=Ie*Me/Er,Ra=c-G2,Oa=jo,hh=Math.PI/2/14,ph=jo*Math.tan(hh),_i=Ra-ph,Ge=dh*Math.tan(hh),Ln=Oa+dh,ja=Ra+Ge,Bn=ja+ph,W0=Ln+jo,Ze=W0-0,U2=Ze/2,At=h/20,xl=U2-At,_n=ch,H2=ch+_n,Z2=c/6,zi=ch/2,W2=Ln+zi,$2=c/4;var yn="M0,"+h+" Q"+Z2+","+H2+" "+Ra+","+Oa+" L"+_i+",0 L"+c+","+xl+" L"+Bn+","+W0+" L"+ja+","+Ln+" Q"+$2+","+W2+" 0,"+h+" z";p+="<path d='"+yn+"' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"circularArrow":var x=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"]),Se,F=12500*w,Te,te=1142319/6e4*Math.PI/180,at,Pe=20457681/6e4*Math.PI/180,nr,pt=108e5/6e4*Math.PI/180,jn,Dr=12500*w;if(x!==void 0)for(var U=0;U<x.length;U++){var le=L(x[U],["attrs","name"]);le=="adj1"?(Se=L(x[U],["attrs","fmla"]),F=parseInt(Se.substr(4))*w):le=="adj2"?(Te=L(x[U],["attrs","fmla"]),te=parseInt(Te.substr(4))/6e4*Math.PI/180):le=="adj3"?(at=L(x[U],["attrs","fmla"]),Pe=parseInt(at.substr(4))/6e4*Math.PI/180):le=="adj4"?(nr=L(x[U],["attrs","fmla"]),pt=parseInt(nr.substr(4))/6e4*Math.PI/180):le=="adj5"&&(jn=L(x[U],["attrs","fmla"]),Dr=parseInt(jn.substr(4))*w)}var W=h/2,O=c/2,ct=c,rt=h,Tt=0,Zt=0,Ae=c/2,Oe=h/2,Ie=Math.min(c,h),wn,nt,ue,Fa,Wt,ot,xa,Ca,ea,ta,_a,ba,ei,ti,Is,Ts,ri,ai,ys,ni,Ur,mr,qa,Rn,ws,H0,Z0,f0,Ll,gl,kl,Ml,El,l0,Pl,Sl,u0,Il,c0,Tl,yl,wl,vh,Rl,Va,Rs,Bs,Bl,Dl,ii,si,Ds,Ns,Nl,zl,Bn,W0,Cl,Ol,zs,oi,Gl,Ul,Ra,Oa,Ot,Dt,Ct,Nt,La,xs,Cs,fi,li,ui,bn,Os,zt,yt,ci,cr,gr,Nr,Hr,tr,Ar,Gs,Hl,Us,ra,Xr,Kr,Hs,aa,Zs,Zl,Ws,$s,Ys,Wl,As,Xs,Ks,Js,Qs,$l,Yl,Fs,Al,Xl,qs,Vs,ja,Ln,di,hi,js,eo,pi,vi,to,Kl,xi,mi,Jl,gn,Ql,Fl,ro,ql,ao,Vl,no,io,so,jl,oo,eu,fo,lo,uo,tu,co,ho,po,vo,mo,ru,au,_o,nu,iu,bo,Lo,_i,Dn,d0,su,fn,h0,ou,$0,go,ko,fu,lu,bi,uu,cu,du,hu,p0,pu,vu,v0,mu,Xt,ie=25e3*w,ce=1e5*w,bl=1/6e4*Math.PI/180,o0=21599999/6e4*Math.PI/180,Qa=2*Math.PI;wn=Dr<0?0:Dr>ie?ie:Dr,nt=wn*2,ue=F<0?0:F>nt?nt:F,Fa=Pe<bl?bl:Pe>o0?o0:Pe,Wt=pt<0?0:pt>o0?o0:pt,ot=Ie*ue/ce,xa=Ie*wn/ce,Ca=ot/2,ea=Ae+Ca-xa,ta=Oe+Ca-xa,_a=ea-ot,ba=ta-ot,ei=_a+Ca,ti=ba+Ca,Is=ei*Math.sin(Fa),Ts=ti*Math.cos(Fa),ri=ei*Math.cos(Math.atan2(Is,Ts)),ai=ti*Math.sin(Math.atan2(Is,Ts)),ys=O+ri,ni=W+ai,Ur=_a<ba?_a:ba,mr=ri*ri,qa=ai*ai,Rn=Ur*Ur,ws=mr-Rn,H0=qa-Rn,Z0=ws*H0/mr,f0=Z0/qa,Ll=1-f0,gl=Math.sqrt(Ll),kl=ws/ri,Ml=kl/ai,El=(1+gl)/Ml,l0=Math.atan2(El,1),Pl=l0+Qa,Sl=l0>0?l0:Pl,u0=Sl-Fa,Il=u0+Qa,c0=u0>0?u0:Il,Tl=c0-bt,yl=c0-Qa,wl=Tl>0?yl:c0,vh=Math.abs(wl),Rl=te<0?0:te>vh?vh:te,Va=Fa+Rl,Rs=ei*Math.sin(Va),Bs=ti*Math.cos(Va),Bl=ei*Math.cos(Math.atan2(Rs,Bs)),Dl=ti*Math.sin(Math.atan2(Rs,Bs)),ii=O+Bl,si=W+Dl,Ds=ea*Math.sin(Wt),Ns=ta*Math.cos(Wt),Nl=ea*Math.cos(Math.atan2(Ds,Ns)),zl=ta*Math.sin(Math.atan2(Ds,Ns)),Bn=O+Nl,W0=W+zl,Cl=xa*Math.cos(Va),Ol=xa*Math.sin(Va),zs=ys+Cl,oi=ni+Ol,Gl=xa*Math.cos(Va),Ul=xa*Math.sin(Va),Ra=ys-Gl,Oa=ni-Ul,Ot=Ra-O,Dt=Oa-W,Ct=zs-O,Nt=oi-W,La=ea<ta?ea:ta,xs=Ot*La/ea,Cs=Dt*La/ta,fi=Ct*La/ea,li=Nt*La/ta,ui=fi-xs,bn=li-Cs,Os=Math.sqrt(ui*ui+bn*bn),zt=xs*li,yt=fi*Cs,ci=zt-yt,cr=La*La,gr=Os*Os,Nr=cr*gr,Hr=ci*ci,tr=Nr-Hr,Ar=tr>0?tr:0,Gs=Math.sqrt(Ar),Hl=bn*-1,Us=Hl>0?-1:1,ra=Us*ui,Xr=ra*Gs,Kr=ci*bn,Hs=(Kr+Xr)/gr,aa=Kr-Xr,Zs=aa/gr,Zl=Math.abs(bn),Ws=Zl*Gs,$s=ci*ui/-1,Ys=($s+Ws)/gr,Wl=$s-Ws,As=Wl/gr,Xs=fi-Hs,Ks=fi-Zs,Js=li-Ys,Qs=li-As,$l=Math.sqrt(Xs*Xs+Js*Js),Yl=Math.sqrt(Ks*Ks+Qs*Qs),Fs=Yl-$l,Al=Fs>0?Hs:Zs,Xl=Fs>0?Ys:As,qs=Al*ea/La,Vs=Xl*ta/La,ja=O+qs,Ln=W+Vs,di=Ot*Ur/_a,hi=Dt*Ur/ba,js=Ct*Ur/_a,eo=Nt*Ur/ba,pi=js-di,vi=eo-hi,to=Math.sqrt(pi*pi+vi*vi),Kl=di*eo,xi=js*hi,mi=Kl-xi,Jl=Ur*Ur,gn=to*to,Ql=Jl*gn,Fl=mi*mi,ro=Ql-Fl,ql=ro>0?ro:0,ao=Math.sqrt(ql),Vl=Us*pi,no=Vl*ao,io=mi*vi,so=(io+no)/gn,jl=io-no,oo=jl/gn,eu=Math.abs(vi),fo=eu*ao,lo=mi*pi/-1,uo=(lo+fo)/gn,tu=lo-fo,co=tu/gn,ho=di-so,po=di-oo,vo=hi-uo,mo=hi-co,ru=Math.sqrt(ho*ho+vo*vo),au=Math.sqrt(po*po+mo*mo),_o=au-ru,nu=_o>0?so:oo,iu=_o>0?uo:co,bo=nu*_a/Ur,Lo=iu*ba/Ur,_i=O+bo,Dn=W+Lo,d0=Math.atan2(Lo,bo),su=d0+Qa,fn=d0>0?d0:su,h0=Wt-fn,ou=h0-Qa,$0=h0>0?ou:h0,go=ja-_i,ko=Ln-Dn,fu=Math.sqrt(go*go+ko*ko),lu=fu/2,bi=lu-xa,uu=bi>0?ja:zs,cu=bi>0?Ln:oi,du=bi>0?_i:Ra,hu=bi>0?Dn:Oa,p0=Math.atan2(Vs,qs),pu=p0+Qa,vu=p0>0?p0:pu,v0=vu-Wt,mu=v0+Qa,Xt=v0>0?v0:mu;var Qc=Wt*180/Math.PI,Li=Qc+Xt*180/Math.PI,_u=fn*180/Math.PI,kh=$0*180/Math.PI,Mh=_u+kh,ze=ve(c/2,h/2,ea,ta,Qc,Li,!1)+" L"+uu+","+cu+" L"+ii+","+si+" L"+du+","+hu+" L"+_i+","+Dn+ve(c/2,h/2,_a,ba,_u,Mh,!1).replace("M","L")+" z";p+="<path d='"+ze+"' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"leftCircularArrow":var x=L(e,["p:spPr","a:prstGeom","a:avLst","a:gd"]),Se,F=12500*w,Te,te=-1142319/6e4*Math.PI/180,at,Pe=1142319/6e4*Math.PI/180,nr,pt=108e5/6e4*Math.PI/180,jn,Dr=12500*w;if(x!==void 0)for(var U=0;U<x.length;U++){var le=L(x[U],["attrs","name"]);le=="adj1"?(Se=L(x[U],["attrs","fmla"]),F=parseInt(Se.substr(4))*w):le=="adj2"?(Te=L(x[U],["attrs","fmla"]),te=parseInt(Te.substr(4))/6e4*Math.PI/180):le=="adj3"?(at=L(x[U],["attrs","fmla"]),Pe=parseInt(at.substr(4))/6e4*Math.PI/180):le=="adj4"?(nr=L(x[U],["attrs","fmla"]),pt=parseInt(nr.substr(4))/6e4*Math.PI/180):le=="adj5"&&(jn=L(x[U],["attrs","fmla"]),Dr=parseInt(jn.substr(4))*w)}var W=h/2,O=c/2,ct=c,rt=h,Tt=0,Zt=0,Ae=c/2,Oe=h/2,Ie=Math.min(c,h),ie=25e3*w,ce=1e5*w,bl=1/6e4*Math.PI/180,o0=21599999/6e4*Math.PI/180,Qa=2*Math.PI,wn,nt,ue,Fa,Wt,ot,xa,Ca,ea,ta,_a,ba,ei,ti,Is,Ts,ri,ai,ys,ni,Ur,mr,qa,Rn,ws,H0,Z0,f0,Ll,gl,kl,Ml,El,l0,Pl,Sl,u0,Il,c0,Tl,yl,wl,Y2,mh,A2,Me,Rl,Va,Rs,Bs,Bl,Dl,ii,si,Ds,Ns,Nl,zl,Bn,W0,_h,bh,X2,K2,ef,xl,Cl,Ol,zs,oi,Gl,Ul,Ra,Oa,Ot,Dt,Ct,Nt,La,xs,Cs,fi,li,ui,bn,Os,zt,yt,ci,cr,gr,Nr,Hr,tr,Ar,Gs,Hl,Us,ra,Xr,Kr,Hs,aa,Zs,Zl,Ws,$s,Ys,Wl,As,Xs,Ks,Js,Qs,$l,Yl,Fs,Al,Xl,qs,Vs,ja,Ln,di,hi,js,eo,pi,vi,to,Kl,xi,mi,Jl,gn,Ql,Fl,ro,ql,ao,Vl,no,io,so,jl,oo,eu,fo,lo,uo,tu,co,ho,po,vo,mo,ru,au,_o,nu,iu,bo,Lo,_i,Dn,d0,su,Lh,h0,ou,gh,fn,$0,go,ko,fu,lu,bi,uu,cu,du,hu,p0,pu,vu,v0,mu,Xt,J2;wn=Dr<0?0:Dr>ie?ie:Dr,nt=wn*2,ue=F<0?0:F>nt?nt:F,Fa=Pe<bl?bl:Pe>o0?o0:Pe,Wt=pt<0?0:pt>o0?o0:pt,ot=Ie*ue/ce,xa=Ie*wn/ce,Ca=ot/2,ea=Ae+Ca-xa,ta=Oe+Ca-xa,_a=ea-ot,ba=ta-ot,ei=_a+Ca,ti=ba+Ca,Is=ei*Math.sin(Fa),Ts=ti*Math.cos(Fa),ri=ei*Math.cos(Math.atan2(Is,Ts)),ai=ti*Math.sin(Math.atan2(Is,Ts)),ys=O+ri,ni=W+ai,Ur=_a<ba?_a:ba,mr=ri*ri,qa=ai*ai,Rn=Ur*Ur,ws=mr-Rn,H0=qa-Rn,Z0=ws*H0/mr,f0=Z0/qa,Ll=1-f0,gl=Math.sqrt(Ll),kl=ws/ri,Ml=kl/ai,El=(1+gl)/Ml,l0=Math.atan2(El,1),Pl=l0+Qa,Sl=l0>0?l0:Pl,u0=Sl-Fa,Il=u0+Qa,c0=u0>0?u0:Il,Tl=c0-bt,yl=c0-Qa,wl=Tl>0?yl:c0,Y2=Math.abs(wl),mh=Y2*-1,A2=Math.abs(te),Me=A2*-1,Rl=Me<mh?mh:Me>0?0:Me,Va=Fa+Rl,Rs=ei*Math.sin(Va),Bs=ti*Math.cos(Va),Bl=ei*Math.cos(Math.atan2(Rs,Bs)),Dl=ti*Math.sin(Math.atan2(Rs,Bs)),ii=O+Bl,si=W+Dl,Ds=ea*Math.sin(Wt),Ns=ta*Math.cos(Wt),Nl=ea*Math.cos(Math.atan2(Ds,Ns)),zl=ta*Math.sin(Math.atan2(Ds,Ns)),Bn=O+Nl,W0=W+zl,_h=_a*Math.sin(Wt),bh=ba*Math.cos(Wt),X2=_a*Math.cos(Math.atan2(_h,bh)),K2=ba*Math.sin(Math.atan2(_h,bh)),ef=O+X2,xl=W+K2,Cl=xa*Math.cos(Va),Ol=xa*Math.sin(Va),zs=ys+Cl,oi=ni+Ol,Gl=xa*Math.cos(Va),Ul=xa*Math.sin(Va),Ra=ys-Gl,Oa=ni-Ul,Ot=Ra-O,Dt=Oa-W,Ct=zs-O,Nt=oi-W,La=ea<ta?ea:ta,xs=Ot*La/ea,Cs=Dt*La/ta,fi=Ct*La/ea,li=Nt*La/ta,ui=fi-xs,bn=li-Cs,Os=Math.sqrt(ui*ui+bn*bn),zt=xs*li,yt=fi*Cs,ci=zt-yt,cr=La*La,gr=Os*Os,Nr=cr*gr,Hr=ci*ci,tr=Nr-Hr,Ar=tr>0?tr:0,Gs=Math.sqrt(Ar),Hl=bn*-1,Us=Hl>0?-1:1,ra=Us*ui,Xr=ra*Gs,Kr=ci*bn,Hs=(Kr+Xr)/gr,aa=Kr-Xr,Zs=aa/gr,Zl=Math.abs(bn),Ws=Zl*Gs,$s=ci*ui/-1,Ys=($s+Ws)/gr,Wl=$s-Ws,As=Wl/gr,Xs=fi-Hs,Ks=fi-Zs,Js=li-Ys,Qs=li-As,$l=Math.sqrt(Xs*Xs+Js*Js),Yl=Math.sqrt(Ks*Ks+Qs*Qs),Fs=Yl-$l,Al=Fs>0?Hs:Zs,Xl=Fs>0?Ys:As,qs=Al*ea/La,Vs=Xl*ta/La,ja=O+qs,Ln=W+Vs,di=Ot*Ur/_a,hi=Dt*Ur/ba,js=Ct*Ur/_a,eo=Nt*Ur/ba,pi=js-di,vi=eo-hi,to=Math.sqrt(pi*pi+vi*vi),Kl=di*eo,xi=js*hi,mi=Kl-xi,Jl=Ur*Ur,gn=to*to,Ql=Jl*gn,Fl=mi*mi,ro=Ql-Fl,ql=ro>0?ro:0,ao=Math.sqrt(ql),Vl=Us*pi,no=Vl*ao,io=mi*vi,so=(io+no)/gn,jl=io-no,oo=jl/gn,eu=Math.abs(vi),fo=eu*ao,lo=mi*pi/-1,uo=(lo+fo)/gn,tu=lo-fo,co=tu/gn,ho=di-so,po=di-oo,vo=hi-uo,mo=hi-co,ru=Math.sqrt(ho*ho+vo*vo),au=Math.sqrt(po*po+mo*mo),_o=au-ru,nu=_o>0?so:oo,iu=_o>0?uo:co,bo=nu*_a/Ur,Lo=iu*ba/Ur,_i=O+bo,Dn=W+Lo,d0=Math.atan2(Lo,bo),su=d0+Qa,Lh=d0>0?d0:su,h0=Wt-Lh,ou=h0+Qa,gh=h0>0?h0:ou,fn=Lh+gh,$0=-gh,go=ja-_i,ko=Ln-Dn,fu=Math.sqrt(go*go+ko*ko),lu=fu/2,bi=lu-xa,uu=bi>0?ja:zs,cu=bi>0?Ln:oi,du=bi>0?_i:Ra,hu=bi>0?Dn:Oa,p0=Math.atan2(Vs,qs),pu=p0+Qa,vu=p0>0?p0:pu,v0=vu-Wt,mu=v0-Qa,Xt=v0>0?mu:v0,J2=Wt+Xt;var Qc=J2*180/Math.PI,Li=Wt*180/Math.PI,_u=fn*180/Math.PI,kh=$0*180/Math.PI,Mh=_u+kh,ze="M"+Bn+","+W0+" L"+ef+","+xl+ve(c/2,h/2,_a,ba,_u,Mh,!1).replace("M","L")+" L"+du+","+hu+" L"+ii+","+si+" L"+uu+","+cu+" L"+ja+","+Ln+ve(c/2,h/2,ea,ta,Qc,Li,!1).replace("M","L")+" z";p+="<path d='"+ze+"' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+E.color+"' stroke-width='"+E.width+"' stroke-dasharray='"+E.strokeDasharray+"' />";break;case"leftRightCircularArrow":case"chartPlus":case"chartStar":case"chartX":case"cornerTabs":case"flowChartOfflineStorage":case"folderCorner":case"funnel":case"lineInv":case"nonIsoscelesTrapezoid":case"plaqueTabs":case"squareTabs":case"upDownArrowCallout":console.log(y," -unsupported shape type.");break;default:console.warn("Undefine shape type.("+y+")")}p+="</svg>",p+="<div class='block "+Dp(e,t,a,o)+" "+Np(e,o,f)+"' data-office-shape='"+Xi(String(s))+"' data-pptx-autofit='"+X.autofit+"' data-pptx-wrap='"+X.wrap+"' _id='"+s+"' _idx='"+i+"' _type='"+o+"' _name='"+n+"' style='"+Yi(ae,r,g,M,l,_)+Ai(ae,g,M,_)+V+" z-index: "+d+";transform: rotate("+(Q!==void 0?Q:0)+"deg);'>",e["p:txBody"]!==void 0&&(u===void 0||u===!0)&&(o!="diagram"&&o!="textBox"&&L(e,["p:nvSpPr","p:nvPr","p:ph"])===void 0&&(o="shape"),p+=await R1(e["p:txBody"],e,t,a,o,i,f,void 0,_)),p+="</div>"}else if(I!==void 0){var hb=L(I,["a:pathLst"]),tf=L(hb,["a:path"]);let Eh=tf.attrs||{};var pb=Pt(Eh.w,21600),vb=Pt(Eh.h,21600),rf=1/pb*c,af=1/vb*h,nf=L(tf,["a:moveTo"])||[],h4=nf.length,Q2=tf["a:lnTo"],F2=tf["a:cubicBezTo"],q2=tf["a:arcTo"],V2=L(tf,["a:close"]);Array.isArray(nf)||(nf=[nf]);var ir=[];if(nf.length>0){if(_r(nf).forEach(function(Vt){var zr=Vt["a:pt"];zr!==void 0&&_r(zr).forEach(function(gi){var ga=gi.attrs||{};if(!(ga.x===void 0||ga.y===void 0)){var Ba={},bu=ga.x,Lu=ga.y,sf=ga.order;Ba.type="movto",Ba.order=Pt(sf,ir.length),Ba.x=bu,Ba.y=Lu,ir.push(Ba)}})}),Q2!==void 0&&_r(Q2).forEach(function(Vt){var zr=Vt["a:pt"];zr!==void 0&&_r(zr).forEach(function(gi){var ga=gi.attrs||{};if(!(ga.x===void 0||ga.y===void 0)){var Ba={},bu=ga.x,Lu=ga.y,sf=ga.order;Ba.type="lnto",Ba.order=Pt(sf,ir.length),Ba.x=bu,Ba.y=Lu,ir.push(Ba)}})}),F2!==void 0){var j2=[];_r(F2).forEach(function(Vt){j2.push(Vt["a:pt"])}),j2.forEach(function(Vt){Vt=_r(Vt);var zr={};zr.type="cubicBezTo",zr.order=Pt(L(Vt[0],["attrs","order"]),ir.length);var gi=[];Vt.forEach(function(ga){var Ba=ga.attrs||{};Ba.x!==void 0&&Ba.y!==void 0&&gi.push({x:Ba.x,y:Ba.y})}),gi.length===3&&(zr.cubBzPt=gi,ir.push(zr))})}q2!==void 0&&_r(q2).forEach(function(Vt){var zr=Vt.attrs||{};if(!(zr.hR===void 0||zr.wR===void 0||zr.stAng===void 0||zr.swAng===void 0)){var gi=zr.order,ga=zr.hR,Ba=zr.wR,bu=zr.stAng,Lu=zr.swAng,sf=0,um=0,Ph=L(Vt,["a:pt","attrs"]);Ph!==void 0&&(sf=Ph.x,um=Ph.y);var m0={};m0.type="arcTo",m0.order=Pt(gi,ir.length),m0.hR=ga,m0.wR=Ba,m0.stAng=bu,m0.swAng=Lu,m0.shftX=sf,m0.shftY=um,ir.push(m0)}}),V2!==void 0&&_r(V2).forEach(function(Vt){var zr=Vt.attrs||{},gi=zr.order,ga={};ga.type="close",ga.order=Pt(gi,ir.length),ir.push(ga)}),ir.sort(function(Vt,zr){return Vt.order-zr.order});for(var Sr=0,Bf=!1,Ce="";Sr<ir.length;){if(ir[Sr].type=="movto"){var em=Pt(ir[Sr].x,NaN)*rf,tm=Pt(ir[Sr].y,NaN)*af;if(!Number.isFinite(em)||!Number.isFinite(tm)){Sr++;continue}Ce+=" M"+em+","+tm}else if(ir[Sr].type=="lnto"){var rm=Pt(ir[Sr].x,NaN)*rf,am=Pt(ir[Sr].y,NaN)*af;if(!Number.isFinite(rm)||!Number.isFinite(am)){Sr++;continue}Ce+=" L"+rm+","+am}else if(ir[Sr].type=="cubicBezTo"){var nm=Pt(ir[Sr].cubBzPt[0].x,NaN)*rf,im=Pt(ir[Sr].cubBzPt[0].y,NaN)*af,sm=Pt(ir[Sr].cubBzPt[1].x,NaN)*rf,om=Pt(ir[Sr].cubBzPt[1].y,NaN)*af,fm=Pt(ir[Sr].cubBzPt[2].x,NaN)*rf,lm=Pt(ir[Sr].cubBzPt[2].y,NaN)*af;if(![nm,im,sm,om,fm,lm].every(Number.isFinite)){Sr++;continue}Ce+=" C"+nm+","+im+" "+sm+","+om+" "+fm+","+lm}else if(ir[Sr].type=="arcTo"){var Ve=Pt(ir[Sr].hR,NaN)*rf,Ht=Pt(ir[Sr].wR,NaN)*af,Wt=Pt(ir[Sr].stAng,NaN)/6e4,Xt=Pt(ir[Sr].swAng,NaN)/6e4;if(![Ve,Ht,Wt,Xt].every(Number.isFinite)){Sr++;continue}var Li=Wt+Xt;Ce+=ve(Ht,Ve,Ht,Ve,Wt,Li,!1)}else ir[Sr].type=="quadBezTo"?console.log("custShapType: quadBezTo - TODO"):ir[Sr].type=="close"&&(Ce+="z");Sr++}Ce&&!/NaN/.test(Ce)&&(p+="<path d='"+Ce+"' fill='"+(oe?"url(#imgPtrn_"+b+")":fe?"url(#linGrd_"+b+")":ee)+"' stroke='"+(E===void 0?"":E.color)+"' stroke-width='"+(E===void 0?"":E.width)+"' stroke-dasharray='"+(E===void 0?"":E.strokeDasharray)+"' ",p+="/>")}p+="</svg>",p+="<div class='block "+Dp(e,t,a,o)+" "+Np(e,o,f)+"' data-office-shape='"+Xi(String(s))+"' data-pptx-autofit='"+X.autofit+"' data-pptx-wrap='"+X.wrap+"' _id='"+s+"' _idx='"+i+"' _type='"+o+"' _name='"+n+"' style='"+Yi(ae,r,g,M,l,_)+Ai(ae,g,M,_)+V+" z-index: "+d+";transform: rotate("+(Q!==void 0?Q:0)+"deg);'>",e["p:txBody"]!==void 0&&(u===void 0||u===!0)&&(o!="diagram"&&o!="textBox"&&L(e,["p:nvSpPr","p:nvPr","p:ph"])===void 0&&(o="shape"),p+=await R1(e["p:txBody"],e,t,a,o,i,f,void 0,_)),p+="</div>"}else p+="<div class='block "+Dp(e,t,a,o)+" "+Np(e,o,f)+"' data-office-shape='"+Xi(String(s))+"' data-pptx-autofit='"+X.autofit+"' data-pptx-wrap='"+X.wrap+"' _id='"+s+"' _idx='"+i+"' _type='"+o+"' _name='"+n+"' style='"+Yi(ae,r,g,M,l,_)+Ai(ae,g,M,_)+V+Ii(e,r,!1,"shape",f)+await ju(e,r,!1,f,k)+" z-index: "+d+";transform: rotate("+(Q!==void 0?Q:0)+"deg);'>",e["p:txBody"]!==void 0&&(u===void 0||u===!0)&&(p+=await R1(e["p:txBody"],e,t,a,o,i,f,void 0,_)),p+="</div>";return p}function jg(e,r,t,a,s){var n=parseInt(a),i=parseInt(t),o=parseInt(e),d=o/2,f=n-i;f<0&&(f=360+f),f=Math.min(Math.max(f,0),360);var u=Math.cos(2*Math.PI/(360/f)),l=Math.sin(2*Math.PI/(360/f)),k,_,v;if(s)k=f<=180?0:1,_="M"+d+","+d+" L"+d+",0 A"+d+","+d+" 0 "+k+",1 "+(d+l*d)+","+(d-u*d)+" z",v="rotate("+(i-270)+", "+d+", "+d+")";else{k=f<=180?0:1;var m=d,g=r/2;_="M"+m+",0 A"+g+","+m+" 0 "+k+",1 "+(g+l*g)+","+(m-u*m),v="rotate("+(i+90)+", "+d+", "+d+")"}return[_,v]}function h5(e,r,t){var a=r,s=1.5*a,n=s;let i=s,o=t,d=s,f=a,u=50,l=35,k=2*Math.PI,_=k/(o*2),v=_*l*.005,m=_*u*.005,g=_,M=!1;for(var p=" M"+(n+d*Math.cos(m))+" "+(i+d*Math.sin(m));g<=k+_;g+=_)M?(p+=" L"+(n+f*Math.cos(g-v))+","+(i+f*Math.sin(g-v)),p+=" L"+(n+d*Math.cos(g+m))+","+(i+d*Math.sin(g+m))):(p+=" L"+(n+d*Math.cos(g-m))+","+(i+d*Math.sin(g-m)),p+=" L"+(n+f*Math.cos(g+v))+","+(i+f*Math.sin(g+v))),M=!M;return p+=" ",p}function ve(e,r,t,a,s,n,i){var o,d=s;if(n>=s)for(;d<=n;){var f=d*(Math.PI/180),u=e+Math.cos(f)*t,l=r+Math.sin(f)*a;d==s&&(o=" M"+u+" "+l),o+=" L"+u+" "+l,d++}else for(;d>n;){var f=d*(Math.PI/180),u=e+Math.cos(f)*t,l=r+Math.sin(f)*a;d==s&&(o=" M "+u+" "+l),o+=" L "+u+" "+l,d--}return o+=i?" z":"",o}function ek(e,r,t){var a=_r(L(e,["a:pathLst","a:path"])),s=[];return a.forEach(function(n){var i=n.attrs||{},o=Pt(i.w,21600),d=Pt(i.h,21600),f=o?1/o*r:0,u=d?1/d*t:0,l=[];_r(L(n,["a:moveTo"])).forEach(function(_){_r(L(_,["a:pt"])).forEach(function(v){var m=v.attrs||{};m.x===void 0||m.y===void 0||l.push({type:"movto",order:Pt(m.order,l.length),x:m.x,y:m.y})})}),_r(n["a:lnTo"]).forEach(function(_){_r(L(_,["a:pt"])).forEach(function(v){var m=v.attrs||{};m.x===void 0||m.y===void 0||l.push({type:"lnto",order:Pt(m.order,l.length),x:m.x,y:m.y})})}),_r(n["a:cubicBezTo"]).forEach(function(_){var v=[];_r(_["a:pt"]).forEach(function(m){var g=m.attrs||{};g.x!==void 0&&g.y!==void 0&&v.push({x:g.x,y:g.y})}),v.length===3&&l.push({type:"cubicBezTo",order:Pt(L(_,["attrs","order"]),l.length),cubBzPt:v})}),_r(n["a:arcTo"]).forEach(function(_){var v=_.attrs||{};v.hR===void 0||v.wR===void 0||v.stAng===void 0||v.swAng===void 0||l.push({type:"arcTo",order:Pt(v.order,l.length),hR:v.hR,wR:v.wR,stAng:v.stAng,swAng:v.swAng})}),_r(n["a:close"]).forEach(function(_){l.push({type:"close",order:Pt(L(_,["attrs","order"]),l.length)})}),l.sort(function(_,v){return _.order-v.order});var k="";l.forEach(function(_){if(_.type=="movto"){var v=Pt(_.x,NaN)*f,m=Pt(_.y,NaN)*u;Number.isFinite(v)&&Number.isFinite(m)&&(k+=" M"+Wa(v)+","+Wa(m))}else if(_.type=="lnto"){var g=Pt(_.x,NaN)*f,M=Pt(_.y,NaN)*u;Number.isFinite(g)&&Number.isFinite(M)&&(k+=" L"+Wa(g)+","+Wa(M))}else if(_.type=="cubicBezTo"){var p=Pt(_.cubBzPt[0].x,NaN)*f,b=Pt(_.cubBzPt[0].y,NaN)*u,y=Pt(_.cubBzPt[1].x,NaN)*f,I=Pt(_.cubBzPt[1].y,NaN)*u,N=Pt(_.cubBzPt[2].x,NaN)*f,R=Pt(_.cubBzPt[2].y,NaN)*u;[p,b,y,I,N,R].every(Number.isFinite)&&(k+=" C"+Wa(p)+","+Wa(b)+" "+Wa(y)+","+Wa(I)+" "+Wa(N)+","+Wa(R))}else if(_.type=="arcTo"){var B=Pt(_.hR,NaN)*f,Z=Pt(_.wR,NaN)*u,T=Pt(_.stAng,NaN)/6e4,C=Pt(_.swAng,NaN)/6e4;[B,Z,T,C].every(Number.isFinite)&&(k+=ve(Z,B,Z,B,T,T+C,!1))}else _.type=="close"&&(k+=" Z")}),k&&!/NaN/.test(k)&&s.push(k)}),s}function tk(e,r,t,a,s,n){var i,o,d,f;n=="cornr1"?(i=0,o=0,d=0,f=t):n=="cornr2"?(i=t,o=a,d=a,f=t):n=="cornrAll"?(i=t,o=t,d=t,f=t):n=="diag"&&(i=t,o=a,d=t,f=a);var u;return s=="round"?u="M0,"+(r/2+(1-o)*(r/2))+" Q0,"+r+" "+o*(e/2)+","+r+" L"+(e/2+(1-d)*(e/2))+","+r+" Q"+e+","+r+" "+e+","+(r/2+r/2*(1-d))+"L"+e+","+r/2*f+" Q"+e+",0 "+(e/2+e/2*(1-f))+",0 L"+e/2*i+",0 Q0,0 0,"+r/2*i+" z":s=="snip"&&(u="M0,"+i*(r/2)+" L0,"+(r/2+r/2*(1-o))+"L"+o*(e/2)+","+r+" L"+(e/2+e/2*(1-d))+","+r+"L"+e+","+(r/2+r/2*(1-d))+" L"+e+","+f*(r/2)+"L"+(e/2+e/2*(1-f))+",0 L"+e/2*i+",0 z"),u}async function rk(e,r,t,a,s){var n="",i=!1,o=e.attrs.order,d=L(e,["p:blipFill","a:blip"]),f;t=="slideMasterBg"?f=r.masterResObj:t=="slideLayoutBg"?f=r.layoutResObj:f=r.slideResObj;var u=r.zip,l;for(var k of Pm(d,f,u))try{if(l=await Kp(u,k.target,await k.entry.async("arraybuffer")),l)break}catch(xe){console.warn("Unable to decode embedded PPTX picture",xe)}var _=L(e,["p:spPr","a:xfrm"]);if(_===void 0){var v=L(e,["p:nvPicPr","p:nvPr","p:ph","attrs","idx"]),m=L(e,["p:nvPicPr","p:nvPr","p:ph","attrs","type"]);v!==void 0&&(_=L(r.slideLayoutTables,["idxTable",v,"p:spPr","a:xfrm"]))}var g=0,M=L(_,["attrs","rot"]);M!==void 0&&(g=Co(M));var p=L(e,["p:nvPicPr","p:nvPr","a:videoFile"]),b=L(e,["p:nvPicPr","p:cNvPr","attrs","id"])||o||"0",y="pptx-media-"+(r&&r.slideNumber||"0")+"-"+b,I,N,R,B,Z,T,C=!1,P=!1,J=D1.mediaProcess;if(p!==void 0&J){I=p.attrs["r:link"],N=f[I].target;var re=Kk(N);re?(N=Xi(N),P=!0,C=!0,i=!0):(R=Ap(N).toLowerCase(),(R=="mp4"||R=="webm"||R=="ogg")&&(Z=await u.file(N).async("arraybuffer"),B=Yp(R),T=y+"-video",V0.MsgQueue.push({id:T,kind:"video",mimeType:B,buffer:Z}),C=!0,i=!0))}var Q=L(e,["p:nvPicPr","p:nvPr","a:audioFile"]),ae,X,V,H,A,ge,me=!1,c;if(Q!==void 0&J&&(ae=Q.attrs["r:link"],X=f[ae].target,V=Ap(X).toLowerCase(),V=="mp3"||V=="wav"||V=="ogg")){A=await u.file(X).async("arraybuffer"),H=V=="ogg"?"audio/ogg":Yp(V),ge=y+"-audio",V0.MsgQueue.push({id:ge,kind:"audio",mimeType:H,buffer:A});var h=parseInt(_["a:ext"].attrs.cx)*20,De=_["a:ext"].attrs.cy,Ue=parseInt(_["a:off"].attrs.x)/2.5,ee=_["a:off"].attrs.y;c={"a:ext":{attrs:{cx:h,cy:De}},"a:off":{attrs:{x:Ue,y:ee}}},me=!0,C=!0,i=!0}if(!l&&(p===void 0&&Q===void 0||!J||!C))return"";var fe=w5(e["p:blipFill"]),oe=Mm(d,y+"-"+t+"-alpha"),kt=oe.style,dt=(yf(L(_,["attrs","flipH"]))?" scaleX(-1)":"")+(yf(L(_,["attrs","flipV"]))?" scaleY(-1)":""),S=[],Ee={width:100,height:100},pe=L(e,["p:spPr","a:custGeom"]);if(pe!==void 0&&_!==void 0){var Y=L(_,["a:ext","attrs"])||{},z=Ma(Y.cx,"x",s),j=Ma(Y.cy,"y",s);Number.isFinite(z)&&Number.isFinite(j)&&z>0&&j>0&&(Ee={width:z,height:j},S=ek(pe,z,j))}if(n="<div class='block content' style='"+Yi(J&&me?c:_,e,void 0,void 0,a,s)+Ai(J&&me?c:_,void 0,void 0,s)+" z-index: "+o+";transform: rotate("+g+"deg)"+dt+";"+(p===void 0&&Q===void 0||!J||!C?fe.container+qg(e):"")+"'>",p===void 0&&Q===void 0||!J||!C)if(n+=oe.definitions,S.length>0){var be="pptx_pic_clip_"+t+"_"+(r&&r.slideNumber||"0")+"_"+(L(e,["p:nvPicPr","p:cNvPr","attrs","id"])||o||S.length),Le=Ee.width*fe.svg.x/100,E=Ee.height*fe.svg.y/100,Be=Ee.width*fe.svg.width/100,We=Ee.height*fe.svg.height/100;n+="<svg xmlns='http://www.w3.org/2000/svg' width='100%' height='100%' viewBox='0 0 "+Wa(Ee.width)+" "+Wa(Ee.height)+"' preserveAspectRatio='none' style='display:block;width:100%;height:100%;overflow:hidden;'>",n+="<defs><clipPath id='"+be+"' clipPathUnits='userSpaceOnUse'>",S.forEach(function(xe){n+="<path d='"+xe+"' clip-rule='evenodd' fill-rule='evenodd'/>"}),n+="</clipPath></defs>",n+="<image href='"+l+"' x='"+Wa(Le)+"' y='"+Wa(E)+"' width='"+Wa(Be)+"' height='"+Wa(We)+"' preserveAspectRatio='none' clip-path='url(#"+be+")' style='"+kt+"'/>",n+="</svg>"}else n+="<img src='"+l+"' style='"+fe.image+kt+"'/>";else(p!==void 0||Q!==void 0)&&J&&C&&(p!==void 0&&!P?n+="<video data-pptx-media-id='"+T+"' controls preload='metadata'"+(l?" poster='"+l+"'":"")+" style='width: 100%; height: 100%'>Your browser does not support the video tag.</video>":p!==void 0&&P&&(n+="<iframe src='"+N+"' controls style='width: 100%; height: 100%'></iframe >"),Q!==void 0&&(n+='<audio data-pptx-media-id="'+ge+'" controls preload="metadata"></audio>'));return!C&&i&&(n+="<span style='color:red;font-size:40px;position: absolute;'>This media file Not supported by HTML5</span>"),(p!==void 0||Q!==void 0)&&!J&&C&&console.log("Founded supported media file but media process disabled (mediaProcess=false)"),n+="</div>",n}async function ak(e,r,t,a,s){var n="",i=L(e,["a:graphic","a:graphicData","attrs","uri"]);switch(i){case"http://schemas.openxmlformats.org/drawingml/2006/table":n=await fk(e,r,s);break;case"http://schemas.openxmlformats.org/drawingml/2006/chart":n=await lk(e,r,s);break;case"http://schemas.openxmlformats.org/drawingml/2006/diagram":n=await uk(e,r,t,a,s);break;case"http://schemas.openxmlformats.org/presentationml/2006/ole":var o=L(e,["a:graphic","a:graphicData","mc:AlternateContent","mc:Fallback","p:oleObj"]);o===void 0&&(o=L(e,["a:graphic","a:graphicData","p:oleObj"])),o!==void 0&&(n=await Wp(o,r,t,s));break;default:}return n}async function R1(e,r,t,a,s,n,i,o,d){var fe,oe,kt,dt;var f="";let u=qc(e,t==null?void 0:t["p:txBody"],a==null?void 0:a["p:txBody"]),l=o===void 0?Ma(u.left+u.right,"x",d):0;var k=i.slideMasterTextStyles;if(e===void 0)return f;var _=L(r,["p:style","a:fontRef"]),v=e["a:p"];v.constructor!==Array&&(v=[v]);for(var m=0;m<v.length;m++){var g=v[m],M=gm(g);M.length===0&&(M=void 0);var p="",b=ck(g,e,s,n,i);b!=""&&(p=b),p.indexOf("line-height:")===-1&&(p+="line-height: "+1.2+";"),(o!==void 0||s=="body"||s=="obj"||s=="shape")&&(p+="font-size: 0px;",p+="font-weight: 100;",p+="font-style: normal;");var y="";Object.prototype.hasOwnProperty.call(Ea,p)?y=Ea[p].name:(y="_css_"+(Object.keys(Ea).length+1),Ea[p]={name:y,text:p});var I=(dt=(kt=(oe=yh(r["p:txXfrm"],(fe=r["p:spPr"])==null?void 0:fe["a:xfrm"]))==null?void 0:oe["a:ext"])==null?void 0:kt.attrs)==null?void 0:dt.cx;I===void 0&&(I=L(t,["p:spPr","a:xfrm","a:ext","attrs","cx"])),I===void 0&&(I=L(a,["p:spPr","a:xfrm","a:ext","attrs","cx"]));var N=L(r,["p:spPr","a:xfrm","a:ext","attrs","cy"]);N===void 0&&(N=L(t,["p:spPr","a:xfrm","a:ext","attrs","cy"])),N===void 0&&(N=L(a,["p:spPr","a:xfrm","a:ext","attrs","cy"]));var R=I!==void 0?Math.max(0,Ma(I,"x",d)-l):NaN,B=Number.isFinite(R)?"width:"+R+"px;":"width:inherit;",Z="",T=hk(g,e,n,s,i);f+="<div style='display: flex;flex-shrink:0;"+B+Z+"' class='slide-prgrph "+dk(g,e,n,s,T,i)+" "+T+" "+y+"' >";var C=await nk(g,m,r,e,_,n,s,i),P=C[0]!==void 0&&C[0]!==null&&C[0]!="",J=C[1]!==void 0&&C[1]!==null&&P?C[1]+C[2]:0;f+=C[0]!==void 0?C[0]:"";var re=ok(g,n,s,P,i),Q=re[0],ae=re[1];I===void 0&&o!==void 0&&o!=0&&(I=o);var X="",V=0,H=!1;if(M===void 0&&g!==void 0){var A=await p5(g,void 0,r,e,_,t,n,s,1,i,P);if(P&&typeof $!="undefined"){var ge=$(A).css({position:"absolute",float:"left","white-space":"nowrap",visibility:"hidden"}).appendTo($("body"));V+=ge.outerWidth(),H=!0,ge.remove()}X+=A}else if(M!==void 0)for(var me=0;me<M.length;me++){var A=await p5(M[me],me,g,e,_,t,n,s,M.length,i,P);if(P&&typeof $!="undefined"){var ge=$(A).css({position:"absolute",float:"left","white-space":"nowrap",visibility:"hidden"}).appendTo($("body"));V+=ge.outerWidth(),H=!0,ge.remove()}X+=A}var c=void 0;I!==void 0&&(c=Math.max(0,Ma(I,"x",d)-l-J-ae)),P&&H&&c!==void 0&&V<c&&(c=V+J);var h=c!==void 0&&!isNaN(c)?"width:"+c+"px;":"width:inherit;",De=o!==void 0?"height:auto;min-height:0;max-height:100%;":"height:auto;min-height:0;",Ue=/(?:^|;)line-height:\s*([^;]+)/.exec(p),ee=Ue!==null?Ue[1]:1.2;f+="<div data-office-paragraph='"+m+"' style='"+De+(u.wrap==="none"?"white-space:nowrap;":"white-space:normal;")+"line-height:"+ee+";direction: initial;overflow-wrap:normal;word-wrap:normal;word-break:normal;"+h+Q+"' >",f+=X,f+="</div>",f+="</div>"}return f}async function nk(e,r,t,a,s,n,i,o){var d=o.slideMasterTextStyles,f=a["a:lstStyle"];let u="";var l=L(e,["a:r"]);l!==void 0&&l.constructor===Array&&(l=l[0]);var k=parseInt(L(e["a:pPr"],["attrs","lvl"]))+1;isNaN(k)&&(k=1);var _="a:lvl"+k+"pPr",v,m,g,M,p;if(l!==void 0)v=await z5(l,t,f,s,k,n,i,o),p=v[2],m=Jp(l,a,s,k,i,o);else return"";var b="",y="",I="",N=0,R=0,B=e["a:pPr"],Z=L(B,["a:buNone"]);if(Z!==void 0)return"";var T="TYPE_NONE",C=rc(e,n,i,o),P=C.nodeLaout,J=C.nodeMaster,re=L(B,["a:buChar","attrs","char"]),Q=L(B,["a:buAutoNum","attrs","type"]),ae=L(B,["a:buAutoNum","attrs","startAt"]),X=L(B,["a:buBlip"]);re!==void 0&&(T="TYPE_BULLET"),Q!==void 0&&(T="TYPE_NUMERIC"),X!==void 0&&(T="TYPE_BULPIC");var V=L(B,["a:buSzPts","attrs","val"]);if(V===void 0){if(V=L(B,["a:buSzPct","attrs","val"]),V!==void 0){var H=parseInt(V)/1e5,A=parseInt(m,"px");M=H*parseInt(A)+"px"}}else M=parseInt(V)/100*xo+"px";var ge=L(B,["a:buClr"]);if(re===void 0&&Q===void 0&&X===void 0&&f!==void 0){if(Z=L(f,[_,"a:buNone"]),Z!==void 0)return"";T="TYPE_NONE",re=L(f,[_,"a:buChar","attrs","char"]),Q=L(f,[_,"a:buAutoNum","attrs","type"]),ae=L(f,[_,"a:buAutoNum","attrs","startAt"]),X=L(f,[_,"a:buBlip"]),re!==void 0&&(T="TYPE_BULLET"),Q!==void 0&&(T="TYPE_NUMERIC"),X!==void 0&&(T="TYPE_BULPIC"),(re!==void 0||Q!==void 0||X!==void 0)&&(B=f[_])}if(re===void 0&&Q===void 0&&X===void 0){if(P!==void 0){if(Z=L(P,["a:buNone"]),Z!==void 0)return"";T="TYPE_NONE",re=L(P,["a:buChar","attrs","char"]),Q=L(P,["a:buAutoNum","attrs","type"]),ae=L(P,["a:buAutoNum","attrs","startAt"]),X=L(P,["a:buBlip"]),re!==void 0&&(T="TYPE_BULLET"),Q!==void 0&&(T="TYPE_NUMERIC"),X!==void 0&&(T="TYPE_BULPIC")}if(re===void 0&&Q===void 0&&X===void 0&&J!==void 0){if(Z=L(J,["a:buNone"]),Z!==void 0)return"";T="TYPE_NONE",re=L(J,["a:buChar","attrs","char"]),Q=L(J,["a:buAutoNum","attrs","type"]),ae=L(J,["a:buAutoNum","attrs","startAt"]),X=L(J,["a:buBlip"]),re!==void 0&&(T="TYPE_BULLET"),Q!==void 0&&(T="TYPE_NUMERIC"),X!==void 0&&(T="TYPE_BULPIC")}}var me=L(B,["attrs","rtl"]);me===void 0&&(me=L(P,["attrs","rtl"]),me===void 0&&i!="shape"&&(me=L(J,["attrs","rtl"])));var c=!1;me!==void 0&&me=="1"&&(c=!0);var h=L(B,["attrs","algn"]);h===void 0&&(h=L(P,["attrs","algn"]),h===void 0&&(h=L(J,["attrs","algn"])));var De=L(B,["attrs","indent"]);De===void 0&&(De=L(P,["attrs","indent"]),De===void 0&&(De=L(J,["attrs","indent"])));var Ue=0;De!==void 0&&(Ue=parseInt(De)*w);var ee=L(B,["attrs","marL"]);if(ee===void 0&&(ee=L(P,["attrs","marL"]),ee===void 0&&(ee=L(J,["attrs","marL"]))),ee!==void 0){var fe=parseInt(ee)*w;c?I="padding-right:":I="padding-left:",N=fe+Ue<0?0:fe+Ue,I+=N+"px;"}var oe=L(B,["attrs","marR"]);if(oe===void 0&&ee===void 0&&(oe=L(P,["attrs","marR"]),oe===void 0&&(oe=L(J,["attrs","marR"]))),oe!==void 0){var kt=parseInt(oe)*w;c?I="padding-right:":I="padding-left:",y+=(kt+Ue<0?0:kt+Ue)+"px;"}T!="TYPE_NONE",ge===void 0&&(ge=L(f,[_,"a:buClr"])),ge===void 0&&(ge=L(P,["a:buClr"]),ge===void 0&&(ge=L(J,["a:buClr"])));var dt;if(ge!==void 0?dt=gt(ge,void 0,void 0,o):s!==void 0&&(dt=gt(s,void 0,void 0,o)),dt===void 0||dt=="NONE"?g=v:(g=[dt,"","solid"],p="solid"),V===void 0)if(V=L(P,["a:buSzPts","attrs","val"]),V===void 0){if(V=L(P,["a:buSzPct","attrs","val"]),V!==void 0){var H=parseInt(V)/1e5,A=parseInt(m,"px");M=H*parseInt(A)+"px"}}else M=parseInt(V)/100*xo+"px";if(V===void 0)if(V=L(J,["a:buSzPts","attrs","val"]),V===void 0){if(V=L(J,["a:buSzPct","attrs","val"]),V!==void 0){var H=parseInt(V)/1e5,A=parseInt(m,"px");M=H*parseInt(A)+"px"}}else M=parseInt(V)/100*xo+"px";if(V===void 0&&(M=m),R=parseInt(M,"px"),T=="TYPE_BULLET"){var S=L(B,["a:buFont","attrs","typeface"]),Ee="";if(S!==void 0){var pe=$p(S);pe!==void 0&&(Ee="font-family: "+pe)}if(b="<div style='height: 100%;"+Ee+";"+I+y+"font-size:"+M+";",p=="solid")g[0]!==void 0&&g[0]!=""&&(b+="color:#"+g[0]+"; "),g[1]!==void 0&&g[1]!=""&&g[1]!=";"&&(b+="text-shadow:"+g[1]+";");else if(p=="pattern"||p=="pic"||p=="gradient"){if(p=="pattern")b+="background:"+g[0][0]+";",g[0][1]!==null&&g[0][1]!==void 0&&g[0][1]!=""&&(b+="background-size:"+g[0][1]+";"),g[0][2]!==null&&g[0][2]!==void 0&&g[0][2]!=""&&(b+="background-position:"+g[0][2]+";");else if(p=="pic")b+=g[0]+";";else if(p=="gradient"){var Y=g[0].color,z=g[0].rot;b+="background: linear-gradient("+z+"deg,";for(var r=0;r<Y.length;r++)r==Y.length-1?b+="#"+Y[r]+");":b+="#"+Y[r]+", "}b+="-webkit-background-clip: text;background-clip: text;color: transparent;",g[1].border!==void 0&&g[1].border!==""&&(b+="-webkit-text-stroke: "+g[1].border+";"),g[1].effcts!==void 0&&g[1].effcts!==""&&(b+="filter: "+g[1].effcts+";")}c&&(b+="white-space: nowrap ;direction:rtl");var j=re;b5||(j=ik(S,re)),b+="'><div style='line-height: "+R/2+"px;'>"+j+"</div></div>"}else if(T=="TYPE_NUMERIC"){b="<div style='height: 100%;"+I+y+"color:#"+g[0]+";font-size:"+M+";",c?b+="display: inline-block;white-space: nowrap ;direction:rtl;":b+="display: inline-block;white-space: nowrap ;direction:ltr;";var be=Number(ae),Le=Number.isInteger(be)&&be>=1&&be<=32767?" data-bulltstartat='"+be+"'":"";b+="' data-bulltname='"+Xi(Q)+"' data-bulltlvl='"+k+"'"+Le+" class='numeric-bullet-style'></div>"}else if(T=="TYPE_BULPIC"){var E=L(X,["a:blip","attrs","r:embed"]),Be="",We;if(E!==void 0){var xe=o.slideResObj[E].target,ht=await o.zip.file(xe).async("arraybuffer"),Yt=await Kp(o.zip,xe,ht);We=Yt?"<img src='"+Yt+"' style='width: 100%;'/>":"‣"}E===void 0&&(We="‣"),b="<div style='height: 100%;"+I+y+"width:"+M+";display: inline-block; ",c&&(b+="display: inline-block;white-space: nowrap ;direction:rtl;"),b+="'>"+We+" </div>"}return[b,N,R]}function ik(e,r){switch(r){case"\xA7":return"■";case"q":return"❑";case"v":return"❖";case"\xD8":return"⮚";case"\xFC":return"✔";default:if(e=="Wingdings 2"||e=="Wingdings 3"){var t=sk(e,r);if(t!==null)return"&#"+t+";"}return"&#"+r.charCodeAt(0)+";"}}function sk(e,r){let t=r.codePointAt(0)&4095;return _5.codePoint(e,t).codePoint}function rc(e,r,t,a){var s,n,i=e["a:pPr"],o=1,d=L(i,["attrs","lvl"]);if(d!==void 0&&(o=parseInt(d)+1),r!==void 0&&(s=L(a.slideLayoutTables.idxTable[r],["p:txBody","a:lstStyle","a:lvl"+o+"pPr"]),s===void 0&&(s=L(a.slideLayoutTables.idxTable[r],["p:txBody","a:p","a:pPr"]),s===void 0&&(s=L(a.slideLayoutTables.idxTable[r],["p:txBody","a:p",o-1,"a:pPr"])))),t!==void 0){var f="a:lvl"+o+"pPr";s===void 0&&(s=L(a,["slideLayoutTables","typeTable",t,"p:txBody","a:lstStyle",f])),t=="title"||t=="ctrTitle"?n=L(a,["slideMasterTextStyles","p:titleStyle",f]):t=="body"||t=="obj"||t=="subTitle"?n=L(a,["slideMasterTextStyles","p:bodyStyle",f]):t=="shape"||t=="diagram"?n=L(a,["slideMasterTextStyles","p:otherStyle",f]):t=="textBox"?n=L(a,["defaultTextStyle",f]):n=L(a,["slideMasterTables","typeTable",t,"p:txBody","a:lstStyle",f])}return{nodeLaout:s,nodeMaster:n}}async function p5(e,r,t,a,s,n,i,o,d,f,u){var S,Ee;if(e.type==="br")return"<span class='line-break-br'></span>";var l="",k=a["a:lstStyle"],_=f.slideMasterTextStyles,v=e["a:t"],m=L(e,["a:fld","attrs","type"]);typeof m=="string"&&m.toLowerCase()==="slidenum"&&(v=String((Ee=(S=f==null?void 0:f.displaySlideNumber)!=null?S:f==null?void 0:f.slideNumber)!=null?Ee:""));var g="<span"+(typeof m=="string"&&m.toLowerCase()==="slidenum"?" data-pptx-field='slidenum'":""),M="</span>",p="";typeof v!="string"&&(v=L(e,["a:fld","a:t"]),typeof v!="string"&&(v="\xA0"));var b=t["a:pPr"],y=1,I=L(b,["attrs","lvl"]);I!==void 0&&(y=parseInt(I)+1);var N=rc(t,i,o,f),R=N.nodeLaout,B=N.nodeMaster,Z=L(e,["a:rPr","attrs","lang"]),T=Z!==void 0&&k5.indexOf(Z)!==-1,C=L(b,["attrs","rtl"]);C===void 0&&(C=L(R,["attrs","rtl"]),C===void 0&&o!="shape"&&(C=L(B,["attrs","rtl"])));var P=!1,J="ltr";C!==void 0&&C=="1"&&(P=!0,J="rtl");var re=L(e,["a:rPr","a:hlinkClick","attrs","r:id"]),Q="",ae;if(re!==void 0){Q=L(e,["a:rPr","a:hlinkClick","attrs","tooltip"]),Q!==void 0&&(Q="title='"+Xi(Q)+"'"),ae=O5("a:hlink",void 0,void 0,f);var X=L(e,["a:rPr","a:solidFill"]),V=gt(X,void 0,void 0,f);V!==void 0&&V!=""&&(ae=V)}var H=await z5(e,t,k,s,y,i,o,f),A=H[2];if(A=="solid")re===void 0&&H[0]!==void 0&&H[0]!=""?p+="color: #"+H[0]+";":re!==void 0&&ae!==void 0&&(p+="color: #"+ae+";"),H[1]!==void 0&&H[1]!=""&&H[1]!=";"&&(p+="text-shadow:"+H[1]+";"),H[3]!==void 0&&H[3]!=""&&(p+="background-color: #"+H[3]+";");else if(A=="pattern"||A=="pic"||A=="gradient"){if(A=="pattern")p+="background:"+H[0][0]+";",H[0][1]!==null&&H[0][1]!==void 0&&H[0][1]!=""&&(p+="background-size:"+H[0][1]+";"),H[0][2]!==null&&H[0][2]!==void 0&&H[0][2]!=""&&(p+="background-position:"+H[0][2]+";");else if(A=="pic")p+=H[0]+";";else if(A=="gradient"){var ge=H[0].color,me=H[0].rot;p+="background: linear-gradient("+me+"deg,";for(var c=0;c<ge.length;c++)c==ge.length-1?p+="#"+ge[c]+");":p+="#"+ge[c]+", "}p+="-webkit-background-clip: text;background-clip: text;color: transparent;",H[1].border!==void 0&&H[1].border!==""&&(p+="-webkit-text-stroke: "+H[1].border+";"),H[1].effcts!==void 0&&H[1].effcts!==""&&(p+="filter: "+H[1].effcts+";")}var h=Jp(e,a,s,y,o,f);l+="font-size:"+h+";font-family:"+Lk(e,o,f,s,v,Z,R,B,y)+";font-weight:"+gk(e,o,_,R,B,t)+";font-style:"+kk(e,o,_,R,B,t)+";text-decoration:"+Mk(e,o,_)+";text-align:"+Ek(e,t,o,f)+";vertical-align:"+Pk(e,o,_)+";",T?p+="direction:rtl;":p+="direction:ltr;";var De=L(e,["a:rPr","a:highlight"]);De!==void 0&&(p+="background-color:#"+gt(De,void 0,void 0,f)+";");var Ue=L(e,["a:rPr","attrs","spc"]);if(Ue===void 0&&(Ue=L(R,["a:defRPr","attrs","spc"]),Ue===void 0&&(Ue=L(B,["a:defRPr","attrs","spc"]))),Ue!==void 0){var ee=parseInt(Ue)/100;p+="letter-spacing: "+ee+"px;"}var fe=L(e,["a:rPr","attrs","cap"]);fe===void 0&&(fe=L(R,["a:defRPr","attrs","cap"]),fe===void 0&&(fe=L(B,["a:defRPr","attrs","cap"]))),(fe=="small"||fe=="all")&&(p+="text-transform: uppercase");var oe="";Object.prototype.hasOwnProperty.call(Ea,p)?oe=Ea[p].name:(oe="_css_"+(Object.keys(Ea).length+1),Ea[p]={name:oe,text:p});var kt="";if(A=="solid"&&re!==void 0&&(kt="style='color: inherit;'"),re!==void 0&&re!=""){var dt=Jk(f.slideResObj[re].target);if(dt!=="")return dt=Xi(dt),g+" class='text-block "+oe+"' style='"+l+"'><a href='"+dt+"' "+kt+" "+Q+" target='_blank' rel='noopener noreferrer'>"+m5(v)+"</a>"+M}return g+" class='text-block "+oe+"' style='"+l+"'>"+m5(v)+M}function ok(e,r,t,a,s){if(!a)return["",0];var n="",i="",o=0,d=e["a:pPr"],f=rc(e,r,t,s),u=f.nodeLaout,l=f.nodeMaster,k=L(d,["attrs","rtl"]);k===void 0&&(k=L(u,["attrs","rtl"]),k===void 0&&t!="shape"&&(k=L(l,["attrs","rtl"])));var _=!1,v="ltr";k!==void 0&&k=="1"&&(_=!0,v="rtl");var m=L(d,["attrs","algn"]);m===void 0&&(m=L(u,["attrs","algn"]),m===void 0&&(m=L(l,["attrs","algn"])));var g=L(d,["attrs","indent"]);g===void 0&&(g=L(u,["attrs","indent"]),g===void 0&&(g=L(l,["attrs","indent"])));var M=0;g!==void 0&&(M=parseInt(g)*w);var p=L(d,["attrs","marL"]);p===void 0&&(p=L(u,["attrs","marL"]),p===void 0&&(p=L(l,["attrs","marL"])));var b=0;p!==void 0&&(b=parseInt(p)*w),(g!==void 0||p!==void 0)&&(_?n="padding-right: ":n="padding-left: ",a?(o=Math.abs(0-M),n+=o+"px;"):(o=Math.abs(b+M),n+=o+"px;"));var y=L(d,["attrs","marR"]);if(y===void 0&&p===void 0&&(y=L(u,["attrs","marR"]),y===void 0&&(y=L(l,["attrs","marR"]))),y!==void 0&&a){var I=parseInt(y)*w;_?i="padding-right: ":i="padding-left: ",i+=Math.abs(0-M)+"px;"}return[n,o]}function D5(){var e="";for(var r of Object.keys(Ea)){var t=Ea[r];if(!(!t||typeof t.name!="string"||typeof t.text!="string")){var a="";e+=a+" ."+t.name+(t.suffix?t.suffix:"")+"{"+t.text+`}
|
|
13
|
+
`}}return e}async function fk(e,r,t){var a=e.attrs.order,s=L(e,["a:graphic","a:graphicData","a:tbl"]),n=L(e,["p:xfrm"]),i=L(e,["a:graphic","a:graphicData","a:tbl","a:tblPr"])||{};i.attrs=i.attrs||{};var o=L(e,["a:graphic","a:graphicData","a:tbl","a:tblGrid","a:gridCol"]),d="";if(i!==void 0){var f=i.attrs.rtl;d=f==1?"dir=rtl":"dir=ltr"}var u=i.attrs.firstRow,l=i.attrs.firstCol,k=i.attrs.lastRow,_=i.attrs.lastCol,v=i.attrs.bandRow,m=i.attrs.bandCol,g={isFrstRowAttr:u!==void 0&&u=="1"?1:0,isFrstColAttr:l!==void 0&&l=="1"?1:0,isLstRowAttr:k!==void 0&&k=="1"?1:0,isLstColAttr:_!==void 0&&_=="1"?1:0,isBandRowAttr:v!==void 0&&v=="1"?1:0,isBandColAttr:m!==void 0&&m=="1"?1:0},M,p=i["a:tableStyleId"]||L(Zp,["a:tblStyleLst","attrs","def"]);if(p!==void 0){var b=L(Zp,["a:tblStyleLst","a:tblStyle"]);if(b!==void 0)if(b.constructor===Array)for(var y=0;y<b.length;y++)b[y].attrs.styleId==p&&(M=b[y]);else b.attrs.styleId==p&&(M=b)}M=M||Sm(p),r.thisTbiStyle=void 0,M!==void 0&&(M.tblStylAttrObj=g,r.thisTbiStyle=M);var I=L(M,["a:wholeTbl","a:tcStyle"]),N=L(I,["a:tcBdr"]),R="";N!==void 0&&(R=Ju(N,r));var B="",Z=1,T=L(M,["a:tblBg","a:fillRef"]);T!==void 0&&(B=gt(T,void 0,void 0,r)),T===void 0&&(T=L(M,["a:wholeTbl","a:tcStyle","a:fill","a:solidFill"]),B=gt(T,void 0,void 0,r)),B=typeof B=="string"&&B?"background-color: #"+B+";":"";var C=_r(o),P=s5(C.map(function(Ua){return L(Ua,["attrs","w"])})),J="";P!==void 0?J="width:"+Ma(P,"x",t)+"px;":J=Ai(n,void 0,void 0,t);var re=L(e,["p:nvGraphicFramePr","p:cNvPr","attrs","id"]),Q="<table data-office-shape='"+Xi(String(re||""))+"' "+d+" style='border-collapse:collapse;table-layout:fixed;box-sizing:border-box;overflow:hidden;"+Yi(n,e,void 0,void 0,"group",t)+J+" z-index: "+a+";"+R+";"+B+"'>",ae=s["a:tr"];ae.constructor!==Array&&(ae=[ae]);for(var X=ae.map(function(Ua){var On=parseInt(L(Ua,["attrs","h"]));return Number.isFinite(On)&&On>0?Ma(On,"y",t):0}),V=0,H=[],A=0;A<ae.length;A++){var ge=ae[A].attrs.h,me=0,c="box-sizing:border-box;overflow:hidden;";ge!==void 0&&(me=Ma(ge,"y",t),c+="height:"+me+"px;");var h="",De="",Ue="",ee="",fe,oe;if(M!==void 0&&M["a:wholeTbl"]!==void 0){var kt=L(M,["a:wholeTbl","a:tcStyle","a:fill","a:solidFill"]);if(kt!==void 0){var dt=gt(kt,void 0,void 0,r);dt!==void 0&&(h=dt)}var S=L(M,["a:wholeTbl","a:tcTxStyle"]);if(S!==void 0){var Ee=gt(S,void 0,void 0,r);Ee!==void 0&&(Ue=Ee);var pe=L(S,["attrs","b"])=="on"?"bold":"";pe!=""&&(ee=pe)}}if(A==0&&g.isFrstRowAttr==1&&M!==void 0){var kt=L(M,["a:firstRow","a:tcStyle","a:fill","a:solidFill"]);if(kt!==void 0){var dt=gt(kt,void 0,void 0,r);dt!==void 0&&(h=dt)}var Y=L(M,["a:firstRow","a:tcStyle","a:tcBdr"]);if(Y!==void 0){var z=Ju(Y,r);z!=""&&(De=z)}var S=L(M,["a:firstRow","a:tcTxStyle"]);if(S!==void 0){var j=gt(S,void 0,void 0,r);j!==void 0&&(Ue=j);var pe=L(S,["attrs","b"])=="on"?"bold":"";pe!==""&&(ee=pe)}}else if(A>0&&g.isBandRowAttr==1&&M!==void 0){if(h="",De=void 0,A%2==0&&M["a:band2H"]!==void 0){var kt=L(M,["a:band2H","a:tcStyle","a:fill","a:solidFill"]);if(kt!==void 0){var dt=gt(kt,void 0,void 0,r);dt!==""&&(h=dt,oe=dt)}var Y=L(M,["a:band2H","a:tcStyle","a:tcBdr"]);if(Y!==void 0){var z=Ju(Y,r);z!=""&&(De=z)}var S=L(M,["a:band2H","a:tcTxStyle"]);if(S!==void 0){var j=gt(S,void 0,void 0,r);j!==void 0&&(Ue=j)}var pe=L(S,["attrs","b"])=="on"?"bold":"";pe!==""&&(ee=pe)}if(A%2!=0&&M["a:band1H"]!==void 0){var kt=L(M,["a:band1H","a:tcStyle","a:fill","a:solidFill"]);if(kt!==void 0){var dt=gt(kt,void 0,void 0,r);dt!==void 0&&(h=dt,fe=dt)}var Y=L(M,["a:band1H","a:tcStyle","a:tcBdr"]);if(Y!==void 0){var z=Ju(Y,r);z!=""&&(De=z)}var S=L(M,["a:band1H","a:tcTxStyle"]);if(S!==void 0){var j=gt(S,void 0,void 0,r);j!==void 0&&(Ue=j);var pe=L(S,["attrs","b"])=="on"?"bold":"";pe!=""&&(ee=pe)}}}if(A==ae.length-1&&g.isLstRowAttr==1&&M!==void 0){var kt=L(M,["a:lastRow","a:tcStyle","a:fill","a:solidFill"]);if(kt!==void 0){var dt=gt(kt,void 0,void 0,r);dt!==void 0&&(h=dt)}var Y=L(M,["a:lastRow","a:tcStyle","a:tcBdr"]);if(Y!==void 0){var z=Ju(Y,r);z!=""&&(De=z)}var S=L(M,["a:lastRow","a:tcTxStyle"]);if(S!==void 0){var j=gt(S,void 0,void 0,r);j!==void 0&&(Ue=j);var pe=L(S,["attrs","b"])=="on"?"bold":"";pe!==""&&(ee=pe)}}c+=De!==void 0?De:"",c+=Ue!==void 0?" color: #"+Ue+";":"",c+=ee!=""?" font-weight:"+ee+";":"",h!==void 0&&h!=""&&(c+="background-color: #"+h+";"),Q+="<tr style='"+c+"'>";var be=ae[A]["a:tc"];if(be!==void 0)if(be.constructor===Array){var Le=0;H.length==0&&(H=Array.apply(null,Array(be.length)).map(function(){return 0}));for(var E=0;Le<be.length;){if(H[Le]==0&&E==0){var Be=void 0;if(Le==0&&g.isFrstColAttr==1)Be="a:firstCol",g.isLstRowAttr==1&&A==ae.length-1&&L(M,["a:seCell"])!==void 0?Be="a:seCell":g.isFrstRowAttr==1&&A==0&&L(M,["a:neCell"])!==void 0&&(Be="a:neCell");else if(Le>0&&g.isBandColAttr==1&&!(g.isFrstColAttr==1&&A==0)&&!(g.isLstRowAttr==1&&A==ae.length-1)&&Le!=be.length-1&&Le%2!=0){var We=L(M,["a:band2V"]);We===void 0?(We=L(M,["a:band1V"]),We!==void 0&&(Be="a:band2V")):Be="a:band2V"}Le==be.length-1&&g.isLstColAttr==1&&(Be="a:lastCol",g.isLstRowAttr==1&&A==ae.length-1&&L(M,["a:swCell"])!==void 0?Be="a:swCell":g.isFrstRowAttr==1&&A==0&&L(M,["a:nwCell"])!==void 0&&(Be="a:nwCell"));var xe=await v5(be[Le],o,A,Le,M,Be,r,X,t),ht=xe[0],Yt=xe[1],Bt=xe[2],$r=xe[3],Pn=xe[4];$r!==void 0?(V++,H[Le]=parseInt($r)-1,Q+="<td class='"+Bt+"' data-row='"+A+","+Le+"' rowspan ='"+parseInt($r)+"' style='"+Yt+"'>"+ht+"</td>"):Pn!==void 0?(Q+="<td class='"+Bt+"' data-row='"+A+","+Le+"' colspan = '"+parseInt(Pn)+"' style='"+Yt+"'>"+ht+"</td>",E=parseInt(Pn)-1):Q+="<td class='"+Bt+"' data-row='"+A+","+Le+"' style = '"+Yt+"'>"+ht+"</td>"}else H[Le]!=0&&(H[Le]-=1),E!=0&&E--;Le++}}else{var Be=void 0;if(g.isFrstColAttr==1&&g.isLstRowAttr!=1)Be="a:firstCol";else if(g.isBandColAttr==1&&g.isLstRowAttr!=1){var We=L(M,["a:band2V"]);We===void 0?(We=L(M,["a:band1V"]),We!==void 0&&(Be="a:band2V")):Be="a:band2V"}g.isLstColAttr==1&&g.isLstRowAttr!=1&&(Be="a:lastCol");var xe=await v5(be,o,A,void 0,M,Be,r,X,t),ht=xe[0],Yt=xe[1],Bt=xe[2],$r=xe[3];$r!==void 0?Q+="<td class='"+Bt+"' rowspan='"+parseInt($r)+"' style = '"+Yt+"'>"+ht+"</td>":Q+="<td class='"+Bt+"' style='"+Yt+"'>"+ht+"</td>"}Q+="</tr>"}return Q+"</table>"}async function v5(e,r,t,a,s,n,i,o,d){var f=L(e,["attrs","rowSpan"]),u=L(e,["attrs","gridSpan"]),l=L(e,["attrs","vMerge"]),k=L(e,["attrs","hMerge"]),_=i5(L(e,["a:tcPr","attrs"])||{}),v="box-sizing:border-box;min-width:0;overflow:hidden;word-wrap:break-word;padding:0;",m,g="",M="",p="",b="",y="",I="",N="",R="",B="",Z="",T=parseInt(u),C=0;if(!isNaN(T)&&T>1)for(var P=0;P<T;P++)C+=parseInt(L(r[a+P],["attrs","w"]));else C=L(a===void 0?r:r[a],["attrs","w"]);var J=await R1(e["a:txBody"],e,void 0,void 0,void 0,void 0,i,C),re=Number.isFinite(parseInt(f))&&parseInt(f)>1?parseInt(f):1,Q=Array.isArray(o)?o.slice(t,t+re).reduce(function(oe,kt){return oe+kt},0):0,ae=Q>0?"height:"+Q+"px;min-height:0;max-height:"+Q+"px;":"";if(J="<div class='pptx-table-cell-content' style='box-sizing:border-box;overflow:hidden;line-height:"+1.2+";"+ae+"padding:"+_.top+"px "+_.right+"px "+_.bottom+"px "+_.left+"px;'>"+J+"</div>",Q>0&&(v+="height:"+Q+"px;"),C!=0&&(m=Ma(C,"x",d),v+="width:"+m+"px;"),y=L(e,["a:tcPr","a:lnB"]),y===void 0&&(n!==void 0&&(y=L(s,[n,"a:tcStyle","a:tcBdr","a:bottom","a:ln"])),y===void 0&&(y=L(s,["a:wholeTbl","a:tcStyle","a:tcBdr","a:bottom","a:ln"]))),I=L(e,["a:tcPr","a:lnT"]),I===void 0&&(n!==void 0&&(I=L(s,[n,"a:tcStyle","a:tcBdr","a:top","a:ln"])),I===void 0&&(I=L(s,["a:wholeTbl","a:tcStyle","a:tcBdr","a:top","a:ln"]))),N=L(e,["a:tcPr","a:lnL"]),N===void 0&&(n!==void 0&&(N=L(s,[n,"a:tcStyle","a:tcBdr","a:left","a:ln"])),N===void 0&&(N=L(s,["a:wholeTbl","a:tcStyle","a:tcBdr","a:left","a:ln"]))),R=L(e,["a:tcPr","a:lnR"]),R===void 0&&(n!==void 0&&(R=L(s,[n,"a:tcStyle","a:tcBdr","a:right","a:ln"])),R===void 0&&(R=L(s,["a:wholeTbl","a:tcStyle","a:tcBdr","a:right","a:ln"]))),B=L(e,["a:tcPr","a:lnBlToTr"]),Z=L(e,["a:tcPr","a:InTlToBr"]),y!==void 0&&y!=""){var X=Ii(y,void 0,!1,"",i);X!=""&&(v+="border-bottom:"+X+";")}if(I!==void 0&&I!=""){var V=Ii(I,void 0,!1,"",i);V!=""&&(v+="border-top: "+V+";")}if(N!==void 0&&N!=""){var H=Ii(N,void 0,!1,"",i);H!=""&&(v+="border-left: "+H+";")}if(R!==void 0&&R!=""){var A=Ii(R,void 0,!1,"",i);A!=""&&(v+="border-right:"+A+";")}var ge=L(e,["a:tcPr"]);if(ge!==void 0&&ge!=""){var me={"p:spPr":ge};g=await ju(me,void 0,!1,i,"slide")}if(g==""||g=="background-color: inherit;"){var c;if(n!==void 0&&(c=L(s,[n,"a:tcStyle","a:fill","a:solidFill"])),c!==void 0){var h=gt(c,void 0,void 0,i);h!==void 0&&(g=" background-color: #"+h+";")}}var De="";g!==void 0&&g!=""&&(Object.prototype.hasOwnProperty.call(Ea,g)?De=Ea[g].name:(De="_tbl_cell_css_"+(Object.keys(Ea).length+1),Ea[g]={name:De,text:g}));var Ue;if(n!==void 0&&(Ue=L(s,[n,"a:tcTxStyle"])),Ue!==void 0){var ee=gt(Ue,void 0,void 0,i);ee!==void 0&&(p=ee);var fe=L(Ue,["attrs","b"])=="on"?"bold":"";fe!==""&&(b=fe)}return v+=p!==""?"color: #"+p+";":"",v+=b!=""?" font-weight:"+b+";":"",[J,v,De,f,u]}async function lk(e,r,t){var _,v;var a=e.attrs.order,s=L(e,["p:xfrm"]),n="<div id='chart"+wp+"' class='block content' style='"+Yi(s,e,void 0,void 0,"group",t)+Ai(s,void 0,void 0,t)+" z-index: "+a+";'></div>",i=e["a:graphic"]["a:graphicData"]["c:chart"].attrs["r:id"],o=r.slideResObj[i].target,d=await Wr(r.zip,o),f=L(d,["c:chartSpace","c:chart","c:plotArea"]),u=Om(d,m=>gt(m,void 0,void 0,r),(m,g)=>Fu(m,r,g,""));if(u.groups.length){var l=u.groups[0],k=l.chartType==="scatterChart"?[((_=l.series[0])==null?void 0:_.values.map(m=>m.x))||[],((v=l.series[0])==null?void 0:v.values.map(m=>m.y))||[]]:l.series;ec.MsgQueue.push({type:"createChart",data:{chartID:"chart"+wp,chartType:u.groups.length>1?"comboChart":l.chartType,barDirection:l.barDirection,chartData:u.groups.length>1?u.groups.flatMap(m=>m.series):k,chartOptions:l.options,chartModel:u}})}return wp++,n}async function uk(e,r,t,a,s){var B;var n=e.attrs.order,i=r.zip,o=L(e,["p:xfrm"]),d=L(e,["a:graphic","a:graphicData","dgm:relIds","attrs"]),f=d["r:cs"],u=d["r:dm"],l=d["r:lo"],k=d["r:qs"],_=r.slideResObj[f].target,v=r.slideResObj[u].target,m=r.slideResObj[l].target,g=r.slideResObj[k].target,M=await Wr(i,_),p=await Wr(i,v),b=await Wr(i,m),y=await Wr(i,g),I=_r(L(r.digramFileContent,["p:drawing","p:spTree","p:sp"]));let N=vm(I,p,b);var R="";for(let Z of I){let T=N.get((B=Z.attrs)==null?void 0:B.modelId),C=T?{...Z,"p:txXfrm":T}:Z;R+=await R5(C,e,r,"diagramBg",a,s)}return"<div class='block diagram-content' style='"+Yi(o,e,void 0,void 0,a,s)+Ai(o,void 0,void 0,s)+"'>"+R+"</div>"}function Yi(e,r,t,a,s,n){var i,o=-1,d=-1;return e!==void 0&&(i=L(e,["a:off","attrs"])),i===void 0&&t!==void 0?i=L(t,["a:off","attrs"]):i===void 0&&a!==void 0&&(i=L(a,["a:off","attrs"])),i===void 0?"":(o=Tf(i.x,"x",n),d=Tf(i.y,"y",n),isNaN(o)||isNaN(d)?"":"top:"+d+"px; left:"+o+"px;")}function Ai(e,r,t,a){var s=void 0,n=-1,i=-1;return e!==void 0?s=L(e,["a:ext","attrs"]):r!==void 0?s=L(r,["a:ext","attrs"]):t!==void 0&&(s=L(t,["a:ext","attrs"])),s===void 0?"":(n=Ma(s.cx,"x",a),i=Ma(s.cy,"y",a),isNaN(n)||isNaN(i)?"":"width:"+n+"px; height:"+i+"px;")}function ck(e,r,t,a,s){var n=1,i=L(e,["a:pPr","a:spcBef","a:spcPts","attrs","val"]),o=L(e,["a:pPr","a:spcAft","a:spcPts","attrs","val"]),d=L(e,["a:pPr","a:spcBef","a:spcPct","attrs","val"]),f=L(e,["a:pPr","a:spcAft","a:spcPct","attrs","val"]),u=L(e,["a:pPr","a:lnSpc","a:spcPct","attrs","val"]),l="Pct";u===void 0&&(u=L(e,["a:pPr","a:lnSpc","a:spcPts","attrs","val"]),u!==void 0&&(l="Pts"));var k=L(e,["a:pPr","attrs","lvl"]);k!==void 0&&(n=parseInt(k)+1);var _,v=_r(e["a:r"]).concat(_r(e["a:fld"]));v.length===0&&(v=[e]),v.forEach(function(re){var Q=parseFloat(Jp(re,r,void 0,n,t,s));Number.isFinite(Q)&&Q>0&&(_=Math.max(_||0,Q))});var m=L(r,["a:lstStyle","a:lvl"+n+"pPr"]);i===void 0&&d===void 0&&(i=L(m,["a:spcBef","a:spcPts","attrs","val"]),d=L(m,["a:spcBef","a:spcPct","attrs","val"])),o===void 0&&f===void 0&&(o=L(m,["a:spcAft","a:spcPts","attrs","val"]),f=L(m,["a:spcAft","a:spcPct","attrs","val"]));var g=!0;if((t=="shape"||t=="textBox")&&(g=!1),g&&(i===void 0||o===void 0||u===void 0)&&a!==void 0){var M=L(s,["slideLayoutTables","idxTable",a,"p:txBody"]),p=L(M,["a:lstStyle","a:lvl"+n+"pPr"]);p===void 0&&(p=L(_r(L(M,["a:p"]))[n-1],["a:pPr"])),i===void 0&&d===void 0&&(i=L(p,["a:spcBef","a:spcPts","attrs","val"]),d=L(p,["a:spcBef","a:spcPct","attrs","val"])),o===void 0&&f===void 0&&(o=L(p,["a:spcAft","a:spcPts","attrs","val"]),f=L(p,["a:spcAft","a:spcPct","attrs","val"])),u===void 0&&(u=L(p,["a:lnSpc","a:spcPct","attrs","val"]),u===void 0&&(u=L(p,["a:lnSpc","a:spcPts","attrs","val"]),u!==void 0&&(l="Pts")))}if(g&&(i===void 0||o===void 0||u===void 0)){var b=s.slideMasterTextStyles,y="",n="a:lvl"+n+"pPr";switch(t){case"title":case"ctrTitle":y="p:titleStyle";break;case"body":case"obj":case"dt":case"ftr":case"sldNum":case"textBox":y="p:bodyStyle";break;default:y="p:otherStyle"}var I=L(b,[y,n]);I!==void 0&&(i===void 0&&d===void 0&&(i=L(I,["a:spcBef","a:spcPts","attrs","val"]),d=L(I,["a:spcBef","a:spcPct","attrs","val"])),o===void 0&&f===void 0&&(o=L(I,["a:spcAft","a:spcPts","attrs","val"]),f=L(I,["a:spcAft","a:spcPct","attrs","val"])),u===void 0&&(u=L(I,["a:lnSpc","a:spcPct","attrs","val"]),u===void 0&&(u=L(I,["a:lnSpc","a:spcPts","attrs","val"]),u!==void 0&&(l="Pts"))))}var N=0,R=0,B="";i!==void 0&&(N=parseInt(i)/100*xo),o!==void 0&&(R=parseInt(o)/100*xo);function Z(re){if(!(re===void 0||_===void 0)){var Q=String(re).trim();if(/^\+?(?:\d+(?:\.\d*)?|\.\d+)%?$/.test(Q)){var ae=Q.endsWith("%")?parseFloat(Q)/100:Number(Q)/1e5,X=_*ae;return Number.isFinite(X)&&X>=0?X:void 0}}}var T=Z(d),C=Z(f);if(i===void 0&&T!==void 0&&(N=T),o===void 0&&C!==void 0&&(R=C),u!==void 0&&_!==void 0)if(l=="Pts"){var P=parseInt(u)/100*xo;Number.isFinite(P)&&P>0&&(B+="line-height: "+P+"px;")}else{var J=String(u).trim().endsWith("%")?parseFloat(u)/100:Number(u)/1e5;Number.isFinite(J)&&J>0&&(B+="line-height: "+J+";")}return(i!==void 0||T!==void 0)&&Number.isFinite(N)&&(B+="margin-top: "+Math.max(0,N)+"px;"),(o!==void 0||C!==void 0)&&Number.isFinite(R)&&(B+="margin-bottom: "+Math.max(0,R)+"px;"),B}function dk(e,r,t,a,s,n){var i=L(e,["a:pPr","attrs","algn"]);if(i===void 0){var o=1,d=L(e,["a:pPr","attrs","lvl"]);d!==void 0&&(o=parseInt(d)+1);var f="a:lvl"+o+"pPr",u=r["a:lstStyle"];i=L(u,[f,"attrs","algn"]),i===void 0&&t!==void 0&&(i=L(n.slideLayoutTables.idxTable[t],["p:txBody","a:lstStyle",f,"attrs","algn"]),i===void 0&&(i=L(n.slideLayoutTables.idxTable[t],["p:txBody","a:p","a:pPr","attrs","algn"]),i===void 0&&(i=L(n.slideLayoutTables.idxTable[t],["p:txBody","a:p",o-1,"a:pPr","attrs","algn"])))),i===void 0&&(a!==void 0?(i=L(n,["slideLayoutTables","typeTable",a,"p:txBody","a:lstStyle",f,"attrs","algn"]),i===void 0&&(a=="title"||a=="ctrTitle"?i=L(n,["slideMasterTextStyles","p:titleStyle",f,"attrs","algn"]):a=="body"||a=="obj"||a=="subTitle"?i=L(n,["slideMasterTextStyles","p:bodyStyle",f,"attrs","algn"]):a=="shape"||a=="diagram"?i=L(n,["slideMasterTextStyles","p:otherStyle",f,"attrs","algn"]):a=="textBox"?i=L(n,["defaultTextStyle",f,"attrs","algn"]):i=L(n,["slideMasterTables","typeTable",a,"p:txBody","a:lstStyle",f,"attrs","algn"]))):i=L(n,["slideMasterTextStyles","p:bodyStyle",f,"attrs","algn"]))}if(i===void 0){if(a=="title"||a=="subTitle"||a=="ctrTitle")return"h-mid";if(a=="sldNum")return"h-right"}if(i!==void 0)switch(i){case"l":return s=="pregraph-rtl"?"h-left-rtl":"h-left";case"r":return s=="pregraph-rtl"?"h-right-rtl":"h-right";case"ctr":return"h-mid";default:return"h-"+i}}function hk(e,r,t,a,s){var n=L(e,["a:pPr","attrs","rtl"]);if(n===void 0){var i=rc(e,t,a,s),o=i.nodeLaout,d=i.nodeMaster;n=L(o,["attrs","rtl"]),n===void 0&&a!="shape"&&(n=L(d,["attrs","rtl"]))}return n=="1"?"pregraph-rtl":n=="0"?"pregraph-ltr":"pregraph-inherit"}function Dp(e,r,t,a){var s=L(e,["p:txBody","a:bodyPr","attrs","anchor"]);return s===void 0&&(s=L(r,["p:txBody","a:bodyPr","attrs","anchor"]),s===void 0&&(s=L(t,["p:txBody","a:bodyPr","attrs","anchor"]),s===void 0&&(s="t"))),s==="ctr"?"v-mid":s==="b"?"v-down":"v-up"}function Np(e,r,t){return"content";var a,s,n,i;switch(r){case"title":case"ctrTitle":i="p:titleStyle";break;case"body":case"dt":case"ftr":case"sldNum":case"textBox":i="p:bodyStyle";break;case"shape":i="p:otherStyle"}if(n!==void 0&&i!==""){var o;if(o=="1")return"content-rtl"}}function pk(e,r){return/^(zh|ja|ko)(-|$)/i.test(r||"")||/[\u3040-\u30ff\u3400-\u9fff\uac00-\ud7af]/.test(e||"")}function vk(e,r){return k5.indexOf(r)!==-1||/^(ar|fa|he|ur|dv)(-|$)/i.test(r||"")||/[\u0590-\u08ff\ufb1d-\ufdff\ufe70-\ufeff]/.test(e||"")}function mk(e,r){if(/^zh-(tw|hk|mo)/i.test(e||""))return"Hant";if(/^zh/i.test(e||"")||/[\u3400-\u9fff]/.test(r||""))return"Hans";if(/^ja/i.test(e||"")||/[\u3040-\u30ff]/.test(r||""))return"Jpan";if(/^ko/i.test(e||"")||/[\uac00-\ud7af]/.test(r||""))return"Hang";if(/^(ar|fa|ur|dv)/i.test(e||"")||/[\u0600-\u06ff]/.test(r||""))return"Arab";if(/^he/i.test(e||"")||/[\u0590-\u05ff]/.test(r||""))return"Hebr"}function N5(e,r,t){var a=mk(r,t),s=L(e,["a:font"]);if(!(a===void 0||s===void 0)){s=s.constructor===Array?s:[s];for(var n=0;n<s.length;n++)if(L(s[n],["attrs","script"])===a)return L(s[n],["attrs","typeface"])}}function Fu(e,r,t,a){if(!(e===void 0||e==="")){var s=/^\+(mj|mn)-(lt|ea|cs)$/.exec(e);if(s===null)return e;var n=s[1]==="mj"?"a:majorFont":"a:minorFont",i=s[2]==="lt"?"a:latin":"a:"+s[2],o=L(r.themeContent,["a:theme","a:themeElements","a:fontScheme",n]),d=L(o,[i,"attrs","typeface"]);return d||N5(o,t,a)}}function zp(e,r,t,a,s){var n=r==="major"?"a:majorFont":"a:minorFont",i=L(e.themeContent,["a:theme","a:themeElements","a:fontScheme",n]),o=L(i,["a:"+t,"attrs","typeface"]);return o||N5(i,a,s)}function w1(e,r,t,a){return e===void 0?{}:{latin:Fu(L(e,["a:latin","attrs","typeface"]),r,t,a),ea:Fu(L(e,["a:ea","attrs","typeface"]),r,t,a),cs:Fu(L(e,["a:cs","attrs","typeface"]),r,t,a),sym:Fu(L(e,["a:sym","attrs","typeface"]),r,t,a)}}function Ku(e,r){Object.keys(r).forEach(function(t){(e[t]===void 0||e[t]==="")&&r[t]!==void 0&&r[t]!==""&&(e[t]=r[t])})}function $p(e){var r=Qk(e);if(r!=="")return/^(inherit|serif|sans-serif|monospace|cursive|fantasy|system-ui)$/i.test(r)?r:'"'+r.replace(/\\/g,"\\\\").replace(/"/g,'\\"')+'"'}function _k(e){var r=$p(e);if(r===void 0)return[];var t=String(e).toLowerCase(),a=[];t==="calibri"||t==="calibri light"||t==="aptos"||t==="aptos display"||t==="aptos narrow"||t==="aptos body"?a=["Helvetica Neue","Arial","sans-serif"]:t==="aharoni"?a=["Arial","Helvetica Neue","sans-serif"]:t==="poppins bold"||t==="poppins extrabold"?a=["Poppins","Arial","Helvetica Neue","sans-serif"]:t==="poppins light"||t==="poppins"||t==="poppins regular"?a=["Arial","Helvetica Neue","sans-serif"]:(t==="\u5FAE\u8F6F\u96C5\u9ED1"||t==="microsoft yahei")&&(a=["Microsoft YaHei","PingFang SC","Helvetica Neue","Arial","sans-serif"]);var s=[r];return a.forEach(function(n){var i=$p(n);i!==void 0&&s.indexOf(i)===-1&&s.push(i)}),s}function m5(e){var r=String(e),t=r.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,'"').replace(/'/g,"'").replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/\t/g," ").replace(/\u00a0/g," ");return/^[\s\u00a0]*$/.test(r)?t.replace(/ /g," "):t.replace(/ {2,}/g,function(a){return" "+new Array(a.length).join(" ")})}function bk(e,r){var t=L(r,["attrs","idx"]);return t==="major"||t==="minor"?t:e=="title"||e=="subTitle"||e=="ctrTitle"?"major":"minor"}function Lk(e,r,t,a,s,n,i,o,d){var f={};Ku(f,w1(L(e,["a:rPr"]),t,n,s)),Ku(f,w1(L(i,["a:defRPr"]),t,n,s)),Ku(f,w1(L(o,["a:defRPr"]),t,n,s));var u="a:lvl"+d+"pPr";Ku(f,w1(L(t.defaultTextStyle,[u,"a:defRPr"]),t,n,s));var l=bk(r,a);Ku(f,{latin:zp(t,l,"latin",n,s),ea:zp(t,l,"ea",n,s),cs:zp(t,l,"cs",n,s)});var k=vk(s,n)?"cs":pk(s,n)?"ea":"latin",_=[f[k],f.latin,f.ea,f.cs,f.sym],v=[];return _.forEach(function(m){_k(m).forEach(function(g){v.indexOf(g)===-1&&v.push(g)})}),v.length?v.join(","):"inherit"}async function z5(e,r,t,a,s,n,i,o){var d=L(e,["a:rPr"]),f,u,P,l="",k="";if(d!==void 0){if(f=un(d),f=="SOLID_FILL"){var _=d["a:solidFill"];u=gt(_,void 0,void 0,o);var v=d["a:highlight"];v!==void 0&&(k=gt(v,void 0,void 0,o)),l="solid"}else if(f=="PATTERN_FILL"){var m=d["a:pattFill"];u=Sf(m,o),l="pattern"}else if(f=="PIC_FILL")u=await $i(d,"slideBg",o,void 0,void 0),l="pic";else if(f=="GRADIENT_FILL"){var g=d["a:gradFill"];u=Vu(g,o),l="gradient"}}if(u===void 0){var M=L(r,["a:pPr","a:defRPr"]);if(M!==void 0){if(f=un(M),f=="SOLID_FILL"){var _=M["a:solidFill"];u=gt(_,void 0,void 0,o);var v=M["a:highlight"];v!==void 0&&(k=gt(v,void 0,void 0,o)),l="solid"}else if(f=="PATTERN_FILL"){var m=M["a:pattFill"];u=Sf(m,o),l="pattern"}else if(f=="PIC_FILL")u=await $i(M,"slideBg",o,void 0,void 0),l="pic";else if(f=="GRADIENT_FILL"){var g=M["a:gradFill"];u=Vu(g,o),l="gradient"}}}if(u===void 0&&L(t,["a:lvl"+s+"pPr","a:defRPr"])!==void 0){var p=L(t,["a:lvl"+s+"pPr","a:defRPr"]);if(f=un(p),f=="SOLID_FILL"){var _=p["a:solidFill"];u=gt(_,void 0,void 0,o);var v=p["a:highlight"];v!==void 0&&(k=gt(v,void 0,void 0,o)),l="solid"}else if(f=="PATTERN_FILL"){var m=p["a:pattFill"];u=Sf(m,o),l="pattern"}else if(f=="PIC_FILL")u=await $i(p,"slideBg",o,void 0,void 0),l="pic";else if(f=="GRADIENT_FILL"){var g=p["a:gradFill"];u=Vu(g,o),l="gradient"}}if(u===void 0){var b=L(r,["p:style","a:fontRef"]);if(b!==void 0){u=gt(b,void 0,void 0,o),u!==void 0&&(l="solid");var v=b["a:highlight"];v!==void 0&&(k=gt(v,void 0,void 0,o))}u===void 0&&a!==void 0&&(u=gt(a,void 0,void 0,o),u!==void 0&&(l="solid"))}if(u===void 0){var y=rc(r,n,i,o),I=y.nodeLaout,N=y.nodeMaster;if(I!==void 0){var R=L(I,["a:defRPr","a:solidFill"]);if(R!==void 0){u=gt(R,void 0,void 0,o);var v=L(I,["a:defRPr","a:highlight"]);v!==void 0&&(k=gt(v,void 0,void 0,o)),l="solid"}}if(u===void 0&&N!==void 0){var B=L(N,["a:defRPr","a:solidFill"]);if(B!==void 0){u=gt(B,void 0,void 0,o);var v=L(N,["a:defRPr","a:highlight"]);v!==void 0&&(k=gt(v,void 0,void 0,o)),l="solid"}}}var Z=[],T={},C=L(e,["a:rPr","a:ln"]),P="";if(C!==void 0&&C["a:noFill"]===void 0){var J=Ii(e,r,!1,"text",o),re=J.split(" "),Q=parseInt(re[0].substring(0,re[0].indexOf("px")))+"px",ae=re[2];l=="solid"?(P="-"+Q+" 0 "+ae+", 0 "+Q+" "+ae+", "+Q+" 0 "+ae+", 0 -"+Q+" "+ae,Z.push(P)):T.border=Q+" "+ae}var X=L(e,["a:rPr","a:effectLst","a:glow"]),V="";if(X!==void 0){var H=gt(X,void 0,void 0,o),A=X.attrs.rad?X.attrs.rad*w:0;V="0 0 "+A+"px #"+H+", 0 0 "+A+"px #"+H+", 0 0 "+A+"px #"+H+", 0 0 "+A+"px #"+H+", 0 0 "+A+"px #"+H+", 0 0 "+A+"px #"+H+", 0 0 "+A+"px #"+H,l=="solid"?Z.push(V):Z.push("drop-shadow(0 0 "+A/3+"px #"+H+") drop-shadow(0 0 "+A*2/3+"px #"+H+") drop-shadow(0 0 "+A+"px #"+H+")")}var ge=L(e,["a:rPr","a:effectLst","a:outerShdw"]),me="";if(ge!==void 0){var c=gt(ge,void 0,void 0,o),h=ge.attrs,De=h.algn,Ue=h.dir?parseInt(h.dir)/6e4:0,ee=parseInt(h.dist)*w,fe=h.rotWithShape,oe=h.blurRad?parseInt(h.blurRad)*w+"px":"",kt=h.sx?parseInt(h.sx)/1e5:1,dt=h.sy?parseInt(h.sy)/1e5:1,S=ee*Math.sin(Ue*Math.PI/180),Ee=ee*Math.cos(Ue*Math.PI/180);!isNaN(S)&&!isNaN(Ee)&&(me=Ee+"px "+S+"px "+oe+" #"+c,l=="solid"?Z.push(me):Z.push("drop-shadow("+Ee+"px "+S+"px "+oe+" #"+c+")"))}var pe="",Y;return l=="solid"?(Z.length>0&&(pe=Z.join(",")),Y=pe+";"):(Z.length>0&&(pe=Z.join(" ")),T.effcts=pe,Y=T),[u,Y,l,k]}function Jp(e,r,t,a,s,n){var i=r!==void 0?r["a:lstStyle"]:void 0,o="a:lvl"+a+"pPr",d=void 0,f;e["a:rPr"]!==void 0&&(d=parseInt(e["a:rPr"].attrs.sz)/100),(isNaN(d)||d===void 0&&e["a:fld"]!==void 0)&&(f=L(e["a:fld"],["a:rPr","attrs","sz"]),d=parseInt(f)/100),(isNaN(d)||d===void 0)&&e["a:t"]===void 0&&(f=L(e["a:endParaRPr"],["attrs","sz"]),d=parseInt(f)/100),(isNaN(d)||d===void 0)&&i!==void 0&&(f=L(i,[o,"a:defRPr","attrs","sz"]),d=parseInt(f)/100),(isNaN(d)||d===void 0)&&(f=L(n.slideLayoutTables,["typeTable",s,"p:txBody","a:lstStyle",o,"a:defRPr","attrs","sz"]),d=parseInt(f)/100),(isNaN(d)||d===void 0)&&(f=L(n.slideMasterTables,["typeTable",s,"p:txBody","a:lstStyle",o,"a:defRPr","attrs","sz"]),f===void 0&&(s=="title"||s=="subTitle"||s=="ctrTitle"?f=L(n.slideMasterTextStyles,["p:titleStyle",o,"a:defRPr","attrs","sz"]):s=="body"||s=="obj"||s=="dt"||s=="sldNum"?f=L(n.slideMasterTextStyles,["p:bodyStyle",o,"a:defRPr","attrs","sz"]):(s=="shape"||s==="textBox")&&(f=L(n.slideMasterTextStyles,["p:otherStyle",o,"a:defRPr","attrs","sz"])),f===void 0&&(f=L(n.defaultTextStyle,[o,"a:defRPr","attrs","sz"]))),d=parseInt(f)/100);var u=L(e,["a:rPr","attrs","baseline"]);if(u!==void 0&&Number(u)!==0&&!isNaN(d)&&(d*=2/3),!isNaN(d)){let l=qc(r).fontScale;d*=l}return isNaN(d)?s=="br"?"initial":"inherit":d*xo+"px"}function gk(e,r,t,a,s,n){var i=L(e,["a:rPr","attrs","b"]);return i===void 0&&(i=L(n,["a:pPr","a:defRPr","attrs","b"])),i===void 0&&(i=L(a,["a:defRPr","attrs","b"])),i===void 0&&(i=L(s,["a:defRPr","attrs","b"])),i==="1"||i===!0?"bold":i==="0"||i===!1?"normal":"inherit"}function kk(e,r,t,a,s,n){var i=L(e,["a:rPr","attrs","i"]);return i===void 0&&(i=L(n,["a:pPr","a:defRPr","attrs","i"])),i===void 0&&(i=L(a,["a:defRPr","attrs","i"])),i===void 0&&(i=L(s,["a:defRPr","attrs","i"])),i==="1"||i===!0?"italic":i==="0"||i===!1?"normal":"inherit"}function Mk(e,r,t){if(e["a:rPr"]!==void 0){var a=e["a:rPr"].attrs.u!==void 0?e["a:rPr"].attrs.u:"none",s=e["a:rPr"].attrs.strike!==void 0?e["a:rPr"].attrs.strike:"noStrike";return a!="none"&&s=="noStrike"?"underline":a=="none"&&s!="noStrike"?"line-through":a!="none"&&s!="noStrike"?"underline line-through":"inherit"}else return"inherit"}function Ek(e,r,t,a){var s=L(e,["a:pPr","attrs","algn"]);if(s===void 0&&(s=L(r,["a:pPr","attrs","algn"])),s===void 0)if(t=="title"||t=="ctrTitle"||t=="subTitle"){var n=1,i=L(r,["a:pPr","attrs","lvl"]);i!==void 0&&(n=parseInt(i)+1);var o="a:lvl"+n+"pPr";s=L(a,["slideLayoutTables","typeTable",t,"p:txBody","a:lstStyle",o,"attrs","algn"]),s===void 0&&(s=L(a,["slideMasterTables","typeTable",t,"p:txBody","a:lstStyle",o,"attrs","algn"]),s===void 0&&(s=L(a,["slideMasterTextStyles","p:titleStyle",o,"attrs","algn"]),s===void 0&&t==="subTitle"&&(s=L(a,["slideMasterTextStyles","p:bodyStyle",o,"attrs","algn"]))))}else t=="body"?s=L(a,["slideMasterTextStyles","p:bodyStyle","a:lvl1pPr","attrs","algn"]):s=L(a,["slideMasterTables","typeTable",t,"p:txBody","a:lstStyle","a:lvl1pPr","attrs","algn"]);var d="inherit";if(s!==void 0)switch(s){case"l":d="left";break;case"r":d="right";break;case"ctr":d="center";break;case"just":d="justify";break;case"dist":d="justify";break;default:d="inherit"}return d}function Pk(e,r,t){var a=L(e,["a:rPr","attrs","baseline"]);return a===void 0?"baseline":parseInt(a)/1e3+"%"}function Ju(e,r){var t="";if(e["a:bottom"]!==void 0){var a={"p:spPr":{"a:ln":e["a:bottom"]["a:ln"]}},s=Ii(a,void 0,!1,"shape",r);t+=s.replace("border","border-bottom")}if(e["a:top"]!==void 0){var a={"p:spPr":{"a:ln":e["a:top"]["a:ln"]}},s=Ii(a,void 0,!1,"shape",r);t+=s.replace("border","border-top")}if(e["a:right"]!==void 0){var a={"p:spPr":{"a:ln":e["a:right"]["a:ln"]}},s=Ii(a,void 0,!1,"shape",r);t+=s.replace("border","border-right")}if(e["a:left"]!==void 0){var a={"p:spPr":{"a:ln":e["a:left"]["a:ln"]}},s=Ii(a,void 0,!1,"shape",r);t+=s.replace("border","border-left")}return t}function Ii(e,r,t,a,s){var n,i,o;a=="shape"?(n="border: ",i=e["p:spPr"]["a:ln"]):a=="text"&&(n="",i=e["a:rPr"]["a:ln"]);var d=L(i,["a:noFill"]);if(d!==void 0)return"hidden";if(i==null){var f=L(e,["p:style","a:lnRef"]);if(f!==void 0){var u=L(f,["attrs","idx"]);i=s.themeContent["a:theme"]["a:themeElements"]["a:fmtScheme"]["a:lnStyleLst"]["a:ln"][Number(u)-1]}}i==null&&(n="",i=e);var l;if(i!==void 0){var k=parseInt(L(i,["attrs","w"]))/12700;isNaN(k)||k<1?n+=4/3+"px ":n+=k+"px ";var _=L(i,["a:prstDash","attrs","val"]);_===void 0&&(_=L(i,["attrs","cmpd"]));var v="0";switch(_){case"solid":n+="solid",v="0";break;case"dash":n+="dashed",v="5";break;case"dashDot":n+="dashed",v="5, 5, 1, 5";break;case"dot":n+="dotted",v="1, 5";break;case"lgDash":n+="dashed",v="10, 5";break;case"dbl":n+="double",v="0";break;case"lgDashDotDot":n+="dashed",v="10, 5, 1, 5, 1, 5";break;case"sysDash":n+="dashed",v="5, 2";break;case"sysDashDot":n+="dashed",v="5, 2, 1, 5";break;case"sysDashDotDot":n+="dashed",v="5, 2, 1, 5, 1, 5";break;case"sysDot":n+="dotted",v="2, 5";break;default:n+="solid",v="0"}var m=un(i);m=="NO_FILL"?l=t?"none":"":m=="SOLID_FILL"?l=gt(i["a:solidFill"],void 0,void 0,s):m=="GRADIENT_FILL"?l=Rk(Vu(i["a:gradFill"],s,e)):m=="PATTERN_FILL"&&(l=Sf(i["a:pattFill"],s))}if(l===void 0){var f=L(e,["p:style","a:lnRef"]);f!==void 0&&(l=gt(f,void 0,void 0,s))}return l===void 0?t?l="none":l="hidden":l="#"+l,n+=" "+l+" ",t?{color:l,width:k,type:_,strokeDasharray:v}:n+";"}async function Sk(e,r,t){var a=e.slideContent,s=e.slideLayoutContent,n=e.slideMasterContent,i=L(s,["p:sldLayout","p:cSld","p:spTree"]),o=L(n,["p:sldMaster","p:cSld","p:spTree"]),d=L(a,["p:sld","attrs","showMasterSp"]),f=L(s,["p:sldLayout","attrs","showMasterSp"]),u=d!==void 0?d:f,l=!(u==="0"||u==="false"),k=await x5(e,t)||"",_="<div class='slide-background slide-background-"+t+"' style='position:absolute;top:0;left:0;overflow:hidden;z-index:0;width:"+r.width+"px; height:"+r.height+"px;"+k+"'>";if(o!==void 0&&l){_+="<div class='pptx-master-layer' style='position:absolute;inset:0;z-index:0;'>";for(var v in o)if(o[v].constructor===Array)for(var m=0;m<o[v].length;m++){var g=L(o[v][m],["p:nvSpPr","p:nvPr","p:ph","attrs","type"]);_+=await q0(v,o[v][m],o,e,"slideMasterBg")}else{var g=L(o[v],["p:nvSpPr","p:nvPr","p:ph","attrs","type"]);_+=await q0(v,o[v],o,e,"slideMasterBg")}_+="</div>"}if(i!==void 0){_+="<div class='pptx-layout-layer' style='position:absolute;inset:0;z-index:1;'>";for(var v in i)if(i[v].constructor===Array)for(var m=0;m<i[v].length;m++){var g=L(i[v][m],["p:nvSpPr","p:nvPr","p:ph","attrs","type"]);g!="pic"&&(_+=await q0(v,i[v][m],i,e,"slideLayoutBg"))}else{var g=L(i[v],["p:nvSpPr","p:nvPr","p:ph","attrs","type"]);g!="pic"&&(_+=await q0(v,i[v],i,e,"slideLayoutBg"))}_+="</div>"}return _+"</div>"}function Ik(e){var r=[];return e===void 0?r:(Object.keys(e).forEach(function(t){var a=e[t];if(t!="attrs")if(a.constructor===Array)for(var s=0;s<a.length;s++){var n={};n[t]=a[s],n.idex=Number(L(a[s],["attrs","order"]))||r.length+1,n.attrs={order:n.idex},r.push(n)}else{var n={};n[t]=a,n.idex=Number(L(a,["attrs","order"]))||r.length+1,n.attrs={order:n.idex},r.push(n)}}),r.sort(function(t,a){return t.idex-a.idex}))}function Tk(e,r){if(!(r==0||r==1e3)){var t=r>1e3?"a:bgFillStyleLst":"a:fillStyleLst",a=r>1e3?r-1e3:r,s=L(e.themeContent,["a:theme","a:themeElements","a:fmtScheme",t]),n=Ik(s);return n[a-1]}}async function B1(e,r,t,a,s,n,i){if(e!==void 0){var o=un(e);if(o=="SOLID_FILL"){var d=e["a:solidFill"],f=gt(d,r,t,s);return f!==void 0?"background: #"+f+";":void 0}else{if(o=="GRADIENT_FILL")return zo(e,t,a,s);if(o=="PIC_FILL")return await $i(e,i||"themeBg",s,t,n);if(o=="PATTERN_FILL"){var u=Sf(e["a:pattFill"],s);if(u!==void 0){var l="background: "+u[0]+";";return u[1]!==null&&u[1]!==void 0&&u[1]!=""&&(l+="background-size:"+u[1]+";"),u[2]!==null&&u[2]!==void 0&&u[2]!=""&&(l+="background-position:"+u[2]+";"),l}}}}}async function xp(e,r,t,a,s,n){return await B1(Tk(s,e),r,t,a,s,n,"themeBg")}async function x5(e,r){var t=e.slideContent,a=e.slideLayoutContent,s=e.slideMasterContent,n=L(t,["p:sld","p:cSld","p:bg","p:bgPr"]),i=L(t,["p:sld","p:cSld","p:bg","p:bgRef"]),o;if(n!==void 0){var d=un(n);if(d=="SOLID_FILL"){var f=n["a:solidFill"],u,l=L(t,["p:sld","p:clrMapOvr","a:overrideClrMapping","attrs"]);if(l!==void 0)u=l;else{var l=L(a,["p:sldLayout","p:clrMapOvr","a:overrideClrMapping","attrs"]);l!==void 0?u=l:u=L(s,["p:sldMaster","p:clrMap","attrs"])}var k=gt(f,u,void 0,e);o="background: #"+k+";"}else d=="GRADIENT_FILL"?o=zo(n,void 0,s,e):d=="PIC_FILL"&&(o=await $i(n,"slideBg",e,void 0,r))}else if(i!==void 0){var u,l=L(t,["p:sld","p:clrMapOvr","a:overrideClrMapping","attrs"]);if(l!==void 0)u=l;else{var l=L(a,["p:sldLayout","p:clrMapOvr","a:overrideClrMapping","attrs"]);l!==void 0?u=l:u=L(s,["p:sldMaster","p:clrMap","attrs"])}var _=gt(i,u,void 0,e),v=Number(i.attrs.idx);if(!(v==0||v==1e3)){if(v>0&&v<1e3)o=await xp(v,u,_,s,e,r);else if(v>1e3){var m=v-1e3,g=e.themeContent["a:theme"]["a:themeElements"]["a:fmtScheme"]["a:bgFillStyleLst"],M=[];Object.keys(g).forEach(function(B){var Z=g[B];if(B!="attrs")if(Z.constructor===Array)for(var T=0;T<Z.length;T++){var C={};C[B]=Z[T],C.idex=Z[T].attrs.order,C.attrs={order:Z[T].attrs.order},M.push(C)}else{var C={};C[B]=Z,C.idex=Z.attrs.order,C.attrs={order:Z.attrs.order},M.push(C)}});var p=M.slice(0);p.sort(function(B,Z){return B.idex-Z.idex});var b=p[m-1],d=un(b);if(d=="SOLID_FILL"){var f=b["a:solidFill"],k=gt(f,u,void 0,e);o="background: #"+k+";"}else d=="GRADIENT_FILL"?o=zo(b,_,s,e):d=="PIC_FILL"?o=await $i(b,"themeBg",e,_,r):d=="PATTERN_FILL"?o=await B1(b,u,_,s,e,r,"themeBg"):console.log(d)}}}else{n=L(a,["p:sldLayout","p:cSld","p:bg","p:bgPr"]),i=L(a,["p:sldLayout","p:cSld","p:bg","p:bgRef"]);var u,l=L(a,["p:sldLayout","p:clrMapOvr","a:overrideClrMapping","attrs"]);if(l!==void 0?u=l:u=L(s,["p:sldMaster","p:clrMap","attrs"]),n!==void 0){var d=un(n);if(d=="SOLID_FILL"){var f=n["a:solidFill"],k=gt(f,u,void 0,e);o="background: #"+k+";"}else d=="GRADIENT_FILL"?o=zo(n,void 0,s,e):d=="PIC_FILL"&&(o=await $i(n,"slideLayoutBg",e,void 0,r))}else if(i!==void 0){var _=gt(i,u,void 0,e),v=Number(i.attrs.idx);if(!(v==0||v==1e3)){if(v>0&&v<1e3)o=await xp(v,u,_,s,e,r);else if(v>1e3){var m=v-1e3,g=e.themeContent["a:theme"]["a:themeElements"]["a:fmtScheme"]["a:bgFillStyleLst"],M=[];Object.keys(g).forEach(function(Q){var ae=g[Q];if(Q!="attrs")if(ae.constructor===Array)for(var X=0;X<ae.length;X++){var V={};V[Q]=ae[X],V.idex=ae[X].attrs.order,V.attrs={order:ae[X].attrs.order},M.push(V)}else{var V={};V[Q]=ae,V.idex=ae.attrs.order,V.attrs={order:ae.attrs.order},M.push(V)}});var p=M.slice(0);p.sort(function(Q,ae){return Q.idex-ae.idex});var b=p[m-1],d=un(b);if(d=="SOLID_FILL"){var f=b["a:solidFill"],k=gt(f,u,_,e);o="background: #"+k+";"}else d=="GRADIENT_FILL"?o=zo(b,_,s,e):d=="PIC_FILL"?o=await $i(b,"themeBg",e,_,r):d=="PATTERN_FILL"?o=await B1(b,u,_,s,e,r,"themeBg"):console.log(d)}}}else{n=L(s,["p:sldMaster","p:cSld","p:bg","p:bgPr"]),i=L(s,["p:sldMaster","p:cSld","p:bg","p:bgRef"]);var y=L(s,["p:sldMaster","p:clrMap","attrs"]);if(n!==void 0){var d=un(n);if(d=="SOLID_FILL"){var f=n["a:solidFill"],k=gt(f,y,void 0,e);o="background: #"+k+";"}else d=="GRADIENT_FILL"?o=zo(n,void 0,s,e):d=="PIC_FILL"&&(o=await $i(n,"slideMasterBg",e,void 0,r))}else if(i!==void 0){var _=gt(i,y,void 0,e),v=Number(i.attrs.idx);if(!(v==0||v==1e3)){if(v>0&&v<1e3)o=await xp(v,y,_,s,e,r);else if(v>1e3){var m=v-1e3,g=e.themeContent["a:theme"]["a:themeElements"]["a:fmtScheme"]["a:bgFillStyleLst"],M=[];Object.keys(g).forEach(function(Q){var ae=g[Q];if(Q!="attrs")if(ae.constructor===Array)for(var X=0;X<ae.length;X++){var V={};V[Q]=ae[X],V.idex=ae[X].attrs.order,V.attrs={order:ae[X].attrs.order},M.push(V)}else{var V={};V[Q]=ae,V.idex=ae.attrs.order,V.attrs={order:ae.attrs.order},M.push(V)}});var p=M.slice(0);p.sort(function(Q,ae){return Q.idex-ae.idex});var b=p[m-1],d=un(b);if(d=="SOLID_FILL"){var f=b["a:solidFill"],k=gt(f,y,_,e);o="background: #"+k+";"}else d=="GRADIENT_FILL"?o=zo(b,_,s,e):d=="PIC_FILL"?o=await $i(b,"themeBg",e,_,r):d=="PATTERN_FILL"?o=await B1(b,y,_,s,e,r,"themeBg"):console.log(d)}}}}}return o}function zo(e,r,t,a){var s="";if(e!==void 0){var n=e["a:gradFill"],i=n["a:gsLst"]["a:gs"];i.constructor!==Array&&(i=[i]);for(var o=L(t,["p:sldMaster","p:clrMap","attrs"]),d=[],f=[],u=0;u<i.length;u++){var l,k="",k=gt(i[u],o,r,a),_=L(i[u],["attrs","pos"]);_!==void 0?f[u]=_/1e3+"%":f[u]="",d[u]="#"+k}var v=n["a:lin"],m=90;v!==void 0&&(m=Co(v.attrs.ang),m=m+90),s="background: linear-gradient("+m+"deg,";for(var u=0;u<i.length;u++)u==i.length-1?s+=d[u]+" "+f[u]+");":s+=d[u]+" "+f[u]+", "}else r!==void 0&&(s="background: #"+r+";");return s}async function $i(e,r,t,a,s){var n,i=await C5(r,e["a:blipFill"],t);if(i!==void 0){var o=L(e,["attrs","order"]),d=L(e,["a:blipFill","a:blip"]),f=L(d,["a:duotone"]);if(f!==void 0){var u=[];Object.keys(f).forEach(function(R){if(R!="attrs"){var B={};B[R]=f[R],u.push(gt(B,void 0,a,t))}})}var l=L(d,["a:alphaModFix","attrs"]),k="";if(l!==void 0&&l.amt!==void 0&&l.amt!=""){var _=parseInt(l.amt)/1e5;k="opacity:"+_+";"}var v=L(e,["a:blipFill","a:tile","attrs"]),m="";if(v!==void 0&&v.sx!==void 0){var g=parseInt(v.sx)/1e5,M=parseInt(v.sy)/1e5,p=parseInt(v.tx)/1e5,b=parseInt(v.ty)/1e5,y=v.algn,I=v.flip;m+="background-repeat: round;"}var N=L(e,["a:blipFill","a:stretch"]);return N!==void 0&&(m+="background-repeat: no-repeat;",m+="background-position: center;",m+="background-size: 100% 100%;"),n="background: url("+i+");"+(o!==void 0?" z-index: "+o+";":"")+m+k,n}}async function ju(e,r,t,a,s){var n=un(L(e,["p:spPr"])),i,o;if(n=="NO_FILL")return t?"none":"";if(n=="SOLID_FILL")o=e["p:spPr"]["a:solidFill"],i=gt(o,void 0,void 0,a);else if(n=="GRADIENT_FILL")o=e["p:spPr"]["a:gradFill"],i=Vu(o,a,e);else if(n=="PATTERN_FILL")o=e["p:spPr"]["a:pattFill"],i=Sf(o,a);else if(n=="PIC_FILL")o=e["p:spPr"]["a:blipFill"],i=await C5(s,o,a);else if(n=="GROUP_FILL"){var d=L(r,["p:grpSpPr"]);if(d!==void 0)return await ju({"p:spPr":d},e,t,a,s)}if(i===void 0){var f=L(e,["p:style","a:fillRef"]),u=parseInt(L(e,["p:style","a:fillRef","attrs","idx"]));if(u==0||u==1e3)return t?"none":"";u>0&&u<1e3||u>1e3,i=gt(f,void 0,void 0,a)}if(i===void 0){var l=L(e,["p:spPr","a:grpFill"]);if(l!==void 0){var d=r["p:grpSpPr"],k={"p:spPr":d};return await ju(k,e,t,a,s)}else if(n=="NO_FILL")return t?"none":""}if(i!==void 0)if(n=="GRADIENT_FILL"){if(t)return i;for(var _=i.color,v=i.rot,m="background: linear-gradient("+v+"deg,",g=0;g<_.length;g++)g==_.length-1?m+="#"+_[g]+");":m+="#"+_[g]+", ";return m}else{if(n=="PIC_FILL")return t?i:"background-image:url("+i+");";if(n=="PATTERN_FILL"){var M="",p="",b="";return M=i[0],i[1]!==null&&i[1]!==void 0&&i[1]!=""&&(p=" background-size:"+i[1]+";"),i[2]!==null&&i[2]!==void 0&&i[2]!=""&&(b=" background-position:"+i[2]+";"),"background: "+M+";"+p+b}else if(t){var y=Je(i);return i=y.toRgbString(),i}else return"background-color: #"+i+";"}else return t?"none":""}function un(e={}){var r="";return e["a:noFill"]!==void 0&&(r="NO_FILL"),e["a:solidFill"]!==void 0&&(r="SOLID_FILL"),e["a:gradFill"]!==void 0&&(r="GRADIENT_FILL"),e["a:pattFill"]!==void 0&&(r="PATTERN_FILL"),e["a:blipFill"]!==void 0&&(r="PIC_FILL"),e["a:grpFill"]!==void 0&&(r="GROUP_FILL"),r}function yk(e){return(e%360+360)%360}function wk(e,r){var t=L(r,["p:spPr","a:xfrm","attrs"])||{},a=t.flipH==="1",s=t.flipV==="1",n=e;return a&&(n=180-n),s&&(n=-n),yk(n)}function Rk(e){var r=e&&e.color;if(!(!Array.isArray(r)||!r.length)){var t=r[0],a=-1;return r.forEach(function(s){var n=Je("#"+s),i=n.getAlpha();i>a&&(t=n.toHex8(),a=i)}),t}}function Vu(e,r,t){for(var a=_r(e["a:gsLst"]["a:gs"]),s=[],n=[],i=0;i<a.length;i++){var o,d=gt(a[i],void 0,void 0,r);s[i]=d}var f=e["a:lin"],u=0;return f!==void 0&&(u=Co(f.attrs.ang)+90),u=wk(u,t),{color:s,rot:u}}async function C5(e,r,t){var a,s=r["a:blip"].attrs["r:embed"],n;if(e=="slideBg"||e=="slide"?n=L(t,["slideResObj",s,"target"]):e=="slideLayoutBg"?n=L(t,["layoutResObj",s,"target"]):e=="slideMasterBg"?n=L(t,["masterResObj",s,"target"]):e=="themeBg"?n=L(t,["themeResObj",s,"target"]):e=="diagramBg"&&(n=L(t,["diagramResObj",s,"target"])),n!==void 0){if(a=L(t,["loaded-images",n]),a===void 0){var i=n.split(".").pop();if(i=="xml")return;var o=await t.zip.file(n).async("arraybuffer");a=await Kp(t.zip,n,o),zk(t,["loaded-images",n],a)}return a}}function Sf(e,r){var t="",a="",s="",n=e["a:bgClr"],i=e["a:fgClr"];s=e.attrs.prst,t=gt(i,void 0,void 0,r),a=gt(n,void 0,void 0,r);var o=Bk(s,a,t);return o}function Bk(e,r,t){switch(e){case"smGrid":return["linear-gradient(to right, #"+t+" -1px, transparent 1px ), linear-gradient(to bottom, #"+t+" -1px, transparent 1px) #"+r+";","4px 4px"];case"dotGrid":return["linear-gradient(to right, #"+t+" -1px, transparent 1px ), linear-gradient(to bottom, #"+t+" -1px, transparent 1px) #"+r+";","8px 8px"];case"lgGrid":return["linear-gradient(to right, #"+t+" -1px, transparent 1.5px ), linear-gradient(to bottom, #"+t+" -1px, transparent 1.5px) #"+r+";","8px 8px"];case"wdUpDiag":return["repeating-linear-gradient(-45deg, transparent 1px , transparent 4px, #"+t+" 7px)#"+r+";"];case"dkUpDiag":return["repeating-linear-gradient(-45deg, transparent 1px , #"+r+" 5px)#"+t+";"];case"ltUpDiag":return["repeating-linear-gradient(-45deg, transparent 1px , transparent 2px, #"+t+" 4px)#"+r+";"];case"wdDnDiag":return["repeating-linear-gradient(45deg, transparent 1px , transparent 4px, #"+t+" 7px)#"+r+";"];case"dkDnDiag":return["repeating-linear-gradient(45deg, transparent 1px , #"+r+" 5px)#"+t+";"];case"ltDnDiag":return["repeating-linear-gradient(45deg, transparent 1px , transparent 2px, #"+t+" 4px)#"+r+";"];case"dkHorz":return["repeating-linear-gradient(0deg, transparent 1px , transparent 2px, #"+r+" 7px)#"+t+";"];case"ltHorz":return["repeating-linear-gradient(0deg, transparent 1px , transparent 5px, #"+t+" 7px)#"+r+";"];case"narHorz":return["repeating-linear-gradient(0deg, transparent 1px , transparent 2px, #"+t+" 4px)#"+r+";"];case"dkVert":return["repeating-linear-gradient(90deg, transparent 1px , transparent 2px, #"+r+" 7px)#"+t+";"];case"ltVert":return["repeating-linear-gradient(90deg, transparent 1px , transparent 5px, #"+t+" 7px)#"+r+";"];case"narVert":return["repeating-linear-gradient(90deg, transparent 1px , transparent 2px, #"+t+" 4px)#"+r+";"];case"lgCheck":case"smCheck":var s="",a="";return e=="lgCheck"?(s="8px 8px",a="0 0, 4px 4px, 4px 4px, 8px 8px"):(s="4px 4px",a="0 0, 2px 2px, 2px 2px, 4px 4px"),["linear-gradient(45deg, #"+t+" 25%, transparent 0, transparent 75%, #"+t+" 0), linear-gradient(45deg, #"+t+" 25%, transparent 0, transparent 75%, #"+t+" 0) #"+r+";",s,a];break;case"dashUpDiag":return["repeating-linear-gradient(152deg, #"+t+", #"+t+" 5% , transparent 0, transparent 70%)#"+r+";","4px 4px"];case"dashDnDiag":return["repeating-linear-gradient(45deg, #"+t+", #"+t+" 5% , transparent 0, transparent 70%)#"+r+";","4px 4px"];case"diagBrick":return["linear-gradient(45deg, transparent 15%, #"+t+" 30%, transparent 30%), linear-gradient(-45deg, transparent 15%, #"+t+" 30%, transparent 30%), linear-gradient(-45deg, transparent 65%, #"+t+" 80%, transparent 0) #"+r+";","4px 4px"];case"horzBrick":return["linear-gradient(335deg, #"+r+" 1.6px, transparent 1.6px), linear-gradient(155deg, #"+r+" 1.6px, transparent 1.6px), linear-gradient(335deg, #"+r+" 1.6px, transparent 1.6px), linear-gradient(155deg, #"+r+" 1.6px, transparent 1.6px) #"+t+";","4px 4px","0 0.15px, 0.3px 2.5px, 2px 2.15px, 2.35px 0.4px"];case"dashVert":return["linear-gradient(0deg, #"+r+" 30%, transparent 30%),linear-gradient(90deg,transparent, transparent 40%, #"+t+" 40%, #"+t+" 60% , transparent 60%)#"+r+";","4px 4px"];case"dashHorz":return["linear-gradient(90deg, #"+r+" 30%, transparent 30%),linear-gradient(0deg,transparent, transparent 40%, #"+t+" 40%, #"+t+" 60% , transparent 60%)#"+r+";","4px 4px"];case"solidDmnd":return["linear-gradient(135deg, #"+t+" 25%, transparent 25%), linear-gradient(225deg, #"+t+" 25%, transparent 25%), linear-gradient(315deg, #"+t+" 25%, transparent 25%), linear-gradient(45deg, #"+t+" 25%, transparent 25%) #"+r+";","8px 8px"];case"openDmnd":return["linear-gradient(45deg, transparent 0%, transparent calc(50% - 0.5px), #"+t+" 50%, transparent calc(50% + 0.5px), transparent 100%), linear-gradient(-45deg, transparent 0%, transparent calc(50% - 0.5px) , #"+t+" 50%, transparent calc(50% + 0.5px), transparent 100%) #"+r+";","8px 8px"];case"dotDmnd":return["radial-gradient(#"+t+" 15%, transparent 0), radial-gradient(#"+t+" 15%, transparent 0) #"+r+";","4px 4px","0 0, 2px 2px"];case"zigZag":case"wave":var s="";return e=="zigZag"?s="0":s="1px",["linear-gradient(135deg, #"+t+" 25%, transparent 25%) 50px "+s+", linear-gradient(225deg, #"+t+" 25%, transparent 25%) 50px "+s+", linear-gradient(315deg, #"+t+" 25%, transparent 25%), linear-gradient(45deg, #"+t+" 25%, transparent 25%) #"+r+";","4px 4px"];break;case"lgConfetti":case"smConfetti":var s="";return e=="lgConfetti"?s="4px 4px":s="2px 2px",["linear-gradient(135deg, #"+t+" 25%, transparent 25%) 50px 1px, linear-gradient(225deg, #"+t+" 25%, transparent 25%), linear-gradient(315deg, #"+t+" 25%, transparent 25%) 50px 1px , linear-gradient(45deg, #"+t+" 25%, transparent 25%) #"+r+";",s];break;case"plaid":return["linear-gradient(0deg, transparent, transparent 25%, #"+t+"33 25%, #"+t+"33 50%),linear-gradient(90deg, transparent, transparent 25%, #"+t+"66 25%, #"+t+"66 50%) #"+r+";","4px 4px"];case"sphere":return["radial-gradient(#"+t+" 50%, transparent 50%),#"+r+";","4px 4px"];case"weave":case"shingle":return["linear-gradient(45deg, #"+r+" 1.31px , #"+t+" 1.4px, #"+t+" 1.5px, transparent 1.5px, transparent 4.2px, #"+t+" 4.2px, #"+t+" 4.3px, transparent 4.31px), linear-gradient(-45deg, #"+r+" 1.31px , #"+t+" 1.4px, #"+t+" 1.5px, transparent 1.5px, transparent 4.2px, #"+t+" 4.2px, #"+t+" 4.3px, transparent 4.31px) 0 4px, #"+r+";","4px 8px"];case"pct5":case"pct10":case"pct20":case"pct25":case"pct30":case"pct40":case"pct50":case"pct60":case"pct70":case"pct75":case"pct80":case"pct90":case"trellis":case"divot":var n;switch(e){case"pct5":n=["0.3px","10%","2px 2px"];break;case"divot":n=["0.3px","40%","4px 4px"];break;case"pct10":n=["0.3px","20%","2px 2px"];break;case"pct20":n=["0.2px","40%","2px 2px"];break;case"pct25":n=["0.2px","50%","2px 2px"];break;case"pct30":n=["0.5px","50%","2px 2px"];break;case"pct40":n=["0.5px","70%","2px 2px"];break;case"pct50":n=["0.09px","90%","2px 2px"];break;case"pct60":n=["0.3px","90%","2px 2px"];break;case"pct70":case"trellis":n=["0.5px","95%","2px 2px"];break;case"pct75":n=["0.65px","100%","2px 2px"];break;case"pct80":n=["0.85px","100%","2px 2px"];break;case"pct90":n=["1px","100%","2px 2px"];break}return["radial-gradient(#"+t+" "+n[0]+", transparent "+n[1]+"),#"+r+";",n[2]];default:return[0,0]}}function gt(e,r,t,a){if(e!==void 0){var s="",n;if(e["a:srgbClr"]!==void 0)n=e["a:srgbClr"],s=L(n,["attrs","val"]);else if(e["a:schemeClr"]!==void 0){n=e["a:schemeClr"];var i=L(n,["attrs","val"]);s=O5("a:"+i,r,t,a)}else if(e["a:scrgbClr"]!==void 0){n=e["a:scrgbClr"];var o=n.attrs,d=o.r.indexOf("%")!=-1?o.r.split("%").shift():o.r,f=o.g.indexOf("%")!=-1?o.g.split("%").shift():o.g,u=o.b.indexOf("%")!=-1?o.b.split("%").shift():o.b;s=kf(255*(Number(d)/100))+kf(255*(Number(f)/100))+kf(255*(Number(u)/100))}else if(e["a:prstClr"]!==void 0){n=e["a:prstClr"];var l=L(n,["attrs","val"]);s=Nk(l)}else if(e["a:hslClr"]!==void 0){n=e["a:hslClr"];var o=n.attrs,k=Number(o.hue)/1e5,_=Number(o.sat.indexOf("%")!=-1?o.sat.split("%").shift():o.sat)/100,v=Number(o.lum.indexOf("%")!=-1?o.lum.split("%").shift():o.lum)/100,m=Dk(k,_,v);s=kf(m.r)+kf(m.g)+kf(m.b)}else if(e["a:sysClr"]!==void 0){n=e["a:sysClr"];var g=L(n,["attrs","lastClr"]);g!==void 0&&(s=g)}s=U5(s);var M=!1,p=parseInt(L(n,["a:alpha","attrs","val"]))/1e5;if(!isNaN(p)){var b=Je(s);b.setAlpha(p),s=b.toHex8(),M=!0}var y=parseInt(L(n,["a:hueMod","attrs","val"]))/1e5;isNaN(y)||(s=Uk(s,y,M));var I=parseInt(L(n,["a:lumMod","attrs","val"]))/1e5;isNaN(I)||(s=Gk(s,I,M));var N=parseInt(L(n,["a:lumOff","attrs","val"]))/1e5;isNaN(N)||(s=Ok(s,N,M));var R=parseInt(L(n,["a:satMod","attrs","val"]))/1e5;isNaN(R)||(s=Hk(s,R,M));var B=parseInt(L(n,["a:shade","attrs","val"]))/1e5;isNaN(B)||(s=xk(s,B,M));var Z=parseInt(L(n,["a:tint","attrs","val"]))/1e5;return isNaN(Z)||(s=Ck(s,Z,M)),s}}function kf(e){for(var r=e.toString(16);r.length<2;)r="0"+r;return r}function Dk(e,r,t){var a,s,n,i,o;return e=e/60,t<=.5?s=t*(r+1):s=t+r-t*r,a=t*2-s,n=Cp(a,s,e+2)*255,i=Cp(a,s,e)*255,o=Cp(a,s,e-2)*255,{r:n,g:i,b:o}}function Cp(e,r,t){return t<0&&(t+=6),t>=6&&(t-=6),t<1?(r-e)*t+e:t<3?r:t<4?(r-e)*(4-t)+e:e}function Nk(e){var r,t=["white","AliceBlue","AntiqueWhite","Aqua","Aquamarine","Azure","Beige","Bisque","black","BlanchedAlmond","Blue","BlueViolet","Brown","BurlyWood","CadetBlue","Chartreuse","Chocolate","Coral","CornflowerBlue","Cornsilk","Crimson","Cyan","DarkBlue","DarkCyan","DarkGoldenRod","DarkGray","DarkGrey","DarkGreen","DarkKhaki","DarkMagenta","DarkOliveGreen","DarkOrange","DarkOrchid","DarkRed","DarkSalmon","DarkSeaGreen","DarkSlateBlue","DarkSlateGray","DarkSlateGrey","DarkTurquoise","DarkViolet","DeepPink","DeepSkyBlue","DimGray","DimGrey","DodgerBlue","FireBrick","FloralWhite","ForestGreen","Fuchsia","Gainsboro","GhostWhite","Gold","GoldenRod","Gray","Grey","Green","GreenYellow","HoneyDew","HotPink","IndianRed","Indigo","Ivory","Khaki","Lavender","LavenderBlush","LawnGreen","LemonChiffon","LightBlue","LightCoral","LightCyan","LightGoldenRodYellow","LightGray","LightGrey","LightGreen","LightPink","LightSalmon","LightSeaGreen","LightSkyBlue","LightSlateGray","LightSlateGrey","LightSteelBlue","LightYellow","Lime","LimeGreen","Linen","Magenta","Maroon","MediumAquaMarine","MediumBlue","MediumOrchid","MediumPurple","MediumSeaGreen","MediumSlateBlue","MediumSpringGreen","MediumTurquoise","MediumVioletRed","MidnightBlue","MintCream","MistyRose","Moccasin","NavajoWhite","Navy","OldLace","Olive","OliveDrab","Orange","OrangeRed","Orchid","PaleGoldenRod","PaleGreen","PaleTurquoise","PaleVioletRed","PapayaWhip","PeachPuff","Peru","Pink","Plum","PowderBlue","Purple","RebeccaPurple","Red","RosyBrown","RoyalBlue","SaddleBrown","Salmon","SandyBrown","SeaGreen","SeaShell","Sienna","Silver","SkyBlue","SlateBlue","SlateGray","SlateGrey","Snow","SpringGreen","SteelBlue","Tan","Teal","Thistle","Tomato","Turquoise","Violet","Wheat","White","WhiteSmoke","Yellow","YellowGreen"],a=["ffffff","f0f8ff","faebd7","00ffff","7fffd4","f0ffff","f5f5dc","ffe4c4","000000","ffebcd","0000ff","8a2be2","a52a2a","deb887","5f9ea0","7fff00","d2691e","ff7f50","6495ed","fff8dc","dc143c","00ffff","00008b","008b8b","b8860b","a9a9a9","a9a9a9","006400","bdb76b","8b008b","556b2f","ff8c00","9932cc","8b0000","e9967a","8fbc8f","483d8b","2f4f4f","2f4f4f","00ced1","9400d3","ff1493","00bfff","696969","696969","1e90ff","b22222","fffaf0","228b22","ff00ff","dcdcdc","f8f8ff","ffd700","daa520","808080","808080","008000","adff2f","f0fff0","ff69b4","cd5c5c","4b0082","fffff0","f0e68c","e6e6fa","fff0f5","7cfc00","fffacd","add8e6","f08080","e0ffff","fafad2","d3d3d3","d3d3d3","90ee90","ffb6c1","ffa07a","20b2aa","87cefa","778899","778899","b0c4de","ffffe0","00ff00","32cd32","faf0e6","ff00ff","800000","66cdaa","0000cd","ba55d3","9370db","3cb371","7b68ee","00fa9a","48d1cc","c71585","191970","f5fffa","ffe4e1","ffe4b5","ffdead","000080","fdf5e6","808000","6b8e23","ffa500","ff4500","da70d6","eee8aa","98fb98","afeeee","db7093","ffefd5","ffdab9","cd853f","ffc0cb","dda0dd","b0e0e6","800080","663399","ff0000","bc8f8f","4169e1","8b4513","fa8072","f4a460","2e8b57","fff5ee","a0522d","c0c0c0","87ceeb","6a5acd","708090","708090","fffafa","00ff7f","4682b4","d2b48c","008080","d8bfd8","ff6347","40e0d0","ee82ee","f5deb3","ffffff","f5f5f5","ffff00","9acd32"],s=t.indexOf(e);return s!=-1&&(r=a[s]),r}function O5(e,r,t,a){var s;if(r!==void 0)s=r;else{var n=L(a.slideContent,["p:sld","p:clrMapOvr","a:overrideClrMapping","attrs"]);if(n!==void 0)s=n;else{var n=L(a.slideLayoutContent,["p:sldLayout","p:clrMapOvr","a:overrideClrMapping","attrs"]);n!==void 0?s=n:s=L(a.slideMasterContent,["p:sldMaster","p:clrMap","attrs"])}}var i=e.substr(2);if(i=="phClr"&&t!==void 0)d=t;else{if(s!==void 0)switch(i){case"tx1":case"tx2":case"bg1":case"bg2":e="a:"+s[i];break}else switch(i){case"tx1":e="a:dk1";break;case"tx2":e="a:dk2";break;case"bg1":e="a:lt1";break;case"bg2":e="a:lt2";break}var o=L(a.themeContent,["a:theme","a:themeElements","a:clrScheme",e]),d=L(o,["a:srgbClr","attrs","val"]);d===void 0&&o!==void 0&&(d=L(o,["a:sysClr","attrs","lastClr"]))}return U5(d)}function L(e,r){if(r.constructor!==Array)throw Error("Error of path type! path is not array.");if(e==null)return;let t=r.length;for(let a=0;a<t;a++)if(e=e[r[a]],e==null)return;return e}function zk(e,r,t){if(r.constructor!==Array)throw Error("Error of path type! path is not array.");if(!(e==null||typeof e!="object")){for(var a=e,s=0;s<r.length;s++){var n=r[s];if(s===r.length-1)return Object.defineProperty(a,n,{value:t,writable:!0,enumerable:!0,configurable:!0}),t;var i=Object.prototype.hasOwnProperty.call(a,n)?a[n]:void 0;(i===null||typeof i!="object")&&(i=Object.create(null),Object.defineProperty(a,n,{value:i,writable:!0,enumerable:!0,configurable:!0})),a=i}return a}}function xk(e,r,t){var a=Je(e).toHsl();r>=1&&(r=1);var s=Math.min(a.l*r,1);return t?Je({h:a.h,s:a.s,l:s,a:a.a}).toHex8():Je({h:a.h,s:a.s,l:s,a:a.a}).toHex()}function Ck(e,r,t){var a=Je(e).toHsl();r>=1&&(r=1);var s=a.l*r+(1-r);return t?Je({h:a.h,s:a.s,l:s,a:a.a}).toHex8():Je({h:a.h,s:a.s,l:s,a:a.a}).toHex()}function Ok(e,r,t){var a=Je(e).toHsl(),s=r+a.l;return s>=1?t?Je({h:a.h,s:a.s,l:1,a:a.a}).toHex8():Je({h:a.h,s:a.s,l:1,a:a.a}).toHex():t?Je({h:a.h,s:a.s,l:s,a:a.a}).toHex8():Je({h:a.h,s:a.s,l:s,a:a.a}).toHex()}function Gk(e,r,t){var a=Je(e).toHsl(),s=a.l*r;return s>=1&&(s=1),t?Je({h:a.h,s:a.s,l:s,a:a.a}).toHex8():Je({h:a.h,s:a.s,l:s,a:a.a}).toHex()}function Uk(e,r,t){var a=Je(e).toHsl(),s=a.h*r;return s>=360&&(s=s-360),t?Je({h:cocacl_h,s:a.s,l:a.l,a:a.a}).toHex8():Je({h:s,s:a.s,l:a.l,a:a.a}).toHex()}function Hk(e,r,t){var a=Je(e).toHsl(),s=a.s*r;return s>=1&&(s=1),t?Je({h:a.h,s,l:a.l,a:a.a}).toHex8():Je({h:a.h,s,l:a.l,a:a.a}).toHex()}function Co(e){return e==""||e==null?0:Math.round(e/6e4)}function Yp(e){var r="";switch(e.toLowerCase()){case"jpg":case"jpeg":case"jpe":case"jfif":r="image/jpeg";break;case"png":r="image/png";break;case"gif":r="image/gif";break;case"emf":r="image/x-emf";break;case"wmf":r="image/x-wmf";break;case"svg":r="image/svg+xml";break;case"mp4":r="video/mp4";break;case"webm":r="video/webm";break;case"ogg":r="video/ogg";break;case"avi":r="video/avi";break;case"mpg":r="video/mpg";break;case"wmv":r="video/wmv";break;case"mp3":r="audio/mpeg";break;case"wav":r="audio/wav";break;case"tif":case"tiff":r="image/tiff";break}return r}function Zk(e,r,t,a,s){var n=Wk(a.length-2),i="",o=r,d=e,f="",u=$k(t,o,d),l=u[0],k=u[1],_=u[2],v=u[3],m=n.length,g=m<20?100:1e3;i=' gradientUnits="userSpaceOnUse" x1="'+l+'%" y1="'+k+'%" x2="'+_+'%" y2="'+v+'%"',i='<linearGradient id="linGrd_'+s+'"'+i+`>
|
|
14
14
|
`,f+=i;for(var M=0;M<m;M++){var p=Je("#"+a[M]),b=p.getAlpha();f+='<stop offset="'+Math.round(parseFloat(n[M])/100*g)/g+'" style="stop-color:'+p.toHexString()+"; stop-opacity:"+b+';"',f+=`/>
|
|
15
15
|
`}return f+=`</linearGradient>
|
|
16
|
-
`,f}function
|
|
16
|
+
`,f}function Wk(e){var r=["0%","100%"];if(e==0)return r;for(var t=e;t--;){var a=100-100/(e+1)*(t+1),s=a+"%";r.splice(-1,0,s)}return r}function $k(e,r,t){var a=parseFloat(t),s=parseFloat(r),n=parseFloat(e),i=2,o=2,d=a/2,f=s/2,m=2,g=2,M=2,p=2,u=(n%360+360)%360,l=(360-u)*Math.PI/180,k=Math.tan(l),_=f-k*d;u==0?(m=a,g=f,M=0,p=f):u<90?(o=a,i=0):u==90?(m=d,g=0,M=d,p=s):u<180?(o=0,i=0):u==180?(m=0,g=f,M=a,p=f):u<270?(o=0,i=s):u==270?(m=d,g=s,M=d,p=0):(o=a,i=s);var v=i+o/k,m=m==2?k*(v-_)/(Math.pow(k,2)+1):m,g=g==2?k*m+_:g,M=M==2?a-m:M,p=p==2?s-g:p,b=Math.round(M/a*100*100)/100,y=Math.round(p/s*100*100)/100,I=Math.round(m/a*100*100)/100,N=Math.round(g/s*100*100)/100;return[b,y,I,N]}async function Yk(e,r,t,a,s){let[n,i]=await Ak(r);e=e||{};var o=L(e,["a:tile","attrs"]);if(o!==void 0&&o.sx!==void 0)var d=parseInt(o.sx)/1e5*n,f=parseInt(o.sy)/1e5*i;let u=e["a:blip"]||{};var l=L(u,["a:alphaModFix","attrs"]),k="";if(l!==void 0&&l.amt!==void 0&&l.amt!=""){var _=parseInt(l.amt)/1e5,v=_;k="opacity='"+v+"'"}if(s!==void 0)var m=Math.max(1,s.width),g=Math.max(1,s.height),M=w5(e).svg,p=-s.x+m*M.x/100,b=-s.y+g*M.y/100,y=m*M.width/100,I=g*M.height/100,N=n5(s.shapeTransform||{}),R=Math.max(m,Pt(s.shapeTransform&&s.shapeTransform.width,0)),B=Math.max(g,Pt(s.shapeTransform&&s.shapeTransform.height,0)),Z='<pattern id="imgPtrn_'+t+'" x="0" y="0" width="'+R+'" height="'+B+'" patternUnits="userSpaceOnUse">';else if(d!==void 0&&d!=0)var Z='<pattern id="imgPtrn_'+t+'" x="0" y="0" width="'+d+'" height="'+f+'" patternUnits="userSpaceOnUse">';else var Z='<pattern id="imgPtrn_'+t+'" patternContentUnits="objectBoundingBox" width="1" height="1">';var T=L(u,["a:duotone"]),C="",P="";if(T!==void 0){var J=[];Object.keys(T).forEach(function(re){if(re!="attrs"){var Q={};Q[re]=T[re];var ae=gt(Q,void 0,void 0,a),X=Je("#"+ae);J.push(X.toRgb())}}),J.length==2&&(C='<filter id="svg_image_duotone"> <feColorMatrix type="matrix" values=".33 .33 .33 0 0.33 .33 .33 0 0.33 .33 .33 0 00 0 0 1 0"></feColorMatrix><feComponentTransfer color-interpolation-filters="sRGB"><feFuncR type="table" tableValues="'+J[0].r/255+" "+J[1].r/255+'"></feFuncR><feFuncG type="table" tableValues="'+J[0].g/255+" "+J[1].g/255+'"></feFuncG><feFuncB type="table" tableValues="'+J[0].b/255+" "+J[1].b/255+'"></feFuncB></feComponentTransfer> </filter>'),P='filter="url(#svg_image_duotone)"',Z+=C}return r=Xi(r),s!==void 0?Z+='<image xlink:href="'+r+'" x="'+p+'" y="'+b+'" width="'+y+'" height="'+I+'" preserveAspectRatio="none"'+(N?' transform="'+N+'"':"")+" "+k+" "+P+"></image>":d!==void 0&&d!=0?Z+='<image xlink:href="'+r+'" x="0" y="0" width="'+d+'" height="'+f+'" '+k+" "+P+"></image>":Z+='<image xlink:href="'+r+'" preserveAspectRatio="none" width="1" height="1" '+k+" "+P+"></image>",Z+="</pattern>",Z}async function Ak(e){try{let r=await self.createImageBitmap(Xk(e));return[r.width,r.height]}catch{return[1,1]}}function Xk(e){let r=e.split(","),t=r[0].match(/:(.*?);/)[1],a=atob(r[1]),s=a.length,n=new Uint8Array(s);for(;s--;)n[s]=a.charCodeAt(s);return new Blob([n],{type:t})}function G5(e){for(var r="",t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=new Uint8Array(e),s=a.byteLength,n=s%3,i=s-n,o,d,f,u,l,k=0;k<i;k=k+3)l=a[k]<<16|a[k+1]<<8|a[k+2],o=(l&16515072)>>18,d=(l&258048)>>12,f=(l&4032)>>6,u=l&63,r+=t[o]+t[d]+t[f]+t[u];return n==1?(l=a[i],o=(l&252)>>2,d=(l&3)<<4,r+=t[o]+t[d]+"=="):n==2&&(l=a[i]<<8|a[i+1],o=(l&64512)>>10,d=(l&1008)>>4,f=(l&15)<<2,r+=t[o]+t[d]+t[f]+"="),r}function Kk(e){var r=/^(https?|ftp):\/\/([a-zA-Z0-9.-]+(:[a-zA-Z0-9.&%$-]+)*@)*((25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]?)(\.(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9]?[0-9])){3}|([a-zA-Z0-9-]+\.)*[a-zA-Z0-9-]+\.(com|edu|gov|int|mil|net|org|biz|arpa|info|name|pro|aero|coop|museum|[a-zA-Z]{2}))(:[0-9]+)*(\/($|[a-zA-Z0-9.,?'\\+&%$#=~_-]+))*$/;return r.test(e)}function Ap(e){return e.substr((~-e.lastIndexOf(".")>>>0)+2)}function Jk(e){if(typeof e!="string")return"";var r=e.trim(),t=r.replace(/[\u0000-\u0020\u007f-\u009f]/g,"");return/^(?:https?|ftp|mailto|tel):/i.test(t)?r:/^(?:\/\/|\\)/.test(r)||/^[a-z][a-z0-9+.-]*:/i.test(t)?"":r}function U5(e){var r=String(e==null?"":e).trim();return/^[0-9a-f]{6}(?:[0-9a-f]{2})?$/i.test(r)?r:"000000"}function Qk(e){return String(e==null?"":e).replace(/[\u0000-\u001f\u007f-\u009f\u2028\u2029;{}]/g," ").replace(/\s+/g," ").trim().slice(0,256)}function Xi(e){var r={"&":"&","<":"<",">":">",'"':""","'":"'"};return String(e==null?"":e).replace(/[&<>"']/g,function(t){return r[t]})}var Qp="PptxDiagnosticError";function W5(e){if(e==null)return"";if(typeof e=="string")return e;if(e&&typeof e.message=="string"&&e.message)return e.message;try{let r=JSON.stringify(e);return r&&r!=="{}"?r:String(e)}catch{return String(e)}}function j0(e,r,t,a,s){let n=W5(a);return{name:Qp,code:e,stage:r,message:t,detail:n,hint:s}}function Fk(e){return!!(e&&typeof e=="object"&&(e.name===Qp||e.code||e.stage))}function qk(e,r="parse"){return Fk(e)?{name:Qp,code:e.code||"PPTX_PARSE_FAILED",stage:e.stage||r,message:e.message||"PPTX \u6587\u4EF6\u89E3\u6790\u5931\u8D25\u3002",detail:e.detail||W5(e),hint:e.hint}:j0("PPTX_PARSE_FAILED",r,"PPTX \u6587\u4EF6\u89E3\u6790\u5931\u8D25\u3002",e,"\u8BF7\u786E\u8BA4\u6587\u4EF6\u662F\u5B8C\u6574\u7684 PowerPoint OpenXML \u6587\u4EF6\uFF0C\u5E76\u68C0\u67E5\u6D4F\u89C8\u5668\u63A7\u5236\u53F0\u4E2D\u7684\u539F\u59CB\u9519\u8BEF\u3002")}function H5(e,r,t,a,s,n){if(!e||!e.file(r))throw j0(t,a,s,r,n)}function Fp(e,r){e(async({type:s,data:n,options:i,IE11:o})=>{if(s==="processPPTX")try{tc.settings=i,tc.processFullTheme=i.themeProcess,tc.IE11=o,await a(n)}catch(d){console.error("AN ERROR HAPPENED DURING processPPTX",d),r({type:"ERROR",data:qk(d)})}},s=>{r(s)});async function t(s){if(!s||typeof s.byteLength!="number"||s.byteLength<10)throw j0("PPTX_FILE_EMPTY","read-zip","PPTX \u6587\u4EF6\u4E3A\u7A7A\u6216\u8FC7\u5C0F\uFF0C\u65E0\u6CD5\u8BFB\u53D6\u3002",`byteLength=${s&&typeof s.byteLength=="number"?s.byteLength:"unknown"}`,"\u8BF7\u68C0\u67E5\u6587\u4EF6\u662F\u5426\u4E0B\u8F7D\u5B8C\u6574\uFF0C\u6216\u670D\u52A1\u7AEF\u662F\u5426\u8FD4\u56DE\u4E86\u7A7A\u54CD\u5E94\u3002");try{return await Z5.default.loadAsync(s)}catch(n){throw j0("PPTX_INVALID_ZIP","read-zip","PPTX \u6587\u4EF6\u4E0D\u662F\u6709\u6548\u7684 OpenXML \u538B\u7F29\u5305\u3002",n,"\u8BF7\u786E\u8BA4\u6587\u4EF6\u6CA1\u6709\u635F\u574F\uFF0C\u4E14\u63A5\u53E3\u8FD4\u56DE\u7684\u4E0D\u662F HTML\u3001JSON\u3001\u767B\u5F55\u9875\u6216\u9519\u8BEF\u9875\u3002")}}async function a(s){V0.MsgQueue.length=0,ec.MsgQueue=[],ec.isDone=!1;let n=await t(s),i=new Date;H5(n,"[Content_Types].xml","PPTX_MISSING_CONTENT_TYPES","read-content-types","PPTX \u6587\u4EF6\u7F3A\u5C11 [Content_Types].xml\uFF0C\u65E0\u6CD5\u8BC6\u522B\u5185\u90E8\u7ED3\u6784\u3002","\u8FD9\u901A\u5E38\u8868\u793A\u6587\u4EF6\u4E0D\u662F\u6807\u51C6 PPTX\uFF0C\u6216\u4E0B\u8F7D/\u4E0A\u4F20\u8FC7\u7A0B\u4E2D\u5185\u5BB9\u88AB\u622A\u65AD\u3002"),H5(n,"ppt/presentation.xml","PPTX_MISSING_PRESENTATION","read-presentation","PPTX \u6587\u4EF6\u7F3A\u5C11 ppt/presentation.xml\uFF0C\u65E0\u6CD5\u8BFB\u53D6\u5E7B\u706F\u7247\u5217\u8868\u3002","\u8BF7\u786E\u8BA4\u6587\u4EF6\u662F PowerPoint \u6F14\u793A\u6587\u7A3F\uFF0C\u800C\u4E0D\u662F\u5176\u4ED6 Office/OpenXML \u6587\u4EF6\u3002");let o=m=>{d[m]&&f===m&&(r(d[f++]),delete d[m],o(f))},d={},f=-1;if(n.file("docProps/thumbnail.jpeg")){let m=await n.file("docProps/thumbnail.jpeg").async("base64");r({type:"pptx-thumb",data:m,slide_num:f++})}else f=0;let u=await P5(n),l=Array.isArray(u&&u.slides)?u.slides:[];if(!l.length)throw j0("PPTX_NO_SLIDES","read-slide-list","PPTX \u6587\u4EF6\u4E2D\u6CA1\u6709\u627E\u5230\u53EF\u9884\u89C8\u7684\u5E7B\u706F\u7247\u3002","slides.length=0","\u8BF7\u786E\u8BA4\u6587\u4EF6\u5185\u5B58\u5728 ppt/slides/slide*.xml\uFF0C\u6216\u91CD\u65B0\u4FDD\u5B58\u6F14\u793A\u6587\u7A3F\u540E\u518D\u9884\u89C8\u3002");let k=await I5(n);tc.tableStyles=await Wr(n,"ppt/tableStyles.xml"),console.log("slideSize: ",k),r({type:"slideSize",data:k,slide_num:f++});let _=l.length,v=0;for(let m=0;m<_;m++){let g=l[m];if(!n.file(g))throw j0("PPTX_MISSING_SLIDE","read-slide",`PPTX \u6587\u4EF6\u7F3A\u5C11\u7B2C ${m+1} \u9875\u5E7B\u706F\u7247\u5185\u5BB9\u3002`,g,"\u8BF7\u786E\u8BA4 PPTX \u5305\u5185 slide \u6587\u4EF6\u5B8C\u6574\uFF0C\u6216\u91CD\u65B0\u4FDD\u5B58/\u91CD\u65B0\u4E0A\u4F20\u8BE5\u6587\u4EF6\u3002");let M=g.includes("/")?g.lastIndexOf("/")+1:0,p=g.includes(".")?g.lastIndexOf("."):g.length,b=g.substring(M,p),y=m+1,I,N=[];try{V0.MsgQueue.length=0;let R=await T5(n,g,m,k);N=V0.MsgQueue.splice(0),v+=1,I={type:"slide",data:R,slide_num:y,file_name:b}}catch(R){V0.MsgQueue.length=0,I={type:"slide-error",data:j0("PPTX_SLIDE_RENDER_FAILED","render-slide",`PPTX \u7B2C ${y||m+1} \u9875\u89E3\u6790\u5931\u8D25\u3002`,R,`\u8BF7\u68C0\u67E5 ${g} \u53CA\u5176\u5173\u8054\u7684\u56FE\u7247\u3001\u4E3B\u9898\u3001\u5E03\u5C40\u6216\u56FE\u8868\u8D44\u6E90\u662F\u5426\u5B8C\u6574\u3002`),slide_num:y,file_name:b}}for(let R of N){let B=R.buffer instanceof ArrayBuffer?[R.buffer]:[];r({type:"media",data:R},B)}f===y?(r(I),o(++f)):d[y]=I,r({type:"progress-update",slide_num:_+m+1,data:(m+1)*100/_})}if(v===0)throw j0("PPTX_NO_RENDERABLE_SLIDES","render-slide","PPTX \u4E2D\u6CA1\u6709\u53EF\u6210\u529F\u6E32\u67D3\u7684\u5E7B\u706F\u7247\u3002",`failedSlides=${_}`,"\u8BF7\u68C0\u67E5\u5E7B\u706F\u7247\u3001\u5E03\u5C40\u3001\u4E3B\u9898\u4EE5\u53CA\u5173\u8054\u8D44\u6E90\u662F\u5426\u5B8C\u6574\u3002");return r({type:"globalCSS",data:D5()}),r({type:"ExecutionTime",data:new Date-i,charts:ec}),V0.MsgQueue.length=0,d}}Fp((e,r)=>{self.onmessage=t=>e(t.data),self.onerror=t=>r(t)},(e,r)=>{if(r!=null&&r.length){self.postMessage(e,r);return}self.postMessage(e)});
|
|
17
17
|
/*! Bundled license information:
|
|
18
18
|
|
|
19
19
|
jszip/dist/jszip.min.js:
|