"use strict";(self.webpackChunkstudio_client=self.webpackChunkstudio_client||[]).push([[2129],{9591:(t,i,n)=>{var s={};(0,n(4236).assign)(s,n(4555),n(8843),n(1619)),t.exports=s},4555:(t,i,n)=>{var s=n(405),r=n(4236),o=n(9373),e=n(8898),a=n(2292),u=Object.prototype.toString,h=0,d=-1,w=0,f=8;function l(t){if(!(this instanceof l))return new l(t);this.options=r.assign({level:d,method:f,chunkSize:16384,windowBits:15,memLevel:8,strategy:w,to:""},t||{});var i=this.options;i.raw&&i.windowBits>0?i.windowBits=-i.windowBits:i.gzip&&i.windowBits>0&&i.windowBits<16&&(i.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new a,this.strm.avail_out=0;var n=s.deflateInit2(this.strm,i.level,i.method,i.windowBits,i.memLevel,i.strategy);if(n!==h)throw new Error(e[n]);if(i.header&&s.deflateSetHeader(this.strm,i.header),i.dictionary){var _;if(_="string"==typeof i.dictionary?o.string2buf(i.dictionary):"[object ArrayBuffer]"===u.call(i.dictionary)?new Uint8Array(i.dictionary):i.dictionary,(n=s.deflateSetDictionary(this.strm,_))!==h)throw new Error(e[n]);this._dict_set=!0}}function _(t,i){var n=new l(i);if(n.push(t,!0),n.err)throw n.msg||e[n.err];return n.result}l.prototype.push=function(t,i){var n,e,a=this.strm,d=this.options.chunkSize;if(this.ended)return!1;e=i===~~i?i:!0===i?4:0,"string"==typeof t?a.input=o.string2buf(t):"[object ArrayBuffer]"===u.call(t)?a.input=new Uint8Array(t):a.input=t,a.next_in=0,a.avail_in=a.input.length;do{if(0===a.avail_out&&(a.output=new r.Buf8(d),a.next_out=0,a.avail_out=d),1!==(n=s.deflate(a,e))&&n!==h)return this.onEnd(n),this.ended=!0,!1;0!==a.avail_out&&(0!==a.avail_in||4!==e&&2!==e)||("string"===this.options.to?this.onData(o.buf2binstring(r.shrinkBuf(a.output,a.next_out))):this.onData(r.shrinkBuf(a.output,a.next_out)))}while((a.avail_in>0||0===a.avail_out)&&1!==n);return 4===e?(n=s.deflateEnd(this.strm),this.onEnd(n),this.ended=!0,n===h):2!==e||(this.onEnd(h),a.avail_out=0,!0)},l.prototype.onData=function(t){this.chunks.push(t)},l.prototype.onEnd=function(t){t===h&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=r.flattenChunks(this.chunks)),this.chunks=[],this.err=t,this.msg=this.strm.msg},i.Deflate=l,i.deflate=_,i.deflateRaw=function(t,i){return(i=i||{}).raw=!0,_(t,i)},i.gzip=function(t,i){return(i=i||{}).gzip=!0,_(t,i)}},8843:(t,i,n)=>{var s=n(7948),r=n(4236),o=n(9373),e=n(1619),a=n(8898),u=n(2292),h=n(2401),d=Object.prototype.toString;function w(t){if(!(this instanceof w))return new w(t);this.options=r.assign({chunkSize:16384,windowBits:0,to:""},t||{});var i=this.options;i.raw&&i.windowBits>=0&&i.windowBits<16&&(i.windowBits=-i.windowBits,0===i.windowBits&&(i.windowBits=-15)),!(i.windowBits>=0&&i.windowBits<16)||t&&t.windowBits||(i.windowBits+=32),i.windowBits>15&&i.windowBits<48&&0==(15&i.windowBits)&&(i.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new u,this.strm.avail_out=0;var n=s.inflateInit2(this.strm,i.windowBits);if(n!==e.Z_OK)throw new Error(a[n]);if(this.header=new h,s.inflateGetHeader(this.strm,this.header),i.dictionary&&("string"==typeof i.dictionary?i.dictionary=o.string2buf(i.dictionary):"[object ArrayBuffer]"===d.call(i.dictionary)&&(i.dictionary=new Uint8Array(i.dictionary)),i.raw&&(n=s.inflateSetDictionary(this.strm,i.dictionary))!==e.Z_OK))throw new Error(a[n])}function f(t,i){var n=new w(i);if(n.push(t,!0),n.err)throw n.msg||a[n.err];return n.result}w.prototype.push=function(t,i){var n,a,u,h,w,f=this.strm,l=this.options.chunkSize,_=this.options.dictionary,c=!1;if(this.ended)return!1;a=i===~~i?i:!0===i?e.Z_FINISH:e.Z_NO_FLUSH,"string"==typeof t?f.input=o.binstring2buf(t):"[object ArrayBuffer]"===d.call(t)?f.input=new Uint8Array(t):f.input=t,f.next_in=0,f.avail_in=f.input.length;do{if(0===f.avail_out&&(f.output=new r.Buf8(l),f.next_out=0,f.avail_out=l),(n=s.inflate(f,e.Z_NO_FLUSH))===e.Z_NEED_DICT&&_&&(n=s.inflateSetDictionary(this.strm,_)),n===e.Z_BUF_ERROR&&!0===c&&(n=e.Z_OK,c=!1),n!==e.Z_STREAM_END&&n!==e.Z_OK)return this.onEnd(n),this.ended=!0,!1;f.next_out&&(0!==f.avail_out&&n!==e.Z_STREAM_END&&(0!==f.avail_in||a!==e.Z_FINISH&&a!==e.Z_SYNC_FLUSH)||("string"===this.options.to?(u=o.utf8border(f.output,f.next_out),h=f.next_out-u,w=o.buf2string(f.output,u),f.next_out=h,f.avail_out=l-h,h&&r.arraySet(f.output,f.output,u,h,0),this.onData(w)):this.onData(r.shrinkBuf(f.output,f.next_out)))),0===f.avail_in&&0===f.avail_out&&(c=!0)}while((f.avail_in>0||0===f.avail_out)&&n!==e.Z_STREAM_END);return n===e.Z_STREAM_END&&(a=e.Z_FINISH),a===e.Z_FINISH?(n=s.inflateEnd(this.strm),this.onEnd(n),this.ended=!0,n===e.Z_OK):a!==e.Z_SYNC_FLUSH||(this.onEnd(e.Z_OK),f.avail_out=0,!0)},w.prototype.onData=function(t){this.chunks.push(t)},w.prototype.onEnd=function(t){t===e.Z_OK&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=r.flattenChunks(this.chunks)),this.chunks=[],this.err=t,this.msg=this.strm.msg},i.Inflate=w,i.inflate=f,i.inflateRaw=function(t,i){return(i=i||{}).raw=!0,f(t,i)},i.ungzip=f}}]);