raffaello 1.5.0 → 1.5.2
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/dist/raffaello.min.js +2 -2
- package/package.json +1 -1
package/dist/raffaello.min.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* RAFFAELLO - v1.
|
|
2
|
+
* RAFFAELLO - v1.5.0
|
|
3
3
|
*
|
|
4
4
|
* ,%DDJ*.
|
|
5
5
|
* .P +D+ .,. ,,
|
|
@@ -321,4 +321,4 @@ class MediaSource{constructor(){this._connectedTrack=null,this._closingPromise=n
|
|
|
321
321
|
* This Source Code Form is subject to the terms of the Mozilla Public
|
|
322
322
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
323
323
|
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
|
|
324
|
-
*/const validateVideoOptions=e=>{if(void 0!==e&&(!e||"object"!=typeof e))throw new TypeError("options.video, when provided, must be an object.");if(void 0!==e?.discard&&"boolean"!=typeof e.discard)throw new TypeError("options.video.discard, when provided, must be a boolean.");if(void 0!==e?.forceTranscode&&"boolean"!=typeof e.forceTranscode)throw new TypeError("options.video.forceTranscode, when provided, must be a boolean.");if(void 0!==e?.codec&&!b.includes(e.codec))throw new TypeError(`options.video.codec, when provided, must be one of: ${b.join(", ")}.`);if(void 0!==e?.bitrate&&!(e.bitrate instanceof Quality)&&(!Number.isInteger(e.bitrate)||e.bitrate<=0))throw new TypeError("options.video.bitrate, when provided, must be a positive integer or a quality.");if(void 0!==e?.width&&(!Number.isInteger(e.width)||e.width<=0))throw new TypeError("options.video.width, when provided, must be a positive integer.");if(void 0!==e?.height&&(!Number.isInteger(e.height)||e.height<=0))throw new TypeError("options.video.height, when provided, must be a positive integer.");if(void 0!==e?.fit&&!["fill","contain","cover"].includes(e.fit))throw new TypeError("options.video.fit, when provided, must be one of 'fill', 'contain', or 'cover'.");if(void 0!==e?.width&&void 0!==e.height&&void 0===e.fit)throw new TypeError("When both options.video.width and options.video.height are provided, options.video.fit must also be provided.");if(void 0!==e?.rotate&&![0,90,180,270].includes(e.rotate))throw new TypeError("options.video.rotate, when provided, must be 0, 90, 180 or 270.");if(void 0!==e?.crop&&validateCropRectangle(e.crop,"options.video."),void 0!==e?.frameRate&&(!Number.isFinite(e.frameRate)||e.frameRate<=0))throw new TypeError("options.video.frameRate, when provided, must be a finite positive number.");if(void 0!==e?.alpha&&!["discard","keep"].includes(e.alpha))throw new TypeError("options.video.alpha, when provided, must be either 'discard' or 'keep'.");if(void 0!==e?.keyFrameInterval&&(!Number.isFinite(e.keyFrameInterval)||e.keyFrameInterval<0))throw new TypeError("options.video.keyFrameInterval, when provided, must be a non-negative number.");if(void 0!==e?.process&&"function"!=typeof e.process)throw new TypeError("options.video.process, when provided, must be a function.");if(void 0!==e?.processedWidth&&(!Number.isInteger(e.processedWidth)||e.processedWidth<=0))throw new TypeError("options.video.processedWidth, when provided, must be a positive integer.");if(void 0!==e?.processedHeight&&(!Number.isInteger(e.processedHeight)||e.processedHeight<=0))throw new TypeError("options.video.processedHeight, when provided, must be a positive integer.")},validateAudioOptions=e=>{if(void 0!==e&&(!e||"object"!=typeof e))throw new TypeError("options.audio, when provided, must be an object.");if(void 0!==e?.discard&&"boolean"!=typeof e.discard)throw new TypeError("options.audio.discard, when provided, must be a boolean.");if(void 0!==e?.forceTranscode&&"boolean"!=typeof e.forceTranscode)throw new TypeError("options.audio.forceTranscode, when provided, must be a boolean.");if(void 0!==e?.codec&&!B.includes(e.codec))throw new TypeError(`options.audio.codec, when provided, must be one of: ${B.join(", ")}.`);if(void 0!==e?.bitrate&&!(e.bitrate instanceof Quality)&&(!Number.isInteger(e.bitrate)||e.bitrate<=0))throw new TypeError("options.audio.bitrate, when provided, must be a positive integer or a quality.");if(void 0!==e?.numberOfChannels&&(!Number.isInteger(e.numberOfChannels)||e.numberOfChannels<=0))throw new TypeError("options.audio.numberOfChannels, when provided, must be a positive integer.");if(void 0!==e?.sampleRate&&(!Number.isInteger(e.sampleRate)||e.sampleRate<=0))throw new TypeError("options.audio.sampleRate, when provided, must be a positive integer.");if(void 0!==e?.process&&"function"!=typeof e.process)throw new TypeError("options.audio.process, when provided, must be a function.");if(void 0!==e?.processedNumberOfChannels&&(!Number.isInteger(e.processedNumberOfChannels)||e.processedNumberOfChannels<=0))throw new TypeError("options.audio.processedNumberOfChannels, when provided, must be a positive integer.");if(void 0!==e?.processedSampleRate&&(!Number.isInteger(e.processedSampleRate)||e.processedSampleRate<=0))throw new TypeError("options.audio.processedSampleRate, when provided, must be a positive integer.")},at=48e3;class Conversion{static async init(e){const i=new Conversion(e);return await i._init(),i}constructor(e){if(this._addedCounts={video:0,audio:0,subtitle:0},this._totalTrackCount=0,this._trackPromises=[],this._executed=!1,this._synchronizer=new TrackSynchronizer,this._totalDuration=null,this._maxTimestamps=new Map,this._canceled=!1,this.onProgress=void 0,this._computeProgress=!1,this._lastProgress=0,this.isValid=!1,this.utilizedTracks=[],this.discardedTracks=[],!e||"object"!=typeof e)throw new TypeError("options must be an object.");if(!(e.input instanceof Input))throw new TypeError("options.input must be an Input.");if(!(e.output instanceof Output))throw new TypeError("options.output must be an Output.");if(e.output._tracks.length>0||Object.keys(e.output._metadataTags).length>0||"pending"!==e.output.state)throw new TypeError("options.output must be fresh: no tracks or metadata tags added and not started.");if("function"!=typeof e.video&&validateVideoOptions(e.video),"function"!=typeof e.audio&&validateAudioOptions(e.audio),void 0!==e.trim&&(!e.trim||"object"!=typeof e.trim))throw new TypeError("options.trim, when provided, must be an object.");if(void 0!==e.trim?.start&&(!Number.isFinite(e.trim.start)||e.trim.start<0))throw new TypeError("options.trim.start, when provided, must be a non-negative number.");if(void 0!==e.trim?.end&&(!Number.isFinite(e.trim.end)||e.trim.end<0))throw new TypeError("options.trim.end, when provided, must be a non-negative number.");if(void 0!==e.trim?.start&&void 0!==e.trim.end&&e.trim.start>=e.trim.end)throw new TypeError("options.trim.start must be less than options.trim.end.");if(void 0!==e.tags&&("object"!=typeof e.tags||!e.tags)&&"function"!=typeof e.tags)throw new TypeError("options.tags, when provided, must be an object or a function.");if("object"==typeof e.tags&&validateMetadataTags(e.tags),void 0!==e.showWarnings&&"boolean"!=typeof e.showWarnings)throw new TypeError("options.showWarnings, when provided, must be a boolean.");this._options=e,this.input=e.input,this.output=e.output,this._startTimestamp=e.trim?.start??0,this._endTimestamp=e.trim?.end??1/0;const{promise:i,resolve:s}=promiseWithResolvers();this._started=i,this._start=s}async _init(){const e=await this.input.getTracks(),i=this.output.format.getSupportedTrackCounts();let s=1,n=1;for(const o of e){let e;o.isVideoTrack()?this._options.video&&("function"==typeof this._options.video?(e=await this._options.video(o,s),validateVideoOptions(e),s++):e=this._options.video):o.isAudioTrack()?this._options.audio&&("function"==typeof this._options.audio?(e=await this._options.audio(o,n),validateAudioOptions(e),n++):e=this._options.audio):assert(!1),e?.discard?this.discardedTracks.push({track:o,reason:"discarded_by_user"}):this._totalTrackCount!==i.total.max?this._addedCounts[o.type]!==i[o.type].max?o.isVideoTrack()?await this._processVideoTrack(o,e??{}):o.isAudioTrack()&&await this._processAudioTrack(o,e??{}):this.discardedTracks.push({track:o,reason:"max_track_count_of_type_reached"}):this.discardedTracks.push({track:o,reason:"max_track_count_reached"})}const o=await this.input.getMetadataTags();let c;if(this._options.tags){const e="function"==typeof this._options.tags?await this._options.tags(o):this._options.tags;validateMetadataTags(e),c=e}else c=o;const l=(await this.input.getFormat()).mimeType===this.output.format.mimeType,d=o.raw===c.raw;if(o.raw&&d&&!l&&delete c.raw,this.output.setMetadataTags(c),this.isValid=this._totalTrackCount>=i.total.min&&this._addedCounts.video>=i.video.min&&this._addedCounts.audio>=i.audio.min&&this._addedCounts.subtitle>=i.subtitle.min,this._options.showWarnings??1){const e=[],i=this.discardedTracks.filter((e=>"discarded_by_user"!==e.reason));i.length>0&&e.push("Some tracks had to be discarded from the conversion:",i),this.isValid||e.push("\n\n"+this._getInvalidityExplanation().join("")),e.length>0&&console.warn(...e)}}_getInvalidityExplanation(){const e=[];if(0===this.discardedTracks.length)e.push("Due to missing tracks, this conversion cannot be executed.");else{const i=this.discardedTracks.every((e=>"discarded_by_user"===e.reason||"no_encodable_target_codec"===e.reason));if(e.push("Due to discarded tracks, this conversion cannot be executed."),i){const i=this.discardedTracks.flatMap((e=>"discarded_by_user"===e.reason?[]:"video"===e.track.type?this.output.format.getSupportedVideoCodecs():"audio"===e.track.type?this.output.format.getSupportedAudioCodecs():this.output.format.getSupportedSubtitleCodecs()));1===i.length?e.push(`\nTracks were discarded because your environment is not able to encode '${i[0]}'.`):e.push(`\nTracks were discarded because your environment is not able to encode any of the following codecs: ${i.map((e=>`'${e}'`)).join(", ")}.`),i.includes("mp3")&&e.push("\nThe @mediabunny/mp3-encoder extension package provides support for encoding MP3.")}else e.push("\nCheck the discardedTracks field for more info.")}return e}async execute(){if(!this.isValid)throw new Error("Cannot execute this conversion because its output configuration is invalid. Make sure to always check the isValid field before executing a conversion.\n"+this._getInvalidityExplanation().join(""));if(this._executed)throw new Error("Conversion cannot be executed twice.");if(this._executed=!0,this.onProgress){this._computeProgress=!0,this._totalDuration=Math.min(await this.input.computeDuration()-this._startTimestamp,this._endTimestamp-this._startTimestamp);for(const e of this.utilizedTracks)this._maxTimestamps.set(e.id,0);this.onProgress?.(0)}await this.output.start(),this._start();try{await Promise.all(this._trackPromises)}catch(e){throw this._canceled||this.cancel(),e}this._canceled&&await new Promise((()=>{})),await this.output.finalize(),this._computeProgress&&this.onProgress?.(1)}async cancel(){"finalizing"!==this.output.state&&"finalized"!==this.output.state&&(this._canceled?console.warn("Conversion already canceled."):(this._canceled=!0,await this.output.cancel()))}async _processVideoTrack(e,i){const s=e.codec;if(!s)return void this.discardedTracks.push({track:e,reason:"unknown_source_codec"});let n;const o=normalizeRotation(e.rotation+(i.rotate??0)),c=this.output.format.supportsVideoRotationMetadata,[l,d]=o%180==0?[e.codedWidth,e.codedHeight]:[e.codedHeight,e.codedWidth],h=i.crop;h&&clampCropRectangle(h,l,d);const[u,m]=h?[h.width,h.height]:[l,d];let p=u,f=m;const A=p/f,ceilToMultipleOfTwo=e=>2*Math.ceil(e/2);void 0!==i.width&&void 0===i.height?(p=ceilToMultipleOfTwo(i.width),f=ceilToMultipleOfTwo(Math.round(p/A))):void 0===i.width&&void 0!==i.height?(f=ceilToMultipleOfTwo(i.height),p=ceilToMultipleOfTwo(Math.round(f*A))):void 0!==i.width&&void 0!==i.height&&(p=ceilToMultipleOfTwo(i.width),f=ceilToMultipleOfTwo(i.height));const w=await e.getFirstTimestamp(),b=!!i.forceTranscode||this._startTimestamp>0||w<0||!!i.frameRate||void 0!==i.keyFrameInterval||void 0!==i.process;let k=p!==u||f!==m||0!==o&&(!c||void 0!==i.process)||!!h;const y=i.alpha??"discard";let B=this.output.format.getSupportedVideoCodecs();if(b||i.bitrate||k||!B.includes(s)||i.codec&&i.codec!==s){if(!await e.canDecode())return void this.discardedTracks.push({track:e,reason:"undecodable_source_codec"});i.codec&&(B=B.filter((e=>e===i.codec)));const s=i.bitrate??tt,c=await getFirstEncodableVideoCodec(B,{width:i.process&&i.processedWidth?i.processedWidth:p,height:i.process&&i.processedHeight?i.processedHeight:f,bitrate:s});if(!c)return void this.discardedTracks.push({track:e,reason:"no_encodable_target_codec"});const l={codec:c,bitrate:s,keyFrameInterval:i.keyFrameInterval,sizeChangeBehavior:i.fit??"passThrough",alpha:y},d=new VideoSampleSource(l);if(n=d,!k){const i=new Output({format:new Mp4OutputFormat,target:new NullTarget}),s=new VideoSampleSource(l);i.addVideoTrack(s),await i.start();const n=new VideoSampleSink(e),o=await n.getSample(w);if(o)try{await s.add(o),o.close(),await i.finalize()}catch(e){console.info("Error when probing encoder support. Falling back to rerender path.",e),k=!0,i.cancel()}else await i.cancel()}k?this._trackPromises.push((async()=>{await this._started;const s=new CanvasSink(e,{width:p,height:f,fit:i.fit??"fill",rotation:o,crop:i.crop,poolSize:1,alpha:"keep"===y}).canvases(this._startTimestamp,this._endTimestamp),n=i.frameRate;let c=null,l=null,h=null;const padFrames=async s=>{assert(c),assert(void 0!==n);const o=Math.round((s-l)*n);for(let s=1;s<o;s++){const o=new VideoSample(c,{timestamp:l+s/n,duration:1/n});await this._registerVideoSample(e,i,d,o)}};for await(const{canvas:o,timestamp:u,duration:m}of s){if(this._canceled)return;let s=Math.max(u-this._startTimestamp,0);if(h=s+m,void 0!==n){const e=Math.floor(s*n)/n;if(null!==c){if(e<=l){c=o,l=e;continue}await padFrames(e)}s=e}const p=new VideoSample(o,{timestamp:s,duration:void 0!==n?1/n:m});await this._registerVideoSample(e,i,d,p),void 0!==n?(c=o,l=s):p.close()}c&&(assert(null!==h),assert(void 0!==n),await padFrames(Math.floor(h*n)/n)),d.close(),this._synchronizer.closeTrack(e.id)})()):this._trackPromises.push((async()=>{await this._started;const s=new VideoSampleSink(e),n=i.frameRate;let o=null,c=null,l=null;const padFrames=async s=>{assert(o),assert(void 0!==n);const l=Math.round((s-c)*n);for(let s=1;s<l;s++)o.setTimestamp(c+s/n),o.setDuration(1/n),await this._registerVideoSample(e,i,d,o);o.close()};for await(const h of s.samples(this._startTimestamp,this._endTimestamp)){if(this._canceled)return void o?.close();let s=Math.max(h.timestamp-this._startTimestamp,0);if(l=s+h.duration,void 0!==n){const e=Math.floor(s*n)/n;if(null!==o){if(e<=c){o.close(),o=h,c=e;continue}await padFrames(e)}s=e,h.setDuration(1/n)}h.setTimestamp(s),await this._registerVideoSample(e,i,d,h),void 0!==n?(o=h,c=s):h.close()}o&&(assert(null!==l),assert(void 0!==n),await padFrames(Math.floor(l*n)/n)),d.close(),this._synchronizer.closeTrack(e.id)})())}else{const i=new EncodedVideoPacketSource(s);n=i,this._trackPromises.push((async()=>{await this._started;const s=new EncodedPacketSink(e),n={decoderConfig:await e.getDecoderConfig()??void 0},o=Number.isFinite(this._endTimestamp)?await s.getPacket(this._endTimestamp,{metadataOnly:!0})??void 0:void 0;for await(const c of s.packets(void 0,o,{verifyKeyPackets:!0})){if(this._canceled)return;"discard"===y&&(delete c.sideData.alpha,delete c.sideData.alphaByteLength),this._reportProgress(e.id,c.timestamp),await i.add(c,n),this._synchronizer.shouldWait(e.id,c.timestamp)&&await this._synchronizer.wait(c.timestamp)}i.close(),this._synchronizer.closeTrack(e.id)})())}this.output.addVideoTrack(n,{frameRate:i.frameRate,languageCode:isIso639Dash2LanguageCode(e.languageCode)?e.languageCode:void 0,name:e.name??void 0,rotation:k?0:o}),this._addedCounts.video++,this._totalTrackCount++,this.utilizedTracks.push(e)}async _registerVideoSample(e,i,s,n){if(this._canceled)return;let o;if(this._reportProgress(e.id,n.timestamp),i.process){let e=i.process(n);e instanceof Promise&&(e=await e),Array.isArray(e)||(e=null===e?[]:[e]),o=e.map((e=>e instanceof VideoSample?e:"undefined"!=typeof VideoFrame&&e instanceof VideoFrame?new VideoSample(e):new VideoSample(e,{timestamp:n.timestamp,duration:n.duration})))}else o=[n];for(const i of o){if(this._canceled)break;await s.add(i),this._synchronizer.shouldWait(e.id,i.timestamp)&&await this._synchronizer.wait(i.timestamp)}for(const e of o)e!==n&&e.close()}async _processAudioTrack(e,i){const s=e.codec;if(!s)return void this.discardedTracks.push({track:e,reason:"unknown_source_codec"});let n;const o=e.numberOfChannels,c=e.sampleRate,l=await e.getFirstTimestamp();let d=i.numberOfChannels??o,h=i.sampleRate??c,u=d!==o||h!==c||this._startTimestamp>0||l<0,m=this.output.format.getSupportedAudioCodecs();if(i.forceTranscode||i.bitrate||u||!m.includes(s)||i.codec&&i.codec!==s||i.process){if(!await e.canDecode())return void this.discardedTracks.push({track:e,reason:"undecodable_source_codec"});let s=null;i.codec&&(m=m.filter((e=>e===i.codec)));const o=i.bitrate??tt,c=await getEncodableAudioCodecs(m,{numberOfChannels:i.process&&i.processedNumberOfChannels?i.processedNumberOfChannels:d,sampleRate:i.process&&i.processedSampleRate?i.processedSampleRate:h,bitrate:o});if(c.some((e=>y.includes(e)))||!m.some((e=>y.includes(e)))||2===d&&h===at)s=c[0]??null;else{const e=(await getEncodableAudioCodecs(m,{numberOfChannels:2,sampleRate:at,bitrate:o})).find((e=>y.includes(e)));e&&(u=!0,s=e,d=2,h=at)}if(null===s)return void this.discardedTracks.push({track:e,reason:"no_encodable_target_codec"});if(u)n=this._resampleAudio(e,i,s,d,h,o);else{const c=new AudioSampleSource({codec:s,bitrate:o});n=c,this._trackPromises.push((async()=>{await this._started;const s=new AudioSampleSink(e);for await(const n of s.samples(void 0,this._endTimestamp)){if(this._canceled)return;await this._registerAudioSample(e,i,c,n),n.close()}c.close(),this._synchronizer.closeTrack(e.id)})())}}else{const i=new EncodedAudioPacketSource(s);n=i,this._trackPromises.push((async()=>{await this._started;const s=new EncodedPacketSink(e),n={decoderConfig:await e.getDecoderConfig()??void 0},o=Number.isFinite(this._endTimestamp)?await s.getPacket(this._endTimestamp,{metadataOnly:!0})??void 0:void 0;for await(const c of s.packets(void 0,o)){if(this._canceled)return;this._reportProgress(e.id,c.timestamp),await i.add(c,n),this._synchronizer.shouldWait(e.id,c.timestamp)&&await this._synchronizer.wait(c.timestamp)}i.close(),this._synchronizer.closeTrack(e.id)})())}this.output.addAudioTrack(n,{languageCode:isIso639Dash2LanguageCode(e.languageCode)?e.languageCode:void 0,name:e.name??void 0}),this._addedCounts.audio++,this._totalTrackCount++,this.utilizedTracks.push(e)}async _registerAudioSample(e,i,s,n){if(this._canceled)return;let o;if(this._reportProgress(e.id,n.timestamp),i.process){let e=i.process(n);if(e instanceof Promise&&(e=await e),Array.isArray(e)||(e=null===e?[]:[e]),!e.every((e=>e instanceof AudioSample)))throw new TypeError("The audio process function must return an AudioSample, null, or an array of AudioSamples.");o=e}else o=[n];for(const i of o){if(this._canceled)break;await s.add(i),this._synchronizer.shouldWait(e.id,i.timestamp)&&await this._synchronizer.wait(i.timestamp)}for(const e of o)e!==n&&e.close()}_resampleAudio(e,i,s,n,o,c){const l=new AudioSampleSource({codec:s,bitrate:c});return this._trackPromises.push((async()=>{await this._started;const s=new AudioResampler({targetNumberOfChannels:n,targetSampleRate:o,startTime:this._startTimestamp,endTime:this._endTimestamp,onSample:s=>this._registerAudioSample(e,i,l,s)}),c=new AudioSampleSink(e).samples(this._startTimestamp,this._endTimestamp);for await(const e of c){if(this._canceled)return;await s.add(e)}await s.finalize(),l.close(),this._synchronizer.closeTrack(e.id)})()),l}_reportProgress(e,i){if(!this._computeProgress)return;assert(null!==this._totalDuration),this._maxTimestamps.set(e,Math.max(i,this._maxTimestamps.get(e)));const s=Math.min(...this._maxTimestamps.values()),n=clamp(s/this._totalDuration,0,1);n!==this._lastProgress&&(this._lastProgress=n,this.onProgress?.(n))}}class TrackSynchronizer{constructor(){this.maxTimestamps=new Map,this.resolvers=[]}computeMinAndMaybeResolve(){let e=1/0;for(const[,i]of this.maxTimestamps)e=Math.min(e,i);for(let i=0;i<this.resolvers.length;i++){const s=this.resolvers[i];s.timestamp-e<5&&(s.resolve(),this.resolvers.splice(i,1),i--)}return e}shouldWait(e,i){this.maxTimestamps.set(e,Math.max(i,this.maxTimestamps.get(e)??-1/0));return i-this.computeMinAndMaybeResolve()>=5}wait(e){const{promise:i,resolve:s}=promiseWithResolvers();return this.resolvers.push({timestamp:e,resolve:s}),i}closeTrack(e){this.maxTimestamps.delete(e),this.computeMinAndMaybeResolve()}}class AudioResampler{constructor(e){this.sourceSampleRate=null,this.sourceNumberOfChannels=null,this.targetSampleRate=e.targetSampleRate,this.targetNumberOfChannels=e.targetNumberOfChannels,this.startTime=e.startTime,this.endTime=e.endTime,this.onSample=e.onSample,this.bufferSizeInFrames=Math.floor(5*this.targetSampleRate),this.bufferSizeInSamples=this.bufferSizeInFrames*this.targetNumberOfChannels,this.outputBuffer=new Float32Array(this.bufferSizeInSamples),this.bufferStartFrame=0,this.maxWrittenFrame=-1}doChannelMixerSetup(){assert(null!==this.sourceNumberOfChannels);const e=this.sourceNumberOfChannels,i=this.targetNumberOfChannels;this.channelMixer=1===e&&2===i?(i,s)=>i[s*e]:1===e&&4===i?(i,s,n)=>i[s*e]*+(n<2):1===e&&6===i?(i,s,n)=>i[s*e]*+(2===n):2===e&&1===i?(i,s)=>{const n=s*e;return.5*(i[n]+i[n+1])}:2===e&&4===i||2===e&&6===i?(i,s,n)=>i[s*e+n]*+(n<2):4===e&&1===i?(i,s)=>{const n=s*e;return.25*(i[n]+i[n+1]+i[n+2]+i[n+3])}:4===e&&2===i?(i,s,n)=>{const o=s*e;return.5*(i[o+n]+i[o+n+2])}:4===e&&6===i?(i,s,n)=>{const o=s*e;return n<2?i[o+n]:2===n||3===n?0:i[o+n-2]}:6===e&&1===i?(i,s)=>{const n=s*e;return Math.SQRT1_2*(i[n]+i[n+1])+i[n+2]+.5*(i[n+4]+i[n+5])}:6===e&&2===i?(i,s,n)=>{const o=s*e;return i[o+n]+Math.SQRT1_2*(i[o+2]+i[o+n+4])}:6===e&&4===i?(i,s,n)=>{const o=s*e;return n<2?i[o+n]+Math.SQRT1_2*i[o+2]:i[o+n+2]}:(i,s,n)=>n<e?i[s*e+n]:0}ensureTempBufferSize(e){let i=this.tempSourceBuffer.length;for(;i<e;)i*=2;if(i!==this.tempSourceBuffer.length){const e=new Float32Array(i);e.set(this.tempSourceBuffer),this.tempSourceBuffer=e}}async add(e){null===this.sourceSampleRate&&(this.sourceSampleRate=e.sampleRate,this.sourceNumberOfChannels=e.numberOfChannels,this.tempSourceBuffer=new Float32Array(this.sourceSampleRate*this.sourceNumberOfChannels),this.doChannelMixerSetup());const i=e.numberOfFrames*e.numberOfChannels;this.ensureTempBufferSize(i);const s=e.allocationSize({planeIndex:0,format:"f32"}),n=new Float32Array(this.tempSourceBuffer.buffer,0,s/4);e.copyTo(n,{planeIndex:0,format:"f32"});const o=e.timestamp-this.startTime,c=e.numberOfFrames/this.sourceSampleRate,l=Math.min(o+c,this.endTime-this.startTime),d=Math.floor(o*this.targetSampleRate),h=Math.ceil(l*this.targetSampleRate);for(let i=d;i<h;i++){if(i<this.bufferStartFrame)continue;for(;i>=this.bufferStartFrame+this.bufferSizeInFrames;)await this.finalizeCurrentBuffer(),this.bufferStartFrame+=this.bufferSizeInFrames;const s=i-this.bufferStartFrame;assert(s<this.bufferSizeInFrames);const c=(i/this.targetSampleRate-o)*this.sourceSampleRate,l=Math.floor(c),d=Math.ceil(c),h=c-l;for(let i=0;i<this.targetNumberOfChannels;i++){let o=0,c=0;l>=0&&l<e.numberOfFrames&&(o=this.channelMixer(n,l,i)),d>=0&&d<e.numberOfFrames&&(c=this.channelMixer(n,d,i));const u=o+h*(c-o),m=s*this.targetNumberOfChannels+i;this.outputBuffer[m]+=u}this.maxWrittenFrame=Math.max(this.maxWrittenFrame,s)}}async finalizeCurrentBuffer(){if(this.maxWrittenFrame<0)return;const e=(this.maxWrittenFrame+1)*this.targetNumberOfChannels,i=new Float32Array(e);i.set(this.outputBuffer.subarray(0,e));const s=this.bufferStartFrame/this.targetSampleRate,n=new AudioSample({format:"f32",sampleRate:this.targetSampleRate,numberOfChannels:this.targetNumberOfChannels,timestamp:s,data:i});await this.onSample(n),this.outputBuffer.fill(0),this.maxWrittenFrame=-1}finalize(){return this.finalizeCurrentBuffer()}}const rt=4294967295,st=65535,nt=255,ot=67324752,ct=134695760,lt=ct,dt=33639248,ht=101010256,ut=101075792,mt=117853008,gt=22,pt=39169,ft=21589,At=6534,wt=30837,bt=30805,kt=2048,yt=16,Bt=16384,vt=2048,Ct=1024,Et=512,It="/",St=30,xt=14,Tt=18,Dt=new Date(2107,11,31),Ft=new Date(1980,0,1),Qt=void 0,Mt="undefined",Pt="function",Rt="object";let zt=2;try{typeof navigator!=Mt&&navigator.hardwareConcurrency&&(zt=navigator.hardwareConcurrency)}catch{}const Ut={workerURI:"./core/web-worker-wasm.js",wasmURI:"./core/streams/zlib-wasm/zlib-streams.wasm",chunkSize:65536,maxWorkers:zt,terminateWorkerTimeout:5e3,useWebWorkers:!0,useCompressionStream:!0,CompressionStream:typeof CompressionStream!=Mt&&CompressionStream,DecompressionStream:typeof DecompressionStream!=Mt&&DecompressionStream},Ot=Object.assign({},Ut);function getConfiguration(){return Ot}function getChunkSize(e){return Math.max(e.chunkSize,64)}function configure(e){const{baseURI:i,chunkSize:s,maxWorkers:n,terminateWorkerTimeout:o,useCompressionStream:c,useWebWorkers:l,CompressionStream:d,DecompressionStream:h,CompressionStreamZlib:u,DecompressionStreamZlib:m,workerURI:p,wasmURI:f}=e;setIfDefined("baseURI",i),setIfDefined("wasmURI",f),setIfDefined("workerURI",p),setIfDefined("chunkSize",s),setIfDefined("maxWorkers",n),setIfDefined("terminateWorkerTimeout",o),setIfDefined("useCompressionStream",c),setIfDefined("useWebWorkers",l),setIfDefined("CompressionStream",d),setIfDefined("DecompressionStream",h),setIfDefined("CompressionStreamZlib",u),setIfDefined("DecompressionStreamZlib",m)}function setIfDefined(e,i){i!==Qt&&(Ot[e]=i)}const _t=[];for(let e=0;e<256;e++){let i=e;for(let e=0;e<8;e++)1&i?i=i>>>1^3988292384:i>>>=1;_t[e]=i}class Crc32{constructor(e){this.crc=e||-1}append(e){let i=0|this.crc;for(let s=0,n=0|e.length;s<n;s++)i=i>>>8^_t[255&(i^e[s])];this.crc=i}get(){return~this.crc}}class Crc32Stream extends TransformStream{constructor(){let e;const i=new Crc32;super({transform(e,s){i.append(e),s.enqueue(e)},flush(){const s=new Uint8Array(4);new DataView(s.buffer).setUint32(0,i.get()),e.value=s}}),e=this}}function encodeText(e){if(typeof TextEncoder==Mt){e=unescape(encodeURIComponent(e));const i=new Uint8Array(e.length);for(let s=0;s<i.length;s++)i[s]=e.charCodeAt(s);return i}return(new TextEncoder).encode(e)}const Lt={concat(e,i){if(0===e.length||0===i.length)return e.concat(i);const s=e[e.length-1],n=Lt.getPartial(s);return 32===n?e.concat(i):Lt._shiftRight(i,n,0|s,e.slice(0,e.length-1))},bitLength(e){const i=e.length;if(0===i)return 0;const s=e[i-1];return 32*(i-1)+Lt.getPartial(s)},clamp(e,i){if(32*e.length<i)return e;const s=(e=e.slice(0,Math.ceil(i/32))).length;return i&=31,s>0&&i&&(e[s-1]=Lt.partial(i,e[s-1]&2147483648>>i-1,1)),e},partial:(e,i,s)=>32===e?i:(s?0|i:i<<32-e)+1099511627776*e,getPartial:e=>Math.round(e/1099511627776)||32,_shiftRight(e,i,s,n){for(void 0===n&&(n=[]);i>=32;i-=32)n.push(s),s=0;if(0===i)return n.concat(e);for(let o=0;o<e.length;o++)n.push(s|e[o]>>>i),s=e[o]<<32-i;const o=e.length?e[e.length-1]:0,c=Lt.getPartial(o);return n.push(Lt.partial(i+c&31,i+c>32?s:n.pop(),1)),n}},Nt={bytes:{fromBits(e){const i=Lt.bitLength(e)/8,s=new Uint8Array(i);let n;for(let o=0;o<i;o++)3&o||(n=e[o/4]),s[o]=n>>>24,n<<=8;return s},toBits(e){const i=[];let s,n=0;for(s=0;s<e.length;s++)n=n<<8|e[s],3&~s||(i.push(n),n=0);return 3&s&&i.push(Lt.partial(8*(3&s),n)),i}}},Yt={sha1:class{constructor(e){const i=this;i.blockSize=512,i._init=[1732584193,4023233417,2562383102,271733878,3285377520],i._key=[1518500249,1859775393,2400959708,3395469782],e?(i._h=e._h.slice(0),i._buffer=e._buffer.slice(0),i._length=e._length):i.reset()}reset(){const e=this;return e._h=e._init.slice(0),e._buffer=[],e._length=0,e}update(e){const i=this;"string"==typeof e&&(e=Nt.utf8String.toBits(e));const s=i._buffer=Lt.concat(i._buffer,e),n=i._length,o=i._length=n+Lt.bitLength(e);if(o>9007199254740991)throw new Error("Cannot hash more than 2^53 - 1 bits");const c=new Uint32Array(s);let l=0;for(let e=i.blockSize+n-(i.blockSize+n&i.blockSize-1);e<=o;e+=i.blockSize)i._block(c.subarray(16*l,16*(l+1))),l+=1;return s.splice(0,16*l),i}finalize(){const e=this;let i=e._buffer;const s=e._h;i=Lt.concat(i,[Lt.partial(1,1)]);for(let e=i.length+2;15&e;e++)i.push(0);for(i.push(Math.floor(e._length/4294967296)),i.push(0|e._length);i.length;)e._block(i.splice(0,16));return e.reset(),s}_f(e,i,s,n){return e<=19?i&s|~i&n:e<=39?i^s^n:e<=59?i&s|i&n|s&n:e<=79?i^s^n:void 0}_S(e,i){return i<<e|i>>>32-e}_block(e){const i=this,s=i._h,n=Array(80);for(let i=0;i<16;i++)n[i]=e[i];let o=s[0],c=s[1],l=s[2],d=s[3],h=s[4];for(let e=0;e<=79;e++){e>=16&&(n[e]=i._S(1,n[e-3]^n[e-8]^n[e-14]^n[e-16]));const s=i._S(5,o)+i._f(e,c,l,d)+h+n[e]+i._key[Math.floor(e/20)]|0;h=d,d=l,l=i._S(30,c),c=o,o=s}s[0]=s[0]+o|0,s[1]=s[1]+c|0,s[2]=s[2]+l|0,s[3]=s[3]+d|0,s[4]=s[4]+h|0}}},Wt={aes:class{constructor(e){const i=this;i._tables=[[[],[],[],[],[]],[[],[],[],[],[]]],i._tables[0][0][0]||i._precompute();const s=i._tables[0][4],n=i._tables[1],o=e.length;let c,l,d,h=1;if(4!==o&&6!==o&&8!==o)throw new Error("invalid aes key size");for(i._key=[l=e.slice(0),d=[]],c=o;c<4*o+28;c++){let e=l[c-1];(c%o==0||8===o&&c%o==4)&&(e=s[e>>>24]<<24^s[e>>16&255]<<16^s[e>>8&255]<<8^s[255&e],c%o==0&&(e=e<<8^e>>>24^h<<24,h=h<<1^283*(h>>7))),l[c]=l[c-o]^e}for(let e=0;c;e++,c--){const i=l[3&e?c:c-4];d[e]=c<=4||e<4?i:n[0][s[i>>>24]]^n[1][s[i>>16&255]]^n[2][s[i>>8&255]]^n[3][s[255&i]]}}encrypt(e){return this._crypt(e,0)}decrypt(e){return this._crypt(e,1)}_precompute(){const e=this._tables[0],i=this._tables[1],s=e[4],n=i[4],o=[],c=[];let l,d,h,u;for(let e=0;e<256;e++)c[(o[e]=e<<1^283*(e>>7))^e]=e;for(let m=l=0;!s[m];m^=d||1,l=c[l]||1){let c=l^l<<1^l<<2^l<<3^l<<4;c=c>>8^255&c^99,s[m]=c,n[c]=m,u=o[h=o[d=o[m]]];let p=16843009*u^65537*h^257*d^16843008*m,f=257*o[c]^16843008*c;for(let s=0;s<4;s++)e[s][m]=f=f<<24^f>>>8,i[s][c]=p=p<<24^p>>>8}for(let s=0;s<5;s++)e[s]=e[s].slice(0),i[s]=i[s].slice(0)}_crypt(e,i){if(4!==e.length)throw new Error("invalid aes block size");const s=this._key[i],n=s.length/4-2,o=[0,0,0,0],c=this._tables[i],l=c[0],d=c[1],h=c[2],u=c[3],m=c[4];let p,f,A,w=e[0]^s[0],b=e[i?3:1]^s[1],k=e[2]^s[2],y=e[i?1:3]^s[3],B=4;for(let e=0;e<n;e++)p=l[w>>>24]^d[b>>16&255]^h[k>>8&255]^u[255&y]^s[B],f=l[b>>>24]^d[k>>16&255]^h[y>>8&255]^u[255&w]^s[B+1],A=l[k>>>24]^d[y>>16&255]^h[w>>8&255]^u[255&b]^s[B+2],y=l[y>>>24]^d[w>>16&255]^h[b>>8&255]^u[255&k]^s[B+3],B+=4,w=p,b=f,k=A;for(let e=0;e<4;e++)o[i?3&-e:e]=m[w>>>24]<<24^m[b>>16&255]<<16^m[k>>8&255]<<8^m[255&y]^s[B++],p=w,w=b,b=k,k=y,y=p;return o}}},Ht={getRandomValues(e){const i=new Uint32Array(e.buffer),r=e=>{let i=987654321;const s=4294967295;return function(){i=36969*(65535&i)+(i>>16)&s;return(((i<<16)+(e=18e3*(65535&e)+(e>>16)&s)&s)/4294967296+.5)*(Math.random()>.5?1:-1)}};for(let s,n=0;n<e.length;n+=4){const e=r(4294967296*(s||Math.random()));s=987654071*e(),i[n/4]=4294967296*e()|0}return e}},Gt={ctrGladman:class{constructor(e,i){this._prf=e,this._initIv=i,this._iv=i}reset(){this._iv=this._initIv}update(e){return this.calculate(this._prf,e,this._iv)}incWord(e){if(255&~(e>>24))e+=1<<24;else{let i=e>>16&255,s=e>>8&255,n=255&e;255===i?(i=0,255===s?(s=0,255===n?n=0:++n):++s):++i,e=0,e+=i<<16,e+=s<<8,e+=n}return e}incCounter(e){0===(e[0]=this.incWord(e[0]))&&(e[1]=this.incWord(e[1]))}calculate(e,i,s){let n;if(!(n=i.length))return[];const o=Lt.bitLength(i);for(let o=0;o<n;o+=4){this.incCounter(s);const n=e.encrypt(s);i[o]^=n[0],i[o+1]^=n[1],i[o+2]^=n[2],i[o+3]^=n[3]}return Lt.clamp(i,o)}}},Vt={importKey:e=>new Vt.hmacSha1(Nt.bytes.toBits(e)),pbkdf2(e,i,s,n){if(s=s||1e4,n<0||s<0)throw new Error("invalid params to pbkdf2");const o=1+(n>>5)<<2;let c,l,d,h,u;const m=new ArrayBuffer(o),p=new DataView(m);let f=0;const A=Lt;for(i=Nt.bytes.toBits(i),u=1;f<(o||1);u++){for(c=l=e.encrypt(A.concat(i,[u])),d=1;d<s;d++)for(l=e.encrypt(l),h=0;h<l.length;h++)c[h]^=l[h];for(d=0;f<(o||1)&&d<c.length;d++)p.setInt32(f,c[d]),f+=4}return m.slice(0,n/8)},hmacSha1:class{constructor(e){const i=this,s=i._hash=Yt.sha1,n=[[],[]];i._baseHash=[new s,new s];const o=i._baseHash[0].blockSize/32;e.length>o&&(e=(new s).update(e).finalize());for(let i=0;i<o;i++)n[0][i]=909522486^e[i],n[1][i]=1549556828^e[i];i._baseHash[0].update(n[0]),i._baseHash[1].update(n[1]),i._resultHash=new s(i._baseHash[0])}reset(){const e=this;e._resultHash=new e._hash(e._baseHash[0]),e._updated=!1}update(e){this._updated=!0,this._resultHash.update(e)}digest(){const e=this,i=e._resultHash.finalize(),s=new e._hash(e._baseHash[1]).update(i).finalize();return e.reset(),s}encrypt(e){if(this._updated)throw new Error("encrypt on already updated hmac called!");return this.update(e),this.digest(e)}}},Kt=typeof crypto!=Mt&&typeof crypto.getRandomValues==Pt,qt="Invalid password",jt="Invalid signature",Jt="zipjs-abort-check-password";function getRandomValues(e){return Kt?crypto.getRandomValues(e):Ht.getRandomValues(e)}const Xt=16,Zt={name:"PBKDF2"},$t=Object.assign({hash:{name:"HMAC"}},Zt),ei=Object.assign({iterations:1e3,hash:{name:"SHA-1"}},Zt),ti=["deriveBits"],ii=[8,12,16],ai=[16,24,32],ri=10,si=[0,0,0,0],ni=typeof crypto!=Mt,oi=ni&&crypto.subtle,ci=ni&&typeof oi!=Mt,li=Nt.bytes,di=Wt.aes,hi=Gt.ctrGladman,ui=Vt.hmacSha1;let mi=ni&&ci&&typeof oi.importKey==Pt,gi=ni&&ci&&typeof oi.deriveBits==Pt;class AESDecryptionStream extends TransformStream{constructor({password:e,rawPassword:i,signed:s,encryptionStrength:n,checkPasswordOnly:o}){super({start(){Object.assign(this,{ready:new Promise((e=>this.resolveReady=e)),password:encodePassword(e,i),signed:s,strength:n-1,pending:new Uint8Array})},async transform(e,i){const s=this,{password:n,strength:c,resolveReady:l,ready:d}=s;n?(await async function createDecryptionKeys(e,i,s,n){const o=await createKeys$1(e,i,s,subarray(n,0,ii[i])),c=subarray(n,ii[i]);if(o[0]!=c[0]||o[1]!=c[1])throw new Error(qt)}(s,c,n,subarray(e,0,ii[c]+2)),e=subarray(e,ii[c]+2),o?i.error(new Error(Jt)):l()):await d;const h=new Uint8Array(e.length-ri-(e.length-ri)%Xt);i.enqueue(append(s,e,h,0,ri,!0))},async flush(e){const{signed:i,ctr:s,hmac:n,pending:o,ready:c}=this;if(n&&s){await c;const l=subarray(o,0,o.length-ri),d=subarray(o,o.length-ri);let h=new Uint8Array;if(l.length){const e=toBits(li,l);n.update(e);const i=s.update(e);h=fromBits(li,i)}if(i){const e=subarray(fromBits(li,n.digest()),0,ri);for(let i=0;i<ri;i++)if(e[i]!=d[i])throw new Error(jt)}e.enqueue(h)}}})}}class AESEncryptionStream extends TransformStream{constructor({password:e,rawPassword:i,encryptionStrength:s}){let n;super({start(){Object.assign(this,{ready:new Promise((e=>this.resolveReady=e)),password:encodePassword(e,i),strength:s-1,pending:new Uint8Array})},async transform(e,i){const s=this,{password:n,strength:o,resolveReady:c,ready:l}=s;let d=new Uint8Array;n?(d=await async function createEncryptionKeys(e,i,s){const n=getRandomValues(new Uint8Array(ii[i])),o=await createKeys$1(e,i,s,n);return concat(n,o)}(s,o,n),c()):await l;const h=new Uint8Array(d.length+e.length-e.length%Xt);h.set(d,0),i.enqueue(append(s,e,h,d.length,0))},async flush(e){const{ctr:i,hmac:s,pending:o,ready:c}=this;if(s&&i){await c;let l=new Uint8Array;if(o.length){const e=i.update(toBits(li,o));s.update(e),l=fromBits(li,e)}n.signature=fromBits(li,s.digest()).slice(0,ri),e.enqueue(concat(l,n.signature))}}}),n=this}}function append(e,i,s,n,o,c){const{ctr:l,hmac:d,pending:h}=e,u=i.length-o;let m;for(h.length&&(i=concat(h,i),s=function expand(e,i){if(i&&i>e.length){const s=e;(e=new Uint8Array(i)).set(s,0)}return e}(s,u-u%Xt)),m=0;m<=u-Xt;m+=Xt){const e=toBits(li,subarray(i,m,m+Xt));c&&d.update(e);const o=l.update(e);c||d.update(o),s.set(fromBits(li,o),m+n)}return e.pending=subarray(i,m),s}async function createKeys$1(e,i,s,n){e.password=null;const o=await async function importKey(e,i,s,n,o){if(!mi)return Vt.importKey(i);try{return await oi.importKey(e,i,s,n,o)}catch{return mi=!1,Vt.importKey(i)}}("raw",s,$t,!1,ti),c=await async function deriveBits(e,i,s){if(!gi)return Vt.pbkdf2(i,e.salt,ei.iterations,s);try{return await oi.deriveBits(e,i,s)}catch{return gi=!1,Vt.pbkdf2(i,e.salt,ei.iterations,s)}}(Object.assign({salt:n},ei),o,8*(2*ai[i]+2)),l=new Uint8Array(c),d=toBits(li,subarray(l,0,ai[i])),h=toBits(li,subarray(l,ai[i],2*ai[i])),u=subarray(l,2*ai[i]);return Object.assign(e,{keys:{key:d,authentication:h,passwordVerification:u},ctr:new hi(new di(d),Array.from(si)),hmac:new ui(h)}),u}function encodePassword(e,i){return i===Qt?encodeText(e):i}function concat(e,i){let s=e;return e.length+i.length&&(s=new Uint8Array(e.length+i.length),s.set(e,0),s.set(i,e.length)),s}function subarray(e,i,s){return e.subarray(i,s)}function fromBits(e,i){return e.fromBits(i)}function toBits(e,i){return e.toBits(i)}class ZipCryptoDecryptionStream extends TransformStream{constructor({password:e,passwordVerification:i,checkPasswordOnly:s}){super({start(){Object.assign(this,{password:e,passwordVerification:i}),createKeys(this,e)},transform(e,i){const n=this;if(n.password){const i=decrypt(n,e.subarray(0,12));if(n.password=null,i.at(-1)!=n.passwordVerification)throw new Error(qt);e=e.subarray(12)}s?i.error(new Error(Jt)):i.enqueue(decrypt(n,e))}})}}class ZipCryptoEncryptionStream extends TransformStream{constructor({password:e,passwordVerification:i}){super({start(){Object.assign(this,{password:e,passwordVerification:i}),createKeys(this,e)},transform(e,i){const s=this;let n,o;if(s.password){s.password=null;const i=getRandomValues(new Uint8Array(12));i[11]=s.passwordVerification,n=new Uint8Array(e.length+i.length),n.set(encrypt(s,i),0),o=12}else n=new Uint8Array(e.length),o=0;n.set(encrypt(s,e),o),i.enqueue(n)}})}}function decrypt(e,i){const s=new Uint8Array(i.length);for(let n=0;n<i.length;n++)s[n]=getByte(e)^i[n],updateKeys(e,s[n]);return s}function encrypt(e,i){const s=new Uint8Array(i.length);for(let n=0;n<i.length;n++)s[n]=getByte(e)^i[n],updateKeys(e,i[n]);return s}function createKeys(e,i){const s=[305419896,591751049,878082192];Object.assign(e,{keys:s,crcKey0:new Crc32(s[0]),crcKey2:new Crc32(s[2])});for(let s=0;s<i.length;s++)updateKeys(e,i.charCodeAt(s))}function updateKeys(e,i){let[s,n,o]=e.keys;e.crcKey0.append([i]),s=~e.crcKey0.get(),n=getInt32(Math.imul(getInt32(n+getInt8(s)),134775813)+1),e.crcKey2.append([n>>>24]),o=~e.crcKey2.get(),e.keys=[s,n,o]}function getByte(e){const i=2|e.keys[2];return getInt8(Math.imul(i,1^i)>>>8)}function getInt8(e){return 255&e}function getInt32(e){return 4294967295&e}const pi="Invalid uncompressed size";class DeflateStream extends TransformStream{constructor(e,{chunkSize:i,CompressionStreamZlib:s,CompressionStream:n}){super({});const{compressed:o,encrypted:c,useCompressionStream:l,zipCrypto:d,signed:h,level:u}=e,m=this;let p,f,A=super.readable;c&&!d||!h||(p=new Crc32Stream,A=pipeThrough(A,p)),o&&(A=pipeThroughCommpressionStream(A,l,{level:u,chunkSize:i},n,s,n)),c&&(d?A=pipeThrough(A,new ZipCryptoEncryptionStream(e)):(f=new AESEncryptionStream(e),A=pipeThrough(A,f))),setReadable(m,A,(()=>{let e;c&&!d&&(e=f.signature),c&&!d||!h||(e=new DataView(p.value.buffer).getUint32(0)),m.signature=e}))}}class InflateStream extends TransformStream{constructor(e,{chunkSize:i,DecompressionStreamZlib:s,DecompressionStream:n}){super({});const{zipCrypto:o,encrypted:c,signed:l,signature:d,compressed:h,useCompressionStream:u,deflate64:m}=e;let p,f,A=super.readable;c&&(o?A=pipeThrough(A,new ZipCryptoDecryptionStream(e)):(f=new AESDecryptionStream(e),A=pipeThrough(A,f))),h&&(A=pipeThroughCommpressionStream(A,u,{chunkSize:i,deflate64:m},n,s,n)),c&&!o||!l||(p=new Crc32Stream,A=pipeThrough(A,p)),setReadable(this,A,(()=>{if((!c||o)&&l){const e=new DataView(p.value.buffer);if(d!=e.getUint32(0,!1))throw new Error(jt)}}))}}function setReadable(e,i,s){i=pipeThrough(i,new TransformStream({flush:s})),Object.defineProperty(e,"readable",{get:()=>i})}function pipeThroughCommpressionStream(e,i,s,n,o,c){const l=i&&n?n:o||c,d=s.deflate64?"deflate64-raw":"deflate-raw";try{e=pipeThrough(e,new l(d,s))}catch(n){if(!i)throw n;if(o)e=pipeThrough(e,new o(d,s));else{if(!c)throw n;e=pipeThrough(e,new c(d,s))}}return e}function pipeThrough(e,i){return e.pipeThrough(i)}const fi="message",Ai="start",wi="pull",bi="data",ki="close",yi="deflate",Bi="inflate";class CodecStream extends TransformStream{constructor(e,i){super({});const s=this,{codecType:n}=e;let o;n.startsWith(yi)?o=DeflateStream:n.startsWith(Bi)&&(o=InflateStream),s.outputSize=0;let c=0;const l=new o(e,i),d=super.readable,h=new TransformStream({transform(e,i){e&&e.length&&(c+=e.length,i.enqueue(e))},flush(){Object.assign(s,{inputSize:c})}}),u=new TransformStream({transform(i,n){if(i&&i.length&&(n.enqueue(i),s.outputSize+=i.length,e.outputSize!==Qt&&s.outputSize>e.outputSize))throw new Error(pi)},flush(){const{signature:e}=l;Object.assign(s,{signature:e,inputSize:c})}});Object.defineProperty(s,"readable",{get:()=>d.pipeThrough(h).pipeThrough(l).pipeThrough(u)})}}class ChunkStream extends TransformStream{constructor(e){let i;super({transform:function transform(s,n){if(i){const e=new Uint8Array(i.length+s.length);e.set(i),e.set(s,i.length),s=e,i=null}s.length>e?(n.enqueue(s.slice(0,e)),transform(s.slice(e),n)):i=s},flush(e){i&&i.length&&e.enqueue(i)}})}}let vi=typeof Worker!=Mt,initModule$1=()=>{};class CodecWorker{constructor(e,{readable:i,writable:s},{options:n,config:o,streamOptions:c,useWebWorkers:l,transferStreams:d,workerURI:h},u){const{signal:m}=c;return Object.assign(e,{busy:!0,readable:i.pipeThrough(new ChunkStream(o.chunkSize)).pipeThrough(new ProgressWatcherStream(c),{signal:m}),writable:s,options:Object.assign({},n),workerURI:h,transferStreams:d,terminate:()=>new Promise((i=>{const{worker:s,busy:n}=e;s?(n?e.resolveTerminated=i:(s.terminate(),i()),e.interface=null):i()})),onTaskFinished(){const{resolveTerminated:i}=e;i&&(e.resolveTerminated=null,e.terminated=!0,e.worker.terminate(),i()),e.busy=!1,u(e)}}),(l&&vi?createWebWorkerInterface:createWorkerInterface)(e,o)}}class ProgressWatcherStream extends TransformStream{constructor({onstart:e,onprogress:i,size:s,onend:n}){let o=0;super({async start(){e&&await callHandler(e,s)},async transform(e,n){o+=e.length,i&&await callHandler(i,o,s),n.enqueue(e)},async flush(){n&&await callHandler(n,o)}})}}async function callHandler(e,...i){try{await e(...i)}catch{}}function createWorkerInterface(e,i){return{run:()=>async function runWorker$1({options:e,readable:i,writable:s,onTaskFinished:n},o){let c;try{if(!e.useCompressionStream)try{await initModule$1(o)}catch{e.useCompressionStream=!0}c=new CodecStream(e,o),await i.pipeThrough(c).pipeTo(s,{preventClose:!0,preventAbort:!0});const{signature:n,inputSize:l,outputSize:d}=c;return{signature:n,inputSize:l,outputSize:d}}catch(e){throw c&&(e.outputSize=c.outputSize),e}finally{n()}}(e,i)}}function createWebWorkerInterface(e,i){const{baseURI:s,chunkSize:n}=i;let{wasmURI:o}=i;if(!e.interface){let c;typeof o==Pt&&(o=o());try{c=function getWebWorker(e,i,s){const n={type:"module"};let o,c;typeof e==Pt&&(e=e());if(e.startsWith("data:")||e.startsWith("blob:"))try{c=new Worker(e)}catch{c=new Worker(e,n)}else{try{o=new URL(e,i)}catch{o=e}c=new Worker(o,n)}return c.addEventListener(fi,(e=>async function onMessage({data:e},i){const{type:s,value:n,messageId:o,result:c,error:l}=e,{reader:d,writer:h,resolveResult:u,rejectResult:m,onTaskFinished:p}=i;try{if(l){const{message:e,stack:i,code:s,name:n,outputSize:o}=l,c=new Error(e);Object.assign(c,{stack:i,code:s,name:n,outputSize:o}),close(c)}else{if(s==wi){const{value:e,done:s}=await d.read();sendMessage({type:bi,value:e,done:s,messageId:o},i)}s==bi&&(await h.ready,await h.write(new Uint8Array(n)),sendMessage({type:"ack",messageId:o},i)),s==ki&&close(null,c)}}catch(l){sendMessage({type:ki,messageId:o},i),close(l)}function close(e,i){e?m(e):u(i),h&&h.releaseLock(),p()}}(e,s))),c}(e.workerURI,s,e)}catch{return vi=!1,createWorkerInterface(e,i)}Object.assign(e,{worker:c,interface:{run:()=>async function runWebWorker(e,i){let s,n;const o=new Promise(((e,i)=>{s=e,n=i}));Object.assign(e,{reader:null,writer:null,resolveResult:s,rejectResult:n,result:o});const{readable:c,options:l}=e,{writable:d,closed:h}=function watchClosedStream(e){let i;const s=new Promise((e=>i=e)),n=new WritableStream({async write(i){const s=e.getWriter();await s.ready,await s.write(i),s.releaseLock()},close(){i()},abort:i=>e.getWriter().abort(i)});return{writable:n,closed:s}}(e.writable),u=sendMessage({type:Ai,options:l,config:i,readable:c,writable:d},e);u||Object.assign(e,{reader:c.getReader(),writer:d.getWriter()});const m=await o;u||await d.getWriter().close();return await h,m}(e,{chunkSize:n,wasmURI:o,baseURI:s})}})}return e.interface}let Ci=!0;function sendMessage(e,{worker:i,writer:s,onTaskFinished:n,transferStreams:o}){try{const{value:s,readable:n,writable:c}=e,l=[];if(s&&(e.value=s,l.push(e.value.buffer)),o&&Ci?(n&&l.push(n),c&&l.push(c)):e.readable=e.writable=null,l.length)try{return i.postMessage(e,l),!0}catch{Ci=!1,e.readable=e.writable=null,i.postMessage(e)}else i.postMessage(e)}catch(e){throw s&&s.releaseLock(),n(),e}}let Ei=[];const Ii=[];let Si=0;async function runWorker(e,i){const{options:s,config:n}=i,{transferStreams:o,useWebWorkers:c,useCompressionStream:l,compressed:d,signed:h,encrypted:u}=s,{workerURI:m,maxWorkers:p}=n;i.transferStreams=o||o===Qt;const f=!(d||h||u||i.transferStreams);return i.useWebWorkers=!f&&(c||c===Qt&&n.useWebWorkers),i.workerURI=i.useWebWorkers&&m?m:Qt,s.useCompressionStream=l||l===Qt&&n.useCompressionStream,(await async function getWorker(){const s=Ei.find((e=>!e.busy));if(s)return clearTerminateTimeout(s),new CodecWorker(s,e,i,onTaskFinished);if(Ei.length<p){const s={indexWorker:Si};return Si++,Ei.push(s),new CodecWorker(s,e,i,onTaskFinished)}return new Promise((s=>Ii.push({resolve:s,stream:e,workerOptions:i})))}()).run();function onTaskFinished(e){if(Ii.length){const[{resolve:i,stream:s,workerOptions:n}]=Ii.splice(0,1);i(new CodecWorker(e,s,n,onTaskFinished))}else e.worker?(clearTerminateTimeout(e),function terminateWorker(e,i){const{config:s}=i,{terminateWorkerTimeout:n}=s;Number.isFinite(n)&&n>=0&&(e.terminated?e.terminated=!1:e.terminateTimeout=setTimeout((async()=>{Ei=Ei.filter((i=>i!=e));try{await e.terminate()}catch{}}),n))}(e,i)):Ei=Ei.filter((i=>i!=e))}}function clearTerminateTimeout(e){const{terminateTimeout:i}=e;i&&(clearTimeout(i),e.terminateTimeout=null)}const xi=65536,Ti="writable";class Stream{constructor(){this.size=0}init(){this.initialized=!0}}class Reader extends Stream{get readable(){const e=this,{chunkSize:i=xi}=e,s=new ReadableStream({start(){this.chunkOffset=0},async pull(n){const{offset:o=0,size:c,diskNumberStart:l}=s,{chunkOffset:d}=this,h=c===Qt?i:Math.min(i,c-d),u=await readUint8Array(e,o+d,h,l);n.enqueue(u),d+i>c||c===Qt&&!u.length&&h?n.close():this.chunkOffset+=i}});return s}}class BlobReader extends Reader{constructor(e){super(),Object.assign(this,{blob:e,size:e.size})}async readUint8Array(e,i){const s=this,n=e+i,o=e||n<s.size?s.blob.slice(e,n):s.blob;let c=await o.arrayBuffer();return c.byteLength>i&&(c=c.slice(e,n)),new Uint8Array(c)}}class BlobWriter extends Stream{constructor(e){super();const i=new TransformStream,s=[];e&&s.push(["Content-Type",e]),Object.defineProperty(this,Ti,{get:()=>i.writable}),this.blob=new Response(i.readable,{headers:s}).blob()}getData(){return this.blob}}class TextReader extends BlobReader{constructor(e){super(new Blob([e],{type:"text/plain"}))}}class TextWriter extends BlobWriter{constructor(e){super(e),Object.assign(this,{encoding:e,utf8:!e||"utf-8"==e.toLowerCase()})}async getData(){const{encoding:e,utf8:i}=this,s=await super.getData();if(s.text&&i)return s.text();{const i=new FileReader;return new Promise(((n,o)=>{Object.assign(i,{onload:({target:e})=>n(e.result),onerror:()=>o(i.error)}),i.readAsText(s,e)}))}}}class SplitDataReader extends Reader{constructor(e){super(),this.readers=e}async init(){const e=this,{readers:i}=e;e.lastDiskNumber=0,e.lastDiskOffset=0,await Promise.all(i.map((async(s,n)=>{await s.init(),n!=i.length-1&&(e.lastDiskOffset+=s.size),e.size+=s.size}))),super.init()}async readUint8Array(e,i,s=0){const n=this,{readers:o}=this;let c,l=s;-1==l&&(l=o.length-1);let d=e;for(;o[l]&&d>=o[l].size;)d-=o[l].size,l++;const h=o[l];if(h){const o=h.size;if(d+i<=o)c=await readUint8Array(h,d,i);else{const l=o-d;c=new Uint8Array(i);const u=await readUint8Array(h,d,l);c.set(u,0);const m=await n.readUint8Array(e+l,i-l,s);c.set(m,l),u.length+m.length<i&&(c=c.subarray(0,u.length+m.length))}}else c=new Uint8Array;return n.lastDiskNumber=Math.max(l,n.lastDiskNumber),c}}class SplitDataWriter extends Stream{constructor(e,i=4294967295){super();const s=this;let n,o,c;Object.assign(s,{diskNumber:0,diskOffset:0,size:0,maxSize:i,availableSize:i});const l=new WritableStream({async write(i){const{availableSize:l}=s;if(c)i.length>=l?(await writeChunk(i.subarray(0,l)),await closeDisk(),s.diskOffset+=n.size,s.diskNumber++,c=null,await this.write(i.subarray(l))):await writeChunk(i);else{const{value:l,done:d}=await e.next();if(d&&!l)throw new Error("Writer iterator completed too soon");n=l,n.size=0,n.maxSize&&(s.maxSize=n.maxSize),s.availableSize=s.maxSize,await initStream(n),o=l.writable,c=o.getWriter(),await this.write(i)}},async close(){await c.ready,await closeDisk()}});async function writeChunk(e){const i=e.length;i&&(await c.ready,await c.write(e),n.size+=i,s.size+=i,s.availableSize-=i)}async function closeDisk(){await c.close()}Object.defineProperty(s,Ti,{get:()=>l})}}class GenericReader{constructor(e){return Array.isArray(e)&&(e=new SplitDataReader(e)),e instanceof ReadableStream&&(e={readable:e}),e}}class GenericWriter{constructor(e){return e.writable===Qt&&typeof e.next==Pt&&(e=new SplitDataWriter(e)),e instanceof WritableStream&&(e={writable:e}),e.size===Qt&&(e.size=0),e instanceof SplitDataWriter||Object.assign(e,{diskNumber:0,diskOffset:0,availableSize:1/0,maxSize:1/0}),e}}async function initStream(e,i){if(!e.init||e.initialized)return Promise.resolve();await e.init(i)}function readUint8Array(e,i,s,n){return e.readUint8Array(i,s,n)}const Di="\0☺☻♥♦♣♠•◘○◙♂♀♪♫☼►◄↕‼¶§▬↨↑↓→←∟↔▲▼ !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~⌂ÇüéâäàåçêëèïîìÄÅÉæÆôöòûùÿÖÜ¢£¥₧ƒáíóúñѪº¿⌐¬½¼¡«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ ".split(""),Fi=256==Di.length;function decodeText(e,i){return i&&"cp437"==i.trim().toLowerCase()?function decodeCP437(e){if(Fi){let i="";for(let s=0;s<e.length;s++)i+=Di[e[s]];return i}return(new TextDecoder).decode(e)}(e):new TextDecoder(i).decode(e)}const Qi="filename",Mi="rawFilename",Pi="comment",Ri="rawComment",zi="uncompressedSize",Ui="compressedSize",Oi="offset",_i="diskNumberStart",Li="lastModDate",Ni="rawLastModDate",Yi="lastAccessDate",Wi="rawLastAccessDate",Hi="creationDate",Gi="rawCreationDate",Vi="internalFileAttributes",Ki="externalFileAttributes",qi="msdosAttributesRaw",ji="msdosAttributes",Ji="msDosCompatible",Xi="zip64",Zi="encrypted",$i="version",ea="versionMadeBy",ta="zipCrypto",ia="directory",aa="executable",ra="compressionMethod",sa="signature",na="extraField",oa="uid",ca="gid",la="unixMode",da="setuid",ha="setgid",ua="sticky",ma=[Qi,Mi,zi,Ui,Li,Ni,Pi,Ri,Yi,Hi,Gi,Oi,_i,Vi,Ki,qi,ji,Ji,Xi,Zi,$i,ea,ta,ia,aa,ra,sa,na,"extraFieldUnix","extraFieldInfoZip","uid","gid",la,da,ha,ua,"bitFlag","filenameUTF8","commentUTF8","rawExtraField","extraFieldZip64","extraFieldUnicodePath","extraFieldUnicodeComment","extraFieldAES","extraFieldNTFS","extraFieldExtendedTimestamp"];class Entry{constructor(e){ma.forEach((i=>this[i]=e[i]))}}const ga="password",pa="rawPassword",fa="passThrough",Aa="signal",wa="useWebWorkers",ba="useCompressionStream",ka="preventClose",ya="encryptionStrength",Ba="extendedTimestamp",va="keepOrder",Ca="level",Ea="bufferedWrite",Ia="dataDescriptorSignature",Sa="useUnicodeFileNames",xa="dataDescriptor",Ta="supportZip64SplitFile",Da="encodeText",Fa="offset",Qa="usdz",Ma="unixExtraFieldType",Pa="File format is not recognized",Ra="Zip64 extra field not found",za="Compression method not supported",Ua="Split zip file",Oa="Overlapping entry found",_a="utf-8",La="cp437",Na=[[zi,rt],[Ui,rt],[Oi,rt],[_i,st]],Ya={[st]:{getValue:getUint32,bytes:4},[rt]:{getValue:getBigUint64,bytes:8}};class ZipReader{constructor(e,i={}){Object.assign(this,{reader:new GenericReader(e),options:i,config:getConfiguration(),readRanges:[]})}async*getEntriesGenerator(e={}){const i=this;let{reader:s}=i;const{config:n}=i;if(await initStream(s),s.size!==Qt&&s.readUint8Array||(s=new BlobReader(await new Response(s.readable).blob()),await initStream(s)),s.size<gt)throw new Error(Pa);s.chunkSize=getChunkSize(n);const o=await async function seekSignature(e,i,s,n,o){const c=new Uint8Array(4);!function setUint32$1(e,i,s){e.setUint32(i,s,!0)}(getDataView$1(c),0,i);const l=n+o;return await seek(n)||await seek(Math.min(l,s));async function seek(i){const o=s-i,l=await readUint8Array(e,o,i);for(let e=l.length-n;e>=0;e--)if(l[e]==c[0]&&l[e+1]==c[1]&&l[e+2]==c[2]&&l[e+3]==c[3])return{offset:o+e,buffer:l.slice(e,e+n).buffer}}}(s,ht,s.size,gt,1048560);if(!o){throw getUint32(getDataView$1(await readUint8Array(s,0,4)))==ct?new Error(Ua):new Error("End of central directory not found")}const c=getDataView$1(o);let l=getUint32(c,12),d=getUint32(c,16);const h=o.offset,u=getUint16(c,20),m=h+gt+u;let p=getUint16(c,4);const f=s.lastDiskNumber||0;let A=getUint16(c,6),w=getUint16(c,8),b=0,k=0;if(d==rt||l==rt||w==st||A==st){const e=getDataView$1(await readUint8Array(s,o.offset-20,20));if(getUint32(e,0)==mt){d=getBigUint64(e,8);let i=await readUint8Array(s,d,56,-1),n=getDataView$1(i);const c=o.offset-20-56;if(getUint32(n,0)!=ut&&d!=c){const e=d;d=c,d>e&&(b=d-e),i=await readUint8Array(s,d,56,-1),n=getDataView$1(i)}if(getUint32(n,0)!=ut)throw new Error("End of Zip64 central directory locator not found");p==st&&(p=getUint32(n,16)),A==st&&(A=getUint32(n,20)),w==st&&(w=getBigUint64(n,32)),l==rt&&(l=getBigUint64(n,40)),d-=l}}if(d>=s.size&&(b=s.size-d-l-gt,d=s.size-l-gt),f!=p)throw new Error(Ua);if(d<0)throw new Error(Pa);let y=0,B=await readUint8Array(s,d,l,A),v=getDataView$1(B);if(l){const e=o.offset-l;if(getUint32(v,y)!=dt&&d!=e){const i=d;d=e,d>i&&(b+=d-i),B=await readUint8Array(s,d,l,A),v=getDataView$1(B)}}const C=o.offset-d-(s.lastDiskOffset||0);if(l!=C&&C>=0&&(l=C,B=await readUint8Array(s,d,l,A),v=getDataView$1(B)),d<0||d>=s.size)throw new Error(Pa);const E=getOptionValue$1(i,e,"filenameEncoding"),S=getOptionValue$1(i,e,"commentEncoding");for(let o=0;o<w;o++){const c=new ZipEntry(s,n,i.options);if(getUint32(v,y)!=dt)throw new Error("Central directory header not found");readCommonHeader(c,v,y+6);const l=Boolean(c.bitFlag.languageEncodingFlag),d=y+46,h=d+c.filenameLength,u=h+c.extraFieldLength,m=getUint16(v,y+4),p=!(m>>8),f=m>>8==3,A=B.subarray(d,h),C=getUint16(v,y+32),x=u+C,T=B.subarray(u,x),D=l,F=l,Q=getUint32(v,y+38),M=Q&nt,P={readOnly:Boolean(1&M),hidden:Boolean(2&M),system:Boolean(4&M),directory:Boolean(16&M),archive:Boolean(32&M)},R=getUint32(v,y+42)+b,z=getOptionValue$1(i,e,"decodeText")||decodeText,U=D?_a:E||La,O=F?_a:S||La;let _=z(A,U);_===Qt&&(_=decodeText(A,U));let L=z(T,O);L===Qt&&(L=decodeText(T,O)),Object.assign(c,{versionMadeBy:m,msDosCompatible:p,compressedSize:0,uncompressedSize:0,commentLength:C,offset:R,diskNumberStart:getUint16(v,y+34),internalFileAttributes:getUint16(v,y+36),externalFileAttributes:Q,msdosAttributesRaw:M,msdosAttributes:P,rawFilename:A,filenameUTF8:D,commentUTF8:F,rawExtraField:B.subarray(h,u),rawComment:T,filename:_,comment:L}),k=Math.max(R,k),readCommonFooter(c,c,v,y+6);const N=c.externalFileAttributes>>16&st;c.unixMode===Qt&&16877&N&&(c.unixMode=N);const Y=Boolean(c.unixMode&vt),W=Boolean(c.unixMode&Ct),H=Boolean(c.unixMode&Et),G=c.unixMode!==Qt?!!(73&c.unixMode):f&&!!(73&N),V=c.unixMode!==Qt&&(61440&c.unixMode)==Bt,K=(61440&N)==Bt;Object.assign(c,{setuid:Y,setgid:W,sticky:H,unixExternalUpper:N,internalFileAttribute:c.internalFileAttributes,externalFileAttribute:c.externalFileAttributes,executable:G,directory:V||K||p&&P.directory||_.endsWith(It)&&!c.uncompressedSize,zipCrypto:c.encrypted&&!c.extraFieldAES});const q=new Entry(c);q.getData=(e,s)=>c.getData(e,q,i.readRanges,s),q.arrayBuffer=async e=>{const s=new TransformStream,[n]=await Promise.all([new Response(s.readable).arrayBuffer(),c.getData(s,q,i.readRanges,e)]);return n},y=x;const{onprogress:j}=e;if(j)try{await j(o+1,w,new Entry(c))}catch{}yield q}const x=getOptionValue$1(i,e,"extractPrependedData"),T=getOptionValue$1(i,e,"extractAppendedData");return x&&(i.prependedData=k>0?await readUint8Array(s,0,k):new Uint8Array),i.comment=u?await readUint8Array(s,h+gt,u):new Uint8Array,T&&(i.appendedData=m<s.size?await readUint8Array(s,m,s.size-m):new Uint8Array),!0}async getEntries(e={}){const i=[];for await(const s of this.getEntriesGenerator(e))i.push(s);return i}async close(){}}class ZipEntry{constructor(e,i,s){Object.assign(this,{reader:e,config:i,options:s})}async getData(e,i,s,n={}){const o=this,{reader:c,offset:l,diskNumberStart:d,extraFieldAES:h,extraFieldZip64:u,compressionMethod:m,config:p,bitFlag:f,signature:A,rawLastModDate:w,uncompressedSize:b,compressedSize:k}=o,{dataDescriptor:y}=f,B=i.localDirectory={},v=getDataView$1(await readUint8Array(c,l,St,d));let C=getOptionValue$1(o,n,ga),E=getOptionValue$1(o,n,pa);const S=getOptionValue$1(o,n,fa);if(C=C&&C.length&&C,E=E&&E.length&&E,h&&99!=h.originalCompressionMethod)throw new Error(za);if(0!=m&&8!=m&&9!=m&&!S)throw new Error(za);if(getUint32(v,0)!=ot)throw new Error("Local file header not found");readCommonHeader(B,v,4);const{extraFieldLength:x,filenameLength:T,lastAccessDate:D,creationDate:F}=B;B.rawExtraField=x?await readUint8Array(c,l+St+T,x,d):new Uint8Array,readCommonFooter(o,B,v,4,!0),Object.assign(i,{lastAccessDate:D,creationDate:F});const Q=o.encrypted&&B.encrypted&&!S,M=Q&&!h;if(S||(i.zipCrypto=M),Q){if(!M&&h.strength===Qt)throw new Error("Encryption method not supported");if(!C&&!E)throw new Error("File contains encrypted entry")}const P=l+St+T+x,R=k,z=c.readable;Object.assign(z,{diskNumberStart:d,offset:P,size:R});const U=getOptionValue$1(o,n,Aa),O=getOptionValue$1(o,n,"checkPasswordOnly");let _=getOptionValue$1(o,n,"checkOverlappingEntry");const L=getOptionValue$1(o,n,"checkOverlappingEntryOnly");L&&(_=!0);const{onstart:N,onprogress:Y,onend:W}=n,H=9==m;let G=getOptionValue$1(o,n,ba);H&&(G=!1);const V={options:{codecType:Bi,password:C,rawPassword:E,zipCrypto:M,encryptionStrength:h&&h.strength,signed:getOptionValue$1(o,n,"checkSignature")&&!S,passwordVerification:M&&(y?w>>>8&nt:A>>>24&nt),outputSize:S?k:b,signature:A,compressed:0!=m&&!S,encrypted:o.encrypted&&!S,useWebWorkers:getOptionValue$1(o,n,wa),useCompressionStream:G,transferStreams:getOptionValue$1(o,n,"transferStreams"),deflate64:H,checkPasswordOnly:O},config:p,streamOptions:{signal:U,size:R,onstart:N,onprogress:Y,onend:W}};let K;_&&await async function detectOverlappingEntry({reader:e,fileEntry:i,offset:s,diskNumberStart:n,signature:o,compressedSize:c,uncompressedSize:l,dataOffset:d,dataDescriptor:h,extraFieldZip64:u,readRanges:m}){let p=0;if(n)for(let i=0;i<n;i++){p+=e.readers[i].size}let f=0;h&&(f=u?20:12);if(f){const s=await readUint8Array(e,d+c,f+4,n);if(getUint32(getDataView$1(s),0)==lt){const e=getUint32(getDataView$1(s),4);let n,d;u?(n=getBigUint64(getDataView$1(s),8),d=getBigUint64(getDataView$1(s),16)):(n=getUint32(getDataView$1(s),8),d=getUint32(getDataView$1(s),12));(i.encrypted&&!i.zipCrypto||e==o)&&n==c&&d==l&&(f+=4)}}const A={start:p+s,end:p+d+c+f,fileEntry:i};for(const e of m)if(e.fileEntry!=i&&A.start>=e.start&&A.start<e.end){const i=new Error(Oa);throw i.overlappingEntry=e.fileEntry,i}m.push(A)}({reader:c,fileEntry:i,offset:l,diskNumberStart:d,signature:A,compressedSize:k,uncompressedSize:b,dataOffset:P,dataDescriptor:y||B.bitFlag.dataDescriptor,extraFieldZip64:u||B.extraFieldZip64,readRanges:s});try{if(!L){O&&(e=new WritableStream),e=new GenericWriter(e),await initStream(e,S?k:b),({writable:K}=e);const{outputSize:i}=await runWorker({readable:z,writable:K},V);if(e.size+=i,i!=(S?k:b))throw new Error(pi)}}catch(i){if(i.outputSize!==Qt&&(e.size+=i.outputSize),!O||i.message!=Jt)throw i}finally{getOptionValue$1(o,n,ka)||!K||K.locked||await K.getWriter().close()}return O||L?Qt:e.getData?e.getData():K}}function readCommonHeader(e,i,s){const n=e.rawBitFlag=getUint16(i,s+2),o=!(1&~n),c=getUint32(i,s+6);Object.assign(e,{encrypted:o,version:getUint16(i,s),bitFlag:{level:(6&n)>>1,dataDescriptor:!(8&~n),languageEncodingFlag:(n&kt)==kt},rawLastModDate:c,lastModDate:getDate(c),filenameLength:getUint16(i,s+22),extraFieldLength:getUint16(i,s+24)})}function readCommonFooter(e,i,s,n,o){const{rawExtraField:c}=i,l=i.extraField=new Map,d=getDataView$1(new Uint8Array(c));let h=0;try{for(;h<c.length;){const e=getUint16(d,h),i=getUint16(d,h+2);l.set(e,{type:e,data:c.slice(h+4,h+4+i)}),h+=4+i}}catch{}const u=getUint16(s,n+4);Object.assign(i,{signature:getUint32(s,n+10),compressedSize:getUint32(s,n+xt),uncompressedSize:getUint32(s,n+Tt)});const m=l.get(1);m&&(!function readExtraFieldZip64(e,i){i.zip64=!0;const s=getDataView$1(e.data),n=Na.filter((([e,s])=>i[e]==s));for(let o=0,c=0;o<n.length;o++){const[l,d]=n[o];if(i[l]==d){const n=Ya[d];i[l]=e[l]=n.getValue(s,c),c+=n.bytes}else if(e[l])throw new Error(Ra)}}(m,i),i.extraFieldZip64=m);const p=l.get(28789);p&&(readExtraFieldUnicode(p,Qi,Mi,i,e),i.extraFieldUnicodePath=p);const f=l.get(25461);f&&(readExtraFieldUnicode(f,Pi,Ri,i,e),i.extraFieldUnicodeComment=f);const A=l.get(39169);A?(!function readExtraFieldAES(e,i,s){const n=getDataView$1(e.data),o=getUint8(n,4);Object.assign(e,{vendorVersion:getUint8(n,0),vendorId:getUint8(n,2),strength:o,originalCompressionMethod:s,compressionMethod:getUint16(n,5)}),i.compressionMethod=e.compressionMethod}(A,i,u),i.extraFieldAES=A):i.compressionMethod=u;const w=l.get(10);w&&(!function readExtraFieldNTFS(e,i){const s=getDataView$1(e.data);let n,o=4;try{for(;o<e.data.length&&!n;){const i=getUint16(s,o),c=getUint16(s,o+2);1==i&&(n=e.data.slice(o+4,o+4+c)),o+=4+c}}catch{}try{if(n&&24==n.length){const s=getDataView$1(n),o=s.getBigUint64(0,!0),c=s.getBigUint64(8,!0),l=s.getBigUint64(16,!0);Object.assign(e,{rawLastModDate:o,rawLastAccessDate:c,rawCreationDate:l});const d=getDateNTFS(o),h=getDateNTFS(c),u={lastModDate:d,lastAccessDate:h,creationDate:getDateNTFS(l)};Object.assign(e,u),Object.assign(i,u)}}catch{}}(w,i),i.extraFieldNTFS=w);const b=l.get(30805);if(b)readExtraFieldUnix(b,i,!1),i.extraFieldUnix=b;else{const e=l.get(30837);e&&(readExtraFieldUnix(e,i,!0),i.extraFieldInfoZip=e)}const k=l.get(ft);k&&(!function readExtraFieldExtendedTimestamp(e,i,s){const n=getDataView$1(e.data),o=getUint8(n,0),c=[],l=[];s?(1&~o||(c.push(Li),l.push(Ni)),2&~o||(c.push(Yi),l.push(Wi)),4&~o||(c.push(Hi),l.push(Gi))):e.data.length>=5&&(c.push(Li),l.push(Ni));let d=1;c.forEach(((s,o)=>{if(e.data.length>=d+4){const c=getUint32(n,d);i[s]=e[s]=new Date(1e3*c);const h=l[o];e[h]=c}d+=4}))}(k,i,o),i.extraFieldExtendedTimestamp=k);const y=l.get(6534);y&&(i.extraFieldUSDZ=y)}function readExtraFieldUnicode(e,i,s,n,o){const c=getDataView$1(e.data),l=new Crc32;l.append(o[s]);const d=getDataView$1(new Uint8Array(4));d.setUint32(0,l.get(),!0);const h=getUint32(c,1);Object.assign(e,{version:getUint8(c,0),[i]:decodeText(e.data.subarray(5)),valid:!o.bitFlag.languageEncodingFlag&&h==getUint32(d,0)}),e.valid&&(n[i]=e[i],n[i+"UTF8"]=!0)}function readExtraFieldUnix(e,i,s){try{const n=getDataView$1(new Uint8Array(e.data));let o=0;const c=getUint8(n,o++),l=getUint8(n,o++),d=e.data.subarray(o,o+l);o+=l;const h=unpackUnixId(d),u=getUint8(n,o++),m=e.data.subarray(o,o+u);o+=u;const p=unpackUnixId(m);let f=Qt;if(!s&&o+2<=e.data.length){const i=e.data;f=new DataView(i.buffer,i.byteOffset+o,2).getUint16(0,!0)}Object.assign(e,{version:c,uid:h,gid:p,unixMode:f}),h!==Qt&&(i.uid=h),p!==Qt&&(i.gid=p),f!==Qt&&(i.unixMode=f)}catch{}}function unpackUnixId(e){const i=new Uint8Array(4);i.set(e,0);return new DataView(i.buffer,i.byteOffset,4).getUint32(0,!0)}function getOptionValue$1(e,i,s){return i[s]===Qt?e.options[s]:i[s]}function getDate(e){const i=(4294901760&e)>>16,s=e&st;try{return new Date(1980+((65024&i)>>9),((480&i)>>5)-1,31&i,(63488&s)>>11,(2016&s)>>5,2*(31&s),0)}catch{}}function getDateNTFS(e){return new Date(Number(e/BigInt(1e4)-BigInt(116444736e5)))}function getUint8(e,i){return e.getUint8(i)}function getUint16(e,i){return e.getUint16(i,!0)}function getUint32(e,i){return e.getUint32(i,!0)}function getBigUint64(e,i){return Number(e.getBigUint64(i,!0))}function getDataView$1(e){return new DataView(e.buffer)}const Wa="Zip file comment exceeds 64KB",Ha="File entry comment exceeds 64KB",Ga="File entry name exceeds 64KB",Va="Version exceeds 65535",Ka="The strength must equal 1, 2, or 3",qa="Extra field type exceeds 65535",ja="Extra field data exceeds 64KB",Ja="Zip64 is not supported (make sure 'keepOrder' is set to 'true')",Xa="Undefined uncompressed size",Za="Invalid uid (must be integer 0..2^32-1)",$a="Invalid gid (must be integer 0..2^32-1)",er="Invalid UNIX mode (must be integer 0..65535)",tr="Invalid unixExtraFieldType (must be 'infozip' or 'unix')",ir="Invalid msdosAttributesRaw (must be integer 0..255)",ar="Invalid msdosAttributes (must be an object with boolean flags)",rr=new Uint8Array([7,0,2,0,65,69,3,0,0]),sr="infozip",nr="unix";let or=0;const cr=[];class ZipWriter{constructor(e,i={}){const s=(e=new GenericWriter(e)).availableSize!==Qt&&e.availableSize>0&&e.availableSize!==1/0&&e.maxSize!==Qt&&e.maxSize>0&&e.maxSize!==1/0;Object.assign(this,{writer:e,addSplitZipSignature:s,options:i,config:getConfiguration(),files:new Map,filenames:new Set,offset:i[Fa]===Qt?e.size||e.writable.size||0:i[Fa],pendingEntriesSize:0,pendingAddFileCalls:new Set,bufferedWrites:0})}async prependZip(e){if(this.filenames.size)throw new Error("Zip file not empty");e=new GenericReader(e);const i=new ZipReader(e.readable),s=await i.getEntries();await i.close(),await e.readable.pipeTo(this.writer.writable,{preventClose:!0,preventAbort:!0}),this.writer.size=this.offset=e.size,this.filenames=new Set(s.map((e=>e.filename))),this.files=new Map(s.map((e=>{const{version:i,compressionMethod:s,lastModDate:n,lastAccessDate:o,creationDate:c,rawFilename:l,bitFlag:d,encrypted:h,uncompressedSize:u,compressedSize:m,diskOffset:p,diskNumber:f,zip64:A}=e;let{rawExtraFieldZip64:w,rawExtraFieldAES:b,rawExtraFieldExtendedTimestamp:k,rawExtraFieldNTFS:y,rawExtraFieldUnix:B,rawExtraField:v}=e;const{level:C,languageEncodingFlag:E,dataDescriptor:S}=d;w=w||new Uint8Array,b=b||new Uint8Array,k=k||new Uint8Array,y=y||new Uint8Array,B=e.rawExtraFieldUnix||new Uint8Array,v=v||new Uint8Array;const x=getLength(w,b,k,y,B,v),T=A&&u>rt,D=A&&m>rt,{headerArray:F,headerView:Q}=getHeaderArrayData({version:i,bitFlag:getBitFlag(C,E,S,h,s),compressionMethod:s,uncompressedSize:u,compressedSize:m,lastModDate:n,rawFilename:l,zip64CompressedSize:D,zip64UncompressedSize:T,extraFieldLength:x});return Object.assign(e,{zip64UncompressedSize:T,zip64CompressedSize:D,zip64Offset:A&&this.offset-p>rt,zip64DiskNumberStart:A&&f>st,rawExtraFieldZip64:w,rawExtraFieldAES:b,rawExtraFieldExtendedTimestamp:k,rawExtraFieldNTFS:y,rawExtraFieldUnix:B,rawExtraField:v,extendedTimestamp:k.length>0||y.length>0,extraFieldExtendedTimestampFlag:1+(o?2:0)+(c?4:0),headerArray:F,headerView:Q}),[e.filename,e]})))}async add(e="",i,s={}){const n=this,{pendingAddFileCalls:o,config:c}=n;let l;or<c.maxWorkers?or++:await new Promise((e=>cr.push(e)));try{if(e=e.trim(),n.filenames.has(e))throw new Error("File already exists");return n.filenames.add(e),l=async function addFile(e,i,s,n){i=i.trim();let o=getOptionValue(e,n,Ji),c=getOptionValue(e,n,ea,o?20:768);const l=getOptionValue(e,n,aa),d=getOptionValue(e,n,oa),h=getOptionValue(e,n,ca);let u=getOptionValue(e,n,la);const m=getOptionValue(e,n,Ma);let p=getOptionValue(e,n,da),f=getOptionValue(e,n,ha),A=getOptionValue(e,n,ua);if(d!==Qt&&(d<0||d>rt))throw new Error(Za);if(h!==Qt&&(h<0||h>rt))throw new Error($a);if(u!==Qt&&(u<0||u>st))throw new Error(er);if(m!==Qt&&m!==sr&&m!==nr)throw new Error(tr);let w=getOptionValue(e,n,qi),b=getOptionValue(e,n,ji);const k=w!==Qt||b!==Qt;d!==Qt||h!==Qt||u!==Qt||m?(o=!1,c=c&st|768):k&&(o=!0,c&=nt);if(w!==Qt&&(w<0||w>nt))throw new Error(ir);if(b&&typeof b!==Rt)throw new Error(ar);if(c>st)throw new Error(Va);let y=getOptionValue(e,n,Ki,0);!n[ia]&&i.endsWith(It)&&(n[ia]=!0);const B=getOptionValue(e,n,ia);B?(i.endsWith(It)||(i+=It),0===y&&(y=yt,o||(y|=16877<<16))):o||0!==y||(y=l?493<<16:27525120);let v;o||(v=y>>16&st,u=u===Qt?v:u&st,p?u|=vt:p=Boolean(u&vt),f?u|=Ct:f=Boolean(u&Ct),A?u|=Et:A=Boolean(u&Et),B&&(u|=Bt),y=(u&st)<<16|y&nt);({msdosAttributesRaw:w,msdosAttributes:b}=function normalizeMsdosAttributes(e,i){if(e!==Qt)e&=nt;else if(i!==Qt){const{readOnly:s,hidden:n,system:o,directory:c,archive:l}=i;let d=0;s&&(d|=1),n&&(d|=2),o&&(d|=4),c&&(d|=yt),l&&(d|=32),e=d&nt}i===Qt&&(i={readOnly:Boolean(1&e),hidden:Boolean(2&e),system:Boolean(4&e),directory:Boolean(e&yt),archive:Boolean(32&e)});return{msdosAttributesRaw:e,msdosAttributes:i}}(w,b)),k&&(y=y&rt|w&nt);const C=getOptionValue(e,n,Da,encodeText);let E=C(i);E===Qt&&(E=encodeText(i));if(getLength(E)>st)throw new Error(Ga);const S=n[Pi]||"";let x=C(S);x===Qt&&(x=encodeText(S));if(getLength(x)>st)throw new Error(Ha);const T=getOptionValue(e,n,$i,20);if(T>st)throw new Error(Va);const D=getOptionValue(e,n,Li,new Date),F=getOptionValue(e,n,Yi),Q=getOptionValue(e,n,Hi),M=getOptionValue(e,n,Vi,0),P=getOptionValue(e,n,fa);let R,z;P||(R=getOptionValue(e,n,ga),z=getOptionValue(e,n,pa));const U=getOptionValue(e,n,ya,3),O=getOptionValue(e,n,ta),_=getOptionValue(e,n,Ba,!0),L=getOptionValue(e,n,va,!0),N=getOptionValue(e,n,wa),Y=getOptionValue(e,n,Ea),W=getOptionValue(e,n,Ia,!1),H=getOptionValue(e,n,Aa),G=getOptionValue(e,n,Sa,!0),V=getOptionValue(e,n,ra);let K=getOptionValue(e,n,Ca),q=getOptionValue(e,n,ba),j=getOptionValue(e,n,xa);Y&&j===Qt&&(j=!1);(j===Qt||O)&&(j=!0);K!==Qt&&6!=K&&(q=!1);q||e.config.CompressionStream!==Qt||e.config.CompressionStreamZlib!==Qt||(K=0);let J=getOptionValue(e,n,Xi);if(!(O||R===Qt&&z===Qt||U>=1&&U<=3))throw new Error(Ka);let X=new Uint8Array;const Z=n[na];if(Z){let e=0,i=0;Z.forEach((i=>e+=4+getLength(i))),X=new Uint8Array(e),Z.forEach(((e,s)=>{if(s>st)throw new Error(qa);if(getLength(e)>st)throw new Error(ja);arraySet(X,new Uint16Array([s]),i),arraySet(X,new Uint16Array([getLength(e)]),i+2),arraySet(X,e,i+4),i+=4+getLength(e)}))}let $=0,ee=0,te=0;if(P&&(te=n[zi],te===Qt))throw new Error(Xa);const ie=!0===J;s&&(s=new GenericReader(s),await initStream(s),P?(n.uncompressedSize=te,$=getMaximumCompressedSize(te)):s.size===Qt?(j=!0,(J||J===Qt)&&(J=!0,te=$=4294967296)):(n.uncompressedSize=te=s.size,$=getMaximumCompressedSize(te)));const{diskOffset:ae,diskNumber:re,maxSize:se}=e.writer,ne=ie||te>rt,oe=ie||$>rt,ce=ie||e.offset+e.pendingEntriesSize-ae>rt,le=getOptionValue(e,n,Ta,!0),de=le&&ie||re+Math.ceil(e.pendingEntriesSize/se)>st;if(ce||ne||oe||de){if(!1===J||!L)throw new Error(Ja);J=!0}J=J||!1;const he=getOptionValue(e,n,Zi);n=Object.assign({},n,{rawFilename:E,rawComment:x,version:T,versionMadeBy:c,lastModDate:D,lastAccessDate:F,creationDate:Q,rawExtraField:X,zip64:J,zip64UncompressedSize:ne,zip64CompressedSize:oe,zip64Offset:ce,zip64DiskNumberStart:de,password:R,rawPassword:z,level:K,useWebWorkers:N,encryptionStrength:U,extendedTimestamp:_,zipCrypto:O,bufferedWrite:Y,keepOrder:L,useUnicodeFileNames:G,dataDescriptor:j,dataDescriptorSignature:W,signal:H,msDosCompatible:o,internalFileAttribute:M,internalFileAttributes:M,externalFileAttribute:y,externalFileAttributes:y,useCompressionStream:q,passThrough:P,encrypted:Boolean(R&&getLength(R)||z&&getLength(z))||P&&he,signature:n[sa],compressionMethod:V,uncompressedSize:te,offset:e.offset-ae,diskNumberStart:re,uid:d,gid:h,setuid:p,setgid:f,sticky:A,unixMode:u,msdosAttributesRaw:w,msdosAttributes:b,unixExternalUpper:v});const ue=function getHeaderInfo(e){const{rawFilename:i,lastModDate:s,lastAccessDate:n,creationDate:o,level:c,zip64:l,zipCrypto:d,useUnicodeFileNames:h,dataDescriptor:u,directory:m,rawExtraField:p,encryptionStrength:f,extendedTimestamp:A,passThrough:w,encrypted:b,zip64UncompressedSize:k,zip64CompressedSize:y,zip64Offset:B,zip64DiskNumberStart:v,uncompressedSize:C,offset:E,diskNumberStart:S}=e;let{version:x,compressionMethod:T}=e;const D=!m&&(c>0||c===Qt&&0!==T);let F,Q;const M=w||!D,P=l&&(e.bufferedWrite||!k&&!y||M);if(l){let e=4,i=4;k&&(e+=8,i+=8),y&&(e+=8,i+=8),B&&(e+=8),v&&(e+=4),F=new Uint8Array(e);const s=getDataView(F);Q=new Uint8Array(i);const n=getDataView(Q);if(setUint16(s,0,1),setUint16(s,2,getLength(F)-4),setUint16(n,0,1),setUint16(n,2,getLength(Q)-4),P){const e=getDataView(F),i=getDataView(Q);let s=4,n=4;k&&(setBigUint64(e,s,BigInt(C)),s+=8,setBigUint64(i,n,BigInt(C)),n+=8),y&&M&&(setBigUint64(e,s,BigInt(C)),s+=8,setBigUint64(i,n,BigInt(C)),n+=8),B&&(setBigUint64(e,s,BigInt(E)),s+=8),v&&(setUint32(e,s,S),s+=4),4==n&&(Q=new Uint8Array)}}else F=new Uint8Array,Q=new Uint8Array;let R,z,U,O,_;if(b&&!d){R=new Uint8Array(getLength(rr)+2);const e=getDataView(R);setUint16(e,0,pt),arraySet(R,rr,2),setUint8(e,8,f)}else R=new Uint8Array;if(A){U=new Uint8Array(9+(n?4:0)+(o?4:0));const e=getDataView(U);setUint16(e,0,ft),setUint16(e,2,getLength(U)-4),O=1+(n?2:0)+(o?4:0),setUint8(e,4,O);let i=5;setUint32(e,i,Math.floor(s.getTime()/1e3)),i+=4,n&&(setUint32(e,i,Math.floor(n.getTime()/1e3)),i+=4),o&&setUint32(e,i,Math.floor(o.getTime()/1e3));try{z=new Uint8Array(36);const e=getDataView(z),i=getTimeNTFS(s);setUint16(e,0,10),setUint16(e,2,32),setUint16(e,8,1),setUint16(e,10,24),setBigUint64(e,12,i),setBigUint64(e,20,getTimeNTFS(n)||i),setBigUint64(e,28,getTimeNTFS(o)||i)}catch{z=new Uint8Array}}else z=U=new Uint8Array;try{const{uid:i,gid:s,unixMode:n,setuid:o,setgid:c,sticky:l,unixExtraFieldType:d}=e;if(!d||i===Qt&&s===Qt&&n===Qt)_=new Uint8Array;else{const e=packUnixId(i),h=packUnixId(s);let u=new Uint8Array;if(d==nr&&n!==Qt){let e=n&st;o&&(e|=vt),c&&(e|=Ct),l&&(e|=Et),u=new Uint8Array(2);new DataView(u.buffer).setUint16(0,e,!0)}const m=3+e.length+h.length+u.length;_=new Uint8Array(4+m);const p=getDataView(_);setUint16(p,0,d==sr?wt:bt),setUint16(p,2,m),setUint8(p,4,1),setUint8(p,5,e.length);let f=6;arraySet(_,e,f),f+=e.length,setUint8(p,f,h.length),f++,arraySet(_,h,f),f+=h.length,arraySet(_,u,f)}}catch{_=new Uint8Array}T===Qt&&(T=D?8:0);l&&(x=x>45?x:45);b&&!d&&(x=x>51?x:51,R[9]=T,T=99);const L=P?getLength(Q):0,N=L+getLength(R,U,z,_,p),{headerArray:Y,headerView:W,rawLastModDate:H}=getHeaderArrayData({version:x,bitFlag:getBitFlag(c,h,u,b,T),compressionMethod:T,uncompressedSize:C,lastModDate:s<Ft?Ft:s>Dt?Dt:s,rawFilename:i,zip64CompressedSize:y,zip64UncompressedSize:k,extraFieldLength:N});let G=St;const V=new Uint8Array(G+getLength(i)+N),K=getDataView(V);setUint32(K,0,ot),arraySet(V,Y,4),arraySet(V,i,G),G+=getLength(i),P&&arraySet(V,Q,G);G+=L,arraySet(V,R,G),G+=getLength(R),arraySet(V,U,G),G+=getLength(U),arraySet(V,z,G),G+=getLength(z),arraySet(V,_,G),G+=getLength(_),arraySet(V,p,G),u&&(setUint32(K,18,0),setUint32(K,22,0));return{localHeaderArray:V,localHeaderView:K,headerArray:Y,headerView:W,lastModDate:s,rawLastModDate:H,encrypted:b,compressed:D,version:x,compressionMethod:T,extraFieldExtendedTimestampFlag:O,rawExtraFieldZip64:F,localExtraFieldZip64Length:L,rawExtraFieldExtendedTimestamp:U,rawExtraFieldNTFS:z,rawExtraFieldUnix:_,rawExtraFieldAES:R,extraFieldLength:N}}(n),me=function getDataDescriptorInfo({zip64:e,dataDescriptor:i,dataDescriptorSignature:s}){let n,o=new Uint8Array,c=0,l=e?20:12;s&&(l+=4);i&&(o=new Uint8Array(l),n=getDataView(o),s&&(c=4,setUint32(n,0,lt)));return{dataDescriptorArray:o,dataDescriptorView:n,dataDescriptorOffset:c}}(n),ge=getLength(ue.localHeaderArray,me.dataDescriptorArray);ee=ge+$,e.options[Qa]&&(ee+=ee+64);let pe;e.pendingEntriesSize+=ee;try{pe=await async function getFileEntry(e,i,s,n,o){const{files:c,writer:l}=e,{keepOrder:d,dataDescriptor:h,signal:u}=o,{headerInfo:m}=n,p=e.options[Qa],f=Array.from(c.values()).pop();let A,w,b,k,y,B,v,C={};c.set(i,C);try{let w;d&&(w=f&&f.lock,requestLockCurrentFileEntry()),!(o.bufferedWrite||e.writerLocked||e.bufferedWrites&&d)&&h||p?(B=l,await requestLockWriter()):(B=new TransformStream,B.size=0,A=!0,e.bufferedWrites++,await initStream(l)),await initStream(B);const{writable:b,diskOffset:E}=l;if(e.addSplitZipSignature){delete e.addSplitZipSignature;const i=new Uint8Array(4);setUint32(getDataView(i),0,ct),await writeData(l,i),e.offset+=4}p&&function appendExtraFieldUSDZ(e,i){const{headerInfo:s}=e;let{localHeaderArray:n,extraFieldLength:o}=s,c=getDataView(n),l=64-(i+getLength(n))%64;l<4&&(l+=64);const d=new Uint8Array(l),h=getDataView(d);setUint16(h,0,At),setUint16(h,2,l-2);const u=n;s.localHeaderArray=n=new Uint8Array(getLength(u)+l),arraySet(n,u),arraySet(n,d,getLength(u)),c=getDataView(n),setUint16(c,28,o+l),e.metadataSize+=l}(n,e.offset-E);const{localHeaderView:S,localHeaderArray:x}=m;A||(await w,await skipDiskIfNeeded(b));const{diskNumber:T}=l;y=!0,C.diskNumberStart=T,A?v=new Response(B.readable).blob():await writeData(B,x),C=await async function createFileEntry(e,i,{diskNumberStart:s,lock:n},o,c,l){const{headerInfo:d,dataDescriptorInfo:h,metadataSize:u}=o,{headerArray:m,headerView:p,lastModDate:f,rawLastModDate:A,encrypted:w,compressed:b,version:k,compressionMethod:y,rawExtraFieldZip64:B,localExtraFieldZip64Length:v,rawExtraFieldExtendedTimestamp:C,extraFieldExtendedTimestampFlag:E,rawExtraFieldNTFS:S,rawExtraFieldUnix:x,rawExtraFieldAES:T}=d,{dataDescriptorArray:D}=h,{rawFilename:F,lastAccessDate:Q,creationDate:M,password:P,rawPassword:R,level:z,zip64:U,zip64UncompressedSize:O,zip64CompressedSize:_,zip64Offset:L,zip64DiskNumberStart:N,zipCrypto:Y,dataDescriptor:W,directory:H,executable:G,versionMadeBy:V,rawComment:K,rawExtraField:q,useWebWorkers:j,onstart:J,onprogress:X,onend:Z,signal:$,encryptionStrength:ee,extendedTimestamp:te,msDosCompatible:ie,internalFileAttributes:ae,externalFileAttributes:re,uid:se,gid:ne,unixMode:oe,setuid:ce,setgid:le,sticky:de,unixExternalUpper:he,msdosAttributesRaw:ue,msdosAttributes:me,useCompressionStream:ge,passThrough:pe}=l,fe={lock:n,versionMadeBy:V,zip64:U,directory:Boolean(H),executable:Boolean(G),filenameUTF8:!0,rawFilename:F,commentUTF8:!0,rawComment:K,rawExtraFieldZip64:B,localExtraFieldZip64Length:v,rawExtraFieldExtendedTimestamp:C,rawExtraFieldNTFS:S,rawExtraFieldUnix:x,rawExtraFieldAES:T,rawExtraField:q,extendedTimestamp:te,msDosCompatible:ie,internalFileAttributes:ae,externalFileAttributes:re,diskNumberStart:s,uid:se,gid:ne,unixMode:oe,setuid:ce,setgid:le,sticky:de,unixExternalUpper:he,msdosAttributesRaw:ue,msdosAttributes:me};let{signature:Ae,uncompressedSize:we}=l,be=0;pe||(we=0);const{writable:ke}=i;if(e){e.chunkSize=getChunkSize(c);const s=e.readable,n=e.size,o={options:{codecType:yi,level:z,rawPassword:R,password:P,encryptionStrength:ee,zipCrypto:w&&Y,passwordVerification:w&&Y&&A>>8&nt,signed:!pe,compressed:b&&!pe,encrypted:w&&!pe,useWebWorkers:j,useCompressionStream:ge,transferStreams:!1},config:c,streamOptions:{signal:$,size:n,onstart:J,onprogress:X,onend:Z}};try{const e=await runWorker({readable:s,writable:ke},o);be=e.outputSize,i.size+=be,pe||(we=e.inputSize,Ae=e.signature)}catch(e){throw e.outputSize!==Qt&&(i.size+=e.outputSize),e}}(function setEntryInfo({signature:e,compressedSize:i,uncompressedSize:s,headerInfo:n,dataDescriptorInfo:o},{zip64:c,zipCrypto:l,dataDescriptor:d}){const{headerView:h,encrypted:u}=n,{dataDescriptorView:m,dataDescriptorOffset:p}=o;u&&!l||e===Qt||(setUint32(h,10,e),d&&setUint32(m,p,e));c?d&&(setBigUint64(m,p+4,BigInt(i)),setBigUint64(m,p+12,BigInt(s))):(setUint32(h,xt,i),setUint32(h,Tt,s),d&&(setUint32(m,p+4,i),setUint32(m,p+8,s)))})({signature:Ae,compressedSize:be,uncompressedSize:we,headerInfo:d,dataDescriptorInfo:h},l),W&&await writeData(i,D);return Object.assign(fe,{uncompressedSize:we,compressedSize:be,lastModDate:f,rawLastModDate:A,creationDate:M,lastAccessDate:Q,encrypted:w,zipCrypto:Y,size:u+be,compressionMethod:y,version:k,headerArray:m,headerView:p,signature:Ae,extraFieldExtendedTimestampFlag:E,zip64UncompressedSize:O,zip64CompressedSize:_,zip64Offset:L,zip64DiskNumberStart:N}),fe}(s,B,C,n,e.config,o);const{zip64:D}=C;if(y=!1,c.set(i,C),C.filename=i,A){const[i]=await Promise.all([v,B.writable.getWriter().close(),w]);await requestLockWriter(),k=!0,C.diskNumberStart=l.diskNumber,C.offset=e.offset-l.diskOffset,D&&updateZip64ExtraField(C),function updateLocalHeader({rawFilename:e,encrypted:i,zip64:s,localExtraFieldZip64Length:n,signature:o,compressedSize:c,uncompressedSize:l,zip64UncompressedSize:d,zip64CompressedSize:h},u,{dataDescriptor:m}){m||(i||setUint32(u,14,o),h||setUint32(u,18,c),d||setUint32(u,22,l));if(s&&n){let i=St+getLength(e)+4;d&&(setBigUint64(u,i,BigInt(l)),i+=8),h&&(setBigUint64(u,i,BigInt(c)),i+=8)}}(C,S,o),await skipDiskIfNeeded(b),await writeData(l,x),await i.stream().pipeTo(b,{preventClose:!0,preventAbort:!0,signal:u}),l.size+=B.size,k=!1}else C.offset=e.offset-E,D&&updateZip64ExtraField(C);if(C.offset>rt&&!D)throw new Error(Ja);return e.offset+=C.size,C}catch(s){if(A&&k||!A&&y){if(e.hasCorruptedEntries=!0,s)try{s.corruptedEntry=!0}catch{}A?e.offset+=B.size:e.offset=B.size}throw c.delete(i),s}finally{A&&e.bufferedWrites--,b&&b(),w&&w()}function requestLockCurrentFileEntry(){C.lock=new Promise((e=>b=e))}async function requestLockWriter(){e.writerLocked=!0;const{lockWriter:i}=e;e.lockWriter=new Promise((i=>w=()=>{e.writerLocked=!1,i()})),await i}async function skipDiskIfNeeded(e){getLength(m.localHeaderArray)>l.availableSize&&(l.availableSize=0,await writeData(e,new Uint8Array))}}(e,i,s,{headerInfo:ue,dataDescriptorInfo:me,metadataSize:ge},n)}finally{e.pendingEntriesSize-=ee}return Object.assign(pe,{name:i,comment:S,extraField:Z}),new Entry(pe)}(n,e,i,s),o.add(l),await l}catch(i){throw n.filenames.delete(e),i}finally{o.delete(l);const e=cr.shift();e?e():or--}}remove(e){const{filenames:i,files:s}=this;if("string"==typeof e&&(e=s.get(e)),e&&e.filename!==Qt){const{filename:n}=e;if(i.has(n)&&s.has(n))return i.delete(n),s.delete(n),!0}return!1}async close(e=new Uint8Array,i={}){const{pendingAddFileCalls:s,writer:n}=this,{writable:o}=n;for(;s.size;)await Promise.allSettled(Array.from(s));await async function closeFile(e,i,s){const{files:n,writer:o}=e,{diskOffset:c}=o;let{diskNumber:l}=o,d=0,h=0,u=e.offset-c,m=n.size;for(const[,e]of n){const{rawFilename:i,rawExtraFieldZip64:s,rawExtraFieldAES:n,rawComment:o,rawExtraFieldNTFS:c,rawExtraFieldUnix:l,rawExtraField:d,extendedTimestamp:u,extraFieldExtendedTimestampFlag:m,lastModDate:p}=e;let f;if(u){f=new Uint8Array(9);const e=getDataView(f);setUint16(e,0,ft),setUint16(e,2,5),setUint8(e,4,m),setUint32(e,5,Math.floor(p.getTime()/1e3))}else f=new Uint8Array;e.rawExtraFieldExtendedTimestamp=f,h+=46+getLength(i,o,s,n,c,l,f,d)}const p=new Uint8Array(h),f=getDataView(p);await initStream(o);let A=0;for(const[e,i]of Array.from(n.values()).entries()){const{offset:c,rawFilename:l,rawExtraFieldZip64:h,rawExtraFieldAES:u,rawExtraFieldExtendedTimestamp:m,rawExtraFieldNTFS:w,rawExtraFieldUnix:b,rawExtraField:k,rawComment:y,versionMadeBy:B,headerArray:v,headerView:C,zip64:E,zip64UncompressedSize:S,zip64CompressedSize:x,zip64DiskNumberStart:T,zip64Offset:D,internalFileAttributes:F,externalFileAttributes:Q,diskNumberStart:M,uncompressedSize:P,compressedSize:R}=i,z=getLength(h,u,m,w,b,k);setUint32(f,d,dt),setUint16(f,d+4,B),S||setUint32(C,Tt,P),x||setUint32(C,xt,R),arraySet(p,v,d+6);let U=d+St;if(setUint16(f,U,z),U+=2,setUint16(f,U,getLength(y)),U+=2,setUint16(f,U,E&&T?st:M),U+=2,setUint16(f,U,F),U+=2,Q&&setUint32(f,U,Q),U+=4,setUint32(f,U,E&&D?rt:c),U+=4,arraySet(p,l,U),U+=getLength(l),arraySet(p,h,U),U+=getLength(h),arraySet(p,u,U),U+=getLength(u),arraySet(p,m,U),U+=getLength(m),arraySet(p,w,U),U+=getLength(w),arraySet(p,b,U),U+=getLength(b),arraySet(p,k,U),U+=getLength(k),arraySet(p,y,U),U+=getLength(y),d-A>o.availableSize&&(o.availableSize=0,await writeData(o,p.slice(A,d)),A=d),d=U,s.onprogress)try{await s.onprogress(e+1,n.size,new Entry(i))}catch{}}await writeData(o,A?p.slice(A):p);let w=o.diskNumber;const{availableSize:b}=o;b<gt&&w++;let k=getOptionValue(e,s,Xi);if(u>rt||h>rt||m>st||w>st){if(!1===k)throw new Error(Ja);k=!0}const y=new Uint8Array(k?98:gt),B=getDataView(y);if(d=0,k){setUint32(B,0,ut),setBigUint64(B,4,BigInt(44)),setUint16(B,12,45),setUint16(B,14,45),setUint32(B,16,w),setUint32(B,20,l),setBigUint64(B,24,BigInt(m)),setBigUint64(B,32,BigInt(m)),setBigUint64(B,40,BigInt(h)),setBigUint64(B,48,BigInt(u)),setUint32(B,56,mt),setBigUint64(B,64,BigInt(u)+BigInt(h)),setUint32(B,72,w+1);getOptionValue(e,s,Ta,!0)&&(w=st,l=st),m=st,u=rt,h=rt,d+=76}setUint32(B,d,ht),setUint16(B,d+4,w),setUint16(B,d+6,l),setUint16(B,d+8,m),setUint16(B,d+10,m),setUint32(B,d+12,h),setUint32(B,d+16,u);const v=getLength(i);if(v){if(!(v<=st))throw new Error(Wa);setUint16(B,d+20,v)}await writeData(o,y),v&&await writeData(o,i)}(this,e,i);return getOptionValue(this,i,ka)||await o.getWriter().close(),n.getData?n.getData():o}}function packUnixId(e){if(e===Qt)return new Uint8Array;{const i=new Uint8Array(4);getDataView(i).setUint32(0,e,!0);let s=4;for(;s>1&&0===i[s-1];)s--;return i.subarray(0,s)}}function updateZip64ExtraField({compressedSize:e,uncompressedSize:i,offset:s,diskNumberStart:n,zip64UncompressedSize:o,zip64CompressedSize:c,zip64Offset:l,zip64DiskNumberStart:d,rawExtraFieldZip64:h}){const u=getDataView(h);let m=4;o&&(setBigUint64(u,m,BigInt(i)),m+=8),c&&(setBigUint64(u,m,BigInt(e)),m+=8),l&&(setBigUint64(u,m,BigInt(s)),m+=8),d&&setUint32(u,m,n)}async function writeData(e,i){const{writable:s}=e,n=s.getWriter();try{await n.ready,e.size+=getLength(i),await n.write(i)}finally{n.releaseLock()}}function getTimeNTFS(e){if(e)return(BigInt(e.getTime())+BigInt(116444736e5))*BigInt(1e4)}function getOptionValue(e,i,s,n){const o=i[s]===Qt?e.options[s]:i[s];return o===Qt?n:o}function getMaximumCompressedSize(e){return e+5*(Math.floor(e/16383)+1)}function setUint8(e,i,s){e.setUint8(i,s)}function setUint16(e,i,s){e.setUint16(i,s,!0)}function setUint32(e,i,s){e.setUint32(i,s,!0)}function setBigUint64(e,i,s){e.setBigUint64(i,s,!0)}function arraySet(e,i,s){e.set(i,s)}function getDataView(e){return new DataView(e.buffer)}function getLength(...e){let i=0;return e.forEach((e=>e&&(i+=e.length))),i}function getHeaderArrayData({version:e,bitFlag:i,compressionMethod:s,uncompressedSize:n,compressedSize:o,lastModDate:c,rawFilename:l,zip64CompressedSize:d,zip64UncompressedSize:h,extraFieldLength:u}){const m=new Uint8Array(26),p=getDataView(m);setUint16(p,0,e),setUint16(p,2,i),setUint16(p,4,s);const f=new Uint32Array(1),A=getDataView(f);setUint16(A,0,(c.getHours()<<6|c.getMinutes())<<5|c.getSeconds()/2),setUint16(A,2,(c.getFullYear()-1980<<4|c.getMonth()+1)<<5|c.getDate());const w=f[0];return setUint32(p,6,w),(d||o!==Qt)&&setUint32(p,xt,d?rt:o),(h||n!==Qt)&&setUint32(p,Tt,h?rt:n),setUint16(p,22,getLength(l)),setUint16(p,24,u),{headerArray:m,headerView:p,rawLastModDate:w}}function getBitFlag(e,i,s,n,o){let c=0;return i&&(c|=kt),s&&(c|=8),8!=o&&9!=o||(e>=0&&e<=3&&(c|=6),e>3&&e<=5&&(c|=4),9==e&&(c|=2)),n&&(c|=1),c}try{configure({baseURI:document.currentScript&&"SCRIPT"===document.currentScript.tagName.toUpperCase()&&document.currentScript.src||new URL("raffaello.min.js",document.baseURI).href})}catch{}const lr="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";let dr,hr,ur,mr;function _make(e,i,s={}){const n="number"==typeof s.level?s.level:-1,o="number"==typeof s.outBuffer?s.outBuffer:65536,c="number"==typeof s.inBufferSize?s.inBufferSize:65536;return new TransformStream({start(){let s;if(this.out=hr(o),this.in=hr(c),this.inBufferSize=c,this._scratch=new Uint8Array(o),e?(this._process=dr.deflate_process,this._last_consumed=dr.deflate_last_consumed,this._end=dr.deflate_end,this.streamHandle=dr.deflate_new(),s="gzip"===i?dr.deflate_init_gzip(this.streamHandle,n):"deflate-raw"===i?dr.deflate_init_raw(this.streamHandle,n):dr.deflate_init(this.streamHandle,n)):"deflate64-raw"===i?(this._process=dr.inflate9_process,this._last_consumed=dr.inflate9_last_consumed,this._end=dr.inflate9_end,this.streamHandle=dr.inflate9_new(),s=dr.inflate9_init_raw(this.streamHandle)):(this._process=dr.inflate_process,this._last_consumed=dr.inflate_last_consumed,this._end=dr.inflate_end,this.streamHandle=dr.inflate_new(),s="deflate-raw"===i?dr.inflate_init_raw(this.streamHandle):"gzip"===i?dr.inflate_init_gzip(this.streamHandle):dr.inflate_init(this.streamHandle)),0!==s)throw new Error("init failed:"+s)},transform(i,s){try{const n=i,c=new Uint8Array(mr.buffer),l=this._process,d=this._last_consumed,h=this.out,u=this._scratch;let m=0;for(;m<n.length;){const i=Math.min(n.length-m,32768);(!this.in||this.inBufferSize<i)&&(this.in&&ur&&ur(this.in),this.in=hr(i),this.inBufferSize=i),c.set(n.subarray(m,m+i),this.in);const p=l(this.streamHandle,this.in,i,h,o,0),f=16777215&p;if(f&&(u.set(c.subarray(h,h+f),0),s.enqueue(u.slice(0,f))),!e){const e=p>>24&255,i=128&e?e-256:e;if(i<0)throw new Error("process error:"+i)}const A=d(this.streamHandle);if(0===A)break;m+=A}}catch(e){this._end&&this.streamHandle&&this._end(this.streamHandle),this.in&&ur&&ur(this.in),this.out&&ur&&ur(this.out),s.error(e)}},flush(i){try{const s=new Uint8Array(mr.buffer),n=this._process,c=this.out,l=this._scratch;for(;;){const d=n(this.streamHandle,0,0,c,o,4),h=16777215&d,u=d>>24&255;if(!e){const e=128&u?u-256:u;if(e<0)throw new Error("process error:"+e)}if(h&&(l.set(s.subarray(c,c+h),0),i.enqueue(l.slice(0,h))),1===u||0===h)break}}catch(e){i.error(e)}finally{if(this._end&&this.streamHandle){const e=this._end(this.streamHandle);0!==e&&i.error(new Error("end error:"+e))}this.in&&ur&&ur(this.in),this.out&&ur&&ur(this.out)}}})}let gr,pr=!1;async function initModule(e,{baseURI:i}){if(!pr){let s,n;try{try{n=new URL(e,i)}catch{}const o=await fetch(n);s=await o.arrayBuffer()}catch(i){if(!e.startsWith("data:application/wasm;base64,"))throw i;s=function arrayBufferFromDataURI(e){const i=e.split(",")[1],s=atob(i),n=s.length,o=new Uint8Array(n);for(let e=0;e<n;++e)o[e]=s.charCodeAt(e);return o.buffer}(e)}!function setWasmExports(e){if(dr=e,({malloc:hr,free:ur,memory:mr}=dr),"function"!=typeof hr||"function"!=typeof ur||!mr)throw dr=hr=ur=mr=null,new Error("Invalid WASM module")}((await WebAssembly.instantiate(s)).instance.exports),pr=!0}}!function g(e){let i;e({wasmURI:()=>(i||(i="data:application/wasm;base64,"+(e=>{e=(e=>{const i=(e=(e+"").replace(/[^A-Za-z0-9+/=]/g,"")).length,s=[];for(let n=0;i>n;n+=4){const i=lr.indexOf(e[n])<<18|lr.indexOf(e[n+1])<<12|(63&lr.indexOf(e[n+2]))<<6|63&lr.indexOf(e[n+3]);s.push(i>>16&255),"="!==e[n+2]&&s.push(i>>8&255),"="!==e[n+3]&&s.push(255&i)}return new Uint8Array(s)})(e);let i=new Uint8Array(1024),s=0;for(let n=0;n<e.length;){const o=e[n++];if(128&o){const c=3+(127&o),l=e[n++]<<8|e[n++],d=s-l;I(s+c);for(let e=0;c>e;e++)i[s++]=i[d+e]}else{const c=o;I(s+c);for(let o=0;c>o&&n<e.length;o++)i[s++]=e[n++]}}return(e=>{let i="";const s=e.length;let n=0;for(;s>n+2;n+=3){const s=e[n]<<16|e[n+1]<<8|e[n+2];i+=lr[s>>18&63]+lr[s>>12&63]+lr[s>>6&63]+lr[63&s]}const o=s-n;if(1===o){const s=e[n]<<16;i+=lr[s>>18&63]+lr[s>>12&63]+"=="}else if(2===o){const s=e[n]<<16|e[n+1]<<8;i+=lr[s>>18&63]+lr[s>>12&63]+lr[s>>6&63]+"="}return i})(new Uint8Array(i.buffer.slice(0,s)));function I(e){if(i.length<e){let n=2*i.length;for(;e>n;)n*=2;const o=new Uint8Array(n);o.set(i.subarray(0,s)),i=o}}})("FQBhc20BAAAAAUULYAF/AX9gAn9/AIEABYAACwIDf4IABwEBgAARAQaAAAuDAA6BABUDAGAAgAADgAANAQSBABUDAGAHgwAegAAfEgNCQQcABAEABAgIAAIABQIKAIAAB4EAAwEFgQAHAgICgQAHEAEDAAUGAAMDBQQJBAQJAQaAAAEeAAIEAwIEAgIBBAcDAwQFAXABDQ0FBgEBggKCAgYIgACYIkHQ1QQLB4oEHAZtZW1vcnkCAAxpbmZsYXRlOV9uZXcABw2GAA8HaW5pdAAIEYoAEAdfcmF3AAoQhgAUCXByb2Nlc3MAC4cARgZlbmQADhaGAA8QbGFzdF9jb25zdW1lZAARC4QAGYMAbYUANoMAbAEShQBYhwBrARSFAH+DABMHZ3ppcAAVD4UAF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AxsLTYMfuYcABIC+rooABIEHUYkABAEEjAAEAQWKAAQEQbAcC4C9CosAS40AO4UALwEGhAAEgQWIgQAEgQEKgQAEgQGSgQAEgIS2ggAEAQuEAAQBDIQABIAF24FHeQTgHQsjhQBfhQXLAhARgAVtBgcJBgoFC4A6uAQNAg4BgAclBJQeC2mFAJCFAIiFAICFAHiBAGiBAFyBBh8BEIAABAEUgAAEARiAAAQBHIAABAEggAAEASiAAAQBMIAABAE4gAAEAUCAAAQBUIAABIEGvQFwgAAEAYCAAAQBoIAABAHAgAAEAeCAAG8DHwtyjQBvgQBrgQBngQBjgQBfgQBbgQBXgQBTgQBPgQBLgQBHgQBDgQE8AYCvAEGAUc0CC22BAMcBBIAAAgEIgAAEgQEzgQJLARCAAA6DAAyBnqyAqmuEACSBB3OBAE8BCIAACIEAGIUADIEIt4MADAEggQCUgDKEgQBrAYCBCC8BBIMADIA/SAoBABAMAEGRIQv/gCUfgMDAgIKxBQgJCQoKgEk3gAABAQ2AAAEBDoAAAQEPgAABARCEAAEBEYQAAQEShAABAROEAAEBFIwAAQEVjAABARaMAAEBF4wAAQEYnAABARmcAAEBGpwAAQEbmwABARyBffsEBAQFBYHB1QEHgAABAQiEAAGAXSqCAAEBCowAAYAnsooAAYEBMJkAAYEBTJkAAYEBaLkAAYEBpLkAAYIDdYABzoUBvI0BqJ0BkLwBgAIbHLwAAQEdvAABgA9PgH05A9AqAQ==")),i)})}(configure),function configureWorker({initModule:e}){initModule$1=e}({initModule:e=>{if(!gr){let{wasmURI:i}=e;typeof i==Pt&&(i=i()),gr=initModule(i,e)}return gr}}),configure({CompressionStreamZlib:class CompressionStreamZlib{constructor(e="deflate",i){return _make(!0,e,i)}},DecompressionStreamZlib:class DecompressionStreamZlib{constructor(e="deflate",i){return _make(!1,e,i)}}});const fr={application:{"andrew-inset":"ez",annodex:"anx","atom+xml":"atom","atomcat+xml":"atomcat","atomserv+xml":"atomsrv",bbolin:"lin","cu-seeme":"cu","davmount+xml":"davmount",dsptype:"tsp",ecmascript:["es","ecma"],futuresplash:"spl",hta:"hta","java-archive":"jar","java-serialized-object":"ser","java-vm":"class",m3g:"m3g","mac-binhex40":"hqx",mathematica:["nb","ma","mb"],msaccess:"mdb",msword:["doc","dot","wiz"],mxf:"mxf",oda:"oda",ogg:"ogx",pdf:"pdf","pgp-keys":"key","pgp-signature":["asc","sig"],"pics-rules":"prf",postscript:["ps","ai","eps","epsi","epsf","eps2","eps3"],rar:"rar","rdf+xml":"rdf","rss+xml":"rss",rtf:"rtf","xhtml+xml":["xhtml","xht"],xml:["xml","xsl","xsd","xpdl"],"xspf+xml":"xspf",zip:"zip","vnd.android.package-archive":"apk","vnd.cinderella":"cdy","vnd.google-earth.kml+xml":"kml","vnd.google-earth.kmz":"kmz","vnd.mozilla.xul+xml":"xul","vnd.ms-excel":["xls","xlb","xlt","xlm","xla","xlc","xlw"],"vnd.ms-pki.seccat":"cat","vnd.ms-pki.stl":"stl","vnd.ms-powerpoint":["ppt","pps","pot","ppa","pwz"],"vnd.oasis.opendocument.chart":"odc","vnd.oasis.opendocument.database":"odb","vnd.oasis.opendocument.formula":"odf","vnd.oasis.opendocument.graphics":"odg","vnd.oasis.opendocument.graphics-template":"otg","vnd.oasis.opendocument.image":"odi","vnd.oasis.opendocument.presentation":"odp","vnd.oasis.opendocument.presentation-template":"otp","vnd.oasis.opendocument.spreadsheet":"ods","vnd.oasis.opendocument.spreadsheet-template":"ots","vnd.oasis.opendocument.text":"odt","vnd.oasis.opendocument.text-master":["odm","otm"],"vnd.oasis.opendocument.text-template":"ott","vnd.oasis.opendocument.text-web":"oth","vnd.openxmlformats-officedocument.spreadsheetml.sheet":"xlsx","vnd.openxmlformats-officedocument.spreadsheetml.template":"xltx","vnd.openxmlformats-officedocument.presentationml.presentation":"pptx","vnd.openxmlformats-officedocument.presentationml.slideshow":"ppsx","vnd.openxmlformats-officedocument.presentationml.template":"potx","vnd.openxmlformats-officedocument.wordprocessingml.document":"docx","vnd.openxmlformats-officedocument.wordprocessingml.template":"dotx","vnd.smaf":"mmf","vnd.stardivision.calc":"sdc","vnd.stardivision.chart":"sds","vnd.stardivision.draw":"sda","vnd.stardivision.impress":"sdd","vnd.stardivision.math":["sdf","smf"],"vnd.stardivision.writer":["sdw","vor"],"vnd.stardivision.writer-global":"sgl","vnd.sun.xml.calc":"sxc","vnd.sun.xml.calc.template":"stc","vnd.sun.xml.draw":"sxd","vnd.sun.xml.draw.template":"std","vnd.sun.xml.impress":"sxi","vnd.sun.xml.impress.template":"sti","vnd.sun.xml.math":"sxm","vnd.sun.xml.writer":"sxw","vnd.sun.xml.writer.global":"sxg","vnd.sun.xml.writer.template":"stw","vnd.symbian.install":["sis","sisx"],"vnd.visio":["vsd","vst","vss","vsw","vsdx","vssx","vstx","vssm","vstm"],"vnd.wap.wbxml":"wbxml","vnd.wap.wmlc":"wmlc","vnd.wap.wmlscriptc":"wmlsc","vnd.wordperfect":"wpd","vnd.wordperfect5.1":"wp5","x-123":"wk","x-7z-compressed":"7z","x-abiword":"abw","x-apple-diskimage":"dmg","x-bcpio":"bcpio","x-bittorrent":"torrent","x-cbr":["cbr","cba","cbt","cb7"],"x-cbz":"cbz","x-cdf":["cdf","cda"],"x-cdlink":"vcd","x-chess-pgn":"pgn","x-cpio":"cpio","x-csh":"csh","x-director":["dir","dxr","cst","cct","cxt","w3d","fgd","swa"],"x-dms":"dms","x-doom":"wad","x-dvi":"dvi","x-httpd-eruby":"rhtml","x-font":"pcf.Z","x-freemind":"mm","x-gnumeric":"gnumeric","x-go-sgf":"sgf","x-graphing-calculator":"gcf","x-gtar":["gtar","taz"],"x-hdf":"hdf","x-httpd-php":["phtml","pht","php"],"x-httpd-php-source":"phps","x-httpd-php3":"php3","x-httpd-php3-preprocessed":"php3p","x-httpd-php4":"php4","x-httpd-php5":"php5","x-ica":"ica","x-info":"info","x-internet-signup":["ins","isp"],"x-iphone":"iii","x-iso9660-image":"iso","x-java-jnlp-file":"jnlp","x-jmol":"jmz","x-killustrator":"kil","x-latex":"latex","x-lyx":"lyx","x-lzx":"lzx","x-maker":["frm","fb","fbdoc"],"x-ms-wmd":"wmd","x-msdos-program":["com","exe","bat","dll"],"x-netcdf":["nc"],"x-ns-proxy-autoconfig":["pac","dat"],"x-nwc":"nwc","x-object":"o","x-oz-application":"oza","x-pkcs7-certreqresp":"p7r","x-python-code":["pyc","pyo"],"x-qgis":["qgs","shp","shx"],"x-quicktimeplayer":"qtl","x-redhat-package-manager":["rpm","rpa"],"x-ruby":"rb","x-sh":"sh","x-shar":"shar","x-shockwave-flash":["swf","swfl"],"x-silverlight":"scr","x-stuffit":"sit","x-sv4cpio":"sv4cpio","x-sv4crc":"sv4crc","x-tar":"tar","x-tex-gf":"gf","x-tex-pk":"pk","x-texinfo":["texinfo","texi"],"x-trash":["~","%","bak","old","sik"],"x-ustar":"ustar","x-wais-source":"src","x-wingz":"wz","x-x509-ca-cert":["crt","der","cer"],"x-xcf":"xcf","x-xfig":"fig","x-xpinstall":"xpi",applixware:"aw","atomsvc+xml":"atomsvc","ccxml+xml":"ccxml","cdmi-capability":"cdmia","cdmi-container":"cdmic","cdmi-domain":"cdmid","cdmi-object":"cdmio","cdmi-queue":"cdmiq","docbook+xml":"dbk","dssc+der":"dssc","dssc+xml":"xdssc","emma+xml":"emma","epub+zip":"epub",exi:"exi","font-tdpfr":"pfr","gml+xml":"gml","gpx+xml":"gpx",gxf:"gxf",hyperstudio:"stk","inkml+xml":["ink","inkml"],ipfix:"ipfix","jsonml+json":"jsonml","lost+xml":"lostxml","mads+xml":"mads",marc:"mrc","marcxml+xml":"mrcx","mathml+xml":["mathml","mml"],mbox:"mbox","mediaservercontrol+xml":"mscml","metalink+xml":"metalink","metalink4+xml":"meta4","mets+xml":"mets","mods+xml":"mods",mp21:["m21","mp21"],mp4:"mp4s","oebps-package+xml":"opf","omdoc+xml":"omdoc",onenote:["onetoc","onetoc2","onetmp","onepkg"],oxps:"oxps","patch-ops-error+xml":"xer","pgp-encrypted":"pgp",pkcs10:"p10","pkcs7-mime":["p7m","p7c"],"pkcs7-signature":"p7s",pkcs8:"p8","pkix-attr-cert":"ac","pkix-crl":"crl","pkix-pkipath":"pkipath",pkixcmp:"pki","pls+xml":"pls","prs.cww":"cww","pskc+xml":"pskcxml","reginfo+xml":"rif","relax-ng-compact-syntax":"rnc","resource-lists+xml":"rl","resource-lists-diff+xml":"rld","rls-services+xml":"rs","rpki-ghostbusters":"gbr","rpki-manifest":"mft","rpki-roa":"roa","rsd+xml":"rsd","sbml+xml":"sbml","scvp-cv-request":"scq","scvp-cv-response":"scs","scvp-vp-request":"spq","scvp-vp-response":"spp",sdp:"sdp","set-payment-initiation":"setpay","set-registration-initiation":"setreg","shf+xml":"shf","sparql-query":"rq","sparql-results+xml":"srx",srgs:"gram","srgs+xml":"grxml","sru+xml":"sru","ssdl+xml":"ssdl","ssml+xml":"ssml","tei+xml":["tei","teicorpus"],"thraud+xml":"tfi","timestamped-data":"tsd","vnd.3gpp.pic-bw-large":"plb","vnd.3gpp.pic-bw-small":"psb","vnd.3gpp.pic-bw-var":"pvb","vnd.3gpp2.tcap":"tcap","vnd.3m.post-it-notes":"pwn","vnd.accpac.simply.aso":"aso","vnd.accpac.simply.imp":"imp","vnd.acucobol":"acu","vnd.acucorp":["atc","acutc"],"vnd.adobe.air-application-installer-package+zip":"air","vnd.adobe.formscentral.fcdt":"fcdt","vnd.adobe.fxp":["fxp","fxpl"],"vnd.adobe.xdp+xml":"xdp","vnd.adobe.xfdf":"xfdf","vnd.ahead.space":"ahead","vnd.airzip.filesecure.azf":"azf","vnd.airzip.filesecure.azs":"azs","vnd.amazon.ebook":"azw","vnd.americandynamics.acc":"acc","vnd.amiga.ami":"ami","vnd.anser-web-certificate-issue-initiation":"cii","vnd.anser-web-funds-transfer-initiation":"fti","vnd.antix.game-component":"atx","vnd.apple.installer+xml":"mpkg","vnd.apple.mpegurl":"m3u8","vnd.aristanetworks.swi":"swi","vnd.astraea-software.iota":"iota","vnd.audiograph":"aep","vnd.blueice.multipass":"mpm","vnd.bmi":"bmi","vnd.businessobjects":"rep","vnd.chemdraw+xml":"cdxml","vnd.chipnuts.karaoke-mmd":"mmd","vnd.claymore":"cla","vnd.cloanto.rp9":"rp9","vnd.clonk.c4group":["c4g","c4d","c4f","c4p","c4u"],"vnd.cluetrust.cartomobile-config":"c11amc","vnd.cluetrust.cartomobile-config-pkg":"c11amz","vnd.commonspace":"csp","vnd.contact.cmsg":"cdbcmsg","vnd.cosmocaller":"cmc","vnd.crick.clicker":"clkx","vnd.crick.clicker.keyboard":"clkk","vnd.crick.clicker.palette":"clkp","vnd.crick.clicker.template":"clkt","vnd.crick.clicker.wordbank":"clkw","vnd.criticaltools.wbs+xml":"wbs","vnd.ctc-posml":"pml","vnd.cups-ppd":"ppd","vnd.curl.car":"car","vnd.curl.pcurl":"pcurl","vnd.dart":"dart","vnd.data-vision.rdz":"rdz","vnd.dece.data":["uvf","uvvf","uvd","uvvd"],"vnd.dece.ttml+xml":["uvt","uvvt"],"vnd.dece.unspecified":["uvx","uvvx"],"vnd.dece.zip":["uvz","uvvz"],"vnd.denovo.fcselayout-link":"fe_launch","vnd.dna":"dna","vnd.dolby.mlp":"mlp","vnd.dpgraph":"dpg","vnd.dreamfactory":"dfac","vnd.ds-keypoint":"kpxx","vnd.dvb.ait":"ait","vnd.dvb.service":"svc","vnd.dynageo":"geo","vnd.ecowin.chart":"mag","vnd.enliven":"nml","vnd.epson.esf":"esf","vnd.epson.msf":"msf","vnd.epson.quickanime":"qam","vnd.epson.salt":"slt","vnd.epson.ssf":"ssf","vnd.eszigno3+xml":["es3","et3"],"vnd.ezpix-album":"ez2","vnd.ezpix-package":"ez3","vnd.fdf":"fdf","vnd.fdsn.mseed":"mseed","vnd.fdsn.seed":["seed","dataless"],"vnd.flographit":"gph","vnd.fluxtime.clip":"ftc","vnd.framemaker":["fm","frame","maker","book"],"vnd.frogans.fnc":"fnc","vnd.frogans.ltf":"ltf","vnd.fsc.weblaunch":"fsc","vnd.fujitsu.oasys":"oas","vnd.fujitsu.oasys2":"oa2","vnd.fujitsu.oasys3":"oa3","vnd.fujitsu.oasysgp":"fg5","vnd.fujitsu.oasysprs":"bh2","vnd.fujixerox.ddd":"ddd","vnd.fujixerox.docuworks":"xdw","vnd.fujixerox.docuworks.binder":"xbd","vnd.fuzzysheet":"fzs","vnd.genomatix.tuxedo":"txd","vnd.geogebra.file":"ggb","vnd.geogebra.tool":"ggt","vnd.geometry-explorer":["gex","gre"],"vnd.geonext":"gxt","vnd.geoplan":"g2w","vnd.geospace":"g3w","vnd.gmx":"gmx","vnd.grafeq":["gqf","gqs"],"vnd.groove-account":"gac","vnd.groove-help":"ghf","vnd.groove-identity-message":"gim","vnd.groove-injector":"grv","vnd.groove-tool-message":"gtm","vnd.groove-tool-template":"tpl","vnd.groove-vcard":"vcg","vnd.hal+xml":"hal","vnd.handheld-entertainment+xml":"zmm","vnd.hbci":"hbci","vnd.hhe.lesson-player":"les","vnd.hp-hpgl":"hpgl","vnd.hp-hpid":"hpid","vnd.hp-hps":"hps","vnd.hp-jlyt":"jlt","vnd.hp-pcl":"pcl","vnd.hp-pclxl":"pclxl","vnd.hydrostatix.sof-data":"sfd-hdstx","vnd.ibm.minipay":"mpy","vnd.ibm.modcap":["afp","listafp","list3820"],"vnd.ibm.rights-management":"irm","vnd.ibm.secure-container":"sc","vnd.iccprofile":["icc","icm"],"vnd.igloader":"igl","vnd.immervision-ivp":"ivp","vnd.immervision-ivu":"ivu","vnd.insors.igm":"igm","vnd.intercon.formnet":["xpw","xpx"],"vnd.intergeo":"i2g","vnd.intu.qbo":"qbo","vnd.intu.qfx":"qfx","vnd.ipunplugged.rcprofile":"rcprofile","vnd.irepository.package+xml":"irp","vnd.is-xpr":"xpr","vnd.isac.fcs":"fcs","vnd.jam":"jam","vnd.jcp.javame.midlet-rms":"rms","vnd.jisp":"jisp","vnd.joost.joda-archive":"joda","vnd.kahootz":["ktz","ktr"],"vnd.kde.karbon":"karbon","vnd.kde.kchart":"chrt","vnd.kde.kformula":"kfo","vnd.kde.kivio":"flw","vnd.kde.kontour":"kon","vnd.kde.kpresenter":["kpr","kpt"],"vnd.kde.kspread":"ksp","vnd.kde.kword":["kwd","kwt"],"vnd.kenameaapp":"htke","vnd.kidspiration":"kia","vnd.kinar":["kne","knp"],"vnd.koan":["skp","skd","skt","skm"],"vnd.kodak-descriptor":"sse","vnd.las.las+xml":"lasxml","vnd.llamagraphics.life-balance.desktop":"lbd","vnd.llamagraphics.life-balance.exchange+xml":"lbe","vnd.lotus-1-2-3":"123","vnd.lotus-approach":"apr","vnd.lotus-freelance":"pre","vnd.lotus-notes":"nsf","vnd.lotus-organizer":"org","vnd.lotus-screencam":"scm","vnd.lotus-wordpro":"lwp","vnd.macports.portpkg":"portpkg","vnd.mcd":"mcd","vnd.medcalcdata":"mc1","vnd.mediastation.cdkey":"cdkey","vnd.mfer":"mwf","vnd.mfmp":"mfm","vnd.micrografx.flo":"flo","vnd.micrografx.igx":"igx","vnd.mif":"mif","vnd.mobius.daf":"daf","vnd.mobius.dis":"dis","vnd.mobius.mbk":"mbk","vnd.mobius.mqy":"mqy","vnd.mobius.msl":"msl","vnd.mobius.plc":"plc","vnd.mobius.txf":"txf","vnd.mophun.application":"mpn","vnd.mophun.certificate":"mpc","vnd.ms-artgalry":"cil","vnd.ms-cab-compressed":"cab","vnd.ms-excel.addin.macroenabled.12":"xlam","vnd.ms-excel.sheet.binary.macroenabled.12":"xlsb","vnd.ms-excel.sheet.macroenabled.12":"xlsm","vnd.ms-excel.template.macroenabled.12":"xltm","vnd.ms-fontobject":"eot","vnd.ms-htmlhelp":"chm","vnd.ms-ims":"ims","vnd.ms-lrm":"lrm","vnd.ms-officetheme":"thmx","vnd.ms-powerpoint.addin.macroenabled.12":"ppam","vnd.ms-powerpoint.presentation.macroenabled.12":"pptm","vnd.ms-powerpoint.slide.macroenabled.12":"sldm","vnd.ms-powerpoint.slideshow.macroenabled.12":"ppsm","vnd.ms-powerpoint.template.macroenabled.12":"potm","vnd.ms-project":["mpp","mpt"],"vnd.ms-word.document.macroenabled.12":"docm","vnd.ms-word.template.macroenabled.12":"dotm","vnd.ms-works":["wps","wks","wcm","wdb"],"vnd.ms-wpl":"wpl","vnd.ms-xpsdocument":"xps","vnd.mseq":"mseq","vnd.musician":"mus","vnd.muvee.style":"msty","vnd.mynfc":"taglet","vnd.neurolanguage.nlu":"nlu","vnd.nitf":["ntf","nitf"],"vnd.noblenet-directory":"nnd","vnd.noblenet-sealer":"nns","vnd.noblenet-web":"nnw","vnd.nokia.n-gage.data":"ngdat","vnd.nokia.n-gage.symbian.install":"n-gage","vnd.nokia.radio-preset":"rpst","vnd.nokia.radio-presets":"rpss","vnd.novadigm.edm":"edm","vnd.novadigm.edx":"edx","vnd.novadigm.ext":"ext","vnd.oasis.opendocument.chart-template":"otc","vnd.oasis.opendocument.formula-template":"odft","vnd.oasis.opendocument.image-template":"oti","vnd.olpc-sugar":"xo","vnd.oma.dd2+xml":"dd2","vnd.openofficeorg.extension":"oxt","vnd.openxmlformats-officedocument.presentationml.slide":"sldx","vnd.osgeo.mapguide.package":"mgp","vnd.osgi.dp":"dp","vnd.osgi.subsystem":"esa","vnd.palm":["pdb","pqa","oprc"],"vnd.pawaafile":"paw","vnd.pg.format":"str","vnd.pg.osasli":"ei6","vnd.picsel":"efif","vnd.pmi.widget":"wg","vnd.pocketlearn":"plf","vnd.powerbuilder6":"pbd","vnd.previewsystems.box":"box","vnd.proteus.magazine":"mgz","vnd.publishare-delta-tree":"qps","vnd.pvi.ptid1":"ptid","vnd.quark.quarkxpress":["qxd","qxt","qwd","qwt","qxl","qxb"],"vnd.realvnc.bed":"bed","vnd.recordare.musicxml":"mxl","vnd.recordare.musicxml+xml":"musicxml","vnd.rig.cryptonote":"cryptonote","vnd.rn-realmedia":"rm","vnd.rn-realmedia-vbr":"rmvb","vnd.route66.link66+xml":"link66","vnd.sailingtracker.track":"st","vnd.seemail":"see","vnd.sema":"sema","vnd.semd":"semd","vnd.semf":"semf","vnd.shana.informed.formdata":"ifm","vnd.shana.informed.formtemplate":"itp","vnd.shana.informed.interchange":"iif","vnd.shana.informed.package":"ipk","vnd.simtech-mindmapper":["twd","twds"],"vnd.smart.teacher":"teacher","vnd.solent.sdkm+xml":["sdkm","sdkd"],"vnd.spotfire.dxp":"dxp","vnd.spotfire.sfs":"sfs","vnd.stepmania.package":"smzip","vnd.stepmania.stepchart":"sm","vnd.sus-calendar":["sus","susp"],"vnd.svd":"svd","vnd.syncml+xml":"xsm","vnd.syncml.dm+wbxml":"bdm","vnd.syncml.dm+xml":"xdm","vnd.tao.intent-module-archive":"tao","vnd.tcpdump.pcap":["pcap","cap","dmp"],"vnd.tmobile-livetv":"tmo","vnd.trid.tpt":"tpt","vnd.triscape.mxs":"mxs","vnd.trueapp":"tra","vnd.ufdl":["ufd","ufdl"],"vnd.uiq.theme":"utz","vnd.umajin":"umj","vnd.unity":"unityweb","vnd.uoml+xml":"uoml","vnd.vcx":"vcx","vnd.visionary":"vis","vnd.vsf":"vsf","vnd.webturbo":"wtb","vnd.wolfram.player":"nbp","vnd.wqd":"wqd","vnd.wt.stf":"stf","vnd.xara":"xar","vnd.xfdl":"xfdl","vnd.yamaha.hv-dic":"hvd","vnd.yamaha.hv-script":"hvs","vnd.yamaha.hv-voice":"hvp","vnd.yamaha.openscoreformat":"osf","vnd.yamaha.openscoreformat.osfpvg+xml":"osfpvg","vnd.yamaha.smaf-audio":"saf","vnd.yamaha.smaf-phrase":"spf","vnd.yellowriver-custom-menu":"cmp","vnd.zul":["zir","zirz"],"vnd.zzazz.deck+xml":"zaz","voicexml+xml":"vxml",widget:"wgt",winhlp:"hlp","wsdl+xml":"wsdl","wspolicy+xml":"wspolicy","x-ace-compressed":"ace","x-authorware-bin":["aab","x32","u32","vox"],"x-authorware-map":"aam","x-authorware-seg":"aas","x-blorb":["blb","blorb"],"x-bzip":"bz","x-bzip2":["bz2","boz"],"x-cfs-compressed":"cfs","x-chat":"chat","x-conference":"nsc","x-dgc-compressed":"dgc","x-dtbncx+xml":"ncx","x-dtbook+xml":"dtb","x-dtbresource+xml":"res","x-eva":"eva","x-font-bdf":"bdf","x-font-ghostscript":"gsf","x-font-linux-psf":"psf","x-font-pcf":"pcf","x-font-snf":"snf","x-font-ttf":["ttf","ttc"],"x-font-type1":["pfa","pfb","pfm","afm"],"x-freearc":"arc","x-gca-compressed":"gca","x-glulx":"ulx","x-gramps-xml":"gramps","x-install-instructions":"install","x-lzh-compressed":["lzh","lha"],"x-mie":"mie","x-mobipocket-ebook":["prc","mobi"],"x-ms-application":"application","x-ms-shortcut":"lnk","x-ms-xbap":"xbap","x-msbinder":"obd","x-mscardfile":"crd","x-msclip":"clp","application/x-ms-installer":"msi","x-msmediaview":["mvb","m13","m14"],"x-msmetafile":["wmf","wmz","emf","emz"],"x-msmoney":"mny","x-mspublisher":"pub","x-msschedule":"scd","x-msterminal":"trm","x-mswrite":"wri","x-nzb":"nzb","x-pkcs12":["p12","pfx"],"x-pkcs7-certificates":["p7b","spc"],"x-research-info-systems":"ris","x-silverlight-app":"xap","x-sql":"sql","x-stuffitx":"sitx","x-subrip":"srt","x-t3vm-image":"t3","x-tex-tfm":"tfm","x-tgif":"obj","x-xliff+xml":"xlf","x-xz":"xz","x-zmachine":["z1","z2","z3","z4","z5","z6","z7","z8"],"xaml+xml":"xaml","xcap-diff+xml":"xdf","xenc+xml":"xenc","xml-dtd":"dtd","xop+xml":"xop","xproc+xml":"xpl","xslt+xml":"xslt","xv+xml":["mxml","xhvml","xvml","xvm"],yang:"yang","yin+xml":"yin",envoy:"evy",fractals:"fif","internet-property-stream":"acx",olescript:"axs","vnd.ms-outlook":"msg","vnd.ms-pkicertstore":"sst","x-compress":"z","x-perfmon":["pma","pmc","pmr","pmw"],"ynd.ms-pkipko":"pko",gzip:["gz","tgz"],"smil+xml":["smi","smil"],"vnd.debian.binary-package":["deb","udeb"],"vnd.hzn-3d-crossword":"x3d","vnd.sqlite3":["db","sqlite","sqlite3","db-wal","sqlite-wal","db-shm","sqlite-shm"],"vnd.wap.sic":"sic","vnd.wap.slc":"slc","x-krita":["kra","krz"],"x-perl":["pm","pl"],yaml:["yaml","yml"]},audio:{amr:"amr","amr-wb":"awb",annodex:"axa",basic:["au","snd"],flac:"flac",midi:["mid","midi","kar","rmi"],mpeg:["mpga","mpega","mp3","m4a","mp2a","m2a","m3a"],mpegurl:"m3u",ogg:["oga","ogg","spx"],"prs.sid":"sid","x-aiff":"aifc","x-gsm":"gsm","x-ms-wma":"wma","x-ms-wax":"wax","x-pn-realaudio":"ram","x-realaudio":"ra","x-sd2":"sd2",adpcm:"adp",mp4:"mp4a",s3m:"s3m",silk:"sil","vnd.dece.audio":["uva","uvva"],"vnd.digital-winds":"eol","vnd.dra":"dra","vnd.dts":"dts","vnd.dts.hd":"dtshd","vnd.lucent.voice":"lvp","vnd.ms-playready.media.pya":"pya","vnd.nuera.ecelp4800":"ecelp4800","vnd.nuera.ecelp7470":"ecelp7470","vnd.nuera.ecelp9600":"ecelp9600","vnd.rip":"rip",webm:"weba","x-caf":"caf","x-matroska":"mka","x-pn-realaudio-plugin":"rmp",xm:"xm",aac:"aac",aiff:["aiff","aif","aff"],opus:"opus",wav:"wav"},chemical:{"x-alchemy":"alc","x-cache":["cac","cache"],"x-cache-csf":"csf","x-cactvs-binary":["cbin","cascii","ctab"],"x-cdx":"cdx","x-chem3d":"c3d","x-cif":"cif","x-cmdf":"cmdf","x-cml":"cml","x-compass":"cpa","x-crossfire":"bsd","x-csml":["csml","csm"],"x-ctx":"ctx","x-cxf":["cxf","cef"],"x-embl-dl-nucleotide":["emb","embl"],"x-gamess-input":["inp","gam","gamin"],"x-gaussian-checkpoint":["fch","fchk"],"x-gaussian-cube":"cub","x-gaussian-input":["gau","gjc","gjf"],"x-gaussian-log":"gal","x-gcg8-sequence":"gcg","x-genbank":"gen","x-hin":"hin","x-isostar":["istr","ist"],"x-jcamp-dx":["jdx","dx"],"x-kinemage":"kin","x-macmolecule":"mcm","x-macromodel-input":"mmod","x-mdl-molfile":"mol","x-mdl-rdfile":"rd","x-mdl-rxnfile":"rxn","x-mdl-sdfile":"sd","x-mdl-tgf":"tgf","x-mmcif":"mcif","x-mol2":"mol2","x-molconn-Z":"b","x-mopac-graph":"gpt","x-mopac-input":["mop","mopcrt","zmt"],"x-mopac-out":"moo","x-ncbi-asn1":"asn","x-ncbi-asn1-ascii":["prt","ent"],"x-ncbi-asn1-binary":"val","x-rosdal":"ros","x-swissprot":"sw","x-vamas-iso14976":"vms","x-vmd":"vmd","x-xtel":"xtel","x-xyz":"xyz"},font:{otf:"otf",woff:"woff",woff2:"woff2"},image:{gif:"gif",ief:"ief",jpeg:["jpeg","jpg","jpe","jfif","jfif-tbnl","jif"],pcx:"pcx",png:"png","svg+xml":["svg","svgz"],tiff:["tiff","tif"],"vnd.djvu":["djvu","djv"],"vnd.wap.wbmp":"wbmp","x-canon-cr2":"cr2","x-canon-crw":"crw","x-cmu-raster":"ras","x-coreldraw":"cdr","x-coreldrawpattern":"pat","x-coreldrawtemplate":"cdt","x-corelphotopaint":"cpt","x-epson-erf":"erf","x-icon":"ico","x-jg":"art","x-jng":"jng","x-nikon-nef":"nef","x-olympus-orf":"orf","x-portable-anymap":"pnm","x-portable-bitmap":"pbm","x-portable-graymap":"pgm","x-portable-pixmap":"ppm","x-rgb":"rgb","x-xbitmap":"xbm","x-xpixmap":"xpm","x-xwindowdump":"xwd",bmp:"bmp",cgm:"cgm",g3fax:"g3",ktx:"ktx","prs.btif":"btif",sgi:"sgi","vnd.dece.graphic":["uvi","uvvi","uvg","uvvg"],"vnd.dwg":"dwg","vnd.dxf":"dxf","vnd.fastbidsheet":"fbs","vnd.fpx":"fpx","vnd.fst":"fst","vnd.fujixerox.edmics-mmr":"mmr","vnd.fujixerox.edmics-rlc":"rlc","vnd.ms-modi":"mdi","vnd.ms-photo":"wdp","vnd.net-fpx":"npx","vnd.xiff":"xif",webp:"webp","x-3ds":"3ds","x-cmx":"cmx","x-freehand":["fh","fhc","fh4","fh5","fh7"],"x-pict":["pic","pct"],"x-tga":"tga","cis-cod":"cod",avif:"avifs",heic:["heif","heic"],pjpeg:["pjpg"],"vnd.adobe.photoshop":"psd","x-adobe-dng":"dng","x-fuji-raf":"raf","x-icns":"icns","x-kodak-dcr":"dcr","x-kodak-k25":"k25","x-kodak-kdc":"kdc","x-minolta-mrw":"mrw","x-panasonic-raw":["raw","rw2","rwl"],"x-pentax-pef":["pef","ptx"],"x-sigma-x3f":"x3f","x-sony-arw":"arw","x-sony-sr2":"sr2","x-sony-srf":"srf"},message:{rfc822:["eml","mime","mht","mhtml","nws"]},model:{iges:["igs","iges"],mesh:["msh","mesh","silo"],vrml:["wrl","vrml"],"x3d+vrml":["x3dv","x3dvz"],"x3d+xml":"x3dz","x3d+binary":["x3db","x3dbz"],"vnd.collada+xml":"dae","vnd.dwf":"dwf","vnd.gdl":"gdl","vnd.gtw":"gtw","vnd.mts":"mts","vnd.usdz+zip":"usdz","vnd.vtu":"vtu"},text:{"cache-manifest":["manifest","appcache"],calendar:["ics","icz","ifb"],css:"css",csv:"csv",h323:"323",html:["html","htm","shtml","stm"],iuls:"uls",plain:["txt","text","brf","conf","def","list","log","in","bas","diff","ksh"],richtext:"rtx",scriptlet:["sct","wsc"],texmacs:"tm","tab-separated-values":"tsv","vnd.sun.j2me.app-descriptor":"jad","vnd.wap.wml":"wml","vnd.wap.wmlscript":"wmls","x-bibtex":"bib","x-boo":"boo","x-c++hdr":["h++","hpp","hxx","hh"],"x-c++src":["c++","cpp","cxx","cc"],"x-component":"htc","x-dsrc":"d","x-diff":"patch","x-haskell":"hs","x-java":"java","x-literate-haskell":"lhs","x-moc":"moc","x-pascal":["p","pas","pp","inc"],"x-pcs-gcd":"gcd","x-python":"py","x-scala":"scala","x-setext":"etx","x-tcl":["tcl","tk"],"x-tex":["tex","ltx","sty","cls"],"x-vcalendar":"vcs","x-vcard":"vcf",n3:"n3","prs.lines.tag":"dsc",sgml:["sgml","sgm"],troff:["t","tr","roff","man","me","ms"],turtle:"ttl","uri-list":["uri","uris","urls"],vcard:"vcard","vnd.curl":"curl","vnd.curl.dcurl":"dcurl","vnd.curl.scurl":"scurl","vnd.curl.mcurl":"mcurl","vnd.dvb.subtitle":"sub","vnd.fly":"fly","vnd.fmi.flexstor":"flx","vnd.graphviz":"gv","vnd.in3d.3dml":"3dml","vnd.in3d.spot":"spot","x-asm":["s","asm"],"x-c":["c","h","dic"],"x-fortran":["f","for","f77","f90"],"x-opml":"opml","x-nfo":"nfo","x-sfv":"sfv","x-uuencode":"uu",webviewhtml:"htt",javascript:"js",json:"json",markdown:["md","markdown","mdown","markdn"],"vnd.wap.si":"si","vnd.wap.sl":"sl"},video:{avif:"avif","3gpp":"3gp",annodex:"axv",dl:"dl",dv:["dif","dv"],fli:"fli",gl:"gl",mpeg:["mpeg","mpg","mpe","m1v","m2v","mp2","mpa","mpv2"],mp4:["mp4","mp4v","mpg4"],quicktime:["qt","mov"],ogg:"ogv","vnd.mpegurl":["mxu","m4u"],"x-flv":"flv","x-la-asf":["lsf","lsx"],"x-mng":"mng","x-ms-asf":["asf","asx","asr"],"x-ms-wm":"wm","x-ms-wmv":"wmv","x-ms-wmx":"wmx","x-ms-wvx":"wvx","x-msvideo":"avi","x-sgi-movie":"movie","x-matroska":["mpv","mkv","mk3d","mks"],"3gpp2":"3g2",h261:"h261",h263:"h263",h264:"h264",jpeg:"jpgv",jpm:["jpm","jpgm"],mj2:["mj2","mjp2"],"vnd.dece.hd":["uvh","uvvh"],"vnd.dece.mobile":["uvm","uvvm"],"vnd.dece.pd":["uvp","uvvp"],"vnd.dece.sd":["uvs","uvvs"],"vnd.dece.video":["uvv","uvvv"],"vnd.dvb.file":"dvb","vnd.fvt":"fvt","vnd.ms-playready.media.pyv":"pyv","vnd.uvvu.mp4":["uvu","uvvu"],"vnd.vivo":"viv",webm:"webm","x-f4v":"f4v","x-m4v":"m4v","x-ms-vob":"vob","x-smv":"smv",mp2t:"ts"},"x-conference":{"x-cooltalk":"ice"},"x-world":{"x-vrml":["vrm","flr","wrz","xaf","xof"]}};(()=>{const e={};for(const i of Object.keys(fr))for(const s of Object.keys(fr[i])){const n=fr[i][s];if("string"==typeof n)e[n]=i+"/"+s;else for(let o=0;o<n.length;o++)e[n[o]]=i+"/"+s}})(),function t(e){let i;e({workerURI:()=>(i||(i="data:text/javascript,"+encodeURIComponent('(t=>{"function"==typeof define&&define.amd?define(t):t()})(function(){"use strict";const{Array:t,Object:e,Number:n,Math:s,Error:r,Uint8Array:o,Uint16Array:i,Uint32Array:c,Int32Array:a,Map:h,DataView:f,Promise:l,TextEncoder:u,crypto:w,postMessage:p,TransformStream:d,ReadableStream:y,WritableStream:m,CompressionStream:g,DecompressionStream:S}=self,b=void 0,v="undefined",k="function",z=[];for(let t=0;256>t;t++){let e=t;for(let t=0;8>t;t++)1&e?e=e>>>1^3988292384:e>>>=1;z[t]=e}class C{constructor(t){this.t=t||-1}append(t){let e=0|this.t;for(let n=0,s=0|t.length;s>n;n++)e=e>>>8^z[255&(e^t[n])];this.t=e}get(){return~this.t}}class A extends d{constructor(){let t;const e=new C;super({transform(t,n){e.append(t),n.enqueue(t)},flush(){const n=new o(4);new f(n.buffer).setUint32(0,e.get()),t.value=n}}),t=this}}const x={concat(t,e){if(0===t.length||0===e.length)return t.concat(e);const n=t[t.length-1],s=x.o(n);return 32===s?t.concat(e):x.i(e,s,0|n,t.slice(0,t.length-1))},h(t){const e=t.length;if(0===e)return 0;const n=t[e-1];return 32*(e-1)+x.o(n)},l(t,e){if(32*t.length<e)return t;const n=(t=t.slice(0,s.ceil(e/32))).length;return e&=31,n>0&&e&&(t[n-1]=x.u(e,t[n-1]&2147483648>>e-1,1)),t},u:(t,e,n)=>32===t?e:(n?0|e:e<<32-t)+1099511627776*t,o:t=>s.round(t/1099511627776)||32,i(t,e,n,s){for(void 0===s&&(s=[]);e>=32;e-=32)s.push(n),n=0;if(0===e)return s.concat(t);for(let r=0;r<t.length;r++)s.push(n|t[r]>>>e),n=t[r]<<32-e;const r=t.length?t[t.length-1]:0,o=x.o(r);return s.push(x.u(e+o&31,e+o>32?n:s.pop(),1)),s}},I={bytes:{p(t){const e=x.h(t)/8,n=new o(e);let s;for(let r=0;e>r;r++)3&r||(s=t[r/4]),n[r]=s>>>24,s<<=8;return n},m(t){const e=[];let n,s=0;for(n=0;n<t.length;n++)s=s<<8|t[n],3&~n||(e.push(s),s=0);return 3&n&&e.push(x.u(8*(3&n),s)),e}}},R=class{constructor(t){const e=this;e.blockSize=512,e.S=[1732584193,4023233417,2562383102,271733878,3285377520],e.v=[1518500249,1859775393,2400959708,3395469782],t?(e.k=t.k.slice(0),e.C=t.C.slice(0),e.A=t.A):e.reset()}reset(){const t=this;return t.k=t.S.slice(0),t.C=[],t.A=0,t}update(t){const e=this;"string"==typeof t&&(t=I.I.m(t));const n=e.C=x.concat(e.C,t),s=e.A,o=e.A=s+x.h(t);if(o>9007199254740991)throw new r("Cannot hash more than 2^53 - 1 bits");const i=new c(n);let a=0;for(let t=e.blockSize+s-(e.blockSize+s&e.blockSize-1);o>=t;t+=e.blockSize)e.R(i.subarray(16*a,16*(a+1))),a+=1;return n.splice(0,16*a),e}P(){const t=this;let e=t.C;const n=t.k;e=x.concat(e,[x.u(1,1)]);for(let t=e.length+2;15&t;t++)e.push(0);for(e.push(s.floor(t.A/4294967296)),e.push(0|t.A);e.length;)t.R(e.splice(0,16));return t.reset(),n}U(t,e,n,s){return t>19?t>39?t>59?t>79?void 0:e^n^s:e&n|e&s|n&s:e^n^s:e&n|~e&s}V(t,e){return e<<t|e>>>32-t}R(e){const n=this,r=n.k,o=t(80);for(let t=0;16>t;t++)o[t]=e[t];let i=r[0],c=r[1],a=r[2],h=r[3],f=r[4];for(let t=0;79>=t;t++){16>t||(o[t]=n.V(1,o[t-3]^o[t-8]^o[t-14]^o[t-16]));const e=n.V(5,i)+n.U(t,c,a,h)+f+o[t]+n.v[s.floor(t/20)]|0;f=h,h=a,a=n.V(30,c),c=i,i=e}r[0]=r[0]+i|0,r[1]=r[1]+c|0,r[2]=r[2]+a|0,r[3]=r[3]+h|0,r[4]=r[4]+f|0}},P={getRandomValues(t){const e=new c(t.buffer),n=t=>{let e=987654321;const n=4294967295;return()=>(e=36969*(65535&e)+(e>>16)&n,(((e<<16)+(t=18e3*(65535&t)+(t>>16)&n)&n)/4294967296+.5)*(s.random()>.5?1:-1))};for(let r,o=0;o<t.length;o+=4){const t=n(4294967296*(r||s.random()));r=987654071*t(),e[o/4]=4294967296*t()|0}return t}},U={importKey:t=>new U.M(I.bytes.m(t)),_(t,e,n,s){if(n=n||1e4,0>s||0>n)throw new r("invalid params to pbkdf2");const o=1+(s>>5)<<2;let i,c,a,h,l;const u=new ArrayBuffer(o),w=new f(u);let p=0;const d=x;for(e=I.bytes.m(e),l=1;(o||1)>p;l++){for(i=c=t.encrypt(d.concat(e,[l])),a=1;n>a;a++)for(c=t.encrypt(c),h=0;h<c.length;h++)i[h]^=c[h];for(a=0;(o||1)>p&&a<i.length;a++)w.setInt32(p,i[a]),p+=4}return u.slice(0,s/8)},M:class{constructor(t){const e=this,n=e.B=R,s=[[],[]];e.D=[new n,new n];const r=e.D[0].blockSize/32;t.length>r&&(t=(new n).update(t).P());for(let e=0;r>e;e++)s[0][e]=909522486^t[e],s[1][e]=1549556828^t[e];e.D[0].update(s[0]),e.D[1].update(s[1]),e.W=new n(e.D[0])}reset(){const t=this;t.W=new t.B(t.D[0]),t.K=!1}update(t){this.K=!0,this.W.update(t)}digest(){const t=this,e=t.W.P(),n=new t.B(t.D[1]).update(e).P();return t.reset(),n}encrypt(t){if(this.K)throw new r("encrypt on already updated hmac called!");return this.update(t),this.digest(t)}}},V=typeof w!=v&&typeof w.getRandomValues==k,M="Invalid password",_="Invalid signature",B="zipjs-abort-check-password";function D(t){return V?w.getRandomValues(t):P.getRandomValues(t)}const W=16,K={name:"PBKDF2"},E=e.assign({hash:{name:"HMAC"}},K),L=e.assign({iterations:1e3,hash:{name:"SHA-1"}},K),O=["deriveBits"],T=[8,12,16],j=[16,24,32],H=10,Z=[0,0,0,0],F=typeof w!=v,N=F&&w.subtle,q=F&&typeof N!=v,G=I.bytes,J=class{constructor(t){const e=this;e.L=[[[],[],[],[],[]],[[],[],[],[],[]]],e.L[0][0][0]||e.O();const n=e.L[0][4],s=e.L[1],o=t.length;let i,c,a,h=1;if(4!==o&&6!==o&&8!==o)throw new r("invalid aes key size");for(e.v=[c=t.slice(0),a=[]],i=o;4*o+28>i;i++){let t=c[i-1];(i%o===0||8===o&&i%o===4)&&(t=n[t>>>24]<<24^n[t>>16&255]<<16^n[t>>8&255]<<8^n[255&t],i%o===0&&(t=t<<8^t>>>24^h<<24,h=h<<1^283*(h>>7))),c[i]=c[i-o]^t}for(let t=0;i;t++,i--){const e=c[3&t?i:i-4];a[t]=4>=i||4>t?e:s[0][n[e>>>24]]^s[1][n[e>>16&255]]^s[2][n[e>>8&255]]^s[3][n[255&e]]}}encrypt(t){return this.T(t,0)}decrypt(t){return this.T(t,1)}O(){const t=this.L[0],e=this.L[1],n=t[4],s=e[4],r=[],o=[];let i,c,a,h;for(let t=0;256>t;t++)o[(r[t]=t<<1^283*(t>>7))^t]=t;for(let f=i=0;!n[f];f^=c||1,i=o[i]||1){let o=i^i<<1^i<<2^i<<3^i<<4;o=o>>8^255&o^99,n[f]=o,s[o]=f,h=r[a=r[c=r[f]]];let l=16843009*h^65537*a^257*c^16843008*f,u=257*r[o]^16843008*o;for(let n=0;4>n;n++)t[n][f]=u=u<<24^u>>>8,e[n][o]=l=l<<24^l>>>8}for(let n=0;5>n;n++)t[n]=t[n].slice(0),e[n]=e[n].slice(0)}T(t,e){if(4!==t.length)throw new r("invalid aes block size");const n=this.v[e],s=n.length/4-2,o=[0,0,0,0],i=this.L[e],c=i[0],a=i[1],h=i[2],f=i[3],l=i[4];let u,w,p,d=t[0]^n[0],y=t[e?3:1]^n[1],m=t[2]^n[2],g=t[e?1:3]^n[3],S=4;for(let t=0;s>t;t++)u=c[d>>>24]^a[y>>16&255]^h[m>>8&255]^f[255&g]^n[S],w=c[y>>>24]^a[m>>16&255]^h[g>>8&255]^f[255&d]^n[S+1],p=c[m>>>24]^a[g>>16&255]^h[d>>8&255]^f[255&y]^n[S+2],g=c[g>>>24]^a[d>>16&255]^h[y>>8&255]^f[255&m]^n[S+3],S+=4,d=u,y=w,m=p;for(let t=0;4>t;t++)o[e?3&-t:t]=l[d>>>24]<<24^l[y>>16&255]<<16^l[m>>8&255]<<8^l[255&g]^n[S++],u=d,d=y,y=m,m=g,g=u;return o}},Q=class{constructor(t,e){this.j=t,this.H=e,this.Z=e}reset(){this.Z=this.H}update(t){return this.F(this.j,t,this.Z)}N(t){if(255&~(t>>24))t+=1<<24;else{let e=t>>16&255,n=t>>8&255,s=255&t;255===e?(e=0,255===n?(n=0,255===s?s=0:++s):++n):++e,t=0,t+=e<<16,t+=n<<8,t+=s}return t}q(t){0===(t[0]=this.N(t[0]))&&(t[1]=this.N(t[1]))}F(t,e,n){let s;if(!(s=e.length))return[];const r=x.h(e);for(let r=0;s>r;r+=4){this.q(n);const s=t.encrypt(n);e[r]^=s[0],e[r+1]^=s[1],e[r+2]^=s[2],e[r+3]^=s[3]}return x.l(e,r)}},X=U.M;let Y=F&&q&&typeof N.importKey==k,$=F&&q&&typeof N.deriveBits==k;class tt extends d{constructor({password:t,rawPassword:n,signed:s,encryptionStrength:i,checkPasswordOnly:c}){super({start(){e.assign(this,{ready:new l(t=>this.G=t),password:rt(t,n),signed:s,J:i-1,pending:new o})},async transform(t,e){const n=this,{password:s,J:i,G:a,ready:h}=n;s?(await(async(t,e,n,s)=>{const o=await st(t,e,n,it(s,0,T[e])),i=it(s,T[e]);if(o[0]!=i[0]||o[1]!=i[1])throw new r(M)})(n,i,s,it(t,0,T[i]+2)),t=it(t,T[i]+2),c?e.error(new r(B)):a()):await h;const f=new o(t.length-H-(t.length-H)%W);e.enqueue(nt(n,t,f,0,H,!0))},async flush(t){const{signed:e,X:n,Y:s,pending:i,ready:c}=this;if(s&&n){await c;const a=it(i,0,i.length-H),h=it(i,i.length-H);let f=new o;if(a.length){const t=at(G,a);s.update(t);const e=n.update(t);f=ct(G,e)}if(e){const t=it(ct(G,s.digest()),0,H);for(let e=0;H>e;e++)if(t[e]!=h[e])throw new r(_)}t.enqueue(f)}}})}}class et extends d{constructor({password:t,rawPassword:n,encryptionStrength:s}){let r;super({start(){e.assign(this,{ready:new l(t=>this.G=t),password:rt(t,n),J:s-1,pending:new o})},async transform(t,e){const n=this,{password:s,J:r,G:i,ready:c}=n;let a=new o;s?(a=await(async(t,e,n)=>{const s=D(new o(T[e]));return ot(s,await st(t,e,n,s))})(n,r,s),i()):await c;const h=new o(a.length+t.length-t.length%W);h.set(a,0),e.enqueue(nt(n,t,h,a.length,0))},async flush(t){const{X:e,Y:n,pending:s,ready:i}=this;if(n&&e){await i;let c=new o;if(s.length){const t=e.update(at(G,s));n.update(t),c=ct(G,t)}r.signature=ct(G,n.digest()).slice(0,H),t.enqueue(ot(c,r.signature))}}}),r=this}}function nt(t,e,n,s,r,i){const{X:c,Y:a,pending:h}=t,f=e.length-r;let l;for(h.length&&(e=ot(h,e),n=((t,e)=>{if(e&&e>t.length){const n=t;(t=new o(e)).set(n,0)}return t})(n,f-f%W)),l=0;f-W>=l;l+=W){const t=at(G,it(e,l,l+W));i&&a.update(t);const r=c.update(t);i||a.update(r),n.set(ct(G,r),l+s)}return t.pending=it(e,l),n}async function st(n,s,r,i){n.password=null;const c=await(async(t,e,n,s,r)=>{if(!Y)return U.importKey(e);try{return await N.importKey("raw",e,n,!1,r)}catch{return Y=!1,U.importKey(e)}})(0,r,E,0,O),a=await(async(t,e,n)=>{if(!$)return U._(e,t.salt,L.iterations,n);try{return await N.deriveBits(t,e,n)}catch{return $=!1,U._(e,t.salt,L.iterations,n)}})(e.assign({salt:i},L),c,8*(2*j[s]+2)),h=new o(a),f=at(G,it(h,0,j[s])),l=at(G,it(h,j[s],2*j[s])),u=it(h,2*j[s]);return e.assign(n,{keys:{key:f,$:l,passwordVerification:u},X:new Q(new J(f),t.from(Z)),Y:new X(l)}),u}function rt(t,e){return e===b?(t=>{if(typeof u==v){const e=new o((t=unescape(encodeURIComponent(t))).length);for(let n=0;n<e.length;n++)e[n]=t.charCodeAt(n);return e}return(new u).encode(t)})(t):e}function ot(t,e){let n=t;return t.length+e.length&&(n=new o(t.length+e.length),n.set(t,0),n.set(e,t.length)),n}function it(t,e,n){return t.subarray(e,n)}function ct(t,e){return t.p(e)}function at(t,e){return t.m(e)}class ht extends d{constructor({password:t,passwordVerification:n,checkPasswordOnly:s}){super({start(){e.assign(this,{password:t,passwordVerification:n}),wt(this,t)},transform(t,e){const n=this;if(n.password){const e=lt(n,t.subarray(0,12));if(n.password=null,e.at(-1)!=n.passwordVerification)throw new r(M);t=t.subarray(12)}s?e.error(new r(B)):e.enqueue(lt(n,t))}})}}class ft extends d{constructor({password:t,passwordVerification:n}){super({start(){e.assign(this,{password:t,passwordVerification:n}),wt(this,t)},transform(t,e){const n=this;let s,r;if(n.password){n.password=null;const e=D(new o(12));e[11]=n.passwordVerification,s=new o(t.length+e.length),s.set(ut(n,e),0),r=12}else s=new o(t.length),r=0;s.set(ut(n,t),r),e.enqueue(s)}})}}function lt(t,e){const n=new o(e.length);for(let s=0;s<e.length;s++)n[s]=dt(t)^e[s],pt(t,n[s]);return n}function ut(t,e){const n=new o(e.length);for(let s=0;s<e.length;s++)n[s]=dt(t)^e[s],pt(t,e[s]);return n}function wt(t,n){const s=[305419896,591751049,878082192];e.assign(t,{keys:s,tt:new C(s[0]),et:new C(s[2])});for(let e=0;e<n.length;e++)pt(t,n.charCodeAt(e))}function pt(t,e){let[n,r,o]=t.keys;t.tt.append([e]),n=~t.tt.get(),r=mt(s.imul(mt(r+yt(n)),134775813)+1),t.et.append([r>>>24]),o=~t.et.get(),t.keys=[n,r,o]}function dt(t){const e=2|t.keys[2];return yt(s.imul(e,1^e)>>>8)}function yt(t){return 255&t}function mt(t){return 4294967295&t}class gt extends d{constructor(t,{chunkSize:e,nt:n,CompressionStream:s}){super({});const{compressed:r,encrypted:o,useCompressionStream:i,zipCrypto:c,signed:a,level:h}=t,l=this;let u,w,p=super.readable;o&&!c||!a||(u=new A,p=kt(p,u)),r&&(p=vt(p,i,{level:h,chunkSize:e},s,n,s)),o&&(c?p=kt(p,new ft(t)):(w=new et(t),p=kt(p,w))),bt(l,p,()=>{let t;o&&!c&&(t=w.signature),o&&!c||!a||(t=new f(u.value.buffer).getUint32(0)),l.signature=t})}}class St extends d{constructor(t,{chunkSize:e,st:n,DecompressionStream:s}){super({});const{zipCrypto:o,encrypted:i,signed:c,signature:a,compressed:h,useCompressionStream:l,rt:u}=t;let w,p,d=super.readable;i&&(o?d=kt(d,new ht(t)):(p=new tt(t),d=kt(d,p))),h&&(d=vt(d,l,{chunkSize:e,rt:u},s,n,s)),i&&!o||!c||(w=new A,d=kt(d,w)),bt(this,d,()=>{if((!i||o)&&c){const t=new f(w.value.buffer);if(a!=t.getUint32(0,!1))throw new r(_)}})}}function bt(t,n,s){n=kt(n,new d({flush:s})),e.defineProperty(t,"readable",{get:()=>n})}function vt(t,e,n,s,r,o){const i=e&&s?s:r||o,c=n.rt?"deflate64-raw":"deflate-raw";try{t=kt(t,new i(c,n))}catch(s){if(!e)throw s;if(r)t=kt(t,new r(c,n));else{if(!o)throw s;t=kt(t,new o(c,n))}}return t}function kt(t,e){return t.pipeThrough(e)}const zt="data",Ct="close";class At extends d{constructor(t,n){super({});const s=this,{codecType:o}=t;let i;o.startsWith("deflate")?i=gt:o.startsWith("inflate")&&(i=St),s.outputSize=0;let c=0;const a=new i(t,n),h=super.readable,f=new d({transform(t,e){t&&t.length&&(c+=t.length,e.enqueue(t))},flush(){e.assign(s,{inputSize:c})}}),l=new d({transform(e,n){if(e&&e.length&&(n.enqueue(e),s.outputSize+=e.length,t.outputSize!==b&&s.outputSize>t.outputSize))throw new r("Invalid uncompressed size")},flush(){const{signature:t}=a;e.assign(s,{signature:t,inputSize:c})}});e.defineProperty(s,"readable",{get:()=>h.pipeThrough(f).pipeThrough(a).pipeThrough(l)})}}class xt extends d{constructor(t){let e;super({transform:function n(s,r){if(e){const t=new o(e.length+s.length);t.set(e),t.set(s,e.length),s=t,e=null}s.length>t?(r.enqueue(s.slice(0,t)),n(s.slice(t),r)):e=s},flush(t){e&&e.length&&t.enqueue(e)}})}}const It=new h,Rt=new h;let Pt,Ut,Vt,Mt,_t,Bt=0;async function Dt(t){try{const{options:e,config:s}=t;if(!e.useCompressionStream)try{await self.initModule(t.config)}catch{e.useCompressionStream=!0}s.CompressionStream=self.CompressionStream,s.DecompressionStream=self.DecompressionStream;const r={highWaterMark:1},o=t.readable||new y({async pull(t){const e=new l(t=>It.set(Bt,t));Wt({type:"pull",messageId:Bt}),Bt=(Bt+1)%n.MAX_SAFE_INTEGER;const{value:s,done:r}=await e;t.enqueue(s),r&&t.close()}},r),i=t.writable||new m({async write(t){let e;const s=new l(t=>e=t);Rt.set(Bt,e),Wt({type:zt,value:t,messageId:Bt}),Bt=(Bt+1)%n.MAX_SAFE_INTEGER,await s}},r),c=new At(e,s);Pt=new AbortController;const{signal:a}=Pt;await o.pipeThrough(c).pipeThrough(new xt(s.chunkSize)).pipeTo(i,{signal:a,preventClose:!0,preventAbort:!0}),await i.getWriter().close();const{signature:h,inputSize:f,outputSize:u}=c;Wt({type:Ct,result:{signature:h,inputSize:f,outputSize:u}})}catch(t){t.outputSize=0,Kt(t)}}function Wt(t){let{value:e}=t;if(e)if(e.length)try{e=new o(e),t.value=e.buffer,p(t,[t.value])}catch{p(t)}else p(t);else p(t)}function Kt(t=new r("Unknown error")){const{message:e,stack:n,code:s,name:o,outputSize:i}=t;p({error:{message:e,stack:n,code:s,name:o,outputSize:i}})}function Et(t,e,n={}){const i="number"==typeof n.level?n.level:-1,c="number"==typeof n.ot?n.ot:65536,a="number"==typeof n.it?n.it:65536;return new d({start(){let n;if(this.ct=Vt(c),this.in=Vt(a),this.it=a,this.ht=new o(c),t?(this.ft=Ut.deflate_process,this.lt=Ut.deflate_last_consumed,this.ut=Ut.deflate_end,this.wt=Ut.deflate_new(),n="gzip"===e?Ut.deflate_init_gzip(this.wt,i):"deflate-raw"===e?Ut.deflate_init_raw(this.wt,i):Ut.deflate_init(this.wt,i)):"deflate64-raw"===e?(this.ft=Ut.inflate9_process,this.lt=Ut.inflate9_last_consumed,this.ut=Ut.inflate9_end,this.wt=Ut.inflate9_new(),n=Ut.inflate9_init_raw(this.wt)):(this.ft=Ut.inflate_process,this.lt=Ut.inflate_last_consumed,this.ut=Ut.inflate_end,this.wt=Ut.inflate_new(),n="deflate-raw"===e?Ut.inflate_init_raw(this.wt):"gzip"===e?Ut.inflate_init_gzip(this.wt):Ut.inflate_init(this.wt)),0!==n)throw new r("init failed:"+n)},transform(e,n){try{const i=e,a=new o(_t.buffer),h=this.ft,f=this.lt,l=this.ct,u=this.ht;let w=0;for(;w<i.length;){const e=s.min(i.length-w,32768);this.in&&this.it>=e||(this.in&&Mt&&Mt(this.in),this.in=Vt(e),this.it=e),a.set(i.subarray(w,w+e),this.in);const o=h(this.wt,this.in,e,l,c,0),p=16777215&o;if(p&&(u.set(a.subarray(l,l+p),0),n.enqueue(u.slice(0,p))),!t){const t=o>>24&255,e=128&t?t-256:t;if(0>e)throw new r("process error:"+e)}const d=f(this.wt);if(0===d)break;w+=d}}catch(t){this.ut&&this.wt&&this.ut(this.wt),this.in&&Mt&&Mt(this.in),this.ct&&Mt&&Mt(this.ct),n.error(t)}},flush(e){try{const n=new o(_t.buffer),s=this.ft,i=this.ct,a=this.ht;for(;;){const o=s(this.wt,0,0,i,c,4),h=16777215&o,f=o>>24&255;if(!t){const t=128&f?f-256:f;if(0>t)throw new r("process error:"+t)}if(h&&(a.set(n.subarray(i,i+h),0),e.enqueue(a.slice(0,h))),1===f||0===h)break}}catch(t){e.error(t)}finally{if(this.ut&&this.wt){const t=this.ut(this.wt);0!==t&&e.error(new r("end error:"+t))}this.in&&Mt&&Mt(this.in),this.ct&&Mt&&Mt(this.ct)}}})}addEventListener("message",({data:t})=>{const{type:e,messageId:n,value:s,done:r}=t;try{if("start"==e&&Dt(t),e==zt){const t=It.get(n);It.delete(n),t({value:new o(s),done:r})}if("ack"==e){const t=Rt.get(n);Rt.delete(n),t()}e==Ct&&Pt.abort()}catch(t){Kt(t)}});class Lt{constructor(t="deflate",e){return Et(!0,t,e)}}class Ot{constructor(t="deflate",e){return Et(!1,t,e)}}let Tt=!1;self.initModule=async t=>{try{const e=await(async(t,{baseURI:e})=>{if(!Tt){let n,s;try{try{s=new URL(t,e)}catch{}const r=await fetch(s);n=await r.arrayBuffer()}catch(e){if(!t.startsWith("data:application/wasm;base64,"))throw e;n=(t=>{const e=t.split(",")[1],n=atob(e),s=n.length,r=new o(s);for(let t=0;s>t;++t)r[t]=n.charCodeAt(t);return r.buffer})(t)}(t=>{if(Ut=t,({malloc:Vt,free:Mt,memory:_t}=Ut),"function"!=typeof Vt||"function"!=typeof Mt||!_t)throw Ut=Vt=Mt=_t=null,new r("Invalid WASM module")})((await WebAssembly.instantiate(n)).instance.exports),Tt=!0}})(t.wasmURI,t);return t.nt=Lt,t.st=Ot,e}catch{}}});\n')),i)})}(configure),window.validLicenseCheckPassed=!0,window.systemVerified=!0,window.initComplete=!0;const Ar=["","Uk-FGRkF-FTExPOiBO-byBsaWNlb-nNlIGtleSB-wcm92aWRlZA==","UkFGRk-FFTExPOiBJbnZhbGlk-IG9yIHVuYXV0-aG9yaXp-lZCBsa-WNlbnNlIGtleQ==","UkFGR-kFFTE-xPOiBDb3VsZCBub3QgdmFsaWRhdGU-gbGljZW5zZSBrZX-kgKG5ldHdvcmsg-aXNzdWU/KQ==","aHR0cHM6Ly9-yYWZmYW-VsbG8ub25yZW5kZXIuY29tL2xpY2Vu-Y2U/a2V5PQ==","JmRv-bWFp-bj0=","UkFGRkF-FTExPX2xpY-2VuY2-VfY2hlY2-tlZF8=","Um-FmZmF-lbGxvX0N-hbnZh-cw==","c-mVuZ-GV-y","cmVu-ZGVy-UH-Jldmlldw==","dm-FsaW-Q=","TGljZW5-zZSB2YWxpZGF0aW9uIGNvdWxkIG5-vdCBiZSBjb25maXJtZWQuIENvbnRpbn-Vpbmcgd2l0aG91dCBkaXNhY-mxpbmcu","c2N-yaXB0W3N-yYyo9InJhZ-mZhZWxsbyJd","c2N-yaXB0W3N-yYyo9InJhZ-mZhZWxsbyJd",""];function a(e){return atob(Ar[e].split("").filter((e=>"-"!==e)).join(""))}window.r_o=!0;class Raffaello_CanvasLayer{constructor(e,i,s="normal",n=null,o=null){this.canvas=document.createElement("canvas"),this.canvas.width=e,this.canvas.height=i,this.context=this.canvas.getContext("2d",{willReadFrequently:!0}),this.type=s,this.effect=n,this.drawInstructions=null,this.index=o,this.idx=o,this.bounds={minX:null,minY:null,maxX:null,maxY:null},this.width=e,this.height=i,this.isDrawn=!1}draw(e){this.drawInstructions=e;const i=this.context;return this.drawInstructions(i),this.isDrawn=!0,this}drawText(e){if(!e.text)return void(this.bounds={minX:null,maxX:null,minY:null,maxY:null});let i;if(e.text instanceof HTMLInputElement||e.text instanceof HTMLTextAreaElement)i=e.text.value;else{if("string"!=typeof e.text)return console.log("Error on the drawText(), the text input is not a valid string."),void console.log(e.text);i=e.text}const s={fontKerningOptical:!1,fontLetterSpacing:0,textAlign:{horizontal:"left",vertical:"bottom"},textBaseline:"alphabetic",anchorPoint:"none",bounds:[!0,!0]};let n={...s,...e,textAlign:{...s.textAlign,...e.textAlign},bounds:{...s.bounds,...e.bounds}};n.fontLineHeight=e.fontLineHeight??e.fontSize??30,n.position={x:e.position.x??e.position.pos_x??0,y:e.position.y??e.position.pos_y??0,maxWidth:e.position.maxWidth??e.position.max_width??0,maxWidthRescale:e.position.maxWidthRescale??e.position.max_width_rescale??!1,maxLines:e.position.maxLines??e.position.max_lines??0,ignoreEmptyLines:e.position.ignoreEmptyLines??e.position.ignore_empty_lines??!0,ignoreDoubleSpaces:e.position.ignoreDoubleSpaces??e.position.ignore_double_spaces??!0};let o=i.split("\n");!1!==n.position.ignoreEmptyLines&&(o=o.filter((e=>e.trim().length>0))),o=o.map((e=>e.trim())),!1!==n.position.ignoreDoubleSpaces&&(o=o.map((e=>e.replace(/\s+/g," ")))),this.context.font=`${n.fontSize}px ${n.fontFamily}`,this.context.letterSpacing=n.fontSize/100*n.fontLetterSpacing+"px",this.context.textAlign=n.textAlign.horizontal,this.context.textBaseline=n.textBaseline,this.context.fontKerning=n.fontKerningOptical?"auto":"normal";let c=o.reduce(((e,i)=>Math.max(e,this.context.measureText(i.replaceAll("§","")).actualBoundingBoxRight+this.context.measureText(i.replaceAll("§","")).actualBoundingBoxLeft)),0),l=1;if(n.position.maxWidth&&n.position.maxWidthRescale)l=c>n.position.maxWidth?1/c*n.position.maxWidth:1;else if(n.position.maxWidth&&!n.position.maxWidthRescale){let e=[];o.forEach((i=>{let s=i.split(" "),o="";s.forEach(((i,c)=>{let l=o+(o?" ":"")+i;this.context.measureText(l.replaceAll("§","")).width>n.position.maxWidth&&""!==o?(e.push(o),o=i):o=l,c===s.length-1&&e.push(o)}))})),o=e,c=o.reduce(((e,i)=>Math.max(e,this.context.measureText(i.replaceAll("§","")).actualBoundingBoxRight+this.context.measureText(i.replaceAll("§","")).actualBoundingBoxLeft)),0)}n.position.maxLines&&(o=o.slice(0,n.position.maxLines)),this.context.font=`${n.fontSize*l}px ${n.fontFamily}`,this.context.letterSpacing=n.fontSize*l/100*n.fontLetterSpacing+"px";let d=this.context.measureText("Lp");n.bounds&&(!n.bounds[0]&&n.bounds[1]?d=this.context.measureText("p"):n.bounds[0]&&!n.bounds[1]?d=this.context.measureText("L"):n.bounds[0]||n.bounds[1]||(d=this.context.measureText("x")));let h=0;switch(this.context.textAlign="left",n.anchorPoint){default:case"none":break;case"true":h=this.context.measureText(o[0].slice(0,1)).actualBoundingBoxLeft;break;case"L":h=this.context.measureText("L").actualBoundingBoxLeft}this.context.textAlign=n.textAlign.horizontal;let u=n.position.x,m=n.position.y+d.actualBoundingBoxDescent,p=u+c*l,f=n.position.y-d.actualBoundingBoxAscent,A=n.fontLineHeight*l*(o.length-1);switch(n.textAlign.vertical){default:case"top":m+=A;break;case"center":m+=A/2,f-=A/2;break;case"bottom":f-=A}switch(n.textAlign.horizontal){default:case"left":break;case"center":u-=c*l/2,p-=c*l/2;break;case"right":u-=c*l,p-=c*l}if(this.bounds={minX:u,maxX:p,minY:f,maxY:m},n.background){"string"==typeof n.background&&(n.background={color:n.background,cornerRadius:0,stroke:{width:0}});let e={top:0,right:0,left:0,bottom:0};n.background.margins&&(n.background.margins.top&&(e.top=n.background.margins.top),n.background.margins.bottom&&(e.bottom=n.background.margins.bottom),n.background.margins.left&&(e.left=n.background.margins.left),n.background.margins.right&&(e.right=n.background.margins.right));let i=this.bounds.minX-e.left,s=this.bounds.maxX-this.bounds.minX+e.right+e.left,o=this.bounds.minY-e.top,c=this.bounds.maxY-this.bounds.minY+e.top+e.bottom;n.background?.stroke?.width>0&&("inside"===n.background.stroke.style?(i+=n.background.stroke.width/2,o+=n.background.stroke.width/2,s-=n.background.stroke.width,c-=n.background.stroke.width):"outside"===n.background.stroke.style&&(i-=n.background.stroke.width/2,o-=n.background.stroke.width/2,s+=n.background.stroke.width,c+=n.background.stroke.width));let l=n.background.round_radius??n.background.cornerRadius??0;this.context.beginPath(),this.context.roundRect(i,o,s,c,l),this.context.fillStyle=n.background.fill_color??n.background.color??"red",this.context.fill(),n.background?.stroke?.width>0&&(this.context.lineWidth=n.background.stroke.width??0,this.context.strokeStyle=n.background.stroke.color??"blue",this.context.stroke())}o.forEach(((e,i)=>{let s,c=n.position.x+h;if("center"===n.textAlign.horizontal){this.context.textAlign="left",c-=(this.context.measureText(e.replaceAll("§","")).actualBoundingBoxRight+this.context.measureText(e.replaceAll("§","")).actualBoundingBoxLeft)/2}switch(n.textAlign.vertical){default:case"top":s=i*n.fontLineHeight*l;break;case"bottom":s=-(o.length-1-i)*n.fontLineHeight*l;break;case"center":s=-(o.length-1)*n.fontLineHeight*l/2+i*n.fontLineHeight*l}const d=e.replace(/§+$/,"").split("§");for(let e=0;e<d.length;e++){let i="right"===n.textAlign.horizontal?d.length-1-e:e,o=d[i];if(this.context.fillStyle=n.fontFillColor,this.context.font=`${n.fontSize*l}px ${n.fontFamily}`,this.context.letterSpacing=n.fontSize*l/100*n.fontLetterSpacing+"px",n.highlight&&i%2==1){this.context.fillStyle=n.highlight.fontFillColor??n.fontFillColor;let e=n.highlight.fontSize??n.fontSize,i=n.highlight.fontFamily??n.fontFamily;this.context.font=`${e*l}px ${i}`,this.context.letterSpacing=n.highlight.fontLetterSpacing?e*l/100*n.highlight.fontLetterSpacing+"px":e*l/100*n.fontLetterSpacing+"px"}this.context.fillText(o,c,n.position.y+s),c+=("right"===n.textAlign.horizontal?-1:1)*this.context.measureText(o).width}}))}drawImage(...e){let i=0,s=0,n=0,o=0;if(e[0]instanceof Raffaello_ImageCropper){const c=e[0],l=e[1]??0,d=e[2]??0,h=e[3]??Math.round(c.width),u=e[4]??Math.round(c.height);if(!c.isReady)return;this.context.drawImage("image"==c.fileType?c.config.rawImage:c.video.container,Math.round(c.config.cropInfo.x),Math.round(c.config.cropInfo.y),Math.round(c.config.cropInfo.width),Math.round(c.config.cropInfo.height),l,d,h,u),i=l,s=d,n=l+c.width,o=d+c.height}else{let c=e[0];if(e[0]instanceof Raffaello_Image&&(c=e[0].img,!e[0].isSafeForExport))return void console.warn("Can not draw (tainted)");if(1===e.length){const[l]=e;i=0,s=0,n=l.width,o=l.height,this.context.drawImage(c,0,0)}else if(3===e.length){const[l,d,h]=e;i=d,s=h,n=d+l.width,o=h+l.height,this.context.drawImage(c,d,h)}else if(5===e.length){const[l,d,h,u,m]=e;i=d,s=h,n=d+u,o=h+m,this.context.drawImage(c,d,h,u,m)}else if(9===e.length){const[l,d,h,u,m,p,f,A,w]=e;i=p,s=f,n=p+A,o=f+w,this.context.drawImage(c,d,h,u,m,p,f,A,w)}}this.bounds={minX:i,minY:s,maxX:n,maxY:o}}drawImageInput(...e){this.drawImage(...e)}drawRect(e){const i={x:e.x??0,y:e.y??0,width:e.width??this.canvas.width,height:e.height??this.canvas.height,cornerRadius:e.cornerRadius??e.radius??0,color:e.color??"black",stroke:{style:e.stroke?.style??e.strokeStyle??"middle",width:e.stroke?.width??e.strokeWidth??0,color:e.stroke?.color??e.strokeColor??"black"}},s=i.cornerRadius,[n,o,c,l]="number"==typeof s?[s,s,s,s]:Array.isArray(s)?[s[0]??0,s[1]??s[0]??0,s[2]??s[0]??0,s[3]??s[1]??0]:[0,0,0,0];let d=i.x,h=i.y,u=i.width,m=i.height;i.stroke.width>0&&("inside"===i.stroke.style?(d+=i.stroke.width/2,h+=i.stroke.width/2,u-=i.stroke.width,m-=i.stroke.width):"outside"===i.stroke.style&&(d-=i.stroke.width/2,h-=i.stroke.width/2,u+=i.stroke.width,m+=i.stroke.width));const p=this.context;p.beginPath(),p.moveTo(d+n,h),p.lineTo(d+u-o,h),p.quadraticCurveTo(d+u,h,d+u,h+o),p.lineTo(d+u,h+m-c),p.quadraticCurveTo(d+u,h+m,d+u-c,h+m),p.lineTo(d+l,h+m),p.quadraticCurveTo(d,h+m,d,h+m-l),p.lineTo(d,h+n),p.quadraticCurveTo(d,h,d+n,h),p.closePath(),p.fillStyle=i.color,p.fill(),i.stroke.width>0&&(p.strokeStyle=i.stroke.color,p.lineWidth=i.stroke.width,p.stroke())}drawStar(e){const i={x_center:0,y_center:0,spikes:5,color:"rgba(0,0,0,1)",outerRadius:100,innerRadius:150,...e};var s=Math.PI/2*3,n=i.x_center,o=i.y_center,c=Math.PI/i.spikes;this.context.beginPath(),this.context.moveTo(i.x_center,i.y_center-i.outerRadius);for(let e=0;e<i.spikes;e++)n=i.x_center+Math.cos(s)*i.outerRadius,o=i.y_center+Math.sin(s)*i.outerRadius,this.context.lineTo(n,o),s+=c,n=i.x_center+Math.cos(s)*i.innerRadius,o=i.y_center+Math.sin(s)*i.innerRadius,this.context.lineTo(n,o),s+=c;this.context.lineTo(i.x_center,i.y_center-i.outerRadius),this.context.closePath(),this.context.fillStyle=i.color,this.context.fill()}drawGradient(e){const i={x:e.x??0,y:e.y??0,width:e.width??this.canvas.width,height:e.height??this.canvas.height,angle:e.angle??0,gradient:e.gradient??[[0,"rgba(0,0,0, 0)"],[1,"rgba(0,0,0, 1)"]]};"UP"==e.direction&&(i.angle=0),"RIGHT"==e.direction&&(i.angle=90),"DOWN"==e.direction&&(i.angle=180),"LEFT"==e.direction&&(i.angle=270);const s=i.x,n=i.y,o=i.x+i.width,c=i.y,l=i.x+i.width,d=i.y+i.height,h=i.x,u=i.y+i.height,m=i.x+i.width/2,p=i.y+i.height/2;function findClosestPointFromLine(e,i,s,n,o){const c=(o-90)*Math.PI/180,l=Math.cos(c),d=Math.sin(c),h=(e-s)*l+(i-n)*d;return[s+h*l,n+h*d]}const f=i.angle%360;let A,w,b,k=0;f<=90?([A,w]=findClosestPointFromLine(h,u,m,p,f),[b,k]=findClosestPointFromLine(o,c,m,p,f)):f>90&&f<=180?([A,w]=findClosestPointFromLine(s,n,m,p,f),[b,k]=findClosestPointFromLine(l,d,m,p,f)):f>180&&f<=270?([A,w]=findClosestPointFromLine(o,c,m,p,f),[b,k]=findClosestPointFromLine(h,u,m,p,f)):f>270&&f<=360&&([A,w]=findClosestPointFromLine(l,d,m,p,f),[b,k]=findClosestPointFromLine(s,n,m,p,f));const y=this.context.createLinearGradient(A,w,b,k);for(let e=0;e<i.gradient.length;e++){let s=i.gradient[e][0],n=i.gradient[e][1];y.addColorStop(s,n)}this.context.fillStyle=y,this.context.fillRect(i.x,i.y,i.width,i.height)}prepareFilter(e){this.context.filter=e}applyFilter(e){this.context.filter=e,this.context.drawImage(this.canvas,0,0),this.context.filter="none"}applyLUT(e){e.isLoaded||console.log("LUT not loaded",e.name);const i=this.context.getImageData(0,0,this.canvas.width,this.canvas.height),s=i.data;for(let i=0;i<s.length;i+=4){const n=s[i]/255,o=s[i+1]/255,c=s[i+2]/255,[l,d,h]=apply3DLUT(n,o,c,e.lutData);s[i]=255*l,s[i+1]=255*d,s[i+2]=255*h}function apply3DLUT(e,i,s,{size:n,lut:o}){const c=n-1;return o[Math.min(Math.floor(e*c),c)+Math.min(Math.floor(i*c),c)*n+Math.min(Math.floor(s*c),c)*n*n]}this.context.putImageData(i,0,0)}update(){this.drawInstructions&&(this.clear(),this.drawInstructions(),this.isDrawn=!0)}clear(){this.context.clearRect(0,0,this.canvas.width,this.canvas.height),this.isDrawn=!1}}class Raffaello_ImageCropper{constructor(...e){this.container=null,this.config={};for(const i of e)i instanceof HTMLElement?this.container=i:"object"==typeof i&&null!==i&&(this.config=i);if(!this.container&&this.config.container instanceof HTMLElement&&(this.container=this.config.container),this.config&&0!==Object.keys(this.config).length||console.error("[Raffaello_ImageCropper] Missing configuration object. Please provide a valid config."),!this.container&&this.config.layerRef?.container instanceof HTMLElement&&(this.container=this.config.layerRef.container),!this.container)throw console.error("[Raffaello_ImageCropper] No container provided. Either pass it directly, or use config.layerRef.container."),new Error("Missing container");null==this.config.width&&(this.config.layerRef?.canvas?.width?this.config.width=this.config.layerRef.canvas.width:console.warn("[Raffaello_ImageCropper] No width provided in config, and no fallback from layerRef.canvas.width.")),null==this.config.height&&(this.config.layerRef?.canvas?.height?this.config.height=this.config.layerRef.canvas.height:console.warn("[Raffaello_ImageCropper] No height provided in config, and no fallback from layerRef.canvas.height.")),this.isLoaded=!1,this.isReady=!1,this.config.imageReady=this.isReady,this.height=this.config.height,this.width=this.config.width,this.aspectRatio=this.config.aspectRatio??this.width/this.height,this.watermark=this.config.watermark??null,this.acceptVideo=this.config.acceptVideo??!1,this.canvasRef=this.config?.layerRef?.canvas,this.fileType="image",this.video={container:null,file:null,src:null,duration:null,height:null,width:null,muted:!1,audioIsAvailable:!1,timeFps:25,timeStart:null,timeEnd:null,timeCurrent:null,isRendering:!1},this.initDynamicElements(),this.initElements(),this.initCropper(),this.bindEvents(),this.initWatermark(),this.filterValues={},this.initFilterControls()}initDynamicElements(){const e=this.container.querySelector(".raffaello-imageInput")||this.container.querySelector(".raffaello-imageContainer");if(!e)return void console.error("No valid element 'raffaello-imageInput' within the container");this.imageContainer=e,e.classList.contains("raffaello-imageContainer")||e.classList.add("raffaello-imageContainer"),e.style.backgroundColor="rgb(51, 51, 51)";if(!e.querySelector(".raffaello-cropperContainer")){e.innerHTML+="\x3c!-- CROPPER INPUT --\x3e";const i=document.createElement("img");i.className="raffaello-cropperContainer",e.appendChild(i)}e.innerHTML+="\x3c!-- FILE INPUT --\x3e";const i=document.createElement("input");i.type="file",i.className="raffaello-imageInputFile",i.accept=this.acceptVideo?"image/*,video/*":"image/*",i.style.display="none",e.appendChild(i),e.innerHTML+="\x3c!-- UPLOAD INPUT --\x3e";const s=document.createElement("div");s.className="raffaello-upload active",s.innerHTML+='\n <svg xmlns="http://www.w3.org/2000/svg" xml:space="preserve" viewBox="0 0 16 20"\n class=\'icon\'\n style="enable-background:new 0 0 16 20" >\n <path d="M7 17h2v-4.2l1.6 1.6L12 13 8 9l-4 4 1.4 1.4L7 12.8V17zm-5 3c-.6 0-1-.2-1.4-.6S0 18.5 0 18V2C0 1.5.2 1 .6.6S1.5 0 2 0h8l6 6v12c0 .5-.2 1-.6 1.4s-.8.6-1.4.6H2zM9 7V2H2v16h12V7H9zM2 2v5-5 16V2z"/>\n </svg>',e.appendChild(s),e.innerHTML+="\x3c!-- LOADING --\x3e";const n=document.createElement("div");n.className="raffaello-loading";const o=document.createElement("div");o.className="raffaello-loading-circle",n.appendChild(o),e.appendChild(n),e.innerHTML+="\x3c!-- RESTART --\x3e";const c=document.createElement("div");c.classList.add("raffaello-restart-btn"),c.innerHTML+='\n <svg xmlns="http://www.w3.org/2000/svg" xml:space="preserve" viewBox="0 0 16 18.5"\n class="icon"\n style="enable-background:new 0 0 16 18.5" >\n <path d="M7 18.5c-2-.2-3.7-1.1-5-2.6s-2-3.3-2-5.3c0-1.1.2-2.2.7-3.2s1-1.9 1.9-2.6L4 6.2c-.6.6-1.1 1.2-1.4 2S2 9.7 2 10.5c0 1.5.5 2.8 1.4 3.9s2.1 1.8 3.6 2.1v2zm2 0v-2c1.4-.3 2.6-1 3.6-2.1S14 12 14 10.5c0-1.7-.6-3.1-1.8-4.2S9.7 4.5 8 4.5h-.1L9 5.6 7.6 7 4.1 3.5 7.6 0 9 1.4 7.9 2.5H8c2.2 0 4.1.8 5.7 2.3S16 8.3 16 10.5c0 2-.7 3.8-2 5.3s-3 2.4-5 2.7z"/>\n </svg>',e.appendChild(c),e.innerHTML+="\x3c!-- VIDEO --\x3e";const l=document.createElement("div");l.classList.add("raffaello-video-settings"),l.innerHTML+='\n <svg class="raffaello-video-play-btn" viewBox="4 4 16 16" xmlns="http://www.w3.org/2000/svg" fill="white" width="24" height="24">\n <path d="M8 5v14l11-7z"/>\n </svg>\n <svg class="raffaello-video-pause-btn" viewBox="4 4 16 16" xmlns="http://www.w3.org/2000/svg" fill="white" width="24" height="24">\n <path d="M6 19h4V5H6v14zm8-14v14h4V5h-4z"/>\n </svg>\n <svg class="raffaello-video-sound-on" xmlns="http://www.w3.org/2000/svg" viewBox="4 4 16 16" fill="white" width="24" height="24">\n <path d="M3 9v6h4l5 5V4L7 9H3zm13.5 3a4.5 4.5 0 0 0-2.7-4.1v8.2a4.5 4.5 0 0 0 2.7-4.1zm2.5 0a7 7 0 0 1-4.2 6.3v-2a5 5 0 0 0 0-8.6v-2A7 7 0 0 1 19 12z"/>\n </svg>\n <svg class="raffaello-video-sound-off" xmlns="http://www.w3.org/2000/svg" viewBox="4 4 16 16" fill="white" width="24" height="24">\n <path d="M16.5 12 19 14.5 20.5 13 18 10.5 20.5 8 19 6.5 16.5 9 14 6.5 12.5 8 15 10.5 12.5 13 14 14.5 16.5 12zM3 9v6h4l5 5V4L7 9H3z"/>\n </svg>\n <div class="raffaello-timeline">\n <div class="raffaello-timeline-bubble" aria-hidden="true"></div>\n <div class="raffaello-timeline-track"></div>\n <div class="raffaello-timeline-active"></div>\n <div class="raffaello-timeline-handle start"></div>\n <div class="raffaello-timeline-handle end"></div>\n <div class="raffaello-timeline-playhead"></div>\n </div>\n ',e.appendChild(l);const d=document.createElement("div");d.classList.add("raffaello-video-overlay"),d.innerHTML+='\n <video playsinline autoplay muted loop></video>\n\n <div class="raffaello-render-hud">\n <div class="raffaello-render-title">Rendering <span class="raffaello-render-percent">0%</span></div>\n <div class="raffaello-render-sub raffaello-render-frame">Frame 0 / 0</div>\n <div class="raffaello-render-cancel">Cancel</div>\n </div>\n ',e.appendChild(d);const h=this.container.querySelector(".raffaello-imageFiltres")||this.container.querySelector(".raffaello-imageFilters");if(h){h.classList.contains("raffaello-imageFilters")||h.classList.add("raffaello-imageFilters"),this.imageFilters=h,h.style.display="flex",h.style.flexDirection="column",h.style.alignItems="stretch",h.style.gap="2px";const e=document.createElement("p");e.className="brightness-label",h.appendChild(e);const i=document.createElement("input");i.type="range",i.name="brightness",i.displayName="Luminosité",i.min="-100",i.max="100",i.value="20",h.appendChild(i);const s=document.createElement("p");s.className="contrast-label",h.appendChild(s);const n=document.createElement("input");n.type="range",n.name="contrast",n.displayName="Contraste",n.min="-100",n.max="100",n.value="20",h.appendChild(n);const o=document.createElement("p");o.className="saturate-label",h.appendChild(o);const c=document.createElement("input");c.type="range",c.name="saturate",c.displayName="Saturation",c.min="-100",c.max="100",c.value="20",h.appendChild(c)}}initElements(){this.dropzone=this.container.querySelector(".raffaello-imageContainer"),this.imageInput=this.container.querySelector(".raffaello-imageInputFile"),this.upload=this.container.querySelector(".raffaello-upload"),this.loading=this.container.querySelector(".raffaello-loading"),this.cropperContainer=this.container.querySelector(".raffaello-cropperContainer"),this.cropperRestart=this.container.querySelector(".raffaello-restart-btn"),this.videoSettings=this.container.querySelector(".raffaello-video-settings"),this.videoOverlay=this.container.querySelector(".raffaello-video-overlay"),this.video.container=this.videoOverlay.querySelector("video"),this.video.file=this.imageInput}initCropper(){this.cropper=new Cropper(this.cropperContainer,{aspectRatio:this.aspectRatio,viewMode:this.config.viewMode??2,autoCropArea:1,zoomOnWheel:this.config.zoomOnWheel??0,ready:()=>{this.applyFilters(),this.config.rawImage=this.cropperContainer,this.config.cropInfo=this.cropper.getData(),this.isReady=!0,this.config.imageReady=!0,this.config.onImageReady?this.config.onImageReady():console.log(this.config)}})}bindEvents(){this.imageInput.addEventListener("change",(e=>{const i=e?.target?.files?.[0];i&&this.loadSelectedFile(i)})),this.upload.addEventListener("click",(()=>{"INPUT"===this.imageInput.tagName&&"file"===this.imageInput.type||console.warn('Warning: this.imageInput is not an <input> element of type "file". Nothing should have a class "raffaello-imageInput"'),this.imageInput.click()})),this.dropzone.addEventListener("dragover",(e=>e.preventDefault())),this.dropzone.addEventListener("drop",(e=>{e.preventDefault();const i=e?.dataTransfer?.files?.[0];i&&this.loadSelectedFile(i)})),this.cropperRestart.addEventListener("click",(()=>{this.imageInput.click()})),this.cropperContainer.addEventListener("crop",(e=>{this.config.cropInfo=this.cropper.getData()})),this.config.onCrop&&this.cropperContainer.addEventListener("crop",this.config.onCrop),this.config.onCropStart&&this.cropperContainer.addEventListener("cropstart",this.config.onCropStart),this.config.onCropEnd&&this.cropperContainer.addEventListener("cropend",this.config.onCropEnd),this.config.onZoom&&this.cropperContainer.addEventListener("zoom",this.config.onZoom),void 0!==this.config.layerIndex&&void 0!==this.config.layerRef&&(this.config.onImageReady=()=>{this.makeDrawing()},this.config.onFilterChange=()=>{this.config.layerRef.canvas.updateLayers([this.config.layerIndex])},this.cropperContainer.addEventListener("onCrop",(()=>{})),this.cropperContainer.addEventListener("cropstart",(()=>{this.config.layerRef.canvas.previewContainer.style.opacity=.5})),this.cropperContainer.addEventListener("cropend",(()=>{this.config.layerRef.canvas.previewContainer.style.opacity=1,this.config.layerRef.canvas.updateLayers([this.config.layerIndex])})));const e=this.video.container,i=this.videoSettings.querySelector(".raffaello-timeline"),s=this.videoSettings.querySelector(".raffaello-timeline-bubble"),n=this.videoSettings.querySelector(".raffaello-timeline-active"),o=this.videoSettings.querySelector(".raffaello-timeline-handle.start"),c=this.videoSettings.querySelector(".raffaello-timeline-handle.end"),l=this.videoSettings.querySelector(".raffaello-timeline-playhead");if(!(i&&s&&n&&o&&c&&l))return void console.warn("Timeline elements missing");const renderTimeline=()=>{const i=e.duration||0;if(!i)return;this.video.timeStart<0&&(this.video.timeStart=0),this.video.timeEnd>i&&(this.video.timeEnd=i),this.video.timeEnd<this.video.timeStart&&(this.video.timeEnd=this.video.timeStart),this.video.timeCurrent<this.video.timeStart&&(this.video.timeCurrent=this.video.timeStart),this.video.timeCurrent>this.video.timeEnd&&(this.video.timeCurrent=this.video.timeEnd);const s=this.video.timeStart/i*100,d=this.video.timeEnd/i*100,h=this.video.timeCurrent/i*100;o.style.left=`${s}%`,c.style.left=`${d}%`,l.style.left=`${h}%`,n.style.left=`${s}%`,n.style.width=d-s+"%"};i.addEventListener("pointermove",(e=>{const n=i.getBoundingClientRect();let o=e.clientX-n.left;o<0&&(o=0),o>n.width&&(o=n.width),s.style.left=`${o}px`;const c=this.video.container.duration||0;if(!c)return void(s.textContent="0:00");const l=o/n.width*c;s.textContent=(e=>{(!isFinite(e)||e<0)&&(e=0);const i=Math.floor(e);return`${Math.floor(i/60)}:${String(i%60).padStart(2,"0")}`})(l)}));const pointerToSeconds=s=>{const n=i.getBoundingClientRect(),o=e.duration||0;if(!o||n.width<=0)return 0;let c=(s-n.left)/n.width;return c<0&&(c=0),c>1&&(c=1),c*o};e.addEventListener("loadedmetadata",(()=>{this.video.duration=e.duration,this.video.timeStart=0,this.video.timeEnd=e.duration,this.video.timeCurrent=Math.min(1,e.duration/4),renderTimeline()})),o.addEventListener("pointerdown",(i=>{o.setPointerCapture(i.pointerId),this.config.layerRef.canvas.previewContainer.style.opacity=.5,this.videoOverlay.classList.add("active");const onMove=i=>{const s=e.duration||0;let n=pointerToSeconds(i.clientX);n<0&&(n=0),s&&n>s&&(n=s);const o=this.video.timeEnd-.25;n>o&&(n=o),this.video.timeStart=n,this.video.timeCurrent<this.video.timeStart&&(this.video.timeCurrent=this.video.timeStart),e.currentTime=n,renderTimeline()},onUp=()=>{o.removeEventListener("pointermove",onMove),o.removeEventListener("pointerup",onUp),o.removeEventListener("pointercancel",onUp),o.removeEventListener("lostpointercapture",onUp),this.videoSettings.classList.contains("play")||(this.loadVideoToImage(this.video.timeCurrent,!0),this.videoOverlay.classList.remove("active"),this.config.layerRef.canvas.previewContainer.style.opacity=1)};o.addEventListener("pointermove",onMove),o.addEventListener("pointerup",onUp),o.addEventListener("pointercancel",onUp),o.addEventListener("lostpointercapture",onUp),window.addEventListener("blur",onUp,{once:!0}),onMove(i)})),c.addEventListener("pointerdown",(i=>{c.setPointerCapture(i.pointerId),this.config.layerRef.canvas.previewContainer.style.opacity=.5,this.videoOverlay.classList.add("active");const onMove=i=>{const s=e.duration||0;let n=pointerToSeconds(i.clientX);const o=this.video.timeStart+.25;n<o&&(n=o),s&&n>s&&(n=s),this.video.timeEnd=n,this.video.timeCurrent>this.video.timeEnd&&(this.video.timeCurrent=this.video.timeEnd),e.currentTime=n,renderTimeline()},onUp=()=>{c.removeEventListener("pointermove",onMove),c.removeEventListener("pointerup",onUp),c.removeEventListener("pointercancel",onUp),c.removeEventListener("lostpointercapture",onUp),this.videoSettings.classList.contains("play")||(this.loadVideoToImage(this.video.timeCurrent,!0),this.videoOverlay.classList.remove("active"),this.config.layerRef.canvas.previewContainer.style.opacity=1)};c.addEventListener("pointermove",onMove),c.addEventListener("pointerup",onUp),c.addEventListener("pointercancel",onUp),c.addEventListener("lostpointercapture",onUp),window.addEventListener("blur",onUp,{once:!0}),onMove(i)})),l.addEventListener("pointerdown",(e=>{})),i.addEventListener("pointerdown",(s=>{if(s.target===o||s.target===c)return;if(this.videoSettings.classList.contains("play"))return;i.setPointerCapture(s.pointerId),this.config.layerRef.canvas.previewContainer.style.opacity=.5,this.videoOverlay.classList.add("active");const onMove=i=>{let s=pointerToSeconds(i.clientX);s<this.video.timeStart&&(s=this.video.timeStart),s>this.video.timeEnd&&(s=this.video.timeEnd),this.video.timeCurrent=s,e.currentTime=s,renderTimeline()},onUp=()=>{i.removeEventListener("pointermove",onMove),i.removeEventListener("pointerup",onUp),i.removeEventListener("pointercancel",onUp),i.removeEventListener("lostpointercapture",onUp),this.loadVideoToImage(this.video.timeCurrent,!0),this.videoOverlay.classList.remove("active"),this.config.layerRef.canvas.previewContainer.style.opacity=1};i.addEventListener("pointermove",onMove),i.addEventListener("pointerup",onUp),i.addEventListener("pointercancel",onUp),i.addEventListener("lostpointercapture",onUp),window.addEventListener("blur",onUp,{once:!0}),onMove(s)})),window.addEventListener("resize",this.renderTimeline),renderTimeline();const d=this.videoSettings.querySelector(".raffaello-video-play-btn"),h=this.videoSettings.querySelector(".raffaello-video-pause-btn");d.addEventListener("click",(()=>{this.config.layerRef.canvas.previewContainer.style.opacity=.5,this.videoOverlay.classList.add("active"),this.videoSettings.classList.add("play");const e=this.video.container,i=this.video.timeStart,s=this.video.timeEnd;(e.currentTime<i||e.currentTime>s)&&(e.currentTime=i,this.video.timeCurrent=i,renderTimeline()),e.paused&&e.play().catch((e=>{"AbortError"!==e.name&&console.warn("Playback failed:",e)}))})),h.addEventListener("click",(()=>{const e=this.video.container;e.paused||e.pause(),this.video.timeCurrent=e.currentTime,this.config.layerRef.canvas.previewContainer.style.opacity=1,this.videoOverlay.classList.remove("active"),this.videoSettings.classList.remove("play"),renderTimeline(),this.loadVideoToImage(this.video.timeCurrent,!0)})),e.addEventListener("timeupdate",(()=>{const i=e.currentTime;if(!this.videoSettings.classList.contains("play")&&!this.video.isRendering)return;const s=this.video.timeStart,n=this.video.timeEnd;this.video.timeCurrent=i,(i>=n-.001||i<s)&&(e.currentTime=s+.001,this.video.timeCurrent=e.currentTime),renderTimeline()}));[this.videoSettings.querySelector(".raffaello-video-sound-on"),this.videoSettings.querySelector(".raffaello-video-sound-off")].forEach((e=>e.addEventListener("click",(()=>{this.videoSettings.classList.toggle("muted"),this.video.container.muted=this.videoSettings.classList.contains("muted")}))))}loadSelectedFile(e){if(e.type.match(/^image\//))return"image"!=this.fileType&&(this.fileType="image",this.canvasRef.fileType="image",this.canvasRef.videoRef=null,this.videoSettings.style.display="none"),this.resetAllFilters(20),void this.loadImageToCropper({target:{files:[e]}});if(e.type.match(/^video\//)){if(!this.acceptVideo)return void console.log("Video files not supported");if("video"!=this.fileType){if(this.fileType="video","video"==this.canvasRef.fileType)return void console.log("Only one video allowed");this.canvasRef.fileType="video",this.canvasRef.videoRef=this}this.video.src&&URL.revokeObjectURL(this.video.src),this.video.container.src=URL.createObjectURL(e),this.video.container.load(),this.video.container.addEventListener("canplay",(()=>{if(this.video.container.pause(),this.video.width=this.video.container.videoWidth,this.video.height=this.video.container.videoHeight,!this.video.width||!this.video.height)return console.warn("Invalid video dimensions");this.video.audioIsAvailable=function videoHasAudio(e){return void 0!==e.mozHasAudio?e.mozHasAudio:void 0!==e.webkitAudioDecodedByteCount&&e.webkitAudioDecodedByteCount>0}(this.video.container),this.videoSettings.classList.toggle("no-audio",!this.video.audioIsAvailable),this.resetAllFilters(0),this.loadVideoToImage(this.video.timeCurrent)}),{once:!0})}else console.log(`Invalid file type ${e.type}.`)}loadVideoToImage(e,i=!1){this.video.container.currentTime=e,this.video.container.addEventListener("seeked",(()=>{const e=document.createElement("canvas");e.width=this.video.width,e.height=this.video.height;let s=e.getContext("2d");s.drawImage(this.video.container,0,0,e.width,e.height);const n=e.toDataURL("image/png");s=null,e.width=e.height=0,e.remove(),i?this.updateCropperImage(n):this.loadImageToCropper(n)}),{once:!0})}loadImageToCropper(e){return new Promise(((i,s)=>{let n=null,o=null;if(e?.target?.files?.[0]&&(n=e.target.files[0]),"string"==typeof e&&(o=e),!n&&!o)return;this.isLoaded||(this.isLoaded=!0,this.upload.classList.toggle("active",!this.isLoaded),this.loading.classList.toggle("active",this.isLoaded),this.cropperRestart.classList.toggle("active",this.isLoaded));const c="video"==this.fileType;if(this.videoSettings.classList.toggle("active",c),n){const e=new FileReader;e.addEventListener("load",(()=>{this.loading.style.display="none",this.container.querySelectorAll(".pending").forEach((e=>e.classList.remove("pending")));let s=n.name.split(".")[0];this.config.fileName=s,this.cropperContainer.src=e.result,this.cropper.replace(this.cropperContainer.src),i(s)})),e.readAsDataURL(n)}if(o){this.loading.style.display="none",this.container.querySelectorAll(".pending").forEach((e=>e.classList.remove("pending")));let e="video-poster";this.config.fileName=e,this.cropperContainer.src=o,this.cropper&&this.cropper.replace(this.cropperContainer.src),i(e)}}))}updateCropperImage(e){this.cropperContainer.src=e,this.cropper.canvas.querySelector("img").src=e,this.cropper.cropBox.querySelector("img").src=e,this.cropper.renderCanvas(!0),this.config.onFilterChange()}makeDrawing(){const e=this.config.layerRef;if(e.canvas.resetLayers(),"function"==typeof e.templateInstructions)e.templateInstructions();else{if("function"!=typeof e.initiateDrawing)return void console.error("No drawing method found: expected 'templateInstructions()'.");e.initiateDrawing()}e.canvas.renderPreview()}initFilterControls(){this.isResettingFilters=!1;const e=this.imageFilters;if(e){e.querySelectorAll('input[type="range"]').forEach((e=>{const i=e.name||e.dataset.filter,s=e.displayName;this.filterValues[i]=e.value,this.updateFilterValue(i,s,e.value),e.addEventListener("input",(e=>{this.isResettingFilters||(this.updateFilterValue(i,s,e.target.value),this.applyFilters())})),e.addEventListener("dblclick",(e=>{e.target.value=20,this.updateFilterValue(i,s,e.target.value),this.applyFilters()})),this.config.onFilterChange&&(e.addEventListener("input",this.config.onFilterChange),e.addEventListener("dblclick",this.config.onFilterChange))}))}}linear(e,i,s,n,o){return(e-i)/(s-i)*(o-n)+n}updateFilterValue(e,i,s){let n;n="brightness"===e?s<0?this.linear(s,-100,0,.8,1):this.linear(s,0,100,1,1.4):"contrast"===e?s<0?this.linear(s,-100,0,.9,1):this.linear(s,0,100,1,1.3):"saturate"===e?s<0?this.linear(s,-100,0,0,1):this.linear(s,0,100,1,1.3):s;let o=s,c=this.container.querySelector(`.${e}-label`);c&&(c.innerHTML=`${i.charAt(0).toUpperCase()+i.slice(1)} <i>(${o})</i>`),this.filterValues[e]=n}applyFilters(){let e=Object.entries(this.filterValues).map((([e,i])=>`${e}(${i})`)).join(" ");this.config.filter=e;const i=this.container.querySelector(".cropper-crop-box .cropper-view-box"),s=this.container.querySelector(".cropper-wrap-box div");i&&(i.style.filter=e),s&&(s.style.filter=e)}resetAllFilters(e=0){const i=this.imageFilters;if(!i)return;this.isResettingFilters=!0;i.querySelectorAll('input[type="range"]').forEach((i=>{const s=i.name||i.dataset.filter,n=i.displayName;i.value=e,this.updateFilterValue(s,n,e)})),this.applyFilters(),this.isResettingFilters=!1}initWatermark(){if(this.watermarkDiv=this.container.querySelector(".raffaello-watermark"),this.watermark&&!this.watermarkDiv){const e=document.createElement("img");e.className="raffaello-watermark",e.src=this.watermark,this.imageContainer.appendChild(e),this.watermarkDiv=e}(this.watermark||this.watermarkDiv)&&(this.watermarkDiv.classList.add("raffaello-canvas-to-overlay","icon"),""!==this.watermarkDiv.src&&this.watermarkDiv.src!==window.location.href||(this.watermarkDiv.style.display="none"),this.cropperContainer.addEventListener("crop",(()=>{this.updateWatermarkPositionAndSize()})))}setNewWatermark(e){this.watermark=e,this.watermarkDiv?(this.watermarkDiv.src=this.watermark,""!==this.watermark?(this.watermarkDiv.style.display="block",this.updateWatermarkPositionAndSize()):this.watermarkDiv.style.display="none"):this.initWatermark()}updateWatermarkPositionAndSize(){const e=this.cropper.getCropBoxData();this.watermarkDiv.style.width=Math.ceil(e.width)+1+"px",this.watermarkDiv.style.height=Math.ceil(e.height)+1+"px",this.watermarkDiv.style.left=e.left-.5+"px",this.watermarkDiv.style.top=e.top-.5+"px"}setNewSize(e,i){if("number"!=typeof e||!Number.isFinite(e)||e<=0||"number"!=typeof i||!Number.isFinite(i)||i<=0)return void console.error("setNewSize() Invalid dimensions:",{newWidth:e,newHeight:i});this.width=e,this.height=i,this.config.width=this.width,this.config.height=this.height;const s=e/i;this.cropper.setAspectRatio(s)}}class Raffaello_Image{constructor(e={}){const i=e.url||e.src;this.img=new Image,this.isLoaded=!1,this.isSafeForExport=!0,i?(this.img.src=i,this.img.onload=()=>{if(this.isLoaded=!0,i.includes("https://")){const e=document.createElement("canvas");e.width=10,e.height=10;e.getContext("2d").drawImage(this.img,0,0);try{e.toDataURL(),console.log(`✅ Image ${this.img.src.slice(0,30)}... is safe for canvas export.`)}catch(e){this.isSafeForExport=!1,console.warn(`Image ${this.img.src.slice(0,30)}... cannot be used in canvas export (tainted).`)}}else this.img.src,console.log(`✅ Image ${i.split("/").slice(-1)} loaded successfully.`)},this.img.onerror=()=>{console.error("❌ Failed to load image:",this.img.src)}):console.warn("⚠️ No image URL or base64 source provided.")}getImage(){return this.isLoaded?this.img:(console.warn("❌ Image not loaded yet."),null)}isLoaded(){return this.isLoaded}isCrossOrigin(e){try{return new URL(e,window.location.href).origin!==window.location.origin}catch{return!1}}}function d_r(){window[atob("cl9v")]=!1,window[a(7)].prototype[a(8)]=function(){return console.log(a(2)),null},window[a(7)].prototype[a(9)]=function(){return console.log(a(2)),null}}window.Raffaello_Canvas=class Raffaello_Canvas{constructor(e){if(this.width=e.width??1e3,this.height=e.height??1e3,this.cornerRadius=e.cornerRadius??0,this.previewContainer=e.previewContainer??null,this.nameInputContainer=e.nameInputContainer??null,this.name=e.name??"Image_Raffaello.jpg",this.previewQuality=e.previewQuality??"0.8",this.renderQuality=e.renderQuality??"0.96",this.canvas=document.createElement("canvas"),this.layers=[],this.isDrawn=!1,this.fileType="image",this.videoRef=null,this.previewContainer){const i=window.getComputedStyle(this.previewContainer).backgroundColor;e.previewBackgroundColor?this.previewBackgroundColor=e.previewBackgroundColor??"grey":i&&"rgba(0, 0, 0, 0)"!==i&&"transparent"!==i&&(this.previewBackgroundColor=i)}}addLayer(e="normal",i=null){let s=this.layers.length,n=new Raffaello_CanvasLayer(this.width,this.height,e,i,s);return this.layers.push(n),n}updateLayers(e){if(this.isDrawn){for(const i of e)this.layers[i]?this.layers[i].update():console.warn(`> updateLayers([${i}]): The canvas does not have a layer ${i}`);this.renderPreview()}else console.warn("> updateLayers([...]): The canvas has not been drawn yet.")}updateCanvas(e=!0){for(const e of this.layers)e.update();e?this.renderPreview():this.render()}resetLayers(){this.layers=[]}render(e=!1){if(!window.r_o)return void console.log(a(2));this.canvas.width=this.width,this.canvas.height=this.height;const i=this.canvas.getContext("2d");this.cornerRadius>0&&(i.save(),i.beginPath(),i.roundRect(0,0,this.width,this.height,this.cornerRadius),i.clip()),e&&null!=this.previewBackgroundColor&&(i.fillStyle=this.previewBackgroundColor,i.fillRect(0,0,this.width,this.height));for(let e=0;e<this.layers.length;e++){const s=this.layers[e],n=this.layers[e+1];let o=s.canvas;if("alpha"===n?.type){let e=document.createElement("canvas");e.width=this.width,e.height=this.height;let i=e.getContext("2d");i.drawImage(n.canvas,0,0),i.globalCompositeOperation="source-in",i.drawImage(s.canvas,0,0),i.globalCompositeOperation="source-over",o=e}["image","normal"].includes(s.type)&&i.drawImage(o,0,0),"effect"===s.type&&(i.globalCompositeOperation=s.effect,i.drawImage(o,0,0),i.globalCompositeOperation="source-over")}return this.cornerRadius>0&&i.restore(),this.isDrawn=!0,this.canvas}renderPreview(){if(!window.r_o)return void console.log(a(2));if(!this.previewContainer)return;const e=this.previewContainer;/iPad|iPhone|iPod/.test(navigator.userAgent)?e.src=this.render().toDataURL("image/jpeg",.9):e.src=this.render(!0).toDataURL("image/jpeg",this.previewQuality)}dowload(){this.downloadImage()}downloadImage(){if("video"==this.fileType)return void this.downloadVideo();const e=this.render();if(!e)return;let i,s,n=this.nameInputContainer.value.trim(),o=n?n.split(".")[0].replace(/[^a-zA-Z0-9\_-]/g,""):this.name;switch(n.split(".").pop().toLowerCase()){case"jpg":case"jpeg":i="image/jpeg",s=".jpg";break;default:i="image/png",s=".png"}if(/iPad|iPhone|iPod/.test(navigator.userAgent))window.alert("Tap and hold the image to save.");else{const n=document.createElement("a");n.download=o+s,n.href=e.toDataURL(i,"image/jpeg"===i?this.renderQuality:void 0),document.body.appendChild(n),n.click(),document.body.removeChild(n)}}async downloadVideo(){if(console.log("We have a video to download !"),this.isRenderingVideo)return void console.log("Video rendering is already in progress.");this.isRenderingVideo=!0,this.videoRef.video.isRendering=!0;const e=this.videoRef.videoOverlay.querySelector(".raffaello-render-hud"),i=e.querySelector(".raffaello-render-percent"),s=e.querySelector(".raffaello-render-frame");e.querySelector(".raffaello-render-eta");const n=e.querySelector(".raffaello-render-cancel");this.renderAbortController=new AbortController;const o=this.renderAbortController.signal,throwIfAborted=()=>{if(o.aborted){const e=new Error("Render cancelled");throw e.name="AbortError",e}};function fmtTime(e){if(!Number.isFinite(e))return"--:--.---";const i=Math.floor(e/60),s=e-60*i;return`${String(i).padStart(2,"0")}:${s.toFixed(3).padStart(6,"0")}`}const seekTo=e=>new Promise(((i,s)=>{const n=this.videoRef.video.container,cleanup=()=>{n.removeEventListener("seeked",onSeeked),o.removeEventListener("abort",onAbort)},onSeeked=()=>{cleanup(),i()},onAbort=()=>{cleanup(),s(Object.assign(new Error("aborted"),{name:"AbortError"}))};n.addEventListener("seeked",onSeeked,{once:!0}),o.addEventListener("abort",onAbort,{once:!0});try{n.currentTime=Math.min(Math.max(e,0),n.duration||e)}catch{cleanup(),i()}}));try{this.videoRef.videoOverlay.classList.add("active"),e.classList.add("active"),n.onclick=()=>{this.renderAbortController&&this.renderAbortController.abort();try{this.renderOutput?.cancel()}catch(e){}};const c=this.videoRef.video.timeStart,l=this.videoRef.video.timeEnd,d=this.videoRef.video.timeFps||25,h=1/d;if(!(c<l))return void console.log("Start must be less than End.");const u=await getFirstEncodableVideoCodec(["avc1","avc","vp9","vp8","av1"]);console.log(`Rendering ${fmtTime(l-c)} @ ${d}fps to MP4 using ${u}…`),s.textContent="Preparing the output...";const m=new Output({format:new Mp4OutputFormat,target:new BufferTarget});this.renderOutput=m,o.addEventListener("abort",(()=>{try{m.cancel()}catch(e){}}),{once:!0});const p=new CanvasSource(this.canvas,{codec:u,bitrate:tt});m.addVideoTrack(p);let f=null,A=null,w=null;if(this.videoRef.video.audioIsAvailable&&0==this.videoRef.video.muted){const e=new Input({source:new BlobSource(this.videoRef.video.file.files?.[0]),formats:_e}),i=new Output({format:new Mp4OutputFormat,target:new BufferTarget}),s=await Conversion.init({input:e,output:i,trim:{start:c,end:l}});if(!s.isValid)return console.log("Error: Audio conversion is not valid:"),void s.discardedTracks;await s.execute();const n=i.target.buffer;console.log(n);const o=new Input({source:new BlobSource(new Blob([n],{type:"video/mp4"})),formats:_e});w=await o.getPrimaryAudioTrack(),null!=w?(f=new AudioSampleSink(w),A=new AudioSampleSource({codec:"aac",bitrate:128e3}),m.addAudioTrack(A)):console.log("No audio track found in the input video.")}await m.start();let b=0,k=0;const y=Math.max(1,Math.ceil((l-c)*d));performance.now();for(let e=c;e<l;e+=h){throwIfAborted(),console.log(`Video rendering ${fmtTime(e-c)} / ${fmtTime(l-c)}`),await seekTo(e),throwIfAborted(),this.updateCanvas(!1),await p.add(b,h),b+=h,k++;const n=Math.round(k/y*100);i.textContent=`${n}%`,s.textContent=`Frame ${k} / ${y}`}if(this.videoRef.video.audioIsAvailable&&0==this.videoRef.video.muted&&null!=w){console.log("Adding audio samples to the output…"),s.textContent="Audio rendering...";for await(const e of f.samples())throwIfAborted(),await A.add(e)}await m.finalize(),s.textContent="Finalizing...";const{buffer:B}=m.target,v=new Blob([B],{type:"video/mp4"}),C=URL.createObjectURL(v),E=this.nameInputContainer.value.trim(),S=E?E.split(".")[0].replace(/[^a-zA-Z0-9\_-]/g,""):"video",x=document.createElement("a");x.download=S+".mp4",x.href=C,document.body.appendChild(x),x.click(),setTimeout((()=>URL.revokeObjectURL(C)),5e3),document.body.removeChild(x)}catch(e){"AbortError"===e?.name?console.log("Render cancelled by user."):console.error(e)}finally{this.videoRef.videoOverlay.classList.remove("active"),e.classList.remove("active"),this.renderOutput=null,this.isRenderingVideo=!1,this.videoRef.video.isRendering=!1,this.renderAbortController=null}}renderBis(){let e=document.createElement("canvas");e.width=this.width,e.height=this.height;const i=e.getContext("2d");return i.fillStyle=atob("I2Y4ZDdkYQ=="),i.fillRect(0,0,this.width,this.height),i.fillStyle=atob("IzcyMWMyNA=="),i.font="bold 24px sans-serif",i.textAlign="center",i.textBaseline="middle",i.fillText(atob("TGljZW5zZSBrZXkgbm90IHZhbGlk"),this.width/2,this.height/2),e}},window.Raffaello_CanvasLayer=Raffaello_CanvasLayer,window.Raffaello_ImageCropper=Raffaello_ImageCropper,window.Raffaello_BatchImageCropper=class Raffaello_BatchImageCropper{constructor(e,i){this.input=e,this.container=this.input.container,this.canvas=this.input.canvas,this.imageConfigs=i,this.imagesAreReady=i.map((e=>!0===e.isOptional)),this.inputImages=[],this.initializeCroppers()}initializeCroppers(){this.inputImages=this.imageConfigs.map(((e,i)=>new Raffaello_ImageCropper(this.container.querySelector(e.selector),{layerRef:this.input,width:e.width,height:e.height,watermark:e.watermark??null,viewMode:e.viewMode??2,zoomOnWheel:e.zoomOnWheel??0,onImageReady:()=>{this.markImageAsReady(i)},onCropStart:()=>{this.canvas.previewContainer.style.opacity=.5},onCropEnd:()=>{this.canvas.previewContainer.style.opacity=1,this.canvas.updateLayers([e.layerIndex])},onZoom:()=>{this.canvas.updateLayers([e.layerIndex])},onFilterChange:()=>{this.canvas.updateLayers([e.layerIndex])}})))}markImageAsReady(e){this.imagesAreReady[e]=!0,this.checkImagesAreReady()}checkImagesAreReady(){if(this.imagesAreReady.every((e=>e))){this.removePendingState(),console.log("All images are ready, starting to draw...");const e=this.input;if(e.canvas.resetLayers(),"function"==typeof e.templateInstructions)e.templateInstructions();else{if("function"!=typeof e.initiateDrawing)return void console.error("No drawing method found: expected 'templateInstructions()'.");e.initiateDrawing()}e.canvas.renderPreview()}}removePendingState(){this.container.querySelectorAll(".pending").forEach((e=>e.classList.remove("pending")))}},window.Raffaello_Image=Raffaello_Image,window.Raffaello_Font=class Raffaello_Font{constructor(e){const i=e.name;this.font=new FontFace(i,`url(${e.url??e.src})`),this.font.display="swap",this.isLoaded=!1;let s=this.font;document.fonts.add(s),s.load().then((()=>{this.isLoaded=!0,console.log(`✅ Font ${i} loaded successfully.`)})).catch((()=>{console.error("❌ Failed to load font:",i)}))}isLoaded(){return this.isLoaded}},window.Raffaello_LUT=class Raffaello_LUT{constructor(e){const i=e.url??e.src;this.lutData=null,this.isLoaded=!1,this.name=i.split("/").slice(-1),this.loadLUT(i).then((e=>{this.lutData=e,this.isLoaded=!0,console.log(`✅ LUT ${this.name} loaded successfully.`)})).catch((e=>{console.log(`❌ Failed to load LUT: ${i}`),console.error(e)}))}async loadLUT(e){try{const i=await fetch(e),s=(await i.text()).split("\n"),n=[];let o=0;for(const e of s)if(e.startsWith("LUT_3D_SIZE"))o=parseInt(e.split(" ")[1],10);else if(!e.startsWith("#")&&""!==e.trim()){const i=e.split(" ").map(Number);3===i.length&&n.push(i)}if(!o)throw new Error("Invalid LUT file.");return{size:o,lut:n}}catch(e){throw new Error(`Error parsing LUT file: ${e.message}`)}}getLUT(){return this.isLoaded?this.lutData:(console.warn("❌ LUT not loaded yet."),null)}isLUTLoaded(){return this.isLoaded}},window.Raffaello_FullScreen=class Raffaello_FullScreen{constructor(e){this.previewContainers=document.querySelectorAll(`.${e.previewContainer}`),this.fullScreenElement=null,this.isFullScreen=!1,this.previewContainers.length?(this.initializeFullScreen(),this.setupEventListeners()):console.error("RAFFAELLO - No preview containers found.")}initializeFullScreen(){this.fullScreenElement=document.createElement("div"),this.fullScreenElement.classList.add("raffaello-fullscreen-overlay"),this.fullScreenElement.style.position="fixed",this.fullScreenElement.style.top="0",this.fullScreenElement.style.left="0",this.fullScreenElement.style.width="100%",this.fullScreenElement.style.height="100%",this.fullScreenElement.style.padding="25px",this.fullScreenElement.style.backgroundColor="rgba(0, 0, 0, 0.9)",this.fullScreenElement.style.display="none",this.fullScreenElement.style.zIndex="9999",this.fullScreenElement.style.cursor="pointer",this.fullScreenElement.style.alignItems="center",this.fullScreenElement.style.justifyContent="center";const e=document.createElement("img");e.style.maxWidth="100%",e.style.maxHeight="100%",e.setAttribute("draggable","false"),e.addEventListener("dragstart",(function(e){e.preventDefault()})),e.addEventListener("contextmenu",(function(e){e.preventDefault()})),this.fullScreenElement.appendChild(e),document.body.appendChild(this.fullScreenElement)}toggleFullScreen(){this.isFullScreen=!this.isFullScreen,this.isFullScreen?(this.fullScreenElement.style.display="flex",document.body.style.overflow="hidden"):(this.fullScreenElement.style.display="none",document.body.style.overflow="auto")}setupEventListeners(){this.previewContainers.forEach((e=>{e.style.cursor="pointer",e.addEventListener("click",(()=>{const i=e.src;this.fullScreenElement.querySelector("img").src=i,this.toggleFullScreen()}))})),this.fullScreenElement.addEventListener("click",(()=>{this.toggleFullScreen()}))}},window.Raffaello_PersistentInputs=class Raffaello_PersistentInputs{constructor({inputs:e,timeout:i}){this.textareas=document.querySelectorAll(`.${e}`),this.timeout=i,this.textareas.length?this.init():console.error(`INFO: No element with class ${e}`)}init(){this.cleanupOldKeys(),this.textareas.forEach(((e,i)=>{const s=this.generateKey(i);this.loadAndValidateContent(e,s);const n=this.debounce((()=>this.saveContent(e,s)),500);e.addEventListener("input",n)}))}cleanupOldKeys(){for(let e=0;e<localStorage.length;e++){const i=localStorage.key(e);i&&i.startsWith("textareaContent_")&&localStorage.removeItem(i)}}generateKey(e){return`${window.location.pathname}_textareaContent_${this.timeout}_${e}`}loadAndValidateContent(e,i){const s=`${i}_timestamp`,n=localStorage.getItem(i),o=localStorage.getItem(s);if(n&&o){const c=Date.now()-parseInt(o,10);console.log("elapsed",c),console.log("this.timeout",this.timeout),c<=this.timeout?e.value=n:(console.log(`Key expired: ${i}`),localStorage.removeItem(i),localStorage.removeItem(s))}else localStorage.removeItem(i),localStorage.removeItem(s)}saveContent(e,i){const s=`${i}_timestamp`;localStorage.setItem(i,e.value),localStorage.setItem(s,Date.now().toString())}debounce(e,i){let s;return(...n)=>{clearTimeout(s),s=setTimeout((()=>e(...n)),i)}}},window.Raffaello_Export=class Raffaello_Export{constructor(e){if(this.div=e.targetDiv,this.saveButton=e.saveButton,this.loadButton=e.loadButton,this.projectName=e.projectName||"project",this.onFileRestored=e.onFileRestored||null,!this.div)throw new Error("Raffaello_Export: targetDiv is required");const i=document.getElementById("raffaello-zip-input");i?this._zipInput=i:(this._zipInput=document.createElement("input"),this._zipInput.id="raffaello-zip-input",this._zipInput.type="file",this._zipInput.accept=".zip,application/zip",this._zipInput.style.display="none",document.body.appendChild(this._zipInput)),this.saveButton&&this.saveButton.addEventListener("click",(()=>this.save())),this.loadButton&&this.loadButton.addEventListener("click",(()=>this.load()))}async save(){const e={version:1,savedAt:(new Date).toISOString(),rootId:this.div.id||null,fields:[],files:[]},i=new ZipWriter(new BlobWriter("application/zip"));try{const s=this.div.querySelectorAll("input, textarea, select");let n=0;for(const o of s){const s=this._cssPath(o);if(!s)continue;if("INPUT"===o.tagName&&"file"===o.type){const c=o.files?.[0];if(!c)continue;const l=`files/${`${n}_${(c.name||"file").replace(/[^\w.\-]/g,"_")}`}`;await i.add(l,new BlobReader(c)),e.files.push({path:s,name:c.name,type:c.type||"application/octet-stream",zipPath:l}),n++;continue}let c=null;if("INPUT"===o.tagName&&"checkbox"===o.type)c=!!o.checked;else if("INPUT"===o.tagName&&"radio"===o.type){if(!o.checked)continue;c=o.value}else c=o.value;e.fields.push({path:s,tag:o.tagName.toLowerCase(),type:o.type||null,value:c})}await i.add("manifest.json",new TextReader(JSON.stringify(e,null,2)));const o=await i.close(),c=URL.createObjectURL(o),l=document.createElement("a");l.href=c,l.download=`${this.projectName}.zip`,document.body.appendChild(l),l.click(),l.remove(),setTimeout((()=>URL.revokeObjectURL(c)),5e3),console.log("Saved ZIP manifest:",e)}finally{}}async load(){const e=await this._pickZipFile();if(!e)return;const i=new ZipReader(new BlobReader(e));try{const e=await i.getEntries(),s=e.find((e=>"manifest.json"===e.filename));if(!s)return void console.warn("Raffaello_Export: manifest.json not found in zip");const n=await s.getData(new TextWriter),o=JSON.parse(n);for(const e of o.fields||[]){const i=this.div.querySelector(e.path);i&&("INPUT"===i.tagName&&"checkbox"===i.type?i.checked=!!e.value:"INPUT"===i.tagName&&"radio"===i.type?i.checked=!0:i.value=e.value??"",i.dispatchEvent(new Event("input",{bubbles:!0})),i.dispatchEvent(new Event("change",{bubbles:!0})))}for(const i of o.files||[]){const s=e.find((e=>e.filename===i.zipPath));if(!s)continue;const n=await s.getData(new BlobWriter(i.type||"application/octet-stream")),o=new File([n],i.name||"file",{type:i.type||n.type});this.onFileRestored&&this.onFileRestored({path:i.path,file:o});const c=this.div.querySelector(i.path);if(c&&"INPUT"===c.tagName&&"file"===c.type)try{const e=new DataTransfer;e.items.add(o),c.files=e.files,c.dispatchEvent(new Event("input",{bubbles:!0})),c.dispatchEvent(new Event("change",{bubbles:!0}))}catch(e){}}console.log("Loaded ZIP manifest:",o)}finally{await i.close()}}_pickZipFile(){return new Promise((e=>{this._zipInput.value="",this._zipInput.onchange=()=>e(this._zipInput.files?.[0]||null),this._zipInput.click()}))}_cssPath(e){if(!this.div.contains(e))return null;if(e===this.div)return":scope";const i=[];let s=e;for(;s&&s!==this.div;){if(s.id){i.unshift(`#${this._cssEscape(s.id)}`);break}const e=[...s.classList].find((e=>e.startsWith("js-")));if(e){i.unshift(`.${this._cssEscape(e)}`);break}const n=s.tagName.toLowerCase(),o=s.parentElement;if(!o)break;const c=Array.from(o.children).filter((e=>e.tagName===s.tagName)).indexOf(s)+1;i.unshift(`${n}:nth-of-type(${c})`),s=o}return i.join(" > ")}_cssEscape(e){return String(e).replace(/([ !"#$%&'()*+,.\/:;<=>?@[\\\]^`{|}~])/g,"\\$1")}},async function v_k(e=1){console.log(`> v_k() #${e}`);const i=document.currentScript||document.querySelector(a(12)),s=i?.dataset?.[atob("bGljZW5zZQ==")]||i?.dataset?.[atob("a2V5")],n=window.location[atob("aG9zdG5hbWU=")];if(!s)return console.log(a(1)),void d_r();const o=`${a(6)}${s}`,c=localStorage.getItem(o),l=Date.now();if(c&&l<parseInt(c))console.log("> g_k_u");else try{const e=await fetch(`${a(4)}${s}${a(5)}${n}`),i=await e.json();if(console.log("> res"),console.log(i),i.status!==a(10))return console.log(a(2)),void d_r();const c=l+1728e5;localStorage.setItem(o,c.toString())}catch(i){console.log(`${a(3)} (${e}/4)`),e<4?setTimeout((()=>v_k(e+1)),6e4):console.log(a(11))}}()}();
|
|
324
|
+
*/const validateVideoOptions=e=>{if(void 0!==e&&(!e||"object"!=typeof e))throw new TypeError("options.video, when provided, must be an object.");if(void 0!==e?.discard&&"boolean"!=typeof e.discard)throw new TypeError("options.video.discard, when provided, must be a boolean.");if(void 0!==e?.forceTranscode&&"boolean"!=typeof e.forceTranscode)throw new TypeError("options.video.forceTranscode, when provided, must be a boolean.");if(void 0!==e?.codec&&!b.includes(e.codec))throw new TypeError(`options.video.codec, when provided, must be one of: ${b.join(", ")}.`);if(void 0!==e?.bitrate&&!(e.bitrate instanceof Quality)&&(!Number.isInteger(e.bitrate)||e.bitrate<=0))throw new TypeError("options.video.bitrate, when provided, must be a positive integer or a quality.");if(void 0!==e?.width&&(!Number.isInteger(e.width)||e.width<=0))throw new TypeError("options.video.width, when provided, must be a positive integer.");if(void 0!==e?.height&&(!Number.isInteger(e.height)||e.height<=0))throw new TypeError("options.video.height, when provided, must be a positive integer.");if(void 0!==e?.fit&&!["fill","contain","cover"].includes(e.fit))throw new TypeError("options.video.fit, when provided, must be one of 'fill', 'contain', or 'cover'.");if(void 0!==e?.width&&void 0!==e.height&&void 0===e.fit)throw new TypeError("When both options.video.width and options.video.height are provided, options.video.fit must also be provided.");if(void 0!==e?.rotate&&![0,90,180,270].includes(e.rotate))throw new TypeError("options.video.rotate, when provided, must be 0, 90, 180 or 270.");if(void 0!==e?.crop&&validateCropRectangle(e.crop,"options.video."),void 0!==e?.frameRate&&(!Number.isFinite(e.frameRate)||e.frameRate<=0))throw new TypeError("options.video.frameRate, when provided, must be a finite positive number.");if(void 0!==e?.alpha&&!["discard","keep"].includes(e.alpha))throw new TypeError("options.video.alpha, when provided, must be either 'discard' or 'keep'.");if(void 0!==e?.keyFrameInterval&&(!Number.isFinite(e.keyFrameInterval)||e.keyFrameInterval<0))throw new TypeError("options.video.keyFrameInterval, when provided, must be a non-negative number.");if(void 0!==e?.process&&"function"!=typeof e.process)throw new TypeError("options.video.process, when provided, must be a function.");if(void 0!==e?.processedWidth&&(!Number.isInteger(e.processedWidth)||e.processedWidth<=0))throw new TypeError("options.video.processedWidth, when provided, must be a positive integer.");if(void 0!==e?.processedHeight&&(!Number.isInteger(e.processedHeight)||e.processedHeight<=0))throw new TypeError("options.video.processedHeight, when provided, must be a positive integer.")},validateAudioOptions=e=>{if(void 0!==e&&(!e||"object"!=typeof e))throw new TypeError("options.audio, when provided, must be an object.");if(void 0!==e?.discard&&"boolean"!=typeof e.discard)throw new TypeError("options.audio.discard, when provided, must be a boolean.");if(void 0!==e?.forceTranscode&&"boolean"!=typeof e.forceTranscode)throw new TypeError("options.audio.forceTranscode, when provided, must be a boolean.");if(void 0!==e?.codec&&!B.includes(e.codec))throw new TypeError(`options.audio.codec, when provided, must be one of: ${B.join(", ")}.`);if(void 0!==e?.bitrate&&!(e.bitrate instanceof Quality)&&(!Number.isInteger(e.bitrate)||e.bitrate<=0))throw new TypeError("options.audio.bitrate, when provided, must be a positive integer or a quality.");if(void 0!==e?.numberOfChannels&&(!Number.isInteger(e.numberOfChannels)||e.numberOfChannels<=0))throw new TypeError("options.audio.numberOfChannels, when provided, must be a positive integer.");if(void 0!==e?.sampleRate&&(!Number.isInteger(e.sampleRate)||e.sampleRate<=0))throw new TypeError("options.audio.sampleRate, when provided, must be a positive integer.");if(void 0!==e?.process&&"function"!=typeof e.process)throw new TypeError("options.audio.process, when provided, must be a function.");if(void 0!==e?.processedNumberOfChannels&&(!Number.isInteger(e.processedNumberOfChannels)||e.processedNumberOfChannels<=0))throw new TypeError("options.audio.processedNumberOfChannels, when provided, must be a positive integer.");if(void 0!==e?.processedSampleRate&&(!Number.isInteger(e.processedSampleRate)||e.processedSampleRate<=0))throw new TypeError("options.audio.processedSampleRate, when provided, must be a positive integer.")},at=48e3;class Conversion{static async init(e){const i=new Conversion(e);return await i._init(),i}constructor(e){if(this._addedCounts={video:0,audio:0,subtitle:0},this._totalTrackCount=0,this._trackPromises=[],this._executed=!1,this._synchronizer=new TrackSynchronizer,this._totalDuration=null,this._maxTimestamps=new Map,this._canceled=!1,this.onProgress=void 0,this._computeProgress=!1,this._lastProgress=0,this.isValid=!1,this.utilizedTracks=[],this.discardedTracks=[],!e||"object"!=typeof e)throw new TypeError("options must be an object.");if(!(e.input instanceof Input))throw new TypeError("options.input must be an Input.");if(!(e.output instanceof Output))throw new TypeError("options.output must be an Output.");if(e.output._tracks.length>0||Object.keys(e.output._metadataTags).length>0||"pending"!==e.output.state)throw new TypeError("options.output must be fresh: no tracks or metadata tags added and not started.");if("function"!=typeof e.video&&validateVideoOptions(e.video),"function"!=typeof e.audio&&validateAudioOptions(e.audio),void 0!==e.trim&&(!e.trim||"object"!=typeof e.trim))throw new TypeError("options.trim, when provided, must be an object.");if(void 0!==e.trim?.start&&(!Number.isFinite(e.trim.start)||e.trim.start<0))throw new TypeError("options.trim.start, when provided, must be a non-negative number.");if(void 0!==e.trim?.end&&(!Number.isFinite(e.trim.end)||e.trim.end<0))throw new TypeError("options.trim.end, when provided, must be a non-negative number.");if(void 0!==e.trim?.start&&void 0!==e.trim.end&&e.trim.start>=e.trim.end)throw new TypeError("options.trim.start must be less than options.trim.end.");if(void 0!==e.tags&&("object"!=typeof e.tags||!e.tags)&&"function"!=typeof e.tags)throw new TypeError("options.tags, when provided, must be an object or a function.");if("object"==typeof e.tags&&validateMetadataTags(e.tags),void 0!==e.showWarnings&&"boolean"!=typeof e.showWarnings)throw new TypeError("options.showWarnings, when provided, must be a boolean.");this._options=e,this.input=e.input,this.output=e.output,this._startTimestamp=e.trim?.start??0,this._endTimestamp=e.trim?.end??1/0;const{promise:i,resolve:s}=promiseWithResolvers();this._started=i,this._start=s}async _init(){const e=await this.input.getTracks(),i=this.output.format.getSupportedTrackCounts();let s=1,n=1;for(const o of e){let e;o.isVideoTrack()?this._options.video&&("function"==typeof this._options.video?(e=await this._options.video(o,s),validateVideoOptions(e),s++):e=this._options.video):o.isAudioTrack()?this._options.audio&&("function"==typeof this._options.audio?(e=await this._options.audio(o,n),validateAudioOptions(e),n++):e=this._options.audio):assert(!1),e?.discard?this.discardedTracks.push({track:o,reason:"discarded_by_user"}):this._totalTrackCount!==i.total.max?this._addedCounts[o.type]!==i[o.type].max?o.isVideoTrack()?await this._processVideoTrack(o,e??{}):o.isAudioTrack()&&await this._processAudioTrack(o,e??{}):this.discardedTracks.push({track:o,reason:"max_track_count_of_type_reached"}):this.discardedTracks.push({track:o,reason:"max_track_count_reached"})}const o=await this.input.getMetadataTags();let c;if(this._options.tags){const e="function"==typeof this._options.tags?await this._options.tags(o):this._options.tags;validateMetadataTags(e),c=e}else c=o;const l=(await this.input.getFormat()).mimeType===this.output.format.mimeType,d=o.raw===c.raw;if(o.raw&&d&&!l&&delete c.raw,this.output.setMetadataTags(c),this.isValid=this._totalTrackCount>=i.total.min&&this._addedCounts.video>=i.video.min&&this._addedCounts.audio>=i.audio.min&&this._addedCounts.subtitle>=i.subtitle.min,this._options.showWarnings??1){const e=[],i=this.discardedTracks.filter((e=>"discarded_by_user"!==e.reason));i.length>0&&e.push("Some tracks had to be discarded from the conversion:",i),this.isValid||e.push("\n\n"+this._getInvalidityExplanation().join("")),e.length>0&&console.warn(...e)}}_getInvalidityExplanation(){const e=[];if(0===this.discardedTracks.length)e.push("Due to missing tracks, this conversion cannot be executed.");else{const i=this.discardedTracks.every((e=>"discarded_by_user"===e.reason||"no_encodable_target_codec"===e.reason));if(e.push("Due to discarded tracks, this conversion cannot be executed."),i){const i=this.discardedTracks.flatMap((e=>"discarded_by_user"===e.reason?[]:"video"===e.track.type?this.output.format.getSupportedVideoCodecs():"audio"===e.track.type?this.output.format.getSupportedAudioCodecs():this.output.format.getSupportedSubtitleCodecs()));1===i.length?e.push(`\nTracks were discarded because your environment is not able to encode '${i[0]}'.`):e.push(`\nTracks were discarded because your environment is not able to encode any of the following codecs: ${i.map((e=>`'${e}'`)).join(", ")}.`),i.includes("mp3")&&e.push("\nThe @mediabunny/mp3-encoder extension package provides support for encoding MP3.")}else e.push("\nCheck the discardedTracks field for more info.")}return e}async execute(){if(!this.isValid)throw new Error("Cannot execute this conversion because its output configuration is invalid. Make sure to always check the isValid field before executing a conversion.\n"+this._getInvalidityExplanation().join(""));if(this._executed)throw new Error("Conversion cannot be executed twice.");if(this._executed=!0,this.onProgress){this._computeProgress=!0,this._totalDuration=Math.min(await this.input.computeDuration()-this._startTimestamp,this._endTimestamp-this._startTimestamp);for(const e of this.utilizedTracks)this._maxTimestamps.set(e.id,0);this.onProgress?.(0)}await this.output.start(),this._start();try{await Promise.all(this._trackPromises)}catch(e){throw this._canceled||this.cancel(),e}this._canceled&&await new Promise((()=>{})),await this.output.finalize(),this._computeProgress&&this.onProgress?.(1)}async cancel(){"finalizing"!==this.output.state&&"finalized"!==this.output.state&&(this._canceled?console.warn("Conversion already canceled."):(this._canceled=!0,await this.output.cancel()))}async _processVideoTrack(e,i){const s=e.codec;if(!s)return void this.discardedTracks.push({track:e,reason:"unknown_source_codec"});let n;const o=normalizeRotation(e.rotation+(i.rotate??0)),c=this.output.format.supportsVideoRotationMetadata,[l,d]=o%180==0?[e.codedWidth,e.codedHeight]:[e.codedHeight,e.codedWidth],h=i.crop;h&&clampCropRectangle(h,l,d);const[u,m]=h?[h.width,h.height]:[l,d];let p=u,f=m;const A=p/f,ceilToMultipleOfTwo=e=>2*Math.ceil(e/2);void 0!==i.width&&void 0===i.height?(p=ceilToMultipleOfTwo(i.width),f=ceilToMultipleOfTwo(Math.round(p/A))):void 0===i.width&&void 0!==i.height?(f=ceilToMultipleOfTwo(i.height),p=ceilToMultipleOfTwo(Math.round(f*A))):void 0!==i.width&&void 0!==i.height&&(p=ceilToMultipleOfTwo(i.width),f=ceilToMultipleOfTwo(i.height));const w=await e.getFirstTimestamp(),b=!!i.forceTranscode||this._startTimestamp>0||w<0||!!i.frameRate||void 0!==i.keyFrameInterval||void 0!==i.process;let k=p!==u||f!==m||0!==o&&(!c||void 0!==i.process)||!!h;const y=i.alpha??"discard";let B=this.output.format.getSupportedVideoCodecs();if(b||i.bitrate||k||!B.includes(s)||i.codec&&i.codec!==s){if(!await e.canDecode())return void this.discardedTracks.push({track:e,reason:"undecodable_source_codec"});i.codec&&(B=B.filter((e=>e===i.codec)));const s=i.bitrate??tt,c=await getFirstEncodableVideoCodec(B,{width:i.process&&i.processedWidth?i.processedWidth:p,height:i.process&&i.processedHeight?i.processedHeight:f,bitrate:s});if(!c)return void this.discardedTracks.push({track:e,reason:"no_encodable_target_codec"});const l={codec:c,bitrate:s,keyFrameInterval:i.keyFrameInterval,sizeChangeBehavior:i.fit??"passThrough",alpha:y},d=new VideoSampleSource(l);if(n=d,!k){const i=new Output({format:new Mp4OutputFormat,target:new NullTarget}),s=new VideoSampleSource(l);i.addVideoTrack(s),await i.start();const n=new VideoSampleSink(e),o=await n.getSample(w);if(o)try{await s.add(o),o.close(),await i.finalize()}catch(e){console.info("Error when probing encoder support. Falling back to rerender path.",e),k=!0,i.cancel()}else await i.cancel()}k?this._trackPromises.push((async()=>{await this._started;const s=new CanvasSink(e,{width:p,height:f,fit:i.fit??"fill",rotation:o,crop:i.crop,poolSize:1,alpha:"keep"===y}).canvases(this._startTimestamp,this._endTimestamp),n=i.frameRate;let c=null,l=null,h=null;const padFrames=async s=>{assert(c),assert(void 0!==n);const o=Math.round((s-l)*n);for(let s=1;s<o;s++){const o=new VideoSample(c,{timestamp:l+s/n,duration:1/n});await this._registerVideoSample(e,i,d,o)}};for await(const{canvas:o,timestamp:u,duration:m}of s){if(this._canceled)return;let s=Math.max(u-this._startTimestamp,0);if(h=s+m,void 0!==n){const e=Math.floor(s*n)/n;if(null!==c){if(e<=l){c=o,l=e;continue}await padFrames(e)}s=e}const p=new VideoSample(o,{timestamp:s,duration:void 0!==n?1/n:m});await this._registerVideoSample(e,i,d,p),void 0!==n?(c=o,l=s):p.close()}c&&(assert(null!==h),assert(void 0!==n),await padFrames(Math.floor(h*n)/n)),d.close(),this._synchronizer.closeTrack(e.id)})()):this._trackPromises.push((async()=>{await this._started;const s=new VideoSampleSink(e),n=i.frameRate;let o=null,c=null,l=null;const padFrames=async s=>{assert(o),assert(void 0!==n);const l=Math.round((s-c)*n);for(let s=1;s<l;s++)o.setTimestamp(c+s/n),o.setDuration(1/n),await this._registerVideoSample(e,i,d,o);o.close()};for await(const h of s.samples(this._startTimestamp,this._endTimestamp)){if(this._canceled)return void o?.close();let s=Math.max(h.timestamp-this._startTimestamp,0);if(l=s+h.duration,void 0!==n){const e=Math.floor(s*n)/n;if(null!==o){if(e<=c){o.close(),o=h,c=e;continue}await padFrames(e)}s=e,h.setDuration(1/n)}h.setTimestamp(s),await this._registerVideoSample(e,i,d,h),void 0!==n?(o=h,c=s):h.close()}o&&(assert(null!==l),assert(void 0!==n),await padFrames(Math.floor(l*n)/n)),d.close(),this._synchronizer.closeTrack(e.id)})())}else{const i=new EncodedVideoPacketSource(s);n=i,this._trackPromises.push((async()=>{await this._started;const s=new EncodedPacketSink(e),n={decoderConfig:await e.getDecoderConfig()??void 0},o=Number.isFinite(this._endTimestamp)?await s.getPacket(this._endTimestamp,{metadataOnly:!0})??void 0:void 0;for await(const c of s.packets(void 0,o,{verifyKeyPackets:!0})){if(this._canceled)return;"discard"===y&&(delete c.sideData.alpha,delete c.sideData.alphaByteLength),this._reportProgress(e.id,c.timestamp),await i.add(c,n),this._synchronizer.shouldWait(e.id,c.timestamp)&&await this._synchronizer.wait(c.timestamp)}i.close(),this._synchronizer.closeTrack(e.id)})())}this.output.addVideoTrack(n,{frameRate:i.frameRate,languageCode:isIso639Dash2LanguageCode(e.languageCode)?e.languageCode:void 0,name:e.name??void 0,rotation:k?0:o}),this._addedCounts.video++,this._totalTrackCount++,this.utilizedTracks.push(e)}async _registerVideoSample(e,i,s,n){if(this._canceled)return;let o;if(this._reportProgress(e.id,n.timestamp),i.process){let e=i.process(n);e instanceof Promise&&(e=await e),Array.isArray(e)||(e=null===e?[]:[e]),o=e.map((e=>e instanceof VideoSample?e:"undefined"!=typeof VideoFrame&&e instanceof VideoFrame?new VideoSample(e):new VideoSample(e,{timestamp:n.timestamp,duration:n.duration})))}else o=[n];for(const i of o){if(this._canceled)break;await s.add(i),this._synchronizer.shouldWait(e.id,i.timestamp)&&await this._synchronizer.wait(i.timestamp)}for(const e of o)e!==n&&e.close()}async _processAudioTrack(e,i){const s=e.codec;if(!s)return void this.discardedTracks.push({track:e,reason:"unknown_source_codec"});let n;const o=e.numberOfChannels,c=e.sampleRate,l=await e.getFirstTimestamp();let d=i.numberOfChannels??o,h=i.sampleRate??c,u=d!==o||h!==c||this._startTimestamp>0||l<0,m=this.output.format.getSupportedAudioCodecs();if(i.forceTranscode||i.bitrate||u||!m.includes(s)||i.codec&&i.codec!==s||i.process){if(!await e.canDecode())return void this.discardedTracks.push({track:e,reason:"undecodable_source_codec"});let s=null;i.codec&&(m=m.filter((e=>e===i.codec)));const o=i.bitrate??tt,c=await getEncodableAudioCodecs(m,{numberOfChannels:i.process&&i.processedNumberOfChannels?i.processedNumberOfChannels:d,sampleRate:i.process&&i.processedSampleRate?i.processedSampleRate:h,bitrate:o});if(c.some((e=>y.includes(e)))||!m.some((e=>y.includes(e)))||2===d&&h===at)s=c[0]??null;else{const e=(await getEncodableAudioCodecs(m,{numberOfChannels:2,sampleRate:at,bitrate:o})).find((e=>y.includes(e)));e&&(u=!0,s=e,d=2,h=at)}if(null===s)return void this.discardedTracks.push({track:e,reason:"no_encodable_target_codec"});if(u)n=this._resampleAudio(e,i,s,d,h,o);else{const c=new AudioSampleSource({codec:s,bitrate:o});n=c,this._trackPromises.push((async()=>{await this._started;const s=new AudioSampleSink(e);for await(const n of s.samples(void 0,this._endTimestamp)){if(this._canceled)return;await this._registerAudioSample(e,i,c,n),n.close()}c.close(),this._synchronizer.closeTrack(e.id)})())}}else{const i=new EncodedAudioPacketSource(s);n=i,this._trackPromises.push((async()=>{await this._started;const s=new EncodedPacketSink(e),n={decoderConfig:await e.getDecoderConfig()??void 0},o=Number.isFinite(this._endTimestamp)?await s.getPacket(this._endTimestamp,{metadataOnly:!0})??void 0:void 0;for await(const c of s.packets(void 0,o)){if(this._canceled)return;this._reportProgress(e.id,c.timestamp),await i.add(c,n),this._synchronizer.shouldWait(e.id,c.timestamp)&&await this._synchronizer.wait(c.timestamp)}i.close(),this._synchronizer.closeTrack(e.id)})())}this.output.addAudioTrack(n,{languageCode:isIso639Dash2LanguageCode(e.languageCode)?e.languageCode:void 0,name:e.name??void 0}),this._addedCounts.audio++,this._totalTrackCount++,this.utilizedTracks.push(e)}async _registerAudioSample(e,i,s,n){if(this._canceled)return;let o;if(this._reportProgress(e.id,n.timestamp),i.process){let e=i.process(n);if(e instanceof Promise&&(e=await e),Array.isArray(e)||(e=null===e?[]:[e]),!e.every((e=>e instanceof AudioSample)))throw new TypeError("The audio process function must return an AudioSample, null, or an array of AudioSamples.");o=e}else o=[n];for(const i of o){if(this._canceled)break;await s.add(i),this._synchronizer.shouldWait(e.id,i.timestamp)&&await this._synchronizer.wait(i.timestamp)}for(const e of o)e!==n&&e.close()}_resampleAudio(e,i,s,n,o,c){const l=new AudioSampleSource({codec:s,bitrate:c});return this._trackPromises.push((async()=>{await this._started;const s=new AudioResampler({targetNumberOfChannels:n,targetSampleRate:o,startTime:this._startTimestamp,endTime:this._endTimestamp,onSample:s=>this._registerAudioSample(e,i,l,s)}),c=new AudioSampleSink(e).samples(this._startTimestamp,this._endTimestamp);for await(const e of c){if(this._canceled)return;await s.add(e)}await s.finalize(),l.close(),this._synchronizer.closeTrack(e.id)})()),l}_reportProgress(e,i){if(!this._computeProgress)return;assert(null!==this._totalDuration),this._maxTimestamps.set(e,Math.max(i,this._maxTimestamps.get(e)));const s=Math.min(...this._maxTimestamps.values()),n=clamp(s/this._totalDuration,0,1);n!==this._lastProgress&&(this._lastProgress=n,this.onProgress?.(n))}}class TrackSynchronizer{constructor(){this.maxTimestamps=new Map,this.resolvers=[]}computeMinAndMaybeResolve(){let e=1/0;for(const[,i]of this.maxTimestamps)e=Math.min(e,i);for(let i=0;i<this.resolvers.length;i++){const s=this.resolvers[i];s.timestamp-e<5&&(s.resolve(),this.resolvers.splice(i,1),i--)}return e}shouldWait(e,i){this.maxTimestamps.set(e,Math.max(i,this.maxTimestamps.get(e)??-1/0));return i-this.computeMinAndMaybeResolve()>=5}wait(e){const{promise:i,resolve:s}=promiseWithResolvers();return this.resolvers.push({timestamp:e,resolve:s}),i}closeTrack(e){this.maxTimestamps.delete(e),this.computeMinAndMaybeResolve()}}class AudioResampler{constructor(e){this.sourceSampleRate=null,this.sourceNumberOfChannels=null,this.targetSampleRate=e.targetSampleRate,this.targetNumberOfChannels=e.targetNumberOfChannels,this.startTime=e.startTime,this.endTime=e.endTime,this.onSample=e.onSample,this.bufferSizeInFrames=Math.floor(5*this.targetSampleRate),this.bufferSizeInSamples=this.bufferSizeInFrames*this.targetNumberOfChannels,this.outputBuffer=new Float32Array(this.bufferSizeInSamples),this.bufferStartFrame=0,this.maxWrittenFrame=-1}doChannelMixerSetup(){assert(null!==this.sourceNumberOfChannels);const e=this.sourceNumberOfChannels,i=this.targetNumberOfChannels;this.channelMixer=1===e&&2===i?(i,s)=>i[s*e]:1===e&&4===i?(i,s,n)=>i[s*e]*+(n<2):1===e&&6===i?(i,s,n)=>i[s*e]*+(2===n):2===e&&1===i?(i,s)=>{const n=s*e;return.5*(i[n]+i[n+1])}:2===e&&4===i||2===e&&6===i?(i,s,n)=>i[s*e+n]*+(n<2):4===e&&1===i?(i,s)=>{const n=s*e;return.25*(i[n]+i[n+1]+i[n+2]+i[n+3])}:4===e&&2===i?(i,s,n)=>{const o=s*e;return.5*(i[o+n]+i[o+n+2])}:4===e&&6===i?(i,s,n)=>{const o=s*e;return n<2?i[o+n]:2===n||3===n?0:i[o+n-2]}:6===e&&1===i?(i,s)=>{const n=s*e;return Math.SQRT1_2*(i[n]+i[n+1])+i[n+2]+.5*(i[n+4]+i[n+5])}:6===e&&2===i?(i,s,n)=>{const o=s*e;return i[o+n]+Math.SQRT1_2*(i[o+2]+i[o+n+4])}:6===e&&4===i?(i,s,n)=>{const o=s*e;return n<2?i[o+n]+Math.SQRT1_2*i[o+2]:i[o+n+2]}:(i,s,n)=>n<e?i[s*e+n]:0}ensureTempBufferSize(e){let i=this.tempSourceBuffer.length;for(;i<e;)i*=2;if(i!==this.tempSourceBuffer.length){const e=new Float32Array(i);e.set(this.tempSourceBuffer),this.tempSourceBuffer=e}}async add(e){null===this.sourceSampleRate&&(this.sourceSampleRate=e.sampleRate,this.sourceNumberOfChannels=e.numberOfChannels,this.tempSourceBuffer=new Float32Array(this.sourceSampleRate*this.sourceNumberOfChannels),this.doChannelMixerSetup());const i=e.numberOfFrames*e.numberOfChannels;this.ensureTempBufferSize(i);const s=e.allocationSize({planeIndex:0,format:"f32"}),n=new Float32Array(this.tempSourceBuffer.buffer,0,s/4);e.copyTo(n,{planeIndex:0,format:"f32"});const o=e.timestamp-this.startTime,c=e.numberOfFrames/this.sourceSampleRate,l=Math.min(o+c,this.endTime-this.startTime),d=Math.floor(o*this.targetSampleRate),h=Math.ceil(l*this.targetSampleRate);for(let i=d;i<h;i++){if(i<this.bufferStartFrame)continue;for(;i>=this.bufferStartFrame+this.bufferSizeInFrames;)await this.finalizeCurrentBuffer(),this.bufferStartFrame+=this.bufferSizeInFrames;const s=i-this.bufferStartFrame;assert(s<this.bufferSizeInFrames);const c=(i/this.targetSampleRate-o)*this.sourceSampleRate,l=Math.floor(c),d=Math.ceil(c),h=c-l;for(let i=0;i<this.targetNumberOfChannels;i++){let o=0,c=0;l>=0&&l<e.numberOfFrames&&(o=this.channelMixer(n,l,i)),d>=0&&d<e.numberOfFrames&&(c=this.channelMixer(n,d,i));const u=o+h*(c-o),m=s*this.targetNumberOfChannels+i;this.outputBuffer[m]+=u}this.maxWrittenFrame=Math.max(this.maxWrittenFrame,s)}}async finalizeCurrentBuffer(){if(this.maxWrittenFrame<0)return;const e=(this.maxWrittenFrame+1)*this.targetNumberOfChannels,i=new Float32Array(e);i.set(this.outputBuffer.subarray(0,e));const s=this.bufferStartFrame/this.targetSampleRate,n=new AudioSample({format:"f32",sampleRate:this.targetSampleRate,numberOfChannels:this.targetNumberOfChannels,timestamp:s,data:i});await this.onSample(n),this.outputBuffer.fill(0),this.maxWrittenFrame=-1}finalize(){return this.finalizeCurrentBuffer()}}const rt=4294967295,st=65535,nt=255,ot=67324752,ct=134695760,lt=ct,dt=33639248,ht=101010256,ut=101075792,mt=117853008,gt=22,pt=39169,ft=21589,At=6534,wt=30837,bt=30805,kt=2048,yt=16,Bt=16384,vt=2048,Ct=1024,Et=512,It="/",St=30,xt=14,Tt=18,Dt=new Date(2107,11,31),Ft=new Date(1980,0,1),Qt=void 0,Mt="undefined",Pt="function",Rt="object";let zt=2;try{typeof navigator!=Mt&&navigator.hardwareConcurrency&&(zt=navigator.hardwareConcurrency)}catch{}const Ut={workerURI:"./core/web-worker-wasm.js",wasmURI:"./core/streams/zlib-wasm/zlib-streams.wasm",chunkSize:65536,maxWorkers:zt,terminateWorkerTimeout:5e3,useWebWorkers:!0,useCompressionStream:!0,CompressionStream:typeof CompressionStream!=Mt&&CompressionStream,DecompressionStream:typeof DecompressionStream!=Mt&&DecompressionStream},Ot=Object.assign({},Ut);function getConfiguration(){return Ot}function getChunkSize(e){return Math.max(e.chunkSize,64)}function configure(e){const{baseURI:i,chunkSize:s,maxWorkers:n,terminateWorkerTimeout:o,useCompressionStream:c,useWebWorkers:l,CompressionStream:d,DecompressionStream:h,CompressionStreamZlib:u,DecompressionStreamZlib:m,workerURI:p,wasmURI:f}=e;setIfDefined("baseURI",i),setIfDefined("wasmURI",f),setIfDefined("workerURI",p),setIfDefined("chunkSize",s),setIfDefined("maxWorkers",n),setIfDefined("terminateWorkerTimeout",o),setIfDefined("useCompressionStream",c),setIfDefined("useWebWorkers",l),setIfDefined("CompressionStream",d),setIfDefined("DecompressionStream",h),setIfDefined("CompressionStreamZlib",u),setIfDefined("DecompressionStreamZlib",m)}function setIfDefined(e,i){i!==Qt&&(Ot[e]=i)}const _t=[];for(let e=0;e<256;e++){let i=e;for(let e=0;e<8;e++)1&i?i=i>>>1^3988292384:i>>>=1;_t[e]=i}class Crc32{constructor(e){this.crc=e||-1}append(e){let i=0|this.crc;for(let s=0,n=0|e.length;s<n;s++)i=i>>>8^_t[255&(i^e[s])];this.crc=i}get(){return~this.crc}}class Crc32Stream extends TransformStream{constructor(){let e;const i=new Crc32;super({transform(e,s){i.append(e),s.enqueue(e)},flush(){const s=new Uint8Array(4);new DataView(s.buffer).setUint32(0,i.get()),e.value=s}}),e=this}}function encodeText(e){if(typeof TextEncoder==Mt){e=unescape(encodeURIComponent(e));const i=new Uint8Array(e.length);for(let s=0;s<i.length;s++)i[s]=e.charCodeAt(s);return i}return(new TextEncoder).encode(e)}const Lt={concat(e,i){if(0===e.length||0===i.length)return e.concat(i);const s=e[e.length-1],n=Lt.getPartial(s);return 32===n?e.concat(i):Lt._shiftRight(i,n,0|s,e.slice(0,e.length-1))},bitLength(e){const i=e.length;if(0===i)return 0;const s=e[i-1];return 32*(i-1)+Lt.getPartial(s)},clamp(e,i){if(32*e.length<i)return e;const s=(e=e.slice(0,Math.ceil(i/32))).length;return i&=31,s>0&&i&&(e[s-1]=Lt.partial(i,e[s-1]&2147483648>>i-1,1)),e},partial:(e,i,s)=>32===e?i:(s?0|i:i<<32-e)+1099511627776*e,getPartial:e=>Math.round(e/1099511627776)||32,_shiftRight(e,i,s,n){for(void 0===n&&(n=[]);i>=32;i-=32)n.push(s),s=0;if(0===i)return n.concat(e);for(let o=0;o<e.length;o++)n.push(s|e[o]>>>i),s=e[o]<<32-i;const o=e.length?e[e.length-1]:0,c=Lt.getPartial(o);return n.push(Lt.partial(i+c&31,i+c>32?s:n.pop(),1)),n}},Nt={bytes:{fromBits(e){const i=Lt.bitLength(e)/8,s=new Uint8Array(i);let n;for(let o=0;o<i;o++)3&o||(n=e[o/4]),s[o]=n>>>24,n<<=8;return s},toBits(e){const i=[];let s,n=0;for(s=0;s<e.length;s++)n=n<<8|e[s],3&~s||(i.push(n),n=0);return 3&s&&i.push(Lt.partial(8*(3&s),n)),i}}},Yt={sha1:class{constructor(e){const i=this;i.blockSize=512,i._init=[1732584193,4023233417,2562383102,271733878,3285377520],i._key=[1518500249,1859775393,2400959708,3395469782],e?(i._h=e._h.slice(0),i._buffer=e._buffer.slice(0),i._length=e._length):i.reset()}reset(){const e=this;return e._h=e._init.slice(0),e._buffer=[],e._length=0,e}update(e){const i=this;"string"==typeof e&&(e=Nt.utf8String.toBits(e));const s=i._buffer=Lt.concat(i._buffer,e),n=i._length,o=i._length=n+Lt.bitLength(e);if(o>9007199254740991)throw new Error("Cannot hash more than 2^53 - 1 bits");const c=new Uint32Array(s);let l=0;for(let e=i.blockSize+n-(i.blockSize+n&i.blockSize-1);e<=o;e+=i.blockSize)i._block(c.subarray(16*l,16*(l+1))),l+=1;return s.splice(0,16*l),i}finalize(){const e=this;let i=e._buffer;const s=e._h;i=Lt.concat(i,[Lt.partial(1,1)]);for(let e=i.length+2;15&e;e++)i.push(0);for(i.push(Math.floor(e._length/4294967296)),i.push(0|e._length);i.length;)e._block(i.splice(0,16));return e.reset(),s}_f(e,i,s,n){return e<=19?i&s|~i&n:e<=39?i^s^n:e<=59?i&s|i&n|s&n:e<=79?i^s^n:void 0}_S(e,i){return i<<e|i>>>32-e}_block(e){const i=this,s=i._h,n=Array(80);for(let i=0;i<16;i++)n[i]=e[i];let o=s[0],c=s[1],l=s[2],d=s[3],h=s[4];for(let e=0;e<=79;e++){e>=16&&(n[e]=i._S(1,n[e-3]^n[e-8]^n[e-14]^n[e-16]));const s=i._S(5,o)+i._f(e,c,l,d)+h+n[e]+i._key[Math.floor(e/20)]|0;h=d,d=l,l=i._S(30,c),c=o,o=s}s[0]=s[0]+o|0,s[1]=s[1]+c|0,s[2]=s[2]+l|0,s[3]=s[3]+d|0,s[4]=s[4]+h|0}}},Wt={aes:class{constructor(e){const i=this;i._tables=[[[],[],[],[],[]],[[],[],[],[],[]]],i._tables[0][0][0]||i._precompute();const s=i._tables[0][4],n=i._tables[1],o=e.length;let c,l,d,h=1;if(4!==o&&6!==o&&8!==o)throw new Error("invalid aes key size");for(i._key=[l=e.slice(0),d=[]],c=o;c<4*o+28;c++){let e=l[c-1];(c%o==0||8===o&&c%o==4)&&(e=s[e>>>24]<<24^s[e>>16&255]<<16^s[e>>8&255]<<8^s[255&e],c%o==0&&(e=e<<8^e>>>24^h<<24,h=h<<1^283*(h>>7))),l[c]=l[c-o]^e}for(let e=0;c;e++,c--){const i=l[3&e?c:c-4];d[e]=c<=4||e<4?i:n[0][s[i>>>24]]^n[1][s[i>>16&255]]^n[2][s[i>>8&255]]^n[3][s[255&i]]}}encrypt(e){return this._crypt(e,0)}decrypt(e){return this._crypt(e,1)}_precompute(){const e=this._tables[0],i=this._tables[1],s=e[4],n=i[4],o=[],c=[];let l,d,h,u;for(let e=0;e<256;e++)c[(o[e]=e<<1^283*(e>>7))^e]=e;for(let m=l=0;!s[m];m^=d||1,l=c[l]||1){let c=l^l<<1^l<<2^l<<3^l<<4;c=c>>8^255&c^99,s[m]=c,n[c]=m,u=o[h=o[d=o[m]]];let p=16843009*u^65537*h^257*d^16843008*m,f=257*o[c]^16843008*c;for(let s=0;s<4;s++)e[s][m]=f=f<<24^f>>>8,i[s][c]=p=p<<24^p>>>8}for(let s=0;s<5;s++)e[s]=e[s].slice(0),i[s]=i[s].slice(0)}_crypt(e,i){if(4!==e.length)throw new Error("invalid aes block size");const s=this._key[i],n=s.length/4-2,o=[0,0,0,0],c=this._tables[i],l=c[0],d=c[1],h=c[2],u=c[3],m=c[4];let p,f,A,w=e[0]^s[0],b=e[i?3:1]^s[1],k=e[2]^s[2],y=e[i?1:3]^s[3],B=4;for(let e=0;e<n;e++)p=l[w>>>24]^d[b>>16&255]^h[k>>8&255]^u[255&y]^s[B],f=l[b>>>24]^d[k>>16&255]^h[y>>8&255]^u[255&w]^s[B+1],A=l[k>>>24]^d[y>>16&255]^h[w>>8&255]^u[255&b]^s[B+2],y=l[y>>>24]^d[w>>16&255]^h[b>>8&255]^u[255&k]^s[B+3],B+=4,w=p,b=f,k=A;for(let e=0;e<4;e++)o[i?3&-e:e]=m[w>>>24]<<24^m[b>>16&255]<<16^m[k>>8&255]<<8^m[255&y]^s[B++],p=w,w=b,b=k,k=y,y=p;return o}}},Ht={getRandomValues(e){const i=new Uint32Array(e.buffer),r=e=>{let i=987654321;const s=4294967295;return function(){i=36969*(65535&i)+(i>>16)&s;return(((i<<16)+(e=18e3*(65535&e)+(e>>16)&s)&s)/4294967296+.5)*(Math.random()>.5?1:-1)}};for(let s,n=0;n<e.length;n+=4){const e=r(4294967296*(s||Math.random()));s=987654071*e(),i[n/4]=4294967296*e()|0}return e}},Gt={ctrGladman:class{constructor(e,i){this._prf=e,this._initIv=i,this._iv=i}reset(){this._iv=this._initIv}update(e){return this.calculate(this._prf,e,this._iv)}incWord(e){if(255&~(e>>24))e+=1<<24;else{let i=e>>16&255,s=e>>8&255,n=255&e;255===i?(i=0,255===s?(s=0,255===n?n=0:++n):++s):++i,e=0,e+=i<<16,e+=s<<8,e+=n}return e}incCounter(e){0===(e[0]=this.incWord(e[0]))&&(e[1]=this.incWord(e[1]))}calculate(e,i,s){let n;if(!(n=i.length))return[];const o=Lt.bitLength(i);for(let o=0;o<n;o+=4){this.incCounter(s);const n=e.encrypt(s);i[o]^=n[0],i[o+1]^=n[1],i[o+2]^=n[2],i[o+3]^=n[3]}return Lt.clamp(i,o)}}},Vt={importKey:e=>new Vt.hmacSha1(Nt.bytes.toBits(e)),pbkdf2(e,i,s,n){if(s=s||1e4,n<0||s<0)throw new Error("invalid params to pbkdf2");const o=1+(n>>5)<<2;let c,l,d,h,u;const m=new ArrayBuffer(o),p=new DataView(m);let f=0;const A=Lt;for(i=Nt.bytes.toBits(i),u=1;f<(o||1);u++){for(c=l=e.encrypt(A.concat(i,[u])),d=1;d<s;d++)for(l=e.encrypt(l),h=0;h<l.length;h++)c[h]^=l[h];for(d=0;f<(o||1)&&d<c.length;d++)p.setInt32(f,c[d]),f+=4}return m.slice(0,n/8)},hmacSha1:class{constructor(e){const i=this,s=i._hash=Yt.sha1,n=[[],[]];i._baseHash=[new s,new s];const o=i._baseHash[0].blockSize/32;e.length>o&&(e=(new s).update(e).finalize());for(let i=0;i<o;i++)n[0][i]=909522486^e[i],n[1][i]=1549556828^e[i];i._baseHash[0].update(n[0]),i._baseHash[1].update(n[1]),i._resultHash=new s(i._baseHash[0])}reset(){const e=this;e._resultHash=new e._hash(e._baseHash[0]),e._updated=!1}update(e){this._updated=!0,this._resultHash.update(e)}digest(){const e=this,i=e._resultHash.finalize(),s=new e._hash(e._baseHash[1]).update(i).finalize();return e.reset(),s}encrypt(e){if(this._updated)throw new Error("encrypt on already updated hmac called!");return this.update(e),this.digest(e)}}},Kt=typeof crypto!=Mt&&typeof crypto.getRandomValues==Pt,qt="Invalid password",jt="Invalid signature",Jt="zipjs-abort-check-password";function getRandomValues(e){return Kt?crypto.getRandomValues(e):Ht.getRandomValues(e)}const Xt=16,Zt={name:"PBKDF2"},$t=Object.assign({hash:{name:"HMAC"}},Zt),ei=Object.assign({iterations:1e3,hash:{name:"SHA-1"}},Zt),ti=["deriveBits"],ii=[8,12,16],ai=[16,24,32],ri=10,si=[0,0,0,0],ni=typeof crypto!=Mt,oi=ni&&crypto.subtle,ci=ni&&typeof oi!=Mt,li=Nt.bytes,di=Wt.aes,hi=Gt.ctrGladman,ui=Vt.hmacSha1;let mi=ni&&ci&&typeof oi.importKey==Pt,gi=ni&&ci&&typeof oi.deriveBits==Pt;class AESDecryptionStream extends TransformStream{constructor({password:e,rawPassword:i,signed:s,encryptionStrength:n,checkPasswordOnly:o}){super({start(){Object.assign(this,{ready:new Promise((e=>this.resolveReady=e)),password:encodePassword(e,i),signed:s,strength:n-1,pending:new Uint8Array})},async transform(e,i){const s=this,{password:n,strength:c,resolveReady:l,ready:d}=s;n?(await async function createDecryptionKeys(e,i,s,n){const o=await createKeys$1(e,i,s,subarray(n,0,ii[i])),c=subarray(n,ii[i]);if(o[0]!=c[0]||o[1]!=c[1])throw new Error(qt)}(s,c,n,subarray(e,0,ii[c]+2)),e=subarray(e,ii[c]+2),o?i.error(new Error(Jt)):l()):await d;const h=new Uint8Array(e.length-ri-(e.length-ri)%Xt);i.enqueue(append(s,e,h,0,ri,!0))},async flush(e){const{signed:i,ctr:s,hmac:n,pending:o,ready:c}=this;if(n&&s){await c;const l=subarray(o,0,o.length-ri),d=subarray(o,o.length-ri);let h=new Uint8Array;if(l.length){const e=toBits(li,l);n.update(e);const i=s.update(e);h=fromBits(li,i)}if(i){const e=subarray(fromBits(li,n.digest()),0,ri);for(let i=0;i<ri;i++)if(e[i]!=d[i])throw new Error(jt)}e.enqueue(h)}}})}}class AESEncryptionStream extends TransformStream{constructor({password:e,rawPassword:i,encryptionStrength:s}){let n;super({start(){Object.assign(this,{ready:new Promise((e=>this.resolveReady=e)),password:encodePassword(e,i),strength:s-1,pending:new Uint8Array})},async transform(e,i){const s=this,{password:n,strength:o,resolveReady:c,ready:l}=s;let d=new Uint8Array;n?(d=await async function createEncryptionKeys(e,i,s){const n=getRandomValues(new Uint8Array(ii[i])),o=await createKeys$1(e,i,s,n);return concat(n,o)}(s,o,n),c()):await l;const h=new Uint8Array(d.length+e.length-e.length%Xt);h.set(d,0),i.enqueue(append(s,e,h,d.length,0))},async flush(e){const{ctr:i,hmac:s,pending:o,ready:c}=this;if(s&&i){await c;let l=new Uint8Array;if(o.length){const e=i.update(toBits(li,o));s.update(e),l=fromBits(li,e)}n.signature=fromBits(li,s.digest()).slice(0,ri),e.enqueue(concat(l,n.signature))}}}),n=this}}function append(e,i,s,n,o,c){const{ctr:l,hmac:d,pending:h}=e,u=i.length-o;let m;for(h.length&&(i=concat(h,i),s=function expand(e,i){if(i&&i>e.length){const s=e;(e=new Uint8Array(i)).set(s,0)}return e}(s,u-u%Xt)),m=0;m<=u-Xt;m+=Xt){const e=toBits(li,subarray(i,m,m+Xt));c&&d.update(e);const o=l.update(e);c||d.update(o),s.set(fromBits(li,o),m+n)}return e.pending=subarray(i,m),s}async function createKeys$1(e,i,s,n){e.password=null;const o=await async function importKey(e,i,s,n,o){if(!mi)return Vt.importKey(i);try{return await oi.importKey(e,i,s,n,o)}catch{return mi=!1,Vt.importKey(i)}}("raw",s,$t,!1,ti),c=await async function deriveBits(e,i,s){if(!gi)return Vt.pbkdf2(i,e.salt,ei.iterations,s);try{return await oi.deriveBits(e,i,s)}catch{return gi=!1,Vt.pbkdf2(i,e.salt,ei.iterations,s)}}(Object.assign({salt:n},ei),o,8*(2*ai[i]+2)),l=new Uint8Array(c),d=toBits(li,subarray(l,0,ai[i])),h=toBits(li,subarray(l,ai[i],2*ai[i])),u=subarray(l,2*ai[i]);return Object.assign(e,{keys:{key:d,authentication:h,passwordVerification:u},ctr:new hi(new di(d),Array.from(si)),hmac:new ui(h)}),u}function encodePassword(e,i){return i===Qt?encodeText(e):i}function concat(e,i){let s=e;return e.length+i.length&&(s=new Uint8Array(e.length+i.length),s.set(e,0),s.set(i,e.length)),s}function subarray(e,i,s){return e.subarray(i,s)}function fromBits(e,i){return e.fromBits(i)}function toBits(e,i){return e.toBits(i)}class ZipCryptoDecryptionStream extends TransformStream{constructor({password:e,passwordVerification:i,checkPasswordOnly:s}){super({start(){Object.assign(this,{password:e,passwordVerification:i}),createKeys(this,e)},transform(e,i){const n=this;if(n.password){const i=decrypt(n,e.subarray(0,12));if(n.password=null,i.at(-1)!=n.passwordVerification)throw new Error(qt);e=e.subarray(12)}s?i.error(new Error(Jt)):i.enqueue(decrypt(n,e))}})}}class ZipCryptoEncryptionStream extends TransformStream{constructor({password:e,passwordVerification:i}){super({start(){Object.assign(this,{password:e,passwordVerification:i}),createKeys(this,e)},transform(e,i){const s=this;let n,o;if(s.password){s.password=null;const i=getRandomValues(new Uint8Array(12));i[11]=s.passwordVerification,n=new Uint8Array(e.length+i.length),n.set(encrypt(s,i),0),o=12}else n=new Uint8Array(e.length),o=0;n.set(encrypt(s,e),o),i.enqueue(n)}})}}function decrypt(e,i){const s=new Uint8Array(i.length);for(let n=0;n<i.length;n++)s[n]=getByte(e)^i[n],updateKeys(e,s[n]);return s}function encrypt(e,i){const s=new Uint8Array(i.length);for(let n=0;n<i.length;n++)s[n]=getByte(e)^i[n],updateKeys(e,i[n]);return s}function createKeys(e,i){const s=[305419896,591751049,878082192];Object.assign(e,{keys:s,crcKey0:new Crc32(s[0]),crcKey2:new Crc32(s[2])});for(let s=0;s<i.length;s++)updateKeys(e,i.charCodeAt(s))}function updateKeys(e,i){let[s,n,o]=e.keys;e.crcKey0.append([i]),s=~e.crcKey0.get(),n=getInt32(Math.imul(getInt32(n+getInt8(s)),134775813)+1),e.crcKey2.append([n>>>24]),o=~e.crcKey2.get(),e.keys=[s,n,o]}function getByte(e){const i=2|e.keys[2];return getInt8(Math.imul(i,1^i)>>>8)}function getInt8(e){return 255&e}function getInt32(e){return 4294967295&e}const pi="Invalid uncompressed size";class DeflateStream extends TransformStream{constructor(e,{chunkSize:i,CompressionStreamZlib:s,CompressionStream:n}){super({});const{compressed:o,encrypted:c,useCompressionStream:l,zipCrypto:d,signed:h,level:u}=e,m=this;let p,f,A=super.readable;c&&!d||!h||(p=new Crc32Stream,A=pipeThrough(A,p)),o&&(A=pipeThroughCommpressionStream(A,l,{level:u,chunkSize:i},n,s,n)),c&&(d?A=pipeThrough(A,new ZipCryptoEncryptionStream(e)):(f=new AESEncryptionStream(e),A=pipeThrough(A,f))),setReadable(m,A,(()=>{let e;c&&!d&&(e=f.signature),c&&!d||!h||(e=new DataView(p.value.buffer).getUint32(0)),m.signature=e}))}}class InflateStream extends TransformStream{constructor(e,{chunkSize:i,DecompressionStreamZlib:s,DecompressionStream:n}){super({});const{zipCrypto:o,encrypted:c,signed:l,signature:d,compressed:h,useCompressionStream:u,deflate64:m}=e;let p,f,A=super.readable;c&&(o?A=pipeThrough(A,new ZipCryptoDecryptionStream(e)):(f=new AESDecryptionStream(e),A=pipeThrough(A,f))),h&&(A=pipeThroughCommpressionStream(A,u,{chunkSize:i,deflate64:m},n,s,n)),c&&!o||!l||(p=new Crc32Stream,A=pipeThrough(A,p)),setReadable(this,A,(()=>{if((!c||o)&&l){const e=new DataView(p.value.buffer);if(d!=e.getUint32(0,!1))throw new Error(jt)}}))}}function setReadable(e,i,s){i=pipeThrough(i,new TransformStream({flush:s})),Object.defineProperty(e,"readable",{get:()=>i})}function pipeThroughCommpressionStream(e,i,s,n,o,c){const l=i&&n?n:o||c,d=s.deflate64?"deflate64-raw":"deflate-raw";try{e=pipeThrough(e,new l(d,s))}catch(n){if(!i)throw n;if(o)e=pipeThrough(e,new o(d,s));else{if(!c)throw n;e=pipeThrough(e,new c(d,s))}}return e}function pipeThrough(e,i){return e.pipeThrough(i)}const fi="message",Ai="start",wi="pull",bi="data",ki="close",yi="deflate",Bi="inflate";class CodecStream extends TransformStream{constructor(e,i){super({});const s=this,{codecType:n}=e;let o;n.startsWith(yi)?o=DeflateStream:n.startsWith(Bi)&&(o=InflateStream),s.outputSize=0;let c=0;const l=new o(e,i),d=super.readable,h=new TransformStream({transform(e,i){e&&e.length&&(c+=e.length,i.enqueue(e))},flush(){Object.assign(s,{inputSize:c})}}),u=new TransformStream({transform(i,n){if(i&&i.length&&(n.enqueue(i),s.outputSize+=i.length,e.outputSize!==Qt&&s.outputSize>e.outputSize))throw new Error(pi)},flush(){const{signature:e}=l;Object.assign(s,{signature:e,inputSize:c})}});Object.defineProperty(s,"readable",{get:()=>d.pipeThrough(h).pipeThrough(l).pipeThrough(u)})}}class ChunkStream extends TransformStream{constructor(e){let i;super({transform:function transform(s,n){if(i){const e=new Uint8Array(i.length+s.length);e.set(i),e.set(s,i.length),s=e,i=null}s.length>e?(n.enqueue(s.slice(0,e)),transform(s.slice(e),n)):i=s},flush(e){i&&i.length&&e.enqueue(i)}})}}let vi=typeof Worker!=Mt,initModule$1=()=>{};class CodecWorker{constructor(e,{readable:i,writable:s},{options:n,config:o,streamOptions:c,useWebWorkers:l,transferStreams:d,workerURI:h},u){const{signal:m}=c;return Object.assign(e,{busy:!0,readable:i.pipeThrough(new ChunkStream(o.chunkSize)).pipeThrough(new ProgressWatcherStream(c),{signal:m}),writable:s,options:Object.assign({},n),workerURI:h,transferStreams:d,terminate:()=>new Promise((i=>{const{worker:s,busy:n}=e;s?(n?e.resolveTerminated=i:(s.terminate(),i()),e.interface=null):i()})),onTaskFinished(){const{resolveTerminated:i}=e;i&&(e.resolveTerminated=null,e.terminated=!0,e.worker.terminate(),i()),e.busy=!1,u(e)}}),(l&&vi?createWebWorkerInterface:createWorkerInterface)(e,o)}}class ProgressWatcherStream extends TransformStream{constructor({onstart:e,onprogress:i,size:s,onend:n}){let o=0;super({async start(){e&&await callHandler(e,s)},async transform(e,n){o+=e.length,i&&await callHandler(i,o,s),n.enqueue(e)},async flush(){n&&await callHandler(n,o)}})}}async function callHandler(e,...i){try{await e(...i)}catch{}}function createWorkerInterface(e,i){return{run:()=>async function runWorker$1({options:e,readable:i,writable:s,onTaskFinished:n},o){let c;try{if(!e.useCompressionStream)try{await initModule$1(o)}catch{e.useCompressionStream=!0}c=new CodecStream(e,o),await i.pipeThrough(c).pipeTo(s,{preventClose:!0,preventAbort:!0});const{signature:n,inputSize:l,outputSize:d}=c;return{signature:n,inputSize:l,outputSize:d}}catch(e){throw c&&(e.outputSize=c.outputSize),e}finally{n()}}(e,i)}}function createWebWorkerInterface(e,i){const{baseURI:s,chunkSize:n}=i;let{wasmURI:o}=i;if(!e.interface){let c;typeof o==Pt&&(o=o());try{c=function getWebWorker(e,i,s){const n={type:"module"};let o,c;typeof e==Pt&&(e=e());if(e.startsWith("data:")||e.startsWith("blob:"))try{c=new Worker(e)}catch{c=new Worker(e,n)}else{try{o=new URL(e,i)}catch{o=e}c=new Worker(o,n)}return c.addEventListener(fi,(e=>async function onMessage({data:e},i){const{type:s,value:n,messageId:o,result:c,error:l}=e,{reader:d,writer:h,resolveResult:u,rejectResult:m,onTaskFinished:p}=i;try{if(l){const{message:e,stack:i,code:s,name:n,outputSize:o}=l,c=new Error(e);Object.assign(c,{stack:i,code:s,name:n,outputSize:o}),close(c)}else{if(s==wi){const{value:e,done:s}=await d.read();sendMessage({type:bi,value:e,done:s,messageId:o},i)}s==bi&&(await h.ready,await h.write(new Uint8Array(n)),sendMessage({type:"ack",messageId:o},i)),s==ki&&close(null,c)}}catch(l){sendMessage({type:ki,messageId:o},i),close(l)}function close(e,i){e?m(e):u(i),h&&h.releaseLock(),p()}}(e,s))),c}(e.workerURI,s,e)}catch{return vi=!1,createWorkerInterface(e,i)}Object.assign(e,{worker:c,interface:{run:()=>async function runWebWorker(e,i){let s,n;const o=new Promise(((e,i)=>{s=e,n=i}));Object.assign(e,{reader:null,writer:null,resolveResult:s,rejectResult:n,result:o});const{readable:c,options:l}=e,{writable:d,closed:h}=function watchClosedStream(e){let i;const s=new Promise((e=>i=e)),n=new WritableStream({async write(i){const s=e.getWriter();await s.ready,await s.write(i),s.releaseLock()},close(){i()},abort:i=>e.getWriter().abort(i)});return{writable:n,closed:s}}(e.writable),u=sendMessage({type:Ai,options:l,config:i,readable:c,writable:d},e);u||Object.assign(e,{reader:c.getReader(),writer:d.getWriter()});const m=await o;u||await d.getWriter().close();return await h,m}(e,{chunkSize:n,wasmURI:o,baseURI:s})}})}return e.interface}let Ci=!0;function sendMessage(e,{worker:i,writer:s,onTaskFinished:n,transferStreams:o}){try{const{value:s,readable:n,writable:c}=e,l=[];if(s&&(e.value=s,l.push(e.value.buffer)),o&&Ci?(n&&l.push(n),c&&l.push(c)):e.readable=e.writable=null,l.length)try{return i.postMessage(e,l),!0}catch{Ci=!1,e.readable=e.writable=null,i.postMessage(e)}else i.postMessage(e)}catch(e){throw s&&s.releaseLock(),n(),e}}let Ei=[];const Ii=[];let Si=0;async function runWorker(e,i){const{options:s,config:n}=i,{transferStreams:o,useWebWorkers:c,useCompressionStream:l,compressed:d,signed:h,encrypted:u}=s,{workerURI:m,maxWorkers:p}=n;i.transferStreams=o||o===Qt;const f=!(d||h||u||i.transferStreams);return i.useWebWorkers=!f&&(c||c===Qt&&n.useWebWorkers),i.workerURI=i.useWebWorkers&&m?m:Qt,s.useCompressionStream=l||l===Qt&&n.useCompressionStream,(await async function getWorker(){const s=Ei.find((e=>!e.busy));if(s)return clearTerminateTimeout(s),new CodecWorker(s,e,i,onTaskFinished);if(Ei.length<p){const s={indexWorker:Si};return Si++,Ei.push(s),new CodecWorker(s,e,i,onTaskFinished)}return new Promise((s=>Ii.push({resolve:s,stream:e,workerOptions:i})))}()).run();function onTaskFinished(e){if(Ii.length){const[{resolve:i,stream:s,workerOptions:n}]=Ii.splice(0,1);i(new CodecWorker(e,s,n,onTaskFinished))}else e.worker?(clearTerminateTimeout(e),function terminateWorker(e,i){const{config:s}=i,{terminateWorkerTimeout:n}=s;Number.isFinite(n)&&n>=0&&(e.terminated?e.terminated=!1:e.terminateTimeout=setTimeout((async()=>{Ei=Ei.filter((i=>i!=e));try{await e.terminate()}catch{}}),n))}(e,i)):Ei=Ei.filter((i=>i!=e))}}function clearTerminateTimeout(e){const{terminateTimeout:i}=e;i&&(clearTimeout(i),e.terminateTimeout=null)}const xi=65536,Ti="writable";class Stream{constructor(){this.size=0}init(){this.initialized=!0}}class Reader extends Stream{get readable(){const e=this,{chunkSize:i=xi}=e,s=new ReadableStream({start(){this.chunkOffset=0},async pull(n){const{offset:o=0,size:c,diskNumberStart:l}=s,{chunkOffset:d}=this,h=c===Qt?i:Math.min(i,c-d),u=await readUint8Array(e,o+d,h,l);n.enqueue(u),d+i>c||c===Qt&&!u.length&&h?n.close():this.chunkOffset+=i}});return s}}class BlobReader extends Reader{constructor(e){super(),Object.assign(this,{blob:e,size:e.size})}async readUint8Array(e,i){const s=this,n=e+i,o=e||n<s.size?s.blob.slice(e,n):s.blob;let c=await o.arrayBuffer();return c.byteLength>i&&(c=c.slice(e,n)),new Uint8Array(c)}}class BlobWriter extends Stream{constructor(e){super();const i=new TransformStream,s=[];e&&s.push(["Content-Type",e]),Object.defineProperty(this,Ti,{get:()=>i.writable}),this.blob=new Response(i.readable,{headers:s}).blob()}getData(){return this.blob}}class TextReader extends BlobReader{constructor(e){super(new Blob([e],{type:"text/plain"}))}}class TextWriter extends BlobWriter{constructor(e){super(e),Object.assign(this,{encoding:e,utf8:!e||"utf-8"==e.toLowerCase()})}async getData(){const{encoding:e,utf8:i}=this,s=await super.getData();if(s.text&&i)return s.text();{const i=new FileReader;return new Promise(((n,o)=>{Object.assign(i,{onload:({target:e})=>n(e.result),onerror:()=>o(i.error)}),i.readAsText(s,e)}))}}}class SplitDataReader extends Reader{constructor(e){super(),this.readers=e}async init(){const e=this,{readers:i}=e;e.lastDiskNumber=0,e.lastDiskOffset=0,await Promise.all(i.map((async(s,n)=>{await s.init(),n!=i.length-1&&(e.lastDiskOffset+=s.size),e.size+=s.size}))),super.init()}async readUint8Array(e,i,s=0){const n=this,{readers:o}=this;let c,l=s;-1==l&&(l=o.length-1);let d=e;for(;o[l]&&d>=o[l].size;)d-=o[l].size,l++;const h=o[l];if(h){const o=h.size;if(d+i<=o)c=await readUint8Array(h,d,i);else{const l=o-d;c=new Uint8Array(i);const u=await readUint8Array(h,d,l);c.set(u,0);const m=await n.readUint8Array(e+l,i-l,s);c.set(m,l),u.length+m.length<i&&(c=c.subarray(0,u.length+m.length))}}else c=new Uint8Array;return n.lastDiskNumber=Math.max(l,n.lastDiskNumber),c}}class SplitDataWriter extends Stream{constructor(e,i=4294967295){super();const s=this;let n,o,c;Object.assign(s,{diskNumber:0,diskOffset:0,size:0,maxSize:i,availableSize:i});const l=new WritableStream({async write(i){const{availableSize:l}=s;if(c)i.length>=l?(await writeChunk(i.subarray(0,l)),await closeDisk(),s.diskOffset+=n.size,s.diskNumber++,c=null,await this.write(i.subarray(l))):await writeChunk(i);else{const{value:l,done:d}=await e.next();if(d&&!l)throw new Error("Writer iterator completed too soon");n=l,n.size=0,n.maxSize&&(s.maxSize=n.maxSize),s.availableSize=s.maxSize,await initStream(n),o=l.writable,c=o.getWriter(),await this.write(i)}},async close(){await c.ready,await closeDisk()}});async function writeChunk(e){const i=e.length;i&&(await c.ready,await c.write(e),n.size+=i,s.size+=i,s.availableSize-=i)}async function closeDisk(){await c.close()}Object.defineProperty(s,Ti,{get:()=>l})}}class GenericReader{constructor(e){return Array.isArray(e)&&(e=new SplitDataReader(e)),e instanceof ReadableStream&&(e={readable:e}),e}}class GenericWriter{constructor(e){return e.writable===Qt&&typeof e.next==Pt&&(e=new SplitDataWriter(e)),e instanceof WritableStream&&(e={writable:e}),e.size===Qt&&(e.size=0),e instanceof SplitDataWriter||Object.assign(e,{diskNumber:0,diskOffset:0,availableSize:1/0,maxSize:1/0}),e}}async function initStream(e,i){if(!e.init||e.initialized)return Promise.resolve();await e.init(i)}function readUint8Array(e,i,s,n){return e.readUint8Array(i,s,n)}const Di="\0☺☻♥♦♣♠•◘○◙♂♀♪♫☼►◄↕‼¶§▬↨↑↓→←∟↔▲▼ !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~⌂ÇüéâäàåçêëèïîìÄÅÉæÆôöòûùÿÖÜ¢£¥₧ƒáíóúñѪº¿⌐¬½¼¡«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ ".split(""),Fi=256==Di.length;function decodeText(e,i){return i&&"cp437"==i.trim().toLowerCase()?function decodeCP437(e){if(Fi){let i="";for(let s=0;s<e.length;s++)i+=Di[e[s]];return i}return(new TextDecoder).decode(e)}(e):new TextDecoder(i).decode(e)}const Qi="filename",Mi="rawFilename",Pi="comment",Ri="rawComment",zi="uncompressedSize",Ui="compressedSize",Oi="offset",_i="diskNumberStart",Li="lastModDate",Ni="rawLastModDate",Yi="lastAccessDate",Wi="rawLastAccessDate",Hi="creationDate",Gi="rawCreationDate",Vi="internalFileAttributes",Ki="externalFileAttributes",qi="msdosAttributesRaw",ji="msdosAttributes",Ji="msDosCompatible",Xi="zip64",Zi="encrypted",$i="version",ea="versionMadeBy",ta="zipCrypto",ia="directory",aa="executable",ra="compressionMethod",sa="signature",na="extraField",oa="uid",ca="gid",la="unixMode",da="setuid",ha="setgid",ua="sticky",ma=[Qi,Mi,zi,Ui,Li,Ni,Pi,Ri,Yi,Hi,Gi,Oi,_i,Vi,Ki,qi,ji,Ji,Xi,Zi,$i,ea,ta,ia,aa,ra,sa,na,"extraFieldUnix","extraFieldInfoZip","uid","gid",la,da,ha,ua,"bitFlag","filenameUTF8","commentUTF8","rawExtraField","extraFieldZip64","extraFieldUnicodePath","extraFieldUnicodeComment","extraFieldAES","extraFieldNTFS","extraFieldExtendedTimestamp"];class Entry{constructor(e){ma.forEach((i=>this[i]=e[i]))}}const ga="password",pa="rawPassword",fa="passThrough",Aa="signal",wa="useWebWorkers",ba="useCompressionStream",ka="preventClose",ya="encryptionStrength",Ba="extendedTimestamp",va="keepOrder",Ca="level",Ea="bufferedWrite",Ia="dataDescriptorSignature",Sa="useUnicodeFileNames",xa="dataDescriptor",Ta="supportZip64SplitFile",Da="encodeText",Fa="offset",Qa="usdz",Ma="unixExtraFieldType",Pa="File format is not recognized",Ra="Zip64 extra field not found",za="Compression method not supported",Ua="Split zip file",Oa="Overlapping entry found",_a="utf-8",La="cp437",Na=[[zi,rt],[Ui,rt],[Oi,rt],[_i,st]],Ya={[st]:{getValue:getUint32,bytes:4},[rt]:{getValue:getBigUint64,bytes:8}};class ZipReader{constructor(e,i={}){Object.assign(this,{reader:new GenericReader(e),options:i,config:getConfiguration(),readRanges:[]})}async*getEntriesGenerator(e={}){const i=this;let{reader:s}=i;const{config:n}=i;if(await initStream(s),s.size!==Qt&&s.readUint8Array||(s=new BlobReader(await new Response(s.readable).blob()),await initStream(s)),s.size<gt)throw new Error(Pa);s.chunkSize=getChunkSize(n);const o=await async function seekSignature(e,i,s,n,o){const c=new Uint8Array(4);!function setUint32$1(e,i,s){e.setUint32(i,s,!0)}(getDataView$1(c),0,i);const l=n+o;return await seek(n)||await seek(Math.min(l,s));async function seek(i){const o=s-i,l=await readUint8Array(e,o,i);for(let e=l.length-n;e>=0;e--)if(l[e]==c[0]&&l[e+1]==c[1]&&l[e+2]==c[2]&&l[e+3]==c[3])return{offset:o+e,buffer:l.slice(e,e+n).buffer}}}(s,ht,s.size,gt,1048560);if(!o){throw getUint32(getDataView$1(await readUint8Array(s,0,4)))==ct?new Error(Ua):new Error("End of central directory not found")}const c=getDataView$1(o);let l=getUint32(c,12),d=getUint32(c,16);const h=o.offset,u=getUint16(c,20),m=h+gt+u;let p=getUint16(c,4);const f=s.lastDiskNumber||0;let A=getUint16(c,6),w=getUint16(c,8),b=0,k=0;if(d==rt||l==rt||w==st||A==st){const e=getDataView$1(await readUint8Array(s,o.offset-20,20));if(getUint32(e,0)==mt){d=getBigUint64(e,8);let i=await readUint8Array(s,d,56,-1),n=getDataView$1(i);const c=o.offset-20-56;if(getUint32(n,0)!=ut&&d!=c){const e=d;d=c,d>e&&(b=d-e),i=await readUint8Array(s,d,56,-1),n=getDataView$1(i)}if(getUint32(n,0)!=ut)throw new Error("End of Zip64 central directory locator not found");p==st&&(p=getUint32(n,16)),A==st&&(A=getUint32(n,20)),w==st&&(w=getBigUint64(n,32)),l==rt&&(l=getBigUint64(n,40)),d-=l}}if(d>=s.size&&(b=s.size-d-l-gt,d=s.size-l-gt),f!=p)throw new Error(Ua);if(d<0)throw new Error(Pa);let y=0,B=await readUint8Array(s,d,l,A),v=getDataView$1(B);if(l){const e=o.offset-l;if(getUint32(v,y)!=dt&&d!=e){const i=d;d=e,d>i&&(b+=d-i),B=await readUint8Array(s,d,l,A),v=getDataView$1(B)}}const C=o.offset-d-(s.lastDiskOffset||0);if(l!=C&&C>=0&&(l=C,B=await readUint8Array(s,d,l,A),v=getDataView$1(B)),d<0||d>=s.size)throw new Error(Pa);const E=getOptionValue$1(i,e,"filenameEncoding"),S=getOptionValue$1(i,e,"commentEncoding");for(let o=0;o<w;o++){const c=new ZipEntry(s,n,i.options);if(getUint32(v,y)!=dt)throw new Error("Central directory header not found");readCommonHeader(c,v,y+6);const l=Boolean(c.bitFlag.languageEncodingFlag),d=y+46,h=d+c.filenameLength,u=h+c.extraFieldLength,m=getUint16(v,y+4),p=!(m>>8),f=m>>8==3,A=B.subarray(d,h),C=getUint16(v,y+32),x=u+C,T=B.subarray(u,x),D=l,F=l,Q=getUint32(v,y+38),M=Q&nt,P={readOnly:Boolean(1&M),hidden:Boolean(2&M),system:Boolean(4&M),directory:Boolean(16&M),archive:Boolean(32&M)},R=getUint32(v,y+42)+b,z=getOptionValue$1(i,e,"decodeText")||decodeText,U=D?_a:E||La,O=F?_a:S||La;let _=z(A,U);_===Qt&&(_=decodeText(A,U));let L=z(T,O);L===Qt&&(L=decodeText(T,O)),Object.assign(c,{versionMadeBy:m,msDosCompatible:p,compressedSize:0,uncompressedSize:0,commentLength:C,offset:R,diskNumberStart:getUint16(v,y+34),internalFileAttributes:getUint16(v,y+36),externalFileAttributes:Q,msdosAttributesRaw:M,msdosAttributes:P,rawFilename:A,filenameUTF8:D,commentUTF8:F,rawExtraField:B.subarray(h,u),rawComment:T,filename:_,comment:L}),k=Math.max(R,k),readCommonFooter(c,c,v,y+6);const N=c.externalFileAttributes>>16&st;c.unixMode===Qt&&16877&N&&(c.unixMode=N);const Y=Boolean(c.unixMode&vt),W=Boolean(c.unixMode&Ct),H=Boolean(c.unixMode&Et),G=c.unixMode!==Qt?!!(73&c.unixMode):f&&!!(73&N),V=c.unixMode!==Qt&&(61440&c.unixMode)==Bt,K=(61440&N)==Bt;Object.assign(c,{setuid:Y,setgid:W,sticky:H,unixExternalUpper:N,internalFileAttribute:c.internalFileAttributes,externalFileAttribute:c.externalFileAttributes,executable:G,directory:V||K||p&&P.directory||_.endsWith(It)&&!c.uncompressedSize,zipCrypto:c.encrypted&&!c.extraFieldAES});const q=new Entry(c);q.getData=(e,s)=>c.getData(e,q,i.readRanges,s),q.arrayBuffer=async e=>{const s=new TransformStream,[n]=await Promise.all([new Response(s.readable).arrayBuffer(),c.getData(s,q,i.readRanges,e)]);return n},y=x;const{onprogress:j}=e;if(j)try{await j(o+1,w,new Entry(c))}catch{}yield q}const x=getOptionValue$1(i,e,"extractPrependedData"),T=getOptionValue$1(i,e,"extractAppendedData");return x&&(i.prependedData=k>0?await readUint8Array(s,0,k):new Uint8Array),i.comment=u?await readUint8Array(s,h+gt,u):new Uint8Array,T&&(i.appendedData=m<s.size?await readUint8Array(s,m,s.size-m):new Uint8Array),!0}async getEntries(e={}){const i=[];for await(const s of this.getEntriesGenerator(e))i.push(s);return i}async close(){}}class ZipEntry{constructor(e,i,s){Object.assign(this,{reader:e,config:i,options:s})}async getData(e,i,s,n={}){const o=this,{reader:c,offset:l,diskNumberStart:d,extraFieldAES:h,extraFieldZip64:u,compressionMethod:m,config:p,bitFlag:f,signature:A,rawLastModDate:w,uncompressedSize:b,compressedSize:k}=o,{dataDescriptor:y}=f,B=i.localDirectory={},v=getDataView$1(await readUint8Array(c,l,St,d));let C=getOptionValue$1(o,n,ga),E=getOptionValue$1(o,n,pa);const S=getOptionValue$1(o,n,fa);if(C=C&&C.length&&C,E=E&&E.length&&E,h&&99!=h.originalCompressionMethod)throw new Error(za);if(0!=m&&8!=m&&9!=m&&!S)throw new Error(za);if(getUint32(v,0)!=ot)throw new Error("Local file header not found");readCommonHeader(B,v,4);const{extraFieldLength:x,filenameLength:T,lastAccessDate:D,creationDate:F}=B;B.rawExtraField=x?await readUint8Array(c,l+St+T,x,d):new Uint8Array,readCommonFooter(o,B,v,4,!0),Object.assign(i,{lastAccessDate:D,creationDate:F});const Q=o.encrypted&&B.encrypted&&!S,M=Q&&!h;if(S||(i.zipCrypto=M),Q){if(!M&&h.strength===Qt)throw new Error("Encryption method not supported");if(!C&&!E)throw new Error("File contains encrypted entry")}const P=l+St+T+x,R=k,z=c.readable;Object.assign(z,{diskNumberStart:d,offset:P,size:R});const U=getOptionValue$1(o,n,Aa),O=getOptionValue$1(o,n,"checkPasswordOnly");let _=getOptionValue$1(o,n,"checkOverlappingEntry");const L=getOptionValue$1(o,n,"checkOverlappingEntryOnly");L&&(_=!0);const{onstart:N,onprogress:Y,onend:W}=n,H=9==m;let G=getOptionValue$1(o,n,ba);H&&(G=!1);const V={options:{codecType:Bi,password:C,rawPassword:E,zipCrypto:M,encryptionStrength:h&&h.strength,signed:getOptionValue$1(o,n,"checkSignature")&&!S,passwordVerification:M&&(y?w>>>8&nt:A>>>24&nt),outputSize:S?k:b,signature:A,compressed:0!=m&&!S,encrypted:o.encrypted&&!S,useWebWorkers:getOptionValue$1(o,n,wa),useCompressionStream:G,transferStreams:getOptionValue$1(o,n,"transferStreams"),deflate64:H,checkPasswordOnly:O},config:p,streamOptions:{signal:U,size:R,onstart:N,onprogress:Y,onend:W}};let K;_&&await async function detectOverlappingEntry({reader:e,fileEntry:i,offset:s,diskNumberStart:n,signature:o,compressedSize:c,uncompressedSize:l,dataOffset:d,dataDescriptor:h,extraFieldZip64:u,readRanges:m}){let p=0;if(n)for(let i=0;i<n;i++){p+=e.readers[i].size}let f=0;h&&(f=u?20:12);if(f){const s=await readUint8Array(e,d+c,f+4,n);if(getUint32(getDataView$1(s),0)==lt){const e=getUint32(getDataView$1(s),4);let n,d;u?(n=getBigUint64(getDataView$1(s),8),d=getBigUint64(getDataView$1(s),16)):(n=getUint32(getDataView$1(s),8),d=getUint32(getDataView$1(s),12));(i.encrypted&&!i.zipCrypto||e==o)&&n==c&&d==l&&(f+=4)}}const A={start:p+s,end:p+d+c+f,fileEntry:i};for(const e of m)if(e.fileEntry!=i&&A.start>=e.start&&A.start<e.end){const i=new Error(Oa);throw i.overlappingEntry=e.fileEntry,i}m.push(A)}({reader:c,fileEntry:i,offset:l,diskNumberStart:d,signature:A,compressedSize:k,uncompressedSize:b,dataOffset:P,dataDescriptor:y||B.bitFlag.dataDescriptor,extraFieldZip64:u||B.extraFieldZip64,readRanges:s});try{if(!L){O&&(e=new WritableStream),e=new GenericWriter(e),await initStream(e,S?k:b),({writable:K}=e);const{outputSize:i}=await runWorker({readable:z,writable:K},V);if(e.size+=i,i!=(S?k:b))throw new Error(pi)}}catch(i){if(i.outputSize!==Qt&&(e.size+=i.outputSize),!O||i.message!=Jt)throw i}finally{getOptionValue$1(o,n,ka)||!K||K.locked||await K.getWriter().close()}return O||L?Qt:e.getData?e.getData():K}}function readCommonHeader(e,i,s){const n=e.rawBitFlag=getUint16(i,s+2),o=!(1&~n),c=getUint32(i,s+6);Object.assign(e,{encrypted:o,version:getUint16(i,s),bitFlag:{level:(6&n)>>1,dataDescriptor:!(8&~n),languageEncodingFlag:(n&kt)==kt},rawLastModDate:c,lastModDate:getDate(c),filenameLength:getUint16(i,s+22),extraFieldLength:getUint16(i,s+24)})}function readCommonFooter(e,i,s,n,o){const{rawExtraField:c}=i,l=i.extraField=new Map,d=getDataView$1(new Uint8Array(c));let h=0;try{for(;h<c.length;){const e=getUint16(d,h),i=getUint16(d,h+2);l.set(e,{type:e,data:c.slice(h+4,h+4+i)}),h+=4+i}}catch{}const u=getUint16(s,n+4);Object.assign(i,{signature:getUint32(s,n+10),compressedSize:getUint32(s,n+xt),uncompressedSize:getUint32(s,n+Tt)});const m=l.get(1);m&&(!function readExtraFieldZip64(e,i){i.zip64=!0;const s=getDataView$1(e.data),n=Na.filter((([e,s])=>i[e]==s));for(let o=0,c=0;o<n.length;o++){const[l,d]=n[o];if(i[l]==d){const n=Ya[d];i[l]=e[l]=n.getValue(s,c),c+=n.bytes}else if(e[l])throw new Error(Ra)}}(m,i),i.extraFieldZip64=m);const p=l.get(28789);p&&(readExtraFieldUnicode(p,Qi,Mi,i,e),i.extraFieldUnicodePath=p);const f=l.get(25461);f&&(readExtraFieldUnicode(f,Pi,Ri,i,e),i.extraFieldUnicodeComment=f);const A=l.get(39169);A?(!function readExtraFieldAES(e,i,s){const n=getDataView$1(e.data),o=getUint8(n,4);Object.assign(e,{vendorVersion:getUint8(n,0),vendorId:getUint8(n,2),strength:o,originalCompressionMethod:s,compressionMethod:getUint16(n,5)}),i.compressionMethod=e.compressionMethod}(A,i,u),i.extraFieldAES=A):i.compressionMethod=u;const w=l.get(10);w&&(!function readExtraFieldNTFS(e,i){const s=getDataView$1(e.data);let n,o=4;try{for(;o<e.data.length&&!n;){const i=getUint16(s,o),c=getUint16(s,o+2);1==i&&(n=e.data.slice(o+4,o+4+c)),o+=4+c}}catch{}try{if(n&&24==n.length){const s=getDataView$1(n),o=s.getBigUint64(0,!0),c=s.getBigUint64(8,!0),l=s.getBigUint64(16,!0);Object.assign(e,{rawLastModDate:o,rawLastAccessDate:c,rawCreationDate:l});const d=getDateNTFS(o),h=getDateNTFS(c),u={lastModDate:d,lastAccessDate:h,creationDate:getDateNTFS(l)};Object.assign(e,u),Object.assign(i,u)}}catch{}}(w,i),i.extraFieldNTFS=w);const b=l.get(30805);if(b)readExtraFieldUnix(b,i,!1),i.extraFieldUnix=b;else{const e=l.get(30837);e&&(readExtraFieldUnix(e,i,!0),i.extraFieldInfoZip=e)}const k=l.get(ft);k&&(!function readExtraFieldExtendedTimestamp(e,i,s){const n=getDataView$1(e.data),o=getUint8(n,0),c=[],l=[];s?(1&~o||(c.push(Li),l.push(Ni)),2&~o||(c.push(Yi),l.push(Wi)),4&~o||(c.push(Hi),l.push(Gi))):e.data.length>=5&&(c.push(Li),l.push(Ni));let d=1;c.forEach(((s,o)=>{if(e.data.length>=d+4){const c=getUint32(n,d);i[s]=e[s]=new Date(1e3*c);const h=l[o];e[h]=c}d+=4}))}(k,i,o),i.extraFieldExtendedTimestamp=k);const y=l.get(6534);y&&(i.extraFieldUSDZ=y)}function readExtraFieldUnicode(e,i,s,n,o){const c=getDataView$1(e.data),l=new Crc32;l.append(o[s]);const d=getDataView$1(new Uint8Array(4));d.setUint32(0,l.get(),!0);const h=getUint32(c,1);Object.assign(e,{version:getUint8(c,0),[i]:decodeText(e.data.subarray(5)),valid:!o.bitFlag.languageEncodingFlag&&h==getUint32(d,0)}),e.valid&&(n[i]=e[i],n[i+"UTF8"]=!0)}function readExtraFieldUnix(e,i,s){try{const n=getDataView$1(new Uint8Array(e.data));let o=0;const c=getUint8(n,o++),l=getUint8(n,o++),d=e.data.subarray(o,o+l);o+=l;const h=unpackUnixId(d),u=getUint8(n,o++),m=e.data.subarray(o,o+u);o+=u;const p=unpackUnixId(m);let f=Qt;if(!s&&o+2<=e.data.length){const i=e.data;f=new DataView(i.buffer,i.byteOffset+o,2).getUint16(0,!0)}Object.assign(e,{version:c,uid:h,gid:p,unixMode:f}),h!==Qt&&(i.uid=h),p!==Qt&&(i.gid=p),f!==Qt&&(i.unixMode=f)}catch{}}function unpackUnixId(e){const i=new Uint8Array(4);i.set(e,0);return new DataView(i.buffer,i.byteOffset,4).getUint32(0,!0)}function getOptionValue$1(e,i,s){return i[s]===Qt?e.options[s]:i[s]}function getDate(e){const i=(4294901760&e)>>16,s=e&st;try{return new Date(1980+((65024&i)>>9),((480&i)>>5)-1,31&i,(63488&s)>>11,(2016&s)>>5,2*(31&s),0)}catch{}}function getDateNTFS(e){return new Date(Number(e/BigInt(1e4)-BigInt(116444736e5)))}function getUint8(e,i){return e.getUint8(i)}function getUint16(e,i){return e.getUint16(i,!0)}function getUint32(e,i){return e.getUint32(i,!0)}function getBigUint64(e,i){return Number(e.getBigUint64(i,!0))}function getDataView$1(e){return new DataView(e.buffer)}const Wa="Zip file comment exceeds 64KB",Ha="File entry comment exceeds 64KB",Ga="File entry name exceeds 64KB",Va="Version exceeds 65535",Ka="The strength must equal 1, 2, or 3",qa="Extra field type exceeds 65535",ja="Extra field data exceeds 64KB",Ja="Zip64 is not supported (make sure 'keepOrder' is set to 'true')",Xa="Undefined uncompressed size",Za="Invalid uid (must be integer 0..2^32-1)",$a="Invalid gid (must be integer 0..2^32-1)",er="Invalid UNIX mode (must be integer 0..65535)",tr="Invalid unixExtraFieldType (must be 'infozip' or 'unix')",ir="Invalid msdosAttributesRaw (must be integer 0..255)",ar="Invalid msdosAttributes (must be an object with boolean flags)",rr=new Uint8Array([7,0,2,0,65,69,3,0,0]),sr="infozip",nr="unix";let or=0;const cr=[];class ZipWriter{constructor(e,i={}){const s=(e=new GenericWriter(e)).availableSize!==Qt&&e.availableSize>0&&e.availableSize!==1/0&&e.maxSize!==Qt&&e.maxSize>0&&e.maxSize!==1/0;Object.assign(this,{writer:e,addSplitZipSignature:s,options:i,config:getConfiguration(),files:new Map,filenames:new Set,offset:i[Fa]===Qt?e.size||e.writable.size||0:i[Fa],pendingEntriesSize:0,pendingAddFileCalls:new Set,bufferedWrites:0})}async prependZip(e){if(this.filenames.size)throw new Error("Zip file not empty");e=new GenericReader(e);const i=new ZipReader(e.readable),s=await i.getEntries();await i.close(),await e.readable.pipeTo(this.writer.writable,{preventClose:!0,preventAbort:!0}),this.writer.size=this.offset=e.size,this.filenames=new Set(s.map((e=>e.filename))),this.files=new Map(s.map((e=>{const{version:i,compressionMethod:s,lastModDate:n,lastAccessDate:o,creationDate:c,rawFilename:l,bitFlag:d,encrypted:h,uncompressedSize:u,compressedSize:m,diskOffset:p,diskNumber:f,zip64:A}=e;let{rawExtraFieldZip64:w,rawExtraFieldAES:b,rawExtraFieldExtendedTimestamp:k,rawExtraFieldNTFS:y,rawExtraFieldUnix:B,rawExtraField:v}=e;const{level:C,languageEncodingFlag:E,dataDescriptor:S}=d;w=w||new Uint8Array,b=b||new Uint8Array,k=k||new Uint8Array,y=y||new Uint8Array,B=e.rawExtraFieldUnix||new Uint8Array,v=v||new Uint8Array;const x=getLength(w,b,k,y,B,v),T=A&&u>rt,D=A&&m>rt,{headerArray:F,headerView:Q}=getHeaderArrayData({version:i,bitFlag:getBitFlag(C,E,S,h,s),compressionMethod:s,uncompressedSize:u,compressedSize:m,lastModDate:n,rawFilename:l,zip64CompressedSize:D,zip64UncompressedSize:T,extraFieldLength:x});return Object.assign(e,{zip64UncompressedSize:T,zip64CompressedSize:D,zip64Offset:A&&this.offset-p>rt,zip64DiskNumberStart:A&&f>st,rawExtraFieldZip64:w,rawExtraFieldAES:b,rawExtraFieldExtendedTimestamp:k,rawExtraFieldNTFS:y,rawExtraFieldUnix:B,rawExtraField:v,extendedTimestamp:k.length>0||y.length>0,extraFieldExtendedTimestampFlag:1+(o?2:0)+(c?4:0),headerArray:F,headerView:Q}),[e.filename,e]})))}async add(e="",i,s={}){const n=this,{pendingAddFileCalls:o,config:c}=n;let l;or<c.maxWorkers?or++:await new Promise((e=>cr.push(e)));try{if(e=e.trim(),n.filenames.has(e))throw new Error("File already exists");return n.filenames.add(e),l=async function addFile(e,i,s,n){i=i.trim();let o=getOptionValue(e,n,Ji),c=getOptionValue(e,n,ea,o?20:768);const l=getOptionValue(e,n,aa),d=getOptionValue(e,n,oa),h=getOptionValue(e,n,ca);let u=getOptionValue(e,n,la);const m=getOptionValue(e,n,Ma);let p=getOptionValue(e,n,da),f=getOptionValue(e,n,ha),A=getOptionValue(e,n,ua);if(d!==Qt&&(d<0||d>rt))throw new Error(Za);if(h!==Qt&&(h<0||h>rt))throw new Error($a);if(u!==Qt&&(u<0||u>st))throw new Error(er);if(m!==Qt&&m!==sr&&m!==nr)throw new Error(tr);let w=getOptionValue(e,n,qi),b=getOptionValue(e,n,ji);const k=w!==Qt||b!==Qt;d!==Qt||h!==Qt||u!==Qt||m?(o=!1,c=c&st|768):k&&(o=!0,c&=nt);if(w!==Qt&&(w<0||w>nt))throw new Error(ir);if(b&&typeof b!==Rt)throw new Error(ar);if(c>st)throw new Error(Va);let y=getOptionValue(e,n,Ki,0);!n[ia]&&i.endsWith(It)&&(n[ia]=!0);const B=getOptionValue(e,n,ia);B?(i.endsWith(It)||(i+=It),0===y&&(y=yt,o||(y|=16877<<16))):o||0!==y||(y=l?493<<16:27525120);let v;o||(v=y>>16&st,u=u===Qt?v:u&st,p?u|=vt:p=Boolean(u&vt),f?u|=Ct:f=Boolean(u&Ct),A?u|=Et:A=Boolean(u&Et),B&&(u|=Bt),y=(u&st)<<16|y&nt);({msdosAttributesRaw:w,msdosAttributes:b}=function normalizeMsdosAttributes(e,i){if(e!==Qt)e&=nt;else if(i!==Qt){const{readOnly:s,hidden:n,system:o,directory:c,archive:l}=i;let d=0;s&&(d|=1),n&&(d|=2),o&&(d|=4),c&&(d|=yt),l&&(d|=32),e=d&nt}i===Qt&&(i={readOnly:Boolean(1&e),hidden:Boolean(2&e),system:Boolean(4&e),directory:Boolean(e&yt),archive:Boolean(32&e)});return{msdosAttributesRaw:e,msdosAttributes:i}}(w,b)),k&&(y=y&rt|w&nt);const C=getOptionValue(e,n,Da,encodeText);let E=C(i);E===Qt&&(E=encodeText(i));if(getLength(E)>st)throw new Error(Ga);const S=n[Pi]||"";let x=C(S);x===Qt&&(x=encodeText(S));if(getLength(x)>st)throw new Error(Ha);const T=getOptionValue(e,n,$i,20);if(T>st)throw new Error(Va);const D=getOptionValue(e,n,Li,new Date),F=getOptionValue(e,n,Yi),Q=getOptionValue(e,n,Hi),M=getOptionValue(e,n,Vi,0),P=getOptionValue(e,n,fa);let R,z;P||(R=getOptionValue(e,n,ga),z=getOptionValue(e,n,pa));const U=getOptionValue(e,n,ya,3),O=getOptionValue(e,n,ta),_=getOptionValue(e,n,Ba,!0),L=getOptionValue(e,n,va,!0),N=getOptionValue(e,n,wa),Y=getOptionValue(e,n,Ea),W=getOptionValue(e,n,Ia,!1),H=getOptionValue(e,n,Aa),G=getOptionValue(e,n,Sa,!0),V=getOptionValue(e,n,ra);let K=getOptionValue(e,n,Ca),q=getOptionValue(e,n,ba),j=getOptionValue(e,n,xa);Y&&j===Qt&&(j=!1);(j===Qt||O)&&(j=!0);K!==Qt&&6!=K&&(q=!1);q||e.config.CompressionStream!==Qt||e.config.CompressionStreamZlib!==Qt||(K=0);let J=getOptionValue(e,n,Xi);if(!(O||R===Qt&&z===Qt||U>=1&&U<=3))throw new Error(Ka);let X=new Uint8Array;const Z=n[na];if(Z){let e=0,i=0;Z.forEach((i=>e+=4+getLength(i))),X=new Uint8Array(e),Z.forEach(((e,s)=>{if(s>st)throw new Error(qa);if(getLength(e)>st)throw new Error(ja);arraySet(X,new Uint16Array([s]),i),arraySet(X,new Uint16Array([getLength(e)]),i+2),arraySet(X,e,i+4),i+=4+getLength(e)}))}let $=0,ee=0,te=0;if(P&&(te=n[zi],te===Qt))throw new Error(Xa);const ie=!0===J;s&&(s=new GenericReader(s),await initStream(s),P?(n.uncompressedSize=te,$=getMaximumCompressedSize(te)):s.size===Qt?(j=!0,(J||J===Qt)&&(J=!0,te=$=4294967296)):(n.uncompressedSize=te=s.size,$=getMaximumCompressedSize(te)));const{diskOffset:ae,diskNumber:re,maxSize:se}=e.writer,ne=ie||te>rt,oe=ie||$>rt,ce=ie||e.offset+e.pendingEntriesSize-ae>rt,le=getOptionValue(e,n,Ta,!0),de=le&&ie||re+Math.ceil(e.pendingEntriesSize/se)>st;if(ce||ne||oe||de){if(!1===J||!L)throw new Error(Ja);J=!0}J=J||!1;const he=getOptionValue(e,n,Zi);n=Object.assign({},n,{rawFilename:E,rawComment:x,version:T,versionMadeBy:c,lastModDate:D,lastAccessDate:F,creationDate:Q,rawExtraField:X,zip64:J,zip64UncompressedSize:ne,zip64CompressedSize:oe,zip64Offset:ce,zip64DiskNumberStart:de,password:R,rawPassword:z,level:K,useWebWorkers:N,encryptionStrength:U,extendedTimestamp:_,zipCrypto:O,bufferedWrite:Y,keepOrder:L,useUnicodeFileNames:G,dataDescriptor:j,dataDescriptorSignature:W,signal:H,msDosCompatible:o,internalFileAttribute:M,internalFileAttributes:M,externalFileAttribute:y,externalFileAttributes:y,useCompressionStream:q,passThrough:P,encrypted:Boolean(R&&getLength(R)||z&&getLength(z))||P&&he,signature:n[sa],compressionMethod:V,uncompressedSize:te,offset:e.offset-ae,diskNumberStart:re,uid:d,gid:h,setuid:p,setgid:f,sticky:A,unixMode:u,msdosAttributesRaw:w,msdosAttributes:b,unixExternalUpper:v});const ue=function getHeaderInfo(e){const{rawFilename:i,lastModDate:s,lastAccessDate:n,creationDate:o,level:c,zip64:l,zipCrypto:d,useUnicodeFileNames:h,dataDescriptor:u,directory:m,rawExtraField:p,encryptionStrength:f,extendedTimestamp:A,passThrough:w,encrypted:b,zip64UncompressedSize:k,zip64CompressedSize:y,zip64Offset:B,zip64DiskNumberStart:v,uncompressedSize:C,offset:E,diskNumberStart:S}=e;let{version:x,compressionMethod:T}=e;const D=!m&&(c>0||c===Qt&&0!==T);let F,Q;const M=w||!D,P=l&&(e.bufferedWrite||!k&&!y||M);if(l){let e=4,i=4;k&&(e+=8,i+=8),y&&(e+=8,i+=8),B&&(e+=8),v&&(e+=4),F=new Uint8Array(e);const s=getDataView(F);Q=new Uint8Array(i);const n=getDataView(Q);if(setUint16(s,0,1),setUint16(s,2,getLength(F)-4),setUint16(n,0,1),setUint16(n,2,getLength(Q)-4),P){const e=getDataView(F),i=getDataView(Q);let s=4,n=4;k&&(setBigUint64(e,s,BigInt(C)),s+=8,setBigUint64(i,n,BigInt(C)),n+=8),y&&M&&(setBigUint64(e,s,BigInt(C)),s+=8,setBigUint64(i,n,BigInt(C)),n+=8),B&&(setBigUint64(e,s,BigInt(E)),s+=8),v&&(setUint32(e,s,S),s+=4),4==n&&(Q=new Uint8Array)}}else F=new Uint8Array,Q=new Uint8Array;let R,z,U,O,_;if(b&&!d){R=new Uint8Array(getLength(rr)+2);const e=getDataView(R);setUint16(e,0,pt),arraySet(R,rr,2),setUint8(e,8,f)}else R=new Uint8Array;if(A){U=new Uint8Array(9+(n?4:0)+(o?4:0));const e=getDataView(U);setUint16(e,0,ft),setUint16(e,2,getLength(U)-4),O=1+(n?2:0)+(o?4:0),setUint8(e,4,O);let i=5;setUint32(e,i,Math.floor(s.getTime()/1e3)),i+=4,n&&(setUint32(e,i,Math.floor(n.getTime()/1e3)),i+=4),o&&setUint32(e,i,Math.floor(o.getTime()/1e3));try{z=new Uint8Array(36);const e=getDataView(z),i=getTimeNTFS(s);setUint16(e,0,10),setUint16(e,2,32),setUint16(e,8,1),setUint16(e,10,24),setBigUint64(e,12,i),setBigUint64(e,20,getTimeNTFS(n)||i),setBigUint64(e,28,getTimeNTFS(o)||i)}catch{z=new Uint8Array}}else z=U=new Uint8Array;try{const{uid:i,gid:s,unixMode:n,setuid:o,setgid:c,sticky:l,unixExtraFieldType:d}=e;if(!d||i===Qt&&s===Qt&&n===Qt)_=new Uint8Array;else{const e=packUnixId(i),h=packUnixId(s);let u=new Uint8Array;if(d==nr&&n!==Qt){let e=n&st;o&&(e|=vt),c&&(e|=Ct),l&&(e|=Et),u=new Uint8Array(2);new DataView(u.buffer).setUint16(0,e,!0)}const m=3+e.length+h.length+u.length;_=new Uint8Array(4+m);const p=getDataView(_);setUint16(p,0,d==sr?wt:bt),setUint16(p,2,m),setUint8(p,4,1),setUint8(p,5,e.length);let f=6;arraySet(_,e,f),f+=e.length,setUint8(p,f,h.length),f++,arraySet(_,h,f),f+=h.length,arraySet(_,u,f)}}catch{_=new Uint8Array}T===Qt&&(T=D?8:0);l&&(x=x>45?x:45);b&&!d&&(x=x>51?x:51,R[9]=T,T=99);const L=P?getLength(Q):0,N=L+getLength(R,U,z,_,p),{headerArray:Y,headerView:W,rawLastModDate:H}=getHeaderArrayData({version:x,bitFlag:getBitFlag(c,h,u,b,T),compressionMethod:T,uncompressedSize:C,lastModDate:s<Ft?Ft:s>Dt?Dt:s,rawFilename:i,zip64CompressedSize:y,zip64UncompressedSize:k,extraFieldLength:N});let G=St;const V=new Uint8Array(G+getLength(i)+N),K=getDataView(V);setUint32(K,0,ot),arraySet(V,Y,4),arraySet(V,i,G),G+=getLength(i),P&&arraySet(V,Q,G);G+=L,arraySet(V,R,G),G+=getLength(R),arraySet(V,U,G),G+=getLength(U),arraySet(V,z,G),G+=getLength(z),arraySet(V,_,G),G+=getLength(_),arraySet(V,p,G),u&&(setUint32(K,18,0),setUint32(K,22,0));return{localHeaderArray:V,localHeaderView:K,headerArray:Y,headerView:W,lastModDate:s,rawLastModDate:H,encrypted:b,compressed:D,version:x,compressionMethod:T,extraFieldExtendedTimestampFlag:O,rawExtraFieldZip64:F,localExtraFieldZip64Length:L,rawExtraFieldExtendedTimestamp:U,rawExtraFieldNTFS:z,rawExtraFieldUnix:_,rawExtraFieldAES:R,extraFieldLength:N}}(n),me=function getDataDescriptorInfo({zip64:e,dataDescriptor:i,dataDescriptorSignature:s}){let n,o=new Uint8Array,c=0,l=e?20:12;s&&(l+=4);i&&(o=new Uint8Array(l),n=getDataView(o),s&&(c=4,setUint32(n,0,lt)));return{dataDescriptorArray:o,dataDescriptorView:n,dataDescriptorOffset:c}}(n),ge=getLength(ue.localHeaderArray,me.dataDescriptorArray);ee=ge+$,e.options[Qa]&&(ee+=ee+64);let pe;e.pendingEntriesSize+=ee;try{pe=await async function getFileEntry(e,i,s,n,o){const{files:c,writer:l}=e,{keepOrder:d,dataDescriptor:h,signal:u}=o,{headerInfo:m}=n,p=e.options[Qa],f=Array.from(c.values()).pop();let A,w,b,k,y,B,v,C={};c.set(i,C);try{let w;d&&(w=f&&f.lock,requestLockCurrentFileEntry()),!(o.bufferedWrite||e.writerLocked||e.bufferedWrites&&d)&&h||p?(B=l,await requestLockWriter()):(B=new TransformStream,B.size=0,A=!0,e.bufferedWrites++,await initStream(l)),await initStream(B);const{writable:b,diskOffset:E}=l;if(e.addSplitZipSignature){delete e.addSplitZipSignature;const i=new Uint8Array(4);setUint32(getDataView(i),0,ct),await writeData(l,i),e.offset+=4}p&&function appendExtraFieldUSDZ(e,i){const{headerInfo:s}=e;let{localHeaderArray:n,extraFieldLength:o}=s,c=getDataView(n),l=64-(i+getLength(n))%64;l<4&&(l+=64);const d=new Uint8Array(l),h=getDataView(d);setUint16(h,0,At),setUint16(h,2,l-2);const u=n;s.localHeaderArray=n=new Uint8Array(getLength(u)+l),arraySet(n,u),arraySet(n,d,getLength(u)),c=getDataView(n),setUint16(c,28,o+l),e.metadataSize+=l}(n,e.offset-E);const{localHeaderView:S,localHeaderArray:x}=m;A||(await w,await skipDiskIfNeeded(b));const{diskNumber:T}=l;y=!0,C.diskNumberStart=T,A?v=new Response(B.readable).blob():await writeData(B,x),C=await async function createFileEntry(e,i,{diskNumberStart:s,lock:n},o,c,l){const{headerInfo:d,dataDescriptorInfo:h,metadataSize:u}=o,{headerArray:m,headerView:p,lastModDate:f,rawLastModDate:A,encrypted:w,compressed:b,version:k,compressionMethod:y,rawExtraFieldZip64:B,localExtraFieldZip64Length:v,rawExtraFieldExtendedTimestamp:C,extraFieldExtendedTimestampFlag:E,rawExtraFieldNTFS:S,rawExtraFieldUnix:x,rawExtraFieldAES:T}=d,{dataDescriptorArray:D}=h,{rawFilename:F,lastAccessDate:Q,creationDate:M,password:P,rawPassword:R,level:z,zip64:U,zip64UncompressedSize:O,zip64CompressedSize:_,zip64Offset:L,zip64DiskNumberStart:N,zipCrypto:Y,dataDescriptor:W,directory:H,executable:G,versionMadeBy:V,rawComment:K,rawExtraField:q,useWebWorkers:j,onstart:J,onprogress:X,onend:Z,signal:$,encryptionStrength:ee,extendedTimestamp:te,msDosCompatible:ie,internalFileAttributes:ae,externalFileAttributes:re,uid:se,gid:ne,unixMode:oe,setuid:ce,setgid:le,sticky:de,unixExternalUpper:he,msdosAttributesRaw:ue,msdosAttributes:me,useCompressionStream:ge,passThrough:pe}=l,fe={lock:n,versionMadeBy:V,zip64:U,directory:Boolean(H),executable:Boolean(G),filenameUTF8:!0,rawFilename:F,commentUTF8:!0,rawComment:K,rawExtraFieldZip64:B,localExtraFieldZip64Length:v,rawExtraFieldExtendedTimestamp:C,rawExtraFieldNTFS:S,rawExtraFieldUnix:x,rawExtraFieldAES:T,rawExtraField:q,extendedTimestamp:te,msDosCompatible:ie,internalFileAttributes:ae,externalFileAttributes:re,diskNumberStart:s,uid:se,gid:ne,unixMode:oe,setuid:ce,setgid:le,sticky:de,unixExternalUpper:he,msdosAttributesRaw:ue,msdosAttributes:me};let{signature:Ae,uncompressedSize:we}=l,be=0;pe||(we=0);const{writable:ke}=i;if(e){e.chunkSize=getChunkSize(c);const s=e.readable,n=e.size,o={options:{codecType:yi,level:z,rawPassword:R,password:P,encryptionStrength:ee,zipCrypto:w&&Y,passwordVerification:w&&Y&&A>>8&nt,signed:!pe,compressed:b&&!pe,encrypted:w&&!pe,useWebWorkers:j,useCompressionStream:ge,transferStreams:!1},config:c,streamOptions:{signal:$,size:n,onstart:J,onprogress:X,onend:Z}};try{const e=await runWorker({readable:s,writable:ke},o);be=e.outputSize,i.size+=be,pe||(we=e.inputSize,Ae=e.signature)}catch(e){throw e.outputSize!==Qt&&(i.size+=e.outputSize),e}}(function setEntryInfo({signature:e,compressedSize:i,uncompressedSize:s,headerInfo:n,dataDescriptorInfo:o},{zip64:c,zipCrypto:l,dataDescriptor:d}){const{headerView:h,encrypted:u}=n,{dataDescriptorView:m,dataDescriptorOffset:p}=o;u&&!l||e===Qt||(setUint32(h,10,e),d&&setUint32(m,p,e));c?d&&(setBigUint64(m,p+4,BigInt(i)),setBigUint64(m,p+12,BigInt(s))):(setUint32(h,xt,i),setUint32(h,Tt,s),d&&(setUint32(m,p+4,i),setUint32(m,p+8,s)))})({signature:Ae,compressedSize:be,uncompressedSize:we,headerInfo:d,dataDescriptorInfo:h},l),W&&await writeData(i,D);return Object.assign(fe,{uncompressedSize:we,compressedSize:be,lastModDate:f,rawLastModDate:A,creationDate:M,lastAccessDate:Q,encrypted:w,zipCrypto:Y,size:u+be,compressionMethod:y,version:k,headerArray:m,headerView:p,signature:Ae,extraFieldExtendedTimestampFlag:E,zip64UncompressedSize:O,zip64CompressedSize:_,zip64Offset:L,zip64DiskNumberStart:N}),fe}(s,B,C,n,e.config,o);const{zip64:D}=C;if(y=!1,c.set(i,C),C.filename=i,A){const[i]=await Promise.all([v,B.writable.getWriter().close(),w]);await requestLockWriter(),k=!0,C.diskNumberStart=l.diskNumber,C.offset=e.offset-l.diskOffset,D&&updateZip64ExtraField(C),function updateLocalHeader({rawFilename:e,encrypted:i,zip64:s,localExtraFieldZip64Length:n,signature:o,compressedSize:c,uncompressedSize:l,zip64UncompressedSize:d,zip64CompressedSize:h},u,{dataDescriptor:m}){m||(i||setUint32(u,14,o),h||setUint32(u,18,c),d||setUint32(u,22,l));if(s&&n){let i=St+getLength(e)+4;d&&(setBigUint64(u,i,BigInt(l)),i+=8),h&&(setBigUint64(u,i,BigInt(c)),i+=8)}}(C,S,o),await skipDiskIfNeeded(b),await writeData(l,x),await i.stream().pipeTo(b,{preventClose:!0,preventAbort:!0,signal:u}),l.size+=B.size,k=!1}else C.offset=e.offset-E,D&&updateZip64ExtraField(C);if(C.offset>rt&&!D)throw new Error(Ja);return e.offset+=C.size,C}catch(s){if(A&&k||!A&&y){if(e.hasCorruptedEntries=!0,s)try{s.corruptedEntry=!0}catch{}A?e.offset+=B.size:e.offset=B.size}throw c.delete(i),s}finally{A&&e.bufferedWrites--,b&&b(),w&&w()}function requestLockCurrentFileEntry(){C.lock=new Promise((e=>b=e))}async function requestLockWriter(){e.writerLocked=!0;const{lockWriter:i}=e;e.lockWriter=new Promise((i=>w=()=>{e.writerLocked=!1,i()})),await i}async function skipDiskIfNeeded(e){getLength(m.localHeaderArray)>l.availableSize&&(l.availableSize=0,await writeData(e,new Uint8Array))}}(e,i,s,{headerInfo:ue,dataDescriptorInfo:me,metadataSize:ge},n)}finally{e.pendingEntriesSize-=ee}return Object.assign(pe,{name:i,comment:S,extraField:Z}),new Entry(pe)}(n,e,i,s),o.add(l),await l}catch(i){throw n.filenames.delete(e),i}finally{o.delete(l);const e=cr.shift();e?e():or--}}remove(e){const{filenames:i,files:s}=this;if("string"==typeof e&&(e=s.get(e)),e&&e.filename!==Qt){const{filename:n}=e;if(i.has(n)&&s.has(n))return i.delete(n),s.delete(n),!0}return!1}async close(e=new Uint8Array,i={}){const{pendingAddFileCalls:s,writer:n}=this,{writable:o}=n;for(;s.size;)await Promise.allSettled(Array.from(s));await async function closeFile(e,i,s){const{files:n,writer:o}=e,{diskOffset:c}=o;let{diskNumber:l}=o,d=0,h=0,u=e.offset-c,m=n.size;for(const[,e]of n){const{rawFilename:i,rawExtraFieldZip64:s,rawExtraFieldAES:n,rawComment:o,rawExtraFieldNTFS:c,rawExtraFieldUnix:l,rawExtraField:d,extendedTimestamp:u,extraFieldExtendedTimestampFlag:m,lastModDate:p}=e;let f;if(u){f=new Uint8Array(9);const e=getDataView(f);setUint16(e,0,ft),setUint16(e,2,5),setUint8(e,4,m),setUint32(e,5,Math.floor(p.getTime()/1e3))}else f=new Uint8Array;e.rawExtraFieldExtendedTimestamp=f,h+=46+getLength(i,o,s,n,c,l,f,d)}const p=new Uint8Array(h),f=getDataView(p);await initStream(o);let A=0;for(const[e,i]of Array.from(n.values()).entries()){const{offset:c,rawFilename:l,rawExtraFieldZip64:h,rawExtraFieldAES:u,rawExtraFieldExtendedTimestamp:m,rawExtraFieldNTFS:w,rawExtraFieldUnix:b,rawExtraField:k,rawComment:y,versionMadeBy:B,headerArray:v,headerView:C,zip64:E,zip64UncompressedSize:S,zip64CompressedSize:x,zip64DiskNumberStart:T,zip64Offset:D,internalFileAttributes:F,externalFileAttributes:Q,diskNumberStart:M,uncompressedSize:P,compressedSize:R}=i,z=getLength(h,u,m,w,b,k);setUint32(f,d,dt),setUint16(f,d+4,B),S||setUint32(C,Tt,P),x||setUint32(C,xt,R),arraySet(p,v,d+6);let U=d+St;if(setUint16(f,U,z),U+=2,setUint16(f,U,getLength(y)),U+=2,setUint16(f,U,E&&T?st:M),U+=2,setUint16(f,U,F),U+=2,Q&&setUint32(f,U,Q),U+=4,setUint32(f,U,E&&D?rt:c),U+=4,arraySet(p,l,U),U+=getLength(l),arraySet(p,h,U),U+=getLength(h),arraySet(p,u,U),U+=getLength(u),arraySet(p,m,U),U+=getLength(m),arraySet(p,w,U),U+=getLength(w),arraySet(p,b,U),U+=getLength(b),arraySet(p,k,U),U+=getLength(k),arraySet(p,y,U),U+=getLength(y),d-A>o.availableSize&&(o.availableSize=0,await writeData(o,p.slice(A,d)),A=d),d=U,s.onprogress)try{await s.onprogress(e+1,n.size,new Entry(i))}catch{}}await writeData(o,A?p.slice(A):p);let w=o.diskNumber;const{availableSize:b}=o;b<gt&&w++;let k=getOptionValue(e,s,Xi);if(u>rt||h>rt||m>st||w>st){if(!1===k)throw new Error(Ja);k=!0}const y=new Uint8Array(k?98:gt),B=getDataView(y);if(d=0,k){setUint32(B,0,ut),setBigUint64(B,4,BigInt(44)),setUint16(B,12,45),setUint16(B,14,45),setUint32(B,16,w),setUint32(B,20,l),setBigUint64(B,24,BigInt(m)),setBigUint64(B,32,BigInt(m)),setBigUint64(B,40,BigInt(h)),setBigUint64(B,48,BigInt(u)),setUint32(B,56,mt),setBigUint64(B,64,BigInt(u)+BigInt(h)),setUint32(B,72,w+1);getOptionValue(e,s,Ta,!0)&&(w=st,l=st),m=st,u=rt,h=rt,d+=76}setUint32(B,d,ht),setUint16(B,d+4,w),setUint16(B,d+6,l),setUint16(B,d+8,m),setUint16(B,d+10,m),setUint32(B,d+12,h),setUint32(B,d+16,u);const v=getLength(i);if(v){if(!(v<=st))throw new Error(Wa);setUint16(B,d+20,v)}await writeData(o,y),v&&await writeData(o,i)}(this,e,i);return getOptionValue(this,i,ka)||await o.getWriter().close(),n.getData?n.getData():o}}function packUnixId(e){if(e===Qt)return new Uint8Array;{const i=new Uint8Array(4);getDataView(i).setUint32(0,e,!0);let s=4;for(;s>1&&0===i[s-1];)s--;return i.subarray(0,s)}}function updateZip64ExtraField({compressedSize:e,uncompressedSize:i,offset:s,diskNumberStart:n,zip64UncompressedSize:o,zip64CompressedSize:c,zip64Offset:l,zip64DiskNumberStart:d,rawExtraFieldZip64:h}){const u=getDataView(h);let m=4;o&&(setBigUint64(u,m,BigInt(i)),m+=8),c&&(setBigUint64(u,m,BigInt(e)),m+=8),l&&(setBigUint64(u,m,BigInt(s)),m+=8),d&&setUint32(u,m,n)}async function writeData(e,i){const{writable:s}=e,n=s.getWriter();try{await n.ready,e.size+=getLength(i),await n.write(i)}finally{n.releaseLock()}}function getTimeNTFS(e){if(e)return(BigInt(e.getTime())+BigInt(116444736e5))*BigInt(1e4)}function getOptionValue(e,i,s,n){const o=i[s]===Qt?e.options[s]:i[s];return o===Qt?n:o}function getMaximumCompressedSize(e){return e+5*(Math.floor(e/16383)+1)}function setUint8(e,i,s){e.setUint8(i,s)}function setUint16(e,i,s){e.setUint16(i,s,!0)}function setUint32(e,i,s){e.setUint32(i,s,!0)}function setBigUint64(e,i,s){e.setBigUint64(i,s,!0)}function arraySet(e,i,s){e.set(i,s)}function getDataView(e){return new DataView(e.buffer)}function getLength(...e){let i=0;return e.forEach((e=>e&&(i+=e.length))),i}function getHeaderArrayData({version:e,bitFlag:i,compressionMethod:s,uncompressedSize:n,compressedSize:o,lastModDate:c,rawFilename:l,zip64CompressedSize:d,zip64UncompressedSize:h,extraFieldLength:u}){const m=new Uint8Array(26),p=getDataView(m);setUint16(p,0,e),setUint16(p,2,i),setUint16(p,4,s);const f=new Uint32Array(1),A=getDataView(f);setUint16(A,0,(c.getHours()<<6|c.getMinutes())<<5|c.getSeconds()/2),setUint16(A,2,(c.getFullYear()-1980<<4|c.getMonth()+1)<<5|c.getDate());const w=f[0];return setUint32(p,6,w),(d||o!==Qt)&&setUint32(p,xt,d?rt:o),(h||n!==Qt)&&setUint32(p,Tt,h?rt:n),setUint16(p,22,getLength(l)),setUint16(p,24,u),{headerArray:m,headerView:p,rawLastModDate:w}}function getBitFlag(e,i,s,n,o){let c=0;return i&&(c|=kt),s&&(c|=8),8!=o&&9!=o||(e>=0&&e<=3&&(c|=6),e>3&&e<=5&&(c|=4),9==e&&(c|=2)),n&&(c|=1),c}try{configure({baseURI:document.currentScript&&"SCRIPT"===document.currentScript.tagName.toUpperCase()&&document.currentScript.src||new URL("raffaello.min.js",document.baseURI).href})}catch{}const lr="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";let dr,hr,ur,mr;function _make(e,i,s={}){const n="number"==typeof s.level?s.level:-1,o="number"==typeof s.outBuffer?s.outBuffer:65536,c="number"==typeof s.inBufferSize?s.inBufferSize:65536;return new TransformStream({start(){let s;if(this.out=hr(o),this.in=hr(c),this.inBufferSize=c,this._scratch=new Uint8Array(o),e?(this._process=dr.deflate_process,this._last_consumed=dr.deflate_last_consumed,this._end=dr.deflate_end,this.streamHandle=dr.deflate_new(),s="gzip"===i?dr.deflate_init_gzip(this.streamHandle,n):"deflate-raw"===i?dr.deflate_init_raw(this.streamHandle,n):dr.deflate_init(this.streamHandle,n)):"deflate64-raw"===i?(this._process=dr.inflate9_process,this._last_consumed=dr.inflate9_last_consumed,this._end=dr.inflate9_end,this.streamHandle=dr.inflate9_new(),s=dr.inflate9_init_raw(this.streamHandle)):(this._process=dr.inflate_process,this._last_consumed=dr.inflate_last_consumed,this._end=dr.inflate_end,this.streamHandle=dr.inflate_new(),s="deflate-raw"===i?dr.inflate_init_raw(this.streamHandle):"gzip"===i?dr.inflate_init_gzip(this.streamHandle):dr.inflate_init(this.streamHandle)),0!==s)throw new Error("init failed:"+s)},transform(i,s){try{const n=i,c=new Uint8Array(mr.buffer),l=this._process,d=this._last_consumed,h=this.out,u=this._scratch;let m=0;for(;m<n.length;){const i=Math.min(n.length-m,32768);(!this.in||this.inBufferSize<i)&&(this.in&&ur&&ur(this.in),this.in=hr(i),this.inBufferSize=i),c.set(n.subarray(m,m+i),this.in);const p=l(this.streamHandle,this.in,i,h,o,0),f=16777215&p;if(f&&(u.set(c.subarray(h,h+f),0),s.enqueue(u.slice(0,f))),!e){const e=p>>24&255,i=128&e?e-256:e;if(i<0)throw new Error("process error:"+i)}const A=d(this.streamHandle);if(0===A)break;m+=A}}catch(e){this._end&&this.streamHandle&&this._end(this.streamHandle),this.in&&ur&&ur(this.in),this.out&&ur&&ur(this.out),s.error(e)}},flush(i){try{const s=new Uint8Array(mr.buffer),n=this._process,c=this.out,l=this._scratch;for(;;){const d=n(this.streamHandle,0,0,c,o,4),h=16777215&d,u=d>>24&255;if(!e){const e=128&u?u-256:u;if(e<0)throw new Error("process error:"+e)}if(h&&(l.set(s.subarray(c,c+h),0),i.enqueue(l.slice(0,h))),1===u||0===h)break}}catch(e){i.error(e)}finally{if(this._end&&this.streamHandle){const e=this._end(this.streamHandle);0!==e&&i.error(new Error("end error:"+e))}this.in&&ur&&ur(this.in),this.out&&ur&&ur(this.out)}}})}let gr,pr=!1;async function initModule(e,{baseURI:i}){if(!pr){let s,n;try{try{n=new URL(e,i)}catch{}const o=await fetch(n);s=await o.arrayBuffer()}catch(i){if(!e.startsWith("data:application/wasm;base64,"))throw i;s=function arrayBufferFromDataURI(e){const i=e.split(",")[1],s=atob(i),n=s.length,o=new Uint8Array(n);for(let e=0;e<n;++e)o[e]=s.charCodeAt(e);return o.buffer}(e)}!function setWasmExports(e){if(dr=e,({malloc:hr,free:ur,memory:mr}=dr),"function"!=typeof hr||"function"!=typeof ur||!mr)throw dr=hr=ur=mr=null,new Error("Invalid WASM module")}((await WebAssembly.instantiate(s)).instance.exports),pr=!0}}!function g(e){let i;e({wasmURI:()=>(i||(i="data:application/wasm;base64,"+(e=>{e=(e=>{const i=(e=(e+"").replace(/[^A-Za-z0-9+/=]/g,"")).length,s=[];for(let n=0;i>n;n+=4){const i=lr.indexOf(e[n])<<18|lr.indexOf(e[n+1])<<12|(63&lr.indexOf(e[n+2]))<<6|63&lr.indexOf(e[n+3]);s.push(i>>16&255),"="!==e[n+2]&&s.push(i>>8&255),"="!==e[n+3]&&s.push(255&i)}return new Uint8Array(s)})(e);let i=new Uint8Array(1024),s=0;for(let n=0;n<e.length;){const o=e[n++];if(128&o){const c=3+(127&o),l=e[n++]<<8|e[n++],d=s-l;I(s+c);for(let e=0;c>e;e++)i[s++]=i[d+e]}else{const c=o;I(s+c);for(let o=0;c>o&&n<e.length;o++)i[s++]=e[n++]}}return(e=>{let i="";const s=e.length;let n=0;for(;s>n+2;n+=3){const s=e[n]<<16|e[n+1]<<8|e[n+2];i+=lr[s>>18&63]+lr[s>>12&63]+lr[s>>6&63]+lr[63&s]}const o=s-n;if(1===o){const s=e[n]<<16;i+=lr[s>>18&63]+lr[s>>12&63]+"=="}else if(2===o){const s=e[n]<<16|e[n+1]<<8;i+=lr[s>>18&63]+lr[s>>12&63]+lr[s>>6&63]+"="}return i})(new Uint8Array(i.buffer.slice(0,s)));function I(e){if(i.length<e){let n=2*i.length;for(;e>n;)n*=2;const o=new Uint8Array(n);o.set(i.subarray(0,s)),i=o}}})("FQBhc20BAAAAAUULYAF/AX9gAn9/AIEABYAACwIDf4IABwEBgAARAQaAAAuDAA6BABUDAGAAgAADgAANAQSBABUDAGAHgwAegAAfEgNCQQcABAEABAgIAAIABQIKAIAAB4EAAwEFgQAHAgICgQAHEAEDAAUGAAMDBQQJBAQJAQaAAAEeAAIEAwIEAgIBBAcDAwQFAXABDQ0FBgEBggKCAgYIgACYIkHQ1QQLB4oEHAZtZW1vcnkCAAxpbmZsYXRlOV9uZXcABw2GAA8HaW5pdAAIEYoAEAdfcmF3AAoQhgAUCXByb2Nlc3MAC4cARgZlbmQADhaGAA8QbGFzdF9jb25zdW1lZAARC4QAGYMAbYUANoMAbAEShQBYhwBrARSFAH+DABMHZ3ppcAAVD4UAFIUAfgEWhgBWgQB9AhgVhQAOjQB8AmRliQB8hQAOggB8AhoQiQAPggB8AhsRigATggB8AhwPhQAUhQB8AR2GAFaBAHwJHwRmcmVlAAIVhQAVjACDCgZtYWxsb2MAAQuCAFUKaWFsaXplAAAZX4AADxZkaXJlY3RfZnVuY3Rpb25fdGFibGUBgAAcG2Vtc2NyaXB0ZW5fc3RhY2tfcmVzdG9yZQAFHI4AGwJnZYAAbw51cnJlbnQABiJfX2N4YYAAWwRjcmVtgAASBl9leGNlcIIAXQZyZWZjb3WAACUtPQkSAQBBAQsMACEiDA8XGR4+NTg7CqHlAkECAAu/JwELfyMAQRBrIgokAAJAjwACEiAAQfQBTQRAQaQnKAIAIgNBEIAAEg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gEIgAAEgQEzgQJLARCAAA6DAAyBnqyAqmuEACSBB3OBAE8BCIAACIEAGIUADIEIt4MADAEggQCUgDKEgQBrAYCBCC8BBIMADIA/SAoBABAMAEGRIQv/gCUfgMDAgIKxBQgJCQoKgEk3gAABAQ2AAAEBDoAAAQEPgAABARCEAAEBEYQAAQEShAABAROEAAEBFIwAAQEVjAABARaMAAEBF4wAAQEYnAABARmcAAEBGpwAAQEbmwABARyBffsEBAQFBYHB1QEHgAABAQiEAAGAXSqCAAEBCowAAYAnsooAAYEBMJkAAYEBTJkAAYEBaLkAAYEBpLkAAYIDdYABzoUBvI0BqJ0BkLwBgAIbHLwAAQEdvAABgA9PgH05A9AqAQ==")),i)})}(configure),function configureWorker({initModule:e}){initModule$1=e}({initModule:e=>{if(!gr){let{wasmURI:i}=e;typeof i==Pt&&(i=i()),gr=initModule(i,e)}return gr}}),configure({CompressionStreamZlib:class CompressionStreamZlib{constructor(e="deflate",i){return _make(!0,e,i)}},DecompressionStreamZlib:class DecompressionStreamZlib{constructor(e="deflate",i){return _make(!1,e,i)}}});const fr={application:{"andrew-inset":"ez",annodex:"anx","atom+xml":"atom","atomcat+xml":"atomcat","atomserv+xml":"atomsrv",bbolin:"lin","cu-seeme":"cu","davmount+xml":"davmount",dsptype:"tsp",ecmascript:["es","ecma"],futuresplash:"spl",hta:"hta","java-archive":"jar","java-serialized-object":"ser","java-vm":"class",m3g:"m3g","mac-binhex40":"hqx",mathematica:["nb","ma","mb"],msaccess:"mdb",msword:["doc","dot","wiz"],mxf:"mxf",oda:"oda",ogg:"ogx",pdf:"pdf","pgp-keys":"key","pgp-signature":["asc","sig"],"pics-rules":"prf",postscript:["ps","ai","eps","epsi","epsf","eps2","eps3"],rar:"rar","rdf+xml":"rdf","rss+xml":"rss",rtf:"rtf","xhtml+xml":["xhtml","xht"],xml:["xml","xsl","xsd","xpdl"],"xspf+xml":"xspf",zip:"zip","vnd.android.package-archive":"apk","vnd.cinderella":"cdy","vnd.google-earth.kml+xml":"kml","vnd.google-earth.kmz":"kmz","vnd.mozilla.xul+xml":"xul","vnd.ms-excel":["xls","xlb","xlt","xlm","xla","xlc","xlw"],"vnd.ms-pki.seccat":"cat","vnd.ms-pki.stl":"stl","vnd.ms-powerpoint":["ppt","pps","pot","ppa","pwz"],"vnd.oasis.opendocument.chart":"odc","vnd.oasis.opendocument.database":"odb","vnd.oasis.opendocument.formula":"odf","vnd.oasis.opendocument.graphics":"odg","vnd.oasis.opendocument.graphics-template":"otg","vnd.oasis.opendocument.image":"odi","vnd.oasis.opendocument.presentation":"odp","vnd.oasis.opendocument.presentation-template":"otp","vnd.oasis.opendocument.spreadsheet":"ods","vnd.oasis.opendocument.spreadsheet-template":"ots","vnd.oasis.opendocument.text":"odt","vnd.oasis.opendocument.text-master":["odm","otm"],"vnd.oasis.opendocument.text-template":"ott","vnd.oasis.opendocument.text-web":"oth","vnd.openxmlformats-officedocument.spreadsheetml.sheet":"xlsx","vnd.openxmlformats-officedocument.spreadsheetml.template":"xltx","vnd.openxmlformats-officedocument.presentationml.presentation":"pptx","vnd.openxmlformats-officedocument.presentationml.slideshow":"ppsx","vnd.openxmlformats-officedocument.presentationml.template":"potx","vnd.openxmlformats-officedocument.wordprocessingml.document":"docx","vnd.openxmlformats-officedocument.wordprocessingml.template":"dotx","vnd.smaf":"mmf","vnd.stardivision.calc":"sdc","vnd.stardivision.chart":"sds","vnd.stardivision.draw":"sda","vnd.stardivision.impress":"sdd","vnd.stardivision.math":["sdf","smf"],"vnd.stardivision.writer":["sdw","vor"],"vnd.stardivision.writer-global":"sgl","vnd.sun.xml.calc":"sxc","vnd.sun.xml.calc.template":"stc","vnd.sun.xml.draw":"sxd","vnd.sun.xml.draw.template":"std","vnd.sun.xml.impress":"sxi","vnd.sun.xml.impress.template":"sti","vnd.sun.xml.math":"sxm","vnd.sun.xml.writer":"sxw","vnd.sun.xml.writer.global":"sxg","vnd.sun.xml.writer.template":"stw","vnd.symbian.install":["sis","sisx"],"vnd.visio":["vsd","vst","vss","vsw","vsdx","vssx","vstx","vssm","vstm"],"vnd.wap.wbxml":"wbxml","vnd.wap.wmlc":"wmlc","vnd.wap.wmlscriptc":"wmlsc","vnd.wordperfect":"wpd","vnd.wordperfect5.1":"wp5","x-123":"wk","x-7z-compressed":"7z","x-abiword":"abw","x-apple-diskimage":"dmg","x-bcpio":"bcpio","x-bittorrent":"torrent","x-cbr":["cbr","cba","cbt","cb7"],"x-cbz":"cbz","x-cdf":["cdf","cda"],"x-cdlink":"vcd","x-chess-pgn":"pgn","x-cpio":"cpio","x-csh":"csh","x-director":["dir","dxr","cst","cct","cxt","w3d","fgd","swa"],"x-dms":"dms","x-doom":"wad","x-dvi":"dvi","x-httpd-eruby":"rhtml","x-font":"pcf.Z","x-freemind":"mm","x-gnumeric":"gnumeric","x-go-sgf":"sgf","x-graphing-calculator":"gcf","x-gtar":["gtar","taz"],"x-hdf":"hdf","x-httpd-php":["phtml","pht","php"],"x-httpd-php-source":"phps","x-httpd-php3":"php3","x-httpd-php3-preprocessed":"php3p","x-httpd-php4":"php4","x-httpd-php5":"php5","x-ica":"ica","x-info":"info","x-internet-signup":["ins","isp"],"x-iphone":"iii","x-iso9660-image":"iso","x-java-jnlp-file":"jnlp","x-jmol":"jmz","x-killustrator":"kil","x-latex":"latex","x-lyx":"lyx","x-lzx":"lzx","x-maker":["frm","fb","fbdoc"],"x-ms-wmd":"wmd","x-msdos-program":["com","exe","bat","dll"],"x-netcdf":["nc"],"x-ns-proxy-autoconfig":["pac","dat"],"x-nwc":"nwc","x-object":"o","x-oz-application":"oza","x-pkcs7-certreqresp":"p7r","x-python-code":["pyc","pyo"],"x-qgis":["qgs","shp","shx"],"x-quicktimeplayer":"qtl","x-redhat-package-manager":["rpm","rpa"],"x-ruby":"rb","x-sh":"sh","x-shar":"shar","x-shockwave-flash":["swf","swfl"],"x-silverlight":"scr","x-stuffit":"sit","x-sv4cpio":"sv4cpio","x-sv4crc":"sv4crc","x-tar":"tar","x-tex-gf":"gf","x-tex-pk":"pk","x-texinfo":["texinfo","texi"],"x-trash":["~","%","bak","old","sik"],"x-ustar":"ustar","x-wais-source":"src","x-wingz":"wz","x-x509-ca-cert":["crt","der","cer"],"x-xcf":"xcf","x-xfig":"fig","x-xpinstall":"xpi",applixware:"aw","atomsvc+xml":"atomsvc","ccxml+xml":"ccxml","cdmi-capability":"cdmia","cdmi-container":"cdmic","cdmi-domain":"cdmid","cdmi-object":"cdmio","cdmi-queue":"cdmiq","docbook+xml":"dbk","dssc+der":"dssc","dssc+xml":"xdssc","emma+xml":"emma","epub+zip":"epub",exi:"exi","font-tdpfr":"pfr","gml+xml":"gml","gpx+xml":"gpx",gxf:"gxf",hyperstudio:"stk","inkml+xml":["ink","inkml"],ipfix:"ipfix","jsonml+json":"jsonml","lost+xml":"lostxml","mads+xml":"mads",marc:"mrc","marcxml+xml":"mrcx","mathml+xml":["mathml","mml"],mbox:"mbox","mediaservercontrol+xml":"mscml","metalink+xml":"metalink","metalink4+xml":"meta4","mets+xml":"mets","mods+xml":"mods",mp21:["m21","mp21"],mp4:"mp4s","oebps-package+xml":"opf","omdoc+xml":"omdoc",onenote:["onetoc","onetoc2","onetmp","onepkg"],oxps:"oxps","patch-ops-error+xml":"xer","pgp-encrypted":"pgp",pkcs10:"p10","pkcs7-mime":["p7m","p7c"],"pkcs7-signature":"p7s",pkcs8:"p8","pkix-attr-cert":"ac","pkix-crl":"crl","pkix-pkipath":"pkipath",pkixcmp:"pki","pls+xml":"pls","prs.cww":"cww","pskc+xml":"pskcxml","reginfo+xml":"rif","relax-ng-compact-syntax":"rnc","resource-lists+xml":"rl","resource-lists-diff+xml":"rld","rls-services+xml":"rs","rpki-ghostbusters":"gbr","rpki-manifest":"mft","rpki-roa":"roa","rsd+xml":"rsd","sbml+xml":"sbml","scvp-cv-request":"scq","scvp-cv-response":"scs","scvp-vp-request":"spq","scvp-vp-response":"spp",sdp:"sdp","set-payment-initiation":"setpay","set-registration-initiation":"setreg","shf+xml":"shf","sparql-query":"rq","sparql-results+xml":"srx",srgs:"gram","srgs+xml":"grxml","sru+xml":"sru","ssdl+xml":"ssdl","ssml+xml":"ssml","tei+xml":["tei","teicorpus"],"thraud+xml":"tfi","timestamped-data":"tsd","vnd.3gpp.pic-bw-large":"plb","vnd.3gpp.pic-bw-small":"psb","vnd.3gpp.pic-bw-var":"pvb","vnd.3gpp2.tcap":"tcap","vnd.3m.post-it-notes":"pwn","vnd.accpac.simply.aso":"aso","vnd.accpac.simply.imp":"imp","vnd.acucobol":"acu","vnd.acucorp":["atc","acutc"],"vnd.adobe.air-application-installer-package+zip":"air","vnd.adobe.formscentral.fcdt":"fcdt","vnd.adobe.fxp":["fxp","fxpl"],"vnd.adobe.xdp+xml":"xdp","vnd.adobe.xfdf":"xfdf","vnd.ahead.space":"ahead","vnd.airzip.filesecure.azf":"azf","vnd.airzip.filesecure.azs":"azs","vnd.amazon.ebook":"azw","vnd.americandynamics.acc":"acc","vnd.amiga.ami":"ami","vnd.anser-web-certificate-issue-initiation":"cii","vnd.anser-web-funds-transfer-initiation":"fti","vnd.antix.game-component":"atx","vnd.apple.installer+xml":"mpkg","vnd.apple.mpegurl":"m3u8","vnd.aristanetworks.swi":"swi","vnd.astraea-software.iota":"iota","vnd.audiograph":"aep","vnd.blueice.multipass":"mpm","vnd.bmi":"bmi","vnd.businessobjects":"rep","vnd.chemdraw+xml":"cdxml","vnd.chipnuts.karaoke-mmd":"mmd","vnd.claymore":"cla","vnd.cloanto.rp9":"rp9","vnd.clonk.c4group":["c4g","c4d","c4f","c4p","c4u"],"vnd.cluetrust.cartomobile-config":"c11amc","vnd.cluetrust.cartomobile-config-pkg":"c11amz","vnd.commonspace":"csp","vnd.contact.cmsg":"cdbcmsg","vnd.cosmocaller":"cmc","vnd.crick.clicker":"clkx","vnd.crick.clicker.keyboard":"clkk","vnd.crick.clicker.palette":"clkp","vnd.crick.clicker.template":"clkt","vnd.crick.clicker.wordbank":"clkw","vnd.criticaltools.wbs+xml":"wbs","vnd.ctc-posml":"pml","vnd.cups-ppd":"ppd","vnd.curl.car":"car","vnd.curl.pcurl":"pcurl","vnd.dart":"dart","vnd.data-vision.rdz":"rdz","vnd.dece.data":["uvf","uvvf","uvd","uvvd"],"vnd.dece.ttml+xml":["uvt","uvvt"],"vnd.dece.unspecified":["uvx","uvvx"],"vnd.dece.zip":["uvz","uvvz"],"vnd.denovo.fcselayout-link":"fe_launch","vnd.dna":"dna","vnd.dolby.mlp":"mlp","vnd.dpgraph":"dpg","vnd.dreamfactory":"dfac","vnd.ds-keypoint":"kpxx","vnd.dvb.ait":"ait","vnd.dvb.service":"svc","vnd.dynageo":"geo","vnd.ecowin.chart":"mag","vnd.enliven":"nml","vnd.epson.esf":"esf","vnd.epson.msf":"msf","vnd.epson.quickanime":"qam","vnd.epson.salt":"slt","vnd.epson.ssf":"ssf","vnd.eszigno3+xml":["es3","et3"],"vnd.ezpix-album":"ez2","vnd.ezpix-package":"ez3","vnd.fdf":"fdf","vnd.fdsn.mseed":"mseed","vnd.fdsn.seed":["seed","dataless"],"vnd.flographit":"gph","vnd.fluxtime.clip":"ftc","vnd.framemaker":["fm","frame","maker","book"],"vnd.frogans.fnc":"fnc","vnd.frogans.ltf":"ltf","vnd.fsc.weblaunch":"fsc","vnd.fujitsu.oasys":"oas","vnd.fujitsu.oasys2":"oa2","vnd.fujitsu.oasys3":"oa3","vnd.fujitsu.oasysgp":"fg5","vnd.fujitsu.oasysprs":"bh2","vnd.fujixerox.ddd":"ddd","vnd.fujixerox.docuworks":"xdw","vnd.fujixerox.docuworks.binder":"xbd","vnd.fuzzysheet":"fzs","vnd.genomatix.tuxedo":"txd","vnd.geogebra.file":"ggb","vnd.geogebra.tool":"ggt","vnd.geometry-explorer":["gex","gre"],"vnd.geonext":"gxt","vnd.geoplan":"g2w","vnd.geospace":"g3w","vnd.gmx":"gmx","vnd.grafeq":["gqf","gqs"],"vnd.groove-account":"gac","vnd.groove-help":"ghf","vnd.groove-identity-message":"gim","vnd.groove-injector":"grv","vnd.groove-tool-message":"gtm","vnd.groove-tool-template":"tpl","vnd.groove-vcard":"vcg","vnd.hal+xml":"hal","vnd.handheld-entertainment+xml":"zmm","vnd.hbci":"hbci","vnd.hhe.lesson-player":"les","vnd.hp-hpgl":"hpgl","vnd.hp-hpid":"hpid","vnd.hp-hps":"hps","vnd.hp-jlyt":"jlt","vnd.hp-pcl":"pcl","vnd.hp-pclxl":"pclxl","vnd.hydrostatix.sof-data":"sfd-hdstx","vnd.ibm.minipay":"mpy","vnd.ibm.modcap":["afp","listafp","list3820"],"vnd.ibm.rights-management":"irm","vnd.ibm.secure-container":"sc","vnd.iccprofile":["icc","icm"],"vnd.igloader":"igl","vnd.immervision-ivp":"ivp","vnd.immervision-ivu":"ivu","vnd.insors.igm":"igm","vnd.intercon.formnet":["xpw","xpx"],"vnd.intergeo":"i2g","vnd.intu.qbo":"qbo","vnd.intu.qfx":"qfx","vnd.ipunplugged.rcprofile":"rcprofile","vnd.irepository.package+xml":"irp","vnd.is-xpr":"xpr","vnd.isac.fcs":"fcs","vnd.jam":"jam","vnd.jcp.javame.midlet-rms":"rms","vnd.jisp":"jisp","vnd.joost.joda-archive":"joda","vnd.kahootz":["ktz","ktr"],"vnd.kde.karbon":"karbon","vnd.kde.kchart":"chrt","vnd.kde.kformula":"kfo","vnd.kde.kivio":"flw","vnd.kde.kontour":"kon","vnd.kde.kpresenter":["kpr","kpt"],"vnd.kde.kspread":"ksp","vnd.kde.kword":["kwd","kwt"],"vnd.kenameaapp":"htke","vnd.kidspiration":"kia","vnd.kinar":["kne","knp"],"vnd.koan":["skp","skd","skt","skm"],"vnd.kodak-descriptor":"sse","vnd.las.las+xml":"lasxml","vnd.llamagraphics.life-balance.desktop":"lbd","vnd.llamagraphics.life-balance.exchange+xml":"lbe","vnd.lotus-1-2-3":"123","vnd.lotus-approach":"apr","vnd.lotus-freelance":"pre","vnd.lotus-notes":"nsf","vnd.lotus-organizer":"org","vnd.lotus-screencam":"scm","vnd.lotus-wordpro":"lwp","vnd.macports.portpkg":"portpkg","vnd.mcd":"mcd","vnd.medcalcdata":"mc1","vnd.mediastation.cdkey":"cdkey","vnd.mfer":"mwf","vnd.mfmp":"mfm","vnd.micrografx.flo":"flo","vnd.micrografx.igx":"igx","vnd.mif":"mif","vnd.mobius.daf":"daf","vnd.mobius.dis":"dis","vnd.mobius.mbk":"mbk","vnd.mobius.mqy":"mqy","vnd.mobius.msl":"msl","vnd.mobius.plc":"plc","vnd.mobius.txf":"txf","vnd.mophun.application":"mpn","vnd.mophun.certificate":"mpc","vnd.ms-artgalry":"cil","vnd.ms-cab-compressed":"cab","vnd.ms-excel.addin.macroenabled.12":"xlam","vnd.ms-excel.sheet.binary.macroenabled.12":"xlsb","vnd.ms-excel.sheet.macroenabled.12":"xlsm","vnd.ms-excel.template.macroenabled.12":"xltm","vnd.ms-fontobject":"eot","vnd.ms-htmlhelp":"chm","vnd.ms-ims":"ims","vnd.ms-lrm":"lrm","vnd.ms-officetheme":"thmx","vnd.ms-powerpoint.addin.macroenabled.12":"ppam","vnd.ms-powerpoint.presentation.macroenabled.12":"pptm","vnd.ms-powerpoint.slide.macroenabled.12":"sldm","vnd.ms-powerpoint.slideshow.macroenabled.12":"ppsm","vnd.ms-powerpoint.template.macroenabled.12":"potm","vnd.ms-project":["mpp","mpt"],"vnd.ms-word.document.macroenabled.12":"docm","vnd.ms-word.template.macroenabled.12":"dotm","vnd.ms-works":["wps","wks","wcm","wdb"],"vnd.ms-wpl":"wpl","vnd.ms-xpsdocument":"xps","vnd.mseq":"mseq","vnd.musician":"mus","vnd.muvee.style":"msty","vnd.mynfc":"taglet","vnd.neurolanguage.nlu":"nlu","vnd.nitf":["ntf","nitf"],"vnd.noblenet-directory":"nnd","vnd.noblenet-sealer":"nns","vnd.noblenet-web":"nnw","vnd.nokia.n-gage.data":"ngdat","vnd.nokia.n-gage.symbian.install":"n-gage","vnd.nokia.radio-preset":"rpst","vnd.nokia.radio-presets":"rpss","vnd.novadigm.edm":"edm","vnd.novadigm.edx":"edx","vnd.novadigm.ext":"ext","vnd.oasis.opendocument.chart-template":"otc","vnd.oasis.opendocument.formula-template":"odft","vnd.oasis.opendocument.image-template":"oti","vnd.olpc-sugar":"xo","vnd.oma.dd2+xml":"dd2","vnd.openofficeorg.extension":"oxt","vnd.openxmlformats-officedocument.presentationml.slide":"sldx","vnd.osgeo.mapguide.package":"mgp","vnd.osgi.dp":"dp","vnd.osgi.subsystem":"esa","vnd.palm":["pdb","pqa","oprc"],"vnd.pawaafile":"paw","vnd.pg.format":"str","vnd.pg.osasli":"ei6","vnd.picsel":"efif","vnd.pmi.widget":"wg","vnd.pocketlearn":"plf","vnd.powerbuilder6":"pbd","vnd.previewsystems.box":"box","vnd.proteus.magazine":"mgz","vnd.publishare-delta-tree":"qps","vnd.pvi.ptid1":"ptid","vnd.quark.quarkxpress":["qxd","qxt","qwd","qwt","qxl","qxb"],"vnd.realvnc.bed":"bed","vnd.recordare.musicxml":"mxl","vnd.recordare.musicxml+xml":"musicxml","vnd.rig.cryptonote":"cryptonote","vnd.rn-realmedia":"rm","vnd.rn-realmedia-vbr":"rmvb","vnd.route66.link66+xml":"link66","vnd.sailingtracker.track":"st","vnd.seemail":"see","vnd.sema":"sema","vnd.semd":"semd","vnd.semf":"semf","vnd.shana.informed.formdata":"ifm","vnd.shana.informed.formtemplate":"itp","vnd.shana.informed.interchange":"iif","vnd.shana.informed.package":"ipk","vnd.simtech-mindmapper":["twd","twds"],"vnd.smart.teacher":"teacher","vnd.solent.sdkm+xml":["sdkm","sdkd"],"vnd.spotfire.dxp":"dxp","vnd.spotfire.sfs":"sfs","vnd.stepmania.package":"smzip","vnd.stepmania.stepchart":"sm","vnd.sus-calendar":["sus","susp"],"vnd.svd":"svd","vnd.syncml+xml":"xsm","vnd.syncml.dm+wbxml":"bdm","vnd.syncml.dm+xml":"xdm","vnd.tao.intent-module-archive":"tao","vnd.tcpdump.pcap":["pcap","cap","dmp"],"vnd.tmobile-livetv":"tmo","vnd.trid.tpt":"tpt","vnd.triscape.mxs":"mxs","vnd.trueapp":"tra","vnd.ufdl":["ufd","ufdl"],"vnd.uiq.theme":"utz","vnd.umajin":"umj","vnd.unity":"unityweb","vnd.uoml+xml":"uoml","vnd.vcx":"vcx","vnd.visionary":"vis","vnd.vsf":"vsf","vnd.webturbo":"wtb","vnd.wolfram.player":"nbp","vnd.wqd":"wqd","vnd.wt.stf":"stf","vnd.xara":"xar","vnd.xfdl":"xfdl","vnd.yamaha.hv-dic":"hvd","vnd.yamaha.hv-script":"hvs","vnd.yamaha.hv-voice":"hvp","vnd.yamaha.openscoreformat":"osf","vnd.yamaha.openscoreformat.osfpvg+xml":"osfpvg","vnd.yamaha.smaf-audio":"saf","vnd.yamaha.smaf-phrase":"spf","vnd.yellowriver-custom-menu":"cmp","vnd.zul":["zir","zirz"],"vnd.zzazz.deck+xml":"zaz","voicexml+xml":"vxml",widget:"wgt",winhlp:"hlp","wsdl+xml":"wsdl","wspolicy+xml":"wspolicy","x-ace-compressed":"ace","x-authorware-bin":["aab","x32","u32","vox"],"x-authorware-map":"aam","x-authorware-seg":"aas","x-blorb":["blb","blorb"],"x-bzip":"bz","x-bzip2":["bz2","boz"],"x-cfs-compressed":"cfs","x-chat":"chat","x-conference":"nsc","x-dgc-compressed":"dgc","x-dtbncx+xml":"ncx","x-dtbook+xml":"dtb","x-dtbresource+xml":"res","x-eva":"eva","x-font-bdf":"bdf","x-font-ghostscript":"gsf","x-font-linux-psf":"psf","x-font-pcf":"pcf","x-font-snf":"snf","x-font-ttf":["ttf","ttc"],"x-font-type1":["pfa","pfb","pfm","afm"],"x-freearc":"arc","x-gca-compressed":"gca","x-glulx":"ulx","x-gramps-xml":"gramps","x-install-instructions":"install","x-lzh-compressed":["lzh","lha"],"x-mie":"mie","x-mobipocket-ebook":["prc","mobi"],"x-ms-application":"application","x-ms-shortcut":"lnk","x-ms-xbap":"xbap","x-msbinder":"obd","x-mscardfile":"crd","x-msclip":"clp","application/x-ms-installer":"msi","x-msmediaview":["mvb","m13","m14"],"x-msmetafile":["wmf","wmz","emf","emz"],"x-msmoney":"mny","x-mspublisher":"pub","x-msschedule":"scd","x-msterminal":"trm","x-mswrite":"wri","x-nzb":"nzb","x-pkcs12":["p12","pfx"],"x-pkcs7-certificates":["p7b","spc"],"x-research-info-systems":"ris","x-silverlight-app":"xap","x-sql":"sql","x-stuffitx":"sitx","x-subrip":"srt","x-t3vm-image":"t3","x-tex-tfm":"tfm","x-tgif":"obj","x-xliff+xml":"xlf","x-xz":"xz","x-zmachine":["z1","z2","z3","z4","z5","z6","z7","z8"],"xaml+xml":"xaml","xcap-diff+xml":"xdf","xenc+xml":"xenc","xml-dtd":"dtd","xop+xml":"xop","xproc+xml":"xpl","xslt+xml":"xslt","xv+xml":["mxml","xhvml","xvml","xvm"],yang:"yang","yin+xml":"yin",envoy:"evy",fractals:"fif","internet-property-stream":"acx",olescript:"axs","vnd.ms-outlook":"msg","vnd.ms-pkicertstore":"sst","x-compress":"z","x-perfmon":["pma","pmc","pmr","pmw"],"ynd.ms-pkipko":"pko",gzip:["gz","tgz"],"smil+xml":["smi","smil"],"vnd.debian.binary-package":["deb","udeb"],"vnd.hzn-3d-crossword":"x3d","vnd.sqlite3":["db","sqlite","sqlite3","db-wal","sqlite-wal","db-shm","sqlite-shm"],"vnd.wap.sic":"sic","vnd.wap.slc":"slc","x-krita":["kra","krz"],"x-perl":["pm","pl"],yaml:["yaml","yml"]},audio:{amr:"amr","amr-wb":"awb",annodex:"axa",basic:["au","snd"],flac:"flac",midi:["mid","midi","kar","rmi"],mpeg:["mpga","mpega","mp3","m4a","mp2a","m2a","m3a"],mpegurl:"m3u",ogg:["oga","ogg","spx"],"prs.sid":"sid","x-aiff":"aifc","x-gsm":"gsm","x-ms-wma":"wma","x-ms-wax":"wax","x-pn-realaudio":"ram","x-realaudio":"ra","x-sd2":"sd2",adpcm:"adp",mp4:"mp4a",s3m:"s3m",silk:"sil","vnd.dece.audio":["uva","uvva"],"vnd.digital-winds":"eol","vnd.dra":"dra","vnd.dts":"dts","vnd.dts.hd":"dtshd","vnd.lucent.voice":"lvp","vnd.ms-playready.media.pya":"pya","vnd.nuera.ecelp4800":"ecelp4800","vnd.nuera.ecelp7470":"ecelp7470","vnd.nuera.ecelp9600":"ecelp9600","vnd.rip":"rip",webm:"weba","x-caf":"caf","x-matroska":"mka","x-pn-realaudio-plugin":"rmp",xm:"xm",aac:"aac",aiff:["aiff","aif","aff"],opus:"opus",wav:"wav"},chemical:{"x-alchemy":"alc","x-cache":["cac","cache"],"x-cache-csf":"csf","x-cactvs-binary":["cbin","cascii","ctab"],"x-cdx":"cdx","x-chem3d":"c3d","x-cif":"cif","x-cmdf":"cmdf","x-cml":"cml","x-compass":"cpa","x-crossfire":"bsd","x-csml":["csml","csm"],"x-ctx":"ctx","x-cxf":["cxf","cef"],"x-embl-dl-nucleotide":["emb","embl"],"x-gamess-input":["inp","gam","gamin"],"x-gaussian-checkpoint":["fch","fchk"],"x-gaussian-cube":"cub","x-gaussian-input":["gau","gjc","gjf"],"x-gaussian-log":"gal","x-gcg8-sequence":"gcg","x-genbank":"gen","x-hin":"hin","x-isostar":["istr","ist"],"x-jcamp-dx":["jdx","dx"],"x-kinemage":"kin","x-macmolecule":"mcm","x-macromodel-input":"mmod","x-mdl-molfile":"mol","x-mdl-rdfile":"rd","x-mdl-rxnfile":"rxn","x-mdl-sdfile":"sd","x-mdl-tgf":"tgf","x-mmcif":"mcif","x-mol2":"mol2","x-molconn-Z":"b","x-mopac-graph":"gpt","x-mopac-input":["mop","mopcrt","zmt"],"x-mopac-out":"moo","x-ncbi-asn1":"asn","x-ncbi-asn1-ascii":["prt","ent"],"x-ncbi-asn1-binary":"val","x-rosdal":"ros","x-swissprot":"sw","x-vamas-iso14976":"vms","x-vmd":"vmd","x-xtel":"xtel","x-xyz":"xyz"},font:{otf:"otf",woff:"woff",woff2:"woff2"},image:{gif:"gif",ief:"ief",jpeg:["jpeg","jpg","jpe","jfif","jfif-tbnl","jif"],pcx:"pcx",png:"png","svg+xml":["svg","svgz"],tiff:["tiff","tif"],"vnd.djvu":["djvu","djv"],"vnd.wap.wbmp":"wbmp","x-canon-cr2":"cr2","x-canon-crw":"crw","x-cmu-raster":"ras","x-coreldraw":"cdr","x-coreldrawpattern":"pat","x-coreldrawtemplate":"cdt","x-corelphotopaint":"cpt","x-epson-erf":"erf","x-icon":"ico","x-jg":"art","x-jng":"jng","x-nikon-nef":"nef","x-olympus-orf":"orf","x-portable-anymap":"pnm","x-portable-bitmap":"pbm","x-portable-graymap":"pgm","x-portable-pixmap":"ppm","x-rgb":"rgb","x-xbitmap":"xbm","x-xpixmap":"xpm","x-xwindowdump":"xwd",bmp:"bmp",cgm:"cgm",g3fax:"g3",ktx:"ktx","prs.btif":"btif",sgi:"sgi","vnd.dece.graphic":["uvi","uvvi","uvg","uvvg"],"vnd.dwg":"dwg","vnd.dxf":"dxf","vnd.fastbidsheet":"fbs","vnd.fpx":"fpx","vnd.fst":"fst","vnd.fujixerox.edmics-mmr":"mmr","vnd.fujixerox.edmics-rlc":"rlc","vnd.ms-modi":"mdi","vnd.ms-photo":"wdp","vnd.net-fpx":"npx","vnd.xiff":"xif",webp:"webp","x-3ds":"3ds","x-cmx":"cmx","x-freehand":["fh","fhc","fh4","fh5","fh7"],"x-pict":["pic","pct"],"x-tga":"tga","cis-cod":"cod",avif:"avifs",heic:["heif","heic"],pjpeg:["pjpg"],"vnd.adobe.photoshop":"psd","x-adobe-dng":"dng","x-fuji-raf":"raf","x-icns":"icns","x-kodak-dcr":"dcr","x-kodak-k25":"k25","x-kodak-kdc":"kdc","x-minolta-mrw":"mrw","x-panasonic-raw":["raw","rw2","rwl"],"x-pentax-pef":["pef","ptx"],"x-sigma-x3f":"x3f","x-sony-arw":"arw","x-sony-sr2":"sr2","x-sony-srf":"srf"},message:{rfc822:["eml","mime","mht","mhtml","nws"]},model:{iges:["igs","iges"],mesh:["msh","mesh","silo"],vrml:["wrl","vrml"],"x3d+vrml":["x3dv","x3dvz"],"x3d+xml":"x3dz","x3d+binary":["x3db","x3dbz"],"vnd.collada+xml":"dae","vnd.dwf":"dwf","vnd.gdl":"gdl","vnd.gtw":"gtw","vnd.mts":"mts","vnd.usdz+zip":"usdz","vnd.vtu":"vtu"},text:{"cache-manifest":["manifest","appcache"],calendar:["ics","icz","ifb"],css:"css",csv:"csv",h323:"323",html:["html","htm","shtml","stm"],iuls:"uls",plain:["txt","text","brf","conf","def","list","log","in","bas","diff","ksh"],richtext:"rtx",scriptlet:["sct","wsc"],texmacs:"tm","tab-separated-values":"tsv","vnd.sun.j2me.app-descriptor":"jad","vnd.wap.wml":"wml","vnd.wap.wmlscript":"wmls","x-bibtex":"bib","x-boo":"boo","x-c++hdr":["h++","hpp","hxx","hh"],"x-c++src":["c++","cpp","cxx","cc"],"x-component":"htc","x-dsrc":"d","x-diff":"patch","x-haskell":"hs","x-java":"java","x-literate-haskell":"lhs","x-moc":"moc","x-pascal":["p","pas","pp","inc"],"x-pcs-gcd":"gcd","x-python":"py","x-scala":"scala","x-setext":"etx","x-tcl":["tcl","tk"],"x-tex":["tex","ltx","sty","cls"],"x-vcalendar":"vcs","x-vcard":"vcf",n3:"n3","prs.lines.tag":"dsc",sgml:["sgml","sgm"],troff:["t","tr","roff","man","me","ms"],turtle:"ttl","uri-list":["uri","uris","urls"],vcard:"vcard","vnd.curl":"curl","vnd.curl.dcurl":"dcurl","vnd.curl.scurl":"scurl","vnd.curl.mcurl":"mcurl","vnd.dvb.subtitle":"sub","vnd.fly":"fly","vnd.fmi.flexstor":"flx","vnd.graphviz":"gv","vnd.in3d.3dml":"3dml","vnd.in3d.spot":"spot","x-asm":["s","asm"],"x-c":["c","h","dic"],"x-fortran":["f","for","f77","f90"],"x-opml":"opml","x-nfo":"nfo","x-sfv":"sfv","x-uuencode":"uu",webviewhtml:"htt",javascript:"js",json:"json",markdown:["md","markdown","mdown","markdn"],"vnd.wap.si":"si","vnd.wap.sl":"sl"},video:{avif:"avif","3gpp":"3gp",annodex:"axv",dl:"dl",dv:["dif","dv"],fli:"fli",gl:"gl",mpeg:["mpeg","mpg","mpe","m1v","m2v","mp2","mpa","mpv2"],mp4:["mp4","mp4v","mpg4"],quicktime:["qt","mov"],ogg:"ogv","vnd.mpegurl":["mxu","m4u"],"x-flv":"flv","x-la-asf":["lsf","lsx"],"x-mng":"mng","x-ms-asf":["asf","asx","asr"],"x-ms-wm":"wm","x-ms-wmv":"wmv","x-ms-wmx":"wmx","x-ms-wvx":"wvx","x-msvideo":"avi","x-sgi-movie":"movie","x-matroska":["mpv","mkv","mk3d","mks"],"3gpp2":"3g2",h261:"h261",h263:"h263",h264:"h264",jpeg:"jpgv",jpm:["jpm","jpgm"],mj2:["mj2","mjp2"],"vnd.dece.hd":["uvh","uvvh"],"vnd.dece.mobile":["uvm","uvvm"],"vnd.dece.pd":["uvp","uvvp"],"vnd.dece.sd":["uvs","uvvs"],"vnd.dece.video":["uvv","uvvv"],"vnd.dvb.file":"dvb","vnd.fvt":"fvt","vnd.ms-playready.media.pyv":"pyv","vnd.uvvu.mp4":["uvu","uvvu"],"vnd.vivo":"viv",webm:"webm","x-f4v":"f4v","x-m4v":"m4v","x-ms-vob":"vob","x-smv":"smv",mp2t:"ts"},"x-conference":{"x-cooltalk":"ice"},"x-world":{"x-vrml":["vrm","flr","wrz","xaf","xof"]}};(()=>{const e={};for(const i of Object.keys(fr))for(const s of Object.keys(fr[i])){const n=fr[i][s];if("string"==typeof n)e[n]=i+"/"+s;else for(let o=0;o<n.length;o++)e[n[o]]=i+"/"+s}})(),function t(e){let i;e({workerURI:()=>(i||(i="data:text/javascript,"+encodeURIComponent('(t=>{"function"==typeof define&&define.amd?define(t):t()})(function(){"use strict";const{Array:t,Object:e,Number:n,Math:s,Error:r,Uint8Array:o,Uint16Array:i,Uint32Array:c,Int32Array:a,Map:h,DataView:f,Promise:l,TextEncoder:u,crypto:w,postMessage:p,TransformStream:d,ReadableStream:y,WritableStream:m,CompressionStream:g,DecompressionStream:S}=self,b=void 0,v="undefined",k="function",z=[];for(let t=0;256>t;t++){let e=t;for(let t=0;8>t;t++)1&e?e=e>>>1^3988292384:e>>>=1;z[t]=e}class C{constructor(t){this.t=t||-1}append(t){let e=0|this.t;for(let n=0,s=0|t.length;s>n;n++)e=e>>>8^z[255&(e^t[n])];this.t=e}get(){return~this.t}}class A extends d{constructor(){let t;const e=new C;super({transform(t,n){e.append(t),n.enqueue(t)},flush(){const n=new o(4);new f(n.buffer).setUint32(0,e.get()),t.value=n}}),t=this}}const x={concat(t,e){if(0===t.length||0===e.length)return t.concat(e);const n=t[t.length-1],s=x.o(n);return 32===s?t.concat(e):x.i(e,s,0|n,t.slice(0,t.length-1))},h(t){const e=t.length;if(0===e)return 0;const n=t[e-1];return 32*(e-1)+x.o(n)},l(t,e){if(32*t.length<e)return t;const n=(t=t.slice(0,s.ceil(e/32))).length;return e&=31,n>0&&e&&(t[n-1]=x.u(e,t[n-1]&2147483648>>e-1,1)),t},u:(t,e,n)=>32===t?e:(n?0|e:e<<32-t)+1099511627776*t,o:t=>s.round(t/1099511627776)||32,i(t,e,n,s){for(void 0===s&&(s=[]);e>=32;e-=32)s.push(n),n=0;if(0===e)return s.concat(t);for(let r=0;r<t.length;r++)s.push(n|t[r]>>>e),n=t[r]<<32-e;const r=t.length?t[t.length-1]:0,o=x.o(r);return s.push(x.u(e+o&31,e+o>32?n:s.pop(),1)),s}},I={bytes:{p(t){const e=x.h(t)/8,n=new o(e);let s;for(let r=0;e>r;r++)3&r||(s=t[r/4]),n[r]=s>>>24,s<<=8;return n},m(t){const e=[];let n,s=0;for(n=0;n<t.length;n++)s=s<<8|t[n],3&~n||(e.push(s),s=0);return 3&n&&e.push(x.u(8*(3&n),s)),e}}},R=class{constructor(t){const e=this;e.blockSize=512,e.S=[1732584193,4023233417,2562383102,271733878,3285377520],e.v=[1518500249,1859775393,2400959708,3395469782],t?(e.k=t.k.slice(0),e.C=t.C.slice(0),e.A=t.A):e.reset()}reset(){const t=this;return t.k=t.S.slice(0),t.C=[],t.A=0,t}update(t){const e=this;"string"==typeof t&&(t=I.I.m(t));const n=e.C=x.concat(e.C,t),s=e.A,o=e.A=s+x.h(t);if(o>9007199254740991)throw new r("Cannot hash more than 2^53 - 1 bits");const i=new c(n);let a=0;for(let t=e.blockSize+s-(e.blockSize+s&e.blockSize-1);o>=t;t+=e.blockSize)e.R(i.subarray(16*a,16*(a+1))),a+=1;return n.splice(0,16*a),e}P(){const t=this;let e=t.C;const n=t.k;e=x.concat(e,[x.u(1,1)]);for(let t=e.length+2;15&t;t++)e.push(0);for(e.push(s.floor(t.A/4294967296)),e.push(0|t.A);e.length;)t.R(e.splice(0,16));return t.reset(),n}U(t,e,n,s){return t>19?t>39?t>59?t>79?void 0:e^n^s:e&n|e&s|n&s:e^n^s:e&n|~e&s}V(t,e){return e<<t|e>>>32-t}R(e){const n=this,r=n.k,o=t(80);for(let t=0;16>t;t++)o[t]=e[t];let i=r[0],c=r[1],a=r[2],h=r[3],f=r[4];for(let t=0;79>=t;t++){16>t||(o[t]=n.V(1,o[t-3]^o[t-8]^o[t-14]^o[t-16]));const e=n.V(5,i)+n.U(t,c,a,h)+f+o[t]+n.v[s.floor(t/20)]|0;f=h,h=a,a=n.V(30,c),c=i,i=e}r[0]=r[0]+i|0,r[1]=r[1]+c|0,r[2]=r[2]+a|0,r[3]=r[3]+h|0,r[4]=r[4]+f|0}},P={getRandomValues(t){const e=new c(t.buffer),n=t=>{let e=987654321;const n=4294967295;return()=>(e=36969*(65535&e)+(e>>16)&n,(((e<<16)+(t=18e3*(65535&t)+(t>>16)&n)&n)/4294967296+.5)*(s.random()>.5?1:-1))};for(let r,o=0;o<t.length;o+=4){const t=n(4294967296*(r||s.random()));r=987654071*t(),e[o/4]=4294967296*t()|0}return t}},U={importKey:t=>new U.M(I.bytes.m(t)),_(t,e,n,s){if(n=n||1e4,0>s||0>n)throw new r("invalid params to pbkdf2");const o=1+(s>>5)<<2;let i,c,a,h,l;const u=new ArrayBuffer(o),w=new f(u);let p=0;const d=x;for(e=I.bytes.m(e),l=1;(o||1)>p;l++){for(i=c=t.encrypt(d.concat(e,[l])),a=1;n>a;a++)for(c=t.encrypt(c),h=0;h<c.length;h++)i[h]^=c[h];for(a=0;(o||1)>p&&a<i.length;a++)w.setInt32(p,i[a]),p+=4}return u.slice(0,s/8)},M:class{constructor(t){const e=this,n=e.B=R,s=[[],[]];e.D=[new n,new n];const r=e.D[0].blockSize/32;t.length>r&&(t=(new n).update(t).P());for(let e=0;r>e;e++)s[0][e]=909522486^t[e],s[1][e]=1549556828^t[e];e.D[0].update(s[0]),e.D[1].update(s[1]),e.W=new n(e.D[0])}reset(){const t=this;t.W=new t.B(t.D[0]),t.K=!1}update(t){this.K=!0,this.W.update(t)}digest(){const t=this,e=t.W.P(),n=new t.B(t.D[1]).update(e).P();return t.reset(),n}encrypt(t){if(this.K)throw new r("encrypt on already updated hmac called!");return this.update(t),this.digest(t)}}},V=typeof w!=v&&typeof w.getRandomValues==k,M="Invalid password",_="Invalid signature",B="zipjs-abort-check-password";function D(t){return V?w.getRandomValues(t):P.getRandomValues(t)}const W=16,K={name:"PBKDF2"},E=e.assign({hash:{name:"HMAC"}},K),L=e.assign({iterations:1e3,hash:{name:"SHA-1"}},K),O=["deriveBits"],T=[8,12,16],j=[16,24,32],H=10,Z=[0,0,0,0],F=typeof w!=v,N=F&&w.subtle,q=F&&typeof N!=v,G=I.bytes,J=class{constructor(t){const e=this;e.L=[[[],[],[],[],[]],[[],[],[],[],[]]],e.L[0][0][0]||e.O();const n=e.L[0][4],s=e.L[1],o=t.length;let i,c,a,h=1;if(4!==o&&6!==o&&8!==o)throw new r("invalid aes key size");for(e.v=[c=t.slice(0),a=[]],i=o;4*o+28>i;i++){let t=c[i-1];(i%o===0||8===o&&i%o===4)&&(t=n[t>>>24]<<24^n[t>>16&255]<<16^n[t>>8&255]<<8^n[255&t],i%o===0&&(t=t<<8^t>>>24^h<<24,h=h<<1^283*(h>>7))),c[i]=c[i-o]^t}for(let t=0;i;t++,i--){const e=c[3&t?i:i-4];a[t]=4>=i||4>t?e:s[0][n[e>>>24]]^s[1][n[e>>16&255]]^s[2][n[e>>8&255]]^s[3][n[255&e]]}}encrypt(t){return this.T(t,0)}decrypt(t){return this.T(t,1)}O(){const t=this.L[0],e=this.L[1],n=t[4],s=e[4],r=[],o=[];let i,c,a,h;for(let t=0;256>t;t++)o[(r[t]=t<<1^283*(t>>7))^t]=t;for(let f=i=0;!n[f];f^=c||1,i=o[i]||1){let o=i^i<<1^i<<2^i<<3^i<<4;o=o>>8^255&o^99,n[f]=o,s[o]=f,h=r[a=r[c=r[f]]];let l=16843009*h^65537*a^257*c^16843008*f,u=257*r[o]^16843008*o;for(let n=0;4>n;n++)t[n][f]=u=u<<24^u>>>8,e[n][o]=l=l<<24^l>>>8}for(let n=0;5>n;n++)t[n]=t[n].slice(0),e[n]=e[n].slice(0)}T(t,e){if(4!==t.length)throw new r("invalid aes block size");const n=this.v[e],s=n.length/4-2,o=[0,0,0,0],i=this.L[e],c=i[0],a=i[1],h=i[2],f=i[3],l=i[4];let u,w,p,d=t[0]^n[0],y=t[e?3:1]^n[1],m=t[2]^n[2],g=t[e?1:3]^n[3],S=4;for(let t=0;s>t;t++)u=c[d>>>24]^a[y>>16&255]^h[m>>8&255]^f[255&g]^n[S],w=c[y>>>24]^a[m>>16&255]^h[g>>8&255]^f[255&d]^n[S+1],p=c[m>>>24]^a[g>>16&255]^h[d>>8&255]^f[255&y]^n[S+2],g=c[g>>>24]^a[d>>16&255]^h[y>>8&255]^f[255&m]^n[S+3],S+=4,d=u,y=w,m=p;for(let t=0;4>t;t++)o[e?3&-t:t]=l[d>>>24]<<24^l[y>>16&255]<<16^l[m>>8&255]<<8^l[255&g]^n[S++],u=d,d=y,y=m,m=g,g=u;return o}},Q=class{constructor(t,e){this.j=t,this.H=e,this.Z=e}reset(){this.Z=this.H}update(t){return this.F(this.j,t,this.Z)}N(t){if(255&~(t>>24))t+=1<<24;else{let e=t>>16&255,n=t>>8&255,s=255&t;255===e?(e=0,255===n?(n=0,255===s?s=0:++s):++n):++e,t=0,t+=e<<16,t+=n<<8,t+=s}return t}q(t){0===(t[0]=this.N(t[0]))&&(t[1]=this.N(t[1]))}F(t,e,n){let s;if(!(s=e.length))return[];const r=x.h(e);for(let r=0;s>r;r+=4){this.q(n);const s=t.encrypt(n);e[r]^=s[0],e[r+1]^=s[1],e[r+2]^=s[2],e[r+3]^=s[3]}return x.l(e,r)}},X=U.M;let Y=F&&q&&typeof N.importKey==k,$=F&&q&&typeof N.deriveBits==k;class tt extends d{constructor({password:t,rawPassword:n,signed:s,encryptionStrength:i,checkPasswordOnly:c}){super({start(){e.assign(this,{ready:new l(t=>this.G=t),password:rt(t,n),signed:s,J:i-1,pending:new o})},async transform(t,e){const n=this,{password:s,J:i,G:a,ready:h}=n;s?(await(async(t,e,n,s)=>{const o=await st(t,e,n,it(s,0,T[e])),i=it(s,T[e]);if(o[0]!=i[0]||o[1]!=i[1])throw new r(M)})(n,i,s,it(t,0,T[i]+2)),t=it(t,T[i]+2),c?e.error(new r(B)):a()):await h;const f=new o(t.length-H-(t.length-H)%W);e.enqueue(nt(n,t,f,0,H,!0))},async flush(t){const{signed:e,X:n,Y:s,pending:i,ready:c}=this;if(s&&n){await c;const a=it(i,0,i.length-H),h=it(i,i.length-H);let f=new o;if(a.length){const t=at(G,a);s.update(t);const e=n.update(t);f=ct(G,e)}if(e){const t=it(ct(G,s.digest()),0,H);for(let e=0;H>e;e++)if(t[e]!=h[e])throw new r(_)}t.enqueue(f)}}})}}class et extends d{constructor({password:t,rawPassword:n,encryptionStrength:s}){let r;super({start(){e.assign(this,{ready:new l(t=>this.G=t),password:rt(t,n),J:s-1,pending:new o})},async transform(t,e){const n=this,{password:s,J:r,G:i,ready:c}=n;let a=new o;s?(a=await(async(t,e,n)=>{const s=D(new o(T[e]));return ot(s,await st(t,e,n,s))})(n,r,s),i()):await c;const h=new o(a.length+t.length-t.length%W);h.set(a,0),e.enqueue(nt(n,t,h,a.length,0))},async flush(t){const{X:e,Y:n,pending:s,ready:i}=this;if(n&&e){await i;let c=new o;if(s.length){const t=e.update(at(G,s));n.update(t),c=ct(G,t)}r.signature=ct(G,n.digest()).slice(0,H),t.enqueue(ot(c,r.signature))}}}),r=this}}function nt(t,e,n,s,r,i){const{X:c,Y:a,pending:h}=t,f=e.length-r;let l;for(h.length&&(e=ot(h,e),n=((t,e)=>{if(e&&e>t.length){const n=t;(t=new o(e)).set(n,0)}return t})(n,f-f%W)),l=0;f-W>=l;l+=W){const t=at(G,it(e,l,l+W));i&&a.update(t);const r=c.update(t);i||a.update(r),n.set(ct(G,r),l+s)}return t.pending=it(e,l),n}async function st(n,s,r,i){n.password=null;const c=await(async(t,e,n,s,r)=>{if(!Y)return U.importKey(e);try{return await N.importKey("raw",e,n,!1,r)}catch{return Y=!1,U.importKey(e)}})(0,r,E,0,O),a=await(async(t,e,n)=>{if(!$)return U._(e,t.salt,L.iterations,n);try{return await N.deriveBits(t,e,n)}catch{return $=!1,U._(e,t.salt,L.iterations,n)}})(e.assign({salt:i},L),c,8*(2*j[s]+2)),h=new o(a),f=at(G,it(h,0,j[s])),l=at(G,it(h,j[s],2*j[s])),u=it(h,2*j[s]);return e.assign(n,{keys:{key:f,$:l,passwordVerification:u},X:new Q(new J(f),t.from(Z)),Y:new X(l)}),u}function rt(t,e){return e===b?(t=>{if(typeof u==v){const e=new o((t=unescape(encodeURIComponent(t))).length);for(let n=0;n<e.length;n++)e[n]=t.charCodeAt(n);return e}return(new u).encode(t)})(t):e}function ot(t,e){let n=t;return t.length+e.length&&(n=new o(t.length+e.length),n.set(t,0),n.set(e,t.length)),n}function it(t,e,n){return t.subarray(e,n)}function ct(t,e){return t.p(e)}function at(t,e){return t.m(e)}class ht extends d{constructor({password:t,passwordVerification:n,checkPasswordOnly:s}){super({start(){e.assign(this,{password:t,passwordVerification:n}),wt(this,t)},transform(t,e){const n=this;if(n.password){const e=lt(n,t.subarray(0,12));if(n.password=null,e.at(-1)!=n.passwordVerification)throw new r(M);t=t.subarray(12)}s?e.error(new r(B)):e.enqueue(lt(n,t))}})}}class ft extends d{constructor({password:t,passwordVerification:n}){super({start(){e.assign(this,{password:t,passwordVerification:n}),wt(this,t)},transform(t,e){const n=this;let s,r;if(n.password){n.password=null;const e=D(new o(12));e[11]=n.passwordVerification,s=new o(t.length+e.length),s.set(ut(n,e),0),r=12}else s=new o(t.length),r=0;s.set(ut(n,t),r),e.enqueue(s)}})}}function lt(t,e){const n=new o(e.length);for(let s=0;s<e.length;s++)n[s]=dt(t)^e[s],pt(t,n[s]);return n}function ut(t,e){const n=new o(e.length);for(let s=0;s<e.length;s++)n[s]=dt(t)^e[s],pt(t,e[s]);return n}function wt(t,n){const s=[305419896,591751049,878082192];e.assign(t,{keys:s,tt:new C(s[0]),et:new C(s[2])});for(let e=0;e<n.length;e++)pt(t,n.charCodeAt(e))}function pt(t,e){let[n,r,o]=t.keys;t.tt.append([e]),n=~t.tt.get(),r=mt(s.imul(mt(r+yt(n)),134775813)+1),t.et.append([r>>>24]),o=~t.et.get(),t.keys=[n,r,o]}function dt(t){const e=2|t.keys[2];return yt(s.imul(e,1^e)>>>8)}function yt(t){return 255&t}function mt(t){return 4294967295&t}class gt extends d{constructor(t,{chunkSize:e,nt:n,CompressionStream:s}){super({});const{compressed:r,encrypted:o,useCompressionStream:i,zipCrypto:c,signed:a,level:h}=t,l=this;let u,w,p=super.readable;o&&!c||!a||(u=new A,p=kt(p,u)),r&&(p=vt(p,i,{level:h,chunkSize:e},s,n,s)),o&&(c?p=kt(p,new ft(t)):(w=new et(t),p=kt(p,w))),bt(l,p,()=>{let t;o&&!c&&(t=w.signature),o&&!c||!a||(t=new f(u.value.buffer).getUint32(0)),l.signature=t})}}class St extends d{constructor(t,{chunkSize:e,st:n,DecompressionStream:s}){super({});const{zipCrypto:o,encrypted:i,signed:c,signature:a,compressed:h,useCompressionStream:l,rt:u}=t;let w,p,d=super.readable;i&&(o?d=kt(d,new ht(t)):(p=new tt(t),d=kt(d,p))),h&&(d=vt(d,l,{chunkSize:e,rt:u},s,n,s)),i&&!o||!c||(w=new A,d=kt(d,w)),bt(this,d,()=>{if((!i||o)&&c){const t=new f(w.value.buffer);if(a!=t.getUint32(0,!1))throw new r(_)}})}}function bt(t,n,s){n=kt(n,new d({flush:s})),e.defineProperty(t,"readable",{get:()=>n})}function vt(t,e,n,s,r,o){const i=e&&s?s:r||o,c=n.rt?"deflate64-raw":"deflate-raw";try{t=kt(t,new i(c,n))}catch(s){if(!e)throw s;if(r)t=kt(t,new r(c,n));else{if(!o)throw s;t=kt(t,new o(c,n))}}return t}function kt(t,e){return t.pipeThrough(e)}const zt="data",Ct="close";class At extends d{constructor(t,n){super({});const s=this,{codecType:o}=t;let i;o.startsWith("deflate")?i=gt:o.startsWith("inflate")&&(i=St),s.outputSize=0;let c=0;const a=new i(t,n),h=super.readable,f=new d({transform(t,e){t&&t.length&&(c+=t.length,e.enqueue(t))},flush(){e.assign(s,{inputSize:c})}}),l=new d({transform(e,n){if(e&&e.length&&(n.enqueue(e),s.outputSize+=e.length,t.outputSize!==b&&s.outputSize>t.outputSize))throw new r("Invalid uncompressed size")},flush(){const{signature:t}=a;e.assign(s,{signature:t,inputSize:c})}});e.defineProperty(s,"readable",{get:()=>h.pipeThrough(f).pipeThrough(a).pipeThrough(l)})}}class xt extends d{constructor(t){let e;super({transform:function n(s,r){if(e){const t=new o(e.length+s.length);t.set(e),t.set(s,e.length),s=t,e=null}s.length>t?(r.enqueue(s.slice(0,t)),n(s.slice(t),r)):e=s},flush(t){e&&e.length&&t.enqueue(e)}})}}const It=new h,Rt=new h;let Pt,Ut,Vt,Mt,_t,Bt=0;async function Dt(t){try{const{options:e,config:s}=t;if(!e.useCompressionStream)try{await self.initModule(t.config)}catch{e.useCompressionStream=!0}s.CompressionStream=self.CompressionStream,s.DecompressionStream=self.DecompressionStream;const r={highWaterMark:1},o=t.readable||new y({async pull(t){const e=new l(t=>It.set(Bt,t));Wt({type:"pull",messageId:Bt}),Bt=(Bt+1)%n.MAX_SAFE_INTEGER;const{value:s,done:r}=await e;t.enqueue(s),r&&t.close()}},r),i=t.writable||new m({async write(t){let e;const s=new l(t=>e=t);Rt.set(Bt,e),Wt({type:zt,value:t,messageId:Bt}),Bt=(Bt+1)%n.MAX_SAFE_INTEGER,await s}},r),c=new At(e,s);Pt=new AbortController;const{signal:a}=Pt;await o.pipeThrough(c).pipeThrough(new xt(s.chunkSize)).pipeTo(i,{signal:a,preventClose:!0,preventAbort:!0}),await i.getWriter().close();const{signature:h,inputSize:f,outputSize:u}=c;Wt({type:Ct,result:{signature:h,inputSize:f,outputSize:u}})}catch(t){t.outputSize=0,Kt(t)}}function Wt(t){let{value:e}=t;if(e)if(e.length)try{e=new o(e),t.value=e.buffer,p(t,[t.value])}catch{p(t)}else p(t);else p(t)}function Kt(t=new r("Unknown error")){const{message:e,stack:n,code:s,name:o,outputSize:i}=t;p({error:{message:e,stack:n,code:s,name:o,outputSize:i}})}function Et(t,e,n={}){const i="number"==typeof n.level?n.level:-1,c="number"==typeof n.ot?n.ot:65536,a="number"==typeof n.it?n.it:65536;return new d({start(){let n;if(this.ct=Vt(c),this.in=Vt(a),this.it=a,this.ht=new o(c),t?(this.ft=Ut.deflate_process,this.lt=Ut.deflate_last_consumed,this.ut=Ut.deflate_end,this.wt=Ut.deflate_new(),n="gzip"===e?Ut.deflate_init_gzip(this.wt,i):"deflate-raw"===e?Ut.deflate_init_raw(this.wt,i):Ut.deflate_init(this.wt,i)):"deflate64-raw"===e?(this.ft=Ut.inflate9_process,this.lt=Ut.inflate9_last_consumed,this.ut=Ut.inflate9_end,this.wt=Ut.inflate9_new(),n=Ut.inflate9_init_raw(this.wt)):(this.ft=Ut.inflate_process,this.lt=Ut.inflate_last_consumed,this.ut=Ut.inflate_end,this.wt=Ut.inflate_new(),n="deflate-raw"===e?Ut.inflate_init_raw(this.wt):"gzip"===e?Ut.inflate_init_gzip(this.wt):Ut.inflate_init(this.wt)),0!==n)throw new r("init failed:"+n)},transform(e,n){try{const i=e,a=new o(_t.buffer),h=this.ft,f=this.lt,l=this.ct,u=this.ht;let w=0;for(;w<i.length;){const e=s.min(i.length-w,32768);this.in&&this.it>=e||(this.in&&Mt&&Mt(this.in),this.in=Vt(e),this.it=e),a.set(i.subarray(w,w+e),this.in);const o=h(this.wt,this.in,e,l,c,0),p=16777215&o;if(p&&(u.set(a.subarray(l,l+p),0),n.enqueue(u.slice(0,p))),!t){const t=o>>24&255,e=128&t?t-256:t;if(0>e)throw new r("process error:"+e)}const d=f(this.wt);if(0===d)break;w+=d}}catch(t){this.ut&&this.wt&&this.ut(this.wt),this.in&&Mt&&Mt(this.in),this.ct&&Mt&&Mt(this.ct),n.error(t)}},flush(e){try{const n=new o(_t.buffer),s=this.ft,i=this.ct,a=this.ht;for(;;){const o=s(this.wt,0,0,i,c,4),h=16777215&o,f=o>>24&255;if(!t){const t=128&f?f-256:f;if(0>t)throw new r("process error:"+t)}if(h&&(a.set(n.subarray(i,i+h),0),e.enqueue(a.slice(0,h))),1===f||0===h)break}}catch(t){e.error(t)}finally{if(this.ut&&this.wt){const t=this.ut(this.wt);0!==t&&e.error(new r("end error:"+t))}this.in&&Mt&&Mt(this.in),this.ct&&Mt&&Mt(this.ct)}}})}addEventListener("message",({data:t})=>{const{type:e,messageId:n,value:s,done:r}=t;try{if("start"==e&&Dt(t),e==zt){const t=It.get(n);It.delete(n),t({value:new o(s),done:r})}if("ack"==e){const t=Rt.get(n);Rt.delete(n),t()}e==Ct&&Pt.abort()}catch(t){Kt(t)}});class Lt{constructor(t="deflate",e){return Et(!0,t,e)}}class Ot{constructor(t="deflate",e){return Et(!1,t,e)}}let Tt=!1;self.initModule=async t=>{try{const e=await(async(t,{baseURI:e})=>{if(!Tt){let n,s;try{try{s=new URL(t,e)}catch{}const r=await fetch(s);n=await r.arrayBuffer()}catch(e){if(!t.startsWith("data:application/wasm;base64,"))throw e;n=(t=>{const e=t.split(",")[1],n=atob(e),s=n.length,r=new o(s);for(let t=0;s>t;++t)r[t]=n.charCodeAt(t);return r.buffer})(t)}(t=>{if(Ut=t,({malloc:Vt,free:Mt,memory:_t}=Ut),"function"!=typeof Vt||"function"!=typeof Mt||!_t)throw Ut=Vt=Mt=_t=null,new r("Invalid WASM module")})((await WebAssembly.instantiate(n)).instance.exports),Tt=!0}})(t.wasmURI,t);return t.nt=Lt,t.st=Ot,e}catch{}}});\n')),i)})}(configure),window.validLicenseCheckPassed=!0,window.systemVerified=!0,window.initComplete=!0;const Ar=["","Uk-FGRkF-FTExPOiBO-byBsaWNlb-nNlIGtleSB-wcm92aWRlZA==","UkFGRk-FFTExPOiBJbnZhbGlk-IG9yIHVuYXV0-aG9yaXp-lZCBsa-WNlbnNlIGtleQ==","UkFGR-kFFTE-xPOiBDb3VsZCBub3QgdmFsaWRhdGU-gbGljZW5zZSBrZX-kgKG5ldHdvcmsg-aXNzdWU/KQ==","aHR0cHM6Ly9-yYWZmYW-VsbG8ub25yZW5kZXIuY29tL2xpY2Vu-Y2U/a2V5PQ==","JmRv-bWFp-bj0=","UkFGRkF-FTExPX2xpY-2VuY2-VfY2hlY2-tlZF8=","Um-FmZmF-lbGxvX0N-hbnZh-cw==","c-mVuZ-GV-y","cmVu-ZGVy-UH-Jldmlldw==","dm-FsaW-Q=","TGljZW5-zZSB2YWxpZGF0aW9uIGNvdWxkIG5-vdCBiZSBjb25maXJtZWQuIENvbnRpbn-Vpbmcgd2l0aG91dCBkaXNhY-mxpbmcu","c2N-yaXB0W3N-yYyo9InJhZ-mZhZWxsbyJd","c2N-yaXB0W3N-yYyo9InJhZ-mZhZWxsbyJd",""];function a(e){return atob(Ar[e].split("").filter((e=>"-"!==e)).join(""))}window.r_o=!0;class Raffaello_CanvasLayer{constructor(e,i,s="normal",n=null,o=null){this.canvas=document.createElement("canvas"),this.canvas.width=e,this.canvas.height=i,this.context=this.canvas.getContext("2d",{willReadFrequently:!0}),this.type=s,this.effect=n,this.drawInstructions=null,this.index=o,this.idx=o,this.bounds={minX:null,minY:null,maxX:null,maxY:null},this.width=e,this.height=i,this.isDrawn=!1}draw(e){this.drawInstructions=e;const i=this.context;return this.drawInstructions(i),this.isDrawn=!0,this}drawText(e){if(!e.text)return void(this.bounds={minX:null,maxX:null,minY:null,maxY:null});let i;if(e.text instanceof HTMLInputElement||e.text instanceof HTMLTextAreaElement)i=e.text.value;else{if("string"!=typeof e.text)return console.log("Error on the drawText(), the text input is not a valid string."),void console.log(e.text);i=e.text}const s={fontKerningOptical:!1,fontLetterSpacing:0,textAlign:{horizontal:"left",vertical:"bottom"},textBaseline:"alphabetic",anchorPoint:"none",bounds:[!0,!0]};let n={...s,...e,textAlign:{...s.textAlign,...e.textAlign},bounds:{...s.bounds,...e.bounds}};n.fontLineHeight=e.fontLineHeight??e.fontSize??30,n.position={x:e.position.x??e.position.pos_x??0,y:e.position.y??e.position.pos_y??0,maxWidth:e.position.maxWidth??e.position.max_width??0,maxWidthRescale:e.position.maxWidthRescale??e.position.max_width_rescale??!1,maxLines:e.position.maxLines??e.position.max_lines??0,ignoreEmptyLines:e.position.ignoreEmptyLines??e.position.ignore_empty_lines??!0,ignoreDoubleSpaces:e.position.ignoreDoubleSpaces??e.position.ignore_double_spaces??!0};let o=i.split("\n");!1!==n.position.ignoreEmptyLines&&(o=o.filter((e=>e.trim().length>0))),o=o.map((e=>e.trim())),!1!==n.position.ignoreDoubleSpaces&&(o=o.map((e=>e.replace(/\s+/g," ")))),this.context.font=`${n.fontSize}px ${n.fontFamily}`,this.context.letterSpacing=n.fontSize/100*n.fontLetterSpacing+"px",this.context.textAlign=n.textAlign.horizontal,this.context.textBaseline=n.textBaseline,this.context.fontKerning=n.fontKerningOptical?"auto":"normal";let c=o.reduce(((e,i)=>Math.max(e,this.context.measureText(i.replaceAll("§","")).actualBoundingBoxRight+this.context.measureText(i.replaceAll("§","")).actualBoundingBoxLeft)),0),l=1;if(n.position.maxWidth&&n.position.maxWidthRescale)l=c>n.position.maxWidth?1/c*n.position.maxWidth:1;else if(n.position.maxWidth&&!n.position.maxWidthRescale){let e=[];o.forEach((i=>{let s=i.split(" "),o="";s.forEach(((i,c)=>{let l=o+(o?" ":"")+i;this.context.measureText(l.replaceAll("§","")).width>n.position.maxWidth&&""!==o?(e.push(o),o=i):o=l,c===s.length-1&&e.push(o)}))})),o=e,c=o.reduce(((e,i)=>Math.max(e,this.context.measureText(i.replaceAll("§","")).actualBoundingBoxRight+this.context.measureText(i.replaceAll("§","")).actualBoundingBoxLeft)),0)}n.position.maxLines&&(o=o.slice(0,n.position.maxLines)),this.context.font=`${n.fontSize*l}px ${n.fontFamily}`,this.context.letterSpacing=n.fontSize*l/100*n.fontLetterSpacing+"px";let d=this.context.measureText("Lp");n.bounds&&(!n.bounds[0]&&n.bounds[1]?d=this.context.measureText("p"):n.bounds[0]&&!n.bounds[1]?d=this.context.measureText("L"):n.bounds[0]||n.bounds[1]||(d=this.context.measureText("x")));let h=0;switch(this.context.textAlign="left",n.anchorPoint){default:case"none":break;case"true":h=this.context.measureText(o[0].slice(0,1)).actualBoundingBoxLeft;break;case"L":h=this.context.measureText("L").actualBoundingBoxLeft}this.context.textAlign=n.textAlign.horizontal;let u=n.position.x,m=n.position.y+d.actualBoundingBoxDescent,p=u+c*l,f=n.position.y-d.actualBoundingBoxAscent,A=n.fontLineHeight*l*(o.length-1);switch(n.textAlign.vertical){default:case"top":m+=A;break;case"center":m+=A/2,f-=A/2;break;case"bottom":f-=A}switch(n.textAlign.horizontal){default:case"left":break;case"center":u-=c*l/2,p-=c*l/2;break;case"right":u-=c*l,p-=c*l}if(this.bounds={minX:u,maxX:p,minY:f,maxY:m},n.background){"string"==typeof n.background&&(n.background={color:n.background,cornerRadius:0,stroke:{width:0}});let e={top:0,right:0,left:0,bottom:0};n.background.margins&&(n.background.margins.top&&(e.top=n.background.margins.top),n.background.margins.bottom&&(e.bottom=n.background.margins.bottom),n.background.margins.left&&(e.left=n.background.margins.left),n.background.margins.right&&(e.right=n.background.margins.right));let i=this.bounds.minX-e.left,s=this.bounds.maxX-this.bounds.minX+e.right+e.left,o=this.bounds.minY-e.top,c=this.bounds.maxY-this.bounds.minY+e.top+e.bottom;n.background?.stroke?.width>0&&("inside"===n.background.stroke.style?(i+=n.background.stroke.width/2,o+=n.background.stroke.width/2,s-=n.background.stroke.width,c-=n.background.stroke.width):"outside"===n.background.stroke.style&&(i-=n.background.stroke.width/2,o-=n.background.stroke.width/2,s+=n.background.stroke.width,c+=n.background.stroke.width));let l=n.background.round_radius??n.background.cornerRadius??0;this.context.beginPath(),this.context.roundRect(i,o,s,c,l),this.context.fillStyle=n.background.fill_color??n.background.color??"red",this.context.fill(),n.background?.stroke?.width>0&&(this.context.lineWidth=n.background.stroke.width??0,this.context.strokeStyle=n.background.stroke.color??"blue",this.context.stroke())}o.forEach(((e,i)=>{let s,c=n.position.x+h;if("center"===n.textAlign.horizontal){this.context.textAlign="left",c-=(this.context.measureText(e.replaceAll("§","")).actualBoundingBoxRight+this.context.measureText(e.replaceAll("§","")).actualBoundingBoxLeft)/2}switch(n.textAlign.vertical){default:case"top":s=i*n.fontLineHeight*l;break;case"bottom":s=-(o.length-1-i)*n.fontLineHeight*l;break;case"center":s=-(o.length-1)*n.fontLineHeight*l/2+i*n.fontLineHeight*l}const d=e.replace(/§+$/,"").split("§");for(let e=0;e<d.length;e++){let i="right"===n.textAlign.horizontal?d.length-1-e:e,o=d[i];if(this.context.fillStyle=n.fontFillColor,this.context.font=`${n.fontSize*l}px ${n.fontFamily}`,this.context.letterSpacing=n.fontSize*l/100*n.fontLetterSpacing+"px",n.highlight&&i%2==1){this.context.fillStyle=n.highlight.fontFillColor??n.fontFillColor;let e=n.highlight.fontSize??n.fontSize,i=n.highlight.fontFamily??n.fontFamily;this.context.font=`${e*l}px ${i}`,this.context.letterSpacing=n.highlight.fontLetterSpacing?e*l/100*n.highlight.fontLetterSpacing+"px":e*l/100*n.fontLetterSpacing+"px"}this.context.fillText(o,c,n.position.y+s),c+=("right"===n.textAlign.horizontal?-1:1)*this.context.measureText(o).width}}))}drawImage(...e){let i=0,s=0,n=0,o=0;if(e[0]instanceof Raffaello_ImageCropper){const c=e[0],l=e[1]??0,d=e[2]??0,h=e[3]??Math.round(c.width),u=e[4]??Math.round(c.height);if(!c.isReady)return;this.context.drawImage("image"==c.fileType?c.config.rawImage:c.video.container,Math.round(c.config.cropInfo.x),Math.round(c.config.cropInfo.y),Math.round(c.config.cropInfo.width),Math.round(c.config.cropInfo.height),l,d,h,u),i=l,s=d,n=l+c.width,o=d+c.height}else{let c=e[0];if(e[0]instanceof Raffaello_Image&&(c=e[0].img,!e[0].isSafeForExport))return void console.warn("Can not draw (tainted)");if(1===e.length){const[l]=e;i=0,s=0,n=l.width,o=l.height,this.context.drawImage(c,0,0)}else if(3===e.length){const[l,d,h]=e;i=d,s=h,n=d+l.width,o=h+l.height,this.context.drawImage(c,d,h)}else if(5===e.length){const[l,d,h,u,m]=e;i=d,s=h,n=d+u,o=h+m,this.context.drawImage(c,d,h,u,m)}else if(9===e.length){const[l,d,h,u,m,p,f,A,w]=e;i=p,s=f,n=p+A,o=f+w,this.context.drawImage(c,d,h,u,m,p,f,A,w)}}this.bounds={minX:i,minY:s,maxX:n,maxY:o}}drawImageInput(...e){this.drawImage(...e)}drawRect(e){const i={x:e.x??0,y:e.y??0,width:e.width??this.canvas.width,height:e.height??this.canvas.height,cornerRadius:e.cornerRadius??e.radius??0,color:e.color??"black",stroke:{style:e.stroke?.style??e.strokeStyle??"middle",width:e.stroke?.width??e.strokeWidth??0,color:e.stroke?.color??e.strokeColor??"black"}},s=i.cornerRadius,[n,o,c,l]="number"==typeof s?[s,s,s,s]:Array.isArray(s)?[s[0]??0,s[1]??s[0]??0,s[2]??s[0]??0,s[3]??s[1]??0]:[0,0,0,0];let d=i.x,h=i.y,u=i.width,m=i.height;i.stroke.width>0&&("inside"===i.stroke.style?(d+=i.stroke.width/2,h+=i.stroke.width/2,u-=i.stroke.width,m-=i.stroke.width):"outside"===i.stroke.style&&(d-=i.stroke.width/2,h-=i.stroke.width/2,u+=i.stroke.width,m+=i.stroke.width));const p=this.context;p.beginPath(),p.moveTo(d+n,h),p.lineTo(d+u-o,h),p.quadraticCurveTo(d+u,h,d+u,h+o),p.lineTo(d+u,h+m-c),p.quadraticCurveTo(d+u,h+m,d+u-c,h+m),p.lineTo(d+l,h+m),p.quadraticCurveTo(d,h+m,d,h+m-l),p.lineTo(d,h+n),p.quadraticCurveTo(d,h,d+n,h),p.closePath(),p.fillStyle=i.color,p.fill(),i.stroke.width>0&&(p.strokeStyle=i.stroke.color,p.lineWidth=i.stroke.width,p.stroke())}drawStar(e){const i={x_center:0,y_center:0,spikes:5,color:"rgba(0,0,0,1)",outerRadius:100,innerRadius:150,...e};var s=Math.PI/2*3,n=i.x_center,o=i.y_center,c=Math.PI/i.spikes;this.context.beginPath(),this.context.moveTo(i.x_center,i.y_center-i.outerRadius);for(let e=0;e<i.spikes;e++)n=i.x_center+Math.cos(s)*i.outerRadius,o=i.y_center+Math.sin(s)*i.outerRadius,this.context.lineTo(n,o),s+=c,n=i.x_center+Math.cos(s)*i.innerRadius,o=i.y_center+Math.sin(s)*i.innerRadius,this.context.lineTo(n,o),s+=c;this.context.lineTo(i.x_center,i.y_center-i.outerRadius),this.context.closePath(),this.context.fillStyle=i.color,this.context.fill()}drawGradient(e){const i={x:e.x??0,y:e.y??0,width:e.width??this.canvas.width,height:e.height??this.canvas.height,angle:e.angle??0,gradient:e.gradient??[[0,"rgba(0,0,0, 0)"],[1,"rgba(0,0,0, 1)"]]};"UP"==e.direction&&(i.angle=0),"RIGHT"==e.direction&&(i.angle=90),"DOWN"==e.direction&&(i.angle=180),"LEFT"==e.direction&&(i.angle=270);const s=i.x,n=i.y,o=i.x+i.width,c=i.y,l=i.x+i.width,d=i.y+i.height,h=i.x,u=i.y+i.height,m=i.x+i.width/2,p=i.y+i.height/2;function findClosestPointFromLine(e,i,s,n,o){const c=(o-90)*Math.PI/180,l=Math.cos(c),d=Math.sin(c),h=(e-s)*l+(i-n)*d;return[s+h*l,n+h*d]}const f=i.angle%360;let A,w,b,k=0;f<=90?([A,w]=findClosestPointFromLine(h,u,m,p,f),[b,k]=findClosestPointFromLine(o,c,m,p,f)):f>90&&f<=180?([A,w]=findClosestPointFromLine(s,n,m,p,f),[b,k]=findClosestPointFromLine(l,d,m,p,f)):f>180&&f<=270?([A,w]=findClosestPointFromLine(o,c,m,p,f),[b,k]=findClosestPointFromLine(h,u,m,p,f)):f>270&&f<=360&&([A,w]=findClosestPointFromLine(l,d,m,p,f),[b,k]=findClosestPointFromLine(s,n,m,p,f));const y=this.context.createLinearGradient(A,w,b,k);for(let e=0;e<i.gradient.length;e++){let s=i.gradient[e][0],n=i.gradient[e][1];y.addColorStop(s,n)}this.context.fillStyle=y,this.context.fillRect(i.x,i.y,i.width,i.height)}prepareFilter(e){this.context.filter=e}applyFilter(e){this.context.filter=e,this.context.drawImage(this.canvas,0,0),this.context.filter="none"}applyLUT(e){e.isLoaded||console.log("LUT not loaded",e.name);const i=this.context.getImageData(0,0,this.canvas.width,this.canvas.height),s=i.data;for(let i=0;i<s.length;i+=4){const n=s[i]/255,o=s[i+1]/255,c=s[i+2]/255,[l,d,h]=apply3DLUT(n,o,c,e.lutData);s[i]=255*l,s[i+1]=255*d,s[i+2]=255*h}function apply3DLUT(e,i,s,{size:n,lut:o}){const c=n-1;return o[Math.min(Math.floor(e*c),c)+Math.min(Math.floor(i*c),c)*n+Math.min(Math.floor(s*c),c)*n*n]}this.context.putImageData(i,0,0)}update(){this.drawInstructions&&(this.clear(),this.drawInstructions(),this.isDrawn=!0)}clear(){this.context.clearRect(0,0,this.canvas.width,this.canvas.height),this.isDrawn=!1}}class Raffaello_ImageCropper{constructor(...e){this.container=null,this.config={};for(const i of e)i instanceof HTMLElement?this.container=i:"object"==typeof i&&null!==i&&(this.config=i);if(!this.container&&this.config.container instanceof HTMLElement&&(this.container=this.config.container),this.config&&0!==Object.keys(this.config).length||console.error("[Raffaello_ImageCropper] Missing configuration object. Please provide a valid config."),!this.container&&this.config.layerRef?.container instanceof HTMLElement&&(this.container=this.config.layerRef.container),!this.container)throw console.error("[Raffaello_ImageCropper] No container provided. Either pass it directly, or use config.layerRef.container."),new Error("Missing container");null==this.config.width&&(this.config.layerRef?.canvas?.width?this.config.width=this.config.layerRef.canvas.width:console.warn("[Raffaello_ImageCropper] No width provided in config, and no fallback from layerRef.canvas.width.")),null==this.config.height&&(this.config.layerRef?.canvas?.height?this.config.height=this.config.layerRef.canvas.height:console.warn("[Raffaello_ImageCropper] No height provided in config, and no fallback from layerRef.canvas.height.")),this.isLoaded=!1,this.isReady=!1,this.config.imageReady=this.isReady,this.height=this.config.height,this.width=this.config.width,this.aspectRatio=this.config.aspectRatio??this.width/this.height,this.watermark=this.config.watermark??null,this.acceptVideo=this.config.acceptVideo??!1,this.canvasRef=this.config?.layerRef?.canvas,this.fileType="image",this.video={container:null,file:null,src:null,duration:null,height:null,width:null,muted:!1,audioIsAvailable:!1,timeFps:25,timeStart:null,timeEnd:null,timeCurrent:null,isRendering:!1},this.initDynamicElements(),this.initElements(),this.initCropper(),this.bindEvents(),this.initWatermark(),this.filterValues={},this.initFilterControls()}initDynamicElements(){const e=this.container.querySelector(".raffaello-imageInput")||this.container.querySelector(".raffaello-imageContainer");if(!e)return void console.error("No valid element 'raffaello-imageInput' within the container");this.imageContainer=e,e.classList.contains("raffaello-imageContainer")||e.classList.add("raffaello-imageContainer"),e.style.backgroundColor="rgb(51, 51, 51)";if(!e.querySelector(".raffaello-cropperContainer")){e.innerHTML+="\x3c!-- CROPPER INPUT --\x3e";const i=document.createElement("img");i.className="raffaello-cropperContainer",e.appendChild(i)}e.innerHTML+="\x3c!-- FILE INPUT --\x3e";const i=document.createElement("input");i.type="file",i.className="raffaello-imageInputFile",i.accept=this.acceptVideo?"image/*,video/*":"image/*",i.style.display="none",e.appendChild(i),e.innerHTML+="\x3c!-- UPLOAD INPUT --\x3e";const s=document.createElement("div");s.className="raffaello-upload active",s.innerHTML+='\n <svg xmlns="http://www.w3.org/2000/svg" xml:space="preserve" viewBox="0 0 16 20"\n class=\'icon\'\n style="enable-background:new 0 0 16 20" >\n <path d="M7 17h2v-4.2l1.6 1.6L12 13 8 9l-4 4 1.4 1.4L7 12.8V17zm-5 3c-.6 0-1-.2-1.4-.6S0 18.5 0 18V2C0 1.5.2 1 .6.6S1.5 0 2 0h8l6 6v12c0 .5-.2 1-.6 1.4s-.8.6-1.4.6H2zM9 7V2H2v16h12V7H9zM2 2v5-5 16V2z"/>\n </svg>',e.appendChild(s),e.innerHTML+="\x3c!-- LOADING --\x3e";const n=document.createElement("div");n.className="raffaello-loading";const o=document.createElement("div");o.className="raffaello-loading-circle",n.appendChild(o),e.appendChild(n),e.innerHTML+="\x3c!-- RESTART --\x3e";const c=document.createElement("div");c.classList.add("raffaello-restart-btn"),c.innerHTML+='\n <svg xmlns="http://www.w3.org/2000/svg" xml:space="preserve" viewBox="0 0 16 18.5"\n class="icon"\n style="enable-background:new 0 0 16 18.5" >\n <path d="M7 18.5c-2-.2-3.7-1.1-5-2.6s-2-3.3-2-5.3c0-1.1.2-2.2.7-3.2s1-1.9 1.9-2.6L4 6.2c-.6.6-1.1 1.2-1.4 2S2 9.7 2 10.5c0 1.5.5 2.8 1.4 3.9s2.1 1.8 3.6 2.1v2zm2 0v-2c1.4-.3 2.6-1 3.6-2.1S14 12 14 10.5c0-1.7-.6-3.1-1.8-4.2S9.7 4.5 8 4.5h-.1L9 5.6 7.6 7 4.1 3.5 7.6 0 9 1.4 7.9 2.5H8c2.2 0 4.1.8 5.7 2.3S16 8.3 16 10.5c0 2-.7 3.8-2 5.3s-3 2.4-5 2.7z"/>\n </svg>',e.appendChild(c),e.innerHTML+="\x3c!-- VIDEO --\x3e";const l=document.createElement("div");l.classList.add("raffaello-video-settings"),l.innerHTML+='\n <svg class="raffaello-video-play-btn" viewBox="4 4 16 16" xmlns="http://www.w3.org/2000/svg" fill="white" width="24" height="24">\n <path d="M8 5v14l11-7z"/>\n </svg>\n <svg class="raffaello-video-pause-btn" viewBox="4 4 16 16" xmlns="http://www.w3.org/2000/svg" fill="white" width="24" height="24">\n <path d="M6 19h4V5H6v14zm8-14v14h4V5h-4z"/>\n </svg>\n <svg class="raffaello-video-sound-on" xmlns="http://www.w3.org/2000/svg" viewBox="4 4 16 16" fill="white" width="24" height="24">\n <path d="M3 9v6h4l5 5V4L7 9H3zm13.5 3a4.5 4.5 0 0 0-2.7-4.1v8.2a4.5 4.5 0 0 0 2.7-4.1zm2.5 0a7 7 0 0 1-4.2 6.3v-2a5 5 0 0 0 0-8.6v-2A7 7 0 0 1 19 12z"/>\n </svg>\n <svg class="raffaello-video-sound-off" xmlns="http://www.w3.org/2000/svg" viewBox="4 4 16 16" fill="white" width="24" height="24">\n <path d="M16.5 12 19 14.5 20.5 13 18 10.5 20.5 8 19 6.5 16.5 9 14 6.5 12.5 8 15 10.5 12.5 13 14 14.5 16.5 12zM3 9v6h4l5 5V4L7 9H3z"/>\n </svg>\n <div class="raffaello-timeline">\n <div class="raffaello-timeline-bubble" aria-hidden="true"></div>\n <div class="raffaello-timeline-track"></div>\n <div class="raffaello-timeline-active"></div>\n <div class="raffaello-timeline-handle start"></div>\n <div class="raffaello-timeline-handle end"></div>\n <div class="raffaello-timeline-playhead"></div>\n </div>\n ',e.appendChild(l);const d=document.createElement("div");d.classList.add("raffaello-video-overlay"),d.innerHTML+='\n <video playsinline autoplay muted loop></video>\n\n <div class="raffaello-render-hud">\n <div class="raffaello-render-title">Rendering <span class="raffaello-render-percent">0%</span></div>\n <div class="raffaello-render-sub raffaello-render-frame">Frame 0 / 0</div>\n <div class="raffaello-render-cancel">Cancel</div>\n </div>\n ',e.appendChild(d);const h=this.container.querySelector(".raffaello-imageFiltres")||this.container.querySelector(".raffaello-imageFilters");if(h){h.classList.contains("raffaello-imageFilters")||h.classList.add("raffaello-imageFilters"),this.imageFilters=h,h.style.display="flex",h.style.flexDirection="column",h.style.alignItems="stretch",h.style.gap="2px";const e=document.createElement("p");e.className="brightness-label",h.appendChild(e);const i=document.createElement("input");i.type="range",i.name="brightness",i.displayName="Luminosité",i.min="-100",i.max="100",i.value="20",h.appendChild(i);const s=document.createElement("p");s.className="contrast-label",h.appendChild(s);const n=document.createElement("input");n.type="range",n.name="contrast",n.displayName="Contraste",n.min="-100",n.max="100",n.value="20",h.appendChild(n);const o=document.createElement("p");o.className="saturate-label",h.appendChild(o);const c=document.createElement("input");c.type="range",c.name="saturate",c.displayName="Saturation",c.min="-100",c.max="100",c.value="20",h.appendChild(c)}}initElements(){this.dropzone=this.container.querySelector(".raffaello-imageContainer"),this.imageInput=this.container.querySelector(".raffaello-imageInputFile"),this.upload=this.container.querySelector(".raffaello-upload"),this.loading=this.container.querySelector(".raffaello-loading"),this.cropperContainer=this.container.querySelector(".raffaello-cropperContainer"),this.cropperRestart=this.container.querySelector(".raffaello-restart-btn"),this.videoSettings=this.container.querySelector(".raffaello-video-settings"),this.videoOverlay=this.container.querySelector(".raffaello-video-overlay"),this.video.container=this.videoOverlay.querySelector("video"),this.video.file=this.imageInput}initCropper(){this.cropper=new Cropper(this.cropperContainer,{aspectRatio:this.aspectRatio,viewMode:this.config.viewMode??2,autoCropArea:1,zoomOnWheel:this.config.zoomOnWheel??0,ready:()=>{this.applyFilters(),this.config.rawImage=this.cropperContainer,this.config.cropInfo=this.cropper.getData(),this.isReady=!0,this.config.imageReady=!0,this.config.onImageReady?this.config.onImageReady():console.log(this.config)}})}bindEvents(){this.imageInput.addEventListener("change",(e=>{const i=e?.target?.files?.[0];i&&this.loadSelectedFile(i)})),this.upload.addEventListener("click",(()=>{"INPUT"===this.imageInput.tagName&&"file"===this.imageInput.type||console.warn('Warning: this.imageInput is not an <input> element of type "file". Nothing should have a class "raffaello-imageInput"'),this.imageInput.click()})),this.dropzone.addEventListener("dragover",(e=>e.preventDefault())),this.dropzone.addEventListener("drop",(e=>{e.preventDefault();const i=e?.dataTransfer?.files?.[0];i&&this.loadSelectedFile(i)})),this.cropperRestart.addEventListener("click",(()=>{this.imageInput.click()})),this.cropperContainer.addEventListener("crop",(e=>{this.config.cropInfo=this.cropper.getData()})),this.config.onCrop&&this.cropperContainer.addEventListener("crop",this.config.onCrop),this.config.onCropStart&&this.cropperContainer.addEventListener("cropstart",this.config.onCropStart),this.config.onCropEnd&&this.cropperContainer.addEventListener("cropend",this.config.onCropEnd),this.config.onZoom&&this.cropperContainer.addEventListener("zoom",this.config.onZoom),void 0!==this.config.layerIndex&&void 0!==this.config.layerRef&&(this.config.onImageReady=()=>{this.makeDrawing()},this.config.onFilterChange=()=>{this.config.layerRef.canvas.updateLayers([this.config.layerIndex])},this.cropperContainer.addEventListener("onCrop",(()=>{})),this.cropperContainer.addEventListener("cropstart",(()=>{this.config.layerRef.canvas.previewContainer.style.opacity=.5})),this.cropperContainer.addEventListener("cropend",(()=>{this.config.layerRef.canvas.previewContainer.style.opacity=1,this.config.layerRef.canvas.updateLayers([this.config.layerIndex])})));const e=this.video.container,i=this.videoSettings.querySelector(".raffaello-timeline"),s=this.videoSettings.querySelector(".raffaello-timeline-bubble"),n=this.videoSettings.querySelector(".raffaello-timeline-active"),o=this.videoSettings.querySelector(".raffaello-timeline-handle.start"),c=this.videoSettings.querySelector(".raffaello-timeline-handle.end"),l=this.videoSettings.querySelector(".raffaello-timeline-playhead");if(!(i&&s&&n&&o&&c&&l))return void console.warn("Timeline elements missing");const renderTimeline=()=>{const i=e.duration||0;if(!i)return;this.video.timeStart<0&&(this.video.timeStart=0),this.video.timeEnd>i&&(this.video.timeEnd=i),this.video.timeEnd<this.video.timeStart&&(this.video.timeEnd=this.video.timeStart),this.video.timeCurrent<this.video.timeStart&&(this.video.timeCurrent=this.video.timeStart),this.video.timeCurrent>this.video.timeEnd&&(this.video.timeCurrent=this.video.timeEnd);const s=this.video.timeStart/i*100,d=this.video.timeEnd/i*100,h=this.video.timeCurrent/i*100;o.style.left=`${s}%`,c.style.left=`${d}%`,l.style.left=`${h}%`,n.style.left=`${s}%`,n.style.width=d-s+"%"};i.addEventListener("pointermove",(e=>{const n=i.getBoundingClientRect();let o=e.clientX-n.left;o<0&&(o=0),o>n.width&&(o=n.width),s.style.left=`${o}px`;const c=this.video.container.duration||0;if(!c)return void(s.textContent="0:00");const l=o/n.width*c;s.textContent=(e=>{(!isFinite(e)||e<0)&&(e=0);const i=Math.floor(e);return`${Math.floor(i/60)}:${String(i%60).padStart(2,"0")}`})(l)}));const pointerToSeconds=s=>{const n=i.getBoundingClientRect(),o=e.duration||0;if(!o||n.width<=0)return 0;let c=(s-n.left)/n.width;return c<0&&(c=0),c>1&&(c=1),c*o};e.addEventListener("loadedmetadata",(()=>{this.video.duration=e.duration,this.video.timeStart=0,this.video.timeEnd=e.duration,this.video.timeCurrent=Math.min(1,e.duration/4),renderTimeline()})),o.addEventListener("pointerdown",(i=>{o.setPointerCapture(i.pointerId),this.config.layerRef.canvas.previewContainer.style.opacity=.5,this.videoOverlay.classList.add("active");const onMove=i=>{const s=e.duration||0;let n=pointerToSeconds(i.clientX);n<0&&(n=0),s&&n>s&&(n=s);const o=this.video.timeEnd-.25;n>o&&(n=o),this.video.timeStart=n,this.video.timeCurrent<this.video.timeStart&&(this.video.timeCurrent=this.video.timeStart),e.currentTime=n,renderTimeline()},onUp=()=>{o.removeEventListener("pointermove",onMove),o.removeEventListener("pointerup",onUp),o.removeEventListener("pointercancel",onUp),o.removeEventListener("lostpointercapture",onUp),this.videoSettings.classList.contains("play")||(this.loadVideoToImage(this.video.timeCurrent,!0),this.videoOverlay.classList.remove("active"),this.config.layerRef.canvas.previewContainer.style.opacity=1)};o.addEventListener("pointermove",onMove),o.addEventListener("pointerup",onUp),o.addEventListener("pointercancel",onUp),o.addEventListener("lostpointercapture",onUp),window.addEventListener("blur",onUp,{once:!0}),onMove(i)})),c.addEventListener("pointerdown",(i=>{c.setPointerCapture(i.pointerId),this.config.layerRef.canvas.previewContainer.style.opacity=.5,this.videoOverlay.classList.add("active");const onMove=i=>{const s=e.duration||0;let n=pointerToSeconds(i.clientX);const o=this.video.timeStart+.25;n<o&&(n=o),s&&n>s&&(n=s),this.video.timeEnd=n,this.video.timeCurrent>this.video.timeEnd&&(this.video.timeCurrent=this.video.timeEnd),e.currentTime=n,renderTimeline()},onUp=()=>{c.removeEventListener("pointermove",onMove),c.removeEventListener("pointerup",onUp),c.removeEventListener("pointercancel",onUp),c.removeEventListener("lostpointercapture",onUp),this.videoSettings.classList.contains("play")||(this.loadVideoToImage(this.video.timeCurrent,!0),this.videoOverlay.classList.remove("active"),this.config.layerRef.canvas.previewContainer.style.opacity=1)};c.addEventListener("pointermove",onMove),c.addEventListener("pointerup",onUp),c.addEventListener("pointercancel",onUp),c.addEventListener("lostpointercapture",onUp),window.addEventListener("blur",onUp,{once:!0}),onMove(i)})),l.addEventListener("pointerdown",(e=>{})),i.addEventListener("pointerdown",(s=>{if(s.target===o||s.target===c)return;if(this.videoSettings.classList.contains("play"))return;i.setPointerCapture(s.pointerId),this.config.layerRef.canvas.previewContainer.style.opacity=.5,this.videoOverlay.classList.add("active");const onMove=i=>{let s=pointerToSeconds(i.clientX);s<this.video.timeStart&&(s=this.video.timeStart),s>this.video.timeEnd&&(s=this.video.timeEnd),this.video.timeCurrent=s,e.currentTime=s,renderTimeline()},onUp=()=>{i.removeEventListener("pointermove",onMove),i.removeEventListener("pointerup",onUp),i.removeEventListener("pointercancel",onUp),i.removeEventListener("lostpointercapture",onUp),this.loadVideoToImage(this.video.timeCurrent,!0),this.videoOverlay.classList.remove("active"),this.config.layerRef.canvas.previewContainer.style.opacity=1};i.addEventListener("pointermove",onMove),i.addEventListener("pointerup",onUp),i.addEventListener("pointercancel",onUp),i.addEventListener("lostpointercapture",onUp),window.addEventListener("blur",onUp,{once:!0}),onMove(s)})),window.addEventListener("resize",this.renderTimeline),renderTimeline();const d=this.videoSettings.querySelector(".raffaello-video-play-btn"),h=this.videoSettings.querySelector(".raffaello-video-pause-btn");d.addEventListener("click",(()=>{this.config.layerRef.canvas.previewContainer.style.opacity=.5,this.videoOverlay.classList.add("active"),this.videoSettings.classList.add("play");const e=this.video.container,i=this.video.timeStart,s=this.video.timeEnd;(e.currentTime<i||e.currentTime>s)&&(e.currentTime=i,this.video.timeCurrent=i,renderTimeline()),e.paused&&e.play().catch((e=>{"AbortError"!==e.name&&console.warn("Playback failed:",e)}))})),h.addEventListener("click",(()=>{const e=this.video.container;e.paused||e.pause(),this.video.timeCurrent=e.currentTime,this.config.layerRef.canvas.previewContainer.style.opacity=1,this.videoOverlay.classList.remove("active"),this.videoSettings.classList.remove("play"),renderTimeline(),this.loadVideoToImage(this.video.timeCurrent,!0)})),e.addEventListener("timeupdate",(()=>{const i=e.currentTime;if(!this.videoSettings.classList.contains("play")&&!this.video.isRendering)return;const s=this.video.timeStart,n=this.video.timeEnd;this.video.timeCurrent=i,(i>=n-.001||i<s)&&(e.currentTime=s+.001,this.video.timeCurrent=e.currentTime),renderTimeline()}));[this.videoSettings.querySelector(".raffaello-video-sound-on"),this.videoSettings.querySelector(".raffaello-video-sound-off")].forEach((e=>e.addEventListener("click",(()=>{this.videoSettings.classList.toggle("muted"),this.video.container.muted=this.videoSettings.classList.contains("muted")}))))}loadSelectedFile(e){if(e.type.match(/^image\//))return"image"!=this.fileType&&(this.fileType="image",this.canvasRef.fileType="image",this.canvasRef.videoRef=null,this.videoSettings.style.display="none"),this.resetAllFilters(20),void this.loadImageToCropper({target:{files:[e]}});if(e.type.match(/^video\//)){if(!this.acceptVideo)return void console.log("Video files not supported");if("video"!=this.fileType){if(this.fileType="video","video"==this.canvasRef.fileType)return void console.log("Only one video allowed");this.canvasRef.fileType="video",this.canvasRef.videoRef=this}this.video.src&&URL.revokeObjectURL(this.video.src),this.video.container.src=URL.createObjectURL(e),this.video.container.load(),this.video.container.addEventListener("canplay",(()=>{if(this.video.container.pause(),this.video.width=this.video.container.videoWidth,this.video.height=this.video.container.videoHeight,!this.video.width||!this.video.height)return console.warn("Invalid video dimensions");this.video.audioIsAvailable=function videoHasAudio(e){return void 0!==e.mozHasAudio?e.mozHasAudio:void 0!==e.webkitAudioDecodedByteCount&&e.webkitAudioDecodedByteCount>0}(this.video.container),this.videoSettings.classList.toggle("no-audio",!this.video.audioIsAvailable),this.resetAllFilters(0),this.loadVideoToImage(this.video.timeCurrent)}),{once:!0})}else console.log(`Invalid file type ${e.type}.`)}loadVideoToImage(e,i=!1){this.video.container.currentTime=e,this.video.container.addEventListener("seeked",(()=>{const e=document.createElement("canvas");e.width=this.video.width,e.height=this.video.height;let s=e.getContext("2d");s.drawImage(this.video.container,0,0,e.width,e.height);const n=e.toDataURL("image/png");s=null,e.width=e.height=0,e.remove(),i?this.updateCropperImage(n):this.loadImageToCropper(n)}),{once:!0})}loadImageToCropper(e){return new Promise(((i,s)=>{let n=null,o=null;if(e?.target?.files?.[0]&&(n=e.target.files[0]),"string"==typeof e&&(o=e),!n&&!o)return;this.isLoaded||(this.isLoaded=!0,this.upload.classList.toggle("active",!this.isLoaded),this.loading.classList.toggle("active",this.isLoaded),this.cropperRestart.classList.toggle("active",this.isLoaded));const c="video"==this.fileType;if(this.videoSettings.classList.toggle("active",c),n){const e=new FileReader;e.addEventListener("load",(()=>{this.loading.style.display="none",this.container.querySelectorAll(".pending").forEach((e=>e.classList.remove("pending")));let s=n.name.split(".")[0];this.config.fileName=s,this.cropperContainer.src=e.result,this.cropper.replace(this.cropperContainer.src),i(s)})),e.readAsDataURL(n)}if(o){this.loading.style.display="none",this.container.querySelectorAll(".pending").forEach((e=>e.classList.remove("pending")));let e="video-poster";this.config.fileName=e,this.cropperContainer.src=o,this.cropper&&this.cropper.replace(this.cropperContainer.src),i(e)}}))}updateCropperImage(e){this.cropperContainer.src=e,this.cropper.canvas.querySelector("img").src=e,this.cropper.cropBox.querySelector("img").src=e,this.cropper.renderCanvas(!0),this.config.onFilterChange()}makeDrawing(){const e=this.config.layerRef;if(e.canvas.resetLayers(),"function"==typeof e.templateInstructions)e.templateInstructions();else{if("function"!=typeof e.initiateDrawing)return void console.error("No drawing method found: expected 'templateInstructions()'.");e.initiateDrawing()}e.canvas.renderPreview()}initFilterControls(){this.isResettingFilters=!1;const e=this.imageFilters;if(e){e.querySelectorAll('input[type="range"]').forEach((e=>{const i=e.name||e.dataset.filter,s=e.displayName;this.filterValues[i]=e.value,this.updateFilterValue(i,s,e.value),e.addEventListener("input",(e=>{this.isResettingFilters||(this.updateFilterValue(i,s,e.target.value),this.applyFilters())})),e.addEventListener("dblclick",(e=>{e.target.value=20,this.updateFilterValue(i,s,e.target.value),this.applyFilters()})),this.config.onFilterChange&&(e.addEventListener("input",this.config.onFilterChange),e.addEventListener("dblclick",this.config.onFilterChange))}))}}linear(e,i,s,n,o){return(e-i)/(s-i)*(o-n)+n}updateFilterValue(e,i,s){let n;n="brightness"===e?s<0?this.linear(s,-100,0,.8,1):this.linear(s,0,100,1,1.4):"contrast"===e?s<0?this.linear(s,-100,0,.9,1):this.linear(s,0,100,1,1.3):"saturate"===e?s<0?this.linear(s,-100,0,0,1):this.linear(s,0,100,1,1.3):s;let o=s,c=this.container.querySelector(`.${e}-label`);c&&(c.innerHTML=`${i.charAt(0).toUpperCase()+i.slice(1)} <i>(${o})</i>`),this.filterValues[e]=n}applyFilters(){let e=Object.entries(this.filterValues).map((([e,i])=>`${e}(${i})`)).join(" ");this.config.filter=e;const i=this.container.querySelector(".cropper-crop-box .cropper-view-box"),s=this.container.querySelector(".cropper-wrap-box div");i&&(i.style.filter=e),s&&(s.style.filter=e)}resetAllFilters(e=0){const i=this.imageFilters;if(!i)return;this.isResettingFilters=!0;i.querySelectorAll('input[type="range"]').forEach((i=>{const s=i.name||i.dataset.filter,n=i.displayName;i.value=e,this.updateFilterValue(s,n,e)})),this.applyFilters(),this.isResettingFilters=!1}initWatermark(){if(this.watermarkDiv=this.container.querySelector(".raffaello-watermark"),this.watermark&&!this.watermarkDiv){const e=document.createElement("img");e.className="raffaello-watermark",e.src=this.watermark,this.imageContainer.appendChild(e),this.watermarkDiv=e}(this.watermark||this.watermarkDiv)&&(this.watermarkDiv.classList.add("raffaello-canvas-to-overlay","icon"),""!==this.watermarkDiv.src&&this.watermarkDiv.src!==window.location.href||(this.watermarkDiv.style.display="none"),this.cropperContainer.addEventListener("crop",(()=>{this.updateWatermarkPositionAndSize()})))}setNewWatermark(e){this.watermark=e,this.watermarkDiv?(this.watermarkDiv.src=this.watermark,""!==this.watermark?(this.watermarkDiv.style.display="block",this.updateWatermarkPositionAndSize()):this.watermarkDiv.style.display="none"):this.initWatermark()}updateWatermarkPositionAndSize(){const e=this.cropper.getCropBoxData();this.watermarkDiv.style.width=Math.ceil(e.width)+1+"px",this.watermarkDiv.style.height=Math.ceil(e.height)+1+"px",this.watermarkDiv.style.left=e.left-.5+"px",this.watermarkDiv.style.top=e.top-.5+"px"}setNewSize(e,i){if("number"!=typeof e||!Number.isFinite(e)||e<=0||"number"!=typeof i||!Number.isFinite(i)||i<=0)return void console.error("setNewSize() Invalid dimensions:",{newWidth:e,newHeight:i});this.width=e,this.height=i,this.config.width=this.width,this.config.height=this.height;const s=e/i;this.cropper.setAspectRatio(s)}}class Raffaello_Image{constructor(e={}){const i=e.url||e.src;this.img=new Image,this.isLoaded=!1,this.isSafeForExport=!0,i?(this.img.src=i,this.img.onload=()=>{if(this.isLoaded=!0,i.includes("https://")){const e=document.createElement("canvas");e.width=10,e.height=10;e.getContext("2d").drawImage(this.img,0,0);try{e.toDataURL(),console.log(`✅ Image ${this.img.src.slice(0,30)}... is safe for canvas export.`)}catch(e){this.isSafeForExport=!1,console.warn(`Image ${this.img.src.slice(0,30)}... cannot be used in canvas export (tainted).`)}}else this.img.src,console.log(`✅ Image ${i.split("/").slice(-1)} loaded successfully.`)},this.img.onerror=()=>{console.error("❌ Failed to load image:",this.img.src)}):console.warn("⚠️ No image URL or base64 source provided.")}getImage(){return this.isLoaded?this.img:(console.warn("❌ Image not loaded yet."),null)}isLoaded(){return this.isLoaded}isCrossOrigin(e){try{return new URL(e,window.location.href).origin!==window.location.origin}catch{return!1}}}function d_r(){window[atob("cl9v")]=!1,window[a(7)].prototype[a(8)]=function(){return console.log(a(2)),null},window[a(7)].prototype[a(9)]=function(){return console.log(a(2)),null}}window.Raffaello_Canvas=class Raffaello_Canvas{constructor(e){if(this.width=e.width??1e3,this.height=e.height??1e3,this.cornerRadius=e.cornerRadius??0,this.previewContainer=e.previewContainer??null,this.nameInputContainer=e.nameInputContainer??null,this.name=e.name??"Image_Raffaello.jpg",this.previewQuality=e.previewQuality??"0.8",this.renderQuality=e.renderQuality??"0.96",this.canvas=document.createElement("canvas"),this.layers=[],this.isDrawn=!1,this.fileType="image",this.videoRef=null,this.previewContainer){const i=window.getComputedStyle(this.previewContainer).backgroundColor;e.previewBackgroundColor?this.previewBackgroundColor=e.previewBackgroundColor??"grey":i&&"rgba(0, 0, 0, 0)"!==i&&"transparent"!==i&&(this.previewBackgroundColor=i)}}addLayer(e="normal",i=null){let s=this.layers.length,n=new Raffaello_CanvasLayer(this.width,this.height,e,i,s);return this.layers.push(n),n}updateLayers(e){if(this.isDrawn)for(const i of e)this.layers[i]?this.layers[i].update():console.warn(`> updateLayers([${i}]): The canvas does not have a layer ${i}`);else console.warn("> updateLayers([...]): The canvas has not been drawn yet.");this.renderPreview()}updateCanvas(e=!0){for(const e of this.layers)e.update();e?this.renderPreview():this.render()}resetLayers(){this.layers=[]}render(e=!1){if(!window.r_o)return void console.log(a(2));this.canvas.width=this.width,this.canvas.height=this.height;const i=this.canvas.getContext("2d");this.cornerRadius>0&&(i.save(),i.beginPath(),i.roundRect(0,0,this.width,this.height,this.cornerRadius),i.clip()),e&&null!=this.previewBackgroundColor&&(i.fillStyle=this.previewBackgroundColor,i.fillRect(0,0,this.width,this.height));for(let e=0;e<this.layers.length;e++){const s=this.layers[e],n=this.layers[e+1];let o=s.canvas;if("alpha"===n?.type){let e=document.createElement("canvas");e.width=this.width,e.height=this.height;let i=e.getContext("2d");i.drawImage(n.canvas,0,0),i.globalCompositeOperation="source-in",i.drawImage(s.canvas,0,0),i.globalCompositeOperation="source-over",o=e}["image","normal"].includes(s.type)&&i.drawImage(o,0,0),"effect"===s.type&&(i.globalCompositeOperation=s.effect,i.drawImage(o,0,0),i.globalCompositeOperation="source-over")}return this.cornerRadius>0&&i.restore(),this.isDrawn=!0,this.canvas}renderPreview(){if(!window.r_o)return void console.log(a(2));if(!this.previewContainer)return;const e=this.previewContainer;/iPad|iPhone|iPod/.test(navigator.userAgent)?e.src=this.render().toDataURL("image/jpeg",.9):e.src=this.render(!0).toDataURL("image/jpeg",this.previewQuality)}dowload(){this.downloadImage()}downloadImage(){if("video"==this.fileType)return void this.downloadVideo();const e=this.render();if(!e)return;let i,s,n=this.nameInputContainer.value.trim(),o=n?n.split(".")[0].replace(/[^a-zA-Z0-9\_-]/g,""):this.name;switch(n.split(".").pop().toLowerCase()){case"jpg":case"jpeg":i="image/jpeg",s=".jpg";break;default:i="image/png",s=".png"}if(/iPad|iPhone|iPod/.test(navigator.userAgent))window.alert("Tap and hold the image to save.");else{const n=document.createElement("a");n.download=o+s,n.href=e.toDataURL(i,"image/jpeg"===i?this.renderQuality:void 0),document.body.appendChild(n),n.click(),document.body.removeChild(n)}}async downloadVideo(){if(console.log("We have a video to download !"),this.isRenderingVideo)return void console.log("Video rendering is already in progress.");this.isRenderingVideo=!0,this.videoRef.video.isRendering=!0;const e=this.videoRef.videoOverlay.querySelector(".raffaello-render-hud"),i=e.querySelector(".raffaello-render-percent"),s=e.querySelector(".raffaello-render-frame");e.querySelector(".raffaello-render-eta");const n=e.querySelector(".raffaello-render-cancel");this.renderAbortController=new AbortController;const o=this.renderAbortController.signal,throwIfAborted=()=>{if(o.aborted){const e=new Error("Render cancelled");throw e.name="AbortError",e}};function fmtTime(e){if(!Number.isFinite(e))return"--:--.---";const i=Math.floor(e/60),s=e-60*i;return`${String(i).padStart(2,"0")}:${s.toFixed(3).padStart(6,"0")}`}const seekTo=e=>new Promise(((i,s)=>{const n=this.videoRef.video.container,cleanup=()=>{n.removeEventListener("seeked",onSeeked),o.removeEventListener("abort",onAbort)},onSeeked=()=>{cleanup(),i()},onAbort=()=>{cleanup(),s(Object.assign(new Error("aborted"),{name:"AbortError"}))};n.addEventListener("seeked",onSeeked,{once:!0}),o.addEventListener("abort",onAbort,{once:!0});try{n.currentTime=Math.min(Math.max(e,0),n.duration||e)}catch{cleanup(),i()}}));try{this.videoRef.videoOverlay.classList.add("active"),e.classList.add("active"),n.onclick=()=>{this.renderAbortController&&this.renderAbortController.abort();try{this.renderOutput?.cancel()}catch(e){}};const c=this.videoRef.video.timeStart,l=this.videoRef.video.timeEnd,d=this.videoRef.video.timeFps||25,h=1/d;if(!(c<l))return void console.log("Start must be less than End.");const u=await getFirstEncodableVideoCodec(["avc1","avc","vp9","vp8","av1"]);console.log(`Rendering ${fmtTime(l-c)} @ ${d}fps to MP4 using ${u}…`),s.textContent="Preparing the output...";const m=new Output({format:new Mp4OutputFormat,target:new BufferTarget});this.renderOutput=m,o.addEventListener("abort",(()=>{try{m.cancel()}catch(e){}}),{once:!0});const p=new CanvasSource(this.canvas,{codec:u,bitrate:tt});m.addVideoTrack(p);let f=null,A=null,w=null;if(this.videoRef.video.audioIsAvailable&&0==this.videoRef.video.muted){const e=new Input({source:new BlobSource(this.videoRef.video.file.files?.[0]),formats:_e}),i=new Output({format:new Mp4OutputFormat,target:new BufferTarget}),s=await Conversion.init({input:e,output:i,trim:{start:c,end:l}});if(!s.isValid)return console.log("Error: Audio conversion is not valid:"),void s.discardedTracks;await s.execute();const n=i.target.buffer;console.log(n);const o=new Input({source:new BlobSource(new Blob([n],{type:"video/mp4"})),formats:_e});w=await o.getPrimaryAudioTrack(),null!=w?(f=new AudioSampleSink(w),A=new AudioSampleSource({codec:"aac",bitrate:128e3}),m.addAudioTrack(A)):console.log("No audio track found in the input video.")}await m.start();let b=0,k=0;const y=Math.max(1,Math.ceil((l-c)*d));performance.now();for(let e=c;e<l;e+=h){throwIfAborted(),console.log(`Video rendering ${fmtTime(e-c)} / ${fmtTime(l-c)}`),await seekTo(e),throwIfAborted(),this.updateCanvas(!1),await p.add(b,h),b+=h,k++;const n=Math.round(k/y*100);i.textContent=`${n}%`,s.textContent=`Frame ${k} / ${y}`}if(this.videoRef.video.audioIsAvailable&&0==this.videoRef.video.muted&&null!=w){console.log("Adding audio samples to the output…"),s.textContent="Audio rendering...";for await(const e of f.samples())throwIfAborted(),await A.add(e)}await m.finalize(),s.textContent="Finalizing...";const{buffer:B}=m.target,v=new Blob([B],{type:"video/mp4"}),C=URL.createObjectURL(v),E=this.nameInputContainer.value.trim(),S=E?E.split(".")[0].replace(/[^a-zA-Z0-9\_-]/g,""):"video",x=document.createElement("a");x.download=S+".mp4",x.href=C,document.body.appendChild(x),x.click(),setTimeout((()=>URL.revokeObjectURL(C)),5e3),document.body.removeChild(x)}catch(e){"AbortError"===e?.name?console.log("Render cancelled by user."):console.error(e)}finally{this.videoRef.videoOverlay.classList.remove("active"),e.classList.remove("active"),this.renderOutput=null,this.isRenderingVideo=!1,this.videoRef.video.isRendering=!1,this.renderAbortController=null}}renderBis(){let e=document.createElement("canvas");e.width=this.width,e.height=this.height;const i=e.getContext("2d");return i.fillStyle=atob("I2Y4ZDdkYQ=="),i.fillRect(0,0,this.width,this.height),i.fillStyle=atob("IzcyMWMyNA=="),i.font="bold 24px sans-serif",i.textAlign="center",i.textBaseline="middle",i.fillText(atob("TGljZW5zZSBrZXkgbm90IHZhbGlk"),this.width/2,this.height/2),e}},window.Raffaello_CanvasLayer=Raffaello_CanvasLayer,window.Raffaello_ImageCropper=Raffaello_ImageCropper,window.Raffaello_BatchImageCropper=class Raffaello_BatchImageCropper{constructor(e,i){this.input=e,this.container=this.input.container,this.canvas=this.input.canvas,this.imageConfigs=i,this.imagesAreReady=i.map((e=>!0===e.isOptional)),this.inputImages=[],this.initializeCroppers()}initializeCroppers(){this.inputImages=this.imageConfigs.map(((e,i)=>new Raffaello_ImageCropper(this.container.querySelector(e.selector),{layerRef:this.input,width:e.width,height:e.height,watermark:e.watermark??null,viewMode:e.viewMode??2,zoomOnWheel:e.zoomOnWheel??0,onImageReady:()=>{this.markImageAsReady(i)},onCropStart:()=>{this.canvas.previewContainer.style.opacity=.5},onCropEnd:()=>{this.canvas.previewContainer.style.opacity=1,this.canvas.updateLayers([e.layerIndex])},onZoom:()=>{this.canvas.updateLayers([e.layerIndex])},onFilterChange:()=>{this.canvas.updateLayers([e.layerIndex])}})))}markImageAsReady(e){this.imagesAreReady[e]=!0,this.checkImagesAreReady()}checkImagesAreReady(){if(this.imagesAreReady.every((e=>e))){this.removePendingState(),console.log("All images are ready, starting to draw...");const e=this.input;if(e.canvas.resetLayers(),"function"==typeof e.templateInstructions)e.templateInstructions();else{if("function"!=typeof e.initiateDrawing)return void console.error("No drawing method found: expected 'templateInstructions()'.");e.initiateDrawing()}e.canvas.renderPreview()}}removePendingState(){this.container.querySelectorAll(".pending").forEach((e=>e.classList.remove("pending")))}},window.Raffaello_Image=Raffaello_Image,window.Raffaello_Font=class Raffaello_Font{constructor(e){const i=e.name;this.font=new FontFace(i,`url(${e.url??e.src})`),this.font.display="swap",this.isLoaded=!1;let s=this.font;document.fonts.add(s),s.load().then((()=>{this.isLoaded=!0,console.log(`✅ Font ${i} loaded successfully.`)})).catch((()=>{console.error("❌ Failed to load font:",i)}))}isLoaded(){return this.isLoaded}},window.Raffaello_LUT=class Raffaello_LUT{constructor(e){const i=e.url??e.src;this.lutData=null,this.isLoaded=!1,this.name=i.split("/").slice(-1),this.loadLUT(i).then((e=>{this.lutData=e,this.isLoaded=!0,console.log(`✅ LUT ${this.name} loaded successfully.`)})).catch((e=>{console.log(`❌ Failed to load LUT: ${i}`),console.error(e)}))}async loadLUT(e){try{const i=await fetch(e),s=(await i.text()).split("\n"),n=[];let o=0;for(const e of s)if(e.startsWith("LUT_3D_SIZE"))o=parseInt(e.split(" ")[1],10);else if(!e.startsWith("#")&&""!==e.trim()){const i=e.split(" ").map(Number);3===i.length&&n.push(i)}if(!o)throw new Error("Invalid LUT file.");return{size:o,lut:n}}catch(e){throw new Error(`Error parsing LUT file: ${e.message}`)}}getLUT(){return this.isLoaded?this.lutData:(console.warn("❌ LUT not loaded yet."),null)}isLUTLoaded(){return this.isLoaded}},window.Raffaello_FullScreen=class Raffaello_FullScreen{constructor(e){this.previewContainers=document.querySelectorAll(`.${e.previewContainer}`),this.fullScreenElement=null,this.isFullScreen=!1,this.previewContainers.length?(this.initializeFullScreen(),this.setupEventListeners()):console.error("RAFFAELLO - No preview containers found.")}initializeFullScreen(){this.fullScreenElement=document.createElement("div"),this.fullScreenElement.classList.add("raffaello-fullscreen-overlay"),this.fullScreenElement.style.position="fixed",this.fullScreenElement.style.top="0",this.fullScreenElement.style.left="0",this.fullScreenElement.style.width="100%",this.fullScreenElement.style.height="100%",this.fullScreenElement.style.padding="25px",this.fullScreenElement.style.backgroundColor="rgba(0, 0, 0, 0.9)",this.fullScreenElement.style.display="none",this.fullScreenElement.style.zIndex="9999",this.fullScreenElement.style.cursor="pointer",this.fullScreenElement.style.alignItems="center",this.fullScreenElement.style.justifyContent="center";const e=document.createElement("img");e.style.maxWidth="100%",e.style.maxHeight="100%",e.setAttribute("draggable","false"),e.addEventListener("dragstart",(function(e){e.preventDefault()})),e.addEventListener("contextmenu",(function(e){e.preventDefault()})),this.fullScreenElement.appendChild(e),document.body.appendChild(this.fullScreenElement)}toggleFullScreen(){this.isFullScreen=!this.isFullScreen,this.isFullScreen?(this.fullScreenElement.style.display="flex",document.body.style.overflow="hidden"):(this.fullScreenElement.style.display="none",document.body.style.overflow="auto")}setupEventListeners(){this.previewContainers.forEach((e=>{e.style.cursor="pointer",e.addEventListener("click",(()=>{const i=e.src;this.fullScreenElement.querySelector("img").src=i,this.toggleFullScreen()}))})),this.fullScreenElement.addEventListener("click",(()=>{this.toggleFullScreen()}))}},window.Raffaello_PersistentInputs=class Raffaello_PersistentInputs{constructor({inputs:e,timeout:i}){this.textareas=document.querySelectorAll(`.${e}`),this.timeout=i,this.textareas.length?this.init():console.error(`INFO: No element with class ${e}`)}init(){this.cleanupOldKeys(),this.textareas.forEach(((e,i)=>{const s=this.generateKey(i);this.loadAndValidateContent(e,s);const n=this.debounce((()=>this.saveContent(e,s)),500);e.addEventListener("input",n)}))}cleanupOldKeys(){for(let e=0;e<localStorage.length;e++){const i=localStorage.key(e);i&&i.startsWith("textareaContent_")&&localStorage.removeItem(i)}}generateKey(e){return`${window.location.pathname}_textareaContent_${this.timeout}_${e}`}loadAndValidateContent(e,i){const s=`${i}_timestamp`,n=localStorage.getItem(i),o=localStorage.getItem(s);if(n&&o){const c=Date.now()-parseInt(o,10);console.log("elapsed",c),console.log("this.timeout",this.timeout),c<=this.timeout?e.value=n:(console.log(`Key expired: ${i}`),localStorage.removeItem(i),localStorage.removeItem(s))}else localStorage.removeItem(i),localStorage.removeItem(s)}saveContent(e,i){const s=`${i}_timestamp`;localStorage.setItem(i,e.value),localStorage.setItem(s,Date.now().toString())}debounce(e,i){let s;return(...n)=>{clearTimeout(s),s=setTimeout((()=>e(...n)),i)}}},window.Raffaello_Export=class Raffaello_Export{constructor(e){if(this.div=e.targetDiv,this.saveButton=e.saveButton,this.loadButton=e.loadButton,this.projectName=e.projectName||"project",this.onFileRestored=e.onFileRestored||null,!this.div)throw new Error("Raffaello_Export: targetDiv is required");const i=document.getElementById("raffaello-zip-input");i?this._zipInput=i:(this._zipInput=document.createElement("input"),this._zipInput.id="raffaello-zip-input",this._zipInput.type="file",this._zipInput.accept=".zip,application/zip",this._zipInput.style.display="none",document.body.appendChild(this._zipInput)),this.saveButton&&this.saveButton.addEventListener("click",(()=>this.save())),this.loadButton&&this.loadButton.addEventListener("click",(()=>this.load()))}async save(){const e={version:1,savedAt:(new Date).toISOString(),rootId:this.div.id||null,fields:[],files:[]},i=new ZipWriter(new BlobWriter("application/zip"));try{const s=this.div.querySelectorAll("input, textarea, select");let n=0;for(const o of s){const s=this._cssPath(o);if(!s)continue;if("INPUT"===o.tagName&&"file"===o.type){const c=o.files?.[0];if(!c)continue;const l=`files/${`${n}_${(c.name||"file").replace(/[^\w.\-]/g,"_")}`}`;await i.add(l,new BlobReader(c)),e.files.push({path:s,name:c.name,type:c.type||"application/octet-stream",zipPath:l}),n++;continue}let c=null;if("INPUT"===o.tagName&&"checkbox"===o.type)c=!!o.checked;else if("INPUT"===o.tagName&&"radio"===o.type){if(!o.checked)continue;c=o.value}else c=o.value;e.fields.push({path:s,tag:o.tagName.toLowerCase(),type:o.type||null,value:c})}await i.add("manifest.json",new TextReader(JSON.stringify(e,null,2)));const o=await i.close(),c=URL.createObjectURL(o),l=document.createElement("a");l.href=c,l.download=`${this.projectName}.zip`,document.body.appendChild(l),l.click(),l.remove(),setTimeout((()=>URL.revokeObjectURL(c)),5e3),console.log("Saved ZIP manifest:",e)}finally{}}async load(){const e=await this._pickZipFile();if(!e)return;const i=new ZipReader(new BlobReader(e));try{const e=await i.getEntries(),s=e.find((e=>"manifest.json"===e.filename));if(!s)return void console.warn("Raffaello_Export: manifest.json not found in zip");const n=await s.getData(new TextWriter),o=JSON.parse(n);for(const e of o.fields||[]){const i=this.div.querySelector(e.path);i&&("INPUT"===i.tagName&&"checkbox"===i.type?i.checked=!!e.value:"INPUT"===i.tagName&&"radio"===i.type?i.checked=!0:i.value=e.value??"")}for(const i of o.files||[]){const s=e.find((e=>e.filename===i.zipPath));if(!s)continue;const n=await s.getData(new BlobWriter(i.type||"application/octet-stream")),o=new File([n],i.name||"file",{type:i.type||n.type});this.onFileRestored&&this.onFileRestored({path:i.path,file:o});const c=this.div.querySelector(i.path);if(c&&"INPUT"===c.tagName&&"file"===c.type)try{const e=new DataTransfer;e.items.add(o),c.files=e.files,c.dispatchEvent(new Event("input",{bubbles:!0})),c.dispatchEvent(new Event("change",{bubbles:!0}))}catch(e){}}if(0===(o.files||[]).length&&(o.fields||[]).length>0){const e=o.fields[o.fields.length-1],i=this.div.querySelector(e.path);i&&(i.dispatchEvent(new Event("input",{bubbles:!0})),i.dispatchEvent(new Event("change",{bubbles:!0})))}console.log("Loaded ZIP manifest:",o)}finally{await i.close()}}_pickZipFile(){return new Promise((e=>{this._zipInput.value="",this._zipInput.onchange=()=>e(this._zipInput.files?.[0]||null),this._zipInput.click()}))}_cssPath(e){if(!this.div.contains(e))return null;let i=e;for(;i&&i!==this.div&&!i.id;)i=i.parentElement;const s=i?.id||this.div.id||null,n=s?`#${this._cssEscape(s)}`:null,pickClass=e=>{if(!e||!e.classList)return null;const i=Array.from(e.classList).find((e=>e.startsWith("js-")));if(i)return`.${this._cssEscape(i)}`;const s=Array.from(e.classList).find((e=>e.startsWith("raffaello-")));return s?`.${this._cssEscape(s)}`:null},o=pickClass(e);if(o)return n?`${n} ${o}`:o;const c=[];let l=e;const d=s?i:this.div;for(;l&&l!==d;){const e=pickClass(l);if(e){c.unshift(e);break}const i=l.tagName.toLowerCase(),s=l.parentElement;if(!s)break;const n=Array.from(s.children).filter((e=>e.tagName===l.tagName)).indexOf(l)+1;c.unshift(`${i}:nth-of-type(${n})`),l=s}const h=c.join(" > ");return n?h?`${n} ${h}`:n:h||null}_cssEscape(e){return String(e).replace(/([ !"#$%&'()*+,.\/:;<=>?@[\\\]^`{|}~])/g,"\\$1")}},async function v_k(e=1){console.log(`> v_k() #${e}`);const i=document.currentScript||document.querySelector(a(12)),s=i?.dataset?.[atob("bGljZW5zZQ==")]||i?.dataset?.[atob("a2V5")],n=window.location[atob("aG9zdG5hbWU=")];if(!s)return console.log(a(1)),void d_r();const o=`${a(6)}${s}`,c=localStorage.getItem(o),l=Date.now();if(c&&l<parseInt(c))console.log("> g_k_u");else try{const e=await fetch(`${a(4)}${s}${a(5)}${n}`),i=await e.json();if(console.log("> res"),console.log(i),i.status!==a(10))return console.log(a(2)),void d_r();const c=l+1728e5;localStorage.setItem(o,c.toString())}catch(i){console.log(`${a(3)} (${e}/4)`),e<4?setTimeout((()=>v_k(e+1)),6e4):console.log(a(11))}}()}();
|